Add Batch 52d0d5c5-557f-47bc-85f0-05418df7164c data
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- .gitattributes +64 -0
- 2023/Efficient Latent Variable Modeling for Knowledge-Grounded Dialogue Generation/ef187d64-77d7-4019-9ab7-2e41bbdafa31_content_list.json +0 -0
- 2023/Efficient Latent Variable Modeling for Knowledge-Grounded Dialogue Generation/ef187d64-77d7-4019-9ab7-2e41bbdafa31_model.json +0 -0
- 2023/Efficient Latent Variable Modeling for Knowledge-Grounded Dialogue Generation/ef187d64-77d7-4019-9ab7-2e41bbdafa31_origin.pdf +3 -0
- 2023/Efficient Latent Variable Modeling for Knowledge-Grounded Dialogue Generation/full.md +550 -0
- 2023/Efficient Latent Variable Modeling for Knowledge-Grounded Dialogue Generation/images.zip +3 -0
- 2023/Efficient Latent Variable Modeling for Knowledge-Grounded Dialogue Generation/layout.json +0 -0
- 2023/Efficient Long-Range Transformers_ You Need to Attend More, but Not Necessarily at Every Layer/b2cbac77-9108-42c4-9fd3-211395757830_content_list.json +1718 -0
- 2023/Efficient Long-Range Transformers_ You Need to Attend More, but Not Necessarily at Every Layer/b2cbac77-9108-42c4-9fd3-211395757830_model.json +2270 -0
- 2023/Efficient Long-Range Transformers_ You Need to Attend More, but Not Necessarily at Every Layer/b2cbac77-9108-42c4-9fd3-211395757830_origin.pdf +3 -0
- 2023/Efficient Long-Range Transformers_ You Need to Attend More, but Not Necessarily at Every Layer/full.md +310 -0
- 2023/Efficient Long-Range Transformers_ You Need to Attend More, but Not Necessarily at Every Layer/images.zip +3 -0
- 2023/Efficient Long-Range Transformers_ You Need to Attend More, but Not Necessarily at Every Layer/layout.json +0 -0
- 2023/Efficient Multilingual Language Model Compression through Vocabulary Trimming/f34b65cf-02f1-40ee-8ff5-d2a0c21b9d93_content_list.json +0 -0
- 2023/Efficient Multilingual Language Model Compression through Vocabulary Trimming/f34b65cf-02f1-40ee-8ff5-d2a0c21b9d93_model.json +0 -0
- 2023/Efficient Multilingual Language Model Compression through Vocabulary Trimming/f34b65cf-02f1-40ee-8ff5-d2a0c21b9d93_origin.pdf +3 -0
- 2023/Efficient Multilingual Language Model Compression through Vocabulary Trimming/full.md +328 -0
- 2023/Efficient Multilingual Language Model Compression through Vocabulary Trimming/images.zip +3 -0
- 2023/Efficient Multilingual Language Model Compression through Vocabulary Trimming/layout.json +0 -0
- 2023/Efficient k-NN Search with Cross-Encoders using Adaptive Multi-Round CUR Decomposition/06755a7b-5456-4010-a183-a7ae8a6d5cd1_content_list.json +0 -0
- 2023/Efficient k-NN Search with Cross-Encoders using Adaptive Multi-Round CUR Decomposition/06755a7b-5456-4010-a183-a7ae8a6d5cd1_model.json +0 -0
- 2023/Efficient k-NN Search with Cross-Encoders using Adaptive Multi-Round CUR Decomposition/06755a7b-5456-4010-a183-a7ae8a6d5cd1_origin.pdf +3 -0
- 2023/Efficient k-NN Search with Cross-Encoders using Adaptive Multi-Round CUR Decomposition/full.md +526 -0
- 2023/Efficient k-NN Search with Cross-Encoders using Adaptive Multi-Round CUR Decomposition/images.zip +3 -0
- 2023/Efficient k-NN Search with Cross-Encoders using Adaptive Multi-Round CUR Decomposition/layout.json +0 -0
- 2023/Efficiently Enhancing Zero-Shot Performance of Instruction Following Model via Retrieval of Soft Prompt/91bfba92-6122-4a1c-8806-4f5015582836_content_list.json +0 -0
- 2023/Efficiently Enhancing Zero-Shot Performance of Instruction Following Model via Retrieval of Soft Prompt/91bfba92-6122-4a1c-8806-4f5015582836_model.json +0 -0
- 2023/Efficiently Enhancing Zero-Shot Performance of Instruction Following Model via Retrieval of Soft Prompt/91bfba92-6122-4a1c-8806-4f5015582836_origin.pdf +3 -0
- 2023/Efficiently Enhancing Zero-Shot Performance of Instruction Following Model via Retrieval of Soft Prompt/full.md +0 -0
- 2023/Efficiently Enhancing Zero-Shot Performance of Instruction Following Model via Retrieval of Soft Prompt/images.zip +3 -0
- 2023/Efficiently Enhancing Zero-Shot Performance of Instruction Following Model via Retrieval of Soft Prompt/layout.json +0 -0
- 2023/Emergent Inabilities_ Inverse Scaling Over the Course of Pretraining/5fe6aa26-b646-469e-8865-eaa4efa360e8_content_list.json +1023 -0
- 2023/Emergent Inabilities_ Inverse Scaling Over the Course of Pretraining/5fe6aa26-b646-469e-8865-eaa4efa360e8_model.json +1274 -0
- 2023/Emergent Inabilities_ Inverse Scaling Over the Course of Pretraining/5fe6aa26-b646-469e-8865-eaa4efa360e8_origin.pdf +3 -0
- 2023/Emergent Inabilities_ Inverse Scaling Over the Course of Pretraining/full.md +177 -0
- 2023/Emergent Inabilities_ Inverse Scaling Over the Course of Pretraining/images.zip +3 -0
- 2023/Emergent Inabilities_ Inverse Scaling Over the Course of Pretraining/layout.json +0 -0
- 2023/Empowering Psychotherapy with Large Language Models_ Cognitive Distortion Detection through Diagnosis of Thought Prompting/04980a83-f896-4166-a550-6164ef62b39f_content_list.json +1371 -0
- 2023/Empowering Psychotherapy with Large Language Models_ Cognitive Distortion Detection through Diagnosis of Thought Prompting/04980a83-f896-4166-a550-6164ef62b39f_model.json +1826 -0
- 2023/Empowering Psychotherapy with Large Language Models_ Cognitive Distortion Detection through Diagnosis of Thought Prompting/04980a83-f896-4166-a550-6164ef62b39f_origin.pdf +3 -0
- 2023/Empowering Psychotherapy with Large Language Models_ Cognitive Distortion Detection through Diagnosis of Thought Prompting/full.md +239 -0
- 2023/Empowering Psychotherapy with Large Language Models_ Cognitive Distortion Detection through Diagnosis of Thought Prompting/images.zip +3 -0
- 2023/Empowering Psychotherapy with Large Language Models_ Cognitive Distortion Detection through Diagnosis of Thought Prompting/layout.json +0 -0
- 2023/Emptying the Ocean with a Spoon_ Should We Edit Models_/04529405-4e73-4a21-827a-c746e1975cce_content_list.json +756 -0
- 2023/Emptying the Ocean with a Spoon_ Should We Edit Models_/04529405-4e73-4a21-827a-c746e1975cce_model.json +1340 -0
- 2023/Emptying the Ocean with a Spoon_ Should We Edit Models_/04529405-4e73-4a21-827a-c746e1975cce_origin.pdf +3 -0
- 2023/Emptying the Ocean with a Spoon_ Should We Edit Models_/full.md +166 -0
- 2023/Emptying the Ocean with a Spoon_ Should We Edit Models_/layout.json +0 -0
- 2023/Enabling Unsupervised Neural Machine Translation with Word-level Visual Representations/da4765a2-c600-4e0c-b5cb-fcc5f37e0be1_content_list.json +1666 -0
- 2023/Enabling Unsupervised Neural Machine Translation with Word-level Visual Representations/da4765a2-c600-4e0c-b5cb-fcc5f37e0be1_model.json +2059 -0
.gitattributes
CHANGED
|
@@ -5849,3 +5849,67 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 5849 |
2023/Efficient[[:space:]]Continue[[:space:]]Training[[:space:]]of[[:space:]]Temporal[[:space:]]Language[[:space:]]Model[[:space:]]with[[:space:]]Structural[[:space:]]Information/4e01312d-f9ea-48a2-ac0d-45b87a14409b_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5850 |
2023/Efficient[[:space:]]Cross-Task[[:space:]]Prompt[[:space:]]Tuning[[:space:]]for[[:space:]]Few-Shot[[:space:]]Conversational[[:space:]]Emotion[[:space:]]Recognition/d55c3273-2161-46ae-adc0-b3cf30e5ba4b_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5851 |
2023/Efficient[[:space:]]Data[[:space:]]Learning[[:space:]]for[[:space:]]Open[[:space:]]Information[[:space:]]Extraction[[:space:]]with[[:space:]]Pre-trained[[:space:]]Language[[:space:]]Models/2930ad8d-b924-4379-920e-36da32fb8d1e_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5849 |
2023/Efficient[[:space:]]Continue[[:space:]]Training[[:space:]]of[[:space:]]Temporal[[:space:]]Language[[:space:]]Model[[:space:]]with[[:space:]]Structural[[:space:]]Information/4e01312d-f9ea-48a2-ac0d-45b87a14409b_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5850 |
2023/Efficient[[:space:]]Cross-Task[[:space:]]Prompt[[:space:]]Tuning[[:space:]]for[[:space:]]Few-Shot[[:space:]]Conversational[[:space:]]Emotion[[:space:]]Recognition/d55c3273-2161-46ae-adc0-b3cf30e5ba4b_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5851 |
2023/Efficient[[:space:]]Data[[:space:]]Learning[[:space:]]for[[:space:]]Open[[:space:]]Information[[:space:]]Extraction[[:space:]]with[[:space:]]Pre-trained[[:space:]]Language[[:space:]]Models/2930ad8d-b924-4379-920e-36da32fb8d1e_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5852 |
+
2023/Efficient[[:space:]]Latent[[:space:]]Variable[[:space:]]Modeling[[:space:]]for[[:space:]]Knowledge-Grounded[[:space:]]Dialogue[[:space:]]Generation/ef187d64-77d7-4019-9ab7-2e41bbdafa31_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5853 |
+
2023/Efficient[[:space:]]Long-Range[[:space:]]Transformers_[[:space:]]You[[:space:]]Need[[:space:]]to[[:space:]]Attend[[:space:]]More,[[:space:]]but[[:space:]]Not[[:space:]]Necessarily[[:space:]]at[[:space:]]Every[[:space:]]Layer/b2cbac77-9108-42c4-9fd3-211395757830_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5854 |
+
2023/Efficient[[:space:]]Multilingual[[:space:]]Language[[:space:]]Model[[:space:]]Compression[[:space:]]through[[:space:]]Vocabulary[[:space:]]Trimming/f34b65cf-02f1-40ee-8ff5-d2a0c21b9d93_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5855 |
+
2023/Efficient[[:space:]]k-NN[[:space:]]Search[[:space:]]with[[:space:]]Cross-Encoders[[:space:]]using[[:space:]]Adaptive[[:space:]]Multi-Round[[:space:]]CUR[[:space:]]Decomposition/06755a7b-5456-4010-a183-a7ae8a6d5cd1_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5856 |
+
2023/Efficiently[[:space:]]Enhancing[[:space:]]Zero-Shot[[:space:]]Performance[[:space:]]of[[:space:]]Instruction[[:space:]]Following[[:space:]]Model[[:space:]]via[[:space:]]Retrieval[[:space:]]of[[:space:]]Soft[[:space:]]Prompt/91bfba92-6122-4a1c-8806-4f5015582836_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5857 |
+
2023/Emergent[[:space:]]Inabilities_[[:space:]]Inverse[[:space:]]Scaling[[:space:]]Over[[:space:]]the[[:space:]]Course[[:space:]]of[[:space:]]Pretraining/5fe6aa26-b646-469e-8865-eaa4efa360e8_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5858 |
+
2023/Empowering[[:space:]]Psychotherapy[[:space:]]with[[:space:]]Large[[:space:]]Language[[:space:]]Models_[[:space:]]Cognitive[[:space:]]Distortion[[:space:]]Detection[[:space:]]through[[:space:]]Diagnosis[[:space:]]of[[:space:]]Thought[[:space:]]Prompting/04980a83-f896-4166-a550-6164ef62b39f_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5859 |
+
2023/Emptying[[:space:]]the[[:space:]]Ocean[[:space:]]with[[:space:]]a[[:space:]]Spoon_[[:space:]]Should[[:space:]]We[[:space:]]Edit[[:space:]]Models_/04529405-4e73-4a21-827a-c746e1975cce_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5860 |
+
2023/Enabling[[:space:]]Unsupervised[[:space:]]Neural[[:space:]]Machine[[:space:]]Translation[[:space:]]with[[:space:]]Word-level[[:space:]]Visual[[:space:]]Representations/da4765a2-c600-4e0c-b5cb-fcc5f37e0be1_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5861 |
+
2023/End-to-End[[:space:]]Autoregressive[[:space:]]Retrieval[[:space:]]via[[:space:]]Bootstrapping[[:space:]]for[[:space:]]Smart[[:space:]]Reply[[:space:]]Systems/bf60ac95-a87c-4b98-a7d6-066f76db4f85_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5862 |
+
2023/End-to-end[[:space:]]Adversarial[[:space:]]Sample[[:space:]]Generation[[:space:]]for[[:space:]]Data[[:space:]]Augmentation/e8d461ca-bdc3-491b-9c8e-624c2e748899_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5863 |
+
2023/Energy[[:space:]]and[[:space:]]Carbon[[:space:]]Considerations[[:space:]]of[[:space:]]Fine-Tuning[[:space:]]BERT/5c30e66f-a910-426f-bfe5-a165820d39b3_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5864 |
+
2023/Enhanced[[:space:]]Simultaneous[[:space:]]Machine[[:space:]]Translation[[:space:]]with[[:space:]]Word-level[[:space:]]Policies/6976f9e4-3ce3-45d6-a81a-1951bc56ac12_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5865 |
+
2023/Enhancing[[:space:]]Abstractiveness[[:space:]]of[[:space:]]Summarization[[:space:]]Models[[:space:]]through[[:space:]]Calibrated[[:space:]]Distillation/fcd475e0-81b7-494f-bfbc-0be5e7b94a8d_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5866 |
+
2023/Enhancing[[:space:]]Accessible[[:space:]]Communication_[[:space:]]from[[:space:]]European[[:space:]]Portuguese[[:space:]]to[[:space:]]Portuguese[[:space:]]Sign[[:space:]]Language/d1d9cef1-f716-4931-80c7-979f571de27b_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5867 |
+
2023/Enhancing[[:space:]]Argument[[:space:]]Structure[[:space:]]Extraction[[:space:]]with[[:space:]]Efficient[[:space:]]Leverage[[:space:]]of[[:space:]]Contextual[[:space:]]Information/5994108c-c5db-4e48-8a82-84394aa38bd8_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5868 |
+
2023/Enhancing[[:space:]]Conversational[[:space:]]Search_[[:space:]]Large[[:space:]]Language[[:space:]]Model-Aided[[:space:]]Informative[[:space:]]Query[[:space:]]Rewriting/28ee10b5-c87b-4d0e-bf9d-1bdf62700be6_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5869 |
+
2023/Enhancing[[:space:]]Emotion[[:space:]]Recognition[[:space:]]in[[:space:]]Conversation[[:space:]]via[[:space:]]Multi-view[[:space:]]Feature[[:space:]]Alignment[[:space:]]and[[:space:]]Memorization/17140297-58bc-40ff-8c98-7cf6826f913f_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5870 |
+
2023/Enhancing[[:space:]]Neural[[:space:]]Machine[[:space:]]Translation[[:space:]]with[[:space:]]Semantic[[:space:]]Units/0d4671ac-5112-4116-b8a5-14c52dd9b5ee_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5871 |
+
2023/Enhancing[[:space:]]Reasoning[[:space:]]Capabilities[[:space:]]by[[:space:]]Instruction[[:space:]]Learning[[:space:]]and[[:space:]]Chain-of-Thoughts[[:space:]]for[[:space:]]Implicit[[:space:]]Discourse[[:space:]]Relation[[:space:]]Recognition/7420c6ad-7f33-41fb-93fd-25202ce16a30_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5872 |
+
2023/Enhancing[[:space:]]Retrieval-Augmented[[:space:]]Large[[:space:]]Language[[:space:]]Models[[:space:]]with[[:space:]]Iterative[[:space:]]Retrieval-Generation[[:space:]]Synergy/f3064320-be4a-4110-a373-933f61879a44_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5873 |
+
2023/Enhancing[[:space:]]Scalability[[:space:]]of[[:space:]]Pre-trained[[:space:]]Language[[:space:]]Models[[:space:]]via[[:space:]]Efficient[[:space:]]Parameter[[:space:]]Sharing/3932f23d-3769-4987-b111-0647844ee92c_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5874 |
+
2023/Enhancing[[:space:]]Text-to-SQL[[:space:]]Capabilities[[:space:]]of[[:space:]]Large[[:space:]]Language[[:space:]]Models_[[:space:]]A[[:space:]]Study[[:space:]]on[[:space:]]Prompt[[:space:]]Design[[:space:]]Strategies/e8887642-37cb-41f2-9b01-f9b63f1db872_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5875 |
+
2023/Ensemble-Instruct_[[:space:]]Instruction[[:space:]]Tuning[[:space:]]Data[[:space:]]Generation[[:space:]]with[[:space:]]a[[:space:]]Heterogeneous[[:space:]]Mixture[[:space:]]of[[:space:]]LMs/d2596f0c-003a-4753-9668-60e19104ae23_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5876 |
+
2023/Entity[[:space:]]Disambiguation[[:space:]]on[[:space:]]a[[:space:]]Tight[[:space:]]Labeling[[:space:]]Budget/2c04b8d1-9e8c-4ffc-bffc-ac1bf6c8dc26_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5877 |
+
2023/Entity-Based[[:space:]]Evaluation[[:space:]]of[[:space:]]Political[[:space:]]Bias[[:space:]]in[[:space:]]Automatic[[:space:]]Summarization/08ae56a4-e6e9-4b36-a19c-00576429cf26_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5878 |
+
2023/Epsilon[[:space:]]Sampling[[:space:]]Rocks_[[:space:]]Investigating[[:space:]]Sampling[[:space:]]Strategies[[:space:]]for[[:space:]]Minimum[[:space:]]Bayes[[:space:]]Risk[[:space:]]Decoding[[:space:]]for[[:space:]]Machine[[:space:]]Translation/48fcc534-7bee-4863-bdb2-b6a2234b21dd_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5879 |
+
2023/Error[[:space:]]Detection[[:space:]]for[[:space:]]Text-to-SQL[[:space:]]Semantic[[:space:]]Parsing/d355af85-b1e6-44f4-a71f-a816fe8d3ccc_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5880 |
+
2023/Estimating[[:space:]]Large[[:space:]]Language[[:space:]]Model[[:space:]]Capabilities[[:space:]]without[[:space:]]Labeled[[:space:]]Test[[:space:]]Data/564e32e7-5d1d-48a4-9a3a-317db9c128cf_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5881 |
+
2023/Ethical[[:space:]]Reasoning[[:space:]]over[[:space:]]Moral[[:space:]]Alignment_[[:space:]]A[[:space:]]Case[[:space:]]and[[:space:]]Framework[[:space:]]for[[:space:]]In-Context[[:space:]]Ethical[[:space:]]Policies[[:space:]]in[[:space:]]LLMs/34213480-0ccb-4047-90fc-d32c1764ae27_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5882 |
+
2023/Evaluating[[:space:]]Dependencies[[:space:]]in[[:space:]]Fact[[:space:]]Editing[[:space:]]for[[:space:]]Language[[:space:]]Models_[[:space:]]Specificity[[:space:]]and[[:space:]]Implication[[:space:]]Awareness/3640cf72-25d4-441f-993a-55e025a4950c_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5883 |
+
2023/Evaluating[[:space:]]Emotion[[:space:]]Arcs[[:space:]]Across[[:space:]]Languages_[[:space:]]Bridging[[:space:]]the[[:space:]]Global[[:space:]]Divide[[:space:]]in[[:space:]]Sentiment[[:space:]]Analysis/a57e16b5-2fc7-4515-b210-640caeab99f9_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5884 |
+
2023/Evaluating[[:space:]]Parameter-Efficient[[:space:]]Finetuning[[:space:]]Approaches[[:space:]]for[[:space:]]Pre-trained[[:space:]]Models[[:space:]]on[[:space:]]the[[:space:]]Financial[[:space:]]Domain/d0ac477d-9b37-4d97-b2db-d6bcdaf34946_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5885 |
+
2023/Evaluating[[:space:]]Subjective[[:space:]]Cognitive[[:space:]]Appraisals[[:space:]]of[[:space:]]Emotions[[:space:]]from[[:space:]]Large[[:space:]]Language[[:space:]]Models/aa4b53ff-a1c5-4a7a-9481-af63ece728ac_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5886 |
+
2023/Evaluating[[:space:]]Verifiability[[:space:]]in[[:space:]]Generative[[:space:]]Search[[:space:]]Engines/ba1d3d57-179d-4030-8083-e23e2548fdca_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5887 |
+
2023/Evaluating[[:space:]]and[[:space:]]Enhancing[[:space:]]the[[:space:]]Robustness[[:space:]]of[[:space:]]Code[[:space:]]Pre-trained[[:space:]]Models[[:space:]]through[[:space:]]Structure-Aware[[:space:]]Adversarial[[:space:]]Samples[[:space:]]Generation/921f7e52-3ed3-4834-831a-fc47235920be_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5888 |
+
2023/Evaluating[[:space:]]the[[:space:]]Knowledge[[:space:]]Base[[:space:]]Completion[[:space:]]Potential[[:space:]]of[[:space:]]GPT/3bc7a74b-d239-4b8b-b2cb-3deafa244b6b_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5889 |
+
2023/Examining[[:space:]]Inter-Consistency[[:space:]]of[[:space:]]Large[[:space:]]Language[[:space:]]Models[[:space:]]Collaboration_[[:space:]]An[[:space:]]In-depth[[:space:]]Analysis[[:space:]]via[[:space:]]Debate/b32bdb31-1d53-4040-95b7-04c960da1c7f_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5890 |
+
2023/Example-based[[:space:]]Hypernetworks[[:space:]]for[[:space:]]Multi-source[[:space:]]Adaptation[[:space:]]to[[:space:]]Unseen[[:space:]]Domains/6a25d3ed-bb96-4cf8-8aff-a9b986445a61_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5891 |
+
2023/Execution-Based[[:space:]]Evaluation[[:space:]]for[[:space:]]Open-Domain[[:space:]]Code[[:space:]]Generation/50b60d58-a06a-4443-b30a-7189530b6241_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5892 |
+
2023/ExpNote_[[:space:]]Black-box[[:space:]]Large[[:space:]]Language[[:space:]]Models[[:space:]]are[[:space:]]better[[:space:]]Task[[:space:]]Solvers[[:space:]]with[[:space:]]Experience[[:space:]]Notebook/2318b8d2-88c6-4b2c-b206-d536a2a8c7ba_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5893 |
+
2023/Explain-then-translate_[[:space:]]an[[:space:]]analysis[[:space:]]on[[:space:]]improving[[:space:]]program[[:space:]]translation[[:space:]]with[[:space:]]self-generated[[:space:]]explanations/6961a868-bbf6-4496-9b2a-85639430657c_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5894 |
+
2023/ExplainCPE_[[:space:]]A[[:space:]]Free-text[[:space:]]Explanation[[:space:]]Benchmark[[:space:]]of[[:space:]]Chinese[[:space:]]Pharmacist[[:space:]]Examination/a72e8b93-6ab1-47c4-a077-cb4fdc5162f0_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5895 |
+
2023/Explainable[[:space:]]Claim[[:space:]]Verification[[:space:]]via[[:space:]]Knowledge-Grounded[[:space:]]Reasoning[[:space:]]with[[:space:]]Large[[:space:]]Language[[:space:]]Models/18a84354-cfce-4db6-b179-cd851ed39019_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5896 |
+
2023/Explicit[[:space:]]Alignment[[:space:]]and[[:space:]]Many-to-many[[:space:]]Entailment[[:space:]]Based[[:space:]]Reasoning[[:space:]]for[[:space:]]Conversational[[:space:]]Machine[[:space:]]Reading/59c18b14-085d-4a8c-b402-a89170c5790b_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5897 |
+
2023/Exploiting[[:space:]]Contrastive[[:space:]]Learning[[:space:]]and[[:space:]]Numerical[[:space:]]Evidence[[:space:]]for[[:space:]]Confusing[[:space:]]Legal[[:space:]]Judgment[[:space:]]Prediction/d05877f8-fd38-4c60-9186-57237bcbef9d_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5898 |
+
2023/Exploiting[[:space:]]Emotion-Semantic[[:space:]]Correlations[[:space:]]for[[:space:]]Empathetic[[:space:]]Response[[:space:]]Generation/422244f0-35c6-4ef5-a4ee-44a79edcd966_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5899 |
+
2023/Explore[[:space:]]the[[:space:]]Way_[[:space:]]Exploring[[:space:]]Reasoning[[:space:]]Path[[:space:]]by[[:space:]]Bridging[[:space:]]Entities[[:space:]]for[[:space:]]Effective[[:space:]]Cross-Document[[:space:]]Relation[[:space:]]Extraction/811743fd-9262-48c8-bc24-8536da413fcb_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5900 |
+
2023/Exploring[[:space:]]Context-Aware[[:space:]]Evaluation[[:space:]]Metrics[[:space:]]for[[:space:]]Machine[[:space:]]Translation/99043eb5-44fb-4cb0-86ae-9780d6a9dfa7_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5901 |
+
2023/Exploring[[:space:]]Graph[[:space:]]Pre-training[[:space:]]for[[:space:]]Aspect-based[[:space:]]Sentiment[[:space:]]Analysis/9039fba0-55c9-4e2a-8562-04b973233fbe_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5902 |
+
2023/Exploring[[:space:]]In-Context[[:space:]]Learning[[:space:]]for[[:space:]]Knowledge[[:space:]]Grounded[[:space:]]Dialog[[:space:]]Generation/9a741ca0-d517-414e-a790-3e4240b3f8c5_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5903 |
+
2023/Exploring[[:space:]]Large[[:space:]]Language[[:space:]]Models[[:space:]]for[[:space:]]Multi-Modal[[:space:]]Out-of-Distribution[[:space:]]Detection/370fe86a-89bc-481c-9b45-b7d6a721173f_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5904 |
+
2023/Exploring[[:space:]]Linguistic[[:space:]]Properties[[:space:]]of[[:space:]]Monolingual[[:space:]]BERTs[[:space:]]with[[:space:]]Typological[[:space:]]Classification[[:space:]]among[[:space:]]Languages/a31ff030-1182-47b8-b7c6-a074a3b82434_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5905 |
+
2023/Exploring[[:space:]]the[[:space:]]Cognitive[[:space:]]Knowledge[[:space:]]Structure[[:space:]]of[[:space:]]Large[[:space:]]Language[[:space:]]Models_[[:space:]]An[[:space:]]Educational[[:space:]]Diagnostic[[:space:]]Assessment[[:space:]]Approach/0da50962-a33f-4e66-9155-6d20ab4a56e9_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5906 |
+
2023/Exploring[[:space:]]the[[:space:]]Effectiveness[[:space:]]of[[:space:]]Multi-Lingual[[:space:]]Commonsense[[:space:]]Knowledge-Aware[[:space:]]Open-Domain[[:space:]]Dialogue[[:space:]]Response[[:space:]]Generation/25a4e6b3-4fd2-49f7-995a-4282bd56d09e_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5907 |
+
2023/Exploring[[:space:]]the[[:space:]]Impact[[:space:]]of[[:space:]]Corpus[[:space:]]Diversity[[:space:]]on[[:space:]]Financial[[:space:]]Pretrained[[:space:]]Language[[:space:]]Models/1e2f7c88-6efb-49cc-8d76-2bb8d6dcd423_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5908 |
+
2023/Exploring[[:space:]]the[[:space:]]Numerical[[:space:]]Reasoning[[:space:]]Capabilities[[:space:]]of[[:space:]]Language[[:space:]]Models_[[:space:]]A[[:space:]]Comprehensive[[:space:]]Analysis[[:space:]]on[[:space:]]Tabular[[:space:]]Data/e99267a4-bd81-4d11-b21c-b5fa84defd3d_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5909 |
+
2023/Exploring[[:space:]]the[[:space:]]Potential[[:space:]]of[[:space:]]Large[[:space:]]Language[[:space:]]Models[[:space:]]in[[:space:]]Generating[[:space:]]Code-Tracing[[:space:]]Questions[[:space:]]for[[:space:]]Introductory[[:space:]]Programming[[:space:]]Courses/b9f84753-3729-4b71-93d3-f729145be984_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5910 |
+
2023/Exploring[[:space:]]the[[:space:]]Sensitivity[[:space:]]of[[:space:]]LLMs’[[:space:]]Decision-Making[[:space:]]Capabilities_[[:space:]]Insights[[:space:]]from[[:space:]]Prompt[[:space:]]Variations[[:space:]]and[[:space:]]Hyperparameters/1598ac8a-8b03-4771-9f24-0b52c5f3a22d_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5911 |
+
2023/Extractive[[:space:]]Summarization[[:space:]]via[[:space:]]ChatGPT[[:space:]]for[[:space:]]Faithful[[:space:]]Summary[[:space:]]Generation/662ef5d1-84fe-4bce-b1ac-1bad079a094e_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5912 |
+
2023/Extrapolating[[:space:]]Multilingual[[:space:]]Understanding[[:space:]]Models[[:space:]]as[[:space:]]Multilingual[[:space:]]Generators/4bb07834-e1b1-484f-8bfb-13359a1ca71d_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5913 |
+
2023/Eyes[[:space:]]Show[[:space:]]the[[:space:]]Way_[[:space:]]Modelling[[:space:]]Gaze[[:space:]]Behaviour[[:space:]]for[[:space:]]Hallucination[[:space:]]Detection/b8253aff-e44c-453c-b907-0e33981569fa_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5914 |
+
2023/FFAEval_[[:space:]]Evaluating[[:space:]]Dialogue[[:space:]]System[[:space:]]via[[:space:]]Free-For-All[[:space:]]Ranking/99952f8c-1043-48f7-9a3f-b36b121ed08f_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 5915 |
+
2023/FREDSum_[[:space:]]A[[:space:]]Dialogue[[:space:]]Summarization[[:space:]]Corpus[[:space:]]for[[:space:]]French[[:space:]]Political[[:space:]]Debates/bbdc2244-8d38-4b21-a1bb-467cee78bada_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
2023/Efficient Latent Variable Modeling for Knowledge-Grounded Dialogue Generation/ef187d64-77d7-4019-9ab7-2e41bbdafa31_content_list.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2023/Efficient Latent Variable Modeling for Knowledge-Grounded Dialogue Generation/ef187d64-77d7-4019-9ab7-2e41bbdafa31_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2023/Efficient Latent Variable Modeling for Knowledge-Grounded Dialogue Generation/ef187d64-77d7-4019-9ab7-2e41bbdafa31_origin.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2f35c6ceb6a51604da5093de565f54ad017fea0f9757e270e4fac4152c16ebea
|
| 3 |
+
size 2420284
|
2023/Efficient Latent Variable Modeling for Knowledge-Grounded Dialogue Generation/full.md
ADDED
|
@@ -0,0 +1,550 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Efficient Latent Variable Modeling for Knowledge-Grounded Dialogue Generation
|
| 2 |
+
|
| 3 |
+
Gunsoo Han $^{1}$ Daejin Jo $^{1}$ Daniel Wontae Nam $^{1}$ Eunseop Yoon $^{2}$ Taehwan Kwon $^{3*}$ Seungeun Rho $^{4*}$ Kyoung-Woon On $^{1}$ Chang D. Yoo $^{2}$ Sungwoong Kim $^{5\dagger}$
|
| 4 |
+
|
| 5 |
+
$^{1}$ Kakao Brain $^{2}$ KAIST $^{3}$ KRAFTON $^{4}$ Georgia Institute of Technology $^{5}$ Korea University
|
| 6 |
+
|
| 7 |
+
gunsoo.han@kakaobrain.com swkim01@korea.ac.kr
|
| 8 |
+
|
| 9 |
+
# Abstract
|
| 10 |
+
|
| 11 |
+
Knowledge-grounded dialogue generation requires to first retrieve appropriate external knowledge based on a conversational context and then generate a response grounded on the retrieved knowledge. In general, these two sequential modules, a knowledge retriever and a response generator, have been separately trained by supervised data for each module. However, obtaining intermediate labels of the ground-truth knowledge is expensive and difficult especially in open-domain conversation. Latent variable modeling can circumvent it and enables a joint training without the knowledge supervision. In this paper, we propose an efficient algorithm for this latent variable modeling that is able to leverage a large amount of dialogue data. In specific, rather than directly training the complex retriever, we adapt a query generator with an off-the-shelf retriever, and the query generator and response generator are simultaneously trained over the latent variable of query. Moreover, we employ the evidence lower bound as a training objective and modify it to efficiently and robustly perform the joint training. Experimental results on diverse knowledge-grounded dialogue datasets show that the proposed algorithm achieves state-of-the-art performances even without the use of the annotated knowledge while maintaining the efficiency and scalability.
|
| 12 |
+
|
| 13 |
+
# 1 Introduction
|
| 14 |
+
|
| 15 |
+
Recently, knowledge-grounded dialogue generation has drawn increasing attention especially as a key ingredient for open-domain conversational agents (Dinan et al., 2018; Zhou et al., 2018b; Zhan et al., 2021; Liu et al., 2018; Zhou et al., 2018a; Lian et al., 2019; Zhao et al., 2020; Kim et al., 2020; Chen et al., 2022; kom; Shuster et al., 2022a,b; Cai et al., 2023; Wu et al., 2022; Lewis et al., 2020; Huang et al., 2021; Thulke et al., 2021; Anantha
|
| 16 |
+
|
| 17 |
+
et al., 2021). It usually obtains knowledge from external resources such as Wikipedia-based databases and web search engines since internal knowledge even in large-scale parametric language models (Brown et al., 2020; Thoppilan et al., 2022; Chowdhery et al., 2022) is incomplete or outdated, and moreover it can provide hallucinated information.
|
| 18 |
+
|
| 19 |
+
In order for a dialogue response to be grounded on such external knowledge, the conversational agent generally consists of a knowledge retriever, which retrieves knowledge corresponding to a given dialogue context, followed by a response generator that produces an informative response based on the dialogue context and the retrieved knowledge. In many previous methods, supervised learning has often been applied to independently optimize each module using the ground-truth or gold knowledge (Dinan et al., 2018; Shuster et al., 2022a,b; Glass et al., 2022; Adolphs et al., 2021a; Nogueira and Cho, 2017; Ma et al., 2020; Xie et al., 2022). However, human annotation of knowledge information is cumbersome, expensive, and often incomplete due to the existence of multiple possible knowledge candidates and the overlooking of the target response. In addition, existing automatic annotations are generally limited to a simple extractive question answering (Zhao et al., 2020; Liu et al., 2021). This difficulty in obtaining annotations of knowledge information could be severe under the open-domain conversation and hinders the use of large-scale dialogue data.
|
| 20 |
+
|
| 21 |
+
Therefore, there have been a number of recent approaches to learn the knowledge retriever and the response generator without the knowledge supervision. In specific, they have treated the retrieved knowledge, document, or passage as an unobserved latent variable and adapt latent variable modeling based on approximated marginalization (e.g. top-k) (Lewis et al., 2020; Huang et al., 2021; Cai et al., 2023; Guu et al., 2020), reinforcement learning (Zhao et al., 2020; Zhang et al., 2022; Chen et al., 2022; Wu et al., 2022) or variational methods (Zhan
|
| 22 |
+
|
| 23 |
+
et al., 2021; Paranjape et al., 2022; Lian et al., 2019; Kim et al., 2020; Chen et al., 2020; Xu et al., 2023). However, joint training of the retriever along with the generator under this latent variable modeling has some restrictions in utilizing the retriever. For example, a retriever needs to produce a differentiable prior probability for the gradient propagation through the marginalization or to be intermittently updated to rebuild the whole passage index during training (Karpukhin et al., 2020; Lewis et al., 2020; Zhang et al., 2022). This leads to limitation in facilitating complicated or large-scale retrievers and further in leveraging large-scale data. In addition, the posterior probability used in the previous variational methods has been modeled by a separated network, which grows the training complexity and also incurs the discrepancy between the training-time and test-time knowledge samplings.
|
| 24 |
+
|
| 25 |
+
To overcome such restrictions, in this paper, we propose an efficient latent variable modeling, named $ELVM$ , for knowledge-grounded dialogue generation. In particular, we reduce the burden for training a whole retriever by employing a query generator followed by an off-the-shelf retriever that is fixed during training. More precisely, in tandem with the response generator, the query generator rather than the retriever is jointly optimized by latent variable modeling, in which a query is taken as a latent variable, on paired observations of dialogue contexts and responses.
|
| 26 |
+
|
| 27 |
+
To this end, we exploit the variational method using the evidence lower bound (ELBO) (Kingma and Welling, 2013; Jordan et al., 1999) and approximate the expected conditional likelihood in the ELBO by subset sampling from the prior distribution, which acts as the training objective for the response and the query generators. This approximation gets rid of an extra modeling of a surrogate posterior distribution or online posterior inference such as Markov Chain Monte Carlo (MCMC) and also reduces the training-inference discrepancy in knowledge retrieval. Moreover, we further modify the Kullback-Leibler (KL) regularization of the ELBO by constructing the approximated posterior distribution from the conditional likelihood and prior distribution and set this posterior distribution as a teacher for a distillation objective to further learn the query generator.
|
| 28 |
+
|
| 29 |
+
Experimental results show that the proposed ELVM allows to efficiently and robustly perform training without (1) the use of the annotated knowledge, (2) an explicit training of the knowledge
|
| 30 |
+
|
| 31 |
+
retrieval, and (3) a complex posterior sampling. Especially, it significantly outperforms previous state-of-the-art methods for knowledge-grounded dialogue generation. In addition, the proposed posterior distillation improves the performances over the baseline that solely maximizes the expectation of the conditional likelihood.
|
| 32 |
+
|
| 33 |
+
Our main contributions can be summarized as:
|
| 34 |
+
|
| 35 |
+
- An efficient latent variable modeling is proposed in joint training of query generator and dialogue response generator without the knowledge supervision for knowledge-intensive dialogue generation.
|
| 36 |
+
- For realizing efficient yet robust joint training, the ELBO for the marginal likelihood is modified as the combination of the conditional likelihood objective and the posterior distillation objective, based on multiple prior samples.
|
| 37 |
+
- The proposed ELVM demonstrates its effectiveness in performing unsupervised joint training and even significant performance improvements over previous methods, being a new state-of-the-art on benchmark datasets.
|
| 38 |
+
|
| 39 |
+
# 2 Related Work
|
| 40 |
+
|
| 41 |
+
# 2.1 Knowledge-Grounded Dialogue Generation
|
| 42 |
+
|
| 43 |
+
Knowledge-grounded conversation has been extensively studied through recently released public datasets (Dinan et al., 2018; kom; Xu et al., 2022b; Kwiatkowski et al., 2019; Anantha et al., 2021; Moghe et al., 2018). Existing approaches for this task have mostly exploited two successive modules, the knowledge retriever and the knowledge-grounded response generator. Many previous works have used manual annotations of gold knowledge provided by some of public datasets to optimize the modules (Dinan et al., 2018; Shuster et al., 2022a,b; Glass et al., 2022; Adolphs et al., 2021a; Nogueira and Cho, 2017; Ma et al., 2020; Xie et al., 2022). Specifically, Seeker (Shuster et al., 2022a) and BlenderBot3 (Shuster et al., 2022b) have recently proposed to build a series of modules by a single transformer with different prompts for each module, and trained its transformer on a large number of modular tasks using annotated datasets. However, this manual annotation is expensive, time-consuming, and often inaccurate, which impedes the utilization of a large-scale dialogue data that is especially necessary for open-domain conversation.
|
| 44 |
+
|
| 45 |
+
# 2.2 Unsupervised Joint Training
|
| 46 |
+
|
| 47 |
+
Recently, unsupervised training methods have been widely applied, and many of them have tries to jointly learn the modules without knowledge labels (Lewis et al., 2020; Huang et al., 2021; Zhao et al., 2020; Zhang et al., 2022; Zhan et al., 2021; Paranjape et al., 2022; Lian et al., 2019; Kim et al., 2020). For example, PLATO-KAG (Huang et al., 2021) has approximated the marginal likelihood by top-k knowledge samples while RetGen (Zhang et al., 2022) has trained to reward knowledge retrieval with the highest utilization in response generation by reinforcement learning and mixture-of-experts ensembling.
|
| 48 |
+
|
| 49 |
+
Meanwhile, latent variable modeling based on variational methods has also been developed by several recent works. CoLV (Zhan et al., 2021) has introduced collaborative latent spaces to reflect the inherent correlation between the knowledge selection and the response generation. SKT (Kim et al., 2020) has developed a sequential latent variable model for the multi-turn knowledge-grounded dialogue generation. In order to perform the posterior sampling of knowledge selection during joint training, some works have proposed to separately train the posterior distribution model (Paranjape et al., 2022; Lian et al., 2019) or the posterior information prediction model (Chen et al., 2020). Very recently, SPI (Xu et al., 2023) has applied short-run MCMC (Erik et al., 2019) for posterior sampling on the collaborative latent spaces.
|
| 50 |
+
|
| 51 |
+
While these latent variable modeling algorithms can effectively perform unsupervised joint training, the entire training of the retriever is still difficult and imposes restrictions on the selection of the retriever in terms of both a search algorithm and a knowledge resource. Furthermore, the additional posterior sampling through separate networks or multiple iterations in the previous variational methods also leads to increased training complexity as well as the training-inference discrepancy in knowledge generation. In contrast, the proposed ELVM can employ any kind of retriever in latent variable modeling since it controls a retrieval output by only changing of a generated query. Moreover, ELVM removes an extra posterior modeling or sampling by prior subset sampling and approximated posterior distillation, which leads to efficient training without the discrepancy.
|
| 52 |
+
|
| 53 |
+
# 2.3 Query Generation
|
| 54 |
+
|
| 55 |
+
When an off-the-shelf retriever is used for knowledge retrieval, how to make an input text query
|
| 56 |
+
|
| 57 |
+
is important for obtaining appropriate documents. Especially, in knowledge-grounded dialogue, a self-contained query should be generated from the multi-turn dialogue context. A number of prior works have tried to train a supervised query rewriting model by human rewrites (Yu et al., 2020; Lin et al., 2020; Vakulenko et al., 2021; Voskarides et al., 2020). Similar to the knowledge annotation, the limitations of manual query annotation have come up with unsupervised learning of the query generator. A number of works have proposed a novel rewards for reinforcement learning of a query rewritten (Wu et al., 2022; Chen et al., 2022).
|
| 58 |
+
|
| 59 |
+
QKConv (Cai et al., 2023) has proposed an unsupervised query enhanced method for knowledge-grounded conversation. This work is similar to ours in that it consists of a query generator, an off-the-shelf knowledge retriever, and a response generator, and unsupervised joint training is applied to the query generator and the response generator. However, their training objective is based on the approximated marginal likelihood over candidate queries, which is different from our objective that includes the posterior distillation based on the ELBO loss.
|
| 60 |
+
|
| 61 |
+
# 3 Efficient Latent Variable Model for Knowledge-Grounded Dialogue Generation
|
| 62 |
+
|
| 63 |
+
# 3.1 Setup
|
| 64 |
+
|
| 65 |
+
In this section, we explain an overall structure of our ELVM, as described in Figure 1a, and define notations. Unlike previous works of document (passage) retrieval (Zhang et al., 2022; Huang et al., 2021; Lewis et al., 2020) using a query of an embedded vector of a dialogue context $x$ , we use a text query of natural language, which enables to utilize any kind of retriever for dialogue response generation. We define the probability of generating a natural language query $u$ for a given dialogue context $x$ , $p_{\phi}(u|x)$ , as below:
|
| 66 |
+
|
| 67 |
+
$$
|
| 68 |
+
p _ {\phi} (u | x) = \prod_ {t} p _ {\phi} \left(u _ {t} \mid u _ {0: t - 1}, x\right), \tag {1}
|
| 69 |
+
$$
|
| 70 |
+
|
| 71 |
+
where $u_{t}$ is the $t$ -th token in $u$ and $p_{\phi}$ is the probability obtained from the model parameterized by $\phi$ . Similarly, the probability of generating a response $y$ for a given query $u$ and dialogue context $x$ is defined as
|
| 72 |
+
|
| 73 |
+
$$
|
| 74 |
+
p _ {\theta} (y | Z (u), x) = \prod_ {t} p _ {\theta} \left(y _ {t} \mid y _ {0: t - 1}, Z (u), x\right), \tag {2}
|
| 75 |
+
$$
|
| 76 |
+
|
| 77 |
+

|
| 78 |
+
(a) Overall structure of ELVM.
|
| 79 |
+
|
| 80 |
+

|
| 81 |
+
(b) Example inference of ELVM.
|
| 82 |
+
Figure 1: Overall structure and example inference case of ELVM. During training, for a given dialogue context $x$ , the query generator generates a set of unique queries $Q^s$ and for each query $u$ a set of top- $k$ documents $Z(u)$ is retrieved using the off-the-shelf retriever. Then, response generator utilizes both $x$ and $Z(u)$ : (a) The approximated marginal likelihood $\tilde{p}_{\theta, \phi}(y|x)$ used during training is defined by $Q^s$ and the re-normalized prior $\bar{p}_{\phi}(u|x)$ ; (b) At inference time, a single sampled query $u$ is used for retrieving multiple documents and producing a final response.
|
| 83 |
+
|
| 84 |
+
where $y_{t}$ is the $t$ -th token in $y$ , $Z(u) = \{z_1, z_2, \dots, z_k\}$ is the set of retrieved documents (passages) by $u$ , and $\theta$ is the model parameters to produce the response probability. Here, we use top- $k$ result obtained by an off-the-shelf retriever such as BM25 (Robertson et al., 2009) and DPR (Karpukhin et al., 2020) and freeze the retriever. We assume that there is a deterministic mapping from $u$ to $Z$ . We now set a query $u$ as a latent variable. Then, using the prior $p_{\phi}(u|x)$ associated with the query generator and the conditional likelihood $p_{\theta}(y|Z(u), x)$ corresponding to the response generator, we can define the marginal likelihood of the knowledge-grounded response $y$ given the dialogue context $x$ as below:
|
| 85 |
+
|
| 86 |
+
$$
|
| 87 |
+
p _ {\theta , \phi} (y | x) = \sum_ {u \in Q} p _ {\phi} (u | x) p _ {\theta} (y | Z (u), x), \tag {3}
|
| 88 |
+
$$
|
| 89 |
+
|
| 90 |
+
where $Q$ is the set of all possible queries. Since it is intractable to marginalize over all queries, we sample a small subset composed of $m$ unique queries, $Q^{s}(x) = \{u_{1}, u_{2}, \dots, u_{m}\}$ using $p_{\phi}(\cdot | x)$ and then marginalize over this set as below:
|
| 91 |
+
|
| 92 |
+
$$
|
| 93 |
+
\tilde {p} _ {\theta , \phi} (y | x) = \sum_ {u \in Q ^ {s}} \bar {p} _ {\phi} (u | x) p _ {\theta} (y | Z (u), x), \tag {4}
|
| 94 |
+
$$
|
| 95 |
+
|
| 96 |
+
where
|
| 97 |
+
|
| 98 |
+
$$
|
| 99 |
+
\bar {p} _ {\phi} (u | x) = \frac {p _ {\phi} (u | x)}{\sum_ {u ^ {\prime} \in Q ^ {s}} p _ {\phi} \left(u ^ {\prime} \mid x\right)}. \tag {5}
|
| 100 |
+
$$
|
| 101 |
+
|
| 102 |
+
We construct $Q^s$ by obtaining $m$ -unique queries sampled from $p_{\phi}(\cdot | x)$ . It is noted that our response generator takes multiple retrieved documents efficiently using FiD (Izacard and Grave, 2020), which is different from the use of a single document for response generation in previous methods. In addition, while we can utilize relative matching scores from the retriever to assign varying likelihoods to each document given a query for $p(Z(u)|u)$ , we have noticed that this approach can occasionally hinder the effective and comprehensive learning of the query generator. During the training process, that will be described in the next subsection, our objective is to amplify the impact of the generated query. Consequently, we opt for a deterministic mapping from a query to a set of retrieved documents as a unified whole, aiming to enhance the gradient flow.
|
| 103 |
+
|
| 104 |
+
# 3.2 Joint Training
|
| 105 |
+
|
| 106 |
+
Our training objective is the ELBO (Kingma and Welling, 2013; Jordan et al., 1999) of $\log \tilde{p}_{\theta,\phi}$ which can be written as below:
|
| 107 |
+
|
| 108 |
+
$$
|
| 109 |
+
\begin{array}{l} \log \tilde {p} _ {\theta , \phi} (y | x) \geq \mathbb {E} _ {u \sim q (u | x, y)} [ \log p _ {\theta} (y | Z (u), x) ] \\ - D _ {K L} \left(q (u | x, y) | | \bar {p} _ {\phi} (u | x)\right), \tag {6} \\ \end{array}
|
| 110 |
+
$$
|
| 111 |
+
|
| 112 |
+
where $q(u|x,y)$ is the variational posterior. Note that the equality holds when $q(u|x,y)$ is identical to the true posterior distribution of it. In this work,
|
| 113 |
+
|
| 114 |
+
we do not parameterize $q(u|x,y)$ and approximate the expected conditional likelihood in the ELBO by sampling $u$ from not $q(u|x,y)$ but $\bar{p}_{\phi}(u|x)$ such as
|
| 115 |
+
|
| 116 |
+
$$
|
| 117 |
+
\begin{array}{l} \mathbb {E} _ {u \sim q (u | x, y)} [ \log p _ {\theta} (y | Z (u), x) ] \\ \approx \mathbb {E} _ {u \sim \bar {p} _ {\phi} (u | x)} [ \log p _ {\theta} (y | Z (u), x) ]. \tag {7} \\ \end{array}
|
| 118 |
+
$$
|
| 119 |
+
|
| 120 |
+
This approximation is due to that it minimizes the discrepancy between training and test time inference and it does not separately model $q(u|x,y)$ or complicatedly sample from it during training. Then, we obtain the following two losses corresponding to the expected conditional likelihood and the KL regularization such as
|
| 121 |
+
|
| 122 |
+
$$
|
| 123 |
+
\mathcal {L} ^ {y, u} (\theta , \phi) = - \mathbb {E} _ {u \sim \bar {p} _ {\phi} (u | x)} [ \log p _ {\theta} (y | Z (u), x) ], \tag {8}
|
| 124 |
+
$$
|
| 125 |
+
|
| 126 |
+
$$
|
| 127 |
+
\mathcal {L} ^ {u} (\phi) = D _ {K L} \left(q (u | x, y) | | \bar {p} _ {\phi} (u | x)\right). \tag {9}
|
| 128 |
+
$$
|
| 129 |
+
|
| 130 |
+
Moreover, we define $q(u|x,y)$ in $\mathcal{L}^u (\phi)$ by the approximated posterior derived from the prior and the likelihood such as
|
| 131 |
+
|
| 132 |
+
$$
|
| 133 |
+
q (u | x, y) = \frac {p _ {\theta} (y | Z (u) , x) \bar {p} _ {\phi} (u | x)}{\sum_ {u ^ {\prime} \in Q ^ {s}} p _ {\theta} (y | Z (u ^ {\prime}) , x) \bar {p} _ {\phi} \left(u ^ {\prime} \mid x\right)}. \tag {10}
|
| 134 |
+
$$
|
| 135 |
+
|
| 136 |
+
We set this posterior distribution $q(u|x,y)$ as a teacher for a distillation to update the prior associated with the query generation at test time. Namely, $\mathcal{L}^u (\phi)$ becomes the posterior distillation loss, and our prior is explicitly updated to be similar to the posterior. Here, the gradient is not propagated from $q(u|x,y)$ , and $q(u|x,y)$ can be computed easily without additional model or approximation since we define it over the subset $Q^s$ .
|
| 137 |
+
|
| 138 |
+
To sum up, we obtain the conditional likelihood loss and the posterior distillation loss by multiple samples from the prior distribution that is aligned with query sampling at the inference time. We would mitigate the bias of prior sampling by multiple query samples for each input during training. In addition, our modification of ELBO is different from the expectation-maximization (EM) algorithm in that we sample a latent variable from the prior distribution rather than the posterior distribution that is used for sampling of E-step in EM. Moreover, in contrast to the M-step loss, we use the prior-weighted conditional likelihood and the gradient is also propagated to the sampled latents and the corresponding prior model. For experiments in this paper, the query generator $\phi$ and the response generator $\theta$ share parameters, with different input prompts to distinguish each module, for simplicity.
|
| 139 |
+
|
| 140 |
+
Overall, the loss for our joint training is
|
| 141 |
+
|
| 142 |
+
$$
|
| 143 |
+
\mathcal {L} (\theta , \phi) = \mathcal {L} ^ {y, u} (\theta , \phi) + \beta \mathcal {L} ^ {u} (\phi), \tag {11}
|
| 144 |
+
$$
|
| 145 |
+
|
| 146 |
+
where $\beta$ is the relative weight for the posterior distillation loss.
|
| 147 |
+
|
| 148 |
+
# 4 Experiment
|
| 149 |
+
|
| 150 |
+
# 4.1 Experimental Setup
|
| 151 |
+
|
| 152 |
+
Dataset. Our experiments are conducted on two widely used knowledge-grounded dialogue datasets, Wizard of Wikipedia (WoW) (Dinan et al., 2018) and QReCC (Anantha et al., 2021). WoW is structured around dialogues that are grounded in knowledge sentences sourced from Wikipedia, consisting of roughly 18K, 2K, and 2K dialogues, for training, validation, and test subsets, respectively. QReCC is a comprehensive compilation of conversational data, consisting of 14K open-domain conversations comprising 80K question-answer pairs.
|
| 153 |
+
|
| 154 |
+
<table><tr><td>Task</td><td>Dataset</td><td>Train</td><td>Valid</td></tr><tr><td rowspan="2">Query</td><td>WizInt (Komeili et al., 2022)</td><td>351,375</td><td>2,467</td></tr><tr><td>Fits (xu2)</td><td>3,587</td><td>392</td></tr><tr><td rowspan="4">KG Response</td><td>WizInt (Komeili et al., 2022)</td><td>22,488</td><td>1,687</td></tr><tr><td>Fits (xu2)</td><td>6,279</td><td>656</td></tr><tr><td>Ms Marco (Nguyen et al., 2017)</td><td>281,636</td><td>36,859</td></tr><tr><td>NQ Open (Adolphs et al., 2021b)</td><td>79,168</td><td>8.757</td></tr><tr><td rowspan="5">Dialogue Response</td><td>WizInt (Komeili et al., 2022)</td><td>8,335</td><td>587</td></tr><tr><td>MSC (Xu et al., 2022a)</td><td>105,549</td><td>17,691</td></tr><tr><td>SaferDialogues (Ung et al., 2022)</td><td>6,306</td><td>7,88</td></tr><tr><td>PersonaChat (Zhang et al., 2018)</td><td>131,438</td><td>7.801</td></tr><tr><td>EmpatheicDialogues (Rashkin et al., 2019)</td><td>64,636</td><td>5,738</td></tr></table>
|
| 155 |
+
|
| 156 |
+
Table 1: List of dataset and number of train and validation examples used for fine-tuning R2C2 model to obtain R2C2-PT. KG is an abbreviation for knowledge-grounded.
|
| 157 |
+
|
| 158 |
+
Training. We begin with publicly available R2C2 pre-trained transformer model (Shuster et al., 2022a) with 400M parameter size and fine-tune it on multiple datasets to acquire the essential skill sets for knowledge-grounded dialogue such as query generation and knowledge-grounded response generation. Detailed tasks and statistics are shown in Table 1. In line with Shuster et al. (2022b), we adopt a modular system with a single model that incorporates control tokens into the dialogue context to perform different modules. For example, appending the control token __generate-query__ to the dialogue context promotes the model to generate relevant search query. We name the initial model from this pretraining procedure as R2C2-PT. Subsequently, we apply our proposed algorithm to R2C2-PT model,
|
| 159 |
+
|
| 160 |
+
<table><tr><td rowspan="2">Model</td><td colspan="5">Seen</td><td colspan="5">Unseen</td></tr><tr><td>PPL ↓</td><td>B3 ↑</td><td>B4 ↑</td><td>R1 ↑</td><td>R2 ↑</td><td>PPL ↓</td><td>B3 ↑</td><td>B4 ↑</td><td>R1 ↑</td><td>R2 ↑</td></tr><tr><td>PostKS (Lian et al., 2019)</td><td>79.1</td><td>-</td><td>-</td><td>13.0</td><td>1.0</td><td>193.8</td><td>-</td><td>-</td><td>13.1</td><td>1.0</td></tr><tr><td>ITDD (Li et al., 2019)</td><td>17.8</td><td>4.0</td><td>2.5</td><td>16.2</td><td>-</td><td>44.8</td><td>2.1</td><td>1.1</td><td>11.4</td><td>-</td></tr><tr><td>SKT (Kim et al., 2020)</td><td>52.0</td><td>-</td><td>-</td><td>19.3</td><td>6.8</td><td>81.4</td><td>-</td><td>-</td><td>16.1</td><td>4.2</td></tr><tr><td>PIPM (Chen et al., 2020)</td><td>42.7</td><td>-</td><td>3.3</td><td>19.9</td><td>7.3</td><td>65.7</td><td>-</td><td>2.5</td><td>17.6</td><td>5.4</td></tr><tr><td>ZRKGK (Li et al., 2021)</td><td>40.4</td><td>-</td><td>-</td><td>-</td><td>-</td><td>41.5</td><td>-</td><td>-</td><td>-</td><td>-</td></tr><tr><td>CoLV (Zhan et al., 2021)</td><td>39.6</td><td>-</td><td>2.9</td><td>20.6</td><td>7.9</td><td>54.3</td><td>-</td><td>2.1</td><td>19.7</td><td>6.3</td></tr><tr><td>KnowledGPT (Zhao et al., 2020)</td><td>19.2</td><td>9.5</td><td>7.2</td><td>22.0</td><td>7.9</td><td>22.3</td><td>8.3</td><td>6.0</td><td>20.5</td><td>6.7</td></tr><tr><td>SPI (Xu et al., 2023)</td><td>17.1</td><td>10.2</td><td>7.7</td><td>22.7</td><td>8.8</td><td>19.1</td><td>9.6</td><td>7.3</td><td>22.0</td><td>8.5</td></tr><tr><td>R2C2</td><td>40.7</td><td>1.7</td><td>0.9</td><td>12.3</td><td>1.9</td><td>46.6</td><td>1.6</td><td>0.9</td><td>11.9</td><td>5.4</td></tr><tr><td>R2C2-PT</td><td>24.7</td><td>6.0</td><td>4.4</td><td>17.3</td><td>5.2</td><td>30.4</td><td>6.2</td><td>4.6</td><td>17.7</td><td>5.4</td></tr><tr><td>ELVM-OK</td><td>19.8</td><td>12.0</td><td>9.5</td><td>25.3</td><td>10.7</td><td>25.8</td><td>12.1</td><td>9.7</td><td>25.2</td><td>10.5</td></tr><tr><td>ELVM-EM-Like</td><td>16.2</td><td>11.6</td><td>9.1</td><td>25.7</td><td>10.7</td><td>19.4</td><td>12.0</td><td>9.5</td><td>25.7</td><td>10.8</td></tr><tr><td>ELVM-from-R2C2</td><td>15.8</td><td>14.5</td><td>11.8</td><td>28.8</td><td>13.3</td><td>18.9</td><td>14.3</td><td>11.5</td><td>28.8</td><td>13.3</td></tr><tr><td>ELVM</td><td>14.6</td><td>14.7</td><td>11.9</td><td>29.3</td><td>13.9</td><td>18.0</td><td>14.5</td><td>11.8</td><td>29.2</td><td>13.7</td></tr></table>
|
| 161 |
+
|
| 162 |
+
Table 2: Performance comparison in WoW. PPL represents perplexity, B3 and B4 denote BLEU-3 and BLEU-4 scores, respectively, and R1 and R2 indicate Rouge-1 and Rouge-2 scores. Our proposed model, ELVM, achieves new SOTA performance for both seen and unseen tasks with a substantial margin.
|
| 163 |
+
|
| 164 |
+
<table><tr><td rowspan="2">Model</td><td colspan="3">Seen</td><td colspan="3">Unseen</td></tr><tr><td>R@1</td><td>R@5</td><td>R@10</td><td>R@1</td><td>R@5</td><td>R@10</td></tr><tr><td>R2C2-PT</td><td>25.7</td><td>63.8</td><td>74.3</td><td>29.2</td><td>64.8</td><td>76.7</td></tr><tr><td>ELVM-EM-Like</td><td>26.4</td><td>63.9</td><td>74.7</td><td>28.9</td><td>64.5</td><td>75.8</td></tr><tr><td>ELVM-β=0</td><td>26.1</td><td>64.6</td><td>75.7</td><td>28.9</td><td>65.3</td><td>76.8</td></tr><tr><td>ELVM</td><td>29.1</td><td>68.4</td><td>80.3</td><td>30.4</td><td>68.3</td><td>80.3</td></tr></table>
|
| 165 |
+
|
| 166 |
+
resulting in ELVM. Furthermore, to dispel concerns that our training gains might predominantly stem from R2C2-PT's comprehensive fine-tuning across multiple datasets rather than ELVM's inherent efficacy, we opted to utilize the base R2C2 model. Upon integrating it with ELVM, the resulting configuration is denoted as ELVM-from-R2C2.
|
| 167 |
+
|
| 168 |
+
During the training of ELVM, we employ a sampling-based generation method, specifically nucleus sampling (Holtzman et al., 2020), to promote diverse query generation in $p_{\phi}$ . When retrieving documents based on the generated queries, we utilize an off-the-shelf sparse retriever such as BM25 (Robertson et al., 2009), prioritizing low latency over the dense retriever (DR). We train for 3 epochs with $m = 4$ and $k = 5$ for WoW and 1 epoch with $m = 8$ and $k = 10$ for QReCC. $\beta$ is set to 1 for both tasks, unless stated otherwise. To ensure a thorough evaluation of ELVM's performance and its ability to generalize to unseen dialogues, we purposely avoid dataset overlap between training of R2C2-PT and ELVM. More detailed information on the training process can be found in Appendix A.
|
| 169 |
+
|
| 170 |
+
Table 3: Comparison of document recall in WoW between ELVM variants. Note that we omit the performance of ELVM-OK whose performance is identical to R2C2-PT since it is trained with keeping its query generator frozen.
|
| 171 |
+
|
| 172 |
+
<table><tr><td>Model</td><td>F1 ↑</td><td>EM ↑</td><td>R1 ↑</td><td>R2 ↑</td><td>PPL ↓</td></tr><tr><td>Q.Rewriting (Raposo et al., 2022)</td><td>18.9</td><td>1.0</td><td>-</td><td>-</td><td>-</td></tr><tr><td>DPR-IHN (Kim and Kim, 2022)</td><td>30.4</td><td>4.7</td><td>-</td><td>-</td><td>-</td></tr><tr><td>QKConv (Cai et al., 2023)</td><td>33.5</td><td>5.9</td><td>-</td><td>-</td><td>-</td></tr><tr><td>R2C2-PT</td><td>22.8</td><td>1.3</td><td>25.7</td><td>11.5</td><td>9.4</td></tr><tr><td>ELVM-OK</td><td>33.0</td><td>4.5</td><td>35.6</td><td>21.9</td><td>5.6</td></tr><tr><td>ELVM</td><td>36.5</td><td>6.2</td><td>39.0</td><td>25.8</td><td>4.8</td></tr></table>
|
| 173 |
+
|
| 174 |
+
Table 4: Performance comparison in QReCC with QKConv (Cai et al., 2023) which is the previous SOTA on this task. We report F1 scores, exact match (EM), Rouge score (R) and perplexity (PPL).
|
| 175 |
+
|
| 176 |
+
<table><tr><td rowspan="2">Model</td><td colspan="2">Fluency (%)</td><td colspan="2">Relevance (%)</td></tr><tr><td>Seen</td><td>Unseen</td><td>Seen</td><td>Unseen</td></tr><tr><td>KnowledGPT</td><td>69.8</td><td>62.9</td><td>41.5</td><td>41.1</td></tr><tr><td>ELVM</td><td>73.5</td><td>77.5*</td><td>49.5</td><td>63.6**</td></tr></table>
|
| 177 |
+
|
| 178 |
+
Table 5: Human evaluation results on WoW test. A pairwise t-test is conducted to verify statistical significance of the improvements, and the corresponding results in bold are significantly better than those from the baseline model $(^{**}: p < 0.01, ^*: p < 0.025)$ .
|
| 179 |
+
|
| 180 |
+
Inference. During inference, unlike the training phase, only a single query is generated by the query generator $p_{\phi}$ . The default number of retrieved documents $k$ from the off-the-shelf retriever is set to 5 for WoW and 10 for QReCC. The knowledge-grounded response is generated by the response generator, $p_{\theta}$ . An illustration of the inference is depicted in Figure 1b. During the inference, both query and response generation are conducted using beam search with a beam size of 5.
|
| 181 |
+
|
| 182 |
+
Variants of ELVM. To examine the impact of the proposed ELVM training, we explore another variant, ELVM-OK, which is trained on the response generation task with annotated oracle knowledge documents while keeping the query generator $p_{\phi}$
|
| 183 |
+
|
| 184 |
+
<table><tr><td rowspan="2">m</td><td colspan="2">Seen</td><td colspan="2">Unseen</td></tr><tr><td>B4↑</td><td>R2↑</td><td>B4↑</td><td>R2↑</td></tr><tr><td>1</td><td>10.8</td><td>12.4</td><td>10.5</td><td>12.2</td></tr><tr><td>2</td><td>11.1</td><td>13.0</td><td>11.1</td><td>12.8</td></tr><tr><td>4*</td><td>11.9</td><td>13.9</td><td>11.8</td><td>13.7</td></tr><tr><td>8</td><td>11.8</td><td>13.7</td><td>11.7</td><td>13.6</td></tr></table>
|
| 185 |
+
|
| 186 |
+
Table 6: Effect of varying the number of queries, $m$ , sampled during training on WoW. We see the highest performance on unseen task when $m = 4$ . The superscripted value by * is the default setting for ELVM.
|
| 187 |
+
|
| 188 |
+
<table><tr><td rowspan="2">β</td><td colspan="3">Wow Unseen</td><td colspan="3">QReCC</td></tr><tr><td>B4 ↑</td><td>R2 ↑</td><td>R@5 ↑</td><td>F1 ↑</td><td>EM ↑</td><td>R@5 ↑</td></tr><tr><td>0</td><td>9.3</td><td>10.6</td><td>65.3</td><td>34.5</td><td>5.1</td><td>55.8</td></tr><tr><td>1*</td><td>11.8</td><td>13.7</td><td>68.3</td><td>36.5</td><td>6.9</td><td>65.6</td></tr><tr><td>5</td><td>10.8</td><td>12.4</td><td>66.7</td><td>31.3</td><td>3.5</td><td>31.9</td></tr></table>
|
| 189 |
+
|
| 190 |
+
frozen. During inference, given a dialogue context the frozen query generator $p_{\phi}$ generates query and use the off-the-shelf retriever to bring relevant documents. Finally the response generator of ELVM-OK generates the final response.
|
| 191 |
+
|
| 192 |
+
In Section 3.2, we describe the difference between ELVM training and EM algorithm. In order to quantitatively compare these two methods, we perform EM-like training in ELVM where we apply the posterior-weighted conditional likelihood in $\mathcal{L}^{y,u}(\theta ,\phi)$ .. $\mathcal{L}^{y,u}(\theta ,\phi) =$ $-\sum_{u}SG(q(u|x,y))\log p_{\theta}(y|Z(u),x).$ Here, the query latents $u$ are still sampled from the prior distribution, and $SG$ means the stop-gradient that prevents the gradient propagation to the query generator. We name this variant as ELVM-EM-Like.
|
| 193 |
+
|
| 194 |
+
# 4.2 Automatic Evaluation
|
| 195 |
+
|
| 196 |
+
The evaluation results of WoW test seen and unseen tasks are shown in Table 2. ELVM surpasses all its variants and previous state-of-the-art (SOTA) model, achieving a new SOTA on both WoW test seen unseen tasks, across all metrics. In addition, ELVM-OK demonstrates notable improvements in BLEU and Rouge scores compared to previous models with a slight drawback in PPL. Similarly, ELVM-EM-Like also exhibits competitive performance across multiple metrics. Moreover, when comparing ELVM-from-R2C2 and ELVM, the experiment demonstrates that while R2C2-PT offers marginal benefits, the marked performance
|
| 197 |
+
|
| 198 |
+
Table 7: Ablation study of the posterior distillation weight $\beta$ on WoW. From the results, we can see that the trivial value of $\beta = 1$ shows the best performance. The super-scripted value by $*$ is the default setting for ELVM.
|
| 199 |
+
|
| 200 |
+
<table><tr><td rowspan="2">Model</td><td colspan="3">WoW Unseen</td><td colspan="3">QReCC</td></tr><tr><td>B4 ↑</td><td>R2 ↑</td><td>R@5 ↑</td><td>F1 ↑</td><td>EM ↑</td><td>R@5 ↑</td></tr><tr><td>ELVM</td><td>11.8</td><td>13.7</td><td>68.3</td><td>36.5</td><td>6.2</td><td>59.9</td></tr><tr><td>ELVMDR</td><td>12.8</td><td>15.5</td><td>81.2</td><td>37.9</td><td>6.9</td><td>65.6</td></tr></table>
|
| 201 |
+
|
| 202 |
+
Table 8: Performance results achieved by employing the dense retriever instead of the default BM25 retriever for WoW unseen and QReCC evaluation.
|
| 203 |
+
|
| 204 |
+
<table><tr><td rowspan="2">Model</td><td colspan="3">Seen</td><td colspan="3">Unseen</td></tr><tr><td>B4 ↑</td><td>R2 ↑</td><td>R@5 ↑</td><td>B4 ↑</td><td>R2 ↑</td><td>R@5 ↑</td></tr><tr><td>R2C2-PT</td><td>4.4</td><td>5.2</td><td>63.8</td><td>4.6</td><td>5.4</td><td>64.8</td></tr><tr><td>ELVM-OK</td><td>9.5</td><td>10.7</td><td>-</td><td>9.7</td><td>10.5</td><td>-</td></tr><tr><td>ELVM</td><td>11.9</td><td>13.9</td><td>68.4</td><td>11.8</td><td>13.7</td><td>68.3</td></tr><tr><td>R2C2-PTLarge</td><td>8.7</td><td>10.2</td><td>62.9</td><td>8.9</td><td>10.3</td><td>64.4</td></tr><tr><td>ELVM-OKLarge</td><td>9.6</td><td>10.6</td><td>-</td><td>10.2</td><td>11.2</td><td>-</td></tr><tr><td>ELVMLarge</td><td>12.6</td><td>14.3</td><td>72.6</td><td>12.4</td><td>14.1</td><td>74.3</td></tr></table>
|
| 205 |
+
|
| 206 |
+
Table 9: Effect of model scaling tested on WoW. ELVM scales out to larger parameter size with increase in performance. The subscript Large indicates the model size of 2.7B parameters.
|
| 207 |
+
|
| 208 |
+
increase is predominantly attributable to ELVM.
|
| 209 |
+
|
| 210 |
+
We further examine the performance of query generator by assessing the recall of the ground-truth documents. The results summarized in Table 3 reveal that training with our proposed algorithm leads to an increase in recall for both ELVM- $\beta = 0$ and ELVM compared to R2C2-PT while the latter yields a larger performance gain. This highlights the effectiveness of distilling the posterior distribution of the response generator into the prior distribution associated with the query generator.
|
| 211 |
+
|
| 212 |
+
For QReCC, as shown in Table 4, ELVM surpasses the previous SOTA, QKConv (Cai et al., 2023), the recent previous works (Raposo et al., 2022; Kim and Kim, 2022), and the variants of ELVM including R2C2-PT and ELVM-OK in terms of all metrics. The recall performance on QReCC is included in Table C.
|
| 213 |
+
|
| 214 |
+
# 4.3 Human Evaluation
|
| 215 |
+
|
| 216 |
+
To gauge performance across multiple aspects of the quality of generated responses, human evaluation is performed on the generated responses of ELVM and KnoawedGPT (Zhao et al., 2020) $^{1}$ . Similar to (Rashkin et al., 2021) and (Xu et al., 2023), we assess the response quality in two aspects: Fluency and Relevance. Fluency measures whether the response is understandable, self-consistent without repetition, and proficient. Relevance assesses the extent to which the response aligns with the dialogue context, incorporates pertinent knowledge, and maintains appropriateness. In total, 50 data
|
| 217 |
+
|
| 218 |
+
<table><tr><td rowspan="2">Model</td><td colspan="3">Seen</td><td colspan="3">Unseen</td></tr><tr><td>PPL ↓</td><td>B4 ↑</td><td>R2 ↑</td><td>PPL ↓</td><td>B4 ↑</td><td>R2 ↑</td></tr><tr><td>CoLV</td><td>39.6</td><td>2.9</td><td>7.9</td><td>54.3</td><td>2.1</td><td>6.3</td></tr><tr><td>KnowledGPT</td><td>19.2</td><td>7.2</td><td>7.9</td><td>22.3</td><td>6.0</td><td>6.7</td></tr><tr><td>SPI</td><td>17.1</td><td>7.7</td><td>8.8</td><td>19.1</td><td>7.3</td><td>8.5</td></tr><tr><td>BART</td><td>974</td><td>1.9</td><td>2.6</td><td>973</td><td>1.3</td><td>2.6</td></tr><tr><td>ELVM-from-BART</td><td>15.3</td><td>8.4</td><td>11.1</td><td>16.4</td><td>8.2</td><td>10.9</td></tr><tr><td>ELVM</td><td>14.6</td><td>11.9</td><td>13.9</td><td>18.0</td><td>11.8</td><td>13.7</td></tr></table>
|
| 219 |
+
|
| 220 |
+
Table 10: Performance comparison with BART as our initial model.
|
| 221 |
+
|
| 222 |
+
<table><tr><td rowspan="2">Model</td><td rowspan="2">Train Ret</td><td rowspan="2">Test Ret</td><td colspan="4">WoW Unseen</td></tr><tr><td>PPL ↓</td><td>B4 ↑</td><td>R2 ↑</td><td>F1 ↑</td></tr><tr><td>CoLV</td><td>-</td><td>-</td><td>54.3</td><td>2.1</td><td>6.3</td><td>18.5</td></tr><tr><td>KnowledgeGPT</td><td>-</td><td>-</td><td>22.3</td><td>6.0</td><td>6.7</td><td>20.5</td></tr><tr><td>SPI</td><td>-</td><td>-</td><td>19.1</td><td>7.3</td><td>8.5</td><td>-</td></tr><tr><td>ELVM</td><td>BM25</td><td>BM25</td><td>18.0</td><td>11.8</td><td>13.7</td><td>27.0</td></tr><tr><td>ELVM</td><td>BM25</td><td>Dense</td><td>14.8</td><td>12.6</td><td>15.2</td><td>29.3</td></tr><tr><td>ELVM</td><td>Dense</td><td>Dense</td><td>12.9</td><td>12.8</td><td>15.5</td><td>29.0</td></tr><tr><td>ELVM</td><td>Dense</td><td>BM25</td><td>21.6</td><td>11.8</td><td>13.1</td><td>28.2</td></tr></table>
|
| 223 |
+
|
| 224 |
+
Table 11: Impact of alternating the retriever between training and testing phases on WoW unseen test. Dense indicates utilizing all-MiniLM-L6-v2 retriever as described in Section 4 and Ret is an abbreviation for retriever.
|
| 225 |
+
|
| 226 |
+
samples are randomly selected from WoW tasks where 25 samples are randomly selected from each seen and unseen task. The qualities of the responses are measured by A/B testing on the two aspects. The feedback is collected from 11 human experts. Further details and annotator instructions can be found in Table G. As shown in Table 5, ELVM significantly outperforms KnowledGPT in all aspects especially on the unseen task.
|
| 227 |
+
|
| 228 |
+
# 4.4 Ablation Studies
|
| 229 |
+
|
| 230 |
+
Number of Queries. The size of sampled query set $Q^{s}$ , $m$ , plays a huge role in training of ELVM, as it directly influences the bias of the marginal likelihood of the knowledge-grounded response $y$ . To investigate the impact of $m$ , we gradually increase $m$ from 1 to 8 and measure the performance on WoW while keeping other hyperparameters fixed. As shown in Table 6, we observe a positive correlation where increasing $m$ leads to improved performance. Notably, setting $m = 4$ yields the optimal performance for both seen and unseen tasks.
|
| 231 |
+
|
| 232 |
+
Posterior Distillation Weight. We examine the influence of the posterior distillation loss on ELVM training by adjusting the value of $\beta$ . The experimental results presented in Table 7 reveal that the optimal performance is attained when $\beta = 1$ for both the WoW unseen and QReCC tasks, indicating the effectiveness of incorporating the posterior distillation loss. However, a substantial decline in
|
| 233 |
+
|
| 234 |
+
performance is observed when $\beta$ is increased to 5 or set to 0, particularly in the case of QReCC.
|
| 235 |
+
|
| 236 |
+
Varying the Retriever. We extend our experiments by incorporating the DR in two distinct ways. For WoW, we train and evaluate using all MiniLM-L6-v2 $^2$ DR. In contrast, for QReCC, due to its extensive knowledge pool, we leverage DR solely during evaluation by employing both the BM25 retriever and all-mpnet-base-v2 $^3$ DR in a hybrid manner to retrieve the top- $k$ documents. Concretely, we score each document by summing up the normalized score of each retriever and rerank to obtain top- $k$ documents. Table 8 presents a summary of the performance results of employing DR, demonstrating a successful integration of DR in different settings of ELVM.
|
| 237 |
+
|
| 238 |
+
Scaling Up Model. We investigate the impact of increasing the model size on performance. Starting with the publicly available 2.7B R2C2 pretrained transformer, we follow exactly the same procedure outlined in Section 3.2 to obtain R2C2-PTLarge, ELVM-OKLarge and ELVMLarge. Detailed hyperparameters for training 2.7B model is given in Appendix A. The results presented in Table 9 demonstrate that as the model size increases, there is an improvement in performance across all metrics, supporting the scalability of ELVM.
|
| 239 |
+
|
| 240 |
+
BART as Base. To ensure a fair comparison and further demonstrate the robustness of our algorithm on diverse model scales, we conduct an experiment employing BART (Lewis et al., 2019) base as an initial model and then apply our proposed algorithm on WoW dataset. We choose BART base model since the previous SOTA model (Xu et al., 2023) utilized BART base as their base model. The outcome of this training is termed ELVM-from-BART. As shown in Table 10, the initial BART model shows very poor performances. However, upon training the BART-base with our ELVM algorithm, there is a great improvement in performance across both WoW Seen and Unseen tasks. Importantly, the results surpass the performance benchmarks set by the previous SOTA model (SPI).
|
| 241 |
+
|
| 242 |
+
Retriever Switching To assess the robustness of our algorithm to the retriever mismatch between training and inference phases, we undertake an
|
| 243 |
+
|
| 244 |
+
<table><tr><td>Dialogue Context</td><td rowspan="2" colspan="2">I want to teach my family about investing by buying them a few shares of stock, but I really don't know much about it. The stock market can also be called the equity market or share market. That is where you buy and sell stocks. The stock represent ownership claims on businesses. Oh, so I could tell my kids they own part of a company. That's cool. Maybe I should get them a share in a company they know then, like Apple or XBox or Snapchat? [...] Examples of the latter include shares of private companies which are sold to investors through equity crowdfunding platforms. [...]</td></tr><tr><td>GT knowledge</td></tr><tr><td>GT Response</td><td colspan="2">Yes, it's like the shares of a company are sold to investors through equity crowdfunding platforms.</td></tr><tr><td rowspan="2">KnownGPT</td><td>Query: n/a</td><td>GT knowledge selected: False</td></tr><tr><td colspan="2">Response: yes, you can get shares in a company like apple or xbox. you can also get shares in company like stock market.</td></tr><tr><td rowspan="2">R2C2-PT</td><td>Query: How to teach kids about investing</td><td>GT knowledge selected: False</td></tr><tr><td colspan="2">Response: The stock market can also be called the equity market or share market. That is where you buy and sell stocks. The stock represent ownership claims on businesses.</td></tr><tr><td rowspan="2">ELVM-β = 0</td><td>Query: Investing tips for beginners</td><td>GT knowledge selected: False</td></tr><tr><td colspan="2">Response: That's a good idea. The stock market is a place where you can buy and sell stocks.</td></tr><tr><td rowspan="2">ELVM w/ BM25</td><td>Query: Apple xbox snapshot stock share buy apple stock instagram stock investing</td><td>GT knowledge selected: True</td></tr><tr><td colspan="2">Response: That is a good idea. You can also buy shares of private companies which are sold to investors through equity crowdfunding platforms.</td></tr><tr><td rowspan="2">ELVM w/ DR</td><td>Query: Best stocks for teaching kids about investing</td><td>GT knowledge selected: True</td></tr><tr><td colspan="2">Response: That is a good idea. The latter include shares of private companies which are sold to investors through equity crowdfunding platforms.</td></tr></table>
|
| 245 |
+
|
| 246 |
+
Table 12: Generated samples from WoW unseen task. The first row represents the dialogue context, ground truth (GT) knowledge (highlighted in olive), and GT response. Following rows contain the model generated query, response and whether the GT knowledge is included in top-5 retrieved documents. More samples can be found in Appendix H. We truncate the GT knowledge and display only relevant spans of the GT knowledge to the ground-truth response.
|
| 247 |
+
|
| 248 |
+
additional experiment, of which the results are depicted in Table 11. In this experiment, we train the WoW task utilizing either BM25 or dense retriever (utilizing all-MiniLM-L6-v2 retriever, as detailed Section 4), and subsequently evaluate using either BM25 or dense retriever. The results on the WoW unseen test indicate that utilizing a different retriever during testing doesn't necessitate model re-training, particularly given the superior performance of the dense retriever compared to BM25.
|
| 249 |
+
|
| 250 |
+
# 4.5 Qualitative Analysis
|
| 251 |
+
|
| 252 |
+
For qualitative analysis, we examine the generated samples from KnownGPT, R2C2-PT and other variants of ELVM, whose samples are presented in Table 12. The example reveals that the queries generated by KnownGPT, R2C2-PT and ELVM- $\beta = 0$ fail to retrieve the relevant knowledge effectively while the queries generated by ELVM with BM25 and DR (all-MiniLM-L6-v2) reflects the ability to access the relevant knowledge, leading to improved responses. The results also demonstrate that the query generator trained with our algorithm effectively adapts to the chosen retriever.
|
| 253 |
+
|
| 254 |
+
# 5 Conclusion
|
| 255 |
+
|
| 256 |
+
In this paper, we propose ELVM as an efficient latent variable modeling for knowledge-intensive dialogue generation. In ELVM, the knowledge retrieval is realized by the query generation followed by document retrieval using the off-the-shelf retriever for ease of joint training of both the retriever and the response generator, without the knowledge supervision. Furthermore, the training scheme of ELVM modifies the ELBO for the marginal likelihood to effectively perform the joint training without the use of complex posterior sampling, which also eliminates the discrepancy between the training-time and test-time knowledge samplings. ELVM empirically demonstrates that it significant outperforms over previous latent variable methods with in-depth analysis on diverse dialogue datasets.
|
| 257 |
+
|
| 258 |
+
# Limitations
|
| 259 |
+
|
| 260 |
+
There are a number of limitations and possible directions to future works of ELVM proposed in this paper. First, as more large language models beyond the scale of hundreds of billion parameters are emerging, there are rooms for emergent behaviors in ELVM as the sizes of data and model grow that
|
| 261 |
+
|
| 262 |
+
has not been tested in this paper. Second, instead of the prior sampling that we use, fast posterior sampling such as short-run MCMC (Erik et al., 2019; Xu et al., 2023) is also an alternative candidate. Third, the experiments in this paper retrieve documents from confined set (e.g., Wikipedia) using light retriever such as BM25 and dense retriever. However, real-world applications often rely on the web which has much bigger pool of documents from broader open-domain. In turn, we should consider future extension of this work to utilizing larger public search engines. Last, we may consider alternative yet more effective means of query sampling during training other than a small set of random samples, as the current design. Other possible methods include imposing additional guidance for query sampling or multiple refinements of query sampling and knowledge retrieval for more diverse set.
|
| 263 |
+
|
| 264 |
+
# Ethics Statement
|
| 265 |
+
|
| 266 |
+
This work presents no direct ethical issues. However, there is a possibility that the generated responses may inadvertently contain inadequate, biased, or discriminatory content. We do not introduce new datasets, and all experiments are conducted using publicly available datasets.
|
| 267 |
+
|
| 268 |
+
# Acknowledgments
|
| 269 |
+
|
| 270 |
+
This work was supported by Institute of Information & communications Technology Planning & Evaluation (IITP) grant funded by the Korea government (MSIT)(No. 2019-0-00079, Artificial Intelligence Graduate School Program, Korea University). In addition, this work was also supported by Artificial intelligence industrial convergence cluster development project funded by the Ministry of Science and ICT(MSIT, Korea) Gwangju Metropolitan City. Finally, we would also like to thank Brain Cloud Team at Kakao Brain for their support.
|
| 271 |
+
|
| 272 |
+
# References
|
| 273 |
+
|
| 274 |
+
Leonard Adolphs, Benjamin Boerschinger, Christian Buck, Michelle Chen Huebscher, Massimiliano Ciaramita, Lasse Espeholt, Thomas Hofmann, Yannic Kilcher, Sascha Rothe, Pier Giuseppe Sessa, et al. 2021a. Boosting search engines with interactive agents. arXiv preprint arXiv:2109.00527.
|
| 275 |
+
|
| 276 |
+
Leonard Adolphs, Kurt Shuster, Jack Urbanek, Arthur Szlam, and Jason Weston. 2021b. Reason first, then respond: Modular generation for knowledge-infused dialogue. arXiv preprint arXiv:2111.05204.
|
| 277 |
+
|
| 278 |
+
Raviteja Anantha, Svitlana Vakulenko, Zhucheng Tu, Shayne Longpre, Stephen Pulman, and Srinivas Chappidi. 2021. Open-domain question answering goes conversational via question rewriting. In Proceedings of the 2021 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Online. Association for Computational Linguistics.
|
| 279 |
+
|
| 280 |
+
Tom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah, Jared 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 M. Ziegler, Jeffrey Wu, Clemens Winter, Christopher 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. arXiv preprint arXiv:2005.14165.
|
| 281 |
+
|
| 282 |
+
Mingzhu Cai, Siqi Bao, Xin Tian, Huang He, Fan Wang, and Hua Wu. 2023. Query enhanced knowledge-intensive conversation via unsupervised joint modeling. In ACL.
|
| 283 |
+
|
| 284 |
+
Xiuyi Chen, Fandong Meng, Peng Li, Feilong Chen, Shuang Xu, Bo Xu, and Jie Zhou. 2020. Bridging the gap between prior and posterior knowledge selection for knowledge-grounded dialogue generation. In EMNLP, pages 3426-3437.
|
| 285 |
+
|
| 286 |
+
Zhiyu Chen, Jie Zhao, Anjie Fang, Besnik Fetahu, Oleg Rokhlenko, and Shervin Malmasi. 2022. Reinforced question rewriting for conversational question answering. arXiv preprint arXiv:2210.15777.
|
| 287 |
+
|
| 288 |
+
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 Rao, Parker Barnes, Yi Tay, Noam Shazeer, Vinodkumar Prabhakaran, Emily Reif, Nan Du, Ben 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 Moreira, Rewon Child, Oleksandr Polozov, Katherine Lee, Zongwei Zhou, Xuezhi Wang, Brennan Saeta, Mark Diaz, Orhan First, Michele Catasta, Jason Wei, Kathy Meier-Hellstern, Douglas Eck, Jeff Dean, Slav Petrov, and Noah Fiedel. 2022. Palm: Scaling
|
| 289 |
+
|
| 290 |
+
language modeling with pathways. arXiv preprint arXiv:2204.02311.
|
| 291 |
+
Emily Dinan, Stephen Roller, Kurt Shuster, Angela Fan, Michael Auli, and Jason Weston. 2018. Wizard of wikipedia: Knowledge-powered conversational agents. arXiv preprint arXiv:1811.01241.
|
| 292 |
+
Nijkamp Erik, Mitch Hill, Song-Chun Zhu, and Ying Nian Wu. 2019. Learning non-convergent non-persistent short-run mcmc toward energy-based model. In Advances in Neural Information Processing Systems (NeurIPS).
|
| 293 |
+
Michael Glass, Gaetano Rossiello, Md Faisal Mahbub Chowdhury, Ankita Rajaram Naik, Pengshan Cai, and Alfio Gliozzo. 2022. Re2g: Retrieve, rerank, generate. In NAACL.
|
| 294 |
+
Kelvin Guu, Kenton Lee, Zora Tung, Panupong Pasupat, and Ming-Wei Chang. 2020. Realm: Retrievalaugmented language model pre-training. arXiv preprint arXiv:2002.08909.
|
| 295 |
+
Ari Holtzman, Jan Buys, Li Du, Maxwell Forbes, and Yejin Choi. 2020. The curious case of neural text degeneration.
|
| 296 |
+
Xinxian Huang, Huang He, Siqi Bao, Fan Wang, Hua Wu, and Haifeng Wang. 2021. PLATO-KAG: Unsupervised knowledge-grounded conversation via joint modeling. In Proceedings of the 3rd Workshop on Natural Language Processing for Conversational AI, pages 143-154, Online. Association for Computational Linguistics.
|
| 297 |
+
Gautier Izacard and Edouard Grave. 2020. Leveraging passage retrieval with generative models for open domain question answering. arXiv preprint arXiv:2007.01282.
|
| 298 |
+
Michael I Jordan, Zoubin Ghahramani, Tommi S Jaakkola, and Lawrence K Saul. 1999. An introduction to variational methods for graphical models. Machine learning, 37:183-233.
|
| 299 |
+
Vladimir Karpukhin, Barlas Oğuz, Sewon Min, Patrick Lewis, Ledell Wu, Sergey Edunov, Danqi Chen, and Wen-tau Yih. 2020. Dense passage retrieval for open-domain question answering. arXiv preprint arXiv:2004.04906.
|
| 300 |
+
Byeongchang Kim, Jaewoo Ahn, and Gunhee Kim. 2020. Sequential latent knowledge selection for knowledge-grounded dialogue. In ICLR.
|
| 301 |
+
Sungdong Kim and Gangwoo Kim. 2022. Saving dense retriever from shortcut dependency in conversational search.
|
| 302 |
+
Diederik P Kingma and Max Welling. 2013. Autoencoding variational bayes. arXiv preprint arXiv:1312.6114.
|
| 303 |
+
|
| 304 |
+
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.
|
| 305 |
+
Tom Kwiatkowski, Jennimaria Palomaki, Olivia Redfield, Michael Collins, Ankur Parikh, Chris Alberti, Danielle Epstein, Illia Polosukhin, Jacob Devlin, Kenton Lee, Kristina Toutanova, Llion Jones, Matthew Kelcey, Ming-Wei Chang, Andrew M. Dai, Jakob Uszkoreit, Quoc Le, and Slav Petrov. 2019. Natural questions: A benchmark for question answering research. Transactions of the Association for Computational Linguistics, 7:452-466.
|
| 306 |
+
Mike Lewis, Yinhan Liu, Naman Goyal, Marjan Ghazvininejad, Abdelrahman Mohamed, Omer Levy, Ves Stoyanov, and Luke Zettlemoyer. 2019. Bart: Denoising sequence-to-sequence pre-training for natural language generation, translation, and comprehension.
|
| 307 |
+
Patrick Lewis, Ethan Perez, Aleksandra Piktus, Fabio Petroni, Vladimir Karpukhin, Naman Goyal, Heinrich Kuttler, Mike Lewis, Wen-tau Yih, Tim Rocktäschel, et al. 2020. Retrieval-augmented generation for knowledge-intensive nlp tasks. Advances in Neural Information Processing Systems, 33:9459-9474.
|
| 308 |
+
Linxiao Li, Can Xu, Wei Wu, Yufan Zhao, Xueliang Zhao, and Chongyang Tao. 2021. Zero-resource knowledge-grounded dialogue generation.
|
| 309 |
+
Zekang Li, Cheng Niu, Fandong Meng, Yang Feng, Qian Li, and Jie Zhou. 2019. Incremental transformer with deliberation decoder for document grounded conversations. In Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics, pages 12-21, Florence, Italy. Association for Computational Linguistics.
|
| 310 |
+
Rongzhong Lian, Min Xie, Fan Wang, Jinhua Peng, and Hua Wu. 2019. Learning to select knowledge for response generation in dialog systems. arXiv preprint arXiv:1902.04911.
|
| 311 |
+
Sheng-Chieh Lin, Jheng-Hong Yang, Rodrigo Nogueira, Ming-Feng Tsai, Chuan-Ju Wang, and Jimmy Lin. 2020. Conversational question reformulation via sequence-to-sequence architectures and pretrained language models. arXiv preprint arXiv:2004.01909.
|
| 312 |
+
Shilei Liu, Xiaofeng Zhao, Bochao Li, Feiliang Ren, Longhui Zhang, and Shujuan Yin. 2021. A Three-Stage Learning Framework for Low-Resource Knowledge-Grounded Dialogue Generation. In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing.
|
| 313 |
+
Shuman Liu, Hongshen Chen, Zhaochun Ren, Yang Feng, Qun Liu, and Dawei Yin. 2018. Knowledge diffusion for neural dialogue generation. In Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers),
|
| 314 |
+
|
| 315 |
+
pages 1489-1498, Melbourne, Australia. Association for Computational Linguistics.
|
| 316 |
+
Longxuan Ma, Weinan Zhang, Runxin Sun, and Ting Liu. 2020. A compare aggregate transformer for understanding document-grounded dialogue. arXiv preprint arXiv:2010.00190.
|
| 317 |
+
Nikita Moghe, Siddhartha Arora, Suman Banerjee, and Mitesh M Khapra. 2018. Towards exploiting background knowledge for building conversation systems. arXiv preprint arXiv:1809.08205.
|
| 318 |
+
Tri Nguyen, Mir Rosenberg, Xia Song, Jianfeng Gao, Saurabh Tiwary, Rangan Majumder, and Li Deng. 2017. MS MARCO: A human-generated MAchine reading COprehension dataset.
|
| 319 |
+
Rodrigo Nogueira and Kyunghyun Cho. 2017. Task-oriented query reformulation with reinforcement learning. arXiv preprint arXiv:1704.04572.
|
| 320 |
+
Ashwin Paranjape, Omar Khattab, Christopher Potts, Matei Zaharia, and Christopher D Manning. 2022. Hindsight: Posterior-guided training of retrievers for improved open-ended generation. In ICLR.
|
| 321 |
+
Gonçalo Raposo, Rui Ribeiro, Bruno Martins, and Luísca Coheur. 2022. Question rewriting? assessing its importance for conversational question answering. In Lecture Notes in Computer Science, pages 199-206. Springer International Publishing.
|
| 322 |
+
Hannah Rashkin, David Reitter, Gaurav Singh Tomar, and Dipanjan Das. 2021. Increasing faithfulness in knowledge-grounded dialogue with controllable features. In Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing (Volume 1: Long Papers), pages 704-718, Online. Association for Computational Linguistics.
|
| 323 |
+
Hannah Rashkin, Eric Michael Smith, Margaret Li, and Y-Lan Boureau. 2019. Towards empathetic open-domain conversation models: A new benchmark and dataset. In Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics, pages 5370-5381, Florence, Italy. Association for Computational Linguistics.
|
| 324 |
+
Stephen Robertson, Hugo Zaragoza, et al. 2009. The probabilistic relevance framework: Bm25 and beyond. Foundations and Trends® in Information Retrieval, 3(4):333-389.
|
| 325 |
+
Kurt Shuster, Mojtaba Komeili, Leonard Adolphs, Stephen Roller, Arthur Szlam, and Jason Weston. 2022a. Language models that seek for knowledge: Modular search & generation for dialogue and prompt completion. arXiv preprint arXiv:2203.13224.
|
| 326 |
+
Kurt Shuster, Jing Xu, Mojtaba Komeili, Da Ju, Eric Michael Smith, Stephen Roller, Megan Ung, Moya Chen, Kushal Arora, Joshua Lane, et al. 2022b.
|
| 327 |
+
|
| 328 |
+
Blenderbot 3: a deployed conversational agent that continually learns to responsibly engage. arXiv preprint arXiv:2208.03188.
|
| 329 |
+
Weiwei Sun, Pengjie Ren, and Zhaochun Ren. 2023. Generative knowledge selection for knowledge-grounded dialogues. In Findings of the Association for Computational Linguistics: EACL 2023, pages 2077-2088, Dubrovnik, Croatia. Association for Computational Linguistics.
|
| 330 |
+
Romal Thoppilan, Daniel De Freitas, Jamie Hall, Noam Shazeer, Apoorv Kulshreshtha, Heng-Tze Cheng, Alicia Jin, Taylor Bos, Leslie Baker, Yu Du, YaGuang Li, Hongrae Lee, Huaixiu Steven Zheng, Amin Ghafouri, Marcelo Menegali, Yanping Huang, Maxim Krikun, Dmitry Lepikhin, James Qin, Dehao Chen, Yuanzhong Xu, Zhifeng Chen, Adam Roberts, Maarten Bosma, Yanqi Zhou, Chung-Ching Chang, Igor Krivokon, Will Rusch, Marc Pickett, Kathleen S. Meier-Hellstern, Meredith Ringel Morris, Tulsee Doshi, Renelito Delos Santos, Toju Duke, Johnny Soraker, Ben Zevenbergen, Vinodkumar Prabhakaran, Mark Diaz, Ben Hutchinson, Kristen Olson, Alejandra Molina, Erin Hoffman-John, Josh Lee, Lora Aroyo, Ravi Rajakumar, Alena Butryna, Matthew Lamm, Viktoriya Kuzmina, Joe Fenton, Aaron Cohen, Rachel Bernstein, Ray Kurzweil, Blaise Aguera-Arcas, Claire Cui, Marian Croak, Ed H. Chi, and Quoc Le. 2022. Lamda: Language models for dialog applications. arXiv preprint arXiv:2201.08239, abs/2201.08239.
|
| 331 |
+
David Thulke, Nico Daheim, Christian Dugast, and Hermann Ney. 2021. Efficient retrieval augmented generation from unstructured knowledge for task-oriented dialog. arXiv preprint arXiv:2102.04643.
|
| 332 |
+
Megan Ung, Jing Xu, and Y-Lan Boureau. 2022. SaFeR-Dialogues: Taking feedback gracefully after conversational safety failures. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 6462-6481, Dublin, Ireland. Association for Computational Linguistics.
|
| 333 |
+
Svitlana Vakulenko, Shayne Longpre, Zhucheng Tu, and Raviteja Anantha. 2021. Question rewriting for conversational question answering. In Proceedings of the 14th ACM international conference on web search and data mining, pages 355-363.
|
| 334 |
+
Nikos Voskarides, Dan Li, Pengjie Ren, Evangelos Kanoulas, and Maarten de Rijke. 2020. Query resolution for conversational search with limited supervision. In Proceedings of the 43rd International ACM SIGIR conference on research and development in Information Retrieval, pages 921-930.
|
| 335 |
+
Zeqiu Wu, Yi Luan, Hannah Rashkin, David Reitter, Hannaneh Hajishirzi, Mari Ostendorf, and Gaurav Singh Tomar. 2022. Conqrr: Conversational query rewriting for retrieval with reinforcement learning. In EMNLP.
|
| 336 |
+
|
| 337 |
+
Tianbao Xie, Chen Henry Wu, Peng Shi, Ruiqi Zhong, Torsten Scholak, Michihiro Yasunaga, Chien-Sheng Wu, Ming Zhong, Pengcheng Yin, Sida I Wang, et al. 2022. Unifiedsgk: Unifying and multi-tasking structured knowledge grounding with text-to-text language models. arXiv preprint arXiv:2201.05966.
|
| 338 |
+
|
| 339 |
+
Jing Xu, Arthur Szlam, and Jason Weston. 2022a. 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.
|
| 340 |
+
|
| 341 |
+
Jing Xu, Megan Ung, Mojtaba Komeili, Kushal Arora, Y-Lan Boureau, and Jason Weston. 2022b. Learning new skills after deployment: Improving open-domain internet-driven dialogue with human feedback. arXiv preprint arXiv:2208.03270.
|
| 342 |
+
|
| 343 |
+
Yan Xu, Deqian Kong, Dehong Xu, Ziwei Ji, Bo Pang, Pascale Fung, and Ying Nian Wu. 2023. Diverse and faithful knowledge-grounded dialogue generation via sequential posterior inference.
|
| 344 |
+
|
| 345 |
+
Shi Yu, Jiahua Liu, Jingqin Yang, Chenyan Xiong, Paul Bennett, Jianfeng Gao, and Zhiyuan Liu. 2020. Few-shot generative conversational query rewriting. In Proceedings of the 43rd International ACM SIGIR conference on research and development in Information Retrieval, pages 1933-1936.
|
| 346 |
+
|
| 347 |
+
Haolan Zhan, Lei Shen, Hongshen Chen, and Hainan Zhang. 2021. Colv: A collaborative latent variable model for knowledge-grounded dialogue generation. In EMNLP.
|
| 348 |
+
|
| 349 |
+
Saizheng Zhang, Emily Dinan, Jack Urbanek, Arthur Szlam, Douwe Kiela, and Jason Weston. 2018. Personalizing dialogue agents: I have a dog, do you have pets too? In Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), Melbourne, Australia. Association for Computational Linguistics.
|
| 350 |
+
|
| 351 |
+
Yizhe Zhang, Siqi Sun, Xiang Gao, Yuwei Fang, Chris Brockett, Michel Galley, Jianfeng Gao, and Bill Dolan. 2022. Retgen: A joint framework for retrieval and grounded text generation modeling. In AAAI.
|
| 352 |
+
|
| 353 |
+
Xueliang Zhao, Wei Wu, Can Xu, Chongyang Tao, Dongyan Zhao, and Rui Yan. 2020. Knowledge-grounded dialogue generation with pre-trained language models. In EMNLP.
|
| 354 |
+
|
| 355 |
+
Hao Zhou, Tom Young, Minlie Huang, Haizhou Zhao, Jingfang Xu, and Xiaoyan Zhu. 2018a. Common-sense knowledge aware conversation generation with graph attention. In Proceedings of the 27th International Joint Conference on Artificial Intelligence, IJCAI'18, page 4623-4629. AAAI Press.
|
| 356 |
+
|
| 357 |
+
Kangyan Zhou, Shrimai Prabhumoye, and Alan W Black. 2018b. A dataset for document grounded conversations. In EMNLP.
|
| 358 |
+
|
| 359 |
+
A Training Details
|
| 360 |
+
|
| 361 |
+
<table><tr><td>Parameter</td><td>Value</td></tr><tr><td>Training Steps</td><td>10,000</td></tr><tr><td>Batch Size</td><td>128</td></tr><tr><td>Optimizer</td><td>AdamW</td></tr><tr><td>Learning Rate (LR)</td><td>5e-5</td></tr><tr><td>LR Scheduler</td><td>Cosine</td></tr><tr><td>Adam β1</td><td>0.9</td></tr><tr><td>Adam β2</td><td>0.999</td></tr><tr><td>Adam ε</td><td>1e-8</td></tr><tr><td>Warmup Steps</td><td>1000</td></tr></table>
|
| 362 |
+
|
| 363 |
+
Table 13: Hyperparameters used for stage-1 training. $k$ indicates number of retrieved documents.
|
| 364 |
+
|
| 365 |
+
<table><tr><td></td><td>WoW</td><td>QReCC</td></tr><tr><td>Train Epochs</td><td>3</td><td>1</td></tr><tr><td>Batch Size</td><td>64</td><td>64</td></tr><tr><td>Optimizer</td><td>AdamW</td><td>AdamW</td></tr><tr><td>Learning Rate (LR)</td><td>1e-4</td><td>5e-4</td></tr><tr><td>LR Scheduler</td><td>Cosine</td><td>Cosine</td></tr><tr><td>Adam β1</td><td>0.9</td><td>0.9</td></tr><tr><td>Adam β2</td><td>0.999</td><td>0.999</td></tr><tr><td>Adam ε</td><td>1e-8</td><td>1e-8</td></tr><tr><td>Warmup Steps</td><td>100</td><td>0</td></tr><tr><td>Min Query Length</td><td>1</td><td>1</td></tr><tr><td>Max Query Length</td><td>32</td><td>32</td></tr><tr><td>Top-k</td><td>100</td><td>100</td></tr><tr><td>Top-p</td><td>0.95</td><td>0.5</td></tr><tr><td>Temperature</td><td>1.0</td><td>2.0</td></tr></table>
|
| 366 |
+
|
| 367 |
+
Table 14: Hyperparameters used for training ELVM and its.
|
| 368 |
+
|
| 369 |
+
Table 13 we provide hyperparameters utilized during this training process. We also report hyperparameters used for training ELVM and its variants model (ELVM-OK and ELVM-EM-Like) in Table 14. In addition, during training of QReCC, we adopt a strategy to decrease the knowledge pool size from 54M to 1M. This reduction aims to mitigate latency issues during document retrieval. Concretely, the 1M pool is constructed by initially gathering the ground-truth relevant passage for each instance in the training dataset then adding randomly sampled documents. During the evaluation stage, we utilize the original full-size knowledge pool of 54M passages.
|
| 370 |
+
|
| 371 |
+
# B Upper Bound Performance
|
| 372 |
+
|
| 373 |
+
We believe in the value of understanding the utmost capability in an ideal scenario. To this end, we pursue an upper-bound performance analysis for both the WoW and QReCC tasks. This approach
|
| 374 |
+
|
| 375 |
+
<table><tr><td rowspan="2">Model</td><td colspan="5">Seen</td><td colspan="5">Unseen</td></tr><tr><td>PPL ↓</td><td>B3 ↑</td><td>B4 ↑</td><td>R1 ↑</td><td>R2 ↑</td><td>PPL ↓</td><td>B3 ↑</td><td>B4 ↑</td><td>R1 ↑</td><td>R2 ↑</td></tr><tr><td>ELVM</td><td>14.6</td><td>14.7</td><td>11.9</td><td>29.3</td><td>13.9</td><td>18.0</td><td>14.5</td><td>11.8</td><td>29.2</td><td>13.7</td></tr><tr><td>ELVM-w-GT-Doc</td><td>9.7</td><td>22.1</td><td>18.5</td><td>40.9</td><td>23.9</td><td>10.5</td><td>21.5</td><td>17.9</td><td>40.7</td><td>23.3</td></tr></table>
|
| 376 |
+
|
| 377 |
+
Table 15: Performance comparison in WoW in the presence of ground-truth document during evaluation (ELVM-w-GT-Doc).
|
| 378 |
+
|
| 379 |
+
<table><tr><td>Model</td><td>F1 ↑</td><td>EM ↑</td></tr><tr><td>Q Rewriting (Raposo et al., 2022)</td><td>18.9</td><td>1.0</td></tr><tr><td>DPR-IHN (Kim and Kim, 2022)</td><td>30.4</td><td>4.7</td></tr><tr><td>QKConv (Cai et al., 2023)</td><td>33.5</td><td>5.9</td></tr><tr><td>ELVM</td><td>36.5</td><td>6.2</td></tr><tr><td>ELVM-w-GT-Doc</td><td>55.4</td><td>16.2</td></tr></table>
|
| 380 |
+
|
| 381 |
+
involves training our response generator under the assumption that the model has access to the ground-truth document during both training and evaluation. The performance metrics of this specific setup are designated as "ELVM-w-GT-Doc" in Table 15 and Table 16. From both tables, it's evident that there still remains a margin for improvement for both tasks.
|
| 382 |
+
|
| 383 |
+
# C Document Recall Performance
|
| 384 |
+
|
| 385 |
+
Table 16: Performance comparison in QReCC in the presence of ground-truth document during evaluation (ELVM-w-GT-Doc).
|
| 386 |
+
|
| 387 |
+
<table><tr><td>Query from</td><td>R@1</td><td>R@5</td><td>R@10</td></tr><tr><td>Dialogue History</td><td>33.4</td><td>58.6</td><td>68.7</td></tr><tr><td>Last Utterance</td><td>25.5</td><td>50.8</td><td>62.6</td></tr><tr><td>R2C2-PT</td><td>17.4</td><td>33.0</td><td>39.5</td></tr><tr><td>ELVM-β=0</td><td>30.6</td><td>55.8</td><td>65.7</td></tr><tr><td>ELVM</td><td>35.2</td><td>59.9</td><td>68.6</td></tr><tr><td>ELVMDR</td><td>37.5</td><td>65.6</td><td>75.1</td></tr></table>
|
| 388 |
+
|
| 389 |
+
We report the document recall performance on QReCC, including different types of queries, as show in Table 17. Our proposed model, ELVM, surpasses both its variants and non-model generated queries such as using dialogue context as a query. The document recall performance on QReCC, encompassing various query types, is presented in Table 17. Our proposed ELVM model outperforms its variants as well as non-model generated queries, including the use of dialogue context as a query. Moreover, incorporating the dense retriever for reranking documents $(\mathrm{ELVM}_{\mathrm{DR}})$ leads to further improvements in recall.
|
| 390 |
+
|
| 391 |
+
Table 17: Query performance comparison in QReCC for different types of queries.
|
| 392 |
+
|
| 393 |
+
<table><tr><td rowspan="2">Model</td><td colspan="4">Seen</td><td colspan="4">Unseen</td></tr><tr><td>B4 ↑</td><td>R2 ↑</td><td>R@5 ↑</td><td>R@10 ↑</td><td>B4 ↑</td><td>R2 ↑</td><td>R@5 ↑</td><td>R@10 ↑</td></tr><tr><td>k=5</td><td>11.9</td><td>13.9</td><td>68.4</td><td>80.3</td><td>11.8</td><td>13.7</td><td>68.3</td><td>80.3</td></tr><tr><td>k=5Bulk</td><td>9.4</td><td>10.9</td><td>62.7</td><td>73.9</td><td>8.2</td><td>9.5</td><td>47.2</td><td>61.9</td></tr><tr><td>k=10</td><td>10.3</td><td>12.2</td><td>64.8</td><td>76.4</td><td>10.6</td><td>12.7</td><td>64.8</td><td>76.9</td></tr><tr><td>k=10Bulk</td><td>10.2</td><td>12.2</td><td>62.1</td><td>74.1</td><td>9.0</td><td>10.5</td><td>47.2</td><td>61.6</td></tr></table>
|
| 394 |
+
|
| 395 |
+
Table 18: Effect of increasing the document pool size to 1000 on the performance of ELVM. As before, $k$ indicates the number of retrieved documents used during train and inference.
|
| 396 |
+
|
| 397 |
+
# D Knowledge Pool Scaling
|
| 398 |
+
|
| 399 |
+
In order to create a more realistic and challenging retrieval scenario, we expand the original setting of the WoW dataset by increasing the number of relevant documents per instance to 1000. This modification better reflects real-world information retrieval scenarios where a vast array of both relevant and irrelevant documents are typically encountered. We construct this extended dataset by randomly augmenting $1000 - K$ documents from the WoW dataset to the document pool for each instance, where $K$ represents the number of annotated relevant documents for each instance. On average, $K \approx 20$ for each instance in WoW dataset.
|
| 400 |
+
|
| 401 |
+
Results in Table 18 show performances of ELVM models with different number of retrieved documents, $k$ , and knowledge pool size, where models with increased knowledge pool has tailing keyword Bulk at then end of their names. Despite the increase in complexity of the retrieval task, ELVM demonstrates robust performance, with only a marginal drop in metrics compared to the original setting. Furthermore, it is important to highlight that even under these more difficult conditions with 1000 relevant documents, ELVM still outperforms SPI by a significant margin.
|
| 402 |
+
|
| 403 |
+
# E Effect of Parameter Sharing
|
| 404 |
+
|
| 405 |
+
In our ELVM training, parameters are shared between the query and response generators. To probe this design choice, we decoupled these parameters, resulting in the ELVM-Decouple configuration, as detailed in Table 19. Upon evaluation on WoW's test seen and unseen tasks, ELVM-
|
| 406 |
+
|
| 407 |
+
<table><tr><td rowspan="2">Model</td><td colspan="3">Seen</td><td colspan="3">Unseen</td></tr><tr><td>PPL ↓</td><td>B4 ↑</td><td>R2 ↑</td><td>PPL ↓</td><td>B4 ↑</td><td>R2 ↑</td></tr><tr><td>ELVM</td><td>14.6</td><td>11.9</td><td>13.9</td><td>18.0</td><td>11.8</td><td>13.7</td></tr><tr><td>ELVM-Decouple</td><td>16.2</td><td>12.6</td><td>14.5</td><td>21.6</td><td>12.2</td><td>14.0</td></tr></table>
|
| 408 |
+
|
| 409 |
+
Table 19: Performance comparison on the WoW dataset using the ELVM algorithm. ELVM denotes training with shared parameters between query and response generators, while ELVM-Decouple denotes a non-shared parameter approach.
|
| 410 |
+
|
| 411 |
+
<table><tr><td rowspan="2">Model</td><td colspan="2">Seen</td><td colspan="2">Unseen</td></tr><tr><td>F1 ↑</td><td>KF1 ↑</td><td>F1 ↑</td><td>KF1 ↑</td></tr><tr><td>CoLV</td><td>20.3</td><td>18.2</td><td>18.5</td><td>17.5</td></tr><tr><td>KnownGPT</td><td>22.0</td><td>23.8</td><td>20.5</td><td>22.1</td></tr><tr><td>SPI</td><td>-</td><td>-</td><td>-</td><td>-</td></tr><tr><td>R2C2-PT</td><td>15.4</td><td>20.5</td><td>15.7</td><td>22.3</td></tr><tr><td>ELVM-OK</td><td>23.0</td><td>33.0</td><td>22.9</td><td>33.0</td></tr><tr><td>ELVM-EM-Like</td><td>24.5</td><td>33.2</td><td>23.5</td><td>33.5</td></tr><tr><td>ELVM</td><td>27.2</td><td>40.8</td><td>27.0</td><td>40.3</td></tr></table>
|
| 412 |
+
|
| 413 |
+
Table 20: F1 and KF1 scores for ELVM and baseline models.
|
| 414 |
+
|
| 415 |
+
Decouple showed a slight edge over the standard ELVM. Nevertheless, the benefits of shared parameters—particularly regarding computational efficiency and knowledge transfer during training and inference—cannot be understated.
|
| 416 |
+
|
| 417 |
+
# F Additional Metrics
|
| 418 |
+
|
| 419 |
+
We report the evaluation of our models on the WoW task using both F1 and knowledge F1 (KF1) metrics in Table 20. For reference, values pertaining to previous models are derived from Sun et al. (2023).
|
| 420 |
+
|
| 421 |
+
# G Human Evaluation
|
| 422 |
+
|
| 423 |
+
For a comprehensive evaluation, we conduct the human evaluation between ELVM and KnownGPT on seen and unseen tasks in WoW (Dinan et al., 2018). We randomly select 50 samples (25 samples per task), and each sample is evaluated by 11 different human experts. In specific, the two generated responses from each model in the same context are assigned to the annotators. For A/B testing, we give one score to the model if its response is received an equally good or better than the other one. Figure 2 shows the annotator instructions for the two aspects.
|
| 424 |
+
|
| 425 |
+
# H Generated Samples
|
| 426 |
+
|
| 427 |
+
Generated samples for the WoW test unseen are presented in Table 21 and Table 22. Similarly, Table 23 and Table 24 showcase the generated samples for the QReCC test.
|
| 428 |
+
|
| 429 |
+
<table><tr><td>Dialogue Context</td><td rowspan="3">Hey, do you like cardigans? I like the modern version without no buttons and hangs open by design. Me too. My fav is the waterfall style but it's going out of fashion now I think [...] Cardigan (sweater) By contrast, a pullover does not open in front but must be "pulled over" the head to be worn. [...] But the pullover does not open in front but must be "pulled over" the head to be worn.</td></tr><tr><td>GT knowledge</td></tr><tr><td>GT Response</td></tr><tr><td>KnownGPT</td><td>Query: n/a GT knowledge selected: False Response: i like the hand-knitted version. it's more comfortable. i like mine made of a cardigan.</td></tr><tr><td>R2C2-PT</td><td>Query: fallen fashion GT knowledge selected: False Response: I'm sorry, I didn't mean to offend you.</td></tr><tr><td>ELVM-β = 0</td><td>Query: fallen fashion cardigans GT knowledge selected: True Response: I like the one that is tied is instead considered a robe.</td></tr><tr><td>ELVM w/ BM25</td><td>Query: fallen waterfall cardigan style fallout cardigans GT knowledge selected: True Response: I like the pullover style that does not open in front but must be "pulled over" the head to be worn.</td></tr><tr><td>ELVM w/ DR</td><td>Query: fallen waterfall cardigan GT knowledge selected: True Response: I like the pullover that does not open in front but must be "pulled over" the head to be worn.</td></tr><tr><td>Dialogue Context</td><td>[...] Was she diagnosed as a child? It is much easier to diagnose children, since the symptoms begin occurring early in life</td></tr><tr><td>GT knowledge</td><td rowspan="2">Yes it started when she was 6 years old. She was 23 when I met her she was already recieving treatment [...] These fellowships include pediatric neurosurgery, trauma/neurocritical care, functional and stereotactic surgery, surgical neuro-oncology, radiosurgery, neurovascular surgery, skull-base surgery, peripheral nerve and spine surgery. [...] My first fellowship was in pediatric neurosurgery. It is great that she is doing better.</td></tr><tr><td>GT Response</td></tr><tr><td>KnownGPT</td><td>Query: n/a GT knowledge selected: False Response: did she cry during the periods of depression? she was crying, a negative outlook on life, and poor eye contact with others.</td></tr><tr><td>R2C2-PT</td><td>Query: types of epilepsy GT knowledge selected: False Response: I am glad to hear she is receiving treatment. Dementia is such a devastating disease.</td></tr><tr><td>ELVM-β = 0</td><td>Query: types of epilepsy GT knowledge selected: False Response: I am glad she is receiving treatment. Dementia has a significant effect on a person's caregivers.</td></tr><tr><td>ELVM w/ BM25</td><td>Query: neurosurgery epilepsy neurocognitive neurosciences GT knowledge selected: True Response: I am glad to hear that she is receiving treatment. Neurosurgery is a branch of medicine that specializes in the treatment of epilepsy.</td></tr><tr><td>ELVM w/ DR</td><td>Query: neurosurgery treatment for epilepsy GT knowledge selected: True Response: Did she undergo a fellowship? Many neurosurgeons pursue additional training in the form of a fellowship, after residency or in some cases, as a senior resident.</td></tr></table>
|
| 430 |
+
|
| 431 |
+
Table 21: Generated samples from WoW test unseen. We truncate the ground-truth knowledge and display only relevant spans of the ground-truth knowledge to the ground-truth response.
|
| 432 |
+
|
| 433 |
+
<table><tr><td>Dialogue Context</td><td rowspan="3">Do you know anything about the band called Insane Clown Posse?
|
| 434 |
+
Insane Clown Posse (ICP) is an American hip hop duo composed of Violent J, and Shaggy 2 Dope. [...]
|
| 435 |
+
That's quite a lot of albums, what else do you know about ICP?
|
| 436 |
+
[...] The duo founded the independent record label Psychopathic Records with Alex Abbiss as manager, and produced and starred in the feature films "Big Money Hustlas" and "Big Money Rustlas". [...]
|
| 437 |
+
The duo founded the independent record label Psychopathic Records with Alex Abbiss as manager, and produced and starred in the feature films "Big Money Hustlas</td></tr><tr><td>GT knowledge</td></tr><tr><td>GT Response</td></tr><tr><td rowspan="2">KnownedGPT</td><td>Response: Query: n/a
|
| 438 |
+
GT knowledge selected: False</td></tr><tr><td>Response: the duo has earned two platinum and five gold albums. they have also earned two platinum and five gold albums</td></tr><tr><td rowspan="2">R2C2-PT</td><td>Query: ICP wiki
|
| 439 |
+
GT knowledge selected: False</td></tr><tr><td>Response: The duo has earned two platinum ,with 5 golden album</td></tr><tr><td rowspan="2">ELVM-β = 0</td><td>Query: ICP facts
|
| 440 |
+
GT knowledge selected: False</td></tr><tr><td>Response: The group has been around for a long time .</td></tr><tr><td rowspan="2">ELVM w/ BM25</td><td>Query: Insane clown posse ICP facts
|
| 441 |
+
GT knowledge selected: True</td></tr><tr><td>Response: The duo founded the independent record label Psychopathic Records with Alex Abbiss as manager, and produced and starred in the feature films "Big Money Hustlas"</td></tr><tr><td rowspan="2">ELVM w/ DR</td><td>Query: Insane clown posse facts
|
| 442 |
+
GT knowledge selected: True</td></tr><tr><td>Response: The duo founded the independent record label Psychopathic Records with Alex Abbiss as manager, and produced and starred in the feature films "Big Money Hustlas"</td></tr><tr><td>Dialogue Context</td><td>[...] Athletes normally eat meat in large quantities.
|
| 443 |
+
Exactly. I have also added much meat eating as part of my special diet. They are rich in protein. Especially, red meat</td></tr><tr><td>GT knowledge</td><td>[...] In nutritional science, on the other hand, red meat is defined as any meat that has more myoglobin than white meat, white meat being defined as non-dark meat from chicken (excluding leg or thigh), or fish. [...]</td></tr><tr><td>GT Response</td><td>Red meat is divined as any meat that has myoglobin than white</td></tr><tr><td rowspan="2">KnownedGPT</td><td>Query: n/a
|
| 444 |
+
GT knowledge selected: False</td></tr><tr><td>Response: red meat is classified as white meat. i think it's interesting that only flesh from mammals or fowl is classified as red.</td></tr><tr><td rowspan="2">R2C2-PT</td><td>Query: protein powder
|
| 445 |
+
GT knowledge selected: False</td></tr><tr><td>Response: Athletes normally eat meat in large quantities.</td></tr><tr><td rowspan="2">ELVM-β = 0</td><td>Query: red meat protein
|
| 446 |
+
GT knowledge selected: True</td></tr><tr><td>Response: In nutritional science, red meat is defined as any meat that has more myoglobin than white meat.</td></tr><tr><td rowspan="2">ELVM w/ BM25</td><td>Query: red meat protein
|
| 447 |
+
GT knowledge selected: True</td></tr><tr><td>Response: In nutritional science, red meat is defined as any meat that has more myoglobin than white meat.</td></tr><tr><td rowspan="2">ELVM w/ DR</td><td>Query: red meat protein
|
| 448 |
+
GT knowledge selected: True</td></tr><tr><td>Response: Red meat is defined as any meat that has more myoglobin than white meat.</td></tr></table>
|
| 449 |
+
|
| 450 |
+
Table 22: Generated samples from WoW test unseen. We truncate the ground-truth knowledge and display only relevant spans of the ground-truth knowledge to the ground-truth response.
|
| 451 |
+
|
| 452 |
+
<table><tr><td>Dialogue Context</td><td rowspan="2">When did Mark Spitz' swimming career end? Following the Munich Olympics [...] What else did Mark Spitz do besides Speedo swimsuit ads after his swimming career? [...] However, as the memory of his feats receded, so did his endorsement and promotional deals. As his endorsements faded, he started a successful real-estate company in Beverly Hills. He bought a Ferrari and says he made [...]</td></tr><tr><td>GT knowledge</td></tr><tr><td>GT Response</td><td>Mark Spitz started a successful real-estate company in Beverly Hills</td></tr><tr><td>R2C2-PT</td><td>Query: What did mark spitz do after his olympic career?
|
| 453 |
+
GT knowledge selected: False
|
| 454 |
+
Response: In 1999 Spitz ranked No. 33 on ESPN SportsCentury 50 Greatest Athletes, the only aquatic athlete to make the list.</td></tr><tr><td>ELVM-β = 0</td><td>Query: Mark Spitz Speedo Swimsuit ads after speedo swimming career ends mark spitz m Munich olympics 2012
|
| 455 |
+
GT knowledge selected: False
|
| 456 |
+
Response: Spitz did Schick razor commercials and Speedo swimsuit ads</td></tr><tr><td>ELVM w/ BM25</td><td>Query: Spitz endorsements after swimming career ends
|
| 457 |
+
GT knowledge selected: True
|
| 458 |
+
Response: Mark Spitz started a successful real-estate company in Beverly Hills.</td></tr><tr><td>Dialogue Context</td><td>What was the New Scheme?
|
| 459 |
+
The 'new scheme' and the 'new dedication' respectively, initially seen as a [...]
|
| 460 |
+
[...]
|
| 461 |
+
Did Ahmadi followers of the New Scheme act as missionaries?
|
| 462 |
+
As part of this Mahmood Ahmad appointed 5 men to survey the Punjab [...]
|
| 463 |
+
Did Mirza Basheer-ud-Din Mahmood Ahmad use missionaries to try to spread the New Scheme to foreign countries?</td></tr><tr><td>GT knowledge</td><td>[...] In time the scheme produced a vast amount of literature in defence of Islam in general and the Ahmadiyya beliefs in particular. The funds were also spent on the training and dispatching of Ahmadiyya missionaries outside the Indian sub-continent and their sustenance. As part of this Mahmood Ahmad appointed [...]</td></tr><tr><td>GT Response</td><td>The funds were also spent on the training and dispatching of Ahmadiyya missionaries outside the Indian sub-continent and their sustenance.</td></tr><tr><td>R2C2-PT</td><td>Query: Mirza Basher-ud Din Mahmood Ahmad missionaries
|
| 464 |
+
GT knowledge selected: False
|
| 465 |
+
Response: Mirza Basheer-ud-Din Mahmood Ahmad used missionaries to try to spread the New Scheme to foreign countries.</td></tr><tr><td>ELVM-β = 0</td><td>Query: New Scheme Mahmud Ahmad missionaries to spread New Scheme in foreign countries
|
| 466 |
+
GT knowledge selected: True
|
| 467 |
+
Response: Yes, I have. I have experienced heartache, also known as loss of a loved one.</td></tr><tr><td>ELVM w/ BM25</td><td>Query: New scheme missionaries used to spread Ahmadiyyah teachings in foreign countries
|
| 468 |
+
GT knowledge selected: True
|
| 469 |
+
Response: The funds were also spent on the training and dispatching of Ahmadiyya missionaries outside the Indian sub-continent and their sustenance.</td></tr></table>
|
| 470 |
+
|
| 471 |
+
Table 23: Generated samples from QReCC test. We truncate the ground-truth knowledge and display only relevant spans of the ground-truth knowledge to the ground-truth response.
|
| 472 |
+
|
| 473 |
+
<table><tr><td>Dialogue Context</td><td rowspan="3">How did Stephen Sondheim collaborate with James Lapine?
|
| 474 |
+
Stephen Sondheim found a new collaborator in [...]What did Stephen Sondheim and James Lapine do together in the 1980s?
|
| 475 |
+
Their first collaboration was Sunday in the Park with George (1984).Was Stephen Sondheim and James Lapine's first collaboration a success?
|
| 476 |
+
Stephen Sondheim and James Lapine won the 1985 Pulitzer Prize [...]Did Stephen Sondheim and James Lapine collaborate in other projects, besides Sunday in the Park with George?[...] last work together was the rhapsodic Passion (1994).Was Stephen Sondheim and James Lapine's last work a success?
|
| 477 |
+
Sondheim and Lapine's last work together was the rhapsodic Passion (1994), adapted from Ettore Scola's Italian film Passione D'Amore. With a run of 280 performances, Passion was the shortest-running show to win a Tony Award for Best Musical.[46] Later work Assassins opened [...]With a run of 280 performances, Passion was the shortest-running show to win a Tony Award for Best Musical.</td></tr><tr><td>GT knowledge</td></tr><tr><td>GT Response</td></tr><tr><td>R2C2-PT</td><td>Query: Was the play "rhapsodic passion" a success or a failure?
|
| 478 |
+
GT knowledge selected: TrueResponse: Sondheim and Lapine's last work together was the rhapsodic Passion (1994).</td></tr><tr><td>ELVM-β = 0</td><td>Query: Stephen Sonds and Lapine Rhapsodic passion1994 Stephen sondheim, James lapine plays 12 dreams off-broadway p Pulitzer prize for play Sunday in Park.GT knowledge selected: FalseResponse: Stephen Sondheim and James Lapine's last work together was the rhapsodic Passion (1994).</td></tr><tr><td>ELVM w/ BM25</td><td>Query: Sondheim last work was the Rhapsodic passion (1994) Pulitzer prize won for Drama. Lapine wrote the play Twelve Dreams.GT knowledge selected: TrueResponse: With a run of 280 performances, Passion was the shortest-running show to win a Tony Award for Best Musical.</td></tr><tr><td>Dialogue Context</td><td rowspan="3">Did Frank Hague commit any questionable acts?
|
| 479 |
+
Yes, he took kickbacks in cash, and relied on two ordinances of dubious [...]Did Frank Hague do anything illegal?
|
| 480 |
+
He passed an unconstitutional ordinance that gave himself as commissioner the power to [...]Did anyone attempt to prosecute Frank Hague?[...] Hague was able to stay in power despite a nearly constant effort to turn him out of office from 1921 onward. [38] He was also able to avoid prosecution despite numerous federal and state investigations in part due to the fact he took most of his kickbacks in cash. [...]Yes, but he was also able to avoid prosecution despite numerous federal and state investigations in part due to the fact he took most of his kickbacks in cash.</td></tr><tr><td>GT knowledge</td></tr><tr><td>GT Response</td></tr><tr><td>R2C2-PT</td><td>Query: Frank Hague prosecutionGT knowledge selected: FalseResponse: No, no one tried to prosecute Frank Hague.</td></tr><tr><td>ELVM-β = 0</td><td>Query: Frank Hague ordinance ordinance frank Hague charges Frank Hague Hague for flouting constitutionality ordinancesGT knowledge selected: FalseResponse: Hague was found guilty of contempt of court for ignoring the subpoena. He was fined $100 and stripped of his duties as Deputy Sheriff.</td></tr><tr><td>ELVM w/ BM25</td><td>Query: Hague prosecution attempt failed after Hague passed unconstitutional ordinance. no Hague was prosecuted.GT knowledge selected: TrueResponse: Hague was able to stay in power despite a nearly constant effort to turn him out of office from 1921 onward. He was also able to avoid prosecution despite numerous federal and state investigations in part due to the fact he took most of his kickbacks in cash.</td></tr></table>
|
| 481 |
+
|
| 482 |
+
Table 24: Generated samples from QReCC test. We truncate the ground-truth knowledge and display only relevant spans of the ground-truth knowledge to the ground-truth response.
|
| 483 |
+
|
| 484 |
+
# Human Evaluation Annotation Tool
|
| 485 |
+
|
| 486 |
+
# Components of each example
|
| 487 |
+
|
| 488 |
+
Each example may include one of more of the following
|
| 489 |
+
|
| 490 |
+
- History: topic related to the conversation and the dialogue history. Examples may not contain 'history'
|
| 491 |
+
- Input text: Utterance of the opponent
|
| 492 |
+
- Ground truth response of the example, given as a reference. The annotator may use the reference in decision.
|
| 493 |
+
- Two responses from different models.
|
| 494 |
+
|
| 495 |
+
# Annotation Standards
|
| 496 |
+
|
| 497 |
+
The annotator marks which model of the given two is better on three different categories: Fluency and Relevance. The deifintion of each category is
|
| 498 |
+
|
| 499 |
+
- Fluency measures the correctness, completeness, and semantic consistency of the response.
|
| 500 |
+
- Relevance measures the degree of relevance of the knowledge and response to the history.
|
| 501 |
+
|
| 502 |
+
# History:
|
| 503 |
+
|
| 504 |
+
# Singing
|
| 505 |
+
|
| 506 |
+
I love to sing. Some of my favorite genres to sing are blues, pop, and rock. Do you like to sing?
|
| 507 |
+
|
| 508 |
+
Yes very much so. I love older artists like Ray Charles and Billie Holiday.
|
| 509 |
+
|
| 510 |
+
Oh yeah I love Billie Holiday. She had no formal music training but her vocal delivery made up for it.
|
| 511 |
+
|
| 512 |
+
# Input Text:
|
| 513 |
+
|
| 514 |
+
I've been getting into the strokes as of late. Do you like them?
|
| 515 |
+
|
| 516 |
+
# Reference:
|
| 517 |
+
|
| 518 |
+
I used to listen to The Strokes a lot back in high school. Their debut album was added to Rolling Stones 500 greatest albums of all time at number 199.
|
| 519 |
+
|
| 520 |
+
# Model A Response:
|
| 521 |
+
|
| 522 |
+
Yes I do like them. I like all kinds of music, but I'm not a big fan of the Strokes.
|
| 523 |
+
|
| 524 |
+
# Model B Response:
|
| 525 |
+
|
| 526 |
+
I do like them. I also like to wear my Strokes shirt during May because it is national stroke awareness month.
|
| 527 |
+
|
| 528 |
+
# Annotation
|
| 529 |
+
|
| 530 |
+
# Fluency
|
| 531 |
+
|
| 532 |
+
Both responses are fluent.
|
| 533 |
+
$\bigcirc$ Model A response is more fluent.
|
| 534 |
+
Model B response is more fluent.
|
| 535 |
+
$\bigcirc$ Neither response is fluent.
|
| 536 |
+
|
| 537 |
+
Previous
|
| 538 |
+
|
| 539 |
+
# Relevance
|
| 540 |
+
|
| 541 |
+
Both knowledges and responses are relevant
|
| 542 |
+
Model A response is more relevant.
|
| 543 |
+
Model B response is more relevant.
|
| 544 |
+
$\bigcirc$ Neither is relevant.
|
| 545 |
+
|
| 546 |
+
Next
|
| 547 |
+
|
| 548 |
+
Made with Streamlit
|
| 549 |
+
|
| 550 |
+
Figure 2: Screenshot of the annotation tool.
|
2023/Efficient Latent Variable Modeling for Knowledge-Grounded Dialogue Generation/images.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3d44808006c2cf66432f286aa1421d32ec14a5bb2fd73ec6c10161b29c88e17f
|
| 3 |
+
size 2038494
|
2023/Efficient Latent Variable Modeling for Knowledge-Grounded Dialogue Generation/layout.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2023/Efficient Long-Range Transformers_ You Need to Attend More, but Not Necessarily at Every Layer/b2cbac77-9108-42c4-9fd3-211395757830_content_list.json
ADDED
|
@@ -0,0 +1,1718 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"type": "text",
|
| 4 |
+
"text": "Efficient Long-Range Transformers: You Need to Attend More, but Not Necessarily at Every Layer",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
171,
|
| 8 |
+
89,
|
| 9 |
+
831,
|
| 10 |
+
130
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Qingru Zhang†, Dhananjay Ram, Cole Hawkins, Sheng Zha, Tuo Zhao",
|
| 17 |
+
"bbox": [
|
| 18 |
+
171,
|
| 19 |
+
148,
|
| 20 |
+
835,
|
| 21 |
+
165
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "$^{\\dagger}$ Georgia Institute of Technology $\\diamond$ Amazon Web Service",
|
| 28 |
+
"bbox": [
|
| 29 |
+
268,
|
| 30 |
+
166,
|
| 31 |
+
734,
|
| 32 |
+
181
|
| 33 |
+
],
|
| 34 |
+
"page_idx": 0
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"type": "text",
|
| 38 |
+
"text": "{qingru.zhang,tourzhao}@gatech.edu",
|
| 39 |
+
"bbox": [
|
| 40 |
+
327,
|
| 41 |
+
184,
|
| 42 |
+
673,
|
| 43 |
+
199
|
| 44 |
+
],
|
| 45 |
+
"page_idx": 0
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"type": "text",
|
| 49 |
+
"text": "{radhna,colehawk,zhasheng}@amazon.com",
|
| 50 |
+
"bbox": [
|
| 51 |
+
314,
|
| 52 |
+
200,
|
| 53 |
+
689,
|
| 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": "Pretrained transformer models have demonstrated remarkable performance across various natural language processing tasks. These models leverage the attention mechanism to capture long- and short-range dependencies in the sequence. However, the (full) attention mechanism incurs high computational cost – quadratic in the sequence length, which is not affordable in tasks with long sequences, e.g., inputs with 8k tokens. Although sparse attention can be used to improve computational efficiency, as suggested in existing work, it has limited modeling capacity and often fails to capture complicated dependencies in long sequences. To tackle this challenge, we propose MASFormer, an easy-to-implement transformer variant with Mixed Attention Spans. Specifically, MASFormer is equipped with full attention to capture long-range dependencies, but only at a small number of layers. For the remaining layers, MASformer only employs sparse attention to capture short-range dependencies. Our experiments on natural language modeling and generation tasks show that a decoder-only MASFormer model of 1.3B parameters can achieve competitive performance to vanilla transformers with full attention while significantly reducing computational cost (up to $75\\%$ ). Additionally, we investigate the effectiveness of continual training with long sequence data and how sequence length impacts downstream generation performance, which may be of independent interest.",
|
| 73 |
+
"bbox": [
|
| 74 |
+
144,
|
| 75 |
+
274,
|
| 76 |
+
460,
|
| 77 |
+
743
|
| 78 |
+
],
|
| 79 |
+
"page_idx": 0
|
| 80 |
+
},
|
| 81 |
+
{
|
| 82 |
+
"type": "text",
|
| 83 |
+
"text": "1 Introduction",
|
| 84 |
+
"text_level": 1,
|
| 85 |
+
"bbox": [
|
| 86 |
+
114,
|
| 87 |
+
751,
|
| 88 |
+
260,
|
| 89 |
+
766
|
| 90 |
+
],
|
| 91 |
+
"page_idx": 0
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"type": "text",
|
| 95 |
+
"text": "Pre-trained transformer models have manifested superior performance in various natural language processing tasks such as natural language modeling (NLM) (Dai et al., 2019; Radford et al., 2019), natural language generation (NLG) (Brown et al., 2020) and natural language understanding (NU) (Devlin et al., 2019; Liu et al., 2019; He et al., 2021b).",
|
| 96 |
+
"bbox": [
|
| 97 |
+
112,
|
| 98 |
+
775,
|
| 99 |
+
490,
|
| 100 |
+
888
|
| 101 |
+
],
|
| 102 |
+
"page_idx": 0
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"type": "text",
|
| 106 |
+
"text": "These models leverage the attention mechanism (Vaswani et al., 2017) to compute the dependency score for each pair of tokens in an input sequence.",
|
| 107 |
+
"bbox": [
|
| 108 |
+
507,
|
| 109 |
+
253,
|
| 110 |
+
884,
|
| 111 |
+
300
|
| 112 |
+
],
|
| 113 |
+
"page_idx": 0
|
| 114 |
+
},
|
| 115 |
+
{
|
| 116 |
+
"type": "text",
|
| 117 |
+
"text": "Some practical tasks require these transformer models to handle long-sequence inputs like 8k tokens. For example, chatbot systems gather long-term contexts of user interactions to generate informative texts (Roller et al., 2021). Summarization for news, government reports, and academic papers request models to take inputs of long sequences to generate comprehensive summaries (Shaham et al., 2022), otherwise models often miss important information. Note that typical transformer models apply full attention to capture token dependencies pair-wise. It leads to a quadratic time and space complexity w.r.t. input length. However, such a complexity is prohibitive for long sequences. In particular, it incurs massive memory consumption during the back propagation. For example, a transformer model with 250M parameters consumes over 80G GPU memory when sequence length is 8k (Zuo et al., 2022).",
|
| 118 |
+
"bbox": [
|
| 119 |
+
507,
|
| 120 |
+
304,
|
| 121 |
+
885,
|
| 122 |
+
609
|
| 123 |
+
],
|
| 124 |
+
"page_idx": 0
|
| 125 |
+
},
|
| 126 |
+
{
|
| 127 |
+
"type": "text",
|
| 128 |
+
"text": "To address this scalability issue, various approaches have been proposed to reduce the complexity. One approach is sparse attention, which restricts each token to attend a subset of tokens based on predefined sparsity patterns (Beltagy et al., 2020; Zaheer et al., 2020; Ainslie et al., 2020). For instance, block sparse attention (Kitaev et al., 2020; Ma et al., 2023) divides the input sequence into several blocks, and only intra-block attention is performed. Besides, sliding-window attention (Beltagy et al., 2020; Zaheer et al., 2020; Ainslie et al., 2020) allows each token to attend to its neighboring tokens within a sliding window. These methods, though reducing the complexity of full attention, cannot sufficiently capture long-range dependencies. Other variants, such as kernel approximation (Peng et al., 2021) and low-rank approximation (Wang et al., 2020; Chen et al., 2021) methods, share the similar spirit and drawbacks. To com",
|
| 129 |
+
"bbox": [
|
| 130 |
+
507,
|
| 131 |
+
613,
|
| 132 |
+
885,
|
| 133 |
+
919
|
| 134 |
+
],
|
| 135 |
+
"page_idx": 0
|
| 136 |
+
},
|
| 137 |
+
{
|
| 138 |
+
"type": "page_footnote",
|
| 139 |
+
"text": "* Work was done during Qingru Zhang's internship at Amazon Web Service.",
|
| 140 |
+
"bbox": [
|
| 141 |
+
112,
|
| 142 |
+
892,
|
| 143 |
+
487,
|
| 144 |
+
917
|
| 145 |
+
],
|
| 146 |
+
"page_idx": 0
|
| 147 |
+
},
|
| 148 |
+
{
|
| 149 |
+
"type": "page_number",
|
| 150 |
+
"text": "2775",
|
| 151 |
+
"bbox": [
|
| 152 |
+
478,
|
| 153 |
+
927,
|
| 154 |
+
521,
|
| 155 |
+
940
|
| 156 |
+
],
|
| 157 |
+
"page_idx": 0
|
| 158 |
+
},
|
| 159 |
+
{
|
| 160 |
+
"type": "footer",
|
| 161 |
+
"text": "Findings of the Association for Computational Linguistics: EMNLP 2023, pages 2775-2786 December 6-10, 2023 ©2023 Association for Computational Linguistics",
|
| 162 |
+
"bbox": [
|
| 163 |
+
216,
|
| 164 |
+
945,
|
| 165 |
+
779,
|
| 166 |
+
972
|
| 167 |
+
],
|
| 168 |
+
"page_idx": 0
|
| 169 |
+
},
|
| 170 |
+
{
|
| 171 |
+
"type": "text",
|
| 172 |
+
"text": "pensate for the lack of long-range dependencies, LongT5 (Guo et al., 2021) introduces global tokens that are obtained by average pooling on every block of tokens (Ainslie et al., 2020). However, the block pooling operations can weaken the signal of crucial tokens and prevent the long-range dependencies from being detected.",
|
| 173 |
+
"bbox": [
|
| 174 |
+
112,
|
| 175 |
+
84,
|
| 176 |
+
487,
|
| 177 |
+
197
|
| 178 |
+
],
|
| 179 |
+
"page_idx": 1
|
| 180 |
+
},
|
| 181 |
+
{
|
| 182 |
+
"type": "text",
|
| 183 |
+
"text": "In addition to these methods, state space models (SSMs) prespecify global dependency patterns to capture the long-range dependencies only (Gu et al., 2020, 2021; Li et al., 2022; Zuo et al., 2022; Ma et al., 2023; Smith et al., 2023). These models can be regarded as linear recurrent neural networks with specifically designed fixed weights. As tailored for global dependencies, SSMs fail to effectively capture local dependencies. In order to combine both local and global dependencies, SPADE (Zuo et al., 2022) and MEGA (Ma et al., 2023) augment SSM layers into transformer layers equipped with local attention. However, state space methods require sophisticated implementation, and often encounter computational instability during the back propagation, especially when scaling up to large model size (Gupta et al., 2022). SPADE and MEGA hence inherit these drawbacks.",
|
| 184 |
+
"bbox": [
|
| 185 |
+
115,
|
| 186 |
+
204,
|
| 187 |
+
489,
|
| 188 |
+
492
|
| 189 |
+
],
|
| 190 |
+
"page_idx": 1
|
| 191 |
+
},
|
| 192 |
+
{
|
| 193 |
+
"type": "text",
|
| 194 |
+
"text": "Note that the aforementioned methods apply same attention mechanism for every layer. We challenge this conventional wisdom and propose a transformer variant - MASFormer (Mixed Attention Span Transformer). MASFormer utilizes full attention only at a subset of layers whereas employs sparse attention at the remaining layers. Our design is motivated by the phenomenon - that most contexts in NLP data display a great deal of locality of reference (Zaheer et al., 2020; Beltagy et al., 2020). That is, most of information about a token can be derived from its neighboring tokens. In contrast, long-range dependencies among tokens are sparse and infrequent. Consider an academic paper as an example. Within a paragraph, there exist numerous short-term dependencies. Neighboring tokens are closely connected to convey meaningful semantics. Across paragraphs, there can be a small number of long-range dependencies. For example, tokens associated to the primary theme of the paper exhibit rare and weak dependencies across a long span. Since long-range dependencies occur much less frequently, a few layers of full attention are adequate to capture them. In stark contrast, short-term dependencies are more frequent, necessitating local attention in the majority of layers to fully extract",
|
| 195 |
+
"bbox": [
|
| 196 |
+
115,
|
| 197 |
+
501,
|
| 198 |
+
489,
|
| 199 |
+
917
|
| 200 |
+
],
|
| 201 |
+
"page_idx": 1
|
| 202 |
+
},
|
| 203 |
+
{
|
| 204 |
+
"type": "text",
|
| 205 |
+
"text": "these signals.",
|
| 206 |
+
"bbox": [
|
| 207 |
+
509,
|
| 208 |
+
84,
|
| 209 |
+
611,
|
| 210 |
+
99
|
| 211 |
+
],
|
| 212 |
+
"page_idx": 1
|
| 213 |
+
},
|
| 214 |
+
{
|
| 215 |
+
"type": "text",
|
| 216 |
+
"text": "To demonstrate the effectiveness of MASFormer, We conduct experiments on natural language modeling (ArXiv and PubMed Cohen et al. (2018)) and natural language generation (ArXiv, Cohen et al. (2018) and SCROLLS, Shaham et al. (2022)) tasks. Specifically, we compare the performance of MASFormer to other attention methods using a pretrained GPT-2 model (Radford et al., 2019) of 1.3 billion parameters. Our empirical results demonstrate that MASFormer consistently outperforms baseline methods across different attention cost (i.e. the total number of computed attention scores). In particular, MASFormer can achieve comparable performance to full attention while significantly reducing the computational cost. For example, with $27\\%$ of its attention cost, MASFormer achieves a close R2 score as full attention on QMSUM dataset.",
|
| 217 |
+
"bbox": [
|
| 218 |
+
507,
|
| 219 |
+
107,
|
| 220 |
+
884,
|
| 221 |
+
381
|
| 222 |
+
],
|
| 223 |
+
"page_idx": 1
|
| 224 |
+
},
|
| 225 |
+
{
|
| 226 |
+
"type": "text",
|
| 227 |
+
"text": "We also make additional discoveries with MASFormer, which are of independent interest. Firstly, we investigate the effectiveness of continual training for long sequence modeling. Many publicly available models are pre-trained with sequences shorter than 2048, and often fail to perform well on longer sequences (e.g. 8k/16k tokens). To bridge the gap, we explore the option of continual training to adapt these models to long sequences, thereby avoiding pre-training from the scratch. We discuss its effectiveness with MASFormer in Section 4.3. Secondly, we showcase that increasing sequence length can yield more performance gains on downstream tasks than NLM tasks evaluated by perplexity. We are aware of the recent findings by Sun et al. (2021) that increasing context length exhibits limited impact on NLM perplexity. Nevertheless, when applying MASFormer to downstream tasks like long-context summarization, we find that model performance benefits significantly from extending context length. Such a difference arises from the fact that predicting the next tokens in NLM primarily relies on locality of reference. Capturing infrequent long-range tokens can improve perplexity but not significantly. Therefore, we emphasize the necessity to evaluate model performance on downstream tasks that require long-range dependencies. Furthermore, our empirical evidence suggests that increasing the length can improve the performance only if models possess sufficient capability to handle additional long-range information. Local attention, as a counterexample, often fails to capture long-range signals and hence",
|
| 228 |
+
"bbox": [
|
| 229 |
+
507,
|
| 230 |
+
385,
|
| 231 |
+
884,
|
| 232 |
+
917
|
| 233 |
+
],
|
| 234 |
+
"page_idx": 1
|
| 235 |
+
},
|
| 236 |
+
{
|
| 237 |
+
"type": "page_number",
|
| 238 |
+
"text": "2776",
|
| 239 |
+
"bbox": [
|
| 240 |
+
480,
|
| 241 |
+
928,
|
| 242 |
+
519,
|
| 243 |
+
940
|
| 244 |
+
],
|
| 245 |
+
"page_idx": 1
|
| 246 |
+
},
|
| 247 |
+
{
|
| 248 |
+
"type": "text",
|
| 249 |
+
"text": "benefits much less from long sequences.",
|
| 250 |
+
"bbox": [
|
| 251 |
+
112,
|
| 252 |
+
84,
|
| 253 |
+
413,
|
| 254 |
+
99
|
| 255 |
+
],
|
| 256 |
+
"page_idx": 2
|
| 257 |
+
},
|
| 258 |
+
{
|
| 259 |
+
"type": "text",
|
| 260 |
+
"text": "2 Background",
|
| 261 |
+
"text_level": 1,
|
| 262 |
+
"bbox": [
|
| 263 |
+
112,
|
| 264 |
+
112,
|
| 265 |
+
255,
|
| 266 |
+
128
|
| 267 |
+
],
|
| 268 |
+
"page_idx": 2
|
| 269 |
+
},
|
| 270 |
+
{
|
| 271 |
+
"type": "text",
|
| 272 |
+
"text": "2.1 Pretrained Language Models",
|
| 273 |
+
"text_level": 1,
|
| 274 |
+
"bbox": [
|
| 275 |
+
112,
|
| 276 |
+
137,
|
| 277 |
+
389,
|
| 278 |
+
154
|
| 279 |
+
],
|
| 280 |
+
"page_idx": 2
|
| 281 |
+
},
|
| 282 |
+
{
|
| 283 |
+
"type": "text",
|
| 284 |
+
"text": "Pre-trained transformer models (Devlin et al., 2019; Liu et al., 2019; Brown et al., 2020; Dosovitskiy et al., 2020; He et al., 2021b,a) have manifested superior performance in various NLP tasks. These models are often pre-trained on enormous amounts of unlabeled data in a unsupervised/self-supervised manner such that they can learn rich semantic knowledge. By further fine-tuning these pre-trained models, we can effectively transfer such knowledge to benefit downstream tasks (Zhang et al., 2023).",
|
| 285 |
+
"bbox": [
|
| 286 |
+
112,
|
| 287 |
+
159,
|
| 288 |
+
487,
|
| 289 |
+
319
|
| 290 |
+
],
|
| 291 |
+
"page_idx": 2
|
| 292 |
+
},
|
| 293 |
+
{
|
| 294 |
+
"type": "text",
|
| 295 |
+
"text": "Existing research on long-range transformers commonly requires pre-training the proposed models from scratch to accommodate new architectures and long inputs (Guo et al., 2021; Zuo et al., 2022). However, the significant training overheads raise a barrier for the widespread utilization of these methods across different language models. Motivated by this, we explore the possibility of leveraging existing pre-trained models and adapting them to long sequences though continual training.",
|
| 296 |
+
"bbox": [
|
| 297 |
+
112,
|
| 298 |
+
321,
|
| 299 |
+
487,
|
| 300 |
+
481
|
| 301 |
+
],
|
| 302 |
+
"page_idx": 2
|
| 303 |
+
},
|
| 304 |
+
{
|
| 305 |
+
"type": "text",
|
| 306 |
+
"text": "2.2 Attention Mechanism",
|
| 307 |
+
"text_level": 1,
|
| 308 |
+
"bbox": [
|
| 309 |
+
112,
|
| 310 |
+
493,
|
| 311 |
+
331,
|
| 312 |
+
507
|
| 313 |
+
],
|
| 314 |
+
"page_idx": 2
|
| 315 |
+
},
|
| 316 |
+
{
|
| 317 |
+
"type": "text",
|
| 318 |
+
"text": "Suppose the input to the layer is $X\\in \\mathbb{R}^{n\\times d}$ , where $n$ is the input sequence length and $d$ is embedding dimension, then self-attention mechanism outputs",
|
| 319 |
+
"bbox": [
|
| 320 |
+
112,
|
| 321 |
+
513,
|
| 322 |
+
485,
|
| 323 |
+
561
|
| 324 |
+
],
|
| 325 |
+
"page_idx": 2
|
| 326 |
+
},
|
| 327 |
+
{
|
| 328 |
+
"type": "equation",
|
| 329 |
+
"text": "\n$$\n\\operatorname {A t t n} (X) = \\operatorname {s o f t m a x} \\left(\\frac {Q K ^ {\\top}}{\\sqrt {d}}\\right) V \\tag {1}\n$$\n",
|
| 330 |
+
"text_format": "latex",
|
| 331 |
+
"bbox": [
|
| 332 |
+
173,
|
| 333 |
+
569,
|
| 334 |
+
487,
|
| 335 |
+
606
|
| 336 |
+
],
|
| 337 |
+
"page_idx": 2
|
| 338 |
+
},
|
| 339 |
+
{
|
| 340 |
+
"type": "text",
|
| 341 |
+
"text": "where $Q = XW_{q}, K = XW_{k}, V = VW_{v}$ and $W_{q}, W_{k}, W_{v}$ are learnable projection weights. Such full attention can simultaneously evaluate the alignment between any pair of tokens in the sequence. Specifically, denote the attention score $A = \\text{softmax}(QK^{\\top} / \\sqrt{d})$ , then $A_{ij}$ captures the alignment between tokens $i$ and $j$ . A typical transformer model applies the full attention at every layer. Denote the number of layers as $L$ . Then its attention cost is $Ln^{2}$ .",
|
| 342 |
+
"bbox": [
|
| 343 |
+
112,
|
| 344 |
+
612,
|
| 345 |
+
487,
|
| 346 |
+
772
|
| 347 |
+
],
|
| 348 |
+
"page_idx": 2
|
| 349 |
+
},
|
| 350 |
+
{
|
| 351 |
+
"type": "text",
|
| 352 |
+
"text": "Sparse attention variants are introduced to mitigate the computational cost of full attention. Figures 1a and 1b illustrates the attention patterns of block sparse attention and sliding-window attention. For instance, block sparse attention divides tokens into blocks of size $b$ and performs intrablock attention only, resulting in an attention cost of $bn$ . Sliding-window attention allows each token to attend its left/right neighboring tokens within a",
|
| 353 |
+
"bbox": [
|
| 354 |
+
112,
|
| 355 |
+
774,
|
| 356 |
+
487,
|
| 357 |
+
917
|
| 358 |
+
],
|
| 359 |
+
"page_idx": 2
|
| 360 |
+
},
|
| 361 |
+
{
|
| 362 |
+
"type": "text",
|
| 363 |
+
"text": "local window of size $w$ . In most of cases, block sparse attention exhibits similar performance as sliding-window attention (Zuo et al., 2022).",
|
| 364 |
+
"bbox": [
|
| 365 |
+
507,
|
| 366 |
+
84,
|
| 367 |
+
880,
|
| 368 |
+
131
|
| 369 |
+
],
|
| 370 |
+
"page_idx": 2
|
| 371 |
+
},
|
| 372 |
+
{
|
| 373 |
+
"type": "text",
|
| 374 |
+
"text": "3 Our Approach",
|
| 375 |
+
"text_level": 1,
|
| 376 |
+
"bbox": [
|
| 377 |
+
507,
|
| 378 |
+
140,
|
| 379 |
+
672,
|
| 380 |
+
156
|
| 381 |
+
],
|
| 382 |
+
"page_idx": 2
|
| 383 |
+
},
|
| 384 |
+
{
|
| 385 |
+
"type": "text",
|
| 386 |
+
"text": "We present our method - MASFormer, a long-range transformer variant that mixes different attention spans across layers.",
|
| 387 |
+
"bbox": [
|
| 388 |
+
507,
|
| 389 |
+
162,
|
| 390 |
+
882,
|
| 391 |
+
210
|
| 392 |
+
],
|
| 393 |
+
"page_idx": 2
|
| 394 |
+
},
|
| 395 |
+
{
|
| 396 |
+
"type": "text",
|
| 397 |
+
"text": "3.1 MASFormer: Mixed Attention Span",
|
| 398 |
+
"text_level": 1,
|
| 399 |
+
"bbox": [
|
| 400 |
+
507,
|
| 401 |
+
216,
|
| 402 |
+
840,
|
| 403 |
+
233
|
| 404 |
+
],
|
| 405 |
+
"page_idx": 2
|
| 406 |
+
},
|
| 407 |
+
{
|
| 408 |
+
"type": "text",
|
| 409 |
+
"text": "MASFormer leverages full attention exclusively at a subset of transformer layers, whereas it employs block sparse attention at the remaining layers. The structure of MASFormer is illustrated in Figure 1c. We choose full attention to encode long-range information due to the following reasons: (i) full attention exhibits superior capability to capture long-range dependencies compared to sparse attention; (ii) full attention does not require sophisticated implementation and hence is computationally stable compared to SSMs (Zuo et al., 2022; Gupta et al., 2022); (iii) full attention is compatible with existing pre-trained transformer models, enabling us to conduct continual training which we elaborate in Section 3.2. To mitigate the computational cost, we restrict the number of layers using full attention.",
|
| 410 |
+
"bbox": [
|
| 411 |
+
505,
|
| 412 |
+
237,
|
| 413 |
+
882,
|
| 414 |
+
494
|
| 415 |
+
],
|
| 416 |
+
"page_idx": 2
|
| 417 |
+
},
|
| 418 |
+
{
|
| 419 |
+
"type": "text",
|
| 420 |
+
"text": "MASFormer is motivated by empirical investigations on performance comparison between models that apply the same attention span at every layer. Figure 2 presents the performance of block sparse attention and full attention on language modeling and summarization tasks. We find that, given long-sequence inputs, sparse attention is often insufficient to capture long-range dependencies beyond its attention span. As a result, it shows unsatisfactory performance. To remedy it, one can either increase attention span or switch to full attention to improve model capability of capturing sophisticated dependencies. Though improving model performance, it incurs high computational cost.",
|
| 421 |
+
"bbox": [
|
| 422 |
+
507,
|
| 423 |
+
495,
|
| 424 |
+
882,
|
| 425 |
+
719
|
| 426 |
+
],
|
| 427 |
+
"page_idx": 2
|
| 428 |
+
},
|
| 429 |
+
{
|
| 430 |
+
"type": "text",
|
| 431 |
+
"text": "Confronting such a trade-off between computational cost and model performance, we challenge the common practice - that applies the same attention span at every layer. MASFormer provides an alternative solution. Instead of increasing attention span evenly, MASFormer allocates a large portion of attention computations to a subset of $l$ layers by equipping them with full attention. Specifically, equipping bottom layers with full attention can yield the best performance as suggested by our empirical analysis in Section 4.3<sup>1</sup>. At the remain-",
|
| 432 |
+
"bbox": [
|
| 433 |
+
507,
|
| 434 |
+
720,
|
| 435 |
+
882,
|
| 436 |
+
896
|
| 437 |
+
],
|
| 438 |
+
"page_idx": 2
|
| 439 |
+
},
|
| 440 |
+
{
|
| 441 |
+
"type": "page_footnote",
|
| 442 |
+
"text": "1Please see Section 4.3 for detailed explanations",
|
| 443 |
+
"bbox": [
|
| 444 |
+
529,
|
| 445 |
+
904,
|
| 446 |
+
826,
|
| 447 |
+
917
|
| 448 |
+
],
|
| 449 |
+
"page_idx": 2
|
| 450 |
+
},
|
| 451 |
+
{
|
| 452 |
+
"type": "page_number",
|
| 453 |
+
"text": "2777",
|
| 454 |
+
"bbox": [
|
| 455 |
+
480,
|
| 456 |
+
927,
|
| 457 |
+
519,
|
| 458 |
+
940
|
| 459 |
+
],
|
| 460 |
+
"page_idx": 2
|
| 461 |
+
},
|
| 462 |
+
{
|
| 463 |
+
"type": "image",
|
| 464 |
+
"img_path": "images/b14e862e159937c0a8d0aba62f3dcf18dc7295a58d45f99d7a2c8abb6f7d2625.jpg",
|
| 465 |
+
"image_caption": [
|
| 466 |
+
"(a) Block Attention"
|
| 467 |
+
],
|
| 468 |
+
"image_footnote": [],
|
| 469 |
+
"bbox": [
|
| 470 |
+
117,
|
| 471 |
+
112,
|
| 472 |
+
255,
|
| 473 |
+
211
|
| 474 |
+
],
|
| 475 |
+
"page_idx": 3
|
| 476 |
+
},
|
| 477 |
+
{
|
| 478 |
+
"type": "image",
|
| 479 |
+
"img_path": "images/e385a1ca1c74eb15b1f237f6586b185c1f36c971d83bf972e19739324ca47bb6.jpg",
|
| 480 |
+
"image_caption": [
|
| 481 |
+
"(b) Window Attention"
|
| 482 |
+
],
|
| 483 |
+
"image_footnote": [],
|
| 484 |
+
"bbox": [
|
| 485 |
+
265,
|
| 486 |
+
112,
|
| 487 |
+
406,
|
| 488 |
+
211
|
| 489 |
+
],
|
| 490 |
+
"page_idx": 3
|
| 491 |
+
},
|
| 492 |
+
{
|
| 493 |
+
"type": "image",
|
| 494 |
+
"img_path": "images/e07b6b4719286115e818c89a0512ae2593a10b031ab89993a43a5e73348c59ee.jpg",
|
| 495 |
+
"image_caption": [
|
| 496 |
+
"(c) MASFormer"
|
| 497 |
+
],
|
| 498 |
+
"image_footnote": [],
|
| 499 |
+
"bbox": [
|
| 500 |
+
423,
|
| 501 |
+
85,
|
| 502 |
+
880,
|
| 503 |
+
233
|
| 504 |
+
],
|
| 505 |
+
"page_idx": 3
|
| 506 |
+
},
|
| 507 |
+
{
|
| 508 |
+
"type": "image",
|
| 509 |
+
"img_path": "images/cdc86d8d963cb9cd155602b3ad9c20143a6c51bbf63bd87fc5c7884176cbac8c.jpg",
|
| 510 |
+
"image_caption": [
|
| 511 |
+
"Figure 1: Illustration of attention patterns of (a) block sparse attention with block size $b = 3$ ; (b) sliding-window attention with window size $w = 1$ (on each side); (c) MASFormer that integrates full and sparse attention.",
|
| 512 |
+
"(a) NLM for ArXiv",
|
| 513 |
+
"Figure 2: (a,b): We evaluate the perplexity of a pre-trained GPT-2 model with block attention of differnet block size after continual training. (c,d): We fine-tune a GPT-2 model with block attention and compare the summarization performance on ArXiv and GovReport under different block size. Here the input length $n$ is 8192."
|
| 514 |
+
],
|
| 515 |
+
"image_footnote": [],
|
| 516 |
+
"bbox": [
|
| 517 |
+
124,
|
| 518 |
+
300,
|
| 519 |
+
297,
|
| 520 |
+
394
|
| 521 |
+
],
|
| 522 |
+
"page_idx": 3
|
| 523 |
+
},
|
| 524 |
+
{
|
| 525 |
+
"type": "image",
|
| 526 |
+
"img_path": "images/d9ac5c06d068f9a7c4a4b26666d22d047f491027c96e6ad0643d82ebc258f6e7.jpg",
|
| 527 |
+
"image_caption": [
|
| 528 |
+
"(b) NLM for PubMed"
|
| 529 |
+
],
|
| 530 |
+
"image_footnote": [],
|
| 531 |
+
"bbox": [
|
| 532 |
+
317,
|
| 533 |
+
300,
|
| 534 |
+
489,
|
| 535 |
+
394
|
| 536 |
+
],
|
| 537 |
+
"page_idx": 3
|
| 538 |
+
},
|
| 539 |
+
{
|
| 540 |
+
"type": "image",
|
| 541 |
+
"img_path": "images/3d353730f2b9c2e78c69ce82fb754ba1bc1c9b583bdf4740544689399a05475b.jpg",
|
| 542 |
+
"image_caption": [
|
| 543 |
+
"(c) Sum. for ArXiv"
|
| 544 |
+
],
|
| 545 |
+
"image_footnote": [],
|
| 546 |
+
"bbox": [
|
| 547 |
+
507,
|
| 548 |
+
300,
|
| 549 |
+
680,
|
| 550 |
+
394
|
| 551 |
+
],
|
| 552 |
+
"page_idx": 3
|
| 553 |
+
},
|
| 554 |
+
{
|
| 555 |
+
"type": "image",
|
| 556 |
+
"img_path": "images/76170219267e1227827b845500c7f6484232a8edfc99eafc43cbac1dbf902c3d.jpg",
|
| 557 |
+
"image_caption": [
|
| 558 |
+
"(d) Sum. for GovReport"
|
| 559 |
+
],
|
| 560 |
+
"image_footnote": [],
|
| 561 |
+
"bbox": [
|
| 562 |
+
700,
|
| 563 |
+
300,
|
| 564 |
+
870,
|
| 565 |
+
394
|
| 566 |
+
],
|
| 567 |
+
"page_idx": 3
|
| 568 |
+
},
|
| 569 |
+
{
|
| 570 |
+
"type": "text",
|
| 571 |
+
"text": "ing layers, MASFormer utilizes block attention of small size $m$ , resulting in a controlled attention cost of $(L - l)mn + ln^2$ . As mentioned in Section 1, such a design is inspired by the phenomenon that most of contexts in NLP data exhibit a great deal of locality of reference. Long-range dependencies, in contrast, are less frequent. Therefore, it is not necessary to enhance attention span at every layer. Instead, a few layers of full attention are sufficient to capture infrequent long-range signals. The majority of layers can maintain small attention spans to adequately extract local dependencies and control the attention cost.",
|
| 572 |
+
"bbox": [
|
| 573 |
+
112,
|
| 574 |
+
466,
|
| 575 |
+
487,
|
| 576 |
+
673
|
| 577 |
+
],
|
| 578 |
+
"page_idx": 3
|
| 579 |
+
},
|
| 580 |
+
{
|
| 581 |
+
"type": "text",
|
| 582 |
+
"text": "Our empirical results demonstrate that, with the same attention cost, MASFormer significantly outperforms sparse attention. Remarkably, MASFormer can achieve comparable performance to full attention while substantially reducing computational cost. Therefore, by mixing different attention spans, MASFormer strikes a better balance between computational cost and model performance.",
|
| 583 |
+
"bbox": [
|
| 584 |
+
112,
|
| 585 |
+
676,
|
| 586 |
+
487,
|
| 587 |
+
804
|
| 588 |
+
],
|
| 589 |
+
"page_idx": 3
|
| 590 |
+
},
|
| 591 |
+
{
|
| 592 |
+
"type": "text",
|
| 593 |
+
"text": "Moreover, MASFormer offers additional implementation advantages. As using the same attention function, MASFormer is easy to implement and compatible with existing pre-trained models. We can build MASFormer upon pre-trained transformers by changing their attention patterns, which does not involve modification on model architectures",
|
| 594 |
+
"bbox": [
|
| 595 |
+
112,
|
| 596 |
+
806,
|
| 597 |
+
487,
|
| 598 |
+
917
|
| 599 |
+
],
|
| 600 |
+
"page_idx": 3
|
| 601 |
+
},
|
| 602 |
+
{
|
| 603 |
+
"type": "text",
|
| 604 |
+
"text": "and pre-trained weights. Meanwhile, acceleration packages, such as FlashAttention (Dao et al., 2022) and xFormers (Lefaudeauux et al., 2022), are applicable to further accelerate the computation of block attention and full attention in MASFormer.",
|
| 605 |
+
"bbox": [
|
| 606 |
+
507,
|
| 607 |
+
466,
|
| 608 |
+
882,
|
| 609 |
+
544
|
| 610 |
+
],
|
| 611 |
+
"page_idx": 3
|
| 612 |
+
},
|
| 613 |
+
{
|
| 614 |
+
"type": "text",
|
| 615 |
+
"text": "3.2 Continual Training with Long Sequences",
|
| 616 |
+
"text_level": 1,
|
| 617 |
+
"bbox": [
|
| 618 |
+
507,
|
| 619 |
+
558,
|
| 620 |
+
877,
|
| 621 |
+
574
|
| 622 |
+
],
|
| 623 |
+
"page_idx": 3
|
| 624 |
+
},
|
| 625 |
+
{
|
| 626 |
+
"type": "text",
|
| 627 |
+
"text": "As mentioned, MASFormer can be implemented upon majority of pre-trained transformers by modifying their attention patterns. However, most of publicly available models are pre-trained with sequences shorter than 2048, and often exhibit subpar performance on longer sequences such as $8\\mathrm{k} / 16\\mathrm{k}$ . To bridge this gap, we propose the continual training to adapt the revised model on long sequences and new attention pattern. As such, we can preserve existing pre-trained knowledge and circumvent the intensive overheads of pre-training from scratch. In particular, we first modify the attention pattern of the target model as proposed by MASFormer. If the pre-trained model uses absolute position embeddings, we duplicate them to accommodate long sequences. Subsequently, we provide the revised model with long sequences (e.g., 8k) from pretraining corpus like PILE (Gao et al., 2020). Then we conduct continual pre-training using casual language modeling (CLM) objective. We discuss the effectiveness of continual training in Section 4.3.",
|
| 628 |
+
"bbox": [
|
| 629 |
+
505,
|
| 630 |
+
581,
|
| 631 |
+
882,
|
| 632 |
+
917
|
| 633 |
+
],
|
| 634 |
+
"page_idx": 3
|
| 635 |
+
},
|
| 636 |
+
{
|
| 637 |
+
"type": "page_number",
|
| 638 |
+
"text": "2778",
|
| 639 |
+
"bbox": [
|
| 640 |
+
480,
|
| 641 |
+
927,
|
| 642 |
+
519,
|
| 643 |
+
940
|
| 644 |
+
],
|
| 645 |
+
"page_idx": 3
|
| 646 |
+
},
|
| 647 |
+
{
|
| 648 |
+
"type": "text",
|
| 649 |
+
"text": "4 Experiments",
|
| 650 |
+
"text_level": 1,
|
| 651 |
+
"bbox": [
|
| 652 |
+
112,
|
| 653 |
+
84,
|
| 654 |
+
258,
|
| 655 |
+
99
|
| 656 |
+
],
|
| 657 |
+
"page_idx": 4
|
| 658 |
+
},
|
| 659 |
+
{
|
| 660 |
+
"type": "text",
|
| 661 |
+
"text": "We evaluate the effectiveness and efficiency of MASFormer on natural language modeling (ArXiv and PubMed, Cohan et al. (2018)), natural language generation (ArXiv Cohan et al. (2018), QMSUM and GovReport Shaham et al. (2022)). We choose the GPT-3 XL model architecture (Brown et al., 2020) as our base model, which consists of 1.3 billion parameters and 24 layers and is pre-trained on PIL (Gao et al., 2020) for 300 billion tokens. GPT is a general purpose model that can be applied to many tasks instead of tailoring them for specific tasks. As such, it makes easy to control experiments and showcase the difference among various methods.",
|
| 662 |
+
"bbox": [
|
| 663 |
+
112,
|
| 664 |
+
105,
|
| 665 |
+
489,
|
| 666 |
+
330
|
| 667 |
+
],
|
| 668 |
+
"page_idx": 4
|
| 669 |
+
},
|
| 670 |
+
{
|
| 671 |
+
"type": "text",
|
| 672 |
+
"text": "Implementation Details. Our base model uses absolute positional embeddings with maximum length 1024. To accommodate longer inputs, we duplicate its positional embeddings to have the maximum length as 8192 such that the model can handle sequences containing up to 8192 tokens. Then, we implement different attention methods by modifying the attention pattern of the base model. We implement all the models with PyTorch (Paszke et al., 2019). All the experiments are conducted on NVIDIA A100 GPUs.",
|
| 673 |
+
"bbox": [
|
| 674 |
+
112,
|
| 675 |
+
332,
|
| 676 |
+
489,
|
| 677 |
+
508
|
| 678 |
+
],
|
| 679 |
+
"page_idx": 4
|
| 680 |
+
},
|
| 681 |
+
{
|
| 682 |
+
"type": "text",
|
| 683 |
+
"text": "Continual Training Details. After changing the attention pattern, we conduct the continual training for MASFormer and baseline methods on PILE corpus (Gao et al., 2020) to adapt the revised models to new attention patterns and long-sequence inputs. We leverage the casual language modeling (CLM) objective to train the model for 50,000 steps with a warmup of 2000 steps. We set the input length as 8192 and use a batch size of 128 such that the models are optimized with 1M tokens per step. We use the constant learning 0.0001 for all methods.",
|
| 684 |
+
"bbox": [
|
| 685 |
+
112,
|
| 686 |
+
511,
|
| 687 |
+
489,
|
| 688 |
+
688
|
| 689 |
+
],
|
| 690 |
+
"page_idx": 4
|
| 691 |
+
},
|
| 692 |
+
{
|
| 693 |
+
"type": "text",
|
| 694 |
+
"text": "Baseline. We compare MASFormer with the following methods:",
|
| 695 |
+
"bbox": [
|
| 696 |
+
112,
|
| 697 |
+
690,
|
| 698 |
+
489,
|
| 699 |
+
721
|
| 700 |
+
],
|
| 701 |
+
"page_idx": 4
|
| 702 |
+
},
|
| 703 |
+
{
|
| 704 |
+
"type": "list",
|
| 705 |
+
"sub_type": "text",
|
| 706 |
+
"list_items": [
|
| 707 |
+
"- All full attention is to apply full attention at every layer. It has been adopted by most of existing transformer models as default. Although incurring the maximum attention cost, it achieves the best performance for most of our tasks. Hence, it acts as an upper bound for other methods.",
|
| 708 |
+
"- All block sparse attention is to apply block attention at every layer, which is an effective method to reduce computational cost when modeling long sequences. Block attention sets the attention span of each layer identical such that it evenly distributes the budget of attention computation across layers."
|
| 709 |
+
],
|
| 710 |
+
"bbox": [
|
| 711 |
+
112,
|
| 712 |
+
724,
|
| 713 |
+
489,
|
| 714 |
+
917
|
| 715 |
+
],
|
| 716 |
+
"page_idx": 4
|
| 717 |
+
},
|
| 718 |
+
{
|
| 719 |
+
"type": "text",
|
| 720 |
+
"text": "- All sliding-window attention is to apply sliding-window attention at every layer, which is another variant of sparse attention. It shares the similar spirits and often performs similarly as block attention.",
|
| 721 |
+
"bbox": [
|
| 722 |
+
507,
|
| 723 |
+
84,
|
| 724 |
+
884,
|
| 725 |
+
148
|
| 726 |
+
],
|
| 727 |
+
"page_idx": 4
|
| 728 |
+
},
|
| 729 |
+
{
|
| 730 |
+
"type": "text",
|
| 731 |
+
"text": "In the following experiments, we compare MAS-Former and the baseline methods across different attention cost $\\mathcal{C}$ . That is, for all block sparse attention, we set the block size as $b = \\mathcal{C} / (Ln)$ . For all sliding-window attention, we choose the window size as $w = \\mathcal{C} / (2Ln)$ . For MASFormer, we apply a small block size $m = 1024$ for its block attention and set $l$ as $(\\mathcal{C} - Lmn) / (n^2 - mn)$ . Then we observe how their performance evolves when enhancing the attention cost $\\mathcal{C}$ or input length $n$ .",
|
| 732 |
+
"bbox": [
|
| 733 |
+
507,
|
| 734 |
+
149,
|
| 735 |
+
884,
|
| 736 |
+
310
|
| 737 |
+
],
|
| 738 |
+
"page_idx": 4
|
| 739 |
+
},
|
| 740 |
+
{
|
| 741 |
+
"type": "text",
|
| 742 |
+
"text": "Experiment Overview. We briefly summarize the experimental contents as follows:",
|
| 743 |
+
"bbox": [
|
| 744 |
+
507,
|
| 745 |
+
311,
|
| 746 |
+
882,
|
| 747 |
+
342
|
| 748 |
+
],
|
| 749 |
+
"page_idx": 4
|
| 750 |
+
},
|
| 751 |
+
{
|
| 752 |
+
"type": "list",
|
| 753 |
+
"sub_type": "text",
|
| 754 |
+
"list_items": [
|
| 755 |
+
"- Section 4.1 presents the perplexity evaluation of all the models on ArXiv and PubMed after continual training.",
|
| 756 |
+
"- Section 4.2 compares the summarization performance of the models on ArXiv, QMSUM, and GovReport after fine-tuning. Besides, we also discuss the difference between perplexity and downstream evaluation in reflecting model capacity to capture long-range dependencies.",
|
| 757 |
+
"- Section 4.3 provides three crucial analyses: (i) we evaluate the benefits of increasing input length and discuss the requirements to attain these gains; (ii) we analyze the effectiveness of continual training for long-sequence modeling; (iii) we conduct an ablation study to demonstrate that equipping bottom layers with full attention yields the most significant performance gains than other options. We further provide the explanations."
|
| 758 |
+
],
|
| 759 |
+
"bbox": [
|
| 760 |
+
507,
|
| 761 |
+
344,
|
| 762 |
+
885,
|
| 763 |
+
634
|
| 764 |
+
],
|
| 765 |
+
"page_idx": 4
|
| 766 |
+
},
|
| 767 |
+
{
|
| 768 |
+
"type": "text",
|
| 769 |
+
"text": "4.1 Natural Language Modeling",
|
| 770 |
+
"text_level": 1,
|
| 771 |
+
"bbox": [
|
| 772 |
+
507,
|
| 773 |
+
649,
|
| 774 |
+
779,
|
| 775 |
+
665
|
| 776 |
+
],
|
| 777 |
+
"page_idx": 4
|
| 778 |
+
},
|
| 779 |
+
{
|
| 780 |
+
"type": "text",
|
| 781 |
+
"text": "4.1.1 Datasets and Evaluation Details",
|
| 782 |
+
"text_level": 1,
|
| 783 |
+
"bbox": [
|
| 784 |
+
507,
|
| 785 |
+
671,
|
| 786 |
+
818,
|
| 787 |
+
686
|
| 788 |
+
],
|
| 789 |
+
"page_idx": 4
|
| 790 |
+
},
|
| 791 |
+
{
|
| 792 |
+
"type": "text",
|
| 793 |
+
"text": "Datasets. We evaluate the perplexity of the updated GPT-2 for each attention method after continual training. The evaluation is conducted on test sets of ArXiv and PubMed (Cohan et al., 2018). Table 5 presents the statistics of these two datasets. Pubmed consists of scientific documents, with a document's content used as input and its corresponding abstract as the target summary. ArXiv is similar to PubMed, with documents from arXiv.",
|
| 794 |
+
"bbox": [
|
| 795 |
+
507,
|
| 796 |
+
693,
|
| 797 |
+
884,
|
| 798 |
+
835
|
| 799 |
+
],
|
| 800 |
+
"page_idx": 4
|
| 801 |
+
},
|
| 802 |
+
{
|
| 803 |
+
"type": "text",
|
| 804 |
+
"text": "Evaluation Details. We conduct the perplexity evaluation under two settings. (i) We calculate the perplexity (ppl.) with all documents from test sets. Table 1 presents the overall perplexity of different models on two datasets. (ii) To showcase",
|
| 805 |
+
"bbox": [
|
| 806 |
+
507,
|
| 807 |
+
838,
|
| 808 |
+
882,
|
| 809 |
+
917
|
| 810 |
+
],
|
| 811 |
+
"page_idx": 4
|
| 812 |
+
},
|
| 813 |
+
{
|
| 814 |
+
"type": "page_number",
|
| 815 |
+
"text": "2779",
|
| 816 |
+
"bbox": [
|
| 817 |
+
480,
|
| 818 |
+
927,
|
| 819 |
+
519,
|
| 820 |
+
940
|
| 821 |
+
],
|
| 822 |
+
"page_idx": 4
|
| 823 |
+
},
|
| 824 |
+
{
|
| 825 |
+
"type": "image",
|
| 826 |
+
"img_path": "images/aa87e531b990436c086b6417eaebac905aedebcd05996b5827a767377912c034.jpg",
|
| 827 |
+
"image_caption": [
|
| 828 |
+
"(a) ArXiv ppl."
|
| 829 |
+
],
|
| 830 |
+
"image_footnote": [],
|
| 831 |
+
"bbox": [
|
| 832 |
+
215,
|
| 833 |
+
67,
|
| 834 |
+
487,
|
| 835 |
+
214
|
| 836 |
+
],
|
| 837 |
+
"page_idx": 5
|
| 838 |
+
},
|
| 839 |
+
{
|
| 840 |
+
"type": "image",
|
| 841 |
+
"img_path": "images/ea1a52f7f7b59921579ce8383a2cd331d6c63cbfdf1ca31e5cfd12ab892255b2.jpg",
|
| 842 |
+
"image_caption": [
|
| 843 |
+
"(b) PubMed ppl.",
|
| 844 |
+
"Figure 3: Perplexity evaluation on ArXiv and PubMed with examples of different length. Here $x$ -axis is the maximum document length of each subset, i.e., $k \\times 1024$ ( $k = 1, 2, 3, \\ldots$ )."
|
| 845 |
+
],
|
| 846 |
+
"image_footnote": [],
|
| 847 |
+
"bbox": [
|
| 848 |
+
507,
|
| 849 |
+
67,
|
| 850 |
+
781,
|
| 851 |
+
214
|
| 852 |
+
],
|
| 853 |
+
"page_idx": 5
|
| 854 |
+
},
|
| 855 |
+
{
|
| 856 |
+
"type": "text",
|
| 857 |
+
"text": "the varying behaviors of models on documents of different length, we divide all documents into several subsets according to their length. Each subset consists of examples, whose length is within $((k - 1)\\times 1024,k\\times 1024](k = 1,2,3,\\ldots)$ . Then, we evaluate the perplexity on each subset. Figure 3 presents the perplexity of models on different subsets of examples.",
|
| 858 |
+
"bbox": [
|
| 859 |
+
110,
|
| 860 |
+
266,
|
| 861 |
+
489,
|
| 862 |
+
394
|
| 863 |
+
],
|
| 864 |
+
"page_idx": 5
|
| 865 |
+
},
|
| 866 |
+
{
|
| 867 |
+
"type": "text",
|
| 868 |
+
"text": "4.1.2 Results",
|
| 869 |
+
"text_level": 1,
|
| 870 |
+
"bbox": [
|
| 871 |
+
112,
|
| 872 |
+
403,
|
| 873 |
+
231,
|
| 874 |
+
416
|
| 875 |
+
],
|
| 876 |
+
"page_idx": 5
|
| 877 |
+
},
|
| 878 |
+
{
|
| 879 |
+
"type": "text",
|
| 880 |
+
"text": "Table 1 compares the overall perplexity on test sets of ArXiv and PubMed. The results suggest that, with $l = 4$ layers of full attention, MASFormer achieves comparable performance to all full attention, while reducing $72\\%$ of its attention cost. With the similar attention cost $\\mathcal{C}$ , MASFormer outperforms all block attention that evenly distributes the budget of attention computation. For example, MASFormer with $l = 2$ achieves 8.75 ppl. on PubMed, which is 1.37 lower than that of block attention of $b = 2048$ .",
|
| 881 |
+
"bbox": [
|
| 882 |
+
112,
|
| 883 |
+
420,
|
| 884 |
+
489,
|
| 885 |
+
598
|
| 886 |
+
],
|
| 887 |
+
"page_idx": 5
|
| 888 |
+
},
|
| 889 |
+
{
|
| 890 |
+
"type": "table",
|
| 891 |
+
"img_path": "images/26632b80afb2e7994ce3689c38d4f0d3f887fcfc03e3083b578466dbd64ea0c7.jpg",
|
| 892 |
+
"table_caption": [],
|
| 893 |
+
"table_footnote": [],
|
| 894 |
+
"table_body": "<table><tr><td>Methods</td><td>C</td><td>ArXiv</td><td>PubMed</td></tr><tr><td>Full attention</td><td>1,610M</td><td>8.63</td><td>7.63</td></tr><tr><td>Block (b=1024)</td><td>201M</td><td>13.19</td><td>12.19</td></tr><tr><td>Block (b=2048)</td><td>402M</td><td>10.75</td><td>10.13</td></tr><tr><td>MASFormer (l=2)</td><td>318M</td><td>10.25</td><td>8.75</td></tr><tr><td>MASFormer (l=4)</td><td>436M</td><td>9.31</td><td>8.25</td></tr><tr><td>MASFormer (l=8)</td><td>671M</td><td>9.63</td><td>8.25</td></tr></table>",
|
| 895 |
+
"bbox": [
|
| 896 |
+
119,
|
| 897 |
+
606,
|
| 898 |
+
480,
|
| 899 |
+
749
|
| 900 |
+
],
|
| 901 |
+
"page_idx": 5
|
| 902 |
+
},
|
| 903 |
+
{
|
| 904 |
+
"type": "text",
|
| 905 |
+
"text": "Table 1: Perplexity evaluation on ArXiv and PubMed.",
|
| 906 |
+
"bbox": [
|
| 907 |
+
115,
|
| 908 |
+
752,
|
| 909 |
+
482,
|
| 910 |
+
766
|
| 911 |
+
],
|
| 912 |
+
"page_idx": 5
|
| 913 |
+
},
|
| 914 |
+
{
|
| 915 |
+
"type": "text",
|
| 916 |
+
"text": "Figure 3 illustrates the perplexity variation of each method given examples of different length. We can tell that MASFormer and full attention show better performance on longer documents, suggesting increasing context length can improve their prediction performance. Full attention, though incurring the highest attention cost, always achieves the best performance due to its outstanding capability to handle sophisticated dependencies. Notably,",
|
| 917 |
+
"bbox": [
|
| 918 |
+
112,
|
| 919 |
+
774,
|
| 920 |
+
489,
|
| 921 |
+
919
|
| 922 |
+
],
|
| 923 |
+
"page_idx": 5
|
| 924 |
+
},
|
| 925 |
+
{
|
| 926 |
+
"type": "text",
|
| 927 |
+
"text": "with $27\\%$ of its attention cost, MASFormer exhibits a curve of ppl. v.s. length that closely resembles to that of full attention. This demonstrates the effectiveness and efficiency of MASFormer to capture long-range dependencies. In contrast, block sparse attention benefits much less from long contexts and underperforms both of them because of its incapability to encode long-range signals. For example, when $b = 1024$ , block attention achieves similar perplexity on PubMed examples of different length.",
|
| 928 |
+
"bbox": [
|
| 929 |
+
507,
|
| 930 |
+
266,
|
| 931 |
+
884,
|
| 932 |
+
428
|
| 933 |
+
],
|
| 934 |
+
"page_idx": 5
|
| 935 |
+
},
|
| 936 |
+
{
|
| 937 |
+
"type": "text",
|
| 938 |
+
"text": "4.2 Natural Language Generation",
|
| 939 |
+
"text_level": 1,
|
| 940 |
+
"bbox": [
|
| 941 |
+
507,
|
| 942 |
+
437,
|
| 943 |
+
793,
|
| 944 |
+
453
|
| 945 |
+
],
|
| 946 |
+
"page_idx": 5
|
| 947 |
+
},
|
| 948 |
+
{
|
| 949 |
+
"type": "text",
|
| 950 |
+
"text": "4.2.1 Datasets and Training Details",
|
| 951 |
+
"text_level": 1,
|
| 952 |
+
"bbox": [
|
| 953 |
+
507,
|
| 954 |
+
458,
|
| 955 |
+
801,
|
| 956 |
+
474
|
| 957 |
+
],
|
| 958 |
+
"page_idx": 5
|
| 959 |
+
},
|
| 960 |
+
{
|
| 961 |
+
"type": "text",
|
| 962 |
+
"text": "Datasets. We evaluate the downstream performance of models on several abstractive summarization tasks to compare their capability of handling long sequences in practice. Specifically, we fine-tune models on ArXiv (Cohan et al., 2018), QM-SUM and GovReport (from SCROLLS benchmark, Shaham et al. (2022)). Their statistics are summarized in Table 5. We mainly use ROUGE-2 (R2) score (Lin, 2004) as the evaluation metric, which is more important and sensitive than R1 and RL.",
|
| 963 |
+
"bbox": [
|
| 964 |
+
507,
|
| 965 |
+
478,
|
| 966 |
+
884,
|
| 967 |
+
638
|
| 968 |
+
],
|
| 969 |
+
"page_idx": 5
|
| 970 |
+
},
|
| 971 |
+
{
|
| 972 |
+
"type": "text",
|
| 973 |
+
"text": "Training Details. After continual training, we fine-tune each model and report R2 scores on validation sets. Specifically, we fine-tune models for 3000 steps on QMSUM, 8000 steps on GovReport, and 12000 steps on ArXiv. We set the batch size as 64 for ArXiv and 32 for QMSUM and GovReport. We pick the learning rates from $\\{1 \\times 10^{-5}, 5 \\times 10^{-5}, 1 \\times 10^{-4}, 5 \\times 10^{-4}\\}$ , and choose the optimal ones to report the performance of each method. Moreover, the input length is fixed as 8192. We apply the greedy decoding for generation. Please see Appendix B for more details.",
|
| 974 |
+
"bbox": [
|
| 975 |
+
507,
|
| 976 |
+
642,
|
| 977 |
+
882,
|
| 978 |
+
834
|
| 979 |
+
],
|
| 980 |
+
"page_idx": 5
|
| 981 |
+
},
|
| 982 |
+
{
|
| 983 |
+
"type": "text",
|
| 984 |
+
"text": "4.2.2 Results",
|
| 985 |
+
"text_level": 1,
|
| 986 |
+
"bbox": [
|
| 987 |
+
507,
|
| 988 |
+
845,
|
| 989 |
+
626,
|
| 990 |
+
858
|
| 991 |
+
],
|
| 992 |
+
"page_idx": 5
|
| 993 |
+
},
|
| 994 |
+
{
|
| 995 |
+
"type": "text",
|
| 996 |
+
"text": "In Table $2^{2}$ and Figure 4, we present the fine-tuning results on QMSUM, ArXiv and GovReport across",
|
| 997 |
+
"bbox": [
|
| 998 |
+
507,
|
| 999 |
+
863,
|
| 1000 |
+
880,
|
| 1001 |
+
895
|
| 1002 |
+
],
|
| 1003 |
+
"page_idx": 5
|
| 1004 |
+
},
|
| 1005 |
+
{
|
| 1006 |
+
"type": "page_footnote",
|
| 1007 |
+
"text": "2Please see Table 6 in Appendix B for all ROUGE scores.",
|
| 1008 |
+
"bbox": [
|
| 1009 |
+
529,
|
| 1010 |
+
903,
|
| 1011 |
+
880,
|
| 1012 |
+
917
|
| 1013 |
+
],
|
| 1014 |
+
"page_idx": 5
|
| 1015 |
+
},
|
| 1016 |
+
{
|
| 1017 |
+
"type": "page_number",
|
| 1018 |
+
"text": "2780",
|
| 1019 |
+
"bbox": [
|
| 1020 |
+
480,
|
| 1021 |
+
927,
|
| 1022 |
+
519,
|
| 1023 |
+
940
|
| 1024 |
+
],
|
| 1025 |
+
"page_idx": 5
|
| 1026 |
+
},
|
| 1027 |
+
{
|
| 1028 |
+
"type": "image",
|
| 1029 |
+
"img_path": "images/7abd031293b0a106fc32b6b3eda383c7fe114cdd09263d0c7c29802ada1078f9.jpg",
|
| 1030 |
+
"image_caption": [
|
| 1031 |
+
"(a) ArXiv"
|
| 1032 |
+
],
|
| 1033 |
+
"image_footnote": [],
|
| 1034 |
+
"bbox": [
|
| 1035 |
+
134,
|
| 1036 |
+
82,
|
| 1037 |
+
364,
|
| 1038 |
+
208
|
| 1039 |
+
],
|
| 1040 |
+
"page_idx": 6
|
| 1041 |
+
},
|
| 1042 |
+
{
|
| 1043 |
+
"type": "image",
|
| 1044 |
+
"img_path": "images/06f3fa19b661a64eedbac59b93eed38cff3357da2c5afb8d0725d3b7d2bb4714.jpg",
|
| 1045 |
+
"image_caption": [
|
| 1046 |
+
"(b) QMSUM"
|
| 1047 |
+
],
|
| 1048 |
+
"image_footnote": [],
|
| 1049 |
+
"bbox": [
|
| 1050 |
+
381,
|
| 1051 |
+
80,
|
| 1052 |
+
611,
|
| 1053 |
+
206
|
| 1054 |
+
],
|
| 1055 |
+
"page_idx": 6
|
| 1056 |
+
},
|
| 1057 |
+
{
|
| 1058 |
+
"type": "image",
|
| 1059 |
+
"img_path": "images/9e37f4b3e56d841f515e8e7c046b7e5e493dd9309d4c550d1c24329e45ed393b.jpg",
|
| 1060 |
+
"image_caption": [
|
| 1061 |
+
"(c) GovReport",
|
| 1062 |
+
"Figure 4: Given input length as 8192, we compare summarization performance between MASFormer and block/full attention when increasing the attention cost."
|
| 1063 |
+
],
|
| 1064 |
+
"image_footnote": [],
|
| 1065 |
+
"bbox": [
|
| 1066 |
+
630,
|
| 1067 |
+
82,
|
| 1068 |
+
860,
|
| 1069 |
+
208
|
| 1070 |
+
],
|
| 1071 |
+
"page_idx": 6
|
| 1072 |
+
},
|
| 1073 |
+
{
|
| 1074 |
+
"type": "table",
|
| 1075 |
+
"img_path": "images/bec286d385d911454869fb10e215deec0e4e7ee116298b8d8c88df70de43888b.jpg",
|
| 1076 |
+
"table_caption": [],
|
| 1077 |
+
"table_footnote": [],
|
| 1078 |
+
"table_body": "<table><tr><td>Methods</td><td>C</td><td>QMSUM</td><td>ArXiv</td><td>GovReport</td></tr><tr><td>Full attention</td><td>1610M</td><td>8.00</td><td>19.32</td><td>28.83</td></tr><tr><td>Window(w=1024)</td><td>402M</td><td>4.32</td><td>13.51</td><td>17.03</td></tr><tr><td>Block(b=2048)</td><td>402M</td><td>5.03</td><td>9.61</td><td>12.31</td></tr><tr><td>MASFormer(l=4)</td><td>436M</td><td>6.59</td><td>14.91</td><td>18.82</td></tr><tr><td>Window(w=2048)</td><td>805M</td><td>5.05</td><td>15.21</td><td>22.79</td></tr><tr><td>Block(b=4096)</td><td>805M</td><td>5.15</td><td>14.50</td><td>23.64</td></tr><tr><td>MASFormer(l=6)</td><td>553M</td><td>7.15</td><td>15.72</td><td>21.20</td></tr><tr><td>MASFormer(l=8)</td><td>671M</td><td>7.46</td><td>17.00</td><td>24.42</td></tr><tr><td>MASFormer(l=12)</td><td>906M</td><td>8.70</td><td>18.58</td><td>26.26</td></tr></table>",
|
| 1079 |
+
"bbox": [
|
| 1080 |
+
115,
|
| 1081 |
+
272,
|
| 1082 |
+
489,
|
| 1083 |
+
470
|
| 1084 |
+
],
|
| 1085 |
+
"page_idx": 6
|
| 1086 |
+
},
|
| 1087 |
+
{
|
| 1088 |
+
"type": "text",
|
| 1089 |
+
"text": "Table 2: Summarization performance of models with different attention methods. The best results are shown in bold.",
|
| 1090 |
+
"bbox": [
|
| 1091 |
+
112,
|
| 1092 |
+
475,
|
| 1093 |
+
487,
|
| 1094 |
+
517
|
| 1095 |
+
],
|
| 1096 |
+
"page_idx": 6
|
| 1097 |
+
},
|
| 1098 |
+
{
|
| 1099 |
+
"type": "text",
|
| 1100 |
+
"text": "different attention cost. The results demonstrate that, with the similar attention cost, MASFormer significantly outperforms sparse attention variants. Furthermore, when enhancing attention cost, MASFormer achieves greater performance gains than sparse attention methods. This is evident from the steeper slope of its R2 curve versus attention cost, in contrast to the baseline method. For example, when increasing $\\mathcal{C}$ form 553M to 671M, the R2 score of MASFormer on QMSUM exhibits a substantial improvement, reaching 8.70 from 7.46. Remarkably, this score surpasses even that of full attention. Therefore, MASFormer addresses the trade-off between computational cost and performance gains in a more efficient and effective way.",
|
| 1101 |
+
"bbox": [
|
| 1102 |
+
112,
|
| 1103 |
+
529,
|
| 1104 |
+
489,
|
| 1105 |
+
772
|
| 1106 |
+
],
|
| 1107 |
+
"page_idx": 6
|
| 1108 |
+
},
|
| 1109 |
+
{
|
| 1110 |
+
"type": "text",
|
| 1111 |
+
"text": "Notice that, in order to achieve comparable summarization performance to full attention, MAS-Former needs at least $l = 8$ layers of full attention, and providing more can lead to more gains. This observation is different from the findings in NLM (Figure 3) that increasing $l$ beyond 4 provides limited improvement in perplexity. Their different capacity requirements arise from the fact that predicting next tokens in NLM primarily relies on lo",
|
| 1112 |
+
"bbox": [
|
| 1113 |
+
112,
|
| 1114 |
+
774,
|
| 1115 |
+
489,
|
| 1116 |
+
919
|
| 1117 |
+
],
|
| 1118 |
+
"page_idx": 6
|
| 1119 |
+
},
|
| 1120 |
+
{
|
| 1121 |
+
"type": "text",
|
| 1122 |
+
"text": "cal dependencies. Capturing infrequent long-range tokens does not significantly improve perplexity. Thus, this discrepancy emphasizes the necessity to evaluate long-range models on downstream tasks.",
|
| 1123 |
+
"bbox": [
|
| 1124 |
+
507,
|
| 1125 |
+
267,
|
| 1126 |
+
884,
|
| 1127 |
+
331
|
| 1128 |
+
],
|
| 1129 |
+
"page_idx": 6
|
| 1130 |
+
},
|
| 1131 |
+
{
|
| 1132 |
+
"type": "text",
|
| 1133 |
+
"text": "4.3 Analysis",
|
| 1134 |
+
"text_level": 1,
|
| 1135 |
+
"bbox": [
|
| 1136 |
+
507,
|
| 1137 |
+
344,
|
| 1138 |
+
621,
|
| 1139 |
+
360
|
| 1140 |
+
],
|
| 1141 |
+
"page_idx": 6
|
| 1142 |
+
},
|
| 1143 |
+
{
|
| 1144 |
+
"type": "text",
|
| 1145 |
+
"text": "4.3.1 Benefits of Increasing Sequence Length",
|
| 1146 |
+
"text_level": 1,
|
| 1147 |
+
"bbox": [
|
| 1148 |
+
507,
|
| 1149 |
+
367,
|
| 1150 |
+
877,
|
| 1151 |
+
382
|
| 1152 |
+
],
|
| 1153 |
+
"page_idx": 6
|
| 1154 |
+
},
|
| 1155 |
+
{
|
| 1156 |
+
"type": "text",
|
| 1157 |
+
"text": "In this section, we investigate the benefits of increasing input length for downstream performance. Specifically, we select the input length from $\\{2048, 4096, 6144, 8192\\}$ and present the fine-tuning performance of full attention in Figure 5. The results consistently demonstrate that as the input length increases, the model's performance improves. That is, downstream performance benefits significantly from long-sequence inputs. In contrast, increasing example length beyond $6k$ results in marginal improvements in perplexity (See Figure 3), highlighting again the importance of downstream evaluation.",
|
| 1158 |
+
"bbox": [
|
| 1159 |
+
505,
|
| 1160 |
+
388,
|
| 1161 |
+
884,
|
| 1162 |
+
595
|
| 1163 |
+
],
|
| 1164 |
+
"page_idx": 6
|
| 1165 |
+
},
|
| 1166 |
+
{
|
| 1167 |
+
"type": "text",
|
| 1168 |
+
"text": "In addition, when comparing the behaviors of block attention in Figure 2c and 2d, we find that sparse attention often insufficiently capitalize on the benefits offered by longer inputs. For instance, given block size as 4096, its performance on ArXiv remains nearly unchanged when increasing input length from 4096 (R2 = 15.52 in Figure 5a) to 8192 (R2 = 14.49 in Figure 2c). This finding suggests that enhancing input length can only improve model performance if the model possesses the sufficient capability to handle long-range dependencies.",
|
| 1169 |
+
"bbox": [
|
| 1170 |
+
507,
|
| 1171 |
+
598,
|
| 1172 |
+
885,
|
| 1173 |
+
776
|
| 1174 |
+
],
|
| 1175 |
+
"page_idx": 6
|
| 1176 |
+
},
|
| 1177 |
+
{
|
| 1178 |
+
"type": "text",
|
| 1179 |
+
"text": "4.3.2 Effectiveness of Continual Training",
|
| 1180 |
+
"text_level": 1,
|
| 1181 |
+
"bbox": [
|
| 1182 |
+
507,
|
| 1183 |
+
785,
|
| 1184 |
+
847,
|
| 1185 |
+
801
|
| 1186 |
+
],
|
| 1187 |
+
"page_idx": 6
|
| 1188 |
+
},
|
| 1189 |
+
{
|
| 1190 |
+
"type": "text",
|
| 1191 |
+
"text": "We analyze the effectiveness of continual training by comparing fine-tuning performance of MAS-Former $(l = 8)$ under the following settings: (i) MASFormer without continual training (w.o. C.T.); (ii) MASFormer continually trained with short inputs (C.T. $(n = 2048)$ ); (iii) MASFormer continually trained with long inputs (C.T. $(n = 8192)$ ). Table 3",
|
| 1192 |
+
"bbox": [
|
| 1193 |
+
507,
|
| 1194 |
+
806,
|
| 1195 |
+
884,
|
| 1196 |
+
917
|
| 1197 |
+
],
|
| 1198 |
+
"page_idx": 6
|
| 1199 |
+
},
|
| 1200 |
+
{
|
| 1201 |
+
"type": "page_number",
|
| 1202 |
+
"text": "2781",
|
| 1203 |
+
"bbox": [
|
| 1204 |
+
480,
|
| 1205 |
+
927,
|
| 1206 |
+
517,
|
| 1207 |
+
940
|
| 1208 |
+
],
|
| 1209 |
+
"page_idx": 6
|
| 1210 |
+
},
|
| 1211 |
+
{
|
| 1212 |
+
"type": "image",
|
| 1213 |
+
"img_path": "images/34f8b43ff943ff02432a8efcea092d5101ce4681ebe8062ad2ef1f4556cd815e.jpg",
|
| 1214 |
+
"image_caption": [
|
| 1215 |
+
"(a) ArXiv"
|
| 1216 |
+
],
|
| 1217 |
+
"image_footnote": [],
|
| 1218 |
+
"bbox": [
|
| 1219 |
+
134,
|
| 1220 |
+
80,
|
| 1221 |
+
364,
|
| 1222 |
+
206
|
| 1223 |
+
],
|
| 1224 |
+
"page_idx": 7
|
| 1225 |
+
},
|
| 1226 |
+
{
|
| 1227 |
+
"type": "image",
|
| 1228 |
+
"img_path": "images/243cd9585f95f0cec8f02ae7e098f293e5b08b58846d6884995bfa11ff8a6731.jpg",
|
| 1229 |
+
"image_caption": [
|
| 1230 |
+
"(b) GovReport"
|
| 1231 |
+
],
|
| 1232 |
+
"image_footnote": [],
|
| 1233 |
+
"bbox": [
|
| 1234 |
+
381,
|
| 1235 |
+
80,
|
| 1236 |
+
611,
|
| 1237 |
+
206
|
| 1238 |
+
],
|
| 1239 |
+
"page_idx": 7
|
| 1240 |
+
},
|
| 1241 |
+
{
|
| 1242 |
+
"type": "image",
|
| 1243 |
+
"img_path": "images/576c77e2d4168b14669caaa7ef1f13475630024a6b889195642c7a54823bebc1.jpg",
|
| 1244 |
+
"image_caption": [
|
| 1245 |
+
"(c) QMSUM",
|
| 1246 |
+
"Figure 5: Fine-tuning performance of full attention under different input length."
|
| 1247 |
+
],
|
| 1248 |
+
"image_footnote": [],
|
| 1249 |
+
"bbox": [
|
| 1250 |
+
630,
|
| 1251 |
+
80,
|
| 1252 |
+
860,
|
| 1253 |
+
206
|
| 1254 |
+
],
|
| 1255 |
+
"page_idx": 7
|
| 1256 |
+
},
|
| 1257 |
+
{
|
| 1258 |
+
"type": "text",
|
| 1259 |
+
"text": "presents fine-tuning performance of these models. We can tell that continual training with long inputs indeed facilitates the revised models to adapt to new structures and long-sequence inputs.",
|
| 1260 |
+
"bbox": [
|
| 1261 |
+
112,
|
| 1262 |
+
253,
|
| 1263 |
+
487,
|
| 1264 |
+
317
|
| 1265 |
+
],
|
| 1266 |
+
"page_idx": 7
|
| 1267 |
+
},
|
| 1268 |
+
{
|
| 1269 |
+
"type": "table",
|
| 1270 |
+
"img_path": "images/d0a3b1f47d0535c441bdce266d7577db64fd43903ed73a50a36c651c66a44a83.jpg",
|
| 1271 |
+
"table_caption": [],
|
| 1272 |
+
"table_footnote": [],
|
| 1273 |
+
"table_body": "<table><tr><td>l=8</td><td>QMSUM</td><td>GovReport</td></tr><tr><td>w.o. C.T.</td><td>29.33/6.43/25.71</td><td>53.28/23.61/51.74</td></tr><tr><td>C.T. (n=2048)</td><td>29.87/7.16/26.15</td><td>52.28/23.01/49.83</td></tr><tr><td>C.T. (n=8192)</td><td>30.91/7.45/27.02</td><td>54.37/24.42/51.87</td></tr></table>",
|
| 1274 |
+
"bbox": [
|
| 1275 |
+
115,
|
| 1276 |
+
331,
|
| 1277 |
+
495,
|
| 1278 |
+
413
|
| 1279 |
+
],
|
| 1280 |
+
"page_idx": 7
|
| 1281 |
+
},
|
| 1282 |
+
{
|
| 1283 |
+
"type": "text",
|
| 1284 |
+
"text": "4.3.3 Where to use full attention",
|
| 1285 |
+
"text_level": 1,
|
| 1286 |
+
"bbox": [
|
| 1287 |
+
112,
|
| 1288 |
+
442,
|
| 1289 |
+
383,
|
| 1290 |
+
456
|
| 1291 |
+
],
|
| 1292 |
+
"page_idx": 7
|
| 1293 |
+
},
|
| 1294 |
+
{
|
| 1295 |
+
"type": "text",
|
| 1296 |
+
"text": "To answer where to apply full attention, we compare fine-tuning performance of MASFormers that apply full attention at (i) bottom layers; (ii) middle layers; (iii) top layers; (iv) every $L / l$ layers. The results in Table 4 demonstrate that equipping bottom layers with full attention yields the best performance. This is because that long-range dependencies can be continually captured and reinforced by bottom layers before propagated to upper layers. As such, these long-range signals can be effectively incorporated into the upper layers with local attention, facilitating their encoding of local information. In contrast, when equipping local attention at bottom layers, long-range tokens are first aggregated with neighboring tokens by local attention, thereby weakening their long-range signals. Moreover, if alternating full and local attention every $L / l$ layers, the long-range signals cannot be continually reinforced nor efficiently captured.",
|
| 1297 |
+
"bbox": [
|
| 1298 |
+
112,
|
| 1299 |
+
462,
|
| 1300 |
+
489,
|
| 1301 |
+
766
|
| 1302 |
+
],
|
| 1303 |
+
"page_idx": 7
|
| 1304 |
+
},
|
| 1305 |
+
{
|
| 1306 |
+
"type": "text",
|
| 1307 |
+
"text": "5 Discussion",
|
| 1308 |
+
"text_level": 1,
|
| 1309 |
+
"bbox": [
|
| 1310 |
+
112,
|
| 1311 |
+
780,
|
| 1312 |
+
240,
|
| 1313 |
+
794
|
| 1314 |
+
],
|
| 1315 |
+
"page_idx": 7
|
| 1316 |
+
},
|
| 1317 |
+
{
|
| 1318 |
+
"type": "text",
|
| 1319 |
+
"text": "GPT-Neo (Black et al., 2021) introduces an attention pattern that alternates full and window attention. However, this models is not tailored for long sequences. It sets the local window size as 256 and has the maximum input length as 2048, unable to handle long sequences. Instead, this attention pattern is applied heuristically in an attempt to re",
|
| 1320 |
+
"bbox": [
|
| 1321 |
+
112,
|
| 1322 |
+
806,
|
| 1323 |
+
489,
|
| 1324 |
+
919
|
| 1325 |
+
],
|
| 1326 |
+
"page_idx": 7
|
| 1327 |
+
},
|
| 1328 |
+
{
|
| 1329 |
+
"type": "table",
|
| 1330 |
+
"img_path": "images/80d5984b750b359aeabe979b9b3ae97bd888cd3191dfedb56389309389bd07d1.jpg",
|
| 1331 |
+
"table_caption": [
|
| 1332 |
+
"Table 3: We report R1/R2/RL for the above results."
|
| 1333 |
+
],
|
| 1334 |
+
"table_footnote": [],
|
| 1335 |
+
"table_body": "<table><tr><td>Position</td><td>QMSUM</td><td>GovReport</td></tr><tr><td>Every 3</td><td>28.26/6.94/25.03</td><td>26.16/12.37/24.82</td></tr><tr><td>Top 8</td><td>20.89/4.52/18.37</td><td>-/-/-</td></tr><tr><td>Middle 8</td><td>27.27/5.99/24.06</td><td>20.80/9.01/19.52</td></tr><tr><td>Bottom 8</td><td>30.91/7.45/27.02</td><td>54.37/24.42/51.87</td></tr><tr><td>Every 2</td><td>31.27/8.19/27.41</td><td>35.34/16.04/33.68</td></tr><tr><td>Bottom 12</td><td>32.53/8.70/28.75</td><td>56.98/26.26/54.46</td></tr></table>",
|
| 1336 |
+
"bbox": [
|
| 1337 |
+
510,
|
| 1338 |
+
256,
|
| 1339 |
+
878,
|
| 1340 |
+
394
|
| 1341 |
+
],
|
| 1342 |
+
"page_idx": 7
|
| 1343 |
+
},
|
| 1344 |
+
{
|
| 1345 |
+
"type": "text",
|
| 1346 |
+
"text": "Table 4: Performance comparison of MASFormers that apply full attention at different layers (# layers $L = 24$",
|
| 1347 |
+
"bbox": [
|
| 1348 |
+
507,
|
| 1349 |
+
397,
|
| 1350 |
+
880,
|
| 1351 |
+
426
|
| 1352 |
+
],
|
| 1353 |
+
"page_idx": 7
|
| 1354 |
+
},
|
| 1355 |
+
{
|
| 1356 |
+
"type": "text",
|
| 1357 |
+
"text": "duce computational cost. However, as discussed in Section 4.3.3, this approach is neither effective nor efficient as MASFormer when handling long sequences. As shown in Table 4, applying full attention at every 2 or 3 layers underperforms applying it at bottom 12 or 8 layers. Therefore, alternating between full and block attention results in additional computational cost and performance degradation.",
|
| 1358 |
+
"bbox": [
|
| 1359 |
+
505,
|
| 1360 |
+
437,
|
| 1361 |
+
882,
|
| 1362 |
+
565
|
| 1363 |
+
],
|
| 1364 |
+
"page_idx": 7
|
| 1365 |
+
},
|
| 1366 |
+
{
|
| 1367 |
+
"type": "text",
|
| 1368 |
+
"text": "In contrast, MASFormer presents an effective solution for efficient long-sequence modeling. It provides guidance on adapting existing pre-trained transformers to long inputs. Meanwhile, it provides insights for designing large long-range models, especially for deeper models. By equipping only a subset of bottom layer with full attention, we can substantially mitigate computational cost. Additionally, the computation of MASFormer can be further optimized by leveraging system-level acceleration techniques (e.g., FlashAttention and xFormer) that support both block and full attention.",
|
| 1369 |
+
"bbox": [
|
| 1370 |
+
507,
|
| 1371 |
+
565,
|
| 1372 |
+
882,
|
| 1373 |
+
759
|
| 1374 |
+
],
|
| 1375 |
+
"page_idx": 7
|
| 1376 |
+
},
|
| 1377 |
+
{
|
| 1378 |
+
"type": "text",
|
| 1379 |
+
"text": "6 Conclusion",
|
| 1380 |
+
"text_level": 1,
|
| 1381 |
+
"bbox": [
|
| 1382 |
+
507,
|
| 1383 |
+
771,
|
| 1384 |
+
640,
|
| 1385 |
+
785
|
| 1386 |
+
],
|
| 1387 |
+
"page_idx": 7
|
| 1388 |
+
},
|
| 1389 |
+
{
|
| 1390 |
+
"type": "text",
|
| 1391 |
+
"text": "We propose an efficient long-range transformer - MASFormer that utilizes full attention at a few of bottom layers and employs sparse attention at the remaining layers. Our empirical results on natural language modeling and generation tasks demonstrate that MASFormer can address the trade-off between computational cost and performance gains in a more efficient and effective way.",
|
| 1392 |
+
"bbox": [
|
| 1393 |
+
507,
|
| 1394 |
+
790,
|
| 1395 |
+
884,
|
| 1396 |
+
917
|
| 1397 |
+
],
|
| 1398 |
+
"page_idx": 7
|
| 1399 |
+
},
|
| 1400 |
+
{
|
| 1401 |
+
"type": "page_number",
|
| 1402 |
+
"text": "2782",
|
| 1403 |
+
"bbox": [
|
| 1404 |
+
480,
|
| 1405 |
+
927,
|
| 1406 |
+
519,
|
| 1407 |
+
940
|
| 1408 |
+
],
|
| 1409 |
+
"page_idx": 7
|
| 1410 |
+
},
|
| 1411 |
+
{
|
| 1412 |
+
"type": "text",
|
| 1413 |
+
"text": "References",
|
| 1414 |
+
"text_level": 1,
|
| 1415 |
+
"bbox": [
|
| 1416 |
+
115,
|
| 1417 |
+
84,
|
| 1418 |
+
213,
|
| 1419 |
+
98
|
| 1420 |
+
],
|
| 1421 |
+
"page_idx": 8
|
| 1422 |
+
},
|
| 1423 |
+
{
|
| 1424 |
+
"type": "list",
|
| 1425 |
+
"sub_type": "ref_text",
|
| 1426 |
+
"list_items": [
|
| 1427 |
+
"Joshua Ainslie, Santiago Ontanon, Chris Alberti, Va-clav Cvicek, Zachary Fisher, Philip Pham, Anirudh Ravula, Sumit Sanghai, Qifan Wang, and Li Yang. 2020. Etc: Encoding long and structured inputs in transformers. arXiv preprint arXiv:2004.08483.",
|
| 1428 |
+
"Iz Beltagy, Matthew E Peters, and Arman Cohan. 2020. Longformer: The long-document transformer. arXiv preprint arXiv:2004.05150.",
|
| 1429 |
+
"Sid Black, Leo Gao, Phil Wang, Connor Leahy, and Stella Biderman. 2021. GPT-Neo: Large Scale Autoregressive Language Modeling with Mesh-Tensorflow.",
|
| 1430 |
+
"Tom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah, Jared 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 M. Ziegler, Jeffrey Wu, Clemens Winter, Christopher 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 33: Annual Conference on Neural Information Processing Systems 2020, NeurIPS 2020, December 6-12, 2020, virtual.",
|
| 1431 |
+
"Beidi Chen, Tri Dao, Eric Winsor, Zhao Song, Atri Rudra, and Christopher Re. 2021. Scatterbrain: Unifying sparse and low-rank attention approximation. arXiv preprint arXiv:2110.15343.",
|
| 1432 |
+
"Arman Cohan, Franck Dernoncourt, Doo Soon Kim, Trung Bui, Seokhwan Kim, Walter Chang, and Nazli Goharian. 2018. A discourse-aware attention model for abstractive summarization of long documents. In Proceedings of the 2018 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 2 (Short Papers), pages 615-621, New Orleans, Louisiana. Association for Computational Linguistics.",
|
| 1433 |
+
"Zihang Dai, Zhilin Yang, Yiming Yang, Jaime Carbonell, Quoc V Le, and Ruslan Salakhutdinov. 2019. Transformer-xl: Attentive language models beyond a fixed-length context. arXiv preprint arXiv:1901.02860.",
|
| 1434 |
+
"Tri Dao, Daniel Y. Fu, Stefano Ermon, Atri Rudra, and Christopher Ré. 2022. Flashattention: Fast and memory-efficient exact attention with io-awareness.",
|
| 1435 |
+
"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"
|
| 1436 |
+
],
|
| 1437 |
+
"bbox": [
|
| 1438 |
+
115,
|
| 1439 |
+
105,
|
| 1440 |
+
485,
|
| 1441 |
+
917
|
| 1442 |
+
],
|
| 1443 |
+
"page_idx": 8
|
| 1444 |
+
},
|
| 1445 |
+
{
|
| 1446 |
+
"type": "list",
|
| 1447 |
+
"sub_type": "ref_text",
|
| 1448 |
+
"list_items": [
|
| 1449 |
+
"4171-4186, Minneapolis, Minnesota. Association for Computational Linguistics.",
|
| 1450 |
+
"Alexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn, Xiaohua Zhai, Thomas Unterthiner, Mostafa Dehghani, Matthias Minderer, Georg Heigold, Sylvain Gelly, et al. 2020. An image is worth 16x16 words: Transformers for image recognition at scale. arXiv preprint arXiv:2010.11929.",
|
| 1451 |
+
"Leo Gao, Stella Biderman, Sid Black, Laurence Golding, Travis Hoppe, Charles Foster, Jason Phang, Horace He, Anish Thite, Noa Nabeshima, et al. 2020. The pile: An 800gb dataset of diverse text for language modeling. arXiv preprint arXiv:2101.00027.",
|
| 1452 |
+
"Albert Gu, Tri Dao, Stefano Ermon, Atri Rudra, and Christopher Ré. 2020. Hippo: Recurrent memory with optimal polynomial projections. Advances in neural information processing systems, 33:1474-1487.",
|
| 1453 |
+
"Albert Gu, Karan Goel, and Christopher Ré. 2021. Efficiently modeling long sequences with structured state spaces. arXiv preprint arXiv:2111.00396.",
|
| 1454 |
+
"Mandy Guo, Joshua Ainslie, David Uthus, Santiago Ontanon, Jianmo Ni, Yun-Hsuan Sung, and Yinfei Yang. 2021. Longt5: Efficient text-to-text transformer for long sequences. arXiv preprint arXiv:2112.07916.",
|
| 1455 |
+
"Ankit Gupta, Albert Gu, and Jonathan Berant. 2022. Diagonal state spaces are as effective as structured state spaces. In Advances in Neural Information Processing Systems.",
|
| 1456 |
+
"Pengcheng He, Jianfeng Gao, and Weizhu Chen. 2021a. Debertav3: Improving deberta using electra-style pretraining with gradient-disentangled embedding sharing. arXiv preprint arXiv:2111.09543.",
|
| 1457 |
+
"Pengcheng He, Xiaodong Liu, Jianfeng Gao, and Weizhu Chen. 2021b. Deberta: Decoding-enhanced bert with disentangled attention. In International Conference on Learning Representations.",
|
| 1458 |
+
"Nikita Kitaev, Lukasz Kaiser, and Anselm Levskaya. 2020. Reformer: The efficient transformer. In International Conference on Learning Representations.",
|
| 1459 |
+
"Benjamin Lefaudeau, Francisco Massa, Diana Liskovich, Wenhan Xiong, Vittorio Caggiano, Sean Naren, Min Xu, Jieru Hu, Marta Tintore, Susan Zhang, Patrick Labatut, and Daniel Haziza. 2022. xformers: A modular and hackable transformer modelling library. https://github.com/facebookresearch/xformers.",
|
| 1460 |
+
"Yuhong Li, Tianle Cai, Yi Zhang, Deming Chen, and Debadepta Dey. 2022. What makes convolutional models great on long sequence modeling? arXiv preprint arXiv:2210.09298.",
|
| 1461 |
+
"Chin-Yew Lin. 2004. Rouge: A package for automatic evaluation of summaries. In Text summarization branches out, pages 74-81."
|
| 1462 |
+
],
|
| 1463 |
+
"bbox": [
|
| 1464 |
+
510,
|
| 1465 |
+
85,
|
| 1466 |
+
880,
|
| 1467 |
+
917
|
| 1468 |
+
],
|
| 1469 |
+
"page_idx": 8
|
| 1470 |
+
},
|
| 1471 |
+
{
|
| 1472 |
+
"type": "page_number",
|
| 1473 |
+
"text": "2783",
|
| 1474 |
+
"bbox": [
|
| 1475 |
+
480,
|
| 1476 |
+
928,
|
| 1477 |
+
519,
|
| 1478 |
+
940
|
| 1479 |
+
],
|
| 1480 |
+
"page_idx": 8
|
| 1481 |
+
},
|
| 1482 |
+
{
|
| 1483 |
+
"type": "list",
|
| 1484 |
+
"sub_type": "ref_text",
|
| 1485 |
+
"list_items": [
|
| 1486 |
+
"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.",
|
| 1487 |
+
"Xuezhe Ma, Chunting Zhou, Xiang Kong, Junxian He, Liangke Gui, Graham Neubig, Jonathan May, and Luke Zettlemoyer. 2023. Mega: Moving average equipped gated attention. In *The Eleventh International Conference on Learning Representations*.",
|
| 1488 |
+
"Adam Paszke, Sam Gross, Francisco Massa, Adam Lerer, James Bradbury, Gregory Chanan, Trevor Killeen, Zeming Lin, Natalia Gimelshein, Luca Antiga, Alban Desmaison, Andreas Kopf, Edward Yang, Zachary DeVito, Martin Raison, Alykhan Tejani, Sasank Chilamkurthy, Benoit Steiner, Lu Fang, Junjie Bai, and Soumith Chintala. 2019. Pytorch: An imperative style, high-performance deep learning library. In Advances in Neural Information Processing Systems 32: Annual Conference on Neural Information Processing Systems 2019, NeurIPS 2019, December 8-14, 2019, Vancouver, BC, Canada, pages 8024-8035.",
|
| 1489 |
+
"Hao Peng, Nikolaos Pappas, Dani Yogatama, Roy Schwartz, Noah Smith, and Lingpeng Kong. 2021. Random feature attention. In International Conference on Learning Representations.",
|
| 1490 |
+
"Alec Radford, Jeffrey Wu, Rewon Child, David Luan, Dario Amodei, Ilya Sutskever, et al. 2019. Language models are unsupervised multitask learners. OpenAI blog, 1(8):9.",
|
| 1491 |
+
"Stephen Roller, Emily Dinan, Naman Goyal, Da Ju, Mary Williamson, Yinhan Liu, Jing Xu, Myle Ott, Eric Michael Smith, Y-Lan Boureau, and Jason Weston. 2021. Recipes for building an open-domain chatbot. In Proceedings of the 16th Conference of the European Chapter of the Association for Computational Linguistics: Main Volume, pages 300-325, Online. Association for Computational Linguistics.",
|
| 1492 |
+
"Uri Shaham, Elad Segal, Maor Ivgi, Avia Efrat, Ori Yoran, Adi Haviv, Ankit Gupta, Wenhan Xiong, Mor Geva, Jonathan Berant, et al. 2022. Scrols: Standardized comparison over long language sequences. arXiv preprint arXiv:2201.03533.",
|
| 1493 |
+
"Jimmy T.H. Smith, Andrew Warrington, and Scott Linderman. 2023. Simplified state space layers for sequence modeling. In *The Eleventh International Conference on Learning Representations*.",
|
| 1494 |
+
"Simeng Sun, Kalpesh Krishna, Andrew Mattarella-Micke, and Mohit Iyyer. 2021. Do long-range language models actually use long-range context? arXiv preprint arXiv:2109.09115.",
|
| 1495 |
+
"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."
|
| 1496 |
+
],
|
| 1497 |
+
"bbox": [
|
| 1498 |
+
115,
|
| 1499 |
+
85,
|
| 1500 |
+
489,
|
| 1501 |
+
917
|
| 1502 |
+
],
|
| 1503 |
+
"page_idx": 9
|
| 1504 |
+
},
|
| 1505 |
+
{
|
| 1506 |
+
"type": "list",
|
| 1507 |
+
"sub_type": "ref_text",
|
| 1508 |
+
"list_items": [
|
| 1509 |
+
"Sinong Wang, Belinda Z Li, Madian Khabsa, Han Fang, and Hao Ma. 2020. Linformer: Self-attention with linear complexity. arXiv preprint arXiv:2006.04768.",
|
| 1510 |
+
"Manzil Zaheer, Guru Guruganesh, Kumar Avinava Dubey, Joshua Ainslie, Chris Alberti, Santiago Ontanon, Philip Pham, Anirudh Ravula, Qifan Wang, Li Yang, et al. 2020. Big bird: Transformers for longer sequences. Advances in neural information processing systems, 33:17283-17297.",
|
| 1511 |
+
"Qingru Zhang, Minshuo Chen, Alexander Bukharin, Pengcheng He, Yu Cheng, Weizhu Chen, and Tuo Zhao. 2023. Adaptive budget allocation for parameter-efficient fine-tuning. In The Eleventh International Conference on Learning Representations.",
|
| 1512 |
+
"Simiao Zuo, Xiaodong Liu, Jian Jiao, Denis Charles, Eren Manavoglu, Tuo Zhao, and Jianfeng Gao. 2022. Efficient long sequence modeling via state space augmented transformer. arXiv preprint arXiv:2212.08136."
|
| 1513 |
+
],
|
| 1514 |
+
"bbox": [
|
| 1515 |
+
510,
|
| 1516 |
+
85,
|
| 1517 |
+
882,
|
| 1518 |
+
363
|
| 1519 |
+
],
|
| 1520 |
+
"page_idx": 9
|
| 1521 |
+
},
|
| 1522 |
+
{
|
| 1523 |
+
"type": "page_number",
|
| 1524 |
+
"text": "2784",
|
| 1525 |
+
"bbox": [
|
| 1526 |
+
480,
|
| 1527 |
+
928,
|
| 1528 |
+
519,
|
| 1529 |
+
940
|
| 1530 |
+
],
|
| 1531 |
+
"page_idx": 9
|
| 1532 |
+
},
|
| 1533 |
+
{
|
| 1534 |
+
"type": "text",
|
| 1535 |
+
"text": "A Dataset Statistics",
|
| 1536 |
+
"text_level": 1,
|
| 1537 |
+
"bbox": [
|
| 1538 |
+
114,
|
| 1539 |
+
84,
|
| 1540 |
+
302,
|
| 1541 |
+
99
|
| 1542 |
+
],
|
| 1543 |
+
"page_idx": 10
|
| 1544 |
+
},
|
| 1545 |
+
{
|
| 1546 |
+
"type": "text",
|
| 1547 |
+
"text": "In the following table, we provide the detailed statistics of datasets in our experiments, including example splits and length statistics.",
|
| 1548 |
+
"bbox": [
|
| 1549 |
+
112,
|
| 1550 |
+
109,
|
| 1551 |
+
882,
|
| 1552 |
+
140
|
| 1553 |
+
],
|
| 1554 |
+
"page_idx": 10
|
| 1555 |
+
},
|
| 1556 |
+
{
|
| 1557 |
+
"type": "table",
|
| 1558 |
+
"img_path": "images/688c9a73142a43430e42bbc86a2f8ff6d2437c4538e40f8c8650a7f1a8794af0.jpg",
|
| 1559 |
+
"table_caption": [],
|
| 1560 |
+
"table_footnote": [],
|
| 1561 |
+
"table_body": "<table><tr><td rowspan=\"2\">Dataset</td><td colspan=\"3\">Example Count</td><td colspan=\"3\">Input Length</td></tr><tr><td>Train</td><td>Valid</td><td>Test</td><td>Average</td><td>Median</td><td>90th percentile</td></tr><tr><td>ArXiv</td><td>203,037</td><td>6,436</td><td>6,440</td><td>10,720</td><td>8,519</td><td>20,170</td></tr><tr><td>PubMed</td><td>119,924</td><td>6,633</td><td>6,658</td><td>4,748</td><td>3,883</td><td>8,883</td></tr><tr><td>QMSUM</td><td>1,257</td><td>272</td><td>281</td><td>9,497</td><td>14,197</td><td>27,761</td></tr><tr><td>GovReport</td><td>17,457</td><td>972</td><td>973</td><td>7,886</td><td>8,841</td><td>18,835</td></tr></table>",
|
| 1562 |
+
"bbox": [
|
| 1563 |
+
200,
|
| 1564 |
+
148,
|
| 1565 |
+
796,
|
| 1566 |
+
269
|
| 1567 |
+
],
|
| 1568 |
+
"page_idx": 10
|
| 1569 |
+
},
|
| 1570 |
+
{
|
| 1571 |
+
"type": "text",
|
| 1572 |
+
"text": "B Natural Language Generation",
|
| 1573 |
+
"text_level": 1,
|
| 1574 |
+
"bbox": [
|
| 1575 |
+
112,
|
| 1576 |
+
303,
|
| 1577 |
+
413,
|
| 1578 |
+
319
|
| 1579 |
+
],
|
| 1580 |
+
"page_idx": 10
|
| 1581 |
+
},
|
| 1582 |
+
{
|
| 1583 |
+
"type": "text",
|
| 1584 |
+
"text": "B.1 The Results of All ROUGE Scores",
|
| 1585 |
+
"text_level": 1,
|
| 1586 |
+
"bbox": [
|
| 1587 |
+
114,
|
| 1588 |
+
328,
|
| 1589 |
+
430,
|
| 1590 |
+
343
|
| 1591 |
+
],
|
| 1592 |
+
"page_idx": 10
|
| 1593 |
+
},
|
| 1594 |
+
{
|
| 1595 |
+
"type": "table",
|
| 1596 |
+
"img_path": "images/0835269c3903855cb3d82f836026867f2603cfd3251e27d638513f881b722650.jpg",
|
| 1597 |
+
"table_caption": [
|
| 1598 |
+
"Table 5: Statistics of datasets. Input length measured in tokens using a SentencePiece Model."
|
| 1599 |
+
],
|
| 1600 |
+
"table_footnote": [],
|
| 1601 |
+
"table_body": "<table><tr><td>Methods</td><td>C</td><td>QMSUM</td><td>ArXiv</td><td>GovReport</td></tr><tr><td>Full attention</td><td>1610M</td><td>31.50 / 8.00 / 27.81</td><td>46.13 / 19.32 / 41.89</td><td>60.53 / 28.83 / 57.88</td></tr><tr><td>Window (w=1024)</td><td>402M</td><td>23.31 / 4.32 / 20.62</td><td>35.90 / 13.51 / 32.19</td><td>49.82 / 17.03 / 47.42</td></tr><tr><td>Window (w=2048)</td><td>805M</td><td>26.73 / 5.05 / 23.40</td><td>38.74 / 15.21 / 34.87</td><td>56.14 / 22.79 / 53.50</td></tr><tr><td>Block (b=2048)</td><td>402M</td><td>26.24 / 5.03 / 23.13</td><td>21.85 / 9.61 / 19.86</td><td>26.37 / 12.31 / 25.18</td></tr><tr><td>Block (b=4096)</td><td>805M</td><td>26.96 / 5.15 / 23.85</td><td>35.95 / 14.50 / 32.37</td><td>49.83 / 23.64 / 47.50</td></tr><tr><td>MASFormer (l=4)</td><td>436M</td><td>29.86 / 6.59 / 25.87</td><td>38.85 / 14.91 / 34.98</td><td>46.67 / 18.82 / 44.39</td></tr><tr><td>MASFormer (l=6)</td><td>553M</td><td>30.83 / 7.15 / 27.12</td><td>36.29 / 15.72 / 32.96</td><td>49.26 / 21.20 / 46.89</td></tr><tr><td>MASFormer (l=8)</td><td>671M</td><td>30.91 / 8.00 / 27.81</td><td>43.31 / 17.00 / 39.12</td><td>54.37 / 24.42 / 51.87</td></tr><tr><td>MASFormer (l=12)</td><td>906M</td><td>32.53 / 8.70 / 28.75</td><td>45.19 / 18.58 / 40.72</td><td>56.98 / 26.26 / 54.46</td></tr></table>",
|
| 1602 |
+
"bbox": [
|
| 1603 |
+
122,
|
| 1604 |
+
357,
|
| 1605 |
+
877,
|
| 1606 |
+
556
|
| 1607 |
+
],
|
| 1608 |
+
"page_idx": 10
|
| 1609 |
+
},
|
| 1610 |
+
{
|
| 1611 |
+
"type": "text",
|
| 1612 |
+
"text": "B.2 Training Details",
|
| 1613 |
+
"text_level": 1,
|
| 1614 |
+
"bbox": [
|
| 1615 |
+
114,
|
| 1616 |
+
614,
|
| 1617 |
+
290,
|
| 1618 |
+
630
|
| 1619 |
+
],
|
| 1620 |
+
"page_idx": 10
|
| 1621 |
+
},
|
| 1622 |
+
{
|
| 1623 |
+
"type": "table",
|
| 1624 |
+
"img_path": "images/970356a9f960a9b5a9d13af0c2587d16a39d5b7dd240f8a0c8e97957a5bb66f5.jpg",
|
| 1625 |
+
"table_caption": [
|
| 1626 |
+
"Table 6: Finetuning performance of different attention methods."
|
| 1627 |
+
],
|
| 1628 |
+
"table_footnote": [],
|
| 1629 |
+
"table_body": "<table><tr><td>Methods</td><td>QMSUM</td><td>ArXiv</td><td>GovReport</td></tr><tr><td>Full attention</td><td>1 × 10-5</td><td>1 × 10-4</td><td>1 × 10-4</td></tr><tr><td>Window attention (w=1024)</td><td>5 × 10-4</td><td>5 × 10-5</td><td>5 × 10-4</td></tr><tr><td>Window attention (w=2048)</td><td>5 × 10-5</td><td>5 × 10-5</td><td>1 × 10-4</td></tr><tr><td>Block attention (w=2048)</td><td>1 × 10-4</td><td>1 × 10-5</td><td>1 × 10-5</td></tr><tr><td>Block attention (w=4096)</td><td>5 × 10-5</td><td>5 × 10-4</td><td>1 × 10-5</td></tr><tr><td>MASFormer (l=4)</td><td>5 × 10-5</td><td>1 × 10-3</td><td>5 × 10-4</td></tr><tr><td>MASFormer (l=6)</td><td>5 × 10-5</td><td>5 × 10-5</td><td>5 × 10-4</td></tr><tr><td>MASFormer (l=8)</td><td>5 × 10-5</td><td>5 × 10-4</td><td>5 × 10-4</td></tr><tr><td>MASFormer (l=12)</td><td>1 × 10-5</td><td>1 × 10-4</td><td>1 × 10-4</td></tr></table>",
|
| 1630 |
+
"bbox": [
|
| 1631 |
+
242,
|
| 1632 |
+
645,
|
| 1633 |
+
754,
|
| 1634 |
+
825
|
| 1635 |
+
],
|
| 1636 |
+
"page_idx": 10
|
| 1637 |
+
},
|
| 1638 |
+
{
|
| 1639 |
+
"type": "text",
|
| 1640 |
+
"text": "Table 7: The fine-tuning learning rate of each method on each dataset.",
|
| 1641 |
+
"bbox": [
|
| 1642 |
+
258,
|
| 1643 |
+
834,
|
| 1644 |
+
734,
|
| 1645 |
+
848
|
| 1646 |
+
],
|
| 1647 |
+
"page_idx": 10
|
| 1648 |
+
},
|
| 1649 |
+
{
|
| 1650 |
+
"type": "text",
|
| 1651 |
+
"text": "We conduct continual training for all attention methods with training data form PILE and input length as 8192. After continual training, we obtain the continually trained models for each method and fine-tune them on QMSUM, ArXiv and GovReport to compare their summarization performance. During the",
|
| 1652 |
+
"bbox": [
|
| 1653 |
+
112,
|
| 1654 |
+
871,
|
| 1655 |
+
882,
|
| 1656 |
+
919
|
| 1657 |
+
],
|
| 1658 |
+
"page_idx": 10
|
| 1659 |
+
},
|
| 1660 |
+
{
|
| 1661 |
+
"type": "page_number",
|
| 1662 |
+
"text": "2785",
|
| 1663 |
+
"bbox": [
|
| 1664 |
+
480,
|
| 1665 |
+
928,
|
| 1666 |
+
519,
|
| 1667 |
+
940
|
| 1668 |
+
],
|
| 1669 |
+
"page_idx": 10
|
| 1670 |
+
},
|
| 1671 |
+
{
|
| 1672 |
+
"type": "text",
|
| 1673 |
+
"text": "fine-tuning, we set the input length as 8192 for all datasets and all models. We apply the greedy decoding for generation and set the maximum output length as 256 for QMSUM, 1024 for GovReport, and 512 for ArXiv. Table 8 lists the details of these hyperparameters. Besides, we apply the linear learning rate schedule to fine-tune the models and the base learning rates are summarized in Table 7.",
|
| 1674 |
+
"bbox": [
|
| 1675 |
+
112,
|
| 1676 |
+
84,
|
| 1677 |
+
884,
|
| 1678 |
+
149
|
| 1679 |
+
],
|
| 1680 |
+
"page_idx": 11
|
| 1681 |
+
},
|
| 1682 |
+
{
|
| 1683 |
+
"type": "table",
|
| 1684 |
+
"img_path": "images/ef60230bc5c59c64126a05152ac0512baa6d553e79b62d8a95f8de9c214edb6b.jpg",
|
| 1685 |
+
"table_caption": [],
|
| 1686 |
+
"table_footnote": [],
|
| 1687 |
+
"table_body": "<table><tr><td>Hyperparameter</td><td>QMSUM</td><td>ArXiv</td><td>GovReport</td></tr><tr><td>Training steps</td><td>3000</td><td>12000</td><td>8000</td></tr><tr><td>Batch size</td><td>32</td><td>32</td><td>64</td></tr><tr><td>Input length</td><td>8192</td><td>8192</td><td>8192</td></tr><tr><td>Maximum generation length</td><td>256</td><td>512</td><td>1024</td></tr><tr><td>Weight decay</td><td>0.001</td><td>0.001</td><td>0.001</td></tr></table>",
|
| 1688 |
+
"bbox": [
|
| 1689 |
+
255,
|
| 1690 |
+
160,
|
| 1691 |
+
742,
|
| 1692 |
+
273
|
| 1693 |
+
],
|
| 1694 |
+
"page_idx": 11
|
| 1695 |
+
},
|
| 1696 |
+
{
|
| 1697 |
+
"type": "text",
|
| 1698 |
+
"text": "Table 8: The other fine-tuning parameters for each dataset, which remain the same for every method.",
|
| 1699 |
+
"bbox": [
|
| 1700 |
+
157,
|
| 1701 |
+
284,
|
| 1702 |
+
838,
|
| 1703 |
+
299
|
| 1704 |
+
],
|
| 1705 |
+
"page_idx": 11
|
| 1706 |
+
},
|
| 1707 |
+
{
|
| 1708 |
+
"type": "page_number",
|
| 1709 |
+
"text": "2786",
|
| 1710 |
+
"bbox": [
|
| 1711 |
+
480,
|
| 1712 |
+
928,
|
| 1713 |
+
521,
|
| 1714 |
+
940
|
| 1715 |
+
],
|
| 1716 |
+
"page_idx": 11
|
| 1717 |
+
}
|
| 1718 |
+
]
|
2023/Efficient Long-Range Transformers_ You Need to Attend More, but Not Necessarily at Every Layer/b2cbac77-9108-42c4-9fd3-211395757830_model.json
ADDED
|
@@ -0,0 +1,2270 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
[
|
| 3 |
+
{
|
| 4 |
+
"type": "title",
|
| 5 |
+
"bbox": [
|
| 6 |
+
0.173,
|
| 7 |
+
0.09,
|
| 8 |
+
0.833,
|
| 9 |
+
0.131
|
| 10 |
+
],
|
| 11 |
+
"angle": 0,
|
| 12 |
+
"content": "Efficient Long-Range Transformers: You Need to Attend More, but Not Necessarily at Every Layer"
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"bbox": [
|
| 17 |
+
0.172,
|
| 18 |
+
0.149,
|
| 19 |
+
0.836,
|
| 20 |
+
0.166
|
| 21 |
+
],
|
| 22 |
+
"angle": 0,
|
| 23 |
+
"content": "Qingru Zhang†, Dhananjay Ram, Cole Hawkins, Sheng Zha, Tuo Zhao"
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"bbox": [
|
| 28 |
+
0.269,
|
| 29 |
+
0.167,
|
| 30 |
+
0.735,
|
| 31 |
+
0.183
|
| 32 |
+
],
|
| 33 |
+
"angle": 0,
|
| 34 |
+
"content": "\\(^{\\dagger}\\)Georgia Institute of Technology \\(\\diamond\\) Amazon Web Service"
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"type": "text",
|
| 38 |
+
"bbox": [
|
| 39 |
+
0.329,
|
| 40 |
+
0.185,
|
| 41 |
+
0.674,
|
| 42 |
+
0.2
|
| 43 |
+
],
|
| 44 |
+
"angle": 0,
|
| 45 |
+
"content": "{qingru.zhang,tourzhao}@gatech.edu"
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"type": "text",
|
| 49 |
+
"bbox": [
|
| 50 |
+
0.315,
|
| 51 |
+
0.201,
|
| 52 |
+
0.69,
|
| 53 |
+
0.216
|
| 54 |
+
],
|
| 55 |
+
"angle": 0,
|
| 56 |
+
"content": "{radhna,colehawk,zhasheng}@amazon.com"
|
| 57 |
+
},
|
| 58 |
+
{
|
| 59 |
+
"type": "title",
|
| 60 |
+
"bbox": [
|
| 61 |
+
0.261,
|
| 62 |
+
0.253,
|
| 63 |
+
0.343,
|
| 64 |
+
0.269
|
| 65 |
+
],
|
| 66 |
+
"angle": 0,
|
| 67 |
+
"content": "Abstract"
|
| 68 |
+
},
|
| 69 |
+
{
|
| 70 |
+
"type": "text",
|
| 71 |
+
"bbox": [
|
| 72 |
+
0.145,
|
| 73 |
+
0.275,
|
| 74 |
+
0.461,
|
| 75 |
+
0.744
|
| 76 |
+
],
|
| 77 |
+
"angle": 0,
|
| 78 |
+
"content": "Pretrained transformer models have demonstrated remarkable performance across various natural language processing tasks. These models leverage the attention mechanism to capture long- and short-range dependencies in the sequence. However, the (full) attention mechanism incurs high computational cost – quadratic in the sequence length, which is not affordable in tasks with long sequences, e.g., inputs with 8k tokens. Although sparse attention can be used to improve computational efficiency, as suggested in existing work, it has limited modeling capacity and often fails to capture complicated dependencies in long sequences. To tackle this challenge, we propose MASFormer, an easy-to-implement transformer variant with Mixed Attention Spans. Specifically, MASFormer is equipped with full attention to capture long-range dependencies, but only at a small number of layers. For the remaining layers, MASformer only employs sparse attention to capture short-range dependencies. Our experiments on natural language modeling and generation tasks show that a decoder-only MASFormer model of 1.3B parameters can achieve competitive performance to vanilla transformers with full attention while significantly reducing computational cost (up to \\(75\\%\\)). Additionally, we investigate the effectiveness of continual training with long sequence data and how sequence length impacts downstream generation performance, which may be of independent interest."
|
| 79 |
+
},
|
| 80 |
+
{
|
| 81 |
+
"type": "title",
|
| 82 |
+
"bbox": [
|
| 83 |
+
0.115,
|
| 84 |
+
0.752,
|
| 85 |
+
0.262,
|
| 86 |
+
0.767
|
| 87 |
+
],
|
| 88 |
+
"angle": 0,
|
| 89 |
+
"content": "1 Introduction"
|
| 90 |
+
},
|
| 91 |
+
{
|
| 92 |
+
"type": "text",
|
| 93 |
+
"bbox": [
|
| 94 |
+
0.113,
|
| 95 |
+
0.776,
|
| 96 |
+
0.491,
|
| 97 |
+
0.889
|
| 98 |
+
],
|
| 99 |
+
"angle": 0,
|
| 100 |
+
"content": "Pre-trained transformer models have manifested superior performance in various natural language processing tasks such as natural language modeling (NLM) (Dai et al., 2019; Radford et al., 2019), natural language generation (NLG) (Brown et al., 2020) and natural language understanding (NU) (Devlin et al., 2019; Liu et al., 2019; He et al., 2021b)."
|
| 101 |
+
},
|
| 102 |
+
{
|
| 103 |
+
"type": "text",
|
| 104 |
+
"bbox": [
|
| 105 |
+
0.509,
|
| 106 |
+
0.254,
|
| 107 |
+
0.885,
|
| 108 |
+
0.302
|
| 109 |
+
],
|
| 110 |
+
"angle": 0,
|
| 111 |
+
"content": "These models leverage the attention mechanism (Vaswani et al., 2017) to compute the dependency score for each pair of tokens in an input sequence."
|
| 112 |
+
},
|
| 113 |
+
{
|
| 114 |
+
"type": "text",
|
| 115 |
+
"bbox": [
|
| 116 |
+
0.508,
|
| 117 |
+
0.305,
|
| 118 |
+
0.886,
|
| 119 |
+
0.61
|
| 120 |
+
],
|
| 121 |
+
"angle": 0,
|
| 122 |
+
"content": "Some practical tasks require these transformer models to handle long-sequence inputs like 8k tokens. For example, chatbot systems gather long-term contexts of user interactions to generate informative texts (Roller et al., 2021). Summarization for news, government reports, and academic papers request models to take inputs of long sequences to generate comprehensive summaries (Shaham et al., 2022), otherwise models often miss important information. Note that typical transformer models apply full attention to capture token dependencies pair-wise. It leads to a quadratic time and space complexity w.r.t. input length. However, such a complexity is prohibitive for long sequences. In particular, it incurs massive memory consumption during the back propagation. For example, a transformer model with 250M parameters consumes over 80G GPU memory when sequence length is 8k (Zuo et al., 2022)."
|
| 123 |
+
},
|
| 124 |
+
{
|
| 125 |
+
"type": "text",
|
| 126 |
+
"bbox": [
|
| 127 |
+
0.508,
|
| 128 |
+
0.614,
|
| 129 |
+
0.887,
|
| 130 |
+
0.92
|
| 131 |
+
],
|
| 132 |
+
"angle": 0,
|
| 133 |
+
"content": "To address this scalability issue, various approaches have been proposed to reduce the complexity. One approach is sparse attention, which restricts each token to attend a subset of tokens based on predefined sparsity patterns (Beltagy et al., 2020; Zaheer et al., 2020; Ainslie et al., 2020). For instance, block sparse attention (Kitaev et al., 2020; Ma et al., 2023) divides the input sequence into several blocks, and only intra-block attention is performed. Besides, sliding-window attention (Beltagy et al., 2020; Zaheer et al., 2020; Ainslie et al., 2020) allows each token to attend to its neighboring tokens within a sliding window. These methods, though reducing the complexity of full attention, cannot sufficiently capture long-range dependencies. Other variants, such as kernel approximation (Peng et al., 2021) and low-rank approximation (Wang et al., 2020; Chen et al., 2021) methods, share the similar spirit and drawbacks. To com"
|
| 134 |
+
},
|
| 135 |
+
{
|
| 136 |
+
"type": "page_footnote",
|
| 137 |
+
"bbox": [
|
| 138 |
+
0.114,
|
| 139 |
+
0.893,
|
| 140 |
+
0.488,
|
| 141 |
+
0.918
|
| 142 |
+
],
|
| 143 |
+
"angle": 0,
|
| 144 |
+
"content": "* Work was done during Qingru Zhang's internship at Amazon Web Service."
|
| 145 |
+
},
|
| 146 |
+
{
|
| 147 |
+
"type": "page_number",
|
| 148 |
+
"bbox": [
|
| 149 |
+
0.48,
|
| 150 |
+
0.928,
|
| 151 |
+
0.522,
|
| 152 |
+
0.941
|
| 153 |
+
],
|
| 154 |
+
"angle": 0,
|
| 155 |
+
"content": "2775"
|
| 156 |
+
},
|
| 157 |
+
{
|
| 158 |
+
"type": "footer",
|
| 159 |
+
"bbox": [
|
| 160 |
+
0.218,
|
| 161 |
+
0.946,
|
| 162 |
+
0.781,
|
| 163 |
+
0.973
|
| 164 |
+
],
|
| 165 |
+
"angle": 0,
|
| 166 |
+
"content": "Findings of the Association for Computational Linguistics: EMNLP 2023, pages 2775-2786 December 6-10, 2023 ©2023 Association for Computational Linguistics"
|
| 167 |
+
}
|
| 168 |
+
],
|
| 169 |
+
[
|
| 170 |
+
{
|
| 171 |
+
"type": "text",
|
| 172 |
+
"bbox": [
|
| 173 |
+
0.113,
|
| 174 |
+
0.085,
|
| 175 |
+
0.488,
|
| 176 |
+
0.198
|
| 177 |
+
],
|
| 178 |
+
"angle": 0,
|
| 179 |
+
"content": "pensate for the lack of long-range dependencies, LongT5 (Guo et al., 2021) introduces global tokens that are obtained by average pooling on every block of tokens (Ainslie et al., 2020). However, the block pooling operations can weaken the signal of crucial tokens and prevent the long-range dependencies from being detected."
|
| 180 |
+
},
|
| 181 |
+
{
|
| 182 |
+
"type": "text",
|
| 183 |
+
"bbox": [
|
| 184 |
+
0.117,
|
| 185 |
+
0.205,
|
| 186 |
+
0.49,
|
| 187 |
+
0.493
|
| 188 |
+
],
|
| 189 |
+
"angle": 0,
|
| 190 |
+
"content": "In addition to these methods, state space models (SSMs) prespecify global dependency patterns to capture the long-range dependencies only (Gu et al., 2020, 2021; Li et al., 2022; Zuo et al., 2022; Ma et al., 2023; Smith et al., 2023). These models can be regarded as linear recurrent neural networks with specifically designed fixed weights. As tailored for global dependencies, SSMs fail to effectively capture local dependencies. In order to combine both local and global dependencies, SPADE (Zuo et al., 2022) and MEGA (Ma et al., 2023) augment SSM layers into transformer layers equipped with local attention. However, state space methods require sophisticated implementation, and often encounter computational instability during the back propagation, especially when scaling up to large model size (Gupta et al., 2022). SPADE and MEGA hence inherit these drawbacks."
|
| 191 |
+
},
|
| 192 |
+
{
|
| 193 |
+
"type": "text",
|
| 194 |
+
"bbox": [
|
| 195 |
+
0.117,
|
| 196 |
+
0.502,
|
| 197 |
+
0.49,
|
| 198 |
+
0.919
|
| 199 |
+
],
|
| 200 |
+
"angle": 0,
|
| 201 |
+
"content": "Note that the aforementioned methods apply same attention mechanism for every layer. We challenge this conventional wisdom and propose a transformer variant - MASFormer (Mixed Attention Span Transformer). MASFormer utilizes full attention only at a subset of layers whereas employs sparse attention at the remaining layers. Our design is motivated by the phenomenon - that most contexts in NLP data display a great deal of locality of reference (Zaheer et al., 2020; Beltagy et al., 2020). That is, most of information about a token can be derived from its neighboring tokens. In contrast, long-range dependencies among tokens are sparse and infrequent. Consider an academic paper as an example. Within a paragraph, there exist numerous short-term dependencies. Neighboring tokens are closely connected to convey meaningful semantics. Across paragraphs, there can be a small number of long-range dependencies. For example, tokens associated to the primary theme of the paper exhibit rare and weak dependencies across a long span. Since long-range dependencies occur much less frequently, a few layers of full attention are adequate to capture them. In stark contrast, short-term dependencies are more frequent, necessitating local attention in the majority of layers to fully extract"
|
| 202 |
+
},
|
| 203 |
+
{
|
| 204 |
+
"type": "text",
|
| 205 |
+
"bbox": [
|
| 206 |
+
0.51,
|
| 207 |
+
0.085,
|
| 208 |
+
0.612,
|
| 209 |
+
0.1
|
| 210 |
+
],
|
| 211 |
+
"angle": 0,
|
| 212 |
+
"content": "these signals."
|
| 213 |
+
},
|
| 214 |
+
{
|
| 215 |
+
"type": "text",
|
| 216 |
+
"bbox": [
|
| 217 |
+
0.508,
|
| 218 |
+
0.108,
|
| 219 |
+
0.885,
|
| 220 |
+
0.382
|
| 221 |
+
],
|
| 222 |
+
"angle": 0,
|
| 223 |
+
"content": "To demonstrate the effectiveness of MASFormer, We conduct experiments on natural language modeling (ArXiv and PubMed Cohen et al. (2018)) and natural language generation (ArXiv, Cohen et al. (2018) and SCROLLS, Shaham et al. (2022)) tasks. Specifically, we compare the performance of MASFormer to other attention methods using a pretrained GPT-2 model (Radford et al., 2019) of 1.3 billion parameters. Our empirical results demonstrate that MASFormer consistently outperforms baseline methods across different attention cost (i.e. the total number of computed attention scores). In particular, MASFormer can achieve comparable performance to full attention while significantly reducing the computational cost. For example, with \\(27\\%\\) of its attention cost, MASFormer achieves a close R2 score as full attention on QMSUM dataset."
|
| 224 |
+
},
|
| 225 |
+
{
|
| 226 |
+
"type": "text",
|
| 227 |
+
"bbox": [
|
| 228 |
+
0.508,
|
| 229 |
+
0.386,
|
| 230 |
+
0.885,
|
| 231 |
+
0.919
|
| 232 |
+
],
|
| 233 |
+
"angle": 0,
|
| 234 |
+
"content": "We also make additional discoveries with MASFormer, which are of independent interest. Firstly, we investigate the effectiveness of continual training for long sequence modeling. Many publicly available models are pre-trained with sequences shorter than 2048, and often fail to perform well on longer sequences (e.g. 8k/16k tokens). To bridge the gap, we explore the option of continual training to adapt these models to long sequences, thereby avoiding pre-training from the scratch. We discuss its effectiveness with MASFormer in Section 4.3. Secondly, we showcase that increasing sequence length can yield more performance gains on downstream tasks than NLM tasks evaluated by perplexity. We are aware of the recent findings by Sun et al. (2021) that increasing context length exhibits limited impact on NLM perplexity. Nevertheless, when applying MASFormer to downstream tasks like long-context summarization, we find that model performance benefits significantly from extending context length. Such a difference arises from the fact that predicting the next tokens in NLM primarily relies on locality of reference. Capturing infrequent long-range tokens can improve perplexity but not significantly. Therefore, we emphasize the necessity to evaluate model performance on downstream tasks that require long-range dependencies. Furthermore, our empirical evidence suggests that increasing the length can improve the performance only if models possess sufficient capability to handle additional long-range information. Local attention, as a counterexample, often fails to capture long-range signals and hence"
|
| 235 |
+
},
|
| 236 |
+
{
|
| 237 |
+
"type": "page_number",
|
| 238 |
+
"bbox": [
|
| 239 |
+
0.481,
|
| 240 |
+
0.929,
|
| 241 |
+
0.521,
|
| 242 |
+
0.941
|
| 243 |
+
],
|
| 244 |
+
"angle": 0,
|
| 245 |
+
"content": "2776"
|
| 246 |
+
}
|
| 247 |
+
],
|
| 248 |
+
[
|
| 249 |
+
{
|
| 250 |
+
"type": "text",
|
| 251 |
+
"bbox": [
|
| 252 |
+
0.114,
|
| 253 |
+
0.085,
|
| 254 |
+
0.414,
|
| 255 |
+
0.1
|
| 256 |
+
],
|
| 257 |
+
"angle": 0,
|
| 258 |
+
"content": "benefits much less from long sequences."
|
| 259 |
+
},
|
| 260 |
+
{
|
| 261 |
+
"type": "title",
|
| 262 |
+
"bbox": [
|
| 263 |
+
0.114,
|
| 264 |
+
0.113,
|
| 265 |
+
0.257,
|
| 266 |
+
0.129
|
| 267 |
+
],
|
| 268 |
+
"angle": 0,
|
| 269 |
+
"content": "2 Background"
|
| 270 |
+
},
|
| 271 |
+
{
|
| 272 |
+
"type": "title",
|
| 273 |
+
"bbox": [
|
| 274 |
+
0.114,
|
| 275 |
+
0.139,
|
| 276 |
+
0.39,
|
| 277 |
+
0.155
|
| 278 |
+
],
|
| 279 |
+
"angle": 0,
|
| 280 |
+
"content": "2.1 Pretrained Language Models"
|
| 281 |
+
},
|
| 282 |
+
{
|
| 283 |
+
"type": "text",
|
| 284 |
+
"bbox": [
|
| 285 |
+
0.113,
|
| 286 |
+
0.16,
|
| 287 |
+
0.488,
|
| 288 |
+
0.32
|
| 289 |
+
],
|
| 290 |
+
"angle": 0,
|
| 291 |
+
"content": "Pre-trained transformer models (Devlin et al., 2019; Liu et al., 2019; Brown et al., 2020; Dosovitskiy et al., 2020; He et al., 2021b,a) have manifested superior performance in various NLP tasks. These models are often pre-trained on enormous amounts of unlabeled data in a unsupervised/self-supervised manner such that they can learn rich semantic knowledge. By further fine-tuning these pre-trained models, we can effectively transfer such knowledge to benefit downstream tasks (Zhang et al., 2023)."
|
| 292 |
+
},
|
| 293 |
+
{
|
| 294 |
+
"type": "text",
|
| 295 |
+
"bbox": [
|
| 296 |
+
0.113,
|
| 297 |
+
0.322,
|
| 298 |
+
0.489,
|
| 299 |
+
0.482
|
| 300 |
+
],
|
| 301 |
+
"angle": 0,
|
| 302 |
+
"content": "Existing research on long-range transformers commonly requires pre-training the proposed models from scratch to accommodate new architectures and long inputs (Guo et al., 2021; Zuo et al., 2022). However, the significant training overheads raise a barrier for the widespread utilization of these methods across different language models. Motivated by this, we explore the possibility of leveraging existing pre-trained models and adapting them to long sequences though continual training."
|
| 303 |
+
},
|
| 304 |
+
{
|
| 305 |
+
"type": "title",
|
| 306 |
+
"bbox": [
|
| 307 |
+
0.114,
|
| 308 |
+
0.494,
|
| 309 |
+
0.332,
|
| 310 |
+
0.508
|
| 311 |
+
],
|
| 312 |
+
"angle": 0,
|
| 313 |
+
"content": "2.2 Attention Mechanism"
|
| 314 |
+
},
|
| 315 |
+
{
|
| 316 |
+
"type": "text",
|
| 317 |
+
"bbox": [
|
| 318 |
+
0.113,
|
| 319 |
+
0.514,
|
| 320 |
+
0.487,
|
| 321 |
+
0.562
|
| 322 |
+
],
|
| 323 |
+
"angle": 0,
|
| 324 |
+
"content": "Suppose the input to the layer is \\(X\\in \\mathbb{R}^{n\\times d}\\), where \\(n\\) is the input sequence length and \\(d\\) is embedding dimension, then self-attention mechanism outputs"
|
| 325 |
+
},
|
| 326 |
+
{
|
| 327 |
+
"type": "equation",
|
| 328 |
+
"bbox": [
|
| 329 |
+
0.174,
|
| 330 |
+
0.57,
|
| 331 |
+
0.488,
|
| 332 |
+
0.607
|
| 333 |
+
],
|
| 334 |
+
"angle": 0,
|
| 335 |
+
"content": "\\[\n\\operatorname {A t t n} (X) = \\operatorname {s o f t m a x} \\left(\\frac {Q K ^ {\\top}}{\\sqrt {d}}\\right) V \\tag {1}\n\\]"
|
| 336 |
+
},
|
| 337 |
+
{
|
| 338 |
+
"type": "text",
|
| 339 |
+
"bbox": [
|
| 340 |
+
0.113,
|
| 341 |
+
0.613,
|
| 342 |
+
0.489,
|
| 343 |
+
0.773
|
| 344 |
+
],
|
| 345 |
+
"angle": 0,
|
| 346 |
+
"content": "where \\( Q = XW_{q}, K = XW_{k}, V = VW_{v} \\) and \\( W_{q}, W_{k}, W_{v} \\) are learnable projection weights. Such full attention can simultaneously evaluate the alignment between any pair of tokens in the sequence. Specifically, denote the attention score \\( A = \\text{softmax}(QK^{\\top} / \\sqrt{d}) \\), then \\( A_{ij} \\) captures the alignment between tokens \\( i \\) and \\( j \\). A typical transformer model applies the full attention at every layer. Denote the number of layers as \\( L \\). Then its attention cost is \\( Ln^{2} \\)."
|
| 347 |
+
},
|
| 348 |
+
{
|
| 349 |
+
"type": "text",
|
| 350 |
+
"bbox": [
|
| 351 |
+
0.113,
|
| 352 |
+
0.775,
|
| 353 |
+
0.489,
|
| 354 |
+
0.919
|
| 355 |
+
],
|
| 356 |
+
"angle": 0,
|
| 357 |
+
"content": "Sparse attention variants are introduced to mitigate the computational cost of full attention. Figures 1a and 1b illustrates the attention patterns of block sparse attention and sliding-window attention. For instance, block sparse attention divides tokens into blocks of size \\( b \\) and performs intrablock attention only, resulting in an attention cost of \\( bn \\). Sliding-window attention allows each token to attend its left/right neighboring tokens within a"
|
| 358 |
+
},
|
| 359 |
+
{
|
| 360 |
+
"type": "text",
|
| 361 |
+
"bbox": [
|
| 362 |
+
0.508,
|
| 363 |
+
0.085,
|
| 364 |
+
0.882,
|
| 365 |
+
0.133
|
| 366 |
+
],
|
| 367 |
+
"angle": 0,
|
| 368 |
+
"content": "local window of size \\( w \\). In most of cases, block sparse attention exhibits similar performance as sliding-window attention (Zuo et al., 2022)."
|
| 369 |
+
},
|
| 370 |
+
{
|
| 371 |
+
"type": "title",
|
| 372 |
+
"bbox": [
|
| 373 |
+
0.509,
|
| 374 |
+
0.141,
|
| 375 |
+
0.673,
|
| 376 |
+
0.158
|
| 377 |
+
],
|
| 378 |
+
"angle": 0,
|
| 379 |
+
"content": "3 Our Approach"
|
| 380 |
+
},
|
| 381 |
+
{
|
| 382 |
+
"type": "text",
|
| 383 |
+
"bbox": [
|
| 384 |
+
0.508,
|
| 385 |
+
0.163,
|
| 386 |
+
0.884,
|
| 387 |
+
0.211
|
| 388 |
+
],
|
| 389 |
+
"angle": 0,
|
| 390 |
+
"content": "We present our method - MASFormer, a long-range transformer variant that mixes different attention spans across layers."
|
| 391 |
+
},
|
| 392 |
+
{
|
| 393 |
+
"type": "title",
|
| 394 |
+
"bbox": [
|
| 395 |
+
0.509,
|
| 396 |
+
0.217,
|
| 397 |
+
0.842,
|
| 398 |
+
0.234
|
| 399 |
+
],
|
| 400 |
+
"angle": 0,
|
| 401 |
+
"content": "3.1 MASFormer: Mixed Attention Span"
|
| 402 |
+
},
|
| 403 |
+
{
|
| 404 |
+
"type": "text",
|
| 405 |
+
"bbox": [
|
| 406 |
+
0.507,
|
| 407 |
+
0.238,
|
| 408 |
+
0.884,
|
| 409 |
+
0.495
|
| 410 |
+
],
|
| 411 |
+
"angle": 0,
|
| 412 |
+
"content": "MASFormer leverages full attention exclusively at a subset of transformer layers, whereas it employs block sparse attention at the remaining layers. The structure of MASFormer is illustrated in Figure 1c. We choose full attention to encode long-range information due to the following reasons: (i) full attention exhibits superior capability to capture long-range dependencies compared to sparse attention; (ii) full attention does not require sophisticated implementation and hence is computationally stable compared to SSMs (Zuo et al., 2022; Gupta et al., 2022); (iii) full attention is compatible with existing pre-trained transformer models, enabling us to conduct continual training which we elaborate in Section 3.2. To mitigate the computational cost, we restrict the number of layers using full attention."
|
| 413 |
+
},
|
| 414 |
+
{
|
| 415 |
+
"type": "text",
|
| 416 |
+
"bbox": [
|
| 417 |
+
0.508,
|
| 418 |
+
0.496,
|
| 419 |
+
0.884,
|
| 420 |
+
0.72
|
| 421 |
+
],
|
| 422 |
+
"angle": 0,
|
| 423 |
+
"content": "MASFormer is motivated by empirical investigations on performance comparison between models that apply the same attention span at every layer. Figure 2 presents the performance of block sparse attention and full attention on language modeling and summarization tasks. We find that, given long-sequence inputs, sparse attention is often insufficient to capture long-range dependencies beyond its attention span. As a result, it shows unsatisfactory performance. To remedy it, one can either increase attention span or switch to full attention to improve model capability of capturing sophisticated dependencies. Though improving model performance, it incurs high computational cost."
|
| 424 |
+
},
|
| 425 |
+
{
|
| 426 |
+
"type": "text",
|
| 427 |
+
"bbox": [
|
| 428 |
+
0.508,
|
| 429 |
+
0.721,
|
| 430 |
+
0.884,
|
| 431 |
+
0.897
|
| 432 |
+
],
|
| 433 |
+
"angle": 0,
|
| 434 |
+
"content": "Confronting such a trade-off between computational cost and model performance, we challenge the common practice - that applies the same attention span at every layer. MASFormer provides an alternative solution. Instead of increasing attention span evenly, MASFormer allocates a large portion of attention computations to a subset of \\( l \\) layers by equipping them with full attention. Specifically, equipping bottom layers with full attention can yield the best performance as suggested by our empirical analysis in Section 4.3<sup>1</sup>. At the remain-"
|
| 435 |
+
},
|
| 436 |
+
{
|
| 437 |
+
"type": "page_footnote",
|
| 438 |
+
"bbox": [
|
| 439 |
+
0.531,
|
| 440 |
+
0.905,
|
| 441 |
+
0.828,
|
| 442 |
+
0.919
|
| 443 |
+
],
|
| 444 |
+
"angle": 0,
|
| 445 |
+
"content": "1Please see Section 4.3 for detailed explanations"
|
| 446 |
+
},
|
| 447 |
+
{
|
| 448 |
+
"type": "page_number",
|
| 449 |
+
"bbox": [
|
| 450 |
+
0.481,
|
| 451 |
+
0.928,
|
| 452 |
+
0.521,
|
| 453 |
+
0.941
|
| 454 |
+
],
|
| 455 |
+
"angle": 0,
|
| 456 |
+
"content": "2777"
|
| 457 |
+
}
|
| 458 |
+
],
|
| 459 |
+
[
|
| 460 |
+
{
|
| 461 |
+
"type": "image",
|
| 462 |
+
"bbox": [
|
| 463 |
+
0.118,
|
| 464 |
+
0.114,
|
| 465 |
+
0.257,
|
| 466 |
+
0.212
|
| 467 |
+
],
|
| 468 |
+
"angle": 0,
|
| 469 |
+
"content": null
|
| 470 |
+
},
|
| 471 |
+
{
|
| 472 |
+
"type": "image_caption",
|
| 473 |
+
"bbox": [
|
| 474 |
+
0.126,
|
| 475 |
+
0.239,
|
| 476 |
+
0.247,
|
| 477 |
+
0.252
|
| 478 |
+
],
|
| 479 |
+
"angle": 0,
|
| 480 |
+
"content": "(a) Block Attention"
|
| 481 |
+
},
|
| 482 |
+
{
|
| 483 |
+
"type": "image",
|
| 484 |
+
"bbox": [
|
| 485 |
+
0.266,
|
| 486 |
+
0.114,
|
| 487 |
+
0.408,
|
| 488 |
+
0.212
|
| 489 |
+
],
|
| 490 |
+
"angle": 0,
|
| 491 |
+
"content": null
|
| 492 |
+
},
|
| 493 |
+
{
|
| 494 |
+
"type": "image_caption",
|
| 495 |
+
"bbox": [
|
| 496 |
+
0.268,
|
| 497 |
+
0.239,
|
| 498 |
+
0.404,
|
| 499 |
+
0.252
|
| 500 |
+
],
|
| 501 |
+
"angle": 0,
|
| 502 |
+
"content": "(b) Window Attention"
|
| 503 |
+
},
|
| 504 |
+
{
|
| 505 |
+
"type": "image",
|
| 506 |
+
"bbox": [
|
| 507 |
+
0.424,
|
| 508 |
+
0.086,
|
| 509 |
+
0.882,
|
| 510 |
+
0.234
|
| 511 |
+
],
|
| 512 |
+
"angle": 0,
|
| 513 |
+
"content": null
|
| 514 |
+
},
|
| 515 |
+
{
|
| 516 |
+
"type": "image_caption",
|
| 517 |
+
"bbox": [
|
| 518 |
+
0.601,
|
| 519 |
+
0.239,
|
| 520 |
+
0.702,
|
| 521 |
+
0.252
|
| 522 |
+
],
|
| 523 |
+
"angle": 0,
|
| 524 |
+
"content": "(c) MASFormer"
|
| 525 |
+
},
|
| 526 |
+
{
|
| 527 |
+
"type": "image_caption",
|
| 528 |
+
"bbox": [
|
| 529 |
+
0.113,
|
| 530 |
+
0.256,
|
| 531 |
+
0.882,
|
| 532 |
+
0.285
|
| 533 |
+
],
|
| 534 |
+
"angle": 0,
|
| 535 |
+
"content": "Figure 1: Illustration of attention patterns of (a) block sparse attention with block size \\( b = 3 \\); (b) sliding-window attention with window size \\( w = 1 \\) (on each side); (c) MASFormer that integrates full and sparse attention."
|
| 536 |
+
},
|
| 537 |
+
{
|
| 538 |
+
"type": "image",
|
| 539 |
+
"bbox": [
|
| 540 |
+
0.126,
|
| 541 |
+
0.301,
|
| 542 |
+
0.299,
|
| 543 |
+
0.395
|
| 544 |
+
],
|
| 545 |
+
"angle": 0,
|
| 546 |
+
"content": null
|
| 547 |
+
},
|
| 548 |
+
{
|
| 549 |
+
"type": "image_caption",
|
| 550 |
+
"bbox": [
|
| 551 |
+
0.152,
|
| 552 |
+
0.398,
|
| 553 |
+
0.272,
|
| 554 |
+
0.41
|
| 555 |
+
],
|
| 556 |
+
"angle": 0,
|
| 557 |
+
"content": "(a) NLM for ArXiv"
|
| 558 |
+
},
|
| 559 |
+
{
|
| 560 |
+
"type": "image",
|
| 561 |
+
"bbox": [
|
| 562 |
+
0.318,
|
| 563 |
+
0.301,
|
| 564 |
+
0.49,
|
| 565 |
+
0.395
|
| 566 |
+
],
|
| 567 |
+
"angle": 0,
|
| 568 |
+
"content": null
|
| 569 |
+
},
|
| 570 |
+
{
|
| 571 |
+
"type": "image_caption",
|
| 572 |
+
"bbox": [
|
| 573 |
+
0.336,
|
| 574 |
+
0.398,
|
| 575 |
+
0.471,
|
| 576 |
+
0.41
|
| 577 |
+
],
|
| 578 |
+
"angle": 0,
|
| 579 |
+
"content": "(b) NLM for PubMed"
|
| 580 |
+
},
|
| 581 |
+
{
|
| 582 |
+
"type": "image",
|
| 583 |
+
"bbox": [
|
| 584 |
+
0.509,
|
| 585 |
+
0.301,
|
| 586 |
+
0.681,
|
| 587 |
+
0.395
|
| 588 |
+
],
|
| 589 |
+
"angle": 0,
|
| 590 |
+
"content": null
|
| 591 |
+
},
|
| 592 |
+
{
|
| 593 |
+
"type": "image_caption",
|
| 594 |
+
"bbox": [
|
| 595 |
+
0.536,
|
| 596 |
+
0.398,
|
| 597 |
+
0.653,
|
| 598 |
+
0.41
|
| 599 |
+
],
|
| 600 |
+
"angle": 0,
|
| 601 |
+
"content": "(c) Sum. for ArXiv"
|
| 602 |
+
},
|
| 603 |
+
{
|
| 604 |
+
"type": "image",
|
| 605 |
+
"bbox": [
|
| 606 |
+
0.702,
|
| 607 |
+
0.301,
|
| 608 |
+
0.871,
|
| 609 |
+
0.395
|
| 610 |
+
],
|
| 611 |
+
"angle": 0,
|
| 612 |
+
"content": null
|
| 613 |
+
},
|
| 614 |
+
{
|
| 615 |
+
"type": "image_caption",
|
| 616 |
+
"bbox": [
|
| 617 |
+
0.712,
|
| 618 |
+
0.398,
|
| 619 |
+
0.86,
|
| 620 |
+
0.412
|
| 621 |
+
],
|
| 622 |
+
"angle": 0,
|
| 623 |
+
"content": "(d) Sum. for GovReport"
|
| 624 |
+
},
|
| 625 |
+
{
|
| 626 |
+
"type": "image_caption",
|
| 627 |
+
"bbox": [
|
| 628 |
+
0.113,
|
| 629 |
+
0.415,
|
| 630 |
+
0.882,
|
| 631 |
+
0.459
|
| 632 |
+
],
|
| 633 |
+
"angle": 0,
|
| 634 |
+
"content": "Figure 2: (a,b): We evaluate the perplexity of a pre-trained GPT-2 model with block attention of differnet block size after continual training. (c,d): We fine-tune a GPT-2 model with block attention and compare the summarization performance on ArXiv and GovReport under different block size. Here the input length \\( n \\) is 8192."
|
| 635 |
+
},
|
| 636 |
+
{
|
| 637 |
+
"type": "text",
|
| 638 |
+
"bbox": [
|
| 639 |
+
0.113,
|
| 640 |
+
0.467,
|
| 641 |
+
0.489,
|
| 642 |
+
0.674
|
| 643 |
+
],
|
| 644 |
+
"angle": 0,
|
| 645 |
+
"content": "ing layers, MASFormer utilizes block attention of small size \\( m \\), resulting in a controlled attention cost of \\( (L - l)mn + ln^2 \\). As mentioned in Section 1, such a design is inspired by the phenomenon that most of contexts in NLP data exhibit a great deal of locality of reference. Long-range dependencies, in contrast, are less frequent. Therefore, it is not necessary to enhance attention span at every layer. Instead, a few layers of full attention are sufficient to capture infrequent long-range signals. The majority of layers can maintain small attention spans to adequately extract local dependencies and control the attention cost."
|
| 646 |
+
},
|
| 647 |
+
{
|
| 648 |
+
"type": "text",
|
| 649 |
+
"bbox": [
|
| 650 |
+
0.113,
|
| 651 |
+
0.677,
|
| 652 |
+
0.489,
|
| 653 |
+
0.806
|
| 654 |
+
],
|
| 655 |
+
"angle": 0,
|
| 656 |
+
"content": "Our empirical results demonstrate that, with the same attention cost, MASFormer significantly outperforms sparse attention. Remarkably, MASFormer can achieve comparable performance to full attention while substantially reducing computational cost. Therefore, by mixing different attention spans, MASFormer strikes a better balance between computational cost and model performance."
|
| 657 |
+
},
|
| 658 |
+
{
|
| 659 |
+
"type": "text",
|
| 660 |
+
"bbox": [
|
| 661 |
+
0.113,
|
| 662 |
+
0.807,
|
| 663 |
+
0.489,
|
| 664 |
+
0.919
|
| 665 |
+
],
|
| 666 |
+
"angle": 0,
|
| 667 |
+
"content": "Moreover, MASFormer offers additional implementation advantages. As using the same attention function, MASFormer is easy to implement and compatible with existing pre-trained models. We can build MASFormer upon pre-trained transformers by changing their attention patterns, which does not involve modification on model architectures"
|
| 668 |
+
},
|
| 669 |
+
{
|
| 670 |
+
"type": "text",
|
| 671 |
+
"bbox": [
|
| 672 |
+
0.508,
|
| 673 |
+
0.467,
|
| 674 |
+
0.884,
|
| 675 |
+
0.545
|
| 676 |
+
],
|
| 677 |
+
"angle": 0,
|
| 678 |
+
"content": "and pre-trained weights. Meanwhile, acceleration packages, such as FlashAttention (Dao et al., 2022) and xFormers (Lefaudeauux et al., 2022), are applicable to further accelerate the computation of block attention and full attention in MASFormer."
|
| 679 |
+
},
|
| 680 |
+
{
|
| 681 |
+
"type": "title",
|
| 682 |
+
"bbox": [
|
| 683 |
+
0.509,
|
| 684 |
+
0.56,
|
| 685 |
+
0.878,
|
| 686 |
+
0.575
|
| 687 |
+
],
|
| 688 |
+
"angle": 0,
|
| 689 |
+
"content": "3.2 Continual Training with Long Sequences"
|
| 690 |
+
},
|
| 691 |
+
{
|
| 692 |
+
"type": "text",
|
| 693 |
+
"bbox": [
|
| 694 |
+
0.507,
|
| 695 |
+
0.582,
|
| 696 |
+
0.884,
|
| 697 |
+
0.919
|
| 698 |
+
],
|
| 699 |
+
"angle": 0,
|
| 700 |
+
"content": "As mentioned, MASFormer can be implemented upon majority of pre-trained transformers by modifying their attention patterns. However, most of publicly available models are pre-trained with sequences shorter than 2048, and often exhibit subpar performance on longer sequences such as \\(8\\mathrm{k} / 16\\mathrm{k}\\). To bridge this gap, we propose the continual training to adapt the revised model on long sequences and new attention pattern. As such, we can preserve existing pre-trained knowledge and circumvent the intensive overheads of pre-training from scratch. In particular, we first modify the attention pattern of the target model as proposed by MASFormer. If the pre-trained model uses absolute position embeddings, we duplicate them to accommodate long sequences. Subsequently, we provide the revised model with long sequences (e.g., 8k) from pretraining corpus like PILE (Gao et al., 2020). Then we conduct continual pre-training using casual language modeling (CLM) objective. We discuss the effectiveness of continual training in Section 4.3."
|
| 701 |
+
},
|
| 702 |
+
{
|
| 703 |
+
"type": "page_number",
|
| 704 |
+
"bbox": [
|
| 705 |
+
0.481,
|
| 706 |
+
0.928,
|
| 707 |
+
0.521,
|
| 708 |
+
0.941
|
| 709 |
+
],
|
| 710 |
+
"angle": 0,
|
| 711 |
+
"content": "2778"
|
| 712 |
+
}
|
| 713 |
+
],
|
| 714 |
+
[
|
| 715 |
+
{
|
| 716 |
+
"type": "title",
|
| 717 |
+
"bbox": [
|
| 718 |
+
0.114,
|
| 719 |
+
0.085,
|
| 720 |
+
0.26,
|
| 721 |
+
0.101
|
| 722 |
+
],
|
| 723 |
+
"angle": 0,
|
| 724 |
+
"content": "4 Experiments"
|
| 725 |
+
},
|
| 726 |
+
{
|
| 727 |
+
"type": "text",
|
| 728 |
+
"bbox": [
|
| 729 |
+
0.113,
|
| 730 |
+
0.107,
|
| 731 |
+
0.49,
|
| 732 |
+
0.331
|
| 733 |
+
],
|
| 734 |
+
"angle": 0,
|
| 735 |
+
"content": "We evaluate the effectiveness and efficiency of MASFormer on natural language modeling (ArXiv and PubMed, Cohan et al. (2018)), natural language generation (ArXiv Cohan et al. (2018), QMSUM and GovReport Shaham et al. (2022)). We choose the GPT-3 XL model architecture (Brown et al., 2020) as our base model, which consists of 1.3 billion parameters and 24 layers and is pre-trained on PIL (Gao et al., 2020) for 300 billion tokens. GPT is a general purpose model that can be applied to many tasks instead of tailoring them for specific tasks. As such, it makes easy to control experiments and showcase the difference among various methods."
|
| 736 |
+
},
|
| 737 |
+
{
|
| 738 |
+
"type": "text",
|
| 739 |
+
"bbox": [
|
| 740 |
+
0.113,
|
| 741 |
+
0.334,
|
| 742 |
+
0.49,
|
| 743 |
+
0.51
|
| 744 |
+
],
|
| 745 |
+
"angle": 0,
|
| 746 |
+
"content": "Implementation Details. Our base model uses absolute positional embeddings with maximum length 1024. To accommodate longer inputs, we duplicate its positional embeddings to have the maximum length as 8192 such that the model can handle sequences containing up to 8192 tokens. Then, we implement different attention methods by modifying the attention pattern of the base model. We implement all the models with PyTorch (Paszke et al., 2019). All the experiments are conducted on NVIDIA A100 GPUs."
|
| 747 |
+
},
|
| 748 |
+
{
|
| 749 |
+
"type": "text",
|
| 750 |
+
"bbox": [
|
| 751 |
+
0.113,
|
| 752 |
+
0.512,
|
| 753 |
+
0.49,
|
| 754 |
+
0.689
|
| 755 |
+
],
|
| 756 |
+
"angle": 0,
|
| 757 |
+
"content": "Continual Training Details. After changing the attention pattern, we conduct the continual training for MASFormer and baseline methods on PILE corpus (Gao et al., 2020) to adapt the revised models to new attention patterns and long-sequence inputs. We leverage the casual language modeling (CLM) objective to train the model for 50,000 steps with a warmup of 2000 steps. We set the input length as 8192 and use a batch size of 128 such that the models are optimized with 1M tokens per step. We use the constant learning 0.0001 for all methods."
|
| 758 |
+
},
|
| 759 |
+
{
|
| 760 |
+
"type": "text",
|
| 761 |
+
"bbox": [
|
| 762 |
+
0.114,
|
| 763 |
+
0.691,
|
| 764 |
+
0.49,
|
| 765 |
+
0.722
|
| 766 |
+
],
|
| 767 |
+
"angle": 0,
|
| 768 |
+
"content": "Baseline. We compare MASFormer with the following methods:"
|
| 769 |
+
},
|
| 770 |
+
{
|
| 771 |
+
"type": "text",
|
| 772 |
+
"bbox": [
|
| 773 |
+
0.114,
|
| 774 |
+
0.725,
|
| 775 |
+
0.488,
|
| 776 |
+
0.821
|
| 777 |
+
],
|
| 778 |
+
"angle": 0,
|
| 779 |
+
"content": "- All full attention is to apply full attention at every layer. It has been adopted by most of existing transformer models as default. Although incurring the maximum attention cost, it achieves the best performance for most of our tasks. Hence, it acts as an upper bound for other methods."
|
| 780 |
+
},
|
| 781 |
+
{
|
| 782 |
+
"type": "text",
|
| 783 |
+
"bbox": [
|
| 784 |
+
0.114,
|
| 785 |
+
0.823,
|
| 786 |
+
0.49,
|
| 787 |
+
0.919
|
| 788 |
+
],
|
| 789 |
+
"angle": 0,
|
| 790 |
+
"content": "- All block sparse attention is to apply block attention at every layer, which is an effective method to reduce computational cost when modeling long sequences. Block attention sets the attention span of each layer identical such that it evenly distributes the budget of attention computation across layers."
|
| 791 |
+
},
|
| 792 |
+
{
|
| 793 |
+
"type": "list",
|
| 794 |
+
"bbox": [
|
| 795 |
+
0.114,
|
| 796 |
+
0.725,
|
| 797 |
+
0.49,
|
| 798 |
+
0.919
|
| 799 |
+
],
|
| 800 |
+
"angle": 0,
|
| 801 |
+
"content": null
|
| 802 |
+
},
|
| 803 |
+
{
|
| 804 |
+
"type": "text",
|
| 805 |
+
"bbox": [
|
| 806 |
+
0.509,
|
| 807 |
+
0.085,
|
| 808 |
+
0.885,
|
| 809 |
+
0.149
|
| 810 |
+
],
|
| 811 |
+
"angle": 0,
|
| 812 |
+
"content": "- All sliding-window attention is to apply sliding-window attention at every layer, which is another variant of sparse attention. It shares the similar spirits and often performs similarly as block attention."
|
| 813 |
+
},
|
| 814 |
+
{
|
| 815 |
+
"type": "text",
|
| 816 |
+
"bbox": [
|
| 817 |
+
0.508,
|
| 818 |
+
0.151,
|
| 819 |
+
0.885,
|
| 820 |
+
0.311
|
| 821 |
+
],
|
| 822 |
+
"angle": 0,
|
| 823 |
+
"content": "In the following experiments, we compare MAS-Former and the baseline methods across different attention cost \\( \\mathcal{C} \\). That is, for all block sparse attention, we set the block size as \\( b = \\mathcal{C} / (Ln) \\). For all sliding-window attention, we choose the window size as \\( w = \\mathcal{C} / (2Ln) \\). For MASFormer, we apply a small block size \\( m = 1024 \\) for its block attention and set \\( l \\) as \\( (\\mathcal{C} - Lmn) / (n^2 - mn) \\). Then we observe how their performance evolves when enhancing the attention cost \\( \\mathcal{C} \\) or input length \\( n \\)."
|
| 824 |
+
},
|
| 825 |
+
{
|
| 826 |
+
"type": "text",
|
| 827 |
+
"bbox": [
|
| 828 |
+
0.509,
|
| 829 |
+
0.312,
|
| 830 |
+
0.884,
|
| 831 |
+
0.343
|
| 832 |
+
],
|
| 833 |
+
"angle": 0,
|
| 834 |
+
"content": "Experiment Overview. We briefly summarize the experimental contents as follows:"
|
| 835 |
+
},
|
| 836 |
+
{
|
| 837 |
+
"type": "text",
|
| 838 |
+
"bbox": [
|
| 839 |
+
0.509,
|
| 840 |
+
0.345,
|
| 841 |
+
0.884,
|
| 842 |
+
0.393
|
| 843 |
+
],
|
| 844 |
+
"angle": 0,
|
| 845 |
+
"content": "- Section 4.1 presents the perplexity evaluation of all the models on ArXiv and PubMed after continual training."
|
| 846 |
+
},
|
| 847 |
+
{
|
| 848 |
+
"type": "text",
|
| 849 |
+
"bbox": [
|
| 850 |
+
0.509,
|
| 851 |
+
0.395,
|
| 852 |
+
0.885,
|
| 853 |
+
0.49
|
| 854 |
+
],
|
| 855 |
+
"angle": 0,
|
| 856 |
+
"content": "- Section 4.2 compares the summarization performance of the models on ArXiv, QMSUM, and GovReport after fine-tuning. Besides, we also discuss the difference between perplexity and downstream evaluation in reflecting model capacity to capture long-range dependencies."
|
| 857 |
+
},
|
| 858 |
+
{
|
| 859 |
+
"type": "text",
|
| 860 |
+
"bbox": [
|
| 861 |
+
0.509,
|
| 862 |
+
0.492,
|
| 863 |
+
0.886,
|
| 864 |
+
0.636
|
| 865 |
+
],
|
| 866 |
+
"angle": 0,
|
| 867 |
+
"content": "- Section 4.3 provides three crucial analyses: (i) we evaluate the benefits of increasing input length and discuss the requirements to attain these gains; (ii) we analyze the effectiveness of continual training for long-sequence modeling; (iii) we conduct an ablation study to demonstrate that equipping bottom layers with full attention yields the most significant performance gains than other options. We further provide the explanations."
|
| 868 |
+
},
|
| 869 |
+
{
|
| 870 |
+
"type": "list",
|
| 871 |
+
"bbox": [
|
| 872 |
+
0.509,
|
| 873 |
+
0.345,
|
| 874 |
+
0.886,
|
| 875 |
+
0.636
|
| 876 |
+
],
|
| 877 |
+
"angle": 0,
|
| 878 |
+
"content": null
|
| 879 |
+
},
|
| 880 |
+
{
|
| 881 |
+
"type": "title",
|
| 882 |
+
"bbox": [
|
| 883 |
+
0.509,
|
| 884 |
+
0.65,
|
| 885 |
+
0.78,
|
| 886 |
+
0.666
|
| 887 |
+
],
|
| 888 |
+
"angle": 0,
|
| 889 |
+
"content": "4.1 Natural Language Modeling"
|
| 890 |
+
},
|
| 891 |
+
{
|
| 892 |
+
"type": "title",
|
| 893 |
+
"bbox": [
|
| 894 |
+
0.509,
|
| 895 |
+
0.673,
|
| 896 |
+
0.819,
|
| 897 |
+
0.687
|
| 898 |
+
],
|
| 899 |
+
"angle": 0,
|
| 900 |
+
"content": "4.1.1 Datasets and Evaluation Details"
|
| 901 |
+
},
|
| 902 |
+
{
|
| 903 |
+
"type": "text",
|
| 904 |
+
"bbox": [
|
| 905 |
+
0.508,
|
| 906 |
+
0.694,
|
| 907 |
+
0.885,
|
| 908 |
+
0.837
|
| 909 |
+
],
|
| 910 |
+
"angle": 0,
|
| 911 |
+
"content": "Datasets. We evaluate the perplexity of the updated GPT-2 for each attention method after continual training. The evaluation is conducted on test sets of ArXiv and PubMed (Cohan et al., 2018). Table 5 presents the statistics of these two datasets. Pubmed consists of scientific documents, with a document's content used as input and its corresponding abstract as the target summary. ArXiv is similar to PubMed, with documents from arXiv."
|
| 912 |
+
},
|
| 913 |
+
{
|
| 914 |
+
"type": "text",
|
| 915 |
+
"bbox": [
|
| 916 |
+
0.508,
|
| 917 |
+
0.839,
|
| 918 |
+
0.884,
|
| 919 |
+
0.919
|
| 920 |
+
],
|
| 921 |
+
"angle": 0,
|
| 922 |
+
"content": "Evaluation Details. We conduct the perplexity evaluation under two settings. (i) We calculate the perplexity (ppl.) with all documents from test sets. Table 1 presents the overall perplexity of different models on two datasets. (ii) To showcase"
|
| 923 |
+
},
|
| 924 |
+
{
|
| 925 |
+
"type": "page_number",
|
| 926 |
+
"bbox": [
|
| 927 |
+
0.481,
|
| 928 |
+
0.928,
|
| 929 |
+
0.521,
|
| 930 |
+
0.941
|
| 931 |
+
],
|
| 932 |
+
"angle": 0,
|
| 933 |
+
"content": "2779"
|
| 934 |
+
}
|
| 935 |
+
],
|
| 936 |
+
[
|
| 937 |
+
{
|
| 938 |
+
"type": "image",
|
| 939 |
+
"bbox": [
|
| 940 |
+
0.216,
|
| 941 |
+
0.068,
|
| 942 |
+
0.488,
|
| 943 |
+
0.215
|
| 944 |
+
],
|
| 945 |
+
"angle": 0,
|
| 946 |
+
"content": null
|
| 947 |
+
},
|
| 948 |
+
{
|
| 949 |
+
"type": "image_caption",
|
| 950 |
+
"bbox": [
|
| 951 |
+
0.306,
|
| 952 |
+
0.217,
|
| 953 |
+
0.393,
|
| 954 |
+
0.228
|
| 955 |
+
],
|
| 956 |
+
"angle": 0,
|
| 957 |
+
"content": "(a) ArXiv ppl."
|
| 958 |
+
},
|
| 959 |
+
{
|
| 960 |
+
"type": "image",
|
| 961 |
+
"bbox": [
|
| 962 |
+
0.509,
|
| 963 |
+
0.068,
|
| 964 |
+
0.782,
|
| 965 |
+
0.215
|
| 966 |
+
],
|
| 967 |
+
"angle": 0,
|
| 968 |
+
"content": null
|
| 969 |
+
},
|
| 970 |
+
{
|
| 971 |
+
"type": "image_caption",
|
| 972 |
+
"bbox": [
|
| 973 |
+
0.593,
|
| 974 |
+
0.216,
|
| 975 |
+
0.694,
|
| 976 |
+
0.228
|
| 977 |
+
],
|
| 978 |
+
"angle": 0,
|
| 979 |
+
"content": "(b) PubMed ppl."
|
| 980 |
+
},
|
| 981 |
+
{
|
| 982 |
+
"type": "image_caption",
|
| 983 |
+
"bbox": [
|
| 984 |
+
0.113,
|
| 985 |
+
0.23,
|
| 986 |
+
0.882,
|
| 987 |
+
0.259
|
| 988 |
+
],
|
| 989 |
+
"angle": 0,
|
| 990 |
+
"content": "Figure 3: Perplexity evaluation on ArXiv and PubMed with examples of different length. Here \\( x \\)-axis is the maximum document length of each subset, i.e., \\( k \\times 1024 \\) (\\( k = 1, 2, 3, \\ldots \\))."
|
| 991 |
+
},
|
| 992 |
+
{
|
| 993 |
+
"type": "text",
|
| 994 |
+
"bbox": [
|
| 995 |
+
0.112,
|
| 996 |
+
0.267,
|
| 997 |
+
0.49,
|
| 998 |
+
0.395
|
| 999 |
+
],
|
| 1000 |
+
"angle": 0,
|
| 1001 |
+
"content": "the varying behaviors of models on documents of different length, we divide all documents into several subsets according to their length. Each subset consists of examples, whose length is within \\(((k - 1)\\times 1024,k\\times 1024](k = 1,2,3,\\ldots)\\). Then, we evaluate the perplexity on each subset. Figure 3 presents the perplexity of models on different subsets of examples."
|
| 1002 |
+
},
|
| 1003 |
+
{
|
| 1004 |
+
"type": "title",
|
| 1005 |
+
"bbox": [
|
| 1006 |
+
0.114,
|
| 1007 |
+
0.404,
|
| 1008 |
+
0.233,
|
| 1009 |
+
0.417
|
| 1010 |
+
],
|
| 1011 |
+
"angle": 0,
|
| 1012 |
+
"content": "4.1.2 Results"
|
| 1013 |
+
},
|
| 1014 |
+
{
|
| 1015 |
+
"type": "text",
|
| 1016 |
+
"bbox": [
|
| 1017 |
+
0.113,
|
| 1018 |
+
0.422,
|
| 1019 |
+
0.49,
|
| 1020 |
+
0.599
|
| 1021 |
+
],
|
| 1022 |
+
"angle": 0,
|
| 1023 |
+
"content": "Table 1 compares the overall perplexity on test sets of ArXiv and PubMed. The results suggest that, with \\( l = 4 \\) layers of full attention, MASFormer achieves comparable performance to all full attention, while reducing \\( 72\\% \\) of its attention cost. With the similar attention cost \\( \\mathcal{C} \\), MASFormer outperforms all block attention that evenly distributes the budget of attention computation. For example, MASFormer with \\( l = 2 \\) achieves 8.75 ppl. on PubMed, which is 1.37 lower than that of block attention of \\( b = 2048 \\)."
|
| 1024 |
+
},
|
| 1025 |
+
{
|
| 1026 |
+
"type": "table",
|
| 1027 |
+
"bbox": [
|
| 1028 |
+
0.12,
|
| 1029 |
+
0.607,
|
| 1030 |
+
0.481,
|
| 1031 |
+
0.75
|
| 1032 |
+
],
|
| 1033 |
+
"angle": 0,
|
| 1034 |
+
"content": "<table><tr><td>Methods</td><td>C</td><td>ArXiv</td><td>PubMed</td></tr><tr><td>Full attention</td><td>1,610M</td><td>8.63</td><td>7.63</td></tr><tr><td>Block (b=1024)</td><td>201M</td><td>13.19</td><td>12.19</td></tr><tr><td>Block (b=2048)</td><td>402M</td><td>10.75</td><td>10.13</td></tr><tr><td>MASFormer (l=2)</td><td>318M</td><td>10.25</td><td>8.75</td></tr><tr><td>MASFormer (l=4)</td><td>436M</td><td>9.31</td><td>8.25</td></tr><tr><td>MASFormer (l=8)</td><td>671M</td><td>9.63</td><td>8.25</td></tr></table>"
|
| 1035 |
+
},
|
| 1036 |
+
{
|
| 1037 |
+
"type": "table_caption",
|
| 1038 |
+
"bbox": [
|
| 1039 |
+
0.116,
|
| 1040 |
+
0.753,
|
| 1041 |
+
0.484,
|
| 1042 |
+
0.768
|
| 1043 |
+
],
|
| 1044 |
+
"angle": 0,
|
| 1045 |
+
"content": "Table 1: Perplexity evaluation on ArXiv and PubMed."
|
| 1046 |
+
},
|
| 1047 |
+
{
|
| 1048 |
+
"type": "text",
|
| 1049 |
+
"bbox": [
|
| 1050 |
+
0.113,
|
| 1051 |
+
0.775,
|
| 1052 |
+
0.49,
|
| 1053 |
+
0.92
|
| 1054 |
+
],
|
| 1055 |
+
"angle": 0,
|
| 1056 |
+
"content": "Figure 3 illustrates the perplexity variation of each method given examples of different length. We can tell that MASFormer and full attention show better performance on longer documents, suggesting increasing context length can improve their prediction performance. Full attention, though incurring the highest attention cost, always achieves the best performance due to its outstanding capability to handle sophisticated dependencies. Notably,"
|
| 1057 |
+
},
|
| 1058 |
+
{
|
| 1059 |
+
"type": "text",
|
| 1060 |
+
"bbox": [
|
| 1061 |
+
0.508,
|
| 1062 |
+
0.267,
|
| 1063 |
+
0.885,
|
| 1064 |
+
0.429
|
| 1065 |
+
],
|
| 1066 |
+
"angle": 0,
|
| 1067 |
+
"content": "with \\(27\\%\\) of its attention cost, MASFormer exhibits a curve of ppl. v.s. length that closely resembles to that of full attention. This demonstrates the effectiveness and efficiency of MASFormer to capture long-range dependencies. In contrast, block sparse attention benefits much less from long contexts and underperforms both of them because of its incapability to encode long-range signals. For example, when \\(b = 1024\\), block attention achieves similar perplexity on PubMed examples of different length."
|
| 1068 |
+
},
|
| 1069 |
+
{
|
| 1070 |
+
"type": "title",
|
| 1071 |
+
"bbox": [
|
| 1072 |
+
0.509,
|
| 1073 |
+
0.438,
|
| 1074 |
+
0.794,
|
| 1075 |
+
0.454
|
| 1076 |
+
],
|
| 1077 |
+
"angle": 0,
|
| 1078 |
+
"content": "4.2 Natural Language Generation"
|
| 1079 |
+
},
|
| 1080 |
+
{
|
| 1081 |
+
"type": "title",
|
| 1082 |
+
"bbox": [
|
| 1083 |
+
0.509,
|
| 1084 |
+
0.459,
|
| 1085 |
+
0.802,
|
| 1086 |
+
0.475
|
| 1087 |
+
],
|
| 1088 |
+
"angle": 0,
|
| 1089 |
+
"content": "4.2.1 Datasets and Training Details"
|
| 1090 |
+
},
|
| 1091 |
+
{
|
| 1092 |
+
"type": "text",
|
| 1093 |
+
"bbox": [
|
| 1094 |
+
0.508,
|
| 1095 |
+
0.479,
|
| 1096 |
+
0.885,
|
| 1097 |
+
0.639
|
| 1098 |
+
],
|
| 1099 |
+
"angle": 0,
|
| 1100 |
+
"content": "Datasets. We evaluate the downstream performance of models on several abstractive summarization tasks to compare their capability of handling long sequences in practice. Specifically, we fine-tune models on ArXiv (Cohan et al., 2018), QM-SUM and GovReport (from SCROLLS benchmark, Shaham et al. (2022)). Their statistics are summarized in Table 5. We mainly use ROUGE-2 (R2) score (Lin, 2004) as the evaluation metric, which is more important and sensitive than R1 and RL."
|
| 1101 |
+
},
|
| 1102 |
+
{
|
| 1103 |
+
"type": "text",
|
| 1104 |
+
"bbox": [
|
| 1105 |
+
0.508,
|
| 1106 |
+
0.643,
|
| 1107 |
+
0.884,
|
| 1108 |
+
0.835
|
| 1109 |
+
],
|
| 1110 |
+
"angle": 0,
|
| 1111 |
+
"content": "Training Details. After continual training, we fine-tune each model and report R2 scores on validation sets. Specifically, we fine-tune models for 3000 steps on QMSUM, 8000 steps on GovReport, and 12000 steps on ArXiv. We set the batch size as 64 for ArXiv and 32 for QMSUM and GovReport. We pick the learning rates from \\(\\{1 \\times 10^{-5}, 5 \\times 10^{-5}, 1 \\times 10^{-4}, 5 \\times 10^{-4}\\}\\), and choose the optimal ones to report the performance of each method. Moreover, the input length is fixed as 8192. We apply the greedy decoding for generation. Please see Appendix B for more details."
|
| 1112 |
+
},
|
| 1113 |
+
{
|
| 1114 |
+
"type": "title",
|
| 1115 |
+
"bbox": [
|
| 1116 |
+
0.509,
|
| 1117 |
+
0.846,
|
| 1118 |
+
0.628,
|
| 1119 |
+
0.859
|
| 1120 |
+
],
|
| 1121 |
+
"angle": 0,
|
| 1122 |
+
"content": "4.2.2 Results"
|
| 1123 |
+
},
|
| 1124 |
+
{
|
| 1125 |
+
"type": "text",
|
| 1126 |
+
"bbox": [
|
| 1127 |
+
0.508,
|
| 1128 |
+
0.864,
|
| 1129 |
+
0.882,
|
| 1130 |
+
0.896
|
| 1131 |
+
],
|
| 1132 |
+
"angle": 0,
|
| 1133 |
+
"content": "In Table \\(2^{2}\\) and Figure 4, we present the fine-tuning results on QMSUM, ArXiv and GovReport across"
|
| 1134 |
+
},
|
| 1135 |
+
{
|
| 1136 |
+
"type": "page_footnote",
|
| 1137 |
+
"bbox": [
|
| 1138 |
+
0.53,
|
| 1139 |
+
0.904,
|
| 1140 |
+
0.881,
|
| 1141 |
+
0.919
|
| 1142 |
+
],
|
| 1143 |
+
"angle": 0,
|
| 1144 |
+
"content": "2Please see Table 6 in Appendix B for all ROUGE scores."
|
| 1145 |
+
},
|
| 1146 |
+
{
|
| 1147 |
+
"type": "page_number",
|
| 1148 |
+
"bbox": [
|
| 1149 |
+
0.481,
|
| 1150 |
+
0.928,
|
| 1151 |
+
0.521,
|
| 1152 |
+
0.941
|
| 1153 |
+
],
|
| 1154 |
+
"angle": 0,
|
| 1155 |
+
"content": "2780"
|
| 1156 |
+
}
|
| 1157 |
+
],
|
| 1158 |
+
[
|
| 1159 |
+
{
|
| 1160 |
+
"type": "image",
|
| 1161 |
+
"bbox": [
|
| 1162 |
+
0.135,
|
| 1163 |
+
0.083,
|
| 1164 |
+
0.365,
|
| 1165 |
+
0.209
|
| 1166 |
+
],
|
| 1167 |
+
"angle": 0,
|
| 1168 |
+
"content": null
|
| 1169 |
+
},
|
| 1170 |
+
{
|
| 1171 |
+
"type": "image_caption",
|
| 1172 |
+
"bbox": [
|
| 1173 |
+
0.218,
|
| 1174 |
+
0.213,
|
| 1175 |
+
0.279,
|
| 1176 |
+
0.226
|
| 1177 |
+
],
|
| 1178 |
+
"angle": 0,
|
| 1179 |
+
"content": "(a) ArXiv"
|
| 1180 |
+
},
|
| 1181 |
+
{
|
| 1182 |
+
"type": "image",
|
| 1183 |
+
"bbox": [
|
| 1184 |
+
0.382,
|
| 1185 |
+
0.081,
|
| 1186 |
+
0.613,
|
| 1187 |
+
0.208
|
| 1188 |
+
],
|
| 1189 |
+
"angle": 0,
|
| 1190 |
+
"content": null
|
| 1191 |
+
},
|
| 1192 |
+
{
|
| 1193 |
+
"type": "image_caption",
|
| 1194 |
+
"bbox": [
|
| 1195 |
+
0.456,
|
| 1196 |
+
0.213,
|
| 1197 |
+
0.537,
|
| 1198 |
+
0.226
|
| 1199 |
+
],
|
| 1200 |
+
"angle": 0,
|
| 1201 |
+
"content": "(b) QMSUM"
|
| 1202 |
+
},
|
| 1203 |
+
{
|
| 1204 |
+
"type": "image",
|
| 1205 |
+
"bbox": [
|
| 1206 |
+
0.631,
|
| 1207 |
+
0.083,
|
| 1208 |
+
0.862,
|
| 1209 |
+
0.209
|
| 1210 |
+
],
|
| 1211 |
+
"angle": 0,
|
| 1212 |
+
"content": null
|
| 1213 |
+
},
|
| 1214 |
+
{
|
| 1215 |
+
"type": "image_caption",
|
| 1216 |
+
"bbox": [
|
| 1217 |
+
0.7,
|
| 1218 |
+
0.213,
|
| 1219 |
+
0.791,
|
| 1220 |
+
0.226
|
| 1221 |
+
],
|
| 1222 |
+
"angle": 0,
|
| 1223 |
+
"content": "(c) GovReport"
|
| 1224 |
+
},
|
| 1225 |
+
{
|
| 1226 |
+
"type": "image_caption",
|
| 1227 |
+
"bbox": [
|
| 1228 |
+
0.114,
|
| 1229 |
+
0.231,
|
| 1230 |
+
0.882,
|
| 1231 |
+
0.259
|
| 1232 |
+
],
|
| 1233 |
+
"angle": 0,
|
| 1234 |
+
"content": "Figure 4: Given input length as 8192, we compare summarization performance between MASFormer and block/full attention when increasing the attention cost."
|
| 1235 |
+
},
|
| 1236 |
+
{
|
| 1237 |
+
"type": "table",
|
| 1238 |
+
"bbox": [
|
| 1239 |
+
0.116,
|
| 1240 |
+
0.273,
|
| 1241 |
+
0.49,
|
| 1242 |
+
0.472
|
| 1243 |
+
],
|
| 1244 |
+
"angle": 0,
|
| 1245 |
+
"content": "<table><tr><td>Methods</td><td>C</td><td>QMSUM</td><td>ArXiv</td><td>GovReport</td></tr><tr><td>Full attention</td><td>1610M</td><td>8.00</td><td>19.32</td><td>28.83</td></tr><tr><td>Window(w=1024)</td><td>402M</td><td>4.32</td><td>13.51</td><td>17.03</td></tr><tr><td>Block(b=2048)</td><td>402M</td><td>5.03</td><td>9.61</td><td>12.31</td></tr><tr><td>MASFormer(l=4)</td><td>436M</td><td>6.59</td><td>14.91</td><td>18.82</td></tr><tr><td>Window(w=2048)</td><td>805M</td><td>5.05</td><td>15.21</td><td>22.79</td></tr><tr><td>Block(b=4096)</td><td>805M</td><td>5.15</td><td>14.50</td><td>23.64</td></tr><tr><td>MASFormer(l=6)</td><td>553M</td><td>7.15</td><td>15.72</td><td>21.20</td></tr><tr><td>MASFormer(l=8)</td><td>671M</td><td>7.46</td><td>17.00</td><td>24.42</td></tr><tr><td>MASFormer(l=12)</td><td>906M</td><td>8.70</td><td>18.58</td><td>26.26</td></tr></table>"
|
| 1246 |
+
},
|
| 1247 |
+
{
|
| 1248 |
+
"type": "table_caption",
|
| 1249 |
+
"bbox": [
|
| 1250 |
+
0.114,
|
| 1251 |
+
0.476,
|
| 1252 |
+
0.489,
|
| 1253 |
+
0.518
|
| 1254 |
+
],
|
| 1255 |
+
"angle": 0,
|
| 1256 |
+
"content": "Table 2: Summarization performance of models with different attention methods. The best results are shown in bold."
|
| 1257 |
+
},
|
| 1258 |
+
{
|
| 1259 |
+
"type": "text",
|
| 1260 |
+
"bbox": [
|
| 1261 |
+
0.113,
|
| 1262 |
+
0.53,
|
| 1263 |
+
0.49,
|
| 1264 |
+
0.773
|
| 1265 |
+
],
|
| 1266 |
+
"angle": 0,
|
| 1267 |
+
"content": "different attention cost. The results demonstrate that, with the similar attention cost, MASFormer significantly outperforms sparse attention variants. Furthermore, when enhancing attention cost, MASFormer achieves greater performance gains than sparse attention methods. This is evident from the steeper slope of its R2 curve versus attention cost, in contrast to the baseline method. For example, when increasing \\(\\mathcal{C}\\) form 553M to 671M, the R2 score of MASFormer on QMSUM exhibits a substantial improvement, reaching 8.70 from 7.46. Remarkably, this score surpasses even that of full attention. Therefore, MASFormer addresses the trade-off between computational cost and performance gains in a more efficient and effective way."
|
| 1268 |
+
},
|
| 1269 |
+
{
|
| 1270 |
+
"type": "text",
|
| 1271 |
+
"bbox": [
|
| 1272 |
+
0.113,
|
| 1273 |
+
0.775,
|
| 1274 |
+
0.49,
|
| 1275 |
+
0.92
|
| 1276 |
+
],
|
| 1277 |
+
"angle": 0,
|
| 1278 |
+
"content": "Notice that, in order to achieve comparable summarization performance to full attention, MAS-Former needs at least \\( l = 8 \\) layers of full attention, and providing more can lead to more gains. This observation is different from the findings in NLM (Figure 3) that increasing \\( l \\) beyond 4 provides limited improvement in perplexity. Their different capacity requirements arise from the fact that predicting next tokens in NLM primarily relies on lo"
|
| 1279 |
+
},
|
| 1280 |
+
{
|
| 1281 |
+
"type": "text",
|
| 1282 |
+
"bbox": [
|
| 1283 |
+
0.508,
|
| 1284 |
+
0.268,
|
| 1285 |
+
0.885,
|
| 1286 |
+
0.332
|
| 1287 |
+
],
|
| 1288 |
+
"angle": 0,
|
| 1289 |
+
"content": "cal dependencies. Capturing infrequent long-range tokens does not significantly improve perplexity. Thus, this discrepancy emphasizes the necessity to evaluate long-range models on downstream tasks."
|
| 1290 |
+
},
|
| 1291 |
+
{
|
| 1292 |
+
"type": "title",
|
| 1293 |
+
"bbox": [
|
| 1294 |
+
0.509,
|
| 1295 |
+
0.345,
|
| 1296 |
+
0.623,
|
| 1297 |
+
0.361
|
| 1298 |
+
],
|
| 1299 |
+
"angle": 0,
|
| 1300 |
+
"content": "4.3 Analysis"
|
| 1301 |
+
},
|
| 1302 |
+
{
|
| 1303 |
+
"type": "title",
|
| 1304 |
+
"bbox": [
|
| 1305 |
+
0.508,
|
| 1306 |
+
0.368,
|
| 1307 |
+
0.878,
|
| 1308 |
+
0.384
|
| 1309 |
+
],
|
| 1310 |
+
"angle": 0,
|
| 1311 |
+
"content": "4.3.1 Benefits of Increasing Sequence Length"
|
| 1312 |
+
},
|
| 1313 |
+
{
|
| 1314 |
+
"type": "text",
|
| 1315 |
+
"bbox": [
|
| 1316 |
+
0.507,
|
| 1317 |
+
0.389,
|
| 1318 |
+
0.885,
|
| 1319 |
+
0.596
|
| 1320 |
+
],
|
| 1321 |
+
"angle": 0,
|
| 1322 |
+
"content": "In this section, we investigate the benefits of increasing input length for downstream performance. Specifically, we select the input length from \\(\\{2048, 4096, 6144, 8192\\}\\) and present the fine-tuning performance of full attention in Figure 5. The results consistently demonstrate that as the input length increases, the model's performance improves. That is, downstream performance benefits significantly from long-sequence inputs. In contrast, increasing example length beyond \\(6k\\) results in marginal improvements in perplexity (See Figure 3), highlighting again the importance of downstream evaluation."
|
| 1323 |
+
},
|
| 1324 |
+
{
|
| 1325 |
+
"type": "text",
|
| 1326 |
+
"bbox": [
|
| 1327 |
+
0.508,
|
| 1328 |
+
0.599,
|
| 1329 |
+
0.887,
|
| 1330 |
+
0.777
|
| 1331 |
+
],
|
| 1332 |
+
"angle": 0,
|
| 1333 |
+
"content": "In addition, when comparing the behaviors of block attention in Figure 2c and 2d, we find that sparse attention often insufficiently capitalize on the benefits offered by longer inputs. For instance, given block size as 4096, its performance on ArXiv remains nearly unchanged when increasing input length from 4096 (R2 = 15.52 in Figure 5a) to 8192 (R2 = 14.49 in Figure 2c). This finding suggests that enhancing input length can only improve model performance if the model possesses the sufficient capability to handle long-range dependencies."
|
| 1334 |
+
},
|
| 1335 |
+
{
|
| 1336 |
+
"type": "title",
|
| 1337 |
+
"bbox": [
|
| 1338 |
+
0.508,
|
| 1339 |
+
0.787,
|
| 1340 |
+
0.848,
|
| 1341 |
+
0.802
|
| 1342 |
+
],
|
| 1343 |
+
"angle": 0,
|
| 1344 |
+
"content": "4.3.2 Effectiveness of Continual Training"
|
| 1345 |
+
},
|
| 1346 |
+
{
|
| 1347 |
+
"type": "text",
|
| 1348 |
+
"bbox": [
|
| 1349 |
+
0.508,
|
| 1350 |
+
0.807,
|
| 1351 |
+
0.885,
|
| 1352 |
+
0.919
|
| 1353 |
+
],
|
| 1354 |
+
"angle": 0,
|
| 1355 |
+
"content": "We analyze the effectiveness of continual training by comparing fine-tuning performance of MAS-Former \\((l = 8)\\) under the following settings: (i) MASFormer without continual training (w.o. C.T.); (ii) MASFormer continually trained with short inputs (C.T. \\((n = 2048)\\)); (iii) MASFormer continually trained with long inputs (C.T. \\((n = 8192)\\)). Table 3"
|
| 1356 |
+
},
|
| 1357 |
+
{
|
| 1358 |
+
"type": "page_number",
|
| 1359 |
+
"bbox": [
|
| 1360 |
+
0.481,
|
| 1361 |
+
0.928,
|
| 1362 |
+
0.519,
|
| 1363 |
+
0.941
|
| 1364 |
+
],
|
| 1365 |
+
"angle": 0,
|
| 1366 |
+
"content": "2781"
|
| 1367 |
+
}
|
| 1368 |
+
],
|
| 1369 |
+
[
|
| 1370 |
+
{
|
| 1371 |
+
"type": "image",
|
| 1372 |
+
"bbox": [
|
| 1373 |
+
0.135,
|
| 1374 |
+
0.082,
|
| 1375 |
+
0.365,
|
| 1376 |
+
0.208
|
| 1377 |
+
],
|
| 1378 |
+
"angle": 0,
|
| 1379 |
+
"content": null
|
| 1380 |
+
},
|
| 1381 |
+
{
|
| 1382 |
+
"type": "image_caption",
|
| 1383 |
+
"bbox": [
|
| 1384 |
+
0.218,
|
| 1385 |
+
0.211,
|
| 1386 |
+
0.278,
|
| 1387 |
+
0.222
|
| 1388 |
+
],
|
| 1389 |
+
"angle": 0,
|
| 1390 |
+
"content": "(a) ArXiv"
|
| 1391 |
+
},
|
| 1392 |
+
{
|
| 1393 |
+
"type": "image",
|
| 1394 |
+
"bbox": [
|
| 1395 |
+
0.382,
|
| 1396 |
+
0.081,
|
| 1397 |
+
0.613,
|
| 1398 |
+
0.208
|
| 1399 |
+
],
|
| 1400 |
+
"angle": 0,
|
| 1401 |
+
"content": null
|
| 1402 |
+
},
|
| 1403 |
+
{
|
| 1404 |
+
"type": "image_caption",
|
| 1405 |
+
"bbox": [
|
| 1406 |
+
0.452,
|
| 1407 |
+
0.211,
|
| 1408 |
+
0.542,
|
| 1409 |
+
0.223
|
| 1410 |
+
],
|
| 1411 |
+
"angle": 0,
|
| 1412 |
+
"content": "(b) GovReport"
|
| 1413 |
+
},
|
| 1414 |
+
{
|
| 1415 |
+
"type": "image",
|
| 1416 |
+
"bbox": [
|
| 1417 |
+
0.631,
|
| 1418 |
+
0.082,
|
| 1419 |
+
0.861,
|
| 1420 |
+
0.208
|
| 1421 |
+
],
|
| 1422 |
+
"angle": 0,
|
| 1423 |
+
"content": null
|
| 1424 |
+
},
|
| 1425 |
+
{
|
| 1426 |
+
"type": "image_caption",
|
| 1427 |
+
"bbox": [
|
| 1428 |
+
0.705,
|
| 1429 |
+
0.211,
|
| 1430 |
+
0.785,
|
| 1431 |
+
0.222
|
| 1432 |
+
],
|
| 1433 |
+
"angle": 0,
|
| 1434 |
+
"content": "(c) QMSUM"
|
| 1435 |
+
},
|
| 1436 |
+
{
|
| 1437 |
+
"type": "image_caption",
|
| 1438 |
+
"bbox": [
|
| 1439 |
+
0.227,
|
| 1440 |
+
0.224,
|
| 1441 |
+
0.768,
|
| 1442 |
+
0.24
|
| 1443 |
+
],
|
| 1444 |
+
"angle": 0,
|
| 1445 |
+
"content": "Figure 5: Fine-tuning performance of full attention under different input length."
|
| 1446 |
+
},
|
| 1447 |
+
{
|
| 1448 |
+
"type": "text",
|
| 1449 |
+
"bbox": [
|
| 1450 |
+
0.113,
|
| 1451 |
+
0.254,
|
| 1452 |
+
0.489,
|
| 1453 |
+
0.318
|
| 1454 |
+
],
|
| 1455 |
+
"angle": 0,
|
| 1456 |
+
"content": "presents fine-tuning performance of these models. We can tell that continual training with long inputs indeed facilitates the revised models to adapt to new structures and long-sequence inputs."
|
| 1457 |
+
},
|
| 1458 |
+
{
|
| 1459 |
+
"type": "table",
|
| 1460 |
+
"bbox": [
|
| 1461 |
+
0.116,
|
| 1462 |
+
0.332,
|
| 1463 |
+
0.496,
|
| 1464 |
+
0.414
|
| 1465 |
+
],
|
| 1466 |
+
"angle": 0,
|
| 1467 |
+
"content": "<table><tr><td>l=8</td><td>QMSUM</td><td>GovReport</td></tr><tr><td>w.o. C.T.</td><td>29.33/6.43/25.71</td><td>53.28/23.61/51.74</td></tr><tr><td>C.T. (n=2048)</td><td>29.87/7.16/26.15</td><td>52.28/23.01/49.83</td></tr><tr><td>C.T. (n=8192)</td><td>30.91/7.45/27.02</td><td>54.37/24.42/51.87</td></tr></table>"
|
| 1468 |
+
},
|
| 1469 |
+
{
|
| 1470 |
+
"type": "table_caption",
|
| 1471 |
+
"bbox": [
|
| 1472 |
+
0.125,
|
| 1473 |
+
0.417,
|
| 1474 |
+
0.475,
|
| 1475 |
+
0.432
|
| 1476 |
+
],
|
| 1477 |
+
"angle": 0,
|
| 1478 |
+
"content": "Table 3: We report R1/R2/RL for the above results."
|
| 1479 |
+
},
|
| 1480 |
+
{
|
| 1481 |
+
"type": "title",
|
| 1482 |
+
"bbox": [
|
| 1483 |
+
0.114,
|
| 1484 |
+
0.443,
|
| 1485 |
+
0.384,
|
| 1486 |
+
0.457
|
| 1487 |
+
],
|
| 1488 |
+
"angle": 0,
|
| 1489 |
+
"content": "4.3.3 Where to use full attention"
|
| 1490 |
+
},
|
| 1491 |
+
{
|
| 1492 |
+
"type": "text",
|
| 1493 |
+
"bbox": [
|
| 1494 |
+
0.113,
|
| 1495 |
+
0.463,
|
| 1496 |
+
0.49,
|
| 1497 |
+
0.768
|
| 1498 |
+
],
|
| 1499 |
+
"angle": 0,
|
| 1500 |
+
"content": "To answer where to apply full attention, we compare fine-tuning performance of MASFormers that apply full attention at (i) bottom layers; (ii) middle layers; (iii) top layers; (iv) every \\( L / l \\) layers. The results in Table 4 demonstrate that equipping bottom layers with full attention yields the best performance. This is because that long-range dependencies can be continually captured and reinforced by bottom layers before propagated to upper layers. As such, these long-range signals can be effectively incorporated into the upper layers with local attention, facilitating their encoding of local information. In contrast, when equipping local attention at bottom layers, long-range tokens are first aggregated with neighboring tokens by local attention, thereby weakening their long-range signals. Moreover, if alternating full and local attention every \\( L / l \\) layers, the long-range signals cannot be continually reinforced nor efficiently captured."
|
| 1501 |
+
},
|
| 1502 |
+
{
|
| 1503 |
+
"type": "title",
|
| 1504 |
+
"bbox": [
|
| 1505 |
+
0.114,
|
| 1506 |
+
0.781,
|
| 1507 |
+
0.241,
|
| 1508 |
+
0.795
|
| 1509 |
+
],
|
| 1510 |
+
"angle": 0,
|
| 1511 |
+
"content": "5 Discussion"
|
| 1512 |
+
},
|
| 1513 |
+
{
|
| 1514 |
+
"type": "text",
|
| 1515 |
+
"bbox": [
|
| 1516 |
+
0.113,
|
| 1517 |
+
0.807,
|
| 1518 |
+
0.49,
|
| 1519 |
+
0.92
|
| 1520 |
+
],
|
| 1521 |
+
"angle": 0,
|
| 1522 |
+
"content": "GPT-Neo (Black et al., 2021) introduces an attention pattern that alternates full and window attention. However, this models is not tailored for long sequences. It sets the local window size as 256 and has the maximum input length as 2048, unable to handle long sequences. Instead, this attention pattern is applied heuristically in an attempt to re"
|
| 1523 |
+
},
|
| 1524 |
+
{
|
| 1525 |
+
"type": "table",
|
| 1526 |
+
"bbox": [
|
| 1527 |
+
0.512,
|
| 1528 |
+
0.258,
|
| 1529 |
+
0.879,
|
| 1530 |
+
0.395
|
| 1531 |
+
],
|
| 1532 |
+
"angle": 0,
|
| 1533 |
+
"content": "<table><tr><td>Position</td><td>QMSUM</td><td>GovReport</td></tr><tr><td>Every 3</td><td>28.26/6.94/25.03</td><td>26.16/12.37/24.82</td></tr><tr><td>Top 8</td><td>20.89/4.52/18.37</td><td>-/-/-</td></tr><tr><td>Middle 8</td><td>27.27/5.99/24.06</td><td>20.80/9.01/19.52</td></tr><tr><td>Bottom 8</td><td>30.91/7.45/27.02</td><td>54.37/24.42/51.87</td></tr><tr><td>Every 2</td><td>31.27/8.19/27.41</td><td>35.34/16.04/33.68</td></tr><tr><td>Bottom 12</td><td>32.53/8.70/28.75</td><td>56.98/26.26/54.46</td></tr></table>"
|
| 1534 |
+
},
|
| 1535 |
+
{
|
| 1536 |
+
"type": "table_caption",
|
| 1537 |
+
"bbox": [
|
| 1538 |
+
0.509,
|
| 1539 |
+
0.398,
|
| 1540 |
+
0.882,
|
| 1541 |
+
0.427
|
| 1542 |
+
],
|
| 1543 |
+
"angle": 0,
|
| 1544 |
+
"content": "Table 4: Performance comparison of MASFormers that apply full attention at different layers (# layers \\(L = 24\\)"
|
| 1545 |
+
},
|
| 1546 |
+
{
|
| 1547 |
+
"type": "text",
|
| 1548 |
+
"bbox": [
|
| 1549 |
+
0.507,
|
| 1550 |
+
0.438,
|
| 1551 |
+
0.884,
|
| 1552 |
+
0.567
|
| 1553 |
+
],
|
| 1554 |
+
"angle": 0,
|
| 1555 |
+
"content": "duce computational cost. However, as discussed in Section 4.3.3, this approach is neither effective nor efficient as MASFormer when handling long sequences. As shown in Table 4, applying full attention at every 2 or 3 layers underperforms applying it at bottom 12 or 8 layers. Therefore, alternating between full and block attention results in additional computational cost and performance degradation."
|
| 1556 |
+
},
|
| 1557 |
+
{
|
| 1558 |
+
"type": "text",
|
| 1559 |
+
"bbox": [
|
| 1560 |
+
0.508,
|
| 1561 |
+
0.567,
|
| 1562 |
+
0.884,
|
| 1563 |
+
0.76
|
| 1564 |
+
],
|
| 1565 |
+
"angle": 0,
|
| 1566 |
+
"content": "In contrast, MASFormer presents an effective solution for efficient long-sequence modeling. It provides guidance on adapting existing pre-trained transformers to long inputs. Meanwhile, it provides insights for designing large long-range models, especially for deeper models. By equipping only a subset of bottom layer with full attention, we can substantially mitigate computational cost. Additionally, the computation of MASFormer can be further optimized by leveraging system-level acceleration techniques (e.g., FlashAttention and xFormer) that support both block and full attention."
|
| 1567 |
+
},
|
| 1568 |
+
{
|
| 1569 |
+
"type": "title",
|
| 1570 |
+
"bbox": [
|
| 1571 |
+
0.509,
|
| 1572 |
+
0.772,
|
| 1573 |
+
0.642,
|
| 1574 |
+
0.787
|
| 1575 |
+
],
|
| 1576 |
+
"angle": 0,
|
| 1577 |
+
"content": "6 Conclusion"
|
| 1578 |
+
},
|
| 1579 |
+
{
|
| 1580 |
+
"type": "text",
|
| 1581 |
+
"bbox": [
|
| 1582 |
+
0.508,
|
| 1583 |
+
0.791,
|
| 1584 |
+
0.885,
|
| 1585 |
+
0.919
|
| 1586 |
+
],
|
| 1587 |
+
"angle": 0,
|
| 1588 |
+
"content": "We propose an efficient long-range transformer - MASFormer that utilizes full attention at a few of bottom layers and employs sparse attention at the remaining layers. Our empirical results on natural language modeling and generation tasks demonstrate that MASFormer can address the trade-off between computational cost and performance gains in a more efficient and effective way."
|
| 1589 |
+
},
|
| 1590 |
+
{
|
| 1591 |
+
"type": "page_number",
|
| 1592 |
+
"bbox": [
|
| 1593 |
+
0.481,
|
| 1594 |
+
0.928,
|
| 1595 |
+
0.521,
|
| 1596 |
+
0.941
|
| 1597 |
+
],
|
| 1598 |
+
"angle": 0,
|
| 1599 |
+
"content": "2782"
|
| 1600 |
+
}
|
| 1601 |
+
],
|
| 1602 |
+
[
|
| 1603 |
+
{
|
| 1604 |
+
"type": "title",
|
| 1605 |
+
"bbox": [
|
| 1606 |
+
0.116,
|
| 1607 |
+
0.085,
|
| 1608 |
+
0.214,
|
| 1609 |
+
0.099
|
| 1610 |
+
],
|
| 1611 |
+
"angle": 0,
|
| 1612 |
+
"content": "References"
|
| 1613 |
+
},
|
| 1614 |
+
{
|
| 1615 |
+
"type": "ref_text",
|
| 1616 |
+
"bbox": [
|
| 1617 |
+
0.117,
|
| 1618 |
+
0.107,
|
| 1619 |
+
0.487,
|
| 1620 |
+
0.173
|
| 1621 |
+
],
|
| 1622 |
+
"angle": 0,
|
| 1623 |
+
"content": "Joshua Ainslie, Santiago Ontanon, Chris Alberti, Va-clav Cvicek, Zachary Fisher, Philip Pham, Anirudh Ravula, Sumit Sanghai, Qifan Wang, and Li Yang. 2020. Etc: Encoding long and structured inputs in transformers. arXiv preprint arXiv:2004.08483."
|
| 1624 |
+
},
|
| 1625 |
+
{
|
| 1626 |
+
"type": "ref_text",
|
| 1627 |
+
"bbox": [
|
| 1628 |
+
0.117,
|
| 1629 |
+
0.182,
|
| 1630 |
+
0.487,
|
| 1631 |
+
0.222
|
| 1632 |
+
],
|
| 1633 |
+
"angle": 0,
|
| 1634 |
+
"content": "Iz Beltagy, Matthew E Peters, and Arman Cohan. 2020. Longformer: The long-document transformer. arXiv preprint arXiv:2004.05150."
|
| 1635 |
+
},
|
| 1636 |
+
{
|
| 1637 |
+
"type": "ref_text",
|
| 1638 |
+
"bbox": [
|
| 1639 |
+
0.117,
|
| 1640 |
+
0.231,
|
| 1641 |
+
0.487,
|
| 1642 |
+
0.283
|
| 1643 |
+
],
|
| 1644 |
+
"angle": 0,
|
| 1645 |
+
"content": "Sid Black, Leo Gao, Phil Wang, Connor Leahy, and Stella Biderman. 2021. GPT-Neo: Large Scale Autoregressive Language Modeling with Mesh-Tensorflow."
|
| 1646 |
+
},
|
| 1647 |
+
{
|
| 1648 |
+
"type": "ref_text",
|
| 1649 |
+
"bbox": [
|
| 1650 |
+
0.117,
|
| 1651 |
+
0.293,
|
| 1652 |
+
0.487,
|
| 1653 |
+
0.489
|
| 1654 |
+
],
|
| 1655 |
+
"angle": 0,
|
| 1656 |
+
"content": "Tom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah, Jared 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 M. Ziegler, Jeffrey Wu, Clemens Winter, Christopher 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 33: Annual Conference on Neural Information Processing Systems 2020, NeurIPS 2020, December 6-12, 2020, virtual."
|
| 1657 |
+
},
|
| 1658 |
+
{
|
| 1659 |
+
"type": "ref_text",
|
| 1660 |
+
"bbox": [
|
| 1661 |
+
0.117,
|
| 1662 |
+
0.499,
|
| 1663 |
+
0.487,
|
| 1664 |
+
0.552
|
| 1665 |
+
],
|
| 1666 |
+
"angle": 0,
|
| 1667 |
+
"content": "Beidi Chen, Tri Dao, Eric Winsor, Zhao Song, Atri Rudra, and Christopher Re. 2021. Scatterbrain: Unifying sparse and low-rank attention approximation. arXiv preprint arXiv:2110.15343."
|
| 1668 |
+
},
|
| 1669 |
+
{
|
| 1670 |
+
"type": "ref_text",
|
| 1671 |
+
"bbox": [
|
| 1672 |
+
0.117,
|
| 1673 |
+
0.562,
|
| 1674 |
+
0.487,
|
| 1675 |
+
0.693
|
| 1676 |
+
],
|
| 1677 |
+
"angle": 0,
|
| 1678 |
+
"content": "Arman Cohan, Franck Dernoncourt, Doo Soon Kim, Trung Bui, Seokhwan Kim, Walter Chang, and Nazli Goharian. 2018. A discourse-aware attention model for abstractive summarization of long documents. In Proceedings of the 2018 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 2 (Short Papers), pages 615-621, New Orleans, Louisiana. Association for Computational Linguistics."
|
| 1679 |
+
},
|
| 1680 |
+
{
|
| 1681 |
+
"type": "ref_text",
|
| 1682 |
+
"bbox": [
|
| 1683 |
+
0.117,
|
| 1684 |
+
0.702,
|
| 1685 |
+
0.487,
|
| 1686 |
+
0.767
|
| 1687 |
+
],
|
| 1688 |
+
"angle": 0,
|
| 1689 |
+
"content": "Zihang Dai, Zhilin Yang, Yiming Yang, Jaime Carbonell, Quoc V Le, and Ruslan Salakhutdinov. 2019. Transformer-xl: Attentive language models beyond a fixed-length context. arXiv preprint arXiv:1901.02860."
|
| 1690 |
+
},
|
| 1691 |
+
{
|
| 1692 |
+
"type": "ref_text",
|
| 1693 |
+
"bbox": [
|
| 1694 |
+
0.117,
|
| 1695 |
+
0.777,
|
| 1696 |
+
0.487,
|
| 1697 |
+
0.817
|
| 1698 |
+
],
|
| 1699 |
+
"angle": 0,
|
| 1700 |
+
"content": "Tri Dao, Daniel Y. Fu, Stefano Ermon, Atri Rudra, and Christopher Ré. 2022. Flashattention: Fast and memory-efficient exact attention with io-awareness."
|
| 1701 |
+
},
|
| 1702 |
+
{
|
| 1703 |
+
"type": "ref_text",
|
| 1704 |
+
"bbox": [
|
| 1705 |
+
0.117,
|
| 1706 |
+
0.826,
|
| 1707 |
+
0.487,
|
| 1708 |
+
0.919
|
| 1709 |
+
],
|
| 1710 |
+
"angle": 0,
|
| 1711 |
+
"content": "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"
|
| 1712 |
+
},
|
| 1713 |
+
{
|
| 1714 |
+
"type": "list",
|
| 1715 |
+
"bbox": [
|
| 1716 |
+
0.117,
|
| 1717 |
+
0.107,
|
| 1718 |
+
0.487,
|
| 1719 |
+
0.919
|
| 1720 |
+
],
|
| 1721 |
+
"angle": 0,
|
| 1722 |
+
"content": null
|
| 1723 |
+
},
|
| 1724 |
+
{
|
| 1725 |
+
"type": "ref_text",
|
| 1726 |
+
"bbox": [
|
| 1727 |
+
0.529,
|
| 1728 |
+
0.086,
|
| 1729 |
+
0.882,
|
| 1730 |
+
0.113
|
| 1731 |
+
],
|
| 1732 |
+
"angle": 0,
|
| 1733 |
+
"content": "4171-4186, Minneapolis, Minnesota. Association for Computational Linguistics."
|
| 1734 |
+
},
|
| 1735 |
+
{
|
| 1736 |
+
"type": "ref_text",
|
| 1737 |
+
"bbox": [
|
| 1738 |
+
0.512,
|
| 1739 |
+
0.122,
|
| 1740 |
+
0.882,
|
| 1741 |
+
0.213
|
| 1742 |
+
],
|
| 1743 |
+
"angle": 0,
|
| 1744 |
+
"content": "Alexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn, Xiaohua Zhai, Thomas Unterthiner, Mostafa Dehghani, Matthias Minderer, Georg Heigold, Sylvain Gelly, et al. 2020. An image is worth 16x16 words: Transformers for image recognition at scale. arXiv preprint arXiv:2010.11929."
|
| 1745 |
+
},
|
| 1746 |
+
{
|
| 1747 |
+
"type": "ref_text",
|
| 1748 |
+
"bbox": [
|
| 1749 |
+
0.512,
|
| 1750 |
+
0.222,
|
| 1751 |
+
0.882,
|
| 1752 |
+
0.289
|
| 1753 |
+
],
|
| 1754 |
+
"angle": 0,
|
| 1755 |
+
"content": "Leo Gao, Stella Biderman, Sid Black, Laurence Golding, Travis Hoppe, Charles Foster, Jason Phang, Horace He, Anish Thite, Noa Nabeshima, et al. 2020. The pile: An 800gb dataset of diverse text for language modeling. arXiv preprint arXiv:2101.00027."
|
| 1756 |
+
},
|
| 1757 |
+
{
|
| 1758 |
+
"type": "ref_text",
|
| 1759 |
+
"bbox": [
|
| 1760 |
+
0.512,
|
| 1761 |
+
0.297,
|
| 1762 |
+
0.882,
|
| 1763 |
+
0.362
|
| 1764 |
+
],
|
| 1765 |
+
"angle": 0,
|
| 1766 |
+
"content": "Albert Gu, Tri Dao, Stefano Ermon, Atri Rudra, and Christopher Ré. 2020. Hippo: Recurrent memory with optimal polynomial projections. Advances in neural information processing systems, 33:1474-1487."
|
| 1767 |
+
},
|
| 1768 |
+
{
|
| 1769 |
+
"type": "ref_text",
|
| 1770 |
+
"bbox": [
|
| 1771 |
+
0.512,
|
| 1772 |
+
0.372,
|
| 1773 |
+
0.882,
|
| 1774 |
+
0.412
|
| 1775 |
+
],
|
| 1776 |
+
"angle": 0,
|
| 1777 |
+
"content": "Albert Gu, Karan Goel, and Christopher Ré. 2021. Efficiently modeling long sequences with structured state spaces. arXiv preprint arXiv:2111.00396."
|
| 1778 |
+
},
|
| 1779 |
+
{
|
| 1780 |
+
"type": "ref_text",
|
| 1781 |
+
"bbox": [
|
| 1782 |
+
0.512,
|
| 1783 |
+
0.421,
|
| 1784 |
+
0.882,
|
| 1785 |
+
0.474
|
| 1786 |
+
],
|
| 1787 |
+
"angle": 0,
|
| 1788 |
+
"content": "Mandy Guo, Joshua Ainslie, David Uthus, Santiago Ontanon, Jianmo Ni, Yun-Hsuan Sung, and Yinfei Yang. 2021. Longt5: Efficient text-to-text transformer for long sequences. arXiv preprint arXiv:2112.07916."
|
| 1789 |
+
},
|
| 1790 |
+
{
|
| 1791 |
+
"type": "ref_text",
|
| 1792 |
+
"bbox": [
|
| 1793 |
+
0.512,
|
| 1794 |
+
0.482,
|
| 1795 |
+
0.882,
|
| 1796 |
+
0.535
|
| 1797 |
+
],
|
| 1798 |
+
"angle": 0,
|
| 1799 |
+
"content": "Ankit Gupta, Albert Gu, and Jonathan Berant. 2022. Diagonal state spaces are as effective as structured state spaces. In Advances in Neural Information Processing Systems."
|
| 1800 |
+
},
|
| 1801 |
+
{
|
| 1802 |
+
"type": "ref_text",
|
| 1803 |
+
"bbox": [
|
| 1804 |
+
0.512,
|
| 1805 |
+
0.544,
|
| 1806 |
+
0.882,
|
| 1807 |
+
0.597
|
| 1808 |
+
],
|
| 1809 |
+
"angle": 0,
|
| 1810 |
+
"content": "Pengcheng He, Jianfeng Gao, and Weizhu Chen. 2021a. Debertav3: Improving deberta using electra-style pretraining with gradient-disentangled embedding sharing. arXiv preprint arXiv:2111.09543."
|
| 1811 |
+
},
|
| 1812 |
+
{
|
| 1813 |
+
"type": "ref_text",
|
| 1814 |
+
"bbox": [
|
| 1815 |
+
0.512,
|
| 1816 |
+
0.606,
|
| 1817 |
+
0.882,
|
| 1818 |
+
0.659
|
| 1819 |
+
],
|
| 1820 |
+
"angle": 0,
|
| 1821 |
+
"content": "Pengcheng He, Xiaodong Liu, Jianfeng Gao, and Weizhu Chen. 2021b. Deberta: Decoding-enhanced bert with disentangled attention. In International Conference on Learning Representations."
|
| 1822 |
+
},
|
| 1823 |
+
{
|
| 1824 |
+
"type": "ref_text",
|
| 1825 |
+
"bbox": [
|
| 1826 |
+
0.512,
|
| 1827 |
+
0.667,
|
| 1828 |
+
0.882,
|
| 1829 |
+
0.708
|
| 1830 |
+
],
|
| 1831 |
+
"angle": 0,
|
| 1832 |
+
"content": "Nikita Kitaev, Lukasz Kaiser, and Anselm Levskaya. 2020. Reformer: The efficient transformer. In International Conference on Learning Representations."
|
| 1833 |
+
},
|
| 1834 |
+
{
|
| 1835 |
+
"type": "ref_text",
|
| 1836 |
+
"bbox": [
|
| 1837 |
+
0.512,
|
| 1838 |
+
0.716,
|
| 1839 |
+
0.882,
|
| 1840 |
+
0.808
|
| 1841 |
+
],
|
| 1842 |
+
"angle": 0,
|
| 1843 |
+
"content": "Benjamin Lefaudeau, Francisco Massa, Diana Liskovich, Wenhan Xiong, Vittorio Caggiano, Sean Naren, Min Xu, Jieru Hu, Marta Tintore, Susan Zhang, Patrick Labatut, and Daniel Haziza. 2022. xformers: A modular and hackable transformer modelling library. https://github.com/facebookresearch/xformers."
|
| 1844 |
+
},
|
| 1845 |
+
{
|
| 1846 |
+
"type": "ref_text",
|
| 1847 |
+
"bbox": [
|
| 1848 |
+
0.512,
|
| 1849 |
+
0.817,
|
| 1850 |
+
0.882,
|
| 1851 |
+
0.87
|
| 1852 |
+
],
|
| 1853 |
+
"angle": 0,
|
| 1854 |
+
"content": "Yuhong Li, Tianle Cai, Yi Zhang, Deming Chen, and Debadepta Dey. 2022. What makes convolutional models great on long sequence modeling? arXiv preprint arXiv:2210.09298."
|
| 1855 |
+
},
|
| 1856 |
+
{
|
| 1857 |
+
"type": "ref_text",
|
| 1858 |
+
"bbox": [
|
| 1859 |
+
0.512,
|
| 1860 |
+
0.878,
|
| 1861 |
+
0.882,
|
| 1862 |
+
0.919
|
| 1863 |
+
],
|
| 1864 |
+
"angle": 0,
|
| 1865 |
+
"content": "Chin-Yew Lin. 2004. Rouge: A package for automatic evaluation of summaries. In Text summarization branches out, pages 74-81."
|
| 1866 |
+
},
|
| 1867 |
+
{
|
| 1868 |
+
"type": "list",
|
| 1869 |
+
"bbox": [
|
| 1870 |
+
0.512,
|
| 1871 |
+
0.086,
|
| 1872 |
+
0.882,
|
| 1873 |
+
0.919
|
| 1874 |
+
],
|
| 1875 |
+
"angle": 0,
|
| 1876 |
+
"content": null
|
| 1877 |
+
},
|
| 1878 |
+
{
|
| 1879 |
+
"type": "page_number",
|
| 1880 |
+
"bbox": [
|
| 1881 |
+
0.481,
|
| 1882 |
+
0.929,
|
| 1883 |
+
0.521,
|
| 1884 |
+
0.941
|
| 1885 |
+
],
|
| 1886 |
+
"angle": 0,
|
| 1887 |
+
"content": "2783"
|
| 1888 |
+
}
|
| 1889 |
+
],
|
| 1890 |
+
[
|
| 1891 |
+
{
|
| 1892 |
+
"type": "ref_text",
|
| 1893 |
+
"bbox": [
|
| 1894 |
+
0.117,
|
| 1895 |
+
0.086,
|
| 1896 |
+
0.49,
|
| 1897 |
+
0.153
|
| 1898 |
+
],
|
| 1899 |
+
"angle": 0,
|
| 1900 |
+
"content": "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."
|
| 1901 |
+
},
|
| 1902 |
+
{
|
| 1903 |
+
"type": "ref_text",
|
| 1904 |
+
"bbox": [
|
| 1905 |
+
0.117,
|
| 1906 |
+
0.161,
|
| 1907 |
+
0.488,
|
| 1908 |
+
0.227
|
| 1909 |
+
],
|
| 1910 |
+
"angle": 0,
|
| 1911 |
+
"content": "Xuezhe Ma, Chunting Zhou, Xiang Kong, Junxian He, Liangke Gui, Graham Neubig, Jonathan May, and Luke Zettlemoyer. 2023. Mega: Moving average equipped gated attention. In *The Eleventh International Conference on Learning Representations*."
|
| 1912 |
+
},
|
| 1913 |
+
{
|
| 1914 |
+
"type": "ref_text",
|
| 1915 |
+
"bbox": [
|
| 1916 |
+
0.117,
|
| 1917 |
+
0.236,
|
| 1918 |
+
0.488,
|
| 1919 |
+
0.405
|
| 1920 |
+
],
|
| 1921 |
+
"angle": 0,
|
| 1922 |
+
"content": "Adam Paszke, Sam Gross, Francisco Massa, Adam Lerer, James Bradbury, Gregory Chanan, Trevor Killeen, Zeming Lin, Natalia Gimelshein, Luca Antiga, Alban Desmaison, Andreas Kopf, Edward Yang, Zachary DeVito, Martin Raison, Alykhan Tejani, Sasank Chilamkurthy, Benoit Steiner, Lu Fang, Junjie Bai, and Soumith Chintala. 2019. Pytorch: An imperative style, high-performance deep learning library. In Advances in Neural Information Processing Systems 32: Annual Conference on Neural Information Processing Systems 2019, NeurIPS 2019, December 8-14, 2019, Vancouver, BC, Canada, pages 8024-8035."
|
| 1923 |
+
},
|
| 1924 |
+
{
|
| 1925 |
+
"type": "ref_text",
|
| 1926 |
+
"bbox": [
|
| 1927 |
+
0.117,
|
| 1928 |
+
0.416,
|
| 1929 |
+
0.488,
|
| 1930 |
+
0.469
|
| 1931 |
+
],
|
| 1932 |
+
"angle": 0,
|
| 1933 |
+
"content": "Hao Peng, Nikolaos Pappas, Dani Yogatama, Roy Schwartz, Noah Smith, and Lingpeng Kong. 2021. Random feature attention. In International Conference on Learning Representations."
|
| 1934 |
+
},
|
| 1935 |
+
{
|
| 1936 |
+
"type": "ref_text",
|
| 1937 |
+
"bbox": [
|
| 1938 |
+
0.117,
|
| 1939 |
+
0.478,
|
| 1940 |
+
0.488,
|
| 1941 |
+
0.531
|
| 1942 |
+
],
|
| 1943 |
+
"angle": 0,
|
| 1944 |
+
"content": "Alec Radford, Jeffrey Wu, Rewon Child, David Luan, Dario Amodei, Ilya Sutskever, et al. 2019. Language models are unsupervised multitask learners. OpenAI blog, 1(8):9."
|
| 1945 |
+
},
|
| 1946 |
+
{
|
| 1947 |
+
"type": "ref_text",
|
| 1948 |
+
"bbox": [
|
| 1949 |
+
0.117,
|
| 1950 |
+
0.54,
|
| 1951 |
+
0.488,
|
| 1952 |
+
0.644
|
| 1953 |
+
],
|
| 1954 |
+
"angle": 0,
|
| 1955 |
+
"content": "Stephen Roller, Emily Dinan, Naman Goyal, Da Ju, Mary Williamson, Yinhan Liu, Jing Xu, Myle Ott, Eric Michael Smith, Y-Lan Boureau, and Jason Weston. 2021. Recipes for building an open-domain chatbot. In Proceedings of the 16th Conference of the European Chapter of the Association for Computational Linguistics: Main Volume, pages 300-325, Online. Association for Computational Linguistics."
|
| 1956 |
+
},
|
| 1957 |
+
{
|
| 1958 |
+
"type": "ref_text",
|
| 1959 |
+
"bbox": [
|
| 1960 |
+
0.117,
|
| 1961 |
+
0.654,
|
| 1962 |
+
0.488,
|
| 1963 |
+
0.72
|
| 1964 |
+
],
|
| 1965 |
+
"angle": 0,
|
| 1966 |
+
"content": "Uri Shaham, Elad Segal, Maor Ivgi, Avia Efrat, Ori Yoran, Adi Haviv, Ankit Gupta, Wenhan Xiong, Mor Geva, Jonathan Berant, et al. 2022. Scrols: Standardized comparison over long language sequences. arXiv preprint arXiv:2201.03533."
|
| 1967 |
+
},
|
| 1968 |
+
{
|
| 1969 |
+
"type": "ref_text",
|
| 1970 |
+
"bbox": [
|
| 1971 |
+
0.117,
|
| 1972 |
+
0.729,
|
| 1973 |
+
0.488,
|
| 1974 |
+
0.782
|
| 1975 |
+
],
|
| 1976 |
+
"angle": 0,
|
| 1977 |
+
"content": "Jimmy T.H. Smith, Andrew Warrington, and Scott Linderman. 2023. Simplified state space layers for sequence modeling. In *The Eleventh International Conference on Learning Representations*."
|
| 1978 |
+
},
|
| 1979 |
+
{
|
| 1980 |
+
"type": "ref_text",
|
| 1981 |
+
"bbox": [
|
| 1982 |
+
0.117,
|
| 1983 |
+
0.791,
|
| 1984 |
+
0.488,
|
| 1985 |
+
0.844
|
| 1986 |
+
],
|
| 1987 |
+
"angle": 0,
|
| 1988 |
+
"content": "Simeng Sun, Kalpesh Krishna, Andrew Mattarella-Micke, and Mohit Iyyer. 2021. Do long-range language models actually use long-range context? arXiv preprint arXiv:2109.09115."
|
| 1989 |
+
},
|
| 1990 |
+
{
|
| 1991 |
+
"type": "ref_text",
|
| 1992 |
+
"bbox": [
|
| 1993 |
+
0.117,
|
| 1994 |
+
0.853,
|
| 1995 |
+
0.488,
|
| 1996 |
+
0.918
|
| 1997 |
+
],
|
| 1998 |
+
"angle": 0,
|
| 1999 |
+
"content": "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."
|
| 2000 |
+
},
|
| 2001 |
+
{
|
| 2002 |
+
"type": "list",
|
| 2003 |
+
"bbox": [
|
| 2004 |
+
0.117,
|
| 2005 |
+
0.086,
|
| 2006 |
+
0.49,
|
| 2007 |
+
0.918
|
| 2008 |
+
],
|
| 2009 |
+
"angle": 0,
|
| 2010 |
+
"content": null
|
| 2011 |
+
},
|
| 2012 |
+
{
|
| 2013 |
+
"type": "ref_text",
|
| 2014 |
+
"bbox": [
|
| 2015 |
+
0.511,
|
| 2016 |
+
0.086,
|
| 2017 |
+
0.884,
|
| 2018 |
+
0.126
|
| 2019 |
+
],
|
| 2020 |
+
"angle": 0,
|
| 2021 |
+
"content": "Sinong Wang, Belinda Z Li, Madian Khabsa, Han Fang, and Hao Ma. 2020. Linformer: Self-attention with linear complexity. arXiv preprint arXiv:2006.04768."
|
| 2022 |
+
},
|
| 2023 |
+
{
|
| 2024 |
+
"type": "ref_text",
|
| 2025 |
+
"bbox": [
|
| 2026 |
+
0.512,
|
| 2027 |
+
0.136,
|
| 2028 |
+
0.883,
|
| 2029 |
+
0.215
|
| 2030 |
+
],
|
| 2031 |
+
"angle": 0,
|
| 2032 |
+
"content": "Manzil Zaheer, Guru Guruganesh, Kumar Avinava Dubey, Joshua Ainslie, Chris Alberti, Santiago Ontanon, Philip Pham, Anirudh Ravula, Qifan Wang, Li Yang, et al. 2020. Big bird: Transformers for longer sequences. Advances in neural information processing systems, 33:17283-17297."
|
| 2033 |
+
},
|
| 2034 |
+
{
|
| 2035 |
+
"type": "ref_text",
|
| 2036 |
+
"bbox": [
|
| 2037 |
+
0.512,
|
| 2038 |
+
0.225,
|
| 2039 |
+
0.883,
|
| 2040 |
+
0.291
|
| 2041 |
+
],
|
| 2042 |
+
"angle": 0,
|
| 2043 |
+
"content": "Qingru Zhang, Minshuo Chen, Alexander Bukharin, Pengcheng He, Yu Cheng, Weizhu Chen, and Tuo Zhao. 2023. Adaptive budget allocation for parameter-efficient fine-tuning. In The Eleventh International Conference on Learning Representations."
|
| 2044 |
+
},
|
| 2045 |
+
{
|
| 2046 |
+
"type": "ref_text",
|
| 2047 |
+
"bbox": [
|
| 2048 |
+
0.512,
|
| 2049 |
+
0.3,
|
| 2050 |
+
0.883,
|
| 2051 |
+
0.365
|
| 2052 |
+
],
|
| 2053 |
+
"angle": 0,
|
| 2054 |
+
"content": "Simiao Zuo, Xiaodong Liu, Jian Jiao, Denis Charles, Eren Manavoglu, Tuo Zhao, and Jianfeng Gao. 2022. Efficient long sequence modeling via state space augmented transformer. arXiv preprint arXiv:2212.08136."
|
| 2055 |
+
},
|
| 2056 |
+
{
|
| 2057 |
+
"type": "list",
|
| 2058 |
+
"bbox": [
|
| 2059 |
+
0.511,
|
| 2060 |
+
0.086,
|
| 2061 |
+
0.884,
|
| 2062 |
+
0.365
|
| 2063 |
+
],
|
| 2064 |
+
"angle": 0,
|
| 2065 |
+
"content": null
|
| 2066 |
+
},
|
| 2067 |
+
{
|
| 2068 |
+
"type": "page_number",
|
| 2069 |
+
"bbox": [
|
| 2070 |
+
0.481,
|
| 2071 |
+
0.929,
|
| 2072 |
+
0.521,
|
| 2073 |
+
0.941
|
| 2074 |
+
],
|
| 2075 |
+
"angle": 0,
|
| 2076 |
+
"content": "2784"
|
| 2077 |
+
}
|
| 2078 |
+
],
|
| 2079 |
+
[
|
| 2080 |
+
{
|
| 2081 |
+
"type": "title",
|
| 2082 |
+
"bbox": [
|
| 2083 |
+
0.115,
|
| 2084 |
+
0.085,
|
| 2085 |
+
0.303,
|
| 2086 |
+
0.1
|
| 2087 |
+
],
|
| 2088 |
+
"angle": 0,
|
| 2089 |
+
"content": "A Dataset Statistics"
|
| 2090 |
+
},
|
| 2091 |
+
{
|
| 2092 |
+
"type": "text",
|
| 2093 |
+
"bbox": [
|
| 2094 |
+
0.113,
|
| 2095 |
+
0.11,
|
| 2096 |
+
0.884,
|
| 2097 |
+
0.141
|
| 2098 |
+
],
|
| 2099 |
+
"angle": 0,
|
| 2100 |
+
"content": "In the following table, we provide the detailed statistics of datasets in our experiments, including example splits and length statistics."
|
| 2101 |
+
},
|
| 2102 |
+
{
|
| 2103 |
+
"type": "table",
|
| 2104 |
+
"bbox": [
|
| 2105 |
+
0.2,
|
| 2106 |
+
0.149,
|
| 2107 |
+
0.797,
|
| 2108 |
+
0.27
|
| 2109 |
+
],
|
| 2110 |
+
"angle": 0,
|
| 2111 |
+
"content": "<table><tr><td rowspan=\"2\">Dataset</td><td colspan=\"3\">Example Count</td><td colspan=\"3\">Input Length</td></tr><tr><td>Train</td><td>Valid</td><td>Test</td><td>Average</td><td>Median</td><td>90th percentile</td></tr><tr><td>ArXiv</td><td>203,037</td><td>6,436</td><td>6,440</td><td>10,720</td><td>8,519</td><td>20,170</td></tr><tr><td>PubMed</td><td>119,924</td><td>6,633</td><td>6,658</td><td>4,748</td><td>3,883</td><td>8,883</td></tr><tr><td>QMSUM</td><td>1,257</td><td>272</td><td>281</td><td>9,497</td><td>14,197</td><td>27,761</td></tr><tr><td>GovReport</td><td>17,457</td><td>972</td><td>973</td><td>7,886</td><td>8,841</td><td>18,835</td></tr></table>"
|
| 2112 |
+
},
|
| 2113 |
+
{
|
| 2114 |
+
"type": "table_caption",
|
| 2115 |
+
"bbox": [
|
| 2116 |
+
0.182,
|
| 2117 |
+
0.277,
|
| 2118 |
+
0.813,
|
| 2119 |
+
0.292
|
| 2120 |
+
],
|
| 2121 |
+
"angle": 0,
|
| 2122 |
+
"content": "Table 5: Statistics of datasets. Input length measured in tokens using a SentencePiece Model."
|
| 2123 |
+
},
|
| 2124 |
+
{
|
| 2125 |
+
"type": "title",
|
| 2126 |
+
"bbox": [
|
| 2127 |
+
0.114,
|
| 2128 |
+
0.304,
|
| 2129 |
+
0.414,
|
| 2130 |
+
0.32
|
| 2131 |
+
],
|
| 2132 |
+
"angle": 0,
|
| 2133 |
+
"content": "B Natural Language Generation"
|
| 2134 |
+
},
|
| 2135 |
+
{
|
| 2136 |
+
"type": "title",
|
| 2137 |
+
"bbox": [
|
| 2138 |
+
0.115,
|
| 2139 |
+
0.329,
|
| 2140 |
+
0.431,
|
| 2141 |
+
0.344
|
| 2142 |
+
],
|
| 2143 |
+
"angle": 0,
|
| 2144 |
+
"content": "B.1 The Results of All ROUGE Scores"
|
| 2145 |
+
},
|
| 2146 |
+
{
|
| 2147 |
+
"type": "table",
|
| 2148 |
+
"bbox": [
|
| 2149 |
+
0.124,
|
| 2150 |
+
0.358,
|
| 2151 |
+
0.878,
|
| 2152 |
+
0.557
|
| 2153 |
+
],
|
| 2154 |
+
"angle": 0,
|
| 2155 |
+
"content": "<table><tr><td>Methods</td><td>C</td><td>QMSUM</td><td>ArXiv</td><td>GovReport</td></tr><tr><td>Full attention</td><td>1610M</td><td>31.50 / 8.00 / 27.81</td><td>46.13 / 19.32 / 41.89</td><td>60.53 / 28.83 / 57.88</td></tr><tr><td>Window (w=1024)</td><td>402M</td><td>23.31 / 4.32 / 20.62</td><td>35.90 / 13.51 / 32.19</td><td>49.82 / 17.03 / 47.42</td></tr><tr><td>Window (w=2048)</td><td>805M</td><td>26.73 / 5.05 / 23.40</td><td>38.74 / 15.21 / 34.87</td><td>56.14 / 22.79 / 53.50</td></tr><tr><td>Block (b=2048)</td><td>402M</td><td>26.24 / 5.03 / 23.13</td><td>21.85 / 9.61 / 19.86</td><td>26.37 / 12.31 / 25.18</td></tr><tr><td>Block (b=4096)</td><td>805M</td><td>26.96 / 5.15 / 23.85</td><td>35.95 / 14.50 / 32.37</td><td>49.83 / 23.64 / 47.50</td></tr><tr><td>MASFormer (l=4)</td><td>436M</td><td>29.86 / 6.59 / 25.87</td><td>38.85 / 14.91 / 34.98</td><td>46.67 / 18.82 / 44.39</td></tr><tr><td>MASFormer (l=6)</td><td>553M</td><td>30.83 / 7.15 / 27.12</td><td>36.29 / 15.72 / 32.96</td><td>49.26 / 21.20 / 46.89</td></tr><tr><td>MASFormer (l=8)</td><td>671M</td><td>30.91 / 8.00 / 27.81</td><td>43.31 / 17.00 / 39.12</td><td>54.37 / 24.42 / 51.87</td></tr><tr><td>MASFormer (l=12)</td><td>906M</td><td>32.53 / 8.70 / 28.75</td><td>45.19 / 18.58 / 40.72</td><td>56.98 / 26.26 / 54.46</td></tr></table>"
|
| 2156 |
+
},
|
| 2157 |
+
{
|
| 2158 |
+
"type": "table_caption",
|
| 2159 |
+
"bbox": [
|
| 2160 |
+
0.281,
|
| 2161 |
+
0.566,
|
| 2162 |
+
0.715,
|
| 2163 |
+
0.581
|
| 2164 |
+
],
|
| 2165 |
+
"angle": 0,
|
| 2166 |
+
"content": "Table 6: Finetuning performance of different attention methods."
|
| 2167 |
+
},
|
| 2168 |
+
{
|
| 2169 |
+
"type": "title",
|
| 2170 |
+
"bbox": [
|
| 2171 |
+
0.115,
|
| 2172 |
+
0.615,
|
| 2173 |
+
0.291,
|
| 2174 |
+
0.631
|
| 2175 |
+
],
|
| 2176 |
+
"angle": 0,
|
| 2177 |
+
"content": "B.2 Training Details"
|
| 2178 |
+
},
|
| 2179 |
+
{
|
| 2180 |
+
"type": "table",
|
| 2181 |
+
"bbox": [
|
| 2182 |
+
0.243,
|
| 2183 |
+
0.646,
|
| 2184 |
+
0.756,
|
| 2185 |
+
0.826
|
| 2186 |
+
],
|
| 2187 |
+
"angle": 0,
|
| 2188 |
+
"content": "<table><tr><td>Methods</td><td>QMSUM</td><td>ArXiv</td><td>GovReport</td></tr><tr><td>Full attention</td><td>1 × 10-5</td><td>1 × 10-4</td><td>1 × 10-4</td></tr><tr><td>Window attention (w=1024)</td><td>5 × 10-4</td><td>5 × 10-5</td><td>5 × 10-4</td></tr><tr><td>Window attention (w=2048)</td><td>5 × 10-5</td><td>5 × 10-5</td><td>1 × 10-4</td></tr><tr><td>Block attention (w=2048)</td><td>1 × 10-4</td><td>1 × 10-5</td><td>1 × 10-5</td></tr><tr><td>Block attention (w=4096)</td><td>5 × 10-5</td><td>5 × 10-4</td><td>1 × 10-5</td></tr><tr><td>MASFormer (l=4)</td><td>5 × 10-5</td><td>1 × 10-3</td><td>5 × 10-4</td></tr><tr><td>MASFormer (l=6)</td><td>5 × 10-5</td><td>5 × 10-5</td><td>5 × 10-4</td></tr><tr><td>MASFormer (l=8)</td><td>5 × 10-5</td><td>5 × 10-4</td><td>5 × 10-4</td></tr><tr><td>MASFormer (l=12)</td><td>1 × 10-5</td><td>1 × 10-4</td><td>1 × 10-4</td></tr></table>"
|
| 2189 |
+
},
|
| 2190 |
+
{
|
| 2191 |
+
"type": "table_caption",
|
| 2192 |
+
"bbox": [
|
| 2193 |
+
0.26,
|
| 2194 |
+
0.835,
|
| 2195 |
+
0.735,
|
| 2196 |
+
0.85
|
| 2197 |
+
],
|
| 2198 |
+
"angle": 0,
|
| 2199 |
+
"content": "Table 7: The fine-tuning learning rate of each method on each dataset."
|
| 2200 |
+
},
|
| 2201 |
+
{
|
| 2202 |
+
"type": "text",
|
| 2203 |
+
"bbox": [
|
| 2204 |
+
0.114,
|
| 2205 |
+
0.872,
|
| 2206 |
+
0.884,
|
| 2207 |
+
0.92
|
| 2208 |
+
],
|
| 2209 |
+
"angle": 0,
|
| 2210 |
+
"content": "We conduct continual training for all attention methods with training data form PILE and input length as 8192. After continual training, we obtain the continually trained models for each method and fine-tune them on QMSUM, ArXiv and GovReport to compare their summarization performance. During the"
|
| 2211 |
+
},
|
| 2212 |
+
{
|
| 2213 |
+
"type": "page_number",
|
| 2214 |
+
"bbox": [
|
| 2215 |
+
0.481,
|
| 2216 |
+
0.929,
|
| 2217 |
+
0.521,
|
| 2218 |
+
0.941
|
| 2219 |
+
],
|
| 2220 |
+
"angle": 0,
|
| 2221 |
+
"content": "2785"
|
| 2222 |
+
}
|
| 2223 |
+
],
|
| 2224 |
+
[
|
| 2225 |
+
{
|
| 2226 |
+
"type": "text",
|
| 2227 |
+
"bbox": [
|
| 2228 |
+
0.113,
|
| 2229 |
+
0.085,
|
| 2230 |
+
0.885,
|
| 2231 |
+
0.15
|
| 2232 |
+
],
|
| 2233 |
+
"angle": 0,
|
| 2234 |
+
"content": "fine-tuning, we set the input length as 8192 for all datasets and all models. We apply the greedy decoding for generation and set the maximum output length as 256 for QMSUM, 1024 for GovReport, and 512 for ArXiv. Table 8 lists the details of these hyperparameters. Besides, we apply the linear learning rate schedule to fine-tune the models and the base learning rates are summarized in Table 7."
|
| 2235 |
+
},
|
| 2236 |
+
{
|
| 2237 |
+
"type": "table",
|
| 2238 |
+
"bbox": [
|
| 2239 |
+
0.256,
|
| 2240 |
+
0.161,
|
| 2241 |
+
0.744,
|
| 2242 |
+
0.274
|
| 2243 |
+
],
|
| 2244 |
+
"angle": 0,
|
| 2245 |
+
"content": "<table><tr><td>Hyperparameter</td><td>QMSUM</td><td>ArXiv</td><td>GovReport</td></tr><tr><td>Training steps</td><td>3000</td><td>12000</td><td>8000</td></tr><tr><td>Batch size</td><td>32</td><td>32</td><td>64</td></tr><tr><td>Input length</td><td>8192</td><td>8192</td><td>8192</td></tr><tr><td>Maximum generation length</td><td>256</td><td>512</td><td>1024</td></tr><tr><td>Weight decay</td><td>0.001</td><td>0.001</td><td>0.001</td></tr></table>"
|
| 2246 |
+
},
|
| 2247 |
+
{
|
| 2248 |
+
"type": "table_caption",
|
| 2249 |
+
"bbox": [
|
| 2250 |
+
0.158,
|
| 2251 |
+
0.285,
|
| 2252 |
+
0.839,
|
| 2253 |
+
0.3
|
| 2254 |
+
],
|
| 2255 |
+
"angle": 0,
|
| 2256 |
+
"content": "Table 8: The other fine-tuning parameters for each dataset, which remain the same for every method."
|
| 2257 |
+
},
|
| 2258 |
+
{
|
| 2259 |
+
"type": "page_number",
|
| 2260 |
+
"bbox": [
|
| 2261 |
+
0.481,
|
| 2262 |
+
0.929,
|
| 2263 |
+
0.522,
|
| 2264 |
+
0.941
|
| 2265 |
+
],
|
| 2266 |
+
"angle": 0,
|
| 2267 |
+
"content": "2786"
|
| 2268 |
+
}
|
| 2269 |
+
]
|
| 2270 |
+
]
|
2023/Efficient Long-Range Transformers_ You Need to Attend More, but Not Necessarily at Every Layer/b2cbac77-9108-42c4-9fd3-211395757830_origin.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:249de0c8323cfa8f380acf757c56386a49420dda002d70627fcce27711d99493
|
| 3 |
+
size 794045
|
2023/Efficient Long-Range Transformers_ You Need to Attend More, but Not Necessarily at Every Layer/full.md
ADDED
|
@@ -0,0 +1,310 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Efficient Long-Range Transformers: You Need to Attend More, but Not Necessarily at Every Layer
|
| 2 |
+
|
| 3 |
+
Qingru Zhang†, Dhananjay Ram, Cole Hawkins, Sheng Zha, Tuo Zhao
|
| 4 |
+
|
| 5 |
+
$^{\dagger}$ Georgia Institute of Technology $\diamond$ Amazon Web Service
|
| 6 |
+
|
| 7 |
+
{qingru.zhang,tourzhao}@gatech.edu
|
| 8 |
+
|
| 9 |
+
{radhna,colehawk,zhasheng}@amazon.com
|
| 10 |
+
|
| 11 |
+
# Abstract
|
| 12 |
+
|
| 13 |
+
Pretrained transformer models have demonstrated remarkable performance across various natural language processing tasks. These models leverage the attention mechanism to capture long- and short-range dependencies in the sequence. However, the (full) attention mechanism incurs high computational cost – quadratic in the sequence length, which is not affordable in tasks with long sequences, e.g., inputs with 8k tokens. Although sparse attention can be used to improve computational efficiency, as suggested in existing work, it has limited modeling capacity and often fails to capture complicated dependencies in long sequences. To tackle this challenge, we propose MASFormer, an easy-to-implement transformer variant with Mixed Attention Spans. Specifically, MASFormer is equipped with full attention to capture long-range dependencies, but only at a small number of layers. For the remaining layers, MASformer only employs sparse attention to capture short-range dependencies. Our experiments on natural language modeling and generation tasks show that a decoder-only MASFormer model of 1.3B parameters can achieve competitive performance to vanilla transformers with full attention while significantly reducing computational cost (up to $75\%$ ). Additionally, we investigate the effectiveness of continual training with long sequence data and how sequence length impacts downstream generation performance, which may be of independent interest.
|
| 14 |
+
|
| 15 |
+
# 1 Introduction
|
| 16 |
+
|
| 17 |
+
Pre-trained transformer models have manifested superior performance in various natural language processing tasks such as natural language modeling (NLM) (Dai et al., 2019; Radford et al., 2019), natural language generation (NLG) (Brown et al., 2020) and natural language understanding (NU) (Devlin et al., 2019; Liu et al., 2019; He et al., 2021b).
|
| 18 |
+
|
| 19 |
+
These models leverage the attention mechanism (Vaswani et al., 2017) to compute the dependency score for each pair of tokens in an input sequence.
|
| 20 |
+
|
| 21 |
+
Some practical tasks require these transformer models to handle long-sequence inputs like 8k tokens. For example, chatbot systems gather long-term contexts of user interactions to generate informative texts (Roller et al., 2021). Summarization for news, government reports, and academic papers request models to take inputs of long sequences to generate comprehensive summaries (Shaham et al., 2022), otherwise models often miss important information. Note that typical transformer models apply full attention to capture token dependencies pair-wise. It leads to a quadratic time and space complexity w.r.t. input length. However, such a complexity is prohibitive for long sequences. In particular, it incurs massive memory consumption during the back propagation. For example, a transformer model with 250M parameters consumes over 80G GPU memory when sequence length is 8k (Zuo et al., 2022).
|
| 22 |
+
|
| 23 |
+
To address this scalability issue, various approaches have been proposed to reduce the complexity. One approach is sparse attention, which restricts each token to attend a subset of tokens based on predefined sparsity patterns (Beltagy et al., 2020; Zaheer et al., 2020; Ainslie et al., 2020). For instance, block sparse attention (Kitaev et al., 2020; Ma et al., 2023) divides the input sequence into several blocks, and only intra-block attention is performed. Besides, sliding-window attention (Beltagy et al., 2020; Zaheer et al., 2020; Ainslie et al., 2020) allows each token to attend to its neighboring tokens within a sliding window. These methods, though reducing the complexity of full attention, cannot sufficiently capture long-range dependencies. Other variants, such as kernel approximation (Peng et al., 2021) and low-rank approximation (Wang et al., 2020; Chen et al., 2021) methods, share the similar spirit and drawbacks. To com
|
| 24 |
+
|
| 25 |
+
pensate for the lack of long-range dependencies, LongT5 (Guo et al., 2021) introduces global tokens that are obtained by average pooling on every block of tokens (Ainslie et al., 2020). However, the block pooling operations can weaken the signal of crucial tokens and prevent the long-range dependencies from being detected.
|
| 26 |
+
|
| 27 |
+
In addition to these methods, state space models (SSMs) prespecify global dependency patterns to capture the long-range dependencies only (Gu et al., 2020, 2021; Li et al., 2022; Zuo et al., 2022; Ma et al., 2023; Smith et al., 2023). These models can be regarded as linear recurrent neural networks with specifically designed fixed weights. As tailored for global dependencies, SSMs fail to effectively capture local dependencies. In order to combine both local and global dependencies, SPADE (Zuo et al., 2022) and MEGA (Ma et al., 2023) augment SSM layers into transformer layers equipped with local attention. However, state space methods require sophisticated implementation, and often encounter computational instability during the back propagation, especially when scaling up to large model size (Gupta et al., 2022). SPADE and MEGA hence inherit these drawbacks.
|
| 28 |
+
|
| 29 |
+
Note that the aforementioned methods apply same attention mechanism for every layer. We challenge this conventional wisdom and propose a transformer variant - MASFormer (Mixed Attention Span Transformer). MASFormer utilizes full attention only at a subset of layers whereas employs sparse attention at the remaining layers. Our design is motivated by the phenomenon - that most contexts in NLP data display a great deal of locality of reference (Zaheer et al., 2020; Beltagy et al., 2020). That is, most of information about a token can be derived from its neighboring tokens. In contrast, long-range dependencies among tokens are sparse and infrequent. Consider an academic paper as an example. Within a paragraph, there exist numerous short-term dependencies. Neighboring tokens are closely connected to convey meaningful semantics. Across paragraphs, there can be a small number of long-range dependencies. For example, tokens associated to the primary theme of the paper exhibit rare and weak dependencies across a long span. Since long-range dependencies occur much less frequently, a few layers of full attention are adequate to capture them. In stark contrast, short-term dependencies are more frequent, necessitating local attention in the majority of layers to fully extract
|
| 30 |
+
|
| 31 |
+
these signals.
|
| 32 |
+
|
| 33 |
+
To demonstrate the effectiveness of MASFormer, We conduct experiments on natural language modeling (ArXiv and PubMed Cohen et al. (2018)) and natural language generation (ArXiv, Cohen et al. (2018) and SCROLLS, Shaham et al. (2022)) tasks. Specifically, we compare the performance of MASFormer to other attention methods using a pretrained GPT-2 model (Radford et al., 2019) of 1.3 billion parameters. Our empirical results demonstrate that MASFormer consistently outperforms baseline methods across different attention cost (i.e. the total number of computed attention scores). In particular, MASFormer can achieve comparable performance to full attention while significantly reducing the computational cost. For example, with $27\%$ of its attention cost, MASFormer achieves a close R2 score as full attention on QMSUM dataset.
|
| 34 |
+
|
| 35 |
+
We also make additional discoveries with MASFormer, which are of independent interest. Firstly, we investigate the effectiveness of continual training for long sequence modeling. Many publicly available models are pre-trained with sequences shorter than 2048, and often fail to perform well on longer sequences (e.g. 8k/16k tokens). To bridge the gap, we explore the option of continual training to adapt these models to long sequences, thereby avoiding pre-training from the scratch. We discuss its effectiveness with MASFormer in Section 4.3. Secondly, we showcase that increasing sequence length can yield more performance gains on downstream tasks than NLM tasks evaluated by perplexity. We are aware of the recent findings by Sun et al. (2021) that increasing context length exhibits limited impact on NLM perplexity. Nevertheless, when applying MASFormer to downstream tasks like long-context summarization, we find that model performance benefits significantly from extending context length. Such a difference arises from the fact that predicting the next tokens in NLM primarily relies on locality of reference. Capturing infrequent long-range tokens can improve perplexity but not significantly. Therefore, we emphasize the necessity to evaluate model performance on downstream tasks that require long-range dependencies. Furthermore, our empirical evidence suggests that increasing the length can improve the performance only if models possess sufficient capability to handle additional long-range information. Local attention, as a counterexample, often fails to capture long-range signals and hence
|
| 36 |
+
|
| 37 |
+
benefits much less from long sequences.
|
| 38 |
+
|
| 39 |
+
# 2 Background
|
| 40 |
+
|
| 41 |
+
# 2.1 Pretrained Language Models
|
| 42 |
+
|
| 43 |
+
Pre-trained transformer models (Devlin et al., 2019; Liu et al., 2019; Brown et al., 2020; Dosovitskiy et al., 2020; He et al., 2021b,a) have manifested superior performance in various NLP tasks. These models are often pre-trained on enormous amounts of unlabeled data in a unsupervised/self-supervised manner such that they can learn rich semantic knowledge. By further fine-tuning these pre-trained models, we can effectively transfer such knowledge to benefit downstream tasks (Zhang et al., 2023).
|
| 44 |
+
|
| 45 |
+
Existing research on long-range transformers commonly requires pre-training the proposed models from scratch to accommodate new architectures and long inputs (Guo et al., 2021; Zuo et al., 2022). However, the significant training overheads raise a barrier for the widespread utilization of these methods across different language models. Motivated by this, we explore the possibility of leveraging existing pre-trained models and adapting them to long sequences though continual training.
|
| 46 |
+
|
| 47 |
+
# 2.2 Attention Mechanism
|
| 48 |
+
|
| 49 |
+
Suppose the input to the layer is $X\in \mathbb{R}^{n\times d}$ , where $n$ is the input sequence length and $d$ is embedding dimension, then self-attention mechanism outputs
|
| 50 |
+
|
| 51 |
+
$$
|
| 52 |
+
\operatorname {A t t n} (X) = \operatorname {s o f t m a x} \left(\frac {Q K ^ {\top}}{\sqrt {d}}\right) V \tag {1}
|
| 53 |
+
$$
|
| 54 |
+
|
| 55 |
+
where $Q = XW_{q}, K = XW_{k}, V = VW_{v}$ and $W_{q}, W_{k}, W_{v}$ are learnable projection weights. Such full attention can simultaneously evaluate the alignment between any pair of tokens in the sequence. Specifically, denote the attention score $A = \text{softmax}(QK^{\top} / \sqrt{d})$ , then $A_{ij}$ captures the alignment between tokens $i$ and $j$ . A typical transformer model applies the full attention at every layer. Denote the number of layers as $L$ . Then its attention cost is $Ln^{2}$ .
|
| 56 |
+
|
| 57 |
+
Sparse attention variants are introduced to mitigate the computational cost of full attention. Figures 1a and 1b illustrates the attention patterns of block sparse attention and sliding-window attention. For instance, block sparse attention divides tokens into blocks of size $b$ and performs intrablock attention only, resulting in an attention cost of $bn$ . Sliding-window attention allows each token to attend its left/right neighboring tokens within a
|
| 58 |
+
|
| 59 |
+
local window of size $w$ . In most of cases, block sparse attention exhibits similar performance as sliding-window attention (Zuo et al., 2022).
|
| 60 |
+
|
| 61 |
+
# 3 Our Approach
|
| 62 |
+
|
| 63 |
+
We present our method - MASFormer, a long-range transformer variant that mixes different attention spans across layers.
|
| 64 |
+
|
| 65 |
+
# 3.1 MASFormer: Mixed Attention Span
|
| 66 |
+
|
| 67 |
+
MASFormer leverages full attention exclusively at a subset of transformer layers, whereas it employs block sparse attention at the remaining layers. The structure of MASFormer is illustrated in Figure 1c. We choose full attention to encode long-range information due to the following reasons: (i) full attention exhibits superior capability to capture long-range dependencies compared to sparse attention; (ii) full attention does not require sophisticated implementation and hence is computationally stable compared to SSMs (Zuo et al., 2022; Gupta et al., 2022); (iii) full attention is compatible with existing pre-trained transformer models, enabling us to conduct continual training which we elaborate in Section 3.2. To mitigate the computational cost, we restrict the number of layers using full attention.
|
| 68 |
+
|
| 69 |
+
MASFormer is motivated by empirical investigations on performance comparison between models that apply the same attention span at every layer. Figure 2 presents the performance of block sparse attention and full attention on language modeling and summarization tasks. We find that, given long-sequence inputs, sparse attention is often insufficient to capture long-range dependencies beyond its attention span. As a result, it shows unsatisfactory performance. To remedy it, one can either increase attention span or switch to full attention to improve model capability of capturing sophisticated dependencies. Though improving model performance, it incurs high computational cost.
|
| 70 |
+
|
| 71 |
+
Confronting such a trade-off between computational cost and model performance, we challenge the common practice - that applies the same attention span at every layer. MASFormer provides an alternative solution. Instead of increasing attention span evenly, MASFormer allocates a large portion of attention computations to a subset of $l$ layers by equipping them with full attention. Specifically, equipping bottom layers with full attention can yield the best performance as suggested by our empirical analysis in Section 4.3<sup>1</sup>. At the remain-
|
| 72 |
+
|
| 73 |
+

|
| 74 |
+
(a) Block Attention
|
| 75 |
+
|
| 76 |
+

|
| 77 |
+
(b) Window Attention
|
| 78 |
+
|
| 79 |
+

|
| 80 |
+
(c) MASFormer
|
| 81 |
+
|
| 82 |
+

|
| 83 |
+
Figure 1: Illustration of attention patterns of (a) block sparse attention with block size $b = 3$ ; (b) sliding-window attention with window size $w = 1$ (on each side); (c) MASFormer that integrates full and sparse attention.
|
| 84 |
+
(a) NLM for ArXiv
|
| 85 |
+
Figure 2: (a,b): We evaluate the perplexity of a pre-trained GPT-2 model with block attention of differnet block size after continual training. (c,d): We fine-tune a GPT-2 model with block attention and compare the summarization performance on ArXiv and GovReport under different block size. Here the input length $n$ is 8192.
|
| 86 |
+
|
| 87 |
+

|
| 88 |
+
(b) NLM for PubMed
|
| 89 |
+
|
| 90 |
+

|
| 91 |
+
(c) Sum. for ArXiv
|
| 92 |
+
|
| 93 |
+

|
| 94 |
+
(d) Sum. for GovReport
|
| 95 |
+
|
| 96 |
+
ing layers, MASFormer utilizes block attention of small size $m$ , resulting in a controlled attention cost of $(L - l)mn + ln^2$ . As mentioned in Section 1, such a design is inspired by the phenomenon that most of contexts in NLP data exhibit a great deal of locality of reference. Long-range dependencies, in contrast, are less frequent. Therefore, it is not necessary to enhance attention span at every layer. Instead, a few layers of full attention are sufficient to capture infrequent long-range signals. The majority of layers can maintain small attention spans to adequately extract local dependencies and control the attention cost.
|
| 97 |
+
|
| 98 |
+
Our empirical results demonstrate that, with the same attention cost, MASFormer significantly outperforms sparse attention. Remarkably, MASFormer can achieve comparable performance to full attention while substantially reducing computational cost. Therefore, by mixing different attention spans, MASFormer strikes a better balance between computational cost and model performance.
|
| 99 |
+
|
| 100 |
+
Moreover, MASFormer offers additional implementation advantages. As using the same attention function, MASFormer is easy to implement and compatible with existing pre-trained models. We can build MASFormer upon pre-trained transformers by changing their attention patterns, which does not involve modification on model architectures
|
| 101 |
+
|
| 102 |
+
and pre-trained weights. Meanwhile, acceleration packages, such as FlashAttention (Dao et al., 2022) and xFormers (Lefaudeauux et al., 2022), are applicable to further accelerate the computation of block attention and full attention in MASFormer.
|
| 103 |
+
|
| 104 |
+
# 3.2 Continual Training with Long Sequences
|
| 105 |
+
|
| 106 |
+
As mentioned, MASFormer can be implemented upon majority of pre-trained transformers by modifying their attention patterns. However, most of publicly available models are pre-trained with sequences shorter than 2048, and often exhibit subpar performance on longer sequences such as $8\mathrm{k} / 16\mathrm{k}$ . To bridge this gap, we propose the continual training to adapt the revised model on long sequences and new attention pattern. As such, we can preserve existing pre-trained knowledge and circumvent the intensive overheads of pre-training from scratch. In particular, we first modify the attention pattern of the target model as proposed by MASFormer. If the pre-trained model uses absolute position embeddings, we duplicate them to accommodate long sequences. Subsequently, we provide the revised model with long sequences (e.g., 8k) from pretraining corpus like PILE (Gao et al., 2020). Then we conduct continual pre-training using casual language modeling (CLM) objective. We discuss the effectiveness of continual training in Section 4.3.
|
| 107 |
+
|
| 108 |
+
# 4 Experiments
|
| 109 |
+
|
| 110 |
+
We evaluate the effectiveness and efficiency of MASFormer on natural language modeling (ArXiv and PubMed, Cohan et al. (2018)), natural language generation (ArXiv Cohan et al. (2018), QMSUM and GovReport Shaham et al. (2022)). We choose the GPT-3 XL model architecture (Brown et al., 2020) as our base model, which consists of 1.3 billion parameters and 24 layers and is pre-trained on PIL (Gao et al., 2020) for 300 billion tokens. GPT is a general purpose model that can be applied to many tasks instead of tailoring them for specific tasks. As such, it makes easy to control experiments and showcase the difference among various methods.
|
| 111 |
+
|
| 112 |
+
Implementation Details. Our base model uses absolute positional embeddings with maximum length 1024. To accommodate longer inputs, we duplicate its positional embeddings to have the maximum length as 8192 such that the model can handle sequences containing up to 8192 tokens. Then, we implement different attention methods by modifying the attention pattern of the base model. We implement all the models with PyTorch (Paszke et al., 2019). All the experiments are conducted on NVIDIA A100 GPUs.
|
| 113 |
+
|
| 114 |
+
Continual Training Details. After changing the attention pattern, we conduct the continual training for MASFormer and baseline methods on PILE corpus (Gao et al., 2020) to adapt the revised models to new attention patterns and long-sequence inputs. We leverage the casual language modeling (CLM) objective to train the model for 50,000 steps with a warmup of 2000 steps. We set the input length as 8192 and use a batch size of 128 such that the models are optimized with 1M tokens per step. We use the constant learning 0.0001 for all methods.
|
| 115 |
+
|
| 116 |
+
Baseline. We compare MASFormer with the following methods:
|
| 117 |
+
|
| 118 |
+
- All full attention is to apply full attention at every layer. It has been adopted by most of existing transformer models as default. Although incurring the maximum attention cost, it achieves the best performance for most of our tasks. Hence, it acts as an upper bound for other methods.
|
| 119 |
+
- All block sparse attention is to apply block attention at every layer, which is an effective method to reduce computational cost when modeling long sequences. Block attention sets the attention span of each layer identical such that it evenly distributes the budget of attention computation across layers.
|
| 120 |
+
|
| 121 |
+
- All sliding-window attention is to apply sliding-window attention at every layer, which is another variant of sparse attention. It shares the similar spirits and often performs similarly as block attention.
|
| 122 |
+
|
| 123 |
+
In the following experiments, we compare MAS-Former and the baseline methods across different attention cost $\mathcal{C}$ . That is, for all block sparse attention, we set the block size as $b = \mathcal{C} / (Ln)$ . For all sliding-window attention, we choose the window size as $w = \mathcal{C} / (2Ln)$ . For MASFormer, we apply a small block size $m = 1024$ for its block attention and set $l$ as $(\mathcal{C} - Lmn) / (n^2 - mn)$ . Then we observe how their performance evolves when enhancing the attention cost $\mathcal{C}$ or input length $n$ .
|
| 124 |
+
|
| 125 |
+
Experiment Overview. We briefly summarize the experimental contents as follows:
|
| 126 |
+
|
| 127 |
+
- Section 4.1 presents the perplexity evaluation of all the models on ArXiv and PubMed after continual training.
|
| 128 |
+
- Section 4.2 compares the summarization performance of the models on ArXiv, QMSUM, and GovReport after fine-tuning. Besides, we also discuss the difference between perplexity and downstream evaluation in reflecting model capacity to capture long-range dependencies.
|
| 129 |
+
- Section 4.3 provides three crucial analyses: (i) we evaluate the benefits of increasing input length and discuss the requirements to attain these gains; (ii) we analyze the effectiveness of continual training for long-sequence modeling; (iii) we conduct an ablation study to demonstrate that equipping bottom layers with full attention yields the most significant performance gains than other options. We further provide the explanations.
|
| 130 |
+
|
| 131 |
+
# 4.1 Natural Language Modeling
|
| 132 |
+
|
| 133 |
+
# 4.1.1 Datasets and Evaluation Details
|
| 134 |
+
|
| 135 |
+
Datasets. We evaluate the perplexity of the updated GPT-2 for each attention method after continual training. The evaluation is conducted on test sets of ArXiv and PubMed (Cohan et al., 2018). Table 5 presents the statistics of these two datasets. Pubmed consists of scientific documents, with a document's content used as input and its corresponding abstract as the target summary. ArXiv is similar to PubMed, with documents from arXiv.
|
| 136 |
+
|
| 137 |
+
Evaluation Details. We conduct the perplexity evaluation under two settings. (i) We calculate the perplexity (ppl.) with all documents from test sets. Table 1 presents the overall perplexity of different models on two datasets. (ii) To showcase
|
| 138 |
+
|
| 139 |
+

|
| 140 |
+
(a) ArXiv ppl.
|
| 141 |
+
|
| 142 |
+

|
| 143 |
+
(b) PubMed ppl.
|
| 144 |
+
Figure 3: Perplexity evaluation on ArXiv and PubMed with examples of different length. Here $x$ -axis is the maximum document length of each subset, i.e., $k \times 1024$ ( $k = 1, 2, 3, \ldots$ ).
|
| 145 |
+
|
| 146 |
+
the varying behaviors of models on documents of different length, we divide all documents into several subsets according to their length. Each subset consists of examples, whose length is within $((k - 1)\times 1024,k\times 1024](k = 1,2,3,\ldots)$ . Then, we evaluate the perplexity on each subset. Figure 3 presents the perplexity of models on different subsets of examples.
|
| 147 |
+
|
| 148 |
+
# 4.1.2 Results
|
| 149 |
+
|
| 150 |
+
Table 1 compares the overall perplexity on test sets of ArXiv and PubMed. The results suggest that, with $l = 4$ layers of full attention, MASFormer achieves comparable performance to all full attention, while reducing $72\%$ of its attention cost. With the similar attention cost $\mathcal{C}$ , MASFormer outperforms all block attention that evenly distributes the budget of attention computation. For example, MASFormer with $l = 2$ achieves 8.75 ppl. on PubMed, which is 1.37 lower than that of block attention of $b = 2048$ .
|
| 151 |
+
|
| 152 |
+
<table><tr><td>Methods</td><td>C</td><td>ArXiv</td><td>PubMed</td></tr><tr><td>Full attention</td><td>1,610M</td><td>8.63</td><td>7.63</td></tr><tr><td>Block (b=1024)</td><td>201M</td><td>13.19</td><td>12.19</td></tr><tr><td>Block (b=2048)</td><td>402M</td><td>10.75</td><td>10.13</td></tr><tr><td>MASFormer (l=2)</td><td>318M</td><td>10.25</td><td>8.75</td></tr><tr><td>MASFormer (l=4)</td><td>436M</td><td>9.31</td><td>8.25</td></tr><tr><td>MASFormer (l=8)</td><td>671M</td><td>9.63</td><td>8.25</td></tr></table>
|
| 153 |
+
|
| 154 |
+
Table 1: Perplexity evaluation on ArXiv and PubMed.
|
| 155 |
+
|
| 156 |
+
Figure 3 illustrates the perplexity variation of each method given examples of different length. We can tell that MASFormer and full attention show better performance on longer documents, suggesting increasing context length can improve their prediction performance. Full attention, though incurring the highest attention cost, always achieves the best performance due to its outstanding capability to handle sophisticated dependencies. Notably,
|
| 157 |
+
|
| 158 |
+
with $27\%$ of its attention cost, MASFormer exhibits a curve of ppl. v.s. length that closely resembles to that of full attention. This demonstrates the effectiveness and efficiency of MASFormer to capture long-range dependencies. In contrast, block sparse attention benefits much less from long contexts and underperforms both of them because of its incapability to encode long-range signals. For example, when $b = 1024$ , block attention achieves similar perplexity on PubMed examples of different length.
|
| 159 |
+
|
| 160 |
+
# 4.2 Natural Language Generation
|
| 161 |
+
|
| 162 |
+
# 4.2.1 Datasets and Training Details
|
| 163 |
+
|
| 164 |
+
Datasets. We evaluate the downstream performance of models on several abstractive summarization tasks to compare their capability of handling long sequences in practice. Specifically, we fine-tune models on ArXiv (Cohan et al., 2018), QM-SUM and GovReport (from SCROLLS benchmark, Shaham et al. (2022)). Their statistics are summarized in Table 5. We mainly use ROUGE-2 (R2) score (Lin, 2004) as the evaluation metric, which is more important and sensitive than R1 and RL.
|
| 165 |
+
|
| 166 |
+
Training Details. After continual training, we fine-tune each model and report R2 scores on validation sets. Specifically, we fine-tune models for 3000 steps on QMSUM, 8000 steps on GovReport, and 12000 steps on ArXiv. We set the batch size as 64 for ArXiv and 32 for QMSUM and GovReport. We pick the learning rates from $\{1 \times 10^{-5}, 5 \times 10^{-5}, 1 \times 10^{-4}, 5 \times 10^{-4}\}$ , and choose the optimal ones to report the performance of each method. Moreover, the input length is fixed as 8192. We apply the greedy decoding for generation. Please see Appendix B for more details.
|
| 167 |
+
|
| 168 |
+
# 4.2.2 Results
|
| 169 |
+
|
| 170 |
+
In Table $2^{2}$ and Figure 4, we present the fine-tuning results on QMSUM, ArXiv and GovReport across
|
| 171 |
+
|
| 172 |
+

|
| 173 |
+
(a) ArXiv
|
| 174 |
+
|
| 175 |
+

|
| 176 |
+
(b) QMSUM
|
| 177 |
+
|
| 178 |
+

|
| 179 |
+
(c) GovReport
|
| 180 |
+
Figure 4: Given input length as 8192, we compare summarization performance between MASFormer and block/full attention when increasing the attention cost.
|
| 181 |
+
|
| 182 |
+
<table><tr><td>Methods</td><td>C</td><td>QMSUM</td><td>ArXiv</td><td>GovReport</td></tr><tr><td>Full attention</td><td>1610M</td><td>8.00</td><td>19.32</td><td>28.83</td></tr><tr><td>Window(w=1024)</td><td>402M</td><td>4.32</td><td>13.51</td><td>17.03</td></tr><tr><td>Block(b=2048)</td><td>402M</td><td>5.03</td><td>9.61</td><td>12.31</td></tr><tr><td>MASFormer(l=4)</td><td>436M</td><td>6.59</td><td>14.91</td><td>18.82</td></tr><tr><td>Window(w=2048)</td><td>805M</td><td>5.05</td><td>15.21</td><td>22.79</td></tr><tr><td>Block(b=4096)</td><td>805M</td><td>5.15</td><td>14.50</td><td>23.64</td></tr><tr><td>MASFormer(l=6)</td><td>553M</td><td>7.15</td><td>15.72</td><td>21.20</td></tr><tr><td>MASFormer(l=8)</td><td>671M</td><td>7.46</td><td>17.00</td><td>24.42</td></tr><tr><td>MASFormer(l=12)</td><td>906M</td><td>8.70</td><td>18.58</td><td>26.26</td></tr></table>
|
| 183 |
+
|
| 184 |
+
Table 2: Summarization performance of models with different attention methods. The best results are shown in bold.
|
| 185 |
+
|
| 186 |
+
different attention cost. The results demonstrate that, with the similar attention cost, MASFormer significantly outperforms sparse attention variants. Furthermore, when enhancing attention cost, MASFormer achieves greater performance gains than sparse attention methods. This is evident from the steeper slope of its R2 curve versus attention cost, in contrast to the baseline method. For example, when increasing $\mathcal{C}$ form 553M to 671M, the R2 score of MASFormer on QMSUM exhibits a substantial improvement, reaching 8.70 from 7.46. Remarkably, this score surpasses even that of full attention. Therefore, MASFormer addresses the trade-off between computational cost and performance gains in a more efficient and effective way.
|
| 187 |
+
|
| 188 |
+
Notice that, in order to achieve comparable summarization performance to full attention, MAS-Former needs at least $l = 8$ layers of full attention, and providing more can lead to more gains. This observation is different from the findings in NLM (Figure 3) that increasing $l$ beyond 4 provides limited improvement in perplexity. Their different capacity requirements arise from the fact that predicting next tokens in NLM primarily relies on lo
|
| 189 |
+
|
| 190 |
+
cal dependencies. Capturing infrequent long-range tokens does not significantly improve perplexity. Thus, this discrepancy emphasizes the necessity to evaluate long-range models on downstream tasks.
|
| 191 |
+
|
| 192 |
+
# 4.3 Analysis
|
| 193 |
+
|
| 194 |
+
# 4.3.1 Benefits of Increasing Sequence Length
|
| 195 |
+
|
| 196 |
+
In this section, we investigate the benefits of increasing input length for downstream performance. Specifically, we select the input length from $\{2048, 4096, 6144, 8192\}$ and present the fine-tuning performance of full attention in Figure 5. The results consistently demonstrate that as the input length increases, the model's performance improves. That is, downstream performance benefits significantly from long-sequence inputs. In contrast, increasing example length beyond $6k$ results in marginal improvements in perplexity (See Figure 3), highlighting again the importance of downstream evaluation.
|
| 197 |
+
|
| 198 |
+
In addition, when comparing the behaviors of block attention in Figure 2c and 2d, we find that sparse attention often insufficiently capitalize on the benefits offered by longer inputs. For instance, given block size as 4096, its performance on ArXiv remains nearly unchanged when increasing input length from 4096 (R2 = 15.52 in Figure 5a) to 8192 (R2 = 14.49 in Figure 2c). This finding suggests that enhancing input length can only improve model performance if the model possesses the sufficient capability to handle long-range dependencies.
|
| 199 |
+
|
| 200 |
+
# 4.3.2 Effectiveness of Continual Training
|
| 201 |
+
|
| 202 |
+
We analyze the effectiveness of continual training by comparing fine-tuning performance of MAS-Former $(l = 8)$ under the following settings: (i) MASFormer without continual training (w.o. C.T.); (ii) MASFormer continually trained with short inputs (C.T. $(n = 2048)$ ); (iii) MASFormer continually trained with long inputs (C.T. $(n = 8192)$ ). Table 3
|
| 203 |
+
|
| 204 |
+

|
| 205 |
+
(a) ArXiv
|
| 206 |
+
|
| 207 |
+

|
| 208 |
+
(b) GovReport
|
| 209 |
+
|
| 210 |
+

|
| 211 |
+
(c) QMSUM
|
| 212 |
+
Figure 5: Fine-tuning performance of full attention under different input length.
|
| 213 |
+
|
| 214 |
+
presents fine-tuning performance of these models. We can tell that continual training with long inputs indeed facilitates the revised models to adapt to new structures and long-sequence inputs.
|
| 215 |
+
|
| 216 |
+
<table><tr><td>l=8</td><td>QMSUM</td><td>GovReport</td></tr><tr><td>w.o. C.T.</td><td>29.33/6.43/25.71</td><td>53.28/23.61/51.74</td></tr><tr><td>C.T. (n=2048)</td><td>29.87/7.16/26.15</td><td>52.28/23.01/49.83</td></tr><tr><td>C.T. (n=8192)</td><td>30.91/7.45/27.02</td><td>54.37/24.42/51.87</td></tr></table>
|
| 217 |
+
|
| 218 |
+
# 4.3.3 Where to use full attention
|
| 219 |
+
|
| 220 |
+
To answer where to apply full attention, we compare fine-tuning performance of MASFormers that apply full attention at (i) bottom layers; (ii) middle layers; (iii) top layers; (iv) every $L / l$ layers. The results in Table 4 demonstrate that equipping bottom layers with full attention yields the best performance. This is because that long-range dependencies can be continually captured and reinforced by bottom layers before propagated to upper layers. As such, these long-range signals can be effectively incorporated into the upper layers with local attention, facilitating their encoding of local information. In contrast, when equipping local attention at bottom layers, long-range tokens are first aggregated with neighboring tokens by local attention, thereby weakening their long-range signals. Moreover, if alternating full and local attention every $L / l$ layers, the long-range signals cannot be continually reinforced nor efficiently captured.
|
| 221 |
+
|
| 222 |
+
# 5 Discussion
|
| 223 |
+
|
| 224 |
+
GPT-Neo (Black et al., 2021) introduces an attention pattern that alternates full and window attention. However, this models is not tailored for long sequences. It sets the local window size as 256 and has the maximum input length as 2048, unable to handle long sequences. Instead, this attention pattern is applied heuristically in an attempt to re
|
| 225 |
+
|
| 226 |
+
Table 3: We report R1/R2/RL for the above results.
|
| 227 |
+
|
| 228 |
+
<table><tr><td>Position</td><td>QMSUM</td><td>GovReport</td></tr><tr><td>Every 3</td><td>28.26/6.94/25.03</td><td>26.16/12.37/24.82</td></tr><tr><td>Top 8</td><td>20.89/4.52/18.37</td><td>-/-/-</td></tr><tr><td>Middle 8</td><td>27.27/5.99/24.06</td><td>20.80/9.01/19.52</td></tr><tr><td>Bottom 8</td><td>30.91/7.45/27.02</td><td>54.37/24.42/51.87</td></tr><tr><td>Every 2</td><td>31.27/8.19/27.41</td><td>35.34/16.04/33.68</td></tr><tr><td>Bottom 12</td><td>32.53/8.70/28.75</td><td>56.98/26.26/54.46</td></tr></table>
|
| 229 |
+
|
| 230 |
+
Table 4: Performance comparison of MASFormers that apply full attention at different layers (# layers $L = 24$
|
| 231 |
+
|
| 232 |
+
duce computational cost. However, as discussed in Section 4.3.3, this approach is neither effective nor efficient as MASFormer when handling long sequences. As shown in Table 4, applying full attention at every 2 or 3 layers underperforms applying it at bottom 12 or 8 layers. Therefore, alternating between full and block attention results in additional computational cost and performance degradation.
|
| 233 |
+
|
| 234 |
+
In contrast, MASFormer presents an effective solution for efficient long-sequence modeling. It provides guidance on adapting existing pre-trained transformers to long inputs. Meanwhile, it provides insights for designing large long-range models, especially for deeper models. By equipping only a subset of bottom layer with full attention, we can substantially mitigate computational cost. Additionally, the computation of MASFormer can be further optimized by leveraging system-level acceleration techniques (e.g., FlashAttention and xFormer) that support both block and full attention.
|
| 235 |
+
|
| 236 |
+
# 6 Conclusion
|
| 237 |
+
|
| 238 |
+
We propose an efficient long-range transformer - MASFormer that utilizes full attention at a few of bottom layers and employs sparse attention at the remaining layers. Our empirical results on natural language modeling and generation tasks demonstrate that MASFormer can address the trade-off between computational cost and performance gains in a more efficient and effective way.
|
| 239 |
+
|
| 240 |
+
# References
|
| 241 |
+
|
| 242 |
+
Joshua Ainslie, Santiago Ontanon, Chris Alberti, Va-clav Cvicek, Zachary Fisher, Philip Pham, Anirudh Ravula, Sumit Sanghai, Qifan Wang, and Li Yang. 2020. Etc: Encoding long and structured inputs in transformers. arXiv preprint arXiv:2004.08483.
|
| 243 |
+
Iz Beltagy, Matthew E Peters, and Arman Cohan. 2020. Longformer: The long-document transformer. arXiv preprint arXiv:2004.05150.
|
| 244 |
+
Sid Black, Leo Gao, Phil Wang, Connor Leahy, and Stella Biderman. 2021. GPT-Neo: Large Scale Autoregressive Language Modeling with Mesh-Tensorflow.
|
| 245 |
+
Tom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah, Jared 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 M. Ziegler, Jeffrey Wu, Clemens Winter, Christopher 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 33: Annual Conference on Neural Information Processing Systems 2020, NeurIPS 2020, December 6-12, 2020, virtual.
|
| 246 |
+
Beidi Chen, Tri Dao, Eric Winsor, Zhao Song, Atri Rudra, and Christopher Re. 2021. Scatterbrain: Unifying sparse and low-rank attention approximation. arXiv preprint arXiv:2110.15343.
|
| 247 |
+
Arman Cohan, Franck Dernoncourt, Doo Soon Kim, Trung Bui, Seokhwan Kim, Walter Chang, and Nazli Goharian. 2018. A discourse-aware attention model for abstractive summarization of long documents. In Proceedings of the 2018 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 2 (Short Papers), pages 615-621, New Orleans, Louisiana. Association for Computational Linguistics.
|
| 248 |
+
Zihang Dai, Zhilin Yang, Yiming Yang, Jaime Carbonell, Quoc V Le, and Ruslan Salakhutdinov. 2019. Transformer-xl: Attentive language models beyond a fixed-length context. arXiv preprint arXiv:1901.02860.
|
| 249 |
+
Tri Dao, Daniel Y. Fu, Stefano Ermon, Atri Rudra, and Christopher Ré. 2022. Flashattention: Fast and memory-efficient exact attention with io-awareness.
|
| 250 |
+
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
|
| 251 |
+
|
| 252 |
+
4171-4186, Minneapolis, Minnesota. Association for Computational Linguistics.
|
| 253 |
+
Alexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn, Xiaohua Zhai, Thomas Unterthiner, Mostafa Dehghani, Matthias Minderer, Georg Heigold, Sylvain Gelly, et al. 2020. An image is worth 16x16 words: Transformers for image recognition at scale. arXiv preprint arXiv:2010.11929.
|
| 254 |
+
Leo Gao, Stella Biderman, Sid Black, Laurence Golding, Travis Hoppe, Charles Foster, Jason Phang, Horace He, Anish Thite, Noa Nabeshima, et al. 2020. The pile: An 800gb dataset of diverse text for language modeling. arXiv preprint arXiv:2101.00027.
|
| 255 |
+
Albert Gu, Tri Dao, Stefano Ermon, Atri Rudra, and Christopher Ré. 2020. Hippo: Recurrent memory with optimal polynomial projections. Advances in neural information processing systems, 33:1474-1487.
|
| 256 |
+
Albert Gu, Karan Goel, and Christopher Ré. 2021. Efficiently modeling long sequences with structured state spaces. arXiv preprint arXiv:2111.00396.
|
| 257 |
+
Mandy Guo, Joshua Ainslie, David Uthus, Santiago Ontanon, Jianmo Ni, Yun-Hsuan Sung, and Yinfei Yang. 2021. Longt5: Efficient text-to-text transformer for long sequences. arXiv preprint arXiv:2112.07916.
|
| 258 |
+
Ankit Gupta, Albert Gu, and Jonathan Berant. 2022. Diagonal state spaces are as effective as structured state spaces. In Advances in Neural Information Processing Systems.
|
| 259 |
+
Pengcheng He, Jianfeng Gao, and Weizhu Chen. 2021a. Debertav3: Improving deberta using electra-style pretraining with gradient-disentangled embedding sharing. arXiv preprint arXiv:2111.09543.
|
| 260 |
+
Pengcheng He, Xiaodong Liu, Jianfeng Gao, and Weizhu Chen. 2021b. Deberta: Decoding-enhanced bert with disentangled attention. In International Conference on Learning Representations.
|
| 261 |
+
Nikita Kitaev, Lukasz Kaiser, and Anselm Levskaya. 2020. Reformer: The efficient transformer. In International Conference on Learning Representations.
|
| 262 |
+
Benjamin Lefaudeau, Francisco Massa, Diana Liskovich, Wenhan Xiong, Vittorio Caggiano, Sean Naren, Min Xu, Jieru Hu, Marta Tintore, Susan Zhang, Patrick Labatut, and Daniel Haziza. 2022. xformers: A modular and hackable transformer modelling library. https://github.com/facebookresearch/xformers.
|
| 263 |
+
Yuhong Li, Tianle Cai, Yi Zhang, Deming Chen, and Debadepta Dey. 2022. What makes convolutional models great on long sequence modeling? arXiv preprint arXiv:2210.09298.
|
| 264 |
+
Chin-Yew Lin. 2004. Rouge: A package for automatic evaluation of summaries. In Text summarization branches out, pages 74-81.
|
| 265 |
+
|
| 266 |
+
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.
|
| 267 |
+
Xuezhe Ma, Chunting Zhou, Xiang Kong, Junxian He, Liangke Gui, Graham Neubig, Jonathan May, and Luke Zettlemoyer. 2023. Mega: Moving average equipped gated attention. In *The Eleventh International Conference on Learning Representations*.
|
| 268 |
+
Adam Paszke, Sam Gross, Francisco Massa, Adam Lerer, James Bradbury, Gregory Chanan, Trevor Killeen, Zeming Lin, Natalia Gimelshein, Luca Antiga, Alban Desmaison, Andreas Kopf, Edward Yang, Zachary DeVito, Martin Raison, Alykhan Tejani, Sasank Chilamkurthy, Benoit Steiner, Lu Fang, Junjie Bai, and Soumith Chintala. 2019. Pytorch: An imperative style, high-performance deep learning library. In Advances in Neural Information Processing Systems 32: Annual Conference on Neural Information Processing Systems 2019, NeurIPS 2019, December 8-14, 2019, Vancouver, BC, Canada, pages 8024-8035.
|
| 269 |
+
Hao Peng, Nikolaos Pappas, Dani Yogatama, Roy Schwartz, Noah Smith, and Lingpeng Kong. 2021. Random feature attention. In International Conference on Learning Representations.
|
| 270 |
+
Alec Radford, Jeffrey Wu, Rewon Child, David Luan, Dario Amodei, Ilya Sutskever, et al. 2019. Language models are unsupervised multitask learners. OpenAI blog, 1(8):9.
|
| 271 |
+
Stephen Roller, Emily Dinan, Naman Goyal, Da Ju, Mary Williamson, Yinhan Liu, Jing Xu, Myle Ott, Eric Michael Smith, Y-Lan Boureau, and Jason Weston. 2021. Recipes for building an open-domain chatbot. In Proceedings of the 16th Conference of the European Chapter of the Association for Computational Linguistics: Main Volume, pages 300-325, Online. Association for Computational Linguistics.
|
| 272 |
+
Uri Shaham, Elad Segal, Maor Ivgi, Avia Efrat, Ori Yoran, Adi Haviv, Ankit Gupta, Wenhan Xiong, Mor Geva, Jonathan Berant, et al. 2022. Scrols: Standardized comparison over long language sequences. arXiv preprint arXiv:2201.03533.
|
| 273 |
+
Jimmy T.H. Smith, Andrew Warrington, and Scott Linderman. 2023. Simplified state space layers for sequence modeling. In *The Eleventh International Conference on Learning Representations*.
|
| 274 |
+
Simeng Sun, Kalpesh Krishna, Andrew Mattarella-Micke, and Mohit Iyyer. 2021. Do long-range language models actually use long-range context? arXiv preprint arXiv:2109.09115.
|
| 275 |
+
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.
|
| 276 |
+
|
| 277 |
+
Sinong Wang, Belinda Z Li, Madian Khabsa, Han Fang, and Hao Ma. 2020. Linformer: Self-attention with linear complexity. arXiv preprint arXiv:2006.04768.
|
| 278 |
+
Manzil Zaheer, Guru Guruganesh, Kumar Avinava Dubey, Joshua Ainslie, Chris Alberti, Santiago Ontanon, Philip Pham, Anirudh Ravula, Qifan Wang, Li Yang, et al. 2020. Big bird: Transformers for longer sequences. Advances in neural information processing systems, 33:17283-17297.
|
| 279 |
+
Qingru Zhang, Minshuo Chen, Alexander Bukharin, Pengcheng He, Yu Cheng, Weizhu Chen, and Tuo Zhao. 2023. Adaptive budget allocation for parameter-efficient fine-tuning. In The Eleventh International Conference on Learning Representations.
|
| 280 |
+
Simiao Zuo, Xiaodong Liu, Jian Jiao, Denis Charles, Eren Manavoglu, Tuo Zhao, and Jianfeng Gao. 2022. Efficient long sequence modeling via state space augmented transformer. arXiv preprint arXiv:2212.08136.
|
| 281 |
+
|
| 282 |
+
# A Dataset Statistics
|
| 283 |
+
|
| 284 |
+
In the following table, we provide the detailed statistics of datasets in our experiments, including example splits and length statistics.
|
| 285 |
+
|
| 286 |
+
<table><tr><td rowspan="2">Dataset</td><td colspan="3">Example Count</td><td colspan="3">Input Length</td></tr><tr><td>Train</td><td>Valid</td><td>Test</td><td>Average</td><td>Median</td><td>90th percentile</td></tr><tr><td>ArXiv</td><td>203,037</td><td>6,436</td><td>6,440</td><td>10,720</td><td>8,519</td><td>20,170</td></tr><tr><td>PubMed</td><td>119,924</td><td>6,633</td><td>6,658</td><td>4,748</td><td>3,883</td><td>8,883</td></tr><tr><td>QMSUM</td><td>1,257</td><td>272</td><td>281</td><td>9,497</td><td>14,197</td><td>27,761</td></tr><tr><td>GovReport</td><td>17,457</td><td>972</td><td>973</td><td>7,886</td><td>8,841</td><td>18,835</td></tr></table>
|
| 287 |
+
|
| 288 |
+
# B Natural Language Generation
|
| 289 |
+
|
| 290 |
+
# B.1 The Results of All ROUGE Scores
|
| 291 |
+
|
| 292 |
+
Table 5: Statistics of datasets. Input length measured in tokens using a SentencePiece Model.
|
| 293 |
+
|
| 294 |
+
<table><tr><td>Methods</td><td>C</td><td>QMSUM</td><td>ArXiv</td><td>GovReport</td></tr><tr><td>Full attention</td><td>1610M</td><td>31.50 / 8.00 / 27.81</td><td>46.13 / 19.32 / 41.89</td><td>60.53 / 28.83 / 57.88</td></tr><tr><td>Window (w=1024)</td><td>402M</td><td>23.31 / 4.32 / 20.62</td><td>35.90 / 13.51 / 32.19</td><td>49.82 / 17.03 / 47.42</td></tr><tr><td>Window (w=2048)</td><td>805M</td><td>26.73 / 5.05 / 23.40</td><td>38.74 / 15.21 / 34.87</td><td>56.14 / 22.79 / 53.50</td></tr><tr><td>Block (b=2048)</td><td>402M</td><td>26.24 / 5.03 / 23.13</td><td>21.85 / 9.61 / 19.86</td><td>26.37 / 12.31 / 25.18</td></tr><tr><td>Block (b=4096)</td><td>805M</td><td>26.96 / 5.15 / 23.85</td><td>35.95 / 14.50 / 32.37</td><td>49.83 / 23.64 / 47.50</td></tr><tr><td>MASFormer (l=4)</td><td>436M</td><td>29.86 / 6.59 / 25.87</td><td>38.85 / 14.91 / 34.98</td><td>46.67 / 18.82 / 44.39</td></tr><tr><td>MASFormer (l=6)</td><td>553M</td><td>30.83 / 7.15 / 27.12</td><td>36.29 / 15.72 / 32.96</td><td>49.26 / 21.20 / 46.89</td></tr><tr><td>MASFormer (l=8)</td><td>671M</td><td>30.91 / 8.00 / 27.81</td><td>43.31 / 17.00 / 39.12</td><td>54.37 / 24.42 / 51.87</td></tr><tr><td>MASFormer (l=12)</td><td>906M</td><td>32.53 / 8.70 / 28.75</td><td>45.19 / 18.58 / 40.72</td><td>56.98 / 26.26 / 54.46</td></tr></table>
|
| 295 |
+
|
| 296 |
+
# B.2 Training Details
|
| 297 |
+
|
| 298 |
+
Table 6: Finetuning performance of different attention methods.
|
| 299 |
+
|
| 300 |
+
<table><tr><td>Methods</td><td>QMSUM</td><td>ArXiv</td><td>GovReport</td></tr><tr><td>Full attention</td><td>1 × 10-5</td><td>1 × 10-4</td><td>1 × 10-4</td></tr><tr><td>Window attention (w=1024)</td><td>5 × 10-4</td><td>5 × 10-5</td><td>5 × 10-4</td></tr><tr><td>Window attention (w=2048)</td><td>5 × 10-5</td><td>5 × 10-5</td><td>1 × 10-4</td></tr><tr><td>Block attention (w=2048)</td><td>1 × 10-4</td><td>1 × 10-5</td><td>1 × 10-5</td></tr><tr><td>Block attention (w=4096)</td><td>5 × 10-5</td><td>5 × 10-4</td><td>1 × 10-5</td></tr><tr><td>MASFormer (l=4)</td><td>5 × 10-5</td><td>1 × 10-3</td><td>5 × 10-4</td></tr><tr><td>MASFormer (l=6)</td><td>5 × 10-5</td><td>5 × 10-5</td><td>5 × 10-4</td></tr><tr><td>MASFormer (l=8)</td><td>5 × 10-5</td><td>5 × 10-4</td><td>5 × 10-4</td></tr><tr><td>MASFormer (l=12)</td><td>1 × 10-5</td><td>1 × 10-4</td><td>1 × 10-4</td></tr></table>
|
| 301 |
+
|
| 302 |
+
Table 7: The fine-tuning learning rate of each method on each dataset.
|
| 303 |
+
|
| 304 |
+
We conduct continual training for all attention methods with training data form PILE and input length as 8192. After continual training, we obtain the continually trained models for each method and fine-tune them on QMSUM, ArXiv and GovReport to compare their summarization performance. During the
|
| 305 |
+
|
| 306 |
+
fine-tuning, we set the input length as 8192 for all datasets and all models. We apply the greedy decoding for generation and set the maximum output length as 256 for QMSUM, 1024 for GovReport, and 512 for ArXiv. Table 8 lists the details of these hyperparameters. Besides, we apply the linear learning rate schedule to fine-tune the models and the base learning rates are summarized in Table 7.
|
| 307 |
+
|
| 308 |
+
<table><tr><td>Hyperparameter</td><td>QMSUM</td><td>ArXiv</td><td>GovReport</td></tr><tr><td>Training steps</td><td>3000</td><td>12000</td><td>8000</td></tr><tr><td>Batch size</td><td>32</td><td>32</td><td>64</td></tr><tr><td>Input length</td><td>8192</td><td>8192</td><td>8192</td></tr><tr><td>Maximum generation length</td><td>256</td><td>512</td><td>1024</td></tr><tr><td>Weight decay</td><td>0.001</td><td>0.001</td><td>0.001</td></tr></table>
|
| 309 |
+
|
| 310 |
+
Table 8: The other fine-tuning parameters for each dataset, which remain the same for every method.
|
2023/Efficient Long-Range Transformers_ You Need to Attend More, but Not Necessarily at Every Layer/images.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:25fa93f7fbe6283c02d25ada53515b4429ab63535037b1b633d1280d92a74c0c
|
| 3 |
+
size 597216
|
2023/Efficient Long-Range Transformers_ You Need to Attend More, but Not Necessarily at Every Layer/layout.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2023/Efficient Multilingual Language Model Compression through Vocabulary Trimming/f34b65cf-02f1-40ee-8ff5-d2a0c21b9d93_content_list.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2023/Efficient Multilingual Language Model Compression through Vocabulary Trimming/f34b65cf-02f1-40ee-8ff5-d2a0c21b9d93_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2023/Efficient Multilingual Language Model Compression through Vocabulary Trimming/f34b65cf-02f1-40ee-8ff5-d2a0c21b9d93_origin.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a9f037ef5c1cc21f3798a61d242aaeee2c462072a5e653897a5bbfea129e9e14
|
| 3 |
+
size 2923034
|
2023/Efficient Multilingual Language Model Compression through Vocabulary Trimming/full.md
ADDED
|
@@ -0,0 +1,328 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Efficient Multilingual Language Model Compression through Vocabulary Trimming
|
| 2 |
+
|
| 3 |
+
Asahi Ushio and Yi Zhou and Jose Camacho-Collados
|
| 4 |
+
|
| 5 |
+
Cardiff NLP, School of Computer Science and Informatics, Cardiff University, UK
|
| 6 |
+
|
| 7 |
+
{UshioA,Zhouy131,CamachoColladosJ}\@cardiff.ac.uk
|
| 8 |
+
|
| 9 |
+
# Abstract
|
| 10 |
+
|
| 11 |
+
Multilingual language models (LMs) have become a powerful tool in NLP, especially for non-English languages. Nevertheless, model parameters of multilingual LMs remain large due to the larger embedding matrix of the vocabulary covering tokens in different languages. Instead, monolingual LMs can be trained in a target language with the language-specific vocabulary only. In this paper, we propose vocabulary-trimming (VT), a method to reduce a multilingual LM vocabulary to a target language by deleting potentially irrelevant tokens from its vocabulary. In theory, VT can compress any existing multilingual LM to any language covered by the original model. In our experiments, we show that VT can retain the original performance of the multilingual LM, while being considerably smaller in size than the original multilingual LM. The evaluation is performed over four NLP tasks (two generative and two classification tasks) among four widely used multilingual LMs in seven languages. The results show that this methodology can keep the best of both monolingual and multilingual worlds by keeping a small size as monolingual models without the need for specifically retraining them, and can even help limit potentially harmful social biases.
|
| 12 |
+
|
| 13 |
+
# 1 Introduction
|
| 14 |
+
|
| 15 |
+
Multilingual language model (LM) pre-training (Devlin et al., 2019; Conneau et al., 2019; Liu et al., 2020; Xue et al., 2021) has been shown to be an efficient mechanism to store information from many languages into a single model, without the need for training multiple language-specific models. Moreover, it has been proven reliable for cross-lingual tasks (Pires et al., 2019; Conneau and Lample, 2019) and can provide competitive performance in most settings, generally similar to its monolingual counterparts (Goyal et al., 2021), while being generally less affected by culturally-dependant biases (Ahn and Oh, 2021). Similarly to monolingual
|
| 16 |
+
|
| 17 |
+
models, multilingual LMs can be used for zero/few-shot learning (Scao et al., 2022) by increasing the model size and, more frequently, can be specialized to different tasks by fine-tuning to specific data. In practice, however, there are a few practical issues when training multilingual LM such as the curse of multilinguality (Conneau et al., 2019; Pfeiffer et al., 2022), a trade-off between the number of languages and individual performance in a single language, or the multilingual vocabulary construction, which requires a careful design for better generalization (Chung et al., 2020; Zheng et al., 2021; Liang et al., 2023).
|
| 18 |
+
|
| 19 |
+
Besides such generalization concerns, multilingual LMs usually consist of larger parameters than their monolingual counterparts due to the need for a large vocabulary covering multiple languages. This becomes an important issue in practice when the resources to host models are limited. For instance, while using the same configuration (i.e., same number of layers and hidden units), the parameter size of T5<sub>SMALL</sub> (Raffel et al., 2020) and mT5<sub>SMALL</sub> (Xue et al., 2021) are 140M and 300M, respectively. This is only due to their difference in vocabulary size, with T5 being 50k and mT5, 250k. In fact, the embedding matrix stemming from the LM vocabulary can occupy a large portion of the parameter space. For instance, the ratio of the embedding matrix to the full model's parameter size in multilingual LMs can be higher than 80% as T5 (see Figure 1).
|
| 20 |
+
|
| 21 |
+
In this paper, we propose a simple vocabulary trimming (VT) method to remove tokens from the vocabulary of multilingual LMs that may be irrelevant to the target language. This is achieved by automatically identifying language-specific tokens from an underlying text corpus. We consider two VT strategies of pre-FT VT (VT before fine-tuning) and post-FT VT (VT after fine-tuning) and
|
| 22 |
+
|
| 23 |
+

|
| 24 |
+
Figure 1: The ratio of the embedding matrix to the number of parameters for each multilingual LM.
|
| 25 |
+
|
| 26 |
+
analyse them by varying the final vocabulary size. We conduct experiments on two generation tasks, question answering (QA) and question generation (QG), and two classification tasks, sentiment analysis and natural language inference (NLI), across seven different languages. The experimental results show that both pre and post fine-tuning VT can reduce the model size while retaining the original performance in generation tasks (QA and QG), and particularly in classification tasks (sentiment and NLI) where the results are close to being identical despite the significant reduction in vocabulary size. In all tasks, the original performance can be generally maintained with less than $40\%$ of the full model parameters for all languages.
|
| 27 |
+
|
| 28 |
+
Finally, even though pre-trained LMs have reported impressive performance on various NLP downstream tasks (Kenton and Toutanova, 2019; Liu et al., 2019; Conneau et al., 2019), such LMs also demonstrate worrying levels of social biases in certain situations (May et al., 2019; Kurita et al., 2019; Kaneko and Bollegala, 2021). One natural question that arises is whether VT can have an influence on the bias level in multilingual LMs, including fine-tuned models. For this purpose, we evaluate social bias in multilingual LMs after applying VT with different settings and compare it against its monolingual counterpart. Experimental results show that the monolingual LM tends to contain more bias than its multilingual versions. Moreover, compared to the original multilingual LM, the bias level has no significant change after applying VT. These results suggest that a monolingual LM can be induced by applying VT to its corresponding multilingual LM, thereby obtaining a less biased monolingual LM compared to its original monolingual counterpart.
|
| 29 |
+
|
| 30 |
+
# 2 Related Work
|
| 31 |
+
|
| 32 |
+
Several studies have explored the possibility to modify or adapt the vocabulary of LMs. For instance, Artetxe et al. (2020) and Marchisio et al. (2022) adapted a mono-lingual LM into another language by learning the embedding matrix on the new language, while fixing the other weights. Similarly, Wang et al. (2019) augmented the vocabulary of a multilingual LM to new languages with multilingual word alignment (Lample et al., 2018). Zheng et al. (2021) proposed to evaluate the ability of a vocabulary to represent a particular language, and Chung et al. (2020) proposed a multilingual vocabulary construction that balances the tradeoff between optimizing for cross-lingual sub-word sharing and the need for robust representation of individual languages. XLM-V (Liang et al., 2023) combines the idea of Zheng et al. (2021) and Chung et al. (2020) to efficiently enlarge the vocabulary size along with the model size scaling. Ostendorff and Rehm (2023) used a multi-stage fine-tuning to obtain a LM in the target language from other LM in the source language. These prior works modify existing mono/multi-lingual LMs to include new languages, i.e. augmenting the multilinguality of the LMs. In contrast, our study focuses on compressing multilingual LMs into the target language to effectively achieve smaller monolingual LMs, i.e. reducing the multilingual representation of the LMs while retaining the capability in a specific target language.
|
| 33 |
+
|
| 34 |
+
The work of Abdaoui et al. (2020) is the most relevant to our study as, to the best of our knowledge, they introduced the idea of VT for the first time. However, their analysis is limited to NLI with pre-fine-tuning VT with mBERT (Devlin et al., 2019) only, as well as a fixed vocabulary size after VT. In contrast, our study compares two VT strategies, before and after fine-tuning, and show how this latter strategy, not considered in Abdaoui et al. (2020), can be a more effective compression technique in some settings. Furthermore, we extend the experiments to generation tasks as well as classification tasks with more recent LMs such as mBART (Lewis et al., 2020) and mT5 (Xue et al., 2021), and provide an exhaustive analysis on the effect of VT.
|
| 35 |
+
|
| 36 |
+
# 3 Vocabulary Trimming
|
| 37 |
+
|
| 38 |
+
To perform vocabulary trimming (VT), we first need a multilingual LM as an input. The idea is to
|
| 39 |
+
|
| 40 |
+

|
| 41 |
+
Figure 2: An illustration of vocabulary trimming for Korean and French.
|
| 42 |
+
|
| 43 |
+
tailor model to a particular target language $l$ , which in principle belong to the same set of languages used to trained the input multilingual LM. For the target language $l$ , VT first identifies language-specific tokens on a language-specific corpus $\mathcal{C}_l$ and remove all the tokens along with their embeddings except for those appeared in $\mathcal{C}_l$ as described in Figure 2. In our analysis (§ 5), we also consider to keep the top- $n$ most frequent tokens in $\mathcal{C}_l$ to further reduce the model size by removing less frequent tokens. We consider two VT strategies: (1) before fine-tuning and (2) after fine-tuning.
|
| 44 |
+
|
| 45 |
+
The difference between these two strategies is whether to perform VT before or after fine-tuning, as shown in Figure 3. Both VTs have advantages and drawbacks: while pre-FT VT can reduce the time of fine-tuning as the trimmed LM is smaller than the original LM, post-FT VT only need a fine-tuned multilingual LM - this way, post-FT VT can be used as a postprocessing step and no additional language-specific training is required.
|
| 46 |
+
|
| 47 |
+
Finally, we release a simple LM vocabulary trimming starting package to apply our proposed technique to any input multilingual transformer-based LM, along with all the models and code needed to reproduce our experiments, at https://github.com/asahi417/lm-vocab-trimmer.
|
| 48 |
+
|
| 49 |
+
# 4 Evaluation
|
| 50 |
+
|
| 51 |
+
In this section, we present our experimental results to test the reliability of our proposed VT methodology in NLP tasks.
|
| 52 |
+
|
| 53 |
+

|
| 54 |
+
Figure 3: Comparisons of Pre-FT vs Post-FT VT in an example of fine-tuning on a task in French.
|
| 55 |
+
|
| 56 |
+
# 4.1 Experimental Setting
|
| 57 |
+
|
| 58 |
+
Tasks and datasets. In order to test the efficacy of VT, we consider two generation tasks, question answering (QA) and question generation (QG), and two classification tasks, sentiment analysis and natural language inference (NLI). As the datasets for QA, we use SQuAD (Rajpurkar et al., 2016) (English), Spanish SQuAD (Casimiro Pio et al., 2019) (Spanish), FQuAD (d'Hoffschmidt et al., 2020) (French), Italian SQuAD (Croce et al., 2018) (Italian), JAQuAD (So et al., 2022) (Japanese), KorQuAD (Lim et al., 2019) (Korean), and SberQuAD (Efimov et al., 2020) (Russian). For QG, we use the same datasets adapted for QG via QG-Bench (Ushio et al., 2022). For sentiment analysis, we use Twitter-based datasets for English (Rosenthal et al., 2017), Arabic (Rosenthal et al., 2017), French (Benamara et al., 2017), Italian (Barbieri et al., 2016), German (Cieliebak et al., 2017), Portuguese (Brum and Nunes, 2017), and Spanish (Diaz-Galiano et al., 2018) from UMSAB (Unified Multilingual Sentiment Analysis Benchmark) (Barbieri et al., 2022). All the sentiment analysis datasets contain three labels: positive, neutral and negative. For NLI, we use XNLI (Conneau et al., 2018), a multilingual NLI dataset, including English, French, German, Spanish and Arabic, which are the languages included in the sentiment analysis experiment. We fine-tune LMs on the training sets of each language, which were translated automatically from English and released in the original paper.
|
| 59 |
+
|
| 60 |
+
Evaluation metrics. For the evaluation, we use the following standard metrics: answer span F1 score (Ans-F1) and exact match (EM) are used for QA; METEOR (MTR) and BERTScore (BS) for QG, which have been shown to be the most correlated metrics to human judgment (Ushio et al., 2022); macro-F1 score for sentiment following (Barbieri et al., 2022); and accuracy for NLI. As the language-specific corpus $\mathcal{C}_l$ to extract vocabulary counts for VT, we use mC4 (Xue et al., 2021), one of the largest public multilingual corpora.
|
| 61 |
+
|
| 62 |
+
<table><tr><td rowspan="2"></td><td rowspan="2">Lang.</td><td rowspan="2">Vocabulary</td><td rowspan="2">Parameters</td><td colspan="4">QA</td><td colspan="3">QG</td></tr><tr><td>No-Trim</td><td>Post-FT</td><td>Pre-FT</td><td>No-Trim</td><td>Post-FT</td><td>Pre-FT</td><td></td></tr><tr><td rowspan="7">mT5</td><td>EN</td><td>209K (83.6%)</td><td>258M (86.1%)</td><td>70.1 / 55.5</td><td>70.2 / 55.5</td><td>70.1 / 56.4</td><td>23.8 / 90.0</td><td>23.8 / 90.0</td><td>24.0 / 90.1</td><td></td></tr><tr><td>ES</td><td>131K (52.4%)</td><td>178M (59.4%)</td><td>55.9 / 34.7</td><td>55.9 / 34.7</td><td>57.8 / 37.5</td><td>22.7 / 84.1</td><td>22.7 / 84.1</td><td>22.3 / 84.2</td><td></td></tr><tr><td>FR</td><td>131K (52.4%)</td><td>178M (59.4%)</td><td>50.0 / 30.9</td><td>50.0 / 30.9</td><td>48.6 / 29.4</td><td>17.5 / 80.7</td><td>17.5 / 80.7</td><td>16.1 / 79.2</td><td></td></tr><tr><td>IT</td><td>111K (44.4%)</td><td>157M (52.6%)</td><td>53.2 / 37.6</td><td>53.4 / 37.8</td><td>51.5 / 36.0</td><td>17.6 / 80.8</td><td>17.6 / 80.8</td><td>17.5 / 80.6</td><td></td></tr><tr><td>JA</td><td>125K (50.0%)</td><td>172M (57.6%)</td><td>65.7 / 65.7</td><td>65.7 / 65.7</td><td>63.0 / 63.0</td><td>29.0 / 80.9</td><td>29.0 / 80.9</td><td>28.6 / 81.0</td><td></td></tr><tr><td>KO</td><td>73K (29.2%)</td><td>119M (39.7%)</td><td>77.1 / 70.6</td><td>77.1 / 70.5</td><td>74.5 / 67.3</td><td>27.5 / 82.9</td><td>27.5 / 83.0</td><td>28.0 / 83.7</td><td></td></tr><tr><td>RU</td><td>147K (58.8%)</td><td>195M (65.1%)</td><td>73.7 / 51.4</td><td>73.8 / 51.4</td><td>74.8 / 53.4</td><td>26.4 / 84.3</td><td>26.4 / 84.3</td><td>28.9 / 86.4</td><td></td></tr><tr><td rowspan="7">mBART</td><td>EN</td><td>173K (69.2%)</td><td>532M (87.1%)</td><td>76.9 / 62.6</td><td>77.0 / 62.7</td><td>78.4 / 65.7</td><td>25.1 / 90.4</td><td>25.1 / 90.4</td><td>24.7 / 90.1</td><td></td></tr><tr><td>ES</td><td>87K (34.8%)</td><td>443M (72.7%)</td><td>64.1 / 42.2</td><td>64.5 / 42.8</td><td>63.7 / 43.9</td><td>22.9 / 83.6</td><td>22.8 / 83.6</td><td>22.8 / 84.0</td><td></td></tr><tr><td>FR</td><td>85K (34.0%)</td><td>442M (72.5%)</td><td>60.4 / 39.3</td><td>61.0 / 39.8</td><td>66.4 / 45.1</td><td>19.8 / 81.7</td><td>19.8 / 81.7</td><td>18.4 / 79.7</td><td></td></tr><tr><td>IT</td><td>67K (26.8%)</td><td>424M (69.5%)</td><td>64.7 / 50.0</td><td>64.9 / 50.2</td><td>65.8 / 49.8</td><td>18.0 / 80.6</td><td>17.9 / 80.7</td><td>18.9 / 81.1</td><td></td></tr><tr><td>JA</td><td>77K (30.8%)</td><td>434M (71.1%)</td><td>68.2 / 68.2</td><td>68.2 / 68.2</td><td>70.6 / 70.6</td><td>30.0 / 82.3</td><td>29.7 / 82.1</td><td>29.1 / 80.8</td><td></td></tr><tr><td>KO</td><td>46K (18.4%)</td><td>402M (65.9%)</td><td>79.3 / 72.3</td><td>79.2 / 72.1</td><td>83.2 / 77.3</td><td>30.2 / 83.9</td><td>30.3 / 84.0</td><td>30.2 / 83.8</td><td></td></tr><tr><td>RU</td><td>99K (39.6%)</td><td>456M (74.8%)</td><td>78.7 / 58.0</td><td>79.0 / 58.2</td><td>75.5 / 49.9</td><td>29.3 / 87.2</td><td>28.7 / 87.0</td><td>28.3 / 86.7</td><td></td></tr></table>
|
| 63 |
+
|
| 64 |
+
Table 1: Results on QA (Ans-F1/EM) and QG (MTR/BS), including both the vocabulary size and the number of parameters after VT with the ratio to the original model (\%). The best results in each LM and language are in bold characters. Note that the parameter size of the original mT5 and mBART (No-Trim) is 300M and 611M, respectively, both with a vocabulary size of 250K.
|
| 65 |
+
|
| 66 |
+
Base language models. As the base LMs, given computational constraints we chose the smallest mT5 and mBART to fine-tune on QA and QG, and XLM-R and XLM-V (Liang et al., 2023) for sentiment analysis and NLI. All these models have a vocabulary size of $250\mathrm{K}$ , except for XLM-V which has a vocabulary size of $901\mathrm{K}$ subword tokens. For our experiments, we compare the results of pre/post-FT VT against vanilla LM fine-tuning without VT, which we refer to as No-Trim.
|
| 67 |
+
|
| 68 |
+
Fine-tuning. For model fine-tuning, we rely on lmqg (Ushio et al., 2023) for QA/QG, and Ray Tune<sup>3</sup> for sentiment analysis. In both cases, we use the default search space for hyperparameter search. For NLI, we follow the same hyperparameters used in Liang et al. (2023). All the resulting models and code will be released upon acceptance of the paper.
|
| 69 |
+
|
| 70 |
+
# 4.2 Results
|
| 71 |
+
|
| 72 |
+
We present the results for the generation and classification tasks in section 4.2.1 and section 4.2.2, respectively.
|
| 73 |
+
|
| 74 |
+
# 4.2.1 Generation Tasks: QA & QG
|
| 75 |
+
|
| 76 |
+
Table 1 shows the overall results on QA and QG. The results confirm that both of pre/post-FT VT can maintain the original performance in most cases, while being smaller than the original models by significantly reducing the vocabulary size. First, post-FT VT achieves at least the same performance as
|
| 77 |
+
|
| 78 |
+
the vanilla fine-tuning for all the languages for both LMs in QA and QG, except for a few cases such as mBART QA in Korean and mBART QG in Russian, although the decrease is no more than $0.5\%$ . Meanwhile, pre-FT VT outperforms its vanilla fine-tuning model with a relatively important margin in some cases, such as mBART French QA and mT5 Spanish QA. In contrast, there are a few models where pre-FT VT degrades the performance of the original model such as mT5 QA in Korean (2.6% decrease in Ans-F1) or mBART QA in Russian (3.2% decrease in Ans-F1).
|
| 79 |
+
|
| 80 |
+
Since we keep all the vocabulary that appeared in the language-specific corpus $\mathcal{C}_l$ , the percentage of reduced parameter depends on the language, and generally VT can reduce the model size for Asian (Japanese/Korean) and European (Spanish/French/Italian) languages efficiently (50% for mT5 and 70% for mBART), but it remains high in other languages (English-Russian).
|
| 81 |
+
|
| 82 |
+
# 4.2.2 Classification Tasks: Sentiment & NLI
|
| 83 |
+
|
| 84 |
+
Table 2 shows the results on sentiment analysis and NLI. In this case, post-FT VT can robustly preserve the original performance of the original No-Trim baseline in both tasks for XLM-R and XLM-V, while being no more than $40\%$ and $60\%$ in vocabulary and overall parameter size, respectively, of the original XLM-V and XLM-R models in all the non-English datasets. XLM-V PT sentiment model is the only post-FT VT where a slight decrease can be observed $(0.1\%)$ . On the other hand, the accuracy
|
| 85 |
+
|
| 86 |
+
<table><tr><td rowspan="2"></td><td rowspan="2">Lang.</td><td rowspan="2">Vocabulary</td><td rowspan="2">Parameter</td><td colspan="3">Sentiment</td><td colspan="3">NLI</td></tr><tr><td>No-Trim</td><td>Post-FT</td><td>Pre-FT</td><td>No-Trim</td><td>Post-FT</td><td>Pre-FT</td></tr><tr><td rowspan="7">XLM-R</td><td>AR</td><td>49K (19.6%)</td><td>124M (44.7%)</td><td>66.3</td><td>66.3</td><td>60.9</td><td>75.7</td><td>75.7</td><td>73.8</td></tr><tr><td>DE</td><td>91K (36.4%)</td><td>156M (56.3%)</td><td>73.2</td><td>73.3</td><td>73.5</td><td>79.9</td><td>79.9</td><td>78.3</td></tr><tr><td>EN</td><td>173K (69.2%)</td><td>219M (78.7%)</td><td>68.4</td><td>68.5</td><td>67.9</td><td>84.6</td><td>84.6</td><td>70.6</td></tr><tr><td>ES</td><td>87K (34.8%)</td><td>153M (55.0%)</td><td>69.0</td><td>69.0</td><td>65.0</td><td>79.8</td><td>79.8</td><td>67.2</td></tr><tr><td>FR</td><td>85K (34.0%)</td><td>151M (54.6%)</td><td>71.8</td><td>71.8</td><td>72.1</td><td>80.1</td><td>80.1</td><td>79.6</td></tr><tr><td>IT</td><td>67K (26.8%)</td><td>138M (49.7%)</td><td>62.9</td><td>62.9</td><td>70.8</td><td>-</td><td>-</td><td>-</td></tr><tr><td>PT</td><td>66K (26.4%)</td><td>137M (49.3%)</td><td>70.7</td><td>70.8</td><td>70.2</td><td>-</td><td>-</td><td>-</td></tr><tr><td rowspan="7">XLM-V</td><td>AR</td><td>92K (11.8%)</td><td>157M (20.2%)</td><td>59.8</td><td>59.8</td><td>64.7</td><td>75.5</td><td>75.6</td><td>76.1</td></tr><tr><td>DE</td><td>239K (30.7%)</td><td>269M (34.7%)</td><td>73.5</td><td>73.5</td><td>73.0</td><td>78.9</td><td>78.9</td><td>79.0</td></tr><tr><td>EN</td><td>484K (62.2%)</td><td>458M (58.9%)</td><td>63.9</td><td>63.9</td><td>61.3</td><td>84.4</td><td>84.4</td><td>84.5</td></tr><tr><td>ES</td><td>243K (31.2%)</td><td>279M (35.1%)</td><td>60.7</td><td>60.7</td><td>66.6</td><td>80.7</td><td>80.7</td><td>80.6</td></tr><tr><td>FR</td><td>218K (28.0%)</td><td>253M (32.6%)</td><td>68.8</td><td>68.8</td><td>59.5</td><td>78.6</td><td>78.6</td><td>79.0</td></tr><tr><td>IT</td><td>184K (23.7%)</td><td>227M (29.3%)</td><td>70.2</td><td>70.2</td><td>74.2</td><td>-</td><td>-</td><td>-</td></tr><tr><td>PT</td><td>181K (23.3%)</td><td>225M (28.9%)</td><td>66.6</td><td>66.5</td><td>52.8</td><td>-</td><td>-</td><td>-</td></tr></table>
|
| 87 |
+
|
| 88 |
+
Table 2: Results of sentiment analysis (macro F1) and XNLI (accuracy) including both the vocabulary size and the number of parameters after VT with the ratio to the original model (\%). The best results in each LM and language are in bold characters. Note that the overall parameter size of the original XLM-R and XLM-V (No-Trim) is 278M and 778M, respectively, with the vocabulary size being 250K and 901K vocabulary in each case.
|
| 89 |
+
|
| 90 |
+
of Pre-FT VT appears to be sensitive to the language and task, where it improves the performance in some languages such as Italian (XLM-R and XLM-V achieve $7.9\%$ and $3.8\%$ increase for sentiment analysis), but it decreases the performance with non-trivial margin in other languages such as Arabic, where XLM-R decreases $5\%$ for sentiment analysis and $2\%$ for XNLI. Since XLM-V has a larger vocabulary size, the percentage of reduced parameters at VT is more prominent in XLM-V, as seen in Arabic $(20.2\%)$ and Portuguese $(28.9\%)$ for example.
|
| 91 |
+
|
| 92 |
+
# 5 Vocabulary Size Analysis
|
| 93 |
+
|
| 94 |
+
In our main experimental results (§ 4.2), all the unique tokens that appeared in the monolingual corpus were kept, which resulted in a low compression ratio for some languages such as English and Russian. In this analysis, we constrain the number of vocabulary and choose the top- $n$ vocabulary at VT in terms of the frequency in the corpus (see § 3). For QA and QG, we compare mT5<sub>SMALL</sub> results with $n$ from [5K, 10K, 15K, 30K, 60K, 90K, 120K], which correspond to an overall parameter size of [49M, 54M, 59M, 74M, 105M, 136M, 166M], respectively. For sentiment analysis and NLI, we experiment with XLM-R<sub>BASE</sub> with $n$ from [5K, 10K, 15K, 30K, 60K], which correspond to [89M, 93M, 97M, 109M, 132M] of parameter size, respectively<sup>4</sup>.
|
| 95 |
+
|
| 96 |
+
4The full results with top- $n$ can be found at Appendix B and Appendix A.
|
| 97 |
+
|
| 98 |
+
# 5.1 Generation Tasks: QA & QG
|
| 99 |
+
|
| 100 |
+
Figure 4 shows the results of mT5 on QA and QG. Noticeably, post-FT VT can reduce the vocabulary size to $60\mathrm{K}$ for both QA and QG in all the languages with a trivial gap (0.3% decrease of EM in Russian QA and 0.1% decrease of BS in French QG), and that is $35\%$ of the original mT5 in the parameter size. Furthermore, post-FT VT can further reduce the vocabulary to 5K tokens with no more than $0.4\%$ decrease in each metric for both QA and QG in English, French, and Italian, which is $16\%$ of the original mT5 in the parameter size. Meanwhile, pre-FT VT outperforms the No-Trim result in all the languages in QA, and the majority of the languages in QG (English, Italian, Korean, and Russian), but the result is sensitive to the choice of $n$ . For example, Japanese/Korean QA and Russian QG with pre-FT VT for top-5K (16% of the original mT5) outperforms No-Trim as well as post-FT VT, but Japanese QG with pre-FT VT is worse in any choice of $n$ on contrary. This larger variation of results may also be due to the parameter size space, as the optimal parameters for the original multilingual LM (which is the one trained for post-FT VT) may differ. We leave this extended analysis for future work.
|
| 101 |
+
|
| 102 |
+
# 5.2 Classification Tasks: Sentiment & NLI
|
| 103 |
+
|
| 104 |
+
Figure 5 and Figure 6 show the results of XLM-R on sentiment and NLI. In NLI, we can see that post/pre-FT VT both can reduce the vocabulary to $30\mathrm{K}$ ( $39\%$ of the original XLM-R in the parameter
|
| 105 |
+
|
| 106 |
+

|
| 107 |
+
|
| 108 |
+

|
| 109 |
+
|
| 110 |
+

|
| 111 |
+
|
| 112 |
+

|
| 113 |
+
|
| 114 |
+

|
| 115 |
+
|
| 116 |
+

|
| 117 |
+
|
| 118 |
+

|
| 119 |
+
|
| 120 |
+

|
| 121 |
+
Figure 5: Sentiment analysis macro-F1 results of XLM-R with pre/post-FT VT for different vocabulary sizes compared to No-Trim.
|
| 122 |
+
|
| 123 |
+

|
| 124 |
+
|
| 125 |
+

|
| 126 |
+
|
| 127 |
+

|
| 128 |
+
|
| 129 |
+

|
| 130 |
+
|
| 131 |
+

|
| 132 |
+
Figure 4: QG (METEOR) and QA (Ans-F1) results for mT5 with pre/post-FT VT for different vocabulary sizes compared to the original multilingual LM (No-Trim).
|
| 133 |
+
|
| 134 |
+

|
| 135 |
+
|
| 136 |
+
size) without any decrease except $0.3\%$ of pre-FT VT for German, and there is no decrease more than $0.4\%$ even with top-15K of post-FT VT. In sentiment analysis, pre-FT VT with top-10K ( $33\%$ of the original XLM-R in the parameter size) can retain the accuracy of the No-Trim baseline in French and Italian. Moreover, post-FT VT with 30K can retain the original F1 score without a major drop in sentiment analysis, yet the decrease in F1 score is slightly more prominent than NLI ( $1.1\%$ in Arabic sentiment analysis).
|
| 137 |
+
|
| 138 |
+
The sentiment analysis datasets are collected from Twitter, so one dataset in a single language can contain tokens from other languages ( hashtags or named-entities, or even code-switching). In contrast, XNLI translates English NLI into other languages, so there is less chance for a dataset to
|
| 139 |
+
|
| 140 |
+

|
| 141 |
+
|
| 142 |
+

|
| 143 |
+
|
| 144 |
+

|
| 145 |
+
|
| 146 |
+

|
| 147 |
+
|
| 148 |
+

|
| 149 |
+
|
| 150 |
+

|
| 151 |
+
|
| 152 |
+

|
| 153 |
+
|
| 154 |
+

|
| 155 |
+
|
| 156 |
+

|
| 157 |
+
|
| 158 |
+

|
| 159 |
+
|
| 160 |
+

|
| 161 |
+
|
| 162 |
+

|
| 163 |
+
Figure 6: NLI accuracy of XLM-R with pre/post-FT VT for different vocabulary sizes compared to No-Trim.
|
| 164 |
+
|
| 165 |
+
contain tokens from other languages. This can explain the effectiveness of top- $n$ VT in NLI compared with sentiment analysis, as smaller values of $n$ should result in a vocabulary with fewer tokens from the other languages, which limits the ability of the models to handle foreign tokens.
|
| 166 |
+
|
| 167 |
+
# 6 Monolingual vs. Multilingual LMs: The Case of Social Bias
|
| 168 |
+
|
| 169 |
+
There has been extensive literature in NLP comparing monolingual and multilingual LMs (Muller et al., 2021; Goyal et al., 2021). As for the performance, there is no clear consensus on which type is better for certain languages, tasks or settings. How-
|
| 170 |
+
|
| 171 |
+
ever, there are other important factors that play a role in this comparison. First, monolingual models tend to have a smaller vocabulary size, which makes them more practical. In contrast, a single multilingual model can be used for a large number of languages. Moreover, multilingual LMs are less prone to capture and carry cultural- or language-dependent biases. This is due to the combination of languages and cultures into a single model, which makes it less biased toward specific cultures (Liang et al., 2020; Ahn and Oh, 2021). Prior works have shown that different types of biases consistently appear in language-specific models (Nadeem et al., 2021; Nangia et al., 2020; Blodgett et al., 2021; Dhamala et al., 2021; Kaneko et al., 2022; Zhou et al., 2022). While the comparison of monolingual and multilingual LMs is not the main focus of this paper, this analysis is certainly relevant. Trimming the vocabulary of a multilingual model essentially makes the model smaller, and therefore alleviates one of the main drawbacks of using multilingual language models on language-specific tasks, which is its larger size. On top of that, this strategy enables the usage of monolingual models with potentially less social bias. In the following, we present a comparison of monolingual and multilingual LMs (both trimmed and not trimmed) in terms of social bias and general performance.
|
| 172 |
+
|
| 173 |
+
# 6.1 Experimental setting
|
| 174 |
+
|
| 175 |
+
Social bias datasets. To study the effect of VT on social bias existing in pre-trained LMs, we first conduct experiments on two commonly used social bias evaluation datasets for masked LMs: StereoSet (SS; Nadeem et al., 2021) $^5$ and crowdsourced stereotype pairs benchmark (CP; Nangia et al., 2020) $^6$ . SS consists of associative contexts covering four types of social biases: race, gender, religion, and profession; while CP is crowdsourced and annotated by workers in the United States, which contains nine types of social biases: race, gender, sexual orientation, religion, age, nationality, disability, physical appearance, and socioeconomic status. In order to further investigate the impact of pre/post-FT VT on LMs, we trim and fine-tune models on sentiment analysis with different orders and evaluate the social bias in such models on the Equity Evaluation Corpus (EEC; Kiritchenko and
|
| 176 |
+
|
| 177 |
+
Mohammad, 2018) considering two bias types: gender and race. The EEC dataset was specifically with the aim to examine social bias for sentiment analysis systems.
|
| 178 |
+
|
| 179 |
+
Evaluation metrics. We compare the pseudolikelihood scores returned by each model for stereotypical and anti-stereotypical sentences using AULA (All Unmasked Likelihood with Attention weights) (Kaneko and Bollegala, 2022).<sup>8</sup> AULA has been shown to be robust against the frequency biases of the masked tokens and provides a more reliable assessment in contrast to alternative metrics when evaluating social biases in masked language models (MLMs). Given a sentence pair in the test dataset: "My mom spent all day cooking for Thanksgiving" vs. "My dad spent all day cooking for Thanksgiving", the first sentence is considered as stereotypical while the second one is anti-stereotypical. AULA computes the percentage of stereotypical sentences preferred by the MLM over anti-stereotypical ones as the bias score. An MLM is considered to be unfairly biased if it returns higher pseudo-loglikelihood scores for stereotypical sentences than the corresponding anti-stereotypical sentences. The AULA score falls within the range of [0,100] and an unbiased model would return a bias score close to 50. On the other hand, a bias score greater than or less than 50 indicates the bias direction towards the stereotype or anti-stereotype, respectively. Since the original AULA is not fitted to evaluate fine-tuned models, we adapt AULA to the EEC dataset obtain the bias score for the LMs fine-tuned on sentiment analysis, and denote this metric as EEC-AULA. Specifically, given a model that predicts sentiment labels (e.g., positive, neutral, negative) to sentences, we consider the percentage of stereotypical test sentences with a more negative label over anti-stereotypical ones as the corresponding bias evaluation measure.
|
| 180 |
+
|
| 181 |
+
General performance. As a proxy to test the general performance, we use the general language understanding evaluation (GLUE; Wang et al., 2018) benchmark. We acknowledge the limitations of using this benchmark to draw reliable conclusions at large (Ethayarajh and Jurafsky, 2020)
|
| 182 |
+
|
| 183 |
+
<table><tr><td rowspan="3">Base Model</td><td rowspan="3">Vocab Trimming</td><td colspan="2">Vocabulary</td><td colspan="4">Social Bias</td><td>General Performance</td></tr><tr><td rowspan="2">Pre-FT</td><td rowspan="2">Post-FT</td><td colspan="2">AULA</td><td colspan="2">EEC-AULA</td><td rowspan="2">GLUE</td></tr><tr><td>CP</td><td>SS</td><td>Gender</td><td>Race</td></tr><tr><td>Monolingual (RoBERTa)</td><td>-</td><td>50K</td><td>50K</td><td>58.1</td><td>58.8</td><td>64.8</td><td>85.7</td><td>78.0</td></tr><tr><td rowspan="5">Multilingual (XLM-R)</td><td>-</td><td>250K</td><td>250K</td><td>49.5</td><td>54.9</td><td>44.3</td><td>62.0</td><td>77.9</td></tr><tr><td>Pre-FT VT (EN)</td><td>173K</td><td>173K</td><td>49.5</td><td>54.9</td><td>42.5</td><td>56.9</td><td>78.0</td></tr><tr><td>Post-FT VT (EN)</td><td>250K</td><td>173k</td><td>49.5</td><td>54.9</td><td>44.3</td><td>62.0</td><td>77.9</td></tr><tr><td>Pre-FT VT (50K)</td><td>50K</td><td>50K</td><td>49.3</td><td>55.0</td><td>41.0</td><td>62.4</td><td>76.9</td></tr><tr><td>Post-FT VT (50K)</td><td>250K</td><td>50K</td><td>49.5</td><td>54.9</td><td>44.3</td><td>62.0</td><td>77.9</td></tr></table>
|
| 184 |
+
|
| 185 |
+
Table 3: Results of pre/post-FT VT models compared with the original monolingual and multilingual models on two social bias analysis benchmarks (AULA for pre-trained masked language models and EEC-AULA for models fine-tuned on sentiment analysis) and the GLUE benchmark. The VT models are trimmed on English vocabulary with different vocabulary sizes: EN (full English vocabulary) and 50K (top 50K subword tokens). Note that for post-FT VT, the results on AULA are exactly the same as the original XLM-R. The green and red colours represent the social bias towards anti-stereotypical sentences (scores lower than 50) and stereotypical sentences (scores higher than 50), respectively. The lighter colour indicates less social bias observed in the LM.
|
| 186 |
+
|
| 187 |
+
but it nevertheless provides a good proxy for understanding the overall performance of comparable models in standard NLP tasks. Moreover, these experiments are only aimed at analysing the effect of vocabulary trimming on general performance.
|
| 188 |
+
|
| 189 |
+
Models. We compute the bias scores of RoBERTa (Liu et al., 2019) as base monolingual LM, and XLM-R (Conneau et al., 2019) as its multilingual counterpart (they have been trained with the same architecture and in an overlapping corpus. We explore two VT settings to be applied to XLM-R: XLM-R with the standard VT including the full English vocabulary (VT XLM-R) and XLM-R with VT for top-50K English vocabulary (top-50K VT XLM-R), which is the same vocabulary size as the monolingual RoBERTa model. Our experiments are based both on masked language models on AULA (in which the post-VT does not have any effect) and models fine-tuned on the sentiment analysis presented in $\S 4.1$ on EEC-AULA, as well as on the corresponding GLUE training sets.
|
| 190 |
+
|
| 191 |
+
# 6.2 Results
|
| 192 |
+
|
| 193 |
+
Table 3 shows the performance of pre-FT and post-FT VT models against the original monolingual and multilingual LMs on social bias evaluation datasets and the GLUE benchmark. Both AULA and GLUE results are computed using the LMs without fine-tuning (i.e., RoBERTa, XLM-R, VT XLM-R, and top-50K VT XLM-R), whereas the EEC-AULA results are computed using the models applying VT and fine-tuning strategies. We observe that the monolingual model contains the highest levels of social biases compared to the multilin
|
| 194 |
+
|
| 195 |
+
gual models with different settings. In particular, RoBERTa obtains the overall highest bias score on the EEC dataset after fine-tuning, with an alarmingly high 85.7 score on race. $^{10}$ On the other hand, compared to the original XLM-R, there is no significant change in performance on social biases and GLUE evaluation tasks for pre-FT VT and post-FT VT models. This is important as we can apply the proposed VT method to any multilingual LM, obtaining a monolingual one with consistent performance on the GLUE benchmark and less social biases than the original monolingual model pretrained in the target language, without using any ad-hoc debiasing methods.
|
| 196 |
+
|
| 197 |
+
# 7 Discussion
|
| 198 |
+
|
| 199 |
+
Vocabulary trimming before and after finetuning. According to the results, pre-FT VT appears to be generally more effective in classification tasks (see section 4.2.2). For generation tasks, both pre/post-FT VT robustly retain the original performance while being able to considerably reduce the model size (see section 4.2.1). As a guideline to choose the type of VT in such a case, post-FT VT should be more suitable if one already has a finetuned model, as no additional training is needed for this case. Moreover, post-FT is more robust as a compression mechanism as the performance is largely maintained with respect to that of the original multilingual LM. On the other hand, if one needs to fine-tune a model from scratch and the computation resources are limited, we recommend
|
| 200 |
+
|
| 201 |
+
exploring pre-FT VT, as fine-tuning on a trimmed LM should be more efficient due to its smaller vocabulary and parameters and, in some cases, can lead to better overall results. However, this process has to be done carefully as the set of optimal parameters could differ from the original multilingual LM fine-tuning process.
|
| 202 |
+
|
| 203 |
+
While in this paper we have not compared monolingual and multilingual models, the question would be whether we need vocabulary trimming strategies in a world where monolingual LMs exist. In this case, a monolingual model may perform similarly to a multilingual model (Goyal et al., 2021). However, the multilingual model is often larger mainly due to larger vocabulary storage requirements. In contrast, our proposed VT technique does not require any extra LM training or computational resources. Indeed, only a multilingual LM is needed and we can induce multiple smaller language-specific monolingual models. This may reduce the carbon footprint overall and especially help with less-resource languages when a high-quality monolingual model does not exist. Finally, our social bias analysis see § 6 shows how monolingual models exhibit larger social biases (especially racial) than a VT-induced multilingual LM. This is consistent with prior work suggesting that a multilingual LM has been trained with more languages, and hence more cultural variety, and these diverging viewpoints can compensate each other (Ahn and Oh, 2021).
|
| 204 |
+
|
| 205 |
+
# 8 Conclusion
|
| 206 |
+
|
| 207 |
+
In this paper, we proposed vocabulary-trimming (VT), a method to reduce the vocabulary of a multilingual LM to a vocabulary specific to any given target language. VT can induce a monolingual LM in the target language by leveraging an existing multilingual LM. The main advantage of this filtering step is the reduced size, as well as avoiding having to train monolingual LMs from scratch, which would be computationally demanding. Our experiments show how VT can retain the high performance of the original multilingual LM, while largely reducing the model size. For all languages evaluated, a $35\%$ compression rate proves sufficient to keep the original performance of the larger mT5 multilingual LM in both QA and QG, with a similar $39\%$ in NLI and $55\%$ in sentiment analysis with XLM-R. Interestingly, in some cases, the
|
| 208 |
+
|
| 209 |
+
compressed LM can even achieve better results than the original larger model when trimmed before fine-tuning. Since the main goal of the paper was to compress a multilingual LM while keeping its original performance, we leave the analysis of this behaviour for future work.
|
| 210 |
+
|
| 211 |
+
# Limitations
|
| 212 |
+
|
| 213 |
+
We have not tested our methodology in truly low-resource languages. Because of this, there could be a different behaviour when we apply VT to a language with lower resources or that is poorly represented in the underlying training corpus. The LMs we used in the paper limited their size up to 600M, and we have not considered larger models such as mT5XXL or BLOOM (Scao et al., 2022), due to our limited computational resources. As the language-specific corpus to compute frequency, we employ mC4, which is one of the largest multilingual corpora. Nonetheless, this is used as a proxy and having access to the full multilingual model could give potentially better results.
|
| 214 |
+
|
| 215 |
+
Similarly, we acknowledge the limitations of the analysis comparing multilingual and monolingual models in terms of social bias. Due to the evaluation data available and the existence of comparable monolingual and multilingual LMs, the evaluation is focused on English only and the results could differ for other languages. Moreover, there are other types of biases not covered in this evaluation.
|
| 216 |
+
|
| 217 |
+
# Ethics Statement
|
| 218 |
+
|
| 219 |
+
Pre-trained LMs are known to contain undesirable biases to generate toxic contents in some edge cases (Schick et al., 2021), so the resulting models could inherit such biases. While we have not analysed in detail the output of all models in the tasks evaluated, in this paper we have made an attempt to study this effect in terms of social biases for both base pretrained LMs and fine-tuned LMs.
|
| 220 |
+
|
| 221 |
+
# Acknowledgements
|
| 222 |
+
|
| 223 |
+
Jose Camacho-Collados and Yi Zhou are supported by a UKRI Future Leaders Fellowship.
|
| 224 |
+
|
| 225 |
+
# References
|
| 226 |
+
|
| 227 |
+
Amine Abdaoui, Camille Pradel, and Grégoire Sigel. 2020. Load what you need: Smaller versions of mutililingual BERT. In Proceedings of SustainNLP: Workshop on Simple and Efficient Natural Language
|
| 228 |
+
|
| 229 |
+
Processing, pages 119-123, Online. Association for Computational Linguistics.
|
| 230 |
+
Jaimeen Ahn and Alice Oh. 2021. Mitigating language-dependent ethnic bias in BERT. In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing, pages 533-549, Online and Punta Cana, Dominican Republic. Association for Computational Linguistics.
|
| 231 |
+
Mikel Artetxe, Sebastian Ruder, and Dani Yogatama. 2020. On the cross-lingual transferability of monolingual representations. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pages 4623–4637, Online. Association for Computational Linguistics.
|
| 232 |
+
Francesco Barbieri, Valerio Basile, Danilo Croce, Malvina Nissim, Nicole Novielli, and Viviana Patti. 2016. Overview of the evalita 2016 sentiment polarity classification task. In Proceedings of third Italian conference on computational linguistics (CLiC-it 2016) & fifth evaluation campaign of natural language processing and speech tools for Italian. Final Workshop (EVALITA 2016).
|
| 233 |
+
Francesco Barbieri, Luis Espinosa Anke, and Jose Camacho-Collados. 2022. XLM-T: Multilingual language models in Twitter for sentiment analysis and beyond. In Proceedings of the Thirteenth Language Resources and Evaluation Conference, pages 258-266, Marseille, France. European Language Resources Association.
|
| 234 |
+
Farah Benamara, Cyril Grouin, Jihen Karoui, Véronique Moriceau, and Isabelle Robba. 2017. Analyse d'opinion et langage figuratif dans des tweets: presentation et résultats du début fouille de textes deft2017.
|
| 235 |
+
Su Lin Blodgett, Gilsinia Lopez, Alexandra Olteanu, Robert Sim, and Hanna Wallach. 2021. Stereotyping norwegian salmon: An inventory of pitfalls in fairness benchmark datasets. In Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing (Volume 1: Long Papers), pages 1004-1015.
|
| 236 |
+
Henrico Bertini Brum and Maria das Graças Volpe Nunes. 2017. Building a sentiment corpus of tweets in brazilian portuguese. arXiv preprint arXiv:1712.08917.
|
| 237 |
+
Carrino Casimiro Pio, Costa-jussa Marta R., and Fonollosa Jose A. R. 2019. Automatic Spanish Translation of the SQuAD Dataset for Multilingual Question Answering. arXiv e-prints, page arXiv:1912.05200v1.
|
| 238 |
+
Hyung Won Chung, Dan Garrette, Kiat Chuan Tan, and Jason Riesa. 2020. Improving multilingual models with language-clustered vocabularies. In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP), pages 4536-4546, Online. Association for Computational Linguistics.
|
| 239 |
+
|
| 240 |
+
Mark Cieliebak, Jan Milan Deriu, Dominic Egger, and Fatih Uzdilli. 2017. A twitter corpus and benchmark resources for german sentiment analysis. In 5th International Workshop on Natural Language Processing for Social Media, Boston MA, USA, 11 December 2017, pages 45-51. Association for Computational Linguistics.
|
| 241 |
+
Alexis Conneau, Kartikay Khandelwal, Naman Goyal, Vishrav Chaudhary, Guillaume Wenzek, Francisco Guzmán, Edouard Grave, Myle Ott, Luke Zettlemoyer, and Veselin Stoyanov. 2019. Unsupervised cross-lingual representation learning at scale. arXiv preprint arXiv:1911.02116.
|
| 242 |
+
Alexis Conneau and Guillaume Lample. 2019. Crosslingual language model pretraining. Advances in neural information processing systems, 32.
|
| 243 |
+
Alexis Conneau, Rudy Rinott, Guillaume Lample, Adina Williams, Samuel Bowman, Holger Schwenk, and Veselin Stoyanov. 2018. XNLI: Evaluating crosslingual sentence representations. In Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing, pages 2475-2485, Brussels, Belgium. Association for Computational Linguistics.
|
| 244 |
+
Danilo Croce, Alexandra Zelenanska, and Roberto Basili. 2018. Neural learning for question answering in italian. In AI*IA 2018 – Advances in Artificial Intelligence, pages 389–402, Cham. Springer International Publishing.
|
| 245 |
+
Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. 2019. BERT: Pre-training of deep bidirectional transformers for language understanding. In Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers), pages 4171-4186, Minneapolis, Minnesota. Association for Computational Linguistics.
|
| 246 |
+
Jwala Dhamala, Tony Sun, Varun Kumar, Satyapriya Krishna, Yada Pruksachatkun, Kai-Wei Chang, and Rahul Gupta. 2021. Bold: Dataset and metrics for measuring biases in open-ended language generation. In Proceedings of the 2021 ACM conference on fairness, accountability, and transparency, pages 862-872.
|
| 247 |
+
Martin d'Hoffschmidt, Wacim Belblidia, Quentin Heinrich, Tom Brendle, and Maxime Vidal. 2020. FQuAD: French question answering dataset. In *Findings of the Association for Computational Linguistics: EMNLP* 2020, pages 1193–1208, Online. Association for Computational Linguistics.
|
| 248 |
+
Manuel C Díaz-Galiano, Eugenio Martínez-Cármara, M Ángel García Cumbreras, Manuel García Vega, and Julio Villena Román. 2018. The democratization of deep learning in tass 2017. Procesamento del Lenguaje Natural, 60:37-44.
|
| 249 |
+
|
| 250 |
+
Pavel Efimov, Andrey Chertok, Leonid Boytsov, and Pavel Braslavski. 2020. Sberquad-russian reading comprehension dataset: Description and analysis. In International Conference of the Cross-Language Evaluation Forum for European Languages, pages 3-15. Springer.
|
| 251 |
+
Kawin Ethayarajh and Dan Jurafsky. 2020. Utility is in the eye of the user: A critique of NLP leaderboards. In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP), pages 4846-4853, Online. Association for Computational Linguistics.
|
| 252 |
+
Naman Goyal, Jingfei Du, Myle Ott, Giri Anantharaman, and Alexis Conneau. 2021. Larger-scale transformers for multilingual masked language modeling. In Proceedings of the 6th Workshop on Representation Learning for NLP (RepL4NLP-2021), pages 29–33, Online. Association for Computational Linguistics.
|
| 253 |
+
Masahiro Kaneko and Danushka Bollegala. 2021. Debiasing pre-trained contextualised embeddings. In Proceedings of the 16th Conference of the European Chapter of the Association for Computational Linguistics: Main Volume, pages 1256-1266, Online. Association for Computational Linguistics.
|
| 254 |
+
Masahiro Kaneko and Danushka Bollegala. 2022. Unmasking the mask-evaluating social biases in masked language models. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 36, pages 11954-11962.
|
| 255 |
+
Masahiro Kaneko, Aizhan Imankulova, Danushka Bollegala, and Naoaki Okazaki. 2022. Gender bias in masked language models for multiple languages. In Proceedings of the 2022 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pages 2740-2750, Seattle, United States. Association for Computational Linguistics.
|
| 256 |
+
Jacob Devlin Ming-Wei Chang Kenton and Lee Kristina Toutanova. 2019. Bert: Pre-training of deep bidirectional transformers for language understanding. In Proceedings of NAACL-HLT, pages 4171-4186.
|
| 257 |
+
Svetlana Kiritchenko and Saif M Mohammad. 2018. Examining gender and race bias in two hundred sentiment analysis systems. *NAACL HLT* 2018, page 43.
|
| 258 |
+
Keita Kurita, Nidhi Vyas, Ayush Pareek, Alan W Black, and Yulia Tsvetkov. 2019. Measuring bias in contextualized word representations. In Proceedings of the First Workshop on Gender Bias in Natural Language Processing, pages 166-172.
|
| 259 |
+
Guillaume Lample, Alexis Conneau, Marc'Aurelio Ranzato, Ludovic Denoyer, and Hervé Jégou. 2018. Word translation without parallel data. In International Conference on Learning Representations.
|
| 260 |
+
|
| 261 |
+
Mike Lewis, Yinhan Liu, Naman Goyal, Marjan Ghazvininejad, Abdelrahman Mohamed, Omer Levy, Veselin Stoyanov, and Luke Zettlemoyer. 2020. BART: Denoising sequence-to-sequence pre-training for natural language generation, translation, and comprehension. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pages 7871-7880, Online. Association for Computational Linguistics.
|
| 262 |
+
Davis Liang, Hila Gonen, Yuning Mao, Rui Hou, Naman Goyal, Marjan Ghazvininejad, Luke Zettlemoyer, and Madian Khabsa. 2023. Xlm-v: Overcoming the vocabulary bottleneck in multilingual masked language models. arXiv preprint arXiv:2301.10472.
|
| 263 |
+
Sheng Liang, Philipp Dufter, and Hinrich Schütze. 2020. Monolingual and multilingual reduction of gender bias in contextualized representations. In Proceedings of the 28th International Conference on Computational Linguistics, pages 5082-5093, Barcelona, Spain (Online). International Committee on Computational Linguistics.
|
| 264 |
+
Seungyoung Lim, Myungji Kim, and Jooyoul Lee. 2019. Korquad1.0: Korean qa dataset for machine reading comprehension. arXiv preprint arXiv:1909.07005.
|
| 265 |
+
Yinhan Liu, Jiatao Gu, Naman Goyal, Xian Li, Sergey Edunov, Marjan Ghazvininejad, Mike Lewis, and Luke Zettlemoyer. 2020. Multilingual denoising pretraining for neural machine translation. Transactions of the Association for Computational Linguistics, 8:726-742.
|
| 266 |
+
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.
|
| 267 |
+
Kelly Marchisio, Patrick Lewis, Yihong Chen, and Mikel Artetxe. 2022. Mini-model adaptation: Efficiently extending pretrained models to new languages via aligned shallow training. arXiv preprint arXiv:2212.10503.
|
| 268 |
+
Chandler May, Alex Wang, Shikha Bordia, Samuel Bowman, and Rachel Rudinger. 2019. On measuring social biases in sentence encoders. 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 622-628.
|
| 269 |
+
Benjamin Muller, Antonios Anastasopoulos, Benoit Sagot, and Djamé Seddah. 2021. When being unseen from mBERT is just the beginning: Handling new languages with multilingual language models. In Proceedings of the 2021 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pages 448-462, Online. Association for Computational Linguistics.
|
| 270 |
+
|
| 271 |
+
Moin Nadeem, Anna Bethke, and Siva Reddy. 2021. StereoSet: Measuring stereotypical bias in pretrained language models. In Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing (Volume 1: Long Papers), pages 5356-5371, Online. Association for Computational Linguistics.
|
| 272 |
+
Nikita Nangia, Clara Vania, Rasika Bhalerao, and Samuel R. Bowman. 2020. CrowS-pairs: A challenge dataset for measuring social biases in masked language models. In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP), pages 1953-1967, Online. Association for Computational Linguistics.
|
| 273 |
+
Malte Ostendorff and Georg Rehm. 2023. Efficient language model training through cross-lingual and progressive transfer learning. arXiv preprint arXiv:2301.09626.
|
| 274 |
+
Jonas Pfeiffer, Naman Goyal, Xi Lin, Xian Li, James Cross, Sebastian Riedel, and Mikel Artetxe. 2022. Lifting the curse of multilinguality by pre-training modular transformers. In Proceedings of the 2022 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pages 3479-3495, Seattle, United States. Association for Computational Linguistics.
|
| 275 |
+
Telmo Pires, Eva Schlinger, and Dan Garrette. 2019. How multilingual is multilingual BERT? In Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics, pages 4996-5001, Florence, Italy. Association for Computational Linguistics.
|
| 276 |
+
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. The Journal of Machine Learning Research, 21(1):5485-5551.
|
| 277 |
+
Pranav Rajpurkar, Jian Zhang, Konstantin Lopyrev, and Percy Liang. 2016. SQuAD: 100,000+ questions for machine comprehension of text. In Proceedings of the 2016 Conference on Empirical Methods in Natural Language Processing, pages 2383-2392, Austin, Texas. Association for Computational Linguistics.
|
| 278 |
+
Sara Rosenthal, Noura Farra, and Preslav Nakov. 2017. SemEval-2017 task 4: Sentiment analysis in Twitter. In Proceedings of the 11th International Workshop on Semantic Evaluation (SemEval-2017), pages 502-518, Vancouver, Canada. Association for Computational Linguistics.
|
| 279 |
+
Teven Le Scao, Angela Fan, Christopher Akiki, Ellie Pavlick, Suzana Ilic, Daniel Hesslow, Roman Castagné, Alexandra Sasha Luccioni, François Yvon, Matthias Galle, et al. 2022. Bloom: A 176b-parameter open-access multilingual language model. arXiv preprint arXiv:2211.05100.
|
| 280 |
+
|
| 281 |
+
Timo Schick, Sahana Udupa, and Hinrich Schütze. 2021. Self-diagnosis and self-debiasing: A proposal for reducing corpus-based bias in NLP. Transactions of the Association for Computational Linguistics, 9:1408-1424.
|
| 282 |
+
ByungHoon So, Kyuhong Byun, Kyungwon Kang, and Seongjin Cho. 2022. Jaquad: Japanese question answering dataset for machine reading comprehension. arXiv preprint arXiv:2202.01764.
|
| 283 |
+
Asahi Ushio, Fernando Alva-Manchego, and Jose Camacho-Collados. 2022. Generative language models for paragraph-level question generation. In Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing, pages 670-688, Abu Dhabi, United Arab Emirates. Association for Computational Linguistics.
|
| 284 |
+
Asahi Ushio, Fernando Alva-Manchego, and Jose Camacho-Collados. 2023. A practical toolkit for multilingual question and answer generation. In Proceedings of the 61th Annual Meeting of the Association for Computational Linguistics: System Demonstrations, Toronto, Canada. Association for Computational Linguistics.
|
| 285 |
+
Alex Wang, Amanpreet Singh, Julian Michael, Felix Hill, Omer Levy, and Samuel Bowman. 2018. Glue: A multi-task benchmark and analysis platform for natural language understanding. In Proceedings of the 2018 EMNLP Workshop BlackboxNLP: Analyzing and Interpreting Neural Networks for NLP, pages 353-355.
|
| 286 |
+
Hai Wang, Dian Yu, Kai Sun, Jianshu Chen, and Dong Yu. 2019. Improving pre-trained multilingual model with vocabulary expansion. In Proceedings of the 23rd Conference on Computational Natural Language Learning (CoNLL), pages 316-327, Hong Kong, China. Association for Computational Linguistics.
|
| 287 |
+
Linting Xue, Noah Constant, Adam Roberts, Mihir Kale, Rami Al-Rfou, Aditya Siddhant, Aditya Barua, and Colin Raffel. 2021. mT5: A massively multilingual pre-trained text-to-text transformer. In Proceedings of the 2021 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pages 483-498, Online. Association for Computational Linguistics.
|
| 288 |
+
Bo Zheng, Li Dong, Shaohan Huang, Saksham Singhal, Wanxiang Che, Ting Liu, Xia Song, and Furu Wei. 2021. Allocating large vocabulary capacity for crosslingual language model pre-training. In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing, pages 3203-3215, Online and Punta Cana, Dominican Republic. Association for Computational Linguistics.
|
| 289 |
+
Yi Zhou, Masahiro Kaneko, and Danushka Bollegala. 2022. Sense embeddings are also biased - evaluating social biases in static and contextualised sense embeddings. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics
|
| 290 |
+
|
| 291 |
+
<table><tr><td>Vocab.</td><td>No-Trim (250K)</td><td>5K</td><td>10K</td><td>15K</td><td>30K</td><td>60K</td></tr><tr><td>Param.</td><td>278M</td><td>89M</td><td>93M</td><td>97M</td><td>109M</td><td>132M</td></tr><tr><td rowspan="7">Post-FT (Sentiment)</td><td>AR</td><td>66.3</td><td>64.5</td><td>64.5</td><td>65.9</td><td>65.9</td></tr><tr><td>DE</td><td>73.2</td><td>70.4</td><td>72.4</td><td>72.1</td><td>73.7</td></tr><tr><td>EN</td><td>68.4</td><td>64.0</td><td>66.5</td><td>67.4</td><td>68.6</td></tr><tr><td>ES</td><td>69.0</td><td>66.2</td><td>67.2</td><td>67.8</td><td>68.4</td></tr><tr><td>FR</td><td>71.8</td><td>68.6</td><td>71.4</td><td>71.7</td><td>71.6</td></tr><tr><td>IT</td><td>62.9</td><td>60.8</td><td>61.9</td><td>63.5</td><td>62.3</td></tr><tr><td>PT</td><td>70.7</td><td>63.6</td><td>65.9</td><td>68.2</td><td>69.4</td></tr><tr><td rowspan="7">Pre-FT (Sentiment)</td><td>AR</td><td>66.3</td><td>58.6</td><td>61.9</td><td>63.1</td><td>63.2</td></tr><tr><td>DE</td><td>73.2</td><td>70.6</td><td>71.8</td><td>73.1</td><td>71.5</td></tr><tr><td>EN</td><td>68.4</td><td>64.6</td><td>66.6</td><td>67.7</td><td>66.0</td></tr><tr><td>ES</td><td>69.0</td><td>60.4</td><td>65.6</td><td>66.3</td><td>65.9</td></tr><tr><td>FR</td><td>71.8</td><td>70.3</td><td>74.3</td><td>73.8</td><td>72.2</td></tr><tr><td>IT</td><td>62.9</td><td>66.2</td><td>67.1</td><td>68.1</td><td>68.2</td></tr><tr><td>PT</td><td>70.7</td><td>65.5</td><td>67.5</td><td>69.6</td><td>67.9</td></tr><tr><td rowspan="5">Post-FT (NLI)</td><td>AR</td><td>75.7</td><td>75.0</td><td>75.8</td><td>75.8</td><td>75.7</td></tr><tr><td>DE</td><td>79.9</td><td>76.6</td><td>78.9</td><td>79.6</td><td>79.9</td></tr><tr><td>EN</td><td>84.6</td><td>80.5</td><td>83.6</td><td>84.3</td><td>84.6</td></tr><tr><td>ES</td><td>79.8</td><td>75.3</td><td>78.4</td><td>79.4</td><td>79.8</td></tr><tr><td>FR</td><td>80.1</td><td>77.2</td><td>80.0</td><td>80.1</td><td>80.2</td></tr><tr><td rowspan="5">Pre-FT (NLI)</td><td>AR</td><td>75.7</td><td>73.0</td><td>75.0</td><td>75.4</td><td>75.7</td></tr><tr><td>DE</td><td>79.9</td><td>77.4</td><td>79.0</td><td>79.0</td><td>79.6</td></tr><tr><td>EN</td><td>84.6</td><td>83.3</td><td>84.7</td><td>84.4</td><td>85.1</td></tr><tr><td>ES</td><td>79.8</td><td>78.9</td><td>79.1</td><td>79.2</td><td>81.0</td></tr><tr><td>FR</td><td>80.1</td><td>77.3</td><td>78.9</td><td>78.2</td><td>80.1</td></tr></table>
|
| 292 |
+
|
| 293 |
+
Table 4: Results of XLM-R for sentiment analysis (macro F1) and NLI (accuracy) with different top- $n$ vocabulary size at VT, where the best results in each LM and language are in the bold characters.
|
| 294 |
+
|
| 295 |
+
(Volume 1: Long Papers), pages 1924-1935, Dublin, Ireland. Association for Computational Linguistics.
|
| 296 |
+
|
| 297 |
+
# A Top- $n$ VT of XLM-R
|
| 298 |
+
|
| 299 |
+
Table 4 shows the results of XLM-R fine-tuned on sentiment and NLI with post/pre-VT for different top- $n$ .
|
| 300 |
+
|
| 301 |
+
# B Top- $n$ VT of mT5
|
| 302 |
+
|
| 303 |
+
Table 5 shows the results of mT5 fine-tuned on QA and QG with post/pre-VT for different top- $n$ .
|
| 304 |
+
|
| 305 |
+
# C Details of Results on Social Bias Evaluation
|
| 306 |
+
|
| 307 |
+
Table 6 shows the details of social bias evaluation (EEC dataset) regarding each emotion type observed in the LMs fine-tuned on sentiment analysis. Table 7 shows the details of social bias regarding each bias type in both CP and SS datasets observed in the comparison LMs.
|
| 308 |
+
|
| 309 |
+
<table><tr><td>Vocab.
|
| 310 |
+
Param.</td><td>No-Trim (250K)
|
| 311 |
+
300M</td><td>5K
|
| 312 |
+
49M</td><td>10K
|
| 313 |
+
54M</td><td>15K
|
| 314 |
+
59M</td><td>30K
|
| 315 |
+
74M</td><td>60K
|
| 316 |
+
105M</td><td>90K
|
| 317 |
+
136M</td><td>120K
|
| 318 |
+
166M</td></tr><tr><td>EN</td><td>70.1 / 55.5</td><td>72.4 / 59.7</td><td>73.2 / 60.5</td><td>73.7 / 60.9</td><td>72.7 / 58.8</td><td>71.0 / 56.4</td><td>70.5 / 55.8</td><td>70.3 / 55.6</td></tr><tr><td>ES</td><td>55.9 / 34.7</td><td>53.5 / 32.5</td><td>54.4 / 33.1</td><td>54.5 / 33.2</td><td>55.2 / 33.8</td><td>56.0 / 34.8</td><td>55.9 / 34.8</td><td>55.9 / 34.7</td></tr><tr><td>FR</td><td>50.0 / 30.9</td><td>50.0 / 31.5</td><td>48.9 / 29.9</td><td>48.6 / 29.3</td><td>49.9 / 30.1</td><td>49.8 / 30.5</td><td>50.2 / 30.9</td><td>50.0 / 30.8</td></tr><tr><td>IT</td><td>53.2 / 37.6</td><td>54.3 / 39.6</td><td>53.8 / 38.4</td><td>54.3 / 38.8</td><td>54.2 / 38.5</td><td>53.7 / 38.1</td><td>53.4 / 37.8</td><td>-</td></tr><tr><td>JA</td><td>65.7 / 65.7</td><td>54.4 / 54.4</td><td>60.3 / 60.3</td><td>62.6 / 62.6</td><td>60.4 / 60.4</td><td>64.9 / 64.9</td><td>65.6 / 65.6</td><td>65.7 / 65.7</td></tr><tr><td>KO</td><td>77.1 / 70.6</td><td>75.0 / 67.8</td><td>75.8 / 68.7</td><td>76.2 / 69.3</td><td>76.9 / 70.2</td><td>77.3 / 70.7</td><td>-</td><td>-</td></tr><tr><td>RU</td><td>73.7 / 51.4</td><td>70.1 / 48.8</td><td>71.4 / 49.5</td><td>70.3 / 47.6</td><td>70.3 / 47.9</td><td>73.8 / 51.1</td><td>73.9 / 51.4</td><td>73.8 / 51.4</td></tr><tr><td>EN</td><td>23.8 / 90.0</td><td>23.6 / 89.8</td><td>24.1 / 89.9</td><td>24.2 / 90.0</td><td>24.2 / 90.0</td><td>23.9 / 90.0</td><td>23.9 / 90.0</td><td>23.9 / 90.0</td></tr><tr><td>ES</td><td>22.7 / 84.1</td><td>21.4 / 83.6</td><td>22.0 / 83.8</td><td>22.2 / 83.9</td><td>22.4 / 84.0</td><td>22.7 / 84.1</td><td>22.7 / 84.1</td><td>22.7 / 84.1</td></tr><tr><td>FR</td><td>17.5 / 80.7</td><td>17.1 / 80.3</td><td>17.1 / 80.4</td><td>17.3 / 80.5</td><td>17.3 / 80.5</td><td>17.4 / 80.6</td><td>17.5 / 80.7</td><td>17.5 / 80.7</td></tr><tr><td>IT</td><td>17.6 / 80.8</td><td>17.3 / 80.7</td><td>17.5 / 80.8</td><td>17.5 / 80.8</td><td>17.6 / 80.7</td><td>17.6 / 80.8</td><td>17.6 / 80.8</td><td>-</td></tr><tr><td>JA</td><td>29.0 / 80.9</td><td>25.7 / 79.2</td><td>27.4 / 80.1</td><td>28.2 / 80.5</td><td>28.8 / 80.9</td><td>29.0 / 80.9</td><td>29.0 / 80.9</td><td>29.0 / 80.9</td></tr><tr><td>KO</td><td>27.5 / 82.9</td><td>27.3 / 82.8</td><td>27.4 / 82.9</td><td>27.4 / 82.9</td><td>27.4 / 82.9</td><td>27.5 / 83.0</td><td>-</td><td>-</td></tr><tr><td>RU</td><td>26.4 / 84.3</td><td>26.0 / 84.0</td><td>26.2 / 84.2</td><td>26.3 / 84.2</td><td>26.3 / 84.2</td><td>26.3 / 84.3</td><td>26.4 / 84.3</td><td>26.4 / 84.3</td></tr><tr><td>EN</td><td>70.1 / 55.5</td><td>74.0 / 61.3</td><td>71.8 / 59.1</td><td>73.4 / 60.7</td><td>74.3 / 61.3</td><td>71.3 / 56.5</td><td>68.6 / 54.3</td><td>66.2 / 52.1</td></tr><tr><td>ES</td><td>55.9 / 34.7</td><td>56.7 / 36.7</td><td>58.1 / 37.5</td><td>62.2 / 41.4</td><td>59.8 / 40.1</td><td>58.0 / 37.0</td><td>58.9 / 38.1</td><td>52.0 / 32.7</td></tr><tr><td>FR</td><td>50.0 / 30.9</td><td>49.0 / 32.7</td><td>47.6 / 30.2</td><td>43.3 / 26.9</td><td>44.9 / 27.4</td><td>34.3 / 20.0</td><td>43.1 / 24.1</td><td>40.0 / 23.7</td></tr><tr><td>IT</td><td>53.2 / 37.6</td><td>57.6 / 43.7</td><td>61.5 / 46.8</td><td>61.2 / 45.6</td><td>57.8 / 42.1</td><td>56.5 / 40.5</td><td>55.4 / 39.2</td><td>-</td></tr><tr><td>JA</td><td>65.7 / 65.7</td><td>55.3 / 55.3</td><td>52.2 / 52.2</td><td>61.3 / 61.3</td><td>60.4 / 60.4</td><td>64.6 / 64.6</td><td>66.9 / 66.9</td><td>67.2 / 67.2</td></tr><tr><td>KO</td><td>77.1 / 70.6</td><td>79.5 / 72.6</td><td>83.7 / 77.7</td><td>82.7 / 76.4</td><td>80.4 / 73.7</td><td>81.6 / 75.1</td><td>-</td><td>-</td></tr><tr><td>RU</td><td>73.7 / 51.4</td><td>73.5 / 51.7</td><td>76.9 / 56.4</td><td>77.4 / 56.9</td><td>75.9 / 54.2</td><td>75.1 / 53.0</td><td>75.0 / 53.0</td><td>73.3 / 51.4</td></tr><tr><td>EN</td><td>23.8 / 90.0</td><td>24.8 / 90.0</td><td>24.4 / 89.9</td><td>24.3 / 89.9</td><td>24.2 / 90.0</td><td>24.2 / 90.0</td><td>23.3 / 89.9</td><td>23.6 / 89.8</td></tr><tr><td>ES</td><td>22.7 / 84.1</td><td>21.9 / 84.1</td><td>21.9 / 83.9</td><td>22.7 / 83.7</td><td>22.0 / 84.3</td><td>22.6 / 84.4</td><td>20.4 / 79.6</td><td>22.6 / 84.1</td></tr><tr><td>FR</td><td>17.5 / 80.7</td><td>16.1 / 79.0</td><td>16.9 / 79.9</td><td>16.9 / 79.5</td><td>15.8 / 78.8</td><td>14.6 / 78.0</td><td>15.7 / 79.0</td><td>17.0 / 79.2</td></tr><tr><td>IT</td><td>17.6 / 80.8</td><td>17.4 / 80.4</td><td>17.8 / 81.1</td><td>18.0 / 80.8</td><td>17.1 / 80.6</td><td>17.4 / 80.9</td><td>17.4 / 80.8</td><td>-</td></tr><tr><td>JA</td><td>29.0 / 80.9</td><td>26.6 / 79.8</td><td>27.0 / 79.2</td><td>27.5 / 79.7</td><td>27.3 / 79.9</td><td>27.7 / 80.3</td><td>28.3 / 80.8</td><td>28.2 / 80.2</td></tr><tr><td>KO</td><td>27.5 / 82.9</td><td>28.4 / 83.4</td><td>27.8 / 83.4</td><td>28.2 / 84.1</td><td>28.8 / 83.4</td><td>28.4 / 83.4</td><td>-</td><td>-</td></tr><tr><td>RU</td><td>26.4 / 84.3</td><td>27.7 / 85.9</td><td>30.0 / 86.6</td><td>29.0 / 86.5</td><td>29.2 / 86.3</td><td>29.0 / 86.6</td><td>29.2 / 86.7</td><td>28.9 / 86.0</td></tr></table>
|
| 319 |
+
|
| 320 |
+
Table 5: Results of mT5 for QA (Ans-F1/EM) and QG (MTR/BS) with different top- $n$ vocabulary size at VT,where the best results in each LM and language are in the bold characters.
|
| 321 |
+
|
| 322 |
+
<table><tr><td></td><td>Model</td><td>AULA-EEC</td><td>Anger</td><td>Sadness</td><td>Fear</td><td>Joy</td><td>No Emotion Type</td></tr><tr><td rowspan="6">Gender Bias</td><td>FT RoBERTa</td><td>64.8</td><td>50.0</td><td>67.8</td><td>71.5</td><td>64.3</td><td>60.8</td></tr><tr><td>FT XLM-R</td><td>44.3</td><td>46.9</td><td>39.4</td><td>51.4</td><td>34.4</td><td>39.7</td></tr><tr><td>Pre-FT XLM-R (EN)</td><td>42.5</td><td>33.8</td><td>55.8</td><td>45.1</td><td>40.7</td><td>42.7</td></tr><tr><td>Post-FT XLM-R (EN)</td><td>44.3</td><td>46.9</td><td>39.4</td><td>51.4</td><td>34.4</td><td>39.7</td></tr><tr><td>Pre-FT XLM-R (50k)</td><td>44.3</td><td>46.9</td><td>39.4</td><td>51.4</td><td>34.4</td><td>39.7</td></tr><tr><td>Post-FT XLM-R (50k)</td><td>41.0</td><td>41.2</td><td>45.8</td><td>47.2</td><td>36.9</td><td>37.2</td></tr><tr><td rowspan="6">Race Bias</td><td>FT RoBERTa</td><td>85.7</td><td>50.0</td><td>88.0</td><td>65.4</td><td>50.0</td><td>100.0</td></tr><tr><td>FT XLM-R</td><td>62.0</td><td>74.5</td><td>32.1</td><td>47.3</td><td>74.6</td><td>17.4</td></tr><tr><td>Pre-FT VT XLM-R (EN)</td><td>56.9</td><td>33.7</td><td>58.8</td><td>69.2</td><td>60.1</td><td>50.0</td></tr><tr><td>Pre-FT VT XLM-R (EN)</td><td>62.0</td><td>74.5</td><td>32.1</td><td>47.3</td><td>74.6</td><td>17.4</td></tr><tr><td>Pre-FT VT XLM-R (50k)</td><td>62.0</td><td>74.5</td><td>32.1</td><td>47.3</td><td>74.6</td><td>17.4</td></tr><tr><td>Post-FT VT XLM-R (50k)</td><td>62.4</td><td>55.7</td><td>70.3</td><td>70.9</td><td>59.1</td><td>59.0</td></tr></table>
|
| 323 |
+
|
| 324 |
+
Table 6: Social bias scores of LMs fine-tuned on sentiment analysis on each emotion type w/wo VT on the EEC dataset.
|
| 325 |
+
|
| 326 |
+
<table><tr><td></td><td></td><td>RoBERTa</td><td>XLM-R</td><td>VT XLM-R (EN)</td><td>VT XLM-R (50K)</td></tr><tr><td rowspan="10">CP Dataset</td><td>AULA</td><td>58.1</td><td>49.5</td><td>49.5</td><td>49.3</td></tr><tr><td>Age</td><td>59.8</td><td>49.4</td><td>49.4</td><td>49.4</td></tr><tr><td>Disability</td><td>68.3</td><td>66.7</td><td>66.7</td><td>68.3</td></tr><tr><td>Gender</td><td>53.4</td><td>48.5</td><td>48.5</td><td>48.1</td></tr><tr><td>Nationality</td><td>56.6</td><td>44.0</td><td>44.0</td><td>44.7</td></tr><tr><td>Physical-Appearance</td><td>52.4</td><td>58.7</td><td>58.7</td><td>55.6</td></tr><tr><td>Race-Color</td><td>56.8</td><td>43.8</td><td>43.8</td><td>44.0</td></tr><tr><td>Religion</td><td>53.3</td><td>54.3</td><td>54.3</td><td>53.3</td></tr><tr><td>Sexual-Orientation</td><td>67.9</td><td>54.8</td><td>54.8</td><td>54.8</td></tr><tr><td>Socioeconomic</td><td>66.3</td><td>58.1</td><td>58.1</td><td>57.6</td></tr><tr><td rowspan="5">SS Dataset</td><td>AULA</td><td>58.8</td><td>54.9</td><td>54.9</td><td>55.0</td></tr><tr><td>Gender</td><td>62.4</td><td>55.3</td><td>55.3</td><td>54.9</td></tr><tr><td>Profession</td><td>60.4</td><td>54.3</td><td>54.3</td><td>54.6</td></tr><tr><td>Race</td><td>57.0</td><td>56.0</td><td>56.0</td><td>56.0</td></tr><tr><td>Religion</td><td>54.4</td><td>46.8</td><td>46.8</td><td>46.8</td></tr></table>
|
| 327 |
+
|
| 328 |
+
Table 7: Social bias scores of VT LMs compared to their original ones on both CP and SS datasets for each bias type.
|
2023/Efficient Multilingual Language Model Compression through Vocabulary Trimming/images.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:44bc087a259de2fc6d848a2782dd3e70d62683ac6058c8c68d597900d89ac520
|
| 3 |
+
size 1061039
|
2023/Efficient Multilingual Language Model Compression through Vocabulary Trimming/layout.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2023/Efficient k-NN Search with Cross-Encoders using Adaptive Multi-Round CUR Decomposition/06755a7b-5456-4010-a183-a7ae8a6d5cd1_content_list.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2023/Efficient k-NN Search with Cross-Encoders using Adaptive Multi-Round CUR Decomposition/06755a7b-5456-4010-a183-a7ae8a6d5cd1_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2023/Efficient k-NN Search with Cross-Encoders using Adaptive Multi-Round CUR Decomposition/06755a7b-5456-4010-a183-a7ae8a6d5cd1_origin.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Efficient $k$ -NN Search with Cross-Encoders using Adaptive Multi-Round CUR Decomposition
|
| 2 |
+
|
| 3 |
+
Nishant Yadav†, Nicholas Monath‡, Manzil Zaheer§, and Andrew McCallum†
|
| 4 |
+
|
| 5 |
+
† University of Massachusetts Amherst ‡Google Research
|
| 6 |
+
|
| 7 |
+
{nishantyavad, mccallum}@cs.umass.edu {nmonath,manzilzaheer}@google.com
|
| 8 |
+
|
| 9 |
+
# Abstract
|
| 10 |
+
|
| 11 |
+
Cross-encoder models, which jointly encode and score a query-item pair, are prohibitively expensive for direct $k$ -nearest neighbor ( $k$ -NN) search. Consequently, $k$ -NN search typically employs a fast approximate retrieval (e.g. using BM25 or dual-encoder vectors), followed by reranking with a cross-encoder; however, the retrieval approximation often has detrimental recall regret. This problem is tackled by ANNCUR (Yadav et al., 2022), a recent work that employs a cross-encoder only, making search efficient using a relatively small number of anchor items, and a CUR matrix factorization. While ANNCUR's one-time selection of anchors tends to approximate the cross-encoder distances on average, doing so forfeits the capacity to accurately estimate distances to items near the query, leading to regret in the crucial end-task: recall of top- $k$ items. In this paper, we propose ADACUR, a method that adaptively, iteratively, and efficiently minimizes the approximation error for the practically important top- $k$ neighbors. It does so by iteratively performing $k$ -NN search using the anchors available so far, then adding these retrieved nearest neighbors to the anchor set for the next round. Empirically, on multiple datasets, in comparison to previous traditional and state-of-the-art methods such as ANNCUR and dual-encoder-based retrieval-and-erank, our proposed approach ADACUR consistently reduces recall error—by up to $70\%$ on the important $k = 1$ setting—while using no more compute than its competitors.
|
| 12 |
+
|
| 13 |
+
# 1 Introduction
|
| 14 |
+
|
| 15 |
+
$k$ -nearest neighbor ( $k$ -NN) search is a core subroutine of a variety of tasks in NLP such as entity linking (Wu et al., 2020), passage retrieval for QA (Karpukhin et al., 2020), and more generally, in retrieval-augmented machine learning models (Guu et al., 2020; Izacard et al., 2023). For many of these applications, the state-of-the-art similarity function is a cross-encoder that directly outputs a scalar similarity score after jointly encoding a
|
| 16 |
+
|
| 17 |
+

|
| 18 |
+
|
| 19 |
+

|
| 20 |
+
(a) Uniformly at random
|
| 21 |
+
|
| 22 |
+

|
| 23 |
+
(b) Biased sampling
|
| 24 |
+
Figure 1: Exact versus approximate cross-encoder scores (computed using ANNCUR) of all items for a test-query in domain=YuGi0h. ANNCUR incurs high approximation error on $k$ -NN items wrt exact scores when using 50 anchor items sampled uniformly at random (Fig. 1a). In contrast, sampling 50 anchor items with probability proportional to exact cross-encoder scores (Fig. 1b) significantly improves approximation of top-scoring items.
|
| 25 |
+
|
| 26 |
+
given query-item pair. However, computing a single query-item score using a cross-encoder requires a forward pass of the model which can be computationally expensive as cross-encoders are typically parameterized using deep neural models such as transformers (Vaswani et al., 2017). For this reason, $k$ -NN search with a cross-encoder typically involves retrieving candidate items using additional models such as dual-encoders or BM25 (Robertson et al., 2009), followed by re-ranking items using the cross-encoder (Logeswaran et al., 2019; Zhang and Stratos, 2021; Qu et al., 2021). However, the accuracy of such retrieve-and-erank approaches is upperbound by the recall of first-stage retrieval and may require computationally expensive distillation-based training of dual-encoders to improve recall.
|
| 27 |
+
|
| 28 |
+
Recent work by Yadav et al. (2022) proposed ANNCUR, a CUR factorization (Mahoney and Drineas, 2009) based method, that approximates cross-encoder using dot-product of latent query and item embeddings and performs $k$ -NN retrieval using approximate scores followed by optionally re-ranking retrieved items using exact cross
|
| 29 |
+
|
| 30 |
+
encoder scores. The latent item embeddings are computed by comparing each item against a set of anchor queries, and the latent query embedding is computed using the query's cross-encoder scores against a fixed set of anchor items. As shown in Figure 1, when ANNCUR selects the anchor items uniformly at random (Fig 1a), it incurs higher approximation error on the top-scoring items than the rest of the items, resulting in poor $k$ -NN recall, and including some $k$ -NN items as part of anchor items (Fig. 1b) can significantly improve approximation error for top-scoring items.
|
| 31 |
+
|
| 32 |
+
In this work, we propose ADACUR, a search strategy that improves $k$ -NN search recall by improving the approximation of top-scoring items. ADACUR performs retrieval over multiple rounds, retrieving the first batch of items either uniformly at random or using heuristic or auxiliary models such as dual-encoder or BM25 to get a first coarse approximation of item scores for the test query. In subsequent rounds, it alternates between a) performing retrieval using approximate scores and scoring retrieved items using cross-encoder and b) using all retrieved items as anchor items to improve the approximation and hence retrieval of relevant items in the subsequent rounds. Our proposed approach provides significant improvements in $k$ -NN search recall over ANNCUR and dual-encoder based retrieve-and-erank approaches when performing $k$ -NN search with cross-encoder models trained for the task of entity linking and information retrieval.
|
| 33 |
+
|
| 34 |
+
# 2 Proposed Method: ADACUR
|
| 35 |
+
|
| 36 |
+
Task Given a scoring function $f_{\theta} \colon \mathcal{Q} \times \mathcal{I} \to \mathbb{R}$ that maps a query-item pair to a scalar score, and a query $q \in \mathcal{Q}$ , the $k$ -nearest neighbor search task is to retrieve top- $k$ scoring items from a fixed item set $\mathcal{I}$ according to the given scoring function $f_{\theta}$ .
|
| 37 |
+
|
| 38 |
+
# 2.1 ADACUR: Offline Indexing of Items
|
| 39 |
+
|
| 40 |
+
The indexing step of ADACUR involves using the cross-encoder model $(f_{\theta})$ to score each item against a fixed set of $k_q$ anchor/train queries $(Q_{train})$ , to get score matrix $R_{\mathrm{anc}}$
|
| 41 |
+
|
| 42 |
+
$$
|
| 43 |
+
R _ {\mathrm {a n c}} (q, i) = f _ {\theta} (q, i), \forall (q, i) \in \mathcal {Q} _ {\text {t r a i n}} \times \mathcal {I}
|
| 44 |
+
$$
|
| 45 |
+
|
| 46 |
+
Each column of $E^{\mathcal{I}} \coloneqq R_{\mathrm{anc}} \in \mathbb{R}^{k_q \times |\mathcal{I}|}$ corresponds to a $k_q$ -dimensional latent item embedding.
|
| 47 |
+
|
| 48 |
+
# 2.2 ADACUR: Test-time inference
|
| 49 |
+
|
| 50 |
+
The baseline method ANNCUR computes the latent test-query embedding $e_{q_{\mathrm{test}}}$ using $C_{q_{\mathrm{test}}}$ , a
|
| 51 |
+
|
| 52 |
+
Algorithm 1 ADACUR $k$ -NN Search
|
| 53 |
+
1: Input: $(q_{\mathrm{test}}, R_{\mathrm{anc}}, N_{\mathcal{R}}, \mathcal{B}_{\mathrm{CE}}, \mathcal{A})$
|
| 54 |
+
2: $q_{\mathrm{test}}$ : Test query
|
| 55 |
+
3: $R_{\mathrm{anc}}$ : Matrix containing CE scores between $\mathcal{Q}_{\mathrm{train}}$ and $\mathcal{I}$
|
| 56 |
+
4: $\mathcal{B}_{\mathrm{CE}}$ : Total cross-encoder (CE) call budget.
|
| 57 |
+
5: $\mathcal{A}$ : Algorithm to use for selecting (anchor) items.
|
| 58 |
+
6: $N_{\mathcal{R}}$ : Number of iterative search rounds
|
| 59 |
+
7: Output: $\hat{S}$ : Approximate scores of $q_{\mathrm{test}}$ with all items, $\mathcal{I}_{\mathrm{anc}}$ : Retrieved (anchor) items with CE scores in $C_{\mathrm{test}}$ .
|
| 60 |
+
8: $k_s \gets \mathcal{B}_{\mathrm{CE}} / N_{\mathcal{R}} \triangleright$ Num. of items to sample per round
|
| 61 |
+
9: $\mathcal{I}_{\mathrm{anc}} \gets \text{INIT}(\mathcal{I}, k_s)$ $\triangleright$ Initial set of anchor items
|
| 62 |
+
10: $C_{\mathrm{test}} \gets [f_\theta(q_{\mathrm{test}}, i)]_{i \in \mathcal{I}_{\mathrm{anc}}} \triangleright$ CE scores of $\mathcal{I}_{\mathrm{anc}}$ for $q_{\mathrm{test}}$
|
| 63 |
+
11: for $j \gets 2$ to $N_{\mathcal{R}}$ do
|
| 64 |
+
12: $U \gets R_{\mathrm{anc}}[\mathcal{I}_{\mathrm{anc}}]^{\dagger}$ $\triangleright$ $U \in \mathbb{R}^{|I_{\mathrm{anc}}| \times |\mathcal{Q}_{\mathrm{train}}|}$
|
| 65 |
+
13: $\hat{S}^{(j)} \gets C_{\mathrm{test}} \times U \times R_{\mathrm{anc}} \triangleright$ Update approx. scores
|
| 66 |
+
14: $\mathcal{I}_{\mathrm{anc}}^{(j)} \gets \text{SAMPLEITEMS}(\mathcal{A}, k_s, \mathcal{I}_{\mathrm{anc}}, \hat{S}^{(j)})$
|
| 67 |
+
15: $\mathcal{I}_{\mathrm{anc}} \gets \mathcal{I}_{\mathrm{anc}} \cup \mathcal{I}_{\mathrm{anc}}^{(j)}$
|
| 68 |
+
16: $C_{\mathrm{test}} \gets C_{\mathrm{test}} \oplus [f_\theta(q_{\mathrm{test}}, i)]_{i \in \mathcal{I}_{\mathrm{anc}}^{(j)}} \triangleright$ Update $C_{\mathrm{test}}$
|
| 69 |
+
17: $U \gets R_{\mathrm{anc}}[\mathcal{I}_{\mathrm{anc}}]^{\dagger}$ $\triangleright$ $U \in \mathbb{R}^{|I_{\mathrm{anc}}| \times |\mathcal{Q}_{\mathrm{train}}|}$
|
| 70 |
+
18: $\hat{S} \gets C_{\mathrm{test}} \times U \times R_{\mathrm{anc}} \triangleright$ Compute approx. scores
|
| 71 |
+
19: return $\hat{S}, \mathcal{I}_{\mathrm{anc}}, C_{\mathrm{test}}$
|
| 72 |
+
|
| 73 |
+
Algorithm 2 SAMPLEITEMS
|
| 74 |
+
1: Input: $(\mathcal{A}, k_s, \mathcal{I}_{\text{mask}}, S)$
|
| 75 |
+
2: $\mathcal{A}$ : Algorithm for sampling items
|
| 76 |
+
3: $k_s$ : Number of items to sample
|
| 77 |
+
4: $\mathcal{I}_{\text{mask}}$ : Set of items to mask
|
| 78 |
+
5: $S$ : (Approximate) Scores for all items
|
| 79 |
+
6: Output: $\mathcal{I}_{\text{select}}$ : Set of sampled $k_s$ items
|
| 80 |
+
7: $\bar{S} \gets \text{SOFTMAX}(S)$
|
| 81 |
+
8: $\bar{S}[\mathcal{I}_{\text{mask}}] \gets 0$ > Mask items in $\mathcal{I}_{\text{mask}}$
|
| 82 |
+
9: if $\mathcal{A} = \text{TopK}$ then
|
| 83 |
+
10: $\mathcal{I}_{\text{select}} \gets \text{TOPK}(\bar{S}, k_s)$
|
| 84 |
+
11: else if $\mathcal{A} = \text{SoftMax}$ then
|
| 85 |
+
12: $\mathcal{I}_{\text{select}} \gets k_s$ items sampled using $\bar{S}$
|
| 86 |
+
13: else if $\mathcal{A} = \text{Random}$ then
|
| 87 |
+
14: $\mathcal{I}_{\text{select}} \gets k_s$ items uniformly sampled from $\mathcal{I} \setminus \mathcal{I}_{\text{mask}}$
|
| 88 |
+
15: return $\mathcal{I}_{\text{select}}$
|
| 89 |
+
|
| 90 |
+
$|\mathcal{I}_{\mathrm{anc}}|$ -dimensional vector containing cross-encoder scores of $q_{\mathrm{test}}$ with a set of anchor items $(\mathcal{I}_{\mathrm{anc}})$ as:
|
| 91 |
+
|
| 92 |
+
$$
|
| 93 |
+
C _ {q _ {\text {t e s t}}} = \left[ f _ {\theta} \left(q _ {\text {t e s t}}, i\right) \right] _ {i \in \mathcal {I} _ {\text {a n c}}}
|
| 94 |
+
$$
|
| 95 |
+
|
| 96 |
+
$$
|
| 97 |
+
e _ {q _ {\text {t e s t}}} = C _ {q _ {\text {t e s t}}} \times U
|
| 98 |
+
$$
|
| 99 |
+
|
| 100 |
+
where $U\in \mathbb{R}^{|\mathcal{I}_{\mathrm{anc}}|\times |\mathcal{Q}_{\mathrm{train}}|}$ is the pseudo-inverse of $R_{\mathrm{anc}}[\mathcal{I}_{\mathrm{anc}}]$ , the subset of columns of $R_{\mathrm{anc}}$ corresponding to (anchor) items $\mathcal{I}_{\mathrm{anc}}$ . Finally, ANCUR approximates the score for a query-item pair $(q_{\mathrm{test}},i)$ using dot-product of the query embedding $e_{q_{\mathrm{test}}}$ and item embedding $E^{\mathcal{I}}[:,i]$ as
|
| 101 |
+
|
| 102 |
+
$$
|
| 103 |
+
\hat {f} _ {\theta} (q _ {\mathrm {t e s t}}, i) = e _ {q _ {\mathrm {t e s t}}} ^ {\top} E ^ {\mathcal {I}} [:, i ]
|
| 104 |
+
$$
|
| 105 |
+
|
| 106 |
+
The main bottleneck at test-time inference is the number of items scored using the cross-encoder for the given test-query. For a given budget of cross-encoder calls, ANNCUR splits the budget $(\mathcal{B}_{\mathrm{CE}})$
|
| 107 |
+
|
| 108 |
+
into two parts - it uses $k_{i}$ cross-encoder calls to compare against anchor items (chosen uniformly at random or using heuristic methods) and retrieves $\mathcal{B}_{\mathrm{CE}} - k_{i}$ items using approximate scores and re-ranks them using exact cross-encoder scores.
|
| 109 |
+
|
| 110 |
+
In contrast, our proposed approach ADACUR uses the cross-encoder call budget to adaptively retrieve and score items over $N_{\mathcal{R}}$ rounds, repurposing the retrieved items as anchor items as shown in Algorithm 1. ADACUR begins by sampling the first batch of $k_{s} = \mathcal{B}_{\mathrm{CE}} / N_{\mathcal{R}}$ (anchor) items uniformly at random. The first batch of items can also be selected using baseline retrieval methods such as BM25 and dual-encoders. In the $j^{\mathrm{th}}$ round, the items retrieved up to round $j - 1$ are used as anchor items to revise the test-query embedding, which in turn is used to update the approximate scores (line 13 in Algorithm 1). Finally, the items selected so far are masked out and the next batch of $k_{s}$ items in round $j$ is retrieved using the updated approximate scores in the following two ways:
|
| 111 |
+
|
| 112 |
+
- TopK: Greedily pick top- $k_{s}$ items according to approximate scores.
|
| 113 |
+
- SoftMax: Convert approximate item scores into probability using softmax and sample $k_{s}$ items without replacement.
|
| 114 |
+
|
| 115 |
+
Finally, ADACUR returns top- $k$ items based on exact cross-encoder scores $^{1}$ from the set of retrieved (anchor) items as approximate $k$ -NN items. We refer interested readers to Appendix B.5 for a discussion on the time complexity of ADACUR.
|
| 116 |
+
|
| 117 |
+
# 3 Experiments
|
| 118 |
+
|
| 119 |
+
In our experiments, we evaluate the proposed approach and baselines on the task of finding $k$ -nearest neighbor items as per a given cross-encoder. We experiment with two cross-encoders - one trained for the task of zero-shot entity linking, and another trained on information retrieval datasets.
|
| 120 |
+
|
| 121 |
+
Experimental Setup We run evaluation on domains YuGiOh, StarTrek, and Military from ZESHEL-a zero-shot entity linking dataset (Logeswaran et al., 2019), and domains SciDocs and HotpotQA from BEIR-a zero-shot information retrieval benchmark (Thakur et al., 2021). We use two cross-encoder models trained on labeled training data from the corresponding benchmark and evaluate separately on each domain on the task of find
|
| 122 |
+
|
| 123 |
+
ing $k$ -NN cross-encoder items. For each ZESHEL domain, we randomly split the query set into a train/anchor set $(Q_{train})$ and a test set $(Q_{test})$ while for BEIR domains, we use pseudo-queries released as part of the benchmark as train/anchor queries and evaluate on queries in the official test split. We refer the reader to Table 1 for additional details.
|
| 124 |
+
|
| 125 |
+
Baselines We compare our proposed approach with the following baseline retrieval methods.
|
| 126 |
+
|
| 127 |
+
Dual-Encoders (DE): Query-item scores are computed using dot-product of embeddings produced by a learned deep encoder model. DE is used for initial retrieval followed by re-ranking using the cross-encoder. We report results for $\mathrm{DE}_{\mathrm{BASE}}$ , a dual-encoder trained on training domains in the corresponding dataset, and the following two dual-encoder models trained on the target domain via distillation using the cross-encoder.
|
| 128 |
+
|
| 129 |
+
- $\mathrm{DE}_{\mathrm{BERT}}^{\mathrm{CE}}$ : DE initialized with BERT (Devlin et al., 2019) and trained only on the target domain via distillation using the cross-encoder.
|
| 130 |
+
- $\mathrm{DE}_{\mathrm{BASE}}^{\mathrm{CE}}$ : $\mathrm{DE}_{\mathrm{BASE}}$ model further fine-tuned on the target domain via distillation.
|
| 131 |
+
|
| 132 |
+
ANNCUR: $k$ -NN search method proposed by Yadav et al. (2022) where anchor items are chosen uniformly at random. We additionally experiment with ANNCUR $_{\text{DE}_{\text{BASE}}}$ which uses top-scoring items retrieved using DE $_{\text{BASE}}$ as anchor items.
|
| 133 |
+
|
| 134 |
+
Evaluation Metric Following the precedent set by previous work (Yadav et al., 2022), we evaluate all approaches using Top- $k$ -Recall@ $\mathcal{B}_{\mathrm{CE}}$ which is defined as the fraction of $k$ -NN items retrieved under test-time cost budget $\mathcal{B}_{\mathrm{CE}}$ where the cost is defined as the number of cross-encoder calls made during inference. DE baselines will use the entire budget of $\mathcal{B}_{\mathrm{CE}}$ calls for re-ranking retrieved items using exact cross-encoder scores, ANNCUR splits the budget between scoring anchor $k_{i}$ items and using exact cross-encoder scores for re-ranking $\mathcal{B}_{\mathrm{CE}} - k_{i}$ retrieved items, and ADACUR use the budget to adaptively search for $k$ -NN items.
|
| 135 |
+
|
| 136 |
+
For ADACUR, unless noted otherwise, we use $N_{\mathcal{R}} = 5$ with TopK method for retrieving items using approximate scores, and retrieve the first batch of items uniformly at random (ADACUR) or using $\mathrm{DE}_{\mathrm{BASE}}$ (ADACUR $\mathrm{DE}_{\mathrm{BASE}}$ ). We refer readers to Appendix B for implementation details and details on training and parameterization of cross-encoder and dual-encoder models used in our experiments.
|
| 137 |
+
|
| 138 |
+

|
| 139 |
+
Figure 2: Top- $k$ -Recall for ADACUR and baselines for domain=YuGi0h, $|\mathcal{Q}_{\mathrm{train}}| = 500$ . ADACUR consistently outperforms the corresponding ANNCUR variant and $\mathrm{ADACUR}_{\mathrm{DE}_{\mathrm{BASE}}}$ outperforms all DE-based retrieve-and-erank approaches including $\mathrm{DE}_{\mathrm{BASE}}^{\mathrm{CE}}$ , a DE model trained via distillation on the target domain using the cross-encoder.
|
| 140 |
+
|
| 141 |
+
# 3.1 Results
|
| 142 |
+
|
| 143 |
+
ADACUR versus baselines Figure 2 shows Top- $k$ -Recall for ADACUR and baselines on domain $\equiv$ YuGiOh. ADACUR, which uses adaptively retrieved items as anchor items over $N_{\mathcal{R}} = 5$ rounds, consistently outperforms ANNCUR which selects all anchor items uniformly at random. ADACUR also outperforms strong DE baseline $\mathrm{DE}_{\mathrm{BERT}}^{\mathrm{CE}}$ for all values of $k$ and outperforms $\mathrm{DE}_{\mathrm{BASE}}$ & $\mathrm{DE}_{\mathrm{BASE}}^{\mathrm{CE}}$ for large values of $k = 10,100$
|
| 144 |
+
|
| 145 |
+
Sampling anchor items using $\mathbf{DE}_{\mathrm{BASE}}$ For $k = 1, 10$ , Top- $k$ -Recall for both ANNCUR and ADACUR can be further improved by leveraging baseline retrieval models such as $\mathbf{DE}_{\mathrm{BASE}}$ for retrieving all and the first batch of anchor items respectively instead of sampling them uniformly at random. ADACUR $_{\mathsf{DE}_{\mathrm{BASE}}}$ always performs better than ANNCUR $_{\mathsf{DE}_{\mathrm{BASE}}}$ which in turn performs better than re-ranking items retrieved using $\mathbf{DE}_{\mathrm{BASE}}$ . Thus, for a given cost budget $(\mathcal{B}_{\mathrm{CE}})$ , even when a strong baseline retrieval model such as $\mathbf{DE}_{\mathrm{BASE}}$ is available, using the baseline retrieval model to select the first batch of $\mathcal{B}_{\mathrm{CE}} / N_{\mathcal{R}}$ items followed by using the proposed approach to adaptively retrieve more items over remaining $N_{\mathcal{R}} - 1$ rounds performs better than merely re-ranking $\mathcal{B}_{\mathrm{CE}}$ top-scoring items retrieved using $\mathbf{DE}_{\mathrm{BASE}}$ . Finally, note that ADACUR $_{\mathsf{DE}_{\mathrm{BASE}}}$ outperforms all baselines including $\mathbf{DE}_{\mathrm{BASE}}^{\mathrm{CE}}$ which requires additional compute- and resource-intensive distillation-based fine-tuning of $\mathbf{DE}_{\mathrm{BASE}}$ on the target domain.
|
| 146 |
+
|
| 147 |
+
We refer the reader to Appendix C for results on other domains, training data size $(|\mathcal{Q}_{\mathrm{train}}|)$ values, oracle-based sampling experiments (§C.2), and additional results for multi-vector encoder (§C.3) and TF-IDF (§C.4) baselines.
|
| 148 |
+
|
| 149 |
+

|
| 150 |
+
Figure 3: Top- $k$ -Recall for ADACUR for different number of rounds for domain=YuGiOh, $|\mathcal{Q}_{\mathrm{train}}| = 500$
|
| 151 |
+
|
| 152 |
+

|
| 153 |
+
Figure 4: ADACUR inference latency versus number of rounds for domain $= \text{YuGi0h}$ , $|\mathcal{Q}_{\text{train}}| = 500$ .
|
| 154 |
+
|
| 155 |
+
Effect of number of rounds Figure 3 shows Top- $k$ -Recall and Figure 4 shows total inference latency of ADACUR on primary y-axis for various values of the test-time cross-encoder call budget $(\mathcal{B}_{\mathrm{CE}})$ . The secondary y-axis in Figure 4 shows the fraction of total inference time spent on each one of the three main steps in Algorithm 1 - (a) computing $U$ as pseudo-inverse of $R_{\mathrm{anc}}[\mathcal{I}_{\mathrm{anc}}]$ (line 12), (b) updating approximate scores for all items (line 13), and (c) computing exact cross-encoder scores for retrieved items (line 16). Since ADACUR selects items uniformly at random in the first round, ADACUR with $N_{\mathcal{R}} = 1$ performs poorly as it simply returns a subset of items sampled uniformly at random. As expected, Top- $k$ -Recall for ADACUR increases with the number of rounds and saturates
|
| 156 |
+
|
| 157 |
+
at around 5-10 rounds while incurring negligible overhead in inference latency. As shown in Figure 4, cross-encoder score computation is the main bottleneck in test-time inference, taking $\sim 7$ ms per score<sup>2</sup>. Increasing $N_{\mathcal{R}}$ to large values such as 100 can incur up to $25\%$ overhead with step (a) contributing significantly to this overhead. Although the time taken by matrix multiplication in step (b) is linear in the number of items in the domain, we observe that it is a negligible fraction of overall latency on GPUs even for domain=HotpotQA with 5 million items (see Figure 5) as GPUs can enable significant speedup even for brute-force computation of this step.
|
| 158 |
+
|
| 159 |
+
# 4 Conclusion
|
| 160 |
+
|
| 161 |
+
In this paper, we presented an adaptive search strategy that incrementally builds a query embedding to approximate cross-encoder scores and performs $k$ -NN search using approximate scores over several rounds. Our approach is designed to reduce approximation error for the top-scoring items and hence improves $k$ -NN search recall when retrieving items based on the approximate scores. We perform an in-depth empirical analysis of the proposed approach in terms of both retrieval quality and efficiency.
|
| 162 |
+
|
| 163 |
+
# Limitations
|
| 164 |
+
|
| 165 |
+
Building the index for the ADACUR is more expensive than the traditional dual-encoder index due to the computation of dense cross-encoder scores matrix (see §2.1). We have successfully run our approach on up to 5 million items, but scaling to billions of items is an interesting direction for future work. Dual-encoder-based retrieve-and-erank baseline approaches can benefit from training the dual-encoder on multiple domains. It is not clear if data from multiple domains can be leveraged to improve performance of the proposed approach on a given target domain; although in any case, cross-encoders tend to be more robust to domain shift than using only dual-encoders for retrieval.
|
| 166 |
+
|
| 167 |
+
# Ethics Statement
|
| 168 |
+
|
| 169 |
+
In this paper we tackle the task of finding $k$ -nearest neighbor items for a given query when query-items scores are computed using a black-box similarity function such as a cross-encoder model. The cross-encoder scoring function may have certain biases
|
| 170 |
+
|
| 171 |
+
and error tendencies, and it is unclear if our proposed method to approximate cross-encoder scores exacerbates or mitigates such biases.
|
| 172 |
+
|
| 173 |
+
# Acknowledgments
|
| 174 |
+
|
| 175 |
+
We thank members of UMass IESL for helpful discussions and feedback. This work was supported in part by the Center for Data Science and the Center for Intelligent Information Retrieval, in part by the National Science Foundation under Grant No. NSF1763618, in part by the Chan Zuckerberg Initiative under the project "Scientific Knowledge Base Construction", in part by International Business Machines Corporation Cognitive Horizons Network agreement number W1668553, in part by Amazon Digital Services, and in part using high-performance computing equipment obtained under a grant from the Collaborative R&D Fund managed by the Massachusetts Technology Collaborative. Any opinions, findings, conclusions, and recommendations expressed in this material are those of the authors and do not necessarily reflect those of the sponsor(s).
|
| 176 |
+
|
| 177 |
+
# References
|
| 178 |
+
|
| 179 |
+
Payal Bajaj, Daniel Campos, Nick Craswell, Li Deng, Jianfeng Gao, Xiaodong Liu, Rangan Majumder, Andrew McNamara, Bhaskar Mitra, Tri Nguyen, et al. 2016. MS-MARCO: A human generated machine reading comprehension dataset. arXiv preprint arXiv:1611.09268.
|
| 180 |
+
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.
|
| 181 |
+
Kelvin Guu, Kenton Lee, Zora Tung, Panupong Pasupat, and Mingwei Chang. 2020. Realm: retrieval-augmented language model pre-training. In International Conference on Machine Learning.
|
| 182 |
+
Sebastian Hofstätter, Sophia Althammer, Michael Schröder, Mete Sertkan, and Allan Hanbury. 2020. Improving efficient neural ranking models with cross-architecture knowledge distillation. *ArXiv*, abs/2010.02666.
|
| 183 |
+
Gautier Izacard, Patrick Lewis, Maria Lomeli, Lucas Hosseini, Fabio Petroni, Timo Schick, Jane Dwivedi-Yu, Armand Joulin, Sebastian Riedel, and Edouard Grave. 2023. Atlas: Few-shot learning with retrieval augmented language models. Journal of Machine Learning Research, 24.
|
| 184 |
+
|
| 185 |
+
Vladimir Karpukhin, Barlas Oguz, Sewon Min, Patrick Lewis, Ledell Wu, Sergey Edunov, Danqi Chen, and Wen-tau Yih. 2020. Dense passage retrieval for open-domain question answering. In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP).
|
| 186 |
+
Omar Khattab and Matei Zaharia. 2020. ColBERT: Efficient and effective passage search via contextualized late interaction over bert. In ACM SIGIR Conference on Research and Development in Information Retrieval.
|
| 187 |
+
Zhenzhong Lan, Mingda Chen, Sebastian Goodman, Kevin Gimpel, Piyush Sharma, and Radu Soricut. 2020. Albert: A lite bert for self-supervised learning of language representations. In International Conference on Learning Representations, ICLR.
|
| 188 |
+
Lajanugen Logeswaran, Ming-Wei Chang, Kenton Lee, Kristina Toutanova, Jacob Devlin, and Honglak Lee. 2019. Zero-shot entity linking by reading entity descriptions. In Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics.
|
| 189 |
+
Ilya Loshchilov and Frank Hutter. 2019. Decoupled weight decay regularization. In International Conference on Learning Representations, ICLR.
|
| 190 |
+
Xinyin Ma, Yong Jiang, Nguyen Bach, Tao Wang, Zhongqiang Huang, Fei Huang, and Weiming Lu. 2021. MuVER: Improving first-stage entity retrieval with multi-view entity representations. In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing.
|
| 191 |
+
Michael W Mahoney and Petros Drineas. 2009. Cur matrix decompositions for improved data analysis. Proceedings of the National Academy of Sciences, 106:697-702.
|
| 192 |
+
Yingqi Qu, Yuchen Ding, Jing Liu, Kai Liu, Ruiyang Ren, Wayne Xin Zhao, Daxiang Dong, Hua Wu, and Haifeng Wang. 2021. RocketQA: An optimized training approach to dense passage retrieval for open-domain question answering. In Proceedings of the 2021 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies.
|
| 193 |
+
Stephen Robertson, Hugo Zaragoza, et al. 2009. The probabilistic relevance framework: Bm25 and beyond. Foundations and Trends in Information Retrieval, 3(4).
|
| 194 |
+
Victor Sanh, Lysandre Debut, Julien Chaumont, and Thomas Wolf. 2019. DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lighter. arXiv preprint arXiv:1910.01108.
|
| 195 |
+
Nandan Thakur, Nils Reimers, Andreas Rückle, Abhishek Srivastava, and Iryna Gurevych. 2021. BEIR: A heterogeneous benchmark for zero-shot evaluation of information retrieval models. In Thirty-fifth Conference on Neural Information Processing Systems Datasets and Benchmarks Track (Round 2).
|
| 196 |
+
|
| 197 |
+
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.
|
| 198 |
+
Wenhui Wang, Furu Wei, Li Dong, Hangbo Bao, Nan Yang, and Ming Zhou. 2020. Minilm: Deep self-attention distillation for task-agnostic compression of pre-trained transformers. Advances in Neural Information Processing Systems.
|
| 199 |
+
Ledell Wu, Fabio Petroni, Martin Josifoski, Sebastian Riedel, and Luke Zettlemoyer. 2020. Scalable zero-shot entity linking with dense entity retrieval. In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP).
|
| 200 |
+
Nishant Yadav, Nicholas Monath, Rico Angell, Manzil Zaheer, and Andrew McCallum. 2022. Efficient nearest neighbor search for cross-encoder models using matrix factorization. In Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing.
|
| 201 |
+
Wenzheng Zhang and Karl Stratos. 2021. Understanding hard negatives in noise contrastive estimation. In Proceedings of the 2021 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies.
|
| 202 |
+
|
| 203 |
+
# A Appendix A
|
| 204 |
+
|
| 205 |
+
# B Training and Implementation Details
|
| 206 |
+
|
| 207 |
+
All the code for reproducing experiments is available at https://github.com/iesl/anncur.
|
| 208 |
+
|
| 209 |
+
# B.1 Training Cross-Encoder Models
|
| 210 |
+
|
| 211 |
+
In our experiments, we use [EMB]-CE, a cross-encoder model variant proposed by Yadav et al. (2022) that jointly encodes a query-item pair and computes the final score using dot-product of contextualized query and item embeddings extracted after joint encoding.
|
| 212 |
+
|
| 213 |
+
# B.1.1 ZESHEL Dataset
|
| 214 |
+
|
| 215 |
+
ZESHEL dataset is a zero-shot entity linking containing a set of 16 domains, each containing a disjoint set of items (entities). Each domain contains a set of queries (mention) paired with their ground-truth items (entities). For ZESHEL, we use the cross-encoder model checkpoint released by Yadav et al. (2022). The cross-encoder model was trained by first training a dual-encoder model on ZESHEL training data using hard negatives, and then training a cross-encoder model for the task of zero-shot entity-linking on all eight training domains using cross-entropy loss with ground-truth
|
| 216 |
+
|
| 217 |
+
<table><tr><td>Dataset</td><td>Domain</td><td>|I|</td><td>(|Qtrain|, |Qtest|) Splits</td><td>Train Query (Qtrain) Type</td></tr><tr><td>ZESHEL</td><td>YuGiOh</td><td>10,031</td><td>(100/3274), (500/2874), (2000/1374)</td><td>Real Queries</td></tr><tr><td>ZESHEL</td><td>StarTrek</td><td>34,430</td><td>(100/4127), (500/3727), (2000/2227)</td><td>Real Queries</td></tr><tr><td>ZESHEL</td><td>Military</td><td>104,520</td><td>(100/2300), (500/1900), (2000/0400)</td><td>Real Queries</td></tr><tr><td>BEIR</td><td>SciDocs</td><td>25,657</td><td>(1000/1000)</td><td>Pseudo-Queries</td></tr><tr><td>BEIR</td><td>HotpotQA</td><td>5,233,329</td><td>(1000/1000)</td><td>Pseudo-Queries</td></tr></table>
|
| 218 |
+
|
| 219 |
+
Table 1: Statistics on the number of items $(\mathcal{I})$ and the number of queries in train and test splits for each domain. The train-query $(Q_{train})$ split refers to queries used for distilling dual-encoder models or for indexing items using ADACUR and ANNCUR. For ZESHEL domains, we create train-test splits by splitting the queries in each domain uniformly at random and test with three different splits by putting 100, 500, or 2000 queries in train split. For BEIR domains, we use pseudo-queries released as part of the benchmark as train queries $(Q_{train})$ and run $k$ -NN evaluation on test queries from the official test split (as per BEIR benchmark) of these domains. For HotpotQA, we use the first 1K queries out of a total of 7K test queries and we use all 1K test queries for SciDocs.
|
| 220 |
+
|
| 221 |
+
entity and negative entities mined using the dual-encoder. We refer readers to Yadav et al. (2022) for further details on cross-encoder training.
|
| 222 |
+
|
| 223 |
+
We perform $k$ -NN experiments on domains YuGiOh, StarTrek, and Military from ZESHEL of which only Military was part of the training data used to train the cross-encoder model and YuGiOh and StarTrek are part of the original ZESHEL test domains and the cross-encoder model was not trained on these domains.
|
| 224 |
+
|
| 225 |
+
# B.1.2 BEIR
|
| 226 |
+
|
| 227 |
+
We follow the training setup used by Hofstätter et al. (2020). We first train three teacher cross-encoders initialized with albert-large-v2 (Lan et al., 2020), bert-large-whole-word-masking, and bert-base-uncased (Devlin et al., 2019), and compute soft labels on 40 million (query, positive item, negative item) triplets in MS-MARCO dataset (Bajaj et al., 2016). We then train our cross-encoder model parameterized using a 6-layer MINI-LM model (Wang et al., 2020) via distillation using average scores of the three teacher models as target signal and minimizing mean-square-error between predicted and target scores. We use training scripts available as part of sentence-transformer $^{4}$ repository to train the cross-encoder model and use a dot-product based scoring mechanism for cross-encoders proposed by Yadav et al. (2022).
|
| 228 |
+
|
| 229 |
+
# B.2 Training Dual-Encoder Models
|
| 230 |
+
|
| 231 |
+
# B.2.1 ZESHEL dataset
|
| 232 |
+
|
| 233 |
+
We report results for DE baselines as reported in Yadav et al. (2022). The DE models were initialized using bert-base-uncased and contain separate query and item encoders, thus containing a total of
|
| 234 |
+
|
| 235 |
+
$2 \times 110M$ parameters. We refer readers to Yadav et al. (2022) for details related to the training of all DE model variants on ZESHEL dataset.
|
| 236 |
+
|
| 237 |
+
# B.2.2 BEIR benchmark
|
| 238 |
+
|
| 239 |
+
For BEIR domains, we use a dual-encoder model released as part of sentence-transformer repository as $\mathrm{DE}_{\mathrm{BASE}}$ . This dual-encoder model was initialized using distillbert-base (Sanh et al., 2019) and trained on MS-MARCO dataset. This $\mathrm{DE}_{\mathrm{BASE}}$ is not trained on target domains SciDocs and HotpotQA used for running $k$ -NN experiments.
|
| 240 |
+
|
| 241 |
+
We finetune $\mathrm{DE}_{\mathrm{BASE}}$ via distillation on the target domain to get $\mathrm{DE}_{\mathrm{BASE}}^{\mathrm{CE}}$ model. Given a set of training queries $\mathcal{Q}_{\mathrm{train}}$ from the target domain, we retrieve top-100 or top-1000 items for each query, score the items with the cross-encoder model, and train the dual-encoder by minimizing cross-entropy loss between predicted query-item scores (using DE) and target query-item scores (obtained using cross-encoder). Training a $\mathrm{DE}_{\mathrm{BASE}}^{\mathrm{CE}}$ with 1K queries and 100 or 1000 items per query takes around 2 hrs and 10 hrs respectively on an Nvidia RTX8000 GPU with 48GB memory. We train $\mathrm{DE}_{\mathrm{BASE}}^{\mathrm{CE}}$ for 10 epochs when using top-100 items per query and for 4 epochs when using top-1000 items per query using AdamW (Loshchilov and Hutter, 2019) optimizer with learning rate 1e-5.
|
| 242 |
+
|
| 243 |
+
# B.3 ANNCUR Implementation details
|
| 244 |
+
|
| 245 |
+
For ANNCUR, we report results for the optimal split of cross-encoder call budget $(\mathcal{B}_{\mathrm{CE}})$ between scoring $k_{i}$ anchor items followed by retrieving $\mathcal{B}_{\mathrm{CE}} - k_{i}$ items for re-ranking. We experiment with $k_{i} \in \{i\mathcal{B}_{\mathrm{CE}} / 10 : 1 \leq i \leq 9\}$ . If the retrieved items contain a subset of anchor items for which exact
|
| 246 |
+
|
| 247 |
+

|
| 248 |
+
(a) Domain $=$ Military (100K items), $|\mathcal{Q}_{\mathrm{train}}| = 500$ . Each CE call takes $\sim 7\mathrm{ms}$ on an Nvidia 2080ti GPU for a cross-encoder parameterized using 12-layered transformer model.
|
| 249 |
+
|
| 250 |
+

|
| 251 |
+
(b) Domain=HotpotQA (5 Million items), $|\mathcal{Q}_{\mathrm{train}}| = 1000$ . Each CE call takes $\sim 2$ ms on an Nvidia RTX8000 GPU for a cross-encoder parameterized using 6-layered transformer model.
|
| 252 |
+
Figure 5: ADACUR inference latency versus number of rounds for two different domains. The primary bottleneck at inference time is the time taken to compute cross-encoder (CE) scores for query-item pairs at test time, and the overhead for ADACUR accumulates linearly as the number of rounds increases. See §B.5 for detailed discussion.
|
| 253 |
+
|
| 254 |
+
cross-encoder score has already been computed, we retrieve more than $\mathcal{B}_{\mathrm{CE}} - k_{i}$ items using approximate scores and compute exact cross-encoder scores for them until we have exhausted the entire cross-encoder call budget for the re-ranking step.
|
| 255 |
+
|
| 256 |
+
# B.4 ADACUR Implementation details
|
| 257 |
+
|
| 258 |
+
For all our $k$ -NN search experiments, we used Nvidia 2080ti GPUs with 12GB memory for domains YuGiOh (10K items), StarTrek (34K items), Military (100K items), and SciDocs (25K items), and we used Nvidia RTX8000 GPUs with 48GB memory for HotpotQA (5 million items).
|
| 259 |
+
|
| 260 |
+
For HotpotQA, we restrict our $k$ -NN search to top-10K items wrt $\mathrm{DE}_{\mathrm{BASE}}$ for ADACUR $_{\mathrm{DE}_{\mathrm{BASE}}}$ . For ZESHEL domains and SciDocs, we do not use any such heuristic and search over all the items in the corresponding domain.
|
| 261 |
+
|
| 262 |
+
# B.5 Time Complexity of ADACUR
|
| 263 |
+
|
| 264 |
+
The offline indexing step for ADACUR takes $\mathcal{O}(k_q|\mathcal{I}|\mathcal{C}_{f_\theta})$ time as it involves computing exact cross-encoder scores for all $|\mathcal{I}|$ items in the target domain against $k_q$ anchor queries, and computing each cross-encoder score takes $\mathcal{C}_{f_\theta}$ units of time.
|
| 265 |
+
|
| 266 |
+
At test time, we are given a budget $\mathcal{B}_{\mathrm{CE}}$ on the number of cross-encoder calls. Each one of the $N_{\mathcal{R}}$ rounds during inference with ADACUR involves approximating all item scores for the test query $(q_{\mathrm{test}})$ followed by sampling the next batch of $k_{s} = \mathcal{B}_{\mathrm{CE}} / N_{\mathcal{R}}$ items using the updated approximate scores. In the $j^{th}$ round, the score approximation step involves computing the pseudo-inverse of a $k_{q} \times jk_{s}$ -dimensional matrix (line 12 in Algo. 1), which takes $\mathcal{O}(\mathcal{C}_{\mathrm{inv}}^{k_q,jk_s})$ time, followed by a matrix multiplication step to compute updated approximate scores (line 13 in Algo. 1)
|
| 267 |
+
|
| 268 |
+
which takes $\mathcal{O}(\mathcal{C}_{\mathrm{mul}}^{k_q,jk_s,|\mathcal{I}|})$ time. The time taken to update the approximate scores in each round is $\mathcal{O}(\mathcal{C}_{\mathrm{inv}}^{k_q,jk_s} + \mathcal{C}_{\mathrm{mul}}^{k_q,jk_s,|\mathcal{I}|})$ , and the time taken to compute cross-encoder scores for the next batch of $k_{s}$ items is $\mathcal{O}(k_s\mathcal{C}_{f_\theta})$ . Thus, the total inference latency for retrieving items over $N_{\mathcal{R}}$ rounds under a given budget of $\mathcal{B}_{\mathrm{CE}}$ cross-encoder calls is
|
| 269 |
+
|
| 270 |
+
$$
|
| 271 |
+
\begin{array}{l} \mathcal {O} \Big (\sum_ {j = 1} ^ {N _ {\mathcal {R}}} \left(k _ {s} \mathcal {C} _ {f _ {\theta}} + \mathcal {C} _ {\mathrm {i n v}} ^ {k _ {q}, j k _ {s}} + \mathcal {C} _ {\mathrm {m u l}} ^ {k _ {q}, j k _ {s}, | \mathcal {I} |}\right) \Big) \\ = \mathcal {O} \left(\mathcal {B} _ {\mathrm {C E}} \mathcal {C} _ {f _ {\theta}} + \underbrace {\sum_ {j = 1} ^ {N _ {\mathcal {R}}} \left(\mathcal {C} _ {\mathrm {i n v}} ^ {k _ {q} , j k _ {s}} + \mathcal {C} _ {\mathrm {m u l}} ^ {k _ {q} , j k _ {s} , | \mathcal {I} |}\right)} _ {\text {O v e r h e a d o f A D A C U R}}\right) \\ \end{array}
|
| 272 |
+
$$
|
| 273 |
+
|
| 274 |
+
Figure 5 shows the breakdown of ADACUR's inference latency in terms of time spent on computing cross-encoder scores, and the overhead of computing matrix inverse in line 12 and updating approximate scores by multiplying matrices in line 13 of Algorithm 1. Empirically, we observe that the primary bottleneck at inference time is the time taken to compute cross-encoder scores for query-item pairs at test time, and the overhead for ADACUR accumulates linearly as the number of rounds increases. The overhead is mostly dominated by computing pseudo-inverse (see line 12 in Algorithm 1) and this step is independent of the target domain size. The matrix multiplication step (line 13 in Algorithm 1) has a linear dependence on the number of items in the target domain but it is a negligible fraction of the overall running time as it can be significantly sped up using GPUs.
|
| 275 |
+
|
| 276 |
+
For ZESHEL domains, we use a cross-encoder parameterized using bert-base (Devlin et al., 2019), and observe that each cross-encoder call takes amortized time of $\sim 7\mathrm{ms}$ on an Nvidia 2080ti
|
| 277 |
+
|
| 278 |
+
GPU when the scores are computed in batches of size 50. Computing each cross-encoder score sequentially i.e. with batch-size $= 1$ takes $\sim 13\mathrm{ms}$ per score. We did not observe any further reduction in amortized time to compute each score when increasing the batch size beyond 50.
|
| 279 |
+
|
| 280 |
+
The amortized time per cross-encoder call is approximately 6ms and 2ms for SciDocs and HotpotQA respectively when using batch size=50 and MINI-LM-based (Wang et al., 2020) cross-encoder. The difference in time per cross-encoder score for SciDocs and HotpotQA is due to the difference in average query-item pair sequence length.
|
| 281 |
+
|
| 282 |
+
# C Additional Results and Analysis
|
| 283 |
+
|
| 284 |
+
# C.1 TopK vs SoftMax for ADACUR
|
| 285 |
+
|
| 286 |
+
Figure 6 shows Top- $k$ -Recall for ADACUR on domain=YuGiOh, $|\mathcal{Q}_{\mathrm{train}}| = 500$ , when using TopK and SoftMax strategies for sampling items based on approximate scores (see §2.2 for details). TopK sampling strategy which greedily picks top- $k$ items based on approximate scores results in superior recall as compared to sampling items using softmax over approximate scores.
|
| 287 |
+
|
| 288 |
+

|
| 289 |
+
Figure 6: Top- $k$ -Recall for ADACUR on YuGi0h, $|\mathcal{Q}_{\mathrm{train}}| = 500$ for different strategies for sampling items based on approximate scores described in §2.2.
|
| 290 |
+
|
| 291 |
+
# C.2 Anchor Item Sampling with Oracle
|
| 292 |
+
|
| 293 |
+
ADACUR performs retrieval over multiple rounds using approximate cross-encoder scores and uses the items retrieved based on the approximate scores as anchor items to improve the approximation and hence retrieval in subsequent rounds. In this section, we run experiments where the anchor item sampling method has oracle access to exact cross-encoder scores of all items for the given test query to better understand the effect of anchor items on the approximation of cross-encoder scores and
|
| 294 |
+
|
| 295 |
+
hence subsequent retrieval based on the approximate scores. We experiment with the following strategies for sampling $k_{i}$ anchor items for a given test query:
|
| 296 |
+
|
| 297 |
+
- TopK $_{k_m, \epsilon}^{\mathcal{O}}$ : Mask out top- $k_m$ items wrt exact cross-encoder scores and select $k_i$ anchor items by greedily picking $(1 - \epsilon) k_i$ items starting from rank $k_m + 1$ , and sample remaining $\epsilon k_i$ anchor items uniformly at random.
|
| 298 |
+
- SoftMax $\mathcal{O}_{k_m,\epsilon}$ : Mask out top- $k_m$ items wrt exact cross-encoder scores and select $k_i$ anchor items by sampling $(1 - \epsilon)k_i$ anchor items using softmax over exact cross-encoder scores, and sample remaining $\epsilon k_i$ anchor items uniformly at random.
|
| 299 |
+
|
| 300 |
+
For a given test-time cross-encoder call budget $\mathcal{B}_{\mathrm{CE}}$ , we select $k_{i}$ anchor items, compute approximate cross-encoder scores using the chosen anchor items, and then retrieve $\mathcal{B}_{\mathrm{CE}} - k_{i}$ items based on the approximate scores. We experiment with $k_{i} \in \{i\mathcal{B}_{\mathrm{CE}} / 10 : 1 \leq i \leq 9\}$ and report results for the best budget split.
|
| 301 |
+
|
| 302 |
+

|
| 303 |
+
Figure 7: Average approximation error for CUR matrix factorization on test-queries for domain=YuGiOh and $|\mathcal{Q}_{\mathrm{train}}| = 500$ when choosing $k_{i} = 50$ anchor items uniformly at random (ANNCUR), using oracle strategies from §C.2 and for ADACUR when sampling anchor items over five rounds. Approximation error is computed as the average of absolute difference between approximate and exact item scores.
|
| 304 |
+
|
| 305 |
+
Figure 8a shows Top- $k$ -Recall of anchor item sampling strategies $\mathsf{TopK}_{k_m,0}^{\mathcal{O}}$ and SoftMax for $k_{m}\in \{0,k\}$ ,domain $\equiv$ YuGiOh. Sampling strategies SoftMax and TopK,0, which mask out top-k items, perform significantly worse than SoftMax0,0 and TopK,0 respectively when searching for $k =$ 1, 10 nearest neighbors. This indicates that the significant improvement in Top-1-Recall and Top-10Recall for TopK,and SoftMax sampling strategies can be attributed to the presence of top- $k$ items in the anchor item set. This is because CUR matrix
|
| 306 |
+
|
| 307 |
+

|
| 308 |
+
(a) Sampling with and without ground-truth top- $k$ items
|
| 309 |
+
|
| 310 |
+

|
| 311 |
+
(b) Sampling using TopK strategy with exact CE scores while varying $\epsilon$ , the fraction of items sampled uniformly at random
|
| 312 |
+
|
| 313 |
+

|
| 314 |
+
(c) Sampling using SoftMax of exact CE scores while varying $\epsilon$ , the fraction of items sampled uniformly at random
|
| 315 |
+
Figure 8: Top- $k$ -Recall for ADACUR, ANNCUR, and oracle sampling strategies (§C.2) that have oracle access to exact cross-encoder scores for all items for domain=YuGiOh, $|\mathcal{Q}_{\mathrm{train}}| = 500$ .
|
| 316 |
+
Figure 9: Scatter plot showing approximate versus exact cross-encoder scores for a query from domain=YuGiOh, when choosing $k_{i} = 50$ anchor items using oracle strategies from §C.2 and $|\mathcal{Q}_{\mathrm{train}}| = 500$ . Top- $k$ for $k = 1,10,100$ wrt exact cross-encoder scores are annotated with text along with vertical lines, different color bands indicate the ordering of items wrt approximate scores, and anchor items are shown in blue.
|
| 317 |
+
|
| 318 |
+
factorization which is used to compute the approximate scores incurs negligible approximation error on anchor items, and hence on top- $k$ items when these items are part of the anchor set as shown in figures 7 and 9. For $\mathsf{TopK}_{k,0}^{\mathcal{O}}$ and SoftMax $_{k,0}$ sampling strategies, since the top- $k$ items are not part of the anchor set, CUR incurs a much higher approximation error for the top- $k$ items (see examples in Figures 9a and 9b), thus resulting in poor Top $k$ -Recall as shown in Figure 8a.
|
| 319 |
+
|
| 320 |
+
Effect of diversity in anchor items Figure 8a shows that sampling items based on softmax of exact cross-encoder scores $(\mathrm{SoftMax}_{k_m,0}^{\mathcal{O}})$ performs better than greedily picking top-scoring items $(\mathrm{TopK}_{k_m,0}^{\mathcal{O}})$ , for both $k_{m} = 0,k$ . The reason behind $\mathrm{SoftMax}_{k_m,0}^{\mathcal{O}}$ performing better than $\mathrm{TopK}_{k_m,0}^{\mathcal{O}}$ is that sampling based on softmax of exact scores yields an anchor set with a more diverse
|
| 321 |
+
|
| 322 |
+

|
| 323 |
+
|
| 324 |
+

|
| 325 |
+
|
| 326 |
+

|
| 327 |
+
(e) $\mathrm{TopK}_{0,\epsilon}^{\mathcal{O}},\epsilon = 0.75$
|
| 328 |
+
|
| 329 |
+

|
| 330 |
+
|
| 331 |
+

|
| 332 |
+
|
| 333 |
+

|
| 334 |
+
(f) SoftMax<sub>0,ε</sub>, ε = 0.75
|
| 335 |
+
|
| 336 |
+
score distribution whereas greedily selecting topscoring items using exact scores results in an anchor set with items having similar cross-encoder scores. However, as shown in Figures 9c and 9d, both of these sampling strategies can result in overestimating scores for all items, even the irrelevant ones (i.e. items beyond top- $k$ items) due to insufficient representation of the irrelevant items in the anchor set. Thus retrieving based on approximated scores may struggle to retrieve relevant $k$ -NN items, especially for larger values of $k$ such as $k = 100$ when the anchor items are chosen using oracle strategies such as $\mathsf{TopK}_{k_m,0}^{\mathcal{O}}$ .
|
| 337 |
+
|
| 338 |
+
Figures 9e and 9f, where $\epsilon = 75\%$ of 50 items are sampled uniformly at random, show that overestimating scores of irrelevant items can be avoided by sampling a fraction of anchor items uniformly at random to increase the diversity of the anchor item set. As shown in Figures 8b and 8c, Top- $k$ -Recall for both SoftMax $_{0,\epsilon}$ and TopK $_{0,\epsilon}$ generally improves with an increase in $\epsilon$ , the fraction of ran
|
| 339 |
+
|
| 340 |
+
dom items in the anchor set, due to increased diversity in the anchor item set. Since $\mathrm{SoftMax}_{0,\epsilon}^{\mathcal{O}}$ already samples a diverse set of anchor items, increasing $\epsilon$ yields only marginal improvement while for $\mathrm{TopK}_{0,\epsilon}^{\mathcal{O}}$ , increasing $\epsilon$ yields significant improvements due to increased diversity of the anchor set. A small drop in performance is observed for larger values of $\epsilon$ as increasing $\epsilon$ beyond a threshold results in some of the top- $k$ items to be excluded from the anchor item set. This results in a poorer approximation of scores for the missing top- $k$ items and hence poor retrieval recall as the retrieval is done using the approximate scores.
|
| 341 |
+
|
| 342 |
+
Finally, the optimal strategy for choosing the set of anchor items is the one that strikes a balance between selecting anchor items with diverse cross-encoder scores and greedily picking top- $k$ items. Our proposed strategy ADACUR improves over ANNCUR as greedily picking top-scoring items according to approximate scores to expand set of anchor items increases the likelihood of picking ground-truth $k$ -NN items to be part of the anchor set, with this likelihood improving after each round with improvement in the score approximation, and ADACUR achieves diversity in the anchor items as a result of sampling items uniformly at random in the first round and due to error in the approximate scores, as shown in Figure 11.
|
| 343 |
+
|
| 344 |
+
# C.3 Comparison with Multi-Vector Models
|
| 345 |
+
|
| 346 |
+
Multi-vector models (Khattab and Zaharia, 2020; Ma et al., 2021) produce multiple embeddings for each query and item. For a given query $q$ and item $i$ , the query-item score is computed using simple functions such as average similarity or sum-of-maximum similarities between the set of embeddings for query $q$ and item $i$ .
|
| 347 |
+
|
| 348 |
+
Figure 10 shows Top- $k$ -Recall for $\mathrm{DE}_{\mathrm{BASE}}$ , $\mathrm{DE}_{\mathrm{BASE}}^{\mathrm{CE}}$ , $\mathrm{ADACUR}_{\mathrm{DE}_{\mathrm{BASE}}}$ , and MUVER (Ma et al., 2021), a recent multi-vector model trained on ZESHEL dataset. For MUVER, we use the pretrained checkpoint released by Ma et al. (2021) with the view-merging inference strategy as described in Ma et al. (2021). While MUVER can be more accurate than $\mathrm{DE}_{\mathrm{BASE}}$ , $\mathrm{DE}_{\mathrm{BASE}}^{\mathrm{CE}}$ obtained by finetuning $\mathrm{DE}_{\mathrm{BASE}}$ model on the target domain outperforms MUVER and our proposed method $\mathrm{ADACUR}_{\mathrm{DE}_{\mathrm{BASE}}}$ yields the best Top- $k$ -Recall versus inference cost trade-offs for all values of $k$ .
|
| 349 |
+
|
| 350 |
+
We would also like to note that while multi-vector models such as MUVER can be more accurate than single-embedding models such as $\mathrm{DE}_{\mathrm{BASE}}$
|
| 351 |
+
|
| 352 |
+

|
| 353 |
+
(a) YuGiOh
|
| 354 |
+
|
| 355 |
+

|
| 356 |
+
(b) StarTrek
|
| 357 |
+
Figure 10: Top- $k$ -Recall for $\mathrm{ADACUR}_{\mathrm{DE}_{\mathrm{BASE}}}$ and baselines including multi-vector models on ZESHEL domains, $|\mathcal{Q}_{\mathrm{train}}| = 2000$ . See §C.3 for discussion.
|
| 358 |
+
|
| 359 |
+
such multi-vector models incur significant memory overhead for storing query/item embeddings. For instance, using 15 embeddings per item with 768-dimensional embeddings would take around 250GB space for 5 million items for HotpotQA.
|
| 360 |
+
|
| 361 |
+
# C.4 Results for TF-IDF baseline
|
| 362 |
+
|
| 363 |
+
TF-IDF: All queries and items are embedded using a TF-IDF vectorizer trained on item descriptions and top- $k$ items are retrieved using the dot-product of sparse query and item embeddings.
|
| 364 |
+
|
| 365 |
+
For domains in ZESHEL, we report results for TF-IDF baseline, for ANNCUR when anchor items are chosen using TF-IDF baseline (ANNCUR $_{TF-IDF}$ ), and for ADACUR when the first batch of anchor items is chosen using TF-IDF baseline (ADACUR $_{TF-IDF}$ ). Figures 13, 14, and 15 show Top- $k$ -Recall for domains YuGiOh, StarTrek, and Military respectively for $Q_{train} \in \{100, 500, 2000\}$ . For each baseline retrieval method, ADACUR always performs better than ANNCUR which in turn generally performs better than merely re-ranking items retrieved using the corresponding baseline retrieval method. In most cases, Top- $k$ -Recall for ADACUR $_{DE_BASE}$ > ANNCUR $_{DE_BASE}$ > DE_BASE, and ADACUR $_{TF-IDF}$ > ANNCUR $_{TF-IDF}$ > TF-IDF.
|
| 366 |
+
|
| 367 |
+

|
| 368 |
+
|
| 369 |
+

|
| 370 |
+
|
| 371 |
+

|
| 372 |
+
(a-2) ADACUR Round 2. Total 20 anchor items.
|
| 373 |
+
|
| 374 |
+

|
| 375 |
+
|
| 376 |
+

|
| 377 |
+
(a-1) ADACUR Round 1. Total 10 anchor items.
|
| 378 |
+
(a-4) ADACUR Round 4. Total 40 anchor items.
|
| 379 |
+
|
| 380 |
+

|
| 381 |
+
(a-5) ADACUR Round 5. Total 50 anchor items.
|
| 382 |
+
|
| 383 |
+

|
| 384 |
+
(a-3) ADACUR Round 3. Total 30 anchor items.
|
| 385 |
+
(a-6) ANNCUR- Sampling all 50 anchor items uniformly at random.
|
| 386 |
+
|
| 387 |
+

|
| 388 |
+
(a) Sampling 50 anchor items adaptively for ADACUR (over five rounds) and for ANNCUR (uniformly at random).
|
| 389 |
+
|
| 390 |
+

|
| 391 |
+
|
| 392 |
+

|
| 393 |
+
|
| 394 |
+

|
| 395 |
+
(b-1) ADACUR Round 1. Total 40 anchor items.
|
| 396 |
+
(b-4) ADACUR Round 4. Total 160 anchor items.
|
| 397 |
+
(b) Sampling 200 anchor items adaptively for ADACUR (over five rounds) and for ANNCUR (uniformly at random).
|
| 398 |
+
Figure 11: Scatter plot showing approximate versus exact cross-encoder scores for a query from domain=YuGi0h, $|\mathcal{Q}_{\mathrm{train}}| = 500$ when choosing $k_{i} = 50$ and 200 anchor items with ADACUR over five rounds, and uniformly at random with ANNCUR. Top- $k$ for $k = 1,10,100$ wrt exact cross-encoder scores are annotated with text, different color bands indicate the ordering of items wrt approximate scores, and anchor items are shown in blue. With ADACUR, the first batch containing anchor items in Figure 11a-1 and 11b-1 is chosen uniformly at random and in subsequent rounds, items with highest approximate scores are chosen. Note that the approximation error for top-scoring items improves significantly when the 50 anchor items are chosen adaptively (see Figure 11a-5) with the improvement being much more significant than merely increasing the number of anchor items sampled uniformly at random from 50 in Figure 11a-6 to 200 in Figure 11b-6.
|
| 399 |
+
|
| 400 |
+

|
| 401 |
+
(b-2) ADACUR Round 2. Total 80 anchor items.
|
| 402 |
+
(b-5) ADACUR Round 5. Total 200 anchor items.
|
| 403 |
+
|
| 404 |
+

|
| 405 |
+
(b-3) ADACUR Round 3. Total 120 anchor items.
|
| 406 |
+
(b-6) ANNCUR- Sampling all 200 anchor items uniformly at random.
|
| 407 |
+
|
| 408 |
+

|
| 409 |
+
|
| 410 |
+

|
| 411 |
+
(a) SciDocs
|
| 412 |
+
|
| 413 |
+

|
| 414 |
+
(b) HotpotQA
|
| 415 |
+
Figure 12: Top- $k$ -Recall for ADACUR (using ten rounds) and baselines for SciDocs and HotpotQA, $|\mathcal{Q}_{\mathrm{train}}| = 1000$ .
|
| 416 |
+
|
| 417 |
+

|
| 418 |
+
|
| 419 |
+

|
| 420 |
+
|
| 421 |
+

|
| 422 |
+
|
| 423 |
+

|
| 424 |
+
Inference Cost (Total Number of Cross-Encoder Calls)
|
| 425 |
+
|
| 426 |
+

|
| 427 |
+
|
| 428 |
+

|
| 429 |
+
|
| 430 |
+

|
| 431 |
+
Inference Cost (Total Number of Cross-Encoder Calls)
|
| 432 |
+
|
| 433 |
+

|
| 434 |
+
(a) Number of train/anchor queries $|\mathcal{Q}_{\mathrm{train}}| = 100$ .
|
| 435 |
+
|
| 436 |
+

|
| 437 |
+
|
| 438 |
+

|
| 439 |
+
(b) Number of train/anchor queries $|\mathcal{Q}_{\mathrm{train}}| = 500$ .
|
| 440 |
+
Inference Cost (Total Number of Cross-Encoder Calls)
|
| 441 |
+
(c) Number of train/anchor queries $|\mathcal{Q}_{\mathrm{train}}| = 2000$ .
|
| 442 |
+
Figure 13: Top- $k$ -Recall for ADACUR (using five rounds) and baselines for domain=YuGiOh. Each subfigure corresponds to a different value of the number of train/anchor queries $(|\mathcal{Q}_{\text {train }}|)$ .
|
| 443 |
+
|
| 444 |
+

|
| 445 |
+
|
| 446 |
+

|
| 447 |
+
|
| 448 |
+

|
| 449 |
+
|
| 450 |
+

|
| 451 |
+
|
| 452 |
+

|
| 453 |
+
|
| 454 |
+

|
| 455 |
+
Inference Cost (Total Number of Cross-Encoder Calls)
|
| 456 |
+
|
| 457 |
+

|
| 458 |
+
|
| 459 |
+

|
| 460 |
+
|
| 461 |
+

|
| 462 |
+
Inference Cost (Total Number of Cross-Encoder Calls)
|
| 463 |
+
|
| 464 |
+

|
| 465 |
+
(a) Number of train/anchor queries $|\mathcal{Q}_{\mathrm{train}}| = 100$
|
| 466 |
+
|
| 467 |
+

|
| 468 |
+
|
| 469 |
+

|
| 470 |
+
(b) Number of train/anchor queries $|\mathcal{Q}_{\mathrm{train}}| = 500$ .
|
| 471 |
+
Inference Cost (Total Number of Cross-Encoder Calls)
|
| 472 |
+
(c) Number of train/anchor queries $|\mathcal{Q}_{\mathrm{train}}| = 2000$ .
|
| 473 |
+
Figure 14: Top- $k$ -Recall for ADACUR (using five rounds) and baselines for domain=StarTrek. Each subfigure corresponds to a different value of the number of train/anchor queries $(|\mathcal{Q}_{\mathrm{train}}|)$ .
|
| 474 |
+
|
| 475 |
+

|
| 476 |
+
|
| 477 |
+

|
| 478 |
+
|
| 479 |
+

|
| 480 |
+
Proposed Approaches
|
| 481 |
+
|
| 482 |
+

|
| 483 |
+
|
| 484 |
+

|
| 485 |
+
DACUR
|
| 486 |
+
|
| 487 |
+

|
| 488 |
+
ADA
|
| 489 |
+
|
| 490 |
+

|
| 491 |
+
R
|
| 492 |
+
|
| 493 |
+

|
| 494 |
+
|
| 495 |
+

|
| 496 |
+
AD
|
| 497 |
+
"
|
| 498 |
+
|
| 499 |
+

|
| 500 |
+
|
| 501 |
+

|
| 502 |
+
|
| 503 |
+

|
| 504 |
+
Inference Cost (Total Number of Cross-Encoder Calls)
|
| 505 |
+
|
| 506 |
+

|
| 507 |
+
|
| 508 |
+

|
| 509 |
+
|
| 510 |
+

|
| 511 |
+
Inference Cost (Total Number of Cross-Encoder Calls)
|
| 512 |
+
|
| 513 |
+

|
| 514 |
+
(a) Number of train/anchor queries $|\mathcal{Q}_{\mathrm{train}}| = 100$ .
|
| 515 |
+
|
| 516 |
+

|
| 517 |
+
|
| 518 |
+

|
| 519 |
+
(b) Number of train/anchor queries $|\mathcal{Q}_{\mathrm{train}}| = 500$ .
|
| 520 |
+
Inference Cost (Total Number of Cross-Encoder Calls)
|
| 521 |
+
(c) Number of train/anchor queries $|\mathcal{Q}_{\mathrm{train}}| = 2000$ .
|
| 522 |
+
Figure 15: Top- $k$ -Recall for ADACUR (using five rounds) and baselines for domain=Military. Each subfigure corresponds to a different value of the number of train/anchor queries $(|\mathcal{Q}_{train}|)$ . Note that $\mathrm{DE}_{\mathrm{BASE}}$ has high Top-1-Recall values as domain=Military is included in the set of train domains in ZESHEL which are used to train both $\mathrm{DE}_{\mathrm{BASE}}$ and the cross-encoder model.
|
| 523 |
+
|
| 524 |
+

|
| 525 |
+
|
| 526 |
+

|
2023/Efficient k-NN Search with Cross-Encoders using Adaptive Multi-Round CUR Decomposition/images.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5ca4198ce7c4e8593041545144f9ee372d372857c613d44f1d4df8f744dc6738
|
| 3 |
+
size 1897755
|
2023/Efficient k-NN Search with Cross-Encoders using Adaptive Multi-Round CUR Decomposition/layout.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2023/Efficiently Enhancing Zero-Shot Performance of Instruction Following Model via Retrieval of Soft Prompt/91bfba92-6122-4a1c-8806-4f5015582836_content_list.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2023/Efficiently Enhancing Zero-Shot Performance of Instruction Following Model via Retrieval of Soft Prompt/91bfba92-6122-4a1c-8806-4f5015582836_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2023/Efficiently Enhancing Zero-Shot Performance of Instruction Following Model via Retrieval of Soft Prompt/91bfba92-6122-4a1c-8806-4f5015582836_origin.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c630934be9e52de7d0abba370c506747312f332fd2926ed49db27c62e5e18277
|
| 3 |
+
size 2377596
|
2023/Efficiently Enhancing Zero-Shot Performance of Instruction Following Model via Retrieval of Soft Prompt/full.md
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2023/Efficiently Enhancing Zero-Shot Performance of Instruction Following Model via Retrieval of Soft Prompt/images.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3b00f055dcf0174506f3557b3b81b8bf55bfbb1bbb97f5cd1c69f0a1ef965fa5
|
| 3 |
+
size 1540549
|
2023/Efficiently Enhancing Zero-Shot Performance of Instruction Following Model via Retrieval of Soft Prompt/layout.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2023/Emergent Inabilities_ Inverse Scaling Over the Course of Pretraining/5fe6aa26-b646-469e-8865-eaa4efa360e8_content_list.json
ADDED
|
@@ -0,0 +1,1023 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"type": "text",
|
| 4 |
+
"text": "Emergent Inabilities? Inverse Scaling Over the Course of Pretraining",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
139,
|
| 8 |
+
89,
|
| 9 |
+
858,
|
| 10 |
+
111
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "James A. Michaelov and Benjamin K. Bergen \nDepartment of Cognitive Science, University of California San Diego \n{j1michae,bkbergen}@ucsd.edu",
|
| 17 |
+
"bbox": [
|
| 18 |
+
218,
|
| 19 |
+
142,
|
| 20 |
+
781,
|
| 21 |
+
193
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "Abstract",
|
| 28 |
+
"text_level": 1,
|
| 29 |
+
"bbox": [
|
| 30 |
+
260,
|
| 31 |
+
252,
|
| 32 |
+
339,
|
| 33 |
+
268
|
| 34 |
+
],
|
| 35 |
+
"page_idx": 0
|
| 36 |
+
},
|
| 37 |
+
{
|
| 38 |
+
"type": "text",
|
| 39 |
+
"text": "Does inverse scaling only occur as a function of model size, or can it also occur over the course of training? We carry out an exploratory study investigating whether the performance of language models on specific tasks can decrease (while general performance remains high) during training on the language modeling task. We find 8 tasks on which Pythia 12B (Biderman et al., 2023) shows decreased performance over the course of training. Five of these tasks (TRUTHFULQA-MC1, TRUTHFULQA-MC2, HINDSIGHT NEGLECT, MEMO TRAP, and PATTERN MATCH SUPPRESSION) additionally show a consistent relationship whereby larger language models show a greater decrease in performance the more they are trained, despite showing standard (positive) scaling overall. This highlights the importance of testing performance at all relevant benchmarks any time models are trained on additional data, even if their overall performance improves.",
|
| 40 |
+
"bbox": [
|
| 41 |
+
144,
|
| 42 |
+
279,
|
| 43 |
+
460,
|
| 44 |
+
579
|
| 45 |
+
],
|
| 46 |
+
"page_idx": 0
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"type": "text",
|
| 50 |
+
"text": "1 Introduction",
|
| 51 |
+
"text_level": 1,
|
| 52 |
+
"bbox": [
|
| 53 |
+
114,
|
| 54 |
+
590,
|
| 55 |
+
258,
|
| 56 |
+
606
|
| 57 |
+
],
|
| 58 |
+
"page_idx": 0
|
| 59 |
+
},
|
| 60 |
+
{
|
| 61 |
+
"type": "text",
|
| 62 |
+
"text": "For language models, bigger is usually better. Recent research has found that both increased number of model parameters and increased size of the training dataset positively influence model performance (Brown et al., 2020; Kaplan et al., 2020; Chowdhery et al., 2022; Clark et al., 2022; Du et al., 2022; Rae et al., 2022; Hoffmann et al., 2022; Thoppilan et al., 2022; Wei et al., 2022; Taylor et al., 2022; Srivastava et al., 2022; Touvron et al., 2023a). One particularly striking pattern that has been reported is emergence, a nonlinearity in these relationships, where at a particular scale, language models improve rapidly at a given task (Wei et al., 2022).",
|
| 63 |
+
"bbox": [
|
| 64 |
+
115,
|
| 65 |
+
615,
|
| 66 |
+
489,
|
| 67 |
+
824
|
| 68 |
+
],
|
| 69 |
+
"page_idx": 0
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"type": "text",
|
| 73 |
+
"text": "However, while increased scale usually leads to improved performance, on certain tasks it correlates with decreased performance. This is known as inverse scaling (Lin et al., 2022). An example of a task on which inverse scaling is observed",
|
| 74 |
+
"bbox": [
|
| 75 |
+
112,
|
| 76 |
+
825,
|
| 77 |
+
489,
|
| 78 |
+
904
|
| 79 |
+
],
|
| 80 |
+
"page_idx": 0
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"type": "text",
|
| 84 |
+
"text": "is the TruthfulQA benchmark, where larger language models are more likely to predict popular misconceptions over statements of fact (Lin et al., 2022). More recently, additional tasks that reportedly show such an effect have been identified as part of the Inverse Scaling Prize (McKenzie et al., 2023b), as well as by other researchers (Jang et al., 2023; Michaelov and Bergen, 2023).",
|
| 85 |
+
"bbox": [
|
| 86 |
+
507,
|
| 87 |
+
252,
|
| 88 |
+
884,
|
| 89 |
+
381
|
| 90 |
+
],
|
| 91 |
+
"page_idx": 0
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"type": "text",
|
| 95 |
+
"text": "Inverse scaling is a serious concern for several reasons. At a high level, inverse scaling may indicate 'outer misalignment' (Perez et al., 2022) between the model training approach and the purposes to which they are applied. The lack of robustness observed in inverse scaling phenomena may thus indicate that the apparent successes of specific language models at a wide range of benchmarks (e.g., Hendrycks et al., 2021; Srivastava et al., 2022) do not necessarily entail that they have the capability ostensibly being tested (Bowman and Dahl, 2021; Raji et al., 2021).",
|
| 96 |
+
"bbox": [
|
| 97 |
+
507,
|
| 98 |
+
381,
|
| 99 |
+
884,
|
| 100 |
+
574
|
| 101 |
+
],
|
| 102 |
+
"page_idx": 0
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"type": "text",
|
| 106 |
+
"text": "The existence of inverse scaling is also concerning because of the possibility of other as yet unidentified tasks where performance similarly scales inversely with model size. Models that perform well on a variety of tasks may well present deteriorating performance in unseen tasks with scale, even as performance at established benchmarks increases. This is of particular concern if better performance at established benchmarks and more natural-seeming output leads users to place more trust in such models as general-purpose natural language understanding systems (see, e.g., Bender et al., 2021, for general discussion of such risks).",
|
| 107 |
+
"bbox": [
|
| 108 |
+
507,
|
| 109 |
+
574,
|
| 110 |
+
884,
|
| 111 |
+
783
|
| 112 |
+
],
|
| 113 |
+
"page_idx": 0
|
| 114 |
+
},
|
| 115 |
+
{
|
| 116 |
+
"type": "text",
|
| 117 |
+
"text": "Finally, inverse scaling is also of concern because it is often unpredictable. In the same way that certain capabilities appear to emerge at scale (Wei et al., 2022), inverse scaling also appears or accelerates at given scales. For example, as McKenzie et al. (2022b) show, the performance of Gopher (Rae et al., 2022) and Plain LM (Ganguli et al., 2022) at the Inverse Scaling Prize's negated",
|
| 118 |
+
"bbox": [
|
| 119 |
+
507,
|
| 120 |
+
784,
|
| 121 |
+
884,
|
| 122 |
+
912
|
| 123 |
+
],
|
| 124 |
+
"page_idx": 0
|
| 125 |
+
},
|
| 126 |
+
{
|
| 127 |
+
"type": "page_number",
|
| 128 |
+
"text": "14607",
|
| 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: EMNLP 2023, pages 14607-14615 December 6-10, 2023 ©2023 Association for Computational Linguistics",
|
| 140 |
+
"bbox": [
|
| 141 |
+
210,
|
| 142 |
+
945,
|
| 143 |
+
786,
|
| 144 |
+
972
|
| 145 |
+
],
|
| 146 |
+
"page_idx": 0
|
| 147 |
+
},
|
| 148 |
+
{
|
| 149 |
+
"type": "text",
|
| 150 |
+
"text": "question-answering task (NEQA) appears to be stable or even increasing as model size increases, only dropping as model size increases to around 7 billion parameters and beyond (McKenzie et al., 2022b). Thus, inverse scaling may occur not just for unidentified tasks, but also for well-established tasks: a model architecture that performs well at a benchmark at a small scale may suddenly perform surprisingly worse as scale increases—it is not safe to assume that performance will continue to improve or even remain stable.",
|
| 151 |
+
"bbox": [
|
| 152 |
+
112,
|
| 153 |
+
84,
|
| 154 |
+
489,
|
| 155 |
+
260
|
| 156 |
+
],
|
| 157 |
+
"page_idx": 1
|
| 158 |
+
},
|
| 159 |
+
{
|
| 160 |
+
"type": "text",
|
| 161 |
+
"text": "While previous work has focused on inverse scaling based on the number of model parameters (Lin et al., 2022; McKenzie et al., 2022a,b, 2023a; Jang et al., 2023; Michaelov and Bergen, 2023); as discussed, scaling effects more generally occur not just in relation to model size but also as a function of training data quantity. Recent work has shown that this latter effect has been substantially underestimated (Hoffmann et al., 2022; Touvron et al., 2023a). Thus, in the present study, we consider the possibility of inverse scaling over the course of pretraining; that is, the hypothesized situation where performance on some tasks decreases as the total quantity of training data increases. If inverse scaling of this type exists, it may be more problematic than inverse scaling as a function of model size, because if performance at a given task can degrade over the course of pretraining even as the performance at the majority of tasks improves, a specific model that has previously performed well at a given task may unexpectedly show decreased performance later in training.",
|
| 162 |
+
"bbox": [
|
| 163 |
+
115,
|
| 164 |
+
261,
|
| 165 |
+
490,
|
| 166 |
+
615
|
| 167 |
+
],
|
| 168 |
+
"page_idx": 1
|
| 169 |
+
},
|
| 170 |
+
{
|
| 171 |
+
"type": "text",
|
| 172 |
+
"text": "We test how well the 8 models of the Pythia (Biderman et al., 2023) suite perform at 12 tasks over the course of training. These tasks are the 10 multiple-choice tasks that won the Inverse Scaling Challenge (McKenzie et al., 2022b), plus the two multiple-choice versions of the TruthfulQA benchmark, on which language models have also been found to show inverse scaling (Lin et al., 2022). The aim of this study is therefore an exploratory analysis to see whether tasks that show inverse scaling as model parameter size increases also show inverse scaling over the course of training.",
|
| 173 |
+
"bbox": [
|
| 174 |
+
112,
|
| 175 |
+
615,
|
| 176 |
+
489,
|
| 177 |
+
809
|
| 178 |
+
],
|
| 179 |
+
"page_idx": 1
|
| 180 |
+
},
|
| 181 |
+
{
|
| 182 |
+
"type": "text",
|
| 183 |
+
"text": "2 Method",
|
| 184 |
+
"text_level": 1,
|
| 185 |
+
"bbox": [
|
| 186 |
+
112,
|
| 187 |
+
820,
|
| 188 |
+
218,
|
| 189 |
+
834
|
| 190 |
+
],
|
| 191 |
+
"page_idx": 1
|
| 192 |
+
},
|
| 193 |
+
{
|
| 194 |
+
"type": "text",
|
| 195 |
+
"text": "2.1 Tasks",
|
| 196 |
+
"text_level": 1,
|
| 197 |
+
"bbox": [
|
| 198 |
+
112,
|
| 199 |
+
846,
|
| 200 |
+
206,
|
| 201 |
+
859
|
| 202 |
+
],
|
| 203 |
+
"page_idx": 1
|
| 204 |
+
},
|
| 205 |
+
{
|
| 206 |
+
"type": "text",
|
| 207 |
+
"text": "TRUTHFULQA-MC1 is the first multiple-choice variant of TRUTHFULQA (Lin et al., 2022), which tests whether language models find common mis",
|
| 208 |
+
"bbox": [
|
| 209 |
+
112,
|
| 210 |
+
866,
|
| 211 |
+
489,
|
| 212 |
+
914
|
| 213 |
+
],
|
| 214 |
+
"page_idx": 1
|
| 215 |
+
},
|
| 216 |
+
{
|
| 217 |
+
"type": "text",
|
| 218 |
+
"text": "conceptions or statements of fact more predictable in a given context. In this version, there is one true option and the remainder are false. For example, for the prompt what should you take for a viral infection?, the true answer is you should take a rest and drink fluids, and other answers include you should take a full course of antibiotics. The language model is considered to respond correctly if the probability of the correct answer is higher than any other.",
|
| 219 |
+
"bbox": [
|
| 220 |
+
507,
|
| 221 |
+
84,
|
| 222 |
+
884,
|
| 223 |
+
243
|
| 224 |
+
],
|
| 225 |
+
"page_idx": 1
|
| 226 |
+
},
|
| 227 |
+
{
|
| 228 |
+
"type": "text",
|
| 229 |
+
"text": "TRUTHFULQA-MC2 is an alternative multiple-choice variant of TRUTHFULQA in which there are often multiple correct answers. Here, the model is considered to respond correctly if the total probability of correct responses is greater than that of incorrect responses.",
|
| 230 |
+
"bbox": [
|
| 231 |
+
507,
|
| 232 |
+
244,
|
| 233 |
+
884,
|
| 234 |
+
341
|
| 235 |
+
],
|
| 236 |
+
"page_idx": 1
|
| 237 |
+
},
|
| 238 |
+
{
|
| 239 |
+
"type": "text",
|
| 240 |
+
"text": "SIG FIGS, like all the Inverse Scaling Prize tasks, is a multiple-choice task with one correct answer. It also has two incorrect answers, and the model is considered to respond correctly if the correct answer has the highest probability. The task itself tests whether, when prompted to round a number to a number of significant figures, the language model finds the number rounded correctly to be more probable or the number rounded to the same number of decimal places.",
|
| 241 |
+
"bbox": [
|
| 242 |
+
507,
|
| 243 |
+
342,
|
| 244 |
+
884,
|
| 245 |
+
501
|
| 246 |
+
],
|
| 247 |
+
"page_idx": 1
|
| 248 |
+
},
|
| 249 |
+
{
|
| 250 |
+
"type": "text",
|
| 251 |
+
"text": "NEQA is a zero-shot task with negated questions such as As the barometer reading goes lower there is not a greater chance of A. sunshine B. getting wet.",
|
| 252 |
+
"bbox": [
|
| 253 |
+
507,
|
| 254 |
+
502,
|
| 255 |
+
884,
|
| 256 |
+
565
|
| 257 |
+
],
|
| 258 |
+
"page_idx": 1
|
| 259 |
+
},
|
| 260 |
+
{
|
| 261 |
+
"type": "text",
|
| 262 |
+
"text": "REDEFINE is a zero-shot task where expressions are redefined in a range of ways, and then questions are asked are asked about these redefined expressions—e.g., a prompt may ask for the first digit of $5 + 15$ , where $5 + 15$ is first redefined as a text string rather than an equation. The task tests whether the language model does indeed treat the expression in the redefined way rather than its usual interpretation.",
|
| 263 |
+
"bbox": [
|
| 264 |
+
507,
|
| 265 |
+
568,
|
| 266 |
+
882,
|
| 267 |
+
709
|
| 268 |
+
],
|
| 269 |
+
"page_idx": 1
|
| 270 |
+
},
|
| 271 |
+
{
|
| 272 |
+
"type": "text",
|
| 273 |
+
"text": "MEMO TRAP is a task where a language model is instructed to write a famous quote with a specific last word, e.g., write a quote that ends in the word \"heavy\": Absence makes the heart grow. In this case, the correct answer would be heavy and not the expected fonder.",
|
| 274 |
+
"bbox": [
|
| 275 |
+
505,
|
| 276 |
+
712,
|
| 277 |
+
882,
|
| 278 |
+
808
|
| 279 |
+
],
|
| 280 |
+
"page_idx": 1
|
| 281 |
+
},
|
| 282 |
+
{
|
| 283 |
+
"type": "text",
|
| 284 |
+
"text": "HINDSIGHT NEGLECT is a few-shot multiple-choice task where the input contains information about a bet and its outcome and the task is to correctly determine whether or not the bet should have been taken. In the task, a number of examples are provided where the expected value aligns with the",
|
| 285 |
+
"bbox": [
|
| 286 |
+
507,
|
| 287 |
+
809,
|
| 288 |
+
882,
|
| 289 |
+
904
|
| 290 |
+
],
|
| 291 |
+
"page_idx": 1
|
| 292 |
+
},
|
| 293 |
+
{
|
| 294 |
+
"type": "page_number",
|
| 295 |
+
"text": "14608",
|
| 296 |
+
"bbox": [
|
| 297 |
+
477,
|
| 298 |
+
927,
|
| 299 |
+
524,
|
| 300 |
+
940
|
| 301 |
+
],
|
| 302 |
+
"page_idx": 1
|
| 303 |
+
},
|
| 304 |
+
{
|
| 305 |
+
"type": "text",
|
| 306 |
+
"text": "result (if the task has a positive expected value, the individual taking the bet wins, and if it has a negative one, the individual taking the bet loses). For the final question (the one that is answered for the task), the value won or lost does not align (the individual either wins a bet with a negative expected value or loses one with a positive expected value).",
|
| 307 |
+
"bbox": [
|
| 308 |
+
112,
|
| 309 |
+
84,
|
| 310 |
+
487,
|
| 311 |
+
197
|
| 312 |
+
],
|
| 313 |
+
"page_idx": 2
|
| 314 |
+
},
|
| 315 |
+
{
|
| 316 |
+
"type": "text",
|
| 317 |
+
"text": "INTO THE UNKNOWN is a task that involves a description of a setting and a question, with the twist that the task is to identify which of two pieces of information would help to answer the question. One option (the correct answer) contains new information and the other repeats information from the original description.",
|
| 318 |
+
"bbox": [
|
| 319 |
+
112,
|
| 320 |
+
197,
|
| 321 |
+
487,
|
| 322 |
+
309
|
| 323 |
+
],
|
| 324 |
+
"page_idx": 2
|
| 325 |
+
},
|
| 326 |
+
{
|
| 327 |
+
"type": "text",
|
| 328 |
+
"text": "MODUS TOLLENS tests whether language models can make predictions in line with the modus tollens form of deductive inference, i.e., [i]f $p$ , then $q$ ; not $q$ ; therefore, not $p$ (McKenzie et al., 2023b). The task involves an example of such an inference, and then a question of whether the conclusion is valid or not.",
|
| 329 |
+
"bbox": [
|
| 330 |
+
112,
|
| 331 |
+
310,
|
| 332 |
+
487,
|
| 333 |
+
420
|
| 334 |
+
],
|
| 335 |
+
"page_idx": 2
|
| 336 |
+
},
|
| 337 |
+
{
|
| 338 |
+
"type": "text",
|
| 339 |
+
"text": "PATTERN MATCH SUPPRESSION tests whether language models can violate a repeated pattern. For example, one prompt is to generate a sequence of 6 symbols alternating between two symbols (A B) but ending unexpectedly. A, B, A, B, A, with possible answers A or B.",
|
| 340 |
+
"bbox": [
|
| 341 |
+
112,
|
| 342 |
+
423,
|
| 343 |
+
487,
|
| 344 |
+
518
|
| 345 |
+
],
|
| 346 |
+
"page_idx": 2
|
| 347 |
+
},
|
| 348 |
+
{
|
| 349 |
+
"type": "text",
|
| 350 |
+
"text": "RESISITING CORRECTION is a few-shot task, with the instruction to repeat a text without changing it and two examples. In the final example, the sentence to be repeated includes an atypicality, e.g., spelling mistake or a switched word of a famous quote. The task tests whether the model follows the instruction and replicates the atypical, or whether it 'corrects' it.",
|
| 351 |
+
"bbox": [
|
| 352 |
+
112,
|
| 353 |
+
519,
|
| 354 |
+
487,
|
| 355 |
+
646
|
| 356 |
+
],
|
| 357 |
+
"page_idx": 2
|
| 358 |
+
},
|
| 359 |
+
{
|
| 360 |
+
"type": "text",
|
| 361 |
+
"text": "REPETITIVE ALGEBRA is a few-shot task based on simple algebra questions. Until the penultimate question, all questions have the same answer (provided in the prompt), and the penultimate question has an answer that differs (also provided in the prompt). For the final question that needs to be answered, the answer is the same as the initial answers. The task tests which of the two answers (initial or penulimate) the model predicts to be more likely.",
|
| 362 |
+
"bbox": [
|
| 363 |
+
112,
|
| 364 |
+
648,
|
| 365 |
+
487,
|
| 366 |
+
808
|
| 367 |
+
],
|
| 368 |
+
"page_idx": 2
|
| 369 |
+
},
|
| 370 |
+
{
|
| 371 |
+
"type": "text",
|
| 372 |
+
"text": "2.2 Models",
|
| 373 |
+
"text_level": 1,
|
| 374 |
+
"bbox": [
|
| 375 |
+
112,
|
| 376 |
+
819,
|
| 377 |
+
218,
|
| 378 |
+
833
|
| 379 |
+
],
|
| 380 |
+
"page_idx": 2
|
| 381 |
+
},
|
| 382 |
+
{
|
| 383 |
+
"type": "text",
|
| 384 |
+
"text": "We use the 70 million parameter (70M), 160M, 410M, 1B, 1.4B, 2.8B, 6.9B, and 12B Pythia models (Biderman et al., 2023). The models were trained on the autoregressive language modeling",
|
| 385 |
+
"bbox": [
|
| 386 |
+
112,
|
| 387 |
+
839,
|
| 388 |
+
487,
|
| 389 |
+
904
|
| 390 |
+
],
|
| 391 |
+
"page_idx": 2
|
| 392 |
+
},
|
| 393 |
+
{
|
| 394 |
+
"type": "text",
|
| 395 |
+
"text": "task on The Pile (Gao et al., 2020), an 800GB text dataset comprising 300 billion tokens. All models were trained on this dataset, with checkpoints released at every 2 billion tokens of training. Given that scaling is often considered on a logarithmic scale, we tested each model's performance at 8 checkpoints based on powers of 2: checkpoint 2 (4 billion tokens), checkpoint 4 (8B tokens), checkpoint 8 (16B), checkpoint 16 (32B), checkpoint 32 (64B), checkpoint 64 (128B), checkpoint 128 (256B), and checkpoint 143 (300B tokens, i.e., fully trained).",
|
| 396 |
+
"bbox": [
|
| 397 |
+
507,
|
| 398 |
+
84,
|
| 399 |
+
882,
|
| 400 |
+
275
|
| 401 |
+
],
|
| 402 |
+
"page_idx": 2
|
| 403 |
+
},
|
| 404 |
+
{
|
| 405 |
+
"type": "text",
|
| 406 |
+
"text": "We run our analyses of model performance using the Language Model Evaluation Harness (Gao et al., 2021). All code, data, and statistical analyses are provided at https://github.com/jmichaelov/emergent-inabilities.",
|
| 407 |
+
"bbox": [
|
| 408 |
+
507,
|
| 409 |
+
277,
|
| 410 |
+
882,
|
| 411 |
+
357
|
| 412 |
+
],
|
| 413 |
+
"page_idx": 2
|
| 414 |
+
},
|
| 415 |
+
{
|
| 416 |
+
"type": "text",
|
| 417 |
+
"text": "3 Results",
|
| 418 |
+
"text_level": 1,
|
| 419 |
+
"bbox": [
|
| 420 |
+
507,
|
| 421 |
+
370,
|
| 422 |
+
606,
|
| 423 |
+
384
|
| 424 |
+
],
|
| 425 |
+
"page_idx": 2
|
| 426 |
+
},
|
| 427 |
+
{
|
| 428 |
+
"type": "text",
|
| 429 |
+
"text": "Model performance at each task is shown in Figure 1. In order to quantify the patterns observed, we also fit a least-squares linear regression for each dataset, with the logarithm (base 10) of model parameters, the logarithm (base 10) of training tokens, and the interaction between them as predictors of task accuracy. All variables were z-scored. The results of these tests are shown in Table 1.",
|
| 430 |
+
"bbox": [
|
| 431 |
+
507,
|
| 432 |
+
395,
|
| 433 |
+
882,
|
| 434 |
+
521
|
| 435 |
+
],
|
| 436 |
+
"page_idx": 2
|
| 437 |
+
},
|
| 438 |
+
{
|
| 439 |
+
"type": "text",
|
| 440 |
+
"text": "The clearest inverse scaling effects can be seen with TRUTHFULQA-MC2—larger models perform worse, performance overall decreases with number of training tokens, and the rate at which performance deteriorates with training tokens increases with model size. Inferential statistics show a negative effect of number of parameters, number of training tokens, and their interaction. In other words, the regression predicts that model performance decreases with number of parameters and training tokens; and in addition, that the larger a model is, the more there is a decrease in performance as the model continues to train. Whether this pattern of statistical results is specific to the tasks used in the present work or to all tasks that show inverse scaling is a question for future work. However, it does also appear to be present for most of the other tasks clearly displaying inverse scaling, namely, HINDSIGHT NEGLECT, MEMO TRAP, PATTERN MATCH SUPPRESSION, and TRUTHFULQA-MC1.",
|
| 441 |
+
"bbox": [
|
| 442 |
+
507,
|
| 443 |
+
524,
|
| 444 |
+
882,
|
| 445 |
+
860
|
| 446 |
+
],
|
| 447 |
+
"page_idx": 2
|
| 448 |
+
},
|
| 449 |
+
{
|
| 450 |
+
"type": "text",
|
| 451 |
+
"text": "Some of the remaining tasks, namely INTO THE UNKNOWN, MODUS TOLLENS, NEQA, and SIG FIGS display no clear pattern across models. But",
|
| 452 |
+
"bbox": [
|
| 453 |
+
507,
|
| 454 |
+
862,
|
| 455 |
+
882,
|
| 456 |
+
910
|
| 457 |
+
],
|
| 458 |
+
"page_idx": 2
|
| 459 |
+
},
|
| 460 |
+
{
|
| 461 |
+
"type": "page_number",
|
| 462 |
+
"text": "14609",
|
| 463 |
+
"bbox": [
|
| 464 |
+
477,
|
| 465 |
+
927,
|
| 466 |
+
524,
|
| 467 |
+
940
|
| 468 |
+
],
|
| 469 |
+
"page_idx": 2
|
| 470 |
+
},
|
| 471 |
+
{
|
| 472 |
+
"type": "image",
|
| 473 |
+
"img_path": "images/1a48b1707590b567da907e2b3251cc2fe4ffabfa4c099e736a096ee8db5bf2dc.jpg",
|
| 474 |
+
"image_caption": [
|
| 475 |
+
"Figure 1: Performance of the 8 Pythia (Biderman et al., 2023) models at 8 stages over the course of training at the two multiple-choice variants of TRUTHFULQA (Lin et al., 2022) and the 10 multiple-choice winners of the Inverse Scaling Prize (McKenzie et al., 2023b)."
|
| 476 |
+
],
|
| 477 |
+
"image_footnote": [],
|
| 478 |
+
"bbox": [
|
| 479 |
+
121,
|
| 480 |
+
86,
|
| 481 |
+
873,
|
| 482 |
+
406
|
| 483 |
+
],
|
| 484 |
+
"page_idx": 3
|
| 485 |
+
},
|
| 486 |
+
{
|
| 487 |
+
"type": "table",
|
| 488 |
+
"img_path": "images/1ed2a7f35ea74d31e2a717f468b12b011fc15aef1ac4f9ebba1e9aa3b669ff40.jpg",
|
| 489 |
+
"table_caption": [],
|
| 490 |
+
"table_footnote": [],
|
| 491 |
+
"table_body": "<table><tr><td>Task</td><td>Parameters</td><td>Tokens</td><td>Interaction</td></tr><tr><td>Hindsight Neglect</td><td>t(60)=-4.22, p<0.001</td><td>t(60)=-4.69, p<0.001</td><td>t(60)=-2.88, p=0.012</td></tr><tr><td>Into the Unknown</td><td>t(60)=-0.31, p=0.824</td><td>t(60)=2.04, p=0.079</td><td>t(60)=0.02, p=0.986</td></tr><tr><td>Memo Trap</td><td>t(60)=-10.05, p<0.001</td><td>t(60)=-11.34, p<0.001</td><td>t(60)=-9.71, p<0.001</td></tr><tr><td>Modus Tollens</td><td>t(60)=-0.16, p=0.927</td><td>t(60)=-2.13, p=0.071</td><td>t(60)=-1.50, p=0.208</td></tr><tr><td>NeQA</td><td>t(60)=0.79, p=0.559</td><td>t(60)=-0.08, p=0.963</td><td>t(60)=2.45, p=0.034</td></tr><tr><td>Pattern Match Supp.</td><td>t(60)=-3.20, p=0.005</td><td>t(60)=-9.58, p<0.001</td><td>t(60)=-6.37, p<0.001</td></tr><tr><td>Redefine</td><td>t(60)=0.60, p=0.645</td><td>t(60)=-0.79, p=0.559</td><td>t(60)=-1.53, p=0.205</td></tr><tr><td>Repetitive Algebra</td><td>t(60)=-0.49, p=0.706</td><td>t(60)=-2.11, p=0.071</td><td>t(60)=-1.00, p=0.443</td></tr><tr><td>Resisting Correction</td><td>t(60)=5.13, p<0.001</td><td>t(60)=5.63, p<0.001</td><td>t(60)=-1.89, p=0.104</td></tr><tr><td>Sig Figs</td><td>t(60)=-0.59, p=0.645</td><td>t(60)=-0.74, p=0.574</td><td>t(60)=-1.46, p=0.215</td></tr><tr><td>TruthfulQA-MC1</td><td>t(60)=-10.90, p<0.001</td><td>t(60)=-11.45, p<0.001</td><td>t(60)=-2.97, p=0.010</td></tr><tr><td>TruthfulQA-MC2</td><td>t(60)=-24.72, p<0.001</td><td>t(60)=-23.89, p<0.001</td><td>t(60)=-12.02, p<0.001</td></tr></table>",
|
| 492 |
+
"bbox": [
|
| 493 |
+
132,
|
| 494 |
+
472,
|
| 495 |
+
865,
|
| 496 |
+
687
|
| 497 |
+
],
|
| 498 |
+
"page_idx": 3
|
| 499 |
+
},
|
| 500 |
+
{
|
| 501 |
+
"type": "text",
|
| 502 |
+
"text": "Table 1: Statistical tests carried out on the performance of the Pythia models, testing the effect of (log-transformed) number of parameters, (log-transformed) number of training tokens, and their interaction. A positive t-value indicates that the variable is significantly correlated with a higher accuracy. All $p$ -values are corrected for multiple comparisons based on false discovery rate (Benjamini and Hochberg, 1995).",
|
| 503 |
+
"bbox": [
|
| 504 |
+
112,
|
| 505 |
+
696,
|
| 506 |
+
884,
|
| 507 |
+
755
|
| 508 |
+
],
|
| 509 |
+
"page_idx": 3
|
| 510 |
+
},
|
| 511 |
+
{
|
| 512 |
+
"type": "text",
|
| 513 |
+
"text": "when focusing on just the two largest models, RE-DEFINE appears to show inverse scaling over the course of training, and the largest (12 billion parameter) model shows inverse scaling during training on REPETITIVE ALGEBRA and RESISTING CORRECTION. These may be a case of emergent inverse scaling (i.e., nonlinearities that cannot be accounted for using linear statistical models), espe",
|
| 514 |
+
"bbox": [
|
| 515 |
+
112,
|
| 516 |
+
778,
|
| 517 |
+
490,
|
| 518 |
+
908
|
| 519 |
+
],
|
| 520 |
+
"page_idx": 3
|
| 521 |
+
},
|
| 522 |
+
{
|
| 523 |
+
"type": "text",
|
| 524 |
+
"text": "cially in the case of RESISTING CORRECTION, but models with a larger number of parameters would be needed to verify this.",
|
| 525 |
+
"bbox": [
|
| 526 |
+
507,
|
| 527 |
+
778,
|
| 528 |
+
884,
|
| 529 |
+
827
|
| 530 |
+
],
|
| 531 |
+
"page_idx": 3
|
| 532 |
+
},
|
| 533 |
+
{
|
| 534 |
+
"type": "text",
|
| 535 |
+
"text": "4 Discussion",
|
| 536 |
+
"text_level": 1,
|
| 537 |
+
"bbox": [
|
| 538 |
+
507,
|
| 539 |
+
839,
|
| 540 |
+
636,
|
| 541 |
+
853
|
| 542 |
+
],
|
| 543 |
+
"page_idx": 3
|
| 544 |
+
},
|
| 545 |
+
{
|
| 546 |
+
"type": "text",
|
| 547 |
+
"text": "We find clear evidence of inverse scaling over the course of training on TRUTHFULQA-MC1, TRUTHFULQA-MC2, HINDSIGHT NEGLECT,",
|
| 548 |
+
"bbox": [
|
| 549 |
+
507,
|
| 550 |
+
864,
|
| 551 |
+
884,
|
| 552 |
+
912
|
| 553 |
+
],
|
| 554 |
+
"page_idx": 3
|
| 555 |
+
},
|
| 556 |
+
{
|
| 557 |
+
"type": "page_number",
|
| 558 |
+
"text": "14610",
|
| 559 |
+
"bbox": [
|
| 560 |
+
477,
|
| 561 |
+
927,
|
| 562 |
+
526,
|
| 563 |
+
940
|
| 564 |
+
],
|
| 565 |
+
"page_idx": 3
|
| 566 |
+
},
|
| 567 |
+
{
|
| 568 |
+
"type": "text",
|
| 569 |
+
"text": "MEMO TRAP, and PATTERN MATCH SUPPRESSION, as well as possible evidence of the same phenomenon on REDEFINE, REPETITIVE ALGEBRA, RESISTING CORRECTION for the largest model or models. In addition, RESISTING CORRECTION appears to present an example of emergence in inverse scaling over the course of training—performance only decreases with training on the largest model.",
|
| 570 |
+
"bbox": [
|
| 571 |
+
112,
|
| 572 |
+
84,
|
| 573 |
+
487,
|
| 574 |
+
212
|
| 575 |
+
],
|
| 576 |
+
"page_idx": 4
|
| 577 |
+
},
|
| 578 |
+
{
|
| 579 |
+
"type": "text",
|
| 580 |
+
"text": "At the time of initial writing, this study was the first to have identified an example of inverse scaling over the course of pretraining. Since then, an official Inverse Scaling Prize paper has been released (McKenzie et al., 2023b). In addition to exploring scaling in terms of the number of floating point operations (FLOPs) needed to train each model, McKenzie et al. (2023b) also analyze the performance of different sizes of the Anthropic LM model (2M, 13M, 42M, 197M, 805M, 3B, 13B, 52B) over the course of training on 400B tokens, providing a valuable point of comparison. On the whole, their results are similar to ours over the same scales. At the larger scale, they find that the 13B and 52B models begin to show inverse scaling on NEQA, SIG FIGS, and INTO THE UNKNOWN. Conversely, only the 52B model begins to show inverse scaling on RESISTING CORRELATION.",
|
| 581 |
+
"bbox": [
|
| 582 |
+
115,
|
| 583 |
+
212,
|
| 584 |
+
489,
|
| 585 |
+
501
|
| 586 |
+
],
|
| 587 |
+
"page_idx": 4
|
| 588 |
+
},
|
| 589 |
+
{
|
| 590 |
+
"type": "text",
|
| 591 |
+
"text": "McKenzie et al. (2023b) also classify the tasks into different types. $^{1}$ These classes do not clearly delineate between ones that show inverse scaling and ones that do not based on either our analyses or their analyses. Nonetheless, they provide a valuable starting point for considering the kinds of features of tasks that may lead to different scaling patterns.",
|
| 592 |
+
"bbox": [
|
| 593 |
+
112,
|
| 594 |
+
502,
|
| 595 |
+
487,
|
| 596 |
+
630
|
| 597 |
+
],
|
| 598 |
+
"page_idx": 4
|
| 599 |
+
},
|
| 600 |
+
{
|
| 601 |
+
"type": "text",
|
| 602 |
+
"text": "Indeed, the question of whether there are consistent scaling patterns based on task features remains an open one. We find several clear cases of inverse scaling that share the pattern of model performance decreasing more rapidly over the course of training as the number of model parameters increases. In several cases there is only a decrease in performance in the largest models. These are not necessarily different phenomena; it may be that the threshold of number of parameters and tokens for tasks like TRUTHFULQA-MC2 is simply lower than for tasks like RESISTING CORRECTION. Additionally, it is not clear whether the main pat",
|
| 603 |
+
"bbox": [
|
| 604 |
+
112,
|
| 605 |
+
632,
|
| 606 |
+
489,
|
| 607 |
+
841
|
| 608 |
+
],
|
| 609 |
+
"page_idx": 4
|
| 610 |
+
},
|
| 611 |
+
{
|
| 612 |
+
"type": "text",
|
| 613 |
+
"text": "tern of inverse scaling that we identify—namely, a greater decrease in performance during training in the largest models—is a general feature of inverse scaling, or only due to the fact that we use tasks already known to show inverse scaling as models increase in number of parameters. Future work should establish what kinds of relationships (if any) hold between inverse scaling as a function of model parameters and inverse scaling as a function of training data.",
|
| 614 |
+
"bbox": [
|
| 615 |
+
507,
|
| 616 |
+
84,
|
| 617 |
+
884,
|
| 618 |
+
244
|
| 619 |
+
],
|
| 620 |
+
"page_idx": 4
|
| 621 |
+
},
|
| 622 |
+
{
|
| 623 |
+
"type": "text",
|
| 624 |
+
"text": "Perhaps the main takeaway of the present study is that of instability in model performance. As we see with Pythia 12B on the RESISTING CORRECTION task, a model that was previously among the best at a given task can relatively suddenly experience decreased performance as it continues to train. Good performance on a task at one stage doesn't guarantee continued good performance, even in cases where the model only continues to be trained on text data. This highlights the importance of regular and rigorous evaluation. For this reason, users of models subject to updates would be well advised to verify continuing performance regularly, and it is incumbent on parties who provide such models for use in applications to notify users of updates.",
|
| 625 |
+
"bbox": [
|
| 626 |
+
507,
|
| 627 |
+
246,
|
| 628 |
+
884,
|
| 629 |
+
487
|
| 630 |
+
],
|
| 631 |
+
"page_idx": 4
|
| 632 |
+
},
|
| 633 |
+
{
|
| 634 |
+
"type": "text",
|
| 635 |
+
"text": "5 Conclusions",
|
| 636 |
+
"text_level": 1,
|
| 637 |
+
"bbox": [
|
| 638 |
+
509,
|
| 639 |
+
498,
|
| 640 |
+
650,
|
| 641 |
+
514
|
| 642 |
+
],
|
| 643 |
+
"page_idx": 4
|
| 644 |
+
},
|
| 645 |
+
{
|
| 646 |
+
"type": "text",
|
| 647 |
+
"text": "In this study, we set out to investigate whether inverse scaling can occur not only as a function of number of model parameters, but also number of training tokens. We find clear evidence that it does occur with the Pythia (Biderman et al., 2023) suite of models on five of the twelve tasks analyzed, and additional evidence that it may occur on up to eight.",
|
| 648 |
+
"bbox": [
|
| 649 |
+
507,
|
| 650 |
+
523,
|
| 651 |
+
882,
|
| 652 |
+
652
|
| 653 |
+
],
|
| 654 |
+
"page_idx": 4
|
| 655 |
+
},
|
| 656 |
+
{
|
| 657 |
+
"type": "text",
|
| 658 |
+
"text": "Limitations",
|
| 659 |
+
"text_level": 1,
|
| 660 |
+
"bbox": [
|
| 661 |
+
509,
|
| 662 |
+
664,
|
| 663 |
+
616,
|
| 664 |
+
678
|
| 665 |
+
],
|
| 666 |
+
"page_idx": 4
|
| 667 |
+
},
|
| 668 |
+
{
|
| 669 |
+
"type": "text",
|
| 670 |
+
"text": "The main limitations of this study relate to the models used and tasks evaluated. With respect to the former, our analysis is limited to 8 models at various stages in their training. While this means that we can make the inference that the performance of a specific model can deteriorate over the course of training, it also means that it is possible that some of the models have idiosyncratic features that would not generalize to other models of the same size or with the same amount of training data. Additionally, these models cover only part of the possible range of scales for language models—there are contemporary models with many more parameters (e.g., 540 billion parameters in the case of the",
|
| 671 |
+
"bbox": [
|
| 672 |
+
507,
|
| 673 |
+
689,
|
| 674 |
+
884,
|
| 675 |
+
914
|
| 676 |
+
],
|
| 677 |
+
"page_idx": 4
|
| 678 |
+
},
|
| 679 |
+
{
|
| 680 |
+
"type": "page_footnote",
|
| 681 |
+
"text": "$^{1}$ Strong Prior (RESISTING CORRECTION, MEMO TRAP, REDEFINE), Unwanted Imitation (MODUS TOLLENS, TRUTHFULQA), Distractor Task (PATTERN MATCH SUPPRESSION, NEQA, SIG FIGS, INTO THE UNKNOWN), and Spurious Few-Shot (HINDSIGHT NEGLECT, REPETITIVE ALGEBRA).",
|
| 682 |
+
"bbox": [
|
| 683 |
+
112,
|
| 684 |
+
848,
|
| 685 |
+
489,
|
| 686 |
+
910
|
| 687 |
+
],
|
| 688 |
+
"page_idx": 4
|
| 689 |
+
},
|
| 690 |
+
{
|
| 691 |
+
"type": "page_number",
|
| 692 |
+
"text": "14611",
|
| 693 |
+
"bbox": [
|
| 694 |
+
477,
|
| 695 |
+
927,
|
| 696 |
+
524,
|
| 697 |
+
940
|
| 698 |
+
],
|
| 699 |
+
"page_idx": 4
|
| 700 |
+
},
|
| 701 |
+
{
|
| 702 |
+
"type": "text",
|
| 703 |
+
"text": "largest PaLM; Chowdhery et al., 2022) and trained on more data (e.g., 2 trillion tokens in the case of LLaMA 2; Touvron et al., 2023b).",
|
| 704 |
+
"bbox": [
|
| 705 |
+
112,
|
| 706 |
+
84,
|
| 707 |
+
487,
|
| 708 |
+
131
|
| 709 |
+
],
|
| 710 |
+
"page_idx": 5
|
| 711 |
+
},
|
| 712 |
+
{
|
| 713 |
+
"type": "text",
|
| 714 |
+
"text": "Similarly, our analysis is limited to the two multiple-choice versions of TRUTHFULQA and the ten multiple-choice Inverse Scaling Prize tasks. As noted in Section 4, these are all tasks that have been found to exhibit inverse scaling as number of parameters increases. A question for future research is whether the patterns of inverse scaling that we find in the present study occur in all cases of inverse scaling, or whether it is possible to have inverse scaling over the course of training that is not impacted by the number of model parameters.",
|
| 715 |
+
"bbox": [
|
| 716 |
+
115,
|
| 717 |
+
133,
|
| 718 |
+
489,
|
| 719 |
+
309
|
| 720 |
+
],
|
| 721 |
+
"page_idx": 5
|
| 722 |
+
},
|
| 723 |
+
{
|
| 724 |
+
"type": "text",
|
| 725 |
+
"text": "Ethics Statement",
|
| 726 |
+
"text_level": 1,
|
| 727 |
+
"bbox": [
|
| 728 |
+
112,
|
| 729 |
+
319,
|
| 730 |
+
265,
|
| 731 |
+
335
|
| 732 |
+
],
|
| 733 |
+
"page_idx": 5
|
| 734 |
+
},
|
| 735 |
+
{
|
| 736 |
+
"type": "text",
|
| 737 |
+
"text": "Our work complies with the ACL Ethics Policy. As discussed in the paper, we believe that studies asking questions such as those addressed in the present study are vital for reducing possible harms from language models. We did not train any models for this study, and so the energy consumption is limited to evaluation only: all analyses were run on an NVIDIA RTX A6000 GPU, taking just under 42 hours.",
|
| 738 |
+
"bbox": [
|
| 739 |
+
112,
|
| 740 |
+
344,
|
| 741 |
+
487,
|
| 742 |
+
488
|
| 743 |
+
],
|
| 744 |
+
"page_idx": 5
|
| 745 |
+
},
|
| 746 |
+
{
|
| 747 |
+
"type": "text",
|
| 748 |
+
"text": "Acknowledgements",
|
| 749 |
+
"text_level": 1,
|
| 750 |
+
"bbox": [
|
| 751 |
+
112,
|
| 752 |
+
501,
|
| 753 |
+
285,
|
| 754 |
+
517
|
| 755 |
+
],
|
| 756 |
+
"page_idx": 5
|
| 757 |
+
},
|
| 758 |
+
{
|
| 759 |
+
"type": "text",
|
| 760 |
+
"text": "We would like to thank EleutherAI for making the Pythia suite of language models and the Language Model Evaluation Harness available, as well as all those involved with the Inverse Scaling Prize for creating and releasing the tasks. Models were evaluated using hardware provided by the NVIDIA Corporation as part of an NVIDIA Academic Hardware Grant.",
|
| 761 |
+
"bbox": [
|
| 762 |
+
112,
|
| 763 |
+
525,
|
| 764 |
+
489,
|
| 765 |
+
652
|
| 766 |
+
],
|
| 767 |
+
"page_idx": 5
|
| 768 |
+
},
|
| 769 |
+
{
|
| 770 |
+
"type": "text",
|
| 771 |
+
"text": "References",
|
| 772 |
+
"text_level": 1,
|
| 773 |
+
"bbox": [
|
| 774 |
+
114,
|
| 775 |
+
681,
|
| 776 |
+
213,
|
| 777 |
+
695
|
| 778 |
+
],
|
| 779 |
+
"page_idx": 5
|
| 780 |
+
},
|
| 781 |
+
{
|
| 782 |
+
"type": "list",
|
| 783 |
+
"sub_type": "ref_text",
|
| 784 |
+
"list_items": [
|
| 785 |
+
"Emily M. Bender, Timnit Gebru, Angelina McMillan-Major, and Shmargaret Shmitchell. 2021. On the Dangers of Stochastic Parrots: Can Language Models Be Too Big? In Proceedings of the 2021 ACM Conference on Fairness, Accountability, and Transparency, FAccT '21, pages 610-623, New York, NY, USA. Association for Computing Machinery.",
|
| 786 |
+
"Yoav Benjamini and Yosef Hochberg. 1995. Controlling the False Discovery Rate: A Practical and Powerful Approach to Multiple Testing. Journal of the Royal Statistical Society. Series B (Methodological), 57(1):289-300.",
|
| 787 |
+
"Stella Biderman, Hailey Schoelkopf, Quentin Gregory Anthony, Herbie Bradley, Kyle O'Brien, Eric Hallahan, Mohammad Aflah Khan, Shivanshu Purohit,"
|
| 788 |
+
],
|
| 789 |
+
"bbox": [
|
| 790 |
+
115,
|
| 791 |
+
703,
|
| 792 |
+
489,
|
| 793 |
+
917
|
| 794 |
+
],
|
| 795 |
+
"page_idx": 5
|
| 796 |
+
},
|
| 797 |
+
{
|
| 798 |
+
"type": "list",
|
| 799 |
+
"sub_type": "ref_text",
|
| 800 |
+
"list_items": [
|
| 801 |
+
"Usvsn Sai Prashanth, Edward Raff, Aviya Skowron, Lintang Sutawika, and Oskar Van Der Wal. 2023. Pythia: A Suite for Analyzing Large Language Models Across Training and Scaling. In Proceedings of the 40th International Conference on Machine Learning, pages 2397-2430. PMLR.",
|
| 802 |
+
"Samuel R. Bowman and George Dahl. 2021. What Will it Take to Fix Benchmarking in Natural Language Understanding? In Proceedings of the 2021 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pages 4843-4855, Online. Association for Computational Linguistics.",
|
| 803 |
+
"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.",
|
| 804 |
+
"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 Rao, Parker Barnes, Yi Tay, Noam Shazeer, Vinodkumar Prabhakaran, Emily Reif, Nan Du, Ben 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 Moreira, Rewon Child, Oleksandr Polozov, Katherine Lee, Zongwei Zhou, Xuezhi Wang, Brennan Saeta, Mark Diaz, Orhan First, Michele Catasta, Jason Wei, Kathy Meier-Hellstern, Douglas Eck, Jeff Dean, Slav Petrov, and Noah Fiedel. 2022. PaLM: Scaling Language Modeling with Pathways.",
|
| 805 |
+
"Aidan Clark, Diego De Las Casas, Aurelia Guy, Arthur Mensch, Michela Paganini, Jordan Hoffmann, Bogdan Damoc, Blake Hechtman, Trevor Cai, Sebastian Borgeaud, George Bm Van Den Driessche, Eliza Rutherford, Tom Hennigan, Matthew J. Johnson, Albin Cassirer, Chris Jones, Elena Buchatskaya, David Budden, Laurent Sifre, Simon Osindero, Oriol Vinyals, Marc'Aurelio Ranzato, Jack Rae, Erich Elsen, Koray Kavukcuoglu, and Karen Simonyan. 2022. Unified Scaling Laws for Routed Language"
|
| 806 |
+
],
|
| 807 |
+
"bbox": [
|
| 808 |
+
510,
|
| 809 |
+
85,
|
| 810 |
+
884,
|
| 811 |
+
910
|
| 812 |
+
],
|
| 813 |
+
"page_idx": 5
|
| 814 |
+
},
|
| 815 |
+
{
|
| 816 |
+
"type": "page_number",
|
| 817 |
+
"text": "14612",
|
| 818 |
+
"bbox": [
|
| 819 |
+
477,
|
| 820 |
+
928,
|
| 821 |
+
524,
|
| 822 |
+
940
|
| 823 |
+
],
|
| 824 |
+
"page_idx": 5
|
| 825 |
+
},
|
| 826 |
+
{
|
| 827 |
+
"type": "list",
|
| 828 |
+
"sub_type": "ref_text",
|
| 829 |
+
"list_items": [
|
| 830 |
+
"Models. In Proceedings of the 39th International Conference on Machine Learning, pages 4057-4086. PMLR.",
|
| 831 |
+
"Nan Du, Yanping Huang, Andrew M. Dai, Simon Tong, Dmitry Lepikhin, Yuanzhong Xu, Maxim Krikun, Yanqi Zhou, Adams Wei Yu, Orhan Firat, Barret Zoph, Liam Fedus, Maarten P. Bosma, Zongwei Zhou, Tao Wang, Emma Wang, Kellie Webster, Marie Pellat, Kevin Robinson, Kathleen Meier-Hellstern, Toju Duke, Lucas Dixon, Kun Zhang, Quoc Le, Yonghui Wu, Zhifeng Chen, and Claire Cui. 2022. GLaM: Efficient Scaling of Language Models with Mixture-of-Experts. In Proceedings of the 39th International Conference on Machine Learning, pages 5547-5569. PMLR.",
|
| 832 |
+
"Deep Ganguli, Liane Lovitt, Jackson Kernion, Amanda Askell, Yuntao Bai, Saurav Kadavath, Ben Mann, Ethan Perez, Nicholas Schiefer, Kamal Ndousse, Andy Jones, Sam Bowman, Anna Chen, Tom Conerly, Nova DasSarma, Dawn Drain, Nelson Elhage, Sheer El-Showk, Stanislav Fort, Zac Hatfield-Dodds, Tom Henighan, Danny Hernandez, Tristan Hume, Josh Jacobson, Scott Johnston, Shauna Kravec, Catherine Olsson, Sam Ringer, Eli Tran-Johnson, Dario Amodei, Tom Brown, Nicholas Joseph, Sam McCandlish, Chris Olah, Jared Kaplan, and Jack Clark. 2022. Red Teaming Language Models to Reduce Harms: Methods, Scaling Behaviors, and Lessons Learned.",
|
| 833 |
+
"Leo Gao, Stella Biderman, Sid Black, Laurence Golding, Travis Hoppe, Charles Foster, Jason Phang, Horace He, Anish Thite, Noa Nabeshima, Shawn Presser, and Connor Leahy. 2020. The Pile: An 800GB Dataset of Diverse Text for Language Modeling.",
|
| 834 |
+
"Leo Gao, Jonathan Tow, Stella Biderman, Sid Black, Anthony DiPofi, Charles Foster, Laurence Golding, Jeffrey Hsu, Kyle McDonell, Niklas Muennighoff, Jason Phang, Laria Reynolds, Eric Tang, Anish Thite, Ben Wang, Kevin Wang, and Andy Zou. 2021. A framework for few-shot language model evaluation. Zenodo.",
|
| 835 |
+
"Dan Hendrycks, Collin Burns, Steven Basart, Andy Zou, Mantas Mazeika, Dawn Song, and Jacob Steinhardt. 2021. Measuring Massive Multitask Language Understanding. In International Conference on Learning Representations.",
|
| 836 |
+
"Jordan Hoffmann, Sebastian Borgeaud, Arthur Mensch, Elena Buchatskaya, Trevor Cai, Eliza Rutherford, Diego de las Casas, Lisa Anne Hendricks, Johannes Welbl, Aidan Clark, Tom Hennigan, Eric Noland, Katherine Millican, George van den Driessche, Bogdan Damoc, Aurelia Guy, Simon Osindero, Karen Simonyan, Erich Elsen, Oriol Vinyals, Jack William Rae, and Laurent Sifre. 2022. An empirical analysis of compute-optimal large language model training. In Advances in Neural Information Processing Systems."
|
| 837 |
+
],
|
| 838 |
+
"bbox": [
|
| 839 |
+
115,
|
| 840 |
+
85,
|
| 841 |
+
487,
|
| 842 |
+
903
|
| 843 |
+
],
|
| 844 |
+
"page_idx": 6
|
| 845 |
+
},
|
| 846 |
+
{
|
| 847 |
+
"type": "list",
|
| 848 |
+
"sub_type": "ref_text",
|
| 849 |
+
"list_items": [
|
| 850 |
+
"Joel Jang, Seonghyeon Ye, and Minjoon Seo. 2023. Can Large Language Models Truly Understand Prompts? A Case Study with Negated Prompts. In Proceedings of The 1st Transfer Learning for Natural Language Processing Workshop, pages 52-62. PMLR.",
|
| 851 |
+
"Jared Kaplan, Sam McCandlish, Tom Henighan, Tom B. Brown, Benjamin Chess, Rewon Child, Scott Gray, Alec Radford, Jeffrey Wu, and Dario Amodei. 2020. Scaling Laws for Neural Language Models.",
|
| 852 |
+
"Stephanie Lin, Jacob Hilton, and Owain Evans. 2022. TruthfulQA: Measuring How Models Mimic Human Falsehoods. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 3214-3252, Dublin, Ireland. Association for Computational Linguistics.",
|
| 853 |
+
"Ian McKenzie, Alexander Lyzhov, Alicia Parrish, Ameya Prabhu, Aaron Mueller, Najoung Kim, Sam Bowman, and Ethan Perez. 2022a. The inverse scaling prize.",
|
| 854 |
+
"Ian McKenzie, Alexander Lyzhov, Alicia Parrish, Ameya Prabhu, Aaron Mueller, Najoung Kim, Sam Bowman, and Ethan Perez. 2022b. Inverse scaling prize: First round winners.",
|
| 855 |
+
"Ian McKenzie, Alexander Lyzhov, Alicia Parrish, Ameya Prabhu, Aaron Mueller, Najoung Kim, Sam Bowman, and Ethan Perez. 2023a. Inverse scaling prize: Second round winners.",
|
| 856 |
+
"Ian R. McKenzie, Alexander Lyzhov, Michael Pieler, Alicia Parrish, Aaron Mueller, Ameya Prabhu, Euan McLean, Aaron Kirtland, Alexis Ross, Alisa Liu, Andrew Gritsevskiy, Daniel Wurgaft, Derik Kauffman, Gabriel Recchia, Jiacheng Liu, Joe Cavanagh, Max Weiss, Sicong Huang, The Floating Droid, Tom Tseng, Tomasz Korbak, Xudong Shen, Yuhui Zhang, Zhengping Zhou, Najoung Kim, Samuel R. Bowman, and Ethan Perez. 2023b. Inverse Scaling: When Bigger Isn't Better.",
|
| 857 |
+
"James Michaelov and Benjamin Bergen. 2023. Rarely a problem? Language models exhibit inverse scaling in their predictions following few-type quantifiers. In *Findings of the Association for Computational Linguistics: ACL* 2023, pages 14162-14174, Toronto, Canada. Association for Computational Linguistics.",
|
| 858 |
+
"Ethan Perez, Ian McKenzie, and Sam Bowman. 2022. Announcing the Inverse Scaling Prize ($250k Prize Pool).",
|
| 859 |
+
"Jack W. Rae, Sebastian Borgeaud, Trevor Cai, Katie Millican, Jordan Hoffmann, Francis Song, John Aslanides, Sarah Henderson, Roman Ring, Susannah Young, Eliza Rutherford, Tom Hennigan, Jacob Menick, Albin Cassirer, Richard Powell, George van den Driessche, Lisa Anne Hendricks, Maribeth Rauh, Po-Sen Huang, Amelia Glaese, Johannes Welbl, Sumanth Dathathri, Saffron Huang, Jonathan Uesato, John Mellor, Irina Higgins, Antonia Creswell, Nat McAleese, Amy Wu, Erich Olsen,"
|
| 860 |
+
],
|
| 861 |
+
"bbox": [
|
| 862 |
+
510,
|
| 863 |
+
85,
|
| 864 |
+
880,
|
| 865 |
+
910
|
| 866 |
+
],
|
| 867 |
+
"page_idx": 6
|
| 868 |
+
},
|
| 869 |
+
{
|
| 870 |
+
"type": "page_number",
|
| 871 |
+
"text": "14613",
|
| 872 |
+
"bbox": [
|
| 873 |
+
477,
|
| 874 |
+
928,
|
| 875 |
+
524,
|
| 876 |
+
940
|
| 877 |
+
],
|
| 878 |
+
"page_idx": 6
|
| 879 |
+
},
|
| 880 |
+
{
|
| 881 |
+
"type": "text",
|
| 882 |
+
"text": "Siddhant Jayakumar, Elena Buchatskaya, David Budden, Esme Sutherland, Karen Simonyan, Michela Paganini, Laurent Sifre, Lena Martens, Xiang Lorraine Li, Adhiguna Kuncoro, Aida Nematzadeh, Elena Gribovskaya, Domenic Donato, Angeliki Lazaridou, Arthur Mensch, Jean-Baptiste Lespiau, Maria Tsimpoukelli, Nikolai Grigorev, Doug Fritz, Thibault Sotiaux, Mantas Pajarskas, Toby Pohlen, Zhitao Gong, Daniel Toyama, Cyprien de Masson d'Autume, Yujia Li, Tayfun Terzi, Vladimir Mikulik, Igor Babuschkin, Aidan Clark, Diego de Las Casas, Aurelia Guy, Chris Jones, James Bradbury, Matthew Johnson, Blake Hechtman, Laura Weidinger, Jason Gabriel, William Isaac, Ed Lockhart, Simon Osindero, Laura Rimell, Chris Dyer, Oriol Vinyals, Kareem Ayoub, Jeff Stanway, Lorrayne Bennett, Demis Hassabis, Koray Kavukcuoglu, and Geoffrey Irving. 2022. Scaling Language Models: Methods, Analysis & Insights from Training Gopher.",
|
| 883 |
+
"bbox": [
|
| 884 |
+
132,
|
| 885 |
+
85,
|
| 886 |
+
489,
|
| 887 |
+
334
|
| 888 |
+
],
|
| 889 |
+
"page_idx": 7
|
| 890 |
+
},
|
| 891 |
+
{
|
| 892 |
+
"type": "text",
|
| 893 |
+
"text": "Deborah Raji, Emily Denton, Emily M. Bender, Alex Hanna, and Amandalynne Paullada. 2021. AI and the Everything in the Whole Wide World Benchmark. Proceedings of the Neural Information Processing Systems Track on Datasets and Benchmarks, 1.",
|
| 894 |
+
"bbox": [
|
| 895 |
+
115,
|
| 896 |
+
343,
|
| 897 |
+
489,
|
| 898 |
+
411
|
| 899 |
+
],
|
| 900 |
+
"page_idx": 7
|
| 901 |
+
},
|
| 902 |
+
{
|
| 903 |
+
"type": "text",
|
| 904 |
+
"text": "Aarohi Srivastava, Abhinav Rastogi, Abhishek Rao, Abu Awal Md Shoeb, Abubakar Abid, Adam Fisch, Adam R. Brown, Adam Santoro, Aditya Gupta, Adrià Garriga-Alonso, Agnieszka Kluska, Aitor Lewkowycz, Akshit Agarwal, Alethea Power, Alex Ray, Alex Warstadt, Alexander W. Kocurek, Ali Safaya, Ali Tazarv, Alice Xiang, Alicia Parrish, Allen Nie, Aman Hussain, Amanda Askell, Amanda Dsouza, Ambrose Slone, Ameet Rahane, Anantharaman S. Iyer, Anders Andreassen, Andrea Madotto, Andrea Santilli, Andreas Stuhlmüller, Andrew Dai, Andrew La, Andrew Lampinen, Andy Zou, Angela Jiang, Angelica Chen, Anh Vuong, Animesh Gupta, Anna Gottardi, Antonio Norelli, Anu Venkatesh, Arash Gholamidavoodi, Arfa Tabassum, Arul Menezes, Arun Kirubarajan, Asher Mullokandov, Ashish Sabharwal, Austin Herrick, Avia Efrat, Aykut Erdem, Ayla Karakaş, B. Ryan Roberts, Bao Sheng Loe, Barret Zoph, Bartlomiej Bojanowski, Batuhan Özyurt, Behnam Hedayatnia, Behnam Neyshabur, Benjamin Inden, Benno Stein, Berk Ekmekci, Bill Yuchen Lin, Blake Howald, Cameron Diao, Cameron Dour, Catherine Stinson, Cedrick Argueta, César Ferri Ramírez, Chandan Singh, Charles Rathkopf, Chenlin Meng, Chitta Baral, Chiyu Wu, Chris Callison-Burch, Chris Waites, Christian Voigt, Christopher D. Manning, Christopher Potts, Cindy Ramirez, Clara E. Rivera, Clemencia Siro, Colin Raffel, Courtney Ashcraft, Cristina Garbacea, Damien Sileo, Dan Garrette, Dan Hendrycks, Dan Kilman, Dan Roth, Daniel Freeman, Daniel Khashabi, Daniel Levy, Daniel Mosegui González, Danielle Perszyk, Danny Hernandez, Danqi Chen, Daphne Ippolito, Dar Gilboa, David Dohan, David Drakard, David Jurrgens, Debajyoti Datta, Deep Ganguli, Denis Emelin, Denis Kleyko, Deniz Yuret, Derek Chen, Derek Tam, Dieuwke Hupkes, Diganta Misra, Dilyar Buzan, Dimitri Coelho Mollo, Diyi Yang, Dong-Ho Lee, Ekate",
|
| 905 |
+
"bbox": [
|
| 906 |
+
115,
|
| 907 |
+
418,
|
| 908 |
+
489,
|
| 909 |
+
915
|
| 910 |
+
],
|
| 911 |
+
"page_idx": 7
|
| 912 |
+
},
|
| 913 |
+
{
|
| 914 |
+
"type": "text",
|
| 915 |
+
"text": "rina Shutova, Ekin Dogus Cubuk, Elad Segal, Eleanor Hagerman, Elizabeth Barnes, Elizabeth Donoway, Ellie Pavlick, Emanuele Rodola, Emma Lam, Eric Chu, Eric Tang, Erkut Erdem, Ernie Chang, Ethan A. Chi, Ethan Dyer, Ethan Jerzak, Ethan Kim, Eunice Engefu Manyasi, Evgenii Zheltonozhskii, Fanyue Xia, Fatemeh Siar, Fernando Martínez-Plumed, Francesca Happé, Francois Chollet, Frieda Rong, Gaurav Mishra, Genta Indra Winata, Gerard de Melo, German Kruszewski, Giambattista Parascandolo, Giorgio Mariani, Gloria Wang, Gonzalo Jaimovitch-López, Gregor Betz, Guy Gur-Ari, Hana Galijasevic, Hannah Kim, Hannah Rashkin, Hannaneh Hajishirzi, Harsh Mehta, Hayden Bogar, Henry Shevlin, Hinrich Schütze, Hiromu Yakura, Hongming Zhang, Hugh Mee Wong, Ian Ng, Isaac Noble, Jaap Jumelet, Jack Geissinger, Jackson Kernion, Jacob Hilton, Jæhoon Lee, Jaime Fernández Fisac, James B. Simon, James Koppel, James Zheng, James Zou, Jan Kocón, Jana Thompson, Jared Kaplan, Jarema Radom, Jascha Sohl-Dickstein, Jason Phang, Jason Wei, Jason Yosinski, Jekaterina Novikova, Jelle Bosscher, Jennifer Marsh, Jeremy Kim, Jeroen Taal, Jesse Engel, Jesujoba Alabi, Jiacheng Xu, Jiaming Song, Jillian Tang, Joan Waweru, John Burden, John Miller, John U. Balis, Jonathan Berant, Jörg Frohberg, Jos Rozen, Jose Hernandez-Orallo, Joseph Boudeman, Joseph Jones, Joshua B. Tenenbaum, Joshua S. Rule, Joyce Chua, Kamil Kanclerz, Karen Livescu, Karl Krauth, Karthik Gopalakrishnan, Katerina Ignatyeva, Katja Markert, Kaustubh D. Dhole, Kevin Gimpel, Kevin Omondi, Kory Mathewson, Kristen Chiafullo, Ksenia Shkaruta, Kumar Shridhar, Kyle McDonell, Kyle Richardson, Laria Reynolds, Leo Gao, Li Zhang, Liam Dugan, Lianhui Qin, Lidia Contreras-Ochando, Louis-Philippe Morency, Luca Moschella, Lucas Lam, Lucy Noble, Ludwig Schmidt, Luheng He, Luis Oliveros Colón, Luke Metz, Lütfi Kerem Şenel, Maarten Bosma, Maarten Sap, Maartje ter Hoeve, Maheen Farooqi, Manaal Faruqui, Mantas Mazeika, Marco Baturan, Marco Marelli, Marco Maru, Maria Jose Ramírez Quintana, Marie Tolkiehn, Mario Giulianielli, Martha Lewis, Martin Potthast, Matthew L. Leavitt, Matthias Hagen, Matyás Schubert, Medina Orduna Baitemirova, Melody Arnaud, Melvin McElrath, Michael A. Yee, Michael Cohen, Michael Gu, Michael Ivanitskiy, Michael Starritt, Michael Strube, Michat Swedrowski, Michele Bevilacqua, Michihiro Yasunaga, Mihir Kale, Mike Cain, Mimee Xu, Mirac Suzgun, Mo Tiwari, Mohit Bansal, Moin Aminnaseri, Mor Geva, Mozhdeh Gheini, Mukund Varma T Nanyun Peng,Nathan Chi Nayeon Lee Neta Gur-Ari Krakover Nicholas Cameron,Nicholas Roberts Nick Doiron,Nikita Nangia,Niklas Deckers,Niklas Muennighoff,Nitish Shirish Keskar,Niveditha S.Iyer Noah Constant Noah Fiedel Nuan Wen Oliver ZhangOmar AghaOmar Elbaghdadi Omer Levy Owain Evans Pablo Antonio Moreno Casares Parth Doshi Pascale FungPaul Pu LiangPaul Vicol,Pegah Alipoormolabashi Peiyuan Liao Percy Liang Peter Chang Peter EckersleyPhu Mon Htut Pinyu HwangPiotr Mlkkowski,Piyush Patil,Pouya Pezeshkpour,Priti",
|
| 916 |
+
"bbox": [
|
| 917 |
+
526,
|
| 918 |
+
85,
|
| 919 |
+
884,
|
| 920 |
+
907
|
| 921 |
+
],
|
| 922 |
+
"page_idx": 7
|
| 923 |
+
},
|
| 924 |
+
{
|
| 925 |
+
"type": "page_number",
|
| 926 |
+
"text": "14614",
|
| 927 |
+
"bbox": [
|
| 928 |
+
477,
|
| 929 |
+
928,
|
| 930 |
+
524,
|
| 931 |
+
940
|
| 932 |
+
],
|
| 933 |
+
"page_idx": 7
|
| 934 |
+
},
|
| 935 |
+
{
|
| 936 |
+
"type": "text",
|
| 937 |
+
"text": "Oli, Qiao zhu Mei, Qing Lyu, Qin lang Chen, Rabin Banjade, Rachel Etta Rudolph, Raefer Gabriel, Rahel Habacker, Ramón Risco Delgado, Raphael Milliere, Rhythm Garg, Richard Barnes, Rif A. Saurous, Riku Arakawa, Robbe Raymaekers, Robert Frank, Rohan Sikand, Roman Novak, Roman Sitelew, Ronan LeBras, Rosanne Liu, Rowan Jacobs, Rui Zhang, Ruslan Salakhutdinov, Ryan Chi, Ryan Lee, Ryan Stovall, Ryan Teehan, Ryan Yang, Sahib Singh, Saif M. Mohammad, Sajant Anand, Sam Dillavou, Sam Shleifer, Sam Wiseman, Samuel Gruetter, Samuel R. Bowman, Samuel S. Schoenholz, Sanghyun Han, Sanjeev Kwatra, Sarah A. Rous, Sarik Ghazarian, Sayan Ghosh, Sean Casey, Sebastian Bischoff, Sebastian Gehrmann, Sebastian Schuster, Sepideh Sadeghi, Shadi Hamdan, Sharon Zhou, Shashank Srivastava, Sherry Shi, Shikhar Singh, Shima Asaadi, Shixiang Shane Gu, Shubh Pachchigar, Shubham Toshiwal, Shyam Upadhyay, Shyamolima, Debnath, Siamak Shakeri, Simon Thormeyer, Simone Melzi, Siva Reddy, Sneha Priscilla Makini, Soo-Hwan Lee, Spencer Torene, Sriharsha Hatwar, Stanislas Dehaene, Stefan Divic, Stefano Ermon, Stella Biderman, Stephanie Lin, Stephen Prasad, Steven T. Pi-antadosi, Stuart M. Shieber, Summer Misherghi, Svetlana Kiritchenko, Swaroop Mishra, Tal Linzen, Tal Schuster, Tao Li, Tao Yu, Tariq Ali, Tatsu Hashimoto, Te-Lin Wu, Theo Desbordes, Theodore Rothschild, Thomas Phan, Tianle Wang, Tiberius Nkinyili, Timo Schick, Timofei Kornev, Timothy Telleen-Lawton Titus Tunduny, Tobias Gerstenberg, Trenton Chang Trishala Neeraj, Tushar Khot, Tyler Shultz, Uri Shaham, Vedant Misra, Vera Demberg, Victoria Nyamai Vikas Raunak Vinay Ramasesh Vinay Uday Prabhu Vishakh Padmakumar,Vivek Srikumar William FedusWilliam SaundersWilliam ZhangWout Vossen Xiang RenXiaoyu TongXinran ZhaoXinyi Wu Xudong Shen,Yadollah YaghoobzadehYair Lakretz Yangqiu Song,Yasaman Bahri,Yejin Choi,Yichi Yang,Yiding Hao,Yifu Chen,Yonatan Belinkov Yu HouYufang HouYuntao BaiZachary Seid Zhuoye Zhao Zijian Wang Zijie J.WangZirui Wang,and Ziyi Wu.2022.Beyond the Imitation Game: Quantifying and extrapolating the capabilities of language models.",
|
| 938 |
+
"bbox": [
|
| 939 |
+
132,
|
| 940 |
+
84,
|
| 941 |
+
489,
|
| 942 |
+
671
|
| 943 |
+
],
|
| 944 |
+
"page_idx": 8
|
| 945 |
+
},
|
| 946 |
+
{
|
| 947 |
+
"type": "text",
|
| 948 |
+
"text": "Ross Taylor, Marcin Kardas, Guillem Cucurull, Thomas Scialom, Anthony Hartshorn, Elvis Saravia, Andrew Poulton, Viktor Kerkez, and Robert Stojnic. 2022. Galactica: A Large Language Model for Science.",
|
| 949 |
+
"bbox": [
|
| 950 |
+
114,
|
| 951 |
+
681,
|
| 952 |
+
489,
|
| 953 |
+
736
|
| 954 |
+
],
|
| 955 |
+
"page_idx": 8
|
| 956 |
+
},
|
| 957 |
+
{
|
| 958 |
+
"type": "text",
|
| 959 |
+
"text": "Romal Thoppilan, Daniel De Freitas, Jamie Hall, Noam Shazeer, Apoorv Kulshreshtha, Heng-Tze Cheng, Alicia Jin, Taylor Bos, Leslie Baker, Yu Du, YaGuang Li, Hongrae Lee, Huaixiu Steven Zheng, Amin Ghafouri, Marcelo Menegali, Yanping Huang, Maxim Krikun, Dmitry Lepikhin, James Qin, Dehao Chen, Yuanzhong Xu, Zhifeng Chen, Adam Roberts, Maarten Bosma, Vincent Zhao, Yanqi Zhou, Chung-Ching Chang, Igor Krivokon, Will Rusch, Marc Pickett, Pranesh Srinivasan, Laichee Man, Kathleen Meier-Hellstern, Meredith Ringel Morris, Tulsee Doshi, Renelito Delos Santos, Toju Duke, Johnny Soraker, Ben Zevenbergen, Vinodkumar Prabhakaran,",
|
| 960 |
+
"bbox": [
|
| 961 |
+
115,
|
| 962 |
+
744,
|
| 963 |
+
489,
|
| 964 |
+
915
|
| 965 |
+
],
|
| 966 |
+
"page_idx": 8
|
| 967 |
+
},
|
| 968 |
+
{
|
| 969 |
+
"type": "text",
|
| 970 |
+
"text": "Mark Diaz, Ben Hutchinson, Kristen Olson, Alejandra Molina, Erin Hoffman-John, Josh Lee, Lora Aroyo, Ravi Rajakumar, Alena Butryna, Matthew Lamm, Viktoriya Kuzmina, Joe Fenton, Aaron Cohen, Rachel Bernstein, Ray Kurzweil, Blaise Aguera-Arcas, Claire Cui, Marian Croak, Ed Chi, and Quoc Le. 2022. LaMDA: Language Models for Dialog Applications.",
|
| 971 |
+
"bbox": [
|
| 972 |
+
526,
|
| 973 |
+
85,
|
| 974 |
+
884,
|
| 975 |
+
191
|
| 976 |
+
],
|
| 977 |
+
"page_idx": 8
|
| 978 |
+
},
|
| 979 |
+
{
|
| 980 |
+
"type": "text",
|
| 981 |
+
"text": "Hugo Touvron, Thibaut Lavril, Gautier Izacard, Xavier Martinet, Marie-Anne Lachaux, Timothee Lacroix, Baptiste Rozière, Naman Goyal, Eric Hambro, Faisal Azhar, Aurelien Rodriguez, Armand Joulin, Edouard Grave, and Guillaume Lample. 2023a. LLaMA: Open and Efficient Foundation Language Models.",
|
| 982 |
+
"bbox": [
|
| 983 |
+
509,
|
| 984 |
+
200,
|
| 985 |
+
884,
|
| 986 |
+
280
|
| 987 |
+
],
|
| 988 |
+
"page_idx": 8
|
| 989 |
+
},
|
| 990 |
+
{
|
| 991 |
+
"type": "text",
|
| 992 |
+
"text": "Hugo Touvron, Louis Martin, Kevin Stone, Peter Albert, Amjad Almahairi, Yasmine Babaei, Nikolay Bashlykov, Soumya Batra, Prajjwal Bhargava, Shruti Bhosale, Dan Bikel, Lukas Blecher, Cristian Canton Ferrer, Moya Chen, Guillem Cucurull, David Esiobu, Jude Fernandes, Jeremy Fu, Wenyin Fu, Brian Fuller, Cynthia Gao, Vedanuj Goswami, Naman Goyal, Anthony Hartshorn, Saghar Hosseini, Rui Hou, Hakan Inan, Marcin Kardas, Viktor Kerkez, Madian Khabsa, Isabel Kloumann, Artem Korenev, Punit Singh Koura, Marie-Anne Lachaux, Thibaut Lavril, Jenya Lee, Diana Liskovich, Yinghai Lu, Yuning Mao, Xavier Martinet, Todor Mihaylov, Pushkar Mishra, Igor Molybog, Yixin Nie, Andrew Poulton, Jeremy Reizenstein, Rashi Rungta, Kalyan Saladi, Alan Schelten, Ruan Silva, Eric Michael Smith, Ranjan Subramanian, Xiaoqing Ellen Tan, Binh Tang, Ross Taylor, Adina Williams, Jian Xiang Kuan, Puxin Xu, Zheng Yan, Iliyan Zarov, Yuchen Zhang, Angela Fan, Melanie Kambadur, Sharan Narang, Aurelien Rodriguez, Robert Stojnic, Sergey Edunov, and Thomas Scialom. 2023b. Llama 2: Open Foundation and Fine-Tuned Chat Models.",
|
| 993 |
+
"bbox": [
|
| 994 |
+
509,
|
| 995 |
+
288,
|
| 996 |
+
884,
|
| 997 |
+
589
|
| 998 |
+
],
|
| 999 |
+
"page_idx": 8
|
| 1000 |
+
},
|
| 1001 |
+
{
|
| 1002 |
+
"type": "text",
|
| 1003 |
+
"text": "Jason Wei, Yi Tay, Rishi Bommasani, Colin Raffel, Barret Zoph, Sebastian Borgeaud, Dani Yogatama, Maarten Bosma, Denny Zhou, Donald Metzler, Ed H. Chi, Tatsunori Hashimoto, Oriol Vinyals, Percy Liang, Jeff Dean, and William Fedus. 2022. Emergent Abilities of Large Language Models. Transactions on Machine Learning Research.",
|
| 1004 |
+
"bbox": [
|
| 1005 |
+
509,
|
| 1006 |
+
599,
|
| 1007 |
+
885,
|
| 1008 |
+
690
|
| 1009 |
+
],
|
| 1010 |
+
"page_idx": 8
|
| 1011 |
+
},
|
| 1012 |
+
{
|
| 1013 |
+
"type": "page_number",
|
| 1014 |
+
"text": "14615",
|
| 1015 |
+
"bbox": [
|
| 1016 |
+
477,
|
| 1017 |
+
928,
|
| 1018 |
+
524,
|
| 1019 |
+
940
|
| 1020 |
+
],
|
| 1021 |
+
"page_idx": 8
|
| 1022 |
+
}
|
| 1023 |
+
]
|
2023/Emergent Inabilities_ Inverse Scaling Over the Course of Pretraining/5fe6aa26-b646-469e-8865-eaa4efa360e8_model.json
ADDED
|
@@ -0,0 +1,1274 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 5 |
+
"bbox": [
|
| 6 |
+
0.141,
|
| 7 |
+
0.09,
|
| 8 |
+
0.859,
|
| 9 |
+
0.112
|
| 10 |
+
],
|
| 11 |
+
"angle": 0,
|
| 12 |
+
"content": "Emergent Inabilities? Inverse Scaling Over the Course of Pretraining"
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"bbox": [
|
| 17 |
+
0.22,
|
| 18 |
+
0.143,
|
| 19 |
+
0.783,
|
| 20 |
+
0.194
|
| 21 |
+
],
|
| 22 |
+
"angle": 0,
|
| 23 |
+
"content": "James A. Michaelov and Benjamin K. Bergen \nDepartment of Cognitive Science, University of California San Diego \n{j1michae,bkbergen}@ucsd.edu"
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "title",
|
| 27 |
+
"bbox": [
|
| 28 |
+
0.262,
|
| 29 |
+
0.253,
|
| 30 |
+
0.341,
|
| 31 |
+
0.269
|
| 32 |
+
],
|
| 33 |
+
"angle": 0,
|
| 34 |
+
"content": "Abstract"
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"type": "text",
|
| 38 |
+
"bbox": [
|
| 39 |
+
0.145,
|
| 40 |
+
0.28,
|
| 41 |
+
0.461,
|
| 42 |
+
0.58
|
| 43 |
+
],
|
| 44 |
+
"angle": 0,
|
| 45 |
+
"content": "Does inverse scaling only occur as a function of model size, or can it also occur over the course of training? We carry out an exploratory study investigating whether the performance of language models on specific tasks can decrease (while general performance remains high) during training on the language modeling task. We find 8 tasks on which Pythia 12B (Biderman et al., 2023) shows decreased performance over the course of training. Five of these tasks (TRUTHFULQA-MC1, TRUTHFULQA-MC2, HINDSIGHT NEGLECT, MEMO TRAP, and PATTERN MATCH SUPPRESSION) additionally show a consistent relationship whereby larger language models show a greater decrease in performance the more they are trained, despite showing standard (positive) scaling overall. This highlights the importance of testing performance at all relevant benchmarks any time models are trained on additional data, even if their overall performance improves."
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"type": "title",
|
| 49 |
+
"bbox": [
|
| 50 |
+
0.115,
|
| 51 |
+
0.591,
|
| 52 |
+
0.26,
|
| 53 |
+
0.607
|
| 54 |
+
],
|
| 55 |
+
"angle": 0,
|
| 56 |
+
"content": "1 Introduction"
|
| 57 |
+
},
|
| 58 |
+
{
|
| 59 |
+
"type": "text",
|
| 60 |
+
"bbox": [
|
| 61 |
+
0.117,
|
| 62 |
+
0.616,
|
| 63 |
+
0.49,
|
| 64 |
+
0.825
|
| 65 |
+
],
|
| 66 |
+
"angle": 0,
|
| 67 |
+
"content": "For language models, bigger is usually better. Recent research has found that both increased number of model parameters and increased size of the training dataset positively influence model performance (Brown et al., 2020; Kaplan et al., 2020; Chowdhery et al., 2022; Clark et al., 2022; Du et al., 2022; Rae et al., 2022; Hoffmann et al., 2022; Thoppilan et al., 2022; Wei et al., 2022; Taylor et al., 2022; Srivastava et al., 2022; Touvron et al., 2023a). One particularly striking pattern that has been reported is emergence, a nonlinearity in these relationships, where at a particular scale, language models improve rapidly at a given task (Wei et al., 2022)."
|
| 68 |
+
},
|
| 69 |
+
{
|
| 70 |
+
"type": "text",
|
| 71 |
+
"bbox": [
|
| 72 |
+
0.114,
|
| 73 |
+
0.826,
|
| 74 |
+
0.49,
|
| 75 |
+
0.906
|
| 76 |
+
],
|
| 77 |
+
"angle": 0,
|
| 78 |
+
"content": "However, while increased scale usually leads to improved performance, on certain tasks it correlates with decreased performance. This is known as inverse scaling (Lin et al., 2022). An example of a task on which inverse scaling is observed"
|
| 79 |
+
},
|
| 80 |
+
{
|
| 81 |
+
"type": "text",
|
| 82 |
+
"bbox": [
|
| 83 |
+
0.508,
|
| 84 |
+
0.253,
|
| 85 |
+
0.885,
|
| 86 |
+
0.382
|
| 87 |
+
],
|
| 88 |
+
"angle": 0,
|
| 89 |
+
"content": "is the TruthfulQA benchmark, where larger language models are more likely to predict popular misconceptions over statements of fact (Lin et al., 2022). More recently, additional tasks that reportedly show such an effect have been identified as part of the Inverse Scaling Prize (McKenzie et al., 2023b), as well as by other researchers (Jang et al., 2023; Michaelov and Bergen, 2023)."
|
| 90 |
+
},
|
| 91 |
+
{
|
| 92 |
+
"type": "text",
|
| 93 |
+
"bbox": [
|
| 94 |
+
0.508,
|
| 95 |
+
0.382,
|
| 96 |
+
0.885,
|
| 97 |
+
0.575
|
| 98 |
+
],
|
| 99 |
+
"angle": 0,
|
| 100 |
+
"content": "Inverse scaling is a serious concern for several reasons. At a high level, inverse scaling may indicate 'outer misalignment' (Perez et al., 2022) between the model training approach and the purposes to which they are applied. The lack of robustness observed in inverse scaling phenomena may thus indicate that the apparent successes of specific language models at a wide range of benchmarks (e.g., Hendrycks et al., 2021; Srivastava et al., 2022) do not necessarily entail that they have the capability ostensibly being tested (Bowman and Dahl, 2021; Raji et al., 2021)."
|
| 101 |
+
},
|
| 102 |
+
{
|
| 103 |
+
"type": "text",
|
| 104 |
+
"bbox": [
|
| 105 |
+
0.508,
|
| 106 |
+
0.575,
|
| 107 |
+
0.885,
|
| 108 |
+
0.784
|
| 109 |
+
],
|
| 110 |
+
"angle": 0,
|
| 111 |
+
"content": "The existence of inverse scaling is also concerning because of the possibility of other as yet unidentified tasks where performance similarly scales inversely with model size. Models that perform well on a variety of tasks may well present deteriorating performance in unseen tasks with scale, even as performance at established benchmarks increases. This is of particular concern if better performance at established benchmarks and more natural-seeming output leads users to place more trust in such models as general-purpose natural language understanding systems (see, e.g., Bender et al., 2021, for general discussion of such risks)."
|
| 112 |
+
},
|
| 113 |
+
{
|
| 114 |
+
"type": "text",
|
| 115 |
+
"bbox": [
|
| 116 |
+
0.508,
|
| 117 |
+
0.785,
|
| 118 |
+
0.885,
|
| 119 |
+
0.913
|
| 120 |
+
],
|
| 121 |
+
"angle": 0,
|
| 122 |
+
"content": "Finally, inverse scaling is also of concern because it is often unpredictable. In the same way that certain capabilities appear to emerge at scale (Wei et al., 2022), inverse scaling also appears or accelerates at given scales. For example, as McKenzie et al. (2022b) show, the performance of Gopher (Rae et al., 2022) and Plain LM (Ganguli et al., 2022) at the Inverse Scaling Prize's negated"
|
| 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": "14607"
|
| 134 |
+
},
|
| 135 |
+
{
|
| 136 |
+
"type": "footer",
|
| 137 |
+
"bbox": [
|
| 138 |
+
0.211,
|
| 139 |
+
0.946,
|
| 140 |
+
0.788,
|
| 141 |
+
0.973
|
| 142 |
+
],
|
| 143 |
+
"angle": 0,
|
| 144 |
+
"content": "Findings of the Association for Computational Linguistics: EMNLP 2023, pages 14607-14615 December 6-10, 2023 ©2023 Association for Computational Linguistics"
|
| 145 |
+
}
|
| 146 |
+
],
|
| 147 |
+
[
|
| 148 |
+
{
|
| 149 |
+
"type": "text",
|
| 150 |
+
"bbox": [
|
| 151 |
+
0.113,
|
| 152 |
+
0.085,
|
| 153 |
+
0.49,
|
| 154 |
+
0.261
|
| 155 |
+
],
|
| 156 |
+
"angle": 0,
|
| 157 |
+
"content": "question-answering task (NEQA) appears to be stable or even increasing as model size increases, only dropping as model size increases to around 7 billion parameters and beyond (McKenzie et al., 2022b). Thus, inverse scaling may occur not just for unidentified tasks, but also for well-established tasks: a model architecture that performs well at a benchmark at a small scale may suddenly perform surprisingly worse as scale increases—it is not safe to assume that performance will continue to improve or even remain stable."
|
| 158 |
+
},
|
| 159 |
+
{
|
| 160 |
+
"type": "text",
|
| 161 |
+
"bbox": [
|
| 162 |
+
0.117,
|
| 163 |
+
0.262,
|
| 164 |
+
0.492,
|
| 165 |
+
0.616
|
| 166 |
+
],
|
| 167 |
+
"angle": 0,
|
| 168 |
+
"content": "While previous work has focused on inverse scaling based on the number of model parameters (Lin et al., 2022; McKenzie et al., 2022a,b, 2023a; Jang et al., 2023; Michaelov and Bergen, 2023); as discussed, scaling effects more generally occur not just in relation to model size but also as a function of training data quantity. Recent work has shown that this latter effect has been substantially underestimated (Hoffmann et al., 2022; Touvron et al., 2023a). Thus, in the present study, we consider the possibility of inverse scaling over the course of pretraining; that is, the hypothesized situation where performance on some tasks decreases as the total quantity of training data increases. If inverse scaling of this type exists, it may be more problematic than inverse scaling as a function of model size, because if performance at a given task can degrade over the course of pretraining even as the performance at the majority of tasks improves, a specific model that has previously performed well at a given task may unexpectedly show decreased performance later in training."
|
| 169 |
+
},
|
| 170 |
+
{
|
| 171 |
+
"type": "text",
|
| 172 |
+
"bbox": [
|
| 173 |
+
0.113,
|
| 174 |
+
0.617,
|
| 175 |
+
0.49,
|
| 176 |
+
0.81
|
| 177 |
+
],
|
| 178 |
+
"angle": 0,
|
| 179 |
+
"content": "We test how well the 8 models of the Pythia (Biderman et al., 2023) suite perform at 12 tasks over the course of training. These tasks are the 10 multiple-choice tasks that won the Inverse Scaling Challenge (McKenzie et al., 2022b), plus the two multiple-choice versions of the TruthfulQA benchmark, on which language models have also been found to show inverse scaling (Lin et al., 2022). The aim of this study is therefore an exploratory analysis to see whether tasks that show inverse scaling as model parameter size increases also show inverse scaling over the course of training."
|
| 180 |
+
},
|
| 181 |
+
{
|
| 182 |
+
"type": "title",
|
| 183 |
+
"bbox": [
|
| 184 |
+
0.114,
|
| 185 |
+
0.821,
|
| 186 |
+
0.219,
|
| 187 |
+
0.835
|
| 188 |
+
],
|
| 189 |
+
"angle": 0,
|
| 190 |
+
"content": "2 Method"
|
| 191 |
+
},
|
| 192 |
+
{
|
| 193 |
+
"type": "title",
|
| 194 |
+
"bbox": [
|
| 195 |
+
0.114,
|
| 196 |
+
0.847,
|
| 197 |
+
0.207,
|
| 198 |
+
0.86
|
| 199 |
+
],
|
| 200 |
+
"angle": 0,
|
| 201 |
+
"content": "2.1 Tasks"
|
| 202 |
+
},
|
| 203 |
+
{
|
| 204 |
+
"type": "text",
|
| 205 |
+
"bbox": [
|
| 206 |
+
0.113,
|
| 207 |
+
0.867,
|
| 208 |
+
0.49,
|
| 209 |
+
0.915
|
| 210 |
+
],
|
| 211 |
+
"angle": 0,
|
| 212 |
+
"content": "TRUTHFULQA-MC1 is the first multiple-choice variant of TRUTHFULQA (Lin et al., 2022), which tests whether language models find common mis"
|
| 213 |
+
},
|
| 214 |
+
{
|
| 215 |
+
"type": "text",
|
| 216 |
+
"bbox": [
|
| 217 |
+
0.508,
|
| 218 |
+
0.085,
|
| 219 |
+
0.885,
|
| 220 |
+
0.244
|
| 221 |
+
],
|
| 222 |
+
"angle": 0,
|
| 223 |
+
"content": "conceptions or statements of fact more predictable in a given context. In this version, there is one true option and the remainder are false. For example, for the prompt what should you take for a viral infection?, the true answer is you should take a rest and drink fluids, and other answers include you should take a full course of antibiotics. The language model is considered to respond correctly if the probability of the correct answer is higher than any other."
|
| 224 |
+
},
|
| 225 |
+
{
|
| 226 |
+
"type": "text",
|
| 227 |
+
"bbox": [
|
| 228 |
+
0.508,
|
| 229 |
+
0.246,
|
| 230 |
+
0.885,
|
| 231 |
+
0.342
|
| 232 |
+
],
|
| 233 |
+
"angle": 0,
|
| 234 |
+
"content": "TRUTHFULQA-MC2 is an alternative multiple-choice variant of TRUTHFULQA in which there are often multiple correct answers. Here, the model is considered to respond correctly if the total probability of correct responses is greater than that of incorrect responses."
|
| 235 |
+
},
|
| 236 |
+
{
|
| 237 |
+
"type": "text",
|
| 238 |
+
"bbox": [
|
| 239 |
+
0.508,
|
| 240 |
+
0.343,
|
| 241 |
+
0.885,
|
| 242 |
+
0.502
|
| 243 |
+
],
|
| 244 |
+
"angle": 0,
|
| 245 |
+
"content": "SIG FIGS, like all the Inverse Scaling Prize tasks, is a multiple-choice task with one correct answer. It also has two incorrect answers, and the model is considered to respond correctly if the correct answer has the highest probability. The task itself tests whether, when prompted to round a number to a number of significant figures, the language model finds the number rounded correctly to be more probable or the number rounded to the same number of decimal places."
|
| 246 |
+
},
|
| 247 |
+
{
|
| 248 |
+
"type": "text",
|
| 249 |
+
"bbox": [
|
| 250 |
+
0.508,
|
| 251 |
+
0.504,
|
| 252 |
+
0.885,
|
| 253 |
+
0.567
|
| 254 |
+
],
|
| 255 |
+
"angle": 0,
|
| 256 |
+
"content": "NEQA is a zero-shot task with negated questions such as As the barometer reading goes lower there is not a greater chance of A. sunshine B. getting wet."
|
| 257 |
+
},
|
| 258 |
+
{
|
| 259 |
+
"type": "text",
|
| 260 |
+
"bbox": [
|
| 261 |
+
0.508,
|
| 262 |
+
0.569,
|
| 263 |
+
0.884,
|
| 264 |
+
0.711
|
| 265 |
+
],
|
| 266 |
+
"angle": 0,
|
| 267 |
+
"content": "REDEFINE is a zero-shot task where expressions are redefined in a range of ways, and then questions are asked are asked about these redefined expressions—e.g., a prompt may ask for the first digit of \\(5 + 15\\), where \\(5 + 15\\) is first redefined as a text string rather than an equation. The task tests whether the language model does indeed treat the expression in the redefined way rather than its usual interpretation."
|
| 268 |
+
},
|
| 269 |
+
{
|
| 270 |
+
"type": "text",
|
| 271 |
+
"bbox": [
|
| 272 |
+
0.507,
|
| 273 |
+
0.713,
|
| 274 |
+
0.883,
|
| 275 |
+
0.809
|
| 276 |
+
],
|
| 277 |
+
"angle": 0,
|
| 278 |
+
"content": "MEMO TRAP is a task where a language model is instructed to write a famous quote with a specific last word, e.g., write a quote that ends in the word \"heavy\": Absence makes the heart grow. In this case, the correct answer would be heavy and not the expected fonder."
|
| 279 |
+
},
|
| 280 |
+
{
|
| 281 |
+
"type": "text",
|
| 282 |
+
"bbox": [
|
| 283 |
+
0.508,
|
| 284 |
+
0.81,
|
| 285 |
+
0.884,
|
| 286 |
+
0.905
|
| 287 |
+
],
|
| 288 |
+
"angle": 0,
|
| 289 |
+
"content": "HINDSIGHT NEGLECT is a few-shot multiple-choice task where the input contains information about a bet and its outcome and the task is to correctly determine whether or not the bet should have been taken. In the task, a number of examples are provided where the expected value aligns with the"
|
| 290 |
+
},
|
| 291 |
+
{
|
| 292 |
+
"type": "page_number",
|
| 293 |
+
"bbox": [
|
| 294 |
+
0.478,
|
| 295 |
+
0.928,
|
| 296 |
+
0.526,
|
| 297 |
+
0.941
|
| 298 |
+
],
|
| 299 |
+
"angle": 0,
|
| 300 |
+
"content": "14608"
|
| 301 |
+
}
|
| 302 |
+
],
|
| 303 |
+
[
|
| 304 |
+
{
|
| 305 |
+
"type": "text",
|
| 306 |
+
"bbox": [
|
| 307 |
+
0.113,
|
| 308 |
+
0.085,
|
| 309 |
+
0.488,
|
| 310 |
+
0.198
|
| 311 |
+
],
|
| 312 |
+
"angle": 0,
|
| 313 |
+
"content": "result (if the task has a positive expected value, the individual taking the bet wins, and if it has a negative one, the individual taking the bet loses). For the final question (the one that is answered for the task), the value won or lost does not align (the individual either wins a bet with a negative expected value or loses one with a positive expected value)."
|
| 314 |
+
},
|
| 315 |
+
{
|
| 316 |
+
"type": "text",
|
| 317 |
+
"bbox": [
|
| 318 |
+
0.113,
|
| 319 |
+
0.198,
|
| 320 |
+
0.488,
|
| 321 |
+
0.31
|
| 322 |
+
],
|
| 323 |
+
"angle": 0,
|
| 324 |
+
"content": "INTO THE UNKNOWN is a task that involves a description of a setting and a question, with the twist that the task is to identify which of two pieces of information would help to answer the question. One option (the correct answer) contains new information and the other repeats information from the original description."
|
| 325 |
+
},
|
| 326 |
+
{
|
| 327 |
+
"type": "text",
|
| 328 |
+
"bbox": [
|
| 329 |
+
0.113,
|
| 330 |
+
0.311,
|
| 331 |
+
0.488,
|
| 332 |
+
0.422
|
| 333 |
+
],
|
| 334 |
+
"angle": 0,
|
| 335 |
+
"content": "MODUS TOLLENS tests whether language models can make predictions in line with the modus tollens form of deductive inference, i.e., [i]f \\( p \\), then \\( q \\); not \\( q \\); therefore, not \\( p \\) (McKenzie et al., 2023b). The task involves an example of such an inference, and then a question of whether the conclusion is valid or not."
|
| 336 |
+
},
|
| 337 |
+
{
|
| 338 |
+
"type": "text",
|
| 339 |
+
"bbox": [
|
| 340 |
+
0.113,
|
| 341 |
+
0.424,
|
| 342 |
+
0.488,
|
| 343 |
+
0.519
|
| 344 |
+
],
|
| 345 |
+
"angle": 0,
|
| 346 |
+
"content": "PATTERN MATCH SUPPRESSION tests whether language models can violate a repeated pattern. For example, one prompt is to generate a sequence of 6 symbols alternating between two symbols (A B) but ending unexpectedly. A, B, A, B, A, with possible answers A or B."
|
| 347 |
+
},
|
| 348 |
+
{
|
| 349 |
+
"type": "text",
|
| 350 |
+
"bbox": [
|
| 351 |
+
0.113,
|
| 352 |
+
0.52,
|
| 353 |
+
0.488,
|
| 354 |
+
0.648
|
| 355 |
+
],
|
| 356 |
+
"angle": 0,
|
| 357 |
+
"content": "RESISITING CORRECTION is a few-shot task, with the instruction to repeat a text without changing it and two examples. In the final example, the sentence to be repeated includes an atypicality, e.g., spelling mistake or a switched word of a famous quote. The task tests whether the model follows the instruction and replicates the atypical, or whether it 'corrects' it."
|
| 358 |
+
},
|
| 359 |
+
{
|
| 360 |
+
"type": "text",
|
| 361 |
+
"bbox": [
|
| 362 |
+
0.113,
|
| 363 |
+
0.649,
|
| 364 |
+
0.488,
|
| 365 |
+
0.809
|
| 366 |
+
],
|
| 367 |
+
"angle": 0,
|
| 368 |
+
"content": "REPETITIVE ALGEBRA is a few-shot task based on simple algebra questions. Until the penultimate question, all questions have the same answer (provided in the prompt), and the penultimate question has an answer that differs (also provided in the prompt). For the final question that needs to be answered, the answer is the same as the initial answers. The task tests which of the two answers (initial or penulimate) the model predicts to be more likely."
|
| 369 |
+
},
|
| 370 |
+
{
|
| 371 |
+
"type": "title",
|
| 372 |
+
"bbox": [
|
| 373 |
+
0.114,
|
| 374 |
+
0.82,
|
| 375 |
+
0.219,
|
| 376 |
+
0.834
|
| 377 |
+
],
|
| 378 |
+
"angle": 0,
|
| 379 |
+
"content": "2.2 Models"
|
| 380 |
+
},
|
| 381 |
+
{
|
| 382 |
+
"type": "text",
|
| 383 |
+
"bbox": [
|
| 384 |
+
0.113,
|
| 385 |
+
0.84,
|
| 386 |
+
0.488,
|
| 387 |
+
0.905
|
| 388 |
+
],
|
| 389 |
+
"angle": 0,
|
| 390 |
+
"content": "We use the 70 million parameter (70M), 160M, 410M, 1B, 1.4B, 2.8B, 6.9B, and 12B Pythia models (Biderman et al., 2023). The models were trained on the autoregressive language modeling"
|
| 391 |
+
},
|
| 392 |
+
{
|
| 393 |
+
"type": "text",
|
| 394 |
+
"bbox": [
|
| 395 |
+
0.508,
|
| 396 |
+
0.085,
|
| 397 |
+
0.884,
|
| 398 |
+
0.277
|
| 399 |
+
],
|
| 400 |
+
"angle": 0,
|
| 401 |
+
"content": "task on The Pile (Gao et al., 2020), an 800GB text dataset comprising 300 billion tokens. All models were trained on this dataset, with checkpoints released at every 2 billion tokens of training. Given that scaling is often considered on a logarithmic scale, we tested each model's performance at 8 checkpoints based on powers of 2: checkpoint 2 (4 billion tokens), checkpoint 4 (8B tokens), checkpoint 8 (16B), checkpoint 16 (32B), checkpoint 32 (64B), checkpoint 64 (128B), checkpoint 128 (256B), and checkpoint 143 (300B tokens, i.e., fully trained)."
|
| 402 |
+
},
|
| 403 |
+
{
|
| 404 |
+
"type": "text",
|
| 405 |
+
"bbox": [
|
| 406 |
+
0.508,
|
| 407 |
+
0.278,
|
| 408 |
+
0.884,
|
| 409 |
+
0.358
|
| 410 |
+
],
|
| 411 |
+
"angle": 0,
|
| 412 |
+
"content": "We run our analyses of model performance using the Language Model Evaluation Harness (Gao et al., 2021). All code, data, and statistical analyses are provided at https://github.com/jmichaelov/emergent-inabilities."
|
| 413 |
+
},
|
| 414 |
+
{
|
| 415 |
+
"type": "title",
|
| 416 |
+
"bbox": [
|
| 417 |
+
0.509,
|
| 418 |
+
0.371,
|
| 419 |
+
0.608,
|
| 420 |
+
0.385
|
| 421 |
+
],
|
| 422 |
+
"angle": 0,
|
| 423 |
+
"content": "3 Results"
|
| 424 |
+
},
|
| 425 |
+
{
|
| 426 |
+
"type": "text",
|
| 427 |
+
"bbox": [
|
| 428 |
+
0.508,
|
| 429 |
+
0.396,
|
| 430 |
+
0.884,
|
| 431 |
+
0.523
|
| 432 |
+
],
|
| 433 |
+
"angle": 0,
|
| 434 |
+
"content": "Model performance at each task is shown in Figure 1. In order to quantify the patterns observed, we also fit a least-squares linear regression for each dataset, with the logarithm (base 10) of model parameters, the logarithm (base 10) of training tokens, and the interaction between them as predictors of task accuracy. All variables were z-scored. The results of these tests are shown in Table 1."
|
| 435 |
+
},
|
| 436 |
+
{
|
| 437 |
+
"type": "text",
|
| 438 |
+
"bbox": [
|
| 439 |
+
0.508,
|
| 440 |
+
0.525,
|
| 441 |
+
0.884,
|
| 442 |
+
0.862
|
| 443 |
+
],
|
| 444 |
+
"angle": 0,
|
| 445 |
+
"content": "The clearest inverse scaling effects can be seen with TRUTHFULQA-MC2—larger models perform worse, performance overall decreases with number of training tokens, and the rate at which performance deteriorates with training tokens increases with model size. Inferential statistics show a negative effect of number of parameters, number of training tokens, and their interaction. In other words, the regression predicts that model performance decreases with number of parameters and training tokens; and in addition, that the larger a model is, the more there is a decrease in performance as the model continues to train. Whether this pattern of statistical results is specific to the tasks used in the present work or to all tasks that show inverse scaling is a question for future work. However, it does also appear to be present for most of the other tasks clearly displaying inverse scaling, namely, HINDSIGHT NEGLECT, MEMO TRAP, PATTERN MATCH SUPPRESSION, and TRUTHFULQA-MC1."
|
| 446 |
+
},
|
| 447 |
+
{
|
| 448 |
+
"type": "text",
|
| 449 |
+
"bbox": [
|
| 450 |
+
0.509,
|
| 451 |
+
0.863,
|
| 452 |
+
0.883,
|
| 453 |
+
0.911
|
| 454 |
+
],
|
| 455 |
+
"angle": 0,
|
| 456 |
+
"content": "Some of the remaining tasks, namely INTO THE UNKNOWN, MODUS TOLLENS, NEQA, and SIG FIGS display no clear pattern across models. But"
|
| 457 |
+
},
|
| 458 |
+
{
|
| 459 |
+
"type": "page_number",
|
| 460 |
+
"bbox": [
|
| 461 |
+
0.478,
|
| 462 |
+
0.928,
|
| 463 |
+
0.526,
|
| 464 |
+
0.941
|
| 465 |
+
],
|
| 466 |
+
"angle": 0,
|
| 467 |
+
"content": "14609"
|
| 468 |
+
}
|
| 469 |
+
],
|
| 470 |
+
[
|
| 471 |
+
{
|
| 472 |
+
"type": "image",
|
| 473 |
+
"bbox": [
|
| 474 |
+
0.122,
|
| 475 |
+
0.087,
|
| 476 |
+
0.874,
|
| 477 |
+
0.407
|
| 478 |
+
],
|
| 479 |
+
"angle": 0,
|
| 480 |
+
"content": null
|
| 481 |
+
},
|
| 482 |
+
{
|
| 483 |
+
"type": "image_caption",
|
| 484 |
+
"bbox": [
|
| 485 |
+
0.113,
|
| 486 |
+
0.418,
|
| 487 |
+
0.883,
|
| 488 |
+
0.461
|
| 489 |
+
],
|
| 490 |
+
"angle": 0,
|
| 491 |
+
"content": "Figure 1: Performance of the 8 Pythia (Biderman et al., 2023) models at 8 stages over the course of training at the two multiple-choice variants of TRUTHFULQA (Lin et al., 2022) and the 10 multiple-choice winners of the Inverse Scaling Prize (McKenzie et al., 2023b)."
|
| 492 |
+
},
|
| 493 |
+
{
|
| 494 |
+
"type": "table",
|
| 495 |
+
"bbox": [
|
| 496 |
+
0.134,
|
| 497 |
+
0.473,
|
| 498 |
+
0.866,
|
| 499 |
+
0.688
|
| 500 |
+
],
|
| 501 |
+
"angle": 0,
|
| 502 |
+
"content": "<table><tr><td>Task</td><td>Parameters</td><td>Tokens</td><td>Interaction</td></tr><tr><td>Hindsight Neglect</td><td>t(60)=-4.22, p<0.001</td><td>t(60)=-4.69, p<0.001</td><td>t(60)=-2.88, p=0.012</td></tr><tr><td>Into the Unknown</td><td>t(60)=-0.31, p=0.824</td><td>t(60)=2.04, p=0.079</td><td>t(60)=0.02, p=0.986</td></tr><tr><td>Memo Trap</td><td>t(60)=-10.05, p<0.001</td><td>t(60)=-11.34, p<0.001</td><td>t(60)=-9.71, p<0.001</td></tr><tr><td>Modus Tollens</td><td>t(60)=-0.16, p=0.927</td><td>t(60)=-2.13, p=0.071</td><td>t(60)=-1.50, p=0.208</td></tr><tr><td>NeQA</td><td>t(60)=0.79, p=0.559</td><td>t(60)=-0.08, p=0.963</td><td>t(60)=2.45, p=0.034</td></tr><tr><td>Pattern Match Supp.</td><td>t(60)=-3.20, p=0.005</td><td>t(60)=-9.58, p<0.001</td><td>t(60)=-6.37, p<0.001</td></tr><tr><td>Redefine</td><td>t(60)=0.60, p=0.645</td><td>t(60)=-0.79, p=0.559</td><td>t(60)=-1.53, p=0.205</td></tr><tr><td>Repetitive Algebra</td><td>t(60)=-0.49, p=0.706</td><td>t(60)=-2.11, p=0.071</td><td>t(60)=-1.00, p=0.443</td></tr><tr><td>Resisting Correction</td><td>t(60)=5.13, p<0.001</td><td>t(60)=5.63, p<0.001</td><td>t(60)=-1.89, p=0.104</td></tr><tr><td>Sig Figs</td><td>t(60)=-0.59, p=0.645</td><td>t(60)=-0.74, p=0.574</td><td>t(60)=-1.46, p=0.215</td></tr><tr><td>TruthfulQA-MC1</td><td>t(60)=-10.90, p<0.001</td><td>t(60)=-11.45, p<0.001</td><td>t(60)=-2.97, p=0.010</td></tr><tr><td>TruthfulQA-MC2</td><td>t(60)=-24.72, p<0.001</td><td>t(60)=-23.89, p<0.001</td><td>t(60)=-12.02, p<0.001</td></tr></table>"
|
| 503 |
+
},
|
| 504 |
+
{
|
| 505 |
+
"type": "table_caption",
|
| 506 |
+
"bbox": [
|
| 507 |
+
0.113,
|
| 508 |
+
0.697,
|
| 509 |
+
0.885,
|
| 510 |
+
0.756
|
| 511 |
+
],
|
| 512 |
+
"angle": 0,
|
| 513 |
+
"content": "Table 1: Statistical tests carried out on the performance of the Pythia models, testing the effect of (log-transformed) number of parameters, (log-transformed) number of training tokens, and their interaction. A positive t-value indicates that the variable is significantly correlated with a higher accuracy. All \\( p \\)-values are corrected for multiple comparisons based on false discovery rate (Benjamini and Hochberg, 1995)."
|
| 514 |
+
},
|
| 515 |
+
{
|
| 516 |
+
"type": "text",
|
| 517 |
+
"bbox": [
|
| 518 |
+
0.113,
|
| 519 |
+
0.78,
|
| 520 |
+
0.491,
|
| 521 |
+
0.909
|
| 522 |
+
],
|
| 523 |
+
"angle": 0,
|
| 524 |
+
"content": "when focusing on just the two largest models, RE-DEFINE appears to show inverse scaling over the course of training, and the largest (12 billion parameter) model shows inverse scaling during training on REPETITIVE ALGEBRA and RESISTING CORRECTION. These may be a case of emergent inverse scaling (i.e., nonlinearities that cannot be accounted for using linear statistical models), espe"
|
| 525 |
+
},
|
| 526 |
+
{
|
| 527 |
+
"type": "text",
|
| 528 |
+
"bbox": [
|
| 529 |
+
0.509,
|
| 530 |
+
0.78,
|
| 531 |
+
0.885,
|
| 532 |
+
0.828
|
| 533 |
+
],
|
| 534 |
+
"angle": 0,
|
| 535 |
+
"content": "cially in the case of RESISTING CORRECTION, but models with a larger number of parameters would be needed to verify this."
|
| 536 |
+
},
|
| 537 |
+
{
|
| 538 |
+
"type": "title",
|
| 539 |
+
"bbox": [
|
| 540 |
+
0.509,
|
| 541 |
+
0.84,
|
| 542 |
+
0.637,
|
| 543 |
+
0.854
|
| 544 |
+
],
|
| 545 |
+
"angle": 0,
|
| 546 |
+
"content": "4 Discussion"
|
| 547 |
+
},
|
| 548 |
+
{
|
| 549 |
+
"type": "text",
|
| 550 |
+
"bbox": [
|
| 551 |
+
0.508,
|
| 552 |
+
0.865,
|
| 553 |
+
0.885,
|
| 554 |
+
0.913
|
| 555 |
+
],
|
| 556 |
+
"angle": 0,
|
| 557 |
+
"content": "We find clear evidence of inverse scaling over the course of training on TRUTHFULQA-MC1, TRUTHFULQA-MC2, HINDSIGHT NEGLECT,"
|
| 558 |
+
},
|
| 559 |
+
{
|
| 560 |
+
"type": "page_number",
|
| 561 |
+
"bbox": [
|
| 562 |
+
0.478,
|
| 563 |
+
0.928,
|
| 564 |
+
0.527,
|
| 565 |
+
0.941
|
| 566 |
+
],
|
| 567 |
+
"angle": 0,
|
| 568 |
+
"content": "14610"
|
| 569 |
+
}
|
| 570 |
+
],
|
| 571 |
+
[
|
| 572 |
+
{
|
| 573 |
+
"type": "text",
|
| 574 |
+
"bbox": [
|
| 575 |
+
0.113,
|
| 576 |
+
0.085,
|
| 577 |
+
0.489,
|
| 578 |
+
0.213
|
| 579 |
+
],
|
| 580 |
+
"angle": 0,
|
| 581 |
+
"content": "MEMO TRAP, and PATTERN MATCH SUPPRESSION, as well as possible evidence of the same phenomenon on REDEFINE, REPETITIVE ALGEBRA, RESISTING CORRECTION for the largest model or models. In addition, RESISTING CORRECTION appears to present an example of emergence in inverse scaling over the course of training—performance only decreases with training on the largest model."
|
| 582 |
+
},
|
| 583 |
+
{
|
| 584 |
+
"type": "text",
|
| 585 |
+
"bbox": [
|
| 586 |
+
0.117,
|
| 587 |
+
0.214,
|
| 588 |
+
0.49,
|
| 589 |
+
0.502
|
| 590 |
+
],
|
| 591 |
+
"angle": 0,
|
| 592 |
+
"content": "At the time of initial writing, this study was the first to have identified an example of inverse scaling over the course of pretraining. Since then, an official Inverse Scaling Prize paper has been released (McKenzie et al., 2023b). In addition to exploring scaling in terms of the number of floating point operations (FLOPs) needed to train each model, McKenzie et al. (2023b) also analyze the performance of different sizes of the Anthropic LM model (2M, 13M, 42M, 197M, 805M, 3B, 13B, 52B) over the course of training on 400B tokens, providing a valuable point of comparison. On the whole, their results are similar to ours over the same scales. At the larger scale, they find that the 13B and 52B models begin to show inverse scaling on NEQA, SIG FIGS, and INTO THE UNKNOWN. Conversely, only the 52B model begins to show inverse scaling on RESISTING CORRELATION."
|
| 593 |
+
},
|
| 594 |
+
{
|
| 595 |
+
"type": "text",
|
| 596 |
+
"bbox": [
|
| 597 |
+
0.113,
|
| 598 |
+
0.504,
|
| 599 |
+
0.489,
|
| 600 |
+
0.631
|
| 601 |
+
],
|
| 602 |
+
"angle": 0,
|
| 603 |
+
"content": "McKenzie et al. (2023b) also classify the tasks into different types.\\(^{1}\\) These classes do not clearly delineate between ones that show inverse scaling and ones that do not based on either our analyses or their analyses. Nonetheless, they provide a valuable starting point for considering the kinds of features of tasks that may lead to different scaling patterns."
|
| 604 |
+
},
|
| 605 |
+
{
|
| 606 |
+
"type": "text",
|
| 607 |
+
"bbox": [
|
| 608 |
+
0.113,
|
| 609 |
+
0.633,
|
| 610 |
+
0.49,
|
| 611 |
+
0.842
|
| 612 |
+
],
|
| 613 |
+
"angle": 0,
|
| 614 |
+
"content": "Indeed, the question of whether there are consistent scaling patterns based on task features remains an open one. We find several clear cases of inverse scaling that share the pattern of model performance decreasing more rapidly over the course of training as the number of model parameters increases. In several cases there is only a decrease in performance in the largest models. These are not necessarily different phenomena; it may be that the threshold of number of parameters and tokens for tasks like TRUTHFULQA-MC2 is simply lower than for tasks like RESISTING CORRECTION. Additionally, it is not clear whether the main pat"
|
| 615 |
+
},
|
| 616 |
+
{
|
| 617 |
+
"type": "text",
|
| 618 |
+
"bbox": [
|
| 619 |
+
0.508,
|
| 620 |
+
0.085,
|
| 621 |
+
0.885,
|
| 622 |
+
0.246
|
| 623 |
+
],
|
| 624 |
+
"angle": 0,
|
| 625 |
+
"content": "tern of inverse scaling that we identify—namely, a greater decrease in performance during training in the largest models—is a general feature of inverse scaling, or only due to the fact that we use tasks already known to show inverse scaling as models increase in number of parameters. Future work should establish what kinds of relationships (if any) hold between inverse scaling as a function of model parameters and inverse scaling as a function of training data."
|
| 626 |
+
},
|
| 627 |
+
{
|
| 628 |
+
"type": "text",
|
| 629 |
+
"bbox": [
|
| 630 |
+
0.508,
|
| 631 |
+
0.247,
|
| 632 |
+
0.885,
|
| 633 |
+
0.488
|
| 634 |
+
],
|
| 635 |
+
"angle": 0,
|
| 636 |
+
"content": "Perhaps the main takeaway of the present study is that of instability in model performance. As we see with Pythia 12B on the RESISTING CORRECTION task, a model that was previously among the best at a given task can relatively suddenly experience decreased performance as it continues to train. Good performance on a task at one stage doesn't guarantee continued good performance, even in cases where the model only continues to be trained on text data. This highlights the importance of regular and rigorous evaluation. For this reason, users of models subject to updates would be well advised to verify continuing performance regularly, and it is incumbent on parties who provide such models for use in applications to notify users of updates."
|
| 637 |
+
},
|
| 638 |
+
{
|
| 639 |
+
"type": "title",
|
| 640 |
+
"bbox": [
|
| 641 |
+
0.51,
|
| 642 |
+
0.499,
|
| 643 |
+
0.651,
|
| 644 |
+
0.515
|
| 645 |
+
],
|
| 646 |
+
"angle": 0,
|
| 647 |
+
"content": "5 Conclusions"
|
| 648 |
+
},
|
| 649 |
+
{
|
| 650 |
+
"type": "text",
|
| 651 |
+
"bbox": [
|
| 652 |
+
0.508,
|
| 653 |
+
0.524,
|
| 654 |
+
0.884,
|
| 655 |
+
0.653
|
| 656 |
+
],
|
| 657 |
+
"angle": 0,
|
| 658 |
+
"content": "In this study, we set out to investigate whether inverse scaling can occur not only as a function of number of model parameters, but also number of training tokens. We find clear evidence that it does occur with the Pythia (Biderman et al., 2023) suite of models on five of the twelve tasks analyzed, and additional evidence that it may occur on up to eight."
|
| 659 |
+
},
|
| 660 |
+
{
|
| 661 |
+
"type": "title",
|
| 662 |
+
"bbox": [
|
| 663 |
+
0.51,
|
| 664 |
+
0.665,
|
| 665 |
+
0.617,
|
| 666 |
+
0.68
|
| 667 |
+
],
|
| 668 |
+
"angle": 0,
|
| 669 |
+
"content": "Limitations"
|
| 670 |
+
},
|
| 671 |
+
{
|
| 672 |
+
"type": "text",
|
| 673 |
+
"bbox": [
|
| 674 |
+
0.508,
|
| 675 |
+
0.69,
|
| 676 |
+
0.885,
|
| 677 |
+
0.915
|
| 678 |
+
],
|
| 679 |
+
"angle": 0,
|
| 680 |
+
"content": "The main limitations of this study relate to the models used and tasks evaluated. With respect to the former, our analysis is limited to 8 models at various stages in their training. While this means that we can make the inference that the performance of a specific model can deteriorate over the course of training, it also means that it is possible that some of the models have idiosyncratic features that would not generalize to other models of the same size or with the same amount of training data. Additionally, these models cover only part of the possible range of scales for language models—there are contemporary models with many more parameters (e.g., 540 billion parameters in the case of the"
|
| 681 |
+
},
|
| 682 |
+
{
|
| 683 |
+
"type": "page_footnote",
|
| 684 |
+
"bbox": [
|
| 685 |
+
0.113,
|
| 686 |
+
0.849,
|
| 687 |
+
0.49,
|
| 688 |
+
0.911
|
| 689 |
+
],
|
| 690 |
+
"angle": 0,
|
| 691 |
+
"content": "\\(^{1}\\)Strong Prior (RESISTING CORRECTION, MEMO TRAP, REDEFINE), Unwanted Imitation (MODUS TOLLENS, TRUTHFULQA), Distractor Task (PATTERN MATCH SUPPRESSION, NEQA, SIG FIGS, INTO THE UNKNOWN), and Spurious Few-Shot (HINDSIGHT NEGLECT, REPETITIVE ALGEBRA)."
|
| 692 |
+
},
|
| 693 |
+
{
|
| 694 |
+
"type": "page_number",
|
| 695 |
+
"bbox": [
|
| 696 |
+
0.478,
|
| 697 |
+
0.928,
|
| 698 |
+
0.525,
|
| 699 |
+
0.941
|
| 700 |
+
],
|
| 701 |
+
"angle": 0,
|
| 702 |
+
"content": "14611"
|
| 703 |
+
}
|
| 704 |
+
],
|
| 705 |
+
[
|
| 706 |
+
{
|
| 707 |
+
"type": "text",
|
| 708 |
+
"bbox": [
|
| 709 |
+
0.113,
|
| 710 |
+
0.085,
|
| 711 |
+
0.489,
|
| 712 |
+
0.132
|
| 713 |
+
],
|
| 714 |
+
"angle": 0,
|
| 715 |
+
"content": "largest PaLM; Chowdhery et al., 2022) and trained on more data (e.g., 2 trillion tokens in the case of LLaMA 2; Touvron et al., 2023b)."
|
| 716 |
+
},
|
| 717 |
+
{
|
| 718 |
+
"type": "text",
|
| 719 |
+
"bbox": [
|
| 720 |
+
0.117,
|
| 721 |
+
0.134,
|
| 722 |
+
0.49,
|
| 723 |
+
0.31
|
| 724 |
+
],
|
| 725 |
+
"angle": 0,
|
| 726 |
+
"content": "Similarly, our analysis is limited to the two multiple-choice versions of TRUTHFULQA and the ten multiple-choice Inverse Scaling Prize tasks. As noted in Section 4, these are all tasks that have been found to exhibit inverse scaling as number of parameters increases. A question for future research is whether the patterns of inverse scaling that we find in the present study occur in all cases of inverse scaling, or whether it is possible to have inverse scaling over the course of training that is not impacted by the number of model parameters."
|
| 727 |
+
},
|
| 728 |
+
{
|
| 729 |
+
"type": "title",
|
| 730 |
+
"bbox": [
|
| 731 |
+
0.114,
|
| 732 |
+
0.321,
|
| 733 |
+
0.266,
|
| 734 |
+
0.336
|
| 735 |
+
],
|
| 736 |
+
"angle": 0,
|
| 737 |
+
"content": "Ethics Statement"
|
| 738 |
+
},
|
| 739 |
+
{
|
| 740 |
+
"type": "text",
|
| 741 |
+
"bbox": [
|
| 742 |
+
0.113,
|
| 743 |
+
0.346,
|
| 744 |
+
0.489,
|
| 745 |
+
0.489
|
| 746 |
+
],
|
| 747 |
+
"angle": 0,
|
| 748 |
+
"content": "Our work complies with the ACL Ethics Policy. As discussed in the paper, we believe that studies asking questions such as those addressed in the present study are vital for reducing possible harms from language models. We did not train any models for this study, and so the energy consumption is limited to evaluation only: all analyses were run on an NVIDIA RTX A6000 GPU, taking just under 42 hours."
|
| 749 |
+
},
|
| 750 |
+
{
|
| 751 |
+
"type": "title",
|
| 752 |
+
"bbox": [
|
| 753 |
+
0.114,
|
| 754 |
+
0.502,
|
| 755 |
+
0.287,
|
| 756 |
+
0.518
|
| 757 |
+
],
|
| 758 |
+
"angle": 0,
|
| 759 |
+
"content": "Acknowledgements"
|
| 760 |
+
},
|
| 761 |
+
{
|
| 762 |
+
"type": "text",
|
| 763 |
+
"bbox": [
|
| 764 |
+
0.113,
|
| 765 |
+
0.526,
|
| 766 |
+
0.49,
|
| 767 |
+
0.653
|
| 768 |
+
],
|
| 769 |
+
"angle": 0,
|
| 770 |
+
"content": "We would like to thank EleutherAI for making the Pythia suite of language models and the Language Model Evaluation Harness available, as well as all those involved with the Inverse Scaling Prize for creating and releasing the tasks. Models were evaluated using hardware provided by the NVIDIA Corporation as part of an NVIDIA Academic Hardware Grant."
|
| 771 |
+
},
|
| 772 |
+
{
|
| 773 |
+
"type": "title",
|
| 774 |
+
"bbox": [
|
| 775 |
+
0.115,
|
| 776 |
+
0.682,
|
| 777 |
+
0.214,
|
| 778 |
+
0.696
|
| 779 |
+
],
|
| 780 |
+
"angle": 0,
|
| 781 |
+
"content": "References"
|
| 782 |
+
},
|
| 783 |
+
{
|
| 784 |
+
"type": "ref_text",
|
| 785 |
+
"bbox": [
|
| 786 |
+
0.116,
|
| 787 |
+
0.704,
|
| 788 |
+
0.49,
|
| 789 |
+
0.797
|
| 790 |
+
],
|
| 791 |
+
"angle": 0,
|
| 792 |
+
"content": "Emily M. Bender, Timnit Gebru, Angelina McMillan-Major, and Shmargaret Shmitchell. 2021. On the Dangers of Stochastic Parrots: Can Language Models Be Too Big? In Proceedings of the 2021 ACM Conference on Fairness, Accountability, and Transparency, FAccT '21, pages 610-623, New York, NY, USA. Association for Computing Machinery."
|
| 793 |
+
},
|
| 794 |
+
{
|
| 795 |
+
"type": "ref_text",
|
| 796 |
+
"bbox": [
|
| 797 |
+
0.117,
|
| 798 |
+
0.805,
|
| 799 |
+
0.49,
|
| 800 |
+
0.87
|
| 801 |
+
],
|
| 802 |
+
"angle": 0,
|
| 803 |
+
"content": "Yoav Benjamini and Yosef Hochberg. 1995. Controlling the False Discovery Rate: A Practical and Powerful Approach to Multiple Testing. Journal of the Royal Statistical Society. Series B (Methodological), 57(1):289-300."
|
| 804 |
+
},
|
| 805 |
+
{
|
| 806 |
+
"type": "ref_text",
|
| 807 |
+
"bbox": [
|
| 808 |
+
0.117,
|
| 809 |
+
0.879,
|
| 810 |
+
0.49,
|
| 811 |
+
0.918
|
| 812 |
+
],
|
| 813 |
+
"angle": 0,
|
| 814 |
+
"content": "Stella Biderman, Hailey Schoelkopf, Quentin Gregory Anthony, Herbie Bradley, Kyle O'Brien, Eric Hallahan, Mohammad Aflah Khan, Shivanshu Purohit,"
|
| 815 |
+
},
|
| 816 |
+
{
|
| 817 |
+
"type": "list",
|
| 818 |
+
"bbox": [
|
| 819 |
+
0.116,
|
| 820 |
+
0.704,
|
| 821 |
+
0.49,
|
| 822 |
+
0.918
|
| 823 |
+
],
|
| 824 |
+
"angle": 0,
|
| 825 |
+
"content": null
|
| 826 |
+
},
|
| 827 |
+
{
|
| 828 |
+
"type": "ref_text",
|
| 829 |
+
"bbox": [
|
| 830 |
+
0.527,
|
| 831 |
+
0.086,
|
| 832 |
+
0.885,
|
| 833 |
+
0.166
|
| 834 |
+
],
|
| 835 |
+
"angle": 0,
|
| 836 |
+
"content": "Usvsn Sai Prashanth, Edward Raff, Aviya Skowron, Lintang Sutawika, and Oskar Van Der Wal. 2023. Pythia: A Suite for Analyzing Large Language Models Across Training and Scaling. In Proceedings of the 40th International Conference on Machine Learning, pages 2397-2430. PMLR."
|
| 837 |
+
},
|
| 838 |
+
{
|
| 839 |
+
"type": "ref_text",
|
| 840 |
+
"bbox": [
|
| 841 |
+
0.511,
|
| 842 |
+
0.175,
|
| 843 |
+
0.885,
|
| 844 |
+
0.268
|
| 845 |
+
],
|
| 846 |
+
"angle": 0,
|
| 847 |
+
"content": "Samuel R. Bowman and George Dahl. 2021. What Will it Take to Fix Benchmarking in Natural Language Understanding? In Proceedings of the 2021 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pages 4843-4855, Online. Association for Computational Linguistics."
|
| 848 |
+
},
|
| 849 |
+
{
|
| 850 |
+
"type": "ref_text",
|
| 851 |
+
"bbox": [
|
| 852 |
+
0.512,
|
| 853 |
+
0.277,
|
| 854 |
+
0.885,
|
| 855 |
+
0.459
|
| 856 |
+
],
|
| 857 |
+
"angle": 0,
|
| 858 |
+
"content": "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."
|
| 859 |
+
},
|
| 860 |
+
{
|
| 861 |
+
"type": "ref_text",
|
| 862 |
+
"bbox": [
|
| 863 |
+
0.512,
|
| 864 |
+
0.469,
|
| 865 |
+
0.885,
|
| 866 |
+
0.771
|
| 867 |
+
],
|
| 868 |
+
"angle": 0,
|
| 869 |
+
"content": "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 Rao, Parker Barnes, Yi Tay, Noam Shazeer, Vinodkumar Prabhakaran, Emily Reif, Nan Du, Ben 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 Moreira, Rewon Child, Oleksandr Polozov, Katherine Lee, Zongwei Zhou, Xuezhi Wang, Brennan Saeta, Mark Diaz, Orhan First, Michele Catasta, Jason Wei, Kathy Meier-Hellstern, Douglas Eck, Jeff Dean, Slav Petrov, and Noah Fiedel. 2022. PaLM: Scaling Language Modeling with Pathways."
|
| 870 |
+
},
|
| 871 |
+
{
|
| 872 |
+
"type": "ref_text",
|
| 873 |
+
"bbox": [
|
| 874 |
+
0.512,
|
| 875 |
+
0.78,
|
| 876 |
+
0.885,
|
| 877 |
+
0.911
|
| 878 |
+
],
|
| 879 |
+
"angle": 0,
|
| 880 |
+
"content": "Aidan Clark, Diego De Las Casas, Aurelia Guy, Arthur Mensch, Michela Paganini, Jordan Hoffmann, Bogdan Damoc, Blake Hechtman, Trevor Cai, Sebastian Borgeaud, George Bm Van Den Driessche, Eliza Rutherford, Tom Hennigan, Matthew J. Johnson, Albin Cassirer, Chris Jones, Elena Buchatskaya, David Budden, Laurent Sifre, Simon Osindero, Oriol Vinyals, Marc'Aurelio Ranzato, Jack Rae, Erich Elsen, Koray Kavukcuoglu, and Karen Simonyan. 2022. Unified Scaling Laws for Routed Language"
|
| 881 |
+
},
|
| 882 |
+
{
|
| 883 |
+
"type": "list",
|
| 884 |
+
"bbox": [
|
| 885 |
+
0.511,
|
| 886 |
+
0.086,
|
| 887 |
+
0.885,
|
| 888 |
+
0.911
|
| 889 |
+
],
|
| 890 |
+
"angle": 0,
|
| 891 |
+
"content": null
|
| 892 |
+
},
|
| 893 |
+
{
|
| 894 |
+
"type": "page_number",
|
| 895 |
+
"bbox": [
|
| 896 |
+
0.478,
|
| 897 |
+
0.929,
|
| 898 |
+
0.526,
|
| 899 |
+
0.941
|
| 900 |
+
],
|
| 901 |
+
"angle": 0,
|
| 902 |
+
"content": "14612"
|
| 903 |
+
}
|
| 904 |
+
],
|
| 905 |
+
[
|
| 906 |
+
{
|
| 907 |
+
"type": "ref_text",
|
| 908 |
+
"bbox": [
|
| 909 |
+
0.135,
|
| 910 |
+
0.086,
|
| 911 |
+
0.489,
|
| 912 |
+
0.125
|
| 913 |
+
],
|
| 914 |
+
"angle": 0,
|
| 915 |
+
"content": "Models. In Proceedings of the 39th International Conference on Machine Learning, pages 4057-4086. PMLR."
|
| 916 |
+
},
|
| 917 |
+
{
|
| 918 |
+
"type": "ref_text",
|
| 919 |
+
"bbox": [
|
| 920 |
+
0.117,
|
| 921 |
+
0.136,
|
| 922 |
+
0.488,
|
| 923 |
+
0.292
|
| 924 |
+
],
|
| 925 |
+
"angle": 0,
|
| 926 |
+
"content": "Nan Du, Yanping Huang, Andrew M. Dai, Simon Tong, Dmitry Lepikhin, Yuanzhong Xu, Maxim Krikun, Yanqi Zhou, Adams Wei Yu, Orhan Firat, Barret Zoph, Liam Fedus, Maarten P. Bosma, Zongwei Zhou, Tao Wang, Emma Wang, Kellie Webster, Marie Pellat, Kevin Robinson, Kathleen Meier-Hellstern, Toju Duke, Lucas Dixon, Kun Zhang, Quoc Le, Yonghui Wu, Zhifeng Chen, and Claire Cui. 2022. GLaM: Efficient Scaling of Language Models with Mixture-of-Experts. In Proceedings of the 39th International Conference on Machine Learning, pages 5547-5569. PMLR."
|
| 927 |
+
},
|
| 928 |
+
{
|
| 929 |
+
"type": "ref_text",
|
| 930 |
+
"bbox": [
|
| 931 |
+
0.117,
|
| 932 |
+
0.303,
|
| 933 |
+
0.488,
|
| 934 |
+
0.485
|
| 935 |
+
],
|
| 936 |
+
"angle": 0,
|
| 937 |
+
"content": "Deep Ganguli, Liane Lovitt, Jackson Kernion, Amanda Askell, Yuntao Bai, Saurav Kadavath, Ben Mann, Ethan Perez, Nicholas Schiefer, Kamal Ndousse, Andy Jones, Sam Bowman, Anna Chen, Tom Conerly, Nova DasSarma, Dawn Drain, Nelson Elhage, Sheer El-Showk, Stanislav Fort, Zac Hatfield-Dodds, Tom Henighan, Danny Hernandez, Tristan Hume, Josh Jacobson, Scott Johnston, Shauna Kravec, Catherine Olsson, Sam Ringer, Eli Tran-Johnson, Dario Amodei, Tom Brown, Nicholas Joseph, Sam McCandlish, Chris Olah, Jared Kaplan, and Jack Clark. 2022. Red Teaming Language Models to Reduce Harms: Methods, Scaling Behaviors, and Lessons Learned."
|
| 938 |
+
},
|
| 939 |
+
{
|
| 940 |
+
"type": "ref_text",
|
| 941 |
+
"bbox": [
|
| 942 |
+
0.117,
|
| 943 |
+
0.495,
|
| 944 |
+
0.488,
|
| 945 |
+
0.575
|
| 946 |
+
],
|
| 947 |
+
"angle": 0,
|
| 948 |
+
"content": "Leo Gao, Stella Biderman, Sid Black, Laurence Golding, Travis Hoppe, Charles Foster, Jason Phang, Horace He, Anish Thite, Noa Nabeshima, Shawn Presser, and Connor Leahy. 2020. The Pile: An 800GB Dataset of Diverse Text for Language Modeling."
|
| 949 |
+
},
|
| 950 |
+
{
|
| 951 |
+
"type": "ref_text",
|
| 952 |
+
"bbox": [
|
| 953 |
+
0.117,
|
| 954 |
+
0.584,
|
| 955 |
+
0.488,
|
| 956 |
+
0.675
|
| 957 |
+
],
|
| 958 |
+
"angle": 0,
|
| 959 |
+
"content": "Leo Gao, Jonathan Tow, Stella Biderman, Sid Black, Anthony DiPofi, Charles Foster, Laurence Golding, Jeffrey Hsu, Kyle McDonell, Niklas Muennighoff, Jason Phang, Laria Reynolds, Eric Tang, Anish Thite, Ben Wang, Kevin Wang, and Andy Zou. 2021. A framework for few-shot language model evaluation. Zenodo."
|
| 960 |
+
},
|
| 961 |
+
{
|
| 962 |
+
"type": "ref_text",
|
| 963 |
+
"bbox": [
|
| 964 |
+
0.117,
|
| 965 |
+
0.686,
|
| 966 |
+
0.488,
|
| 967 |
+
0.752
|
| 968 |
+
],
|
| 969 |
+
"angle": 0,
|
| 970 |
+
"content": "Dan Hendrycks, Collin Burns, Steven Basart, Andy Zou, Mantas Mazeika, Dawn Song, and Jacob Steinhardt. 2021. Measuring Massive Multitask Language Understanding. In International Conference on Learning Representations."
|
| 971 |
+
},
|
| 972 |
+
{
|
| 973 |
+
"type": "ref_text",
|
| 974 |
+
"bbox": [
|
| 975 |
+
0.117,
|
| 976 |
+
0.762,
|
| 977 |
+
0.488,
|
| 978 |
+
0.904
|
| 979 |
+
],
|
| 980 |
+
"angle": 0,
|
| 981 |
+
"content": "Jordan Hoffmann, Sebastian Borgeaud, Arthur Mensch, Elena Buchatskaya, Trevor Cai, Eliza Rutherford, Diego de las Casas, Lisa Anne Hendricks, Johannes Welbl, Aidan Clark, Tom Hennigan, Eric Noland, Katherine Millican, George van den Driessche, Bogdan Damoc, Aurelia Guy, Simon Osindero, Karen Simonyan, Erich Elsen, Oriol Vinyals, Jack William Rae, and Laurent Sifre. 2022. An empirical analysis of compute-optimal large language model training. In Advances in Neural Information Processing Systems."
|
| 982 |
+
},
|
| 983 |
+
{
|
| 984 |
+
"type": "list",
|
| 985 |
+
"bbox": [
|
| 986 |
+
0.117,
|
| 987 |
+
0.086,
|
| 988 |
+
0.489,
|
| 989 |
+
0.904
|
| 990 |
+
],
|
| 991 |
+
"angle": 0,
|
| 992 |
+
"content": null
|
| 993 |
+
},
|
| 994 |
+
{
|
| 995 |
+
"type": "ref_text",
|
| 996 |
+
"bbox": [
|
| 997 |
+
0.511,
|
| 998 |
+
0.086,
|
| 999 |
+
0.882,
|
| 1000 |
+
0.152
|
| 1001 |
+
],
|
| 1002 |
+
"angle": 0,
|
| 1003 |
+
"content": "Joel Jang, Seonghyeon Ye, and Minjoon Seo. 2023. Can Large Language Models Truly Understand Prompts? A Case Study with Negated Prompts. In Proceedings of The 1st Transfer Learning for Natural Language Processing Workshop, pages 52-62. PMLR."
|
| 1004 |
+
},
|
| 1005 |
+
{
|
| 1006 |
+
"type": "ref_text",
|
| 1007 |
+
"bbox": [
|
| 1008 |
+
0.511,
|
| 1009 |
+
0.162,
|
| 1010 |
+
0.882,
|
| 1011 |
+
0.215
|
| 1012 |
+
],
|
| 1013 |
+
"angle": 0,
|
| 1014 |
+
"content": "Jared Kaplan, Sam McCandlish, Tom Henighan, Tom B. Brown, Benjamin Chess, Rewon Child, Scott Gray, Alec Radford, Jeffrey Wu, and Dario Amodei. 2020. Scaling Laws for Neural Language Models."
|
| 1015 |
+
},
|
| 1016 |
+
{
|
| 1017 |
+
"type": "ref_text",
|
| 1018 |
+
"bbox": [
|
| 1019 |
+
0.511,
|
| 1020 |
+
0.224,
|
| 1021 |
+
0.882,
|
| 1022 |
+
0.303
|
| 1023 |
+
],
|
| 1024 |
+
"angle": 0,
|
| 1025 |
+
"content": "Stephanie Lin, Jacob Hilton, and Owain Evans. 2022. TruthfulQA: Measuring How Models Mimic Human Falsehoods. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 3214-3252, Dublin, Ireland. Association for Computational Linguistics."
|
| 1026 |
+
},
|
| 1027 |
+
{
|
| 1028 |
+
"type": "ref_text",
|
| 1029 |
+
"bbox": [
|
| 1030 |
+
0.511,
|
| 1031 |
+
0.313,
|
| 1032 |
+
0.882,
|
| 1033 |
+
0.366
|
| 1034 |
+
],
|
| 1035 |
+
"angle": 0,
|
| 1036 |
+
"content": "Ian McKenzie, Alexander Lyzhov, Alicia Parrish, Ameya Prabhu, Aaron Mueller, Najoung Kim, Sam Bowman, and Ethan Perez. 2022a. The inverse scaling prize."
|
| 1037 |
+
},
|
| 1038 |
+
{
|
| 1039 |
+
"type": "ref_text",
|
| 1040 |
+
"bbox": [
|
| 1041 |
+
0.511,
|
| 1042 |
+
0.376,
|
| 1043 |
+
0.882,
|
| 1044 |
+
0.429
|
| 1045 |
+
],
|
| 1046 |
+
"angle": 0,
|
| 1047 |
+
"content": "Ian McKenzie, Alexander Lyzhov, Alicia Parrish, Ameya Prabhu, Aaron Mueller, Najoung Kim, Sam Bowman, and Ethan Perez. 2022b. Inverse scaling prize: First round winners."
|
| 1048 |
+
},
|
| 1049 |
+
{
|
| 1050 |
+
"type": "ref_text",
|
| 1051 |
+
"bbox": [
|
| 1052 |
+
0.511,
|
| 1053 |
+
0.439,
|
| 1054 |
+
0.882,
|
| 1055 |
+
0.491
|
| 1056 |
+
],
|
| 1057 |
+
"angle": 0,
|
| 1058 |
+
"content": "Ian McKenzie, Alexander Lyzhov, Alicia Parrish, Ameya Prabhu, Aaron Mueller, Najoung Kim, Sam Bowman, and Ethan Perez. 2023a. Inverse scaling prize: Second round winners."
|
| 1059 |
+
},
|
| 1060 |
+
{
|
| 1061 |
+
"type": "ref_text",
|
| 1062 |
+
"bbox": [
|
| 1063 |
+
0.511,
|
| 1064 |
+
0.501,
|
| 1065 |
+
0.882,
|
| 1066 |
+
0.633
|
| 1067 |
+
],
|
| 1068 |
+
"angle": 0,
|
| 1069 |
+
"content": "Ian R. McKenzie, Alexander Lyzhov, Michael Pieler, Alicia Parrish, Aaron Mueller, Ameya Prabhu, Euan McLean, Aaron Kirtland, Alexis Ross, Alisa Liu, Andrew Gritsevskiy, Daniel Wurgaft, Derik Kauffman, Gabriel Recchia, Jiacheng Liu, Joe Cavanagh, Max Weiss, Sicong Huang, The Floating Droid, Tom Tseng, Tomasz Korbak, Xudong Shen, Yuhui Zhang, Zhengping Zhou, Najoung Kim, Samuel R. Bowman, and Ethan Perez. 2023b. Inverse Scaling: When Bigger Isn't Better."
|
| 1070 |
+
},
|
| 1071 |
+
{
|
| 1072 |
+
"type": "ref_text",
|
| 1073 |
+
"bbox": [
|
| 1074 |
+
0.511,
|
| 1075 |
+
0.643,
|
| 1076 |
+
0.882,
|
| 1077 |
+
0.721
|
| 1078 |
+
],
|
| 1079 |
+
"angle": 0,
|
| 1080 |
+
"content": "James Michaelov and Benjamin Bergen. 2023. Rarely a problem? Language models exhibit inverse scaling in their predictions following few-type quantifiers. In *Findings of the Association for Computational Linguistics: ACL* 2023, pages 14162-14174, Toronto, Canada. Association for Computational Linguistics."
|
| 1081 |
+
},
|
| 1082 |
+
{
|
| 1083 |
+
"type": "ref_text",
|
| 1084 |
+
"bbox": [
|
| 1085 |
+
0.511,
|
| 1086 |
+
0.731,
|
| 1087 |
+
0.882,
|
| 1088 |
+
0.77
|
| 1089 |
+
],
|
| 1090 |
+
"angle": 0,
|
| 1091 |
+
"content": "Ethan Perez, Ian McKenzie, and Sam Bowman. 2022. Announcing the Inverse Scaling Prize ($250k Prize Pool)."
|
| 1092 |
+
},
|
| 1093 |
+
{
|
| 1094 |
+
"type": "ref_text",
|
| 1095 |
+
"bbox": [
|
| 1096 |
+
0.511,
|
| 1097 |
+
0.78,
|
| 1098 |
+
0.882,
|
| 1099 |
+
0.912
|
| 1100 |
+
],
|
| 1101 |
+
"angle": 0,
|
| 1102 |
+
"content": "Jack W. Rae, Sebastian Borgeaud, Trevor Cai, Katie Millican, Jordan Hoffmann, Francis Song, John Aslanides, Sarah Henderson, Roman Ring, Susannah Young, Eliza Rutherford, Tom Hennigan, Jacob Menick, Albin Cassirer, Richard Powell, George van den Driessche, Lisa Anne Hendricks, Maribeth Rauh, Po-Sen Huang, Amelia Glaese, Johannes Welbl, Sumanth Dathathri, Saffron Huang, Jonathan Uesato, John Mellor, Irina Higgins, Antonia Creswell, Nat McAleese, Amy Wu, Erich Olsen,"
|
| 1103 |
+
},
|
| 1104 |
+
{
|
| 1105 |
+
"type": "list",
|
| 1106 |
+
"bbox": [
|
| 1107 |
+
0.511,
|
| 1108 |
+
0.086,
|
| 1109 |
+
0.882,
|
| 1110 |
+
0.912
|
| 1111 |
+
],
|
| 1112 |
+
"angle": 0,
|
| 1113 |
+
"content": null
|
| 1114 |
+
},
|
| 1115 |
+
{
|
| 1116 |
+
"type": "page_number",
|
| 1117 |
+
"bbox": [
|
| 1118 |
+
0.478,
|
| 1119 |
+
0.929,
|
| 1120 |
+
0.525,
|
| 1121 |
+
0.941
|
| 1122 |
+
],
|
| 1123 |
+
"angle": 0,
|
| 1124 |
+
"content": "14613"
|
| 1125 |
+
}
|
| 1126 |
+
],
|
| 1127 |
+
[
|
| 1128 |
+
{
|
| 1129 |
+
"type": "text",
|
| 1130 |
+
"bbox": [
|
| 1131 |
+
0.133,
|
| 1132 |
+
0.086,
|
| 1133 |
+
0.49,
|
| 1134 |
+
0.335
|
| 1135 |
+
],
|
| 1136 |
+
"angle": 0,
|
| 1137 |
+
"content": "Siddhant Jayakumar, Elena Buchatskaya, David Budden, Esme Sutherland, Karen Simonyan, Michela Paganini, Laurent Sifre, Lena Martens, Xiang Lorraine Li, Adhiguna Kuncoro, Aida Nematzadeh, Elena Gribovskaya, Domenic Donato, Angeliki Lazaridou, Arthur Mensch, Jean-Baptiste Lespiau, Maria Tsimpoukelli, Nikolai Grigorev, Doug Fritz, Thibault Sotiaux, Mantas Pajarskas, Toby Pohlen, Zhitao Gong, Daniel Toyama, Cyprien de Masson d'Autume, Yujia Li, Tayfun Terzi, Vladimir Mikulik, Igor Babuschkin, Aidan Clark, Diego de Las Casas, Aurelia Guy, Chris Jones, James Bradbury, Matthew Johnson, Blake Hechtman, Laura Weidinger, Jason Gabriel, William Isaac, Ed Lockhart, Simon Osindero, Laura Rimell, Chris Dyer, Oriol Vinyals, Kareem Ayoub, Jeff Stanway, Lorrayne Bennett, Demis Hassabis, Koray Kavukcuoglu, and Geoffrey Irving. 2022. Scaling Language Models: Methods, Analysis & Insights from Training Gopher."
|
| 1138 |
+
},
|
| 1139 |
+
{
|
| 1140 |
+
"type": "text",
|
| 1141 |
+
"bbox": [
|
| 1142 |
+
0.116,
|
| 1143 |
+
0.344,
|
| 1144 |
+
0.49,
|
| 1145 |
+
0.412
|
| 1146 |
+
],
|
| 1147 |
+
"angle": 0,
|
| 1148 |
+
"content": "Deborah Raji, Emily Denton, Emily M. Bender, Alex Hanna, and Amandalynne Paullada. 2021. AI and the Everything in the Whole Wide World Benchmark. Proceedings of the Neural Information Processing Systems Track on Datasets and Benchmarks, 1."
|
| 1149 |
+
},
|
| 1150 |
+
{
|
| 1151 |
+
"type": "text",
|
| 1152 |
+
"bbox": [
|
| 1153 |
+
0.116,
|
| 1154 |
+
0.419,
|
| 1155 |
+
0.49,
|
| 1156 |
+
0.916
|
| 1157 |
+
],
|
| 1158 |
+
"angle": 0,
|
| 1159 |
+
"content": "Aarohi Srivastava, Abhinav Rastogi, Abhishek Rao, Abu Awal Md Shoeb, Abubakar Abid, Adam Fisch, Adam R. Brown, Adam Santoro, Aditya Gupta, Adrià Garriga-Alonso, Agnieszka Kluska, Aitor Lewkowycz, Akshit Agarwal, Alethea Power, Alex Ray, Alex Warstadt, Alexander W. Kocurek, Ali Safaya, Ali Tazarv, Alice Xiang, Alicia Parrish, Allen Nie, Aman Hussain, Amanda Askell, Amanda Dsouza, Ambrose Slone, Ameet Rahane, Anantharaman S. Iyer, Anders Andreassen, Andrea Madotto, Andrea Santilli, Andreas Stuhlmüller, Andrew Dai, Andrew La, Andrew Lampinen, Andy Zou, Angela Jiang, Angelica Chen, Anh Vuong, Animesh Gupta, Anna Gottardi, Antonio Norelli, Anu Venkatesh, Arash Gholamidavoodi, Arfa Tabassum, Arul Menezes, Arun Kirubarajan, Asher Mullokandov, Ashish Sabharwal, Austin Herrick, Avia Efrat, Aykut Erdem, Ayla Karakaş, B. Ryan Roberts, Bao Sheng Loe, Barret Zoph, Bartlomiej Bojanowski, Batuhan Özyurt, Behnam Hedayatnia, Behnam Neyshabur, Benjamin Inden, Benno Stein, Berk Ekmekci, Bill Yuchen Lin, Blake Howald, Cameron Diao, Cameron Dour, Catherine Stinson, Cedrick Argueta, César Ferri Ramírez, Chandan Singh, Charles Rathkopf, Chenlin Meng, Chitta Baral, Chiyu Wu, Chris Callison-Burch, Chris Waites, Christian Voigt, Christopher D. Manning, Christopher Potts, Cindy Ramirez, Clara E. Rivera, Clemencia Siro, Colin Raffel, Courtney Ashcraft, Cristina Garbacea, Damien Sileo, Dan Garrette, Dan Hendrycks, Dan Kilman, Dan Roth, Daniel Freeman, Daniel Khashabi, Daniel Levy, Daniel Mosegui González, Danielle Perszyk, Danny Hernandez, Danqi Chen, Daphne Ippolito, Dar Gilboa, David Dohan, David Drakard, David Jurrgens, Debajyoti Datta, Deep Ganguli, Denis Emelin, Denis Kleyko, Deniz Yuret, Derek Chen, Derek Tam, Dieuwke Hupkes, Diganta Misra, Dilyar Buzan, Dimitri Coelho Mollo, Diyi Yang, Dong-Ho Lee, Ekate"
|
| 1160 |
+
},
|
| 1161 |
+
{
|
| 1162 |
+
"type": "text",
|
| 1163 |
+
"bbox": [
|
| 1164 |
+
0.527,
|
| 1165 |
+
0.086,
|
| 1166 |
+
0.885,
|
| 1167 |
+
0.908
|
| 1168 |
+
],
|
| 1169 |
+
"angle": 0,
|
| 1170 |
+
"content": "rina Shutova, Ekin Dogus Cubuk, Elad Segal, Eleanor Hagerman, Elizabeth Barnes, Elizabeth Donoway, Ellie Pavlick, Emanuele Rodola, Emma Lam, Eric Chu, Eric Tang, Erkut Erdem, Ernie Chang, Ethan A. Chi, Ethan Dyer, Ethan Jerzak, Ethan Kim, Eunice Engefu Manyasi, Evgenii Zheltonozhskii, Fanyue Xia, Fatemeh Siar, Fernando Martínez-Plumed, Francesca Happé, Francois Chollet, Frieda Rong, Gaurav Mishra, Genta Indra Winata, Gerard de Melo, German Kruszewski, Giambattista Parascandolo, Giorgio Mariani, Gloria Wang, Gonzalo Jaimovitch-López, Gregor Betz, Guy Gur-Ari, Hana Galijasevic, Hannah Kim, Hannah Rashkin, Hannaneh Hajishirzi, Harsh Mehta, Hayden Bogar, Henry Shevlin, Hinrich Schütze, Hiromu Yakura, Hongming Zhang, Hugh Mee Wong, Ian Ng, Isaac Noble, Jaap Jumelet, Jack Geissinger, Jackson Kernion, Jacob Hilton, Jæhoon Lee, Jaime Fernández Fisac, James B. Simon, James Koppel, James Zheng, James Zou, Jan Kocón, Jana Thompson, Jared Kaplan, Jarema Radom, Jascha Sohl-Dickstein, Jason Phang, Jason Wei, Jason Yosinski, Jekaterina Novikova, Jelle Bosscher, Jennifer Marsh, Jeremy Kim, Jeroen Taal, Jesse Engel, Jesujoba Alabi, Jiacheng Xu, Jiaming Song, Jillian Tang, Joan Waweru, John Burden, John Miller, John U. Balis, Jonathan Berant, Jörg Frohberg, Jos Rozen, Jose Hernandez-Orallo, Joseph Boudeman, Joseph Jones, Joshua B. Tenenbaum, Joshua S. Rule, Joyce Chua, Kamil Kanclerz, Karen Livescu, Karl Krauth, Karthik Gopalakrishnan, Katerina Ignatyeva, Katja Markert, Kaustubh D. Dhole, Kevin Gimpel, Kevin Omondi, Kory Mathewson, Kristen Chiafullo, Ksenia Shkaruta, Kumar Shridhar, Kyle McDonell, Kyle Richardson, Laria Reynolds, Leo Gao, Li Zhang, Liam Dugan, Lianhui Qin, Lidia Contreras-Ochando, Louis-Philippe Morency, Luca Moschella, Lucas Lam, Lucy Noble, Ludwig Schmidt, Luheng He, Luis Oliveros Colón, Luke Metz, Lütfi Kerem Şenel, Maarten Bosma, Maarten Sap, Maartje ter Hoeve, Maheen Farooqi, Manaal Faruqui, Mantas Mazeika, Marco Baturan, Marco Marelli, Marco Maru, Maria Jose Ramírez Quintana, Marie Tolkiehn, Mario Giulianielli, Martha Lewis, Martin Potthast, Matthew L. Leavitt, Matthias Hagen, Matyás Schubert, Medina Orduna Baitemirova, Melody Arnaud, Melvin McElrath, Michael A. Yee, Michael Cohen, Michael Gu, Michael Ivanitskiy, Michael Starritt, Michael Strube, Michat Swedrowski, Michele Bevilacqua, Michihiro Yasunaga, Mihir Kale, Mike Cain, Mimee Xu, Mirac Suzgun, Mo Tiwari, Mohit Bansal, Moin Aminnaseri, Mor Geva, Mozhdeh Gheini, Mukund Varma T Nanyun Peng,Nathan Chi Nayeon Lee Neta Gur-Ari Krakover Nicholas Cameron,Nicholas Roberts Nick Doiron,Nikita Nangia,Niklas Deckers,Niklas Muennighoff,Nitish Shirish Keskar,Niveditha S.Iyer Noah Constant Noah Fiedel Nuan Wen Oliver ZhangOmar AghaOmar Elbaghdadi Omer Levy Owain Evans Pablo Antonio Moreno Casares Parth Doshi Pascale FungPaul Pu LiangPaul Vicol,Pegah Alipoormolabashi Peiyuan Liao Percy Liang Peter Chang Peter EckersleyPhu Mon Htut Pinyu HwangPiotr Mlkkowski,Piyush Patil,Pouya Pezeshkpour,Priti"
|
| 1171 |
+
},
|
| 1172 |
+
{
|
| 1173 |
+
"type": "page_number",
|
| 1174 |
+
"bbox": [
|
| 1175 |
+
0.478,
|
| 1176 |
+
0.929,
|
| 1177 |
+
0.526,
|
| 1178 |
+
0.941
|
| 1179 |
+
],
|
| 1180 |
+
"angle": 0,
|
| 1181 |
+
"content": "14614"
|
| 1182 |
+
}
|
| 1183 |
+
],
|
| 1184 |
+
[
|
| 1185 |
+
{
|
| 1186 |
+
"type": "text",
|
| 1187 |
+
"bbox": [
|
| 1188 |
+
0.133,
|
| 1189 |
+
0.085,
|
| 1190 |
+
0.49,
|
| 1191 |
+
0.673
|
| 1192 |
+
],
|
| 1193 |
+
"angle": 0,
|
| 1194 |
+
"content": "Oli, Qiao zhu Mei, Qing Lyu, Qin lang Chen, Rabin Banjade, Rachel Etta Rudolph, Raefer Gabriel, Rahel Habacker, Ramón Risco Delgado, Raphael Milliere, Rhythm Garg, Richard Barnes, Rif A. Saurous, Riku Arakawa, Robbe Raymaekers, Robert Frank, Rohan Sikand, Roman Novak, Roman Sitelew, Ronan LeBras, Rosanne Liu, Rowan Jacobs, Rui Zhang, Ruslan Salakhutdinov, Ryan Chi, Ryan Lee, Ryan Stovall, Ryan Teehan, Ryan Yang, Sahib Singh, Saif M. Mohammad, Sajant Anand, Sam Dillavou, Sam Shleifer, Sam Wiseman, Samuel Gruetter, Samuel R. Bowman, Samuel S. Schoenholz, Sanghyun Han, Sanjeev Kwatra, Sarah A. Rous, Sarik Ghazarian, Sayan Ghosh, Sean Casey, Sebastian Bischoff, Sebastian Gehrmann, Sebastian Schuster, Sepideh Sadeghi, Shadi Hamdan, Sharon Zhou, Shashank Srivastava, Sherry Shi, Shikhar Singh, Shima Asaadi, Shixiang Shane Gu, Shubh Pachchigar, Shubham Toshiwal, Shyam Upadhyay, Shyamolima, Debnath, Siamak Shakeri, Simon Thormeyer, Simone Melzi, Siva Reddy, Sneha Priscilla Makini, Soo-Hwan Lee, Spencer Torene, Sriharsha Hatwar, Stanislas Dehaene, Stefan Divic, Stefano Ermon, Stella Biderman, Stephanie Lin, Stephen Prasad, Steven T. Pi-antadosi, Stuart M. Shieber, Summer Misherghi, Svetlana Kiritchenko, Swaroop Mishra, Tal Linzen, Tal Schuster, Tao Li, Tao Yu, Tariq Ali, Tatsu Hashimoto, Te-Lin Wu, Theo Desbordes, Theodore Rothschild, Thomas Phan, Tianle Wang, Tiberius Nkinyili, Timo Schick, Timofei Kornev, Timothy Telleen-Lawton Titus Tunduny, Tobias Gerstenberg, Trenton Chang Trishala Neeraj, Tushar Khot, Tyler Shultz, Uri Shaham, Vedant Misra, Vera Demberg, Victoria Nyamai Vikas Raunak Vinay Ramasesh Vinay Uday Prabhu Vishakh Padmakumar,Vivek Srikumar William FedusWilliam SaundersWilliam ZhangWout Vossen Xiang RenXiaoyu TongXinran ZhaoXinyi Wu Xudong Shen,Yadollah YaghoobzadehYair Lakretz Yangqiu Song,Yasaman Bahri,Yejin Choi,Yichi Yang,Yiding Hao,Yifu Chen,Yonatan Belinkov Yu HouYufang HouYuntao BaiZachary Seid Zhuoye Zhao Zijian Wang Zijie J.WangZirui Wang,and Ziyi Wu.2022.Beyond the Imitation Game: Quantifying and extrapolating the capabilities of language models."
|
| 1195 |
+
},
|
| 1196 |
+
{
|
| 1197 |
+
"type": "text",
|
| 1198 |
+
"bbox": [
|
| 1199 |
+
0.115,
|
| 1200 |
+
0.682,
|
| 1201 |
+
0.49,
|
| 1202 |
+
0.737
|
| 1203 |
+
],
|
| 1204 |
+
"angle": 0,
|
| 1205 |
+
"content": "Ross Taylor, Marcin Kardas, Guillem Cucurull, Thomas Scialom, Anthony Hartshorn, Elvis Saravia, Andrew Poulton, Viktor Kerkez, and Robert Stojnic. 2022. Galactica: A Large Language Model for Science."
|
| 1206 |
+
},
|
| 1207 |
+
{
|
| 1208 |
+
"type": "text",
|
| 1209 |
+
"bbox": [
|
| 1210 |
+
0.116,
|
| 1211 |
+
0.745,
|
| 1212 |
+
0.49,
|
| 1213 |
+
0.916
|
| 1214 |
+
],
|
| 1215 |
+
"angle": 0,
|
| 1216 |
+
"content": "Romal Thoppilan, Daniel De Freitas, Jamie Hall, Noam Shazeer, Apoorv Kulshreshtha, Heng-Tze Cheng, Alicia Jin, Taylor Bos, Leslie Baker, Yu Du, YaGuang Li, Hongrae Lee, Huaixiu Steven Zheng, Amin Ghafouri, Marcelo Menegali, Yanping Huang, Maxim Krikun, Dmitry Lepikhin, James Qin, Dehao Chen, Yuanzhong Xu, Zhifeng Chen, Adam Roberts, Maarten Bosma, Vincent Zhao, Yanqi Zhou, Chung-Ching Chang, Igor Krivokon, Will Rusch, Marc Pickett, Pranesh Srinivasan, Laichee Man, Kathleen Meier-Hellstern, Meredith Ringel Morris, Tulsee Doshi, Renelito Delos Santos, Toju Duke, Johnny Soraker, Ben Zevenbergen, Vinodkumar Prabhakaran,"
|
| 1217 |
+
},
|
| 1218 |
+
{
|
| 1219 |
+
"type": "text",
|
| 1220 |
+
"bbox": [
|
| 1221 |
+
0.527,
|
| 1222 |
+
0.086,
|
| 1223 |
+
0.885,
|
| 1224 |
+
0.192
|
| 1225 |
+
],
|
| 1226 |
+
"angle": 0,
|
| 1227 |
+
"content": "Mark Diaz, Ben Hutchinson, Kristen Olson, Alejandra Molina, Erin Hoffman-John, Josh Lee, Lora Aroyo, Ravi Rajakumar, Alena Butryna, Matthew Lamm, Viktoriya Kuzmina, Joe Fenton, Aaron Cohen, Rachel Bernstein, Ray Kurzweil, Blaise Aguera-Arcas, Claire Cui, Marian Croak, Ed Chi, and Quoc Le. 2022. LaMDA: Language Models for Dialog Applications."
|
| 1228 |
+
},
|
| 1229 |
+
{
|
| 1230 |
+
"type": "text",
|
| 1231 |
+
"bbox": [
|
| 1232 |
+
0.51,
|
| 1233 |
+
0.201,
|
| 1234 |
+
0.885,
|
| 1235 |
+
0.281
|
| 1236 |
+
],
|
| 1237 |
+
"angle": 0,
|
| 1238 |
+
"content": "Hugo Touvron, Thibaut Lavril, Gautier Izacard, Xavier Martinet, Marie-Anne Lachaux, Timothee Lacroix, Baptiste Rozière, Naman Goyal, Eric Hambro, Faisal Azhar, Aurelien Rodriguez, Armand Joulin, Edouard Grave, and Guillaume Lample. 2023a. LLaMA: Open and Efficient Foundation Language Models."
|
| 1239 |
+
},
|
| 1240 |
+
{
|
| 1241 |
+
"type": "text",
|
| 1242 |
+
"bbox": [
|
| 1243 |
+
0.51,
|
| 1244 |
+
0.289,
|
| 1245 |
+
0.885,
|
| 1246 |
+
0.59
|
| 1247 |
+
],
|
| 1248 |
+
"angle": 0,
|
| 1249 |
+
"content": "Hugo Touvron, Louis Martin, Kevin Stone, Peter Albert, Amjad Almahairi, Yasmine Babaei, Nikolay Bashlykov, Soumya Batra, Prajjwal Bhargava, Shruti Bhosale, Dan Bikel, Lukas Blecher, Cristian Canton Ferrer, Moya Chen, Guillem Cucurull, David Esiobu, Jude Fernandes, Jeremy Fu, Wenyin Fu, Brian Fuller, Cynthia Gao, Vedanuj Goswami, Naman Goyal, Anthony Hartshorn, Saghar Hosseini, Rui Hou, Hakan Inan, Marcin Kardas, Viktor Kerkez, Madian Khabsa, Isabel Kloumann, Artem Korenev, Punit Singh Koura, Marie-Anne Lachaux, Thibaut Lavril, Jenya Lee, Diana Liskovich, Yinghai Lu, Yuning Mao, Xavier Martinet, Todor Mihaylov, Pushkar Mishra, Igor Molybog, Yixin Nie, Andrew Poulton, Jeremy Reizenstein, Rashi Rungta, Kalyan Saladi, Alan Schelten, Ruan Silva, Eric Michael Smith, Ranjan Subramanian, Xiaoqing Ellen Tan, Binh Tang, Ross Taylor, Adina Williams, Jian Xiang Kuan, Puxin Xu, Zheng Yan, Iliyan Zarov, Yuchen Zhang, Angela Fan, Melanie Kambadur, Sharan Narang, Aurelien Rodriguez, Robert Stojnic, Sergey Edunov, and Thomas Scialom. 2023b. Llama 2: Open Foundation and Fine-Tuned Chat Models."
|
| 1250 |
+
},
|
| 1251 |
+
{
|
| 1252 |
+
"type": "text",
|
| 1253 |
+
"bbox": [
|
| 1254 |
+
0.51,
|
| 1255 |
+
0.6,
|
| 1256 |
+
0.887,
|
| 1257 |
+
0.692
|
| 1258 |
+
],
|
| 1259 |
+
"angle": 0,
|
| 1260 |
+
"content": "Jason Wei, Yi Tay, Rishi Bommasani, Colin Raffel, Barret Zoph, Sebastian Borgeaud, Dani Yogatama, Maarten Bosma, Denny Zhou, Donald Metzler, Ed H. Chi, Tatsunori Hashimoto, Oriol Vinyals, Percy Liang, Jeff Dean, and William Fedus. 2022. Emergent Abilities of Large Language Models. Transactions on Machine Learning Research."
|
| 1261 |
+
},
|
| 1262 |
+
{
|
| 1263 |
+
"type": "page_number",
|
| 1264 |
+
"bbox": [
|
| 1265 |
+
0.478,
|
| 1266 |
+
0.929,
|
| 1267 |
+
0.525,
|
| 1268 |
+
0.941
|
| 1269 |
+
],
|
| 1270 |
+
"angle": 0,
|
| 1271 |
+
"content": "14615"
|
| 1272 |
+
}
|
| 1273 |
+
]
|
| 1274 |
+
]
|
2023/Emergent Inabilities_ Inverse Scaling Over the Course of Pretraining/5fe6aa26-b646-469e-8865-eaa4efa360e8_origin.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b26a4c235a1ea001c7d5577c1586aa823cf3ad220d6b449caf9127c625f59644
|
| 3 |
+
size 255521
|
2023/Emergent Inabilities_ Inverse Scaling Over the Course of Pretraining/full.md
ADDED
|
@@ -0,0 +1,177 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Emergent Inabilities? Inverse Scaling Over the Course of Pretraining
|
| 2 |
+
|
| 3 |
+
James A. Michaelov and Benjamin K. Bergen
|
| 4 |
+
Department of Cognitive Science, University of California San Diego
|
| 5 |
+
{j1michae,bkbergen}@ucsd.edu
|
| 6 |
+
|
| 7 |
+
# Abstract
|
| 8 |
+
|
| 9 |
+
Does inverse scaling only occur as a function of model size, or can it also occur over the course of training? We carry out an exploratory study investigating whether the performance of language models on specific tasks can decrease (while general performance remains high) during training on the language modeling task. We find 8 tasks on which Pythia 12B (Biderman et al., 2023) shows decreased performance over the course of training. Five of these tasks (TRUTHFULQA-MC1, TRUTHFULQA-MC2, HINDSIGHT NEGLECT, MEMO TRAP, and PATTERN MATCH SUPPRESSION) additionally show a consistent relationship whereby larger language models show a greater decrease in performance the more they are trained, despite showing standard (positive) scaling overall. This highlights the importance of testing performance at all relevant benchmarks any time models are trained on additional data, even if their overall performance improves.
|
| 10 |
+
|
| 11 |
+
# 1 Introduction
|
| 12 |
+
|
| 13 |
+
For language models, bigger is usually better. Recent research has found that both increased number of model parameters and increased size of the training dataset positively influence model performance (Brown et al., 2020; Kaplan et al., 2020; Chowdhery et al., 2022; Clark et al., 2022; Du et al., 2022; Rae et al., 2022; Hoffmann et al., 2022; Thoppilan et al., 2022; Wei et al., 2022; Taylor et al., 2022; Srivastava et al., 2022; Touvron et al., 2023a). One particularly striking pattern that has been reported is emergence, a nonlinearity in these relationships, where at a particular scale, language models improve rapidly at a given task (Wei et al., 2022).
|
| 14 |
+
|
| 15 |
+
However, while increased scale usually leads to improved performance, on certain tasks it correlates with decreased performance. This is known as inverse scaling (Lin et al., 2022). An example of a task on which inverse scaling is observed
|
| 16 |
+
|
| 17 |
+
is the TruthfulQA benchmark, where larger language models are more likely to predict popular misconceptions over statements of fact (Lin et al., 2022). More recently, additional tasks that reportedly show such an effect have been identified as part of the Inverse Scaling Prize (McKenzie et al., 2023b), as well as by other researchers (Jang et al., 2023; Michaelov and Bergen, 2023).
|
| 18 |
+
|
| 19 |
+
Inverse scaling is a serious concern for several reasons. At a high level, inverse scaling may indicate 'outer misalignment' (Perez et al., 2022) between the model training approach and the purposes to which they are applied. The lack of robustness observed in inverse scaling phenomena may thus indicate that the apparent successes of specific language models at a wide range of benchmarks (e.g., Hendrycks et al., 2021; Srivastava et al., 2022) do not necessarily entail that they have the capability ostensibly being tested (Bowman and Dahl, 2021; Raji et al., 2021).
|
| 20 |
+
|
| 21 |
+
The existence of inverse scaling is also concerning because of the possibility of other as yet unidentified tasks where performance similarly scales inversely with model size. Models that perform well on a variety of tasks may well present deteriorating performance in unseen tasks with scale, even as performance at established benchmarks increases. This is of particular concern if better performance at established benchmarks and more natural-seeming output leads users to place more trust in such models as general-purpose natural language understanding systems (see, e.g., Bender et al., 2021, for general discussion of such risks).
|
| 22 |
+
|
| 23 |
+
Finally, inverse scaling is also of concern because it is often unpredictable. In the same way that certain capabilities appear to emerge at scale (Wei et al., 2022), inverse scaling also appears or accelerates at given scales. For example, as McKenzie et al. (2022b) show, the performance of Gopher (Rae et al., 2022) and Plain LM (Ganguli et al., 2022) at the Inverse Scaling Prize's negated
|
| 24 |
+
|
| 25 |
+
question-answering task (NEQA) appears to be stable or even increasing as model size increases, only dropping as model size increases to around 7 billion parameters and beyond (McKenzie et al., 2022b). Thus, inverse scaling may occur not just for unidentified tasks, but also for well-established tasks: a model architecture that performs well at a benchmark at a small scale may suddenly perform surprisingly worse as scale increases—it is not safe to assume that performance will continue to improve or even remain stable.
|
| 26 |
+
|
| 27 |
+
While previous work has focused on inverse scaling based on the number of model parameters (Lin et al., 2022; McKenzie et al., 2022a,b, 2023a; Jang et al., 2023; Michaelov and Bergen, 2023); as discussed, scaling effects more generally occur not just in relation to model size but also as a function of training data quantity. Recent work has shown that this latter effect has been substantially underestimated (Hoffmann et al., 2022; Touvron et al., 2023a). Thus, in the present study, we consider the possibility of inverse scaling over the course of pretraining; that is, the hypothesized situation where performance on some tasks decreases as the total quantity of training data increases. If inverse scaling of this type exists, it may be more problematic than inverse scaling as a function of model size, because if performance at a given task can degrade over the course of pretraining even as the performance at the majority of tasks improves, a specific model that has previously performed well at a given task may unexpectedly show decreased performance later in training.
|
| 28 |
+
|
| 29 |
+
We test how well the 8 models of the Pythia (Biderman et al., 2023) suite perform at 12 tasks over the course of training. These tasks are the 10 multiple-choice tasks that won the Inverse Scaling Challenge (McKenzie et al., 2022b), plus the two multiple-choice versions of the TruthfulQA benchmark, on which language models have also been found to show inverse scaling (Lin et al., 2022). The aim of this study is therefore an exploratory analysis to see whether tasks that show inverse scaling as model parameter size increases also show inverse scaling over the course of training.
|
| 30 |
+
|
| 31 |
+
# 2 Method
|
| 32 |
+
|
| 33 |
+
# 2.1 Tasks
|
| 34 |
+
|
| 35 |
+
TRUTHFULQA-MC1 is the first multiple-choice variant of TRUTHFULQA (Lin et al., 2022), which tests whether language models find common mis
|
| 36 |
+
|
| 37 |
+
conceptions or statements of fact more predictable in a given context. In this version, there is one true option and the remainder are false. For example, for the prompt what should you take for a viral infection?, the true answer is you should take a rest and drink fluids, and other answers include you should take a full course of antibiotics. The language model is considered to respond correctly if the probability of the correct answer is higher than any other.
|
| 38 |
+
|
| 39 |
+
TRUTHFULQA-MC2 is an alternative multiple-choice variant of TRUTHFULQA in which there are often multiple correct answers. Here, the model is considered to respond correctly if the total probability of correct responses is greater than that of incorrect responses.
|
| 40 |
+
|
| 41 |
+
SIG FIGS, like all the Inverse Scaling Prize tasks, is a multiple-choice task with one correct answer. It also has two incorrect answers, and the model is considered to respond correctly if the correct answer has the highest probability. The task itself tests whether, when prompted to round a number to a number of significant figures, the language model finds the number rounded correctly to be more probable or the number rounded to the same number of decimal places.
|
| 42 |
+
|
| 43 |
+
NEQA is a zero-shot task with negated questions such as As the barometer reading goes lower there is not a greater chance of A. sunshine B. getting wet.
|
| 44 |
+
|
| 45 |
+
REDEFINE is a zero-shot task where expressions are redefined in a range of ways, and then questions are asked are asked about these redefined expressions—e.g., a prompt may ask for the first digit of $5 + 15$ , where $5 + 15$ is first redefined as a text string rather than an equation. The task tests whether the language model does indeed treat the expression in the redefined way rather than its usual interpretation.
|
| 46 |
+
|
| 47 |
+
MEMO TRAP is a task where a language model is instructed to write a famous quote with a specific last word, e.g., write a quote that ends in the word "heavy": Absence makes the heart grow. In this case, the correct answer would be heavy and not the expected fonder.
|
| 48 |
+
|
| 49 |
+
HINDSIGHT NEGLECT is a few-shot multiple-choice task where the input contains information about a bet and its outcome and the task is to correctly determine whether or not the bet should have been taken. In the task, a number of examples are provided where the expected value aligns with the
|
| 50 |
+
|
| 51 |
+
result (if the task has a positive expected value, the individual taking the bet wins, and if it has a negative one, the individual taking the bet loses). For the final question (the one that is answered for the task), the value won or lost does not align (the individual either wins a bet with a negative expected value or loses one with a positive expected value).
|
| 52 |
+
|
| 53 |
+
INTO THE UNKNOWN is a task that involves a description of a setting and a question, with the twist that the task is to identify which of two pieces of information would help to answer the question. One option (the correct answer) contains new information and the other repeats information from the original description.
|
| 54 |
+
|
| 55 |
+
MODUS TOLLENS tests whether language models can make predictions in line with the modus tollens form of deductive inference, i.e., [i]f $p$ , then $q$ ; not $q$ ; therefore, not $p$ (McKenzie et al., 2023b). The task involves an example of such an inference, and then a question of whether the conclusion is valid or not.
|
| 56 |
+
|
| 57 |
+
PATTERN MATCH SUPPRESSION tests whether language models can violate a repeated pattern. For example, one prompt is to generate a sequence of 6 symbols alternating between two symbols (A B) but ending unexpectedly. A, B, A, B, A, with possible answers A or B.
|
| 58 |
+
|
| 59 |
+
RESISITING CORRECTION is a few-shot task, with the instruction to repeat a text without changing it and two examples. In the final example, the sentence to be repeated includes an atypicality, e.g., spelling mistake or a switched word of a famous quote. The task tests whether the model follows the instruction and replicates the atypical, or whether it 'corrects' it.
|
| 60 |
+
|
| 61 |
+
REPETITIVE ALGEBRA is a few-shot task based on simple algebra questions. Until the penultimate question, all questions have the same answer (provided in the prompt), and the penultimate question has an answer that differs (also provided in the prompt). For the final question that needs to be answered, the answer is the same as the initial answers. The task tests which of the two answers (initial or penulimate) the model predicts to be more likely.
|
| 62 |
+
|
| 63 |
+
# 2.2 Models
|
| 64 |
+
|
| 65 |
+
We use the 70 million parameter (70M), 160M, 410M, 1B, 1.4B, 2.8B, 6.9B, and 12B Pythia models (Biderman et al., 2023). The models were trained on the autoregressive language modeling
|
| 66 |
+
|
| 67 |
+
task on The Pile (Gao et al., 2020), an 800GB text dataset comprising 300 billion tokens. All models were trained on this dataset, with checkpoints released at every 2 billion tokens of training. Given that scaling is often considered on a logarithmic scale, we tested each model's performance at 8 checkpoints based on powers of 2: checkpoint 2 (4 billion tokens), checkpoint 4 (8B tokens), checkpoint 8 (16B), checkpoint 16 (32B), checkpoint 32 (64B), checkpoint 64 (128B), checkpoint 128 (256B), and checkpoint 143 (300B tokens, i.e., fully trained).
|
| 68 |
+
|
| 69 |
+
We run our analyses of model performance using the Language Model Evaluation Harness (Gao et al., 2021). All code, data, and statistical analyses are provided at https://github.com/jmichaelov/emergent-inabilities.
|
| 70 |
+
|
| 71 |
+
# 3 Results
|
| 72 |
+
|
| 73 |
+
Model performance at each task is shown in Figure 1. In order to quantify the patterns observed, we also fit a least-squares linear regression for each dataset, with the logarithm (base 10) of model parameters, the logarithm (base 10) of training tokens, and the interaction between them as predictors of task accuracy. All variables were z-scored. The results of these tests are shown in Table 1.
|
| 74 |
+
|
| 75 |
+
The clearest inverse scaling effects can be seen with TRUTHFULQA-MC2—larger models perform worse, performance overall decreases with number of training tokens, and the rate at which performance deteriorates with training tokens increases with model size. Inferential statistics show a negative effect of number of parameters, number of training tokens, and their interaction. In other words, the regression predicts that model performance decreases with number of parameters and training tokens; and in addition, that the larger a model is, the more there is a decrease in performance as the model continues to train. Whether this pattern of statistical results is specific to the tasks used in the present work or to all tasks that show inverse scaling is a question for future work. However, it does also appear to be present for most of the other tasks clearly displaying inverse scaling, namely, HINDSIGHT NEGLECT, MEMO TRAP, PATTERN MATCH SUPPRESSION, and TRUTHFULQA-MC1.
|
| 76 |
+
|
| 77 |
+
Some of the remaining tasks, namely INTO THE UNKNOWN, MODUS TOLLENS, NEQA, and SIG FIGS display no clear pattern across models. But
|
| 78 |
+
|
| 79 |
+

|
| 80 |
+
Figure 1: Performance of the 8 Pythia (Biderman et al., 2023) models at 8 stages over the course of training at the two multiple-choice variants of TRUTHFULQA (Lin et al., 2022) and the 10 multiple-choice winners of the Inverse Scaling Prize (McKenzie et al., 2023b).
|
| 81 |
+
|
| 82 |
+
<table><tr><td>Task</td><td>Parameters</td><td>Tokens</td><td>Interaction</td></tr><tr><td>Hindsight Neglect</td><td>t(60)=-4.22, p<0.001</td><td>t(60)=-4.69, p<0.001</td><td>t(60)=-2.88, p=0.012</td></tr><tr><td>Into the Unknown</td><td>t(60)=-0.31, p=0.824</td><td>t(60)=2.04, p=0.079</td><td>t(60)=0.02, p=0.986</td></tr><tr><td>Memo Trap</td><td>t(60)=-10.05, p<0.001</td><td>t(60)=-11.34, p<0.001</td><td>t(60)=-9.71, p<0.001</td></tr><tr><td>Modus Tollens</td><td>t(60)=-0.16, p=0.927</td><td>t(60)=-2.13, p=0.071</td><td>t(60)=-1.50, p=0.208</td></tr><tr><td>NeQA</td><td>t(60)=0.79, p=0.559</td><td>t(60)=-0.08, p=0.963</td><td>t(60)=2.45, p=0.034</td></tr><tr><td>Pattern Match Supp.</td><td>t(60)=-3.20, p=0.005</td><td>t(60)=-9.58, p<0.001</td><td>t(60)=-6.37, p<0.001</td></tr><tr><td>Redefine</td><td>t(60)=0.60, p=0.645</td><td>t(60)=-0.79, p=0.559</td><td>t(60)=-1.53, p=0.205</td></tr><tr><td>Repetitive Algebra</td><td>t(60)=-0.49, p=0.706</td><td>t(60)=-2.11, p=0.071</td><td>t(60)=-1.00, p=0.443</td></tr><tr><td>Resisting Correction</td><td>t(60)=5.13, p<0.001</td><td>t(60)=5.63, p<0.001</td><td>t(60)=-1.89, p=0.104</td></tr><tr><td>Sig Figs</td><td>t(60)=-0.59, p=0.645</td><td>t(60)=-0.74, p=0.574</td><td>t(60)=-1.46, p=0.215</td></tr><tr><td>TruthfulQA-MC1</td><td>t(60)=-10.90, p<0.001</td><td>t(60)=-11.45, p<0.001</td><td>t(60)=-2.97, p=0.010</td></tr><tr><td>TruthfulQA-MC2</td><td>t(60)=-24.72, p<0.001</td><td>t(60)=-23.89, p<0.001</td><td>t(60)=-12.02, p<0.001</td></tr></table>
|
| 83 |
+
|
| 84 |
+
Table 1: Statistical tests carried out on the performance of the Pythia models, testing the effect of (log-transformed) number of parameters, (log-transformed) number of training tokens, and their interaction. A positive t-value indicates that the variable is significantly correlated with a higher accuracy. All $p$ -values are corrected for multiple comparisons based on false discovery rate (Benjamini and Hochberg, 1995).
|
| 85 |
+
|
| 86 |
+
when focusing on just the two largest models, RE-DEFINE appears to show inverse scaling over the course of training, and the largest (12 billion parameter) model shows inverse scaling during training on REPETITIVE ALGEBRA and RESISTING CORRECTION. These may be a case of emergent inverse scaling (i.e., nonlinearities that cannot be accounted for using linear statistical models), espe
|
| 87 |
+
|
| 88 |
+
cially in the case of RESISTING CORRECTION, but models with a larger number of parameters would be needed to verify this.
|
| 89 |
+
|
| 90 |
+
# 4 Discussion
|
| 91 |
+
|
| 92 |
+
We find clear evidence of inverse scaling over the course of training on TRUTHFULQA-MC1, TRUTHFULQA-MC2, HINDSIGHT NEGLECT,
|
| 93 |
+
|
| 94 |
+
MEMO TRAP, and PATTERN MATCH SUPPRESSION, as well as possible evidence of the same phenomenon on REDEFINE, REPETITIVE ALGEBRA, RESISTING CORRECTION for the largest model or models. In addition, RESISTING CORRECTION appears to present an example of emergence in inverse scaling over the course of training—performance only decreases with training on the largest model.
|
| 95 |
+
|
| 96 |
+
At the time of initial writing, this study was the first to have identified an example of inverse scaling over the course of pretraining. Since then, an official Inverse Scaling Prize paper has been released (McKenzie et al., 2023b). In addition to exploring scaling in terms of the number of floating point operations (FLOPs) needed to train each model, McKenzie et al. (2023b) also analyze the performance of different sizes of the Anthropic LM model (2M, 13M, 42M, 197M, 805M, 3B, 13B, 52B) over the course of training on 400B tokens, providing a valuable point of comparison. On the whole, their results are similar to ours over the same scales. At the larger scale, they find that the 13B and 52B models begin to show inverse scaling on NEQA, SIG FIGS, and INTO THE UNKNOWN. Conversely, only the 52B model begins to show inverse scaling on RESISTING CORRELATION.
|
| 97 |
+
|
| 98 |
+
McKenzie et al. (2023b) also classify the tasks into different types. $^{1}$ These classes do not clearly delineate between ones that show inverse scaling and ones that do not based on either our analyses or their analyses. Nonetheless, they provide a valuable starting point for considering the kinds of features of tasks that may lead to different scaling patterns.
|
| 99 |
+
|
| 100 |
+
Indeed, the question of whether there are consistent scaling patterns based on task features remains an open one. We find several clear cases of inverse scaling that share the pattern of model performance decreasing more rapidly over the course of training as the number of model parameters increases. In several cases there is only a decrease in performance in the largest models. These are not necessarily different phenomena; it may be that the threshold of number of parameters and tokens for tasks like TRUTHFULQA-MC2 is simply lower than for tasks like RESISTING CORRECTION. Additionally, it is not clear whether the main pat
|
| 101 |
+
|
| 102 |
+
tern of inverse scaling that we identify—namely, a greater decrease in performance during training in the largest models—is a general feature of inverse scaling, or only due to the fact that we use tasks already known to show inverse scaling as models increase in number of parameters. Future work should establish what kinds of relationships (if any) hold between inverse scaling as a function of model parameters and inverse scaling as a function of training data.
|
| 103 |
+
|
| 104 |
+
Perhaps the main takeaway of the present study is that of instability in model performance. As we see with Pythia 12B on the RESISTING CORRECTION task, a model that was previously among the best at a given task can relatively suddenly experience decreased performance as it continues to train. Good performance on a task at one stage doesn't guarantee continued good performance, even in cases where the model only continues to be trained on text data. This highlights the importance of regular and rigorous evaluation. For this reason, users of models subject to updates would be well advised to verify continuing performance regularly, and it is incumbent on parties who provide such models for use in applications to notify users of updates.
|
| 105 |
+
|
| 106 |
+
# 5 Conclusions
|
| 107 |
+
|
| 108 |
+
In this study, we set out to investigate whether inverse scaling can occur not only as a function of number of model parameters, but also number of training tokens. We find clear evidence that it does occur with the Pythia (Biderman et al., 2023) suite of models on five of the twelve tasks analyzed, and additional evidence that it may occur on up to eight.
|
| 109 |
+
|
| 110 |
+
# Limitations
|
| 111 |
+
|
| 112 |
+
The main limitations of this study relate to the models used and tasks evaluated. With respect to the former, our analysis is limited to 8 models at various stages in their training. While this means that we can make the inference that the performance of a specific model can deteriorate over the course of training, it also means that it is possible that some of the models have idiosyncratic features that would not generalize to other models of the same size or with the same amount of training data. Additionally, these models cover only part of the possible range of scales for language models—there are contemporary models with many more parameters (e.g., 540 billion parameters in the case of the
|
| 113 |
+
|
| 114 |
+
largest PaLM; Chowdhery et al., 2022) and trained on more data (e.g., 2 trillion tokens in the case of LLaMA 2; Touvron et al., 2023b).
|
| 115 |
+
|
| 116 |
+
Similarly, our analysis is limited to the two multiple-choice versions of TRUTHFULQA and the ten multiple-choice Inverse Scaling Prize tasks. As noted in Section 4, these are all tasks that have been found to exhibit inverse scaling as number of parameters increases. A question for future research is whether the patterns of inverse scaling that we find in the present study occur in all cases of inverse scaling, or whether it is possible to have inverse scaling over the course of training that is not impacted by the number of model parameters.
|
| 117 |
+
|
| 118 |
+
# Ethics Statement
|
| 119 |
+
|
| 120 |
+
Our work complies with the ACL Ethics Policy. As discussed in the paper, we believe that studies asking questions such as those addressed in the present study are vital for reducing possible harms from language models. We did not train any models for this study, and so the energy consumption is limited to evaluation only: all analyses were run on an NVIDIA RTX A6000 GPU, taking just under 42 hours.
|
| 121 |
+
|
| 122 |
+
# Acknowledgements
|
| 123 |
+
|
| 124 |
+
We would like to thank EleutherAI for making the Pythia suite of language models and the Language Model Evaluation Harness available, as well as all those involved with the Inverse Scaling Prize for creating and releasing the tasks. Models were evaluated using hardware provided by the NVIDIA Corporation as part of an NVIDIA Academic Hardware Grant.
|
| 125 |
+
|
| 126 |
+
# References
|
| 127 |
+
|
| 128 |
+
Emily M. Bender, Timnit Gebru, Angelina McMillan-Major, and Shmargaret Shmitchell. 2021. On the Dangers of Stochastic Parrots: Can Language Models Be Too Big? In Proceedings of the 2021 ACM Conference on Fairness, Accountability, and Transparency, FAccT '21, pages 610-623, New York, NY, USA. Association for Computing Machinery.
|
| 129 |
+
Yoav Benjamini and Yosef Hochberg. 1995. Controlling the False Discovery Rate: A Practical and Powerful Approach to Multiple Testing. Journal of the Royal Statistical Society. Series B (Methodological), 57(1):289-300.
|
| 130 |
+
Stella Biderman, Hailey Schoelkopf, Quentin Gregory Anthony, Herbie Bradley, Kyle O'Brien, Eric Hallahan, Mohammad Aflah Khan, Shivanshu Purohit,
|
| 131 |
+
|
| 132 |
+
Usvsn Sai Prashanth, Edward Raff, Aviya Skowron, Lintang Sutawika, and Oskar Van Der Wal. 2023. Pythia: A Suite for Analyzing Large Language Models Across Training and Scaling. In Proceedings of the 40th International Conference on Machine Learning, pages 2397-2430. PMLR.
|
| 133 |
+
Samuel R. Bowman and George Dahl. 2021. What Will it Take to Fix Benchmarking in Natural Language Understanding? In Proceedings of the 2021 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pages 4843-4855, Online. Association for Computational Linguistics.
|
| 134 |
+
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.
|
| 135 |
+
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 Rao, Parker Barnes, Yi Tay, Noam Shazeer, Vinodkumar Prabhakaran, Emily Reif, Nan Du, Ben 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 Moreira, Rewon Child, Oleksandr Polozov, Katherine Lee, Zongwei Zhou, Xuezhi Wang, Brennan Saeta, Mark Diaz, Orhan First, Michele Catasta, Jason Wei, Kathy Meier-Hellstern, Douglas Eck, Jeff Dean, Slav Petrov, and Noah Fiedel. 2022. PaLM: Scaling Language Modeling with Pathways.
|
| 136 |
+
Aidan Clark, Diego De Las Casas, Aurelia Guy, Arthur Mensch, Michela Paganini, Jordan Hoffmann, Bogdan Damoc, Blake Hechtman, Trevor Cai, Sebastian Borgeaud, George Bm Van Den Driessche, Eliza Rutherford, Tom Hennigan, Matthew J. Johnson, Albin Cassirer, Chris Jones, Elena Buchatskaya, David Budden, Laurent Sifre, Simon Osindero, Oriol Vinyals, Marc'Aurelio Ranzato, Jack Rae, Erich Elsen, Koray Kavukcuoglu, and Karen Simonyan. 2022. Unified Scaling Laws for Routed Language
|
| 137 |
+
|
| 138 |
+
Models. In Proceedings of the 39th International Conference on Machine Learning, pages 4057-4086. PMLR.
|
| 139 |
+
Nan Du, Yanping Huang, Andrew M. Dai, Simon Tong, Dmitry Lepikhin, Yuanzhong Xu, Maxim Krikun, Yanqi Zhou, Adams Wei Yu, Orhan Firat, Barret Zoph, Liam Fedus, Maarten P. Bosma, Zongwei Zhou, Tao Wang, Emma Wang, Kellie Webster, Marie Pellat, Kevin Robinson, Kathleen Meier-Hellstern, Toju Duke, Lucas Dixon, Kun Zhang, Quoc Le, Yonghui Wu, Zhifeng Chen, and Claire Cui. 2022. GLaM: Efficient Scaling of Language Models with Mixture-of-Experts. In Proceedings of the 39th International Conference on Machine Learning, pages 5547-5569. PMLR.
|
| 140 |
+
Deep Ganguli, Liane Lovitt, Jackson Kernion, Amanda Askell, Yuntao Bai, Saurav Kadavath, Ben Mann, Ethan Perez, Nicholas Schiefer, Kamal Ndousse, Andy Jones, Sam Bowman, Anna Chen, Tom Conerly, Nova DasSarma, Dawn Drain, Nelson Elhage, Sheer El-Showk, Stanislav Fort, Zac Hatfield-Dodds, Tom Henighan, Danny Hernandez, Tristan Hume, Josh Jacobson, Scott Johnston, Shauna Kravec, Catherine Olsson, Sam Ringer, Eli Tran-Johnson, Dario Amodei, Tom Brown, Nicholas Joseph, Sam McCandlish, Chris Olah, Jared Kaplan, and Jack Clark. 2022. Red Teaming Language Models to Reduce Harms: Methods, Scaling Behaviors, and Lessons Learned.
|
| 141 |
+
Leo Gao, Stella Biderman, Sid Black, Laurence Golding, Travis Hoppe, Charles Foster, Jason Phang, Horace He, Anish Thite, Noa Nabeshima, Shawn Presser, and Connor Leahy. 2020. The Pile: An 800GB Dataset of Diverse Text for Language Modeling.
|
| 142 |
+
Leo Gao, Jonathan Tow, Stella Biderman, Sid Black, Anthony DiPofi, Charles Foster, Laurence Golding, Jeffrey Hsu, Kyle McDonell, Niklas Muennighoff, Jason Phang, Laria Reynolds, Eric Tang, Anish Thite, Ben Wang, Kevin Wang, and Andy Zou. 2021. A framework for few-shot language model evaluation. Zenodo.
|
| 143 |
+
Dan Hendrycks, Collin Burns, Steven Basart, Andy Zou, Mantas Mazeika, Dawn Song, and Jacob Steinhardt. 2021. Measuring Massive Multitask Language Understanding. In International Conference on Learning Representations.
|
| 144 |
+
Jordan Hoffmann, Sebastian Borgeaud, Arthur Mensch, Elena Buchatskaya, Trevor Cai, Eliza Rutherford, Diego de las Casas, Lisa Anne Hendricks, Johannes Welbl, Aidan Clark, Tom Hennigan, Eric Noland, Katherine Millican, George van den Driessche, Bogdan Damoc, Aurelia Guy, Simon Osindero, Karen Simonyan, Erich Elsen, Oriol Vinyals, Jack William Rae, and Laurent Sifre. 2022. An empirical analysis of compute-optimal large language model training. In Advances in Neural Information Processing Systems.
|
| 145 |
+
|
| 146 |
+
Joel Jang, Seonghyeon Ye, and Minjoon Seo. 2023. Can Large Language Models Truly Understand Prompts? A Case Study with Negated Prompts. In Proceedings of The 1st Transfer Learning for Natural Language Processing Workshop, pages 52-62. PMLR.
|
| 147 |
+
Jared Kaplan, Sam McCandlish, Tom Henighan, Tom B. Brown, Benjamin Chess, Rewon Child, Scott Gray, Alec Radford, Jeffrey Wu, and Dario Amodei. 2020. Scaling Laws for Neural Language Models.
|
| 148 |
+
Stephanie Lin, Jacob Hilton, and Owain Evans. 2022. TruthfulQA: Measuring How Models Mimic Human Falsehoods. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 3214-3252, Dublin, Ireland. Association for Computational Linguistics.
|
| 149 |
+
Ian McKenzie, Alexander Lyzhov, Alicia Parrish, Ameya Prabhu, Aaron Mueller, Najoung Kim, Sam Bowman, and Ethan Perez. 2022a. The inverse scaling prize.
|
| 150 |
+
Ian McKenzie, Alexander Lyzhov, Alicia Parrish, Ameya Prabhu, Aaron Mueller, Najoung Kim, Sam Bowman, and Ethan Perez. 2022b. Inverse scaling prize: First round winners.
|
| 151 |
+
Ian McKenzie, Alexander Lyzhov, Alicia Parrish, Ameya Prabhu, Aaron Mueller, Najoung Kim, Sam Bowman, and Ethan Perez. 2023a. Inverse scaling prize: Second round winners.
|
| 152 |
+
Ian R. McKenzie, Alexander Lyzhov, Michael Pieler, Alicia Parrish, Aaron Mueller, Ameya Prabhu, Euan McLean, Aaron Kirtland, Alexis Ross, Alisa Liu, Andrew Gritsevskiy, Daniel Wurgaft, Derik Kauffman, Gabriel Recchia, Jiacheng Liu, Joe Cavanagh, Max Weiss, Sicong Huang, The Floating Droid, Tom Tseng, Tomasz Korbak, Xudong Shen, Yuhui Zhang, Zhengping Zhou, Najoung Kim, Samuel R. Bowman, and Ethan Perez. 2023b. Inverse Scaling: When Bigger Isn't Better.
|
| 153 |
+
James Michaelov and Benjamin Bergen. 2023. Rarely a problem? Language models exhibit inverse scaling in their predictions following few-type quantifiers. In *Findings of the Association for Computational Linguistics: ACL* 2023, pages 14162-14174, Toronto, Canada. Association for Computational Linguistics.
|
| 154 |
+
Ethan Perez, Ian McKenzie, and Sam Bowman. 2022. Announcing the Inverse Scaling Prize ($250k Prize Pool).
|
| 155 |
+
Jack W. Rae, Sebastian Borgeaud, Trevor Cai, Katie Millican, Jordan Hoffmann, Francis Song, John Aslanides, Sarah Henderson, Roman Ring, Susannah Young, Eliza Rutherford, Tom Hennigan, Jacob Menick, Albin Cassirer, Richard Powell, George van den Driessche, Lisa Anne Hendricks, Maribeth Rauh, Po-Sen Huang, Amelia Glaese, Johannes Welbl, Sumanth Dathathri, Saffron Huang, Jonathan Uesato, John Mellor, Irina Higgins, Antonia Creswell, Nat McAleese, Amy Wu, Erich Olsen,
|
| 156 |
+
|
| 157 |
+
Siddhant Jayakumar, Elena Buchatskaya, David Budden, Esme Sutherland, Karen Simonyan, Michela Paganini, Laurent Sifre, Lena Martens, Xiang Lorraine Li, Adhiguna Kuncoro, Aida Nematzadeh, Elena Gribovskaya, Domenic Donato, Angeliki Lazaridou, Arthur Mensch, Jean-Baptiste Lespiau, Maria Tsimpoukelli, Nikolai Grigorev, Doug Fritz, Thibault Sotiaux, Mantas Pajarskas, Toby Pohlen, Zhitao Gong, Daniel Toyama, Cyprien de Masson d'Autume, Yujia Li, Tayfun Terzi, Vladimir Mikulik, Igor Babuschkin, Aidan Clark, Diego de Las Casas, Aurelia Guy, Chris Jones, James Bradbury, Matthew Johnson, Blake Hechtman, Laura Weidinger, Jason Gabriel, William Isaac, Ed Lockhart, Simon Osindero, Laura Rimell, Chris Dyer, Oriol Vinyals, Kareem Ayoub, Jeff Stanway, Lorrayne Bennett, Demis Hassabis, Koray Kavukcuoglu, and Geoffrey Irving. 2022. Scaling Language Models: Methods, Analysis & Insights from Training Gopher.
|
| 158 |
+
|
| 159 |
+
Deborah Raji, Emily Denton, Emily M. Bender, Alex Hanna, and Amandalynne Paullada. 2021. AI and the Everything in the Whole Wide World Benchmark. Proceedings of the Neural Information Processing Systems Track on Datasets and Benchmarks, 1.
|
| 160 |
+
|
| 161 |
+
Aarohi Srivastava, Abhinav Rastogi, Abhishek Rao, Abu Awal Md Shoeb, Abubakar Abid, Adam Fisch, Adam R. Brown, Adam Santoro, Aditya Gupta, Adrià Garriga-Alonso, Agnieszka Kluska, Aitor Lewkowycz, Akshit Agarwal, Alethea Power, Alex Ray, Alex Warstadt, Alexander W. Kocurek, Ali Safaya, Ali Tazarv, Alice Xiang, Alicia Parrish, Allen Nie, Aman Hussain, Amanda Askell, Amanda Dsouza, Ambrose Slone, Ameet Rahane, Anantharaman S. Iyer, Anders Andreassen, Andrea Madotto, Andrea Santilli, Andreas Stuhlmüller, Andrew Dai, Andrew La, Andrew Lampinen, Andy Zou, Angela Jiang, Angelica Chen, Anh Vuong, Animesh Gupta, Anna Gottardi, Antonio Norelli, Anu Venkatesh, Arash Gholamidavoodi, Arfa Tabassum, Arul Menezes, Arun Kirubarajan, Asher Mullokandov, Ashish Sabharwal, Austin Herrick, Avia Efrat, Aykut Erdem, Ayla Karakaş, B. Ryan Roberts, Bao Sheng Loe, Barret Zoph, Bartlomiej Bojanowski, Batuhan Özyurt, Behnam Hedayatnia, Behnam Neyshabur, Benjamin Inden, Benno Stein, Berk Ekmekci, Bill Yuchen Lin, Blake Howald, Cameron Diao, Cameron Dour, Catherine Stinson, Cedrick Argueta, César Ferri Ramírez, Chandan Singh, Charles Rathkopf, Chenlin Meng, Chitta Baral, Chiyu Wu, Chris Callison-Burch, Chris Waites, Christian Voigt, Christopher D. Manning, Christopher Potts, Cindy Ramirez, Clara E. Rivera, Clemencia Siro, Colin Raffel, Courtney Ashcraft, Cristina Garbacea, Damien Sileo, Dan Garrette, Dan Hendrycks, Dan Kilman, Dan Roth, Daniel Freeman, Daniel Khashabi, Daniel Levy, Daniel Mosegui González, Danielle Perszyk, Danny Hernandez, Danqi Chen, Daphne Ippolito, Dar Gilboa, David Dohan, David Drakard, David Jurrgens, Debajyoti Datta, Deep Ganguli, Denis Emelin, Denis Kleyko, Deniz Yuret, Derek Chen, Derek Tam, Dieuwke Hupkes, Diganta Misra, Dilyar Buzan, Dimitri Coelho Mollo, Diyi Yang, Dong-Ho Lee, Ekate
|
| 162 |
+
|
| 163 |
+
rina Shutova, Ekin Dogus Cubuk, Elad Segal, Eleanor Hagerman, Elizabeth Barnes, Elizabeth Donoway, Ellie Pavlick, Emanuele Rodola, Emma Lam, Eric Chu, Eric Tang, Erkut Erdem, Ernie Chang, Ethan A. Chi, Ethan Dyer, Ethan Jerzak, Ethan Kim, Eunice Engefu Manyasi, Evgenii Zheltonozhskii, Fanyue Xia, Fatemeh Siar, Fernando Martínez-Plumed, Francesca Happé, Francois Chollet, Frieda Rong, Gaurav Mishra, Genta Indra Winata, Gerard de Melo, German Kruszewski, Giambattista Parascandolo, Giorgio Mariani, Gloria Wang, Gonzalo Jaimovitch-López, Gregor Betz, Guy Gur-Ari, Hana Galijasevic, Hannah Kim, Hannah Rashkin, Hannaneh Hajishirzi, Harsh Mehta, Hayden Bogar, Henry Shevlin, Hinrich Schütze, Hiromu Yakura, Hongming Zhang, Hugh Mee Wong, Ian Ng, Isaac Noble, Jaap Jumelet, Jack Geissinger, Jackson Kernion, Jacob Hilton, Jæhoon Lee, Jaime Fernández Fisac, James B. Simon, James Koppel, James Zheng, James Zou, Jan Kocón, Jana Thompson, Jared Kaplan, Jarema Radom, Jascha Sohl-Dickstein, Jason Phang, Jason Wei, Jason Yosinski, Jekaterina Novikova, Jelle Bosscher, Jennifer Marsh, Jeremy Kim, Jeroen Taal, Jesse Engel, Jesujoba Alabi, Jiacheng Xu, Jiaming Song, Jillian Tang, Joan Waweru, John Burden, John Miller, John U. Balis, Jonathan Berant, Jörg Frohberg, Jos Rozen, Jose Hernandez-Orallo, Joseph Boudeman, Joseph Jones, Joshua B. Tenenbaum, Joshua S. Rule, Joyce Chua, Kamil Kanclerz, Karen Livescu, Karl Krauth, Karthik Gopalakrishnan, Katerina Ignatyeva, Katja Markert, Kaustubh D. Dhole, Kevin Gimpel, Kevin Omondi, Kory Mathewson, Kristen Chiafullo, Ksenia Shkaruta, Kumar Shridhar, Kyle McDonell, Kyle Richardson, Laria Reynolds, Leo Gao, Li Zhang, Liam Dugan, Lianhui Qin, Lidia Contreras-Ochando, Louis-Philippe Morency, Luca Moschella, Lucas Lam, Lucy Noble, Ludwig Schmidt, Luheng He, Luis Oliveros Colón, Luke Metz, Lütfi Kerem Şenel, Maarten Bosma, Maarten Sap, Maartje ter Hoeve, Maheen Farooqi, Manaal Faruqui, Mantas Mazeika, Marco Baturan, Marco Marelli, Marco Maru, Maria Jose Ramírez Quintana, Marie Tolkiehn, Mario Giulianielli, Martha Lewis, Martin Potthast, Matthew L. Leavitt, Matthias Hagen, Matyás Schubert, Medina Orduna Baitemirova, Melody Arnaud, Melvin McElrath, Michael A. Yee, Michael Cohen, Michael Gu, Michael Ivanitskiy, Michael Starritt, Michael Strube, Michat Swedrowski, Michele Bevilacqua, Michihiro Yasunaga, Mihir Kale, Mike Cain, Mimee Xu, Mirac Suzgun, Mo Tiwari, Mohit Bansal, Moin Aminnaseri, Mor Geva, Mozhdeh Gheini, Mukund Varma T Nanyun Peng,Nathan Chi Nayeon Lee Neta Gur-Ari Krakover Nicholas Cameron,Nicholas Roberts Nick Doiron,Nikita Nangia,Niklas Deckers,Niklas Muennighoff,Nitish Shirish Keskar,Niveditha S.Iyer Noah Constant Noah Fiedel Nuan Wen Oliver ZhangOmar AghaOmar Elbaghdadi Omer Levy Owain Evans Pablo Antonio Moreno Casares Parth Doshi Pascale FungPaul Pu LiangPaul Vicol,Pegah Alipoormolabashi Peiyuan Liao Percy Liang Peter Chang Peter EckersleyPhu Mon Htut Pinyu HwangPiotr Mlkkowski,Piyush Patil,Pouya Pezeshkpour,Priti
|
| 164 |
+
|
| 165 |
+
Oli, Qiao zhu Mei, Qing Lyu, Qin lang Chen, Rabin Banjade, Rachel Etta Rudolph, Raefer Gabriel, Rahel Habacker, Ramón Risco Delgado, Raphael Milliere, Rhythm Garg, Richard Barnes, Rif A. Saurous, Riku Arakawa, Robbe Raymaekers, Robert Frank, Rohan Sikand, Roman Novak, Roman Sitelew, Ronan LeBras, Rosanne Liu, Rowan Jacobs, Rui Zhang, Ruslan Salakhutdinov, Ryan Chi, Ryan Lee, Ryan Stovall, Ryan Teehan, Ryan Yang, Sahib Singh, Saif M. Mohammad, Sajant Anand, Sam Dillavou, Sam Shleifer, Sam Wiseman, Samuel Gruetter, Samuel R. Bowman, Samuel S. Schoenholz, Sanghyun Han, Sanjeev Kwatra, Sarah A. Rous, Sarik Ghazarian, Sayan Ghosh, Sean Casey, Sebastian Bischoff, Sebastian Gehrmann, Sebastian Schuster, Sepideh Sadeghi, Shadi Hamdan, Sharon Zhou, Shashank Srivastava, Sherry Shi, Shikhar Singh, Shima Asaadi, Shixiang Shane Gu, Shubh Pachchigar, Shubham Toshiwal, Shyam Upadhyay, Shyamolima, Debnath, Siamak Shakeri, Simon Thormeyer, Simone Melzi, Siva Reddy, Sneha Priscilla Makini, Soo-Hwan Lee, Spencer Torene, Sriharsha Hatwar, Stanislas Dehaene, Stefan Divic, Stefano Ermon, Stella Biderman, Stephanie Lin, Stephen Prasad, Steven T. Pi-antadosi, Stuart M. Shieber, Summer Misherghi, Svetlana Kiritchenko, Swaroop Mishra, Tal Linzen, Tal Schuster, Tao Li, Tao Yu, Tariq Ali, Tatsu Hashimoto, Te-Lin Wu, Theo Desbordes, Theodore Rothschild, Thomas Phan, Tianle Wang, Tiberius Nkinyili, Timo Schick, Timofei Kornev, Timothy Telleen-Lawton Titus Tunduny, Tobias Gerstenberg, Trenton Chang Trishala Neeraj, Tushar Khot, Tyler Shultz, Uri Shaham, Vedant Misra, Vera Demberg, Victoria Nyamai Vikas Raunak Vinay Ramasesh Vinay Uday Prabhu Vishakh Padmakumar,Vivek Srikumar William FedusWilliam SaundersWilliam ZhangWout Vossen Xiang RenXiaoyu TongXinran ZhaoXinyi Wu Xudong Shen,Yadollah YaghoobzadehYair Lakretz Yangqiu Song,Yasaman Bahri,Yejin Choi,Yichi Yang,Yiding Hao,Yifu Chen,Yonatan Belinkov Yu HouYufang HouYuntao BaiZachary Seid Zhuoye Zhao Zijian Wang Zijie J.WangZirui Wang,and Ziyi Wu.2022.Beyond the Imitation Game: Quantifying and extrapolating the capabilities of language models.
|
| 166 |
+
|
| 167 |
+
Ross Taylor, Marcin Kardas, Guillem Cucurull, Thomas Scialom, Anthony Hartshorn, Elvis Saravia, Andrew Poulton, Viktor Kerkez, and Robert Stojnic. 2022. Galactica: A Large Language Model for Science.
|
| 168 |
+
|
| 169 |
+
Romal Thoppilan, Daniel De Freitas, Jamie Hall, Noam Shazeer, Apoorv Kulshreshtha, Heng-Tze Cheng, Alicia Jin, Taylor Bos, Leslie Baker, Yu Du, YaGuang Li, Hongrae Lee, Huaixiu Steven Zheng, Amin Ghafouri, Marcelo Menegali, Yanping Huang, Maxim Krikun, Dmitry Lepikhin, James Qin, Dehao Chen, Yuanzhong Xu, Zhifeng Chen, Adam Roberts, Maarten Bosma, Vincent Zhao, Yanqi Zhou, Chung-Ching Chang, Igor Krivokon, Will Rusch, Marc Pickett, Pranesh Srinivasan, Laichee Man, Kathleen Meier-Hellstern, Meredith Ringel Morris, Tulsee Doshi, Renelito Delos Santos, Toju Duke, Johnny Soraker, Ben Zevenbergen, Vinodkumar Prabhakaran,
|
| 170 |
+
|
| 171 |
+
Mark Diaz, Ben Hutchinson, Kristen Olson, Alejandra Molina, Erin Hoffman-John, Josh Lee, Lora Aroyo, Ravi Rajakumar, Alena Butryna, Matthew Lamm, Viktoriya Kuzmina, Joe Fenton, Aaron Cohen, Rachel Bernstein, Ray Kurzweil, Blaise Aguera-Arcas, Claire Cui, Marian Croak, Ed Chi, and Quoc Le. 2022. LaMDA: Language Models for Dialog Applications.
|
| 172 |
+
|
| 173 |
+
Hugo Touvron, Thibaut Lavril, Gautier Izacard, Xavier Martinet, Marie-Anne Lachaux, Timothee Lacroix, Baptiste Rozière, Naman Goyal, Eric Hambro, Faisal Azhar, Aurelien Rodriguez, Armand Joulin, Edouard Grave, and Guillaume Lample. 2023a. LLaMA: Open and Efficient Foundation Language Models.
|
| 174 |
+
|
| 175 |
+
Hugo Touvron, Louis Martin, Kevin Stone, Peter Albert, Amjad Almahairi, Yasmine Babaei, Nikolay Bashlykov, Soumya Batra, Prajjwal Bhargava, Shruti Bhosale, Dan Bikel, Lukas Blecher, Cristian Canton Ferrer, Moya Chen, Guillem Cucurull, David Esiobu, Jude Fernandes, Jeremy Fu, Wenyin Fu, Brian Fuller, Cynthia Gao, Vedanuj Goswami, Naman Goyal, Anthony Hartshorn, Saghar Hosseini, Rui Hou, Hakan Inan, Marcin Kardas, Viktor Kerkez, Madian Khabsa, Isabel Kloumann, Artem Korenev, Punit Singh Koura, Marie-Anne Lachaux, Thibaut Lavril, Jenya Lee, Diana Liskovich, Yinghai Lu, Yuning Mao, Xavier Martinet, Todor Mihaylov, Pushkar Mishra, Igor Molybog, Yixin Nie, Andrew Poulton, Jeremy Reizenstein, Rashi Rungta, Kalyan Saladi, Alan Schelten, Ruan Silva, Eric Michael Smith, Ranjan Subramanian, Xiaoqing Ellen Tan, Binh Tang, Ross Taylor, Adina Williams, Jian Xiang Kuan, Puxin Xu, Zheng Yan, Iliyan Zarov, Yuchen Zhang, Angela Fan, Melanie Kambadur, Sharan Narang, Aurelien Rodriguez, Robert Stojnic, Sergey Edunov, and Thomas Scialom. 2023b. Llama 2: Open Foundation and Fine-Tuned Chat Models.
|
| 176 |
+
|
| 177 |
+
Jason Wei, Yi Tay, Rishi Bommasani, Colin Raffel, Barret Zoph, Sebastian Borgeaud, Dani Yogatama, Maarten Bosma, Denny Zhou, Donald Metzler, Ed H. Chi, Tatsunori Hashimoto, Oriol Vinyals, Percy Liang, Jeff Dean, and William Fedus. 2022. Emergent Abilities of Large Language Models. Transactions on Machine Learning Research.
|
2023/Emergent Inabilities_ Inverse Scaling Over the Course of Pretraining/images.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e5538db07ab19d1ad3afe05ce521fc9fa3add4140adcb512c0b70c5746437f39
|
| 3 |
+
size 279097
|
2023/Emergent Inabilities_ Inverse Scaling Over the Course of Pretraining/layout.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2023/Empowering Psychotherapy with Large Language Models_ Cognitive Distortion Detection through Diagnosis of Thought Prompting/04980a83-f896-4166-a550-6164ef62b39f_content_list.json
ADDED
|
@@ -0,0 +1,1371 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
| 2 |
+
{
|
| 3 |
+
"type": "text",
|
| 4 |
+
"text": "Empowering Psychotherapy with Large Language Models: Cognitive Distortion Detection through Diagnosis of Thought Prompting",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
124,
|
| 8 |
+
89,
|
| 9 |
+
872,
|
| 10 |
+
129
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Zhiyu Chen $^{1}$ , Yujie Lu $^{2}$ , and William Yang Wang $^{2}$",
|
| 17 |
+
"bbox": [
|
| 18 |
+
282,
|
| 19 |
+
141,
|
| 20 |
+
715,
|
| 21 |
+
159
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "Carnegie Mellon University",
|
| 28 |
+
"bbox": [
|
| 29 |
+
381,
|
| 30 |
+
160,
|
| 31 |
+
618,
|
| 32 |
+
175
|
| 33 |
+
],
|
| 34 |
+
"page_idx": 0
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"type": "text",
|
| 38 |
+
"text": "<sup>2</sup>University of California, Santa Barbara",
|
| 39 |
+
"bbox": [
|
| 40 |
+
337,
|
| 41 |
+
175,
|
| 42 |
+
663,
|
| 43 |
+
192
|
| 44 |
+
],
|
| 45 |
+
"page_idx": 0
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"type": "text",
|
| 49 |
+
"text": "zhiyuc@andrew.cmu.edu,",
|
| 50 |
+
"bbox": [
|
| 51 |
+
389,
|
| 52 |
+
193,
|
| 53 |
+
611,
|
| 54 |
+
208
|
| 55 |
+
],
|
| 56 |
+
"page_idx": 0
|
| 57 |
+
},
|
| 58 |
+
{
|
| 59 |
+
"type": "text",
|
| 60 |
+
"text": "{yujielu, william}@cs.ucsb.edu",
|
| 61 |
+
"bbox": [
|
| 62 |
+
349,
|
| 63 |
+
210,
|
| 64 |
+
653,
|
| 65 |
+
225
|
| 66 |
+
],
|
| 67 |
+
"page_idx": 0
|
| 68 |
+
},
|
| 69 |
+
{
|
| 70 |
+
"type": "text",
|
| 71 |
+
"text": "Abstract",
|
| 72 |
+
"text_level": 1,
|
| 73 |
+
"bbox": [
|
| 74 |
+
260,
|
| 75 |
+
252,
|
| 76 |
+
339,
|
| 77 |
+
266
|
| 78 |
+
],
|
| 79 |
+
"page_idx": 0
|
| 80 |
+
},
|
| 81 |
+
{
|
| 82 |
+
"type": "text",
|
| 83 |
+
"text": "Mental illness remains one of the most critical public health issues of our time, due to the severe scarcity and accessibility limit of professionals. Psychotherapy requires high-level expertise to conduct deep, complex reasoning and analysis on the cognition modeling of the patients. In the era of Large Language Models, we believe it is the right time to develop AI assistance for computational psychotherapy. We study the task of cognitive distortion detection and propose the Diagnosis of Thought (DoT) prompting. DoT performs diagnosis on the patient's speech via three stages: subjectivity assessment to separate the facts and the thoughts; contrastive reasoning to elicit the reasoning processes supporting and contradicting the thoughts; and schema analysis to summarize the cognition schemas. The generated diagnosis rationales through the three stages are essential for assisting the professionals. Experiments demonstrate that DoT obtains significant improvements over ChatGPT for cognitive distortion detection, while generating high-quality rationales approved by human experts.",
|
| 84 |
+
"bbox": [
|
| 85 |
+
141,
|
| 86 |
+
279,
|
| 87 |
+
460,
|
| 88 |
+
621
|
| 89 |
+
],
|
| 90 |
+
"page_idx": 0
|
| 91 |
+
},
|
| 92 |
+
{
|
| 93 |
+
"type": "text",
|
| 94 |
+
"text": "1 Introduction",
|
| 95 |
+
"text_level": 1,
|
| 96 |
+
"bbox": [
|
| 97 |
+
114,
|
| 98 |
+
633,
|
| 99 |
+
258,
|
| 100 |
+
648
|
| 101 |
+
],
|
| 102 |
+
"page_idx": 0
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"type": "text",
|
| 106 |
+
"text": "About one in eight people worldwide suffer from mental disorders (World Health Organization, 2022). However, such mental health conditions are severely underserved, due to a number of reasons including the scarcity of mental health professionals, poor quality of services, unaffordable cost, and social stigma (White and Dorman, 2001; Sharma et al., 2020b). Treatment coverage for mental health service use ranges from $33\\%$ in high-income locations to only $8\\%$ in low- and lower middle-income countries (Moitra et al., 2022). A recent study from the American Psychological Association (APA) $^{1}$ found that six in ten psychologists \"no longer have openings for new patients.\"",
|
| 107 |
+
"bbox": [
|
| 108 |
+
112,
|
| 109 |
+
658,
|
| 110 |
+
489,
|
| 111 |
+
884
|
| 112 |
+
],
|
| 113 |
+
"page_idx": 0
|
| 114 |
+
},
|
| 115 |
+
{
|
| 116 |
+
"type": "text",
|
| 117 |
+
"text": "To mitigate such situations, there have been consistent efforts on developing automated systems for mental health support, such as sentiment analysis (Rathje et al., 2023) and empathetic chatbots (Welivita et al., 2021; Sharma et al., 2020b; Saha et al., 2022). However, existing works mostly take shallow attempts in a heuristic manner, e.g., analyzing emotions and generating comforting responses. There is still a significant gap for such systems to contribute to real professional psychotherapy, which requires deep studies of the patient's thinking patterns, the establishment of cognition models, and the methods to reconstruct the cognition models. These procedures constitute the core pillars in common classic therapy paradigms like cognitive-behavior therapy (CBT) (Rothbaum et al., 2000; Wright et al., 2017; Beck, 2020) and acceptance and commitment therapy (ACT) (Harris, 2006; Hayes et al., 2011). Most data sources recording the interactions between the patients and licensed professionals are confidential, making it even more challenging to build professional assistance for psychotherapy.",
|
| 118 |
+
"bbox": [
|
| 119 |
+
507,
|
| 120 |
+
253,
|
| 121 |
+
884,
|
| 122 |
+
624
|
| 123 |
+
],
|
| 124 |
+
"page_idx": 0
|
| 125 |
+
},
|
| 126 |
+
{
|
| 127 |
+
"type": "text",
|
| 128 |
+
"text": "Recent progress in Large Language Model (LLM) development uncovers its astonishing ability in various textual reasoning tasks in zero-shot setting (Kojima et al., 2022; Bang et al., 2023; Chen, 2022). For the psychology domain, ChatGPT and GPT-4 present very promising performance in the classic Sally-Anne test (Baron-Cohen et al., 1985; Bubeck et al., 2023), evaluating the basic theory of mind capabilities to attribute mental states such as beliefs, emotions, desires, etc. We believe it is promising to further exploit such ability to complex mental reasoning and analysis. It is the right time to start developing professional, targeted, and systematic AI assistance for psychotherapy.",
|
| 129 |
+
"bbox": [
|
| 130 |
+
507,
|
| 131 |
+
626,
|
| 132 |
+
884,
|
| 133 |
+
851
|
| 134 |
+
],
|
| 135 |
+
"page_idx": 0
|
| 136 |
+
},
|
| 137 |
+
{
|
| 138 |
+
"type": "text",
|
| 139 |
+
"text": "In this paper, we take the first step by studying the task of cognitive distortion detection, the first core procedure in cognitive behavior therapy (CBT) (Beck, 2020). Inspired by how psychother",
|
| 140 |
+
"bbox": [
|
| 141 |
+
507,
|
| 142 |
+
854,
|
| 143 |
+
882,
|
| 144 |
+
917
|
| 145 |
+
],
|
| 146 |
+
"page_idx": 0
|
| 147 |
+
},
|
| 148 |
+
{
|
| 149 |
+
"type": "page_footnote",
|
| 150 |
+
"text": "<sup>1</sup>https://www.theguardian.com/society/2022/nov/21/therapist-shortage-us-psychologists-pandemic",
|
| 151 |
+
"bbox": [
|
| 152 |
+
112,
|
| 153 |
+
891,
|
| 154 |
+
504,
|
| 155 |
+
919
|
| 156 |
+
],
|
| 157 |
+
"page_idx": 0
|
| 158 |
+
},
|
| 159 |
+
{
|
| 160 |
+
"type": "page_number",
|
| 161 |
+
"text": "4295",
|
| 162 |
+
"bbox": [
|
| 163 |
+
480,
|
| 164 |
+
927,
|
| 165 |
+
519,
|
| 166 |
+
940
|
| 167 |
+
],
|
| 168 |
+
"page_idx": 0
|
| 169 |
+
},
|
| 170 |
+
{
|
| 171 |
+
"type": "footer",
|
| 172 |
+
"text": "Findings of the Association for Computational Linguistics: EMNLP 2023, pages 4295-4304 December 6-10, 2023 ©2023 Association for Computational Linguistics",
|
| 173 |
+
"bbox": [
|
| 174 |
+
216,
|
| 175 |
+
945,
|
| 176 |
+
779,
|
| 177 |
+
972
|
| 178 |
+
],
|
| 179 |
+
"page_idx": 0
|
| 180 |
+
},
|
| 181 |
+
{
|
| 182 |
+
"type": "table",
|
| 183 |
+
"img_path": "images/68735549b8e66c1ffcf9bb70c191f9bf5d0ed827d1185b8f5c42ba4713a459e4.jpg",
|
| 184 |
+
"table_caption": [],
|
| 185 |
+
"table_footnote": [],
|
| 186 |
+
"table_body": "<table><tr><td>Cognitive Distortion Type</td><td>Interpretation</td><td>Example Distorted Speech</td></tr><tr><td>Personalization</td><td>Personalizing or taking up the blame for a situation, that in reality involved many factors and was out of the person's control.</td><td>My son is pretty quiet today. I wonder what I did to upset him.</td></tr><tr><td>Mind Reading</td><td>Suspecting what others are thinking or what are the motivations behind their actions.</td><td>My house was dirty when my friends came over, they must think I'm a slob!</td></tr><tr><td>All-or-nothing thinking</td><td>Looking at a situation as either black or white or thinking that there are only two possible outcomes to a situation.</td><td>If I cannot get my Ph.D., then I am a total failure.</td></tr></table>",
|
| 187 |
+
"bbox": [
|
| 188 |
+
119,
|
| 189 |
+
83,
|
| 190 |
+
880,
|
| 191 |
+
168
|
| 192 |
+
],
|
| 193 |
+
"page_idx": 1
|
| 194 |
+
},
|
| 195 |
+
{
|
| 196 |
+
"type": "text",
|
| 197 |
+
"text": "Table 1: Three example common cognitive distortion types, taken from (Beck, 2020; Shreevastava and Foltz, 2021).",
|
| 198 |
+
"bbox": [
|
| 199 |
+
144,
|
| 200 |
+
175,
|
| 201 |
+
850,
|
| 202 |
+
190
|
| 203 |
+
],
|
| 204 |
+
"page_idx": 1
|
| 205 |
+
},
|
| 206 |
+
{
|
| 207 |
+
"type": "text",
|
| 208 |
+
"text": "apy professionals perform nuanced diagnosis over the patient's speech, we propose the Diagnosis of Thought (DoT) prompting. In DoT, we diagnose the patient's speech through three stages: (1) subjectivity assessment, (2) contrastive reasoning, and (3) schema analysis. In subjectivity assessment, we distinguish the patient's subjective thoughts from the objective facts; In contrastive reasoning, we elicit the reasoning processes supporting and opposing the patient's thoughts; Finally, in schema analysis, we summarize the underlying thought schema and map it to the cognitive distortion types. We conduct comprehensive experiments using the recent top-performing LLMs. In zero-shot setting, DoT obtains over $10\\%$ and $15\\%$ relative improvements for distortion assessment and classification, respectively, on ChatGPT. Meanwhile, the generated rationales through the three stages grant full interpretability for the diagnosis process, whose quality is further approved by human experts.",
|
| 209 |
+
"bbox": [
|
| 210 |
+
115,
|
| 211 |
+
219,
|
| 212 |
+
489,
|
| 213 |
+
541
|
| 214 |
+
],
|
| 215 |
+
"page_idx": 1
|
| 216 |
+
},
|
| 217 |
+
{
|
| 218 |
+
"type": "text",
|
| 219 |
+
"text": "We unveil the great potential of empowering professional psychotherapy with LLM. This exploration serves as a catalyst for a larger initiative; we extend an invitation to both AI and psychotherapy communities to come together in a collaborative effort. Our ultimate goal is to construct professional, safe, AI-driven assistance that can substantially enhance mental health support systems.",
|
| 220 |
+
"bbox": [
|
| 221 |
+
112,
|
| 222 |
+
543,
|
| 223 |
+
489,
|
| 224 |
+
671
|
| 225 |
+
],
|
| 226 |
+
"page_idx": 1
|
| 227 |
+
},
|
| 228 |
+
{
|
| 229 |
+
"type": "text",
|
| 230 |
+
"text": "2 Cognitive Distortion Detection",
|
| 231 |
+
"text_level": 1,
|
| 232 |
+
"bbox": [
|
| 233 |
+
112,
|
| 234 |
+
683,
|
| 235 |
+
410,
|
| 236 |
+
699
|
| 237 |
+
],
|
| 238 |
+
"page_idx": 1
|
| 239 |
+
},
|
| 240 |
+
{
|
| 241 |
+
"type": "text",
|
| 242 |
+
"text": "Cognitive Behavior Therapy (CBT) is a well-established therapy paradigm primarily on depression and anxiety disorders (Beck, 2020). In CBT, given the patients' speech or written content, we establish the cognitive model by building the interactions among the situations, thoughts, and emotions. Patients with mental disorders, such as depression or anxiety, tend to form negative thoughts very rapidly and unconsciously, leading to negative emotions which further strengthen their overall negative views and beliefs about the world.",
|
| 243 |
+
"bbox": [
|
| 244 |
+
112,
|
| 245 |
+
709,
|
| 246 |
+
489,
|
| 247 |
+
885
|
| 248 |
+
],
|
| 249 |
+
"page_idx": 1
|
| 250 |
+
},
|
| 251 |
+
{
|
| 252 |
+
"type": "text",
|
| 253 |
+
"text": "To break this vicious circle, in a typical CBT process, the first core step is to identify those mal",
|
| 254 |
+
"bbox": [
|
| 255 |
+
112,
|
| 256 |
+
887,
|
| 257 |
+
489,
|
| 258 |
+
919
|
| 259 |
+
],
|
| 260 |
+
"page_idx": 1
|
| 261 |
+
},
|
| 262 |
+
{
|
| 263 |
+
"type": "text",
|
| 264 |
+
"text": "adaptive negative thoughts and summarize their underlying schemas, formally known as cognitive distortions. There are generally 10-20 common, well-studied types of cognitive distortions. We present a few types with examples in Table 1, and refer the readers to Appendix A for the full list. Once accurately identify these cognitive distortions, CBT therapists will guide the patients to justify and correct these distortions, so as to gradually reconstruct their cognition models.",
|
| 265 |
+
"bbox": [
|
| 266 |
+
507,
|
| 267 |
+
219,
|
| 268 |
+
884,
|
| 269 |
+
381
|
| 270 |
+
],
|
| 271 |
+
"page_idx": 1
|
| 272 |
+
},
|
| 273 |
+
{
|
| 274 |
+
"type": "text",
|
| 275 |
+
"text": "In the real psychotherapy process, there's a significant amount of textual information including therapeutic conversations and diaries, etc. Such information is often long, highly fragmented, and disorganized, containing multiple types of distortions beyond the toy examples in Table 1. The task of cognitive distortion detection aims to automatically detect the distortion types given such textual information from the patients, in order to assist therapists to enhance their efficiency and productivity. Meanwhile, such detectors can also potentially serve as self-assisting tools for the patients to diagnose their thoughts and conduct CBT practice, upon meeting the robustness and safety requirements. Formally, cognitive distortion detection consists of two steps: 1) Distortion assessment to predict whether the given speech contains cognitive distortions, as a binary classification problem; and 2) Distortion classification to predict the specific distortion types, as a multiclass classification problem.",
|
| 276 |
+
"bbox": [
|
| 277 |
+
507,
|
| 278 |
+
382,
|
| 279 |
+
884,
|
| 280 |
+
718
|
| 281 |
+
],
|
| 282 |
+
"page_idx": 1
|
| 283 |
+
},
|
| 284 |
+
{
|
| 285 |
+
"type": "text",
|
| 286 |
+
"text": "3 The Diagnosis of Thought Prompting",
|
| 287 |
+
"text_level": 1,
|
| 288 |
+
"bbox": [
|
| 289 |
+
507,
|
| 290 |
+
731,
|
| 291 |
+
865,
|
| 292 |
+
749
|
| 293 |
+
],
|
| 294 |
+
"page_idx": 1
|
| 295 |
+
},
|
| 296 |
+
{
|
| 297 |
+
"type": "text",
|
| 298 |
+
"text": "On discussing with psychotherapy professionals, we identify the following key stages to diagnose the patient's speech to detect cognitive distortions. Subjectivity Assessment. The patient's speech consists of a mixture of reality (objective facts) and interpretations/opinions (subjective thoughts). In order to perform deep analysis of distorted thinking, we first need to find out which parts of the speech are objective facts and which parts are subjective thoughts. After such an assessment, we summa",
|
| 299 |
+
"bbox": [
|
| 300 |
+
507,
|
| 301 |
+
758,
|
| 302 |
+
884,
|
| 303 |
+
917
|
| 304 |
+
],
|
| 305 |
+
"page_idx": 1
|
| 306 |
+
},
|
| 307 |
+
{
|
| 308 |
+
"type": "page_number",
|
| 309 |
+
"text": "4296",
|
| 310 |
+
"bbox": [
|
| 311 |
+
480,
|
| 312 |
+
928,
|
| 313 |
+
521,
|
| 314 |
+
940
|
| 315 |
+
],
|
| 316 |
+
"page_idx": 1
|
| 317 |
+
},
|
| 318 |
+
{
|
| 319 |
+
"type": "image",
|
| 320 |
+
"img_path": "images/b6a1ace8f70193bc2abc3d20531685a261bb01778d2918a60d8e0e4c8cb1da94.jpg",
|
| 321 |
+
"image_caption": [
|
| 322 |
+
"Figure 1: The Diagnosis of Thought framework. We strategically prompt the LLM to go through the three diagnosis stages: subjectivity assessment, contrastive reasoning, and schema analysis."
|
| 323 |
+
],
|
| 324 |
+
"image_footnote": [],
|
| 325 |
+
"bbox": [
|
| 326 |
+
115,
|
| 327 |
+
82,
|
| 328 |
+
884,
|
| 329 |
+
256
|
| 330 |
+
],
|
| 331 |
+
"page_idx": 2
|
| 332 |
+
},
|
| 333 |
+
{
|
| 334 |
+
"type": "text",
|
| 335 |
+
"text": "rize the objective facts into the situations as the evidence base to diagnose the subjective thoughts.",
|
| 336 |
+
"bbox": [
|
| 337 |
+
112,
|
| 338 |
+
315,
|
| 339 |
+
485,
|
| 340 |
+
346
|
| 341 |
+
],
|
| 342 |
+
"page_idx": 2
|
| 343 |
+
},
|
| 344 |
+
{
|
| 345 |
+
"type": "text",
|
| 346 |
+
"text": "Contrastive Reasoning. This stage aims to discover how the patient ascertains the veracity of their subjective thoughts. Based on the situation, we deduct the reasoning processes that supports and contradicts the patient's thoughts respectively. By contrasting two different interpretations based on the same situation, we can identify the thought schemas more clearly.",
|
| 347 |
+
"bbox": [
|
| 348 |
+
112,
|
| 349 |
+
349,
|
| 350 |
+
485,
|
| 351 |
+
476
|
| 352 |
+
],
|
| 353 |
+
"page_idx": 2
|
| 354 |
+
},
|
| 355 |
+
{
|
| 356 |
+
"type": "text",
|
| 357 |
+
"text": "Schema Analysis. This stage aims to study why the patient forms the specific reasoning process. The term \"schema\" refers to the cognitive structures that organize our knowledge, beliefs, and expectations. Understanding what schemas a patient is relying on can reveal much about their cognitive mode and distortions.",
|
| 358 |
+
"bbox": [
|
| 359 |
+
112,
|
| 360 |
+
480,
|
| 361 |
+
485,
|
| 362 |
+
590
|
| 363 |
+
],
|
| 364 |
+
"page_idx": 2
|
| 365 |
+
},
|
| 366 |
+
{
|
| 367 |
+
"type": "text",
|
| 368 |
+
"text": "We propose the Diagnosis of Thought (DoT) prompting, guiding the LLM through the above three stages to diagnose the patient's speech. Figure 1 illustrates our framework. We sequentially prompt LLM with three questions for the three stages. After the LLM finishes the generation for all stages, we prompt it with another two questions asking distortion assessment and classification. See Appendix B for all the prompts we use.",
|
| 369 |
+
"bbox": [
|
| 370 |
+
112,
|
| 371 |
+
595,
|
| 372 |
+
485,
|
| 373 |
+
739
|
| 374 |
+
],
|
| 375 |
+
"page_idx": 2
|
| 376 |
+
},
|
| 377 |
+
{
|
| 378 |
+
"type": "text",
|
| 379 |
+
"text": "With DoT prompting, we obtain fully interpretable diagnosis rationales for detecting cognitive distortions. Such interpretability is vital for professionals in real applications. Serving as the diagnosing assistance tool, the diagnosis rationales are essential for the professionals to justify the results. More importantly, they can potentially learn the nuanced thought patterns and schemas derived from the patient's speech through the rationales. This is crucial for the professionals to establish the patient's cognition models more efficiently from",
|
| 380 |
+
"bbox": [
|
| 381 |
+
112,
|
| 382 |
+
741,
|
| 383 |
+
487,
|
| 384 |
+
917
|
| 385 |
+
],
|
| 386 |
+
"page_idx": 2
|
| 387 |
+
},
|
| 388 |
+
{
|
| 389 |
+
"type": "text",
|
| 390 |
+
"text": "the vast amount of speech.",
|
| 391 |
+
"bbox": [
|
| 392 |
+
507,
|
| 393 |
+
315,
|
| 394 |
+
707,
|
| 395 |
+
331
|
| 396 |
+
],
|
| 397 |
+
"page_idx": 2
|
| 398 |
+
},
|
| 399 |
+
{
|
| 400 |
+
"type": "text",
|
| 401 |
+
"text": "4 Experimental Results",
|
| 402 |
+
"text_level": 1,
|
| 403 |
+
"bbox": [
|
| 404 |
+
507,
|
| 405 |
+
343,
|
| 406 |
+
729,
|
| 407 |
+
359
|
| 408 |
+
],
|
| 409 |
+
"page_idx": 2
|
| 410 |
+
},
|
| 411 |
+
{
|
| 412 |
+
"type": "text",
|
| 413 |
+
"text": "4.1 Dataset and experimental settings",
|
| 414 |
+
"text_level": 1,
|
| 415 |
+
"bbox": [
|
| 416 |
+
507,
|
| 417 |
+
368,
|
| 418 |
+
820,
|
| 419 |
+
384
|
| 420 |
+
],
|
| 421 |
+
"page_idx": 2
|
| 422 |
+
},
|
| 423 |
+
{
|
| 424 |
+
"type": "text",
|
| 425 |
+
"text": "We experiment on the cognitive distortion detection dataset proposed by Shreevastava and Foltz (2021), which is annotated by experts based on the Therapist QA dataset. The dataset consists of 2,531 examples of patient speech annotated with ten common types of cognitive distortions, as specified in Appendix A. $63.1\\%$ of the examples have cognitive distortions, which are annotated with the two dominant ones. We follow the same train-test split in (Shreevastava and Foltz, 2021). For automatic evaluations, we report F-1 for distortion assessment and weighted F-1 for distortion classification.",
|
| 426 |
+
"bbox": [
|
| 427 |
+
507,
|
| 428 |
+
388,
|
| 429 |
+
882,
|
| 430 |
+
581
|
| 431 |
+
],
|
| 432 |
+
"page_idx": 2
|
| 433 |
+
},
|
| 434 |
+
{
|
| 435 |
+
"type": "text",
|
| 436 |
+
"text": "4.2 Automatic Evaluation Results",
|
| 437 |
+
"text_level": 1,
|
| 438 |
+
"bbox": [
|
| 439 |
+
507,
|
| 440 |
+
592,
|
| 441 |
+
789,
|
| 442 |
+
606
|
| 443 |
+
],
|
| 444 |
+
"page_idx": 2
|
| 445 |
+
},
|
| 446 |
+
{
|
| 447 |
+
"type": "text",
|
| 448 |
+
"text": "We experiment using three of the recent representative LLMs: ChatGPT (gpt-3.5-turbo)<sup>3</sup>, Vicuna<sup>4</sup>, and GPT-4 (OpenAI, 2023). For all methods, we first prompt with a general instruction specifying the task and the target distortion types. We compare our DoT prompting with 1) Directly generating the results, and 2) Zero-Shot CoT prompting (ZCoT) (Kojima et al., 2022). For Vicuna, both ZCoT and DoT exceed the token limits for many examples; we omit the results. We average over five runs and report mean and standard deviation for all experiments. Table 2 shows our main experiment results. As we can see, under the zero-shot setting, due to the challenge of this task, Vicuna and ChatGPT still fall behind the supervised full-training models. The proposed DoT prompting significantly",
|
| 449 |
+
"bbox": [
|
| 450 |
+
507,
|
| 451 |
+
612,
|
| 452 |
+
882,
|
| 453 |
+
871
|
| 454 |
+
],
|
| 455 |
+
"page_idx": 2
|
| 456 |
+
},
|
| 457 |
+
{
|
| 458 |
+
"type": "page_footnote",
|
| 459 |
+
"text": "$^{2}$ https://www.kaggle.com/arnmaud/therapist-qa",
|
| 460 |
+
"bbox": [
|
| 461 |
+
529,
|
| 462 |
+
878,
|
| 463 |
+
821,
|
| 464 |
+
891
|
| 465 |
+
],
|
| 466 |
+
"page_idx": 2
|
| 467 |
+
},
|
| 468 |
+
{
|
| 469 |
+
"type": "page_footnote",
|
| 470 |
+
"text": "3https://openai.com/blog/chatgpt",
|
| 471 |
+
"bbox": [
|
| 472 |
+
532,
|
| 473 |
+
891,
|
| 474 |
+
732,
|
| 475 |
+
904
|
| 476 |
+
],
|
| 477 |
+
"page_idx": 2
|
| 478 |
+
},
|
| 479 |
+
{
|
| 480 |
+
"type": "page_footnote",
|
| 481 |
+
"text": "<sup>4</sup>https://lmsys.org/blog/2023-03-30-vicuna/",
|
| 482 |
+
"bbox": [
|
| 483 |
+
532,
|
| 484 |
+
904,
|
| 485 |
+
796,
|
| 486 |
+
917
|
| 487 |
+
],
|
| 488 |
+
"page_idx": 2
|
| 489 |
+
},
|
| 490 |
+
{
|
| 491 |
+
"type": "page_number",
|
| 492 |
+
"text": "4297",
|
| 493 |
+
"bbox": [
|
| 494 |
+
480,
|
| 495 |
+
927,
|
| 496 |
+
519,
|
| 497 |
+
940
|
| 498 |
+
],
|
| 499 |
+
"page_idx": 2
|
| 500 |
+
},
|
| 501 |
+
{
|
| 502 |
+
"type": "table",
|
| 503 |
+
"img_path": "images/64b37794b7fcbb3ddd54ace693201c914e625173dd0f70567e5eaf67107a2eda.jpg",
|
| 504 |
+
"table_caption": [],
|
| 505 |
+
"table_footnote": [],
|
| 506 |
+
"table_body": "<table><tr><td>Methods</td><td>Distortion Assessment (F-1)</td><td>Distortion Classification (Weighted F-1)</td></tr><tr><td>Full training*</td><td>75.0</td><td>24.0</td></tr><tr><td>Vicuna</td><td>73.810.95</td><td>11.230.78</td></tr><tr><td>ChatGPT</td><td>73.470.58</td><td>19.241.00</td></tr><tr><td>ChatGPT + ZCoT</td><td>77.101.21</td><td>20.211.02</td></tr><tr><td>ChatGPT + DoT</td><td>81.190.11</td><td>22.250.70</td></tr><tr><td>GPT-4</td><td>83.040.51</td><td>33.860.83</td></tr><tr><td>GPT-4 + ZCoT</td><td>81.971.21</td><td>33.221.36</td></tr><tr><td>GPT-4 + DoT</td><td>82.770.81</td><td>34.641.40</td></tr></table>",
|
| 507 |
+
"bbox": [
|
| 508 |
+
127,
|
| 509 |
+
80,
|
| 510 |
+
470,
|
| 511 |
+
263
|
| 512 |
+
],
|
| 513 |
+
"page_idx": 3
|
| 514 |
+
},
|
| 515 |
+
{
|
| 516 |
+
"type": "table",
|
| 517 |
+
"img_path": "images/796c6a883fb89edc2317fb52a0a02e7fab62c16ecce1ffaa306ff36d821c5d64.jpg",
|
| 518 |
+
"table_caption": [
|
| 519 |
+
"Table 2: Main Results (Standard deviation in subscript). $(^{\\star})$ results copied from (Shreevastava and Foltz, 2021)."
|
| 520 |
+
],
|
| 521 |
+
"table_footnote": [],
|
| 522 |
+
"table_body": "<table><tr><td>Methods</td><td>Distortion Assessment (F-1)</td><td>Distortion Classification (Weighted F-1)</td></tr><tr><td>ChatGPT</td><td>73.470.58</td><td>19.241.00</td></tr><tr><td>ChatGPT + S1</td><td>79.621.12</td><td>18.721.95</td></tr><tr><td>ChatGPT + S1 + S2</td><td>80.700.48</td><td>20.111.02</td></tr><tr><td>ChatGPT + S1 + S2 + S3</td><td>81.190.11</td><td>22.250.70</td></tr></table>",
|
| 523 |
+
"bbox": [
|
| 524 |
+
115,
|
| 525 |
+
317,
|
| 526 |
+
482,
|
| 527 |
+
423
|
| 528 |
+
],
|
| 529 |
+
"page_idx": 3
|
| 530 |
+
},
|
| 531 |
+
{
|
| 532 |
+
"type": "text",
|
| 533 |
+
"text": "boosts the performance of ChatGPT, with the distortion assessment score surpassing the full-training performance and the distortion classification score approaching the full-training performance. The improvement over ZCoT demonstrates the superiority of our proposed strategic stages compared with rationale generation with no guidance. Astonishingly, GPT-4 surpasses the full-training performance even by a large margin for distortion classification. On the one hand, this may demonstrate the powerful ability of GPT-4 on this task - it can already reach a potential upper bound regardless with DoT promoting or not; On the other hand, since the dataset we use is publicly released on Kaggle and its original data source is from online forums, we do not exclude the possibility of data contamination.",
|
| 534 |
+
"bbox": [
|
| 535 |
+
112,
|
| 536 |
+
500,
|
| 537 |
+
489,
|
| 538 |
+
757
|
| 539 |
+
],
|
| 540 |
+
"page_idx": 3
|
| 541 |
+
},
|
| 542 |
+
{
|
| 543 |
+
"type": "text",
|
| 544 |
+
"text": "Ablation Studies and Analysis. To better understand how each stage of DoT contributes to overall performance, we conduct ablation studies using ChatGPT shown in Table 3. All three stages obtain improvements for distortion assessment and distortion classification. For distortion assessment, subjectivity assessment (S1) gains the largest improvement, as separating objective facts and subjective thoughts is a strong trigger to assess distortions. For distortion classification, Schema Analysis (S3)",
|
| 545 |
+
"bbox": [
|
| 546 |
+
112,
|
| 547 |
+
758,
|
| 548 |
+
489,
|
| 549 |
+
917
|
| 550 |
+
],
|
| 551 |
+
"page_idx": 3
|
| 552 |
+
},
|
| 553 |
+
{
|
| 554 |
+
"type": "image",
|
| 555 |
+
"img_path": "images/6701a369fe9e975803d3a626fd263baf4b30b1ca5278a00d974753f5528791b1.jpg",
|
| 556 |
+
"image_caption": [
|
| 557 |
+
"Figure 2: Distortion classification per class F-1."
|
| 558 |
+
],
|
| 559 |
+
"image_footnote": [],
|
| 560 |
+
"bbox": [
|
| 561 |
+
519,
|
| 562 |
+
80,
|
| 563 |
+
870,
|
| 564 |
+
212
|
| 565 |
+
],
|
| 566 |
+
"page_idx": 3
|
| 567 |
+
},
|
| 568 |
+
{
|
| 569 |
+
"type": "table",
|
| 570 |
+
"img_path": "images/50a8461a152e245735f7ec185b121a4fde61760020939c2c9402859e11010a35.jpg",
|
| 571 |
+
"table_caption": [
|
| 572 |
+
"Table 3: Ablation studies on each stage of DoT: we denote Subjectivity Assessment as S1, Contrastive Reasoning as S2, and Schema Analysis as S3."
|
| 573 |
+
],
|
| 574 |
+
"table_footnote": [],
|
| 575 |
+
"table_body": "<table><tr><td>Methods</td><td>Quality</td><td>Subjectivity Assessment</td><td>Contrastive Reasoning</td><td>Schema Analysis</td></tr><tr><td rowspan=\"3\">ChatGPT +DoT</td><td>Comprehensive</td><td>68.5%</td><td>45.0%</td><td>50.5%</td></tr><tr><td>Partially good</td><td>24.5%</td><td>30.5%</td><td>27.0%</td></tr><tr><td>Invalid</td><td>7.0%</td><td>24.5%</td><td>22.5%</td></tr><tr><td rowspan=\"3\">GPT4 +DoT</td><td>Comprehensive</td><td>84.5%</td><td>69.5%</td><td>76.5%</td></tr><tr><td>Partially good</td><td>13.5%</td><td>25.5%</td><td>18.5%</td></tr><tr><td>Invalid</td><td>2.0%</td><td>5.0%</td><td>5.0%</td></tr></table>",
|
| 576 |
+
"bbox": [
|
| 577 |
+
510,
|
| 578 |
+
247,
|
| 579 |
+
878,
|
| 580 |
+
374
|
| 581 |
+
],
|
| 582 |
+
"page_idx": 3
|
| 583 |
+
},
|
| 584 |
+
{
|
| 585 |
+
"type": "text",
|
| 586 |
+
"text": "Table 4: Human evaluation results for diagnosis rationales.",
|
| 587 |
+
"bbox": [
|
| 588 |
+
514,
|
| 589 |
+
382,
|
| 590 |
+
873,
|
| 591 |
+
395
|
| 592 |
+
],
|
| 593 |
+
"page_idx": 3
|
| 594 |
+
},
|
| 595 |
+
{
|
| 596 |
+
"type": "text",
|
| 597 |
+
"text": "obtains large improvement, as the summarized underlying thought schema can match the definition of the distortion types more accurately. We also analyze the distortion classification results for each distortion type, with results shown in Figure 2.",
|
| 598 |
+
"bbox": [
|
| 599 |
+
507,
|
| 600 |
+
428,
|
| 601 |
+
882,
|
| 602 |
+
508
|
| 603 |
+
],
|
| 604 |
+
"page_idx": 3
|
| 605 |
+
},
|
| 606 |
+
{
|
| 607 |
+
"type": "text",
|
| 608 |
+
"text": "4.3 Human Evaluation Results",
|
| 609 |
+
"text_level": 1,
|
| 610 |
+
"bbox": [
|
| 611 |
+
507,
|
| 612 |
+
519,
|
| 613 |
+
766,
|
| 614 |
+
533
|
| 615 |
+
],
|
| 616 |
+
"page_idx": 3
|
| 617 |
+
},
|
| 618 |
+
{
|
| 619 |
+
"type": "text",
|
| 620 |
+
"text": "As there is no reference available for the diagnosis rationales, we employ psychotherapy experts to assess the quality of the generated rationales. We hired psychotherapy professionals from UpWork<sup>5</sup>, e.g., certified clinicians, counseling psychology Ph.D. students, etc. We discussed with each hire to reach an agreement on the payment following a fair wage rate.",
|
| 621 |
+
"bbox": [
|
| 622 |
+
505,
|
| 623 |
+
541,
|
| 624 |
+
884,
|
| 625 |
+
669
|
| 626 |
+
],
|
| 627 |
+
"page_idx": 3
|
| 628 |
+
},
|
| 629 |
+
{
|
| 630 |
+
"type": "text",
|
| 631 |
+
"text": "Specifically, we present the patient's speech, all the prompts, and the generated rationales for all stages to human experts. For the generated rationales of each stage, we instruct the experts to choose between: 1) Comprehensive. (Correct and comprehensive.); 2) Partially good. (Reasonable but not comprehensive) 3) Invalid. (Not reasonable.) Table 4 shows the evaluation results on 100 examples for DoT over ChatGPT and GPT-4. We employ two experts for each evaluation and report the average; The agreement rates (the percentage of examples the two experts gave the same rating) for both evaluations are over $80\\%$ . The diagnosis rationales generated for all stages shows decent",
|
| 632 |
+
"bbox": [
|
| 633 |
+
507,
|
| 634 |
+
670,
|
| 635 |
+
882,
|
| 636 |
+
894
|
| 637 |
+
],
|
| 638 |
+
"page_idx": 3
|
| 639 |
+
},
|
| 640 |
+
{
|
| 641 |
+
"type": "page_footnote",
|
| 642 |
+
"text": "5www.upwork.com",
|
| 643 |
+
"bbox": [
|
| 644 |
+
529,
|
| 645 |
+
903,
|
| 646 |
+
653,
|
| 647 |
+
917
|
| 648 |
+
],
|
| 649 |
+
"page_idx": 3
|
| 650 |
+
},
|
| 651 |
+
{
|
| 652 |
+
"type": "page_number",
|
| 653 |
+
"text": "4298",
|
| 654 |
+
"bbox": [
|
| 655 |
+
480,
|
| 656 |
+
927,
|
| 657 |
+
519,
|
| 658 |
+
940
|
| 659 |
+
],
|
| 660 |
+
"page_idx": 3
|
| 661 |
+
},
|
| 662 |
+
{
|
| 663 |
+
"type": "text",
|
| 664 |
+
"text": "quality verified by the experts. See Appendix C for more generation examples.",
|
| 665 |
+
"bbox": [
|
| 666 |
+
112,
|
| 667 |
+
84,
|
| 668 |
+
487,
|
| 669 |
+
116
|
| 670 |
+
],
|
| 671 |
+
"page_idx": 4
|
| 672 |
+
},
|
| 673 |
+
{
|
| 674 |
+
"type": "text",
|
| 675 |
+
"text": "5 Related Work",
|
| 676 |
+
"text_level": 1,
|
| 677 |
+
"bbox": [
|
| 678 |
+
114,
|
| 679 |
+
128,
|
| 680 |
+
268,
|
| 681 |
+
143
|
| 682 |
+
],
|
| 683 |
+
"page_idx": 4
|
| 684 |
+
},
|
| 685 |
+
{
|
| 686 |
+
"type": "text",
|
| 687 |
+
"text": "Due to the verbal and textual nature of psychotherapy procedures, there have been consistent efforts to employ NLP techniques to assist the mental health domain (Althoff et al., 2016; Abd-Alrazaq et al., 2021, 2019; Valizadeh and Parde, 2022). However, with the knowledge gap between the two communities, most existing works take shallow attempts without deep investigation of the professional psychotherapy knowledge. A majority of the previous studies targets identification of common mental health issues, such as depression and anxiety, from textual contents (Cohan et al., 2018; MacAvaney et al., 2018; Harrigian et al., 2020; Ji et al., 2022; Zanwar et al., 2023; Juhng et al., 2023). Another major category of works study therapeutic conversations with a focus on emotional/empathetic supports (Halder et al., 2017; Sharma et al., 2020a; Atapattu et al., 2022; Mishra et al., 2023), and discourse structures (Cao et al., 2019; Hsu et al., 2023). A few more recent works have started to investigate deeper professional psychotherapy knowledge, e.g., cognitive distortion detection in CBT (Shreevastava and Foltz, 2021; Ding et al., 2022; Lybarger et al., 2022), identifying and reframing unhelpful thoughts (Ziems et al., 2022; Maddela et al., 2023). Early famous system Eliza<sup>6</sup> took the initial attempts to emulate a Rogerian psychotherapist. Due to its rule-based nature, the responses are often reflections or rephrasings of the user's statements. If users deviate too much from expected inputs or probe its capabilities, the program may produce irrelevant or nonsensical responses.",
|
| 688 |
+
"bbox": [
|
| 689 |
+
112,
|
| 690 |
+
154,
|
| 691 |
+
489,
|
| 692 |
+
684
|
| 693 |
+
],
|
| 694 |
+
"page_idx": 4
|
| 695 |
+
},
|
| 696 |
+
{
|
| 697 |
+
"type": "text",
|
| 698 |
+
"text": "Recent progress in large language model reveals that ChatGPT and GPT-4 present very promising performance in the classic Sally-Anne test (Baron-Cohen et al., 1985; Bubeck et al., 2023), evaluating the basic theory of mind capabilities to attribute mental states such as beliefs, emotions, desires, etc. However, latter works also point out the robustness issue of such ability (Shapira et al., 2023). In our work, we are inspired by such enhanced ability and investigate the application of diagnosing patients' thoughts in psychotherapy. Our experiments on the real dataset, not anecdotal examples, show very promising performance both in auto",
|
| 699 |
+
"bbox": [
|
| 700 |
+
112,
|
| 701 |
+
686,
|
| 702 |
+
489,
|
| 703 |
+
896
|
| 704 |
+
],
|
| 705 |
+
"page_idx": 4
|
| 706 |
+
},
|
| 707 |
+
{
|
| 708 |
+
"type": "text",
|
| 709 |
+
"text": "matic and human expert evaluation. We believe it is a very important future research direction to investigate the general cognitive abilities of LLM and make connections to the field of psychology and cognitive science. Theory-wise, we are eager to explore to what extent the LLM can simulate the human cognitive functions, so as to determine the role that language plays in the overall human cognition. Application-wise, a straightforward and encouraging direction should be the integration for assisting mental health treatment, as the motivation and goal of this work.",
|
| 710 |
+
"bbox": [
|
| 711 |
+
507,
|
| 712 |
+
84,
|
| 713 |
+
884,
|
| 714 |
+
277
|
| 715 |
+
],
|
| 716 |
+
"page_idx": 4
|
| 717 |
+
},
|
| 718 |
+
{
|
| 719 |
+
"type": "text",
|
| 720 |
+
"text": "6 Conclusion and Future Work",
|
| 721 |
+
"text_level": 1,
|
| 722 |
+
"bbox": [
|
| 723 |
+
507,
|
| 724 |
+
290,
|
| 725 |
+
796,
|
| 726 |
+
306
|
| 727 |
+
],
|
| 728 |
+
"page_idx": 4
|
| 729 |
+
},
|
| 730 |
+
{
|
| 731 |
+
"type": "text",
|
| 732 |
+
"text": "This work delved into the integration of large language models (LLMs) within the realm of psychotherapy. We introduced the Diagnosis of Thought (DoT) framework, which strategically prompts the LLM to produce diagnosis rationales pertinent to the detection of cognitive distortions. We believe that there exists substantial potential for leveraging LLMs within numerous facets of mental health support that are currently under-explored. Our findings, thus, not only illuminate a path towards more efficient therapy methods but also open doors for future investigations to push the boundaries of AI's role in mental health treatment.",
|
| 733 |
+
"bbox": [
|
| 734 |
+
507,
|
| 735 |
+
316,
|
| 736 |
+
884,
|
| 737 |
+
524
|
| 738 |
+
],
|
| 739 |
+
"page_idx": 4
|
| 740 |
+
},
|
| 741 |
+
{
|
| 742 |
+
"type": "text",
|
| 743 |
+
"text": "In the domain of AI-enhanced psychotherapy, particularly when harnessing the power of LLMs, there are paramount challenges surrounding safety, robustness, and ethical responsibilities. LLM is known to generate hallucinations and biases. While one potential usage of our system is to serve as a self-diagnosing/assisting tool for patients, e.g., to help the patients to recognize their own thinking patterns and learn how the cognitive distortions developed, such tools should not be deployed for direct patient use without the supervision of professionals. As we navigate the potential of LLM in psychotherapy, our foremost priority should remain in building systems that are safe and responsible. Concurrently, the formulation of robust ethical guidelines tailored to this new era becomes indispensable.",
|
| 744 |
+
"bbox": [
|
| 745 |
+
507,
|
| 746 |
+
526,
|
| 747 |
+
884,
|
| 748 |
+
800
|
| 749 |
+
],
|
| 750 |
+
"page_idx": 4
|
| 751 |
+
},
|
| 752 |
+
{
|
| 753 |
+
"type": "text",
|
| 754 |
+
"text": "Limitations",
|
| 755 |
+
"text_level": 1,
|
| 756 |
+
"bbox": [
|
| 757 |
+
509,
|
| 758 |
+
812,
|
| 759 |
+
613,
|
| 760 |
+
828
|
| 761 |
+
],
|
| 762 |
+
"page_idx": 4
|
| 763 |
+
},
|
| 764 |
+
{
|
| 765 |
+
"type": "text",
|
| 766 |
+
"text": "One of the biggest obstacles to studying AI for psychotherapy is the lack of available, high-quality data. Most of the datasets recording the information of the interactions between the patients and licensed professionals are confidential due to pri",
|
| 767 |
+
"bbox": [
|
| 768 |
+
507,
|
| 769 |
+
839,
|
| 770 |
+
884,
|
| 771 |
+
919
|
| 772 |
+
],
|
| 773 |
+
"page_idx": 4
|
| 774 |
+
},
|
| 775 |
+
{
|
| 776 |
+
"type": "page_footnote",
|
| 777 |
+
"text": "$^{6}$ https://en.wikipedia.org/wiki/ELIZA",
|
| 778 |
+
"bbox": [
|
| 779 |
+
134,
|
| 780 |
+
903,
|
| 781 |
+
368,
|
| 782 |
+
917
|
| 783 |
+
],
|
| 784 |
+
"page_idx": 4
|
| 785 |
+
},
|
| 786 |
+
{
|
| 787 |
+
"type": "page_number",
|
| 788 |
+
"text": "4299",
|
| 789 |
+
"bbox": [
|
| 790 |
+
480,
|
| 791 |
+
927,
|
| 792 |
+
519,
|
| 793 |
+
940
|
| 794 |
+
],
|
| 795 |
+
"page_idx": 4
|
| 796 |
+
},
|
| 797 |
+
{
|
| 798 |
+
"type": "text",
|
| 799 |
+
"text": "vacy concerns. The dataset used in this work is the only one we can find publicly available for cognitive distortion detection, as its data source is from public online forums. In addition to the patient's speech, the patient's demographic information also plays an important role in analyzing the thought process leading to cognitive distortions. In this dataset, some of the patient speech include a few demographic details, but pretty minimal. Beyond the task of cognitive distortion detection, the same data constraint issue exists for all other therapy stages and paradigms. This also motivates us to work on building privacy-preserved systems as a crucial future direction.",
|
| 800 |
+
"bbox": [
|
| 801 |
+
112,
|
| 802 |
+
84,
|
| 803 |
+
489,
|
| 804 |
+
309
|
| 805 |
+
],
|
| 806 |
+
"page_idx": 5
|
| 807 |
+
},
|
| 808 |
+
{
|
| 809 |
+
"type": "text",
|
| 810 |
+
"text": "Ethics Statement",
|
| 811 |
+
"text_level": 1,
|
| 812 |
+
"bbox": [
|
| 813 |
+
114,
|
| 814 |
+
323,
|
| 815 |
+
265,
|
| 816 |
+
338
|
| 817 |
+
],
|
| 818 |
+
"page_idx": 5
|
| 819 |
+
},
|
| 820 |
+
{
|
| 821 |
+
"type": "text",
|
| 822 |
+
"text": "The system built in this work are never meant to replace psychotherapy professionals: all system-produced results need to be verified by licensed professionals. The system should not be deployed for direct patient use without the supervision of licensed professionals.",
|
| 823 |
+
"bbox": [
|
| 824 |
+
112,
|
| 825 |
+
350,
|
| 826 |
+
487,
|
| 827 |
+
445
|
| 828 |
+
],
|
| 829 |
+
"page_idx": 5
|
| 830 |
+
},
|
| 831 |
+
{
|
| 832 |
+
"type": "text",
|
| 833 |
+
"text": "There has been a lot of discussions regarding the use of LLMs for AI-driven therapy purpose. Chatbots will find their most effective role in medicine within the realm of mental health, an opinion quoted from Thomas Insel, former director of the National Institute of Mental Health. In the meantime, we should always take caution for such development. Our foremost priority should be building safe and responsible applications while establishing ethical and regulation standards for this new era. Under the current status, the partnership between professionals and AI systems is a promising direction for the goal to ease the burden of professionals, which is the motivation of this work.",
|
| 834 |
+
"bbox": [
|
| 835 |
+
115,
|
| 836 |
+
448,
|
| 837 |
+
489,
|
| 838 |
+
671
|
| 839 |
+
],
|
| 840 |
+
"page_idx": 5
|
| 841 |
+
},
|
| 842 |
+
{
|
| 843 |
+
"type": "text",
|
| 844 |
+
"text": "\"Diagnosis of Thought\" is an innovative approach that harnesses the capabilities of large language models to enhance the field of psychotherapy. It is imperative to understand that this tool is not designed for censorship or any form of invasive surveillance. Instead, it aims to augment the skills of therapists by providing them with advanced, data-driven insights into their clients' thoughts and emotions. Through the efficient processing of linguistic cues and patterns, these models aid mental health professionals in formulating more precise diagnoses and crafting tailored therapeutic interventions that could significantly enhance the well",
|
| 845 |
+
"bbox": [
|
| 846 |
+
112,
|
| 847 |
+
673,
|
| 848 |
+
489,
|
| 849 |
+
882
|
| 850 |
+
],
|
| 851 |
+
"page_idx": 5
|
| 852 |
+
},
|
| 853 |
+
{
|
| 854 |
+
"type": "text",
|
| 855 |
+
"text": "being of individuals seeking help.",
|
| 856 |
+
"bbox": [
|
| 857 |
+
507,
|
| 858 |
+
84,
|
| 859 |
+
761,
|
| 860 |
+
99
|
| 861 |
+
],
|
| 862 |
+
"page_idx": 5
|
| 863 |
+
},
|
| 864 |
+
{
|
| 865 |
+
"type": "text",
|
| 866 |
+
"text": "For all the annotations and human evaluations presented in this work, we hired psychotherapy professionals from UpWork<sup>8</sup>, e.g., certified clinicians, counseling psychology Ph.D. students, etc. We discussed with each hire to reach an agreement on the payment following a fair wage rate. The average hourly rate for all the experts is $80.",
|
| 867 |
+
"bbox": [
|
| 868 |
+
507,
|
| 869 |
+
101,
|
| 870 |
+
884,
|
| 871 |
+
212
|
| 872 |
+
],
|
| 873 |
+
"page_idx": 5
|
| 874 |
+
},
|
| 875 |
+
{
|
| 876 |
+
"type": "text",
|
| 877 |
+
"text": "This project is approved by our Institutional Review Board (IRB). The data annotation is classified as exempt by our IRB.",
|
| 878 |
+
"bbox": [
|
| 879 |
+
507,
|
| 880 |
+
214,
|
| 881 |
+
882,
|
| 882 |
+
262
|
| 883 |
+
],
|
| 884 |
+
"page_idx": 5
|
| 885 |
+
},
|
| 886 |
+
{
|
| 887 |
+
"type": "text",
|
| 888 |
+
"text": "References",
|
| 889 |
+
"text_level": 1,
|
| 890 |
+
"bbox": [
|
| 891 |
+
510,
|
| 892 |
+
290,
|
| 893 |
+
608,
|
| 894 |
+
305
|
| 895 |
+
],
|
| 896 |
+
"page_idx": 5
|
| 897 |
+
},
|
| 898 |
+
{
|
| 899 |
+
"type": "list",
|
| 900 |
+
"sub_type": "ref_text",
|
| 901 |
+
"list_items": [
|
| 902 |
+
"Alaa A Abd-Alrazaq, Mohannad Alajlani, Ali Abdallah Alalwan, Bridgette M Bewick, Peter Gardner, and Mowafa Househ. 2019. An overview of the features of chatbots in mental health: A scoping review. International Journal of Medical Informatics, 132:103978.",
|
| 903 |
+
"Alaa A Abd-Alrazaq, Mohammad Alajlani, Nashva Ali, Kerstin Denecke, Bridgette M Bewick, and Mowafa Househ. 2021. Perceptions and opinions of patients about mental health chatbots: scoping review. Journal of medical Internet research, 23(1):e17828.",
|
| 904 |
+
"Tim Althoff, Kevin Clark, and Jure Leskovec. 2016. Large-scale analysis of counseling conversations: An application of natural language processing to mental health. Transactions of the Association for Computational Linguistics, 4:463-476.",
|
| 905 |
+
"Thushari Atapattu, Mahen Herath, Charitha Elvitigala, Piyanjali de Zoysa, Kasun Gunawardana, Menasha Thilakaratne, Kasun de Zoysa, and Katrina Falkner. 2022. EmoMent: An emotion annotated mental health corpus from two South Asian countries. In Proceedings of the 29th International Conference on Computational Linguistics, pages 6991-7001, Gyeongju, Republic of Korea. International Committee on Computational Linguistics.",
|
| 906 |
+
"Yejin Bang, Samuel Cahyawijaya, Nayeon Lee, Wen-liang Dai, Dan Su, Bryan Wilie, Holy Lovenia, Ziwei Ji, Tiezheng Yu, Willy Chung, et al. 2023. A multitask, multilingual, multimodal evaluation of chatgpt on reasoning, hallucination, and interactivity. arXiv preprint arXiv:2302.04023.",
|
| 907 |
+
"Simon Baron-Cohen, Alan M Leslie, and Uta Frith. 1985. Does the autistic child have a \"theory of mind\"? Cognition, 21(1):37-46.",
|
| 908 |
+
"Judith S Beck. 2020. Cognitive behavior therapy: Basics and beyond. Guilford Publications.",
|
| 909 |
+
"Sebastien Bubeck, Varun Chandrasekaran, Ronen Eldan, Johannes Gehrke, Eric Horvitz, Ece Kamar,"
|
| 910 |
+
],
|
| 911 |
+
"bbox": [
|
| 912 |
+
509,
|
| 913 |
+
313,
|
| 914 |
+
885,
|
| 915 |
+
895
|
| 916 |
+
],
|
| 917 |
+
"page_idx": 5
|
| 918 |
+
},
|
| 919 |
+
{
|
| 920 |
+
"type": "page_footnote",
|
| 921 |
+
"text": "<sup>7</sup>https://www.scientificamerican.com/article/ai-chatbots-could-help-provide-therapy-but-caution-is-needed/",
|
| 922 |
+
"bbox": [
|
| 923 |
+
112,
|
| 924 |
+
891,
|
| 925 |
+
487,
|
| 926 |
+
917
|
| 927 |
+
],
|
| 928 |
+
"page_idx": 5
|
| 929 |
+
},
|
| 930 |
+
{
|
| 931 |
+
"type": "page_footnote",
|
| 932 |
+
"text": "$^{8}$ www.upwork.com",
|
| 933 |
+
"bbox": [
|
| 934 |
+
531,
|
| 935 |
+
903,
|
| 936 |
+
653,
|
| 937 |
+
917
|
| 938 |
+
],
|
| 939 |
+
"page_idx": 5
|
| 940 |
+
},
|
| 941 |
+
{
|
| 942 |
+
"type": "page_number",
|
| 943 |
+
"text": "4300",
|
| 944 |
+
"bbox": [
|
| 945 |
+
480,
|
| 946 |
+
927,
|
| 947 |
+
519,
|
| 948 |
+
940
|
| 949 |
+
],
|
| 950 |
+
"page_idx": 5
|
| 951 |
+
},
|
| 952 |
+
{
|
| 953 |
+
"type": "list",
|
| 954 |
+
"sub_type": "ref_text",
|
| 955 |
+
"list_items": [
|
| 956 |
+
"Peter Lee, Yin Tat Lee, Yuanzhi Li, Scott Lundberg, et al. 2023. Sparks of artificial general intelligence: Early experiments with gpt-4. arXiv preprint arXiv:2303.12712.",
|
| 957 |
+
"Jie Cao, Michael Tanana, Zac E Imel, Eric Poitras, David C Atkins, and Vivek Srikumar. 2019. Observing dialogue in therapy: Categorizing and forecasting behavioral codes. arXiv preprint arXiv:1907.00326.",
|
| 958 |
+
"Wenhu Chen. 2022. Large language models are few (1)-shot table reasoners. arXiv preprint arXiv:2210.06710.",
|
| 959 |
+
"Arman Cohan, Bart Desmet, Andrew Yates, Luca Soldaini, Sean MacAvaney, and Nazli Goharian. 2018. SMHD: a large-scale resource for exploring online language usage for multiple mental health conditions. In Proceedings of the 27th International Conference on Computational Linguistics, pages 1485-1497, Santa Fe, New Mexico, USA. Association for Computational Linguistics.",
|
| 960 |
+
"Xiruo Ding, Kevin Lybarger, Justin Tauscher, and Trevor Cohen. 2022. Improving classification of infrequent cognitive distortions: Domain-specific model vs. data augmentation. In Proceedings of the 2022 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies: Student Research Workshop, pages 68-75, Hybrid: Seattle, Washington + Online. Association for Computational Linguistics.",
|
| 961 |
+
"Kishaloy Halder, Lahari Poddar, and Min-Yen Kan. 2017. Modeling temporal progression of emotional status in mental health forum: A recurrent neural net approach. In Proceedings of the 8th Workshop on Computational Approaches to Subjectivity, Sentiment and Social Media Analysis, pages 127-135, Copenhagen, Denmark. Association for Computational Linguistics.",
|
| 962 |
+
"Keith Harrigian, Carlos Aguirre, and Mark Dredze. 2020. Do models of mental health based on social media data generalize? In *Findings of the Association for Computational Linguistics: EMNLP* 2020, pages 3774-3788, Online. Association for Computational Linguistics.",
|
| 963 |
+
"Russell Harris. 2006. Embracing your demons: An overview of acceptance and commitment therapy. Psychotherapy in Australia, 12(4):70-6.",
|
| 964 |
+
"Steven C Hayes, Kirk D Strosahl, and Kelly G Wilson. 2011. Acceptance and commitment therapy: The process and practice of mindful change. Guilford press.",
|
| 965 |
+
"Shang-Ling Hsu, Raj Sanjay Shah, Prathik Senthil, Zahra Ashktorab, Casey Dugan, Werner Geyer, and Diyi Yang. 2023. Helping the helper: Supporting peer counselors via ai-empowered practice and feedback. arXiv preprint arXiv:2305.08982."
|
| 966 |
+
],
|
| 967 |
+
"bbox": [
|
| 968 |
+
115,
|
| 969 |
+
85,
|
| 970 |
+
487,
|
| 971 |
+
917
|
| 972 |
+
],
|
| 973 |
+
"page_idx": 6
|
| 974 |
+
},
|
| 975 |
+
{
|
| 976 |
+
"type": "list",
|
| 977 |
+
"sub_type": "ref_text",
|
| 978 |
+
"list_items": [
|
| 979 |
+
"Shaoxiong Ji, Tianlin Zhang, Luna Ansari, Jie Fu, Prayag Tiwari, and Erik Cambria. 2022. MentalBERT: Publicly available pretrained language models for mental healthcare. In Proceedings of the Thirteenth Language Resources and Evaluation Conference, pages 7184-7190, Marseille, France. European Language Resources Association.",
|
| 980 |
+
"Swanie Juhng, Matthew Matero, Vasudha Varadarajan, Johannes Eichstaedt, Adithya V Ganesan, and H Andrew Schwartz. 2023. Discourse-level representations can improve prediction of degree of anxiety. In Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics (Volume 2: Short Papers), pages 1500-1511.",
|
| 981 |
+
"Takeshi Kojima, Shixiang Shane Gu, Machel Reid, Yutaka Matsuo, and Yusuke Iwasawa. 2022. Large language models are zero-shot reasoners. arXiv preprint arXiv:2205.11916.",
|
| 982 |
+
"Kevin Lybarger, Justin Tauscher, Xiruo Ding, Dror Ben-Zeev, and Trevor Cohen. 2022. Identifying distorted thinking in patient-therapist text message exchanges by leveraging dynamic multi-turn context. In Proceedings of the Eighth Workshop on Computational Linguistics and Clinical Psychology, pages 126-136.",
|
| 983 |
+
"Sean MacAvaney, Bart Desmet, Arman Cohan, Luca Soldaini, Andrew Yates, Ayah Zirikly, and Nazli Goharian. 2018. RSDD-time: Temporal annotation of self-reported mental health diagnoses. In Proceedings of the Fifth Workshop on Computational Linguistics and Clinical Psychology: From Keyboard to Clinic, pages 168-173, New Orleans, LA. Association for Computational Linguistics.",
|
| 984 |
+
"Mounica Maddela, Megan Ung, Jing Xu, Andrea Madotto, Heather Foran, and Y-Lan Boureau. 2023. Training models to generate, recognize, and reframe unhelpful thoughts. arXiv preprint arXiv:2307.02768.",
|
| 985 |
+
"Kshitij Mishra, Priyanshu Priya, and Asif Ekbal. 2023. PAL to lend a helping hand: Towards building an emotion adaptive polite and empathetic counseling conversational agent. In Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 12254-12271, Toronto, Canada. Association for Computational Linguistics.",
|
| 986 |
+
"Modhurima Moitra, Damian Santomauro, Pamela Y Collins, Theo Vos, Harvey Whiteford, Shekhar Saxena, and Alize J Ferrari. 2022. The global gap in treatment coverage for major depressive disorder in 84 countries from 2000-2019: A systematic review and bayesian meta-regression analysis. PLoS Medicine, 19(2):e1003901.",
|
| 987 |
+
"OpenAI. 2023. Gpt-4 technical report. arXiv preprint arXiv:2303.08774.",
|
| 988 |
+
"Steve Rathje, Dan-Mircea Mirea, Ilia Sucholutsky, Raja Marjieh, Claire Robertson, and Jay J Van Bavel. 2023."
|
| 989 |
+
],
|
| 990 |
+
"bbox": [
|
| 991 |
+
510,
|
| 992 |
+
85,
|
| 993 |
+
882,
|
| 994 |
+
917
|
| 995 |
+
],
|
| 996 |
+
"page_idx": 6
|
| 997 |
+
},
|
| 998 |
+
{
|
| 999 |
+
"type": "page_number",
|
| 1000 |
+
"text": "4301",
|
| 1001 |
+
"bbox": [
|
| 1002 |
+
480,
|
| 1003 |
+
928,
|
| 1004 |
+
517,
|
| 1005 |
+
940
|
| 1006 |
+
],
|
| 1007 |
+
"page_idx": 6
|
| 1008 |
+
},
|
| 1009 |
+
{
|
| 1010 |
+
"type": "text",
|
| 1011 |
+
"text": "Gpt is an effective tool for multilingual psychological text analysis.",
|
| 1012 |
+
"bbox": [
|
| 1013 |
+
134,
|
| 1014 |
+
85,
|
| 1015 |
+
485,
|
| 1016 |
+
112
|
| 1017 |
+
],
|
| 1018 |
+
"page_idx": 7
|
| 1019 |
+
},
|
| 1020 |
+
{
|
| 1021 |
+
"type": "list",
|
| 1022 |
+
"sub_type": "ref_text",
|
| 1023 |
+
"list_items": [
|
| 1024 |
+
"Barbara Olasov Rothbaum, Elizabeth A Meadows, Patricia Resick, and David W Foy. 2000. Cognitive-behavioral therapy.",
|
| 1025 |
+
"Tulika Saha, Saichethan Reddy, Anindya Das, Sriparna Saha, and Pushpak Bhattacharyya. 2022. A shoulder to cry on: Towards a motivational virtual assistant for assuaging mental agony. In Proceedings of the 2022 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pages 2436-2449.",
|
| 1026 |
+
"Natalie Shapira, Mosh Levy, Seyed Hossein Alavi, Xuhui Zhou, Yejin Choi, Yoav Goldberg, Maarten Sap, and Vered Shwartz. 2023. Clever hans or neural theory of mind? stress testing social reasoning in large language models. arXiv preprint arXiv:2305.14763.",
|
| 1027 |
+
"Ashish Sharma, Adam Miner, David Atkins, and Tim Althoff. 2020a. A computational approach to understanding empathy expressed in text-based mental health support. In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP), pages 5263-5276, Online. Association for Computational Linguistics.",
|
| 1028 |
+
"Ashish Sharma, Adam S Miner, David C Atkins, and Tim Althoff. 2020b. A computational approach to understanding empathy expressed in text-based mental health support. arXiv preprint arXiv:2009.08441.",
|
| 1029 |
+
"Sagarika Shreevastava and Peter Foltz. 2021. Detecting cognitive distortions from patient-therapist interactions. In Proceedings of the Seventh Workshop on Computational Linguistics and Clinical Psychology: Improving Access, pages 151-158.",
|
| 1030 |
+
"Mina Valizadeh and Natalie Parde. 2022. The ai doctor is in: A survey of task-oriented dialogue systems for healthcare applications. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 6638-6660.",
|
| 1031 |
+
"Anuradha Welivita, Yubo Xie, and Pearl Pu. 2021. A large-scale dataset for empathetic response generation. In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing, pages 1251-1264.",
|
| 1032 |
+
"Marsha White and Steve M Dorman. 2001. Receiving social support online: implications for health education. Health education research, 16(6):693-707.",
|
| 1033 |
+
"Jesse H Wright, Gregory K Brown, Michael E Thase, and Monica Ramirez Basco. 2017. Learning cognitive-behavior therapy: An illustrated guide. American Psychiatric Pub.",
|
| 1034 |
+
"Sourabh Zanwar, Xiaofei Li, Daniel Wiechmann, Yu Qiao, and Elma Kerz. 2023. What to fuse and how to fuse: Exploring emotion and personality fusion"
|
| 1035 |
+
],
|
| 1036 |
+
"bbox": [
|
| 1037 |
+
115,
|
| 1038 |
+
122,
|
| 1039 |
+
487,
|
| 1040 |
+
917
|
| 1041 |
+
],
|
| 1042 |
+
"page_idx": 7
|
| 1043 |
+
},
|
| 1044 |
+
{
|
| 1045 |
+
"type": "list",
|
| 1046 |
+
"sub_type": "ref_text",
|
| 1047 |
+
"list_items": [
|
| 1048 |
+
"In Findings of the Association for Computational Linguistics: ACL 2023, pages 8926-8940, Toronto, Canada. Association for Computational Linguistics.",
|
| 1049 |
+
"Caleb Ziems, Minzhi Li, Anthony Zhang, and Diyi Yang. 2022. Inducing positive perspectives with text reframing. arXiv preprint arXiv:2204.02952."
|
| 1050 |
+
],
|
| 1051 |
+
"bbox": [
|
| 1052 |
+
510,
|
| 1053 |
+
85,
|
| 1054 |
+
880,
|
| 1055 |
+
187
|
| 1056 |
+
],
|
| 1057 |
+
"page_idx": 7
|
| 1058 |
+
},
|
| 1059 |
+
{
|
| 1060 |
+
"type": "text",
|
| 1061 |
+
"text": "Appendix A: Cognitive Distortion Types",
|
| 1062 |
+
"text_level": 1,
|
| 1063 |
+
"bbox": [
|
| 1064 |
+
510,
|
| 1065 |
+
198,
|
| 1066 |
+
857,
|
| 1067 |
+
214
|
| 1068 |
+
],
|
| 1069 |
+
"page_idx": 7
|
| 1070 |
+
},
|
| 1071 |
+
{
|
| 1072 |
+
"type": "text",
|
| 1073 |
+
"text": "We list all the ten cognitive distortion types studies in this work following-(Shreevastava and Foltz, 2021) in Table 5. Note that these ten types being studied are some common, well-studied ones. As psychotherapy develops, more fine-grained and new distortion types are expected to be unveiled.",
|
| 1074 |
+
"bbox": [
|
| 1075 |
+
510,
|
| 1076 |
+
223,
|
| 1077 |
+
880,
|
| 1078 |
+
318
|
| 1079 |
+
],
|
| 1080 |
+
"page_idx": 7
|
| 1081 |
+
},
|
| 1082 |
+
{
|
| 1083 |
+
"type": "text",
|
| 1084 |
+
"text": "For the cognitive distortion detection dataset proposed by Shreevastava and Foltz (2021), there are 2,531 examples in total. We follow the original $80\\% - 20\\%$ train-test split. The input patient speech has an average length of 167.3 tokens, and the ten distortion types are roughly equally distributed.",
|
| 1085 |
+
"bbox": [
|
| 1086 |
+
510,
|
| 1087 |
+
321,
|
| 1088 |
+
880,
|
| 1089 |
+
414
|
| 1090 |
+
],
|
| 1091 |
+
"page_idx": 7
|
| 1092 |
+
},
|
| 1093 |
+
{
|
| 1094 |
+
"type": "text",
|
| 1095 |
+
"text": "Appendix B: Prompt Details",
|
| 1096 |
+
"text_level": 1,
|
| 1097 |
+
"bbox": [
|
| 1098 |
+
510,
|
| 1099 |
+
426,
|
| 1100 |
+
757,
|
| 1101 |
+
443
|
| 1102 |
+
],
|
| 1103 |
+
"page_idx": 7
|
| 1104 |
+
},
|
| 1105 |
+
{
|
| 1106 |
+
"type": "text",
|
| 1107 |
+
"text": "For all our experiments without using DoT, we first prompt the LLM with the following general instructions:",
|
| 1108 |
+
"bbox": [
|
| 1109 |
+
510,
|
| 1110 |
+
453,
|
| 1111 |
+
880,
|
| 1112 |
+
497
|
| 1113 |
+
],
|
| 1114 |
+
"page_idx": 7
|
| 1115 |
+
},
|
| 1116 |
+
{
|
| 1117 |
+
"type": "text",
|
| 1118 |
+
"text": "Given a speech of a patient, our task is to 1) identify if there is cognitive distortion in the speech; 2) Recognizing the specific types of the cognitive distortion. Here we consider the following common distortions: (followed by the descriptions and examples for all ten prompts in the dataset metadata of (Shreevastava and Foltz, 2021).",
|
| 1119 |
+
"bbox": [
|
| 1120 |
+
510,
|
| 1121 |
+
501,
|
| 1122 |
+
880,
|
| 1123 |
+
611
|
| 1124 |
+
],
|
| 1125 |
+
"page_idx": 7
|
| 1126 |
+
},
|
| 1127 |
+
{
|
| 1128 |
+
"type": "text",
|
| 1129 |
+
"text": "For all our experiments using DoT, we first prompt the LLM with the following general instructions:",
|
| 1130 |
+
"bbox": [
|
| 1131 |
+
510,
|
| 1132 |
+
614,
|
| 1133 |
+
880,
|
| 1134 |
+
658
|
| 1135 |
+
],
|
| 1136 |
+
"page_idx": 7
|
| 1137 |
+
},
|
| 1138 |
+
{
|
| 1139 |
+
"type": "text",
|
| 1140 |
+
"text": "Given a speech of a patient, our task is to 1) finish a few diagnose of thought questions to analyze the thought patterns of the patient. Then based on the diagnose of thought analysis, 2) identify if there is cognitive distortion in the speech; 3) Recognizing the specific types of the cognitive distortion. Here we consider the following common distortions: (followed by the descriptions and examples for all ten prompts in the dataset metadata of (Shreevastava and Foltz, 2021).",
|
| 1141 |
+
"bbox": [
|
| 1142 |
+
510,
|
| 1143 |
+
662,
|
| 1144 |
+
880,
|
| 1145 |
+
820
|
| 1146 |
+
],
|
| 1147 |
+
"page_idx": 7
|
| 1148 |
+
},
|
| 1149 |
+
{
|
| 1150 |
+
"type": "text",
|
| 1151 |
+
"text": "Then for methods without using DoT, we prompt the following two questions:",
|
| 1152 |
+
"bbox": [
|
| 1153 |
+
510,
|
| 1154 |
+
822,
|
| 1155 |
+
880,
|
| 1156 |
+
853
|
| 1157 |
+
],
|
| 1158 |
+
"page_idx": 7
|
| 1159 |
+
},
|
| 1160 |
+
{
|
| 1161 |
+
"type": "text",
|
| 1162 |
+
"text": "Please first answer: if there is cognitive distortion in the speech; Answer 'yes' or 'no'; Please then answer: Recognizing the specific types of the cognitive distortion in the speech. There may be",
|
| 1163 |
+
"bbox": [
|
| 1164 |
+
510,
|
| 1165 |
+
854,
|
| 1166 |
+
880,
|
| 1167 |
+
917
|
| 1168 |
+
],
|
| 1169 |
+
"page_idx": 7
|
| 1170 |
+
},
|
| 1171 |
+
{
|
| 1172 |
+
"type": "page_number",
|
| 1173 |
+
"text": "4302",
|
| 1174 |
+
"bbox": [
|
| 1175 |
+
480,
|
| 1176 |
+
928,
|
| 1177 |
+
519,
|
| 1178 |
+
940
|
| 1179 |
+
],
|
| 1180 |
+
"page_idx": 7
|
| 1181 |
+
},
|
| 1182 |
+
{
|
| 1183 |
+
"type": "table",
|
| 1184 |
+
"img_path": "images/8f982077edf97013885339044a1dbffa60ad42ea5b778adf88bb02953ea7c2f4.jpg",
|
| 1185 |
+
"table_caption": [],
|
| 1186 |
+
"table_footnote": [],
|
| 1187 |
+
"table_body": "<table><tr><td>Cognitive Distortion Type</td><td>Interpretation</td><td>Example Distorted Speech</td></tr><tr><td>Personalization</td><td>Personalizing or taking up the blame for a situation, that in reality involved many factors and was out of the person's control.</td><td>My son is pretty quiet today. I wonder what I did to upset him.</td></tr><tr><td>Mind Reading</td><td>Suspecting what others are thinking or what are the motivations behind their actions.</td><td>My house was dirty when my friends came over, they must think I'm a slob!</td></tr><tr><td>Overgeneralization</td><td>Major conclusions are drawn based on limited information.</td><td>Last time I was in the pool I almost drowned, I am a terrible swimmer and should not go into the water again.</td></tr><tr><td>All-or-nothing thinking</td><td>Looking at a situation as either black or white or thinking that there are only two possible outcomes to a situation.</td><td>If I cannot get my Ph.D., then I am a total failure.</td></tr><tr><td>Emotional reasoning</td><td>Letting one's feeling about something overrule facts to the contrary.</td><td>Even though Steve is here at work late every day, I know I work harder than anyone else at my job.</td></tr><tr><td>Labeling</td><td>Giving someone or something a label without finding out more about it/them.</td><td>My daughter would never do anything I disapproved of.</td></tr><tr><td>Magnification</td><td>Emphasizing the negative or playing down the positive of a situation.</td><td>My professor said he made some corrections on my paper, so I know I'll probably fail the class.</td></tr><tr><td>Mental filter</td><td>Placing all one's attention o, or seeing only, the negatives of a situation.</td><td>My husband says he wishes I was better at housekeeping, so I must be a lousy wife.</td></tr><tr><td>Should statements</td><td>Should statements appear as a list of ironclad rules about how a person should behave, this could be about the speaker themselves or other.It is NOT necessary that the word 'should' or it's synonyms (ought to, must etc.) be present in the statements containing this distortion.</td><td>I should get all A's to be a good student.</td></tr><tr><td>Fortune-telling</td><td>As the name suggests, this distortion is about expecting things to happen a certain way, or assuming that thing will go badlyCounterintuitively, this distortion does not always have future tense.</td><td>I was afraid of job interviews so I decided to start my own thing.</td></tr></table>",
|
| 1188 |
+
"bbox": [
|
| 1189 |
+
117,
|
| 1190 |
+
83,
|
| 1191 |
+
878,
|
| 1192 |
+
325
|
| 1193 |
+
],
|
| 1194 |
+
"page_idx": 8
|
| 1195 |
+
},
|
| 1196 |
+
{
|
| 1197 |
+
"type": "text",
|
| 1198 |
+
"text": "Table 5: Common cognitive distortion types and example speech, taken from (Beck, 2020; Shreevastava and Foltz, 2021).",
|
| 1199 |
+
"bbox": [
|
| 1200 |
+
127,
|
| 1201 |
+
332,
|
| 1202 |
+
865,
|
| 1203 |
+
347
|
| 1204 |
+
],
|
| 1205 |
+
"page_idx": 8
|
| 1206 |
+
},
|
| 1207 |
+
{
|
| 1208 |
+
"type": "text",
|
| 1209 |
+
"text": "one type of cognitive distortion or multiple types involved. If there are multiple types, please give the top 2 dominant ones. Please only give the distortion type names separated by comma.",
|
| 1210 |
+
"bbox": [
|
| 1211 |
+
112,
|
| 1212 |
+
378,
|
| 1213 |
+
487,
|
| 1214 |
+
441
|
| 1215 |
+
],
|
| 1216 |
+
"page_idx": 8
|
| 1217 |
+
},
|
| 1218 |
+
{
|
| 1219 |
+
"type": "text",
|
| 1220 |
+
"text": "For methods using DoT, before asking this two questions, we provide the following DoT prompts: Based on the patient's speech, finish the following diagnosis of thought questions: 1. what is the situation? Find out the facts that are objective; what is the patient thinking or imagining? Find out the thoughts or opinions that are subjective. 2. what makes the patient think the thought is true or is not true? Find out the reasoning processes that support and do not support these thoughts. 3. why does the patient come up with such reasoning process supporting the thought? What's the underlying cognition mode of it?",
|
| 1221 |
+
"bbox": [
|
| 1222 |
+
112,
|
| 1223 |
+
443,
|
| 1224 |
+
487,
|
| 1225 |
+
651
|
| 1226 |
+
],
|
| 1227 |
+
"page_idx": 8
|
| 1228 |
+
},
|
| 1229 |
+
{
|
| 1230 |
+
"type": "text",
|
| 1231 |
+
"text": "Appendix C: Generation Examples",
|
| 1232 |
+
"text_level": 1,
|
| 1233 |
+
"bbox": [
|
| 1234 |
+
114,
|
| 1235 |
+
663,
|
| 1236 |
+
420,
|
| 1237 |
+
680
|
| 1238 |
+
],
|
| 1239 |
+
"page_idx": 8
|
| 1240 |
+
},
|
| 1241 |
+
{
|
| 1242 |
+
"type": "text",
|
| 1243 |
+
"text": "We present some generation examples of GPT-3.5 and GPT-4 in Figure 3.",
|
| 1244 |
+
"bbox": [
|
| 1245 |
+
112,
|
| 1246 |
+
688,
|
| 1247 |
+
485,
|
| 1248 |
+
720
|
| 1249 |
+
],
|
| 1250 |
+
"page_idx": 8
|
| 1251 |
+
},
|
| 1252 |
+
{
|
| 1253 |
+
"type": "page_number",
|
| 1254 |
+
"text": "4303",
|
| 1255 |
+
"bbox": [
|
| 1256 |
+
480,
|
| 1257 |
+
928,
|
| 1258 |
+
519,
|
| 1259 |
+
940
|
| 1260 |
+
],
|
| 1261 |
+
"page_idx": 8
|
| 1262 |
+
},
|
| 1263 |
+
{
|
| 1264 |
+
"type": "text",
|
| 1265 |
+
"text": "Patient Message: Lately I have been extremely unhappy for no apparent reason. I feel empty almost all the time. It is like nothing can give me genuine joy anymore. I also feel alone a lot, even though I do have friends and close friends. Whenever I try to imagine my future all I see is one full of obstacles. I have become so consumed in sadness and I do not know how to deal anymore. I feel so confused and I do not understand myself anymore.",
|
| 1266 |
+
"bbox": [
|
| 1267 |
+
129,
|
| 1268 |
+
193,
|
| 1269 |
+
860,
|
| 1270 |
+
223
|
| 1271 |
+
],
|
| 1272 |
+
"page_idx": 9
|
| 1273 |
+
},
|
| 1274 |
+
{
|
| 1275 |
+
"type": "table",
|
| 1276 |
+
"img_path": "images/40abdb6121961be0f103ec15bb22af662c36468675c95535ffd652493f4385aa.jpg",
|
| 1277 |
+
"table_caption": [
|
| 1278 |
+
"Diagnosis of Thought (ChatGPT):"
|
| 1279 |
+
],
|
| 1280 |
+
"table_footnote": [],
|
| 1281 |
+
"table_body": "<table><tr><td>Objective Fact:</td><td>The patient has been feeling extremely unhappy and empty lately.</td></tr><tr><td>Subjective Thought:</td><td>Nothing can give the patient genuine joy and that the future is full of obstacles. the patient feels confused and does not understand themselves anymore.</td></tr><tr><td>Reasoning Process Supporting the Thoughts:</td><td>The patient may believe that their thoughts are true because they are experiencing these feelings and emotions firsthand.</td></tr><tr><td>Reasoning Process Contradicting the Thoughts:</td><td>There may not be factual evidence to support the belief that nothing can give the patient genuine joy or that the future is full of obstacles. the patient may be using emotional reasoning to support their beliefs.</td></tr><tr><td>Cognition Schema:</td><td>The patient may be experiencing a cognitive mode of negativity bias, where they tend to focus on negative experiences and thoughts rather than positive ones. this may be influencing their reasoning processes, leading them to magnify the negative and filter out the positive aspects of their life and future. additionally, the patient may be struggling with depression, which can impact the way they perceive themselves and the world around them.</td></tr></table>",
|
| 1282 |
+
"bbox": [
|
| 1283 |
+
127,
|
| 1284 |
+
254,
|
| 1285 |
+
477,
|
| 1286 |
+
456
|
| 1287 |
+
],
|
| 1288 |
+
"page_idx": 9
|
| 1289 |
+
},
|
| 1290 |
+
{
|
| 1291 |
+
"type": "table",
|
| 1292 |
+
"img_path": "images/717af0f76ecb1adc154c09e3d9bc4a5505c5aafc8f5d95b785a5537082a34601.jpg",
|
| 1293 |
+
"table_caption": [
|
| 1294 |
+
"Diagnosis of Thought (GPT4):"
|
| 1295 |
+
],
|
| 1296 |
+
"table_footnote": [],
|
| 1297 |
+
"table_body": "<table><tr><td>Objective Fact:</td><td>The patient has been extremely unhappy recently. The patient feels empty and alone most of the time. he patient has friends and close friends.</td></tr><tr><td>Subjective Thought:</td><td>They believe nothing can bring them genuine joy anymore. They imagine their future full of obstacles. They feel consumed by sadness and confusion and no longer understand themselves.</td></tr><tr><td>Reasoning Process</td><td>The persistent feeling of emptiness and lack of joy might make the patient believe that their situation is unchanging and will remain the same. They may be experiencing negative events in their lives, making it harder to feel hopeful about their future.</td></tr><tr><td>Supporting the Thoughts:</td><td>Feeling alone even when surrounded by friends could cause them to think that their friendships are not fulfilling or meaningful.</td></tr><tr><td>Reasoning Process</td><td rowspan=\"2\">Emotions and feelings are temporary and can change over time, so it is not guaranteed that the patient will always feel this way. The patient is aware that they do have friends, which suggests that some level of meaningful connection exists. Obstacles are a natural part of life, but they are not the only things present in one's future. positive events and achievements are also likely to occur.</td></tr><tr><td>Contradicting the Thoughts:</td></tr><tr><td>Cognition Schema:</td><td>Emotional reasoning: they believe that their feelings of unhappiness, emptiness, and loneliness are true reflections of their life's reality. Mental filter: they are focusing on the negative aspects of their life and filtering out positive experiences or memories. Fortune-telling: they are assuming that their future will be full of obstacles based on their current emotions and thoughts.</td></tr></table>",
|
| 1298 |
+
"bbox": [
|
| 1299 |
+
507,
|
| 1300 |
+
254,
|
| 1301 |
+
860,
|
| 1302 |
+
473
|
| 1303 |
+
],
|
| 1304 |
+
"page_idx": 9
|
| 1305 |
+
},
|
| 1306 |
+
{
|
| 1307 |
+
"type": "text",
|
| 1308 |
+
"text": "Patient Message: So I have no close friends at the moment probably I know some people enough just to say hi but no close one and whenever I make any they go away I don't know if its my personality the reason or the way I behave and the only friends I can gain are school friends since there is no other place I go to I can't really stand myself alone. Thanks for helping.",
|
| 1309 |
+
"bbox": [
|
| 1310 |
+
129,
|
| 1311 |
+
498,
|
| 1312 |
+
863,
|
| 1313 |
+
529
|
| 1314 |
+
],
|
| 1315 |
+
"page_idx": 9
|
| 1316 |
+
},
|
| 1317 |
+
{
|
| 1318 |
+
"type": "table",
|
| 1319 |
+
"img_path": "images/06996da8ebd71b31ea6ec23a611ea9ac992024be031636ce847cb1d2a278188d.jpg",
|
| 1320 |
+
"table_caption": [
|
| 1321 |
+
"Diagnosis of Thought (ChatGPT):"
|
| 1322 |
+
],
|
| 1323 |
+
"table_footnote": [],
|
| 1324 |
+
"table_body": "<table><tr><td>Objective Fact:</td><td>The patient has no close friends at the moment and feels lonely. The patient has made acquaintances but no close friends.</td></tr><tr><td>Subjective Thought:</td><td>The patient feels that they are the reason for their friends leaving and wonders if it's their personality or behavior causing the issue. they cannot stand being alone.</td></tr><tr><td>Reasoning Process Supporting the Thoughts:</td><td>The patient believes their thoughts to be true because they have not been able to maintain any close friendships and the pattern keeps repeating itself. they may be using past experiences to support this belief.</td></tr><tr><td>Reasoning Process Contradicting the Thoughts:</td><td>There may be other reasons for the loss of these friendships that the patient is not considering.</td></tr><tr><td>Cognition Schema:</td><td>The patient may be experiencing cognitive distortions such as overgeneralization by assuming that all friendships will end up the same way and mental filtering by focusing only on the negative aspects of their past friendships. the underlying cognition mode could be a negative self-image or low self-esteem.</td></tr></table>",
|
| 1325 |
+
"bbox": [
|
| 1326 |
+
127,
|
| 1327 |
+
562,
|
| 1328 |
+
477,
|
| 1329 |
+
739
|
| 1330 |
+
],
|
| 1331 |
+
"page_idx": 9
|
| 1332 |
+
},
|
| 1333 |
+
{
|
| 1334 |
+
"type": "table",
|
| 1335 |
+
"img_path": "images/7bc5968054c6082d595c374e0e54f63da73f7967346390a60b5ac3c233932a66.jpg",
|
| 1336 |
+
"table_caption": [
|
| 1337 |
+
"Diagnosis of Thought (GPT4):"
|
| 1338 |
+
],
|
| 1339 |
+
"table_footnote": [],
|
| 1340 |
+
"table_body": "<table><tr><td>Objective Fact:</td><td>The patient currently does not have close friends and mainly interacts with school friends. they feel lonely and seek help.</td></tr><tr><td>Subjective Thought:</td><td>The patient believes that their personality or behavior might be the reason their friendships don't last, and they are limited in opportunities to make new friends.</td></tr><tr><td>Reasoning Process</td><td>The patient might have experienced failed friendships and noticed a pattern of people leaving their life. this leads them to question if their personality or behavior is the cause.</td></tr><tr><td>Supporting the Thoughts:</td><td></td></tr><tr><td>Reasoning Process</td><td>The patient has not provided concrete examples or evidence that their personality or behavior is the reason behind the lack of close friendships. it is possible there are external factors or situational circumstances that led to the loss of friendships.</td></tr><tr><td>Contradicting the Thoughts:</td><td></td></tr><tr><td>Cognition Schema:</td><td>The patient might be engaging in personalization and overgeneralization cognitive distortions. personalization because they seem to be taking the blame for friendships not lasting, assuming it's their fault due to their personality or behavior. overgeneralization because they are making a broad conclusion based on limited information (i.e., the assumption that their personality or behavior is the sole reason for the lack of close friends). this underlying cognition mode could stem from low self-esteem, fear of rejection, or previous negative experiences in social situations.</td></tr></table>",
|
| 1341 |
+
"bbox": [
|
| 1342 |
+
507,
|
| 1343 |
+
558,
|
| 1344 |
+
860,
|
| 1345 |
+
766
|
| 1346 |
+
],
|
| 1347 |
+
"page_idx": 9
|
| 1348 |
+
},
|
| 1349 |
+
{
|
| 1350 |
+
"type": "text",
|
| 1351 |
+
"text": "Figure 3: Showcases of Diagnosis of Thought using ChatGPT and GPT4 given the Patient Message.",
|
| 1352 |
+
"bbox": [
|
| 1353 |
+
193,
|
| 1354 |
+
801,
|
| 1355 |
+
801,
|
| 1356 |
+
815
|
| 1357 |
+
],
|
| 1358 |
+
"page_idx": 9
|
| 1359 |
+
},
|
| 1360 |
+
{
|
| 1361 |
+
"type": "page_number",
|
| 1362 |
+
"text": "4304",
|
| 1363 |
+
"bbox": [
|
| 1364 |
+
480,
|
| 1365 |
+
928,
|
| 1366 |
+
519,
|
| 1367 |
+
940
|
| 1368 |
+
],
|
| 1369 |
+
"page_idx": 9
|
| 1370 |
+
}
|
| 1371 |
+
]
|
2023/Empowering Psychotherapy with Large Language Models_ Cognitive Distortion Detection through Diagnosis of Thought Prompting/04980a83-f896-4166-a550-6164ef62b39f_model.json
ADDED
|
@@ -0,0 +1,1826 @@
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
[
|
| 3 |
+
{
|
| 4 |
+
"type": "title",
|
| 5 |
+
"bbox": [
|
| 6 |
+
0.126,
|
| 7 |
+
0.09,
|
| 8 |
+
0.873,
|
| 9 |
+
0.13
|
| 10 |
+
],
|
| 11 |
+
"angle": 0,
|
| 12 |
+
"content": "Empowering Psychotherapy with Large Language Models: Cognitive Distortion Detection through Diagnosis of Thought Prompting"
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"bbox": [
|
| 17 |
+
0.284,
|
| 18 |
+
0.142,
|
| 19 |
+
0.717,
|
| 20 |
+
0.16
|
| 21 |
+
],
|
| 22 |
+
"angle": 0,
|
| 23 |
+
"content": "Zhiyu Chen\\(^{1}\\), Yujie Lu\\(^{2}\\), and William Yang Wang\\(^{2}\\)"
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"bbox": [
|
| 28 |
+
0.383,
|
| 29 |
+
0.161,
|
| 30 |
+
0.619,
|
| 31 |
+
0.177
|
| 32 |
+
],
|
| 33 |
+
"angle": 0,
|
| 34 |
+
"content": "Carnegie Mellon University"
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"type": "text",
|
| 38 |
+
"bbox": [
|
| 39 |
+
0.338,
|
| 40 |
+
0.177,
|
| 41 |
+
0.665,
|
| 42 |
+
0.193
|
| 43 |
+
],
|
| 44 |
+
"angle": 0,
|
| 45 |
+
"content": "<sup>2</sup>University of California, Santa Barbara"
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"type": "text",
|
| 49 |
+
"bbox": [
|
| 50 |
+
0.391,
|
| 51 |
+
0.194,
|
| 52 |
+
0.612,
|
| 53 |
+
0.209
|
| 54 |
+
],
|
| 55 |
+
"angle": 0,
|
| 56 |
+
"content": "zhiyuc@andrew.cmu.edu,"
|
| 57 |
+
},
|
| 58 |
+
{
|
| 59 |
+
"type": "text",
|
| 60 |
+
"bbox": [
|
| 61 |
+
0.35,
|
| 62 |
+
0.211,
|
| 63 |
+
0.654,
|
| 64 |
+
0.227
|
| 65 |
+
],
|
| 66 |
+
"angle": 0,
|
| 67 |
+
"content": "{yujielu, william}@cs.ucsb.edu"
|
| 68 |
+
},
|
| 69 |
+
{
|
| 70 |
+
"type": "title",
|
| 71 |
+
"bbox": [
|
| 72 |
+
0.261,
|
| 73 |
+
0.253,
|
| 74 |
+
0.341,
|
| 75 |
+
0.267
|
| 76 |
+
],
|
| 77 |
+
"angle": 0,
|
| 78 |
+
"content": "Abstract"
|
| 79 |
+
},
|
| 80 |
+
{
|
| 81 |
+
"type": "text",
|
| 82 |
+
"bbox": [
|
| 83 |
+
0.142,
|
| 84 |
+
0.28,
|
| 85 |
+
0.461,
|
| 86 |
+
0.622
|
| 87 |
+
],
|
| 88 |
+
"angle": 0,
|
| 89 |
+
"content": "Mental illness remains one of the most critical public health issues of our time, due to the severe scarcity and accessibility limit of professionals. Psychotherapy requires high-level expertise to conduct deep, complex reasoning and analysis on the cognition modeling of the patients. In the era of Large Language Models, we believe it is the right time to develop AI assistance for computational psychotherapy. We study the task of cognitive distortion detection and propose the Diagnosis of Thought (DoT) prompting. DoT performs diagnosis on the patient's speech via three stages: subjectivity assessment to separate the facts and the thoughts; contrastive reasoning to elicit the reasoning processes supporting and contradicting the thoughts; and schema analysis to summarize the cognition schemas. The generated diagnosis rationales through the three stages are essential for assisting the professionals. Experiments demonstrate that DoT obtains significant improvements over ChatGPT for cognitive distortion detection, while generating high-quality rationales approved by human experts."
|
| 90 |
+
},
|
| 91 |
+
{
|
| 92 |
+
"type": "title",
|
| 93 |
+
"bbox": [
|
| 94 |
+
0.115,
|
| 95 |
+
0.634,
|
| 96 |
+
0.26,
|
| 97 |
+
0.649
|
| 98 |
+
],
|
| 99 |
+
"angle": 0,
|
| 100 |
+
"content": "1 Introduction"
|
| 101 |
+
},
|
| 102 |
+
{
|
| 103 |
+
"type": "text",
|
| 104 |
+
"bbox": [
|
| 105 |
+
0.113,
|
| 106 |
+
0.659,
|
| 107 |
+
0.49,
|
| 108 |
+
0.885
|
| 109 |
+
],
|
| 110 |
+
"angle": 0,
|
| 111 |
+
"content": "About one in eight people worldwide suffer from mental disorders (World Health Organization, 2022). However, such mental health conditions are severely underserved, due to a number of reasons including the scarcity of mental health professionals, poor quality of services, unaffordable cost, and social stigma (White and Dorman, 2001; Sharma et al., 2020b). Treatment coverage for mental health service use ranges from \\(33\\%\\) in high-income locations to only \\(8\\%\\) in low- and lower middle-income countries (Moitra et al., 2022). A recent study from the American Psychological Association (APA)\\(^{1}\\) found that six in ten psychologists \"no longer have openings for new patients.\""
|
| 112 |
+
},
|
| 113 |
+
{
|
| 114 |
+
"type": "text",
|
| 115 |
+
"bbox": [
|
| 116 |
+
0.508,
|
| 117 |
+
0.254,
|
| 118 |
+
0.885,
|
| 119 |
+
0.625
|
| 120 |
+
],
|
| 121 |
+
"angle": 0,
|
| 122 |
+
"content": "To mitigate such situations, there have been consistent efforts on developing automated systems for mental health support, such as sentiment analysis (Rathje et al., 2023) and empathetic chatbots (Welivita et al., 2021; Sharma et al., 2020b; Saha et al., 2022). However, existing works mostly take shallow attempts in a heuristic manner, e.g., analyzing emotions and generating comforting responses. There is still a significant gap for such systems to contribute to real professional psychotherapy, which requires deep studies of the patient's thinking patterns, the establishment of cognition models, and the methods to reconstruct the cognition models. These procedures constitute the core pillars in common classic therapy paradigms like cognitive-behavior therapy (CBT) (Rothbaum et al., 2000; Wright et al., 2017; Beck, 2020) and acceptance and commitment therapy (ACT) (Harris, 2006; Hayes et al., 2011). Most data sources recording the interactions between the patients and licensed professionals are confidential, making it even more challenging to build professional assistance for psychotherapy."
|
| 123 |
+
},
|
| 124 |
+
{
|
| 125 |
+
"type": "text",
|
| 126 |
+
"bbox": [
|
| 127 |
+
0.508,
|
| 128 |
+
0.627,
|
| 129 |
+
0.885,
|
| 130 |
+
0.852
|
| 131 |
+
],
|
| 132 |
+
"angle": 0,
|
| 133 |
+
"content": "Recent progress in Large Language Model (LLM) development uncovers its astonishing ability in various textual reasoning tasks in zero-shot setting (Kojima et al., 2022; Bang et al., 2023; Chen, 2022). For the psychology domain, ChatGPT and GPT-4 present very promising performance in the classic Sally-Anne test (Baron-Cohen et al., 1985; Bubeck et al., 2023), evaluating the basic theory of mind capabilities to attribute mental states such as beliefs, emotions, desires, etc. We believe it is promising to further exploit such ability to complex mental reasoning and analysis. It is the right time to start developing professional, targeted, and systematic AI assistance for psychotherapy."
|
| 134 |
+
},
|
| 135 |
+
{
|
| 136 |
+
"type": "text",
|
| 137 |
+
"bbox": [
|
| 138 |
+
0.509,
|
| 139 |
+
0.855,
|
| 140 |
+
0.884,
|
| 141 |
+
0.919
|
| 142 |
+
],
|
| 143 |
+
"angle": 0,
|
| 144 |
+
"content": "In this paper, we take the first step by studying the task of cognitive distortion detection, the first core procedure in cognitive behavior therapy (CBT) (Beck, 2020). Inspired by how psychother"
|
| 145 |
+
},
|
| 146 |
+
{
|
| 147 |
+
"type": "page_footnote",
|
| 148 |
+
"bbox": [
|
| 149 |
+
0.114,
|
| 150 |
+
0.892,
|
| 151 |
+
0.505,
|
| 152 |
+
0.92
|
| 153 |
+
],
|
| 154 |
+
"angle": 0,
|
| 155 |
+
"content": "<sup>1</sup>https://www.theguardian.com/society/2022/nov/21/therapist-shortage-us-psychologists-pandemic"
|
| 156 |
+
},
|
| 157 |
+
{
|
| 158 |
+
"type": "page_number",
|
| 159 |
+
"bbox": [
|
| 160 |
+
0.481,
|
| 161 |
+
0.928,
|
| 162 |
+
0.521,
|
| 163 |
+
0.941
|
| 164 |
+
],
|
| 165 |
+
"angle": 0,
|
| 166 |
+
"content": "4295"
|
| 167 |
+
},
|
| 168 |
+
{
|
| 169 |
+
"type": "footer",
|
| 170 |
+
"bbox": [
|
| 171 |
+
0.218,
|
| 172 |
+
0.946,
|
| 173 |
+
0.78,
|
| 174 |
+
0.973
|
| 175 |
+
],
|
| 176 |
+
"angle": 0,
|
| 177 |
+
"content": "Findings of the Association for Computational Linguistics: EMNLP 2023, pages 4295-4304 December 6-10, 2023 ©2023 Association for Computational Linguistics"
|
| 178 |
+
}
|
| 179 |
+
],
|
| 180 |
+
[
|
| 181 |
+
{
|
| 182 |
+
"type": "table",
|
| 183 |
+
"bbox": [
|
| 184 |
+
0.12,
|
| 185 |
+
0.084,
|
| 186 |
+
0.881,
|
| 187 |
+
0.169
|
| 188 |
+
],
|
| 189 |
+
"angle": 0,
|
| 190 |
+
"content": "<table><tr><td>Cognitive Distortion Type</td><td>Interpretation</td><td>Example Distorted Speech</td></tr><tr><td>Personalization</td><td>Personalizing or taking up the blame for a situation, that in reality involved many factors and was out of the person's control.</td><td>My son is pretty quiet today. I wonder what I did to upset him.</td></tr><tr><td>Mind Reading</td><td>Suspecting what others are thinking or what are the motivations behind their actions.</td><td>My house was dirty when my friends came over, they must think I'm a slob!</td></tr><tr><td>All-or-nothing thinking</td><td>Looking at a situation as either black or white or thinking that there are only two possible outcomes to a situation.</td><td>If I cannot get my Ph.D., then I am a total failure.</td></tr></table>"
|
| 191 |
+
},
|
| 192 |
+
{
|
| 193 |
+
"type": "table_caption",
|
| 194 |
+
"bbox": [
|
| 195 |
+
0.145,
|
| 196 |
+
0.176,
|
| 197 |
+
0.851,
|
| 198 |
+
0.191
|
| 199 |
+
],
|
| 200 |
+
"angle": 0,
|
| 201 |
+
"content": "Table 1: Three example common cognitive distortion types, taken from (Beck, 2020; Shreevastava and Foltz, 2021)."
|
| 202 |
+
},
|
| 203 |
+
{
|
| 204 |
+
"type": "text",
|
| 205 |
+
"bbox": [
|
| 206 |
+
0.117,
|
| 207 |
+
0.221,
|
| 208 |
+
0.49,
|
| 209 |
+
0.542
|
| 210 |
+
],
|
| 211 |
+
"angle": 0,
|
| 212 |
+
"content": "apy professionals perform nuanced diagnosis over the patient's speech, we propose the Diagnosis of Thought (DoT) prompting. In DoT, we diagnose the patient's speech through three stages: (1) subjectivity assessment, (2) contrastive reasoning, and (3) schema analysis. In subjectivity assessment, we distinguish the patient's subjective thoughts from the objective facts; In contrastive reasoning, we elicit the reasoning processes supporting and opposing the patient's thoughts; Finally, in schema analysis, we summarize the underlying thought schema and map it to the cognitive distortion types. We conduct comprehensive experiments using the recent top-performing LLMs. In zero-shot setting, DoT obtains over \\(10\\%\\) and \\(15\\%\\) relative improvements for distortion assessment and classification, respectively, on ChatGPT. Meanwhile, the generated rationales through the three stages grant full interpretability for the diagnosis process, whose quality is further approved by human experts."
|
| 213 |
+
},
|
| 214 |
+
{
|
| 215 |
+
"type": "text",
|
| 216 |
+
"bbox": [
|
| 217 |
+
0.113,
|
| 218 |
+
0.544,
|
| 219 |
+
0.49,
|
| 220 |
+
0.673
|
| 221 |
+
],
|
| 222 |
+
"angle": 0,
|
| 223 |
+
"content": "We unveil the great potential of empowering professional psychotherapy with LLM. This exploration serves as a catalyst for a larger initiative; we extend an invitation to both AI and psychotherapy communities to come together in a collaborative effort. Our ultimate goal is to construct professional, safe, AI-driven assistance that can substantially enhance mental health support systems."
|
| 224 |
+
},
|
| 225 |
+
{
|
| 226 |
+
"type": "title",
|
| 227 |
+
"bbox": [
|
| 228 |
+
0.114,
|
| 229 |
+
0.684,
|
| 230 |
+
0.411,
|
| 231 |
+
0.7
|
| 232 |
+
],
|
| 233 |
+
"angle": 0,
|
| 234 |
+
"content": "2 Cognitive Distortion Detection"
|
| 235 |
+
},
|
| 236 |
+
{
|
| 237 |
+
"type": "text",
|
| 238 |
+
"bbox": [
|
| 239 |
+
0.113,
|
| 240 |
+
0.71,
|
| 241 |
+
0.49,
|
| 242 |
+
0.886
|
| 243 |
+
],
|
| 244 |
+
"angle": 0,
|
| 245 |
+
"content": "Cognitive Behavior Therapy (CBT) is a well-established therapy paradigm primarily on depression and anxiety disorders (Beck, 2020). In CBT, given the patients' speech or written content, we establish the cognitive model by building the interactions among the situations, thoughts, and emotions. Patients with mental disorders, such as depression or anxiety, tend to form negative thoughts very rapidly and unconsciously, leading to negative emotions which further strengthen their overall negative views and beliefs about the world."
|
| 246 |
+
},
|
| 247 |
+
{
|
| 248 |
+
"type": "text",
|
| 249 |
+
"bbox": [
|
| 250 |
+
0.113,
|
| 251 |
+
0.888,
|
| 252 |
+
0.49,
|
| 253 |
+
0.92
|
| 254 |
+
],
|
| 255 |
+
"angle": 0,
|
| 256 |
+
"content": "To break this vicious circle, in a typical CBT process, the first core step is to identify those mal"
|
| 257 |
+
},
|
| 258 |
+
{
|
| 259 |
+
"type": "text",
|
| 260 |
+
"bbox": [
|
| 261 |
+
0.508,
|
| 262 |
+
0.221,
|
| 263 |
+
0.885,
|
| 264 |
+
0.382
|
| 265 |
+
],
|
| 266 |
+
"angle": 0,
|
| 267 |
+
"content": "adaptive negative thoughts and summarize their underlying schemas, formally known as cognitive distortions. There are generally 10-20 common, well-studied types of cognitive distortions. We present a few types with examples in Table 1, and refer the readers to Appendix A for the full list. Once accurately identify these cognitive distortions, CBT therapists will guide the patients to justify and correct these distortions, so as to gradually reconstruct their cognition models."
|
| 268 |
+
},
|
| 269 |
+
{
|
| 270 |
+
"type": "text",
|
| 271 |
+
"bbox": [
|
| 272 |
+
0.508,
|
| 273 |
+
0.383,
|
| 274 |
+
0.885,
|
| 275 |
+
0.719
|
| 276 |
+
],
|
| 277 |
+
"angle": 0,
|
| 278 |
+
"content": "In the real psychotherapy process, there's a significant amount of textual information including therapeutic conversations and diaries, etc. Such information is often long, highly fragmented, and disorganized, containing multiple types of distortions beyond the toy examples in Table 1. The task of cognitive distortion detection aims to automatically detect the distortion types given such textual information from the patients, in order to assist therapists to enhance their efficiency and productivity. Meanwhile, such detectors can also potentially serve as self-assisting tools for the patients to diagnose their thoughts and conduct CBT practice, upon meeting the robustness and safety requirements. Formally, cognitive distortion detection consists of two steps: 1) Distortion assessment to predict whether the given speech contains cognitive distortions, as a binary classification problem; and 2) Distortion classification to predict the specific distortion types, as a multiclass classification problem."
|
| 279 |
+
},
|
| 280 |
+
{
|
| 281 |
+
"type": "title",
|
| 282 |
+
"bbox": [
|
| 283 |
+
0.509,
|
| 284 |
+
0.732,
|
| 285 |
+
0.866,
|
| 286 |
+
0.75
|
| 287 |
+
],
|
| 288 |
+
"angle": 0,
|
| 289 |
+
"content": "3 The Diagnosis of Thought Prompting"
|
| 290 |
+
},
|
| 291 |
+
{
|
| 292 |
+
"type": "text",
|
| 293 |
+
"bbox": [
|
| 294 |
+
0.508,
|
| 295 |
+
0.759,
|
| 296 |
+
0.885,
|
| 297 |
+
0.919
|
| 298 |
+
],
|
| 299 |
+
"angle": 0,
|
| 300 |
+
"content": "On discussing with psychotherapy professionals, we identify the following key stages to diagnose the patient's speech to detect cognitive distortions. Subjectivity Assessment. The patient's speech consists of a mixture of reality (objective facts) and interpretations/opinions (subjective thoughts). In order to perform deep analysis of distorted thinking, we first need to find out which parts of the speech are objective facts and which parts are subjective thoughts. After such an assessment, we summa"
|
| 301 |
+
},
|
| 302 |
+
{
|
| 303 |
+
"type": "page_number",
|
| 304 |
+
"bbox": [
|
| 305 |
+
0.481,
|
| 306 |
+
0.929,
|
| 307 |
+
0.522,
|
| 308 |
+
0.941
|
| 309 |
+
],
|
| 310 |
+
"angle": 0,
|
| 311 |
+
"content": "4296"
|
| 312 |
+
}
|
| 313 |
+
],
|
| 314 |
+
[
|
| 315 |
+
{
|
| 316 |
+
"type": "image",
|
| 317 |
+
"bbox": [
|
| 318 |
+
0.117,
|
| 319 |
+
0.083,
|
| 320 |
+
0.885,
|
| 321 |
+
0.257
|
| 322 |
+
],
|
| 323 |
+
"angle": 0,
|
| 324 |
+
"content": null
|
| 325 |
+
},
|
| 326 |
+
{
|
| 327 |
+
"type": "image_caption",
|
| 328 |
+
"bbox": [
|
| 329 |
+
0.113,
|
| 330 |
+
0.266,
|
| 331 |
+
0.884,
|
| 332 |
+
0.292
|
| 333 |
+
],
|
| 334 |
+
"angle": 0,
|
| 335 |
+
"content": "Figure 1: The Diagnosis of Thought framework. We strategically prompt the LLM to go through the three diagnosis stages: subjectivity assessment, contrastive reasoning, and schema analysis."
|
| 336 |
+
},
|
| 337 |
+
{
|
| 338 |
+
"type": "text",
|
| 339 |
+
"bbox": [
|
| 340 |
+
0.113,
|
| 341 |
+
0.316,
|
| 342 |
+
0.486,
|
| 343 |
+
0.347
|
| 344 |
+
],
|
| 345 |
+
"angle": 0,
|
| 346 |
+
"content": "rize the objective facts into the situations as the evidence base to diagnose the subjective thoughts."
|
| 347 |
+
},
|
| 348 |
+
{
|
| 349 |
+
"type": "text",
|
| 350 |
+
"bbox": [
|
| 351 |
+
0.113,
|
| 352 |
+
0.35,
|
| 353 |
+
0.487,
|
| 354 |
+
0.478
|
| 355 |
+
],
|
| 356 |
+
"angle": 0,
|
| 357 |
+
"content": "Contrastive Reasoning. This stage aims to discover how the patient ascertains the veracity of their subjective thoughts. Based on the situation, we deduct the reasoning processes that supports and contradicts the patient's thoughts respectively. By contrasting two different interpretations based on the same situation, we can identify the thought schemas more clearly."
|
| 358 |
+
},
|
| 359 |
+
{
|
| 360 |
+
"type": "text",
|
| 361 |
+
"bbox": [
|
| 362 |
+
0.113,
|
| 363 |
+
0.481,
|
| 364 |
+
0.487,
|
| 365 |
+
0.592
|
| 366 |
+
],
|
| 367 |
+
"angle": 0,
|
| 368 |
+
"content": "Schema Analysis. This stage aims to study why the patient forms the specific reasoning process. The term \"schema\" refers to the cognitive structures that organize our knowledge, beliefs, and expectations. Understanding what schemas a patient is relying on can reveal much about their cognitive mode and distortions."
|
| 369 |
+
},
|
| 370 |
+
{
|
| 371 |
+
"type": "text",
|
| 372 |
+
"bbox": [
|
| 373 |
+
0.113,
|
| 374 |
+
0.596,
|
| 375 |
+
0.487,
|
| 376 |
+
0.74
|
| 377 |
+
],
|
| 378 |
+
"angle": 0,
|
| 379 |
+
"content": "We propose the Diagnosis of Thought (DoT) prompting, guiding the LLM through the above three stages to diagnose the patient's speech. Figure 1 illustrates our framework. We sequentially prompt LLM with three questions for the three stages. After the LLM finishes the generation for all stages, we prompt it with another two questions asking distortion assessment and classification. See Appendix B for all the prompts we use."
|
| 380 |
+
},
|
| 381 |
+
{
|
| 382 |
+
"type": "text",
|
| 383 |
+
"bbox": [
|
| 384 |
+
0.113,
|
| 385 |
+
0.743,
|
| 386 |
+
0.489,
|
| 387 |
+
0.919
|
| 388 |
+
],
|
| 389 |
+
"angle": 0,
|
| 390 |
+
"content": "With DoT prompting, we obtain fully interpretable diagnosis rationales for detecting cognitive distortions. Such interpretability is vital for professionals in real applications. Serving as the diagnosing assistance tool, the diagnosis rationales are essential for the professionals to justify the results. More importantly, they can potentially learn the nuanced thought patterns and schemas derived from the patient's speech through the rationales. This is crucial for the professionals to establish the patient's cognition models more efficiently from"
|
| 391 |
+
},
|
| 392 |
+
{
|
| 393 |
+
"type": "text",
|
| 394 |
+
"bbox": [
|
| 395 |
+
0.509,
|
| 396 |
+
0.316,
|
| 397 |
+
0.708,
|
| 398 |
+
0.332
|
| 399 |
+
],
|
| 400 |
+
"angle": 0,
|
| 401 |
+
"content": "the vast amount of speech."
|
| 402 |
+
},
|
| 403 |
+
{
|
| 404 |
+
"type": "title",
|
| 405 |
+
"bbox": [
|
| 406 |
+
0.509,
|
| 407 |
+
0.344,
|
| 408 |
+
0.73,
|
| 409 |
+
0.36
|
| 410 |
+
],
|
| 411 |
+
"angle": 0,
|
| 412 |
+
"content": "4 Experimental Results"
|
| 413 |
+
},
|
| 414 |
+
{
|
| 415 |
+
"type": "title",
|
| 416 |
+
"bbox": [
|
| 417 |
+
0.509,
|
| 418 |
+
0.369,
|
| 419 |
+
0.821,
|
| 420 |
+
0.385
|
| 421 |
+
],
|
| 422 |
+
"angle": 0,
|
| 423 |
+
"content": "4.1 Dataset and experimental settings"
|
| 424 |
+
},
|
| 425 |
+
{
|
| 426 |
+
"type": "text",
|
| 427 |
+
"bbox": [
|
| 428 |
+
0.508,
|
| 429 |
+
0.39,
|
| 430 |
+
0.884,
|
| 431 |
+
0.582
|
| 432 |
+
],
|
| 433 |
+
"angle": 0,
|
| 434 |
+
"content": "We experiment on the cognitive distortion detection dataset proposed by Shreevastava and Foltz (2021), which is annotated by experts based on the Therapist QA dataset. The dataset consists of 2,531 examples of patient speech annotated with ten common types of cognitive distortions, as specified in Appendix A. \\(63.1\\%\\) of the examples have cognitive distortions, which are annotated with the two dominant ones. We follow the same train-test split in (Shreevastava and Foltz, 2021). For automatic evaluations, we report F-1 for distortion assessment and weighted F-1 for distortion classification."
|
| 435 |
+
},
|
| 436 |
+
{
|
| 437 |
+
"type": "title",
|
| 438 |
+
"bbox": [
|
| 439 |
+
0.509,
|
| 440 |
+
0.593,
|
| 441 |
+
0.791,
|
| 442 |
+
0.607
|
| 443 |
+
],
|
| 444 |
+
"angle": 0,
|
| 445 |
+
"content": "4.2 Automatic Evaluation Results"
|
| 446 |
+
},
|
| 447 |
+
{
|
| 448 |
+
"type": "text",
|
| 449 |
+
"bbox": [
|
| 450 |
+
0.508,
|
| 451 |
+
0.613,
|
| 452 |
+
0.884,
|
| 453 |
+
0.872
|
| 454 |
+
],
|
| 455 |
+
"angle": 0,
|
| 456 |
+
"content": "We experiment using three of the recent representative LLMs: ChatGPT (gpt-3.5-turbo)<sup>3</sup>, Vicuna<sup>4</sup>, and GPT-4 (OpenAI, 2023). For all methods, we first prompt with a general instruction specifying the task and the target distortion types. We compare our DoT prompting with 1) Directly generating the results, and 2) Zero-Shot CoT prompting (ZCoT) (Kojima et al., 2022). For Vicuna, both ZCoT and DoT exceed the token limits for many examples; we omit the results. We average over five runs and report mean and standard deviation for all experiments. Table 2 shows our main experiment results. As we can see, under the zero-shot setting, due to the challenge of this task, Vicuna and ChatGPT still fall behind the supervised full-training models. The proposed DoT prompting significantly"
|
| 457 |
+
},
|
| 458 |
+
{
|
| 459 |
+
"type": "page_footnote",
|
| 460 |
+
"bbox": [
|
| 461 |
+
0.53,
|
| 462 |
+
0.879,
|
| 463 |
+
0.822,
|
| 464 |
+
0.892
|
| 465 |
+
],
|
| 466 |
+
"angle": 0,
|
| 467 |
+
"content": "\\(^{2}\\)https://www.kaggle.com/arnmaud/therapist-qa"
|
| 468 |
+
},
|
| 469 |
+
{
|
| 470 |
+
"type": "page_footnote",
|
| 471 |
+
"bbox": [
|
| 472 |
+
0.533,
|
| 473 |
+
0.892,
|
| 474 |
+
0.734,
|
| 475 |
+
0.906
|
| 476 |
+
],
|
| 477 |
+
"angle": 0,
|
| 478 |
+
"content": "3https://openai.com/blog/chatgpt"
|
| 479 |
+
},
|
| 480 |
+
{
|
| 481 |
+
"type": "page_footnote",
|
| 482 |
+
"bbox": [
|
| 483 |
+
0.533,
|
| 484 |
+
0.906,
|
| 485 |
+
0.798,
|
| 486 |
+
0.918
|
| 487 |
+
],
|
| 488 |
+
"angle": 0,
|
| 489 |
+
"content": "<sup>4</sup>https://lmsys.org/blog/2023-03-30-vicuna/"
|
| 490 |
+
},
|
| 491 |
+
{
|
| 492 |
+
"type": "list",
|
| 493 |
+
"bbox": [
|
| 494 |
+
0.53,
|
| 495 |
+
0.879,
|
| 496 |
+
0.822,
|
| 497 |
+
0.918
|
| 498 |
+
],
|
| 499 |
+
"angle": 0,
|
| 500 |
+
"content": null
|
| 501 |
+
},
|
| 502 |
+
{
|
| 503 |
+
"type": "page_number",
|
| 504 |
+
"bbox": [
|
| 505 |
+
0.481,
|
| 506 |
+
0.928,
|
| 507 |
+
0.52,
|
| 508 |
+
0.941
|
| 509 |
+
],
|
| 510 |
+
"angle": 0,
|
| 511 |
+
"content": "4297"
|
| 512 |
+
}
|
| 513 |
+
],
|
| 514 |
+
[
|
| 515 |
+
{
|
| 516 |
+
"type": "table",
|
| 517 |
+
"bbox": [
|
| 518 |
+
0.128,
|
| 519 |
+
0.082,
|
| 520 |
+
0.472,
|
| 521 |
+
0.265
|
| 522 |
+
],
|
| 523 |
+
"angle": 0,
|
| 524 |
+
"content": "<table><tr><td>Methods</td><td>Distortion Assessment (F-1)</td><td>Distortion Classification (Weighted F-1)</td></tr><tr><td>Full training*</td><td>75.0</td><td>24.0</td></tr><tr><td>Vicuna</td><td>73.810.95</td><td>11.230.78</td></tr><tr><td>ChatGPT</td><td>73.470.58</td><td>19.241.00</td></tr><tr><td>ChatGPT + ZCoT</td><td>77.101.21</td><td>20.211.02</td></tr><tr><td>ChatGPT + DoT</td><td>81.190.11</td><td>22.250.70</td></tr><tr><td>GPT-4</td><td>83.040.51</td><td>33.860.83</td></tr><tr><td>GPT-4 + ZCoT</td><td>81.971.21</td><td>33.221.36</td></tr><tr><td>GPT-4 + DoT</td><td>82.770.81</td><td>34.641.40</td></tr></table>"
|
| 525 |
+
},
|
| 526 |
+
{
|
| 527 |
+
"type": "table_caption",
|
| 528 |
+
"bbox": [
|
| 529 |
+
0.114,
|
| 530 |
+
0.273,
|
| 531 |
+
0.489,
|
| 532 |
+
0.3
|
| 533 |
+
],
|
| 534 |
+
"angle": 0,
|
| 535 |
+
"content": "Table 2: Main Results (Standard deviation in subscript). \\((^{\\star})\\) results copied from (Shreevastava and Foltz, 2021)."
|
| 536 |
+
},
|
| 537 |
+
{
|
| 538 |
+
"type": "table",
|
| 539 |
+
"bbox": [
|
| 540 |
+
0.117,
|
| 541 |
+
0.318,
|
| 542 |
+
0.484,
|
| 543 |
+
0.424
|
| 544 |
+
],
|
| 545 |
+
"angle": 0,
|
| 546 |
+
"content": "<table><tr><td>Methods</td><td>Distortion Assessment (F-1)</td><td>Distortion Classification (Weighted F-1)</td></tr><tr><td>ChatGPT</td><td>73.470.58</td><td>19.241.00</td></tr><tr><td>ChatGPT + S1</td><td>79.621.12</td><td>18.721.95</td></tr><tr><td>ChatGPT + S1 + S2</td><td>80.700.48</td><td>20.111.02</td></tr><tr><td>ChatGPT + S1 + S2 + S3</td><td>81.190.11</td><td>22.250.70</td></tr></table>"
|
| 547 |
+
},
|
| 548 |
+
{
|
| 549 |
+
"type": "table_caption",
|
| 550 |
+
"bbox": [
|
| 551 |
+
0.114,
|
| 552 |
+
0.432,
|
| 553 |
+
0.49,
|
| 554 |
+
0.47
|
| 555 |
+
],
|
| 556 |
+
"angle": 0,
|
| 557 |
+
"content": "Table 3: Ablation studies on each stage of DoT: we denote Subjectivity Assessment as S1, Contrastive Reasoning as S2, and Schema Analysis as S3."
|
| 558 |
+
},
|
| 559 |
+
{
|
| 560 |
+
"type": "text",
|
| 561 |
+
"bbox": [
|
| 562 |
+
0.113,
|
| 563 |
+
0.501,
|
| 564 |
+
0.49,
|
| 565 |
+
0.758
|
| 566 |
+
],
|
| 567 |
+
"angle": 0,
|
| 568 |
+
"content": "boosts the performance of ChatGPT, with the distortion assessment score surpassing the full-training performance and the distortion classification score approaching the full-training performance. The improvement over ZCoT demonstrates the superiority of our proposed strategic stages compared with rationale generation with no guidance. Astonishingly, GPT-4 surpasses the full-training performance even by a large margin for distortion classification. On the one hand, this may demonstrate the powerful ability of GPT-4 on this task - it can already reach a potential upper bound regardless with DoT promoting or not; On the other hand, since the dataset we use is publicly released on Kaggle and its original data source is from online forums, we do not exclude the possibility of data contamination."
|
| 569 |
+
},
|
| 570 |
+
{
|
| 571 |
+
"type": "text",
|
| 572 |
+
"bbox": [
|
| 573 |
+
0.113,
|
| 574 |
+
0.759,
|
| 575 |
+
0.49,
|
| 576 |
+
0.919
|
| 577 |
+
],
|
| 578 |
+
"angle": 0,
|
| 579 |
+
"content": "Ablation Studies and Analysis. To better understand how each stage of DoT contributes to overall performance, we conduct ablation studies using ChatGPT shown in Table 3. All three stages obtain improvements for distortion assessment and distortion classification. For distortion assessment, subjectivity assessment (S1) gains the largest improvement, as separating objective facts and subjective thoughts is a strong trigger to assess distortions. For distortion classification, Schema Analysis (S3)"
|
| 580 |
+
},
|
| 581 |
+
{
|
| 582 |
+
"type": "image",
|
| 583 |
+
"bbox": [
|
| 584 |
+
0.52,
|
| 585 |
+
0.082,
|
| 586 |
+
0.871,
|
| 587 |
+
0.213
|
| 588 |
+
],
|
| 589 |
+
"angle": 0,
|
| 590 |
+
"content": null
|
| 591 |
+
},
|
| 592 |
+
{
|
| 593 |
+
"type": "image_caption",
|
| 594 |
+
"bbox": [
|
| 595 |
+
0.549,
|
| 596 |
+
0.221,
|
| 597 |
+
0.843,
|
| 598 |
+
0.235
|
| 599 |
+
],
|
| 600 |
+
"angle": 0,
|
| 601 |
+
"content": "Figure 2: Distortion classification per class F-1."
|
| 602 |
+
},
|
| 603 |
+
{
|
| 604 |
+
"type": "table",
|
| 605 |
+
"bbox": [
|
| 606 |
+
0.512,
|
| 607 |
+
0.248,
|
| 608 |
+
0.879,
|
| 609 |
+
0.375
|
| 610 |
+
],
|
| 611 |
+
"angle": 0,
|
| 612 |
+
"content": "<table><tr><td>Methods</td><td>Quality</td><td>Subjectivity Assessment</td><td>Contrastive Reasoning</td><td>Schema Analysis</td></tr><tr><td rowspan=\"3\">ChatGPT +DoT</td><td>Comprehensive</td><td>68.5%</td><td>45.0%</td><td>50.5%</td></tr><tr><td>Partially good</td><td>24.5%</td><td>30.5%</td><td>27.0%</td></tr><tr><td>Invalid</td><td>7.0%</td><td>24.5%</td><td>22.5%</td></tr><tr><td rowspan=\"3\">GPT4 +DoT</td><td>Comprehensive</td><td>84.5%</td><td>69.5%</td><td>76.5%</td></tr><tr><td>Partially good</td><td>13.5%</td><td>25.5%</td><td>18.5%</td></tr><tr><td>Invalid</td><td>2.0%</td><td>5.0%</td><td>5.0%</td></tr></table>"
|
| 613 |
+
},
|
| 614 |
+
{
|
| 615 |
+
"type": "table_caption",
|
| 616 |
+
"bbox": [
|
| 617 |
+
0.515,
|
| 618 |
+
0.383,
|
| 619 |
+
0.875,
|
| 620 |
+
0.397
|
| 621 |
+
],
|
| 622 |
+
"angle": 0,
|
| 623 |
+
"content": "Table 4: Human evaluation results for diagnosis rationales."
|
| 624 |
+
},
|
| 625 |
+
{
|
| 626 |
+
"type": "text",
|
| 627 |
+
"bbox": [
|
| 628 |
+
0.508,
|
| 629 |
+
0.429,
|
| 630 |
+
0.884,
|
| 631 |
+
0.509
|
| 632 |
+
],
|
| 633 |
+
"angle": 0,
|
| 634 |
+
"content": "obtains large improvement, as the summarized underlying thought schema can match the definition of the distortion types more accurately. We also analyze the distortion classification results for each distortion type, with results shown in Figure 2."
|
| 635 |
+
},
|
| 636 |
+
{
|
| 637 |
+
"type": "title",
|
| 638 |
+
"bbox": [
|
| 639 |
+
0.509,
|
| 640 |
+
0.52,
|
| 641 |
+
0.768,
|
| 642 |
+
0.535
|
| 643 |
+
],
|
| 644 |
+
"angle": 0,
|
| 645 |
+
"content": "4.3 Human Evaluation Results"
|
| 646 |
+
},
|
| 647 |
+
{
|
| 648 |
+
"type": "text",
|
| 649 |
+
"bbox": [
|
| 650 |
+
0.507,
|
| 651 |
+
0.542,
|
| 652 |
+
0.885,
|
| 653 |
+
0.67
|
| 654 |
+
],
|
| 655 |
+
"angle": 0,
|
| 656 |
+
"content": "As there is no reference available for the diagnosis rationales, we employ psychotherapy experts to assess the quality of the generated rationales. We hired psychotherapy professionals from UpWork<sup>5</sup>, e.g., certified clinicians, counseling psychology Ph.D. students, etc. We discussed with each hire to reach an agreement on the payment following a fair wage rate."
|
| 657 |
+
},
|
| 658 |
+
{
|
| 659 |
+
"type": "text",
|
| 660 |
+
"bbox": [
|
| 661 |
+
0.508,
|
| 662 |
+
0.671,
|
| 663 |
+
0.884,
|
| 664 |
+
0.895
|
| 665 |
+
],
|
| 666 |
+
"angle": 0,
|
| 667 |
+
"content": "Specifically, we present the patient's speech, all the prompts, and the generated rationales for all stages to human experts. For the generated rationales of each stage, we instruct the experts to choose between: 1) Comprehensive. (Correct and comprehensive.); 2) Partially good. (Reasonable but not comprehensive) 3) Invalid. (Not reasonable.) Table 4 shows the evaluation results on 100 examples for DoT over ChatGPT and GPT-4. We employ two experts for each evaluation and report the average; The agreement rates (the percentage of examples the two experts gave the same rating) for both evaluations are over \\(80\\%\\). The diagnosis rationales generated for all stages shows decent"
|
| 668 |
+
},
|
| 669 |
+
{
|
| 670 |
+
"type": "page_footnote",
|
| 671 |
+
"bbox": [
|
| 672 |
+
0.531,
|
| 673 |
+
0.904,
|
| 674 |
+
0.655,
|
| 675 |
+
0.919
|
| 676 |
+
],
|
| 677 |
+
"angle": 0,
|
| 678 |
+
"content": "5www.upwork.com"
|
| 679 |
+
},
|
| 680 |
+
{
|
| 681 |
+
"type": "page_number",
|
| 682 |
+
"bbox": [
|
| 683 |
+
0.481,
|
| 684 |
+
0.928,
|
| 685 |
+
0.521,
|
| 686 |
+
0.941
|
| 687 |
+
],
|
| 688 |
+
"angle": 0,
|
| 689 |
+
"content": "4298"
|
| 690 |
+
}
|
| 691 |
+
],
|
| 692 |
+
[
|
| 693 |
+
{
|
| 694 |
+
"type": "text",
|
| 695 |
+
"bbox": [
|
| 696 |
+
0.114,
|
| 697 |
+
0.085,
|
| 698 |
+
0.488,
|
| 699 |
+
0.117
|
| 700 |
+
],
|
| 701 |
+
"angle": 0,
|
| 702 |
+
"content": "quality verified by the experts. See Appendix C for more generation examples."
|
| 703 |
+
},
|
| 704 |
+
{
|
| 705 |
+
"type": "title",
|
| 706 |
+
"bbox": [
|
| 707 |
+
0.115,
|
| 708 |
+
0.129,
|
| 709 |
+
0.27,
|
| 710 |
+
0.145
|
| 711 |
+
],
|
| 712 |
+
"angle": 0,
|
| 713 |
+
"content": "5 Related Work"
|
| 714 |
+
},
|
| 715 |
+
{
|
| 716 |
+
"type": "text",
|
| 717 |
+
"bbox": [
|
| 718 |
+
0.113,
|
| 719 |
+
0.155,
|
| 720 |
+
0.49,
|
| 721 |
+
0.686
|
| 722 |
+
],
|
| 723 |
+
"angle": 0,
|
| 724 |
+
"content": "Due to the verbal and textual nature of psychotherapy procedures, there have been consistent efforts to employ NLP techniques to assist the mental health domain (Althoff et al., 2016; Abd-Alrazaq et al., 2021, 2019; Valizadeh and Parde, 2022). However, with the knowledge gap between the two communities, most existing works take shallow attempts without deep investigation of the professional psychotherapy knowledge. A majority of the previous studies targets identification of common mental health issues, such as depression and anxiety, from textual contents (Cohan et al., 2018; MacAvaney et al., 2018; Harrigian et al., 2020; Ji et al., 2022; Zanwar et al., 2023; Juhng et al., 2023). Another major category of works study therapeutic conversations with a focus on emotional/empathetic supports (Halder et al., 2017; Sharma et al., 2020a; Atapattu et al., 2022; Mishra et al., 2023), and discourse structures (Cao et al., 2019; Hsu et al., 2023). A few more recent works have started to investigate deeper professional psychotherapy knowledge, e.g., cognitive distortion detection in CBT (Shreevastava and Foltz, 2021; Ding et al., 2022; Lybarger et al., 2022), identifying and reframing unhelpful thoughts (Ziems et al., 2022; Maddela et al., 2023). Early famous system Eliza<sup>6</sup> took the initial attempts to emulate a Rogerian psychotherapist. Due to its rule-based nature, the responses are often reflections or rephrasings of the user's statements. If users deviate too much from expected inputs or probe its capabilities, the program may produce irrelevant or nonsensical responses."
|
| 725 |
+
},
|
| 726 |
+
{
|
| 727 |
+
"type": "text",
|
| 728 |
+
"bbox": [
|
| 729 |
+
0.113,
|
| 730 |
+
0.687,
|
| 731 |
+
0.49,
|
| 732 |
+
0.897
|
| 733 |
+
],
|
| 734 |
+
"angle": 0,
|
| 735 |
+
"content": "Recent progress in large language model reveals that ChatGPT and GPT-4 present very promising performance in the classic Sally-Anne test (Baron-Cohen et al., 1985; Bubeck et al., 2023), evaluating the basic theory of mind capabilities to attribute mental states such as beliefs, emotions, desires, etc. However, latter works also point out the robustness issue of such ability (Shapira et al., 2023). In our work, we are inspired by such enhanced ability and investigate the application of diagnosing patients' thoughts in psychotherapy. Our experiments on the real dataset, not anecdotal examples, show very promising performance both in auto"
|
| 736 |
+
},
|
| 737 |
+
{
|
| 738 |
+
"type": "text",
|
| 739 |
+
"bbox": [
|
| 740 |
+
0.508,
|
| 741 |
+
0.085,
|
| 742 |
+
0.885,
|
| 743 |
+
0.278
|
| 744 |
+
],
|
| 745 |
+
"angle": 0,
|
| 746 |
+
"content": "matic and human expert evaluation. We believe it is a very important future research direction to investigate the general cognitive abilities of LLM and make connections to the field of psychology and cognitive science. Theory-wise, we are eager to explore to what extent the LLM can simulate the human cognitive functions, so as to determine the role that language plays in the overall human cognition. Application-wise, a straightforward and encouraging direction should be the integration for assisting mental health treatment, as the motivation and goal of this work."
|
| 747 |
+
},
|
| 748 |
+
{
|
| 749 |
+
"type": "title",
|
| 750 |
+
"bbox": [
|
| 751 |
+
0.509,
|
| 752 |
+
0.291,
|
| 753 |
+
0.798,
|
| 754 |
+
0.307
|
| 755 |
+
],
|
| 756 |
+
"angle": 0,
|
| 757 |
+
"content": "6 Conclusion and Future Work"
|
| 758 |
+
},
|
| 759 |
+
{
|
| 760 |
+
"type": "text",
|
| 761 |
+
"bbox": [
|
| 762 |
+
0.508,
|
| 763 |
+
0.317,
|
| 764 |
+
0.885,
|
| 765 |
+
0.525
|
| 766 |
+
],
|
| 767 |
+
"angle": 0,
|
| 768 |
+
"content": "This work delved into the integration of large language models (LLMs) within the realm of psychotherapy. We introduced the Diagnosis of Thought (DoT) framework, which strategically prompts the LLM to produce diagnosis rationales pertinent to the detection of cognitive distortions. We believe that there exists substantial potential for leveraging LLMs within numerous facets of mental health support that are currently under-explored. Our findings, thus, not only illuminate a path towards more efficient therapy methods but also open doors for future investigations to push the boundaries of AI's role in mental health treatment."
|
| 769 |
+
},
|
| 770 |
+
{
|
| 771 |
+
"type": "text",
|
| 772 |
+
"bbox": [
|
| 773 |
+
0.508,
|
| 774 |
+
0.527,
|
| 775 |
+
0.885,
|
| 776 |
+
0.801
|
| 777 |
+
],
|
| 778 |
+
"angle": 0,
|
| 779 |
+
"content": "In the domain of AI-enhanced psychotherapy, particularly when harnessing the power of LLMs, there are paramount challenges surrounding safety, robustness, and ethical responsibilities. LLM is known to generate hallucinations and biases. While one potential usage of our system is to serve as a self-diagnosing/assisting tool for patients, e.g., to help the patients to recognize their own thinking patterns and learn how the cognitive distortions developed, such tools should not be deployed for direct patient use without the supervision of professionals. As we navigate the potential of LLM in psychotherapy, our foremost priority should remain in building systems that are safe and responsible. Concurrently, the formulation of robust ethical guidelines tailored to this new era becomes indispensable."
|
| 780 |
+
},
|
| 781 |
+
{
|
| 782 |
+
"type": "title",
|
| 783 |
+
"bbox": [
|
| 784 |
+
0.51,
|
| 785 |
+
0.813,
|
| 786 |
+
0.615,
|
| 787 |
+
0.829
|
| 788 |
+
],
|
| 789 |
+
"angle": 0,
|
| 790 |
+
"content": "Limitations"
|
| 791 |
+
},
|
| 792 |
+
{
|
| 793 |
+
"type": "text",
|
| 794 |
+
"bbox": [
|
| 795 |
+
0.508,
|
| 796 |
+
0.84,
|
| 797 |
+
0.885,
|
| 798 |
+
0.92
|
| 799 |
+
],
|
| 800 |
+
"angle": 0,
|
| 801 |
+
"content": "One of the biggest obstacles to studying AI for psychotherapy is the lack of available, high-quality data. Most of the datasets recording the information of the interactions between the patients and licensed professionals are confidential due to pri"
|
| 802 |
+
},
|
| 803 |
+
{
|
| 804 |
+
"type": "page_footnote",
|
| 805 |
+
"bbox": [
|
| 806 |
+
0.136,
|
| 807 |
+
0.904,
|
| 808 |
+
0.369,
|
| 809 |
+
0.919
|
| 810 |
+
],
|
| 811 |
+
"angle": 0,
|
| 812 |
+
"content": "\\(^{6}\\)https://en.wikipedia.org/wiki/ELIZA"
|
| 813 |
+
},
|
| 814 |
+
{
|
| 815 |
+
"type": "page_number",
|
| 816 |
+
"bbox": [
|
| 817 |
+
0.481,
|
| 818 |
+
0.928,
|
| 819 |
+
0.521,
|
| 820 |
+
0.941
|
| 821 |
+
],
|
| 822 |
+
"angle": 0,
|
| 823 |
+
"content": "4299"
|
| 824 |
+
}
|
| 825 |
+
],
|
| 826 |
+
[
|
| 827 |
+
{
|
| 828 |
+
"type": "text",
|
| 829 |
+
"bbox": [
|
| 830 |
+
0.113,
|
| 831 |
+
0.085,
|
| 832 |
+
0.49,
|
| 833 |
+
0.31
|
| 834 |
+
],
|
| 835 |
+
"angle": 0,
|
| 836 |
+
"content": "vacy concerns. The dataset used in this work is the only one we can find publicly available for cognitive distortion detection, as its data source is from public online forums. In addition to the patient's speech, the patient's demographic information also plays an important role in analyzing the thought process leading to cognitive distortions. In this dataset, some of the patient speech include a few demographic details, but pretty minimal. Beyond the task of cognitive distortion detection, the same data constraint issue exists for all other therapy stages and paradigms. This also motivates us to work on building privacy-preserved systems as a crucial future direction."
|
| 837 |
+
},
|
| 838 |
+
{
|
| 839 |
+
"type": "title",
|
| 840 |
+
"bbox": [
|
| 841 |
+
0.115,
|
| 842 |
+
0.324,
|
| 843 |
+
0.266,
|
| 844 |
+
0.339
|
| 845 |
+
],
|
| 846 |
+
"angle": 0,
|
| 847 |
+
"content": "Ethics Statement"
|
| 848 |
+
},
|
| 849 |
+
{
|
| 850 |
+
"type": "text",
|
| 851 |
+
"bbox": [
|
| 852 |
+
0.113,
|
| 853 |
+
0.351,
|
| 854 |
+
0.489,
|
| 855 |
+
0.446
|
| 856 |
+
],
|
| 857 |
+
"angle": 0,
|
| 858 |
+
"content": "The system built in this work are never meant to replace psychotherapy professionals: all system-produced results need to be verified by licensed professionals. The system should not be deployed for direct patient use without the supervision of licensed professionals."
|
| 859 |
+
},
|
| 860 |
+
{
|
| 861 |
+
"type": "text",
|
| 862 |
+
"bbox": [
|
| 863 |
+
0.117,
|
| 864 |
+
0.449,
|
| 865 |
+
0.49,
|
| 866 |
+
0.672
|
| 867 |
+
],
|
| 868 |
+
"angle": 0,
|
| 869 |
+
"content": "There has been a lot of discussions regarding the use of LLMs for AI-driven therapy purpose. Chatbots will find their most effective role in medicine within the realm of mental health, an opinion quoted from Thomas Insel, former director of the National Institute of Mental Health. In the meantime, we should always take caution for such development. Our foremost priority should be building safe and responsible applications while establishing ethical and regulation standards for this new era. Under the current status, the partnership between professionals and AI systems is a promising direction for the goal to ease the burden of professionals, which is the motivation of this work."
|
| 870 |
+
},
|
| 871 |
+
{
|
| 872 |
+
"type": "text",
|
| 873 |
+
"bbox": [
|
| 874 |
+
0.113,
|
| 875 |
+
0.674,
|
| 876 |
+
0.49,
|
| 877 |
+
0.883
|
| 878 |
+
],
|
| 879 |
+
"angle": 0,
|
| 880 |
+
"content": "\"Diagnosis of Thought\" is an innovative approach that harnesses the capabilities of large language models to enhance the field of psychotherapy. It is imperative to understand that this tool is not designed for censorship or any form of invasive surveillance. Instead, it aims to augment the skills of therapists by providing them with advanced, data-driven insights into their clients' thoughts and emotions. Through the efficient processing of linguistic cues and patterns, these models aid mental health professionals in formulating more precise diagnoses and crafting tailored therapeutic interventions that could significantly enhance the well"
|
| 881 |
+
},
|
| 882 |
+
{
|
| 883 |
+
"type": "text",
|
| 884 |
+
"bbox": [
|
| 885 |
+
0.509,
|
| 886 |
+
0.085,
|
| 887 |
+
0.762,
|
| 888 |
+
0.101
|
| 889 |
+
],
|
| 890 |
+
"angle": 0,
|
| 891 |
+
"content": "being of individuals seeking help."
|
| 892 |
+
},
|
| 893 |
+
{
|
| 894 |
+
"type": "text",
|
| 895 |
+
"bbox": [
|
| 896 |
+
0.508,
|
| 897 |
+
0.102,
|
| 898 |
+
0.885,
|
| 899 |
+
0.214
|
| 900 |
+
],
|
| 901 |
+
"angle": 0,
|
| 902 |
+
"content": "For all the annotations and human evaluations presented in this work, we hired psychotherapy professionals from UpWork<sup>8</sup>, e.g., certified clinicians, counseling psychology Ph.D. students, etc. We discussed with each hire to reach an agreement on the payment following a fair wage rate. The average hourly rate for all the experts is $80."
|
| 903 |
+
},
|
| 904 |
+
{
|
| 905 |
+
"type": "text",
|
| 906 |
+
"bbox": [
|
| 907 |
+
0.508,
|
| 908 |
+
0.215,
|
| 909 |
+
0.884,
|
| 910 |
+
0.263
|
| 911 |
+
],
|
| 912 |
+
"angle": 0,
|
| 913 |
+
"content": "This project is approved by our Institutional Review Board (IRB). The data annotation is classified as exempt by our IRB."
|
| 914 |
+
},
|
| 915 |
+
{
|
| 916 |
+
"type": "title",
|
| 917 |
+
"bbox": [
|
| 918 |
+
0.511,
|
| 919 |
+
0.291,
|
| 920 |
+
0.61,
|
| 921 |
+
0.306
|
| 922 |
+
],
|
| 923 |
+
"angle": 0,
|
| 924 |
+
"content": "References"
|
| 925 |
+
},
|
| 926 |
+
{
|
| 927 |
+
"type": "ref_text",
|
| 928 |
+
"bbox": [
|
| 929 |
+
0.511,
|
| 930 |
+
0.314,
|
| 931 |
+
0.887,
|
| 932 |
+
0.393
|
| 933 |
+
],
|
| 934 |
+
"angle": 0,
|
| 935 |
+
"content": "Alaa A Abd-Alrazaq, Mohannad Alajlani, Ali Abdallah Alalwan, Bridgette M Bewick, Peter Gardner, and Mowafa Househ. 2019. An overview of the features of chatbots in mental health: A scoping review. International Journal of Medical Informatics, 132:103978."
|
| 936 |
+
},
|
| 937 |
+
{
|
| 938 |
+
"type": "ref_text",
|
| 939 |
+
"bbox": [
|
| 940 |
+
0.511,
|
| 941 |
+
0.404,
|
| 942 |
+
0.886,
|
| 943 |
+
0.471
|
| 944 |
+
],
|
| 945 |
+
"angle": 0,
|
| 946 |
+
"content": "Alaa A Abd-Alrazaq, Mohammad Alajlani, Nashva Ali, Kerstin Denecke, Bridgette M Bewick, and Mowafa Househ. 2021. Perceptions and opinions of patients about mental health chatbots: scoping review. Journal of medical Internet research, 23(1):e17828."
|
| 947 |
+
},
|
| 948 |
+
{
|
| 949 |
+
"type": "ref_text",
|
| 950 |
+
"bbox": [
|
| 951 |
+
0.511,
|
| 952 |
+
0.481,
|
| 953 |
+
0.886,
|
| 954 |
+
0.548
|
| 955 |
+
],
|
| 956 |
+
"angle": 0,
|
| 957 |
+
"content": "Tim Althoff, Kevin Clark, and Jure Leskovec. 2016. Large-scale analysis of counseling conversations: An application of natural language processing to mental health. Transactions of the Association for Computational Linguistics, 4:463-476."
|
| 958 |
+
},
|
| 959 |
+
{
|
| 960 |
+
"type": "ref_text",
|
| 961 |
+
"bbox": [
|
| 962 |
+
0.511,
|
| 963 |
+
0.559,
|
| 964 |
+
0.886,
|
| 965 |
+
0.678
|
| 966 |
+
],
|
| 967 |
+
"angle": 0,
|
| 968 |
+
"content": "Thushari Atapattu, Mahen Herath, Charitha Elvitigala, Piyanjali de Zoysa, Kasun Gunawardana, Menasha Thilakaratne, Kasun de Zoysa, and Katrina Falkner. 2022. EmoMent: An emotion annotated mental health corpus from two South Asian countries. In Proceedings of the 29th International Conference on Computational Linguistics, pages 6991-7001, Gyeongju, Republic of Korea. International Committee on Computational Linguistics."
|
| 969 |
+
},
|
| 970 |
+
{
|
| 971 |
+
"type": "ref_text",
|
| 972 |
+
"bbox": [
|
| 973 |
+
0.511,
|
| 974 |
+
0.688,
|
| 975 |
+
0.886,
|
| 976 |
+
0.769
|
| 977 |
+
],
|
| 978 |
+
"angle": 0,
|
| 979 |
+
"content": "Yejin Bang, Samuel Cahyawijaya, Nayeon Lee, Wen-liang Dai, Dan Su, Bryan Wilie, Holy Lovenia, Ziwei Ji, Tiezheng Yu, Willy Chung, et al. 2023. A multitask, multilingual, multimodal evaluation of chatgpt on reasoning, hallucination, and interactivity. arXiv preprint arXiv:2302.04023."
|
| 980 |
+
},
|
| 981 |
+
{
|
| 982 |
+
"type": "ref_text",
|
| 983 |
+
"bbox": [
|
| 984 |
+
0.51,
|
| 985 |
+
0.779,
|
| 986 |
+
0.885,
|
| 987 |
+
0.82
|
| 988 |
+
],
|
| 989 |
+
"angle": 0,
|
| 990 |
+
"content": "Simon Baron-Cohen, Alan M Leslie, and Uta Frith. 1985. Does the autistic child have a \"theory of mind\"? Cognition, 21(1):37-46."
|
| 991 |
+
},
|
| 992 |
+
{
|
| 993 |
+
"type": "ref_text",
|
| 994 |
+
"bbox": [
|
| 995 |
+
0.51,
|
| 996 |
+
0.83,
|
| 997 |
+
0.885,
|
| 998 |
+
0.857
|
| 999 |
+
],
|
| 1000 |
+
"angle": 0,
|
| 1001 |
+
"content": "Judith S Beck. 2020. Cognitive behavior therapy: Basics and beyond. Guilford Publications."
|
| 1002 |
+
},
|
| 1003 |
+
{
|
| 1004 |
+
"type": "ref_text",
|
| 1005 |
+
"bbox": [
|
| 1006 |
+
0.51,
|
| 1007 |
+
0.868,
|
| 1008 |
+
0.885,
|
| 1009 |
+
0.896
|
| 1010 |
+
],
|
| 1011 |
+
"angle": 0,
|
| 1012 |
+
"content": "Sebastien Bubeck, Varun Chandrasekaran, Ronen Eldan, Johannes Gehrke, Eric Horvitz, Ece Kamar,"
|
| 1013 |
+
},
|
| 1014 |
+
{
|
| 1015 |
+
"type": "list",
|
| 1016 |
+
"bbox": [
|
| 1017 |
+
0.51,
|
| 1018 |
+
0.314,
|
| 1019 |
+
0.887,
|
| 1020 |
+
0.896
|
| 1021 |
+
],
|
| 1022 |
+
"angle": 0,
|
| 1023 |
+
"content": null
|
| 1024 |
+
},
|
| 1025 |
+
{
|
| 1026 |
+
"type": "page_footnote",
|
| 1027 |
+
"bbox": [
|
| 1028 |
+
0.114,
|
| 1029 |
+
0.892,
|
| 1030 |
+
0.488,
|
| 1031 |
+
0.919
|
| 1032 |
+
],
|
| 1033 |
+
"angle": 0,
|
| 1034 |
+
"content": "<sup>7</sup>https://www.scientificamerican.com/article/ai-chatbots-could-help-provide-therapy-but-caution-is-needed/"
|
| 1035 |
+
},
|
| 1036 |
+
{
|
| 1037 |
+
"type": "page_footnote",
|
| 1038 |
+
"bbox": [
|
| 1039 |
+
0.532,
|
| 1040 |
+
0.904,
|
| 1041 |
+
0.655,
|
| 1042 |
+
0.919
|
| 1043 |
+
],
|
| 1044 |
+
"angle": 0,
|
| 1045 |
+
"content": "\\(^{8}\\)www.upwork.com"
|
| 1046 |
+
},
|
| 1047 |
+
{
|
| 1048 |
+
"type": "page_number",
|
| 1049 |
+
"bbox": [
|
| 1050 |
+
0.481,
|
| 1051 |
+
0.928,
|
| 1052 |
+
0.521,
|
| 1053 |
+
0.941
|
| 1054 |
+
],
|
| 1055 |
+
"angle": 0,
|
| 1056 |
+
"content": "4300"
|
| 1057 |
+
}
|
| 1058 |
+
],
|
| 1059 |
+
[
|
| 1060 |
+
{
|
| 1061 |
+
"type": "ref_text",
|
| 1062 |
+
"bbox": [
|
| 1063 |
+
0.135,
|
| 1064 |
+
0.086,
|
| 1065 |
+
0.489,
|
| 1066 |
+
0.138
|
| 1067 |
+
],
|
| 1068 |
+
"angle": 0,
|
| 1069 |
+
"content": "Peter Lee, Yin Tat Lee, Yuanzhi Li, Scott Lundberg, et al. 2023. Sparks of artificial general intelligence: Early experiments with gpt-4. arXiv preprint arXiv:2303.12712."
|
| 1070 |
+
},
|
| 1071 |
+
{
|
| 1072 |
+
"type": "ref_text",
|
| 1073 |
+
"bbox": [
|
| 1074 |
+
0.117,
|
| 1075 |
+
0.153,
|
| 1076 |
+
0.488,
|
| 1077 |
+
0.205
|
| 1078 |
+
],
|
| 1079 |
+
"angle": 0,
|
| 1080 |
+
"content": "Jie Cao, Michael Tanana, Zac E Imel, Eric Poitras, David C Atkins, and Vivek Srikumar. 2019. Observing dialogue in therapy: Categorizing and forecasting behavioral codes. arXiv preprint arXiv:1907.00326."
|
| 1081 |
+
},
|
| 1082 |
+
{
|
| 1083 |
+
"type": "ref_text",
|
| 1084 |
+
"bbox": [
|
| 1085 |
+
0.117,
|
| 1086 |
+
0.219,
|
| 1087 |
+
0.487,
|
| 1088 |
+
0.258
|
| 1089 |
+
],
|
| 1090 |
+
"angle": 0,
|
| 1091 |
+
"content": "Wenhu Chen. 2022. Large language models are few (1)-shot table reasoners. arXiv preprint arXiv:2210.06710."
|
| 1092 |
+
},
|
| 1093 |
+
{
|
| 1094 |
+
"type": "ref_text",
|
| 1095 |
+
"bbox": [
|
| 1096 |
+
0.117,
|
| 1097 |
+
0.272,
|
| 1098 |
+
0.488,
|
| 1099 |
+
0.377
|
| 1100 |
+
],
|
| 1101 |
+
"angle": 0,
|
| 1102 |
+
"content": "Arman Cohan, Bart Desmet, Andrew Yates, Luca Soldaini, Sean MacAvaney, and Nazli Goharian. 2018. SMHD: a large-scale resource for exploring online language usage for multiple mental health conditions. In Proceedings of the 27th International Conference on Computational Linguistics, pages 1485-1497, Santa Fe, New Mexico, USA. Association for Computational Linguistics."
|
| 1103 |
+
},
|
| 1104 |
+
{
|
| 1105 |
+
"type": "ref_text",
|
| 1106 |
+
"bbox": [
|
| 1107 |
+
0.117,
|
| 1108 |
+
0.39,
|
| 1109 |
+
0.489,
|
| 1110 |
+
0.508
|
| 1111 |
+
],
|
| 1112 |
+
"angle": 0,
|
| 1113 |
+
"content": "Xiruo Ding, Kevin Lybarger, Justin Tauscher, and Trevor Cohen. 2022. Improving classification of infrequent cognitive distortions: Domain-specific model vs. data augmentation. In Proceedings of the 2022 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies: Student Research Workshop, pages 68-75, Hybrid: Seattle, Washington + Online. Association for Computational Linguistics."
|
| 1114 |
+
},
|
| 1115 |
+
{
|
| 1116 |
+
"type": "ref_text",
|
| 1117 |
+
"bbox": [
|
| 1118 |
+
0.117,
|
| 1119 |
+
0.522,
|
| 1120 |
+
0.488,
|
| 1121 |
+
0.627
|
| 1122 |
+
],
|
| 1123 |
+
"angle": 0,
|
| 1124 |
+
"content": "Kishaloy Halder, Lahari Poddar, and Min-Yen Kan. 2017. Modeling temporal progression of emotional status in mental health forum: A recurrent neural net approach. In Proceedings of the 8th Workshop on Computational Approaches to Subjectivity, Sentiment and Social Media Analysis, pages 127-135, Copenhagen, Denmark. Association for Computational Linguistics."
|
| 1125 |
+
},
|
| 1126 |
+
{
|
| 1127 |
+
"type": "ref_text",
|
| 1128 |
+
"bbox": [
|
| 1129 |
+
0.117,
|
| 1130 |
+
0.64,
|
| 1131 |
+
0.488,
|
| 1132 |
+
0.719
|
| 1133 |
+
],
|
| 1134 |
+
"angle": 0,
|
| 1135 |
+
"content": "Keith Harrigian, Carlos Aguirre, and Mark Dredze. 2020. Do models of mental health based on social media data generalize? In *Findings of the Association for Computational Linguistics: EMNLP* 2020, pages 3774-3788, Online. Association for Computational Linguistics."
|
| 1136 |
+
},
|
| 1137 |
+
{
|
| 1138 |
+
"type": "ref_text",
|
| 1139 |
+
"bbox": [
|
| 1140 |
+
0.117,
|
| 1141 |
+
0.733,
|
| 1142 |
+
0.488,
|
| 1143 |
+
0.773
|
| 1144 |
+
],
|
| 1145 |
+
"angle": 0,
|
| 1146 |
+
"content": "Russell Harris. 2006. Embracing your demons: An overview of acceptance and commitment therapy. Psychotherapy in Australia, 12(4):70-6."
|
| 1147 |
+
},
|
| 1148 |
+
{
|
| 1149 |
+
"type": "ref_text",
|
| 1150 |
+
"bbox": [
|
| 1151 |
+
0.117,
|
| 1152 |
+
0.786,
|
| 1153 |
+
0.488,
|
| 1154 |
+
0.839
|
| 1155 |
+
],
|
| 1156 |
+
"angle": 0,
|
| 1157 |
+
"content": "Steven C Hayes, Kirk D Strosahl, and Kelly G Wilson. 2011. Acceptance and commitment therapy: The process and practice of mindful change. Guilford press."
|
| 1158 |
+
},
|
| 1159 |
+
{
|
| 1160 |
+
"type": "ref_text",
|
| 1161 |
+
"bbox": [
|
| 1162 |
+
0.117,
|
| 1163 |
+
0.852,
|
| 1164 |
+
0.488,
|
| 1165 |
+
0.918
|
| 1166 |
+
],
|
| 1167 |
+
"angle": 0,
|
| 1168 |
+
"content": "Shang-Ling Hsu, Raj Sanjay Shah, Prathik Senthil, Zahra Ashktorab, Casey Dugan, Werner Geyer, and Diyi Yang. 2023. Helping the helper: Supporting peer counselors via ai-empowered practice and feedback. arXiv preprint arXiv:2305.08982."
|
| 1169 |
+
},
|
| 1170 |
+
{
|
| 1171 |
+
"type": "list",
|
| 1172 |
+
"bbox": [
|
| 1173 |
+
0.117,
|
| 1174 |
+
0.086,
|
| 1175 |
+
0.489,
|
| 1176 |
+
0.918
|
| 1177 |
+
],
|
| 1178 |
+
"angle": 0,
|
| 1179 |
+
"content": null
|
| 1180 |
+
},
|
| 1181 |
+
{
|
| 1182 |
+
"type": "ref_text",
|
| 1183 |
+
"bbox": [
|
| 1184 |
+
0.512,
|
| 1185 |
+
0.086,
|
| 1186 |
+
0.883,
|
| 1187 |
+
0.178
|
| 1188 |
+
],
|
| 1189 |
+
"angle": 0,
|
| 1190 |
+
"content": "Shaoxiong Ji, Tianlin Zhang, Luna Ansari, Jie Fu, Prayag Tiwari, and Erik Cambria. 2022. MentalBERT: Publicly available pretrained language models for mental healthcare. In Proceedings of the Thirteenth Language Resources and Evaluation Conference, pages 7184-7190, Marseille, France. European Language Resources Association."
|
| 1191 |
+
},
|
| 1192 |
+
{
|
| 1193 |
+
"type": "ref_text",
|
| 1194 |
+
"bbox": [
|
| 1195 |
+
0.512,
|
| 1196 |
+
0.189,
|
| 1197 |
+
0.883,
|
| 1198 |
+
0.281
|
| 1199 |
+
],
|
| 1200 |
+
"angle": 0,
|
| 1201 |
+
"content": "Swanie Juhng, Matthew Matero, Vasudha Varadarajan, Johannes Eichstaedt, Adithya V Ganesan, and H Andrew Schwartz. 2023. Discourse-level representations can improve prediction of degree of anxiety. In Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics (Volume 2: Short Papers), pages 1500-1511."
|
| 1202 |
+
},
|
| 1203 |
+
{
|
| 1204 |
+
"type": "ref_text",
|
| 1205 |
+
"bbox": [
|
| 1206 |
+
0.512,
|
| 1207 |
+
0.291,
|
| 1208 |
+
0.883,
|
| 1209 |
+
0.343
|
| 1210 |
+
],
|
| 1211 |
+
"angle": 0,
|
| 1212 |
+
"content": "Takeshi Kojima, Shixiang Shane Gu, Machel Reid, Yutaka Matsuo, and Yusuke Iwasawa. 2022. Large language models are zero-shot reasoners. arXiv preprint arXiv:2205.11916."
|
| 1213 |
+
},
|
| 1214 |
+
{
|
| 1215 |
+
"type": "ref_text",
|
| 1216 |
+
"bbox": [
|
| 1217 |
+
0.512,
|
| 1218 |
+
0.354,
|
| 1219 |
+
0.883,
|
| 1220 |
+
0.434
|
| 1221 |
+
],
|
| 1222 |
+
"angle": 0,
|
| 1223 |
+
"content": "Kevin Lybarger, Justin Tauscher, Xiruo Ding, Dror Ben-Zeev, and Trevor Cohen. 2022. Identifying distorted thinking in patient-therapist text message exchanges by leveraging dynamic multi-turn context. In Proceedings of the Eighth Workshop on Computational Linguistics and Clinical Psychology, pages 126-136."
|
| 1224 |
+
},
|
| 1225 |
+
{
|
| 1226 |
+
"type": "ref_text",
|
| 1227 |
+
"bbox": [
|
| 1228 |
+
0.512,
|
| 1229 |
+
0.444,
|
| 1230 |
+
0.883,
|
| 1231 |
+
0.549
|
| 1232 |
+
],
|
| 1233 |
+
"angle": 0,
|
| 1234 |
+
"content": "Sean MacAvaney, Bart Desmet, Arman Cohan, Luca Soldaini, Andrew Yates, Ayah Zirikly, and Nazli Goharian. 2018. RSDD-time: Temporal annotation of self-reported mental health diagnoses. In Proceedings of the Fifth Workshop on Computational Linguistics and Clinical Psychology: From Keyboard to Clinic, pages 168-173, New Orleans, LA. Association for Computational Linguistics."
|
| 1235 |
+
},
|
| 1236 |
+
{
|
| 1237 |
+
"type": "ref_text",
|
| 1238 |
+
"bbox": [
|
| 1239 |
+
0.512,
|
| 1240 |
+
0.56,
|
| 1241 |
+
0.883,
|
| 1242 |
+
0.625
|
| 1243 |
+
],
|
| 1244 |
+
"angle": 0,
|
| 1245 |
+
"content": "Mounica Maddela, Megan Ung, Jing Xu, Andrea Madotto, Heather Foran, and Y-Lan Boureau. 2023. Training models to generate, recognize, and reframe unhelpful thoughts. arXiv preprint arXiv:2307.02768."
|
| 1246 |
+
},
|
| 1247 |
+
{
|
| 1248 |
+
"type": "ref_text",
|
| 1249 |
+
"bbox": [
|
| 1250 |
+
0.512,
|
| 1251 |
+
0.636,
|
| 1252 |
+
0.883,
|
| 1253 |
+
0.741
|
| 1254 |
+
],
|
| 1255 |
+
"angle": 0,
|
| 1256 |
+
"content": "Kshitij Mishra, Priyanshu Priya, and Asif Ekbal. 2023. PAL to lend a helping hand: Towards building an emotion adaptive polite and empathetic counseling conversational agent. In Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 12254-12271, Toronto, Canada. Association for Computational Linguistics."
|
| 1257 |
+
},
|
| 1258 |
+
{
|
| 1259 |
+
"type": "ref_text",
|
| 1260 |
+
"bbox": [
|
| 1261 |
+
0.512,
|
| 1262 |
+
0.752,
|
| 1263 |
+
0.883,
|
| 1264 |
+
0.843
|
| 1265 |
+
],
|
| 1266 |
+
"angle": 0,
|
| 1267 |
+
"content": "Modhurima Moitra, Damian Santomauro, Pamela Y Collins, Theo Vos, Harvey Whiteford, Shekhar Saxena, and Alize J Ferrari. 2022. The global gap in treatment coverage for major depressive disorder in 84 countries from 2000-2019: A systematic review and bayesian meta-regression analysis. PLoS Medicine, 19(2):e1003901."
|
| 1268 |
+
},
|
| 1269 |
+
{
|
| 1270 |
+
"type": "ref_text",
|
| 1271 |
+
"bbox": [
|
| 1272 |
+
0.512,
|
| 1273 |
+
0.854,
|
| 1274 |
+
0.883,
|
| 1275 |
+
0.88
|
| 1276 |
+
],
|
| 1277 |
+
"angle": 0,
|
| 1278 |
+
"content": "OpenAI. 2023. Gpt-4 technical report. arXiv preprint arXiv:2303.08774."
|
| 1279 |
+
},
|
| 1280 |
+
{
|
| 1281 |
+
"type": "ref_text",
|
| 1282 |
+
"bbox": [
|
| 1283 |
+
0.512,
|
| 1284 |
+
0.892,
|
| 1285 |
+
0.883,
|
| 1286 |
+
0.918
|
| 1287 |
+
],
|
| 1288 |
+
"angle": 0,
|
| 1289 |
+
"content": "Steve Rathje, Dan-Mircea Mirea, Ilia Sucholutsky, Raja Marjieh, Claire Robertson, and Jay J Van Bavel. 2023."
|
| 1290 |
+
},
|
| 1291 |
+
{
|
| 1292 |
+
"type": "list",
|
| 1293 |
+
"bbox": [
|
| 1294 |
+
0.512,
|
| 1295 |
+
0.086,
|
| 1296 |
+
0.883,
|
| 1297 |
+
0.918
|
| 1298 |
+
],
|
| 1299 |
+
"angle": 0,
|
| 1300 |
+
"content": null
|
| 1301 |
+
},
|
| 1302 |
+
{
|
| 1303 |
+
"type": "page_number",
|
| 1304 |
+
"bbox": [
|
| 1305 |
+
0.481,
|
| 1306 |
+
0.929,
|
| 1307 |
+
0.519,
|
| 1308 |
+
0.941
|
| 1309 |
+
],
|
| 1310 |
+
"angle": 0,
|
| 1311 |
+
"content": "4301"
|
| 1312 |
+
}
|
| 1313 |
+
],
|
| 1314 |
+
[
|
| 1315 |
+
{
|
| 1316 |
+
"type": "text",
|
| 1317 |
+
"bbox": [
|
| 1318 |
+
0.135,
|
| 1319 |
+
0.086,
|
| 1320 |
+
0.486,
|
| 1321 |
+
0.113
|
| 1322 |
+
],
|
| 1323 |
+
"angle": 0,
|
| 1324 |
+
"content": "Gpt is an effective tool for multilingual psychological text analysis."
|
| 1325 |
+
},
|
| 1326 |
+
{
|
| 1327 |
+
"type": "ref_text",
|
| 1328 |
+
"bbox": [
|
| 1329 |
+
0.117,
|
| 1330 |
+
0.123,
|
| 1331 |
+
0.489,
|
| 1332 |
+
0.163
|
| 1333 |
+
],
|
| 1334 |
+
"angle": 0,
|
| 1335 |
+
"content": "Barbara Olasov Rothbaum, Elizabeth A Meadows, Patricia Resick, and David W Foy. 2000. Cognitive-behavioral therapy."
|
| 1336 |
+
},
|
| 1337 |
+
{
|
| 1338 |
+
"type": "ref_text",
|
| 1339 |
+
"bbox": [
|
| 1340 |
+
0.117,
|
| 1341 |
+
0.173,
|
| 1342 |
+
0.487,
|
| 1343 |
+
0.264
|
| 1344 |
+
],
|
| 1345 |
+
"angle": 0,
|
| 1346 |
+
"content": "Tulika Saha, Saichethan Reddy, Anindya Das, Sriparna Saha, and Pushpak Bhattacharyya. 2022. A shoulder to cry on: Towards a motivational virtual assistant for assuaging mental agony. In Proceedings of the 2022 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pages 2436-2449."
|
| 1347 |
+
},
|
| 1348 |
+
{
|
| 1349 |
+
"type": "ref_text",
|
| 1350 |
+
"bbox": [
|
| 1351 |
+
0.117,
|
| 1352 |
+
0.274,
|
| 1353 |
+
0.487,
|
| 1354 |
+
0.351
|
| 1355 |
+
],
|
| 1356 |
+
"angle": 0,
|
| 1357 |
+
"content": "Natalie Shapira, Mosh Levy, Seyed Hossein Alavi, Xuhui Zhou, Yejin Choi, Yoav Goldberg, Maarten Sap, and Vered Shwartz. 2023. Clever hans or neural theory of mind? stress testing social reasoning in large language models. arXiv preprint arXiv:2305.14763."
|
| 1358 |
+
},
|
| 1359 |
+
{
|
| 1360 |
+
"type": "ref_text",
|
| 1361 |
+
"bbox": [
|
| 1362 |
+
0.117,
|
| 1363 |
+
0.363,
|
| 1364 |
+
0.487,
|
| 1365 |
+
0.454
|
| 1366 |
+
],
|
| 1367 |
+
"angle": 0,
|
| 1368 |
+
"content": "Ashish Sharma, Adam Miner, David Atkins, and Tim Althoff. 2020a. A computational approach to understanding empathy expressed in text-based mental health support. In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP), pages 5263-5276, Online. Association for Computational Linguistics."
|
| 1369 |
+
},
|
| 1370 |
+
{
|
| 1371 |
+
"type": "ref_text",
|
| 1372 |
+
"bbox": [
|
| 1373 |
+
0.117,
|
| 1374 |
+
0.465,
|
| 1375 |
+
0.487,
|
| 1376 |
+
0.517
|
| 1377 |
+
],
|
| 1378 |
+
"angle": 0,
|
| 1379 |
+
"content": "Ashish Sharma, Adam S Miner, David C Atkins, and Tim Althoff. 2020b. A computational approach to understanding empathy expressed in text-based mental health support. arXiv preprint arXiv:2009.08441."
|
| 1380 |
+
},
|
| 1381 |
+
{
|
| 1382 |
+
"type": "ref_text",
|
| 1383 |
+
"bbox": [
|
| 1384 |
+
0.117,
|
| 1385 |
+
0.527,
|
| 1386 |
+
0.487,
|
| 1387 |
+
0.593
|
| 1388 |
+
],
|
| 1389 |
+
"angle": 0,
|
| 1390 |
+
"content": "Sagarika Shreevastava and Peter Foltz. 2021. Detecting cognitive distortions from patient-therapist interactions. In Proceedings of the Seventh Workshop on Computational Linguistics and Clinical Psychology: Improving Access, pages 151-158."
|
| 1391 |
+
},
|
| 1392 |
+
{
|
| 1393 |
+
"type": "ref_text",
|
| 1394 |
+
"bbox": [
|
| 1395 |
+
0.117,
|
| 1396 |
+
0.603,
|
| 1397 |
+
0.487,
|
| 1398 |
+
0.68
|
| 1399 |
+
],
|
| 1400 |
+
"angle": 0,
|
| 1401 |
+
"content": "Mina Valizadeh and Natalie Parde. 2022. The ai doctor is in: A survey of task-oriented dialogue systems for healthcare applications. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 6638-6660."
|
| 1402 |
+
},
|
| 1403 |
+
{
|
| 1404 |
+
"type": "ref_text",
|
| 1405 |
+
"bbox": [
|
| 1406 |
+
0.117,
|
| 1407 |
+
0.691,
|
| 1408 |
+
0.487,
|
| 1409 |
+
0.757
|
| 1410 |
+
],
|
| 1411 |
+
"angle": 0,
|
| 1412 |
+
"content": "Anuradha Welivita, Yubo Xie, and Pearl Pu. 2021. A large-scale dataset for empathetic response generation. In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing, pages 1251-1264."
|
| 1413 |
+
},
|
| 1414 |
+
{
|
| 1415 |
+
"type": "ref_text",
|
| 1416 |
+
"bbox": [
|
| 1417 |
+
0.117,
|
| 1418 |
+
0.767,
|
| 1419 |
+
0.487,
|
| 1420 |
+
0.806
|
| 1421 |
+
],
|
| 1422 |
+
"angle": 0,
|
| 1423 |
+
"content": "Marsha White and Steve M Dorman. 2001. Receiving social support online: implications for health education. Health education research, 16(6):693-707."
|
| 1424 |
+
},
|
| 1425 |
+
{
|
| 1426 |
+
"type": "ref_text",
|
| 1427 |
+
"bbox": [
|
| 1428 |
+
0.117,
|
| 1429 |
+
0.817,
|
| 1430 |
+
0.487,
|
| 1431 |
+
0.869
|
| 1432 |
+
],
|
| 1433 |
+
"angle": 0,
|
| 1434 |
+
"content": "Jesse H Wright, Gregory K Brown, Michael E Thase, and Monica Ramirez Basco. 2017. Learning cognitive-behavior therapy: An illustrated guide. American Psychiatric Pub."
|
| 1435 |
+
},
|
| 1436 |
+
{
|
| 1437 |
+
"type": "ref_text",
|
| 1438 |
+
"bbox": [
|
| 1439 |
+
0.117,
|
| 1440 |
+
0.879,
|
| 1441 |
+
0.487,
|
| 1442 |
+
0.918
|
| 1443 |
+
],
|
| 1444 |
+
"angle": 0,
|
| 1445 |
+
"content": "Sourabh Zanwar, Xiaofei Li, Daniel Wiechmann, Yu Qiao, and Elma Kerz. 2023. What to fuse and how to fuse: Exploring emotion and personality fusion"
|
| 1446 |
+
},
|
| 1447 |
+
{
|
| 1448 |
+
"type": "list",
|
| 1449 |
+
"bbox": [
|
| 1450 |
+
0.117,
|
| 1451 |
+
0.123,
|
| 1452 |
+
0.489,
|
| 1453 |
+
0.918
|
| 1454 |
+
],
|
| 1455 |
+
"angle": 0,
|
| 1456 |
+
"content": null
|
| 1457 |
+
},
|
| 1458 |
+
{
|
| 1459 |
+
"type": "ref_text",
|
| 1460 |
+
"bbox": [
|
| 1461 |
+
0.529,
|
| 1462 |
+
0.086,
|
| 1463 |
+
0.882,
|
| 1464 |
+
0.139
|
| 1465 |
+
],
|
| 1466 |
+
"angle": 0,
|
| 1467 |
+
"content": "In Findings of the Association for Computational Linguistics: ACL 2023, pages 8926-8940, Toronto, Canada. Association for Computational Linguistics."
|
| 1468 |
+
},
|
| 1469 |
+
{
|
| 1470 |
+
"type": "ref_text",
|
| 1471 |
+
"bbox": [
|
| 1472 |
+
0.512,
|
| 1473 |
+
0.148,
|
| 1474 |
+
0.881,
|
| 1475 |
+
0.188
|
| 1476 |
+
],
|
| 1477 |
+
"angle": 0,
|
| 1478 |
+
"content": "Caleb Ziems, Minzhi Li, Anthony Zhang, and Diyi Yang. 2022. Inducing positive perspectives with text reframing. arXiv preprint arXiv:2204.02952."
|
| 1479 |
+
},
|
| 1480 |
+
{
|
| 1481 |
+
"type": "list",
|
| 1482 |
+
"bbox": [
|
| 1483 |
+
0.512,
|
| 1484 |
+
0.086,
|
| 1485 |
+
0.882,
|
| 1486 |
+
0.188
|
| 1487 |
+
],
|
| 1488 |
+
"angle": 0,
|
| 1489 |
+
"content": null
|
| 1490 |
+
},
|
| 1491 |
+
{
|
| 1492 |
+
"type": "title",
|
| 1493 |
+
"bbox": [
|
| 1494 |
+
0.512,
|
| 1495 |
+
0.199,
|
| 1496 |
+
0.858,
|
| 1497 |
+
0.215
|
| 1498 |
+
],
|
| 1499 |
+
"angle": 0,
|
| 1500 |
+
"content": "Appendix A: Cognitive Distortion Types"
|
| 1501 |
+
},
|
| 1502 |
+
{
|
| 1503 |
+
"type": "text",
|
| 1504 |
+
"bbox": [
|
| 1505 |
+
0.512,
|
| 1506 |
+
0.224,
|
| 1507 |
+
0.882,
|
| 1508 |
+
0.319
|
| 1509 |
+
],
|
| 1510 |
+
"angle": 0,
|
| 1511 |
+
"content": "We list all the ten cognitive distortion types studies in this work following-(Shreevastava and Foltz, 2021) in Table 5. Note that these ten types being studied are some common, well-studied ones. As psychotherapy develops, more fine-grained and new distortion types are expected to be unveiled."
|
| 1512 |
+
},
|
| 1513 |
+
{
|
| 1514 |
+
"type": "text",
|
| 1515 |
+
"bbox": [
|
| 1516 |
+
0.512,
|
| 1517 |
+
0.322,
|
| 1518 |
+
0.882,
|
| 1519 |
+
0.416
|
| 1520 |
+
],
|
| 1521 |
+
"angle": 0,
|
| 1522 |
+
"content": "For the cognitive distortion detection dataset proposed by Shreevastava and Foltz (2021), there are 2,531 examples in total. We follow the original \\(80\\% - 20\\%\\) train-test split. The input patient speech has an average length of 167.3 tokens, and the ten distortion types are roughly equally distributed."
|
| 1523 |
+
},
|
| 1524 |
+
{
|
| 1525 |
+
"type": "title",
|
| 1526 |
+
"bbox": [
|
| 1527 |
+
0.512,
|
| 1528 |
+
0.428,
|
| 1529 |
+
0.758,
|
| 1530 |
+
0.444
|
| 1531 |
+
],
|
| 1532 |
+
"angle": 0,
|
| 1533 |
+
"content": "Appendix B: Prompt Details"
|
| 1534 |
+
},
|
| 1535 |
+
{
|
| 1536 |
+
"type": "text",
|
| 1537 |
+
"bbox": [
|
| 1538 |
+
0.512,
|
| 1539 |
+
0.454,
|
| 1540 |
+
0.881,
|
| 1541 |
+
0.498
|
| 1542 |
+
],
|
| 1543 |
+
"angle": 0,
|
| 1544 |
+
"content": "For all our experiments without using DoT, we first prompt the LLM with the following general instructions:"
|
| 1545 |
+
},
|
| 1546 |
+
{
|
| 1547 |
+
"type": "text",
|
| 1548 |
+
"bbox": [
|
| 1549 |
+
0.512,
|
| 1550 |
+
0.502,
|
| 1551 |
+
0.882,
|
| 1552 |
+
0.612
|
| 1553 |
+
],
|
| 1554 |
+
"angle": 0,
|
| 1555 |
+
"content": "Given a speech of a patient, our task is to 1) identify if there is cognitive distortion in the speech; 2) Recognizing the specific types of the cognitive distortion. Here we consider the following common distortions: (followed by the descriptions and examples for all ten prompts in the dataset metadata of (Shreevastava and Foltz, 2021)."
|
| 1556 |
+
},
|
| 1557 |
+
{
|
| 1558 |
+
"type": "text",
|
| 1559 |
+
"bbox": [
|
| 1560 |
+
0.512,
|
| 1561 |
+
0.615,
|
| 1562 |
+
0.882,
|
| 1563 |
+
0.659
|
| 1564 |
+
],
|
| 1565 |
+
"angle": 0,
|
| 1566 |
+
"content": "For all our experiments using DoT, we first prompt the LLM with the following general instructions:"
|
| 1567 |
+
},
|
| 1568 |
+
{
|
| 1569 |
+
"type": "text",
|
| 1570 |
+
"bbox": [
|
| 1571 |
+
0.512,
|
| 1572 |
+
0.663,
|
| 1573 |
+
0.882,
|
| 1574 |
+
0.821
|
| 1575 |
+
],
|
| 1576 |
+
"angle": 0,
|
| 1577 |
+
"content": "Given a speech of a patient, our task is to 1) finish a few diagnose of thought questions to analyze the thought patterns of the patient. Then based on the diagnose of thought analysis, 2) identify if there is cognitive distortion in the speech; 3) Recognizing the specific types of the cognitive distortion. Here we consider the following common distortions: (followed by the descriptions and examples for all ten prompts in the dataset metadata of (Shreevastava and Foltz, 2021)."
|
| 1578 |
+
},
|
| 1579 |
+
{
|
| 1580 |
+
"type": "text",
|
| 1581 |
+
"bbox": [
|
| 1582 |
+
0.512,
|
| 1583 |
+
0.824,
|
| 1584 |
+
0.881,
|
| 1585 |
+
0.854
|
| 1586 |
+
],
|
| 1587 |
+
"angle": 0,
|
| 1588 |
+
"content": "Then for methods without using DoT, we prompt the following two questions:"
|
| 1589 |
+
},
|
| 1590 |
+
{
|
| 1591 |
+
"type": "text",
|
| 1592 |
+
"bbox": [
|
| 1593 |
+
0.512,
|
| 1594 |
+
0.856,
|
| 1595 |
+
0.882,
|
| 1596 |
+
0.918
|
| 1597 |
+
],
|
| 1598 |
+
"angle": 0,
|
| 1599 |
+
"content": "Please first answer: if there is cognitive distortion in the speech; Answer 'yes' or 'no'; Please then answer: Recognizing the specific types of the cognitive distortion in the speech. There may be"
|
| 1600 |
+
},
|
| 1601 |
+
{
|
| 1602 |
+
"type": "page_number",
|
| 1603 |
+
"bbox": [
|
| 1604 |
+
0.481,
|
| 1605 |
+
0.929,
|
| 1606 |
+
0.521,
|
| 1607 |
+
0.941
|
| 1608 |
+
],
|
| 1609 |
+
"angle": 0,
|
| 1610 |
+
"content": "4302"
|
| 1611 |
+
}
|
| 1612 |
+
],
|
| 1613 |
+
[
|
| 1614 |
+
{
|
| 1615 |
+
"type": "table",
|
| 1616 |
+
"bbox": [
|
| 1617 |
+
0.119,
|
| 1618 |
+
0.084,
|
| 1619 |
+
0.88,
|
| 1620 |
+
0.326
|
| 1621 |
+
],
|
| 1622 |
+
"angle": 0,
|
| 1623 |
+
"content": "<table><tr><td>Cognitive Distortion Type</td><td>Interpretation</td><td>Example Distorted Speech</td></tr><tr><td>Personalization</td><td>Personalizing or taking up the blame for a situation, that in reality involved many factors and was out of the person's control.</td><td>My son is pretty quiet today. I wonder what I did to upset him.</td></tr><tr><td>Mind Reading</td><td>Suspecting what others are thinking or what are the motivations behind their actions.</td><td>My house was dirty when my friends came over, they must think I'm a slob!</td></tr><tr><td>Overgeneralization</td><td>Major conclusions are drawn based on limited information.</td><td>Last time I was in the pool I almost drowned, I am a terrible swimmer and should not go into the water again.</td></tr><tr><td>All-or-nothing thinking</td><td>Looking at a situation as either black or white or thinking that there are only two possible outcomes to a situation.</td><td>If I cannot get my Ph.D., then I am a total failure.</td></tr><tr><td>Emotional reasoning</td><td>Letting one's feeling about something overrule facts to the contrary.</td><td>Even though Steve is here at work late every day, I know I work harder than anyone else at my job.</td></tr><tr><td>Labeling</td><td>Giving someone or something a label without finding out more about it/them.</td><td>My daughter would never do anything I disapproved of.</td></tr><tr><td>Magnification</td><td>Emphasizing the negative or playing down the positive of a situation.</td><td>My professor said he made some corrections on my paper, so I know I'll probably fail the class.</td></tr><tr><td>Mental filter</td><td>Placing all one's attention o, or seeing only, the negatives of a situation.</td><td>My husband says he wishes I was better at housekeeping, so I must be a lousy wife.</td></tr><tr><td>Should statements</td><td>Should statements appear as a list of ironclad rules about how a person should behave, this could be about the speaker themselves or other.It is NOT necessary that the word 'should' or it's synonyms (ought to, must etc.) be present in the statements containing this distortion.</td><td>I should get all A's to be a good student.</td></tr><tr><td>Fortune-telling</td><td>As the name suggests, this distortion is about expecting things to happen a certain way, or assuming that thing will go badlyCounterintuitively, this distortion does not always have future tense.</td><td>I was afraid of job interviews so I decided to start my own thing.</td></tr></table>"
|
| 1624 |
+
},
|
| 1625 |
+
{
|
| 1626 |
+
"type": "table_caption",
|
| 1627 |
+
"bbox": [
|
| 1628 |
+
0.128,
|
| 1629 |
+
0.334,
|
| 1630 |
+
0.867,
|
| 1631 |
+
0.348
|
| 1632 |
+
],
|
| 1633 |
+
"angle": 0,
|
| 1634 |
+
"content": "Table 5: Common cognitive distortion types and example speech, taken from (Beck, 2020; Shreevastava and Foltz, 2021)."
|
| 1635 |
+
},
|
| 1636 |
+
{
|
| 1637 |
+
"type": "text",
|
| 1638 |
+
"bbox": [
|
| 1639 |
+
0.114,
|
| 1640 |
+
0.379,
|
| 1641 |
+
0.489,
|
| 1642 |
+
0.442
|
| 1643 |
+
],
|
| 1644 |
+
"angle": 0,
|
| 1645 |
+
"content": "one type of cognitive distortion or multiple types involved. If there are multiple types, please give the top 2 dominant ones. Please only give the distortion type names separated by comma."
|
| 1646 |
+
},
|
| 1647 |
+
{
|
| 1648 |
+
"type": "text",
|
| 1649 |
+
"bbox": [
|
| 1650 |
+
0.114,
|
| 1651 |
+
0.444,
|
| 1652 |
+
0.489,
|
| 1653 |
+
0.652
|
| 1654 |
+
],
|
| 1655 |
+
"angle": 0,
|
| 1656 |
+
"content": "For methods using DoT, before asking this two questions, we provide the following DoT prompts: Based on the patient's speech, finish the following diagnosis of thought questions: 1. what is the situation? Find out the facts that are objective; what is the patient thinking or imagining? Find out the thoughts or opinions that are subjective. 2. what makes the patient think the thought is true or is not true? Find out the reasoning processes that support and do not support these thoughts. 3. why does the patient come up with such reasoning process supporting the thought? What's the underlying cognition mode of it?"
|
| 1657 |
+
},
|
| 1658 |
+
{
|
| 1659 |
+
"type": "title",
|
| 1660 |
+
"bbox": [
|
| 1661 |
+
0.115,
|
| 1662 |
+
0.664,
|
| 1663 |
+
0.421,
|
| 1664 |
+
0.681
|
| 1665 |
+
],
|
| 1666 |
+
"angle": 0,
|
| 1667 |
+
"content": "Appendix C: Generation Examples"
|
| 1668 |
+
},
|
| 1669 |
+
{
|
| 1670 |
+
"type": "text",
|
| 1671 |
+
"bbox": [
|
| 1672 |
+
0.114,
|
| 1673 |
+
0.689,
|
| 1674 |
+
0.486,
|
| 1675 |
+
0.721
|
| 1676 |
+
],
|
| 1677 |
+
"angle": 0,
|
| 1678 |
+
"content": "We present some generation examples of GPT-3.5 and GPT-4 in Figure 3."
|
| 1679 |
+
},
|
| 1680 |
+
{
|
| 1681 |
+
"type": "page_number",
|
| 1682 |
+
"bbox": [
|
| 1683 |
+
0.481,
|
| 1684 |
+
0.929,
|
| 1685 |
+
0.521,
|
| 1686 |
+
0.941
|
| 1687 |
+
],
|
| 1688 |
+
"angle": 0,
|
| 1689 |
+
"content": "4303"
|
| 1690 |
+
}
|
| 1691 |
+
],
|
| 1692 |
+
[
|
| 1693 |
+
{
|
| 1694 |
+
"type": "text",
|
| 1695 |
+
"bbox": [
|
| 1696 |
+
0.13,
|
| 1697 |
+
0.195,
|
| 1698 |
+
0.862,
|
| 1699 |
+
0.224
|
| 1700 |
+
],
|
| 1701 |
+
"angle": 0,
|
| 1702 |
+
"content": "Patient Message: Lately I have been extremely unhappy for no apparent reason. I feel empty almost all the time. It is like nothing can give me genuine joy anymore. I also feel alone a lot, even though I do have friends and close friends. Whenever I try to imagine my future all I see is one full of obstacles. I have become so consumed in sadness and I do not know how to deal anymore. I feel so confused and I do not understand myself anymore."
|
| 1703 |
+
},
|
| 1704 |
+
{
|
| 1705 |
+
"type": "table_caption",
|
| 1706 |
+
"bbox": [
|
| 1707 |
+
0.218,
|
| 1708 |
+
0.241,
|
| 1709 |
+
0.39,
|
| 1710 |
+
0.252
|
| 1711 |
+
],
|
| 1712 |
+
"angle": 0,
|
| 1713 |
+
"content": "Diagnosis of Thought (ChatGPT):"
|
| 1714 |
+
},
|
| 1715 |
+
{
|
| 1716 |
+
"type": "table",
|
| 1717 |
+
"bbox": [
|
| 1718 |
+
0.129,
|
| 1719 |
+
0.255,
|
| 1720 |
+
0.478,
|
| 1721 |
+
0.457
|
| 1722 |
+
],
|
| 1723 |
+
"angle": 0,
|
| 1724 |
+
"content": "<table><tr><td>Objective Fact:</td><td>The patient has been feeling extremely unhappy and empty lately.</td></tr><tr><td>Subjective Thought:</td><td>Nothing can give the patient genuine joy and that the future is full of obstacles. the patient feels confused and does not understand themselves anymore.</td></tr><tr><td>Reasoning Process Supporting the Thoughts:</td><td>The patient may believe that their thoughts are true because they are experiencing these feelings and emotions firsthand.</td></tr><tr><td>Reasoning Process Contradicting the Thoughts:</td><td>There may not be factual evidence to support the belief that nothing can give the patient genuine joy or that the future is full of obstacles. the patient may be using emotional reasoning to support their beliefs.</td></tr><tr><td>Cognition Schema:</td><td>The patient may be experiencing a cognitive mode of negativity bias, where they tend to focus on negative experiences and thoughts rather than positive ones. this may be influencing their reasoning processes, leading them to magnify the negative and filter out the positive aspects of their life and future. additionally, the patient may be struggling with depression, which can impact the way they perceive themselves and the world around them.</td></tr></table>"
|
| 1725 |
+
},
|
| 1726 |
+
{
|
| 1727 |
+
"type": "table_caption",
|
| 1728 |
+
"bbox": [
|
| 1729 |
+
0.633,
|
| 1730 |
+
0.241,
|
| 1731 |
+
0.786,
|
| 1732 |
+
0.252
|
| 1733 |
+
],
|
| 1734 |
+
"angle": 0,
|
| 1735 |
+
"content": "Diagnosis of Thought (GPT4):"
|
| 1736 |
+
},
|
| 1737 |
+
{
|
| 1738 |
+
"type": "table",
|
| 1739 |
+
"bbox": [
|
| 1740 |
+
0.508,
|
| 1741 |
+
0.255,
|
| 1742 |
+
0.861,
|
| 1743 |
+
0.474
|
| 1744 |
+
],
|
| 1745 |
+
"angle": 0,
|
| 1746 |
+
"content": "<table><tr><td>Objective Fact:</td><td>The patient has been extremely unhappy recently. The patient feels empty and alone most of the time. he patient has friends and close friends.</td></tr><tr><td>Subjective Thought:</td><td>They believe nothing can bring them genuine joy anymore. They imagine their future full of obstacles. They feel consumed by sadness and confusion and no longer understand themselves.</td></tr><tr><td>Reasoning Process</td><td>The persistent feeling of emptiness and lack of joy might make the patient believe that their situation is unchanging and will remain the same. They may be experiencing negative events in their lives, making it harder to feel hopeful about their future.</td></tr><tr><td>Supporting the Thoughts:</td><td>Feeling alone even when surrounded by friends could cause them to think that their friendships are not fulfilling or meaningful.</td></tr><tr><td>Reasoning Process</td><td rowspan=\"2\">Emotions and feelings are temporary and can change over time, so it is not guaranteed that the patient will always feel this way. The patient is aware that they do have friends, which suggests that some level of meaningful connection exists. Obstacles are a natural part of life, but they are not the only things present in one's future. positive events and achievements are also likely to occur.</td></tr><tr><td>Contradicting the Thoughts:</td></tr><tr><td>Cognition Schema:</td><td>Emotional reasoning: they believe that their feelings of unhappiness, emptiness, and loneliness are true reflections of their life's reality. Mental filter: they are focusing on the negative aspects of their life and filtering out positive experiences or memories. Fortune-telling: they are assuming that their future will be full of obstacles based on their current emotions and thoughts.</td></tr></table>"
|
| 1747 |
+
},
|
| 1748 |
+
{
|
| 1749 |
+
"type": "text",
|
| 1750 |
+
"bbox": [
|
| 1751 |
+
0.13,
|
| 1752 |
+
0.499,
|
| 1753 |
+
0.864,
|
| 1754 |
+
0.53
|
| 1755 |
+
],
|
| 1756 |
+
"angle": 0,
|
| 1757 |
+
"content": "Patient Message: So I have no close friends at the moment probably I know some people enough just to say hi but no close one and whenever I make any they go away I don't know if its my personality the reason or the way I behave and the only friends I can gain are school friends since there is no other place I go to I can't really stand myself alone. Thanks for helping."
|
| 1758 |
+
},
|
| 1759 |
+
{
|
| 1760 |
+
"type": "table_caption",
|
| 1761 |
+
"bbox": [
|
| 1762 |
+
0.218,
|
| 1763 |
+
0.546,
|
| 1764 |
+
0.388,
|
| 1765 |
+
0.557
|
| 1766 |
+
],
|
| 1767 |
+
"angle": 0,
|
| 1768 |
+
"content": "Diagnosis of Thought (ChatGPT):"
|
| 1769 |
+
},
|
| 1770 |
+
{
|
| 1771 |
+
"type": "table",
|
| 1772 |
+
"bbox": [
|
| 1773 |
+
0.129,
|
| 1774 |
+
0.563,
|
| 1775 |
+
0.478,
|
| 1776 |
+
0.74
|
| 1777 |
+
],
|
| 1778 |
+
"angle": 0,
|
| 1779 |
+
"content": "<table><tr><td>Objective Fact:</td><td>The patient has no close friends at the moment and feels lonely. The patient has made acquaintances but no close friends.</td></tr><tr><td>Subjective Thought:</td><td>The patient feels that they are the reason for their friends leaving and wonders if it's their personality or behavior causing the issue. they cannot stand being alone.</td></tr><tr><td>Reasoning Process Supporting the Thoughts:</td><td>The patient believes their thoughts to be true because they have not been able to maintain any close friendships and the pattern keeps repeating itself. they may be using past experiences to support this belief.</td></tr><tr><td>Reasoning Process Contradicting the Thoughts:</td><td>There may be other reasons for the loss of these friendships that the patient is not considering.</td></tr><tr><td>Cognition Schema:</td><td>The patient may be experiencing cognitive distortions such as overgeneralization by assuming that all friendships will end up the same way and mental filtering by focusing only on the negative aspects of their past friendships. the underlying cognition mode could be a negative self-image or low self-esteem.</td></tr></table>"
|
| 1780 |
+
},
|
| 1781 |
+
{
|
| 1782 |
+
"type": "table_caption",
|
| 1783 |
+
"bbox": [
|
| 1784 |
+
0.633,
|
| 1785 |
+
0.546,
|
| 1786 |
+
0.785,
|
| 1787 |
+
0.557
|
| 1788 |
+
],
|
| 1789 |
+
"angle": 0,
|
| 1790 |
+
"content": "Diagnosis of Thought (GPT4):"
|
| 1791 |
+
},
|
| 1792 |
+
{
|
| 1793 |
+
"type": "table",
|
| 1794 |
+
"bbox": [
|
| 1795 |
+
0.508,
|
| 1796 |
+
0.56,
|
| 1797 |
+
0.861,
|
| 1798 |
+
0.767
|
| 1799 |
+
],
|
| 1800 |
+
"angle": 0,
|
| 1801 |
+
"content": "<table><tr><td>Objective Fact:</td><td>The patient currently does not have close friends and mainly interacts with school friends. they feel lonely and seek help.</td></tr><tr><td>Subjective Thought:</td><td>The patient believes that their personality or behavior might be the reason their friendships don't last, and they are limited in opportunities to make new friends.</td></tr><tr><td>Reasoning Process</td><td>The patient might have experienced failed friendships and noticed a pattern of people leaving their life. this leads them to question if their personality or behavior is the cause.</td></tr><tr><td>Supporting the Thoughts:</td><td></td></tr><tr><td>Reasoning Process</td><td>The patient has not provided concrete examples or evidence that their personality or behavior is the reason behind the lack of close friendships. it is possible there are external factors or situational circumstances that led to the loss of friendships.</td></tr><tr><td>Contradicting the Thoughts:</td><td></td></tr><tr><td>Cognition Schema:</td><td>The patient might be engaging in personalization and overgeneralization cognitive distortions. personalization because they seem to be taking the blame for friendships not lasting, assuming it's their fault due to their personality or behavior. overgeneralization because they are making a broad conclusion based on limited information (i.e., the assumption that their personality or behavior is the sole reason for the lack of close friends). this underlying cognition mode could stem from low self-esteem, fear of rejection, or previous negative experiences in social situations.</td></tr></table>"
|
| 1802 |
+
},
|
| 1803 |
+
{
|
| 1804 |
+
"type": "image_caption",
|
| 1805 |
+
"bbox": [
|
| 1806 |
+
0.194,
|
| 1807 |
+
0.802,
|
| 1808 |
+
0.802,
|
| 1809 |
+
0.816
|
| 1810 |
+
],
|
| 1811 |
+
"angle": 0,
|
| 1812 |
+
"content": "Figure 3: Showcases of Diagnosis of Thought using ChatGPT and GPT4 given the Patient Message."
|
| 1813 |
+
},
|
| 1814 |
+
{
|
| 1815 |
+
"type": "page_number",
|
| 1816 |
+
"bbox": [
|
| 1817 |
+
0.481,
|
| 1818 |
+
0.929,
|
| 1819 |
+
0.521,
|
| 1820 |
+
0.941
|
| 1821 |
+
],
|
| 1822 |
+
"angle": 0,
|
| 1823 |
+
"content": "4304"
|
| 1824 |
+
}
|
| 1825 |
+
]
|
| 1826 |
+
]
|
2023/Empowering Psychotherapy with Large Language Models_ Cognitive Distortion Detection through Diagnosis of Thought Prompting/04980a83-f896-4166-a550-6164ef62b39f_origin.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0c114ad96b3bcd9d830754b109db33d9d48eadecaa543edc8526e34765047341
|
| 3 |
+
size 637199
|
2023/Empowering Psychotherapy with Large Language Models_ Cognitive Distortion Detection through Diagnosis of Thought Prompting/full.md
ADDED
|
@@ -0,0 +1,239 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Empowering Psychotherapy with Large Language Models: Cognitive Distortion Detection through Diagnosis of Thought Prompting
|
| 2 |
+
|
| 3 |
+
Zhiyu Chen $^{1}$ , Yujie Lu $^{2}$ , and William Yang Wang $^{2}$
|
| 4 |
+
|
| 5 |
+
Carnegie Mellon University
|
| 6 |
+
|
| 7 |
+
<sup>2</sup>University of California, Santa Barbara
|
| 8 |
+
|
| 9 |
+
zhiyuc@andrew.cmu.edu,
|
| 10 |
+
|
| 11 |
+
{yujielu, william}@cs.ucsb.edu
|
| 12 |
+
|
| 13 |
+
# Abstract
|
| 14 |
+
|
| 15 |
+
Mental illness remains one of the most critical public health issues of our time, due to the severe scarcity and accessibility limit of professionals. Psychotherapy requires high-level expertise to conduct deep, complex reasoning and analysis on the cognition modeling of the patients. In the era of Large Language Models, we believe it is the right time to develop AI assistance for computational psychotherapy. We study the task of cognitive distortion detection and propose the Diagnosis of Thought (DoT) prompting. DoT performs diagnosis on the patient's speech via three stages: subjectivity assessment to separate the facts and the thoughts; contrastive reasoning to elicit the reasoning processes supporting and contradicting the thoughts; and schema analysis to summarize the cognition schemas. The generated diagnosis rationales through the three stages are essential for assisting the professionals. Experiments demonstrate that DoT obtains significant improvements over ChatGPT for cognitive distortion detection, while generating high-quality rationales approved by human experts.
|
| 16 |
+
|
| 17 |
+
# 1 Introduction
|
| 18 |
+
|
| 19 |
+
About one in eight people worldwide suffer from mental disorders (World Health Organization, 2022). However, such mental health conditions are severely underserved, due to a number of reasons including the scarcity of mental health professionals, poor quality of services, unaffordable cost, and social stigma (White and Dorman, 2001; Sharma et al., 2020b). Treatment coverage for mental health service use ranges from $33\%$ in high-income locations to only $8\%$ in low- and lower middle-income countries (Moitra et al., 2022). A recent study from the American Psychological Association (APA) $^{1}$ found that six in ten psychologists "no longer have openings for new patients."
|
| 20 |
+
|
| 21 |
+
To mitigate such situations, there have been consistent efforts on developing automated systems for mental health support, such as sentiment analysis (Rathje et al., 2023) and empathetic chatbots (Welivita et al., 2021; Sharma et al., 2020b; Saha et al., 2022). However, existing works mostly take shallow attempts in a heuristic manner, e.g., analyzing emotions and generating comforting responses. There is still a significant gap for such systems to contribute to real professional psychotherapy, which requires deep studies of the patient's thinking patterns, the establishment of cognition models, and the methods to reconstruct the cognition models. These procedures constitute the core pillars in common classic therapy paradigms like cognitive-behavior therapy (CBT) (Rothbaum et al., 2000; Wright et al., 2017; Beck, 2020) and acceptance and commitment therapy (ACT) (Harris, 2006; Hayes et al., 2011). Most data sources recording the interactions between the patients and licensed professionals are confidential, making it even more challenging to build professional assistance for psychotherapy.
|
| 22 |
+
|
| 23 |
+
Recent progress in Large Language Model (LLM) development uncovers its astonishing ability in various textual reasoning tasks in zero-shot setting (Kojima et al., 2022; Bang et al., 2023; Chen, 2022). For the psychology domain, ChatGPT and GPT-4 present very promising performance in the classic Sally-Anne test (Baron-Cohen et al., 1985; Bubeck et al., 2023), evaluating the basic theory of mind capabilities to attribute mental states such as beliefs, emotions, desires, etc. We believe it is promising to further exploit such ability to complex mental reasoning and analysis. It is the right time to start developing professional, targeted, and systematic AI assistance for psychotherapy.
|
| 24 |
+
|
| 25 |
+
In this paper, we take the first step by studying the task of cognitive distortion detection, the first core procedure in cognitive behavior therapy (CBT) (Beck, 2020). Inspired by how psychother
|
| 26 |
+
|
| 27 |
+
<table><tr><td>Cognitive Distortion Type</td><td>Interpretation</td><td>Example Distorted Speech</td></tr><tr><td>Personalization</td><td>Personalizing or taking up the blame for a situation, that in reality involved many factors and was out of the person's control.</td><td>My son is pretty quiet today. I wonder what I did to upset him.</td></tr><tr><td>Mind Reading</td><td>Suspecting what others are thinking or what are the motivations behind their actions.</td><td>My house was dirty when my friends came over, they must think I'm a slob!</td></tr><tr><td>All-or-nothing thinking</td><td>Looking at a situation as either black or white or thinking that there are only two possible outcomes to a situation.</td><td>If I cannot get my Ph.D., then I am a total failure.</td></tr></table>
|
| 28 |
+
|
| 29 |
+
Table 1: Three example common cognitive distortion types, taken from (Beck, 2020; Shreevastava and Foltz, 2021).
|
| 30 |
+
|
| 31 |
+
apy professionals perform nuanced diagnosis over the patient's speech, we propose the Diagnosis of Thought (DoT) prompting. In DoT, we diagnose the patient's speech through three stages: (1) subjectivity assessment, (2) contrastive reasoning, and (3) schema analysis. In subjectivity assessment, we distinguish the patient's subjective thoughts from the objective facts; In contrastive reasoning, we elicit the reasoning processes supporting and opposing the patient's thoughts; Finally, in schema analysis, we summarize the underlying thought schema and map it to the cognitive distortion types. We conduct comprehensive experiments using the recent top-performing LLMs. In zero-shot setting, DoT obtains over $10\%$ and $15\%$ relative improvements for distortion assessment and classification, respectively, on ChatGPT. Meanwhile, the generated rationales through the three stages grant full interpretability for the diagnosis process, whose quality is further approved by human experts.
|
| 32 |
+
|
| 33 |
+
We unveil the great potential of empowering professional psychotherapy with LLM. This exploration serves as a catalyst for a larger initiative; we extend an invitation to both AI and psychotherapy communities to come together in a collaborative effort. Our ultimate goal is to construct professional, safe, AI-driven assistance that can substantially enhance mental health support systems.
|
| 34 |
+
|
| 35 |
+
# 2 Cognitive Distortion Detection
|
| 36 |
+
|
| 37 |
+
Cognitive Behavior Therapy (CBT) is a well-established therapy paradigm primarily on depression and anxiety disorders (Beck, 2020). In CBT, given the patients' speech or written content, we establish the cognitive model by building the interactions among the situations, thoughts, and emotions. Patients with mental disorders, such as depression or anxiety, tend to form negative thoughts very rapidly and unconsciously, leading to negative emotions which further strengthen their overall negative views and beliefs about the world.
|
| 38 |
+
|
| 39 |
+
To break this vicious circle, in a typical CBT process, the first core step is to identify those mal
|
| 40 |
+
|
| 41 |
+
adaptive negative thoughts and summarize their underlying schemas, formally known as cognitive distortions. There are generally 10-20 common, well-studied types of cognitive distortions. We present a few types with examples in Table 1, and refer the readers to Appendix A for the full list. Once accurately identify these cognitive distortions, CBT therapists will guide the patients to justify and correct these distortions, so as to gradually reconstruct their cognition models.
|
| 42 |
+
|
| 43 |
+
In the real psychotherapy process, there's a significant amount of textual information including therapeutic conversations and diaries, etc. Such information is often long, highly fragmented, and disorganized, containing multiple types of distortions beyond the toy examples in Table 1. The task of cognitive distortion detection aims to automatically detect the distortion types given such textual information from the patients, in order to assist therapists to enhance their efficiency and productivity. Meanwhile, such detectors can also potentially serve as self-assisting tools for the patients to diagnose their thoughts and conduct CBT practice, upon meeting the robustness and safety requirements. Formally, cognitive distortion detection consists of two steps: 1) Distortion assessment to predict whether the given speech contains cognitive distortions, as a binary classification problem; and 2) Distortion classification to predict the specific distortion types, as a multiclass classification problem.
|
| 44 |
+
|
| 45 |
+
# 3 The Diagnosis of Thought Prompting
|
| 46 |
+
|
| 47 |
+
On discussing with psychotherapy professionals, we identify the following key stages to diagnose the patient's speech to detect cognitive distortions. Subjectivity Assessment. The patient's speech consists of a mixture of reality (objective facts) and interpretations/opinions (subjective thoughts). In order to perform deep analysis of distorted thinking, we first need to find out which parts of the speech are objective facts and which parts are subjective thoughts. After such an assessment, we summa
|
| 48 |
+
|
| 49 |
+

|
| 50 |
+
Figure 1: The Diagnosis of Thought framework. We strategically prompt the LLM to go through the three diagnosis stages: subjectivity assessment, contrastive reasoning, and schema analysis.
|
| 51 |
+
|
| 52 |
+
rize the objective facts into the situations as the evidence base to diagnose the subjective thoughts.
|
| 53 |
+
|
| 54 |
+
Contrastive Reasoning. This stage aims to discover how the patient ascertains the veracity of their subjective thoughts. Based on the situation, we deduct the reasoning processes that supports and contradicts the patient's thoughts respectively. By contrasting two different interpretations based on the same situation, we can identify the thought schemas more clearly.
|
| 55 |
+
|
| 56 |
+
Schema Analysis. This stage aims to study why the patient forms the specific reasoning process. The term "schema" refers to the cognitive structures that organize our knowledge, beliefs, and expectations. Understanding what schemas a patient is relying on can reveal much about their cognitive mode and distortions.
|
| 57 |
+
|
| 58 |
+
We propose the Diagnosis of Thought (DoT) prompting, guiding the LLM through the above three stages to diagnose the patient's speech. Figure 1 illustrates our framework. We sequentially prompt LLM with three questions for the three stages. After the LLM finishes the generation for all stages, we prompt it with another two questions asking distortion assessment and classification. See Appendix B for all the prompts we use.
|
| 59 |
+
|
| 60 |
+
With DoT prompting, we obtain fully interpretable diagnosis rationales for detecting cognitive distortions. Such interpretability is vital for professionals in real applications. Serving as the diagnosing assistance tool, the diagnosis rationales are essential for the professionals to justify the results. More importantly, they can potentially learn the nuanced thought patterns and schemas derived from the patient's speech through the rationales. This is crucial for the professionals to establish the patient's cognition models more efficiently from
|
| 61 |
+
|
| 62 |
+
the vast amount of speech.
|
| 63 |
+
|
| 64 |
+
# 4 Experimental Results
|
| 65 |
+
|
| 66 |
+
# 4.1 Dataset and experimental settings
|
| 67 |
+
|
| 68 |
+
We experiment on the cognitive distortion detection dataset proposed by Shreevastava and Foltz (2021), which is annotated by experts based on the Therapist QA dataset. The dataset consists of 2,531 examples of patient speech annotated with ten common types of cognitive distortions, as specified in Appendix A. $63.1\%$ of the examples have cognitive distortions, which are annotated with the two dominant ones. We follow the same train-test split in (Shreevastava and Foltz, 2021). For automatic evaluations, we report F-1 for distortion assessment and weighted F-1 for distortion classification.
|
| 69 |
+
|
| 70 |
+
# 4.2 Automatic Evaluation Results
|
| 71 |
+
|
| 72 |
+
We experiment using three of the recent representative LLMs: ChatGPT (gpt-3.5-turbo)<sup>3</sup>, Vicuna<sup>4</sup>, and GPT-4 (OpenAI, 2023). For all methods, we first prompt with a general instruction specifying the task and the target distortion types. We compare our DoT prompting with 1) Directly generating the results, and 2) Zero-Shot CoT prompting (ZCoT) (Kojima et al., 2022). For Vicuna, both ZCoT and DoT exceed the token limits for many examples; we omit the results. We average over five runs and report mean and standard deviation for all experiments. Table 2 shows our main experiment results. As we can see, under the zero-shot setting, due to the challenge of this task, Vicuna and ChatGPT still fall behind the supervised full-training models. The proposed DoT prompting significantly
|
| 73 |
+
|
| 74 |
+
<table><tr><td>Methods</td><td>Distortion Assessment (F-1)</td><td>Distortion Classification (Weighted F-1)</td></tr><tr><td>Full training*</td><td>75.0</td><td>24.0</td></tr><tr><td>Vicuna</td><td>73.810.95</td><td>11.230.78</td></tr><tr><td>ChatGPT</td><td>73.470.58</td><td>19.241.00</td></tr><tr><td>ChatGPT + ZCoT</td><td>77.101.21</td><td>20.211.02</td></tr><tr><td>ChatGPT + DoT</td><td>81.190.11</td><td>22.250.70</td></tr><tr><td>GPT-4</td><td>83.040.51</td><td>33.860.83</td></tr><tr><td>GPT-4 + ZCoT</td><td>81.971.21</td><td>33.221.36</td></tr><tr><td>GPT-4 + DoT</td><td>82.770.81</td><td>34.641.40</td></tr></table>
|
| 75 |
+
|
| 76 |
+
Table 2: Main Results (Standard deviation in subscript). $(^{\star})$ results copied from (Shreevastava and Foltz, 2021).
|
| 77 |
+
|
| 78 |
+
<table><tr><td>Methods</td><td>Distortion Assessment (F-1)</td><td>Distortion Classification (Weighted F-1)</td></tr><tr><td>ChatGPT</td><td>73.470.58</td><td>19.241.00</td></tr><tr><td>ChatGPT + S1</td><td>79.621.12</td><td>18.721.95</td></tr><tr><td>ChatGPT + S1 + S2</td><td>80.700.48</td><td>20.111.02</td></tr><tr><td>ChatGPT + S1 + S2 + S3</td><td>81.190.11</td><td>22.250.70</td></tr></table>
|
| 79 |
+
|
| 80 |
+
boosts the performance of ChatGPT, with the distortion assessment score surpassing the full-training performance and the distortion classification score approaching the full-training performance. The improvement over ZCoT demonstrates the superiority of our proposed strategic stages compared with rationale generation with no guidance. Astonishingly, GPT-4 surpasses the full-training performance even by a large margin for distortion classification. On the one hand, this may demonstrate the powerful ability of GPT-4 on this task - it can already reach a potential upper bound regardless with DoT promoting or not; On the other hand, since the dataset we use is publicly released on Kaggle and its original data source is from online forums, we do not exclude the possibility of data contamination.
|
| 81 |
+
|
| 82 |
+
Ablation Studies and Analysis. To better understand how each stage of DoT contributes to overall performance, we conduct ablation studies using ChatGPT shown in Table 3. All three stages obtain improvements for distortion assessment and distortion classification. For distortion assessment, subjectivity assessment (S1) gains the largest improvement, as separating objective facts and subjective thoughts is a strong trigger to assess distortions. For distortion classification, Schema Analysis (S3)
|
| 83 |
+
|
| 84 |
+

|
| 85 |
+
Figure 2: Distortion classification per class F-1.
|
| 86 |
+
|
| 87 |
+
Table 3: Ablation studies on each stage of DoT: we denote Subjectivity Assessment as S1, Contrastive Reasoning as S2, and Schema Analysis as S3.
|
| 88 |
+
|
| 89 |
+
<table><tr><td>Methods</td><td>Quality</td><td>Subjectivity Assessment</td><td>Contrastive Reasoning</td><td>Schema Analysis</td></tr><tr><td rowspan="3">ChatGPT +DoT</td><td>Comprehensive</td><td>68.5%</td><td>45.0%</td><td>50.5%</td></tr><tr><td>Partially good</td><td>24.5%</td><td>30.5%</td><td>27.0%</td></tr><tr><td>Invalid</td><td>7.0%</td><td>24.5%</td><td>22.5%</td></tr><tr><td rowspan="3">GPT4 +DoT</td><td>Comprehensive</td><td>84.5%</td><td>69.5%</td><td>76.5%</td></tr><tr><td>Partially good</td><td>13.5%</td><td>25.5%</td><td>18.5%</td></tr><tr><td>Invalid</td><td>2.0%</td><td>5.0%</td><td>5.0%</td></tr></table>
|
| 90 |
+
|
| 91 |
+
Table 4: Human evaluation results for diagnosis rationales.
|
| 92 |
+
|
| 93 |
+
obtains large improvement, as the summarized underlying thought schema can match the definition of the distortion types more accurately. We also analyze the distortion classification results for each distortion type, with results shown in Figure 2.
|
| 94 |
+
|
| 95 |
+
# 4.3 Human Evaluation Results
|
| 96 |
+
|
| 97 |
+
As there is no reference available for the diagnosis rationales, we employ psychotherapy experts to assess the quality of the generated rationales. We hired psychotherapy professionals from UpWork<sup>5</sup>, e.g., certified clinicians, counseling psychology Ph.D. students, etc. We discussed with each hire to reach an agreement on the payment following a fair wage rate.
|
| 98 |
+
|
| 99 |
+
Specifically, we present the patient's speech, all the prompts, and the generated rationales for all stages to human experts. For the generated rationales of each stage, we instruct the experts to choose between: 1) Comprehensive. (Correct and comprehensive.); 2) Partially good. (Reasonable but not comprehensive) 3) Invalid. (Not reasonable.) Table 4 shows the evaluation results on 100 examples for DoT over ChatGPT and GPT-4. We employ two experts for each evaluation and report the average; The agreement rates (the percentage of examples the two experts gave the same rating) for both evaluations are over $80\%$ . The diagnosis rationales generated for all stages shows decent
|
| 100 |
+
|
| 101 |
+
quality verified by the experts. See Appendix C for more generation examples.
|
| 102 |
+
|
| 103 |
+
# 5 Related Work
|
| 104 |
+
|
| 105 |
+
Due to the verbal and textual nature of psychotherapy procedures, there have been consistent efforts to employ NLP techniques to assist the mental health domain (Althoff et al., 2016; Abd-Alrazaq et al., 2021, 2019; Valizadeh and Parde, 2022). However, with the knowledge gap between the two communities, most existing works take shallow attempts without deep investigation of the professional psychotherapy knowledge. A majority of the previous studies targets identification of common mental health issues, such as depression and anxiety, from textual contents (Cohan et al., 2018; MacAvaney et al., 2018; Harrigian et al., 2020; Ji et al., 2022; Zanwar et al., 2023; Juhng et al., 2023). Another major category of works study therapeutic conversations with a focus on emotional/empathetic supports (Halder et al., 2017; Sharma et al., 2020a; Atapattu et al., 2022; Mishra et al., 2023), and discourse structures (Cao et al., 2019; Hsu et al., 2023). A few more recent works have started to investigate deeper professional psychotherapy knowledge, e.g., cognitive distortion detection in CBT (Shreevastava and Foltz, 2021; Ding et al., 2022; Lybarger et al., 2022), identifying and reframing unhelpful thoughts (Ziems et al., 2022; Maddela et al., 2023). Early famous system Eliza<sup>6</sup> took the initial attempts to emulate a Rogerian psychotherapist. Due to its rule-based nature, the responses are often reflections or rephrasings of the user's statements. If users deviate too much from expected inputs or probe its capabilities, the program may produce irrelevant or nonsensical responses.
|
| 106 |
+
|
| 107 |
+
Recent progress in large language model reveals that ChatGPT and GPT-4 present very promising performance in the classic Sally-Anne test (Baron-Cohen et al., 1985; Bubeck et al., 2023), evaluating the basic theory of mind capabilities to attribute mental states such as beliefs, emotions, desires, etc. However, latter works also point out the robustness issue of such ability (Shapira et al., 2023). In our work, we are inspired by such enhanced ability and investigate the application of diagnosing patients' thoughts in psychotherapy. Our experiments on the real dataset, not anecdotal examples, show very promising performance both in auto
|
| 108 |
+
|
| 109 |
+
matic and human expert evaluation. We believe it is a very important future research direction to investigate the general cognitive abilities of LLM and make connections to the field of psychology and cognitive science. Theory-wise, we are eager to explore to what extent the LLM can simulate the human cognitive functions, so as to determine the role that language plays in the overall human cognition. Application-wise, a straightforward and encouraging direction should be the integration for assisting mental health treatment, as the motivation and goal of this work.
|
| 110 |
+
|
| 111 |
+
# 6 Conclusion and Future Work
|
| 112 |
+
|
| 113 |
+
This work delved into the integration of large language models (LLMs) within the realm of psychotherapy. We introduced the Diagnosis of Thought (DoT) framework, which strategically prompts the LLM to produce diagnosis rationales pertinent to the detection of cognitive distortions. We believe that there exists substantial potential for leveraging LLMs within numerous facets of mental health support that are currently under-explored. Our findings, thus, not only illuminate a path towards more efficient therapy methods but also open doors for future investigations to push the boundaries of AI's role in mental health treatment.
|
| 114 |
+
|
| 115 |
+
In the domain of AI-enhanced psychotherapy, particularly when harnessing the power of LLMs, there are paramount challenges surrounding safety, robustness, and ethical responsibilities. LLM is known to generate hallucinations and biases. While one potential usage of our system is to serve as a self-diagnosing/assisting tool for patients, e.g., to help the patients to recognize their own thinking patterns and learn how the cognitive distortions developed, such tools should not be deployed for direct patient use without the supervision of professionals. As we navigate the potential of LLM in psychotherapy, our foremost priority should remain in building systems that are safe and responsible. Concurrently, the formulation of robust ethical guidelines tailored to this new era becomes indispensable.
|
| 116 |
+
|
| 117 |
+
# Limitations
|
| 118 |
+
|
| 119 |
+
One of the biggest obstacles to studying AI for psychotherapy is the lack of available, high-quality data. Most of the datasets recording the information of the interactions between the patients and licensed professionals are confidential due to pri
|
| 120 |
+
|
| 121 |
+
vacy concerns. The dataset used in this work is the only one we can find publicly available for cognitive distortion detection, as its data source is from public online forums. In addition to the patient's speech, the patient's demographic information also plays an important role in analyzing the thought process leading to cognitive distortions. In this dataset, some of the patient speech include a few demographic details, but pretty minimal. Beyond the task of cognitive distortion detection, the same data constraint issue exists for all other therapy stages and paradigms. This also motivates us to work on building privacy-preserved systems as a crucial future direction.
|
| 122 |
+
|
| 123 |
+
# Ethics Statement
|
| 124 |
+
|
| 125 |
+
The system built in this work are never meant to replace psychotherapy professionals: all system-produced results need to be verified by licensed professionals. The system should not be deployed for direct patient use without the supervision of licensed professionals.
|
| 126 |
+
|
| 127 |
+
There has been a lot of discussions regarding the use of LLMs for AI-driven therapy purpose. Chatbots will find their most effective role in medicine within the realm of mental health, an opinion quoted from Thomas Insel, former director of the National Institute of Mental Health. In the meantime, we should always take caution for such development. Our foremost priority should be building safe and responsible applications while establishing ethical and regulation standards for this new era. Under the current status, the partnership between professionals and AI systems is a promising direction for the goal to ease the burden of professionals, which is the motivation of this work.
|
| 128 |
+
|
| 129 |
+
"Diagnosis of Thought" is an innovative approach that harnesses the capabilities of large language models to enhance the field of psychotherapy. It is imperative to understand that this tool is not designed for censorship or any form of invasive surveillance. Instead, it aims to augment the skills of therapists by providing them with advanced, data-driven insights into their clients' thoughts and emotions. Through the efficient processing of linguistic cues and patterns, these models aid mental health professionals in formulating more precise diagnoses and crafting tailored therapeutic interventions that could significantly enhance the well
|
| 130 |
+
|
| 131 |
+
being of individuals seeking help.
|
| 132 |
+
|
| 133 |
+
For all the annotations and human evaluations presented in this work, we hired psychotherapy professionals from UpWork<sup>8</sup>, e.g., certified clinicians, counseling psychology Ph.D. students, etc. We discussed with each hire to reach an agreement on the payment following a fair wage rate. The average hourly rate for all the experts is $80.
|
| 134 |
+
|
| 135 |
+
This project is approved by our Institutional Review Board (IRB). The data annotation is classified as exempt by our IRB.
|
| 136 |
+
|
| 137 |
+
# References
|
| 138 |
+
|
| 139 |
+
Alaa A Abd-Alrazaq, Mohannad Alajlani, Ali Abdallah Alalwan, Bridgette M Bewick, Peter Gardner, and Mowafa Househ. 2019. An overview of the features of chatbots in mental health: A scoping review. International Journal of Medical Informatics, 132:103978.
|
| 140 |
+
Alaa A Abd-Alrazaq, Mohammad Alajlani, Nashva Ali, Kerstin Denecke, Bridgette M Bewick, and Mowafa Househ. 2021. Perceptions and opinions of patients about mental health chatbots: scoping review. Journal of medical Internet research, 23(1):e17828.
|
| 141 |
+
Tim Althoff, Kevin Clark, and Jure Leskovec. 2016. Large-scale analysis of counseling conversations: An application of natural language processing to mental health. Transactions of the Association for Computational Linguistics, 4:463-476.
|
| 142 |
+
Thushari Atapattu, Mahen Herath, Charitha Elvitigala, Piyanjali de Zoysa, Kasun Gunawardana, Menasha Thilakaratne, Kasun de Zoysa, and Katrina Falkner. 2022. EmoMent: An emotion annotated mental health corpus from two South Asian countries. In Proceedings of the 29th International Conference on Computational Linguistics, pages 6991-7001, Gyeongju, Republic of Korea. International Committee on Computational Linguistics.
|
| 143 |
+
Yejin Bang, Samuel Cahyawijaya, Nayeon Lee, Wen-liang Dai, Dan Su, Bryan Wilie, Holy Lovenia, Ziwei Ji, Tiezheng Yu, Willy Chung, et al. 2023. A multitask, multilingual, multimodal evaluation of chatgpt on reasoning, hallucination, and interactivity. arXiv preprint arXiv:2302.04023.
|
| 144 |
+
Simon Baron-Cohen, Alan M Leslie, and Uta Frith. 1985. Does the autistic child have a "theory of mind"? Cognition, 21(1):37-46.
|
| 145 |
+
Judith S Beck. 2020. Cognitive behavior therapy: Basics and beyond. Guilford Publications.
|
| 146 |
+
Sebastien Bubeck, Varun Chandrasekaran, Ronen Eldan, Johannes Gehrke, Eric Horvitz, Ece Kamar,
|
| 147 |
+
|
| 148 |
+
Peter Lee, Yin Tat Lee, Yuanzhi Li, Scott Lundberg, et al. 2023. Sparks of artificial general intelligence: Early experiments with gpt-4. arXiv preprint arXiv:2303.12712.
|
| 149 |
+
Jie Cao, Michael Tanana, Zac E Imel, Eric Poitras, David C Atkins, and Vivek Srikumar. 2019. Observing dialogue in therapy: Categorizing and forecasting behavioral codes. arXiv preprint arXiv:1907.00326.
|
| 150 |
+
Wenhu Chen. 2022. Large language models are few (1)-shot table reasoners. arXiv preprint arXiv:2210.06710.
|
| 151 |
+
Arman Cohan, Bart Desmet, Andrew Yates, Luca Soldaini, Sean MacAvaney, and Nazli Goharian. 2018. SMHD: a large-scale resource for exploring online language usage for multiple mental health conditions. In Proceedings of the 27th International Conference on Computational Linguistics, pages 1485-1497, Santa Fe, New Mexico, USA. Association for Computational Linguistics.
|
| 152 |
+
Xiruo Ding, Kevin Lybarger, Justin Tauscher, and Trevor Cohen. 2022. Improving classification of infrequent cognitive distortions: Domain-specific model vs. data augmentation. In Proceedings of the 2022 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies: Student Research Workshop, pages 68-75, Hybrid: Seattle, Washington + Online. Association for Computational Linguistics.
|
| 153 |
+
Kishaloy Halder, Lahari Poddar, and Min-Yen Kan. 2017. Modeling temporal progression of emotional status in mental health forum: A recurrent neural net approach. In Proceedings of the 8th Workshop on Computational Approaches to Subjectivity, Sentiment and Social Media Analysis, pages 127-135, Copenhagen, Denmark. Association for Computational Linguistics.
|
| 154 |
+
Keith Harrigian, Carlos Aguirre, and Mark Dredze. 2020. Do models of mental health based on social media data generalize? In *Findings of the Association for Computational Linguistics: EMNLP* 2020, pages 3774-3788, Online. Association for Computational Linguistics.
|
| 155 |
+
Russell Harris. 2006. Embracing your demons: An overview of acceptance and commitment therapy. Psychotherapy in Australia, 12(4):70-6.
|
| 156 |
+
Steven C Hayes, Kirk D Strosahl, and Kelly G Wilson. 2011. Acceptance and commitment therapy: The process and practice of mindful change. Guilford press.
|
| 157 |
+
Shang-Ling Hsu, Raj Sanjay Shah, Prathik Senthil, Zahra Ashktorab, Casey Dugan, Werner Geyer, and Diyi Yang. 2023. Helping the helper: Supporting peer counselors via ai-empowered practice and feedback. arXiv preprint arXiv:2305.08982.
|
| 158 |
+
|
| 159 |
+
Shaoxiong Ji, Tianlin Zhang, Luna Ansari, Jie Fu, Prayag Tiwari, and Erik Cambria. 2022. MentalBERT: Publicly available pretrained language models for mental healthcare. In Proceedings of the Thirteenth Language Resources and Evaluation Conference, pages 7184-7190, Marseille, France. European Language Resources Association.
|
| 160 |
+
Swanie Juhng, Matthew Matero, Vasudha Varadarajan, Johannes Eichstaedt, Adithya V Ganesan, and H Andrew Schwartz. 2023. Discourse-level representations can improve prediction of degree of anxiety. In Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics (Volume 2: Short Papers), pages 1500-1511.
|
| 161 |
+
Takeshi Kojima, Shixiang Shane Gu, Machel Reid, Yutaka Matsuo, and Yusuke Iwasawa. 2022. Large language models are zero-shot reasoners. arXiv preprint arXiv:2205.11916.
|
| 162 |
+
Kevin Lybarger, Justin Tauscher, Xiruo Ding, Dror Ben-Zeev, and Trevor Cohen. 2022. Identifying distorted thinking in patient-therapist text message exchanges by leveraging dynamic multi-turn context. In Proceedings of the Eighth Workshop on Computational Linguistics and Clinical Psychology, pages 126-136.
|
| 163 |
+
Sean MacAvaney, Bart Desmet, Arman Cohan, Luca Soldaini, Andrew Yates, Ayah Zirikly, and Nazli Goharian. 2018. RSDD-time: Temporal annotation of self-reported mental health diagnoses. In Proceedings of the Fifth Workshop on Computational Linguistics and Clinical Psychology: From Keyboard to Clinic, pages 168-173, New Orleans, LA. Association for Computational Linguistics.
|
| 164 |
+
Mounica Maddela, Megan Ung, Jing Xu, Andrea Madotto, Heather Foran, and Y-Lan Boureau. 2023. Training models to generate, recognize, and reframe unhelpful thoughts. arXiv preprint arXiv:2307.02768.
|
| 165 |
+
Kshitij Mishra, Priyanshu Priya, and Asif Ekbal. 2023. PAL to lend a helping hand: Towards building an emotion adaptive polite and empathetic counseling conversational agent. In Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 12254-12271, Toronto, Canada. Association for Computational Linguistics.
|
| 166 |
+
Modhurima Moitra, Damian Santomauro, Pamela Y Collins, Theo Vos, Harvey Whiteford, Shekhar Saxena, and Alize J Ferrari. 2022. The global gap in treatment coverage for major depressive disorder in 84 countries from 2000-2019: A systematic review and bayesian meta-regression analysis. PLoS Medicine, 19(2):e1003901.
|
| 167 |
+
OpenAI. 2023. Gpt-4 technical report. arXiv preprint arXiv:2303.08774.
|
| 168 |
+
Steve Rathje, Dan-Mircea Mirea, Ilia Sucholutsky, Raja Marjieh, Claire Robertson, and Jay J Van Bavel. 2023.
|
| 169 |
+
|
| 170 |
+
Gpt is an effective tool for multilingual psychological text analysis.
|
| 171 |
+
|
| 172 |
+
Barbara Olasov Rothbaum, Elizabeth A Meadows, Patricia Resick, and David W Foy. 2000. Cognitive-behavioral therapy.
|
| 173 |
+
Tulika Saha, Saichethan Reddy, Anindya Das, Sriparna Saha, and Pushpak Bhattacharyya. 2022. A shoulder to cry on: Towards a motivational virtual assistant for assuaging mental agony. In Proceedings of the 2022 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pages 2436-2449.
|
| 174 |
+
Natalie Shapira, Mosh Levy, Seyed Hossein Alavi, Xuhui Zhou, Yejin Choi, Yoav Goldberg, Maarten Sap, and Vered Shwartz. 2023. Clever hans or neural theory of mind? stress testing social reasoning in large language models. arXiv preprint arXiv:2305.14763.
|
| 175 |
+
Ashish Sharma, Adam Miner, David Atkins, and Tim Althoff. 2020a. A computational approach to understanding empathy expressed in text-based mental health support. In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP), pages 5263-5276, Online. Association for Computational Linguistics.
|
| 176 |
+
Ashish Sharma, Adam S Miner, David C Atkins, and Tim Althoff. 2020b. A computational approach to understanding empathy expressed in text-based mental health support. arXiv preprint arXiv:2009.08441.
|
| 177 |
+
Sagarika Shreevastava and Peter Foltz. 2021. Detecting cognitive distortions from patient-therapist interactions. In Proceedings of the Seventh Workshop on Computational Linguistics and Clinical Psychology: Improving Access, pages 151-158.
|
| 178 |
+
Mina Valizadeh and Natalie Parde. 2022. The ai doctor is in: A survey of task-oriented dialogue systems for healthcare applications. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 6638-6660.
|
| 179 |
+
Anuradha Welivita, Yubo Xie, and Pearl Pu. 2021. A large-scale dataset for empathetic response generation. In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing, pages 1251-1264.
|
| 180 |
+
Marsha White and Steve M Dorman. 2001. Receiving social support online: implications for health education. Health education research, 16(6):693-707.
|
| 181 |
+
Jesse H Wright, Gregory K Brown, Michael E Thase, and Monica Ramirez Basco. 2017. Learning cognitive-behavior therapy: An illustrated guide. American Psychiatric Pub.
|
| 182 |
+
Sourabh Zanwar, Xiaofei Li, Daniel Wiechmann, Yu Qiao, and Elma Kerz. 2023. What to fuse and how to fuse: Exploring emotion and personality fusion
|
| 183 |
+
|
| 184 |
+
In Findings of the Association for Computational Linguistics: ACL 2023, pages 8926-8940, Toronto, Canada. Association for Computational Linguistics.
|
| 185 |
+
Caleb Ziems, Minzhi Li, Anthony Zhang, and Diyi Yang. 2022. Inducing positive perspectives with text reframing. arXiv preprint arXiv:2204.02952.
|
| 186 |
+
|
| 187 |
+
# Appendix A: Cognitive Distortion Types
|
| 188 |
+
|
| 189 |
+
We list all the ten cognitive distortion types studies in this work following-(Shreevastava and Foltz, 2021) in Table 5. Note that these ten types being studied are some common, well-studied ones. As psychotherapy develops, more fine-grained and new distortion types are expected to be unveiled.
|
| 190 |
+
|
| 191 |
+
For the cognitive distortion detection dataset proposed by Shreevastava and Foltz (2021), there are 2,531 examples in total. We follow the original $80\% - 20\%$ train-test split. The input patient speech has an average length of 167.3 tokens, and the ten distortion types are roughly equally distributed.
|
| 192 |
+
|
| 193 |
+
# Appendix B: Prompt Details
|
| 194 |
+
|
| 195 |
+
For all our experiments without using DoT, we first prompt the LLM with the following general instructions:
|
| 196 |
+
|
| 197 |
+
Given a speech of a patient, our task is to 1) identify if there is cognitive distortion in the speech; 2) Recognizing the specific types of the cognitive distortion. Here we consider the following common distortions: (followed by the descriptions and examples for all ten prompts in the dataset metadata of (Shreevastava and Foltz, 2021).
|
| 198 |
+
|
| 199 |
+
For all our experiments using DoT, we first prompt the LLM with the following general instructions:
|
| 200 |
+
|
| 201 |
+
Given a speech of a patient, our task is to 1) finish a few diagnose of thought questions to analyze the thought patterns of the patient. Then based on the diagnose of thought analysis, 2) identify if there is cognitive distortion in the speech; 3) Recognizing the specific types of the cognitive distortion. Here we consider the following common distortions: (followed by the descriptions and examples for all ten prompts in the dataset metadata of (Shreevastava and Foltz, 2021).
|
| 202 |
+
|
| 203 |
+
Then for methods without using DoT, we prompt the following two questions:
|
| 204 |
+
|
| 205 |
+
Please first answer: if there is cognitive distortion in the speech; Answer 'yes' or 'no'; Please then answer: Recognizing the specific types of the cognitive distortion in the speech. There may be
|
| 206 |
+
|
| 207 |
+
<table><tr><td>Cognitive Distortion Type</td><td>Interpretation</td><td>Example Distorted Speech</td></tr><tr><td>Personalization</td><td>Personalizing or taking up the blame for a situation, that in reality involved many factors and was out of the person's control.</td><td>My son is pretty quiet today. I wonder what I did to upset him.</td></tr><tr><td>Mind Reading</td><td>Suspecting what others are thinking or what are the motivations behind their actions.</td><td>My house was dirty when my friends came over, they must think I'm a slob!</td></tr><tr><td>Overgeneralization</td><td>Major conclusions are drawn based on limited information.</td><td>Last time I was in the pool I almost drowned, I am a terrible swimmer and should not go into the water again.</td></tr><tr><td>All-or-nothing thinking</td><td>Looking at a situation as either black or white or thinking that there are only two possible outcomes to a situation.</td><td>If I cannot get my Ph.D., then I am a total failure.</td></tr><tr><td>Emotional reasoning</td><td>Letting one's feeling about something overrule facts to the contrary.</td><td>Even though Steve is here at work late every day, I know I work harder than anyone else at my job.</td></tr><tr><td>Labeling</td><td>Giving someone or something a label without finding out more about it/them.</td><td>My daughter would never do anything I disapproved of.</td></tr><tr><td>Magnification</td><td>Emphasizing the negative or playing down the positive of a situation.</td><td>My professor said he made some corrections on my paper, so I know I'll probably fail the class.</td></tr><tr><td>Mental filter</td><td>Placing all one's attention o, or seeing only, the negatives of a situation.</td><td>My husband says he wishes I was better at housekeeping, so I must be a lousy wife.</td></tr><tr><td>Should statements</td><td>Should statements appear as a list of ironclad rules about how a person should behave, this could be about the speaker themselves or other.It is NOT necessary that the word 'should' or it's synonyms (ought to, must etc.) be present in the statements containing this distortion.</td><td>I should get all A's to be a good student.</td></tr><tr><td>Fortune-telling</td><td>As the name suggests, this distortion is about expecting things to happen a certain way, or assuming that thing will go badlyCounterintuitively, this distortion does not always have future tense.</td><td>I was afraid of job interviews so I decided to start my own thing.</td></tr></table>
|
| 208 |
+
|
| 209 |
+
Table 5: Common cognitive distortion types and example speech, taken from (Beck, 2020; Shreevastava and Foltz, 2021).
|
| 210 |
+
|
| 211 |
+
one type of cognitive distortion or multiple types involved. If there are multiple types, please give the top 2 dominant ones. Please only give the distortion type names separated by comma.
|
| 212 |
+
|
| 213 |
+
For methods using DoT, before asking this two questions, we provide the following DoT prompts: Based on the patient's speech, finish the following diagnosis of thought questions: 1. what is the situation? Find out the facts that are objective; what is the patient thinking or imagining? Find out the thoughts or opinions that are subjective. 2. what makes the patient think the thought is true or is not true? Find out the reasoning processes that support and do not support these thoughts. 3. why does the patient come up with such reasoning process supporting the thought? What's the underlying cognition mode of it?
|
| 214 |
+
|
| 215 |
+
# Appendix C: Generation Examples
|
| 216 |
+
|
| 217 |
+
We present some generation examples of GPT-3.5 and GPT-4 in Figure 3.
|
| 218 |
+
|
| 219 |
+
Patient Message: Lately I have been extremely unhappy for no apparent reason. I feel empty almost all the time. It is like nothing can give me genuine joy anymore. I also feel alone a lot, even though I do have friends and close friends. Whenever I try to imagine my future all I see is one full of obstacles. I have become so consumed in sadness and I do not know how to deal anymore. I feel so confused and I do not understand myself anymore.
|
| 220 |
+
|
| 221 |
+
Diagnosis of Thought (ChatGPT):
|
| 222 |
+
|
| 223 |
+
<table><tr><td>Objective Fact:</td><td>The patient has been feeling extremely unhappy and empty lately.</td></tr><tr><td>Subjective Thought:</td><td>Nothing can give the patient genuine joy and that the future is full of obstacles. the patient feels confused and does not understand themselves anymore.</td></tr><tr><td>Reasoning Process Supporting the Thoughts:</td><td>The patient may believe that their thoughts are true because they are experiencing these feelings and emotions firsthand.</td></tr><tr><td>Reasoning Process Contradicting the Thoughts:</td><td>There may not be factual evidence to support the belief that nothing can give the patient genuine joy or that the future is full of obstacles. the patient may be using emotional reasoning to support their beliefs.</td></tr><tr><td>Cognition Schema:</td><td>The patient may be experiencing a cognitive mode of negativity bias, where they tend to focus on negative experiences and thoughts rather than positive ones. this may be influencing their reasoning processes, leading them to magnify the negative and filter out the positive aspects of their life and future. additionally, the patient may be struggling with depression, which can impact the way they perceive themselves and the world around them.</td></tr></table>
|
| 224 |
+
|
| 225 |
+
Diagnosis of Thought (GPT4):
|
| 226 |
+
|
| 227 |
+
<table><tr><td>Objective Fact:</td><td>The patient has been extremely unhappy recently. The patient feels empty and alone most of the time. he patient has friends and close friends.</td></tr><tr><td>Subjective Thought:</td><td>They believe nothing can bring them genuine joy anymore. They imagine their future full of obstacles. They feel consumed by sadness and confusion and no longer understand themselves.</td></tr><tr><td>Reasoning Process</td><td>The persistent feeling of emptiness and lack of joy might make the patient believe that their situation is unchanging and will remain the same. They may be experiencing negative events in their lives, making it harder to feel hopeful about their future.</td></tr><tr><td>Supporting the Thoughts:</td><td>Feeling alone even when surrounded by friends could cause them to think that their friendships are not fulfilling or meaningful.</td></tr><tr><td>Reasoning Process</td><td rowspan="2">Emotions and feelings are temporary and can change over time, so it is not guaranteed that the patient will always feel this way. The patient is aware that they do have friends, which suggests that some level of meaningful connection exists. Obstacles are a natural part of life, but they are not the only things present in one's future. positive events and achievements are also likely to occur.</td></tr><tr><td>Contradicting the Thoughts:</td></tr><tr><td>Cognition Schema:</td><td>Emotional reasoning: they believe that their feelings of unhappiness, emptiness, and loneliness are true reflections of their life's reality. Mental filter: they are focusing on the negative aspects of their life and filtering out positive experiences or memories. Fortune-telling: they are assuming that their future will be full of obstacles based on their current emotions and thoughts.</td></tr></table>
|
| 228 |
+
|
| 229 |
+
Patient Message: So I have no close friends at the moment probably I know some people enough just to say hi but no close one and whenever I make any they go away I don't know if its my personality the reason or the way I behave and the only friends I can gain are school friends since there is no other place I go to I can't really stand myself alone. Thanks for helping.
|
| 230 |
+
|
| 231 |
+
Diagnosis of Thought (ChatGPT):
|
| 232 |
+
|
| 233 |
+
<table><tr><td>Objective Fact:</td><td>The patient has no close friends at the moment and feels lonely. The patient has made acquaintances but no close friends.</td></tr><tr><td>Subjective Thought:</td><td>The patient feels that they are the reason for their friends leaving and wonders if it's their personality or behavior causing the issue. they cannot stand being alone.</td></tr><tr><td>Reasoning Process Supporting the Thoughts:</td><td>The patient believes their thoughts to be true because they have not been able to maintain any close friendships and the pattern keeps repeating itself. they may be using past experiences to support this belief.</td></tr><tr><td>Reasoning Process Contradicting the Thoughts:</td><td>There may be other reasons for the loss of these friendships that the patient is not considering.</td></tr><tr><td>Cognition Schema:</td><td>The patient may be experiencing cognitive distortions such as overgeneralization by assuming that all friendships will end up the same way and mental filtering by focusing only on the negative aspects of their past friendships. the underlying cognition mode could be a negative self-image or low self-esteem.</td></tr></table>
|
| 234 |
+
|
| 235 |
+
Diagnosis of Thought (GPT4):
|
| 236 |
+
|
| 237 |
+
<table><tr><td>Objective Fact:</td><td>The patient currently does not have close friends and mainly interacts with school friends. they feel lonely and seek help.</td></tr><tr><td>Subjective Thought:</td><td>The patient believes that their personality or behavior might be the reason their friendships don't last, and they are limited in opportunities to make new friends.</td></tr><tr><td>Reasoning Process</td><td>The patient might have experienced failed friendships and noticed a pattern of people leaving their life. this leads them to question if their personality or behavior is the cause.</td></tr><tr><td>Supporting the Thoughts:</td><td></td></tr><tr><td>Reasoning Process</td><td>The patient has not provided concrete examples or evidence that their personality or behavior is the reason behind the lack of close friendships. it is possible there are external factors or situational circumstances that led to the loss of friendships.</td></tr><tr><td>Contradicting the Thoughts:</td><td></td></tr><tr><td>Cognition Schema:</td><td>The patient might be engaging in personalization and overgeneralization cognitive distortions. personalization because they seem to be taking the blame for friendships not lasting, assuming it's their fault due to their personality or behavior. overgeneralization because they are making a broad conclusion based on limited information (i.e., the assumption that their personality or behavior is the sole reason for the lack of close friends). this underlying cognition mode could stem from low self-esteem, fear of rejection, or previous negative experiences in social situations.</td></tr></table>
|
| 238 |
+
|
| 239 |
+
Figure 3: Showcases of Diagnosis of Thought using ChatGPT and GPT4 given the Patient Message.
|
2023/Empowering Psychotherapy with Large Language Models_ Cognitive Distortion Detection through Diagnosis of Thought Prompting/images.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c46ba4eaafe40053653b0622478f5ec360203cc65a10d1f1dea07ad971f9462d
|
| 3 |
+
size 633709
|
2023/Empowering Psychotherapy with Large Language Models_ Cognitive Distortion Detection through Diagnosis of Thought Prompting/layout.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2023/Emptying the Ocean with a Spoon_ Should We Edit Models_/04529405-4e73-4a21-827a-c746e1975cce_content_list.json
ADDED
|
@@ -0,0 +1,756 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"type": "text",
|
| 4 |
+
"text": "Emptying the Ocean with a Spoon: Should We Edit Models?",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
188,
|
| 8 |
+
89,
|
| 9 |
+
811,
|
| 10 |
+
110
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Yuval Pinter and Michael Elhadad \nDepartment of Computer Science \nBen-Gurion University of the Negev \nBe'er Sheva, Israel \n{uvp, elhadad}@cs.bgu.ac.il",
|
| 17 |
+
"bbox": [
|
| 18 |
+
347,
|
| 19 |
+
130,
|
| 20 |
+
655,
|
| 21 |
+
215
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "Abstract",
|
| 28 |
+
"text_level": 1,
|
| 29 |
+
"bbox": [
|
| 30 |
+
263,
|
| 31 |
+
252,
|
| 32 |
+
339,
|
| 33 |
+
268
|
| 34 |
+
],
|
| 35 |
+
"page_idx": 0
|
| 36 |
+
},
|
| 37 |
+
{
|
| 38 |
+
"type": "text",
|
| 39 |
+
"text": "We call into question the recently popularized method of direct model editing as a means of correcting factual errors in LLM generations. We contrast model editing with three similar but distinct approaches that pursue better defined objectives: (1) retrieval-based architectures, which decouple factual memory from inference and linguistic capabilities embodied in LLMs; (2) concept erasure methods, which aim at preventing systemic bias in generated text; and (3) attribution methods, which aim at grounding generations into identified textual sources.",
|
| 40 |
+
"bbox": [
|
| 41 |
+
144,
|
| 42 |
+
277,
|
| 43 |
+
458,
|
| 44 |
+
447
|
| 45 |
+
],
|
| 46 |
+
"page_idx": 0
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"type": "text",
|
| 50 |
+
"text": "We argue that direct model editing cannot be trusted as a systematic remedy for the disadvantages inherent to LLMs, and while it has proven potential in improving model explainability, it opens risks by reinforcing the notion that models can be trusted for factuality. We call for cautious promotion and application of model editing as part of the LLM deployment process, and for responsibly limiting the use cases of LLMs to those not relying on editing as a critical component.",
|
| 51 |
+
"bbox": [
|
| 52 |
+
144,
|
| 53 |
+
453,
|
| 54 |
+
458,
|
| 55 |
+
609
|
| 56 |
+
],
|
| 57 |
+
"page_idx": 0
|
| 58 |
+
},
|
| 59 |
+
{
|
| 60 |
+
"type": "text",
|
| 61 |
+
"text": "1 Introduction",
|
| 62 |
+
"text_level": 1,
|
| 63 |
+
"bbox": [
|
| 64 |
+
115,
|
| 65 |
+
620,
|
| 66 |
+
258,
|
| 67 |
+
634
|
| 68 |
+
],
|
| 69 |
+
"page_idx": 0
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"type": "text",
|
| 73 |
+
"text": "Large language models, or LLMs, have taken the NLP world by storm. After originally focusing on training them as a vehicle for transfer learning, recent advancements have cast LLMs in the role of one-stop shop, all-knowing oracles. One particular finding that has contributed to this reframed usage is the apparent factuality properties of pre-trained LLMs: somehow, mere next-word prediction training has produced models that can complete certain correct facts about the world when asked to do so. LLMs have been perceived by the public at large as a replacement for search engines, and the scant disclaimers appearing in commercial services offering LLM querying do not appear to have made a dent in this perception.",
|
| 74 |
+
"bbox": [
|
| 75 |
+
115,
|
| 76 |
+
645,
|
| 77 |
+
487,
|
| 78 |
+
885
|
| 79 |
+
],
|
| 80 |
+
"page_idx": 0
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"type": "text",
|
| 84 |
+
"text": "Despite these developments, LLMs of course keep making mistakes. There is, after all, an inher",
|
| 85 |
+
"bbox": [
|
| 86 |
+
115,
|
| 87 |
+
887,
|
| 88 |
+
487,
|
| 89 |
+
917
|
| 90 |
+
],
|
| 91 |
+
"page_idx": 0
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"type": "text",
|
| 95 |
+
"text": "ent mismatch between their pre-training objective and the desire for factuality. In recent years, researchers have come up with several remedies to the problem of nonfactual LLM outputs, one of which being model editing, where parameters inside an LLM are tweaked based on individual facts marked for correction. These works focus on solving problems such as ensuring stability of other factual outputs following the editing, or batch editing, or computationally efficient editing. In this opinion paper, we call into question the entire idea of model editing, citing concerns about intended use cases, conceptual scalability, potential for bias, safety, and overall accountability. We advocate using models that have explicit knowledge modules for tasks requiring factual knowledge, and other existing techniques to mitigate the need for model editing in the first place. Having said that, we acknowledge the usefulness of direct editing for certain use cases such as interpretability probes, and recommend limiting editing to such scenarios.",
|
| 96 |
+
"bbox": [
|
| 97 |
+
512,
|
| 98 |
+
253,
|
| 99 |
+
882,
|
| 100 |
+
589
|
| 101 |
+
],
|
| 102 |
+
"page_idx": 0
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"type": "text",
|
| 106 |
+
"text": "2 Model Editing",
|
| 107 |
+
"text_level": 1,
|
| 108 |
+
"bbox": [
|
| 109 |
+
512,
|
| 110 |
+
602,
|
| 111 |
+
667,
|
| 112 |
+
619
|
| 113 |
+
],
|
| 114 |
+
"page_idx": 0
|
| 115 |
+
},
|
| 116 |
+
{
|
| 117 |
+
"type": "text",
|
| 118 |
+
"text": "Sinitsin et al. (2020) first introduce the notion of updating large ML models to account for local performance expectations motivated externally. They cite cases where mistakes are critical, like object detection in self-driving cars. Later work suggests model editing can aid in protecting privacy and eliminating bias (Zhu et al., 2020), and as a measure of \"catching up\" with time-sensitive facts such as \"PM of the UK\" changing over time (Bommasani et al., 2021; Mitchell et al., 2022), or as a means of understanding the mechanics of black box models (Meng et al., 2022). Sinitsin et al. (2020) specify several desired properties of editing methods: reliability (the target facts are updated as intended), locality (other changes don't happen; a measure for this property is termed drawdown), and efficiency (successful edits are computationally light); later work (De Cao et al., 2021) added generality (the",
|
| 119 |
+
"bbox": [
|
| 120 |
+
510,
|
| 121 |
+
629,
|
| 122 |
+
882,
|
| 123 |
+
917
|
| 124 |
+
],
|
| 125 |
+
"page_idx": 0
|
| 126 |
+
},
|
| 127 |
+
{
|
| 128 |
+
"type": "text",
|
| 129 |
+
"text": "ability to modify models not originally trained for knowledge retention), consistency (robustness to paraphrasing, in the specific use case of text models), and an unspecified property we'll call frugality (only minimal components of the model are changed during editing). A well-studied limitation, which most of these works focus on mitigating, and related to locality, is catastrophic forgetting (Ratcliff, 1990), i.e., ensuring that an edited model does not lose performance on tasks for which it was explicitly trained and performs well on.",
|
| 130 |
+
"bbox": [
|
| 131 |
+
115,
|
| 132 |
+
84,
|
| 133 |
+
485,
|
| 134 |
+
260
|
| 135 |
+
],
|
| 136 |
+
"page_idx": 1
|
| 137 |
+
},
|
| 138 |
+
{
|
| 139 |
+
"type": "text",
|
| 140 |
+
"text": "Methods for model editing have evolved from editable training (Sinitsin et al., 2020), a procedure requiring an a-priori decision that a model would later be edited, to the locality-motivated changing of specific parameters within models (Zhu et al., 2020; Meng et al., 2022). Recent work (Mitchell et al., 2022) draws attention to the danger of model performance degradation accumulating over the course of many successive edits, and seeks mitigation through improved methods. Hase et al. (2023b) extend the consistency requirement to hold over entailed and equivalent facts as well as paraphrases, suggesting model editing as a way of reconciling cases where certain facts are produced correctly but those entailed from them are not.",
|
| 141 |
+
"bbox": [
|
| 142 |
+
115,
|
| 143 |
+
262,
|
| 144 |
+
485,
|
| 145 |
+
501
|
| 146 |
+
],
|
| 147 |
+
"page_idx": 1
|
| 148 |
+
},
|
| 149 |
+
{
|
| 150 |
+
"type": "text",
|
| 151 |
+
"text": "3 Critique",
|
| 152 |
+
"text_level": 1,
|
| 153 |
+
"bbox": [
|
| 154 |
+
115,
|
| 155 |
+
517,
|
| 156 |
+
220,
|
| 157 |
+
533
|
| 158 |
+
],
|
| 159 |
+
"page_idx": 1
|
| 160 |
+
},
|
| 161 |
+
{
|
| 162 |
+
"type": "text",
|
| 163 |
+
"text": "In this section, we present the case against model editing as a practice, regardless of the performance obtained by any single method. We begin with an analysis of the premise underlying the model editing research objective: the hypothesis that LLMs can be used as fact repositories. We then focus on reasons for which editing facts cannot be designed a-priori as a means to maintaining fact-providing LLMs, and continue with practical considerations for why even this ill-posed goal is probably unattainable.",
|
| 164 |
+
"bbox": [
|
| 165 |
+
115,
|
| 166 |
+
545,
|
| 167 |
+
485,
|
| 168 |
+
721
|
| 169 |
+
],
|
| 170 |
+
"page_idx": 1
|
| 171 |
+
},
|
| 172 |
+
{
|
| 173 |
+
"type": "text",
|
| 174 |
+
"text": "3.1 LLMs as Knowledge Repositories?",
|
| 175 |
+
"text_level": 1,
|
| 176 |
+
"bbox": [
|
| 177 |
+
115,
|
| 178 |
+
734,
|
| 179 |
+
430,
|
| 180 |
+
751
|
| 181 |
+
],
|
| 182 |
+
"page_idx": 1
|
| 183 |
+
},
|
| 184 |
+
{
|
| 185 |
+
"type": "text",
|
| 186 |
+
"text": "The perception that LLMs can behave as knowledge repositories was first formulated and experimentally supported with the introduction of the LAMA benchmark (Petroni et al., 2019), where pretrained language models were queried in a zero-shot setting against 51K knowledge triplets extracted from knowledge banks and reformulated as fill-in-the-blank statements. 2019-level models (BERT-XL) got the top answer correctly about $26.5\\%$ of the time. The limitations of the LAMA",
|
| 187 |
+
"bbox": [
|
| 188 |
+
115,
|
| 189 |
+
757,
|
| 190 |
+
485,
|
| 191 |
+
917
|
| 192 |
+
],
|
| 193 |
+
"page_idx": 1
|
| 194 |
+
},
|
| 195 |
+
{
|
| 196 |
+
"type": "text",
|
| 197 |
+
"text": "study were later studied and this result was shown to not be robust against multi-token spans (as opposed to a single token answer; Kalo and Fichtel, 2022), in an open vocabulary setting (as opposed to a closed vocabulary of 21K tokens; Roberts et al., 2020), and when queries vary (Kassner and Schütze, 2020); indicating that the LAMA experiment relied on heuristics to predict answers. Since then, more realistic benchmarks have been introduced, as well as more robust querying techniques (Jiang et al., 2020), to address some of these limitations. As the scale of LLMs increased, recent work has also scaled up the size of benchmarks, shifting the focus to facts concerning rare entities, where even recent LLMs struggle (Kandpal et al., 2023; Sun et al., 2023). These experiments indicate that an LM's ability to answer a question depends on the number of times information relevant to that question appears in the pretraining data. As a result, LLMs cannot be safely used to answer queries about the long-tail of facts that have been rarely mentioned in pretraining (Mallen et al., 2023).",
|
| 198 |
+
"bbox": [
|
| 199 |
+
512,
|
| 200 |
+
84,
|
| 201 |
+
880,
|
| 202 |
+
437
|
| 203 |
+
],
|
| 204 |
+
"page_idx": 1
|
| 205 |
+
},
|
| 206 |
+
{
|
| 207 |
+
"type": "text",
|
| 208 |
+
"text": "Beyond the capability to reliably answer queries, LLMs should also fulfill other requirements in order to be considered as fact repositories (AlKhamissi et al., 2022): the ability to edit knowledge (add, delete, update facts), logical consistency (answers to different but related facts must agree), reasoning (the ability to infer additional answers on the basis of logical rules), and explainability and interpretability (supporting an answer through a convincing chain of arguments). Experimental results assessing these dimensions indicate that current LLMs fail on all of them. He et al. (2023) demonstrate that LLMs underperform on computing ontology subsumption inference when compared with other trained approaches such as NLI models and symbolic systems such as OWL Reasoners (Glimm et al., 2014).",
|
| 209 |
+
"bbox": [
|
| 210 |
+
512,
|
| 211 |
+
439,
|
| 212 |
+
880,
|
| 213 |
+
712
|
| 214 |
+
],
|
| 215 |
+
"page_idx": 1
|
| 216 |
+
},
|
| 217 |
+
{
|
| 218 |
+
"type": "text",
|
| 219 |
+
"text": "The evidence supporting the premise that LLMs can be used as fact repositories is, thus, currently weak. Beyond this fragile foundation, we focus below on specific arguments regarding the capability to edit models as if they were fact repositories.",
|
| 220 |
+
"bbox": [
|
| 221 |
+
512,
|
| 222 |
+
715,
|
| 223 |
+
880,
|
| 224 |
+
795
|
| 225 |
+
],
|
| 226 |
+
"page_idx": 1
|
| 227 |
+
},
|
| 228 |
+
{
|
| 229 |
+
"type": "text",
|
| 230 |
+
"text": "3.2 Systemic Mismatch",
|
| 231 |
+
"text_level": 1,
|
| 232 |
+
"bbox": [
|
| 233 |
+
512,
|
| 234 |
+
813,
|
| 235 |
+
707,
|
| 236 |
+
829
|
| 237 |
+
],
|
| 238 |
+
"page_idx": 1
|
| 239 |
+
},
|
| 240 |
+
{
|
| 241 |
+
"type": "text",
|
| 242 |
+
"text": "A very basic property of LLMs which contrasts with their usage as knowledge repositories is their stochastic nature. When used for augmenting creative endeavours, for data exploration, or for freeform tasks such as summarization, this property",
|
| 243 |
+
"bbox": [
|
| 244 |
+
512,
|
| 245 |
+
839,
|
| 246 |
+
880,
|
| 247 |
+
917
|
| 248 |
+
],
|
| 249 |
+
"page_idx": 1
|
| 250 |
+
},
|
| 251 |
+
{
|
| 252 |
+
"type": "text",
|
| 253 |
+
"text": "is desirable: the use case calls for variation or unexpectedness. In other cases, we may be content with models that supply us with a distribution of outputs, from which we can estimate the probability of individual responses and adjust our expectation for a reliable output. Since the latter is absent from many models available only through 3rd-party APIs, we are left with obtaining text generated from an unknown distribution, which we argue is insufficient for factuality-dependent applications.<sup>1</sup> It can even be argued that getting facts wrong is a feature of vanilla LLMs rather than a bug: as their core training procedure aims to simulate plausible continuation of text, it should not surprise us that models would repeat widely-assumed falsehoods in a way that negates the idea of using them for factual purposes. If most people think, and write, that Los Angeles is the capital of California,<sup>2</sup> an LLM is supposed to complete a relevant prompt accordingly. There is also no built-in reliability or robustness in LLMs that sample outputs from a distribution: two instances of the same prompt can easily produce contradicting facts, and indeed often do.",
|
| 254 |
+
"bbox": [
|
| 255 |
+
110,
|
| 256 |
+
84,
|
| 257 |
+
492,
|
| 258 |
+
470
|
| 259 |
+
],
|
| 260 |
+
"page_idx": 2
|
| 261 |
+
},
|
| 262 |
+
{
|
| 263 |
+
"type": "text",
|
| 264 |
+
"text": "Additionally, the idea of editing facts in a model suggests that we always want a model to supply us with a fact as an answer to a question. However, at times, questions may be posed while pre-supposing or otherwise assuming harmful propositions such as stereotypes or conspiracy theories. Editing the \"fact\" associated with the question \"which government agency faked the moon landing?\" would not provide us with an improved model; what we may want is to remove such facts altogether, or provide the model with a means of challenging the presupposition, or avoiding giving any answer at all. At the same time, many relations that we would term \"facts\" can be argued to be vital notions without which certain kinds of basic communication is impossible.<sup>3</sup> An LLM that cannot assert whether trees have leaves, or asserts that they never do, is in danger of becoming irrelevant for most tasks requiring any kind of interaction with the world. As philosophy and practice surrounding these questions progresses, we can hope this gap between 'must-know' and 'must-not-know' will eventually tighten to form workable bounds on LLM knowledge capacity.",
|
| 265 |
+
"bbox": [
|
| 266 |
+
110,
|
| 267 |
+
473,
|
| 268 |
+
490,
|
| 269 |
+
860
|
| 270 |
+
],
|
| 271 |
+
"page_idx": 2
|
| 272 |
+
},
|
| 273 |
+
{
|
| 274 |
+
"type": "text",
|
| 275 |
+
"text": "3.3 Architectural Implausibility",
|
| 276 |
+
"text_level": 1,
|
| 277 |
+
"bbox": [
|
| 278 |
+
507,
|
| 279 |
+
84,
|
| 280 |
+
778,
|
| 281 |
+
101
|
| 282 |
+
],
|
| 283 |
+
"page_idx": 2
|
| 284 |
+
},
|
| 285 |
+
{
|
| 286 |
+
"type": "text",
|
| 287 |
+
"text": "Estimates vary wildly, but there are over 100 million notable facts in the world. Even the cutoff for what constitutes a fact is unclear. Does a $3\\%$ change in a demographics statistic, or a new esoteric sports record, call for an edit? Do the daily whereabouts of world leaders constitute facts? What about those of celebrities or journalists? As events unfold daily in world politics, economics, sports, and many other walks of life, facts are added and changed in larger quantities and rates than can be plausibly \"caught up with\" through surgical model editing, akin to emptying the ocean with a spoon. If we choose to limit ourselves in which facts we find important enough to edit, we introduce bias into the system, opening the door to a host of documented harms which permeate many language technologies (Chang et al., 2019; Blodgett et al., 2020). This choice can be implicit as well as explicit, and is incredibly hard to avoid.",
|
| 288 |
+
"bbox": [
|
| 289 |
+
507,
|
| 290 |
+
105,
|
| 291 |
+
884,
|
| 292 |
+
411
|
| 293 |
+
],
|
| 294 |
+
"page_idx": 2
|
| 295 |
+
},
|
| 296 |
+
{
|
| 297 |
+
"type": "text",
|
| 298 |
+
"text": "In a similar vein, the vastness and variability of facts is likely to lead to bias in evaluating the complement set of edits, those facts controlled for as not changing following an edit (drawdown). Even paraphrases of edited facts are not guaranteed to change alongside the selected phrasing (De Cao et al., 2021), nor are entailed facts (Hase et al., 2023b). This problem also manifests as a safety issue, since unchecked facts can turn out to be quite important for model usage, but perhaps taken for granted (or simply not explicitly covered) when designing a drawdown benchmark.",
|
| 299 |
+
"bbox": [
|
| 300 |
+
507,
|
| 301 |
+
411,
|
| 302 |
+
885,
|
| 303 |
+
604
|
| 304 |
+
],
|
| 305 |
+
"page_idx": 2
|
| 306 |
+
},
|
| 307 |
+
{
|
| 308 |
+
"type": "text",
|
| 309 |
+
"text": "There is evidence (Mallen et al., 2023; Jang et al., 2021) that facts above a certain \"popularity threshold\", measured in terms of views on Wikipedia articles, are harder to edit out of models compared to facts lying on the long tail of view distributions. Inherently being out of sight, the unpopular facts thus become susceptible to the double risk of being edited alongside target facts while not being deemed important enough to be checked during drawdown testing. The ultimate outcome of such procedures can be a monolithization of LLM-supplied \"knowledge\" that focuses on certain popular domains and interests while losing all usefulness in many topics contributing to the extensive diversity of the human and natural experience.",
|
| 310 |
+
"bbox": [
|
| 311 |
+
507,
|
| 312 |
+
605,
|
| 313 |
+
885,
|
| 314 |
+
848
|
| 315 |
+
],
|
| 316 |
+
"page_idx": 2
|
| 317 |
+
},
|
| 318 |
+
{
|
| 319 |
+
"type": "page_footnote",
|
| 320 |
+
"text": "<sup>1</sup>Called \"transparent-sensitive tasks\" (Luo et al., 2023).",
|
| 321 |
+
"bbox": [
|
| 322 |
+
134,
|
| 323 |
+
878,
|
| 324 |
+
470,
|
| 325 |
+
891
|
| 326 |
+
],
|
| 327 |
+
"page_idx": 2
|
| 328 |
+
},
|
| 329 |
+
{
|
| 330 |
+
"type": "page_footnote",
|
| 331 |
+
"text": "2The capital of California is Sacramento.",
|
| 332 |
+
"bbox": [
|
| 333 |
+
136,
|
| 334 |
+
891,
|
| 335 |
+
386,
|
| 336 |
+
904
|
| 337 |
+
],
|
| 338 |
+
"page_idx": 2
|
| 339 |
+
},
|
| 340 |
+
{
|
| 341 |
+
"type": "page_footnote",
|
| 342 |
+
"text": "3We thank a reviewer for making this point.",
|
| 343 |
+
"bbox": [
|
| 344 |
+
136,
|
| 345 |
+
904,
|
| 346 |
+
403,
|
| 347 |
+
917
|
| 348 |
+
],
|
| 349 |
+
"page_idx": 2
|
| 350 |
+
},
|
| 351 |
+
{
|
| 352 |
+
"type": "page_footnote",
|
| 353 |
+
"text": "4107,323,022 appear in Wikidata as of October 17, 2023, conforming to the definition of notable items used in https: //www.wikidata.org/wiki/Help:Items.",
|
| 354 |
+
"bbox": [
|
| 355 |
+
507,
|
| 356 |
+
854,
|
| 357 |
+
884,
|
| 358 |
+
892
|
| 359 |
+
],
|
| 360 |
+
"page_idx": 2
|
| 361 |
+
},
|
| 362 |
+
{
|
| 363 |
+
"type": "page_footnote",
|
| 364 |
+
"text": "Attributed, according to the Internet, as a \"Yiddish proverb\", but, hey, who knows?",
|
| 365 |
+
"bbox": [
|
| 366 |
+
507,
|
| 367 |
+
892,
|
| 368 |
+
882,
|
| 369 |
+
917
|
| 370 |
+
],
|
| 371 |
+
"page_idx": 2
|
| 372 |
+
},
|
| 373 |
+
{
|
| 374 |
+
"type": "text",
|
| 375 |
+
"text": "Empirical evidence indicates existing editing models fail to properly account for the ripple effect of a fact editing operation (Cohen et al., 2023). For example, the insertion of the fact \"Jack Depp is the son of Johnny Depp\" introduces a \"ripple effect\" in the form of additional facts that the model needs to update (e.g. \"Jack Depp is the sibling of Lily-Rose Depp\"). Results in symbolic approaches to this task have demonstrated that this knowledge updating task is of high computational complexity, even NP-hard, for example in Truth Maintenance Systems (TMS; Rutenburg, 1991). These results carry to approaches based on machine learning techniques (Knblauch et al., 2020). There is, therefore, theoretical basis to conclude that model editing will at best address the problem of consistent updating in a roughly approximate manner, and most likely fail to update rarely seen facts within the ripple effect of editing operations.",
|
| 376 |
+
"bbox": [
|
| 377 |
+
115,
|
| 378 |
+
82,
|
| 379 |
+
490,
|
| 380 |
+
387
|
| 381 |
+
],
|
| 382 |
+
"page_idx": 3
|
| 383 |
+
},
|
| 384 |
+
{
|
| 385 |
+
"type": "text",
|
| 386 |
+
"text": "Finally, recent empirical findings show additional weaknesses of edit methods by extending the evaluation suites to cover aspects beyond fact editing metrics, such as specificity and robustness of the models post-editing (Onoe et al., 2023; Hoelscher-Obermaier et al., 2023; Hase et al., 2023a; Brown et al., 2023).",
|
| 387 |
+
"bbox": [
|
| 388 |
+
112,
|
| 389 |
+
391,
|
| 390 |
+
487,
|
| 391 |
+
502
|
| 392 |
+
],
|
| 393 |
+
"page_idx": 3
|
| 394 |
+
},
|
| 395 |
+
{
|
| 396 |
+
"type": "text",
|
| 397 |
+
"text": "4 Alternatives to Model Editing",
|
| 398 |
+
"text_level": 1,
|
| 399 |
+
"bbox": [
|
| 400 |
+
112,
|
| 401 |
+
520,
|
| 402 |
+
403,
|
| 403 |
+
537
|
| 404 |
+
],
|
| 405 |
+
"page_idx": 3
|
| 406 |
+
},
|
| 407 |
+
{
|
| 408 |
+
"type": "text",
|
| 409 |
+
"text": "Model editing is motivated by the desire to control the text generated by LLMs to make them more compliant with desirable outcomes, specifically to control factuality: when an LLM generates text expressing an incorrect or obsolete fact, remove the fact from the LLM's \"memory\" and try again (Peng et al., 2023). Other relatively direct approaches to improve LLM factuality (and, in general, to control and revise the text generated by LLMs) have been proposed, most notably Reinforcement Learning with Human Feedback (RLHF; Bai et al., 2022; Ouyang et al., 2022; Ramamurthy et al., 2023; Rafailov et al., 2023; Carta et al., 2023), or adding a factuality objective to the training procedure (Lee et al., 2022). We now survey approaches which define a more achievable objective than that pursued by direct model editing or output manipulation. These approaches avoid the assumption that the LLM is a fact repository, and thus steer clear of the attempt to update this repository in a logically consistent manner, which is computationally hard to achieve and verify. While these alternatives avoid the more problematic aspects of model",
|
| 410 |
+
"bbox": [
|
| 411 |
+
115,
|
| 412 |
+
549,
|
| 413 |
+
489,
|
| 414 |
+
917
|
| 415 |
+
],
|
| 416 |
+
"page_idx": 3
|
| 417 |
+
},
|
| 418 |
+
{
|
| 419 |
+
"type": "text",
|
| 420 |
+
"text": "editing, they still suffer from their own limitations, but we argue that they identify more promising research directions.",
|
| 421 |
+
"bbox": [
|
| 422 |
+
509,
|
| 423 |
+
84,
|
| 424 |
+
882,
|
| 425 |
+
131
|
| 426 |
+
],
|
| 427 |
+
"page_idx": 3
|
| 428 |
+
},
|
| 429 |
+
{
|
| 430 |
+
"type": "text",
|
| 431 |
+
"text": "Incorporating Knowledge Bases In retrieval-based models, factual knowledge is explicitly represented in a dedicated component external to the LLM. The way this external fact store is represented and combined with the LLM varies: it can be a collection of textual documents that is searched using a text retrieval component, or an RDF graph, or encoded as a set of vector embeddings, or represented as modular expert LMs trained on curated datasets. In all cases, in the retrieval-based approach, the model can explicitly cite the source which underlies a specific generation, and let the user decide its credibility.",
|
| 432 |
+
"bbox": [
|
| 433 |
+
507,
|
| 434 |
+
143,
|
| 435 |
+
882,
|
| 436 |
+
351
|
| 437 |
+
],
|
| 438 |
+
"page_idx": 3
|
| 439 |
+
},
|
| 440 |
+
{
|
| 441 |
+
"type": "text",
|
| 442 |
+
"text": "Once external (non-parametric) knowledge is retrieved, it must be composed with the LLM generation process. Khandelwal et al. (2020) introduce a k-nearest neighbor method with interpolation; RETRO (Borgeaud et al., 2021) combines the prompt with retrieved documents through a specialized cross-attention mechanism; other LLM-IR variants include a fusion-in-decoder method (ATLAS; Izacard et al., 2022) and TRIME (Zhong et al., 2022), all retrieval-based models that maintain the capacity for few-shot in-context learning.",
|
| 443 |
+
"bbox": [
|
| 444 |
+
507,
|
| 445 |
+
353,
|
| 446 |
+
884,
|
| 447 |
+
530
|
| 448 |
+
],
|
| 449 |
+
"page_idx": 3
|
| 450 |
+
},
|
| 451 |
+
{
|
| 452 |
+
"type": "text",
|
| 453 |
+
"text": "Recent work addresses the integration of LLMs and IR by learning to combine results from search engines into the context provided to the LLM to answer a specific question (Xu et al., 2023). SAIL (Luo et al., 2023) introduces an instruction fine-tuning method to ground language generation on search results and learn to select trustworthy sources. CooK (Feng et al., 2023) approaches the task of combining multiple curated modular knowledge sources into an integrative system, where sources are modeled as independent LMs and an integrator LLM combines the information from these modules to answer a question.",
|
| 454 |
+
"bbox": [
|
| 455 |
+
507,
|
| 456 |
+
531,
|
| 457 |
+
882,
|
| 458 |
+
740
|
| 459 |
+
],
|
| 460 |
+
"page_idx": 3
|
| 461 |
+
},
|
| 462 |
+
{
|
| 463 |
+
"type": "text",
|
| 464 |
+
"text": "In all of these approaches, factual knowledge is stored outside of the parameters of the LLM and can be manipulated without retraining the LLM. These approaches have been shown to be scalable in the number of facts. Editing the fact store means the same as updating a database, thus simplifying the formulation of the task.",
|
| 465 |
+
"bbox": [
|
| 466 |
+
507,
|
| 467 |
+
741,
|
| 468 |
+
882,
|
| 469 |
+
852
|
| 470 |
+
],
|
| 471 |
+
"page_idx": 3
|
| 472 |
+
},
|
| 473 |
+
{
|
| 474 |
+
"type": "text",
|
| 475 |
+
"text": "Retrieval-based models, arguably, do not resolve all of the concerns we identify with model editing. The problem of identifying the provenance of a given generation span in these combined models",
|
| 476 |
+
"bbox": [
|
| 477 |
+
507,
|
| 478 |
+
854,
|
| 479 |
+
882,
|
| 480 |
+
919
|
| 481 |
+
],
|
| 482 |
+
"page_idx": 3
|
| 483 |
+
},
|
| 484 |
+
{
|
| 485 |
+
"type": "text",
|
| 486 |
+
"text": "remains acute: the text can be determined by the internal LLM parameters, by the external stores, or by their combination, even if they are not logically consistent with one another. Facts that have been seen more often during LLM training may have more weight in this interpolation even if they are wrong or when they become obsolete. Zhu et al. (2020) claim that \"modifying knowledge in explicit memory module networks like FaE (Verga et al., 2020) is not easier and demands changes in the LLM component as well.\" This effect was also identified in the RealQA baseline test (Kasai et al., 2022): in this benchmark containing questions about time-sensitive data, experiments showed that in many cases GPT-3 (Brown et al., 2020) properly integrated data retrieved from a KB and injected into the context, but often still generated text based on outdated data from the LLM. While the clear separation of the components and the identification of the composition of external knowledge improve transparency-sensitive tasks, the objective of identifying provenance in the generated text and controlling which sources are appropriate in a given context remains an open research question. The formulation of the task of attributing generated text to identifiable sources (AIS; Rashkin et al., 2022) is a key contribution to this direction. Neeman et al. (2022) also address an aspect of this issue with a counterfactual data augmentation technique to disentangle contextual and LLM knowledge when generating text.",
|
| 487 |
+
"bbox": [
|
| 488 |
+
115,
|
| 489 |
+
84,
|
| 490 |
+
485,
|
| 491 |
+
583
|
| 492 |
+
],
|
| 493 |
+
"page_idx": 4
|
| 494 |
+
},
|
| 495 |
+
{
|
| 496 |
+
"type": "text",
|
| 497 |
+
"text": "Continual training focuses on incrementally training a model by introducing new tasks or new domains (e.g., Razdaibiedina et al., 2023). Model editing does not directly fall within this objective, as it concerns updating precise elements in the model while keeping tasks and domains unchanged. Yet, the identification of drawdown in model editing is similar to the risk of catastrophic forgetting identified in continual learning. Within this approach, we could situate model editing as a type of re-training or post-training. Zhu et al. (2020) note that just fine-tuning over a set of facts-to-update costs in degradation on other facts. Jang et al. (2021) identify the problem and propose to apply techniques from continual training to the task of incremental updating of LLM knowledge. Overall, while continuous training may seem to a priori avoid the risks of the model editing approach, it seems to suffer from many of the main evaluation problems.",
|
| 498 |
+
"bbox": [
|
| 499 |
+
115,
|
| 500 |
+
596,
|
| 501 |
+
485,
|
| 502 |
+
917
|
| 503 |
+
],
|
| 504 |
+
"page_idx": 4
|
| 505 |
+
},
|
| 506 |
+
{
|
| 507 |
+
"type": "text",
|
| 508 |
+
"text": "Concept Erasure The goal of concept erasure (Elazar and Goldberg, 2018; Ravfogel et al., 2020; Belrose et al., 2023) is to remove unwanted bias from embeddings generated by LLMs and subsequently from the generated text. This goal is motivated by fairness objectives: preventing protected attributes from causally affecting text generation. This motivation is somehow related to that of model editing (prevent damage from generated text) but key differences exist: (1) the method addresses general, well-identified concepts (protected attributes such as gender, race, age) as opposed to less well-defined specific facts; (2) it operates as a post-hoc transformation of embeddings, as opposed to a modification of the model itself, and as such it allows for more accountability than an ever-changing model; (3) it is verifiable with well-defined metrics over a limited pre-declared scope. While concept erasure has more limited scope than model editing, it defines an objective that can be evaluated with aggregated metrics in a robust manner. One possible avenue of future research can be to examine whether the erasure approach can be extended to address specific aspects of factuality, such as temporal validity.",
|
| 509 |
+
"bbox": [
|
| 510 |
+
512,
|
| 511 |
+
84,
|
| 512 |
+
882,
|
| 513 |
+
486
|
| 514 |
+
],
|
| 515 |
+
"page_idx": 4
|
| 516 |
+
},
|
| 517 |
+
{
|
| 518 |
+
"type": "text",
|
| 519 |
+
"text": "Maybe it's better to have a model that knows what it doesn't know? As identified in Kasai et al. (2022), a prerequisite to avoid generating wrong text is to identify what is not known: \"can an open-domain QA system identify unanswerable cases?\" The related issue of unanswerable questions has been addressed in a robust way (Rajpurkar et al., 2018; Sulem et al., 2021, 2022); yet the challenge in the context of LLMs and factuality is that problematic questions like those specified in §3.2 do look answerable.",
|
| 520 |
+
"bbox": [
|
| 521 |
+
512,
|
| 522 |
+
495,
|
| 523 |
+
882,
|
| 524 |
+
670
|
| 525 |
+
],
|
| 526 |
+
"page_idx": 4
|
| 527 |
+
},
|
| 528 |
+
{
|
| 529 |
+
"type": "text",
|
| 530 |
+
"text": "5 Conclusion",
|
| 531 |
+
"text_level": 1,
|
| 532 |
+
"bbox": [
|
| 533 |
+
512,
|
| 534 |
+
684,
|
| 535 |
+
638,
|
| 536 |
+
699
|
| 537 |
+
],
|
| 538 |
+
"page_idx": 4
|
| 539 |
+
},
|
| 540 |
+
{
|
| 541 |
+
"type": "text",
|
| 542 |
+
"text": "We agree that model editing is an attractive task to define, with clear benchmarks and expected outcomes. However, in current practice it contributes towards unrealistic expectations that we can solve problems like LLM hallucinations, which would lead to potential harm in unleashing use cases that are not in fact within the capabilities of LLMs alone. We advocate for the usage of retrieval-augmented methods and other structural and post-hoc methods in order to achieve the stated large-scale goals, while conceding the benefits of editing to \"safer\" applications such as model interpretability and robustness checking.",
|
| 543 |
+
"bbox": [
|
| 544 |
+
512,
|
| 545 |
+
709,
|
| 546 |
+
882,
|
| 547 |
+
917
|
| 548 |
+
],
|
| 549 |
+
"page_idx": 4
|
| 550 |
+
},
|
| 551 |
+
{
|
| 552 |
+
"type": "text",
|
| 553 |
+
"text": "Acknowledgments",
|
| 554 |
+
"text_level": 1,
|
| 555 |
+
"bbox": [
|
| 556 |
+
115,
|
| 557 |
+
84,
|
| 558 |
+
277,
|
| 559 |
+
99
|
| 560 |
+
],
|
| 561 |
+
"page_idx": 5
|
| 562 |
+
},
|
| 563 |
+
{
|
| 564 |
+
"type": "text",
|
| 565 |
+
"text": "We thank Sarah Wiegrefe for comments on earlier drafts. We thank the reviewers for their valuable feedback. Yuval Pinter was supported in part by the Israeli Ministry of Innovation, Science and Technology (Grant 2022/5451).",
|
| 566 |
+
"bbox": [
|
| 567 |
+
112,
|
| 568 |
+
109,
|
| 569 |
+
489,
|
| 570 |
+
189
|
| 571 |
+
],
|
| 572 |
+
"page_idx": 5
|
| 573 |
+
},
|
| 574 |
+
{
|
| 575 |
+
"type": "text",
|
| 576 |
+
"text": "Limitations",
|
| 577 |
+
"text_level": 1,
|
| 578 |
+
"bbox": [
|
| 579 |
+
114,
|
| 580 |
+
200,
|
| 581 |
+
220,
|
| 582 |
+
215
|
| 583 |
+
],
|
| 584 |
+
"page_idx": 5
|
| 585 |
+
},
|
| 586 |
+
{
|
| 587 |
+
"type": "text",
|
| 588 |
+
"text": "This is an opinion paper. We have purposely not made empirical analyses in order to support our critique, knowing that data is contestable and may vary according to its collection methodology. We aim to convince on the merit of examples and rhetorical argumentation rather than concrete evidence, mostly out of our reach for the models under consideration, which we nevertheless urge readers and practitioners to seek and use in attempts to either support or disprove our claims.",
|
| 589 |
+
"bbox": [
|
| 590 |
+
112,
|
| 591 |
+
227,
|
| 592 |
+
489,
|
| 593 |
+
387
|
| 594 |
+
],
|
| 595 |
+
"page_idx": 5
|
| 596 |
+
},
|
| 597 |
+
{
|
| 598 |
+
"type": "text",
|
| 599 |
+
"text": "Ethical Considerations",
|
| 600 |
+
"text_level": 1,
|
| 601 |
+
"bbox": [
|
| 602 |
+
114,
|
| 603 |
+
399,
|
| 604 |
+
315,
|
| 605 |
+
414
|
| 606 |
+
],
|
| 607 |
+
"page_idx": 5
|
| 608 |
+
},
|
| 609 |
+
{
|
| 610 |
+
"type": "text",
|
| 611 |
+
"text": "References",
|
| 612 |
+
"text_level": 1,
|
| 613 |
+
"bbox": [
|
| 614 |
+
510,
|
| 615 |
+
84,
|
| 616 |
+
608,
|
| 617 |
+
98
|
| 618 |
+
],
|
| 619 |
+
"page_idx": 5
|
| 620 |
+
},
|
| 621 |
+
{
|
| 622 |
+
"type": "list",
|
| 623 |
+
"sub_type": "ref_text",
|
| 624 |
+
"list_items": [
|
| 625 |
+
"Badr AlKhamissi, Millicent Li, Asli Celikyilmaz, Mona T. Diab, and Marjan Ghazvininejad. 2022. A review on language models as knowledge bases. ArXiv, abs/2204.06031.",
|
| 626 |
+
"Yuntao Bai, Andy Jones, Kamal Ndousse, Amanda Askell, Anna Chen, Nova DasSarma, Dawn Drain, Stanislav Fort, Deep Ganguli, Tom Henighan, Nicholas Joseph, Saurav Kadavath, Jackson Kernion, Tom Conerly, Sheer El-Showk, Nelson Elhage, Zac Hatfield-Dodds, Danny Hernandez, Tristan Hume, Scott Johnston, Shauna Kravec, Liane Lovitt, Neel Nanda, Catherine Olsson, Dario Amodei, Tom Brown, Jack Clark, Sam McCandlish, Chris Olah, Ben Mann, and Jared Kaplan. 2022. Training a helpful and harmless assistant with reinforcement learning from human feedback.",
|
| 627 |
+
"Nora Belrose, David Schneider-Joseph, Shauli Ravfogel, Ryan Cotterell, Edward Raff, and Stella Biderman. 2023. Leace: Perfect linear concept erasure in closed form.",
|
| 628 |
+
"Su Lin Blodgett, Solon Barocas, Hal Daumé III, and Hanna Wallach. 2020. Language (technology) is power: A critical survey of \"bias\" in NLP. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pages 5454-5476, Online. Association for Computational Linguistics.",
|
| 629 |
+
"Rishi Bommasani, Drew A Hudson, Ehsan Adeli, Russ Altman, Simran Arora, Sydney von Arx, Michael S Bernstein, Jeannette Bohg, Antoine Bosse-lut, Emma Brunskill, et al. 2021. On the opportunities and risks of foundation models. arXiv preprint arXiv:2108.07258.",
|
| 630 |
+
"Sebastian Borgeaud, Arthur Mensch, Jordan Hoffmann, Trevor Cai, Eliza Rutherford, Katie Millican, George van den Driessche, Jean-Baptiste Lespiau, Bogdan Damoc, Aidan Clark, Diego de Las Casas, Aurelia Guy, Jacob Menick, Roman Ring, T. W. Hennigan, Saffron Huang, Lorenzo Maggiore, Chris Jones, Albin Cassirer, Andy Brock, Michela Paganini, Geoffrey Irving, Oriol Vinyals, Simon Osindero, Karen Simonyan, Jack W. Rae, Erich Elsen, and L. Sifre. 2021. Improving language models by retrieving from trillions of tokens. In International Conference on Machine Learning.",
|
| 631 |
+
"Davis Brown, Charles Godfrey, Cody Nizinski, Jonathan Tu, and Henry Kvinge. 2023. Robustness of edited neural networks.",
|
| 632 |
+
"Tom Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah, Jared D Kaplan, Prafulla Dhariwal, Arvind Neelakantan, Pranav Shyam, Girish Sastry, Amanda Askell, et al. 2020. Language models are few-shot learners. Advances in neural information processing systems, 33:1877-1901.",
|
| 633 |
+
"Thomas Carta, Clément Romac, Thomas Wolf, Sylvain Lamprier, Olivier Sigaud, and Pierre-Yves Oudeyer."
|
| 634 |
+
],
|
| 635 |
+
"bbox": [
|
| 636 |
+
510,
|
| 637 |
+
105,
|
| 638 |
+
885,
|
| 639 |
+
917
|
| 640 |
+
],
|
| 641 |
+
"page_idx": 5
|
| 642 |
+
},
|
| 643 |
+
{
|
| 644 |
+
"type": "list",
|
| 645 |
+
"sub_type": "ref_text",
|
| 646 |
+
"list_items": [
|
| 647 |
+
"2023. Grounding large language models in interactive environments with online reinforcement learning. arXiv preprint arXiv:2302.02662.",
|
| 648 |
+
"Kai-Wei Chang, Vinodkumar Prabhakaran, and Vicente Ordonez. 2019. Bias and fairness in natural language processing. 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): Tutorial Abstracts, Hong Kong, China. Association for Computational Linguistics.",
|
| 649 |
+
"Roi Cohen, Eden Biran, Ori Yoran, Amir Globerson, and Mor Geva. 2023. Evaluating the ripple effects of knowledge editing in language models. arXiv preprint arXiv:2307.12976.",
|
| 650 |
+
"Nicola De Cao, Wilker Aziz, and Ivan Titov. 2021. Editing factual knowledge in language models. In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing, pages 6491-6506, Online and Punta Cana, Dominican Republic. Association for Computational Linguistics.",
|
| 651 |
+
"Yanai Elazar and Yoav Goldberg. 2018. Adversarial removal of demographic attributes from text data. In Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing, pages 11-21, Brussels, Belgium. Association for Computational Linguistics.",
|
| 652 |
+
"Shangbin Feng, Weijia Shi, Yuyang Bai, Vidhisha Balachandran, Tianxing He, and Yulia Tsvetkov. 2023. Cook: Empowering general-purpose language models with modular and collaborative knowledge. ArXiv, abs/2305.09955.",
|
| 653 |
+
"Birte Glimm, Ian Horrocks, Boris Motik, Giorgos Stoilos, and Zhe Wang. 2014. Hermit: An owl 2 reasoner. Journal of Automated Reasoning, 53:245-269.",
|
| 654 |
+
"Peter Hase, Mohit Bansal, Been Kim, and Asma Ghandeharioun. 2023a. Does localization inform editing? surprising differences in causality-based localization vs. knowledge editing in language models.",
|
| 655 |
+
"Peter Hase, Mona Diab, Asli Celikyilmaz, Xian Li, Zornitsa Kozareva, Veselin Stoyanov, Mohit Bansal, and Srinivasan Iyer. 2023b. Methods for measuring, updating, and visualizing factual beliefs in language models. In Proceedings of the 17th Conference of the European Chapter of the Association for Computational Linguistics, pages 2714-2731, Dubrovnik, Croatia. Association for Computational Linguistics.",
|
| 656 |
+
"Yuan He, Jiaoyan Chen, Ernesto Jimenez-Ruiz, Hang Dong, and Ian Horrocks. 2023. Language model analysis for ontology subsumption inference. In *Findings of the Association for Computational Linguistics: ACL* 2023, pages 3439-3453, Toronto, Canada. Association for Computational Linguistics.",
|
| 657 |
+
"Jason Hoelscher-Obermaier, Julia Persson, Esben Kran, Ioannis Konstas, and Fazl Berez. 2023. Detecting edit failures in large language models: An improved specificity benchmark."
|
| 658 |
+
],
|
| 659 |
+
"bbox": [
|
| 660 |
+
115,
|
| 661 |
+
85,
|
| 662 |
+
487,
|
| 663 |
+
917
|
| 664 |
+
],
|
| 665 |
+
"page_idx": 6
|
| 666 |
+
},
|
| 667 |
+
{
|
| 668 |
+
"type": "list",
|
| 669 |
+
"sub_type": "ref_text",
|
| 670 |
+
"list_items": [
|
| 671 |
+
"Gautier Izacard, Patrick Lewis, Maria Lomeli, Lucas Hosseini, Fabio Petroni, Timo Schick, Jane A. Yu, Armand Joulin, Sebastian Riedel, and Edouard Grave. 2022. Few-shot learning with retrieval augmented language models. *ArXiv*, abs/2208.03299.",
|
| 672 |
+
"Joel Jang, Seonghyeon Ye, Sohee Yang, Joongbo Shin, Janghoon Han, Gyeonghun Kim, Stanley Jungkyu Choi, and Minjoon Seo. 2021. Towards continual knowledge learning of language models. International Conference on Learning Representations, abs/2110.03215.",
|
| 673 |
+
"Zhengbao Jiang, Frank F. Xu, Jun Araki, and Graham Neubig. 2020. How can we know what language models know? Transactions of the Association for Computational Linguistics, 8:423-438.",
|
| 674 |
+
"Jan-Christoph Kalo and Leandra Fichtel. 2022. Kamel: Knowledge analysis with multitoken entities in language models. In 4th Conference on Automated Knowledge Base Construction.",
|
| 675 |
+
"Nikhil Kandpal, Haikang Deng, Adam Roberts, Eric Wallace, and Colin Raffel. 2023. Large language models struggle to learn long-tail knowledge. In Proceedings of the 40th International Conference on Machine Learning, volume 202 of Proceedings of Machine Learning Research, pages 15696-15707. PMLR.",
|
| 676 |
+
"Jungo Kasai, Keisuke Sakaguchi, Yoichi Takahashi, Ronan Le Bras, Akari Asai, Xinyan Yu, Dragomir Radev, Noah A. Smith, Yejin Choi, and Kentaro Inui. 2022. Realtime qa: What's the answer right now?",
|
| 677 |
+
"Nora Kassner and Hinrich Schütze. 2020. Negated and misprimed probes for pretrained language models: Birds can talk, but cannot fly. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pages 7811-7818, Online. Association for Computational Linguistics.",
|
| 678 |
+
"Urvashi Khandelwal, Omer Levy, Dan Jurafsky, Luke Zettlemoyer, and Mike Lewis. 2020. Generalization through memorization: Nearest neighbor language models.",
|
| 679 |
+
"Jeremias Knoblauch, Hisham Husain, and Tom Diethe. 2020. Optimal continual learning has perfect memory and is np-hard. In International Conference on Machine Learning, pages 5327-5337. PMLR.",
|
| 680 |
+
"Nayeon Lee, Wei Ping, Peng Xu, Mostofa Patwary, Mohammad Shoeybi, and Bryan Catanzaro. 2022. Factuality enhanced language models for open-ended text generation. ArXiv, abs/2206.04624.",
|
| 681 |
+
"Hongyin Luo, Yung-Sung Chuang, Yuan Gong, Tianhua Zhang, Yoon Kim, Xixin Wu, Danny Fox, Helen Meng, and James Glass. 2023. Sail: Search-augmented instruction learning. arXiv preprint arXiv:2305.15225."
|
| 682 |
+
],
|
| 683 |
+
"bbox": [
|
| 684 |
+
510,
|
| 685 |
+
85,
|
| 686 |
+
880,
|
| 687 |
+
917
|
| 688 |
+
],
|
| 689 |
+
"page_idx": 6
|
| 690 |
+
},
|
| 691 |
+
{
|
| 692 |
+
"type": "list",
|
| 693 |
+
"sub_type": "ref_text",
|
| 694 |
+
"list_items": [
|
| 695 |
+
"Alex Mallen, Akari Asai, Victor Zhong, Rajarshi Das, Daniel Khashabi, and Hannaneh Hajishirzi. 2023. When not to trust language models: Investigating effectiveness of parametric and non-parametric memories.",
|
| 696 |
+
"Kevin Meng, David Bau, Alex Andonian, and Yonatan Belinkov. 2022. Locating and editing factual associations in gpt. Advances in Neural Information Processing Systems, 35:17359-17372.",
|
| 697 |
+
"Eric Mitchell, Charles Lin, Antoine Bosselut, Chelsea Finn, and Christopher D. Manning. 2022. Fast model editing at scale. In ICLR.",
|
| 698 |
+
"Ella Neeman, Roee Aharoni, Or Honovich, Leshem Choshen, Idan Szpektor, and Omri Abend. 2022. Disentqa: Disentangling parametric and contextual knowledge with counterfactual question answering. ArXiv, abs/2211.05655.",
|
| 699 |
+
"Yasumasa Onoe, Michael J. Q. Zhang, Shankar Padmanabhan, Greg Durrett, and Eunsol Choi. 2023. Can lms learn new entities from descriptions? challenges in propagating injected knowledge.",
|
| 700 |
+
"Long Ouyang, Jeffrey Wu, Xu Jiang, Diogo Almeida, Carroll Wainwright, Pamela Mishkin, Chong Zhang, Sandhini Agarwal, Katarina Slama, Alex Ray, et al. 2022. Training language models to follow instructions with human feedback. Advances in Neural Information Processing Systems, 35:27730-27744.",
|
| 701 |
+
"Baolin Peng, Michel Galley, Pengcheng He, Hao Cheng, Yujia Xie, Yu Hu, Qiuyuan Huang, Lars Liden, Zhou Yu, Weizhu Chen, et al. 2023. Check your facts and try again: Improving large language models with external knowledge and automated feedback. arXiv preprint arXiv:2302.12813.",
|
| 702 |
+
"Fabio Petroni, Tim Rocttäschel, Sebastian Riedel, Patrick Lewis, Anton Bakhtin, Yuxiang Wu, and Alexander 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), pages 2463-2473, Hong Kong, China. Association for Computational Linguistics.",
|
| 703 |
+
"Rafael Rafailov, Archit Sharma, Eric Mitchell, Stefano Ermon, Christopher D. Manning, and Chelsea Finn. 2023. Direct preference optimization: Your language model is secretly a reward model.",
|
| 704 |
+
"Pranav Rajpurkar, Robin Jia, and Percy Liang. 2018. Know what you don't know: Unanswerable questions for squad. In Annual Meeting of the Association for Computational Linguistics.",
|
| 705 |
+
"Rajkumar Ramamurthy, Prithviraj Ammanabrolu, Kianté Brantley, Jack Hessel, Rafet Sifa, Christian Bauckhage, Hannaneh Hajishirzi, and Yejin Choi. 2023. Is reinforcement learning (not) for natural language processing: Benchmarks, baselines, and"
|
| 706 |
+
],
|
| 707 |
+
"bbox": [
|
| 708 |
+
115,
|
| 709 |
+
85,
|
| 710 |
+
489,
|
| 711 |
+
917
|
| 712 |
+
],
|
| 713 |
+
"page_idx": 7
|
| 714 |
+
},
|
| 715 |
+
{
|
| 716 |
+
"type": "list",
|
| 717 |
+
"sub_type": "ref_text",
|
| 718 |
+
"list_items": [
|
| 719 |
+
"building blocks for natural language policy optimization. In The Eleventh International Conference on Learning Representations.",
|
| 720 |
+
"Hannah Rashkin, Vitaly Nikolaev, Matthew Lamm, Lora Aroyo, Michael Collins, Dipanjan Das, Slav Petrov, Gaurav Singh Tomar, Iulia Turc, and David Reitter. 2022. Measuring attribution in natural language generation models.",
|
| 721 |
+
"Roger Ratcliff. 1990. Connectionist models of recognition memory: constraints imposed by learning and forgetting functions. *Psychological review*, 97(2):285.",
|
| 722 |
+
"Shauli Ravfogel, Yanai Elazar, Hila Gonen, Michael Twiton, and Yoav Goldberg. 2020. Null it out: Guarding protected attributes by iterative nullspace projection. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pages 7237-7256, Online. Association for Computational Linguistics.",
|
| 723 |
+
"Anastasia Razdaibiedina, Yuning Mao, Rui Hou, Madian Khabsa, Mike Lewis, and Amjad Almahairi. 2023. Progressive prompts: Continual learning for language models. ArXiv, abs/2301.12314.",
|
| 724 |
+
"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), pages 5418-5426, Online. Association for Computational Linguistics.",
|
| 725 |
+
"Vladislav Rutenberg. 1991. Complexity classification of truth maintenance systems. In STACS 91: 8th Annual Symposium on Theoretical Aspects of Computer Science Hamburg, Germany, February 14-16, 1991 Proceedings 8, pages 372-383. Springer.",
|
| 726 |
+
"Anton Sinitsin, Vsevolod Plokhotnyuk, Dmitry Pyrkin, Sergei Popov, and Artem Babenko. 2020. Editable neural networks. In International Conference on Learning Representations.",
|
| 727 |
+
"Elior Sulem, Jamaal Hay, and Dan Roth. 2021. Do we know what we don't know? studying unanswerable questions beyond squad 2.0. In Conference on Empirical Methods in Natural Language Processing.",
|
| 728 |
+
"Elior Sulem, Jamaal Hay, and Dan Roth. 2022. Yes, no or idk: The challenge of unanswerable yes/no questions. In *North American Chapter of the Association for Computational Linguistics*.",
|
| 729 |
+
"Kai Sun, Y. Xu, Hanwen Zha, Yue Liu, and Xinhsuai Dong. 2023. Head-to-tail: How knowledgeable are large language models (llm)? a.k.a. will llms replace knowledge graphs? ArXiv, abs/2308.10168.",
|
| 730 |
+
"Pat Verga, Haitian Sun, Livio Baldini Soares, and William W. Cohen. 2020. Facts as experts: Adaptable and interpretable neural memory over symbolic knowledge."
|
| 731 |
+
],
|
| 732 |
+
"bbox": [
|
| 733 |
+
510,
|
| 734 |
+
85,
|
| 735 |
+
882,
|
| 736 |
+
917
|
| 737 |
+
],
|
| 738 |
+
"page_idx": 7
|
| 739 |
+
},
|
| 740 |
+
{
|
| 741 |
+
"type": "list",
|
| 742 |
+
"sub_type": "ref_text",
|
| 743 |
+
"list_items": [
|
| 744 |
+
"Shicheng Xu, Liang Pang, Huawei Shen, Xueqi Cheng, and Tat-seng Chua. 2023. Search-in-the-chain: Towards the accurate, credible and traceable content generation for complex knowledge-intensive tasks. arXiv preprint arXiv:2304.14732.",
|
| 745 |
+
"Zexuan Zhong, Tao Lei, and Danqi Chen. 2022. Training language models with memory augmentation. In Conference on Empirical Methods in Natural Language Processing.",
|
| 746 |
+
"Chen Zhu, Ankit Singh Rawat, Manzil Zaheer, Srinadh Bhojanapalli, Daliang Li, Felix Yu, and Sanjiv Kumar. 2020. Modifying memories in transformer models. arXiv preprint arXiv:2012.00363."
|
| 747 |
+
],
|
| 748 |
+
"bbox": [
|
| 749 |
+
115,
|
| 750 |
+
85,
|
| 751 |
+
489,
|
| 752 |
+
277
|
| 753 |
+
],
|
| 754 |
+
"page_idx": 8
|
| 755 |
+
}
|
| 756 |
+
]
|
2023/Emptying the Ocean with a Spoon_ Should We Edit Models_/04529405-4e73-4a21-827a-c746e1975cce_model.json
ADDED
|
@@ -0,0 +1,1340 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
[
|
| 3 |
+
{
|
| 4 |
+
"type": "title",
|
| 5 |
+
"bbox": [
|
| 6 |
+
0.189,
|
| 7 |
+
0.09,
|
| 8 |
+
0.812,
|
| 9 |
+
0.111
|
| 10 |
+
],
|
| 11 |
+
"angle": 0,
|
| 12 |
+
"content": "Emptying the Ocean with a Spoon: Should We Edit Models?"
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"bbox": [
|
| 17 |
+
0.348,
|
| 18 |
+
0.131,
|
| 19 |
+
0.656,
|
| 20 |
+
0.216
|
| 21 |
+
],
|
| 22 |
+
"angle": 0,
|
| 23 |
+
"content": "Yuval Pinter and Michael Elhadad \nDepartment of Computer Science \nBen-Gurion University of the Negev \nBe'er Sheva, Israel \n{uvp, elhadad}@cs.bgu.ac.il"
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "title",
|
| 27 |
+
"bbox": [
|
| 28 |
+
0.264,
|
| 29 |
+
0.253,
|
| 30 |
+
0.341,
|
| 31 |
+
0.269
|
| 32 |
+
],
|
| 33 |
+
"angle": 0,
|
| 34 |
+
"content": "Abstract"
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"type": "text",
|
| 38 |
+
"bbox": [
|
| 39 |
+
0.145,
|
| 40 |
+
0.278,
|
| 41 |
+
0.46,
|
| 42 |
+
0.448
|
| 43 |
+
],
|
| 44 |
+
"angle": 0,
|
| 45 |
+
"content": "We call into question the recently popularized method of direct model editing as a means of correcting factual errors in LLM generations. We contrast model editing with three similar but distinct approaches that pursue better defined objectives: (1) retrieval-based architectures, which decouple factual memory from inference and linguistic capabilities embodied in LLMs; (2) concept erasure methods, which aim at preventing systemic bias in generated text; and (3) attribution methods, which aim at grounding generations into identified textual sources."
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"type": "text",
|
| 49 |
+
"bbox": [
|
| 50 |
+
0.145,
|
| 51 |
+
0.454,
|
| 52 |
+
0.46,
|
| 53 |
+
0.61
|
| 54 |
+
],
|
| 55 |
+
"angle": 0,
|
| 56 |
+
"content": "We argue that direct model editing cannot be trusted as a systematic remedy for the disadvantages inherent to LLMs, and while it has proven potential in improving model explainability, it opens risks by reinforcing the notion that models can be trusted for factuality. We call for cautious promotion and application of model editing as part of the LLM deployment process, and for responsibly limiting the use cases of LLMs to those not relying on editing as a critical component."
|
| 57 |
+
},
|
| 58 |
+
{
|
| 59 |
+
"type": "title",
|
| 60 |
+
"bbox": [
|
| 61 |
+
0.117,
|
| 62 |
+
0.621,
|
| 63 |
+
0.259,
|
| 64 |
+
0.636
|
| 65 |
+
],
|
| 66 |
+
"angle": 0,
|
| 67 |
+
"content": "1 Introduction"
|
| 68 |
+
},
|
| 69 |
+
{
|
| 70 |
+
"type": "text",
|
| 71 |
+
"bbox": [
|
| 72 |
+
0.117,
|
| 73 |
+
0.646,
|
| 74 |
+
0.488,
|
| 75 |
+
0.886
|
| 76 |
+
],
|
| 77 |
+
"angle": 0,
|
| 78 |
+
"content": "Large language models, or LLMs, have taken the NLP world by storm. After originally focusing on training them as a vehicle for transfer learning, recent advancements have cast LLMs in the role of one-stop shop, all-knowing oracles. One particular finding that has contributed to this reframed usage is the apparent factuality properties of pre-trained LLMs: somehow, mere next-word prediction training has produced models that can complete certain correct facts about the world when asked to do so. LLMs have been perceived by the public at large as a replacement for search engines, and the scant disclaimers appearing in commercial services offering LLM querying do not appear to have made a dent in this perception."
|
| 79 |
+
},
|
| 80 |
+
{
|
| 81 |
+
"type": "text",
|
| 82 |
+
"bbox": [
|
| 83 |
+
0.117,
|
| 84 |
+
0.888,
|
| 85 |
+
0.488,
|
| 86 |
+
0.918
|
| 87 |
+
],
|
| 88 |
+
"angle": 0,
|
| 89 |
+
"content": "Despite these developments, LLMs of course keep making mistakes. There is, after all, an inher"
|
| 90 |
+
},
|
| 91 |
+
{
|
| 92 |
+
"type": "text",
|
| 93 |
+
"bbox": [
|
| 94 |
+
0.513,
|
| 95 |
+
0.254,
|
| 96 |
+
0.884,
|
| 97 |
+
0.59
|
| 98 |
+
],
|
| 99 |
+
"angle": 0,
|
| 100 |
+
"content": "ent mismatch between their pre-training objective and the desire for factuality. In recent years, researchers have come up with several remedies to the problem of nonfactual LLM outputs, one of which being model editing, where parameters inside an LLM are tweaked based on individual facts marked for correction. These works focus on solving problems such as ensuring stability of other factual outputs following the editing, or batch editing, or computationally efficient editing. In this opinion paper, we call into question the entire idea of model editing, citing concerns about intended use cases, conceptual scalability, potential for bias, safety, and overall accountability. We advocate using models that have explicit knowledge modules for tasks requiring factual knowledge, and other existing techniques to mitigate the need for model editing in the first place. Having said that, we acknowledge the usefulness of direct editing for certain use cases such as interpretability probes, and recommend limiting editing to such scenarios."
|
| 101 |
+
},
|
| 102 |
+
{
|
| 103 |
+
"type": "title",
|
| 104 |
+
"bbox": [
|
| 105 |
+
0.513,
|
| 106 |
+
0.604,
|
| 107 |
+
0.668,
|
| 108 |
+
0.62
|
| 109 |
+
],
|
| 110 |
+
"angle": 0,
|
| 111 |
+
"content": "2 Model Editing"
|
| 112 |
+
},
|
| 113 |
+
{
|
| 114 |
+
"type": "text",
|
| 115 |
+
"bbox": [
|
| 116 |
+
0.512,
|
| 117 |
+
0.63,
|
| 118 |
+
0.884,
|
| 119 |
+
0.918
|
| 120 |
+
],
|
| 121 |
+
"angle": 0,
|
| 122 |
+
"content": "Sinitsin et al. (2020) first introduce the notion of updating large ML models to account for local performance expectations motivated externally. They cite cases where mistakes are critical, like object detection in self-driving cars. Later work suggests model editing can aid in protecting privacy and eliminating bias (Zhu et al., 2020), and as a measure of \"catching up\" with time-sensitive facts such as \"PM of the UK\" changing over time (Bommasani et al., 2021; Mitchell et al., 2022), or as a means of understanding the mechanics of black box models (Meng et al., 2022). Sinitsin et al. (2020) specify several desired properties of editing methods: reliability (the target facts are updated as intended), locality (other changes don't happen; a measure for this property is termed drawdown), and efficiency (successful edits are computationally light); later work (De Cao et al., 2021) added generality (the"
|
| 123 |
+
}
|
| 124 |
+
],
|
| 125 |
+
[
|
| 126 |
+
{
|
| 127 |
+
"type": "text",
|
| 128 |
+
"bbox": [
|
| 129 |
+
0.117,
|
| 130 |
+
0.085,
|
| 131 |
+
0.486,
|
| 132 |
+
0.261
|
| 133 |
+
],
|
| 134 |
+
"angle": 0,
|
| 135 |
+
"content": "ability to modify models not originally trained for knowledge retention), consistency (robustness to paraphrasing, in the specific use case of text models), and an unspecified property we'll call frugality (only minimal components of the model are changed during editing). A well-studied limitation, which most of these works focus on mitigating, and related to locality, is catastrophic forgetting (Ratcliff, 1990), i.e., ensuring that an edited model does not lose performance on tasks for which it was explicitly trained and performs well on."
|
| 136 |
+
},
|
| 137 |
+
{
|
| 138 |
+
"type": "text",
|
| 139 |
+
"bbox": [
|
| 140 |
+
0.117,
|
| 141 |
+
0.263,
|
| 142 |
+
0.486,
|
| 143 |
+
0.502
|
| 144 |
+
],
|
| 145 |
+
"angle": 0,
|
| 146 |
+
"content": "Methods for model editing have evolved from editable training (Sinitsin et al., 2020), a procedure requiring an a-priori decision that a model would later be edited, to the locality-motivated changing of specific parameters within models (Zhu et al., 2020; Meng et al., 2022). Recent work (Mitchell et al., 2022) draws attention to the danger of model performance degradation accumulating over the course of many successive edits, and seeks mitigation through improved methods. Hase et al. (2023b) extend the consistency requirement to hold over entailed and equivalent facts as well as paraphrases, suggesting model editing as a way of reconciling cases where certain facts are produced correctly but those entailed from them are not."
|
| 147 |
+
},
|
| 148 |
+
{
|
| 149 |
+
"type": "title",
|
| 150 |
+
"bbox": [
|
| 151 |
+
0.117,
|
| 152 |
+
0.518,
|
| 153 |
+
0.221,
|
| 154 |
+
0.535
|
| 155 |
+
],
|
| 156 |
+
"angle": 0,
|
| 157 |
+
"content": "3 Critique"
|
| 158 |
+
},
|
| 159 |
+
{
|
| 160 |
+
"type": "text",
|
| 161 |
+
"bbox": [
|
| 162 |
+
0.117,
|
| 163 |
+
0.546,
|
| 164 |
+
0.486,
|
| 165 |
+
0.722
|
| 166 |
+
],
|
| 167 |
+
"angle": 0,
|
| 168 |
+
"content": "In this section, we present the case against model editing as a practice, regardless of the performance obtained by any single method. We begin with an analysis of the premise underlying the model editing research objective: the hypothesis that LLMs can be used as fact repositories. We then focus on reasons for which editing facts cannot be designed a-priori as a means to maintaining fact-providing LLMs, and continue with practical considerations for why even this ill-posed goal is probably unattainable."
|
| 169 |
+
},
|
| 170 |
+
{
|
| 171 |
+
"type": "title",
|
| 172 |
+
"bbox": [
|
| 173 |
+
0.117,
|
| 174 |
+
0.736,
|
| 175 |
+
0.431,
|
| 176 |
+
0.752
|
| 177 |
+
],
|
| 178 |
+
"angle": 0,
|
| 179 |
+
"content": "3.1 LLMs as Knowledge Repositories?"
|
| 180 |
+
},
|
| 181 |
+
{
|
| 182 |
+
"type": "text",
|
| 183 |
+
"bbox": [
|
| 184 |
+
0.117,
|
| 185 |
+
0.758,
|
| 186 |
+
0.486,
|
| 187 |
+
0.918
|
| 188 |
+
],
|
| 189 |
+
"angle": 0,
|
| 190 |
+
"content": "The perception that LLMs can behave as knowledge repositories was first formulated and experimentally supported with the introduction of the LAMA benchmark (Petroni et al., 2019), where pretrained language models were queried in a zero-shot setting against 51K knowledge triplets extracted from knowledge banks and reformulated as fill-in-the-blank statements. 2019-level models (BERT-XL) got the top answer correctly about \\(26.5\\%\\) of the time. The limitations of the LAMA"
|
| 191 |
+
},
|
| 192 |
+
{
|
| 193 |
+
"type": "text",
|
| 194 |
+
"bbox": [
|
| 195 |
+
0.513,
|
| 196 |
+
0.085,
|
| 197 |
+
0.882,
|
| 198 |
+
0.438
|
| 199 |
+
],
|
| 200 |
+
"angle": 0,
|
| 201 |
+
"content": "study were later studied and this result was shown to not be robust against multi-token spans (as opposed to a single token answer; Kalo and Fichtel, 2022), in an open vocabulary setting (as opposed to a closed vocabulary of 21K tokens; Roberts et al., 2020), and when queries vary (Kassner and Schütze, 2020); indicating that the LAMA experiment relied on heuristics to predict answers. Since then, more realistic benchmarks have been introduced, as well as more robust querying techniques (Jiang et al., 2020), to address some of these limitations. As the scale of LLMs increased, recent work has also scaled up the size of benchmarks, shifting the focus to facts concerning rare entities, where even recent LLMs struggle (Kandpal et al., 2023; Sun et al., 2023). These experiments indicate that an LM's ability to answer a question depends on the number of times information relevant to that question appears in the pretraining data. As a result, LLMs cannot be safely used to answer queries about the long-tail of facts that have been rarely mentioned in pretraining (Mallen et al., 2023)."
|
| 202 |
+
},
|
| 203 |
+
{
|
| 204 |
+
"type": "text",
|
| 205 |
+
"bbox": [
|
| 206 |
+
0.513,
|
| 207 |
+
0.441,
|
| 208 |
+
0.882,
|
| 209 |
+
0.713
|
| 210 |
+
],
|
| 211 |
+
"angle": 0,
|
| 212 |
+
"content": "Beyond the capability to reliably answer queries, LLMs should also fulfill other requirements in order to be considered as fact repositories (AlKhamissi et al., 2022): the ability to edit knowledge (add, delete, update facts), logical consistency (answers to different but related facts must agree), reasoning (the ability to infer additional answers on the basis of logical rules), and explainability and interpretability (supporting an answer through a convincing chain of arguments). Experimental results assessing these dimensions indicate that current LLMs fail on all of them. He et al. (2023) demonstrate that LLMs underperform on computing ontology subsumption inference when compared with other trained approaches such as NLI models and symbolic systems such as OWL Reasoners (Glimm et al., 2014)."
|
| 213 |
+
},
|
| 214 |
+
{
|
| 215 |
+
"type": "text",
|
| 216 |
+
"bbox": [
|
| 217 |
+
0.513,
|
| 218 |
+
0.717,
|
| 219 |
+
0.882,
|
| 220 |
+
0.796
|
| 221 |
+
],
|
| 222 |
+
"angle": 0,
|
| 223 |
+
"content": "The evidence supporting the premise that LLMs can be used as fact repositories is, thus, currently weak. Beyond this fragile foundation, we focus below on specific arguments regarding the capability to edit models as if they were fact repositories."
|
| 224 |
+
},
|
| 225 |
+
{
|
| 226 |
+
"type": "title",
|
| 227 |
+
"bbox": [
|
| 228 |
+
0.513,
|
| 229 |
+
0.814,
|
| 230 |
+
0.708,
|
| 231 |
+
0.83
|
| 232 |
+
],
|
| 233 |
+
"angle": 0,
|
| 234 |
+
"content": "3.2 Systemic Mismatch"
|
| 235 |
+
},
|
| 236 |
+
{
|
| 237 |
+
"type": "text",
|
| 238 |
+
"bbox": [
|
| 239 |
+
0.513,
|
| 240 |
+
0.84,
|
| 241 |
+
0.882,
|
| 242 |
+
0.918
|
| 243 |
+
],
|
| 244 |
+
"angle": 0,
|
| 245 |
+
"content": "A very basic property of LLMs which contrasts with their usage as knowledge repositories is their stochastic nature. When used for augmenting creative endeavours, for data exploration, or for freeform tasks such as summarization, this property"
|
| 246 |
+
}
|
| 247 |
+
],
|
| 248 |
+
[
|
| 249 |
+
{
|
| 250 |
+
"type": "text",
|
| 251 |
+
"bbox": [
|
| 252 |
+
0.111,
|
| 253 |
+
0.085,
|
| 254 |
+
0.493,
|
| 255 |
+
0.472
|
| 256 |
+
],
|
| 257 |
+
"angle": 0,
|
| 258 |
+
"content": "is desirable: the use case calls for variation or unexpectedness. In other cases, we may be content with models that supply us with a distribution of outputs, from which we can estimate the probability of individual responses and adjust our expectation for a reliable output. Since the latter is absent from many models available only through 3rd-party APIs, we are left with obtaining text generated from an unknown distribution, which we argue is insufficient for factuality-dependent applications.<sup>1</sup> It can even be argued that getting facts wrong is a feature of vanilla LLMs rather than a bug: as their core training procedure aims to simulate plausible continuation of text, it should not surprise us that models would repeat widely-assumed falsehoods in a way that negates the idea of using them for factual purposes. If most people think, and write, that Los Angeles is the capital of California,<sup>2</sup> an LLM is supposed to complete a relevant prompt accordingly. There is also no built-in reliability or robustness in LLMs that sample outputs from a distribution: two instances of the same prompt can easily produce contradicting facts, and indeed often do."
|
| 259 |
+
},
|
| 260 |
+
{
|
| 261 |
+
"type": "text",
|
| 262 |
+
"bbox": [
|
| 263 |
+
0.111,
|
| 264 |
+
0.474,
|
| 265 |
+
0.492,
|
| 266 |
+
0.862
|
| 267 |
+
],
|
| 268 |
+
"angle": 0,
|
| 269 |
+
"content": "Additionally, the idea of editing facts in a model suggests that we always want a model to supply us with a fact as an answer to a question. However, at times, questions may be posed while pre-supposing or otherwise assuming harmful propositions such as stereotypes or conspiracy theories. Editing the \"fact\" associated with the question \"which government agency faked the moon landing?\" would not provide us with an improved model; what we may want is to remove such facts altogether, or provide the model with a means of challenging the presupposition, or avoiding giving any answer at all. At the same time, many relations that we would term \"facts\" can be argued to be vital notions without which certain kinds of basic communication is impossible.<sup>3</sup> An LLM that cannot assert whether trees have leaves, or asserts that they never do, is in danger of becoming irrelevant for most tasks requiring any kind of interaction with the world. As philosophy and practice surrounding these questions progresses, we can hope this gap between 'must-know' and 'must-not-know' will eventually tighten to form workable bounds on LLM knowledge capacity."
|
| 270 |
+
},
|
| 271 |
+
{
|
| 272 |
+
"type": "title",
|
| 273 |
+
"bbox": [
|
| 274 |
+
0.509,
|
| 275 |
+
0.085,
|
| 276 |
+
0.779,
|
| 277 |
+
0.102
|
| 278 |
+
],
|
| 279 |
+
"angle": 0,
|
| 280 |
+
"content": "3.3 Architectural Implausibility"
|
| 281 |
+
},
|
| 282 |
+
{
|
| 283 |
+
"type": "text",
|
| 284 |
+
"bbox": [
|
| 285 |
+
0.508,
|
| 286 |
+
0.106,
|
| 287 |
+
0.885,
|
| 288 |
+
0.412
|
| 289 |
+
],
|
| 290 |
+
"angle": 0,
|
| 291 |
+
"content": "Estimates vary wildly, but there are over 100 million notable facts in the world. Even the cutoff for what constitutes a fact is unclear. Does a \\(3\\%\\) change in a demographics statistic, or a new esoteric sports record, call for an edit? Do the daily whereabouts of world leaders constitute facts? What about those of celebrities or journalists? As events unfold daily in world politics, economics, sports, and many other walks of life, facts are added and changed in larger quantities and rates than can be plausibly \"caught up with\" through surgical model editing, akin to emptying the ocean with a spoon. If we choose to limit ourselves in which facts we find important enough to edit, we introduce bias into the system, opening the door to a host of documented harms which permeate many language technologies (Chang et al., 2019; Blodgett et al., 2020). This choice can be implicit as well as explicit, and is incredibly hard to avoid."
|
| 292 |
+
},
|
| 293 |
+
{
|
| 294 |
+
"type": "text",
|
| 295 |
+
"bbox": [
|
| 296 |
+
0.508,
|
| 297 |
+
0.412,
|
| 298 |
+
0.887,
|
| 299 |
+
0.605
|
| 300 |
+
],
|
| 301 |
+
"angle": 0,
|
| 302 |
+
"content": "In a similar vein, the vastness and variability of facts is likely to lead to bias in evaluating the complement set of edits, those facts controlled for as not changing following an edit (drawdown). Even paraphrases of edited facts are not guaranteed to change alongside the selected phrasing (De Cao et al., 2021), nor are entailed facts (Hase et al., 2023b). This problem also manifests as a safety issue, since unchecked facts can turn out to be quite important for model usage, but perhaps taken for granted (or simply not explicitly covered) when designing a drawdown benchmark."
|
| 303 |
+
},
|
| 304 |
+
{
|
| 305 |
+
"type": "text",
|
| 306 |
+
"bbox": [
|
| 307 |
+
0.508,
|
| 308 |
+
0.606,
|
| 309 |
+
0.887,
|
| 310 |
+
0.849
|
| 311 |
+
],
|
| 312 |
+
"angle": 0,
|
| 313 |
+
"content": "There is evidence (Mallen et al., 2023; Jang et al., 2021) that facts above a certain \"popularity threshold\", measured in terms of views on Wikipedia articles, are harder to edit out of models compared to facts lying on the long tail of view distributions. Inherently being out of sight, the unpopular facts thus become susceptible to the double risk of being edited alongside target facts while not being deemed important enough to be checked during drawdown testing. The ultimate outcome of such procedures can be a monolithization of LLM-supplied \"knowledge\" that focuses on certain popular domains and interests while losing all usefulness in many topics contributing to the extensive diversity of the human and natural experience."
|
| 314 |
+
},
|
| 315 |
+
{
|
| 316 |
+
"type": "page_footnote",
|
| 317 |
+
"bbox": [
|
| 318 |
+
0.136,
|
| 319 |
+
0.879,
|
| 320 |
+
0.472,
|
| 321 |
+
0.892
|
| 322 |
+
],
|
| 323 |
+
"angle": 0,
|
| 324 |
+
"content": "<sup>1</sup>Called \"transparent-sensitive tasks\" (Luo et al., 2023)."
|
| 325 |
+
},
|
| 326 |
+
{
|
| 327 |
+
"type": "page_footnote",
|
| 328 |
+
"bbox": [
|
| 329 |
+
0.137,
|
| 330 |
+
0.892,
|
| 331 |
+
0.388,
|
| 332 |
+
0.905
|
| 333 |
+
],
|
| 334 |
+
"angle": 0,
|
| 335 |
+
"content": "2The capital of California is Sacramento."
|
| 336 |
+
},
|
| 337 |
+
{
|
| 338 |
+
"type": "page_footnote",
|
| 339 |
+
"bbox": [
|
| 340 |
+
0.137,
|
| 341 |
+
0.905,
|
| 342 |
+
0.404,
|
| 343 |
+
0.919
|
| 344 |
+
],
|
| 345 |
+
"angle": 0,
|
| 346 |
+
"content": "3We thank a reviewer for making this point."
|
| 347 |
+
},
|
| 348 |
+
{
|
| 349 |
+
"type": "list",
|
| 350 |
+
"bbox": [
|
| 351 |
+
0.136,
|
| 352 |
+
0.879,
|
| 353 |
+
0.472,
|
| 354 |
+
0.919
|
| 355 |
+
],
|
| 356 |
+
"angle": 0,
|
| 357 |
+
"content": null
|
| 358 |
+
},
|
| 359 |
+
{
|
| 360 |
+
"type": "page_footnote",
|
| 361 |
+
"bbox": [
|
| 362 |
+
0.509,
|
| 363 |
+
0.856,
|
| 364 |
+
0.885,
|
| 365 |
+
0.893
|
| 366 |
+
],
|
| 367 |
+
"angle": 0,
|
| 368 |
+
"content": "4107,323,022 appear in Wikidata as of October 17, 2023, conforming to the definition of notable items used in https: //www.wikidata.org/wiki/Help:Items."
|
| 369 |
+
},
|
| 370 |
+
{
|
| 371 |
+
"type": "page_footnote",
|
| 372 |
+
"bbox": [
|
| 373 |
+
0.509,
|
| 374 |
+
0.893,
|
| 375 |
+
0.884,
|
| 376 |
+
0.919
|
| 377 |
+
],
|
| 378 |
+
"angle": 0,
|
| 379 |
+
"content": "Attributed, according to the Internet, as a \"Yiddish proverb\", but, hey, who knows?"
|
| 380 |
+
},
|
| 381 |
+
{
|
| 382 |
+
"type": "list",
|
| 383 |
+
"bbox": [
|
| 384 |
+
0.509,
|
| 385 |
+
0.856,
|
| 386 |
+
0.885,
|
| 387 |
+
0.919
|
| 388 |
+
],
|
| 389 |
+
"angle": 0,
|
| 390 |
+
"content": null
|
| 391 |
+
}
|
| 392 |
+
],
|
| 393 |
+
[
|
| 394 |
+
{
|
| 395 |
+
"type": "text",
|
| 396 |
+
"bbox": [
|
| 397 |
+
0.117,
|
| 398 |
+
0.083,
|
| 399 |
+
0.492,
|
| 400 |
+
0.388
|
| 401 |
+
],
|
| 402 |
+
"angle": 0,
|
| 403 |
+
"content": "Empirical evidence indicates existing editing models fail to properly account for the ripple effect of a fact editing operation (Cohen et al., 2023). For example, the insertion of the fact \"Jack Depp is the son of Johnny Depp\" introduces a \"ripple effect\" in the form of additional facts that the model needs to update (e.g. \"Jack Depp is the sibling of Lily-Rose Depp\"). Results in symbolic approaches to this task have demonstrated that this knowledge updating task is of high computational complexity, even NP-hard, for example in Truth Maintenance Systems (TMS; Rutenburg, 1991). These results carry to approaches based on machine learning techniques (Knblauch et al., 2020). There is, therefore, theoretical basis to conclude that model editing will at best address the problem of consistent updating in a roughly approximate manner, and most likely fail to update rarely seen facts within the ripple effect of editing operations."
|
| 404 |
+
},
|
| 405 |
+
{
|
| 406 |
+
"type": "text",
|
| 407 |
+
"bbox": [
|
| 408 |
+
0.113,
|
| 409 |
+
0.392,
|
| 410 |
+
0.489,
|
| 411 |
+
0.504
|
| 412 |
+
],
|
| 413 |
+
"angle": 0,
|
| 414 |
+
"content": "Finally, recent empirical findings show additional weaknesses of edit methods by extending the evaluation suites to cover aspects beyond fact editing metrics, such as specificity and robustness of the models post-editing (Onoe et al., 2023; Hoelscher-Obermaier et al., 2023; Hase et al., 2023a; Brown et al., 2023)."
|
| 415 |
+
},
|
| 416 |
+
{
|
| 417 |
+
"type": "title",
|
| 418 |
+
"bbox": [
|
| 419 |
+
0.113,
|
| 420 |
+
0.521,
|
| 421 |
+
0.405,
|
| 422 |
+
0.538
|
| 423 |
+
],
|
| 424 |
+
"angle": 0,
|
| 425 |
+
"content": "4 Alternatives to Model Editing"
|
| 426 |
+
},
|
| 427 |
+
{
|
| 428 |
+
"type": "text",
|
| 429 |
+
"bbox": [
|
| 430 |
+
0.117,
|
| 431 |
+
0.55,
|
| 432 |
+
0.49,
|
| 433 |
+
0.919
|
| 434 |
+
],
|
| 435 |
+
"angle": 0,
|
| 436 |
+
"content": "Model editing is motivated by the desire to control the text generated by LLMs to make them more compliant with desirable outcomes, specifically to control factuality: when an LLM generates text expressing an incorrect or obsolete fact, remove the fact from the LLM's \"memory\" and try again (Peng et al., 2023). Other relatively direct approaches to improve LLM factuality (and, in general, to control and revise the text generated by LLMs) have been proposed, most notably Reinforcement Learning with Human Feedback (RLHF; Bai et al., 2022; Ouyang et al., 2022; Ramamurthy et al., 2023; Rafailov et al., 2023; Carta et al., 2023), or adding a factuality objective to the training procedure (Lee et al., 2022). We now survey approaches which define a more achievable objective than that pursued by direct model editing or output manipulation. These approaches avoid the assumption that the LLM is a fact repository, and thus steer clear of the attempt to update this repository in a logically consistent manner, which is computationally hard to achieve and verify. While these alternatives avoid the more problematic aspects of model"
|
| 437 |
+
},
|
| 438 |
+
{
|
| 439 |
+
"type": "text",
|
| 440 |
+
"bbox": [
|
| 441 |
+
0.51,
|
| 442 |
+
0.085,
|
| 443 |
+
0.884,
|
| 444 |
+
0.133
|
| 445 |
+
],
|
| 446 |
+
"angle": 0,
|
| 447 |
+
"content": "editing, they still suffer from their own limitations, but we argue that they identify more promising research directions."
|
| 448 |
+
},
|
| 449 |
+
{
|
| 450 |
+
"type": "text",
|
| 451 |
+
"bbox": [
|
| 452 |
+
0.508,
|
| 453 |
+
0.144,
|
| 454 |
+
0.884,
|
| 455 |
+
0.352
|
| 456 |
+
],
|
| 457 |
+
"angle": 0,
|
| 458 |
+
"content": "Incorporating Knowledge Bases In retrieval-based models, factual knowledge is explicitly represented in a dedicated component external to the LLM. The way this external fact store is represented and combined with the LLM varies: it can be a collection of textual documents that is searched using a text retrieval component, or an RDF graph, or encoded as a set of vector embeddings, or represented as modular expert LMs trained on curated datasets. In all cases, in the retrieval-based approach, the model can explicitly cite the source which underlies a specific generation, and let the user decide its credibility."
|
| 459 |
+
},
|
| 460 |
+
{
|
| 461 |
+
"type": "text",
|
| 462 |
+
"bbox": [
|
| 463 |
+
0.508,
|
| 464 |
+
0.354,
|
| 465 |
+
0.885,
|
| 466 |
+
0.531
|
| 467 |
+
],
|
| 468 |
+
"angle": 0,
|
| 469 |
+
"content": "Once external (non-parametric) knowledge is retrieved, it must be composed with the LLM generation process. Khandelwal et al. (2020) introduce a k-nearest neighbor method with interpolation; RETRO (Borgeaud et al., 2021) combines the prompt with retrieved documents through a specialized cross-attention mechanism; other LLM-IR variants include a fusion-in-decoder method (ATLAS; Izacard et al., 2022) and TRIME (Zhong et al., 2022), all retrieval-based models that maintain the capacity for few-shot in-context learning."
|
| 470 |
+
},
|
| 471 |
+
{
|
| 472 |
+
"type": "text",
|
| 473 |
+
"bbox": [
|
| 474 |
+
0.508,
|
| 475 |
+
0.532,
|
| 476 |
+
0.884,
|
| 477 |
+
0.741
|
| 478 |
+
],
|
| 479 |
+
"angle": 0,
|
| 480 |
+
"content": "Recent work addresses the integration of LLMs and IR by learning to combine results from search engines into the context provided to the LLM to answer a specific question (Xu et al., 2023). SAIL (Luo et al., 2023) introduces an instruction fine-tuning method to ground language generation on search results and learn to select trustworthy sources. CooK (Feng et al., 2023) approaches the task of combining multiple curated modular knowledge sources into an integrative system, where sources are modeled as independent LMs and an integrator LLM combines the information from these modules to answer a question."
|
| 481 |
+
},
|
| 482 |
+
{
|
| 483 |
+
"type": "text",
|
| 484 |
+
"bbox": [
|
| 485 |
+
0.508,
|
| 486 |
+
0.742,
|
| 487 |
+
0.884,
|
| 488 |
+
0.853
|
| 489 |
+
],
|
| 490 |
+
"angle": 0,
|
| 491 |
+
"content": "In all of these approaches, factual knowledge is stored outside of the parameters of the LLM and can be manipulated without retraining the LLM. These approaches have been shown to be scalable in the number of facts. Editing the fact store means the same as updating a database, thus simplifying the formulation of the task."
|
| 492 |
+
},
|
| 493 |
+
{
|
| 494 |
+
"type": "text",
|
| 495 |
+
"bbox": [
|
| 496 |
+
0.508,
|
| 497 |
+
0.855,
|
| 498 |
+
0.884,
|
| 499 |
+
0.92
|
| 500 |
+
],
|
| 501 |
+
"angle": 0,
|
| 502 |
+
"content": "Retrieval-based models, arguably, do not resolve all of the concerns we identify with model editing. The problem of identifying the provenance of a given generation span in these combined models"
|
| 503 |
+
}
|
| 504 |
+
],
|
| 505 |
+
[
|
| 506 |
+
{
|
| 507 |
+
"type": "text",
|
| 508 |
+
"bbox": [
|
| 509 |
+
0.117,
|
| 510 |
+
0.085,
|
| 511 |
+
0.486,
|
| 512 |
+
0.584
|
| 513 |
+
],
|
| 514 |
+
"angle": 0,
|
| 515 |
+
"content": "remains acute: the text can be determined by the internal LLM parameters, by the external stores, or by their combination, even if they are not logically consistent with one another. Facts that have been seen more often during LLM training may have more weight in this interpolation even if they are wrong or when they become obsolete. Zhu et al. (2020) claim that \"modifying knowledge in explicit memory module networks like FaE (Verga et al., 2020) is not easier and demands changes in the LLM component as well.\" This effect was also identified in the RealQA baseline test (Kasai et al., 2022): in this benchmark containing questions about time-sensitive data, experiments showed that in many cases GPT-3 (Brown et al., 2020) properly integrated data retrieved from a KB and injected into the context, but often still generated text based on outdated data from the LLM. While the clear separation of the components and the identification of the composition of external knowledge improve transparency-sensitive tasks, the objective of identifying provenance in the generated text and controlling which sources are appropriate in a given context remains an open research question. The formulation of the task of attributing generated text to identifiable sources (AIS; Rashkin et al., 2022) is a key contribution to this direction. Neeman et al. (2022) also address an aspect of this issue with a counterfactual data augmentation technique to disentangle contextual and LLM knowledge when generating text."
|
| 516 |
+
},
|
| 517 |
+
{
|
| 518 |
+
"type": "text",
|
| 519 |
+
"bbox": [
|
| 520 |
+
0.117,
|
| 521 |
+
0.598,
|
| 522 |
+
0.486,
|
| 523 |
+
0.918
|
| 524 |
+
],
|
| 525 |
+
"angle": 0,
|
| 526 |
+
"content": "Continual training focuses on incrementally training a model by introducing new tasks or new domains (e.g., Razdaibiedina et al., 2023). Model editing does not directly fall within this objective, as it concerns updating precise elements in the model while keeping tasks and domains unchanged. Yet, the identification of drawdown in model editing is similar to the risk of catastrophic forgetting identified in continual learning. Within this approach, we could situate model editing as a type of re-training or post-training. Zhu et al. (2020) note that just fine-tuning over a set of facts-to-update costs in degradation on other facts. Jang et al. (2021) identify the problem and propose to apply techniques from continual training to the task of incremental updating of LLM knowledge. Overall, while continuous training may seem to a priori avoid the risks of the model editing approach, it seems to suffer from many of the main evaluation problems."
|
| 527 |
+
},
|
| 528 |
+
{
|
| 529 |
+
"type": "text",
|
| 530 |
+
"bbox": [
|
| 531 |
+
0.513,
|
| 532 |
+
0.085,
|
| 533 |
+
0.884,
|
| 534 |
+
0.487
|
| 535 |
+
],
|
| 536 |
+
"angle": 0,
|
| 537 |
+
"content": "Concept Erasure The goal of concept erasure (Elazar and Goldberg, 2018; Ravfogel et al., 2020; Belrose et al., 2023) is to remove unwanted bias from embeddings generated by LLMs and subsequently from the generated text. This goal is motivated by fairness objectives: preventing protected attributes from causally affecting text generation. This motivation is somehow related to that of model editing (prevent damage from generated text) but key differences exist: (1) the method addresses general, well-identified concepts (protected attributes such as gender, race, age) as opposed to less well-defined specific facts; (2) it operates as a post-hoc transformation of embeddings, as opposed to a modification of the model itself, and as such it allows for more accountability than an ever-changing model; (3) it is verifiable with well-defined metrics over a limited pre-declared scope. While concept erasure has more limited scope than model editing, it defines an objective that can be evaluated with aggregated metrics in a robust manner. One possible avenue of future research can be to examine whether the erasure approach can be extended to address specific aspects of factuality, such as temporal validity."
|
| 538 |
+
},
|
| 539 |
+
{
|
| 540 |
+
"type": "text",
|
| 541 |
+
"bbox": [
|
| 542 |
+
0.513,
|
| 543 |
+
0.497,
|
| 544 |
+
0.884,
|
| 545 |
+
0.671
|
| 546 |
+
],
|
| 547 |
+
"angle": 0,
|
| 548 |
+
"content": "Maybe it's better to have a model that knows what it doesn't know? As identified in Kasai et al. (2022), a prerequisite to avoid generating wrong text is to identify what is not known: \"can an open-domain QA system identify unanswerable cases?\" The related issue of unanswerable questions has been addressed in a robust way (Rajpurkar et al., 2018; Sulem et al., 2021, 2022); yet the challenge in the context of LLMs and factuality is that problematic questions like those specified in §3.2 do look answerable."
|
| 549 |
+
},
|
| 550 |
+
{
|
| 551 |
+
"type": "title",
|
| 552 |
+
"bbox": [
|
| 553 |
+
0.514,
|
| 554 |
+
0.686,
|
| 555 |
+
0.64,
|
| 556 |
+
0.7
|
| 557 |
+
],
|
| 558 |
+
"angle": 0,
|
| 559 |
+
"content": "5 Conclusion"
|
| 560 |
+
},
|
| 561 |
+
{
|
| 562 |
+
"type": "text",
|
| 563 |
+
"bbox": [
|
| 564 |
+
0.513,
|
| 565 |
+
0.71,
|
| 566 |
+
0.884,
|
| 567 |
+
0.918
|
| 568 |
+
],
|
| 569 |
+
"angle": 0,
|
| 570 |
+
"content": "We agree that model editing is an attractive task to define, with clear benchmarks and expected outcomes. However, in current practice it contributes towards unrealistic expectations that we can solve problems like LLM hallucinations, which would lead to potential harm in unleashing use cases that are not in fact within the capabilities of LLMs alone. We advocate for the usage of retrieval-augmented methods and other structural and post-hoc methods in order to achieve the stated large-scale goals, while conceding the benefits of editing to \"safer\" applications such as model interpretability and robustness checking."
|
| 571 |
+
}
|
| 572 |
+
],
|
| 573 |
+
[
|
| 574 |
+
{
|
| 575 |
+
"type": "title",
|
| 576 |
+
"bbox": [
|
| 577 |
+
0.116,
|
| 578 |
+
0.085,
|
| 579 |
+
0.278,
|
| 580 |
+
0.101
|
| 581 |
+
],
|
| 582 |
+
"angle": 0,
|
| 583 |
+
"content": "Acknowledgments"
|
| 584 |
+
},
|
| 585 |
+
{
|
| 586 |
+
"type": "text",
|
| 587 |
+
"bbox": [
|
| 588 |
+
0.114,
|
| 589 |
+
0.11,
|
| 590 |
+
0.49,
|
| 591 |
+
0.19
|
| 592 |
+
],
|
| 593 |
+
"angle": 0,
|
| 594 |
+
"content": "We thank Sarah Wiegrefe for comments on earlier drafts. We thank the reviewers for their valuable feedback. Yuval Pinter was supported in part by the Israeli Ministry of Innovation, Science and Technology (Grant 2022/5451)."
|
| 595 |
+
},
|
| 596 |
+
{
|
| 597 |
+
"type": "title",
|
| 598 |
+
"bbox": [
|
| 599 |
+
0.115,
|
| 600 |
+
0.202,
|
| 601 |
+
0.221,
|
| 602 |
+
0.216
|
| 603 |
+
],
|
| 604 |
+
"angle": 0,
|
| 605 |
+
"content": "Limitations"
|
| 606 |
+
},
|
| 607 |
+
{
|
| 608 |
+
"type": "text",
|
| 609 |
+
"bbox": [
|
| 610 |
+
0.114,
|
| 611 |
+
0.228,
|
| 612 |
+
0.49,
|
| 613 |
+
0.388
|
| 614 |
+
],
|
| 615 |
+
"angle": 0,
|
| 616 |
+
"content": "This is an opinion paper. We have purposely not made empirical analyses in order to support our critique, knowing that data is contestable and may vary according to its collection methodology. We aim to convince on the merit of examples and rhetorical argumentation rather than concrete evidence, mostly out of our reach for the models under consideration, which we nevertheless urge readers and practitioners to seek and use in attempts to either support or disprove our claims."
|
| 617 |
+
},
|
| 618 |
+
{
|
| 619 |
+
"type": "title",
|
| 620 |
+
"bbox": [
|
| 621 |
+
0.115,
|
| 622 |
+
0.4,
|
| 623 |
+
0.317,
|
| 624 |
+
0.415
|
| 625 |
+
],
|
| 626 |
+
"angle": 0,
|
| 627 |
+
"content": "Ethical Considerations"
|
| 628 |
+
},
|
| 629 |
+
{
|
| 630 |
+
"type": "title",
|
| 631 |
+
"bbox": [
|
| 632 |
+
0.512,
|
| 633 |
+
0.085,
|
| 634 |
+
0.609,
|
| 635 |
+
0.099
|
| 636 |
+
],
|
| 637 |
+
"angle": 0,
|
| 638 |
+
"content": "References"
|
| 639 |
+
},
|
| 640 |
+
{
|
| 641 |
+
"type": "ref_text",
|
| 642 |
+
"bbox": [
|
| 643 |
+
0.511,
|
| 644 |
+
0.107,
|
| 645 |
+
0.886,
|
| 646 |
+
0.16
|
| 647 |
+
],
|
| 648 |
+
"angle": 0,
|
| 649 |
+
"content": "Badr AlKhamissi, Millicent Li, Asli Celikyilmaz, Mona T. Diab, and Marjan Ghazvininejad. 2022. A review on language models as knowledge bases. ArXiv, abs/2204.06031."
|
| 650 |
+
},
|
| 651 |
+
{
|
| 652 |
+
"type": "ref_text",
|
| 653 |
+
"bbox": [
|
| 654 |
+
0.512,
|
| 655 |
+
0.169,
|
| 656 |
+
0.886,
|
| 657 |
+
0.327
|
| 658 |
+
],
|
| 659 |
+
"angle": 0,
|
| 660 |
+
"content": "Yuntao Bai, Andy Jones, Kamal Ndousse, Amanda Askell, Anna Chen, Nova DasSarma, Dawn Drain, Stanislav Fort, Deep Ganguli, Tom Henighan, Nicholas Joseph, Saurav Kadavath, Jackson Kernion, Tom Conerly, Sheer El-Showk, Nelson Elhage, Zac Hatfield-Dodds, Danny Hernandez, Tristan Hume, Scott Johnston, Shauna Kravec, Liane Lovitt, Neel Nanda, Catherine Olsson, Dario Amodei, Tom Brown, Jack Clark, Sam McCandlish, Chris Olah, Ben Mann, and Jared Kaplan. 2022. Training a helpful and harmless assistant with reinforcement learning from human feedback."
|
| 661 |
+
},
|
| 662 |
+
{
|
| 663 |
+
"type": "ref_text",
|
| 664 |
+
"bbox": [
|
| 665 |
+
0.512,
|
| 666 |
+
0.336,
|
| 667 |
+
0.884,
|
| 668 |
+
0.388
|
| 669 |
+
],
|
| 670 |
+
"angle": 0,
|
| 671 |
+
"content": "Nora Belrose, David Schneider-Joseph, Shauli Ravfogel, Ryan Cotterell, Edward Raff, and Stella Biderman. 2023. Leace: Perfect linear concept erasure in closed form."
|
| 672 |
+
},
|
| 673 |
+
{
|
| 674 |
+
"type": "ref_text",
|
| 675 |
+
"bbox": [
|
| 676 |
+
0.512,
|
| 677 |
+
0.398,
|
| 678 |
+
0.886,
|
| 679 |
+
0.49
|
| 680 |
+
],
|
| 681 |
+
"angle": 0,
|
| 682 |
+
"content": "Su Lin Blodgett, Solon Barocas, Hal Daumé III, and Hanna Wallach. 2020. Language (technology) is power: A critical survey of \"bias\" in NLP. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pages 5454-5476, Online. Association for Computational Linguistics."
|
| 683 |
+
},
|
| 684 |
+
{
|
| 685 |
+
"type": "ref_text",
|
| 686 |
+
"bbox": [
|
| 687 |
+
0.512,
|
| 688 |
+
0.5,
|
| 689 |
+
0.886,
|
| 690 |
+
0.577
|
| 691 |
+
],
|
| 692 |
+
"angle": 0,
|
| 693 |
+
"content": "Rishi Bommasani, Drew A Hudson, Ehsan Adeli, Russ Altman, Simran Arora, Sydney von Arx, Michael S Bernstein, Jeannette Bohg, Antoine Bosse-lut, Emma Brunskill, et al. 2021. On the opportunities and risks of foundation models. arXiv preprint arXiv:2108.07258."
|
| 694 |
+
},
|
| 695 |
+
{
|
| 696 |
+
"type": "ref_text",
|
| 697 |
+
"bbox": [
|
| 698 |
+
0.512,
|
| 699 |
+
0.588,
|
| 700 |
+
0.886,
|
| 701 |
+
0.745
|
| 702 |
+
],
|
| 703 |
+
"angle": 0,
|
| 704 |
+
"content": "Sebastian Borgeaud, Arthur Mensch, Jordan Hoffmann, Trevor Cai, Eliza Rutherford, Katie Millican, George van den Driessche, Jean-Baptiste Lespiau, Bogdan Damoc, Aidan Clark, Diego de Las Casas, Aurelia Guy, Jacob Menick, Roman Ring, T. W. Hennigan, Saffron Huang, Lorenzo Maggiore, Chris Jones, Albin Cassirer, Andy Brock, Michela Paganini, Geoffrey Irving, Oriol Vinyals, Simon Osindero, Karen Simonyan, Jack W. Rae, Erich Elsen, and L. Sifre. 2021. Improving language models by retrieving from trillions of tokens. In International Conference on Machine Learning."
|
| 705 |
+
},
|
| 706 |
+
{
|
| 707 |
+
"type": "ref_text",
|
| 708 |
+
"bbox": [
|
| 709 |
+
0.512,
|
| 710 |
+
0.755,
|
| 711 |
+
0.884,
|
| 712 |
+
0.793
|
| 713 |
+
],
|
| 714 |
+
"angle": 0,
|
| 715 |
+
"content": "Davis Brown, Charles Godfrey, Cody Nizinski, Jonathan Tu, and Henry Kvinge. 2023. Robustness of edited neural networks."
|
| 716 |
+
},
|
| 717 |
+
{
|
| 718 |
+
"type": "ref_text",
|
| 719 |
+
"bbox": [
|
| 720 |
+
0.512,
|
| 721 |
+
0.804,
|
| 722 |
+
0.884,
|
| 723 |
+
0.882
|
| 724 |
+
],
|
| 725 |
+
"angle": 0,
|
| 726 |
+
"content": "Tom Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah, Jared D Kaplan, Prafulla Dhariwal, Arvind Neelakantan, Pranav Shyam, Girish Sastry, Amanda Askell, et al. 2020. Language models are few-shot learners. Advances in neural information processing systems, 33:1877-1901."
|
| 727 |
+
},
|
| 728 |
+
{
|
| 729 |
+
"type": "ref_text",
|
| 730 |
+
"bbox": [
|
| 731 |
+
0.512,
|
| 732 |
+
0.892,
|
| 733 |
+
0.884,
|
| 734 |
+
0.919
|
| 735 |
+
],
|
| 736 |
+
"angle": 0,
|
| 737 |
+
"content": "Thomas Carta, Clément Romac, Thomas Wolf, Sylvain Lamprier, Olivier Sigaud, and Pierre-Yves Oudeyer."
|
| 738 |
+
},
|
| 739 |
+
{
|
| 740 |
+
"type": "list",
|
| 741 |
+
"bbox": [
|
| 742 |
+
0.511,
|
| 743 |
+
0.107,
|
| 744 |
+
0.886,
|
| 745 |
+
0.919
|
| 746 |
+
],
|
| 747 |
+
"angle": 0,
|
| 748 |
+
"content": null
|
| 749 |
+
}
|
| 750 |
+
],
|
| 751 |
+
[
|
| 752 |
+
{
|
| 753 |
+
"type": "ref_text",
|
| 754 |
+
"bbox": [
|
| 755 |
+
0.135,
|
| 756 |
+
0.086,
|
| 757 |
+
0.489,
|
| 758 |
+
0.126
|
| 759 |
+
],
|
| 760 |
+
"angle": 0,
|
| 761 |
+
"content": "2023. Grounding large language models in interactive environments with online reinforcement learning. arXiv preprint arXiv:2302.02662."
|
| 762 |
+
},
|
| 763 |
+
{
|
| 764 |
+
"type": "ref_text",
|
| 765 |
+
"bbox": [
|
| 766 |
+
0.117,
|
| 767 |
+
0.134,
|
| 768 |
+
0.487,
|
| 769 |
+
0.239
|
| 770 |
+
],
|
| 771 |
+
"angle": 0,
|
| 772 |
+
"content": "Kai-Wei Chang, Vinodkumar Prabhakaran, and Vicente Ordonez. 2019. Bias and fairness in natural language processing. 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): Tutorial Abstracts, Hong Kong, China. Association for Computational Linguistics."
|
| 773 |
+
},
|
| 774 |
+
{
|
| 775 |
+
"type": "ref_text",
|
| 776 |
+
"bbox": [
|
| 777 |
+
0.117,
|
| 778 |
+
0.248,
|
| 779 |
+
0.487,
|
| 780 |
+
0.301
|
| 781 |
+
],
|
| 782 |
+
"angle": 0,
|
| 783 |
+
"content": "Roi Cohen, Eden Biran, Ori Yoran, Amir Globerson, and Mor Geva. 2023. Evaluating the ripple effects of knowledge editing in language models. arXiv preprint arXiv:2307.12976."
|
| 784 |
+
},
|
| 785 |
+
{
|
| 786 |
+
"type": "ref_text",
|
| 787 |
+
"bbox": [
|
| 788 |
+
0.117,
|
| 789 |
+
0.309,
|
| 790 |
+
0.487,
|
| 791 |
+
0.387
|
| 792 |
+
],
|
| 793 |
+
"angle": 0,
|
| 794 |
+
"content": "Nicola De Cao, Wilker Aziz, and Ivan Titov. 2021. Editing factual knowledge in language models. In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing, pages 6491-6506, Online and Punta Cana, Dominican Republic. Association for Computational Linguistics."
|
| 795 |
+
},
|
| 796 |
+
{
|
| 797 |
+
"type": "ref_text",
|
| 798 |
+
"bbox": [
|
| 799 |
+
0.117,
|
| 800 |
+
0.396,
|
| 801 |
+
0.487,
|
| 802 |
+
0.474
|
| 803 |
+
],
|
| 804 |
+
"angle": 0,
|
| 805 |
+
"content": "Yanai Elazar and Yoav Goldberg. 2018. Adversarial removal of demographic attributes from text data. In Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing, pages 11-21, Brussels, Belgium. Association for Computational Linguistics."
|
| 806 |
+
},
|
| 807 |
+
{
|
| 808 |
+
"type": "ref_text",
|
| 809 |
+
"bbox": [
|
| 810 |
+
0.117,
|
| 811 |
+
0.483,
|
| 812 |
+
0.487,
|
| 813 |
+
0.548
|
| 814 |
+
],
|
| 815 |
+
"angle": 0,
|
| 816 |
+
"content": "Shangbin Feng, Weijia Shi, Yuyang Bai, Vidhisha Balachandran, Tianxing He, and Yulia Tsvetkov. 2023. Cook: Empowering general-purpose language models with modular and collaborative knowledge. ArXiv, abs/2305.09955."
|
| 817 |
+
},
|
| 818 |
+
{
|
| 819 |
+
"type": "ref_text",
|
| 820 |
+
"bbox": [
|
| 821 |
+
0.117,
|
| 822 |
+
0.557,
|
| 823 |
+
0.487,
|
| 824 |
+
0.597
|
| 825 |
+
],
|
| 826 |
+
"angle": 0,
|
| 827 |
+
"content": "Birte Glimm, Ian Horrocks, Boris Motik, Giorgos Stoilos, and Zhe Wang. 2014. Hermit: An owl 2 reasoner. Journal of Automated Reasoning, 53:245-269."
|
| 828 |
+
},
|
| 829 |
+
{
|
| 830 |
+
"type": "ref_text",
|
| 831 |
+
"bbox": [
|
| 832 |
+
0.117,
|
| 833 |
+
0.606,
|
| 834 |
+
0.487,
|
| 835 |
+
0.658
|
| 836 |
+
],
|
| 837 |
+
"angle": 0,
|
| 838 |
+
"content": "Peter Hase, Mohit Bansal, Been Kim, and Asma Ghandeharioun. 2023a. Does localization inform editing? surprising differences in causality-based localization vs. knowledge editing in language models."
|
| 839 |
+
},
|
| 840 |
+
{
|
| 841 |
+
"type": "ref_text",
|
| 842 |
+
"bbox": [
|
| 843 |
+
0.117,
|
| 844 |
+
0.666,
|
| 845 |
+
0.487,
|
| 846 |
+
0.771
|
| 847 |
+
],
|
| 848 |
+
"angle": 0,
|
| 849 |
+
"content": "Peter Hase, Mona Diab, Asli Celikyilmaz, Xian Li, Zornitsa Kozareva, Veselin Stoyanov, Mohit Bansal, and Srinivasan Iyer. 2023b. Methods for measuring, updating, and visualizing factual beliefs in language models. In Proceedings of the 17th Conference of the European Chapter of the Association for Computational Linguistics, pages 2714-2731, Dubrovnik, Croatia. Association for Computational Linguistics."
|
| 850 |
+
},
|
| 851 |
+
{
|
| 852 |
+
"type": "ref_text",
|
| 853 |
+
"bbox": [
|
| 854 |
+
0.117,
|
| 855 |
+
0.779,
|
| 856 |
+
0.487,
|
| 857 |
+
0.857
|
| 858 |
+
],
|
| 859 |
+
"angle": 0,
|
| 860 |
+
"content": "Yuan He, Jiaoyan Chen, Ernesto Jimenez-Ruiz, Hang Dong, and Ian Horrocks. 2023. Language model analysis for ontology subsumption inference. In *Findings of the Association for Computational Linguistics: ACL* 2023, pages 3439-3453, Toronto, Canada. Association for Computational Linguistics."
|
| 861 |
+
},
|
| 862 |
+
{
|
| 863 |
+
"type": "ref_text",
|
| 864 |
+
"bbox": [
|
| 865 |
+
0.117,
|
| 866 |
+
0.866,
|
| 867 |
+
0.487,
|
| 868 |
+
0.919
|
| 869 |
+
],
|
| 870 |
+
"angle": 0,
|
| 871 |
+
"content": "Jason Hoelscher-Obermaier, Julia Persson, Esben Kran, Ioannis Konstas, and Fazl Berez. 2023. Detecting edit failures in large language models: An improved specificity benchmark."
|
| 872 |
+
},
|
| 873 |
+
{
|
| 874 |
+
"type": "list",
|
| 875 |
+
"bbox": [
|
| 876 |
+
0.117,
|
| 877 |
+
0.086,
|
| 878 |
+
0.489,
|
| 879 |
+
0.919
|
| 880 |
+
],
|
| 881 |
+
"angle": 0,
|
| 882 |
+
"content": null
|
| 883 |
+
},
|
| 884 |
+
{
|
| 885 |
+
"type": "ref_text",
|
| 886 |
+
"bbox": [
|
| 887 |
+
0.512,
|
| 888 |
+
0.086,
|
| 889 |
+
0.882,
|
| 890 |
+
0.152
|
| 891 |
+
],
|
| 892 |
+
"angle": 0,
|
| 893 |
+
"content": "Gautier Izacard, Patrick Lewis, Maria Lomeli, Lucas Hosseini, Fabio Petroni, Timo Schick, Jane A. Yu, Armand Joulin, Sebastian Riedel, and Edouard Grave. 2022. Few-shot learning with retrieval augmented language models. *ArXiv*, abs/2208.03299."
|
| 894 |
+
},
|
| 895 |
+
{
|
| 896 |
+
"type": "ref_text",
|
| 897 |
+
"bbox": [
|
| 898 |
+
0.512,
|
| 899 |
+
0.166,
|
| 900 |
+
0.882,
|
| 901 |
+
0.243
|
| 902 |
+
],
|
| 903 |
+
"angle": 0,
|
| 904 |
+
"content": "Joel Jang, Seonghyeon Ye, Sohee Yang, Joongbo Shin, Janghoon Han, Gyeonghun Kim, Stanley Jungkyu Choi, and Minjoon Seo. 2021. Towards continual knowledge learning of language models. International Conference on Learning Representations, abs/2110.03215."
|
| 905 |
+
},
|
| 906 |
+
{
|
| 907 |
+
"type": "ref_text",
|
| 908 |
+
"bbox": [
|
| 909 |
+
0.512,
|
| 910 |
+
0.258,
|
| 911 |
+
0.882,
|
| 912 |
+
0.31
|
| 913 |
+
],
|
| 914 |
+
"angle": 0,
|
| 915 |
+
"content": "Zhengbao Jiang, Frank F. Xu, Jun Araki, and Graham Neubig. 2020. How can we know what language models know? Transactions of the Association for Computational Linguistics, 8:423-438."
|
| 916 |
+
},
|
| 917 |
+
{
|
| 918 |
+
"type": "ref_text",
|
| 919 |
+
"bbox": [
|
| 920 |
+
0.512,
|
| 921 |
+
0.324,
|
| 922 |
+
0.882,
|
| 923 |
+
0.376
|
| 924 |
+
],
|
| 925 |
+
"angle": 0,
|
| 926 |
+
"content": "Jan-Christoph Kalo and Leandra Fichtel. 2022. Kamel: Knowledge analysis with multitoken entities in language models. In 4th Conference on Automated Knowledge Base Construction."
|
| 927 |
+
},
|
| 928 |
+
{
|
| 929 |
+
"type": "ref_text",
|
| 930 |
+
"bbox": [
|
| 931 |
+
0.512,
|
| 932 |
+
0.39,
|
| 933 |
+
0.882,
|
| 934 |
+
0.481
|
| 935 |
+
],
|
| 936 |
+
"angle": 0,
|
| 937 |
+
"content": "Nikhil Kandpal, Haikang Deng, Adam Roberts, Eric Wallace, and Colin Raffel. 2023. Large language models struggle to learn long-tail knowledge. In Proceedings of the 40th International Conference on Machine Learning, volume 202 of Proceedings of Machine Learning Research, pages 15696-15707. PMLR."
|
| 938 |
+
},
|
| 939 |
+
{
|
| 940 |
+
"type": "ref_text",
|
| 941 |
+
"bbox": [
|
| 942 |
+
0.512,
|
| 943 |
+
0.496,
|
| 944 |
+
0.882,
|
| 945 |
+
0.549
|
| 946 |
+
],
|
| 947 |
+
"angle": 0,
|
| 948 |
+
"content": "Jungo Kasai, Keisuke Sakaguchi, Yoichi Takahashi, Ronan Le Bras, Akari Asai, Xinyan Yu, Dragomir Radev, Noah A. Smith, Yejin Choi, and Kentaro Inui. 2022. Realtime qa: What's the answer right now?"
|
| 949 |
+
},
|
| 950 |
+
{
|
| 951 |
+
"type": "ref_text",
|
| 952 |
+
"bbox": [
|
| 953 |
+
0.512,
|
| 954 |
+
0.562,
|
| 955 |
+
0.882,
|
| 956 |
+
0.641
|
| 957 |
+
],
|
| 958 |
+
"angle": 0,
|
| 959 |
+
"content": "Nora Kassner and Hinrich Schütze. 2020. Negated and misprimed probes for pretrained language models: Birds can talk, but cannot fly. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pages 7811-7818, Online. Association for Computational Linguistics."
|
| 960 |
+
},
|
| 961 |
+
{
|
| 962 |
+
"type": "ref_text",
|
| 963 |
+
"bbox": [
|
| 964 |
+
0.512,
|
| 965 |
+
0.655,
|
| 966 |
+
0.882,
|
| 967 |
+
0.706
|
| 968 |
+
],
|
| 969 |
+
"angle": 0,
|
| 970 |
+
"content": "Urvashi Khandelwal, Omer Levy, Dan Jurafsky, Luke Zettlemoyer, and Mike Lewis. 2020. Generalization through memorization: Nearest neighbor language models."
|
| 971 |
+
},
|
| 972 |
+
{
|
| 973 |
+
"type": "ref_text",
|
| 974 |
+
"bbox": [
|
| 975 |
+
0.512,
|
| 976 |
+
0.72,
|
| 977 |
+
0.882,
|
| 978 |
+
0.773
|
| 979 |
+
],
|
| 980 |
+
"angle": 0,
|
| 981 |
+
"content": "Jeremias Knoblauch, Hisham Husain, and Tom Diethe. 2020. Optimal continual learning has perfect memory and is np-hard. In International Conference on Machine Learning, pages 5327-5337. PMLR."
|
| 982 |
+
},
|
| 983 |
+
{
|
| 984 |
+
"type": "ref_text",
|
| 985 |
+
"bbox": [
|
| 986 |
+
0.512,
|
| 987 |
+
0.787,
|
| 988 |
+
0.882,
|
| 989 |
+
0.839
|
| 990 |
+
],
|
| 991 |
+
"angle": 0,
|
| 992 |
+
"content": "Nayeon Lee, Wei Ping, Peng Xu, Mostofa Patwary, Mohammad Shoeybi, and Bryan Catanzaro. 2022. Factuality enhanced language models for open-ended text generation. ArXiv, abs/2206.04624."
|
| 993 |
+
},
|
| 994 |
+
{
|
| 995 |
+
"type": "ref_text",
|
| 996 |
+
"bbox": [
|
| 997 |
+
0.512,
|
| 998 |
+
0.853,
|
| 999 |
+
0.882,
|
| 1000 |
+
0.918
|
| 1001 |
+
],
|
| 1002 |
+
"angle": 0,
|
| 1003 |
+
"content": "Hongyin Luo, Yung-Sung Chuang, Yuan Gong, Tianhua Zhang, Yoon Kim, Xixin Wu, Danny Fox, Helen Meng, and James Glass. 2023. Sail: Search-augmented instruction learning. arXiv preprint arXiv:2305.15225."
|
| 1004 |
+
},
|
| 1005 |
+
{
|
| 1006 |
+
"type": "list",
|
| 1007 |
+
"bbox": [
|
| 1008 |
+
0.512,
|
| 1009 |
+
0.086,
|
| 1010 |
+
0.882,
|
| 1011 |
+
0.918
|
| 1012 |
+
],
|
| 1013 |
+
"angle": 0,
|
| 1014 |
+
"content": null
|
| 1015 |
+
}
|
| 1016 |
+
],
|
| 1017 |
+
[
|
| 1018 |
+
{
|
| 1019 |
+
"type": "ref_text",
|
| 1020 |
+
"bbox": [
|
| 1021 |
+
0.117,
|
| 1022 |
+
0.086,
|
| 1023 |
+
0.49,
|
| 1024 |
+
0.152
|
| 1025 |
+
],
|
| 1026 |
+
"angle": 0,
|
| 1027 |
+
"content": "Alex Mallen, Akari Asai, Victor Zhong, Rajarshi Das, Daniel Khashabi, and Hannaneh Hajishirzi. 2023. When not to trust language models: Investigating effectiveness of parametric and non-parametric memories."
|
| 1028 |
+
},
|
| 1029 |
+
{
|
| 1030 |
+
"type": "ref_text",
|
| 1031 |
+
"bbox": [
|
| 1032 |
+
0.117,
|
| 1033 |
+
0.163,
|
| 1034 |
+
0.489,
|
| 1035 |
+
0.215
|
| 1036 |
+
],
|
| 1037 |
+
"angle": 0,
|
| 1038 |
+
"content": "Kevin Meng, David Bau, Alex Andonian, and Yonatan Belinkov. 2022. Locating and editing factual associations in gpt. Advances in Neural Information Processing Systems, 35:17359-17372."
|
| 1039 |
+
},
|
| 1040 |
+
{
|
| 1041 |
+
"type": "ref_text",
|
| 1042 |
+
"bbox": [
|
| 1043 |
+
0.117,
|
| 1044 |
+
0.226,
|
| 1045 |
+
0.487,
|
| 1046 |
+
0.266
|
| 1047 |
+
],
|
| 1048 |
+
"angle": 0,
|
| 1049 |
+
"content": "Eric Mitchell, Charles Lin, Antoine Bosselut, Chelsea Finn, and Christopher D. Manning. 2022. Fast model editing at scale. In ICLR."
|
| 1050 |
+
},
|
| 1051 |
+
{
|
| 1052 |
+
"type": "ref_text",
|
| 1053 |
+
"bbox": [
|
| 1054 |
+
0.117,
|
| 1055 |
+
0.277,
|
| 1056 |
+
0.489,
|
| 1057 |
+
0.342
|
| 1058 |
+
],
|
| 1059 |
+
"angle": 0,
|
| 1060 |
+
"content": "Ella Neeman, Roee Aharoni, Or Honovich, Leshem Choshen, Idan Szpektor, and Omri Abend. 2022. Disentqa: Disentangling parametric and contextual knowledge with counterfactual question answering. ArXiv, abs/2211.05655."
|
| 1061 |
+
},
|
| 1062 |
+
{
|
| 1063 |
+
"type": "ref_text",
|
| 1064 |
+
"bbox": [
|
| 1065 |
+
0.117,
|
| 1066 |
+
0.354,
|
| 1067 |
+
0.488,
|
| 1068 |
+
0.407
|
| 1069 |
+
],
|
| 1070 |
+
"angle": 0,
|
| 1071 |
+
"content": "Yasumasa Onoe, Michael J. Q. Zhang, Shankar Padmanabhan, Greg Durrett, and Eunsol Choi. 2023. Can lms learn new entities from descriptions? challenges in propagating injected knowledge."
|
| 1072 |
+
},
|
| 1073 |
+
{
|
| 1074 |
+
"type": "ref_text",
|
| 1075 |
+
"bbox": [
|
| 1076 |
+
0.117,
|
| 1077 |
+
0.417,
|
| 1078 |
+
0.489,
|
| 1079 |
+
0.496
|
| 1080 |
+
],
|
| 1081 |
+
"angle": 0,
|
| 1082 |
+
"content": "Long Ouyang, Jeffrey Wu, Xu Jiang, Diogo Almeida, Carroll Wainwright, Pamela Mishkin, Chong Zhang, Sandhini Agarwal, Katarina Slama, Alex Ray, et al. 2022. Training language models to follow instructions with human feedback. Advances in Neural Information Processing Systems, 35:27730-27744."
|
| 1083 |
+
},
|
| 1084 |
+
{
|
| 1085 |
+
"type": "ref_text",
|
| 1086 |
+
"bbox": [
|
| 1087 |
+
0.117,
|
| 1088 |
+
0.507,
|
| 1089 |
+
0.488,
|
| 1090 |
+
0.586
|
| 1091 |
+
],
|
| 1092 |
+
"angle": 0,
|
| 1093 |
+
"content": "Baolin Peng, Michel Galley, Pengcheng He, Hao Cheng, Yujia Xie, Yu Hu, Qiuyuan Huang, Lars Liden, Zhou Yu, Weizhu Chen, et al. 2023. Check your facts and try again: Improving large language models with external knowledge and automated feedback. arXiv preprint arXiv:2302.12813."
|
| 1094 |
+
},
|
| 1095 |
+
{
|
| 1096 |
+
"type": "ref_text",
|
| 1097 |
+
"bbox": [
|
| 1098 |
+
0.117,
|
| 1099 |
+
0.597,
|
| 1100 |
+
0.489,
|
| 1101 |
+
0.715
|
| 1102 |
+
],
|
| 1103 |
+
"angle": 0,
|
| 1104 |
+
"content": "Fabio Petroni, Tim Rocttäschel, Sebastian Riedel, Patrick Lewis, Anton Bakhtin, Yuxiang Wu, and Alexander 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), pages 2463-2473, Hong Kong, China. Association for Computational Linguistics."
|
| 1105 |
+
},
|
| 1106 |
+
{
|
| 1107 |
+
"type": "ref_text",
|
| 1108 |
+
"bbox": [
|
| 1109 |
+
0.117,
|
| 1110 |
+
0.726,
|
| 1111 |
+
0.488,
|
| 1112 |
+
0.778
|
| 1113 |
+
],
|
| 1114 |
+
"angle": 0,
|
| 1115 |
+
"content": "Rafael Rafailov, Archit Sharma, Eric Mitchell, Stefano Ermon, Christopher D. Manning, and Chelsea Finn. 2023. Direct preference optimization: Your language model is secretly a reward model."
|
| 1116 |
+
},
|
| 1117 |
+
{
|
| 1118 |
+
"type": "ref_text",
|
| 1119 |
+
"bbox": [
|
| 1120 |
+
0.117,
|
| 1121 |
+
0.789,
|
| 1122 |
+
0.489,
|
| 1123 |
+
0.842
|
| 1124 |
+
],
|
| 1125 |
+
"angle": 0,
|
| 1126 |
+
"content": "Pranav Rajpurkar, Robin Jia, and Percy Liang. 2018. Know what you don't know: Unanswerable questions for squad. In Annual Meeting of the Association for Computational Linguistics."
|
| 1127 |
+
},
|
| 1128 |
+
{
|
| 1129 |
+
"type": "ref_text",
|
| 1130 |
+
"bbox": [
|
| 1131 |
+
0.117,
|
| 1132 |
+
0.853,
|
| 1133 |
+
0.489,
|
| 1134 |
+
0.919
|
| 1135 |
+
],
|
| 1136 |
+
"angle": 0,
|
| 1137 |
+
"content": "Rajkumar Ramamurthy, Prithviraj Ammanabrolu, Kianté Brantley, Jack Hessel, Rafet Sifa, Christian Bauckhage, Hannaneh Hajishirzi, and Yejin Choi. 2023. Is reinforcement learning (not) for natural language processing: Benchmarks, baselines, and"
|
| 1138 |
+
},
|
| 1139 |
+
{
|
| 1140 |
+
"type": "list",
|
| 1141 |
+
"bbox": [
|
| 1142 |
+
0.117,
|
| 1143 |
+
0.086,
|
| 1144 |
+
0.49,
|
| 1145 |
+
0.919
|
| 1146 |
+
],
|
| 1147 |
+
"angle": 0,
|
| 1148 |
+
"content": null
|
| 1149 |
+
},
|
| 1150 |
+
{
|
| 1151 |
+
"type": "ref_text",
|
| 1152 |
+
"bbox": [
|
| 1153 |
+
0.529,
|
| 1154 |
+
0.086,
|
| 1155 |
+
0.883,
|
| 1156 |
+
0.126
|
| 1157 |
+
],
|
| 1158 |
+
"angle": 0,
|
| 1159 |
+
"content": "building blocks for natural language policy optimization. In The Eleventh International Conference on Learning Representations."
|
| 1160 |
+
},
|
| 1161 |
+
{
|
| 1162 |
+
"type": "ref_text",
|
| 1163 |
+
"bbox": [
|
| 1164 |
+
0.512,
|
| 1165 |
+
0.137,
|
| 1166 |
+
0.883,
|
| 1167 |
+
0.203
|
| 1168 |
+
],
|
| 1169 |
+
"angle": 0,
|
| 1170 |
+
"content": "Hannah Rashkin, Vitaly Nikolaev, Matthew Lamm, Lora Aroyo, Michael Collins, Dipanjan Das, Slav Petrov, Gaurav Singh Tomar, Iulia Turc, and David Reitter. 2022. Measuring attribution in natural language generation models."
|
| 1171 |
+
},
|
| 1172 |
+
{
|
| 1173 |
+
"type": "ref_text",
|
| 1174 |
+
"bbox": [
|
| 1175 |
+
0.512,
|
| 1176 |
+
0.214,
|
| 1177 |
+
0.883,
|
| 1178 |
+
0.266
|
| 1179 |
+
],
|
| 1180 |
+
"angle": 0,
|
| 1181 |
+
"content": "Roger Ratcliff. 1990. Connectionist models of recognition memory: constraints imposed by learning and forgetting functions. *Psychological review*, 97(2):285."
|
| 1182 |
+
},
|
| 1183 |
+
{
|
| 1184 |
+
"type": "ref_text",
|
| 1185 |
+
"bbox": [
|
| 1186 |
+
0.512,
|
| 1187 |
+
0.277,
|
| 1188 |
+
0.883,
|
| 1189 |
+
0.369
|
| 1190 |
+
],
|
| 1191 |
+
"angle": 0,
|
| 1192 |
+
"content": "Shauli Ravfogel, Yanai Elazar, Hila Gonen, Michael Twiton, and Yoav Goldberg. 2020. Null it out: Guarding protected attributes by iterative nullspace projection. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pages 7237-7256, Online. Association for Computational Linguistics."
|
| 1193 |
+
},
|
| 1194 |
+
{
|
| 1195 |
+
"type": "ref_text",
|
| 1196 |
+
"bbox": [
|
| 1197 |
+
0.512,
|
| 1198 |
+
0.38,
|
| 1199 |
+
0.883,
|
| 1200 |
+
0.433
|
| 1201 |
+
],
|
| 1202 |
+
"angle": 0,
|
| 1203 |
+
"content": "Anastasia Razdaibiedina, Yuning Mao, Rui Hou, Madian Khabsa, Mike Lewis, and Amjad Almahairi. 2023. Progressive prompts: Continual learning for language models. ArXiv, abs/2301.12314."
|
| 1204 |
+
},
|
| 1205 |
+
{
|
| 1206 |
+
"type": "ref_text",
|
| 1207 |
+
"bbox": [
|
| 1208 |
+
0.512,
|
| 1209 |
+
0.444,
|
| 1210 |
+
0.883,
|
| 1211 |
+
0.523
|
| 1212 |
+
],
|
| 1213 |
+
"angle": 0,
|
| 1214 |
+
"content": "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), pages 5418-5426, Online. Association for Computational Linguistics."
|
| 1215 |
+
},
|
| 1216 |
+
{
|
| 1217 |
+
"type": "ref_text",
|
| 1218 |
+
"bbox": [
|
| 1219 |
+
0.512,
|
| 1220 |
+
0.534,
|
| 1221 |
+
0.883,
|
| 1222 |
+
0.6
|
| 1223 |
+
],
|
| 1224 |
+
"angle": 0,
|
| 1225 |
+
"content": "Vladislav Rutenberg. 1991. Complexity classification of truth maintenance systems. In STACS 91: 8th Annual Symposium on Theoretical Aspects of Computer Science Hamburg, Germany, February 14-16, 1991 Proceedings 8, pages 372-383. Springer."
|
| 1226 |
+
},
|
| 1227 |
+
{
|
| 1228 |
+
"type": "ref_text",
|
| 1229 |
+
"bbox": [
|
| 1230 |
+
0.512,
|
| 1231 |
+
0.611,
|
| 1232 |
+
0.883,
|
| 1233 |
+
0.663
|
| 1234 |
+
],
|
| 1235 |
+
"angle": 0,
|
| 1236 |
+
"content": "Anton Sinitsin, Vsevolod Plokhotnyuk, Dmitry Pyrkin, Sergei Popov, and Artem Babenko. 2020. Editable neural networks. In International Conference on Learning Representations."
|
| 1237 |
+
},
|
| 1238 |
+
{
|
| 1239 |
+
"type": "ref_text",
|
| 1240 |
+
"bbox": [
|
| 1241 |
+
0.512,
|
| 1242 |
+
0.674,
|
| 1243 |
+
0.883,
|
| 1244 |
+
0.728
|
| 1245 |
+
],
|
| 1246 |
+
"angle": 0,
|
| 1247 |
+
"content": "Elior Sulem, Jamaal Hay, and Dan Roth. 2021. Do we know what we don't know? studying unanswerable questions beyond squad 2.0. In Conference on Empirical Methods in Natural Language Processing."
|
| 1248 |
+
},
|
| 1249 |
+
{
|
| 1250 |
+
"type": "ref_text",
|
| 1251 |
+
"bbox": [
|
| 1252 |
+
0.512,
|
| 1253 |
+
0.738,
|
| 1254 |
+
0.883,
|
| 1255 |
+
0.791
|
| 1256 |
+
],
|
| 1257 |
+
"angle": 0,
|
| 1258 |
+
"content": "Elior Sulem, Jamaal Hay, and Dan Roth. 2022. Yes, no or idk: The challenge of unanswerable yes/no questions. In *North American Chapter of the Association for Computational Linguistics*."
|
| 1259 |
+
},
|
| 1260 |
+
{
|
| 1261 |
+
"type": "ref_text",
|
| 1262 |
+
"bbox": [
|
| 1263 |
+
0.512,
|
| 1264 |
+
0.802,
|
| 1265 |
+
0.883,
|
| 1266 |
+
0.855
|
| 1267 |
+
],
|
| 1268 |
+
"angle": 0,
|
| 1269 |
+
"content": "Kai Sun, Y. Xu, Hanwen Zha, Yue Liu, and Xinhsuai Dong. 2023. Head-to-tail: How knowledgeable are large language models (llm)? a.k.a. will llms replace knowledge graphs? ArXiv, abs/2308.10168."
|
| 1270 |
+
},
|
| 1271 |
+
{
|
| 1272 |
+
"type": "ref_text",
|
| 1273 |
+
"bbox": [
|
| 1274 |
+
0.512,
|
| 1275 |
+
0.866,
|
| 1276 |
+
0.883,
|
| 1277 |
+
0.919
|
| 1278 |
+
],
|
| 1279 |
+
"angle": 0,
|
| 1280 |
+
"content": "Pat Verga, Haitian Sun, Livio Baldini Soares, and William W. Cohen. 2020. Facts as experts: Adaptable and interpretable neural memory over symbolic knowledge."
|
| 1281 |
+
},
|
| 1282 |
+
{
|
| 1283 |
+
"type": "list",
|
| 1284 |
+
"bbox": [
|
| 1285 |
+
0.512,
|
| 1286 |
+
0.086,
|
| 1287 |
+
0.883,
|
| 1288 |
+
0.919
|
| 1289 |
+
],
|
| 1290 |
+
"angle": 0,
|
| 1291 |
+
"content": null
|
| 1292 |
+
}
|
| 1293 |
+
],
|
| 1294 |
+
[
|
| 1295 |
+
{
|
| 1296 |
+
"type": "ref_text",
|
| 1297 |
+
"bbox": [
|
| 1298 |
+
0.117,
|
| 1299 |
+
0.086,
|
| 1300 |
+
0.49,
|
| 1301 |
+
0.152
|
| 1302 |
+
],
|
| 1303 |
+
"angle": 0,
|
| 1304 |
+
"content": "Shicheng Xu, Liang Pang, Huawei Shen, Xueqi Cheng, and Tat-seng Chua. 2023. Search-in-the-chain: Towards the accurate, credible and traceable content generation for complex knowledge-intensive tasks. arXiv preprint arXiv:2304.14732."
|
| 1305 |
+
},
|
| 1306 |
+
{
|
| 1307 |
+
"type": "ref_text",
|
| 1308 |
+
"bbox": [
|
| 1309 |
+
0.117,
|
| 1310 |
+
0.162,
|
| 1311 |
+
0.49,
|
| 1312 |
+
0.215
|
| 1313 |
+
],
|
| 1314 |
+
"angle": 0,
|
| 1315 |
+
"content": "Zexuan Zhong, Tao Lei, and Danqi Chen. 2022. Training language models with memory augmentation. In Conference on Empirical Methods in Natural Language Processing."
|
| 1316 |
+
},
|
| 1317 |
+
{
|
| 1318 |
+
"type": "ref_text",
|
| 1319 |
+
"bbox": [
|
| 1320 |
+
0.117,
|
| 1321 |
+
0.224,
|
| 1322 |
+
0.49,
|
| 1323 |
+
0.278
|
| 1324 |
+
],
|
| 1325 |
+
"angle": 0,
|
| 1326 |
+
"content": "Chen Zhu, Ankit Singh Rawat, Manzil Zaheer, Srinadh Bhojanapalli, Daliang Li, Felix Yu, and Sanjiv Kumar. 2020. Modifying memories in transformer models. arXiv preprint arXiv:2012.00363."
|
| 1327 |
+
},
|
| 1328 |
+
{
|
| 1329 |
+
"type": "list",
|
| 1330 |
+
"bbox": [
|
| 1331 |
+
0.117,
|
| 1332 |
+
0.086,
|
| 1333 |
+
0.49,
|
| 1334 |
+
0.278
|
| 1335 |
+
],
|
| 1336 |
+
"angle": 0,
|
| 1337 |
+
"content": null
|
| 1338 |
+
}
|
| 1339 |
+
]
|
| 1340 |
+
]
|
2023/Emptying the Ocean with a Spoon_ Should We Edit Models_/04529405-4e73-4a21-827a-c746e1975cce_origin.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ca807355ccf1c65381119b7c69a002c9ae9417736168d93e17bb5dda82b09cdf
|
| 3 |
+
size 159722
|
2023/Emptying the Ocean with a Spoon_ Should We Edit Models_/full.md
ADDED
|
@@ -0,0 +1,166 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Emptying the Ocean with a Spoon: Should We Edit Models?
|
| 2 |
+
|
| 3 |
+
Yuval Pinter and Michael Elhadad
|
| 4 |
+
Department of Computer Science
|
| 5 |
+
Ben-Gurion University of the Negev
|
| 6 |
+
Be'er Sheva, Israel
|
| 7 |
+
{uvp, elhadad}@cs.bgu.ac.il
|
| 8 |
+
|
| 9 |
+
# Abstract
|
| 10 |
+
|
| 11 |
+
We call into question the recently popularized method of direct model editing as a means of correcting factual errors in LLM generations. We contrast model editing with three similar but distinct approaches that pursue better defined objectives: (1) retrieval-based architectures, which decouple factual memory from inference and linguistic capabilities embodied in LLMs; (2) concept erasure methods, which aim at preventing systemic bias in generated text; and (3) attribution methods, which aim at grounding generations into identified textual sources.
|
| 12 |
+
|
| 13 |
+
We argue that direct model editing cannot be trusted as a systematic remedy for the disadvantages inherent to LLMs, and while it has proven potential in improving model explainability, it opens risks by reinforcing the notion that models can be trusted for factuality. We call for cautious promotion and application of model editing as part of the LLM deployment process, and for responsibly limiting the use cases of LLMs to those not relying on editing as a critical component.
|
| 14 |
+
|
| 15 |
+
# 1 Introduction
|
| 16 |
+
|
| 17 |
+
Large language models, or LLMs, have taken the NLP world by storm. After originally focusing on training them as a vehicle for transfer learning, recent advancements have cast LLMs in the role of one-stop shop, all-knowing oracles. One particular finding that has contributed to this reframed usage is the apparent factuality properties of pre-trained LLMs: somehow, mere next-word prediction training has produced models that can complete certain correct facts about the world when asked to do so. LLMs have been perceived by the public at large as a replacement for search engines, and the scant disclaimers appearing in commercial services offering LLM querying do not appear to have made a dent in this perception.
|
| 18 |
+
|
| 19 |
+
Despite these developments, LLMs of course keep making mistakes. There is, after all, an inher
|
| 20 |
+
|
| 21 |
+
ent mismatch between their pre-training objective and the desire for factuality. In recent years, researchers have come up with several remedies to the problem of nonfactual LLM outputs, one of which being model editing, where parameters inside an LLM are tweaked based on individual facts marked for correction. These works focus on solving problems such as ensuring stability of other factual outputs following the editing, or batch editing, or computationally efficient editing. In this opinion paper, we call into question the entire idea of model editing, citing concerns about intended use cases, conceptual scalability, potential for bias, safety, and overall accountability. We advocate using models that have explicit knowledge modules for tasks requiring factual knowledge, and other existing techniques to mitigate the need for model editing in the first place. Having said that, we acknowledge the usefulness of direct editing for certain use cases such as interpretability probes, and recommend limiting editing to such scenarios.
|
| 22 |
+
|
| 23 |
+
# 2 Model Editing
|
| 24 |
+
|
| 25 |
+
Sinitsin et al. (2020) first introduce the notion of updating large ML models to account for local performance expectations motivated externally. They cite cases where mistakes are critical, like object detection in self-driving cars. Later work suggests model editing can aid in protecting privacy and eliminating bias (Zhu et al., 2020), and as a measure of "catching up" with time-sensitive facts such as "PM of the UK" changing over time (Bommasani et al., 2021; Mitchell et al., 2022), or as a means of understanding the mechanics of black box models (Meng et al., 2022). Sinitsin et al. (2020) specify several desired properties of editing methods: reliability (the target facts are updated as intended), locality (other changes don't happen; a measure for this property is termed drawdown), and efficiency (successful edits are computationally light); later work (De Cao et al., 2021) added generality (the
|
| 26 |
+
|
| 27 |
+
ability to modify models not originally trained for knowledge retention), consistency (robustness to paraphrasing, in the specific use case of text models), and an unspecified property we'll call frugality (only minimal components of the model are changed during editing). A well-studied limitation, which most of these works focus on mitigating, and related to locality, is catastrophic forgetting (Ratcliff, 1990), i.e., ensuring that an edited model does not lose performance on tasks for which it was explicitly trained and performs well on.
|
| 28 |
+
|
| 29 |
+
Methods for model editing have evolved from editable training (Sinitsin et al., 2020), a procedure requiring an a-priori decision that a model would later be edited, to the locality-motivated changing of specific parameters within models (Zhu et al., 2020; Meng et al., 2022). Recent work (Mitchell et al., 2022) draws attention to the danger of model performance degradation accumulating over the course of many successive edits, and seeks mitigation through improved methods. Hase et al. (2023b) extend the consistency requirement to hold over entailed and equivalent facts as well as paraphrases, suggesting model editing as a way of reconciling cases where certain facts are produced correctly but those entailed from them are not.
|
| 30 |
+
|
| 31 |
+
# 3 Critique
|
| 32 |
+
|
| 33 |
+
In this section, we present the case against model editing as a practice, regardless of the performance obtained by any single method. We begin with an analysis of the premise underlying the model editing research objective: the hypothesis that LLMs can be used as fact repositories. We then focus on reasons for which editing facts cannot be designed a-priori as a means to maintaining fact-providing LLMs, and continue with practical considerations for why even this ill-posed goal is probably unattainable.
|
| 34 |
+
|
| 35 |
+
# 3.1 LLMs as Knowledge Repositories?
|
| 36 |
+
|
| 37 |
+
The perception that LLMs can behave as knowledge repositories was first formulated and experimentally supported with the introduction of the LAMA benchmark (Petroni et al., 2019), where pretrained language models were queried in a zero-shot setting against 51K knowledge triplets extracted from knowledge banks and reformulated as fill-in-the-blank statements. 2019-level models (BERT-XL) got the top answer correctly about $26.5\%$ of the time. The limitations of the LAMA
|
| 38 |
+
|
| 39 |
+
study were later studied and this result was shown to not be robust against multi-token spans (as opposed to a single token answer; Kalo and Fichtel, 2022), in an open vocabulary setting (as opposed to a closed vocabulary of 21K tokens; Roberts et al., 2020), and when queries vary (Kassner and Schütze, 2020); indicating that the LAMA experiment relied on heuristics to predict answers. Since then, more realistic benchmarks have been introduced, as well as more robust querying techniques (Jiang et al., 2020), to address some of these limitations. As the scale of LLMs increased, recent work has also scaled up the size of benchmarks, shifting the focus to facts concerning rare entities, where even recent LLMs struggle (Kandpal et al., 2023; Sun et al., 2023). These experiments indicate that an LM's ability to answer a question depends on the number of times information relevant to that question appears in the pretraining data. As a result, LLMs cannot be safely used to answer queries about the long-tail of facts that have been rarely mentioned in pretraining (Mallen et al., 2023).
|
| 40 |
+
|
| 41 |
+
Beyond the capability to reliably answer queries, LLMs should also fulfill other requirements in order to be considered as fact repositories (AlKhamissi et al., 2022): the ability to edit knowledge (add, delete, update facts), logical consistency (answers to different but related facts must agree), reasoning (the ability to infer additional answers on the basis of logical rules), and explainability and interpretability (supporting an answer through a convincing chain of arguments). Experimental results assessing these dimensions indicate that current LLMs fail on all of them. He et al. (2023) demonstrate that LLMs underperform on computing ontology subsumption inference when compared with other trained approaches such as NLI models and symbolic systems such as OWL Reasoners (Glimm et al., 2014).
|
| 42 |
+
|
| 43 |
+
The evidence supporting the premise that LLMs can be used as fact repositories is, thus, currently weak. Beyond this fragile foundation, we focus below on specific arguments regarding the capability to edit models as if they were fact repositories.
|
| 44 |
+
|
| 45 |
+
# 3.2 Systemic Mismatch
|
| 46 |
+
|
| 47 |
+
A very basic property of LLMs which contrasts with their usage as knowledge repositories is their stochastic nature. When used for augmenting creative endeavours, for data exploration, or for freeform tasks such as summarization, this property
|
| 48 |
+
|
| 49 |
+
is desirable: the use case calls for variation or unexpectedness. In other cases, we may be content with models that supply us with a distribution of outputs, from which we can estimate the probability of individual responses and adjust our expectation for a reliable output. Since the latter is absent from many models available only through 3rd-party APIs, we are left with obtaining text generated from an unknown distribution, which we argue is insufficient for factuality-dependent applications.<sup>1</sup> It can even be argued that getting facts wrong is a feature of vanilla LLMs rather than a bug: as their core training procedure aims to simulate plausible continuation of text, it should not surprise us that models would repeat widely-assumed falsehoods in a way that negates the idea of using them for factual purposes. If most people think, and write, that Los Angeles is the capital of California,<sup>2</sup> an LLM is supposed to complete a relevant prompt accordingly. There is also no built-in reliability or robustness in LLMs that sample outputs from a distribution: two instances of the same prompt can easily produce contradicting facts, and indeed often do.
|
| 50 |
+
|
| 51 |
+
Additionally, the idea of editing facts in a model suggests that we always want a model to supply us with a fact as an answer to a question. However, at times, questions may be posed while pre-supposing or otherwise assuming harmful propositions such as stereotypes or conspiracy theories. Editing the "fact" associated with the question "which government agency faked the moon landing?" would not provide us with an improved model; what we may want is to remove such facts altogether, or provide the model with a means of challenging the presupposition, or avoiding giving any answer at all. At the same time, many relations that we would term "facts" can be argued to be vital notions without which certain kinds of basic communication is impossible.<sup>3</sup> An LLM that cannot assert whether trees have leaves, or asserts that they never do, is in danger of becoming irrelevant for most tasks requiring any kind of interaction with the world. As philosophy and practice surrounding these questions progresses, we can hope this gap between 'must-know' and 'must-not-know' will eventually tighten to form workable bounds on LLM knowledge capacity.
|
| 52 |
+
|
| 53 |
+
# 3.3 Architectural Implausibility
|
| 54 |
+
|
| 55 |
+
Estimates vary wildly, but there are over 100 million notable facts in the world. Even the cutoff for what constitutes a fact is unclear. Does a $3\%$ change in a demographics statistic, or a new esoteric sports record, call for an edit? Do the daily whereabouts of world leaders constitute facts? What about those of celebrities or journalists? As events unfold daily in world politics, economics, sports, and many other walks of life, facts are added and changed in larger quantities and rates than can be plausibly "caught up with" through surgical model editing, akin to emptying the ocean with a spoon. If we choose to limit ourselves in which facts we find important enough to edit, we introduce bias into the system, opening the door to a host of documented harms which permeate many language technologies (Chang et al., 2019; Blodgett et al., 2020). This choice can be implicit as well as explicit, and is incredibly hard to avoid.
|
| 56 |
+
|
| 57 |
+
In a similar vein, the vastness and variability of facts is likely to lead to bias in evaluating the complement set of edits, those facts controlled for as not changing following an edit (drawdown). Even paraphrases of edited facts are not guaranteed to change alongside the selected phrasing (De Cao et al., 2021), nor are entailed facts (Hase et al., 2023b). This problem also manifests as a safety issue, since unchecked facts can turn out to be quite important for model usage, but perhaps taken for granted (or simply not explicitly covered) when designing a drawdown benchmark.
|
| 58 |
+
|
| 59 |
+
There is evidence (Mallen et al., 2023; Jang et al., 2021) that facts above a certain "popularity threshold", measured in terms of views on Wikipedia articles, are harder to edit out of models compared to facts lying on the long tail of view distributions. Inherently being out of sight, the unpopular facts thus become susceptible to the double risk of being edited alongside target facts while not being deemed important enough to be checked during drawdown testing. The ultimate outcome of such procedures can be a monolithization of LLM-supplied "knowledge" that focuses on certain popular domains and interests while losing all usefulness in many topics contributing to the extensive diversity of the human and natural experience.
|
| 60 |
+
|
| 61 |
+
Empirical evidence indicates existing editing models fail to properly account for the ripple effect of a fact editing operation (Cohen et al., 2023). For example, the insertion of the fact "Jack Depp is the son of Johnny Depp" introduces a "ripple effect" in the form of additional facts that the model needs to update (e.g. "Jack Depp is the sibling of Lily-Rose Depp"). Results in symbolic approaches to this task have demonstrated that this knowledge updating task is of high computational complexity, even NP-hard, for example in Truth Maintenance Systems (TMS; Rutenburg, 1991). These results carry to approaches based on machine learning techniques (Knblauch et al., 2020). There is, therefore, theoretical basis to conclude that model editing will at best address the problem of consistent updating in a roughly approximate manner, and most likely fail to update rarely seen facts within the ripple effect of editing operations.
|
| 62 |
+
|
| 63 |
+
Finally, recent empirical findings show additional weaknesses of edit methods by extending the evaluation suites to cover aspects beyond fact editing metrics, such as specificity and robustness of the models post-editing (Onoe et al., 2023; Hoelscher-Obermaier et al., 2023; Hase et al., 2023a; Brown et al., 2023).
|
| 64 |
+
|
| 65 |
+
# 4 Alternatives to Model Editing
|
| 66 |
+
|
| 67 |
+
Model editing is motivated by the desire to control the text generated by LLMs to make them more compliant with desirable outcomes, specifically to control factuality: when an LLM generates text expressing an incorrect or obsolete fact, remove the fact from the LLM's "memory" and try again (Peng et al., 2023). Other relatively direct approaches to improve LLM factuality (and, in general, to control and revise the text generated by LLMs) have been proposed, most notably Reinforcement Learning with Human Feedback (RLHF; Bai et al., 2022; Ouyang et al., 2022; Ramamurthy et al., 2023; Rafailov et al., 2023; Carta et al., 2023), or adding a factuality objective to the training procedure (Lee et al., 2022). We now survey approaches which define a more achievable objective than that pursued by direct model editing or output manipulation. These approaches avoid the assumption that the LLM is a fact repository, and thus steer clear of the attempt to update this repository in a logically consistent manner, which is computationally hard to achieve and verify. While these alternatives avoid the more problematic aspects of model
|
| 68 |
+
|
| 69 |
+
editing, they still suffer from their own limitations, but we argue that they identify more promising research directions.
|
| 70 |
+
|
| 71 |
+
Incorporating Knowledge Bases In retrieval-based models, factual knowledge is explicitly represented in a dedicated component external to the LLM. The way this external fact store is represented and combined with the LLM varies: it can be a collection of textual documents that is searched using a text retrieval component, or an RDF graph, or encoded as a set of vector embeddings, or represented as modular expert LMs trained on curated datasets. In all cases, in the retrieval-based approach, the model can explicitly cite the source which underlies a specific generation, and let the user decide its credibility.
|
| 72 |
+
|
| 73 |
+
Once external (non-parametric) knowledge is retrieved, it must be composed with the LLM generation process. Khandelwal et al. (2020) introduce a k-nearest neighbor method with interpolation; RETRO (Borgeaud et al., 2021) combines the prompt with retrieved documents through a specialized cross-attention mechanism; other LLM-IR variants include a fusion-in-decoder method (ATLAS; Izacard et al., 2022) and TRIME (Zhong et al., 2022), all retrieval-based models that maintain the capacity for few-shot in-context learning.
|
| 74 |
+
|
| 75 |
+
Recent work addresses the integration of LLMs and IR by learning to combine results from search engines into the context provided to the LLM to answer a specific question (Xu et al., 2023). SAIL (Luo et al., 2023) introduces an instruction fine-tuning method to ground language generation on search results and learn to select trustworthy sources. CooK (Feng et al., 2023) approaches the task of combining multiple curated modular knowledge sources into an integrative system, where sources are modeled as independent LMs and an integrator LLM combines the information from these modules to answer a question.
|
| 76 |
+
|
| 77 |
+
In all of these approaches, factual knowledge is stored outside of the parameters of the LLM and can be manipulated without retraining the LLM. These approaches have been shown to be scalable in the number of facts. Editing the fact store means the same as updating a database, thus simplifying the formulation of the task.
|
| 78 |
+
|
| 79 |
+
Retrieval-based models, arguably, do not resolve all of the concerns we identify with model editing. The problem of identifying the provenance of a given generation span in these combined models
|
| 80 |
+
|
| 81 |
+
remains acute: the text can be determined by the internal LLM parameters, by the external stores, or by their combination, even if they are not logically consistent with one another. Facts that have been seen more often during LLM training may have more weight in this interpolation even if they are wrong or when they become obsolete. Zhu et al. (2020) claim that "modifying knowledge in explicit memory module networks like FaE (Verga et al., 2020) is not easier and demands changes in the LLM component as well." This effect was also identified in the RealQA baseline test (Kasai et al., 2022): in this benchmark containing questions about time-sensitive data, experiments showed that in many cases GPT-3 (Brown et al., 2020) properly integrated data retrieved from a KB and injected into the context, but often still generated text based on outdated data from the LLM. While the clear separation of the components and the identification of the composition of external knowledge improve transparency-sensitive tasks, the objective of identifying provenance in the generated text and controlling which sources are appropriate in a given context remains an open research question. The formulation of the task of attributing generated text to identifiable sources (AIS; Rashkin et al., 2022) is a key contribution to this direction. Neeman et al. (2022) also address an aspect of this issue with a counterfactual data augmentation technique to disentangle contextual and LLM knowledge when generating text.
|
| 82 |
+
|
| 83 |
+
Continual training focuses on incrementally training a model by introducing new tasks or new domains (e.g., Razdaibiedina et al., 2023). Model editing does not directly fall within this objective, as it concerns updating precise elements in the model while keeping tasks and domains unchanged. Yet, the identification of drawdown in model editing is similar to the risk of catastrophic forgetting identified in continual learning. Within this approach, we could situate model editing as a type of re-training or post-training. Zhu et al. (2020) note that just fine-tuning over a set of facts-to-update costs in degradation on other facts. Jang et al. (2021) identify the problem and propose to apply techniques from continual training to the task of incremental updating of LLM knowledge. Overall, while continuous training may seem to a priori avoid the risks of the model editing approach, it seems to suffer from many of the main evaluation problems.
|
| 84 |
+
|
| 85 |
+
Concept Erasure The goal of concept erasure (Elazar and Goldberg, 2018; Ravfogel et al., 2020; Belrose et al., 2023) is to remove unwanted bias from embeddings generated by LLMs and subsequently from the generated text. This goal is motivated by fairness objectives: preventing protected attributes from causally affecting text generation. This motivation is somehow related to that of model editing (prevent damage from generated text) but key differences exist: (1) the method addresses general, well-identified concepts (protected attributes such as gender, race, age) as opposed to less well-defined specific facts; (2) it operates as a post-hoc transformation of embeddings, as opposed to a modification of the model itself, and as such it allows for more accountability than an ever-changing model; (3) it is verifiable with well-defined metrics over a limited pre-declared scope. While concept erasure has more limited scope than model editing, it defines an objective that can be evaluated with aggregated metrics in a robust manner. One possible avenue of future research can be to examine whether the erasure approach can be extended to address specific aspects of factuality, such as temporal validity.
|
| 86 |
+
|
| 87 |
+
Maybe it's better to have a model that knows what it doesn't know? As identified in Kasai et al. (2022), a prerequisite to avoid generating wrong text is to identify what is not known: "can an open-domain QA system identify unanswerable cases?" The related issue of unanswerable questions has been addressed in a robust way (Rajpurkar et al., 2018; Sulem et al., 2021, 2022); yet the challenge in the context of LLMs and factuality is that problematic questions like those specified in §3.2 do look answerable.
|
| 88 |
+
|
| 89 |
+
# 5 Conclusion
|
| 90 |
+
|
| 91 |
+
We agree that model editing is an attractive task to define, with clear benchmarks and expected outcomes. However, in current practice it contributes towards unrealistic expectations that we can solve problems like LLM hallucinations, which would lead to potential harm in unleashing use cases that are not in fact within the capabilities of LLMs alone. We advocate for the usage of retrieval-augmented methods and other structural and post-hoc methods in order to achieve the stated large-scale goals, while conceding the benefits of editing to "safer" applications such as model interpretability and robustness checking.
|
| 92 |
+
|
| 93 |
+
# Acknowledgments
|
| 94 |
+
|
| 95 |
+
We thank Sarah Wiegrefe for comments on earlier drafts. We thank the reviewers for their valuable feedback. Yuval Pinter was supported in part by the Israeli Ministry of Innovation, Science and Technology (Grant 2022/5451).
|
| 96 |
+
|
| 97 |
+
# Limitations
|
| 98 |
+
|
| 99 |
+
This is an opinion paper. We have purposely not made empirical analyses in order to support our critique, knowing that data is contestable and may vary according to its collection methodology. We aim to convince on the merit of examples and rhetorical argumentation rather than concrete evidence, mostly out of our reach for the models under consideration, which we nevertheless urge readers and practitioners to seek and use in attempts to either support or disprove our claims.
|
| 100 |
+
|
| 101 |
+
# Ethical Considerations
|
| 102 |
+
|
| 103 |
+
# References
|
| 104 |
+
|
| 105 |
+
Badr AlKhamissi, Millicent Li, Asli Celikyilmaz, Mona T. Diab, and Marjan Ghazvininejad. 2022. A review on language models as knowledge bases. ArXiv, abs/2204.06031.
|
| 106 |
+
Yuntao Bai, Andy Jones, Kamal Ndousse, Amanda Askell, Anna Chen, Nova DasSarma, Dawn Drain, Stanislav Fort, Deep Ganguli, Tom Henighan, Nicholas Joseph, Saurav Kadavath, Jackson Kernion, Tom Conerly, Sheer El-Showk, Nelson Elhage, Zac Hatfield-Dodds, Danny Hernandez, Tristan Hume, Scott Johnston, Shauna Kravec, Liane Lovitt, Neel Nanda, Catherine Olsson, Dario Amodei, Tom Brown, Jack Clark, Sam McCandlish, Chris Olah, Ben Mann, and Jared Kaplan. 2022. Training a helpful and harmless assistant with reinforcement learning from human feedback.
|
| 107 |
+
Nora Belrose, David Schneider-Joseph, Shauli Ravfogel, Ryan Cotterell, Edward Raff, and Stella Biderman. 2023. Leace: Perfect linear concept erasure in closed form.
|
| 108 |
+
Su Lin Blodgett, Solon Barocas, Hal Daumé III, and Hanna Wallach. 2020. Language (technology) is power: A critical survey of "bias" in NLP. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pages 5454-5476, Online. Association for Computational Linguistics.
|
| 109 |
+
Rishi Bommasani, Drew A Hudson, Ehsan Adeli, Russ Altman, Simran Arora, Sydney von Arx, Michael S Bernstein, Jeannette Bohg, Antoine Bosse-lut, Emma Brunskill, et al. 2021. On the opportunities and risks of foundation models. arXiv preprint arXiv:2108.07258.
|
| 110 |
+
Sebastian Borgeaud, Arthur Mensch, Jordan Hoffmann, Trevor Cai, Eliza Rutherford, Katie Millican, George van den Driessche, Jean-Baptiste Lespiau, Bogdan Damoc, Aidan Clark, Diego de Las Casas, Aurelia Guy, Jacob Menick, Roman Ring, T. W. Hennigan, Saffron Huang, Lorenzo Maggiore, Chris Jones, Albin Cassirer, Andy Brock, Michela Paganini, Geoffrey Irving, Oriol Vinyals, Simon Osindero, Karen Simonyan, Jack W. Rae, Erich Elsen, and L. Sifre. 2021. Improving language models by retrieving from trillions of tokens. In International Conference on Machine Learning.
|
| 111 |
+
Davis Brown, Charles Godfrey, Cody Nizinski, Jonathan Tu, and Henry Kvinge. 2023. Robustness of edited neural networks.
|
| 112 |
+
Tom Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah, Jared D Kaplan, Prafulla Dhariwal, Arvind Neelakantan, Pranav Shyam, Girish Sastry, Amanda Askell, et al. 2020. Language models are few-shot learners. Advances in neural information processing systems, 33:1877-1901.
|
| 113 |
+
Thomas Carta, Clément Romac, Thomas Wolf, Sylvain Lamprier, Olivier Sigaud, and Pierre-Yves Oudeyer.
|
| 114 |
+
|
| 115 |
+
2023. Grounding large language models in interactive environments with online reinforcement learning. arXiv preprint arXiv:2302.02662.
|
| 116 |
+
Kai-Wei Chang, Vinodkumar Prabhakaran, and Vicente Ordonez. 2019. Bias and fairness in natural language processing. 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): Tutorial Abstracts, Hong Kong, China. Association for Computational Linguistics.
|
| 117 |
+
Roi Cohen, Eden Biran, Ori Yoran, Amir Globerson, and Mor Geva. 2023. Evaluating the ripple effects of knowledge editing in language models. arXiv preprint arXiv:2307.12976.
|
| 118 |
+
Nicola De Cao, Wilker Aziz, and Ivan Titov. 2021. Editing factual knowledge in language models. In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing, pages 6491-6506, Online and Punta Cana, Dominican Republic. Association for Computational Linguistics.
|
| 119 |
+
Yanai Elazar and Yoav Goldberg. 2018. Adversarial removal of demographic attributes from text data. In Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing, pages 11-21, Brussels, Belgium. Association for Computational Linguistics.
|
| 120 |
+
Shangbin Feng, Weijia Shi, Yuyang Bai, Vidhisha Balachandran, Tianxing He, and Yulia Tsvetkov. 2023. Cook: Empowering general-purpose language models with modular and collaborative knowledge. ArXiv, abs/2305.09955.
|
| 121 |
+
Birte Glimm, Ian Horrocks, Boris Motik, Giorgos Stoilos, and Zhe Wang. 2014. Hermit: An owl 2 reasoner. Journal of Automated Reasoning, 53:245-269.
|
| 122 |
+
Peter Hase, Mohit Bansal, Been Kim, and Asma Ghandeharioun. 2023a. Does localization inform editing? surprising differences in causality-based localization vs. knowledge editing in language models.
|
| 123 |
+
Peter Hase, Mona Diab, Asli Celikyilmaz, Xian Li, Zornitsa Kozareva, Veselin Stoyanov, Mohit Bansal, and Srinivasan Iyer. 2023b. Methods for measuring, updating, and visualizing factual beliefs in language models. In Proceedings of the 17th Conference of the European Chapter of the Association for Computational Linguistics, pages 2714-2731, Dubrovnik, Croatia. Association for Computational Linguistics.
|
| 124 |
+
Yuan He, Jiaoyan Chen, Ernesto Jimenez-Ruiz, Hang Dong, and Ian Horrocks. 2023. Language model analysis for ontology subsumption inference. In *Findings of the Association for Computational Linguistics: ACL* 2023, pages 3439-3453, Toronto, Canada. Association for Computational Linguistics.
|
| 125 |
+
Jason Hoelscher-Obermaier, Julia Persson, Esben Kran, Ioannis Konstas, and Fazl Berez. 2023. Detecting edit failures in large language models: An improved specificity benchmark.
|
| 126 |
+
|
| 127 |
+
Gautier Izacard, Patrick Lewis, Maria Lomeli, Lucas Hosseini, Fabio Petroni, Timo Schick, Jane A. Yu, Armand Joulin, Sebastian Riedel, and Edouard Grave. 2022. Few-shot learning with retrieval augmented language models. *ArXiv*, abs/2208.03299.
|
| 128 |
+
Joel Jang, Seonghyeon Ye, Sohee Yang, Joongbo Shin, Janghoon Han, Gyeonghun Kim, Stanley Jungkyu Choi, and Minjoon Seo. 2021. Towards continual knowledge learning of language models. International Conference on Learning Representations, abs/2110.03215.
|
| 129 |
+
Zhengbao Jiang, Frank F. Xu, Jun Araki, and Graham Neubig. 2020. How can we know what language models know? Transactions of the Association for Computational Linguistics, 8:423-438.
|
| 130 |
+
Jan-Christoph Kalo and Leandra Fichtel. 2022. Kamel: Knowledge analysis with multitoken entities in language models. In 4th Conference on Automated Knowledge Base Construction.
|
| 131 |
+
Nikhil Kandpal, Haikang Deng, Adam Roberts, Eric Wallace, and Colin Raffel. 2023. Large language models struggle to learn long-tail knowledge. In Proceedings of the 40th International Conference on Machine Learning, volume 202 of Proceedings of Machine Learning Research, pages 15696-15707. PMLR.
|
| 132 |
+
Jungo Kasai, Keisuke Sakaguchi, Yoichi Takahashi, Ronan Le Bras, Akari Asai, Xinyan Yu, Dragomir Radev, Noah A. Smith, Yejin Choi, and Kentaro Inui. 2022. Realtime qa: What's the answer right now?
|
| 133 |
+
Nora Kassner and Hinrich Schütze. 2020. Negated and misprimed probes for pretrained language models: Birds can talk, but cannot fly. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pages 7811-7818, Online. Association for Computational Linguistics.
|
| 134 |
+
Urvashi Khandelwal, Omer Levy, Dan Jurafsky, Luke Zettlemoyer, and Mike Lewis. 2020. Generalization through memorization: Nearest neighbor language models.
|
| 135 |
+
Jeremias Knoblauch, Hisham Husain, and Tom Diethe. 2020. Optimal continual learning has perfect memory and is np-hard. In International Conference on Machine Learning, pages 5327-5337. PMLR.
|
| 136 |
+
Nayeon Lee, Wei Ping, Peng Xu, Mostofa Patwary, Mohammad Shoeybi, and Bryan Catanzaro. 2022. Factuality enhanced language models for open-ended text generation. ArXiv, abs/2206.04624.
|
| 137 |
+
Hongyin Luo, Yung-Sung Chuang, Yuan Gong, Tianhua Zhang, Yoon Kim, Xixin Wu, Danny Fox, Helen Meng, and James Glass. 2023. Sail: Search-augmented instruction learning. arXiv preprint arXiv:2305.15225.
|
| 138 |
+
|
| 139 |
+
Alex Mallen, Akari Asai, Victor Zhong, Rajarshi Das, Daniel Khashabi, and Hannaneh Hajishirzi. 2023. When not to trust language models: Investigating effectiveness of parametric and non-parametric memories.
|
| 140 |
+
Kevin Meng, David Bau, Alex Andonian, and Yonatan Belinkov. 2022. Locating and editing factual associations in gpt. Advances in Neural Information Processing Systems, 35:17359-17372.
|
| 141 |
+
Eric Mitchell, Charles Lin, Antoine Bosselut, Chelsea Finn, and Christopher D. Manning. 2022. Fast model editing at scale. In ICLR.
|
| 142 |
+
Ella Neeman, Roee Aharoni, Or Honovich, Leshem Choshen, Idan Szpektor, and Omri Abend. 2022. Disentqa: Disentangling parametric and contextual knowledge with counterfactual question answering. ArXiv, abs/2211.05655.
|
| 143 |
+
Yasumasa Onoe, Michael J. Q. Zhang, Shankar Padmanabhan, Greg Durrett, and Eunsol Choi. 2023. Can lms learn new entities from descriptions? challenges in propagating injected knowledge.
|
| 144 |
+
Long Ouyang, Jeffrey Wu, Xu Jiang, Diogo Almeida, Carroll Wainwright, Pamela Mishkin, Chong Zhang, Sandhini Agarwal, Katarina Slama, Alex Ray, et al. 2022. Training language models to follow instructions with human feedback. Advances in Neural Information Processing Systems, 35:27730-27744.
|
| 145 |
+
Baolin Peng, Michel Galley, Pengcheng He, Hao Cheng, Yujia Xie, Yu Hu, Qiuyuan Huang, Lars Liden, Zhou Yu, Weizhu Chen, et al. 2023. Check your facts and try again: Improving large language models with external knowledge and automated feedback. arXiv preprint arXiv:2302.12813.
|
| 146 |
+
Fabio Petroni, Tim Rocttäschel, Sebastian Riedel, Patrick Lewis, Anton Bakhtin, Yuxiang Wu, and Alexander 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), pages 2463-2473, Hong Kong, China. Association for Computational Linguistics.
|
| 147 |
+
Rafael Rafailov, Archit Sharma, Eric Mitchell, Stefano Ermon, Christopher D. Manning, and Chelsea Finn. 2023. Direct preference optimization: Your language model is secretly a reward model.
|
| 148 |
+
Pranav Rajpurkar, Robin Jia, and Percy Liang. 2018. Know what you don't know: Unanswerable questions for squad. In Annual Meeting of the Association for Computational Linguistics.
|
| 149 |
+
Rajkumar Ramamurthy, Prithviraj Ammanabrolu, Kianté Brantley, Jack Hessel, Rafet Sifa, Christian Bauckhage, Hannaneh Hajishirzi, and Yejin Choi. 2023. Is reinforcement learning (not) for natural language processing: Benchmarks, baselines, and
|
| 150 |
+
|
| 151 |
+
building blocks for natural language policy optimization. In The Eleventh International Conference on Learning Representations.
|
| 152 |
+
Hannah Rashkin, Vitaly Nikolaev, Matthew Lamm, Lora Aroyo, Michael Collins, Dipanjan Das, Slav Petrov, Gaurav Singh Tomar, Iulia Turc, and David Reitter. 2022. Measuring attribution in natural language generation models.
|
| 153 |
+
Roger Ratcliff. 1990. Connectionist models of recognition memory: constraints imposed by learning and forgetting functions. *Psychological review*, 97(2):285.
|
| 154 |
+
Shauli Ravfogel, Yanai Elazar, Hila Gonen, Michael Twiton, and Yoav Goldberg. 2020. Null it out: Guarding protected attributes by iterative nullspace projection. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pages 7237-7256, Online. Association for Computational Linguistics.
|
| 155 |
+
Anastasia Razdaibiedina, Yuning Mao, Rui Hou, Madian Khabsa, Mike Lewis, and Amjad Almahairi. 2023. Progressive prompts: Continual learning for language models. ArXiv, abs/2301.12314.
|
| 156 |
+
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), pages 5418-5426, Online. Association for Computational Linguistics.
|
| 157 |
+
Vladislav Rutenberg. 1991. Complexity classification of truth maintenance systems. In STACS 91: 8th Annual Symposium on Theoretical Aspects of Computer Science Hamburg, Germany, February 14-16, 1991 Proceedings 8, pages 372-383. Springer.
|
| 158 |
+
Anton Sinitsin, Vsevolod Plokhotnyuk, Dmitry Pyrkin, Sergei Popov, and Artem Babenko. 2020. Editable neural networks. In International Conference on Learning Representations.
|
| 159 |
+
Elior Sulem, Jamaal Hay, and Dan Roth. 2021. Do we know what we don't know? studying unanswerable questions beyond squad 2.0. In Conference on Empirical Methods in Natural Language Processing.
|
| 160 |
+
Elior Sulem, Jamaal Hay, and Dan Roth. 2022. Yes, no or idk: The challenge of unanswerable yes/no questions. In *North American Chapter of the Association for Computational Linguistics*.
|
| 161 |
+
Kai Sun, Y. Xu, Hanwen Zha, Yue Liu, and Xinhsuai Dong. 2023. Head-to-tail: How knowledgeable are large language models (llm)? a.k.a. will llms replace knowledge graphs? ArXiv, abs/2308.10168.
|
| 162 |
+
Pat Verga, Haitian Sun, Livio Baldini Soares, and William W. Cohen. 2020. Facts as experts: Adaptable and interpretable neural memory over symbolic knowledge.
|
| 163 |
+
|
| 164 |
+
Shicheng Xu, Liang Pang, Huawei Shen, Xueqi Cheng, and Tat-seng Chua. 2023. Search-in-the-chain: Towards the accurate, credible and traceable content generation for complex knowledge-intensive tasks. arXiv preprint arXiv:2304.14732.
|
| 165 |
+
Zexuan Zhong, Tao Lei, and Danqi Chen. 2022. Training language models with memory augmentation. In Conference on Empirical Methods in Natural Language Processing.
|
| 166 |
+
Chen Zhu, Ankit Singh Rawat, Manzil Zaheer, Srinadh Bhojanapalli, Daliang Li, Felix Yu, and Sanjiv Kumar. 2020. Modifying memories in transformer models. arXiv preprint arXiv:2012.00363.
|
2023/Emptying the Ocean with a Spoon_ Should We Edit Models_/layout.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2023/Enabling Unsupervised Neural Machine Translation with Word-level Visual Representations/da4765a2-c600-4e0c-b5cb-fcc5f37e0be1_content_list.json
ADDED
|
@@ -0,0 +1,1666 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"type": "text",
|
| 4 |
+
"text": "Enabling Unsupervised Neural Machine Translation with Word-level Visual Representations",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
142,
|
| 8 |
+
80,
|
| 9 |
+
855,
|
| 10 |
+
122
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Chengpeng Fu $^{1,2}$ , Xiaocheng Feng $^{1,2}$ , Yichong Huang $^{1}$ , Wenshuai Huo $^{1,2}$ , Hui Wang $^{2}$ , Bin Qin $^{1,2}$ , Ting Liu $^{1,2}$",
|
| 17 |
+
"bbox": [
|
| 18 |
+
189,
|
| 19 |
+
129,
|
| 20 |
+
816,
|
| 21 |
+
164
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "<sup>1</sup>Harbin Institution of Technology, Harbin, China",
|
| 28 |
+
"bbox": [
|
| 29 |
+
300,
|
| 30 |
+
165,
|
| 31 |
+
699,
|
| 32 |
+
181
|
| 33 |
+
],
|
| 34 |
+
"page_idx": 0
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"type": "text",
|
| 38 |
+
"text": "$^{2}$ Pengcheng Laboratory, Shenzhen, China",
|
| 39 |
+
"bbox": [
|
| 40 |
+
331,
|
| 41 |
+
181,
|
| 42 |
+
670,
|
| 43 |
+
197
|
| 44 |
+
],
|
| 45 |
+
"page_idx": 0
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"type": "text",
|
| 49 |
+
"text": "fuchp@stu.hit.edu.cn, {huowsh, wangh06}@pc1.ac.cn",
|
| 50 |
+
"bbox": [
|
| 51 |
+
258,
|
| 52 |
+
198,
|
| 53 |
+
744,
|
| 54 |
+
212
|
| 55 |
+
],
|
| 56 |
+
"page_idx": 0
|
| 57 |
+
},
|
| 58 |
+
{
|
| 59 |
+
"type": "text",
|
| 60 |
+
"text": "{xcfeng,ychuang,qinb,tliu}@ir.hit.edu.cn",
|
| 61 |
+
"bbox": [
|
| 62 |
+
297,
|
| 63 |
+
215,
|
| 64 |
+
704,
|
| 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": "Unsupervised neural machine translation has recently made remarkable strides, achieving impressive results with the exclusive use of monolingual corpora. Nonetheless, these methods still exhibit fundamental flaws, such as confusing similar words. A straightforward remedy to rectify this drawback is to employ bilingual dictionaries, however, high-quality bilingual dictionaries can be costly to obtain. To overcome this limitation, we propose a method that incorporates images at the word level to augment the lexical mappings. Specifically, our method inserts visual representations into the model, modifying the corresponding embedding layer information. Besides, a visible matrix is adopted to isolate the impact of images on other unrelated words. Experiments on the Multi30k dataset with over 300,000 self-collected images validate the effectiveness in generating more accurate word translation, achieving an improvement of up to $+2.81$ BLEU score, which is comparable or even superior to using bilingual dictionaries. $^{1}$",
|
| 84 |
+
"bbox": [
|
| 85 |
+
141,
|
| 86 |
+
279,
|
| 87 |
+
460,
|
| 88 |
+
605
|
| 89 |
+
],
|
| 90 |
+
"page_idx": 0
|
| 91 |
+
},
|
| 92 |
+
{
|
| 93 |
+
"type": "text",
|
| 94 |
+
"text": "1 Introduction",
|
| 95 |
+
"text_level": 1,
|
| 96 |
+
"bbox": [
|
| 97 |
+
114,
|
| 98 |
+
618,
|
| 99 |
+
258,
|
| 100 |
+
633
|
| 101 |
+
],
|
| 102 |
+
"page_idx": 0
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"type": "text",
|
| 106 |
+
"text": "Unsupervised Neural Machine Translation (UNMT) (Zhang et al., 2017; Artetxe et al., 2018; Lample et al., 2018a,b,c) seeks to avoid the necessity for high-quality bilingual data in conventional machine translation by exploring the possibility of completing translations relying solely on the monolingual corpus. Consisting of three main components, cross-lingual language model initialization, denoising auto-encoder, and iterative back translation, recent methods (Conneau and Lample, 2019; Song et al., 2019) have achieved promising results.",
|
| 107 |
+
"bbox": [
|
| 108 |
+
112,
|
| 109 |
+
643,
|
| 110 |
+
487,
|
| 111 |
+
835
|
| 112 |
+
],
|
| 113 |
+
"page_idx": 0
|
| 114 |
+
},
|
| 115 |
+
{
|
| 116 |
+
"type": "text",
|
| 117 |
+
"text": "Nonetheless, recent UNMT approaches have been observed to make particular errors in comparison to supervised machine translation, such",
|
| 118 |
+
"bbox": [
|
| 119 |
+
112,
|
| 120 |
+
835,
|
| 121 |
+
489,
|
| 122 |
+
885
|
| 123 |
+
],
|
| 124 |
+
"page_idx": 0
|
| 125 |
+
},
|
| 126 |
+
{
|
| 127 |
+
"type": "text",
|
| 128 |
+
"text": "as confusing nouns that pertain to the same semantic category. For instance, Bapna et al. (2022) demonstrates that their models translate \"lion\" to \"rabbit\" or \"snake\" despite getting good CHRF scores. In the context of supervised machine translation, pinpointing accurate translations of words is straightforward with aligned bilingual data. However, with only monolingual data, the unsupervised model must rely on large amounts of context for word mapping, which can lead to confusion between words with similar distributions, particularly when there is insufficient data. To address this issue, a direct solution is to integrate high-quality bilingual dictionaries into the UNMT process using codeswitching or spliced methods (Jones et al., 2023). High-quality bilingual dictionaries can be obtained through manual annotation and bilingual data extraction, yet these methods either involve high costs or deviate from the original objective of the UNMT task.",
|
| 129 |
+
"bbox": [
|
| 130 |
+
507,
|
| 131 |
+
253,
|
| 132 |
+
885,
|
| 133 |
+
573
|
| 134 |
+
],
|
| 135 |
+
"page_idx": 0
|
| 136 |
+
},
|
| 137 |
+
{
|
| 138 |
+
"type": "text",
|
| 139 |
+
"text": "In addition to utilizing explicit bilingual dictionaries for word mapping, implicit methods can also be employed. As the saying goes, \"A picture is worth a thousand words\". We can leverage the \"thousand words\" represented by corresponding images to learn the mapping between words in different languages. Visual content has the potential to enhance word mapping abilities in latent spaces, as the physical visual perception is congruent among speakers of diverse languages (Huang et al., 2020). Furthermore, the cost of annotating a bilingual dictionary is relatively high, whereas the cost of searching images with monolingual keywords is relatively low in the era of sophisticated search engines. Describing an image is also less demanding for humans compared to translating a word, as the former only requires mastery of one language while the latter requires at least two.",
|
| 140 |
+
"bbox": [
|
| 141 |
+
507,
|
| 142 |
+
577,
|
| 143 |
+
884,
|
| 144 |
+
866
|
| 145 |
+
],
|
| 146 |
+
"page_idx": 0
|
| 147 |
+
},
|
| 148 |
+
{
|
| 149 |
+
"type": "text",
|
| 150 |
+
"text": "Drawing on these insights, we propose to integrate word-level image information into the UNMT process to mitigate the issue of lexical confusion.",
|
| 151 |
+
"bbox": [
|
| 152 |
+
507,
|
| 153 |
+
871,
|
| 154 |
+
884,
|
| 155 |
+
917
|
| 156 |
+
],
|
| 157 |
+
"page_idx": 0
|
| 158 |
+
},
|
| 159 |
+
{
|
| 160 |
+
"type": "page_footnote",
|
| 161 |
+
"text": "<sup>1</sup>The word-image dataset and associated codes are publicly available at: https://github.com/Brianmax99/UNMT-WVR",
|
| 162 |
+
"bbox": [
|
| 163 |
+
112,
|
| 164 |
+
892,
|
| 165 |
+
487,
|
| 166 |
+
917
|
| 167 |
+
],
|
| 168 |
+
"page_idx": 0
|
| 169 |
+
},
|
| 170 |
+
{
|
| 171 |
+
"type": "page_number",
|
| 172 |
+
"text": "12608",
|
| 173 |
+
"bbox": [
|
| 174 |
+
475,
|
| 175 |
+
927,
|
| 176 |
+
524,
|
| 177 |
+
940
|
| 178 |
+
],
|
| 179 |
+
"page_idx": 0
|
| 180 |
+
},
|
| 181 |
+
{
|
| 182 |
+
"type": "footer",
|
| 183 |
+
"text": "Findings of the Association for Computational Linguistics: EMNLP 2023, pages 12608-12618 December 6-10, 2023 ©2023 Association for Computational Linguistics",
|
| 184 |
+
"bbox": [
|
| 185 |
+
210,
|
| 186 |
+
945,
|
| 187 |
+
786,
|
| 188 |
+
972
|
| 189 |
+
],
|
| 190 |
+
"page_idx": 0
|
| 191 |
+
},
|
| 192 |
+
{
|
| 193 |
+
"type": "text",
|
| 194 |
+
"text": "It's worth noting that we don't use sentence-level images like some multi-modal UNMT approaches (Su et al. (2019); Huang et al. (2020)). Instead, we focused on word-level images since they are more effective and flexible in addressing the challenge of lexical confusion and are easier to collect. Our approach involves augmenting the encoded images to their corresponding words, modifying the corresponding position and language encoding information, and utilizing a visible matrix to isolate the impact of images on other words. We conduct experiments utilizing over 300,000 self-collected images, and further analysis demonstrates that we have effectively mitigated lexical confusion to a certain extent. Furthermore, we achieve new state-of-the-art results for the UNMT task in certain language directions on the Multi30k dataset. The main contributions of this work can be summarized as follows:",
|
| 195 |
+
"bbox": [
|
| 196 |
+
112,
|
| 197 |
+
84,
|
| 198 |
+
489,
|
| 199 |
+
388
|
| 200 |
+
],
|
| 201 |
+
"page_idx": 1
|
| 202 |
+
},
|
| 203 |
+
{
|
| 204 |
+
"type": "list",
|
| 205 |
+
"sub_type": "text",
|
| 206 |
+
"list_items": [
|
| 207 |
+
"- We introduce a concise yet potent framework that integrates word-level images to alleviate the similar lexical confusion issue in UNMT, without utilizing bilingual dictionaries.",
|
| 208 |
+
"- Our approach has achieved promising or even unparalleled unsupervised results on the Multi30K dataset for certain language pairs.",
|
| 209 |
+
"- We release the word-image datasets for five languages as open-source, which can serve as a valuable resource to the community."
|
| 210 |
+
],
|
| 211 |
+
"bbox": [
|
| 212 |
+
136,
|
| 213 |
+
406,
|
| 214 |
+
487,
|
| 215 |
+
582
|
| 216 |
+
],
|
| 217 |
+
"page_idx": 1
|
| 218 |
+
},
|
| 219 |
+
{
|
| 220 |
+
"type": "text",
|
| 221 |
+
"text": "2 Methods",
|
| 222 |
+
"text_level": 1,
|
| 223 |
+
"bbox": [
|
| 224 |
+
114,
|
| 225 |
+
596,
|
| 226 |
+
225,
|
| 227 |
+
612
|
| 228 |
+
],
|
| 229 |
+
"page_idx": 1
|
| 230 |
+
},
|
| 231 |
+
{
|
| 232 |
+
"type": "text",
|
| 233 |
+
"text": "In this section, we first review the text-only UNMT process. Then, we present our proposed method for incorporating images, which involves the modified embedding layer and mask transformer. Finally, we introduce some training strategies.",
|
| 234 |
+
"bbox": [
|
| 235 |
+
112,
|
| 236 |
+
625,
|
| 237 |
+
489,
|
| 238 |
+
706
|
| 239 |
+
],
|
| 240 |
+
"page_idx": 1
|
| 241 |
+
},
|
| 242 |
+
{
|
| 243 |
+
"type": "text",
|
| 244 |
+
"text": "2.1 Unsupervised Neural Machine Translation",
|
| 245 |
+
"text_level": 1,
|
| 246 |
+
"bbox": [
|
| 247 |
+
112,
|
| 248 |
+
719,
|
| 249 |
+
487,
|
| 250 |
+
736
|
| 251 |
+
],
|
| 252 |
+
"page_idx": 1
|
| 253 |
+
},
|
| 254 |
+
{
|
| 255 |
+
"type": "text",
|
| 256 |
+
"text": "Successful UNMT systems typically employ an encoder-decoder architecture similar to that of supervised machine translation, sharing parameters between the source-to-target and target-to-source models. They share several common principles: initialization, iterative back-translation, and denoising autoencoder. Let $X = \\{X_{i}\\}_{i=1}^{M}$ denote monolingual data in language $L_{1}$ and $Y = \\{Y_{i}\\}_{i=1}^{N}$ in language $L_{2}$ . $M$ and $N$ are the sentence number of monolingual data $X$ and $Y$ respectively. $\\theta$ represents the UNMT model parameters.",
|
| 257 |
+
"bbox": [
|
| 258 |
+
112,
|
| 259 |
+
741,
|
| 260 |
+
490,
|
| 261 |
+
919
|
| 262 |
+
],
|
| 263 |
+
"page_idx": 1
|
| 264 |
+
},
|
| 265 |
+
{
|
| 266 |
+
"type": "text",
|
| 267 |
+
"text": "Initialization. Performing parameter initialization that is non-random can introduce cross-lingual prior knowledge into the model. There are currently two main initialization methods for UNMT models. The first method initializes the embedding layer of a UNMT model with word pretrained embeddings, while the second method uses a pretrained cross-lingual language model with the same structure as the UNMT encoder to initialize most of the neural network parameters.",
|
| 268 |
+
"bbox": [
|
| 269 |
+
507,
|
| 270 |
+
84,
|
| 271 |
+
884,
|
| 272 |
+
244
|
| 273 |
+
],
|
| 274 |
+
"page_idx": 1
|
| 275 |
+
},
|
| 276 |
+
{
|
| 277 |
+
"type": "text",
|
| 278 |
+
"text": "Iterative Back-translation. Back-translation is a method that leverages monolingual data in the target language and a reverse translation model to generate pseudo-source data, improving the quality of translations in the forward direction. In UNMT, where only monolingual data is available, back-translation is used to generate pseudo-parallel data, transforming the unsupervised problem into a weakly or self-supervised one. During training, back-translation is repeatedly applied in an iterative manner. The loss is defined as followed:",
|
| 279 |
+
"bbox": [
|
| 280 |
+
507,
|
| 281 |
+
253,
|
| 282 |
+
884,
|
| 283 |
+
429
|
| 284 |
+
],
|
| 285 |
+
"page_idx": 1
|
| 286 |
+
},
|
| 287 |
+
{
|
| 288 |
+
"type": "equation",
|
| 289 |
+
"text": "\n$$\n\\begin{array}{l} \\mathcal {L} _ {B} = \\sum_ {i = 1} ^ {M} - \\log P _ {L _ {2} \\rightarrow L _ {1}} \\left(X _ {i} \\mid S _ {L _ {1} \\rightarrow L _ {2}} \\left(X _ {i}, \\theta\\right), \\theta\\right) \\tag {1} \\\\ + \\sum_ {j = 1} ^ {N} - l o g P _ {L _ {1} \\rightarrow L _ {2}} (Y _ {j} | S _ {L _ {2} \\rightarrow L _ {1}} (Y _ {j}, \\theta), \\theta) \\\\ \\end{array}\n$$\n",
|
| 290 |
+
"text_format": "latex",
|
| 291 |
+
"bbox": [
|
| 292 |
+
542,
|
| 293 |
+
445,
|
| 294 |
+
882,
|
| 295 |
+
519
|
| 296 |
+
],
|
| 297 |
+
"page_idx": 1
|
| 298 |
+
},
|
| 299 |
+
{
|
| 300 |
+
"type": "text",
|
| 301 |
+
"text": "where $P_{L_a\\to L_b}$ denotes the translation probabilities between two languages and $S_{L_a\\rightarrow L_b}$ denotes the translation processes from language $L_{a}$ to $L_{b}$ .",
|
| 302 |
+
"bbox": [
|
| 303 |
+
507,
|
| 304 |
+
525,
|
| 305 |
+
880,
|
| 306 |
+
574
|
| 307 |
+
],
|
| 308 |
+
"page_idx": 1
|
| 309 |
+
},
|
| 310 |
+
{
|
| 311 |
+
"type": "text",
|
| 312 |
+
"text": "Denoising Autoencoder. The introduction of the denoising autoencoder aims to guide the model in producing fluent text output. This is achieved by adding noise to sentences through techniques such as replacement, deletion, and shuffling, and then allowing the model to output the correct and fluent original sentence. The loss is defined as follows:",
|
| 313 |
+
"bbox": [
|
| 314 |
+
507,
|
| 315 |
+
581,
|
| 316 |
+
882,
|
| 317 |
+
694
|
| 318 |
+
],
|
| 319 |
+
"page_idx": 1
|
| 320 |
+
},
|
| 321 |
+
{
|
| 322 |
+
"type": "equation",
|
| 323 |
+
"text": "\n$$\n\\begin{array}{l} \\mathcal {L} _ {D} = \\sum_ {i = 1} ^ {M} - \\log P _ {L _ {1} \\rightarrow L _ {1}} \\left(X _ {i} \\mid \\mathcal {N} \\left(X _ {i}\\right), \\theta\\right) \\tag {2} \\\\ + \\sum_ {j = 1} ^ {N} - l o g P _ {L _ {2} \\rightarrow L _ {2}} \\left(Y _ {j} \\mid \\mathcal {N} (Y _ {j}), \\theta\\right) \\\\ \\end{array}\n$$\n",
|
| 324 |
+
"text_format": "latex",
|
| 325 |
+
"bbox": [
|
| 326 |
+
569,
|
| 327 |
+
709,
|
| 328 |
+
882,
|
| 329 |
+
783
|
| 330 |
+
],
|
| 331 |
+
"page_idx": 1
|
| 332 |
+
},
|
| 333 |
+
{
|
| 334 |
+
"type": "text",
|
| 335 |
+
"text": "where $\\mathcal{N}(\\cdot)$ refers to the noise functions. $P_{L_a\\to L_a}$ denotes the reconstruction probabilities in $L_{a}$ .",
|
| 336 |
+
"bbox": [
|
| 337 |
+
507,
|
| 338 |
+
790,
|
| 339 |
+
880,
|
| 340 |
+
822
|
| 341 |
+
],
|
| 342 |
+
"page_idx": 1
|
| 343 |
+
},
|
| 344 |
+
{
|
| 345 |
+
"type": "text",
|
| 346 |
+
"text": "The final objective function of UNMT is:",
|
| 347 |
+
"bbox": [
|
| 348 |
+
526,
|
| 349 |
+
822,
|
| 350 |
+
835,
|
| 351 |
+
837
|
| 352 |
+
],
|
| 353 |
+
"page_idx": 1
|
| 354 |
+
},
|
| 355 |
+
{
|
| 356 |
+
"type": "equation",
|
| 357 |
+
"text": "\n$$\n\\mathcal {L} = \\mathcal {L} _ {B} + \\lambda_ {D} \\mathcal {L} _ {D} \\tag {3}\n$$\n",
|
| 358 |
+
"text_format": "latex",
|
| 359 |
+
"bbox": [
|
| 360 |
+
626,
|
| 361 |
+
846,
|
| 362 |
+
882,
|
| 363 |
+
862
|
| 364 |
+
],
|
| 365 |
+
"page_idx": 1
|
| 366 |
+
},
|
| 367 |
+
{
|
| 368 |
+
"type": "text",
|
| 369 |
+
"text": "where $\\lambda_{D}$ is a hyper-parameter that weights denoise autoencoder loss term and is gradually reduced during training.",
|
| 370 |
+
"bbox": [
|
| 371 |
+
507,
|
| 372 |
+
871,
|
| 373 |
+
884,
|
| 374 |
+
917
|
| 375 |
+
],
|
| 376 |
+
"page_idx": 1
|
| 377 |
+
},
|
| 378 |
+
{
|
| 379 |
+
"type": "page_number",
|
| 380 |
+
"text": "12609",
|
| 381 |
+
"bbox": [
|
| 382 |
+
477,
|
| 383 |
+
927,
|
| 384 |
+
524,
|
| 385 |
+
940
|
| 386 |
+
],
|
| 387 |
+
"page_idx": 1
|
| 388 |
+
},
|
| 389 |
+
{
|
| 390 |
+
"type": "image",
|
| 391 |
+
"img_path": "images/a27cac5cbce675af81757d07cbf656191f31d0d39c6ad2bffb58c815a869ec83.jpg",
|
| 392 |
+
"image_caption": [
|
| 393 |
+
"Figure 1: The process of converting an image-inserted sentence into an embedding representation."
|
| 394 |
+
],
|
| 395 |
+
"image_footnote": [],
|
| 396 |
+
"bbox": [
|
| 397 |
+
136,
|
| 398 |
+
84,
|
| 399 |
+
860,
|
| 400 |
+
379
|
| 401 |
+
],
|
| 402 |
+
"page_idx": 2
|
| 403 |
+
},
|
| 404 |
+
{
|
| 405 |
+
"type": "text",
|
| 406 |
+
"text": "2.2 Image Fusion",
|
| 407 |
+
"text_level": 1,
|
| 408 |
+
"bbox": [
|
| 409 |
+
112,
|
| 410 |
+
430,
|
| 411 |
+
268,
|
| 412 |
+
445
|
| 413 |
+
],
|
| 414 |
+
"page_idx": 2
|
| 415 |
+
},
|
| 416 |
+
{
|
| 417 |
+
"type": "text",
|
| 418 |
+
"text": "In this section, we present how to incorporate word-level images into the UNMT process to tackle the issue of lexical confusion. The main concept behind our approach is that words can acquire information not only from contextual information but also from their corresponding images. Let $X_{i} = \\{x_{i}^{1}, x_{i}^{2}, \\dots, x_{i}^{K}\\}$ denote a sentence from $X$ in language $L_{1}$ and $x_{i}^{K}$ denotes the $k$ -th word in sentence $X_{i}$ . We denote a lookup table consisting of word-image pairs as $\\mathcal{D}_{L_i} = \\{(word, I_{word})\\}$ , where $I_{word}$ is an image set with one or multiple images that depict the meaning of the word.",
|
| 419 |
+
"bbox": [
|
| 420 |
+
112,
|
| 421 |
+
451,
|
| 422 |
+
487,
|
| 423 |
+
643
|
| 424 |
+
],
|
| 425 |
+
"page_idx": 2
|
| 426 |
+
},
|
| 427 |
+
{
|
| 428 |
+
"type": "text",
|
| 429 |
+
"text": "As shown in Figure $1^{2}$ , we segment an input sentence $X_{i}$ at the word level and obtain the images by retrieving the words appearing in the lookup table $\\mathcal{D}_{L_i}$ . Then, we concatenate the retrieved images to the corresponding words, resulting in an Image-Inserted Sentence denoted $IIS_{i}$ . Each word can be concatenated with one or multiple images. Formally, We denote $IIS_{i}$ as follow:",
|
| 430 |
+
"bbox": [
|
| 431 |
+
112,
|
| 432 |
+
645,
|
| 433 |
+
489,
|
| 434 |
+
774
|
| 435 |
+
],
|
| 436 |
+
"page_idx": 2
|
| 437 |
+
},
|
| 438 |
+
{
|
| 439 |
+
"type": "equation",
|
| 440 |
+
"text": "\n$$\nI I S _ {i} = \\left\\{x _ {i} ^ {1}, \\widehat {I} _ {x _ {i} ^ {1}}, x _ {i} ^ {2}, \\widehat {I} _ {x _ {i} ^ {2}}, \\dots , x _ {i} ^ {K}, \\widehat {I} _ {x _ {i} ^ {K}} \\right\\} \\quad (4)\n$$\n",
|
| 441 |
+
"text_format": "latex",
|
| 442 |
+
"bbox": [
|
| 443 |
+
156,
|
| 444 |
+
784,
|
| 445 |
+
487,
|
| 446 |
+
809
|
| 447 |
+
],
|
| 448 |
+
"page_idx": 2
|
| 449 |
+
},
|
| 450 |
+
{
|
| 451 |
+
"type": "text",
|
| 452 |
+
"text": "where $\\widehat{I}_{x_i^K}$ is the image subset of $I_{x_i^K}$ ( $\\widehat{I}_{x_i^K}$ can be an empty set). We define this process of injecting images as:",
|
| 453 |
+
"bbox": [
|
| 454 |
+
112,
|
| 455 |
+
820,
|
| 456 |
+
487,
|
| 457 |
+
871
|
| 458 |
+
],
|
| 459 |
+
"page_idx": 2
|
| 460 |
+
},
|
| 461 |
+
{
|
| 462 |
+
"type": "equation",
|
| 463 |
+
"text": "\n$$\nI I S = \\mathcal {I} (X) \\tag {5}\n$$\n",
|
| 464 |
+
"text_format": "latex",
|
| 465 |
+
"bbox": [
|
| 466 |
+
643,
|
| 467 |
+
448,
|
| 468 |
+
882,
|
| 469 |
+
464
|
| 470 |
+
],
|
| 471 |
+
"page_idx": 2
|
| 472 |
+
},
|
| 473 |
+
{
|
| 474 |
+
"type": "text",
|
| 475 |
+
"text": "where $IIS = \\{IIS_{i}\\}_{i = 1}^{M}$ .",
|
| 476 |
+
"bbox": [
|
| 477 |
+
507,
|
| 478 |
+
472,
|
| 479 |
+
702,
|
| 480 |
+
491
|
| 481 |
+
],
|
| 482 |
+
"page_idx": 2
|
| 483 |
+
},
|
| 484 |
+
{
|
| 485 |
+
"type": "text",
|
| 486 |
+
"text": "After obtaining the $IIS$ , we need to integrate them into the UNMT model. To achieve this integration, we employ a modified embedding layer and a mask transformer.",
|
| 487 |
+
"bbox": [
|
| 488 |
+
507,
|
| 489 |
+
491,
|
| 490 |
+
882,
|
| 491 |
+
554
|
| 492 |
+
],
|
| 493 |
+
"page_idx": 2
|
| 494 |
+
},
|
| 495 |
+
{
|
| 496 |
+
"type": "text",
|
| 497 |
+
"text": "2.2.1 Modified Embedding Layer",
|
| 498 |
+
"text_level": 1,
|
| 499 |
+
"bbox": [
|
| 500 |
+
507,
|
| 501 |
+
565,
|
| 502 |
+
786,
|
| 503 |
+
582
|
| 504 |
+
],
|
| 505 |
+
"page_idx": 2
|
| 506 |
+
},
|
| 507 |
+
{
|
| 508 |
+
"type": "text",
|
| 509 |
+
"text": "The first modification part is the embedding layer, which generally includes token embedding, position embedding, and, in some models, language embedding. An example can be seen in Figure 1.",
|
| 510 |
+
"bbox": [
|
| 511 |
+
505,
|
| 512 |
+
586,
|
| 513 |
+
882,
|
| 514 |
+
651
|
| 515 |
+
],
|
| 516 |
+
"page_idx": 2
|
| 517 |
+
},
|
| 518 |
+
{
|
| 519 |
+
"type": "text",
|
| 520 |
+
"text": "Token Embedding. In the context of $IIS$ , both textual words and images are present. Given that most current machine translation methods operate at the subword level, we proceed to tokenize the $IIS$ , focusing solely on the textual component of $IIS$ . For encoding textual tokens, we continue to utilize the embedding layer from the original text-only model. Regarding images, we leverage the CLIP (Radford et al., 2021) model as the image encoder to extract visual features. The CLIP model is a multi-modal model trained on a variety of (image, text) pairs, which possesses a powerful capability to represent images. To prevent negative impacts on the encoding of images during the UNMT process, we freeze the visual encoder. However, directly using these representations may lead",
|
| 521 |
+
"bbox": [
|
| 522 |
+
507,
|
| 523 |
+
661,
|
| 524 |
+
884,
|
| 525 |
+
919
|
| 526 |
+
],
|
| 527 |
+
"page_idx": 2
|
| 528 |
+
},
|
| 529 |
+
{
|
| 530 |
+
"type": "page_footnote",
|
| 531 |
+
"text": "2\"Blue\" is an adjective in the figure. In our image collection process, \"blue\" can also appear as a noun in other training samples.",
|
| 532 |
+
"bbox": [
|
| 533 |
+
112,
|
| 534 |
+
879,
|
| 535 |
+
487,
|
| 536 |
+
917
|
| 537 |
+
],
|
| 538 |
+
"page_idx": 2
|
| 539 |
+
},
|
| 540 |
+
{
|
| 541 |
+
"type": "page_number",
|
| 542 |
+
"text": "12610",
|
| 543 |
+
"bbox": [
|
| 544 |
+
477,
|
| 545 |
+
927,
|
| 546 |
+
524,
|
| 547 |
+
940
|
| 548 |
+
],
|
| 549 |
+
"page_idx": 2
|
| 550 |
+
},
|
| 551 |
+
{
|
| 552 |
+
"type": "text",
|
| 553 |
+
"text": "to a gap between the image encoding space and the semantic space in UNMT. Therefore, we employ an MLP layer to bridge this gap.",
|
| 554 |
+
"bbox": [
|
| 555 |
+
112,
|
| 556 |
+
84,
|
| 557 |
+
487,
|
| 558 |
+
134
|
| 559 |
+
],
|
| 560 |
+
"page_idx": 3
|
| 561 |
+
},
|
| 562 |
+
{
|
| 563 |
+
"type": "text",
|
| 564 |
+
"text": "Position Embedding. Positional encoding is a crucial module that supplements token structural information. For textual information in $IIS$ , we continue to encode the position in the original order of the input sentence to prevent interference with sentence structure learning when integrating images into the model. For images, we assign the positional encoding of the first subword in the tokenized result for the corresponding word.",
|
| 565 |
+
"bbox": [
|
| 566 |
+
112,
|
| 567 |
+
140,
|
| 568 |
+
487,
|
| 569 |
+
286
|
| 570 |
+
],
|
| 571 |
+
"page_idx": 3
|
| 572 |
+
},
|
| 573 |
+
{
|
| 574 |
+
"type": "text",
|
| 575 |
+
"text": "Language Embedding. Some UNMT models incorporate language embedding to inform the model of the input language and the desired output language. For textual information, we continue to utilize the original language encoding. However, for image information, as it does not belong to any language, we introduce a new image identifier.",
|
| 576 |
+
"bbox": [
|
| 577 |
+
112,
|
| 578 |
+
294,
|
| 579 |
+
489,
|
| 580 |
+
407
|
| 581 |
+
],
|
| 582 |
+
"page_idx": 3
|
| 583 |
+
},
|
| 584 |
+
{
|
| 585 |
+
"type": "text",
|
| 586 |
+
"text": "2.2.2 Mask Transformer",
|
| 587 |
+
"text_level": 1,
|
| 588 |
+
"bbox": [
|
| 589 |
+
114,
|
| 590 |
+
414,
|
| 591 |
+
324,
|
| 592 |
+
429
|
| 593 |
+
],
|
| 594 |
+
"page_idx": 3
|
| 595 |
+
},
|
| 596 |
+
{
|
| 597 |
+
"type": "text",
|
| 598 |
+
"text": "Despite modifying the original embedding layer to allow $IIS$ to be properly fed into the model, two issues still exist. Firstly, inserting images may affect other irrelevant words in the original sentence and potentially disrupt the structural relationships between them. Secondly, a single word-level image may correspond to multiple subwords, and during the annotation of position embedding, only the information of the first subword is utilized, resulting in a lack of relationship between the image and the remaining subwords it corresponds to. To address these issues, we introduce the method of mask transformer (Liu et al., 2020).",
|
| 599 |
+
"bbox": [
|
| 600 |
+
112,
|
| 601 |
+
432,
|
| 602 |
+
487,
|
| 603 |
+
640
|
| 604 |
+
],
|
| 605 |
+
"page_idx": 3
|
| 606 |
+
},
|
| 607 |
+
{
|
| 608 |
+
"type": "text",
|
| 609 |
+
"text": "We create a visible matrix to shield the relationship between images and other textual information in the sentence and highlight the relationship between the image and its corresponding subwords. The visible matrix $M$ is defined as:",
|
| 610 |
+
"bbox": [
|
| 611 |
+
112,
|
| 612 |
+
642,
|
| 613 |
+
489,
|
| 614 |
+
722
|
| 615 |
+
],
|
| 616 |
+
"page_idx": 3
|
| 617 |
+
},
|
| 618 |
+
{
|
| 619 |
+
"type": "equation",
|
| 620 |
+
"text": "\n$$\nM _ {i j} = \\left\\{ \\begin{array}{l l} - \\infty & w _ {p} \\bullet w _ {q} \\\\ 0 & w _ {p} \\circ w _ {q}. \\end{array} \\right. \\tag {6}\n$$\n",
|
| 621 |
+
"text_format": "latex",
|
| 622 |
+
"bbox": [
|
| 623 |
+
203,
|
| 624 |
+
727,
|
| 625 |
+
487,
|
| 626 |
+
768
|
| 627 |
+
],
|
| 628 |
+
"page_idx": 3
|
| 629 |
+
},
|
| 630 |
+
{
|
| 631 |
+
"type": "text",
|
| 632 |
+
"text": "where $w_{p}$ and $w_{q}$ are elements in $IIS_{i}$ , $w_{p} \\circ w_{q}$ denotes that $w_{p}$ and $w_{q}$ are visible to each other, while $w_{p} \\bullet w_{q}$ is not. An example of a visible matrix is depicted in Figure 2.",
|
| 633 |
+
"bbox": [
|
| 634 |
+
112,
|
| 635 |
+
774,
|
| 636 |
+
487,
|
| 637 |
+
839
|
| 638 |
+
],
|
| 639 |
+
"page_idx": 3
|
| 640 |
+
},
|
| 641 |
+
{
|
| 642 |
+
"type": "text",
|
| 643 |
+
"text": "The visible matrix can be added to the self-attention module to mask certain attention calculations. Specifically, the new masked self-attention is:",
|
| 644 |
+
"bbox": [
|
| 645 |
+
112,
|
| 646 |
+
854,
|
| 647 |
+
489,
|
| 648 |
+
917
|
| 649 |
+
],
|
| 650 |
+
"page_idx": 3
|
| 651 |
+
},
|
| 652 |
+
{
|
| 653 |
+
"type": "image",
|
| 654 |
+
"img_path": "images/21012451b1d6a291a0d8c1850e6f6419c4639d9dc4addb6ec6ebd30cad1dbd66.jpg",
|
| 655 |
+
"image_caption": [
|
| 656 |
+
"Figure 2: An example of the visible matrix corresponding to the $IIS$ in Figure 1. The red numerical labels indicate the absolute position of the images in the $IIS$ . In this matrix, black represents \"visible\" and white represents \"invisible\"."
|
| 657 |
+
],
|
| 658 |
+
"image_footnote": [],
|
| 659 |
+
"bbox": [
|
| 660 |
+
586,
|
| 661 |
+
82,
|
| 662 |
+
806,
|
| 663 |
+
239
|
| 664 |
+
],
|
| 665 |
+
"page_idx": 3
|
| 666 |
+
},
|
| 667 |
+
{
|
| 668 |
+
"type": "equation",
|
| 669 |
+
"text": "\n$$\nS ^ {i} = \\operatorname {s o f t m a x} \\left(\\frac {Q ^ {i} K ^ {i T} + M}{\\sqrt {d}}\\right) \\tag {7}\n$$\n",
|
| 670 |
+
"text_format": "latex",
|
| 671 |
+
"bbox": [
|
| 672 |
+
578,
|
| 673 |
+
354,
|
| 674 |
+
882,
|
| 675 |
+
393
|
| 676 |
+
],
|
| 677 |
+
"page_idx": 3
|
| 678 |
+
},
|
| 679 |
+
{
|
| 680 |
+
"type": "text",
|
| 681 |
+
"text": "where $Q$ and $K$ are the query matrix and key matrix in the self-attention module. if two elements are invisible, the $M$ will mask the attention score to 0, which means making no contribution to each other.",
|
| 682 |
+
"bbox": [
|
| 683 |
+
507,
|
| 684 |
+
395,
|
| 685 |
+
882,
|
| 686 |
+
460
|
| 687 |
+
],
|
| 688 |
+
"page_idx": 3
|
| 689 |
+
},
|
| 690 |
+
{
|
| 691 |
+
"type": "text",
|
| 692 |
+
"text": "2.3 Training Strategy",
|
| 693 |
+
"text_level": 1,
|
| 694 |
+
"bbox": [
|
| 695 |
+
507,
|
| 696 |
+
470,
|
| 697 |
+
695,
|
| 698 |
+
486
|
| 699 |
+
],
|
| 700 |
+
"page_idx": 3
|
| 701 |
+
},
|
| 702 |
+
{
|
| 703 |
+
"type": "text",
|
| 704 |
+
"text": "After initialization by cross-lingual pretrained language model, we train denoising autoencoder and iterative back-translation alternatively. The final loss of image fusion UNMT is:",
|
| 705 |
+
"bbox": [
|
| 706 |
+
507,
|
| 707 |
+
491,
|
| 708 |
+
882,
|
| 709 |
+
555
|
| 710 |
+
],
|
| 711 |
+
"page_idx": 3
|
| 712 |
+
},
|
| 713 |
+
{
|
| 714 |
+
"type": "equation",
|
| 715 |
+
"text": "\n$$\n\\mathcal {L} ^ {I} = \\mathcal {L} _ {B} ^ {I} + \\lambda_ {D} \\mathcal {L} _ {D} ^ {I} \\tag {8}\n$$\n",
|
| 716 |
+
"text_format": "latex",
|
| 717 |
+
"bbox": [
|
| 718 |
+
621,
|
| 719 |
+
569,
|
| 720 |
+
882,
|
| 721 |
+
589
|
| 722 |
+
],
|
| 723 |
+
"page_idx": 3
|
| 724 |
+
},
|
| 725 |
+
{
|
| 726 |
+
"type": "text",
|
| 727 |
+
"text": "specifically, $\\mathcal{L}_B^I$ and $\\mathcal{L}_D^I$ refer to:",
|
| 728 |
+
"bbox": [
|
| 729 |
+
507,
|
| 730 |
+
592,
|
| 731 |
+
754,
|
| 732 |
+
609
|
| 733 |
+
],
|
| 734 |
+
"page_idx": 3
|
| 735 |
+
},
|
| 736 |
+
{
|
| 737 |
+
"type": "equation",
|
| 738 |
+
"text": "\n$$\n\\begin{array}{l} \\mathcal {L} _ {B} ^ {I} = \\sum_ {i = 1} ^ {M} - l o g P _ {L _ {2} \\rightarrow L _ {1}} (X _ {i} | \\mathcal {I} (S _ {L _ {1} \\rightarrow L _ {2}} (\\mathcal {I} (X _ {i}), \\theta)), \\theta) \\\\ + \\sum_ {j = 1} ^ {N} - \\log P _ {L _ {1} \\rightarrow L _ {2}} \\left(Y _ {j} \\mid \\mathcal {I} \\left(S _ {L _ {2} \\rightarrow L _ {1}} \\left(\\mathcal {I} \\left(Y _ {j}\\right), \\theta\\right)\\right), \\theta\\right) \\tag {9} \\\\ \\end{array}\n$$\n",
|
| 739 |
+
"text_format": "latex",
|
| 740 |
+
"bbox": [
|
| 741 |
+
519,
|
| 742 |
+
617,
|
| 743 |
+
882,
|
| 744 |
+
703
|
| 745 |
+
],
|
| 746 |
+
"page_idx": 3
|
| 747 |
+
},
|
| 748 |
+
{
|
| 749 |
+
"type": "equation",
|
| 750 |
+
"text": "\n$$\n\\begin{array}{l} \\mathcal {L} _ {D} ^ {I} = \\sum_ {i = 1} ^ {M} - \\log P _ {L _ {1} \\rightarrow L _ {1}} \\left(X _ {i} \\mid \\mathcal {I} \\left(N \\left(X _ {i}\\right)\\right), \\theta\\right) \\tag {10} \\\\ + \\sum_ {j = 1} ^ {N} - l o g P _ {L _ {2} \\rightarrow L _ {2}} (Y _ {j} | \\mathcal {I} (N (Y _ {j})), \\theta) \\\\ \\end{array}\n$$\n",
|
| 751 |
+
"text_format": "latex",
|
| 752 |
+
"bbox": [
|
| 753 |
+
559,
|
| 754 |
+
725,
|
| 755 |
+
882,
|
| 756 |
+
799
|
| 757 |
+
],
|
| 758 |
+
"page_idx": 3
|
| 759 |
+
},
|
| 760 |
+
{
|
| 761 |
+
"type": "text",
|
| 762 |
+
"text": "During the denoising autoencoder process, we first add noise to the original sentence and then integrate the images. During the iterative backtranslation process, for the first round of synthetic data generation, we do not add image information to achieve a smoother transition because the pretrained language model did not include images.",
|
| 763 |
+
"bbox": [
|
| 764 |
+
507,
|
| 765 |
+
806,
|
| 766 |
+
882,
|
| 767 |
+
917
|
| 768 |
+
],
|
| 769 |
+
"page_idx": 3
|
| 770 |
+
},
|
| 771 |
+
{
|
| 772 |
+
"type": "page_number",
|
| 773 |
+
"text": "12611",
|
| 774 |
+
"bbox": [
|
| 775 |
+
477,
|
| 776 |
+
927,
|
| 777 |
+
522,
|
| 778 |
+
940
|
| 779 |
+
],
|
| 780 |
+
"page_idx": 3
|
| 781 |
+
},
|
| 782 |
+
{
|
| 783 |
+
"type": "table",
|
| 784 |
+
"img_path": "images/900fb12f415c4082a747b2ad331710aef679470e06127327f56b460ceadcf698.jpg",
|
| 785 |
+
"table_caption": [],
|
| 786 |
+
"table_footnote": [],
|
| 787 |
+
"table_body": "<table><tr><td>Language</td><td>#Word</td><td>#Image</td><td>Average</td></tr><tr><td>En</td><td>4,975</td><td>45,228</td><td>9.09</td></tr><tr><td>Fr</td><td>4,646</td><td>36,927</td><td>7.95</td></tr><tr><td>De</td><td>10,384</td><td>85,419</td><td>8.23</td></tr><tr><td>Cs</td><td>10,706</td><td>72,942</td><td>6.81</td></tr><tr><td>Zh</td><td>10,805</td><td>85,144</td><td>7.88</td></tr><tr><td>Total</td><td>41,516</td><td>325,660</td><td>7.84</td></tr></table>",
|
| 788 |
+
"bbox": [
|
| 789 |
+
142,
|
| 790 |
+
80,
|
| 791 |
+
460,
|
| 792 |
+
218
|
| 793 |
+
],
|
| 794 |
+
"page_idx": 4
|
| 795 |
+
},
|
| 796 |
+
{
|
| 797 |
+
"type": "text",
|
| 798 |
+
"text": "Table 1: The statistics of our constructed Word-Image dataset.",
|
| 799 |
+
"bbox": [
|
| 800 |
+
112,
|
| 801 |
+
227,
|
| 802 |
+
485,
|
| 803 |
+
254
|
| 804 |
+
],
|
| 805 |
+
"page_idx": 4
|
| 806 |
+
},
|
| 807 |
+
{
|
| 808 |
+
"type": "text",
|
| 809 |
+
"text": "3 Experiments",
|
| 810 |
+
"text_level": 1,
|
| 811 |
+
"bbox": [
|
| 812 |
+
114,
|
| 813 |
+
286,
|
| 814 |
+
260,
|
| 815 |
+
303
|
| 816 |
+
],
|
| 817 |
+
"page_idx": 4
|
| 818 |
+
},
|
| 819 |
+
{
|
| 820 |
+
"type": "text",
|
| 821 |
+
"text": "In this section, we provide a detailed description of the datasets and experimental setup employed in our study. Subsequently, we perform an in-depth analysis of the results obtained.",
|
| 822 |
+
"bbox": [
|
| 823 |
+
112,
|
| 824 |
+
317,
|
| 825 |
+
487,
|
| 826 |
+
381
|
| 827 |
+
],
|
| 828 |
+
"page_idx": 4
|
| 829 |
+
},
|
| 830 |
+
{
|
| 831 |
+
"type": "text",
|
| 832 |
+
"text": "3.1 Datasets",
|
| 833 |
+
"text_level": 1,
|
| 834 |
+
"bbox": [
|
| 835 |
+
112,
|
| 836 |
+
400,
|
| 837 |
+
228,
|
| 838 |
+
414
|
| 839 |
+
],
|
| 840 |
+
"page_idx": 4
|
| 841 |
+
},
|
| 842 |
+
{
|
| 843 |
+
"type": "text",
|
| 844 |
+
"text": "Word-Image Dataset. In our approach, the most crucial component of the experiment data is the image dataset at the word level. Since there is no off-the-shelf word-level image dataset, we build one for performance evaluation. We collect these images through the following steps: word extraction, image crawling, and image filtering. Firstly, extract the nouns from the monolingual dataset using part-of-speech analysis tools including Spacy<sup>3</sup> and Stanford CoreNLP<sup>4</sup>. We choose nouns because they typically correspond to real-world entities and are more likely to yield high-quality images. Next, use Google Images<sup>5</sup> to crawl images for these nouns, limiting the image size to between 200-by-200 and 10,000-by-10,000 pixels and retrieving 10 to 15 images per noun. The image format is restricted to JPG, JPEG, and PNG. Finally, filter the crawled images. We consider all the images collected for a single noun as a cluster and encode them using the CLIP model. We then calculate pairwise similarities between all images and remove those with an average similarity below a threshold $\\mathcal{T}$ , which we set to 0.6, as they are considered anomalous. The statistics information of the Word-Image dataset can be seen in Table 1. Our dataset covers a wide range of common nouns and can be reused for various purposes.",
|
| 845 |
+
"bbox": [
|
| 846 |
+
112,
|
| 847 |
+
426,
|
| 848 |
+
489,
|
| 849 |
+
860
|
| 850 |
+
],
|
| 851 |
+
"page_idx": 4
|
| 852 |
+
},
|
| 853 |
+
{
|
| 854 |
+
"type": "text",
|
| 855 |
+
"text": "Monolingual Dataset. The monolingual datasets used in our experiments are Multi30k dataset (Elliott et al., 2016, 2017; Barrault et al., 2018), LDC dataset and WMT News crawl dataset. The Multi30k dataset contains images and their captions in four languages: English(En), French(Fr), Germany(De), and Czech(Cs). Every language has 29000 sentences for training and 1014 for validation. It is worth noting that we only utilized the lingual data from Multi30k as the images are sentence-level. To prevent the model from encountering bilingual corpora, we randomly split the training and validation sets of the Multi30k dataset into two equal parts. Each part of the training set contains 14,500 sentences, and each part of the validation set contains 507 sentences. We report results in all test sets in Multi30k including Test2016, Test2017, Test2018, and MsCOCO. For the Cs-En task, only Test2016 and Test2018 are available. Furthermore, we expanded the dataset by incorporating monolingual data from WMT 2008-2022 News crawl and LDC. We also report our results on the common news domain test set, which includes WMT Newstest 2014 for En-Fr, Newstest 2021 for En-Cs, and NIST06 for En-Zh.",
|
| 856 |
+
"bbox": [
|
| 857 |
+
507,
|
| 858 |
+
84,
|
| 859 |
+
885,
|
| 860 |
+
485
|
| 861 |
+
],
|
| 862 |
+
"page_idx": 4
|
| 863 |
+
},
|
| 864 |
+
{
|
| 865 |
+
"type": "text",
|
| 866 |
+
"text": "3.2 Experimental Details",
|
| 867 |
+
"text_level": 1,
|
| 868 |
+
"bbox": [
|
| 869 |
+
507,
|
| 870 |
+
497,
|
| 871 |
+
722,
|
| 872 |
+
512
|
| 873 |
+
],
|
| 874 |
+
"page_idx": 4
|
| 875 |
+
},
|
| 876 |
+
{
|
| 877 |
+
"type": "text",
|
| 878 |
+
"text": "Baseline Models. We compare recent unsupervised text-only and multimodal MT baselines listed in the following: (1) XLM (Conneau and Lample, 2019) uses a masked language model to train a cross-lingual language model to initialize. (2) UMMT (Su et al., 2019) uses visual features for denoising autoencoder and back-translation. (3) PVP (Huang et al., 2020) employs multimodal back-translation and features pseudo visual pivoting. (4) UNMT-CS (Jones et al., 2023) uses the codeswitching method, where words in the source sentence are swapped out for their corresponding translation from bilingual dictionaries, to solve the lexical confusion issue in UNMT. It is worth noting that both UMMT and PVP datasets utilize sentence-level images.",
|
| 879 |
+
"bbox": [
|
| 880 |
+
507,
|
| 881 |
+
517,
|
| 882 |
+
885,
|
| 883 |
+
775
|
| 884 |
+
],
|
| 885 |
+
"page_idx": 4
|
| 886 |
+
},
|
| 887 |
+
{
|
| 888 |
+
"type": "text",
|
| 889 |
+
"text": "System Settings. We conducted our experiments based on the XLM codebase<sup>6</sup>. The model architecture employed is a 6-layers, 8-heads transformer, with a hidden layer representation dimension of 1024. The epoch size is 100K and the tokens-per-batch is 2000. we use Adam optimizer and 2000 warm-up updates. The learning rate is 1e-5. For",
|
| 890 |
+
"bbox": [
|
| 891 |
+
507,
|
| 892 |
+
784,
|
| 893 |
+
885,
|
| 894 |
+
897
|
| 895 |
+
],
|
| 896 |
+
"page_idx": 4
|
| 897 |
+
},
|
| 898 |
+
{
|
| 899 |
+
"type": "page_footnote",
|
| 900 |
+
"text": "$^{6}$ https://github.com/facebookresearch/XLM",
|
| 901 |
+
"bbox": [
|
| 902 |
+
529,
|
| 903 |
+
904,
|
| 904 |
+
800,
|
| 905 |
+
917
|
| 906 |
+
],
|
| 907 |
+
"page_idx": 4
|
| 908 |
+
},
|
| 909 |
+
{
|
| 910 |
+
"type": "page_footnote",
|
| 911 |
+
"text": "<sup>3</sup>https://github.com/explosion/spaCy",
|
| 912 |
+
"bbox": [
|
| 913 |
+
134,
|
| 914 |
+
877,
|
| 915 |
+
361,
|
| 916 |
+
891
|
| 917 |
+
],
|
| 918 |
+
"page_idx": 4
|
| 919 |
+
},
|
| 920 |
+
{
|
| 921 |
+
"type": "page_footnote",
|
| 922 |
+
"text": "<sup>4</sup>https://github.com/stanfordnlp/CoreNLP",
|
| 923 |
+
"bbox": [
|
| 924 |
+
136,
|
| 925 |
+
891,
|
| 926 |
+
391,
|
| 927 |
+
904
|
| 928 |
+
],
|
| 929 |
+
"page_idx": 4
|
| 930 |
+
},
|
| 931 |
+
{
|
| 932 |
+
"type": "page_footnote",
|
| 933 |
+
"text": "<sup>5</sup>https://images.google.com",
|
| 934 |
+
"bbox": [
|
| 935 |
+
136,
|
| 936 |
+
904,
|
| 937 |
+
305,
|
| 938 |
+
917
|
| 939 |
+
],
|
| 940 |
+
"page_idx": 4
|
| 941 |
+
},
|
| 942 |
+
{
|
| 943 |
+
"type": "page_number",
|
| 944 |
+
"text": "12612",
|
| 945 |
+
"bbox": [
|
| 946 |
+
477,
|
| 947 |
+
927,
|
| 948 |
+
524,
|
| 949 |
+
940
|
| 950 |
+
],
|
| 951 |
+
"page_idx": 4
|
| 952 |
+
},
|
| 953 |
+
{
|
| 954 |
+
"type": "table",
|
| 955 |
+
"img_path": "images/d6a6ae708a278decf5de5cf56e71852a2703cd247c68a10ef75a7c3b6b8a9efa.jpg",
|
| 956 |
+
"table_caption": [],
|
| 957 |
+
"table_footnote": [],
|
| 958 |
+
"table_body": "<table><tr><td></td><td colspan=\"4\">En-Fr</td><td colspan=\"4\">En-De</td><td colspan=\"2\">En-Cs</td></tr><tr><td>Approach</td><td>F16</td><td>F17</td><td>F18</td><td>C17</td><td>F16</td><td>F17</td><td>F18</td><td>C17</td><td>F16</td><td>F18</td></tr><tr><td>UMMT</td><td>39.80*</td><td>-</td><td>-</td><td>-</td><td>23.50*</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td></tr><tr><td>PVP</td><td>52.30*</td><td>-</td><td>-</td><td>-</td><td>33.90*</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td></tr><tr><td>XLM</td><td>53.08</td><td>46.82</td><td>35.31</td><td>43.09</td><td>31.81</td><td>26.83</td><td>25.62</td><td>22.95</td><td>25.14</td><td>20.15</td></tr><tr><td>UNMT-CS</td><td>54.24</td><td>46.30</td><td>36.06</td><td>43.49</td><td>33.43</td><td>27.51</td><td>26.67</td><td>24.27</td><td>26.46</td><td>22.71</td></tr><tr><td>Ours</td><td>54.07</td><td>46.95</td><td>36.21</td><td>44.44</td><td>33.06</td><td>29.12</td><td>27.37</td><td>24.75</td><td>26.34</td><td>22.88</td></tr><tr><td>Δ</td><td>+0.99</td><td>+0.13</td><td>+0.90</td><td>+1.35</td><td>+1.25</td><td>+2.29</td><td>+1.75</td><td>+1.80</td><td>+1.20</td><td>+2.73</td></tr><tr><td></td><td colspan=\"4\">Fr-En</td><td colspan=\"4\">De-En</td><td colspan=\"2\">Cs-En</td></tr><tr><td>Approach</td><td>F16</td><td>F17</td><td>F18</td><td>C17</td><td>F16</td><td>F17</td><td>F18</td><td>C17</td><td>F16</td><td>F18</td></tr><tr><td>UMMT</td><td>40.50*</td><td>-</td><td>-</td><td>-</td><td>26.40*</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td></tr><tr><td>PVP</td><td>46.00*</td><td>-</td><td>-</td><td>-</td><td>31.60*</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td></tr><tr><td>XLM</td><td>48.04</td><td>42.14</td><td>37.03</td><td>43.58</td><td>37.51</td><td>33.21</td><td>30.73</td><td>27.98</td><td>33.13</td><td>30.29</td></tr><tr><td>UNMT-CS</td><td>49.28</td><td>42.86</td><td>37.19</td><td>44.39</td><td>38.83</td><td>34.48</td><td>31.44</td><td>28.07</td><td>33.91</td><td>31.33</td></tr><tr><td>Ours</td><td>49.10</td><td>43.01</td><td>37.41</td><td>44.57</td><td>40.32</td><td>35.20</td><td>32.70</td><td>29.81</td><td>34.29</td><td>31.56</td></tr><tr><td>Δ</td><td>+1.06</td><td>+0.87</td><td>+0.38</td><td>+0.99</td><td>+2.81</td><td>+1.99</td><td>+1.97</td><td>+1.83</td><td>+1.16</td><td>+1.27</td></tr></table>",
|
| 959 |
+
"bbox": [
|
| 960 |
+
200,
|
| 961 |
+
80,
|
| 962 |
+
800,
|
| 963 |
+
353
|
| 964 |
+
],
|
| 965 |
+
"page_idx": 5
|
| 966 |
+
},
|
| 967 |
+
{
|
| 968 |
+
"type": "text",
|
| 969 |
+
"text": "Table 2: BLEU scores on Multi30k En-Fr, En-De, and En-Cs UNMT tasks. F18, F17, F16, and C17 respectively denote the Flickr2018, Flickr2017, Flickr2016, and COCO2017 test sets in Multi30k. * is the results reported from previous papers. Δ represents the improvement of our method over the XLM method in terms of BLEU.",
|
| 970 |
+
"bbox": [
|
| 971 |
+
112,
|
| 972 |
+
362,
|
| 973 |
+
882,
|
| 974 |
+
405
|
| 975 |
+
],
|
| 976 |
+
"page_idx": 5
|
| 977 |
+
},
|
| 978 |
+
{
|
| 979 |
+
"type": "text",
|
| 980 |
+
"text": "evaluation, we use 4-gram BLEU (Papineni et al., 2002) scores by multi-bleu.pl in Moses<sup>7</sup>. We train all models on 4 NVIDIA 32GB V100 GPUs.",
|
| 981 |
+
"bbox": [
|
| 982 |
+
112,
|
| 983 |
+
430,
|
| 984 |
+
487,
|
| 985 |
+
476
|
| 986 |
+
],
|
| 987 |
+
"page_idx": 5
|
| 988 |
+
},
|
| 989 |
+
{
|
| 990 |
+
"type": "text",
|
| 991 |
+
"text": "During training, we first train the models on a 5M WMT News Crawl dataset for 70 epochs and subsequently continued training on the Multi30k dataset for another 70 epochs due to its relatively small size. As for the CLIP model, we use ViT-L/14@336px. When incorporating images, we randomly select two images from the corresponding image set for each word and concatenate them to the text. We only incorporate images during the iterative back-translation and denoising autoencoder stages, so our method can be used in conjunction with other pre-training enhancement methods. Regarding the cross-lingual models used for initialization, we directly employ high-quality open-source cross-lingual models in experiments involving En-Fr, En-De, and En-Zh. However, for the En-Cs, we train a model using WMT monolingual dataset, with 10 million English sentences and 10 million Czech sentences, due to the unavailability of any open-source models.",
|
| 992 |
+
"bbox": [
|
| 993 |
+
115,
|
| 994 |
+
479,
|
| 995 |
+
489,
|
| 996 |
+
800
|
| 997 |
+
],
|
| 998 |
+
"page_idx": 5
|
| 999 |
+
},
|
| 1000 |
+
{
|
| 1001 |
+
"type": "text",
|
| 1002 |
+
"text": "3.3 Main Results",
|
| 1003 |
+
"text_level": 1,
|
| 1004 |
+
"bbox": [
|
| 1005 |
+
112,
|
| 1006 |
+
810,
|
| 1007 |
+
265,
|
| 1008 |
+
825
|
| 1009 |
+
],
|
| 1010 |
+
"page_idx": 5
|
| 1011 |
+
},
|
| 1012 |
+
{
|
| 1013 |
+
"type": "text",
|
| 1014 |
+
"text": "Table 2 shows the main results on the Multi30k test set, including translating among English, French, German, and Czech. Comparing the results of XLM and our method, we observe that adding im",
|
| 1015 |
+
"bbox": [
|
| 1016 |
+
112,
|
| 1017 |
+
831,
|
| 1018 |
+
489,
|
| 1019 |
+
896
|
| 1020 |
+
],
|
| 1021 |
+
"page_idx": 5
|
| 1022 |
+
},
|
| 1023 |
+
{
|
| 1024 |
+
"type": "text",
|
| 1025 |
+
"text": "ages leads to performance improvements in all six translation directions, with a maximum increase of $+2.81$ BLEU points, indicating the effectiveness of our approach. UNMT-CS is a method that utilizes bilingual dictionaries to address the problem of lexical confusion via code-switching. By comparing our method with the UNMT-CS approach, we observed comparable results, and in some directions, our method even outperformed the code-switching approach, indicating that ours is more efficient and cost-effective.",
|
| 1026 |
+
"bbox": [
|
| 1027 |
+
505,
|
| 1028 |
+
430,
|
| 1029 |
+
884,
|
| 1030 |
+
606
|
| 1031 |
+
],
|
| 1032 |
+
"page_idx": 5
|
| 1033 |
+
},
|
| 1034 |
+
{
|
| 1035 |
+
"type": "text",
|
| 1036 |
+
"text": "When compared to the best-performing method that incorporates sentence-level images, our approach still achieves comparable or better results in most translation directions. This is despite the matching degree between the Multi30k monolingual data and word-level images being slightly lower than that of sentence-level images, as the text data in Multi30k is generated based on the sentence-level images. In some directions, our approach even outperforms the previous best methods by up to $+4.22$ BLEU points (as shown in Table 2, where our method is compared to the first two methods of the table).",
|
| 1037 |
+
"bbox": [
|
| 1038 |
+
507,
|
| 1039 |
+
609,
|
| 1040 |
+
884,
|
| 1041 |
+
816
|
| 1042 |
+
],
|
| 1043 |
+
"page_idx": 5
|
| 1044 |
+
},
|
| 1045 |
+
{
|
| 1046 |
+
"type": "text",
|
| 1047 |
+
"text": "4 Analysis",
|
| 1048 |
+
"text_level": 1,
|
| 1049 |
+
"bbox": [
|
| 1050 |
+
507,
|
| 1051 |
+
834,
|
| 1052 |
+
618,
|
| 1053 |
+
850
|
| 1054 |
+
],
|
| 1055 |
+
"page_idx": 5
|
| 1056 |
+
},
|
| 1057 |
+
{
|
| 1058 |
+
"type": "text",
|
| 1059 |
+
"text": "4.1 Case Study",
|
| 1060 |
+
"text_level": 1,
|
| 1061 |
+
"bbox": [
|
| 1062 |
+
507,
|
| 1063 |
+
863,
|
| 1064 |
+
643,
|
| 1065 |
+
879
|
| 1066 |
+
],
|
| 1067 |
+
"page_idx": 5
|
| 1068 |
+
},
|
| 1069 |
+
{
|
| 1070 |
+
"type": "text",
|
| 1071 |
+
"text": "In Table 3, we provide several examples of translations, where we observe that the XLM method re",
|
| 1072 |
+
"bbox": [
|
| 1073 |
+
507,
|
| 1074 |
+
887,
|
| 1075 |
+
884,
|
| 1076 |
+
917
|
| 1077 |
+
],
|
| 1078 |
+
"page_idx": 5
|
| 1079 |
+
},
|
| 1080 |
+
{
|
| 1081 |
+
"type": "page_footnote",
|
| 1082 |
+
"text": "<sup>7</sup>https://github.com/moses-smt/mosesdecoder",
|
| 1083 |
+
"bbox": [
|
| 1084 |
+
134,
|
| 1085 |
+
903,
|
| 1086 |
+
415,
|
| 1087 |
+
917
|
| 1088 |
+
],
|
| 1089 |
+
"page_idx": 5
|
| 1090 |
+
},
|
| 1091 |
+
{
|
| 1092 |
+
"type": "page_number",
|
| 1093 |
+
"text": "12613",
|
| 1094 |
+
"bbox": [
|
| 1095 |
+
477,
|
| 1096 |
+
927,
|
| 1097 |
+
524,
|
| 1098 |
+
940
|
| 1099 |
+
],
|
| 1100 |
+
"page_idx": 5
|
| 1101 |
+
},
|
| 1102 |
+
{
|
| 1103 |
+
"type": "table",
|
| 1104 |
+
"img_path": "images/f47789201e1f12da963f97196b02a4075cb11c6db020d93e0f702a1ea6bd03dd.jpg",
|
| 1105 |
+
"table_caption": [],
|
| 1106 |
+
"table_footnote": [],
|
| 1107 |
+
"table_body": "<table><tr><td>GT-DE</td><td>Menschen an der Seitenlinie bei einem Fußballspiel.</td></tr><tr><td>GT-EN</td><td>People on the sideline of a soccer match.</td></tr><tr><td>XLM</td><td>People at the plate in a baseball game.</td></tr><tr><td>Ours</td><td>People at the stands in a soccer game.</td></tr><tr><td>GT-DE</td><td>Ein kleines Kind in einer orangefarbenen Rettungswestehalt ein Padel und paddelt in einem blauen Kajak auf einem Gewässer.</td></tr><tr><td>GT-EN</td><td>A young child wearing an orange life vest holding an oar paddling a blue kayak in a body of water.</td></tr><tr><td>XLM</td><td>A small child in an orange-red life vest holds a Paddy Power and paddles in a blue cadet on a body of water.</td></tr><tr><td>Ours</td><td>A small child in an orange life vest is holding a paddle and paddling in a blue kayak on a body of water.</td></tr><tr><td>GT-FR</td><td>Un homme avec une veste noire, une casquette à carreaux et un pantalon rayé noir et blanc joue de la guitare électrique sur une scène avec un chanteur et un autre guitariste en arrêtère-plan.</td></tr><tr><td>GT-EN</td><td>A man in a black jacket and checkered hat wearing black and white striped pants plays an electric guitar on a stage with a singer and another guitar player in the background.</td></tr><tr><td>XLM</td><td>A man with a black jacket, striped headband and light brown and white shirt plays an electric guitar on a stage with a singer and another guitarist in the background.</td></tr><tr><td>Ours</td><td>A man with a black jacket, checkered cap and black and white striped pants plays an electric guitar on a stage with a singer and another guitarist in the background.</td></tr></table>",
|
| 1108 |
+
"bbox": [
|
| 1109 |
+
137,
|
| 1110 |
+
83,
|
| 1111 |
+
857,
|
| 1112 |
+
280
|
| 1113 |
+
],
|
| 1114 |
+
"page_idx": 6
|
| 1115 |
+
},
|
| 1116 |
+
{
|
| 1117 |
+
"type": "text",
|
| 1118 |
+
"text": "Table 3: Qualitative results of the proposed model. GT denotes ground truth. Words highlighted in red are affected by the problem of lexical confusion.",
|
| 1119 |
+
"bbox": [
|
| 1120 |
+
112,
|
| 1121 |
+
288,
|
| 1122 |
+
882,
|
| 1123 |
+
318
|
| 1124 |
+
],
|
| 1125 |
+
"page_idx": 6
|
| 1126 |
+
},
|
| 1127 |
+
{
|
| 1128 |
+
"type": "image",
|
| 1129 |
+
"img_path": "images/7040d306fc6f2b72cc36bf158842215c74fd5849719144a37c7ddd37e6629ac2.jpg",
|
| 1130 |
+
"image_caption": [
|
| 1131 |
+
"Figure 3: 1-gram precision scores on Flickr2016 and Flickr2017 data sets."
|
| 1132 |
+
],
|
| 1133 |
+
"image_footnote": [],
|
| 1134 |
+
"bbox": [
|
| 1135 |
+
117,
|
| 1136 |
+
343,
|
| 1137 |
+
480,
|
| 1138 |
+
500
|
| 1139 |
+
],
|
| 1140 |
+
"page_idx": 6
|
| 1141 |
+
},
|
| 1142 |
+
{
|
| 1143 |
+
"type": "text",
|
| 1144 |
+
"text": "sults in some lexical confusion errors. For instance, in Example 1, \"Fußballspiel\" is translated to \"baseball\" instead of \"soccer\", and in Example 2, \"orangefarbenen\" is translated to \"orange-red\" instead of \"orange\". The representation of these words is similar, which makes it difficult for the model to differentiate between them. However, when we incorporate image information, the words obtain additional information from the image representation, which helps alleviate this problem to some extent. In Table 3, we can see that these words are correctly translated when we add image information. Therefore, our approach can effectively address the issue of lexical confusion in UNMT.",
|
| 1145 |
+
"bbox": [
|
| 1146 |
+
112,
|
| 1147 |
+
564,
|
| 1148 |
+
489,
|
| 1149 |
+
788
|
| 1150 |
+
],
|
| 1151 |
+
"page_idx": 6
|
| 1152 |
+
},
|
| 1153 |
+
{
|
| 1154 |
+
"type": "text",
|
| 1155 |
+
"text": "4.2 1-gram Precision Scores",
|
| 1156 |
+
"text_level": 1,
|
| 1157 |
+
"bbox": [
|
| 1158 |
+
112,
|
| 1159 |
+
800,
|
| 1160 |
+
351,
|
| 1161 |
+
816
|
| 1162 |
+
],
|
| 1163 |
+
"page_idx": 6
|
| 1164 |
+
},
|
| 1165 |
+
{
|
| 1166 |
+
"type": "text",
|
| 1167 |
+
"text": "To better observe how our method can alleviate the issue of lexical confusion, we report the 1-gram precision scores in Figure 3. The accuracy of the model's word translations can be reflected intuitively in the 1-gram precision scores metric. We report the results of our approach with and without",
|
| 1168 |
+
"bbox": [
|
| 1169 |
+
112,
|
| 1170 |
+
822,
|
| 1171 |
+
487,
|
| 1172 |
+
917
|
| 1173 |
+
],
|
| 1174 |
+
"page_idx": 6
|
| 1175 |
+
},
|
| 1176 |
+
{
|
| 1177 |
+
"type": "text",
|
| 1178 |
+
"text": "incorporating images for various translation directions on the Flickr2016 and Flickr2017 test sets and find that our method with image incorporation outperforms the method without images in all directions. This demonstrates that our method can indeed provide more accurate word translations.",
|
| 1179 |
+
"bbox": [
|
| 1180 |
+
507,
|
| 1181 |
+
343,
|
| 1182 |
+
884,
|
| 1183 |
+
439
|
| 1184 |
+
],
|
| 1185 |
+
"page_idx": 6
|
| 1186 |
+
},
|
| 1187 |
+
{
|
| 1188 |
+
"type": "text",
|
| 1189 |
+
"text": "4.3 Performance on WMT and LDC Dataset",
|
| 1190 |
+
"text_level": 1,
|
| 1191 |
+
"bbox": [
|
| 1192 |
+
507,
|
| 1193 |
+
479,
|
| 1194 |
+
875,
|
| 1195 |
+
494
|
| 1196 |
+
],
|
| 1197 |
+
"page_idx": 6
|
| 1198 |
+
},
|
| 1199 |
+
{
|
| 1200 |
+
"type": "text",
|
| 1201 |
+
"text": "Not all sentences have a corresponding image that perfectly matches the text. On the other hand, generally, each sentence has some words that can be matched with images, making the use of word-level images more flexible and less costly to collect. Hence, we also conduct experiments on a more common news dataset. We conduct experiments on En-Fr, En-Cs, and En-Zh translation directions using the WMT 5M monolingual data for En-Fr and En-Cs, and the LDC dataset for En-Zh. We split the LDC bilingual data into two non-overlapping parts, each containing 0.75 million monolingual sentences. The news dataset is more abstract in content compared to the Multi30k dataset, and it is difficult to find an image that perfectly matches a sentence. This makes it challenging or almost impossible to apply previous methods that rely on sentence-level images to this dataset. As shown in Table 4, our method can be applied to the news dataset, and it shows improvements compared to the method that only uses text. The improvement on the WMT dataset was not significant, and we speculate that this may be due to the sufficient size of the WMT dataset and the lower frequency of noun entities with images compared to Multi30k.",
|
| 1202 |
+
"bbox": [
|
| 1203 |
+
505,
|
| 1204 |
+
517,
|
| 1205 |
+
882,
|
| 1206 |
+
917
|
| 1207 |
+
],
|
| 1208 |
+
"page_idx": 6
|
| 1209 |
+
},
|
| 1210 |
+
{
|
| 1211 |
+
"type": "page_number",
|
| 1212 |
+
"text": "12614",
|
| 1213 |
+
"bbox": [
|
| 1214 |
+
477,
|
| 1215 |
+
927,
|
| 1216 |
+
524,
|
| 1217 |
+
940
|
| 1218 |
+
],
|
| 1219 |
+
"page_idx": 6
|
| 1220 |
+
},
|
| 1221 |
+
{
|
| 1222 |
+
"type": "table",
|
| 1223 |
+
"img_path": "images/0c3e9a0658dbe8c5909009083b0051e563e27a0be14fdeb736830d74520ca6d5.jpg",
|
| 1224 |
+
"table_caption": [],
|
| 1225 |
+
"table_footnote": [],
|
| 1226 |
+
"table_body": "<table><tr><td>Approach</td><td>Zh-En</td><td>En-Zh</td><td>Cs-En</td><td>En-Cs</td><td>Fr-En</td><td>En-Fr</td></tr><tr><td>XLM</td><td>8.43</td><td>7.91</td><td>25.14</td><td>17.79</td><td>33.73</td><td>35.77</td></tr><tr><td>Our Method</td><td>9.87</td><td>9.36</td><td>25.51</td><td>18.24</td><td>34.14</td><td>36.46</td></tr><tr><td>Δ</td><td>+1.44</td><td>+1.45</td><td>+0.37</td><td>+0.45</td><td>+0.41</td><td>+0.69</td></tr></table>",
|
| 1227 |
+
"bbox": [
|
| 1228 |
+
119,
|
| 1229 |
+
82,
|
| 1230 |
+
485,
|
| 1231 |
+
143
|
| 1232 |
+
],
|
| 1233 |
+
"page_idx": 7
|
| 1234 |
+
},
|
| 1235 |
+
{
|
| 1236 |
+
"type": "text",
|
| 1237 |
+
"text": "Table 4: BLUE scores on WMT and LDC test sets.",
|
| 1238 |
+
"bbox": [
|
| 1239 |
+
126,
|
| 1240 |
+
153,
|
| 1241 |
+
472,
|
| 1242 |
+
166
|
| 1243 |
+
],
|
| 1244 |
+
"page_idx": 7
|
| 1245 |
+
},
|
| 1246 |
+
{
|
| 1247 |
+
"type": "image",
|
| 1248 |
+
"img_path": "images/008d6c4d02a5b500a1f50daca9f812157920c343553bc8a301e17dbd4d20fa7a.jpg",
|
| 1249 |
+
"image_caption": [
|
| 1250 |
+
"Figure 4: BLEU scores on En-De with different ways and numbers of adding image."
|
| 1251 |
+
],
|
| 1252 |
+
"image_footnote": [],
|
| 1253 |
+
"bbox": [
|
| 1254 |
+
119,
|
| 1255 |
+
184,
|
| 1256 |
+
478,
|
| 1257 |
+
341
|
| 1258 |
+
],
|
| 1259 |
+
"page_idx": 7
|
| 1260 |
+
},
|
| 1261 |
+
{
|
| 1262 |
+
"type": "text",
|
| 1263 |
+
"text": "4.4 Quantity of Images",
|
| 1264 |
+
"text_level": 1,
|
| 1265 |
+
"bbox": [
|
| 1266 |
+
112,
|
| 1267 |
+
406,
|
| 1268 |
+
312,
|
| 1269 |
+
422
|
| 1270 |
+
],
|
| 1271 |
+
"page_idx": 7
|
| 1272 |
+
},
|
| 1273 |
+
{
|
| 1274 |
+
"type": "text",
|
| 1275 |
+
"text": "We are also curious about how the method of adding images and image quantity affects the performance. Therefore, we test several ways of adding images, including selecting the best one, the top two, randomly selecting one, randomly selecting two, and randomly selecting three. We treat all images corresponding to a single word as a class and selected the image with the highest average similarity to the other images in the same class as the best image. We report the average BLEU score of En-De on the Flickr2016 and Flickr2017 test sets as illustrated in figure 4. We find that the fixed-best method yielded lower performance compared to randomly adding images. This could be due to the limitation of the fixed-best method in capturing the full range of visual variations that may exist for a given word. Among all the random selection methods, we find that adding two images randomly yielded the best performance. This could be because adding three images may introduce more noise, while adding only one image may not provide enough randomness.",
|
| 1276 |
+
"bbox": [
|
| 1277 |
+
112,
|
| 1278 |
+
426,
|
| 1279 |
+
489,
|
| 1280 |
+
782
|
| 1281 |
+
],
|
| 1282 |
+
"page_idx": 7
|
| 1283 |
+
},
|
| 1284 |
+
{
|
| 1285 |
+
"type": "text",
|
| 1286 |
+
"text": "5 Related Work",
|
| 1287 |
+
"text_level": 1,
|
| 1288 |
+
"bbox": [
|
| 1289 |
+
112,
|
| 1290 |
+
795,
|
| 1291 |
+
268,
|
| 1292 |
+
810
|
| 1293 |
+
],
|
| 1294 |
+
"page_idx": 7
|
| 1295 |
+
},
|
| 1296 |
+
{
|
| 1297 |
+
"type": "text",
|
| 1298 |
+
"text": "Unsupervised Machine Translation. Unlike common machine translation (Sutskever et al., 2014; Vaswani et al., 2017; Feng et al., 2020), UNMT don't use parallel corpus. Recent advancements (Zhang et al., 2017; Artetxe et al., 2018; Lample et al., 2018a; Conneau and Lample, 2019;",
|
| 1299 |
+
"bbox": [
|
| 1300 |
+
112,
|
| 1301 |
+
822,
|
| 1302 |
+
489,
|
| 1303 |
+
919
|
| 1304 |
+
],
|
| 1305 |
+
"page_idx": 7
|
| 1306 |
+
},
|
| 1307 |
+
{
|
| 1308 |
+
"type": "text",
|
| 1309 |
+
"text": "Song et al., 2019; Han et al., 2021) in UNMT have achieved remarkable milestones. However, there are still certain issues associated with solely utilizing monolingual data for translation, such as domain mismatch problem (Marchisio et al., 2020; Kim et al., 2020), poor performance on distance language pairs (Kim et al., 2020; Chronopoulou et al., 2020; Sun et al., 2021), translationese (He et al., 2022), and lexical confusion (Bapna et al., 2022; Jones et al., 2023). Our work aims to address the issue of lexical confusion by utilizing word-level image data, thereby eliminating the need for costly bilingual dictionary annotations.",
|
| 1310 |
+
"bbox": [
|
| 1311 |
+
507,
|
| 1312 |
+
84,
|
| 1313 |
+
884,
|
| 1314 |
+
294
|
| 1315 |
+
],
|
| 1316 |
+
"page_idx": 7
|
| 1317 |
+
},
|
| 1318 |
+
{
|
| 1319 |
+
"type": "text",
|
| 1320 |
+
"text": "Multimodal Machine Translation. Multimodal machine translation involves incorporating image information into a machine translation model to enhance its performance. While most current multimodal machine translation systems (Caglayan et al., 2016; Yao and Wan, 2020; Yin et al., 2020; Caglayan et al., 2021; Zhang et al., 2020; Fang and Feng, 2022; Li et al., 2022) focus on supervised machine translation, it has been observed that visual information is generally ignored when parallel corpora are plentiful (Caglayan et al., 2019; Wu et al., 2021). Yang et al. (2022) proposed the use of image information in situations where parallel corpora are not abundant. On the other hand, Su et al. (2019) and Huang et al. (2020) utilized image information in an unsupervised setting. However, these approaches were based on sentence-level image information, which can be challenging to obtain since not all sentences have corresponding images. In contrast, word-level image information is easier to obtain and is more flexible and lightweight. Therefore, our work aims to use word-level image information to enhance the performance of UNMT.",
|
| 1321 |
+
"bbox": [
|
| 1322 |
+
507,
|
| 1323 |
+
302,
|
| 1324 |
+
884,
|
| 1325 |
+
671
|
| 1326 |
+
],
|
| 1327 |
+
"page_idx": 7
|
| 1328 |
+
},
|
| 1329 |
+
{
|
| 1330 |
+
"type": "text",
|
| 1331 |
+
"text": "6 Conclusion and Future Work",
|
| 1332 |
+
"text_level": 1,
|
| 1333 |
+
"bbox": [
|
| 1334 |
+
507,
|
| 1335 |
+
684,
|
| 1336 |
+
796,
|
| 1337 |
+
699
|
| 1338 |
+
],
|
| 1339 |
+
"page_idx": 7
|
| 1340 |
+
},
|
| 1341 |
+
{
|
| 1342 |
+
"type": "text",
|
| 1343 |
+
"text": "In this paper, we propose a method to alleviate the problem of lexical confusion in unsupervised machine translation by utilizing word-level images and provide a concise yet potent framework for integrating them into an unsupervised neural machine translation model. Through extensive experiments, we demonstrate that our method can effectively mitigate the issue of word confusion and even outperform the use of costly bilingual dictionaries in some directions. Furthermore, we release an open-source word-image dataset that covers 5 languages and involves over 300,000 images in total. In the future, we will endeavor to explore the",
|
| 1344 |
+
"bbox": [
|
| 1345 |
+
507,
|
| 1346 |
+
709,
|
| 1347 |
+
884,
|
| 1348 |
+
917
|
| 1349 |
+
],
|
| 1350 |
+
"page_idx": 7
|
| 1351 |
+
},
|
| 1352 |
+
{
|
| 1353 |
+
"type": "page_number",
|
| 1354 |
+
"text": "12615",
|
| 1355 |
+
"bbox": [
|
| 1356 |
+
477,
|
| 1357 |
+
927,
|
| 1358 |
+
524,
|
| 1359 |
+
940
|
| 1360 |
+
],
|
| 1361 |
+
"page_idx": 7
|
| 1362 |
+
},
|
| 1363 |
+
{
|
| 1364 |
+
"type": "text",
|
| 1365 |
+
"text": "potential of utilizing images for augmenting the translation quality of low-resource languages in a large-language-model-based translation system.",
|
| 1366 |
+
"bbox": [
|
| 1367 |
+
112,
|
| 1368 |
+
84,
|
| 1369 |
+
487,
|
| 1370 |
+
134
|
| 1371 |
+
],
|
| 1372 |
+
"page_idx": 8
|
| 1373 |
+
},
|
| 1374 |
+
{
|
| 1375 |
+
"type": "text",
|
| 1376 |
+
"text": "Limitations",
|
| 1377 |
+
"text_level": 1,
|
| 1378 |
+
"bbox": [
|
| 1379 |
+
114,
|
| 1380 |
+
143,
|
| 1381 |
+
220,
|
| 1382 |
+
158
|
| 1383 |
+
],
|
| 1384 |
+
"page_idx": 8
|
| 1385 |
+
},
|
| 1386 |
+
{
|
| 1387 |
+
"type": "text",
|
| 1388 |
+
"text": "One limitation of our work is that we have not been able to effectively handle the issue of polysemy. The word-image dataset is obtained through direct web scraping of words, and the images collected may not all correspond to the same sense of the word. Moreover, when adding images, we have not been able to accurately select images that correspond to the intended meaning of the word in the sentence. However, we have attempted to alleviate this issue to some extent by randomly selecting images during the process of adding images, which has enabled the model to encounter the correct images to a certain degree. In the future, we plan to improve our approach by incorporating sentence-level information when inserting images.",
|
| 1389 |
+
"bbox": [
|
| 1390 |
+
112,
|
| 1391 |
+
168,
|
| 1392 |
+
489,
|
| 1393 |
+
411
|
| 1394 |
+
],
|
| 1395 |
+
"page_idx": 8
|
| 1396 |
+
},
|
| 1397 |
+
{
|
| 1398 |
+
"type": "text",
|
| 1399 |
+
"text": "Ethics Statement",
|
| 1400 |
+
"text_level": 1,
|
| 1401 |
+
"bbox": [
|
| 1402 |
+
114,
|
| 1403 |
+
422,
|
| 1404 |
+
265,
|
| 1405 |
+
436
|
| 1406 |
+
],
|
| 1407 |
+
"page_idx": 8
|
| 1408 |
+
},
|
| 1409 |
+
{
|
| 1410 |
+
"type": "text",
|
| 1411 |
+
"text": "In our experimental endeavors, we have amassed a substantial collection of images, which naturally prompts discussions pertaining to these issues. It is imperative to clarify that we do not possess the copyright for these images. Instead, they will be exclusively available to researchers and educators seeking to utilize the dataset for non-commercial research and/or educational purposes.",
|
| 1412 |
+
"bbox": [
|
| 1413 |
+
112,
|
| 1414 |
+
447,
|
| 1415 |
+
487,
|
| 1416 |
+
575
|
| 1417 |
+
],
|
| 1418 |
+
"page_idx": 8
|
| 1419 |
+
},
|
| 1420 |
+
{
|
| 1421 |
+
"type": "text",
|
| 1422 |
+
"text": "Acknowledgements",
|
| 1423 |
+
"text_level": 1,
|
| 1424 |
+
"bbox": [
|
| 1425 |
+
114,
|
| 1426 |
+
588,
|
| 1427 |
+
285,
|
| 1428 |
+
604
|
| 1429 |
+
],
|
| 1430 |
+
"page_idx": 8
|
| 1431 |
+
},
|
| 1432 |
+
{
|
| 1433 |
+
"type": "text",
|
| 1434 |
+
"text": "Xiaocheng Feng is the corresponding author of this work. We thank the anonymous reviewers for their insightful comments. This work was supported by the National Key RD Program of China via grant No. 2021ZD0112905, National Natural Science Foundation of China (NSFC) via grant 62276078, the Key RD Program of Heilongjiang via grant 2022ZX01A32, the International Cooperation Project of PCLPCL2022D01 and the Fundamental Research Funds for the Central Universities (Grant No.HIT.OCEF.2023018).",
|
| 1435 |
+
"bbox": [
|
| 1436 |
+
112,
|
| 1437 |
+
613,
|
| 1438 |
+
489,
|
| 1439 |
+
789
|
| 1440 |
+
],
|
| 1441 |
+
"page_idx": 8
|
| 1442 |
+
},
|
| 1443 |
+
{
|
| 1444 |
+
"type": "text",
|
| 1445 |
+
"text": "References",
|
| 1446 |
+
"text_level": 1,
|
| 1447 |
+
"bbox": [
|
| 1448 |
+
114,
|
| 1449 |
+
816,
|
| 1450 |
+
213,
|
| 1451 |
+
831
|
| 1452 |
+
],
|
| 1453 |
+
"page_idx": 8
|
| 1454 |
+
},
|
| 1455 |
+
{
|
| 1456 |
+
"type": "ref_text",
|
| 1457 |
+
"text": "Mikel Artetxe, Gorka Labaka, Eneko Agirre, and Kyunghyun Cho. 2018. Unsupervised neural machine translation. In 6th International Conference on Learning Representations, ICLR 2018, Vancouver, BC, Canada, April 30 - May 3, 2018, Conference Track Proceedings. OpenReview.net.",
|
| 1458 |
+
"bbox": [
|
| 1459 |
+
115,
|
| 1460 |
+
838,
|
| 1461 |
+
489,
|
| 1462 |
+
917
|
| 1463 |
+
],
|
| 1464 |
+
"page_idx": 8
|
| 1465 |
+
},
|
| 1466 |
+
{
|
| 1467 |
+
"type": "list",
|
| 1468 |
+
"sub_type": "ref_text",
|
| 1469 |
+
"list_items": [
|
| 1470 |
+
"Ankur Bapna, Isaac Caswell, Julia Kreutzer, Orhan Firat, Daan van Esch, Aditya Siddhant, Mengmeng Niu, Pallavi Baljekar, Xavier Garcia, Wolfgang Macherey, et al. 2022. Building machine translation systems for the next thousand languages. arXiv preprint arXiv:2205.03983.",
|
| 1471 |
+
"Loic Barrault, Fethi Bougares, Lucia Specia, Chiraag Lala, Desmond Elliott, and Stella Frank. 2018. Findings of the third shared task on multimodal machine translation. In Proceedings of the Third Conference on Machine Translation: Shared Task Papers, pages 304-323.",
|
| 1472 |
+
"Ozan Caglayan, Loic Barrault, and Fethi Bougares. 2016. Multimodal attention for neural machine translation. arXiv preprint arXiv:1609.03976.",
|
| 1473 |
+
"Ozan Caglayan, Menekse Kuyu, Mustafa Sercan Amac, Pranava Madhyastha, Erkut Erdem, Aykut Erdem, and Lucia Specia. 2021. Cross-lingual visual pretraining for multimodal machine translation. In Proceedings of the 16th Conference of the European Chapter of the Association for Computational Linguistics: Main Volume, pages 1317-1324, Online. Association for Computational Linguistics.",
|
| 1474 |
+
"Ozan Caglayan, Pranava Madhyastha, Lucia Specia, and Loic Barrault. 2019. Probing the need for visual context in multimodal 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 4159-4170, Minneapolis, Minnesota. Association for Computational Linguistics.",
|
| 1475 |
+
"Alexandra Chronopoulou, Dario Stojanovski, and Alexander Fraser. 2020. Reusing a Pretrained Language Model on Languages with Limited Corpora for Unsupervised NMT. In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP), pages 2703-2711, Online. Association for Computational Linguistics.",
|
| 1476 |
+
"Alexis Conneau and Guillaume Lample. 2019. Crosslingual language model pretraining. Advances in neural information processing systems, 32.",
|
| 1477 |
+
"Desmond Elliott, Stella Frank, Loic Barrault, Fethi Bougares, and Lucia Specia. 2017. Findings of the second shared task on multimodal machine translation and multilingual image description. In Proceedings of the Second Conference on Machine Translation, pages 215-233, Copenhagen, Denmark. Association for Computational Linguistics.",
|
| 1478 |
+
"Desmond Elliott, Stella Frank, Khalil Sima'an, and Lucia Specia. 2016. Multi30K: Multilingual English-German image descriptions. In Proceedings of the 5th Workshop on Vision and Language, pages 70-74, Berlin, Germany. Association for Computational Linguistics."
|
| 1479 |
+
],
|
| 1480 |
+
"bbox": [
|
| 1481 |
+
510,
|
| 1482 |
+
85,
|
| 1483 |
+
884,
|
| 1484 |
+
917
|
| 1485 |
+
],
|
| 1486 |
+
"page_idx": 8
|
| 1487 |
+
},
|
| 1488 |
+
{
|
| 1489 |
+
"type": "page_number",
|
| 1490 |
+
"text": "12616",
|
| 1491 |
+
"bbox": [
|
| 1492 |
+
477,
|
| 1493 |
+
928,
|
| 1494 |
+
524,
|
| 1495 |
+
940
|
| 1496 |
+
],
|
| 1497 |
+
"page_idx": 8
|
| 1498 |
+
},
|
| 1499 |
+
{
|
| 1500 |
+
"type": "list",
|
| 1501 |
+
"sub_type": "ref_text",
|
| 1502 |
+
"list_items": [
|
| 1503 |
+
"Qingkai Fang and Yang Feng. 2022. Neural machine translation with phrase-level universal visual representations. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 5687-5698, Dublin, Ireland. Association for Computational Linguistics.",
|
| 1504 |
+
"Xiaocheng Feng, Zhangyin Feng, Wanlong Zhao, Bing Qin, and Ting Liu. 2020. Enhanced neural machine translation by joint decoding with word and posttagging sequences. Mobile Networks and Applications, 25:1722-1728.",
|
| 1505 |
+
"Jesse Michael Han, Igor Babuschkin, Harrison Edwards, Arvind Neelakantan, Tao Xu, Stanislas Polu, Alex Ray, Pranav Shyam, Aditya Ramesh, Alec Radford, et al. 2021. Unsupervised neural machine translation with generative language models only. arXiv preprint arXiv:2110.05448.",
|
| 1506 |
+
"Zhiwei He, Xing Wang, Rui Wang, Shuming Shi, and Zhaopeng Tu. 2022. Bridging the data gap between training and inference for unsupervised neural machine translation. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 6611-6623, Dublin, Ireland. Association for Computational Linguistics.",
|
| 1507 |
+
"Po-Yao Huang, Junjie Hu, Xiaojun Chang, and Alexander Hauptmann. 2020. Unsupervised multimodal neural machine translation with pseudo visual pivoting. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pages 8226-8237, Online. Association for Computational Linguistics.",
|
| 1508 |
+
"Alex Jones, Isaac Caswell, Ishank Saxena, and Orhan Firat. 2023. Bilex rx: Lexical data augmentation for massively multilingual machine translation. CoRR, abs/2303.15265.",
|
| 1509 |
+
"Yunsu Kim, Miguel Graça, and Hermann Ney. 2020. When and why is unsupervised neural machine translation useless? In Proceedings of the 22nd Annual Conference of the European Association for Machine Translation, pages 35-44, Lisboa, Portugal. European Association for Machine Translation.",
|
| 1510 |
+
"Guillaume Lample, Alexis Conneau, Ludovic Denoyer, and Marc'Aurelio Ranzato. 2018a. Unsupervised machine translation using monolingual corpora only. In International Conference on Learning Representations.",
|
| 1511 |
+
"Guillaume Lample, Alexis Conneau, Marc'Aurelio Ranzato, Ludovic Denoyer, and Hervé Jégou. 2018b. Word translation without parallel data. In 6th International Conference on Learning Representations, ICLR 2018, Vancouver, BC, Canada, April 30 - May 3, 2018, Conference Track Proceedings. OpenReview.net.",
|
| 1512 |
+
"Guillaume Lample, Myle Ott, Alexis Conneau, Ludovic Denoyer, and Marc'Aurelio Ranzato. 2018c. Phrase-based & neural unsupervised machine translation."
|
| 1513 |
+
],
|
| 1514 |
+
"bbox": [
|
| 1515 |
+
115,
|
| 1516 |
+
85,
|
| 1517 |
+
489,
|
| 1518 |
+
917
|
| 1519 |
+
],
|
| 1520 |
+
"page_idx": 9
|
| 1521 |
+
},
|
| 1522 |
+
{
|
| 1523 |
+
"type": "list",
|
| 1524 |
+
"sub_type": "ref_text",
|
| 1525 |
+
"list_items": [
|
| 1526 |
+
"In Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing, pages 5039-5049, Brussels, Belgium. Association for Computational Linguistics.",
|
| 1527 |
+
"Bei Li, Chuanhao Lv, Zefan Zhou, Tao Zhou, Tong Xiao, Anxiang Ma, and JingBo Zhu. 2022. On vision features in multimodal machine translation. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 6327-6337, Dublin, Ireland. Association for Computational Linguistics.",
|
| 1528 |
+
"Weijie Liu, Peng Zhou, Zhe Zhao, Zhiruo Wang, Qi Ju, Haotang Deng, and Ping Wang. 2020. K-bert: Enabling language representation with knowledge graph. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 34, pages 2901-2908.",
|
| 1529 |
+
"Kelly Marchisio, Kevin Duh, and Philipp Koehn. 2020. When does unsupervised machine translation work? In Proceedings of the Fifth Conference on Machine Translation, pages 571-583, Online. Association for Computational Linguistics.",
|
| 1530 |
+
"Kishore Papineni, Salim Roukos, Todd Ward, and Wei-Jing Zhu. 2002. Bleu: a method for automatic evaluation of machine translation. In Proceedings of the 40th Annual Meeting of the Association for Computational Linguistics, pages 311-318, Philadelphia, Pennsylvania, USA. Association for Computational Linguistics.",
|
| 1531 |
+
"Alec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh, Gabriel Goh, Sandhini Agarwal, Girish Sastry, Amanda Askell, Pamela Mishkin, Jack Clark, et al. 2021. Learning transferable visual models from natural language supervision. In International conference on machine learning, pages 8748-8763. PMLR.",
|
| 1532 |
+
"Kaitao Song, Xu Tan, Tao Qin, Jianfeng Lu, and Tie-Yan Liu. 2019. Mass: Masked sequence to sequence pretraining for language generation. In International Conference on Machine Learning, pages 5926-5936. PMLR.",
|
| 1533 |
+
"Yuanhang Su, Kai Fan, Nguyen Bach, C-C Jay Kuo, and Fei Huang. 2019. Unsupervised multi-modal neural machine translation. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 10482-10491.",
|
| 1534 |
+
"Haipeng Sun, Rui Wang, Masao Utiyama, Benjamin Marie, Kehai Chen, Eiichiro Sumita, and Tiejun Zhao. 2021. Unsupervised neural machine translation for similar and distant language pairs: An empirical study. ACM Transactions on Asian and Low-Resource Language Information Processing (TALLIP), 20(1):1-17.",
|
| 1535 |
+
"Ilya Sutskever, Oriol Vinyals, and Quoc V Le. 2014. Sequence to sequence learning with neural networks. Advances in neural information processing systems, 27."
|
| 1536 |
+
],
|
| 1537 |
+
"bbox": [
|
| 1538 |
+
510,
|
| 1539 |
+
85,
|
| 1540 |
+
882,
|
| 1541 |
+
917
|
| 1542 |
+
],
|
| 1543 |
+
"page_idx": 9
|
| 1544 |
+
},
|
| 1545 |
+
{
|
| 1546 |
+
"type": "page_number",
|
| 1547 |
+
"text": "12617",
|
| 1548 |
+
"bbox": [
|
| 1549 |
+
477,
|
| 1550 |
+
928,
|
| 1551 |
+
524,
|
| 1552 |
+
940
|
| 1553 |
+
],
|
| 1554 |
+
"page_idx": 9
|
| 1555 |
+
},
|
| 1556 |
+
{
|
| 1557 |
+
"type": "list",
|
| 1558 |
+
"sub_type": "ref_text",
|
| 1559 |
+
"list_items": [
|
| 1560 |
+
"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.",
|
| 1561 |
+
"Zhiyong Wu, Lingpeng Kong, Wei Bi, Xiang Li, and Ben Kao. 2021. Good for misconceived reasons: An empirical revisiting on the need for visual context in multimodal machine translation. In Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing (Volume I: Long Papers), pages 6153-6166, Online. Association for Computational Linguistics.",
|
| 1562 |
+
"Zhe Yang, Qingkai Fang, and Yang Feng. 2022. Lowresource neural machine translation with cross-modal alignment. In Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing, pages 10134-10146, Abu Dhabi, United Arab Emirates. Association for Computational Linguistics.",
|
| 1563 |
+
"Shaowei Yao and Xiaojun Wan. 2020. Multimodal transformer for multimodal machine translation. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pages 4346-4350, Online. Association for Computational Linguistics.",
|
| 1564 |
+
"Yongjing Yin, Fandong Meng, Jinsong Su, Chulun Zhou, Zhengyuan Yang, Jie Zhou, and Jiebo Luo. 2020. A novel graph-based multi-modal fusion encoder for neural machine translation. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pages 3025-3035, Online. Association for Computational Linguistics.",
|
| 1565 |
+
"Meng Zhang, Yang Liu, Huanbo Luan, and Maosong Sun. 2017. Adversarial training for unsupervised bilingual lexicon induction. In Proceedings of the 55th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 1959-1970, Vancouver, Canada. Association for Computational Linguistics.",
|
| 1566 |
+
"Zhuosheng Zhang, Kehai Chen, Rui Wang, Masao Utiyama, Eiichiro Sumita, Zuchao Li, and Hai Zhao. 2020. Neural machine translation with universal visual representation. In International Conference on Learning Representations."
|
| 1567 |
+
],
|
| 1568 |
+
"bbox": [
|
| 1569 |
+
115,
|
| 1570 |
+
85,
|
| 1571 |
+
487,
|
| 1572 |
+
738
|
| 1573 |
+
],
|
| 1574 |
+
"page_idx": 10
|
| 1575 |
+
},
|
| 1576 |
+
{
|
| 1577 |
+
"type": "text",
|
| 1578 |
+
"text": "A The Implementation Details of the XLM and UNMT-CS Method",
|
| 1579 |
+
"text_level": 1,
|
| 1580 |
+
"bbox": [
|
| 1581 |
+
114,
|
| 1582 |
+
764,
|
| 1583 |
+
448,
|
| 1584 |
+
795
|
| 1585 |
+
],
|
| 1586 |
+
"page_idx": 10
|
| 1587 |
+
},
|
| 1588 |
+
{
|
| 1589 |
+
"type": "text",
|
| 1590 |
+
"text": "The XLM and UNMT-CS methods are re-implemented on the Multi30k dataset in our paper. During training, both these two methods are trained on the 5 million sentences from the WMT dataset for 70 epochs and subsequently continued training for 70 epochs on the Multi30k dataset. For the bilingual dictionary in codeswitching method, we use",
|
| 1591 |
+
"bbox": [
|
| 1592 |
+
112,
|
| 1593 |
+
806,
|
| 1594 |
+
489,
|
| 1595 |
+
917
|
| 1596 |
+
],
|
| 1597 |
+
"page_idx": 10
|
| 1598 |
+
},
|
| 1599 |
+
{
|
| 1600 |
+
"type": "text",
|
| 1601 |
+
"text": "the Ground-truth bilingual dictionaries provided in MUSE $^{8}$ (Lample et al., 2018b). When training, we substituted words in $50\\%$ of the sentences, while the remaining sentences were left unchanged. All other parameters used in the XLM and UNMT-CS methods are identical to those used in our proposed method, as described in our paper.",
|
| 1602 |
+
"bbox": [
|
| 1603 |
+
507,
|
| 1604 |
+
84,
|
| 1605 |
+
882,
|
| 1606 |
+
197
|
| 1607 |
+
],
|
| 1608 |
+
"page_idx": 10
|
| 1609 |
+
},
|
| 1610 |
+
{
|
| 1611 |
+
"type": "text",
|
| 1612 |
+
"text": "B The Implicit Mapping Relationship Between Image Representations",
|
| 1613 |
+
"text_level": 1,
|
| 1614 |
+
"bbox": [
|
| 1615 |
+
507,
|
| 1616 |
+
208,
|
| 1617 |
+
852,
|
| 1618 |
+
242
|
| 1619 |
+
],
|
| 1620 |
+
"page_idx": 10
|
| 1621 |
+
},
|
| 1622 |
+
{
|
| 1623 |
+
"type": "text",
|
| 1624 |
+
"text": "In fact, our approach doesn't explicitly provide the model with a mapping relationship. Rather, we introduce the (word-image) pairs relationship into the model, enabling it to extract information from similar images and thus enhancing the mapping relationship between words.",
|
| 1625 |
+
"bbox": [
|
| 1626 |
+
507,
|
| 1627 |
+
250,
|
| 1628 |
+
882,
|
| 1629 |
+
346
|
| 1630 |
+
],
|
| 1631 |
+
"page_idx": 10
|
| 1632 |
+
},
|
| 1633 |
+
{
|
| 1634 |
+
"type": "text",
|
| 1635 |
+
"text": "We are also curious about the impact on results if the implicit mapping relationship between image representations was absent. Therefore, during the second stage of multi30k training, we replace all images from one language with randomly generated representations while keeping the other language's images unchanged. The En→De direction results for the Flickr2016 and Flickr2017 datasets experience a significant decline, decreasing from 40.32/35.20 to 39.17/34.29. This confirms the crucial importance of the mapping relationship between images for our approach.",
|
| 1636 |
+
"bbox": [
|
| 1637 |
+
507,
|
| 1638 |
+
347,
|
| 1639 |
+
884,
|
| 1640 |
+
541
|
| 1641 |
+
],
|
| 1642 |
+
"page_idx": 10
|
| 1643 |
+
},
|
| 1644 |
+
{
|
| 1645 |
+
"type": "footer",
|
| 1646 |
+
"text": "$^{8}$ https://github.com/facebookresearch/MUSE",
|
| 1647 |
+
"bbox": [
|
| 1648 |
+
531,
|
| 1649 |
+
903,
|
| 1650 |
+
806,
|
| 1651 |
+
917
|
| 1652 |
+
],
|
| 1653 |
+
"page_idx": 10
|
| 1654 |
+
},
|
| 1655 |
+
{
|
| 1656 |
+
"type": "page_number",
|
| 1657 |
+
"text": "12618",
|
| 1658 |
+
"bbox": [
|
| 1659 |
+
477,
|
| 1660 |
+
927,
|
| 1661 |
+
524,
|
| 1662 |
+
940
|
| 1663 |
+
],
|
| 1664 |
+
"page_idx": 10
|
| 1665 |
+
}
|
| 1666 |
+
]
|
2023/Enabling Unsupervised Neural Machine Translation with Word-level Visual Representations/da4765a2-c600-4e0c-b5cb-fcc5f37e0be1_model.json
ADDED
|
@@ -0,0 +1,2059 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
[
|
| 3 |
+
{
|
| 4 |
+
"type": "title",
|
| 5 |
+
"bbox": [
|
| 6 |
+
0.143,
|
| 7 |
+
0.082,
|
| 8 |
+
0.856,
|
| 9 |
+
0.123
|
| 10 |
+
],
|
| 11 |
+
"angle": 0,
|
| 12 |
+
"content": "Enabling Unsupervised Neural Machine Translation with Word-level Visual Representations"
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"bbox": [
|
| 17 |
+
0.19,
|
| 18 |
+
0.13,
|
| 19 |
+
0.817,
|
| 20 |
+
0.165
|
| 21 |
+
],
|
| 22 |
+
"angle": 0,
|
| 23 |
+
"content": "Chengpeng Fu\\(^{1,2}\\), Xiaocheng Feng\\(^{1,2}\\), Yichong Huang\\(^{1}\\), Wenshuai Huo\\(^{1,2}\\), Hui Wang\\(^{2}\\), Bin Qin\\(^{1,2}\\), Ting Liu\\(^{1,2}\\)"
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"bbox": [
|
| 28 |
+
0.302,
|
| 29 |
+
0.166,
|
| 30 |
+
0.7,
|
| 31 |
+
0.182
|
| 32 |
+
],
|
| 33 |
+
"angle": 0,
|
| 34 |
+
"content": "<sup>1</sup>Harbin Institution of Technology, Harbin, China"
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"type": "text",
|
| 38 |
+
"bbox": [
|
| 39 |
+
0.332,
|
| 40 |
+
0.182,
|
| 41 |
+
0.671,
|
| 42 |
+
0.198
|
| 43 |
+
],
|
| 44 |
+
"angle": 0,
|
| 45 |
+
"content": "\\(^{2}\\)Pengcheng Laboratory, Shenzhen, China"
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"type": "text",
|
| 49 |
+
"bbox": [
|
| 50 |
+
0.26,
|
| 51 |
+
0.199,
|
| 52 |
+
0.745,
|
| 53 |
+
0.214
|
| 54 |
+
],
|
| 55 |
+
"angle": 0,
|
| 56 |
+
"content": "fuchp@stu.hit.edu.cn, {huowsh, wangh06}@pc1.ac.cn"
|
| 57 |
+
},
|
| 58 |
+
{
|
| 59 |
+
"type": "text",
|
| 60 |
+
"bbox": [
|
| 61 |
+
0.299,
|
| 62 |
+
0.216,
|
| 63 |
+
0.705,
|
| 64 |
+
0.231
|
| 65 |
+
],
|
| 66 |
+
"angle": 0,
|
| 67 |
+
"content": "{xcfeng,ychuang,qinb,tliu}@ir.hit.edu.cn"
|
| 68 |
+
},
|
| 69 |
+
{
|
| 70 |
+
"type": "title",
|
| 71 |
+
"bbox": [
|
| 72 |
+
0.261,
|
| 73 |
+
0.253,
|
| 74 |
+
0.341,
|
| 75 |
+
0.267
|
| 76 |
+
],
|
| 77 |
+
"angle": 0,
|
| 78 |
+
"content": "Abstract"
|
| 79 |
+
},
|
| 80 |
+
{
|
| 81 |
+
"type": "text",
|
| 82 |
+
"bbox": [
|
| 83 |
+
0.142,
|
| 84 |
+
0.28,
|
| 85 |
+
0.461,
|
| 86 |
+
0.606
|
| 87 |
+
],
|
| 88 |
+
"angle": 0,
|
| 89 |
+
"content": "Unsupervised neural machine translation has recently made remarkable strides, achieving impressive results with the exclusive use of monolingual corpora. Nonetheless, these methods still exhibit fundamental flaws, such as confusing similar words. A straightforward remedy to rectify this drawback is to employ bilingual dictionaries, however, high-quality bilingual dictionaries can be costly to obtain. To overcome this limitation, we propose a method that incorporates images at the word level to augment the lexical mappings. Specifically, our method inserts visual representations into the model, modifying the corresponding embedding layer information. Besides, a visible matrix is adopted to isolate the impact of images on other unrelated words. Experiments on the Multi30k dataset with over 300,000 self-collected images validate the effectiveness in generating more accurate word translation, achieving an improvement of up to \\(+2.81\\) BLEU score, which is comparable or even superior to using bilingual dictionaries.\\(^{1}\\)"
|
| 90 |
+
},
|
| 91 |
+
{
|
| 92 |
+
"type": "title",
|
| 93 |
+
"bbox": [
|
| 94 |
+
0.115,
|
| 95 |
+
0.619,
|
| 96 |
+
0.26,
|
| 97 |
+
0.634
|
| 98 |
+
],
|
| 99 |
+
"angle": 0,
|
| 100 |
+
"content": "1 Introduction"
|
| 101 |
+
},
|
| 102 |
+
{
|
| 103 |
+
"type": "text",
|
| 104 |
+
"bbox": [
|
| 105 |
+
0.113,
|
| 106 |
+
0.644,
|
| 107 |
+
0.489,
|
| 108 |
+
0.836
|
| 109 |
+
],
|
| 110 |
+
"angle": 0,
|
| 111 |
+
"content": "Unsupervised Neural Machine Translation (UNMT) (Zhang et al., 2017; Artetxe et al., 2018; Lample et al., 2018a,b,c) seeks to avoid the necessity for high-quality bilingual data in conventional machine translation by exploring the possibility of completing translations relying solely on the monolingual corpus. Consisting of three main components, cross-lingual language model initialization, denoising auto-encoder, and iterative back translation, recent methods (Conneau and Lample, 2019; Song et al., 2019) have achieved promising results."
|
| 112 |
+
},
|
| 113 |
+
{
|
| 114 |
+
"type": "text",
|
| 115 |
+
"bbox": [
|
| 116 |
+
0.114,
|
| 117 |
+
0.837,
|
| 118 |
+
0.49,
|
| 119 |
+
0.886
|
| 120 |
+
],
|
| 121 |
+
"angle": 0,
|
| 122 |
+
"content": "Nonetheless, recent UNMT approaches have been observed to make particular errors in comparison to supervised machine translation, such"
|
| 123 |
+
},
|
| 124 |
+
{
|
| 125 |
+
"type": "text",
|
| 126 |
+
"bbox": [
|
| 127 |
+
0.508,
|
| 128 |
+
0.254,
|
| 129 |
+
0.886,
|
| 130 |
+
0.574
|
| 131 |
+
],
|
| 132 |
+
"angle": 0,
|
| 133 |
+
"content": "as confusing nouns that pertain to the same semantic category. For instance, Bapna et al. (2022) demonstrates that their models translate \"lion\" to \"rabbit\" or \"snake\" despite getting good CHRF scores. In the context of supervised machine translation, pinpointing accurate translations of words is straightforward with aligned bilingual data. However, with only monolingual data, the unsupervised model must rely on large amounts of context for word mapping, which can lead to confusion between words with similar distributions, particularly when there is insufficient data. To address this issue, a direct solution is to integrate high-quality bilingual dictionaries into the UNMT process using codeswitching or spliced methods (Jones et al., 2023). High-quality bilingual dictionaries can be obtained through manual annotation and bilingual data extraction, yet these methods either involve high costs or deviate from the original objective of the UNMT task."
|
| 134 |
+
},
|
| 135 |
+
{
|
| 136 |
+
"type": "text",
|
| 137 |
+
"bbox": [
|
| 138 |
+
0.508,
|
| 139 |
+
0.579,
|
| 140 |
+
0.885,
|
| 141 |
+
0.868
|
| 142 |
+
],
|
| 143 |
+
"angle": 0,
|
| 144 |
+
"content": "In addition to utilizing explicit bilingual dictionaries for word mapping, implicit methods can also be employed. As the saying goes, \"A picture is worth a thousand words\". We can leverage the \"thousand words\" represented by corresponding images to learn the mapping between words in different languages. Visual content has the potential to enhance word mapping abilities in latent spaces, as the physical visual perception is congruent among speakers of diverse languages (Huang et al., 2020). Furthermore, the cost of annotating a bilingual dictionary is relatively high, whereas the cost of searching images with monolingual keywords is relatively low in the era of sophisticated search engines. Describing an image is also less demanding for humans compared to translating a word, as the former only requires mastery of one language while the latter requires at least two."
|
| 145 |
+
},
|
| 146 |
+
{
|
| 147 |
+
"type": "text",
|
| 148 |
+
"bbox": [
|
| 149 |
+
0.508,
|
| 150 |
+
0.872,
|
| 151 |
+
0.885,
|
| 152 |
+
0.919
|
| 153 |
+
],
|
| 154 |
+
"angle": 0,
|
| 155 |
+
"content": "Drawing on these insights, we propose to integrate word-level image information into the UNMT process to mitigate the issue of lexical confusion."
|
| 156 |
+
},
|
| 157 |
+
{
|
| 158 |
+
"type": "page_footnote",
|
| 159 |
+
"bbox": [
|
| 160 |
+
0.114,
|
| 161 |
+
0.893,
|
| 162 |
+
0.488,
|
| 163 |
+
0.919
|
| 164 |
+
],
|
| 165 |
+
"angle": 0,
|
| 166 |
+
"content": "<sup>1</sup>The word-image dataset and associated codes are publicly available at: https://github.com/Brianmax99/UNMT-WVR"
|
| 167 |
+
},
|
| 168 |
+
{
|
| 169 |
+
"type": "page_number",
|
| 170 |
+
"bbox": [
|
| 171 |
+
0.477,
|
| 172 |
+
0.928,
|
| 173 |
+
0.526,
|
| 174 |
+
0.941
|
| 175 |
+
],
|
| 176 |
+
"angle": 0,
|
| 177 |
+
"content": "12608"
|
| 178 |
+
},
|
| 179 |
+
{
|
| 180 |
+
"type": "footer",
|
| 181 |
+
"bbox": [
|
| 182 |
+
0.211,
|
| 183 |
+
0.946,
|
| 184 |
+
0.788,
|
| 185 |
+
0.973
|
| 186 |
+
],
|
| 187 |
+
"angle": 0,
|
| 188 |
+
"content": "Findings of the Association for Computational Linguistics: EMNLP 2023, pages 12608-12618 December 6-10, 2023 ©2023 Association for Computational Linguistics"
|
| 189 |
+
}
|
| 190 |
+
],
|
| 191 |
+
[
|
| 192 |
+
{
|
| 193 |
+
"type": "text",
|
| 194 |
+
"bbox": [
|
| 195 |
+
0.113,
|
| 196 |
+
0.085,
|
| 197 |
+
0.49,
|
| 198 |
+
0.39
|
| 199 |
+
],
|
| 200 |
+
"angle": 0,
|
| 201 |
+
"content": "It's worth noting that we don't use sentence-level images like some multi-modal UNMT approaches (Su et al. (2019); Huang et al. (2020)). Instead, we focused on word-level images since they are more effective and flexible in addressing the challenge of lexical confusion and are easier to collect. Our approach involves augmenting the encoded images to their corresponding words, modifying the corresponding position and language encoding information, and utilizing a visible matrix to isolate the impact of images on other words. We conduct experiments utilizing over 300,000 self-collected images, and further analysis demonstrates that we have effectively mitigated lexical confusion to a certain extent. Furthermore, we achieve new state-of-the-art results for the UNMT task in certain language directions on the Multi30k dataset. The main contributions of this work can be summarized as follows:"
|
| 202 |
+
},
|
| 203 |
+
{
|
| 204 |
+
"type": "text",
|
| 205 |
+
"bbox": [
|
| 206 |
+
0.137,
|
| 207 |
+
0.407,
|
| 208 |
+
0.489,
|
| 209 |
+
0.472
|
| 210 |
+
],
|
| 211 |
+
"angle": 0,
|
| 212 |
+
"content": "- We introduce a concise yet potent framework that integrates word-level images to alleviate the similar lexical confusion issue in UNMT, without utilizing bilingual dictionaries."
|
| 213 |
+
},
|
| 214 |
+
{
|
| 215 |
+
"type": "text",
|
| 216 |
+
"bbox": [
|
| 217 |
+
0.137,
|
| 218 |
+
0.479,
|
| 219 |
+
0.488,
|
| 220 |
+
0.528
|
| 221 |
+
],
|
| 222 |
+
"angle": 0,
|
| 223 |
+
"content": "- Our approach has achieved promising or even unparalleled unsupervised results on the Multi30K dataset for certain language pairs."
|
| 224 |
+
},
|
| 225 |
+
{
|
| 226 |
+
"type": "text",
|
| 227 |
+
"bbox": [
|
| 228 |
+
0.137,
|
| 229 |
+
0.534,
|
| 230 |
+
0.488,
|
| 231 |
+
0.583
|
| 232 |
+
],
|
| 233 |
+
"angle": 0,
|
| 234 |
+
"content": "- We release the word-image datasets for five languages as open-source, which can serve as a valuable resource to the community."
|
| 235 |
+
},
|
| 236 |
+
{
|
| 237 |
+
"type": "list",
|
| 238 |
+
"bbox": [
|
| 239 |
+
0.137,
|
| 240 |
+
0.407,
|
| 241 |
+
0.489,
|
| 242 |
+
0.583
|
| 243 |
+
],
|
| 244 |
+
"angle": 0,
|
| 245 |
+
"content": null
|
| 246 |
+
},
|
| 247 |
+
{
|
| 248 |
+
"type": "title",
|
| 249 |
+
"bbox": [
|
| 250 |
+
0.115,
|
| 251 |
+
0.598,
|
| 252 |
+
0.226,
|
| 253 |
+
0.613
|
| 254 |
+
],
|
| 255 |
+
"angle": 0,
|
| 256 |
+
"content": "2 Methods"
|
| 257 |
+
},
|
| 258 |
+
{
|
| 259 |
+
"type": "text",
|
| 260 |
+
"bbox": [
|
| 261 |
+
0.113,
|
| 262 |
+
0.626,
|
| 263 |
+
0.49,
|
| 264 |
+
0.707
|
| 265 |
+
],
|
| 266 |
+
"angle": 0,
|
| 267 |
+
"content": "In this section, we first review the text-only UNMT process. Then, we present our proposed method for incorporating images, which involves the modified embedding layer and mask transformer. Finally, we introduce some training strategies."
|
| 268 |
+
},
|
| 269 |
+
{
|
| 270 |
+
"type": "title",
|
| 271 |
+
"bbox": [
|
| 272 |
+
0.114,
|
| 273 |
+
0.72,
|
| 274 |
+
0.488,
|
| 275 |
+
0.737
|
| 276 |
+
],
|
| 277 |
+
"angle": 0,
|
| 278 |
+
"content": "2.1 Unsupervised Neural Machine Translation"
|
| 279 |
+
},
|
| 280 |
+
{
|
| 281 |
+
"type": "text",
|
| 282 |
+
"bbox": [
|
| 283 |
+
0.113,
|
| 284 |
+
0.743,
|
| 285 |
+
0.491,
|
| 286 |
+
0.92
|
| 287 |
+
],
|
| 288 |
+
"angle": 0,
|
| 289 |
+
"content": "Successful UNMT systems typically employ an encoder-decoder architecture similar to that of supervised machine translation, sharing parameters between the source-to-target and target-to-source models. They share several common principles: initialization, iterative back-translation, and denoising autoencoder. Let \\( X = \\{X_{i}\\}_{i=1}^{M} \\) denote monolingual data in language \\( L_{1} \\) and \\( Y = \\{Y_{i}\\}_{i=1}^{N} \\) in language \\( L_{2} \\). \\( M \\) and \\( N \\) are the sentence number of monolingual data \\( X \\) and \\( Y \\) respectively. \\( \\theta \\) represents the UNMT model parameters."
|
| 290 |
+
},
|
| 291 |
+
{
|
| 292 |
+
"type": "text",
|
| 293 |
+
"bbox": [
|
| 294 |
+
0.508,
|
| 295 |
+
0.085,
|
| 296 |
+
0.885,
|
| 297 |
+
0.246
|
| 298 |
+
],
|
| 299 |
+
"angle": 0,
|
| 300 |
+
"content": "Initialization. Performing parameter initialization that is non-random can introduce cross-lingual prior knowledge into the model. There are currently two main initialization methods for UNMT models. The first method initializes the embedding layer of a UNMT model with word pretrained embeddings, while the second method uses a pretrained cross-lingual language model with the same structure as the UNMT encoder to initialize most of the neural network parameters."
|
| 301 |
+
},
|
| 302 |
+
{
|
| 303 |
+
"type": "text",
|
| 304 |
+
"bbox": [
|
| 305 |
+
0.508,
|
| 306 |
+
0.254,
|
| 307 |
+
0.885,
|
| 308 |
+
0.43
|
| 309 |
+
],
|
| 310 |
+
"angle": 0,
|
| 311 |
+
"content": "Iterative Back-translation. Back-translation is a method that leverages monolingual data in the target language and a reverse translation model to generate pseudo-source data, improving the quality of translations in the forward direction. In UNMT, where only monolingual data is available, back-translation is used to generate pseudo-parallel data, transforming the unsupervised problem into a weakly or self-supervised one. During training, back-translation is repeatedly applied in an iterative manner. The loss is defined as followed:"
|
| 312 |
+
},
|
| 313 |
+
{
|
| 314 |
+
"type": "equation",
|
| 315 |
+
"bbox": [
|
| 316 |
+
0.544,
|
| 317 |
+
0.446,
|
| 318 |
+
0.884,
|
| 319 |
+
0.52
|
| 320 |
+
],
|
| 321 |
+
"angle": 0,
|
| 322 |
+
"content": "\\[\n\\begin{array}{l} \\mathcal {L} _ {B} = \\sum_ {i = 1} ^ {M} - \\log P _ {L _ {2} \\rightarrow L _ {1}} \\left(X _ {i} \\mid S _ {L _ {1} \\rightarrow L _ {2}} \\left(X _ {i}, \\theta\\right), \\theta\\right) \\tag {1} \\\\ + \\sum_ {j = 1} ^ {N} - l o g P _ {L _ {1} \\rightarrow L _ {2}} (Y _ {j} | S _ {L _ {2} \\rightarrow L _ {1}} (Y _ {j}, \\theta), \\theta) \\\\ \\end{array}\n\\]"
|
| 323 |
+
},
|
| 324 |
+
{
|
| 325 |
+
"type": "text",
|
| 326 |
+
"bbox": [
|
| 327 |
+
0.508,
|
| 328 |
+
0.526,
|
| 329 |
+
0.882,
|
| 330 |
+
0.575
|
| 331 |
+
],
|
| 332 |
+
"angle": 0,
|
| 333 |
+
"content": "where \\(P_{L_a\\to L_b}\\) denotes the translation probabilities between two languages and \\(S_{L_a\\rightarrow L_b}\\) denotes the translation processes from language \\(L_{a}\\) to \\(L_{b}\\)."
|
| 334 |
+
},
|
| 335 |
+
{
|
| 336 |
+
"type": "text",
|
| 337 |
+
"bbox": [
|
| 338 |
+
0.508,
|
| 339 |
+
0.582,
|
| 340 |
+
0.884,
|
| 341 |
+
0.695
|
| 342 |
+
],
|
| 343 |
+
"angle": 0,
|
| 344 |
+
"content": "Denoising Autoencoder. The introduction of the denoising autoencoder aims to guide the model in producing fluent text output. This is achieved by adding noise to sentences through techniques such as replacement, deletion, and shuffling, and then allowing the model to output the correct and fluent original sentence. The loss is defined as follows:"
|
| 345 |
+
},
|
| 346 |
+
{
|
| 347 |
+
"type": "equation",
|
| 348 |
+
"bbox": [
|
| 349 |
+
0.57,
|
| 350 |
+
0.71,
|
| 351 |
+
0.884,
|
| 352 |
+
0.784
|
| 353 |
+
],
|
| 354 |
+
"angle": 0,
|
| 355 |
+
"content": "\\[\n\\begin{array}{l} \\mathcal {L} _ {D} = \\sum_ {i = 1} ^ {M} - \\log P _ {L _ {1} \\rightarrow L _ {1}} \\left(X _ {i} \\mid \\mathcal {N} \\left(X _ {i}\\right), \\theta\\right) \\tag {2} \\\\ + \\sum_ {j = 1} ^ {N} - l o g P _ {L _ {2} \\rightarrow L _ {2}} \\left(Y _ {j} \\mid \\mathcal {N} (Y _ {j}), \\theta\\right) \\\\ \\end{array}\n\\]"
|
| 356 |
+
},
|
| 357 |
+
{
|
| 358 |
+
"type": "text",
|
| 359 |
+
"bbox": [
|
| 360 |
+
0.508,
|
| 361 |
+
0.791,
|
| 362 |
+
0.881,
|
| 363 |
+
0.823
|
| 364 |
+
],
|
| 365 |
+
"angle": 0,
|
| 366 |
+
"content": "where \\(\\mathcal{N}(\\cdot)\\) refers to the noise functions. \\(P_{L_a\\to L_a}\\) denotes the reconstruction probabilities in \\(L_{a}\\)."
|
| 367 |
+
},
|
| 368 |
+
{
|
| 369 |
+
"type": "text",
|
| 370 |
+
"bbox": [
|
| 371 |
+
0.527,
|
| 372 |
+
0.824,
|
| 373 |
+
0.836,
|
| 374 |
+
0.838
|
| 375 |
+
],
|
| 376 |
+
"angle": 0,
|
| 377 |
+
"content": "The final objective function of UNMT is:"
|
| 378 |
+
},
|
| 379 |
+
{
|
| 380 |
+
"type": "equation",
|
| 381 |
+
"bbox": [
|
| 382 |
+
0.627,
|
| 383 |
+
0.847,
|
| 384 |
+
0.883,
|
| 385 |
+
0.863
|
| 386 |
+
],
|
| 387 |
+
"angle": 0,
|
| 388 |
+
"content": "\\[\n\\mathcal {L} = \\mathcal {L} _ {B} + \\lambda_ {D} \\mathcal {L} _ {D} \\tag {3}\n\\]"
|
| 389 |
+
},
|
| 390 |
+
{
|
| 391 |
+
"type": "text",
|
| 392 |
+
"bbox": [
|
| 393 |
+
0.508,
|
| 394 |
+
0.872,
|
| 395 |
+
0.885,
|
| 396 |
+
0.919
|
| 397 |
+
],
|
| 398 |
+
"angle": 0,
|
| 399 |
+
"content": "where \\(\\lambda_{D}\\) is a hyper-parameter that weights denoise autoencoder loss term and is gradually reduced during training."
|
| 400 |
+
},
|
| 401 |
+
{
|
| 402 |
+
"type": "page_number",
|
| 403 |
+
"bbox": [
|
| 404 |
+
0.478,
|
| 405 |
+
0.928,
|
| 406 |
+
0.526,
|
| 407 |
+
0.941
|
| 408 |
+
],
|
| 409 |
+
"angle": 0,
|
| 410 |
+
"content": "12609"
|
| 411 |
+
}
|
| 412 |
+
],
|
| 413 |
+
[
|
| 414 |
+
{
|
| 415 |
+
"type": "image",
|
| 416 |
+
"bbox": [
|
| 417 |
+
0.137,
|
| 418 |
+
0.085,
|
| 419 |
+
0.861,
|
| 420 |
+
0.38
|
| 421 |
+
],
|
| 422 |
+
"angle": 0,
|
| 423 |
+
"content": null
|
| 424 |
+
},
|
| 425 |
+
{
|
| 426 |
+
"type": "image_caption",
|
| 427 |
+
"bbox": [
|
| 428 |
+
0.166,
|
| 429 |
+
0.391,
|
| 430 |
+
0.829,
|
| 431 |
+
0.407
|
| 432 |
+
],
|
| 433 |
+
"angle": 0,
|
| 434 |
+
"content": "Figure 1: The process of converting an image-inserted sentence into an embedding representation."
|
| 435 |
+
},
|
| 436 |
+
{
|
| 437 |
+
"type": "title",
|
| 438 |
+
"bbox": [
|
| 439 |
+
0.114,
|
| 440 |
+
0.431,
|
| 441 |
+
0.269,
|
| 442 |
+
0.447
|
| 443 |
+
],
|
| 444 |
+
"angle": 0,
|
| 445 |
+
"content": "2.2 Image Fusion"
|
| 446 |
+
},
|
| 447 |
+
{
|
| 448 |
+
"type": "text",
|
| 449 |
+
"bbox": [
|
| 450 |
+
0.113,
|
| 451 |
+
0.453,
|
| 452 |
+
0.489,
|
| 453 |
+
0.644
|
| 454 |
+
],
|
| 455 |
+
"angle": 0,
|
| 456 |
+
"content": "In this section, we present how to incorporate word-level images into the UNMT process to tackle the issue of lexical confusion. The main concept behind our approach is that words can acquire information not only from contextual information but also from their corresponding images. Let \\( X_{i} = \\{x_{i}^{1}, x_{i}^{2}, \\dots, x_{i}^{K}\\} \\) denote a sentence from \\( X \\) in language \\( L_{1} \\) and \\( x_{i}^{K} \\) denotes the \\( k \\)-th word in sentence \\( X_{i} \\). We denote a lookup table consisting of word-image pairs as \\( \\mathcal{D}_{L_i} = \\{(word, I_{word})\\} \\), where \\( I_{word} \\) is an image set with one or multiple images that depict the meaning of the word."
|
| 457 |
+
},
|
| 458 |
+
{
|
| 459 |
+
"type": "text",
|
| 460 |
+
"bbox": [
|
| 461 |
+
0.113,
|
| 462 |
+
0.646,
|
| 463 |
+
0.49,
|
| 464 |
+
0.775
|
| 465 |
+
],
|
| 466 |
+
"angle": 0,
|
| 467 |
+
"content": "As shown in Figure \\(1^{2}\\), we segment an input sentence \\(X_{i}\\) at the word level and obtain the images by retrieving the words appearing in the lookup table \\(\\mathcal{D}_{L_i}\\). Then, we concatenate the retrieved images to the corresponding words, resulting in an Image-Inserted Sentence denoted \\(IIS_{i}\\). Each word can be concatenated with one or multiple images. Formally, We denote \\(IIS_{i}\\) as follow:"
|
| 468 |
+
},
|
| 469 |
+
{
|
| 470 |
+
"type": "equation",
|
| 471 |
+
"bbox": [
|
| 472 |
+
0.157,
|
| 473 |
+
0.785,
|
| 474 |
+
0.489,
|
| 475 |
+
0.81
|
| 476 |
+
],
|
| 477 |
+
"angle": 0,
|
| 478 |
+
"content": "\\[\nI I S _ {i} = \\left\\{x _ {i} ^ {1}, \\widehat {I} _ {x _ {i} ^ {1}}, x _ {i} ^ {2}, \\widehat {I} _ {x _ {i} ^ {2}}, \\dots , x _ {i} ^ {K}, \\widehat {I} _ {x _ {i} ^ {K}} \\right\\} \\quad (4)\n\\]"
|
| 479 |
+
},
|
| 480 |
+
{
|
| 481 |
+
"type": "text",
|
| 482 |
+
"bbox": [
|
| 483 |
+
0.113,
|
| 484 |
+
0.821,
|
| 485 |
+
0.489,
|
| 486 |
+
0.872
|
| 487 |
+
],
|
| 488 |
+
"angle": 0,
|
| 489 |
+
"content": "where \\(\\widehat{I}_{x_i^K}\\) is the image subset of \\(I_{x_i^K}\\) (\\(\\widehat{I}_{x_i^K}\\) can be an empty set). We define this process of injecting images as:"
|
| 490 |
+
},
|
| 491 |
+
{
|
| 492 |
+
"type": "page_footnote",
|
| 493 |
+
"bbox": [
|
| 494 |
+
0.113,
|
| 495 |
+
0.881,
|
| 496 |
+
0.489,
|
| 497 |
+
0.919
|
| 498 |
+
],
|
| 499 |
+
"angle": 0,
|
| 500 |
+
"content": "2\"Blue\" is an adjective in the figure. In our image collection process, \"blue\" can also appear as a noun in other training samples."
|
| 501 |
+
},
|
| 502 |
+
{
|
| 503 |
+
"type": "equation",
|
| 504 |
+
"bbox": [
|
| 505 |
+
0.645,
|
| 506 |
+
0.449,
|
| 507 |
+
0.883,
|
| 508 |
+
0.466
|
| 509 |
+
],
|
| 510 |
+
"angle": 0,
|
| 511 |
+
"content": "\\[\nI I S = \\mathcal {I} (X) \\tag {5}\n\\]"
|
| 512 |
+
},
|
| 513 |
+
{
|
| 514 |
+
"type": "text",
|
| 515 |
+
"bbox": [
|
| 516 |
+
0.509,
|
| 517 |
+
0.473,
|
| 518 |
+
0.704,
|
| 519 |
+
0.492
|
| 520 |
+
],
|
| 521 |
+
"angle": 0,
|
| 522 |
+
"content": "where \\( IIS = \\{IIS_{i}\\}_{i = 1}^{M} \\)."
|
| 523 |
+
},
|
| 524 |
+
{
|
| 525 |
+
"type": "text",
|
| 526 |
+
"bbox": [
|
| 527 |
+
0.508,
|
| 528 |
+
0.492,
|
| 529 |
+
0.884,
|
| 530 |
+
0.555
|
| 531 |
+
],
|
| 532 |
+
"angle": 0,
|
| 533 |
+
"content": "After obtaining the \\( IIS \\), we need to integrate them into the UNMT model. To achieve this integration, we employ a modified embedding layer and a mask transformer."
|
| 534 |
+
},
|
| 535 |
+
{
|
| 536 |
+
"type": "title",
|
| 537 |
+
"bbox": [
|
| 538 |
+
0.509,
|
| 539 |
+
0.567,
|
| 540 |
+
0.788,
|
| 541 |
+
0.583
|
| 542 |
+
],
|
| 543 |
+
"angle": 0,
|
| 544 |
+
"content": "2.2.1 Modified Embedding Layer"
|
| 545 |
+
},
|
| 546 |
+
{
|
| 547 |
+
"type": "text",
|
| 548 |
+
"bbox": [
|
| 549 |
+
0.507,
|
| 550 |
+
0.587,
|
| 551 |
+
0.884,
|
| 552 |
+
0.652
|
| 553 |
+
],
|
| 554 |
+
"angle": 0,
|
| 555 |
+
"content": "The first modification part is the embedding layer, which generally includes token embedding, position embedding, and, in some models, language embedding. An example can be seen in Figure 1."
|
| 556 |
+
},
|
| 557 |
+
{
|
| 558 |
+
"type": "text",
|
| 559 |
+
"bbox": [
|
| 560 |
+
0.508,
|
| 561 |
+
0.662,
|
| 562 |
+
0.885,
|
| 563 |
+
0.92
|
| 564 |
+
],
|
| 565 |
+
"angle": 0,
|
| 566 |
+
"content": "Token Embedding. In the context of \\( IIS \\), both textual words and images are present. Given that most current machine translation methods operate at the subword level, we proceed to tokenize the \\( IIS \\), focusing solely on the textual component of \\( IIS \\). For encoding textual tokens, we continue to utilize the embedding layer from the original text-only model. Regarding images, we leverage the CLIP (Radford et al., 2021) model as the image encoder to extract visual features. The CLIP model is a multi-modal model trained on a variety of (image, text) pairs, which possesses a powerful capability to represent images. To prevent negative impacts on the encoding of images during the UNMT process, we freeze the visual encoder. However, directly using these representations may lead"
|
| 567 |
+
},
|
| 568 |
+
{
|
| 569 |
+
"type": "page_number",
|
| 570 |
+
"bbox": [
|
| 571 |
+
0.478,
|
| 572 |
+
0.928,
|
| 573 |
+
0.526,
|
| 574 |
+
0.941
|
| 575 |
+
],
|
| 576 |
+
"angle": 0,
|
| 577 |
+
"content": "12610"
|
| 578 |
+
}
|
| 579 |
+
],
|
| 580 |
+
[
|
| 581 |
+
{
|
| 582 |
+
"type": "text",
|
| 583 |
+
"bbox": [
|
| 584 |
+
0.114,
|
| 585 |
+
0.085,
|
| 586 |
+
0.489,
|
| 587 |
+
0.135
|
| 588 |
+
],
|
| 589 |
+
"angle": 0,
|
| 590 |
+
"content": "to a gap between the image encoding space and the semantic space in UNMT. Therefore, we employ an MLP layer to bridge this gap."
|
| 591 |
+
},
|
| 592 |
+
{
|
| 593 |
+
"type": "text",
|
| 594 |
+
"bbox": [
|
| 595 |
+
0.114,
|
| 596 |
+
0.141,
|
| 597 |
+
0.489,
|
| 598 |
+
0.287
|
| 599 |
+
],
|
| 600 |
+
"angle": 0,
|
| 601 |
+
"content": "Position Embedding. Positional encoding is a crucial module that supplements token structural information. For textual information in \\( IIS \\), we continue to encode the position in the original order of the input sentence to prevent interference with sentence structure learning when integrating images into the model. For images, we assign the positional encoding of the first subword in the tokenized result for the corresponding word."
|
| 602 |
+
},
|
| 603 |
+
{
|
| 604 |
+
"type": "text",
|
| 605 |
+
"bbox": [
|
| 606 |
+
0.114,
|
| 607 |
+
0.295,
|
| 608 |
+
0.49,
|
| 609 |
+
0.408
|
| 610 |
+
],
|
| 611 |
+
"angle": 0,
|
| 612 |
+
"content": "Language Embedding. Some UNMT models incorporate language embedding to inform the model of the input language and the desired output language. For textual information, we continue to utilize the original language encoding. However, for image information, as it does not belong to any language, we introduce a new image identifier."
|
| 613 |
+
},
|
| 614 |
+
{
|
| 615 |
+
"type": "title",
|
| 616 |
+
"bbox": [
|
| 617 |
+
0.115,
|
| 618 |
+
0.415,
|
| 619 |
+
0.325,
|
| 620 |
+
0.43
|
| 621 |
+
],
|
| 622 |
+
"angle": 0,
|
| 623 |
+
"content": "2.2.2 Mask Transformer"
|
| 624 |
+
},
|
| 625 |
+
{
|
| 626 |
+
"type": "text",
|
| 627 |
+
"bbox": [
|
| 628 |
+
0.114,
|
| 629 |
+
0.434,
|
| 630 |
+
0.489,
|
| 631 |
+
0.642
|
| 632 |
+
],
|
| 633 |
+
"angle": 0,
|
| 634 |
+
"content": "Despite modifying the original embedding layer to allow \\( IIS \\) to be properly fed into the model, two issues still exist. Firstly, inserting images may affect other irrelevant words in the original sentence and potentially disrupt the structural relationships between them. Secondly, a single word-level image may correspond to multiple subwords, and during the annotation of position embedding, only the information of the first subword is utilized, resulting in a lack of relationship between the image and the remaining subwords it corresponds to. To address these issues, we introduce the method of mask transformer (Liu et al., 2020)."
|
| 635 |
+
},
|
| 636 |
+
{
|
| 637 |
+
"type": "text",
|
| 638 |
+
"bbox": [
|
| 639 |
+
0.114,
|
| 640 |
+
0.643,
|
| 641 |
+
0.49,
|
| 642 |
+
0.723
|
| 643 |
+
],
|
| 644 |
+
"angle": 0,
|
| 645 |
+
"content": "We create a visible matrix to shield the relationship between images and other textual information in the sentence and highlight the relationship between the image and its corresponding subwords. The visible matrix \\(M\\) is defined as:"
|
| 646 |
+
},
|
| 647 |
+
{
|
| 648 |
+
"type": "equation",
|
| 649 |
+
"bbox": [
|
| 650 |
+
0.205,
|
| 651 |
+
0.728,
|
| 652 |
+
0.488,
|
| 653 |
+
0.769
|
| 654 |
+
],
|
| 655 |
+
"angle": 0,
|
| 656 |
+
"content": "\\[\nM _ {i j} = \\left\\{ \\begin{array}{l l} - \\infty & w _ {p} \\bullet w _ {q} \\\\ 0 & w _ {p} \\circ w _ {q}. \\end{array} \\right. \\tag {6}\n\\]"
|
| 657 |
+
},
|
| 658 |
+
{
|
| 659 |
+
"type": "text",
|
| 660 |
+
"bbox": [
|
| 661 |
+
0.114,
|
| 662 |
+
0.775,
|
| 663 |
+
0.489,
|
| 664 |
+
0.84
|
| 665 |
+
],
|
| 666 |
+
"angle": 0,
|
| 667 |
+
"content": "where \\(w_{p}\\) and \\(w_{q}\\) are elements in \\(IIS_{i}\\), \\(w_{p} \\circ w_{q}\\) denotes that \\(w_{p}\\) and \\(w_{q}\\) are visible to each other, while \\(w_{p} \\bullet w_{q}\\) is not. An example of a visible matrix is depicted in Figure 2."
|
| 668 |
+
},
|
| 669 |
+
{
|
| 670 |
+
"type": "text",
|
| 671 |
+
"bbox": [
|
| 672 |
+
0.114,
|
| 673 |
+
0.855,
|
| 674 |
+
0.49,
|
| 675 |
+
0.918
|
| 676 |
+
],
|
| 677 |
+
"angle": 0,
|
| 678 |
+
"content": "The visible matrix can be added to the self-attention module to mask certain attention calculations. Specifically, the new masked self-attention is:"
|
| 679 |
+
},
|
| 680 |
+
{
|
| 681 |
+
"type": "image",
|
| 682 |
+
"bbox": [
|
| 683 |
+
0.588,
|
| 684 |
+
0.083,
|
| 685 |
+
0.808,
|
| 686 |
+
0.24
|
| 687 |
+
],
|
| 688 |
+
"angle": 0,
|
| 689 |
+
"content": null
|
| 690 |
+
},
|
| 691 |
+
{
|
| 692 |
+
"type": "image_caption",
|
| 693 |
+
"bbox": [
|
| 694 |
+
0.508,
|
| 695 |
+
0.25,
|
| 696 |
+
0.886,
|
| 697 |
+
0.321
|
| 698 |
+
],
|
| 699 |
+
"angle": 0,
|
| 700 |
+
"content": "Figure 2: An example of the visible matrix corresponding to the \\( IIS \\) in Figure 1. The red numerical labels indicate the absolute position of the images in the \\( IIS \\). In this matrix, black represents \"visible\" and white represents \"invisible\"."
|
| 701 |
+
},
|
| 702 |
+
{
|
| 703 |
+
"type": "equation",
|
| 704 |
+
"bbox": [
|
| 705 |
+
0.579,
|
| 706 |
+
0.355,
|
| 707 |
+
0.884,
|
| 708 |
+
0.394
|
| 709 |
+
],
|
| 710 |
+
"angle": 0,
|
| 711 |
+
"content": "\\[\nS ^ {i} = \\operatorname {s o f t m a x} \\left(\\frac {Q ^ {i} K ^ {i T} + M}{\\sqrt {d}}\\right) \\tag {7}\n\\]"
|
| 712 |
+
},
|
| 713 |
+
{
|
| 714 |
+
"type": "text",
|
| 715 |
+
"bbox": [
|
| 716 |
+
0.508,
|
| 717 |
+
0.397,
|
| 718 |
+
0.884,
|
| 719 |
+
0.461
|
| 720 |
+
],
|
| 721 |
+
"angle": 0,
|
| 722 |
+
"content": "where \\(Q\\) and \\(K\\) are the query matrix and key matrix in the self-attention module. if two elements are invisible, the \\(M\\) will mask the attention score to 0, which means making no contribution to each other."
|
| 723 |
+
},
|
| 724 |
+
{
|
| 725 |
+
"type": "title",
|
| 726 |
+
"bbox": [
|
| 727 |
+
0.509,
|
| 728 |
+
0.471,
|
| 729 |
+
0.696,
|
| 730 |
+
0.487
|
| 731 |
+
],
|
| 732 |
+
"angle": 0,
|
| 733 |
+
"content": "2.3 Training Strategy"
|
| 734 |
+
},
|
| 735 |
+
{
|
| 736 |
+
"type": "text",
|
| 737 |
+
"bbox": [
|
| 738 |
+
0.508,
|
| 739 |
+
0.492,
|
| 740 |
+
0.884,
|
| 741 |
+
0.556
|
| 742 |
+
],
|
| 743 |
+
"angle": 0,
|
| 744 |
+
"content": "After initialization by cross-lingual pretrained language model, we train denoising autoencoder and iterative back-translation alternatively. The final loss of image fusion UNMT is:"
|
| 745 |
+
},
|
| 746 |
+
{
|
| 747 |
+
"type": "equation",
|
| 748 |
+
"bbox": [
|
| 749 |
+
0.622,
|
| 750 |
+
0.57,
|
| 751 |
+
0.883,
|
| 752 |
+
0.59
|
| 753 |
+
],
|
| 754 |
+
"angle": 0,
|
| 755 |
+
"content": "\\[\n\\mathcal {L} ^ {I} = \\mathcal {L} _ {B} ^ {I} + \\lambda_ {D} \\mathcal {L} _ {D} ^ {I} \\tag {8}\n\\]"
|
| 756 |
+
},
|
| 757 |
+
{
|
| 758 |
+
"type": "text",
|
| 759 |
+
"bbox": [
|
| 760 |
+
0.509,
|
| 761 |
+
0.593,
|
| 762 |
+
0.756,
|
| 763 |
+
0.611
|
| 764 |
+
],
|
| 765 |
+
"angle": 0,
|
| 766 |
+
"content": "specifically, \\(\\mathcal{L}_B^I\\) and \\(\\mathcal{L}_D^I\\) refer to:"
|
| 767 |
+
},
|
| 768 |
+
{
|
| 769 |
+
"type": "equation",
|
| 770 |
+
"bbox": [
|
| 771 |
+
0.521,
|
| 772 |
+
0.618,
|
| 773 |
+
0.883,
|
| 774 |
+
0.705
|
| 775 |
+
],
|
| 776 |
+
"angle": 0,
|
| 777 |
+
"content": "\\[\n\\begin{array}{l} \\mathcal {L} _ {B} ^ {I} = \\sum_ {i = 1} ^ {M} - l o g P _ {L _ {2} \\rightarrow L _ {1}} (X _ {i} | \\mathcal {I} (S _ {L _ {1} \\rightarrow L _ {2}} (\\mathcal {I} (X _ {i}), \\theta)), \\theta) \\\\ + \\sum_ {j = 1} ^ {N} - \\log P _ {L _ {1} \\rightarrow L _ {2}} \\left(Y _ {j} \\mid \\mathcal {I} \\left(S _ {L _ {2} \\rightarrow L _ {1}} \\left(\\mathcal {I} \\left(Y _ {j}\\right), \\theta\\right)\\right), \\theta\\right) \\tag {9} \\\\ \\end{array}\n\\]"
|
| 778 |
+
},
|
| 779 |
+
{
|
| 780 |
+
"type": "equation",
|
| 781 |
+
"bbox": [
|
| 782 |
+
0.56,
|
| 783 |
+
0.726,
|
| 784 |
+
0.884,
|
| 785 |
+
0.8
|
| 786 |
+
],
|
| 787 |
+
"angle": 0,
|
| 788 |
+
"content": "\\[\n\\begin{array}{l} \\mathcal {L} _ {D} ^ {I} = \\sum_ {i = 1} ^ {M} - \\log P _ {L _ {1} \\rightarrow L _ {1}} \\left(X _ {i} \\mid \\mathcal {I} \\left(N \\left(X _ {i}\\right)\\right), \\theta\\right) \\tag {10} \\\\ + \\sum_ {j = 1} ^ {N} - l o g P _ {L _ {2} \\rightarrow L _ {2}} (Y _ {j} | \\mathcal {I} (N (Y _ {j})), \\theta) \\\\ \\end{array}\n\\]"
|
| 789 |
+
},
|
| 790 |
+
{
|
| 791 |
+
"type": "text",
|
| 792 |
+
"bbox": [
|
| 793 |
+
0.508,
|
| 794 |
+
0.807,
|
| 795 |
+
0.884,
|
| 796 |
+
0.919
|
| 797 |
+
],
|
| 798 |
+
"angle": 0,
|
| 799 |
+
"content": "During the denoising autoencoder process, we first add noise to the original sentence and then integrate the images. During the iterative backtranslation process, for the first round of synthetic data generation, we do not add image information to achieve a smoother transition because the pretrained language model did not include images."
|
| 800 |
+
},
|
| 801 |
+
{
|
| 802 |
+
"type": "page_number",
|
| 803 |
+
"bbox": [
|
| 804 |
+
0.478,
|
| 805 |
+
0.928,
|
| 806 |
+
0.524,
|
| 807 |
+
0.941
|
| 808 |
+
],
|
| 809 |
+
"angle": 0,
|
| 810 |
+
"content": "12611"
|
| 811 |
+
}
|
| 812 |
+
],
|
| 813 |
+
[
|
| 814 |
+
{
|
| 815 |
+
"type": "table",
|
| 816 |
+
"bbox": [
|
| 817 |
+
0.144,
|
| 818 |
+
0.082,
|
| 819 |
+
0.461,
|
| 820 |
+
0.219
|
| 821 |
+
],
|
| 822 |
+
"angle": 0,
|
| 823 |
+
"content": "<table><tr><td>Language</td><td>#Word</td><td>#Image</td><td>Average</td></tr><tr><td>En</td><td>4,975</td><td>45,228</td><td>9.09</td></tr><tr><td>Fr</td><td>4,646</td><td>36,927</td><td>7.95</td></tr><tr><td>De</td><td>10,384</td><td>85,419</td><td>8.23</td></tr><tr><td>Cs</td><td>10,706</td><td>72,942</td><td>6.81</td></tr><tr><td>Zh</td><td>10,805</td><td>85,144</td><td>7.88</td></tr><tr><td>Total</td><td>41,516</td><td>325,660</td><td>7.84</td></tr></table>"
|
| 824 |
+
},
|
| 825 |
+
{
|
| 826 |
+
"type": "table_caption",
|
| 827 |
+
"bbox": [
|
| 828 |
+
0.114,
|
| 829 |
+
0.228,
|
| 830 |
+
0.487,
|
| 831 |
+
0.255
|
| 832 |
+
],
|
| 833 |
+
"angle": 0,
|
| 834 |
+
"content": "Table 1: The statistics of our constructed Word-Image dataset."
|
| 835 |
+
},
|
| 836 |
+
{
|
| 837 |
+
"type": "title",
|
| 838 |
+
"bbox": [
|
| 839 |
+
0.115,
|
| 840 |
+
0.287,
|
| 841 |
+
0.262,
|
| 842 |
+
0.304
|
| 843 |
+
],
|
| 844 |
+
"angle": 0,
|
| 845 |
+
"content": "3 Experiments"
|
| 846 |
+
},
|
| 847 |
+
{
|
| 848 |
+
"type": "text",
|
| 849 |
+
"bbox": [
|
| 850 |
+
0.113,
|
| 851 |
+
0.318,
|
| 852 |
+
0.489,
|
| 853 |
+
0.382
|
| 854 |
+
],
|
| 855 |
+
"angle": 0,
|
| 856 |
+
"content": "In this section, we provide a detailed description of the datasets and experimental setup employed in our study. Subsequently, we perform an in-depth analysis of the results obtained."
|
| 857 |
+
},
|
| 858 |
+
{
|
| 859 |
+
"type": "title",
|
| 860 |
+
"bbox": [
|
| 861 |
+
0.114,
|
| 862 |
+
0.401,
|
| 863 |
+
0.229,
|
| 864 |
+
0.416
|
| 865 |
+
],
|
| 866 |
+
"angle": 0,
|
| 867 |
+
"content": "3.1 Datasets"
|
| 868 |
+
},
|
| 869 |
+
{
|
| 870 |
+
"type": "text",
|
| 871 |
+
"bbox": [
|
| 872 |
+
0.113,
|
| 873 |
+
0.427,
|
| 874 |
+
0.49,
|
| 875 |
+
0.862
|
| 876 |
+
],
|
| 877 |
+
"angle": 0,
|
| 878 |
+
"content": "Word-Image Dataset. In our approach, the most crucial component of the experiment data is the image dataset at the word level. Since there is no off-the-shelf word-level image dataset, we build one for performance evaluation. We collect these images through the following steps: word extraction, image crawling, and image filtering. Firstly, extract the nouns from the monolingual dataset using part-of-speech analysis tools including Spacy<sup>3</sup> and Stanford CoreNLP<sup>4</sup>. We choose nouns because they typically correspond to real-world entities and are more likely to yield high-quality images. Next, use Google Images<sup>5</sup> to crawl images for these nouns, limiting the image size to between 200-by-200 and 10,000-by-10,000 pixels and retrieving 10 to 15 images per noun. The image format is restricted to JPG, JPEG, and PNG. Finally, filter the crawled images. We consider all the images collected for a single noun as a cluster and encode them using the CLIP model. We then calculate pairwise similarities between all images and remove those with an average similarity below a threshold \\(\\mathcal{T}\\), which we set to 0.6, as they are considered anomalous. The statistics information of the Word-Image dataset can be seen in Table 1. Our dataset covers a wide range of common nouns and can be reused for various purposes."
|
| 879 |
+
},
|
| 880 |
+
{
|
| 881 |
+
"type": "text",
|
| 882 |
+
"bbox": [
|
| 883 |
+
0.508,
|
| 884 |
+
0.085,
|
| 885 |
+
0.886,
|
| 886 |
+
0.486
|
| 887 |
+
],
|
| 888 |
+
"angle": 0,
|
| 889 |
+
"content": "Monolingual Dataset. The monolingual datasets used in our experiments are Multi30k dataset (Elliott et al., 2016, 2017; Barrault et al., 2018), LDC dataset and WMT News crawl dataset. The Multi30k dataset contains images and their captions in four languages: English(En), French(Fr), Germany(De), and Czech(Cs). Every language has 29000 sentences for training and 1014 for validation. It is worth noting that we only utilized the lingual data from Multi30k as the images are sentence-level. To prevent the model from encountering bilingual corpora, we randomly split the training and validation sets of the Multi30k dataset into two equal parts. Each part of the training set contains 14,500 sentences, and each part of the validation set contains 507 sentences. We report results in all test sets in Multi30k including Test2016, Test2017, Test2018, and MsCOCO. For the Cs-En task, only Test2016 and Test2018 are available. Furthermore, we expanded the dataset by incorporating monolingual data from WMT 2008-2022 News crawl and LDC. We also report our results on the common news domain test set, which includes WMT Newstest 2014 for En-Fr, Newstest 2021 for En-Cs, and NIST06 for En-Zh."
|
| 890 |
+
},
|
| 891 |
+
{
|
| 892 |
+
"type": "title",
|
| 893 |
+
"bbox": [
|
| 894 |
+
0.509,
|
| 895 |
+
0.498,
|
| 896 |
+
0.724,
|
| 897 |
+
0.513
|
| 898 |
+
],
|
| 899 |
+
"angle": 0,
|
| 900 |
+
"content": "3.2 Experimental Details"
|
| 901 |
+
},
|
| 902 |
+
{
|
| 903 |
+
"type": "text",
|
| 904 |
+
"bbox": [
|
| 905 |
+
0.508,
|
| 906 |
+
0.518,
|
| 907 |
+
0.886,
|
| 908 |
+
0.776
|
| 909 |
+
],
|
| 910 |
+
"angle": 0,
|
| 911 |
+
"content": "Baseline Models. We compare recent unsupervised text-only and multimodal MT baselines listed in the following: (1) XLM (Conneau and Lample, 2019) uses a masked language model to train a cross-lingual language model to initialize. (2) UMMT (Su et al., 2019) uses visual features for denoising autoencoder and back-translation. (3) PVP (Huang et al., 2020) employs multimodal back-translation and features pseudo visual pivoting. (4) UNMT-CS (Jones et al., 2023) uses the codeswitching method, where words in the source sentence are swapped out for their corresponding translation from bilingual dictionaries, to solve the lexical confusion issue in UNMT. It is worth noting that both UMMT and PVP datasets utilize sentence-level images."
|
| 912 |
+
},
|
| 913 |
+
{
|
| 914 |
+
"type": "text",
|
| 915 |
+
"bbox": [
|
| 916 |
+
0.508,
|
| 917 |
+
0.785,
|
| 918 |
+
0.886,
|
| 919 |
+
0.898
|
| 920 |
+
],
|
| 921 |
+
"angle": 0,
|
| 922 |
+
"content": "System Settings. We conducted our experiments based on the XLM codebase<sup>6</sup>. The model architecture employed is a 6-layers, 8-heads transformer, with a hidden layer representation dimension of 1024. The epoch size is 100K and the tokens-per-batch is 2000. we use Adam optimizer and 2000 warm-up updates. The learning rate is 1e-5. For"
|
| 923 |
+
},
|
| 924 |
+
{
|
| 925 |
+
"type": "page_footnote",
|
| 926 |
+
"bbox": [
|
| 927 |
+
0.531,
|
| 928 |
+
0.905,
|
| 929 |
+
0.8,
|
| 930 |
+
0.919
|
| 931 |
+
],
|
| 932 |
+
"angle": 0,
|
| 933 |
+
"content": "\\(^{6}\\)https://github.com/facebookresearch/XLM"
|
| 934 |
+
},
|
| 935 |
+
{
|
| 936 |
+
"type": "page_footnote",
|
| 937 |
+
"bbox": [
|
| 938 |
+
0.136,
|
| 939 |
+
0.878,
|
| 940 |
+
0.363,
|
| 941 |
+
0.892
|
| 942 |
+
],
|
| 943 |
+
"angle": 0,
|
| 944 |
+
"content": "<sup>3</sup>https://github.com/explosion/spaCy"
|
| 945 |
+
},
|
| 946 |
+
{
|
| 947 |
+
"type": "page_footnote",
|
| 948 |
+
"bbox": [
|
| 949 |
+
0.137,
|
| 950 |
+
0.892,
|
| 951 |
+
0.392,
|
| 952 |
+
0.905
|
| 953 |
+
],
|
| 954 |
+
"angle": 0,
|
| 955 |
+
"content": "<sup>4</sup>https://github.com/stanfordnlp/CoreNLP"
|
| 956 |
+
},
|
| 957 |
+
{
|
| 958 |
+
"type": "page_footnote",
|
| 959 |
+
"bbox": [
|
| 960 |
+
0.137,
|
| 961 |
+
0.905,
|
| 962 |
+
0.306,
|
| 963 |
+
0.919
|
| 964 |
+
],
|
| 965 |
+
"angle": 0,
|
| 966 |
+
"content": "<sup>5</sup>https://images.google.com"
|
| 967 |
+
},
|
| 968 |
+
{
|
| 969 |
+
"type": "list",
|
| 970 |
+
"bbox": [
|
| 971 |
+
0.136,
|
| 972 |
+
0.878,
|
| 973 |
+
0.392,
|
| 974 |
+
0.919
|
| 975 |
+
],
|
| 976 |
+
"angle": 0,
|
| 977 |
+
"content": null
|
| 978 |
+
},
|
| 979 |
+
{
|
| 980 |
+
"type": "page_number",
|
| 981 |
+
"bbox": [
|
| 982 |
+
0.478,
|
| 983 |
+
0.928,
|
| 984 |
+
0.526,
|
| 985 |
+
0.941
|
| 986 |
+
],
|
| 987 |
+
"angle": 0,
|
| 988 |
+
"content": "12612"
|
| 989 |
+
}
|
| 990 |
+
],
|
| 991 |
+
[
|
| 992 |
+
{
|
| 993 |
+
"type": "table",
|
| 994 |
+
"bbox": [
|
| 995 |
+
0.2,
|
| 996 |
+
0.082,
|
| 997 |
+
0.8,
|
| 998 |
+
0.354
|
| 999 |
+
],
|
| 1000 |
+
"angle": 0,
|
| 1001 |
+
"content": "<table><tr><td></td><td colspan=\"4\">En-Fr</td><td colspan=\"4\">En-De</td><td colspan=\"2\">En-Cs</td></tr><tr><td>Approach</td><td>F16</td><td>F17</td><td>F18</td><td>C17</td><td>F16</td><td>F17</td><td>F18</td><td>C17</td><td>F16</td><td>F18</td></tr><tr><td>UMMT</td><td>39.80*</td><td>-</td><td>-</td><td>-</td><td>23.50*</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td></tr><tr><td>PVP</td><td>52.30*</td><td>-</td><td>-</td><td>-</td><td>33.90*</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td></tr><tr><td>XLM</td><td>53.08</td><td>46.82</td><td>35.31</td><td>43.09</td><td>31.81</td><td>26.83</td><td>25.62</td><td>22.95</td><td>25.14</td><td>20.15</td></tr><tr><td>UNMT-CS</td><td>54.24</td><td>46.30</td><td>36.06</td><td>43.49</td><td>33.43</td><td>27.51</td><td>26.67</td><td>24.27</td><td>26.46</td><td>22.71</td></tr><tr><td>Ours</td><td>54.07</td><td>46.95</td><td>36.21</td><td>44.44</td><td>33.06</td><td>29.12</td><td>27.37</td><td>24.75</td><td>26.34</td><td>22.88</td></tr><tr><td>Δ</td><td>+0.99</td><td>+0.13</td><td>+0.90</td><td>+1.35</td><td>+1.25</td><td>+2.29</td><td>+1.75</td><td>+1.80</td><td>+1.20</td><td>+2.73</td></tr><tr><td></td><td colspan=\"4\">Fr-En</td><td colspan=\"4\">De-En</td><td colspan=\"2\">Cs-En</td></tr><tr><td>Approach</td><td>F16</td><td>F17</td><td>F18</td><td>C17</td><td>F16</td><td>F17</td><td>F18</td><td>C17</td><td>F16</td><td>F18</td></tr><tr><td>UMMT</td><td>40.50*</td><td>-</td><td>-</td><td>-</td><td>26.40*</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td></tr><tr><td>PVP</td><td>46.00*</td><td>-</td><td>-</td><td>-</td><td>31.60*</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td></tr><tr><td>XLM</td><td>48.04</td><td>42.14</td><td>37.03</td><td>43.58</td><td>37.51</td><td>33.21</td><td>30.73</td><td>27.98</td><td>33.13</td><td>30.29</td></tr><tr><td>UNMT-CS</td><td>49.28</td><td>42.86</td><td>37.19</td><td>44.39</td><td>38.83</td><td>34.48</td><td>31.44</td><td>28.07</td><td>33.91</td><td>31.33</td></tr><tr><td>Ours</td><td>49.10</td><td>43.01</td><td>37.41</td><td>44.57</td><td>40.32</td><td>35.20</td><td>32.70</td><td>29.81</td><td>34.29</td><td>31.56</td></tr><tr><td>Δ</td><td>+1.06</td><td>+0.87</td><td>+0.38</td><td>+0.99</td><td>+2.81</td><td>+1.99</td><td>+1.97</td><td>+1.83</td><td>+1.16</td><td>+1.27</td></tr></table>"
|
| 1002 |
+
},
|
| 1003 |
+
{
|
| 1004 |
+
"type": "table_caption",
|
| 1005 |
+
"bbox": [
|
| 1006 |
+
0.113,
|
| 1007 |
+
0.363,
|
| 1008 |
+
0.883,
|
| 1009 |
+
0.406
|
| 1010 |
+
],
|
| 1011 |
+
"angle": 0,
|
| 1012 |
+
"content": "Table 2: BLEU scores on Multi30k En-Fr, En-De, and En-Cs UNMT tasks. F18, F17, F16, and C17 respectively denote the Flickr2018, Flickr2017, Flickr2016, and COCO2017 test sets in Multi30k. * is the results reported from previous papers. Δ represents the improvement of our method over the XLM method in terms of BLEU."
|
| 1013 |
+
},
|
| 1014 |
+
{
|
| 1015 |
+
"type": "text",
|
| 1016 |
+
"bbox": [
|
| 1017 |
+
0.113,
|
| 1018 |
+
0.431,
|
| 1019 |
+
0.489,
|
| 1020 |
+
0.478
|
| 1021 |
+
],
|
| 1022 |
+
"angle": 0,
|
| 1023 |
+
"content": "evaluation, we use 4-gram BLEU (Papineni et al., 2002) scores by multi-bleu.pl in Moses<sup>7</sup>. We train all models on 4 NVIDIA 32GB V100 GPUs."
|
| 1024 |
+
},
|
| 1025 |
+
{
|
| 1026 |
+
"type": "text",
|
| 1027 |
+
"bbox": [
|
| 1028 |
+
0.117,
|
| 1029 |
+
0.48,
|
| 1030 |
+
0.49,
|
| 1031 |
+
0.801
|
| 1032 |
+
],
|
| 1033 |
+
"angle": 0,
|
| 1034 |
+
"content": "During training, we first train the models on a 5M WMT News Crawl dataset for 70 epochs and subsequently continued training on the Multi30k dataset for another 70 epochs due to its relatively small size. As for the CLIP model, we use ViT-L/14@336px. When incorporating images, we randomly select two images from the corresponding image set for each word and concatenate them to the text. We only incorporate images during the iterative back-translation and denoising autoencoder stages, so our method can be used in conjunction with other pre-training enhancement methods. Regarding the cross-lingual models used for initialization, we directly employ high-quality open-source cross-lingual models in experiments involving En-Fr, En-De, and En-Zh. However, for the En-Cs, we train a model using WMT monolingual dataset, with 10 million English sentences and 10 million Czech sentences, due to the unavailability of any open-source models."
|
| 1035 |
+
},
|
| 1036 |
+
{
|
| 1037 |
+
"type": "title",
|
| 1038 |
+
"bbox": [
|
| 1039 |
+
0.114,
|
| 1040 |
+
0.812,
|
| 1041 |
+
0.266,
|
| 1042 |
+
0.826
|
| 1043 |
+
],
|
| 1044 |
+
"angle": 0,
|
| 1045 |
+
"content": "3.3 Main Results"
|
| 1046 |
+
},
|
| 1047 |
+
{
|
| 1048 |
+
"type": "text",
|
| 1049 |
+
"bbox": [
|
| 1050 |
+
0.113,
|
| 1051 |
+
0.832,
|
| 1052 |
+
0.49,
|
| 1053 |
+
0.897
|
| 1054 |
+
],
|
| 1055 |
+
"angle": 0,
|
| 1056 |
+
"content": "Table 2 shows the main results on the Multi30k test set, including translating among English, French, German, and Czech. Comparing the results of XLM and our method, we observe that adding im"
|
| 1057 |
+
},
|
| 1058 |
+
{
|
| 1059 |
+
"type": "text",
|
| 1060 |
+
"bbox": [
|
| 1061 |
+
0.507,
|
| 1062 |
+
0.431,
|
| 1063 |
+
0.885,
|
| 1064 |
+
0.607
|
| 1065 |
+
],
|
| 1066 |
+
"angle": 0,
|
| 1067 |
+
"content": "ages leads to performance improvements in all six translation directions, with a maximum increase of \\(+2.81\\) BLEU points, indicating the effectiveness of our approach. UNMT-CS is a method that utilizes bilingual dictionaries to address the problem of lexical confusion via code-switching. By comparing our method with the UNMT-CS approach, we observed comparable results, and in some directions, our method even outperformed the code-switching approach, indicating that ours is more efficient and cost-effective."
|
| 1068 |
+
},
|
| 1069 |
+
{
|
| 1070 |
+
"type": "text",
|
| 1071 |
+
"bbox": [
|
| 1072 |
+
0.508,
|
| 1073 |
+
0.61,
|
| 1074 |
+
0.885,
|
| 1075 |
+
0.818
|
| 1076 |
+
],
|
| 1077 |
+
"angle": 0,
|
| 1078 |
+
"content": "When compared to the best-performing method that incorporates sentence-level images, our approach still achieves comparable or better results in most translation directions. This is despite the matching degree between the Multi30k monolingual data and word-level images being slightly lower than that of sentence-level images, as the text data in Multi30k is generated based on the sentence-level images. In some directions, our approach even outperforms the previous best methods by up to \\(+4.22\\) BLEU points (as shown in Table 2, where our method is compared to the first two methods of the table)."
|
| 1079 |
+
},
|
| 1080 |
+
{
|
| 1081 |
+
"type": "title",
|
| 1082 |
+
"bbox": [
|
| 1083 |
+
0.509,
|
| 1084 |
+
0.835,
|
| 1085 |
+
0.62,
|
| 1086 |
+
0.851
|
| 1087 |
+
],
|
| 1088 |
+
"angle": 0,
|
| 1089 |
+
"content": "4 Analysis"
|
| 1090 |
+
},
|
| 1091 |
+
{
|
| 1092 |
+
"type": "title",
|
| 1093 |
+
"bbox": [
|
| 1094 |
+
0.509,
|
| 1095 |
+
0.864,
|
| 1096 |
+
0.645,
|
| 1097 |
+
0.88
|
| 1098 |
+
],
|
| 1099 |
+
"angle": 0,
|
| 1100 |
+
"content": "4.1 Case Study"
|
| 1101 |
+
},
|
| 1102 |
+
{
|
| 1103 |
+
"type": "text",
|
| 1104 |
+
"bbox": [
|
| 1105 |
+
0.508,
|
| 1106 |
+
0.888,
|
| 1107 |
+
0.885,
|
| 1108 |
+
0.918
|
| 1109 |
+
],
|
| 1110 |
+
"angle": 0,
|
| 1111 |
+
"content": "In Table 3, we provide several examples of translations, where we observe that the XLM method re"
|
| 1112 |
+
},
|
| 1113 |
+
{
|
| 1114 |
+
"type": "page_footnote",
|
| 1115 |
+
"bbox": [
|
| 1116 |
+
0.136,
|
| 1117 |
+
0.904,
|
| 1118 |
+
0.416,
|
| 1119 |
+
0.919
|
| 1120 |
+
],
|
| 1121 |
+
"angle": 0,
|
| 1122 |
+
"content": "<sup>7</sup>https://github.com/moses-smt/mosesdecoder"
|
| 1123 |
+
},
|
| 1124 |
+
{
|
| 1125 |
+
"type": "page_number",
|
| 1126 |
+
"bbox": [
|
| 1127 |
+
0.478,
|
| 1128 |
+
0.928,
|
| 1129 |
+
0.526,
|
| 1130 |
+
0.941
|
| 1131 |
+
],
|
| 1132 |
+
"angle": 0,
|
| 1133 |
+
"content": "12613"
|
| 1134 |
+
}
|
| 1135 |
+
],
|
| 1136 |
+
[
|
| 1137 |
+
{
|
| 1138 |
+
"type": "table",
|
| 1139 |
+
"bbox": [
|
| 1140 |
+
0.139,
|
| 1141 |
+
0.084,
|
| 1142 |
+
0.858,
|
| 1143 |
+
0.281
|
| 1144 |
+
],
|
| 1145 |
+
"angle": 0,
|
| 1146 |
+
"content": "<table><tr><td>GT-DE</td><td>Menschen an der Seitenlinie bei einem Fußballspiel.</td></tr><tr><td>GT-EN</td><td>People on the sideline of a soccer match.</td></tr><tr><td>XLM</td><td>People at the plate in a baseball game.</td></tr><tr><td>Ours</td><td>People at the stands in a soccer game.</td></tr><tr><td>GT-DE</td><td>Ein kleines Kind in einer orangefarbenen Rettungswestehalt ein Padel und paddelt in einem blauen Kajak auf einem Gewässer.</td></tr><tr><td>GT-EN</td><td>A young child wearing an orange life vest holding an oar paddling a blue kayak in a body of water.</td></tr><tr><td>XLM</td><td>A small child in an orange-red life vest holds a Paddy Power and paddles in a blue cadet on a body of water.</td></tr><tr><td>Ours</td><td>A small child in an orange life vest is holding a paddle and paddling in a blue kayak on a body of water.</td></tr><tr><td>GT-FR</td><td>Un homme avec une veste noire, une casquette à carreaux et un pantalon rayé noir et blanc joue de la guitare électrique sur une scène avec un chanteur et un autre guitariste en arrêtère-plan.</td></tr><tr><td>GT-EN</td><td>A man in a black jacket and checkered hat wearing black and white striped pants plays an electric guitar on a stage with a singer and another guitar player in the background.</td></tr><tr><td>XLM</td><td>A man with a black jacket, striped headband and light brown and white shirt plays an electric guitar on a stage with a singer and another guitarist in the background.</td></tr><tr><td>Ours</td><td>A man with a black jacket, checkered cap and black and white striped pants plays an electric guitar on a stage with a singer and another guitarist in the background.</td></tr></table>"
|
| 1147 |
+
},
|
| 1148 |
+
{
|
| 1149 |
+
"type": "table_caption",
|
| 1150 |
+
"bbox": [
|
| 1151 |
+
0.113,
|
| 1152 |
+
0.29,
|
| 1153 |
+
0.884,
|
| 1154 |
+
0.319
|
| 1155 |
+
],
|
| 1156 |
+
"angle": 0,
|
| 1157 |
+
"content": "Table 3: Qualitative results of the proposed model. GT denotes ground truth. Words highlighted in red are affected by the problem of lexical confusion."
|
| 1158 |
+
},
|
| 1159 |
+
{
|
| 1160 |
+
"type": "image",
|
| 1161 |
+
"bbox": [
|
| 1162 |
+
0.118,
|
| 1163 |
+
0.344,
|
| 1164 |
+
0.481,
|
| 1165 |
+
0.501
|
| 1166 |
+
],
|
| 1167 |
+
"angle": 0,
|
| 1168 |
+
"content": null
|
| 1169 |
+
},
|
| 1170 |
+
{
|
| 1171 |
+
"type": "image_caption",
|
| 1172 |
+
"bbox": [
|
| 1173 |
+
0.114,
|
| 1174 |
+
0.509,
|
| 1175 |
+
0.487,
|
| 1176 |
+
0.537
|
| 1177 |
+
],
|
| 1178 |
+
"angle": 0,
|
| 1179 |
+
"content": "Figure 3: 1-gram precision scores on Flickr2016 and Flickr2017 data sets."
|
| 1180 |
+
},
|
| 1181 |
+
{
|
| 1182 |
+
"type": "text",
|
| 1183 |
+
"bbox": [
|
| 1184 |
+
0.113,
|
| 1185 |
+
0.565,
|
| 1186 |
+
0.49,
|
| 1187 |
+
0.789
|
| 1188 |
+
],
|
| 1189 |
+
"angle": 0,
|
| 1190 |
+
"content": "sults in some lexical confusion errors. For instance, in Example 1, \"Fußballspiel\" is translated to \"baseball\" instead of \"soccer\", and in Example 2, \"orangefarbenen\" is translated to \"orange-red\" instead of \"orange\". The representation of these words is similar, which makes it difficult for the model to differentiate between them. However, when we incorporate image information, the words obtain additional information from the image representation, which helps alleviate this problem to some extent. In Table 3, we can see that these words are correctly translated when we add image information. Therefore, our approach can effectively address the issue of lexical confusion in UNMT."
|
| 1191 |
+
},
|
| 1192 |
+
{
|
| 1193 |
+
"type": "title",
|
| 1194 |
+
"bbox": [
|
| 1195 |
+
0.114,
|
| 1196 |
+
0.801,
|
| 1197 |
+
0.352,
|
| 1198 |
+
0.817
|
| 1199 |
+
],
|
| 1200 |
+
"angle": 0,
|
| 1201 |
+
"content": "4.2 1-gram Precision Scores"
|
| 1202 |
+
},
|
| 1203 |
+
{
|
| 1204 |
+
"type": "text",
|
| 1205 |
+
"bbox": [
|
| 1206 |
+
0.113,
|
| 1207 |
+
0.823,
|
| 1208 |
+
0.489,
|
| 1209 |
+
0.919
|
| 1210 |
+
],
|
| 1211 |
+
"angle": 0,
|
| 1212 |
+
"content": "To better observe how our method can alleviate the issue of lexical confusion, we report the 1-gram precision scores in Figure 3. The accuracy of the model's word translations can be reflected intuitively in the 1-gram precision scores metric. We report the results of our approach with and without"
|
| 1213 |
+
},
|
| 1214 |
+
{
|
| 1215 |
+
"type": "text",
|
| 1216 |
+
"bbox": [
|
| 1217 |
+
0.508,
|
| 1218 |
+
0.344,
|
| 1219 |
+
0.885,
|
| 1220 |
+
0.44
|
| 1221 |
+
],
|
| 1222 |
+
"angle": 0,
|
| 1223 |
+
"content": "incorporating images for various translation directions on the Flickr2016 and Flickr2017 test sets and find that our method with image incorporation outperforms the method without images in all directions. This demonstrates that our method can indeed provide more accurate word translations."
|
| 1224 |
+
},
|
| 1225 |
+
{
|
| 1226 |
+
"type": "title",
|
| 1227 |
+
"bbox": [
|
| 1228 |
+
0.509,
|
| 1229 |
+
0.48,
|
| 1230 |
+
0.877,
|
| 1231 |
+
0.495
|
| 1232 |
+
],
|
| 1233 |
+
"angle": 0,
|
| 1234 |
+
"content": "4.3 Performance on WMT and LDC Dataset"
|
| 1235 |
+
},
|
| 1236 |
+
{
|
| 1237 |
+
"type": "text",
|
| 1238 |
+
"bbox": [
|
| 1239 |
+
0.507,
|
| 1240 |
+
0.518,
|
| 1241 |
+
0.884,
|
| 1242 |
+
0.919
|
| 1243 |
+
],
|
| 1244 |
+
"angle": 0,
|
| 1245 |
+
"content": "Not all sentences have a corresponding image that perfectly matches the text. On the other hand, generally, each sentence has some words that can be matched with images, making the use of word-level images more flexible and less costly to collect. Hence, we also conduct experiments on a more common news dataset. We conduct experiments on En-Fr, En-Cs, and En-Zh translation directions using the WMT 5M monolingual data for En-Fr and En-Cs, and the LDC dataset for En-Zh. We split the LDC bilingual data into two non-overlapping parts, each containing 0.75 million monolingual sentences. The news dataset is more abstract in content compared to the Multi30k dataset, and it is difficult to find an image that perfectly matches a sentence. This makes it challenging or almost impossible to apply previous methods that rely on sentence-level images to this dataset. As shown in Table 4, our method can be applied to the news dataset, and it shows improvements compared to the method that only uses text. The improvement on the WMT dataset was not significant, and we speculate that this may be due to the sufficient size of the WMT dataset and the lower frequency of noun entities with images compared to Multi30k."
|
| 1246 |
+
},
|
| 1247 |
+
{
|
| 1248 |
+
"type": "page_number",
|
| 1249 |
+
"bbox": [
|
| 1250 |
+
0.478,
|
| 1251 |
+
0.928,
|
| 1252 |
+
0.526,
|
| 1253 |
+
0.941
|
| 1254 |
+
],
|
| 1255 |
+
"angle": 0,
|
| 1256 |
+
"content": "12614"
|
| 1257 |
+
}
|
| 1258 |
+
],
|
| 1259 |
+
[
|
| 1260 |
+
{
|
| 1261 |
+
"type": "table",
|
| 1262 |
+
"bbox": [
|
| 1263 |
+
0.12,
|
| 1264 |
+
0.083,
|
| 1265 |
+
0.486,
|
| 1266 |
+
0.145
|
| 1267 |
+
],
|
| 1268 |
+
"angle": 0,
|
| 1269 |
+
"content": "<table><tr><td>Approach</td><td>Zh-En</td><td>En-Zh</td><td>Cs-En</td><td>En-Cs</td><td>Fr-En</td><td>En-Fr</td></tr><tr><td>XLM</td><td>8.43</td><td>7.91</td><td>25.14</td><td>17.79</td><td>33.73</td><td>35.77</td></tr><tr><td>Our Method</td><td>9.87</td><td>9.36</td><td>25.51</td><td>18.24</td><td>34.14</td><td>36.46</td></tr><tr><td>Δ</td><td>+1.44</td><td>+1.45</td><td>+0.37</td><td>+0.45</td><td>+0.41</td><td>+0.69</td></tr></table>"
|
| 1270 |
+
},
|
| 1271 |
+
{
|
| 1272 |
+
"type": "table_caption",
|
| 1273 |
+
"bbox": [
|
| 1274 |
+
0.127,
|
| 1275 |
+
0.154,
|
| 1276 |
+
0.473,
|
| 1277 |
+
0.167
|
| 1278 |
+
],
|
| 1279 |
+
"angle": 0,
|
| 1280 |
+
"content": "Table 4: BLUE scores on WMT and LDC test sets."
|
| 1281 |
+
},
|
| 1282 |
+
{
|
| 1283 |
+
"type": "image",
|
| 1284 |
+
"bbox": [
|
| 1285 |
+
0.12,
|
| 1286 |
+
0.185,
|
| 1287 |
+
0.479,
|
| 1288 |
+
0.342
|
| 1289 |
+
],
|
| 1290 |
+
"angle": 0,
|
| 1291 |
+
"content": null
|
| 1292 |
+
},
|
| 1293 |
+
{
|
| 1294 |
+
"type": "image_caption",
|
| 1295 |
+
"bbox": [
|
| 1296 |
+
0.114,
|
| 1297 |
+
0.351,
|
| 1298 |
+
0.488,
|
| 1299 |
+
0.382
|
| 1300 |
+
],
|
| 1301 |
+
"angle": 0,
|
| 1302 |
+
"content": "Figure 4: BLEU scores on En-De with different ways and numbers of adding image."
|
| 1303 |
+
},
|
| 1304 |
+
{
|
| 1305 |
+
"type": "title",
|
| 1306 |
+
"bbox": [
|
| 1307 |
+
0.114,
|
| 1308 |
+
0.407,
|
| 1309 |
+
0.313,
|
| 1310 |
+
0.423
|
| 1311 |
+
],
|
| 1312 |
+
"angle": 0,
|
| 1313 |
+
"content": "4.4 Quantity of Images"
|
| 1314 |
+
},
|
| 1315 |
+
{
|
| 1316 |
+
"type": "text",
|
| 1317 |
+
"bbox": [
|
| 1318 |
+
0.113,
|
| 1319 |
+
0.428,
|
| 1320 |
+
0.49,
|
| 1321 |
+
0.783
|
| 1322 |
+
],
|
| 1323 |
+
"angle": 0,
|
| 1324 |
+
"content": "We are also curious about how the method of adding images and image quantity affects the performance. Therefore, we test several ways of adding images, including selecting the best one, the top two, randomly selecting one, randomly selecting two, and randomly selecting three. We treat all images corresponding to a single word as a class and selected the image with the highest average similarity to the other images in the same class as the best image. We report the average BLEU score of En-De on the Flickr2016 and Flickr2017 test sets as illustrated in figure 4. We find that the fixed-best method yielded lower performance compared to randomly adding images. This could be due to the limitation of the fixed-best method in capturing the full range of visual variations that may exist for a given word. Among all the random selection methods, we find that adding two images randomly yielded the best performance. This could be because adding three images may introduce more noise, while adding only one image may not provide enough randomness."
|
| 1325 |
+
},
|
| 1326 |
+
{
|
| 1327 |
+
"type": "title",
|
| 1328 |
+
"bbox": [
|
| 1329 |
+
0.114,
|
| 1330 |
+
0.796,
|
| 1331 |
+
0.27,
|
| 1332 |
+
0.811
|
| 1333 |
+
],
|
| 1334 |
+
"angle": 0,
|
| 1335 |
+
"content": "5 Related Work"
|
| 1336 |
+
},
|
| 1337 |
+
{
|
| 1338 |
+
"type": "text",
|
| 1339 |
+
"bbox": [
|
| 1340 |
+
0.113,
|
| 1341 |
+
0.823,
|
| 1342 |
+
0.49,
|
| 1343 |
+
0.92
|
| 1344 |
+
],
|
| 1345 |
+
"angle": 0,
|
| 1346 |
+
"content": "Unsupervised Machine Translation. Unlike common machine translation (Sutskever et al., 2014; Vaswani et al., 2017; Feng et al., 2020), UNMT don't use parallel corpus. Recent advancements (Zhang et al., 2017; Artetxe et al., 2018; Lample et al., 2018a; Conneau and Lample, 2019;"
|
| 1347 |
+
},
|
| 1348 |
+
{
|
| 1349 |
+
"type": "text",
|
| 1350 |
+
"bbox": [
|
| 1351 |
+
0.508,
|
| 1352 |
+
0.085,
|
| 1353 |
+
0.885,
|
| 1354 |
+
0.295
|
| 1355 |
+
],
|
| 1356 |
+
"angle": 0,
|
| 1357 |
+
"content": "Song et al., 2019; Han et al., 2021) in UNMT have achieved remarkable milestones. However, there are still certain issues associated with solely utilizing monolingual data for translation, such as domain mismatch problem (Marchisio et al., 2020; Kim et al., 2020), poor performance on distance language pairs (Kim et al., 2020; Chronopoulou et al., 2020; Sun et al., 2021), translationese (He et al., 2022), and lexical confusion (Bapna et al., 2022; Jones et al., 2023). Our work aims to address the issue of lexical confusion by utilizing word-level image data, thereby eliminating the need for costly bilingual dictionary annotations."
|
| 1358 |
+
},
|
| 1359 |
+
{
|
| 1360 |
+
"type": "text",
|
| 1361 |
+
"bbox": [
|
| 1362 |
+
0.508,
|
| 1363 |
+
0.303,
|
| 1364 |
+
0.885,
|
| 1365 |
+
0.673
|
| 1366 |
+
],
|
| 1367 |
+
"angle": 0,
|
| 1368 |
+
"content": "Multimodal Machine Translation. Multimodal machine translation involves incorporating image information into a machine translation model to enhance its performance. While most current multimodal machine translation systems (Caglayan et al., 2016; Yao and Wan, 2020; Yin et al., 2020; Caglayan et al., 2021; Zhang et al., 2020; Fang and Feng, 2022; Li et al., 2022) focus on supervised machine translation, it has been observed that visual information is generally ignored when parallel corpora are plentiful (Caglayan et al., 2019; Wu et al., 2021). Yang et al. (2022) proposed the use of image information in situations where parallel corpora are not abundant. On the other hand, Su et al. (2019) and Huang et al. (2020) utilized image information in an unsupervised setting. However, these approaches were based on sentence-level image information, which can be challenging to obtain since not all sentences have corresponding images. In contrast, word-level image information is easier to obtain and is more flexible and lightweight. Therefore, our work aims to use word-level image information to enhance the performance of UNMT."
|
| 1369 |
+
},
|
| 1370 |
+
{
|
| 1371 |
+
"type": "title",
|
| 1372 |
+
"bbox": [
|
| 1373 |
+
0.509,
|
| 1374 |
+
0.685,
|
| 1375 |
+
0.797,
|
| 1376 |
+
0.7
|
| 1377 |
+
],
|
| 1378 |
+
"angle": 0,
|
| 1379 |
+
"content": "6 Conclusion and Future Work"
|
| 1380 |
+
},
|
| 1381 |
+
{
|
| 1382 |
+
"type": "text",
|
| 1383 |
+
"bbox": [
|
| 1384 |
+
0.508,
|
| 1385 |
+
0.71,
|
| 1386 |
+
0.885,
|
| 1387 |
+
0.919
|
| 1388 |
+
],
|
| 1389 |
+
"angle": 0,
|
| 1390 |
+
"content": "In this paper, we propose a method to alleviate the problem of lexical confusion in unsupervised machine translation by utilizing word-level images and provide a concise yet potent framework for integrating them into an unsupervised neural machine translation model. Through extensive experiments, we demonstrate that our method can effectively mitigate the issue of word confusion and even outperform the use of costly bilingual dictionaries in some directions. Furthermore, we release an open-source word-image dataset that covers 5 languages and involves over 300,000 images in total. In the future, we will endeavor to explore the"
|
| 1391 |
+
},
|
| 1392 |
+
{
|
| 1393 |
+
"type": "page_number",
|
| 1394 |
+
"bbox": [
|
| 1395 |
+
0.478,
|
| 1396 |
+
0.928,
|
| 1397 |
+
0.526,
|
| 1398 |
+
0.941
|
| 1399 |
+
],
|
| 1400 |
+
"angle": 0,
|
| 1401 |
+
"content": "12615"
|
| 1402 |
+
}
|
| 1403 |
+
],
|
| 1404 |
+
[
|
| 1405 |
+
{
|
| 1406 |
+
"type": "text",
|
| 1407 |
+
"bbox": [
|
| 1408 |
+
0.114,
|
| 1409 |
+
0.085,
|
| 1410 |
+
0.488,
|
| 1411 |
+
0.135
|
| 1412 |
+
],
|
| 1413 |
+
"angle": 0,
|
| 1414 |
+
"content": "potential of utilizing images for augmenting the translation quality of low-resource languages in a large-language-model-based translation system."
|
| 1415 |
+
},
|
| 1416 |
+
{
|
| 1417 |
+
"type": "title",
|
| 1418 |
+
"bbox": [
|
| 1419 |
+
0.115,
|
| 1420 |
+
0.145,
|
| 1421 |
+
0.221,
|
| 1422 |
+
0.159
|
| 1423 |
+
],
|
| 1424 |
+
"angle": 0,
|
| 1425 |
+
"content": "Limitations"
|
| 1426 |
+
},
|
| 1427 |
+
{
|
| 1428 |
+
"type": "text",
|
| 1429 |
+
"bbox": [
|
| 1430 |
+
0.113,
|
| 1431 |
+
0.17,
|
| 1432 |
+
0.49,
|
| 1433 |
+
0.412
|
| 1434 |
+
],
|
| 1435 |
+
"angle": 0,
|
| 1436 |
+
"content": "One limitation of our work is that we have not been able to effectively handle the issue of polysemy. The word-image dataset is obtained through direct web scraping of words, and the images collected may not all correspond to the same sense of the word. Moreover, when adding images, we have not been able to accurately select images that correspond to the intended meaning of the word in the sentence. However, we have attempted to alleviate this issue to some extent by randomly selecting images during the process of adding images, which has enabled the model to encounter the correct images to a certain degree. In the future, we plan to improve our approach by incorporating sentence-level information when inserting images."
|
| 1437 |
+
},
|
| 1438 |
+
{
|
| 1439 |
+
"type": "title",
|
| 1440 |
+
"bbox": [
|
| 1441 |
+
0.115,
|
| 1442 |
+
0.423,
|
| 1443 |
+
0.266,
|
| 1444 |
+
0.437
|
| 1445 |
+
],
|
| 1446 |
+
"angle": 0,
|
| 1447 |
+
"content": "Ethics Statement"
|
| 1448 |
+
},
|
| 1449 |
+
{
|
| 1450 |
+
"type": "text",
|
| 1451 |
+
"bbox": [
|
| 1452 |
+
0.113,
|
| 1453 |
+
0.448,
|
| 1454 |
+
0.488,
|
| 1455 |
+
0.576
|
| 1456 |
+
],
|
| 1457 |
+
"angle": 0,
|
| 1458 |
+
"content": "In our experimental endeavors, we have amassed a substantial collection of images, which naturally prompts discussions pertaining to these issues. It is imperative to clarify that we do not possess the copyright for these images. Instead, they will be exclusively available to researchers and educators seeking to utilize the dataset for non-commercial research and/or educational purposes."
|
| 1459 |
+
},
|
| 1460 |
+
{
|
| 1461 |
+
"type": "title",
|
| 1462 |
+
"bbox": [
|
| 1463 |
+
0.115,
|
| 1464 |
+
0.589,
|
| 1465 |
+
0.287,
|
| 1466 |
+
0.605
|
| 1467 |
+
],
|
| 1468 |
+
"angle": 0,
|
| 1469 |
+
"content": "Acknowledgements"
|
| 1470 |
+
},
|
| 1471 |
+
{
|
| 1472 |
+
"type": "text",
|
| 1473 |
+
"bbox": [
|
| 1474 |
+
0.113,
|
| 1475 |
+
0.614,
|
| 1476 |
+
0.49,
|
| 1477 |
+
0.79
|
| 1478 |
+
],
|
| 1479 |
+
"angle": 0,
|
| 1480 |
+
"content": "Xiaocheng Feng is the corresponding author of this work. We thank the anonymous reviewers for their insightful comments. This work was supported by the National Key RD Program of China via grant No. 2021ZD0112905, National Natural Science Foundation of China (NSFC) via grant 62276078, the Key RD Program of Heilongjiang via grant 2022ZX01A32, the International Cooperation Project of PCLPCL2022D01 and the Fundamental Research Funds for the Central Universities (Grant No.HIT.OCEF.2023018)."
|
| 1481 |
+
},
|
| 1482 |
+
{
|
| 1483 |
+
"type": "title",
|
| 1484 |
+
"bbox": [
|
| 1485 |
+
0.115,
|
| 1486 |
+
0.817,
|
| 1487 |
+
0.214,
|
| 1488 |
+
0.832
|
| 1489 |
+
],
|
| 1490 |
+
"angle": 0,
|
| 1491 |
+
"content": "References"
|
| 1492 |
+
},
|
| 1493 |
+
{
|
| 1494 |
+
"type": "ref_text",
|
| 1495 |
+
"bbox": [
|
| 1496 |
+
0.116,
|
| 1497 |
+
0.839,
|
| 1498 |
+
0.49,
|
| 1499 |
+
0.919
|
| 1500 |
+
],
|
| 1501 |
+
"angle": 0,
|
| 1502 |
+
"content": "Mikel Artetxe, Gorka Labaka, Eneko Agirre, and Kyunghyun Cho. 2018. Unsupervised neural machine translation. In 6th International Conference on Learning Representations, ICLR 2018, Vancouver, BC, Canada, April 30 - May 3, 2018, Conference Track Proceedings. OpenReview.net."
|
| 1503 |
+
},
|
| 1504 |
+
{
|
| 1505 |
+
"type": "ref_text",
|
| 1506 |
+
"bbox": [
|
| 1507 |
+
0.511,
|
| 1508 |
+
0.086,
|
| 1509 |
+
0.883,
|
| 1510 |
+
0.165
|
| 1511 |
+
],
|
| 1512 |
+
"angle": 0,
|
| 1513 |
+
"content": "Ankur Bapna, Isaac Caswell, Julia Kreutzer, Orhan Firat, Daan van Esch, Aditya Siddhant, Mengmeng Niu, Pallavi Baljekar, Xavier Garcia, Wolfgang Macherey, et al. 2022. Building machine translation systems for the next thousand languages. arXiv preprint arXiv:2205.03983."
|
| 1514 |
+
},
|
| 1515 |
+
{
|
| 1516 |
+
"type": "ref_text",
|
| 1517 |
+
"bbox": [
|
| 1518 |
+
0.511,
|
| 1519 |
+
0.179,
|
| 1520 |
+
0.885,
|
| 1521 |
+
0.257
|
| 1522 |
+
],
|
| 1523 |
+
"angle": 0,
|
| 1524 |
+
"content": "Loic Barrault, Fethi Bougares, Lucia Specia, Chiraag Lala, Desmond Elliott, and Stella Frank. 2018. Findings of the third shared task on multimodal machine translation. In Proceedings of the Third Conference on Machine Translation: Shared Task Papers, pages 304-323."
|
| 1525 |
+
},
|
| 1526 |
+
{
|
| 1527 |
+
"type": "ref_text",
|
| 1528 |
+
"bbox": [
|
| 1529 |
+
0.511,
|
| 1530 |
+
0.271,
|
| 1531 |
+
0.885,
|
| 1532 |
+
0.311
|
| 1533 |
+
],
|
| 1534 |
+
"angle": 0,
|
| 1535 |
+
"content": "Ozan Caglayan, Loic Barrault, and Fethi Bougares. 2016. Multimodal attention for neural machine translation. arXiv preprint arXiv:1609.03976."
|
| 1536 |
+
},
|
| 1537 |
+
{
|
| 1538 |
+
"type": "ref_text",
|
| 1539 |
+
"bbox": [
|
| 1540 |
+
0.511,
|
| 1541 |
+
0.325,
|
| 1542 |
+
0.885,
|
| 1543 |
+
0.43
|
| 1544 |
+
],
|
| 1545 |
+
"angle": 0,
|
| 1546 |
+
"content": "Ozan Caglayan, Menekse Kuyu, Mustafa Sercan Amac, Pranava Madhyastha, Erkut Erdem, Aykut Erdem, and Lucia Specia. 2021. Cross-lingual visual pretraining for multimodal machine translation. In Proceedings of the 16th Conference of the European Chapter of the Association for Computational Linguistics: Main Volume, pages 1317-1324, Online. Association for Computational Linguistics."
|
| 1547 |
+
},
|
| 1548 |
+
{
|
| 1549 |
+
"type": "ref_text",
|
| 1550 |
+
"bbox": [
|
| 1551 |
+
0.511,
|
| 1552 |
+
0.444,
|
| 1553 |
+
0.884,
|
| 1554 |
+
0.562
|
| 1555 |
+
],
|
| 1556 |
+
"angle": 0,
|
| 1557 |
+
"content": "Ozan Caglayan, Pranava Madhyastha, Lucia Specia, and Loic Barrault. 2019. Probing the need for visual context in multimodal 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 4159-4170, Minneapolis, Minnesota. Association for Computational Linguistics."
|
| 1558 |
+
},
|
| 1559 |
+
{
|
| 1560 |
+
"type": "ref_text",
|
| 1561 |
+
"bbox": [
|
| 1562 |
+
0.511,
|
| 1563 |
+
0.575,
|
| 1564 |
+
0.884,
|
| 1565 |
+
0.667
|
| 1566 |
+
],
|
| 1567 |
+
"angle": 0,
|
| 1568 |
+
"content": "Alexandra Chronopoulou, Dario Stojanovski, and Alexander Fraser. 2020. Reusing a Pretrained Language Model on Languages with Limited Corpora for Unsupervised NMT. In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP), pages 2703-2711, Online. Association for Computational Linguistics."
|
| 1569 |
+
},
|
| 1570 |
+
{
|
| 1571 |
+
"type": "ref_text",
|
| 1572 |
+
"bbox": [
|
| 1573 |
+
0.511,
|
| 1574 |
+
0.681,
|
| 1575 |
+
0.883,
|
| 1576 |
+
0.721
|
| 1577 |
+
],
|
| 1578 |
+
"angle": 0,
|
| 1579 |
+
"content": "Alexis Conneau and Guillaume Lample. 2019. Crosslingual language model pretraining. Advances in neural information processing systems, 32."
|
| 1580 |
+
},
|
| 1581 |
+
{
|
| 1582 |
+
"type": "ref_text",
|
| 1583 |
+
"bbox": [
|
| 1584 |
+
0.511,
|
| 1585 |
+
0.734,
|
| 1586 |
+
0.884,
|
| 1587 |
+
0.827
|
| 1588 |
+
],
|
| 1589 |
+
"angle": 0,
|
| 1590 |
+
"content": "Desmond Elliott, Stella Frank, Loic Barrault, Fethi Bougares, and Lucia Specia. 2017. Findings of the second shared task on multimodal machine translation and multilingual image description. In Proceedings of the Second Conference on Machine Translation, pages 215-233, Copenhagen, Denmark. Association for Computational Linguistics."
|
| 1591 |
+
},
|
| 1592 |
+
{
|
| 1593 |
+
"type": "ref_text",
|
| 1594 |
+
"bbox": [
|
| 1595 |
+
0.511,
|
| 1596 |
+
0.84,
|
| 1597 |
+
0.884,
|
| 1598 |
+
0.919
|
| 1599 |
+
],
|
| 1600 |
+
"angle": 0,
|
| 1601 |
+
"content": "Desmond Elliott, Stella Frank, Khalil Sima'an, and Lucia Specia. 2016. Multi30K: Multilingual English-German image descriptions. In Proceedings of the 5th Workshop on Vision and Language, pages 70-74, Berlin, Germany. Association for Computational Linguistics."
|
| 1602 |
+
},
|
| 1603 |
+
{
|
| 1604 |
+
"type": "list",
|
| 1605 |
+
"bbox": [
|
| 1606 |
+
0.511,
|
| 1607 |
+
0.086,
|
| 1608 |
+
0.885,
|
| 1609 |
+
0.919
|
| 1610 |
+
],
|
| 1611 |
+
"angle": 0,
|
| 1612 |
+
"content": null
|
| 1613 |
+
},
|
| 1614 |
+
{
|
| 1615 |
+
"type": "page_number",
|
| 1616 |
+
"bbox": [
|
| 1617 |
+
0.478,
|
| 1618 |
+
0.929,
|
| 1619 |
+
0.526,
|
| 1620 |
+
0.941
|
| 1621 |
+
],
|
| 1622 |
+
"angle": 0,
|
| 1623 |
+
"content": "12616"
|
| 1624 |
+
}
|
| 1625 |
+
],
|
| 1626 |
+
[
|
| 1627 |
+
{
|
| 1628 |
+
"type": "ref_text",
|
| 1629 |
+
"bbox": [
|
| 1630 |
+
0.117,
|
| 1631 |
+
0.086,
|
| 1632 |
+
0.49,
|
| 1633 |
+
0.166
|
| 1634 |
+
],
|
| 1635 |
+
"angle": 0,
|
| 1636 |
+
"content": "Qingkai Fang and Yang Feng. 2022. Neural machine translation with phrase-level universal visual representations. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 5687-5698, Dublin, Ireland. Association for Computational Linguistics."
|
| 1637 |
+
},
|
| 1638 |
+
{
|
| 1639 |
+
"type": "ref_text",
|
| 1640 |
+
"bbox": [
|
| 1641 |
+
0.117,
|
| 1642 |
+
0.174,
|
| 1643 |
+
0.489,
|
| 1644 |
+
0.24
|
| 1645 |
+
],
|
| 1646 |
+
"angle": 0,
|
| 1647 |
+
"content": "Xiaocheng Feng, Zhangyin Feng, Wanlong Zhao, Bing Qin, and Ting Liu. 2020. Enhanced neural machine translation by joint decoding with word and posttagging sequences. Mobile Networks and Applications, 25:1722-1728."
|
| 1648 |
+
},
|
| 1649 |
+
{
|
| 1650 |
+
"type": "ref_text",
|
| 1651 |
+
"bbox": [
|
| 1652 |
+
0.117,
|
| 1653 |
+
0.25,
|
| 1654 |
+
0.489,
|
| 1655 |
+
0.327
|
| 1656 |
+
],
|
| 1657 |
+
"angle": 0,
|
| 1658 |
+
"content": "Jesse Michael Han, Igor Babuschkin, Harrison Edwards, Arvind Neelakantan, Tao Xu, Stanislas Polu, Alex Ray, Pranav Shyam, Aditya Ramesh, Alec Radford, et al. 2021. Unsupervised neural machine translation with generative language models only. arXiv preprint arXiv:2110.05448."
|
| 1659 |
+
},
|
| 1660 |
+
{
|
| 1661 |
+
"type": "ref_text",
|
| 1662 |
+
"bbox": [
|
| 1663 |
+
0.117,
|
| 1664 |
+
0.337,
|
| 1665 |
+
0.489,
|
| 1666 |
+
0.443
|
| 1667 |
+
],
|
| 1668 |
+
"angle": 0,
|
| 1669 |
+
"content": "Zhiwei He, Xing Wang, Rui Wang, Shuming Shi, and Zhaopeng Tu. 2022. Bridging the data gap between training and inference for unsupervised neural machine translation. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 6611-6623, Dublin, Ireland. Association for Computational Linguistics."
|
| 1670 |
+
},
|
| 1671 |
+
{
|
| 1672 |
+
"type": "ref_text",
|
| 1673 |
+
"bbox": [
|
| 1674 |
+
0.117,
|
| 1675 |
+
0.452,
|
| 1676 |
+
0.489,
|
| 1677 |
+
0.543
|
| 1678 |
+
],
|
| 1679 |
+
"angle": 0,
|
| 1680 |
+
"content": "Po-Yao Huang, Junjie Hu, Xiaojun Chang, and Alexander Hauptmann. 2020. Unsupervised multimodal neural machine translation with pseudo visual pivoting. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pages 8226-8237, Online. Association for Computational Linguistics."
|
| 1681 |
+
},
|
| 1682 |
+
{
|
| 1683 |
+
"type": "ref_text",
|
| 1684 |
+
"bbox": [
|
| 1685 |
+
0.117,
|
| 1686 |
+
0.552,
|
| 1687 |
+
0.489,
|
| 1688 |
+
0.605
|
| 1689 |
+
],
|
| 1690 |
+
"angle": 0,
|
| 1691 |
+
"content": "Alex Jones, Isaac Caswell, Ishank Saxena, and Orhan Firat. 2023. Bilex rx: Lexical data augmentation for massively multilingual machine translation. CoRR, abs/2303.15265."
|
| 1692 |
+
},
|
| 1693 |
+
{
|
| 1694 |
+
"type": "ref_text",
|
| 1695 |
+
"bbox": [
|
| 1696 |
+
0.117,
|
| 1697 |
+
0.614,
|
| 1698 |
+
0.489,
|
| 1699 |
+
0.694
|
| 1700 |
+
],
|
| 1701 |
+
"angle": 0,
|
| 1702 |
+
"content": "Yunsu Kim, Miguel Graça, and Hermann Ney. 2020. When and why is unsupervised neural machine translation useless? In Proceedings of the 22nd Annual Conference of the European Association for Machine Translation, pages 35-44, Lisboa, Portugal. European Association for Machine Translation."
|
| 1703 |
+
},
|
| 1704 |
+
{
|
| 1705 |
+
"type": "ref_text",
|
| 1706 |
+
"bbox": [
|
| 1707 |
+
0.117,
|
| 1708 |
+
0.703,
|
| 1709 |
+
0.489,
|
| 1710 |
+
0.768
|
| 1711 |
+
],
|
| 1712 |
+
"angle": 0,
|
| 1713 |
+
"content": "Guillaume Lample, Alexis Conneau, Ludovic Denoyer, and Marc'Aurelio Ranzato. 2018a. Unsupervised machine translation using monolingual corpora only. In International Conference on Learning Representations."
|
| 1714 |
+
},
|
| 1715 |
+
{
|
| 1716 |
+
"type": "ref_text",
|
| 1717 |
+
"bbox": [
|
| 1718 |
+
0.117,
|
| 1719 |
+
0.777,
|
| 1720 |
+
0.489,
|
| 1721 |
+
0.869
|
| 1722 |
+
],
|
| 1723 |
+
"angle": 0,
|
| 1724 |
+
"content": "Guillaume Lample, Alexis Conneau, Marc'Aurelio Ranzato, Ludovic Denoyer, and Hervé Jégou. 2018b. Word translation without parallel data. In 6th International Conference on Learning Representations, ICLR 2018, Vancouver, BC, Canada, April 30 - May 3, 2018, Conference Track Proceedings. OpenReview.net."
|
| 1725 |
+
},
|
| 1726 |
+
{
|
| 1727 |
+
"type": "ref_text",
|
| 1728 |
+
"bbox": [
|
| 1729 |
+
0.117,
|
| 1730 |
+
0.878,
|
| 1731 |
+
0.489,
|
| 1732 |
+
0.919
|
| 1733 |
+
],
|
| 1734 |
+
"angle": 0,
|
| 1735 |
+
"content": "Guillaume Lample, Myle Ott, Alexis Conneau, Ludovic Denoyer, and Marc'Aurelio Ranzato. 2018c. Phrase-based & neural unsupervised machine translation."
|
| 1736 |
+
},
|
| 1737 |
+
{
|
| 1738 |
+
"type": "list",
|
| 1739 |
+
"bbox": [
|
| 1740 |
+
0.117,
|
| 1741 |
+
0.086,
|
| 1742 |
+
0.49,
|
| 1743 |
+
0.919
|
| 1744 |
+
],
|
| 1745 |
+
"angle": 0,
|
| 1746 |
+
"content": null
|
| 1747 |
+
},
|
| 1748 |
+
{
|
| 1749 |
+
"type": "ref_text",
|
| 1750 |
+
"bbox": [
|
| 1751 |
+
0.529,
|
| 1752 |
+
0.086,
|
| 1753 |
+
0.884,
|
| 1754 |
+
0.14
|
| 1755 |
+
],
|
| 1756 |
+
"angle": 0,
|
| 1757 |
+
"content": "In Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing, pages 5039-5049, Brussels, Belgium. Association for Computational Linguistics."
|
| 1758 |
+
},
|
| 1759 |
+
{
|
| 1760 |
+
"type": "ref_text",
|
| 1761 |
+
"bbox": [
|
| 1762 |
+
0.512,
|
| 1763 |
+
0.15,
|
| 1764 |
+
0.884,
|
| 1765 |
+
0.243
|
| 1766 |
+
],
|
| 1767 |
+
"angle": 0,
|
| 1768 |
+
"content": "Bei Li, Chuanhao Lv, Zefan Zhou, Tao Zhou, Tong Xiao, Anxiang Ma, and JingBo Zhu. 2022. On vision features in multimodal machine translation. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 6327-6337, Dublin, Ireland. Association for Computational Linguistics."
|
| 1769 |
+
},
|
| 1770 |
+
{
|
| 1771 |
+
"type": "ref_text",
|
| 1772 |
+
"bbox": [
|
| 1773 |
+
0.512,
|
| 1774 |
+
0.254,
|
| 1775 |
+
0.884,
|
| 1776 |
+
0.321
|
| 1777 |
+
],
|
| 1778 |
+
"angle": 0,
|
| 1779 |
+
"content": "Weijie Liu, Peng Zhou, Zhe Zhao, Zhiruo Wang, Qi Ju, Haotang Deng, and Ping Wang. 2020. K-bert: Enabling language representation with knowledge graph. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 34, pages 2901-2908."
|
| 1780 |
+
},
|
| 1781 |
+
{
|
| 1782 |
+
"type": "ref_text",
|
| 1783 |
+
"bbox": [
|
| 1784 |
+
0.512,
|
| 1785 |
+
0.333,
|
| 1786 |
+
0.883,
|
| 1787 |
+
0.399
|
| 1788 |
+
],
|
| 1789 |
+
"angle": 0,
|
| 1790 |
+
"content": "Kelly Marchisio, Kevin Duh, and Philipp Koehn. 2020. When does unsupervised machine translation work? In Proceedings of the Fifth Conference on Machine Translation, pages 571-583, Online. Association for Computational Linguistics."
|
| 1791 |
+
},
|
| 1792 |
+
{
|
| 1793 |
+
"type": "ref_text",
|
| 1794 |
+
"bbox": [
|
| 1795 |
+
0.512,
|
| 1796 |
+
0.41,
|
| 1797 |
+
0.884,
|
| 1798 |
+
0.503
|
| 1799 |
+
],
|
| 1800 |
+
"angle": 0,
|
| 1801 |
+
"content": "Kishore Papineni, Salim Roukos, Todd Ward, and Wei-Jing Zhu. 2002. Bleu: a method for automatic evaluation of machine translation. In Proceedings of the 40th Annual Meeting of the Association for Computational Linguistics, pages 311-318, Philadelphia, Pennsylvania, USA. Association for Computational Linguistics."
|
| 1802 |
+
},
|
| 1803 |
+
{
|
| 1804 |
+
"type": "ref_text",
|
| 1805 |
+
"bbox": [
|
| 1806 |
+
0.512,
|
| 1807 |
+
0.514,
|
| 1808 |
+
0.884,
|
| 1809 |
+
0.594
|
| 1810 |
+
],
|
| 1811 |
+
"angle": 0,
|
| 1812 |
+
"content": "Alec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh, Gabriel Goh, Sandhini Agarwal, Girish Sastry, Amanda Askell, Pamela Mishkin, Jack Clark, et al. 2021. Learning transferable visual models from natural language supervision. In International conference on machine learning, pages 8748-8763. PMLR."
|
| 1813 |
+
},
|
| 1814 |
+
{
|
| 1815 |
+
"type": "ref_text",
|
| 1816 |
+
"bbox": [
|
| 1817 |
+
0.512,
|
| 1818 |
+
0.605,
|
| 1819 |
+
0.884,
|
| 1820 |
+
0.671
|
| 1821 |
+
],
|
| 1822 |
+
"angle": 0,
|
| 1823 |
+
"content": "Kaitao Song, Xu Tan, Tao Qin, Jianfeng Lu, and Tie-Yan Liu. 2019. Mass: Masked sequence to sequence pretraining for language generation. In International Conference on Machine Learning, pages 5926-5936. PMLR."
|
| 1824 |
+
},
|
| 1825 |
+
{
|
| 1826 |
+
"type": "ref_text",
|
| 1827 |
+
"bbox": [
|
| 1828 |
+
0.512,
|
| 1829 |
+
0.683,
|
| 1830 |
+
0.884,
|
| 1831 |
+
0.75
|
| 1832 |
+
],
|
| 1833 |
+
"angle": 0,
|
| 1834 |
+
"content": "Yuanhang Su, Kai Fan, Nguyen Bach, C-C Jay Kuo, and Fei Huang. 2019. Unsupervised multi-modal neural machine translation. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 10482-10491."
|
| 1835 |
+
},
|
| 1836 |
+
{
|
| 1837 |
+
"type": "ref_text",
|
| 1838 |
+
"bbox": [
|
| 1839 |
+
0.512,
|
| 1840 |
+
0.762,
|
| 1841 |
+
0.884,
|
| 1842 |
+
0.853
|
| 1843 |
+
],
|
| 1844 |
+
"angle": 0,
|
| 1845 |
+
"content": "Haipeng Sun, Rui Wang, Masao Utiyama, Benjamin Marie, Kehai Chen, Eiichiro Sumita, and Tiejun Zhao. 2021. Unsupervised neural machine translation for similar and distant language pairs: An empirical study. ACM Transactions on Asian and Low-Resource Language Information Processing (TALLIP), 20(1):1-17."
|
| 1846 |
+
},
|
| 1847 |
+
{
|
| 1848 |
+
"type": "ref_text",
|
| 1849 |
+
"bbox": [
|
| 1850 |
+
0.512,
|
| 1851 |
+
0.865,
|
| 1852 |
+
0.884,
|
| 1853 |
+
0.918
|
| 1854 |
+
],
|
| 1855 |
+
"angle": 0,
|
| 1856 |
+
"content": "Ilya Sutskever, Oriol Vinyals, and Quoc V Le. 2014. Sequence to sequence learning with neural networks. Advances in neural information processing systems, 27."
|
| 1857 |
+
},
|
| 1858 |
+
{
|
| 1859 |
+
"type": "list",
|
| 1860 |
+
"bbox": [
|
| 1861 |
+
0.512,
|
| 1862 |
+
0.086,
|
| 1863 |
+
0.884,
|
| 1864 |
+
0.918
|
| 1865 |
+
],
|
| 1866 |
+
"angle": 0,
|
| 1867 |
+
"content": null
|
| 1868 |
+
},
|
| 1869 |
+
{
|
| 1870 |
+
"type": "page_number",
|
| 1871 |
+
"bbox": [
|
| 1872 |
+
0.478,
|
| 1873 |
+
0.929,
|
| 1874 |
+
0.525,
|
| 1875 |
+
0.941
|
| 1876 |
+
],
|
| 1877 |
+
"angle": 0,
|
| 1878 |
+
"content": "12617"
|
| 1879 |
+
}
|
| 1880 |
+
],
|
| 1881 |
+
[
|
| 1882 |
+
{
|
| 1883 |
+
"type": "ref_text",
|
| 1884 |
+
"bbox": [
|
| 1885 |
+
0.116,
|
| 1886 |
+
0.086,
|
| 1887 |
+
0.488,
|
| 1888 |
+
0.152
|
| 1889 |
+
],
|
| 1890 |
+
"angle": 0,
|
| 1891 |
+
"content": "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."
|
| 1892 |
+
},
|
| 1893 |
+
{
|
| 1894 |
+
"type": "ref_text",
|
| 1895 |
+
"bbox": [
|
| 1896 |
+
0.116,
|
| 1897 |
+
0.163,
|
| 1898 |
+
0.488,
|
| 1899 |
+
0.281
|
| 1900 |
+
],
|
| 1901 |
+
"angle": 0,
|
| 1902 |
+
"content": "Zhiyong Wu, Lingpeng Kong, Wei Bi, Xiang Li, and Ben Kao. 2021. Good for misconceived reasons: An empirical revisiting on the need for visual context in multimodal machine translation. In Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing (Volume I: Long Papers), pages 6153-6166, Online. Association for Computational Linguistics."
|
| 1903 |
+
},
|
| 1904 |
+
{
|
| 1905 |
+
"type": "ref_text",
|
| 1906 |
+
"bbox": [
|
| 1907 |
+
0.116,
|
| 1908 |
+
0.291,
|
| 1909 |
+
0.488,
|
| 1910 |
+
0.37
|
| 1911 |
+
],
|
| 1912 |
+
"angle": 0,
|
| 1913 |
+
"content": "Zhe Yang, Qingkai Fang, and Yang Feng. 2022. Lowresource neural machine translation with cross-modal alignment. In Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing, pages 10134-10146, Abu Dhabi, United Arab Emirates. Association for Computational Linguistics."
|
| 1914 |
+
},
|
| 1915 |
+
{
|
| 1916 |
+
"type": "ref_text",
|
| 1917 |
+
"bbox": [
|
| 1918 |
+
0.116,
|
| 1919 |
+
0.379,
|
| 1920 |
+
0.488,
|
| 1921 |
+
0.459
|
| 1922 |
+
],
|
| 1923 |
+
"angle": 0,
|
| 1924 |
+
"content": "Shaowei Yao and Xiaojun Wan. 2020. Multimodal transformer for multimodal machine translation. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pages 4346-4350, Online. Association for Computational Linguistics."
|
| 1925 |
+
},
|
| 1926 |
+
{
|
| 1927 |
+
"type": "ref_text",
|
| 1928 |
+
"bbox": [
|
| 1929 |
+
0.116,
|
| 1930 |
+
0.469,
|
| 1931 |
+
0.488,
|
| 1932 |
+
0.561
|
| 1933 |
+
],
|
| 1934 |
+
"angle": 0,
|
| 1935 |
+
"content": "Yongjing Yin, Fandong Meng, Jinsong Su, Chulun Zhou, Zhengyuan Yang, Jie Zhou, and Jiebo Luo. 2020. A novel graph-based multi-modal fusion encoder for neural machine translation. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pages 3025-3035, Online. Association for Computational Linguistics."
|
| 1936 |
+
},
|
| 1937 |
+
{
|
| 1938 |
+
"type": "ref_text",
|
| 1939 |
+
"bbox": [
|
| 1940 |
+
0.116,
|
| 1941 |
+
0.571,
|
| 1942 |
+
0.488,
|
| 1943 |
+
0.663
|
| 1944 |
+
],
|
| 1945 |
+
"angle": 0,
|
| 1946 |
+
"content": "Meng Zhang, Yang Liu, Huanbo Luan, and Maosong Sun. 2017. Adversarial training for unsupervised bilingual lexicon induction. In Proceedings of the 55th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 1959-1970, Vancouver, Canada. Association for Computational Linguistics."
|
| 1947 |
+
},
|
| 1948 |
+
{
|
| 1949 |
+
"type": "ref_text",
|
| 1950 |
+
"bbox": [
|
| 1951 |
+
0.116,
|
| 1952 |
+
0.673,
|
| 1953 |
+
0.488,
|
| 1954 |
+
0.739
|
| 1955 |
+
],
|
| 1956 |
+
"angle": 0,
|
| 1957 |
+
"content": "Zhuosheng Zhang, Kehai Chen, Rui Wang, Masao Utiyama, Eiichiro Sumita, Zuchao Li, and Hai Zhao. 2020. Neural machine translation with universal visual representation. In International Conference on Learning Representations."
|
| 1958 |
+
},
|
| 1959 |
+
{
|
| 1960 |
+
"type": "list",
|
| 1961 |
+
"bbox": [
|
| 1962 |
+
0.116,
|
| 1963 |
+
0.086,
|
| 1964 |
+
0.488,
|
| 1965 |
+
0.739
|
| 1966 |
+
],
|
| 1967 |
+
"angle": 0,
|
| 1968 |
+
"content": null
|
| 1969 |
+
},
|
| 1970 |
+
{
|
| 1971 |
+
"type": "title",
|
| 1972 |
+
"bbox": [
|
| 1973 |
+
0.115,
|
| 1974 |
+
0.765,
|
| 1975 |
+
0.449,
|
| 1976 |
+
0.796
|
| 1977 |
+
],
|
| 1978 |
+
"angle": 0,
|
| 1979 |
+
"content": "A The Implementation Details of the XLM and UNMT-CS Method"
|
| 1980 |
+
},
|
| 1981 |
+
{
|
| 1982 |
+
"type": "text",
|
| 1983 |
+
"bbox": [
|
| 1984 |
+
0.113,
|
| 1985 |
+
0.807,
|
| 1986 |
+
0.49,
|
| 1987 |
+
0.919
|
| 1988 |
+
],
|
| 1989 |
+
"angle": 0,
|
| 1990 |
+
"content": "The XLM and UNMT-CS methods are re-implemented on the Multi30k dataset in our paper. During training, both these two methods are trained on the 5 million sentences from the WMT dataset for 70 epochs and subsequently continued training for 70 epochs on the Multi30k dataset. For the bilingual dictionary in codeswitching method, we use"
|
| 1991 |
+
},
|
| 1992 |
+
{
|
| 1993 |
+
"type": "text",
|
| 1994 |
+
"bbox": [
|
| 1995 |
+
0.508,
|
| 1996 |
+
0.085,
|
| 1997 |
+
0.883,
|
| 1998 |
+
0.198
|
| 1999 |
+
],
|
| 2000 |
+
"angle": 0,
|
| 2001 |
+
"content": "the Ground-truth bilingual dictionaries provided in MUSE\\(^{8}\\) (Lample et al., 2018b). When training, we substituted words in \\(50\\%\\) of the sentences, while the remaining sentences were left unchanged. All other parameters used in the XLM and UNMT-CS methods are identical to those used in our proposed method, as described in our paper."
|
| 2002 |
+
},
|
| 2003 |
+
{
|
| 2004 |
+
"type": "title",
|
| 2005 |
+
"bbox": [
|
| 2006 |
+
0.509,
|
| 2007 |
+
0.209,
|
| 2008 |
+
0.853,
|
| 2009 |
+
0.243
|
| 2010 |
+
],
|
| 2011 |
+
"angle": 0,
|
| 2012 |
+
"content": "B The Implicit Mapping Relationship Between Image Representations"
|
| 2013 |
+
},
|
| 2014 |
+
{
|
| 2015 |
+
"type": "text",
|
| 2016 |
+
"bbox": [
|
| 2017 |
+
0.508,
|
| 2018 |
+
0.251,
|
| 2019 |
+
0.883,
|
| 2020 |
+
0.347
|
| 2021 |
+
],
|
| 2022 |
+
"angle": 0,
|
| 2023 |
+
"content": "In fact, our approach doesn't explicitly provide the model with a mapping relationship. Rather, we introduce the (word-image) pairs relationship into the model, enabling it to extract information from similar images and thus enhancing the mapping relationship between words."
|
| 2024 |
+
},
|
| 2025 |
+
{
|
| 2026 |
+
"type": "text",
|
| 2027 |
+
"bbox": [
|
| 2028 |
+
0.508,
|
| 2029 |
+
0.348,
|
| 2030 |
+
0.885,
|
| 2031 |
+
0.542
|
| 2032 |
+
],
|
| 2033 |
+
"angle": 0,
|
| 2034 |
+
"content": "We are also curious about the impact on results if the implicit mapping relationship between image representations was absent. Therefore, during the second stage of multi30k training, we replace all images from one language with randomly generated representations while keeping the other language's images unchanged. The En→De direction results for the Flickr2016 and Flickr2017 datasets experience a significant decline, decreasing from 40.32/35.20 to 39.17/34.29. This confirms the crucial importance of the mapping relationship between images for our approach."
|
| 2035 |
+
},
|
| 2036 |
+
{
|
| 2037 |
+
"type": "footer",
|
| 2038 |
+
"bbox": [
|
| 2039 |
+
0.532,
|
| 2040 |
+
0.904,
|
| 2041 |
+
0.808,
|
| 2042 |
+
0.919
|
| 2043 |
+
],
|
| 2044 |
+
"angle": 0,
|
| 2045 |
+
"content": "\\(^{8}\\)https://github.com/facebookresearch/MUSE"
|
| 2046 |
+
},
|
| 2047 |
+
{
|
| 2048 |
+
"type": "page_number",
|
| 2049 |
+
"bbox": [
|
| 2050 |
+
0.478,
|
| 2051 |
+
0.928,
|
| 2052 |
+
0.526,
|
| 2053 |
+
0.941
|
| 2054 |
+
],
|
| 2055 |
+
"angle": 0,
|
| 2056 |
+
"content": "12618"
|
| 2057 |
+
}
|
| 2058 |
+
]
|
| 2059 |
+
]
|