Add Batch b86eac8f-e502-4988-8448-2b61c847d979 data
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- .gitattributes +64 -0
- 2023/Robustness of Named-Entity Replacements for In-Context Learning/92b3e48a-ba9b-4031-b53b-6f1de232b262_content_list.json +2098 -0
- 2023/Robustness of Named-Entity Replacements for In-Context Learning/92b3e48a-ba9b-4031-b53b-6f1de232b262_model.json +0 -0
- 2023/Robustness of Named-Entity Replacements for In-Context Learning/92b3e48a-ba9b-4031-b53b-6f1de232b262_origin.pdf +3 -0
- 2023/Robustness of Named-Entity Replacements for In-Context Learning/full.md +362 -0
- 2023/Robustness of Named-Entity Replacements for In-Context Learning/images.zip +3 -0
- 2023/Robustness of Named-Entity Replacements for In-Context Learning/layout.json +0 -0
- 2023/Role of Context in Unsupervised Sentence Representation Learning_ the Case of Dialog Act Modeling/7f70510d-2f4b-4269-8c9d-3b663839a931_content_list.json +1699 -0
- 2023/Role of Context in Unsupervised Sentence Representation Learning_ the Case of Dialog Act Modeling/7f70510d-2f4b-4269-8c9d-3b663839a931_model.json +2198 -0
- 2023/Role of Context in Unsupervised Sentence Representation Learning_ the Case of Dialog Act Modeling/7f70510d-2f4b-4269-8c9d-3b663839a931_origin.pdf +3 -0
- 2023/Role of Context in Unsupervised Sentence Representation Learning_ the Case of Dialog Act Modeling/full.md +295 -0
- 2023/Role of Context in Unsupervised Sentence Representation Learning_ the Case of Dialog Act Modeling/images.zip +3 -0
- 2023/Role of Context in Unsupervised Sentence Representation Learning_ the Case of Dialog Act Modeling/layout.json +0 -0
- 2023/Roles of Scaling and Instruction Tuning in Language Perception_ Model vs. Human Attention/4d81e6a0-662e-4a1d-8420-5bca7d9f2692_content_list.json +2369 -0
- 2023/Roles of Scaling and Instruction Tuning in Language Perception_ Model vs. Human Attention/4d81e6a0-662e-4a1d-8420-5bca7d9f2692_model.json +0 -0
- 2023/Roles of Scaling and Instruction Tuning in Language Perception_ Model vs. Human Attention/4d81e6a0-662e-4a1d-8420-5bca7d9f2692_origin.pdf +3 -0
- 2023/Roles of Scaling and Instruction Tuning in Language Perception_ Model vs. Human Attention/full.md +420 -0
- 2023/Roles of Scaling and Instruction Tuning in Language Perception_ Model vs. Human Attention/images.zip +3 -0
- 2023/Roles of Scaling and Instruction Tuning in Language Perception_ Model vs. Human Attention/layout.json +0 -0
- 2023/Romanization-based Large-scale Adaptation of Multilingual Language Models/1a02cba7-8ebc-4f20-8832-cb43efde101d_content_list.json +1342 -0
- 2023/Romanization-based Large-scale Adaptation of Multilingual Language Models/1a02cba7-8ebc-4f20-8832-cb43efde101d_model.json +1815 -0
- 2023/Romanization-based Large-scale Adaptation of Multilingual Language Models/1a02cba7-8ebc-4f20-8832-cb43efde101d_origin.pdf +3 -0
- 2023/Romanization-based Large-scale Adaptation of Multilingual Language Models/full.md +226 -0
- 2023/Romanization-based Large-scale Adaptation of Multilingual Language Models/images.zip +3 -0
- 2023/Romanization-based Large-scale Adaptation of Multilingual Language Models/layout.json +0 -0
- 2023/SAC3_ Reliable Hallucination Detection in Black-Box Language Models via Semantic-aware Cross-check Consistency/4a5107be-dc68-42ed-bca9-6c454b388710_content_list.json +1942 -0
- 2023/SAC3_ Reliable Hallucination Detection in Black-Box Language Models via Semantic-aware Cross-check Consistency/4a5107be-dc68-42ed-bca9-6c454b388710_model.json +0 -0
- 2023/SAC3_ Reliable Hallucination Detection in Black-Box Language Models via Semantic-aware Cross-check Consistency/4a5107be-dc68-42ed-bca9-6c454b388710_origin.pdf +3 -0
- 2023/SAC3_ Reliable Hallucination Detection in Black-Box Language Models via Semantic-aware Cross-check Consistency/full.md +358 -0
- 2023/SAC3_ Reliable Hallucination Detection in Black-Box Language Models via Semantic-aware Cross-check Consistency/images.zip +3 -0
- 2023/SAC3_ Reliable Hallucination Detection in Black-Box Language Models via Semantic-aware Cross-check Consistency/layout.json +0 -0
- 2023/SDOH-NLI_ a Dataset for Inferring Social Determinants of Health from Clinical Notes/a4f22374-5104-49b6-a9f1-43a434ee9541_content_list.json +1476 -0
- 2023/SDOH-NLI_ a Dataset for Inferring Social Determinants of Health from Clinical Notes/a4f22374-5104-49b6-a9f1-43a434ee9541_model.json +2464 -0
- 2023/SDOH-NLI_ a Dataset for Inferring Social Determinants of Health from Clinical Notes/a4f22374-5104-49b6-a9f1-43a434ee9541_origin.pdf +3 -0
- 2023/SDOH-NLI_ a Dataset for Inferring Social Determinants of Health from Clinical Notes/full.md +294 -0
- 2023/SDOH-NLI_ a Dataset for Inferring Social Determinants of Health from Clinical Notes/images.zip +3 -0
- 2023/SDOH-NLI_ a Dataset for Inferring Social Determinants of Health from Clinical Notes/layout.json +0 -0
- 2023/SELFOOD_ Self-Supervised Out-Of-Distribution Detection via Learning to Rank/f2ac6bc4-d902-4552-a8de-3700ee905922_content_list.json +1761 -0
- 2023/SELFOOD_ Self-Supervised Out-Of-Distribution Detection via Learning to Rank/f2ac6bc4-d902-4552-a8de-3700ee905922_model.json +0 -0
- 2023/SELFOOD_ Self-Supervised Out-Of-Distribution Detection via Learning to Rank/f2ac6bc4-d902-4552-a8de-3700ee905922_origin.pdf +3 -0
- 2023/SELFOOD_ Self-Supervised Out-Of-Distribution Detection via Learning to Rank/full.md +323 -0
- 2023/SELFOOD_ Self-Supervised Out-Of-Distribution Detection via Learning to Rank/images.zip +3 -0
- 2023/SELFOOD_ Self-Supervised Out-Of-Distribution Detection via Learning to Rank/layout.json +0 -0
- 2023/SGP-TOD_ Building Task Bots Effortlessly via Schema-Guided LLM Prompting/586b129b-aeb9-4225-8c30-4a6d80f38793_content_list.json +0 -0
- 2023/SGP-TOD_ Building Task Bots Effortlessly via Schema-Guided LLM Prompting/586b129b-aeb9-4225-8c30-4a6d80f38793_model.json +0 -0
- 2023/SGP-TOD_ Building Task Bots Effortlessly via Schema-Guided LLM Prompting/586b129b-aeb9-4225-8c30-4a6d80f38793_origin.pdf +3 -0
- 2023/SGP-TOD_ Building Task Bots Effortlessly via Schema-Guided LLM Prompting/full.md +644 -0
- 2023/SGP-TOD_ Building Task Bots Effortlessly via Schema-Guided LLM Prompting/images.zip +3 -0
- 2023/SGP-TOD_ Building Task Bots Effortlessly via Schema-Guided LLM Prompting/layout.json +0 -0
- 2023/SHARCS_ Efficient Transformers Through Routing with Dynamic Width Sub-networks/29c91769-471e-4e25-9798-c851bcedbfe6_content_list.json +1830 -0
.gitattributes
CHANGED
|
@@ -6361,3 +6361,67 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 6361 |
2023/RoMQA_[[:space:]]A[[:space:]]Benchmark[[:space:]]for[[:space:]]Robust,[[:space:]]Multi-evidence,[[:space:]]Multi-answer[[:space:]]Question[[:space:]]Answering/196afee1-17ad-4853-89f8-175284b5619b_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6362 |
2023/RobustEmbed_[[:space:]]Robust[[:space:]]Sentence[[:space:]]Embeddings[[:space:]]Using[[:space:]]Self-Supervised[[:space:]]Contrastive[[:space:]]Pre-Training/9ca14927-64ae-4a85-b127-81acac6ddba5_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6363 |
2023/Robustness[[:space:]]Tests[[:space:]]for[[:space:]]Automatic[[:space:]]Machine[[:space:]]Translation[[:space:]]Metrics[[:space:]]with[[:space:]]Adversarial[[:space:]]Attacks/741055da-30ed-408c-92f2-b92276fe890a_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 6361 |
2023/RoMQA_[[:space:]]A[[:space:]]Benchmark[[:space:]]for[[:space:]]Robust,[[:space:]]Multi-evidence,[[:space:]]Multi-answer[[:space:]]Question[[:space:]]Answering/196afee1-17ad-4853-89f8-175284b5619b_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6362 |
2023/RobustEmbed_[[:space:]]Robust[[:space:]]Sentence[[:space:]]Embeddings[[:space:]]Using[[:space:]]Self-Supervised[[:space:]]Contrastive[[:space:]]Pre-Training/9ca14927-64ae-4a85-b127-81acac6ddba5_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6363 |
2023/Robustness[[:space:]]Tests[[:space:]]for[[:space:]]Automatic[[:space:]]Machine[[:space:]]Translation[[:space:]]Metrics[[:space:]]with[[:space:]]Adversarial[[:space:]]Attacks/741055da-30ed-408c-92f2-b92276fe890a_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6364 |
+
2023/Robustness[[:space:]]of[[:space:]]Named-Entity[[:space:]]Replacements[[:space:]]for[[:space:]]In-Context[[:space:]]Learning/92b3e48a-ba9b-4031-b53b-6f1de232b262_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6365 |
+
2023/Role[[:space:]]of[[:space:]]Context[[:space:]]in[[:space:]]Unsupervised[[:space:]]Sentence[[:space:]]Representation[[:space:]]Learning_[[:space:]]the[[:space:]]Case[[:space:]]of[[:space:]]Dialog[[:space:]]Act[[:space:]]Modeling/7f70510d-2f4b-4269-8c9d-3b663839a931_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6366 |
+
2023/Roles[[:space:]]of[[:space:]]Scaling[[:space:]]and[[:space:]]Instruction[[:space:]]Tuning[[:space:]]in[[:space:]]Language[[:space:]]Perception_[[:space:]]Model[[:space:]]vs.[[:space:]]Human[[:space:]]Attention/4d81e6a0-662e-4a1d-8420-5bca7d9f2692_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6367 |
+
2023/Romanization-based[[:space:]]Large-scale[[:space:]]Adaptation[[:space:]]of[[:space:]]Multilingual[[:space:]]Language[[:space:]]Models/1a02cba7-8ebc-4f20-8832-cb43efde101d_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6368 |
+
2023/SAC3_[[:space:]]Reliable[[:space:]]Hallucination[[:space:]]Detection[[:space:]]in[[:space:]]Black-Box[[:space:]]Language[[:space:]]Models[[:space:]]via[[:space:]]Semantic-aware[[:space:]]Cross-check[[:space:]]Consistency/4a5107be-dc68-42ed-bca9-6c454b388710_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6369 |
+
2023/SDOH-NLI_[[:space:]]a[[:space:]]Dataset[[:space:]]for[[:space:]]Inferring[[:space:]]Social[[:space:]]Determinants[[:space:]]of[[:space:]]Health[[:space:]]from[[:space:]]Clinical[[:space:]]Notes/a4f22374-5104-49b6-a9f1-43a434ee9541_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6370 |
+
2023/SELFOOD_[[:space:]]Self-Supervised[[:space:]]Out-Of-Distribution[[:space:]]Detection[[:space:]]via[[:space:]]Learning[[:space:]]to[[:space:]]Rank/f2ac6bc4-d902-4552-a8de-3700ee905922_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6371 |
+
2023/SGP-TOD_[[:space:]]Building[[:space:]]Task[[:space:]]Bots[[:space:]]Effortlessly[[:space:]]via[[:space:]]Schema-Guided[[:space:]]LLM[[:space:]]Prompting/586b129b-aeb9-4225-8c30-4a6d80f38793_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6372 |
+
2023/SHARCS_[[:space:]]Efficient[[:space:]]Transformers[[:space:]]Through[[:space:]]Routing[[:space:]]with[[:space:]]Dynamic[[:space:]]Width[[:space:]]Sub-networks/29c91769-471e-4e25-9798-c851bcedbfe6_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6373 |
+
2023/SIR-ABSC_[[:space:]]Incorporating[[:space:]]Syntax[[:space:]]into[[:space:]]RoBERTa-based[[:space:]]Sentiment[[:space:]]Analysis[[:space:]]Models[[:space:]]with[[:space:]]a[[:space:]]Special[[:space:]]Aggregator[[:space:]]Token/2a704cf1-766c-4f6e-90e0-05c66a3ec5d6_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6374 |
+
2023/SQLPrompt_[[:space:]]In-Context[[:space:]]Text-to-SQL[[:space:]]with[[:space:]]Minimal[[:space:]]Labeled[[:space:]]Data/d03d4059-cd6d-446d-ae0d-8da6124a479a_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6375 |
+
2023/STEER_[[:space:]]Unified[[:space:]]Style[[:space:]]Transfer[[:space:]]with[[:space:]]Expert[[:space:]]Reinforcement/3bbeeef2-3085-4c7b-94de-46f2df9fd813_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6376 |
+
2023/SWEET[[:space:]]-[[:space:]]Weakly[[:space:]]Supervised[[:space:]]Person[[:space:]]Name[[:space:]]Extraction[[:space:]]for[[:space:]]Fighting[[:space:]]Human[[:space:]]Trafficking/51a490a2-5e7e-4b10-904d-5fd5062a1f3a_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6377 |
+
2023/SYMPTOMIFY_[[:space:]]Transforming[[:space:]]Symptom[[:space:]]Annotations[[:space:]]with[[:space:]]Language[[:space:]]Model[[:space:]]Knowledge[[:space:]]Harvesting/34e7002f-74f2-4990-ab6c-c9c196334fbd_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6378 |
+
2023/Salespeople[[:space:]]vs[[:space:]]SalesBot_[[:space:]]Exploring[[:space:]]the[[:space:]]Role[[:space:]]of[[:space:]]Educational[[:space:]]Value[[:space:]]in[[:space:]]Conversational[[:space:]]Recommender[[:space:]]Systems/4d0cb677-47cd-4086-a853-d17aea24efc4_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6379 |
+
2023/Scaling[[:space:]]Law[[:space:]]for[[:space:]]Document[[:space:]]Neural[[:space:]]Machine[[:space:]]Translation/d1d71bc0-53c3-42f5-96a3-b8faa324e888_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6380 |
+
2023/Scaling[[:space:]]Laws[[:space:]]vs[[:space:]]Model[[:space:]]Architectures_[[:space:]]How[[:space:]]does[[:space:]]Inductive[[:space:]]Bias[[:space:]]Influence[[:space:]]Scaling_/21fba291-c310-416b-86a7-b4a40df8a17b_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6381 |
+
2023/Scaling[[:space:]]Vision-Language[[:space:]]Models[[:space:]]with[[:space:]]Sparse[[:space:]]Mixture[[:space:]]of[[:space:]]Experts/477a5679-8917-4064-acb5-fe7ac9e31291_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6382 |
+
2023/Scene[[:space:]]Graph[[:space:]]Enhanced[[:space:]]Pseudo-Labeling[[:space:]]for[[:space:]]Referring[[:space:]]Expression[[:space:]]Comprehension/f59292b1-1736-4310-bbdc-cf9b3092cfb5_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6383 |
+
2023/Schema-adaptable[[:space:]]Knowledge[[:space:]]Graph[[:space:]]Construction/7b905e37-b58b-4bb5-a541-f568a0a5526f_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6384 |
+
2023/Search[[:space:]]Augmented[[:space:]]Instruction[[:space:]]Learning/dbc8d3b6-3908-4a2f-bfbe-5f06e762e736_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6385 |
+
2023/SegAugment_[[:space:]]Maximizing[[:space:]]the[[:space:]]Utility[[:space:]]of[[:space:]]Speech[[:space:]]Translation[[:space:]]Data[[:space:]]with[[:space:]]Segmentation-based[[:space:]]Augmentations/346e3771-765b-48d1-a35a-0db773f44c6a_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6386 |
+
2023/Segmented[[:space:]]Recurrent[[:space:]]Transformer_[[:space:]]An[[:space:]]Efficient[[:space:]]Sequence-to-Sequence[[:space:]]Model/843bad54-cb4c-424a-baeb-0e5a7a070610_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6387 |
+
2023/SelectNoise_[[:space:]]Unsupervised[[:space:]]Noise[[:space:]]Injection[[:space:]]to[[:space:]]Enable[[:space:]]Zero-Shot[[:space:]]Machine[[:space:]]Translation[[:space:]]for[[:space:]]Extremely[[:space:]]Low-resource[[:space:]]Languages/29f3935c-fb5b-4050-a8ad-521bc9fe7631_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6388 |
+
2023/Selecting[[:space:]]Key[[:space:]]Views[[:space:]]for[[:space:]]Zero-Shot[[:space:]]Entity[[:space:]]Linking/06f7bda4-973b-4bc1-aff2-28c32ca54c97_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6389 |
+
2023/Selective[[:space:]]Demonstrations[[:space:]]for[[:space:]]Cross-domain[[:space:]]Text-to-SQL/e2d63869-ca04-4735-be27-319213b7db7c_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6390 |
+
2023/Self-Knowledge[[:space:]]Guided[[:space:]]Retrieval[[:space:]]Augmentation[[:space:]]for[[:space:]]Large[[:space:]]Language[[:space:]]Models/998f7293-c03b-45ed-bf56-cdb482e089ec_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6391 |
+
2023/Self-Polish_[[:space:]]Enhance[[:space:]]Reasoning[[:space:]]in[[:space:]]Large[[:space:]]Language[[:space:]]Models[[:space:]]via[[:space:]]Problem[[:space:]]Refinement/c7f78779-0505-4b54-9d8c-1100f1efcbf4_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6392 |
+
2023/Self-Supervised[[:space:]]Behavior[[:space:]]Cloned[[:space:]]Transformers[[:space:]]are[[:space:]]Path[[:space:]]Crawlers[[:space:]]for[[:space:]]Text[[:space:]]Games/20196f57-25bc-4147-a092-f2da72cb61a9_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6393 |
+
2023/Self-Supervised[[:space:]]Rule[[:space:]]Learning[[:space:]]to[[:space:]]Link[[:space:]]Text[[:space:]]Segments[[:space:]]to[[:space:]]Relational[[:space:]]Elements[[:space:]]of[[:space:]]Structured[[:space:]]Knowledge/414cb7d8-f28a-4147-86db-8782a97e36bd_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6394 |
+
2023/Self-distilled[[:space:]]Transitive[[:space:]]Instance[[:space:]]Weighting[[:space:]]for[[:space:]]Denoised[[:space:]]Distantly[[:space:]]Supervised[[:space:]]Relation[[:space:]]Extraction/d91426af-5287-4140-a5cb-6a259295cf81_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6395 |
+
2023/Self-prompted[[:space:]]Chain-of-Thought[[:space:]]on[[:space:]]Large[[:space:]]Language[[:space:]]Models[[:space:]]for[[:space:]]Open-domain[[:space:]]Multi-hop[[:space:]]Reasoning/a17aeaa2-dcfd-44eb-b9fa-cbe1fbd08f03_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6396 |
+
2023/Self-supervised[[:space:]]Meta-Prompt[[:space:]]Learning[[:space:]]with[[:space:]]Meta-Gradient[[:space:]]Regularization[[:space:]]for[[:space:]]Few-shot[[:space:]]Generalization/cba196e6-3604-4774-8b70-1747605c92a9_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6397 |
+
2023/Self-supervised[[:space:]]Post-processing[[:space:]]Method[[:space:]]to[[:space:]]Enrich[[:space:]]Pretrained[[:space:]]Word[[:space:]]Vectors/8e5cce6f-e78d-452c-85ca-e7d3cbafc61d_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6398 |
+
2023/Semantic[[:space:]]Decomposition[[:space:]]of[[:space:]]Question[[:space:]]and[[:space:]]SQL[[:space:]]for[[:space:]]Text-to-SQL[[:space:]]Parsing/24c1b45e-a8f4-46f9-9983-ebff85cb144b_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6399 |
+
2023/Semantic[[:space:]]Parsing[[:space:]]by[[:space:]]Large[[:space:]]Language[[:space:]]Models[[:space:]]for[[:space:]]Intricate[[:space:]]Updating[[:space:]]Strategies[[:space:]]of[[:space:]]Zero-Shot[[:space:]]Dialogue[[:space:]]State[[:space:]]Tracking/743bb9e3-7bb3-4a87-aacd-21ec129787ba_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6400 |
+
2023/Semantic[[:space:]]Similarity[[:space:]]Covariance[[:space:]]Matrix[[:space:]]Shrinkage/61a0db41-237c-4393-b759-b8a6269d1f6e_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6401 |
+
2023/Semi-Structured[[:space:]]Object[[:space:]]Sequence[[:space:]]Encoders/6e327045-ce68-4822-a6c3-3e26d2925114_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6402 |
+
2023/Sharing,[[:space:]]Teaching[[:space:]]and[[:space:]]Aligning_[[:space:]]Knowledgeable[[:space:]]Transfer[[:space:]]Learning[[:space:]]for[[:space:]]Cross-Lingual[[:space:]]Machine[[:space:]]Reading[[:space:]]Comprehension/94860b0e-b6b8-46ac-9884-3c17f12798f0_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6403 |
+
2023/Show,[[:space:]]Write,[[:space:]]and[[:space:]]Retrieve_[[:space:]]Entity-aware[[:space:]]Article[[:space:]]Generation[[:space:]]and[[:space:]]Retrieval/c2ee6168-3c12-4507-a324-57969290b9e7_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6404 |
+
2023/SiMFy_[[:space:]]A[[:space:]]Simple[[:space:]]Yet[[:space:]]Effective[[:space:]]Approach[[:space:]]for[[:space:]]Temporal[[:space:]]Knowledge[[:space:]]Graph[[:space:]]Reasoning/4cb09716-7156-43ce-8c2e-0b4763cf3744_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6405 |
+
2023/SimCKP_[[:space:]]Simple[[:space:]]Contrastive[[:space:]]Learning[[:space:]]of[[:space:]]Keyphrase[[:space:]]Representations/f5d22dff-d4ee-41ab-8281-25b7ba3cad7b_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6406 |
+
2023/Simple[[:space:]]Hardware-Efficient[[:space:]]PCFGs[[:space:]]with[[:space:]]Independent[[:space:]]Left[[:space:]]and[[:space:]]Right[[:space:]]Productions/06f8a66f-f3b6-444e-bf2e-472e017b8bbd_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6407 |
+
2023/Simpler[[:space:]]neural[[:space:]]networks[[:space:]]prefer[[:space:]]subregular[[:space:]]languages/66af9635-ca8c-4d95-821b-351292c187e4_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6408 |
+
2023/Simultaneous[[:space:]]Machine[[:space:]]Translation[[:space:]]with[[:space:]]Tailored[[:space:]]Reference/71acfca9-9272-4b42-91c8-9299d69b3815_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6409 |
+
2023/Smart[[:space:]]“Chef”_[[:space:]]Verifying[[:space:]]the[[:space:]]Effect[[:space:]]of[[:space:]]Role-based[[:space:]]Paraphrasing[[:space:]]for[[:space:]]Aspect[[:space:]]Term[[:space:]]Extraction/76d67012-9195-430d-8599-8f48f8506969_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6410 |
+
2023/SmartSpanNER_[[:space:]]Making[[:space:]]SpanNER[[:space:]]Robust[[:space:]]in[[:space:]]Low[[:space:]]Resource[[:space:]]Scenarios/b80e326d-e69c-4af3-9d89-4f2b37ce32cf_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6411 |
+
2023/Social[[:space:]]Commonsense-Guided[[:space:]]Search[[:space:]]Query[[:space:]]Generation[[:space:]]for[[:space:]]Open-Domain[[:space:]]Knowledge-Powered[[:space:]]Conversations/73da73d7-0016-4ed0-abaf-c5ed9fda597f_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6412 |
+
2023/Solving[[:space:]]the[[:space:]]Right[[:space:]]Problem[[:space:]]is[[:space:]]Key[[:space:]]for[[:space:]]Translational[[:space:]]NLP_[[:space:]]A[[:space:]]Case[[:space:]]Study[[:space:]]in[[:space:]]UMLS[[:space:]]Vocabulary[[:space:]]Insertion/15d5736c-6b1d-42c8-8d4a-58ba27f2ad52_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6413 |
+
2023/SoulChat_[[:space:]]Improving[[:space:]]LLMs’[[:space:]]Empathy,[[:space:]]Listening,[[:space:]]and[[:space:]]Comfort[[:space:]]Abilities[[:space:]]through[[:space:]]Fine-tuning[[:space:]]with[[:space:]]Multi-turn[[:space:]]Empathy[[:space:]]Conversations/74f3215a-0faa-4c0d-ab2e-a847453e3539_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6414 |
+
2023/Sound[[:space:]]of[[:space:]]Story_[[:space:]]Multi-modal[[:space:]]Storytelling[[:space:]]with[[:space:]]Audio/99521d4b-eefb-4d04-87ae-40101ca7f8f2_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6415 |
+
2023/Sources[[:space:]]of[[:space:]]Hallucination[[:space:]]by[[:space:]]Large[[:space:]]Language[[:space:]]Models[[:space:]]on[[:space:]]Inference[[:space:]]Tasks/cf9798f7-c301-41e3-9b65-cde2050b49d8_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6416 |
+
2023/Sparse[[:space:]]Black-Box[[:space:]]Multimodal[[:space:]]Attack[[:space:]]for[[:space:]]Vision-Language[[:space:]]Adversary[[:space:]]Generation/d54be74f-477a-407c-a5e8-5c4936d96dff_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6417 |
+
2023/Sparse[[:space:]]Frame[[:space:]]Grouping[[:space:]]Network[[:space:]]with[[:space:]]Action[[:space:]]Centered[[:space:]]for[[:space:]]Untrimmed[[:space:]]Video[[:space:]]Paragraph[[:space:]]Captioning/b6e9cd8e-141b-4100-a1f2-76a7ec8ca1a4_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6418 |
+
2023/Speaking[[:space:]]Style[[:space:]]Conversion[[:space:]]in[[:space:]]the[[:space:]]Waveform[[:space:]]Domain[[:space:]]Using[[:space:]]Discrete[[:space:]]Self-Supervised[[:space:]]Units/90c3c132-92bd-4d68-aac0-d2e1088568f8_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6419 |
+
2023/Speculative[[:space:]]Decoding_[[:space:]]Exploiting[[:space:]]Speculative[[:space:]]Execution[[:space:]]for[[:space:]]Accelerating[[:space:]]Seq2seq[[:space:]]Generation/afabe768-91ed-4314-a1b3-7c94661ccb97_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6420 |
+
2023/SpeechGPT_[[:space:]]Empowering[[:space:]]Large[[:space:]]Language[[:space:]]Models[[:space:]]with[[:space:]]Intrinsic[[:space:]]Cross-Modal[[:space:]]Conversational[[:space:]]Abilities/85d328a2-4439-4f42-90fc-54c5bc9b7daf_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6421 |
+
2023/Statistically[[:space:]]Profiling[[:space:]]Biases[[:space:]]in[[:space:]]Natural[[:space:]]Language[[:space:]]Reasoning[[:space:]]Datasets[[:space:]]and[[:space:]]Models/5c107149-777b-43a2-a3a4-33d7d122d935_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6422 |
+
2023/SteerLM_[[:space:]]Attribute[[:space:]]Conditioned[[:space:]]SFT[[:space:]]as[[:space:]]an[[:space:]](User-Steerable)[[:space:]]Alternative[[:space:]]to[[:space:]]RLHF/b74fd9b2-3087-4740-b345-13f453f014de_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6423 |
+
2023/Steering[[:space:]]Large[[:space:]]Language[[:space:]]Models[[:space:]]for[[:space:]]Machine[[:space:]]Translation[[:space:]]with[[:space:]]Finetuning[[:space:]]and[[:space:]]In-Context[[:space:]]Learning/3356a2d7-0dd3-44c6-85e6-7157e3682b8c_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6424 |
+
2023/Strong[[:space:]]and[[:space:]]Efficient[[:space:]]Baselines[[:space:]]for[[:space:]]Open[[:space:]]Domain[[:space:]]Conversational[[:space:]]Question[[:space:]]Answering/e4d4b958-cdad-450e-bcb0-13eba56e0063_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6425 |
+
2023/Structure[[:space:]]and[[:space:]]Label[[:space:]]Constrained[[:space:]]Data[[:space:]]Augmentation[[:space:]]for[[:space:]]Cross-domain[[:space:]]Few-shot[[:space:]]NER/5e408da6-5360-4cd0-8091-cb592e563355_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6426 |
+
2023/Style-Aware[[:space:]]Radiology[[:space:]]Report[[:space:]]Generation[[:space:]]with[[:space:]]RadGraph[[:space:]]and[[:space:]]Few-Shot[[:space:]]Prompting/e948d766-c9e9-46c5-a899-aabf24f48fe1_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6427 |
+
2023/StyleBART_[[:space:]]Decorate[[:space:]]Pretrained[[:space:]]Model[[:space:]]with[[:space:]]Style[[:space:]]Adapters[[:space:]]for[[:space:]]Unsupervised[[:space:]]Stylistic[[:space:]]Headline[[:space:]]Generation/06bfaf10-740c-4fa6-bba5-20457cd25380_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
2023/Robustness of Named-Entity Replacements for In-Context Learning/92b3e48a-ba9b-4031-b53b-6f1de232b262_content_list.json
ADDED
|
@@ -0,0 +1,2098 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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context Learning",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
147,
|
| 8 |
+
79,
|
| 9 |
+
850,
|
| 10 |
+
101
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Saeed Goodarzi† Nikhil Kagita† Dennis Minn† Shufan Wang†",
|
| 17 |
+
"bbox": [
|
| 18 |
+
206,
|
| 19 |
+
105,
|
| 20 |
+
794,
|
| 21 |
+
124
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "Roberto Dessi $^{\\infty, \\pi}$ Shubham Toshniwal $^{\\nabla}$ Adina Williams $^{\\infty}$",
|
| 28 |
+
"bbox": [
|
| 29 |
+
228,
|
| 30 |
+
131,
|
| 31 |
+
766,
|
| 32 |
+
149
|
| 33 |
+
],
|
| 34 |
+
"page_idx": 0
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"type": "text",
|
| 38 |
+
"text": "Jack Lanchantin\\*,Koustuv Sinha\\*,",
|
| 39 |
+
"bbox": [
|
| 40 |
+
321,
|
| 41 |
+
156,
|
| 42 |
+
673,
|
| 43 |
+
174
|
| 44 |
+
],
|
| 45 |
+
"page_idx": 0
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"type": "text",
|
| 49 |
+
"text": "†University of Massachusetts Amherst; †Universitat Pompeu Fabra \n∇NVIDIA; †FAIR, Meta",
|
| 50 |
+
"bbox": [
|
| 51 |
+
228,
|
| 52 |
+
181,
|
| 53 |
+
771,
|
| 54 |
+
215
|
| 55 |
+
],
|
| 56 |
+
"page_idx": 0
|
| 57 |
+
},
|
| 58 |
+
{
|
| 59 |
+
"type": "text",
|
| 60 |
+
"text": "sgoodarzitae@umass.edu, koustuvs@meta.com",
|
| 61 |
+
"bbox": [
|
| 62 |
+
258,
|
| 63 |
+
217,
|
| 64 |
+
742,
|
| 65 |
+
233
|
| 66 |
+
],
|
| 67 |
+
"page_idx": 0
|
| 68 |
+
},
|
| 69 |
+
{
|
| 70 |
+
"type": "text",
|
| 71 |
+
"text": "Abstract",
|
| 72 |
+
"text_level": 1,
|
| 73 |
+
"bbox": [
|
| 74 |
+
260,
|
| 75 |
+
252,
|
| 76 |
+
341,
|
| 77 |
+
267
|
| 78 |
+
],
|
| 79 |
+
"page_idx": 0
|
| 80 |
+
},
|
| 81 |
+
{
|
| 82 |
+
"type": "text",
|
| 83 |
+
"text": "A key feature of modern large language models (LLMs) is their ability to perform in-context learning, a prompting technique where query-answer demonstrations are shown before the final query. This allows for generalization to novel distributions at inference time where the LLM can learn new rules without parameter updates. However, the choice of demonstrations and their relationship to a particular query can have a profound impact on model accuracy, raising concerns about the true in-context generalization capabilities (Zhao et al., 2021). In this work, we explore the robustness of the in-context learning paradigm by focusing on entities. In particular, we seek to understand the robustness of LLM in-context learning with respect to named entity replacements. We discover a significant variance in downstream performance based on the choice of the named entities, across three popular reasoning tasks and two popular LLMs. Specifically, model accuracy on the test sets can fluctuate between -2.7 to +8.0 points depending on the choice of named entity replacements. Our analysis exposes the sensitivity of LLM in-context learning with respect to named entities, and offers a simple recipe to improve test performance by hyper-parameter tuning the named entities for a given dataset. Code and datasets for reproducing the results are publicly available. $^{1}$",
|
| 84 |
+
"bbox": [
|
| 85 |
+
141,
|
| 86 |
+
280,
|
| 87 |
+
460,
|
| 88 |
+
708
|
| 89 |
+
],
|
| 90 |
+
"page_idx": 0
|
| 91 |
+
},
|
| 92 |
+
{
|
| 93 |
+
"type": "text",
|
| 94 |
+
"text": "1 Introduction",
|
| 95 |
+
"text_level": 1,
|
| 96 |
+
"bbox": [
|
| 97 |
+
114,
|
| 98 |
+
732,
|
| 99 |
+
258,
|
| 100 |
+
747
|
| 101 |
+
],
|
| 102 |
+
"page_idx": 0
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"type": "text",
|
| 106 |
+
"text": "Modern large language models (LLMs) routinely demonstrate in-context learning, where the model can solve a wide range of tasks from a few demonstration examples (or exemplars) (Brown et al., 2020). In-context learning, or few-shot prompting, is a powerful learning paradigm as it allows for fast adaptation to new tasks without the need to train",
|
| 107 |
+
"bbox": [
|
| 108 |
+
112,
|
| 109 |
+
758,
|
| 110 |
+
489,
|
| 111 |
+
870
|
| 112 |
+
],
|
| 113 |
+
"page_idx": 0
|
| 114 |
+
},
|
| 115 |
+
{
|
| 116 |
+
"type": "text",
|
| 117 |
+
"text": "https://github.com/DennisMinn/ entities-in-context",
|
| 118 |
+
"bbox": [
|
| 119 |
+
112,
|
| 120 |
+
879,
|
| 121 |
+
416,
|
| 122 |
+
904
|
| 123 |
+
],
|
| 124 |
+
"page_idx": 0
|
| 125 |
+
},
|
| 126 |
+
{
|
| 127 |
+
"type": "text",
|
| 128 |
+
"text": "*Equal Leadership.",
|
| 129 |
+
"bbox": [
|
| 130 |
+
136,
|
| 131 |
+
904,
|
| 132 |
+
255,
|
| 133 |
+
917
|
| 134 |
+
],
|
| 135 |
+
"page_idx": 0
|
| 136 |
+
},
|
| 137 |
+
{
|
| 138 |
+
"type": "text",
|
| 139 |
+
"text": "Original Demonstration",
|
| 140 |
+
"text_level": 1,
|
| 141 |
+
"bbox": [
|
| 142 |
+
638,
|
| 143 |
+
254,
|
| 144 |
+
747,
|
| 145 |
+
263
|
| 146 |
+
],
|
| 147 |
+
"page_idx": 0
|
| 148 |
+
},
|
| 149 |
+
{
|
| 150 |
+
"type": "text",
|
| 151 |
+
"text": "[...] context: Jason had 20 lollipops. He gave Denny some lollipops. Now Jason has 12 lollipops.",
|
| 152 |
+
"bbox": [
|
| 153 |
+
519,
|
| 154 |
+
263,
|
| 155 |
+
855,
|
| 156 |
+
288
|
| 157 |
+
],
|
| 158 |
+
"page_idx": 0
|
| 159 |
+
},
|
| 160 |
+
{
|
| 161 |
+
"type": "text",
|
| 162 |
+
"text": "question: How many lollipops did Jason give to Denny? \nanswer: Jason started with 20 lollipops. Then he had 12 after giving some to Denny. So he gave Denny 20 - 12 = 8.",
|
| 163 |
+
"bbox": [
|
| 164 |
+
519,
|
| 165 |
+
288,
|
| 166 |
+
873,
|
| 167 |
+
315
|
| 168 |
+
],
|
| 169 |
+
"page_idx": 0
|
| 170 |
+
},
|
| 171 |
+
{
|
| 172 |
+
"type": "text",
|
| 173 |
+
"text": "[...] context: A bakery produces 60 loaves of bread each day. Two-thirds of the loaves are sold in the morning and half of what is left is sold equally in the afternoon and evening. question: How many loaves of bread are sold in the afternoon? answer: $60 \\times 2 / 3 = 40$ loaves of bread are sold in the morning. $60 - 40 = 20$ loaves of bread are left. $20 \\times 2 = 40$ loaves of bread are sold in the afternoon. ###",
|
| 174 |
+
"bbox": [
|
| 175 |
+
519,
|
| 176 |
+
316,
|
| 177 |
+
868,
|
| 178 |
+
363
|
| 179 |
+
],
|
| 180 |
+
"page_idx": 0
|
| 181 |
+
},
|
| 182 |
+
{
|
| 183 |
+
"type": "text",
|
| 184 |
+
"text": "Named Entity Replaced Demonstration",
|
| 185 |
+
"text_level": 1,
|
| 186 |
+
"bbox": [
|
| 187 |
+
606,
|
| 188 |
+
373,
|
| 189 |
+
781,
|
| 190 |
+
382
|
| 191 |
+
],
|
| 192 |
+
"page_idx": 0
|
| 193 |
+
},
|
| 194 |
+
{
|
| 195 |
+
"type": "text",
|
| 196 |
+
"text": "[...] context: Douglas had 20 lollipops. He gave Denny some lollipops. Now Douglas has 12 lollipops.",
|
| 197 |
+
"bbox": [
|
| 198 |
+
519,
|
| 199 |
+
382,
|
| 200 |
+
873,
|
| 201 |
+
407
|
| 202 |
+
],
|
| 203 |
+
"page_idx": 0
|
| 204 |
+
},
|
| 205 |
+
{
|
| 206 |
+
"type": "text",
|
| 207 |
+
"text": "question: How many lollipops did Douglas give to Denny? \nanswer: Douglas started with 20 lollipops. Then he had 12 after giving some to Denny. \nSo he gave Denny 20 - 12 = 8.",
|
| 208 |
+
"bbox": [
|
| 209 |
+
519,
|
| 210 |
+
407,
|
| 211 |
+
868,
|
| 212 |
+
434
|
| 213 |
+
],
|
| 214 |
+
"page_idx": 0
|
| 215 |
+
},
|
| 216 |
+
{
|
| 217 |
+
"type": "text",
|
| 218 |
+
"text": "[...] context: A bakery produces 60 loaves of bread each day. Two-thirds of the loaves are sold in the morning and half of what is left is sold equally in the afternoon and evening. question: How many loaves of bread are sold in the afternoon? answer: $60 \\times 2 / 3 = 40$ loaves of bread are sold in the morning. $60 - 40 = 20$ loaves of bread are left. $20 \\times 1 / 2 = 10$ loaves of bread are sold in the afternoon. ### 10",
|
| 219 |
+
"bbox": [
|
| 220 |
+
519,
|
| 221 |
+
434,
|
| 222 |
+
868,
|
| 223 |
+
483
|
| 224 |
+
],
|
| 225 |
+
"page_idx": 0
|
| 226 |
+
},
|
| 227 |
+
{
|
| 228 |
+
"type": "text",
|
| 229 |
+
"text": "Figure 1: Named entity replacements for In-Context Learning. Example from FLAN-T5 on GSM8k (Cobbe et al., 2021). Here we replace all male entities $(e^{o})$ in demonstrations with Douglas, and observe a change in the query answer prediction (from the incorrect answer 40 to the correct answer 10). Only 1 out of $k = 5$ demonstrations $(D)$ is depicted to conserve space, with the remaining demonstrations denoted by “[...]”.",
|
| 230 |
+
"bbox": [
|
| 231 |
+
507,
|
| 232 |
+
497,
|
| 233 |
+
882,
|
| 234 |
+
613
|
| 235 |
+
],
|
| 236 |
+
"page_idx": 0
|
| 237 |
+
},
|
| 238 |
+
{
|
| 239 |
+
"type": "text",
|
| 240 |
+
"text": "model parameters. However, model performance in the in-context setting can vary significantly with the choice of demonstrations. Previous work has uncovered performance instability when altering the demonstrations, particularly when the demonstrations change semantically (Schick and Schütze, 2020; Zhao et al., 2021; Perez et al., 2021; Gonen et al., 2022a). Naturally, a question arises whether LLMs are robust to semantically preserving, minimal alterations to the demonstrations.",
|
| 241 |
+
"bbox": [
|
| 242 |
+
507,
|
| 243 |
+
640,
|
| 244 |
+
884,
|
| 245 |
+
800
|
| 246 |
+
],
|
| 247 |
+
"page_idx": 0
|
| 248 |
+
},
|
| 249 |
+
{
|
| 250 |
+
"type": "text",
|
| 251 |
+
"text": "In this paper, we seek to address this question using simple, semantically preserving alterations: named entity replacements. Because changing named entities should not, in principle, change the correct response to the query, the model is expected to remain invariant to such modifications. For example, given the demonstration \"Alice has",
|
| 252 |
+
"bbox": [
|
| 253 |
+
507,
|
| 254 |
+
806,
|
| 255 |
+
884,
|
| 256 |
+
917
|
| 257 |
+
],
|
| 258 |
+
"page_idx": 0
|
| 259 |
+
},
|
| 260 |
+
{
|
| 261 |
+
"type": "page_number",
|
| 262 |
+
"text": "10914",
|
| 263 |
+
"bbox": [
|
| 264 |
+
475,
|
| 265 |
+
927,
|
| 266 |
+
524,
|
| 267 |
+
940
|
| 268 |
+
],
|
| 269 |
+
"page_idx": 0
|
| 270 |
+
},
|
| 271 |
+
{
|
| 272 |
+
"type": "footer",
|
| 273 |
+
"text": "Findings of the Association for Computational Linguistics: EMNLP 2023, pages 10914-10931",
|
| 274 |
+
"bbox": [
|
| 275 |
+
208,
|
| 276 |
+
945,
|
| 277 |
+
786,
|
| 278 |
+
958
|
| 279 |
+
],
|
| 280 |
+
"page_idx": 0
|
| 281 |
+
},
|
| 282 |
+
{
|
| 283 |
+
"type": "footer",
|
| 284 |
+
"text": "December 6-10, 2023 ©2023 Association for Computational Linguistics",
|
| 285 |
+
"bbox": [
|
| 286 |
+
277,
|
| 287 |
+
959,
|
| 288 |
+
719,
|
| 289 |
+
972
|
| 290 |
+
],
|
| 291 |
+
"page_idx": 0
|
| 292 |
+
},
|
| 293 |
+
{
|
| 294 |
+
"type": "text",
|
| 295 |
+
"text": "the ball. Alice went to the kitchen. Where is the ball? kitchen.\", the model should be invariant to the choice of the named entity \"Alice\"-i.e., a model should behave the same if we swap all instances of \"Alice\" with another named entity, e.g. \"Eve\". However, we observe that the model behavior is not always robust to such alterations (Figure 1)—prompting us to critically evaluate named entity invariance within in-context learning.",
|
| 296 |
+
"bbox": [
|
| 297 |
+
112,
|
| 298 |
+
84,
|
| 299 |
+
489,
|
| 300 |
+
228
|
| 301 |
+
],
|
| 302 |
+
"page_idx": 1
|
| 303 |
+
},
|
| 304 |
+
{
|
| 305 |
+
"type": "text",
|
| 306 |
+
"text": "We conduct experiments to investigate the robustness of LLM in-context learning with respect to named entity replacements in three popular named entity heavy reasoning tasks, namely, bAbI, Weston et al. 2015; CLUTRR, Sinha et al. 2019; GSM8k, Cobbe et al. 2021, and two popular models, Flant5-XL (Chung et al., 2022a) and GPT-J (Wang and Komatsuzaki, 2021). Our key findings are:",
|
| 307 |
+
"bbox": [
|
| 308 |
+
112,
|
| 309 |
+
230,
|
| 310 |
+
489,
|
| 311 |
+
357
|
| 312 |
+
],
|
| 313 |
+
"page_idx": 1
|
| 314 |
+
},
|
| 315 |
+
{
|
| 316 |
+
"type": "list",
|
| 317 |
+
"sub_type": "text",
|
| 318 |
+
"list_items": [
|
| 319 |
+
"- Neither Flan-T5-XL nor GPT-J are robust to entity replacements for in-context learning. On bAbI tasks, the best replacement entity yields a +8.0 point performance increase (for Task 16), and the worst replacement entity yields a -2.7 point performance drop (Task 12). Similarly, for CLUTRR, we observe a 1.6 point improvement. For GSM8k, we only find <1 point increase/decrease with entity replacements.",
|
| 320 |
+
"- Performance gains from best performing entities are not random. To verify, we ran a bootstrap analysis and observe consistent gains with low variance.",
|
| 321 |
+
"- Best/worst performing entities are task-specific.",
|
| 322 |
+
"- We also analyze frequency, token length and perplexity of replaced entities, and find none of these alone explain our results, introducing an open problem for future research."
|
| 323 |
+
],
|
| 324 |
+
"bbox": [
|
| 325 |
+
122,
|
| 326 |
+
362,
|
| 327 |
+
489,
|
| 328 |
+
668
|
| 329 |
+
],
|
| 330 |
+
"page_idx": 1
|
| 331 |
+
},
|
| 332 |
+
{
|
| 333 |
+
"type": "text",
|
| 334 |
+
"text": "2 Experimental Setup",
|
| 335 |
+
"text_level": 1,
|
| 336 |
+
"bbox": [
|
| 337 |
+
112,
|
| 338 |
+
682,
|
| 339 |
+
321,
|
| 340 |
+
700
|
| 341 |
+
],
|
| 342 |
+
"page_idx": 1
|
| 343 |
+
},
|
| 344 |
+
{
|
| 345 |
+
"type": "text",
|
| 346 |
+
"text": "The goal of this study is to investigate the robustness of LLMs' in-context learning performance by changing entities in the demonstrations and queries. We consider a fixed set of prompt demonstrations aside from the named entities. By replacing the named entities and observing any accuracy changes, we can better understand the effect of certain entities on a model's accuracy. While many prior works have studied the robustness of LLMs with respect to perturbations (Ribeiro et al., 2020; Jin et al., 2020; Balasubramanian et al., 2020), we focus our analysis on in-context learning. A more in-depth analysis of related work is provided in",
|
| 347 |
+
"bbox": [
|
| 348 |
+
112,
|
| 349 |
+
709,
|
| 350 |
+
489,
|
| 351 |
+
917
|
| 352 |
+
],
|
| 353 |
+
"page_idx": 1
|
| 354 |
+
},
|
| 355 |
+
{
|
| 356 |
+
"type": "text",
|
| 357 |
+
"text": "Appendix subsection A.1.",
|
| 358 |
+
"bbox": [
|
| 359 |
+
509,
|
| 360 |
+
84,
|
| 361 |
+
705,
|
| 362 |
+
99
|
| 363 |
+
],
|
| 364 |
+
"page_idx": 1
|
| 365 |
+
},
|
| 366 |
+
{
|
| 367 |
+
"type": "text",
|
| 368 |
+
"text": "2.1 In-Context Learning",
|
| 369 |
+
"text_level": 1,
|
| 370 |
+
"bbox": [
|
| 371 |
+
507,
|
| 372 |
+
112,
|
| 373 |
+
719,
|
| 374 |
+
128
|
| 375 |
+
],
|
| 376 |
+
"page_idx": 1
|
| 377 |
+
},
|
| 378 |
+
{
|
| 379 |
+
"type": "text",
|
| 380 |
+
"text": "With in-context learning, a test sample is comprised of a sequence of $k$ demonstrations $D = d_{1},d_{2},\\ldots ,d_{k}$ . Each $d_{i}$ consists of a context, question and answer string. The final query $q$ , consisting only of a context and question string, follows $D$ . The goal of in-context learning is to predict the answer to $q$ given a small set of demonstrations at inference time. In other words, learning is done by eliciting activations and not changing model parameters.",
|
| 381 |
+
"bbox": [
|
| 382 |
+
507,
|
| 383 |
+
133,
|
| 384 |
+
884,
|
| 385 |
+
294
|
| 386 |
+
],
|
| 387 |
+
"page_idx": 1
|
| 388 |
+
},
|
| 389 |
+
{
|
| 390 |
+
"type": "text",
|
| 391 |
+
"text": "2.2 Modifying In-Context Learning with Named Entity Replacement",
|
| 392 |
+
"text_level": 1,
|
| 393 |
+
"bbox": [
|
| 394 |
+
507,
|
| 395 |
+
306,
|
| 396 |
+
843,
|
| 397 |
+
337
|
| 398 |
+
],
|
| 399 |
+
"page_idx": 1
|
| 400 |
+
},
|
| 401 |
+
{
|
| 402 |
+
"type": "text",
|
| 403 |
+
"text": "We seek to measure the change in accuracy when we replace named entities in the demonstrations $(D)$ and/or query $(q)$ . We perform entity replacement in the following way.",
|
| 404 |
+
"bbox": [
|
| 405 |
+
507,
|
| 406 |
+
343,
|
| 407 |
+
882,
|
| 408 |
+
406
|
| 409 |
+
],
|
| 410 |
+
"page_idx": 1
|
| 411 |
+
},
|
| 412 |
+
{
|
| 413 |
+
"type": "text",
|
| 414 |
+
"text": "We first extract the named entities from each demonstration and query using an off-the-shelf NER model, and flag the subject entity, $e^o$ , for replacement. We then select a replacement entity $e^r$ from a large set of entities from Tzioumis (2018), which is composed of 4,250 unique first names. Finally, we perform named entity replacement in one of the following three settings: $(D)$ replace all $e^o$ entities in the demonstrations, $e_{d_1}^o, e_{d_2}^o, \\dots, e_{d_k}^o$ , $(q)$ replace all $e^o$ entities in the query, $e_q^o$ , or $(D$ and $q)$ replace all $e^o$ entities in both the query and demonstrations, $e_{d_1}^o, e_{d_2}^o, \\dots, e_{d_k}^o, e_q^o$ . Note that each demonstration $d_i$ can contain multiple instances of the entity $e^o$ . These settings allow us to isolate and evaluate the effect of named entities in different parts of an in-context learning sample on accuracy.",
|
| 415 |
+
"bbox": [
|
| 416 |
+
507,
|
| 417 |
+
407,
|
| 418 |
+
884,
|
| 419 |
+
665
|
| 420 |
+
],
|
| 421 |
+
"page_idx": 1
|
| 422 |
+
},
|
| 423 |
+
{
|
| 424 |
+
"type": "text",
|
| 425 |
+
"text": "We run multiple experiments using bootstrap sampling (with replacement) on three sets of names, half labeled as 'male' and half as 'female'. For each name $e^r$ in a particular bootstrap set, we replace the original entities $e^o$ with $e^r$ in the test samples according to one of the three previously mentioned settings. We then evaluate the performance on the entity-replaced dataset. This procedure is repeated for each bootstrap set.",
|
| 426 |
+
"bbox": [
|
| 427 |
+
507,
|
| 428 |
+
665,
|
| 429 |
+
882,
|
| 430 |
+
810
|
| 431 |
+
],
|
| 432 |
+
"page_idx": 1
|
| 433 |
+
},
|
| 434 |
+
{
|
| 435 |
+
"type": "page_footnote",
|
| 436 |
+
"text": "$^{2}$ https://huggingface.co/dslim/bert-base-NER, see Appendix Section A.3 for details on the selection of $e^{o}$ .",
|
| 437 |
+
"bbox": [
|
| 438 |
+
507,
|
| 439 |
+
819,
|
| 440 |
+
882,
|
| 441 |
+
854
|
| 442 |
+
],
|
| 443 |
+
"page_idx": 1
|
| 444 |
+
},
|
| 445 |
+
{
|
| 446 |
+
"type": "page_footnote",
|
| 447 |
+
"text": "3 Appendix Section A.4 describes each setting in detail.",
|
| 448 |
+
"bbox": [
|
| 449 |
+
532,
|
| 450 |
+
856,
|
| 451 |
+
867,
|
| 452 |
+
869
|
| 453 |
+
],
|
| 454 |
+
"page_idx": 1
|
| 455 |
+
},
|
| 456 |
+
{
|
| 457 |
+
"type": "page_footnote",
|
| 458 |
+
"text": "4While our data source provided a binary gender annotation on names based on self-report, we note that this is a proxy and moreover, that using names as a proxy for gender is indicative but can be noisy.",
|
| 459 |
+
"bbox": [
|
| 460 |
+
507,
|
| 461 |
+
869,
|
| 462 |
+
884,
|
| 463 |
+
917
|
| 464 |
+
],
|
| 465 |
+
"page_idx": 1
|
| 466 |
+
},
|
| 467 |
+
{
|
| 468 |
+
"type": "page_number",
|
| 469 |
+
"text": "10915",
|
| 470 |
+
"bbox": [
|
| 471 |
+
477,
|
| 472 |
+
927,
|
| 473 |
+
524,
|
| 474 |
+
940
|
| 475 |
+
],
|
| 476 |
+
"page_idx": 1
|
| 477 |
+
},
|
| 478 |
+
{
|
| 479 |
+
"type": "image",
|
| 480 |
+
"img_path": "images/17fab8028c5b111fa1080156a13637f492bdd2e2c8845e213fbafebb9fc96144.jpg",
|
| 481 |
+
"image_caption": [
|
| 482 |
+
"Figure 2: Bootstrap results of Flan-T5-XL on validation sets for 3 distinct sets of 200 names. Error bars represent the variation across bootstrap sets of names."
|
| 483 |
+
],
|
| 484 |
+
"image_footnote": [],
|
| 485 |
+
"bbox": [
|
| 486 |
+
112,
|
| 487 |
+
87,
|
| 488 |
+
480,
|
| 489 |
+
422
|
| 490 |
+
],
|
| 491 |
+
"page_idx": 2
|
| 492 |
+
},
|
| 493 |
+
{
|
| 494 |
+
"type": "text",
|
| 495 |
+
"text": "Baseline results are reported using the original prompt demonstrations and query. However, our replacement strategy introduces a frequency bias, as $e^r$ is used to replace multiple demonstrations in a given input, resulting in artificially increasing the usage of a given entity in an input. Thus, we also report the median accuracy of replacement, which serves as a proxy baseline for replacing all demonstrations and/or query with a random entity.",
|
| 496 |
+
"bbox": [
|
| 497 |
+
112,
|
| 498 |
+
508,
|
| 499 |
+
489,
|
| 500 |
+
653
|
| 501 |
+
],
|
| 502 |
+
"page_idx": 2
|
| 503 |
+
},
|
| 504 |
+
{
|
| 505 |
+
"type": "text",
|
| 506 |
+
"text": "2.3 Models and Datasets",
|
| 507 |
+
"text_level": 1,
|
| 508 |
+
"bbox": [
|
| 509 |
+
112,
|
| 510 |
+
665,
|
| 511 |
+
324,
|
| 512 |
+
682
|
| 513 |
+
],
|
| 514 |
+
"page_idx": 2
|
| 515 |
+
},
|
| 516 |
+
{
|
| 517 |
+
"type": "text",
|
| 518 |
+
"text": "We evaluate our entity replacement strategy on both an encoder-decoder LLM (Flan-T5-XL, 3B; Chung et al. 2022b) as well as a decoder-only LLM (GPT-J, 6B; Wang and Komatsuzaki 2021). We test these models across the following datasets: bAbI (Tasks 1, 12, 14, 16; Weston et al. 2015), CLUTRR (Sinha et al., 2019), GSM8k (Cobbe et al., 2021). We chose these datasets primarily because they include a significant presence of named entities.",
|
| 519 |
+
"bbox": [
|
| 520 |
+
112,
|
| 521 |
+
688,
|
| 522 |
+
487,
|
| 523 |
+
832
|
| 524 |
+
],
|
| 525 |
+
"page_idx": 2
|
| 526 |
+
},
|
| 527 |
+
{
|
| 528 |
+
"type": "text",
|
| 529 |
+
"text": "For each dataset, we select five samples from the training set to serve as demonstrations. To maintain grammatical correctness and clarity, we",
|
| 530 |
+
"bbox": [
|
| 531 |
+
112,
|
| 532 |
+
833,
|
| 533 |
+
487,
|
| 534 |
+
882
|
| 535 |
+
],
|
| 536 |
+
"page_idx": 2
|
| 537 |
+
},
|
| 538 |
+
{
|
| 539 |
+
"type": "text",
|
| 540 |
+
"text": "only do replacements that preserve gender when a pronoun is contained in the sentence (see Appendix A.5). This step specifically addresses any potential uncontrolled effects on the performance from entity replacement, such as perplexity spikes that may results from swaps where the genders of $e^{o}$ and $e^{r}$ differ, and the model is expected to accommodate unexpected pronominal coreference with $e^{r}$ .",
|
| 541 |
+
"bbox": [
|
| 542 |
+
507,
|
| 543 |
+
84,
|
| 544 |
+
882,
|
| 545 |
+
212
|
| 546 |
+
],
|
| 547 |
+
"page_idx": 2
|
| 548 |
+
},
|
| 549 |
+
{
|
| 550 |
+
"type": "text",
|
| 551 |
+
"text": "3 Results",
|
| 552 |
+
"text_level": 1,
|
| 553 |
+
"bbox": [
|
| 554 |
+
507,
|
| 555 |
+
230,
|
| 556 |
+
608,
|
| 557 |
+
244
|
| 558 |
+
],
|
| 559 |
+
"page_idx": 2
|
| 560 |
+
},
|
| 561 |
+
{
|
| 562 |
+
"type": "text",
|
| 563 |
+
"text": "Performance Across Bootstrap Sets. We find a noticeable change in accuracy with the best and worst performing entity compared to the baseline or median performing entity. Figure 2 shows Flant5-XL results on all validation datasets (analogous GPT-J results are in Figure 5 in the Appendix, and follow a similar pattern). This indicates that specific entities can noticeably alter in-context learning performance. Furthermore, the standard deviations for the median and best performing entity across bootstraps are low, suggesting that the selection of different name sets will likely yield similar median and best performance. However, the variation in the worst performing entities is large.",
|
| 564 |
+
"bbox": [
|
| 565 |
+
507,
|
| 566 |
+
260,
|
| 567 |
+
884,
|
| 568 |
+
485
|
| 569 |
+
],
|
| 570 |
+
"page_idx": 2
|
| 571 |
+
},
|
| 572 |
+
{
|
| 573 |
+
"type": "text",
|
| 574 |
+
"text": "Performance Within a Single Bootstrap Set. To analyze the results in more detail, we measure the performance for Flan-T5-XL and GPT-J on a single bootstrap set of 200 examples. We show the results for bAbI task 14 in Figure 3. When we replace names only in the demonstrations $(D)$ , the variance in model performance is lower compared to both when we replace names only in the query $(q)$ and in both query and demonstration $(D$ and $q)$ . The $(D$ and $q)$ setup exhibits the highest variance, as this scenario involves the maximum change in the tokens of the original prompt. Nevertheless, we see a consistent variance from the baseline by simply replacing named entities in any of the three replacement settings. Other datasets exhibit a similar behavior; see Appendix Figures 6 and 7.",
|
| 575 |
+
"bbox": [
|
| 576 |
+
507,
|
| 577 |
+
492,
|
| 578 |
+
882,
|
| 579 |
+
750
|
| 580 |
+
],
|
| 581 |
+
"page_idx": 2
|
| 582 |
+
},
|
| 583 |
+
{
|
| 584 |
+
"type": "text",
|
| 585 |
+
"text": "Best and Worst Entity Generalization. Thus far, we've used the valid set to demonstrate accuracy variation. To evaluate the best performing entities on the test set, we implement a majority voting method as follows. We first find the 10 best performing entities on the valid set. For each sample in the test set, we take the majority answer prediction from the 10 different best names, denoted \"Maj@10\". Table 1 shows results of entity replacements across the validation and test sets by replac",
|
| 586 |
+
"bbox": [
|
| 587 |
+
507,
|
| 588 |
+
758,
|
| 589 |
+
884,
|
| 590 |
+
917
|
| 591 |
+
],
|
| 592 |
+
"page_idx": 2
|
| 593 |
+
},
|
| 594 |
+
{
|
| 595 |
+
"type": "page_footnote",
|
| 596 |
+
"text": "<sup>5</sup>Except GSM8k, where we select 5 of the 8 prompts from Wei et al. (2022).",
|
| 597 |
+
"bbox": [
|
| 598 |
+
112,
|
| 599 |
+
891,
|
| 600 |
+
487,
|
| 601 |
+
917
|
| 602 |
+
],
|
| 603 |
+
"page_idx": 2
|
| 604 |
+
},
|
| 605 |
+
{
|
| 606 |
+
"type": "page_number",
|
| 607 |
+
"text": "10916",
|
| 608 |
+
"bbox": [
|
| 609 |
+
477,
|
| 610 |
+
927,
|
| 611 |
+
524,
|
| 612 |
+
940
|
| 613 |
+
],
|
| 614 |
+
"page_idx": 2
|
| 615 |
+
},
|
| 616 |
+
{
|
| 617 |
+
"type": "text",
|
| 618 |
+
"text": "ing entities in the demonstration and query (both $D$ and $q$ ). We observe a maximum 8.0 point accuracy increase, seen on bAbI task 16. $^{6}$ The best and worst performing entities vary by dataset, but overall entities generalize across the validation and test sets, with a uniform increase in accuracy from the best entity. A list of these entities for each dataset and further evaluations are in Appendix Table 2.",
|
| 619 |
+
"bbox": [
|
| 620 |
+
112,
|
| 621 |
+
84,
|
| 622 |
+
487,
|
| 623 |
+
212
|
| 624 |
+
],
|
| 625 |
+
"page_idx": 3
|
| 626 |
+
},
|
| 627 |
+
{
|
| 628 |
+
"type": "text",
|
| 629 |
+
"text": "For all datasets, there are entities with appreciable deviations from the baseline, and these entities generalize across the validation and test splits. This finding indicates that the observed accuracy shifts are not coincidental and highlights the influence of entity swaps, including those that preserve overall example semantics, such as for names, on model performance.",
|
| 630 |
+
"bbox": [
|
| 631 |
+
112,
|
| 632 |
+
212,
|
| 633 |
+
487,
|
| 634 |
+
342
|
| 635 |
+
],
|
| 636 |
+
"page_idx": 3
|
| 637 |
+
},
|
| 638 |
+
{
|
| 639 |
+
"type": "text",
|
| 640 |
+
"text": "4 Analysis",
|
| 641 |
+
"text_level": 1,
|
| 642 |
+
"bbox": [
|
| 643 |
+
112,
|
| 644 |
+
355,
|
| 645 |
+
221,
|
| 646 |
+
370
|
| 647 |
+
],
|
| 648 |
+
"page_idx": 3
|
| 649 |
+
},
|
| 650 |
+
{
|
| 651 |
+
"type": "text",
|
| 652 |
+
"text": "Why are the models not invariant to entity replacements? We conducted several analyses in attempts to find the root cause of this result, but they were largely inconclusive.",
|
| 653 |
+
"bbox": [
|
| 654 |
+
112,
|
| 655 |
+
381,
|
| 656 |
+
487,
|
| 657 |
+
445
|
| 658 |
+
],
|
| 659 |
+
"page_idx": 3
|
| 660 |
+
},
|
| 661 |
+
{
|
| 662 |
+
"type": "text",
|
| 663 |
+
"text": "Does the frequency of names affect how much they shift model performance? The lack of robustness could well be explained by the frequency effects of named entities in the training corpus of the pre-trained model (Wei et al., 2021). We use the entity frequency data provided by Tzioumis (2018), and assessed performance changes across names with varying frequencies. We do not find any correlation between name frequency and the model performance post entity replacement (see Appendix Section B.3).",
|
| 664 |
+
"bbox": [
|
| 665 |
+
112,
|
| 666 |
+
451,
|
| 667 |
+
487,
|
| 668 |
+
629
|
| 669 |
+
],
|
| 670 |
+
"page_idx": 3
|
| 671 |
+
},
|
| 672 |
+
{
|
| 673 |
+
"type": "text",
|
| 674 |
+
"text": "Does the token length of names affect performance? Another hypothesis of the invariance could be due to the inconsistent tokenization of named entities. Rare names can be tokenized into longer tokens based on the learned subwords of the model. We analyzed token length post tokenization and compared it with model performance, but we are unable to find any meaningful relationship between the two (see Appendix Section B.4).",
|
| 675 |
+
"bbox": [
|
| 676 |
+
112,
|
| 677 |
+
634,
|
| 678 |
+
487,
|
| 679 |
+
778
|
| 680 |
+
],
|
| 681 |
+
"page_idx": 3
|
| 682 |
+
},
|
| 683 |
+
{
|
| 684 |
+
"type": "text",
|
| 685 |
+
"text": "Does improved performance result from a decrease in prompt perplexity due to entity replacement? Finally, the surprisal of the LLM to certain entities could be a promising hypothesis to explain the change in model performance (Gonen et al., 2022b). We compare prompt perplexity af",
|
| 686 |
+
"bbox": [
|
| 687 |
+
112,
|
| 688 |
+
785,
|
| 689 |
+
487,
|
| 690 |
+
883
|
| 691 |
+
],
|
| 692 |
+
"page_idx": 3
|
| 693 |
+
},
|
| 694 |
+
{
|
| 695 |
+
"type": "image",
|
| 696 |
+
"img_path": "images/806ba71760a2083e986f1d9e3c8486ceedd8450c702759db96c9852bcfc8b229.jpg",
|
| 697 |
+
"image_caption": [],
|
| 698 |
+
"image_footnote": [],
|
| 699 |
+
"bbox": [
|
| 700 |
+
532,
|
| 701 |
+
90,
|
| 702 |
+
858,
|
| 703 |
+
261
|
| 704 |
+
],
|
| 705 |
+
"page_idx": 3
|
| 706 |
+
},
|
| 707 |
+
{
|
| 708 |
+
"type": "image",
|
| 709 |
+
"img_path": "images/a884b3da2e0d17034a9e33ec7f497e383486e897e60a3367f94c029904ee1c03.jpg",
|
| 710 |
+
"image_caption": [
|
| 711 |
+
"bAbI Task 14 (Baseline Accuracy=70)",
|
| 712 |
+
"Figure 3: Accuracy for Flan-T5-XL and GPT-J-6B on bAbI task 14 for a single bootstrap set of 200 samples."
|
| 713 |
+
],
|
| 714 |
+
"image_footnote": [],
|
| 715 |
+
"bbox": [
|
| 716 |
+
532,
|
| 717 |
+
277,
|
| 718 |
+
858,
|
| 719 |
+
437
|
| 720 |
+
],
|
| 721 |
+
"page_idx": 3
|
| 722 |
+
},
|
| 723 |
+
{
|
| 724 |
+
"type": "text",
|
| 725 |
+
"text": "ter entity replacement to LLM performance, and yet again we are unable to find a statistical correlation (see Appendix Section B.5). While Gonen et al. (2022b) suggests improvement of model performance with decrease in perplexity, we observe certain entities displaying the opposite behavior.",
|
| 726 |
+
"bbox": [
|
| 727 |
+
507,
|
| 728 |
+
512,
|
| 729 |
+
882,
|
| 730 |
+
609
|
| 731 |
+
],
|
| 732 |
+
"page_idx": 3
|
| 733 |
+
},
|
| 734 |
+
{
|
| 735 |
+
"type": "text",
|
| 736 |
+
"text": "5 Conclusion",
|
| 737 |
+
"text_level": 1,
|
| 738 |
+
"bbox": [
|
| 739 |
+
507,
|
| 740 |
+
624,
|
| 741 |
+
640,
|
| 742 |
+
638
|
| 743 |
+
],
|
| 744 |
+
"page_idx": 3
|
| 745 |
+
},
|
| 746 |
+
{
|
| 747 |
+
"type": "text",
|
| 748 |
+
"text": "In this study, we find that LLMs exhibit a consistent lack of robustness with respect to named entity replacement for the in-context learning setting, fur",
|
| 749 |
+
"bbox": [
|
| 750 |
+
507,
|
| 751 |
+
650,
|
| 752 |
+
882,
|
| 753 |
+
699
|
| 754 |
+
],
|
| 755 |
+
"page_idx": 3
|
| 756 |
+
},
|
| 757 |
+
{
|
| 758 |
+
"type": "table",
|
| 759 |
+
"img_path": "images/99f3f7f108c2d1d531a75f9dc65d14aecbc1534f3cb3314b2d990ab3697ac9ae.jpg",
|
| 760 |
+
"table_caption": [],
|
| 761 |
+
"table_footnote": [],
|
| 762 |
+
"table_body": "<table><tr><td rowspan=\"2\">Dataset</td><td colspan=\"2\">Baseline</td><td colspan=\"2\">Best Entity</td><td colspan=\"2\">Worst Entity</td></tr><tr><td>Valid</td><td>Test</td><td>Valid</td><td>Test (Maj@10)</td><td>Valid</td><td>Test</td></tr><tr><td>bAbI 12</td><td>95.1</td><td>95.5</td><td>98.5 [+3.4]</td><td>99.0 [+3.5]</td><td>92.4 [-2.7]</td><td>93.0 [-2.5]</td></tr><tr><td>bAbI 14</td><td>76.1</td><td>77.5</td><td>78.4 [+2.3]</td><td>79.5 [+2.0]</td><td>75.2 [-0.9]</td><td>76.6 [-0.9]</td></tr><tr><td>bAbI 16</td><td>53.5</td><td>53.3</td><td>61.7 [+8.2]</td><td>61.3 [+8.0]</td><td>55.5 [+2.0]</td><td>55.9 [+2.6]</td></tr><tr><td>GSM8k</td><td>14.3</td><td>10.5</td><td>14.6 [+0.3]</td><td>11.3 [+0.8]</td><td>12.7 [-1.6]</td><td>10.1 [-0.4]</td></tr><tr><td>CLUTRR</td><td>59.0</td><td>53.0</td><td>61.8 [+2.8]</td><td>54.6 [+1.6]</td><td>51.4 [-7.6]</td><td>53.1 [+0.1]</td></tr></table>",
|
| 763 |
+
"bbox": [
|
| 764 |
+
512,
|
| 765 |
+
721,
|
| 766 |
+
882,
|
| 767 |
+
804
|
| 768 |
+
],
|
| 769 |
+
"page_idx": 3
|
| 770 |
+
},
|
| 771 |
+
{
|
| 772 |
+
"type": "text",
|
| 773 |
+
"text": "Table 1: Performance of FLAN-T5-XL, with accuracy shift from baseline provided in [square brackets]. Entity replacements are done in the $D$ and $q$ setting. bAbI task 1 reaches perfect accuracy and is thus omitted from this table. Performance between the validation and test datasets is consistent, and we observe a generalizable increase in accuracy across all datasets.",
|
| 774 |
+
"bbox": [
|
| 775 |
+
507,
|
| 776 |
+
814,
|
| 777 |
+
882,
|
| 778 |
+
914
|
| 779 |
+
],
|
| 780 |
+
"page_idx": 3
|
| 781 |
+
},
|
| 782 |
+
{
|
| 783 |
+
"type": "page_footnote",
|
| 784 |
+
"text": "<sup>6</sup>We did not include bAbI Task 1 because the baseline accuracy is already $100\\%$ , leaving no space for improvement.",
|
| 785 |
+
"bbox": [
|
| 786 |
+
112,
|
| 787 |
+
891,
|
| 788 |
+
487,
|
| 789 |
+
917
|
| 790 |
+
],
|
| 791 |
+
"page_idx": 3
|
| 792 |
+
},
|
| 793 |
+
{
|
| 794 |
+
"type": "page_number",
|
| 795 |
+
"text": "10917",
|
| 796 |
+
"bbox": [
|
| 797 |
+
477,
|
| 798 |
+
927,
|
| 799 |
+
524,
|
| 800 |
+
940
|
| 801 |
+
],
|
| 802 |
+
"page_idx": 3
|
| 803 |
+
},
|
| 804 |
+
{
|
| 805 |
+
"type": "text",
|
| 806 |
+
"text": "ther questioning the process of reasoning employed by these models (Min et al., 2022). We demonstrate this across three axes: the complexity of the task, the model architecture, and which named entities are to be replaced (in the demonstrations, query, or both). The cause for this effect remains elusive, which opens up exciting research directions. One intriguing result is that the entities that can boost performance are dataset specific. This points to potential avenues for enhancing LLM downstream performance by performing hyperparameter search over a range of entities.",
|
| 807 |
+
"bbox": [
|
| 808 |
+
112,
|
| 809 |
+
84,
|
| 810 |
+
492,
|
| 811 |
+
277
|
| 812 |
+
],
|
| 813 |
+
"page_idx": 4
|
| 814 |
+
},
|
| 815 |
+
{
|
| 816 |
+
"type": "text",
|
| 817 |
+
"text": "6 Limitations",
|
| 818 |
+
"text_level": 1,
|
| 819 |
+
"bbox": [
|
| 820 |
+
112,
|
| 821 |
+
290,
|
| 822 |
+
250,
|
| 823 |
+
305
|
| 824 |
+
],
|
| 825 |
+
"page_idx": 4
|
| 826 |
+
},
|
| 827 |
+
{
|
| 828 |
+
"type": "text",
|
| 829 |
+
"text": "We acknowledge that the selection of names in our study may not provide an unbiased representation of the complete set of possible names. The data provided by Tzioumis (2018) was derived from mortgage applications which may introduce a bias against popular names within marginalized communities. Moreover, this issue is compounded when we sub-sample the set of names due to computational limitations. Additionally, we used a NER model available through Hugging Face to identify $e^o$ . It was BERT-based (Devlin et al., 2018) and trained on a CONLL-2003 corpus (Tjong Kim Sang and De Meulder, 2003) (Wolf et al., 2019), and we anecdotally observed that sometimes it struggles to identify rare names as named entities, for example, it incorrectly identified \"TreQuan\" as \"TreQ.\" We spot checked for this issue and removed names that posed problems to the best of our abilities.",
|
| 830 |
+
"bbox": [
|
| 831 |
+
112,
|
| 832 |
+
316,
|
| 833 |
+
489,
|
| 834 |
+
605
|
| 835 |
+
],
|
| 836 |
+
"page_idx": 4
|
| 837 |
+
},
|
| 838 |
+
{
|
| 839 |
+
"type": "text",
|
| 840 |
+
"text": "7 Ethics and Broader Impact",
|
| 841 |
+
"text_level": 1,
|
| 842 |
+
"bbox": [
|
| 843 |
+
112,
|
| 844 |
+
619,
|
| 845 |
+
384,
|
| 846 |
+
636
|
| 847 |
+
],
|
| 848 |
+
"page_idx": 4
|
| 849 |
+
},
|
| 850 |
+
{
|
| 851 |
+
"type": "text",
|
| 852 |
+
"text": "In this work, we explore the effect of name swaps in an in-context learning setup and find that particular names can increase accuracy. In our efforts to align names with their respective pronouns, we assumed binary gender, but acknowledge that other genders exist. We made this assumption because our evaluated datasets used binary pronouns, and our names dataset was also only binarily annotated. While our paper assumes name-gender associations, we do not want to discredit negative evidence. A name that is not explicitly associated with a gender doesn't imply evidence of absence of association (imagine that only one person named \"Alex\" was sampled, and she was a woman—that doesn't mean that there aren't also men or nonbinary people called \"Alex\"). At the moment, there aren't many annotated name datasets that consists",
|
| 853 |
+
"bbox": [
|
| 854 |
+
112,
|
| 855 |
+
645,
|
| 856 |
+
490,
|
| 857 |
+
917
|
| 858 |
+
],
|
| 859 |
+
"page_idx": 4
|
| 860 |
+
},
|
| 861 |
+
{
|
| 862 |
+
"type": "text",
|
| 863 |
+
"text": "of gender-agnostic, gender-ambiguous, or gender-neutral names. Hopefully, additional work such as (Dev et al., 2021; Lauscher et al., 2022; Ovalle et al., 2023) will expand such resources, but regardless of these complications, our conclusions are still useful for trying to understand why some names can shift model performance under some settings.",
|
| 864 |
+
"bbox": [
|
| 865 |
+
507,
|
| 866 |
+
84,
|
| 867 |
+
885,
|
| 868 |
+
212
|
| 869 |
+
],
|
| 870 |
+
"page_idx": 4
|
| 871 |
+
},
|
| 872 |
+
{
|
| 873 |
+
"type": "text",
|
| 874 |
+
"text": "References",
|
| 875 |
+
"text_level": 1,
|
| 876 |
+
"bbox": [
|
| 877 |
+
509,
|
| 878 |
+
240,
|
| 879 |
+
608,
|
| 880 |
+
255
|
| 881 |
+
],
|
| 882 |
+
"page_idx": 4
|
| 883 |
+
},
|
| 884 |
+
{
|
| 885 |
+
"type": "list",
|
| 886 |
+
"sub_type": "ref_text",
|
| 887 |
+
"list_items": [
|
| 888 |
+
"2023. Genderize.io. https://genderize.io/. Accessed: June 15, 2023.",
|
| 889 |
+
"Oshin Agarwal, Yinfei Yang, Byron C Wallace, and Ani Nenkova. 2020. Entity-switched datasets: An approach to auditing the in-domain robustness of named entity recognition models. arXiv preprint arXiv:2004.04123.",
|
| 890 |
+
"Sriram Balasubramanian, Naman Jain, Gaurav Jindal, Abhijeet Awasthi, and Sunita Sarawagi. 2020. What's in a name? are BERT named entity representations just as good for any other name? In Proceedings of the 5th Workshop on Representation Learning for NLP, pages 205-214, Online. Association for Computational Linguistics.",
|
| 891 |
+
"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.",
|
| 892 |
+
"Hyung Won Chung, Le Hou, Shayne Longpre, Barret Zoph, Yi Tay, William Fedus, Eric Li, Xuezhi Wang, Mostafa Dehghani, Siddhartha Brahma, Albert Webson, Shixiang Shane Gu, Zhuyun Dai, Mirac Suzgun, Xinyun Chen, Aakanksha Chowdhery, Sharan Narang, Gaurav Mishra, Adams Yu, Vincent Zhao, Yanping Huang, Andrew Dai, Hongkun Yu, Slav Petrov, Ed H. Chi, Jeff Dean, Jacob Devlin, Adam Roberts, Denny Zhou, Quoc V. Le, and Jason Wei. 2022a. Scaling instruction-finetuned language models. arXiv:2210.11416.",
|
| 893 |
+
"Hyung Won Chung, Le Hou, Shayne Longpre, Barret Zoph, Yi Tay, William Fedus, Eric Li, Xuezhi Wang, Mostafa Dehghani, Siddhartha Brahma, et al. 2022b. Scaling instruction-finetuned language models. arXiv preprint arXiv:2210.11416.",
|
| 894 |
+
"Karl Cobbe, Vineet Kosaraju, Mohammad Bavarian, Mark Chen, Heewoo Jun, Lukasz Kaiser, Matthias Plappert, Jerry Tworek, Jacob Hilton, Reiichiro Nakano, Christopher Hesse, and John Schulman. 2021. Training verifiers to solve math word problems. arXiv preprint arXiv:2110.14168.",
|
| 895 |
+
"Sunipa Dev, Masoud Monajatipoor, Anaelia Ovalle, Arjun Subramonian, Jeff Phillips, and Kai-Wei Chang."
|
| 896 |
+
],
|
| 897 |
+
"bbox": [
|
| 898 |
+
509,
|
| 899 |
+
263,
|
| 900 |
+
885,
|
| 901 |
+
920
|
| 902 |
+
],
|
| 903 |
+
"page_idx": 4
|
| 904 |
+
},
|
| 905 |
+
{
|
| 906 |
+
"type": "page_number",
|
| 907 |
+
"text": "10918",
|
| 908 |
+
"bbox": [
|
| 909 |
+
477,
|
| 910 |
+
927,
|
| 911 |
+
524,
|
| 912 |
+
940
|
| 913 |
+
],
|
| 914 |
+
"page_idx": 4
|
| 915 |
+
},
|
| 916 |
+
{
|
| 917 |
+
"type": "list",
|
| 918 |
+
"sub_type": "ref_text",
|
| 919 |
+
"list_items": [
|
| 920 |
+
"2021. Harms of gender exclusivity and challenges in non-binary representation in language technologies. In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing, pages 1968-1994, Online and Punta Cana, Dominican Republic. Association for Computational Linguistics.",
|
| 921 |
+
"Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. 2018. BERT: pre-training of deep bidirectional transformers for language understanding. CoRR, abs/1810.04805.",
|
| 922 |
+
"Javid Ebrahimi, Anyi Rao, Daniel Lowd, and Dejing Dou. 2017. Hotflip: White-box adversarial examples for text classification. arXiv preprint arXiv:1712.06751.",
|
| 923 |
+
"Ji Gao, Jack Lanchantin, Mary Lou Soffa, and Yanjun Qi. 2018. Black-box generation of adversarial text sequences to evade deep learning classifiers. In 2018 IEEE Security and Privacy Workshops (SPW), pages 50-56. IEEE.",
|
| 924 |
+
"Hila Gonen, Srini Iyer, Terra Blevins, Noah A Smith, and Luke Zettlemoyer. 2022a. Demystifying prompts in language models via perplexity estimation. arXiv preprint arXiv:2212.04037.",
|
| 925 |
+
"Hila Gonen, Shauli Ravfogel, and Yoav Goldberg. 2022b. Analyzing gender representation in multilingual models. In Proceedings of the 7th Workshop on Representation Learning for NLP, pages 67-77, Dublin, Ireland. Association for Computational Linguistics.",
|
| 926 |
+
"Di Jin, Zhijing Jin, Joey Tianyi Zhou, and Peter Szolovits. 2020. Is bert really robust? a strong baseline for natural language attack on text classification and entailment. In Proceedings of the AAAI conference on artificial intelligence, volume 34, pages 8018-8025.",
|
| 927 |
+
"Anne Lauscher, Archie Crowley, and Dirk Hovy. 2022. Welcome to the modern world of pronouns: Identity-inclusive natural language processing beyond gender. In Proceedings of the 29th International Conference on Computational Linguistics, pages 1221-1232, Gyeongju, Republic of Korea. International Committee on Computational Linguistics.",
|
| 928 |
+
"Bill Yuchen Lin, Wenyang Gao, Jun Yan, Ryan Moreno, and Xiang Ren. 2021. RockNER: A simple method to create adversarial examples for evaluating the robustness of named entity recognition models. In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing, pages 3728-3737, Online and Punta Cana, Dominican Republic. Association for Computational Linguistics.",
|
| 929 |
+
"Jiachang Liu, Dinghan Shen, Yizhe Zhang, Bill Dolan, Lawrence Carin, and Weizhu Chen. 2021. What makes good in-context examples for gpt-3? arXiv preprint arXiv:2101.06804."
|
| 930 |
+
],
|
| 931 |
+
"bbox": [
|
| 932 |
+
115,
|
| 933 |
+
85,
|
| 934 |
+
489,
|
| 935 |
+
917
|
| 936 |
+
],
|
| 937 |
+
"page_idx": 5
|
| 938 |
+
},
|
| 939 |
+
{
|
| 940 |
+
"type": "list",
|
| 941 |
+
"sub_type": "ref_text",
|
| 942 |
+
"list_items": [
|
| 943 |
+
"Robert L Logan IV, Ivana Balažević, Eric Wallace, Fabio Petroni, Sameer Singh, and Sebastian Riedel. 2021. Cutting down on prompts and parameters: Simple few-shot learning with language models. arXiv preprint arXiv:2106.13353.",
|
| 944 |
+
"Sewon Min, Xinxi Lyu, Ari Holtzman, Mikel Artetxe, Mike Lewis, Hannaneh Hajishirzi, and Luke Zettlemoyer. 2022. Rethinking the role of demonstrations: What makes in-context learning work? arXiv preprint arXiv:2202.12837.",
|
| 945 |
+
"Anaelia Ovalle, Palash Goyal, Jwala Dhamala, Zachary Jaggers, Kai-Wei Chang, Aram Galstyan, Richard Zemel, and Rahul Gupta. 2023. \"i'm fully who i am\": Towards centering transgender and non-binary voices to measure biases in open language generation. In Proceedings of the 2023 ACM Conference on Fairness, Accountability, and Transparency, pages 1246-1266.",
|
| 946 |
+
"Nicolas Papernot, Patrick McDaniel, Ananthram Swami, and Richard Harang. 2016. Crafting adversarial input sequences for recurrent neural networks. In MILCOM 2016-2016 IEEE Military Communications Conference, pages 49-54. IEEE.",
|
| 947 |
+
"Ethan Perez, Douwe Kiela, and Kyunghyun Cho. 2021. True few-shot learning with language models. Advances in neural information processing systems, 34:11054-11070.",
|
| 948 |
+
"Marco Tulio Ribeiro, Tongshuang Wu, Carlos Guestrin, and Sameer Singh. 2020. Beyond accuracy: Behavioral testing of NLP models with CheckList. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pages 4902-4912, Online. Association for Computational Linguistics.",
|
| 949 |
+
"Timo Schick and Hinrich Schütze. 2020. Exploiting cloze questions for few shot text classification and natural language inference. arXiv preprint arXiv:2001.07676.",
|
| 950 |
+
"Timo Schick and Hinrich Schütze. 2022. True few-shot learning with prompts—a real-world perspective. Transactions of the Association for Computational Linguistics, 10:716-731.",
|
| 951 |
+
"Taylor Shin, Yasaman Razeghi, Robert L Logan IV, Eric Wallace, and Sameer Singh. 2020. Autoprompt: Eliciting knowledge from language models with automatically generated prompts. arXiv preprint arXiv:2010.15980.",
|
| 952 |
+
"Koustuv Sinha, Shagun Sodhani, Jin Dong, Joelle Pineau, and William L Hamilton. 2019. Clutrr: A diagnostic benchmark for inductive reasoning from text. arXiv preprint arXiv:1908.06177.",
|
| 953 |
+
"Erik F. Tjong Kim Sang and Fien De Meulder. 2003. Introduction to the CoNLL-2003 shared task: Language-independent named entity recognition. In Proceedings of the Seventh Conference on Natural Language Learning at HLT-NAACL 2003, pages 142-147."
|
| 954 |
+
],
|
| 955 |
+
"bbox": [
|
| 956 |
+
510,
|
| 957 |
+
85,
|
| 958 |
+
882,
|
| 959 |
+
916
|
| 960 |
+
],
|
| 961 |
+
"page_idx": 5
|
| 962 |
+
},
|
| 963 |
+
{
|
| 964 |
+
"type": "page_number",
|
| 965 |
+
"text": "10919",
|
| 966 |
+
"bbox": [
|
| 967 |
+
477,
|
| 968 |
+
928,
|
| 969 |
+
524,
|
| 970 |
+
940
|
| 971 |
+
],
|
| 972 |
+
"page_idx": 5
|
| 973 |
+
},
|
| 974 |
+
{
|
| 975 |
+
"type": "list",
|
| 976 |
+
"sub_type": "ref_text",
|
| 977 |
+
"list_items": [
|
| 978 |
+
"Miles Turpin, Julian Michael, Ethan Perez, and Samuel R Bowman. 2023. Language models don't always say what they think: Unfaithful explanations in chain-of-thought prompting. arXiv preprint arXiv:2305.04388.",
|
| 979 |
+
"Konstantinos Tzioumis. 2018. Demographic aspects of first names. Scientific data, 5(1):1-9.",
|
| 980 |
+
"Ben Wang and Aran Komatsuzaki. 2021. GPT-J-6B: A 6 Billion Parameter Autoregressive Language Model. https://github.com/kingoflolz/mesh-transformer-jax.",
|
| 981 |
+
"Xiao Wang, Qin Liu, Tao Gui, Qi Zhang, Yicheng Zou, Xin Zhou, Jiacheng Ye, Yongxin Zhang, Rui Zheng, Zexiong Pang, Qinzhuo Wu, Zhengyan Li, Chong Zhang, Ruotian Ma, Zichu Fei, Ruijian Cai, Jun Zhao, Xingwu Hu, Zhiheng Yan, Yiding Tan, Yuan Hu, Qiyuan Bian, Zhihua Liu, Shan Qin, Bolin Zhu, Xiaoyu Xing, Jinlan Fu, Yue Zhang, Minlong Peng, Xiaqing Zheng, Yaqian Zhou, Zhongyu Wei, Xipeng Qiu, and Xuanjing Huang. 2021. TextFlint: Unified multilingual robustness evaluation toolkit for natural language processing. In Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing: System Demonstrations, pages 347-355, Online. Association for Computational Linguistics.",
|
| 982 |
+
"Jason Wei, Dan Garrette, Tal Linzen, and Ellie Pavlick. 2021. Frequency effects on syntactic rule learning in transformers.",
|
| 983 |
+
"Jason Wei, Xuezhi Wang, Dale Schuurmans, Maarten Bosma, Ed Chi, Quoc Le, and Denny Zhou. 2022. Chain of thought prompting elicits reasoning in large language models. arXiv preprint arXiv:2201.11903.",
|
| 984 |
+
"Jason Weston, Antoine Bordes, Sumit Chopra, Alexander M Rush, Bart Van Merrienboer, Armand Joulin, and Tomas Mikolov. 2015. Towards ai-complete question answering: A set of prerequisite toy tasks. arXiv preprint arXiv:1502.05698.",
|
| 985 |
+
"Thomas Wolf, Lysandre Debut, Victor Sanh, Julien Chaumont, Clement Delangue, Anthony Moi, Pierric Cistac, Tim Rault, Rémi Louf, Morgan Funtowicz, et al. 2019. Huggingface's transformers: State-of-the-art natural language processing. arXiv preprint arXiv:1910.03771.",
|
| 986 |
+
"Zihao Zhao, Eric Wallace, Shi Feng, Dan Klein, and Sameer Singh. 2021. Calibrate before use: Improving few-shot performance of language models. In International Conference on Machine Learning, pages 12697-12706. PMLR."
|
| 987 |
+
],
|
| 988 |
+
"bbox": [
|
| 989 |
+
115,
|
| 990 |
+
85,
|
| 991 |
+
489,
|
| 992 |
+
822
|
| 993 |
+
],
|
| 994 |
+
"page_idx": 6
|
| 995 |
+
},
|
| 996 |
+
{
|
| 997 |
+
"type": "page_number",
|
| 998 |
+
"text": "10920",
|
| 999 |
+
"bbox": [
|
| 1000 |
+
477,
|
| 1001 |
+
928,
|
| 1002 |
+
524,
|
| 1003 |
+
940
|
| 1004 |
+
],
|
| 1005 |
+
"page_idx": 6
|
| 1006 |
+
},
|
| 1007 |
+
{
|
| 1008 |
+
"type": "text",
|
| 1009 |
+
"text": "A Appendix",
|
| 1010 |
+
"text_level": 1,
|
| 1011 |
+
"bbox": [
|
| 1012 |
+
114,
|
| 1013 |
+
84,
|
| 1014 |
+
238,
|
| 1015 |
+
99
|
| 1016 |
+
],
|
| 1017 |
+
"page_idx": 7
|
| 1018 |
+
},
|
| 1019 |
+
{
|
| 1020 |
+
"type": "text",
|
| 1021 |
+
"text": "A.1 Related Work",
|
| 1022 |
+
"text_level": 1,
|
| 1023 |
+
"bbox": [
|
| 1024 |
+
114,
|
| 1025 |
+
109,
|
| 1026 |
+
273,
|
| 1027 |
+
124
|
| 1028 |
+
],
|
| 1029 |
+
"page_idx": 7
|
| 1030 |
+
},
|
| 1031 |
+
{
|
| 1032 |
+
"type": "text",
|
| 1033 |
+
"text": "Several works investigated the robustness of language models with respect to input rewrites (Papernot et al., 2016; Ebrahimi et al., 2017; Gao et al., 2018; Jin et al., 2020). In particular, Balasubramanian et al. (2020) found that while fine-tuned BERT models were brittle in certain tasks, they demonstrated robustness against entity replacement for question answering. Other works have shown that many transformer-based models are insufficiently robust to name swaps (Ribeiro et al. 2020; Agarwal et al. 2020; Lin et al. 2021; Wang et al. 2021, i.a.), Our work differs from these in that we focus on the in-context learning setting.",
|
| 1034 |
+
"bbox": [
|
| 1035 |
+
112,
|
| 1036 |
+
130,
|
| 1037 |
+
489,
|
| 1038 |
+
338
|
| 1039 |
+
],
|
| 1040 |
+
"page_idx": 7
|
| 1041 |
+
},
|
| 1042 |
+
{
|
| 1043 |
+
"type": "text",
|
| 1044 |
+
"text": "The ability to do in-context learning first emerged from Brown et al. (2020). Subsequently, many works sought to improve and understand the abilities of LLMs with respect to in-context learning (Liu et al., 2021; Zhao et al., 2021). Perez et al. (2021); Logan IV et al. (2021); Schick and Schütze (2022); Turpin et al. (2023) show an improvement over the original paper in the the \"true few-shot learning\" setup where there is no access to a large test set to tune in-context learning hyperparameters. Despite the impressive results of this new paradigm, little has been understood regarding the generalization of certain in-context demonstrations.",
|
| 1045 |
+
"bbox": [
|
| 1046 |
+
115,
|
| 1047 |
+
340,
|
| 1048 |
+
489,
|
| 1049 |
+
546
|
| 1050 |
+
],
|
| 1051 |
+
"page_idx": 7
|
| 1052 |
+
},
|
| 1053 |
+
{
|
| 1054 |
+
"type": "text",
|
| 1055 |
+
"text": "Gonen et al. (2022a) bring to attention the importance of the specific prompts in model performance. They show that the lower the perplexity of the prompt is, the better the prompt is able to perform the task. Min et al. (2022) show that the actual labels in the prompt are not very important. However, the labels still have a small impact in performance.",
|
| 1056 |
+
"bbox": [
|
| 1057 |
+
112,
|
| 1058 |
+
549,
|
| 1059 |
+
489,
|
| 1060 |
+
676
|
| 1061 |
+
],
|
| 1062 |
+
"page_idx": 7
|
| 1063 |
+
},
|
| 1064 |
+
{
|
| 1065 |
+
"type": "text",
|
| 1066 |
+
"text": "In recent years, several studies have explored the significance of prompt quality in few-shot learning, particularly in the context of question-answering tasks. One such study was conducted by Shin et al. (2020) who proposed AutoPrompt, an automated approach for prompt generation in few-shot learning scenarios that has been shown to achieve the highest accuracy. The AutoPrompt model leverages gradient-based prompt search techniques to find the optimal prompt for a given task, thereby reducing the need for human intervention. Additionally, AutoPrompt utilizes Masked Language Models (MLMs) to perform sentiment analysis and natural language inference tasks without the need for fine-tuning, highlighting the potential of MLMs",
|
| 1067 |
+
"bbox": [
|
| 1068 |
+
112,
|
| 1069 |
+
678,
|
| 1070 |
+
489,
|
| 1071 |
+
919
|
| 1072 |
+
],
|
| 1073 |
+
"page_idx": 7
|
| 1074 |
+
},
|
| 1075 |
+
{
|
| 1076 |
+
"type": "text",
|
| 1077 |
+
"text": "in few-shot learning scenarios. In another study, Gonen et al. (2022a) introduced a novel technique for prompt generation that involves using a small set of manually created prompts and then applying paraphrasing and backtranslation to generate additional prompts automatically. Specifically, they utilized GPT-3 to perform the paraphrasing step, which involves rephrasing the original prompts while preserving their underlying meaning. The backtranslation step then involves translating the paraphrased prompts into another language and then back into the original language to generate new prompts that are semantically similar to the original prompts but with different phrasing and wording. This approach enables the generation of a large number of diverse prompts without requiring extensive manual effort, which can be particularly useful in few-shot learning scenarios where data is limited. Gonen et al. (2022a) also demonstrated an inverse relationship between the perplexity of the prompts and the model's performance across various tasks.",
|
| 1078 |
+
"bbox": [
|
| 1079 |
+
507,
|
| 1080 |
+
84,
|
| 1081 |
+
884,
|
| 1082 |
+
437
|
| 1083 |
+
],
|
| 1084 |
+
"page_idx": 7
|
| 1085 |
+
},
|
| 1086 |
+
{
|
| 1087 |
+
"type": "text",
|
| 1088 |
+
"text": "Our work is related to previous studies as we focus on the true few-shot learning setup for the task of question answering and explore the robustness of NLP models against entity replacement. There are three main ways in which our work differs from previous studies. First, our investigation focuses on analyzing the robustness of language models against entity replacement specifically for the task of question answering in the ICL setup, which has not been explored in previous studies. Second, we utilize left-to-right language models, which are more widely used and powerful than masked language models. Finally, our approach involves prompt-learning instead of fine-tuning, whereby the parameters of the language model are modified to improve its performance on specific tasks. By leveraging the true few-shot learning setup and prompt-learning techniques, we aim to develop a more robust and effective approach for few-shot question-answering tasks that can handle entity replacement and other challenges more effectively.",
|
| 1089 |
+
"bbox": [
|
| 1090 |
+
507,
|
| 1091 |
+
441,
|
| 1092 |
+
884,
|
| 1093 |
+
778
|
| 1094 |
+
],
|
| 1095 |
+
"page_idx": 7
|
| 1096 |
+
},
|
| 1097 |
+
{
|
| 1098 |
+
"type": "text",
|
| 1099 |
+
"text": "A.2 Dataset Details",
|
| 1100 |
+
"text_level": 1,
|
| 1101 |
+
"bbox": [
|
| 1102 |
+
509,
|
| 1103 |
+
797,
|
| 1104 |
+
680,
|
| 1105 |
+
810
|
| 1106 |
+
],
|
| 1107 |
+
"page_idx": 7
|
| 1108 |
+
},
|
| 1109 |
+
{
|
| 1110 |
+
"type": "text",
|
| 1111 |
+
"text": "bAbI (Weston et al., 2015): The bAbI dataset consists of 20 tasks that evaluate various aspects of language understanding by NLP models. In our experiments, we select four tasks representing varying degrees of difficulty from the bAbI dataset: task 1, task 12, task 14, and task 16.",
|
| 1112 |
+
"bbox": [
|
| 1113 |
+
507,
|
| 1114 |
+
822,
|
| 1115 |
+
884,
|
| 1116 |
+
917
|
| 1117 |
+
],
|
| 1118 |
+
"page_idx": 7
|
| 1119 |
+
},
|
| 1120 |
+
{
|
| 1121 |
+
"type": "page_number",
|
| 1122 |
+
"text": "10921",
|
| 1123 |
+
"bbox": [
|
| 1124 |
+
477,
|
| 1125 |
+
927,
|
| 1126 |
+
524,
|
| 1127 |
+
940
|
| 1128 |
+
],
|
| 1129 |
+
"page_idx": 7
|
| 1130 |
+
},
|
| 1131 |
+
{
|
| 1132 |
+
"type": "code",
|
| 1133 |
+
"sub_type": "algorithm",
|
| 1134 |
+
"code_caption": [],
|
| 1135 |
+
"code_body": "context: Mary and $[e_{d1}]$ travelled to the \nbathroom. John and $[e_{d1}]$ travelled to the office. \nquestion: Where is $[e_{d1}]$ ? \nanswer: office \n???? \ncontext: $[e_{d2}]$ and Mary went back to the office. \nDaniel and Sandra went to the bedroom. \nquestion: Where is $[e_{d2}]$ ? \nanswer: bedroom \n???? \ncontext: Daniel and John moved to the hallway. \n $[e_q]$ and Daniel journeyed to the bathroom. \nquestion: Where is $[e_q]$ ? \nanswer:",
|
| 1136 |
+
"bbox": [
|
| 1137 |
+
144,
|
| 1138 |
+
87,
|
| 1139 |
+
460,
|
| 1140 |
+
281
|
| 1141 |
+
],
|
| 1142 |
+
"page_idx": 8
|
| 1143 |
+
},
|
| 1144 |
+
{
|
| 1145 |
+
"type": "text",
|
| 1146 |
+
"text": "Figure 4: Named entity replacement overview for in context learning. Here we show an in-context learning example with $k = 2$ demonstrations before the final query. We consider 3 scenarios: replacing only the demonstration entities $(e_{d1}, e_{d2})$ , only the query entity $(e_q)$ , or both $(e_{d1}, e_{d2}, e_q)$ . All replacements are done with the same replacement entity $e^r$ .",
|
| 1147 |
+
"bbox": [
|
| 1148 |
+
112,
|
| 1149 |
+
296,
|
| 1150 |
+
489,
|
| 1151 |
+
397
|
| 1152 |
+
],
|
| 1153 |
+
"page_idx": 8
|
| 1154 |
+
},
|
| 1155 |
+
{
|
| 1156 |
+
"type": "text",
|
| 1157 |
+
"text": "CLUTRR (Sinha et al., 2019): This dataset is similar to a subset of the bAbI dataset, but contains more difficult multi-step questions. This allows us to determine whether named entity replacement robustness is affected by task difficulty. Given a multi-sentence context describing kinship relations between certain entities and a question, the task is to predict the kinship relation between the entities that can be inferred from the context but is not made explicit. We convert this into a multiple-choice question where we expect the model to pick the answer from the four choices provided.",
|
| 1158 |
+
"bbox": [
|
| 1159 |
+
112,
|
| 1160 |
+
426,
|
| 1161 |
+
487,
|
| 1162 |
+
620
|
| 1163 |
+
],
|
| 1164 |
+
"page_idx": 8
|
| 1165 |
+
},
|
| 1166 |
+
{
|
| 1167 |
+
"type": "text",
|
| 1168 |
+
"text": "GSM8k (Cobbe et al., 2021): This dataset is a collection of elementary multi-step mathematical reasoning questions. We specifically selected this dataset due to the challenging nature of arithmetic operations, where existing models often struggle to achieve accurate results. We subsampled GSM8k to include only examples which contained identifiable named entities.",
|
| 1169 |
+
"bbox": [
|
| 1170 |
+
112,
|
| 1171 |
+
623,
|
| 1172 |
+
489,
|
| 1173 |
+
751
|
| 1174 |
+
],
|
| 1175 |
+
"page_idx": 8
|
| 1176 |
+
},
|
| 1177 |
+
{
|
| 1178 |
+
"type": "text",
|
| 1179 |
+
"text": "The Tzioumis (2018) dataset, contains of 4,250 unique first names, associated with their unigram frequency, and self-reported demographic information.",
|
| 1180 |
+
"bbox": [
|
| 1181 |
+
112,
|
| 1182 |
+
755,
|
| 1183 |
+
489,
|
| 1184 |
+
818
|
| 1185 |
+
],
|
| 1186 |
+
"page_idx": 8
|
| 1187 |
+
},
|
| 1188 |
+
{
|
| 1189 |
+
"type": "text",
|
| 1190 |
+
"text": "For each sample in the dataset, which is comprised of a context, question, and answer triplet, we transform it into a formatted string. This transformation involves concatenating the field name, a colon, space, the respective value corresponding to that field, and newline character. We ap",
|
| 1191 |
+
"bbox": [
|
| 1192 |
+
112,
|
| 1193 |
+
822,
|
| 1194 |
+
490,
|
| 1195 |
+
919
|
| 1196 |
+
],
|
| 1197 |
+
"page_idx": 8
|
| 1198 |
+
},
|
| 1199 |
+
{
|
| 1200 |
+
"type": "text",
|
| 1201 |
+
"text": "ply this transformation to $k$ demonstrations: $D = d_{1},d_{2},\\ldots ,d_{k}$ and the final query $q$ , where the answer to $q$ is omitted. We concatenate the formatted $k$ demonstrations and query $q$ , delimiting each string with a newline character followed by $\"\\# \\# \\# \"$ and a newline character. Figure 4 shows an incontext learning example.",
|
| 1202 |
+
"bbox": [
|
| 1203 |
+
507,
|
| 1204 |
+
84,
|
| 1205 |
+
885,
|
| 1206 |
+
197
|
| 1207 |
+
],
|
| 1208 |
+
"page_idx": 8
|
| 1209 |
+
},
|
| 1210 |
+
{
|
| 1211 |
+
"type": "text",
|
| 1212 |
+
"text": "A.3 Entity Selection",
|
| 1213 |
+
"text_level": 1,
|
| 1214 |
+
"bbox": [
|
| 1215 |
+
507,
|
| 1216 |
+
210,
|
| 1217 |
+
685,
|
| 1218 |
+
225
|
| 1219 |
+
],
|
| 1220 |
+
"page_idx": 8
|
| 1221 |
+
},
|
| 1222 |
+
{
|
| 1223 |
+
"type": "text",
|
| 1224 |
+
"text": "In general, we determine $e^o$ by selecting the first encountered entity within the question, as it often represents the subject of the question. If the question contains interrogative pronouns, such as \"who,\" no entities will be present within the question. In this case, we consider $e^o$ as the first entity encountered within the answer since it typically represents the subject being referred to. If the subject of the question and answer is referred to using pronouns then neither the question nor answer will contain any entities, we assume that noun ambiguity is not an issue and select the first encountered entity within the context as $e^o$ .",
|
| 1225 |
+
"bbox": [
|
| 1226 |
+
507,
|
| 1227 |
+
233,
|
| 1228 |
+
885,
|
| 1229 |
+
441
|
| 1230 |
+
],
|
| 1231 |
+
"page_idx": 8
|
| 1232 |
+
},
|
| 1233 |
+
{
|
| 1234 |
+
"type": "text",
|
| 1235 |
+
"text": "A.4 Entity-replacement Scenarios",
|
| 1236 |
+
"text_level": 1,
|
| 1237 |
+
"bbox": [
|
| 1238 |
+
507,
|
| 1239 |
+
456,
|
| 1240 |
+
793,
|
| 1241 |
+
472
|
| 1242 |
+
],
|
| 1243 |
+
"page_idx": 8
|
| 1244 |
+
},
|
| 1245 |
+
{
|
| 1246 |
+
"type": "text",
|
| 1247 |
+
"text": "In the demonstration-only replacement scenario, we perform entity replacement exclusively on the demonstrations $e_d$ while keeping the query unmodified 4. By selectively replacing entities within the context, question, and answer of the demonstrations, we aim to examine the extent to which this replacement strategy influences the model's performance.",
|
| 1248 |
+
"bbox": [
|
| 1249 |
+
507,
|
| 1250 |
+
479,
|
| 1251 |
+
882,
|
| 1252 |
+
607
|
| 1253 |
+
],
|
| 1254 |
+
"page_idx": 8
|
| 1255 |
+
},
|
| 1256 |
+
{
|
| 1257 |
+
"type": "text",
|
| 1258 |
+
"text": "In the query-only replacement setting, we solely augment the entities within the query $e_{q}$ while leaving the demonstrations unaltered Fig 4. This allows us to investigate the impact of enhancing the query's entity representation on the model's ability to generate accurate responses.",
|
| 1259 |
+
"bbox": [
|
| 1260 |
+
507,
|
| 1261 |
+
608,
|
| 1262 |
+
882,
|
| 1263 |
+
703
|
| 1264 |
+
],
|
| 1265 |
+
"page_idx": 8
|
| 1266 |
+
},
|
| 1267 |
+
{
|
| 1268 |
+
"type": "text",
|
| 1269 |
+
"text": "Applying both demonstration and query replacement, we replace $e_d$ and $e_q$ in both the demonstrations and query simultaneously. By enriching the entity information in both the context and the question, we explore the combined effect of entity replacement on the overall performance of the model.",
|
| 1270 |
+
"bbox": [
|
| 1271 |
+
507,
|
| 1272 |
+
706,
|
| 1273 |
+
882,
|
| 1274 |
+
816
|
| 1275 |
+
],
|
| 1276 |
+
"page_idx": 8
|
| 1277 |
+
},
|
| 1278 |
+
{
|
| 1279 |
+
"type": "text",
|
| 1280 |
+
"text": "A.5 Ensuring Grammatical Correctness",
|
| 1281 |
+
"text_level": 1,
|
| 1282 |
+
"bbox": [
|
| 1283 |
+
507,
|
| 1284 |
+
832,
|
| 1285 |
+
840,
|
| 1286 |
+
847
|
| 1287 |
+
],
|
| 1288 |
+
"page_idx": 8
|
| 1289 |
+
},
|
| 1290 |
+
{
|
| 1291 |
+
"type": "text",
|
| 1292 |
+
"text": "To begin, we verify the pronouns associated with both $e^o$ and $e^r$ using (gen, 2023). If the gender associated with $e^o$ corresponds with that of $e^r$ , we proceed to substitute $e^o$ with $e^r$ . However, if there",
|
| 1293 |
+
"bbox": [
|
| 1294 |
+
507,
|
| 1295 |
+
854,
|
| 1296 |
+
880,
|
| 1297 |
+
917
|
| 1298 |
+
],
|
| 1299 |
+
"page_idx": 8
|
| 1300 |
+
},
|
| 1301 |
+
{
|
| 1302 |
+
"type": "page_number",
|
| 1303 |
+
"text": "10922",
|
| 1304 |
+
"bbox": [
|
| 1305 |
+
477,
|
| 1306 |
+
927,
|
| 1307 |
+
524,
|
| 1308 |
+
940
|
| 1309 |
+
],
|
| 1310 |
+
"page_idx": 8
|
| 1311 |
+
},
|
| 1312 |
+
{
|
| 1313 |
+
"type": "text",
|
| 1314 |
+
"text": "is no alignment in gender, we refrain from altering $e^o$ and maintain its original form.",
|
| 1315 |
+
"bbox": [
|
| 1316 |
+
112,
|
| 1317 |
+
84,
|
| 1318 |
+
487,
|
| 1319 |
+
116
|
| 1320 |
+
],
|
| 1321 |
+
"page_idx": 9
|
| 1322 |
+
},
|
| 1323 |
+
{
|
| 1324 |
+
"type": "text",
|
| 1325 |
+
"text": "B Analysis",
|
| 1326 |
+
"text_level": 1,
|
| 1327 |
+
"bbox": [
|
| 1328 |
+
114,
|
| 1329 |
+
130,
|
| 1330 |
+
226,
|
| 1331 |
+
145
|
| 1332 |
+
],
|
| 1333 |
+
"page_idx": 9
|
| 1334 |
+
},
|
| 1335 |
+
{
|
| 1336 |
+
"type": "text",
|
| 1337 |
+
"text": "B.1 Analyzing Best/Worst performing entities",
|
| 1338 |
+
"text_level": 1,
|
| 1339 |
+
"bbox": [
|
| 1340 |
+
112,
|
| 1341 |
+
156,
|
| 1342 |
+
485,
|
| 1343 |
+
172
|
| 1344 |
+
],
|
| 1345 |
+
"page_idx": 9
|
| 1346 |
+
},
|
| 1347 |
+
{
|
| 1348 |
+
"type": "text",
|
| 1349 |
+
"text": "In order to examine the generalizability of the best and worst performing entities in each dataset, we extracted named entities from the validation dataset and tested them on the test dataset. More specifically, we replaced the named entities in the prompts of the validation dataset with a set of names that included 100 male and 100 female names. We then calculated the accuracy for each name, selecting the 10 names that exhibited the highest performance and the 10 names that showed the lowest performance. Next, we replaced the named entities in the test dataset prompts with these 20 selected names and calculated the corresponding accuracy for the test dataset. Table 2 presents the best and worst performing entities for each dataset along with the absolute percentage of accuracy changes. The ensemble model functions by replacing the named entity in the prompt with the highest performing entity and then generating an answer at each step. After cycling through the 10 best performing entities, it selects the answer with the most votes as the final response. This approach is referred to as majority@10. It's important to note that the bAbI task 1 doesn't have a 'best performing entity' because the baseline accuracy is already $100\\%$ , leaving no room for improvement.",
|
| 1350 |
+
"bbox": [
|
| 1351 |
+
112,
|
| 1352 |
+
178,
|
| 1353 |
+
489,
|
| 1354 |
+
595
|
| 1355 |
+
],
|
| 1356 |
+
"page_idx": 9
|
| 1357 |
+
},
|
| 1358 |
+
{
|
| 1359 |
+
"type": "text",
|
| 1360 |
+
"text": "Figure 8 provides an example of an generated answer for the GSM8k test dataset. The original prompt failed to produce the correct answer, while the transformed prompt was able to successfully answer the question. The absolute improvement of $0.8\\%$ in the accuracy of GSM8k through the majority@10 is remarkable, given the following facts: 1) The baseline accuracy for this challenging dataset is $10.5\\%$ , making even a small improvement significant. 2) The number of named entities in GSM8k is fewer than in other datasets, meaning only a few words are replaced in the transformed prompt, as shown in Figure 8. The ratio of replaced words to the total number of words in the prompt is 0.032. 3) Of the 1319 examples in the GSM8k test dataset, 663 contain a male name, 377 contain a female name, and 279 don't contain any named entity in the query. We could have achieved greater changes in percentage if we had only considered examples where the gender of the best perform",
|
| 1361 |
+
"bbox": [
|
| 1362 |
+
112,
|
| 1363 |
+
596,
|
| 1364 |
+
489,
|
| 1365 |
+
919
|
| 1366 |
+
],
|
| 1367 |
+
"page_idx": 9
|
| 1368 |
+
},
|
| 1369 |
+
{
|
| 1370 |
+
"type": "text",
|
| 1371 |
+
"text": "ing entity matched the gender of the name in the query (as replacements wouldn't occur otherwise). However, we chose not to adjust the test dataset to ensure that our accuracy improvement could be compared with other studies.",
|
| 1372 |
+
"bbox": [
|
| 1373 |
+
507,
|
| 1374 |
+
84,
|
| 1375 |
+
882,
|
| 1376 |
+
164
|
| 1377 |
+
],
|
| 1378 |
+
"page_idx": 9
|
| 1379 |
+
},
|
| 1380 |
+
{
|
| 1381 |
+
"type": "text",
|
| 1382 |
+
"text": "The consistency in performance between the validation and test datasets in CLUTRR is lower than that in the other datasets. This could be attributed to the structure of CLUTRR, where four options are provided in the prompt, from which the model chooses an answer. This setup introduces a degree of randomness to the generated answer, potentially leading to less consistency between the performance of the validation and test datasets.",
|
| 1383 |
+
"bbox": [
|
| 1384 |
+
507,
|
| 1385 |
+
165,
|
| 1386 |
+
884,
|
| 1387 |
+
309
|
| 1388 |
+
],
|
| 1389 |
+
"page_idx": 9
|
| 1390 |
+
},
|
| 1391 |
+
{
|
| 1392 |
+
"type": "text",
|
| 1393 |
+
"text": "B.2 LLM Architecture",
|
| 1394 |
+
"text_level": 1,
|
| 1395 |
+
"bbox": [
|
| 1396 |
+
507,
|
| 1397 |
+
319,
|
| 1398 |
+
705,
|
| 1399 |
+
334
|
| 1400 |
+
],
|
| 1401 |
+
"page_idx": 9
|
| 1402 |
+
},
|
| 1403 |
+
{
|
| 1404 |
+
"type": "text",
|
| 1405 |
+
"text": "The architecture of LLMs plays a crucial role in determining their behavior and performance, including their vulnerability to entity replacement. The design choices and architectural components of LLMs can influence how they process and generate text, affecting their sensitivity to changes in named input entities. By comparing the Flant5-XL, which employs an encoder-decoder architecture, with the GPT-J-6B, which represents a decoder-only architecture, we aimed to investigate the impact of LLM architecture on their brittleness towards entity replacement. The high variance in the performance of GPT-J (as shown in Fig 7) underscores that the brittleness towards entity replacement is not exclusive to the encoder-decoder architecture but is also a feature of decoder-only architecture models.",
|
| 1406 |
+
"bbox": [
|
| 1407 |
+
507,
|
| 1408 |
+
340,
|
| 1409 |
+
884,
|
| 1410 |
+
613
|
| 1411 |
+
],
|
| 1412 |
+
"page_idx": 9
|
| 1413 |
+
},
|
| 1414 |
+
{
|
| 1415 |
+
"type": "text",
|
| 1416 |
+
"text": "B.3 Effect of entity frequency",
|
| 1417 |
+
"text_level": 1,
|
| 1418 |
+
"bbox": [
|
| 1419 |
+
507,
|
| 1420 |
+
625,
|
| 1421 |
+
756,
|
| 1422 |
+
640
|
| 1423 |
+
],
|
| 1424 |
+
"page_idx": 9
|
| 1425 |
+
},
|
| 1426 |
+
{
|
| 1427 |
+
"type": "text",
|
| 1428 |
+
"text": "Frequently recurring named entities in the web, which subsequently appear in the training data, can impact both the model's ppl and performance. Entities appearing frequently in the training data are more likely to be well-represented in the model's understanding, contributing to lower ppl values. This occurs because the frequent presence of these entities reduces the unpredictability of the next word in a sequence, making it easier for the LLM to anticipate. The hypothesis is that names appearing more frequently would contribute to better model performance. To examine this hypothesis, the frequency of names, extracted from (Tzioumis, 2018), were categorized into five groups of equal numbers, labeled G1 to G5, ranging from the most to the least frequent names. Fig 9 presents the performance of Flan-T5-XL across different datasets.",
|
| 1429 |
+
"bbox": [
|
| 1430 |
+
507,
|
| 1431 |
+
646,
|
| 1432 |
+
884,
|
| 1433 |
+
917
|
| 1434 |
+
],
|
| 1435 |
+
"page_idx": 9
|
| 1436 |
+
},
|
| 1437 |
+
{
|
| 1438 |
+
"type": "page_number",
|
| 1439 |
+
"text": "10923",
|
| 1440 |
+
"bbox": [
|
| 1441 |
+
477,
|
| 1442 |
+
927,
|
| 1443 |
+
524,
|
| 1444 |
+
940
|
| 1445 |
+
],
|
| 1446 |
+
"page_idx": 9
|
| 1447 |
+
},
|
| 1448 |
+
{
|
| 1449 |
+
"type": "image",
|
| 1450 |
+
"img_path": "images/d2fa12070fd32ac897205bd220ddb0c766c2a9efe46e048bc8ea4736ad8eec2d.jpg",
|
| 1451 |
+
"image_caption": [],
|
| 1452 |
+
"image_footnote": [],
|
| 1453 |
+
"bbox": [
|
| 1454 |
+
129,
|
| 1455 |
+
192,
|
| 1456 |
+
490,
|
| 1457 |
+
473
|
| 1458 |
+
],
|
| 1459 |
+
"page_idx": 10
|
| 1460 |
+
},
|
| 1461 |
+
{
|
| 1462 |
+
"type": "image",
|
| 1463 |
+
"img_path": "images/074580c419c423622844c55c98b779242616403502e4dfd01ca02db84eff0410.jpg",
|
| 1464 |
+
"image_caption": [],
|
| 1465 |
+
"image_footnote": [],
|
| 1466 |
+
"bbox": [
|
| 1467 |
+
505,
|
| 1468 |
+
192,
|
| 1469 |
+
870,
|
| 1470 |
+
473
|
| 1471 |
+
],
|
| 1472 |
+
"page_idx": 10
|
| 1473 |
+
},
|
| 1474 |
+
{
|
| 1475 |
+
"type": "image",
|
| 1476 |
+
"img_path": "images/149a1c5187a9b12426b10c9b18c1810803a37bb3390a2b5e830472973d64304c.jpg",
|
| 1477 |
+
"image_caption": [
|
| 1478 |
+
"Figure 5: Bootstrap results of GPT-J-6B for 3 distinct sets of names, each comprising 200 names. Error bars represent the variation across different name sets."
|
| 1479 |
+
],
|
| 1480 |
+
"image_footnote": [],
|
| 1481 |
+
"bbox": [
|
| 1482 |
+
129,
|
| 1483 |
+
482,
|
| 1484 |
+
490,
|
| 1485 |
+
762
|
| 1486 |
+
],
|
| 1487 |
+
"page_idx": 10
|
| 1488 |
+
},
|
| 1489 |
+
{
|
| 1490 |
+
"type": "image",
|
| 1491 |
+
"img_path": "images/b595f85513bb0796b82cd377b64cef7f712d753e68c94765d5913129c854c29d.jpg",
|
| 1492 |
+
"image_caption": [],
|
| 1493 |
+
"image_footnote": [],
|
| 1494 |
+
"bbox": [
|
| 1495 |
+
507,
|
| 1496 |
+
482,
|
| 1497 |
+
868,
|
| 1498 |
+
762
|
| 1499 |
+
],
|
| 1500 |
+
"page_idx": 10
|
| 1501 |
+
},
|
| 1502 |
+
{
|
| 1503 |
+
"type": "page_number",
|
| 1504 |
+
"text": "10924",
|
| 1505 |
+
"bbox": [
|
| 1506 |
+
477,
|
| 1507 |
+
928,
|
| 1508 |
+
524,
|
| 1509 |
+
940
|
| 1510 |
+
],
|
| 1511 |
+
"page_idx": 10
|
| 1512 |
+
},
|
| 1513 |
+
{
|
| 1514 |
+
"type": "image",
|
| 1515 |
+
"img_path": "images/84c5071efe92c658740b73b43fb7ab9a82d2445158c42c57023db64eadb65699.jpg",
|
| 1516 |
+
"image_caption": [],
|
| 1517 |
+
"image_footnote": [],
|
| 1518 |
+
"bbox": [
|
| 1519 |
+
127,
|
| 1520 |
+
219,
|
| 1521 |
+
489,
|
| 1522 |
+
388
|
| 1523 |
+
],
|
| 1524 |
+
"page_idx": 11
|
| 1525 |
+
},
|
| 1526 |
+
{
|
| 1527 |
+
"type": "image",
|
| 1528 |
+
"img_path": "images/9af7ee133001d94dd6145685fdd994c10f2f19ca3508f836765a296b8d4237c7.jpg",
|
| 1529 |
+
"image_caption": [],
|
| 1530 |
+
"image_footnote": [],
|
| 1531 |
+
"bbox": [
|
| 1532 |
+
500,
|
| 1533 |
+
219,
|
| 1534 |
+
870,
|
| 1535 |
+
388
|
| 1536 |
+
],
|
| 1537 |
+
"page_idx": 11
|
| 1538 |
+
},
|
| 1539 |
+
{
|
| 1540 |
+
"type": "image",
|
| 1541 |
+
"img_path": "images/a3d0c964c46fa72e5dcfc45acd7e059152ae75558ae08d160fe211bd7efe33e5.jpg",
|
| 1542 |
+
"image_caption": [],
|
| 1543 |
+
"image_footnote": [],
|
| 1544 |
+
"bbox": [
|
| 1545 |
+
132,
|
| 1546 |
+
395,
|
| 1547 |
+
489,
|
| 1548 |
+
561
|
| 1549 |
+
],
|
| 1550 |
+
"page_idx": 11
|
| 1551 |
+
},
|
| 1552 |
+
{
|
| 1553 |
+
"type": "image",
|
| 1554 |
+
"img_path": "images/a8be2c992d5164ed570c4c8fb0a62549d1c9061d5f2323a0edcd583e7e83e934.jpg",
|
| 1555 |
+
"image_caption": [],
|
| 1556 |
+
"image_footnote": [],
|
| 1557 |
+
"bbox": [
|
| 1558 |
+
515,
|
| 1559 |
+
395,
|
| 1560 |
+
870,
|
| 1561 |
+
561
|
| 1562 |
+
],
|
| 1563 |
+
"page_idx": 11
|
| 1564 |
+
},
|
| 1565 |
+
{
|
| 1566 |
+
"type": "image",
|
| 1567 |
+
"img_path": "images/fa2270a4e0ab7c99a1855f2a278ec33e6211bd361f83ee9d0cafdcc0942deaa0.jpg",
|
| 1568 |
+
"image_caption": [
|
| 1569 |
+
"Figure 6: Deviation in accuracy from the baseline (without data augmentation) for Flan-T5-XL across different datasets."
|
| 1570 |
+
],
|
| 1571 |
+
"image_footnote": [],
|
| 1572 |
+
"bbox": [
|
| 1573 |
+
132,
|
| 1574 |
+
568,
|
| 1575 |
+
489,
|
| 1576 |
+
736
|
| 1577 |
+
],
|
| 1578 |
+
"page_idx": 11
|
| 1579 |
+
},
|
| 1580 |
+
{
|
| 1581 |
+
"type": "image",
|
| 1582 |
+
"img_path": "images/6adbcbf66a45bfc8c4b68034db00705847cb60e07ccc10e61116be7cf63afd4a.jpg",
|
| 1583 |
+
"image_caption": [],
|
| 1584 |
+
"image_footnote": [],
|
| 1585 |
+
"bbox": [
|
| 1586 |
+
515,
|
| 1587 |
+
568,
|
| 1588 |
+
870,
|
| 1589 |
+
736
|
| 1590 |
+
],
|
| 1591 |
+
"page_idx": 11
|
| 1592 |
+
},
|
| 1593 |
+
{
|
| 1594 |
+
"type": "page_number",
|
| 1595 |
+
"text": "10925",
|
| 1596 |
+
"bbox": [
|
| 1597 |
+
477,
|
| 1598 |
+
928,
|
| 1599 |
+
524,
|
| 1600 |
+
940
|
| 1601 |
+
],
|
| 1602 |
+
"page_idx": 11
|
| 1603 |
+
},
|
| 1604 |
+
{
|
| 1605 |
+
"type": "image",
|
| 1606 |
+
"img_path": "images/fc6aa65b5f61908d8679283485b4f204d69bc634e25afac91d976a623963c33e.jpg",
|
| 1607 |
+
"image_caption": [],
|
| 1608 |
+
"image_footnote": [],
|
| 1609 |
+
"bbox": [
|
| 1610 |
+
137,
|
| 1611 |
+
104,
|
| 1612 |
+
494,
|
| 1613 |
+
277
|
| 1614 |
+
],
|
| 1615 |
+
"page_idx": 12
|
| 1616 |
+
},
|
| 1617 |
+
{
|
| 1618 |
+
"type": "image",
|
| 1619 |
+
"img_path": "images/ddbd6b645183aa081d4e287cc0f5f48cce9b986b4fe698cc6812c380a7380779.jpg",
|
| 1620 |
+
"image_caption": [],
|
| 1621 |
+
"image_footnote": [],
|
| 1622 |
+
"bbox": [
|
| 1623 |
+
517,
|
| 1624 |
+
103,
|
| 1625 |
+
873,
|
| 1626 |
+
277
|
| 1627 |
+
],
|
| 1628 |
+
"page_idx": 12
|
| 1629 |
+
},
|
| 1630 |
+
{
|
| 1631 |
+
"type": "image",
|
| 1632 |
+
"img_path": "images/dcec4185a5fef4c3dd60e4caa8629a2f2c8aead8bf54a79c699154c42db4b6dc.jpg",
|
| 1633 |
+
"image_caption": [
|
| 1634 |
+
"Figure 7: Deviation in accuracy of GPT-J from the baseline across various bAbI tasks. Like the encoder-decoder architecture, the decoder-only architecture also exhibits brittleness towards entity replacement."
|
| 1635 |
+
],
|
| 1636 |
+
"image_footnote": [],
|
| 1637 |
+
"bbox": [
|
| 1638 |
+
124,
|
| 1639 |
+
282,
|
| 1640 |
+
492,
|
| 1641 |
+
454
|
| 1642 |
+
],
|
| 1643 |
+
"page_idx": 12
|
| 1644 |
+
},
|
| 1645 |
+
{
|
| 1646 |
+
"type": "image",
|
| 1647 |
+
"img_path": "images/dd0e5c65da0264ed6197fea3b66ecd58100960523f9ca9ebb2bff5d611931eb4.jpg",
|
| 1648 |
+
"image_caption": [],
|
| 1649 |
+
"image_footnote": [],
|
| 1650 |
+
"bbox": [
|
| 1651 |
+
517,
|
| 1652 |
+
282,
|
| 1653 |
+
873,
|
| 1654 |
+
454
|
| 1655 |
+
],
|
| 1656 |
+
"page_idx": 12
|
| 1657 |
+
},
|
| 1658 |
+
{
|
| 1659 |
+
"type": "image",
|
| 1660 |
+
"img_path": "images/7125dc817e6dab1e6722d82340e62eee3454ac6ec98b07e07996c0c5ee4e27ef.jpg",
|
| 1661 |
+
"image_caption": [
|
| 1662 |
+
"Figure 8: An example of a generated answer from the GSM8k test dataset. In this instance, the original prompt fails to generate the correct answer, whereas the transformed prompt — with the best-performing entity replaced — successfully produces the correct response. This generated text is reproducible using a greedy decoding."
|
| 1663 |
+
],
|
| 1664 |
+
"image_footnote": [],
|
| 1665 |
+
"bbox": [
|
| 1666 |
+
115,
|
| 1667 |
+
546,
|
| 1668 |
+
882,
|
| 1669 |
+
840
|
| 1670 |
+
],
|
| 1671 |
+
"page_idx": 12
|
| 1672 |
+
},
|
| 1673 |
+
{
|
| 1674 |
+
"type": "page_number",
|
| 1675 |
+
"text": "10926",
|
| 1676 |
+
"bbox": [
|
| 1677 |
+
477,
|
| 1678 |
+
928,
|
| 1679 |
+
524,
|
| 1680 |
+
940
|
| 1681 |
+
],
|
| 1682 |
+
"page_idx": 12
|
| 1683 |
+
},
|
| 1684 |
+
{
|
| 1685 |
+
"type": "table",
|
| 1686 |
+
"img_path": "images/f221659095d2f3d58305b8b5881a62c7f2a1dda85f5423d06a99a52b9d2c80ce.jpg",
|
| 1687 |
+
"table_caption": [],
|
| 1688 |
+
"table_footnote": [],
|
| 1689 |
+
"table_body": "<table><tr><td rowspan=\"2\">Dataset</td><td rowspan=\"2\">Index</td><td colspan=\"3\">Best performing entity</td><td colspan=\"3\">Worst performing entity</td></tr><tr><td>entity</td><td>Acc change (valid)</td><td>Acc change (test)</td><td>entity</td><td>Acc change (valid)</td><td>Acc change (test)</td></tr><tr><td rowspan=\"10\">bAbI task 12 valid baseline Acc = 95.1 test baseline Acc = 95.5</td><td>1</td><td>Penelope</td><td>3.6</td><td>3.0</td><td>Mihai</td><td>-4.0</td><td>-2.3</td></tr><tr><td>2</td><td>Loreen</td><td>3.6</td><td>3.0</td><td>Raisa</td><td>-4.0</td><td>-3.6</td></tr><tr><td>3</td><td>Dorcas</td><td>3.6</td><td>3.2</td><td>Ethel</td><td>-3.7</td><td>-3.5</td></tr><tr><td>4</td><td>Toby</td><td>3.4</td><td>3.4</td><td>Migdalia</td><td>-3.0</td><td>-4.0</td></tr><tr><td>5</td><td>Flora</td><td>3.3</td><td>2.9</td><td>Azucena</td><td>-2.6</td><td>-3.2</td></tr><tr><td>6</td><td>Nataliya</td><td>3.3</td><td>3.4</td><td>Bhavana</td><td>-2.6</td><td>-3.6</td></tr><tr><td>7</td><td>Nathaniel</td><td>3.3</td><td>3.4</td><td>Surinder</td><td>-2.1</td><td>-0.9</td></tr><tr><td>8</td><td>Lucretia</td><td>3.3</td><td>3.3</td><td>Sanjeev</td><td>-1.9</td><td>-1.7</td></tr><tr><td>9</td><td>Keiko</td><td>3.2</td><td>3.0</td><td>Armida</td><td>-1.8</td><td>-1.1</td></tr><tr><td>10</td><td>Bernardo</td><td>3.2</td><td>3.1</td><td>Jianwei</td><td>-1.7</td><td>-1.4</td></tr><tr><td colspan=\"4\">Majority@10</td><td>3.5</td><td></td><td></td><td></td></tr><tr><td rowspan=\"10\">bAbI task 14 valid baseline Acc = 76.1 test baseline Acc = 77.5</td><td>1</td><td>Erich</td><td>2.9</td><td>2.0</td><td>Frederick</td><td>-1.4</td><td>-1.2</td></tr><tr><td>2</td><td>Jacqueline</td><td>2.6</td><td>1.8</td><td>Raisa</td><td>-1.3</td><td>-1.3</td></tr><tr><td>3</td><td>Zoltan</td><td>2.4</td><td>2.3</td><td>Maryellen</td><td>-0.5</td><td>-0.6</td></tr><tr><td>4</td><td>Chryystal</td><td>2.3</td><td>1.5</td><td>Meera</td><td>-0.5</td><td>-0.5</td></tr><tr><td>5</td><td>Petra</td><td>2.2</td><td>1.1</td><td>—</td><td>—</td><td>—</td></tr><tr><td>6</td><td>Pravin</td><td>2.2</td><td>1.8</td><td>—</td><td>—</td><td>—</td></tr><tr><td>7</td><td>Claudio</td><td>2.2</td><td>1.0</td><td>—</td><td>—</td><td>—</td></tr><tr><td>8</td><td>Sanjeev</td><td>2.2</td><td>1.1</td><td>—</td><td>—</td><td>—</td></tr><tr><td>9</td><td>Soledad</td><td>2.1</td><td>2.1</td><td>—</td><td>—</td><td>—</td></tr><tr><td>10</td><td>Prashant</td><td>2.1</td><td>2.3</td><td>—</td><td>—</td><td>—</td></tr><tr><td colspan=\"4\">Majority@10</td><td>2.0</td><td></td><td></td><td></td></tr><tr><td rowspan=\"10\">bAbI task 16 valid baseline Acc = 53.5 test baseline Acc = 53.3</td><td>1</td><td>Loyd</td><td>8.9</td><td>8.4</td><td>—</td><td>—</td><td>—</td></tr><tr><td>2</td><td>Armida</td><td>8.7</td><td>8.1</td><td>—</td><td>—</td><td>—</td></tr><tr><td>3</td><td>Brannon</td><td>8.7</td><td>9.5</td><td>—</td><td>—</td><td>—</td></tr><tr><td>4</td><td>Pravin</td><td>8.4</td><td>8.8</td><td>—</td><td>—</td><td>—</td></tr><tr><td>5</td><td>Bozena</td><td>8.1</td><td>8.2</td><td>—</td><td>—</td><td>—</td></tr><tr><td>6</td><td>Surinder</td><td>8.0</td><td>7.2</td><td>—</td><td>—</td><td>—</td></tr><tr><td>7</td><td>Bonita</td><td>8.0</td><td>7.1</td><td>—</td><td>—</td><td>—</td></tr><tr><td>8</td><td>Trena</td><td>8.0</td><td>6.9</td><td>—</td><td>—</td><td>—</td></tr><tr><td>9</td><td>Rosalia</td><td>7.9</td><td>6.2</td><td>—</td><td>—</td><td>—</td></tr><tr><td>10</td><td>Leopoldo</td><td>7.7</td><td>9.3</td><td>—</td><td>—</td><td>—</td></tr><tr><td colspan=\"4\">Majority@10</td><td>8.0</td><td></td><td></td><td></td></tr><tr><td rowspan=\"10\">GSM8k valid baseline Acc = 14.3 test baseline Acc = 10.5</td><td>1</td><td>Douglas</td><td>0.5</td><td>0.9</td><td>Leopoldo</td><td>-2.5</td><td>-0.8</td></tr><tr><td>2</td><td>Juliann</td><td>0.4</td><td>0.2</td><td>Youssef</td><td>-1.9</td><td>-0.3</td></tr><tr><td>3</td><td>Kathleen</td><td>0.3</td><td>0.4</td><td>Epifanioo</td><td>-1.7</td><td>0.5</td></tr><tr><td>4</td><td>Ernst</td><td>0.3</td><td>0.4</td><td>Sanjeev</td><td>-1.6</td><td>-0.8</td></tr><tr><td>5</td><td>Tonja</td><td>0.3</td><td>0.0</td><td>Zoltan</td><td>-1.5</td><td>-0.3</td></tr><tr><td>6</td><td>Angela</td><td>0.2</td><td>0.2</td><td>Jianwei</td><td>-1.4</td><td>-0.4</td></tr><tr><td>7</td><td>Hina</td><td>0.2</td><td>-0.3</td><td>Abelardo</td><td>-1.3</td><td>-0.7</td></tr><tr><td>8</td><td>Diego</td><td>0.2</td><td>0.4</td><td>Alphonse</td><td>-1.3</td><td>-0.7</td></tr><tr><td>9</td><td>Bradley</td><td>0.1</td><td>0.9</td><td>Dagoberto</td><td>-1.3</td><td>-0.5</td></tr><tr><td>10</td><td>Jonathan</td><td>0.1</td><td>0.8</td><td>Nathaniel</td><td>-1.2</td><td>-0.1</td></tr><tr><td colspan=\"4\">Majority@10</td><td>0.8</td><td></td><td></td><td></td></tr><tr><td rowspan=\"10\">CLUTRR valid baseline Acc = 59.0 test baseline Acc = 53.0</td><td>1</td><td>Ashlee</td><td>4.4</td><td>1.2</td><td>Rob</td><td>-8.2</td><td>0.6</td></tr><tr><td>2</td><td>Penelope</td><td>3.4</td><td>3.4</td><td>Ahmad</td><td>-8.0</td><td>-0.2</td></tr><tr><td>3</td><td>Allyson</td><td>3.2</td><td>1.0</td><td>Mihai</td><td>-7.6</td><td>0.6</td></tr><tr><td>4</td><td>Chryystal</td><td>2.8</td><td>2.6</td><td>Frederick</td><td>-7.6</td><td>-0.4</td></tr><tr><td>5</td><td>Keiko</td><td>2.8</td><td>-4.4</td><td>Martin</td><td>-7.4</td><td>0.6</td></tr><tr><td>6</td><td>Alisha</td><td>2.6</td><td>3.0</td><td>Jake</td><td>-7.4</td><td>-0.4</td></tr><tr><td>7</td><td>Rosalba</td><td>2.4</td><td>1.8</td><td>Edward</td><td>-7.4</td><td>0.2</td></tr><tr><td>8</td><td>Jacqueline</td><td>2.2</td><td>2.0</td><td>Erik</td><td>-7.4</td><td>0.2</td></tr><tr><td>9</td><td>Zoltan</td><td>2.2</td><td>1.2</td><td>Giovanni</td><td>-7.4</td><td>-0.4</td></tr><tr><td>10</td><td>Dillon</td><td>2.0</td><td>1.4</td><td>Douglas</td><td>-7.2</td><td>-0.2</td></tr><tr><td colspan=\"4\">Majority@10</td><td>1.6</td><td></td><td></td><td></td></tr></table>",
|
| 1690 |
+
"bbox": [
|
| 1691 |
+
114,
|
| 1692 |
+
153,
|
| 1693 |
+
884,
|
| 1694 |
+
760
|
| 1695 |
+
],
|
| 1696 |
+
"page_idx": 13
|
| 1697 |
+
},
|
| 1698 |
+
{
|
| 1699 |
+
"type": "text",
|
| 1700 |
+
"text": "Table 2: Performance of the best and worst performing entities in the validation and test datasets. The green color signifies consistent performance between the validation and test datasets, while the orange color indicates inconsistency. The entities, selected based on their performance in the validation dataset, show consistent behavior in the test dataset, suggesting that they generalize in each dataset. We have noted less than 10 entities in some columns because the remaining entities did not reduce the accuracy compared to the baseline.",
|
| 1701 |
+
"bbox": [
|
| 1702 |
+
112,
|
| 1703 |
+
766,
|
| 1704 |
+
884,
|
| 1705 |
+
843
|
| 1706 |
+
],
|
| 1707 |
+
"page_idx": 13
|
| 1708 |
+
},
|
| 1709 |
+
{
|
| 1710 |
+
"type": "page_number",
|
| 1711 |
+
"text": "10927",
|
| 1712 |
+
"bbox": [
|
| 1713 |
+
477,
|
| 1714 |
+
927,
|
| 1715 |
+
524,
|
| 1716 |
+
940
|
| 1717 |
+
],
|
| 1718 |
+
"page_idx": 13
|
| 1719 |
+
},
|
| 1720 |
+
{
|
| 1721 |
+
"type": "text",
|
| 1722 |
+
"text": "Contrary to our hypothesis and expectations, there appears to be no correlation between the frequency of names and the performance of LLMs in entity replacement.",
|
| 1723 |
+
"bbox": [
|
| 1724 |
+
112,
|
| 1725 |
+
84,
|
| 1726 |
+
487,
|
| 1727 |
+
148
|
| 1728 |
+
],
|
| 1729 |
+
"page_idx": 14
|
| 1730 |
+
},
|
| 1731 |
+
{
|
| 1732 |
+
"type": "text",
|
| 1733 |
+
"text": "B.4 Effect of entity token length",
|
| 1734 |
+
"text_level": 1,
|
| 1735 |
+
"bbox": [
|
| 1736 |
+
112,
|
| 1737 |
+
159,
|
| 1738 |
+
381,
|
| 1739 |
+
174
|
| 1740 |
+
],
|
| 1741 |
+
"page_idx": 14
|
| 1742 |
+
},
|
| 1743 |
+
{
|
| 1744 |
+
"type": "text",
|
| 1745 |
+
"text": "The token length of a prompt can directly influence the performance of a QA task, particularly as it relates to the computational demands on the model. A longer prompt, represented by a larger number of tokens, increases the amount of data the model must process, potentially straining the model's capabilities and affecting the overall efficiency and accuracy of the task. Changes in the token length of a replaced name, which in turn modify the prompt's overall token length due to multiple instances of the name within the prompt, provide an interesting variable for analysis. We delved into this potential effect by examining the model's performance in relation to the token length of names, as illustrated in Fig 10. Contrary to expectations, our study found no observable correlation between the model's performance and the token length of names. This suggests that, within the ranges examined, the token length of names does not significantly affect the model's performance in QA tasks.",
|
| 1746 |
+
"bbox": [
|
| 1747 |
+
112,
|
| 1748 |
+
180,
|
| 1749 |
+
489,
|
| 1750 |
+
501
|
| 1751 |
+
],
|
| 1752 |
+
"page_idx": 14
|
| 1753 |
+
},
|
| 1754 |
+
{
|
| 1755 |
+
"type": "text",
|
| 1756 |
+
"text": "B.5 Perplexity Analysis",
|
| 1757 |
+
"text_level": 1,
|
| 1758 |
+
"bbox": [
|
| 1759 |
+
112,
|
| 1760 |
+
512,
|
| 1761 |
+
315,
|
| 1762 |
+
527
|
| 1763 |
+
],
|
| 1764 |
+
"page_idx": 14
|
| 1765 |
+
},
|
| 1766 |
+
{
|
| 1767 |
+
"type": "text",
|
| 1768 |
+
"text": "Our expectation was to observe a strong inverse correlation between the perplexity and accuracy of the model across all datasets, according to the findings reported in (Gonen et al., 2022a). However, we noted this inverse correlation only in some datasets, such as the bAbI task 14 (as shown in Figure Fig 11), but not in all of them. A plausible explanation for this inconsistency could be significant differences in our methodology compared to the approach adopted in (Gonen et al., 2022a). In our study, we limited our alterations to substituting named entities within the prompts, as opposed to changing the entire prompt. Therefore, this discrepancy in data augmentation techniques could potentially account for the lack of a significant correlation in some datasets.",
|
| 1769 |
+
"bbox": [
|
| 1770 |
+
112,
|
| 1771 |
+
533,
|
| 1772 |
+
489,
|
| 1773 |
+
788
|
| 1774 |
+
],
|
| 1775 |
+
"page_idx": 14
|
| 1776 |
+
},
|
| 1777 |
+
{
|
| 1778 |
+
"type": "text",
|
| 1779 |
+
"text": "Fig 12 shows the deviation of ppl from the baseline across various tasks. Regardless of the task, a more reduction in prompt ppl was observed when entities were replaced both in demonstrations and queries, compared to the other two data augmentation settings. This can likely be attributed to the repeated usage of the same replaced named entity within the prompt. The frequent repetition",
|
| 1780 |
+
"bbox": [
|
| 1781 |
+
112,
|
| 1782 |
+
791,
|
| 1783 |
+
489,
|
| 1784 |
+
919
|
| 1785 |
+
],
|
| 1786 |
+
"page_idx": 14
|
| 1787 |
+
},
|
| 1788 |
+
{
|
| 1789 |
+
"type": "text",
|
| 1790 |
+
"text": "of the same named entity can contribute to lower ppl due to the decreased uncertainty and increased predictability of the next word in the sequence.",
|
| 1791 |
+
"bbox": [
|
| 1792 |
+
507,
|
| 1793 |
+
84,
|
| 1794 |
+
882,
|
| 1795 |
+
133
|
| 1796 |
+
],
|
| 1797 |
+
"page_idx": 14
|
| 1798 |
+
},
|
| 1799 |
+
{
|
| 1800 |
+
"type": "page_number",
|
| 1801 |
+
"text": "10928",
|
| 1802 |
+
"bbox": [
|
| 1803 |
+
477,
|
| 1804 |
+
927,
|
| 1805 |
+
524,
|
| 1806 |
+
940
|
| 1807 |
+
],
|
| 1808 |
+
"page_idx": 14
|
| 1809 |
+
},
|
| 1810 |
+
{
|
| 1811 |
+
"type": "image",
|
| 1812 |
+
"img_path": "images/58e32b9a1d8be3aca18b8d21e84a5e900f70751678a1380cd248c6f16e43b277.jpg",
|
| 1813 |
+
"image_caption": [],
|
| 1814 |
+
"image_footnote": [],
|
| 1815 |
+
"bbox": [
|
| 1816 |
+
127,
|
| 1817 |
+
181,
|
| 1818 |
+
494,
|
| 1819 |
+
368
|
| 1820 |
+
],
|
| 1821 |
+
"page_idx": 15
|
| 1822 |
+
},
|
| 1823 |
+
{
|
| 1824 |
+
"type": "image",
|
| 1825 |
+
"img_path": "images/0cc51f357f2b90ed53ae8166969af204f584d8fafa2185109bbc91b4a56ce1de.jpg",
|
| 1826 |
+
"image_caption": [],
|
| 1827 |
+
"image_footnote": [],
|
| 1828 |
+
"bbox": [
|
| 1829 |
+
517,
|
| 1830 |
+
181,
|
| 1831 |
+
870,
|
| 1832 |
+
368
|
| 1833 |
+
],
|
| 1834 |
+
"page_idx": 15
|
| 1835 |
+
},
|
| 1836 |
+
{
|
| 1837 |
+
"type": "image",
|
| 1838 |
+
"img_path": "images/37ac92f5d8397bfd8fa8e32f952baaca36d88b46979b43e1f016f85873041a4a.jpg",
|
| 1839 |
+
"image_caption": [],
|
| 1840 |
+
"image_footnote": [],
|
| 1841 |
+
"bbox": [
|
| 1842 |
+
141,
|
| 1843 |
+
378,
|
| 1844 |
+
492,
|
| 1845 |
+
565
|
| 1846 |
+
],
|
| 1847 |
+
"page_idx": 15
|
| 1848 |
+
},
|
| 1849 |
+
{
|
| 1850 |
+
"type": "image",
|
| 1851 |
+
"img_path": "images/1d19d6b25aead79dfcb0ff6c926cc9fd0417248d8d82c84e24c3aea76fb21d11.jpg",
|
| 1852 |
+
"image_caption": [],
|
| 1853 |
+
"image_footnote": [],
|
| 1854 |
+
"bbox": [
|
| 1855 |
+
517,
|
| 1856 |
+
376,
|
| 1857 |
+
870,
|
| 1858 |
+
565
|
| 1859 |
+
],
|
| 1860 |
+
"page_idx": 15
|
| 1861 |
+
},
|
| 1862 |
+
{
|
| 1863 |
+
"type": "image",
|
| 1864 |
+
"img_path": "images/e25d5ca2003cba21a913c6ef1a965a09b79d7e307a69ec6dc759e92aa9bc3f36.jpg",
|
| 1865 |
+
"image_caption": [
|
| 1866 |
+
"Figure 9: The performance of Flan-T5-XL in relation to the frequency of names derived from a demographic dataset. Contrary to expectations, no correlation appears to exist between the frequency of names and the performance of Flan-T5-XL."
|
| 1867 |
+
],
|
| 1868 |
+
"image_footnote": [],
|
| 1869 |
+
"bbox": [
|
| 1870 |
+
141,
|
| 1871 |
+
574,
|
| 1872 |
+
494,
|
| 1873 |
+
760
|
| 1874 |
+
],
|
| 1875 |
+
"page_idx": 15
|
| 1876 |
+
},
|
| 1877 |
+
{
|
| 1878 |
+
"type": "image",
|
| 1879 |
+
"img_path": "images/6a5d7a6d2b38215a0d6e2ad3e8f5a130ea23aae41f6b5fa36ac2822f535aa51a.jpg",
|
| 1880 |
+
"image_caption": [],
|
| 1881 |
+
"image_footnote": [],
|
| 1882 |
+
"bbox": [
|
| 1883 |
+
519,
|
| 1884 |
+
574,
|
| 1885 |
+
870,
|
| 1886 |
+
760
|
| 1887 |
+
],
|
| 1888 |
+
"page_idx": 15
|
| 1889 |
+
},
|
| 1890 |
+
{
|
| 1891 |
+
"type": "page_number",
|
| 1892 |
+
"text": "10929",
|
| 1893 |
+
"bbox": [
|
| 1894 |
+
477,
|
| 1895 |
+
927,
|
| 1896 |
+
524,
|
| 1897 |
+
940
|
| 1898 |
+
],
|
| 1899 |
+
"page_idx": 15
|
| 1900 |
+
},
|
| 1901 |
+
{
|
| 1902 |
+
"type": "image",
|
| 1903 |
+
"img_path": "images/eb4910993580662683da331b1c3466154c0a8e1cdebb80164a4dc0471c38e127.jpg",
|
| 1904 |
+
"image_caption": [],
|
| 1905 |
+
"image_footnote": [],
|
| 1906 |
+
"bbox": [
|
| 1907 |
+
127,
|
| 1908 |
+
181,
|
| 1909 |
+
494,
|
| 1910 |
+
368
|
| 1911 |
+
],
|
| 1912 |
+
"page_idx": 16
|
| 1913 |
+
},
|
| 1914 |
+
{
|
| 1915 |
+
"type": "image",
|
| 1916 |
+
"img_path": "images/c7f334e2cef818d5180ef97130361a86b3d660760b22cb7e08f9a0d0fb42075f.jpg",
|
| 1917 |
+
"image_caption": [],
|
| 1918 |
+
"image_footnote": [],
|
| 1919 |
+
"bbox": [
|
| 1920 |
+
517,
|
| 1921 |
+
181,
|
| 1922 |
+
870,
|
| 1923 |
+
369
|
| 1924 |
+
],
|
| 1925 |
+
"page_idx": 16
|
| 1926 |
+
},
|
| 1927 |
+
{
|
| 1928 |
+
"type": "image",
|
| 1929 |
+
"img_path": "images/ee690188a4278ea50a5461c0a43e0aaf3f0ff4d7fff300a5ba0fa3646094d636.jpg",
|
| 1930 |
+
"image_caption": [],
|
| 1931 |
+
"image_footnote": [],
|
| 1932 |
+
"bbox": [
|
| 1933 |
+
141,
|
| 1934 |
+
378,
|
| 1935 |
+
494,
|
| 1936 |
+
565
|
| 1937 |
+
],
|
| 1938 |
+
"page_idx": 16
|
| 1939 |
+
},
|
| 1940 |
+
{
|
| 1941 |
+
"type": "image",
|
| 1942 |
+
"img_path": "images/45a432677bb3ac51bada3ed1361b45190d4ef9e46315b0587fa17bf3fff65c92.jpg",
|
| 1943 |
+
"image_caption": [],
|
| 1944 |
+
"image_footnote": [],
|
| 1945 |
+
"bbox": [
|
| 1946 |
+
517,
|
| 1947 |
+
376,
|
| 1948 |
+
870,
|
| 1949 |
+
565
|
| 1950 |
+
],
|
| 1951 |
+
"page_idx": 16
|
| 1952 |
+
},
|
| 1953 |
+
{
|
| 1954 |
+
"type": "image",
|
| 1955 |
+
"img_path": "images/e631edc615afeea6f5496310d1725428481ff0d60956520a0768f6f8d03ae95f.jpg",
|
| 1956 |
+
"image_caption": [
|
| 1957 |
+
"Figure 10: The performance of various names in relation to their token length when using Flan-T5-XL. There is no apparent correlation between the performance and the token length in names. The quantity of names corresponding to each group of token lengths is illustrated on the plot."
|
| 1958 |
+
],
|
| 1959 |
+
"image_footnote": [],
|
| 1960 |
+
"bbox": [
|
| 1961 |
+
142,
|
| 1962 |
+
574,
|
| 1963 |
+
494,
|
| 1964 |
+
760
|
| 1965 |
+
],
|
| 1966 |
+
"page_idx": 16
|
| 1967 |
+
},
|
| 1968 |
+
{
|
| 1969 |
+
"type": "image",
|
| 1970 |
+
"img_path": "images/5a8ab99e5b23ee2e077f59376c0bde6c68b9ac10248c552ba1a7fba4f3196ec0.jpg",
|
| 1971 |
+
"image_caption": [],
|
| 1972 |
+
"image_footnote": [],
|
| 1973 |
+
"bbox": [
|
| 1974 |
+
519,
|
| 1975 |
+
574,
|
| 1976 |
+
870,
|
| 1977 |
+
760
|
| 1978 |
+
],
|
| 1979 |
+
"page_idx": 16
|
| 1980 |
+
},
|
| 1981 |
+
{
|
| 1982 |
+
"type": "page_number",
|
| 1983 |
+
"text": "10930",
|
| 1984 |
+
"bbox": [
|
| 1985 |
+
477,
|
| 1986 |
+
927,
|
| 1987 |
+
526,
|
| 1988 |
+
940
|
| 1989 |
+
],
|
| 1990 |
+
"page_idx": 16
|
| 1991 |
+
},
|
| 1992 |
+
{
|
| 1993 |
+
"type": "image",
|
| 1994 |
+
"img_path": "images/55ef7e12e623edcf93b4f8edc5372fd7fc5edd4d38bf0d9b0f3204b7b0536358.jpg",
|
| 1995 |
+
"image_caption": [
|
| 1996 |
+
"Figure 11: Correlation between prompt perplexity (ppl) and LLM performance for task 14 and GPT-J-6B across various data augmentation settings. The accuracy and perplexity of prompt for the baseline are shown by red lines. Although a statistically significant inverse correlation between accuracy and ppl is observed in this dataset, this trend is not consistent across all datasets. The absence of this trend, contrary to expectation, could be attributed to the nature of our data augmentation approach, which only involved entity replacement instead of entire prompt modification."
|
| 1997 |
+
],
|
| 1998 |
+
"image_footnote": [],
|
| 1999 |
+
"bbox": [
|
| 2000 |
+
126,
|
| 2001 |
+
118,
|
| 2002 |
+
384,
|
| 2003 |
+
292
|
| 2004 |
+
],
|
| 2005 |
+
"page_idx": 17
|
| 2006 |
+
},
|
| 2007 |
+
{
|
| 2008 |
+
"type": "image",
|
| 2009 |
+
"img_path": "images/308344b9ef32d4e7ad0cee1a5995f4c16dc916fdad0a39aaf452168c7b965240.jpg",
|
| 2010 |
+
"image_caption": [],
|
| 2011 |
+
"image_footnote": [],
|
| 2012 |
+
"bbox": [
|
| 2013 |
+
386,
|
| 2014 |
+
118,
|
| 2015 |
+
625,
|
| 2016 |
+
292
|
| 2017 |
+
],
|
| 2018 |
+
"page_idx": 17
|
| 2019 |
+
},
|
| 2020 |
+
{
|
| 2021 |
+
"type": "image",
|
| 2022 |
+
"img_path": "images/ab2d347feb646d3499a5a59a68a7b05e460ec4ac40d0a38f083b45d11ed2fbde.jpg",
|
| 2023 |
+
"image_caption": [],
|
| 2024 |
+
"image_footnote": [],
|
| 2025 |
+
"bbox": [
|
| 2026 |
+
625,
|
| 2027 |
+
118,
|
| 2028 |
+
870,
|
| 2029 |
+
292
|
| 2030 |
+
],
|
| 2031 |
+
"page_idx": 17
|
| 2032 |
+
},
|
| 2033 |
+
{
|
| 2034 |
+
"type": "image",
|
| 2035 |
+
"img_path": "images/f5c65aec909b08d9053bcfa5d800e94e9356bb5254188cd6537a95db895722bf.jpg",
|
| 2036 |
+
"image_caption": [],
|
| 2037 |
+
"image_footnote": [],
|
| 2038 |
+
"bbox": [
|
| 2039 |
+
122,
|
| 2040 |
+
470,
|
| 2041 |
+
495,
|
| 2042 |
+
646
|
| 2043 |
+
],
|
| 2044 |
+
"page_idx": 17
|
| 2045 |
+
},
|
| 2046 |
+
{
|
| 2047 |
+
"type": "image",
|
| 2048 |
+
"img_path": "images/350b9857cc3b55f107480b196ec3f22045615f87988c8087faec994472bf696b.jpg",
|
| 2049 |
+
"image_caption": [],
|
| 2050 |
+
"image_footnote": [],
|
| 2051 |
+
"bbox": [
|
| 2052 |
+
499,
|
| 2053 |
+
470,
|
| 2054 |
+
873,
|
| 2055 |
+
646
|
| 2056 |
+
],
|
| 2057 |
+
"page_idx": 17
|
| 2058 |
+
},
|
| 2059 |
+
{
|
| 2060 |
+
"type": "image",
|
| 2061 |
+
"img_path": "images/df0cfa71990b174c091e6d0f0b0f68a287f359214d474e3a5b816523961a6f4e.jpg",
|
| 2062 |
+
"image_caption": [
|
| 2063 |
+
"Figure 12: Deviation of prompt ppl for GPT-J-6B from the baseline across different tasks. A greater reduction in prompt ppl is observed when entities are replaced in both demonstrations and queries, a trend likely driven by the recurrent usage of the same replaced named entity within the prompt."
|
| 2064 |
+
],
|
| 2065 |
+
"image_footnote": [],
|
| 2066 |
+
"bbox": [
|
| 2067 |
+
122,
|
| 2068 |
+
649,
|
| 2069 |
+
494,
|
| 2070 |
+
822
|
| 2071 |
+
],
|
| 2072 |
+
"page_idx": 17
|
| 2073 |
+
},
|
| 2074 |
+
{
|
| 2075 |
+
"type": "image",
|
| 2076 |
+
"img_path": "images/b762292e2ec4bcf50af5382be903b24fe5be2077e24f0663b2a059c110810f73.jpg",
|
| 2077 |
+
"image_caption": [],
|
| 2078 |
+
"image_footnote": [],
|
| 2079 |
+
"bbox": [
|
| 2080 |
+
499,
|
| 2081 |
+
649,
|
| 2082 |
+
873,
|
| 2083 |
+
822
|
| 2084 |
+
],
|
| 2085 |
+
"page_idx": 17
|
| 2086 |
+
},
|
| 2087 |
+
{
|
| 2088 |
+
"type": "page_number",
|
| 2089 |
+
"text": "10931",
|
| 2090 |
+
"bbox": [
|
| 2091 |
+
477,
|
| 2092 |
+
927,
|
| 2093 |
+
522,
|
| 2094 |
+
940
|
| 2095 |
+
],
|
| 2096 |
+
"page_idx": 17
|
| 2097 |
+
}
|
| 2098 |
+
]
|
2023/Robustness of Named-Entity Replacements for In-Context Learning/92b3e48a-ba9b-4031-b53b-6f1de232b262_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2023/Robustness of Named-Entity Replacements for In-Context Learning/92b3e48a-ba9b-4031-b53b-6f1de232b262_origin.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7e0704ead5e413959fb7c0d4559ebc2b00fa2d7c299d6b78463234f6440f5272
|
| 3 |
+
size 1144672
|
2023/Robustness of Named-Entity Replacements for In-Context Learning/full.md
ADDED
|
@@ -0,0 +1,362 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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saeed Goodarzi† Nikhil Kagita† Dennis Minn† Shufan Wang†
|
| 4 |
+
|
| 5 |
+
Roberto Dessi $^{\infty, \pi}$ Shubham Toshniwal $^{\nabla}$ Adina Williams $^{\infty}$
|
| 6 |
+
|
| 7 |
+
Jack Lanchantin\*,Koustuv Sinha\*,
|
| 8 |
+
|
| 9 |
+
†University of Massachusetts Amherst; †Universitat Pompeu Fabra
|
| 10 |
+
∇NVIDIA; †FAIR, Meta
|
| 11 |
+
|
| 12 |
+
sgoodarzitae@umass.edu, koustuvs@meta.com
|
| 13 |
+
|
| 14 |
+
# Abstract
|
| 15 |
+
|
| 16 |
+
A key feature of modern large language models (LLMs) is their ability to perform in-context learning, a prompting technique where query-answer demonstrations are shown before the final query. This allows for generalization to novel distributions at inference time where the LLM can learn new rules without parameter updates. However, the choice of demonstrations and their relationship to a particular query can have a profound impact on model accuracy, raising concerns about the true in-context generalization capabilities (Zhao et al., 2021). In this work, we explore the robustness of the in-context learning paradigm by focusing on entities. In particular, we seek to understand the robustness of LLM in-context learning with respect to named entity replacements. We discover a significant variance in downstream performance based on the choice of the named entities, across three popular reasoning tasks and two popular LLMs. Specifically, model accuracy on the test sets can fluctuate between -2.7 to +8.0 points depending on the choice of named entity replacements. Our analysis exposes the sensitivity of LLM in-context learning with respect to named entities, and offers a simple recipe to improve test performance by hyper-parameter tuning the named entities for a given dataset. Code and datasets for reproducing the results are publicly available. $^{1}$
|
| 17 |
+
|
| 18 |
+
# 1 Introduction
|
| 19 |
+
|
| 20 |
+
Modern large language models (LLMs) routinely demonstrate in-context learning, where the model can solve a wide range of tasks from a few demonstration examples (or exemplars) (Brown et al., 2020). In-context learning, or few-shot prompting, is a powerful learning paradigm as it allows for fast adaptation to new tasks without the need to train
|
| 21 |
+
|
| 22 |
+
https://github.com/DennisMinn/ entities-in-context
|
| 23 |
+
|
| 24 |
+
*Equal Leadership.
|
| 25 |
+
|
| 26 |
+
# Original Demonstration
|
| 27 |
+
|
| 28 |
+
[...] context: Jason had 20 lollipops. He gave Denny some lollipops. Now Jason has 12 lollipops.
|
| 29 |
+
|
| 30 |
+
question: How many lollipops did Jason give to Denny?
|
| 31 |
+
answer: Jason started with 20 lollipops. Then he had 12 after giving some to Denny. So he gave Denny 20 - 12 = 8.
|
| 32 |
+
|
| 33 |
+
[...] context: A bakery produces 60 loaves of bread each day. Two-thirds of the loaves are sold in the morning and half of what is left is sold equally in the afternoon and evening. question: How many loaves of bread are sold in the afternoon? answer: $60 \times 2 / 3 = 40$ loaves of bread are sold in the morning. $60 - 40 = 20$ loaves of bread are left. $20 \times 2 = 40$ loaves of bread are sold in the afternoon. ###
|
| 34 |
+
|
| 35 |
+
# Named Entity Replaced Demonstration
|
| 36 |
+
|
| 37 |
+
[...] context: Douglas had 20 lollipops. He gave Denny some lollipops. Now Douglas has 12 lollipops.
|
| 38 |
+
|
| 39 |
+
question: How many lollipops did Douglas give to Denny?
|
| 40 |
+
answer: Douglas started with 20 lollipops. Then he had 12 after giving some to Denny.
|
| 41 |
+
So he gave Denny 20 - 12 = 8.
|
| 42 |
+
|
| 43 |
+
[...] context: A bakery produces 60 loaves of bread each day. Two-thirds of the loaves are sold in the morning and half of what is left is sold equally in the afternoon and evening. question: How many loaves of bread are sold in the afternoon? answer: $60 \times 2 / 3 = 40$ loaves of bread are sold in the morning. $60 - 40 = 20$ loaves of bread are left. $20 \times 1 / 2 = 10$ loaves of bread are sold in the afternoon. ### 10
|
| 44 |
+
|
| 45 |
+
Figure 1: Named entity replacements for In-Context Learning. Example from FLAN-T5 on GSM8k (Cobbe et al., 2021). Here we replace all male entities $(e^{o})$ in demonstrations with Douglas, and observe a change in the query answer prediction (from the incorrect answer 40 to the correct answer 10). Only 1 out of $k = 5$ demonstrations $(D)$ is depicted to conserve space, with the remaining demonstrations denoted by “[...]”.
|
| 46 |
+
|
| 47 |
+
model parameters. However, model performance in the in-context setting can vary significantly with the choice of demonstrations. Previous work has uncovered performance instability when altering the demonstrations, particularly when the demonstrations change semantically (Schick and Schütze, 2020; Zhao et al., 2021; Perez et al., 2021; Gonen et al., 2022a). Naturally, a question arises whether LLMs are robust to semantically preserving, minimal alterations to the demonstrations.
|
| 48 |
+
|
| 49 |
+
In this paper, we seek to address this question using simple, semantically preserving alterations: named entity replacements. Because changing named entities should not, in principle, change the correct response to the query, the model is expected to remain invariant to such modifications. For example, given the demonstration "Alice has
|
| 50 |
+
|
| 51 |
+
the ball. Alice went to the kitchen. Where is the ball? kitchen.", the model should be invariant to the choice of the named entity "Alice"-i.e., a model should behave the same if we swap all instances of "Alice" with another named entity, e.g. "Eve". However, we observe that the model behavior is not always robust to such alterations (Figure 1)—prompting us to critically evaluate named entity invariance within in-context learning.
|
| 52 |
+
|
| 53 |
+
We conduct experiments to investigate the robustness of LLM in-context learning with respect to named entity replacements in three popular named entity heavy reasoning tasks, namely, bAbI, Weston et al. 2015; CLUTRR, Sinha et al. 2019; GSM8k, Cobbe et al. 2021, and two popular models, Flant5-XL (Chung et al., 2022a) and GPT-J (Wang and Komatsuzaki, 2021). Our key findings are:
|
| 54 |
+
|
| 55 |
+
- Neither Flan-T5-XL nor GPT-J are robust to entity replacements for in-context learning. On bAbI tasks, the best replacement entity yields a +8.0 point performance increase (for Task 16), and the worst replacement entity yields a -2.7 point performance drop (Task 12). Similarly, for CLUTRR, we observe a 1.6 point improvement. For GSM8k, we only find <1 point increase/decrease with entity replacements.
|
| 56 |
+
- Performance gains from best performing entities are not random. To verify, we ran a bootstrap analysis and observe consistent gains with low variance.
|
| 57 |
+
- Best/worst performing entities are task-specific.
|
| 58 |
+
- We also analyze frequency, token length and perplexity of replaced entities, and find none of these alone explain our results, introducing an open problem for future research.
|
| 59 |
+
|
| 60 |
+
# 2 Experimental Setup
|
| 61 |
+
|
| 62 |
+
The goal of this study is to investigate the robustness of LLMs' in-context learning performance by changing entities in the demonstrations and queries. We consider a fixed set of prompt demonstrations aside from the named entities. By replacing the named entities and observing any accuracy changes, we can better understand the effect of certain entities on a model's accuracy. While many prior works have studied the robustness of LLMs with respect to perturbations (Ribeiro et al., 2020; Jin et al., 2020; Balasubramanian et al., 2020), we focus our analysis on in-context learning. A more in-depth analysis of related work is provided in
|
| 63 |
+
|
| 64 |
+
Appendix subsection A.1.
|
| 65 |
+
|
| 66 |
+
# 2.1 In-Context Learning
|
| 67 |
+
|
| 68 |
+
With in-context learning, a test sample is comprised of a sequence of $k$ demonstrations $D = d_{1},d_{2},\ldots ,d_{k}$ . Each $d_{i}$ consists of a context, question and answer string. The final query $q$ , consisting only of a context and question string, follows $D$ . The goal of in-context learning is to predict the answer to $q$ given a small set of demonstrations at inference time. In other words, learning is done by eliciting activations and not changing model parameters.
|
| 69 |
+
|
| 70 |
+
# 2.2 Modifying In-Context Learning with Named Entity Replacement
|
| 71 |
+
|
| 72 |
+
We seek to measure the change in accuracy when we replace named entities in the demonstrations $(D)$ and/or query $(q)$ . We perform entity replacement in the following way.
|
| 73 |
+
|
| 74 |
+
We first extract the named entities from each demonstration and query using an off-the-shelf NER model, and flag the subject entity, $e^o$ , for replacement. We then select a replacement entity $e^r$ from a large set of entities from Tzioumis (2018), which is composed of 4,250 unique first names. Finally, we perform named entity replacement in one of the following three settings: $(D)$ replace all $e^o$ entities in the demonstrations, $e_{d_1}^o, e_{d_2}^o, \dots, e_{d_k}^o$ , $(q)$ replace all $e^o$ entities in the query, $e_q^o$ , or $(D$ and $q)$ replace all $e^o$ entities in both the query and demonstrations, $e_{d_1}^o, e_{d_2}^o, \dots, e_{d_k}^o, e_q^o$ . Note that each demonstration $d_i$ can contain multiple instances of the entity $e^o$ . These settings allow us to isolate and evaluate the effect of named entities in different parts of an in-context learning sample on accuracy.
|
| 75 |
+
|
| 76 |
+
We run multiple experiments using bootstrap sampling (with replacement) on three sets of names, half labeled as 'male' and half as 'female'. For each name $e^r$ in a particular bootstrap set, we replace the original entities $e^o$ with $e^r$ in the test samples according to one of the three previously mentioned settings. We then evaluate the performance on the entity-replaced dataset. This procedure is repeated for each bootstrap set.
|
| 77 |
+
|
| 78 |
+

|
| 79 |
+
Figure 2: Bootstrap results of Flan-T5-XL on validation sets for 3 distinct sets of 200 names. Error bars represent the variation across bootstrap sets of names.
|
| 80 |
+
|
| 81 |
+
Baseline results are reported using the original prompt demonstrations and query. However, our replacement strategy introduces a frequency bias, as $e^r$ is used to replace multiple demonstrations in a given input, resulting in artificially increasing the usage of a given entity in an input. Thus, we also report the median accuracy of replacement, which serves as a proxy baseline for replacing all demonstrations and/or query with a random entity.
|
| 82 |
+
|
| 83 |
+
# 2.3 Models and Datasets
|
| 84 |
+
|
| 85 |
+
We evaluate our entity replacement strategy on both an encoder-decoder LLM (Flan-T5-XL, 3B; Chung et al. 2022b) as well as a decoder-only LLM (GPT-J, 6B; Wang and Komatsuzaki 2021). We test these models across the following datasets: bAbI (Tasks 1, 12, 14, 16; Weston et al. 2015), CLUTRR (Sinha et al., 2019), GSM8k (Cobbe et al., 2021). We chose these datasets primarily because they include a significant presence of named entities.
|
| 86 |
+
|
| 87 |
+
For each dataset, we select five samples from the training set to serve as demonstrations. To maintain grammatical correctness and clarity, we
|
| 88 |
+
|
| 89 |
+
only do replacements that preserve gender when a pronoun is contained in the sentence (see Appendix A.5). This step specifically addresses any potential uncontrolled effects on the performance from entity replacement, such as perplexity spikes that may results from swaps where the genders of $e^{o}$ and $e^{r}$ differ, and the model is expected to accommodate unexpected pronominal coreference with $e^{r}$ .
|
| 90 |
+
|
| 91 |
+
# 3 Results
|
| 92 |
+
|
| 93 |
+
Performance Across Bootstrap Sets. We find a noticeable change in accuracy with the best and worst performing entity compared to the baseline or median performing entity. Figure 2 shows Flant5-XL results on all validation datasets (analogous GPT-J results are in Figure 5 in the Appendix, and follow a similar pattern). This indicates that specific entities can noticeably alter in-context learning performance. Furthermore, the standard deviations for the median and best performing entity across bootstraps are low, suggesting that the selection of different name sets will likely yield similar median and best performance. However, the variation in the worst performing entities is large.
|
| 94 |
+
|
| 95 |
+
Performance Within a Single Bootstrap Set. To analyze the results in more detail, we measure the performance for Flan-T5-XL and GPT-J on a single bootstrap set of 200 examples. We show the results for bAbI task 14 in Figure 3. When we replace names only in the demonstrations $(D)$ , the variance in model performance is lower compared to both when we replace names only in the query $(q)$ and in both query and demonstration $(D$ and $q)$ . The $(D$ and $q)$ setup exhibits the highest variance, as this scenario involves the maximum change in the tokens of the original prompt. Nevertheless, we see a consistent variance from the baseline by simply replacing named entities in any of the three replacement settings. Other datasets exhibit a similar behavior; see Appendix Figures 6 and 7.
|
| 96 |
+
|
| 97 |
+
Best and Worst Entity Generalization. Thus far, we've used the valid set to demonstrate accuracy variation. To evaluate the best performing entities on the test set, we implement a majority voting method as follows. We first find the 10 best performing entities on the valid set. For each sample in the test set, we take the majority answer prediction from the 10 different best names, denoted "Maj@10". Table 1 shows results of entity replacements across the validation and test sets by replac
|
| 98 |
+
|
| 99 |
+
ing entities in the demonstration and query (both $D$ and $q$ ). We observe a maximum 8.0 point accuracy increase, seen on bAbI task 16. $^{6}$ The best and worst performing entities vary by dataset, but overall entities generalize across the validation and test sets, with a uniform increase in accuracy from the best entity. A list of these entities for each dataset and further evaluations are in Appendix Table 2.
|
| 100 |
+
|
| 101 |
+
For all datasets, there are entities with appreciable deviations from the baseline, and these entities generalize across the validation and test splits. This finding indicates that the observed accuracy shifts are not coincidental and highlights the influence of entity swaps, including those that preserve overall example semantics, such as for names, on model performance.
|
| 102 |
+
|
| 103 |
+
# 4 Analysis
|
| 104 |
+
|
| 105 |
+
Why are the models not invariant to entity replacements? We conducted several analyses in attempts to find the root cause of this result, but they were largely inconclusive.
|
| 106 |
+
|
| 107 |
+
Does the frequency of names affect how much they shift model performance? The lack of robustness could well be explained by the frequency effects of named entities in the training corpus of the pre-trained model (Wei et al., 2021). We use the entity frequency data provided by Tzioumis (2018), and assessed performance changes across names with varying frequencies. We do not find any correlation between name frequency and the model performance post entity replacement (see Appendix Section B.3).
|
| 108 |
+
|
| 109 |
+
Does the token length of names affect performance? Another hypothesis of the invariance could be due to the inconsistent tokenization of named entities. Rare names can be tokenized into longer tokens based on the learned subwords of the model. We analyzed token length post tokenization and compared it with model performance, but we are unable to find any meaningful relationship between the two (see Appendix Section B.4).
|
| 110 |
+
|
| 111 |
+
Does improved performance result from a decrease in prompt perplexity due to entity replacement? Finally, the surprisal of the LLM to certain entities could be a promising hypothesis to explain the change in model performance (Gonen et al., 2022b). We compare prompt perplexity af
|
| 112 |
+
|
| 113 |
+

|
| 114 |
+
|
| 115 |
+

|
| 116 |
+
bAbI Task 14 (Baseline Accuracy=70)
|
| 117 |
+
Figure 3: Accuracy for Flan-T5-XL and GPT-J-6B on bAbI task 14 for a single bootstrap set of 200 samples.
|
| 118 |
+
|
| 119 |
+
ter entity replacement to LLM performance, and yet again we are unable to find a statistical correlation (see Appendix Section B.5). While Gonen et al. (2022b) suggests improvement of model performance with decrease in perplexity, we observe certain entities displaying the opposite behavior.
|
| 120 |
+
|
| 121 |
+
# 5 Conclusion
|
| 122 |
+
|
| 123 |
+
In this study, we find that LLMs exhibit a consistent lack of robustness with respect to named entity replacement for the in-context learning setting, fur
|
| 124 |
+
|
| 125 |
+
<table><tr><td rowspan="2">Dataset</td><td colspan="2">Baseline</td><td colspan="2">Best Entity</td><td colspan="2">Worst Entity</td></tr><tr><td>Valid</td><td>Test</td><td>Valid</td><td>Test (Maj@10)</td><td>Valid</td><td>Test</td></tr><tr><td>bAbI 12</td><td>95.1</td><td>95.5</td><td>98.5 [+3.4]</td><td>99.0 [+3.5]</td><td>92.4 [-2.7]</td><td>93.0 [-2.5]</td></tr><tr><td>bAbI 14</td><td>76.1</td><td>77.5</td><td>78.4 [+2.3]</td><td>79.5 [+2.0]</td><td>75.2 [-0.9]</td><td>76.6 [-0.9]</td></tr><tr><td>bAbI 16</td><td>53.5</td><td>53.3</td><td>61.7 [+8.2]</td><td>61.3 [+8.0]</td><td>55.5 [+2.0]</td><td>55.9 [+2.6]</td></tr><tr><td>GSM8k</td><td>14.3</td><td>10.5</td><td>14.6 [+0.3]</td><td>11.3 [+0.8]</td><td>12.7 [-1.6]</td><td>10.1 [-0.4]</td></tr><tr><td>CLUTRR</td><td>59.0</td><td>53.0</td><td>61.8 [+2.8]</td><td>54.6 [+1.6]</td><td>51.4 [-7.6]</td><td>53.1 [+0.1]</td></tr></table>
|
| 126 |
+
|
| 127 |
+
Table 1: Performance of FLAN-T5-XL, with accuracy shift from baseline provided in [square brackets]. Entity replacements are done in the $D$ and $q$ setting. bAbI task 1 reaches perfect accuracy and is thus omitted from this table. Performance between the validation and test datasets is consistent, and we observe a generalizable increase in accuracy across all datasets.
|
| 128 |
+
|
| 129 |
+
ther questioning the process of reasoning employed by these models (Min et al., 2022). We demonstrate this across three axes: the complexity of the task, the model architecture, and which named entities are to be replaced (in the demonstrations, query, or both). The cause for this effect remains elusive, which opens up exciting research directions. One intriguing result is that the entities that can boost performance are dataset specific. This points to potential avenues for enhancing LLM downstream performance by performing hyperparameter search over a range of entities.
|
| 130 |
+
|
| 131 |
+
# 6 Limitations
|
| 132 |
+
|
| 133 |
+
We acknowledge that the selection of names in our study may not provide an unbiased representation of the complete set of possible names. The data provided by Tzioumis (2018) was derived from mortgage applications which may introduce a bias against popular names within marginalized communities. Moreover, this issue is compounded when we sub-sample the set of names due to computational limitations. Additionally, we used a NER model available through Hugging Face to identify $e^o$ . It was BERT-based (Devlin et al., 2018) and trained on a CONLL-2003 corpus (Tjong Kim Sang and De Meulder, 2003) (Wolf et al., 2019), and we anecdotally observed that sometimes it struggles to identify rare names as named entities, for example, it incorrectly identified "TreQuan" as "TreQ." We spot checked for this issue and removed names that posed problems to the best of our abilities.
|
| 134 |
+
|
| 135 |
+
# 7 Ethics and Broader Impact
|
| 136 |
+
|
| 137 |
+
In this work, we explore the effect of name swaps in an in-context learning setup and find that particular names can increase accuracy. In our efforts to align names with their respective pronouns, we assumed binary gender, but acknowledge that other genders exist. We made this assumption because our evaluated datasets used binary pronouns, and our names dataset was also only binarily annotated. While our paper assumes name-gender associations, we do not want to discredit negative evidence. A name that is not explicitly associated with a gender doesn't imply evidence of absence of association (imagine that only one person named "Alex" was sampled, and she was a woman—that doesn't mean that there aren't also men or nonbinary people called "Alex"). At the moment, there aren't many annotated name datasets that consists
|
| 138 |
+
|
| 139 |
+
of gender-agnostic, gender-ambiguous, or gender-neutral names. Hopefully, additional work such as (Dev et al., 2021; Lauscher et al., 2022; Ovalle et al., 2023) will expand such resources, but regardless of these complications, our conclusions are still useful for trying to understand why some names can shift model performance under some settings.
|
| 140 |
+
|
| 141 |
+
# References
|
| 142 |
+
|
| 143 |
+
2023. Genderize.io. https://genderize.io/. Accessed: June 15, 2023.
|
| 144 |
+
Oshin Agarwal, Yinfei Yang, Byron C Wallace, and Ani Nenkova. 2020. Entity-switched datasets: An approach to auditing the in-domain robustness of named entity recognition models. arXiv preprint arXiv:2004.04123.
|
| 145 |
+
Sriram Balasubramanian, Naman Jain, Gaurav Jindal, Abhijeet Awasthi, and Sunita Sarawagi. 2020. What's in a name? are BERT named entity representations just as good for any other name? In Proceedings of the 5th Workshop on Representation Learning for NLP, pages 205-214, Online. Association for Computational Linguistics.
|
| 146 |
+
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.
|
| 147 |
+
Hyung Won Chung, Le Hou, Shayne Longpre, Barret Zoph, Yi Tay, William Fedus, Eric Li, Xuezhi Wang, Mostafa Dehghani, Siddhartha Brahma, Albert Webson, Shixiang Shane Gu, Zhuyun Dai, Mirac Suzgun, Xinyun Chen, Aakanksha Chowdhery, Sharan Narang, Gaurav Mishra, Adams Yu, Vincent Zhao, Yanping Huang, Andrew Dai, Hongkun Yu, Slav Petrov, Ed H. Chi, Jeff Dean, Jacob Devlin, Adam Roberts, Denny Zhou, Quoc V. Le, and Jason Wei. 2022a. Scaling instruction-finetuned language models. arXiv:2210.11416.
|
| 148 |
+
Hyung Won Chung, Le Hou, Shayne Longpre, Barret Zoph, Yi Tay, William Fedus, Eric Li, Xuezhi Wang, Mostafa Dehghani, Siddhartha Brahma, et al. 2022b. Scaling instruction-finetuned language models. arXiv preprint arXiv:2210.11416.
|
| 149 |
+
Karl Cobbe, Vineet Kosaraju, Mohammad Bavarian, Mark Chen, Heewoo Jun, Lukasz Kaiser, Matthias Plappert, Jerry Tworek, Jacob Hilton, Reiichiro Nakano, Christopher Hesse, and John Schulman. 2021. Training verifiers to solve math word problems. arXiv preprint arXiv:2110.14168.
|
| 150 |
+
Sunipa Dev, Masoud Monajatipoor, Anaelia Ovalle, Arjun Subramonian, Jeff Phillips, and Kai-Wei Chang.
|
| 151 |
+
|
| 152 |
+
2021. Harms of gender exclusivity and challenges in non-binary representation in language technologies. In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing, pages 1968-1994, Online and Punta Cana, Dominican Republic. Association for Computational Linguistics.
|
| 153 |
+
Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. 2018. BERT: pre-training of deep bidirectional transformers for language understanding. CoRR, abs/1810.04805.
|
| 154 |
+
Javid Ebrahimi, Anyi Rao, Daniel Lowd, and Dejing Dou. 2017. Hotflip: White-box adversarial examples for text classification. arXiv preprint arXiv:1712.06751.
|
| 155 |
+
Ji Gao, Jack Lanchantin, Mary Lou Soffa, and Yanjun Qi. 2018. Black-box generation of adversarial text sequences to evade deep learning classifiers. In 2018 IEEE Security and Privacy Workshops (SPW), pages 50-56. IEEE.
|
| 156 |
+
Hila Gonen, Srini Iyer, Terra Blevins, Noah A Smith, and Luke Zettlemoyer. 2022a. Demystifying prompts in language models via perplexity estimation. arXiv preprint arXiv:2212.04037.
|
| 157 |
+
Hila Gonen, Shauli Ravfogel, and Yoav Goldberg. 2022b. Analyzing gender representation in multilingual models. In Proceedings of the 7th Workshop on Representation Learning for NLP, pages 67-77, Dublin, Ireland. Association for Computational Linguistics.
|
| 158 |
+
Di Jin, Zhijing Jin, Joey Tianyi Zhou, and Peter Szolovits. 2020. Is bert really robust? a strong baseline for natural language attack on text classification and entailment. In Proceedings of the AAAI conference on artificial intelligence, volume 34, pages 8018-8025.
|
| 159 |
+
Anne Lauscher, Archie Crowley, and Dirk Hovy. 2022. Welcome to the modern world of pronouns: Identity-inclusive natural language processing beyond gender. In Proceedings of the 29th International Conference on Computational Linguistics, pages 1221-1232, Gyeongju, Republic of Korea. International Committee on Computational Linguistics.
|
| 160 |
+
Bill Yuchen Lin, Wenyang Gao, Jun Yan, Ryan Moreno, and Xiang Ren. 2021. RockNER: A simple method to create adversarial examples for evaluating the robustness of named entity recognition models. In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing, pages 3728-3737, Online and Punta Cana, Dominican Republic. Association for Computational Linguistics.
|
| 161 |
+
Jiachang Liu, Dinghan Shen, Yizhe Zhang, Bill Dolan, Lawrence Carin, and Weizhu Chen. 2021. What makes good in-context examples for gpt-3? arXiv preprint arXiv:2101.06804.
|
| 162 |
+
|
| 163 |
+
Robert L Logan IV, Ivana Balažević, Eric Wallace, Fabio Petroni, Sameer Singh, and Sebastian Riedel. 2021. Cutting down on prompts and parameters: Simple few-shot learning with language models. arXiv preprint arXiv:2106.13353.
|
| 164 |
+
Sewon Min, Xinxi Lyu, Ari Holtzman, Mikel Artetxe, Mike Lewis, Hannaneh Hajishirzi, and Luke Zettlemoyer. 2022. Rethinking the role of demonstrations: What makes in-context learning work? arXiv preprint arXiv:2202.12837.
|
| 165 |
+
Anaelia Ovalle, Palash Goyal, Jwala Dhamala, Zachary Jaggers, Kai-Wei Chang, Aram Galstyan, Richard Zemel, and Rahul Gupta. 2023. "i'm fully who i am": Towards centering transgender and non-binary voices to measure biases in open language generation. In Proceedings of the 2023 ACM Conference on Fairness, Accountability, and Transparency, pages 1246-1266.
|
| 166 |
+
Nicolas Papernot, Patrick McDaniel, Ananthram Swami, and Richard Harang. 2016. Crafting adversarial input sequences for recurrent neural networks. In MILCOM 2016-2016 IEEE Military Communications Conference, pages 49-54. IEEE.
|
| 167 |
+
Ethan Perez, Douwe Kiela, and Kyunghyun Cho. 2021. True few-shot learning with language models. Advances in neural information processing systems, 34:11054-11070.
|
| 168 |
+
Marco Tulio Ribeiro, Tongshuang Wu, Carlos Guestrin, and Sameer Singh. 2020. Beyond accuracy: Behavioral testing of NLP models with CheckList. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pages 4902-4912, Online. Association for Computational Linguistics.
|
| 169 |
+
Timo Schick and Hinrich Schütze. 2020. Exploiting cloze questions for few shot text classification and natural language inference. arXiv preprint arXiv:2001.07676.
|
| 170 |
+
Timo Schick and Hinrich Schütze. 2022. True few-shot learning with prompts—a real-world perspective. Transactions of the Association for Computational Linguistics, 10:716-731.
|
| 171 |
+
Taylor Shin, Yasaman Razeghi, Robert L Logan IV, Eric Wallace, and Sameer Singh. 2020. Autoprompt: Eliciting knowledge from language models with automatically generated prompts. arXiv preprint arXiv:2010.15980.
|
| 172 |
+
Koustuv Sinha, Shagun Sodhani, Jin Dong, Joelle Pineau, and William L Hamilton. 2019. Clutrr: A diagnostic benchmark for inductive reasoning from text. arXiv preprint arXiv:1908.06177.
|
| 173 |
+
Erik F. Tjong Kim Sang and Fien De Meulder. 2003. Introduction to the CoNLL-2003 shared task: Language-independent named entity recognition. In Proceedings of the Seventh Conference on Natural Language Learning at HLT-NAACL 2003, pages 142-147.
|
| 174 |
+
|
| 175 |
+
Miles Turpin, Julian Michael, Ethan Perez, and Samuel R Bowman. 2023. Language models don't always say what they think: Unfaithful explanations in chain-of-thought prompting. arXiv preprint arXiv:2305.04388.
|
| 176 |
+
Konstantinos Tzioumis. 2018. Demographic aspects of first names. Scientific data, 5(1):1-9.
|
| 177 |
+
Ben Wang and Aran Komatsuzaki. 2021. GPT-J-6B: A 6 Billion Parameter Autoregressive Language Model. https://github.com/kingoflolz/mesh-transformer-jax.
|
| 178 |
+
Xiao Wang, Qin Liu, Tao Gui, Qi Zhang, Yicheng Zou, Xin Zhou, Jiacheng Ye, Yongxin Zhang, Rui Zheng, Zexiong Pang, Qinzhuo Wu, Zhengyan Li, Chong Zhang, Ruotian Ma, Zichu Fei, Ruijian Cai, Jun Zhao, Xingwu Hu, Zhiheng Yan, Yiding Tan, Yuan Hu, Qiyuan Bian, Zhihua Liu, Shan Qin, Bolin Zhu, Xiaoyu Xing, Jinlan Fu, Yue Zhang, Minlong Peng, Xiaqing Zheng, Yaqian Zhou, Zhongyu Wei, Xipeng Qiu, and Xuanjing Huang. 2021. TextFlint: Unified multilingual robustness evaluation toolkit for natural language processing. In Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing: System Demonstrations, pages 347-355, Online. Association for Computational Linguistics.
|
| 179 |
+
Jason Wei, Dan Garrette, Tal Linzen, and Ellie Pavlick. 2021. Frequency effects on syntactic rule learning in transformers.
|
| 180 |
+
Jason Wei, Xuezhi Wang, Dale Schuurmans, Maarten Bosma, Ed Chi, Quoc Le, and Denny Zhou. 2022. Chain of thought prompting elicits reasoning in large language models. arXiv preprint arXiv:2201.11903.
|
| 181 |
+
Jason Weston, Antoine Bordes, Sumit Chopra, Alexander M Rush, Bart Van Merrienboer, Armand Joulin, and Tomas Mikolov. 2015. Towards ai-complete question answering: A set of prerequisite toy tasks. arXiv preprint arXiv:1502.05698.
|
| 182 |
+
Thomas Wolf, Lysandre Debut, Victor Sanh, Julien Chaumont, Clement Delangue, Anthony Moi, Pierric Cistac, Tim Rault, Rémi Louf, Morgan Funtowicz, et al. 2019. Huggingface's transformers: State-of-the-art natural language processing. arXiv preprint arXiv:1910.03771.
|
| 183 |
+
Zihao Zhao, Eric Wallace, Shi Feng, Dan Klein, and Sameer Singh. 2021. Calibrate before use: Improving few-shot performance of language models. In International Conference on Machine Learning, pages 12697-12706. PMLR.
|
| 184 |
+
|
| 185 |
+
# A Appendix
|
| 186 |
+
|
| 187 |
+
# A.1 Related Work
|
| 188 |
+
|
| 189 |
+
Several works investigated the robustness of language models with respect to input rewrites (Papernot et al., 2016; Ebrahimi et al., 2017; Gao et al., 2018; Jin et al., 2020). In particular, Balasubramanian et al. (2020) found that while fine-tuned BERT models were brittle in certain tasks, they demonstrated robustness against entity replacement for question answering. Other works have shown that many transformer-based models are insufficiently robust to name swaps (Ribeiro et al. 2020; Agarwal et al. 2020; Lin et al. 2021; Wang et al. 2021, i.a.), Our work differs from these in that we focus on the in-context learning setting.
|
| 190 |
+
|
| 191 |
+
The ability to do in-context learning first emerged from Brown et al. (2020). Subsequently, many works sought to improve and understand the abilities of LLMs with respect to in-context learning (Liu et al., 2021; Zhao et al., 2021). Perez et al. (2021); Logan IV et al. (2021); Schick and Schütze (2022); Turpin et al. (2023) show an improvement over the original paper in the the "true few-shot learning" setup where there is no access to a large test set to tune in-context learning hyperparameters. Despite the impressive results of this new paradigm, little has been understood regarding the generalization of certain in-context demonstrations.
|
| 192 |
+
|
| 193 |
+
Gonen et al. (2022a) bring to attention the importance of the specific prompts in model performance. They show that the lower the perplexity of the prompt is, the better the prompt is able to perform the task. Min et al. (2022) show that the actual labels in the prompt are not very important. However, the labels still have a small impact in performance.
|
| 194 |
+
|
| 195 |
+
In recent years, several studies have explored the significance of prompt quality in few-shot learning, particularly in the context of question-answering tasks. One such study was conducted by Shin et al. (2020) who proposed AutoPrompt, an automated approach for prompt generation in few-shot learning scenarios that has been shown to achieve the highest accuracy. The AutoPrompt model leverages gradient-based prompt search techniques to find the optimal prompt for a given task, thereby reducing the need for human intervention. Additionally, AutoPrompt utilizes Masked Language Models (MLMs) to perform sentiment analysis and natural language inference tasks without the need for fine-tuning, highlighting the potential of MLMs
|
| 196 |
+
|
| 197 |
+
in few-shot learning scenarios. In another study, Gonen et al. (2022a) introduced a novel technique for prompt generation that involves using a small set of manually created prompts and then applying paraphrasing and backtranslation to generate additional prompts automatically. Specifically, they utilized GPT-3 to perform the paraphrasing step, which involves rephrasing the original prompts while preserving their underlying meaning. The backtranslation step then involves translating the paraphrased prompts into another language and then back into the original language to generate new prompts that are semantically similar to the original prompts but with different phrasing and wording. This approach enables the generation of a large number of diverse prompts without requiring extensive manual effort, which can be particularly useful in few-shot learning scenarios where data is limited. Gonen et al. (2022a) also demonstrated an inverse relationship between the perplexity of the prompts and the model's performance across various tasks.
|
| 198 |
+
|
| 199 |
+
Our work is related to previous studies as we focus on the true few-shot learning setup for the task of question answering and explore the robustness of NLP models against entity replacement. There are three main ways in which our work differs from previous studies. First, our investigation focuses on analyzing the robustness of language models against entity replacement specifically for the task of question answering in the ICL setup, which has not been explored in previous studies. Second, we utilize left-to-right language models, which are more widely used and powerful than masked language models. Finally, our approach involves prompt-learning instead of fine-tuning, whereby the parameters of the language model are modified to improve its performance on specific tasks. By leveraging the true few-shot learning setup and prompt-learning techniques, we aim to develop a more robust and effective approach for few-shot question-answering tasks that can handle entity replacement and other challenges more effectively.
|
| 200 |
+
|
| 201 |
+
# A.2 Dataset Details
|
| 202 |
+
|
| 203 |
+
bAbI (Weston et al., 2015): The bAbI dataset consists of 20 tasks that evaluate various aspects of language understanding by NLP models. In our experiments, we select four tasks representing varying degrees of difficulty from the bAbI dataset: task 1, task 12, task 14, and task 16.
|
| 204 |
+
|
| 205 |
+
context: Mary and $[e_{d1}]$ travelled to the
|
| 206 |
+
bathroom. John and $[e_{d1}]$ travelled to the office.
|
| 207 |
+
question: Where is $[e_{d1}]$ ?
|
| 208 |
+
answer: office
|
| 209 |
+
????
|
| 210 |
+
context: $[e_{d2}]$ and Mary went back to the office.
|
| 211 |
+
Daniel and Sandra went to the bedroom.
|
| 212 |
+
question: Where is $[e_{d2}]$ ?
|
| 213 |
+
answer: bedroom
|
| 214 |
+
????
|
| 215 |
+
context: Daniel and John moved to the hallway.
|
| 216 |
+
$[e_q]$ and Daniel journeyed to the bathroom.
|
| 217 |
+
question: Where is $[e_q]$ ?
|
| 218 |
+
answer:
|
| 219 |
+
|
| 220 |
+
Figure 4: Named entity replacement overview for in context learning. Here we show an in-context learning example with $k = 2$ demonstrations before the final query. We consider 3 scenarios: replacing only the demonstration entities $(e_{d1}, e_{d2})$ , only the query entity $(e_q)$ , or both $(e_{d1}, e_{d2}, e_q)$ . All replacements are done with the same replacement entity $e^r$ .
|
| 221 |
+
|
| 222 |
+
CLUTRR (Sinha et al., 2019): This dataset is similar to a subset of the bAbI dataset, but contains more difficult multi-step questions. This allows us to determine whether named entity replacement robustness is affected by task difficulty. Given a multi-sentence context describing kinship relations between certain entities and a question, the task is to predict the kinship relation between the entities that can be inferred from the context but is not made explicit. We convert this into a multiple-choice question where we expect the model to pick the answer from the four choices provided.
|
| 223 |
+
|
| 224 |
+
GSM8k (Cobbe et al., 2021): This dataset is a collection of elementary multi-step mathematical reasoning questions. We specifically selected this dataset due to the challenging nature of arithmetic operations, where existing models often struggle to achieve accurate results. We subsampled GSM8k to include only examples which contained identifiable named entities.
|
| 225 |
+
|
| 226 |
+
The Tzioumis (2018) dataset, contains of 4,250 unique first names, associated with their unigram frequency, and self-reported demographic information.
|
| 227 |
+
|
| 228 |
+
For each sample in the dataset, which is comprised of a context, question, and answer triplet, we transform it into a formatted string. This transformation involves concatenating the field name, a colon, space, the respective value corresponding to that field, and newline character. We ap
|
| 229 |
+
|
| 230 |
+
ply this transformation to $k$ demonstrations: $D = d_{1},d_{2},\ldots ,d_{k}$ and the final query $q$ , where the answer to $q$ is omitted. We concatenate the formatted $k$ demonstrations and query $q$ , delimiting each string with a newline character followed by $"\# \# \# "$ and a newline character. Figure 4 shows an incontext learning example.
|
| 231 |
+
|
| 232 |
+
# A.3 Entity Selection
|
| 233 |
+
|
| 234 |
+
In general, we determine $e^o$ by selecting the first encountered entity within the question, as it often represents the subject of the question. If the question contains interrogative pronouns, such as "who," no entities will be present within the question. In this case, we consider $e^o$ as the first entity encountered within the answer since it typically represents the subject being referred to. If the subject of the question and answer is referred to using pronouns then neither the question nor answer will contain any entities, we assume that noun ambiguity is not an issue and select the first encountered entity within the context as $e^o$ .
|
| 235 |
+
|
| 236 |
+
# A.4 Entity-replacement Scenarios
|
| 237 |
+
|
| 238 |
+
In the demonstration-only replacement scenario, we perform entity replacement exclusively on the demonstrations $e_d$ while keeping the query unmodified 4. By selectively replacing entities within the context, question, and answer of the demonstrations, we aim to examine the extent to which this replacement strategy influences the model's performance.
|
| 239 |
+
|
| 240 |
+
In the query-only replacement setting, we solely augment the entities within the query $e_{q}$ while leaving the demonstrations unaltered Fig 4. This allows us to investigate the impact of enhancing the query's entity representation on the model's ability to generate accurate responses.
|
| 241 |
+
|
| 242 |
+
Applying both demonstration and query replacement, we replace $e_d$ and $e_q$ in both the demonstrations and query simultaneously. By enriching the entity information in both the context and the question, we explore the combined effect of entity replacement on the overall performance of the model.
|
| 243 |
+
|
| 244 |
+
# A.5 Ensuring Grammatical Correctness
|
| 245 |
+
|
| 246 |
+
To begin, we verify the pronouns associated with both $e^o$ and $e^r$ using (gen, 2023). If the gender associated with $e^o$ corresponds with that of $e^r$ , we proceed to substitute $e^o$ with $e^r$ . However, if there
|
| 247 |
+
|
| 248 |
+
is no alignment in gender, we refrain from altering $e^o$ and maintain its original form.
|
| 249 |
+
|
| 250 |
+
# B Analysis
|
| 251 |
+
|
| 252 |
+
# B.1 Analyzing Best/Worst performing entities
|
| 253 |
+
|
| 254 |
+
In order to examine the generalizability of the best and worst performing entities in each dataset, we extracted named entities from the validation dataset and tested them on the test dataset. More specifically, we replaced the named entities in the prompts of the validation dataset with a set of names that included 100 male and 100 female names. We then calculated the accuracy for each name, selecting the 10 names that exhibited the highest performance and the 10 names that showed the lowest performance. Next, we replaced the named entities in the test dataset prompts with these 20 selected names and calculated the corresponding accuracy for the test dataset. Table 2 presents the best and worst performing entities for each dataset along with the absolute percentage of accuracy changes. The ensemble model functions by replacing the named entity in the prompt with the highest performing entity and then generating an answer at each step. After cycling through the 10 best performing entities, it selects the answer with the most votes as the final response. This approach is referred to as majority@10. It's important to note that the bAbI task 1 doesn't have a 'best performing entity' because the baseline accuracy is already $100\%$ , leaving no room for improvement.
|
| 255 |
+
|
| 256 |
+
Figure 8 provides an example of an generated answer for the GSM8k test dataset. The original prompt failed to produce the correct answer, while the transformed prompt was able to successfully answer the question. The absolute improvement of $0.8\%$ in the accuracy of GSM8k through the majority@10 is remarkable, given the following facts: 1) The baseline accuracy for this challenging dataset is $10.5\%$ , making even a small improvement significant. 2) The number of named entities in GSM8k is fewer than in other datasets, meaning only a few words are replaced in the transformed prompt, as shown in Figure 8. The ratio of replaced words to the total number of words in the prompt is 0.032. 3) Of the 1319 examples in the GSM8k test dataset, 663 contain a male name, 377 contain a female name, and 279 don't contain any named entity in the query. We could have achieved greater changes in percentage if we had only considered examples where the gender of the best perform
|
| 257 |
+
|
| 258 |
+
ing entity matched the gender of the name in the query (as replacements wouldn't occur otherwise). However, we chose not to adjust the test dataset to ensure that our accuracy improvement could be compared with other studies.
|
| 259 |
+
|
| 260 |
+
The consistency in performance between the validation and test datasets in CLUTRR is lower than that in the other datasets. This could be attributed to the structure of CLUTRR, where four options are provided in the prompt, from which the model chooses an answer. This setup introduces a degree of randomness to the generated answer, potentially leading to less consistency between the performance of the validation and test datasets.
|
| 261 |
+
|
| 262 |
+
# B.2 LLM Architecture
|
| 263 |
+
|
| 264 |
+
The architecture of LLMs plays a crucial role in determining their behavior and performance, including their vulnerability to entity replacement. The design choices and architectural components of LLMs can influence how they process and generate text, affecting their sensitivity to changes in named input entities. By comparing the Flant5-XL, which employs an encoder-decoder architecture, with the GPT-J-6B, which represents a decoder-only architecture, we aimed to investigate the impact of LLM architecture on their brittleness towards entity replacement. The high variance in the performance of GPT-J (as shown in Fig 7) underscores that the brittleness towards entity replacement is not exclusive to the encoder-decoder architecture but is also a feature of decoder-only architecture models.
|
| 265 |
+
|
| 266 |
+
# B.3 Effect of entity frequency
|
| 267 |
+
|
| 268 |
+
Frequently recurring named entities in the web, which subsequently appear in the training data, can impact both the model's ppl and performance. Entities appearing frequently in the training data are more likely to be well-represented in the model's understanding, contributing to lower ppl values. This occurs because the frequent presence of these entities reduces the unpredictability of the next word in a sequence, making it easier for the LLM to anticipate. The hypothesis is that names appearing more frequently would contribute to better model performance. To examine this hypothesis, the frequency of names, extracted from (Tzioumis, 2018), were categorized into five groups of equal numbers, labeled G1 to G5, ranging from the most to the least frequent names. Fig 9 presents the performance of Flan-T5-XL across different datasets.
|
| 269 |
+
|
| 270 |
+

|
| 271 |
+
|
| 272 |
+

|
| 273 |
+
|
| 274 |
+

|
| 275 |
+
Figure 5: Bootstrap results of GPT-J-6B for 3 distinct sets of names, each comprising 200 names. Error bars represent the variation across different name sets.
|
| 276 |
+
|
| 277 |
+

|
| 278 |
+
|
| 279 |
+

|
| 280 |
+
|
| 281 |
+

|
| 282 |
+
|
| 283 |
+

|
| 284 |
+
|
| 285 |
+

|
| 286 |
+
|
| 287 |
+

|
| 288 |
+
Figure 6: Deviation in accuracy from the baseline (without data augmentation) for Flan-T5-XL across different datasets.
|
| 289 |
+
|
| 290 |
+

|
| 291 |
+
|
| 292 |
+

|
| 293 |
+
|
| 294 |
+

|
| 295 |
+
|
| 296 |
+

|
| 297 |
+
Figure 7: Deviation in accuracy of GPT-J from the baseline across various bAbI tasks. Like the encoder-decoder architecture, the decoder-only architecture also exhibits brittleness towards entity replacement.
|
| 298 |
+
|
| 299 |
+

|
| 300 |
+
|
| 301 |
+

|
| 302 |
+
Figure 8: An example of a generated answer from the GSM8k test dataset. In this instance, the original prompt fails to generate the correct answer, whereas the transformed prompt — with the best-performing entity replaced — successfully produces the correct response. This generated text is reproducible using a greedy decoding.
|
| 303 |
+
|
| 304 |
+
<table><tr><td rowspan="2">Dataset</td><td rowspan="2">Index</td><td colspan="3">Best performing entity</td><td colspan="3">Worst performing entity</td></tr><tr><td>entity</td><td>Acc change (valid)</td><td>Acc change (test)</td><td>entity</td><td>Acc change (valid)</td><td>Acc change (test)</td></tr><tr><td rowspan="10">bAbI task 12 valid baseline Acc = 95.1 test baseline Acc = 95.5</td><td>1</td><td>Penelope</td><td>3.6</td><td>3.0</td><td>Mihai</td><td>-4.0</td><td>-2.3</td></tr><tr><td>2</td><td>Loreen</td><td>3.6</td><td>3.0</td><td>Raisa</td><td>-4.0</td><td>-3.6</td></tr><tr><td>3</td><td>Dorcas</td><td>3.6</td><td>3.2</td><td>Ethel</td><td>-3.7</td><td>-3.5</td></tr><tr><td>4</td><td>Toby</td><td>3.4</td><td>3.4</td><td>Migdalia</td><td>-3.0</td><td>-4.0</td></tr><tr><td>5</td><td>Flora</td><td>3.3</td><td>2.9</td><td>Azucena</td><td>-2.6</td><td>-3.2</td></tr><tr><td>6</td><td>Nataliya</td><td>3.3</td><td>3.4</td><td>Bhavana</td><td>-2.6</td><td>-3.6</td></tr><tr><td>7</td><td>Nathaniel</td><td>3.3</td><td>3.4</td><td>Surinder</td><td>-2.1</td><td>-0.9</td></tr><tr><td>8</td><td>Lucretia</td><td>3.3</td><td>3.3</td><td>Sanjeev</td><td>-1.9</td><td>-1.7</td></tr><tr><td>9</td><td>Keiko</td><td>3.2</td><td>3.0</td><td>Armida</td><td>-1.8</td><td>-1.1</td></tr><tr><td>10</td><td>Bernardo</td><td>3.2</td><td>3.1</td><td>Jianwei</td><td>-1.7</td><td>-1.4</td></tr><tr><td colspan="4">Majority@10</td><td>3.5</td><td></td><td></td><td></td></tr><tr><td rowspan="10">bAbI task 14 valid baseline Acc = 76.1 test baseline Acc = 77.5</td><td>1</td><td>Erich</td><td>2.9</td><td>2.0</td><td>Frederick</td><td>-1.4</td><td>-1.2</td></tr><tr><td>2</td><td>Jacqueline</td><td>2.6</td><td>1.8</td><td>Raisa</td><td>-1.3</td><td>-1.3</td></tr><tr><td>3</td><td>Zoltan</td><td>2.4</td><td>2.3</td><td>Maryellen</td><td>-0.5</td><td>-0.6</td></tr><tr><td>4</td><td>Chryystal</td><td>2.3</td><td>1.5</td><td>Meera</td><td>-0.5</td><td>-0.5</td></tr><tr><td>5</td><td>Petra</td><td>2.2</td><td>1.1</td><td>—</td><td>—</td><td>—</td></tr><tr><td>6</td><td>Pravin</td><td>2.2</td><td>1.8</td><td>—</td><td>—</td><td>—</td></tr><tr><td>7</td><td>Claudio</td><td>2.2</td><td>1.0</td><td>—</td><td>—</td><td>—</td></tr><tr><td>8</td><td>Sanjeev</td><td>2.2</td><td>1.1</td><td>—</td><td>—</td><td>—</td></tr><tr><td>9</td><td>Soledad</td><td>2.1</td><td>2.1</td><td>—</td><td>—</td><td>—</td></tr><tr><td>10</td><td>Prashant</td><td>2.1</td><td>2.3</td><td>—</td><td>—</td><td>—</td></tr><tr><td colspan="4">Majority@10</td><td>2.0</td><td></td><td></td><td></td></tr><tr><td rowspan="10">bAbI task 16 valid baseline Acc = 53.5 test baseline Acc = 53.3</td><td>1</td><td>Loyd</td><td>8.9</td><td>8.4</td><td>—</td><td>—</td><td>—</td></tr><tr><td>2</td><td>Armida</td><td>8.7</td><td>8.1</td><td>—</td><td>—</td><td>—</td></tr><tr><td>3</td><td>Brannon</td><td>8.7</td><td>9.5</td><td>—</td><td>—</td><td>—</td></tr><tr><td>4</td><td>Pravin</td><td>8.4</td><td>8.8</td><td>—</td><td>—</td><td>—</td></tr><tr><td>5</td><td>Bozena</td><td>8.1</td><td>8.2</td><td>—</td><td>—</td><td>—</td></tr><tr><td>6</td><td>Surinder</td><td>8.0</td><td>7.2</td><td>—</td><td>—</td><td>—</td></tr><tr><td>7</td><td>Bonita</td><td>8.0</td><td>7.1</td><td>—</td><td>—</td><td>—</td></tr><tr><td>8</td><td>Trena</td><td>8.0</td><td>6.9</td><td>—</td><td>—</td><td>—</td></tr><tr><td>9</td><td>Rosalia</td><td>7.9</td><td>6.2</td><td>—</td><td>—</td><td>—</td></tr><tr><td>10</td><td>Leopoldo</td><td>7.7</td><td>9.3</td><td>—</td><td>—</td><td>—</td></tr><tr><td colspan="4">Majority@10</td><td>8.0</td><td></td><td></td><td></td></tr><tr><td rowspan="10">GSM8k valid baseline Acc = 14.3 test baseline Acc = 10.5</td><td>1</td><td>Douglas</td><td>0.5</td><td>0.9</td><td>Leopoldo</td><td>-2.5</td><td>-0.8</td></tr><tr><td>2</td><td>Juliann</td><td>0.4</td><td>0.2</td><td>Youssef</td><td>-1.9</td><td>-0.3</td></tr><tr><td>3</td><td>Kathleen</td><td>0.3</td><td>0.4</td><td>Epifanioo</td><td>-1.7</td><td>0.5</td></tr><tr><td>4</td><td>Ernst</td><td>0.3</td><td>0.4</td><td>Sanjeev</td><td>-1.6</td><td>-0.8</td></tr><tr><td>5</td><td>Tonja</td><td>0.3</td><td>0.0</td><td>Zoltan</td><td>-1.5</td><td>-0.3</td></tr><tr><td>6</td><td>Angela</td><td>0.2</td><td>0.2</td><td>Jianwei</td><td>-1.4</td><td>-0.4</td></tr><tr><td>7</td><td>Hina</td><td>0.2</td><td>-0.3</td><td>Abelardo</td><td>-1.3</td><td>-0.7</td></tr><tr><td>8</td><td>Diego</td><td>0.2</td><td>0.4</td><td>Alphonse</td><td>-1.3</td><td>-0.7</td></tr><tr><td>9</td><td>Bradley</td><td>0.1</td><td>0.9</td><td>Dagoberto</td><td>-1.3</td><td>-0.5</td></tr><tr><td>10</td><td>Jonathan</td><td>0.1</td><td>0.8</td><td>Nathaniel</td><td>-1.2</td><td>-0.1</td></tr><tr><td colspan="4">Majority@10</td><td>0.8</td><td></td><td></td><td></td></tr><tr><td rowspan="10">CLUTRR valid baseline Acc = 59.0 test baseline Acc = 53.0</td><td>1</td><td>Ashlee</td><td>4.4</td><td>1.2</td><td>Rob</td><td>-8.2</td><td>0.6</td></tr><tr><td>2</td><td>Penelope</td><td>3.4</td><td>3.4</td><td>Ahmad</td><td>-8.0</td><td>-0.2</td></tr><tr><td>3</td><td>Allyson</td><td>3.2</td><td>1.0</td><td>Mihai</td><td>-7.6</td><td>0.6</td></tr><tr><td>4</td><td>Chryystal</td><td>2.8</td><td>2.6</td><td>Frederick</td><td>-7.6</td><td>-0.4</td></tr><tr><td>5</td><td>Keiko</td><td>2.8</td><td>-4.4</td><td>Martin</td><td>-7.4</td><td>0.6</td></tr><tr><td>6</td><td>Alisha</td><td>2.6</td><td>3.0</td><td>Jake</td><td>-7.4</td><td>-0.4</td></tr><tr><td>7</td><td>Rosalba</td><td>2.4</td><td>1.8</td><td>Edward</td><td>-7.4</td><td>0.2</td></tr><tr><td>8</td><td>Jacqueline</td><td>2.2</td><td>2.0</td><td>Erik</td><td>-7.4</td><td>0.2</td></tr><tr><td>9</td><td>Zoltan</td><td>2.2</td><td>1.2</td><td>Giovanni</td><td>-7.4</td><td>-0.4</td></tr><tr><td>10</td><td>Dillon</td><td>2.0</td><td>1.4</td><td>Douglas</td><td>-7.2</td><td>-0.2</td></tr><tr><td colspan="4">Majority@10</td><td>1.6</td><td></td><td></td><td></td></tr></table>
|
| 305 |
+
|
| 306 |
+
Table 2: Performance of the best and worst performing entities in the validation and test datasets. The green color signifies consistent performance between the validation and test datasets, while the orange color indicates inconsistency. The entities, selected based on their performance in the validation dataset, show consistent behavior in the test dataset, suggesting that they generalize in each dataset. We have noted less than 10 entities in some columns because the remaining entities did not reduce the accuracy compared to the baseline.
|
| 307 |
+
|
| 308 |
+
Contrary to our hypothesis and expectations, there appears to be no correlation between the frequency of names and the performance of LLMs in entity replacement.
|
| 309 |
+
|
| 310 |
+
# B.4 Effect of entity token length
|
| 311 |
+
|
| 312 |
+
The token length of a prompt can directly influence the performance of a QA task, particularly as it relates to the computational demands on the model. A longer prompt, represented by a larger number of tokens, increases the amount of data the model must process, potentially straining the model's capabilities and affecting the overall efficiency and accuracy of the task. Changes in the token length of a replaced name, which in turn modify the prompt's overall token length due to multiple instances of the name within the prompt, provide an interesting variable for analysis. We delved into this potential effect by examining the model's performance in relation to the token length of names, as illustrated in Fig 10. Contrary to expectations, our study found no observable correlation between the model's performance and the token length of names. This suggests that, within the ranges examined, the token length of names does not significantly affect the model's performance in QA tasks.
|
| 313 |
+
|
| 314 |
+
# B.5 Perplexity Analysis
|
| 315 |
+
|
| 316 |
+
Our expectation was to observe a strong inverse correlation between the perplexity and accuracy of the model across all datasets, according to the findings reported in (Gonen et al., 2022a). However, we noted this inverse correlation only in some datasets, such as the bAbI task 14 (as shown in Figure Fig 11), but not in all of them. A plausible explanation for this inconsistency could be significant differences in our methodology compared to the approach adopted in (Gonen et al., 2022a). In our study, we limited our alterations to substituting named entities within the prompts, as opposed to changing the entire prompt. Therefore, this discrepancy in data augmentation techniques could potentially account for the lack of a significant correlation in some datasets.
|
| 317 |
+
|
| 318 |
+
Fig 12 shows the deviation of ppl from the baseline across various tasks. Regardless of the task, a more reduction in prompt ppl was observed when entities were replaced both in demonstrations and queries, compared to the other two data augmentation settings. This can likely be attributed to the repeated usage of the same replaced named entity within the prompt. The frequent repetition
|
| 319 |
+
|
| 320 |
+
of the same named entity can contribute to lower ppl due to the decreased uncertainty and increased predictability of the next word in the sequence.
|
| 321 |
+
|
| 322 |
+

|
| 323 |
+
|
| 324 |
+

|
| 325 |
+
|
| 326 |
+

|
| 327 |
+
|
| 328 |
+

|
| 329 |
+
|
| 330 |
+

|
| 331 |
+
Figure 9: The performance of Flan-T5-XL in relation to the frequency of names derived from a demographic dataset. Contrary to expectations, no correlation appears to exist between the frequency of names and the performance of Flan-T5-XL.
|
| 332 |
+
|
| 333 |
+

|
| 334 |
+
|
| 335 |
+

|
| 336 |
+
|
| 337 |
+

|
| 338 |
+
|
| 339 |
+

|
| 340 |
+
|
| 341 |
+

|
| 342 |
+
|
| 343 |
+

|
| 344 |
+
Figure 10: The performance of various names in relation to their token length when using Flan-T5-XL. There is no apparent correlation between the performance and the token length in names. The quantity of names corresponding to each group of token lengths is illustrated on the plot.
|
| 345 |
+
|
| 346 |
+

|
| 347 |
+
|
| 348 |
+

|
| 349 |
+
Figure 11: Correlation between prompt perplexity (ppl) and LLM performance for task 14 and GPT-J-6B across various data augmentation settings. The accuracy and perplexity of prompt for the baseline are shown by red lines. Although a statistically significant inverse correlation between accuracy and ppl is observed in this dataset, this trend is not consistent across all datasets. The absence of this trend, contrary to expectation, could be attributed to the nature of our data augmentation approach, which only involved entity replacement instead of entire prompt modification.
|
| 350 |
+
|
| 351 |
+

|
| 352 |
+
|
| 353 |
+

|
| 354 |
+
|
| 355 |
+

|
| 356 |
+
|
| 357 |
+

|
| 358 |
+
|
| 359 |
+

|
| 360 |
+
Figure 12: Deviation of prompt ppl for GPT-J-6B from the baseline across different tasks. A greater reduction in prompt ppl is observed when entities are replaced in both demonstrations and queries, a trend likely driven by the recurrent usage of the same replaced named entity within the prompt.
|
| 361 |
+
|
| 362 |
+

|
2023/Robustness of Named-Entity Replacements for In-Context Learning/images.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:62769932b79c8cebcbe58ff0a8823473fb4843a7d3d2367060cf39e16cfa7fd8
|
| 3 |
+
size 1140430
|
2023/Robustness of Named-Entity Replacements for In-Context Learning/layout.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2023/Role of Context in Unsupervised Sentence Representation Learning_ the Case of Dialog Act Modeling/7f70510d-2f4b-4269-8c9d-3b663839a931_content_list.json
ADDED
|
@@ -0,0 +1,1699 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"type": "text",
|
| 4 |
+
"text": "Role of Context in Unsupervised Sentence Representation Learning: the Case of Dialog Act Tagging",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
127,
|
| 8 |
+
87,
|
| 9 |
+
870,
|
| 10 |
+
129
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Rastislav Hronsky",
|
| 17 |
+
"bbox": [
|
| 18 |
+
253,
|
| 19 |
+
143,
|
| 20 |
+
413,
|
| 21 |
+
159
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "Jheronimus Academy of Data Science",
|
| 28 |
+
"bbox": [
|
| 29 |
+
176,
|
| 30 |
+
160,
|
| 31 |
+
489,
|
| 32 |
+
175
|
| 33 |
+
],
|
| 34 |
+
"page_idx": 0
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"type": "text",
|
| 38 |
+
"text": "Sint Janssingel 92, 5211 DA 's-Hertogenbosch",
|
| 39 |
+
"bbox": [
|
| 40 |
+
144,
|
| 41 |
+
175,
|
| 42 |
+
522,
|
| 43 |
+
192
|
| 44 |
+
],
|
| 45 |
+
"page_idx": 0
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"type": "text",
|
| 49 |
+
"text": "Netherlands",
|
| 50 |
+
"bbox": [
|
| 51 |
+
282,
|
| 52 |
+
193,
|
| 53 |
+
383,
|
| 54 |
+
206
|
| 55 |
+
],
|
| 56 |
+
"page_idx": 0
|
| 57 |
+
},
|
| 58 |
+
{
|
| 59 |
+
"type": "text",
|
| 60 |
+
"text": "r.hronsky@tue.nl",
|
| 61 |
+
"bbox": [
|
| 62 |
+
252,
|
| 63 |
+
210,
|
| 64 |
+
415,
|
| 65 |
+
225
|
| 66 |
+
],
|
| 67 |
+
"page_idx": 0
|
| 68 |
+
},
|
| 69 |
+
{
|
| 70 |
+
"type": "text",
|
| 71 |
+
"text": "Emmanuel Keuleers",
|
| 72 |
+
"bbox": [
|
| 73 |
+
576,
|
| 74 |
+
143,
|
| 75 |
+
754,
|
| 76 |
+
158
|
| 77 |
+
],
|
| 78 |
+
"page_idx": 0
|
| 79 |
+
},
|
| 80 |
+
{
|
| 81 |
+
"type": "text",
|
| 82 |
+
"text": "Tilburg University",
|
| 83 |
+
"bbox": [
|
| 84 |
+
589,
|
| 85 |
+
160,
|
| 86 |
+
739,
|
| 87 |
+
175
|
| 88 |
+
],
|
| 89 |
+
"page_idx": 0
|
| 90 |
+
},
|
| 91 |
+
{
|
| 92 |
+
"type": "text",
|
| 93 |
+
"text": "Warandelaan 2, 5037 AB Tilburg",
|
| 94 |
+
"bbox": [
|
| 95 |
+
531,
|
| 96 |
+
177,
|
| 97 |
+
801,
|
| 98 |
+
192
|
| 99 |
+
],
|
| 100 |
+
"page_idx": 0
|
| 101 |
+
},
|
| 102 |
+
{
|
| 103 |
+
"type": "text",
|
| 104 |
+
"text": "Netherlands",
|
| 105 |
+
"bbox": [
|
| 106 |
+
615,
|
| 107 |
+
193,
|
| 108 |
+
715,
|
| 109 |
+
206
|
| 110 |
+
],
|
| 111 |
+
"page_idx": 0
|
| 112 |
+
},
|
| 113 |
+
{
|
| 114 |
+
"type": "text",
|
| 115 |
+
"text": "E.A.Keuleers@tilburguniversity.edu",
|
| 116 |
+
"bbox": [
|
| 117 |
+
492,
|
| 118 |
+
210,
|
| 119 |
+
836,
|
| 120 |
+
225
|
| 121 |
+
],
|
| 122 |
+
"page_idx": 0
|
| 123 |
+
},
|
| 124 |
+
{
|
| 125 |
+
"type": "text",
|
| 126 |
+
"text": "Abstract",
|
| 127 |
+
"text_level": 1,
|
| 128 |
+
"bbox": [
|
| 129 |
+
260,
|
| 130 |
+
252,
|
| 131 |
+
339,
|
| 132 |
+
267
|
| 133 |
+
],
|
| 134 |
+
"page_idx": 0
|
| 135 |
+
},
|
| 136 |
+
{
|
| 137 |
+
"type": "text",
|
| 138 |
+
"text": "Unsupervised learning of word representations involves capturing the contextual information surrounding word occurrences, which can be grounded in the observation that word form is largely disconnected from word meaning. While there are fewer reasons to believe that the same holds for sentences, learning through context has been carried over to learning representations of word sequences. However, this work pays minimal to no attention to the role of context in inferring sentence representations. In this article, we present a dialog act tag probing task designed to explicitly compare content- and context-oriented sentence representations inferred on utterances of telephone conversations (SwDA). Our results suggest that there is no clear benefit of context-based sentence representations over content-based sentence representations. However, there is a very clear benefit of increasing the dimensionality of the sentence vectors in nearly all approaches.",
|
| 139 |
+
"bbox": [
|
| 140 |
+
141,
|
| 141 |
+
278,
|
| 142 |
+
460,
|
| 143 |
+
577
|
| 144 |
+
],
|
| 145 |
+
"page_idx": 0
|
| 146 |
+
},
|
| 147 |
+
{
|
| 148 |
+
"type": "text",
|
| 149 |
+
"text": "1 Introduction",
|
| 150 |
+
"text_level": 1,
|
| 151 |
+
"bbox": [
|
| 152 |
+
114,
|
| 153 |
+
588,
|
| 154 |
+
258,
|
| 155 |
+
602
|
| 156 |
+
],
|
| 157 |
+
"page_idx": 0
|
| 158 |
+
},
|
| 159 |
+
{
|
| 160 |
+
"type": "text",
|
| 161 |
+
"text": "Unsupervised methods for constructing word representations vary widely in their implementation (Landauer and Dumais, 1997; Mikolov et al., 2013a; Pennington et al., 2014), but share the core property that they try to capture the contextual information surrounding word occurrences. This can be grounded in the observation that word form is largely disconnected from word meaning (De Saussure, 1916) and that, therefore, trying to extract meaning from form directly would be pointless.",
|
| 162 |
+
"bbox": [
|
| 163 |
+
112,
|
| 164 |
+
613,
|
| 165 |
+
489,
|
| 166 |
+
772
|
| 167 |
+
],
|
| 168 |
+
"page_idx": 0
|
| 169 |
+
},
|
| 170 |
+
{
|
| 171 |
+
"type": "text",
|
| 172 |
+
"text": "However, there are fewer reasons to believe that representing the meaning of a fully composed sentence requires the description of its context in the way that a word does. Still, much effort has been devoted to developing and evaluating context-oriented methods for sentence representation (Kiros et al., 2015; Logeswaran and Lee, 2018; Cer et al., 2018). Interestingly, the theoretical justification for the approach –roughly paraphrased– is",
|
| 173 |
+
"bbox": [
|
| 174 |
+
112,
|
| 175 |
+
774,
|
| 176 |
+
489,
|
| 177 |
+
919
|
| 178 |
+
],
|
| 179 |
+
"page_idx": 0
|
| 180 |
+
},
|
| 181 |
+
{
|
| 182 |
+
"type": "text",
|
| 183 |
+
"text": "that it works well for words (Kiros et al., 2015).",
|
| 184 |
+
"bbox": [
|
| 185 |
+
507,
|
| 186 |
+
253,
|
| 187 |
+
865,
|
| 188 |
+
268
|
| 189 |
+
],
|
| 190 |
+
"page_idx": 0
|
| 191 |
+
},
|
| 192 |
+
{
|
| 193 |
+
"type": "text",
|
| 194 |
+
"text": "In the present article, we examine whether a contextual signal is of any significant benefit to general-purpose sentence representation.",
|
| 195 |
+
"bbox": [
|
| 196 |
+
507,
|
| 197 |
+
269,
|
| 198 |
+
880,
|
| 199 |
+
318
|
| 200 |
+
],
|
| 201 |
+
"page_idx": 0
|
| 202 |
+
},
|
| 203 |
+
{
|
| 204 |
+
"type": "text",
|
| 205 |
+
"text": "To accommodate this goal, we infer two sets of utterance representations from telephone conversation transcripts, one by a model trained to encode the transcripts' content, and one by a model trained to encode the transcripts context in a Skip-Thought-like fashion. We evaluate the learned representations with a linear probe classifying the dialog act tags. Below, we discuss these choices more extensively.",
|
| 206 |
+
"bbox": [
|
| 207 |
+
507,
|
| 208 |
+
319,
|
| 209 |
+
884,
|
| 210 |
+
463
|
| 211 |
+
],
|
| 212 |
+
"page_idx": 0
|
| 213 |
+
},
|
| 214 |
+
{
|
| 215 |
+
"type": "text",
|
| 216 |
+
"text": "The reason for the linear probing technique is to avoid any further representation learning in the downstream task training, such that the resulting accuracy numbers solely reflect the unsupervised representations. This technique is commonly used to assess to what extent sentence representations exhibit certain linguistic properties, such as part-of-speech or syntax (Conneau et al., 2018; Chrupała and Alishahi, 2019; Perone et al., 2018; Belinkov, 2022a).",
|
| 217 |
+
"bbox": [
|
| 218 |
+
507,
|
| 219 |
+
467,
|
| 220 |
+
882,
|
| 221 |
+
626
|
| 222 |
+
],
|
| 223 |
+
"page_idx": 0
|
| 224 |
+
},
|
| 225 |
+
{
|
| 226 |
+
"type": "text",
|
| 227 |
+
"text": "We chose the Switchboard Dialog Act Corpus (SwDA) (Jurafsky, 1997) corpus for the following properties: (1) its size allows for inferring representations with both traditional, statistical learning methods and modern neural network based methods; (2) at the same time, the corpus is fairly narrow-domain, enabling small models to converge to meaningful representations<sup>1</sup>; (3) it contains utterance labels that we consider suitable for a probing task with respect to contextuality: while a dialog act tag unquestionably depends on the utterance contents, the surrounding utterances likely provide a good signal about its label too. See example utterances from the corpus in Table 1.",
|
| 228 |
+
"bbox": [
|
| 229 |
+
507,
|
| 230 |
+
629,
|
| 231 |
+
882,
|
| 232 |
+
854
|
| 233 |
+
],
|
| 234 |
+
"page_idx": 0
|
| 235 |
+
},
|
| 236 |
+
{
|
| 237 |
+
"type": "page_footnote",
|
| 238 |
+
"text": "<sup>1</sup>As opposed to some other well-known sentence-level tasks, such as NLI (Bowman et al., 2015), SICK (Marelli et al., 2014), SST-2 (Socher et al., 2013), that require \"universal\" sentence representations.",
|
| 239 |
+
"bbox": [
|
| 240 |
+
507,
|
| 241 |
+
869,
|
| 242 |
+
882,
|
| 243 |
+
917
|
| 244 |
+
],
|
| 245 |
+
"page_idx": 0
|
| 246 |
+
},
|
| 247 |
+
{
|
| 248 |
+
"type": "page_number",
|
| 249 |
+
"text": "8784",
|
| 250 |
+
"bbox": [
|
| 251 |
+
480,
|
| 252 |
+
927,
|
| 253 |
+
519,
|
| 254 |
+
940
|
| 255 |
+
],
|
| 256 |
+
"page_idx": 0
|
| 257 |
+
},
|
| 258 |
+
{
|
| 259 |
+
"type": "footer",
|
| 260 |
+
"text": "Findings of the Association for Computational Linguistics: EMNLP 2023, pages 8784-8792",
|
| 261 |
+
"bbox": [
|
| 262 |
+
216,
|
| 263 |
+
945,
|
| 264 |
+
779,
|
| 265 |
+
958
|
| 266 |
+
],
|
| 267 |
+
"page_idx": 0
|
| 268 |
+
},
|
| 269 |
+
{
|
| 270 |
+
"type": "footer",
|
| 271 |
+
"text": "December 6-10, 2023 ©2023 Association for Computational Linguistics",
|
| 272 |
+
"bbox": [
|
| 273 |
+
277,
|
| 274 |
+
958,
|
| 275 |
+
719,
|
| 276 |
+
972
|
| 277 |
+
],
|
| 278 |
+
"page_idx": 0
|
| 279 |
+
},
|
| 280 |
+
{
|
| 281 |
+
"type": "table",
|
| 282 |
+
"img_path": "images/189a4430dcd0169a034f6f3dda776a9304f7ed13e516d4f2b82cfc1788c69a66.jpg",
|
| 283 |
+
"table_caption": [],
|
| 284 |
+
"table_footnote": [],
|
| 285 |
+
"table_body": "<table><tr><td>SD^E</td><td>But I, my grandparents were looking into it before.</td></tr><tr><td>SD</td><td>So I know what they’ve said.</td></tr><tr><td>B</td><td>Uh-huh.</td></tr><tr><td>^H</td><td>Well, I’m trying to think.</td></tr></table>",
|
| 286 |
+
"bbox": [
|
| 287 |
+
152,
|
| 288 |
+
80,
|
| 289 |
+
448,
|
| 290 |
+
166
|
| 291 |
+
],
|
| 292 |
+
"page_idx": 1
|
| 293 |
+
},
|
| 294 |
+
{
|
| 295 |
+
"type": "text",
|
| 296 |
+
"text": "Table 1: Example dialog act tags and utterances from the SwDA corpus. (SD^E = Statement expanding y/n answer, SD = Statement-non-opinion, B = Backchannel, ^H = Hold before answer/agreement).",
|
| 297 |
+
"bbox": [
|
| 298 |
+
112,
|
| 299 |
+
177,
|
| 300 |
+
489,
|
| 301 |
+
233
|
| 302 |
+
],
|
| 303 |
+
"page_idx": 1
|
| 304 |
+
},
|
| 305 |
+
{
|
| 306 |
+
"type": "text",
|
| 307 |
+
"text": "Using context to enhance dialog act predictions is not a novel idea (Raheja and Tetreault, 2019; Li and Wu, 2019; Kalchbrenner and Blunsom, 2013). To ascertain the usefulness of context in this task, we checked for the reduction in entropy of a tag in a \"unigram\" setting vs. conditioned on a previous tag, a \"bigram\" setting. The results were $H(\\text{currenttag}) = 2.1$ bit and $H(\\text{currenttag|previousat}) = 1.86$ bit, meaning that such a context-enhanced baseline would, at least, increase the chance-level accuracy.",
|
| 308 |
+
"bbox": [
|
| 309 |
+
112,
|
| 310 |
+
261,
|
| 311 |
+
489,
|
| 312 |
+
438
|
| 313 |
+
],
|
| 314 |
+
"page_idx": 1
|
| 315 |
+
},
|
| 316 |
+
{
|
| 317 |
+
"type": "text",
|
| 318 |
+
"text": "For the content-oriented representation variants, the representations of utterances were inferred via classic topic modeling methods, word vector averaging, or an LSTM-based auto-encoder (see Section 3 for details). The resulting sentence vectors were then used as input for a Skip-Thought-like training regime, where the goal was to learn their context-oriented version by projecting them such that they are predictive of surrounding utterances. Additionally, we trained a version where the utterance encoding and projection are trained jointly, with an LSTM-based encoder of identical proportions with the one used for auto-encoding.",
|
| 319 |
+
"bbox": [
|
| 320 |
+
112,
|
| 321 |
+
439,
|
| 322 |
+
489,
|
| 323 |
+
650
|
| 324 |
+
],
|
| 325 |
+
"page_idx": 1
|
| 326 |
+
},
|
| 327 |
+
{
|
| 328 |
+
"type": "text",
|
| 329 |
+
"text": "2 Related Work",
|
| 330 |
+
"text_level": 1,
|
| 331 |
+
"bbox": [
|
| 332 |
+
112,
|
| 333 |
+
664,
|
| 334 |
+
268,
|
| 335 |
+
680
|
| 336 |
+
],
|
| 337 |
+
"page_idx": 1
|
| 338 |
+
},
|
| 339 |
+
{
|
| 340 |
+
"type": "text",
|
| 341 |
+
"text": "In the literature review, we summarize some of the most important work in sentence representation and relate it to the issues outlined in previous paragraphs.",
|
| 342 |
+
"bbox": [
|
| 343 |
+
112,
|
| 344 |
+
692,
|
| 345 |
+
487,
|
| 346 |
+
756
|
| 347 |
+
],
|
| 348 |
+
"page_idx": 1
|
| 349 |
+
},
|
| 350 |
+
{
|
| 351 |
+
"type": "text",
|
| 352 |
+
"text": "Before the deep learning era of NLP, text-processing methods relied mainly on lexical features of sentences and were invariant to word order. Using word frequency transformations, e.g., tfidf (Ramos et al., 2003), has proven effective to base the representations on more semantically laden words. Techniques such as singular value decomposition (SVD) (Landauer and Dumais, 1997; Landauer et al., 1998), or topic modeling (Blei et al., 2003; Blei, 2012; Hofmann, 2001) were used",
|
| 353 |
+
"bbox": [
|
| 354 |
+
112,
|
| 355 |
+
758,
|
| 356 |
+
489,
|
| 357 |
+
917
|
| 358 |
+
],
|
| 359 |
+
"page_idx": 1
|
| 360 |
+
},
|
| 361 |
+
{
|
| 362 |
+
"type": "text",
|
| 363 |
+
"text": "to transform the sparse word-count matrices into dense vectors.",
|
| 364 |
+
"bbox": [
|
| 365 |
+
507,
|
| 366 |
+
84,
|
| 367 |
+
880,
|
| 368 |
+
115
|
| 369 |
+
],
|
| 370 |
+
"page_idx": 1
|
| 371 |
+
},
|
| 372 |
+
{
|
| 373 |
+
"type": "text",
|
| 374 |
+
"text": "With the subsequent success of simple neural networks such as word2vec (Mikolov et al., 2013a,b; Goldberg and Levy, 2014) or GloVe (Pennington et al., 2014) at representing words and phrases, a seemingly naive method of averaging these word vectors was shown to produce useful sentence/paragraph/document representations (Arora et al., 2017).",
|
| 375 |
+
"bbox": [
|
| 376 |
+
507,
|
| 377 |
+
120,
|
| 378 |
+
884,
|
| 379 |
+
249
|
| 380 |
+
],
|
| 381 |
+
"page_idx": 1
|
| 382 |
+
},
|
| 383 |
+
{
|
| 384 |
+
"type": "text",
|
| 385 |
+
"text": "With further success of neural networks in text processing, the research on the topic grew markedly. Among the unsupervised methods, recursive auto-encoders (RAEs) (Socher et al., 2011a,b; Pollack, 1990) were trained to reconstruct sentences via recursively encoding nodes in a dependency parse tree and performed well at a paraphrasing task (Dolan et al., 2004). Tree-LSTMs (Tai et al., 2015) later succeeded the RAEs in the same recursive set up but using an LSTM encoder (Hochreiter and Schmidhuber, 1997), and evaluated on predicting semantic relatedness between two sentences (Marelli et al., 2014) and classifying sentiment (Socher et al., 2013). The current state-of-the-art unsupervised, general-purpose sentence representation systems are based on pre-trained Transformer language models (Vaswani et al., 2017) and fine-tuned via contrastive learning (Gutmann and Hyvarinen, 2012; Chen et al., 2020), i.e., pulling representations of alternative sentence formulations closer together and those of unrelated, random sentence pairs apart (Gao et al., 2021; Chuang et al., 2022).",
|
| 386 |
+
"bbox": [
|
| 387 |
+
507,
|
| 388 |
+
255,
|
| 389 |
+
884,
|
| 390 |
+
624
|
| 391 |
+
],
|
| 392 |
+
"page_idx": 1
|
| 393 |
+
},
|
| 394 |
+
{
|
| 395 |
+
"type": "text",
|
| 396 |
+
"text": "The success of skip-gram-based word representations inspired researchers to transfer the idea to sentence representation. Skip-Thought (Kiros et al., 2015) is a large, LSTM-based (Hochreiter and Schmidhuber, 1997), sentence encoder that was trained to produce representations predictive of surrounding sentences. Quick-Thought (Logeswaran and Lee, 2018) is a similar system that differs in that it casts the problem as contrastive learning (Gutmann and Hyvarinen, 2012). The Universal Sentence Encoder (USE) is a Transformer-based (Vaswani et al., 2017) system introduced by Cer et al. (2018) that uses the Skip-Thought as one of the tasks in a multi-task learning set-up (including some supervised tasks). The task of deciding whether two sentences are consecutive or not (NSP task) was also used in training of BERT (Devlin et al., 2019). The latest dialog processing sys",
|
| 397 |
+
"bbox": [
|
| 398 |
+
507,
|
| 399 |
+
629,
|
| 400 |
+
882,
|
| 401 |
+
917
|
| 402 |
+
],
|
| 403 |
+
"page_idx": 1
|
| 404 |
+
},
|
| 405 |
+
{
|
| 406 |
+
"type": "page_number",
|
| 407 |
+
"text": "8785",
|
| 408 |
+
"bbox": [
|
| 409 |
+
480,
|
| 410 |
+
928,
|
| 411 |
+
519,
|
| 412 |
+
940
|
| 413 |
+
],
|
| 414 |
+
"page_idx": 1
|
| 415 |
+
},
|
| 416 |
+
{
|
| 417 |
+
"type": "text",
|
| 418 |
+
"text": "tems, built on top of Transformer language models (Vaswani et al., 2017), typically learn to predict contextual utterances within the contrastive learning framework and achieve superior performance on dialog tasks compared to universal representations (Wu et al., 2020; Zhou et al., 2022; Zeng et al., 2023; Oh et al., 2023).",
|
| 419 |
+
"bbox": [
|
| 420 |
+
112,
|
| 421 |
+
84,
|
| 422 |
+
489,
|
| 423 |
+
197
|
| 424 |
+
],
|
| 425 |
+
"page_idx": 2
|
| 426 |
+
},
|
| 427 |
+
{
|
| 428 |
+
"type": "text",
|
| 429 |
+
"text": "While sentence contextuality is used in all of the above-mentioned studies, there is little to no focus on assessing the necessity for using context to derive sentence representations. An ablation of the NSP task is presented by Devlin et al. (2019), suggesting a slight performance benefit over a version where the task is omitted. However, Devlin et al. (2019) only evaluate the fine-tuning pipeline, while the raw BERT representations were shown to perform poorly overall (Reimers and Gurevych, 2019). Further, results by Liu et al. (2019) are contradictory and do not credit a performance improvement to the NSP task. Lastly, Zhou et al. (2022) additionally compare the representations resulting from dropout augmentations (Gao et al., 2021) to those of consecutive utterances and found a significant benefit in favor of the latter augmentations. Their results are perplexing, however, since the dropout version they implemented performed even worse than that of SimCSE (Gao et al., 2021), which also uses dropout augmentation, and should in fact perform worse, not being tailored for dialog.",
|
| 430 |
+
"bbox": [
|
| 431 |
+
115,
|
| 432 |
+
199,
|
| 433 |
+
489,
|
| 434 |
+
551
|
| 435 |
+
],
|
| 436 |
+
"page_idx": 2
|
| 437 |
+
},
|
| 438 |
+
{
|
| 439 |
+
"type": "text",
|
| 440 |
+
"text": "Using the natural language inference (NLI) task has been effective in several general sentence representation learning systems (Conneau et al., 2017; Reimers and Gurevych, 2019; Zhou et al., 2022). However, along with machine translation models, these systems fall outside the category of unsupervised sentence representations.",
|
| 441 |
+
"bbox": [
|
| 442 |
+
112,
|
| 443 |
+
554,
|
| 444 |
+
489,
|
| 445 |
+
667
|
| 446 |
+
],
|
| 447 |
+
"page_idx": 2
|
| 448 |
+
},
|
| 449 |
+
{
|
| 450 |
+
"type": "text",
|
| 451 |
+
"text": "3 Method",
|
| 452 |
+
"text_level": 1,
|
| 453 |
+
"bbox": [
|
| 454 |
+
112,
|
| 455 |
+
682,
|
| 456 |
+
218,
|
| 457 |
+
697
|
| 458 |
+
],
|
| 459 |
+
"page_idx": 2
|
| 460 |
+
},
|
| 461 |
+
{
|
| 462 |
+
"type": "text",
|
| 463 |
+
"text": "We trained several variants of content-based representations, their context-based counterparts, and an end-to-end, Skip-Thought like system, trained to encode and predict sentences.",
|
| 464 |
+
"bbox": [
|
| 465 |
+
112,
|
| 466 |
+
712,
|
| 467 |
+
487,
|
| 468 |
+
775
|
| 469 |
+
],
|
| 470 |
+
"page_idx": 2
|
| 471 |
+
},
|
| 472 |
+
{
|
| 473 |
+
"type": "text",
|
| 474 |
+
"text": "We evaluated the following variants of content-based sentence representation<sup>2</sup>:",
|
| 475 |
+
"bbox": [
|
| 476 |
+
112,
|
| 477 |
+
778,
|
| 478 |
+
489,
|
| 479 |
+
810
|
| 480 |
+
],
|
| 481 |
+
"page_idx": 2
|
| 482 |
+
},
|
| 483 |
+
{
|
| 484 |
+
"type": "list",
|
| 485 |
+
"sub_type": "text",
|
| 486 |
+
"list_items": [
|
| 487 |
+
"1. Latent Semantic Analysis (LSA) $\\star$",
|
| 488 |
+
"2. Latent Dirichlet Allocation (LDA)\\* (Blei et al., 2003)"
|
| 489 |
+
],
|
| 490 |
+
"bbox": [
|
| 491 |
+
127,
|
| 492 |
+
826,
|
| 493 |
+
485,
|
| 494 |
+
889
|
| 495 |
+
],
|
| 496 |
+
"page_idx": 2
|
| 497 |
+
},
|
| 498 |
+
{
|
| 499 |
+
"type": "list",
|
| 500 |
+
"sub_type": "text",
|
| 501 |
+
"list_items": [
|
| 502 |
+
"3. Mean of GloVe word vectors $\\star$ (Pennington et al., 2014)",
|
| 503 |
+
"4. LSTM-based auto-encoder (Hochreiter and Schmidhuber, 1997)",
|
| 504 |
+
"5. Mean of arbitrarily assigned word vectors"
|
| 505 |
+
],
|
| 506 |
+
"bbox": [
|
| 507 |
+
522,
|
| 508 |
+
84,
|
| 509 |
+
880,
|
| 510 |
+
187
|
| 511 |
+
],
|
| 512 |
+
"page_idx": 2
|
| 513 |
+
},
|
| 514 |
+
{
|
| 515 |
+
"type": "text",
|
| 516 |
+
"text": "We also varied the final dimension of the sentence vector, namely $D \\in \\{6, 12, 25\\}$ , either by setting the number_of_topics parameter, setting the auto-encoder bottleneck size, or truncating GloVe vectors. The auto-encoder was based on a 2-layer, bidirectional Long Short-Term Memory (LSTM) neural network with hidden size of $D_{hidden} = 64$ , dropout of $p = 0.1$ . The variant 5 is one where we randomly assigned a feature vector from an 8-dimensional raster to each vocabulary entry (a procedure by which we want to emulate the usage of 1-hot vector encoding, but with dense, real-valued vectors), and created the final sentence representation by averaging corresponding word vectors.",
|
| 517 |
+
"bbox": [
|
| 518 |
+
507,
|
| 519 |
+
200,
|
| 520 |
+
884,
|
| 521 |
+
426
|
| 522 |
+
],
|
| 523 |
+
"page_idx": 2
|
| 524 |
+
},
|
| 525 |
+
{
|
| 526 |
+
"type": "text",
|
| 527 |
+
"text": "To create the context-based representations, we devised a learning regimen for 2 linear layers for each variant. One layer was used to project the sentence content vector to the context space (encode), and the other layer was used to predict the content vectors of surrounding sentences from the context vector (decode).",
|
| 528 |
+
"bbox": [
|
| 529 |
+
507,
|
| 530 |
+
426,
|
| 531 |
+
882,
|
| 532 |
+
537
|
| 533 |
+
],
|
| 534 |
+
"page_idx": 2
|
| 535 |
+
},
|
| 536 |
+
{
|
| 537 |
+
"type": "text",
|
| 538 |
+
"text": "Finally, we trained a Skip-Thought-like model, where each sentence was represented by a sequence of word vectors (obtained via the same procedure as in variant 5), optionally truncated and padded to 20 tokens, processed via an LSTM (identical with the auto-encoder in variant 4), and projected such that, conditioned on the resulting vector, a decoder-LSTM reconstructs the surrounding sentences well via teacher forcing.",
|
| 539 |
+
"bbox": [
|
| 540 |
+
507,
|
| 541 |
+
539,
|
| 542 |
+
882,
|
| 543 |
+
684
|
| 544 |
+
],
|
| 545 |
+
"page_idx": 2
|
| 546 |
+
},
|
| 547 |
+
{
|
| 548 |
+
"type": "text",
|
| 549 |
+
"text": "In all of the context-based variants, we varied the context size between 1 and 2 sentences, on each side.",
|
| 550 |
+
"bbox": [
|
| 551 |
+
507,
|
| 552 |
+
684,
|
| 553 |
+
880,
|
| 554 |
+
731
|
| 555 |
+
],
|
| 556 |
+
"page_idx": 2
|
| 557 |
+
},
|
| 558 |
+
{
|
| 559 |
+
"type": "text",
|
| 560 |
+
"text": "3.1 Dataset and Evaluation",
|
| 561 |
+
"text_level": 1,
|
| 562 |
+
"bbox": [
|
| 563 |
+
507,
|
| 564 |
+
745,
|
| 565 |
+
741,
|
| 566 |
+
759
|
| 567 |
+
],
|
| 568 |
+
"page_idx": 2
|
| 569 |
+
},
|
| 570 |
+
{
|
| 571 |
+
"type": "text",
|
| 572 |
+
"text": "To infer and evaluate the representations, we used the Switchboard Dialog Act Corpus (SwDA) (Jurafsky, 1997), with exception of the GloVe vectors, where we used the pre-trained glove-twitter-25 vectors. The SwDA contains transcripts of casual telephone conversations in which the two parties were instructed to discuss a certain topic, e.g. \"care of the elderly\". Every utterance is assigned a label",
|
| 573 |
+
"bbox": [
|
| 574 |
+
507,
|
| 575 |
+
766,
|
| 576 |
+
884,
|
| 577 |
+
894
|
| 578 |
+
],
|
| 579 |
+
"page_idx": 2
|
| 580 |
+
},
|
| 581 |
+
{
|
| 582 |
+
"type": "page_footnote",
|
| 583 |
+
"text": "Entries marked with $\\star$ use the GenSim implementation.",
|
| 584 |
+
"bbox": [
|
| 585 |
+
134,
|
| 586 |
+
903,
|
| 587 |
+
480,
|
| 588 |
+
917
|
| 589 |
+
],
|
| 590 |
+
"page_idx": 2
|
| 591 |
+
},
|
| 592 |
+
{
|
| 593 |
+
"type": "page_footnote",
|
| 594 |
+
"text": "3We used the pre-trained glove-twitter-25 version.",
|
| 595 |
+
"bbox": [
|
| 596 |
+
529,
|
| 597 |
+
904,
|
| 598 |
+
835,
|
| 599 |
+
917
|
| 600 |
+
],
|
| 601 |
+
"page_idx": 2
|
| 602 |
+
},
|
| 603 |
+
{
|
| 604 |
+
"type": "page_number",
|
| 605 |
+
"text": "8786",
|
| 606 |
+
"bbox": [
|
| 607 |
+
480,
|
| 608 |
+
927,
|
| 609 |
+
519,
|
| 610 |
+
940
|
| 611 |
+
],
|
| 612 |
+
"page_idx": 2
|
| 613 |
+
},
|
| 614 |
+
{
|
| 615 |
+
"type": "table",
|
| 616 |
+
"img_path": "images/4ded5239487167f661787aa1277fe7588a4a13ad65d90ac36d36c036b1cd23b8.jpg",
|
| 617 |
+
"table_caption": [],
|
| 618 |
+
"table_footnote": [
|
| 619 |
+
"Table 2: Summary of the SwDA dataset. In the upper section of the table, we summarize the corpus statistics. In the lower section we list the percentages of dialog act labels per corpus split (SD=\"Statement-non-opinion\", B=\"Backchannel\", SV=\"Statement-opinion\", AA=\"Agree/Accept\")."
|
| 620 |
+
],
|
| 621 |
+
"table_body": "<table><tr><td></td><td>Train</td><td>Dev</td><td>Test</td></tr><tr><td>Utterances</td><td>212,145</td><td>26,518</td><td>26,519</td></tr><tr><td>Tokens</td><td>1,833M</td><td>227K</td><td>227K</td></tr><tr><td>Tokens per att.</td><td>8.64</td><td>8.56</td><td>8.32</td></tr><tr><td>SD</td><td>35.47%</td><td>33.52%</td><td>35.00%</td></tr><tr><td>%/Other</td><td>27.45%</td><td>25.77%</td><td>25.60%</td></tr><tr><td>B</td><td>18.52%</td><td>21.54%</td><td>23.02%</td></tr><tr><td>SV</td><td>13.76%</td><td>14.60%</td><td>13.73%</td></tr><tr><td>AA</td><td>4.81%</td><td>4.57%</td><td>2.65%</td></tr></table>",
|
| 622 |
+
"bbox": [
|
| 623 |
+
115,
|
| 624 |
+
82,
|
| 625 |
+
480,
|
| 626 |
+
230
|
| 627 |
+
],
|
| 628 |
+
"page_idx": 3
|
| 629 |
+
},
|
| 630 |
+
{
|
| 631 |
+
"type": "text",
|
| 632 |
+
"text": "describing the \"role\" of the act, in a similar way that part-of-speech tags describe roles of words in sentences 4.",
|
| 633 |
+
"bbox": [
|
| 634 |
+
110,
|
| 635 |
+
349,
|
| 636 |
+
487,
|
| 637 |
+
397
|
| 638 |
+
],
|
| 639 |
+
"page_idx": 3
|
| 640 |
+
},
|
| 641 |
+
{
|
| 642 |
+
"type": "text",
|
| 643 |
+
"text": "To pre-process the texts, (1) we tokenized the utterances with the reference Morfessor 2.0 (Virpioja et al., 2013) implementation, (2) long utterances were broken down into multiple shorter utterances with a sliding-window of 20 words and a step-size of 18 words, and (3) we split the corpus into a train, dev, and test split with respective proportions of $80\\%$ , $10\\%$ , and $10\\%$ of the utterances. For an overview of the final corpus statistics, including the dialog act tags, see Table 2.",
|
| 644 |
+
"bbox": [
|
| 645 |
+
110,
|
| 646 |
+
398,
|
| 647 |
+
487,
|
| 648 |
+
558
|
| 649 |
+
],
|
| 650 |
+
"page_idx": 3
|
| 651 |
+
},
|
| 652 |
+
{
|
| 653 |
+
"type": "text",
|
| 654 |
+
"text": "For each representation type, we trained a linear ridge-regression $^{5}$ -based classifier with 10-fold cross-validation (on the training set) to predict the dialog act labels. Altogether, there were 42 distinct dialog acts. To simplify the probe, we only selected the 10 most frequent labels to classify, while grouping the remaining labels under a single category.",
|
| 655 |
+
"bbox": [
|
| 656 |
+
110,
|
| 657 |
+
560,
|
| 658 |
+
489,
|
| 659 |
+
671
|
| 660 |
+
],
|
| 661 |
+
"page_idx": 3
|
| 662 |
+
},
|
| 663 |
+
{
|
| 664 |
+
"type": "text",
|
| 665 |
+
"text": "4 Results",
|
| 666 |
+
"text_level": 1,
|
| 667 |
+
"bbox": [
|
| 668 |
+
112,
|
| 669 |
+
683,
|
| 670 |
+
213,
|
| 671 |
+
697
|
| 672 |
+
],
|
| 673 |
+
"page_idx": 3
|
| 674 |
+
},
|
| 675 |
+
{
|
| 676 |
+
"type": "text",
|
| 677 |
+
"text": "The classification accuracy results are presented in Table 3. We established baseline performance as the frequency of the majority class. The only variant performing below the majority baseline was the Random variant ( $D_{hidden} = 6$ ), which used means of arbitrarily assigned word vectors. The other variants achieved scores in the range of up to $15 - 21\\%$ above the majority baseline. Except",
|
| 678 |
+
"bbox": [
|
| 679 |
+
110,
|
| 680 |
+
708,
|
| 681 |
+
487,
|
| 682 |
+
837
|
| 683 |
+
],
|
| 684 |
+
"page_idx": 3
|
| 685 |
+
},
|
| 686 |
+
{
|
| 687 |
+
"type": "table",
|
| 688 |
+
"img_path": "images/8a17389fd4e21eaa37b2d880780239217e537085a1e11c87bbfc31ec1d281a18.jpg",
|
| 689 |
+
"table_caption": [],
|
| 690 |
+
"table_footnote": [
|
| 691 |
+
"Table 3: Results. The three right-most columns contain the accuracy percentages for the content-only, context of distance 1, and context of distance 2 variants."
|
| 692 |
+
],
|
| 693 |
+
"table_body": "<table><tr><td></td><td></td><td>Context</td><td>1 att.</td><td>2 att.</td></tr><tr><td>Algo.</td><td>Dim.</td><td colspan=\"3\">Accuracy [%]</td></tr><tr><td>Maj. class</td><td></td><td>35.00</td><td></td><td></td></tr><tr><td rowspan=\"3\">GLOVE</td><td>6</td><td>51.62</td><td>50.37</td><td>50.14</td></tr><tr><td>12</td><td>52.82</td><td>52.60</td><td>52.55</td></tr><tr><td>25</td><td>57.29</td><td>57.24</td><td>56.52</td></tr><tr><td rowspan=\"3\">LDA</td><td>6</td><td>51.10</td><td>51.16</td><td>51.05</td></tr><tr><td>12</td><td>53.32</td><td>52.99</td><td>52.73</td></tr><tr><td>25</td><td>56.82</td><td>56.36</td><td>56.13</td></tr><tr><td rowspan=\"3\">LSA</td><td>6</td><td>51.07</td><td>50.62</td><td>50.58</td></tr><tr><td>12</td><td>51.94</td><td>51.44</td><td>51.04</td></tr><tr><td>25</td><td>52.02</td><td>52.11</td><td>52.12</td></tr><tr><td rowspan=\"3\">Random</td><td>6</td><td>36.52</td><td>41.55</td><td>41.83</td></tr><tr><td>12</td><td>46.99</td><td>47.17</td><td>46.47</td></tr><tr><td>25</td><td>48.46</td><td>47.69</td><td>47.59</td></tr><tr><td rowspan=\"3\">Auto-enc.</td><td>6</td><td>53.88</td><td>52.27</td><td>51.63</td></tr><tr><td>12</td><td>54.46</td><td>53.89</td><td>52.34</td></tr><tr><td>25</td><td>52.43</td><td>53.18</td><td>52.57</td></tr><tr><td rowspan=\"3\">Skip-Th.</td><td>6</td><td></td><td>51.13</td><td>39.66</td></tr><tr><td>12</td><td></td><td>53.33</td><td>52.38</td></tr><tr><td>25</td><td></td><td>55.21</td><td>57.54</td></tr></table>",
|
| 694 |
+
"bbox": [
|
| 695 |
+
509,
|
| 696 |
+
83,
|
| 697 |
+
870,
|
| 698 |
+
442
|
| 699 |
+
],
|
| 700 |
+
"page_idx": 3
|
| 701 |
+
},
|
| 702 |
+
{
|
| 703 |
+
"type": "text",
|
| 704 |
+
"text": "for LSA, each algorithm achieved the highest score with $D_{hidden} = 25$ .",
|
| 705 |
+
"bbox": [
|
| 706 |
+
507,
|
| 707 |
+
521,
|
| 708 |
+
882,
|
| 709 |
+
552
|
| 710 |
+
],
|
| 711 |
+
"page_idx": 3
|
| 712 |
+
},
|
| 713 |
+
{
|
| 714 |
+
"type": "text",
|
| 715 |
+
"text": "There were no big differences and no discerning patterns in the performance of the contextually projected variants.",
|
| 716 |
+
"bbox": [
|
| 717 |
+
507,
|
| 718 |
+
555,
|
| 719 |
+
882,
|
| 720 |
+
602
|
| 721 |
+
],
|
| 722 |
+
"page_idx": 3
|
| 723 |
+
},
|
| 724 |
+
{
|
| 725 |
+
"type": "text",
|
| 726 |
+
"text": "The only case where the training regime of predicting two neighboring sentences on each side scored the best was with the end-to-end, SkipThought like variant, which also achieved the overall highest score.",
|
| 727 |
+
"bbox": [
|
| 728 |
+
507,
|
| 729 |
+
604,
|
| 730 |
+
884,
|
| 731 |
+
684
|
| 732 |
+
],
|
| 733 |
+
"page_idx": 3
|
| 734 |
+
},
|
| 735 |
+
{
|
| 736 |
+
"type": "text",
|
| 737 |
+
"text": "5 Discussion",
|
| 738 |
+
"text_level": 1,
|
| 739 |
+
"bbox": [
|
| 740 |
+
507,
|
| 741 |
+
699,
|
| 742 |
+
636,
|
| 743 |
+
713
|
| 744 |
+
],
|
| 745 |
+
"page_idx": 3
|
| 746 |
+
},
|
| 747 |
+
{
|
| 748 |
+
"type": "text",
|
| 749 |
+
"text": "All tested models performed well over the majority baseline, including the averaged random word vectors which exceeded the majority baseline by a large margin when coupled with high dimensionality. One reason for this might be that, when averaging word vectors of higher dimension, there is a higher chance that some important lexical features will remain separable from the noise (also applicable to GloVe). Only in case of LSA and AutoEncoder, the effect of dimensionality was small. For the latter, using a variational or contrastive learning set-up might allow for better scaling of",
|
| 750 |
+
"bbox": [
|
| 751 |
+
505,
|
| 752 |
+
726,
|
| 753 |
+
884,
|
| 754 |
+
919
|
| 755 |
+
],
|
| 756 |
+
"page_idx": 3
|
| 757 |
+
},
|
| 758 |
+
{
|
| 759 |
+
"type": "page_footnote",
|
| 760 |
+
"text": "4See the Coder's manual (Jurafsky, 1997) for more information.",
|
| 761 |
+
"bbox": [
|
| 762 |
+
112,
|
| 763 |
+
844,
|
| 764 |
+
487,
|
| 765 |
+
868
|
| 766 |
+
],
|
| 767 |
+
"page_idx": 3
|
| 768 |
+
},
|
| 769 |
+
{
|
| 770 |
+
"type": "page_footnote",
|
| 771 |
+
"text": "<sup>5</sup>We opted for ridge regression, instead of logistic regression, because of high colinearity (except for LDA and LSA) across feature vectors. See correlation matrices in the appendix Section A. We used the Scikit-Learn implementation.",
|
| 772 |
+
"bbox": [
|
| 773 |
+
112,
|
| 774 |
+
869,
|
| 775 |
+
487,
|
| 776 |
+
917
|
| 777 |
+
],
|
| 778 |
+
"page_idx": 3
|
| 779 |
+
},
|
| 780 |
+
{
|
| 781 |
+
"type": "page_number",
|
| 782 |
+
"text": "8787",
|
| 783 |
+
"bbox": [
|
| 784 |
+
480,
|
| 785 |
+
928,
|
| 786 |
+
519,
|
| 787 |
+
940
|
| 788 |
+
],
|
| 789 |
+
"page_idx": 3
|
| 790 |
+
},
|
| 791 |
+
{
|
| 792 |
+
"type": "text",
|
| 793 |
+
"text": "performance with capacity. Based on the patterns observed here, increasing the dimensionality increases performance on the probe, with or without context.",
|
| 794 |
+
"bbox": [
|
| 795 |
+
112,
|
| 796 |
+
84,
|
| 797 |
+
487,
|
| 798 |
+
146
|
| 799 |
+
],
|
| 800 |
+
"page_idx": 4
|
| 801 |
+
},
|
| 802 |
+
{
|
| 803 |
+
"type": "text",
|
| 804 |
+
"text": "We did not find either of these aspects discussed in the mainstream related work (Conneau et al., 2018; Belinkov, 2022b). The question of how far increasing the dimensionality helps performance should be explored in future work.",
|
| 805 |
+
"bbox": [
|
| 806 |
+
112,
|
| 807 |
+
149,
|
| 808 |
+
487,
|
| 809 |
+
228
|
| 810 |
+
],
|
| 811 |
+
"page_idx": 4
|
| 812 |
+
},
|
| 813 |
+
{
|
| 814 |
+
"type": "text",
|
| 815 |
+
"text": "The presented results on the dialog act tag probing task are in line with related literature in that sequence/document representations with word embeddings and classical topic modeling approaches are a tough-to-beat baseline for many neural networks (Conneau et al., 2018; Reimers and Gurevych, 2019). Our results suggest that transforming existing, content-oriented representations to context-oriented ones provides minimal to no meaningful improvement in representation. An improvement of small, but perhaps meaningful magnitude is one from the best performing AutoEncoder to Skip-Thought variant $(3\\%)$ , suggesting that some benefit in this training scheme may be found for sentences, too.",
|
| 816 |
+
"bbox": [
|
| 817 |
+
115,
|
| 818 |
+
231,
|
| 819 |
+
489,
|
| 820 |
+
470
|
| 821 |
+
],
|
| 822 |
+
"page_idx": 4
|
| 823 |
+
},
|
| 824 |
+
{
|
| 825 |
+
"type": "text",
|
| 826 |
+
"text": "However, our experimental design limits us in drawing conclusions about what the Skip-Thought set-up benefited from specifically: the more general sentence representations may simply be an artifact of the more difficult learning task (predicting neighboring sentences), as opposed to being a result of form disambiguation via context, the way it works with words. Future work should employ methodology that separates the contribution of the competing sources of signal more clearly.",
|
| 827 |
+
"bbox": [
|
| 828 |
+
112,
|
| 829 |
+
473,
|
| 830 |
+
487,
|
| 831 |
+
633
|
| 832 |
+
],
|
| 833 |
+
"page_idx": 4
|
| 834 |
+
},
|
| 835 |
+
{
|
| 836 |
+
"type": "text",
|
| 837 |
+
"text": "When compared to the obvious benefits of context on learning word representations, it is striking that the benefits for learning sentence representations appear to be very small at best.",
|
| 838 |
+
"bbox": [
|
| 839 |
+
112,
|
| 840 |
+
634,
|
| 841 |
+
487,
|
| 842 |
+
697
|
| 843 |
+
],
|
| 844 |
+
"page_idx": 4
|
| 845 |
+
},
|
| 846 |
+
{
|
| 847 |
+
"type": "text",
|
| 848 |
+
"text": "This observation is suggestive of a more serious blind-spot in NLP: because context-based representations work well for words, many researchers assume that the same holds for any level of analysis. This is akin to claiming arbitrariness of the sign at any level of language processing.",
|
| 849 |
+
"bbox": [
|
| 850 |
+
112,
|
| 851 |
+
700,
|
| 852 |
+
487,
|
| 853 |
+
796
|
| 854 |
+
],
|
| 855 |
+
"page_idx": 4
|
| 856 |
+
},
|
| 857 |
+
{
|
| 858 |
+
"type": "text",
|
| 859 |
+
"text": "6 Conclusion",
|
| 860 |
+
"text_level": 1,
|
| 861 |
+
"bbox": [
|
| 862 |
+
112,
|
| 863 |
+
810,
|
| 864 |
+
245,
|
| 865 |
+
826
|
| 866 |
+
],
|
| 867 |
+
"page_idx": 4
|
| 868 |
+
},
|
| 869 |
+
{
|
| 870 |
+
"type": "text",
|
| 871 |
+
"text": "We presented evidence that explicitly examines the differences between content-, and context-oriented unsupervised sentence representations. While results suggest that dimensionality, rather than context, is the determining factor in building good",
|
| 872 |
+
"bbox": [
|
| 873 |
+
112,
|
| 874 |
+
839,
|
| 875 |
+
487,
|
| 876 |
+
917
|
| 877 |
+
],
|
| 878 |
+
"page_idx": 4
|
| 879 |
+
},
|
| 880 |
+
{
|
| 881 |
+
"type": "text",
|
| 882 |
+
"text": "sentence representations, end-to-end approaches based on reconstructing surrounding sentences are a promising way forward.",
|
| 883 |
+
"bbox": [
|
| 884 |
+
507,
|
| 885 |
+
84,
|
| 886 |
+
880,
|
| 887 |
+
131
|
| 888 |
+
],
|
| 889 |
+
"page_idx": 4
|
| 890 |
+
},
|
| 891 |
+
{
|
| 892 |
+
"type": "text",
|
| 893 |
+
"text": "Limitations",
|
| 894 |
+
"text_level": 1,
|
| 895 |
+
"bbox": [
|
| 896 |
+
509,
|
| 897 |
+
143,
|
| 898 |
+
613,
|
| 899 |
+
159
|
| 900 |
+
],
|
| 901 |
+
"page_idx": 4
|
| 902 |
+
},
|
| 903 |
+
{
|
| 904 |
+
"type": "text",
|
| 905 |
+
"text": "Since this work only presents evidence from one sentence task, the conclusions drawn are task-specific. Although we believe the chosen task to be fairly general, one can easily think of tasks that would likely challenge the drawn conclusions, e.g., recognition of humor or sarcasm. However, these are rather rare cases and it is questionable, where the best position of the boundary between unsupervised and task-specific lies. Additionally, the selected range of dimensions is limited to a small amount, and at larger scales the patterns of results might change.",
|
| 906 |
+
"bbox": [
|
| 907 |
+
507,
|
| 908 |
+
168,
|
| 909 |
+
882,
|
| 910 |
+
363
|
| 911 |
+
],
|
| 912 |
+
"page_idx": 4
|
| 913 |
+
},
|
| 914 |
+
{
|
| 915 |
+
"type": "page_number",
|
| 916 |
+
"text": "8788",
|
| 917 |
+
"bbox": [
|
| 918 |
+
480,
|
| 919 |
+
928,
|
| 920 |
+
519,
|
| 921 |
+
940
|
| 922 |
+
],
|
| 923 |
+
"page_idx": 4
|
| 924 |
+
},
|
| 925 |
+
{
|
| 926 |
+
"type": "text",
|
| 927 |
+
"text": "References",
|
| 928 |
+
"text_level": 1,
|
| 929 |
+
"bbox": [
|
| 930 |
+
115,
|
| 931 |
+
84,
|
| 932 |
+
213,
|
| 933 |
+
98
|
| 934 |
+
],
|
| 935 |
+
"page_idx": 5
|
| 936 |
+
},
|
| 937 |
+
{
|
| 938 |
+
"type": "list",
|
| 939 |
+
"sub_type": "ref_text",
|
| 940 |
+
"list_items": [
|
| 941 |
+
"Sanjeev Arora, Yingyu Liang, and Tengyu Ma. 2017. A simple but tough-to-beat baseline for sentence embeddings. In International conference on learning representations.",
|
| 942 |
+
"Yonatan Belinkov. 2022a. Probing classifiers: Promises, shortcomings, and advances. Computational Linguistics, 48(1):207-219.",
|
| 943 |
+
"Yonatan Belinkov. 2022b. Probing classifiers: Promises, shortcomings, and advances. Computational Linguistics, 48(1):207-219.",
|
| 944 |
+
"David M Blei. 2012. Probabilistic topic models. Communications of the ACM, 55(4):77-84.",
|
| 945 |
+
"David M Blei, Andrew Y Ng, and Michael I Jordan. 2003. Latent dirichlet allocation. Journal of machine Learning research, 3(Jan):993-1022.",
|
| 946 |
+
"Samuel R. Bowman, Gabor Angeli, Christopher Potts, and Christopher D. Manning. 2015. A large annotated corpus for learning natural language inference. In Proceedings of the 2015 Conference on Empirical Methods in Natural Language Processing (EMNLP). Association for Computational Linguistics.",
|
| 947 |
+
"Daniel Cer, Yinfei Yang, Sheng-yi Kong, Nan Hua, Nicole Limtiaco, Rhomni St John, Noah Constant, Mario Guajardo-Cespedes, Steve Yuan, Chris Tar, et al. 2018. Universal sentence encoder for english. In Proceedings of the 2018 conference on empirical methods in natural language processing: system demonstrations, pages 169-174.",
|
| 948 |
+
"Ting Chen, Simon Kornblith, Mohammad Norouzi, and Geoffrey Hinton. 2020. A simple framework for contrastive learning of visual representations. In International conference on machine learning, pages 1597-1607. PMLR.",
|
| 949 |
+
"Grzegorz Chrupa and Afra Alishahi. 2019. Correlating neural and symbolic representations of language. arXiv preprint arXiv:1905.06401.",
|
| 950 |
+
"Yung-Sung Chuang, Rumen Dangovski, Hongyin Luo, Yang Zhang, Shiyu Chang, Marin Soljacic, Shang-Wen Li, Scott Yih, Yoon Kim, and James Glass. 2022. DiffCSE: Difference-based contrastive learning for sentence embeddings. In Proceedings of the 2022 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pages 4207-4218, Seattle, United States. Association for Computational Linguistics.",
|
| 951 |
+
"Alexis Conneau, Douwe Kiela, Holger Schwenk, Loic Barrault, and Antoine Bordes. 2017. Supervised learning of universal sentence representations from natural language inference data. arXiv preprint arXiv:1705.02364.",
|
| 952 |
+
"Alexis Conneau, German Kruszewski, Guillaume Lample, Loic Barrault, and Marco Baroni. 2018. What"
|
| 953 |
+
],
|
| 954 |
+
"bbox": [
|
| 955 |
+
115,
|
| 956 |
+
107,
|
| 957 |
+
487,
|
| 958 |
+
917
|
| 959 |
+
],
|
| 960 |
+
"page_idx": 5
|
| 961 |
+
},
|
| 962 |
+
{
|
| 963 |
+
"type": "list",
|
| 964 |
+
"sub_type": "ref_text",
|
| 965 |
+
"list_items": [
|
| 966 |
+
"you can cram into a single vector: Probing sentence embeddings for linguistic properties. arXiv preprint arXiv:1805.01070.",
|
| 967 |
+
"Ferdinand De Saussure. 1916. Nature of the linguistic sign. Course in general linguistics, 1:65-70.",
|
| 968 |
+
"Jacob Devlin, Ming-Wei Chang, and Kenton Lee. 2019. Google, kt, language, ai: Bert: pre-training of deep bidirectional transformers for language understanding. In Proceedings of NAACL-HLT, pages 4171-4186.",
|
| 969 |
+
"William Dolan, Chris Quirk, Chris Brockett, and Bill Dolan. 2004. Unsupervised construction of large paraphrase corpora: Exploiting massively parallel news sources.",
|
| 970 |
+
"Tianyu Gao, Xingcheng Yao, and Danqi Chen. 2021. SimCSE: Simple contrastive learning of sentence embeddings. In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing, pages 6894-6910, Online and Punta Cana, Dominican Republic. Association for Computational Linguistics.",
|
| 971 |
+
"Yoav Goldberg and Omer Levy. 2014. word2vec explained: deriving mikolov et al.'s negative-sampling word-embedding method. arXiv preprint arXiv:1402.3722.",
|
| 972 |
+
"Michael U Gutmann and Aapo Hyvarinen. 2012. Noisecontrastive estimation of unnormalized statistical models, with applications to natural image statistics. Journal of machine learning research, 13(2).",
|
| 973 |
+
"Sepp Hochreiter and Jürgen Schmidhuber. 1997. Long short-term memory. *Neural computation*, 9(8):1735-1780.",
|
| 974 |
+
"Thomas Hofmann. 2001. Unsupervised learning by probabilistic latent semantic analysis. Machine learning, 42(1-2):177.",
|
| 975 |
+
"Dan Jurafsky. 1997. Switchboard swbd-damsl shallow-discourse-function annotation coders manual. Technical report.",
|
| 976 |
+
"Nal Kalchbrenner and Phil Blunsom. 2013. Recurrent convolutional neural networks for discourse compositionality. arXiv preprint arXiv:1306.3584.",
|
| 977 |
+
"Ryan Kiros, Yukun Zhu, Russ R Salakhutdinov, Richard Zemel, Raquel Urtasun, Antonio Torralba, and Sanja Fidler. 2015. Skip-thought vectors. Advances in neural information processing systems, 28.",
|
| 978 |
+
"Thomas K Landauer and Susan T Dumais. 1997. A solution to Plato's problem: The latent semantic analysis theory of acquisition, induction, and representation of knowledge. Psychological review, 104(2):211.",
|
| 979 |
+
"Thomas K Landauer, Peter W Foltz, and Darrell Laham. 1998. An introduction to latent semantic analysis. Discourse processes, 25(2-3):259-284."
|
| 980 |
+
],
|
| 981 |
+
"bbox": [
|
| 982 |
+
510,
|
| 983 |
+
86,
|
| 984 |
+
882,
|
| 985 |
+
917
|
| 986 |
+
],
|
| 987 |
+
"page_idx": 5
|
| 988 |
+
},
|
| 989 |
+
{
|
| 990 |
+
"type": "page_number",
|
| 991 |
+
"text": "8789",
|
| 992 |
+
"bbox": [
|
| 993 |
+
480,
|
| 994 |
+
928,
|
| 995 |
+
519,
|
| 996 |
+
940
|
| 997 |
+
],
|
| 998 |
+
"page_idx": 5
|
| 999 |
+
},
|
| 1000 |
+
{
|
| 1001 |
+
"type": "list",
|
| 1002 |
+
"sub_type": "ref_text",
|
| 1003 |
+
"list_items": [
|
| 1004 |
+
"Wei Li and Yunfang Wu. 2019. Multi-level gated recurrent neural network for dialog act classification. arXiv preprint arXiv:1910.01822.",
|
| 1005 |
+
"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.",
|
| 1006 |
+
"Lajanugen Logeswaran and Honglak Lee. 2018. An efficient framework for learning sentence representations. arXiv preprint arXiv:1803.02893.",
|
| 1007 |
+
"Marco Marelli, Luisa Bentivogli, Marco Baroni, Raffaella Bernardi, Stefano Menini, and Roberto Zamparelli. 2014. Semeval-2014 task 1: Evaluation of compositional distributional semantic models on full sentences through semantic relatedness and textual entailment. In Proceedings of the 8th international workshop on semantic evaluation (SemEval 2014), pages 1-8.",
|
| 1008 |
+
"Tomas Mikolov, Kai Chen, Greg Corrado, and Jeffrey Dean. 2013a. Efficient estimation of word representations in vector space. arXiv preprint arXiv:1301.3781.",
|
| 1009 |
+
"Tomas Mikolov, Ilya Sutskever, Kai Chen, Greg S Corrado, and Jeff Dean. 2013b. Distributed representations of words and phrases and their compositionality. Advances in neural information processing systems, 26.",
|
| 1010 |
+
"Minsik Oh, Jiwei Li, and Guoyin Wang. 2023. Tadse: Template-aware dialogue sentence embeddings.",
|
| 1011 |
+
"Jeffrey Pennington, Richard Socher, and Christopher D Manning. 2014. Glove: Global vectors for word representation. In Proceedings of the 2014 conference on empirical methods in natural language processing (EMNLP), pages 1532-1543.",
|
| 1012 |
+
"Christian S Perone, Roberto Silveira, and Thomas S Paula. 2018. Evaluation of sentence embeddings in downstream and linguistic probing tasks. arXiv preprint arXiv:1806.06259.",
|
| 1013 |
+
"Jordan B Pollack. 1990. Recursive distributed representations. Artificial Intelligence, 46(1-2):77-105.",
|
| 1014 |
+
"Vipul Raheja and Joel Tetreault. 2019. Dialogue act classification with context-aware self-attention. arXiv preprint arXiv:1904.02594.",
|
| 1015 |
+
"Juan Ramos et al. 2003. Using tfidf to determine word relevance in document queries. In Proceedings of the first instructional conference on machine learning, volume 242, pages 29-48. Citeseer.",
|
| 1016 |
+
"Nils Reimers and Iryna Gurevych. 2019. Sentence-bert: Sentence embeddings using siamese bert-networks. arXiv preprint arXiv:1908.10084."
|
| 1017 |
+
],
|
| 1018 |
+
"bbox": [
|
| 1019 |
+
115,
|
| 1020 |
+
85,
|
| 1021 |
+
489,
|
| 1022 |
+
917
|
| 1023 |
+
],
|
| 1024 |
+
"page_idx": 6
|
| 1025 |
+
},
|
| 1026 |
+
{
|
| 1027 |
+
"type": "list",
|
| 1028 |
+
"sub_type": "ref_text",
|
| 1029 |
+
"list_items": [
|
| 1030 |
+
"Richard Socher, Eric Huang, Jeffrey Pennin, Christopher D Manning, and Andrew Ng. 2011a. Dynamic pooling and unfolding recursive autoencoders for paraphrase detection. Advances in neural information processing systems, 24.",
|
| 1031 |
+
"Richard Socher, Jeffrey Pennington, Eric H Huang, Andrew Y Ng, and Christopher D Manning. 2011b. Semi-supervised recursive autoencoders for predicting sentiment distributions. In Proceedings of the 2011 conference on empirical methods in natural language processing, pages 151-161.",
|
| 1032 |
+
"Richard Socher, Alex Perelygin, Jean Wu, Jason Chuang, Christopher D Manning, Andrew Y Ng, and Christopher Potts. 2013. Recursive deep models for semantic compositionality over a sentiment treebank. In Proceedings of the 2013 conference on empirical methods in natural language processing, pages 1631-1642.",
|
| 1033 |
+
"Kai Sheng Tai, Richard Socher, and Christopher D Manning. 2015. Improved semantic representations from tree-structured long short-term memory networks. arXiv preprint arXiv:1503.00075.",
|
| 1034 |
+
"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.",
|
| 1035 |
+
"Sami Virpioja, Peter Smit, Stig-Arne Gronroos, Mikko Kurimo, et al. 2013. Morfessor 2.0: Python implementation and extensions for morfessor baseline. Technical report.",
|
| 1036 |
+
"Chien-Sheng Wu, Steven C.H. Hoi, Richard Socher, and Caiming Xiong. 2020. TOD-BERT: Pre-trained natural language understanding for task-oriented dialogue. In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP), pages 917-929, Online. Association for Computational Linguistics.",
|
| 1037 |
+
"Weihao Zeng, Keqing He, Yejie Wang, Chen Zeng, Jinggang Wang, Yunsen Xian, and Weiran Xu. 2023. Futuretod: Teaching future knowledge to pre-trained language model for task-oriented dialogue.",
|
| 1038 |
+
"Zhihan Zhou, Dejiao Zhang, Wei Xiao, Nicholas Dingwall, Xiaofei Ma, Andrew Arnold, and Bing Xiang. 2022. Learning dialogue representations from consecutive utterances. In Proceedings of the 2022 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pages 754-768, Seattle, United States. Association for Computational Linguistics."
|
| 1039 |
+
],
|
| 1040 |
+
"bbox": [
|
| 1041 |
+
510,
|
| 1042 |
+
85,
|
| 1043 |
+
884,
|
| 1044 |
+
822
|
| 1045 |
+
],
|
| 1046 |
+
"page_idx": 6
|
| 1047 |
+
},
|
| 1048 |
+
{
|
| 1049 |
+
"type": "page_number",
|
| 1050 |
+
"text": "8790",
|
| 1051 |
+
"bbox": [
|
| 1052 |
+
480,
|
| 1053 |
+
928,
|
| 1054 |
+
519,
|
| 1055 |
+
940
|
| 1056 |
+
],
|
| 1057 |
+
"page_idx": 6
|
| 1058 |
+
},
|
| 1059 |
+
{
|
| 1060 |
+
"type": "image",
|
| 1061 |
+
"img_path": "images/e3bd7dab7f09a78492363b6a1387f06f781a32a9a2d1431da995acd3a7d59e8a.jpg",
|
| 1062 |
+
"image_caption": [],
|
| 1063 |
+
"image_footnote": [],
|
| 1064 |
+
"bbox": [
|
| 1065 |
+
119,
|
| 1066 |
+
147,
|
| 1067 |
+
257,
|
| 1068 |
+
248
|
| 1069 |
+
],
|
| 1070 |
+
"page_idx": 7
|
| 1071 |
+
},
|
| 1072 |
+
{
|
| 1073 |
+
"type": "image",
|
| 1074 |
+
"img_path": "images/b2b7228fad90e69a59d321d64ac43cb69620915ca6ae02157f52ff20191a9668.jpg",
|
| 1075 |
+
"image_caption": [
|
| 1076 |
+
"Pearson correlation between features (dim=6)"
|
| 1077 |
+
],
|
| 1078 |
+
"image_footnote": [],
|
| 1079 |
+
"bbox": [
|
| 1080 |
+
282,
|
| 1081 |
+
148,
|
| 1082 |
+
413,
|
| 1083 |
+
247
|
| 1084 |
+
],
|
| 1085 |
+
"page_idx": 7
|
| 1086 |
+
},
|
| 1087 |
+
{
|
| 1088 |
+
"type": "image",
|
| 1089 |
+
"img_path": "images/f4dc16a9bfd9f146d249cfd0a918b088a34fefa7f600a26f3c8189f1ab1e1e62.jpg",
|
| 1090 |
+
"image_caption": [],
|
| 1091 |
+
"image_footnote": [],
|
| 1092 |
+
"bbox": [
|
| 1093 |
+
431,
|
| 1094 |
+
148,
|
| 1095 |
+
549,
|
| 1096 |
+
247
|
| 1097 |
+
],
|
| 1098 |
+
"page_idx": 7
|
| 1099 |
+
},
|
| 1100 |
+
{
|
| 1101 |
+
"type": "image",
|
| 1102 |
+
"img_path": "images/b4aa368cbcbdcb09b1eb7f8f9d572459db95e964c62dec886e638d0c5861ca07.jpg",
|
| 1103 |
+
"image_caption": [],
|
| 1104 |
+
"image_footnote": [],
|
| 1105 |
+
"bbox": [
|
| 1106 |
+
578,
|
| 1107 |
+
148,
|
| 1108 |
+
697,
|
| 1109 |
+
247
|
| 1110 |
+
],
|
| 1111 |
+
"page_idx": 7
|
| 1112 |
+
},
|
| 1113 |
+
{
|
| 1114 |
+
"type": "image",
|
| 1115 |
+
"img_path": "images/a1b7a46a28ae57dbbbe6c0e2e4376fe4dc32594ad8fba9383dfaf5a21b1a4af9.jpg",
|
| 1116 |
+
"image_caption": [],
|
| 1117 |
+
"image_footnote": [],
|
| 1118 |
+
"bbox": [
|
| 1119 |
+
726,
|
| 1120 |
+
148,
|
| 1121 |
+
843,
|
| 1122 |
+
247
|
| 1123 |
+
],
|
| 1124 |
+
"page_idx": 7
|
| 1125 |
+
},
|
| 1126 |
+
{
|
| 1127 |
+
"type": "image",
|
| 1128 |
+
"img_path": "images/b8318ad01d3dc6d703407573d070942519a0b3e2105f51dc1970dbe829d44af9.jpg",
|
| 1129 |
+
"image_caption": [],
|
| 1130 |
+
"image_footnote": [],
|
| 1131 |
+
"bbox": [
|
| 1132 |
+
119,
|
| 1133 |
+
250,
|
| 1134 |
+
255,
|
| 1135 |
+
348
|
| 1136 |
+
],
|
| 1137 |
+
"page_idx": 7
|
| 1138 |
+
},
|
| 1139 |
+
{
|
| 1140 |
+
"type": "image",
|
| 1141 |
+
"img_path": "images/406714a29b6928cbbd3cf99a5c1cf477acea5e0d3f634d05d710097bcadf6b8c.jpg",
|
| 1142 |
+
"image_caption": [],
|
| 1143 |
+
"image_footnote": [],
|
| 1144 |
+
"bbox": [
|
| 1145 |
+
282,
|
| 1146 |
+
250,
|
| 1147 |
+
413,
|
| 1148 |
+
348
|
| 1149 |
+
],
|
| 1150 |
+
"page_idx": 7
|
| 1151 |
+
},
|
| 1152 |
+
{
|
| 1153 |
+
"type": "image",
|
| 1154 |
+
"img_path": "images/ab49c52879c9e63344ebb0b11d288945b4623c0921773c8bc1e507da73951071.jpg",
|
| 1155 |
+
"image_caption": [],
|
| 1156 |
+
"image_footnote": [],
|
| 1157 |
+
"bbox": [
|
| 1158 |
+
431,
|
| 1159 |
+
250,
|
| 1160 |
+
549,
|
| 1161 |
+
348
|
| 1162 |
+
],
|
| 1163 |
+
"page_idx": 7
|
| 1164 |
+
},
|
| 1165 |
+
{
|
| 1166 |
+
"type": "image",
|
| 1167 |
+
"img_path": "images/18b2be039e660f5a21f72a97b37fb0712ffcabb9d570f6289638adbe73da9de6.jpg",
|
| 1168 |
+
"image_caption": [],
|
| 1169 |
+
"image_footnote": [],
|
| 1170 |
+
"bbox": [
|
| 1171 |
+
578,
|
| 1172 |
+
250,
|
| 1173 |
+
695,
|
| 1174 |
+
348
|
| 1175 |
+
],
|
| 1176 |
+
"page_idx": 7
|
| 1177 |
+
},
|
| 1178 |
+
{
|
| 1179 |
+
"type": "image",
|
| 1180 |
+
"img_path": "images/bbae9db3c2c61be51038065c6271133afbf794e7d81fb6f6dd2c9407dcc9e875.jpg",
|
| 1181 |
+
"image_caption": [],
|
| 1182 |
+
"image_footnote": [],
|
| 1183 |
+
"bbox": [
|
| 1184 |
+
726,
|
| 1185 |
+
250,
|
| 1186 |
+
843,
|
| 1187 |
+
348
|
| 1188 |
+
],
|
| 1189 |
+
"page_idx": 7
|
| 1190 |
+
},
|
| 1191 |
+
{
|
| 1192 |
+
"type": "image",
|
| 1193 |
+
"img_path": "images/eaaff27a405d9fe37685a0491a51dae754afaba045402119ea5d7937a27e3471.jpg",
|
| 1194 |
+
"image_caption": [
|
| 1195 |
+
"Figure 1: Correlation matrices of feature vectors across representation variants with dimension of 6."
|
| 1196 |
+
],
|
| 1197 |
+
"image_footnote": [],
|
| 1198 |
+
"bbox": [
|
| 1199 |
+
119,
|
| 1200 |
+
351,
|
| 1201 |
+
255,
|
| 1202 |
+
451
|
| 1203 |
+
],
|
| 1204 |
+
"page_idx": 7
|
| 1205 |
+
},
|
| 1206 |
+
{
|
| 1207 |
+
"type": "image",
|
| 1208 |
+
"img_path": "images/3f510d7fa00621c384e8521f1580fa5bdcf8eafda028390758d19d87d1eb36f8.jpg",
|
| 1209 |
+
"image_caption": [],
|
| 1210 |
+
"image_footnote": [],
|
| 1211 |
+
"bbox": [
|
| 1212 |
+
282,
|
| 1213 |
+
351,
|
| 1214 |
+
413,
|
| 1215 |
+
451
|
| 1216 |
+
],
|
| 1217 |
+
"page_idx": 7
|
| 1218 |
+
},
|
| 1219 |
+
{
|
| 1220 |
+
"type": "image",
|
| 1221 |
+
"img_path": "images/3fb5ed6ae184b0b7cee9a431f65693bd100a4d0695b429e6f3bb0fd8fb051bd3.jpg",
|
| 1222 |
+
"image_caption": [],
|
| 1223 |
+
"image_footnote": [],
|
| 1224 |
+
"bbox": [
|
| 1225 |
+
431,
|
| 1226 |
+
351,
|
| 1227 |
+
549,
|
| 1228 |
+
451
|
| 1229 |
+
],
|
| 1230 |
+
"page_idx": 7
|
| 1231 |
+
},
|
| 1232 |
+
{
|
| 1233 |
+
"type": "image",
|
| 1234 |
+
"img_path": "images/9f5cf7fbe539f5feb4e41b80a7565a289b306aa39c619b848002750a27de7930.jpg",
|
| 1235 |
+
"image_caption": [],
|
| 1236 |
+
"image_footnote": [],
|
| 1237 |
+
"bbox": [
|
| 1238 |
+
578,
|
| 1239 |
+
351,
|
| 1240 |
+
697,
|
| 1241 |
+
451
|
| 1242 |
+
],
|
| 1243 |
+
"page_idx": 7
|
| 1244 |
+
},
|
| 1245 |
+
{
|
| 1246 |
+
"type": "image",
|
| 1247 |
+
"img_path": "images/cdef12ac6c191c98ddd2445564c513d1bed3178d3106f1330f56cc272e3c1568.jpg",
|
| 1248 |
+
"image_caption": [],
|
| 1249 |
+
"image_footnote": [],
|
| 1250 |
+
"bbox": [
|
| 1251 |
+
715,
|
| 1252 |
+
351,
|
| 1253 |
+
873,
|
| 1254 |
+
451
|
| 1255 |
+
],
|
| 1256 |
+
"page_idx": 7
|
| 1257 |
+
},
|
| 1258 |
+
{
|
| 1259 |
+
"type": "image",
|
| 1260 |
+
"img_path": "images/ba962b57c0c5246fc90ef58b76a0c12cca8d16889acbe6c156a5f6a472c20ce7.jpg",
|
| 1261 |
+
"image_caption": [],
|
| 1262 |
+
"image_footnote": [],
|
| 1263 |
+
"bbox": [
|
| 1264 |
+
119,
|
| 1265 |
+
552,
|
| 1266 |
+
263,
|
| 1267 |
+
652
|
| 1268 |
+
],
|
| 1269 |
+
"page_idx": 7
|
| 1270 |
+
},
|
| 1271 |
+
{
|
| 1272 |
+
"type": "image",
|
| 1273 |
+
"img_path": "images/a366fdfbea52d788a92af08818565a327e98c3df86a050e41e372e00b9c010f6.jpg",
|
| 1274 |
+
"image_caption": [
|
| 1275 |
+
"Pearson correlation between features (dim=12)"
|
| 1276 |
+
],
|
| 1277 |
+
"image_footnote": [],
|
| 1278 |
+
"bbox": [
|
| 1279 |
+
282,
|
| 1280 |
+
552,
|
| 1281 |
+
418,
|
| 1282 |
+
652
|
| 1283 |
+
],
|
| 1284 |
+
"page_idx": 7
|
| 1285 |
+
},
|
| 1286 |
+
{
|
| 1287 |
+
"type": "image",
|
| 1288 |
+
"img_path": "images/04ac375c04e26358ccd6ea6389ef32d851582187466f15170f15e29747ddb1c6.jpg",
|
| 1289 |
+
"image_caption": [],
|
| 1290 |
+
"image_footnote": [],
|
| 1291 |
+
"bbox": [
|
| 1292 |
+
430,
|
| 1293 |
+
552,
|
| 1294 |
+
551,
|
| 1295 |
+
652
|
| 1296 |
+
],
|
| 1297 |
+
"page_idx": 7
|
| 1298 |
+
},
|
| 1299 |
+
{
|
| 1300 |
+
"type": "image",
|
| 1301 |
+
"img_path": "images/464693b6622a338abc6c1f8268461dc4b3dc6d49ede288df8fa4cc1885724f2b.jpg",
|
| 1302 |
+
"image_caption": [],
|
| 1303 |
+
"image_footnote": [],
|
| 1304 |
+
"bbox": [
|
| 1305 |
+
576,
|
| 1306 |
+
552,
|
| 1307 |
+
700,
|
| 1308 |
+
652
|
| 1309 |
+
],
|
| 1310 |
+
"page_idx": 7
|
| 1311 |
+
},
|
| 1312 |
+
{
|
| 1313 |
+
"type": "image",
|
| 1314 |
+
"img_path": "images/f3ba839187d7c35414596f45ae59a132d0142f60358af367f1c0a80a6f8e52eb.jpg",
|
| 1315 |
+
"image_caption": [],
|
| 1316 |
+
"image_footnote": [],
|
| 1317 |
+
"bbox": [
|
| 1318 |
+
724,
|
| 1319 |
+
552,
|
| 1320 |
+
847,
|
| 1321 |
+
652
|
| 1322 |
+
],
|
| 1323 |
+
"page_idx": 7
|
| 1324 |
+
},
|
| 1325 |
+
{
|
| 1326 |
+
"type": "image",
|
| 1327 |
+
"img_path": "images/ebe9284b92ab7aa72dc45aead00eec0f87619fb570715e1ca389850afabbb711.jpg",
|
| 1328 |
+
"image_caption": [],
|
| 1329 |
+
"image_footnote": [],
|
| 1330 |
+
"bbox": [
|
| 1331 |
+
119,
|
| 1332 |
+
653,
|
| 1333 |
+
262,
|
| 1334 |
+
753
|
| 1335 |
+
],
|
| 1336 |
+
"page_idx": 7
|
| 1337 |
+
},
|
| 1338 |
+
{
|
| 1339 |
+
"type": "image",
|
| 1340 |
+
"img_path": "images/72fab356a9886508898e03f65065d7c6843406057da271191f22b7c4db25ed9b.jpg",
|
| 1341 |
+
"image_caption": [],
|
| 1342 |
+
"image_footnote": [],
|
| 1343 |
+
"bbox": [
|
| 1344 |
+
282,
|
| 1345 |
+
653,
|
| 1346 |
+
418,
|
| 1347 |
+
753
|
| 1348 |
+
],
|
| 1349 |
+
"page_idx": 7
|
| 1350 |
+
},
|
| 1351 |
+
{
|
| 1352 |
+
"type": "image",
|
| 1353 |
+
"img_path": "images/1b8161abc276285198cd56cd2876819edc5098c492e311e7ed0a6ce3071f0cf0.jpg",
|
| 1354 |
+
"image_caption": [],
|
| 1355 |
+
"image_footnote": [],
|
| 1356 |
+
"bbox": [
|
| 1357 |
+
431,
|
| 1358 |
+
653,
|
| 1359 |
+
551,
|
| 1360 |
+
753
|
| 1361 |
+
],
|
| 1362 |
+
"page_idx": 7
|
| 1363 |
+
},
|
| 1364 |
+
{
|
| 1365 |
+
"type": "image",
|
| 1366 |
+
"img_path": "images/fd1b29c5fdd1b56235c96ab54b644854c2e4899736b1437390b8ebb0da8a0739.jpg",
|
| 1367 |
+
"image_caption": [],
|
| 1368 |
+
"image_footnote": [],
|
| 1369 |
+
"bbox": [
|
| 1370 |
+
576,
|
| 1371 |
+
653,
|
| 1372 |
+
700,
|
| 1373 |
+
753
|
| 1374 |
+
],
|
| 1375 |
+
"page_idx": 7
|
| 1376 |
+
},
|
| 1377 |
+
{
|
| 1378 |
+
"type": "image",
|
| 1379 |
+
"img_path": "images/7559ab50de6be62847564c41822757c71d9f1024d785f2024d9f2d2b23101e08.jpg",
|
| 1380 |
+
"image_caption": [],
|
| 1381 |
+
"image_footnote": [],
|
| 1382 |
+
"bbox": [
|
| 1383 |
+
724,
|
| 1384 |
+
653,
|
| 1385 |
+
847,
|
| 1386 |
+
753
|
| 1387 |
+
],
|
| 1388 |
+
"page_idx": 7
|
| 1389 |
+
},
|
| 1390 |
+
{
|
| 1391 |
+
"type": "image",
|
| 1392 |
+
"img_path": "images/69bdb5a9c1f7be3ac3ecea2e05d8fa810b85df666a6f76d0cabf96354bb29a86.jpg",
|
| 1393 |
+
"image_caption": [
|
| 1394 |
+
"Figure 2: Correlation matrices of feature vectors across representation variants with dimension of 12."
|
| 1395 |
+
],
|
| 1396 |
+
"image_footnote": [],
|
| 1397 |
+
"bbox": [
|
| 1398 |
+
119,
|
| 1399 |
+
756,
|
| 1400 |
+
262,
|
| 1401 |
+
854
|
| 1402 |
+
],
|
| 1403 |
+
"page_idx": 7
|
| 1404 |
+
},
|
| 1405 |
+
{
|
| 1406 |
+
"type": "image",
|
| 1407 |
+
"img_path": "images/1841577c8eea6af3ff3767280aed87b54821d4228cccdf4386de82f0e4736ec4.jpg",
|
| 1408 |
+
"image_caption": [],
|
| 1409 |
+
"image_footnote": [],
|
| 1410 |
+
"bbox": [
|
| 1411 |
+
282,
|
| 1412 |
+
756,
|
| 1413 |
+
418,
|
| 1414 |
+
854
|
| 1415 |
+
],
|
| 1416 |
+
"page_idx": 7
|
| 1417 |
+
},
|
| 1418 |
+
{
|
| 1419 |
+
"type": "image",
|
| 1420 |
+
"img_path": "images/2b0b460584ecf83a5f860bce74ea515a663989ca952fbfeccb6b2a3e242e649f.jpg",
|
| 1421 |
+
"image_caption": [],
|
| 1422 |
+
"image_footnote": [],
|
| 1423 |
+
"bbox": [
|
| 1424 |
+
430,
|
| 1425 |
+
756,
|
| 1426 |
+
551,
|
| 1427 |
+
854
|
| 1428 |
+
],
|
| 1429 |
+
"page_idx": 7
|
| 1430 |
+
},
|
| 1431 |
+
{
|
| 1432 |
+
"type": "image",
|
| 1433 |
+
"img_path": "images/1057ade4d2ac1b65a8b24ba0436c30938bab50136818954bad3380fa91e22a9b.jpg",
|
| 1434 |
+
"image_caption": [],
|
| 1435 |
+
"image_footnote": [],
|
| 1436 |
+
"bbox": [
|
| 1437 |
+
576,
|
| 1438 |
+
756,
|
| 1439 |
+
700,
|
| 1440 |
+
854
|
| 1441 |
+
],
|
| 1442 |
+
"page_idx": 7
|
| 1443 |
+
},
|
| 1444 |
+
{
|
| 1445 |
+
"type": "image",
|
| 1446 |
+
"img_path": "images/cd79acc52bec3506d06e3e8e662ff62d9650b35e9e7e0f21552102c3e9b4882f.jpg",
|
| 1447 |
+
"image_caption": [],
|
| 1448 |
+
"image_footnote": [],
|
| 1449 |
+
"bbox": [
|
| 1450 |
+
714,
|
| 1451 |
+
756,
|
| 1452 |
+
873,
|
| 1453 |
+
854
|
| 1454 |
+
],
|
| 1455 |
+
"page_idx": 7
|
| 1456 |
+
},
|
| 1457 |
+
{
|
| 1458 |
+
"type": "header",
|
| 1459 |
+
"text": "A Correlation Matrices",
|
| 1460 |
+
"bbox": [
|
| 1461 |
+
114,
|
| 1462 |
+
84,
|
| 1463 |
+
334,
|
| 1464 |
+
98
|
| 1465 |
+
],
|
| 1466 |
+
"page_idx": 7
|
| 1467 |
+
},
|
| 1468 |
+
{
|
| 1469 |
+
"type": "page_number",
|
| 1470 |
+
"text": "8791",
|
| 1471 |
+
"bbox": [
|
| 1472 |
+
480,
|
| 1473 |
+
928,
|
| 1474 |
+
517,
|
| 1475 |
+
940
|
| 1476 |
+
],
|
| 1477 |
+
"page_idx": 7
|
| 1478 |
+
},
|
| 1479 |
+
{
|
| 1480 |
+
"type": "text",
|
| 1481 |
+
"text": "Pearson correlation between features (dim=25)",
|
| 1482 |
+
"text_level": 1,
|
| 1483 |
+
"bbox": [
|
| 1484 |
+
337,
|
| 1485 |
+
322,
|
| 1486 |
+
653,
|
| 1487 |
+
334
|
| 1488 |
+
],
|
| 1489 |
+
"page_idx": 8
|
| 1490 |
+
},
|
| 1491 |
+
{
|
| 1492 |
+
"type": "image",
|
| 1493 |
+
"img_path": "images/4150446ab607544a5eb7c0f00ce24ce092873d5b85f8b9b72527d72fe720221a.jpg",
|
| 1494 |
+
"image_caption": [],
|
| 1495 |
+
"image_footnote": [],
|
| 1496 |
+
"bbox": [
|
| 1497 |
+
117,
|
| 1498 |
+
346,
|
| 1499 |
+
263,
|
| 1500 |
+
445
|
| 1501 |
+
],
|
| 1502 |
+
"page_idx": 8
|
| 1503 |
+
},
|
| 1504 |
+
{
|
| 1505 |
+
"type": "image",
|
| 1506 |
+
"img_path": "images/c8cce625139a6879322e78635b20ef8a0bc1b8f4cbb939704211c3e9582da226.jpg",
|
| 1507 |
+
"image_caption": [],
|
| 1508 |
+
"image_footnote": [],
|
| 1509 |
+
"bbox": [
|
| 1510 |
+
119,
|
| 1511 |
+
449,
|
| 1512 |
+
263,
|
| 1513 |
+
545
|
| 1514 |
+
],
|
| 1515 |
+
"page_idx": 8
|
| 1516 |
+
},
|
| 1517 |
+
{
|
| 1518 |
+
"type": "image",
|
| 1519 |
+
"img_path": "images/8930cdf5fe5c77ffa84035a1d0d737b490b30ceb6625ca733e5b5019c9527df0.jpg",
|
| 1520 |
+
"image_caption": [
|
| 1521 |
+
"Figure 3: Correlation matrices of feature vectors across representation variants with dimension of 25."
|
| 1522 |
+
],
|
| 1523 |
+
"image_footnote": [],
|
| 1524 |
+
"bbox": [
|
| 1525 |
+
119,
|
| 1526 |
+
548,
|
| 1527 |
+
262,
|
| 1528 |
+
646
|
| 1529 |
+
],
|
| 1530 |
+
"page_idx": 8
|
| 1531 |
+
},
|
| 1532 |
+
{
|
| 1533 |
+
"type": "image",
|
| 1534 |
+
"img_path": "images/e47ecb0b45c1943cf4122e45fa8a6cf9b64a9cb4763ce1b7a2a826caeb3b7d5e.jpg",
|
| 1535 |
+
"image_caption": [],
|
| 1536 |
+
"image_footnote": [],
|
| 1537 |
+
"bbox": [
|
| 1538 |
+
282,
|
| 1539 |
+
346,
|
| 1540 |
+
420,
|
| 1541 |
+
445
|
| 1542 |
+
],
|
| 1543 |
+
"page_idx": 8
|
| 1544 |
+
},
|
| 1545 |
+
{
|
| 1546 |
+
"type": "image",
|
| 1547 |
+
"img_path": "images/cf9627ac9b4e98c9ebee65949b37c162d6ef97cc4f18665daaa5047d90c22ba9.jpg",
|
| 1548 |
+
"image_caption": [],
|
| 1549 |
+
"image_footnote": [],
|
| 1550 |
+
"bbox": [
|
| 1551 |
+
282,
|
| 1552 |
+
448,
|
| 1553 |
+
420,
|
| 1554 |
+
545
|
| 1555 |
+
],
|
| 1556 |
+
"page_idx": 8
|
| 1557 |
+
},
|
| 1558 |
+
{
|
| 1559 |
+
"type": "image",
|
| 1560 |
+
"img_path": "images/d82564006893445346d5e0d61c487f3ef32857a20dd2f3262f19758aa4ba2d86.jpg",
|
| 1561 |
+
"image_caption": [],
|
| 1562 |
+
"image_footnote": [],
|
| 1563 |
+
"bbox": [
|
| 1564 |
+
282,
|
| 1565 |
+
548,
|
| 1566 |
+
420,
|
| 1567 |
+
646
|
| 1568 |
+
],
|
| 1569 |
+
"page_idx": 8
|
| 1570 |
+
},
|
| 1571 |
+
{
|
| 1572 |
+
"type": "image",
|
| 1573 |
+
"img_path": "images/7b20f1378f18117882eeae91bcff18b5198d07eb49123bf3a6e61543d743e9f7.jpg",
|
| 1574 |
+
"image_caption": [],
|
| 1575 |
+
"image_footnote": [],
|
| 1576 |
+
"bbox": [
|
| 1577 |
+
428,
|
| 1578 |
+
346,
|
| 1579 |
+
554,
|
| 1580 |
+
445
|
| 1581 |
+
],
|
| 1582 |
+
"page_idx": 8
|
| 1583 |
+
},
|
| 1584 |
+
{
|
| 1585 |
+
"type": "image",
|
| 1586 |
+
"img_path": "images/b2d98184a46d3e4682108937827856479f67325ff4e3edd3677090a21c527ad5.jpg",
|
| 1587 |
+
"image_caption": [],
|
| 1588 |
+
"image_footnote": [],
|
| 1589 |
+
"bbox": [
|
| 1590 |
+
428,
|
| 1591 |
+
448,
|
| 1592 |
+
552,
|
| 1593 |
+
545
|
| 1594 |
+
],
|
| 1595 |
+
"page_idx": 8
|
| 1596 |
+
},
|
| 1597 |
+
{
|
| 1598 |
+
"type": "image",
|
| 1599 |
+
"img_path": "images/763d9c57c03a73a650ca8d36c638af7a1a82d0472a7d623ae8c9a9f28aa33ff4.jpg",
|
| 1600 |
+
"image_caption": [],
|
| 1601 |
+
"image_footnote": [],
|
| 1602 |
+
"bbox": [
|
| 1603 |
+
428,
|
| 1604 |
+
548,
|
| 1605 |
+
552,
|
| 1606 |
+
646
|
| 1607 |
+
],
|
| 1608 |
+
"page_idx": 8
|
| 1609 |
+
},
|
| 1610 |
+
{
|
| 1611 |
+
"type": "image",
|
| 1612 |
+
"img_path": "images/1cfd29e61a7083a3c9fd13f24a4282967ff1005d386da95ca8944188ed647fc3.jpg",
|
| 1613 |
+
"image_caption": [],
|
| 1614 |
+
"image_footnote": [],
|
| 1615 |
+
"bbox": [
|
| 1616 |
+
574,
|
| 1617 |
+
346,
|
| 1618 |
+
700,
|
| 1619 |
+
445
|
| 1620 |
+
],
|
| 1621 |
+
"page_idx": 8
|
| 1622 |
+
},
|
| 1623 |
+
{
|
| 1624 |
+
"type": "image",
|
| 1625 |
+
"img_path": "images/247cf832c26e0ffc9c8c1c35201d0cdd38890345da7d16fa13e7991d145877fd.jpg",
|
| 1626 |
+
"image_caption": [],
|
| 1627 |
+
"image_footnote": [],
|
| 1628 |
+
"bbox": [
|
| 1629 |
+
576,
|
| 1630 |
+
448,
|
| 1631 |
+
700,
|
| 1632 |
+
545
|
| 1633 |
+
],
|
| 1634 |
+
"page_idx": 8
|
| 1635 |
+
},
|
| 1636 |
+
{
|
| 1637 |
+
"type": "image",
|
| 1638 |
+
"img_path": "images/39a24e18f9c9208d3b5d828bb77ee788f8111bd5534b1873320dbc4a4adbd332.jpg",
|
| 1639 |
+
"image_caption": [],
|
| 1640 |
+
"image_footnote": [],
|
| 1641 |
+
"bbox": [
|
| 1642 |
+
576,
|
| 1643 |
+
548,
|
| 1644 |
+
700,
|
| 1645 |
+
646
|
| 1646 |
+
],
|
| 1647 |
+
"page_idx": 8
|
| 1648 |
+
},
|
| 1649 |
+
{
|
| 1650 |
+
"type": "image",
|
| 1651 |
+
"img_path": "images/028d2dd7a7a963c8fe04ee18e5dbdf982408ca9235cf9a731442d6334b6aeb33.jpg",
|
| 1652 |
+
"image_caption": [],
|
| 1653 |
+
"image_footnote": [],
|
| 1654 |
+
"bbox": [
|
| 1655 |
+
722,
|
| 1656 |
+
346,
|
| 1657 |
+
847,
|
| 1658 |
+
445
|
| 1659 |
+
],
|
| 1660 |
+
"page_idx": 8
|
| 1661 |
+
},
|
| 1662 |
+
{
|
| 1663 |
+
"type": "image",
|
| 1664 |
+
"img_path": "images/d2f0df741541b95d244eb4b1fc61eec1602867cddbe37ed93fb16e1da9e21f0d.jpg",
|
| 1665 |
+
"image_caption": [],
|
| 1666 |
+
"image_footnote": [],
|
| 1667 |
+
"bbox": [
|
| 1668 |
+
722,
|
| 1669 |
+
448,
|
| 1670 |
+
847,
|
| 1671 |
+
545
|
| 1672 |
+
],
|
| 1673 |
+
"page_idx": 8
|
| 1674 |
+
},
|
| 1675 |
+
{
|
| 1676 |
+
"type": "image",
|
| 1677 |
+
"img_path": "images/21a5f9311fc83cebd8d0f22c68e1bd69a752bfd38b6c4e584aee0d552567b8e7.jpg",
|
| 1678 |
+
"image_caption": [],
|
| 1679 |
+
"image_footnote": [],
|
| 1680 |
+
"bbox": [
|
| 1681 |
+
714,
|
| 1682 |
+
548,
|
| 1683 |
+
873,
|
| 1684 |
+
648
|
| 1685 |
+
],
|
| 1686 |
+
"page_idx": 8
|
| 1687 |
+
},
|
| 1688 |
+
{
|
| 1689 |
+
"type": "page_number",
|
| 1690 |
+
"text": "8792",
|
| 1691 |
+
"bbox": [
|
| 1692 |
+
480,
|
| 1693 |
+
927,
|
| 1694 |
+
521,
|
| 1695 |
+
940
|
| 1696 |
+
],
|
| 1697 |
+
"page_idx": 8
|
| 1698 |
+
}
|
| 1699 |
+
]
|
2023/Role of Context in Unsupervised Sentence Representation Learning_ the Case of Dialog Act Modeling/7f70510d-2f4b-4269-8c9d-3b663839a931_model.json
ADDED
|
@@ -0,0 +1,2198 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
[
|
| 3 |
+
{
|
| 4 |
+
"type": "title",
|
| 5 |
+
"bbox": [
|
| 6 |
+
0.128,
|
| 7 |
+
0.089,
|
| 8 |
+
0.872,
|
| 9 |
+
0.13
|
| 10 |
+
],
|
| 11 |
+
"angle": 0,
|
| 12 |
+
"content": "Role of Context in Unsupervised Sentence Representation Learning: the Case of Dialog Act Tagging"
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"bbox": [
|
| 17 |
+
0.254,
|
| 18 |
+
0.144,
|
| 19 |
+
0.414,
|
| 20 |
+
0.16
|
| 21 |
+
],
|
| 22 |
+
"angle": 0,
|
| 23 |
+
"content": "Rastislav Hronsky"
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"bbox": [
|
| 28 |
+
0.178,
|
| 29 |
+
0.161,
|
| 30 |
+
0.49,
|
| 31 |
+
0.176
|
| 32 |
+
],
|
| 33 |
+
"angle": 0,
|
| 34 |
+
"content": "Jheronimus Academy of Data Science"
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"type": "text",
|
| 38 |
+
"bbox": [
|
| 39 |
+
0.146,
|
| 40 |
+
0.177,
|
| 41 |
+
0.523,
|
| 42 |
+
0.193
|
| 43 |
+
],
|
| 44 |
+
"angle": 0,
|
| 45 |
+
"content": "Sint Janssingel 92, 5211 DA 's-Hertogenbosch"
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"type": "text",
|
| 49 |
+
"bbox": [
|
| 50 |
+
0.284,
|
| 51 |
+
0.194,
|
| 52 |
+
0.384,
|
| 53 |
+
0.208
|
| 54 |
+
],
|
| 55 |
+
"angle": 0,
|
| 56 |
+
"content": "Netherlands"
|
| 57 |
+
},
|
| 58 |
+
{
|
| 59 |
+
"type": "text",
|
| 60 |
+
"bbox": [
|
| 61 |
+
0.253,
|
| 62 |
+
0.211,
|
| 63 |
+
0.416,
|
| 64 |
+
0.226
|
| 65 |
+
],
|
| 66 |
+
"angle": 0,
|
| 67 |
+
"content": "r.hronsky@tue.nl"
|
| 68 |
+
},
|
| 69 |
+
{
|
| 70 |
+
"type": "text",
|
| 71 |
+
"bbox": [
|
| 72 |
+
0.577,
|
| 73 |
+
0.144,
|
| 74 |
+
0.756,
|
| 75 |
+
0.159
|
| 76 |
+
],
|
| 77 |
+
"angle": 0,
|
| 78 |
+
"content": "Emmanuel Keuleers"
|
| 79 |
+
},
|
| 80 |
+
{
|
| 81 |
+
"type": "text",
|
| 82 |
+
"bbox": [
|
| 83 |
+
0.591,
|
| 84 |
+
0.161,
|
| 85 |
+
0.741,
|
| 86 |
+
0.177
|
| 87 |
+
],
|
| 88 |
+
"angle": 0,
|
| 89 |
+
"content": "Tilburg University"
|
| 90 |
+
},
|
| 91 |
+
{
|
| 92 |
+
"type": "text",
|
| 93 |
+
"bbox": [
|
| 94 |
+
0.532,
|
| 95 |
+
0.178,
|
| 96 |
+
0.802,
|
| 97 |
+
0.193
|
| 98 |
+
],
|
| 99 |
+
"angle": 0,
|
| 100 |
+
"content": "Warandelaan 2, 5037 AB Tilburg"
|
| 101 |
+
},
|
| 102 |
+
{
|
| 103 |
+
"type": "text",
|
| 104 |
+
"bbox": [
|
| 105 |
+
0.616,
|
| 106 |
+
0.194,
|
| 107 |
+
0.716,
|
| 108 |
+
0.208
|
| 109 |
+
],
|
| 110 |
+
"angle": 0,
|
| 111 |
+
"content": "Netherlands"
|
| 112 |
+
},
|
| 113 |
+
{
|
| 114 |
+
"type": "text",
|
| 115 |
+
"bbox": [
|
| 116 |
+
0.494,
|
| 117 |
+
0.211,
|
| 118 |
+
0.838,
|
| 119 |
+
0.226
|
| 120 |
+
],
|
| 121 |
+
"angle": 0,
|
| 122 |
+
"content": "E.A.Keuleers@tilburguniversity.edu"
|
| 123 |
+
},
|
| 124 |
+
{
|
| 125 |
+
"type": "title",
|
| 126 |
+
"bbox": [
|
| 127 |
+
0.261,
|
| 128 |
+
0.253,
|
| 129 |
+
0.341,
|
| 130 |
+
0.268
|
| 131 |
+
],
|
| 132 |
+
"angle": 0,
|
| 133 |
+
"content": "Abstract"
|
| 134 |
+
},
|
| 135 |
+
{
|
| 136 |
+
"type": "text",
|
| 137 |
+
"bbox": [
|
| 138 |
+
0.142,
|
| 139 |
+
0.279,
|
| 140 |
+
0.461,
|
| 141 |
+
0.578
|
| 142 |
+
],
|
| 143 |
+
"angle": 0,
|
| 144 |
+
"content": "Unsupervised learning of word representations involves capturing the contextual information surrounding word occurrences, which can be grounded in the observation that word form is largely disconnected from word meaning. While there are fewer reasons to believe that the same holds for sentences, learning through context has been carried over to learning representations of word sequences. However, this work pays minimal to no attention to the role of context in inferring sentence representations. In this article, we present a dialog act tag probing task designed to explicitly compare content- and context-oriented sentence representations inferred on utterances of telephone conversations (SwDA). Our results suggest that there is no clear benefit of context-based sentence representations over content-based sentence representations. However, there is a very clear benefit of increasing the dimensionality of the sentence vectors in nearly all approaches."
|
| 145 |
+
},
|
| 146 |
+
{
|
| 147 |
+
"type": "title",
|
| 148 |
+
"bbox": [
|
| 149 |
+
0.115,
|
| 150 |
+
0.589,
|
| 151 |
+
0.26,
|
| 152 |
+
0.604
|
| 153 |
+
],
|
| 154 |
+
"angle": 0,
|
| 155 |
+
"content": "1 Introduction"
|
| 156 |
+
},
|
| 157 |
+
{
|
| 158 |
+
"type": "text",
|
| 159 |
+
"bbox": [
|
| 160 |
+
0.113,
|
| 161 |
+
0.614,
|
| 162 |
+
0.49,
|
| 163 |
+
0.774
|
| 164 |
+
],
|
| 165 |
+
"angle": 0,
|
| 166 |
+
"content": "Unsupervised methods for constructing word representations vary widely in their implementation (Landauer and Dumais, 1997; Mikolov et al., 2013a; Pennington et al., 2014), but share the core property that they try to capture the contextual information surrounding word occurrences. This can be grounded in the observation that word form is largely disconnected from word meaning (De Saussure, 1916) and that, therefore, trying to extract meaning from form directly would be pointless."
|
| 167 |
+
},
|
| 168 |
+
{
|
| 169 |
+
"type": "text",
|
| 170 |
+
"bbox": [
|
| 171 |
+
0.113,
|
| 172 |
+
0.775,
|
| 173 |
+
0.49,
|
| 174 |
+
0.92
|
| 175 |
+
],
|
| 176 |
+
"angle": 0,
|
| 177 |
+
"content": "However, there are fewer reasons to believe that representing the meaning of a fully composed sentence requires the description of its context in the way that a word does. Still, much effort has been devoted to developing and evaluating context-oriented methods for sentence representation (Kiros et al., 2015; Logeswaran and Lee, 2018; Cer et al., 2018). Interestingly, the theoretical justification for the approach –roughly paraphrased– is"
|
| 178 |
+
},
|
| 179 |
+
{
|
| 180 |
+
"type": "text",
|
| 181 |
+
"bbox": [
|
| 182 |
+
0.509,
|
| 183 |
+
0.254,
|
| 184 |
+
0.866,
|
| 185 |
+
0.269
|
| 186 |
+
],
|
| 187 |
+
"angle": 0,
|
| 188 |
+
"content": "that it works well for words (Kiros et al., 2015)."
|
| 189 |
+
},
|
| 190 |
+
{
|
| 191 |
+
"type": "text",
|
| 192 |
+
"bbox": [
|
| 193 |
+
0.508,
|
| 194 |
+
0.271,
|
| 195 |
+
0.882,
|
| 196 |
+
0.319
|
| 197 |
+
],
|
| 198 |
+
"angle": 0,
|
| 199 |
+
"content": "In the present article, we examine whether a contextual signal is of any significant benefit to general-purpose sentence representation."
|
| 200 |
+
},
|
| 201 |
+
{
|
| 202 |
+
"type": "text",
|
| 203 |
+
"bbox": [
|
| 204 |
+
0.508,
|
| 205 |
+
0.321,
|
| 206 |
+
0.885,
|
| 207 |
+
0.464
|
| 208 |
+
],
|
| 209 |
+
"angle": 0,
|
| 210 |
+
"content": "To accommodate this goal, we infer two sets of utterance representations from telephone conversation transcripts, one by a model trained to encode the transcripts' content, and one by a model trained to encode the transcripts context in a Skip-Thought-like fashion. We evaluate the learned representations with a linear probe classifying the dialog act tags. Below, we discuss these choices more extensively."
|
| 211 |
+
},
|
| 212 |
+
{
|
| 213 |
+
"type": "text",
|
| 214 |
+
"bbox": [
|
| 215 |
+
0.508,
|
| 216 |
+
0.468,
|
| 217 |
+
0.884,
|
| 218 |
+
0.627
|
| 219 |
+
],
|
| 220 |
+
"angle": 0,
|
| 221 |
+
"content": "The reason for the linear probing technique is to avoid any further representation learning in the downstream task training, such that the resulting accuracy numbers solely reflect the unsupervised representations. This technique is commonly used to assess to what extent sentence representations exhibit certain linguistic properties, such as part-of-speech or syntax (Conneau et al., 2018; Chrupała and Alishahi, 2019; Perone et al., 2018; Belinkov, 2022a)."
|
| 222 |
+
},
|
| 223 |
+
{
|
| 224 |
+
"type": "text",
|
| 225 |
+
"bbox": [
|
| 226 |
+
0.508,
|
| 227 |
+
0.63,
|
| 228 |
+
0.884,
|
| 229 |
+
0.855
|
| 230 |
+
],
|
| 231 |
+
"angle": 0,
|
| 232 |
+
"content": "We chose the Switchboard Dialog Act Corpus (SwDA) (Jurafsky, 1997) corpus for the following properties: (1) its size allows for inferring representations with both traditional, statistical learning methods and modern neural network based methods; (2) at the same time, the corpus is fairly narrow-domain, enabling small models to converge to meaningful representations<sup>1</sup>; (3) it contains utterance labels that we consider suitable for a probing task with respect to contextuality: while a dialog act tag unquestionably depends on the utterance contents, the surrounding utterances likely provide a good signal about its label too. See example utterances from the corpus in Table 1."
|
| 233 |
+
},
|
| 234 |
+
{
|
| 235 |
+
"type": "page_footnote",
|
| 236 |
+
"bbox": [
|
| 237 |
+
0.508,
|
| 238 |
+
0.87,
|
| 239 |
+
0.883,
|
| 240 |
+
0.919
|
| 241 |
+
],
|
| 242 |
+
"angle": 0,
|
| 243 |
+
"content": "<sup>1</sup>As opposed to some other well-known sentence-level tasks, such as NLI (Bowman et al., 2015), SICK (Marelli et al., 2014), SST-2 (Socher et al., 2013), that require \"universal\" sentence representations."
|
| 244 |
+
},
|
| 245 |
+
{
|
| 246 |
+
"type": "page_number",
|
| 247 |
+
"bbox": [
|
| 248 |
+
0.481,
|
| 249 |
+
0.928,
|
| 250 |
+
0.521,
|
| 251 |
+
0.941
|
| 252 |
+
],
|
| 253 |
+
"angle": 0,
|
| 254 |
+
"content": "8784"
|
| 255 |
+
},
|
| 256 |
+
{
|
| 257 |
+
"type": "footer",
|
| 258 |
+
"bbox": [
|
| 259 |
+
0.218,
|
| 260 |
+
0.946,
|
| 261 |
+
0.78,
|
| 262 |
+
0.959
|
| 263 |
+
],
|
| 264 |
+
"angle": 0,
|
| 265 |
+
"content": "Findings of the Association for Computational Linguistics: EMNLP 2023, pages 8784-8792"
|
| 266 |
+
},
|
| 267 |
+
{
|
| 268 |
+
"type": "footer",
|
| 269 |
+
"bbox": [
|
| 270 |
+
0.278,
|
| 271 |
+
0.959,
|
| 272 |
+
0.72,
|
| 273 |
+
0.973
|
| 274 |
+
],
|
| 275 |
+
"angle": 0,
|
| 276 |
+
"content": "December 6-10, 2023 ©2023 Association for Computational Linguistics"
|
| 277 |
+
}
|
| 278 |
+
],
|
| 279 |
+
[
|
| 280 |
+
{
|
| 281 |
+
"type": "table",
|
| 282 |
+
"bbox": [
|
| 283 |
+
0.154,
|
| 284 |
+
0.082,
|
| 285 |
+
0.449,
|
| 286 |
+
0.167
|
| 287 |
+
],
|
| 288 |
+
"angle": 0,
|
| 289 |
+
"content": "<table><tr><td>SD^E</td><td>But I, my grandparents were looking into it before.</td></tr><tr><td>SD</td><td>So I know what they’ve said.</td></tr><tr><td>B</td><td>Uh-huh.</td></tr><tr><td>^H</td><td>Well, I’m trying to think.</td></tr></table>"
|
| 290 |
+
},
|
| 291 |
+
{
|
| 292 |
+
"type": "table_caption",
|
| 293 |
+
"bbox": [
|
| 294 |
+
0.114,
|
| 295 |
+
0.178,
|
| 296 |
+
0.49,
|
| 297 |
+
0.234
|
| 298 |
+
],
|
| 299 |
+
"angle": 0,
|
| 300 |
+
"content": "Table 1: Example dialog act tags and utterances from the SwDA corpus. (SD^E = Statement expanding y/n answer, SD = Statement-non-opinion, B = Backchannel, ^H = Hold before answer/agreement)."
|
| 301 |
+
},
|
| 302 |
+
{
|
| 303 |
+
"type": "text",
|
| 304 |
+
"bbox": [
|
| 305 |
+
0.113,
|
| 306 |
+
0.262,
|
| 307 |
+
0.49,
|
| 308 |
+
0.439
|
| 309 |
+
],
|
| 310 |
+
"angle": 0,
|
| 311 |
+
"content": "Using context to enhance dialog act predictions is not a novel idea (Raheja and Tetreault, 2019; Li and Wu, 2019; Kalchbrenner and Blunsom, 2013). To ascertain the usefulness of context in this task, we checked for the reduction in entropy of a tag in a \"unigram\" setting vs. conditioned on a previous tag, a \"bigram\" setting. The results were \\( H(\\text{currenttag}) = 2.1 \\) bit and \\( H(\\text{currenttag|previousat}) = 1.86 \\) bit, meaning that such a context-enhanced baseline would, at least, increase the chance-level accuracy."
|
| 312 |
+
},
|
| 313 |
+
{
|
| 314 |
+
"type": "text",
|
| 315 |
+
"bbox": [
|
| 316 |
+
0.113,
|
| 317 |
+
0.441,
|
| 318 |
+
0.49,
|
| 319 |
+
0.651
|
| 320 |
+
],
|
| 321 |
+
"angle": 0,
|
| 322 |
+
"content": "For the content-oriented representation variants, the representations of utterances were inferred via classic topic modeling methods, word vector averaging, or an LSTM-based auto-encoder (see Section 3 for details). The resulting sentence vectors were then used as input for a Skip-Thought-like training regime, where the goal was to learn their context-oriented version by projecting them such that they are predictive of surrounding utterances. Additionally, we trained a version where the utterance encoding and projection are trained jointly, with an LSTM-based encoder of identical proportions with the one used for auto-encoding."
|
| 323 |
+
},
|
| 324 |
+
{
|
| 325 |
+
"type": "title",
|
| 326 |
+
"bbox": [
|
| 327 |
+
0.114,
|
| 328 |
+
0.665,
|
| 329 |
+
0.27,
|
| 330 |
+
0.681
|
| 331 |
+
],
|
| 332 |
+
"angle": 0,
|
| 333 |
+
"content": "2 Related Work"
|
| 334 |
+
},
|
| 335 |
+
{
|
| 336 |
+
"type": "text",
|
| 337 |
+
"bbox": [
|
| 338 |
+
0.113,
|
| 339 |
+
0.693,
|
| 340 |
+
0.489,
|
| 341 |
+
0.757
|
| 342 |
+
],
|
| 343 |
+
"angle": 0,
|
| 344 |
+
"content": "In the literature review, we summarize some of the most important work in sentence representation and relate it to the issues outlined in previous paragraphs."
|
| 345 |
+
},
|
| 346 |
+
{
|
| 347 |
+
"type": "text",
|
| 348 |
+
"bbox": [
|
| 349 |
+
0.113,
|
| 350 |
+
0.759,
|
| 351 |
+
0.49,
|
| 352 |
+
0.919
|
| 353 |
+
],
|
| 354 |
+
"angle": 0,
|
| 355 |
+
"content": "Before the deep learning era of NLP, text-processing methods relied mainly on lexical features of sentences and were invariant to word order. Using word frequency transformations, e.g., tfidf (Ramos et al., 2003), has proven effective to base the representations on more semantically laden words. Techniques such as singular value decomposition (SVD) (Landauer and Dumais, 1997; Landauer et al., 1998), or topic modeling (Blei et al., 2003; Blei, 2012; Hofmann, 2001) were used"
|
| 356 |
+
},
|
| 357 |
+
{
|
| 358 |
+
"type": "text",
|
| 359 |
+
"bbox": [
|
| 360 |
+
0.508,
|
| 361 |
+
0.085,
|
| 362 |
+
0.882,
|
| 363 |
+
0.116
|
| 364 |
+
],
|
| 365 |
+
"angle": 0,
|
| 366 |
+
"content": "to transform the sparse word-count matrices into dense vectors."
|
| 367 |
+
},
|
| 368 |
+
{
|
| 369 |
+
"type": "text",
|
| 370 |
+
"bbox": [
|
| 371 |
+
0.508,
|
| 372 |
+
0.121,
|
| 373 |
+
0.885,
|
| 374 |
+
0.25
|
| 375 |
+
],
|
| 376 |
+
"angle": 0,
|
| 377 |
+
"content": "With the subsequent success of simple neural networks such as word2vec (Mikolov et al., 2013a,b; Goldberg and Levy, 2014) or GloVe (Pennington et al., 2014) at representing words and phrases, a seemingly naive method of averaging these word vectors was shown to produce useful sentence/paragraph/document representations (Arora et al., 2017)."
|
| 378 |
+
},
|
| 379 |
+
{
|
| 380 |
+
"type": "text",
|
| 381 |
+
"bbox": [
|
| 382 |
+
0.508,
|
| 383 |
+
0.256,
|
| 384 |
+
0.885,
|
| 385 |
+
0.625
|
| 386 |
+
],
|
| 387 |
+
"angle": 0,
|
| 388 |
+
"content": "With further success of neural networks in text processing, the research on the topic grew markedly. Among the unsupervised methods, recursive auto-encoders (RAEs) (Socher et al., 2011a,b; Pollack, 1990) were trained to reconstruct sentences via recursively encoding nodes in a dependency parse tree and performed well at a paraphrasing task (Dolan et al., 2004). Tree-LSTMs (Tai et al., 2015) later succeeded the RAEs in the same recursive set up but using an LSTM encoder (Hochreiter and Schmidhuber, 1997), and evaluated on predicting semantic relatedness between two sentences (Marelli et al., 2014) and classifying sentiment (Socher et al., 2013). The current state-of-the-art unsupervised, general-purpose sentence representation systems are based on pre-trained Transformer language models (Vaswani et al., 2017) and fine-tuned via contrastive learning (Gutmann and Hyvarinen, 2012; Chen et al., 2020), i.e., pulling representations of alternative sentence formulations closer together and those of unrelated, random sentence pairs apart (Gao et al., 2021; Chuang et al., 2022)."
|
| 389 |
+
},
|
| 390 |
+
{
|
| 391 |
+
"type": "text",
|
| 392 |
+
"bbox": [
|
| 393 |
+
0.508,
|
| 394 |
+
0.63,
|
| 395 |
+
0.884,
|
| 396 |
+
0.919
|
| 397 |
+
],
|
| 398 |
+
"angle": 0,
|
| 399 |
+
"content": "The success of skip-gram-based word representations inspired researchers to transfer the idea to sentence representation. Skip-Thought (Kiros et al., 2015) is a large, LSTM-based (Hochreiter and Schmidhuber, 1997), sentence encoder that was trained to produce representations predictive of surrounding sentences. Quick-Thought (Logeswaran and Lee, 2018) is a similar system that differs in that it casts the problem as contrastive learning (Gutmann and Hyvarinen, 2012). The Universal Sentence Encoder (USE) is a Transformer-based (Vaswani et al., 2017) system introduced by Cer et al. (2018) that uses the Skip-Thought as one of the tasks in a multi-task learning set-up (including some supervised tasks). The task of deciding whether two sentences are consecutive or not (NSP task) was also used in training of BERT (Devlin et al., 2019). The latest dialog processing sys"
|
| 400 |
+
},
|
| 401 |
+
{
|
| 402 |
+
"type": "page_number",
|
| 403 |
+
"bbox": [
|
| 404 |
+
0.481,
|
| 405 |
+
0.929,
|
| 406 |
+
0.521,
|
| 407 |
+
0.941
|
| 408 |
+
],
|
| 409 |
+
"angle": 0,
|
| 410 |
+
"content": "8785"
|
| 411 |
+
}
|
| 412 |
+
],
|
| 413 |
+
[
|
| 414 |
+
{
|
| 415 |
+
"type": "text",
|
| 416 |
+
"bbox": [
|
| 417 |
+
0.113,
|
| 418 |
+
0.085,
|
| 419 |
+
0.49,
|
| 420 |
+
0.198
|
| 421 |
+
],
|
| 422 |
+
"angle": 0,
|
| 423 |
+
"content": "tems, built on top of Transformer language models (Vaswani et al., 2017), typically learn to predict contextual utterances within the contrastive learning framework and achieve superior performance on dialog tasks compared to universal representations (Wu et al., 2020; Zhou et al., 2022; Zeng et al., 2023; Oh et al., 2023)."
|
| 424 |
+
},
|
| 425 |
+
{
|
| 426 |
+
"type": "text",
|
| 427 |
+
"bbox": [
|
| 428 |
+
0.117,
|
| 429 |
+
0.2,
|
| 430 |
+
0.49,
|
| 431 |
+
0.552
|
| 432 |
+
],
|
| 433 |
+
"angle": 0,
|
| 434 |
+
"content": "While sentence contextuality is used in all of the above-mentioned studies, there is little to no focus on assessing the necessity for using context to derive sentence representations. An ablation of the NSP task is presented by Devlin et al. (2019), suggesting a slight performance benefit over a version where the task is omitted. However, Devlin et al. (2019) only evaluate the fine-tuning pipeline, while the raw BERT representations were shown to perform poorly overall (Reimers and Gurevych, 2019). Further, results by Liu et al. (2019) are contradictory and do not credit a performance improvement to the NSP task. Lastly, Zhou et al. (2022) additionally compare the representations resulting from dropout augmentations (Gao et al., 2021) to those of consecutive utterances and found a significant benefit in favor of the latter augmentations. Their results are perplexing, however, since the dropout version they implemented performed even worse than that of SimCSE (Gao et al., 2021), which also uses dropout augmentation, and should in fact perform worse, not being tailored for dialog."
|
| 435 |
+
},
|
| 436 |
+
{
|
| 437 |
+
"type": "text",
|
| 438 |
+
"bbox": [
|
| 439 |
+
0.113,
|
| 440 |
+
0.555,
|
| 441 |
+
0.49,
|
| 442 |
+
0.668
|
| 443 |
+
],
|
| 444 |
+
"angle": 0,
|
| 445 |
+
"content": "Using the natural language inference (NLI) task has been effective in several general sentence representation learning systems (Conneau et al., 2017; Reimers and Gurevych, 2019; Zhou et al., 2022). However, along with machine translation models, these systems fall outside the category of unsupervised sentence representations."
|
| 446 |
+
},
|
| 447 |
+
{
|
| 448 |
+
"type": "title",
|
| 449 |
+
"bbox": [
|
| 450 |
+
0.114,
|
| 451 |
+
0.683,
|
| 452 |
+
0.219,
|
| 453 |
+
0.699
|
| 454 |
+
],
|
| 455 |
+
"angle": 0,
|
| 456 |
+
"content": "3 Method"
|
| 457 |
+
},
|
| 458 |
+
{
|
| 459 |
+
"type": "text",
|
| 460 |
+
"bbox": [
|
| 461 |
+
0.113,
|
| 462 |
+
0.713,
|
| 463 |
+
0.489,
|
| 464 |
+
0.776
|
| 465 |
+
],
|
| 466 |
+
"angle": 0,
|
| 467 |
+
"content": "We trained several variants of content-based representations, their context-based counterparts, and an end-to-end, Skip-Thought like system, trained to encode and predict sentences."
|
| 468 |
+
},
|
| 469 |
+
{
|
| 470 |
+
"type": "text",
|
| 471 |
+
"bbox": [
|
| 472 |
+
0.114,
|
| 473 |
+
0.779,
|
| 474 |
+
0.49,
|
| 475 |
+
0.811
|
| 476 |
+
],
|
| 477 |
+
"angle": 0,
|
| 478 |
+
"content": "We evaluated the following variants of content-based sentence representation<sup>2</sup>:"
|
| 479 |
+
},
|
| 480 |
+
{
|
| 481 |
+
"type": "text",
|
| 482 |
+
"bbox": [
|
| 483 |
+
0.13,
|
| 484 |
+
0.827,
|
| 485 |
+
0.409,
|
| 486 |
+
0.843
|
| 487 |
+
],
|
| 488 |
+
"angle": 0,
|
| 489 |
+
"content": "1. Latent Semantic Analysis (LSA) \\(\\star\\)"
|
| 490 |
+
},
|
| 491 |
+
{
|
| 492 |
+
"type": "text",
|
| 493 |
+
"bbox": [
|
| 494 |
+
0.129,
|
| 495 |
+
0.859,
|
| 496 |
+
0.486,
|
| 497 |
+
0.89
|
| 498 |
+
],
|
| 499 |
+
"angle": 0,
|
| 500 |
+
"content": "2. Latent Dirichlet Allocation (LDA)\\* (Blei et al., 2003)"
|
| 501 |
+
},
|
| 502 |
+
{
|
| 503 |
+
"type": "list",
|
| 504 |
+
"bbox": [
|
| 505 |
+
0.129,
|
| 506 |
+
0.827,
|
| 507 |
+
0.486,
|
| 508 |
+
0.89
|
| 509 |
+
],
|
| 510 |
+
"angle": 0,
|
| 511 |
+
"content": null
|
| 512 |
+
},
|
| 513 |
+
{
|
| 514 |
+
"type": "text",
|
| 515 |
+
"bbox": [
|
| 516 |
+
0.524,
|
| 517 |
+
0.085,
|
| 518 |
+
0.882,
|
| 519 |
+
0.116
|
| 520 |
+
],
|
| 521 |
+
"angle": 0,
|
| 522 |
+
"content": "3. Mean of GloVe word vectors \\(\\star\\) (Pennington et al., 2014)"
|
| 523 |
+
},
|
| 524 |
+
{
|
| 525 |
+
"type": "text",
|
| 526 |
+
"bbox": [
|
| 527 |
+
0.524,
|
| 528 |
+
0.129,
|
| 529 |
+
0.882,
|
| 530 |
+
0.16
|
| 531 |
+
],
|
| 532 |
+
"angle": 0,
|
| 533 |
+
"content": "4. LSTM-based auto-encoder (Hochreiter and Schmidhuber, 1997)"
|
| 534 |
+
},
|
| 535 |
+
{
|
| 536 |
+
"type": "text",
|
| 537 |
+
"bbox": [
|
| 538 |
+
0.524,
|
| 539 |
+
0.173,
|
| 540 |
+
0.858,
|
| 541 |
+
0.189
|
| 542 |
+
],
|
| 543 |
+
"angle": 0,
|
| 544 |
+
"content": "5. Mean of arbitrarily assigned word vectors"
|
| 545 |
+
},
|
| 546 |
+
{
|
| 547 |
+
"type": "list",
|
| 548 |
+
"bbox": [
|
| 549 |
+
0.524,
|
| 550 |
+
0.085,
|
| 551 |
+
0.882,
|
| 552 |
+
0.189
|
| 553 |
+
],
|
| 554 |
+
"angle": 0,
|
| 555 |
+
"content": null
|
| 556 |
+
},
|
| 557 |
+
{
|
| 558 |
+
"type": "text",
|
| 559 |
+
"bbox": [
|
| 560 |
+
0.508,
|
| 561 |
+
0.202,
|
| 562 |
+
0.885,
|
| 563 |
+
0.427
|
| 564 |
+
],
|
| 565 |
+
"angle": 0,
|
| 566 |
+
"content": "We also varied the final dimension of the sentence vector, namely \\( D \\in \\{6, 12, 25\\} \\), either by setting the number_of_topics parameter, setting the auto-encoder bottleneck size, or truncating GloVe vectors. The auto-encoder was based on a 2-layer, bidirectional Long Short-Term Memory (LSTM) neural network with hidden size of \\( D_{hidden} = 64 \\), dropout of \\( p = 0.1 \\). The variant 5 is one where we randomly assigned a feature vector from an 8-dimensional raster to each vocabulary entry (a procedure by which we want to emulate the usage of 1-hot vector encoding, but with dense, real-valued vectors), and created the final sentence representation by averaging corresponding word vectors."
|
| 567 |
+
},
|
| 568 |
+
{
|
| 569 |
+
"type": "text",
|
| 570 |
+
"bbox": [
|
| 571 |
+
0.508,
|
| 572 |
+
0.428,
|
| 573 |
+
0.884,
|
| 574 |
+
0.538
|
| 575 |
+
],
|
| 576 |
+
"angle": 0,
|
| 577 |
+
"content": "To create the context-based representations, we devised a learning regimen for 2 linear layers for each variant. One layer was used to project the sentence content vector to the context space (encode), and the other layer was used to predict the content vectors of surrounding sentences from the context vector (decode)."
|
| 578 |
+
},
|
| 579 |
+
{
|
| 580 |
+
"type": "text",
|
| 581 |
+
"bbox": [
|
| 582 |
+
0.508,
|
| 583 |
+
0.54,
|
| 584 |
+
0.884,
|
| 585 |
+
0.685
|
| 586 |
+
],
|
| 587 |
+
"angle": 0,
|
| 588 |
+
"content": "Finally, we trained a Skip-Thought-like model, where each sentence was represented by a sequence of word vectors (obtained via the same procedure as in variant 5), optionally truncated and padded to 20 tokens, processed via an LSTM (identical with the auto-encoder in variant 4), and projected such that, conditioned on the resulting vector, a decoder-LSTM reconstructs the surrounding sentences well via teacher forcing."
|
| 589 |
+
},
|
| 590 |
+
{
|
| 591 |
+
"type": "text",
|
| 592 |
+
"bbox": [
|
| 593 |
+
0.508,
|
| 594 |
+
0.686,
|
| 595 |
+
0.882,
|
| 596 |
+
0.732
|
| 597 |
+
],
|
| 598 |
+
"angle": 0,
|
| 599 |
+
"content": "In all of the context-based variants, we varied the context size between 1 and 2 sentences, on each side."
|
| 600 |
+
},
|
| 601 |
+
{
|
| 602 |
+
"type": "title",
|
| 603 |
+
"bbox": [
|
| 604 |
+
0.509,
|
| 605 |
+
0.746,
|
| 606 |
+
0.742,
|
| 607 |
+
0.76
|
| 608 |
+
],
|
| 609 |
+
"angle": 0,
|
| 610 |
+
"content": "3.1 Dataset and Evaluation"
|
| 611 |
+
},
|
| 612 |
+
{
|
| 613 |
+
"type": "text",
|
| 614 |
+
"bbox": [
|
| 615 |
+
0.508,
|
| 616 |
+
0.767,
|
| 617 |
+
0.885,
|
| 618 |
+
0.895
|
| 619 |
+
],
|
| 620 |
+
"angle": 0,
|
| 621 |
+
"content": "To infer and evaluate the representations, we used the Switchboard Dialog Act Corpus (SwDA) (Jurafsky, 1997), with exception of the GloVe vectors, where we used the pre-trained glove-twitter-25 vectors. The SwDA contains transcripts of casual telephone conversations in which the two parties were instructed to discuss a certain topic, e.g. \"care of the elderly\". Every utterance is assigned a label"
|
| 622 |
+
},
|
| 623 |
+
{
|
| 624 |
+
"type": "page_footnote",
|
| 625 |
+
"bbox": [
|
| 626 |
+
0.135,
|
| 627 |
+
0.904,
|
| 628 |
+
0.482,
|
| 629 |
+
0.919
|
| 630 |
+
],
|
| 631 |
+
"angle": 0,
|
| 632 |
+
"content": "Entries marked with \\(\\star\\) use the GenSim implementation."
|
| 633 |
+
},
|
| 634 |
+
{
|
| 635 |
+
"type": "page_footnote",
|
| 636 |
+
"bbox": [
|
| 637 |
+
0.531,
|
| 638 |
+
0.905,
|
| 639 |
+
0.836,
|
| 640 |
+
0.919
|
| 641 |
+
],
|
| 642 |
+
"angle": 0,
|
| 643 |
+
"content": "3We used the pre-trained glove-twitter-25 version."
|
| 644 |
+
},
|
| 645 |
+
{
|
| 646 |
+
"type": "page_number",
|
| 647 |
+
"bbox": [
|
| 648 |
+
0.481,
|
| 649 |
+
0.928,
|
| 650 |
+
0.521,
|
| 651 |
+
0.941
|
| 652 |
+
],
|
| 653 |
+
"angle": 0,
|
| 654 |
+
"content": "8786"
|
| 655 |
+
}
|
| 656 |
+
],
|
| 657 |
+
[
|
| 658 |
+
{
|
| 659 |
+
"type": "table",
|
| 660 |
+
"bbox": [
|
| 661 |
+
0.116,
|
| 662 |
+
0.083,
|
| 663 |
+
0.482,
|
| 664 |
+
0.231
|
| 665 |
+
],
|
| 666 |
+
"angle": 0,
|
| 667 |
+
"content": "<table><tr><td></td><td>Train</td><td>Dev</td><td>Test</td></tr><tr><td>Utterances</td><td>212,145</td><td>26,518</td><td>26,519</td></tr><tr><td>Tokens</td><td>1,833M</td><td>227K</td><td>227K</td></tr><tr><td>Tokens per att.</td><td>8.64</td><td>8.56</td><td>8.32</td></tr><tr><td>SD</td><td>35.47%</td><td>33.52%</td><td>35.00%</td></tr><tr><td>%/Other</td><td>27.45%</td><td>25.77%</td><td>25.60%</td></tr><tr><td>B</td><td>18.52%</td><td>21.54%</td><td>23.02%</td></tr><tr><td>SV</td><td>13.76%</td><td>14.60%</td><td>13.73%</td></tr><tr><td>AA</td><td>4.81%</td><td>4.57%</td><td>2.65%</td></tr></table>"
|
| 668 |
+
},
|
| 669 |
+
{
|
| 670 |
+
"type": "table_footnote",
|
| 671 |
+
"bbox": [
|
| 672 |
+
0.112,
|
| 673 |
+
0.24,
|
| 674 |
+
0.49,
|
| 675 |
+
0.327
|
| 676 |
+
],
|
| 677 |
+
"angle": 0,
|
| 678 |
+
"content": "Table 2: Summary of the SwDA dataset. In the upper section of the table, we summarize the corpus statistics. In the lower section we list the percentages of dialog act labels per corpus split (SD=\"Statement-non-opinion\", B=\"Backchannel\", SV=\"Statement-opinion\", AA=\"Agree/Accept\")."
|
| 679 |
+
},
|
| 680 |
+
{
|
| 681 |
+
"type": "text",
|
| 682 |
+
"bbox": [
|
| 683 |
+
0.112,
|
| 684 |
+
0.35,
|
| 685 |
+
0.488,
|
| 686 |
+
0.398
|
| 687 |
+
],
|
| 688 |
+
"angle": 0,
|
| 689 |
+
"content": "describing the \"role\" of the act, in a similar way that part-of-speech tags describe roles of words in sentences 4."
|
| 690 |
+
},
|
| 691 |
+
{
|
| 692 |
+
"type": "text",
|
| 693 |
+
"bbox": [
|
| 694 |
+
0.112,
|
| 695 |
+
0.399,
|
| 696 |
+
0.489,
|
| 697 |
+
0.56
|
| 698 |
+
],
|
| 699 |
+
"angle": 0,
|
| 700 |
+
"content": "To pre-process the texts, (1) we tokenized the utterances with the reference Morfessor 2.0 (Virpioja et al., 2013) implementation, (2) long utterances were broken down into multiple shorter utterances with a sliding-window of 20 words and a step-size of 18 words, and (3) we split the corpus into a train, dev, and test split with respective proportions of \\(80\\%\\), \\(10\\%\\), and \\(10\\%\\) of the utterances. For an overview of the final corpus statistics, including the dialog act tags, see Table 2."
|
| 701 |
+
},
|
| 702 |
+
{
|
| 703 |
+
"type": "text",
|
| 704 |
+
"bbox": [
|
| 705 |
+
0.112,
|
| 706 |
+
0.561,
|
| 707 |
+
0.49,
|
| 708 |
+
0.673
|
| 709 |
+
],
|
| 710 |
+
"angle": 0,
|
| 711 |
+
"content": "For each representation type, we trained a linear ridge-regression\\(^{5}\\)-based classifier with 10-fold cross-validation (on the training set) to predict the dialog act labels. Altogether, there were 42 distinct dialog acts. To simplify the probe, we only selected the 10 most frequent labels to classify, while grouping the remaining labels under a single category."
|
| 712 |
+
},
|
| 713 |
+
{
|
| 714 |
+
"type": "title",
|
| 715 |
+
"bbox": [
|
| 716 |
+
0.114,
|
| 717 |
+
0.684,
|
| 718 |
+
0.214,
|
| 719 |
+
0.699
|
| 720 |
+
],
|
| 721 |
+
"angle": 0,
|
| 722 |
+
"content": "4 Results"
|
| 723 |
+
},
|
| 724 |
+
{
|
| 725 |
+
"type": "text",
|
| 726 |
+
"bbox": [
|
| 727 |
+
0.112,
|
| 728 |
+
0.709,
|
| 729 |
+
0.489,
|
| 730 |
+
0.838
|
| 731 |
+
],
|
| 732 |
+
"angle": 0,
|
| 733 |
+
"content": "The classification accuracy results are presented in Table 3. We established baseline performance as the frequency of the majority class. The only variant performing below the majority baseline was the Random variant (\\(D_{hidden} = 6\\)), which used means of arbitrarily assigned word vectors. The other variants achieved scores in the range of up to \\(15 - 21\\%\\) above the majority baseline. Except"
|
| 734 |
+
},
|
| 735 |
+
{
|
| 736 |
+
"type": "page_footnote",
|
| 737 |
+
"bbox": [
|
| 738 |
+
0.113,
|
| 739 |
+
0.845,
|
| 740 |
+
0.489,
|
| 741 |
+
0.869
|
| 742 |
+
],
|
| 743 |
+
"angle": 0,
|
| 744 |
+
"content": "4See the Coder's manual (Jurafsky, 1997) for more information."
|
| 745 |
+
},
|
| 746 |
+
{
|
| 747 |
+
"type": "page_footnote",
|
| 748 |
+
"bbox": [
|
| 749 |
+
0.113,
|
| 750 |
+
0.87,
|
| 751 |
+
0.489,
|
| 752 |
+
0.919
|
| 753 |
+
],
|
| 754 |
+
"angle": 0,
|
| 755 |
+
"content": "<sup>5</sup>We opted for ridge regression, instead of logistic regression, because of high colinearity (except for LDA and LSA) across feature vectors. See correlation matrices in the appendix Section A. We used the Scikit-Learn implementation."
|
| 756 |
+
},
|
| 757 |
+
{
|
| 758 |
+
"type": "list",
|
| 759 |
+
"bbox": [
|
| 760 |
+
0.113,
|
| 761 |
+
0.845,
|
| 762 |
+
0.489,
|
| 763 |
+
0.919
|
| 764 |
+
],
|
| 765 |
+
"angle": 0,
|
| 766 |
+
"content": null
|
| 767 |
+
},
|
| 768 |
+
{
|
| 769 |
+
"type": "table",
|
| 770 |
+
"bbox": [
|
| 771 |
+
0.51,
|
| 772 |
+
0.084,
|
| 773 |
+
0.871,
|
| 774 |
+
0.443
|
| 775 |
+
],
|
| 776 |
+
"angle": 0,
|
| 777 |
+
"content": "<table><tr><td></td><td></td><td>Context</td><td>1 att.</td><td>2 att.</td></tr><tr><td>Algo.</td><td>Dim.</td><td colspan=\"3\">Accuracy [%]</td></tr><tr><td>Maj. class</td><td></td><td>35.00</td><td></td><td></td></tr><tr><td rowspan=\"3\">GLOVE</td><td>6</td><td>51.62</td><td>50.37</td><td>50.14</td></tr><tr><td>12</td><td>52.82</td><td>52.60</td><td>52.55</td></tr><tr><td>25</td><td>57.29</td><td>57.24</td><td>56.52</td></tr><tr><td rowspan=\"3\">LDA</td><td>6</td><td>51.10</td><td>51.16</td><td>51.05</td></tr><tr><td>12</td><td>53.32</td><td>52.99</td><td>52.73</td></tr><tr><td>25</td><td>56.82</td><td>56.36</td><td>56.13</td></tr><tr><td rowspan=\"3\">LSA</td><td>6</td><td>51.07</td><td>50.62</td><td>50.58</td></tr><tr><td>12</td><td>51.94</td><td>51.44</td><td>51.04</td></tr><tr><td>25</td><td>52.02</td><td>52.11</td><td>52.12</td></tr><tr><td rowspan=\"3\">Random</td><td>6</td><td>36.52</td><td>41.55</td><td>41.83</td></tr><tr><td>12</td><td>46.99</td><td>47.17</td><td>46.47</td></tr><tr><td>25</td><td>48.46</td><td>47.69</td><td>47.59</td></tr><tr><td rowspan=\"3\">Auto-enc.</td><td>6</td><td>53.88</td><td>52.27</td><td>51.63</td></tr><tr><td>12</td><td>54.46</td><td>53.89</td><td>52.34</td></tr><tr><td>25</td><td>52.43</td><td>53.18</td><td>52.57</td></tr><tr><td rowspan=\"3\">Skip-Th.</td><td>6</td><td></td><td>51.13</td><td>39.66</td></tr><tr><td>12</td><td></td><td>53.33</td><td>52.38</td></tr><tr><td>25</td><td></td><td>55.21</td><td>57.54</td></tr></table>"
|
| 778 |
+
},
|
| 779 |
+
{
|
| 780 |
+
"type": "table_footnote",
|
| 781 |
+
"bbox": [
|
| 782 |
+
0.508,
|
| 783 |
+
0.453,
|
| 784 |
+
0.883,
|
| 785 |
+
0.496
|
| 786 |
+
],
|
| 787 |
+
"angle": 0,
|
| 788 |
+
"content": "Table 3: Results. The three right-most columns contain the accuracy percentages for the content-only, context of distance 1, and context of distance 2 variants."
|
| 789 |
+
},
|
| 790 |
+
{
|
| 791 |
+
"type": "text",
|
| 792 |
+
"bbox": [
|
| 793 |
+
0.508,
|
| 794 |
+
0.523,
|
| 795 |
+
0.883,
|
| 796 |
+
0.554
|
| 797 |
+
],
|
| 798 |
+
"angle": 0,
|
| 799 |
+
"content": "for LSA, each algorithm achieved the highest score with \\( D_{hidden} = 25 \\)."
|
| 800 |
+
},
|
| 801 |
+
{
|
| 802 |
+
"type": "text",
|
| 803 |
+
"bbox": [
|
| 804 |
+
0.508,
|
| 805 |
+
0.556,
|
| 806 |
+
0.884,
|
| 807 |
+
0.603
|
| 808 |
+
],
|
| 809 |
+
"angle": 0,
|
| 810 |
+
"content": "There were no big differences and no discerning patterns in the performance of the contextually projected variants."
|
| 811 |
+
},
|
| 812 |
+
{
|
| 813 |
+
"type": "text",
|
| 814 |
+
"bbox": [
|
| 815 |
+
0.508,
|
| 816 |
+
0.605,
|
| 817 |
+
0.885,
|
| 818 |
+
0.685
|
| 819 |
+
],
|
| 820 |
+
"angle": 0,
|
| 821 |
+
"content": "The only case where the training regime of predicting two neighboring sentences on each side scored the best was with the end-to-end, SkipThought like variant, which also achieved the overall highest score."
|
| 822 |
+
},
|
| 823 |
+
{
|
| 824 |
+
"type": "title",
|
| 825 |
+
"bbox": [
|
| 826 |
+
0.509,
|
| 827 |
+
0.7,
|
| 828 |
+
0.637,
|
| 829 |
+
0.714
|
| 830 |
+
],
|
| 831 |
+
"angle": 0,
|
| 832 |
+
"content": "5 Discussion"
|
| 833 |
+
},
|
| 834 |
+
{
|
| 835 |
+
"type": "text",
|
| 836 |
+
"bbox": [
|
| 837 |
+
0.507,
|
| 838 |
+
0.727,
|
| 839 |
+
0.885,
|
| 840 |
+
0.92
|
| 841 |
+
],
|
| 842 |
+
"angle": 0,
|
| 843 |
+
"content": "All tested models performed well over the majority baseline, including the averaged random word vectors which exceeded the majority baseline by a large margin when coupled with high dimensionality. One reason for this might be that, when averaging word vectors of higher dimension, there is a higher chance that some important lexical features will remain separable from the noise (also applicable to GloVe). Only in case of LSA and AutoEncoder, the effect of dimensionality was small. For the latter, using a variational or contrastive learning set-up might allow for better scaling of"
|
| 844 |
+
},
|
| 845 |
+
{
|
| 846 |
+
"type": "page_number",
|
| 847 |
+
"bbox": [
|
| 848 |
+
0.481,
|
| 849 |
+
0.929,
|
| 850 |
+
0.521,
|
| 851 |
+
0.941
|
| 852 |
+
],
|
| 853 |
+
"angle": 0,
|
| 854 |
+
"content": "8787"
|
| 855 |
+
}
|
| 856 |
+
],
|
| 857 |
+
[
|
| 858 |
+
{
|
| 859 |
+
"type": "text",
|
| 860 |
+
"bbox": [
|
| 861 |
+
0.113,
|
| 862 |
+
0.085,
|
| 863 |
+
0.489,
|
| 864 |
+
0.147
|
| 865 |
+
],
|
| 866 |
+
"angle": 0,
|
| 867 |
+
"content": "performance with capacity. Based on the patterns observed here, increasing the dimensionality increases performance on the probe, with or without context."
|
| 868 |
+
},
|
| 869 |
+
{
|
| 870 |
+
"type": "text",
|
| 871 |
+
"bbox": [
|
| 872 |
+
0.114,
|
| 873 |
+
0.15,
|
| 874 |
+
0.489,
|
| 875 |
+
0.229
|
| 876 |
+
],
|
| 877 |
+
"angle": 0,
|
| 878 |
+
"content": "We did not find either of these aspects discussed in the mainstream related work (Conneau et al., 2018; Belinkov, 2022b). The question of how far increasing the dimensionality helps performance should be explored in future work."
|
| 879 |
+
},
|
| 880 |
+
{
|
| 881 |
+
"type": "text",
|
| 882 |
+
"bbox": [
|
| 883 |
+
0.117,
|
| 884 |
+
0.232,
|
| 885 |
+
0.49,
|
| 886 |
+
0.472
|
| 887 |
+
],
|
| 888 |
+
"angle": 0,
|
| 889 |
+
"content": "The presented results on the dialog act tag probing task are in line with related literature in that sequence/document representations with word embeddings and classical topic modeling approaches are a tough-to-beat baseline for many neural networks (Conneau et al., 2018; Reimers and Gurevych, 2019). Our results suggest that transforming existing, content-oriented representations to context-oriented ones provides minimal to no meaningful improvement in representation. An improvement of small, but perhaps meaningful magnitude is one from the best performing AutoEncoder to Skip-Thought variant \\((3\\%)\\), suggesting that some benefit in this training scheme may be found for sentences, too."
|
| 890 |
+
},
|
| 891 |
+
{
|
| 892 |
+
"type": "text",
|
| 893 |
+
"bbox": [
|
| 894 |
+
0.113,
|
| 895 |
+
0.474,
|
| 896 |
+
0.489,
|
| 897 |
+
0.634
|
| 898 |
+
],
|
| 899 |
+
"angle": 0,
|
| 900 |
+
"content": "However, our experimental design limits us in drawing conclusions about what the Skip-Thought set-up benefited from specifically: the more general sentence representations may simply be an artifact of the more difficult learning task (predicting neighboring sentences), as opposed to being a result of form disambiguation via context, the way it works with words. Future work should employ methodology that separates the contribution of the competing sources of signal more clearly."
|
| 901 |
+
},
|
| 902 |
+
{
|
| 903 |
+
"type": "text",
|
| 904 |
+
"bbox": [
|
| 905 |
+
0.114,
|
| 906 |
+
0.636,
|
| 907 |
+
0.489,
|
| 908 |
+
0.699
|
| 909 |
+
],
|
| 910 |
+
"angle": 0,
|
| 911 |
+
"content": "When compared to the obvious benefits of context on learning word representations, it is striking that the benefits for learning sentence representations appear to be very small at best."
|
| 912 |
+
},
|
| 913 |
+
{
|
| 914 |
+
"type": "text",
|
| 915 |
+
"bbox": [
|
| 916 |
+
0.113,
|
| 917 |
+
0.701,
|
| 918 |
+
0.489,
|
| 919 |
+
0.797
|
| 920 |
+
],
|
| 921 |
+
"angle": 0,
|
| 922 |
+
"content": "This observation is suggestive of a more serious blind-spot in NLP: because context-based representations work well for words, many researchers assume that the same holds for any level of analysis. This is akin to claiming arbitrariness of the sign at any level of language processing."
|
| 923 |
+
},
|
| 924 |
+
{
|
| 925 |
+
"type": "title",
|
| 926 |
+
"bbox": [
|
| 927 |
+
0.114,
|
| 928 |
+
0.812,
|
| 929 |
+
0.246,
|
| 930 |
+
0.827
|
| 931 |
+
],
|
| 932 |
+
"angle": 0,
|
| 933 |
+
"content": "6 Conclusion"
|
| 934 |
+
},
|
| 935 |
+
{
|
| 936 |
+
"type": "text",
|
| 937 |
+
"bbox": [
|
| 938 |
+
0.113,
|
| 939 |
+
0.84,
|
| 940 |
+
0.489,
|
| 941 |
+
0.919
|
| 942 |
+
],
|
| 943 |
+
"angle": 0,
|
| 944 |
+
"content": "We presented evidence that explicitly examines the differences between content-, and context-oriented unsupervised sentence representations. While results suggest that dimensionality, rather than context, is the determining factor in building good"
|
| 945 |
+
},
|
| 946 |
+
{
|
| 947 |
+
"type": "text",
|
| 948 |
+
"bbox": [
|
| 949 |
+
0.509,
|
| 950 |
+
0.085,
|
| 951 |
+
0.882,
|
| 952 |
+
0.133
|
| 953 |
+
],
|
| 954 |
+
"angle": 0,
|
| 955 |
+
"content": "sentence representations, end-to-end approaches based on reconstructing surrounding sentences are a promising way forward."
|
| 956 |
+
},
|
| 957 |
+
{
|
| 958 |
+
"type": "title",
|
| 959 |
+
"bbox": [
|
| 960 |
+
0.51,
|
| 961 |
+
0.145,
|
| 962 |
+
0.615,
|
| 963 |
+
0.16
|
| 964 |
+
],
|
| 965 |
+
"angle": 0,
|
| 966 |
+
"content": "Limitations"
|
| 967 |
+
},
|
| 968 |
+
{
|
| 969 |
+
"type": "text",
|
| 970 |
+
"bbox": [
|
| 971 |
+
0.508,
|
| 972 |
+
0.17,
|
| 973 |
+
0.884,
|
| 974 |
+
0.364
|
| 975 |
+
],
|
| 976 |
+
"angle": 0,
|
| 977 |
+
"content": "Since this work only presents evidence from one sentence task, the conclusions drawn are task-specific. Although we believe the chosen task to be fairly general, one can easily think of tasks that would likely challenge the drawn conclusions, e.g., recognition of humor or sarcasm. However, these are rather rare cases and it is questionable, where the best position of the boundary between unsupervised and task-specific lies. Additionally, the selected range of dimensions is limited to a small amount, and at larger scales the patterns of results might change."
|
| 978 |
+
},
|
| 979 |
+
{
|
| 980 |
+
"type": "page_number",
|
| 981 |
+
"bbox": [
|
| 982 |
+
0.481,
|
| 983 |
+
0.929,
|
| 984 |
+
0.521,
|
| 985 |
+
0.941
|
| 986 |
+
],
|
| 987 |
+
"angle": 0,
|
| 988 |
+
"content": "8788"
|
| 989 |
+
}
|
| 990 |
+
],
|
| 991 |
+
[
|
| 992 |
+
{
|
| 993 |
+
"type": "title",
|
| 994 |
+
"bbox": [
|
| 995 |
+
0.116,
|
| 996 |
+
0.085,
|
| 997 |
+
0.214,
|
| 998 |
+
0.099
|
| 999 |
+
],
|
| 1000 |
+
"angle": 0,
|
| 1001 |
+
"content": "References"
|
| 1002 |
+
},
|
| 1003 |
+
{
|
| 1004 |
+
"type": "ref_text",
|
| 1005 |
+
"bbox": [
|
| 1006 |
+
0.117,
|
| 1007 |
+
0.108,
|
| 1008 |
+
0.489,
|
| 1009 |
+
0.161
|
| 1010 |
+
],
|
| 1011 |
+
"angle": 0,
|
| 1012 |
+
"content": "Sanjeev Arora, Yingyu Liang, and Tengyu Ma. 2017. A simple but tough-to-beat baseline for sentence embeddings. In International conference on learning representations."
|
| 1013 |
+
},
|
| 1014 |
+
{
|
| 1015 |
+
"type": "ref_text",
|
| 1016 |
+
"bbox": [
|
| 1017 |
+
0.117,
|
| 1018 |
+
0.171,
|
| 1019 |
+
0.489,
|
| 1020 |
+
0.21
|
| 1021 |
+
],
|
| 1022 |
+
"angle": 0,
|
| 1023 |
+
"content": "Yonatan Belinkov. 2022a. Probing classifiers: Promises, shortcomings, and advances. Computational Linguistics, 48(1):207-219."
|
| 1024 |
+
},
|
| 1025 |
+
{
|
| 1026 |
+
"type": "ref_text",
|
| 1027 |
+
"bbox": [
|
| 1028 |
+
0.117,
|
| 1029 |
+
0.221,
|
| 1030 |
+
0.489,
|
| 1031 |
+
0.26
|
| 1032 |
+
],
|
| 1033 |
+
"angle": 0,
|
| 1034 |
+
"content": "Yonatan Belinkov. 2022b. Probing classifiers: Promises, shortcomings, and advances. Computational Linguistics, 48(1):207-219."
|
| 1035 |
+
},
|
| 1036 |
+
{
|
| 1037 |
+
"type": "ref_text",
|
| 1038 |
+
"bbox": [
|
| 1039 |
+
0.117,
|
| 1040 |
+
0.27,
|
| 1041 |
+
0.489,
|
| 1042 |
+
0.298
|
| 1043 |
+
],
|
| 1044 |
+
"angle": 0,
|
| 1045 |
+
"content": "David M Blei. 2012. Probabilistic topic models. Communications of the ACM, 55(4):77-84."
|
| 1046 |
+
},
|
| 1047 |
+
{
|
| 1048 |
+
"type": "ref_text",
|
| 1049 |
+
"bbox": [
|
| 1050 |
+
0.117,
|
| 1051 |
+
0.307,
|
| 1052 |
+
0.489,
|
| 1053 |
+
0.348
|
| 1054 |
+
],
|
| 1055 |
+
"angle": 0,
|
| 1056 |
+
"content": "David M Blei, Andrew Y Ng, and Michael I Jordan. 2003. Latent dirichlet allocation. Journal of machine Learning research, 3(Jan):993-1022."
|
| 1057 |
+
},
|
| 1058 |
+
{
|
| 1059 |
+
"type": "ref_text",
|
| 1060 |
+
"bbox": [
|
| 1061 |
+
0.117,
|
| 1062 |
+
0.358,
|
| 1063 |
+
0.489,
|
| 1064 |
+
0.437
|
| 1065 |
+
],
|
| 1066 |
+
"angle": 0,
|
| 1067 |
+
"content": "Samuel R. Bowman, Gabor Angeli, Christopher Potts, and Christopher D. Manning. 2015. A large annotated corpus for learning natural language inference. In Proceedings of the 2015 Conference on Empirical Methods in Natural Language Processing (EMNLP). Association for Computational Linguistics."
|
| 1068 |
+
},
|
| 1069 |
+
{
|
| 1070 |
+
"type": "ref_text",
|
| 1071 |
+
"bbox": [
|
| 1072 |
+
0.117,
|
| 1073 |
+
0.446,
|
| 1074 |
+
0.489,
|
| 1075 |
+
0.539
|
| 1076 |
+
],
|
| 1077 |
+
"angle": 0,
|
| 1078 |
+
"content": "Daniel Cer, Yinfei Yang, Sheng-yi Kong, Nan Hua, Nicole Limtiaco, Rhomni St John, Noah Constant, Mario Guajardo-Cespedes, Steve Yuan, Chris Tar, et al. 2018. Universal sentence encoder for english. In Proceedings of the 2018 conference on empirical methods in natural language processing: system demonstrations, pages 169-174."
|
| 1079 |
+
},
|
| 1080 |
+
{
|
| 1081 |
+
"type": "ref_text",
|
| 1082 |
+
"bbox": [
|
| 1083 |
+
0.117,
|
| 1084 |
+
0.549,
|
| 1085 |
+
0.489,
|
| 1086 |
+
0.614
|
| 1087 |
+
],
|
| 1088 |
+
"angle": 0,
|
| 1089 |
+
"content": "Ting Chen, Simon Kornblith, Mohammad Norouzi, and Geoffrey Hinton. 2020. A simple framework for contrastive learning of visual representations. In International conference on machine learning, pages 1597-1607. PMLR."
|
| 1090 |
+
},
|
| 1091 |
+
{
|
| 1092 |
+
"type": "ref_text",
|
| 1093 |
+
"bbox": [
|
| 1094 |
+
0.117,
|
| 1095 |
+
0.625,
|
| 1096 |
+
0.489,
|
| 1097 |
+
0.665
|
| 1098 |
+
],
|
| 1099 |
+
"angle": 0,
|
| 1100 |
+
"content": "Grzegorz Chrupa and Afra Alishahi. 2019. Correlating neural and symbolic representations of language. arXiv preprint arXiv:1905.06401."
|
| 1101 |
+
},
|
| 1102 |
+
{
|
| 1103 |
+
"type": "ref_text",
|
| 1104 |
+
"bbox": [
|
| 1105 |
+
0.117,
|
| 1106 |
+
0.675,
|
| 1107 |
+
0.489,
|
| 1108 |
+
0.806
|
| 1109 |
+
],
|
| 1110 |
+
"angle": 0,
|
| 1111 |
+
"content": "Yung-Sung Chuang, Rumen Dangovski, Hongyin Luo, Yang Zhang, Shiyu Chang, Marin Soljacic, Shang-Wen Li, Scott Yih, Yoon Kim, and James Glass. 2022. DiffCSE: Difference-based contrastive learning for sentence embeddings. In Proceedings of the 2022 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pages 4207-4218, Seattle, United States. Association for Computational Linguistics."
|
| 1112 |
+
},
|
| 1113 |
+
{
|
| 1114 |
+
"type": "ref_text",
|
| 1115 |
+
"bbox": [
|
| 1116 |
+
0.117,
|
| 1117 |
+
0.816,
|
| 1118 |
+
0.489,
|
| 1119 |
+
0.881
|
| 1120 |
+
],
|
| 1121 |
+
"angle": 0,
|
| 1122 |
+
"content": "Alexis Conneau, Douwe Kiela, Holger Schwenk, Loic Barrault, and Antoine Bordes. 2017. Supervised learning of universal sentence representations from natural language inference data. arXiv preprint arXiv:1705.02364."
|
| 1123 |
+
},
|
| 1124 |
+
{
|
| 1125 |
+
"type": "ref_text",
|
| 1126 |
+
"bbox": [
|
| 1127 |
+
0.117,
|
| 1128 |
+
0.892,
|
| 1129 |
+
0.489,
|
| 1130 |
+
0.919
|
| 1131 |
+
],
|
| 1132 |
+
"angle": 0,
|
| 1133 |
+
"content": "Alexis Conneau, German Kruszewski, Guillaume Lample, Loic Barrault, and Marco Baroni. 2018. What"
|
| 1134 |
+
},
|
| 1135 |
+
{
|
| 1136 |
+
"type": "list",
|
| 1137 |
+
"bbox": [
|
| 1138 |
+
0.117,
|
| 1139 |
+
0.108,
|
| 1140 |
+
0.489,
|
| 1141 |
+
0.919
|
| 1142 |
+
],
|
| 1143 |
+
"angle": 0,
|
| 1144 |
+
"content": null
|
| 1145 |
+
},
|
| 1146 |
+
{
|
| 1147 |
+
"type": "ref_text",
|
| 1148 |
+
"bbox": [
|
| 1149 |
+
0.529,
|
| 1150 |
+
0.087,
|
| 1151 |
+
0.882,
|
| 1152 |
+
0.125
|
| 1153 |
+
],
|
| 1154 |
+
"angle": 0,
|
| 1155 |
+
"content": "you can cram into a single vector: Probing sentence embeddings for linguistic properties. arXiv preprint arXiv:1805.01070."
|
| 1156 |
+
},
|
| 1157 |
+
{
|
| 1158 |
+
"type": "ref_text",
|
| 1159 |
+
"bbox": [
|
| 1160 |
+
0.512,
|
| 1161 |
+
0.137,
|
| 1162 |
+
0.882,
|
| 1163 |
+
0.164
|
| 1164 |
+
],
|
| 1165 |
+
"angle": 0,
|
| 1166 |
+
"content": "Ferdinand De Saussure. 1916. Nature of the linguistic sign. Course in general linguistics, 1:65-70."
|
| 1167 |
+
},
|
| 1168 |
+
{
|
| 1169 |
+
"type": "ref_text",
|
| 1170 |
+
"bbox": [
|
| 1171 |
+
0.512,
|
| 1172 |
+
0.175,
|
| 1173 |
+
0.883,
|
| 1174 |
+
0.24
|
| 1175 |
+
],
|
| 1176 |
+
"angle": 0,
|
| 1177 |
+
"content": "Jacob Devlin, Ming-Wei Chang, and Kenton Lee. 2019. Google, kt, language, ai: Bert: pre-training of deep bidirectional transformers for language understanding. In Proceedings of NAACL-HLT, pages 4171-4186."
|
| 1178 |
+
},
|
| 1179 |
+
{
|
| 1180 |
+
"type": "ref_text",
|
| 1181 |
+
"bbox": [
|
| 1182 |
+
0.512,
|
| 1183 |
+
0.252,
|
| 1184 |
+
0.882,
|
| 1185 |
+
0.305
|
| 1186 |
+
],
|
| 1187 |
+
"angle": 0,
|
| 1188 |
+
"content": "William Dolan, Chris Quirk, Chris Brockett, and Bill Dolan. 2004. Unsupervised construction of large paraphrase corpora: Exploiting massively parallel news sources."
|
| 1189 |
+
},
|
| 1190 |
+
{
|
| 1191 |
+
"type": "ref_text",
|
| 1192 |
+
"bbox": [
|
| 1193 |
+
0.512,
|
| 1194 |
+
0.316,
|
| 1195 |
+
0.883,
|
| 1196 |
+
0.408
|
| 1197 |
+
],
|
| 1198 |
+
"angle": 0,
|
| 1199 |
+
"content": "Tianyu Gao, Xingcheng Yao, and Danqi Chen. 2021. SimCSE: Simple contrastive learning of sentence embeddings. In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing, pages 6894-6910, Online and Punta Cana, Dominican Republic. Association for Computational Linguistics."
|
| 1200 |
+
},
|
| 1201 |
+
{
|
| 1202 |
+
"type": "ref_text",
|
| 1203 |
+
"bbox": [
|
| 1204 |
+
0.512,
|
| 1205 |
+
0.419,
|
| 1206 |
+
0.883,
|
| 1207 |
+
0.471
|
| 1208 |
+
],
|
| 1209 |
+
"angle": 0,
|
| 1210 |
+
"content": "Yoav Goldberg and Omer Levy. 2014. word2vec explained: deriving mikolov et al.'s negative-sampling word-embedding method. arXiv preprint arXiv:1402.3722."
|
| 1211 |
+
},
|
| 1212 |
+
{
|
| 1213 |
+
"type": "ref_text",
|
| 1214 |
+
"bbox": [
|
| 1215 |
+
0.512,
|
| 1216 |
+
0.483,
|
| 1217 |
+
0.883,
|
| 1218 |
+
0.537
|
| 1219 |
+
],
|
| 1220 |
+
"angle": 0,
|
| 1221 |
+
"content": "Michael U Gutmann and Aapo Hyvarinen. 2012. Noisecontrastive estimation of unnormalized statistical models, with applications to natural image statistics. Journal of machine learning research, 13(2)."
|
| 1222 |
+
},
|
| 1223 |
+
{
|
| 1224 |
+
"type": "ref_text",
|
| 1225 |
+
"bbox": [
|
| 1226 |
+
0.512,
|
| 1227 |
+
0.547,
|
| 1228 |
+
0.883,
|
| 1229 |
+
0.586
|
| 1230 |
+
],
|
| 1231 |
+
"angle": 0,
|
| 1232 |
+
"content": "Sepp Hochreiter and Jürgen Schmidhuber. 1997. Long short-term memory. *Neural computation*, 9(8):1735-1780."
|
| 1233 |
+
},
|
| 1234 |
+
{
|
| 1235 |
+
"type": "ref_text",
|
| 1236 |
+
"bbox": [
|
| 1237 |
+
0.512,
|
| 1238 |
+
0.598,
|
| 1239 |
+
0.883,
|
| 1240 |
+
0.638
|
| 1241 |
+
],
|
| 1242 |
+
"angle": 0,
|
| 1243 |
+
"content": "Thomas Hofmann. 2001. Unsupervised learning by probabilistic latent semantic analysis. Machine learning, 42(1-2):177."
|
| 1244 |
+
},
|
| 1245 |
+
{
|
| 1246 |
+
"type": "ref_text",
|
| 1247 |
+
"bbox": [
|
| 1248 |
+
0.512,
|
| 1249 |
+
0.649,
|
| 1250 |
+
0.883,
|
| 1251 |
+
0.689
|
| 1252 |
+
],
|
| 1253 |
+
"angle": 0,
|
| 1254 |
+
"content": "Dan Jurafsky. 1997. Switchboard swbd-damsl shallow-discourse-function annotation coders manual. Technical report."
|
| 1255 |
+
},
|
| 1256 |
+
{
|
| 1257 |
+
"type": "ref_text",
|
| 1258 |
+
"bbox": [
|
| 1259 |
+
0.512,
|
| 1260 |
+
0.7,
|
| 1261 |
+
0.883,
|
| 1262 |
+
0.74
|
| 1263 |
+
],
|
| 1264 |
+
"angle": 0,
|
| 1265 |
+
"content": "Nal Kalchbrenner and Phil Blunsom. 2013. Recurrent convolutional neural networks for discourse compositionality. arXiv preprint arXiv:1306.3584."
|
| 1266 |
+
},
|
| 1267 |
+
{
|
| 1268 |
+
"type": "ref_text",
|
| 1269 |
+
"bbox": [
|
| 1270 |
+
0.512,
|
| 1271 |
+
0.751,
|
| 1272 |
+
0.883,
|
| 1273 |
+
0.804
|
| 1274 |
+
],
|
| 1275 |
+
"angle": 0,
|
| 1276 |
+
"content": "Ryan Kiros, Yukun Zhu, Russ R Salakhutdinov, Richard Zemel, Raquel Urtasun, Antonio Torralba, and Sanja Fidler. 2015. Skip-thought vectors. Advances in neural information processing systems, 28."
|
| 1277 |
+
},
|
| 1278 |
+
{
|
| 1279 |
+
"type": "ref_text",
|
| 1280 |
+
"bbox": [
|
| 1281 |
+
0.512,
|
| 1282 |
+
0.814,
|
| 1283 |
+
0.883,
|
| 1284 |
+
0.868
|
| 1285 |
+
],
|
| 1286 |
+
"angle": 0,
|
| 1287 |
+
"content": "Thomas K Landauer and Susan T Dumais. 1997. A solution to Plato's problem: The latent semantic analysis theory of acquisition, induction, and representation of knowledge. Psychological review, 104(2):211."
|
| 1288 |
+
},
|
| 1289 |
+
{
|
| 1290 |
+
"type": "ref_text",
|
| 1291 |
+
"bbox": [
|
| 1292 |
+
0.512,
|
| 1293 |
+
0.879,
|
| 1294 |
+
0.883,
|
| 1295 |
+
0.919
|
| 1296 |
+
],
|
| 1297 |
+
"angle": 0,
|
| 1298 |
+
"content": "Thomas K Landauer, Peter W Foltz, and Darrell Laham. 1998. An introduction to latent semantic analysis. Discourse processes, 25(2-3):259-284."
|
| 1299 |
+
},
|
| 1300 |
+
{
|
| 1301 |
+
"type": "list",
|
| 1302 |
+
"bbox": [
|
| 1303 |
+
0.512,
|
| 1304 |
+
0.087,
|
| 1305 |
+
0.883,
|
| 1306 |
+
0.919
|
| 1307 |
+
],
|
| 1308 |
+
"angle": 0,
|
| 1309 |
+
"content": null
|
| 1310 |
+
},
|
| 1311 |
+
{
|
| 1312 |
+
"type": "page_number",
|
| 1313 |
+
"bbox": [
|
| 1314 |
+
0.481,
|
| 1315 |
+
0.929,
|
| 1316 |
+
0.521,
|
| 1317 |
+
0.941
|
| 1318 |
+
],
|
| 1319 |
+
"angle": 0,
|
| 1320 |
+
"content": "8789"
|
| 1321 |
+
}
|
| 1322 |
+
],
|
| 1323 |
+
[
|
| 1324 |
+
{
|
| 1325 |
+
"type": "ref_text",
|
| 1326 |
+
"bbox": [
|
| 1327 |
+
0.117,
|
| 1328 |
+
0.086,
|
| 1329 |
+
0.49,
|
| 1330 |
+
0.126
|
| 1331 |
+
],
|
| 1332 |
+
"angle": 0,
|
| 1333 |
+
"content": "Wei Li and Yunfang Wu. 2019. Multi-level gated recurrent neural network for dialog act classification. arXiv preprint arXiv:1910.01822."
|
| 1334 |
+
},
|
| 1335 |
+
{
|
| 1336 |
+
"type": "ref_text",
|
| 1337 |
+
"bbox": [
|
| 1338 |
+
0.117,
|
| 1339 |
+
0.139,
|
| 1340 |
+
0.49,
|
| 1341 |
+
0.205
|
| 1342 |
+
],
|
| 1343 |
+
"angle": 0,
|
| 1344 |
+
"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."
|
| 1345 |
+
},
|
| 1346 |
+
{
|
| 1347 |
+
"type": "ref_text",
|
| 1348 |
+
"bbox": [
|
| 1349 |
+
0.117,
|
| 1350 |
+
0.219,
|
| 1351 |
+
0.489,
|
| 1352 |
+
0.258
|
| 1353 |
+
],
|
| 1354 |
+
"angle": 0,
|
| 1355 |
+
"content": "Lajanugen Logeswaran and Honglak Lee. 2018. An efficient framework for learning sentence representations. arXiv preprint arXiv:1803.02893."
|
| 1356 |
+
},
|
| 1357 |
+
{
|
| 1358 |
+
"type": "ref_text",
|
| 1359 |
+
"bbox": [
|
| 1360 |
+
0.117,
|
| 1361 |
+
0.271,
|
| 1362 |
+
0.49,
|
| 1363 |
+
0.376
|
| 1364 |
+
],
|
| 1365 |
+
"angle": 0,
|
| 1366 |
+
"content": "Marco Marelli, Luisa Bentivogli, Marco Baroni, Raffaella Bernardi, Stefano Menini, and Roberto Zamparelli. 2014. Semeval-2014 task 1: Evaluation of compositional distributional semantic models on full sentences through semantic relatedness and textual entailment. In Proceedings of the 8th international workshop on semantic evaluation (SemEval 2014), pages 1-8."
|
| 1367 |
+
},
|
| 1368 |
+
{
|
| 1369 |
+
"type": "ref_text",
|
| 1370 |
+
"bbox": [
|
| 1371 |
+
0.117,
|
| 1372 |
+
0.389,
|
| 1373 |
+
0.49,
|
| 1374 |
+
0.441
|
| 1375 |
+
],
|
| 1376 |
+
"angle": 0,
|
| 1377 |
+
"content": "Tomas Mikolov, Kai Chen, Greg Corrado, and Jeffrey Dean. 2013a. Efficient estimation of word representations in vector space. arXiv preprint arXiv:1301.3781."
|
| 1378 |
+
},
|
| 1379 |
+
{
|
| 1380 |
+
"type": "ref_text",
|
| 1381 |
+
"bbox": [
|
| 1382 |
+
0.117,
|
| 1383 |
+
0.455,
|
| 1384 |
+
0.49,
|
| 1385 |
+
0.52
|
| 1386 |
+
],
|
| 1387 |
+
"angle": 0,
|
| 1388 |
+
"content": "Tomas Mikolov, Ilya Sutskever, Kai Chen, Greg S Corrado, and Jeff Dean. 2013b. Distributed representations of words and phrases and their compositionality. Advances in neural information processing systems, 26."
|
| 1389 |
+
},
|
| 1390 |
+
{
|
| 1391 |
+
"type": "ref_text",
|
| 1392 |
+
"bbox": [
|
| 1393 |
+
0.117,
|
| 1394 |
+
0.534,
|
| 1395 |
+
0.489,
|
| 1396 |
+
0.562
|
| 1397 |
+
],
|
| 1398 |
+
"angle": 0,
|
| 1399 |
+
"content": "Minsik Oh, Jiwei Li, and Guoyin Wang. 2023. Tadse: Template-aware dialogue sentence embeddings."
|
| 1400 |
+
},
|
| 1401 |
+
{
|
| 1402 |
+
"type": "ref_text",
|
| 1403 |
+
"bbox": [
|
| 1404 |
+
0.117,
|
| 1405 |
+
0.575,
|
| 1406 |
+
0.49,
|
| 1407 |
+
0.64
|
| 1408 |
+
],
|
| 1409 |
+
"angle": 0,
|
| 1410 |
+
"content": "Jeffrey Pennington, Richard Socher, and Christopher D Manning. 2014. Glove: Global vectors for word representation. In Proceedings of the 2014 conference on empirical methods in natural language processing (EMNLP), pages 1532-1543."
|
| 1411 |
+
},
|
| 1412 |
+
{
|
| 1413 |
+
"type": "ref_text",
|
| 1414 |
+
"bbox": [
|
| 1415 |
+
0.117,
|
| 1416 |
+
0.654,
|
| 1417 |
+
0.489,
|
| 1418 |
+
0.707
|
| 1419 |
+
],
|
| 1420 |
+
"angle": 0,
|
| 1421 |
+
"content": "Christian S Perone, Roberto Silveira, and Thomas S Paula. 2018. Evaluation of sentence embeddings in downstream and linguistic probing tasks. arXiv preprint arXiv:1806.06259."
|
| 1422 |
+
},
|
| 1423 |
+
{
|
| 1424 |
+
"type": "ref_text",
|
| 1425 |
+
"bbox": [
|
| 1426 |
+
0.117,
|
| 1427 |
+
0.719,
|
| 1428 |
+
0.489,
|
| 1429 |
+
0.747
|
| 1430 |
+
],
|
| 1431 |
+
"angle": 0,
|
| 1432 |
+
"content": "Jordan B Pollack. 1990. Recursive distributed representations. Artificial Intelligence, 46(1-2):77-105."
|
| 1433 |
+
},
|
| 1434 |
+
{
|
| 1435 |
+
"type": "ref_text",
|
| 1436 |
+
"bbox": [
|
| 1437 |
+
0.117,
|
| 1438 |
+
0.759,
|
| 1439 |
+
0.489,
|
| 1440 |
+
0.8
|
| 1441 |
+
],
|
| 1442 |
+
"angle": 0,
|
| 1443 |
+
"content": "Vipul Raheja and Joel Tetreault. 2019. Dialogue act classification with context-aware self-attention. arXiv preprint arXiv:1904.02594."
|
| 1444 |
+
},
|
| 1445 |
+
{
|
| 1446 |
+
"type": "ref_text",
|
| 1447 |
+
"bbox": [
|
| 1448 |
+
0.117,
|
| 1449 |
+
0.813,
|
| 1450 |
+
0.489,
|
| 1451 |
+
0.866
|
| 1452 |
+
],
|
| 1453 |
+
"angle": 0,
|
| 1454 |
+
"content": "Juan Ramos et al. 2003. Using tfidf to determine word relevance in document queries. In Proceedings of the first instructional conference on machine learning, volume 242, pages 29-48. Citeseer."
|
| 1455 |
+
},
|
| 1456 |
+
{
|
| 1457 |
+
"type": "ref_text",
|
| 1458 |
+
"bbox": [
|
| 1459 |
+
0.117,
|
| 1460 |
+
0.878,
|
| 1461 |
+
0.49,
|
| 1462 |
+
0.918
|
| 1463 |
+
],
|
| 1464 |
+
"angle": 0,
|
| 1465 |
+
"content": "Nils Reimers and Iryna Gurevych. 2019. Sentence-bert: Sentence embeddings using siamese bert-networks. arXiv preprint arXiv:1908.10084."
|
| 1466 |
+
},
|
| 1467 |
+
{
|
| 1468 |
+
"type": "list",
|
| 1469 |
+
"bbox": [
|
| 1470 |
+
0.117,
|
| 1471 |
+
0.086,
|
| 1472 |
+
0.49,
|
| 1473 |
+
0.918
|
| 1474 |
+
],
|
| 1475 |
+
"angle": 0,
|
| 1476 |
+
"content": null
|
| 1477 |
+
},
|
| 1478 |
+
{
|
| 1479 |
+
"type": "ref_text",
|
| 1480 |
+
"bbox": [
|
| 1481 |
+
0.512,
|
| 1482 |
+
0.086,
|
| 1483 |
+
0.885,
|
| 1484 |
+
0.152
|
| 1485 |
+
],
|
| 1486 |
+
"angle": 0,
|
| 1487 |
+
"content": "Richard Socher, Eric Huang, Jeffrey Pennin, Christopher D Manning, and Andrew Ng. 2011a. Dynamic pooling and unfolding recursive autoencoders for paraphrase detection. Advances in neural information processing systems, 24."
|
| 1488 |
+
},
|
| 1489 |
+
{
|
| 1490 |
+
"type": "ref_text",
|
| 1491 |
+
"bbox": [
|
| 1492 |
+
0.512,
|
| 1493 |
+
0.162,
|
| 1494 |
+
0.885,
|
| 1495 |
+
0.241
|
| 1496 |
+
],
|
| 1497 |
+
"angle": 0,
|
| 1498 |
+
"content": "Richard Socher, Jeffrey Pennington, Eric H Huang, Andrew Y Ng, and Christopher D Manning. 2011b. Semi-supervised recursive autoencoders for predicting sentiment distributions. In Proceedings of the 2011 conference on empirical methods in natural language processing, pages 151-161."
|
| 1499 |
+
},
|
| 1500 |
+
{
|
| 1501 |
+
"type": "ref_text",
|
| 1502 |
+
"bbox": [
|
| 1503 |
+
0.512,
|
| 1504 |
+
0.25,
|
| 1505 |
+
0.885,
|
| 1506 |
+
0.342
|
| 1507 |
+
],
|
| 1508 |
+
"angle": 0,
|
| 1509 |
+
"content": "Richard Socher, Alex Perelygin, Jean Wu, Jason Chuang, Christopher D Manning, Andrew Y Ng, and Christopher Potts. 2013. Recursive deep models for semantic compositionality over a sentiment treebank. In Proceedings of the 2013 conference on empirical methods in natural language processing, pages 1631-1642."
|
| 1510 |
+
},
|
| 1511 |
+
{
|
| 1512 |
+
"type": "ref_text",
|
| 1513 |
+
"bbox": [
|
| 1514 |
+
0.512,
|
| 1515 |
+
0.352,
|
| 1516 |
+
0.885,
|
| 1517 |
+
0.405
|
| 1518 |
+
],
|
| 1519 |
+
"angle": 0,
|
| 1520 |
+
"content": "Kai Sheng Tai, Richard Socher, and Christopher D Manning. 2015. Improved semantic representations from tree-structured long short-term memory networks. arXiv preprint arXiv:1503.00075."
|
| 1521 |
+
},
|
| 1522 |
+
{
|
| 1523 |
+
"type": "ref_text",
|
| 1524 |
+
"bbox": [
|
| 1525 |
+
0.512,
|
| 1526 |
+
0.415,
|
| 1527 |
+
0.885,
|
| 1528 |
+
0.481
|
| 1529 |
+
],
|
| 1530 |
+
"angle": 0,
|
| 1531 |
+
"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."
|
| 1532 |
+
},
|
| 1533 |
+
{
|
| 1534 |
+
"type": "ref_text",
|
| 1535 |
+
"bbox": [
|
| 1536 |
+
0.512,
|
| 1537 |
+
0.491,
|
| 1538 |
+
0.885,
|
| 1539 |
+
0.544
|
| 1540 |
+
],
|
| 1541 |
+
"angle": 0,
|
| 1542 |
+
"content": "Sami Virpioja, Peter Smit, Stig-Arne Gronroos, Mikko Kurimo, et al. 2013. Morfessor 2.0: Python implementation and extensions for morfessor baseline. Technical report."
|
| 1543 |
+
},
|
| 1544 |
+
{
|
| 1545 |
+
"type": "ref_text",
|
| 1546 |
+
"bbox": [
|
| 1547 |
+
0.512,
|
| 1548 |
+
0.553,
|
| 1549 |
+
0.885,
|
| 1550 |
+
0.646
|
| 1551 |
+
],
|
| 1552 |
+
"angle": 0,
|
| 1553 |
+
"content": "Chien-Sheng Wu, Steven C.H. Hoi, Richard Socher, and Caiming Xiong. 2020. TOD-BERT: Pre-trained natural language understanding for task-oriented dialogue. In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP), pages 917-929, Online. Association for Computational Linguistics."
|
| 1554 |
+
},
|
| 1555 |
+
{
|
| 1556 |
+
"type": "ref_text",
|
| 1557 |
+
"bbox": [
|
| 1558 |
+
0.512,
|
| 1559 |
+
0.655,
|
| 1560 |
+
0.885,
|
| 1561 |
+
0.709
|
| 1562 |
+
],
|
| 1563 |
+
"angle": 0,
|
| 1564 |
+
"content": "Weihao Zeng, Keqing He, Yejie Wang, Chen Zeng, Jinggang Wang, Yunsen Xian, and Weiran Xu. 2023. Futuretod: Teaching future knowledge to pre-trained language model for task-oriented dialogue."
|
| 1565 |
+
},
|
| 1566 |
+
{
|
| 1567 |
+
"type": "ref_text",
|
| 1568 |
+
"bbox": [
|
| 1569 |
+
0.512,
|
| 1570 |
+
0.718,
|
| 1571 |
+
0.885,
|
| 1572 |
+
0.824
|
| 1573 |
+
],
|
| 1574 |
+
"angle": 0,
|
| 1575 |
+
"content": "Zhihan Zhou, Dejiao Zhang, Wei Xiao, Nicholas Dingwall, Xiaofei Ma, Andrew Arnold, and Bing Xiang. 2022. Learning dialogue representations from consecutive utterances. In Proceedings of the 2022 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pages 754-768, Seattle, United States. Association for Computational Linguistics."
|
| 1576 |
+
},
|
| 1577 |
+
{
|
| 1578 |
+
"type": "list",
|
| 1579 |
+
"bbox": [
|
| 1580 |
+
0.512,
|
| 1581 |
+
0.086,
|
| 1582 |
+
0.885,
|
| 1583 |
+
0.824
|
| 1584 |
+
],
|
| 1585 |
+
"angle": 0,
|
| 1586 |
+
"content": null
|
| 1587 |
+
},
|
| 1588 |
+
{
|
| 1589 |
+
"type": "page_number",
|
| 1590 |
+
"bbox": [
|
| 1591 |
+
0.481,
|
| 1592 |
+
0.929,
|
| 1593 |
+
0.521,
|
| 1594 |
+
0.941
|
| 1595 |
+
],
|
| 1596 |
+
"angle": 0,
|
| 1597 |
+
"content": "8790"
|
| 1598 |
+
}
|
| 1599 |
+
],
|
| 1600 |
+
[
|
| 1601 |
+
{
|
| 1602 |
+
"type": "header",
|
| 1603 |
+
"bbox": [
|
| 1604 |
+
0.115,
|
| 1605 |
+
0.085,
|
| 1606 |
+
0.336,
|
| 1607 |
+
0.099
|
| 1608 |
+
],
|
| 1609 |
+
"angle": 0,
|
| 1610 |
+
"content": "A Correlation Matrices"
|
| 1611 |
+
},
|
| 1612 |
+
{
|
| 1613 |
+
"type": "image_caption",
|
| 1614 |
+
"bbox": [
|
| 1615 |
+
0.34,
|
| 1616 |
+
0.124,
|
| 1617 |
+
0.651,
|
| 1618 |
+
0.137
|
| 1619 |
+
],
|
| 1620 |
+
"angle": 0,
|
| 1621 |
+
"content": "Pearson correlation between features (dim=6)"
|
| 1622 |
+
},
|
| 1623 |
+
{
|
| 1624 |
+
"type": "image",
|
| 1625 |
+
"bbox": [
|
| 1626 |
+
0.12,
|
| 1627 |
+
0.148,
|
| 1628 |
+
0.258,
|
| 1629 |
+
0.249
|
| 1630 |
+
],
|
| 1631 |
+
"angle": 0,
|
| 1632 |
+
"content": null
|
| 1633 |
+
},
|
| 1634 |
+
{
|
| 1635 |
+
"type": "image",
|
| 1636 |
+
"bbox": [
|
| 1637 |
+
0.284,
|
| 1638 |
+
0.149,
|
| 1639 |
+
0.415,
|
| 1640 |
+
0.248
|
| 1641 |
+
],
|
| 1642 |
+
"angle": 0,
|
| 1643 |
+
"content": null
|
| 1644 |
+
},
|
| 1645 |
+
{
|
| 1646 |
+
"type": "image",
|
| 1647 |
+
"bbox": [
|
| 1648 |
+
0.432,
|
| 1649 |
+
0.149,
|
| 1650 |
+
0.55,
|
| 1651 |
+
0.248
|
| 1652 |
+
],
|
| 1653 |
+
"angle": 0,
|
| 1654 |
+
"content": null
|
| 1655 |
+
},
|
| 1656 |
+
{
|
| 1657 |
+
"type": "image",
|
| 1658 |
+
"bbox": [
|
| 1659 |
+
0.579,
|
| 1660 |
+
0.149,
|
| 1661 |
+
0.698,
|
| 1662 |
+
0.248
|
| 1663 |
+
],
|
| 1664 |
+
"angle": 0,
|
| 1665 |
+
"content": null
|
| 1666 |
+
},
|
| 1667 |
+
{
|
| 1668 |
+
"type": "image",
|
| 1669 |
+
"bbox": [
|
| 1670 |
+
0.727,
|
| 1671 |
+
0.149,
|
| 1672 |
+
0.845,
|
| 1673 |
+
0.248
|
| 1674 |
+
],
|
| 1675 |
+
"angle": 0,
|
| 1676 |
+
"content": null
|
| 1677 |
+
},
|
| 1678 |
+
{
|
| 1679 |
+
"type": "image",
|
| 1680 |
+
"bbox": [
|
| 1681 |
+
0.12,
|
| 1682 |
+
0.251,
|
| 1683 |
+
0.256,
|
| 1684 |
+
0.349
|
| 1685 |
+
],
|
| 1686 |
+
"angle": 0,
|
| 1687 |
+
"content": null
|
| 1688 |
+
},
|
| 1689 |
+
{
|
| 1690 |
+
"type": "image",
|
| 1691 |
+
"bbox": [
|
| 1692 |
+
0.284,
|
| 1693 |
+
0.251,
|
| 1694 |
+
0.415,
|
| 1695 |
+
0.349
|
| 1696 |
+
],
|
| 1697 |
+
"angle": 0,
|
| 1698 |
+
"content": null
|
| 1699 |
+
},
|
| 1700 |
+
{
|
| 1701 |
+
"type": "image",
|
| 1702 |
+
"bbox": [
|
| 1703 |
+
0.432,
|
| 1704 |
+
0.251,
|
| 1705 |
+
0.55,
|
| 1706 |
+
0.349
|
| 1707 |
+
],
|
| 1708 |
+
"angle": 0,
|
| 1709 |
+
"content": null
|
| 1710 |
+
},
|
| 1711 |
+
{
|
| 1712 |
+
"type": "image",
|
| 1713 |
+
"bbox": [
|
| 1714 |
+
0.579,
|
| 1715 |
+
0.251,
|
| 1716 |
+
0.697,
|
| 1717 |
+
0.349
|
| 1718 |
+
],
|
| 1719 |
+
"angle": 0,
|
| 1720 |
+
"content": null
|
| 1721 |
+
},
|
| 1722 |
+
{
|
| 1723 |
+
"type": "image",
|
| 1724 |
+
"bbox": [
|
| 1725 |
+
0.727,
|
| 1726 |
+
0.251,
|
| 1727 |
+
0.844,
|
| 1728 |
+
0.349
|
| 1729 |
+
],
|
| 1730 |
+
"angle": 0,
|
| 1731 |
+
"content": null
|
| 1732 |
+
},
|
| 1733 |
+
{
|
| 1734 |
+
"type": "image",
|
| 1735 |
+
"bbox": [
|
| 1736 |
+
0.12,
|
| 1737 |
+
0.353,
|
| 1738 |
+
0.256,
|
| 1739 |
+
0.452
|
| 1740 |
+
],
|
| 1741 |
+
"angle": 0,
|
| 1742 |
+
"content": null
|
| 1743 |
+
},
|
| 1744 |
+
{
|
| 1745 |
+
"type": "image",
|
| 1746 |
+
"bbox": [
|
| 1747 |
+
0.284,
|
| 1748 |
+
0.353,
|
| 1749 |
+
0.415,
|
| 1750 |
+
0.452
|
| 1751 |
+
],
|
| 1752 |
+
"angle": 0,
|
| 1753 |
+
"content": null
|
| 1754 |
+
},
|
| 1755 |
+
{
|
| 1756 |
+
"type": "image",
|
| 1757 |
+
"bbox": [
|
| 1758 |
+
0.432,
|
| 1759 |
+
0.353,
|
| 1760 |
+
0.55,
|
| 1761 |
+
0.452
|
| 1762 |
+
],
|
| 1763 |
+
"angle": 0,
|
| 1764 |
+
"content": null
|
| 1765 |
+
},
|
| 1766 |
+
{
|
| 1767 |
+
"type": "image",
|
| 1768 |
+
"bbox": [
|
| 1769 |
+
0.579,
|
| 1770 |
+
0.353,
|
| 1771 |
+
0.698,
|
| 1772 |
+
0.452
|
| 1773 |
+
],
|
| 1774 |
+
"angle": 0,
|
| 1775 |
+
"content": null
|
| 1776 |
+
},
|
| 1777 |
+
{
|
| 1778 |
+
"type": "image",
|
| 1779 |
+
"bbox": [
|
| 1780 |
+
0.716,
|
| 1781 |
+
0.353,
|
| 1782 |
+
0.875,
|
| 1783 |
+
0.453
|
| 1784 |
+
],
|
| 1785 |
+
"angle": 0,
|
| 1786 |
+
"content": null
|
| 1787 |
+
},
|
| 1788 |
+
{
|
| 1789 |
+
"type": "image_caption",
|
| 1790 |
+
"bbox": [
|
| 1791 |
+
0.114,
|
| 1792 |
+
0.468,
|
| 1793 |
+
0.489,
|
| 1794 |
+
0.497
|
| 1795 |
+
],
|
| 1796 |
+
"angle": 0,
|
| 1797 |
+
"content": "Figure 1: Correlation matrices of feature vectors across representation variants with dimension of 6."
|
| 1798 |
+
},
|
| 1799 |
+
{
|
| 1800 |
+
"type": "image_caption",
|
| 1801 |
+
"bbox": [
|
| 1802 |
+
0.338,
|
| 1803 |
+
0.529,
|
| 1804 |
+
0.654,
|
| 1805 |
+
0.542
|
| 1806 |
+
],
|
| 1807 |
+
"angle": 0,
|
| 1808 |
+
"content": "Pearson correlation between features (dim=12)"
|
| 1809 |
+
},
|
| 1810 |
+
{
|
| 1811 |
+
"type": "image",
|
| 1812 |
+
"bbox": [
|
| 1813 |
+
0.12,
|
| 1814 |
+
0.553,
|
| 1815 |
+
0.264,
|
| 1816 |
+
0.653
|
| 1817 |
+
],
|
| 1818 |
+
"angle": 0,
|
| 1819 |
+
"content": null
|
| 1820 |
+
},
|
| 1821 |
+
{
|
| 1822 |
+
"type": "image",
|
| 1823 |
+
"bbox": [
|
| 1824 |
+
0.284,
|
| 1825 |
+
0.554,
|
| 1826 |
+
0.42,
|
| 1827 |
+
0.653
|
| 1828 |
+
],
|
| 1829 |
+
"angle": 0,
|
| 1830 |
+
"content": null
|
| 1831 |
+
},
|
| 1832 |
+
{
|
| 1833 |
+
"type": "image",
|
| 1834 |
+
"bbox": [
|
| 1835 |
+
0.431,
|
| 1836 |
+
0.554,
|
| 1837 |
+
0.552,
|
| 1838 |
+
0.653
|
| 1839 |
+
],
|
| 1840 |
+
"angle": 0,
|
| 1841 |
+
"content": null
|
| 1842 |
+
},
|
| 1843 |
+
{
|
| 1844 |
+
"type": "image",
|
| 1845 |
+
"bbox": [
|
| 1846 |
+
0.578,
|
| 1847 |
+
0.554,
|
| 1848 |
+
0.701,
|
| 1849 |
+
0.653
|
| 1850 |
+
],
|
| 1851 |
+
"angle": 0,
|
| 1852 |
+
"content": null
|
| 1853 |
+
},
|
| 1854 |
+
{
|
| 1855 |
+
"type": "image",
|
| 1856 |
+
"bbox": [
|
| 1857 |
+
0.725,
|
| 1858 |
+
0.554,
|
| 1859 |
+
0.848,
|
| 1860 |
+
0.653
|
| 1861 |
+
],
|
| 1862 |
+
"angle": 0,
|
| 1863 |
+
"content": null
|
| 1864 |
+
},
|
| 1865 |
+
{
|
| 1866 |
+
"type": "image",
|
| 1867 |
+
"bbox": [
|
| 1868 |
+
0.12,
|
| 1869 |
+
0.655,
|
| 1870 |
+
0.263,
|
| 1871 |
+
0.754
|
| 1872 |
+
],
|
| 1873 |
+
"angle": 0,
|
| 1874 |
+
"content": null
|
| 1875 |
+
},
|
| 1876 |
+
{
|
| 1877 |
+
"type": "image",
|
| 1878 |
+
"bbox": [
|
| 1879 |
+
0.284,
|
| 1880 |
+
0.655,
|
| 1881 |
+
0.419,
|
| 1882 |
+
0.754
|
| 1883 |
+
],
|
| 1884 |
+
"angle": 0,
|
| 1885 |
+
"content": null
|
| 1886 |
+
},
|
| 1887 |
+
{
|
| 1888 |
+
"type": "image",
|
| 1889 |
+
"bbox": [
|
| 1890 |
+
0.432,
|
| 1891 |
+
0.655,
|
| 1892 |
+
0.552,
|
| 1893 |
+
0.754
|
| 1894 |
+
],
|
| 1895 |
+
"angle": 0,
|
| 1896 |
+
"content": null
|
| 1897 |
+
},
|
| 1898 |
+
{
|
| 1899 |
+
"type": "image",
|
| 1900 |
+
"bbox": [
|
| 1901 |
+
0.578,
|
| 1902 |
+
0.655,
|
| 1903 |
+
0.701,
|
| 1904 |
+
0.754
|
| 1905 |
+
],
|
| 1906 |
+
"angle": 0,
|
| 1907 |
+
"content": null
|
| 1908 |
+
},
|
| 1909 |
+
{
|
| 1910 |
+
"type": "image",
|
| 1911 |
+
"bbox": [
|
| 1912 |
+
0.725,
|
| 1913 |
+
0.655,
|
| 1914 |
+
0.848,
|
| 1915 |
+
0.754
|
| 1916 |
+
],
|
| 1917 |
+
"angle": 0,
|
| 1918 |
+
"content": null
|
| 1919 |
+
},
|
| 1920 |
+
{
|
| 1921 |
+
"type": "image",
|
| 1922 |
+
"bbox": [
|
| 1923 |
+
0.12,
|
| 1924 |
+
0.757,
|
| 1925 |
+
0.263,
|
| 1926 |
+
0.856
|
| 1927 |
+
],
|
| 1928 |
+
"angle": 0,
|
| 1929 |
+
"content": null
|
| 1930 |
+
},
|
| 1931 |
+
{
|
| 1932 |
+
"type": "image",
|
| 1933 |
+
"bbox": [
|
| 1934 |
+
0.284,
|
| 1935 |
+
0.757,
|
| 1936 |
+
0.42,
|
| 1937 |
+
0.856
|
| 1938 |
+
],
|
| 1939 |
+
"angle": 0,
|
| 1940 |
+
"content": null
|
| 1941 |
+
},
|
| 1942 |
+
{
|
| 1943 |
+
"type": "image",
|
| 1944 |
+
"bbox": [
|
| 1945 |
+
0.431,
|
| 1946 |
+
0.757,
|
| 1947 |
+
0.552,
|
| 1948 |
+
0.856
|
| 1949 |
+
],
|
| 1950 |
+
"angle": 0,
|
| 1951 |
+
"content": null
|
| 1952 |
+
},
|
| 1953 |
+
{
|
| 1954 |
+
"type": "image",
|
| 1955 |
+
"bbox": [
|
| 1956 |
+
0.578,
|
| 1957 |
+
0.757,
|
| 1958 |
+
0.701,
|
| 1959 |
+
0.856
|
| 1960 |
+
],
|
| 1961 |
+
"angle": 0,
|
| 1962 |
+
"content": null
|
| 1963 |
+
},
|
| 1964 |
+
{
|
| 1965 |
+
"type": "image",
|
| 1966 |
+
"bbox": [
|
| 1967 |
+
0.715,
|
| 1968 |
+
0.757,
|
| 1969 |
+
0.875,
|
| 1970 |
+
0.856
|
| 1971 |
+
],
|
| 1972 |
+
"angle": 0,
|
| 1973 |
+
"content": null
|
| 1974 |
+
},
|
| 1975 |
+
{
|
| 1976 |
+
"type": "image_caption",
|
| 1977 |
+
"bbox": [
|
| 1978 |
+
0.114,
|
| 1979 |
+
0.872,
|
| 1980 |
+
0.489,
|
| 1981 |
+
0.9
|
| 1982 |
+
],
|
| 1983 |
+
"angle": 0,
|
| 1984 |
+
"content": "Figure 2: Correlation matrices of feature vectors across representation variants with dimension of 12."
|
| 1985 |
+
},
|
| 1986 |
+
{
|
| 1987 |
+
"type": "page_number",
|
| 1988 |
+
"bbox": [
|
| 1989 |
+
0.481,
|
| 1990 |
+
0.929,
|
| 1991 |
+
0.519,
|
| 1992 |
+
0.941
|
| 1993 |
+
],
|
| 1994 |
+
"angle": 0,
|
| 1995 |
+
"content": "8791"
|
| 1996 |
+
}
|
| 1997 |
+
],
|
| 1998 |
+
[
|
| 1999 |
+
{
|
| 2000 |
+
"type": "title",
|
| 2001 |
+
"bbox": [
|
| 2002 |
+
0.338,
|
| 2003 |
+
0.323,
|
| 2004 |
+
0.654,
|
| 2005 |
+
0.335
|
| 2006 |
+
],
|
| 2007 |
+
"angle": 0,
|
| 2008 |
+
"content": "Pearson correlation between features (dim=25)"
|
| 2009 |
+
},
|
| 2010 |
+
{
|
| 2011 |
+
"type": "image",
|
| 2012 |
+
"bbox": [
|
| 2013 |
+
0.119,
|
| 2014 |
+
0.347,
|
| 2015 |
+
0.264,
|
| 2016 |
+
0.446
|
| 2017 |
+
],
|
| 2018 |
+
"angle": 0,
|
| 2019 |
+
"content": null
|
| 2020 |
+
},
|
| 2021 |
+
{
|
| 2022 |
+
"type": "image",
|
| 2023 |
+
"bbox": [
|
| 2024 |
+
0.12,
|
| 2025 |
+
0.45,
|
| 2026 |
+
0.264,
|
| 2027 |
+
0.546
|
| 2028 |
+
],
|
| 2029 |
+
"angle": 0,
|
| 2030 |
+
"content": null
|
| 2031 |
+
},
|
| 2032 |
+
{
|
| 2033 |
+
"type": "image",
|
| 2034 |
+
"bbox": [
|
| 2035 |
+
0.12,
|
| 2036 |
+
0.549,
|
| 2037 |
+
0.263,
|
| 2038 |
+
0.648
|
| 2039 |
+
],
|
| 2040 |
+
"angle": 0,
|
| 2041 |
+
"content": null
|
| 2042 |
+
},
|
| 2043 |
+
{
|
| 2044 |
+
"type": "image",
|
| 2045 |
+
"bbox": [
|
| 2046 |
+
0.284,
|
| 2047 |
+
0.347,
|
| 2048 |
+
0.421,
|
| 2049 |
+
0.446
|
| 2050 |
+
],
|
| 2051 |
+
"angle": 0,
|
| 2052 |
+
"content": null
|
| 2053 |
+
},
|
| 2054 |
+
{
|
| 2055 |
+
"type": "image",
|
| 2056 |
+
"bbox": [
|
| 2057 |
+
0.284,
|
| 2058 |
+
0.449,
|
| 2059 |
+
0.421,
|
| 2060 |
+
0.546
|
| 2061 |
+
],
|
| 2062 |
+
"angle": 0,
|
| 2063 |
+
"content": null
|
| 2064 |
+
},
|
| 2065 |
+
{
|
| 2066 |
+
"type": "image",
|
| 2067 |
+
"bbox": [
|
| 2068 |
+
0.284,
|
| 2069 |
+
0.549,
|
| 2070 |
+
0.421,
|
| 2071 |
+
0.648
|
| 2072 |
+
],
|
| 2073 |
+
"angle": 0,
|
| 2074 |
+
"content": null
|
| 2075 |
+
},
|
| 2076 |
+
{
|
| 2077 |
+
"type": "image",
|
| 2078 |
+
"bbox": [
|
| 2079 |
+
0.43,
|
| 2080 |
+
0.347,
|
| 2081 |
+
0.555,
|
| 2082 |
+
0.446
|
| 2083 |
+
],
|
| 2084 |
+
"angle": 0,
|
| 2085 |
+
"content": null
|
| 2086 |
+
},
|
| 2087 |
+
{
|
| 2088 |
+
"type": "image",
|
| 2089 |
+
"bbox": [
|
| 2090 |
+
0.43,
|
| 2091 |
+
0.449,
|
| 2092 |
+
0.554,
|
| 2093 |
+
0.546
|
| 2094 |
+
],
|
| 2095 |
+
"angle": 0,
|
| 2096 |
+
"content": null
|
| 2097 |
+
},
|
| 2098 |
+
{
|
| 2099 |
+
"type": "image",
|
| 2100 |
+
"bbox": [
|
| 2101 |
+
0.43,
|
| 2102 |
+
0.549,
|
| 2103 |
+
0.554,
|
| 2104 |
+
0.648
|
| 2105 |
+
],
|
| 2106 |
+
"angle": 0,
|
| 2107 |
+
"content": null
|
| 2108 |
+
},
|
| 2109 |
+
{
|
| 2110 |
+
"type": "image",
|
| 2111 |
+
"bbox": [
|
| 2112 |
+
0.576,
|
| 2113 |
+
0.347,
|
| 2114 |
+
0.701,
|
| 2115 |
+
0.446
|
| 2116 |
+
],
|
| 2117 |
+
"angle": 0,
|
| 2118 |
+
"content": null
|
| 2119 |
+
},
|
| 2120 |
+
{
|
| 2121 |
+
"type": "image",
|
| 2122 |
+
"bbox": [
|
| 2123 |
+
0.577,
|
| 2124 |
+
0.449,
|
| 2125 |
+
0.701,
|
| 2126 |
+
0.546
|
| 2127 |
+
],
|
| 2128 |
+
"angle": 0,
|
| 2129 |
+
"content": null
|
| 2130 |
+
},
|
| 2131 |
+
{
|
| 2132 |
+
"type": "image",
|
| 2133 |
+
"bbox": [
|
| 2134 |
+
0.577,
|
| 2135 |
+
0.549,
|
| 2136 |
+
0.701,
|
| 2137 |
+
0.648
|
| 2138 |
+
],
|
| 2139 |
+
"angle": 0,
|
| 2140 |
+
"content": null
|
| 2141 |
+
},
|
| 2142 |
+
{
|
| 2143 |
+
"type": "image",
|
| 2144 |
+
"bbox": [
|
| 2145 |
+
0.723,
|
| 2146 |
+
0.347,
|
| 2147 |
+
0.848,
|
| 2148 |
+
0.446
|
| 2149 |
+
],
|
| 2150 |
+
"angle": 0,
|
| 2151 |
+
"content": null
|
| 2152 |
+
},
|
| 2153 |
+
{
|
| 2154 |
+
"type": "image",
|
| 2155 |
+
"bbox": [
|
| 2156 |
+
0.723,
|
| 2157 |
+
0.449,
|
| 2158 |
+
0.848,
|
| 2159 |
+
0.546
|
| 2160 |
+
],
|
| 2161 |
+
"angle": 0,
|
| 2162 |
+
"content": null
|
| 2163 |
+
},
|
| 2164 |
+
{
|
| 2165 |
+
"type": "image",
|
| 2166 |
+
"bbox": [
|
| 2167 |
+
0.715,
|
| 2168 |
+
0.549,
|
| 2169 |
+
0.875,
|
| 2170 |
+
0.649
|
| 2171 |
+
],
|
| 2172 |
+
"angle": 0,
|
| 2173 |
+
"content": null
|
| 2174 |
+
},
|
| 2175 |
+
{
|
| 2176 |
+
"type": "image_caption",
|
| 2177 |
+
"bbox": [
|
| 2178 |
+
0.157,
|
| 2179 |
+
0.664,
|
| 2180 |
+
0.84,
|
| 2181 |
+
0.68
|
| 2182 |
+
],
|
| 2183 |
+
"angle": 0,
|
| 2184 |
+
"content": "Figure 3: Correlation matrices of feature vectors across representation variants with dimension of 25."
|
| 2185 |
+
},
|
| 2186 |
+
{
|
| 2187 |
+
"type": "page_number",
|
| 2188 |
+
"bbox": [
|
| 2189 |
+
0.481,
|
| 2190 |
+
0.928,
|
| 2191 |
+
0.522,
|
| 2192 |
+
0.941
|
| 2193 |
+
],
|
| 2194 |
+
"angle": 0,
|
| 2195 |
+
"content": "8792"
|
| 2196 |
+
}
|
| 2197 |
+
]
|
| 2198 |
+
]
|
2023/Role of Context in Unsupervised Sentence Representation Learning_ the Case of Dialog Act Modeling/7f70510d-2f4b-4269-8c9d-3b663839a931_origin.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:636e10d892974c9df1fb8f6cfc932a933861df018f339b65b0287502d1056a25
|
| 3 |
+
size 335591
|
2023/Role of Context in Unsupervised Sentence Representation Learning_ the Case of Dialog Act Modeling/full.md
ADDED
|
@@ -0,0 +1,295 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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Case of Dialog Act Tagging
|
| 2 |
+
|
| 3 |
+
Rastislav Hronsky
|
| 4 |
+
|
| 5 |
+
Jheronimus Academy of Data Science
|
| 6 |
+
|
| 7 |
+
Sint Janssingel 92, 5211 DA 's-Hertogenbosch
|
| 8 |
+
|
| 9 |
+
Netherlands
|
| 10 |
+
|
| 11 |
+
r.hronsky@tue.nl
|
| 12 |
+
|
| 13 |
+
Emmanuel Keuleers
|
| 14 |
+
|
| 15 |
+
Tilburg University
|
| 16 |
+
|
| 17 |
+
Warandelaan 2, 5037 AB Tilburg
|
| 18 |
+
|
| 19 |
+
Netherlands
|
| 20 |
+
|
| 21 |
+
E.A.Keuleers@tilburguniversity.edu
|
| 22 |
+
|
| 23 |
+
# Abstract
|
| 24 |
+
|
| 25 |
+
Unsupervised learning of word representations involves capturing the contextual information surrounding word occurrences, which can be grounded in the observation that word form is largely disconnected from word meaning. While there are fewer reasons to believe that the same holds for sentences, learning through context has been carried over to learning representations of word sequences. However, this work pays minimal to no attention to the role of context in inferring sentence representations. In this article, we present a dialog act tag probing task designed to explicitly compare content- and context-oriented sentence representations inferred on utterances of telephone conversations (SwDA). Our results suggest that there is no clear benefit of context-based sentence representations over content-based sentence representations. However, there is a very clear benefit of increasing the dimensionality of the sentence vectors in nearly all approaches.
|
| 26 |
+
|
| 27 |
+
# 1 Introduction
|
| 28 |
+
|
| 29 |
+
Unsupervised methods for constructing word representations vary widely in their implementation (Landauer and Dumais, 1997; Mikolov et al., 2013a; Pennington et al., 2014), but share the core property that they try to capture the contextual information surrounding word occurrences. This can be grounded in the observation that word form is largely disconnected from word meaning (De Saussure, 1916) and that, therefore, trying to extract meaning from form directly would be pointless.
|
| 30 |
+
|
| 31 |
+
However, there are fewer reasons to believe that representing the meaning of a fully composed sentence requires the description of its context in the way that a word does. Still, much effort has been devoted to developing and evaluating context-oriented methods for sentence representation (Kiros et al., 2015; Logeswaran and Lee, 2018; Cer et al., 2018). Interestingly, the theoretical justification for the approach –roughly paraphrased– is
|
| 32 |
+
|
| 33 |
+
that it works well for words (Kiros et al., 2015).
|
| 34 |
+
|
| 35 |
+
In the present article, we examine whether a contextual signal is of any significant benefit to general-purpose sentence representation.
|
| 36 |
+
|
| 37 |
+
To accommodate this goal, we infer two sets of utterance representations from telephone conversation transcripts, one by a model trained to encode the transcripts' content, and one by a model trained to encode the transcripts context in a Skip-Thought-like fashion. We evaluate the learned representations with a linear probe classifying the dialog act tags. Below, we discuss these choices more extensively.
|
| 38 |
+
|
| 39 |
+
The reason for the linear probing technique is to avoid any further representation learning in the downstream task training, such that the resulting accuracy numbers solely reflect the unsupervised representations. This technique is commonly used to assess to what extent sentence representations exhibit certain linguistic properties, such as part-of-speech or syntax (Conneau et al., 2018; Chrupała and Alishahi, 2019; Perone et al., 2018; Belinkov, 2022a).
|
| 40 |
+
|
| 41 |
+
We chose the Switchboard Dialog Act Corpus (SwDA) (Jurafsky, 1997) corpus for the following properties: (1) its size allows for inferring representations with both traditional, statistical learning methods and modern neural network based methods; (2) at the same time, the corpus is fairly narrow-domain, enabling small models to converge to meaningful representations<sup>1</sup>; (3) it contains utterance labels that we consider suitable for a probing task with respect to contextuality: while a dialog act tag unquestionably depends on the utterance contents, the surrounding utterances likely provide a good signal about its label too. See example utterances from the corpus in Table 1.
|
| 42 |
+
|
| 43 |
+
<table><tr><td>SD^E</td><td>But I, my grandparents were looking into it before.</td></tr><tr><td>SD</td><td>So I know what they’ve said.</td></tr><tr><td>B</td><td>Uh-huh.</td></tr><tr><td>^H</td><td>Well, I’m trying to think.</td></tr></table>
|
| 44 |
+
|
| 45 |
+
Table 1: Example dialog act tags and utterances from the SwDA corpus. (SD^E = Statement expanding y/n answer, SD = Statement-non-opinion, B = Backchannel, ^H = Hold before answer/agreement).
|
| 46 |
+
|
| 47 |
+
Using context to enhance dialog act predictions is not a novel idea (Raheja and Tetreault, 2019; Li and Wu, 2019; Kalchbrenner and Blunsom, 2013). To ascertain the usefulness of context in this task, we checked for the reduction in entropy of a tag in a "unigram" setting vs. conditioned on a previous tag, a "bigram" setting. The results were $H(\text{currenttag}) = 2.1$ bit and $H(\text{currenttag|previousat}) = 1.86$ bit, meaning that such a context-enhanced baseline would, at least, increase the chance-level accuracy.
|
| 48 |
+
|
| 49 |
+
For the content-oriented representation variants, the representations of utterances were inferred via classic topic modeling methods, word vector averaging, or an LSTM-based auto-encoder (see Section 3 for details). The resulting sentence vectors were then used as input for a Skip-Thought-like training regime, where the goal was to learn their context-oriented version by projecting them such that they are predictive of surrounding utterances. Additionally, we trained a version where the utterance encoding and projection are trained jointly, with an LSTM-based encoder of identical proportions with the one used for auto-encoding.
|
| 50 |
+
|
| 51 |
+
# 2 Related Work
|
| 52 |
+
|
| 53 |
+
In the literature review, we summarize some of the most important work in sentence representation and relate it to the issues outlined in previous paragraphs.
|
| 54 |
+
|
| 55 |
+
Before the deep learning era of NLP, text-processing methods relied mainly on lexical features of sentences and were invariant to word order. Using word frequency transformations, e.g., tfidf (Ramos et al., 2003), has proven effective to base the representations on more semantically laden words. Techniques such as singular value decomposition (SVD) (Landauer and Dumais, 1997; Landauer et al., 1998), or topic modeling (Blei et al., 2003; Blei, 2012; Hofmann, 2001) were used
|
| 56 |
+
|
| 57 |
+
to transform the sparse word-count matrices into dense vectors.
|
| 58 |
+
|
| 59 |
+
With the subsequent success of simple neural networks such as word2vec (Mikolov et al., 2013a,b; Goldberg and Levy, 2014) or GloVe (Pennington et al., 2014) at representing words and phrases, a seemingly naive method of averaging these word vectors was shown to produce useful sentence/paragraph/document representations (Arora et al., 2017).
|
| 60 |
+
|
| 61 |
+
With further success of neural networks in text processing, the research on the topic grew markedly. Among the unsupervised methods, recursive auto-encoders (RAEs) (Socher et al., 2011a,b; Pollack, 1990) were trained to reconstruct sentences via recursively encoding nodes in a dependency parse tree and performed well at a paraphrasing task (Dolan et al., 2004). Tree-LSTMs (Tai et al., 2015) later succeeded the RAEs in the same recursive set up but using an LSTM encoder (Hochreiter and Schmidhuber, 1997), and evaluated on predicting semantic relatedness between two sentences (Marelli et al., 2014) and classifying sentiment (Socher et al., 2013). The current state-of-the-art unsupervised, general-purpose sentence representation systems are based on pre-trained Transformer language models (Vaswani et al., 2017) and fine-tuned via contrastive learning (Gutmann and Hyvarinen, 2012; Chen et al., 2020), i.e., pulling representations of alternative sentence formulations closer together and those of unrelated, random sentence pairs apart (Gao et al., 2021; Chuang et al., 2022).
|
| 62 |
+
|
| 63 |
+
The success of skip-gram-based word representations inspired researchers to transfer the idea to sentence representation. Skip-Thought (Kiros et al., 2015) is a large, LSTM-based (Hochreiter and Schmidhuber, 1997), sentence encoder that was trained to produce representations predictive of surrounding sentences. Quick-Thought (Logeswaran and Lee, 2018) is a similar system that differs in that it casts the problem as contrastive learning (Gutmann and Hyvarinen, 2012). The Universal Sentence Encoder (USE) is a Transformer-based (Vaswani et al., 2017) system introduced by Cer et al. (2018) that uses the Skip-Thought as one of the tasks in a multi-task learning set-up (including some supervised tasks). The task of deciding whether two sentences are consecutive or not (NSP task) was also used in training of BERT (Devlin et al., 2019). The latest dialog processing sys
|
| 64 |
+
|
| 65 |
+
tems, built on top of Transformer language models (Vaswani et al., 2017), typically learn to predict contextual utterances within the contrastive learning framework and achieve superior performance on dialog tasks compared to universal representations (Wu et al., 2020; Zhou et al., 2022; Zeng et al., 2023; Oh et al., 2023).
|
| 66 |
+
|
| 67 |
+
While sentence contextuality is used in all of the above-mentioned studies, there is little to no focus on assessing the necessity for using context to derive sentence representations. An ablation of the NSP task is presented by Devlin et al. (2019), suggesting a slight performance benefit over a version where the task is omitted. However, Devlin et al. (2019) only evaluate the fine-tuning pipeline, while the raw BERT representations were shown to perform poorly overall (Reimers and Gurevych, 2019). Further, results by Liu et al. (2019) are contradictory and do not credit a performance improvement to the NSP task. Lastly, Zhou et al. (2022) additionally compare the representations resulting from dropout augmentations (Gao et al., 2021) to those of consecutive utterances and found a significant benefit in favor of the latter augmentations. Their results are perplexing, however, since the dropout version they implemented performed even worse than that of SimCSE (Gao et al., 2021), which also uses dropout augmentation, and should in fact perform worse, not being tailored for dialog.
|
| 68 |
+
|
| 69 |
+
Using the natural language inference (NLI) task has been effective in several general sentence representation learning systems (Conneau et al., 2017; Reimers and Gurevych, 2019; Zhou et al., 2022). However, along with machine translation models, these systems fall outside the category of unsupervised sentence representations.
|
| 70 |
+
|
| 71 |
+
# 3 Method
|
| 72 |
+
|
| 73 |
+
We trained several variants of content-based representations, their context-based counterparts, and an end-to-end, Skip-Thought like system, trained to encode and predict sentences.
|
| 74 |
+
|
| 75 |
+
We evaluated the following variants of content-based sentence representation<sup>2</sup>:
|
| 76 |
+
|
| 77 |
+
1. Latent Semantic Analysis (LSA) $\star$
|
| 78 |
+
2. Latent Dirichlet Allocation (LDA)\* (Blei et al., 2003)
|
| 79 |
+
|
| 80 |
+
3. Mean of GloVe word vectors $\star$ (Pennington et al., 2014)
|
| 81 |
+
4. LSTM-based auto-encoder (Hochreiter and Schmidhuber, 1997)
|
| 82 |
+
5. Mean of arbitrarily assigned word vectors
|
| 83 |
+
|
| 84 |
+
We also varied the final dimension of the sentence vector, namely $D \in \{6, 12, 25\}$ , either by setting the number_of_topics parameter, setting the auto-encoder bottleneck size, or truncating GloVe vectors. The auto-encoder was based on a 2-layer, bidirectional Long Short-Term Memory (LSTM) neural network with hidden size of $D_{hidden} = 64$ , dropout of $p = 0.1$ . The variant 5 is one where we randomly assigned a feature vector from an 8-dimensional raster to each vocabulary entry (a procedure by which we want to emulate the usage of 1-hot vector encoding, but with dense, real-valued vectors), and created the final sentence representation by averaging corresponding word vectors.
|
| 85 |
+
|
| 86 |
+
To create the context-based representations, we devised a learning regimen for 2 linear layers for each variant. One layer was used to project the sentence content vector to the context space (encode), and the other layer was used to predict the content vectors of surrounding sentences from the context vector (decode).
|
| 87 |
+
|
| 88 |
+
Finally, we trained a Skip-Thought-like model, where each sentence was represented by a sequence of word vectors (obtained via the same procedure as in variant 5), optionally truncated and padded to 20 tokens, processed via an LSTM (identical with the auto-encoder in variant 4), and projected such that, conditioned on the resulting vector, a decoder-LSTM reconstructs the surrounding sentences well via teacher forcing.
|
| 89 |
+
|
| 90 |
+
In all of the context-based variants, we varied the context size between 1 and 2 sentences, on each side.
|
| 91 |
+
|
| 92 |
+
# 3.1 Dataset and Evaluation
|
| 93 |
+
|
| 94 |
+
To infer and evaluate the representations, we used the Switchboard Dialog Act Corpus (SwDA) (Jurafsky, 1997), with exception of the GloVe vectors, where we used the pre-trained glove-twitter-25 vectors. The SwDA contains transcripts of casual telephone conversations in which the two parties were instructed to discuss a certain topic, e.g. "care of the elderly". Every utterance is assigned a label
|
| 95 |
+
|
| 96 |
+
<table><tr><td></td><td>Train</td><td>Dev</td><td>Test</td></tr><tr><td>Utterances</td><td>212,145</td><td>26,518</td><td>26,519</td></tr><tr><td>Tokens</td><td>1,833M</td><td>227K</td><td>227K</td></tr><tr><td>Tokens per att.</td><td>8.64</td><td>8.56</td><td>8.32</td></tr><tr><td>SD</td><td>35.47%</td><td>33.52%</td><td>35.00%</td></tr><tr><td>%/Other</td><td>27.45%</td><td>25.77%</td><td>25.60%</td></tr><tr><td>B</td><td>18.52%</td><td>21.54%</td><td>23.02%</td></tr><tr><td>SV</td><td>13.76%</td><td>14.60%</td><td>13.73%</td></tr><tr><td>AA</td><td>4.81%</td><td>4.57%</td><td>2.65%</td></tr></table>
|
| 97 |
+
|
| 98 |
+
Table 2: Summary of the SwDA dataset. In the upper section of the table, we summarize the corpus statistics. In the lower section we list the percentages of dialog act labels per corpus split (SD="Statement-non-opinion", B="Backchannel", SV="Statement-opinion", AA="Agree/Accept").
|
| 99 |
+
|
| 100 |
+
describing the "role" of the act, in a similar way that part-of-speech tags describe roles of words in sentences 4.
|
| 101 |
+
|
| 102 |
+
To pre-process the texts, (1) we tokenized the utterances with the reference Morfessor 2.0 (Virpioja et al., 2013) implementation, (2) long utterances were broken down into multiple shorter utterances with a sliding-window of 20 words and a step-size of 18 words, and (3) we split the corpus into a train, dev, and test split with respective proportions of $80\%$ , $10\%$ , and $10\%$ of the utterances. For an overview of the final corpus statistics, including the dialog act tags, see Table 2.
|
| 103 |
+
|
| 104 |
+
For each representation type, we trained a linear ridge-regression $^{5}$ -based classifier with 10-fold cross-validation (on the training set) to predict the dialog act labels. Altogether, there were 42 distinct dialog acts. To simplify the probe, we only selected the 10 most frequent labels to classify, while grouping the remaining labels under a single category.
|
| 105 |
+
|
| 106 |
+
# 4 Results
|
| 107 |
+
|
| 108 |
+
The classification accuracy results are presented in Table 3. We established baseline performance as the frequency of the majority class. The only variant performing below the majority baseline was the Random variant ( $D_{hidden} = 6$ ), which used means of arbitrarily assigned word vectors. The other variants achieved scores in the range of up to $15 - 21\%$ above the majority baseline. Except
|
| 109 |
+
|
| 110 |
+
<table><tr><td></td><td></td><td>Context</td><td>1 att.</td><td>2 att.</td></tr><tr><td>Algo.</td><td>Dim.</td><td colspan="3">Accuracy [%]</td></tr><tr><td>Maj. class</td><td></td><td>35.00</td><td></td><td></td></tr><tr><td rowspan="3">GLOVE</td><td>6</td><td>51.62</td><td>50.37</td><td>50.14</td></tr><tr><td>12</td><td>52.82</td><td>52.60</td><td>52.55</td></tr><tr><td>25</td><td>57.29</td><td>57.24</td><td>56.52</td></tr><tr><td rowspan="3">LDA</td><td>6</td><td>51.10</td><td>51.16</td><td>51.05</td></tr><tr><td>12</td><td>53.32</td><td>52.99</td><td>52.73</td></tr><tr><td>25</td><td>56.82</td><td>56.36</td><td>56.13</td></tr><tr><td rowspan="3">LSA</td><td>6</td><td>51.07</td><td>50.62</td><td>50.58</td></tr><tr><td>12</td><td>51.94</td><td>51.44</td><td>51.04</td></tr><tr><td>25</td><td>52.02</td><td>52.11</td><td>52.12</td></tr><tr><td rowspan="3">Random</td><td>6</td><td>36.52</td><td>41.55</td><td>41.83</td></tr><tr><td>12</td><td>46.99</td><td>47.17</td><td>46.47</td></tr><tr><td>25</td><td>48.46</td><td>47.69</td><td>47.59</td></tr><tr><td rowspan="3">Auto-enc.</td><td>6</td><td>53.88</td><td>52.27</td><td>51.63</td></tr><tr><td>12</td><td>54.46</td><td>53.89</td><td>52.34</td></tr><tr><td>25</td><td>52.43</td><td>53.18</td><td>52.57</td></tr><tr><td rowspan="3">Skip-Th.</td><td>6</td><td></td><td>51.13</td><td>39.66</td></tr><tr><td>12</td><td></td><td>53.33</td><td>52.38</td></tr><tr><td>25</td><td></td><td>55.21</td><td>57.54</td></tr></table>
|
| 111 |
+
|
| 112 |
+
Table 3: Results. The three right-most columns contain the accuracy percentages for the content-only, context of distance 1, and context of distance 2 variants.
|
| 113 |
+
|
| 114 |
+
for LSA, each algorithm achieved the highest score with $D_{hidden} = 25$ .
|
| 115 |
+
|
| 116 |
+
There were no big differences and no discerning patterns in the performance of the contextually projected variants.
|
| 117 |
+
|
| 118 |
+
The only case where the training regime of predicting two neighboring sentences on each side scored the best was with the end-to-end, SkipThought like variant, which also achieved the overall highest score.
|
| 119 |
+
|
| 120 |
+
# 5 Discussion
|
| 121 |
+
|
| 122 |
+
All tested models performed well over the majority baseline, including the averaged random word vectors which exceeded the majority baseline by a large margin when coupled with high dimensionality. One reason for this might be that, when averaging word vectors of higher dimension, there is a higher chance that some important lexical features will remain separable from the noise (also applicable to GloVe). Only in case of LSA and AutoEncoder, the effect of dimensionality was small. For the latter, using a variational or contrastive learning set-up might allow for better scaling of
|
| 123 |
+
|
| 124 |
+
performance with capacity. Based on the patterns observed here, increasing the dimensionality increases performance on the probe, with or without context.
|
| 125 |
+
|
| 126 |
+
We did not find either of these aspects discussed in the mainstream related work (Conneau et al., 2018; Belinkov, 2022b). The question of how far increasing the dimensionality helps performance should be explored in future work.
|
| 127 |
+
|
| 128 |
+
The presented results on the dialog act tag probing task are in line with related literature in that sequence/document representations with word embeddings and classical topic modeling approaches are a tough-to-beat baseline for many neural networks (Conneau et al., 2018; Reimers and Gurevych, 2019). Our results suggest that transforming existing, content-oriented representations to context-oriented ones provides minimal to no meaningful improvement in representation. An improvement of small, but perhaps meaningful magnitude is one from the best performing AutoEncoder to Skip-Thought variant $(3\%)$ , suggesting that some benefit in this training scheme may be found for sentences, too.
|
| 129 |
+
|
| 130 |
+
However, our experimental design limits us in drawing conclusions about what the Skip-Thought set-up benefited from specifically: the more general sentence representations may simply be an artifact of the more difficult learning task (predicting neighboring sentences), as opposed to being a result of form disambiguation via context, the way it works with words. Future work should employ methodology that separates the contribution of the competing sources of signal more clearly.
|
| 131 |
+
|
| 132 |
+
When compared to the obvious benefits of context on learning word representations, it is striking that the benefits for learning sentence representations appear to be very small at best.
|
| 133 |
+
|
| 134 |
+
This observation is suggestive of a more serious blind-spot in NLP: because context-based representations work well for words, many researchers assume that the same holds for any level of analysis. This is akin to claiming arbitrariness of the sign at any level of language processing.
|
| 135 |
+
|
| 136 |
+
# 6 Conclusion
|
| 137 |
+
|
| 138 |
+
We presented evidence that explicitly examines the differences between content-, and context-oriented unsupervised sentence representations. While results suggest that dimensionality, rather than context, is the determining factor in building good
|
| 139 |
+
|
| 140 |
+
sentence representations, end-to-end approaches based on reconstructing surrounding sentences are a promising way forward.
|
| 141 |
+
|
| 142 |
+
# Limitations
|
| 143 |
+
|
| 144 |
+
Since this work only presents evidence from one sentence task, the conclusions drawn are task-specific. Although we believe the chosen task to be fairly general, one can easily think of tasks that would likely challenge the drawn conclusions, e.g., recognition of humor or sarcasm. However, these are rather rare cases and it is questionable, where the best position of the boundary between unsupervised and task-specific lies. Additionally, the selected range of dimensions is limited to a small amount, and at larger scales the patterns of results might change.
|
| 145 |
+
|
| 146 |
+
# References
|
| 147 |
+
|
| 148 |
+
Sanjeev Arora, Yingyu Liang, and Tengyu Ma. 2017. A simple but tough-to-beat baseline for sentence embeddings. In International conference on learning representations.
|
| 149 |
+
Yonatan Belinkov. 2022a. Probing classifiers: Promises, shortcomings, and advances. Computational Linguistics, 48(1):207-219.
|
| 150 |
+
Yonatan Belinkov. 2022b. Probing classifiers: Promises, shortcomings, and advances. Computational Linguistics, 48(1):207-219.
|
| 151 |
+
David M Blei. 2012. Probabilistic topic models. Communications of the ACM, 55(4):77-84.
|
| 152 |
+
David M Blei, Andrew Y Ng, and Michael I Jordan. 2003. Latent dirichlet allocation. Journal of machine Learning research, 3(Jan):993-1022.
|
| 153 |
+
Samuel R. Bowman, Gabor Angeli, Christopher Potts, and Christopher D. Manning. 2015. A large annotated corpus for learning natural language inference. In Proceedings of the 2015 Conference on Empirical Methods in Natural Language Processing (EMNLP). Association for Computational Linguistics.
|
| 154 |
+
Daniel Cer, Yinfei Yang, Sheng-yi Kong, Nan Hua, Nicole Limtiaco, Rhomni St John, Noah Constant, Mario Guajardo-Cespedes, Steve Yuan, Chris Tar, et al. 2018. Universal sentence encoder for english. In Proceedings of the 2018 conference on empirical methods in natural language processing: system demonstrations, pages 169-174.
|
| 155 |
+
Ting Chen, Simon Kornblith, Mohammad Norouzi, and Geoffrey Hinton. 2020. A simple framework for contrastive learning of visual representations. In International conference on machine learning, pages 1597-1607. PMLR.
|
| 156 |
+
Grzegorz Chrupa and Afra Alishahi. 2019. Correlating neural and symbolic representations of language. arXiv preprint arXiv:1905.06401.
|
| 157 |
+
Yung-Sung Chuang, Rumen Dangovski, Hongyin Luo, Yang Zhang, Shiyu Chang, Marin Soljacic, Shang-Wen Li, Scott Yih, Yoon Kim, and James Glass. 2022. DiffCSE: Difference-based contrastive learning for sentence embeddings. In Proceedings of the 2022 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pages 4207-4218, Seattle, United States. Association for Computational Linguistics.
|
| 158 |
+
Alexis Conneau, Douwe Kiela, Holger Schwenk, Loic Barrault, and Antoine Bordes. 2017. Supervised learning of universal sentence representations from natural language inference data. arXiv preprint arXiv:1705.02364.
|
| 159 |
+
Alexis Conneau, German Kruszewski, Guillaume Lample, Loic Barrault, and Marco Baroni. 2018. What
|
| 160 |
+
|
| 161 |
+
you can cram into a single vector: Probing sentence embeddings for linguistic properties. arXiv preprint arXiv:1805.01070.
|
| 162 |
+
Ferdinand De Saussure. 1916. Nature of the linguistic sign. Course in general linguistics, 1:65-70.
|
| 163 |
+
Jacob Devlin, Ming-Wei Chang, and Kenton Lee. 2019. Google, kt, language, ai: Bert: pre-training of deep bidirectional transformers for language understanding. In Proceedings of NAACL-HLT, pages 4171-4186.
|
| 164 |
+
William Dolan, Chris Quirk, Chris Brockett, and Bill Dolan. 2004. Unsupervised construction of large paraphrase corpora: Exploiting massively parallel news sources.
|
| 165 |
+
Tianyu Gao, Xingcheng Yao, and Danqi Chen. 2021. SimCSE: Simple contrastive learning of sentence embeddings. In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing, pages 6894-6910, Online and Punta Cana, Dominican Republic. Association for Computational Linguistics.
|
| 166 |
+
Yoav Goldberg and Omer Levy. 2014. word2vec explained: deriving mikolov et al.'s negative-sampling word-embedding method. arXiv preprint arXiv:1402.3722.
|
| 167 |
+
Michael U Gutmann and Aapo Hyvarinen. 2012. Noisecontrastive estimation of unnormalized statistical models, with applications to natural image statistics. Journal of machine learning research, 13(2).
|
| 168 |
+
Sepp Hochreiter and Jürgen Schmidhuber. 1997. Long short-term memory. *Neural computation*, 9(8):1735-1780.
|
| 169 |
+
Thomas Hofmann. 2001. Unsupervised learning by probabilistic latent semantic analysis. Machine learning, 42(1-2):177.
|
| 170 |
+
Dan Jurafsky. 1997. Switchboard swbd-damsl shallow-discourse-function annotation coders manual. Technical report.
|
| 171 |
+
Nal Kalchbrenner and Phil Blunsom. 2013. Recurrent convolutional neural networks for discourse compositionality. arXiv preprint arXiv:1306.3584.
|
| 172 |
+
Ryan Kiros, Yukun Zhu, Russ R Salakhutdinov, Richard Zemel, Raquel Urtasun, Antonio Torralba, and Sanja Fidler. 2015. Skip-thought vectors. Advances in neural information processing systems, 28.
|
| 173 |
+
Thomas K Landauer and Susan T Dumais. 1997. A solution to Plato's problem: The latent semantic analysis theory of acquisition, induction, and representation of knowledge. Psychological review, 104(2):211.
|
| 174 |
+
Thomas K Landauer, Peter W Foltz, and Darrell Laham. 1998. An introduction to latent semantic analysis. Discourse processes, 25(2-3):259-284.
|
| 175 |
+
|
| 176 |
+
Wei Li and Yunfang Wu. 2019. Multi-level gated recurrent neural network for dialog act classification. arXiv preprint arXiv:1910.01822.
|
| 177 |
+
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.
|
| 178 |
+
Lajanugen Logeswaran and Honglak Lee. 2018. An efficient framework for learning sentence representations. arXiv preprint arXiv:1803.02893.
|
| 179 |
+
Marco Marelli, Luisa Bentivogli, Marco Baroni, Raffaella Bernardi, Stefano Menini, and Roberto Zamparelli. 2014. Semeval-2014 task 1: Evaluation of compositional distributional semantic models on full sentences through semantic relatedness and textual entailment. In Proceedings of the 8th international workshop on semantic evaluation (SemEval 2014), pages 1-8.
|
| 180 |
+
Tomas Mikolov, Kai Chen, Greg Corrado, and Jeffrey Dean. 2013a. Efficient estimation of word representations in vector space. arXiv preprint arXiv:1301.3781.
|
| 181 |
+
Tomas Mikolov, Ilya Sutskever, Kai Chen, Greg S Corrado, and Jeff Dean. 2013b. Distributed representations of words and phrases and their compositionality. Advances in neural information processing systems, 26.
|
| 182 |
+
Minsik Oh, Jiwei Li, and Guoyin Wang. 2023. Tadse: Template-aware dialogue sentence embeddings.
|
| 183 |
+
Jeffrey Pennington, Richard Socher, and Christopher D Manning. 2014. Glove: Global vectors for word representation. In Proceedings of the 2014 conference on empirical methods in natural language processing (EMNLP), pages 1532-1543.
|
| 184 |
+
Christian S Perone, Roberto Silveira, and Thomas S Paula. 2018. Evaluation of sentence embeddings in downstream and linguistic probing tasks. arXiv preprint arXiv:1806.06259.
|
| 185 |
+
Jordan B Pollack. 1990. Recursive distributed representations. Artificial Intelligence, 46(1-2):77-105.
|
| 186 |
+
Vipul Raheja and Joel Tetreault. 2019. Dialogue act classification with context-aware self-attention. arXiv preprint arXiv:1904.02594.
|
| 187 |
+
Juan Ramos et al. 2003. Using tfidf to determine word relevance in document queries. In Proceedings of the first instructional conference on machine learning, volume 242, pages 29-48. Citeseer.
|
| 188 |
+
Nils Reimers and Iryna Gurevych. 2019. Sentence-bert: Sentence embeddings using siamese bert-networks. arXiv preprint arXiv:1908.10084.
|
| 189 |
+
|
| 190 |
+
Richard Socher, Eric Huang, Jeffrey Pennin, Christopher D Manning, and Andrew Ng. 2011a. Dynamic pooling and unfolding recursive autoencoders for paraphrase detection. Advances in neural information processing systems, 24.
|
| 191 |
+
Richard Socher, Jeffrey Pennington, Eric H Huang, Andrew Y Ng, and Christopher D Manning. 2011b. Semi-supervised recursive autoencoders for predicting sentiment distributions. In Proceedings of the 2011 conference on empirical methods in natural language processing, pages 151-161.
|
| 192 |
+
Richard Socher, Alex Perelygin, Jean Wu, Jason Chuang, Christopher D Manning, Andrew Y Ng, and Christopher Potts. 2013. Recursive deep models for semantic compositionality over a sentiment treebank. In Proceedings of the 2013 conference on empirical methods in natural language processing, pages 1631-1642.
|
| 193 |
+
Kai Sheng Tai, Richard Socher, and Christopher D Manning. 2015. Improved semantic representations from tree-structured long short-term memory networks. arXiv preprint arXiv:1503.00075.
|
| 194 |
+
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.
|
| 195 |
+
Sami Virpioja, Peter Smit, Stig-Arne Gronroos, Mikko Kurimo, et al. 2013. Morfessor 2.0: Python implementation and extensions for morfessor baseline. Technical report.
|
| 196 |
+
Chien-Sheng Wu, Steven C.H. Hoi, Richard Socher, and Caiming Xiong. 2020. TOD-BERT: Pre-trained natural language understanding for task-oriented dialogue. In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP), pages 917-929, Online. Association for Computational Linguistics.
|
| 197 |
+
Weihao Zeng, Keqing He, Yejie Wang, Chen Zeng, Jinggang Wang, Yunsen Xian, and Weiran Xu. 2023. Futuretod: Teaching future knowledge to pre-trained language model for task-oriented dialogue.
|
| 198 |
+
Zhihan Zhou, Dejiao Zhang, Wei Xiao, Nicholas Dingwall, Xiaofei Ma, Andrew Arnold, and Bing Xiang. 2022. Learning dialogue representations from consecutive utterances. In Proceedings of the 2022 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pages 754-768, Seattle, United States. Association for Computational Linguistics.
|
| 199 |
+
|
| 200 |
+

|
| 201 |
+
|
| 202 |
+

|
| 203 |
+
Pearson correlation between features (dim=6)
|
| 204 |
+
|
| 205 |
+

|
| 206 |
+
|
| 207 |
+

|
| 208 |
+
|
| 209 |
+

|
| 210 |
+
|
| 211 |
+

|
| 212 |
+
|
| 213 |
+

|
| 214 |
+
|
| 215 |
+

|
| 216 |
+
|
| 217 |
+

|
| 218 |
+
|
| 219 |
+

|
| 220 |
+
|
| 221 |
+

|
| 222 |
+
Figure 1: Correlation matrices of feature vectors across representation variants with dimension of 6.
|
| 223 |
+
|
| 224 |
+

|
| 225 |
+
|
| 226 |
+

|
| 227 |
+
|
| 228 |
+

|
| 229 |
+
|
| 230 |
+

|
| 231 |
+
|
| 232 |
+

|
| 233 |
+
|
| 234 |
+

|
| 235 |
+
Pearson correlation between features (dim=12)
|
| 236 |
+
|
| 237 |
+

|
| 238 |
+
|
| 239 |
+

|
| 240 |
+
|
| 241 |
+

|
| 242 |
+
|
| 243 |
+

|
| 244 |
+
|
| 245 |
+

|
| 246 |
+
|
| 247 |
+

|
| 248 |
+
|
| 249 |
+

|
| 250 |
+
|
| 251 |
+

|
| 252 |
+
|
| 253 |
+

|
| 254 |
+
Figure 2: Correlation matrices of feature vectors across representation variants with dimension of 12.
|
| 255 |
+
|
| 256 |
+

|
| 257 |
+
|
| 258 |
+

|
| 259 |
+
|
| 260 |
+

|
| 261 |
+
|
| 262 |
+

|
| 263 |
+
|
| 264 |
+
# Pearson correlation between features (dim=25)
|
| 265 |
+
|
| 266 |
+

|
| 267 |
+
|
| 268 |
+

|
| 269 |
+
|
| 270 |
+

|
| 271 |
+
Figure 3: Correlation matrices of feature vectors across representation variants with dimension of 25.
|
| 272 |
+
|
| 273 |
+

|
| 274 |
+
|
| 275 |
+

|
| 276 |
+
|
| 277 |
+

|
| 278 |
+
|
| 279 |
+

|
| 280 |
+
|
| 281 |
+

|
| 282 |
+
|
| 283 |
+

|
| 284 |
+
|
| 285 |
+

|
| 286 |
+
|
| 287 |
+

|
| 288 |
+
|
| 289 |
+

|
| 290 |
+
|
| 291 |
+

|
| 292 |
+
|
| 293 |
+

|
| 294 |
+
|
| 295 |
+

|
2023/Role of Context in Unsupervised Sentence Representation Learning_ the Case of Dialog Act Modeling/images.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1e12a1f43eab7a65b615bf92f5081a9627f48d6ccc56368df5bc212162008d7f
|
| 3 |
+
size 518839
|
2023/Role of Context in Unsupervised Sentence Representation Learning_ the Case of Dialog Act Modeling/layout.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2023/Roles of Scaling and Instruction Tuning in Language Perception_ Model vs. Human Attention/4d81e6a0-662e-4a1d-8420-5bca7d9f2692_content_list.json
ADDED
|
@@ -0,0 +1,2369 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"type": "text",
|
| 4 |
+
"text": "Roles of Scaling and Instruction Tuning in Language Perception: Model vs. Human Attention",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
166,
|
| 8 |
+
87,
|
| 9 |
+
835,
|
| 10 |
+
127
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Changjiang Gao<sup>1</sup> Shujian Huang<sup>1*</sup> Jixing Li<sup>2</sup> Jiajun Chen<sup>1</sup>",
|
| 17 |
+
"bbox": [
|
| 18 |
+
226,
|
| 19 |
+
141,
|
| 20 |
+
774,
|
| 21 |
+
159
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "$^{1}$ National Key Laboratory for Novel Software Technology, Nanjing University",
|
| 28 |
+
"bbox": [
|
| 29 |
+
184,
|
| 30 |
+
159,
|
| 31 |
+
816,
|
| 32 |
+
175
|
| 33 |
+
],
|
| 34 |
+
"page_idx": 0
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"type": "text",
|
| 38 |
+
"text": "$^{2}$ Department of Linguistics and Translation, City University of Hong Kong gaocj@smail.nju.edu.cn {huangsj, chenjj}@nju.edu.cn",
|
| 39 |
+
"bbox": [
|
| 40 |
+
196,
|
| 41 |
+
175,
|
| 42 |
+
803,
|
| 43 |
+
208
|
| 44 |
+
],
|
| 45 |
+
"page_idx": 0
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"type": "text",
|
| 49 |
+
"text": "jixingli@cityu.edu.hk",
|
| 50 |
+
"bbox": [
|
| 51 |
+
394,
|
| 52 |
+
210,
|
| 53 |
+
608,
|
| 54 |
+
225
|
| 55 |
+
],
|
| 56 |
+
"page_idx": 0
|
| 57 |
+
},
|
| 58 |
+
{
|
| 59 |
+
"type": "text",
|
| 60 |
+
"text": "Abstract",
|
| 61 |
+
"text_level": 1,
|
| 62 |
+
"bbox": [
|
| 63 |
+
260,
|
| 64 |
+
252,
|
| 65 |
+
339,
|
| 66 |
+
268
|
| 67 |
+
],
|
| 68 |
+
"page_idx": 0
|
| 69 |
+
},
|
| 70 |
+
{
|
| 71 |
+
"type": "text",
|
| 72 |
+
"text": "Recent large language models (LLMs) have revealed strong abilities to understand natural language. Since most of them share the same basic structure, i.e. the transformer block, possible contributors to their success in the training process are scaling and instruction tuning. However, how these factors affect the models' language perception is unclear. This work compares the self-attention of several existing LLMs (LLaMA, Alpaca and Vicuna) in different sizes (7B, 13B, 30B, 65B), together with eye saccade, an aspect of human reading attention, to assess the effect of scaling and instruction tuning on language perception. Results show that scaling enhances the human resemblance and improves the effective attention by reducing the trivial pattern reliance, while instruction tuning does not. However, instruction tuning significantly enhances the models' sensitivity to instructions. We also find that current LLMs are consistently closer to non-native than native speakers in attention, suggesting a suboptimal language perception of all models. Our code and data used in the analysis is available on GitHub.",
|
| 73 |
+
"bbox": [
|
| 74 |
+
144,
|
| 75 |
+
279,
|
| 76 |
+
460,
|
| 77 |
+
633
|
| 78 |
+
],
|
| 79 |
+
"page_idx": 0
|
| 80 |
+
},
|
| 81 |
+
{
|
| 82 |
+
"type": "text",
|
| 83 |
+
"text": "1 Introduction",
|
| 84 |
+
"text_level": 1,
|
| 85 |
+
"bbox": [
|
| 86 |
+
114,
|
| 87 |
+
646,
|
| 88 |
+
258,
|
| 89 |
+
662
|
| 90 |
+
],
|
| 91 |
+
"page_idx": 0
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"type": "text",
|
| 95 |
+
"text": "Large language models (LLMs), e.g., GPT-4, ChatGPT and Vicuna, have shown nearly human-level understanding of text inputs, indicating better human-like language perception compared with their predecessors such as BERT (Devlin et al., 2019) and GPT-2 (Radford et al., 2019). However, the mechanism behind such improvement is largely unknown. One way to interpret such mechanism is comparing model computation processes to human data. For example, prior work compared language models (mainly GPT-2) with human neuroimaging data during language comprehension, suggesting that models with higher human resemblance also perform better in NLP tasks. (Hasson",
|
| 96 |
+
"bbox": [
|
| 97 |
+
112,
|
| 98 |
+
671,
|
| 99 |
+
489,
|
| 100 |
+
897
|
| 101 |
+
],
|
| 102 |
+
"page_idx": 0
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"type": "text",
|
| 106 |
+
"text": "et al., 2020; Schrimpf et al., 2021). However, given recent breakthroughs in LLMs, it remains to be tested whether the newest LLMs still align with human perception data. Based on the training pipeline of current LLMs, there are two possible sources for the potential change: the scaled model/data size and the aligning process after pretraining, such as instruction tuning (Ouyang et al., 2022; Wei et al., 2022; Sanh et al., 2022). This paper aims to provide a further understanding of LLMs' mechanism by investigating the roles of these two factors in language understanding.",
|
| 107 |
+
"bbox": [
|
| 108 |
+
507,
|
| 109 |
+
252,
|
| 110 |
+
884,
|
| 111 |
+
445
|
| 112 |
+
],
|
| 113 |
+
"page_idx": 0
|
| 114 |
+
},
|
| 115 |
+
{
|
| 116 |
+
"type": "text",
|
| 117 |
+
"text": "In this paper, we analyze self-attention as a channel to the language perception ability of LLMs, because it is the key mechanism of transformer language models, and it naturally resembles the human attention mechanism in language perceiving (Merkx and Frank, 2021). The attention patterns under investigation includes those from trending open-sourced LLMs with different sizes, i.e., 7B, 13B, 30B, 65B, and different training stages, i.e., pretrained (LLaMA) and instruction-tuned (Alpaca and Vicuna) models. Given these models are all trained mainly with English data, we also compare the attention patterns of LLMs with human saccade (a form of eye-movement) data, including both native speakers (L1) and non-native learners (L2) of English (Li et al., 2019) to see if the models correlates more with L1 subjects.",
|
| 118 |
+
"bbox": [
|
| 119 |
+
507,
|
| 120 |
+
449,
|
| 121 |
+
884,
|
| 122 |
+
722
|
| 123 |
+
],
|
| 124 |
+
"page_idx": 0
|
| 125 |
+
},
|
| 126 |
+
{
|
| 127 |
+
"type": "text",
|
| 128 |
+
"text": "Our analysis is three-fold. First, we compare the general attention distributions of LLMs to measure the impact of these two varying factors on the model ( $\\S 3.1$ ). Second, we perform linear regressions (LRs) between the model self-attention and human saccade matrices to see how human-like they are, and how the resemblance is affected by the two factors ( $\\S 3.2$ ). Third, we analyze the relation between the given attention and some trivial patterns, revealing the difference between different levels of language perception abilities ( $\\S 3.3$ ). The main findings are:",
|
| 129 |
+
"bbox": [
|
| 130 |
+
507,
|
| 131 |
+
726,
|
| 132 |
+
884,
|
| 133 |
+
917
|
| 134 |
+
],
|
| 135 |
+
"page_idx": 0
|
| 136 |
+
},
|
| 137 |
+
{
|
| 138 |
+
"type": "page_footnote",
|
| 139 |
+
"text": "* Corresponding author",
|
| 140 |
+
"bbox": [
|
| 141 |
+
141,
|
| 142 |
+
904,
|
| 143 |
+
294,
|
| 144 |
+
917
|
| 145 |
+
],
|
| 146 |
+
"page_idx": 0
|
| 147 |
+
},
|
| 148 |
+
{
|
| 149 |
+
"type": "page_number",
|
| 150 |
+
"text": "13042",
|
| 151 |
+
"bbox": [
|
| 152 |
+
475,
|
| 153 |
+
927,
|
| 154 |
+
524,
|
| 155 |
+
940
|
| 156 |
+
],
|
| 157 |
+
"page_idx": 0
|
| 158 |
+
},
|
| 159 |
+
{
|
| 160 |
+
"type": "footer",
|
| 161 |
+
"text": "Findings of the Association for Computational Linguistics: EMNLP 2023, pages 13042-13055 December 6-10, 2023 ©2023 Association for Computational Linguistics",
|
| 162 |
+
"bbox": [
|
| 163 |
+
210,
|
| 164 |
+
945,
|
| 165 |
+
786,
|
| 166 |
+
972
|
| 167 |
+
],
|
| 168 |
+
"page_idx": 0
|
| 169 |
+
},
|
| 170 |
+
{
|
| 171 |
+
"type": "list",
|
| 172 |
+
"sub_type": "text",
|
| 173 |
+
"list_items": [
|
| 174 |
+
"- Scaling significantly affects the general attention distribution on plain text, while instruction tuning has limited effect. However, instruction tuning enhances the model's sensitivity to instructions (§5.1).",
|
| 175 |
+
"- Higher human resemblance is significantly correlated to better language modeling. Scaling improves the resemblance by scaling law (Henighan et al., 2020), while instruction tuning reduces it. All models have higher resemblance to L2 rather than to L1, suggesting further room for the improvement in language perception (§5.2).",
|
| 176 |
+
"- L2 saccade has higher dependency on trivial attention patterns than L1, indicating a more rigid way of perception. Scaling significantly lowers LLMs' reliance on trivial attention patterns, while instruction tuning does not (§5.3)."
|
| 177 |
+
],
|
| 178 |
+
"bbox": [
|
| 179 |
+
136,
|
| 180 |
+
84,
|
| 181 |
+
487,
|
| 182 |
+
399
|
| 183 |
+
],
|
| 184 |
+
"page_idx": 1
|
| 185 |
+
},
|
| 186 |
+
{
|
| 187 |
+
"type": "text",
|
| 188 |
+
"text": "2 Related Work",
|
| 189 |
+
"text_level": 1,
|
| 190 |
+
"bbox": [
|
| 191 |
+
112,
|
| 192 |
+
414,
|
| 193 |
+
270,
|
| 194 |
+
429
|
| 195 |
+
],
|
| 196 |
+
"page_idx": 1
|
| 197 |
+
},
|
| 198 |
+
{
|
| 199 |
+
"type": "text",
|
| 200 |
+
"text": "Self-attention analysis is a common way to interpret transformer models. Several studies has shown that it is correlated to linguistic information, such as syntactic or semantic structures (Mareček and Rosa, 2018; Raganato and Tiedemann, 2018; Voita et al., 2019; Clark et al., 2019). There are also some attempts and debates to explain the models' prediction with attention (Jain and Wallace, 2019; Wegreffe and Pinter, 2019; Serrano and Smith, 2019; Vashisth et al., 2019). Different from them, we use self-attention patterns as a measurement of the language perception abilities of LLMs. Also, some new ways to interpret model self-attention have been proposed, such as Attention Flow (Abnar and Zuidema, 2020), vector norm (Kobayashi et al., 2020, 2021), ALTI (Ferrando et al., 2022), Value Zeroing (Mohebbi et al., 2023), and logit analysis (Ferrando et al., 2023). These methods can raise the interpretability of model attention w.r.t. linguistic structural information, but are not tested with human eye-tracking data. Also, some of them suffer from huge computational cost. Instead, we choose to use the raw attention scores, as it is produced in the models' original computational processes, and they already correlate the human data, demonstrating their interpretability.",
|
| 201 |
+
"bbox": [
|
| 202 |
+
112,
|
| 203 |
+
441,
|
| 204 |
+
489,
|
| 205 |
+
860
|
| 206 |
+
],
|
| 207 |
+
"page_idx": 1
|
| 208 |
+
},
|
| 209 |
+
{
|
| 210 |
+
"type": "text",
|
| 211 |
+
"text": "Instruction tuned LLMs achieve better performances in performing tasks (Ouyang et al., 2022; Wei et al., 2022; Sanh et al., 2022). It seems that the",
|
| 212 |
+
"bbox": [
|
| 213 |
+
112,
|
| 214 |
+
871,
|
| 215 |
+
489,
|
| 216 |
+
917
|
| 217 |
+
],
|
| 218 |
+
"page_idx": 1
|
| 219 |
+
},
|
| 220 |
+
{
|
| 221 |
+
"type": "text",
|
| 222 |
+
"text": "LLMs are better at understanding human instructions. However, there is little discussion on how the instruction tuning process affects the language perception.",
|
| 223 |
+
"bbox": [
|
| 224 |
+
507,
|
| 225 |
+
84,
|
| 226 |
+
884,
|
| 227 |
+
149
|
| 228 |
+
],
|
| 229 |
+
"page_idx": 1
|
| 230 |
+
},
|
| 231 |
+
{
|
| 232 |
+
"type": "text",
|
| 233 |
+
"text": "Eye-movement in the human reading process has drawn attention in the computational linguistic field. It is proposed that scanpaths, i.e. tracks of eye-movement, reveals characteristics of the parsing processes and relates to working memory during reading (von der Malsburg and Vasishth, 2013), and the irregularity of scanpaths is affected by sentence structures and age (von der Malsburg et al., 2015). Such work provides theoretical ground for our analysis on saccade data.",
|
| 234 |
+
"bbox": [
|
| 235 |
+
507,
|
| 236 |
+
160,
|
| 237 |
+
884,
|
| 238 |
+
319
|
| 239 |
+
],
|
| 240 |
+
"page_idx": 1
|
| 241 |
+
},
|
| 242 |
+
{
|
| 243 |
+
"type": "text",
|
| 244 |
+
"text": "Joint study of language models and human eye-movement is also receiving growing interest. Prior studies have shown the correlation between language processing of human and artificial neural networks (Kell et al., 2018), especially pretrained language models such as GPT-2 (Caucheteux et al., 2021, 2022; Schrimpf et al., 2021; Lamarre et al., 2022). Especially, Oh and Schuler (2023a,b) explored the fit of model surprisal to human reading times, noting the effect of models' sequential memorization and dataset size. Hollenstein and Beinborn (2021) studied the correlation between relative word importance derived from models and humans, and Morger et al. (2022) extended that research to a multilingual setting, as well as analysis on model attention. Some studies also use human attention as supervision to assist specific tasks (Sood et al., 2020; Bansal et al., 2023), or use sequential models to predict eye-tracking data (Chersoni et al., 2022). Different from them, we use human attention as references for the language perception abilities.",
|
| 245 |
+
"bbox": [
|
| 246 |
+
507,
|
| 247 |
+
331,
|
| 248 |
+
884,
|
| 249 |
+
684
|
| 250 |
+
],
|
| 251 |
+
"page_idx": 1
|
| 252 |
+
},
|
| 253 |
+
{
|
| 254 |
+
"type": "text",
|
| 255 |
+
"text": "3 Methods",
|
| 256 |
+
"text_level": 1,
|
| 257 |
+
"bbox": [
|
| 258 |
+
507,
|
| 259 |
+
697,
|
| 260 |
+
621,
|
| 261 |
+
713
|
| 262 |
+
],
|
| 263 |
+
"page_idx": 1
|
| 264 |
+
},
|
| 265 |
+
{
|
| 266 |
+
"type": "text",
|
| 267 |
+
"text": "To show the effect of scaling and instruction tuning on different models, we compare the self-attention scores of different LLMs given the same input, by viewing model attention as probability distributions and calculating the general attention divergence based on Jensen-Shannon divergence.",
|
| 268 |
+
"bbox": [
|
| 269 |
+
507,
|
| 270 |
+
725,
|
| 271 |
+
882,
|
| 272 |
+
820
|
| 273 |
+
],
|
| 274 |
+
"page_idx": 1
|
| 275 |
+
},
|
| 276 |
+
{
|
| 277 |
+
"type": "text",
|
| 278 |
+
"text": "To analyze model self-attention, we take the human saccade as a reference, and design a human resemblance metric based on linear regression scores.",
|
| 279 |
+
"bbox": [
|
| 280 |
+
507,
|
| 281 |
+
822,
|
| 282 |
+
884,
|
| 283 |
+
869
|
| 284 |
+
],
|
| 285 |
+
"page_idx": 1
|
| 286 |
+
},
|
| 287 |
+
{
|
| 288 |
+
"type": "text",
|
| 289 |
+
"text": "In addition, we select several trivial, context-free attention patterns, and design a trivial pattern reliance metric to help demonstrate the difference",
|
| 290 |
+
"bbox": [
|
| 291 |
+
507,
|
| 292 |
+
871,
|
| 293 |
+
882,
|
| 294 |
+
917
|
| 295 |
+
],
|
| 296 |
+
"page_idx": 1
|
| 297 |
+
},
|
| 298 |
+
{
|
| 299 |
+
"type": "page_number",
|
| 300 |
+
"text": "13043",
|
| 301 |
+
"bbox": [
|
| 302 |
+
477,
|
| 303 |
+
927,
|
| 304 |
+
524,
|
| 305 |
+
940
|
| 306 |
+
],
|
| 307 |
+
"page_idx": 1
|
| 308 |
+
},
|
| 309 |
+
{
|
| 310 |
+
"type": "text",
|
| 311 |
+
"text": "between models and human subject groups.",
|
| 312 |
+
"bbox": [
|
| 313 |
+
112,
|
| 314 |
+
84,
|
| 315 |
+
438,
|
| 316 |
+
99
|
| 317 |
+
],
|
| 318 |
+
"page_idx": 2
|
| 319 |
+
},
|
| 320 |
+
{
|
| 321 |
+
"type": "text",
|
| 322 |
+
"text": "3.1 General Attention Divergence",
|
| 323 |
+
"text_level": 1,
|
| 324 |
+
"bbox": [
|
| 325 |
+
112,
|
| 326 |
+
111,
|
| 327 |
+
394,
|
| 328 |
+
126
|
| 329 |
+
],
|
| 330 |
+
"page_idx": 2
|
| 331 |
+
},
|
| 332 |
+
{
|
| 333 |
+
"type": "text",
|
| 334 |
+
"text": "We assess the mean Jensen-Shannon (J-S) divergence between attention from different models on all sentences. For two attention matrices $A$ , $B \\in \\mathbb{R}^{n_{\\mathrm{word}} \\times n_{\\mathrm{word}}}$ , the J-S divergence is:",
|
| 335 |
+
"bbox": [
|
| 336 |
+
112,
|
| 337 |
+
131,
|
| 338 |
+
489,
|
| 339 |
+
195
|
| 340 |
+
],
|
| 341 |
+
"page_idx": 2
|
| 342 |
+
},
|
| 343 |
+
{
|
| 344 |
+
"type": "equation",
|
| 345 |
+
"text": "\n$$\n\\begin{array}{l} D _ {\\mathrm {J S}} (A, B) = \\frac {1}{2} \\sum_ {i = 1} ^ {n _ {\\text {w o r d}}} \\left[ D _ {\\mathrm {K L}} \\left(A _ {i} \\| B _ {i}\\right) \\right. \\\\ + D _ {\\mathrm {K L}} \\left(B _ {i} \\| A _ {i}\\right) ] \\\\ \\end{array}\n$$\n",
|
| 346 |
+
"text_format": "latex",
|
| 347 |
+
"bbox": [
|
| 348 |
+
171,
|
| 349 |
+
219,
|
| 350 |
+
428,
|
| 351 |
+
280
|
| 352 |
+
],
|
| 353 |
+
"page_idx": 2
|
| 354 |
+
},
|
| 355 |
+
{
|
| 356 |
+
"type": "text",
|
| 357 |
+
"text": "where $D_{\\mathrm{KL}}$ is the Kullback-Leibler (K-L) divergence, $A_{i}$ and $B_{i}$ are the $i$ -th rows in the two matrices. Note the attention matrices are re-normalized to keep the sum of every row to 1.0. We calculate the J-S divergence between heads-averaged attention scores per sentence, and demonstrate the mean values. For models with the same number of layers, the divergence is calculated layerwise; For models with different numbers of layers, we divide their layers into four quarters and calculate the divergence quarter-wise.",
|
| 358 |
+
"bbox": [
|
| 359 |
+
112,
|
| 360 |
+
290,
|
| 361 |
+
489,
|
| 362 |
+
467
|
| 363 |
+
],
|
| 364 |
+
"page_idx": 2
|
| 365 |
+
},
|
| 366 |
+
{
|
| 367 |
+
"type": "text",
|
| 368 |
+
"text": "To identify high and low divergence, a reference value is required. We propose to use the attention divergence between two models that share the same structure, size, and training data, but have small difference in training strategies as the reference. A divergence value higher than the reference suggests relatively large change attention, while one lower than that indicates small (but not necessarily negligible) change.",
|
| 369 |
+
"bbox": [
|
| 370 |
+
112,
|
| 371 |
+
468,
|
| 372 |
+
489,
|
| 373 |
+
612
|
| 374 |
+
],
|
| 375 |
+
"page_idx": 2
|
| 376 |
+
},
|
| 377 |
+
{
|
| 378 |
+
"type": "text",
|
| 379 |
+
"text": "Divergence by Scaling and Instruction Tuning Models with different scales or training stages are compared with the above divergence to show the effect of different factors.",
|
| 380 |
+
"bbox": [
|
| 381 |
+
112,
|
| 382 |
+
621,
|
| 383 |
+
485,
|
| 384 |
+
684
|
| 385 |
+
],
|
| 386 |
+
"page_idx": 2
|
| 387 |
+
},
|
| 388 |
+
{
|
| 389 |
+
"type": "text",
|
| 390 |
+
"text": "Sensitivity to Instructions To evaluate the effect of instruction tuning, we measure a given model's sensitivity to instructions by the same general attention divergence metric, but on different input, i.e., plain input and input with instructions. If the divergence between them is significantly higher than reference, we say the model has high sensitivity to instructions.",
|
| 391 |
+
"bbox": [
|
| 392 |
+
112,
|
| 393 |
+
694,
|
| 394 |
+
489,
|
| 395 |
+
820
|
| 396 |
+
],
|
| 397 |
+
"page_idx": 2
|
| 398 |
+
},
|
| 399 |
+
{
|
| 400 |
+
"type": "text",
|
| 401 |
+
"text": "To construct instructed text, we attach two prefixes to plain text sentences: \"Please translate this sentence into German:\", and \"Please paraphrase this sentence\":\". They are within the reported capacity of most LLMs, and require no extra information to follow. Then, we collect model attention on",
|
| 402 |
+
"bbox": [
|
| 403 |
+
112,
|
| 404 |
+
822,
|
| 405 |
+
489,
|
| 406 |
+
917
|
| 407 |
+
],
|
| 408 |
+
"page_idx": 2
|
| 409 |
+
},
|
| 410 |
+
{
|
| 411 |
+
"type": "text",
|
| 412 |
+
"text": "the two corpora within the original sentence spans (re-normalized) to represent non-instruction and instruction scenarios. Also, as a control group, we attached a noise prefix made of 5 randomly sampled English words \"Cigarette first steel convenience champion.\", and calculate the divergence between prefixed and plain text to account for the effect of a meaningless prefix.",
|
| 413 |
+
"bbox": [
|
| 414 |
+
507,
|
| 415 |
+
84,
|
| 416 |
+
884,
|
| 417 |
+
212
|
| 418 |
+
],
|
| 419 |
+
"page_idx": 2
|
| 420 |
+
},
|
| 421 |
+
{
|
| 422 |
+
"type": "text",
|
| 423 |
+
"text": "3.2 Human Resemblance",
|
| 424 |
+
"text_level": 1,
|
| 425 |
+
"bbox": [
|
| 426 |
+
507,
|
| 427 |
+
224,
|
| 428 |
+
722,
|
| 429 |
+
237
|
| 430 |
+
],
|
| 431 |
+
"page_idx": 2
|
| 432 |
+
},
|
| 433 |
+
{
|
| 434 |
+
"type": "text",
|
| 435 |
+
"text": "3.2.1 Human Resemblance Calculation",
|
| 436 |
+
"text_level": 1,
|
| 437 |
+
"bbox": [
|
| 438 |
+
507,
|
| 439 |
+
244,
|
| 440 |
+
831,
|
| 441 |
+
259
|
| 442 |
+
],
|
| 443 |
+
"page_idx": 2
|
| 444 |
+
},
|
| 445 |
+
{
|
| 446 |
+
"type": "text",
|
| 447 |
+
"text": "Given the model self-attention and the human saccade data in matrix form for each sentence, we first extract the lower-triangle parts of the matrices (marking right-to-left attendance), because prior studies have found that such eye-movements in reading are related to working memory efficiency (Walczyk and Taylor, 1996) and parsing strategies (von der Malsburg and Vasishth, 2013), and the auto-regressive LLMs only have right-to-left self-attention. Then, we flatten the extracted parts of each sentence attention matrix, and concatenate them to get attention vectors $\\{v_{\\mathrm{human}}^i\\}$ for each subject $i$ , and $\\{v_{\\mathrm{model}}^{j,k}\\}$ for head $k$ in model layer $j$ . We then stack $\\{v_{\\mathrm{model}}^{j,k}\\}$ along the attention heads and get a matrix $\\{V_{\\mathrm{model}}^j\\}$ for the $j$ -th layer. The LR for model layer $j$ and subject $i$ is defined as:",
|
| 448 |
+
"bbox": [
|
| 449 |
+
507,
|
| 450 |
+
263,
|
| 451 |
+
884,
|
| 452 |
+
527
|
| 453 |
+
],
|
| 454 |
+
"page_idx": 2
|
| 455 |
+
},
|
| 456 |
+
{
|
| 457 |
+
"type": "equation",
|
| 458 |
+
"text": "\n$$\n\\arg \\min _ {w, b} \\left\\| V _ {\\mathrm {m o d e l}} ^ {j \\top} w + b - v _ {\\mathrm {h u m a n}} ^ {i} \\right\\| _ {2} ^ {2}\n$$\n",
|
| 459 |
+
"text_format": "latex",
|
| 460 |
+
"bbox": [
|
| 461 |
+
561,
|
| 462 |
+
538,
|
| 463 |
+
828,
|
| 464 |
+
569
|
| 465 |
+
],
|
| 466 |
+
"page_idx": 2
|
| 467 |
+
},
|
| 468 |
+
{
|
| 469 |
+
"type": "text",
|
| 470 |
+
"text": "This means we take the linear combination of attention scores from all heads in a layer to predict the human saccade. Note that the model attention here are not re-normalized, in order to preserve the relative weight w.r.t. the $<s>$ token. The regression scores $R_{i,j}^{2}$ (ranging from 0 to 1, larger value means better regression) are averaged over subjects to represent the human resemblance of layer $j$ , and the highest layer score is considered as the regression score of the whole model, $R_{\\mathrm{model}}^{2}$ .",
|
| 471 |
+
"bbox": [
|
| 472 |
+
507,
|
| 473 |
+
581,
|
| 474 |
+
882,
|
| 475 |
+
743
|
| 476 |
+
],
|
| 477 |
+
"page_idx": 2
|
| 478 |
+
},
|
| 479 |
+
{
|
| 480 |
+
"type": "text",
|
| 481 |
+
"text": "Because the human saccade pattern varies across individuals, there exists a natural upper bound for human resemblance of models, i.e., the human-human resemblance, or the inter-subject correlation. To calculate this correlation within the two language groups, L1 and L2, we take the group mean to regress over each individual data independently, and use the average regression score $R_{\\mathrm{inter}}^2$ as the inter-subject correlation for that group. The final human resemblance score is $R_{\\mathrm{model}}^2 / R_{\\mathrm{inter}}^2$ , ranging from 0 to 100%.",
|
| 482 |
+
"bbox": [
|
| 483 |
+
507,
|
| 484 |
+
743,
|
| 485 |
+
884,
|
| 486 |
+
917
|
| 487 |
+
],
|
| 488 |
+
"page_idx": 2
|
| 489 |
+
},
|
| 490 |
+
{
|
| 491 |
+
"type": "page_number",
|
| 492 |
+
"text": "13044",
|
| 493 |
+
"bbox": [
|
| 494 |
+
477,
|
| 495 |
+
927,
|
| 496 |
+
524,
|
| 497 |
+
940
|
| 498 |
+
],
|
| 499 |
+
"page_idx": 2
|
| 500 |
+
},
|
| 501 |
+
{
|
| 502 |
+
"type": "text",
|
| 503 |
+
"text": "3.2.2 Human Resemblance vs. Next-Token Prediction",
|
| 504 |
+
"text_level": 1,
|
| 505 |
+
"bbox": [
|
| 506 |
+
112,
|
| 507 |
+
84,
|
| 508 |
+
463,
|
| 509 |
+
115
|
| 510 |
+
],
|
| 511 |
+
"page_idx": 3
|
| 512 |
+
},
|
| 513 |
+
{
|
| 514 |
+
"type": "text",
|
| 515 |
+
"text": "A previous study finds a positive correlation between the next-token predication (NTP) performance and the \"Brain Score\" of neural networks (Schrimpf et al., 2021), which supports the intuition that the more human-like models are, the better generation they output. To test this finding in our setting, we calculated the per-token prediction loss (the negative log likelihood loss normalized by sequence lengths) of the models employed in this study on the Reading Brain dataset, and calculate the Pearson's Correlation between their prediction loss and max layerwise human resemblance scores.",
|
| 516 |
+
"bbox": [
|
| 517 |
+
112,
|
| 518 |
+
120,
|
| 519 |
+
489,
|
| 520 |
+
313
|
| 521 |
+
],
|
| 522 |
+
"page_idx": 3
|
| 523 |
+
},
|
| 524 |
+
{
|
| 525 |
+
"type": "text",
|
| 526 |
+
"text": "3.3 Trivial Pattern Reliance",
|
| 527 |
+
"text_level": 1,
|
| 528 |
+
"bbox": [
|
| 529 |
+
112,
|
| 530 |
+
324,
|
| 531 |
+
349,
|
| 532 |
+
338
|
| 533 |
+
],
|
| 534 |
+
"page_idx": 3
|
| 535 |
+
},
|
| 536 |
+
{
|
| 537 |
+
"type": "text",
|
| 538 |
+
"text": "3.3.1 Trivial Pattern Reliance of Models",
|
| 539 |
+
"text_level": 1,
|
| 540 |
+
"bbox": [
|
| 541 |
+
112,
|
| 542 |
+
344,
|
| 543 |
+
443,
|
| 544 |
+
360
|
| 545 |
+
],
|
| 546 |
+
"page_idx": 3
|
| 547 |
+
},
|
| 548 |
+
{
|
| 549 |
+
"type": "text",
|
| 550 |
+
"text": "We select three representative trivial patterns of transformer attention: attending to the first word in the sentence, attending to the previous word (Vig and Belinkov, 2019), and self-attending (Clark et al., 2019), and analyze the effect of scaling and instruction tuning on models' reliance on them.",
|
| 551 |
+
"bbox": [
|
| 552 |
+
112,
|
| 553 |
+
363,
|
| 554 |
+
487,
|
| 555 |
+
460
|
| 556 |
+
],
|
| 557 |
+
"page_idx": 3
|
| 558 |
+
},
|
| 559 |
+
{
|
| 560 |
+
"type": "text",
|
| 561 |
+
"text": "First, we represent the trivial patterns as binary adjacent matrices, where attending relations are marked with 1, others with 0, and use their flattened lower-triangle parts as the independent variables. The model attention is similarly processed to be the dependent variables. Then, an LR is fit between the two, and the regression scores are collected to represent the trivial pattern reliance of each model layer.",
|
| 562 |
+
"bbox": [
|
| 563 |
+
112,
|
| 564 |
+
461,
|
| 565 |
+
487,
|
| 566 |
+
605
|
| 567 |
+
],
|
| 568 |
+
"page_idx": 3
|
| 569 |
+
},
|
| 570 |
+
{
|
| 571 |
+
"type": "text",
|
| 572 |
+
"text": "3.3.2 Trivial Pattern Reliance of Humans",
|
| 573 |
+
"text_level": 1,
|
| 574 |
+
"bbox": [
|
| 575 |
+
112,
|
| 576 |
+
615,
|
| 577 |
+
453,
|
| 578 |
+
630
|
| 579 |
+
],
|
| 580 |
+
"page_idx": 3
|
| 581 |
+
},
|
| 582 |
+
{
|
| 583 |
+
"type": "text",
|
| 584 |
+
"text": "This research compares the models' resemblance to L1 and L2 humans because intuitively, L1 is better than L2 in language understanding. To test this intuition, we compare their reliance on the three trivial patterns to see whether their attention mode differs. Similar to model attention, the flattened human saccade vectors are used as the dependent variable to fit the LRs with the trivial patterns.",
|
| 585 |
+
"bbox": [
|
| 586 |
+
112,
|
| 587 |
+
634,
|
| 588 |
+
487,
|
| 589 |
+
763
|
| 590 |
+
],
|
| 591 |
+
"page_idx": 3
|
| 592 |
+
},
|
| 593 |
+
{
|
| 594 |
+
"type": "text",
|
| 595 |
+
"text": "4 Experiment Settings",
|
| 596 |
+
"text_level": 1,
|
| 597 |
+
"bbox": [
|
| 598 |
+
112,
|
| 599 |
+
775,
|
| 600 |
+
324,
|
| 601 |
+
791
|
| 602 |
+
],
|
| 603 |
+
"page_idx": 3
|
| 604 |
+
},
|
| 605 |
+
{
|
| 606 |
+
"type": "text",
|
| 607 |
+
"text": "4.1 Data",
|
| 608 |
+
"text_level": 1,
|
| 609 |
+
"bbox": [
|
| 610 |
+
112,
|
| 611 |
+
802,
|
| 612 |
+
200,
|
| 613 |
+
816
|
| 614 |
+
],
|
| 615 |
+
"page_idx": 3
|
| 616 |
+
},
|
| 617 |
+
{
|
| 618 |
+
"type": "text",
|
| 619 |
+
"text": "We use the Reading Brain dataset (Li et al., 2019) for both the text input and the human data. The dataset includes 5 English STEM articles. Each article has $29.6 \\pm 0.68$ sentences of $10.33 \\pm 0.15$ words. It also includes human eye-tracking and fMRI data recorded synchronously during self-paced reading",
|
| 620 |
+
"bbox": [
|
| 621 |
+
112,
|
| 622 |
+
822,
|
| 623 |
+
489,
|
| 624 |
+
919
|
| 625 |
+
],
|
| 626 |
+
"page_idx": 3
|
| 627 |
+
},
|
| 628 |
+
{
|
| 629 |
+
"type": "image",
|
| 630 |
+
"img_path": "images/72af1df936c3ae4afd689692a37f326c1690dfeaa2151877027d8fb5cc2d467c.jpg",
|
| 631 |
+
"image_caption": [
|
| 632 |
+
"(a) Individual",
|
| 633 |
+
"Figure 1: Examples of individual and group mean saccade of the sentence \"Could humans live on Mars some day?\""
|
| 634 |
+
],
|
| 635 |
+
"image_footnote": [],
|
| 636 |
+
"bbox": [
|
| 637 |
+
512,
|
| 638 |
+
83,
|
| 639 |
+
692,
|
| 640 |
+
205
|
| 641 |
+
],
|
| 642 |
+
"page_idx": 3
|
| 643 |
+
},
|
| 644 |
+
{
|
| 645 |
+
"type": "image",
|
| 646 |
+
"img_path": "images/00e40331f9f9f846d20f3c9cd578170c07c200d1400a103ffaf58bb6603b4d7c.jpg",
|
| 647 |
+
"image_caption": [
|
| 648 |
+
"(b) Group Mean"
|
| 649 |
+
],
|
| 650 |
+
"image_footnote": [],
|
| 651 |
+
"bbox": [
|
| 652 |
+
697,
|
| 653 |
+
82,
|
| 654 |
+
875,
|
| 655 |
+
205
|
| 656 |
+
],
|
| 657 |
+
"page_idx": 3
|
| 658 |
+
},
|
| 659 |
+
{
|
| 660 |
+
"type": "text",
|
| 661 |
+
"text": "on the articles. The human subjects are 52 native English speakers (L1) and 56 non-native learners of English (L2). We choose this dataset for the following reasons: (1) The text is presented to the subjects sentence by sentence instead of page by page, making in-sentence reading patterns clearer. (2) It has synchronous eye-tracking and fMRI data, which allows both behavioral- and neural-level analysis. In this article we mainly focus on the behavioral part, but we also have some preliminary results on the fMRI analysis (See Appendix D).",
|
| 662 |
+
"bbox": [
|
| 663 |
+
507,
|
| 664 |
+
306,
|
| 665 |
+
884,
|
| 666 |
+
482
|
| 667 |
+
],
|
| 668 |
+
"page_idx": 3
|
| 669 |
+
},
|
| 670 |
+
{
|
| 671 |
+
"type": "text",
|
| 672 |
+
"text": "We take the saccade number, i.e. times of eye movements from a word to another, instead of saccade duration, to represent the human reading attention, because this reduces the effect of other factors such as word length. The saccade data of a human subject for a given sentence is a $n_{\\mathrm{word}} \\times n_{\\mathrm{word}}$ matrix. Figure 1 gives examples of individual and group mean saccades.",
|
| 673 |
+
"bbox": [
|
| 674 |
+
507,
|
| 675 |
+
483,
|
| 676 |
+
882,
|
| 677 |
+
612
|
| 678 |
+
],
|
| 679 |
+
"page_idx": 3
|
| 680 |
+
},
|
| 681 |
+
{
|
| 682 |
+
"type": "text",
|
| 683 |
+
"text": "4.2 LLMs",
|
| 684 |
+
"text_level": 1,
|
| 685 |
+
"bbox": [
|
| 686 |
+
507,
|
| 687 |
+
627,
|
| 688 |
+
606,
|
| 689 |
+
640
|
| 690 |
+
],
|
| 691 |
+
"page_idx": 3
|
| 692 |
+
},
|
| 693 |
+
{
|
| 694 |
+
"type": "text",
|
| 695 |
+
"text": "We employ LLaMA (Touvron et al., 2023) and its instruction-tuned versions, Alpaca (Taori et al., 2023) and Vicuna (Chiang et al., 2023) in this research. We use them because: (1) The model sizes and different instruction-tuning methods covers the majority of current open-sourced LLMs. (2) These models are being widely used and customized globally. Thus, analysis on them is representative and meaningful.",
|
| 696 |
+
"bbox": [
|
| 697 |
+
507,
|
| 698 |
+
649,
|
| 699 |
+
882,
|
| 700 |
+
793
|
| 701 |
+
],
|
| 702 |
+
"page_idx": 3
|
| 703 |
+
},
|
| 704 |
+
{
|
| 705 |
+
"type": "text",
|
| 706 |
+
"text": "LLaMA is a series of pretrained causal language models with parameter sizes 7B, 13B, 30B and 65B, trained on over 1T publicly available text tokens, and reaches state-of-the-art on most LLM benchmarks (Touvron et al., 2023). The training corpus is mainly English. We use all 4 sizes of LLaMA, which covers the sizes of most current",
|
| 707 |
+
"bbox": [
|
| 708 |
+
507,
|
| 709 |
+
806,
|
| 710 |
+
882,
|
| 711 |
+
917
|
| 712 |
+
],
|
| 713 |
+
"page_idx": 3
|
| 714 |
+
},
|
| 715 |
+
{
|
| 716 |
+
"type": "page_number",
|
| 717 |
+
"text": "13045",
|
| 718 |
+
"bbox": [
|
| 719 |
+
477,
|
| 720 |
+
927,
|
| 721 |
+
524,
|
| 722 |
+
940
|
| 723 |
+
],
|
| 724 |
+
"page_idx": 3
|
| 725 |
+
},
|
| 726 |
+
{
|
| 727 |
+
"type": "text",
|
| 728 |
+
"text": "open-sourced LLMs. We also use the 774M GPT-2 Large (Radford et al., 2019) to represent smaller pretrained models in the scaling analysis.",
|
| 729 |
+
"bbox": [
|
| 730 |
+
112,
|
| 731 |
+
84,
|
| 732 |
+
487,
|
| 733 |
+
134
|
| 734 |
+
],
|
| 735 |
+
"page_idx": 4
|
| 736 |
+
},
|
| 737 |
+
{
|
| 738 |
+
"type": "text",
|
| 739 |
+
"text": "Alpaca is fine-tuned from the 7B LLaMA model on 52K English instruction-following demonstrations generated by GPT-3 (Brown et al., 2020) using self-instruct (Wang et al., 2023). To analyze the effect of scaling, we also trained a 13B version of Alpaca using the official data and training strategy of Alpaca. Our 13B Alpaca model scores 43.9 and 46.0 on the MMLU dataset in zero-shot and one-shot setting respectively, proving the soundness of our fine-tuning. (The corresponding scores are 40.9 and 39.2 for the official Alpaca 7B model.)",
|
| 740 |
+
"bbox": [
|
| 741 |
+
112,
|
| 742 |
+
143,
|
| 743 |
+
489,
|
| 744 |
+
322
|
| 745 |
+
],
|
| 746 |
+
"page_idx": 4
|
| 747 |
+
},
|
| 748 |
+
{
|
| 749 |
+
"type": "text",
|
| 750 |
+
"text": "Vicuna models are fine-tuned from the 7B and 13B LLaMA models on 70K user-shared conversations with ChatGPT. The data contains instruction and in-context learning samples in multiple languages, thus the Vicuna models can also be viewed as instruction-tuned.",
|
| 751 |
+
"bbox": [
|
| 752 |
+
112,
|
| 753 |
+
334,
|
| 754 |
+
489,
|
| 755 |
+
430
|
| 756 |
+
],
|
| 757 |
+
"page_idx": 4
|
| 758 |
+
},
|
| 759 |
+
{
|
| 760 |
+
"type": "text",
|
| 761 |
+
"text": "4.3 LLMs Attention Collection",
|
| 762 |
+
"text_level": 1,
|
| 763 |
+
"bbox": [
|
| 764 |
+
112,
|
| 765 |
+
444,
|
| 766 |
+
371,
|
| 767 |
+
458
|
| 768 |
+
],
|
| 769 |
+
"page_idx": 4
|
| 770 |
+
},
|
| 771 |
+
{
|
| 772 |
+
"type": "text",
|
| 773 |
+
"text": "To obtain model attention, text is provided to the models sentence by sentence to perform next token predict, and we collect the attention tensors in each layer. This resembles the human self-paced task-free reading process, where only one sentence is visible at a time to the subjects, and the natural human behavior is to predict the next word (Kell et al., 2018; Schrimpf et al., 2021).",
|
| 774 |
+
"bbox": [
|
| 775 |
+
112,
|
| 776 |
+
466,
|
| 777 |
+
487,
|
| 778 |
+
594
|
| 779 |
+
],
|
| 780 |
+
"page_idx": 4
|
| 781 |
+
},
|
| 782 |
+
{
|
| 783 |
+
"type": "text",
|
| 784 |
+
"text": "Because models use the SentencePiece tokenization (Kudo and Richardson, 2018), but the human saccade data is recorded in words, the attention matrices need to be reshaped. Following Clark et al. (2019) and Manning et al. (2020), we take the sum over the \"to\" tokens, and the average over the \"from\" tokens in a split word. Also, the $<s>$ token is dropped as it is not presented to human subjects.",
|
| 785 |
+
"bbox": [
|
| 786 |
+
112,
|
| 787 |
+
596,
|
| 788 |
+
489,
|
| 789 |
+
726
|
| 790 |
+
],
|
| 791 |
+
"page_idx": 4
|
| 792 |
+
},
|
| 793 |
+
{
|
| 794 |
+
"type": "text",
|
| 795 |
+
"text": "Reference of Divergence We use the attention divergence of Vicuna v0 and Vicuna v1.1 13B as the reference values. The two versions share the same training data and strategy, but have minor difference in separators and loss computation<sup>2</sup>. We use the divergence calculated on 13B Vicunas across all divergence analyses, because it has lower mean and variance than the 7B one, making our comparison fairer and stricter.",
|
| 796 |
+
"bbox": [
|
| 797 |
+
112,
|
| 798 |
+
737,
|
| 799 |
+
489,
|
| 800 |
+
881
|
| 801 |
+
],
|
| 802 |
+
"page_idx": 4
|
| 803 |
+
},
|
| 804 |
+
{
|
| 805 |
+
"type": "text",
|
| 806 |
+
"text": "5 Results",
|
| 807 |
+
"text_level": 1,
|
| 808 |
+
"bbox": [
|
| 809 |
+
509,
|
| 810 |
+
83,
|
| 811 |
+
608,
|
| 812 |
+
98
|
| 813 |
+
],
|
| 814 |
+
"page_idx": 4
|
| 815 |
+
},
|
| 816 |
+
{
|
| 817 |
+
"type": "image",
|
| 818 |
+
"img_path": "images/ec644743c14c8077c18e304cd43e115de1a02fc57935327bff3bdeb62939a0c4.jpg",
|
| 819 |
+
"image_caption": [
|
| 820 |
+
"Figure 2: Mean J-S divergence between 7B and 13B model attention in each layer quarter, measured on non-instruction sentences."
|
| 821 |
+
],
|
| 822 |
+
"image_footnote": [],
|
| 823 |
+
"bbox": [
|
| 824 |
+
522,
|
| 825 |
+
124,
|
| 826 |
+
870,
|
| 827 |
+
244
|
| 828 |
+
],
|
| 829 |
+
"page_idx": 4
|
| 830 |
+
},
|
| 831 |
+
{
|
| 832 |
+
"type": "text",
|
| 833 |
+
"text": "5.1 General Attention Divergence",
|
| 834 |
+
"text_level": 1,
|
| 835 |
+
"bbox": [
|
| 836 |
+
507,
|
| 837 |
+
332,
|
| 838 |
+
789,
|
| 839 |
+
349
|
| 840 |
+
],
|
| 841 |
+
"page_idx": 4
|
| 842 |
+
},
|
| 843 |
+
{
|
| 844 |
+
"type": "text",
|
| 845 |
+
"text": "5.1.1 Scaling Significantly Changes the General Attention",
|
| 846 |
+
"text_level": 1,
|
| 847 |
+
"bbox": [
|
| 848 |
+
507,
|
| 849 |
+
354,
|
| 850 |
+
830,
|
| 851 |
+
385
|
| 852 |
+
],
|
| 853 |
+
"page_idx": 4
|
| 854 |
+
},
|
| 855 |
+
{
|
| 856 |
+
"type": "text",
|
| 857 |
+
"text": "The general attention divergence between models in different sizes is shown in Figure 2. The results show that LLaMA, Alpaca and Vicuna all reveal divergence significantly higher than the reference values when scaled from 7B to 13B. This means scaling causes large change in the overall attention distribution.",
|
| 858 |
+
"bbox": [
|
| 859 |
+
507,
|
| 860 |
+
391,
|
| 861 |
+
882,
|
| 862 |
+
502
|
| 863 |
+
],
|
| 864 |
+
"page_idx": 4
|
| 865 |
+
},
|
| 866 |
+
{
|
| 867 |
+
"type": "text",
|
| 868 |
+
"text": "5.1.2 Instruction Tuning Has Limited Effect on General Attention",
|
| 869 |
+
"text_level": 1,
|
| 870 |
+
"bbox": [
|
| 871 |
+
507,
|
| 872 |
+
514,
|
| 873 |
+
870,
|
| 874 |
+
545
|
| 875 |
+
],
|
| 876 |
+
"page_idx": 4
|
| 877 |
+
},
|
| 878 |
+
{
|
| 879 |
+
"type": "text",
|
| 880 |
+
"text": "The general attention divergence between pretrained and instruction tuned models is shown in Figure 3. It can be observed that only Vicuna 13B brings divergence above the reference values, while all the others don't. The same result can also be observed on instruction-prefixed sentences. This suggests that instruction tuning can only bring limited change to the models' general attention distribution. This can also be verified by other results in the following parts.",
|
| 881 |
+
"bbox": [
|
| 882 |
+
507,
|
| 883 |
+
551,
|
| 884 |
+
882,
|
| 885 |
+
712
|
| 886 |
+
],
|
| 887 |
+
"page_idx": 4
|
| 888 |
+
},
|
| 889 |
+
{
|
| 890 |
+
"type": "text",
|
| 891 |
+
"text": "5.1.3 Instruction Tuning Enhances Sensitivity to Instructions",
|
| 892 |
+
"text_level": 1,
|
| 893 |
+
"bbox": [
|
| 894 |
+
507,
|
| 895 |
+
722,
|
| 896 |
+
880,
|
| 897 |
+
752
|
| 898 |
+
],
|
| 899 |
+
"page_idx": 4
|
| 900 |
+
},
|
| 901 |
+
{
|
| 902 |
+
"type": "text",
|
| 903 |
+
"text": "The divergence between the models' attention obtained on the original and instruction-attached sentences are shown in Figure 4. There are two major observations. Firstly, LLaMA, Alpaca and Vicuna all show divergence significantly above the reference values between the two types of sentences, especially in the shallower layers, which means they all have sensitivity to instructions. Secondly, while the divergence of LLaMA drops in the deeper layers, the divergence of Alpaca and Vicuna does",
|
| 904 |
+
"bbox": [
|
| 905 |
+
507,
|
| 906 |
+
758,
|
| 907 |
+
882,
|
| 908 |
+
917
|
| 909 |
+
],
|
| 910 |
+
"page_idx": 4
|
| 911 |
+
},
|
| 912 |
+
{
|
| 913 |
+
"type": "page_footnote",
|
| 914 |
+
"text": "Based on this GitHub repository for LLM evaluation.",
|
| 915 |
+
"bbox": [
|
| 916 |
+
134,
|
| 917 |
+
890,
|
| 918 |
+
467,
|
| 919 |
+
904
|
| 920 |
+
],
|
| 921 |
+
"page_idx": 4
|
| 922 |
+
},
|
| 923 |
+
{
|
| 924 |
+
"type": "page_footnote",
|
| 925 |
+
"text": "2According to notes in the Vicuna GitHub repository.",
|
| 926 |
+
"bbox": [
|
| 927 |
+
136,
|
| 928 |
+
904,
|
| 929 |
+
460,
|
| 930 |
+
917
|
| 931 |
+
],
|
| 932 |
+
"page_idx": 4
|
| 933 |
+
},
|
| 934 |
+
{
|
| 935 |
+
"type": "page_number",
|
| 936 |
+
"text": "13046",
|
| 937 |
+
"bbox": [
|
| 938 |
+
477,
|
| 939 |
+
927,
|
| 940 |
+
524,
|
| 941 |
+
940
|
| 942 |
+
],
|
| 943 |
+
"page_idx": 4
|
| 944 |
+
},
|
| 945 |
+
{
|
| 946 |
+
"type": "image",
|
| 947 |
+
"img_path": "images/fc5d47d7c18de76657c2fc72e97c7d6618092e97df812d52e938b4fa7a26142e.jpg",
|
| 948 |
+
"image_caption": [],
|
| 949 |
+
"image_footnote": [],
|
| 950 |
+
"bbox": [
|
| 951 |
+
127,
|
| 952 |
+
86,
|
| 953 |
+
470,
|
| 954 |
+
204
|
| 955 |
+
],
|
| 956 |
+
"page_idx": 5
|
| 957 |
+
},
|
| 958 |
+
{
|
| 959 |
+
"type": "image",
|
| 960 |
+
"img_path": "images/85a93c8b9a28b689b6faa748f92743d88ed79f05e4da2930be71c7e7b557f76e.jpg",
|
| 961 |
+
"image_caption": [
|
| 962 |
+
"Figure 3: General attention divergence between pretrained and instruction-tuned models in 7B and 13B, measured on non-instruction sentences."
|
| 963 |
+
],
|
| 964 |
+
"image_footnote": [],
|
| 965 |
+
"bbox": [
|
| 966 |
+
127,
|
| 967 |
+
214,
|
| 968 |
+
470,
|
| 969 |
+
332
|
| 970 |
+
],
|
| 971 |
+
"page_idx": 5
|
| 972 |
+
},
|
| 973 |
+
{
|
| 974 |
+
"type": "text",
|
| 975 |
+
"text": "not go down, but rather up, suggesting higher sensitivity to instructions in the deeper layers. This effect is not observed in the noise-prefixed scenario (See Appendix A).",
|
| 976 |
+
"bbox": [
|
| 977 |
+
112,
|
| 978 |
+
416,
|
| 979 |
+
487,
|
| 980 |
+
480
|
| 981 |
+
],
|
| 982 |
+
"page_idx": 5
|
| 983 |
+
},
|
| 984 |
+
{
|
| 985 |
+
"type": "text",
|
| 986 |
+
"text": "From these two observations, we can conclude that the pretrained LLaMA has already obtained some sensitivity to instructions, i.e. to change its attention mode when it meets instructions, and this sensitivity is further strengthened by instruction tuning, which makes this sensitivity higher in the deeper layers. Because in causal language models like LLaMA, the last few layers are related to generation, this effect of instruction tuning may bring more suitable generation for a certain instruction.",
|
| 987 |
+
"bbox": [
|
| 988 |
+
112,
|
| 989 |
+
481,
|
| 990 |
+
487,
|
| 991 |
+
642
|
| 992 |
+
],
|
| 993 |
+
"page_idx": 5
|
| 994 |
+
},
|
| 995 |
+
{
|
| 996 |
+
"type": "text",
|
| 997 |
+
"text": "5.2 Human Resemblance",
|
| 998 |
+
"text_level": 1,
|
| 999 |
+
"bbox": [
|
| 1000 |
+
112,
|
| 1001 |
+
653,
|
| 1002 |
+
327,
|
| 1003 |
+
668
|
| 1004 |
+
],
|
| 1005 |
+
"page_idx": 5
|
| 1006 |
+
},
|
| 1007 |
+
{
|
| 1008 |
+
"type": "text",
|
| 1009 |
+
"text": "5.2.1 Higher Human Resemblance, Lower Prediction Loss",
|
| 1010 |
+
"text_level": 1,
|
| 1011 |
+
"bbox": [
|
| 1012 |
+
112,
|
| 1013 |
+
674,
|
| 1014 |
+
460,
|
| 1015 |
+
705
|
| 1016 |
+
],
|
| 1017 |
+
"page_idx": 5
|
| 1018 |
+
},
|
| 1019 |
+
{
|
| 1020 |
+
"type": "text",
|
| 1021 |
+
"text": "The per-token NTP loss and the maximum layerwise human resemblance scores are compared in Table 1 and Figure 5. One can tell from it that, within the considered range of parameter sizes, the human resemblance is negatively correlated with the NTP loss, where the resemblance goes higher nearly linearly with the loss going lower. The Pearson's correlation is $-0.875$ for L1 ( $p < 0.002$ ) and $-0.917$ for L2 ( $p < 0.0005$ ), supporting a significant and strong negative linear correlation.",
|
| 1022 |
+
"bbox": [
|
| 1023 |
+
112,
|
| 1024 |
+
709,
|
| 1025 |
+
487,
|
| 1026 |
+
869
|
| 1027 |
+
],
|
| 1028 |
+
"page_idx": 5
|
| 1029 |
+
},
|
| 1030 |
+
{
|
| 1031 |
+
"type": "text",
|
| 1032 |
+
"text": "This result shows that, the human resemblance we defined is positively related to the language modeling performance of the LLMs considered in",
|
| 1033 |
+
"bbox": [
|
| 1034 |
+
112,
|
| 1035 |
+
870,
|
| 1036 |
+
487,
|
| 1037 |
+
917
|
| 1038 |
+
],
|
| 1039 |
+
"page_idx": 5
|
| 1040 |
+
},
|
| 1041 |
+
{
|
| 1042 |
+
"type": "image",
|
| 1043 |
+
"img_path": "images/1f008220a318e85eb96f9974abe4cb35e28cfcd3055c85a6548958ea60eda23d.jpg",
|
| 1044 |
+
"image_caption": [],
|
| 1045 |
+
"image_footnote": [],
|
| 1046 |
+
"bbox": [
|
| 1047 |
+
522,
|
| 1048 |
+
86,
|
| 1049 |
+
867,
|
| 1050 |
+
205
|
| 1051 |
+
],
|
| 1052 |
+
"page_idx": 5
|
| 1053 |
+
},
|
| 1054 |
+
{
|
| 1055 |
+
"type": "image",
|
| 1056 |
+
"img_path": "images/f76cbc30a5588ac8a4301ce3303f98d0edd580660d4ba45a0c94f8532c70bab8.jpg",
|
| 1057 |
+
"image_caption": [
|
| 1058 |
+
"Figure 4: Attention divergence on the original and instruction-attached text of 7B and 13B models."
|
| 1059 |
+
],
|
| 1060 |
+
"image_footnote": [],
|
| 1061 |
+
"bbox": [
|
| 1062 |
+
522,
|
| 1063 |
+
214,
|
| 1064 |
+
867,
|
| 1065 |
+
332
|
| 1066 |
+
],
|
| 1067 |
+
"page_idx": 5
|
| 1068 |
+
},
|
| 1069 |
+
{
|
| 1070 |
+
"type": "text",
|
| 1071 |
+
"text": "this research, giving a practical meaning to our human resemblance analysis. Also, based on this result, we know the pursuit for higher human resemblance is consistent with the target of training better LLMs. Similarly, factors negatively impacting the human resemblance could also harm the models' language modeling performance, such as instruction tuning brings lower human resemblance as well as higher NTP loss.",
|
| 1072 |
+
"bbox": [
|
| 1073 |
+
507,
|
| 1074 |
+
403,
|
| 1075 |
+
884,
|
| 1076 |
+
548
|
| 1077 |
+
],
|
| 1078 |
+
"page_idx": 5
|
| 1079 |
+
},
|
| 1080 |
+
{
|
| 1081 |
+
"type": "table",
|
| 1082 |
+
"img_path": "images/84993aceea938241ed48581fe63c0ac38da565077937761d44e5cb5a2247baf2.jpg",
|
| 1083 |
+
"table_caption": [],
|
| 1084 |
+
"table_footnote": [],
|
| 1085 |
+
"table_body": "<table><tr><td>Size</td><td>Name</td><td>Loss</td><td>L1(%)</td><td>L2(%)</td></tr><tr><td>774M</td><td>GPT-2</td><td>0.3264</td><td>34.99</td><td>40.03</td></tr><tr><td rowspan=\"3\">7B</td><td>LLaMA</td><td>0.2408</td><td>53.04</td><td>62.44</td></tr><tr><td>Alpaca</td><td>0.2646</td><td>52.51</td><td>61.71</td></tr><tr><td>Vicuna</td><td>0.2593</td><td>51.90</td><td>61.19</td></tr><tr><td rowspan=\"3\">13B</td><td>LLaMA</td><td>0.2406</td><td>55.66</td><td>64.20</td></tr><tr><td>Alpaca</td><td>0.2634</td><td>55.05</td><td>64.46</td></tr><tr><td>Vicuna</td><td>0.2847</td><td>54.26</td><td>61.31</td></tr><tr><td>30B</td><td>LLaMA</td><td>0.2372</td><td>63.16</td><td>69.40</td></tr><tr><td>65B</td><td>LLaMA</td><td>0.2375</td><td>64.05</td><td>70.07</td></tr></table>",
|
| 1086 |
+
"bbox": [
|
| 1087 |
+
539,
|
| 1088 |
+
560,
|
| 1089 |
+
852,
|
| 1090 |
+
686
|
| 1091 |
+
],
|
| 1092 |
+
"page_idx": 5
|
| 1093 |
+
},
|
| 1094 |
+
{
|
| 1095 |
+
"type": "text",
|
| 1096 |
+
"text": "Table 1: Comparison between NTP loss and the human resemblance scores",
|
| 1097 |
+
"bbox": [
|
| 1098 |
+
507,
|
| 1099 |
+
695,
|
| 1100 |
+
880,
|
| 1101 |
+
722
|
| 1102 |
+
],
|
| 1103 |
+
"page_idx": 5
|
| 1104 |
+
},
|
| 1105 |
+
{
|
| 1106 |
+
"type": "text",
|
| 1107 |
+
"text": "5.2.2 Scaling Enhances Human Resemblance",
|
| 1108 |
+
"text_level": 1,
|
| 1109 |
+
"bbox": [
|
| 1110 |
+
507,
|
| 1111 |
+
753,
|
| 1112 |
+
878,
|
| 1113 |
+
769
|
| 1114 |
+
],
|
| 1115 |
+
"page_idx": 5
|
| 1116 |
+
},
|
| 1117 |
+
{
|
| 1118 |
+
"type": "text",
|
| 1119 |
+
"text": "The layerwise human resemblance of pretrained models in different scales are shown in Figure 6, where the LLaMAs are very different from GPT-2 Large in two ways. First, the layerwise human resemblance of the LLaMAs are much higher than GPT-2, but the gaps among the LLaMAs are small; Second, human resemblance of GPT-2 drop quickly in the deeper layers, while it remains high across all layers in the LLaMAs. one can refer from these",
|
| 1120 |
+
"bbox": [
|
| 1121 |
+
507,
|
| 1122 |
+
774,
|
| 1123 |
+
882,
|
| 1124 |
+
917
|
| 1125 |
+
],
|
| 1126 |
+
"page_idx": 5
|
| 1127 |
+
},
|
| 1128 |
+
{
|
| 1129 |
+
"type": "page_number",
|
| 1130 |
+
"text": "13047",
|
| 1131 |
+
"bbox": [
|
| 1132 |
+
477,
|
| 1133 |
+
927,
|
| 1134 |
+
524,
|
| 1135 |
+
940
|
| 1136 |
+
],
|
| 1137 |
+
"page_idx": 5
|
| 1138 |
+
},
|
| 1139 |
+
{
|
| 1140 |
+
"type": "image",
|
| 1141 |
+
"img_path": "images/ea819d17b6d953235351d5a73b5a5b7e65ce7a5938cf23f98cd7b2ffcce21a37.jpg",
|
| 1142 |
+
"image_caption": [
|
| 1143 |
+
"Figure 5: The correlation between the per-token negative log likelihood loss and the max layerwise human resemblance of LLMs."
|
| 1144 |
+
],
|
| 1145 |
+
"image_footnote": [],
|
| 1146 |
+
"bbox": [
|
| 1147 |
+
127,
|
| 1148 |
+
86,
|
| 1149 |
+
470,
|
| 1150 |
+
215
|
| 1151 |
+
],
|
| 1152 |
+
"page_idx": 6
|
| 1153 |
+
},
|
| 1154 |
+
{
|
| 1155 |
+
"type": "text",
|
| 1156 |
+
"text": "results that LLaMA has undergone a phase change in terms of human-like attention from the level of GPT-2. However, the scaling from 7B to 30B does not cause another phase change.",
|
| 1157 |
+
"bbox": [
|
| 1158 |
+
112,
|
| 1159 |
+
300,
|
| 1160 |
+
487,
|
| 1161 |
+
363
|
| 1162 |
+
],
|
| 1163 |
+
"page_idx": 6
|
| 1164 |
+
},
|
| 1165 |
+
{
|
| 1166 |
+
"type": "text",
|
| 1167 |
+
"text": "Table 2 and Figure 7 show the max layerwise human resemblance increases linearly while the model parameter size increases exponentially, where the Pearson's correlation is 0.989 for L1 $(p < 0.002)$ and 0.964 for L2 $(p < 0.01)$ . This agrees with the scaling law of LLMs (Henighan et al., 2020).",
|
| 1168 |
+
"bbox": [
|
| 1169 |
+
112,
|
| 1170 |
+
365,
|
| 1171 |
+
487,
|
| 1172 |
+
476
|
| 1173 |
+
],
|
| 1174 |
+
"page_idx": 6
|
| 1175 |
+
},
|
| 1176 |
+
{
|
| 1177 |
+
"type": "text",
|
| 1178 |
+
"text": "This result shows that, within the scope of this study, scaling significantly enhances the human resemblance. If the scaling law continues to take effect, the human resemblance is expected to reach $98.80\\%$ for L2 and $88.82\\%$ for L1 at the scale of 100B. However, because the law is expected to fail after reaching a threshold (Hestness et al., 2017), the relation between human resemblance and model scale is expected to change before reaching that scale.",
|
| 1179 |
+
"bbox": [
|
| 1180 |
+
112,
|
| 1181 |
+
479,
|
| 1182 |
+
489,
|
| 1183 |
+
639
|
| 1184 |
+
],
|
| 1185 |
+
"page_idx": 6
|
| 1186 |
+
},
|
| 1187 |
+
{
|
| 1188 |
+
"type": "table",
|
| 1189 |
+
"img_path": "images/99999bf1715290bbd957e3d38c0341977f821304f94c56a1505d37af8accb45c.jpg",
|
| 1190 |
+
"table_caption": [],
|
| 1191 |
+
"table_footnote": [],
|
| 1192 |
+
"table_body": "<table><tr><td colspan=\"2\">Model</td><td colspan=\"2\">Resemblance (%)</td></tr><tr><td>Name</td><td>Size</td><td>L1</td><td>L2</td></tr><tr><td rowspan=\"2\">GPT-2</td><td>774M</td><td>34.99</td><td>40.03</td></tr><tr><td>7B</td><td>53.04</td><td>62.44</td></tr><tr><td rowspan=\"3\">LLaMA</td><td>13B</td><td>55.56</td><td>64.20</td></tr><tr><td>30B</td><td>63.16</td><td>69.40</td></tr><tr><td>65B</td><td>64.05</td><td>70.07</td></tr></table>",
|
| 1193 |
+
"bbox": [
|
| 1194 |
+
173,
|
| 1195 |
+
650,
|
| 1196 |
+
428,
|
| 1197 |
+
738
|
| 1198 |
+
],
|
| 1199 |
+
"page_idx": 6
|
| 1200 |
+
},
|
| 1201 |
+
{
|
| 1202 |
+
"type": "text",
|
| 1203 |
+
"text": "Table 2: Max layerwise human resemblance of models ranging from 774M to 65B.",
|
| 1204 |
+
"bbox": [
|
| 1205 |
+
112,
|
| 1206 |
+
747,
|
| 1207 |
+
485,
|
| 1208 |
+
776
|
| 1209 |
+
],
|
| 1210 |
+
"page_idx": 6
|
| 1211 |
+
},
|
| 1212 |
+
{
|
| 1213 |
+
"type": "text",
|
| 1214 |
+
"text": "5.2.3 Instruction Tuning Harms Human Resemblance",
|
| 1215 |
+
"text_level": 1,
|
| 1216 |
+
"bbox": [
|
| 1217 |
+
112,
|
| 1218 |
+
803,
|
| 1219 |
+
443,
|
| 1220 |
+
833
|
| 1221 |
+
],
|
| 1222 |
+
"page_idx": 6
|
| 1223 |
+
},
|
| 1224 |
+
{
|
| 1225 |
+
"type": "text",
|
| 1226 |
+
"text": "Table 3 shows the max layerwise human resemblance of the pretrained and instruction tuned models. It shows that the instruction tuned Alpaca and Vicuna models have lower max layerwise human resemblance to both L1 and L2 than LLaMA in",
|
| 1227 |
+
"bbox": [
|
| 1228 |
+
112,
|
| 1229 |
+
839,
|
| 1230 |
+
489,
|
| 1231 |
+
917
|
| 1232 |
+
],
|
| 1233 |
+
"page_idx": 6
|
| 1234 |
+
},
|
| 1235 |
+
{
|
| 1236 |
+
"type": "image",
|
| 1237 |
+
"img_path": "images/1616780722649fc2e8bd4012e111df8abb9d9fbd88f15d3c1b25f44acaaab699.jpg",
|
| 1238 |
+
"image_caption": [],
|
| 1239 |
+
"image_footnote": [],
|
| 1240 |
+
"bbox": [
|
| 1241 |
+
521,
|
| 1242 |
+
85,
|
| 1243 |
+
867,
|
| 1244 |
+
205
|
| 1245 |
+
],
|
| 1246 |
+
"page_idx": 6
|
| 1247 |
+
},
|
| 1248 |
+
{
|
| 1249 |
+
"type": "image",
|
| 1250 |
+
"img_path": "images/37368eb43a0304641eb4bde8759e4bf745ad410b101965746d6be748aa6b7ea1.jpg",
|
| 1251 |
+
"image_caption": [
|
| 1252 |
+
"Figure 6: Layerwise L1 and L2 human resemblance for different sized pretrained models."
|
| 1253 |
+
],
|
| 1254 |
+
"image_footnote": [],
|
| 1255 |
+
"bbox": [
|
| 1256 |
+
521,
|
| 1257 |
+
212,
|
| 1258 |
+
867,
|
| 1259 |
+
332
|
| 1260 |
+
],
|
| 1261 |
+
"page_idx": 6
|
| 1262 |
+
},
|
| 1263 |
+
{
|
| 1264 |
+
"type": "image",
|
| 1265 |
+
"img_path": "images/422fa9644ff1b557cfbe55e417d82fbf8846d43f61e00df97e26a8bb9394c59b.jpg",
|
| 1266 |
+
"image_caption": [
|
| 1267 |
+
"Figure 7: The change of max layerwise human resemblance caused by the scaling of model sizes, where the x-axis is log scaled."
|
| 1268 |
+
],
|
| 1269 |
+
"image_footnote": [],
|
| 1270 |
+
"bbox": [
|
| 1271 |
+
522,
|
| 1272 |
+
395,
|
| 1273 |
+
867,
|
| 1274 |
+
526
|
| 1275 |
+
],
|
| 1276 |
+
"page_idx": 6
|
| 1277 |
+
},
|
| 1278 |
+
{
|
| 1279 |
+
"type": "text",
|
| 1280 |
+
"text": "both sizes, which suggests that instruction tuning causes decline in the human resemblance of attention. However, the decline is minor compared with the increase brought by scaling, which agrees with the limited effect of instruction tuning.",
|
| 1281 |
+
"bbox": [
|
| 1282 |
+
507,
|
| 1283 |
+
612,
|
| 1284 |
+
882,
|
| 1285 |
+
692
|
| 1286 |
+
],
|
| 1287 |
+
"page_idx": 6
|
| 1288 |
+
},
|
| 1289 |
+
{
|
| 1290 |
+
"type": "text",
|
| 1291 |
+
"text": "We also conduct relative t-tests to detect significant difference in layerwise human resemblance $(p = 0.05 / n_{\\mathrm{test}})$ . The numbers of significant layers are shown in Table 4, and the complete lists of layers are in Table 6, 7 in Appendix C). The tables show that instruction tuning enhances or reduces human resemblance on about the equal numbers of layers on the 7B models, but reduces human resemblance to much more layers on the 13B models. Also, the layers with significantly lower resemblance are distributed across all layers. This result means that, while the total effect of instruction tuning is small, the drop in human resemblance caused by it is significant and widespread.",
|
| 1292 |
+
"bbox": [
|
| 1293 |
+
507,
|
| 1294 |
+
694,
|
| 1295 |
+
884,
|
| 1296 |
+
917
|
| 1297 |
+
],
|
| 1298 |
+
"page_idx": 6
|
| 1299 |
+
},
|
| 1300 |
+
{
|
| 1301 |
+
"type": "page_number",
|
| 1302 |
+
"text": "13048",
|
| 1303 |
+
"bbox": [
|
| 1304 |
+
477,
|
| 1305 |
+
927,
|
| 1306 |
+
524,
|
| 1307 |
+
940
|
| 1308 |
+
],
|
| 1309 |
+
"page_idx": 6
|
| 1310 |
+
},
|
| 1311 |
+
{
|
| 1312 |
+
"type": "text",
|
| 1313 |
+
"text": "To sum up, instruction tuning does small but significant harm to the human resemblance of LLMs, which in turn may bring potential damage to their language perception. This challenges the common assumption that instruction tuning can activate the model's ability to perceive language with human-aligned behaviors. However, this negative effect could be compensated by scaling, for scaling increases the human resemblance in a larger degree. This provides a novel reason for further scaling.",
|
| 1314 |
+
"bbox": [
|
| 1315 |
+
112,
|
| 1316 |
+
84,
|
| 1317 |
+
492,
|
| 1318 |
+
247
|
| 1319 |
+
],
|
| 1320 |
+
"page_idx": 7
|
| 1321 |
+
},
|
| 1322 |
+
{
|
| 1323 |
+
"type": "table",
|
| 1324 |
+
"img_path": "images/d780297f3a566d20e077e26dc998e4c550d1006ea9aebba740858ec1ac9d40cd.jpg",
|
| 1325 |
+
"table_caption": [],
|
| 1326 |
+
"table_footnote": [],
|
| 1327 |
+
"table_body": "<table><tr><td colspan=\"2\">Model</td><td colspan=\"2\">Resemblance(%)</td></tr><tr><td>Size</td><td>Name</td><td>L1</td><td>L2</td></tr><tr><td rowspan=\"3\">7B</td><td>LLaMA</td><td>53.04</td><td>62.44</td></tr><tr><td>Alpaca</td><td>52.51</td><td>61.71</td></tr><tr><td>Vicuna</td><td>51.90</td><td>61.19</td></tr><tr><td rowspan=\"3\">13B</td><td>LLaMA</td><td>55.66</td><td>64.20</td></tr><tr><td>Alpaca</td><td>55.05</td><td>63.46</td></tr><tr><td>Vicuna</td><td>54.26</td><td>61.31</td></tr></table>",
|
| 1328 |
+
"bbox": [
|
| 1329 |
+
179,
|
| 1330 |
+
261,
|
| 1331 |
+
425,
|
| 1332 |
+
363
|
| 1333 |
+
],
|
| 1334 |
+
"page_idx": 7
|
| 1335 |
+
},
|
| 1336 |
+
{
|
| 1337 |
+
"type": "table",
|
| 1338 |
+
"img_path": "images/4085e71631c817dbdffefdc4becf5988bf96ea1a67e95cf1dab6ebf17dca090b.jpg",
|
| 1339 |
+
"table_caption": [
|
| 1340 |
+
"Table 3: Max layerwise human resemblance scores of pretrained and instruction tuned models. This shows instruction tuning causes small decline in the max layer-wise human resemblance."
|
| 1341 |
+
],
|
| 1342 |
+
"table_footnote": [],
|
| 1343 |
+
"table_body": "<table><tr><td colspan=\"2\">Model</td><td colspan=\"2\">Higher</td><td colspan=\"2\">Lower</td></tr><tr><td>Size</td><td>Name</td><td>L1</td><td>L2</td><td>L1</td><td>L2</td></tr><tr><td rowspan=\"2\">7B</td><td>Alpaca</td><td>3</td><td>8</td><td>4</td><td>7</td></tr><tr><td>Vicuna</td><td>9</td><td>10</td><td>8</td><td>9</td></tr><tr><td rowspan=\"2\">13B</td><td>Alpaca</td><td>4</td><td>7</td><td>16</td><td>25</td></tr><tr><td>Vicuna</td><td>5</td><td>8</td><td>14</td><td>16</td></tr></table>",
|
| 1344 |
+
"bbox": [
|
| 1345 |
+
169,
|
| 1346 |
+
464,
|
| 1347 |
+
431,
|
| 1348 |
+
543
|
| 1349 |
+
],
|
| 1350 |
+
"page_idx": 7
|
| 1351 |
+
},
|
| 1352 |
+
{
|
| 1353 |
+
"type": "text",
|
| 1354 |
+
"text": "5.2.4 All Models Show Higher L2 Resemblance",
|
| 1355 |
+
"text_level": 1,
|
| 1356 |
+
"bbox": [
|
| 1357 |
+
112,
|
| 1358 |
+
634,
|
| 1359 |
+
394,
|
| 1360 |
+
667
|
| 1361 |
+
],
|
| 1362 |
+
"page_idx": 7
|
| 1363 |
+
},
|
| 1364 |
+
{
|
| 1365 |
+
"type": "text",
|
| 1366 |
+
"text": "Comparing the L1 and L2 human resemblance of all models (LLaMA, Alpaca and Vicuna, 7B and 13B) in Table 2 and Table 3, an advantage of L2 over L1 can be observed steadily. Independent t-test also shows that, all models considered in this research show significantly higher resemblance to L2 than to L1 ( $p = 0.05 / n_{\\mathrm{test}}$ to avoid false positives). This means the models are closer to non-native English learners than to native English speakers in attention, though they are all trained mainly on English data. Furthermore, this trend is not reversed by the scaling or instruction tuning within the scope of this research, which suggests that it is a innate feature of LLMs. We will look further into this phenomenon in the next section.",
|
| 1367 |
+
"bbox": [
|
| 1368 |
+
112,
|
| 1369 |
+
677,
|
| 1370 |
+
489,
|
| 1371 |
+
919
|
| 1372 |
+
],
|
| 1373 |
+
"page_idx": 7
|
| 1374 |
+
},
|
| 1375 |
+
{
|
| 1376 |
+
"type": "text",
|
| 1377 |
+
"text": "5.3 Trivial Pattern Reliance",
|
| 1378 |
+
"text_level": 1,
|
| 1379 |
+
"bbox": [
|
| 1380 |
+
507,
|
| 1381 |
+
84,
|
| 1382 |
+
742,
|
| 1383 |
+
98
|
| 1384 |
+
],
|
| 1385 |
+
"page_idx": 7
|
| 1386 |
+
},
|
| 1387 |
+
{
|
| 1388 |
+
"type": "text",
|
| 1389 |
+
"text": "5.3.1 L2 Relies More on Trivial Patterns",
|
| 1390 |
+
"text_level": 1,
|
| 1391 |
+
"bbox": [
|
| 1392 |
+
507,
|
| 1393 |
+
105,
|
| 1394 |
+
840,
|
| 1395 |
+
120
|
| 1396 |
+
],
|
| 1397 |
+
"page_idx": 7
|
| 1398 |
+
},
|
| 1399 |
+
{
|
| 1400 |
+
"type": "text",
|
| 1401 |
+
"text": "The results of LR scores between trivial patterns and L1 and L2 human saccade is shown in Table 5, where L2's score is higher than L1's in minimum, maximum and mean values. Independent t-test also supports a significant advantage of L2 over L1 on the regression scores $(p < 5 \\times 10^{-8})$ . This means one significant difference between L1 and L2 English speakers is that L2 people show more trivial and fixed attention mode than L1 people while reading, which suggests a weaker language understanding ability as those patterns contain no linguistic or factual information.",
|
| 1402 |
+
"bbox": [
|
| 1403 |
+
505,
|
| 1404 |
+
124,
|
| 1405 |
+
884,
|
| 1406 |
+
318
|
| 1407 |
+
],
|
| 1408 |
+
"page_idx": 7
|
| 1409 |
+
},
|
| 1410 |
+
{
|
| 1411 |
+
"type": "text",
|
| 1412 |
+
"text": "This finding can help us interpret the difference between the models' L1 and L2 human resemblance. Note that all models considered in this research are trained mainly on English, but show higher attention resemblance to L2 subjects, this result suggests that their language perception is not ideal.",
|
| 1413 |
+
"bbox": [
|
| 1414 |
+
507,
|
| 1415 |
+
319,
|
| 1416 |
+
884,
|
| 1417 |
+
431
|
| 1418 |
+
],
|
| 1419 |
+
"page_idx": 7
|
| 1420 |
+
},
|
| 1421 |
+
{
|
| 1422 |
+
"type": "table",
|
| 1423 |
+
"img_path": "images/ae9923d9e6ca9e111e8a4a0d6a3d06636b71a880b2e59bc9ef35edd71fcd3b5f.jpg",
|
| 1424 |
+
"table_caption": [
|
| 1425 |
+
"Table 4: Numbers of Alpaca and Vicuna layers with significantly higher or lower human resemblance compared with LLaMA in the same sizes."
|
| 1426 |
+
],
|
| 1427 |
+
"table_footnote": [],
|
| 1428 |
+
"table_body": "<table><tr><td>Group</td><td>Min</td><td>Max</td><td>Mean</td><td>SE</td></tr><tr><td>L1</td><td>0.0048</td><td>0.1525</td><td>0.0473</td><td>0.0037</td></tr><tr><td>L2</td><td>0.0134</td><td>0.2165</td><td>0.0894</td><td>0.0060</td></tr></table>",
|
| 1429 |
+
"bbox": [
|
| 1430 |
+
539,
|
| 1431 |
+
439,
|
| 1432 |
+
852,
|
| 1433 |
+
481
|
| 1434 |
+
],
|
| 1435 |
+
"page_idx": 7
|
| 1436 |
+
},
|
| 1437 |
+
{
|
| 1438 |
+
"type": "text",
|
| 1439 |
+
"text": "Table 5: Regression scores of human saccade on the trivial patterns, across L1 and L2 subjects. SE stands for standard errors.",
|
| 1440 |
+
"bbox": [
|
| 1441 |
+
507,
|
| 1442 |
+
491,
|
| 1443 |
+
882,
|
| 1444 |
+
533
|
| 1445 |
+
],
|
| 1446 |
+
"page_idx": 7
|
| 1447 |
+
},
|
| 1448 |
+
{
|
| 1449 |
+
"type": "text",
|
| 1450 |
+
"text": "5.3.2 Scaling Reduces Trivial Pattern Reliance",
|
| 1451 |
+
"text_level": 1,
|
| 1452 |
+
"bbox": [
|
| 1453 |
+
507,
|
| 1454 |
+
563,
|
| 1455 |
+
880,
|
| 1456 |
+
579
|
| 1457 |
+
],
|
| 1458 |
+
"page_idx": 7
|
| 1459 |
+
},
|
| 1460 |
+
{
|
| 1461 |
+
"type": "text",
|
| 1462 |
+
"text": "The relative difference between 13B and 7B models in trivial pattern reliance is shown in Figure 8, where the decline in the deeper layer quarters is substantial across all models. There is also a consistent increase in the second quarter, but the amplitude is small, so the total trivial pattern reliance is reduced. This phenomenon is also observed between LLaMA 13B and 30B (Figure 11 in Appendix B). This means scaling can effectively reduce the trivial pattern reliance, especially in the deeper layers, indicating a more contextualized and adaptive language perception.",
|
| 1463 |
+
"bbox": [
|
| 1464 |
+
505,
|
| 1465 |
+
583,
|
| 1466 |
+
882,
|
| 1467 |
+
778
|
| 1468 |
+
],
|
| 1469 |
+
"page_idx": 7
|
| 1470 |
+
},
|
| 1471 |
+
{
|
| 1472 |
+
"type": "text",
|
| 1473 |
+
"text": "5.3.3 Instruction Tuning Increases Trivial Pattern Reliance",
|
| 1474 |
+
"text_level": 1,
|
| 1475 |
+
"bbox": [
|
| 1476 |
+
507,
|
| 1477 |
+
785,
|
| 1478 |
+
853,
|
| 1479 |
+
816
|
| 1480 |
+
],
|
| 1481 |
+
"page_idx": 7
|
| 1482 |
+
},
|
| 1483 |
+
{
|
| 1484 |
+
"type": "text",
|
| 1485 |
+
"text": "Figure 9 shows the relative difference between pretrained and instruction tuned models in trivial pattern reliance, where the tuned ones show reliance gain in the deeper layers. There is also a small drop in the second quarter, but the total trivial pattern reliance is increasing. Also, total increase here is",
|
| 1486 |
+
"bbox": [
|
| 1487 |
+
507,
|
| 1488 |
+
822,
|
| 1489 |
+
884,
|
| 1490 |
+
919
|
| 1491 |
+
],
|
| 1492 |
+
"page_idx": 7
|
| 1493 |
+
},
|
| 1494 |
+
{
|
| 1495 |
+
"type": "page_number",
|
| 1496 |
+
"text": "13049",
|
| 1497 |
+
"bbox": [
|
| 1498 |
+
477,
|
| 1499 |
+
927,
|
| 1500 |
+
524,
|
| 1501 |
+
940
|
| 1502 |
+
],
|
| 1503 |
+
"page_idx": 7
|
| 1504 |
+
},
|
| 1505 |
+
{
|
| 1506 |
+
"type": "image",
|
| 1507 |
+
"img_path": "images/84748b7f55f7fdaea4e031031566ffb84d5ba054996d35d7c775213b9e606b90.jpg",
|
| 1508 |
+
"image_caption": [
|
| 1509 |
+
"Figure 8: The difference between trivial pattern reliance of 7B and 13B model attention."
|
| 1510 |
+
],
|
| 1511 |
+
"image_footnote": [],
|
| 1512 |
+
"bbox": [
|
| 1513 |
+
127,
|
| 1514 |
+
86,
|
| 1515 |
+
470,
|
| 1516 |
+
204
|
| 1517 |
+
],
|
| 1518 |
+
"page_idx": 8
|
| 1519 |
+
},
|
| 1520 |
+
{
|
| 1521 |
+
"type": "text",
|
| 1522 |
+
"text": "also smaller in amplitude than the reduction caused by scaling, again supporting the limit effect of instruction tuning.",
|
| 1523 |
+
"bbox": [
|
| 1524 |
+
112,
|
| 1525 |
+
272,
|
| 1526 |
+
487,
|
| 1527 |
+
319
|
| 1528 |
+
],
|
| 1529 |
+
"page_idx": 8
|
| 1530 |
+
},
|
| 1531 |
+
{
|
| 1532 |
+
"type": "text",
|
| 1533 |
+
"text": "Also, one can tell from Figure 8 and Figure 9 that scaling and instruction tuning changes the trivial pattern reliance in opposite directions. However, because the effect of instruction tuning is also smaller than that of scaling, as long as the model size continues to grow, this gain in trivial pattern reliance brought by instruction tuning could be compensated or even covered, offering another reason for further scaling.",
|
| 1534 |
+
"bbox": [
|
| 1535 |
+
112,
|
| 1536 |
+
319,
|
| 1537 |
+
487,
|
| 1538 |
+
464
|
| 1539 |
+
],
|
| 1540 |
+
"page_idx": 8
|
| 1541 |
+
},
|
| 1542 |
+
{
|
| 1543 |
+
"type": "image",
|
| 1544 |
+
"img_path": "images/2ff27b9802e5b1274efa0fbe3d7d72a0c686dd78e360414feadcbe4bb61bfe6d.jpg",
|
| 1545 |
+
"image_caption": [
|
| 1546 |
+
"Figure 9: The difference in trivial pattern reliance of attentions in pretrained and instruction-tuned models."
|
| 1547 |
+
],
|
| 1548 |
+
"image_footnote": [],
|
| 1549 |
+
"bbox": [
|
| 1550 |
+
126,
|
| 1551 |
+
480,
|
| 1552 |
+
473,
|
| 1553 |
+
599
|
| 1554 |
+
],
|
| 1555 |
+
"page_idx": 8
|
| 1556 |
+
},
|
| 1557 |
+
{
|
| 1558 |
+
"type": "text",
|
| 1559 |
+
"text": "6 Conclusion",
|
| 1560 |
+
"text_level": 1,
|
| 1561 |
+
"bbox": [
|
| 1562 |
+
112,
|
| 1563 |
+
668,
|
| 1564 |
+
247,
|
| 1565 |
+
684
|
| 1566 |
+
],
|
| 1567 |
+
"page_idx": 8
|
| 1568 |
+
},
|
| 1569 |
+
{
|
| 1570 |
+
"type": "text",
|
| 1571 |
+
"text": "This research evaluates the effects of scaling and instruction tuning on LLMs' attention. We find that scaling effectively changes the general attention distribution, enhances the human resemblance, and reduces the trivial pattern reliance, while instruction tuning does the opposite, but also increases the models' sensitivity to instructions. Furthermore, we find current open-sourced LLMs closer to non-native English speakers in language perception, which contains more trivial attention patterns. To the best of our knowledge, we are the first to analyze the effect of instruction tuning on the human resemblance of model attention. We hope this can inspire future work on analyzing LLMs.",
|
| 1572 |
+
"bbox": [
|
| 1573 |
+
112,
|
| 1574 |
+
694,
|
| 1575 |
+
489,
|
| 1576 |
+
917
|
| 1577 |
+
],
|
| 1578 |
+
"page_idx": 8
|
| 1579 |
+
},
|
| 1580 |
+
{
|
| 1581 |
+
"type": "text",
|
| 1582 |
+
"text": "Limitations",
|
| 1583 |
+
"text_level": 1,
|
| 1584 |
+
"bbox": [
|
| 1585 |
+
509,
|
| 1586 |
+
83,
|
| 1587 |
+
615,
|
| 1588 |
+
98
|
| 1589 |
+
],
|
| 1590 |
+
"page_idx": 8
|
| 1591 |
+
},
|
| 1592 |
+
{
|
| 1593 |
+
"type": "text",
|
| 1594 |
+
"text": "One key limitation of this study is that we cannot apply our current method to closed-sourced LLMs such as ChatGPT, for their layerwise attention scores are unavailable. With the rapid development of open LLMs, it is hopeful that we can examine these findings on the largest and most advanced LLMs in the near future.",
|
| 1595 |
+
"bbox": [
|
| 1596 |
+
507,
|
| 1597 |
+
108,
|
| 1598 |
+
884,
|
| 1599 |
+
219
|
| 1600 |
+
],
|
| 1601 |
+
"page_idx": 8
|
| 1602 |
+
},
|
| 1603 |
+
{
|
| 1604 |
+
"type": "text",
|
| 1605 |
+
"text": "Besides, though we demonstrate the difference in LLMs' resemblance to L1 and L2 people, and partially explained the effect by trivial pattern reliance, it is not enough to explain the underlying cause or consequences of this phenomenon. We do have some observations, such as the inter-subject correlation in the L1 group $(0.1560 \\pm 0.0073)$ is lower than L2 $(0.2463 \\pm 0.0090)$ , and L1 subjects tend to look back to pervious words less frequently than L2 subjects. However, the underlying mechanism is still unclear. We hope to dive deeper into this non-native resemblance in our following study.",
|
| 1606 |
+
"bbox": [
|
| 1607 |
+
507,
|
| 1608 |
+
221,
|
| 1609 |
+
884,
|
| 1610 |
+
414
|
| 1611 |
+
],
|
| 1612 |
+
"page_idx": 8
|
| 1613 |
+
},
|
| 1614 |
+
{
|
| 1615 |
+
"type": "text",
|
| 1616 |
+
"text": "Another limitation of this work comes from the way we obtain model attention. We used the attention scores when predicting the next single token, which makes sense. However, the attention patterns could be different in the following decoding steps. Also, it is possible that combining attention scores across multiple layers can improve the analysis. We will investigate this in our future work.",
|
| 1617 |
+
"bbox": [
|
| 1618 |
+
507,
|
| 1619 |
+
414,
|
| 1620 |
+
882,
|
| 1621 |
+
541
|
| 1622 |
+
],
|
| 1623 |
+
"page_idx": 8
|
| 1624 |
+
},
|
| 1625 |
+
{
|
| 1626 |
+
"type": "text",
|
| 1627 |
+
"text": "In addition, the Reading Brain dataset we used in this research is monolingual, which does not reflect the language perception process in the cross-lingual setting, which is also important for the application of LLMs. We also hope to examine our findings in the cross-lingual scenario in the future.",
|
| 1628 |
+
"bbox": [
|
| 1629 |
+
507,
|
| 1630 |
+
542,
|
| 1631 |
+
882,
|
| 1632 |
+
639
|
| 1633 |
+
],
|
| 1634 |
+
"page_idx": 8
|
| 1635 |
+
},
|
| 1636 |
+
{
|
| 1637 |
+
"type": "text",
|
| 1638 |
+
"text": "Ethics Statement",
|
| 1639 |
+
"text_level": 1,
|
| 1640 |
+
"bbox": [
|
| 1641 |
+
509,
|
| 1642 |
+
650,
|
| 1643 |
+
660,
|
| 1644 |
+
665
|
| 1645 |
+
],
|
| 1646 |
+
"page_idx": 8
|
| 1647 |
+
},
|
| 1648 |
+
{
|
| 1649 |
+
"type": "text",
|
| 1650 |
+
"text": "The authors declare no competing interests. The human behavioral data we use is publicly available and does not contain personal information of the subjects.",
|
| 1651 |
+
"bbox": [
|
| 1652 |
+
507,
|
| 1653 |
+
674,
|
| 1654 |
+
880,
|
| 1655 |
+
739
|
| 1656 |
+
],
|
| 1657 |
+
"page_idx": 8
|
| 1658 |
+
},
|
| 1659 |
+
{
|
| 1660 |
+
"type": "text",
|
| 1661 |
+
"text": "Acknowledgements",
|
| 1662 |
+
"text_level": 1,
|
| 1663 |
+
"bbox": [
|
| 1664 |
+
509,
|
| 1665 |
+
750,
|
| 1666 |
+
680,
|
| 1667 |
+
766
|
| 1668 |
+
],
|
| 1669 |
+
"page_idx": 8
|
| 1670 |
+
},
|
| 1671 |
+
{
|
| 1672 |
+
"type": "text",
|
| 1673 |
+
"text": "We would like to thank the anonymous reviewers for their insightful comments. Shujian Huang is the corresponding author. We thank Yunzhe Lv and Wenhao Zhu for finetuning the Alpaca 13B model. This work is supported by National Science Foundation of China (No. 62376116, 62176120), the Liaoning Provincial Research Foundation for Basic Research (No. 2022-KF-26-02).",
|
| 1674 |
+
"bbox": [
|
| 1675 |
+
507,
|
| 1676 |
+
774,
|
| 1677 |
+
882,
|
| 1678 |
+
902
|
| 1679 |
+
],
|
| 1680 |
+
"page_idx": 8
|
| 1681 |
+
},
|
| 1682 |
+
{
|
| 1683 |
+
"type": "page_number",
|
| 1684 |
+
"text": "13050",
|
| 1685 |
+
"bbox": [
|
| 1686 |
+
477,
|
| 1687 |
+
927,
|
| 1688 |
+
524,
|
| 1689 |
+
940
|
| 1690 |
+
],
|
| 1691 |
+
"page_idx": 8
|
| 1692 |
+
},
|
| 1693 |
+
{
|
| 1694 |
+
"type": "text",
|
| 1695 |
+
"text": "References",
|
| 1696 |
+
"text_level": 1,
|
| 1697 |
+
"bbox": [
|
| 1698 |
+
115,
|
| 1699 |
+
84,
|
| 1700 |
+
213,
|
| 1701 |
+
98
|
| 1702 |
+
],
|
| 1703 |
+
"page_idx": 9
|
| 1704 |
+
},
|
| 1705 |
+
{
|
| 1706 |
+
"type": "list",
|
| 1707 |
+
"sub_type": "ref_text",
|
| 1708 |
+
"list_items": [
|
| 1709 |
+
"Samira Abnar and Willem Zuidema. 2020. Quantifying Attention Flow in Transformers. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pages 4190-4197, Online. Association for Computational Linguistics.",
|
| 1710 |
+
"Aakash Bansal, Bonita Sharif, and Collin McMillan. 2023. Towards modeling human attention from eye movements for neural source code summarization. Proceedings of the ACM on Human-Computer Interaction, 7(ETRA):1-19.",
|
| 1711 |
+
"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.",
|
| 1712 |
+
"Charlotte Caucheteux, Alexandre Gramfort, and JeanRémi King. 2021. Model-based analysis of brain activity reveals the hierarchy of language in 305 subjects. arXiv preprint arXiv:2110.06078.",
|
| 1713 |
+
"Charlotte Caucheteux, Alexandre Gramfort, and JeanRémi King. 2022. Deep language algorithms predict semantic comprehension from brain activity. Scientific Reports, 12(1):16327.",
|
| 1714 |
+
"Emmanuele Chersoni, Nora Hollenstein, Cassandra Jacobs, Yohei Oseki, Laurent Prévot, and Enrico Santus, editors. 2022. Proceedings of the Workshop on Cognitive Modeling and Computational Linguistics. Association for Computational Linguistics, Dublin, Ireland.",
|
| 1715 |
+
"Wei-Lin Chiang, Zhuohan Li, Zi Lin, Ying Sheng, Zhanghao Wu, Hao Zhang, Lianmin Zheng, Siyuan Zhuang, Yonghao Zhuang, Joseph E. Gonzalez, Ion Stoica, and Eric P. Xing. 2023. Vicuna: An opensource chatbot impressing gpt-4 with $90\\%$ * chatgpt quality.",
|
| 1716 |
+
"Kevin Clark, Urvashi Khandelwal, Omer Levy, and Christopher D. Manning. 2019. What does BERT look at? an analysis of BERT's attention. In Proceedings of the 2019 ACL Workshop BlackboxNLP: Analyzing and Interpreting Neural Networks for NLP, pages 276-286, Florence, Italy. Association for Computational Linguistics.",
|
| 1717 |
+
"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.",
|
| 1718 |
+
"Javier Ferrando, Gerard I. Gállego, and Marta R. Costajussà. 2022. Measuring the Mixing of Contextual Information in the Transformer. In Proceedings of"
|
| 1719 |
+
],
|
| 1720 |
+
"bbox": [
|
| 1721 |
+
115,
|
| 1722 |
+
105,
|
| 1723 |
+
487,
|
| 1724 |
+
917
|
| 1725 |
+
],
|
| 1726 |
+
"page_idx": 9
|
| 1727 |
+
},
|
| 1728 |
+
{
|
| 1729 |
+
"type": "list",
|
| 1730 |
+
"sub_type": "ref_text",
|
| 1731 |
+
"list_items": [
|
| 1732 |
+
"the 2022 Conference on Empirical Methods in Natural Language Processing, pages 8698-8714, Abu Dhabi, United Arab Emirates. Association for Computational Linguistics.",
|
| 1733 |
+
"Javier Ferrando, Gerard I. Gallego, Ioannis Tsiamas, and Marta R. Costa-jussa. 2023. Explaining How Transformers Use Context to Build Predictions. In Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 5486-5513, Toronto, Canada. Association for Computational Linguistics.",
|
| 1734 |
+
"Uri Hasson, Samuel A. Nastase, and Ariel Goldstein. 2020. Direct fit to nature: An evolutionary perspective on biological and artificial neural networks. *Neuron*, 105(3):416-434.",
|
| 1735 |
+
"Tom Henighan, Jared Kaplan, Mor Katz, Mark Chen, Christopher Hesse, Jacob Jackson, Heewoo Jun, Tom B. Brown, Prafulla Dhariwal, Scott Gray, Chris Hallacy, Benjamin Mann, Alec Radford, Aditya Ramesh, Nick Ryder, Daniel M. Ziegler, John Schulman, Dario Amodei, and Sam McCandlish. 2020. Scaling Laws for Autoregressive Generative Modeling. ArXiv:2010.14701 [cs].",
|
| 1736 |
+
"Joel Hestness, Sharan Narang, Newsha Ardalani, Gregory Diamos, Heewoo Jun, Hassan Kianinejad, Md Mostofa Ali Patwary, Yang Yang, and Yanqi Zhou. 2017. Deep learning scaling is predictable, empirically. arXiv preprint arXiv:1712.00409.",
|
| 1737 |
+
"Nora Hollenstein and Lisa Beinborn. 2021. Relative Importance in Sentence Processing. In Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing (Volume 2: Short Papers), pages 141-150, Online. Association for Computational Linguistics.",
|
| 1738 |
+
"Sarthak Jain and Byron C. Wallace. 2019. Attention is not Explanation. 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 3543-3556, Minneapolis, Minnesota. Association for Computational Linguistics.",
|
| 1739 |
+
"Alexander JE Kell, Daniel LK Yamins, Erica N Shook, Sam V Norman-Haignere, and Josh H McDermott. 2018. A task-optimized neural network replicates human auditory behavior, predicts brain responses, and reveals a cortical processing hierarchy. Neuron, 98(3):630-644.",
|
| 1740 |
+
"Goro Kobayashi, Tatsuki Kuribayashi, Sho Yokoi, and Kentaro Inui. 2020. Attention is Not Only a Weight: Analyzing Transformers with Vector Norms. In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP), pages 7057-7075, Online. Association for Computational Linguistics."
|
| 1741 |
+
],
|
| 1742 |
+
"bbox": [
|
| 1743 |
+
510,
|
| 1744 |
+
85,
|
| 1745 |
+
882,
|
| 1746 |
+
917
|
| 1747 |
+
],
|
| 1748 |
+
"page_idx": 9
|
| 1749 |
+
},
|
| 1750 |
+
{
|
| 1751 |
+
"type": "page_number",
|
| 1752 |
+
"text": "13051",
|
| 1753 |
+
"bbox": [
|
| 1754 |
+
477,
|
| 1755 |
+
928,
|
| 1756 |
+
522,
|
| 1757 |
+
940
|
| 1758 |
+
],
|
| 1759 |
+
"page_idx": 9
|
| 1760 |
+
},
|
| 1761 |
+
{
|
| 1762 |
+
"type": "list",
|
| 1763 |
+
"sub_type": "ref_text",
|
| 1764 |
+
"list_items": [
|
| 1765 |
+
"Goro Kobayashi, Tatsuki Kuribayashi, Sho Yokoi, and Kentaro Inui. 2021. Incorporating Residual and Normalization Layers into Analysis of Masked Language Models. In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing, pages 4547-4568, Online and Punta Cana, Dominican Republic. Association for Computational Linguistics.",
|
| 1766 |
+
"Taku Kudo and John Richardson. 2018. SentencePiece: A simple and language independent subword tokenizer and tokenizer for neural text processing. In Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing: System Demonstrations, pages 66-71, Brussels, Belgium. Association for Computational Linguistics.",
|
| 1767 |
+
"Mathis Lamarre, Catherine Chen, and Fatma Deniz. 2022. Attention weights accurately predict language representations in the brain. In *Findings of the Association for Computational Linguistics: EMNLP* 2022, pages 4513-4529, Abu Dhabi, United Arab Emirates. Association for Computational Linguistics.",
|
| 1768 |
+
"Ping Li, Anya Yu, Benjamin Schloss, Chun-Ting Hsu, Lindsey Ma, Chih-Ting Chang, and Marissa Scotto. 2019. The reading brain project: An open science data-sharing initiative. In 26th Annual Meeting of the Cognitive Neuroscience Society.",
|
| 1769 |
+
"Christopher D Manning, Kevin Clark, John Hewitt, Urvashi Khandelwal, and Omer Levy. 2020. Emergent linguistic structure in artificial neural networks trained by self-supervision. Proceedings of the National Academy of Sciences, 117(48):30046-30054.",
|
| 1770 |
+
"David Mareček and Rudolf Rosa. 2018. Extracting syntactic trees from transformer encoder self-attentions. In Proceedings of the 2018 EMNLP Workshop BlackboxNLP: Analyzing and Interpreting Neural Networks for NLP, pages 347-349, Brussels, Belgium. Association for Computational Linguistics.",
|
| 1771 |
+
"Danny Merkx and Stefan L. Frank. 2021. Human sentence processing: Recurrence or attention? In Proceedings of the Workshop on Cognitive Modeling and Computational Linguistics, pages 12-22, Online. Association for Computational Linguistics.",
|
| 1772 |
+
"Hosein Mohebbi, Willem Zuidema, Grzegorz Chrupa\\la, and Afra Alishahi. 2023. Quantifying Context Mixing in Transformers. In Proceedings of the 17th Conference of the European Chapter of the Association for Computational Linguistics, pages 3378-3400, Dubrovnik, Croatia. Association for Computational Linguistics.",
|
| 1773 |
+
"Felix Morger, Stephanie Brandl, Lisa Beinborn, and Nora Hollenstein. 2022. A Cross-lingual Comparison of Human and Model Relative Word Importance. In Proceedings of the 2022 CLASP Conference on (Dis)embodiment, pages 11-23, Gothenburg, Sweden. Association for Computational Linguistics."
|
| 1774 |
+
],
|
| 1775 |
+
"bbox": [
|
| 1776 |
+
115,
|
| 1777 |
+
85,
|
| 1778 |
+
489,
|
| 1779 |
+
917
|
| 1780 |
+
],
|
| 1781 |
+
"page_idx": 10
|
| 1782 |
+
},
|
| 1783 |
+
{
|
| 1784 |
+
"type": "list",
|
| 1785 |
+
"sub_type": "ref_text",
|
| 1786 |
+
"list_items": [
|
| 1787 |
+
"Byung-Doh Oh and William Schuler. 2023a. Transformer-Based LM Surprisal Predicts Human Reading Times Best with About Two Billion Training Tokens.",
|
| 1788 |
+
"Byung-Doh Oh and William Schuler. 2023b. Why Does Surprisal From Larger Transformer-Based Language Models Provide a Poorer Fit to Human Reading Times? Transactions of the Association for Computational Linguistics, 11:336-350.",
|
| 1789 |
+
"Long Ouyang, Jeff Wu, Xu Jiang, Diogo Almeida, Carroll L. Wainwright, Pamela Mishkin, Chong Zhang, Sandhini Agarwal, Katarina Slama, Alex Ray, John Schulman, Jacob Hilton, Fraser Kelton, Luke Miller, Maddie Simens, Amanda Askell, Peter Welinder, Paul Christiano, Jan Leike, and Ryan Lowe. 2022. Training language models to follow instructions with human feedback. ArXiv:2203.02155 [cs].",
|
| 1790 |
+
"Alec Radford, Jeffrey Wu, Rewon Child, David Luan, Dario Amodei, and Ilya Sutskever. 2019. Language Models are Unsupervised Multitask Learners.",
|
| 1791 |
+
"Alessandro Raganato and Jörg Tiedemann. 2018. An analysis of encoder representations in transformer-based machine translation. In Proceedings of the 2018 EMNLP Workshop BlackboxNLP: Analyzing and Interpreting Neural Networks for NLP, pages 287-297, Brussels, Belgium. Association for Computational Linguistics.",
|
| 1792 |
+
"Victor Sanh, Albert Webson, Colin Raffel, Stephen H. Bach, Lintang Sutawika, Zaid Alyafeai, Antoine Chaffin, Arnaud Stiegler, Teven Le Scao, Arun Raja, Manan Dey, M. Saiful Bari, Canwen Xu, Urmish Thakker, Shanya Sharma Sharma, Eliza Szczechla, Taewoon Kim, Gunjan Chhablani, Nihal Nayak, Debajyoti Datta, Jonathan Chang, Mike Tian-Jian Jiang, Han Wang, Matteo Manica, Sheng Shen, Zheng Xin Yong, Harshit Pandey, Rachel Bawden, Thomas Wang, Trishala Neeraj, Jos Rozen, Abheesht Sharma, Andrea Santilli, Thibault Fevry, Jason Alan Fries, Ryan Teehan, Tali Bers, Stella Biderman, Leo Gao, Thomas Wolf, and Alexander M. Rush. 2022. Multitask Prompted Training Enables Zero-Shot Task Generalization. ArXiv:2110.08207 [cs].",
|
| 1793 |
+
"Martin Schrimpf, Idan Asher Blank, Greta Tuckute, Carina Kauf, Eghbal A Hosseini, Nancy Kanwisher, Joshua B Tenenbaum, and Evelina Fedorenko. 2021. The neural architecture of language: Integrative modeling converges on predictive processing. Proceedings of the National Academy of Sciences, 118(45):e2105646118.",
|
| 1794 |
+
"Sofia Serrano and Noah A. Smith. 2019. Is attention interpretable? In Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics, pages 2931-2951, Florence, Italy. Association for Computational Linguistics.",
|
| 1795 |
+
"Ekta Sood, Simon Tannert, Philipp Müller, and Andreas Bulling. 2020. Improving natural language processing tasks with human gaze-guided neural attention."
|
| 1796 |
+
],
|
| 1797 |
+
"bbox": [
|
| 1798 |
+
510,
|
| 1799 |
+
85,
|
| 1800 |
+
884,
|
| 1801 |
+
917
|
| 1802 |
+
],
|
| 1803 |
+
"page_idx": 10
|
| 1804 |
+
},
|
| 1805 |
+
{
|
| 1806 |
+
"type": "page_number",
|
| 1807 |
+
"text": "13052",
|
| 1808 |
+
"bbox": [
|
| 1809 |
+
477,
|
| 1810 |
+
927,
|
| 1811 |
+
524,
|
| 1812 |
+
940
|
| 1813 |
+
],
|
| 1814 |
+
"page_idx": 10
|
| 1815 |
+
},
|
| 1816 |
+
{
|
| 1817 |
+
"type": "text",
|
| 1818 |
+
"text": "Advances in Neural Information Processing Systems, 33:6327-6341.",
|
| 1819 |
+
"bbox": [
|
| 1820 |
+
131,
|
| 1821 |
+
85,
|
| 1822 |
+
487,
|
| 1823 |
+
112
|
| 1824 |
+
],
|
| 1825 |
+
"page_idx": 11
|
| 1826 |
+
},
|
| 1827 |
+
{
|
| 1828 |
+
"type": "text",
|
| 1829 |
+
"text": "Rohan Taori, Ishaan Gulrajani, Tianyi Zhang, Yann Dubois, Xuechen Li, Carlos Guestrin, Percy Liang, and Tatsunori B. Hashimoto. 2023. Stanford alpaca: An instruction-following llama model. https://github.com/tatsu-lab/stanford_alpaca.",
|
| 1830 |
+
"bbox": [
|
| 1831 |
+
114,
|
| 1832 |
+
121,
|
| 1833 |
+
487,
|
| 1834 |
+
189
|
| 1835 |
+
],
|
| 1836 |
+
"page_idx": 11
|
| 1837 |
+
},
|
| 1838 |
+
{
|
| 1839 |
+
"type": "text",
|
| 1840 |
+
"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. 2023. Llama: Open and efficient foundation language models.",
|
| 1841 |
+
"bbox": [
|
| 1842 |
+
114,
|
| 1843 |
+
197,
|
| 1844 |
+
487,
|
| 1845 |
+
278
|
| 1846 |
+
],
|
| 1847 |
+
"page_idx": 11
|
| 1848 |
+
},
|
| 1849 |
+
{
|
| 1850 |
+
"type": "text",
|
| 1851 |
+
"text": "Shikhar Vashisth, Shyam Upadhyay, Gaurav Singh Tomar, and Manaal Faruqui. 2019. Attention interpretability across nlp tasks. arXiv preprint arXiv:1909.11218.",
|
| 1852 |
+
"bbox": [
|
| 1853 |
+
114,
|
| 1854 |
+
286,
|
| 1855 |
+
487,
|
| 1856 |
+
338
|
| 1857 |
+
],
|
| 1858 |
+
"page_idx": 11
|
| 1859 |
+
},
|
| 1860 |
+
{
|
| 1861 |
+
"type": "text",
|
| 1862 |
+
"text": "Jesse Vig and Yonatan Belinkov. 2019. Analyzing the structure of attention in a transformer language model. In Proceedings of the 2019 ACL Workshop BlackboxNLP: Analyzing and Interpreting Neural Networks for NLP, pages 63-76, Florence, Italy. Association for Computational Linguistics.",
|
| 1863 |
+
"bbox": [
|
| 1864 |
+
114,
|
| 1865 |
+
348,
|
| 1866 |
+
487,
|
| 1867 |
+
429
|
| 1868 |
+
],
|
| 1869 |
+
"page_idx": 11
|
| 1870 |
+
},
|
| 1871 |
+
{
|
| 1872 |
+
"type": "text",
|
| 1873 |
+
"text": "Elena Voita, David Talbot, Fedor Moiseev, Rico Senrich, and Ivan Titov. 2019. Analyzing multi-head self-attention: Specialized heads do the heavy lifting, the rest can be pruned. In Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics, pages 5797-5808, Florence, Italy. Association for Computational Linguistics.",
|
| 1874 |
+
"bbox": [
|
| 1875 |
+
114,
|
| 1876 |
+
437,
|
| 1877 |
+
487,
|
| 1878 |
+
530
|
| 1879 |
+
],
|
| 1880 |
+
"page_idx": 11
|
| 1881 |
+
},
|
| 1882 |
+
{
|
| 1883 |
+
"type": "text",
|
| 1884 |
+
"text": "Titus von der Malsburg, Reinhold Kliegl, and Shravan Vasisith. 2015. Determinants of Scanpath Regularity in Reading. Cognitive Science, 39(7):1675-1703.",
|
| 1885 |
+
"bbox": [
|
| 1886 |
+
114,
|
| 1887 |
+
539,
|
| 1888 |
+
487,
|
| 1889 |
+
580
|
| 1890 |
+
],
|
| 1891 |
+
"page_idx": 11
|
| 1892 |
+
},
|
| 1893 |
+
{
|
| 1894 |
+
"type": "text",
|
| 1895 |
+
"text": "Titus von der Malsburg and Shravan Vasishth. 2013. Scanpaths reveal syntactic underspecification and reanalysis strategies. Language and Cognitive Processes, 28(10):1545-1578.",
|
| 1896 |
+
"bbox": [
|
| 1897 |
+
114,
|
| 1898 |
+
588,
|
| 1899 |
+
487,
|
| 1900 |
+
642
|
| 1901 |
+
],
|
| 1902 |
+
"page_idx": 11
|
| 1903 |
+
},
|
| 1904 |
+
{
|
| 1905 |
+
"type": "text",
|
| 1906 |
+
"text": "Jeffrey J. Walczyk and Robert W. Taylor. 1996. How do the efficiencies of reading subcomponents relate to looking back in text? Journal of Educational Psychology, 88(3):537-545.",
|
| 1907 |
+
"bbox": [
|
| 1908 |
+
114,
|
| 1909 |
+
651,
|
| 1910 |
+
487,
|
| 1911 |
+
705
|
| 1912 |
+
],
|
| 1913 |
+
"page_idx": 11
|
| 1914 |
+
},
|
| 1915 |
+
{
|
| 1916 |
+
"type": "text",
|
| 1917 |
+
"text": "Yizhong Wang, Yeganeh Kordi, Swaroop Mishra, Alisa Liu, Noah A. Smith, Daniel Khashabi, and Hannaneh Hajishirzi. 2023. Self-Instruct: Aligning Language Models with Self-Generated Instructions. ArXiv:2212.10560 [cs].",
|
| 1918 |
+
"bbox": [
|
| 1919 |
+
114,
|
| 1920 |
+
713,
|
| 1921 |
+
487,
|
| 1922 |
+
780
|
| 1923 |
+
],
|
| 1924 |
+
"page_idx": 11
|
| 1925 |
+
},
|
| 1926 |
+
{
|
| 1927 |
+
"type": "text",
|
| 1928 |
+
"text": "Jason Wei, Maarten Bosma, Vincent Zhao, Kelvin Guu, Adams Wei Yu, Brian Lester, Nan Du, Andrew M Dai, and Quoc V Le. 2022. Finetuned language models are zero-shot learners. In International Conference on Learning Representations.",
|
| 1929 |
+
"bbox": [
|
| 1930 |
+
114,
|
| 1931 |
+
789,
|
| 1932 |
+
487,
|
| 1933 |
+
854
|
| 1934 |
+
],
|
| 1935 |
+
"page_idx": 11
|
| 1936 |
+
},
|
| 1937 |
+
{
|
| 1938 |
+
"type": "text",
|
| 1939 |
+
"text": "Sarah Wiegrefe and Yuval Pinter. 2019. Attention is not explanation. In Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference",
|
| 1940 |
+
"bbox": [
|
| 1941 |
+
114,
|
| 1942 |
+
865,
|
| 1943 |
+
487,
|
| 1944 |
+
917
|
| 1945 |
+
],
|
| 1946 |
+
"page_idx": 11
|
| 1947 |
+
},
|
| 1948 |
+
{
|
| 1949 |
+
"type": "text",
|
| 1950 |
+
"text": "on Natural Language Processing (EMNLP-IJCNLP), pages 11-20, Hong Kong, China. Association for Computational Linguistics.",
|
| 1951 |
+
"bbox": [
|
| 1952 |
+
526,
|
| 1953 |
+
85,
|
| 1954 |
+
882,
|
| 1955 |
+
126
|
| 1956 |
+
],
|
| 1957 |
+
"page_idx": 11
|
| 1958 |
+
},
|
| 1959 |
+
{
|
| 1960 |
+
"type": "text",
|
| 1961 |
+
"text": "A Attention divergence on plain and noise-prefix text",
|
| 1962 |
+
"text_level": 1,
|
| 1963 |
+
"bbox": [
|
| 1964 |
+
509,
|
| 1965 |
+
137,
|
| 1966 |
+
840,
|
| 1967 |
+
170
|
| 1968 |
+
],
|
| 1969 |
+
"page_idx": 11
|
| 1970 |
+
},
|
| 1971 |
+
{
|
| 1972 |
+
"type": "text",
|
| 1973 |
+
"text": "As shown in Figure 10, the divergence between plain and noise-prefixed text of Alpaca and Vicuna is not significantly higher than LLaMA in most of the layers, which further supports our findings on the higher instruction sensitivity of instruction-tuned models.",
|
| 1974 |
+
"bbox": [
|
| 1975 |
+
507,
|
| 1976 |
+
179,
|
| 1977 |
+
882,
|
| 1978 |
+
275
|
| 1979 |
+
],
|
| 1980 |
+
"page_idx": 11
|
| 1981 |
+
},
|
| 1982 |
+
{
|
| 1983 |
+
"type": "image",
|
| 1984 |
+
"img_path": "images/7d361eaa7e2230b259f47c0ed24a4ab897787020979f47f9ce6be3b4a8349f08.jpg",
|
| 1985 |
+
"image_caption": [],
|
| 1986 |
+
"image_footnote": [],
|
| 1987 |
+
"bbox": [
|
| 1988 |
+
521,
|
| 1989 |
+
288,
|
| 1990 |
+
867,
|
| 1991 |
+
407
|
| 1992 |
+
],
|
| 1993 |
+
"page_idx": 11
|
| 1994 |
+
},
|
| 1995 |
+
{
|
| 1996 |
+
"type": "image",
|
| 1997 |
+
"img_path": "images/ac4cc8bc037770a46c7e04cf00ef0adbaf0b2bc35b90d9bec9e403f3150e4f17.jpg",
|
| 1998 |
+
"image_caption": [
|
| 1999 |
+
"Figure 10: Attention divergence on the original and noise-attached text of 7B and 13B models."
|
| 2000 |
+
],
|
| 2001 |
+
"image_footnote": [],
|
| 2002 |
+
"bbox": [
|
| 2003 |
+
522,
|
| 2004 |
+
416,
|
| 2005 |
+
867,
|
| 2006 |
+
536
|
| 2007 |
+
],
|
| 2008 |
+
"page_idx": 11
|
| 2009 |
+
},
|
| 2010 |
+
{
|
| 2011 |
+
"type": "text",
|
| 2012 |
+
"text": "B Layerwise trivial pattern reliance",
|
| 2013 |
+
"text_level": 1,
|
| 2014 |
+
"bbox": [
|
| 2015 |
+
507,
|
| 2016 |
+
609,
|
| 2017 |
+
835,
|
| 2018 |
+
627
|
| 2019 |
+
],
|
| 2020 |
+
"page_idx": 11
|
| 2021 |
+
},
|
| 2022 |
+
{
|
| 2023 |
+
"type": "text",
|
| 2024 |
+
"text": "Figure 11 shows the layerwise trivial pattern reliance of 7B and 13B models, as well as the results for LLaMA 30B. The reliance keeps decreasing as the model size scales up, especially in the deeper layers.",
|
| 2025 |
+
"bbox": [
|
| 2026 |
+
507,
|
| 2027 |
+
634,
|
| 2028 |
+
882,
|
| 2029 |
+
715
|
| 2030 |
+
],
|
| 2031 |
+
"page_idx": 11
|
| 2032 |
+
},
|
| 2033 |
+
{
|
| 2034 |
+
"type": "text",
|
| 2035 |
+
"text": "C Layers with significant changes in human resemblance after instruction tuning",
|
| 2036 |
+
"text_level": 1,
|
| 2037 |
+
"bbox": [
|
| 2038 |
+
507,
|
| 2039 |
+
727,
|
| 2040 |
+
867,
|
| 2041 |
+
777
|
| 2042 |
+
],
|
| 2043 |
+
"page_idx": 11
|
| 2044 |
+
},
|
| 2045 |
+
{
|
| 2046 |
+
"type": "text",
|
| 2047 |
+
"text": "Table 6 shows the list of layers in 7B Alpaca and Vicuna with significant change in human resemblance after instruction tuning compared with LLaMA, and Table 7 shows the list in 13B.",
|
| 2048 |
+
"bbox": [
|
| 2049 |
+
507,
|
| 2050 |
+
785,
|
| 2051 |
+
882,
|
| 2052 |
+
848
|
| 2053 |
+
],
|
| 2054 |
+
"page_idx": 11
|
| 2055 |
+
},
|
| 2056 |
+
{
|
| 2057 |
+
"type": "text",
|
| 2058 |
+
"text": "D Preliminary fMRI results",
|
| 2059 |
+
"text_level": 1,
|
| 2060 |
+
"bbox": [
|
| 2061 |
+
507,
|
| 2062 |
+
860,
|
| 2063 |
+
766,
|
| 2064 |
+
878
|
| 2065 |
+
],
|
| 2066 |
+
"page_idx": 11
|
| 2067 |
+
},
|
| 2068 |
+
{
|
| 2069 |
+
"type": "text",
|
| 2070 |
+
"text": "Some preliminary analysis on the fMRI data in the Reading Brain dataset is done, and the results com",
|
| 2071 |
+
"bbox": [
|
| 2072 |
+
507,
|
| 2073 |
+
887,
|
| 2074 |
+
882,
|
| 2075 |
+
917
|
| 2076 |
+
],
|
| 2077 |
+
"page_idx": 11
|
| 2078 |
+
},
|
| 2079 |
+
{
|
| 2080 |
+
"type": "page_number",
|
| 2081 |
+
"text": "13053",
|
| 2082 |
+
"bbox": [
|
| 2083 |
+
477,
|
| 2084 |
+
927,
|
| 2085 |
+
524,
|
| 2086 |
+
940
|
| 2087 |
+
],
|
| 2088 |
+
"page_idx": 11
|
| 2089 |
+
},
|
| 2090 |
+
{
|
| 2091 |
+
"type": "image",
|
| 2092 |
+
"img_path": "images/cd785dcab0e4b4d8fece282b3d909f8c5494973384c746b3858dfc41b73dd3a3.jpg",
|
| 2093 |
+
"image_caption": [],
|
| 2094 |
+
"image_footnote": [],
|
| 2095 |
+
"bbox": [
|
| 2096 |
+
127,
|
| 2097 |
+
86,
|
| 2098 |
+
470,
|
| 2099 |
+
204
|
| 2100 |
+
],
|
| 2101 |
+
"page_idx": 12
|
| 2102 |
+
},
|
| 2103 |
+
{
|
| 2104 |
+
"type": "image",
|
| 2105 |
+
"img_path": "images/5f865bb3eb9bf6a0136938d04e2bf5dfd817900983c804abd586a8c0872426d4.jpg",
|
| 2106 |
+
"image_caption": [],
|
| 2107 |
+
"image_footnote": [],
|
| 2108 |
+
"bbox": [
|
| 2109 |
+
127,
|
| 2110 |
+
214,
|
| 2111 |
+
470,
|
| 2112 |
+
332
|
| 2113 |
+
],
|
| 2114 |
+
"page_idx": 12
|
| 2115 |
+
},
|
| 2116 |
+
{
|
| 2117 |
+
"type": "image",
|
| 2118 |
+
"img_path": "images/a1e9b5c7d35de8515d3cc9eca08ad8e52b0abd225302e39b6bb068f57d512ebc.jpg",
|
| 2119 |
+
"image_caption": [],
|
| 2120 |
+
"image_footnote": [],
|
| 2121 |
+
"bbox": [
|
| 2122 |
+
127,
|
| 2123 |
+
341,
|
| 2124 |
+
470,
|
| 2125 |
+
458
|
| 2126 |
+
],
|
| 2127 |
+
"page_idx": 12
|
| 2128 |
+
},
|
| 2129 |
+
{
|
| 2130 |
+
"type": "image",
|
| 2131 |
+
"img_path": "images/53ffc9bdd996fa8ab968753798918e4d1a2b1f9c1669e83d125ac79344337a2e.jpg",
|
| 2132 |
+
"image_caption": [
|
| 2133 |
+
"Figure 11: Lyerwise trivial pattern reliance of 7B and 13B models. \"RB\" stands for \"Reading Brain\"."
|
| 2134 |
+
],
|
| 2135 |
+
"image_footnote": [],
|
| 2136 |
+
"bbox": [
|
| 2137 |
+
127,
|
| 2138 |
+
468,
|
| 2139 |
+
470,
|
| 2140 |
+
586
|
| 2141 |
+
],
|
| 2142 |
+
"page_idx": 12
|
| 2143 |
+
},
|
| 2144 |
+
{
|
| 2145 |
+
"type": "text",
|
| 2146 |
+
"text": "ply with our findings on saccade data. We investigate several linguistics-related brain regions, and find that the highest correlation of fMRI signals to model attention are from the anterior left temporal gyrus (Figure 12). The fMRI data from this region is pre-processed into matrix forms as saccade data. Figure 14 gives examples of individual and group mean fMRI matrices.",
|
| 2147 |
+
"bbox": [
|
| 2148 |
+
112,
|
| 2149 |
+
659,
|
| 2150 |
+
487,
|
| 2151 |
+
787
|
| 2152 |
+
],
|
| 2153 |
+
"page_idx": 12
|
| 2154 |
+
},
|
| 2155 |
+
{
|
| 2156 |
+
"type": "text",
|
| 2157 |
+
"text": "The findings are: (1) The models' NTP loss significantly $(p < 0.02$ for both L1 and L2) and strongly negatively $(r = -0.777$ for L1, $r = -0.796$ for L2) correlates with fMRI resemblance (Figure 13); (2) The models' highest layerwise fMRI resemblance significantly $(r > 0.99$ , $p < 0.001$ for both L1 and L2) correlates with the model scale in logarithm (Figure 15, 16); (3) While scal",
|
| 2158 |
+
"bbox": [
|
| 2159 |
+
112,
|
| 2160 |
+
790,
|
| 2161 |
+
489,
|
| 2162 |
+
917
|
| 2163 |
+
],
|
| 2164 |
+
"page_idx": 12
|
| 2165 |
+
},
|
| 2166 |
+
{
|
| 2167 |
+
"type": "table",
|
| 2168 |
+
"img_path": "images/98f6eabe13bbbcaaa71692d9c062537ad4a582afa75d71260d1750645b61bb00.jpg",
|
| 2169 |
+
"table_caption": [],
|
| 2170 |
+
"table_footnote": [],
|
| 2171 |
+
"table_body": "<table><tr><td>Relation</td><td>Group</td><td>Alpaca</td><td>Vicuna</td></tr><tr><td rowspan=\"2\">Higher</td><td>L1</td><td>2, 5, 7</td><td>12, 13, 17, 18, 21, 26, 28, 29, 30</td></tr><tr><td>L2</td><td>2, 5, 6, 8, 12, 15, 21, 27</td><td>3, 13, 15, 18, 21, 23, 26, 28, 29, 30</td></tr><tr><td rowspan=\"2\">Lower</td><td>L1</td><td>4, 10, 23, 31</td><td>0, 1, 4, 5, 9, 11, 20, 31</td></tr><tr><td>L2</td><td>0, 10, 14, 19, 23, 28, 31</td><td>0, 1, 4, 5, 9, 11, 14, 20, 31</td></tr></table>",
|
| 2172 |
+
"bbox": [
|
| 2173 |
+
549,
|
| 2174 |
+
80,
|
| 2175 |
+
843,
|
| 2176 |
+
252
|
| 2177 |
+
],
|
| 2178 |
+
"page_idx": 12
|
| 2179 |
+
},
|
| 2180 |
+
{
|
| 2181 |
+
"type": "table",
|
| 2182 |
+
"img_path": "images/3546e27fabbe3e99b06ebcb5a26abf1d1f51689a16c8fdc4516ca21f7ac151d7.jpg",
|
| 2183 |
+
"table_caption": [
|
| 2184 |
+
"Table 6: Layers of Alpaca and Vicuna with significantly higher or lower human resemblance compared with LLaMA in 7B."
|
| 2185 |
+
],
|
| 2186 |
+
"table_footnote": [],
|
| 2187 |
+
"table_body": "<table><tr><td>Relation</td><td>Group</td><td>Alpaca</td><td>Vicuna</td></tr><tr><td rowspan=\"2\">Higher</td><td>L1</td><td>16, 32, 33, 36</td><td>4, 16, 27, 33, 36</td></tr><tr><td>L2</td><td>1, 16, 19, 27, 32, 33, 36</td><td>4, 16, 19, 23, 27, 33, 36, 37</td></tr><tr><td rowspan=\"2\">Lower</td><td>L1</td><td>0, 2, 3, 5, 6, 7, 8, 9, 14, 18, 24, 25, 28, 30, 35, 39</td><td>0, 1, 3, 5, 6, 9, 10, 14, 17, 18, 24, 30, 34, 39</td></tr><tr><td>L2</td><td>0, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 14, 15, 17, 18, 20, 24, 25, 28, 29, 30, 31, 35, 38, 39</td><td>0, 2, 3, 5, 6, 8, 9, 10, 11, 12, 14, 17, 18, 20, 21 30</td></tr></table>",
|
| 2188 |
+
"bbox": [
|
| 2189 |
+
544,
|
| 2190 |
+
316,
|
| 2191 |
+
848,
|
| 2192 |
+
571
|
| 2193 |
+
],
|
| 2194 |
+
"page_idx": 12
|
| 2195 |
+
},
|
| 2196 |
+
{
|
| 2197 |
+
"type": "text",
|
| 2198 |
+
"text": "Table 7: Layers of Alpaca and Vicuna with significantly higher or lower human resemblance compared with LLaMA in 13B.",
|
| 2199 |
+
"bbox": [
|
| 2200 |
+
507,
|
| 2201 |
+
580,
|
| 2202 |
+
882,
|
| 2203 |
+
621
|
| 2204 |
+
],
|
| 2205 |
+
"page_idx": 12
|
| 2206 |
+
},
|
| 2207 |
+
{
|
| 2208 |
+
"type": "text",
|
| 2209 |
+
"text": "ing enhances human fMRI resemblance, instruction tuning does not (Table 8); (4) Resemblance to L2 fMRI is consistently higher than that to L1.",
|
| 2210 |
+
"bbox": [
|
| 2211 |
+
507,
|
| 2212 |
+
649,
|
| 2213 |
+
882,
|
| 2214 |
+
697
|
| 2215 |
+
],
|
| 2216 |
+
"page_idx": 12
|
| 2217 |
+
},
|
| 2218 |
+
{
|
| 2219 |
+
"type": "page_number",
|
| 2220 |
+
"text": "13054",
|
| 2221 |
+
"bbox": [
|
| 2222 |
+
477,
|
| 2223 |
+
927,
|
| 2224 |
+
524,
|
| 2225 |
+
940
|
| 2226 |
+
],
|
| 2227 |
+
"page_idx": 12
|
| 2228 |
+
},
|
| 2229 |
+
{
|
| 2230 |
+
"type": "image",
|
| 2231 |
+
"img_path": "images/1a4c004f619dcbabbb6a01164539845a5be779d88fd6a9573642a97e701507bc.jpg",
|
| 2232 |
+
"image_caption": [
|
| 2233 |
+
"Figure 12: An illustration of the anterior left temporal gyrus in the human brain."
|
| 2234 |
+
],
|
| 2235 |
+
"image_footnote": [],
|
| 2236 |
+
"bbox": [
|
| 2237 |
+
216,
|
| 2238 |
+
99,
|
| 2239 |
+
386,
|
| 2240 |
+
190
|
| 2241 |
+
],
|
| 2242 |
+
"page_idx": 13
|
| 2243 |
+
},
|
| 2244 |
+
{
|
| 2245 |
+
"type": "image",
|
| 2246 |
+
"img_path": "images/611ee90ccf0d1d563394ecd2a127465e030f92ec3c59ad1b78e1b6be9d913769.jpg",
|
| 2247 |
+
"image_caption": [
|
| 2248 |
+
"Figure 13: The correlation between per-token negative log likelihood loss and max layerwise fMRI resemblance of the LLMs."
|
| 2249 |
+
],
|
| 2250 |
+
"image_footnote": [],
|
| 2251 |
+
"bbox": [
|
| 2252 |
+
127,
|
| 2253 |
+
271,
|
| 2254 |
+
473,
|
| 2255 |
+
401
|
| 2256 |
+
],
|
| 2257 |
+
"page_idx": 13
|
| 2258 |
+
},
|
| 2259 |
+
{
|
| 2260 |
+
"type": "table",
|
| 2261 |
+
"img_path": "images/b86120adce5637b55705e69da3c6052c84efe7e4f688f95ff66d6ce6ab2e23b4.jpg",
|
| 2262 |
+
"table_caption": [],
|
| 2263 |
+
"table_footnote": [],
|
| 2264 |
+
"table_body": "<table><tr><td colspan=\"2\">Model</td><td colspan=\"2\">Resemblance(%)</td></tr><tr><td>Size</td><td>Name</td><td>L1</td><td>L2</td></tr><tr><td rowspan=\"3\">7B</td><td>LLaMA</td><td>11.02</td><td>15.45</td></tr><tr><td>Alpaca</td><td>10.99</td><td>15.61</td></tr><tr><td>Vicuna</td><td>11.35</td><td>15.44</td></tr><tr><td rowspan=\"3\">13B</td><td>LLaMA</td><td>14.69</td><td>20.19</td></tr><tr><td>Alpaca</td><td>14.67</td><td>19.44</td></tr><tr><td>Vicuna</td><td>14.02</td><td>18.57</td></tr></table>",
|
| 2265 |
+
"bbox": [
|
| 2266 |
+
179,
|
| 2267 |
+
495,
|
| 2268 |
+
423,
|
| 2269 |
+
595
|
| 2270 |
+
],
|
| 2271 |
+
"page_idx": 13
|
| 2272 |
+
},
|
| 2273 |
+
{
|
| 2274 |
+
"type": "text",
|
| 2275 |
+
"text": "Table 8: Max layerwise human fMRI resemblance scores of pretrained and instruction tuned models. This shows instruction tuning causes small decline in the max layerwise human resemblance.",
|
| 2276 |
+
"bbox": [
|
| 2277 |
+
112,
|
| 2278 |
+
605,
|
| 2279 |
+
487,
|
| 2280 |
+
662
|
| 2281 |
+
],
|
| 2282 |
+
"page_idx": 13
|
| 2283 |
+
},
|
| 2284 |
+
{
|
| 2285 |
+
"type": "image",
|
| 2286 |
+
"img_path": "images/76078bf11392e7075e08e4d424292ba9479a10db75ea03f84b13b04a08bd7b82.jpg",
|
| 2287 |
+
"image_caption": [
|
| 2288 |
+
"(a) Individual"
|
| 2289 |
+
],
|
| 2290 |
+
"image_footnote": [],
|
| 2291 |
+
"bbox": [
|
| 2292 |
+
121,
|
| 2293 |
+
703,
|
| 2294 |
+
295,
|
| 2295 |
+
826
|
| 2296 |
+
],
|
| 2297 |
+
"page_idx": 13
|
| 2298 |
+
},
|
| 2299 |
+
{
|
| 2300 |
+
"type": "image",
|
| 2301 |
+
"img_path": "images/3469d2471ded04cf9bd91703fbef916897abea2483e4faacbc0100147bc18e4e.jpg",
|
| 2302 |
+
"image_caption": [
|
| 2303 |
+
"(b) Group Mean"
|
| 2304 |
+
],
|
| 2305 |
+
"image_footnote": [],
|
| 2306 |
+
"bbox": [
|
| 2307 |
+
305,
|
| 2308 |
+
705,
|
| 2309 |
+
480,
|
| 2310 |
+
826
|
| 2311 |
+
],
|
| 2312 |
+
"page_idx": 13
|
| 2313 |
+
},
|
| 2314 |
+
{
|
| 2315 |
+
"type": "image",
|
| 2316 |
+
"img_path": "images/05568093f276b55f2bbc25cf0fffd1bd810c844632c23eee1700f0096a937308.jpg",
|
| 2317 |
+
"image_caption": [],
|
| 2318 |
+
"image_footnote": [],
|
| 2319 |
+
"bbox": [
|
| 2320 |
+
521,
|
| 2321 |
+
172,
|
| 2322 |
+
870,
|
| 2323 |
+
293
|
| 2324 |
+
],
|
| 2325 |
+
"page_idx": 13
|
| 2326 |
+
},
|
| 2327 |
+
{
|
| 2328 |
+
"type": "image",
|
| 2329 |
+
"img_path": "images/dd49a90499d2eec64f51f9d08fdb560f781e3d274b893ee0bc88ed334b62f01f.jpg",
|
| 2330 |
+
"image_caption": [
|
| 2331 |
+
"Figure 15: Layerwise L1 and L2 human fMRI resemblance for different sized pretrained models."
|
| 2332 |
+
],
|
| 2333 |
+
"image_footnote": [],
|
| 2334 |
+
"bbox": [
|
| 2335 |
+
519,
|
| 2336 |
+
300,
|
| 2337 |
+
870,
|
| 2338 |
+
420
|
| 2339 |
+
],
|
| 2340 |
+
"page_idx": 13
|
| 2341 |
+
},
|
| 2342 |
+
{
|
| 2343 |
+
"type": "image",
|
| 2344 |
+
"img_path": "images/6578ebffd275ffd9cf5335aff9398a942e7331af325d98a028f3ca51e4ea9f49.jpg",
|
| 2345 |
+
"image_caption": [
|
| 2346 |
+
"Figure 14: Examples of individual and group mean fMRI signals of the sentence \"Could humans live on Mars some day?\"",
|
| 2347 |
+
"Figure 16: The change of max layerwise human fMRI resemblance caused by scaling. The x-axis is log scaled."
|
| 2348 |
+
],
|
| 2349 |
+
"image_footnote": [],
|
| 2350 |
+
"bbox": [
|
| 2351 |
+
522,
|
| 2352 |
+
653,
|
| 2353 |
+
870,
|
| 2354 |
+
782
|
| 2355 |
+
],
|
| 2356 |
+
"page_idx": 13
|
| 2357 |
+
},
|
| 2358 |
+
{
|
| 2359 |
+
"type": "page_number",
|
| 2360 |
+
"text": "13055",
|
| 2361 |
+
"bbox": [
|
| 2362 |
+
477,
|
| 2363 |
+
927,
|
| 2364 |
+
524,
|
| 2365 |
+
940
|
| 2366 |
+
],
|
| 2367 |
+
"page_idx": 13
|
| 2368 |
+
}
|
| 2369 |
+
]
|
2023/Roles of Scaling and Instruction Tuning in Language Perception_ Model vs. Human Attention/4d81e6a0-662e-4a1d-8420-5bca7d9f2692_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2023/Roles of Scaling and Instruction Tuning in Language Perception_ Model vs. Human Attention/4d81e6a0-662e-4a1d-8420-5bca7d9f2692_origin.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2c728f693932cda7c5a0ca93de291fb8662f02fa131e33a9c22961914d62169d
|
| 3 |
+
size 3516051
|
2023/Roles of Scaling and Instruction Tuning in Language Perception_ Model vs. Human Attention/full.md
ADDED
|
@@ -0,0 +1,420 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Roles of Scaling and Instruction Tuning in Language Perception: Model vs. Human Attention
|
| 2 |
+
|
| 3 |
+
Changjiang Gao<sup>1</sup> Shujian Huang<sup>1*</sup> Jixing Li<sup>2</sup> Jiajun Chen<sup>1</sup>
|
| 4 |
+
|
| 5 |
+
$^{1}$ National Key Laboratory for Novel Software Technology, Nanjing University
|
| 6 |
+
|
| 7 |
+
$^{2}$ Department of Linguistics and Translation, City University of Hong Kong gaocj@smail.nju.edu.cn {huangsj, chenjj}@nju.edu.cn
|
| 8 |
+
|
| 9 |
+
jixingli@cityu.edu.hk
|
| 10 |
+
|
| 11 |
+
# Abstract
|
| 12 |
+
|
| 13 |
+
Recent large language models (LLMs) have revealed strong abilities to understand natural language. Since most of them share the same basic structure, i.e. the transformer block, possible contributors to their success in the training process are scaling and instruction tuning. However, how these factors affect the models' language perception is unclear. This work compares the self-attention of several existing LLMs (LLaMA, Alpaca and Vicuna) in different sizes (7B, 13B, 30B, 65B), together with eye saccade, an aspect of human reading attention, to assess the effect of scaling and instruction tuning on language perception. Results show that scaling enhances the human resemblance and improves the effective attention by reducing the trivial pattern reliance, while instruction tuning does not. However, instruction tuning significantly enhances the models' sensitivity to instructions. We also find that current LLMs are consistently closer to non-native than native speakers in attention, suggesting a suboptimal language perception of all models. Our code and data used in the analysis is available on GitHub.
|
| 14 |
+
|
| 15 |
+
# 1 Introduction
|
| 16 |
+
|
| 17 |
+
Large language models (LLMs), e.g., GPT-4, ChatGPT and Vicuna, have shown nearly human-level understanding of text inputs, indicating better human-like language perception compared with their predecessors such as BERT (Devlin et al., 2019) and GPT-2 (Radford et al., 2019). However, the mechanism behind such improvement is largely unknown. One way to interpret such mechanism is comparing model computation processes to human data. For example, prior work compared language models (mainly GPT-2) with human neuroimaging data during language comprehension, suggesting that models with higher human resemblance also perform better in NLP tasks. (Hasson
|
| 18 |
+
|
| 19 |
+
et al., 2020; Schrimpf et al., 2021). However, given recent breakthroughs in LLMs, it remains to be tested whether the newest LLMs still align with human perception data. Based on the training pipeline of current LLMs, there are two possible sources for the potential change: the scaled model/data size and the aligning process after pretraining, such as instruction tuning (Ouyang et al., 2022; Wei et al., 2022; Sanh et al., 2022). This paper aims to provide a further understanding of LLMs' mechanism by investigating the roles of these two factors in language understanding.
|
| 20 |
+
|
| 21 |
+
In this paper, we analyze self-attention as a channel to the language perception ability of LLMs, because it is the key mechanism of transformer language models, and it naturally resembles the human attention mechanism in language perceiving (Merkx and Frank, 2021). The attention patterns under investigation includes those from trending open-sourced LLMs with different sizes, i.e., 7B, 13B, 30B, 65B, and different training stages, i.e., pretrained (LLaMA) and instruction-tuned (Alpaca and Vicuna) models. Given these models are all trained mainly with English data, we also compare the attention patterns of LLMs with human saccade (a form of eye-movement) data, including both native speakers (L1) and non-native learners (L2) of English (Li et al., 2019) to see if the models correlates more with L1 subjects.
|
| 22 |
+
|
| 23 |
+
Our analysis is three-fold. First, we compare the general attention distributions of LLMs to measure the impact of these two varying factors on the model ( $\S 3.1$ ). Second, we perform linear regressions (LRs) between the model self-attention and human saccade matrices to see how human-like they are, and how the resemblance is affected by the two factors ( $\S 3.2$ ). Third, we analyze the relation between the given attention and some trivial patterns, revealing the difference between different levels of language perception abilities ( $\S 3.3$ ). The main findings are:
|
| 24 |
+
|
| 25 |
+
- Scaling significantly affects the general attention distribution on plain text, while instruction tuning has limited effect. However, instruction tuning enhances the model's sensitivity to instructions (§5.1).
|
| 26 |
+
- Higher human resemblance is significantly correlated to better language modeling. Scaling improves the resemblance by scaling law (Henighan et al., 2020), while instruction tuning reduces it. All models have higher resemblance to L2 rather than to L1, suggesting further room for the improvement in language perception (§5.2).
|
| 27 |
+
- L2 saccade has higher dependency on trivial attention patterns than L1, indicating a more rigid way of perception. Scaling significantly lowers LLMs' reliance on trivial attention patterns, while instruction tuning does not (§5.3).
|
| 28 |
+
|
| 29 |
+
# 2 Related Work
|
| 30 |
+
|
| 31 |
+
Self-attention analysis is a common way to interpret transformer models. Several studies has shown that it is correlated to linguistic information, such as syntactic or semantic structures (Mareček and Rosa, 2018; Raganato and Tiedemann, 2018; Voita et al., 2019; Clark et al., 2019). There are also some attempts and debates to explain the models' prediction with attention (Jain and Wallace, 2019; Wegreffe and Pinter, 2019; Serrano and Smith, 2019; Vashisth et al., 2019). Different from them, we use self-attention patterns as a measurement of the language perception abilities of LLMs. Also, some new ways to interpret model self-attention have been proposed, such as Attention Flow (Abnar and Zuidema, 2020), vector norm (Kobayashi et al., 2020, 2021), ALTI (Ferrando et al., 2022), Value Zeroing (Mohebbi et al., 2023), and logit analysis (Ferrando et al., 2023). These methods can raise the interpretability of model attention w.r.t. linguistic structural information, but are not tested with human eye-tracking data. Also, some of them suffer from huge computational cost. Instead, we choose to use the raw attention scores, as it is produced in the models' original computational processes, and they already correlate the human data, demonstrating their interpretability.
|
| 32 |
+
|
| 33 |
+
Instruction tuned LLMs achieve better performances in performing tasks (Ouyang et al., 2022; Wei et al., 2022; Sanh et al., 2022). It seems that the
|
| 34 |
+
|
| 35 |
+
LLMs are better at understanding human instructions. However, there is little discussion on how the instruction tuning process affects the language perception.
|
| 36 |
+
|
| 37 |
+
Eye-movement in the human reading process has drawn attention in the computational linguistic field. It is proposed that scanpaths, i.e. tracks of eye-movement, reveals characteristics of the parsing processes and relates to working memory during reading (von der Malsburg and Vasishth, 2013), and the irregularity of scanpaths is affected by sentence structures and age (von der Malsburg et al., 2015). Such work provides theoretical ground for our analysis on saccade data.
|
| 38 |
+
|
| 39 |
+
Joint study of language models and human eye-movement is also receiving growing interest. Prior studies have shown the correlation between language processing of human and artificial neural networks (Kell et al., 2018), especially pretrained language models such as GPT-2 (Caucheteux et al., 2021, 2022; Schrimpf et al., 2021; Lamarre et al., 2022). Especially, Oh and Schuler (2023a,b) explored the fit of model surprisal to human reading times, noting the effect of models' sequential memorization and dataset size. Hollenstein and Beinborn (2021) studied the correlation between relative word importance derived from models and humans, and Morger et al. (2022) extended that research to a multilingual setting, as well as analysis on model attention. Some studies also use human attention as supervision to assist specific tasks (Sood et al., 2020; Bansal et al., 2023), or use sequential models to predict eye-tracking data (Chersoni et al., 2022). Different from them, we use human attention as references for the language perception abilities.
|
| 40 |
+
|
| 41 |
+
# 3 Methods
|
| 42 |
+
|
| 43 |
+
To show the effect of scaling and instruction tuning on different models, we compare the self-attention scores of different LLMs given the same input, by viewing model attention as probability distributions and calculating the general attention divergence based on Jensen-Shannon divergence.
|
| 44 |
+
|
| 45 |
+
To analyze model self-attention, we take the human saccade as a reference, and design a human resemblance metric based on linear regression scores.
|
| 46 |
+
|
| 47 |
+
In addition, we select several trivial, context-free attention patterns, and design a trivial pattern reliance metric to help demonstrate the difference
|
| 48 |
+
|
| 49 |
+
between models and human subject groups.
|
| 50 |
+
|
| 51 |
+
# 3.1 General Attention Divergence
|
| 52 |
+
|
| 53 |
+
We assess the mean Jensen-Shannon (J-S) divergence between attention from different models on all sentences. For two attention matrices $A$ , $B \in \mathbb{R}^{n_{\mathrm{word}} \times n_{\mathrm{word}}}$ , the J-S divergence is:
|
| 54 |
+
|
| 55 |
+
$$
|
| 56 |
+
\begin{array}{l} D _ {\mathrm {J S}} (A, B) = \frac {1}{2} \sum_ {i = 1} ^ {n _ {\text {w o r d}}} \left[ D _ {\mathrm {K L}} \left(A _ {i} \| B _ {i}\right) \right. \\ + D _ {\mathrm {K L}} \left(B _ {i} \| A _ {i}\right) ] \\ \end{array}
|
| 57 |
+
$$
|
| 58 |
+
|
| 59 |
+
where $D_{\mathrm{KL}}$ is the Kullback-Leibler (K-L) divergence, $A_{i}$ and $B_{i}$ are the $i$ -th rows in the two matrices. Note the attention matrices are re-normalized to keep the sum of every row to 1.0. We calculate the J-S divergence between heads-averaged attention scores per sentence, and demonstrate the mean values. For models with the same number of layers, the divergence is calculated layerwise; For models with different numbers of layers, we divide their layers into four quarters and calculate the divergence quarter-wise.
|
| 60 |
+
|
| 61 |
+
To identify high and low divergence, a reference value is required. We propose to use the attention divergence between two models that share the same structure, size, and training data, but have small difference in training strategies as the reference. A divergence value higher than the reference suggests relatively large change attention, while one lower than that indicates small (but not necessarily negligible) change.
|
| 62 |
+
|
| 63 |
+
Divergence by Scaling and Instruction Tuning Models with different scales or training stages are compared with the above divergence to show the effect of different factors.
|
| 64 |
+
|
| 65 |
+
Sensitivity to Instructions To evaluate the effect of instruction tuning, we measure a given model's sensitivity to instructions by the same general attention divergence metric, but on different input, i.e., plain input and input with instructions. If the divergence between them is significantly higher than reference, we say the model has high sensitivity to instructions.
|
| 66 |
+
|
| 67 |
+
To construct instructed text, we attach two prefixes to plain text sentences: "Please translate this sentence into German:", and "Please paraphrase this sentence":". They are within the reported capacity of most LLMs, and require no extra information to follow. Then, we collect model attention on
|
| 68 |
+
|
| 69 |
+
the two corpora within the original sentence spans (re-normalized) to represent non-instruction and instruction scenarios. Also, as a control group, we attached a noise prefix made of 5 randomly sampled English words "Cigarette first steel convenience champion.", and calculate the divergence between prefixed and plain text to account for the effect of a meaningless prefix.
|
| 70 |
+
|
| 71 |
+
# 3.2 Human Resemblance
|
| 72 |
+
|
| 73 |
+
# 3.2.1 Human Resemblance Calculation
|
| 74 |
+
|
| 75 |
+
Given the model self-attention and the human saccade data in matrix form for each sentence, we first extract the lower-triangle parts of the matrices (marking right-to-left attendance), because prior studies have found that such eye-movements in reading are related to working memory efficiency (Walczyk and Taylor, 1996) and parsing strategies (von der Malsburg and Vasishth, 2013), and the auto-regressive LLMs only have right-to-left self-attention. Then, we flatten the extracted parts of each sentence attention matrix, and concatenate them to get attention vectors $\{v_{\mathrm{human}}^i\}$ for each subject $i$ , and $\{v_{\mathrm{model}}^{j,k}\}$ for head $k$ in model layer $j$ . We then stack $\{v_{\mathrm{model}}^{j,k}\}$ along the attention heads and get a matrix $\{V_{\mathrm{model}}^j\}$ for the $j$ -th layer. The LR for model layer $j$ and subject $i$ is defined as:
|
| 76 |
+
|
| 77 |
+
$$
|
| 78 |
+
\arg \min _ {w, b} \left\| V _ {\mathrm {m o d e l}} ^ {j \top} w + b - v _ {\mathrm {h u m a n}} ^ {i} \right\| _ {2} ^ {2}
|
| 79 |
+
$$
|
| 80 |
+
|
| 81 |
+
This means we take the linear combination of attention scores from all heads in a layer to predict the human saccade. Note that the model attention here are not re-normalized, in order to preserve the relative weight w.r.t. the $<s>$ token. The regression scores $R_{i,j}^{2}$ (ranging from 0 to 1, larger value means better regression) are averaged over subjects to represent the human resemblance of layer $j$ , and the highest layer score is considered as the regression score of the whole model, $R_{\mathrm{model}}^{2}$ .
|
| 82 |
+
|
| 83 |
+
Because the human saccade pattern varies across individuals, there exists a natural upper bound for human resemblance of models, i.e., the human-human resemblance, or the inter-subject correlation. To calculate this correlation within the two language groups, L1 and L2, we take the group mean to regress over each individual data independently, and use the average regression score $R_{\mathrm{inter}}^2$ as the inter-subject correlation for that group. The final human resemblance score is $R_{\mathrm{model}}^2 / R_{\mathrm{inter}}^2$ , ranging from 0 to 100%.
|
| 84 |
+
|
| 85 |
+
# 3.2.2 Human Resemblance vs. Next-Token Prediction
|
| 86 |
+
|
| 87 |
+
A previous study finds a positive correlation between the next-token predication (NTP) performance and the "Brain Score" of neural networks (Schrimpf et al., 2021), which supports the intuition that the more human-like models are, the better generation they output. To test this finding in our setting, we calculated the per-token prediction loss (the negative log likelihood loss normalized by sequence lengths) of the models employed in this study on the Reading Brain dataset, and calculate the Pearson's Correlation between their prediction loss and max layerwise human resemblance scores.
|
| 88 |
+
|
| 89 |
+
# 3.3 Trivial Pattern Reliance
|
| 90 |
+
|
| 91 |
+
# 3.3.1 Trivial Pattern Reliance of Models
|
| 92 |
+
|
| 93 |
+
We select three representative trivial patterns of transformer attention: attending to the first word in the sentence, attending to the previous word (Vig and Belinkov, 2019), and self-attending (Clark et al., 2019), and analyze the effect of scaling and instruction tuning on models' reliance on them.
|
| 94 |
+
|
| 95 |
+
First, we represent the trivial patterns as binary adjacent matrices, where attending relations are marked with 1, others with 0, and use their flattened lower-triangle parts as the independent variables. The model attention is similarly processed to be the dependent variables. Then, an LR is fit between the two, and the regression scores are collected to represent the trivial pattern reliance of each model layer.
|
| 96 |
+
|
| 97 |
+
# 3.3.2 Trivial Pattern Reliance of Humans
|
| 98 |
+
|
| 99 |
+
This research compares the models' resemblance to L1 and L2 humans because intuitively, L1 is better than L2 in language understanding. To test this intuition, we compare their reliance on the three trivial patterns to see whether their attention mode differs. Similar to model attention, the flattened human saccade vectors are used as the dependent variable to fit the LRs with the trivial patterns.
|
| 100 |
+
|
| 101 |
+
# 4 Experiment Settings
|
| 102 |
+
|
| 103 |
+
# 4.1 Data
|
| 104 |
+
|
| 105 |
+
We use the Reading Brain dataset (Li et al., 2019) for both the text input and the human data. The dataset includes 5 English STEM articles. Each article has $29.6 \pm 0.68$ sentences of $10.33 \pm 0.15$ words. It also includes human eye-tracking and fMRI data recorded synchronously during self-paced reading
|
| 106 |
+
|
| 107 |
+

|
| 108 |
+
(a) Individual
|
| 109 |
+
Figure 1: Examples of individual and group mean saccade of the sentence "Could humans live on Mars some day?"
|
| 110 |
+
|
| 111 |
+

|
| 112 |
+
(b) Group Mean
|
| 113 |
+
|
| 114 |
+
on the articles. The human subjects are 52 native English speakers (L1) and 56 non-native learners of English (L2). We choose this dataset for the following reasons: (1) The text is presented to the subjects sentence by sentence instead of page by page, making in-sentence reading patterns clearer. (2) It has synchronous eye-tracking and fMRI data, which allows both behavioral- and neural-level analysis. In this article we mainly focus on the behavioral part, but we also have some preliminary results on the fMRI analysis (See Appendix D).
|
| 115 |
+
|
| 116 |
+
We take the saccade number, i.e. times of eye movements from a word to another, instead of saccade duration, to represent the human reading attention, because this reduces the effect of other factors such as word length. The saccade data of a human subject for a given sentence is a $n_{\mathrm{word}} \times n_{\mathrm{word}}$ matrix. Figure 1 gives examples of individual and group mean saccades.
|
| 117 |
+
|
| 118 |
+
# 4.2 LLMs
|
| 119 |
+
|
| 120 |
+
We employ LLaMA (Touvron et al., 2023) and its instruction-tuned versions, Alpaca (Taori et al., 2023) and Vicuna (Chiang et al., 2023) in this research. We use them because: (1) The model sizes and different instruction-tuning methods covers the majority of current open-sourced LLMs. (2) These models are being widely used and customized globally. Thus, analysis on them is representative and meaningful.
|
| 121 |
+
|
| 122 |
+
LLaMA is a series of pretrained causal language models with parameter sizes 7B, 13B, 30B and 65B, trained on over 1T publicly available text tokens, and reaches state-of-the-art on most LLM benchmarks (Touvron et al., 2023). The training corpus is mainly English. We use all 4 sizes of LLaMA, which covers the sizes of most current
|
| 123 |
+
|
| 124 |
+
open-sourced LLMs. We also use the 774M GPT-2 Large (Radford et al., 2019) to represent smaller pretrained models in the scaling analysis.
|
| 125 |
+
|
| 126 |
+
Alpaca is fine-tuned from the 7B LLaMA model on 52K English instruction-following demonstrations generated by GPT-3 (Brown et al., 2020) using self-instruct (Wang et al., 2023). To analyze the effect of scaling, we also trained a 13B version of Alpaca using the official data and training strategy of Alpaca. Our 13B Alpaca model scores 43.9 and 46.0 on the MMLU dataset in zero-shot and one-shot setting respectively, proving the soundness of our fine-tuning. (The corresponding scores are 40.9 and 39.2 for the official Alpaca 7B model.)
|
| 127 |
+
|
| 128 |
+
Vicuna models are fine-tuned from the 7B and 13B LLaMA models on 70K user-shared conversations with ChatGPT. The data contains instruction and in-context learning samples in multiple languages, thus the Vicuna models can also be viewed as instruction-tuned.
|
| 129 |
+
|
| 130 |
+
# 4.3 LLMs Attention Collection
|
| 131 |
+
|
| 132 |
+
To obtain model attention, text is provided to the models sentence by sentence to perform next token predict, and we collect the attention tensors in each layer. This resembles the human self-paced task-free reading process, where only one sentence is visible at a time to the subjects, and the natural human behavior is to predict the next word (Kell et al., 2018; Schrimpf et al., 2021).
|
| 133 |
+
|
| 134 |
+
Because models use the SentencePiece tokenization (Kudo and Richardson, 2018), but the human saccade data is recorded in words, the attention matrices need to be reshaped. Following Clark et al. (2019) and Manning et al. (2020), we take the sum over the "to" tokens, and the average over the "from" tokens in a split word. Also, the $<s>$ token is dropped as it is not presented to human subjects.
|
| 135 |
+
|
| 136 |
+
Reference of Divergence We use the attention divergence of Vicuna v0 and Vicuna v1.1 13B as the reference values. The two versions share the same training data and strategy, but have minor difference in separators and loss computation<sup>2</sup>. We use the divergence calculated on 13B Vicunas across all divergence analyses, because it has lower mean and variance than the 7B one, making our comparison fairer and stricter.
|
| 137 |
+
|
| 138 |
+
# 5 Results
|
| 139 |
+
|
| 140 |
+

|
| 141 |
+
Figure 2: Mean J-S divergence between 7B and 13B model attention in each layer quarter, measured on non-instruction sentences.
|
| 142 |
+
|
| 143 |
+
# 5.1 General Attention Divergence
|
| 144 |
+
|
| 145 |
+
# 5.1.1 Scaling Significantly Changes the General Attention
|
| 146 |
+
|
| 147 |
+
The general attention divergence between models in different sizes is shown in Figure 2. The results show that LLaMA, Alpaca and Vicuna all reveal divergence significantly higher than the reference values when scaled from 7B to 13B. This means scaling causes large change in the overall attention distribution.
|
| 148 |
+
|
| 149 |
+
# 5.1.2 Instruction Tuning Has Limited Effect on General Attention
|
| 150 |
+
|
| 151 |
+
The general attention divergence between pretrained and instruction tuned models is shown in Figure 3. It can be observed that only Vicuna 13B brings divergence above the reference values, while all the others don't. The same result can also be observed on instruction-prefixed sentences. This suggests that instruction tuning can only bring limited change to the models' general attention distribution. This can also be verified by other results in the following parts.
|
| 152 |
+
|
| 153 |
+
# 5.1.3 Instruction Tuning Enhances Sensitivity to Instructions
|
| 154 |
+
|
| 155 |
+
The divergence between the models' attention obtained on the original and instruction-attached sentences are shown in Figure 4. There are two major observations. Firstly, LLaMA, Alpaca and Vicuna all show divergence significantly above the reference values between the two types of sentences, especially in the shallower layers, which means they all have sensitivity to instructions. Secondly, while the divergence of LLaMA drops in the deeper layers, the divergence of Alpaca and Vicuna does
|
| 156 |
+
|
| 157 |
+

|
| 158 |
+
|
| 159 |
+

|
| 160 |
+
Figure 3: General attention divergence between pretrained and instruction-tuned models in 7B and 13B, measured on non-instruction sentences.
|
| 161 |
+
|
| 162 |
+
not go down, but rather up, suggesting higher sensitivity to instructions in the deeper layers. This effect is not observed in the noise-prefixed scenario (See Appendix A).
|
| 163 |
+
|
| 164 |
+
From these two observations, we can conclude that the pretrained LLaMA has already obtained some sensitivity to instructions, i.e. to change its attention mode when it meets instructions, and this sensitivity is further strengthened by instruction tuning, which makes this sensitivity higher in the deeper layers. Because in causal language models like LLaMA, the last few layers are related to generation, this effect of instruction tuning may bring more suitable generation for a certain instruction.
|
| 165 |
+
|
| 166 |
+
# 5.2 Human Resemblance
|
| 167 |
+
|
| 168 |
+
# 5.2.1 Higher Human Resemblance, Lower Prediction Loss
|
| 169 |
+
|
| 170 |
+
The per-token NTP loss and the maximum layerwise human resemblance scores are compared in Table 1 and Figure 5. One can tell from it that, within the considered range of parameter sizes, the human resemblance is negatively correlated with the NTP loss, where the resemblance goes higher nearly linearly with the loss going lower. The Pearson's correlation is $-0.875$ for L1 ( $p < 0.002$ ) and $-0.917$ for L2 ( $p < 0.0005$ ), supporting a significant and strong negative linear correlation.
|
| 171 |
+
|
| 172 |
+
This result shows that, the human resemblance we defined is positively related to the language modeling performance of the LLMs considered in
|
| 173 |
+
|
| 174 |
+

|
| 175 |
+
|
| 176 |
+

|
| 177 |
+
Figure 4: Attention divergence on the original and instruction-attached text of 7B and 13B models.
|
| 178 |
+
|
| 179 |
+
this research, giving a practical meaning to our human resemblance analysis. Also, based on this result, we know the pursuit for higher human resemblance is consistent with the target of training better LLMs. Similarly, factors negatively impacting the human resemblance could also harm the models' language modeling performance, such as instruction tuning brings lower human resemblance as well as higher NTP loss.
|
| 180 |
+
|
| 181 |
+
<table><tr><td>Size</td><td>Name</td><td>Loss</td><td>L1(%)</td><td>L2(%)</td></tr><tr><td>774M</td><td>GPT-2</td><td>0.3264</td><td>34.99</td><td>40.03</td></tr><tr><td rowspan="3">7B</td><td>LLaMA</td><td>0.2408</td><td>53.04</td><td>62.44</td></tr><tr><td>Alpaca</td><td>0.2646</td><td>52.51</td><td>61.71</td></tr><tr><td>Vicuna</td><td>0.2593</td><td>51.90</td><td>61.19</td></tr><tr><td rowspan="3">13B</td><td>LLaMA</td><td>0.2406</td><td>55.66</td><td>64.20</td></tr><tr><td>Alpaca</td><td>0.2634</td><td>55.05</td><td>64.46</td></tr><tr><td>Vicuna</td><td>0.2847</td><td>54.26</td><td>61.31</td></tr><tr><td>30B</td><td>LLaMA</td><td>0.2372</td><td>63.16</td><td>69.40</td></tr><tr><td>65B</td><td>LLaMA</td><td>0.2375</td><td>64.05</td><td>70.07</td></tr></table>
|
| 182 |
+
|
| 183 |
+
Table 1: Comparison between NTP loss and the human resemblance scores
|
| 184 |
+
|
| 185 |
+
# 5.2.2 Scaling Enhances Human Resemblance
|
| 186 |
+
|
| 187 |
+
The layerwise human resemblance of pretrained models in different scales are shown in Figure 6, where the LLaMAs are very different from GPT-2 Large in two ways. First, the layerwise human resemblance of the LLaMAs are much higher than GPT-2, but the gaps among the LLaMAs are small; Second, human resemblance of GPT-2 drop quickly in the deeper layers, while it remains high across all layers in the LLaMAs. one can refer from these
|
| 188 |
+
|
| 189 |
+

|
| 190 |
+
Figure 5: The correlation between the per-token negative log likelihood loss and the max layerwise human resemblance of LLMs.
|
| 191 |
+
|
| 192 |
+
results that LLaMA has undergone a phase change in terms of human-like attention from the level of GPT-2. However, the scaling from 7B to 30B does not cause another phase change.
|
| 193 |
+
|
| 194 |
+
Table 2 and Figure 7 show the max layerwise human resemblance increases linearly while the model parameter size increases exponentially, where the Pearson's correlation is 0.989 for L1 $(p < 0.002)$ and 0.964 for L2 $(p < 0.01)$ . This agrees with the scaling law of LLMs (Henighan et al., 2020).
|
| 195 |
+
|
| 196 |
+
This result shows that, within the scope of this study, scaling significantly enhances the human resemblance. If the scaling law continues to take effect, the human resemblance is expected to reach $98.80\%$ for L2 and $88.82\%$ for L1 at the scale of 100B. However, because the law is expected to fail after reaching a threshold (Hestness et al., 2017), the relation between human resemblance and model scale is expected to change before reaching that scale.
|
| 197 |
+
|
| 198 |
+
<table><tr><td colspan="2">Model</td><td colspan="2">Resemblance (%)</td></tr><tr><td>Name</td><td>Size</td><td>L1</td><td>L2</td></tr><tr><td rowspan="2">GPT-2</td><td>774M</td><td>34.99</td><td>40.03</td></tr><tr><td>7B</td><td>53.04</td><td>62.44</td></tr><tr><td rowspan="3">LLaMA</td><td>13B</td><td>55.56</td><td>64.20</td></tr><tr><td>30B</td><td>63.16</td><td>69.40</td></tr><tr><td>65B</td><td>64.05</td><td>70.07</td></tr></table>
|
| 199 |
+
|
| 200 |
+
Table 2: Max layerwise human resemblance of models ranging from 774M to 65B.
|
| 201 |
+
|
| 202 |
+
# 5.2.3 Instruction Tuning Harms Human Resemblance
|
| 203 |
+
|
| 204 |
+
Table 3 shows the max layerwise human resemblance of the pretrained and instruction tuned models. It shows that the instruction tuned Alpaca and Vicuna models have lower max layerwise human resemblance to both L1 and L2 than LLaMA in
|
| 205 |
+
|
| 206 |
+

|
| 207 |
+
|
| 208 |
+

|
| 209 |
+
Figure 6: Layerwise L1 and L2 human resemblance for different sized pretrained models.
|
| 210 |
+
|
| 211 |
+

|
| 212 |
+
Figure 7: The change of max layerwise human resemblance caused by the scaling of model sizes, where the x-axis is log scaled.
|
| 213 |
+
|
| 214 |
+
both sizes, which suggests that instruction tuning causes decline in the human resemblance of attention. However, the decline is minor compared with the increase brought by scaling, which agrees with the limited effect of instruction tuning.
|
| 215 |
+
|
| 216 |
+
We also conduct relative t-tests to detect significant difference in layerwise human resemblance $(p = 0.05 / n_{\mathrm{test}})$ . The numbers of significant layers are shown in Table 4, and the complete lists of layers are in Table 6, 7 in Appendix C). The tables show that instruction tuning enhances or reduces human resemblance on about the equal numbers of layers on the 7B models, but reduces human resemblance to much more layers on the 13B models. Also, the layers with significantly lower resemblance are distributed across all layers. This result means that, while the total effect of instruction tuning is small, the drop in human resemblance caused by it is significant and widespread.
|
| 217 |
+
|
| 218 |
+
To sum up, instruction tuning does small but significant harm to the human resemblance of LLMs, which in turn may bring potential damage to their language perception. This challenges the common assumption that instruction tuning can activate the model's ability to perceive language with human-aligned behaviors. However, this negative effect could be compensated by scaling, for scaling increases the human resemblance in a larger degree. This provides a novel reason for further scaling.
|
| 219 |
+
|
| 220 |
+
<table><tr><td colspan="2">Model</td><td colspan="2">Resemblance(%)</td></tr><tr><td>Size</td><td>Name</td><td>L1</td><td>L2</td></tr><tr><td rowspan="3">7B</td><td>LLaMA</td><td>53.04</td><td>62.44</td></tr><tr><td>Alpaca</td><td>52.51</td><td>61.71</td></tr><tr><td>Vicuna</td><td>51.90</td><td>61.19</td></tr><tr><td rowspan="3">13B</td><td>LLaMA</td><td>55.66</td><td>64.20</td></tr><tr><td>Alpaca</td><td>55.05</td><td>63.46</td></tr><tr><td>Vicuna</td><td>54.26</td><td>61.31</td></tr></table>
|
| 221 |
+
|
| 222 |
+
Table 3: Max layerwise human resemblance scores of pretrained and instruction tuned models. This shows instruction tuning causes small decline in the max layer-wise human resemblance.
|
| 223 |
+
|
| 224 |
+
<table><tr><td colspan="2">Model</td><td colspan="2">Higher</td><td colspan="2">Lower</td></tr><tr><td>Size</td><td>Name</td><td>L1</td><td>L2</td><td>L1</td><td>L2</td></tr><tr><td rowspan="2">7B</td><td>Alpaca</td><td>3</td><td>8</td><td>4</td><td>7</td></tr><tr><td>Vicuna</td><td>9</td><td>10</td><td>8</td><td>9</td></tr><tr><td rowspan="2">13B</td><td>Alpaca</td><td>4</td><td>7</td><td>16</td><td>25</td></tr><tr><td>Vicuna</td><td>5</td><td>8</td><td>14</td><td>16</td></tr></table>
|
| 225 |
+
|
| 226 |
+
# 5.2.4 All Models Show Higher L2 Resemblance
|
| 227 |
+
|
| 228 |
+
Comparing the L1 and L2 human resemblance of all models (LLaMA, Alpaca and Vicuna, 7B and 13B) in Table 2 and Table 3, an advantage of L2 over L1 can be observed steadily. Independent t-test also shows that, all models considered in this research show significantly higher resemblance to L2 than to L1 ( $p = 0.05 / n_{\mathrm{test}}$ to avoid false positives). This means the models are closer to non-native English learners than to native English speakers in attention, though they are all trained mainly on English data. Furthermore, this trend is not reversed by the scaling or instruction tuning within the scope of this research, which suggests that it is a innate feature of LLMs. We will look further into this phenomenon in the next section.
|
| 229 |
+
|
| 230 |
+
# 5.3 Trivial Pattern Reliance
|
| 231 |
+
|
| 232 |
+
# 5.3.1 L2 Relies More on Trivial Patterns
|
| 233 |
+
|
| 234 |
+
The results of LR scores between trivial patterns and L1 and L2 human saccade is shown in Table 5, where L2's score is higher than L1's in minimum, maximum and mean values. Independent t-test also supports a significant advantage of L2 over L1 on the regression scores $(p < 5 \times 10^{-8})$ . This means one significant difference between L1 and L2 English speakers is that L2 people show more trivial and fixed attention mode than L1 people while reading, which suggests a weaker language understanding ability as those patterns contain no linguistic or factual information.
|
| 235 |
+
|
| 236 |
+
This finding can help us interpret the difference between the models' L1 and L2 human resemblance. Note that all models considered in this research are trained mainly on English, but show higher attention resemblance to L2 subjects, this result suggests that their language perception is not ideal.
|
| 237 |
+
|
| 238 |
+
Table 4: Numbers of Alpaca and Vicuna layers with significantly higher or lower human resemblance compared with LLaMA in the same sizes.
|
| 239 |
+
|
| 240 |
+
<table><tr><td>Group</td><td>Min</td><td>Max</td><td>Mean</td><td>SE</td></tr><tr><td>L1</td><td>0.0048</td><td>0.1525</td><td>0.0473</td><td>0.0037</td></tr><tr><td>L2</td><td>0.0134</td><td>0.2165</td><td>0.0894</td><td>0.0060</td></tr></table>
|
| 241 |
+
|
| 242 |
+
Table 5: Regression scores of human saccade on the trivial patterns, across L1 and L2 subjects. SE stands for standard errors.
|
| 243 |
+
|
| 244 |
+
# 5.3.2 Scaling Reduces Trivial Pattern Reliance
|
| 245 |
+
|
| 246 |
+
The relative difference between 13B and 7B models in trivial pattern reliance is shown in Figure 8, where the decline in the deeper layer quarters is substantial across all models. There is also a consistent increase in the second quarter, but the amplitude is small, so the total trivial pattern reliance is reduced. This phenomenon is also observed between LLaMA 13B and 30B (Figure 11 in Appendix B). This means scaling can effectively reduce the trivial pattern reliance, especially in the deeper layers, indicating a more contextualized and adaptive language perception.
|
| 247 |
+
|
| 248 |
+
# 5.3.3 Instruction Tuning Increases Trivial Pattern Reliance
|
| 249 |
+
|
| 250 |
+
Figure 9 shows the relative difference between pretrained and instruction tuned models in trivial pattern reliance, where the tuned ones show reliance gain in the deeper layers. There is also a small drop in the second quarter, but the total trivial pattern reliance is increasing. Also, total increase here is
|
| 251 |
+
|
| 252 |
+

|
| 253 |
+
Figure 8: The difference between trivial pattern reliance of 7B and 13B model attention.
|
| 254 |
+
|
| 255 |
+
also smaller in amplitude than the reduction caused by scaling, again supporting the limit effect of instruction tuning.
|
| 256 |
+
|
| 257 |
+
Also, one can tell from Figure 8 and Figure 9 that scaling and instruction tuning changes the trivial pattern reliance in opposite directions. However, because the effect of instruction tuning is also smaller than that of scaling, as long as the model size continues to grow, this gain in trivial pattern reliance brought by instruction tuning could be compensated or even covered, offering another reason for further scaling.
|
| 258 |
+
|
| 259 |
+

|
| 260 |
+
Figure 9: The difference in trivial pattern reliance of attentions in pretrained and instruction-tuned models.
|
| 261 |
+
|
| 262 |
+
# 6 Conclusion
|
| 263 |
+
|
| 264 |
+
This research evaluates the effects of scaling and instruction tuning on LLMs' attention. We find that scaling effectively changes the general attention distribution, enhances the human resemblance, and reduces the trivial pattern reliance, while instruction tuning does the opposite, but also increases the models' sensitivity to instructions. Furthermore, we find current open-sourced LLMs closer to non-native English speakers in language perception, which contains more trivial attention patterns. To the best of our knowledge, we are the first to analyze the effect of instruction tuning on the human resemblance of model attention. We hope this can inspire future work on analyzing LLMs.
|
| 265 |
+
|
| 266 |
+
# Limitations
|
| 267 |
+
|
| 268 |
+
One key limitation of this study is that we cannot apply our current method to closed-sourced LLMs such as ChatGPT, for their layerwise attention scores are unavailable. With the rapid development of open LLMs, it is hopeful that we can examine these findings on the largest and most advanced LLMs in the near future.
|
| 269 |
+
|
| 270 |
+
Besides, though we demonstrate the difference in LLMs' resemblance to L1 and L2 people, and partially explained the effect by trivial pattern reliance, it is not enough to explain the underlying cause or consequences of this phenomenon. We do have some observations, such as the inter-subject correlation in the L1 group $(0.1560 \pm 0.0073)$ is lower than L2 $(0.2463 \pm 0.0090)$ , and L1 subjects tend to look back to pervious words less frequently than L2 subjects. However, the underlying mechanism is still unclear. We hope to dive deeper into this non-native resemblance in our following study.
|
| 271 |
+
|
| 272 |
+
Another limitation of this work comes from the way we obtain model attention. We used the attention scores when predicting the next single token, which makes sense. However, the attention patterns could be different in the following decoding steps. Also, it is possible that combining attention scores across multiple layers can improve the analysis. We will investigate this in our future work.
|
| 273 |
+
|
| 274 |
+
In addition, the Reading Brain dataset we used in this research is monolingual, which does not reflect the language perception process in the cross-lingual setting, which is also important for the application of LLMs. We also hope to examine our findings in the cross-lingual scenario in the future.
|
| 275 |
+
|
| 276 |
+
# Ethics Statement
|
| 277 |
+
|
| 278 |
+
The authors declare no competing interests. The human behavioral data we use is publicly available and does not contain personal information of the subjects.
|
| 279 |
+
|
| 280 |
+
# Acknowledgements
|
| 281 |
+
|
| 282 |
+
We would like to thank the anonymous reviewers for their insightful comments. Shujian Huang is the corresponding author. We thank Yunzhe Lv and Wenhao Zhu for finetuning the Alpaca 13B model. This work is supported by National Science Foundation of China (No. 62376116, 62176120), the Liaoning Provincial Research Foundation for Basic Research (No. 2022-KF-26-02).
|
| 283 |
+
|
| 284 |
+
# References
|
| 285 |
+
|
| 286 |
+
Samira Abnar and Willem Zuidema. 2020. Quantifying Attention Flow in Transformers. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pages 4190-4197, Online. Association for Computational Linguistics.
|
| 287 |
+
Aakash Bansal, Bonita Sharif, and Collin McMillan. 2023. Towards modeling human attention from eye movements for neural source code summarization. Proceedings of the ACM on Human-Computer Interaction, 7(ETRA):1-19.
|
| 288 |
+
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.
|
| 289 |
+
Charlotte Caucheteux, Alexandre Gramfort, and JeanRémi King. 2021. Model-based analysis of brain activity reveals the hierarchy of language in 305 subjects. arXiv preprint arXiv:2110.06078.
|
| 290 |
+
Charlotte Caucheteux, Alexandre Gramfort, and JeanRémi King. 2022. Deep language algorithms predict semantic comprehension from brain activity. Scientific Reports, 12(1):16327.
|
| 291 |
+
Emmanuele Chersoni, Nora Hollenstein, Cassandra Jacobs, Yohei Oseki, Laurent Prévot, and Enrico Santus, editors. 2022. Proceedings of the Workshop on Cognitive Modeling and Computational Linguistics. Association for Computational Linguistics, Dublin, Ireland.
|
| 292 |
+
Wei-Lin Chiang, Zhuohan Li, Zi Lin, Ying Sheng, Zhanghao Wu, Hao Zhang, Lianmin Zheng, Siyuan Zhuang, Yonghao Zhuang, Joseph E. Gonzalez, Ion Stoica, and Eric P. Xing. 2023. Vicuna: An opensource chatbot impressing gpt-4 with $90\%$ * chatgpt quality.
|
| 293 |
+
Kevin Clark, Urvashi Khandelwal, Omer Levy, and Christopher D. Manning. 2019. What does BERT look at? an analysis of BERT's attention. In Proceedings of the 2019 ACL Workshop BlackboxNLP: Analyzing and Interpreting Neural Networks for NLP, pages 276-286, Florence, Italy. Association for Computational Linguistics.
|
| 294 |
+
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.
|
| 295 |
+
Javier Ferrando, Gerard I. Gállego, and Marta R. Costajussà. 2022. Measuring the Mixing of Contextual Information in the Transformer. In Proceedings of
|
| 296 |
+
|
| 297 |
+
the 2022 Conference on Empirical Methods in Natural Language Processing, pages 8698-8714, Abu Dhabi, United Arab Emirates. Association for Computational Linguistics.
|
| 298 |
+
Javier Ferrando, Gerard I. Gallego, Ioannis Tsiamas, and Marta R. Costa-jussa. 2023. Explaining How Transformers Use Context to Build Predictions. In Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 5486-5513, Toronto, Canada. Association for Computational Linguistics.
|
| 299 |
+
Uri Hasson, Samuel A. Nastase, and Ariel Goldstein. 2020. Direct fit to nature: An evolutionary perspective on biological and artificial neural networks. *Neuron*, 105(3):416-434.
|
| 300 |
+
Tom Henighan, Jared Kaplan, Mor Katz, Mark Chen, Christopher Hesse, Jacob Jackson, Heewoo Jun, Tom B. Brown, Prafulla Dhariwal, Scott Gray, Chris Hallacy, Benjamin Mann, Alec Radford, Aditya Ramesh, Nick Ryder, Daniel M. Ziegler, John Schulman, Dario Amodei, and Sam McCandlish. 2020. Scaling Laws for Autoregressive Generative Modeling. ArXiv:2010.14701 [cs].
|
| 301 |
+
Joel Hestness, Sharan Narang, Newsha Ardalani, Gregory Diamos, Heewoo Jun, Hassan Kianinejad, Md Mostofa Ali Patwary, Yang Yang, and Yanqi Zhou. 2017. Deep learning scaling is predictable, empirically. arXiv preprint arXiv:1712.00409.
|
| 302 |
+
Nora Hollenstein and Lisa Beinborn. 2021. Relative Importance in Sentence Processing. In Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing (Volume 2: Short Papers), pages 141-150, Online. Association for Computational Linguistics.
|
| 303 |
+
Sarthak Jain and Byron C. Wallace. 2019. Attention is not Explanation. 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 3543-3556, Minneapolis, Minnesota. Association for Computational Linguistics.
|
| 304 |
+
Alexander JE Kell, Daniel LK Yamins, Erica N Shook, Sam V Norman-Haignere, and Josh H McDermott. 2018. A task-optimized neural network replicates human auditory behavior, predicts brain responses, and reveals a cortical processing hierarchy. Neuron, 98(3):630-644.
|
| 305 |
+
Goro Kobayashi, Tatsuki Kuribayashi, Sho Yokoi, and Kentaro Inui. 2020. Attention is Not Only a Weight: Analyzing Transformers with Vector Norms. In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP), pages 7057-7075, Online. Association for Computational Linguistics.
|
| 306 |
+
|
| 307 |
+
Goro Kobayashi, Tatsuki Kuribayashi, Sho Yokoi, and Kentaro Inui. 2021. Incorporating Residual and Normalization Layers into Analysis of Masked Language Models. In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing, pages 4547-4568, Online and Punta Cana, Dominican Republic. Association for Computational Linguistics.
|
| 308 |
+
Taku Kudo and John Richardson. 2018. SentencePiece: A simple and language independent subword tokenizer and tokenizer for neural text processing. In Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing: System Demonstrations, pages 66-71, Brussels, Belgium. Association for Computational Linguistics.
|
| 309 |
+
Mathis Lamarre, Catherine Chen, and Fatma Deniz. 2022. Attention weights accurately predict language representations in the brain. In *Findings of the Association for Computational Linguistics: EMNLP* 2022, pages 4513-4529, Abu Dhabi, United Arab Emirates. Association for Computational Linguistics.
|
| 310 |
+
Ping Li, Anya Yu, Benjamin Schloss, Chun-Ting Hsu, Lindsey Ma, Chih-Ting Chang, and Marissa Scotto. 2019. The reading brain project: An open science data-sharing initiative. In 26th Annual Meeting of the Cognitive Neuroscience Society.
|
| 311 |
+
Christopher D Manning, Kevin Clark, John Hewitt, Urvashi Khandelwal, and Omer Levy. 2020. Emergent linguistic structure in artificial neural networks trained by self-supervision. Proceedings of the National Academy of Sciences, 117(48):30046-30054.
|
| 312 |
+
David Mareček and Rudolf Rosa. 2018. Extracting syntactic trees from transformer encoder self-attentions. In Proceedings of the 2018 EMNLP Workshop BlackboxNLP: Analyzing and Interpreting Neural Networks for NLP, pages 347-349, Brussels, Belgium. Association for Computational Linguistics.
|
| 313 |
+
Danny Merkx and Stefan L. Frank. 2021. Human sentence processing: Recurrence or attention? In Proceedings of the Workshop on Cognitive Modeling and Computational Linguistics, pages 12-22, Online. Association for Computational Linguistics.
|
| 314 |
+
Hosein Mohebbi, Willem Zuidema, Grzegorz Chrupa\la, and Afra Alishahi. 2023. Quantifying Context Mixing in Transformers. In Proceedings of the 17th Conference of the European Chapter of the Association for Computational Linguistics, pages 3378-3400, Dubrovnik, Croatia. Association for Computational Linguistics.
|
| 315 |
+
Felix Morger, Stephanie Brandl, Lisa Beinborn, and Nora Hollenstein. 2022. A Cross-lingual Comparison of Human and Model Relative Word Importance. In Proceedings of the 2022 CLASP Conference on (Dis)embodiment, pages 11-23, Gothenburg, Sweden. Association for Computational Linguistics.
|
| 316 |
+
|
| 317 |
+
Byung-Doh Oh and William Schuler. 2023a. Transformer-Based LM Surprisal Predicts Human Reading Times Best with About Two Billion Training Tokens.
|
| 318 |
+
Byung-Doh Oh and William Schuler. 2023b. Why Does Surprisal From Larger Transformer-Based Language Models Provide a Poorer Fit to Human Reading Times? Transactions of the Association for Computational Linguistics, 11:336-350.
|
| 319 |
+
Long Ouyang, Jeff Wu, Xu Jiang, Diogo Almeida, Carroll L. Wainwright, Pamela Mishkin, Chong Zhang, Sandhini Agarwal, Katarina Slama, Alex Ray, John Schulman, Jacob Hilton, Fraser Kelton, Luke Miller, Maddie Simens, Amanda Askell, Peter Welinder, Paul Christiano, Jan Leike, and Ryan Lowe. 2022. Training language models to follow instructions with human feedback. ArXiv:2203.02155 [cs].
|
| 320 |
+
Alec Radford, Jeffrey Wu, Rewon Child, David Luan, Dario Amodei, and Ilya Sutskever. 2019. Language Models are Unsupervised Multitask Learners.
|
| 321 |
+
Alessandro Raganato and Jörg Tiedemann. 2018. An analysis of encoder representations in transformer-based machine translation. In Proceedings of the 2018 EMNLP Workshop BlackboxNLP: Analyzing and Interpreting Neural Networks for NLP, pages 287-297, Brussels, Belgium. Association for Computational Linguistics.
|
| 322 |
+
Victor Sanh, Albert Webson, Colin Raffel, Stephen H. Bach, Lintang Sutawika, Zaid Alyafeai, Antoine Chaffin, Arnaud Stiegler, Teven Le Scao, Arun Raja, Manan Dey, M. Saiful Bari, Canwen Xu, Urmish Thakker, Shanya Sharma Sharma, Eliza Szczechla, Taewoon Kim, Gunjan Chhablani, Nihal Nayak, Debajyoti Datta, Jonathan Chang, Mike Tian-Jian Jiang, Han Wang, Matteo Manica, Sheng Shen, Zheng Xin Yong, Harshit Pandey, Rachel Bawden, Thomas Wang, Trishala Neeraj, Jos Rozen, Abheesht Sharma, Andrea Santilli, Thibault Fevry, Jason Alan Fries, Ryan Teehan, Tali Bers, Stella Biderman, Leo Gao, Thomas Wolf, and Alexander M. Rush. 2022. Multitask Prompted Training Enables Zero-Shot Task Generalization. ArXiv:2110.08207 [cs].
|
| 323 |
+
Martin Schrimpf, Idan Asher Blank, Greta Tuckute, Carina Kauf, Eghbal A Hosseini, Nancy Kanwisher, Joshua B Tenenbaum, and Evelina Fedorenko. 2021. The neural architecture of language: Integrative modeling converges on predictive processing. Proceedings of the National Academy of Sciences, 118(45):e2105646118.
|
| 324 |
+
Sofia Serrano and Noah A. Smith. 2019. Is attention interpretable? In Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics, pages 2931-2951, Florence, Italy. Association for Computational Linguistics.
|
| 325 |
+
Ekta Sood, Simon Tannert, Philipp Müller, and Andreas Bulling. 2020. Improving natural language processing tasks with human gaze-guided neural attention.
|
| 326 |
+
|
| 327 |
+
Advances in Neural Information Processing Systems, 33:6327-6341.
|
| 328 |
+
|
| 329 |
+
Rohan Taori, Ishaan Gulrajani, Tianyi Zhang, Yann Dubois, Xuechen Li, Carlos Guestrin, Percy Liang, and Tatsunori B. Hashimoto. 2023. Stanford alpaca: An instruction-following llama model. https://github.com/tatsu-lab/stanford_alpaca.
|
| 330 |
+
|
| 331 |
+
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. 2023. Llama: Open and efficient foundation language models.
|
| 332 |
+
|
| 333 |
+
Shikhar Vashisth, Shyam Upadhyay, Gaurav Singh Tomar, and Manaal Faruqui. 2019. Attention interpretability across nlp tasks. arXiv preprint arXiv:1909.11218.
|
| 334 |
+
|
| 335 |
+
Jesse Vig and Yonatan Belinkov. 2019. Analyzing the structure of attention in a transformer language model. In Proceedings of the 2019 ACL Workshop BlackboxNLP: Analyzing and Interpreting Neural Networks for NLP, pages 63-76, Florence, Italy. Association for Computational Linguistics.
|
| 336 |
+
|
| 337 |
+
Elena Voita, David Talbot, Fedor Moiseev, Rico Senrich, and Ivan Titov. 2019. Analyzing multi-head self-attention: Specialized heads do the heavy lifting, the rest can be pruned. In Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics, pages 5797-5808, Florence, Italy. Association for Computational Linguistics.
|
| 338 |
+
|
| 339 |
+
Titus von der Malsburg, Reinhold Kliegl, and Shravan Vasisith. 2015. Determinants of Scanpath Regularity in Reading. Cognitive Science, 39(7):1675-1703.
|
| 340 |
+
|
| 341 |
+
Titus von der Malsburg and Shravan Vasishth. 2013. Scanpaths reveal syntactic underspecification and reanalysis strategies. Language and Cognitive Processes, 28(10):1545-1578.
|
| 342 |
+
|
| 343 |
+
Jeffrey J. Walczyk and Robert W. Taylor. 1996. How do the efficiencies of reading subcomponents relate to looking back in text? Journal of Educational Psychology, 88(3):537-545.
|
| 344 |
+
|
| 345 |
+
Yizhong Wang, Yeganeh Kordi, Swaroop Mishra, Alisa Liu, Noah A. Smith, Daniel Khashabi, and Hannaneh Hajishirzi. 2023. Self-Instruct: Aligning Language Models with Self-Generated Instructions. ArXiv:2212.10560 [cs].
|
| 346 |
+
|
| 347 |
+
Jason Wei, Maarten Bosma, Vincent Zhao, Kelvin Guu, Adams Wei Yu, Brian Lester, Nan Du, Andrew M Dai, and Quoc V Le. 2022. Finetuned language models are zero-shot learners. In International Conference on Learning Representations.
|
| 348 |
+
|
| 349 |
+
Sarah Wiegrefe and Yuval Pinter. 2019. Attention is not explanation. In Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference
|
| 350 |
+
|
| 351 |
+
on Natural Language Processing (EMNLP-IJCNLP), pages 11-20, Hong Kong, China. Association for Computational Linguistics.
|
| 352 |
+
|
| 353 |
+
# A Attention divergence on plain and noise-prefix text
|
| 354 |
+
|
| 355 |
+
As shown in Figure 10, the divergence between plain and noise-prefixed text of Alpaca and Vicuna is not significantly higher than LLaMA in most of the layers, which further supports our findings on the higher instruction sensitivity of instruction-tuned models.
|
| 356 |
+
|
| 357 |
+

|
| 358 |
+
|
| 359 |
+

|
| 360 |
+
Figure 10: Attention divergence on the original and noise-attached text of 7B and 13B models.
|
| 361 |
+
|
| 362 |
+
# B Layerwise trivial pattern reliance
|
| 363 |
+
|
| 364 |
+
Figure 11 shows the layerwise trivial pattern reliance of 7B and 13B models, as well as the results for LLaMA 30B. The reliance keeps decreasing as the model size scales up, especially in the deeper layers.
|
| 365 |
+
|
| 366 |
+
# C Layers with significant changes in human resemblance after instruction tuning
|
| 367 |
+
|
| 368 |
+
Table 6 shows the list of layers in 7B Alpaca and Vicuna with significant change in human resemblance after instruction tuning compared with LLaMA, and Table 7 shows the list in 13B.
|
| 369 |
+
|
| 370 |
+
# D Preliminary fMRI results
|
| 371 |
+
|
| 372 |
+
Some preliminary analysis on the fMRI data in the Reading Brain dataset is done, and the results com
|
| 373 |
+
|
| 374 |
+

|
| 375 |
+
|
| 376 |
+

|
| 377 |
+
|
| 378 |
+

|
| 379 |
+
|
| 380 |
+

|
| 381 |
+
Figure 11: Lyerwise trivial pattern reliance of 7B and 13B models. "RB" stands for "Reading Brain".
|
| 382 |
+
|
| 383 |
+
ply with our findings on saccade data. We investigate several linguistics-related brain regions, and find that the highest correlation of fMRI signals to model attention are from the anterior left temporal gyrus (Figure 12). The fMRI data from this region is pre-processed into matrix forms as saccade data. Figure 14 gives examples of individual and group mean fMRI matrices.
|
| 384 |
+
|
| 385 |
+
The findings are: (1) The models' NTP loss significantly $(p < 0.02$ for both L1 and L2) and strongly negatively $(r = -0.777$ for L1, $r = -0.796$ for L2) correlates with fMRI resemblance (Figure 13); (2) The models' highest layerwise fMRI resemblance significantly $(r > 0.99$ , $p < 0.001$ for both L1 and L2) correlates with the model scale in logarithm (Figure 15, 16); (3) While scal
|
| 386 |
+
|
| 387 |
+
<table><tr><td>Relation</td><td>Group</td><td>Alpaca</td><td>Vicuna</td></tr><tr><td rowspan="2">Higher</td><td>L1</td><td>2, 5, 7</td><td>12, 13, 17, 18, 21, 26, 28, 29, 30</td></tr><tr><td>L2</td><td>2, 5, 6, 8, 12, 15, 21, 27</td><td>3, 13, 15, 18, 21, 23, 26, 28, 29, 30</td></tr><tr><td rowspan="2">Lower</td><td>L1</td><td>4, 10, 23, 31</td><td>0, 1, 4, 5, 9, 11, 20, 31</td></tr><tr><td>L2</td><td>0, 10, 14, 19, 23, 28, 31</td><td>0, 1, 4, 5, 9, 11, 14, 20, 31</td></tr></table>
|
| 388 |
+
|
| 389 |
+
Table 6: Layers of Alpaca and Vicuna with significantly higher or lower human resemblance compared with LLaMA in 7B.
|
| 390 |
+
|
| 391 |
+
<table><tr><td>Relation</td><td>Group</td><td>Alpaca</td><td>Vicuna</td></tr><tr><td rowspan="2">Higher</td><td>L1</td><td>16, 32, 33, 36</td><td>4, 16, 27, 33, 36</td></tr><tr><td>L2</td><td>1, 16, 19, 27, 32, 33, 36</td><td>4, 16, 19, 23, 27, 33, 36, 37</td></tr><tr><td rowspan="2">Lower</td><td>L1</td><td>0, 2, 3, 5, 6, 7, 8, 9, 14, 18, 24, 25, 28, 30, 35, 39</td><td>0, 1, 3, 5, 6, 9, 10, 14, 17, 18, 24, 30, 34, 39</td></tr><tr><td>L2</td><td>0, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 14, 15, 17, 18, 20, 24, 25, 28, 29, 30, 31, 35, 38, 39</td><td>0, 2, 3, 5, 6, 8, 9, 10, 11, 12, 14, 17, 18, 20, 21 30</td></tr></table>
|
| 392 |
+
|
| 393 |
+
Table 7: Layers of Alpaca and Vicuna with significantly higher or lower human resemblance compared with LLaMA in 13B.
|
| 394 |
+
|
| 395 |
+
ing enhances human fMRI resemblance, instruction tuning does not (Table 8); (4) Resemblance to L2 fMRI is consistently higher than that to L1.
|
| 396 |
+
|
| 397 |
+

|
| 398 |
+
Figure 12: An illustration of the anterior left temporal gyrus in the human brain.
|
| 399 |
+
|
| 400 |
+

|
| 401 |
+
Figure 13: The correlation between per-token negative log likelihood loss and max layerwise fMRI resemblance of the LLMs.
|
| 402 |
+
|
| 403 |
+
<table><tr><td colspan="2">Model</td><td colspan="2">Resemblance(%)</td></tr><tr><td>Size</td><td>Name</td><td>L1</td><td>L2</td></tr><tr><td rowspan="3">7B</td><td>LLaMA</td><td>11.02</td><td>15.45</td></tr><tr><td>Alpaca</td><td>10.99</td><td>15.61</td></tr><tr><td>Vicuna</td><td>11.35</td><td>15.44</td></tr><tr><td rowspan="3">13B</td><td>LLaMA</td><td>14.69</td><td>20.19</td></tr><tr><td>Alpaca</td><td>14.67</td><td>19.44</td></tr><tr><td>Vicuna</td><td>14.02</td><td>18.57</td></tr></table>
|
| 404 |
+
|
| 405 |
+
Table 8: Max layerwise human fMRI resemblance scores of pretrained and instruction tuned models. This shows instruction tuning causes small decline in the max layerwise human resemblance.
|
| 406 |
+
|
| 407 |
+

|
| 408 |
+
(a) Individual
|
| 409 |
+
|
| 410 |
+

|
| 411 |
+
(b) Group Mean
|
| 412 |
+
|
| 413 |
+

|
| 414 |
+
|
| 415 |
+

|
| 416 |
+
Figure 15: Layerwise L1 and L2 human fMRI resemblance for different sized pretrained models.
|
| 417 |
+
|
| 418 |
+

|
| 419 |
+
Figure 14: Examples of individual and group mean fMRI signals of the sentence "Could humans live on Mars some day?"
|
| 420 |
+
Figure 16: The change of max layerwise human fMRI resemblance caused by scaling. The x-axis is log scaled.
|
2023/Roles of Scaling and Instruction Tuning in Language Perception_ Model vs. Human Attention/images.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4e9aa0298199286d7eddd39762bec5ccbd79a52401fe9f195560d75c366c036e
|
| 3 |
+
size 655414
|
2023/Roles of Scaling and Instruction Tuning in Language Perception_ Model vs. Human Attention/layout.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2023/Romanization-based Large-scale Adaptation of Multilingual Language Models/1a02cba7-8ebc-4f20-8832-cb43efde101d_content_list.json
ADDED
|
@@ -0,0 +1,1342 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"type": "text",
|
| 4 |
+
"text": "Romanization-based Large-scale Adaptation of Multilingual Language Models",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
268,
|
| 8 |
+
79,
|
| 9 |
+
729,
|
| 10 |
+
118
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Sukannya Purkayastha<sup>1</sup>, Sebastian Ruder<sup>2</sup>, Jonas Pfeiffer<sup>2</sup>, Iryna Gurevych<sup>1</sup>, Ivan Vulić<sup>3</sup>",
|
| 17 |
+
"bbox": [
|
| 18 |
+
115,
|
| 19 |
+
124,
|
| 20 |
+
885,
|
| 21 |
+
142
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "<sup>1</sup> Ubiquitous Knowledge Processing Lab,",
|
| 28 |
+
"bbox": [
|
| 29 |
+
332,
|
| 30 |
+
143,
|
| 31 |
+
670,
|
| 32 |
+
158
|
| 33 |
+
],
|
| 34 |
+
"page_idx": 0
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"type": "text",
|
| 38 |
+
"text": "Department of Computer Science and Hessian Center for AI (hessian.AI),",
|
| 39 |
+
"bbox": [
|
| 40 |
+
201,
|
| 41 |
+
159,
|
| 42 |
+
801,
|
| 43 |
+
175
|
| 44 |
+
],
|
| 45 |
+
"page_idx": 0
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"type": "text",
|
| 49 |
+
"text": "Technical University of Darmstadt",
|
| 50 |
+
"bbox": [
|
| 51 |
+
359,
|
| 52 |
+
175,
|
| 53 |
+
642,
|
| 54 |
+
191
|
| 55 |
+
],
|
| 56 |
+
"page_idx": 0
|
| 57 |
+
},
|
| 58 |
+
{
|
| 59 |
+
"type": "text",
|
| 60 |
+
"text": "Google DeepMind",
|
| 61 |
+
"bbox": [
|
| 62 |
+
416,
|
| 63 |
+
192,
|
| 64 |
+
584,
|
| 65 |
+
208
|
| 66 |
+
],
|
| 67 |
+
"page_idx": 0
|
| 68 |
+
},
|
| 69 |
+
{
|
| 70 |
+
"type": "text",
|
| 71 |
+
"text": "$^{3}$ Language Technology Lab, University of Cambridge",
|
| 72 |
+
"bbox": [
|
| 73 |
+
280,
|
| 74 |
+
209,
|
| 75 |
+
722,
|
| 76 |
+
225
|
| 77 |
+
],
|
| 78 |
+
"page_idx": 0
|
| 79 |
+
},
|
| 80 |
+
{
|
| 81 |
+
"type": "text",
|
| 82 |
+
"text": "www.ukp.tu-darmstadt.de",
|
| 83 |
+
"bbox": [
|
| 84 |
+
359,
|
| 85 |
+
227,
|
| 86 |
+
640,
|
| 87 |
+
241
|
| 88 |
+
],
|
| 89 |
+
"page_idx": 0
|
| 90 |
+
},
|
| 91 |
+
{
|
| 92 |
+
"type": "text",
|
| 93 |
+
"text": "Abstract",
|
| 94 |
+
"text_level": 1,
|
| 95 |
+
"bbox": [
|
| 96 |
+
260,
|
| 97 |
+
252,
|
| 98 |
+
339,
|
| 99 |
+
266
|
| 100 |
+
],
|
| 101 |
+
"page_idx": 0
|
| 102 |
+
},
|
| 103 |
+
{
|
| 104 |
+
"type": "text",
|
| 105 |
+
"text": "Large multilingual pretrained language models (mPLMs) have become the de facto state of the art for cross-lingual transfer in NLP. However, their large-scale deployment to many languages, besides pretraining data scarcity, is also hindered by the increase in vocabulary size and limitations in their parameter budget. In order to boost the capacity of mPLMs to deal with low-resource and unseen languages, we explore the potential of leveraging transliteration on a massive scale. In particular, we explore the UROMAN transliteration tool, which provides mappings from UTF-8 to Latin characters for all the writing systems, enabling inexpensive romanization for virtually any language. We first focus on establishing how UROMAN compares against other language-specific and manually curated transliterators for adapting multilingual PLMs. We then study and compare a plethora of data- and parameter-efficient strategies for adapting the mPLMs to romanized and non-romanized corpora of 14 diverse low-resource languages. Our results reveal that UROMAN-based transliteration can offer strong performance for many languages, with particular gains achieved in the most challenging setups: on languages with unseen scripts and with limited training data without any vocabulary augmentation. Further analyses reveal that an improved tokenizer based on romanized data can even outperform non-transliteration-based methods in the majority of languages.",
|
| 106 |
+
"bbox": [
|
| 107 |
+
144,
|
| 108 |
+
280,
|
| 109 |
+
460,
|
| 110 |
+
734
|
| 111 |
+
],
|
| 112 |
+
"page_idx": 0
|
| 113 |
+
},
|
| 114 |
+
{
|
| 115 |
+
"type": "text",
|
| 116 |
+
"text": "1 Introduction",
|
| 117 |
+
"text_level": 1,
|
| 118 |
+
"bbox": [
|
| 119 |
+
114,
|
| 120 |
+
747,
|
| 121 |
+
258,
|
| 122 |
+
763
|
| 123 |
+
],
|
| 124 |
+
"page_idx": 0
|
| 125 |
+
},
|
| 126 |
+
{
|
| 127 |
+
"type": "text",
|
| 128 |
+
"text": "Massively multilingual language models (mPLMs) such as mBERT (Devlin et al., 2019) and XLM-R (Conneau et al., 2020) have become the driving force for a variety of applications in multilingual NLP (Ponti et al., 2020; Hu et al., 2020; Moghe et al., 2023). However, guaranteeing and maintaining strong performance for a wide spectrum of low-resource languages is difficult due to two crucial problems. The first issue is the vocabulary",
|
| 129 |
+
"bbox": [
|
| 130 |
+
112,
|
| 131 |
+
774,
|
| 132 |
+
489,
|
| 133 |
+
919
|
| 134 |
+
],
|
| 135 |
+
"page_idx": 0
|
| 136 |
+
},
|
| 137 |
+
{
|
| 138 |
+
"type": "table",
|
| 139 |
+
"img_path": "images/8756bb25e844410f100eaba69877e4802d56b0792e642e1c5fb13ec2152b6cd6.jpg",
|
| 140 |
+
"table_caption": [],
|
| 141 |
+
"table_footnote": [],
|
| 142 |
+
"table_body": "<table><tr><td>Language</td><td>Original Text</td><td>Romanized Text</td><td>Translation</td></tr><tr><td>Bhojpuri</td><td>बाल्दियम् गार्वा</td><td>jorjiyan bhaasaas</td><td>Georgian language</td></tr><tr><td>Sinhala</td><td>सिकूल्तिूल्तिूल्तिूल्तिूल्तिूल्तिू�िूल्तिूल्तिूल्तिू�िू�िू�िू�िू�िू�िू�िू�िू�िू�िू�िू�िू�िू�िू�िू�िू�िू�िू�िू�िू�िू�िू�िू�िू�िू�र्था</td><td></td><td></td></tr><tr><td>Sindhi</td><td>सिकूल्तिूल्तिूल्तिू�िू�िू�िू�र्था</td><td>grahalooka</td><td>planets</td></tr><tr><td>Khmer</td><td>khμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμ μμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμµμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμmu μμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμµ μμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμ μ μμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμum μ μμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ µ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μµ μµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµüµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµúµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµ µµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµ₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₃₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₂₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₁₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀⁻⁶⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁷⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁹⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸��⁸⁸⁶⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁷⁹⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁷⁰⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁵⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁴⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁽⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁻⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁼⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸ⁱ⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁅⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁰⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₃⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄²⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄⁄₂⁄⁄₂⁄⁄₂⁄⁄₂⁄⁄₂⁄⁄₂⁄⁄₂⁄⁄₂⁄⁄₂⁄⁄₂⁄⁄₂⁄⁄₂⁄⁄₂⁄⁄₂⁄⁄₂⁄⁄₂⁄⁄₂⁄⁄₂⁄⁄₂⁄⁄₂⁄⁄₂⁄⁄₂⁄⁄₂⁄⁄₂⁄⁄₂⁄.\n<|im_start|>assistant</td><td>Bhojpuri</td><td>BJJUJIJIJIJIJIJIJIJIJIJIJIJIJIJIJIJIJIJIJIJIJIJIJIJIJIJ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JJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJ</td></tr></table>",
|
| 143 |
+
"bbox": [
|
| 144 |
+
512,
|
| 145 |
+
250,
|
| 146 |
+
873,
|
| 147 |
+
315
|
| 148 |
+
],
|
| 149 |
+
"page_idx": 0
|
| 150 |
+
},
|
| 151 |
+
{
|
| 152 |
+
"type": "text",
|
| 153 |
+
"text": "Figure 1: Romanization across different languages.",
|
| 154 |
+
"bbox": [
|
| 155 |
+
519,
|
| 156 |
+
325,
|
| 157 |
+
870,
|
| 158 |
+
340
|
| 159 |
+
],
|
| 160 |
+
"page_idx": 0
|
| 161 |
+
},
|
| 162 |
+
{
|
| 163 |
+
"type": "text",
|
| 164 |
+
"text": "size, as the vocabulary is bound to increase with the number of languages added if per-language performance is to be maintained (Hu et al., 2020; Artetxe et al., 2020; Pfeiffer et al., 2022). Second, pretraining mPLMs with a fixed model capacity improves cross-lingual performance up to a point after which it starts to decrease; this is the phenomenon termed the curse of multilinguality (Conneau et al., 2020).",
|
| 165 |
+
"bbox": [
|
| 166 |
+
507,
|
| 167 |
+
366,
|
| 168 |
+
884,
|
| 169 |
+
495
|
| 170 |
+
],
|
| 171 |
+
"page_idx": 0
|
| 172 |
+
},
|
| 173 |
+
{
|
| 174 |
+
"type": "text",
|
| 175 |
+
"text": "Transliteration refers to the process of converting language represented in one writing system to another (Wellisch et al., 1978). Latin script-centered transliteration or romanization is the most common form of transliteration (Lin et al., 2018; Amrhein and Sennrich, 2020; Demirsin et al., 2022) as the Latin/Roman script is by far the most widely adopted writing script in the world (Daniels and Bright, 1996; van Esch et al., 2022). Adapting mPLMs via transliteration can address the two aforementioned critical issues. 1) Since the Latin script covers a dominant portion of the mPLM's vocabulary (e.g., $77\\%$ in case of mBERT, see Ács), 'romanizing' the remaining part of the vocabulary might mitigate the vocabulary size issue and boost vocabulary sharing. 2) Since no new tokens are added during the romanization process, reusing pretrained embeddings from the mPLM's embedding matrix helps reuse the information already present within the mPLM, thereby allocating the model's parameter budget more efficiently.",
|
| 176 |
+
"bbox": [
|
| 177 |
+
507,
|
| 178 |
+
495,
|
| 179 |
+
884,
|
| 180 |
+
833
|
| 181 |
+
],
|
| 182 |
+
"page_idx": 0
|
| 183 |
+
},
|
| 184 |
+
{
|
| 185 |
+
"type": "text",
|
| 186 |
+
"text": "However, the main drawback of transliteration seems to be the expensive process of creating effective language-specific transliterations, as they",
|
| 187 |
+
"bbox": [
|
| 188 |
+
507,
|
| 189 |
+
834,
|
| 190 |
+
882,
|
| 191 |
+
882
|
| 192 |
+
],
|
| 193 |
+
"page_idx": 0
|
| 194 |
+
},
|
| 195 |
+
{
|
| 196 |
+
"type": "page_footnote",
|
| 197 |
+
"text": "<sup>1</sup>According to Encyclopedia Britannica, up to 70% of the world population is employing the Latin script.",
|
| 198 |
+
"bbox": [
|
| 199 |
+
507,
|
| 200 |
+
892,
|
| 201 |
+
882,
|
| 202 |
+
917
|
| 203 |
+
],
|
| 204 |
+
"page_idx": 0
|
| 205 |
+
},
|
| 206 |
+
{
|
| 207 |
+
"type": "page_number",
|
| 208 |
+
"text": "7996",
|
| 209 |
+
"bbox": [
|
| 210 |
+
480,
|
| 211 |
+
927,
|
| 212 |
+
519,
|
| 213 |
+
940
|
| 214 |
+
],
|
| 215 |
+
"page_idx": 0
|
| 216 |
+
},
|
| 217 |
+
{
|
| 218 |
+
"type": "footer",
|
| 219 |
+
"text": "Findings of the Association for Computational Linguistics: EMNLP 2023, pages 7996-8005",
|
| 220 |
+
"bbox": [
|
| 221 |
+
216,
|
| 222 |
+
945,
|
| 223 |
+
779,
|
| 224 |
+
958
|
| 225 |
+
],
|
| 226 |
+
"page_idx": 0
|
| 227 |
+
},
|
| 228 |
+
{
|
| 229 |
+
"type": "footer",
|
| 230 |
+
"text": "December 6-10, 2023 ©2023 Association for Computational Linguistics",
|
| 231 |
+
"bbox": [
|
| 232 |
+
277,
|
| 233 |
+
958,
|
| 234 |
+
719,
|
| 235 |
+
971
|
| 236 |
+
],
|
| 237 |
+
"page_idx": 0
|
| 238 |
+
},
|
| 239 |
+
{
|
| 240 |
+
"type": "text",
|
| 241 |
+
"text": "typically require language expertise to curate dictionaries that map tokens from one language and script to another. Therefore, previous attempts at mPLM adaptation to unseen languages via transliteration (Muller et al., 2021; Chau and Smith, 2021; Dhamecha et al., 2021; Moosa et al., 2023) were constrained to a handful of languages due to the limited availability of language-specific translit-. rators, or were applied only to languages that have 'language siblings' with developed translitators.",
|
| 242 |
+
"bbox": [
|
| 243 |
+
110,
|
| 244 |
+
84,
|
| 245 |
+
489,
|
| 246 |
+
244
|
| 247 |
+
],
|
| 248 |
+
"page_idx": 1
|
| 249 |
+
},
|
| 250 |
+
{
|
| 251 |
+
"type": "text",
|
| 252 |
+
"text": "In this work, unlike previous work, we propose to use and then evaluate the usefulness of a universal romanization tool, UROMAN (Hermjakob et al., 2018), for quick, large-scale and effective adaptation of mPLMs to low-resource languages. The UROMAN tool disposes of language-specific curated dictionaries and maps any UTF-8 character to the Latin script, increasing the portability of romanization, with some examples in Figure 1.",
|
| 253 |
+
"bbox": [
|
| 254 |
+
110,
|
| 255 |
+
246,
|
| 256 |
+
489,
|
| 257 |
+
391
|
| 258 |
+
],
|
| 259 |
+
"page_idx": 1
|
| 260 |
+
},
|
| 261 |
+
{
|
| 262 |
+
"type": "text",
|
| 263 |
+
"text": "We analyze language adaptation on a massive scale via UROMAN-based romanization on a set of 14 diverse low-resource languages. We conduct experiments within the standard parameter-efficient adapter-based cross-lingual transfer setup on two tasks: Named Entity Recognition (NER) on the WikiANN dataset (Pan et al., 2017; Rahimi et al., 2019), and Dependency Parsing (DP) with Universal Dependencies v2.7 (Nivre et al., 2020). Our key results suggest that UROMAN-based transliteration can offer strong performance on par or even outperforming adaptation with language-specific transliterrators, setting up the basis for wider use of transliteration-based mPLM adaptation techniques in future work. The gains with romanization-based adaptation over standard adaptation baselines are particularly pronounced for languages with unseen scripts ( $\\sim$ 8-22 performance points) without any vocabulary augmentation.[2]",
|
| 264 |
+
"bbox": [
|
| 265 |
+
110,
|
| 266 |
+
392,
|
| 267 |
+
489,
|
| 268 |
+
697
|
| 269 |
+
],
|
| 270 |
+
"page_idx": 1
|
| 271 |
+
},
|
| 272 |
+
{
|
| 273 |
+
"type": "text",
|
| 274 |
+
"text": "2 Background",
|
| 275 |
+
"text_level": 1,
|
| 276 |
+
"bbox": [
|
| 277 |
+
112,
|
| 278 |
+
712,
|
| 279 |
+
257,
|
| 280 |
+
728
|
| 281 |
+
],
|
| 282 |
+
"page_idx": 1
|
| 283 |
+
},
|
| 284 |
+
{
|
| 285 |
+
"type": "text",
|
| 286 |
+
"text": "Why UROMAN-Based Romanization? UROMAN-based romanization is not always fully reversible, and its usage for transliteration has thus been limited in the literature. However, due to its high portability, UROMAN can help scale the process of transliteration massively and as such benefit low-resource scenarios and wider adaptation of mPLMs. The main idea, as hinted in §1, is to (learn to) map",
|
| 287 |
+
"bbox": [
|
| 288 |
+
112,
|
| 289 |
+
740,
|
| 290 |
+
489,
|
| 291 |
+
869
|
| 292 |
+
],
|
| 293 |
+
"page_idx": 1
|
| 294 |
+
},
|
| 295 |
+
{
|
| 296 |
+
"type": "text",
|
| 297 |
+
"text": "any UTF-8 character to the Latin script, without the use of any external language-specific dictionaries (see Hermjakob et al. (2018) for technical details).",
|
| 298 |
+
"bbox": [
|
| 299 |
+
507,
|
| 300 |
+
84,
|
| 301 |
+
884,
|
| 302 |
+
134
|
| 303 |
+
],
|
| 304 |
+
"page_idx": 1
|
| 305 |
+
},
|
| 306 |
+
{
|
| 307 |
+
"type": "text",
|
| 308 |
+
"text": "Cross-Lingual Transfer to Low-Resource Languages. Parameter-efficient and modular finetuning methods (Pfeiffer et al., 2023) such as adapters (Houlsby et al., 2019; Pfeiffer et al., 2020b) have been used for cross-lingual transfer, putting a particular focus on enabling transfer to low-resource languages and scenarios, including languages with scripts 'unseen' by the base mPLM (Pfeiffer et al., 2021). Adapters are small lightweight components stitched into the base mPLM, and then trained for particular languages and tasks while keeping the parameters of the original mPLM frozen. This circumvents the issues of catastrophic forgetting and interference (McCloskey and Cohen, 1989) within the mPLM, and allows for extending its reach also to unseen languages (Pfeiffer et al., 2021; Ansell et al., 2021).",
|
| 309 |
+
"bbox": [
|
| 310 |
+
507,
|
| 311 |
+
137,
|
| 312 |
+
884,
|
| 313 |
+
412
|
| 314 |
+
],
|
| 315 |
+
"page_idx": 1
|
| 316 |
+
},
|
| 317 |
+
{
|
| 318 |
+
"type": "text",
|
| 319 |
+
"text": "For our main empirical analyses, we adopt a state-of-the-art modular method for cross-lingual transfer: MAD-X (Pfeiffer et al., 2020b). In short, MAD-X is based on language adapters (LA), task adapters (TA), and invertible adapters (INV). While LAs are trained for specific languages relying on masked language modeling, TAs are trained with high-resource languages relying on task-annotated data and task-specific objectives. At inference, the source LA is replaced with the target LA while the TA is kept. In order to do parameter-efficient learning for the token-level embeddings across different languages and to deal with the vocabulary mismatch between source and target languages, Pfeiffer et al. (2020b) also propose INV adapters: they are placed on top of the embedding layer and their inverses precede the output embedding layer.<sup>3</sup> We adopt the better-performing MAD-X 2.0 setup (Pfeiffer et al., 2021) where the adapters in the last Transformer layer are dropped at inference.<sup>4</sup>",
|
| 320 |
+
"bbox": [
|
| 321 |
+
507,
|
| 322 |
+
413,
|
| 323 |
+
884,
|
| 324 |
+
736
|
| 325 |
+
],
|
| 326 |
+
"page_idx": 1
|
| 327 |
+
},
|
| 328 |
+
{
|
| 329 |
+
"type": "text",
|
| 330 |
+
"text": "3 Experiments and Results",
|
| 331 |
+
"text_level": 1,
|
| 332 |
+
"bbox": [
|
| 333 |
+
507,
|
| 334 |
+
749,
|
| 335 |
+
761,
|
| 336 |
+
766
|
| 337 |
+
],
|
| 338 |
+
"page_idx": 1
|
| 339 |
+
},
|
| 340 |
+
{
|
| 341 |
+
"type": "text",
|
| 342 |
+
"text": "As the main means of analyzing the impact of transliteration in general and UROMAN-based romanization in particular, we train different variants of language adapters within the MAD-X framework, based on transliterated and non-transliterated",
|
| 343 |
+
"bbox": [
|
| 344 |
+
507,
|
| 345 |
+
777,
|
| 346 |
+
884,
|
| 347 |
+
857
|
| 348 |
+
],
|
| 349 |
+
"page_idx": 1
|
| 350 |
+
},
|
| 351 |
+
{
|
| 352 |
+
"type": "page_footnote",
|
| 353 |
+
"text": "$^{2}$ Code and data available at https://github.com/UKPLab/emnlp23_romanization_based_adaptation",
|
| 354 |
+
"bbox": [
|
| 355 |
+
112,
|
| 356 |
+
879,
|
| 357 |
+
489,
|
| 358 |
+
917
|
| 359 |
+
],
|
| 360 |
+
"page_idx": 1
|
| 361 |
+
},
|
| 362 |
+
{
|
| 363 |
+
"type": "page_footnote",
|
| 364 |
+
"text": "3They are trained together with the LAs while the rest of the mPLM is kept frozen.",
|
| 365 |
+
"bbox": [
|
| 366 |
+
507,
|
| 367 |
+
866,
|
| 368 |
+
882,
|
| 369 |
+
892
|
| 370 |
+
],
|
| 371 |
+
"page_idx": 1
|
| 372 |
+
},
|
| 373 |
+
{
|
| 374 |
+
"type": "page_footnote",
|
| 375 |
+
"text": "4We refer the reader to the original papers for further technical details regarding the MAD-X framework.",
|
| 376 |
+
"bbox": [
|
| 377 |
+
507,
|
| 378 |
+
892,
|
| 379 |
+
882,
|
| 380 |
+
917
|
| 381 |
+
],
|
| 382 |
+
"page_idx": 1
|
| 383 |
+
},
|
| 384 |
+
{
|
| 385 |
+
"type": "page_number",
|
| 386 |
+
"text": "7997",
|
| 387 |
+
"bbox": [
|
| 388 |
+
480,
|
| 389 |
+
927,
|
| 390 |
+
519,
|
| 391 |
+
940
|
| 392 |
+
],
|
| 393 |
+
"page_idx": 1
|
| 394 |
+
},
|
| 395 |
+
{
|
| 396 |
+
"type": "table",
|
| 397 |
+
"img_path": "images/d42bbd3ecbeebbeac8ab08be9e8d19a45d4ee91791b211e956e606f6ffc629c0.jpg",
|
| 398 |
+
"table_caption": [],
|
| 399 |
+
"table_footnote": [],
|
| 400 |
+
"table_body": "<table><tr><td>Language</td><td>Family</td><td>Script</td><td># Sentences</td></tr><tr><td>Bhojpuri (bh)</td><td>Indo-European</td><td>Devanagari</td><td>35,983</td></tr><tr><td>Buryat (bxr)</td><td>Mongolic</td><td>Cyrillic</td><td>41,692</td></tr><tr><td>Erzya (myv)</td><td>Uralic</td><td>Cyrillic</td><td>42,575</td></tr><tr><td>Meadow Mari (mhr)</td><td>Uralic</td><td>Cyrillic</td><td>144,529</td></tr><tr><td>Min Dong (cdo)</td><td>Sino-Tibetan</td><td>Chinese</td><td>33,978</td></tr><tr><td>Mingrelian (xmf)</td><td>Kartvelian</td><td>Georgian</td><td>63,032</td></tr><tr><td>Sindhi (sd)</td><td>Indo-European</td><td>Arabic</td><td>86,176</td></tr><tr><td>Sorani Kurdish (ckb)</td><td>Indo-European</td><td>Arabic</td><td>459,475</td></tr><tr><td>Uyghur (ug)</td><td>Turkic</td><td>Arabic</td><td>149,813</td></tr><tr><td>Amháric (am)</td><td>Afro-Asiatic</td><td>Ge'ez</td><td>88,320</td></tr><tr><td>Divehi (dv)</td><td>Indo-European</td><td>Thaana</td><td>34,779</td></tr><tr><td>Khmer (km)</td><td>Austroasiatic</td><td>Khmer</td><td>139,704</td></tr><tr><td>Sinhala (si)</td><td>Indo-European</td><td>Sinhala</td><td>219,866</td></tr><tr><td>Tibetan (bo)</td><td>Sino-Tibetan</td><td>Tibetan</td><td>131,362</td></tr></table>",
|
| 401 |
+
"bbox": [
|
| 402 |
+
117,
|
| 403 |
+
80,
|
| 404 |
+
485,
|
| 405 |
+
239
|
| 406 |
+
],
|
| 407 |
+
"page_idx": 2
|
| 408 |
+
},
|
| 409 |
+
{
|
| 410 |
+
"type": "text",
|
| 411 |
+
"text": "Table 1: Languages with their ISO 639-3 codes used in our evaluation, along with their script, language family, and number of sentences available for pretraining. The dashed line separates languages with unseen scripts, placed in the bottom part of the table.",
|
| 412 |
+
"bbox": [
|
| 413 |
+
112,
|
| 414 |
+
250,
|
| 415 |
+
489,
|
| 416 |
+
322
|
| 417 |
+
],
|
| 418 |
+
"page_idx": 2
|
| 419 |
+
},
|
| 420 |
+
{
|
| 421 |
+
"type": "text",
|
| 422 |
+
"text": "versions of target language data, outlined here.",
|
| 423 |
+
"bbox": [
|
| 424 |
+
112,
|
| 425 |
+
351,
|
| 426 |
+
460,
|
| 427 |
+
366
|
| 428 |
+
],
|
| 429 |
+
"page_idx": 2
|
| 430 |
+
},
|
| 431 |
+
{
|
| 432 |
+
"type": "text",
|
| 433 |
+
"text": "Variants with Non-Transliterated Data. For the Non-Trans $_{\\mathrm{LA} + \\mathrm{INV}}$ variant, we train LAs and INV adapters together. This variant serves to examine the extent to which mPLMs can adapt to unseen languages without any vocabulary extension. $^5$ We compare this to Non-Trans $_{\\mathrm{LA} + \\mathrm{Emb}_{\\mathrm{Lex}}}$ , which trains a new tokenizer for the target language (Pfeiffer et al., 2021): the so-called 'lexically overlapping' tokens are initialized with mPLM's trained embeddings, while the remaining embeddings are initialized randomly. All these embeddings (Emb $_{\\mathrm{Lex}}$ ) are fine-tuned along with LAs.",
|
| 434 |
+
"bbox": [
|
| 435 |
+
112,
|
| 436 |
+
374,
|
| 437 |
+
489,
|
| 438 |
+
567
|
| 439 |
+
],
|
| 440 |
+
"page_idx": 2
|
| 441 |
+
},
|
| 442 |
+
{
|
| 443 |
+
"type": "text",
|
| 444 |
+
"text": "Variants with Transliterated Data. We evaluate a $\\mathrm{Trans}_{\\mathrm{LA} + \\mathrm{INV}}$ variant, which uses the same setup as Non-Trans $\\mathrm{LA} + \\mathrm{INV}$ but now with transliterated data. We again note that in this efficient setup, we do not extend the vocabulary size, and use the fewest trainable parameters. In the $\\mathrm{Trans}_{\\mathrm{LA} + \\mathrm{mPLM}_{\\mathrm{ft}}}$ variant, we train LAs along with fine-tuning the pretrained embeddings of mPLM (mPLMft). This further enhances the model capacity by fine-tuning the embedding layer instead of using invertible adapters. For both variants, transliterated data can be produced via different transliterations: (i) language-specific ones; (ii) the ones from 'language siblings' (e.g., using a Georgian transliterator for Mingrelian), or (iii) UROMAN.",
|
| 445 |
+
"bbox": [
|
| 446 |
+
112,
|
| 447 |
+
575,
|
| 448 |
+
489,
|
| 449 |
+
816
|
| 450 |
+
],
|
| 451 |
+
"page_idx": 2
|
| 452 |
+
},
|
| 453 |
+
{
|
| 454 |
+
"type": "text",
|
| 455 |
+
"text": "3.1 Experimental Setup",
|
| 456 |
+
"text_level": 1,
|
| 457 |
+
"bbox": [
|
| 458 |
+
507,
|
| 459 |
+
84,
|
| 460 |
+
714,
|
| 461 |
+
99
|
| 462 |
+
],
|
| 463 |
+
"page_idx": 2
|
| 464 |
+
},
|
| 465 |
+
{
|
| 466 |
+
"type": "text",
|
| 467 |
+
"text": "Data, Languages and Tasks. Following Pfeiffer et al. (2021), we select mBERT as our base mPLM. We experiment with 14 typologically diverse low-resource languages that are not part of mBERT's pretraining corpora, with 5/14 languages written in distinct scripts (see Table 1 for details). For LA training, we use Wikipedia dumps for the target languages, which we also transliterate (using different translitators). Evaluation is conducted on two standard cross-lingual transfer tasks in zero-shot setups: 1) the WikiAnn NER dataset (Pan et al., 2017) with the train, dev, and test splits from (Rahimi et al., 2019); 2) for dependency parsing, we rely on the UD Dataset v2.7 (Nivre et al., 2020).",
|
| 468 |
+
"bbox": [
|
| 469 |
+
505,
|
| 470 |
+
105,
|
| 471 |
+
884,
|
| 472 |
+
330
|
| 473 |
+
],
|
| 474 |
+
"page_idx": 2
|
| 475 |
+
},
|
| 476 |
+
{
|
| 477 |
+
"type": "text",
|
| 478 |
+
"text": "LAs and TAs. English is the source language in all experiments, and is used for training TAs. The English LA is obtained directly from Adapterhub.ml (Pfeiffer et al., 2020a), LAs and embeddings (when needed) are only trained for target languages.",
|
| 479 |
+
"bbox": [
|
| 480 |
+
507,
|
| 481 |
+
335,
|
| 482 |
+
882,
|
| 483 |
+
416
|
| 484 |
+
],
|
| 485 |
+
"page_idx": 2
|
| 486 |
+
},
|
| 487 |
+
{
|
| 488 |
+
"type": "text",
|
| 489 |
+
"text": "Finally, for the Non-Trans $_{\\mathrm{LA + Emb_{Lex}}}$ variant, we train a WordPiece tokenizer on the target language data with a vocabulary size of 10K.",
|
| 490 |
+
"bbox": [
|
| 491 |
+
507,
|
| 492 |
+
417,
|
| 493 |
+
880,
|
| 494 |
+
463
|
| 495 |
+
],
|
| 496 |
+
"page_idx": 2
|
| 497 |
+
},
|
| 498 |
+
{
|
| 499 |
+
"type": "text",
|
| 500 |
+
"text": "Training of Language and Task Adapters. We train all the language adapters for 50 epochs or $\\sim 50K$ update steps based on the corpus size. The batch size is set to 64 and the learning rate is $1e - 4$ .",
|
| 501 |
+
"bbox": [
|
| 502 |
+
507,
|
| 503 |
+
470,
|
| 504 |
+
882,
|
| 505 |
+
533
|
| 506 |
+
],
|
| 507 |
+
"page_idx": 2
|
| 508 |
+
},
|
| 509 |
+
{
|
| 510 |
+
"type": "text",
|
| 511 |
+
"text": "We train English task adapters following the setup from (Pfeiffer et al., 2020b). For NER, we directly obtain the task adapter from Adapterhub.ml which is trained with a learning rate of $1e - 4$ for 10 epochs. For DP, we train a Transformer-based (Glavaš and Vulić, 2021) biaffine attention dependency parser (Dozat and Manning, 2017). We use a learning rate of $5e - 4$ and train for 10 epochs as in (Pfeiffer et al., 2021).",
|
| 512 |
+
"bbox": [
|
| 513 |
+
505,
|
| 514 |
+
533,
|
| 515 |
+
882,
|
| 516 |
+
678
|
| 517 |
+
],
|
| 518 |
+
"page_idx": 2
|
| 519 |
+
},
|
| 520 |
+
{
|
| 521 |
+
"type": "text",
|
| 522 |
+
"text": "All the reported results in both tasks (NER and DP) are reported as averages over 6 random seeds. All the models have been trained on A100 or V100 GPUs. None of the training methods consumed more than 36 hours. As the main means of analyzing the impact of transliteration in general and UROMAN-based romanization in particular, we train different variants of language adapters within the MAD-X framework, based on transliterated and non-transliterated versions of target language data, outlined here.",
|
| 523 |
+
"bbox": [
|
| 524 |
+
507,
|
| 525 |
+
678,
|
| 526 |
+
884,
|
| 527 |
+
854
|
| 528 |
+
],
|
| 529 |
+
"page_idx": 2
|
| 530 |
+
},
|
| 531 |
+
{
|
| 532 |
+
"type": "text",
|
| 533 |
+
"text": "3.2 Results and Discussion",
|
| 534 |
+
"text_level": 1,
|
| 535 |
+
"bbox": [
|
| 536 |
+
507,
|
| 537 |
+
866,
|
| 538 |
+
734,
|
| 539 |
+
881
|
| 540 |
+
],
|
| 541 |
+
"page_idx": 2
|
| 542 |
+
},
|
| 543 |
+
{
|
| 544 |
+
"type": "text",
|
| 545 |
+
"text": "UROMAN versus Other Transliterators and Transliteration Strategies. In order to estab",
|
| 546 |
+
"bbox": [
|
| 547 |
+
507,
|
| 548 |
+
887,
|
| 549 |
+
882,
|
| 550 |
+
917
|
| 551 |
+
],
|
| 552 |
+
"page_idx": 2
|
| 553 |
+
},
|
| 554 |
+
{
|
| 555 |
+
"type": "page_footnote",
|
| 556 |
+
"text": "<sup>5</sup>Since LAs without INV typically perform worse than with INV (Pfeiffer et al., 2020b), also confirmed in our preliminary experiments, we do not ablate to the setup without INV.",
|
| 557 |
+
"bbox": [
|
| 558 |
+
112,
|
| 559 |
+
832,
|
| 560 |
+
487,
|
| 561 |
+
869
|
| 562 |
+
],
|
| 563 |
+
"page_idx": 2
|
| 564 |
+
},
|
| 565 |
+
{
|
| 566 |
+
"type": "page_footnote",
|
| 567 |
+
"text": "<sup>6</sup>We do not have this setup for non-transliterated data since, for languages with unseen scripts, most of the tokens are replaced by the generic 'UNK' token, and fine-tuning embeddings hardly benefit downstream performance.",
|
| 568 |
+
"bbox": [
|
| 569 |
+
112,
|
| 570 |
+
869,
|
| 571 |
+
487,
|
| 572 |
+
917
|
| 573 |
+
],
|
| 574 |
+
"page_idx": 2
|
| 575 |
+
},
|
| 576 |
+
{
|
| 577 |
+
"type": "page_number",
|
| 578 |
+
"text": "7998",
|
| 579 |
+
"bbox": [
|
| 580 |
+
480,
|
| 581 |
+
927,
|
| 582 |
+
519,
|
| 583 |
+
940
|
| 584 |
+
],
|
| 585 |
+
"page_idx": 2
|
| 586 |
+
},
|
| 587 |
+
{
|
| 588 |
+
"type": "table",
|
| 589 |
+
"img_path": "images/17f500782286371555ad76c5e55f4b14d1005ea0f0102048de75e8b0959449dc.jpg",
|
| 590 |
+
"table_caption": [],
|
| 591 |
+
"table_footnote": [],
|
| 592 |
+
"table_body": "<table><tr><td>Task</td><td>Transliterator</td><td>am</td><td>ar</td><td>ka</td><td>ru</td><td>hi</td><td>sd</td><td>avg</td></tr><tr><td rowspan=\"2\">NER (Macro F1)</td><td>UROMAN</td><td>25.6</td><td>24.8</td><td>61.4</td><td>66.5</td><td>48.6</td><td>35.3</td><td>43.7</td></tr><tr><td>Other</td><td>25.5</td><td>23.7</td><td>57.3</td><td>63.9</td><td>56.7</td><td>35.9</td><td>43.8</td></tr><tr><td rowspan=\"2\">UD (UAS / LAS)</td><td>UROMAN</td><td>36.17 / 6.6</td><td>33.0 / 19.8</td><td>-</td><td>47.3 / 32.4</td><td>33.8 / 17.8</td><td>-</td><td>37.5 / 19.1</td></tr><tr><td>Other</td><td>29.9 / 5.4</td><td>32.6 / 19.9</td><td>-</td><td>45.0 / 19.9</td><td>33.2 / 17.9</td><td>-</td><td>35.2 / 15.8</td></tr></table>",
|
| 593 |
+
"bbox": [
|
| 594 |
+
181,
|
| 595 |
+
80,
|
| 596 |
+
811,
|
| 597 |
+
140
|
| 598 |
+
],
|
| 599 |
+
"page_idx": 3
|
| 600 |
+
},
|
| 601 |
+
{
|
| 602 |
+
"type": "table",
|
| 603 |
+
"img_path": "images/7a6de9526591995d744bec8a2012e9907ad2062ab23b5394436279dfda87716b.jpg",
|
| 604 |
+
"table_caption": [
|
| 605 |
+
"Table 2: Comparison of UROMAN with language-specific transliterations."
|
| 606 |
+
],
|
| 607 |
+
"table_footnote": [],
|
| 608 |
+
"table_body": "<table><tr><td rowspan=\"2\">Method</td><td colspan=\"7\">Seen Script</td><td colspan=\"6\">Unseen Script</td><td>avg</td></tr><tr><td>bh</td><td>cdo</td><td>ckb</td><td>mhr</td><td>sd</td><td>ug</td><td>xmf</td><td>am</td><td>bo</td><td>dv</td><td>km</td><td>si</td><td></td><td></td></tr><tr><td>UROMAN</td><td>32.59</td><td>27.34</td><td>67.73</td><td>64.68</td><td>35.33</td><td>28.10</td><td>52.58</td><td>25.69</td><td>35.95</td><td>29.99</td><td>41.76</td><td>31.83</td><td>26.89</td><td></td></tr><tr><td>BORROW</td><td>53.42 (hi)</td><td>-</td><td>12.46 (ar)</td><td>45.86 (ru)</td><td>16.79 (ar)</td><td>12.85 (ar)</td><td>24.77 (ru)</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td></td></tr><tr><td>RAND</td><td>25.42</td><td>19.51</td><td>53.55</td><td>42.02</td><td>27.20</td><td>25.18</td><td>35.82</td><td>18.00</td><td>18.95</td><td>21.19</td><td>32.75</td><td>20.01</td><td>21.59</td><td></td></tr></table>",
|
| 609 |
+
"bbox": [
|
| 610 |
+
115,
|
| 611 |
+
168,
|
| 612 |
+
843,
|
| 613 |
+
227
|
| 614 |
+
],
|
| 615 |
+
"page_idx": 3
|
| 616 |
+
},
|
| 617 |
+
{
|
| 618 |
+
"type": "table",
|
| 619 |
+
"img_path": "images/1915c6cb2e399899f3761feb50827c5a44936950714f360f4af54d6dee007c18.jpg",
|
| 620 |
+
"table_caption": [
|
| 621 |
+
"Table 3: Comparison of various transliteration strategies on the NER task (Macro-F1)."
|
| 622 |
+
],
|
| 623 |
+
"table_footnote": [],
|
| 624 |
+
"table_body": "<table><tr><td rowspan=\"2\">Variant</td><td colspan=\"7\">Seen Script</td><td colspan=\"5\">Unseen Script</td><td rowspan=\"2\">avg</td></tr><tr><td>bh</td><td>cdo</td><td>sd</td><td>xmf</td><td>mhr</td><td>ckb</td><td>ug</td><td>am</td><td>bo</td><td>dv</td><td>km</td><td>si</td></tr><tr><td>Non-TransLA+INV</td><td>55.14</td><td>24.19</td><td>31.31</td><td>49.74</td><td>70.31</td><td>45.54</td><td>33.53</td><td>3.26</td><td>19.86</td><td>18.72</td><td>13.81</td><td>23.14</td><td>18.39</td></tr><tr><td>TransLA+INV</td><td>32.59</td><td>27.34</td><td>35.33</td><td>52.58</td><td>64.68</td><td>67.73</td><td>28.10</td><td>25.69</td><td>35.95</td><td>29.99</td><td>41.76</td><td>31.83</td><td>26.89</td></tr><tr><td>Non-TransLA+EmblEx</td><td>60.00</td><td>28.91</td><td>42.47</td><td>51.99</td><td>61.05</td><td>79.12</td><td>50.42</td><td>47.60</td><td>40.96</td><td>31.21</td><td>53.94</td><td>45.89</td><td>49.01</td></tr><tr><td>TransLA + mPLMrl</td><td>49.05</td><td>36.92</td><td>39.16</td><td>57.99</td><td>69.85</td><td>73.92</td><td>33.43</td><td>37.09</td><td>33.82</td><td>40.40</td><td>52.39</td><td>45.24</td><td>47.44</td></tr></table>",
|
| 625 |
+
"bbox": [
|
| 626 |
+
147,
|
| 627 |
+
253,
|
| 628 |
+
843,
|
| 629 |
+
325
|
| 630 |
+
],
|
| 631 |
+
"page_idx": 3
|
| 632 |
+
},
|
| 633 |
+
{
|
| 634 |
+
"type": "table",
|
| 635 |
+
"img_path": "images/5960a8e7cb8c66d7f4380408ebf24c27dadb9a542c45095d3d3386872bd2e792.jpg",
|
| 636 |
+
"table_caption": [
|
| 637 |
+
"Table 4: Results (Macro-F1 scores) on WikiAnn NER averaged over 6 random seeds."
|
| 638 |
+
],
|
| 639 |
+
"table_footnote": [],
|
| 640 |
+
"table_body": "<table><tr><td rowspan=\"2\">Variant</td><td colspan=\"4\">Seen Script</td><td colspan=\"2\">Unseen Script</td></tr><tr><td>bh</td><td>myv</td><td>ug</td><td>bxr</td><td>am</td><td>avg</td></tr><tr><td>Non-TransLA+INV</td><td>28.46 / 11.53</td><td>45.28 / 26.27</td><td>33.44 / 15.28</td><td>39.75 / 19.77</td><td>19.08 / 1.85</td><td>33.20 / 10.81</td></tr><tr><td>TransLA+INV</td><td>25.12 / 10.17</td><td>45.74 / 26.64</td><td>32.30 / 15.10</td><td>37.92 / 17.23</td><td>36.07 / 7.58</td><td>35.43 / 12.41</td></tr><tr><td>Non-TransLA+EmblEx</td><td>26.68 / 10.10</td><td>48.34 / 25.34</td><td>41.20 / 22.81</td><td>39.51 / 16.02</td><td>36.4778.39</td><td>38.44 / 12.20</td></tr><tr><td>TransLA + mPLMrl</td><td>28.04 / 11.13</td><td>41.97 / 20.29</td><td>50.89 / 16.56</td><td>35.03 / 20.29</td><td>39.10 / 9.00</td><td>39.01 / 14.65</td></tr></table>",
|
| 641 |
+
"bbox": [
|
| 642 |
+
181,
|
| 643 |
+
353,
|
| 644 |
+
811,
|
| 645 |
+
425
|
| 646 |
+
],
|
| 647 |
+
"page_idx": 3
|
| 648 |
+
},
|
| 649 |
+
{
|
| 650 |
+
"type": "text",
|
| 651 |
+
"text": "Table 5: Results (UAS / LAS scores) in the DP task with UD, averaged over 6 random seeds.",
|
| 652 |
+
"bbox": [
|
| 653 |
+
183,
|
| 654 |
+
430,
|
| 655 |
+
810,
|
| 656 |
+
445
|
| 657 |
+
],
|
| 658 |
+
"page_idx": 3
|
| 659 |
+
},
|
| 660 |
+
{
|
| 661 |
+
"type": "text",
|
| 662 |
+
"text": "lish the utility of UROMAN as a viable transliterator, especially for low-resource languages, we compare its performance with transliteration options using the TransLA + INV setup as the most efficient scenario. First, we compare UROMAN with language-specific transliterations available for selected languages: amseg (Yimam et al., 2021) for Amharic, ai4bharat-transliteration (Madhani et al., 2022) for Hindi and Sindhi, lang-trans for Arabic, and transliterate for Russian and Georgian<sup>7</sup>. The transliterations used in this work are outlined in Table 6. The results are provided in Table 2. On average, UROMAN performs better or comparable to the language-specific transliterations. This provides justification to use UROMAN for massive transliteration at scale.",
|
| 663 |
+
"bbox": [
|
| 664 |
+
110,
|
| 665 |
+
463,
|
| 666 |
+
489,
|
| 667 |
+
719
|
| 668 |
+
],
|
| 669 |
+
"page_idx": 3
|
| 670 |
+
},
|
| 671 |
+
{
|
| 672 |
+
"type": "text",
|
| 673 |
+
"text": "Second, we compare UROMAN to two other transliteration strategies. (i) BORROW refers to borrowing transliterators from languages within the same language family and written in the same script. Since building transliterators are costly, this gives us an estimate of whether it is possible to rely on the related transliterators when we do not have a language-specific one at hand. (ii) RAND",
|
| 674 |
+
"bbox": [
|
| 675 |
+
112,
|
| 676 |
+
722,
|
| 677 |
+
489,
|
| 678 |
+
852
|
| 679 |
+
],
|
| 680 |
+
"page_idx": 3
|
| 681 |
+
},
|
| 682 |
+
{
|
| 683 |
+
"type": "text",
|
| 684 |
+
"text": "refers to a random setting where we associate any non-ASCII character with any ASCII character, giving us an estimate of whether we actually need knowledge of the language to build transliterations. The results are provided in Table 3: UROMAN is largely and consistently outperforming both BORROW and RAND, where the single exception is BORROW (from Hindi to Bhojpuri). Surprisingly, RAND also yields reasonable performance and on average even outperforms the Non-TransLA+INV variant with non-transliterated data (21.59 vs 18.39 in Table 4 later). This provides further evidence towards the utility of transliteration in general and UROMAN-based romanization in particular to assist and improve language adaptation.",
|
| 685 |
+
"bbox": [
|
| 686 |
+
507,
|
| 687 |
+
464,
|
| 688 |
+
884,
|
| 689 |
+
705
|
| 690 |
+
],
|
| 691 |
+
"page_idx": 3
|
| 692 |
+
},
|
| 693 |
+
{
|
| 694 |
+
"type": "text",
|
| 695 |
+
"text": "Performance on Low-Resource Languages is summarized in Table 4 and Table 5. We note that $\\mathrm{Trans}_{\\mathrm{LA} + \\mathrm{INV}}$ outperforms Non-Trans $\\mathrm{LA} + \\mathrm{INV}$ for all the languages with unseen scripts, and achieves that with huge margins ( $\\sim$ 8-22 points for NER and $\\sim$ 17 points in UAS scores). We observe similar trends for some of the languages with seen scripts such as Min Dong (cdo), Sindhi (sd), Mingrelian",
|
| 696 |
+
"bbox": [
|
| 697 |
+
507,
|
| 698 |
+
712,
|
| 699 |
+
882,
|
| 700 |
+
841
|
| 701 |
+
],
|
| 702 |
+
"page_idx": 3
|
| 703 |
+
},
|
| 704 |
+
{
|
| 705 |
+
"type": "page_footnote",
|
| 706 |
+
"text": "<sup>9</sup>We also compare the performance of these methods with the standard cross-lingual transfer setup for finetuning an out-of-the-box mBERT for languages with unseen scripts in Appendix B. All the adapter-based methods massively outperform an out-of-the-box mBERT in this scenario.",
|
| 707 |
+
"bbox": [
|
| 708 |
+
507,
|
| 709 |
+
857,
|
| 710 |
+
882,
|
| 711 |
+
917
|
| 712 |
+
],
|
| 713 |
+
"page_idx": 3
|
| 714 |
+
},
|
| 715 |
+
{
|
| 716 |
+
"type": "page_footnote",
|
| 717 |
+
"text": "For reproducibility, the links to the language-specific translitators are available in Appendix A",
|
| 718 |
+
"bbox": [
|
| 719 |
+
112,
|
| 720 |
+
866,
|
| 721 |
+
485,
|
| 722 |
+
891
|
| 723 |
+
],
|
| 724 |
+
"page_idx": 3
|
| 725 |
+
},
|
| 726 |
+
{
|
| 727 |
+
"type": "page_footnote",
|
| 728 |
+
"text": "$^{8}$ E.g., a Hindi transliterator can be borrowed for Bhojpuri since the two are related and written in Devanagari.",
|
| 729 |
+
"bbox": [
|
| 730 |
+
112,
|
| 731 |
+
892,
|
| 732 |
+
485,
|
| 733 |
+
917
|
| 734 |
+
],
|
| 735 |
+
"page_idx": 3
|
| 736 |
+
},
|
| 737 |
+
{
|
| 738 |
+
"type": "page_number",
|
| 739 |
+
"text": "7999",
|
| 740 |
+
"bbox": [
|
| 741 |
+
480,
|
| 742 |
+
927,
|
| 743 |
+
519,
|
| 744 |
+
940
|
| 745 |
+
],
|
| 746 |
+
"page_idx": 3
|
| 747 |
+
},
|
| 748 |
+
{
|
| 749 |
+
"type": "image",
|
| 750 |
+
"img_path": "images/a30d48cb3ddb4d2c393c30a8025c0d311b6c789c062f842d428fb4c9ea4a8963.jpg",
|
| 751 |
+
"image_caption": [
|
| 752 |
+
"Figure 2: Sample efficiency in the NER task."
|
| 753 |
+
],
|
| 754 |
+
"image_footnote": [],
|
| 755 |
+
"bbox": [
|
| 756 |
+
127,
|
| 757 |
+
84,
|
| 758 |
+
472,
|
| 759 |
+
206
|
| 760 |
+
],
|
| 761 |
+
"page_idx": 4
|
| 762 |
+
},
|
| 763 |
+
{
|
| 764 |
+
"type": "image",
|
| 765 |
+
"img_path": "images/1c950205100aab4509e107caa10d380e39c2abd245e0aba617d30a97a05dd5fc.jpg",
|
| 766 |
+
"image_caption": [
|
| 767 |
+
"Figure 3: Sample efficiency in the DP task."
|
| 768 |
+
],
|
| 769 |
+
"image_footnote": [],
|
| 770 |
+
"bbox": [
|
| 771 |
+
121,
|
| 772 |
+
244,
|
| 773 |
+
443,
|
| 774 |
+
355
|
| 775 |
+
],
|
| 776 |
+
"page_idx": 4
|
| 777 |
+
},
|
| 778 |
+
{
|
| 779 |
+
"type": "text",
|
| 780 |
+
"text": "(xmf) on NER tasks and Erzya (myv) on DP. The less efficient $\\mathrm{Trans}_{\\mathrm{LA} + \\mathrm{mPLM_{ft}}}$ , as expected, further improves the performance for all the languages except for Tibetan (bo).<sup>10</sup> Non-Trans $_{\\mathrm{LA} + \\mathrm{Emb}_{\\mathrm{Lex}}}$ , however, now outperforms UROMAN-based methods for a majority of the languages. This observation can be attributed to various factors related to mBERT's tokenizer, and we provide an in-depth analysis later in Appendix C. Nonetheless, we observe strong and competitive performance of $\\mathrm{Trans}_{\\mathrm{LA} + \\mathrm{mPLM_{ft}}}$ in both tasks, again indicating that more attention should be put on transliteration-based language adaptation in future work.",
|
| 781 |
+
"bbox": [
|
| 782 |
+
112,
|
| 783 |
+
401,
|
| 784 |
+
489,
|
| 785 |
+
609
|
| 786 |
+
],
|
| 787 |
+
"page_idx": 4
|
| 788 |
+
},
|
| 789 |
+
{
|
| 790 |
+
"type": "text",
|
| 791 |
+
"text": "Sample Efficiency. Finally, we simulate a few-shot setup to study the effectiveness of using transliterated versus non-transliterated data in data-scarce scenarios. For NER, we evaluate performance on all the languages and on languages with unseen scripts; for DP, we evaluate on all the languages. Figure 2 indicates that $\\mathrm{Trans}_{\\mathrm{LA} + \\mathrm{INV}}$ on average performs better than all the other methods at sample sizes 100 (i.e., 100 sentences in the target language) and 1,000. However, from 10,000 sentences onward, Non-Trans $\\mathrm{LA} + \\mathrm{Emb}_{\\mathrm{Lex}}$ takes the lead. We observe similar trends in the DP task (see Fig 3). This establishes the utility of transliteration for (extremely) low-resource scenarios.",
|
| 792 |
+
"bbox": [
|
| 793 |
+
112,
|
| 794 |
+
620,
|
| 795 |
+
489,
|
| 796 |
+
845
|
| 797 |
+
],
|
| 798 |
+
"page_idx": 4
|
| 799 |
+
},
|
| 800 |
+
{
|
| 801 |
+
"type": "text",
|
| 802 |
+
"text": "4 Conclusion",
|
| 803 |
+
"text_level": 1,
|
| 804 |
+
"bbox": [
|
| 805 |
+
509,
|
| 806 |
+
83,
|
| 807 |
+
640,
|
| 808 |
+
98
|
| 809 |
+
],
|
| 810 |
+
"page_idx": 4
|
| 811 |
+
},
|
| 812 |
+
{
|
| 813 |
+
"type": "text",
|
| 814 |
+
"text": "In this work, we have systematically analyzed and confirmed the potential of romanization, implemented via the UROMAN tool, to help with adaptation of multilingual pretrained language models. Given (i) its broad applicability and (ii) strong performance overall and for languages with unseen scripts, we hope our study will inspire more work on transliteration-based adaptation.",
|
| 815 |
+
"bbox": [
|
| 816 |
+
507,
|
| 817 |
+
109,
|
| 818 |
+
885,
|
| 819 |
+
237
|
| 820 |
+
],
|
| 821 |
+
"page_idx": 4
|
| 822 |
+
},
|
| 823 |
+
{
|
| 824 |
+
"type": "text",
|
| 825 |
+
"text": "Limitations",
|
| 826 |
+
"text_level": 1,
|
| 827 |
+
"bbox": [
|
| 828 |
+
509,
|
| 829 |
+
249,
|
| 830 |
+
613,
|
| 831 |
+
263
|
| 832 |
+
],
|
| 833 |
+
"page_idx": 4
|
| 834 |
+
},
|
| 835 |
+
{
|
| 836 |
+
"type": "text",
|
| 837 |
+
"text": "In this paper, we work with UROMAN (Hermjakob et al., 2018) which is an unsupervised romanization tool. While it is an effective tool for romanization at scale, it still has potential drawbacks. Since it is only based on lexical substitution, its transliterations may not semantically or phonetically align with the source content and may differ from transliterations preferred by native speakers. Moreover, UROMAN is not invertible—as we have highlighted—and may thus be less appealing when text in the original script needs to be exactly reproduced. Our proposed method, while it is parameter-efficient and effective—particularly for low-resource languages—still underperforms language-specific tokenizer-based non-transliteration methods. Future work may focus on developing an improved and more efficient tokenizer for transliteration-based methods as we highlight in the Appendix.",
|
| 838 |
+
"bbox": [
|
| 839 |
+
507,
|
| 840 |
+
275,
|
| 841 |
+
884,
|
| 842 |
+
580
|
| 843 |
+
],
|
| 844 |
+
"page_idx": 4
|
| 845 |
+
},
|
| 846 |
+
{
|
| 847 |
+
"type": "text",
|
| 848 |
+
"text": "While there is now a growing body of available evaluation resources for low-resource languages (Ebrahimimi et al., 2022; Mhaske et al., 2023; Winata et al., 2023, among others), our final selection of tasks, resources and languages has been driven and constrained by the specific concrete goal of our short paper: studying and evaluating if and how transliteration/romanization can help with adaptation of languages with scripts unseen by the pretrained multilingual language model. We thus closely follow the experimental setup of Pfeiffer et al. (2021) which used the same set of tasks and languages with unseen scripts.",
|
| 849 |
+
"bbox": [
|
| 850 |
+
507,
|
| 851 |
+
581,
|
| 852 |
+
882,
|
| 853 |
+
789
|
| 854 |
+
],
|
| 855 |
+
"page_idx": 4
|
| 856 |
+
},
|
| 857 |
+
{
|
| 858 |
+
"type": "text",
|
| 859 |
+
"text": "Finally, romanization can be seen as a step towards providing more universal, or rather language-agnostic, input text representation. Full-fledged comparisons against other approaches that aim to strike language independence at the input or feature level, such as byte-level models (e.g., ByT5 (Xue et al., 2022)) and pixel-based models (e.g., PILXEL (Rust et al., 2023)) go beyond",
|
| 860 |
+
"bbox": [
|
| 861 |
+
507,
|
| 862 |
+
791,
|
| 863 |
+
884,
|
| 864 |
+
919
|
| 865 |
+
],
|
| 866 |
+
"page_idx": 4
|
| 867 |
+
},
|
| 868 |
+
{
|
| 869 |
+
"type": "page_footnote",
|
| 870 |
+
"text": "10 For Tibetan, longer words are composed using shorter words separated by tsek (\":\") which is not a valid space delimiter for the mBERT tokenizer; the number of produced subwords is thus much higher than for the other languages.",
|
| 871 |
+
"bbox": [
|
| 872 |
+
112,
|
| 873 |
+
868,
|
| 874 |
+
487,
|
| 875 |
+
917
|
| 876 |
+
],
|
| 877 |
+
"page_idx": 4
|
| 878 |
+
},
|
| 879 |
+
{
|
| 880 |
+
"type": "page_number",
|
| 881 |
+
"text": "8000",
|
| 882 |
+
"bbox": [
|
| 883 |
+
480,
|
| 884 |
+
928,
|
| 885 |
+
519,
|
| 886 |
+
940
|
| 887 |
+
],
|
| 888 |
+
"page_idx": 4
|
| 889 |
+
},
|
| 890 |
+
{
|
| 891 |
+
"type": "text",
|
| 892 |
+
"text": "the scope of this particular work, but we point out to this as a very interesting future research avenue. Moreover, the integration of these language-agnostic representations with 'romanization'-based approaches might yield additional benefits, and should also be attested in future research.",
|
| 893 |
+
"bbox": [
|
| 894 |
+
112,
|
| 895 |
+
84,
|
| 896 |
+
489,
|
| 897 |
+
180
|
| 898 |
+
],
|
| 899 |
+
"page_idx": 5
|
| 900 |
+
},
|
| 901 |
+
{
|
| 902 |
+
"type": "text",
|
| 903 |
+
"text": "Acknowledgements",
|
| 904 |
+
"text_level": 1,
|
| 905 |
+
"bbox": [
|
| 906 |
+
114,
|
| 907 |
+
193,
|
| 908 |
+
285,
|
| 909 |
+
209
|
| 910 |
+
],
|
| 911 |
+
"page_idx": 5
|
| 912 |
+
},
|
| 913 |
+
{
|
| 914 |
+
"type": "text",
|
| 915 |
+
"text": "This work has been funded by the German Research Foundation (DFG) as part of the Research Training Group KRITIS No. GRK 2222. The work of Ivan Vulić has been supported by a personal Royal Society University Research Fellowship (no 221137; 2022-).",
|
| 916 |
+
"bbox": [
|
| 917 |
+
112,
|
| 918 |
+
219,
|
| 919 |
+
487,
|
| 920 |
+
313
|
| 921 |
+
],
|
| 922 |
+
"page_idx": 5
|
| 923 |
+
},
|
| 924 |
+
{
|
| 925 |
+
"type": "text",
|
| 926 |
+
"text": "We thank Indraneil Paul, Yongxin Huang, Ivan Habernal, and Massimo Nicosia for their valuable feedback and suggestions on a draft of this paper.",
|
| 927 |
+
"bbox": [
|
| 928 |
+
112,
|
| 929 |
+
316,
|
| 930 |
+
485,
|
| 931 |
+
365
|
| 932 |
+
],
|
| 933 |
+
"page_idx": 5
|
| 934 |
+
},
|
| 935 |
+
{
|
| 936 |
+
"type": "text",
|
| 937 |
+
"text": "References",
|
| 938 |
+
"text_level": 1,
|
| 939 |
+
"bbox": [
|
| 940 |
+
114,
|
| 941 |
+
391,
|
| 942 |
+
213,
|
| 943 |
+
407
|
| 944 |
+
],
|
| 945 |
+
"page_idx": 5
|
| 946 |
+
},
|
| 947 |
+
{
|
| 948 |
+
"type": "list",
|
| 949 |
+
"sub_type": "ref_text",
|
| 950 |
+
"list_items": [
|
| 951 |
+
"Chantal Amrhein and Rico Sennrich. 2020. On Romanization for model transfer between scripts in neural machine translation. In *Findings of the Association for Computational Linguistics: EMNLP* 2020, pages 2461-2469, Online. Association for Computational Linguistics.",
|
| 952 |
+
"Alan Ansell, Edoardo Maria Ponti, Jonas Pfeiffer, Sebastian Ruder, Goran Glavaš, Ivan Vulić, and Anna Korhonen. 2021. MAD-G: Multilingual adapter generation for efficient cross-lingual transfer. In *Findings of the Association for Computational Linguistics: EMNLP* 2021, pages 4762–4781, Punta Cana, Dominican Republic. Association for Computational Linguistics.",
|
| 953 |
+
"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.",
|
| 954 |
+
"Ethan C. Chau and Noah A. Smith. 2021. Specializing multilingual language models: An empirical study. In Proceedings of the 1st Workshop on Multilingual Representation Learning, pages 51-61, Punta Cana, Dominican Republic. Association for Computational Linguistics.",
|
| 955 |
+
"Alexis Conneau, Kartikay Khandelwal, Naman Goyal, Vishrav Chaudhary, Guillaume Wenzek, Francisco Guzmán, Edouard Grave, Myle Ott, Luke Zettle-moyer, and Veselin Stoyanov. 2020. Unsupervised cross-lingual representation learning at scale. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pages 8440-8451, Online. Association for Computational Linguistics."
|
| 956 |
+
],
|
| 957 |
+
"bbox": [
|
| 958 |
+
115,
|
| 959 |
+
414,
|
| 960 |
+
489,
|
| 961 |
+
917
|
| 962 |
+
],
|
| 963 |
+
"page_idx": 5
|
| 964 |
+
},
|
| 965 |
+
{
|
| 966 |
+
"type": "list",
|
| 967 |
+
"sub_type": "ref_text",
|
| 968 |
+
"list_items": [
|
| 969 |
+
"Peter T. Daniels and William Bright. 1996. The world's writing systems. Oxford University Press.",
|
| 970 |
+
"Isin Demirsahin, Cibu Johny, Alexander Gutkin, and Brian Roark. 2022. Criteria for useful automatic Romanization in South Asian languages. In Proceedings of the Thirteenth Language Resources and Evaluation Conference, pages 6662-6673, Marseille, France. European Language Resources Association.",
|
| 971 |
+
"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.",
|
| 972 |
+
"Tejas Dhamecha, Rudra Murthy, Samarth Bharadwaj, Karthik Sankaranarayanan, and Pushpak Bhattacharyya. 2021. Role of Language Relatedness in Multilingual Fine-tuning of Language Models: A Case Study in Indo-Aryan Languages. In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing, pages 8584-8595, Online and Punta Cana, Dominican Republic. Association for Computational Linguistics.",
|
| 973 |
+
"Timothy Dozat and Christopher D. Manning. 2017. Deep biaffine attention for neural dependency parsing. In 5th International Conference on Learning Representations, ICLR 2017, Toulon, France, April 24-26, 2017, Conference Track Proceedings. Open-Review.net.",
|
| 974 |
+
"Abteen Ebrahimi, Manuel Mager, Arturo Oncevay, Vishrav Chaudhary, Luis Chiruzzo, Angela Fan, John Ortega, Ricardo Ramos, Annette Rios, Ivan Vladimir Meza Ruiz, Gustavo Giménez-Lugo, Elisabeth Mager, Graham Neubig, Alexis Palmer, Rolando Coto-Solano, Thang Vu, and Katharina Kann. 2022. AmericasNLI: Evaluating zero-shot natural language understanding of pretrained multilingual models in truly low-resource languages. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 6279-6299, Dublin, Ireland. Association for Computational Linguistics.",
|
| 975 |
+
"Goran Glavaš and Ivan Vulić. 2021. Is supervised syntactic parsing beneficial for language understanding tasks? an empirical investigation. In Proceedings of the 16th Conference of the European Chapter of the Association for Computational Linguistics: Main Volume, pages 3090-3104, Online. Association for Computational Linguistics.",
|
| 976 |
+
"Ulf Hermjakob, Jonathan May, and Kevin Knight. 2018. Out-of-the-box universal Romanization tool uroman. In Proceedings of ACL 2018, System Demonstrations, pages 13-18, Melbourne, Australia. Association for Computational Linguistics."
|
| 977 |
+
],
|
| 978 |
+
"bbox": [
|
| 979 |
+
510,
|
| 980 |
+
84,
|
| 981 |
+
884,
|
| 982 |
+
917
|
| 983 |
+
],
|
| 984 |
+
"page_idx": 5
|
| 985 |
+
},
|
| 986 |
+
{
|
| 987 |
+
"type": "page_number",
|
| 988 |
+
"text": "8001",
|
| 989 |
+
"bbox": [
|
| 990 |
+
480,
|
| 991 |
+
928,
|
| 992 |
+
517,
|
| 993 |
+
940
|
| 994 |
+
],
|
| 995 |
+
"page_idx": 5
|
| 996 |
+
},
|
| 997 |
+
{
|
| 998 |
+
"type": "list",
|
| 999 |
+
"sub_type": "ref_text",
|
| 1000 |
+
"list_items": [
|
| 1001 |
+
"Neil Houlsby, Andrei Giurgiu, Stanislaw Jastrzebski, Bruna Morrone, Quentin de Laroussilhe, Andrea Gesmundo, Mona Attariyan, and Sylvain Gelly. 2019. Parameter-efficient transfer learning for NLP. In Proceedings of the 36th International Conference on Machine Learning, ICML 2019, 9-15 June 2019, Long Beach, California, USA, volume 97 of Proceedings of Machine Learning Research, pages 2790-2799. PMLR.",
|
| 1002 |
+
"Junjie Hu, Sebastian Ruder, Aditya Siddhant, Graham Neubig, Orhan First, and Melvin Johnson. 2020. XTREME: A massively multilingual multitask benchmark for evaluating cross-lingual generalisation. In Proceedings of the 37th International Conference on Machine Learning, ICML 2020, 13-18 July 2020, Virtual Event, volume 119 of Proceedings of Machine Learning Research, pages 4411-4421. PMLR.",
|
| 1003 |
+
"Ying Lin, Cash Costello, Boliang Zhang, Di Lu, Heng Ji, James Mayfield, and Paul McNamee. 2018. Platforms for non-speakers annotating names in any language. In Proceedings of ACL 2018, System Demonstrations, pages 1-6, Melbourne, Australia. Association for Computational Linguistics.",
|
| 1004 |
+
"Yash Madhani, Sushane Parthan, Priyanka A. Bedekar, Ruchi Khapra, Vivek Seshadri, Anoop Kunchukuttan, Pratyush Kumar, and Mitesh M. Khapra. 2022. Aksharantar: Towards building open transliteration tools for the next billion users. arXiv preprint.",
|
| 1005 |
+
"Michael McCloskey and Neal J. Cohen. 1989. Catastrophic interference in connectionist networks: The sequential learning problem. volume 24 of Psychology of Learning and Motivation, pages 109-165. Academic Press.",
|
| 1006 |
+
"Arnav Mhaske, Harshit Kedia, Sumanth Doddapaneni, Mitesh M. Khapra, Pratyush Kumar, Rudra Murthy, and Anoop Kunchukuttan. 2023. Naamapadam: A large-scale named entity annotated data for Indic languages. In Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 10441-10456, Toronto, Canada. Association for Computational Linguistics.",
|
| 1007 |
+
"Nikita Moghe, Evgeniia Razumovskaia, Liane Guillou, Ivan Vulic, Anna Korhonen, and Alexandra Birch. 2023. Multi3NLU++: A multilingual, multi-intent, multi-domain dataset for natural language understanding in task-oriented dialogue. In Findings of the Association for Computational Linguistics: ACL 2023, pages 3732-3755, Toronto, Canada. Association for Computational Linguistics.",
|
| 1008 |
+
"Ibraheem Muhammad Moosa, Mahmud Elahi Akhter, and Ashfia Binte Habib. 2023. Does transliteration help multilingual language modeling? In *Findings of the Association for Computational Linguistics: EACL* 2023, pages 670–685, Dubrovnik, Croatia. Association for Computational Linguistics."
|
| 1009 |
+
],
|
| 1010 |
+
"bbox": [
|
| 1011 |
+
115,
|
| 1012 |
+
85,
|
| 1013 |
+
489,
|
| 1014 |
+
917
|
| 1015 |
+
],
|
| 1016 |
+
"page_idx": 6
|
| 1017 |
+
},
|
| 1018 |
+
{
|
| 1019 |
+
"type": "list",
|
| 1020 |
+
"sub_type": "ref_text",
|
| 1021 |
+
"list_items": [
|
| 1022 |
+
"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.",
|
| 1023 |
+
"Joakim Nivre, Marie-Catherine de Marneffe, Filip Ginter, Jan Hajic, Christopher D. Manning, Sampo Pyysalo, Sebastian Schuster, Francis Tyers, and Daniel Zeman. 2020. Universal Dependencies v2: An evergrowing multilingual treebank collection. In Proceedings of the Twelfth Language Resources and Evaluation Conference, pages 4034-4043, Marseille, France. European Language Resources Association.",
|
| 1024 |
+
"Xiaoman Pan, Boliang Zhang, Jonathan May, Joel Nothman, Kevin Knight, and Heng Ji. 2017. Cross-lingual name tagging and linking for 282 languages. In Proceedings of the 55th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 1946–1958, Vancouver, Canada. Association for Computational Linguistics.",
|
| 1025 |
+
"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.",
|
| 1026 |
+
"Jonas Pfeiffer, Andreas Rückle, Clifton Poth, Aishwarya Kamath, Ivan Vulic, Sebastian Ruder, Kyunghyun Cho, and Iryna Gurevych. 2020a. AdapterHub: A framework for adapting transformers. In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing: System Demonstrations, pages 46-54, Online. Association for Computational Linguistics.",
|
| 1027 |
+
"Jonas Pfeiffer, Sebastian Ruder, Ivan Vulić, and Edoardo Maria Ponti. 2023. Modular deep learning. arXiv preprint.",
|
| 1028 |
+
"Jonas Pfeiffer, Ivan Vulić, Iryna Gurevych, and Sebastian Ruder. 2020b. MAD-X: An Adapter-Based Framework for Multi-Task Cross-Linguual Transfer. In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP), pages 7654–7673, Online. Association for Computational Linguistics.",
|
| 1029 |
+
"Jonas Pfeiffer, Ivan Vulić, Iryna Gurevych, and Sebastian Ruder. 2021. UNKs everywhere: Adapting multilingual language models to new scripts. In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing, pages 10186-10203, Online and Punta Cana, Dominican Republic. Association for Computational Linguistics."
|
| 1030 |
+
],
|
| 1031 |
+
"bbox": [
|
| 1032 |
+
510,
|
| 1033 |
+
85,
|
| 1034 |
+
884,
|
| 1035 |
+
917
|
| 1036 |
+
],
|
| 1037 |
+
"page_idx": 6
|
| 1038 |
+
},
|
| 1039 |
+
{
|
| 1040 |
+
"type": "page_number",
|
| 1041 |
+
"text": "8002",
|
| 1042 |
+
"bbox": [
|
| 1043 |
+
480,
|
| 1044 |
+
928,
|
| 1045 |
+
519,
|
| 1046 |
+
940
|
| 1047 |
+
],
|
| 1048 |
+
"page_idx": 6
|
| 1049 |
+
},
|
| 1050 |
+
{
|
| 1051 |
+
"type": "list",
|
| 1052 |
+
"sub_type": "ref_text",
|
| 1053 |
+
"list_items": [
|
| 1054 |
+
"Edoardo Maria Ponti, Goran Glavaš, Olga Majewska, Qianchu Liu, Ivan Vulić, and Anna Korhonen. 2020. XCOPA: A multilingual dataset for causal commonsense reasoning. In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP), pages 2362-2376, Online. Association for Computational Linguistics.",
|
| 1055 |
+
"Afshin Rahimi, Yuan Li, and Trevor Cohn. 2019. Massively multilingual transfer for NER. In Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics, pages 151-164, Florence, Italy. Association for Computational Linguistics.",
|
| 1056 |
+
"Phillip Rust, Jonas F. Lotz, Emanuele Bugliarello, Elizabeth Salesky, Miryam de Lhoneux, and Desmond Elliott. 2023. Language modelling with pixels. In *The Eleventh International Conference on Learning Representations*, ICLR 2023, Kigali, Rwanda, May 1-5, 2023. OpenReview.net.",
|
| 1057 |
+
"Phillip Rust, Jonas Pfeiffer, Ivan Vulic, Sebastian Ruder, and Iryna Gurevych. 2021. How good is your tokenizer? on the monolingual performance of multilingual 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 3118-3135, Online. Association for Computational Linguistics.",
|
| 1058 |
+
"Daan van Esch, Tamar Lucassen, Sebastian Ruder, Isaac Caswell, and Clara Rivera. 2022. Writing system and speaker metadata for $2,800+$ language varieties. In Proceedings of the Thirteenth Language Resources and Evaluation Conference, pages 5035-5046, Marseille, France. European Language Resources Association.",
|
| 1059 |
+
"Hans H Wellisch, Lee Breuer, Richard Foreman, and Robert Wilson. 1978. The conversion of scripts, its nature, history, and utilization. New York: Toronto: Wiley.",
|
| 1060 |
+
"Genta Indra Winata, Alham Fikri Aji, Samuel Cahyawijaya, Rahmad Mahendra, Fajri Koto, Ade Romadhony, Kemal Kurniawan, David Moeljadi, Radityo Eko Prasojo, Pascale Fung, Timothy Baldwin, Jey Han Lau, Rico Sennrich, and Sebastian Ruder. 2023. NusaX: Multilingual parallel sentiment dataset for 10 Indonesian local languages. In Proceedings of the 17th Conference of the European Chapter of the Association for Computational Linguistics, pages 815-834, Dubrovnik, Croatia. Association for Computational Linguistics.",
|
| 1061 |
+
"Linting Xue, Aditya Barua, Noah Constant, Rami Al-Rfou, Sharan Narang, Mihir Kale, Adam Roberts, and Colin Raffel. 2022. ByT5: Towards a token-free future with pre-trained byte-to-byte models. Transactions of the Association for Computational Linguistics, 10:291-306.",
|
| 1062 |
+
"Seid Muhie Yimam, Abinew Ali Ayele, Gopalakrishnan Venkatesh, Ibrahim Gashaw, and Chris Biemann. 2021. Introducing various semantic models"
|
| 1063 |
+
],
|
| 1064 |
+
"bbox": [
|
| 1065 |
+
115,
|
| 1066 |
+
85,
|
| 1067 |
+
489,
|
| 1068 |
+
917
|
| 1069 |
+
],
|
| 1070 |
+
"page_idx": 7
|
| 1071 |
+
},
|
| 1072 |
+
{
|
| 1073 |
+
"type": "ref_text",
|
| 1074 |
+
"text": "for amharic: Experimentation and evaluation with multiple tasks and datasets. Future Internet, 13(11).",
|
| 1075 |
+
"bbox": [
|
| 1076 |
+
527,
|
| 1077 |
+
85,
|
| 1078 |
+
880,
|
| 1079 |
+
112
|
| 1080 |
+
],
|
| 1081 |
+
"page_idx": 7
|
| 1082 |
+
},
|
| 1083 |
+
{
|
| 1084 |
+
"type": "text",
|
| 1085 |
+
"text": "Judit Ács. Exploring bert's vocabulary. Blog Post.",
|
| 1086 |
+
"bbox": [
|
| 1087 |
+
510,
|
| 1088 |
+
122,
|
| 1089 |
+
852,
|
| 1090 |
+
137
|
| 1091 |
+
],
|
| 1092 |
+
"page_idx": 7
|
| 1093 |
+
},
|
| 1094 |
+
{
|
| 1095 |
+
"type": "page_number",
|
| 1096 |
+
"text": "8003",
|
| 1097 |
+
"bbox": [
|
| 1098 |
+
480,
|
| 1099 |
+
928,
|
| 1100 |
+
519,
|
| 1101 |
+
940
|
| 1102 |
+
],
|
| 1103 |
+
"page_idx": 7
|
| 1104 |
+
},
|
| 1105 |
+
{
|
| 1106 |
+
"type": "text",
|
| 1107 |
+
"text": "A Transliterators in Evaluation",
|
| 1108 |
+
"text_level": 1,
|
| 1109 |
+
"bbox": [
|
| 1110 |
+
114,
|
| 1111 |
+
84,
|
| 1112 |
+
406,
|
| 1113 |
+
99
|
| 1114 |
+
],
|
| 1115 |
+
"page_idx": 8
|
| 1116 |
+
},
|
| 1117 |
+
{
|
| 1118 |
+
"type": "text",
|
| 1119 |
+
"text": "Besides UROMAN, we also employ various language-specific transliterations which are publicly available. We list them in Table 6.",
|
| 1120 |
+
"bbox": [
|
| 1121 |
+
112,
|
| 1122 |
+
112,
|
| 1123 |
+
487,
|
| 1124 |
+
159
|
| 1125 |
+
],
|
| 1126 |
+
"page_idx": 8
|
| 1127 |
+
},
|
| 1128 |
+
{
|
| 1129 |
+
"type": "text",
|
| 1130 |
+
"text": "B Performance comparison of mBERT",
|
| 1131 |
+
"text_level": 1,
|
| 1132 |
+
"bbox": [
|
| 1133 |
+
114,
|
| 1134 |
+
173,
|
| 1135 |
+
467,
|
| 1136 |
+
191
|
| 1137 |
+
],
|
| 1138 |
+
"page_idx": 8
|
| 1139 |
+
},
|
| 1140 |
+
{
|
| 1141 |
+
"type": "text",
|
| 1142 |
+
"text": "We adapt the standard cross-lingual transfer setup for mBERT. The model is finetuned on the task data for a source language (high-resource) and is used to perform inference on the target language (low-resource). We report the performance comparison of the standard cross-lingual transfer setup for mBERT on the NER task for languages with unseen scripts with the adapter-based methods in Table 7. We observe that the adapter-based methods outperform mBERT by huge margins.",
|
| 1143 |
+
"bbox": [
|
| 1144 |
+
112,
|
| 1145 |
+
200,
|
| 1146 |
+
489,
|
| 1147 |
+
361
|
| 1148 |
+
],
|
| 1149 |
+
"page_idx": 8
|
| 1150 |
+
},
|
| 1151 |
+
{
|
| 1152 |
+
"type": "text",
|
| 1153 |
+
"text": "C Further Analyses",
|
| 1154 |
+
"text_level": 1,
|
| 1155 |
+
"bbox": [
|
| 1156 |
+
112,
|
| 1157 |
+
375,
|
| 1158 |
+
305,
|
| 1159 |
+
392
|
| 1160 |
+
],
|
| 1161 |
+
"page_idx": 8
|
| 1162 |
+
},
|
| 1163 |
+
{
|
| 1164 |
+
"type": "text",
|
| 1165 |
+
"text": "Following previous work (Ács; Rust et al., 2021; Moosa et al., 2023), we further analyze tokenization quality of the mBERT tokenizer using the following established metrics: 1) % of \"UNK\"s measures the % of \"UNK\" tokens produced by the tokenizer, and our aim is to compare their rate before and after transliteration; 2) fertility measures the number of subwords that are produced per tokenized word; 3) proportion of continued subwords measures the proportion of words for which the tokenized word is split across at least two subwords (denoted by the symbol ##).",
|
| 1166 |
+
"bbox": [
|
| 1167 |
+
112,
|
| 1168 |
+
401,
|
| 1169 |
+
489,
|
| 1170 |
+
595
|
| 1171 |
+
],
|
| 1172 |
+
"page_idx": 8
|
| 1173 |
+
},
|
| 1174 |
+
{
|
| 1175 |
+
"type": "text",
|
| 1176 |
+
"text": "From the results summarized in Figure 4, it is apparent that transliteration drastically reduces $\\%$ of UNKs. However, mBERT's tokenizer underperforms as compared to monolingual tokenizers based on fertility and the proportion of continued subwords (Rust et al., 2021). Transliteration performs better for some languages where the quality of the mBERT tokenizer is similar to the monolingual tokenizer such as for dv, km, and cdo. On the other hand, transliteration methods perform worse on languages where the quality of the underlying mBERT tokenizer is relatively poor.",
|
| 1177 |
+
"bbox": [
|
| 1178 |
+
112,
|
| 1179 |
+
596,
|
| 1180 |
+
489,
|
| 1181 |
+
789
|
| 1182 |
+
],
|
| 1183 |
+
"page_idx": 8
|
| 1184 |
+
},
|
| 1185 |
+
{
|
| 1186 |
+
"type": "text",
|
| 1187 |
+
"text": "In order to test the hypothesis that the tokenizer quality might be the principal reason for the performance gap for the transliteration-based methods in comparison to the non-transliteration based methods, we carried out an additional experiment. For the experiment, we adapt the Non-Trans $_{\\mathrm{LA + Emb_{Lex}}}$ to operate on transliterated data, and call this variant Trans $_{\\mathrm{LA + Emb_{Lex}}}$ . Here, we train a new tokenizer",
|
| 1188 |
+
"bbox": [
|
| 1189 |
+
112,
|
| 1190 |
+
791,
|
| 1191 |
+
489,
|
| 1192 |
+
920
|
| 1193 |
+
],
|
| 1194 |
+
"page_idx": 8
|
| 1195 |
+
},
|
| 1196 |
+
{
|
| 1197 |
+
"type": "text",
|
| 1198 |
+
"text": "on the transliterated data and initialize lexically overlapping embeddings with mBERT's pretrained embeddings.",
|
| 1199 |
+
"bbox": [
|
| 1200 |
+
507,
|
| 1201 |
+
84,
|
| 1202 |
+
882,
|
| 1203 |
+
131
|
| 1204 |
+
],
|
| 1205 |
+
"page_idx": 8
|
| 1206 |
+
},
|
| 1207 |
+
{
|
| 1208 |
+
"type": "text",
|
| 1209 |
+
"text": "We plot the performance in Figure 5. The new method, $\\mathrm{Trans_{LA + Emb_{Lex}}}$ now outperforms the nontransliteration-based variant on 8/12 languages and also on average. Consequently, this validates our hypothesis and is in line with the previous work (Moosa et al., 2023). However, we found a drop in performance in the case of mhr (-10.71) and cdo (-10.14) when compared to $\\mathrm{Trans_{LA} + mPLM_{ft}}$ . These drops may be attributed to the lower degree of lexical overlap with mBERT's vocabulary, and consequently a higher number of randomly initialized embeddings for those target languages.",
|
| 1210 |
+
"bbox": [
|
| 1211 |
+
507,
|
| 1212 |
+
133,
|
| 1213 |
+
884,
|
| 1214 |
+
326
|
| 1215 |
+
],
|
| 1216 |
+
"page_idx": 8
|
| 1217 |
+
},
|
| 1218 |
+
{
|
| 1219 |
+
"type": "page_number",
|
| 1220 |
+
"text": "8004",
|
| 1221 |
+
"bbox": [
|
| 1222 |
+
480,
|
| 1223 |
+
928,
|
| 1224 |
+
519,
|
| 1225 |
+
940
|
| 1226 |
+
],
|
| 1227 |
+
"page_idx": 8
|
| 1228 |
+
},
|
| 1229 |
+
{
|
| 1230 |
+
"type": "table",
|
| 1231 |
+
"img_path": "images/b801220320630fbbe81d4b101ae56e278240e06979cf58e131cb98a4654f2a8e.jpg",
|
| 1232 |
+
"table_caption": [],
|
| 1233 |
+
"table_footnote": [],
|
| 1234 |
+
"table_body": "<table><tr><td>Transliterator</td><td>Used for languages</td><td>Available at</td></tr><tr><td>UROMAN</td><td>All</td><td>github.com/isi-nlp/uroman</td></tr><tr><td>amseg</td><td>am</td><td>pypi.org/project/amseg/</td></tr><tr><td>transliterate</td><td>ru, ka</td><td>pypi.org/project/transliterate/</td></tr><tr><td>ai4bharat-transliteration</td><td>hi, sd</td><td>pypi.org/project/ai4bharat-transliteration/</td></tr><tr><td>lang-trans</td><td>ar</td><td>pypi.org/project/lang-trans/</td></tr></table>",
|
| 1235 |
+
"bbox": [
|
| 1236 |
+
114,
|
| 1237 |
+
80,
|
| 1238 |
+
884,
|
| 1239 |
+
171
|
| 1240 |
+
],
|
| 1241 |
+
"page_idx": 9
|
| 1242 |
+
},
|
| 1243 |
+
{
|
| 1244 |
+
"type": "image",
|
| 1245 |
+
"img_path": "images/8309dd1ed12a59dc1f0528edf5e64d0557b4f8d3dbec0880e76b532cd845f7ca.jpg",
|
| 1246 |
+
"image_caption": [
|
| 1247 |
+
"(a)"
|
| 1248 |
+
],
|
| 1249 |
+
"image_footnote": [],
|
| 1250 |
+
"bbox": [
|
| 1251 |
+
115,
|
| 1252 |
+
208,
|
| 1253 |
+
349,
|
| 1254 |
+
278
|
| 1255 |
+
],
|
| 1256 |
+
"page_idx": 9
|
| 1257 |
+
},
|
| 1258 |
+
{
|
| 1259 |
+
"type": "image",
|
| 1260 |
+
"img_path": "images/47711266c4017b2aa9f669ce98d4d7d7d04173802500672272aea02a88d75ca3.jpg",
|
| 1261 |
+
"image_caption": [
|
| 1262 |
+
"(b)",
|
| 1263 |
+
"Figure 4: Tokenizer quality analysis. a) % of UNKs before and after transliteration, b) Fertility, and c) Proportion of continued subwords for mBERT vs monolingual tokenizer."
|
| 1264 |
+
],
|
| 1265 |
+
"image_footnote": [],
|
| 1266 |
+
"bbox": [
|
| 1267 |
+
381,
|
| 1268 |
+
208,
|
| 1269 |
+
616,
|
| 1270 |
+
278
|
| 1271 |
+
],
|
| 1272 |
+
"page_idx": 9
|
| 1273 |
+
},
|
| 1274 |
+
{
|
| 1275 |
+
"type": "image",
|
| 1276 |
+
"img_path": "images/fb3ee83c84d87592bf4ee3c75d4c4ae5a5a1aa7ed161b08c329155e3eb3efc12.jpg",
|
| 1277 |
+
"image_caption": [
|
| 1278 |
+
"(c)"
|
| 1279 |
+
],
|
| 1280 |
+
"image_footnote": [],
|
| 1281 |
+
"bbox": [
|
| 1282 |
+
648,
|
| 1283 |
+
206,
|
| 1284 |
+
880,
|
| 1285 |
+
278
|
| 1286 |
+
],
|
| 1287 |
+
"page_idx": 9
|
| 1288 |
+
},
|
| 1289 |
+
{
|
| 1290 |
+
"type": "table",
|
| 1291 |
+
"img_path": "images/f32a117937df02c309221b0fc5c6eaacf022d84aedff963fd480dd7bdd40a24c.jpg",
|
| 1292 |
+
"table_caption": [
|
| 1293 |
+
"Table 6: Transliterators used in this work."
|
| 1294 |
+
],
|
| 1295 |
+
"table_footnote": [],
|
| 1296 |
+
"table_body": "<table><tr><td rowspan=\"2\">Variant</td><td colspan=\"5\">Unseen Scripts</td></tr><tr><td>am</td><td>bo</td><td>dv</td><td>km</td><td>si</td></tr><tr><td>mBERT</td><td>0.91</td><td>17.40</td><td>1.30</td><td>10.71</td><td>2.50</td></tr><tr><td>Non-TransLA+INV</td><td>3.26</td><td>19.86</td><td>18.72</td><td>13.81</td><td>23.14</td></tr><tr><td>TransLA + INV</td><td>25.69</td><td>35.95</td><td>29.99</td><td>41.76</td><td>31.83</td></tr><tr><td>Non-TransLA+EmblEx</td><td>47.60</td><td>40.96</td><td>31.21</td><td>53.94</td><td>45.89</td></tr><tr><td>TransLA + mPLMft</td><td>37.09</td><td>33.82</td><td>40.40</td><td>52.39</td><td>45.24</td></tr></table>",
|
| 1297 |
+
"bbox": [
|
| 1298 |
+
132,
|
| 1299 |
+
426,
|
| 1300 |
+
470,
|
| 1301 |
+
501
|
| 1302 |
+
],
|
| 1303 |
+
"page_idx": 9
|
| 1304 |
+
},
|
| 1305 |
+
{
|
| 1306 |
+
"type": "text",
|
| 1307 |
+
"text": "Table 7: Performance Comparison of mBERT with adapter-based finetuning methods for unseen scripts on the NER task.",
|
| 1308 |
+
"bbox": [
|
| 1309 |
+
112,
|
| 1310 |
+
510,
|
| 1311 |
+
487,
|
| 1312 |
+
552
|
| 1313 |
+
],
|
| 1314 |
+
"page_idx": 9
|
| 1315 |
+
},
|
| 1316 |
+
{
|
| 1317 |
+
"type": "image",
|
| 1318 |
+
"img_path": "images/f862f3a59498858d80d8303dd287b78b2713cb4ca14a6614907596786428fec4.jpg",
|
| 1319 |
+
"image_caption": [
|
| 1320 |
+
"Figure 5: Comparison of Non-Trans $_{\\mathrm{LA + Emb_{Lex}}}$ with Trans $_{\\mathrm{LA + Emb_{Lex}}}$ on NER (left) and DP (right)."
|
| 1321 |
+
],
|
| 1322 |
+
"image_footnote": [],
|
| 1323 |
+
"bbox": [
|
| 1324 |
+
115,
|
| 1325 |
+
700,
|
| 1326 |
+
487,
|
| 1327 |
+
807
|
| 1328 |
+
],
|
| 1329 |
+
"page_idx": 9
|
| 1330 |
+
},
|
| 1331 |
+
{
|
| 1332 |
+
"type": "page_number",
|
| 1333 |
+
"text": "8005",
|
| 1334 |
+
"bbox": [
|
| 1335 |
+
480,
|
| 1336 |
+
928,
|
| 1337 |
+
519,
|
| 1338 |
+
940
|
| 1339 |
+
],
|
| 1340 |
+
"page_idx": 9
|
| 1341 |
+
}
|
| 1342 |
+
]
|
2023/Romanization-based Large-scale Adaptation of Multilingual Language Models/1a02cba7-8ebc-4f20-8832-cb43efde101d_model.json
ADDED
|
@@ -0,0 +1,1815 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
[
|
| 3 |
+
{
|
| 4 |
+
"type": "title",
|
| 5 |
+
"bbox": [
|
| 6 |
+
0.269,
|
| 7 |
+
0.08,
|
| 8 |
+
0.731,
|
| 9 |
+
0.12
|
| 10 |
+
],
|
| 11 |
+
"angle": 0,
|
| 12 |
+
"content": "Romanization-based Large-scale Adaptation of Multilingual Language Models"
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"bbox": [
|
| 17 |
+
0.117,
|
| 18 |
+
0.125,
|
| 19 |
+
0.886,
|
| 20 |
+
0.143
|
| 21 |
+
],
|
| 22 |
+
"angle": 0,
|
| 23 |
+
"content": "Sukannya Purkayastha<sup>1</sup>, Sebastian Ruder<sup>2</sup>, Jonas Pfeiffer<sup>2</sup>, Iryna Gurevych<sup>1</sup>, Ivan Vulić<sup>3</sup>"
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"bbox": [
|
| 28 |
+
0.334,
|
| 29 |
+
0.144,
|
| 30 |
+
0.671,
|
| 31 |
+
0.159
|
| 32 |
+
],
|
| 33 |
+
"angle": 0,
|
| 34 |
+
"content": "<sup>1</sup> Ubiquitous Knowledge Processing Lab,"
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"type": "text",
|
| 38 |
+
"bbox": [
|
| 39 |
+
0.202,
|
| 40 |
+
0.16,
|
| 41 |
+
0.802,
|
| 42 |
+
0.176
|
| 43 |
+
],
|
| 44 |
+
"angle": 0,
|
| 45 |
+
"content": "Department of Computer Science and Hessian Center for AI (hessian.AI),"
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"type": "text",
|
| 49 |
+
"bbox": [
|
| 50 |
+
0.36,
|
| 51 |
+
0.177,
|
| 52 |
+
0.643,
|
| 53 |
+
0.192
|
| 54 |
+
],
|
| 55 |
+
"angle": 0,
|
| 56 |
+
"content": "Technical University of Darmstadt"
|
| 57 |
+
},
|
| 58 |
+
{
|
| 59 |
+
"type": "text",
|
| 60 |
+
"bbox": [
|
| 61 |
+
0.418,
|
| 62 |
+
0.193,
|
| 63 |
+
0.586,
|
| 64 |
+
0.209
|
| 65 |
+
],
|
| 66 |
+
"angle": 0,
|
| 67 |
+
"content": "Google DeepMind"
|
| 68 |
+
},
|
| 69 |
+
{
|
| 70 |
+
"type": "text",
|
| 71 |
+
"bbox": [
|
| 72 |
+
0.281,
|
| 73 |
+
0.21,
|
| 74 |
+
0.723,
|
| 75 |
+
0.226
|
| 76 |
+
],
|
| 77 |
+
"angle": 0,
|
| 78 |
+
"content": "\\(^{3}\\) Language Technology Lab, University of Cambridge"
|
| 79 |
+
},
|
| 80 |
+
{
|
| 81 |
+
"type": "text",
|
| 82 |
+
"bbox": [
|
| 83 |
+
0.361,
|
| 84 |
+
0.228,
|
| 85 |
+
0.642,
|
| 86 |
+
0.242
|
| 87 |
+
],
|
| 88 |
+
"angle": 0,
|
| 89 |
+
"content": "www.ukp.tu-darmstadt.de"
|
| 90 |
+
},
|
| 91 |
+
{
|
| 92 |
+
"type": "title",
|
| 93 |
+
"bbox": [
|
| 94 |
+
0.261,
|
| 95 |
+
0.253,
|
| 96 |
+
0.341,
|
| 97 |
+
0.267
|
| 98 |
+
],
|
| 99 |
+
"angle": 0,
|
| 100 |
+
"content": "Abstract"
|
| 101 |
+
},
|
| 102 |
+
{
|
| 103 |
+
"type": "text",
|
| 104 |
+
"bbox": [
|
| 105 |
+
0.145,
|
| 106 |
+
0.281,
|
| 107 |
+
0.461,
|
| 108 |
+
0.736
|
| 109 |
+
],
|
| 110 |
+
"angle": 0,
|
| 111 |
+
"content": "Large multilingual pretrained language models (mPLMs) have become the de facto state of the art for cross-lingual transfer in NLP. However, their large-scale deployment to many languages, besides pretraining data scarcity, is also hindered by the increase in vocabulary size and limitations in their parameter budget. In order to boost the capacity of mPLMs to deal with low-resource and unseen languages, we explore the potential of leveraging transliteration on a massive scale. In particular, we explore the UROMAN transliteration tool, which provides mappings from UTF-8 to Latin characters for all the writing systems, enabling inexpensive romanization for virtually any language. We first focus on establishing how UROMAN compares against other language-specific and manually curated transliterators for adapting multilingual PLMs. We then study and compare a plethora of data- and parameter-efficient strategies for adapting the mPLMs to romanized and non-romanized corpora of 14 diverse low-resource languages. Our results reveal that UROMAN-based transliteration can offer strong performance for many languages, with particular gains achieved in the most challenging setups: on languages with unseen scripts and with limited training data without any vocabulary augmentation. Further analyses reveal that an improved tokenizer based on romanized data can even outperform non-transliteration-based methods in the majority of languages."
|
| 112 |
+
},
|
| 113 |
+
{
|
| 114 |
+
"type": "title",
|
| 115 |
+
"bbox": [
|
| 116 |
+
0.115,
|
| 117 |
+
0.749,
|
| 118 |
+
0.26,
|
| 119 |
+
0.764
|
| 120 |
+
],
|
| 121 |
+
"angle": 0,
|
| 122 |
+
"content": "1 Introduction"
|
| 123 |
+
},
|
| 124 |
+
{
|
| 125 |
+
"type": "text",
|
| 126 |
+
"bbox": [
|
| 127 |
+
0.113,
|
| 128 |
+
0.775,
|
| 129 |
+
0.49,
|
| 130 |
+
0.92
|
| 131 |
+
],
|
| 132 |
+
"angle": 0,
|
| 133 |
+
"content": "Massively multilingual language models (mPLMs) such as mBERT (Devlin et al., 2019) and XLM-R (Conneau et al., 2020) have become the driving force for a variety of applications in multilingual NLP (Ponti et al., 2020; Hu et al., 2020; Moghe et al., 2023). However, guaranteeing and maintaining strong performance for a wide spectrum of low-resource languages is difficult due to two crucial problems. The first issue is the vocabulary"
|
| 134 |
+
},
|
| 135 |
+
{
|
| 136 |
+
"type": "table",
|
| 137 |
+
"bbox": [
|
| 138 |
+
0.513,
|
| 139 |
+
0.251,
|
| 140 |
+
0.875,
|
| 141 |
+
0.316
|
| 142 |
+
],
|
| 143 |
+
"angle": 0,
|
| 144 |
+
"content": "<table><tr><td>Language</td><td>Original Text</td><td>Romanized Text</td><td>Translation</td></tr><tr><td>Bhojpuri</td><td>बाल्दियम् गार्वा</td><td>jorjiyan bhaasaas</td><td>Georgian language</td></tr><tr><td>Sinhala</td><td>सिकूल्तिूल्तिूल्तिूल्तिूल्तिूल्तिू�िूल्तिूल्तिूल्तिू�िू�िू�िू�िू�िू�िू�िू�िू�िू�िू�िू�िू�िू�िू�िू�िू�िू�िू�िू�िू�िू�िू�िू�िू�िू�र्था</td><td></td><td></td></tr><tr><td>Sindhi</td><td>सिकूल्तिूल्तिूल्तिू�िू�िू�िू�र्था</td><td>grahalooka</td><td>planets</td></tr><tr><td>Khmer</td><td>khμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμ μμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμµμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμmu μμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμµ μμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμ μ μμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμum μ μμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ µ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μµ μµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµüµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµúµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµ µµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµ₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₃₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₂₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₁₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀���₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀⁻⁶⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁷⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁹⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁶⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁷⁹⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁷⁰⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁵⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁴⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁽⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁻⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁼⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸ⁱ⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁅⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁰⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₃⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄²⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄⁄₂⁄⁄₂⁄⁄₂⁄⁄₂⁄⁄₂⁄⁄₂⁄⁄₂⁄⁄₂⁄⁄₂⁄⁄₂⁄⁄₂⁄⁄₂⁄⁄₂⁄⁄₂⁄⁄₂⁄⁄₂⁄⁄₂⁄⁄₂⁄⁄₂⁄⁄₂⁄⁄₂⁄⁄₂⁄⁄₂⁄⁄₂⁄⁄₂⁄.\n<|im_start|>assistant</td><td>Bhojpuri</td><td>BJJUJIJIJIJIJIJIJIJIJIJIJIJIJIJIJIJIJIJIJIJIJIJIJIJIJIJIJIJIJIJIJIJIJIJIJIJIJIJIJIJIJIJIJIJIJIJIJIJIJIJIJIJIJIJIJIJIJIJIJIJIJIJIJIJIJIJIJIJIJIJIJIJI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JJ</td></tr></table>"
|
| 145 |
+
},
|
| 146 |
+
{
|
| 147 |
+
"type": "image_caption",
|
| 148 |
+
"bbox": [
|
| 149 |
+
0.521,
|
| 150 |
+
0.326,
|
| 151 |
+
0.871,
|
| 152 |
+
0.341
|
| 153 |
+
],
|
| 154 |
+
"angle": 0,
|
| 155 |
+
"content": "Figure 1: Romanization across different languages."
|
| 156 |
+
},
|
| 157 |
+
{
|
| 158 |
+
"type": "text",
|
| 159 |
+
"bbox": [
|
| 160 |
+
0.508,
|
| 161 |
+
0.367,
|
| 162 |
+
0.885,
|
| 163 |
+
0.496
|
| 164 |
+
],
|
| 165 |
+
"angle": 0,
|
| 166 |
+
"content": "size, as the vocabulary is bound to increase with the number of languages added if per-language performance is to be maintained (Hu et al., 2020; Artetxe et al., 2020; Pfeiffer et al., 2022). Second, pretraining mPLMs with a fixed model capacity improves cross-lingual performance up to a point after which it starts to decrease; this is the phenomenon termed the curse of multilinguality (Conneau et al., 2020)."
|
| 167 |
+
},
|
| 168 |
+
{
|
| 169 |
+
"type": "text",
|
| 170 |
+
"bbox": [
|
| 171 |
+
0.508,
|
| 172 |
+
0.497,
|
| 173 |
+
0.885,
|
| 174 |
+
0.834
|
| 175 |
+
],
|
| 176 |
+
"angle": 0,
|
| 177 |
+
"content": "Transliteration refers to the process of converting language represented in one writing system to another (Wellisch et al., 1978). Latin script-centered transliteration or romanization is the most common form of transliteration (Lin et al., 2018; Amrhein and Sennrich, 2020; Demirsin et al., 2022) as the Latin/Roman script is by far the most widely adopted writing script in the world (Daniels and Bright, 1996; van Esch et al., 2022). Adapting mPLMs via transliteration can address the two aforementioned critical issues. 1) Since the Latin script covers a dominant portion of the mPLM's vocabulary (e.g., \\(77\\%\\) in case of mBERT, see Ács), 'romanizing' the remaining part of the vocabulary might mitigate the vocabulary size issue and boost vocabulary sharing. 2) Since no new tokens are added during the romanization process, reusing pretrained embeddings from the mPLM's embedding matrix helps reuse the information already present within the mPLM, thereby allocating the model's parameter budget more efficiently."
|
| 178 |
+
},
|
| 179 |
+
{
|
| 180 |
+
"type": "text",
|
| 181 |
+
"bbox": [
|
| 182 |
+
0.508,
|
| 183 |
+
0.835,
|
| 184 |
+
0.884,
|
| 185 |
+
0.883
|
| 186 |
+
],
|
| 187 |
+
"angle": 0,
|
| 188 |
+
"content": "However, the main drawback of transliteration seems to be the expensive process of creating effective language-specific transliterations, as they"
|
| 189 |
+
},
|
| 190 |
+
{
|
| 191 |
+
"type": "page_footnote",
|
| 192 |
+
"bbox": [
|
| 193 |
+
0.509,
|
| 194 |
+
0.893,
|
| 195 |
+
0.883,
|
| 196 |
+
0.919
|
| 197 |
+
],
|
| 198 |
+
"angle": 0,
|
| 199 |
+
"content": "<sup>1</sup>According to Encyclopedia Britannica, up to 70% of the world population is employing the Latin script."
|
| 200 |
+
},
|
| 201 |
+
{
|
| 202 |
+
"type": "page_number",
|
| 203 |
+
"bbox": [
|
| 204 |
+
0.481,
|
| 205 |
+
0.928,
|
| 206 |
+
0.521,
|
| 207 |
+
0.941
|
| 208 |
+
],
|
| 209 |
+
"angle": 0,
|
| 210 |
+
"content": "7996"
|
| 211 |
+
},
|
| 212 |
+
{
|
| 213 |
+
"type": "footer",
|
| 214 |
+
"bbox": [
|
| 215 |
+
0.218,
|
| 216 |
+
0.946,
|
| 217 |
+
0.78,
|
| 218 |
+
0.959
|
| 219 |
+
],
|
| 220 |
+
"angle": 0,
|
| 221 |
+
"content": "Findings of the Association for Computational Linguistics: EMNLP 2023, pages 7996-8005"
|
| 222 |
+
},
|
| 223 |
+
{
|
| 224 |
+
"type": "footer",
|
| 225 |
+
"bbox": [
|
| 226 |
+
0.278,
|
| 227 |
+
0.959,
|
| 228 |
+
0.72,
|
| 229 |
+
0.972
|
| 230 |
+
],
|
| 231 |
+
"angle": 0,
|
| 232 |
+
"content": "December 6-10, 2023 ©2023 Association for Computational Linguistics"
|
| 233 |
+
}
|
| 234 |
+
],
|
| 235 |
+
[
|
| 236 |
+
{
|
| 237 |
+
"type": "text",
|
| 238 |
+
"bbox": [
|
| 239 |
+
0.112,
|
| 240 |
+
0.085,
|
| 241 |
+
0.49,
|
| 242 |
+
0.246
|
| 243 |
+
],
|
| 244 |
+
"angle": 0,
|
| 245 |
+
"content": "typically require language expertise to curate dictionaries that map tokens from one language and script to another. Therefore, previous attempts at mPLM adaptation to unseen languages via transliteration (Muller et al., 2021; Chau and Smith, 2021; Dhamecha et al., 2021; Moosa et al., 2023) were constrained to a handful of languages due to the limited availability of language-specific translit-. rators, or were applied only to languages that have 'language siblings' with developed translitators."
|
| 246 |
+
},
|
| 247 |
+
{
|
| 248 |
+
"type": "text",
|
| 249 |
+
"bbox": [
|
| 250 |
+
0.112,
|
| 251 |
+
0.247,
|
| 252 |
+
0.49,
|
| 253 |
+
0.392
|
| 254 |
+
],
|
| 255 |
+
"angle": 0,
|
| 256 |
+
"content": "In this work, unlike previous work, we propose to use and then evaluate the usefulness of a universal romanization tool, UROMAN (Hermjakob et al., 2018), for quick, large-scale and effective adaptation of mPLMs to low-resource languages. The UROMAN tool disposes of language-specific curated dictionaries and maps any UTF-8 character to the Latin script, increasing the portability of romanization, with some examples in Figure 1."
|
| 257 |
+
},
|
| 258 |
+
{
|
| 259 |
+
"type": "text",
|
| 260 |
+
"bbox": [
|
| 261 |
+
0.112,
|
| 262 |
+
0.393,
|
| 263 |
+
0.49,
|
| 264 |
+
0.699
|
| 265 |
+
],
|
| 266 |
+
"angle": 0,
|
| 267 |
+
"content": "We analyze language adaptation on a massive scale via UROMAN-based romanization on a set of 14 diverse low-resource languages. We conduct experiments within the standard parameter-efficient adapter-based cross-lingual transfer setup on two tasks: Named Entity Recognition (NER) on the WikiANN dataset (Pan et al., 2017; Rahimi et al., 2019), and Dependency Parsing (DP) with Universal Dependencies v2.7 (Nivre et al., 2020). Our key results suggest that UROMAN-based transliteration can offer strong performance on par or even outperforming adaptation with language-specific transliterrators, setting up the basis for wider use of transliteration-based mPLM adaptation techniques in future work. The gains with romanization-based adaptation over standard adaptation baselines are particularly pronounced for languages with unseen scripts (\\(\\sim\\)8-22 performance points) without any vocabulary augmentation.[2]"
|
| 268 |
+
},
|
| 269 |
+
{
|
| 270 |
+
"type": "title",
|
| 271 |
+
"bbox": [
|
| 272 |
+
0.114,
|
| 273 |
+
0.713,
|
| 274 |
+
0.258,
|
| 275 |
+
0.73
|
| 276 |
+
],
|
| 277 |
+
"angle": 0,
|
| 278 |
+
"content": "2 Background"
|
| 279 |
+
},
|
| 280 |
+
{
|
| 281 |
+
"type": "text",
|
| 282 |
+
"bbox": [
|
| 283 |
+
0.113,
|
| 284 |
+
0.741,
|
| 285 |
+
0.49,
|
| 286 |
+
0.87
|
| 287 |
+
],
|
| 288 |
+
"angle": 0,
|
| 289 |
+
"content": "Why UROMAN-Based Romanization? UROMAN-based romanization is not always fully reversible, and its usage for transliteration has thus been limited in the literature. However, due to its high portability, UROMAN can help scale the process of transliteration massively and as such benefit low-resource scenarios and wider adaptation of mPLMs. The main idea, as hinted in §1, is to (learn to) map"
|
| 290 |
+
},
|
| 291 |
+
{
|
| 292 |
+
"type": "text",
|
| 293 |
+
"bbox": [
|
| 294 |
+
0.508,
|
| 295 |
+
0.085,
|
| 296 |
+
0.885,
|
| 297 |
+
0.135
|
| 298 |
+
],
|
| 299 |
+
"angle": 0,
|
| 300 |
+
"content": "any UTF-8 character to the Latin script, without the use of any external language-specific dictionaries (see Hermjakob et al. (2018) for technical details)."
|
| 301 |
+
},
|
| 302 |
+
{
|
| 303 |
+
"type": "text",
|
| 304 |
+
"bbox": [
|
| 305 |
+
0.508,
|
| 306 |
+
0.139,
|
| 307 |
+
0.885,
|
| 308 |
+
0.413
|
| 309 |
+
],
|
| 310 |
+
"angle": 0,
|
| 311 |
+
"content": "Cross-Lingual Transfer to Low-Resource Languages. Parameter-efficient and modular finetuning methods (Pfeiffer et al., 2023) such as adapters (Houlsby et al., 2019; Pfeiffer et al., 2020b) have been used for cross-lingual transfer, putting a particular focus on enabling transfer to low-resource languages and scenarios, including languages with scripts 'unseen' by the base mPLM (Pfeiffer et al., 2021). Adapters are small lightweight components stitched into the base mPLM, and then trained for particular languages and tasks while keeping the parameters of the original mPLM frozen. This circumvents the issues of catastrophic forgetting and interference (McCloskey and Cohen, 1989) within the mPLM, and allows for extending its reach also to unseen languages (Pfeiffer et al., 2021; Ansell et al., 2021)."
|
| 312 |
+
},
|
| 313 |
+
{
|
| 314 |
+
"type": "text",
|
| 315 |
+
"bbox": [
|
| 316 |
+
0.508,
|
| 317 |
+
0.414,
|
| 318 |
+
0.885,
|
| 319 |
+
0.737
|
| 320 |
+
],
|
| 321 |
+
"angle": 0,
|
| 322 |
+
"content": "For our main empirical analyses, we adopt a state-of-the-art modular method for cross-lingual transfer: MAD-X (Pfeiffer et al., 2020b). In short, MAD-X is based on language adapters (LA), task adapters (TA), and invertible adapters (INV). While LAs are trained for specific languages relying on masked language modeling, TAs are trained with high-resource languages relying on task-annotated data and task-specific objectives. At inference, the source LA is replaced with the target LA while the TA is kept. In order to do parameter-efficient learning for the token-level embeddings across different languages and to deal with the vocabulary mismatch between source and target languages, Pfeiffer et al. (2020b) also propose INV adapters: they are placed on top of the embedding layer and their inverses precede the output embedding layer.<sup>3</sup> We adopt the better-performing MAD-X 2.0 setup (Pfeiffer et al., 2021) where the adapters in the last Transformer layer are dropped at inference.<sup>4</sup>"
|
| 323 |
+
},
|
| 324 |
+
{
|
| 325 |
+
"type": "title",
|
| 326 |
+
"bbox": [
|
| 327 |
+
0.509,
|
| 328 |
+
0.75,
|
| 329 |
+
0.762,
|
| 330 |
+
0.767
|
| 331 |
+
],
|
| 332 |
+
"angle": 0,
|
| 333 |
+
"content": "3 Experiments and Results"
|
| 334 |
+
},
|
| 335 |
+
{
|
| 336 |
+
"type": "text",
|
| 337 |
+
"bbox": [
|
| 338 |
+
0.508,
|
| 339 |
+
0.778,
|
| 340 |
+
0.885,
|
| 341 |
+
0.858
|
| 342 |
+
],
|
| 343 |
+
"angle": 0,
|
| 344 |
+
"content": "As the main means of analyzing the impact of transliteration in general and UROMAN-based romanization in particular, we train different variants of language adapters within the MAD-X framework, based on transliterated and non-transliterated"
|
| 345 |
+
},
|
| 346 |
+
{
|
| 347 |
+
"type": "page_footnote",
|
| 348 |
+
"bbox": [
|
| 349 |
+
0.114,
|
| 350 |
+
0.881,
|
| 351 |
+
0.49,
|
| 352 |
+
0.919
|
| 353 |
+
],
|
| 354 |
+
"angle": 0,
|
| 355 |
+
"content": "\\(^{2}\\)Code and data available at https://github.com/UKPLab/emnlp23_romanization_based_adaptation"
|
| 356 |
+
},
|
| 357 |
+
{
|
| 358 |
+
"type": "page_footnote",
|
| 359 |
+
"bbox": [
|
| 360 |
+
0.509,
|
| 361 |
+
0.868,
|
| 362 |
+
0.883,
|
| 363 |
+
0.894
|
| 364 |
+
],
|
| 365 |
+
"angle": 0,
|
| 366 |
+
"content": "3They are trained together with the LAs while the rest of the mPLM is kept frozen."
|
| 367 |
+
},
|
| 368 |
+
{
|
| 369 |
+
"type": "page_footnote",
|
| 370 |
+
"bbox": [
|
| 371 |
+
0.509,
|
| 372 |
+
0.894,
|
| 373 |
+
0.884,
|
| 374 |
+
0.919
|
| 375 |
+
],
|
| 376 |
+
"angle": 0,
|
| 377 |
+
"content": "4We refer the reader to the original papers for further technical details regarding the MAD-X framework."
|
| 378 |
+
},
|
| 379 |
+
{
|
| 380 |
+
"type": "list",
|
| 381 |
+
"bbox": [
|
| 382 |
+
0.509,
|
| 383 |
+
0.868,
|
| 384 |
+
0.884,
|
| 385 |
+
0.919
|
| 386 |
+
],
|
| 387 |
+
"angle": 0,
|
| 388 |
+
"content": null
|
| 389 |
+
},
|
| 390 |
+
{
|
| 391 |
+
"type": "page_number",
|
| 392 |
+
"bbox": [
|
| 393 |
+
0.481,
|
| 394 |
+
0.928,
|
| 395 |
+
0.521,
|
| 396 |
+
0.941
|
| 397 |
+
],
|
| 398 |
+
"angle": 0,
|
| 399 |
+
"content": "7997"
|
| 400 |
+
}
|
| 401 |
+
],
|
| 402 |
+
[
|
| 403 |
+
{
|
| 404 |
+
"type": "table",
|
| 405 |
+
"bbox": [
|
| 406 |
+
0.119,
|
| 407 |
+
0.082,
|
| 408 |
+
0.486,
|
| 409 |
+
0.24
|
| 410 |
+
],
|
| 411 |
+
"angle": 0,
|
| 412 |
+
"content": "<table><tr><td>Language</td><td>Family</td><td>Script</td><td># Sentences</td></tr><tr><td>Bhojpuri (bh)</td><td>Indo-European</td><td>Devanagari</td><td>35,983</td></tr><tr><td>Buryat (bxr)</td><td>Mongolic</td><td>Cyrillic</td><td>41,692</td></tr><tr><td>Erzya (myv)</td><td>Uralic</td><td>Cyrillic</td><td>42,575</td></tr><tr><td>Meadow Mari (mhr)</td><td>Uralic</td><td>Cyrillic</td><td>144,529</td></tr><tr><td>Min Dong (cdo)</td><td>Sino-Tibetan</td><td>Chinese</td><td>33,978</td></tr><tr><td>Mingrelian (xmf)</td><td>Kartvelian</td><td>Georgian</td><td>63,032</td></tr><tr><td>Sindhi (sd)</td><td>Indo-European</td><td>Arabic</td><td>86,176</td></tr><tr><td>Sorani Kurdish (ckb)</td><td>Indo-European</td><td>Arabic</td><td>459,475</td></tr><tr><td>Uyghur (ug)</td><td>Turkic</td><td>Arabic</td><td>149,813</td></tr><tr><td>Amháric (am)</td><td>Afro-Asiatic</td><td>Ge'ez</td><td>88,320</td></tr><tr><td>Divehi (dv)</td><td>Indo-European</td><td>Thaana</td><td>34,779</td></tr><tr><td>Khmer (km)</td><td>Austroasiatic</td><td>Khmer</td><td>139,704</td></tr><tr><td>Sinhala (si)</td><td>Indo-European</td><td>Sinhala</td><td>219,866</td></tr><tr><td>Tibetan (bo)</td><td>Sino-Tibetan</td><td>Tibetan</td><td>131,362</td></tr></table>"
|
| 413 |
+
},
|
| 414 |
+
{
|
| 415 |
+
"type": "table_caption",
|
| 416 |
+
"bbox": [
|
| 417 |
+
0.113,
|
| 418 |
+
0.251,
|
| 419 |
+
0.49,
|
| 420 |
+
0.323
|
| 421 |
+
],
|
| 422 |
+
"angle": 0,
|
| 423 |
+
"content": "Table 1: Languages with their ISO 639-3 codes used in our evaluation, along with their script, language family, and number of sentences available for pretraining. The dashed line separates languages with unseen scripts, placed in the bottom part of the table."
|
| 424 |
+
},
|
| 425 |
+
{
|
| 426 |
+
"type": "text",
|
| 427 |
+
"bbox": [
|
| 428 |
+
0.114,
|
| 429 |
+
0.352,
|
| 430 |
+
0.462,
|
| 431 |
+
0.367
|
| 432 |
+
],
|
| 433 |
+
"angle": 0,
|
| 434 |
+
"content": "versions of target language data, outlined here."
|
| 435 |
+
},
|
| 436 |
+
{
|
| 437 |
+
"type": "text",
|
| 438 |
+
"bbox": [
|
| 439 |
+
0.113,
|
| 440 |
+
0.375,
|
| 441 |
+
0.49,
|
| 442 |
+
0.568
|
| 443 |
+
],
|
| 444 |
+
"angle": 0,
|
| 445 |
+
"content": "Variants with Non-Transliterated Data. For the Non-Trans\\(_{\\mathrm{LA} + \\mathrm{INV}}\\) variant, we train LAs and INV adapters together. This variant serves to examine the extent to which mPLMs can adapt to unseen languages without any vocabulary extension.\\(^5\\) We compare this to Non-Trans\\(_{\\mathrm{LA} + \\mathrm{Emb}_{\\mathrm{Lex}}}\\), which trains a new tokenizer for the target language (Pfeiffer et al., 2021): the so-called 'lexically overlapping' tokens are initialized with mPLM's trained embeddings, while the remaining embeddings are initialized randomly. All these embeddings (Emb\\(_{\\mathrm{Lex}}\\)) are fine-tuned along with LAs."
|
| 446 |
+
},
|
| 447 |
+
{
|
| 448 |
+
"type": "text",
|
| 449 |
+
"bbox": [
|
| 450 |
+
0.113,
|
| 451 |
+
0.576,
|
| 452 |
+
0.49,
|
| 453 |
+
0.817
|
| 454 |
+
],
|
| 455 |
+
"angle": 0,
|
| 456 |
+
"content": "Variants with Transliterated Data. We evaluate a \\(\\mathrm{Trans}_{\\mathrm{LA} + \\mathrm{INV}}\\) variant, which uses the same setup as Non-Trans \\(\\mathrm{LA} + \\mathrm{INV}\\) but now with transliterated data. We again note that in this efficient setup, we do not extend the vocabulary size, and use the fewest trainable parameters. In the \\(\\mathrm{Trans}_{\\mathrm{LA} + \\mathrm{mPLM}_{\\mathrm{ft}}}\\) variant, we train LAs along with fine-tuning the pretrained embeddings of mPLM (mPLMft). This further enhances the model capacity by fine-tuning the embedding layer instead of using invertible adapters. For both variants, transliterated data can be produced via different transliterations: (i) language-specific ones; (ii) the ones from 'language siblings' (e.g., using a Georgian transliterator for Mingrelian), or (iii) UROMAN."
|
| 457 |
+
},
|
| 458 |
+
{
|
| 459 |
+
"type": "title",
|
| 460 |
+
"bbox": [
|
| 461 |
+
0.509,
|
| 462 |
+
0.085,
|
| 463 |
+
0.715,
|
| 464 |
+
0.101
|
| 465 |
+
],
|
| 466 |
+
"angle": 0,
|
| 467 |
+
"content": "3.1 Experimental Setup"
|
| 468 |
+
},
|
| 469 |
+
{
|
| 470 |
+
"type": "text",
|
| 471 |
+
"bbox": [
|
| 472 |
+
0.507,
|
| 473 |
+
0.106,
|
| 474 |
+
0.885,
|
| 475 |
+
0.331
|
| 476 |
+
],
|
| 477 |
+
"angle": 0,
|
| 478 |
+
"content": "Data, Languages and Tasks. Following Pfeiffer et al. (2021), we select mBERT as our base mPLM. We experiment with 14 typologically diverse low-resource languages that are not part of mBERT's pretraining corpora, with 5/14 languages written in distinct scripts (see Table 1 for details). For LA training, we use Wikipedia dumps for the target languages, which we also transliterate (using different translitators). Evaluation is conducted on two standard cross-lingual transfer tasks in zero-shot setups: 1) the WikiAnn NER dataset (Pan et al., 2017) with the train, dev, and test splits from (Rahimi et al., 2019); 2) for dependency parsing, we rely on the UD Dataset v2.7 (Nivre et al., 2020)."
|
| 479 |
+
},
|
| 480 |
+
{
|
| 481 |
+
"type": "text",
|
| 482 |
+
"bbox": [
|
| 483 |
+
0.508,
|
| 484 |
+
0.336,
|
| 485 |
+
0.884,
|
| 486 |
+
0.417
|
| 487 |
+
],
|
| 488 |
+
"angle": 0,
|
| 489 |
+
"content": "LAs and TAs. English is the source language in all experiments, and is used for training TAs. The English LA is obtained directly from Adapterhub.ml (Pfeiffer et al., 2020a), LAs and embeddings (when needed) are only trained for target languages."
|
| 490 |
+
},
|
| 491 |
+
{
|
| 492 |
+
"type": "text",
|
| 493 |
+
"bbox": [
|
| 494 |
+
0.508,
|
| 495 |
+
0.418,
|
| 496 |
+
0.882,
|
| 497 |
+
0.464
|
| 498 |
+
],
|
| 499 |
+
"angle": 0,
|
| 500 |
+
"content": "Finally, for the Non-Trans\\(_{\\mathrm{LA + Emb_{Lex}}}\\) variant, we train a WordPiece tokenizer on the target language data with a vocabulary size of 10K."
|
| 501 |
+
},
|
| 502 |
+
{
|
| 503 |
+
"type": "text",
|
| 504 |
+
"bbox": [
|
| 505 |
+
0.508,
|
| 506 |
+
0.471,
|
| 507 |
+
0.884,
|
| 508 |
+
0.534
|
| 509 |
+
],
|
| 510 |
+
"angle": 0,
|
| 511 |
+
"content": "Training of Language and Task Adapters. We train all the language adapters for 50 epochs or \\(\\sim 50K\\) update steps based on the corpus size. The batch size is set to 64 and the learning rate is \\(1e - 4\\)."
|
| 512 |
+
},
|
| 513 |
+
{
|
| 514 |
+
"type": "text",
|
| 515 |
+
"bbox": [
|
| 516 |
+
0.507,
|
| 517 |
+
0.535,
|
| 518 |
+
0.884,
|
| 519 |
+
0.679
|
| 520 |
+
],
|
| 521 |
+
"angle": 0,
|
| 522 |
+
"content": "We train English task adapters following the setup from (Pfeiffer et al., 2020b). For NER, we directly obtain the task adapter from Adapterhub.ml which is trained with a learning rate of \\(1e - 4\\) for 10 epochs. For DP, we train a Transformer-based (Glavaš and Vulić, 2021) biaffine attention dependency parser (Dozat and Manning, 2017). We use a learning rate of \\(5e - 4\\) and train for 10 epochs as in (Pfeiffer et al., 2021)."
|
| 523 |
+
},
|
| 524 |
+
{
|
| 525 |
+
"type": "text",
|
| 526 |
+
"bbox": [
|
| 527 |
+
0.508,
|
| 528 |
+
0.68,
|
| 529 |
+
0.885,
|
| 530 |
+
0.856
|
| 531 |
+
],
|
| 532 |
+
"angle": 0,
|
| 533 |
+
"content": "All the reported results in both tasks (NER and DP) are reported as averages over 6 random seeds. All the models have been trained on A100 or V100 GPUs. None of the training methods consumed more than 36 hours. As the main means of analyzing the impact of transliteration in general and UROMAN-based romanization in particular, we train different variants of language adapters within the MAD-X framework, based on transliterated and non-transliterated versions of target language data, outlined here."
|
| 534 |
+
},
|
| 535 |
+
{
|
| 536 |
+
"type": "title",
|
| 537 |
+
"bbox": [
|
| 538 |
+
0.509,
|
| 539 |
+
0.867,
|
| 540 |
+
0.736,
|
| 541 |
+
0.882
|
| 542 |
+
],
|
| 543 |
+
"angle": 0,
|
| 544 |
+
"content": "3.2 Results and Discussion"
|
| 545 |
+
},
|
| 546 |
+
{
|
| 547 |
+
"type": "text",
|
| 548 |
+
"bbox": [
|
| 549 |
+
0.508,
|
| 550 |
+
0.888,
|
| 551 |
+
0.884,
|
| 552 |
+
0.919
|
| 553 |
+
],
|
| 554 |
+
"angle": 0,
|
| 555 |
+
"content": "UROMAN versus Other Transliterators and Transliteration Strategies. In order to estab"
|
| 556 |
+
},
|
| 557 |
+
{
|
| 558 |
+
"type": "page_footnote",
|
| 559 |
+
"bbox": [
|
| 560 |
+
0.113,
|
| 561 |
+
0.833,
|
| 562 |
+
0.488,
|
| 563 |
+
0.87
|
| 564 |
+
],
|
| 565 |
+
"angle": 0,
|
| 566 |
+
"content": "<sup>5</sup>Since LAs without INV typically perform worse than with INV (Pfeiffer et al., 2020b), also confirmed in our preliminary experiments, we do not ablate to the setup without INV."
|
| 567 |
+
},
|
| 568 |
+
{
|
| 569 |
+
"type": "page_footnote",
|
| 570 |
+
"bbox": [
|
| 571 |
+
0.113,
|
| 572 |
+
0.87,
|
| 573 |
+
0.488,
|
| 574 |
+
0.919
|
| 575 |
+
],
|
| 576 |
+
"angle": 0,
|
| 577 |
+
"content": "<sup>6</sup>We do not have this setup for non-transliterated data since, for languages with unseen scripts, most of the tokens are replaced by the generic 'UNK' token, and fine-tuning embeddings hardly benefit downstream performance."
|
| 578 |
+
},
|
| 579 |
+
{
|
| 580 |
+
"type": "list",
|
| 581 |
+
"bbox": [
|
| 582 |
+
0.113,
|
| 583 |
+
0.833,
|
| 584 |
+
0.488,
|
| 585 |
+
0.919
|
| 586 |
+
],
|
| 587 |
+
"angle": 0,
|
| 588 |
+
"content": null
|
| 589 |
+
},
|
| 590 |
+
{
|
| 591 |
+
"type": "page_number",
|
| 592 |
+
"bbox": [
|
| 593 |
+
0.481,
|
| 594 |
+
0.928,
|
| 595 |
+
0.521,
|
| 596 |
+
0.941
|
| 597 |
+
],
|
| 598 |
+
"angle": 0,
|
| 599 |
+
"content": "7998"
|
| 600 |
+
}
|
| 601 |
+
],
|
| 602 |
+
[
|
| 603 |
+
{
|
| 604 |
+
"type": "table",
|
| 605 |
+
"bbox": [
|
| 606 |
+
0.182,
|
| 607 |
+
0.082,
|
| 608 |
+
0.813,
|
| 609 |
+
0.141
|
| 610 |
+
],
|
| 611 |
+
"angle": 0,
|
| 612 |
+
"content": "<table><tr><td>Task</td><td>Transliterator</td><td>am</td><td>ar</td><td>ka</td><td>ru</td><td>hi</td><td>sd</td><td>avg</td></tr><tr><td rowspan=\"2\">NER (Macro F1)</td><td>UROMAN</td><td>25.6</td><td>24.8</td><td>61.4</td><td>66.5</td><td>48.6</td><td>35.3</td><td>43.7</td></tr><tr><td>Other</td><td>25.5</td><td>23.7</td><td>57.3</td><td>63.9</td><td>56.7</td><td>35.9</td><td>43.8</td></tr><tr><td rowspan=\"2\">UD (UAS / LAS)</td><td>UROMAN</td><td>36.17 / 6.6</td><td>33.0 / 19.8</td><td>-</td><td>47.3 / 32.4</td><td>33.8 / 17.8</td><td>-</td><td>37.5 / 19.1</td></tr><tr><td>Other</td><td>29.9 / 5.4</td><td>32.6 / 19.9</td><td>-</td><td>45.0 / 19.9</td><td>33.2 / 17.9</td><td>-</td><td>35.2 / 15.8</td></tr></table>"
|
| 613 |
+
},
|
| 614 |
+
{
|
| 615 |
+
"type": "table_caption",
|
| 616 |
+
"bbox": [
|
| 617 |
+
0.253,
|
| 618 |
+
0.147,
|
| 619 |
+
0.741,
|
| 620 |
+
0.161
|
| 621 |
+
],
|
| 622 |
+
"angle": 0,
|
| 623 |
+
"content": "Table 2: Comparison of UROMAN with language-specific transliterations."
|
| 624 |
+
},
|
| 625 |
+
{
|
| 626 |
+
"type": "table",
|
| 627 |
+
"bbox": [
|
| 628 |
+
0.117,
|
| 629 |
+
0.169,
|
| 630 |
+
0.844,
|
| 631 |
+
0.228
|
| 632 |
+
],
|
| 633 |
+
"angle": 0,
|
| 634 |
+
"content": "<table><tr><td rowspan=\"2\">Method</td><td colspan=\"7\">Seen Script</td><td colspan=\"6\">Unseen Script</td><td>avg</td></tr><tr><td>bh</td><td>cdo</td><td>ckb</td><td>mhr</td><td>sd</td><td>ug</td><td>xmf</td><td>am</td><td>bo</td><td>dv</td><td>km</td><td>si</td><td></td><td></td></tr><tr><td>UROMAN</td><td>32.59</td><td>27.34</td><td>67.73</td><td>64.68</td><td>35.33</td><td>28.10</td><td>52.58</td><td>25.69</td><td>35.95</td><td>29.99</td><td>41.76</td><td>31.83</td><td>26.89</td><td></td></tr><tr><td>BORROW</td><td>53.42 (hi)</td><td>-</td><td>12.46 (ar)</td><td>45.86 (ru)</td><td>16.79 (ar)</td><td>12.85 (ar)</td><td>24.77 (ru)</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td></td></tr><tr><td>RAND</td><td>25.42</td><td>19.51</td><td>53.55</td><td>42.02</td><td>27.20</td><td>25.18</td><td>35.82</td><td>18.00</td><td>18.95</td><td>21.19</td><td>32.75</td><td>20.01</td><td>21.59</td><td></td></tr></table>"
|
| 635 |
+
},
|
| 636 |
+
{
|
| 637 |
+
"type": "table_caption",
|
| 638 |
+
"bbox": [
|
| 639 |
+
0.206,
|
| 640 |
+
0.234,
|
| 641 |
+
0.788,
|
| 642 |
+
0.248
|
| 643 |
+
],
|
| 644 |
+
"angle": 0,
|
| 645 |
+
"content": "Table 3: Comparison of various transliteration strategies on the NER task (Macro-F1)."
|
| 646 |
+
},
|
| 647 |
+
{
|
| 648 |
+
"type": "table",
|
| 649 |
+
"bbox": [
|
| 650 |
+
0.149,
|
| 651 |
+
0.254,
|
| 652 |
+
0.844,
|
| 653 |
+
0.326
|
| 654 |
+
],
|
| 655 |
+
"angle": 0,
|
| 656 |
+
"content": "<table><tr><td rowspan=\"2\">Variant</td><td colspan=\"7\">Seen Script</td><td colspan=\"5\">Unseen Script</td><td rowspan=\"2\">avg</td></tr><tr><td>bh</td><td>cdo</td><td>sd</td><td>xmf</td><td>mhr</td><td>ckb</td><td>ug</td><td>am</td><td>bo</td><td>dv</td><td>km</td><td>si</td></tr><tr><td>Non-TransLA+INV</td><td>55.14</td><td>24.19</td><td>31.31</td><td>49.74</td><td>70.31</td><td>45.54</td><td>33.53</td><td>3.26</td><td>19.86</td><td>18.72</td><td>13.81</td><td>23.14</td><td>18.39</td></tr><tr><td>TransLA+INV</td><td>32.59</td><td>27.34</td><td>35.33</td><td>52.58</td><td>64.68</td><td>67.73</td><td>28.10</td><td>25.69</td><td>35.95</td><td>29.99</td><td>41.76</td><td>31.83</td><td>26.89</td></tr><tr><td>Non-TransLA+EmblEx</td><td>60.00</td><td>28.91</td><td>42.47</td><td>51.99</td><td>61.05</td><td>79.12</td><td>50.42</td><td>47.60</td><td>40.96</td><td>31.21</td><td>53.94</td><td>45.89</td><td>49.01</td></tr><tr><td>TransLA + mPLMrl</td><td>49.05</td><td>36.92</td><td>39.16</td><td>57.99</td><td>69.85</td><td>73.92</td><td>33.43</td><td>37.09</td><td>33.82</td><td>40.40</td><td>52.39</td><td>45.24</td><td>47.44</td></tr></table>"
|
| 657 |
+
},
|
| 658 |
+
{
|
| 659 |
+
"type": "table_caption",
|
| 660 |
+
"bbox": [
|
| 661 |
+
0.21,
|
| 662 |
+
0.332,
|
| 663 |
+
0.785,
|
| 664 |
+
0.346
|
| 665 |
+
],
|
| 666 |
+
"angle": 0,
|
| 667 |
+
"content": "Table 4: Results (Macro-F1 scores) on WikiAnn NER averaged over 6 random seeds."
|
| 668 |
+
},
|
| 669 |
+
{
|
| 670 |
+
"type": "table",
|
| 671 |
+
"bbox": [
|
| 672 |
+
0.182,
|
| 673 |
+
0.354,
|
| 674 |
+
0.812,
|
| 675 |
+
0.426
|
| 676 |
+
],
|
| 677 |
+
"angle": 0,
|
| 678 |
+
"content": "<table><tr><td rowspan=\"2\">Variant</td><td colspan=\"4\">Seen Script</td><td colspan=\"2\">Unseen Script</td></tr><tr><td>bh</td><td>myv</td><td>ug</td><td>bxr</td><td>am</td><td>avg</td></tr><tr><td>Non-TransLA+INV</td><td>28.46 / 11.53</td><td>45.28 / 26.27</td><td>33.44 / 15.28</td><td>39.75 / 19.77</td><td>19.08 / 1.85</td><td>33.20 / 10.81</td></tr><tr><td>TransLA+INV</td><td>25.12 / 10.17</td><td>45.74 / 26.64</td><td>32.30 / 15.10</td><td>37.92 / 17.23</td><td>36.07 / 7.58</td><td>35.43 / 12.41</td></tr><tr><td>Non-TransLA+EmblEx</td><td>26.68 / 10.10</td><td>48.34 / 25.34</td><td>41.20 / 22.81</td><td>39.51 / 16.02</td><td>36.4778.39</td><td>38.44 / 12.20</td></tr><tr><td>TransLA + mPLMrl</td><td>28.04 / 11.13</td><td>41.97 / 20.29</td><td>50.89 / 16.56</td><td>35.03 / 20.29</td><td>39.10 / 9.00</td><td>39.01 / 14.65</td></tr></table>"
|
| 679 |
+
},
|
| 680 |
+
{
|
| 681 |
+
"type": "table_caption",
|
| 682 |
+
"bbox": [
|
| 683 |
+
0.184,
|
| 684 |
+
0.431,
|
| 685 |
+
0.811,
|
| 686 |
+
0.446
|
| 687 |
+
],
|
| 688 |
+
"angle": 0,
|
| 689 |
+
"content": "Table 5: Results (UAS / LAS scores) in the DP task with UD, averaged over 6 random seeds."
|
| 690 |
+
},
|
| 691 |
+
{
|
| 692 |
+
"type": "text",
|
| 693 |
+
"bbox": [
|
| 694 |
+
0.112,
|
| 695 |
+
0.464,
|
| 696 |
+
0.49,
|
| 697 |
+
0.72
|
| 698 |
+
],
|
| 699 |
+
"angle": 0,
|
| 700 |
+
"content": "lish the utility of UROMAN as a viable transliterator, especially for low-resource languages, we compare its performance with transliteration options using the TransLA + INV setup as the most efficient scenario. First, we compare UROMAN with language-specific transliterations available for selected languages: amseg (Yimam et al., 2021) for Amharic, ai4bharat-transliteration (Madhani et al., 2022) for Hindi and Sindhi, lang-trans for Arabic, and transliterate for Russian and Georgian<sup>7</sup>. The transliterations used in this work are outlined in Table 6. The results are provided in Table 2. On average, UROMAN performs better or comparable to the language-specific transliterations. This provides justification to use UROMAN for massive transliteration at scale."
|
| 701 |
+
},
|
| 702 |
+
{
|
| 703 |
+
"type": "text",
|
| 704 |
+
"bbox": [
|
| 705 |
+
0.113,
|
| 706 |
+
0.724,
|
| 707 |
+
0.49,
|
| 708 |
+
0.853
|
| 709 |
+
],
|
| 710 |
+
"angle": 0,
|
| 711 |
+
"content": "Second, we compare UROMAN to two other transliteration strategies. (i) BORROW refers to borrowing transliterators from languages within the same language family and written in the same script. Since building transliterators are costly, this gives us an estimate of whether it is possible to rely on the related transliterators when we do not have a language-specific one at hand. (ii) RAND"
|
| 712 |
+
},
|
| 713 |
+
{
|
| 714 |
+
"type": "text",
|
| 715 |
+
"bbox": [
|
| 716 |
+
0.508,
|
| 717 |
+
0.465,
|
| 718 |
+
0.885,
|
| 719 |
+
0.706
|
| 720 |
+
],
|
| 721 |
+
"angle": 0,
|
| 722 |
+
"content": "refers to a random setting where we associate any non-ASCII character with any ASCII character, giving us an estimate of whether we actually need knowledge of the language to build transliterations. The results are provided in Table 3: UROMAN is largely and consistently outperforming both BORROW and RAND, where the single exception is BORROW (from Hindi to Bhojpuri). Surprisingly, RAND also yields reasonable performance and on average even outperforms the Non-TransLA+INV variant with non-transliterated data (21.59 vs 18.39 in Table 4 later). This provides further evidence towards the utility of transliteration in general and UROMAN-based romanization in particular to assist and improve language adaptation."
|
| 723 |
+
},
|
| 724 |
+
{
|
| 725 |
+
"type": "text",
|
| 726 |
+
"bbox": [
|
| 727 |
+
0.508,
|
| 728 |
+
0.713,
|
| 729 |
+
0.884,
|
| 730 |
+
0.842
|
| 731 |
+
],
|
| 732 |
+
"angle": 0,
|
| 733 |
+
"content": "Performance on Low-Resource Languages is summarized in Table 4 and Table 5. We note that \\(\\mathrm{Trans}_{\\mathrm{LA} + \\mathrm{INV}}\\) outperforms Non-Trans \\(\\mathrm{LA} + \\mathrm{INV}\\) for all the languages with unseen scripts, and achieves that with huge margins (\\(\\sim\\) 8-22 points for NER and \\(\\sim\\) 17 points in UAS scores). We observe similar trends for some of the languages with seen scripts such as Min Dong (cdo), Sindhi (sd), Mingrelian"
|
| 734 |
+
},
|
| 735 |
+
{
|
| 736 |
+
"type": "page_footnote",
|
| 737 |
+
"bbox": [
|
| 738 |
+
0.508,
|
| 739 |
+
0.858,
|
| 740 |
+
0.884,
|
| 741 |
+
0.918
|
| 742 |
+
],
|
| 743 |
+
"angle": 0,
|
| 744 |
+
"content": "<sup>9</sup>We also compare the performance of these methods with the standard cross-lingual transfer setup for finetuning an out-of-the-box mBERT for languages with unseen scripts in Appendix B. All the adapter-based methods massively outperform an out-of-the-box mBERT in this scenario."
|
| 745 |
+
},
|
| 746 |
+
{
|
| 747 |
+
"type": "page_footnote",
|
| 748 |
+
"bbox": [
|
| 749 |
+
0.114,
|
| 750 |
+
0.868,
|
| 751 |
+
0.486,
|
| 752 |
+
0.892
|
| 753 |
+
],
|
| 754 |
+
"angle": 0,
|
| 755 |
+
"content": "For reproducibility, the links to the language-specific translitators are available in Appendix A"
|
| 756 |
+
},
|
| 757 |
+
{
|
| 758 |
+
"type": "page_footnote",
|
| 759 |
+
"bbox": [
|
| 760 |
+
0.114,
|
| 761 |
+
0.893,
|
| 762 |
+
0.486,
|
| 763 |
+
0.919
|
| 764 |
+
],
|
| 765 |
+
"angle": 0,
|
| 766 |
+
"content": "\\(^{8}\\)E.g., a Hindi transliterator can be borrowed for Bhojpuri since the two are related and written in Devanagari."
|
| 767 |
+
},
|
| 768 |
+
{
|
| 769 |
+
"type": "list",
|
| 770 |
+
"bbox": [
|
| 771 |
+
0.114,
|
| 772 |
+
0.868,
|
| 773 |
+
0.486,
|
| 774 |
+
0.919
|
| 775 |
+
],
|
| 776 |
+
"angle": 0,
|
| 777 |
+
"content": null
|
| 778 |
+
},
|
| 779 |
+
{
|
| 780 |
+
"type": "page_number",
|
| 781 |
+
"bbox": [
|
| 782 |
+
0.481,
|
| 783 |
+
0.928,
|
| 784 |
+
0.521,
|
| 785 |
+
0.941
|
| 786 |
+
],
|
| 787 |
+
"angle": 0,
|
| 788 |
+
"content": "7999"
|
| 789 |
+
}
|
| 790 |
+
],
|
| 791 |
+
[
|
| 792 |
+
{
|
| 793 |
+
"type": "image",
|
| 794 |
+
"bbox": [
|
| 795 |
+
0.129,
|
| 796 |
+
0.085,
|
| 797 |
+
0.473,
|
| 798 |
+
0.208
|
| 799 |
+
],
|
| 800 |
+
"angle": 0,
|
| 801 |
+
"content": null
|
| 802 |
+
},
|
| 803 |
+
{
|
| 804 |
+
"type": "image_caption",
|
| 805 |
+
"bbox": [
|
| 806 |
+
0.147,
|
| 807 |
+
0.219,
|
| 808 |
+
0.454,
|
| 809 |
+
0.234
|
| 810 |
+
],
|
| 811 |
+
"angle": 0,
|
| 812 |
+
"content": "Figure 2: Sample efficiency in the NER task."
|
| 813 |
+
},
|
| 814 |
+
{
|
| 815 |
+
"type": "image",
|
| 816 |
+
"bbox": [
|
| 817 |
+
0.122,
|
| 818 |
+
0.245,
|
| 819 |
+
0.445,
|
| 820 |
+
0.356
|
| 821 |
+
],
|
| 822 |
+
"angle": 0,
|
| 823 |
+
"content": null
|
| 824 |
+
},
|
| 825 |
+
{
|
| 826 |
+
"type": "image_caption",
|
| 827 |
+
"bbox": [
|
| 828 |
+
0.154,
|
| 829 |
+
0.368,
|
| 830 |
+
0.446,
|
| 831 |
+
0.383
|
| 832 |
+
],
|
| 833 |
+
"angle": 0,
|
| 834 |
+
"content": "Figure 3: Sample efficiency in the DP task."
|
| 835 |
+
},
|
| 836 |
+
{
|
| 837 |
+
"type": "text",
|
| 838 |
+
"bbox": [
|
| 839 |
+
0.113,
|
| 840 |
+
0.402,
|
| 841 |
+
0.49,
|
| 842 |
+
0.611
|
| 843 |
+
],
|
| 844 |
+
"angle": 0,
|
| 845 |
+
"content": "(xmf) on NER tasks and Erzya (myv) on DP. The less efficient \\(\\mathrm{Trans}_{\\mathrm{LA} + \\mathrm{mPLM_{ft}}}\\), as expected, further improves the performance for all the languages except for Tibetan (bo).<sup>10</sup> Non-Trans\\(_{\\mathrm{LA} + \\mathrm{Emb}_{\\mathrm{Lex}}}\\), however, now outperforms UROMAN-based methods for a majority of the languages. This observation can be attributed to various factors related to mBERT's tokenizer, and we provide an in-depth analysis later in Appendix C. Nonetheless, we observe strong and competitive performance of \\(\\mathrm{Trans}_{\\mathrm{LA} + \\mathrm{mPLM_{ft}}}\\) in both tasks, again indicating that more attention should be put on transliteration-based language adaptation in future work."
|
| 846 |
+
},
|
| 847 |
+
{
|
| 848 |
+
"type": "text",
|
| 849 |
+
"bbox": [
|
| 850 |
+
0.113,
|
| 851 |
+
0.621,
|
| 852 |
+
0.49,
|
| 853 |
+
0.846
|
| 854 |
+
],
|
| 855 |
+
"angle": 0,
|
| 856 |
+
"content": "Sample Efficiency. Finally, we simulate a few-shot setup to study the effectiveness of using transliterated versus non-transliterated data in data-scarce scenarios. For NER, we evaluate performance on all the languages and on languages with unseen scripts; for DP, we evaluate on all the languages. Figure 2 indicates that \\(\\mathrm{Trans}_{\\mathrm{LA} + \\mathrm{INV}}\\) on average performs better than all the other methods at sample sizes 100 (i.e., 100 sentences in the target language) and 1,000. However, from 10,000 sentences onward, Non-Trans \\(\\mathrm{LA} + \\mathrm{Emb}_{\\mathrm{Lex}}\\) takes the lead. We observe similar trends in the DP task (see Fig 3). This establishes the utility of transliteration for (extremely) low-resource scenarios."
|
| 857 |
+
},
|
| 858 |
+
{
|
| 859 |
+
"type": "title",
|
| 860 |
+
"bbox": [
|
| 861 |
+
0.51,
|
| 862 |
+
0.084,
|
| 863 |
+
0.642,
|
| 864 |
+
0.099
|
| 865 |
+
],
|
| 866 |
+
"angle": 0,
|
| 867 |
+
"content": "4 Conclusion"
|
| 868 |
+
},
|
| 869 |
+
{
|
| 870 |
+
"type": "text",
|
| 871 |
+
"bbox": [
|
| 872 |
+
0.508,
|
| 873 |
+
0.11,
|
| 874 |
+
0.886,
|
| 875 |
+
0.239
|
| 876 |
+
],
|
| 877 |
+
"angle": 0,
|
| 878 |
+
"content": "In this work, we have systematically analyzed and confirmed the potential of romanization, implemented via the UROMAN tool, to help with adaptation of multilingual pretrained language models. Given (i) its broad applicability and (ii) strong performance overall and for languages with unseen scripts, we hope our study will inspire more work on transliteration-based adaptation."
|
| 879 |
+
},
|
| 880 |
+
{
|
| 881 |
+
"type": "title",
|
| 882 |
+
"bbox": [
|
| 883 |
+
0.51,
|
| 884 |
+
0.25,
|
| 885 |
+
0.615,
|
| 886 |
+
0.265
|
| 887 |
+
],
|
| 888 |
+
"angle": 0,
|
| 889 |
+
"content": "Limitations"
|
| 890 |
+
},
|
| 891 |
+
{
|
| 892 |
+
"type": "text",
|
| 893 |
+
"bbox": [
|
| 894 |
+
0.508,
|
| 895 |
+
0.276,
|
| 896 |
+
0.885,
|
| 897 |
+
0.581
|
| 898 |
+
],
|
| 899 |
+
"angle": 0,
|
| 900 |
+
"content": "In this paper, we work with UROMAN (Hermjakob et al., 2018) which is an unsupervised romanization tool. While it is an effective tool for romanization at scale, it still has potential drawbacks. Since it is only based on lexical substitution, its transliterations may not semantically or phonetically align with the source content and may differ from transliterations preferred by native speakers. Moreover, UROMAN is not invertible—as we have highlighted—and may thus be less appealing when text in the original script needs to be exactly reproduced. Our proposed method, while it is parameter-efficient and effective—particularly for low-resource languages—still underperforms language-specific tokenizer-based non-transliteration methods. Future work may focus on developing an improved and more efficient tokenizer for transliteration-based methods as we highlight in the Appendix."
|
| 901 |
+
},
|
| 902 |
+
{
|
| 903 |
+
"type": "text",
|
| 904 |
+
"bbox": [
|
| 905 |
+
0.508,
|
| 906 |
+
0.582,
|
| 907 |
+
0.884,
|
| 908 |
+
0.79
|
| 909 |
+
],
|
| 910 |
+
"angle": 0,
|
| 911 |
+
"content": "While there is now a growing body of available evaluation resources for low-resource languages (Ebrahimimi et al., 2022; Mhaske et al., 2023; Winata et al., 2023, among others), our final selection of tasks, resources and languages has been driven and constrained by the specific concrete goal of our short paper: studying and evaluating if and how transliteration/romanization can help with adaptation of languages with scripts unseen by the pretrained multilingual language model. We thus closely follow the experimental setup of Pfeiffer et al. (2021) which used the same set of tasks and languages with unseen scripts."
|
| 912 |
+
},
|
| 913 |
+
{
|
| 914 |
+
"type": "text",
|
| 915 |
+
"bbox": [
|
| 916 |
+
0.508,
|
| 917 |
+
0.792,
|
| 918 |
+
0.885,
|
| 919 |
+
0.92
|
| 920 |
+
],
|
| 921 |
+
"angle": 0,
|
| 922 |
+
"content": "Finally, romanization can be seen as a step towards providing more universal, or rather language-agnostic, input text representation. Full-fledged comparisons against other approaches that aim to strike language independence at the input or feature level, such as byte-level models (e.g., ByT5 (Xue et al., 2022)) and pixel-based models (e.g., PILXEL (Rust et al., 2023)) go beyond"
|
| 923 |
+
},
|
| 924 |
+
{
|
| 925 |
+
"type": "page_footnote",
|
| 926 |
+
"bbox": [
|
| 927 |
+
0.113,
|
| 928 |
+
0.869,
|
| 929 |
+
0.489,
|
| 930 |
+
0.919
|
| 931 |
+
],
|
| 932 |
+
"angle": 0,
|
| 933 |
+
"content": "10 For Tibetan, longer words are composed using shorter words separated by tsek (\":\") which is not a valid space delimiter for the mBERT tokenizer; the number of produced subwords is thus much higher than for the other languages."
|
| 934 |
+
},
|
| 935 |
+
{
|
| 936 |
+
"type": "page_number",
|
| 937 |
+
"bbox": [
|
| 938 |
+
0.481,
|
| 939 |
+
0.929,
|
| 940 |
+
0.521,
|
| 941 |
+
0.941
|
| 942 |
+
],
|
| 943 |
+
"angle": 0,
|
| 944 |
+
"content": "8000"
|
| 945 |
+
}
|
| 946 |
+
],
|
| 947 |
+
[
|
| 948 |
+
{
|
| 949 |
+
"type": "text",
|
| 950 |
+
"bbox": [
|
| 951 |
+
0.113,
|
| 952 |
+
0.085,
|
| 953 |
+
0.49,
|
| 954 |
+
0.181
|
| 955 |
+
],
|
| 956 |
+
"angle": 0,
|
| 957 |
+
"content": "the scope of this particular work, but we point out to this as a very interesting future research avenue. Moreover, the integration of these language-agnostic representations with 'romanization'-based approaches might yield additional benefits, and should also be attested in future research."
|
| 958 |
+
},
|
| 959 |
+
{
|
| 960 |
+
"type": "title",
|
| 961 |
+
"bbox": [
|
| 962 |
+
0.115,
|
| 963 |
+
0.194,
|
| 964 |
+
0.287,
|
| 965 |
+
0.21
|
| 966 |
+
],
|
| 967 |
+
"angle": 0,
|
| 968 |
+
"content": "Acknowledgements"
|
| 969 |
+
},
|
| 970 |
+
{
|
| 971 |
+
"type": "text",
|
| 972 |
+
"bbox": [
|
| 973 |
+
0.113,
|
| 974 |
+
0.22,
|
| 975 |
+
0.488,
|
| 976 |
+
0.315
|
| 977 |
+
],
|
| 978 |
+
"angle": 0,
|
| 979 |
+
"content": "This work has been funded by the German Research Foundation (DFG) as part of the Research Training Group KRITIS No. GRK 2222. The work of Ivan Vulić has been supported by a personal Royal Society University Research Fellowship (no 221137; 2022-)."
|
| 980 |
+
},
|
| 981 |
+
{
|
| 982 |
+
"type": "text",
|
| 983 |
+
"bbox": [
|
| 984 |
+
0.114,
|
| 985 |
+
0.317,
|
| 986 |
+
0.487,
|
| 987 |
+
0.366
|
| 988 |
+
],
|
| 989 |
+
"angle": 0,
|
| 990 |
+
"content": "We thank Indraneil Paul, Yongxin Huang, Ivan Habernal, and Massimo Nicosia for their valuable feedback and suggestions on a draft of this paper."
|
| 991 |
+
},
|
| 992 |
+
{
|
| 993 |
+
"type": "title",
|
| 994 |
+
"bbox": [
|
| 995 |
+
0.115,
|
| 996 |
+
0.392,
|
| 997 |
+
0.214,
|
| 998 |
+
0.408
|
| 999 |
+
],
|
| 1000 |
+
"angle": 0,
|
| 1001 |
+
"content": "References"
|
| 1002 |
+
},
|
| 1003 |
+
{
|
| 1004 |
+
"type": "ref_text",
|
| 1005 |
+
"bbox": [
|
| 1006 |
+
0.116,
|
| 1007 |
+
0.415,
|
| 1008 |
+
0.49,
|
| 1009 |
+
0.496
|
| 1010 |
+
],
|
| 1011 |
+
"angle": 0,
|
| 1012 |
+
"content": "Chantal Amrhein and Rico Sennrich. 2020. On Romanization for model transfer between scripts in neural machine translation. In *Findings of the Association for Computational Linguistics: EMNLP* 2020, pages 2461-2469, Online. Association for Computational Linguistics."
|
| 1013 |
+
},
|
| 1014 |
+
{
|
| 1015 |
+
"type": "ref_text",
|
| 1016 |
+
"bbox": [
|
| 1017 |
+
0.117,
|
| 1018 |
+
0.505,
|
| 1019 |
+
0.49,
|
| 1020 |
+
0.611
|
| 1021 |
+
],
|
| 1022 |
+
"angle": 0,
|
| 1023 |
+
"content": "Alan Ansell, Edoardo Maria Ponti, Jonas Pfeiffer, Sebastian Ruder, Goran Glavaš, Ivan Vulić, and Anna Korhonen. 2021. MAD-G: Multilingual adapter generation for efficient cross-lingual transfer. In *Findings of the Association for Computational Linguistics: EMNLP* 2021, pages 4762–4781, Punta Cana, Dominican Republic. Association for Computational Linguistics."
|
| 1024 |
+
},
|
| 1025 |
+
{
|
| 1026 |
+
"type": "ref_text",
|
| 1027 |
+
"bbox": [
|
| 1028 |
+
0.117,
|
| 1029 |
+
0.621,
|
| 1030 |
+
0.49,
|
| 1031 |
+
0.701
|
| 1032 |
+
],
|
| 1033 |
+
"angle": 0,
|
| 1034 |
+
"content": "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."
|
| 1035 |
+
},
|
| 1036 |
+
{
|
| 1037 |
+
"type": "ref_text",
|
| 1038 |
+
"bbox": [
|
| 1039 |
+
0.117,
|
| 1040 |
+
0.711,
|
| 1041 |
+
0.49,
|
| 1042 |
+
0.79
|
| 1043 |
+
],
|
| 1044 |
+
"angle": 0,
|
| 1045 |
+
"content": "Ethan C. Chau and Noah A. Smith. 2021. Specializing multilingual language models: An empirical study. In Proceedings of the 1st Workshop on Multilingual Representation Learning, pages 51-61, Punta Cana, Dominican Republic. Association for Computational Linguistics."
|
| 1046 |
+
},
|
| 1047 |
+
{
|
| 1048 |
+
"type": "ref_text",
|
| 1049 |
+
"bbox": [
|
| 1050 |
+
0.117,
|
| 1051 |
+
0.801,
|
| 1052 |
+
0.49,
|
| 1053 |
+
0.919
|
| 1054 |
+
],
|
| 1055 |
+
"angle": 0,
|
| 1056 |
+
"content": "Alexis Conneau, Kartikay Khandelwal, Naman Goyal, Vishrav Chaudhary, Guillaume Wenzek, Francisco Guzmán, Edouard Grave, Myle Ott, Luke Zettle-moyer, and Veselin Stoyanov. 2020. Unsupervised cross-lingual representation learning at scale. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pages 8440-8451, Online. Association for Computational Linguistics."
|
| 1057 |
+
},
|
| 1058 |
+
{
|
| 1059 |
+
"type": "list",
|
| 1060 |
+
"bbox": [
|
| 1061 |
+
0.116,
|
| 1062 |
+
0.415,
|
| 1063 |
+
0.49,
|
| 1064 |
+
0.919
|
| 1065 |
+
],
|
| 1066 |
+
"angle": 0,
|
| 1067 |
+
"content": null
|
| 1068 |
+
},
|
| 1069 |
+
{
|
| 1070 |
+
"type": "ref_text",
|
| 1071 |
+
"bbox": [
|
| 1072 |
+
0.511,
|
| 1073 |
+
0.085,
|
| 1074 |
+
0.882,
|
| 1075 |
+
0.114
|
| 1076 |
+
],
|
| 1077 |
+
"angle": 0,
|
| 1078 |
+
"content": "Peter T. Daniels and William Bright. 1996. The world's writing systems. Oxford University Press."
|
| 1079 |
+
},
|
| 1080 |
+
{
|
| 1081 |
+
"type": "ref_text",
|
| 1082 |
+
"bbox": [
|
| 1083 |
+
0.511,
|
| 1084 |
+
0.124,
|
| 1085 |
+
0.885,
|
| 1086 |
+
0.205
|
| 1087 |
+
],
|
| 1088 |
+
"angle": 0,
|
| 1089 |
+
"content": "Isin Demirsahin, Cibu Johny, Alexander Gutkin, and Brian Roark. 2022. Criteria for useful automatic Romanization in South Asian languages. In Proceedings of the Thirteenth Language Resources and Evaluation Conference, pages 6662-6673, Marseille, France. European Language Resources Association."
|
| 1090 |
+
},
|
| 1091 |
+
{
|
| 1092 |
+
"type": "ref_text",
|
| 1093 |
+
"bbox": [
|
| 1094 |
+
0.511,
|
| 1095 |
+
0.216,
|
| 1096 |
+
0.885,
|
| 1097 |
+
0.334
|
| 1098 |
+
],
|
| 1099 |
+
"angle": 0,
|
| 1100 |
+
"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 4171-4186, Minneapolis, Minnesota. Association for Computational Linguistics."
|
| 1101 |
+
},
|
| 1102 |
+
{
|
| 1103 |
+
"type": "ref_text",
|
| 1104 |
+
"bbox": [
|
| 1105 |
+
0.511,
|
| 1106 |
+
0.346,
|
| 1107 |
+
0.885,
|
| 1108 |
+
0.464
|
| 1109 |
+
],
|
| 1110 |
+
"angle": 0,
|
| 1111 |
+
"content": "Tejas Dhamecha, Rudra Murthy, Samarth Bharadwaj, Karthik Sankaranarayanan, and Pushpak Bhattacharyya. 2021. Role of Language Relatedness in Multilingual Fine-tuning of Language Models: A Case Study in Indo-Aryan Languages. In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing, pages 8584-8595, Online and Punta Cana, Dominican Republic. Association for Computational Linguistics."
|
| 1112 |
+
},
|
| 1113 |
+
{
|
| 1114 |
+
"type": "ref_text",
|
| 1115 |
+
"bbox": [
|
| 1116 |
+
0.511,
|
| 1117 |
+
0.476,
|
| 1118 |
+
0.885,
|
| 1119 |
+
0.554
|
| 1120 |
+
],
|
| 1121 |
+
"angle": 0,
|
| 1122 |
+
"content": "Timothy Dozat and Christopher D. Manning. 2017. Deep biaffine attention for neural dependency parsing. In 5th International Conference on Learning Representations, ICLR 2017, Toulon, France, April 24-26, 2017, Conference Track Proceedings. Open-Review.net."
|
| 1123 |
+
},
|
| 1124 |
+
{
|
| 1125 |
+
"type": "ref_text",
|
| 1126 |
+
"bbox": [
|
| 1127 |
+
0.511,
|
| 1128 |
+
0.566,
|
| 1129 |
+
0.885,
|
| 1130 |
+
0.737
|
| 1131 |
+
],
|
| 1132 |
+
"angle": 0,
|
| 1133 |
+
"content": "Abteen Ebrahimi, Manuel Mager, Arturo Oncevay, Vishrav Chaudhary, Luis Chiruzzo, Angela Fan, John Ortega, Ricardo Ramos, Annette Rios, Ivan Vladimir Meza Ruiz, Gustavo Giménez-Lugo, Elisabeth Mager, Graham Neubig, Alexis Palmer, Rolando Coto-Solano, Thang Vu, and Katharina Kann. 2022. AmericasNLI: Evaluating zero-shot natural language understanding of pretrained multilingual models in truly low-resource languages. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 6279-6299, Dublin, Ireland. Association for Computational Linguistics."
|
| 1134 |
+
},
|
| 1135 |
+
{
|
| 1136 |
+
"type": "ref_text",
|
| 1137 |
+
"bbox": [
|
| 1138 |
+
0.511,
|
| 1139 |
+
0.749,
|
| 1140 |
+
0.885,
|
| 1141 |
+
0.842
|
| 1142 |
+
],
|
| 1143 |
+
"angle": 0,
|
| 1144 |
+
"content": "Goran Glavaš and Ivan Vulić. 2021. Is supervised syntactic parsing beneficial for language understanding tasks? an empirical investigation. In Proceedings of the 16th Conference of the European Chapter of the Association for Computational Linguistics: Main Volume, pages 3090-3104, Online. Association for Computational Linguistics."
|
| 1145 |
+
},
|
| 1146 |
+
{
|
| 1147 |
+
"type": "ref_text",
|
| 1148 |
+
"bbox": [
|
| 1149 |
+
0.511,
|
| 1150 |
+
0.852,
|
| 1151 |
+
0.885,
|
| 1152 |
+
0.919
|
| 1153 |
+
],
|
| 1154 |
+
"angle": 0,
|
| 1155 |
+
"content": "Ulf Hermjakob, Jonathan May, and Kevin Knight. 2018. Out-of-the-box universal Romanization tool uroman. In Proceedings of ACL 2018, System Demonstrations, pages 13-18, Melbourne, Australia. Association for Computational Linguistics."
|
| 1156 |
+
},
|
| 1157 |
+
{
|
| 1158 |
+
"type": "list",
|
| 1159 |
+
"bbox": [
|
| 1160 |
+
0.511,
|
| 1161 |
+
0.085,
|
| 1162 |
+
0.885,
|
| 1163 |
+
0.919
|
| 1164 |
+
],
|
| 1165 |
+
"angle": 0,
|
| 1166 |
+
"content": null
|
| 1167 |
+
},
|
| 1168 |
+
{
|
| 1169 |
+
"type": "page_number",
|
| 1170 |
+
"bbox": [
|
| 1171 |
+
0.481,
|
| 1172 |
+
0.929,
|
| 1173 |
+
0.519,
|
| 1174 |
+
0.941
|
| 1175 |
+
],
|
| 1176 |
+
"angle": 0,
|
| 1177 |
+
"content": "8001"
|
| 1178 |
+
}
|
| 1179 |
+
],
|
| 1180 |
+
[
|
| 1181 |
+
{
|
| 1182 |
+
"type": "ref_text",
|
| 1183 |
+
"bbox": [
|
| 1184 |
+
0.117,
|
| 1185 |
+
0.086,
|
| 1186 |
+
0.49,
|
| 1187 |
+
0.203
|
| 1188 |
+
],
|
| 1189 |
+
"angle": 0,
|
| 1190 |
+
"content": "Neil Houlsby, Andrei Giurgiu, Stanislaw Jastrzebski, Bruna Morrone, Quentin de Laroussilhe, Andrea Gesmundo, Mona Attariyan, and Sylvain Gelly. 2019. Parameter-efficient transfer learning for NLP. In Proceedings of the 36th International Conference on Machine Learning, ICML 2019, 9-15 June 2019, Long Beach, California, USA, volume 97 of Proceedings of Machine Learning Research, pages 2790-2799. PMLR."
|
| 1191 |
+
},
|
| 1192 |
+
{
|
| 1193 |
+
"type": "ref_text",
|
| 1194 |
+
"bbox": [
|
| 1195 |
+
0.117,
|
| 1196 |
+
0.218,
|
| 1197 |
+
0.49,
|
| 1198 |
+
0.335
|
| 1199 |
+
],
|
| 1200 |
+
"angle": 0,
|
| 1201 |
+
"content": "Junjie Hu, Sebastian Ruder, Aditya Siddhant, Graham Neubig, Orhan First, and Melvin Johnson. 2020. XTREME: A massively multilingual multitask benchmark for evaluating cross-lingual generalisation. In Proceedings of the 37th International Conference on Machine Learning, ICML 2020, 13-18 July 2020, Virtual Event, volume 119 of Proceedings of Machine Learning Research, pages 4411-4421. PMLR."
|
| 1202 |
+
},
|
| 1203 |
+
{
|
| 1204 |
+
"type": "ref_text",
|
| 1205 |
+
"bbox": [
|
| 1206 |
+
0.117,
|
| 1207 |
+
0.35,
|
| 1208 |
+
0.49,
|
| 1209 |
+
0.429
|
| 1210 |
+
],
|
| 1211 |
+
"angle": 0,
|
| 1212 |
+
"content": "Ying Lin, Cash Costello, Boliang Zhang, Di Lu, Heng Ji, James Mayfield, and Paul McNamee. 2018. Platforms for non-speakers annotating names in any language. In Proceedings of ACL 2018, System Demonstrations, pages 1-6, Melbourne, Australia. Association for Computational Linguistics."
|
| 1213 |
+
},
|
| 1214 |
+
{
|
| 1215 |
+
"type": "ref_text",
|
| 1216 |
+
"bbox": [
|
| 1217 |
+
0.117,
|
| 1218 |
+
0.442,
|
| 1219 |
+
0.49,
|
| 1220 |
+
0.509
|
| 1221 |
+
],
|
| 1222 |
+
"angle": 0,
|
| 1223 |
+
"content": "Yash Madhani, Sushane Parthan, Priyanka A. Bedekar, Ruchi Khapra, Vivek Seshadri, Anoop Kunchukuttan, Pratyush Kumar, and Mitesh M. Khapra. 2022. Aksharantar: Towards building open transliteration tools for the next billion users. arXiv preprint."
|
| 1224 |
+
},
|
| 1225 |
+
{
|
| 1226 |
+
"type": "ref_text",
|
| 1227 |
+
"bbox": [
|
| 1228 |
+
0.117,
|
| 1229 |
+
0.522,
|
| 1230 |
+
0.49,
|
| 1231 |
+
0.587
|
| 1232 |
+
],
|
| 1233 |
+
"angle": 0,
|
| 1234 |
+
"content": "Michael McCloskey and Neal J. Cohen. 1989. Catastrophic interference in connectionist networks: The sequential learning problem. volume 24 of Psychology of Learning and Motivation, pages 109-165. Academic Press."
|
| 1235 |
+
},
|
| 1236 |
+
{
|
| 1237 |
+
"type": "ref_text",
|
| 1238 |
+
"bbox": [
|
| 1239 |
+
0.117,
|
| 1240 |
+
0.602,
|
| 1241 |
+
0.49,
|
| 1242 |
+
0.707
|
| 1243 |
+
],
|
| 1244 |
+
"angle": 0,
|
| 1245 |
+
"content": "Arnav Mhaske, Harshit Kedia, Sumanth Doddapaneni, Mitesh M. Khapra, Pratyush Kumar, Rudra Murthy, and Anoop Kunchukuttan. 2023. Naamapadam: A large-scale named entity annotated data for Indic languages. In Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 10441-10456, Toronto, Canada. Association for Computational Linguistics."
|
| 1246 |
+
},
|
| 1247 |
+
{
|
| 1248 |
+
"type": "ref_text",
|
| 1249 |
+
"bbox": [
|
| 1250 |
+
0.117,
|
| 1251 |
+
0.721,
|
| 1252 |
+
0.49,
|
| 1253 |
+
0.826
|
| 1254 |
+
],
|
| 1255 |
+
"angle": 0,
|
| 1256 |
+
"content": "Nikita Moghe, Evgeniia Razumovskaia, Liane Guillou, Ivan Vulic, Anna Korhonen, and Alexandra Birch. 2023. Multi3NLU++: A multilingual, multi-intent, multi-domain dataset for natural language understanding in task-oriented dialogue. In Findings of the Association for Computational Linguistics: ACL 2023, pages 3732-3755, Toronto, Canada. Association for Computational Linguistics."
|
| 1257 |
+
},
|
| 1258 |
+
{
|
| 1259 |
+
"type": "ref_text",
|
| 1260 |
+
"bbox": [
|
| 1261 |
+
0.117,
|
| 1262 |
+
0.84,
|
| 1263 |
+
0.49,
|
| 1264 |
+
0.919
|
| 1265 |
+
],
|
| 1266 |
+
"angle": 0,
|
| 1267 |
+
"content": "Ibraheem Muhammad Moosa, Mahmud Elahi Akhter, and Ashfia Binte Habib. 2023. Does transliteration help multilingual language modeling? In *Findings of the Association for Computational Linguistics: EACL* 2023, pages 670–685, Dubrovnik, Croatia. Association for Computational Linguistics."
|
| 1268 |
+
},
|
| 1269 |
+
{
|
| 1270 |
+
"type": "list",
|
| 1271 |
+
"bbox": [
|
| 1272 |
+
0.117,
|
| 1273 |
+
0.086,
|
| 1274 |
+
0.49,
|
| 1275 |
+
0.919
|
| 1276 |
+
],
|
| 1277 |
+
"angle": 0,
|
| 1278 |
+
"content": null
|
| 1279 |
+
},
|
| 1280 |
+
{
|
| 1281 |
+
"type": "ref_text",
|
| 1282 |
+
"bbox": [
|
| 1283 |
+
0.512,
|
| 1284 |
+
0.086,
|
| 1285 |
+
0.885,
|
| 1286 |
+
0.204
|
| 1287 |
+
],
|
| 1288 |
+
"angle": 0,
|
| 1289 |
+
"content": "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."
|
| 1290 |
+
},
|
| 1291 |
+
{
|
| 1292 |
+
"type": "ref_text",
|
| 1293 |
+
"bbox": [
|
| 1294 |
+
0.512,
|
| 1295 |
+
0.214,
|
| 1296 |
+
0.885,
|
| 1297 |
+
0.32
|
| 1298 |
+
],
|
| 1299 |
+
"angle": 0,
|
| 1300 |
+
"content": "Joakim Nivre, Marie-Catherine de Marneffe, Filip Ginter, Jan Hajic, Christopher D. Manning, Sampo Pyysalo, Sebastian Schuster, Francis Tyers, and Daniel Zeman. 2020. Universal Dependencies v2: An evergrowing multilingual treebank collection. In Proceedings of the Twelfth Language Resources and Evaluation Conference, pages 4034-4043, Marseille, France. European Language Resources Association."
|
| 1301 |
+
},
|
| 1302 |
+
{
|
| 1303 |
+
"type": "ref_text",
|
| 1304 |
+
"bbox": [
|
| 1305 |
+
0.512,
|
| 1306 |
+
0.33,
|
| 1307 |
+
0.885,
|
| 1308 |
+
0.421
|
| 1309 |
+
],
|
| 1310 |
+
"angle": 0,
|
| 1311 |
+
"content": "Xiaoman Pan, Boliang Zhang, Jonathan May, Joel Nothman, Kevin Knight, and Heng Ji. 2017. Cross-lingual name tagging and linking for 282 languages. In Proceedings of the 55th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 1946–1958, Vancouver, Canada. Association for Computational Linguistics."
|
| 1312 |
+
},
|
| 1313 |
+
{
|
| 1314 |
+
"type": "ref_text",
|
| 1315 |
+
"bbox": [
|
| 1316 |
+
0.512,
|
| 1317 |
+
0.431,
|
| 1318 |
+
0.885,
|
| 1319 |
+
0.55
|
| 1320 |
+
],
|
| 1321 |
+
"angle": 0,
|
| 1322 |
+
"content": "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."
|
| 1323 |
+
},
|
| 1324 |
+
{
|
| 1325 |
+
"type": "ref_text",
|
| 1326 |
+
"bbox": [
|
| 1327 |
+
0.512,
|
| 1328 |
+
0.56,
|
| 1329 |
+
0.885,
|
| 1330 |
+
0.665
|
| 1331 |
+
],
|
| 1332 |
+
"angle": 0,
|
| 1333 |
+
"content": "Jonas Pfeiffer, Andreas Rückle, Clifton Poth, Aishwarya Kamath, Ivan Vulic, Sebastian Ruder, Kyunghyun Cho, and Iryna Gurevych. 2020a. AdapterHub: A framework for adapting transformers. In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing: System Demonstrations, pages 46-54, Online. Association for Computational Linguistics."
|
| 1334 |
+
},
|
| 1335 |
+
{
|
| 1336 |
+
"type": "ref_text",
|
| 1337 |
+
"bbox": [
|
| 1338 |
+
0.512,
|
| 1339 |
+
0.675,
|
| 1340 |
+
0.885,
|
| 1341 |
+
0.715
|
| 1342 |
+
],
|
| 1343 |
+
"angle": 0,
|
| 1344 |
+
"content": "Jonas Pfeiffer, Sebastian Ruder, Ivan Vulić, and Edoardo Maria Ponti. 2023. Modular deep learning. arXiv preprint."
|
| 1345 |
+
},
|
| 1346 |
+
{
|
| 1347 |
+
"type": "ref_text",
|
| 1348 |
+
"bbox": [
|
| 1349 |
+
0.512,
|
| 1350 |
+
0.724,
|
| 1351 |
+
0.885,
|
| 1352 |
+
0.817
|
| 1353 |
+
],
|
| 1354 |
+
"angle": 0,
|
| 1355 |
+
"content": "Jonas Pfeiffer, Ivan Vulić, Iryna Gurevych, and Sebastian Ruder. 2020b. MAD-X: An Adapter-Based Framework for Multi-Task Cross-Linguual Transfer. In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP), pages 7654–7673, Online. Association for Computational Linguistics."
|
| 1356 |
+
},
|
| 1357 |
+
{
|
| 1358 |
+
"type": "ref_text",
|
| 1359 |
+
"bbox": [
|
| 1360 |
+
0.512,
|
| 1361 |
+
0.826,
|
| 1362 |
+
0.885,
|
| 1363 |
+
0.919
|
| 1364 |
+
],
|
| 1365 |
+
"angle": 0,
|
| 1366 |
+
"content": "Jonas Pfeiffer, Ivan Vulić, Iryna Gurevych, and Sebastian Ruder. 2021. UNKs everywhere: Adapting multilingual language models to new scripts. In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing, pages 10186-10203, Online and Punta Cana, Dominican Republic. Association for Computational Linguistics."
|
| 1367 |
+
},
|
| 1368 |
+
{
|
| 1369 |
+
"type": "list",
|
| 1370 |
+
"bbox": [
|
| 1371 |
+
0.512,
|
| 1372 |
+
0.086,
|
| 1373 |
+
0.885,
|
| 1374 |
+
0.919
|
| 1375 |
+
],
|
| 1376 |
+
"angle": 0,
|
| 1377 |
+
"content": null
|
| 1378 |
+
},
|
| 1379 |
+
{
|
| 1380 |
+
"type": "page_number",
|
| 1381 |
+
"bbox": [
|
| 1382 |
+
0.481,
|
| 1383 |
+
0.929,
|
| 1384 |
+
0.521,
|
| 1385 |
+
0.941
|
| 1386 |
+
],
|
| 1387 |
+
"angle": 0,
|
| 1388 |
+
"content": "8002"
|
| 1389 |
+
}
|
| 1390 |
+
],
|
| 1391 |
+
[
|
| 1392 |
+
{
|
| 1393 |
+
"type": "ref_text",
|
| 1394 |
+
"bbox": [
|
| 1395 |
+
0.117,
|
| 1396 |
+
0.086,
|
| 1397 |
+
0.49,
|
| 1398 |
+
0.179
|
| 1399 |
+
],
|
| 1400 |
+
"angle": 0,
|
| 1401 |
+
"content": "Edoardo Maria Ponti, Goran Glavaš, Olga Majewska, Qianchu Liu, Ivan Vulić, and Anna Korhonen. 2020. XCOPA: A multilingual dataset for causal commonsense reasoning. In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP), pages 2362-2376, Online. Association for Computational Linguistics."
|
| 1402 |
+
},
|
| 1403 |
+
{
|
| 1404 |
+
"type": "ref_text",
|
| 1405 |
+
"bbox": [
|
| 1406 |
+
0.117,
|
| 1407 |
+
0.187,
|
| 1408 |
+
0.49,
|
| 1409 |
+
0.254
|
| 1410 |
+
],
|
| 1411 |
+
"angle": 0,
|
| 1412 |
+
"content": "Afshin Rahimi, Yuan Li, and Trevor Cohn. 2019. Massively multilingual transfer for NER. In Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics, pages 151-164, Florence, Italy. Association for Computational Linguistics."
|
| 1413 |
+
},
|
| 1414 |
+
{
|
| 1415 |
+
"type": "ref_text",
|
| 1416 |
+
"bbox": [
|
| 1417 |
+
0.117,
|
| 1418 |
+
0.261,
|
| 1419 |
+
0.49,
|
| 1420 |
+
0.341
|
| 1421 |
+
],
|
| 1422 |
+
"angle": 0,
|
| 1423 |
+
"content": "Phillip Rust, Jonas F. Lotz, Emanuele Bugliarello, Elizabeth Salesky, Miryam de Lhoneux, and Desmond Elliott. 2023. Language modelling with pixels. In *The Eleventh International Conference on Learning Representations*, ICLR 2023, Kigali, Rwanda, May 1-5, 2023. OpenReview.net."
|
| 1424 |
+
},
|
| 1425 |
+
{
|
| 1426 |
+
"type": "ref_text",
|
| 1427 |
+
"bbox": [
|
| 1428 |
+
0.117,
|
| 1429 |
+
0.349,
|
| 1430 |
+
0.49,
|
| 1431 |
+
0.468
|
| 1432 |
+
],
|
| 1433 |
+
"angle": 0,
|
| 1434 |
+
"content": "Phillip Rust, Jonas Pfeiffer, Ivan Vulic, Sebastian Ruder, and Iryna Gurevych. 2021. How good is your tokenizer? on the monolingual performance of multilingual 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 3118-3135, Online. Association for Computational Linguistics."
|
| 1435 |
+
},
|
| 1436 |
+
{
|
| 1437 |
+
"type": "ref_text",
|
| 1438 |
+
"bbox": [
|
| 1439 |
+
0.117,
|
| 1440 |
+
0.476,
|
| 1441 |
+
0.49,
|
| 1442 |
+
0.567
|
| 1443 |
+
],
|
| 1444 |
+
"angle": 0,
|
| 1445 |
+
"content": "Daan van Esch, Tamar Lucassen, Sebastian Ruder, Isaac Caswell, and Clara Rivera. 2022. Writing system and speaker metadata for \\(2,800+\\) language varieties. In Proceedings of the Thirteenth Language Resources and Evaluation Conference, pages 5035-5046, Marseille, France. European Language Resources Association."
|
| 1446 |
+
},
|
| 1447 |
+
{
|
| 1448 |
+
"type": "ref_text",
|
| 1449 |
+
"bbox": [
|
| 1450 |
+
0.117,
|
| 1451 |
+
0.577,
|
| 1452 |
+
0.49,
|
| 1453 |
+
0.63
|
| 1454 |
+
],
|
| 1455 |
+
"angle": 0,
|
| 1456 |
+
"content": "Hans H Wellisch, Lee Breuer, Richard Foreman, and Robert Wilson. 1978. The conversion of scripts, its nature, history, and utilization. New York: Toronto: Wiley."
|
| 1457 |
+
},
|
| 1458 |
+
{
|
| 1459 |
+
"type": "ref_text",
|
| 1460 |
+
"bbox": [
|
| 1461 |
+
0.117,
|
| 1462 |
+
0.638,
|
| 1463 |
+
0.49,
|
| 1464 |
+
0.783
|
| 1465 |
+
],
|
| 1466 |
+
"angle": 0,
|
| 1467 |
+
"content": "Genta Indra Winata, Alham Fikri Aji, Samuel Cahyawijaya, Rahmad Mahendra, Fajri Koto, Ade Romadhony, Kemal Kurniawan, David Moeljadi, Radityo Eko Prasojo, Pascale Fung, Timothy Baldwin, Jey Han Lau, Rico Sennrich, and Sebastian Ruder. 2023. NusaX: Multilingual parallel sentiment dataset for 10 Indonesian local languages. In Proceedings of the 17th Conference of the European Chapter of the Association for Computational Linguistics, pages 815-834, Dubrovnik, Croatia. Association for Computational Linguistics."
|
| 1468 |
+
},
|
| 1469 |
+
{
|
| 1470 |
+
"type": "ref_text",
|
| 1471 |
+
"bbox": [
|
| 1472 |
+
0.117,
|
| 1473 |
+
0.791,
|
| 1474 |
+
0.49,
|
| 1475 |
+
0.87
|
| 1476 |
+
],
|
| 1477 |
+
"angle": 0,
|
| 1478 |
+
"content": "Linting Xue, Aditya Barua, Noah Constant, Rami Al-Rfou, Sharan Narang, Mihir Kale, Adam Roberts, and Colin Raffel. 2022. ByT5: Towards a token-free future with pre-trained byte-to-byte models. Transactions of the Association for Computational Linguistics, 10:291-306."
|
| 1479 |
+
},
|
| 1480 |
+
{
|
| 1481 |
+
"type": "ref_text",
|
| 1482 |
+
"bbox": [
|
| 1483 |
+
0.117,
|
| 1484 |
+
0.878,
|
| 1485 |
+
0.49,
|
| 1486 |
+
0.919
|
| 1487 |
+
],
|
| 1488 |
+
"angle": 0,
|
| 1489 |
+
"content": "Seid Muhie Yimam, Abinew Ali Ayele, Gopalakrishnan Venkatesh, Ibrahim Gashaw, and Chris Biemann. 2021. Introducing various semantic models"
|
| 1490 |
+
},
|
| 1491 |
+
{
|
| 1492 |
+
"type": "list",
|
| 1493 |
+
"bbox": [
|
| 1494 |
+
0.117,
|
| 1495 |
+
0.086,
|
| 1496 |
+
0.49,
|
| 1497 |
+
0.919
|
| 1498 |
+
],
|
| 1499 |
+
"angle": 0,
|
| 1500 |
+
"content": null
|
| 1501 |
+
},
|
| 1502 |
+
{
|
| 1503 |
+
"type": "ref_text",
|
| 1504 |
+
"bbox": [
|
| 1505 |
+
0.529,
|
| 1506 |
+
0.086,
|
| 1507 |
+
0.882,
|
| 1508 |
+
0.114
|
| 1509 |
+
],
|
| 1510 |
+
"angle": 0,
|
| 1511 |
+
"content": "for amharic: Experimentation and evaluation with multiple tasks and datasets. Future Internet, 13(11)."
|
| 1512 |
+
},
|
| 1513 |
+
{
|
| 1514 |
+
"type": "text",
|
| 1515 |
+
"bbox": [
|
| 1516 |
+
0.512,
|
| 1517 |
+
0.123,
|
| 1518 |
+
0.853,
|
| 1519 |
+
0.138
|
| 1520 |
+
],
|
| 1521 |
+
"angle": 0,
|
| 1522 |
+
"content": "Judit Ács. Exploring bert's vocabulary. Blog Post."
|
| 1523 |
+
},
|
| 1524 |
+
{
|
| 1525 |
+
"type": "page_number",
|
| 1526 |
+
"bbox": [
|
| 1527 |
+
0.481,
|
| 1528 |
+
0.929,
|
| 1529 |
+
0.521,
|
| 1530 |
+
0.941
|
| 1531 |
+
],
|
| 1532 |
+
"angle": 0,
|
| 1533 |
+
"content": "8003"
|
| 1534 |
+
}
|
| 1535 |
+
],
|
| 1536 |
+
[
|
| 1537 |
+
{
|
| 1538 |
+
"type": "title",
|
| 1539 |
+
"bbox": [
|
| 1540 |
+
0.115,
|
| 1541 |
+
0.085,
|
| 1542 |
+
0.407,
|
| 1543 |
+
0.1
|
| 1544 |
+
],
|
| 1545 |
+
"angle": 0,
|
| 1546 |
+
"content": "A Transliterators in Evaluation"
|
| 1547 |
+
},
|
| 1548 |
+
{
|
| 1549 |
+
"type": "text",
|
| 1550 |
+
"bbox": [
|
| 1551 |
+
0.114,
|
| 1552 |
+
0.113,
|
| 1553 |
+
0.488,
|
| 1554 |
+
0.16
|
| 1555 |
+
],
|
| 1556 |
+
"angle": 0,
|
| 1557 |
+
"content": "Besides UROMAN, we also employ various language-specific transliterations which are publicly available. We list them in Table 6."
|
| 1558 |
+
},
|
| 1559 |
+
{
|
| 1560 |
+
"type": "title",
|
| 1561 |
+
"bbox": [
|
| 1562 |
+
0.115,
|
| 1563 |
+
0.174,
|
| 1564 |
+
0.468,
|
| 1565 |
+
0.192
|
| 1566 |
+
],
|
| 1567 |
+
"angle": 0,
|
| 1568 |
+
"content": "B Performance comparison of mBERT"
|
| 1569 |
+
},
|
| 1570 |
+
{
|
| 1571 |
+
"type": "text",
|
| 1572 |
+
"bbox": [
|
| 1573 |
+
0.113,
|
| 1574 |
+
0.201,
|
| 1575 |
+
0.49,
|
| 1576 |
+
0.362
|
| 1577 |
+
],
|
| 1578 |
+
"angle": 0,
|
| 1579 |
+
"content": "We adapt the standard cross-lingual transfer setup for mBERT. The model is finetuned on the task data for a source language (high-resource) and is used to perform inference on the target language (low-resource). We report the performance comparison of the standard cross-lingual transfer setup for mBERT on the NER task for languages with unseen scripts with the adapter-based methods in Table 7. We observe that the adapter-based methods outperform mBERT by huge margins."
|
| 1580 |
+
},
|
| 1581 |
+
{
|
| 1582 |
+
"type": "title",
|
| 1583 |
+
"bbox": [
|
| 1584 |
+
0.114,
|
| 1585 |
+
0.376,
|
| 1586 |
+
0.306,
|
| 1587 |
+
0.393
|
| 1588 |
+
],
|
| 1589 |
+
"angle": 0,
|
| 1590 |
+
"content": "C Further Analyses"
|
| 1591 |
+
},
|
| 1592 |
+
{
|
| 1593 |
+
"type": "text",
|
| 1594 |
+
"bbox": [
|
| 1595 |
+
0.113,
|
| 1596 |
+
0.403,
|
| 1597 |
+
0.49,
|
| 1598 |
+
0.596
|
| 1599 |
+
],
|
| 1600 |
+
"angle": 0,
|
| 1601 |
+
"content": "Following previous work (Ács; Rust et al., 2021; Moosa et al., 2023), we further analyze tokenization quality of the mBERT tokenizer using the following established metrics: 1) % of \"UNK\"s measures the % of \"UNK\" tokens produced by the tokenizer, and our aim is to compare their rate before and after transliteration; 2) fertility measures the number of subwords that are produced per tokenized word; 3) proportion of continued subwords measures the proportion of words for which the tokenized word is split across at least two subwords (denoted by the symbol ##)."
|
| 1602 |
+
},
|
| 1603 |
+
{
|
| 1604 |
+
"type": "text",
|
| 1605 |
+
"bbox": [
|
| 1606 |
+
0.113,
|
| 1607 |
+
0.598,
|
| 1608 |
+
0.49,
|
| 1609 |
+
0.79
|
| 1610 |
+
],
|
| 1611 |
+
"angle": 0,
|
| 1612 |
+
"content": "From the results summarized in Figure 4, it is apparent that transliteration drastically reduces \\(\\%\\) of UNKs. However, mBERT's tokenizer underperforms as compared to monolingual tokenizers based on fertility and the proportion of continued subwords (Rust et al., 2021). Transliteration performs better for some languages where the quality of the mBERT tokenizer is similar to the monolingual tokenizer such as for dv, km, and cdo. On the other hand, transliteration methods perform worse on languages where the quality of the underlying mBERT tokenizer is relatively poor."
|
| 1613 |
+
},
|
| 1614 |
+
{
|
| 1615 |
+
"type": "text",
|
| 1616 |
+
"bbox": [
|
| 1617 |
+
0.113,
|
| 1618 |
+
0.792,
|
| 1619 |
+
0.49,
|
| 1620 |
+
0.921
|
| 1621 |
+
],
|
| 1622 |
+
"angle": 0,
|
| 1623 |
+
"content": "In order to test the hypothesis that the tokenizer quality might be the principal reason for the performance gap for the transliteration-based methods in comparison to the non-transliteration based methods, we carried out an additional experiment. For the experiment, we adapt the Non-Trans\\(_{\\mathrm{LA + Emb_{Lex}}}\\) to operate on transliterated data, and call this variant Trans\\(_{\\mathrm{LA + Emb_{Lex}}}\\). Here, we train a new tokenizer"
|
| 1624 |
+
},
|
| 1625 |
+
{
|
| 1626 |
+
"type": "text",
|
| 1627 |
+
"bbox": [
|
| 1628 |
+
0.508,
|
| 1629 |
+
0.085,
|
| 1630 |
+
0.883,
|
| 1631 |
+
0.133
|
| 1632 |
+
],
|
| 1633 |
+
"angle": 0,
|
| 1634 |
+
"content": "on the transliterated data and initialize lexically overlapping embeddings with mBERT's pretrained embeddings."
|
| 1635 |
+
},
|
| 1636 |
+
{
|
| 1637 |
+
"type": "text",
|
| 1638 |
+
"bbox": [
|
| 1639 |
+
0.508,
|
| 1640 |
+
0.134,
|
| 1641 |
+
0.885,
|
| 1642 |
+
0.327
|
| 1643 |
+
],
|
| 1644 |
+
"angle": 0,
|
| 1645 |
+
"content": "We plot the performance in Figure 5. The new method, \\(\\mathrm{Trans_{LA + Emb_{Lex}}}\\) now outperforms the nontransliteration-based variant on 8/12 languages and also on average. Consequently, this validates our hypothesis and is in line with the previous work (Moosa et al., 2023). However, we found a drop in performance in the case of mhr (-10.71) and cdo (-10.14) when compared to \\(\\mathrm{Trans_{LA} + mPLM_{ft}}\\). These drops may be attributed to the lower degree of lexical overlap with mBERT's vocabulary, and consequently a higher number of randomly initialized embeddings for those target languages."
|
| 1646 |
+
},
|
| 1647 |
+
{
|
| 1648 |
+
"type": "page_number",
|
| 1649 |
+
"bbox": [
|
| 1650 |
+
0.481,
|
| 1651 |
+
0.929,
|
| 1652 |
+
0.521,
|
| 1653 |
+
0.941
|
| 1654 |
+
],
|
| 1655 |
+
"angle": 0,
|
| 1656 |
+
"content": "8004"
|
| 1657 |
+
}
|
| 1658 |
+
],
|
| 1659 |
+
[
|
| 1660 |
+
{
|
| 1661 |
+
"type": "table",
|
| 1662 |
+
"bbox": [
|
| 1663 |
+
0.115,
|
| 1664 |
+
0.082,
|
| 1665 |
+
0.885,
|
| 1666 |
+
0.172
|
| 1667 |
+
],
|
| 1668 |
+
"angle": 0,
|
| 1669 |
+
"content": "<table><tr><td>Transliterator</td><td>Used for languages</td><td>Available at</td></tr><tr><td>UROMAN</td><td>All</td><td>github.com/isi-nlp/uroman</td></tr><tr><td>amseg</td><td>am</td><td>pypi.org/project/amseg/</td></tr><tr><td>transliterate</td><td>ru, ka</td><td>pypi.org/project/transliterate/</td></tr><tr><td>ai4bharat-transliteration</td><td>hi, sd</td><td>pypi.org/project/ai4bharat-transliteration/</td></tr><tr><td>lang-trans</td><td>ar</td><td>pypi.org/project/lang-trans/</td></tr></table>"
|
| 1670 |
+
},
|
| 1671 |
+
{
|
| 1672 |
+
"type": "table_caption",
|
| 1673 |
+
"bbox": [
|
| 1674 |
+
0.356,
|
| 1675 |
+
0.181,
|
| 1676 |
+
0.642,
|
| 1677 |
+
0.195
|
| 1678 |
+
],
|
| 1679 |
+
"angle": 0,
|
| 1680 |
+
"content": "Table 6: Transliterators used in this work."
|
| 1681 |
+
},
|
| 1682 |
+
{
|
| 1683 |
+
"type": "image",
|
| 1684 |
+
"bbox": [
|
| 1685 |
+
0.116,
|
| 1686 |
+
0.209,
|
| 1687 |
+
0.351,
|
| 1688 |
+
0.279
|
| 1689 |
+
],
|
| 1690 |
+
"angle": 0,
|
| 1691 |
+
"content": null
|
| 1692 |
+
},
|
| 1693 |
+
{
|
| 1694 |
+
"type": "image_caption",
|
| 1695 |
+
"bbox": [
|
| 1696 |
+
0.223,
|
| 1697 |
+
0.285,
|
| 1698 |
+
0.242,
|
| 1699 |
+
0.297
|
| 1700 |
+
],
|
| 1701 |
+
"angle": 0,
|
| 1702 |
+
"content": "(a)"
|
| 1703 |
+
},
|
| 1704 |
+
{
|
| 1705 |
+
"type": "image",
|
| 1706 |
+
"bbox": [
|
| 1707 |
+
0.382,
|
| 1708 |
+
0.209,
|
| 1709 |
+
0.617,
|
| 1710 |
+
0.279
|
| 1711 |
+
],
|
| 1712 |
+
"angle": 0,
|
| 1713 |
+
"content": null
|
| 1714 |
+
},
|
| 1715 |
+
{
|
| 1716 |
+
"type": "image_caption",
|
| 1717 |
+
"bbox": [
|
| 1718 |
+
0.489,
|
| 1719 |
+
0.284,
|
| 1720 |
+
0.509,
|
| 1721 |
+
0.296
|
| 1722 |
+
],
|
| 1723 |
+
"angle": 0,
|
| 1724 |
+
"content": "(b)"
|
| 1725 |
+
},
|
| 1726 |
+
{
|
| 1727 |
+
"type": "image",
|
| 1728 |
+
"bbox": [
|
| 1729 |
+
0.649,
|
| 1730 |
+
0.208,
|
| 1731 |
+
0.882,
|
| 1732 |
+
0.279
|
| 1733 |
+
],
|
| 1734 |
+
"angle": 0,
|
| 1735 |
+
"content": null
|
| 1736 |
+
},
|
| 1737 |
+
{
|
| 1738 |
+
"type": "image_caption",
|
| 1739 |
+
"bbox": [
|
| 1740 |
+
0.756,
|
| 1741 |
+
0.284,
|
| 1742 |
+
0.775,
|
| 1743 |
+
0.296
|
| 1744 |
+
],
|
| 1745 |
+
"angle": 0,
|
| 1746 |
+
"content": "(c)"
|
| 1747 |
+
},
|
| 1748 |
+
{
|
| 1749 |
+
"type": "image_caption",
|
| 1750 |
+
"bbox": [
|
| 1751 |
+
0.113,
|
| 1752 |
+
0.308,
|
| 1753 |
+
0.884,
|
| 1754 |
+
0.339
|
| 1755 |
+
],
|
| 1756 |
+
"angle": 0,
|
| 1757 |
+
"content": "Figure 4: Tokenizer quality analysis. a) % of UNKs before and after transliteration, b) Fertility, and c) Proportion of continued subwords for mBERT vs monolingual tokenizer."
|
| 1758 |
+
},
|
| 1759 |
+
{
|
| 1760 |
+
"type": "table",
|
| 1761 |
+
"bbox": [
|
| 1762 |
+
0.134,
|
| 1763 |
+
0.428,
|
| 1764 |
+
0.472,
|
| 1765 |
+
0.502
|
| 1766 |
+
],
|
| 1767 |
+
"angle": 0,
|
| 1768 |
+
"content": "<table><tr><td rowspan=\"2\">Variant</td><td colspan=\"5\">Unseen Scripts</td></tr><tr><td>am</td><td>bo</td><td>dv</td><td>km</td><td>si</td></tr><tr><td>mBERT</td><td>0.91</td><td>17.40</td><td>1.30</td><td>10.71</td><td>2.50</td></tr><tr><td>Non-TransLA+INV</td><td>3.26</td><td>19.86</td><td>18.72</td><td>13.81</td><td>23.14</td></tr><tr><td>TransLA + INV</td><td>25.69</td><td>35.95</td><td>29.99</td><td>41.76</td><td>31.83</td></tr><tr><td>Non-TransLA+EmblEx</td><td>47.60</td><td>40.96</td><td>31.21</td><td>53.94</td><td>45.89</td></tr><tr><td>TransLA + mPLMft</td><td>37.09</td><td>33.82</td><td>40.40</td><td>52.39</td><td>45.24</td></tr></table>"
|
| 1769 |
+
},
|
| 1770 |
+
{
|
| 1771 |
+
"type": "table_caption",
|
| 1772 |
+
"bbox": [
|
| 1773 |
+
0.114,
|
| 1774 |
+
0.511,
|
| 1775 |
+
0.489,
|
| 1776 |
+
0.553
|
| 1777 |
+
],
|
| 1778 |
+
"angle": 0,
|
| 1779 |
+
"content": "Table 7: Performance Comparison of mBERT with adapter-based finetuning methods for unseen scripts on the NER task."
|
| 1780 |
+
},
|
| 1781 |
+
{
|
| 1782 |
+
"type": "image",
|
| 1783 |
+
"bbox": [
|
| 1784 |
+
0.117,
|
| 1785 |
+
0.701,
|
| 1786 |
+
0.489,
|
| 1787 |
+
0.808
|
| 1788 |
+
],
|
| 1789 |
+
"angle": 0,
|
| 1790 |
+
"content": null
|
| 1791 |
+
},
|
| 1792 |
+
{
|
| 1793 |
+
"type": "image_caption",
|
| 1794 |
+
"bbox": [
|
| 1795 |
+
0.114,
|
| 1796 |
+
0.817,
|
| 1797 |
+
0.489,
|
| 1798 |
+
0.847
|
| 1799 |
+
],
|
| 1800 |
+
"angle": 0,
|
| 1801 |
+
"content": "Figure 5: Comparison of Non-Trans\\(_{\\mathrm{LA + Emb_{Lex}}}\\) with Trans\\(_{\\mathrm{LA + Emb_{Lex}}}\\) on NER (left) and DP (right)."
|
| 1802 |
+
},
|
| 1803 |
+
{
|
| 1804 |
+
"type": "page_number",
|
| 1805 |
+
"bbox": [
|
| 1806 |
+
0.481,
|
| 1807 |
+
0.929,
|
| 1808 |
+
0.521,
|
| 1809 |
+
0.941
|
| 1810 |
+
],
|
| 1811 |
+
"angle": 0,
|
| 1812 |
+
"content": "8005"
|
| 1813 |
+
}
|
| 1814 |
+
]
|
| 1815 |
+
]
|
2023/Romanization-based Large-scale Adaptation of Multilingual Language Models/1a02cba7-8ebc-4f20-8832-cb43efde101d_origin.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Romanization-based Large-scale Adaptation of Multilingual Language Models
|
| 2 |
+
|
| 3 |
+
Sukannya Purkayastha<sup>1</sup>, Sebastian Ruder<sup>2</sup>, Jonas Pfeiffer<sup>2</sup>, Iryna Gurevych<sup>1</sup>, Ivan Vulić<sup>3</sup>
|
| 4 |
+
|
| 5 |
+
<sup>1</sup> Ubiquitous Knowledge Processing Lab,
|
| 6 |
+
|
| 7 |
+
Department of Computer Science and Hessian Center for AI (hessian.AI),
|
| 8 |
+
|
| 9 |
+
Technical University of Darmstadt
|
| 10 |
+
|
| 11 |
+
Google DeepMind
|
| 12 |
+
|
| 13 |
+
$^{3}$ Language Technology Lab, University of Cambridge
|
| 14 |
+
|
| 15 |
+
www.ukp.tu-darmstadt.de
|
| 16 |
+
|
| 17 |
+
# Abstract
|
| 18 |
+
|
| 19 |
+
Large multilingual pretrained language models (mPLMs) have become the de facto state of the art for cross-lingual transfer in NLP. However, their large-scale deployment to many languages, besides pretraining data scarcity, is also hindered by the increase in vocabulary size and limitations in their parameter budget. In order to boost the capacity of mPLMs to deal with low-resource and unseen languages, we explore the potential of leveraging transliteration on a massive scale. In particular, we explore the UROMAN transliteration tool, which provides mappings from UTF-8 to Latin characters for all the writing systems, enabling inexpensive romanization for virtually any language. We first focus on establishing how UROMAN compares against other language-specific and manually curated transliterators for adapting multilingual PLMs. We then study and compare a plethora of data- and parameter-efficient strategies for adapting the mPLMs to romanized and non-romanized corpora of 14 diverse low-resource languages. Our results reveal that UROMAN-based transliteration can offer strong performance for many languages, with particular gains achieved in the most challenging setups: on languages with unseen scripts and with limited training data without any vocabulary augmentation. Further analyses reveal that an improved tokenizer based on romanized data can even outperform non-transliteration-based methods in the majority of languages.
|
| 20 |
+
|
| 21 |
+
# 1 Introduction
|
| 22 |
+
|
| 23 |
+
Massively multilingual language models (mPLMs) such as mBERT (Devlin et al., 2019) and XLM-R (Conneau et al., 2020) have become the driving force for a variety of applications in multilingual NLP (Ponti et al., 2020; Hu et al., 2020; Moghe et al., 2023). However, guaranteeing and maintaining strong performance for a wide spectrum of low-resource languages is difficult due to two crucial problems. The first issue is the vocabulary
|
| 24 |
+
|
| 25 |
+
<table><tr><td>Language</td><td>Original Text</td><td>Romanized Text</td><td>Translation</td></tr><tr><td>Bhojpuri</td><td>बाल्दियम् गार्वा</td><td>jorjiyan bhaasaas</td><td>Georgian language</td></tr><tr><td>Sinhala</td><td>सिकूल्तिूल्तिूल्तिूल्तिूल्तिूल्तिू�िूल्तिूल्तिूल्तिू�िू�िू�िू�िू�िू�िू�िू�िू�िू�िू�िू�िू�िू�िू�िू�िू�िू�िू�िू�िू�िू�िू�िू�िू�िू�र्था</td><td></td><td></td></tr><tr><td>Sindhi</td><td>सिकूल्तिूल्तिूल्तिू�िू�िू�िू�र्था</td><td>grahalooka</td><td>planets</td></tr><tr><td>Khmer</td><td>khμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμ μμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμµμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμmu μμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμµ μμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμ μ μμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμum μ μμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμμ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ µ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μ μµ μµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµüµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµúµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµ µµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµ₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₃₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₂₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₁₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀₀⁻⁶⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁷⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁹⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁶⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁷⁹⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁷⁰⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁵⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁴⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁽⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁻⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁼⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸ⁱ⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁅⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁸⁰⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₃⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄²⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂���₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄₂⁄⁄₂⁄⁄₂⁄⁄₂⁄⁄₂⁄⁄₂⁄⁄₂⁄⁄₂⁄⁄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JPJPJPJPJPJPJPJPJPJPJPJPJPJPJPJPJPJPJPJPJPJPJPJPJPJPJPJPJPJPJPJPJPJPJPJPJPJPJPJPJPJPJPJPJPJPJPJPJPJPJPJPJPJPJPJPJPJPJPJPJPJPJPJSJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJ JJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJ</td></tr></table>
|
| 27 |
+
|
| 28 |
+
Figure 1: Romanization across different languages.
|
| 29 |
+
|
| 30 |
+
size, as the vocabulary is bound to increase with the number of languages added if per-language performance is to be maintained (Hu et al., 2020; Artetxe et al., 2020; Pfeiffer et al., 2022). Second, pretraining mPLMs with a fixed model capacity improves cross-lingual performance up to a point after which it starts to decrease; this is the phenomenon termed the curse of multilinguality (Conneau et al., 2020).
|
| 31 |
+
|
| 32 |
+
Transliteration refers to the process of converting language represented in one writing system to another (Wellisch et al., 1978). Latin script-centered transliteration or romanization is the most common form of transliteration (Lin et al., 2018; Amrhein and Sennrich, 2020; Demirsin et al., 2022) as the Latin/Roman script is by far the most widely adopted writing script in the world (Daniels and Bright, 1996; van Esch et al., 2022). Adapting mPLMs via transliteration can address the two aforementioned critical issues. 1) Since the Latin script covers a dominant portion of the mPLM's vocabulary (e.g., $77\%$ in case of mBERT, see Ács), 'romanizing' the remaining part of the vocabulary might mitigate the vocabulary size issue and boost vocabulary sharing. 2) Since no new tokens are added during the romanization process, reusing pretrained embeddings from the mPLM's embedding matrix helps reuse the information already present within the mPLM, thereby allocating the model's parameter budget more efficiently.
|
| 33 |
+
|
| 34 |
+
However, the main drawback of transliteration seems to be the expensive process of creating effective language-specific transliterations, as they
|
| 35 |
+
|
| 36 |
+
typically require language expertise to curate dictionaries that map tokens from one language and script to another. Therefore, previous attempts at mPLM adaptation to unseen languages via transliteration (Muller et al., 2021; Chau and Smith, 2021; Dhamecha et al., 2021; Moosa et al., 2023) were constrained to a handful of languages due to the limited availability of language-specific translit-. rators, or were applied only to languages that have 'language siblings' with developed translitators.
|
| 37 |
+
|
| 38 |
+
In this work, unlike previous work, we propose to use and then evaluate the usefulness of a universal romanization tool, UROMAN (Hermjakob et al., 2018), for quick, large-scale and effective adaptation of mPLMs to low-resource languages. The UROMAN tool disposes of language-specific curated dictionaries and maps any UTF-8 character to the Latin script, increasing the portability of romanization, with some examples in Figure 1.
|
| 39 |
+
|
| 40 |
+
We analyze language adaptation on a massive scale via UROMAN-based romanization on a set of 14 diverse low-resource languages. We conduct experiments within the standard parameter-efficient adapter-based cross-lingual transfer setup on two tasks: Named Entity Recognition (NER) on the WikiANN dataset (Pan et al., 2017; Rahimi et al., 2019), and Dependency Parsing (DP) with Universal Dependencies v2.7 (Nivre et al., 2020). Our key results suggest that UROMAN-based transliteration can offer strong performance on par or even outperforming adaptation with language-specific transliterrators, setting up the basis for wider use of transliteration-based mPLM adaptation techniques in future work. The gains with romanization-based adaptation over standard adaptation baselines are particularly pronounced for languages with unseen scripts ( $\sim$ 8-22 performance points) without any vocabulary augmentation.[2]
|
| 41 |
+
|
| 42 |
+
# 2 Background
|
| 43 |
+
|
| 44 |
+
Why UROMAN-Based Romanization? UROMAN-based romanization is not always fully reversible, and its usage for transliteration has thus been limited in the literature. However, due to its high portability, UROMAN can help scale the process of transliteration massively and as such benefit low-resource scenarios and wider adaptation of mPLMs. The main idea, as hinted in §1, is to (learn to) map
|
| 45 |
+
|
| 46 |
+
any UTF-8 character to the Latin script, without the use of any external language-specific dictionaries (see Hermjakob et al. (2018) for technical details).
|
| 47 |
+
|
| 48 |
+
Cross-Lingual Transfer to Low-Resource Languages. Parameter-efficient and modular finetuning methods (Pfeiffer et al., 2023) such as adapters (Houlsby et al., 2019; Pfeiffer et al., 2020b) have been used for cross-lingual transfer, putting a particular focus on enabling transfer to low-resource languages and scenarios, including languages with scripts 'unseen' by the base mPLM (Pfeiffer et al., 2021). Adapters are small lightweight components stitched into the base mPLM, and then trained for particular languages and tasks while keeping the parameters of the original mPLM frozen. This circumvents the issues of catastrophic forgetting and interference (McCloskey and Cohen, 1989) within the mPLM, and allows for extending its reach also to unseen languages (Pfeiffer et al., 2021; Ansell et al., 2021).
|
| 49 |
+
|
| 50 |
+
For our main empirical analyses, we adopt a state-of-the-art modular method for cross-lingual transfer: MAD-X (Pfeiffer et al., 2020b). In short, MAD-X is based on language adapters (LA), task adapters (TA), and invertible adapters (INV). While LAs are trained for specific languages relying on masked language modeling, TAs are trained with high-resource languages relying on task-annotated data and task-specific objectives. At inference, the source LA is replaced with the target LA while the TA is kept. In order to do parameter-efficient learning for the token-level embeddings across different languages and to deal with the vocabulary mismatch between source and target languages, Pfeiffer et al. (2020b) also propose INV adapters: they are placed on top of the embedding layer and their inverses precede the output embedding layer.<sup>3</sup> We adopt the better-performing MAD-X 2.0 setup (Pfeiffer et al., 2021) where the adapters in the last Transformer layer are dropped at inference.<sup>4</sup>
|
| 51 |
+
|
| 52 |
+
# 3 Experiments and Results
|
| 53 |
+
|
| 54 |
+
As the main means of analyzing the impact of transliteration in general and UROMAN-based romanization in particular, we train different variants of language adapters within the MAD-X framework, based on transliterated and non-transliterated
|
| 55 |
+
|
| 56 |
+
<table><tr><td>Language</td><td>Family</td><td>Script</td><td># Sentences</td></tr><tr><td>Bhojpuri (bh)</td><td>Indo-European</td><td>Devanagari</td><td>35,983</td></tr><tr><td>Buryat (bxr)</td><td>Mongolic</td><td>Cyrillic</td><td>41,692</td></tr><tr><td>Erzya (myv)</td><td>Uralic</td><td>Cyrillic</td><td>42,575</td></tr><tr><td>Meadow Mari (mhr)</td><td>Uralic</td><td>Cyrillic</td><td>144,529</td></tr><tr><td>Min Dong (cdo)</td><td>Sino-Tibetan</td><td>Chinese</td><td>33,978</td></tr><tr><td>Mingrelian (xmf)</td><td>Kartvelian</td><td>Georgian</td><td>63,032</td></tr><tr><td>Sindhi (sd)</td><td>Indo-European</td><td>Arabic</td><td>86,176</td></tr><tr><td>Sorani Kurdish (ckb)</td><td>Indo-European</td><td>Arabic</td><td>459,475</td></tr><tr><td>Uyghur (ug)</td><td>Turkic</td><td>Arabic</td><td>149,813</td></tr><tr><td>Amháric (am)</td><td>Afro-Asiatic</td><td>Ge'ez</td><td>88,320</td></tr><tr><td>Divehi (dv)</td><td>Indo-European</td><td>Thaana</td><td>34,779</td></tr><tr><td>Khmer (km)</td><td>Austroasiatic</td><td>Khmer</td><td>139,704</td></tr><tr><td>Sinhala (si)</td><td>Indo-European</td><td>Sinhala</td><td>219,866</td></tr><tr><td>Tibetan (bo)</td><td>Sino-Tibetan</td><td>Tibetan</td><td>131,362</td></tr></table>
|
| 57 |
+
|
| 58 |
+
Table 1: Languages with their ISO 639-3 codes used in our evaluation, along with their script, language family, and number of sentences available for pretraining. The dashed line separates languages with unseen scripts, placed in the bottom part of the table.
|
| 59 |
+
|
| 60 |
+
versions of target language data, outlined here.
|
| 61 |
+
|
| 62 |
+
Variants with Non-Transliterated Data. For the Non-Trans $_{\mathrm{LA} + \mathrm{INV}}$ variant, we train LAs and INV adapters together. This variant serves to examine the extent to which mPLMs can adapt to unseen languages without any vocabulary extension. $^5$ We compare this to Non-Trans $_{\mathrm{LA} + \mathrm{Emb}_{\mathrm{Lex}}}$ , which trains a new tokenizer for the target language (Pfeiffer et al., 2021): the so-called 'lexically overlapping' tokens are initialized with mPLM's trained embeddings, while the remaining embeddings are initialized randomly. All these embeddings (Emb $_{\mathrm{Lex}}$ ) are fine-tuned along with LAs.
|
| 63 |
+
|
| 64 |
+
Variants with Transliterated Data. We evaluate a $\mathrm{Trans}_{\mathrm{LA} + \mathrm{INV}}$ variant, which uses the same setup as Non-Trans $\mathrm{LA} + \mathrm{INV}$ but now with transliterated data. We again note that in this efficient setup, we do not extend the vocabulary size, and use the fewest trainable parameters. In the $\mathrm{Trans}_{\mathrm{LA} + \mathrm{mPLM}_{\mathrm{ft}}}$ variant, we train LAs along with fine-tuning the pretrained embeddings of mPLM (mPLMft). This further enhances the model capacity by fine-tuning the embedding layer instead of using invertible adapters. For both variants, transliterated data can be produced via different transliterations: (i) language-specific ones; (ii) the ones from 'language siblings' (e.g., using a Georgian transliterator for Mingrelian), or (iii) UROMAN.
|
| 65 |
+
|
| 66 |
+
# 3.1 Experimental Setup
|
| 67 |
+
|
| 68 |
+
Data, Languages and Tasks. Following Pfeiffer et al. (2021), we select mBERT as our base mPLM. We experiment with 14 typologically diverse low-resource languages that are not part of mBERT's pretraining corpora, with 5/14 languages written in distinct scripts (see Table 1 for details). For LA training, we use Wikipedia dumps for the target languages, which we also transliterate (using different translitators). Evaluation is conducted on two standard cross-lingual transfer tasks in zero-shot setups: 1) the WikiAnn NER dataset (Pan et al., 2017) with the train, dev, and test splits from (Rahimi et al., 2019); 2) for dependency parsing, we rely on the UD Dataset v2.7 (Nivre et al., 2020).
|
| 69 |
+
|
| 70 |
+
LAs and TAs. English is the source language in all experiments, and is used for training TAs. The English LA is obtained directly from Adapterhub.ml (Pfeiffer et al., 2020a), LAs and embeddings (when needed) are only trained for target languages.
|
| 71 |
+
|
| 72 |
+
Finally, for the Non-Trans $_{\mathrm{LA + Emb_{Lex}}}$ variant, we train a WordPiece tokenizer on the target language data with a vocabulary size of 10K.
|
| 73 |
+
|
| 74 |
+
Training of Language and Task Adapters. We train all the language adapters for 50 epochs or $\sim 50K$ update steps based on the corpus size. The batch size is set to 64 and the learning rate is $1e - 4$ .
|
| 75 |
+
|
| 76 |
+
We train English task adapters following the setup from (Pfeiffer et al., 2020b). For NER, we directly obtain the task adapter from Adapterhub.ml which is trained with a learning rate of $1e - 4$ for 10 epochs. For DP, we train a Transformer-based (Glavaš and Vulić, 2021) biaffine attention dependency parser (Dozat and Manning, 2017). We use a learning rate of $5e - 4$ and train for 10 epochs as in (Pfeiffer et al., 2021).
|
| 77 |
+
|
| 78 |
+
All the reported results in both tasks (NER and DP) are reported as averages over 6 random seeds. All the models have been trained on A100 or V100 GPUs. None of the training methods consumed more than 36 hours. As the main means of analyzing the impact of transliteration in general and UROMAN-based romanization in particular, we train different variants of language adapters within the MAD-X framework, based on transliterated and non-transliterated versions of target language data, outlined here.
|
| 79 |
+
|
| 80 |
+
# 3.2 Results and Discussion
|
| 81 |
+
|
| 82 |
+
UROMAN versus Other Transliterators and Transliteration Strategies. In order to estab
|
| 83 |
+
|
| 84 |
+
<table><tr><td>Task</td><td>Transliterator</td><td>am</td><td>ar</td><td>ka</td><td>ru</td><td>hi</td><td>sd</td><td>avg</td></tr><tr><td rowspan="2">NER (Macro F1)</td><td>UROMAN</td><td>25.6</td><td>24.8</td><td>61.4</td><td>66.5</td><td>48.6</td><td>35.3</td><td>43.7</td></tr><tr><td>Other</td><td>25.5</td><td>23.7</td><td>57.3</td><td>63.9</td><td>56.7</td><td>35.9</td><td>43.8</td></tr><tr><td rowspan="2">UD (UAS / LAS)</td><td>UROMAN</td><td>36.17 / 6.6</td><td>33.0 / 19.8</td><td>-</td><td>47.3 / 32.4</td><td>33.8 / 17.8</td><td>-</td><td>37.5 / 19.1</td></tr><tr><td>Other</td><td>29.9 / 5.4</td><td>32.6 / 19.9</td><td>-</td><td>45.0 / 19.9</td><td>33.2 / 17.9</td><td>-</td><td>35.2 / 15.8</td></tr></table>
|
| 85 |
+
|
| 86 |
+
Table 2: Comparison of UROMAN with language-specific transliterations.
|
| 87 |
+
|
| 88 |
+
<table><tr><td rowspan="2">Method</td><td colspan="7">Seen Script</td><td colspan="6">Unseen Script</td><td>avg</td></tr><tr><td>bh</td><td>cdo</td><td>ckb</td><td>mhr</td><td>sd</td><td>ug</td><td>xmf</td><td>am</td><td>bo</td><td>dv</td><td>km</td><td>si</td><td></td><td></td></tr><tr><td>UROMAN</td><td>32.59</td><td>27.34</td><td>67.73</td><td>64.68</td><td>35.33</td><td>28.10</td><td>52.58</td><td>25.69</td><td>35.95</td><td>29.99</td><td>41.76</td><td>31.83</td><td>26.89</td><td></td></tr><tr><td>BORROW</td><td>53.42 (hi)</td><td>-</td><td>12.46 (ar)</td><td>45.86 (ru)</td><td>16.79 (ar)</td><td>12.85 (ar)</td><td>24.77 (ru)</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td></td></tr><tr><td>RAND</td><td>25.42</td><td>19.51</td><td>53.55</td><td>42.02</td><td>27.20</td><td>25.18</td><td>35.82</td><td>18.00</td><td>18.95</td><td>21.19</td><td>32.75</td><td>20.01</td><td>21.59</td><td></td></tr></table>
|
| 89 |
+
|
| 90 |
+
Table 3: Comparison of various transliteration strategies on the NER task (Macro-F1).
|
| 91 |
+
|
| 92 |
+
<table><tr><td rowspan="2">Variant</td><td colspan="7">Seen Script</td><td colspan="5">Unseen Script</td><td rowspan="2">avg</td></tr><tr><td>bh</td><td>cdo</td><td>sd</td><td>xmf</td><td>mhr</td><td>ckb</td><td>ug</td><td>am</td><td>bo</td><td>dv</td><td>km</td><td>si</td></tr><tr><td>Non-TransLA+INV</td><td>55.14</td><td>24.19</td><td>31.31</td><td>49.74</td><td>70.31</td><td>45.54</td><td>33.53</td><td>3.26</td><td>19.86</td><td>18.72</td><td>13.81</td><td>23.14</td><td>18.39</td></tr><tr><td>TransLA+INV</td><td>32.59</td><td>27.34</td><td>35.33</td><td>52.58</td><td>64.68</td><td>67.73</td><td>28.10</td><td>25.69</td><td>35.95</td><td>29.99</td><td>41.76</td><td>31.83</td><td>26.89</td></tr><tr><td>Non-TransLA+EmblEx</td><td>60.00</td><td>28.91</td><td>42.47</td><td>51.99</td><td>61.05</td><td>79.12</td><td>50.42</td><td>47.60</td><td>40.96</td><td>31.21</td><td>53.94</td><td>45.89</td><td>49.01</td></tr><tr><td>TransLA + mPLMrl</td><td>49.05</td><td>36.92</td><td>39.16</td><td>57.99</td><td>69.85</td><td>73.92</td><td>33.43</td><td>37.09</td><td>33.82</td><td>40.40</td><td>52.39</td><td>45.24</td><td>47.44</td></tr></table>
|
| 93 |
+
|
| 94 |
+
Table 4: Results (Macro-F1 scores) on WikiAnn NER averaged over 6 random seeds.
|
| 95 |
+
|
| 96 |
+
<table><tr><td rowspan="2">Variant</td><td colspan="4">Seen Script</td><td colspan="2">Unseen Script</td></tr><tr><td>bh</td><td>myv</td><td>ug</td><td>bxr</td><td>am</td><td>avg</td></tr><tr><td>Non-TransLA+INV</td><td>28.46 / 11.53</td><td>45.28 / 26.27</td><td>33.44 / 15.28</td><td>39.75 / 19.77</td><td>19.08 / 1.85</td><td>33.20 / 10.81</td></tr><tr><td>TransLA+INV</td><td>25.12 / 10.17</td><td>45.74 / 26.64</td><td>32.30 / 15.10</td><td>37.92 / 17.23</td><td>36.07 / 7.58</td><td>35.43 / 12.41</td></tr><tr><td>Non-TransLA+EmblEx</td><td>26.68 / 10.10</td><td>48.34 / 25.34</td><td>41.20 / 22.81</td><td>39.51 / 16.02</td><td>36.4778.39</td><td>38.44 / 12.20</td></tr><tr><td>TransLA + mPLMrl</td><td>28.04 / 11.13</td><td>41.97 / 20.29</td><td>50.89 / 16.56</td><td>35.03 / 20.29</td><td>39.10 / 9.00</td><td>39.01 / 14.65</td></tr></table>
|
| 97 |
+
|
| 98 |
+
Table 5: Results (UAS / LAS scores) in the DP task with UD, averaged over 6 random seeds.
|
| 99 |
+
|
| 100 |
+
lish the utility of UROMAN as a viable transliterator, especially for low-resource languages, we compare its performance with transliteration options using the TransLA + INV setup as the most efficient scenario. First, we compare UROMAN with language-specific transliterations available for selected languages: amseg (Yimam et al., 2021) for Amharic, ai4bharat-transliteration (Madhani et al., 2022) for Hindi and Sindhi, lang-trans for Arabic, and transliterate for Russian and Georgian<sup>7</sup>. The transliterations used in this work are outlined in Table 6. The results are provided in Table 2. On average, UROMAN performs better or comparable to the language-specific transliterations. This provides justification to use UROMAN for massive transliteration at scale.
|
| 101 |
+
|
| 102 |
+
Second, we compare UROMAN to two other transliteration strategies. (i) BORROW refers to borrowing transliterators from languages within the same language family and written in the same script. Since building transliterators are costly, this gives us an estimate of whether it is possible to rely on the related transliterators when we do not have a language-specific one at hand. (ii) RAND
|
| 103 |
+
|
| 104 |
+
refers to a random setting where we associate any non-ASCII character with any ASCII character, giving us an estimate of whether we actually need knowledge of the language to build transliterations. The results are provided in Table 3: UROMAN is largely and consistently outperforming both BORROW and RAND, where the single exception is BORROW (from Hindi to Bhojpuri). Surprisingly, RAND also yields reasonable performance and on average even outperforms the Non-TransLA+INV variant with non-transliterated data (21.59 vs 18.39 in Table 4 later). This provides further evidence towards the utility of transliteration in general and UROMAN-based romanization in particular to assist and improve language adaptation.
|
| 105 |
+
|
| 106 |
+
Performance on Low-Resource Languages is summarized in Table 4 and Table 5. We note that $\mathrm{Trans}_{\mathrm{LA} + \mathrm{INV}}$ outperforms Non-Trans $\mathrm{LA} + \mathrm{INV}$ for all the languages with unseen scripts, and achieves that with huge margins ( $\sim$ 8-22 points for NER and $\sim$ 17 points in UAS scores). We observe similar trends for some of the languages with seen scripts such as Min Dong (cdo), Sindhi (sd), Mingrelian
|
| 107 |
+
|
| 108 |
+

|
| 109 |
+
Figure 2: Sample efficiency in the NER task.
|
| 110 |
+
|
| 111 |
+

|
| 112 |
+
Figure 3: Sample efficiency in the DP task.
|
| 113 |
+
|
| 114 |
+
(xmf) on NER tasks and Erzya (myv) on DP. The less efficient $\mathrm{Trans}_{\mathrm{LA} + \mathrm{mPLM_{ft}}}$ , as expected, further improves the performance for all the languages except for Tibetan (bo).<sup>10</sup> Non-Trans $_{\mathrm{LA} + \mathrm{Emb}_{\mathrm{Lex}}}$ , however, now outperforms UROMAN-based methods for a majority of the languages. This observation can be attributed to various factors related to mBERT's tokenizer, and we provide an in-depth analysis later in Appendix C. Nonetheless, we observe strong and competitive performance of $\mathrm{Trans}_{\mathrm{LA} + \mathrm{mPLM_{ft}}}$ in both tasks, again indicating that more attention should be put on transliteration-based language adaptation in future work.
|
| 115 |
+
|
| 116 |
+
Sample Efficiency. Finally, we simulate a few-shot setup to study the effectiveness of using transliterated versus non-transliterated data in data-scarce scenarios. For NER, we evaluate performance on all the languages and on languages with unseen scripts; for DP, we evaluate on all the languages. Figure 2 indicates that $\mathrm{Trans}_{\mathrm{LA} + \mathrm{INV}}$ on average performs better than all the other methods at sample sizes 100 (i.e., 100 sentences in the target language) and 1,000. However, from 10,000 sentences onward, Non-Trans $\mathrm{LA} + \mathrm{Emb}_{\mathrm{Lex}}$ takes the lead. We observe similar trends in the DP task (see Fig 3). This establishes the utility of transliteration for (extremely) low-resource scenarios.
|
| 117 |
+
|
| 118 |
+
# 4 Conclusion
|
| 119 |
+
|
| 120 |
+
In this work, we have systematically analyzed and confirmed the potential of romanization, implemented via the UROMAN tool, to help with adaptation of multilingual pretrained language models. Given (i) its broad applicability and (ii) strong performance overall and for languages with unseen scripts, we hope our study will inspire more work on transliteration-based adaptation.
|
| 121 |
+
|
| 122 |
+
# Limitations
|
| 123 |
+
|
| 124 |
+
In this paper, we work with UROMAN (Hermjakob et al., 2018) which is an unsupervised romanization tool. While it is an effective tool for romanization at scale, it still has potential drawbacks. Since it is only based on lexical substitution, its transliterations may not semantically or phonetically align with the source content and may differ from transliterations preferred by native speakers. Moreover, UROMAN is not invertible—as we have highlighted—and may thus be less appealing when text in the original script needs to be exactly reproduced. Our proposed method, while it is parameter-efficient and effective—particularly for low-resource languages—still underperforms language-specific tokenizer-based non-transliteration methods. Future work may focus on developing an improved and more efficient tokenizer for transliteration-based methods as we highlight in the Appendix.
|
| 125 |
+
|
| 126 |
+
While there is now a growing body of available evaluation resources for low-resource languages (Ebrahimimi et al., 2022; Mhaske et al., 2023; Winata et al., 2023, among others), our final selection of tasks, resources and languages has been driven and constrained by the specific concrete goal of our short paper: studying and evaluating if and how transliteration/romanization can help with adaptation of languages with scripts unseen by the pretrained multilingual language model. We thus closely follow the experimental setup of Pfeiffer et al. (2021) which used the same set of tasks and languages with unseen scripts.
|
| 127 |
+
|
| 128 |
+
Finally, romanization can be seen as a step towards providing more universal, or rather language-agnostic, input text representation. Full-fledged comparisons against other approaches that aim to strike language independence at the input or feature level, such as byte-level models (e.g., ByT5 (Xue et al., 2022)) and pixel-based models (e.g., PILXEL (Rust et al., 2023)) go beyond
|
| 129 |
+
|
| 130 |
+
the scope of this particular work, but we point out to this as a very interesting future research avenue. Moreover, the integration of these language-agnostic representations with 'romanization'-based approaches might yield additional benefits, and should also be attested in future research.
|
| 131 |
+
|
| 132 |
+
# Acknowledgements
|
| 133 |
+
|
| 134 |
+
This work has been funded by the German Research Foundation (DFG) as part of the Research Training Group KRITIS No. GRK 2222. The work of Ivan Vulić has been supported by a personal Royal Society University Research Fellowship (no 221137; 2022-).
|
| 135 |
+
|
| 136 |
+
We thank Indraneil Paul, Yongxin Huang, Ivan Habernal, and Massimo Nicosia for their valuable feedback and suggestions on a draft of this paper.
|
| 137 |
+
|
| 138 |
+
# References
|
| 139 |
+
|
| 140 |
+
Chantal Amrhein and Rico Sennrich. 2020. On Romanization for model transfer between scripts in neural machine translation. In *Findings of the Association for Computational Linguistics: EMNLP* 2020, pages 2461-2469, Online. Association for Computational Linguistics.
|
| 141 |
+
Alan Ansell, Edoardo Maria Ponti, Jonas Pfeiffer, Sebastian Ruder, Goran Glavaš, Ivan Vulić, and Anna Korhonen. 2021. MAD-G: Multilingual adapter generation for efficient cross-lingual transfer. In *Findings of the Association for Computational Linguistics: EMNLP* 2021, pages 4762–4781, Punta Cana, Dominican Republic. Association for Computational Linguistics.
|
| 142 |
+
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.
|
| 143 |
+
Ethan C. Chau and Noah A. Smith. 2021. Specializing multilingual language models: An empirical study. In Proceedings of the 1st Workshop on Multilingual Representation Learning, pages 51-61, Punta Cana, Dominican Republic. Association for Computational Linguistics.
|
| 144 |
+
Alexis Conneau, Kartikay Khandelwal, Naman Goyal, Vishrav Chaudhary, Guillaume Wenzek, Francisco Guzmán, Edouard Grave, Myle Ott, Luke Zettle-moyer, and Veselin Stoyanov. 2020. Unsupervised cross-lingual representation learning at scale. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pages 8440-8451, Online. Association for Computational Linguistics.
|
| 145 |
+
|
| 146 |
+
Peter T. Daniels and William Bright. 1996. The world's writing systems. Oxford University Press.
|
| 147 |
+
Isin Demirsahin, Cibu Johny, Alexander Gutkin, and Brian Roark. 2022. Criteria for useful automatic Romanization in South Asian languages. In Proceedings of the Thirteenth Language Resources and Evaluation Conference, pages 6662-6673, Marseille, France. European Language Resources Association.
|
| 148 |
+
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.
|
| 149 |
+
Tejas Dhamecha, Rudra Murthy, Samarth Bharadwaj, Karthik Sankaranarayanan, and Pushpak Bhattacharyya. 2021. Role of Language Relatedness in Multilingual Fine-tuning of Language Models: A Case Study in Indo-Aryan Languages. In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing, pages 8584-8595, Online and Punta Cana, Dominican Republic. Association for Computational Linguistics.
|
| 150 |
+
Timothy Dozat and Christopher D. Manning. 2017. Deep biaffine attention for neural dependency parsing. In 5th International Conference on Learning Representations, ICLR 2017, Toulon, France, April 24-26, 2017, Conference Track Proceedings. Open-Review.net.
|
| 151 |
+
Abteen Ebrahimi, Manuel Mager, Arturo Oncevay, Vishrav Chaudhary, Luis Chiruzzo, Angela Fan, John Ortega, Ricardo Ramos, Annette Rios, Ivan Vladimir Meza Ruiz, Gustavo Giménez-Lugo, Elisabeth Mager, Graham Neubig, Alexis Palmer, Rolando Coto-Solano, Thang Vu, and Katharina Kann. 2022. AmericasNLI: Evaluating zero-shot natural language understanding of pretrained multilingual models in truly low-resource languages. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 6279-6299, Dublin, Ireland. Association for Computational Linguistics.
|
| 152 |
+
Goran Glavaš and Ivan Vulić. 2021. Is supervised syntactic parsing beneficial for language understanding tasks? an empirical investigation. In Proceedings of the 16th Conference of the European Chapter of the Association for Computational Linguistics: Main Volume, pages 3090-3104, Online. Association for Computational Linguistics.
|
| 153 |
+
Ulf Hermjakob, Jonathan May, and Kevin Knight. 2018. Out-of-the-box universal Romanization tool uroman. In Proceedings of ACL 2018, System Demonstrations, pages 13-18, Melbourne, Australia. Association for Computational Linguistics.
|
| 154 |
+
|
| 155 |
+
Neil Houlsby, Andrei Giurgiu, Stanislaw Jastrzebski, Bruna Morrone, Quentin de Laroussilhe, Andrea Gesmundo, Mona Attariyan, and Sylvain Gelly. 2019. Parameter-efficient transfer learning for NLP. In Proceedings of the 36th International Conference on Machine Learning, ICML 2019, 9-15 June 2019, Long Beach, California, USA, volume 97 of Proceedings of Machine Learning Research, pages 2790-2799. PMLR.
|
| 156 |
+
Junjie Hu, Sebastian Ruder, Aditya Siddhant, Graham Neubig, Orhan First, and Melvin Johnson. 2020. XTREME: A massively multilingual multitask benchmark for evaluating cross-lingual generalisation. In Proceedings of the 37th International Conference on Machine Learning, ICML 2020, 13-18 July 2020, Virtual Event, volume 119 of Proceedings of Machine Learning Research, pages 4411-4421. PMLR.
|
| 157 |
+
Ying Lin, Cash Costello, Boliang Zhang, Di Lu, Heng Ji, James Mayfield, and Paul McNamee. 2018. Platforms for non-speakers annotating names in any language. In Proceedings of ACL 2018, System Demonstrations, pages 1-6, Melbourne, Australia. Association for Computational Linguistics.
|
| 158 |
+
Yash Madhani, Sushane Parthan, Priyanka A. Bedekar, Ruchi Khapra, Vivek Seshadri, Anoop Kunchukuttan, Pratyush Kumar, and Mitesh M. Khapra. 2022. Aksharantar: Towards building open transliteration tools for the next billion users. arXiv preprint.
|
| 159 |
+
Michael McCloskey and Neal J. Cohen. 1989. Catastrophic interference in connectionist networks: The sequential learning problem. volume 24 of Psychology of Learning and Motivation, pages 109-165. Academic Press.
|
| 160 |
+
Arnav Mhaske, Harshit Kedia, Sumanth Doddapaneni, Mitesh M. Khapra, Pratyush Kumar, Rudra Murthy, and Anoop Kunchukuttan. 2023. Naamapadam: A large-scale named entity annotated data for Indic languages. In Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 10441-10456, Toronto, Canada. Association for Computational Linguistics.
|
| 161 |
+
Nikita Moghe, Evgeniia Razumovskaia, Liane Guillou, Ivan Vulic, Anna Korhonen, and Alexandra Birch. 2023. Multi3NLU++: A multilingual, multi-intent, multi-domain dataset for natural language understanding in task-oriented dialogue. In Findings of the Association for Computational Linguistics: ACL 2023, pages 3732-3755, Toronto, Canada. Association for Computational Linguistics.
|
| 162 |
+
Ibraheem Muhammad Moosa, Mahmud Elahi Akhter, and Ashfia Binte Habib. 2023. Does transliteration help multilingual language modeling? In *Findings of the Association for Computational Linguistics: EACL* 2023, pages 670–685, Dubrovnik, Croatia. Association for Computational Linguistics.
|
| 163 |
+
|
| 164 |
+
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.
|
| 165 |
+
Joakim Nivre, Marie-Catherine de Marneffe, Filip Ginter, Jan Hajic, Christopher D. Manning, Sampo Pyysalo, Sebastian Schuster, Francis Tyers, and Daniel Zeman. 2020. Universal Dependencies v2: An evergrowing multilingual treebank collection. In Proceedings of the Twelfth Language Resources and Evaluation Conference, pages 4034-4043, Marseille, France. European Language Resources Association.
|
| 166 |
+
Xiaoman Pan, Boliang Zhang, Jonathan May, Joel Nothman, Kevin Knight, and Heng Ji. 2017. Cross-lingual name tagging and linking for 282 languages. In Proceedings of the 55th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 1946–1958, Vancouver, Canada. Association for Computational Linguistics.
|
| 167 |
+
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.
|
| 168 |
+
Jonas Pfeiffer, Andreas Rückle, Clifton Poth, Aishwarya Kamath, Ivan Vulic, Sebastian Ruder, Kyunghyun Cho, and Iryna Gurevych. 2020a. AdapterHub: A framework for adapting transformers. In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing: System Demonstrations, pages 46-54, Online. Association for Computational Linguistics.
|
| 169 |
+
Jonas Pfeiffer, Sebastian Ruder, Ivan Vulić, and Edoardo Maria Ponti. 2023. Modular deep learning. arXiv preprint.
|
| 170 |
+
Jonas Pfeiffer, Ivan Vulić, Iryna Gurevych, and Sebastian Ruder. 2020b. MAD-X: An Adapter-Based Framework for Multi-Task Cross-Linguual Transfer. In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP), pages 7654–7673, Online. Association for Computational Linguistics.
|
| 171 |
+
Jonas Pfeiffer, Ivan Vulić, Iryna Gurevych, and Sebastian Ruder. 2021. UNKs everywhere: Adapting multilingual language models to new scripts. In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing, pages 10186-10203, Online and Punta Cana, Dominican Republic. Association for Computational Linguistics.
|
| 172 |
+
|
| 173 |
+
Edoardo Maria Ponti, Goran Glavaš, Olga Majewska, Qianchu Liu, Ivan Vulić, and Anna Korhonen. 2020. XCOPA: A multilingual dataset for causal commonsense reasoning. In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP), pages 2362-2376, Online. Association for Computational Linguistics.
|
| 174 |
+
Afshin Rahimi, Yuan Li, and Trevor Cohn. 2019. Massively multilingual transfer for NER. In Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics, pages 151-164, Florence, Italy. Association for Computational Linguistics.
|
| 175 |
+
Phillip Rust, Jonas F. Lotz, Emanuele Bugliarello, Elizabeth Salesky, Miryam de Lhoneux, and Desmond Elliott. 2023. Language modelling with pixels. In *The Eleventh International Conference on Learning Representations*, ICLR 2023, Kigali, Rwanda, May 1-5, 2023. OpenReview.net.
|
| 176 |
+
Phillip Rust, Jonas Pfeiffer, Ivan Vulic, Sebastian Ruder, and Iryna Gurevych. 2021. How good is your tokenizer? on the monolingual performance of multilingual 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 3118-3135, Online. Association for Computational Linguistics.
|
| 177 |
+
Daan van Esch, Tamar Lucassen, Sebastian Ruder, Isaac Caswell, and Clara Rivera. 2022. Writing system and speaker metadata for $2,800+$ language varieties. In Proceedings of the Thirteenth Language Resources and Evaluation Conference, pages 5035-5046, Marseille, France. European Language Resources Association.
|
| 178 |
+
Hans H Wellisch, Lee Breuer, Richard Foreman, and Robert Wilson. 1978. The conversion of scripts, its nature, history, and utilization. New York: Toronto: Wiley.
|
| 179 |
+
Genta Indra Winata, Alham Fikri Aji, Samuel Cahyawijaya, Rahmad Mahendra, Fajri Koto, Ade Romadhony, Kemal Kurniawan, David Moeljadi, Radityo Eko Prasojo, Pascale Fung, Timothy Baldwin, Jey Han Lau, Rico Sennrich, and Sebastian Ruder. 2023. NusaX: Multilingual parallel sentiment dataset for 10 Indonesian local languages. In Proceedings of the 17th Conference of the European Chapter of the Association for Computational Linguistics, pages 815-834, Dubrovnik, Croatia. Association for Computational Linguistics.
|
| 180 |
+
Linting Xue, Aditya Barua, Noah Constant, Rami Al-Rfou, Sharan Narang, Mihir Kale, Adam Roberts, and Colin Raffel. 2022. ByT5: Towards a token-free future with pre-trained byte-to-byte models. Transactions of the Association for Computational Linguistics, 10:291-306.
|
| 181 |
+
Seid Muhie Yimam, Abinew Ali Ayele, Gopalakrishnan Venkatesh, Ibrahim Gashaw, and Chris Biemann. 2021. Introducing various semantic models
|
| 182 |
+
|
| 183 |
+
for amharic: Experimentation and evaluation with multiple tasks and datasets. Future Internet, 13(11).
|
| 184 |
+
|
| 185 |
+
Judit Ács. Exploring bert's vocabulary. Blog Post.
|
| 186 |
+
|
| 187 |
+
# A Transliterators in Evaluation
|
| 188 |
+
|
| 189 |
+
Besides UROMAN, we also employ various language-specific transliterations which are publicly available. We list them in Table 6.
|
| 190 |
+
|
| 191 |
+
# B Performance comparison of mBERT
|
| 192 |
+
|
| 193 |
+
We adapt the standard cross-lingual transfer setup for mBERT. The model is finetuned on the task data for a source language (high-resource) and is used to perform inference on the target language (low-resource). We report the performance comparison of the standard cross-lingual transfer setup for mBERT on the NER task for languages with unseen scripts with the adapter-based methods in Table 7. We observe that the adapter-based methods outperform mBERT by huge margins.
|
| 194 |
+
|
| 195 |
+
# C Further Analyses
|
| 196 |
+
|
| 197 |
+
Following previous work (Ács; Rust et al., 2021; Moosa et al., 2023), we further analyze tokenization quality of the mBERT tokenizer using the following established metrics: 1) % of "UNK"s measures the % of "UNK" tokens produced by the tokenizer, and our aim is to compare their rate before and after transliteration; 2) fertility measures the number of subwords that are produced per tokenized word; 3) proportion of continued subwords measures the proportion of words for which the tokenized word is split across at least two subwords (denoted by the symbol ##).
|
| 198 |
+
|
| 199 |
+
From the results summarized in Figure 4, it is apparent that transliteration drastically reduces $\%$ of UNKs. However, mBERT's tokenizer underperforms as compared to monolingual tokenizers based on fertility and the proportion of continued subwords (Rust et al., 2021). Transliteration performs better for some languages where the quality of the mBERT tokenizer is similar to the monolingual tokenizer such as for dv, km, and cdo. On the other hand, transliteration methods perform worse on languages where the quality of the underlying mBERT tokenizer is relatively poor.
|
| 200 |
+
|
| 201 |
+
In order to test the hypothesis that the tokenizer quality might be the principal reason for the performance gap for the transliteration-based methods in comparison to the non-transliteration based methods, we carried out an additional experiment. For the experiment, we adapt the Non-Trans $_{\mathrm{LA + Emb_{Lex}}}$ to operate on transliterated data, and call this variant Trans $_{\mathrm{LA + Emb_{Lex}}}$ . Here, we train a new tokenizer
|
| 202 |
+
|
| 203 |
+
on the transliterated data and initialize lexically overlapping embeddings with mBERT's pretrained embeddings.
|
| 204 |
+
|
| 205 |
+
We plot the performance in Figure 5. The new method, $\mathrm{Trans_{LA + Emb_{Lex}}}$ now outperforms the nontransliteration-based variant on 8/12 languages and also on average. Consequently, this validates our hypothesis and is in line with the previous work (Moosa et al., 2023). However, we found a drop in performance in the case of mhr (-10.71) and cdo (-10.14) when compared to $\mathrm{Trans_{LA} + mPLM_{ft}}$ . These drops may be attributed to the lower degree of lexical overlap with mBERT's vocabulary, and consequently a higher number of randomly initialized embeddings for those target languages.
|
| 206 |
+
|
| 207 |
+
<table><tr><td>Transliterator</td><td>Used for languages</td><td>Available at</td></tr><tr><td>UROMAN</td><td>All</td><td>github.com/isi-nlp/uroman</td></tr><tr><td>amseg</td><td>am</td><td>pypi.org/project/amseg/</td></tr><tr><td>transliterate</td><td>ru, ka</td><td>pypi.org/project/transliterate/</td></tr><tr><td>ai4bharat-transliteration</td><td>hi, sd</td><td>pypi.org/project/ai4bharat-transliteration/</td></tr><tr><td>lang-trans</td><td>ar</td><td>pypi.org/project/lang-trans/</td></tr></table>
|
| 208 |
+
|
| 209 |
+

|
| 210 |
+
(a)
|
| 211 |
+
|
| 212 |
+

|
| 213 |
+
(b)
|
| 214 |
+
Figure 4: Tokenizer quality analysis. a) % of UNKs before and after transliteration, b) Fertility, and c) Proportion of continued subwords for mBERT vs monolingual tokenizer.
|
| 215 |
+
|
| 216 |
+

|
| 217 |
+
(c)
|
| 218 |
+
|
| 219 |
+
Table 6: Transliterators used in this work.
|
| 220 |
+
|
| 221 |
+
<table><tr><td rowspan="2">Variant</td><td colspan="5">Unseen Scripts</td></tr><tr><td>am</td><td>bo</td><td>dv</td><td>km</td><td>si</td></tr><tr><td>mBERT</td><td>0.91</td><td>17.40</td><td>1.30</td><td>10.71</td><td>2.50</td></tr><tr><td>Non-TransLA+INV</td><td>3.26</td><td>19.86</td><td>18.72</td><td>13.81</td><td>23.14</td></tr><tr><td>TransLA + INV</td><td>25.69</td><td>35.95</td><td>29.99</td><td>41.76</td><td>31.83</td></tr><tr><td>Non-TransLA+EmblEx</td><td>47.60</td><td>40.96</td><td>31.21</td><td>53.94</td><td>45.89</td></tr><tr><td>TransLA + mPLMft</td><td>37.09</td><td>33.82</td><td>40.40</td><td>52.39</td><td>45.24</td></tr></table>
|
| 222 |
+
|
| 223 |
+
Table 7: Performance Comparison of mBERT with adapter-based finetuning methods for unseen scripts on the NER task.
|
| 224 |
+
|
| 225 |
+

|
| 226 |
+
Figure 5: Comparison of Non-Trans $_{\mathrm{LA + Emb_{Lex}}}$ with Trans $_{\mathrm{LA + Emb_{Lex}}}$ on NER (left) and DP (right).
|
2023/Romanization-based Large-scale Adaptation of Multilingual Language Models/images.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b42d07edd087aea94eec0bf231af1a2bb4c1a32fa16b0e8372003400e3034c4b
|
| 3 |
+
size 331264
|
2023/Romanization-based Large-scale Adaptation of Multilingual Language Models/layout.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2023/SAC3_ Reliable Hallucination Detection in Black-Box Language Models via Semantic-aware Cross-check Consistency/4a5107be-dc68-42ed-bca9-6c454b388710_content_list.json
ADDED
|
@@ -0,0 +1,1942 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"type": "text",
|
| 4 |
+
"text": "SAC<sup>3</sup>: Reliable Hallucination Detection in Black-Box Language Models via Semantic-aware Cross-check Consistency",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
115,
|
| 8 |
+
91,
|
| 9 |
+
880,
|
| 10 |
+
131
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Jiaxin Zhang $^{1}$ , Zhuohang Li $^{2}$ , Kamalika Das $^{1}$ , Bradley Malin $^{2,3}$ , Sricharan Kumar $^{1}$",
|
| 17 |
+
"bbox": [
|
| 18 |
+
129,
|
| 19 |
+
149,
|
| 20 |
+
870,
|
| 21 |
+
167
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "\\(^{1}\\)Intuit AI Research \\(^{2}\\)Vanderbilt University \\(^{3}\\)Vanderbilt University Medical Center \\(\\{jiaxin_zhang, kamalika_das, sricharan_kumar\\} @intuit.com \\(\\{zhuohang.li, b.malin\\} @\\)vanderbilt.edu",
|
| 28 |
+
"bbox": [
|
| 29 |
+
149,
|
| 30 |
+
168,
|
| 31 |
+
852,
|
| 32 |
+
217
|
| 33 |
+
],
|
| 34 |
+
"page_idx": 0
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"type": "text",
|
| 38 |
+
"text": "Abstract",
|
| 39 |
+
"text_level": 1,
|
| 40 |
+
"bbox": [
|
| 41 |
+
260,
|
| 42 |
+
252,
|
| 43 |
+
339,
|
| 44 |
+
268
|
| 45 |
+
],
|
| 46 |
+
"page_idx": 0
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"type": "text",
|
| 50 |
+
"text": "Hallucination detection is a critical step toward understanding the trustworthiness of modern language models (LMs). To achieve this goal, we re-examine existing detection approaches based on the self-consistency of LMs and uncover two types of hallucinations resulting from 1) question-level and 2) model-level, which cannot be effectively identified through self-consistency check alone. Building upon this discovery, we propose a novel sampling-based method, i.e., semantic-aware cross-check consistency $(\\mathrm{SAC}^3)$ that expands on the principle of self-consistency checking. Our $\\mathrm{SAC}^3$ approach incorporates additional mechanisms to detect both question-level and model-level hallucinations by leveraging advances including semantically equivalent question perturbation and cross-model response consistency checking. Through extensive and systematic empirical analysis, we demonstrate that $\\mathrm{SAC}^3$ outperforms the state of the art in detecting both nonfactual and factual statements across multiple question-answering and open-domain generation benchmarks. $^1$",
|
| 51 |
+
"bbox": [
|
| 52 |
+
142,
|
| 53 |
+
279,
|
| 54 |
+
460,
|
| 55 |
+
620
|
| 56 |
+
],
|
| 57 |
+
"page_idx": 0
|
| 58 |
+
},
|
| 59 |
+
{
|
| 60 |
+
"type": "text",
|
| 61 |
+
"text": "1 Introduction",
|
| 62 |
+
"text_level": 1,
|
| 63 |
+
"bbox": [
|
| 64 |
+
114,
|
| 65 |
+
633,
|
| 66 |
+
260,
|
| 67 |
+
648
|
| 68 |
+
],
|
| 69 |
+
"page_idx": 0
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"type": "text",
|
| 73 |
+
"text": "Large-scale pre-trained language models (LMs) have demonstrated exceptional adaptability across a diverse array of natural language tasks that require generating open-ended responses based on user prompt comprehension (Zhao et al., 2023). However, prominent LMs like GPT (Brown et al., 2020) and PaLM (Chowdhery et al., 2022), often exhibit a tendency to produce exceedingly confident, yet erroneous, assertions commonly referred to as hallucinations. This phenomenon significantly impedes their applicability in domains where factual accuracy is of utmost importance.",
|
| 74 |
+
"bbox": [
|
| 75 |
+
112,
|
| 76 |
+
658,
|
| 77 |
+
489,
|
| 78 |
+
851
|
| 79 |
+
],
|
| 80 |
+
"page_idx": 0
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"type": "text",
|
| 84 |
+
"text": "Hallucinations can be detected through the assistance of metrics that capture the uncertainty about",
|
| 85 |
+
"bbox": [
|
| 86 |
+
112,
|
| 87 |
+
852,
|
| 88 |
+
489,
|
| 89 |
+
884
|
| 90 |
+
],
|
| 91 |
+
"page_idx": 0
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"type": "text",
|
| 95 |
+
"text": "the output sequences. However, these metrics require access to token-level log probabilities, which are not available in commercial black-box LMs like ChatGPT or Bard that only offer limited API access. To overcome this limitation, recent studies explore sampling-based approaches for approximating uncertainty estimation (Lin et al., 2023) through establishing a connection between confidence and self-consistency (Manakul et al., 2023; Mündler et al., 2023). The underlying premise of this principle is that LMs are more inclined to generate consistent responses when high probabilities are assigned to tokens in the answer, which, in turn, implies a level of factuality. In contrast, inconsistent responses are more likely to contain hallucinations. To operationalize this concept, current approaches are designed to sample multiple responses from the LMs for a given question and then compose a hallucination score for each sentence based on the level of response consistency.",
|
| 96 |
+
"bbox": [
|
| 97 |
+
507,
|
| 98 |
+
253,
|
| 99 |
+
885,
|
| 100 |
+
575
|
| 101 |
+
],
|
| 102 |
+
"page_idx": 0
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"type": "text",
|
| 106 |
+
"text": "Key Observations. In this work, we investigate the relationship between the self-consistency of LMs and the occurrence of hallucinations in a diverse range of tasks. Our investigation indicates that while self-inconsistency in LMs often coincides with hallucination, self-consistency does not necessarily guarantee factual answers, as shown in Figure 1. Our findings challenge the notion that self-consistency alone can serve as a reliable indicator of veracity, as it is demonstrated that LMs can exhibit various tiers of hallucination that elude detection through self-consistency checks. One such tier is question-level hallucination, where LMs consistently generate incorrect answers in response to specific questions (e.g., Table 1). We reveal that by reformulating the questions, it is possible to mitigate such instances of hallucinations. Additionally, our work further reveals the existence of model-level hallucinations, whereby different LMs show discrepancies in their propensity for halluci",
|
| 107 |
+
"bbox": [
|
| 108 |
+
507,
|
| 109 |
+
596,
|
| 110 |
+
885,
|
| 111 |
+
919
|
| 112 |
+
],
|
| 113 |
+
"page_idx": 0
|
| 114 |
+
},
|
| 115 |
+
{
|
| 116 |
+
"type": "page_footnote",
|
| 117 |
+
"text": "1All resources are available at https://github.com/intuit/sac3.",
|
| 118 |
+
"bbox": [
|
| 119 |
+
114,
|
| 120 |
+
891,
|
| 121 |
+
489,
|
| 122 |
+
917
|
| 123 |
+
],
|
| 124 |
+
"page_idx": 0
|
| 125 |
+
},
|
| 126 |
+
{
|
| 127 |
+
"type": "page_number",
|
| 128 |
+
"text": "15445",
|
| 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 15445-15458 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": "image",
|
| 150 |
+
"img_path": "images/cde3c1ba6e9e918f2090a7d724e82f080588c4ee0694871f9be7c53ca9787078.jpg",
|
| 151 |
+
"image_caption": [
|
| 152 |
+
"Figure 1: Key observation: solely checking the self-consistency of LLMs is not sufficient for deciding factuality. Left: generated responses to the same question may be consistent but non-factual. Right: generated responses may be inconsistent with the original answer that is factually correct."
|
| 153 |
+
],
|
| 154 |
+
"image_footnote": [],
|
| 155 |
+
"bbox": [
|
| 156 |
+
117,
|
| 157 |
+
80,
|
| 158 |
+
877,
|
| 159 |
+
385
|
| 160 |
+
],
|
| 161 |
+
"page_idx": 1
|
| 162 |
+
},
|
| 163 |
+
{
|
| 164 |
+
"type": "text",
|
| 165 |
+
"text": "nation. Surprisingly, we even observe cases where smaller LMs are capable of correctly answering questions for which larger LMs hallucinate. Together, these findings accentuate the need to consider model-specific characteristics when assessing the occurrence of hallucinations.",
|
| 166 |
+
"bbox": [
|
| 167 |
+
112,
|
| 168 |
+
464,
|
| 169 |
+
487,
|
| 170 |
+
557
|
| 171 |
+
],
|
| 172 |
+
"page_idx": 1
|
| 173 |
+
},
|
| 174 |
+
{
|
| 175 |
+
"type": "text",
|
| 176 |
+
"text": "Proposed Approach. Motivated by these observations, we introduce SAC<sup>3</sup>, a new sampling-based approach utilizing semantic-aware cross-check consistency to improve the detection of hallucinations in black-box LMs. An overview of our approach is provided in Fig. 2. To address question-level hallucination, we introduce a mechanism that perturbs semantically equivalent questions to evaluate the consistency of LMs' responses across variants of the same question. By examining the generated answers to these perturbed questions, we are able to identify cases where the LM consistently provides incorrect responses to a specific question, which is indicative of a question-level hallucination. Furthermore, we address model-level hallucination by introducing cross-model response consistency checking, which involves comparing the responses of different LMs to the same set of questions. By identifying discrepancies between the responses of different models, we are able to pinpoint cases where certain models exhibit hallucinations while",
|
| 177 |
+
"bbox": [
|
| 178 |
+
112,
|
| 179 |
+
581,
|
| 180 |
+
489,
|
| 181 |
+
917
|
| 182 |
+
],
|
| 183 |
+
"page_idx": 1
|
| 184 |
+
},
|
| 185 |
+
{
|
| 186 |
+
"type": "text",
|
| 187 |
+
"text": "others provide correct answers. Integrating these cross-checking extensions into our approach significantly improves its ability to detect hallucinations that go beyond self-consistency, thereby providing a more comprehensive assessment of the presence of question-level and model-level hallucinations.",
|
| 188 |
+
"bbox": [
|
| 189 |
+
507,
|
| 190 |
+
464,
|
| 191 |
+
882,
|
| 192 |
+
558
|
| 193 |
+
],
|
| 194 |
+
"page_idx": 1
|
| 195 |
+
},
|
| 196 |
+
{
|
| 197 |
+
"type": "text",
|
| 198 |
+
"text": "Effectiveness of SAC<sup>3</sup>. We demonstrate the effectiveness of SAC<sup>3</sup> in multiple classification and open-domain generation QA datasets. In the classification QA tasks, our approach achieves a high AUROC score of $99.4\\%$ and $97.0\\%$ respectively, which significantly outperforms the self-consistency baseline. In the case of open-domain generation QA tasks, our approach achieves an AUROC score of $88.0\\%$ and $77.2\\%$ , which substantially improves upon the self-consistency baseline by a large margin $(+13.8\\%, \\text{and} +6.7\\%$ respectively).",
|
| 199 |
+
"bbox": [
|
| 200 |
+
507,
|
| 201 |
+
571,
|
| 202 |
+
884,
|
| 203 |
+
749
|
| 204 |
+
],
|
| 205 |
+
"page_idx": 1
|
| 206 |
+
},
|
| 207 |
+
{
|
| 208 |
+
"type": "text",
|
| 209 |
+
"text": "2 Related Work",
|
| 210 |
+
"text_level": 1,
|
| 211 |
+
"bbox": [
|
| 212 |
+
507,
|
| 213 |
+
763,
|
| 214 |
+
665,
|
| 215 |
+
778
|
| 216 |
+
],
|
| 217 |
+
"page_idx": 1
|
| 218 |
+
},
|
| 219 |
+
{
|
| 220 |
+
"type": "text",
|
| 221 |
+
"text": "Hallucination in LMs. The issue of hallucination in language models (LMs) has gained significant attention due to its negative impact on performance and the risks it introduces in various natural language processing (NLP) tasks, such as machine translation (Zhou et al., 2020), summarization (Cao et al., 2022), dialogue generation (Das et al., 2023), and question answering (Zhang et al., 2023a; Zheng",
|
| 222 |
+
"bbox": [
|
| 223 |
+
507,
|
| 224 |
+
790,
|
| 225 |
+
884,
|
| 226 |
+
919
|
| 227 |
+
],
|
| 228 |
+
"page_idx": 1
|
| 229 |
+
},
|
| 230 |
+
{
|
| 231 |
+
"type": "page_number",
|
| 232 |
+
"text": "15446",
|
| 233 |
+
"bbox": [
|
| 234 |
+
477,
|
| 235 |
+
927,
|
| 236 |
+
524,
|
| 237 |
+
940
|
| 238 |
+
],
|
| 239 |
+
"page_idx": 1
|
| 240 |
+
},
|
| 241 |
+
{
|
| 242 |
+
"type": "table",
|
| 243 |
+
"img_path": "images/c8effc0ea87c8227a54a94191fc60794e90503ec05260b451af0cf01e54a4c2c.jpg",
|
| 244 |
+
"table_caption": [],
|
| 245 |
+
"table_footnote": [],
|
| 246 |
+
"table_body": "<table><tr><td>Method</td><td>Input</td><td>Model</td><td>Output</td><td>Consistency</td><td>Factuality</td></tr><tr><td rowspan=\"3\">Self-consistency</td><td>Q: "Is 3691 a prime number?"</td><td>Target</td><td>"No, 3691 is not a prime number as it is divisible by 7 and 13."</td><td rowspan=\"3\">✓</td><td rowspan=\"3\">✗</td></tr><tr><td>Q: "Is 3691 a prime number?"</td><td>Target</td><td>"No, 3691 is not a prime number as it is divisible by 7 and 13."</td></tr><tr><td>Q: "Is 3691 a prime number?"</td><td>Target</td><td>"No, 3691 is not a prime number. It can be divided evenly by 7 and 19."</td></tr><tr><td rowspan=\"3\">Cross-Q consistency</td><td>Q1: "Is the number 3691 prime?"</td><td>Target</td><td>"Yes, the number 3691 is prime."</td><td rowspan=\"3\">✗</td><td rowspan=\"3\">✓</td></tr><tr><td>Q2: "Are the only factors of 3691 itself and one?"</td><td>Target</td><td>"Yes, the only factors of 3691 are itself and one."</td></tr><tr><td>Q3: "Can 3691 only be divided by 1 and 3691?"</td><td>Target</td><td>"Yes, 3691 is a prime number and can only be divided by 1 and 3691."</td></tr><tr><td>Cross-M consistency</td><td>Q: "Is 3691 a prime number?"</td><td>Verifier</td><td>"Yes, 3691 is a prime number."</td><td>✗</td><td>✓</td></tr><tr><td rowspan=\"3\">Cross-M & Q consistency</td><td>Q1: "Is the number 3691 prime?"</td><td>Verifier</td><td>"Yes."</td><td rowspan=\"3\">✗</td><td rowspan=\"3\">✓</td></tr><tr><td>Q2: "Are the only factors of 3691 itself and one?"</td><td>Verifier</td><td>"Yes, the only factors of 3691 are 1 and itself."</td></tr><tr><td>Q3: "Can 3691 only be divided by 1 and 3691?"</td><td>Verifier</td><td>"Yes, 3691 can only be divided by 1 and 3691."</td></tr></table>",
|
| 247 |
+
"bbox": [
|
| 248 |
+
117,
|
| 249 |
+
80,
|
| 250 |
+
884,
|
| 251 |
+
286
|
| 252 |
+
],
|
| 253 |
+
"page_idx": 2
|
| 254 |
+
},
|
| 255 |
+
{
|
| 256 |
+
"type": "text",
|
| 257 |
+
"text": "Table 1: An illustrative example of self-consistency, cross-question consistency, and cross-model consistency check. The original question and answer are \"Is 3691 a prime number?\" and \"No, 3691 is not a prime number. It is divisible by 7 and 13\", respectively. Each row presents a set of sampled QA pairs along with its consistency regarding the original answer, and the predicted factuality of the original answer.",
|
| 258 |
+
"bbox": [
|
| 259 |
+
112,
|
| 260 |
+
294,
|
| 261 |
+
884,
|
| 262 |
+
354
|
| 263 |
+
],
|
| 264 |
+
"page_idx": 2
|
| 265 |
+
},
|
| 266 |
+
{
|
| 267 |
+
"type": "text",
|
| 268 |
+
"text": "et al., 2023b; Dhuliawala et al., 2023). Recent survey (Ji et al., 2023; Zhang et al., 2023c; Ye et al., 2023) and evaluation benchmarks (Liu et al., 2021; Li et al., 2023a; Yang et al., 2023) have highlighted the importance of addressing this issue. Previous research has explored hallucination evaluation using confidence-based approaches (Xiao and Wang, 2021; Varshney et al., 2023; Chen and Mueller, 2023) that require access to token-level log probability (Kuhn et al., 2023; Cole et al., 2023) or supervised tuning (Agrawal et al., 2023; Li et al., 2023b) that relies on internal states of the LM. However, these methods may not be applicable when only API access to the LM is available (Agrawal et al., 2023). Another approach involves retrieving knowledge from external databases to tackle hallucinations (Ji et al., 2022; Zheng et al., 2023a; Peng et al., 2023; Zhang et al., 2023b). In contrast to these studies, our work focuses on detecting hallucinations in open-domain QA tasks using black-box LMs, without relying on external resources.",
|
| 269 |
+
"bbox": [
|
| 270 |
+
115,
|
| 271 |
+
378,
|
| 272 |
+
490,
|
| 273 |
+
715
|
| 274 |
+
],
|
| 275 |
+
"page_idx": 2
|
| 276 |
+
},
|
| 277 |
+
{
|
| 278 |
+
"type": "text",
|
| 279 |
+
"text": "Consistency Evaluation of LMs. An essential characteristic of logically valid intelligent systems is self-consistency, which entails that no two statements provided by the system contradict each other. Self-consistency is defined by Elazar et al. (2021) as the invariance of an LM's responses across various types of semantics-preserving prompt transformations. This definition is further enriched by multiple other consistency categories proposed by Jang et al. (2022). Wang et al. (2022) demonstrates that self-consistency can significantly enhance the chain of thought reasoning in LMs. Without self",
|
| 280 |
+
"bbox": [
|
| 281 |
+
112,
|
| 282 |
+
726,
|
| 283 |
+
489,
|
| 284 |
+
917
|
| 285 |
+
],
|
| 286 |
+
"page_idx": 2
|
| 287 |
+
},
|
| 288 |
+
{
|
| 289 |
+
"type": "text",
|
| 290 |
+
"text": "consistency, it becomes challenging to regard LMs as reliable or trustworthy systems. Recent studies employ self-consistency to detect hallucinations based on pretrained LMs (Manakul et al., 2023) and instruction-tuned LMs (Mündler et al., 2023). Although these methods exhibit promising accuracy on several specific tasks, potential failures (Chen et al., 2023) of self-consistency are overlooked in the current settings, as existing LMs frequently provide inconsistent responses to questions (Mitchell et al., 2022) and factual knowledge inquiries (Elazar et al., 2021; Tam et al., 2023; Gekhman et al., 2023). Our work addresses these concerns by introducing a cross-check consistency approach, aiming to bridge the gap between self-consistency and factual assessment.",
|
| 291 |
+
"bbox": [
|
| 292 |
+
507,
|
| 293 |
+
378,
|
| 294 |
+
884,
|
| 295 |
+
634
|
| 296 |
+
],
|
| 297 |
+
"page_idx": 2
|
| 298 |
+
},
|
| 299 |
+
{
|
| 300 |
+
"type": "text",
|
| 301 |
+
"text": "3 Self-consistency Limitations in Factuality Assessment",
|
| 302 |
+
"text_level": 1,
|
| 303 |
+
"bbox": [
|
| 304 |
+
507,
|
| 305 |
+
649,
|
| 306 |
+
808,
|
| 307 |
+
682
|
| 308 |
+
],
|
| 309 |
+
"page_idx": 2
|
| 310 |
+
},
|
| 311 |
+
{
|
| 312 |
+
"type": "text",
|
| 313 |
+
"text": "The essential assumption of self-consistency in factuality assessment is that if the LM has the knowledge of the concept, responses sampled from its output distribution, should be similar and consistent; conversely, if the LM lacks corresponding knowledge, the sampled responses would contain hallucinated facts that are diverged and contradictory. Although this assumption may seem reasonable, it does not always hold in practice (more details are provided in the Appendix A). Specifically, we argue that solely checking the LM's self-consistency is insufficient for detecting hallucination or verifying factuality under the following two circumstances:",
|
| 314 |
+
"bbox": [
|
| 315 |
+
507,
|
| 316 |
+
694,
|
| 317 |
+
884,
|
| 318 |
+
917
|
| 319 |
+
],
|
| 320 |
+
"page_idx": 2
|
| 321 |
+
},
|
| 322 |
+
{
|
| 323 |
+
"type": "page_number",
|
| 324 |
+
"text": "15447",
|
| 325 |
+
"bbox": [
|
| 326 |
+
477,
|
| 327 |
+
927,
|
| 328 |
+
524,
|
| 329 |
+
940
|
| 330 |
+
],
|
| 331 |
+
"page_idx": 2
|
| 332 |
+
},
|
| 333 |
+
{
|
| 334 |
+
"type": "text",
|
| 335 |
+
"text": "1. LMs may produce consistently hallucinated facts. We observe that for certain questions, LMs may output consistently wrong answers. For instance, as shown in Fig. 1, when prompted with the question \"Is pi smaller than 3.2?\", ChatGPT consistently generates incorrect answers. In this case, where the generated responses are consistent but non-factual, solely relying on self-consistency checking of a single model would yield false negative hallucination detection results.",
|
| 336 |
+
"bbox": [
|
| 337 |
+
112,
|
| 338 |
+
84,
|
| 339 |
+
489,
|
| 340 |
+
243
|
| 341 |
+
],
|
| 342 |
+
"page_idx": 3
|
| 343 |
+
},
|
| 344 |
+
{
|
| 345 |
+
"type": "text",
|
| 346 |
+
"text": "2. Even in cases when LMs generate factual statements in their original response, the stochastic sampled responses may lack veracity. For example, the original answer (Answer 1) of ChatGPT under zero temperature is correct regarding the senator search question as shown in Fig. 1. However, when sampled with a higher temperature, ChatGPT generates multiple incorrect responses (Answer 2 and Answer $m$ ). In this scenario, where the sampled responses are inconsistent and disagree with the original response which itself is factually correct, methods that rely solely on model self-checking would produce false positives.",
|
| 347 |
+
"bbox": [
|
| 348 |
+
110,
|
| 349 |
+
250,
|
| 350 |
+
489,
|
| 351 |
+
460
|
| 352 |
+
],
|
| 353 |
+
"page_idx": 3
|
| 354 |
+
},
|
| 355 |
+
{
|
| 356 |
+
"type": "text",
|
| 357 |
+
"text": "In summary, although the inconsistency of sampled responses has been empirically demonstrated to be correlated with hallucinated facts on certain tasks, in general, self-consistency is neither necessary nor sufficient to verify the veracity of large LMs' statements. Therefore, methods based solely on self-consistency checking may not be able to accurately detect hallucinations in complex QA and open-domain generation tasks, which motivates us to design a more reliable and robust factuality assessment method that extends this idea.",
|
| 358 |
+
"bbox": [
|
| 359 |
+
112,
|
| 360 |
+
461,
|
| 361 |
+
489,
|
| 362 |
+
636
|
| 363 |
+
],
|
| 364 |
+
"page_idx": 3
|
| 365 |
+
},
|
| 366 |
+
{
|
| 367 |
+
"type": "text",
|
| 368 |
+
"text": "4 SAC<sup>3</sup>: Semantic-Aware Cross-check Consistency",
|
| 369 |
+
"text_level": 1,
|
| 370 |
+
"bbox": [
|
| 371 |
+
112,
|
| 372 |
+
650,
|
| 373 |
+
457,
|
| 374 |
+
683
|
| 375 |
+
],
|
| 376 |
+
"page_idx": 3
|
| 377 |
+
},
|
| 378 |
+
{
|
| 379 |
+
"type": "text",
|
| 380 |
+
"text": "This section describes the proposed semantic-aware cross-check consistency approach, a high-level overview of which is provided in Fig. 1. Additionally, an illustrative example of each component is presented in Table 1. Here, we walk through each component in detail.",
|
| 381 |
+
"bbox": [
|
| 382 |
+
112,
|
| 383 |
+
693,
|
| 384 |
+
489,
|
| 385 |
+
789
|
| 386 |
+
],
|
| 387 |
+
"page_idx": 3
|
| 388 |
+
},
|
| 389 |
+
{
|
| 390 |
+
"type": "text",
|
| 391 |
+
"text": "4.1 Stage 1: Question-level Cross-checking via Semantically Equivalent Perturbations",
|
| 392 |
+
"text_level": 1,
|
| 393 |
+
"bbox": [
|
| 394 |
+
112,
|
| 395 |
+
801,
|
| 396 |
+
487,
|
| 397 |
+
832
|
| 398 |
+
],
|
| 399 |
+
"page_idx": 3
|
| 400 |
+
},
|
| 401 |
+
{
|
| 402 |
+
"type": "text",
|
| 403 |
+
"text": "Contrary to existing techniques that assess semantic equivalence through entailment or paraphrasing, our approach involves rephrasing the input query by generating alternative inputs that preserve semantic equivalence, i.e., semantically equivalent input per",
|
| 404 |
+
"bbox": [
|
| 405 |
+
112,
|
| 406 |
+
839,
|
| 407 |
+
489,
|
| 408 |
+
917
|
| 409 |
+
],
|
| 410 |
+
"page_idx": 3
|
| 411 |
+
},
|
| 412 |
+
{
|
| 413 |
+
"type": "text",
|
| 414 |
+
"text": "turbation. To achieve this, we leverage advances in LLM prompting. Starting with a queried input $\\pmb{x}_0$ , we acquire a set of $k$ semantically equivalent inputs $\\{x_1, x_2, \\dots, x_k\\}$ through the prompt: \"For the question [queried Question], provide $k$ semantically equivalent questions\".",
|
| 415 |
+
"bbox": [
|
| 416 |
+
507,
|
| 417 |
+
84,
|
| 418 |
+
882,
|
| 419 |
+
180
|
| 420 |
+
],
|
| 421 |
+
"page_idx": 3
|
| 422 |
+
},
|
| 423 |
+
{
|
| 424 |
+
"type": "text",
|
| 425 |
+
"text": "To ensure the quality of the generated inputs in this step, we further double-check the semantic equivalence between the generated inputs $\\{x_{1}, x_{2}, \\ldots, x_{k}\\}$ and the queried input $x_{0}$ in a pair-wise manner using the prompt \"Are the following two inputs semantically equivalent? [queried INPUT] [generated INPUT]\" and filtering out the inputs that do not share the same semantic meaning as the original input. The complete prompt templates used in this work are provided in the Appendix B.",
|
| 426 |
+
"bbox": [
|
| 427 |
+
507,
|
| 428 |
+
187,
|
| 429 |
+
884,
|
| 430 |
+
363
|
| 431 |
+
],
|
| 432 |
+
"page_idx": 3
|
| 433 |
+
},
|
| 434 |
+
{
|
| 435 |
+
"type": "text",
|
| 436 |
+
"text": "4.2 Stage 2: Model-level Cross-check with Additional Verifier LM",
|
| 437 |
+
"text_level": 1,
|
| 438 |
+
"bbox": [
|
| 439 |
+
507,
|
| 440 |
+
398,
|
| 441 |
+
855,
|
| 442 |
+
429
|
| 443 |
+
],
|
| 444 |
+
"page_idx": 3
|
| 445 |
+
},
|
| 446 |
+
{
|
| 447 |
+
"type": "text",
|
| 448 |
+
"text": "Let $s_0$ denote the original response from a target LM $\\mathcal{T}$ based on a given query $x_0$ . Our objective is to detect whether $s_0$ is hallucinated by sampling responses from the predictive distribution of $\\mathcal{T}$ . To avoid model-level hallucination, we introduce an additional verifier LM denoted as $\\mathcal{V}$ for model-level cross-checking. We define the responses from both models as:",
|
| 449 |
+
"bbox": [
|
| 450 |
+
507,
|
| 451 |
+
448,
|
| 452 |
+
882,
|
| 453 |
+
575
|
| 454 |
+
],
|
| 455 |
+
"page_idx": 3
|
| 456 |
+
},
|
| 457 |
+
{
|
| 458 |
+
"type": "equation",
|
| 459 |
+
"text": "\n$$\n\\boldsymbol {s} _ {\\mathcal {T} _ {j}} = \\mathcal {T} (\\boldsymbol {x} _ {j}), \\boldsymbol {s} _ {\\mathcal {V} _ {j}} = \\mathcal {V} (\\boldsymbol {x} _ {j}), j = 1, \\dots , k, \\tag {1}\n$$\n",
|
| 460 |
+
"text_format": "latex",
|
| 461 |
+
"bbox": [
|
| 462 |
+
527,
|
| 463 |
+
582,
|
| 464 |
+
882,
|
| 465 |
+
600
|
| 466 |
+
],
|
| 467 |
+
"page_idx": 3
|
| 468 |
+
},
|
| 469 |
+
{
|
| 470 |
+
"type": "text",
|
| 471 |
+
"text": "where $k$ is the length of the generated semantically equivalent inputs $\\{x_{1}, x_{2}, \\ldots, x_{k}\\}$ in stage 1. To assess the factuality of $x_{0}$ , the self-checking mechanism operates by drawing a set of $n_{s}$ stochastic response samples from the target LM: $\\mathcal{S}_{\\mathcal{T}_0} = \\{s_{\\mathcal{T}_0}^1, s_{\\mathcal{T}_0}^2, \\ldots, s_{\\mathcal{T}_0}^{n_s}\\}$ . Similarly, we can apply the same self-checking mechanism to the verifier LM to generate another set of $n_m$ responses: $\\mathcal{S}_{\\mathcal{V}_0} = \\{s_{\\mathcal{V}_0}^1, s_{\\mathcal{V}_0}^2, \\ldots, s_{\\mathcal{V}_0}^{n_m}\\}$ . To perform question-level cross-check, for each perturbed input $x_k$ , we generate $n_q$ sampled response sequences $\\mathcal{S}_{\\mathcal{T}_k} = \\{s_{\\mathcal{T}_k}^1, s_{\\mathcal{T}_k}^2, \\ldots, s_{\\mathcal{T}_k}^{n_q}\\}$ from the target LM $\\mathcal{T}$ and $n_{qm}$ sampled responses $\\mathcal{S}_{\\mathcal{V}_k} = \\{s_{\\mathcal{V}_k}^1, s_{\\mathcal{V}_k}^2, \\ldots, s_{\\mathcal{V}_k}^{n_{qm}}\\}$ from the verifier LM $\\mathcal{V}$ .",
|
| 472 |
+
"bbox": [
|
| 473 |
+
507,
|
| 474 |
+
604,
|
| 475 |
+
882,
|
| 476 |
+
831
|
| 477 |
+
],
|
| 478 |
+
"page_idx": 3
|
| 479 |
+
},
|
| 480 |
+
{
|
| 481 |
+
"type": "text",
|
| 482 |
+
"text": "Finally, we collect the total sampled sets $S = \\{S_{\\mathcal{T}_0}, S_{\\mathcal{V}_0}, S_{\\mathcal{T}_k}, S_{\\mathcal{V}_k}\\}$ by combining all samples drawn from self-checking and cross-checking, which will be used next for calculating a consistency score.",
|
| 483 |
+
"bbox": [
|
| 484 |
+
507,
|
| 485 |
+
839,
|
| 486 |
+
884,
|
| 487 |
+
917
|
| 488 |
+
],
|
| 489 |
+
"page_idx": 3
|
| 490 |
+
},
|
| 491 |
+
{
|
| 492 |
+
"type": "page_number",
|
| 493 |
+
"text": "15448",
|
| 494 |
+
"bbox": [
|
| 495 |
+
477,
|
| 496 |
+
927,
|
| 497 |
+
524,
|
| 498 |
+
940
|
| 499 |
+
],
|
| 500 |
+
"page_idx": 3
|
| 501 |
+
},
|
| 502 |
+
{
|
| 503 |
+
"type": "image",
|
| 504 |
+
"img_path": "images/f6d756e06591d2dccc325d3f6a940be0fc0e7ce85e367dda14dbb9edd9739fb7.jpg",
|
| 505 |
+
"image_caption": [
|
| 506 |
+
"Figure 2: Overview of the proposed semantic-aware cross-check consistency $(\\mathrm{SAC}^3)$ method."
|
| 507 |
+
],
|
| 508 |
+
"image_footnote": [],
|
| 509 |
+
"bbox": [
|
| 510 |
+
124,
|
| 511 |
+
85,
|
| 512 |
+
872,
|
| 513 |
+
181
|
| 514 |
+
],
|
| 515 |
+
"page_idx": 4
|
| 516 |
+
},
|
| 517 |
+
{
|
| 518 |
+
"type": "text",
|
| 519 |
+
"text": "4.3 Stage 3: Consistency Score Calculation",
|
| 520 |
+
"text_level": 1,
|
| 521 |
+
"bbox": [
|
| 522 |
+
112,
|
| 523 |
+
235,
|
| 524 |
+
465,
|
| 525 |
+
250
|
| 526 |
+
],
|
| 527 |
+
"page_idx": 4
|
| 528 |
+
},
|
| 529 |
+
{
|
| 530 |
+
"type": "text",
|
| 531 |
+
"text": "This stage uses the generated sample sets in all previous stages to calculate a numerical consistency score that captures the question-level and model-level cross-checking paradigm.",
|
| 532 |
+
"bbox": [
|
| 533 |
+
112,
|
| 534 |
+
260,
|
| 535 |
+
489,
|
| 536 |
+
325
|
| 537 |
+
],
|
| 538 |
+
"page_idx": 4
|
| 539 |
+
},
|
| 540 |
+
{
|
| 541 |
+
"type": "text",
|
| 542 |
+
"text": "4.3.1 Semantic-aware Consistency Check of QA Pairs",
|
| 543 |
+
"text_level": 1,
|
| 544 |
+
"bbox": [
|
| 545 |
+
112,
|
| 546 |
+
340,
|
| 547 |
+
475,
|
| 548 |
+
370
|
| 549 |
+
],
|
| 550 |
+
"page_idx": 4
|
| 551 |
+
},
|
| 552 |
+
{
|
| 553 |
+
"type": "text",
|
| 554 |
+
"text": "Most of the existing works mainly focus on examining the consistency of LM outputs while ignoring the effect of the inputs. However, in QA tasks, it is important to consider both inputs and outputs when measuring semantic equivalence, as the same question can be rephrased in many ways. Although the answers to these questions (e.g., \"no\" and \"yes\") may not be lexically equivalent, the QA pairs as a whole can be semantically equivalent. In light of this, we propose to check the semantic consistency of the QA pairs instead of the answer only.",
|
| 555 |
+
"bbox": [
|
| 556 |
+
112,
|
| 557 |
+
379,
|
| 558 |
+
489,
|
| 559 |
+
556
|
| 560 |
+
],
|
| 561 |
+
"page_idx": 4
|
| 562 |
+
},
|
| 563 |
+
{
|
| 564 |
+
"type": "text",
|
| 565 |
+
"text": "4.3.2 Self-checking Consistency (SC²) Score",
|
| 566 |
+
"text_level": 1,
|
| 567 |
+
"bbox": [
|
| 568 |
+
112,
|
| 569 |
+
571,
|
| 570 |
+
470,
|
| 571 |
+
588
|
| 572 |
+
],
|
| 573 |
+
"page_idx": 4
|
| 574 |
+
},
|
| 575 |
+
{
|
| 576 |
+
"type": "text",
|
| 577 |
+
"text": "Let $\\mathcal{C}(\\cdot, \\cdot)$ denote a semantic equivalence checking operator that takes two QA pairs as inputs. The operator $\\mathcal{C}$ returns \"Yes\" if the two QA pairs are semantically equivalent, and \"No\" otherwise. This operator should be reflexive, symmetric, and transitive. We implement the checking operator using an LM by leveraging the prompt: \"Are the following two Question-Answering (QA) pairs semantically equivalent? [QA PAIR 1] [QA PAIR 2]. We then map the best guess to a numerical semantic equivalent score: $\\{\\text{\"Yes\"} \\rightarrow 0.0, \\text{\"No\"} \\rightarrow 1.0\\}$ . We use $\\mathcal{P}_0 = (\\pmb{x}_0, \\pmb{s}_0)$ to denote the original QA pair. The self-checking score $\\mathcal{Z}_{\\mathrm{SC}^2}$ of the target LM $\\mathcal{T}$ can be calculated by",
|
| 578 |
+
"bbox": [
|
| 579 |
+
112,
|
| 580 |
+
595,
|
| 581 |
+
489,
|
| 582 |
+
820
|
| 583 |
+
],
|
| 584 |
+
"page_idx": 4
|
| 585 |
+
},
|
| 586 |
+
{
|
| 587 |
+
"type": "equation",
|
| 588 |
+
"text": "\n$$\n\\mathcal {Z} _ {\\mathrm {S C} ^ {2}} = \\frac {1}{n _ {s}} \\sum_ {i = 1} ^ {n _ {s}} \\mathcal {C} \\left(\\mathcal {P} _ {0}, \\mathcal {P} _ {\\mathcal {S} _ {\\tau_ {0}}} ^ {i}\\right), \\tag {2}\n$$\n",
|
| 589 |
+
"text_format": "latex",
|
| 590 |
+
"bbox": [
|
| 591 |
+
191,
|
| 592 |
+
825,
|
| 593 |
+
487,
|
| 594 |
+
865
|
| 595 |
+
],
|
| 596 |
+
"page_idx": 4
|
| 597 |
+
},
|
| 598 |
+
{
|
| 599 |
+
"type": "text",
|
| 600 |
+
"text": "where $\\mathcal{P}_{\\mathcal{S}_{\\mathcal{T}_0}} = \\{(x_0, s_{\\mathcal{T}_0}^1), \\dots, (x_0, s_{\\mathcal{T}_0}^{n_s})\\}$ represents the QA pairs generated in the self-checking scenario.",
|
| 601 |
+
"bbox": [
|
| 602 |
+
112,
|
| 603 |
+
870,
|
| 604 |
+
489,
|
| 605 |
+
917
|
| 606 |
+
],
|
| 607 |
+
"page_idx": 4
|
| 608 |
+
},
|
| 609 |
+
{
|
| 610 |
+
"type": "text",
|
| 611 |
+
"text": "4.3.3 Question-level Consistency (SAC $^3$ -Q) Score",
|
| 612 |
+
"text_level": 1,
|
| 613 |
+
"bbox": [
|
| 614 |
+
507,
|
| 615 |
+
235,
|
| 616 |
+
850,
|
| 617 |
+
266
|
| 618 |
+
],
|
| 619 |
+
"page_idx": 4
|
| 620 |
+
},
|
| 621 |
+
{
|
| 622 |
+
"type": "text",
|
| 623 |
+
"text": "Besides self-checking the original question $\\pmb{x}_0$ , SAC<sup>3</sup> further assesses cross-check consistency of perturbed questions $\\{x_1, x_2, \\dots, x_k\\}$ . The corresponding QA pairs compose a two-dimensional matrix, where each row corresponds to a perturbed question ( $k$ in total), and each column corresponds to a sampled response ( $n_q$ in total):",
|
| 624 |
+
"bbox": [
|
| 625 |
+
507,
|
| 626 |
+
281,
|
| 627 |
+
884,
|
| 628 |
+
394
|
| 629 |
+
],
|
| 630 |
+
"page_idx": 4
|
| 631 |
+
},
|
| 632 |
+
{
|
| 633 |
+
"type": "equation",
|
| 634 |
+
"text": "\n$$\n\\mathcal {P} _ {\\mathcal {S} _ {\\mathcal {T} _ {j}}} ^ {i} = \\left[ \\begin{array}{c c c} \\left(\\boldsymbol {x} _ {1}, \\mathcal {S} _ {\\mathcal {T} _ {1}} ^ {1}\\right) & \\dots & \\left(\\boldsymbol {x} _ {1}, \\mathcal {S} _ {\\mathcal {T} _ {1}} ^ {n _ {q}}\\right) \\\\ \\dots & \\dots & \\dots \\\\ \\left(\\boldsymbol {x} _ {k}, \\mathcal {S} _ {\\mathcal {T} _ {k}} ^ {1}\\right) & \\dots & \\left(\\boldsymbol {x} _ {k}, \\mathcal {S} _ {\\mathcal {T} _ {k}} ^ {n _ {q}}\\right) \\end{array} \\right]. \\tag {3}\n$$\n",
|
| 635 |
+
"text_format": "latex",
|
| 636 |
+
"bbox": [
|
| 637 |
+
549,
|
| 638 |
+
399,
|
| 639 |
+
882,
|
| 640 |
+
451
|
| 641 |
+
],
|
| 642 |
+
"page_idx": 4
|
| 643 |
+
},
|
| 644 |
+
{
|
| 645 |
+
"type": "text",
|
| 646 |
+
"text": "Therefore, the question-level cross-checking consistency score $\\mathcal{Z}_{\\mathrm{SAC}^3 -\\mathrm{Q}}$ can be obtained by",
|
| 647 |
+
"bbox": [
|
| 648 |
+
507,
|
| 649 |
+
455,
|
| 650 |
+
882,
|
| 651 |
+
488
|
| 652 |
+
],
|
| 653 |
+
"page_idx": 4
|
| 654 |
+
},
|
| 655 |
+
{
|
| 656 |
+
"type": "equation",
|
| 657 |
+
"text": "\n$$\n\\mathcal {Z} _ {\\mathrm {S A C} ^ {3} - \\mathrm {Q}} = \\frac {1}{n _ {q} \\cdot k} \\sum_ {i = 1} ^ {n _ {q}} \\sum_ {j = 1} ^ {k} \\mathcal {C} \\left(\\mathcal {P} _ {0}, \\mathcal {P} _ {\\mathcal {S} _ {\\mathcal {T} _ {j}}} ^ {i}\\right). \\tag {4}\n$$\n",
|
| 658 |
+
"text_format": "latex",
|
| 659 |
+
"bbox": [
|
| 660 |
+
551,
|
| 661 |
+
494,
|
| 662 |
+
882,
|
| 663 |
+
538
|
| 664 |
+
],
|
| 665 |
+
"page_idx": 4
|
| 666 |
+
},
|
| 667 |
+
{
|
| 668 |
+
"type": "text",
|
| 669 |
+
"text": "4.3.4 Model-level Consistency (SAC $^3$ -M & SAC $^3$ -QM) Score",
|
| 670 |
+
"text_level": 1,
|
| 671 |
+
"bbox": [
|
| 672 |
+
507,
|
| 673 |
+
565,
|
| 674 |
+
843,
|
| 675 |
+
596
|
| 676 |
+
],
|
| 677 |
+
"page_idx": 4
|
| 678 |
+
},
|
| 679 |
+
{
|
| 680 |
+
"type": "text",
|
| 681 |
+
"text": "In addition to the question-level score, a model-level cross-check score is calculated by performing cross-model checking and cross-question checking using the verifier LM $\\nu$ . Specifically, for the original question $x_0$ , the model-level cross-checking consistency score $\\mathcal{Z}_{\\mathrm{SAC}^3 -\\mathsf{M}}$ is computed by",
|
| 682 |
+
"bbox": [
|
| 683 |
+
507,
|
| 684 |
+
612,
|
| 685 |
+
882,
|
| 686 |
+
709
|
| 687 |
+
],
|
| 688 |
+
"page_idx": 4
|
| 689 |
+
},
|
| 690 |
+
{
|
| 691 |
+
"type": "equation",
|
| 692 |
+
"text": "\n$$\n\\mathcal {Z} _ {\\mathrm {S A C} ^ {3} - \\mathrm {M}} = \\frac {1}{n _ {m}} \\sum_ {i = 1} ^ {n _ {m}} \\mathcal {C} \\left(\\mathcal {P} _ {0}, \\mathcal {P} _ {\\mathcal {S} _ {\\mathcal {V} _ {0}}} ^ {i}\\right), \\tag {5}\n$$\n",
|
| 693 |
+
"text_format": "latex",
|
| 694 |
+
"bbox": [
|
| 695 |
+
574,
|
| 696 |
+
714,
|
| 697 |
+
882,
|
| 698 |
+
753
|
| 699 |
+
],
|
| 700 |
+
"page_idx": 4
|
| 701 |
+
},
|
| 702 |
+
{
|
| 703 |
+
"type": "text",
|
| 704 |
+
"text": "where $\\mathcal{P}_{\\mathcal{S}_{\\mathcal{V}_0}} = \\{(x_0,s_{\\mathcal{V}_0}^1),\\ldots ,(x_0,s_{\\mathcal{V}_0}^{n_m})\\}$ is the QA pairs generated by the verified LM $\\nu$",
|
| 705 |
+
"bbox": [
|
| 706 |
+
507,
|
| 707 |
+
758,
|
| 708 |
+
880,
|
| 709 |
+
791
|
| 710 |
+
],
|
| 711 |
+
"page_idx": 4
|
| 712 |
+
},
|
| 713 |
+
{
|
| 714 |
+
"type": "text",
|
| 715 |
+
"text": "The cross-question consistency score on the verifier LM is computed on the QA pairs produced by $\\nu$ :",
|
| 716 |
+
"bbox": [
|
| 717 |
+
507,
|
| 718 |
+
797,
|
| 719 |
+
882,
|
| 720 |
+
844
|
| 721 |
+
],
|
| 722 |
+
"page_idx": 4
|
| 723 |
+
},
|
| 724 |
+
{
|
| 725 |
+
"type": "equation",
|
| 726 |
+
"text": "\n$$\n\\mathcal {P} _ {\\mathcal {S} _ {\\mathcal {V} _ {j}}} ^ {i} = \\left[ \\begin{array}{c c c} \\left(\\boldsymbol {x} _ {1}, \\mathcal {S} _ {\\mathcal {V} _ {1}} ^ {1}\\right) & \\dots & \\left(\\boldsymbol {x} _ {1}, \\mathcal {S} _ {\\mathcal {V} _ {1}} ^ {n _ {q m}}\\right) \\\\ \\dots & \\dots & \\dots \\\\ \\left(\\boldsymbol {x} _ {k}, \\mathcal {S} _ {\\mathcal {V} _ {k}} ^ {1}\\right) & \\dots & \\left(\\boldsymbol {x} _ {k}, \\mathcal {S} _ {\\mathcal {V} _ {k}} ^ {n _ {q m}}\\right) \\end{array} \\right]. \\tag {6}\n$$\n",
|
| 727 |
+
"text_format": "latex",
|
| 728 |
+
"bbox": [
|
| 729 |
+
532,
|
| 730 |
+
846,
|
| 731 |
+
882,
|
| 732 |
+
900
|
| 733 |
+
],
|
| 734 |
+
"page_idx": 4
|
| 735 |
+
},
|
| 736 |
+
{
|
| 737 |
+
"type": "text",
|
| 738 |
+
"text": "The cross-model cross-question consistency score",
|
| 739 |
+
"bbox": [
|
| 740 |
+
507,
|
| 741 |
+
903,
|
| 742 |
+
880,
|
| 743 |
+
917
|
| 744 |
+
],
|
| 745 |
+
"page_idx": 4
|
| 746 |
+
},
|
| 747 |
+
{
|
| 748 |
+
"type": "page_number",
|
| 749 |
+
"text": "15449",
|
| 750 |
+
"bbox": [
|
| 751 |
+
477,
|
| 752 |
+
927,
|
| 753 |
+
524,
|
| 754 |
+
940
|
| 755 |
+
],
|
| 756 |
+
"page_idx": 4
|
| 757 |
+
},
|
| 758 |
+
{
|
| 759 |
+
"type": "text",
|
| 760 |
+
"text": "can thus be obtained through",
|
| 761 |
+
"bbox": [
|
| 762 |
+
112,
|
| 763 |
+
84,
|
| 764 |
+
331,
|
| 765 |
+
99
|
| 766 |
+
],
|
| 767 |
+
"page_idx": 5
|
| 768 |
+
},
|
| 769 |
+
{
|
| 770 |
+
"type": "equation",
|
| 771 |
+
"text": "\n$$\n\\mathcal {Z} _ {\\mathrm {S A C} ^ {3} - \\mathrm {Q M}} = \\frac {1}{n _ {q m} \\cdot k} \\sum_ {i = 1} ^ {n _ {q m}} \\sum_ {j = 1} ^ {k} \\mathcal {C} \\left(\\mathcal {P} _ {0}, \\mathcal {P} _ {\\mathcal {S} _ {\\mathcal {V} _ {j}}} ^ {i}\\right). \\tag {7}\n$$\n",
|
| 772 |
+
"text_format": "latex",
|
| 773 |
+
"bbox": [
|
| 774 |
+
136,
|
| 775 |
+
105,
|
| 776 |
+
487,
|
| 777 |
+
149
|
| 778 |
+
],
|
| 779 |
+
"page_idx": 5
|
| 780 |
+
},
|
| 781 |
+
{
|
| 782 |
+
"type": "text",
|
| 783 |
+
"text": "4.3.5 Final Score and Model Confidence",
|
| 784 |
+
"text_level": 1,
|
| 785 |
+
"bbox": [
|
| 786 |
+
112,
|
| 787 |
+
159,
|
| 788 |
+
443,
|
| 789 |
+
174
|
| 790 |
+
],
|
| 791 |
+
"page_idx": 5
|
| 792 |
+
},
|
| 793 |
+
{
|
| 794 |
+
"type": "text",
|
| 795 |
+
"text": "The different variants of SAC<sup>3</sup> capture different aspects of the uncertainty about the original response and should complement each other. We thus consider a combination of all variants including SAC<sup>3</sup>-Q, SAC<sup>3</sup>-M, SAC<sup>3</sup>-QM as the final score:",
|
| 796 |
+
"bbox": [
|
| 797 |
+
112,
|
| 798 |
+
181,
|
| 799 |
+
487,
|
| 800 |
+
261
|
| 801 |
+
],
|
| 802 |
+
"page_idx": 5
|
| 803 |
+
},
|
| 804 |
+
{
|
| 805 |
+
"type": "equation",
|
| 806 |
+
"text": "\n$$\n\\mathcal {Z} _ {\\mathrm {S A C} ^ {3} - \\mathrm {a l l}} = \\mathcal {Z} _ {\\mathrm {S A C} ^ {3} - \\mathrm {Q}} + \\lambda \\left(\\mathcal {Z} _ {\\mathrm {S A C} ^ {3} - \\mathrm {M}} + \\mathcal {Z} _ {\\mathrm {S A C} ^ {3} - \\mathrm {Q M}}\\right), \\tag {8}\n$$\n",
|
| 807 |
+
"text_format": "latex",
|
| 808 |
+
"bbox": [
|
| 809 |
+
124,
|
| 810 |
+
267,
|
| 811 |
+
487,
|
| 812 |
+
286
|
| 813 |
+
],
|
| 814 |
+
"page_idx": 5
|
| 815 |
+
},
|
| 816 |
+
{
|
| 817 |
+
"type": "text",
|
| 818 |
+
"text": "where $\\lambda$ is a weight factor for the verifier LM. Unless mentioned otherwise, we use $\\lambda = 1$ by default in our experiments. In practice, as the computation of each component is independent, they can be computed in parallel to reduce latency. The detection prediction is made by comparing the final score with a preset threshold. In addition to the computed score, we also ask the target LM to generate a verbalized confidence score (Tian et al., 2023) along with its prediction when checking the semantic equivalence of QA pairs. More discussions are offered in the Appendix C.2.",
|
| 819 |
+
"bbox": [
|
| 820 |
+
112,
|
| 821 |
+
288,
|
| 822 |
+
489,
|
| 823 |
+
482
|
| 824 |
+
],
|
| 825 |
+
"page_idx": 5
|
| 826 |
+
},
|
| 827 |
+
{
|
| 828 |
+
"type": "text",
|
| 829 |
+
"text": "5 Data and Annotation",
|
| 830 |
+
"text_level": 1,
|
| 831 |
+
"bbox": [
|
| 832 |
+
112,
|
| 833 |
+
499,
|
| 834 |
+
331,
|
| 835 |
+
514
|
| 836 |
+
],
|
| 837 |
+
"page_idx": 5
|
| 838 |
+
},
|
| 839 |
+
{
|
| 840 |
+
"type": "text",
|
| 841 |
+
"text": "We evaluate our hallucination detection approach on two categories of QA tasks, namely, classification QA and generation QA, with each category containing two datasets. Following prior work (Zhang et al., 2023a), we use the following two binary classification datasets for evaluation on the classification QA task:",
|
| 842 |
+
"bbox": [
|
| 843 |
+
112,
|
| 844 |
+
527,
|
| 845 |
+
487,
|
| 846 |
+
639
|
| 847 |
+
],
|
| 848 |
+
"page_idx": 5
|
| 849 |
+
},
|
| 850 |
+
{
|
| 851 |
+
"type": "list",
|
| 852 |
+
"sub_type": "text",
|
| 853 |
+
"list_items": [
|
| 854 |
+
"- Prime number: this dataset contains 500 questions that query the primality of a randomly chosen prime number between 1,000 and 20,000, where the factual answer is always \"Yes\". The synthesized hallucinated answers are \"No, it is not a prime number\".",
|
| 855 |
+
"- Senator search: the dataset consists of 500 questions that follow the following template: \"Was there ever a US senator that represented the state of [US STATE NAME] and whose alma mater was [US COLLEGE NAME]?\" The factual answer is always \"No\". We also generate hallucinated answers: \"Yes, there was a US senator that represented the state of [US STATE NAME] and whose alma mater was [US COLLEGE NAME].\"."
|
| 856 |
+
],
|
| 857 |
+
"bbox": [
|
| 858 |
+
115,
|
| 859 |
+
652,
|
| 860 |
+
489,
|
| 861 |
+
917
|
| 862 |
+
],
|
| 863 |
+
"page_idx": 5
|
| 864 |
+
},
|
| 865 |
+
{
|
| 866 |
+
"type": "text",
|
| 867 |
+
"text": "As for the generation QA tasks, we take questions from the following two open-domain QA datasets and generate answers using LLMs. Then we manually annotate the factuality of the answers following previous work (Li et al., 2023a).",
|
| 868 |
+
"bbox": [
|
| 869 |
+
507,
|
| 870 |
+
84,
|
| 871 |
+
882,
|
| 872 |
+
164
|
| 873 |
+
],
|
| 874 |
+
"page_idx": 5
|
| 875 |
+
},
|
| 876 |
+
{
|
| 877 |
+
"type": "list",
|
| 878 |
+
"sub_type": "text",
|
| 879 |
+
"list_items": [
|
| 880 |
+
"- HotpotQA-halu: We randomly sample 250 examples from the training set of HotpotQA (Yang et al., 2018) and generate hallucinated answers drawn from gpt-3.5-turbo. Then we manually annotate the answers by comparing the ground truth and knowledge.",
|
| 881 |
+
"- NQ-open-halu: Natural Questions (NQ)-open (Lee et al., 2019) is a more challenging open domain QA benchmark (Kwiatkowski et al., 2019). We use the same setting as HotpotQA-halu to create a small-scale dataset that consists of 250 non-factual and factual examples with manual annotations."
|
| 882 |
+
],
|
| 883 |
+
"bbox": [
|
| 884 |
+
510,
|
| 885 |
+
175,
|
| 886 |
+
882,
|
| 887 |
+
393
|
| 888 |
+
],
|
| 889 |
+
"page_idx": 5
|
| 890 |
+
},
|
| 891 |
+
{
|
| 892 |
+
"type": "text",
|
| 893 |
+
"text": "Please find more relevant details about data annotations in the Appendix C.3.",
|
| 894 |
+
"bbox": [
|
| 895 |
+
507,
|
| 896 |
+
406,
|
| 897 |
+
882,
|
| 898 |
+
437
|
| 899 |
+
],
|
| 900 |
+
"page_idx": 5
|
| 901 |
+
},
|
| 902 |
+
{
|
| 903 |
+
"type": "text",
|
| 904 |
+
"text": "6 Experiments",
|
| 905 |
+
"text_level": 1,
|
| 906 |
+
"bbox": [
|
| 907 |
+
507,
|
| 908 |
+
453,
|
| 909 |
+
653,
|
| 910 |
+
469
|
| 911 |
+
],
|
| 912 |
+
"page_idx": 5
|
| 913 |
+
},
|
| 914 |
+
{
|
| 915 |
+
"type": "text",
|
| 916 |
+
"text": "6.1 Experimental Setup",
|
| 917 |
+
"text_level": 1,
|
| 918 |
+
"bbox": [
|
| 919 |
+
507,
|
| 920 |
+
481,
|
| 921 |
+
712,
|
| 922 |
+
495
|
| 923 |
+
],
|
| 924 |
+
"page_idx": 5
|
| 925 |
+
},
|
| 926 |
+
{
|
| 927 |
+
"type": "text",
|
| 928 |
+
"text": "Evaluation Models. We use gpt-3.5-turbo from OpenAI as the target LM for our experiment. The verifier LM is chosen from the following two models: (1) Falcon-7b-instruct (Al-mazrouei et al., 2023): an open-source causal decoder-only model built by TII that is trained on 1,500B tokens of RefinedWeb (Penedo et al., 2023) and further enhanced using the curated corpora; and (2) Guanaco-33b: an open-source instruction-following models through QLoRA (Dettmers et al., 2023) tuning of LLaMA (Touvron et al., 2023) base model on the OASST1 dataset.",
|
| 929 |
+
"bbox": [
|
| 930 |
+
507,
|
| 931 |
+
504,
|
| 932 |
+
882,
|
| 933 |
+
697
|
| 934 |
+
],
|
| 935 |
+
"page_idx": 5
|
| 936 |
+
},
|
| 937 |
+
{
|
| 938 |
+
"type": "text",
|
| 939 |
+
"text": "Implementation Details. The evaluation is conducted using Azure OpenAI API. When performing semantic perturbations and consistency checking, we set the temperature to 0.0 to get deterministic high-quality outputs. Given a specific input query, we generate $k = 10$ semantically equivalent inputs using the prompt described in Section 4.1. For the self-checking-based method $\\mathsf{SC}^2$ , we follow prior work (Manakul et al., 2023) to set the temperature to 1.0 and generate $n_s = 10$ stochastic samples. For $\\mathrm{SAC}^3 -\\mathrm{Q}$ and $\\mathrm{SAC}^3 -\\mathrm{QM}$ , we set $n_q = n_{qm} = 1$ to reduce computational cost. To further reduce the inference cost, we set $n_m = 1$ by default and",
|
| 940 |
+
"bbox": [
|
| 941 |
+
507,
|
| 942 |
+
709,
|
| 943 |
+
882,
|
| 944 |
+
917
|
| 945 |
+
],
|
| 946 |
+
"page_idx": 5
|
| 947 |
+
},
|
| 948 |
+
{
|
| 949 |
+
"type": "page_number",
|
| 950 |
+
"text": "15450",
|
| 951 |
+
"bbox": [
|
| 952 |
+
477,
|
| 953 |
+
927,
|
| 954 |
+
524,
|
| 955 |
+
940
|
| 956 |
+
],
|
| 957 |
+
"page_idx": 5
|
| 958 |
+
},
|
| 959 |
+
{
|
| 960 |
+
"type": "text",
|
| 961 |
+
"text": "combine SAC $^{3}$ -M with SAC $^{3}$ -QM to report the model-level results. We use hallucination detection accuracy and area under the ROC curve (AUROC) to evaluate the performance. In addition to the estimated hallucination score, we also show the verbalized probabilities (Tian et al., 2023) from the target LM for comparison. We execute all experiments on 8 NVIDIA V100 32G GPUs.",
|
| 962 |
+
"bbox": [
|
| 963 |
+
112,
|
| 964 |
+
83,
|
| 965 |
+
489,
|
| 966 |
+
212
|
| 967 |
+
],
|
| 968 |
+
"page_idx": 6
|
| 969 |
+
},
|
| 970 |
+
{
|
| 971 |
+
"type": "table",
|
| 972 |
+
"img_path": "images/6ed84477cda719e05a673d3d5dec9e5879f251737169523c62dcdd42988b99c4.jpg",
|
| 973 |
+
"table_caption": [],
|
| 974 |
+
"table_footnote": [],
|
| 975 |
+
"table_body": "<table><tr><td rowspan=\"2\">Method</td><td colspan=\"2\">Prime number</td><td colspan=\"2\">Senator search</td></tr><tr><td>Score</td><td>Confidence</td><td>Score</td><td>Confidence</td></tr><tr><td>SC2(gpt-3.5-turbo)</td><td>65.9</td><td>67.5</td><td>56.1</td><td>53.1</td></tr><tr><td>SAC3-Q(gpt-3.5-turbo)</td><td>99.4</td><td>99.7</td><td>99.7</td><td>99.7</td></tr></table>",
|
| 976 |
+
"bbox": [
|
| 977 |
+
117,
|
| 978 |
+
225,
|
| 979 |
+
487,
|
| 980 |
+
288
|
| 981 |
+
],
|
| 982 |
+
"page_idx": 6
|
| 983 |
+
},
|
| 984 |
+
{
|
| 985 |
+
"type": "text",
|
| 986 |
+
"text": "6.2 Evaluation Results",
|
| 987 |
+
"text_level": 1,
|
| 988 |
+
"bbox": [
|
| 989 |
+
112,
|
| 990 |
+
356,
|
| 991 |
+
309,
|
| 992 |
+
370
|
| 993 |
+
],
|
| 994 |
+
"page_idx": 6
|
| 995 |
+
},
|
| 996 |
+
{
|
| 997 |
+
"type": "text",
|
| 998 |
+
"text": "6.2.1 Classification QA",
|
| 999 |
+
"text_level": 1,
|
| 1000 |
+
"bbox": [
|
| 1001 |
+
112,
|
| 1002 |
+
380,
|
| 1003 |
+
312,
|
| 1004 |
+
395
|
| 1005 |
+
],
|
| 1006 |
+
"page_idx": 6
|
| 1007 |
+
},
|
| 1008 |
+
{
|
| 1009 |
+
"type": "text",
|
| 1010 |
+
"text": "Balanced Dataset. We first experiment on balanced datasets with $50\\%$ hallucinated samples and $50\\%$ factual samples. Table 2 compares the detection performance of $\\mathsf{SC^2}$ and $\\mathrm{SAC}^3 -\\mathrm{Q}$ in terms of AUROC and verbalized confidence score. We observe that self-checking $(\\mathrm{SC^2})$ performs poorly on both datasets, with a low AUROC of $65.9\\%$ and $56.1\\%$ , respectively. Our question-level cross-checking $(\\mathrm{SAC}^3 -\\mathrm{Q})$ significantly outperforms the $\\mathrm{SC^2}$ baseline achieving $>99\\%$ AUROC on both datasets and is in line with the verbalized confidence score, confirming the effectiveness of cross-checking.",
|
| 1011 |
+
"bbox": [
|
| 1012 |
+
112,
|
| 1013 |
+
404,
|
| 1014 |
+
489,
|
| 1015 |
+
612
|
| 1016 |
+
],
|
| 1017 |
+
"page_idx": 6
|
| 1018 |
+
},
|
| 1019 |
+
{
|
| 1020 |
+
"type": "text",
|
| 1021 |
+
"text": "Unbalanced Dataset. We further evaluate our method in a more challenging scenario where the dataset only contains hallucinated samples. Table 3 presents the accuracy of detecting hallucinated samples using a preset threshold of 0.5. In this case, the performance of self-check drops significantly to $48.2\\%$ and $29.6\\%$ respectively. $\\mathrm{SAC}^3 -\\mathrm{Q}$ still outperforms $\\mathrm{SC}^2$ by a large margin. The model-level cross-check with verifier LMs performs well in the prime number dataset but fails to accurately detect hallucination in the senator search dataset. This is because both verifier LMs refuse to answer a large portion of the questions on this dataset due to a lack of sufficient information. By combining the target LM, $\\mathrm{SAC}^3$ -a11 with Guanaco-33b achieves the highest detection accuracy compared to other baselines $\\mathrm{SC}^2 (+51.2\\%)$ , $\\mathrm{SAC}^3 -\\mathrm{Q} (+6.2\\%)$ , and $\\mathrm{SAC}^3 -\\mathrm{QM} (+5.0\\%)$ .",
|
| 1022 |
+
"bbox": [
|
| 1023 |
+
112,
|
| 1024 |
+
629,
|
| 1025 |
+
489,
|
| 1026 |
+
917
|
| 1027 |
+
],
|
| 1028 |
+
"page_idx": 6
|
| 1029 |
+
},
|
| 1030 |
+
{
|
| 1031 |
+
"type": "table",
|
| 1032 |
+
"img_path": "images/067aa9bed5614005ec3ac13930727da8ce390d978ac354577ab92842607f7beb.jpg",
|
| 1033 |
+
"table_caption": [
|
| 1034 |
+
"Table 2: AUROC on classification QA tasks with $50\\%$ hallucinated samples and $50\\%$ factual samples."
|
| 1035 |
+
],
|
| 1036 |
+
"table_footnote": [],
|
| 1037 |
+
"table_body": "<table><tr><td rowspan=\"2\">Method</td><td colspan=\"2\">Prime number</td><td colspan=\"2\">Senator search</td></tr><tr><td>Score</td><td>Confidence</td><td>Score</td><td>Confidence</td></tr><tr><td>SC2(gpt-3.5-turbo)</td><td>48.2</td><td>51.0</td><td>29.6</td><td>30.6</td></tr><tr><td>SAC3-Q(gpt-3.5-turbo)</td><td>93.2</td><td>96.4</td><td>97.0</td><td>97.4</td></tr><tr><td>SAC3-QM (Falcon-7b)</td><td>89.8</td><td>91.2</td><td>21.0</td><td>21.8</td></tr><tr><td>SAC3-QM (Guanaco-33b)</td><td>94.4</td><td>96.3</td><td>45.6</td><td>46.2</td></tr><tr><td>SAC3-all (Falcon-7b)</td><td>97.8</td><td>98.0</td><td>84.6</td><td>85.6</td></tr><tr><td>SAC3-all (Guanaco-33b)</td><td>99.4</td><td>99.4</td><td>85.6</td><td>86.7</td></tr></table>",
|
| 1038 |
+
"bbox": [
|
| 1039 |
+
512,
|
| 1040 |
+
80,
|
| 1041 |
+
884,
|
| 1042 |
+
198
|
| 1043 |
+
],
|
| 1044 |
+
"page_idx": 6
|
| 1045 |
+
},
|
| 1046 |
+
{
|
| 1047 |
+
"type": "text",
|
| 1048 |
+
"text": "Table 3: Accuracy on classification QA tasks with $100\\%$ hallucinated samples (with the threshold set to 0.5).",
|
| 1049 |
+
"bbox": [
|
| 1050 |
+
507,
|
| 1051 |
+
206,
|
| 1052 |
+
882,
|
| 1053 |
+
235
|
| 1054 |
+
],
|
| 1055 |
+
"page_idx": 6
|
| 1056 |
+
},
|
| 1057 |
+
{
|
| 1058 |
+
"type": "text",
|
| 1059 |
+
"text": "Impact of Threshold. Since the choice of threshold has a significant impact on the detection accuracy in the case where the dataset only contains positive (hallucinated) samples, we further experiment with different thresholds and present the results in Fig. 3. We observe that $\\mathrm{SAC}^3$ -Q and $\\mathrm{SAC}^3$ -a11 with Guanaco-33b are more robust against large threshold values and outperform $\\mathrm{SC}^2$ in most cases.",
|
| 1060 |
+
"bbox": [
|
| 1061 |
+
507,
|
| 1062 |
+
261,
|
| 1063 |
+
884,
|
| 1064 |
+
388
|
| 1065 |
+
],
|
| 1066 |
+
"page_idx": 6
|
| 1067 |
+
},
|
| 1068 |
+
{
|
| 1069 |
+
"type": "image",
|
| 1070 |
+
"img_path": "images/cb4fcdc3651af384934237e97e162eff29423d4337e3513da6b0c376c5f628b2.jpg",
|
| 1071 |
+
"image_caption": [],
|
| 1072 |
+
"image_footnote": [],
|
| 1073 |
+
"bbox": [
|
| 1074 |
+
515,
|
| 1075 |
+
401,
|
| 1076 |
+
704,
|
| 1077 |
+
537
|
| 1078 |
+
],
|
| 1079 |
+
"page_idx": 6
|
| 1080 |
+
},
|
| 1081 |
+
{
|
| 1082 |
+
"type": "image",
|
| 1083 |
+
"img_path": "images/820cd6e634bb353c1cd856328097e6327074baccb6ceda00df50174331febc01.jpg",
|
| 1084 |
+
"image_caption": [
|
| 1085 |
+
"Figure 3: Impact of threshold on detection accuracy."
|
| 1086 |
+
],
|
| 1087 |
+
"image_footnote": [],
|
| 1088 |
+
"bbox": [
|
| 1089 |
+
519,
|
| 1090 |
+
541,
|
| 1091 |
+
875,
|
| 1092 |
+
564
|
| 1093 |
+
],
|
| 1094 |
+
"page_idx": 6
|
| 1095 |
+
},
|
| 1096 |
+
{
|
| 1097 |
+
"type": "image",
|
| 1098 |
+
"img_path": "images/8065ea4ffe0083104ee89f4f65ac9292fb538e4c4e5913d2ab0bab281503a2fd.jpg",
|
| 1099 |
+
"image_caption": [],
|
| 1100 |
+
"image_footnote": [],
|
| 1101 |
+
"bbox": [
|
| 1102 |
+
705,
|
| 1103 |
+
401,
|
| 1104 |
+
878,
|
| 1105 |
+
537
|
| 1106 |
+
],
|
| 1107 |
+
"page_idx": 6
|
| 1108 |
+
},
|
| 1109 |
+
{
|
| 1110 |
+
"type": "text",
|
| 1111 |
+
"text": "Why Does Self-checking Fail? To further understand why self-checking methods fail to detect some hallucinated responses, we visualize the distribution of consistency scores using histogram plots in Fig. 4. We observe that for $\\mathsf{SC}^2$ , a significant portion of hallucinated samples received highly consistent predictions. In other words, the target LM made consistently wrong predictions due to a lack of question and model diversity, which aligns with our analysis in Section 3. On the other hand, benefiting from the semantically equivalent question perturbation, $\\mathrm{SAC}^3 -Q$ ’s scores are more spread out in the inconsistent region, which helps to improve the effectiveness of detecting hallucinations by choosing a proper threshold.",
|
| 1112 |
+
"bbox": [
|
| 1113 |
+
505,
|
| 1114 |
+
615,
|
| 1115 |
+
884,
|
| 1116 |
+
858
|
| 1117 |
+
],
|
| 1118 |
+
"page_idx": 6
|
| 1119 |
+
},
|
| 1120 |
+
{
|
| 1121 |
+
"type": "text",
|
| 1122 |
+
"text": "6.2.2 Open-domain Generation QA",
|
| 1123 |
+
"text_level": 1,
|
| 1124 |
+
"bbox": [
|
| 1125 |
+
507,
|
| 1126 |
+
868,
|
| 1127 |
+
803,
|
| 1128 |
+
883
|
| 1129 |
+
],
|
| 1130 |
+
"page_idx": 6
|
| 1131 |
+
},
|
| 1132 |
+
{
|
| 1133 |
+
"type": "text",
|
| 1134 |
+
"text": "Compared to the classification QA tasks, detecting hallucinations in open-domain generation QA",
|
| 1135 |
+
"bbox": [
|
| 1136 |
+
507,
|
| 1137 |
+
887,
|
| 1138 |
+
882,
|
| 1139 |
+
917
|
| 1140 |
+
],
|
| 1141 |
+
"page_idx": 6
|
| 1142 |
+
},
|
| 1143 |
+
{
|
| 1144 |
+
"type": "page_number",
|
| 1145 |
+
"text": "15451",
|
| 1146 |
+
"bbox": [
|
| 1147 |
+
477,
|
| 1148 |
+
927,
|
| 1149 |
+
522,
|
| 1150 |
+
940
|
| 1151 |
+
],
|
| 1152 |
+
"page_idx": 6
|
| 1153 |
+
},
|
| 1154 |
+
{
|
| 1155 |
+
"type": "image",
|
| 1156 |
+
"img_path": "images/7471c5546dd0753b1290c087ea06bc1198a17e4d4ba20a56b83114986c4d020f.jpg",
|
| 1157 |
+
"image_caption": [
|
| 1158 |
+
"Figure 4: Histogram of hallucination score."
|
| 1159 |
+
],
|
| 1160 |
+
"image_footnote": [],
|
| 1161 |
+
"bbox": [
|
| 1162 |
+
119,
|
| 1163 |
+
82,
|
| 1164 |
+
484,
|
| 1165 |
+
218
|
| 1166 |
+
],
|
| 1167 |
+
"page_idx": 7
|
| 1168 |
+
},
|
| 1169 |
+
{
|
| 1170 |
+
"type": "text",
|
| 1171 |
+
"text": "tasks is more challenging. As shown in Table 4, $\\mathrm{SAC}^3 -\\mathrm{Q}$ exhibits better AUROC than $\\mathrm{SC}^2$ $(+7\\%)$ in both datasets. Compared to $\\mathrm{SAC}^3 -\\mathrm{Q}$ , $\\mathrm{SAC}^3 -\\mathrm{QM}$ shows $6.7\\%$ improvement in the HotpotQA-halu dataset but is slightly worse in the NQ open dataset. $\\mathrm{SAC}^3$ -all leverages the advantages of question-level and model-level cross-checking and achieves consistently good performance in both datasets.",
|
| 1172 |
+
"bbox": [
|
| 1173 |
+
112,
|
| 1174 |
+
269,
|
| 1175 |
+
489,
|
| 1176 |
+
399
|
| 1177 |
+
],
|
| 1178 |
+
"page_idx": 7
|
| 1179 |
+
},
|
| 1180 |
+
{
|
| 1181 |
+
"type": "table",
|
| 1182 |
+
"img_path": "images/89afbc02bf8df0b55518f2341eb97c2ae2b3ab82af5fea5c14f701331b18c95a.jpg",
|
| 1183 |
+
"table_caption": [],
|
| 1184 |
+
"table_footnote": [],
|
| 1185 |
+
"table_body": "<table><tr><td rowspan=\"2\" colspan=\"2\">Method</td><td colspan=\"2\">HotpotQA-halu</td><td colspan=\"2\">NQ-open-halu</td></tr><tr><td>Score</td><td>Confidence</td><td>Score</td><td>Confidence</td></tr><tr><td colspan=\"2\">SC2(gpt-3.5-turbo)</td><td>74.2</td><td>77.0</td><td>70.5</td><td>72.7</td></tr><tr><td colspan=\"2\">SAC3-Q(gpt-3.5-turbo)</td><td>81.3</td><td>81.4</td><td>77.2</td><td>78.5</td></tr><tr><td colspan=\"2\">SAC3-QM (Falcon-7b)</td><td>83.0</td><td>79.5</td><td>67.5</td><td>62.0</td></tr><tr><td colspan=\"2\">SAC3-QM (Guanaco-33b)</td><td>88.0</td><td>85.2</td><td>72.7</td><td>72.7</td></tr><tr><td colspan=\"2\">SAC3-all (Falcon-7b)</td><td>84.5</td><td>84.5</td><td>77.1</td><td>77.2</td></tr><tr><td colspan=\"2\">SAC3-all (Guanaco-33b)</td><td>87.0</td><td>86.8</td><td>77.2</td><td>77.8</td></tr></table>",
|
| 1186 |
+
"bbox": [
|
| 1187 |
+
117,
|
| 1188 |
+
412,
|
| 1189 |
+
487,
|
| 1190 |
+
527
|
| 1191 |
+
],
|
| 1192 |
+
"page_idx": 7
|
| 1193 |
+
},
|
| 1194 |
+
{
|
| 1195 |
+
"type": "text",
|
| 1196 |
+
"text": "Table 4: AUROC on open-domain generation QA tasks.",
|
| 1197 |
+
"bbox": [
|
| 1198 |
+
112,
|
| 1199 |
+
537,
|
| 1200 |
+
485,
|
| 1201 |
+
551
|
| 1202 |
+
],
|
| 1203 |
+
"page_idx": 7
|
| 1204 |
+
},
|
| 1205 |
+
{
|
| 1206 |
+
"type": "text",
|
| 1207 |
+
"text": "Effect of Verifier LM Weight. In our previous experiments, we assigned equal importance to the consistency score computed by the target and verifier LM. However, typically, the target LM and the verifier LM have different architectures and scales such that the user may have different levels of trust in their output truthfulness. This difference in trust can be incorporated by introducing a weight $\\lambda$ to the consistency score produced by the verifier LM. For instance, if the goal is to detect hallucination in a specialized domain and the verifier LM is a domain-specific model developed for this domain, we can assign a large weight to its scores (e.g., $\\lambda > 1.0$ ). In the general case, where the verifier LM is a small-sized open-source model, we can apply a small weight value (e.g., $\\lambda < 1.0$ ) to discount the influence of the verifier LM in the final score. Fig. 5 visualizes the effect of various weight factors on the generation QA datasets. We observe that SAC<sup>3</sup>-all with a higher weight would result in a larger advantage over SAC<sup>3</sup>-Q in",
|
| 1208 |
+
"bbox": [
|
| 1209 |
+
112,
|
| 1210 |
+
580,
|
| 1211 |
+
489,
|
| 1212 |
+
919
|
| 1213 |
+
],
|
| 1214 |
+
"page_idx": 7
|
| 1215 |
+
},
|
| 1216 |
+
{
|
| 1217 |
+
"type": "text",
|
| 1218 |
+
"text": "the HotpotQA-halu task, where the verifier LM outperforms the target LM. On the contrary, in the NQ open task where the target LM shows competitive performance, a smaller weight would yield better results.",
|
| 1219 |
+
"bbox": [
|
| 1220 |
+
507,
|
| 1221 |
+
84,
|
| 1222 |
+
884,
|
| 1223 |
+
162
|
| 1224 |
+
],
|
| 1225 |
+
"page_idx": 7
|
| 1226 |
+
},
|
| 1227 |
+
{
|
| 1228 |
+
"type": "image",
|
| 1229 |
+
"img_path": "images/632cf857050e3c680125f3242f79e5862c24e71c180d80dd33329837d1a060a8.jpg",
|
| 1230 |
+
"image_caption": [],
|
| 1231 |
+
"image_footnote": [],
|
| 1232 |
+
"bbox": [
|
| 1233 |
+
510,
|
| 1234 |
+
172,
|
| 1235 |
+
878,
|
| 1236 |
+
284
|
| 1237 |
+
],
|
| 1238 |
+
"page_idx": 7
|
| 1239 |
+
},
|
| 1240 |
+
{
|
| 1241 |
+
"type": "image",
|
| 1242 |
+
"img_path": "images/b0a467b8ed3b0981a44326b99a869ea9e6f029687c6fce8000e5a4d5038bdd4f.jpg",
|
| 1243 |
+
"image_caption": [
|
| 1244 |
+
"Figure 5: Effect of verifier LM weight on AUROC."
|
| 1245 |
+
],
|
| 1246 |
+
"image_footnote": [],
|
| 1247 |
+
"bbox": [
|
| 1248 |
+
512,
|
| 1249 |
+
286,
|
| 1250 |
+
878,
|
| 1251 |
+
398
|
| 1252 |
+
],
|
| 1253 |
+
"page_idx": 7
|
| 1254 |
+
},
|
| 1255 |
+
{
|
| 1256 |
+
"type": "text",
|
| 1257 |
+
"text": "Effect of the Number of Perturbed Questions. The performance of sampling-based methods is expected to improve as the sample size increases, at the cost of higher latency and computational cost. In Fig. 6, we study this trade-off by varying the number of perturbed questions $k$ from 2 to 10. We observe that the performance of SAC³ increases as more question samples are used but the performance gain gradually diminishes after using more than 5 question samples. This suggests that in practice we could use 2-4 question samples to achieve reasonably good performance at a low computational cost.",
|
| 1258 |
+
"bbox": [
|
| 1259 |
+
507,
|
| 1260 |
+
455,
|
| 1261 |
+
884,
|
| 1262 |
+
664
|
| 1263 |
+
],
|
| 1264 |
+
"page_idx": 7
|
| 1265 |
+
},
|
| 1266 |
+
{
|
| 1267 |
+
"type": "image",
|
| 1268 |
+
"img_path": "images/336aa453fc86d1c725fd409a10cd694bff47b5f4bbd3dbec3e273b9a91f77460.jpg",
|
| 1269 |
+
"image_caption": [
|
| 1270 |
+
"Figure 6: Performance of SAC<sup>3</sup> with varying number of perturbed questions."
|
| 1271 |
+
],
|
| 1272 |
+
"image_footnote": [],
|
| 1273 |
+
"bbox": [
|
| 1274 |
+
512,
|
| 1275 |
+
677,
|
| 1276 |
+
882,
|
| 1277 |
+
802
|
| 1278 |
+
],
|
| 1279 |
+
"page_idx": 7
|
| 1280 |
+
},
|
| 1281 |
+
{
|
| 1282 |
+
"type": "text",
|
| 1283 |
+
"text": "Effect of the Model Type. Our proposed SAC<sup>3</sup> framework does not restrict the type of LLM employed and can be naturally extended to various",
|
| 1284 |
+
"bbox": [
|
| 1285 |
+
507,
|
| 1286 |
+
870,
|
| 1287 |
+
882,
|
| 1288 |
+
917
|
| 1289 |
+
],
|
| 1290 |
+
"page_idx": 7
|
| 1291 |
+
},
|
| 1292 |
+
{
|
| 1293 |
+
"type": "page_number",
|
| 1294 |
+
"text": "15452",
|
| 1295 |
+
"bbox": [
|
| 1296 |
+
477,
|
| 1297 |
+
927,
|
| 1298 |
+
524,
|
| 1299 |
+
940
|
| 1300 |
+
],
|
| 1301 |
+
"page_idx": 7
|
| 1302 |
+
},
|
| 1303 |
+
{
|
| 1304 |
+
"type": "text",
|
| 1305 |
+
"text": "types of target LLMs. To verify this, in addition to GPT-3.5 (gpt-3.5-turbo), we conduct experiments using GPT-4 (gpt-4) and PaLM 2 (chat-bison) on the considered four datasets in the setting of the balanced dataset. The experimental results of comparing the proposed $\\mathrm{SAC}^3 -\\mathrm{Q}$ with the $\\mathrm{SC}^2$ baseline are summarized in Table 5. We observe that the proposed $\\mathrm{SAC}^3 -\\mathrm{Q}$ consistently outperforms the $\\mathrm{SC}^2$ baseline across all LLM variants.",
|
| 1306 |
+
"bbox": [
|
| 1307 |
+
112,
|
| 1308 |
+
84,
|
| 1309 |
+
492,
|
| 1310 |
+
231
|
| 1311 |
+
],
|
| 1312 |
+
"page_idx": 8
|
| 1313 |
+
},
|
| 1314 |
+
{
|
| 1315 |
+
"type": "table",
|
| 1316 |
+
"img_path": "images/4ab45557ea4d0d7b50d38914a0b626aef063d310863e9e5d9f99e30cea9fc4e1.jpg",
|
| 1317 |
+
"table_caption": [],
|
| 1318 |
+
"table_footnote": [],
|
| 1319 |
+
"table_body": "<table><tr><td>Method</td><td>Prime Number</td><td>Senator Search</td><td>HotpotQA -halu</td><td>NQ-open -halu</td></tr><tr><td>SC2(gpt-3.5-turbo)</td><td>48.2</td><td>29.6</td><td>74.2</td><td>70.5</td></tr><tr><td>SC2(gpt-4)</td><td>38.3</td><td>18.4</td><td>79.7</td><td>76.3</td></tr><tr><td>SC2(chat-bison)</td><td>26.9</td><td>19.2</td><td>75.8</td><td>67.9</td></tr><tr><td>SAC3-Q (gpt-3.5-turbo)</td><td>93.2</td><td>97.0</td><td>81.3</td><td>77.2</td></tr><tr><td>SAC3-Q (gpt-4)</td><td>91.1</td><td>61.6</td><td>87.2</td><td>82.9</td></tr><tr><td>SAC3-Q (chat-bison)</td><td>90.3</td><td>66.3</td><td>82.8</td><td>72.7</td></tr></table>",
|
| 1320 |
+
"bbox": [
|
| 1321 |
+
117,
|
| 1322 |
+
241,
|
| 1323 |
+
489,
|
| 1324 |
+
344
|
| 1325 |
+
],
|
| 1326 |
+
"page_idx": 8
|
| 1327 |
+
},
|
| 1328 |
+
{
|
| 1329 |
+
"type": "text",
|
| 1330 |
+
"text": "Table 5: Accuracy of different LLMs (GPT-3.5, GPT-4, and PaLM 2) on classification and generation QA tasks.",
|
| 1331 |
+
"bbox": [
|
| 1332 |
+
112,
|
| 1333 |
+
351,
|
| 1334 |
+
489,
|
| 1335 |
+
384
|
| 1336 |
+
],
|
| 1337 |
+
"page_idx": 8
|
| 1338 |
+
},
|
| 1339 |
+
{
|
| 1340 |
+
"type": "text",
|
| 1341 |
+
"text": "Computational Cost. We monitor the computational cost of our approach based on the number of model evaluations consumed by OpenAI API and open-source LLMs inference. Assuming the number of samples equals the number of perturbed questions, i.e., $n_s = n_m = n_q = n_{qm}$ , the cost of $\\mathsf{SC^2}$ is $n_s$ API calls, and our $\\mathsf{SAC^3}$ -all needs $n_s$ target LM calls plus $2 \\times n_s$ verifier LM calls. Beyond the model evaluations, $\\mathsf{SAC^3}$ may have additional costs from question perturbations and semantic equivalence checking via prompting. Additional discussions can be found in the Appendix C.1.",
|
| 1342 |
+
"bbox": [
|
| 1343 |
+
112,
|
| 1344 |
+
410,
|
| 1345 |
+
489,
|
| 1346 |
+
605
|
| 1347 |
+
],
|
| 1348 |
+
"page_idx": 8
|
| 1349 |
+
},
|
| 1350 |
+
{
|
| 1351 |
+
"type": "text",
|
| 1352 |
+
"text": "7 Conclusion and Discussion",
|
| 1353 |
+
"text_level": 1,
|
| 1354 |
+
"bbox": [
|
| 1355 |
+
112,
|
| 1356 |
+
618,
|
| 1357 |
+
379,
|
| 1358 |
+
634
|
| 1359 |
+
],
|
| 1360 |
+
"page_idx": 8
|
| 1361 |
+
},
|
| 1362 |
+
{
|
| 1363 |
+
"type": "text",
|
| 1364 |
+
"text": "We investigate the relationship between the self-consistency of LM and the factuality of the response and propose SAC<sup>3</sup> as a robust hallucination detection approach for black-box LMs. Through extensive empirical analysis, our work highlights several findings. First, self-consistency checking alone is insufficient to effectively detect question-level and model-level hallucinations, where LMs generate consistently wrong responses to certain questions. Second, cross-checking between semantically equivalent questions can reduce the occurrence of persistent hallucinations, potentially by reducing question-level ambiguity. Third, there exists a model-level disparity in hallucinations, which we attribute to the inherent differences in LM capabilities originating from different training procedures and data. Thus, the verifier LM can be selected",
|
| 1365 |
+
"bbox": [
|
| 1366 |
+
112,
|
| 1367 |
+
645,
|
| 1368 |
+
492,
|
| 1369 |
+
919
|
| 1370 |
+
],
|
| 1371 |
+
"page_idx": 8
|
| 1372 |
+
},
|
| 1373 |
+
{
|
| 1374 |
+
"type": "text",
|
| 1375 |
+
"text": "according to specific tasks to maximize detection accuracy. We believe that our work is an important step towards building reliable LLMs.",
|
| 1376 |
+
"bbox": [
|
| 1377 |
+
507,
|
| 1378 |
+
84,
|
| 1379 |
+
884,
|
| 1380 |
+
134
|
| 1381 |
+
],
|
| 1382 |
+
"page_idx": 8
|
| 1383 |
+
},
|
| 1384 |
+
{
|
| 1385 |
+
"type": "text",
|
| 1386 |
+
"text": "Ethics Statement",
|
| 1387 |
+
"text_level": 1,
|
| 1388 |
+
"bbox": [
|
| 1389 |
+
509,
|
| 1390 |
+
143,
|
| 1391 |
+
662,
|
| 1392 |
+
159
|
| 1393 |
+
],
|
| 1394 |
+
"page_idx": 8
|
| 1395 |
+
},
|
| 1396 |
+
{
|
| 1397 |
+
"type": "text",
|
| 1398 |
+
"text": "This paper studies hallucination detection in LMs, which has significant broader impacts in the field of natural language processing (NLP) and helps to address ethical considerations regarding trustworthiness and reliability. The research outcome may contribute to the development of more accurate and reliable LMs by mitigating the risks of misinformation and biased outputs and promoting accountability and trust in AI systems.",
|
| 1399 |
+
"bbox": [
|
| 1400 |
+
507,
|
| 1401 |
+
168,
|
| 1402 |
+
885,
|
| 1403 |
+
313
|
| 1404 |
+
],
|
| 1405 |
+
"page_idx": 8
|
| 1406 |
+
},
|
| 1407 |
+
{
|
| 1408 |
+
"type": "text",
|
| 1409 |
+
"text": "Limitations",
|
| 1410 |
+
"text_level": 1,
|
| 1411 |
+
"bbox": [
|
| 1412 |
+
509,
|
| 1413 |
+
324,
|
| 1414 |
+
626,
|
| 1415 |
+
338
|
| 1416 |
+
],
|
| 1417 |
+
"page_idx": 8
|
| 1418 |
+
},
|
| 1419 |
+
{
|
| 1420 |
+
"type": "text",
|
| 1421 |
+
"text": "Our current experiments focus on the question-answering setting. Further research is needed to assess the generalizability of the proposed framework and the accuracy of semantic equivalence checks on more complex tasks such as conversational or dialogue-based prompting. Additionally, it would be interesting to investigate the efficiency-utility trade-off: we expect increasing sample sizes to improve detection accuracy but may introduce additional cost and latency. Speeding up the implementation through parallelization is also worth exploring.",
|
| 1422 |
+
"bbox": [
|
| 1423 |
+
507,
|
| 1424 |
+
349,
|
| 1425 |
+
885,
|
| 1426 |
+
542
|
| 1427 |
+
],
|
| 1428 |
+
"page_idx": 8
|
| 1429 |
+
},
|
| 1430 |
+
{
|
| 1431 |
+
"type": "text",
|
| 1432 |
+
"text": "References",
|
| 1433 |
+
"text_level": 1,
|
| 1434 |
+
"bbox": [
|
| 1435 |
+
510,
|
| 1436 |
+
568,
|
| 1437 |
+
608,
|
| 1438 |
+
583
|
| 1439 |
+
],
|
| 1440 |
+
"page_idx": 8
|
| 1441 |
+
},
|
| 1442 |
+
{
|
| 1443 |
+
"type": "list",
|
| 1444 |
+
"sub_type": "ref_text",
|
| 1445 |
+
"list_items": [
|
| 1446 |
+
"Ayush Agrawal, Lester Mackey, and Adam Tauman Kalai. 2023. Do language models know when they're hallucinating references? arXiv preprint arXiv:2305.18248.",
|
| 1447 |
+
"Ebtesam Almazrouei, Hamza Alobeidli, Abdulaziz Alshamsi, Alessandro Cappelli, Ruxandra Cojocaru, Merouane Debbah, Etienne Goffinet, Daniel Heslow, Julien Launay, Quentin Malartic, Badreddine Noune, Baptiste Pannier, and Guilherme Penedo. 2023. Falcon-40B: an open large language model with state-of-the-art performance.",
|
| 1448 |
+
"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.",
|
| 1449 |
+
"Meng Cao, Yue Dong, and Jackie Chi Kit Cheung. 2022. Hallucinated but factual! inspecting the factuality of hallucinations in abstractive summarization. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 3340-3354."
|
| 1450 |
+
],
|
| 1451 |
+
"bbox": [
|
| 1452 |
+
509,
|
| 1453 |
+
589,
|
| 1454 |
+
885,
|
| 1455 |
+
919
|
| 1456 |
+
],
|
| 1457 |
+
"page_idx": 8
|
| 1458 |
+
},
|
| 1459 |
+
{
|
| 1460 |
+
"type": "page_number",
|
| 1461 |
+
"text": "15453",
|
| 1462 |
+
"bbox": [
|
| 1463 |
+
477,
|
| 1464 |
+
927,
|
| 1465 |
+
524,
|
| 1466 |
+
941
|
| 1467 |
+
],
|
| 1468 |
+
"page_idx": 8
|
| 1469 |
+
},
|
| 1470 |
+
{
|
| 1471 |
+
"type": "list",
|
| 1472 |
+
"sub_type": "ref_text",
|
| 1473 |
+
"list_items": [
|
| 1474 |
+
"Angelica Chen, Jason Phang, Alicia Parrish, Vishakh Padmakumar, Chen Zhao, Samuel R Bowman, and Kyunghyun Cho. 2023. Two failures of self-consistency in the multi-step reasoning of llms. arXiv preprint arXiv:2305.14279.",
|
| 1475 |
+
"Jiuhai Chen and Jonas Mueller. 2023. Quantifying uncertainty in answers from any language model via intrinsic and extrinsic confidence assessment. arXiv preprint arXiv:2308.16175.",
|
| 1476 |
+
"Aakanksha Chowdhery, Sharan Narang, Jacob Devlin, Maarten Bosma, Gaurav Mishra, Adam Roberts, Paul Barham, Hyung Won Chung, Charles Sutton, Sebastian Gehrmann, et al. 2022. Palm: Scaling language modeling with pathways. arXiv preprint arXiv:2204.02311.",
|
| 1477 |
+
"Jeremy R Cole, Michael JQ Zhang, Daniel Gillick, Julian Martin Eisenschlos, Bhuwan Dhingra, and Jacob Eisenstein. 2023. Selectively answering ambiguous questions. arXiv preprint arXiv:2305.14613.",
|
| 1478 |
+
"Souvik Das, Sougata Saha, and Rohini K Srihari. 2023. Diving deep into modes of fact hallucinations in dialogue systems. arXiv preprint arXiv:2301.04449.",
|
| 1479 |
+
"Tim Dettmers, Artidoro Pagnoni, Ari Holtzman, and Luke Zettlemoyer. 2023. Qlora: Efficient finetuning of quantized llms. arXiv preprint arXiv:2305.14314.",
|
| 1480 |
+
"Shehzaad Dhuliawala, Mojtaba Komeili, Jing Xu, Roberta Raileanu, Xian Li, Asli Celikyilmaz, and Jason Weston. 2023. Chain-of-verification reduces hallucination in large language models. arXiv preprint arXiv:2309.11495.",
|
| 1481 |
+
"Yanai Elazar, Nora Kassner, Shauli Ravfogel, Abhilasha Ravichander, Eduard Hovy, Hinrich Schütze, and Yoav Goldberg. 2021. Measuring and improving consistency in pretrained language models. Transactions of the Association for Computational Linguistics, 9:1012-1031.",
|
| 1482 |
+
"Zorik Gekhman, Jonathan Herzig, Roee Aharoni, Chen Elkind, and Idan Szpektor. 2023. Trueteacher: Learning factual consistency evaluation with large language models. arXiv preprint arXiv:2305.11171.",
|
| 1483 |
+
"Myeongjun Jang, Deuk Sin Kwon, and Thomas Lukasiewicz. 2022. Becel: Benchmark for consistency evaluation of language models. In Proceedings of the 29th International Conference on Computational Linguistics, pages 3680-3696.",
|
| 1484 |
+
"Ziwei Ji, Nayeon Lee, Rita Frieske, Tiezheng Yu, Dan Su, Yan Xu, Etsuko Ishii, Ye Jin Bang, Andrea Madotto, and Pascale Fung. 2023. Survey of hallucination in natural language generation. ACM Computing Surveys, 55(12):1-38.",
|
| 1485 |
+
"Ziwei Ji, Zihan Liu, Nayeon Lee, Tiezheng Yu, Bryan Wilie, Min Zeng, and Pascale Fung. 2022. Rho: Reducing hallucination in open-domain dialogues with knowledge grounding. arXiv preprint arXiv:2212.01588."
|
| 1486 |
+
],
|
| 1487 |
+
"bbox": [
|
| 1488 |
+
115,
|
| 1489 |
+
85,
|
| 1490 |
+
485,
|
| 1491 |
+
917
|
| 1492 |
+
],
|
| 1493 |
+
"page_idx": 9
|
| 1494 |
+
},
|
| 1495 |
+
{
|
| 1496 |
+
"type": "list",
|
| 1497 |
+
"sub_type": "ref_text",
|
| 1498 |
+
"list_items": [
|
| 1499 |
+
"Lorenz Kuhn, Yarin Gal, and Sebastian Farquhar. 2023. Semantic uncertainty: Linguistic invariances for uncertainty estimation in natural language generation. arXiv preprint arXiv:2302.09664.",
|
| 1500 |
+
"Tom Kwiatkowski, Jennimaria Palomaki, Olivia Redfield, Michael Collins, Ankur Parikh, Chris Alberti, Danielle Epstein, Illia Polosukhin, Jacob Devlin, Kenton Lee, et al. 2019. Natural questions: a benchmark for question answering research. Transactions of the Association for Computational Linguistics, 7:453-466.",
|
| 1501 |
+
"Kenton Lee, Ming-Wei Chang, and Kristina Toutanova. 2019. Latent retrieval for weakly supervised open domain question answering. In Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics, pages 6086-6096.",
|
| 1502 |
+
"Junyi Li, Xiaoxue Cheng, Wayne Xin Zhao, Jian-Yun Nie, and Ji-Rong Wen. 2023a. Halueval: A largescale hallucination evaluation benchmark for large language models. arXiv e-prints, pages arXiv-2305.",
|
| 1503 |
+
"Kenneth Li, Oam Patel, Fernanda Viégas, Hanspeter Pfister, and Martin Wattenberg. 2023b. Inference-time intervention: Eliciting truthful answers from a language model. arXiv preprint arXiv:2306.03341.",
|
| 1504 |
+
"Zhen Lin, Shubhendu Trivedi, and Jimeng Sun. 2023. Generating with confidence: Uncertainty quantification for black-box large language models. arXiv preprint arXiv:2305.19187.",
|
| 1505 |
+
"Tianyu Liu, Yizhe Zhang, Chris Brockett, Yi Mao, Zhifang Sui, Weizhu Chen, and Bill Dolan. 2021. A token-level reference-free hallucination detection benchmark for free-form text generation. arXiv preprint arXiv:2104.08704.",
|
| 1506 |
+
"Potsawee Manakul, Adian Liusie, and Mark JF Gales. 2023. Selfcheckgpt: Zero-resource black-box hallucination detection for generative large language models. arXiv preprint arXiv:2303.08896.",
|
| 1507 |
+
"Eric Mitchell, Joseph J Noh, Siyan Li, William S Armstrong, Ananth Agarwal, Patrick Liu, Chelsea Finn, and Christopher D Manning. 2022. Enhancing self-consistency and performance of pre-trained language models through natural language inference. arXiv preprint arXiv:2211.11875.",
|
| 1508 |
+
"Niels Mündler, Jingxuan He, Slobodan Jenko, and Martin Vechev. 2023. Self-contradictory hallucinations of large language models: Evaluation, detection and mitigation. arXiv preprint arXiv:2305.15852.",
|
| 1509 |
+
"Guilherme Penedo, Quentin Malartic, Daniel Hesslow, Ruxandra Cojocaru, Alessandro Cappelli, Hamza Alobeidli, Baptiste Pannier, Ebtesam Almazrouei, and Julien Launay. 2023. The RefinedWeb dataset for Falcon LLM: outperforming curated corpora with web data, and web data only. arXiv preprint arXiv:2306.01116."
|
| 1510 |
+
],
|
| 1511 |
+
"bbox": [
|
| 1512 |
+
510,
|
| 1513 |
+
85,
|
| 1514 |
+
882,
|
| 1515 |
+
917
|
| 1516 |
+
],
|
| 1517 |
+
"page_idx": 9
|
| 1518 |
+
},
|
| 1519 |
+
{
|
| 1520 |
+
"type": "page_number",
|
| 1521 |
+
"text": "15454",
|
| 1522 |
+
"bbox": [
|
| 1523 |
+
477,
|
| 1524 |
+
928,
|
| 1525 |
+
524,
|
| 1526 |
+
940
|
| 1527 |
+
],
|
| 1528 |
+
"page_idx": 9
|
| 1529 |
+
},
|
| 1530 |
+
{
|
| 1531 |
+
"type": "list",
|
| 1532 |
+
"sub_type": "ref_text",
|
| 1533 |
+
"list_items": [
|
| 1534 |
+
"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.",
|
| 1535 |
+
"Derek Tam, Anisha Mascarenhas, Shiyue Zhang, Sarah Kwan, Mohit Bansal, and Colin Raffel. 2023. Evaluating the factual consistency of large language models through news summarization. In *Findings of the Association for Computational Linguistics: ACL* 2023, pages 5220-5255.",
|
| 1536 |
+
"Katherine Tian, Eric Mitchell, Allan Zhou, Archit Sharma, Rafael Rafailov, Huaxiu Yao, Chelsea Finn, and Christopher D Manning. 2023. Just ask for calibration: Strategies for eliciting calibrated confidence scores from language models fine-tuned with human feedback. arXiv preprint arXiv:2305.14975.",
|
| 1537 |
+
"Hugo Touvron, Thibaut Lavril, Gautier Izacard, Xavier Martinet, Marie-Anne Lachaux, Timothée Lacroix, Baptiste Roziere, Naman Goyal, Eric Hambro, Faisal Azhar, et al. 2023. Llama: Open and efficient foundation language models. arXiv preprint arXiv:2302.13971.",
|
| 1538 |
+
"Neeraj Varshney, Wenlin Yao, Hongming Zhang, Jianshu Chen, and Dong Yu. 2023. A stitch in time saves nine: Detecting and mitigating hallucinations of llms by validating low-confidence generation. arXiv preprint arXiv:2307.03987.",
|
| 1539 |
+
"Xuezhi Wang, Jason Wei, Dale Schuurmans, Quoc Le, Ed Chi, Sharan Narang, Aakanksha Chowdhery, and Denny Zhou. 2022. Self-consistency improves chain of thought reasoning in language models. arXiv preprint arXiv:2203.11171.",
|
| 1540 |
+
"Yijun Xiao and William Yang Wang. 2021. On hallucination and predictive uncertainty in conditional language generation. arXiv preprint arXiv:2103.15025.",
|
| 1541 |
+
"Shiping Yang, Renliang Sun, and Xiaojun Wan. 2023. A new benchmark and reverse validation method for passage-level hallucination detection. arXiv preprint arXiv:2310.06498.",
|
| 1542 |
+
"Zhilin Yang, Peng Qi, Saizheng Zhang, Yoshua Bengio, William Cohen, Ruslan Salakhutdinov, and Christopher D Manning. 2018. Hotpotqa: A dataset for diverse, explainable multi-hop question answering. In Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing, pages 2369-2380.",
|
| 1543 |
+
"Hongbin Ye, Tong Liu, Aijia Zhang, Wei Hua, and Weiqiang Jia. 2023. Cognitive mirage: A review of hallucinations in large language models. arXiv preprint arXiv:2309.06794.",
|
| 1544 |
+
"Muru Zhang, Ofir Press, William Merrill, Alisa Liu, and Noah A Smith. 2023a. How language model hallucinations can snowball. arXiv preprint arXiv:2305.13534."
|
| 1545 |
+
],
|
| 1546 |
+
"bbox": [
|
| 1547 |
+
115,
|
| 1548 |
+
85,
|
| 1549 |
+
487,
|
| 1550 |
+
916
|
| 1551 |
+
],
|
| 1552 |
+
"page_idx": 10
|
| 1553 |
+
},
|
| 1554 |
+
{
|
| 1555 |
+
"type": "list",
|
| 1556 |
+
"sub_type": "ref_text",
|
| 1557 |
+
"list_items": [
|
| 1558 |
+
"Shuo Zhang, Liangming Pan, Junzhou Zhao, and William Yang Wang. 2023b. Mitigating language model hallucination with interactive question-knowledge alignment. arXiv preprint arXiv:2305.13669.",
|
| 1559 |
+
"Yue Zhang, Yafu Li, Leyang Cui, Deng Cai, Lemao Liu, Tingchen Fu, Xinting Huang, Enbo Zhao, Yu Zhang, Yulong Chen, et al. 2023c. Siren's song in the ai ocean: A survey on hallucination in large language models. arXiv preprint arXiv:2309.01219.",
|
| 1560 |
+
"Wayne Xin Zhao, Kun Zhou, Junyi Li, Tianyi Tang, Xiaolei Wang, Yupeng Hou, Yingqian Min, Beichen Zhang, Junjie Zhang, Zican Dong, et al. 2023. A survey of large language models. arXiv preprint arXiv:2303.18223.",
|
| 1561 |
+
"Shen Zheng, Jie Huang, and Kevin Chen-Chuan Chang. 2023a. Why does chatgpt fall short in providing truthful answers. ArXiv preprint, abs/2304.10513.",
|
| 1562 |
+
"Shen Zheng, Jie Huang, and Kevin Chen-Chuan Chang. 2023b. Why does chatgpt fall short in providing truthful answers? arXiv preprint arXiv:2304.10513.",
|
| 1563 |
+
"Chunting Zhou, Graham Neubig, Jiatao Gu, Mona Diab, Paco Guzman, Luke Zettlemoyer, and Marjan Ghazvininejad. 2020. Detecting hallucinated content in conditional neural sequence generation. arXiv preprint arXiv:2011.02593."
|
| 1564 |
+
],
|
| 1565 |
+
"bbox": [
|
| 1566 |
+
510,
|
| 1567 |
+
85,
|
| 1568 |
+
880,
|
| 1569 |
+
476
|
| 1570 |
+
],
|
| 1571 |
+
"page_idx": 10
|
| 1572 |
+
},
|
| 1573 |
+
{
|
| 1574 |
+
"type": "page_number",
|
| 1575 |
+
"text": "15455",
|
| 1576 |
+
"bbox": [
|
| 1577 |
+
477,
|
| 1578 |
+
928,
|
| 1579 |
+
524,
|
| 1580 |
+
940
|
| 1581 |
+
],
|
| 1582 |
+
"page_idx": 10
|
| 1583 |
+
},
|
| 1584 |
+
{
|
| 1585 |
+
"type": "text",
|
| 1586 |
+
"text": "A Factuality Assessment of LLMs",
|
| 1587 |
+
"text_level": 1,
|
| 1588 |
+
"bbox": [
|
| 1589 |
+
114,
|
| 1590 |
+
83,
|
| 1591 |
+
426,
|
| 1592 |
+
99
|
| 1593 |
+
],
|
| 1594 |
+
"page_idx": 11
|
| 1595 |
+
},
|
| 1596 |
+
{
|
| 1597 |
+
"type": "text",
|
| 1598 |
+
"text": "This section first introduces the background of LM factuality assessment and reviews the key components of existing black-box factuality assessment approaches.",
|
| 1599 |
+
"bbox": [
|
| 1600 |
+
112,
|
| 1601 |
+
110,
|
| 1602 |
+
489,
|
| 1603 |
+
175
|
| 1604 |
+
],
|
| 1605 |
+
"page_idx": 11
|
| 1606 |
+
},
|
| 1607 |
+
{
|
| 1608 |
+
"type": "text",
|
| 1609 |
+
"text": "A.1 Background",
|
| 1610 |
+
"text_level": 1,
|
| 1611 |
+
"bbox": [
|
| 1612 |
+
112,
|
| 1613 |
+
187,
|
| 1614 |
+
263,
|
| 1615 |
+
202
|
| 1616 |
+
],
|
| 1617 |
+
"page_idx": 11
|
| 1618 |
+
},
|
| 1619 |
+
{
|
| 1620 |
+
"type": "text",
|
| 1621 |
+
"text": "Existing studies (Manakul et al., 2023) showed that the factuality of LMs' statements can be assessed by capturing the output uncertainty. If permitted with complete white-box access, hallucinations of LMs can be detected through uncertainty metrics such as entropy, which models the uncertainty of the output distribution as $\\mathcal{H}(\\boldsymbol{s}) = -\\sum_{i=1}^{N} p(s_i | s_{<i}) \\log p(s_i | s_{<i})$ for a sequence of $N$ tokens $\\boldsymbol{s} = \\{s_i\\}_{i=1}^N$ . The insight is that factual sentences are likely to be composed of high-probability tokens and thus should have less entropy, whereas non-factual statements are likely to be associated with lower probability and higher entropy.",
|
| 1622 |
+
"bbox": [
|
| 1623 |
+
112,
|
| 1624 |
+
208,
|
| 1625 |
+
489,
|
| 1626 |
+
434
|
| 1627 |
+
],
|
| 1628 |
+
"page_idx": 11
|
| 1629 |
+
},
|
| 1630 |
+
{
|
| 1631 |
+
"type": "text",
|
| 1632 |
+
"text": "Although these methods provide an accurate estimate of the LM's uncertainty, computation of such metrics involves token-level output probability distribution, which is typically not accessible for prominent LMs like ChatGPT that are only available through black-box interactions.",
|
| 1633 |
+
"bbox": [
|
| 1634 |
+
112,
|
| 1635 |
+
434,
|
| 1636 |
+
489,
|
| 1637 |
+
531
|
| 1638 |
+
],
|
| 1639 |
+
"page_idx": 11
|
| 1640 |
+
},
|
| 1641 |
+
{
|
| 1642 |
+
"type": "text",
|
| 1643 |
+
"text": "A.2 Black-box Assessment via Checking Consistency in Sampled Responses",
|
| 1644 |
+
"text_level": 1,
|
| 1645 |
+
"bbox": [
|
| 1646 |
+
112,
|
| 1647 |
+
543,
|
| 1648 |
+
448,
|
| 1649 |
+
575
|
| 1650 |
+
],
|
| 1651 |
+
"page_idx": 11
|
| 1652 |
+
},
|
| 1653 |
+
{
|
| 1654 |
+
"type": "text",
|
| 1655 |
+
"text": "One natural way to extend the above white-box factuality assessment methods to restrictive black-box settings is to approximate the uncertainty metrics by sampling LM responses. Existing approaches (Manakul et al., 2023) mostly focus on assessing factuality through inspecting LM's self-consistency. The typical process of self-consistency check is as follows. First, for a given user-queried prompt $\\pmb{x}$ , let the LM generate a candidate response $s$ with a low (default) temperature. Next, to assess the factuality of the candidate statements, a higher temperature value is used to stochastically sample a diverse set of supporting responses $\\{s^1, s^2, \\dots, s^m\\}$ from the LM. Finally, a hallucination score $S \\in [0,1]$ is calculated by measuring the consistency between the candidate response and the supporting responses: $S \\rightarrow 0$ if the supporting responses agree with the candidate response and $S \\rightarrow 1$ if they disagree. The consistency between two responses is typically measured by checking the textual entailment or lexical simi",
|
| 1656 |
+
"bbox": [
|
| 1657 |
+
112,
|
| 1658 |
+
581,
|
| 1659 |
+
489,
|
| 1660 |
+
919
|
| 1661 |
+
],
|
| 1662 |
+
"page_idx": 11
|
| 1663 |
+
},
|
| 1664 |
+
{
|
| 1665 |
+
"type": "text",
|
| 1666 |
+
"text": "larity using an additional pre-trained NLU model such as BERT (Manakul et al., 2023; Kuhn et al., 2023).",
|
| 1667 |
+
"bbox": [
|
| 1668 |
+
507,
|
| 1669 |
+
84,
|
| 1670 |
+
884,
|
| 1671 |
+
131
|
| 1672 |
+
],
|
| 1673 |
+
"page_idx": 11
|
| 1674 |
+
},
|
| 1675 |
+
{
|
| 1676 |
+
"type": "text",
|
| 1677 |
+
"text": "B Complete Prompts",
|
| 1678 |
+
"text_level": 1,
|
| 1679 |
+
"bbox": [
|
| 1680 |
+
509,
|
| 1681 |
+
143,
|
| 1682 |
+
710,
|
| 1683 |
+
161
|
| 1684 |
+
],
|
| 1685 |
+
"page_idx": 11
|
| 1686 |
+
},
|
| 1687 |
+
{
|
| 1688 |
+
"type": "text",
|
| 1689 |
+
"text": "The prompt templates that we used are provided in Table 7, specifically the question perturbations using semantically equivalent prompts and semantic equivalence checks between two QA pairs.",
|
| 1690 |
+
"bbox": [
|
| 1691 |
+
507,
|
| 1692 |
+
168,
|
| 1693 |
+
884,
|
| 1694 |
+
233
|
| 1695 |
+
],
|
| 1696 |
+
"page_idx": 11
|
| 1697 |
+
},
|
| 1698 |
+
{
|
| 1699 |
+
"type": "text",
|
| 1700 |
+
"text": "C Additional Details and Discussions",
|
| 1701 |
+
"text_level": 1,
|
| 1702 |
+
"bbox": [
|
| 1703 |
+
507,
|
| 1704 |
+
244,
|
| 1705 |
+
845,
|
| 1706 |
+
260
|
| 1707 |
+
],
|
| 1708 |
+
"page_idx": 11
|
| 1709 |
+
},
|
| 1710 |
+
{
|
| 1711 |
+
"type": "text",
|
| 1712 |
+
"text": "C.1 Computational Cost",
|
| 1713 |
+
"text_level": 1,
|
| 1714 |
+
"bbox": [
|
| 1715 |
+
507,
|
| 1716 |
+
271,
|
| 1717 |
+
721,
|
| 1718 |
+
286
|
| 1719 |
+
],
|
| 1720 |
+
"page_idx": 11
|
| 1721 |
+
},
|
| 1722 |
+
{
|
| 1723 |
+
"type": "text",
|
| 1724 |
+
"text": "High computational cost is a common research challenge faced in many areas of black-box LLM studies, including self-consistency (Wang et al., 2022) and self-check (Manakul et al., 2023). Compared with these existing works, our framework enables model-level parallel execution of LLM inferences (either target or verifier LM) in the form of parallel API calls, which helps to mitigate the overhead. Moreover, we may further employ more advanced prompt strategies for semantic consistency checking that condense the pairwise comparisons to a single inference call to substantially reduce the time complexity. Finally, our framework also offers the flexibility for the user to adjust the balance between computational cost and accuracy: users may choose to trade off accuracy for efficiency in scenarios where low overhead is more valued than high detection precision.",
|
| 1725 |
+
"bbox": [
|
| 1726 |
+
507,
|
| 1727 |
+
291,
|
| 1728 |
+
884,
|
| 1729 |
+
580
|
| 1730 |
+
],
|
| 1731 |
+
"page_idx": 11
|
| 1732 |
+
},
|
| 1733 |
+
{
|
| 1734 |
+
"type": "text",
|
| 1735 |
+
"text": "To achieve a more balanced trade-off, we primarily recommend two strategies: (1) Utilizing a smaller sample size, such as the number of question perturbations and self-evaluations. Our ablation experiments demonstrate that the performance of $\\mathrm{SAC^3}$ improves with an increase in question samples, but the performance gain plateaus after exceeding five question samples. This indicates that using 2-4 question samples in practice could yield satisfactory results with minimal computational expense. (2) Implementing an optimized prompt strategy. With the original input question, we prompt the GPT model to generate multiple paraphrases in a single API call, i.e., $\\mathcal{O}(1)$ for question paraphrasing. Although semantic consistency checking via a pairwise method can be slightly burdensome, we can devise an advanced prompt strategy to parallelize the pairwise consistency check, i.e., through one API call instead of multiple calls, effectively reducing the inference complexity from $\\mathcal{O}(n)$ to $\\mathcal{O}(1)$ . These strategies empower users",
|
| 1736 |
+
"bbox": [
|
| 1737 |
+
507,
|
| 1738 |
+
581,
|
| 1739 |
+
884,
|
| 1740 |
+
919
|
| 1741 |
+
],
|
| 1742 |
+
"page_idx": 11
|
| 1743 |
+
},
|
| 1744 |
+
{
|
| 1745 |
+
"type": "page_number",
|
| 1746 |
+
"text": "15456",
|
| 1747 |
+
"bbox": [
|
| 1748 |
+
477,
|
| 1749 |
+
927,
|
| 1750 |
+
524,
|
| 1751 |
+
940
|
| 1752 |
+
],
|
| 1753 |
+
"page_idx": 11
|
| 1754 |
+
},
|
| 1755 |
+
{
|
| 1756 |
+
"type": "table",
|
| 1757 |
+
"img_path": "images/5812de1bae3c9ae0a5b0e2ece2ddcbc69795dd5e79cabe5b83a8ebd37a87e563.jpg",
|
| 1758 |
+
"table_caption": [],
|
| 1759 |
+
"table_footnote": [],
|
| 1760 |
+
"table_body": "<table><tr><td>Method</td><td>Input</td><td>Model</td><td>Output</td><td>Semantic Consistency</td></tr><tr><td rowspan=\"2\">SC2</td><td>Q</td><td>Target</td><td>Yes, there was a US senator that represented the state of North Dakota and whose alma mater was MIT. His name was Quentin N. Burdick.</td><td>✓</td></tr><tr><td>Q</td><td>Target</td><td>Yes, there was a US senator who represented the state of North Dakota and whose alma mater was MIT. His name was Quentin N. Burdick.</td><td>✓</td></tr><tr><td rowspan=\"2\">SAC3-Q</td><td>Q1</td><td>Target</td><td>As an AI language model, I do not have access to the most recent updates or news. However, as of my last update, there is no North Dakota US senator who graduated from MIT.</td><td>✗</td></tr><tr><td>Q2</td><td>Target</td><td>As an AI language model, I do not have access to real-time information or current events. However, as of my last update, I am not aware of any US senators from North Dakota who were also MIT graduates.</td><td>✗</td></tr><tr><td>SAC3-M</td><td>Q</td><td>Verifier</td><td>No, there has never been a US senator who represented the state of North Dakota and attended MIT.</td><td>✗</td></tr><tr><td rowspan=\"2\">SAC3-QM</td><td>Q1</td><td>Verifier</td><td>No, a North Dakota US senator did not have MIT listed as their alma mater.</td><td>✗</td></tr><tr><td>Q2</td><td>Verifier</td><td>There are no known US senators from North Dakota who are also MIT graduates.</td><td>✗</td></tr></table>",
|
| 1761 |
+
"bbox": [
|
| 1762 |
+
117,
|
| 1763 |
+
80,
|
| 1764 |
+
884,
|
| 1765 |
+
305
|
| 1766 |
+
],
|
| 1767 |
+
"page_idx": 12
|
| 1768 |
+
},
|
| 1769 |
+
{
|
| 1770 |
+
"type": "table",
|
| 1771 |
+
"img_path": "images/98f85bfb11ef790b9fc7ab1bc7b489c493103f4ac666e1d7f9edad1d9a1a62bd.jpg",
|
| 1772 |
+
"table_caption": [
|
| 1773 |
+
"Table 6: Input Question (Q) and Answer (A): $\\mathrm{Q} =$ \"Was there ever a US senator that represented the state of North Dakota and whose alma mater was MIT?\" A = \"Yes, there was a US senator who represented the state of North Dakota and whose alma mater was MIT. His name was Quentin Burdick.\" Semantically rephrased questions: Q1 = \"Did a North Dakota US senator have MIT listed as their alma mater?\" Q2 = \"Were there any US senators from North Dakota who were also MIT graduates?"
|
| 1774 |
+
],
|
| 1775 |
+
"table_footnote": [],
|
| 1776 |
+
"table_body": "<table><tr><td>Objective</td><td>Template</td></tr><tr><td>Semantic question perturbation</td><td>For the question [QUERYED QUESTION], provide ${k} semantically equivalent questions \\nAre the following two inputs semantically equivalent? \\n[QUERYED INPUT] \\n[GENERATED INPUT]</td></tr><tr><td>Semantic equivalence check</td><td>Are the following two Question-Answering (QA) pairs semantically equivalent? Provide your best guess and the probability that it is correct (0.0 to 1.0). Given ONLY the guess (Yes or No) and probability, no other words or explanation. For example: \\nGuess: <most likely guess, as short as possible; not a complete sentence, just the guess!>\\nProbability: <the probability between 0.0 and 1.0 that your guess is correct, without any extra commentary whatsoever; just the probability! \\nThe first QA pair is: \\nQ: ${THE QUESTION} \\nA: ${THE ANSWER} \\nThe second QA pair is: \\nQ: ${THE QUESTION} \\nA: ${THE ANSWER}</td></tr></table>",
|
| 1777 |
+
"bbox": [
|
| 1778 |
+
115,
|
| 1779 |
+
399,
|
| 1780 |
+
882,
|
| 1781 |
+
565
|
| 1782 |
+
],
|
| 1783 |
+
"page_idx": 12
|
| 1784 |
+
},
|
| 1785 |
+
{
|
| 1786 |
+
"type": "text",
|
| 1787 |
+
"text": "Table 7: Prompt templates for different objectives, including semantically equivalent perturbations of input questions and semantic equivalent check of QA pairs.",
|
| 1788 |
+
"bbox": [
|
| 1789 |
+
112,
|
| 1790 |
+
574,
|
| 1791 |
+
882,
|
| 1792 |
+
605
|
| 1793 |
+
],
|
| 1794 |
+
"page_idx": 12
|
| 1795 |
+
},
|
| 1796 |
+
{
|
| 1797 |
+
"type": "text",
|
| 1798 |
+
"text": "to optimally balance efficiency (light version) and accuracy (performance version), facilitating more informed decisions in practice.",
|
| 1799 |
+
"bbox": [
|
| 1800 |
+
112,
|
| 1801 |
+
629,
|
| 1802 |
+
487,
|
| 1803 |
+
677
|
| 1804 |
+
],
|
| 1805 |
+
"page_idx": 12
|
| 1806 |
+
},
|
| 1807 |
+
{
|
| 1808 |
+
"type": "text",
|
| 1809 |
+
"text": "C.2 Semantic Consistency Checking",
|
| 1810 |
+
"text_level": 1,
|
| 1811 |
+
"bbox": [
|
| 1812 |
+
112,
|
| 1813 |
+
688,
|
| 1814 |
+
415,
|
| 1815 |
+
703
|
| 1816 |
+
],
|
| 1817 |
+
"page_idx": 12
|
| 1818 |
+
},
|
| 1819 |
+
{
|
| 1820 |
+
"type": "text",
|
| 1821 |
+
"text": "The goal of our research is to provide a flexible framework for the effective detection of hallucinations in black-box LLMs. Compared to previous approaches (Manakul et al., 2023) based on similarity metrics such as BERTScore, employing LLM for semantic consistency checking not only offers better accuracy but also eliminates the need for involving additional models. We note that our design is not dependent on any specific type of LLM and the users are allowed to choose freely for each component. Specifically, we chose GPT as the instantiation in our experiments due to its well-acclaimed ability to follow human instructions which is cru",
|
| 1822 |
+
"bbox": [
|
| 1823 |
+
112,
|
| 1824 |
+
709,
|
| 1825 |
+
489,
|
| 1826 |
+
917
|
| 1827 |
+
],
|
| 1828 |
+
"page_idx": 12
|
| 1829 |
+
},
|
| 1830 |
+
{
|
| 1831 |
+
"type": "text",
|
| 1832 |
+
"text": "cial for evaluation. In practice, the user may choose any open-sourced LLMs that have been aligned to follow instructions.",
|
| 1833 |
+
"bbox": [
|
| 1834 |
+
507,
|
| 1835 |
+
629,
|
| 1836 |
+
882,
|
| 1837 |
+
675
|
| 1838 |
+
],
|
| 1839 |
+
"page_idx": 12
|
| 1840 |
+
},
|
| 1841 |
+
{
|
| 1842 |
+
"type": "text",
|
| 1843 |
+
"text": "C.3 Data Annotations",
|
| 1844 |
+
"text_level": 1,
|
| 1845 |
+
"bbox": [
|
| 1846 |
+
509,
|
| 1847 |
+
688,
|
| 1848 |
+
697,
|
| 1849 |
+
703
|
| 1850 |
+
],
|
| 1851 |
+
"page_idx": 12
|
| 1852 |
+
},
|
| 1853 |
+
{
|
| 1854 |
+
"type": "text",
|
| 1855 |
+
"text": "For the two classification QA tasks (Prime Number and Senator Search), we use the synthesized hallucinated answers following prior work (Zhang et al., 2023a). For the task of prime number, the factual/true answer is always \"Yes\", i.e., all the testing numbers are prime numbers. The synthesized hallucinated response is \"No\". The factual/true answer of the senator search is always \"No\" and the synthesized hallucinated answer is \"Yes\". Such an experimental setting on the binary classification tasks is realistic since we have verified that on these datasets most of the responses generated by gpt-3.5-turbo are indeed \"Yes\" or \"No\" which",
|
| 1856 |
+
"bbox": [
|
| 1857 |
+
507,
|
| 1858 |
+
709,
|
| 1859 |
+
884,
|
| 1860 |
+
917
|
| 1861 |
+
],
|
| 1862 |
+
"page_idx": 12
|
| 1863 |
+
},
|
| 1864 |
+
{
|
| 1865 |
+
"type": "page_number",
|
| 1866 |
+
"text": "15457",
|
| 1867 |
+
"bbox": [
|
| 1868 |
+
477,
|
| 1869 |
+
927,
|
| 1870 |
+
524,
|
| 1871 |
+
940
|
| 1872 |
+
],
|
| 1873 |
+
"page_idx": 12
|
| 1874 |
+
},
|
| 1875 |
+
{
|
| 1876 |
+
"type": "text",
|
| 1877 |
+
"text": "align with the synthesized response.",
|
| 1878 |
+
"bbox": [
|
| 1879 |
+
112,
|
| 1880 |
+
84,
|
| 1881 |
+
383,
|
| 1882 |
+
99
|
| 1883 |
+
],
|
| 1884 |
+
"page_idx": 13
|
| 1885 |
+
},
|
| 1886 |
+
{
|
| 1887 |
+
"type": "text",
|
| 1888 |
+
"text": "For the generation QA tasks (HotpotQA-halu and NQ-Open-halu), we used answers generated by LLM (gpt-3.5-turbo) for experiments, which do not have pre-defined factual/non-factual labels. Therefore, we manually annotated these LLM-generated answers by comparing them with the ground truth.",
|
| 1889 |
+
"bbox": [
|
| 1890 |
+
112,
|
| 1891 |
+
99,
|
| 1892 |
+
487,
|
| 1893 |
+
211
|
| 1894 |
+
],
|
| 1895 |
+
"page_idx": 13
|
| 1896 |
+
},
|
| 1897 |
+
{
|
| 1898 |
+
"type": "text",
|
| 1899 |
+
"text": "We would like to note that in practice, a more versatile hallucination detection approach should be able to evaluate the factuality of a sample regardless of its origin (e.g., synthesized or generated by itself / other LLMs). In our framework, this is achieved through semantically equivalent question perturbation and cross-model response consistency checking. We plan to release the annotated datasets to facilitate future research.",
|
| 1900 |
+
"bbox": [
|
| 1901 |
+
112,
|
| 1902 |
+
212,
|
| 1903 |
+
487,
|
| 1904 |
+
356
|
| 1905 |
+
],
|
| 1906 |
+
"page_idx": 13
|
| 1907 |
+
},
|
| 1908 |
+
{
|
| 1909 |
+
"type": "text",
|
| 1910 |
+
"text": "D Additional Examples",
|
| 1911 |
+
"text_level": 1,
|
| 1912 |
+
"bbox": [
|
| 1913 |
+
112,
|
| 1914 |
+
369,
|
| 1915 |
+
334,
|
| 1916 |
+
386
|
| 1917 |
+
],
|
| 1918 |
+
"page_idx": 13
|
| 1919 |
+
},
|
| 1920 |
+
{
|
| 1921 |
+
"type": "text",
|
| 1922 |
+
"text": "Table 6 provides another illustrative example to explain our methodology in the senator search dataset.",
|
| 1923 |
+
"bbox": [
|
| 1924 |
+
112,
|
| 1925 |
+
395,
|
| 1926 |
+
487,
|
| 1927 |
+
442
|
| 1928 |
+
],
|
| 1929 |
+
"page_idx": 13
|
| 1930 |
+
},
|
| 1931 |
+
{
|
| 1932 |
+
"type": "page_number",
|
| 1933 |
+
"text": "15458",
|
| 1934 |
+
"bbox": [
|
| 1935 |
+
477,
|
| 1936 |
+
927,
|
| 1937 |
+
526,
|
| 1938 |
+
940
|
| 1939 |
+
],
|
| 1940 |
+
"page_idx": 13
|
| 1941 |
+
}
|
| 1942 |
+
]
|
2023/SAC3_ Reliable Hallucination Detection in Black-Box Language Models via Semantic-aware Cross-check Consistency/4a5107be-dc68-42ed-bca9-6c454b388710_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2023/SAC3_ Reliable Hallucination Detection in Black-Box Language Models via Semantic-aware Cross-check Consistency/4a5107be-dc68-42ed-bca9-6c454b388710_origin.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ac1d4fec2a8f6156b5d119fac652b75915c455a9b70df01ad72c035fcaf6674d
|
| 3 |
+
size 778916
|
2023/SAC3_ Reliable Hallucination Detection in Black-Box Language Models via Semantic-aware Cross-check Consistency/full.md
ADDED
|
@@ -0,0 +1,358 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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Consistency
|
| 2 |
+
|
| 3 |
+
Jiaxin Zhang $^{1}$ , Zhuohang Li $^{2}$ , Kamalika Das $^{1}$ , Bradley Malin $^{2,3}$ , Sricharan Kumar $^{1}$
|
| 4 |
+
|
| 5 |
+
\(^{1}\)Intuit AI Research \(^{2}\)Vanderbilt University \(^{3}\)Vanderbilt University Medical Center \(\{jiaxin_zhang, kamalika_das, sricharan_kumar\} @intuit.com \(\{zhuohang.li, b.malin\} @\)vanderbilt.edu
|
| 6 |
+
|
| 7 |
+
# Abstract
|
| 8 |
+
|
| 9 |
+
Hallucination detection is a critical step toward understanding the trustworthiness of modern language models (LMs). To achieve this goal, we re-examine existing detection approaches based on the self-consistency of LMs and uncover two types of hallucinations resulting from 1) question-level and 2) model-level, which cannot be effectively identified through self-consistency check alone. Building upon this discovery, we propose a novel sampling-based method, i.e., semantic-aware cross-check consistency $(\mathrm{SAC}^3)$ that expands on the principle of self-consistency checking. Our $\mathrm{SAC}^3$ approach incorporates additional mechanisms to detect both question-level and model-level hallucinations by leveraging advances including semantically equivalent question perturbation and cross-model response consistency checking. Through extensive and systematic empirical analysis, we demonstrate that $\mathrm{SAC}^3$ outperforms the state of the art in detecting both nonfactual and factual statements across multiple question-answering and open-domain generation benchmarks. $^1$
|
| 10 |
+
|
| 11 |
+
# 1 Introduction
|
| 12 |
+
|
| 13 |
+
Large-scale pre-trained language models (LMs) have demonstrated exceptional adaptability across a diverse array of natural language tasks that require generating open-ended responses based on user prompt comprehension (Zhao et al., 2023). However, prominent LMs like GPT (Brown et al., 2020) and PaLM (Chowdhery et al., 2022), often exhibit a tendency to produce exceedingly confident, yet erroneous, assertions commonly referred to as hallucinations. This phenomenon significantly impedes their applicability in domains where factual accuracy is of utmost importance.
|
| 14 |
+
|
| 15 |
+
Hallucinations can be detected through the assistance of metrics that capture the uncertainty about
|
| 16 |
+
|
| 17 |
+
the output sequences. However, these metrics require access to token-level log probabilities, which are not available in commercial black-box LMs like ChatGPT or Bard that only offer limited API access. To overcome this limitation, recent studies explore sampling-based approaches for approximating uncertainty estimation (Lin et al., 2023) through establishing a connection between confidence and self-consistency (Manakul et al., 2023; Mündler et al., 2023). The underlying premise of this principle is that LMs are more inclined to generate consistent responses when high probabilities are assigned to tokens in the answer, which, in turn, implies a level of factuality. In contrast, inconsistent responses are more likely to contain hallucinations. To operationalize this concept, current approaches are designed to sample multiple responses from the LMs for a given question and then compose a hallucination score for each sentence based on the level of response consistency.
|
| 18 |
+
|
| 19 |
+
Key Observations. In this work, we investigate the relationship between the self-consistency of LMs and the occurrence of hallucinations in a diverse range of tasks. Our investigation indicates that while self-inconsistency in LMs often coincides with hallucination, self-consistency does not necessarily guarantee factual answers, as shown in Figure 1. Our findings challenge the notion that self-consistency alone can serve as a reliable indicator of veracity, as it is demonstrated that LMs can exhibit various tiers of hallucination that elude detection through self-consistency checks. One such tier is question-level hallucination, where LMs consistently generate incorrect answers in response to specific questions (e.g., Table 1). We reveal that by reformulating the questions, it is possible to mitigate such instances of hallucinations. Additionally, our work further reveals the existence of model-level hallucinations, whereby different LMs show discrepancies in their propensity for halluci
|
| 20 |
+
|
| 21 |
+

|
| 22 |
+
Figure 1: Key observation: solely checking the self-consistency of LLMs is not sufficient for deciding factuality. Left: generated responses to the same question may be consistent but non-factual. Right: generated responses may be inconsistent with the original answer that is factually correct.
|
| 23 |
+
|
| 24 |
+
nation. Surprisingly, we even observe cases where smaller LMs are capable of correctly answering questions for which larger LMs hallucinate. Together, these findings accentuate the need to consider model-specific characteristics when assessing the occurrence of hallucinations.
|
| 25 |
+
|
| 26 |
+
Proposed Approach. Motivated by these observations, we introduce SAC<sup>3</sup>, a new sampling-based approach utilizing semantic-aware cross-check consistency to improve the detection of hallucinations in black-box LMs. An overview of our approach is provided in Fig. 2. To address question-level hallucination, we introduce a mechanism that perturbs semantically equivalent questions to evaluate the consistency of LMs' responses across variants of the same question. By examining the generated answers to these perturbed questions, we are able to identify cases where the LM consistently provides incorrect responses to a specific question, which is indicative of a question-level hallucination. Furthermore, we address model-level hallucination by introducing cross-model response consistency checking, which involves comparing the responses of different LMs to the same set of questions. By identifying discrepancies between the responses of different models, we are able to pinpoint cases where certain models exhibit hallucinations while
|
| 27 |
+
|
| 28 |
+
others provide correct answers. Integrating these cross-checking extensions into our approach significantly improves its ability to detect hallucinations that go beyond self-consistency, thereby providing a more comprehensive assessment of the presence of question-level and model-level hallucinations.
|
| 29 |
+
|
| 30 |
+
Effectiveness of SAC<sup>3</sup>. We demonstrate the effectiveness of SAC<sup>3</sup> in multiple classification and open-domain generation QA datasets. In the classification QA tasks, our approach achieves a high AUROC score of $99.4\%$ and $97.0\%$ respectively, which significantly outperforms the self-consistency baseline. In the case of open-domain generation QA tasks, our approach achieves an AUROC score of $88.0\%$ and $77.2\%$ , which substantially improves upon the self-consistency baseline by a large margin $(+13.8\%, \text{and} +6.7\%$ respectively).
|
| 31 |
+
|
| 32 |
+
# 2 Related Work
|
| 33 |
+
|
| 34 |
+
Hallucination in LMs. The issue of hallucination in language models (LMs) has gained significant attention due to its negative impact on performance and the risks it introduces in various natural language processing (NLP) tasks, such as machine translation (Zhou et al., 2020), summarization (Cao et al., 2022), dialogue generation (Das et al., 2023), and question answering (Zhang et al., 2023a; Zheng
|
| 35 |
+
|
| 36 |
+
<table><tr><td>Method</td><td>Input</td><td>Model</td><td>Output</td><td>Consistency</td><td>Factuality</td></tr><tr><td rowspan="3">Self-consistency</td><td>Q: "Is 3691 a prime number?"</td><td>Target</td><td>"No, 3691 is not a prime number as it is divisible by 7 and 13."</td><td rowspan="3">✓</td><td rowspan="3">✗</td></tr><tr><td>Q: "Is 3691 a prime number?"</td><td>Target</td><td>"No, 3691 is not a prime number as it is divisible by 7 and 13."</td></tr><tr><td>Q: "Is 3691 a prime number?"</td><td>Target</td><td>"No, 3691 is not a prime number. It can be divided evenly by 7 and 19."</td></tr><tr><td rowspan="3">Cross-Q consistency</td><td>Q1: "Is the number 3691 prime?"</td><td>Target</td><td>"Yes, the number 3691 is prime."</td><td rowspan="3">✗</td><td rowspan="3">✓</td></tr><tr><td>Q2: "Are the only factors of 3691 itself and one?"</td><td>Target</td><td>"Yes, the only factors of 3691 are itself and one."</td></tr><tr><td>Q3: "Can 3691 only be divided by 1 and 3691?"</td><td>Target</td><td>"Yes, 3691 is a prime number and can only be divided by 1 and 3691."</td></tr><tr><td>Cross-M consistency</td><td>Q: "Is 3691 a prime number?"</td><td>Verifier</td><td>"Yes, 3691 is a prime number."</td><td>✗</td><td>✓</td></tr><tr><td rowspan="3">Cross-M & Q consistency</td><td>Q1: "Is the number 3691 prime?"</td><td>Verifier</td><td>"Yes."</td><td rowspan="3">✗</td><td rowspan="3">✓</td></tr><tr><td>Q2: "Are the only factors of 3691 itself and one?"</td><td>Verifier</td><td>"Yes, the only factors of 3691 are 1 and itself."</td></tr><tr><td>Q3: "Can 3691 only be divided by 1 and 3691?"</td><td>Verifier</td><td>"Yes, 3691 can only be divided by 1 and 3691."</td></tr></table>
|
| 37 |
+
|
| 38 |
+
Table 1: An illustrative example of self-consistency, cross-question consistency, and cross-model consistency check. The original question and answer are "Is 3691 a prime number?" and "No, 3691 is not a prime number. It is divisible by 7 and 13", respectively. Each row presents a set of sampled QA pairs along with its consistency regarding the original answer, and the predicted factuality of the original answer.
|
| 39 |
+
|
| 40 |
+
et al., 2023b; Dhuliawala et al., 2023). Recent survey (Ji et al., 2023; Zhang et al., 2023c; Ye et al., 2023) and evaluation benchmarks (Liu et al., 2021; Li et al., 2023a; Yang et al., 2023) have highlighted the importance of addressing this issue. Previous research has explored hallucination evaluation using confidence-based approaches (Xiao and Wang, 2021; Varshney et al., 2023; Chen and Mueller, 2023) that require access to token-level log probability (Kuhn et al., 2023; Cole et al., 2023) or supervised tuning (Agrawal et al., 2023; Li et al., 2023b) that relies on internal states of the LM. However, these methods may not be applicable when only API access to the LM is available (Agrawal et al., 2023). Another approach involves retrieving knowledge from external databases to tackle hallucinations (Ji et al., 2022; Zheng et al., 2023a; Peng et al., 2023; Zhang et al., 2023b). In contrast to these studies, our work focuses on detecting hallucinations in open-domain QA tasks using black-box LMs, without relying on external resources.
|
| 41 |
+
|
| 42 |
+
Consistency Evaluation of LMs. An essential characteristic of logically valid intelligent systems is self-consistency, which entails that no two statements provided by the system contradict each other. Self-consistency is defined by Elazar et al. (2021) as the invariance of an LM's responses across various types of semantics-preserving prompt transformations. This definition is further enriched by multiple other consistency categories proposed by Jang et al. (2022). Wang et al. (2022) demonstrates that self-consistency can significantly enhance the chain of thought reasoning in LMs. Without self
|
| 43 |
+
|
| 44 |
+
consistency, it becomes challenging to regard LMs as reliable or trustworthy systems. Recent studies employ self-consistency to detect hallucinations based on pretrained LMs (Manakul et al., 2023) and instruction-tuned LMs (Mündler et al., 2023). Although these methods exhibit promising accuracy on several specific tasks, potential failures (Chen et al., 2023) of self-consistency are overlooked in the current settings, as existing LMs frequently provide inconsistent responses to questions (Mitchell et al., 2022) and factual knowledge inquiries (Elazar et al., 2021; Tam et al., 2023; Gekhman et al., 2023). Our work addresses these concerns by introducing a cross-check consistency approach, aiming to bridge the gap between self-consistency and factual assessment.
|
| 45 |
+
|
| 46 |
+
# 3 Self-consistency Limitations in Factuality Assessment
|
| 47 |
+
|
| 48 |
+
The essential assumption of self-consistency in factuality assessment is that if the LM has the knowledge of the concept, responses sampled from its output distribution, should be similar and consistent; conversely, if the LM lacks corresponding knowledge, the sampled responses would contain hallucinated facts that are diverged and contradictory. Although this assumption may seem reasonable, it does not always hold in practice (more details are provided in the Appendix A). Specifically, we argue that solely checking the LM's self-consistency is insufficient for detecting hallucination or verifying factuality under the following two circumstances:
|
| 49 |
+
|
| 50 |
+
1. LMs may produce consistently hallucinated facts. We observe that for certain questions, LMs may output consistently wrong answers. For instance, as shown in Fig. 1, when prompted with the question "Is pi smaller than 3.2?", ChatGPT consistently generates incorrect answers. In this case, where the generated responses are consistent but non-factual, solely relying on self-consistency checking of a single model would yield false negative hallucination detection results.
|
| 51 |
+
|
| 52 |
+
2. Even in cases when LMs generate factual statements in their original response, the stochastic sampled responses may lack veracity. For example, the original answer (Answer 1) of ChatGPT under zero temperature is correct regarding the senator search question as shown in Fig. 1. However, when sampled with a higher temperature, ChatGPT generates multiple incorrect responses (Answer 2 and Answer $m$ ). In this scenario, where the sampled responses are inconsistent and disagree with the original response which itself is factually correct, methods that rely solely on model self-checking would produce false positives.
|
| 53 |
+
|
| 54 |
+
In summary, although the inconsistency of sampled responses has been empirically demonstrated to be correlated with hallucinated facts on certain tasks, in general, self-consistency is neither necessary nor sufficient to verify the veracity of large LMs' statements. Therefore, methods based solely on self-consistency checking may not be able to accurately detect hallucinations in complex QA and open-domain generation tasks, which motivates us to design a more reliable and robust factuality assessment method that extends this idea.
|
| 55 |
+
|
| 56 |
+
# 4 SAC<sup>3</sup>: Semantic-Aware Cross-check Consistency
|
| 57 |
+
|
| 58 |
+
This section describes the proposed semantic-aware cross-check consistency approach, a high-level overview of which is provided in Fig. 1. Additionally, an illustrative example of each component is presented in Table 1. Here, we walk through each component in detail.
|
| 59 |
+
|
| 60 |
+
# 4.1 Stage 1: Question-level Cross-checking via Semantically Equivalent Perturbations
|
| 61 |
+
|
| 62 |
+
Contrary to existing techniques that assess semantic equivalence through entailment or paraphrasing, our approach involves rephrasing the input query by generating alternative inputs that preserve semantic equivalence, i.e., semantically equivalent input per
|
| 63 |
+
|
| 64 |
+
turbation. To achieve this, we leverage advances in LLM prompting. Starting with a queried input $\pmb{x}_0$ , we acquire a set of $k$ semantically equivalent inputs $\{x_1, x_2, \dots, x_k\}$ through the prompt: "For the question [queried Question], provide $k$ semantically equivalent questions".
|
| 65 |
+
|
| 66 |
+
To ensure the quality of the generated inputs in this step, we further double-check the semantic equivalence between the generated inputs $\{x_{1}, x_{2}, \ldots, x_{k}\}$ and the queried input $x_{0}$ in a pair-wise manner using the prompt "Are the following two inputs semantically equivalent? [queried INPUT] [generated INPUT]" and filtering out the inputs that do not share the same semantic meaning as the original input. The complete prompt templates used in this work are provided in the Appendix B.
|
| 67 |
+
|
| 68 |
+
# 4.2 Stage 2: Model-level Cross-check with Additional Verifier LM
|
| 69 |
+
|
| 70 |
+
Let $s_0$ denote the original response from a target LM $\mathcal{T}$ based on a given query $x_0$ . Our objective is to detect whether $s_0$ is hallucinated by sampling responses from the predictive distribution of $\mathcal{T}$ . To avoid model-level hallucination, we introduce an additional verifier LM denoted as $\mathcal{V}$ for model-level cross-checking. We define the responses from both models as:
|
| 71 |
+
|
| 72 |
+
$$
|
| 73 |
+
\boldsymbol {s} _ {\mathcal {T} _ {j}} = \mathcal {T} (\boldsymbol {x} _ {j}), \boldsymbol {s} _ {\mathcal {V} _ {j}} = \mathcal {V} (\boldsymbol {x} _ {j}), j = 1, \dots , k, \tag {1}
|
| 74 |
+
$$
|
| 75 |
+
|
| 76 |
+
where $k$ is the length of the generated semantically equivalent inputs $\{x_{1}, x_{2}, \ldots, x_{k}\}$ in stage 1. To assess the factuality of $x_{0}$ , the self-checking mechanism operates by drawing a set of $n_{s}$ stochastic response samples from the target LM: $\mathcal{S}_{\mathcal{T}_0} = \{s_{\mathcal{T}_0}^1, s_{\mathcal{T}_0}^2, \ldots, s_{\mathcal{T}_0}^{n_s}\}$ . Similarly, we can apply the same self-checking mechanism to the verifier LM to generate another set of $n_m$ responses: $\mathcal{S}_{\mathcal{V}_0} = \{s_{\mathcal{V}_0}^1, s_{\mathcal{V}_0}^2, \ldots, s_{\mathcal{V}_0}^{n_m}\}$ . To perform question-level cross-check, for each perturbed input $x_k$ , we generate $n_q$ sampled response sequences $\mathcal{S}_{\mathcal{T}_k} = \{s_{\mathcal{T}_k}^1, s_{\mathcal{T}_k}^2, \ldots, s_{\mathcal{T}_k}^{n_q}\}$ from the target LM $\mathcal{T}$ and $n_{qm}$ sampled responses $\mathcal{S}_{\mathcal{V}_k} = \{s_{\mathcal{V}_k}^1, s_{\mathcal{V}_k}^2, \ldots, s_{\mathcal{V}_k}^{n_{qm}}\}$ from the verifier LM $\mathcal{V}$ .
|
| 77 |
+
|
| 78 |
+
Finally, we collect the total sampled sets $S = \{S_{\mathcal{T}_0}, S_{\mathcal{V}_0}, S_{\mathcal{T}_k}, S_{\mathcal{V}_k}\}$ by combining all samples drawn from self-checking and cross-checking, which will be used next for calculating a consistency score.
|
| 79 |
+
|
| 80 |
+

|
| 81 |
+
Figure 2: Overview of the proposed semantic-aware cross-check consistency $(\mathrm{SAC}^3)$ method.
|
| 82 |
+
|
| 83 |
+
# 4.3 Stage 3: Consistency Score Calculation
|
| 84 |
+
|
| 85 |
+
This stage uses the generated sample sets in all previous stages to calculate a numerical consistency score that captures the question-level and model-level cross-checking paradigm.
|
| 86 |
+
|
| 87 |
+
# 4.3.1 Semantic-aware Consistency Check of QA Pairs
|
| 88 |
+
|
| 89 |
+
Most of the existing works mainly focus on examining the consistency of LM outputs while ignoring the effect of the inputs. However, in QA tasks, it is important to consider both inputs and outputs when measuring semantic equivalence, as the same question can be rephrased in many ways. Although the answers to these questions (e.g., "no" and "yes") may not be lexically equivalent, the QA pairs as a whole can be semantically equivalent. In light of this, we propose to check the semantic consistency of the QA pairs instead of the answer only.
|
| 90 |
+
|
| 91 |
+
# 4.3.2 Self-checking Consistency (SC²) Score
|
| 92 |
+
|
| 93 |
+
Let $\mathcal{C}(\cdot, \cdot)$ denote a semantic equivalence checking operator that takes two QA pairs as inputs. The operator $\mathcal{C}$ returns "Yes" if the two QA pairs are semantically equivalent, and "No" otherwise. This operator should be reflexive, symmetric, and transitive. We implement the checking operator using an LM by leveraging the prompt: "Are the following two Question-Answering (QA) pairs semantically equivalent? [QA PAIR 1] [QA PAIR 2]. We then map the best guess to a numerical semantic equivalent score: $\{\text{"Yes"} \rightarrow 0.0, \text{"No"} \rightarrow 1.0\}$ . We use $\mathcal{P}_0 = (\pmb{x}_0, \pmb{s}_0)$ to denote the original QA pair. The self-checking score $\mathcal{Z}_{\mathrm{SC}^2}$ of the target LM $\mathcal{T}$ can be calculated by
|
| 94 |
+
|
| 95 |
+
$$
|
| 96 |
+
\mathcal {Z} _ {\mathrm {S C} ^ {2}} = \frac {1}{n _ {s}} \sum_ {i = 1} ^ {n _ {s}} \mathcal {C} \left(\mathcal {P} _ {0}, \mathcal {P} _ {\mathcal {S} _ {\tau_ {0}}} ^ {i}\right), \tag {2}
|
| 97 |
+
$$
|
| 98 |
+
|
| 99 |
+
where $\mathcal{P}_{\mathcal{S}_{\mathcal{T}_0}} = \{(x_0, s_{\mathcal{T}_0}^1), \dots, (x_0, s_{\mathcal{T}_0}^{n_s})\}$ represents the QA pairs generated in the self-checking scenario.
|
| 100 |
+
|
| 101 |
+
# 4.3.3 Question-level Consistency (SAC $^3$ -Q) Score
|
| 102 |
+
|
| 103 |
+
Besides self-checking the original question $\pmb{x}_0$ , SAC<sup>3</sup> further assesses cross-check consistency of perturbed questions $\{x_1, x_2, \dots, x_k\}$ . The corresponding QA pairs compose a two-dimensional matrix, where each row corresponds to a perturbed question ( $k$ in total), and each column corresponds to a sampled response ( $n_q$ in total):
|
| 104 |
+
|
| 105 |
+
$$
|
| 106 |
+
\mathcal {P} _ {\mathcal {S} _ {\mathcal {T} _ {j}}} ^ {i} = \left[ \begin{array}{c c c} \left(\boldsymbol {x} _ {1}, \mathcal {S} _ {\mathcal {T} _ {1}} ^ {1}\right) & \dots & \left(\boldsymbol {x} _ {1}, \mathcal {S} _ {\mathcal {T} _ {1}} ^ {n _ {q}}\right) \\ \dots & \dots & \dots \\ \left(\boldsymbol {x} _ {k}, \mathcal {S} _ {\mathcal {T} _ {k}} ^ {1}\right) & \dots & \left(\boldsymbol {x} _ {k}, \mathcal {S} _ {\mathcal {T} _ {k}} ^ {n _ {q}}\right) \end{array} \right]. \tag {3}
|
| 107 |
+
$$
|
| 108 |
+
|
| 109 |
+
Therefore, the question-level cross-checking consistency score $\mathcal{Z}_{\mathrm{SAC}^3 -\mathrm{Q}}$ can be obtained by
|
| 110 |
+
|
| 111 |
+
$$
|
| 112 |
+
\mathcal {Z} _ {\mathrm {S A C} ^ {3} - \mathrm {Q}} = \frac {1}{n _ {q} \cdot k} \sum_ {i = 1} ^ {n _ {q}} \sum_ {j = 1} ^ {k} \mathcal {C} \left(\mathcal {P} _ {0}, \mathcal {P} _ {\mathcal {S} _ {\mathcal {T} _ {j}}} ^ {i}\right). \tag {4}
|
| 113 |
+
$$
|
| 114 |
+
|
| 115 |
+
# 4.3.4 Model-level Consistency (SAC $^3$ -M & SAC $^3$ -QM) Score
|
| 116 |
+
|
| 117 |
+
In addition to the question-level score, a model-level cross-check score is calculated by performing cross-model checking and cross-question checking using the verifier LM $\nu$ . Specifically, for the original question $x_0$ , the model-level cross-checking consistency score $\mathcal{Z}_{\mathrm{SAC}^3 -\mathsf{M}}$ is computed by
|
| 118 |
+
|
| 119 |
+
$$
|
| 120 |
+
\mathcal {Z} _ {\mathrm {S A C} ^ {3} - \mathrm {M}} = \frac {1}{n _ {m}} \sum_ {i = 1} ^ {n _ {m}} \mathcal {C} \left(\mathcal {P} _ {0}, \mathcal {P} _ {\mathcal {S} _ {\mathcal {V} _ {0}}} ^ {i}\right), \tag {5}
|
| 121 |
+
$$
|
| 122 |
+
|
| 123 |
+
where $\mathcal{P}_{\mathcal{S}_{\mathcal{V}_0}} = \{(x_0,s_{\mathcal{V}_0}^1),\ldots ,(x_0,s_{\mathcal{V}_0}^{n_m})\}$ is the QA pairs generated by the verified LM $\nu$
|
| 124 |
+
|
| 125 |
+
The cross-question consistency score on the verifier LM is computed on the QA pairs produced by $\nu$ :
|
| 126 |
+
|
| 127 |
+
$$
|
| 128 |
+
\mathcal {P} _ {\mathcal {S} _ {\mathcal {V} _ {j}}} ^ {i} = \left[ \begin{array}{c c c} \left(\boldsymbol {x} _ {1}, \mathcal {S} _ {\mathcal {V} _ {1}} ^ {1}\right) & \dots & \left(\boldsymbol {x} _ {1}, \mathcal {S} _ {\mathcal {V} _ {1}} ^ {n _ {q m}}\right) \\ \dots & \dots & \dots \\ \left(\boldsymbol {x} _ {k}, \mathcal {S} _ {\mathcal {V} _ {k}} ^ {1}\right) & \dots & \left(\boldsymbol {x} _ {k}, \mathcal {S} _ {\mathcal {V} _ {k}} ^ {n _ {q m}}\right) \end{array} \right]. \tag {6}
|
| 129 |
+
$$
|
| 130 |
+
|
| 131 |
+
The cross-model cross-question consistency score
|
| 132 |
+
|
| 133 |
+
can thus be obtained through
|
| 134 |
+
|
| 135 |
+
$$
|
| 136 |
+
\mathcal {Z} _ {\mathrm {S A C} ^ {3} - \mathrm {Q M}} = \frac {1}{n _ {q m} \cdot k} \sum_ {i = 1} ^ {n _ {q m}} \sum_ {j = 1} ^ {k} \mathcal {C} \left(\mathcal {P} _ {0}, \mathcal {P} _ {\mathcal {S} _ {\mathcal {V} _ {j}}} ^ {i}\right). \tag {7}
|
| 137 |
+
$$
|
| 138 |
+
|
| 139 |
+
# 4.3.5 Final Score and Model Confidence
|
| 140 |
+
|
| 141 |
+
The different variants of SAC<sup>3</sup> capture different aspects of the uncertainty about the original response and should complement each other. We thus consider a combination of all variants including SAC<sup>3</sup>-Q, SAC<sup>3</sup>-M, SAC<sup>3</sup>-QM as the final score:
|
| 142 |
+
|
| 143 |
+
$$
|
| 144 |
+
\mathcal {Z} _ {\mathrm {S A C} ^ {3} - \mathrm {a l l}} = \mathcal {Z} _ {\mathrm {S A C} ^ {3} - \mathrm {Q}} + \lambda \left(\mathcal {Z} _ {\mathrm {S A C} ^ {3} - \mathrm {M}} + \mathcal {Z} _ {\mathrm {S A C} ^ {3} - \mathrm {Q M}}\right), \tag {8}
|
| 145 |
+
$$
|
| 146 |
+
|
| 147 |
+
where $\lambda$ is a weight factor for the verifier LM. Unless mentioned otherwise, we use $\lambda = 1$ by default in our experiments. In practice, as the computation of each component is independent, they can be computed in parallel to reduce latency. The detection prediction is made by comparing the final score with a preset threshold. In addition to the computed score, we also ask the target LM to generate a verbalized confidence score (Tian et al., 2023) along with its prediction when checking the semantic equivalence of QA pairs. More discussions are offered in the Appendix C.2.
|
| 148 |
+
|
| 149 |
+
# 5 Data and Annotation
|
| 150 |
+
|
| 151 |
+
We evaluate our hallucination detection approach on two categories of QA tasks, namely, classification QA and generation QA, with each category containing two datasets. Following prior work (Zhang et al., 2023a), we use the following two binary classification datasets for evaluation on the classification QA task:
|
| 152 |
+
|
| 153 |
+
- Prime number: this dataset contains 500 questions that query the primality of a randomly chosen prime number between 1,000 and 20,000, where the factual answer is always "Yes". The synthesized hallucinated answers are "No, it is not a prime number".
|
| 154 |
+
- Senator search: the dataset consists of 500 questions that follow the following template: "Was there ever a US senator that represented the state of [US STATE NAME] and whose alma mater was [US COLLEGE NAME]?" The factual answer is always "No". We also generate hallucinated answers: "Yes, there was a US senator that represented the state of [US STATE NAME] and whose alma mater was [US COLLEGE NAME].".
|
| 155 |
+
|
| 156 |
+
As for the generation QA tasks, we take questions from the following two open-domain QA datasets and generate answers using LLMs. Then we manually annotate the factuality of the answers following previous work (Li et al., 2023a).
|
| 157 |
+
|
| 158 |
+
- HotpotQA-halu: We randomly sample 250 examples from the training set of HotpotQA (Yang et al., 2018) and generate hallucinated answers drawn from gpt-3.5-turbo. Then we manually annotate the answers by comparing the ground truth and knowledge.
|
| 159 |
+
- NQ-open-halu: Natural Questions (NQ)-open (Lee et al., 2019) is a more challenging open domain QA benchmark (Kwiatkowski et al., 2019). We use the same setting as HotpotQA-halu to create a small-scale dataset that consists of 250 non-factual and factual examples with manual annotations.
|
| 160 |
+
|
| 161 |
+
Please find more relevant details about data annotations in the Appendix C.3.
|
| 162 |
+
|
| 163 |
+
# 6 Experiments
|
| 164 |
+
|
| 165 |
+
# 6.1 Experimental Setup
|
| 166 |
+
|
| 167 |
+
Evaluation Models. We use gpt-3.5-turbo from OpenAI as the target LM for our experiment. The verifier LM is chosen from the following two models: (1) Falcon-7b-instruct (Al-mazrouei et al., 2023): an open-source causal decoder-only model built by TII that is trained on 1,500B tokens of RefinedWeb (Penedo et al., 2023) and further enhanced using the curated corpora; and (2) Guanaco-33b: an open-source instruction-following models through QLoRA (Dettmers et al., 2023) tuning of LLaMA (Touvron et al., 2023) base model on the OASST1 dataset.
|
| 168 |
+
|
| 169 |
+
Implementation Details. The evaluation is conducted using Azure OpenAI API. When performing semantic perturbations and consistency checking, we set the temperature to 0.0 to get deterministic high-quality outputs. Given a specific input query, we generate $k = 10$ semantically equivalent inputs using the prompt described in Section 4.1. For the self-checking-based method $\mathsf{SC}^2$ , we follow prior work (Manakul et al., 2023) to set the temperature to 1.0 and generate $n_s = 10$ stochastic samples. For $\mathrm{SAC}^3 -\mathrm{Q}$ and $\mathrm{SAC}^3 -\mathrm{QM}$ , we set $n_q = n_{qm} = 1$ to reduce computational cost. To further reduce the inference cost, we set $n_m = 1$ by default and
|
| 170 |
+
|
| 171 |
+
combine SAC $^{3}$ -M with SAC $^{3}$ -QM to report the model-level results. We use hallucination detection accuracy and area under the ROC curve (AUROC) to evaluate the performance. In addition to the estimated hallucination score, we also show the verbalized probabilities (Tian et al., 2023) from the target LM for comparison. We execute all experiments on 8 NVIDIA V100 32G GPUs.
|
| 172 |
+
|
| 173 |
+
<table><tr><td rowspan="2">Method</td><td colspan="2">Prime number</td><td colspan="2">Senator search</td></tr><tr><td>Score</td><td>Confidence</td><td>Score</td><td>Confidence</td></tr><tr><td>SC2(gpt-3.5-turbo)</td><td>65.9</td><td>67.5</td><td>56.1</td><td>53.1</td></tr><tr><td>SAC3-Q(gpt-3.5-turbo)</td><td>99.4</td><td>99.7</td><td>99.7</td><td>99.7</td></tr></table>
|
| 174 |
+
|
| 175 |
+
# 6.2 Evaluation Results
|
| 176 |
+
|
| 177 |
+
# 6.2.1 Classification QA
|
| 178 |
+
|
| 179 |
+
Balanced Dataset. We first experiment on balanced datasets with $50\%$ hallucinated samples and $50\%$ factual samples. Table 2 compares the detection performance of $\mathsf{SC^2}$ and $\mathrm{SAC}^3 -\mathrm{Q}$ in terms of AUROC and verbalized confidence score. We observe that self-checking $(\mathrm{SC^2})$ performs poorly on both datasets, with a low AUROC of $65.9\%$ and $56.1\%$ , respectively. Our question-level cross-checking $(\mathrm{SAC}^3 -\mathrm{Q})$ significantly outperforms the $\mathrm{SC^2}$ baseline achieving $>99\%$ AUROC on both datasets and is in line with the verbalized confidence score, confirming the effectiveness of cross-checking.
|
| 180 |
+
|
| 181 |
+
Unbalanced Dataset. We further evaluate our method in a more challenging scenario where the dataset only contains hallucinated samples. Table 3 presents the accuracy of detecting hallucinated samples using a preset threshold of 0.5. In this case, the performance of self-check drops significantly to $48.2\%$ and $29.6\%$ respectively. $\mathrm{SAC}^3 -\mathrm{Q}$ still outperforms $\mathrm{SC}^2$ by a large margin. The model-level cross-check with verifier LMs performs well in the prime number dataset but fails to accurately detect hallucination in the senator search dataset. This is because both verifier LMs refuse to answer a large portion of the questions on this dataset due to a lack of sufficient information. By combining the target LM, $\mathrm{SAC}^3$ -a11 with Guanaco-33b achieves the highest detection accuracy compared to other baselines $\mathrm{SC}^2 (+51.2\%)$ , $\mathrm{SAC}^3 -\mathrm{Q} (+6.2\%)$ , and $\mathrm{SAC}^3 -\mathrm{QM} (+5.0\%)$ .
|
| 182 |
+
|
| 183 |
+
Table 2: AUROC on classification QA tasks with $50\%$ hallucinated samples and $50\%$ factual samples.
|
| 184 |
+
|
| 185 |
+
<table><tr><td rowspan="2">Method</td><td colspan="2">Prime number</td><td colspan="2">Senator search</td></tr><tr><td>Score</td><td>Confidence</td><td>Score</td><td>Confidence</td></tr><tr><td>SC2(gpt-3.5-turbo)</td><td>48.2</td><td>51.0</td><td>29.6</td><td>30.6</td></tr><tr><td>SAC3-Q(gpt-3.5-turbo)</td><td>93.2</td><td>96.4</td><td>97.0</td><td>97.4</td></tr><tr><td>SAC3-QM (Falcon-7b)</td><td>89.8</td><td>91.2</td><td>21.0</td><td>21.8</td></tr><tr><td>SAC3-QM (Guanaco-33b)</td><td>94.4</td><td>96.3</td><td>45.6</td><td>46.2</td></tr><tr><td>SAC3-all (Falcon-7b)</td><td>97.8</td><td>98.0</td><td>84.6</td><td>85.6</td></tr><tr><td>SAC3-all (Guanaco-33b)</td><td>99.4</td><td>99.4</td><td>85.6</td><td>86.7</td></tr></table>
|
| 186 |
+
|
| 187 |
+
Table 3: Accuracy on classification QA tasks with $100\%$ hallucinated samples (with the threshold set to 0.5).
|
| 188 |
+
|
| 189 |
+
Impact of Threshold. Since the choice of threshold has a significant impact on the detection accuracy in the case where the dataset only contains positive (hallucinated) samples, we further experiment with different thresholds and present the results in Fig. 3. We observe that $\mathrm{SAC}^3$ -Q and $\mathrm{SAC}^3$ -a11 with Guanaco-33b are more robust against large threshold values and outperform $\mathrm{SC}^2$ in most cases.
|
| 190 |
+
|
| 191 |
+

|
| 192 |
+
|
| 193 |
+

|
| 194 |
+
Figure 3: Impact of threshold on detection accuracy.
|
| 195 |
+
|
| 196 |
+

|
| 197 |
+
|
| 198 |
+
Why Does Self-checking Fail? To further understand why self-checking methods fail to detect some hallucinated responses, we visualize the distribution of consistency scores using histogram plots in Fig. 4. We observe that for $\mathsf{SC}^2$ , a significant portion of hallucinated samples received highly consistent predictions. In other words, the target LM made consistently wrong predictions due to a lack of question and model diversity, which aligns with our analysis in Section 3. On the other hand, benefiting from the semantically equivalent question perturbation, $\mathrm{SAC}^3 -Q$ ’s scores are more spread out in the inconsistent region, which helps to improve the effectiveness of detecting hallucinations by choosing a proper threshold.
|
| 199 |
+
|
| 200 |
+
# 6.2.2 Open-domain Generation QA
|
| 201 |
+
|
| 202 |
+
Compared to the classification QA tasks, detecting hallucinations in open-domain generation QA
|
| 203 |
+
|
| 204 |
+

|
| 205 |
+
Figure 4: Histogram of hallucination score.
|
| 206 |
+
|
| 207 |
+
tasks is more challenging. As shown in Table 4, $\mathrm{SAC}^3 -\mathrm{Q}$ exhibits better AUROC than $\mathrm{SC}^2$ $(+7\%)$ in both datasets. Compared to $\mathrm{SAC}^3 -\mathrm{Q}$ , $\mathrm{SAC}^3 -\mathrm{QM}$ shows $6.7\%$ improvement in the HotpotQA-halu dataset but is slightly worse in the NQ open dataset. $\mathrm{SAC}^3$ -all leverages the advantages of question-level and model-level cross-checking and achieves consistently good performance in both datasets.
|
| 208 |
+
|
| 209 |
+
<table><tr><td rowspan="2" colspan="2">Method</td><td colspan="2">HotpotQA-halu</td><td colspan="2">NQ-open-halu</td></tr><tr><td>Score</td><td>Confidence</td><td>Score</td><td>Confidence</td></tr><tr><td colspan="2">SC2(gpt-3.5-turbo)</td><td>74.2</td><td>77.0</td><td>70.5</td><td>72.7</td></tr><tr><td colspan="2">SAC3-Q(gpt-3.5-turbo)</td><td>81.3</td><td>81.4</td><td>77.2</td><td>78.5</td></tr><tr><td colspan="2">SAC3-QM (Falcon-7b)</td><td>83.0</td><td>79.5</td><td>67.5</td><td>62.0</td></tr><tr><td colspan="2">SAC3-QM (Guanaco-33b)</td><td>88.0</td><td>85.2</td><td>72.7</td><td>72.7</td></tr><tr><td colspan="2">SAC3-all (Falcon-7b)</td><td>84.5</td><td>84.5</td><td>77.1</td><td>77.2</td></tr><tr><td colspan="2">SAC3-all (Guanaco-33b)</td><td>87.0</td><td>86.8</td><td>77.2</td><td>77.8</td></tr></table>
|
| 210 |
+
|
| 211 |
+
Table 4: AUROC on open-domain generation QA tasks.
|
| 212 |
+
|
| 213 |
+
Effect of Verifier LM Weight. In our previous experiments, we assigned equal importance to the consistency score computed by the target and verifier LM. However, typically, the target LM and the verifier LM have different architectures and scales such that the user may have different levels of trust in their output truthfulness. This difference in trust can be incorporated by introducing a weight $\lambda$ to the consistency score produced by the verifier LM. For instance, if the goal is to detect hallucination in a specialized domain and the verifier LM is a domain-specific model developed for this domain, we can assign a large weight to its scores (e.g., $\lambda > 1.0$ ). In the general case, where the verifier LM is a small-sized open-source model, we can apply a small weight value (e.g., $\lambda < 1.0$ ) to discount the influence of the verifier LM in the final score. Fig. 5 visualizes the effect of various weight factors on the generation QA datasets. We observe that SAC<sup>3</sup>-all with a higher weight would result in a larger advantage over SAC<sup>3</sup>-Q in
|
| 214 |
+
|
| 215 |
+
the HotpotQA-halu task, where the verifier LM outperforms the target LM. On the contrary, in the NQ open task where the target LM shows competitive performance, a smaller weight would yield better results.
|
| 216 |
+
|
| 217 |
+

|
| 218 |
+
|
| 219 |
+

|
| 220 |
+
Figure 5: Effect of verifier LM weight on AUROC.
|
| 221 |
+
|
| 222 |
+
Effect of the Number of Perturbed Questions. The performance of sampling-based methods is expected to improve as the sample size increases, at the cost of higher latency and computational cost. In Fig. 6, we study this trade-off by varying the number of perturbed questions $k$ from 2 to 10. We observe that the performance of SAC³ increases as more question samples are used but the performance gain gradually diminishes after using more than 5 question samples. This suggests that in practice we could use 2-4 question samples to achieve reasonably good performance at a low computational cost.
|
| 223 |
+
|
| 224 |
+

|
| 225 |
+
Figure 6: Performance of SAC<sup>3</sup> with varying number of perturbed questions.
|
| 226 |
+
|
| 227 |
+
Effect of the Model Type. Our proposed SAC<sup>3</sup> framework does not restrict the type of LLM employed and can be naturally extended to various
|
| 228 |
+
|
| 229 |
+
types of target LLMs. To verify this, in addition to GPT-3.5 (gpt-3.5-turbo), we conduct experiments using GPT-4 (gpt-4) and PaLM 2 (chat-bison) on the considered four datasets in the setting of the balanced dataset. The experimental results of comparing the proposed $\mathrm{SAC}^3 -\mathrm{Q}$ with the $\mathrm{SC}^2$ baseline are summarized in Table 5. We observe that the proposed $\mathrm{SAC}^3 -\mathrm{Q}$ consistently outperforms the $\mathrm{SC}^2$ baseline across all LLM variants.
|
| 230 |
+
|
| 231 |
+
<table><tr><td>Method</td><td>Prime Number</td><td>Senator Search</td><td>HotpotQA -halu</td><td>NQ-open -halu</td></tr><tr><td>SC2(gpt-3.5-turbo)</td><td>48.2</td><td>29.6</td><td>74.2</td><td>70.5</td></tr><tr><td>SC2(gpt-4)</td><td>38.3</td><td>18.4</td><td>79.7</td><td>76.3</td></tr><tr><td>SC2(chat-bison)</td><td>26.9</td><td>19.2</td><td>75.8</td><td>67.9</td></tr><tr><td>SAC3-Q (gpt-3.5-turbo)</td><td>93.2</td><td>97.0</td><td>81.3</td><td>77.2</td></tr><tr><td>SAC3-Q (gpt-4)</td><td>91.1</td><td>61.6</td><td>87.2</td><td>82.9</td></tr><tr><td>SAC3-Q (chat-bison)</td><td>90.3</td><td>66.3</td><td>82.8</td><td>72.7</td></tr></table>
|
| 232 |
+
|
| 233 |
+
Table 5: Accuracy of different LLMs (GPT-3.5, GPT-4, and PaLM 2) on classification and generation QA tasks.
|
| 234 |
+
|
| 235 |
+
Computational Cost. We monitor the computational cost of our approach based on the number of model evaluations consumed by OpenAI API and open-source LLMs inference. Assuming the number of samples equals the number of perturbed questions, i.e., $n_s = n_m = n_q = n_{qm}$ , the cost of $\mathsf{SC^2}$ is $n_s$ API calls, and our $\mathsf{SAC^3}$ -all needs $n_s$ target LM calls plus $2 \times n_s$ verifier LM calls. Beyond the model evaluations, $\mathsf{SAC^3}$ may have additional costs from question perturbations and semantic equivalence checking via prompting. Additional discussions can be found in the Appendix C.1.
|
| 236 |
+
|
| 237 |
+
# 7 Conclusion and Discussion
|
| 238 |
+
|
| 239 |
+
We investigate the relationship between the self-consistency of LM and the factuality of the response and propose SAC<sup>3</sup> as a robust hallucination detection approach for black-box LMs. Through extensive empirical analysis, our work highlights several findings. First, self-consistency checking alone is insufficient to effectively detect question-level and model-level hallucinations, where LMs generate consistently wrong responses to certain questions. Second, cross-checking between semantically equivalent questions can reduce the occurrence of persistent hallucinations, potentially by reducing question-level ambiguity. Third, there exists a model-level disparity in hallucinations, which we attribute to the inherent differences in LM capabilities originating from different training procedures and data. Thus, the verifier LM can be selected
|
| 240 |
+
|
| 241 |
+
according to specific tasks to maximize detection accuracy. We believe that our work is an important step towards building reliable LLMs.
|
| 242 |
+
|
| 243 |
+
# Ethics Statement
|
| 244 |
+
|
| 245 |
+
This paper studies hallucination detection in LMs, which has significant broader impacts in the field of natural language processing (NLP) and helps to address ethical considerations regarding trustworthiness and reliability. The research outcome may contribute to the development of more accurate and reliable LMs by mitigating the risks of misinformation and biased outputs and promoting accountability and trust in AI systems.
|
| 246 |
+
|
| 247 |
+
# Limitations
|
| 248 |
+
|
| 249 |
+
Our current experiments focus on the question-answering setting. Further research is needed to assess the generalizability of the proposed framework and the accuracy of semantic equivalence checks on more complex tasks such as conversational or dialogue-based prompting. Additionally, it would be interesting to investigate the efficiency-utility trade-off: we expect increasing sample sizes to improve detection accuracy but may introduce additional cost and latency. Speeding up the implementation through parallelization is also worth exploring.
|
| 250 |
+
|
| 251 |
+
# References
|
| 252 |
+
|
| 253 |
+
Ayush Agrawal, Lester Mackey, and Adam Tauman Kalai. 2023. Do language models know when they're hallucinating references? arXiv preprint arXiv:2305.18248.
|
| 254 |
+
Ebtesam Almazrouei, Hamza Alobeidli, Abdulaziz Alshamsi, Alessandro Cappelli, Ruxandra Cojocaru, Merouane Debbah, Etienne Goffinet, Daniel Heslow, Julien Launay, Quentin Malartic, Badreddine Noune, Baptiste Pannier, and Guilherme Penedo. 2023. Falcon-40B: an open large language model with state-of-the-art performance.
|
| 255 |
+
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.
|
| 256 |
+
Meng Cao, Yue Dong, and Jackie Chi Kit Cheung. 2022. Hallucinated but factual! inspecting the factuality of hallucinations in abstractive summarization. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 3340-3354.
|
| 257 |
+
|
| 258 |
+
Angelica Chen, Jason Phang, Alicia Parrish, Vishakh Padmakumar, Chen Zhao, Samuel R Bowman, and Kyunghyun Cho. 2023. Two failures of self-consistency in the multi-step reasoning of llms. arXiv preprint arXiv:2305.14279.
|
| 259 |
+
Jiuhai Chen and Jonas Mueller. 2023. Quantifying uncertainty in answers from any language model via intrinsic and extrinsic confidence assessment. arXiv preprint arXiv:2308.16175.
|
| 260 |
+
Aakanksha Chowdhery, Sharan Narang, Jacob Devlin, Maarten Bosma, Gaurav Mishra, Adam Roberts, Paul Barham, Hyung Won Chung, Charles Sutton, Sebastian Gehrmann, et al. 2022. Palm: Scaling language modeling with pathways. arXiv preprint arXiv:2204.02311.
|
| 261 |
+
Jeremy R Cole, Michael JQ Zhang, Daniel Gillick, Julian Martin Eisenschlos, Bhuwan Dhingra, and Jacob Eisenstein. 2023. Selectively answering ambiguous questions. arXiv preprint arXiv:2305.14613.
|
| 262 |
+
Souvik Das, Sougata Saha, and Rohini K Srihari. 2023. Diving deep into modes of fact hallucinations in dialogue systems. arXiv preprint arXiv:2301.04449.
|
| 263 |
+
Tim Dettmers, Artidoro Pagnoni, Ari Holtzman, and Luke Zettlemoyer. 2023. Qlora: Efficient finetuning of quantized llms. arXiv preprint arXiv:2305.14314.
|
| 264 |
+
Shehzaad Dhuliawala, Mojtaba Komeili, Jing Xu, Roberta Raileanu, Xian Li, Asli Celikyilmaz, and Jason Weston. 2023. Chain-of-verification reduces hallucination in large language models. arXiv preprint arXiv:2309.11495.
|
| 265 |
+
Yanai Elazar, Nora Kassner, Shauli Ravfogel, Abhilasha Ravichander, Eduard Hovy, Hinrich Schütze, and Yoav Goldberg. 2021. Measuring and improving consistency in pretrained language models. Transactions of the Association for Computational Linguistics, 9:1012-1031.
|
| 266 |
+
Zorik Gekhman, Jonathan Herzig, Roee Aharoni, Chen Elkind, and Idan Szpektor. 2023. Trueteacher: Learning factual consistency evaluation with large language models. arXiv preprint arXiv:2305.11171.
|
| 267 |
+
Myeongjun Jang, Deuk Sin Kwon, and Thomas Lukasiewicz. 2022. Becel: Benchmark for consistency evaluation of language models. In Proceedings of the 29th International Conference on Computational Linguistics, pages 3680-3696.
|
| 268 |
+
Ziwei Ji, Nayeon Lee, Rita Frieske, Tiezheng Yu, Dan Su, Yan Xu, Etsuko Ishii, Ye Jin Bang, Andrea Madotto, and Pascale Fung. 2023. Survey of hallucination in natural language generation. ACM Computing Surveys, 55(12):1-38.
|
| 269 |
+
Ziwei Ji, Zihan Liu, Nayeon Lee, Tiezheng Yu, Bryan Wilie, Min Zeng, and Pascale Fung. 2022. Rho: Reducing hallucination in open-domain dialogues with knowledge grounding. arXiv preprint arXiv:2212.01588.
|
| 270 |
+
|
| 271 |
+
Lorenz Kuhn, Yarin Gal, and Sebastian Farquhar. 2023. Semantic uncertainty: Linguistic invariances for uncertainty estimation in natural language generation. arXiv preprint arXiv:2302.09664.
|
| 272 |
+
Tom Kwiatkowski, Jennimaria Palomaki, Olivia Redfield, Michael Collins, Ankur Parikh, Chris Alberti, Danielle Epstein, Illia Polosukhin, Jacob Devlin, Kenton Lee, et al. 2019. Natural questions: a benchmark for question answering research. Transactions of the Association for Computational Linguistics, 7:453-466.
|
| 273 |
+
Kenton Lee, Ming-Wei Chang, and Kristina Toutanova. 2019. Latent retrieval for weakly supervised open domain question answering. In Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics, pages 6086-6096.
|
| 274 |
+
Junyi Li, Xiaoxue Cheng, Wayne Xin Zhao, Jian-Yun Nie, and Ji-Rong Wen. 2023a. Halueval: A largescale hallucination evaluation benchmark for large language models. arXiv e-prints, pages arXiv-2305.
|
| 275 |
+
Kenneth Li, Oam Patel, Fernanda Viégas, Hanspeter Pfister, and Martin Wattenberg. 2023b. Inference-time intervention: Eliciting truthful answers from a language model. arXiv preprint arXiv:2306.03341.
|
| 276 |
+
Zhen Lin, Shubhendu Trivedi, and Jimeng Sun. 2023. Generating with confidence: Uncertainty quantification for black-box large language models. arXiv preprint arXiv:2305.19187.
|
| 277 |
+
Tianyu Liu, Yizhe Zhang, Chris Brockett, Yi Mao, Zhifang Sui, Weizhu Chen, and Bill Dolan. 2021. A token-level reference-free hallucination detection benchmark for free-form text generation. arXiv preprint arXiv:2104.08704.
|
| 278 |
+
Potsawee Manakul, Adian Liusie, and Mark JF Gales. 2023. Selfcheckgpt: Zero-resource black-box hallucination detection for generative large language models. arXiv preprint arXiv:2303.08896.
|
| 279 |
+
Eric Mitchell, Joseph J Noh, Siyan Li, William S Armstrong, Ananth Agarwal, Patrick Liu, Chelsea Finn, and Christopher D Manning. 2022. Enhancing self-consistency and performance of pre-trained language models through natural language inference. arXiv preprint arXiv:2211.11875.
|
| 280 |
+
Niels Mündler, Jingxuan He, Slobodan Jenko, and Martin Vechev. 2023. Self-contradictory hallucinations of large language models: Evaluation, detection and mitigation. arXiv preprint arXiv:2305.15852.
|
| 281 |
+
Guilherme Penedo, Quentin Malartic, Daniel Hesslow, Ruxandra Cojocaru, Alessandro Cappelli, Hamza Alobeidli, Baptiste Pannier, Ebtesam Almazrouei, and Julien Launay. 2023. The RefinedWeb dataset for Falcon LLM: outperforming curated corpora with web data, and web data only. arXiv preprint arXiv:2306.01116.
|
| 282 |
+
|
| 283 |
+
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.
|
| 284 |
+
Derek Tam, Anisha Mascarenhas, Shiyue Zhang, Sarah Kwan, Mohit Bansal, and Colin Raffel. 2023. Evaluating the factual consistency of large language models through news summarization. In *Findings of the Association for Computational Linguistics: ACL* 2023, pages 5220-5255.
|
| 285 |
+
Katherine Tian, Eric Mitchell, Allan Zhou, Archit Sharma, Rafael Rafailov, Huaxiu Yao, Chelsea Finn, and Christopher D Manning. 2023. Just ask for calibration: Strategies for eliciting calibrated confidence scores from language models fine-tuned with human feedback. arXiv preprint arXiv:2305.14975.
|
| 286 |
+
Hugo Touvron, Thibaut Lavril, Gautier Izacard, Xavier Martinet, Marie-Anne Lachaux, Timothée Lacroix, Baptiste Roziere, Naman Goyal, Eric Hambro, Faisal Azhar, et al. 2023. Llama: Open and efficient foundation language models. arXiv preprint arXiv:2302.13971.
|
| 287 |
+
Neeraj Varshney, Wenlin Yao, Hongming Zhang, Jianshu Chen, and Dong Yu. 2023. A stitch in time saves nine: Detecting and mitigating hallucinations of llms by validating low-confidence generation. arXiv preprint arXiv:2307.03987.
|
| 288 |
+
Xuezhi Wang, Jason Wei, Dale Schuurmans, Quoc Le, Ed Chi, Sharan Narang, Aakanksha Chowdhery, and Denny Zhou. 2022. Self-consistency improves chain of thought reasoning in language models. arXiv preprint arXiv:2203.11171.
|
| 289 |
+
Yijun Xiao and William Yang Wang. 2021. On hallucination and predictive uncertainty in conditional language generation. arXiv preprint arXiv:2103.15025.
|
| 290 |
+
Shiping Yang, Renliang Sun, and Xiaojun Wan. 2023. A new benchmark and reverse validation method for passage-level hallucination detection. arXiv preprint arXiv:2310.06498.
|
| 291 |
+
Zhilin Yang, Peng Qi, Saizheng Zhang, Yoshua Bengio, William Cohen, Ruslan Salakhutdinov, and Christopher D Manning. 2018. Hotpotqa: A dataset for diverse, explainable multi-hop question answering. In Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing, pages 2369-2380.
|
| 292 |
+
Hongbin Ye, Tong Liu, Aijia Zhang, Wei Hua, and Weiqiang Jia. 2023. Cognitive mirage: A review of hallucinations in large language models. arXiv preprint arXiv:2309.06794.
|
| 293 |
+
Muru Zhang, Ofir Press, William Merrill, Alisa Liu, and Noah A Smith. 2023a. How language model hallucinations can snowball. arXiv preprint arXiv:2305.13534.
|
| 294 |
+
|
| 295 |
+
Shuo Zhang, Liangming Pan, Junzhou Zhao, and William Yang Wang. 2023b. Mitigating language model hallucination with interactive question-knowledge alignment. arXiv preprint arXiv:2305.13669.
|
| 296 |
+
Yue Zhang, Yafu Li, Leyang Cui, Deng Cai, Lemao Liu, Tingchen Fu, Xinting Huang, Enbo Zhao, Yu Zhang, Yulong Chen, et al. 2023c. Siren's song in the ai ocean: A survey on hallucination in large language models. arXiv preprint arXiv:2309.01219.
|
| 297 |
+
Wayne Xin Zhao, Kun Zhou, Junyi Li, Tianyi Tang, Xiaolei Wang, Yupeng Hou, Yingqian Min, Beichen Zhang, Junjie Zhang, Zican Dong, et al. 2023. A survey of large language models. arXiv preprint arXiv:2303.18223.
|
| 298 |
+
Shen Zheng, Jie Huang, and Kevin Chen-Chuan Chang. 2023a. Why does chatgpt fall short in providing truthful answers. ArXiv preprint, abs/2304.10513.
|
| 299 |
+
Shen Zheng, Jie Huang, and Kevin Chen-Chuan Chang. 2023b. Why does chatgpt fall short in providing truthful answers? arXiv preprint arXiv:2304.10513.
|
| 300 |
+
Chunting Zhou, Graham Neubig, Jiatao Gu, Mona Diab, Paco Guzman, Luke Zettlemoyer, and Marjan Ghazvininejad. 2020. Detecting hallucinated content in conditional neural sequence generation. arXiv preprint arXiv:2011.02593.
|
| 301 |
+
|
| 302 |
+
# A Factuality Assessment of LLMs
|
| 303 |
+
|
| 304 |
+
This section first introduces the background of LM factuality assessment and reviews the key components of existing black-box factuality assessment approaches.
|
| 305 |
+
|
| 306 |
+
# A.1 Background
|
| 307 |
+
|
| 308 |
+
Existing studies (Manakul et al., 2023) showed that the factuality of LMs' statements can be assessed by capturing the output uncertainty. If permitted with complete white-box access, hallucinations of LMs can be detected through uncertainty metrics such as entropy, which models the uncertainty of the output distribution as $\mathcal{H}(\boldsymbol{s}) = -\sum_{i=1}^{N} p(s_i | s_{<i}) \log p(s_i | s_{<i})$ for a sequence of $N$ tokens $\boldsymbol{s} = \{s_i\}_{i=1}^N$ . The insight is that factual sentences are likely to be composed of high-probability tokens and thus should have less entropy, whereas non-factual statements are likely to be associated with lower probability and higher entropy.
|
| 309 |
+
|
| 310 |
+
Although these methods provide an accurate estimate of the LM's uncertainty, computation of such metrics involves token-level output probability distribution, which is typically not accessible for prominent LMs like ChatGPT that are only available through black-box interactions.
|
| 311 |
+
|
| 312 |
+
# A.2 Black-box Assessment via Checking Consistency in Sampled Responses
|
| 313 |
+
|
| 314 |
+
One natural way to extend the above white-box factuality assessment methods to restrictive black-box settings is to approximate the uncertainty metrics by sampling LM responses. Existing approaches (Manakul et al., 2023) mostly focus on assessing factuality through inspecting LM's self-consistency. The typical process of self-consistency check is as follows. First, for a given user-queried prompt $\pmb{x}$ , let the LM generate a candidate response $s$ with a low (default) temperature. Next, to assess the factuality of the candidate statements, a higher temperature value is used to stochastically sample a diverse set of supporting responses $\{s^1, s^2, \dots, s^m\}$ from the LM. Finally, a hallucination score $S \in [0,1]$ is calculated by measuring the consistency between the candidate response and the supporting responses: $S \rightarrow 0$ if the supporting responses agree with the candidate response and $S \rightarrow 1$ if they disagree. The consistency between two responses is typically measured by checking the textual entailment or lexical simi
|
| 315 |
+
|
| 316 |
+
larity using an additional pre-trained NLU model such as BERT (Manakul et al., 2023; Kuhn et al., 2023).
|
| 317 |
+
|
| 318 |
+
# B Complete Prompts
|
| 319 |
+
|
| 320 |
+
The prompt templates that we used are provided in Table 7, specifically the question perturbations using semantically equivalent prompts and semantic equivalence checks between two QA pairs.
|
| 321 |
+
|
| 322 |
+
# C Additional Details and Discussions
|
| 323 |
+
|
| 324 |
+
# C.1 Computational Cost
|
| 325 |
+
|
| 326 |
+
High computational cost is a common research challenge faced in many areas of black-box LLM studies, including self-consistency (Wang et al., 2022) and self-check (Manakul et al., 2023). Compared with these existing works, our framework enables model-level parallel execution of LLM inferences (either target or verifier LM) in the form of parallel API calls, which helps to mitigate the overhead. Moreover, we may further employ more advanced prompt strategies for semantic consistency checking that condense the pairwise comparisons to a single inference call to substantially reduce the time complexity. Finally, our framework also offers the flexibility for the user to adjust the balance between computational cost and accuracy: users may choose to trade off accuracy for efficiency in scenarios where low overhead is more valued than high detection precision.
|
| 327 |
+
|
| 328 |
+
To achieve a more balanced trade-off, we primarily recommend two strategies: (1) Utilizing a smaller sample size, such as the number of question perturbations and self-evaluations. Our ablation experiments demonstrate that the performance of $\mathrm{SAC^3}$ improves with an increase in question samples, but the performance gain plateaus after exceeding five question samples. This indicates that using 2-4 question samples in practice could yield satisfactory results with minimal computational expense. (2) Implementing an optimized prompt strategy. With the original input question, we prompt the GPT model to generate multiple paraphrases in a single API call, i.e., $\mathcal{O}(1)$ for question paraphrasing. Although semantic consistency checking via a pairwise method can be slightly burdensome, we can devise an advanced prompt strategy to parallelize the pairwise consistency check, i.e., through one API call instead of multiple calls, effectively reducing the inference complexity from $\mathcal{O}(n)$ to $\mathcal{O}(1)$ . These strategies empower users
|
| 329 |
+
|
| 330 |
+
<table><tr><td>Method</td><td>Input</td><td>Model</td><td>Output</td><td>Semantic Consistency</td></tr><tr><td rowspan="2">SC2</td><td>Q</td><td>Target</td><td>Yes, there was a US senator that represented the state of North Dakota and whose alma mater was MIT. His name was Quentin N. Burdick.</td><td>✓</td></tr><tr><td>Q</td><td>Target</td><td>Yes, there was a US senator who represented the state of North Dakota and whose alma mater was MIT. His name was Quentin N. Burdick.</td><td>✓</td></tr><tr><td rowspan="2">SAC3-Q</td><td>Q1</td><td>Target</td><td>As an AI language model, I do not have access to the most recent updates or news. However, as of my last update, there is no North Dakota US senator who graduated from MIT.</td><td>✗</td></tr><tr><td>Q2</td><td>Target</td><td>As an AI language model, I do not have access to real-time information or current events. However, as of my last update, I am not aware of any US senators from North Dakota who were also MIT graduates.</td><td>✗</td></tr><tr><td>SAC3-M</td><td>Q</td><td>Verifier</td><td>No, there has never been a US senator who represented the state of North Dakota and attended MIT.</td><td>✗</td></tr><tr><td rowspan="2">SAC3-QM</td><td>Q1</td><td>Verifier</td><td>No, a North Dakota US senator did not have MIT listed as their alma mater.</td><td>✗</td></tr><tr><td>Q2</td><td>Verifier</td><td>There are no known US senators from North Dakota who are also MIT graduates.</td><td>✗</td></tr></table>
|
| 331 |
+
|
| 332 |
+
Table 6: Input Question (Q) and Answer (A): $\mathrm{Q} =$ "Was there ever a US senator that represented the state of North Dakota and whose alma mater was MIT?" A = "Yes, there was a US senator who represented the state of North Dakota and whose alma mater was MIT. His name was Quentin Burdick." Semantically rephrased questions: Q1 = "Did a North Dakota US senator have MIT listed as their alma mater?" Q2 = "Were there any US senators from North Dakota who were also MIT graduates?
|
| 333 |
+
|
| 334 |
+
<table><tr><td>Objective</td><td>Template</td></tr><tr><td>Semantic question perturbation</td><td>For the question [QUERYED QUESTION], provide ${k} semantically equivalent questions \nAre the following two inputs semantically equivalent? \n[QUERYED INPUT] \n[GENERATED INPUT]</td></tr><tr><td>Semantic equivalence check</td><td>Are the following two Question-Answering (QA) pairs semantically equivalent? Provide your best guess and the probability that it is correct (0.0 to 1.0). Given ONLY the guess (Yes or No) and probability, no other words or explanation. For example: \nGuess: <most likely guess, as short as possible; not a complete sentence, just the guess!>\nProbability: <the probability between 0.0 and 1.0 that your guess is correct, without any extra commentary whatsoever; just the probability! \nThe first QA pair is: \nQ: ${THE QUESTION} \nA: ${THE ANSWER} \nThe second QA pair is: \nQ: ${THE QUESTION} \nA: ${THE ANSWER}</td></tr></table>
|
| 335 |
+
|
| 336 |
+
Table 7: Prompt templates for different objectives, including semantically equivalent perturbations of input questions and semantic equivalent check of QA pairs.
|
| 337 |
+
|
| 338 |
+
to optimally balance efficiency (light version) and accuracy (performance version), facilitating more informed decisions in practice.
|
| 339 |
+
|
| 340 |
+
# C.2 Semantic Consistency Checking
|
| 341 |
+
|
| 342 |
+
The goal of our research is to provide a flexible framework for the effective detection of hallucinations in black-box LLMs. Compared to previous approaches (Manakul et al., 2023) based on similarity metrics such as BERTScore, employing LLM for semantic consistency checking not only offers better accuracy but also eliminates the need for involving additional models. We note that our design is not dependent on any specific type of LLM and the users are allowed to choose freely for each component. Specifically, we chose GPT as the instantiation in our experiments due to its well-acclaimed ability to follow human instructions which is cru
|
| 343 |
+
|
| 344 |
+
cial for evaluation. In practice, the user may choose any open-sourced LLMs that have been aligned to follow instructions.
|
| 345 |
+
|
| 346 |
+
# C.3 Data Annotations
|
| 347 |
+
|
| 348 |
+
For the two classification QA tasks (Prime Number and Senator Search), we use the synthesized hallucinated answers following prior work (Zhang et al., 2023a). For the task of prime number, the factual/true answer is always "Yes", i.e., all the testing numbers are prime numbers. The synthesized hallucinated response is "No". The factual/true answer of the senator search is always "No" and the synthesized hallucinated answer is "Yes". Such an experimental setting on the binary classification tasks is realistic since we have verified that on these datasets most of the responses generated by gpt-3.5-turbo are indeed "Yes" or "No" which
|
| 349 |
+
|
| 350 |
+
align with the synthesized response.
|
| 351 |
+
|
| 352 |
+
For the generation QA tasks (HotpotQA-halu and NQ-Open-halu), we used answers generated by LLM (gpt-3.5-turbo) for experiments, which do not have pre-defined factual/non-factual labels. Therefore, we manually annotated these LLM-generated answers by comparing them with the ground truth.
|
| 353 |
+
|
| 354 |
+
We would like to note that in practice, a more versatile hallucination detection approach should be able to evaluate the factuality of a sample regardless of its origin (e.g., synthesized or generated by itself / other LLMs). In our framework, this is achieved through semantically equivalent question perturbation and cross-model response consistency checking. We plan to release the annotated datasets to facilitate future research.
|
| 355 |
+
|
| 356 |
+
# D Additional Examples
|
| 357 |
+
|
| 358 |
+
Table 6 provides another illustrative example to explain our methodology in the senator search dataset.
|
2023/SAC3_ Reliable Hallucination Detection in Black-Box Language Models via Semantic-aware Cross-check Consistency/images.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d0c8a359f7c12184d7b3ce6b3135276e4ec9de4ae88ab1f966950785b5c2dce1
|
| 3 |
+
size 732443
|
2023/SAC3_ Reliable Hallucination Detection in Black-Box Language Models via Semantic-aware Cross-check Consistency/layout.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2023/SDOH-NLI_ a Dataset for Inferring Social Determinants of Health from Clinical Notes/a4f22374-5104-49b6-a9f1-43a434ee9541_content_list.json
ADDED
|
@@ -0,0 +1,1476 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"type": "text",
|
| 4 |
+
"text": "SDOH-NLI: a Dataset for Inferring Social Determinants of Health from Clinical Notes",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
205,
|
| 8 |
+
89,
|
| 9 |
+
794,
|
| 10 |
+
130
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Adam D. Lelkes<sup>1*</sup>, Eric Loreaux<sup>2†</sup>, Tal Schuster<sup>1</sup>, Ming-Jun Chen<sup>1‡</sup>, Alvin Rajkomar<sup>1‡</sup>",
|
| 17 |
+
"bbox": [
|
| 18 |
+
137,
|
| 19 |
+
153,
|
| 20 |
+
865,
|
| 21 |
+
173
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "<sup>1</sup>Google Research, <sup>2</sup>Curai Health",
|
| 28 |
+
"bbox": [
|
| 29 |
+
364,
|
| 30 |
+
187,
|
| 31 |
+
638,
|
| 32 |
+
205
|
| 33 |
+
],
|
| 34 |
+
"page_idx": 0
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"type": "text",
|
| 38 |
+
"text": "Abstract",
|
| 39 |
+
"text_level": 1,
|
| 40 |
+
"bbox": [
|
| 41 |
+
260,
|
| 42 |
+
252,
|
| 43 |
+
342,
|
| 44 |
+
268
|
| 45 |
+
],
|
| 46 |
+
"page_idx": 0
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"type": "text",
|
| 50 |
+
"text": "Social and behavioral determinants of health (SDOH) play a significant role in shaping health outcomes, and extracting these determinants from clinical notes is a first step to help healthcare providers systematically identify opportunities to provide appropriate care and address disparities. Progress on using NLP methods for this task has been hindered by the lack of high-quality publicly available labeled data, largely due to the privacy and regulatory constraints on the use of real patients' information. This paper introduces a new dataset, SDOH-NLI, that is based on publicly available notes and which we release publicly. We formulate SDOH extraction as a natural language inference (NLI) task, and provide binary textual entailment labels obtained from human raters for a cross product of a set of social history snippets as premises and SDOH factors as hypotheses. Our dataset differs from standard NLI benchmarks in that our premises and hypotheses are obtained independently. We evaluate both \"off-the-shelf\" entailment models as well as models fine-tuned on our data, and highlight the ways in which our dataset appears more challenging than commonly used NLI datasets.",
|
| 51 |
+
"bbox": [
|
| 52 |
+
142,
|
| 53 |
+
273,
|
| 54 |
+
460,
|
| 55 |
+
657
|
| 56 |
+
],
|
| 57 |
+
"page_idx": 0
|
| 58 |
+
},
|
| 59 |
+
{
|
| 60 |
+
"type": "text",
|
| 61 |
+
"text": "1 Introduction",
|
| 62 |
+
"text_level": 1,
|
| 63 |
+
"bbox": [
|
| 64 |
+
114,
|
| 65 |
+
664,
|
| 66 |
+
260,
|
| 67 |
+
678
|
| 68 |
+
],
|
| 69 |
+
"page_idx": 0
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"type": "text",
|
| 73 |
+
"text": "There has been growing recognition that social and behavioral determinants of health (SDOH) play a significant role in shaping health outcomes for individuals and populations. The ability to accurately identify and extract social and behavioral determinants of health from clinical notes can provide valuable insights that can enable healthcare providers to better understand and address the underlying determinants of health that contribute to poor health outcomes and health disparities.",
|
| 74 |
+
"bbox": [
|
| 75 |
+
112,
|
| 76 |
+
688,
|
| 77 |
+
490,
|
| 78 |
+
848
|
| 79 |
+
],
|
| 80 |
+
"page_idx": 0
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"type": "text",
|
| 84 |
+
"text": "Social determinants of health are frequently recorded in clinical notes as unstructured text, so natural language processing (NLP) can be a valuable tool for extracting actionable insights for care teams. However, research in this area often uses patient records from private health systems' electronic health records (EHRs), which makes it difficult to compare results from other health systems or even replicate the studies. The development and release of high-quality publicly available datasets could enable more reproducible research in this area.",
|
| 85 |
+
"bbox": [
|
| 86 |
+
507,
|
| 87 |
+
253,
|
| 88 |
+
885,
|
| 89 |
+
444
|
| 90 |
+
],
|
| 91 |
+
"page_idx": 0
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"type": "text",
|
| 95 |
+
"text": "In this work, we introduce a new, public SDOH dataset based on MTSamples.com, an online collection of transcribed medical reports. Our setup is motivated by the use cases of slicing patient populations along social determinant dimensions for population analytics, and retrieving patients with certain social determinants of health to allow for more targeted outreach and intervention. Given a large set of social determinant factors, our goal is to make binary determinations for each patient about whether that patient's notes imply a particular SDOH factor. In other words, for example, we want to be able to find all patients who lack access to transportation, as opposed to just tagging transportation-related spans in their notes, as done in some previous work.",
|
| 96 |
+
"bbox": [
|
| 97 |
+
507,
|
| 98 |
+
448,
|
| 99 |
+
885,
|
| 100 |
+
705
|
| 101 |
+
],
|
| 102 |
+
"page_idx": 0
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"type": "text",
|
| 106 |
+
"text": "To achieve this goal, we formulate the task as a textual entailment problem, with patient note snippets as the premises, SDOH factors as the hypotheses, and binary entailment labels. We use human annotators to label 1,398 social history snippets according to a curated list of 60 SDOH statements, resulting in a dataset of 29,635 labeled premise-hypothesis examples after some filtering (see Section 3 for details). We release this dataset publicly. We also evaluate state-of-the-art publicly available large language models on our data in a range of different settings (see Section 4).",
|
| 107 |
+
"bbox": [
|
| 108 |
+
507,
|
| 109 |
+
707,
|
| 110 |
+
885,
|
| 111 |
+
900
|
| 112 |
+
],
|
| 113 |
+
"page_idx": 0
|
| 114 |
+
},
|
| 115 |
+
{
|
| 116 |
+
"type": "text",
|
| 117 |
+
"text": "A notable feature of our entailment dataset is",
|
| 118 |
+
"bbox": [
|
| 119 |
+
527,
|
| 120 |
+
903,
|
| 121 |
+
880,
|
| 122 |
+
917
|
| 123 |
+
],
|
| 124 |
+
"page_idx": 0
|
| 125 |
+
},
|
| 126 |
+
{
|
| 127 |
+
"type": "page_footnote",
|
| 128 |
+
"text": "*Corresponding author. lelkes@google.com",
|
| 129 |
+
"bbox": [
|
| 130 |
+
139,
|
| 131 |
+
854,
|
| 132 |
+
413,
|
| 133 |
+
866
|
| 134 |
+
],
|
| 135 |
+
"page_idx": 0
|
| 136 |
+
},
|
| 137 |
+
{
|
| 138 |
+
"type": "page_footnote",
|
| 139 |
+
"text": "$\\dagger$ Work completed at Google.",
|
| 140 |
+
"bbox": [
|
| 141 |
+
142,
|
| 142 |
+
866,
|
| 143 |
+
319,
|
| 144 |
+
879
|
| 145 |
+
],
|
| 146 |
+
"page_idx": 0
|
| 147 |
+
},
|
| 148 |
+
{
|
| 149 |
+
"type": "page_footnote",
|
| 150 |
+
"text": "Equal leadership.",
|
| 151 |
+
"bbox": [
|
| 152 |
+
142,
|
| 153 |
+
881,
|
| 154 |
+
257,
|
| 155 |
+
892
|
| 156 |
+
],
|
| 157 |
+
"page_idx": 0
|
| 158 |
+
},
|
| 159 |
+
{
|
| 160 |
+
"type": "page_footnote",
|
| 161 |
+
"text": "<https://github.com/google-research-datasets/SDOH-NLI>",
|
| 162 |
+
"bbox": [
|
| 163 |
+
115,
|
| 164 |
+
892,
|
| 165 |
+
478,
|
| 166 |
+
916
|
| 167 |
+
],
|
| 168 |
+
"page_idx": 0
|
| 169 |
+
},
|
| 170 |
+
{
|
| 171 |
+
"type": "page_number",
|
| 172 |
+
"text": "4789",
|
| 173 |
+
"bbox": [
|
| 174 |
+
480,
|
| 175 |
+
927,
|
| 176 |
+
521,
|
| 177 |
+
940
|
| 178 |
+
],
|
| 179 |
+
"page_idx": 0
|
| 180 |
+
},
|
| 181 |
+
{
|
| 182 |
+
"type": "footer",
|
| 183 |
+
"text": "Findings of the Association for Computational Linguistics: EMNLP 2023, pages 4789-4798 December 6-10, 2023 ©2023 Association for Computational Linguistics",
|
| 184 |
+
"bbox": [
|
| 185 |
+
216,
|
| 186 |
+
945,
|
| 187 |
+
779,
|
| 188 |
+
972
|
| 189 |
+
],
|
| 190 |
+
"page_idx": 0
|
| 191 |
+
},
|
| 192 |
+
{
|
| 193 |
+
"type": "text",
|
| 194 |
+
"text": "that unlike other entailment datasets, our premises and hypotheses were obtained independently, and we label the full cross product of premises and hypotheses. In traditional entailment datasets, the hypotheses are constructed to be tied to a particular premise; however, in our formulation, the hypotheses are drawn from a large set of SDOH factors that may or may not be discussed in a particular premise (drawn from a clinical note). Since all our text comes from the same domain, we still have a non-negligible fraction of positive entailment labels (albeit with a much larger label imbalance than in standard NLI benchmark datasets).",
|
| 195 |
+
"bbox": [
|
| 196 |
+
112,
|
| 197 |
+
84,
|
| 198 |
+
489,
|
| 199 |
+
292
|
| 200 |
+
],
|
| 201 |
+
"page_idx": 1
|
| 202 |
+
},
|
| 203 |
+
{
|
| 204 |
+
"type": "text",
|
| 205 |
+
"text": "This requires NLI methods to understand both the premise and the hypothesis, and defeats typical shortcuts that have been observed to work for other entailment datasets, such as guessing the label based on the hypothesis alone, or relying on simple syntactic clues such as the presence of negations (see Section 2.2). Indeed, even though our task does not require domain-specific knowledge, we observe that state-of-the-art models struggle to generalize from common NLI benchmarks to our dataset, and highlight typical failure cases (see Section 4).",
|
| 206 |
+
"bbox": [
|
| 207 |
+
115,
|
| 208 |
+
294,
|
| 209 |
+
489,
|
| 210 |
+
485
|
| 211 |
+
],
|
| 212 |
+
"page_idx": 1
|
| 213 |
+
},
|
| 214 |
+
{
|
| 215 |
+
"type": "text",
|
| 216 |
+
"text": "We evaluate both off-the-shelf and fine-tuned models in different setups: dual encoders, zero/few-shot prompting, and binary classification. We show that state-of-the-art off-the-shelf models, even if they were fine-tuned on various NLI datasets, do not reliably solve our problem; on the other hand, models fine-tuned on our training set robustly generalize both to unseen notes and to unseen factors, providing evidence for the usefulness of our dataset for model fine-tuning and evaluation.",
|
| 217 |
+
"bbox": [
|
| 218 |
+
112,
|
| 219 |
+
487,
|
| 220 |
+
489,
|
| 221 |
+
648
|
| 222 |
+
],
|
| 223 |
+
"page_idx": 1
|
| 224 |
+
},
|
| 225 |
+
{
|
| 226 |
+
"type": "text",
|
| 227 |
+
"text": "2 Related Work",
|
| 228 |
+
"text_level": 1,
|
| 229 |
+
"bbox": [
|
| 230 |
+
112,
|
| 231 |
+
661,
|
| 232 |
+
268,
|
| 233 |
+
676
|
| 234 |
+
],
|
| 235 |
+
"page_idx": 1
|
| 236 |
+
},
|
| 237 |
+
{
|
| 238 |
+
"type": "text",
|
| 239 |
+
"text": "2.1 Social and Behavioral Determinants of Health",
|
| 240 |
+
"text_level": 1,
|
| 241 |
+
"bbox": [
|
| 242 |
+
112,
|
| 243 |
+
688,
|
| 244 |
+
465,
|
| 245 |
+
718
|
| 246 |
+
],
|
| 247 |
+
"page_idx": 1
|
| 248 |
+
},
|
| 249 |
+
{
|
| 250 |
+
"type": "text",
|
| 251 |
+
"text": "There has been a lot of interest in using NLP techniques for SDOH extraction; see Patra et al. (2021) for a recent survey. The range and granularity of SDOH factors vary considerably across different papers. There has also been a range of methods used, from rule-based heuristics, to n-grams, to fine-tuning pretrained Transformer models.",
|
| 252 |
+
"bbox": [
|
| 253 |
+
112,
|
| 254 |
+
725,
|
| 255 |
+
489,
|
| 256 |
+
837
|
| 257 |
+
],
|
| 258 |
+
"page_idx": 1
|
| 259 |
+
},
|
| 260 |
+
{
|
| 261 |
+
"type": "text",
|
| 262 |
+
"text": "Many previous research studies on SDOH extraction were performed on EHR data from particular health systems and are not released publicly. Exceptions include the i2b2 NLP Smoking Challenge (Uzuner et al., 2008), which classified 502",
|
| 263 |
+
"bbox": [
|
| 264 |
+
112,
|
| 265 |
+
839,
|
| 266 |
+
489,
|
| 267 |
+
917
|
| 268 |
+
],
|
| 269 |
+
"page_idx": 1
|
| 270 |
+
},
|
| 271 |
+
{
|
| 272 |
+
"type": "text",
|
| 273 |
+
"text": "deidentified medical discharge records for smoking status only, and small number of datasets based on MIMIC-III (Johnson et al., 2016), a large publicly available database of deidentified health records of patients who stayed in critical care units of Beth Israel Deaconess Medical Center between 2001 and 2012. For example, Gehrmann et al. (2018) annotated MIMIC-III with binary labels for certain \"phenotypes\" including alcohol and substance abuse, and Lybarger et al. (2021) annotated note spans with SDOH information.",
|
| 274 |
+
"bbox": [
|
| 275 |
+
507,
|
| 276 |
+
84,
|
| 277 |
+
884,
|
| 278 |
+
261
|
| 279 |
+
],
|
| 280 |
+
"page_idx": 1
|
| 281 |
+
},
|
| 282 |
+
{
|
| 283 |
+
"type": "text",
|
| 284 |
+
"text": "We are aware of four other previous SDOH-related papers which used MTSamples data (Wang et al., 2015; Winden et al., 2017; Yetisgen et al., 2016; Yetisgen and Vanderwende, 2017), all of which focused on extracting and tagging SDOH-related spans from social history sections.",
|
| 285 |
+
"bbox": [
|
| 286 |
+
507,
|
| 287 |
+
267,
|
| 288 |
+
884,
|
| 289 |
+
363
|
| 290 |
+
],
|
| 291 |
+
"page_idx": 1
|
| 292 |
+
},
|
| 293 |
+
{
|
| 294 |
+
"type": "text",
|
| 295 |
+
"text": "Among previous papers, the one methodologically closest to ours is Lituiev et al. (2023) which also formulated SDOH extraction as an entailment problem and evaluated RoBERTa (Liu et al., 2019) fine-tuned on ANLI (Nie et al., 2020) on clinical notes from UCSF, without any in-domain fine-tuning experiments.",
|
| 296 |
+
"bbox": [
|
| 297 |
+
507,
|
| 298 |
+
370,
|
| 299 |
+
884,
|
| 300 |
+
483
|
| 301 |
+
],
|
| 302 |
+
"page_idx": 1
|
| 303 |
+
},
|
| 304 |
+
{
|
| 305 |
+
"type": "text",
|
| 306 |
+
"text": "2.2 Natural Language Inference",
|
| 307 |
+
"text_level": 1,
|
| 308 |
+
"bbox": [
|
| 309 |
+
507,
|
| 310 |
+
514,
|
| 311 |
+
779,
|
| 312 |
+
531
|
| 313 |
+
],
|
| 314 |
+
"page_idx": 1
|
| 315 |
+
},
|
| 316 |
+
{
|
| 317 |
+
"type": "text",
|
| 318 |
+
"text": "Natural language inference (NLI), also called recognizing textual entailment (RTE), has been a very well-studied NLP task; see e.g. Storks et al. (2019); Poliak (2020) for recent surveys. Many standard NLI datasets, such as SNLI (Bowman et al., 2015) or MultiNLI (Williams et al., 2018), are obtained by automatically collecting premises and, for each premise and target entailment label, having human annotators write a hypothesis with the specified entailment relation to the premise. (Even some of the datasets specifically designed to address these datasets' shortcomings, such as ANLI (Nie et al., 2020), follow a similar setup.) It has been observed that this leads to annotation artifacts that lets models do well on these tasks without requiring true understanding of entailment, including by using simple syntactic heuristics (McCoy et al., 2019) or by completely ignoring the premise, and considering only the hypothesis (Gururangan et al., 2018; Poliak et al., 2018). ContractNLI (Koreeda and Manning, 2021) is an example of a previous dataset which used the same fixed set of hypotheses for all the premises.",
|
| 319 |
+
"bbox": [
|
| 320 |
+
507,
|
| 321 |
+
549,
|
| 322 |
+
884,
|
| 323 |
+
917
|
| 324 |
+
],
|
| 325 |
+
"page_idx": 1
|
| 326 |
+
},
|
| 327 |
+
{
|
| 328 |
+
"type": "page_number",
|
| 329 |
+
"text": "4790",
|
| 330 |
+
"bbox": [
|
| 331 |
+
480,
|
| 332 |
+
928,
|
| 333 |
+
521,
|
| 334 |
+
940
|
| 335 |
+
],
|
| 336 |
+
"page_idx": 1
|
| 337 |
+
},
|
| 338 |
+
{
|
| 339 |
+
"type": "text",
|
| 340 |
+
"text": "3 Dataset Construction",
|
| 341 |
+
"text_level": 1,
|
| 342 |
+
"bbox": [
|
| 343 |
+
114,
|
| 344 |
+
84,
|
| 345 |
+
332,
|
| 346 |
+
98
|
| 347 |
+
],
|
| 348 |
+
"page_idx": 2
|
| 349 |
+
},
|
| 350 |
+
{
|
| 351 |
+
"type": "text",
|
| 352 |
+
"text": "We scraped all 5,003 medical reports from MTSamples. Within these reports, we obtained 1,030 note sections related to social history by searching for a collection of note section titles identified as synonyms of social history. We then split each note section into sentences, resulting in 3,281 sentences. Many sentences (such as \"He is married\") appear in multiple notes; after dedduplication, we have 1,398 unique sentences.",
|
| 353 |
+
"bbox": [
|
| 354 |
+
112,
|
| 355 |
+
111,
|
| 356 |
+
489,
|
| 357 |
+
256
|
| 358 |
+
],
|
| 359 |
+
"page_idx": 2
|
| 360 |
+
},
|
| 361 |
+
{
|
| 362 |
+
"type": "text",
|
| 363 |
+
"text": "We manually curated a collection of SDOH factors primarily from two sources, the AHRQ Social Determinants of Health Database (for Healthcare Research and Quality, 2020) and UCSF SIREN's Compendium of medical terminology codes for social risk factors (Arons et al., 2018). We rephrased each factor as a full English sentence stating a fact about a person; e.g. \"The person is employed.\" For binary factors, we included a statement and its negation; e.g. \"The person currently drinks alcohol\" and \"The person currently does not drink alcohol.\" For factors with multiple potential values (such as housing status), we aimed to list all the common options. We grouped these 60 statements into 10 categories: smoking, alcohol use, drug use, employment, housing, food, transportation, health insurance, social support, and financial situation. See the full list in Appendix A.",
|
| 364 |
+
"bbox": [
|
| 365 |
+
115,
|
| 366 |
+
256,
|
| 367 |
+
489,
|
| 368 |
+
546
|
| 369 |
+
],
|
| 370 |
+
"page_idx": 2
|
| 371 |
+
},
|
| 372 |
+
{
|
| 373 |
+
"type": "text",
|
| 374 |
+
"text": "For each social history sentence, we asked human raters to select all the relevant categories and, within each category, all the statements that are supported by the social history snippet. Each snippet was rated by at least three raters. For each (snippet, statement) pair, we took the majority vote of raters to get binary entailment labels. Rater agreement was high, with a Krippendorff's alpha of 0.97 (computed over the binary entailment labels provided by different raters for (premise, hypothesis) pairs).",
|
| 375 |
+
"bbox": [
|
| 376 |
+
112,
|
| 377 |
+
548,
|
| 378 |
+
489,
|
| 379 |
+
709
|
| 380 |
+
],
|
| 381 |
+
"page_idx": 2
|
| 382 |
+
},
|
| 383 |
+
{
|
| 384 |
+
"type": "text",
|
| 385 |
+
"text": "We removed all SDOH statements which were not entailed by any of the social history snippets as well as all note sentences that were not relevant to any SDOH categories. Finally, after inspecting the dataset, we removed three SDOH factors (\"The person is stably housed.\", \"The person has social support.\", \"The person does not have social support.\") because raters weren't able to consistently give correct ratings. That left us with 787 unique sentences and 38 SDOH factors. Since each snippet would typically only entail one factor or a small number of factors, the resulting dataset is heavily imbalanced: only $4.6\\%$ of the labels are positive.",
|
| 386 |
+
"bbox": [
|
| 387 |
+
112,
|
| 388 |
+
709,
|
| 389 |
+
489,
|
| 390 |
+
919
|
| 391 |
+
],
|
| 392 |
+
"page_idx": 2
|
| 393 |
+
},
|
| 394 |
+
{
|
| 395 |
+
"type": "text",
|
| 396 |
+
"text": "We split the dataset along the snippets into training, validation, and test sets with a 70:15:15 ratio, with the following modification: we remove a single pair of factors, \"The person lives alone\" and \"The person does not live alone,\" from the training and validation sets, in order to evaluate fine-tuned models' ability to generalize to unseen factors. In other words, the training, validation, and test sets have disjoint note snippets but the same SDOH factors, except for the test set which also contains an additional two factors that are not present in the training or validation sets.",
|
| 397 |
+
"bbox": [
|
| 398 |
+
507,
|
| 399 |
+
84,
|
| 400 |
+
884,
|
| 401 |
+
277
|
| 402 |
+
],
|
| 403 |
+
"page_idx": 2
|
| 404 |
+
},
|
| 405 |
+
{
|
| 406 |
+
"type": "text",
|
| 407 |
+
"text": "4 Model Evaluation",
|
| 408 |
+
"text_level": 1,
|
| 409 |
+
"bbox": [
|
| 410 |
+
507,
|
| 411 |
+
291,
|
| 412 |
+
697,
|
| 413 |
+
307
|
| 414 |
+
],
|
| 415 |
+
"page_idx": 2
|
| 416 |
+
},
|
| 417 |
+
{
|
| 418 |
+
"type": "text",
|
| 419 |
+
"text": "Since the typical use case is retrieving patients with a particular SDOH factor, and because of the heavy label imbalance in our dataset, we use precision, recall, and F1 score as our evaluation metrics.",
|
| 420 |
+
"bbox": [
|
| 421 |
+
507,
|
| 422 |
+
318,
|
| 423 |
+
882,
|
| 424 |
+
381
|
| 425 |
+
],
|
| 426 |
+
"page_idx": 2
|
| 427 |
+
},
|
| 428 |
+
{
|
| 429 |
+
"type": "text",
|
| 430 |
+
"text": "We evaluate state-of-the-art public models in four different setups:",
|
| 431 |
+
"bbox": [
|
| 432 |
+
507,
|
| 433 |
+
382,
|
| 434 |
+
882,
|
| 435 |
+
414
|
| 436 |
+
],
|
| 437 |
+
"page_idx": 2
|
| 438 |
+
},
|
| 439 |
+
{
|
| 440 |
+
"type": "list",
|
| 441 |
+
"sub_type": "text",
|
| 442 |
+
"list_items": [
|
| 443 |
+
"- Treating the problem as a retrieval task with SDOH factors as queries and note snippets as documents. We evaluate Sentence-T5 (Ni et al., 2022a) and GTR (Ni et al., 2022b), two state-of-the-art dual encoder models. We select the cosine similarity threshold which maximizes F1 score on the training set.",
|
| 444 |
+
"- A general-purpose NLI model. We evaluate the SENTLI model (Schuster et al., 2022), a state-of-the-art NLI model (T5 large fine-tuned on the SNLI (Bowman et al., 2015), MNLI (Williams et al., 2018), ANLI (Nie et al., 2020), Fever (Thorne et al., 2018), and VitaminC (Schuster et al., 2021) datasets). To help the model adapt to the label imbalance in our dataset, we also evaluate it with re-tuning the threshold for positive prediction to maximize F1 score on our training set.",
|
| 445 |
+
"- Zero/few-shot prompting. We evaluate FlanT5 XXL (Chung et al., 2022) and FlanUL2 (Tay et al., 2023) in both a zero- and a few-shot setting. These models instruction tuned for a large set of tasks, including NLI tasks. (See Appendix B for details.)",
|
| 446 |
+
"- Fine-tuning experiments. We fine-tune T5 and Flan-T5 on our dataset (SDOH-NLI), on ANLI, and on a mixture of both at various model sizes. (See Appendix C for details.)"
|
| 447 |
+
],
|
| 448 |
+
"bbox": [
|
| 449 |
+
531,
|
| 450 |
+
429,
|
| 451 |
+
884,
|
| 452 |
+
917
|
| 453 |
+
],
|
| 454 |
+
"page_idx": 2
|
| 455 |
+
},
|
| 456 |
+
{
|
| 457 |
+
"type": "page_number",
|
| 458 |
+
"text": "4791",
|
| 459 |
+
"bbox": [
|
| 460 |
+
480,
|
| 461 |
+
928,
|
| 462 |
+
517,
|
| 463 |
+
940
|
| 464 |
+
],
|
| 465 |
+
"page_idx": 2
|
| 466 |
+
},
|
| 467 |
+
{
|
| 468 |
+
"type": "table",
|
| 469 |
+
"img_path": "images/f5d45ef0a0275ce0faad0f2cd9d2443f549cb383f5a0e095f15c5a815cd17c99.jpg",
|
| 470 |
+
"table_caption": [],
|
| 471 |
+
"table_footnote": [],
|
| 472 |
+
"table_body": "<table><tr><td>Model</td><td>Precision</td><td>Recall</td><td>F1</td></tr><tr><td>Sentence-T5 11B</td><td>.2826</td><td>.523</td><td>.3669</td></tr><tr><td>GTR XXL</td><td>.3148</td><td>.4885</td><td>.3829</td></tr><tr><td>SENTLI</td><td>.4438</td><td>.8161</td><td>.5749</td></tr><tr><td>SENTLI, threshold tuned</td><td>.5721</td><td>.7299</td><td>.6414</td></tr><tr><td>Flan-T5 XXL 0-shot</td><td>.6867</td><td>.6552</td><td>.6706</td></tr><tr><td>Flan-T5 XXL 5-shot</td><td>.6297</td><td>.6839</td><td>.6556</td></tr><tr><td>Flan-UL2 0-shot</td><td>.5922</td><td>.7011</td><td>.6421</td></tr><tr><td>Flan-UL2 5-shot</td><td>.5536</td><td>.7126</td><td>.6231</td></tr><tr><td>Flan-T5 XXL finetuned on ANLI</td><td>.356</td><td>.8736</td><td>.5058</td></tr><tr><td>Flan-T5 XXL finetuned on SDOH-NLI</td><td>.9295</td><td>.8333</td><td>.8788</td></tr><tr><td>Flan-T5 XXL finetuned on ANLI + SDOH-NLI</td><td>.8765</td><td>.8563</td><td>.8663</td></tr></table>",
|
| 473 |
+
"bbox": [
|
| 474 |
+
194,
|
| 475 |
+
80,
|
| 476 |
+
801,
|
| 477 |
+
310
|
| 478 |
+
],
|
| 479 |
+
"page_idx": 3
|
| 480 |
+
},
|
| 481 |
+
{
|
| 482 |
+
"type": "text",
|
| 483 |
+
"text": "Table 1: Scores of retrieval-based, general-purpose NLI, in-context, and fine-tuned models on the SDOH test set. See Appendix C for additional fine-tuning experiments.",
|
| 484 |
+
"bbox": [
|
| 485 |
+
112,
|
| 486 |
+
319,
|
| 487 |
+
882,
|
| 488 |
+
350
|
| 489 |
+
],
|
| 490 |
+
"page_idx": 3
|
| 491 |
+
},
|
| 492 |
+
{
|
| 493 |
+
"type": "text",
|
| 494 |
+
"text": "4.1 Results",
|
| 495 |
+
"text_level": 1,
|
| 496 |
+
"bbox": [
|
| 497 |
+
112,
|
| 498 |
+
375,
|
| 499 |
+
218,
|
| 500 |
+
388
|
| 501 |
+
],
|
| 502 |
+
"page_idx": 3
|
| 503 |
+
},
|
| 504 |
+
{
|
| 505 |
+
"type": "text",
|
| 506 |
+
"text": "Table 1 shows selected results (see Appendix D for more model fine-tuning metrics). First, we observe that while our problem can naturally be framed as an information retrieval problem, even state-of-the-art retrieval models perform poorly on it; formulating the problem as natural language inference yields dramatically better results.",
|
| 507 |
+
"bbox": [
|
| 508 |
+
112,
|
| 509 |
+
395,
|
| 510 |
+
485,
|
| 511 |
+
508
|
| 512 |
+
],
|
| 513 |
+
"page_idx": 3
|
| 514 |
+
},
|
| 515 |
+
{
|
| 516 |
+
"type": "text",
|
| 517 |
+
"text": "However, even powerful models fine-tuned for NLI, either on NLI datasets alone or as part of the much larger Flan collection, do not reliably solve our problem, with an F1 score of at most .67 on the test set. Even T5 small fine-tuned on our dataset outperforms the largest off-the-shelf models, highlighting the added value of our dataset.",
|
| 518 |
+
"bbox": [
|
| 519 |
+
112,
|
| 520 |
+
511,
|
| 521 |
+
487,
|
| 522 |
+
624
|
| 523 |
+
],
|
| 524 |
+
"page_idx": 3
|
| 525 |
+
},
|
| 526 |
+
{
|
| 527 |
+
"type": "text",
|
| 528 |
+
"text": "When prompting instruction-tuned models, including few-shot examples does not appear to add any value compared to a zero-shot setup. We conjecture that this is because the models are already familiar with the NLI task and the prompt format from instruction tuning, and presenting them with a small number of additional examples is not sufficient for teaching them the difference between this task and the NLI benchmark datasets they have seen during fine-tuning.",
|
| 529 |
+
"bbox": [
|
| 530 |
+
112,
|
| 531 |
+
627,
|
| 532 |
+
487,
|
| 533 |
+
788
|
| 534 |
+
],
|
| 535 |
+
"page_idx": 3
|
| 536 |
+
},
|
| 537 |
+
{
|
| 538 |
+
"type": "text",
|
| 539 |
+
"text": "For fine-tuned models below XXL size, when fine-tuning on the SDOH-NLI training set only, we observed poor generalization to the held-out SDOH factors in the test set (see Appendix D for detailed metrics). Because of this, why we experimented with fine-tuning on a combination of our data and ANLI R1, a challenging general-purpose NLI dataset of a similar size. For smaller models,",
|
| 540 |
+
"bbox": [
|
| 541 |
+
112,
|
| 542 |
+
790,
|
| 543 |
+
487,
|
| 544 |
+
917
|
| 545 |
+
],
|
| 546 |
+
"page_idx": 3
|
| 547 |
+
},
|
| 548 |
+
{
|
| 549 |
+
"type": "text",
|
| 550 |
+
"text": "fine-tuning on this mixture enabled robust generalization to unseen factors without sacrificing overall test performance.",
|
| 551 |
+
"bbox": [
|
| 552 |
+
507,
|
| 553 |
+
375,
|
| 554 |
+
882,
|
| 555 |
+
423
|
| 556 |
+
],
|
| 557 |
+
"page_idx": 3
|
| 558 |
+
},
|
| 559 |
+
{
|
| 560 |
+
"type": "text",
|
| 561 |
+
"text": "4.2 Discussion",
|
| 562 |
+
"text_level": 1,
|
| 563 |
+
"bbox": [
|
| 564 |
+
509,
|
| 565 |
+
453,
|
| 566 |
+
638,
|
| 567 |
+
467
|
| 568 |
+
],
|
| 569 |
+
"page_idx": 3
|
| 570 |
+
},
|
| 571 |
+
{
|
| 572 |
+
"type": "text",
|
| 573 |
+
"text": "What makes our dataset challenging for models fine-tuned on standard NLI datasets? We emphasize that it is not that it requires any specialized (e.g., medical) knowledge: most of our examples describe everyday situations in plain English (e.g., \"The patient is retired on disability due to her knee replacements\"); human raters without any domain-specific training had no difficulty understanding them. We conjecture that the main difference is that the hypotheses of typical NLI datasets are written to satisfy a given entailment label for a given premise, whereas ours are obtained independently from the premises, and therefore their entailment status can be more subtle and ambiguous. These models also struggled with distinguishing between statements about the present and the past; e.g., Flan-UL2 erroneously predicting that \"He is not a smoker\" entails \"The person wasn't a smoker in the past.\" Also, our dataset contains a lot of irrelevant hypotheses and requires the model to correctly classify all of those; we see off-the-shelf models occasionally giving them positive labels (e.g. predicting that \"She was living alone and is now living in assisted living.\" implies \"The person drank alcohol in the past.), hurting precision. As an example, Flan-T5 fine-tuned on ANLI had comparable recall to our best models, but much worse precision.",
|
| 574 |
+
"bbox": [
|
| 575 |
+
507,
|
| 576 |
+
483,
|
| 577 |
+
884,
|
| 578 |
+
917
|
| 579 |
+
],
|
| 580 |
+
"page_idx": 3
|
| 581 |
+
},
|
| 582 |
+
{
|
| 583 |
+
"type": "page_number",
|
| 584 |
+
"text": "4792",
|
| 585 |
+
"bbox": [
|
| 586 |
+
480,
|
| 587 |
+
928,
|
| 588 |
+
519,
|
| 589 |
+
940
|
| 590 |
+
],
|
| 591 |
+
"page_idx": 3
|
| 592 |
+
},
|
| 593 |
+
{
|
| 594 |
+
"type": "text",
|
| 595 |
+
"text": "5 Conclusion",
|
| 596 |
+
"text_level": 1,
|
| 597 |
+
"bbox": [
|
| 598 |
+
114,
|
| 599 |
+
84,
|
| 600 |
+
247,
|
| 601 |
+
98
|
| 602 |
+
],
|
| 603 |
+
"page_idx": 4
|
| 604 |
+
},
|
| 605 |
+
{
|
| 606 |
+
"type": "text",
|
| 607 |
+
"text": "In this work, we introduced SDOH-NLI, a new entailment dataset containing social history snippets as premises and social and behavioral determinants of health as hypotheses. Our dataset was designed both to reflect realistic use cases of SDOH extraction in clinical settings as well as to provide a high quality entailment dataset to support broader NLI research. We evaluated baseline methods using state-of-the-art public models in a variety of setups, and highlighted novel and challenging features of our dataset.",
|
| 608 |
+
"bbox": [
|
| 609 |
+
112,
|
| 610 |
+
109,
|
| 611 |
+
492,
|
| 612 |
+
287
|
| 613 |
+
],
|
| 614 |
+
"page_idx": 4
|
| 615 |
+
},
|
| 616 |
+
{
|
| 617 |
+
"type": "text",
|
| 618 |
+
"text": "Acknowledgments",
|
| 619 |
+
"text_level": 1,
|
| 620 |
+
"bbox": [
|
| 621 |
+
114,
|
| 622 |
+
300,
|
| 623 |
+
278,
|
| 624 |
+
317
|
| 625 |
+
],
|
| 626 |
+
"page_idx": 4
|
| 627 |
+
},
|
| 628 |
+
{
|
| 629 |
+
"type": "text",
|
| 630 |
+
"text": "The authors would like to thank Jonas B. Kemp, Von Nguyen, Birju Patel, Martin G. Seneviratne, Andy Strunk, and Vinh Q. Tran for their valuable feedback and discussions.",
|
| 631 |
+
"bbox": [
|
| 632 |
+
112,
|
| 633 |
+
326,
|
| 634 |
+
489,
|
| 635 |
+
390
|
| 636 |
+
],
|
| 637 |
+
"page_idx": 4
|
| 638 |
+
},
|
| 639 |
+
{
|
| 640 |
+
"type": "text",
|
| 641 |
+
"text": "Limitations",
|
| 642 |
+
"text_level": 1,
|
| 643 |
+
"bbox": [
|
| 644 |
+
114,
|
| 645 |
+
401,
|
| 646 |
+
218,
|
| 647 |
+
418
|
| 648 |
+
],
|
| 649 |
+
"page_idx": 4
|
| 650 |
+
},
|
| 651 |
+
{
|
| 652 |
+
"type": "text",
|
| 653 |
+
"text": "Our dataset is English-only, and reflects the American healthcare system. While a lot of the social and behavioral determinants of health mentioned in the data could apply elsewhere, too, their distribution and the language used to describe them could reflect U.S. norms. Also, since the dataset is based on transcription samples, the text can be cleaner than in some other settings (such as notes in EHRs), where the task could be more challenging due to typos and abbreviations that do not appear in our dataset. In such settings, performance could be improved by first using the methods of Rajkumar et al. (2022) to decode abbreviations, but we have not included this in our evaluations. Finally, our dataset only contains short note snippets, and we have not evaluated the models' ability to reconcile contradictory statements or reason about the chronology of information in longer patient records. For longer contexts, especially if the social history sections don't fit in the Transformer model's context window, we recommend evaluating the methods of Schuster et al. (2022).",
|
| 654 |
+
"bbox": [
|
| 655 |
+
112,
|
| 656 |
+
429,
|
| 657 |
+
490,
|
| 658 |
+
783
|
| 659 |
+
],
|
| 660 |
+
"page_idx": 4
|
| 661 |
+
},
|
| 662 |
+
{
|
| 663 |
+
"type": "text",
|
| 664 |
+
"text": "Ethics Statement",
|
| 665 |
+
"text_level": 1,
|
| 666 |
+
"bbox": [
|
| 667 |
+
114,
|
| 668 |
+
796,
|
| 669 |
+
265,
|
| 670 |
+
810
|
| 671 |
+
],
|
| 672 |
+
"page_idx": 4
|
| 673 |
+
},
|
| 674 |
+
{
|
| 675 |
+
"type": "text",
|
| 676 |
+
"text": "Machine learning research in the clinical domain has many ethical considerations. Given the nature of this work is to identify opportunities for care teams to improve the health outcomes of patients due to factors commonly not addressed, we think it contributes to human well-being and avoids harms.",
|
| 677 |
+
"bbox": [
|
| 678 |
+
112,
|
| 679 |
+
822,
|
| 680 |
+
490,
|
| 681 |
+
919
|
| 682 |
+
],
|
| 683 |
+
"page_idx": 4
|
| 684 |
+
},
|
| 685 |
+
{
|
| 686 |
+
"type": "text",
|
| 687 |
+
"text": "The use of public, non-identifiable data that is released for the NLP community helps balance the need to have reproducible (i.e., honest and trustworthy) data to enable technical advances while limiting the need for sensitive, private medical records for research. We acknowledge that the purpose of the work is to identify SDOH to provide additional help and services to patients, and we warn against any use to deny patients care or services based on any factor that can be identified. Although we picked a large number of SDOH factors to test our method, we acknowledge that there may be additional factors that are important for specific patients and populations, so we encourage researchers to reflect on those possible factors and create datasets to help others study them, as well.",
|
| 688 |
+
"bbox": [
|
| 689 |
+
507,
|
| 690 |
+
84,
|
| 691 |
+
884,
|
| 692 |
+
342
|
| 693 |
+
],
|
| 694 |
+
"page_idx": 4
|
| 695 |
+
},
|
| 696 |
+
{
|
| 697 |
+
"type": "text",
|
| 698 |
+
"text": "References",
|
| 699 |
+
"text_level": 1,
|
| 700 |
+
"bbox": [
|
| 701 |
+
510,
|
| 702 |
+
368,
|
| 703 |
+
608,
|
| 704 |
+
382
|
| 705 |
+
],
|
| 706 |
+
"page_idx": 4
|
| 707 |
+
},
|
| 708 |
+
{
|
| 709 |
+
"type": "list",
|
| 710 |
+
"sub_type": "ref_text",
|
| 711 |
+
"list_items": [
|
| 712 |
+
"Abigail Arons, Sarah DeSilvey, Caroline Fichtenberg, and Laura Gottlieb. 2018. Compendium of medical terminology codes for social risk factors.",
|
| 713 |
+
"Samuel Bowman, Gabor Angeli, Christopher Potts, and Christopher D Manning. 2015. A large annotated corpus for learning natural language inference. In Proceedings of the 2015 Conference on Empirical Methods in Natural Language Processing, pages 632-642.",
|
| 714 |
+
"Hyung Won Chung, Le Hou, Shayne Longpre, Barret Zoph, Yi Tay, William Fedus, Eric Li, Xuezhi Wang, Mostafa Dehghani, Siddhartha Brahma, et al. 2022. Scaling instruction-finetuned language models. arXiv preprint arXiv:2210.11416.",
|
| 715 |
+
"Agency for Healthcare Research and MD. Quality, Rockville. 2020. Social determinants of health database.",
|
| 716 |
+
"Sebastian Gehrmann, Franck Dernoncourt, Yeran Li, Eric T Carlson, Joy T Wu, Jonathan Welt, John Foote Jr, Edward T Moseley, David W Grant, Patrick D Tyler, et al. 2018. Comparing deep learning and concept extraction based methods for patient phenotyping from clinical narratives. *PloS one*, 13(2):e0192360.",
|
| 717 |
+
"Suchin Gururangan, Swabha Swayamdipta, Omer Levy, Roy Schwartz, Samuel Bowman, and Noah A Smith. 2018. Annotation artifacts in natural language inference data. 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 107-112.",
|
| 718 |
+
"Alistair EW Johnson, Tom J Pollard, Lu Shen, Liwei H Lehman, Mengling Feng, Mohammad Ghassemi, Benjamin Moody, Peter Szolovits, Leo Anthony Celi, and Roger G Mark. 2016. Mimic-iii,"
|
| 719 |
+
],
|
| 720 |
+
"bbox": [
|
| 721 |
+
509,
|
| 722 |
+
388,
|
| 723 |
+
885,
|
| 724 |
+
919
|
| 725 |
+
],
|
| 726 |
+
"page_idx": 4
|
| 727 |
+
},
|
| 728 |
+
{
|
| 729 |
+
"type": "page_number",
|
| 730 |
+
"text": "4793",
|
| 731 |
+
"bbox": [
|
| 732 |
+
480,
|
| 733 |
+
928,
|
| 734 |
+
519,
|
| 735 |
+
940
|
| 736 |
+
],
|
| 737 |
+
"page_idx": 4
|
| 738 |
+
},
|
| 739 |
+
{
|
| 740 |
+
"type": "list",
|
| 741 |
+
"sub_type": "ref_text",
|
| 742 |
+
"list_items": [
|
| 743 |
+
"a freely accessible critical care database. Scientific data, 3(1):1-9.",
|
| 744 |
+
"Yuta Koreeda and Christopher D Manning. 2021. Contractnli: A dataset for document-level natural language inference for contracts. In Findings of the Association for Computational Linguistics: EMNLP 2021, pages 1907-1919.",
|
| 745 |
+
"Dmytro S Lituiev, Benjamin Lacar, Sang Pak, Peter L Abramowitsch, Emilia H De Marchis, and Thomas A Peterson. 2023. Automatic extraction of social determinants of health from medical notes of chronic lower back pain patients. J. Am. Med. Inform. Assoc.",
|
| 746 |
+
"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.",
|
| 747 |
+
"Shayne Longpre, Le Hou, Tu Vu, Albert Webson, Hyung Won Chung, Yi Tay, Denny Zhou, Quoc V Le, Barret Zoph, Jason Wei, et al. 2023. The flan collection: Designing data and methods for effective instruction tuning. arXiv preprint arXiv:2301.13688.",
|
| 748 |
+
"Kevin Lybarger, Mari Ostendorf, and Meliha Yetisgen. 2021. Annotating social determinants of health using active learning, and characterizing determinants using neural event extraction. Journal of Biomedical Informatics, 113:103631.",
|
| 749 |
+
"Tom McCoy, Ellie Pavlick, and Tal Linzen. 2019. Right for the wrong reasons: Diagnosing syntactic heuristics in natural language inference. In Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics, pages 3428-3448.",
|
| 750 |
+
"Jianmo Ni, Gustavo Hernandez Abrego, Noah Constant, Ji Ma, Keith Hall, Daniel Cer, and Yinfei Yang. 2022a. Sentence-t5: Scalable sentence encoders from pre-trained text-to-text models. In *Findings of the Association for Computational Linguistics: ACL* 2022, pages 1864–1874.",
|
| 751 |
+
"Jianmo Ni, Chen Qu, Jing Lu, Zhuyun Dai, Gustavo Hernandez Abrego, Ji Ma, Vincent Zhao, Yi Luan, Keith Hall, Ming-Wei Chang, and Yinfei Yang. 2022b. Large dual encoders are generalizable retrievers. In Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing, pages 9844–9855, Abu Dhabi, United Arab Emirates. Association for Computational Linguistics.",
|
| 752 |
+
"Yixin Nie, Adina Williams, Emily Dinan, Mohit Bansal, Jason Weston, and Douwe Kiela. 2020. Adversarial nli: A new benchmark for natural language understanding. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pages 4885-4901.",
|
| 753 |
+
"Braja G Patra, Mohit M Sharma, Veer Vekaria, Prakash Adekkanattu, Olga V Patterson, Benjamin Glicksberg, Lauren A Lepow, Euijung Ryu, Joanna M Biernacka, Al'ona Furmanchuk, et al. 2021. Extracting"
|
| 754 |
+
],
|
| 755 |
+
"bbox": [
|
| 756 |
+
115,
|
| 757 |
+
85,
|
| 758 |
+
489,
|
| 759 |
+
917
|
| 760 |
+
],
|
| 761 |
+
"page_idx": 5
|
| 762 |
+
},
|
| 763 |
+
{
|
| 764 |
+
"type": "list",
|
| 765 |
+
"sub_type": "ref_text",
|
| 766 |
+
"list_items": [
|
| 767 |
+
"social determinants of health from electronic health records using natural language processing: a systematic review. Journal of the American Medical Informatics Association, 28(12):2716-2727.",
|
| 768 |
+
"Adam Poliak. 2020. A survey on recognizing textual entailment as an nlp evaluation. In Proceedings of the First Workshop on Evaluation and Comparison of NLP Systems, pages 92-109.",
|
| 769 |
+
"Adam Poliak, Jason Naradowsky, Aparajita Haldar, Rachel Rudinger, and Benjamin Van Durme. 2018. Hypothesis only baselines in natural language inference. In Proceedings of the Seventh Joint Conference on Lexical and Computational Semantics, pages 180-191.",
|
| 770 |
+
"Alvin Rajkomar, Eric Loreaux, Yuchen Liu, Jonas Kemp, Benny Li, Ming-Jun Chen, Yi Zhang, Afroz Mohiuddin, and Juraj Gottweis. 2022. Deciphering clinical abbreviations with a privacy protecting machine learning system. Nature Communications, 13(1):7456.",
|
| 771 |
+
"Adam Roberts, Hyung Won Chung, Anselm Levskaya, Gaurav Mishra, James Bradbury, Daniel Andor, Sharan Narang, Brian Lester, Colin Gaffney, Afroz Mohiuddin, et al. 2022. Scaling up models and data with t5x and seqio. arXiv preprint arXiv:2203.17189.",
|
| 772 |
+
"Tal Schuster, Sihao Chen, Senaka Buthpitiya, Alex Fabrikant, and Donald Metzler. 2022. Stretching sentence-pair NLI models to reason over long documents and clusters. In Findings of the Association for Computational Linguistics: EMNLP 2022, pages 394-412, Abu Dhabi, United Arab Emirates. Association for Computational Linguistics.",
|
| 773 |
+
"Tal Schuster, Adam Fisch, and Regina Barzilay. 2021. Get your vitamin c! robust fact verification with contrastive evidence. In Proceedings of the 2021 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pages 624-643.",
|
| 774 |
+
"Shane Storks, Qiaozi Gao, and Joyce Y Chai. 2019. Recent advances in natural language inference: A survey of benchmarks, resources, and approaches. arXiv preprint arXiv:1904.01172.",
|
| 775 |
+
"Yi Tay, Mostafa Dehghani, Vinh Q Tran, Xavier Garcia, Jason Wei, Xuezhi Wang, Hyung Won Chung, Dara Bahri, Tal Schuster, Steven Zheng, et al. 2023. UI2: Unifying language learning paradigms. In The Eleventh International Conference on Learning Representations.",
|
| 776 |
+
"James Thorne, Andreas Vlachos, Christos Christodoulopoulos, and Arpit Mittal. 2018. FEVER: a large-scale dataset for fact extraction and VERIFICATION. In Proceedings of the 2018 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long"
|
| 777 |
+
],
|
| 778 |
+
"bbox": [
|
| 779 |
+
510,
|
| 780 |
+
85,
|
| 781 |
+
884,
|
| 782 |
+
917
|
| 783 |
+
],
|
| 784 |
+
"page_idx": 5
|
| 785 |
+
},
|
| 786 |
+
{
|
| 787 |
+
"type": "page_number",
|
| 788 |
+
"text": "4794",
|
| 789 |
+
"bbox": [
|
| 790 |
+
480,
|
| 791 |
+
928,
|
| 792 |
+
519,
|
| 793 |
+
940
|
| 794 |
+
],
|
| 795 |
+
"page_idx": 5
|
| 796 |
+
},
|
| 797 |
+
{
|
| 798 |
+
"type": "text",
|
| 799 |
+
"text": "Papers), pages 809-819, New Orleans, Louisiana. Association for Computational Linguistics.",
|
| 800 |
+
"bbox": [
|
| 801 |
+
132,
|
| 802 |
+
85,
|
| 803 |
+
487,
|
| 804 |
+
112
|
| 805 |
+
],
|
| 806 |
+
"page_idx": 6
|
| 807 |
+
},
|
| 808 |
+
{
|
| 809 |
+
"type": "text",
|
| 810 |
+
"text": "Özlem Uzuner, Ira Goldstein, Yuan Luo, and Isaac Kohane. 2008. Identifying patient smoking status from medical discharge records. Journal of the American Medical Informatics Association, 15(1):14-24.",
|
| 811 |
+
"bbox": [
|
| 812 |
+
114,
|
| 813 |
+
121,
|
| 814 |
+
489,
|
| 815 |
+
175
|
| 816 |
+
],
|
| 817 |
+
"page_idx": 6
|
| 818 |
+
},
|
| 819 |
+
{
|
| 820 |
+
"type": "text",
|
| 821 |
+
"text": "Yan Wang, Elizabeth S Chen, Serguei Pakhomov, Elliot Arsoniadis, Elizabeth W Carter, Elizabeth Lindemann, Indra Neil Sarkar, and Genevieve B Melton. 2015. Automated extraction of substance use information from clinical texts. In AMIA Annual Symposium Proceedings, volume 2015, page 2121. American Medical Informatics Association.",
|
| 822 |
+
"bbox": [
|
| 823 |
+
115,
|
| 824 |
+
184,
|
| 825 |
+
489,
|
| 826 |
+
275
|
| 827 |
+
],
|
| 828 |
+
"page_idx": 6
|
| 829 |
+
},
|
| 830 |
+
{
|
| 831 |
+
"type": "text",
|
| 832 |
+
"text": "Adina Williams, Nikita Nangia, and Samuel Bowman. 2018. A broad-coverage challenge corpus for sentence understanding through inference. In Proceedings of the 2018 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long Papers), pages 1112-1122.",
|
| 833 |
+
"bbox": [
|
| 834 |
+
115,
|
| 835 |
+
286,
|
| 836 |
+
489,
|
| 837 |
+
379
|
| 838 |
+
],
|
| 839 |
+
"page_idx": 6
|
| 840 |
+
},
|
| 841 |
+
{
|
| 842 |
+
"type": "text",
|
| 843 |
+
"text": "Tamara J Winden, Elizabeth S Chen, Yan Wang, Elizabeth Lindemann, and Genevieve B Melton. 2017. Residence, living situation, and living conditions information documentation in clinical practice. In AMIA Annual Symposium Proceedings, volume 2017, page 1783. American Medical Informatics Association.",
|
| 844 |
+
"bbox": [
|
| 845 |
+
115,
|
| 846 |
+
388,
|
| 847 |
+
489,
|
| 848 |
+
479
|
| 849 |
+
],
|
| 850 |
+
"page_idx": 6
|
| 851 |
+
},
|
| 852 |
+
{
|
| 853 |
+
"type": "text",
|
| 854 |
+
"text": "Meliha Yetisgen, Elena Pellicer, David R Crosslin, and Lucy Vanderwende. 2016. Automatic identification of lifestyle and environmental factors from social history in clinical text. In Proceedings of AMIA 2016 Joint Summits on Translational Science.",
|
| 855 |
+
"bbox": [
|
| 856 |
+
115,
|
| 857 |
+
489,
|
| 858 |
+
487,
|
| 859 |
+
555
|
| 860 |
+
],
|
| 861 |
+
"page_idx": 6
|
| 862 |
+
},
|
| 863 |
+
{
|
| 864 |
+
"type": "text",
|
| 865 |
+
"text": "Meliha Yetisgen and Lucy Vanderwende. 2017. Automatic identification of substance abuse from social history in clinical text. In Artificial Intelligence in Medicine: 16th Conference on Artificial Intelligence in Medicine, AIME 2017, Vienna, Austria, June 21-24, 2017, Proceedings 16, pages 171-181. Springer.",
|
| 866 |
+
"bbox": [
|
| 867 |
+
115,
|
| 868 |
+
565,
|
| 869 |
+
489,
|
| 870 |
+
645
|
| 871 |
+
],
|
| 872 |
+
"page_idx": 6
|
| 873 |
+
},
|
| 874 |
+
{
|
| 875 |
+
"type": "text",
|
| 876 |
+
"text": "A Labeling Setup",
|
| 877 |
+
"text_level": 1,
|
| 878 |
+
"bbox": [
|
| 879 |
+
509,
|
| 880 |
+
83,
|
| 881 |
+
680,
|
| 882 |
+
101
|
| 883 |
+
],
|
| 884 |
+
"page_idx": 6
|
| 885 |
+
},
|
| 886 |
+
{
|
| 887 |
+
"type": "text",
|
| 888 |
+
"text": "Raters were given the following instructions:",
|
| 889 |
+
"bbox": [
|
| 890 |
+
509,
|
| 891 |
+
109,
|
| 892 |
+
843,
|
| 893 |
+
124
|
| 894 |
+
],
|
| 895 |
+
"page_idx": 6
|
| 896 |
+
},
|
| 897 |
+
{
|
| 898 |
+
"type": "text",
|
| 899 |
+
"text": "\"In this task, you will be given a list of snippets from transcribed medical records, describing a person's social history. Your job is to select the categories that are relevant to the snippet and, in each category, select statements about the person that are supported by the snippet.",
|
| 900 |
+
"bbox": [
|
| 901 |
+
507,
|
| 902 |
+
124,
|
| 903 |
+
882,
|
| 904 |
+
221
|
| 905 |
+
],
|
| 906 |
+
"page_idx": 6
|
| 907 |
+
},
|
| 908 |
+
{
|
| 909 |
+
"type": "text",
|
| 910 |
+
"text": "Only select categories and statements relevant to the subject of the sentence, NOT if they apply to someone else (such as the subject's relatives).",
|
| 911 |
+
"bbox": [
|
| 912 |
+
507,
|
| 913 |
+
222,
|
| 914 |
+
880,
|
| 915 |
+
269
|
| 916 |
+
],
|
| 917 |
+
"page_idx": 6
|
| 918 |
+
},
|
| 919 |
+
{
|
| 920 |
+
"type": "text",
|
| 921 |
+
"text": "The source of the medical transcript samples is a public dataset (MTSamples.com), and not your, other raters' or users health transcript data.\"",
|
| 922 |
+
"bbox": [
|
| 923 |
+
507,
|
| 924 |
+
269,
|
| 925 |
+
882,
|
| 926 |
+
317
|
| 927 |
+
],
|
| 928 |
+
"page_idx": 6
|
| 929 |
+
},
|
| 930 |
+
{
|
| 931 |
+
"type": "text",
|
| 932 |
+
"text": "For each snippet, they were required select one or more of the following categories (including \"None of the above\" if none of the categories were relevant). If they selected a category, the statements within the category would be displayed, and they were required to select one of statements within that category, or \"None of the above\":",
|
| 933 |
+
"bbox": [
|
| 934 |
+
507,
|
| 935 |
+
319,
|
| 936 |
+
882,
|
| 937 |
+
430
|
| 938 |
+
],
|
| 939 |
+
"page_idx": 6
|
| 940 |
+
},
|
| 941 |
+
{
|
| 942 |
+
"type": "text",
|
| 943 |
+
"text": "Smoking",
|
| 944 |
+
"bbox": [
|
| 945 |
+
531,
|
| 946 |
+
441,
|
| 947 |
+
618,
|
| 948 |
+
457
|
| 949 |
+
],
|
| 950 |
+
"page_idx": 6
|
| 951 |
+
},
|
| 952 |
+
{
|
| 953 |
+
"type": "list",
|
| 954 |
+
"sub_type": "text",
|
| 955 |
+
"list_items": [
|
| 956 |
+
"- The person is currently a smoker.",
|
| 957 |
+
"- The person is currently not a smoker.",
|
| 958 |
+
"- The person was a smoker in the past.",
|
| 959 |
+
"- The person wasn't a smoker in the past.",
|
| 960 |
+
"- None of the above"
|
| 961 |
+
],
|
| 962 |
+
"bbox": [
|
| 963 |
+
566,
|
| 964 |
+
464,
|
| 965 |
+
877,
|
| 966 |
+
551
|
| 967 |
+
],
|
| 968 |
+
"page_idx": 6
|
| 969 |
+
},
|
| 970 |
+
{
|
| 971 |
+
"type": "text",
|
| 972 |
+
"text": "- Alcohol use",
|
| 973 |
+
"bbox": [
|
| 974 |
+
531,
|
| 975 |
+
564,
|
| 976 |
+
638,
|
| 977 |
+
577
|
| 978 |
+
],
|
| 979 |
+
"page_idx": 6
|
| 980 |
+
},
|
| 981 |
+
{
|
| 982 |
+
"type": "list",
|
| 983 |
+
"sub_type": "text",
|
| 984 |
+
"list_items": [
|
| 985 |
+
"- The person currently drinks alcohol.",
|
| 986 |
+
"- The person currently does not drink alcohol.",
|
| 987 |
+
"- The person drank alcohol in the past.",
|
| 988 |
+
"- The person did not drink alcohol in the past.",
|
| 989 |
+
"- None of the above"
|
| 990 |
+
],
|
| 991 |
+
"bbox": [
|
| 992 |
+
566,
|
| 993 |
+
587,
|
| 994 |
+
882,
|
| 995 |
+
706
|
| 996 |
+
],
|
| 997 |
+
"page_idx": 6
|
| 998 |
+
},
|
| 999 |
+
{
|
| 1000 |
+
"type": "text",
|
| 1001 |
+
"text": "- Drug use",
|
| 1002 |
+
"bbox": [
|
| 1003 |
+
531,
|
| 1004 |
+
719,
|
| 1005 |
+
618,
|
| 1006 |
+
733
|
| 1007 |
+
],
|
| 1008 |
+
"page_idx": 6
|
| 1009 |
+
},
|
| 1010 |
+
{
|
| 1011 |
+
"type": "list",
|
| 1012 |
+
"sub_type": "text",
|
| 1013 |
+
"list_items": [
|
| 1014 |
+
"- The person is a drug user.",
|
| 1015 |
+
"- The person is not a drug user.",
|
| 1016 |
+
"- The person was a drug user in the past.",
|
| 1017 |
+
"- The person wasn't a drug user in the past.",
|
| 1018 |
+
"- The person uses cocaine.",
|
| 1019 |
+
"- The person does not use cocaine.",
|
| 1020 |
+
"- The person used cocaine in the past.",
|
| 1021 |
+
"- The person did not use cocaine in the past.",
|
| 1022 |
+
"- The person uses marijuana."
|
| 1023 |
+
],
|
| 1024 |
+
"bbox": [
|
| 1025 |
+
566,
|
| 1026 |
+
741,
|
| 1027 |
+
882,
|
| 1028 |
+
917
|
| 1029 |
+
],
|
| 1030 |
+
"page_idx": 6
|
| 1031 |
+
},
|
| 1032 |
+
{
|
| 1033 |
+
"type": "page_number",
|
| 1034 |
+
"text": "4795",
|
| 1035 |
+
"bbox": [
|
| 1036 |
+
480,
|
| 1037 |
+
928,
|
| 1038 |
+
519,
|
| 1039 |
+
940
|
| 1040 |
+
],
|
| 1041 |
+
"page_idx": 6
|
| 1042 |
+
},
|
| 1043 |
+
{
|
| 1044 |
+
"type": "list",
|
| 1045 |
+
"sub_type": "text",
|
| 1046 |
+
"list_items": [
|
| 1047 |
+
"- The person does not use marijuana.",
|
| 1048 |
+
"- The person used marijuana in the past.",
|
| 1049 |
+
"- The person did not use marijuana in the past.",
|
| 1050 |
+
"- The person uses opioids (e.g., heroin, fentanyl, oxycodone).",
|
| 1051 |
+
"- The person does not opioids (e.g., heroin, fentanyl, oxycodone).",
|
| 1052 |
+
"- The person used opioids in the past (e.g., heroin, fentanyl, oxycodone).",
|
| 1053 |
+
"- The person did not use opioids in the past (e.g., heroin, fentanyl, oxycodone).",
|
| 1054 |
+
"- None of the above"
|
| 1055 |
+
],
|
| 1056 |
+
"bbox": [
|
| 1057 |
+
169,
|
| 1058 |
+
85,
|
| 1059 |
+
487,
|
| 1060 |
+
305
|
| 1061 |
+
],
|
| 1062 |
+
"page_idx": 7
|
| 1063 |
+
},
|
| 1064 |
+
{
|
| 1065 |
+
"type": "text",
|
| 1066 |
+
"text": "- Employment",
|
| 1067 |
+
"text_level": 1,
|
| 1068 |
+
"bbox": [
|
| 1069 |
+
136,
|
| 1070 |
+
318,
|
| 1071 |
+
250,
|
| 1072 |
+
332
|
| 1073 |
+
],
|
| 1074 |
+
"page_idx": 7
|
| 1075 |
+
},
|
| 1076 |
+
{
|
| 1077 |
+
"type": "list",
|
| 1078 |
+
"sub_type": "text",
|
| 1079 |
+
"list_items": [
|
| 1080 |
+
"- The person is employed.",
|
| 1081 |
+
"- The person is not employed.",
|
| 1082 |
+
"- The person is employed part time.",
|
| 1083 |
+
"- The person is a student.",
|
| 1084 |
+
"- The person is a homemaker.",
|
| 1085 |
+
"- The person is retired due to age or preference.",
|
| 1086 |
+
"- The person is retired due to disability.",
|
| 1087 |
+
"- The person is retired due to an unknown reason.",
|
| 1088 |
+
"- None of the above"
|
| 1089 |
+
],
|
| 1090 |
+
"bbox": [
|
| 1091 |
+
169,
|
| 1092 |
+
342,
|
| 1093 |
+
487,
|
| 1094 |
+
533
|
| 1095 |
+
],
|
| 1096 |
+
"page_idx": 7
|
| 1097 |
+
},
|
| 1098 |
+
{
|
| 1099 |
+
"type": "text",
|
| 1100 |
+
"text": "Housing",
|
| 1101 |
+
"text_level": 1,
|
| 1102 |
+
"bbox": [
|
| 1103 |
+
136,
|
| 1104 |
+
545,
|
| 1105 |
+
218,
|
| 1106 |
+
560
|
| 1107 |
+
],
|
| 1108 |
+
"page_idx": 7
|
| 1109 |
+
},
|
| 1110 |
+
{
|
| 1111 |
+
"type": "list",
|
| 1112 |
+
"sub_type": "text",
|
| 1113 |
+
"list_items": [
|
| 1114 |
+
"- The person lives in their own or their family's home.",
|
| 1115 |
+
"- The person lives in a housing facility.",
|
| 1116 |
+
"- The person is homeless.",
|
| 1117 |
+
"- The person is stably housed.",
|
| 1118 |
+
"- The person's housing is unsuited to their needs.",
|
| 1119 |
+
"- None of the above"
|
| 1120 |
+
],
|
| 1121 |
+
"bbox": [
|
| 1122 |
+
169,
|
| 1123 |
+
568,
|
| 1124 |
+
485,
|
| 1125 |
+
705
|
| 1126 |
+
],
|
| 1127 |
+
"page_idx": 7
|
| 1128 |
+
},
|
| 1129 |
+
{
|
| 1130 |
+
"type": "text",
|
| 1131 |
+
"text": "Food",
|
| 1132 |
+
"text_level": 1,
|
| 1133 |
+
"bbox": [
|
| 1134 |
+
136,
|
| 1135 |
+
717,
|
| 1136 |
+
193,
|
| 1137 |
+
730
|
| 1138 |
+
],
|
| 1139 |
+
"page_idx": 7
|
| 1140 |
+
},
|
| 1141 |
+
{
|
| 1142 |
+
"type": "list",
|
| 1143 |
+
"sub_type": "text",
|
| 1144 |
+
"list_items": [
|
| 1145 |
+
"- The person is able to obtain food on a consistent basis.",
|
| 1146 |
+
"- The person is not able to obtain food on a consistent basis.",
|
| 1147 |
+
"- The person has consistent fruit and vegetable intake.",
|
| 1148 |
+
"- The person does not have consistent fruit and vegetable intake.",
|
| 1149 |
+
"- None of the above"
|
| 1150 |
+
],
|
| 1151 |
+
"bbox": [
|
| 1152 |
+
169,
|
| 1153 |
+
740,
|
| 1154 |
+
487,
|
| 1155 |
+
891
|
| 1156 |
+
],
|
| 1157 |
+
"page_idx": 7
|
| 1158 |
+
},
|
| 1159 |
+
{
|
| 1160 |
+
"type": "text",
|
| 1161 |
+
"text": "- Transportation",
|
| 1162 |
+
"text_level": 1,
|
| 1163 |
+
"bbox": [
|
| 1164 |
+
136,
|
| 1165 |
+
903,
|
| 1166 |
+
263,
|
| 1167 |
+
917
|
| 1168 |
+
],
|
| 1169 |
+
"page_idx": 7
|
| 1170 |
+
},
|
| 1171 |
+
{
|
| 1172 |
+
"type": "list",
|
| 1173 |
+
"sub_type": "text",
|
| 1174 |
+
"list_items": [
|
| 1175 |
+
"- The person has access to transportation.",
|
| 1176 |
+
"- The person does not have access to transportation.",
|
| 1177 |
+
"- The person has access to a car.",
|
| 1178 |
+
"- The person does not have access to a car.",
|
| 1179 |
+
"- The person has access to public transit.",
|
| 1180 |
+
"- The person does not have access to public transit.",
|
| 1181 |
+
"- The person has issues with finding transportation.",
|
| 1182 |
+
"- None of the above"
|
| 1183 |
+
],
|
| 1184 |
+
"bbox": [
|
| 1185 |
+
564,
|
| 1186 |
+
84,
|
| 1187 |
+
882,
|
| 1188 |
+
275
|
| 1189 |
+
],
|
| 1190 |
+
"page_idx": 7
|
| 1191 |
+
},
|
| 1192 |
+
{
|
| 1193 |
+
"type": "text",
|
| 1194 |
+
"text": "Health insurance",
|
| 1195 |
+
"text_level": 1,
|
| 1196 |
+
"bbox": [
|
| 1197 |
+
532,
|
| 1198 |
+
288,
|
| 1199 |
+
675,
|
| 1200 |
+
300
|
| 1201 |
+
],
|
| 1202 |
+
"page_idx": 7
|
| 1203 |
+
},
|
| 1204 |
+
{
|
| 1205 |
+
"type": "list",
|
| 1206 |
+
"sub_type": "text",
|
| 1207 |
+
"list_items": [
|
| 1208 |
+
"- The person has private health insurance.",
|
| 1209 |
+
"- The person is on Medicare.",
|
| 1210 |
+
"- The person is on Medicaid.",
|
| 1211 |
+
"- The person does not have health insurance.",
|
| 1212 |
+
"- None of the above"
|
| 1213 |
+
],
|
| 1214 |
+
"bbox": [
|
| 1215 |
+
564,
|
| 1216 |
+
311,
|
| 1217 |
+
882,
|
| 1218 |
+
414
|
| 1219 |
+
],
|
| 1220 |
+
"page_idx": 7
|
| 1221 |
+
},
|
| 1222 |
+
{
|
| 1223 |
+
"type": "text",
|
| 1224 |
+
"text": "Social support",
|
| 1225 |
+
"text_level": 1,
|
| 1226 |
+
"bbox": [
|
| 1227 |
+
532,
|
| 1228 |
+
426,
|
| 1229 |
+
655,
|
| 1230 |
+
442
|
| 1231 |
+
],
|
| 1232 |
+
"page_idx": 7
|
| 1233 |
+
},
|
| 1234 |
+
{
|
| 1235 |
+
"type": "list",
|
| 1236 |
+
"sub_type": "text",
|
| 1237 |
+
"list_items": [
|
| 1238 |
+
"- The person has social support.",
|
| 1239 |
+
"- The person does not have social support.",
|
| 1240 |
+
"- The person lives alone.",
|
| 1241 |
+
"- The person does not live alone.",
|
| 1242 |
+
"- None of the above"
|
| 1243 |
+
],
|
| 1244 |
+
"bbox": [
|
| 1245 |
+
564,
|
| 1246 |
+
451,
|
| 1247 |
+
882,
|
| 1248 |
+
537
|
| 1249 |
+
],
|
| 1250 |
+
"page_idx": 7
|
| 1251 |
+
},
|
| 1252 |
+
{
|
| 1253 |
+
"type": "text",
|
| 1254 |
+
"text": "Financial situation",
|
| 1255 |
+
"text_level": 1,
|
| 1256 |
+
"bbox": [
|
| 1257 |
+
532,
|
| 1258 |
+
550,
|
| 1259 |
+
687,
|
| 1260 |
+
564
|
| 1261 |
+
],
|
| 1262 |
+
"page_idx": 7
|
| 1263 |
+
},
|
| 1264 |
+
{
|
| 1265 |
+
"type": "list",
|
| 1266 |
+
"sub_type": "text",
|
| 1267 |
+
"list_items": [
|
| 1268 |
+
"- The person is below the poverty line.",
|
| 1269 |
+
"- The person is above the poverty line.",
|
| 1270 |
+
"- The person is able to afford medications.",
|
| 1271 |
+
"- The person is not able to afford medications.",
|
| 1272 |
+
"- None of the above"
|
| 1273 |
+
],
|
| 1274 |
+
"bbox": [
|
| 1275 |
+
564,
|
| 1276 |
+
574,
|
| 1277 |
+
882,
|
| 1278 |
+
677
|
| 1279 |
+
],
|
| 1280 |
+
"page_idx": 7
|
| 1281 |
+
},
|
| 1282 |
+
{
|
| 1283 |
+
"type": "text",
|
| 1284 |
+
"text": "- None of the above",
|
| 1285 |
+
"text_level": 1,
|
| 1286 |
+
"bbox": [
|
| 1287 |
+
532,
|
| 1288 |
+
690,
|
| 1289 |
+
685,
|
| 1290 |
+
703
|
| 1291 |
+
],
|
| 1292 |
+
"page_idx": 7
|
| 1293 |
+
},
|
| 1294 |
+
{
|
| 1295 |
+
"type": "text",
|
| 1296 |
+
"text": "B Prompting Setup",
|
| 1297 |
+
"text_level": 1,
|
| 1298 |
+
"bbox": [
|
| 1299 |
+
509,
|
| 1300 |
+
717,
|
| 1301 |
+
694,
|
| 1302 |
+
734
|
| 1303 |
+
],
|
| 1304 |
+
"page_idx": 7
|
| 1305 |
+
},
|
| 1306 |
+
{
|
| 1307 |
+
"type": "text",
|
| 1308 |
+
"text": "Our goal with the design of our zero/few-shot experiments was to stay close to how the models were trained and evaluated on similar NLI tasks. Since the models we used were fine-tuned on the Flan collection (Longpre et al., 2023), which includes several NLI datasets, we reused some of the Flan collections's prompt templates.",
|
| 1309 |
+
"bbox": [
|
| 1310 |
+
507,
|
| 1311 |
+
741,
|
| 1312 |
+
882,
|
| 1313 |
+
854
|
| 1314 |
+
],
|
| 1315 |
+
"page_idx": 7
|
| 1316 |
+
},
|
| 1317 |
+
{
|
| 1318 |
+
"type": "text",
|
| 1319 |
+
"text": "In particular, we used the templates for the SNLI and MNLI dataset which were the most relevant to our data. (We excluded templates for other datasets such as RTE, ANLI, or WNLI because the wording",
|
| 1320 |
+
"bbox": [
|
| 1321 |
+
507,
|
| 1322 |
+
854,
|
| 1323 |
+
882,
|
| 1324 |
+
917
|
| 1325 |
+
],
|
| 1326 |
+
"page_idx": 7
|
| 1327 |
+
},
|
| 1328 |
+
{
|
| 1329 |
+
"type": "page_number",
|
| 1330 |
+
"text": "4796",
|
| 1331 |
+
"bbox": [
|
| 1332 |
+
480,
|
| 1333 |
+
928,
|
| 1334 |
+
519,
|
| 1335 |
+
940
|
| 1336 |
+
],
|
| 1337 |
+
"page_idx": 7
|
| 1338 |
+
},
|
| 1339 |
+
{
|
| 1340 |
+
"type": "text",
|
| 1341 |
+
"text": "of some of the prompts could be slightly misleading; e.g. by referring to the premise as a \"paragraph.\") For each example, we chose a prompt template uniformly at random from the 19 templates. For few-shot experiments, we first picked a random positive example from the training set, then picked the other few-shot examples uniformly at random from the training examples. (Without explicitly forcing at least one example to be positive, it would be very likely that all the few-shot examples would be negative, given the label imbalance in the dataset. We tried dropping that requirement and sampling all examples at random, which resulted in a slight drop in model performance, as we expected.)",
|
| 1342 |
+
"bbox": [
|
| 1343 |
+
115,
|
| 1344 |
+
84,
|
| 1345 |
+
489,
|
| 1346 |
+
324
|
| 1347 |
+
],
|
| 1348 |
+
"page_idx": 8
|
| 1349 |
+
},
|
| 1350 |
+
{
|
| 1351 |
+
"type": "text",
|
| 1352 |
+
"text": "Since SNLI and MNLI have three answer options (\"yes,\" \"it is not possible to tell,\" \"no\"), we kept all three of these options in the prompt template, even though our dataset is binary. We experimented with dropping either the \"no\" or the \"it is not possible to tell\" option; both of these deviations from the original prompts resulted in slight decreases in model performance.",
|
| 1353 |
+
"bbox": [
|
| 1354 |
+
115,
|
| 1355 |
+
326,
|
| 1356 |
+
489,
|
| 1357 |
+
454
|
| 1358 |
+
],
|
| 1359 |
+
"page_idx": 8
|
| 1360 |
+
},
|
| 1361 |
+
{
|
| 1362 |
+
"type": "text",
|
| 1363 |
+
"text": "We use rank classification to obtain binary labels (as is customary): i.e., instead of decoding a model prediction, we score the three answer options (for three copies of each input example) and consider the prediction positive if \"yes\" has the highest score. Similarly to our experiment with SENTLI, we also tried taking softmax over the three options and using a fixed threshold for \"yes\" which maximizes F1 score on the training set; this resulted in a small drop in test F1 score (e.g., .6501 to .6222 for Flan-UL2).",
|
| 1364 |
+
"bbox": [
|
| 1365 |
+
115,
|
| 1366 |
+
456,
|
| 1367 |
+
489,
|
| 1368 |
+
630
|
| 1369 |
+
],
|
| 1370 |
+
"page_idx": 8
|
| 1371 |
+
},
|
| 1372 |
+
{
|
| 1373 |
+
"type": "text",
|
| 1374 |
+
"text": "C Fine-tuning Setup",
|
| 1375 |
+
"text_level": 1,
|
| 1376 |
+
"bbox": [
|
| 1377 |
+
115,
|
| 1378 |
+
645,
|
| 1379 |
+
309,
|
| 1380 |
+
662
|
| 1381 |
+
],
|
| 1382 |
+
"page_idx": 8
|
| 1383 |
+
},
|
| 1384 |
+
{
|
| 1385 |
+
"type": "text",
|
| 1386 |
+
"text": "All models were fine-tuned using the T5X framework (Roberts et al., 2022) on TPUv3 chips for $10\\mathrm{k}$ steps with batch size 32 and learning rate 1e-4, with the exception of the T5 small size models which were finetuned for $50\\mathrm{k}$ steps. For each model, we picked the checkpoint with the highest F1 score on the validation set.",
|
| 1387 |
+
"bbox": [
|
| 1388 |
+
115,
|
| 1389 |
+
671,
|
| 1390 |
+
489,
|
| 1391 |
+
781
|
| 1392 |
+
],
|
| 1393 |
+
"page_idx": 8
|
| 1394 |
+
},
|
| 1395 |
+
{
|
| 1396 |
+
"type": "text",
|
| 1397 |
+
"text": "D Additional Model Fine-tuning Results",
|
| 1398 |
+
"text_level": 1,
|
| 1399 |
+
"bbox": [
|
| 1400 |
+
115,
|
| 1401 |
+
796,
|
| 1402 |
+
478,
|
| 1403 |
+
813
|
| 1404 |
+
],
|
| 1405 |
+
"page_idx": 8
|
| 1406 |
+
},
|
| 1407 |
+
{
|
| 1408 |
+
"type": "text",
|
| 1409 |
+
"text": "See Table 2 for the full set of results from our finetuning experiments. Here we also include metrics on the subset of the test set consisting on the new SDOH factors not included in the training and validation sets to highlight the differences in models' ability to generalize to unseen factors.",
|
| 1410 |
+
"bbox": [
|
| 1411 |
+
115,
|
| 1412 |
+
822,
|
| 1413 |
+
489,
|
| 1414 |
+
917
|
| 1415 |
+
],
|
| 1416 |
+
"page_idx": 8
|
| 1417 |
+
},
|
| 1418 |
+
{
|
| 1419 |
+
"type": "text",
|
| 1420 |
+
"text": "Note that since Flan-T5 models between sizes large and XL fine-tuned on either ANLI or our SDOH dataset alone underperformed the same models fine-tuned on the combined dataset, we did not perform these dataset ablations on smaller Flan-T5 models or on T5 below the XXL size.",
|
| 1421 |
+
"bbox": [
|
| 1422 |
+
512,
|
| 1423 |
+
84,
|
| 1424 |
+
884,
|
| 1425 |
+
179
|
| 1426 |
+
],
|
| 1427 |
+
"page_idx": 8
|
| 1428 |
+
},
|
| 1429 |
+
{
|
| 1430 |
+
"type": "page_number",
|
| 1431 |
+
"text": "4797",
|
| 1432 |
+
"bbox": [
|
| 1433 |
+
480,
|
| 1434 |
+
928,
|
| 1435 |
+
519,
|
| 1436 |
+
940
|
| 1437 |
+
],
|
| 1438 |
+
"page_idx": 8
|
| 1439 |
+
},
|
| 1440 |
+
{
|
| 1441 |
+
"type": "table",
|
| 1442 |
+
"img_path": "images/514aba77f9ea16175ddd817e9ee0dcca8bd69793c124ea2c004290a8d709c85b.jpg",
|
| 1443 |
+
"table_caption": [],
|
| 1444 |
+
"table_footnote": [],
|
| 1445 |
+
"table_body": "<table><tr><td>Model</td><td>Size</td><td>Dataset</td><td>Test P</td><td>Test R</td><td>Test F1</td><td>New factors P</td><td>New factors R</td><td>New factors F1</td></tr><tr><td>T5</td><td>small</td><td>ANLI + SDOH-NLI</td><td>.7987</td><td>.7069</td><td>.7500</td><td>.6667</td><td>.0833</td><td>.1481</td></tr><tr><td>T5</td><td>base</td><td>ANLI + SDOH-NLI</td><td>.7396</td><td>.8161</td><td>.7760</td><td>.75</td><td>.375</td><td>.5</td></tr><tr><td>T5</td><td>large</td><td>ANLI + SDOH-NLI</td><td>.8247</td><td>.7299</td><td>.7744</td><td>.75</td><td>.125</td><td>.2143</td></tr><tr><td>T5</td><td>XL</td><td>ANLI + SDOH-NLI</td><td>.8391</td><td>.8391</td><td>.8391</td><td>.9231</td><td>.5</td><td>.6486</td></tr><tr><td>T5</td><td>XXL</td><td>ANLI</td><td>.8391</td><td>.8391</td><td>.8391</td><td>.75</td><td>.1</td><td>.8571</td></tr><tr><td>T5</td><td>XXL</td><td>SDOH-NLI</td><td>.8859</td><td>.7586</td><td>.8173</td><td>.8571</td><td>.25</td><td>.3871</td></tr><tr><td>T5</td><td>XXL</td><td>ANLI + SDOH-NLI</td><td>.9024</td><td>.8506</td><td>.8757</td><td>.8889</td><td>1.</td><td>.9412</td></tr><tr><td>Flan-T5</td><td>small</td><td>ANLI + SDOH-NLI</td><td>.8075</td><td>.7471</td><td>.7761</td><td>.6667</td><td>.0833</td><td>.1481</td></tr><tr><td>Flan-T5</td><td>base</td><td>ANLI + SDOH-NLI</td><td>.7956</td><td>.8276</td><td>.8113</td><td>.6216</td><td>.9583</td><td>.7541</td></tr><tr><td>Flan-T5</td><td>large</td><td>ANLI</td><td>.1777</td><td>.8506</td><td>.2939</td><td>.2421</td><td>.9583</td><td>.3866</td></tr><tr><td>Flan-T5</td><td>large</td><td>SDOH-NLI</td><td>.8041</td><td>.6839</td><td>.7391</td><td>.2308</td><td>.125</td><td>.1622</td></tr><tr><td>Flan-T5</td><td>large</td><td>ANLI + SDOH-NLI</td><td>.8212</td><td>.8448</td><td>.8329</td><td>.8846</td><td>.9583</td><td>.92</td></tr><tr><td>Flan-T5</td><td>XL</td><td>ANLI</td><td>.2868</td><td>.8851</td><td>.4332</td><td>.7667</td><td>.9583</td><td>.8519</td></tr><tr><td>Flan-T5</td><td>XL</td><td>SDOH</td><td>.9071</td><td>.7299</td><td>.8089</td><td>1.</td><td>.125</td><td>.2222</td></tr><tr><td>Flan-T5</td><td>XL</td><td>ANLI + SDOH-NLI</td><td>.8647</td><td>.8448</td><td>.8547</td><td>.8846</td><td>.9583</td><td>.92</td></tr><tr><td>Flan-T5</td><td>XXL</td><td>ANLI</td><td>.3560</td><td>.8736</td><td>.5058</td><td>.7931</td><td>.9583</td><td>.8679</td></tr><tr><td>Flan-T5</td><td>XXL</td><td>SDOH-NLI</td><td>.9295</td><td>.8333</td><td>.8788</td><td>1.</td><td>.875</td><td>.9333</td></tr><tr><td>Flan-T5</td><td>XXL</td><td>ANLI + SDOH-NLI</td><td>.8765</td><td>.8563</td><td>.8663</td><td>.8846</td><td>.9583</td><td>.92</td></tr></table>",
|
| 1446 |
+
"bbox": [
|
| 1447 |
+
117,
|
| 1448 |
+
362,
|
| 1449 |
+
878,
|
| 1450 |
+
594
|
| 1451 |
+
],
|
| 1452 |
+
"page_idx": 9
|
| 1453 |
+
},
|
| 1454 |
+
{
|
| 1455 |
+
"type": "text",
|
| 1456 |
+
"text": "Table 2: Precision, recall, and F1 scores of various models on the full test set and on the subset of the test set consisting of the two held-out factors.",
|
| 1457 |
+
"bbox": [
|
| 1458 |
+
112,
|
| 1459 |
+
604,
|
| 1460 |
+
882,
|
| 1461 |
+
633
|
| 1462 |
+
],
|
| 1463 |
+
"page_idx": 9
|
| 1464 |
+
},
|
| 1465 |
+
{
|
| 1466 |
+
"type": "page_number",
|
| 1467 |
+
"text": "4798",
|
| 1468 |
+
"bbox": [
|
| 1469 |
+
480,
|
| 1470 |
+
928,
|
| 1471 |
+
519,
|
| 1472 |
+
940
|
| 1473 |
+
],
|
| 1474 |
+
"page_idx": 9
|
| 1475 |
+
}
|
| 1476 |
+
]
|
2023/SDOH-NLI_ a Dataset for Inferring Social Determinants of Health from Clinical Notes/a4f22374-5104-49b6-a9f1-43a434ee9541_model.json
ADDED
|
@@ -0,0 +1,2464 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
[
|
| 3 |
+
{
|
| 4 |
+
"type": "title",
|
| 5 |
+
"bbox": [
|
| 6 |
+
0.206,
|
| 7 |
+
0.09,
|
| 8 |
+
0.795,
|
| 9 |
+
0.131
|
| 10 |
+
],
|
| 11 |
+
"angle": 0,
|
| 12 |
+
"content": "SDOH-NLI: a Dataset for Inferring Social Determinants of Health from Clinical Notes"
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"bbox": [
|
| 17 |
+
0.139,
|
| 18 |
+
0.154,
|
| 19 |
+
0.866,
|
| 20 |
+
0.174
|
| 21 |
+
],
|
| 22 |
+
"angle": 0,
|
| 23 |
+
"content": "Adam D. Lelkes<sup>1*</sup>, Eric Loreaux<sup>2†</sup>, Tal Schuster<sup>1</sup>, Ming-Jun Chen<sup>1‡</sup>, Alvin Rajkomar<sup>1‡</sup>"
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"bbox": [
|
| 28 |
+
0.365,
|
| 29 |
+
0.188,
|
| 30 |
+
0.64,
|
| 31 |
+
0.206
|
| 32 |
+
],
|
| 33 |
+
"angle": 0,
|
| 34 |
+
"content": "<sup>1</sup>Google Research, <sup>2</sup>Curai Health"
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"type": "title",
|
| 38 |
+
"bbox": [
|
| 39 |
+
0.261,
|
| 40 |
+
0.253,
|
| 41 |
+
0.343,
|
| 42 |
+
0.269
|
| 43 |
+
],
|
| 44 |
+
"angle": 0,
|
| 45 |
+
"content": "Abstract"
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"type": "text",
|
| 49 |
+
"bbox": [
|
| 50 |
+
0.144,
|
| 51 |
+
0.274,
|
| 52 |
+
0.461,
|
| 53 |
+
0.658
|
| 54 |
+
],
|
| 55 |
+
"angle": 0,
|
| 56 |
+
"content": "Social and behavioral determinants of health (SDOH) play a significant role in shaping health outcomes, and extracting these determinants from clinical notes is a first step to help healthcare providers systematically identify opportunities to provide appropriate care and address disparities. Progress on using NLP methods for this task has been hindered by the lack of high-quality publicly available labeled data, largely due to the privacy and regulatory constraints on the use of real patients' information. This paper introduces a new dataset, SDOH-NLI, that is based on publicly available notes and which we release publicly. We formulate SDOH extraction as a natural language inference (NLI) task, and provide binary textual entailment labels obtained from human raters for a cross product of a set of social history snippets as premises and SDOH factors as hypotheses. Our dataset differs from standard NLI benchmarks in that our premises and hypotheses are obtained independently. We evaluate both \"off-the-shelf\" entailment models as well as models fine-tuned on our data, and highlight the ways in which our dataset appears more challenging than commonly used NLI datasets."
|
| 57 |
+
},
|
| 58 |
+
{
|
| 59 |
+
"type": "title",
|
| 60 |
+
"bbox": [
|
| 61 |
+
0.115,
|
| 62 |
+
0.665,
|
| 63 |
+
0.262,
|
| 64 |
+
0.68
|
| 65 |
+
],
|
| 66 |
+
"angle": 0,
|
| 67 |
+
"content": "1 Introduction"
|
| 68 |
+
},
|
| 69 |
+
{
|
| 70 |
+
"type": "text",
|
| 71 |
+
"bbox": [
|
| 72 |
+
0.113,
|
| 73 |
+
0.689,
|
| 74 |
+
0.491,
|
| 75 |
+
0.85
|
| 76 |
+
],
|
| 77 |
+
"angle": 0,
|
| 78 |
+
"content": "There has been growing recognition that social and behavioral determinants of health (SDOH) play a significant role in shaping health outcomes for individuals and populations. The ability to accurately identify and extract social and behavioral determinants of health from clinical notes can provide valuable insights that can enable healthcare providers to better understand and address the underlying determinants of health that contribute to poor health outcomes and health disparities."
|
| 79 |
+
},
|
| 80 |
+
{
|
| 81 |
+
"type": "text",
|
| 82 |
+
"bbox": [
|
| 83 |
+
0.508,
|
| 84 |
+
0.254,
|
| 85 |
+
0.886,
|
| 86 |
+
0.445
|
| 87 |
+
],
|
| 88 |
+
"angle": 0,
|
| 89 |
+
"content": "Social determinants of health are frequently recorded in clinical notes as unstructured text, so natural language processing (NLP) can be a valuable tool for extracting actionable insights for care teams. However, research in this area often uses patient records from private health systems' electronic health records (EHRs), which makes it difficult to compare results from other health systems or even replicate the studies. The development and release of high-quality publicly available datasets could enable more reproducible research in this area."
|
| 90 |
+
},
|
| 91 |
+
{
|
| 92 |
+
"type": "text",
|
| 93 |
+
"bbox": [
|
| 94 |
+
0.508,
|
| 95 |
+
0.449,
|
| 96 |
+
0.886,
|
| 97 |
+
0.706
|
| 98 |
+
],
|
| 99 |
+
"angle": 0,
|
| 100 |
+
"content": "In this work, we introduce a new, public SDOH dataset based on MTSamples.com, an online collection of transcribed medical reports. Our setup is motivated by the use cases of slicing patient populations along social determinant dimensions for population analytics, and retrieving patients with certain social determinants of health to allow for more targeted outreach and intervention. Given a large set of social determinant factors, our goal is to make binary determinations for each patient about whether that patient's notes imply a particular SDOH factor. In other words, for example, we want to be able to find all patients who lack access to transportation, as opposed to just tagging transportation-related spans in their notes, as done in some previous work."
|
| 101 |
+
},
|
| 102 |
+
{
|
| 103 |
+
"type": "text",
|
| 104 |
+
"bbox": [
|
| 105 |
+
0.508,
|
| 106 |
+
0.708,
|
| 107 |
+
0.886,
|
| 108 |
+
0.901
|
| 109 |
+
],
|
| 110 |
+
"angle": 0,
|
| 111 |
+
"content": "To achieve this goal, we formulate the task as a textual entailment problem, with patient note snippets as the premises, SDOH factors as the hypotheses, and binary entailment labels. We use human annotators to label 1,398 social history snippets according to a curated list of 60 SDOH statements, resulting in a dataset of 29,635 labeled premise-hypothesis examples after some filtering (see Section 3 for details). We release this dataset publicly. We also evaluate state-of-the-art publicly available large language models on our data in a range of different settings (see Section 4)."
|
| 112 |
+
},
|
| 113 |
+
{
|
| 114 |
+
"type": "text",
|
| 115 |
+
"bbox": [
|
| 116 |
+
0.528,
|
| 117 |
+
0.904,
|
| 118 |
+
0.882,
|
| 119 |
+
0.918
|
| 120 |
+
],
|
| 121 |
+
"angle": 0,
|
| 122 |
+
"content": "A notable feature of our entailment dataset is"
|
| 123 |
+
},
|
| 124 |
+
{
|
| 125 |
+
"type": "page_footnote",
|
| 126 |
+
"bbox": [
|
| 127 |
+
0.14,
|
| 128 |
+
0.855,
|
| 129 |
+
0.414,
|
| 130 |
+
0.867
|
| 131 |
+
],
|
| 132 |
+
"angle": 0,
|
| 133 |
+
"content": "*Corresponding author. lelkes@google.com"
|
| 134 |
+
},
|
| 135 |
+
{
|
| 136 |
+
"type": "page_footnote",
|
| 137 |
+
"bbox": [
|
| 138 |
+
0.143,
|
| 139 |
+
0.868,
|
| 140 |
+
0.32,
|
| 141 |
+
0.881
|
| 142 |
+
],
|
| 143 |
+
"angle": 0,
|
| 144 |
+
"content": "\\(\\dagger\\) Work completed at Google."
|
| 145 |
+
},
|
| 146 |
+
{
|
| 147 |
+
"type": "page_footnote",
|
| 148 |
+
"bbox": [
|
| 149 |
+
0.143,
|
| 150 |
+
0.882,
|
| 151 |
+
0.258,
|
| 152 |
+
0.894
|
| 153 |
+
],
|
| 154 |
+
"angle": 0,
|
| 155 |
+
"content": "Equal leadership."
|
| 156 |
+
},
|
| 157 |
+
{
|
| 158 |
+
"type": "page_footnote",
|
| 159 |
+
"bbox": [
|
| 160 |
+
0.117,
|
| 161 |
+
0.894,
|
| 162 |
+
0.479,
|
| 163 |
+
0.917
|
| 164 |
+
],
|
| 165 |
+
"angle": 0,
|
| 166 |
+
"content": "<https://github.com/google-research-datasets/SDOH-NLI>"
|
| 167 |
+
},
|
| 168 |
+
{
|
| 169 |
+
"type": "list",
|
| 170 |
+
"bbox": [
|
| 171 |
+
0.117,
|
| 172 |
+
0.855,
|
| 173 |
+
0.479,
|
| 174 |
+
0.917
|
| 175 |
+
],
|
| 176 |
+
"angle": 0,
|
| 177 |
+
"content": null
|
| 178 |
+
},
|
| 179 |
+
{
|
| 180 |
+
"type": "page_number",
|
| 181 |
+
"bbox": [
|
| 182 |
+
0.481,
|
| 183 |
+
0.928,
|
| 184 |
+
0.522,
|
| 185 |
+
0.941
|
| 186 |
+
],
|
| 187 |
+
"angle": 0,
|
| 188 |
+
"content": "4789"
|
| 189 |
+
},
|
| 190 |
+
{
|
| 191 |
+
"type": "footer",
|
| 192 |
+
"bbox": [
|
| 193 |
+
0.218,
|
| 194 |
+
0.946,
|
| 195 |
+
0.781,
|
| 196 |
+
0.973
|
| 197 |
+
],
|
| 198 |
+
"angle": 0,
|
| 199 |
+
"content": "Findings of the Association for Computational Linguistics: EMNLP 2023, pages 4789-4798 December 6-10, 2023 ©2023 Association for Computational Linguistics"
|
| 200 |
+
}
|
| 201 |
+
],
|
| 202 |
+
[
|
| 203 |
+
{
|
| 204 |
+
"type": "text",
|
| 205 |
+
"bbox": [
|
| 206 |
+
0.113,
|
| 207 |
+
0.085,
|
| 208 |
+
0.49,
|
| 209 |
+
0.293
|
| 210 |
+
],
|
| 211 |
+
"angle": 0,
|
| 212 |
+
"content": "that unlike other entailment datasets, our premises and hypotheses were obtained independently, and we label the full cross product of premises and hypotheses. In traditional entailment datasets, the hypotheses are constructed to be tied to a particular premise; however, in our formulation, the hypotheses are drawn from a large set of SDOH factors that may or may not be discussed in a particular premise (drawn from a clinical note). Since all our text comes from the same domain, we still have a non-negligible fraction of positive entailment labels (albeit with a much larger label imbalance than in standard NLI benchmark datasets)."
|
| 213 |
+
},
|
| 214 |
+
{
|
| 215 |
+
"type": "text",
|
| 216 |
+
"bbox": [
|
| 217 |
+
0.117,
|
| 218 |
+
0.295,
|
| 219 |
+
0.49,
|
| 220 |
+
0.486
|
| 221 |
+
],
|
| 222 |
+
"angle": 0,
|
| 223 |
+
"content": "This requires NLI methods to understand both the premise and the hypothesis, and defeats typical shortcuts that have been observed to work for other entailment datasets, such as guessing the label based on the hypothesis alone, or relying on simple syntactic clues such as the presence of negations (see Section 2.2). Indeed, even though our task does not require domain-specific knowledge, we observe that state-of-the-art models struggle to generalize from common NLI benchmarks to our dataset, and highlight typical failure cases (see Section 4)."
|
| 224 |
+
},
|
| 225 |
+
{
|
| 226 |
+
"type": "text",
|
| 227 |
+
"bbox": [
|
| 228 |
+
0.113,
|
| 229 |
+
0.488,
|
| 230 |
+
0.49,
|
| 231 |
+
0.649
|
| 232 |
+
],
|
| 233 |
+
"angle": 0,
|
| 234 |
+
"content": "We evaluate both off-the-shelf and fine-tuned models in different setups: dual encoders, zero/few-shot prompting, and binary classification. We show that state-of-the-art off-the-shelf models, even if they were fine-tuned on various NLI datasets, do not reliably solve our problem; on the other hand, models fine-tuned on our training set robustly generalize both to unseen notes and to unseen factors, providing evidence for the usefulness of our dataset for model fine-tuning and evaluation."
|
| 235 |
+
},
|
| 236 |
+
{
|
| 237 |
+
"type": "title",
|
| 238 |
+
"bbox": [
|
| 239 |
+
0.114,
|
| 240 |
+
0.662,
|
| 241 |
+
0.27,
|
| 242 |
+
0.677
|
| 243 |
+
],
|
| 244 |
+
"angle": 0,
|
| 245 |
+
"content": "2 Related Work"
|
| 246 |
+
},
|
| 247 |
+
{
|
| 248 |
+
"type": "title",
|
| 249 |
+
"bbox": [
|
| 250 |
+
0.114,
|
| 251 |
+
0.689,
|
| 252 |
+
0.466,
|
| 253 |
+
0.719
|
| 254 |
+
],
|
| 255 |
+
"angle": 0,
|
| 256 |
+
"content": "2.1 Social and Behavioral Determinants of Health"
|
| 257 |
+
},
|
| 258 |
+
{
|
| 259 |
+
"type": "text",
|
| 260 |
+
"bbox": [
|
| 261 |
+
0.113,
|
| 262 |
+
0.726,
|
| 263 |
+
0.49,
|
| 264 |
+
0.838
|
| 265 |
+
],
|
| 266 |
+
"angle": 0,
|
| 267 |
+
"content": "There has been a lot of interest in using NLP techniques for SDOH extraction; see Patra et al. (2021) for a recent survey. The range and granularity of SDOH factors vary considerably across different papers. There has also been a range of methods used, from rule-based heuristics, to n-grams, to fine-tuning pretrained Transformer models."
|
| 268 |
+
},
|
| 269 |
+
{
|
| 270 |
+
"type": "text",
|
| 271 |
+
"bbox": [
|
| 272 |
+
0.113,
|
| 273 |
+
0.84,
|
| 274 |
+
0.49,
|
| 275 |
+
0.919
|
| 276 |
+
],
|
| 277 |
+
"angle": 0,
|
| 278 |
+
"content": "Many previous research studies on SDOH extraction were performed on EHR data from particular health systems and are not released publicly. Exceptions include the i2b2 NLP Smoking Challenge (Uzuner et al., 2008), which classified 502"
|
| 279 |
+
},
|
| 280 |
+
{
|
| 281 |
+
"type": "text",
|
| 282 |
+
"bbox": [
|
| 283 |
+
0.508,
|
| 284 |
+
0.085,
|
| 285 |
+
0.885,
|
| 286 |
+
0.262
|
| 287 |
+
],
|
| 288 |
+
"angle": 0,
|
| 289 |
+
"content": "deidentified medical discharge records for smoking status only, and small number of datasets based on MIMIC-III (Johnson et al., 2016), a large publicly available database of deidentified health records of patients who stayed in critical care units of Beth Israel Deaconess Medical Center between 2001 and 2012. For example, Gehrmann et al. (2018) annotated MIMIC-III with binary labels for certain \"phenotypes\" including alcohol and substance abuse, and Lybarger et al. (2021) annotated note spans with SDOH information."
|
| 290 |
+
},
|
| 291 |
+
{
|
| 292 |
+
"type": "text",
|
| 293 |
+
"bbox": [
|
| 294 |
+
0.508,
|
| 295 |
+
0.268,
|
| 296 |
+
0.885,
|
| 297 |
+
0.365
|
| 298 |
+
],
|
| 299 |
+
"angle": 0,
|
| 300 |
+
"content": "We are aware of four other previous SDOH-related papers which used MTSamples data (Wang et al., 2015; Winden et al., 2017; Yetisgen et al., 2016; Yetisgen and Vanderwende, 2017), all of which focused on extracting and tagging SDOH-related spans from social history sections."
|
| 301 |
+
},
|
| 302 |
+
{
|
| 303 |
+
"type": "text",
|
| 304 |
+
"bbox": [
|
| 305 |
+
0.508,
|
| 306 |
+
0.372,
|
| 307 |
+
0.885,
|
| 308 |
+
0.484
|
| 309 |
+
],
|
| 310 |
+
"angle": 0,
|
| 311 |
+
"content": "Among previous papers, the one methodologically closest to ours is Lituiev et al. (2023) which also formulated SDOH extraction as an entailment problem and evaluated RoBERTa (Liu et al., 2019) fine-tuned on ANLI (Nie et al., 2020) on clinical notes from UCSF, without any in-domain fine-tuning experiments."
|
| 312 |
+
},
|
| 313 |
+
{
|
| 314 |
+
"type": "title",
|
| 315 |
+
"bbox": [
|
| 316 |
+
0.509,
|
| 317 |
+
0.516,
|
| 318 |
+
0.78,
|
| 319 |
+
0.532
|
| 320 |
+
],
|
| 321 |
+
"angle": 0,
|
| 322 |
+
"content": "2.2 Natural Language Inference"
|
| 323 |
+
},
|
| 324 |
+
{
|
| 325 |
+
"type": "text",
|
| 326 |
+
"bbox": [
|
| 327 |
+
0.508,
|
| 328 |
+
0.55,
|
| 329 |
+
0.885,
|
| 330 |
+
0.919
|
| 331 |
+
],
|
| 332 |
+
"angle": 0,
|
| 333 |
+
"content": "Natural language inference (NLI), also called recognizing textual entailment (RTE), has been a very well-studied NLP task; see e.g. Storks et al. (2019); Poliak (2020) for recent surveys. Many standard NLI datasets, such as SNLI (Bowman et al., 2015) or MultiNLI (Williams et al., 2018), are obtained by automatically collecting premises and, for each premise and target entailment label, having human annotators write a hypothesis with the specified entailment relation to the premise. (Even some of the datasets specifically designed to address these datasets' shortcomings, such as ANLI (Nie et al., 2020), follow a similar setup.) It has been observed that this leads to annotation artifacts that lets models do well on these tasks without requiring true understanding of entailment, including by using simple syntactic heuristics (McCoy et al., 2019) or by completely ignoring the premise, and considering only the hypothesis (Gururangan et al., 2018; Poliak et al., 2018). ContractNLI (Koreeda and Manning, 2021) is an example of a previous dataset which used the same fixed set of hypotheses for all the premises."
|
| 334 |
+
},
|
| 335 |
+
{
|
| 336 |
+
"type": "page_number",
|
| 337 |
+
"bbox": [
|
| 338 |
+
0.481,
|
| 339 |
+
0.929,
|
| 340 |
+
0.522,
|
| 341 |
+
0.941
|
| 342 |
+
],
|
| 343 |
+
"angle": 0,
|
| 344 |
+
"content": "4790"
|
| 345 |
+
}
|
| 346 |
+
],
|
| 347 |
+
[
|
| 348 |
+
{
|
| 349 |
+
"type": "title",
|
| 350 |
+
"bbox": [
|
| 351 |
+
0.115,
|
| 352 |
+
0.085,
|
| 353 |
+
0.333,
|
| 354 |
+
0.099
|
| 355 |
+
],
|
| 356 |
+
"angle": 0,
|
| 357 |
+
"content": "3 Dataset Construction"
|
| 358 |
+
},
|
| 359 |
+
{
|
| 360 |
+
"type": "text",
|
| 361 |
+
"bbox": [
|
| 362 |
+
0.113,
|
| 363 |
+
0.112,
|
| 364 |
+
0.49,
|
| 365 |
+
0.257
|
| 366 |
+
],
|
| 367 |
+
"angle": 0,
|
| 368 |
+
"content": "We scraped all 5,003 medical reports from MTSamples. Within these reports, we obtained 1,030 note sections related to social history by searching for a collection of note section titles identified as synonyms of social history. We then split each note section into sentences, resulting in 3,281 sentences. Many sentences (such as \"He is married\") appear in multiple notes; after dedduplication, we have 1,398 unique sentences."
|
| 369 |
+
},
|
| 370 |
+
{
|
| 371 |
+
"type": "text",
|
| 372 |
+
"bbox": [
|
| 373 |
+
0.117,
|
| 374 |
+
0.258,
|
| 375 |
+
0.49,
|
| 376 |
+
0.548
|
| 377 |
+
],
|
| 378 |
+
"angle": 0,
|
| 379 |
+
"content": "We manually curated a collection of SDOH factors primarily from two sources, the AHRQ Social Determinants of Health Database (for Healthcare Research and Quality, 2020) and UCSF SIREN's Compendium of medical terminology codes for social risk factors (Arons et al., 2018). We rephrased each factor as a full English sentence stating a fact about a person; e.g. \"The person is employed.\" For binary factors, we included a statement and its negation; e.g. \"The person currently drinks alcohol\" and \"The person currently does not drink alcohol.\" For factors with multiple potential values (such as housing status), we aimed to list all the common options. We grouped these 60 statements into 10 categories: smoking, alcohol use, drug use, employment, housing, food, transportation, health insurance, social support, and financial situation. See the full list in Appendix A."
|
| 380 |
+
},
|
| 381 |
+
{
|
| 382 |
+
"type": "text",
|
| 383 |
+
"bbox": [
|
| 384 |
+
0.113,
|
| 385 |
+
0.549,
|
| 386 |
+
0.49,
|
| 387 |
+
0.71
|
| 388 |
+
],
|
| 389 |
+
"angle": 0,
|
| 390 |
+
"content": "For each social history sentence, we asked human raters to select all the relevant categories and, within each category, all the statements that are supported by the social history snippet. Each snippet was rated by at least three raters. For each (snippet, statement) pair, we took the majority vote of raters to get binary entailment labels. Rater agreement was high, with a Krippendorff's alpha of 0.97 (computed over the binary entailment labels provided by different raters for (premise, hypothesis) pairs)."
|
| 391 |
+
},
|
| 392 |
+
{
|
| 393 |
+
"type": "text",
|
| 394 |
+
"bbox": [
|
| 395 |
+
0.113,
|
| 396 |
+
0.711,
|
| 397 |
+
0.49,
|
| 398 |
+
0.92
|
| 399 |
+
],
|
| 400 |
+
"angle": 0,
|
| 401 |
+
"content": "We removed all SDOH statements which were not entailed by any of the social history snippets as well as all note sentences that were not relevant to any SDOH categories. Finally, after inspecting the dataset, we removed three SDOH factors (\"The person is stably housed.\", \"The person has social support.\", \"The person does not have social support.\") because raters weren't able to consistently give correct ratings. That left us with 787 unique sentences and 38 SDOH factors. Since each snippet would typically only entail one factor or a small number of factors, the resulting dataset is heavily imbalanced: only \\(4.6\\%\\) of the labels are positive."
|
| 402 |
+
},
|
| 403 |
+
{
|
| 404 |
+
"type": "text",
|
| 405 |
+
"bbox": [
|
| 406 |
+
0.508,
|
| 407 |
+
0.085,
|
| 408 |
+
0.885,
|
| 409 |
+
0.278
|
| 410 |
+
],
|
| 411 |
+
"angle": 0,
|
| 412 |
+
"content": "We split the dataset along the snippets into training, validation, and test sets with a 70:15:15 ratio, with the following modification: we remove a single pair of factors, \"The person lives alone\" and \"The person does not live alone,\" from the training and validation sets, in order to evaluate fine-tuned models' ability to generalize to unseen factors. In other words, the training, validation, and test sets have disjoint note snippets but the same SDOH factors, except for the test set which also contains an additional two factors that are not present in the training or validation sets."
|
| 413 |
+
},
|
| 414 |
+
{
|
| 415 |
+
"type": "title",
|
| 416 |
+
"bbox": [
|
| 417 |
+
0.509,
|
| 418 |
+
0.292,
|
| 419 |
+
0.698,
|
| 420 |
+
0.308
|
| 421 |
+
],
|
| 422 |
+
"angle": 0,
|
| 423 |
+
"content": "4 Model Evaluation"
|
| 424 |
+
},
|
| 425 |
+
{
|
| 426 |
+
"type": "text",
|
| 427 |
+
"bbox": [
|
| 428 |
+
0.508,
|
| 429 |
+
0.319,
|
| 430 |
+
0.884,
|
| 431 |
+
0.382
|
| 432 |
+
],
|
| 433 |
+
"angle": 0,
|
| 434 |
+
"content": "Since the typical use case is retrieving patients with a particular SDOH factor, and because of the heavy label imbalance in our dataset, we use precision, recall, and F1 score as our evaluation metrics."
|
| 435 |
+
},
|
| 436 |
+
{
|
| 437 |
+
"type": "text",
|
| 438 |
+
"bbox": [
|
| 439 |
+
0.508,
|
| 440 |
+
0.384,
|
| 441 |
+
0.884,
|
| 442 |
+
0.416
|
| 443 |
+
],
|
| 444 |
+
"angle": 0,
|
| 445 |
+
"content": "We evaluate state-of-the-art public models in four different setups:"
|
| 446 |
+
},
|
| 447 |
+
{
|
| 448 |
+
"type": "text",
|
| 449 |
+
"bbox": [
|
| 450 |
+
0.532,
|
| 451 |
+
0.43,
|
| 452 |
+
0.884,
|
| 453 |
+
0.542
|
| 454 |
+
],
|
| 455 |
+
"angle": 0,
|
| 456 |
+
"content": "- Treating the problem as a retrieval task with SDOH factors as queries and note snippets as documents. We evaluate Sentence-T5 (Ni et al., 2022a) and GTR (Ni et al., 2022b), two state-of-the-art dual encoder models. We select the cosine similarity threshold which maximizes F1 score on the training set."
|
| 457 |
+
},
|
| 458 |
+
{
|
| 459 |
+
"type": "text",
|
| 460 |
+
"bbox": [
|
| 461 |
+
0.532,
|
| 462 |
+
0.556,
|
| 463 |
+
0.885,
|
| 464 |
+
0.732
|
| 465 |
+
],
|
| 466 |
+
"angle": 0,
|
| 467 |
+
"content": "- A general-purpose NLI model. We evaluate the SENTLI model (Schuster et al., 2022), a state-of-the-art NLI model (T5 large fine-tuned on the SNLI (Bowman et al., 2015), MNLI (Williams et al., 2018), ANLI (Nie et al., 2020), Fever (Thorne et al., 2018), and VitaminC (Schuster et al., 2021) datasets). To help the model adapt to the label imbalance in our dataset, we also evaluate it with re-tuning the threshold for positive prediction to maximize F1 score on our training set."
|
| 468 |
+
},
|
| 469 |
+
{
|
| 470 |
+
"type": "text",
|
| 471 |
+
"bbox": [
|
| 472 |
+
0.532,
|
| 473 |
+
0.746,
|
| 474 |
+
0.884,
|
| 475 |
+
0.842
|
| 476 |
+
],
|
| 477 |
+
"angle": 0,
|
| 478 |
+
"content": "- Zero/few-shot prompting. We evaluate FlanT5 XXL (Chung et al., 2022) and FlanUL2 (Tay et al., 2023) in both a zero- and a few-shot setting. These models instruction tuned for a large set of tasks, including NLI tasks. (See Appendix B for details.)"
|
| 479 |
+
},
|
| 480 |
+
{
|
| 481 |
+
"type": "text",
|
| 482 |
+
"bbox": [
|
| 483 |
+
0.532,
|
| 484 |
+
0.855,
|
| 485 |
+
0.883,
|
| 486 |
+
0.919
|
| 487 |
+
],
|
| 488 |
+
"angle": 0,
|
| 489 |
+
"content": "- Fine-tuning experiments. We fine-tune T5 and Flan-T5 on our dataset (SDOH-NLI), on ANLI, and on a mixture of both at various model sizes. (See Appendix C for details.)"
|
| 490 |
+
},
|
| 491 |
+
{
|
| 492 |
+
"type": "list",
|
| 493 |
+
"bbox": [
|
| 494 |
+
0.532,
|
| 495 |
+
0.43,
|
| 496 |
+
0.885,
|
| 497 |
+
0.919
|
| 498 |
+
],
|
| 499 |
+
"angle": 0,
|
| 500 |
+
"content": null
|
| 501 |
+
},
|
| 502 |
+
{
|
| 503 |
+
"type": "page_number",
|
| 504 |
+
"bbox": [
|
| 505 |
+
0.481,
|
| 506 |
+
0.929,
|
| 507 |
+
0.519,
|
| 508 |
+
0.941
|
| 509 |
+
],
|
| 510 |
+
"angle": 0,
|
| 511 |
+
"content": "4791"
|
| 512 |
+
}
|
| 513 |
+
],
|
| 514 |
+
[
|
| 515 |
+
{
|
| 516 |
+
"type": "table",
|
| 517 |
+
"bbox": [
|
| 518 |
+
0.195,
|
| 519 |
+
0.082,
|
| 520 |
+
0.803,
|
| 521 |
+
0.311
|
| 522 |
+
],
|
| 523 |
+
"angle": 0,
|
| 524 |
+
"content": "<table><tr><td>Model</td><td>Precision</td><td>Recall</td><td>F1</td></tr><tr><td>Sentence-T5 11B</td><td>.2826</td><td>.523</td><td>.3669</td></tr><tr><td>GTR XXL</td><td>.3148</td><td>.4885</td><td>.3829</td></tr><tr><td>SENTLI</td><td>.4438</td><td>.8161</td><td>.5749</td></tr><tr><td>SENTLI, threshold tuned</td><td>.5721</td><td>.7299</td><td>.6414</td></tr><tr><td>Flan-T5 XXL 0-shot</td><td>.6867</td><td>.6552</td><td>.6706</td></tr><tr><td>Flan-T5 XXL 5-shot</td><td>.6297</td><td>.6839</td><td>.6556</td></tr><tr><td>Flan-UL2 0-shot</td><td>.5922</td><td>.7011</td><td>.6421</td></tr><tr><td>Flan-UL2 5-shot</td><td>.5536</td><td>.7126</td><td>.6231</td></tr><tr><td>Flan-T5 XXL finetuned on ANLI</td><td>.356</td><td>.8736</td><td>.5058</td></tr><tr><td>Flan-T5 XXL finetuned on SDOH-NLI</td><td>.9295</td><td>.8333</td><td>.8788</td></tr><tr><td>Flan-T5 XXL finetuned on ANLI + SDOH-NLI</td><td>.8765</td><td>.8563</td><td>.8663</td></tr></table>"
|
| 525 |
+
},
|
| 526 |
+
{
|
| 527 |
+
"type": "table_caption",
|
| 528 |
+
"bbox": [
|
| 529 |
+
0.113,
|
| 530 |
+
0.321,
|
| 531 |
+
0.884,
|
| 532 |
+
0.351
|
| 533 |
+
],
|
| 534 |
+
"angle": 0,
|
| 535 |
+
"content": "Table 1: Scores of retrieval-based, general-purpose NLI, in-context, and fine-tuned models on the SDOH test set. See Appendix C for additional fine-tuning experiments."
|
| 536 |
+
},
|
| 537 |
+
{
|
| 538 |
+
"type": "title",
|
| 539 |
+
"bbox": [
|
| 540 |
+
0.114,
|
| 541 |
+
0.376,
|
| 542 |
+
0.219,
|
| 543 |
+
0.39
|
| 544 |
+
],
|
| 545 |
+
"angle": 0,
|
| 546 |
+
"content": "4.1 Results"
|
| 547 |
+
},
|
| 548 |
+
{
|
| 549 |
+
"type": "text",
|
| 550 |
+
"bbox": [
|
| 551 |
+
0.113,
|
| 552 |
+
0.397,
|
| 553 |
+
0.486,
|
| 554 |
+
0.509
|
| 555 |
+
],
|
| 556 |
+
"angle": 0,
|
| 557 |
+
"content": "Table 1 shows selected results (see Appendix D for more model fine-tuning metrics). First, we observe that while our problem can naturally be framed as an information retrieval problem, even state-of-the-art retrieval models perform poorly on it; formulating the problem as natural language inference yields dramatically better results."
|
| 558 |
+
},
|
| 559 |
+
{
|
| 560 |
+
"type": "text",
|
| 561 |
+
"bbox": [
|
| 562 |
+
0.113,
|
| 563 |
+
0.512,
|
| 564 |
+
0.489,
|
| 565 |
+
0.625
|
| 566 |
+
],
|
| 567 |
+
"angle": 0,
|
| 568 |
+
"content": "However, even powerful models fine-tuned for NLI, either on NLI datasets alone or as part of the much larger Flan collection, do not reliably solve our problem, with an F1 score of at most .67 on the test set. Even T5 small fine-tuned on our dataset outperforms the largest off-the-shelf models, highlighting the added value of our dataset."
|
| 569 |
+
},
|
| 570 |
+
{
|
| 571 |
+
"type": "text",
|
| 572 |
+
"bbox": [
|
| 573 |
+
0.113,
|
| 574 |
+
0.628,
|
| 575 |
+
0.489,
|
| 576 |
+
0.789
|
| 577 |
+
],
|
| 578 |
+
"angle": 0,
|
| 579 |
+
"content": "When prompting instruction-tuned models, including few-shot examples does not appear to add any value compared to a zero-shot setup. We conjecture that this is because the models are already familiar with the NLI task and the prompt format from instruction tuning, and presenting them with a small number of additional examples is not sufficient for teaching them the difference between this task and the NLI benchmark datasets they have seen during fine-tuning."
|
| 580 |
+
},
|
| 581 |
+
{
|
| 582 |
+
"type": "text",
|
| 583 |
+
"bbox": [
|
| 584 |
+
0.113,
|
| 585 |
+
0.791,
|
| 586 |
+
0.489,
|
| 587 |
+
0.919
|
| 588 |
+
],
|
| 589 |
+
"angle": 0,
|
| 590 |
+
"content": "For fine-tuned models below XXL size, when fine-tuning on the SDOH-NLI training set only, we observed poor generalization to the held-out SDOH factors in the test set (see Appendix D for detailed metrics). Because of this, why we experimented with fine-tuning on a combination of our data and ANLI R1, a challenging general-purpose NLI dataset of a similar size. For smaller models,"
|
| 591 |
+
},
|
| 592 |
+
{
|
| 593 |
+
"type": "text",
|
| 594 |
+
"bbox": [
|
| 595 |
+
0.509,
|
| 596 |
+
0.376,
|
| 597 |
+
0.884,
|
| 598 |
+
0.424
|
| 599 |
+
],
|
| 600 |
+
"angle": 0,
|
| 601 |
+
"content": "fine-tuning on this mixture enabled robust generalization to unseen factors without sacrificing overall test performance."
|
| 602 |
+
},
|
| 603 |
+
{
|
| 604 |
+
"type": "title",
|
| 605 |
+
"bbox": [
|
| 606 |
+
0.51,
|
| 607 |
+
0.454,
|
| 608 |
+
0.64,
|
| 609 |
+
0.468
|
| 610 |
+
],
|
| 611 |
+
"angle": 0,
|
| 612 |
+
"content": "4.2 Discussion"
|
| 613 |
+
},
|
| 614 |
+
{
|
| 615 |
+
"type": "text",
|
| 616 |
+
"bbox": [
|
| 617 |
+
0.508,
|
| 618 |
+
0.485,
|
| 619 |
+
0.885,
|
| 620 |
+
0.919
|
| 621 |
+
],
|
| 622 |
+
"angle": 0,
|
| 623 |
+
"content": "What makes our dataset challenging for models fine-tuned on standard NLI datasets? We emphasize that it is not that it requires any specialized (e.g., medical) knowledge: most of our examples describe everyday situations in plain English (e.g., \"The patient is retired on disability due to her knee replacements\"); human raters without any domain-specific training had no difficulty understanding them. We conjecture that the main difference is that the hypotheses of typical NLI datasets are written to satisfy a given entailment label for a given premise, whereas ours are obtained independently from the premises, and therefore their entailment status can be more subtle and ambiguous. These models also struggled with distinguishing between statements about the present and the past; e.g., Flan-UL2 erroneously predicting that \"He is not a smoker\" entails \"The person wasn't a smoker in the past.\" Also, our dataset contains a lot of irrelevant hypotheses and requires the model to correctly classify all of those; we see off-the-shelf models occasionally giving them positive labels (e.g. predicting that \"She was living alone and is now living in assisted living.\" implies \"The person drank alcohol in the past.), hurting precision. As an example, Flan-T5 fine-tuned on ANLI had comparable recall to our best models, but much worse precision."
|
| 624 |
+
},
|
| 625 |
+
{
|
| 626 |
+
"type": "page_number",
|
| 627 |
+
"bbox": [
|
| 628 |
+
0.481,
|
| 629 |
+
0.929,
|
| 630 |
+
0.521,
|
| 631 |
+
0.941
|
| 632 |
+
],
|
| 633 |
+
"angle": 0,
|
| 634 |
+
"content": "4792"
|
| 635 |
+
}
|
| 636 |
+
],
|
| 637 |
+
[
|
| 638 |
+
{
|
| 639 |
+
"type": "title",
|
| 640 |
+
"bbox": [
|
| 641 |
+
0.115,
|
| 642 |
+
0.085,
|
| 643 |
+
0.248,
|
| 644 |
+
0.099
|
| 645 |
+
],
|
| 646 |
+
"angle": 0,
|
| 647 |
+
"content": "5 Conclusion"
|
| 648 |
+
},
|
| 649 |
+
{
|
| 650 |
+
"type": "text",
|
| 651 |
+
"bbox": [
|
| 652 |
+
0.113,
|
| 653 |
+
0.11,
|
| 654 |
+
0.493,
|
| 655 |
+
0.288
|
| 656 |
+
],
|
| 657 |
+
"angle": 0,
|
| 658 |
+
"content": "In this work, we introduced SDOH-NLI, a new entailment dataset containing social history snippets as premises and social and behavioral determinants of health as hypotheses. Our dataset was designed both to reflect realistic use cases of SDOH extraction in clinical settings as well as to provide a high quality entailment dataset to support broader NLI research. We evaluated baseline methods using state-of-the-art public models in a variety of setups, and highlighted novel and challenging features of our dataset."
|
| 659 |
+
},
|
| 660 |
+
{
|
| 661 |
+
"type": "title",
|
| 662 |
+
"bbox": [
|
| 663 |
+
0.115,
|
| 664 |
+
0.301,
|
| 665 |
+
0.279,
|
| 666 |
+
0.318
|
| 667 |
+
],
|
| 668 |
+
"angle": 0,
|
| 669 |
+
"content": "Acknowledgments"
|
| 670 |
+
},
|
| 671 |
+
{
|
| 672 |
+
"type": "text",
|
| 673 |
+
"bbox": [
|
| 674 |
+
0.113,
|
| 675 |
+
0.327,
|
| 676 |
+
0.49,
|
| 677 |
+
0.391
|
| 678 |
+
],
|
| 679 |
+
"angle": 0,
|
| 680 |
+
"content": "The authors would like to thank Jonas B. Kemp, Von Nguyen, Birju Patel, Martin G. Seneviratne, Andy Strunk, and Vinh Q. Tran for their valuable feedback and discussions."
|
| 681 |
+
},
|
| 682 |
+
{
|
| 683 |
+
"type": "title",
|
| 684 |
+
"bbox": [
|
| 685 |
+
0.115,
|
| 686 |
+
0.403,
|
| 687 |
+
0.22,
|
| 688 |
+
0.419
|
| 689 |
+
],
|
| 690 |
+
"angle": 0,
|
| 691 |
+
"content": "Limitations"
|
| 692 |
+
},
|
| 693 |
+
{
|
| 694 |
+
"type": "text",
|
| 695 |
+
"bbox": [
|
| 696 |
+
0.113,
|
| 697 |
+
0.43,
|
| 698 |
+
0.492,
|
| 699 |
+
0.784
|
| 700 |
+
],
|
| 701 |
+
"angle": 0,
|
| 702 |
+
"content": "Our dataset is English-only, and reflects the American healthcare system. While a lot of the social and behavioral determinants of health mentioned in the data could apply elsewhere, too, their distribution and the language used to describe them could reflect U.S. norms. Also, since the dataset is based on transcription samples, the text can be cleaner than in some other settings (such as notes in EHRs), where the task could be more challenging due to typos and abbreviations that do not appear in our dataset. In such settings, performance could be improved by first using the methods of Rajkumar et al. (2022) to decode abbreviations, but we have not included this in our evaluations. Finally, our dataset only contains short note snippets, and we have not evaluated the models' ability to reconcile contradictory statements or reason about the chronology of information in longer patient records. For longer contexts, especially if the social history sections don't fit in the Transformer model's context window, we recommend evaluating the methods of Schuster et al. (2022)."
|
| 703 |
+
},
|
| 704 |
+
{
|
| 705 |
+
"type": "title",
|
| 706 |
+
"bbox": [
|
| 707 |
+
0.115,
|
| 708 |
+
0.797,
|
| 709 |
+
0.267,
|
| 710 |
+
0.812
|
| 711 |
+
],
|
| 712 |
+
"angle": 0,
|
| 713 |
+
"content": "Ethics Statement"
|
| 714 |
+
},
|
| 715 |
+
{
|
| 716 |
+
"type": "text",
|
| 717 |
+
"bbox": [
|
| 718 |
+
0.113,
|
| 719 |
+
0.823,
|
| 720 |
+
0.491,
|
| 721 |
+
0.92
|
| 722 |
+
],
|
| 723 |
+
"angle": 0,
|
| 724 |
+
"content": "Machine learning research in the clinical domain has many ethical considerations. Given the nature of this work is to identify opportunities for care teams to improve the health outcomes of patients due to factors commonly not addressed, we think it contributes to human well-being and avoids harms."
|
| 725 |
+
},
|
| 726 |
+
{
|
| 727 |
+
"type": "text",
|
| 728 |
+
"bbox": [
|
| 729 |
+
0.508,
|
| 730 |
+
0.085,
|
| 731 |
+
0.885,
|
| 732 |
+
0.343
|
| 733 |
+
],
|
| 734 |
+
"angle": 0,
|
| 735 |
+
"content": "The use of public, non-identifiable data that is released for the NLP community helps balance the need to have reproducible (i.e., honest and trustworthy) data to enable technical advances while limiting the need for sensitive, private medical records for research. We acknowledge that the purpose of the work is to identify SDOH to provide additional help and services to patients, and we warn against any use to deny patients care or services based on any factor that can be identified. Although we picked a large number of SDOH factors to test our method, we acknowledge that there may be additional factors that are important for specific patients and populations, so we encourage researchers to reflect on those possible factors and create datasets to help others study them, as well."
|
| 736 |
+
},
|
| 737 |
+
{
|
| 738 |
+
"type": "title",
|
| 739 |
+
"bbox": [
|
| 740 |
+
0.511,
|
| 741 |
+
0.369,
|
| 742 |
+
0.61,
|
| 743 |
+
0.384
|
| 744 |
+
],
|
| 745 |
+
"angle": 0,
|
| 746 |
+
"content": "References"
|
| 747 |
+
},
|
| 748 |
+
{
|
| 749 |
+
"type": "ref_text",
|
| 750 |
+
"bbox": [
|
| 751 |
+
0.511,
|
| 752 |
+
0.39,
|
| 753 |
+
0.884,
|
| 754 |
+
0.432
|
| 755 |
+
],
|
| 756 |
+
"angle": 0,
|
| 757 |
+
"content": "Abigail Arons, Sarah DeSilvey, Caroline Fichtenberg, and Laura Gottlieb. 2018. Compendium of medical terminology codes for social risk factors."
|
| 758 |
+
},
|
| 759 |
+
{
|
| 760 |
+
"type": "ref_text",
|
| 761 |
+
"bbox": [
|
| 762 |
+
0.511,
|
| 763 |
+
0.439,
|
| 764 |
+
0.885,
|
| 765 |
+
0.519
|
| 766 |
+
],
|
| 767 |
+
"angle": 0,
|
| 768 |
+
"content": "Samuel Bowman, Gabor Angeli, Christopher Potts, and Christopher D Manning. 2015. A large annotated corpus for learning natural language inference. In Proceedings of the 2015 Conference on Empirical Methods in Natural Language Processing, pages 632-642."
|
| 769 |
+
},
|
| 770 |
+
{
|
| 771 |
+
"type": "ref_text",
|
| 772 |
+
"bbox": [
|
| 773 |
+
0.511,
|
| 774 |
+
0.528,
|
| 775 |
+
0.887,
|
| 776 |
+
0.595
|
| 777 |
+
],
|
| 778 |
+
"angle": 0,
|
| 779 |
+
"content": "Hyung Won Chung, Le Hou, Shayne Longpre, Barret Zoph, Yi Tay, William Fedus, Eric Li, Xuezhi Wang, Mostafa Dehghani, Siddhartha Brahma, et al. 2022. Scaling instruction-finetuned language models. arXiv preprint arXiv:2210.11416."
|
| 780 |
+
},
|
| 781 |
+
{
|
| 782 |
+
"type": "ref_text",
|
| 783 |
+
"bbox": [
|
| 784 |
+
0.511,
|
| 785 |
+
0.603,
|
| 786 |
+
0.885,
|
| 787 |
+
0.643
|
| 788 |
+
],
|
| 789 |
+
"angle": 0,
|
| 790 |
+
"content": "Agency for Healthcare Research and MD. Quality, Rockville. 2020. Social determinants of health database."
|
| 791 |
+
},
|
| 792 |
+
{
|
| 793 |
+
"type": "ref_text",
|
| 794 |
+
"bbox": [
|
| 795 |
+
0.511,
|
| 796 |
+
0.651,
|
| 797 |
+
0.885,
|
| 798 |
+
0.743
|
| 799 |
+
],
|
| 800 |
+
"angle": 0,
|
| 801 |
+
"content": "Sebastian Gehrmann, Franck Dernoncourt, Yeran Li, Eric T Carlson, Joy T Wu, Jonathan Welt, John Foote Jr, Edward T Moseley, David W Grant, Patrick D Tyler, et al. 2018. Comparing deep learning and concept extraction based methods for patient phenotyping from clinical narratives. *PloS one*, 13(2):e0192360."
|
| 802 |
+
},
|
| 803 |
+
{
|
| 804 |
+
"type": "ref_text",
|
| 805 |
+
"bbox": [
|
| 806 |
+
0.51,
|
| 807 |
+
0.752,
|
| 808 |
+
0.886,
|
| 809 |
+
0.858
|
| 810 |
+
],
|
| 811 |
+
"angle": 0,
|
| 812 |
+
"content": "Suchin Gururangan, Swabha Swayamdipta, Omer Levy, Roy Schwartz, Samuel Bowman, and Noah A Smith. 2018. Annotation artifacts in natural language inference data. 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 107-112."
|
| 813 |
+
},
|
| 814 |
+
{
|
| 815 |
+
"type": "ref_text",
|
| 816 |
+
"bbox": [
|
| 817 |
+
0.51,
|
| 818 |
+
0.866,
|
| 819 |
+
0.887,
|
| 820 |
+
0.92
|
| 821 |
+
],
|
| 822 |
+
"angle": 0,
|
| 823 |
+
"content": "Alistair EW Johnson, Tom J Pollard, Lu Shen, Liwei H Lehman, Mengling Feng, Mohammad Ghassemi, Benjamin Moody, Peter Szolovits, Leo Anthony Celi, and Roger G Mark. 2016. Mimic-iii,"
|
| 824 |
+
},
|
| 825 |
+
{
|
| 826 |
+
"type": "list",
|
| 827 |
+
"bbox": [
|
| 828 |
+
0.51,
|
| 829 |
+
0.39,
|
| 830 |
+
0.887,
|
| 831 |
+
0.92
|
| 832 |
+
],
|
| 833 |
+
"angle": 0,
|
| 834 |
+
"content": null
|
| 835 |
+
},
|
| 836 |
+
{
|
| 837 |
+
"type": "page_number",
|
| 838 |
+
"bbox": [
|
| 839 |
+
0.481,
|
| 840 |
+
0.929,
|
| 841 |
+
0.521,
|
| 842 |
+
0.941
|
| 843 |
+
],
|
| 844 |
+
"angle": 0,
|
| 845 |
+
"content": "4793"
|
| 846 |
+
}
|
| 847 |
+
],
|
| 848 |
+
[
|
| 849 |
+
{
|
| 850 |
+
"type": "ref_text",
|
| 851 |
+
"bbox": [
|
| 852 |
+
0.135,
|
| 853 |
+
0.086,
|
| 854 |
+
0.489,
|
| 855 |
+
0.113
|
| 856 |
+
],
|
| 857 |
+
"angle": 0,
|
| 858 |
+
"content": "a freely accessible critical care database. Scientific data, 3(1):1-9."
|
| 859 |
+
},
|
| 860 |
+
{
|
| 861 |
+
"type": "ref_text",
|
| 862 |
+
"bbox": [
|
| 863 |
+
0.117,
|
| 864 |
+
0.121,
|
| 865 |
+
0.49,
|
| 866 |
+
0.188
|
| 867 |
+
],
|
| 868 |
+
"angle": 0,
|
| 869 |
+
"content": "Yuta Koreeda and Christopher D Manning. 2021. Contractnli: A dataset for document-level natural language inference for contracts. In Findings of the Association for Computational Linguistics: EMNLP 2021, pages 1907-1919."
|
| 870 |
+
},
|
| 871 |
+
{
|
| 872 |
+
"type": "ref_text",
|
| 873 |
+
"bbox": [
|
| 874 |
+
0.117,
|
| 875 |
+
0.196,
|
| 876 |
+
0.49,
|
| 877 |
+
0.275
|
| 878 |
+
],
|
| 879 |
+
"angle": 0,
|
| 880 |
+
"content": "Dmytro S Lituiev, Benjamin Lacar, Sang Pak, Peter L Abramowitsch, Emilia H De Marchis, and Thomas A Peterson. 2023. Automatic extraction of social determinants of health from medical notes of chronic lower back pain patients. J. Am. Med. Inform. Assoc."
|
| 881 |
+
},
|
| 882 |
+
{
|
| 883 |
+
"type": "ref_text",
|
| 884 |
+
"bbox": [
|
| 885 |
+
0.117,
|
| 886 |
+
0.282,
|
| 887 |
+
0.49,
|
| 888 |
+
0.349
|
| 889 |
+
],
|
| 890 |
+
"angle": 0,
|
| 891 |
+
"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."
|
| 892 |
+
},
|
| 893 |
+
{
|
| 894 |
+
"type": "ref_text",
|
| 895 |
+
"bbox": [
|
| 896 |
+
0.117,
|
| 897 |
+
0.356,
|
| 898 |
+
0.49,
|
| 899 |
+
0.423
|
| 900 |
+
],
|
| 901 |
+
"angle": 0,
|
| 902 |
+
"content": "Shayne Longpre, Le Hou, Tu Vu, Albert Webson, Hyung Won Chung, Yi Tay, Denny Zhou, Quoc V Le, Barret Zoph, Jason Wei, et al. 2023. The flan collection: Designing data and methods for effective instruction tuning. arXiv preprint arXiv:2301.13688."
|
| 903 |
+
},
|
| 904 |
+
{
|
| 905 |
+
"type": "ref_text",
|
| 906 |
+
"bbox": [
|
| 907 |
+
0.117,
|
| 908 |
+
0.43,
|
| 909 |
+
0.49,
|
| 910 |
+
0.496
|
| 911 |
+
],
|
| 912 |
+
"angle": 0,
|
| 913 |
+
"content": "Kevin Lybarger, Mari Ostendorf, and Meliha Yetisgen. 2021. Annotating social determinants of health using active learning, and characterizing determinants using neural event extraction. Journal of Biomedical Informatics, 113:103631."
|
| 914 |
+
},
|
| 915 |
+
{
|
| 916 |
+
"type": "ref_text",
|
| 917 |
+
"bbox": [
|
| 918 |
+
0.117,
|
| 919 |
+
0.504,
|
| 920 |
+
0.49,
|
| 921 |
+
0.571
|
| 922 |
+
],
|
| 923 |
+
"angle": 0,
|
| 924 |
+
"content": "Tom McCoy, Ellie Pavlick, and Tal Linzen. 2019. Right for the wrong reasons: Diagnosing syntactic heuristics in natural language inference. In Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics, pages 3428-3448."
|
| 925 |
+
},
|
| 926 |
+
{
|
| 927 |
+
"type": "ref_text",
|
| 928 |
+
"bbox": [
|
| 929 |
+
0.117,
|
| 930 |
+
0.578,
|
| 931 |
+
0.49,
|
| 932 |
+
0.658
|
| 933 |
+
],
|
| 934 |
+
"angle": 0,
|
| 935 |
+
"content": "Jianmo Ni, Gustavo Hernandez Abrego, Noah Constant, Ji Ma, Keith Hall, Daniel Cer, and Yinfei Yang. 2022a. Sentence-t5: Scalable sentence encoders from pre-trained text-to-text models. In *Findings of the Association for Computational Linguistics: ACL* 2022, pages 1864–1874."
|
| 936 |
+
},
|
| 937 |
+
{
|
| 938 |
+
"type": "ref_text",
|
| 939 |
+
"bbox": [
|
| 940 |
+
0.117,
|
| 941 |
+
0.666,
|
| 942 |
+
0.49,
|
| 943 |
+
0.771
|
| 944 |
+
],
|
| 945 |
+
"angle": 0,
|
| 946 |
+
"content": "Jianmo Ni, Chen Qu, Jing Lu, Zhuyun Dai, Gustavo Hernandez Abrego, Ji Ma, Vincent Zhao, Yi Luan, Keith Hall, Ming-Wei Chang, and Yinfei Yang. 2022b. Large dual encoders are generalizable retrievers. In Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing, pages 9844–9855, Abu Dhabi, United Arab Emirates. Association for Computational Linguistics."
|
| 947 |
+
},
|
| 948 |
+
{
|
| 949 |
+
"type": "ref_text",
|
| 950 |
+
"bbox": [
|
| 951 |
+
0.117,
|
| 952 |
+
0.779,
|
| 953 |
+
0.49,
|
| 954 |
+
0.858
|
| 955 |
+
],
|
| 956 |
+
"angle": 0,
|
| 957 |
+
"content": "Yixin Nie, Adina Williams, Emily Dinan, Mohit Bansal, Jason Weston, and Douwe Kiela. 2020. Adversarial nli: A new benchmark for natural language understanding. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pages 4885-4901."
|
| 958 |
+
},
|
| 959 |
+
{
|
| 960 |
+
"type": "ref_text",
|
| 961 |
+
"bbox": [
|
| 962 |
+
0.117,
|
| 963 |
+
0.866,
|
| 964 |
+
0.49,
|
| 965 |
+
0.919
|
| 966 |
+
],
|
| 967 |
+
"angle": 0,
|
| 968 |
+
"content": "Braja G Patra, Mohit M Sharma, Veer Vekaria, Prakash Adekkanattu, Olga V Patterson, Benjamin Glicksberg, Lauren A Lepow, Euijung Ryu, Joanna M Biernacka, Al'ona Furmanchuk, et al. 2021. Extracting"
|
| 969 |
+
},
|
| 970 |
+
{
|
| 971 |
+
"type": "list",
|
| 972 |
+
"bbox": [
|
| 973 |
+
0.117,
|
| 974 |
+
0.086,
|
| 975 |
+
0.49,
|
| 976 |
+
0.919
|
| 977 |
+
],
|
| 978 |
+
"angle": 0,
|
| 979 |
+
"content": null
|
| 980 |
+
},
|
| 981 |
+
{
|
| 982 |
+
"type": "ref_text",
|
| 983 |
+
"bbox": [
|
| 984 |
+
0.529,
|
| 985 |
+
0.086,
|
| 986 |
+
0.885,
|
| 987 |
+
0.139
|
| 988 |
+
],
|
| 989 |
+
"angle": 0,
|
| 990 |
+
"content": "social determinants of health from electronic health records using natural language processing: a systematic review. Journal of the American Medical Informatics Association, 28(12):2716-2727."
|
| 991 |
+
},
|
| 992 |
+
{
|
| 993 |
+
"type": "ref_text",
|
| 994 |
+
"bbox": [
|
| 995 |
+
0.512,
|
| 996 |
+
0.15,
|
| 997 |
+
0.885,
|
| 998 |
+
0.203
|
| 999 |
+
],
|
| 1000 |
+
"angle": 0,
|
| 1001 |
+
"content": "Adam Poliak. 2020. A survey on recognizing textual entailment as an nlp evaluation. In Proceedings of the First Workshop on Evaluation and Comparison of NLP Systems, pages 92-109."
|
| 1002 |
+
},
|
| 1003 |
+
{
|
| 1004 |
+
"type": "ref_text",
|
| 1005 |
+
"bbox": [
|
| 1006 |
+
0.512,
|
| 1007 |
+
0.213,
|
| 1008 |
+
0.885,
|
| 1009 |
+
0.292
|
| 1010 |
+
],
|
| 1011 |
+
"angle": 0,
|
| 1012 |
+
"content": "Adam Poliak, Jason Naradowsky, Aparajita Haldar, Rachel Rudinger, and Benjamin Van Durme. 2018. Hypothesis only baselines in natural language inference. In Proceedings of the Seventh Joint Conference on Lexical and Computational Semantics, pages 180-191."
|
| 1013 |
+
},
|
| 1014 |
+
{
|
| 1015 |
+
"type": "ref_text",
|
| 1016 |
+
"bbox": [
|
| 1017 |
+
0.512,
|
| 1018 |
+
0.303,
|
| 1019 |
+
0.885,
|
| 1020 |
+
0.381
|
| 1021 |
+
],
|
| 1022 |
+
"angle": 0,
|
| 1023 |
+
"content": "Alvin Rajkomar, Eric Loreaux, Yuchen Liu, Jonas Kemp, Benny Li, Ming-Jun Chen, Yi Zhang, Afroz Mohiuddin, and Juraj Gottweis. 2022. Deciphering clinical abbreviations with a privacy protecting machine learning system. Nature Communications, 13(1):7456."
|
| 1024 |
+
},
|
| 1025 |
+
{
|
| 1026 |
+
"type": "ref_text",
|
| 1027 |
+
"bbox": [
|
| 1028 |
+
0.512,
|
| 1029 |
+
0.392,
|
| 1030 |
+
0.885,
|
| 1031 |
+
0.47
|
| 1032 |
+
],
|
| 1033 |
+
"angle": 0,
|
| 1034 |
+
"content": "Adam Roberts, Hyung Won Chung, Anselm Levskaya, Gaurav Mishra, James Bradbury, Daniel Andor, Sharan Narang, Brian Lester, Colin Gaffney, Afroz Mohiuddin, et al. 2022. Scaling up models and data with t5x and seqio. arXiv preprint arXiv:2203.17189."
|
| 1035 |
+
},
|
| 1036 |
+
{
|
| 1037 |
+
"type": "ref_text",
|
| 1038 |
+
"bbox": [
|
| 1039 |
+
0.512,
|
| 1040 |
+
0.481,
|
| 1041 |
+
0.885,
|
| 1042 |
+
0.574
|
| 1043 |
+
],
|
| 1044 |
+
"angle": 0,
|
| 1045 |
+
"content": "Tal Schuster, Sihao Chen, Senaka Buthpitiya, Alex Fabrikant, and Donald Metzler. 2022. Stretching sentence-pair NLI models to reason over long documents and clusters. In Findings of the Association for Computational Linguistics: EMNLP 2022, pages 394-412, Abu Dhabi, United Arab Emirates. Association for Computational Linguistics."
|
| 1046 |
+
},
|
| 1047 |
+
{
|
| 1048 |
+
"type": "ref_text",
|
| 1049 |
+
"bbox": [
|
| 1050 |
+
0.512,
|
| 1051 |
+
0.584,
|
| 1052 |
+
0.885,
|
| 1053 |
+
0.663
|
| 1054 |
+
],
|
| 1055 |
+
"angle": 0,
|
| 1056 |
+
"content": "Tal Schuster, Adam Fisch, and Regina Barzilay. 2021. Get your vitamin c! robust fact verification with contrastive evidence. In Proceedings of the 2021 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pages 624-643."
|
| 1057 |
+
},
|
| 1058 |
+
{
|
| 1059 |
+
"type": "ref_text",
|
| 1060 |
+
"bbox": [
|
| 1061 |
+
0.512,
|
| 1062 |
+
0.673,
|
| 1063 |
+
0.885,
|
| 1064 |
+
0.727
|
| 1065 |
+
],
|
| 1066 |
+
"angle": 0,
|
| 1067 |
+
"content": "Shane Storks, Qiaozi Gao, and Joyce Y Chai. 2019. Recent advances in natural language inference: A survey of benchmarks, resources, and approaches. arXiv preprint arXiv:1904.01172."
|
| 1068 |
+
},
|
| 1069 |
+
{
|
| 1070 |
+
"type": "ref_text",
|
| 1071 |
+
"bbox": [
|
| 1072 |
+
0.512,
|
| 1073 |
+
0.737,
|
| 1074 |
+
0.885,
|
| 1075 |
+
0.815
|
| 1076 |
+
],
|
| 1077 |
+
"angle": 0,
|
| 1078 |
+
"content": "Yi Tay, Mostafa Dehghani, Vinh Q Tran, Xavier Garcia, Jason Wei, Xuezhi Wang, Hyung Won Chung, Dara Bahri, Tal Schuster, Steven Zheng, et al. 2023. UI2: Unifying language learning paradigms. In The Eleventh International Conference on Learning Representations."
|
| 1079 |
+
},
|
| 1080 |
+
{
|
| 1081 |
+
"type": "ref_text",
|
| 1082 |
+
"bbox": [
|
| 1083 |
+
0.512,
|
| 1084 |
+
0.826,
|
| 1085 |
+
0.885,
|
| 1086 |
+
0.919
|
| 1087 |
+
],
|
| 1088 |
+
"angle": 0,
|
| 1089 |
+
"content": "James Thorne, Andreas Vlachos, Christos Christodoulopoulos, and Arpit Mittal. 2018. FEVER: a large-scale dataset for fact extraction and VERIFICATION. In Proceedings of the 2018 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long"
|
| 1090 |
+
},
|
| 1091 |
+
{
|
| 1092 |
+
"type": "list",
|
| 1093 |
+
"bbox": [
|
| 1094 |
+
0.512,
|
| 1095 |
+
0.086,
|
| 1096 |
+
0.885,
|
| 1097 |
+
0.919
|
| 1098 |
+
],
|
| 1099 |
+
"angle": 0,
|
| 1100 |
+
"content": null
|
| 1101 |
+
},
|
| 1102 |
+
{
|
| 1103 |
+
"type": "page_number",
|
| 1104 |
+
"bbox": [
|
| 1105 |
+
0.481,
|
| 1106 |
+
0.929,
|
| 1107 |
+
0.521,
|
| 1108 |
+
0.941
|
| 1109 |
+
],
|
| 1110 |
+
"angle": 0,
|
| 1111 |
+
"content": "4794"
|
| 1112 |
+
}
|
| 1113 |
+
],
|
| 1114 |
+
[
|
| 1115 |
+
{
|
| 1116 |
+
"type": "text",
|
| 1117 |
+
"bbox": [
|
| 1118 |
+
0.133,
|
| 1119 |
+
0.086,
|
| 1120 |
+
0.489,
|
| 1121 |
+
0.113
|
| 1122 |
+
],
|
| 1123 |
+
"angle": 0,
|
| 1124 |
+
"content": "Papers), pages 809-819, New Orleans, Louisiana. Association for Computational Linguistics."
|
| 1125 |
+
},
|
| 1126 |
+
{
|
| 1127 |
+
"type": "text",
|
| 1128 |
+
"bbox": [
|
| 1129 |
+
0.115,
|
| 1130 |
+
0.122,
|
| 1131 |
+
0.49,
|
| 1132 |
+
0.176
|
| 1133 |
+
],
|
| 1134 |
+
"angle": 0,
|
| 1135 |
+
"content": "Özlem Uzuner, Ira Goldstein, Yuan Luo, and Isaac Kohane. 2008. Identifying patient smoking status from medical discharge records. Journal of the American Medical Informatics Association, 15(1):14-24."
|
| 1136 |
+
},
|
| 1137 |
+
{
|
| 1138 |
+
"type": "text",
|
| 1139 |
+
"bbox": [
|
| 1140 |
+
0.116,
|
| 1141 |
+
0.185,
|
| 1142 |
+
0.49,
|
| 1143 |
+
0.277
|
| 1144 |
+
],
|
| 1145 |
+
"angle": 0,
|
| 1146 |
+
"content": "Yan Wang, Elizabeth S Chen, Serguei Pakhomov, Elliot Arsoniadis, Elizabeth W Carter, Elizabeth Lindemann, Indra Neil Sarkar, and Genevieve B Melton. 2015. Automated extraction of substance use information from clinical texts. In AMIA Annual Symposium Proceedings, volume 2015, page 2121. American Medical Informatics Association."
|
| 1147 |
+
},
|
| 1148 |
+
{
|
| 1149 |
+
"type": "text",
|
| 1150 |
+
"bbox": [
|
| 1151 |
+
0.116,
|
| 1152 |
+
0.287,
|
| 1153 |
+
0.49,
|
| 1154 |
+
0.38
|
| 1155 |
+
],
|
| 1156 |
+
"angle": 0,
|
| 1157 |
+
"content": "Adina Williams, Nikita Nangia, and Samuel Bowman. 2018. A broad-coverage challenge corpus for sentence understanding through inference. In Proceedings of the 2018 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long Papers), pages 1112-1122."
|
| 1158 |
+
},
|
| 1159 |
+
{
|
| 1160 |
+
"type": "text",
|
| 1161 |
+
"bbox": [
|
| 1162 |
+
0.116,
|
| 1163 |
+
0.389,
|
| 1164 |
+
0.49,
|
| 1165 |
+
0.48
|
| 1166 |
+
],
|
| 1167 |
+
"angle": 0,
|
| 1168 |
+
"content": "Tamara J Winden, Elizabeth S Chen, Yan Wang, Elizabeth Lindemann, and Genevieve B Melton. 2017. Residence, living situation, and living conditions information documentation in clinical practice. In AMIA Annual Symposium Proceedings, volume 2017, page 1783. American Medical Informatics Association."
|
| 1169 |
+
},
|
| 1170 |
+
{
|
| 1171 |
+
"type": "text",
|
| 1172 |
+
"bbox": [
|
| 1173 |
+
0.116,
|
| 1174 |
+
0.491,
|
| 1175 |
+
0.489,
|
| 1176 |
+
0.556
|
| 1177 |
+
],
|
| 1178 |
+
"angle": 0,
|
| 1179 |
+
"content": "Meliha Yetisgen, Elena Pellicer, David R Crosslin, and Lucy Vanderwende. 2016. Automatic identification of lifestyle and environmental factors from social history in clinical text. In Proceedings of AMIA 2016 Joint Summits on Translational Science."
|
| 1180 |
+
},
|
| 1181 |
+
{
|
| 1182 |
+
"type": "text",
|
| 1183 |
+
"bbox": [
|
| 1184 |
+
0.116,
|
| 1185 |
+
0.566,
|
| 1186 |
+
0.49,
|
| 1187 |
+
0.646
|
| 1188 |
+
],
|
| 1189 |
+
"angle": 0,
|
| 1190 |
+
"content": "Meliha Yetisgen and Lucy Vanderwende. 2017. Automatic identification of substance abuse from social history in clinical text. In Artificial Intelligence in Medicine: 16th Conference on Artificial Intelligence in Medicine, AIME 2017, Vienna, Austria, June 21-24, 2017, Proceedings 16, pages 171-181. Springer."
|
| 1191 |
+
},
|
| 1192 |
+
{
|
| 1193 |
+
"type": "title",
|
| 1194 |
+
"bbox": [
|
| 1195 |
+
0.51,
|
| 1196 |
+
0.084,
|
| 1197 |
+
0.681,
|
| 1198 |
+
0.102
|
| 1199 |
+
],
|
| 1200 |
+
"angle": 0,
|
| 1201 |
+
"content": "A Labeling Setup"
|
| 1202 |
+
},
|
| 1203 |
+
{
|
| 1204 |
+
"type": "text",
|
| 1205 |
+
"bbox": [
|
| 1206 |
+
0.51,
|
| 1207 |
+
0.11,
|
| 1208 |
+
0.845,
|
| 1209 |
+
0.125
|
| 1210 |
+
],
|
| 1211 |
+
"angle": 0,
|
| 1212 |
+
"content": "Raters were given the following instructions:"
|
| 1213 |
+
},
|
| 1214 |
+
{
|
| 1215 |
+
"type": "text",
|
| 1216 |
+
"bbox": [
|
| 1217 |
+
0.508,
|
| 1218 |
+
0.126,
|
| 1219 |
+
0.884,
|
| 1220 |
+
0.222
|
| 1221 |
+
],
|
| 1222 |
+
"angle": 0,
|
| 1223 |
+
"content": "\"In this task, you will be given a list of snippets from transcribed medical records, describing a person's social history. Your job is to select the categories that are relevant to the snippet and, in each category, select statements about the person that are supported by the snippet."
|
| 1224 |
+
},
|
| 1225 |
+
{
|
| 1226 |
+
"type": "text",
|
| 1227 |
+
"bbox": [
|
| 1228 |
+
0.508,
|
| 1229 |
+
0.223,
|
| 1230 |
+
0.882,
|
| 1231 |
+
0.27
|
| 1232 |
+
],
|
| 1233 |
+
"angle": 0,
|
| 1234 |
+
"content": "Only select categories and statements relevant to the subject of the sentence, NOT if they apply to someone else (such as the subject's relatives)."
|
| 1235 |
+
},
|
| 1236 |
+
{
|
| 1237 |
+
"type": "text",
|
| 1238 |
+
"bbox": [
|
| 1239 |
+
0.508,
|
| 1240 |
+
0.271,
|
| 1241 |
+
0.884,
|
| 1242 |
+
0.318
|
| 1243 |
+
],
|
| 1244 |
+
"angle": 0,
|
| 1245 |
+
"content": "The source of the medical transcript samples is a public dataset (MTSamples.com), and not your, other raters' or users health transcript data.\""
|
| 1246 |
+
},
|
| 1247 |
+
{
|
| 1248 |
+
"type": "text",
|
| 1249 |
+
"bbox": [
|
| 1250 |
+
0.508,
|
| 1251 |
+
0.32,
|
| 1252 |
+
0.884,
|
| 1253 |
+
0.431
|
| 1254 |
+
],
|
| 1255 |
+
"angle": 0,
|
| 1256 |
+
"content": "For each snippet, they were required select one or more of the following categories (including \"None of the above\" if none of the categories were relevant). If they selected a category, the statements within the category would be displayed, and they were required to select one of statements within that category, or \"None of the above\":"
|
| 1257 |
+
},
|
| 1258 |
+
{
|
| 1259 |
+
"type": "text",
|
| 1260 |
+
"bbox": [
|
| 1261 |
+
0.532,
|
| 1262 |
+
0.442,
|
| 1263 |
+
0.619,
|
| 1264 |
+
0.458
|
| 1265 |
+
],
|
| 1266 |
+
"angle": 0,
|
| 1267 |
+
"content": "Smoking"
|
| 1268 |
+
},
|
| 1269 |
+
{
|
| 1270 |
+
"type": "text",
|
| 1271 |
+
"bbox": [
|
| 1272 |
+
0.567,
|
| 1273 |
+
0.466,
|
| 1274 |
+
0.833,
|
| 1275 |
+
0.481
|
| 1276 |
+
],
|
| 1277 |
+
"angle": 0,
|
| 1278 |
+
"content": "- The person is currently a smoker."
|
| 1279 |
+
},
|
| 1280 |
+
{
|
| 1281 |
+
"type": "text",
|
| 1282 |
+
"bbox": [
|
| 1283 |
+
0.567,
|
| 1284 |
+
0.485,
|
| 1285 |
+
0.86,
|
| 1286 |
+
0.499
|
| 1287 |
+
],
|
| 1288 |
+
"angle": 0,
|
| 1289 |
+
"content": "- The person is currently not a smoker."
|
| 1290 |
+
},
|
| 1291 |
+
{
|
| 1292 |
+
"type": "text",
|
| 1293 |
+
"bbox": [
|
| 1294 |
+
0.567,
|
| 1295 |
+
0.503,
|
| 1296 |
+
0.858,
|
| 1297 |
+
0.518
|
| 1298 |
+
],
|
| 1299 |
+
"angle": 0,
|
| 1300 |
+
"content": "- The person was a smoker in the past."
|
| 1301 |
+
},
|
| 1302 |
+
{
|
| 1303 |
+
"type": "text",
|
| 1304 |
+
"bbox": [
|
| 1305 |
+
0.567,
|
| 1306 |
+
0.521,
|
| 1307 |
+
0.878,
|
| 1308 |
+
0.535
|
| 1309 |
+
],
|
| 1310 |
+
"angle": 0,
|
| 1311 |
+
"content": "- The person wasn't a smoker in the past."
|
| 1312 |
+
},
|
| 1313 |
+
{
|
| 1314 |
+
"type": "text",
|
| 1315 |
+
"bbox": [
|
| 1316 |
+
0.567,
|
| 1317 |
+
0.539,
|
| 1318 |
+
0.722,
|
| 1319 |
+
0.552
|
| 1320 |
+
],
|
| 1321 |
+
"angle": 0,
|
| 1322 |
+
"content": "- None of the above"
|
| 1323 |
+
},
|
| 1324 |
+
{
|
| 1325 |
+
"type": "list",
|
| 1326 |
+
"bbox": [
|
| 1327 |
+
0.567,
|
| 1328 |
+
0.466,
|
| 1329 |
+
0.878,
|
| 1330 |
+
0.552
|
| 1331 |
+
],
|
| 1332 |
+
"angle": 0,
|
| 1333 |
+
"content": null
|
| 1334 |
+
},
|
| 1335 |
+
{
|
| 1336 |
+
"type": "text",
|
| 1337 |
+
"bbox": [
|
| 1338 |
+
0.532,
|
| 1339 |
+
0.565,
|
| 1340 |
+
0.64,
|
| 1341 |
+
0.578
|
| 1342 |
+
],
|
| 1343 |
+
"angle": 0,
|
| 1344 |
+
"content": "- Alcohol use"
|
| 1345 |
+
},
|
| 1346 |
+
{
|
| 1347 |
+
"type": "text",
|
| 1348 |
+
"bbox": [
|
| 1349 |
+
0.567,
|
| 1350 |
+
0.588,
|
| 1351 |
+
0.854,
|
| 1352 |
+
0.603
|
| 1353 |
+
],
|
| 1354 |
+
"angle": 0,
|
| 1355 |
+
"content": "- The person currently drinks alcohol."
|
| 1356 |
+
},
|
| 1357 |
+
{
|
| 1358 |
+
"type": "text",
|
| 1359 |
+
"bbox": [
|
| 1360 |
+
0.567,
|
| 1361 |
+
0.606,
|
| 1362 |
+
0.884,
|
| 1363 |
+
0.636
|
| 1364 |
+
],
|
| 1365 |
+
"angle": 0,
|
| 1366 |
+
"content": "- The person currently does not drink alcohol."
|
| 1367 |
+
},
|
| 1368 |
+
{
|
| 1369 |
+
"type": "text",
|
| 1370 |
+
"bbox": [
|
| 1371 |
+
0.567,
|
| 1372 |
+
0.64,
|
| 1373 |
+
0.86,
|
| 1374 |
+
0.656
|
| 1375 |
+
],
|
| 1376 |
+
"angle": 0,
|
| 1377 |
+
"content": "- The person drank alcohol in the past."
|
| 1378 |
+
},
|
| 1379 |
+
{
|
| 1380 |
+
"type": "text",
|
| 1381 |
+
"bbox": [
|
| 1382 |
+
0.567,
|
| 1383 |
+
0.659,
|
| 1384 |
+
0.881,
|
| 1385 |
+
0.69
|
| 1386 |
+
],
|
| 1387 |
+
"angle": 0,
|
| 1388 |
+
"content": "- The person did not drink alcohol in the past."
|
| 1389 |
+
},
|
| 1390 |
+
{
|
| 1391 |
+
"type": "text",
|
| 1392 |
+
"bbox": [
|
| 1393 |
+
0.567,
|
| 1394 |
+
0.693,
|
| 1395 |
+
0.722,
|
| 1396 |
+
0.707
|
| 1397 |
+
],
|
| 1398 |
+
"angle": 0,
|
| 1399 |
+
"content": "- None of the above"
|
| 1400 |
+
},
|
| 1401 |
+
{
|
| 1402 |
+
"type": "list",
|
| 1403 |
+
"bbox": [
|
| 1404 |
+
0.567,
|
| 1405 |
+
0.588,
|
| 1406 |
+
0.884,
|
| 1407 |
+
0.707
|
| 1408 |
+
],
|
| 1409 |
+
"angle": 0,
|
| 1410 |
+
"content": null
|
| 1411 |
+
},
|
| 1412 |
+
{
|
| 1413 |
+
"type": "text",
|
| 1414 |
+
"bbox": [
|
| 1415 |
+
0.532,
|
| 1416 |
+
0.72,
|
| 1417 |
+
0.619,
|
| 1418 |
+
0.734
|
| 1419 |
+
],
|
| 1420 |
+
"angle": 0,
|
| 1421 |
+
"content": "- Drug use"
|
| 1422 |
+
},
|
| 1423 |
+
{
|
| 1424 |
+
"type": "text",
|
| 1425 |
+
"bbox": [
|
| 1426 |
+
0.567,
|
| 1427 |
+
0.743,
|
| 1428 |
+
0.776,
|
| 1429 |
+
0.758
|
| 1430 |
+
],
|
| 1431 |
+
"angle": 0,
|
| 1432 |
+
"content": "- The person is a drug user."
|
| 1433 |
+
},
|
| 1434 |
+
{
|
| 1435 |
+
"type": "text",
|
| 1436 |
+
"bbox": [
|
| 1437 |
+
0.567,
|
| 1438 |
+
0.761,
|
| 1439 |
+
0.804,
|
| 1440 |
+
0.776
|
| 1441 |
+
],
|
| 1442 |
+
"angle": 0,
|
| 1443 |
+
"content": "- The person is not a drug user."
|
| 1444 |
+
},
|
| 1445 |
+
{
|
| 1446 |
+
"type": "text",
|
| 1447 |
+
"bbox": [
|
| 1448 |
+
0.567,
|
| 1449 |
+
0.78,
|
| 1450 |
+
0.872,
|
| 1451 |
+
0.794
|
| 1452 |
+
],
|
| 1453 |
+
"angle": 0,
|
| 1454 |
+
"content": "- The person was a drug user in the past."
|
| 1455 |
+
},
|
| 1456 |
+
{
|
| 1457 |
+
"type": "text",
|
| 1458 |
+
"bbox": [
|
| 1459 |
+
0.567,
|
| 1460 |
+
0.798,
|
| 1461 |
+
0.884,
|
| 1462 |
+
0.813
|
| 1463 |
+
],
|
| 1464 |
+
"angle": 0,
|
| 1465 |
+
"content": "- The person wasn't a drug user in the past."
|
| 1466 |
+
},
|
| 1467 |
+
{
|
| 1468 |
+
"type": "text",
|
| 1469 |
+
"bbox": [
|
| 1470 |
+
0.567,
|
| 1471 |
+
0.816,
|
| 1472 |
+
0.77,
|
| 1473 |
+
0.83
|
| 1474 |
+
],
|
| 1475 |
+
"angle": 0,
|
| 1476 |
+
"content": "- The person uses cocaine."
|
| 1477 |
+
},
|
| 1478 |
+
{
|
| 1479 |
+
"type": "text",
|
| 1480 |
+
"bbox": [
|
| 1481 |
+
0.567,
|
| 1482 |
+
0.834,
|
| 1483 |
+
0.83,
|
| 1484 |
+
0.848
|
| 1485 |
+
],
|
| 1486 |
+
"angle": 0,
|
| 1487 |
+
"content": "- The person does not use cocaine."
|
| 1488 |
+
},
|
| 1489 |
+
{
|
| 1490 |
+
"type": "text",
|
| 1491 |
+
"bbox": [
|
| 1492 |
+
0.567,
|
| 1493 |
+
0.852,
|
| 1494 |
+
0.852,
|
| 1495 |
+
0.866
|
| 1496 |
+
],
|
| 1497 |
+
"angle": 0,
|
| 1498 |
+
"content": "- The person used cocaine in the past."
|
| 1499 |
+
},
|
| 1500 |
+
{
|
| 1501 |
+
"type": "text",
|
| 1502 |
+
"bbox": [
|
| 1503 |
+
0.567,
|
| 1504 |
+
0.87,
|
| 1505 |
+
0.881,
|
| 1506 |
+
0.902
|
| 1507 |
+
],
|
| 1508 |
+
"angle": 0,
|
| 1509 |
+
"content": "- The person did not use cocaine in the past."
|
| 1510 |
+
},
|
| 1511 |
+
{
|
| 1512 |
+
"type": "text",
|
| 1513 |
+
"bbox": [
|
| 1514 |
+
0.567,
|
| 1515 |
+
0.904,
|
| 1516 |
+
0.788,
|
| 1517 |
+
0.919
|
| 1518 |
+
],
|
| 1519 |
+
"angle": 0,
|
| 1520 |
+
"content": "- The person uses marijuana."
|
| 1521 |
+
},
|
| 1522 |
+
{
|
| 1523 |
+
"type": "list",
|
| 1524 |
+
"bbox": [
|
| 1525 |
+
0.567,
|
| 1526 |
+
0.743,
|
| 1527 |
+
0.884,
|
| 1528 |
+
0.919
|
| 1529 |
+
],
|
| 1530 |
+
"angle": 0,
|
| 1531 |
+
"content": null
|
| 1532 |
+
},
|
| 1533 |
+
{
|
| 1534 |
+
"type": "page_number",
|
| 1535 |
+
"bbox": [
|
| 1536 |
+
0.481,
|
| 1537 |
+
0.929,
|
| 1538 |
+
0.521,
|
| 1539 |
+
0.941
|
| 1540 |
+
],
|
| 1541 |
+
"angle": 0,
|
| 1542 |
+
"content": "4795"
|
| 1543 |
+
}
|
| 1544 |
+
],
|
| 1545 |
+
[
|
| 1546 |
+
{
|
| 1547 |
+
"type": "text",
|
| 1548 |
+
"bbox": [
|
| 1549 |
+
0.17,
|
| 1550 |
+
0.086,
|
| 1551 |
+
0.452,
|
| 1552 |
+
0.101
|
| 1553 |
+
],
|
| 1554 |
+
"angle": 0,
|
| 1555 |
+
"content": "- The person does not use marijuana."
|
| 1556 |
+
},
|
| 1557 |
+
{
|
| 1558 |
+
"type": "text",
|
| 1559 |
+
"bbox": [
|
| 1560 |
+
0.17,
|
| 1561 |
+
0.104,
|
| 1562 |
+
0.475,
|
| 1563 |
+
0.119
|
| 1564 |
+
],
|
| 1565 |
+
"angle": 0,
|
| 1566 |
+
"content": "- The person used marijuana in the past."
|
| 1567 |
+
},
|
| 1568 |
+
{
|
| 1569 |
+
"type": "text",
|
| 1570 |
+
"bbox": [
|
| 1571 |
+
0.17,
|
| 1572 |
+
0.122,
|
| 1573 |
+
0.486,
|
| 1574 |
+
0.154
|
| 1575 |
+
],
|
| 1576 |
+
"angle": 0,
|
| 1577 |
+
"content": "- The person did not use marijuana in the past."
|
| 1578 |
+
},
|
| 1579 |
+
{
|
| 1580 |
+
"type": "text",
|
| 1581 |
+
"bbox": [
|
| 1582 |
+
0.17,
|
| 1583 |
+
0.156,
|
| 1584 |
+
0.488,
|
| 1585 |
+
0.188
|
| 1586 |
+
],
|
| 1587 |
+
"angle": 0,
|
| 1588 |
+
"content": "- The person uses opioids (e.g., heroin, fentanyl, oxycodone)."
|
| 1589 |
+
},
|
| 1590 |
+
{
|
| 1591 |
+
"type": "text",
|
| 1592 |
+
"bbox": [
|
| 1593 |
+
0.17,
|
| 1594 |
+
0.19,
|
| 1595 |
+
0.488,
|
| 1596 |
+
0.222
|
| 1597 |
+
],
|
| 1598 |
+
"angle": 0,
|
| 1599 |
+
"content": "- The person does not opioids (e.g., heroin, fentanyl, oxycodone)."
|
| 1600 |
+
},
|
| 1601 |
+
{
|
| 1602 |
+
"type": "text",
|
| 1603 |
+
"bbox": [
|
| 1604 |
+
0.17,
|
| 1605 |
+
0.224,
|
| 1606 |
+
0.488,
|
| 1607 |
+
0.256
|
| 1608 |
+
],
|
| 1609 |
+
"angle": 0,
|
| 1610 |
+
"content": "- The person used opioids in the past (e.g., heroin, fentanyl, oxycodone)."
|
| 1611 |
+
},
|
| 1612 |
+
{
|
| 1613 |
+
"type": "text",
|
| 1614 |
+
"bbox": [
|
| 1615 |
+
0.17,
|
| 1616 |
+
0.259,
|
| 1617 |
+
0.486,
|
| 1618 |
+
0.29
|
| 1619 |
+
],
|
| 1620 |
+
"angle": 0,
|
| 1621 |
+
"content": "- The person did not use opioids in the past (e.g., heroin, fentanyl, oxycodone)."
|
| 1622 |
+
},
|
| 1623 |
+
{
|
| 1624 |
+
"type": "text",
|
| 1625 |
+
"bbox": [
|
| 1626 |
+
0.17,
|
| 1627 |
+
0.293,
|
| 1628 |
+
0.328,
|
| 1629 |
+
0.306
|
| 1630 |
+
],
|
| 1631 |
+
"angle": 0,
|
| 1632 |
+
"content": "- None of the above"
|
| 1633 |
+
},
|
| 1634 |
+
{
|
| 1635 |
+
"type": "list",
|
| 1636 |
+
"bbox": [
|
| 1637 |
+
0.17,
|
| 1638 |
+
0.086,
|
| 1639 |
+
0.488,
|
| 1640 |
+
0.306
|
| 1641 |
+
],
|
| 1642 |
+
"angle": 0,
|
| 1643 |
+
"content": null
|
| 1644 |
+
},
|
| 1645 |
+
{
|
| 1646 |
+
"type": "title",
|
| 1647 |
+
"bbox": [
|
| 1648 |
+
0.137,
|
| 1649 |
+
0.319,
|
| 1650 |
+
0.252,
|
| 1651 |
+
0.333
|
| 1652 |
+
],
|
| 1653 |
+
"angle": 0,
|
| 1654 |
+
"content": "- Employment"
|
| 1655 |
+
},
|
| 1656 |
+
{
|
| 1657 |
+
"type": "text",
|
| 1658 |
+
"bbox": [
|
| 1659 |
+
0.17,
|
| 1660 |
+
0.343,
|
| 1661 |
+
0.373,
|
| 1662 |
+
0.358
|
| 1663 |
+
],
|
| 1664 |
+
"angle": 0,
|
| 1665 |
+
"content": "- The person is employed."
|
| 1666 |
+
},
|
| 1667 |
+
{
|
| 1668 |
+
"type": "text",
|
| 1669 |
+
"bbox": [
|
| 1670 |
+
0.17,
|
| 1671 |
+
0.36,
|
| 1672 |
+
0.4,
|
| 1673 |
+
0.376
|
| 1674 |
+
],
|
| 1675 |
+
"angle": 0,
|
| 1676 |
+
"content": "- The person is not employed."
|
| 1677 |
+
},
|
| 1678 |
+
{
|
| 1679 |
+
"type": "text",
|
| 1680 |
+
"bbox": [
|
| 1681 |
+
0.17,
|
| 1682 |
+
0.379,
|
| 1683 |
+
0.442,
|
| 1684 |
+
0.394
|
| 1685 |
+
],
|
| 1686 |
+
"angle": 0,
|
| 1687 |
+
"content": "- The person is employed part time."
|
| 1688 |
+
},
|
| 1689 |
+
{
|
| 1690 |
+
"type": "text",
|
| 1691 |
+
"bbox": [
|
| 1692 |
+
0.17,
|
| 1693 |
+
0.397,
|
| 1694 |
+
0.366,
|
| 1695 |
+
0.412
|
| 1696 |
+
],
|
| 1697 |
+
"angle": 0,
|
| 1698 |
+
"content": "- The person is a student."
|
| 1699 |
+
},
|
| 1700 |
+
{
|
| 1701 |
+
"type": "text",
|
| 1702 |
+
"bbox": [
|
| 1703 |
+
0.17,
|
| 1704 |
+
0.415,
|
| 1705 |
+
0.398,
|
| 1706 |
+
0.43
|
| 1707 |
+
],
|
| 1708 |
+
"angle": 0,
|
| 1709 |
+
"content": "- The person is a homemaker."
|
| 1710 |
+
},
|
| 1711 |
+
{
|
| 1712 |
+
"type": "text",
|
| 1713 |
+
"bbox": [
|
| 1714 |
+
0.17,
|
| 1715 |
+
0.433,
|
| 1716 |
+
0.488,
|
| 1717 |
+
0.463
|
| 1718 |
+
],
|
| 1719 |
+
"angle": 0,
|
| 1720 |
+
"content": "- The person is retired due to age or preference."
|
| 1721 |
+
},
|
| 1722 |
+
{
|
| 1723 |
+
"type": "text",
|
| 1724 |
+
"bbox": [
|
| 1725 |
+
0.17,
|
| 1726 |
+
0.467,
|
| 1727 |
+
0.47,
|
| 1728 |
+
0.483
|
| 1729 |
+
],
|
| 1730 |
+
"angle": 0,
|
| 1731 |
+
"content": "- The person is retired due to disability."
|
| 1732 |
+
},
|
| 1733 |
+
{
|
| 1734 |
+
"type": "text",
|
| 1735 |
+
"bbox": [
|
| 1736 |
+
0.17,
|
| 1737 |
+
0.485,
|
| 1738 |
+
0.486,
|
| 1739 |
+
0.515
|
| 1740 |
+
],
|
| 1741 |
+
"angle": 0,
|
| 1742 |
+
"content": "- The person is retired due to an unknown reason."
|
| 1743 |
+
},
|
| 1744 |
+
{
|
| 1745 |
+
"type": "text",
|
| 1746 |
+
"bbox": [
|
| 1747 |
+
0.17,
|
| 1748 |
+
0.52,
|
| 1749 |
+
0.328,
|
| 1750 |
+
0.534
|
| 1751 |
+
],
|
| 1752 |
+
"angle": 0,
|
| 1753 |
+
"content": "- None of the above"
|
| 1754 |
+
},
|
| 1755 |
+
{
|
| 1756 |
+
"type": "list",
|
| 1757 |
+
"bbox": [
|
| 1758 |
+
0.17,
|
| 1759 |
+
0.343,
|
| 1760 |
+
0.488,
|
| 1761 |
+
0.534
|
| 1762 |
+
],
|
| 1763 |
+
"angle": 0,
|
| 1764 |
+
"content": null
|
| 1765 |
+
},
|
| 1766 |
+
{
|
| 1767 |
+
"type": "title",
|
| 1768 |
+
"bbox": [
|
| 1769 |
+
0.137,
|
| 1770 |
+
0.546,
|
| 1771 |
+
0.219,
|
| 1772 |
+
0.561
|
| 1773 |
+
],
|
| 1774 |
+
"angle": 0,
|
| 1775 |
+
"content": "Housing"
|
| 1776 |
+
},
|
| 1777 |
+
{
|
| 1778 |
+
"type": "text",
|
| 1779 |
+
"bbox": [
|
| 1780 |
+
0.17,
|
| 1781 |
+
0.569,
|
| 1782 |
+
0.486,
|
| 1783 |
+
0.6
|
| 1784 |
+
],
|
| 1785 |
+
"angle": 0,
|
| 1786 |
+
"content": "- The person lives in their own or their family's home."
|
| 1787 |
+
},
|
| 1788 |
+
{
|
| 1789 |
+
"type": "text",
|
| 1790 |
+
"bbox": [
|
| 1791 |
+
0.17,
|
| 1792 |
+
0.603,
|
| 1793 |
+
0.467,
|
| 1794 |
+
0.619
|
| 1795 |
+
],
|
| 1796 |
+
"angle": 0,
|
| 1797 |
+
"content": "- The person lives in a housing facility."
|
| 1798 |
+
},
|
| 1799 |
+
{
|
| 1800 |
+
"type": "text",
|
| 1801 |
+
"bbox": [
|
| 1802 |
+
0.17,
|
| 1803 |
+
0.621,
|
| 1804 |
+
0.369,
|
| 1805 |
+
0.636
|
| 1806 |
+
],
|
| 1807 |
+
"angle": 0,
|
| 1808 |
+
"content": "- The person is homeless."
|
| 1809 |
+
},
|
| 1810 |
+
{
|
| 1811 |
+
"type": "text",
|
| 1812 |
+
"bbox": [
|
| 1813 |
+
0.17,
|
| 1814 |
+
0.64,
|
| 1815 |
+
0.401,
|
| 1816 |
+
0.655
|
| 1817 |
+
],
|
| 1818 |
+
"angle": 0,
|
| 1819 |
+
"content": "- The person is stably housed."
|
| 1820 |
+
},
|
| 1821 |
+
{
|
| 1822 |
+
"type": "text",
|
| 1823 |
+
"bbox": [
|
| 1824 |
+
0.17,
|
| 1825 |
+
0.657,
|
| 1826 |
+
0.486,
|
| 1827 |
+
0.687
|
| 1828 |
+
],
|
| 1829 |
+
"angle": 0,
|
| 1830 |
+
"content": "- The person's housing is unsuited to their needs."
|
| 1831 |
+
},
|
| 1832 |
+
{
|
| 1833 |
+
"type": "text",
|
| 1834 |
+
"bbox": [
|
| 1835 |
+
0.17,
|
| 1836 |
+
0.691,
|
| 1837 |
+
0.328,
|
| 1838 |
+
0.706
|
| 1839 |
+
],
|
| 1840 |
+
"angle": 0,
|
| 1841 |
+
"content": "- None of the above"
|
| 1842 |
+
},
|
| 1843 |
+
{
|
| 1844 |
+
"type": "list",
|
| 1845 |
+
"bbox": [
|
| 1846 |
+
0.17,
|
| 1847 |
+
0.569,
|
| 1848 |
+
0.486,
|
| 1849 |
+
0.706
|
| 1850 |
+
],
|
| 1851 |
+
"angle": 0,
|
| 1852 |
+
"content": null
|
| 1853 |
+
},
|
| 1854 |
+
{
|
| 1855 |
+
"type": "title",
|
| 1856 |
+
"bbox": [
|
| 1857 |
+
0.137,
|
| 1858 |
+
0.718,
|
| 1859 |
+
0.194,
|
| 1860 |
+
0.731
|
| 1861 |
+
],
|
| 1862 |
+
"angle": 0,
|
| 1863 |
+
"content": "Food"
|
| 1864 |
+
},
|
| 1865 |
+
{
|
| 1866 |
+
"type": "text",
|
| 1867 |
+
"bbox": [
|
| 1868 |
+
0.17,
|
| 1869 |
+
0.741,
|
| 1870 |
+
0.486,
|
| 1871 |
+
0.771
|
| 1872 |
+
],
|
| 1873 |
+
"angle": 0,
|
| 1874 |
+
"content": "- The person is able to obtain food on a consistent basis."
|
| 1875 |
+
},
|
| 1876 |
+
{
|
| 1877 |
+
"type": "text",
|
| 1878 |
+
"bbox": [
|
| 1879 |
+
0.17,
|
| 1880 |
+
0.775,
|
| 1881 |
+
0.486,
|
| 1882 |
+
0.805
|
| 1883 |
+
],
|
| 1884 |
+
"angle": 0,
|
| 1885 |
+
"content": "- The person is not able to obtain food on a consistent basis."
|
| 1886 |
+
},
|
| 1887 |
+
{
|
| 1888 |
+
"type": "text",
|
| 1889 |
+
"bbox": [
|
| 1890 |
+
0.17,
|
| 1891 |
+
0.81,
|
| 1892 |
+
0.488,
|
| 1893 |
+
0.839
|
| 1894 |
+
],
|
| 1895 |
+
"angle": 0,
|
| 1896 |
+
"content": "- The person has consistent fruit and vegetable intake."
|
| 1897 |
+
},
|
| 1898 |
+
{
|
| 1899 |
+
"type": "text",
|
| 1900 |
+
"bbox": [
|
| 1901 |
+
0.17,
|
| 1902 |
+
0.844,
|
| 1903 |
+
0.486,
|
| 1904 |
+
0.875
|
| 1905 |
+
],
|
| 1906 |
+
"angle": 0,
|
| 1907 |
+
"content": "- The person does not have consistent fruit and vegetable intake."
|
| 1908 |
+
},
|
| 1909 |
+
{
|
| 1910 |
+
"type": "text",
|
| 1911 |
+
"bbox": [
|
| 1912 |
+
0.17,
|
| 1913 |
+
0.878,
|
| 1914 |
+
0.328,
|
| 1915 |
+
0.892
|
| 1916 |
+
],
|
| 1917 |
+
"angle": 0,
|
| 1918 |
+
"content": "- None of the above"
|
| 1919 |
+
},
|
| 1920 |
+
{
|
| 1921 |
+
"type": "list",
|
| 1922 |
+
"bbox": [
|
| 1923 |
+
0.17,
|
| 1924 |
+
0.741,
|
| 1925 |
+
0.488,
|
| 1926 |
+
0.892
|
| 1927 |
+
],
|
| 1928 |
+
"angle": 0,
|
| 1929 |
+
"content": null
|
| 1930 |
+
},
|
| 1931 |
+
{
|
| 1932 |
+
"type": "title",
|
| 1933 |
+
"bbox": [
|
| 1934 |
+
0.137,
|
| 1935 |
+
0.904,
|
| 1936 |
+
0.264,
|
| 1937 |
+
0.919
|
| 1938 |
+
],
|
| 1939 |
+
"angle": 0,
|
| 1940 |
+
"content": "- Transportation"
|
| 1941 |
+
},
|
| 1942 |
+
{
|
| 1943 |
+
"type": "text",
|
| 1944 |
+
"bbox": [
|
| 1945 |
+
0.565,
|
| 1946 |
+
0.085,
|
| 1947 |
+
0.88,
|
| 1948 |
+
0.101
|
| 1949 |
+
],
|
| 1950 |
+
"angle": 0,
|
| 1951 |
+
"content": "- The person has access to transportation."
|
| 1952 |
+
},
|
| 1953 |
+
{
|
| 1954 |
+
"type": "text",
|
| 1955 |
+
"bbox": [
|
| 1956 |
+
0.565,
|
| 1957 |
+
0.104,
|
| 1958 |
+
0.884,
|
| 1959 |
+
0.135
|
| 1960 |
+
],
|
| 1961 |
+
"angle": 0,
|
| 1962 |
+
"content": "- The person does not have access to transportation."
|
| 1963 |
+
},
|
| 1964 |
+
{
|
| 1965 |
+
"type": "text",
|
| 1966 |
+
"bbox": [
|
| 1967 |
+
0.565,
|
| 1968 |
+
0.139,
|
| 1969 |
+
0.812,
|
| 1970 |
+
0.153
|
| 1971 |
+
],
|
| 1972 |
+
"angle": 0,
|
| 1973 |
+
"content": "- The person has access to a car."
|
| 1974 |
+
},
|
| 1975 |
+
{
|
| 1976 |
+
"type": "text",
|
| 1977 |
+
"bbox": [
|
| 1978 |
+
0.565,
|
| 1979 |
+
0.157,
|
| 1980 |
+
0.884,
|
| 1981 |
+
0.171
|
| 1982 |
+
],
|
| 1983 |
+
"angle": 0,
|
| 1984 |
+
"content": "- The person does not have access to a car."
|
| 1985 |
+
},
|
| 1986 |
+
{
|
| 1987 |
+
"type": "text",
|
| 1988 |
+
"bbox": [
|
| 1989 |
+
0.565,
|
| 1990 |
+
0.175,
|
| 1991 |
+
0.875,
|
| 1992 |
+
0.19
|
| 1993 |
+
],
|
| 1994 |
+
"angle": 0,
|
| 1995 |
+
"content": "- The person has access to public transit."
|
| 1996 |
+
},
|
| 1997 |
+
{
|
| 1998 |
+
"type": "text",
|
| 1999 |
+
"bbox": [
|
| 2000 |
+
0.565,
|
| 2001 |
+
0.193,
|
| 2002 |
+
0.884,
|
| 2003 |
+
0.223
|
| 2004 |
+
],
|
| 2005 |
+
"angle": 0,
|
| 2006 |
+
"content": "- The person does not have access to public transit."
|
| 2007 |
+
},
|
| 2008 |
+
{
|
| 2009 |
+
"type": "text",
|
| 2010 |
+
"bbox": [
|
| 2011 |
+
0.565,
|
| 2012 |
+
0.228,
|
| 2013 |
+
0.884,
|
| 2014 |
+
0.259
|
| 2015 |
+
],
|
| 2016 |
+
"angle": 0,
|
| 2017 |
+
"content": "- The person has issues with finding transportation."
|
| 2018 |
+
},
|
| 2019 |
+
{
|
| 2020 |
+
"type": "text",
|
| 2021 |
+
"bbox": [
|
| 2022 |
+
0.565,
|
| 2023 |
+
0.262,
|
| 2024 |
+
0.723,
|
| 2025 |
+
0.276
|
| 2026 |
+
],
|
| 2027 |
+
"angle": 0,
|
| 2028 |
+
"content": "- None of the above"
|
| 2029 |
+
},
|
| 2030 |
+
{
|
| 2031 |
+
"type": "list",
|
| 2032 |
+
"bbox": [
|
| 2033 |
+
0.565,
|
| 2034 |
+
0.085,
|
| 2035 |
+
0.884,
|
| 2036 |
+
0.276
|
| 2037 |
+
],
|
| 2038 |
+
"angle": 0,
|
| 2039 |
+
"content": null
|
| 2040 |
+
},
|
| 2041 |
+
{
|
| 2042 |
+
"type": "title",
|
| 2043 |
+
"bbox": [
|
| 2044 |
+
0.533,
|
| 2045 |
+
0.289,
|
| 2046 |
+
0.676,
|
| 2047 |
+
0.302
|
| 2048 |
+
],
|
| 2049 |
+
"angle": 0,
|
| 2050 |
+
"content": "Health insurance"
|
| 2051 |
+
},
|
| 2052 |
+
{
|
| 2053 |
+
"type": "text",
|
| 2054 |
+
"bbox": [
|
| 2055 |
+
0.565,
|
| 2056 |
+
0.312,
|
| 2057 |
+
0.881,
|
| 2058 |
+
0.327
|
| 2059 |
+
],
|
| 2060 |
+
"angle": 0,
|
| 2061 |
+
"content": "- The person has private health insurance."
|
| 2062 |
+
},
|
| 2063 |
+
{
|
| 2064 |
+
"type": "text",
|
| 2065 |
+
"bbox": [
|
| 2066 |
+
0.565,
|
| 2067 |
+
0.33,
|
| 2068 |
+
0.788,
|
| 2069 |
+
0.345
|
| 2070 |
+
],
|
| 2071 |
+
"angle": 0,
|
| 2072 |
+
"content": "- The person is on Medicare."
|
| 2073 |
+
},
|
| 2074 |
+
{
|
| 2075 |
+
"type": "text",
|
| 2076 |
+
"bbox": [
|
| 2077 |
+
0.565,
|
| 2078 |
+
0.349,
|
| 2079 |
+
0.788,
|
| 2080 |
+
0.364
|
| 2081 |
+
],
|
| 2082 |
+
"angle": 0,
|
| 2083 |
+
"content": "- The person is on Medicaid."
|
| 2084 |
+
},
|
| 2085 |
+
{
|
| 2086 |
+
"type": "text",
|
| 2087 |
+
"bbox": [
|
| 2088 |
+
0.565,
|
| 2089 |
+
0.367,
|
| 2090 |
+
0.884,
|
| 2091 |
+
0.396
|
| 2092 |
+
],
|
| 2093 |
+
"angle": 0,
|
| 2094 |
+
"content": "- The person does not have health insurance."
|
| 2095 |
+
},
|
| 2096 |
+
{
|
| 2097 |
+
"type": "text",
|
| 2098 |
+
"bbox": [
|
| 2099 |
+
0.565,
|
| 2100 |
+
0.401,
|
| 2101 |
+
0.723,
|
| 2102 |
+
0.415
|
| 2103 |
+
],
|
| 2104 |
+
"angle": 0,
|
| 2105 |
+
"content": "- None of the above"
|
| 2106 |
+
},
|
| 2107 |
+
{
|
| 2108 |
+
"type": "list",
|
| 2109 |
+
"bbox": [
|
| 2110 |
+
0.565,
|
| 2111 |
+
0.312,
|
| 2112 |
+
0.884,
|
| 2113 |
+
0.415
|
| 2114 |
+
],
|
| 2115 |
+
"angle": 0,
|
| 2116 |
+
"content": null
|
| 2117 |
+
},
|
| 2118 |
+
{
|
| 2119 |
+
"type": "title",
|
| 2120 |
+
"bbox": [
|
| 2121 |
+
0.533,
|
| 2122 |
+
0.428,
|
| 2123 |
+
0.657,
|
| 2124 |
+
0.443
|
| 2125 |
+
],
|
| 2126 |
+
"angle": 0,
|
| 2127 |
+
"content": "Social support"
|
| 2128 |
+
},
|
| 2129 |
+
{
|
| 2130 |
+
"type": "text",
|
| 2131 |
+
"bbox": [
|
| 2132 |
+
0.565,
|
| 2133 |
+
0.452,
|
| 2134 |
+
0.81,
|
| 2135 |
+
0.467
|
| 2136 |
+
],
|
| 2137 |
+
"angle": 0,
|
| 2138 |
+
"content": "- The person has social support."
|
| 2139 |
+
},
|
| 2140 |
+
{
|
| 2141 |
+
"type": "text",
|
| 2142 |
+
"bbox": [
|
| 2143 |
+
0.565,
|
| 2144 |
+
0.47,
|
| 2145 |
+
0.884,
|
| 2146 |
+
0.485
|
| 2147 |
+
],
|
| 2148 |
+
"angle": 0,
|
| 2149 |
+
"content": "- The person does not have social support."
|
| 2150 |
+
},
|
| 2151 |
+
{
|
| 2152 |
+
"type": "text",
|
| 2153 |
+
"bbox": [
|
| 2154 |
+
0.565,
|
| 2155 |
+
0.489,
|
| 2156 |
+
0.757,
|
| 2157 |
+
0.503
|
| 2158 |
+
],
|
| 2159 |
+
"angle": 0,
|
| 2160 |
+
"content": "- The person lives alone."
|
| 2161 |
+
},
|
| 2162 |
+
{
|
| 2163 |
+
"type": "text",
|
| 2164 |
+
"bbox": [
|
| 2165 |
+
0.565,
|
| 2166 |
+
0.507,
|
| 2167 |
+
0.816,
|
| 2168 |
+
0.521
|
| 2169 |
+
],
|
| 2170 |
+
"angle": 0,
|
| 2171 |
+
"content": "- The person does not live alone."
|
| 2172 |
+
},
|
| 2173 |
+
{
|
| 2174 |
+
"type": "text",
|
| 2175 |
+
"bbox": [
|
| 2176 |
+
0.565,
|
| 2177 |
+
0.525,
|
| 2178 |
+
0.723,
|
| 2179 |
+
0.538
|
| 2180 |
+
],
|
| 2181 |
+
"angle": 0,
|
| 2182 |
+
"content": "- None of the above"
|
| 2183 |
+
},
|
| 2184 |
+
{
|
| 2185 |
+
"type": "list",
|
| 2186 |
+
"bbox": [
|
| 2187 |
+
0.565,
|
| 2188 |
+
0.452,
|
| 2189 |
+
0.884,
|
| 2190 |
+
0.538
|
| 2191 |
+
],
|
| 2192 |
+
"angle": 0,
|
| 2193 |
+
"content": null
|
| 2194 |
+
},
|
| 2195 |
+
{
|
| 2196 |
+
"type": "title",
|
| 2197 |
+
"bbox": [
|
| 2198 |
+
0.533,
|
| 2199 |
+
0.551,
|
| 2200 |
+
0.688,
|
| 2201 |
+
0.565
|
| 2202 |
+
],
|
| 2203 |
+
"angle": 0,
|
| 2204 |
+
"content": "Financial situation"
|
| 2205 |
+
},
|
| 2206 |
+
{
|
| 2207 |
+
"type": "text",
|
| 2208 |
+
"bbox": [
|
| 2209 |
+
0.565,
|
| 2210 |
+
0.575,
|
| 2211 |
+
0.859,
|
| 2212 |
+
0.59
|
| 2213 |
+
],
|
| 2214 |
+
"angle": 0,
|
| 2215 |
+
"content": "- The person is below the poverty line."
|
| 2216 |
+
},
|
| 2217 |
+
{
|
| 2218 |
+
"type": "text",
|
| 2219 |
+
"bbox": [
|
| 2220 |
+
0.565,
|
| 2221 |
+
0.594,
|
| 2222 |
+
0.858,
|
| 2223 |
+
0.609
|
| 2224 |
+
],
|
| 2225 |
+
"angle": 0,
|
| 2226 |
+
"content": "- The person is above the poverty line."
|
| 2227 |
+
},
|
| 2228 |
+
{
|
| 2229 |
+
"type": "text",
|
| 2230 |
+
"bbox": [
|
| 2231 |
+
0.565,
|
| 2232 |
+
0.612,
|
| 2233 |
+
0.884,
|
| 2234 |
+
0.626
|
| 2235 |
+
],
|
| 2236 |
+
"angle": 0,
|
| 2237 |
+
"content": "- The person is able to afford medications."
|
| 2238 |
+
},
|
| 2239 |
+
{
|
| 2240 |
+
"type": "text",
|
| 2241 |
+
"bbox": [
|
| 2242 |
+
0.565,
|
| 2243 |
+
0.63,
|
| 2244 |
+
0.884,
|
| 2245 |
+
0.659
|
| 2246 |
+
],
|
| 2247 |
+
"angle": 0,
|
| 2248 |
+
"content": "- The person is not able to afford medications."
|
| 2249 |
+
},
|
| 2250 |
+
{
|
| 2251 |
+
"type": "text",
|
| 2252 |
+
"bbox": [
|
| 2253 |
+
0.565,
|
| 2254 |
+
0.665,
|
| 2255 |
+
0.723,
|
| 2256 |
+
0.678
|
| 2257 |
+
],
|
| 2258 |
+
"angle": 0,
|
| 2259 |
+
"content": "- None of the above"
|
| 2260 |
+
},
|
| 2261 |
+
{
|
| 2262 |
+
"type": "list",
|
| 2263 |
+
"bbox": [
|
| 2264 |
+
0.565,
|
| 2265 |
+
0.575,
|
| 2266 |
+
0.884,
|
| 2267 |
+
0.678
|
| 2268 |
+
],
|
| 2269 |
+
"angle": 0,
|
| 2270 |
+
"content": null
|
| 2271 |
+
},
|
| 2272 |
+
{
|
| 2273 |
+
"type": "title",
|
| 2274 |
+
"bbox": [
|
| 2275 |
+
0.533,
|
| 2276 |
+
0.691,
|
| 2277 |
+
0.686,
|
| 2278 |
+
0.705
|
| 2279 |
+
],
|
| 2280 |
+
"angle": 0,
|
| 2281 |
+
"content": "- None of the above"
|
| 2282 |
+
},
|
| 2283 |
+
{
|
| 2284 |
+
"type": "title",
|
| 2285 |
+
"bbox": [
|
| 2286 |
+
0.51,
|
| 2287 |
+
0.718,
|
| 2288 |
+
0.695,
|
| 2289 |
+
0.735
|
| 2290 |
+
],
|
| 2291 |
+
"angle": 0,
|
| 2292 |
+
"content": "B Prompting Setup"
|
| 2293 |
+
},
|
| 2294 |
+
{
|
| 2295 |
+
"type": "text",
|
| 2296 |
+
"bbox": [
|
| 2297 |
+
0.508,
|
| 2298 |
+
0.743,
|
| 2299 |
+
0.884,
|
| 2300 |
+
0.855
|
| 2301 |
+
],
|
| 2302 |
+
"angle": 0,
|
| 2303 |
+
"content": "Our goal with the design of our zero/few-shot experiments was to stay close to how the models were trained and evaluated on similar NLI tasks. Since the models we used were fine-tuned on the Flan collection (Longpre et al., 2023), which includes several NLI datasets, we reused some of the Flan collections's prompt templates."
|
| 2304 |
+
},
|
| 2305 |
+
{
|
| 2306 |
+
"type": "text",
|
| 2307 |
+
"bbox": [
|
| 2308 |
+
0.508,
|
| 2309 |
+
0.856,
|
| 2310 |
+
0.883,
|
| 2311 |
+
0.919
|
| 2312 |
+
],
|
| 2313 |
+
"angle": 0,
|
| 2314 |
+
"content": "In particular, we used the templates for the SNLI and MNLI dataset which were the most relevant to our data. (We excluded templates for other datasets such as RTE, ANLI, or WNLI because the wording"
|
| 2315 |
+
},
|
| 2316 |
+
{
|
| 2317 |
+
"type": "page_number",
|
| 2318 |
+
"bbox": [
|
| 2319 |
+
0.481,
|
| 2320 |
+
0.929,
|
| 2321 |
+
0.521,
|
| 2322 |
+
0.941
|
| 2323 |
+
],
|
| 2324 |
+
"angle": 0,
|
| 2325 |
+
"content": "4796"
|
| 2326 |
+
}
|
| 2327 |
+
],
|
| 2328 |
+
[
|
| 2329 |
+
{
|
| 2330 |
+
"type": "text",
|
| 2331 |
+
"bbox": [
|
| 2332 |
+
0.117,
|
| 2333 |
+
0.085,
|
| 2334 |
+
0.49,
|
| 2335 |
+
0.325
|
| 2336 |
+
],
|
| 2337 |
+
"angle": 0,
|
| 2338 |
+
"content": "of some of the prompts could be slightly misleading; e.g. by referring to the premise as a \"paragraph.\") For each example, we chose a prompt template uniformly at random from the 19 templates. For few-shot experiments, we first picked a random positive example from the training set, then picked the other few-shot examples uniformly at random from the training examples. (Without explicitly forcing at least one example to be positive, it would be very likely that all the few-shot examples would be negative, given the label imbalance in the dataset. We tried dropping that requirement and sampling all examples at random, which resulted in a slight drop in model performance, as we expected.)"
|
| 2339 |
+
},
|
| 2340 |
+
{
|
| 2341 |
+
"type": "text",
|
| 2342 |
+
"bbox": [
|
| 2343 |
+
0.117,
|
| 2344 |
+
0.327,
|
| 2345 |
+
0.49,
|
| 2346 |
+
0.455
|
| 2347 |
+
],
|
| 2348 |
+
"angle": 0,
|
| 2349 |
+
"content": "Since SNLI and MNLI have three answer options (\"yes,\" \"it is not possible to tell,\" \"no\"), we kept all three of these options in the prompt template, even though our dataset is binary. We experimented with dropping either the \"no\" or the \"it is not possible to tell\" option; both of these deviations from the original prompts resulted in slight decreases in model performance."
|
| 2350 |
+
},
|
| 2351 |
+
{
|
| 2352 |
+
"type": "text",
|
| 2353 |
+
"bbox": [
|
| 2354 |
+
0.117,
|
| 2355 |
+
0.457,
|
| 2356 |
+
0.49,
|
| 2357 |
+
0.631
|
| 2358 |
+
],
|
| 2359 |
+
"angle": 0,
|
| 2360 |
+
"content": "We use rank classification to obtain binary labels (as is customary): i.e., instead of decoding a model prediction, we score the three answer options (for three copies of each input example) and consider the prediction positive if \"yes\" has the highest score. Similarly to our experiment with SENTLI, we also tried taking softmax over the three options and using a fixed threshold for \"yes\" which maximizes F1 score on the training set; this resulted in a small drop in test F1 score (e.g., .6501 to .6222 for Flan-UL2)."
|
| 2361 |
+
},
|
| 2362 |
+
{
|
| 2363 |
+
"type": "title",
|
| 2364 |
+
"bbox": [
|
| 2365 |
+
0.117,
|
| 2366 |
+
0.646,
|
| 2367 |
+
0.31,
|
| 2368 |
+
0.663
|
| 2369 |
+
],
|
| 2370 |
+
"angle": 0,
|
| 2371 |
+
"content": "C Fine-tuning Setup"
|
| 2372 |
+
},
|
| 2373 |
+
{
|
| 2374 |
+
"type": "text",
|
| 2375 |
+
"bbox": [
|
| 2376 |
+
0.117,
|
| 2377 |
+
0.672,
|
| 2378 |
+
0.49,
|
| 2379 |
+
0.782
|
| 2380 |
+
],
|
| 2381 |
+
"angle": 0,
|
| 2382 |
+
"content": "All models were fine-tuned using the T5X framework (Roberts et al., 2022) on TPUv3 chips for \\(10\\mathrm{k}\\) steps with batch size 32 and learning rate 1e-4, with the exception of the T5 small size models which were finetuned for \\(50\\mathrm{k}\\) steps. For each model, we picked the checkpoint with the highest F1 score on the validation set."
|
| 2383 |
+
},
|
| 2384 |
+
{
|
| 2385 |
+
"type": "title",
|
| 2386 |
+
"bbox": [
|
| 2387 |
+
0.117,
|
| 2388 |
+
0.797,
|
| 2389 |
+
0.48,
|
| 2390 |
+
0.814
|
| 2391 |
+
],
|
| 2392 |
+
"angle": 0,
|
| 2393 |
+
"content": "D Additional Model Fine-tuning Results"
|
| 2394 |
+
},
|
| 2395 |
+
{
|
| 2396 |
+
"type": "text",
|
| 2397 |
+
"bbox": [
|
| 2398 |
+
0.117,
|
| 2399 |
+
0.823,
|
| 2400 |
+
0.49,
|
| 2401 |
+
0.919
|
| 2402 |
+
],
|
| 2403 |
+
"angle": 0,
|
| 2404 |
+
"content": "See Table 2 for the full set of results from our finetuning experiments. Here we also include metrics on the subset of the test set consisting on the new SDOH factors not included in the training and validation sets to highlight the differences in models' ability to generalize to unseen factors."
|
| 2405 |
+
},
|
| 2406 |
+
{
|
| 2407 |
+
"type": "text",
|
| 2408 |
+
"bbox": [
|
| 2409 |
+
0.513,
|
| 2410 |
+
0.085,
|
| 2411 |
+
0.885,
|
| 2412 |
+
0.18
|
| 2413 |
+
],
|
| 2414 |
+
"angle": 0,
|
| 2415 |
+
"content": "Note that since Flan-T5 models between sizes large and XL fine-tuned on either ANLI or our SDOH dataset alone underperformed the same models fine-tuned on the combined dataset, we did not perform these dataset ablations on smaller Flan-T5 models or on T5 below the XXL size."
|
| 2416 |
+
},
|
| 2417 |
+
{
|
| 2418 |
+
"type": "page_number",
|
| 2419 |
+
"bbox": [
|
| 2420 |
+
0.481,
|
| 2421 |
+
0.929,
|
| 2422 |
+
0.52,
|
| 2423 |
+
0.941
|
| 2424 |
+
],
|
| 2425 |
+
"angle": 0,
|
| 2426 |
+
"content": "4797"
|
| 2427 |
+
}
|
| 2428 |
+
],
|
| 2429 |
+
[
|
| 2430 |
+
{
|
| 2431 |
+
"type": "table",
|
| 2432 |
+
"bbox": [
|
| 2433 |
+
0.118,
|
| 2434 |
+
0.363,
|
| 2435 |
+
0.88,
|
| 2436 |
+
0.595
|
| 2437 |
+
],
|
| 2438 |
+
"angle": 0,
|
| 2439 |
+
"content": "<table><tr><td>Model</td><td>Size</td><td>Dataset</td><td>Test P</td><td>Test R</td><td>Test F1</td><td>New factors P</td><td>New factors R</td><td>New factors F1</td></tr><tr><td>T5</td><td>small</td><td>ANLI + SDOH-NLI</td><td>.7987</td><td>.7069</td><td>.7500</td><td>.6667</td><td>.0833</td><td>.1481</td></tr><tr><td>T5</td><td>base</td><td>ANLI + SDOH-NLI</td><td>.7396</td><td>.8161</td><td>.7760</td><td>.75</td><td>.375</td><td>.5</td></tr><tr><td>T5</td><td>large</td><td>ANLI + SDOH-NLI</td><td>.8247</td><td>.7299</td><td>.7744</td><td>.75</td><td>.125</td><td>.2143</td></tr><tr><td>T5</td><td>XL</td><td>ANLI + SDOH-NLI</td><td>.8391</td><td>.8391</td><td>.8391</td><td>.9231</td><td>.5</td><td>.6486</td></tr><tr><td>T5</td><td>XXL</td><td>ANLI</td><td>.8391</td><td>.8391</td><td>.8391</td><td>.75</td><td>.1</td><td>.8571</td></tr><tr><td>T5</td><td>XXL</td><td>SDOH-NLI</td><td>.8859</td><td>.7586</td><td>.8173</td><td>.8571</td><td>.25</td><td>.3871</td></tr><tr><td>T5</td><td>XXL</td><td>ANLI + SDOH-NLI</td><td>.9024</td><td>.8506</td><td>.8757</td><td>.8889</td><td>1.</td><td>.9412</td></tr><tr><td>Flan-T5</td><td>small</td><td>ANLI + SDOH-NLI</td><td>.8075</td><td>.7471</td><td>.7761</td><td>.6667</td><td>.0833</td><td>.1481</td></tr><tr><td>Flan-T5</td><td>base</td><td>ANLI + SDOH-NLI</td><td>.7956</td><td>.8276</td><td>.8113</td><td>.6216</td><td>.9583</td><td>.7541</td></tr><tr><td>Flan-T5</td><td>large</td><td>ANLI</td><td>.1777</td><td>.8506</td><td>.2939</td><td>.2421</td><td>.9583</td><td>.3866</td></tr><tr><td>Flan-T5</td><td>large</td><td>SDOH-NLI</td><td>.8041</td><td>.6839</td><td>.7391</td><td>.2308</td><td>.125</td><td>.1622</td></tr><tr><td>Flan-T5</td><td>large</td><td>ANLI + SDOH-NLI</td><td>.8212</td><td>.8448</td><td>.8329</td><td>.8846</td><td>.9583</td><td>.92</td></tr><tr><td>Flan-T5</td><td>XL</td><td>ANLI</td><td>.2868</td><td>.8851</td><td>.4332</td><td>.7667</td><td>.9583</td><td>.8519</td></tr><tr><td>Flan-T5</td><td>XL</td><td>SDOH</td><td>.9071</td><td>.7299</td><td>.8089</td><td>1.</td><td>.125</td><td>.2222</td></tr><tr><td>Flan-T5</td><td>XL</td><td>ANLI + SDOH-NLI</td><td>.8647</td><td>.8448</td><td>.8547</td><td>.8846</td><td>.9583</td><td>.92</td></tr><tr><td>Flan-T5</td><td>XXL</td><td>ANLI</td><td>.3560</td><td>.8736</td><td>.5058</td><td>.7931</td><td>.9583</td><td>.8679</td></tr><tr><td>Flan-T5</td><td>XXL</td><td>SDOH-NLI</td><td>.9295</td><td>.8333</td><td>.8788</td><td>1.</td><td>.875</td><td>.9333</td></tr><tr><td>Flan-T5</td><td>XXL</td><td>ANLI + SDOH-NLI</td><td>.8765</td><td>.8563</td><td>.8663</td><td>.8846</td><td>.9583</td><td>.92</td></tr></table>"
|
| 2440 |
+
},
|
| 2441 |
+
{
|
| 2442 |
+
"type": "table_caption",
|
| 2443 |
+
"bbox": [
|
| 2444 |
+
0.114,
|
| 2445 |
+
0.605,
|
| 2446 |
+
0.884,
|
| 2447 |
+
0.634
|
| 2448 |
+
],
|
| 2449 |
+
"angle": 0,
|
| 2450 |
+
"content": "Table 2: Precision, recall, and F1 scores of various models on the full test set and on the subset of the test set consisting of the two held-out factors."
|
| 2451 |
+
},
|
| 2452 |
+
{
|
| 2453 |
+
"type": "page_number",
|
| 2454 |
+
"bbox": [
|
| 2455 |
+
0.481,
|
| 2456 |
+
0.929,
|
| 2457 |
+
0.521,
|
| 2458 |
+
0.941
|
| 2459 |
+
],
|
| 2460 |
+
"angle": 0,
|
| 2461 |
+
"content": "4798"
|
| 2462 |
+
}
|
| 2463 |
+
]
|
| 2464 |
+
]
|
2023/SDOH-NLI_ a Dataset for Inferring Social Determinants of Health from Clinical Notes/a4f22374-5104-49b6-a9f1-43a434ee9541_origin.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:17d95752c7da727a696486f4a06863b87d96648efc977b998349479c83bc42ad
|
| 3 |
+
size 187655
|
2023/SDOH-NLI_ a Dataset for Inferring Social Determinants of Health from Clinical Notes/full.md
ADDED
|
@@ -0,0 +1,294 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# SDOH-NLI: a Dataset for Inferring Social Determinants of Health from Clinical Notes
|
| 2 |
+
|
| 3 |
+
Adam D. Lelkes<sup>1*</sup>, Eric Loreaux<sup>2†</sup>, Tal Schuster<sup>1</sup>, Ming-Jun Chen<sup>1‡</sup>, Alvin Rajkomar<sup>1‡</sup>
|
| 4 |
+
|
| 5 |
+
<sup>1</sup>Google Research, <sup>2</sup>Curai Health
|
| 6 |
+
|
| 7 |
+
# Abstract
|
| 8 |
+
|
| 9 |
+
Social and behavioral determinants of health (SDOH) play a significant role in shaping health outcomes, and extracting these determinants from clinical notes is a first step to help healthcare providers systematically identify opportunities to provide appropriate care and address disparities. Progress on using NLP methods for this task has been hindered by the lack of high-quality publicly available labeled data, largely due to the privacy and regulatory constraints on the use of real patients' information. This paper introduces a new dataset, SDOH-NLI, that is based on publicly available notes and which we release publicly. We formulate SDOH extraction as a natural language inference (NLI) task, and provide binary textual entailment labels obtained from human raters for a cross product of a set of social history snippets as premises and SDOH factors as hypotheses. Our dataset differs from standard NLI benchmarks in that our premises and hypotheses are obtained independently. We evaluate both "off-the-shelf" entailment models as well as models fine-tuned on our data, and highlight the ways in which our dataset appears more challenging than commonly used NLI datasets.
|
| 10 |
+
|
| 11 |
+
# 1 Introduction
|
| 12 |
+
|
| 13 |
+
There has been growing recognition that social and behavioral determinants of health (SDOH) play a significant role in shaping health outcomes for individuals and populations. The ability to accurately identify and extract social and behavioral determinants of health from clinical notes can provide valuable insights that can enable healthcare providers to better understand and address the underlying determinants of health that contribute to poor health outcomes and health disparities.
|
| 14 |
+
|
| 15 |
+
Social determinants of health are frequently recorded in clinical notes as unstructured text, so natural language processing (NLP) can be a valuable tool for extracting actionable insights for care teams. However, research in this area often uses patient records from private health systems' electronic health records (EHRs), which makes it difficult to compare results from other health systems or even replicate the studies. The development and release of high-quality publicly available datasets could enable more reproducible research in this area.
|
| 16 |
+
|
| 17 |
+
In this work, we introduce a new, public SDOH dataset based on MTSamples.com, an online collection of transcribed medical reports. Our setup is motivated by the use cases of slicing patient populations along social determinant dimensions for population analytics, and retrieving patients with certain social determinants of health to allow for more targeted outreach and intervention. Given a large set of social determinant factors, our goal is to make binary determinations for each patient about whether that patient's notes imply a particular SDOH factor. In other words, for example, we want to be able to find all patients who lack access to transportation, as opposed to just tagging transportation-related spans in their notes, as done in some previous work.
|
| 18 |
+
|
| 19 |
+
To achieve this goal, we formulate the task as a textual entailment problem, with patient note snippets as the premises, SDOH factors as the hypotheses, and binary entailment labels. We use human annotators to label 1,398 social history snippets according to a curated list of 60 SDOH statements, resulting in a dataset of 29,635 labeled premise-hypothesis examples after some filtering (see Section 3 for details). We release this dataset publicly. We also evaluate state-of-the-art publicly available large language models on our data in a range of different settings (see Section 4).
|
| 20 |
+
|
| 21 |
+
A notable feature of our entailment dataset is
|
| 22 |
+
|
| 23 |
+
that unlike other entailment datasets, our premises and hypotheses were obtained independently, and we label the full cross product of premises and hypotheses. In traditional entailment datasets, the hypotheses are constructed to be tied to a particular premise; however, in our formulation, the hypotheses are drawn from a large set of SDOH factors that may or may not be discussed in a particular premise (drawn from a clinical note). Since all our text comes from the same domain, we still have a non-negligible fraction of positive entailment labels (albeit with a much larger label imbalance than in standard NLI benchmark datasets).
|
| 24 |
+
|
| 25 |
+
This requires NLI methods to understand both the premise and the hypothesis, and defeats typical shortcuts that have been observed to work for other entailment datasets, such as guessing the label based on the hypothesis alone, or relying on simple syntactic clues such as the presence of negations (see Section 2.2). Indeed, even though our task does not require domain-specific knowledge, we observe that state-of-the-art models struggle to generalize from common NLI benchmarks to our dataset, and highlight typical failure cases (see Section 4).
|
| 26 |
+
|
| 27 |
+
We evaluate both off-the-shelf and fine-tuned models in different setups: dual encoders, zero/few-shot prompting, and binary classification. We show that state-of-the-art off-the-shelf models, even if they were fine-tuned on various NLI datasets, do not reliably solve our problem; on the other hand, models fine-tuned on our training set robustly generalize both to unseen notes and to unseen factors, providing evidence for the usefulness of our dataset for model fine-tuning and evaluation.
|
| 28 |
+
|
| 29 |
+
# 2 Related Work
|
| 30 |
+
|
| 31 |
+
# 2.1 Social and Behavioral Determinants of Health
|
| 32 |
+
|
| 33 |
+
There has been a lot of interest in using NLP techniques for SDOH extraction; see Patra et al. (2021) for a recent survey. The range and granularity of SDOH factors vary considerably across different papers. There has also been a range of methods used, from rule-based heuristics, to n-grams, to fine-tuning pretrained Transformer models.
|
| 34 |
+
|
| 35 |
+
Many previous research studies on SDOH extraction were performed on EHR data from particular health systems and are not released publicly. Exceptions include the i2b2 NLP Smoking Challenge (Uzuner et al., 2008), which classified 502
|
| 36 |
+
|
| 37 |
+
deidentified medical discharge records for smoking status only, and small number of datasets based on MIMIC-III (Johnson et al., 2016), a large publicly available database of deidentified health records of patients who stayed in critical care units of Beth Israel Deaconess Medical Center between 2001 and 2012. For example, Gehrmann et al. (2018) annotated MIMIC-III with binary labels for certain "phenotypes" including alcohol and substance abuse, and Lybarger et al. (2021) annotated note spans with SDOH information.
|
| 38 |
+
|
| 39 |
+
We are aware of four other previous SDOH-related papers which used MTSamples data (Wang et al., 2015; Winden et al., 2017; Yetisgen et al., 2016; Yetisgen and Vanderwende, 2017), all of which focused on extracting and tagging SDOH-related spans from social history sections.
|
| 40 |
+
|
| 41 |
+
Among previous papers, the one methodologically closest to ours is Lituiev et al. (2023) which also formulated SDOH extraction as an entailment problem and evaluated RoBERTa (Liu et al., 2019) fine-tuned on ANLI (Nie et al., 2020) on clinical notes from UCSF, without any in-domain fine-tuning experiments.
|
| 42 |
+
|
| 43 |
+
# 2.2 Natural Language Inference
|
| 44 |
+
|
| 45 |
+
Natural language inference (NLI), also called recognizing textual entailment (RTE), has been a very well-studied NLP task; see e.g. Storks et al. (2019); Poliak (2020) for recent surveys. Many standard NLI datasets, such as SNLI (Bowman et al., 2015) or MultiNLI (Williams et al., 2018), are obtained by automatically collecting premises and, for each premise and target entailment label, having human annotators write a hypothesis with the specified entailment relation to the premise. (Even some of the datasets specifically designed to address these datasets' shortcomings, such as ANLI (Nie et al., 2020), follow a similar setup.) It has been observed that this leads to annotation artifacts that lets models do well on these tasks without requiring true understanding of entailment, including by using simple syntactic heuristics (McCoy et al., 2019) or by completely ignoring the premise, and considering only the hypothesis (Gururangan et al., 2018; Poliak et al., 2018). ContractNLI (Koreeda and Manning, 2021) is an example of a previous dataset which used the same fixed set of hypotheses for all the premises.
|
| 46 |
+
|
| 47 |
+
# 3 Dataset Construction
|
| 48 |
+
|
| 49 |
+
We scraped all 5,003 medical reports from MTSamples. Within these reports, we obtained 1,030 note sections related to social history by searching for a collection of note section titles identified as synonyms of social history. We then split each note section into sentences, resulting in 3,281 sentences. Many sentences (such as "He is married") appear in multiple notes; after dedduplication, we have 1,398 unique sentences.
|
| 50 |
+
|
| 51 |
+
We manually curated a collection of SDOH factors primarily from two sources, the AHRQ Social Determinants of Health Database (for Healthcare Research and Quality, 2020) and UCSF SIREN's Compendium of medical terminology codes for social risk factors (Arons et al., 2018). We rephrased each factor as a full English sentence stating a fact about a person; e.g. "The person is employed." For binary factors, we included a statement and its negation; e.g. "The person currently drinks alcohol" and "The person currently does not drink alcohol." For factors with multiple potential values (such as housing status), we aimed to list all the common options. We grouped these 60 statements into 10 categories: smoking, alcohol use, drug use, employment, housing, food, transportation, health insurance, social support, and financial situation. See the full list in Appendix A.
|
| 52 |
+
|
| 53 |
+
For each social history sentence, we asked human raters to select all the relevant categories and, within each category, all the statements that are supported by the social history snippet. Each snippet was rated by at least three raters. For each (snippet, statement) pair, we took the majority vote of raters to get binary entailment labels. Rater agreement was high, with a Krippendorff's alpha of 0.97 (computed over the binary entailment labels provided by different raters for (premise, hypothesis) pairs).
|
| 54 |
+
|
| 55 |
+
We removed all SDOH statements which were not entailed by any of the social history snippets as well as all note sentences that were not relevant to any SDOH categories. Finally, after inspecting the dataset, we removed three SDOH factors ("The person is stably housed.", "The person has social support.", "The person does not have social support.") because raters weren't able to consistently give correct ratings. That left us with 787 unique sentences and 38 SDOH factors. Since each snippet would typically only entail one factor or a small number of factors, the resulting dataset is heavily imbalanced: only $4.6\%$ of the labels are positive.
|
| 56 |
+
|
| 57 |
+
We split the dataset along the snippets into training, validation, and test sets with a 70:15:15 ratio, with the following modification: we remove a single pair of factors, "The person lives alone" and "The person does not live alone," from the training and validation sets, in order to evaluate fine-tuned models' ability to generalize to unseen factors. In other words, the training, validation, and test sets have disjoint note snippets but the same SDOH factors, except for the test set which also contains an additional two factors that are not present in the training or validation sets.
|
| 58 |
+
|
| 59 |
+
# 4 Model Evaluation
|
| 60 |
+
|
| 61 |
+
Since the typical use case is retrieving patients with a particular SDOH factor, and because of the heavy label imbalance in our dataset, we use precision, recall, and F1 score as our evaluation metrics.
|
| 62 |
+
|
| 63 |
+
We evaluate state-of-the-art public models in four different setups:
|
| 64 |
+
|
| 65 |
+
- Treating the problem as a retrieval task with SDOH factors as queries and note snippets as documents. We evaluate Sentence-T5 (Ni et al., 2022a) and GTR (Ni et al., 2022b), two state-of-the-art dual encoder models. We select the cosine similarity threshold which maximizes F1 score on the training set.
|
| 66 |
+
- A general-purpose NLI model. We evaluate the SENTLI model (Schuster et al., 2022), a state-of-the-art NLI model (T5 large fine-tuned on the SNLI (Bowman et al., 2015), MNLI (Williams et al., 2018), ANLI (Nie et al., 2020), Fever (Thorne et al., 2018), and VitaminC (Schuster et al., 2021) datasets). To help the model adapt to the label imbalance in our dataset, we also evaluate it with re-tuning the threshold for positive prediction to maximize F1 score on our training set.
|
| 67 |
+
- Zero/few-shot prompting. We evaluate FlanT5 XXL (Chung et al., 2022) and FlanUL2 (Tay et al., 2023) in both a zero- and a few-shot setting. These models instruction tuned for a large set of tasks, including NLI tasks. (See Appendix B for details.)
|
| 68 |
+
- Fine-tuning experiments. We fine-tune T5 and Flan-T5 on our dataset (SDOH-NLI), on ANLI, and on a mixture of both at various model sizes. (See Appendix C for details.)
|
| 69 |
+
|
| 70 |
+
<table><tr><td>Model</td><td>Precision</td><td>Recall</td><td>F1</td></tr><tr><td>Sentence-T5 11B</td><td>.2826</td><td>.523</td><td>.3669</td></tr><tr><td>GTR XXL</td><td>.3148</td><td>.4885</td><td>.3829</td></tr><tr><td>SENTLI</td><td>.4438</td><td>.8161</td><td>.5749</td></tr><tr><td>SENTLI, threshold tuned</td><td>.5721</td><td>.7299</td><td>.6414</td></tr><tr><td>Flan-T5 XXL 0-shot</td><td>.6867</td><td>.6552</td><td>.6706</td></tr><tr><td>Flan-T5 XXL 5-shot</td><td>.6297</td><td>.6839</td><td>.6556</td></tr><tr><td>Flan-UL2 0-shot</td><td>.5922</td><td>.7011</td><td>.6421</td></tr><tr><td>Flan-UL2 5-shot</td><td>.5536</td><td>.7126</td><td>.6231</td></tr><tr><td>Flan-T5 XXL finetuned on ANLI</td><td>.356</td><td>.8736</td><td>.5058</td></tr><tr><td>Flan-T5 XXL finetuned on SDOH-NLI</td><td>.9295</td><td>.8333</td><td>.8788</td></tr><tr><td>Flan-T5 XXL finetuned on ANLI + SDOH-NLI</td><td>.8765</td><td>.8563</td><td>.8663</td></tr></table>
|
| 71 |
+
|
| 72 |
+
Table 1: Scores of retrieval-based, general-purpose NLI, in-context, and fine-tuned models on the SDOH test set. See Appendix C for additional fine-tuning experiments.
|
| 73 |
+
|
| 74 |
+
# 4.1 Results
|
| 75 |
+
|
| 76 |
+
Table 1 shows selected results (see Appendix D for more model fine-tuning metrics). First, we observe that while our problem can naturally be framed as an information retrieval problem, even state-of-the-art retrieval models perform poorly on it; formulating the problem as natural language inference yields dramatically better results.
|
| 77 |
+
|
| 78 |
+
However, even powerful models fine-tuned for NLI, either on NLI datasets alone or as part of the much larger Flan collection, do not reliably solve our problem, with an F1 score of at most .67 on the test set. Even T5 small fine-tuned on our dataset outperforms the largest off-the-shelf models, highlighting the added value of our dataset.
|
| 79 |
+
|
| 80 |
+
When prompting instruction-tuned models, including few-shot examples does not appear to add any value compared to a zero-shot setup. We conjecture that this is because the models are already familiar with the NLI task and the prompt format from instruction tuning, and presenting them with a small number of additional examples is not sufficient for teaching them the difference between this task and the NLI benchmark datasets they have seen during fine-tuning.
|
| 81 |
+
|
| 82 |
+
For fine-tuned models below XXL size, when fine-tuning on the SDOH-NLI training set only, we observed poor generalization to the held-out SDOH factors in the test set (see Appendix D for detailed metrics). Because of this, why we experimented with fine-tuning on a combination of our data and ANLI R1, a challenging general-purpose NLI dataset of a similar size. For smaller models,
|
| 83 |
+
|
| 84 |
+
fine-tuning on this mixture enabled robust generalization to unseen factors without sacrificing overall test performance.
|
| 85 |
+
|
| 86 |
+
# 4.2 Discussion
|
| 87 |
+
|
| 88 |
+
What makes our dataset challenging for models fine-tuned on standard NLI datasets? We emphasize that it is not that it requires any specialized (e.g., medical) knowledge: most of our examples describe everyday situations in plain English (e.g., "The patient is retired on disability due to her knee replacements"); human raters without any domain-specific training had no difficulty understanding them. We conjecture that the main difference is that the hypotheses of typical NLI datasets are written to satisfy a given entailment label for a given premise, whereas ours are obtained independently from the premises, and therefore their entailment status can be more subtle and ambiguous. These models also struggled with distinguishing between statements about the present and the past; e.g., Flan-UL2 erroneously predicting that "He is not a smoker" entails "The person wasn't a smoker in the past." Also, our dataset contains a lot of irrelevant hypotheses and requires the model to correctly classify all of those; we see off-the-shelf models occasionally giving them positive labels (e.g. predicting that "She was living alone and is now living in assisted living." implies "The person drank alcohol in the past.), hurting precision. As an example, Flan-T5 fine-tuned on ANLI had comparable recall to our best models, but much worse precision.
|
| 89 |
+
|
| 90 |
+
# 5 Conclusion
|
| 91 |
+
|
| 92 |
+
In this work, we introduced SDOH-NLI, a new entailment dataset containing social history snippets as premises and social and behavioral determinants of health as hypotheses. Our dataset was designed both to reflect realistic use cases of SDOH extraction in clinical settings as well as to provide a high quality entailment dataset to support broader NLI research. We evaluated baseline methods using state-of-the-art public models in a variety of setups, and highlighted novel and challenging features of our dataset.
|
| 93 |
+
|
| 94 |
+
# Acknowledgments
|
| 95 |
+
|
| 96 |
+
The authors would like to thank Jonas B. Kemp, Von Nguyen, Birju Patel, Martin G. Seneviratne, Andy Strunk, and Vinh Q. Tran for their valuable feedback and discussions.
|
| 97 |
+
|
| 98 |
+
# Limitations
|
| 99 |
+
|
| 100 |
+
Our dataset is English-only, and reflects the American healthcare system. While a lot of the social and behavioral determinants of health mentioned in the data could apply elsewhere, too, their distribution and the language used to describe them could reflect U.S. norms. Also, since the dataset is based on transcription samples, the text can be cleaner than in some other settings (such as notes in EHRs), where the task could be more challenging due to typos and abbreviations that do not appear in our dataset. In such settings, performance could be improved by first using the methods of Rajkumar et al. (2022) to decode abbreviations, but we have not included this in our evaluations. Finally, our dataset only contains short note snippets, and we have not evaluated the models' ability to reconcile contradictory statements or reason about the chronology of information in longer patient records. For longer contexts, especially if the social history sections don't fit in the Transformer model's context window, we recommend evaluating the methods of Schuster et al. (2022).
|
| 101 |
+
|
| 102 |
+
# Ethics Statement
|
| 103 |
+
|
| 104 |
+
Machine learning research in the clinical domain has many ethical considerations. Given the nature of this work is to identify opportunities for care teams to improve the health outcomes of patients due to factors commonly not addressed, we think it contributes to human well-being and avoids harms.
|
| 105 |
+
|
| 106 |
+
The use of public, non-identifiable data that is released for the NLP community helps balance the need to have reproducible (i.e., honest and trustworthy) data to enable technical advances while limiting the need for sensitive, private medical records for research. We acknowledge that the purpose of the work is to identify SDOH to provide additional help and services to patients, and we warn against any use to deny patients care or services based on any factor that can be identified. Although we picked a large number of SDOH factors to test our method, we acknowledge that there may be additional factors that are important for specific patients and populations, so we encourage researchers to reflect on those possible factors and create datasets to help others study them, as well.
|
| 107 |
+
|
| 108 |
+
# References
|
| 109 |
+
|
| 110 |
+
Abigail Arons, Sarah DeSilvey, Caroline Fichtenberg, and Laura Gottlieb. 2018. Compendium of medical terminology codes for social risk factors.
|
| 111 |
+
Samuel Bowman, Gabor Angeli, Christopher Potts, and Christopher D Manning. 2015. A large annotated corpus for learning natural language inference. In Proceedings of the 2015 Conference on Empirical Methods in Natural Language Processing, pages 632-642.
|
| 112 |
+
Hyung Won Chung, Le Hou, Shayne Longpre, Barret Zoph, Yi Tay, William Fedus, Eric Li, Xuezhi Wang, Mostafa Dehghani, Siddhartha Brahma, et al. 2022. Scaling instruction-finetuned language models. arXiv preprint arXiv:2210.11416.
|
| 113 |
+
Agency for Healthcare Research and MD. Quality, Rockville. 2020. Social determinants of health database.
|
| 114 |
+
Sebastian Gehrmann, Franck Dernoncourt, Yeran Li, Eric T Carlson, Joy T Wu, Jonathan Welt, John Foote Jr, Edward T Moseley, David W Grant, Patrick D Tyler, et al. 2018. Comparing deep learning and concept extraction based methods for patient phenotyping from clinical narratives. *PloS one*, 13(2):e0192360.
|
| 115 |
+
Suchin Gururangan, Swabha Swayamdipta, Omer Levy, Roy Schwartz, Samuel Bowman, and Noah A Smith. 2018. Annotation artifacts in natural language inference data. 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 107-112.
|
| 116 |
+
Alistair EW Johnson, Tom J Pollard, Lu Shen, Liwei H Lehman, Mengling Feng, Mohammad Ghassemi, Benjamin Moody, Peter Szolovits, Leo Anthony Celi, and Roger G Mark. 2016. Mimic-iii,
|
| 117 |
+
|
| 118 |
+
a freely accessible critical care database. Scientific data, 3(1):1-9.
|
| 119 |
+
Yuta Koreeda and Christopher D Manning. 2021. Contractnli: A dataset for document-level natural language inference for contracts. In Findings of the Association for Computational Linguistics: EMNLP 2021, pages 1907-1919.
|
| 120 |
+
Dmytro S Lituiev, Benjamin Lacar, Sang Pak, Peter L Abramowitsch, Emilia H De Marchis, and Thomas A Peterson. 2023. Automatic extraction of social determinants of health from medical notes of chronic lower back pain patients. J. Am. Med. Inform. Assoc.
|
| 121 |
+
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.
|
| 122 |
+
Shayne Longpre, Le Hou, Tu Vu, Albert Webson, Hyung Won Chung, Yi Tay, Denny Zhou, Quoc V Le, Barret Zoph, Jason Wei, et al. 2023. The flan collection: Designing data and methods for effective instruction tuning. arXiv preprint arXiv:2301.13688.
|
| 123 |
+
Kevin Lybarger, Mari Ostendorf, and Meliha Yetisgen. 2021. Annotating social determinants of health using active learning, and characterizing determinants using neural event extraction. Journal of Biomedical Informatics, 113:103631.
|
| 124 |
+
Tom McCoy, Ellie Pavlick, and Tal Linzen. 2019. Right for the wrong reasons: Diagnosing syntactic heuristics in natural language inference. In Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics, pages 3428-3448.
|
| 125 |
+
Jianmo Ni, Gustavo Hernandez Abrego, Noah Constant, Ji Ma, Keith Hall, Daniel Cer, and Yinfei Yang. 2022a. Sentence-t5: Scalable sentence encoders from pre-trained text-to-text models. In *Findings of the Association for Computational Linguistics: ACL* 2022, pages 1864–1874.
|
| 126 |
+
Jianmo Ni, Chen Qu, Jing Lu, Zhuyun Dai, Gustavo Hernandez Abrego, Ji Ma, Vincent Zhao, Yi Luan, Keith Hall, Ming-Wei Chang, and Yinfei Yang. 2022b. Large dual encoders are generalizable retrievers. In Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing, pages 9844–9855, Abu Dhabi, United Arab Emirates. Association for Computational Linguistics.
|
| 127 |
+
Yixin Nie, Adina Williams, Emily Dinan, Mohit Bansal, Jason Weston, and Douwe Kiela. 2020. Adversarial nli: A new benchmark for natural language understanding. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pages 4885-4901.
|
| 128 |
+
Braja G Patra, Mohit M Sharma, Veer Vekaria, Prakash Adekkanattu, Olga V Patterson, Benjamin Glicksberg, Lauren A Lepow, Euijung Ryu, Joanna M Biernacka, Al'ona Furmanchuk, et al. 2021. Extracting
|
| 129 |
+
|
| 130 |
+
social determinants of health from electronic health records using natural language processing: a systematic review. Journal of the American Medical Informatics Association, 28(12):2716-2727.
|
| 131 |
+
Adam Poliak. 2020. A survey on recognizing textual entailment as an nlp evaluation. In Proceedings of the First Workshop on Evaluation and Comparison of NLP Systems, pages 92-109.
|
| 132 |
+
Adam Poliak, Jason Naradowsky, Aparajita Haldar, Rachel Rudinger, and Benjamin Van Durme. 2018. Hypothesis only baselines in natural language inference. In Proceedings of the Seventh Joint Conference on Lexical and Computational Semantics, pages 180-191.
|
| 133 |
+
Alvin Rajkomar, Eric Loreaux, Yuchen Liu, Jonas Kemp, Benny Li, Ming-Jun Chen, Yi Zhang, Afroz Mohiuddin, and Juraj Gottweis. 2022. Deciphering clinical abbreviations with a privacy protecting machine learning system. Nature Communications, 13(1):7456.
|
| 134 |
+
Adam Roberts, Hyung Won Chung, Anselm Levskaya, Gaurav Mishra, James Bradbury, Daniel Andor, Sharan Narang, Brian Lester, Colin Gaffney, Afroz Mohiuddin, et al. 2022. Scaling up models and data with t5x and seqio. arXiv preprint arXiv:2203.17189.
|
| 135 |
+
Tal Schuster, Sihao Chen, Senaka Buthpitiya, Alex Fabrikant, and Donald Metzler. 2022. Stretching sentence-pair NLI models to reason over long documents and clusters. In Findings of the Association for Computational Linguistics: EMNLP 2022, pages 394-412, Abu Dhabi, United Arab Emirates. Association for Computational Linguistics.
|
| 136 |
+
Tal Schuster, Adam Fisch, and Regina Barzilay. 2021. Get your vitamin c! robust fact verification with contrastive evidence. In Proceedings of the 2021 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pages 624-643.
|
| 137 |
+
Shane Storks, Qiaozi Gao, and Joyce Y Chai. 2019. Recent advances in natural language inference: A survey of benchmarks, resources, and approaches. arXiv preprint arXiv:1904.01172.
|
| 138 |
+
Yi Tay, Mostafa Dehghani, Vinh Q Tran, Xavier Garcia, Jason Wei, Xuezhi Wang, Hyung Won Chung, Dara Bahri, Tal Schuster, Steven Zheng, et al. 2023. UI2: Unifying language learning paradigms. In The Eleventh International Conference on Learning Representations.
|
| 139 |
+
James Thorne, Andreas Vlachos, Christos Christodoulopoulos, and Arpit Mittal. 2018. FEVER: a large-scale dataset for fact extraction and VERIFICATION. In Proceedings of the 2018 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long
|
| 140 |
+
|
| 141 |
+
Papers), pages 809-819, New Orleans, Louisiana. Association for Computational Linguistics.
|
| 142 |
+
|
| 143 |
+
Özlem Uzuner, Ira Goldstein, Yuan Luo, and Isaac Kohane. 2008. Identifying patient smoking status from medical discharge records. Journal of the American Medical Informatics Association, 15(1):14-24.
|
| 144 |
+
|
| 145 |
+
Yan Wang, Elizabeth S Chen, Serguei Pakhomov, Elliot Arsoniadis, Elizabeth W Carter, Elizabeth Lindemann, Indra Neil Sarkar, and Genevieve B Melton. 2015. Automated extraction of substance use information from clinical texts. In AMIA Annual Symposium Proceedings, volume 2015, page 2121. American Medical Informatics Association.
|
| 146 |
+
|
| 147 |
+
Adina Williams, Nikita Nangia, and Samuel Bowman. 2018. A broad-coverage challenge corpus for sentence understanding through inference. In Proceedings of the 2018 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long Papers), pages 1112-1122.
|
| 148 |
+
|
| 149 |
+
Tamara J Winden, Elizabeth S Chen, Yan Wang, Elizabeth Lindemann, and Genevieve B Melton. 2017. Residence, living situation, and living conditions information documentation in clinical practice. In AMIA Annual Symposium Proceedings, volume 2017, page 1783. American Medical Informatics Association.
|
| 150 |
+
|
| 151 |
+
Meliha Yetisgen, Elena Pellicer, David R Crosslin, and Lucy Vanderwende. 2016. Automatic identification of lifestyle and environmental factors from social history in clinical text. In Proceedings of AMIA 2016 Joint Summits on Translational Science.
|
| 152 |
+
|
| 153 |
+
Meliha Yetisgen and Lucy Vanderwende. 2017. Automatic identification of substance abuse from social history in clinical text. In Artificial Intelligence in Medicine: 16th Conference on Artificial Intelligence in Medicine, AIME 2017, Vienna, Austria, June 21-24, 2017, Proceedings 16, pages 171-181. Springer.
|
| 154 |
+
|
| 155 |
+
# A Labeling Setup
|
| 156 |
+
|
| 157 |
+
Raters were given the following instructions:
|
| 158 |
+
|
| 159 |
+
"In this task, you will be given a list of snippets from transcribed medical records, describing a person's social history. Your job is to select the categories that are relevant to the snippet and, in each category, select statements about the person that are supported by the snippet.
|
| 160 |
+
|
| 161 |
+
Only select categories and statements relevant to the subject of the sentence, NOT if they apply to someone else (such as the subject's relatives).
|
| 162 |
+
|
| 163 |
+
The source of the medical transcript samples is a public dataset (MTSamples.com), and not your, other raters' or users health transcript data."
|
| 164 |
+
|
| 165 |
+
For each snippet, they were required select one or more of the following categories (including "None of the above" if none of the categories were relevant). If they selected a category, the statements within the category would be displayed, and they were required to select one of statements within that category, or "None of the above":
|
| 166 |
+
|
| 167 |
+
Smoking
|
| 168 |
+
|
| 169 |
+
- The person is currently a smoker.
|
| 170 |
+
- The person is currently not a smoker.
|
| 171 |
+
- The person was a smoker in the past.
|
| 172 |
+
- The person wasn't a smoker in the past.
|
| 173 |
+
- None of the above
|
| 174 |
+
|
| 175 |
+
- Alcohol use
|
| 176 |
+
|
| 177 |
+
- The person currently drinks alcohol.
|
| 178 |
+
- The person currently does not drink alcohol.
|
| 179 |
+
- The person drank alcohol in the past.
|
| 180 |
+
- The person did not drink alcohol in the past.
|
| 181 |
+
- None of the above
|
| 182 |
+
|
| 183 |
+
- Drug use
|
| 184 |
+
|
| 185 |
+
- The person is a drug user.
|
| 186 |
+
- The person is not a drug user.
|
| 187 |
+
- The person was a drug user in the past.
|
| 188 |
+
- The person wasn't a drug user in the past.
|
| 189 |
+
- The person uses cocaine.
|
| 190 |
+
- The person does not use cocaine.
|
| 191 |
+
- The person used cocaine in the past.
|
| 192 |
+
- The person did not use cocaine in the past.
|
| 193 |
+
- The person uses marijuana.
|
| 194 |
+
|
| 195 |
+
- The person does not use marijuana.
|
| 196 |
+
- The person used marijuana in the past.
|
| 197 |
+
- The person did not use marijuana in the past.
|
| 198 |
+
- The person uses opioids (e.g., heroin, fentanyl, oxycodone).
|
| 199 |
+
- The person does not opioids (e.g., heroin, fentanyl, oxycodone).
|
| 200 |
+
- The person used opioids in the past (e.g., heroin, fentanyl, oxycodone).
|
| 201 |
+
- The person did not use opioids in the past (e.g., heroin, fentanyl, oxycodone).
|
| 202 |
+
- None of the above
|
| 203 |
+
|
| 204 |
+
# - Employment
|
| 205 |
+
|
| 206 |
+
- The person is employed.
|
| 207 |
+
- The person is not employed.
|
| 208 |
+
- The person is employed part time.
|
| 209 |
+
- The person is a student.
|
| 210 |
+
- The person is a homemaker.
|
| 211 |
+
- The person is retired due to age or preference.
|
| 212 |
+
- The person is retired due to disability.
|
| 213 |
+
- The person is retired due to an unknown reason.
|
| 214 |
+
- None of the above
|
| 215 |
+
|
| 216 |
+
# Housing
|
| 217 |
+
|
| 218 |
+
- The person lives in their own or their family's home.
|
| 219 |
+
- The person lives in a housing facility.
|
| 220 |
+
- The person is homeless.
|
| 221 |
+
- The person is stably housed.
|
| 222 |
+
- The person's housing is unsuited to their needs.
|
| 223 |
+
- None of the above
|
| 224 |
+
|
| 225 |
+
# Food
|
| 226 |
+
|
| 227 |
+
- The person is able to obtain food on a consistent basis.
|
| 228 |
+
- The person is not able to obtain food on a consistent basis.
|
| 229 |
+
- The person has consistent fruit and vegetable intake.
|
| 230 |
+
- The person does not have consistent fruit and vegetable intake.
|
| 231 |
+
- None of the above
|
| 232 |
+
|
| 233 |
+
# - Transportation
|
| 234 |
+
|
| 235 |
+
- The person has access to transportation.
|
| 236 |
+
- The person does not have access to transportation.
|
| 237 |
+
- The person has access to a car.
|
| 238 |
+
- The person does not have access to a car.
|
| 239 |
+
- The person has access to public transit.
|
| 240 |
+
- The person does not have access to public transit.
|
| 241 |
+
- The person has issues with finding transportation.
|
| 242 |
+
- None of the above
|
| 243 |
+
|
| 244 |
+
# Health insurance
|
| 245 |
+
|
| 246 |
+
- The person has private health insurance.
|
| 247 |
+
- The person is on Medicare.
|
| 248 |
+
- The person is on Medicaid.
|
| 249 |
+
- The person does not have health insurance.
|
| 250 |
+
- None of the above
|
| 251 |
+
|
| 252 |
+
# Social support
|
| 253 |
+
|
| 254 |
+
- The person has social support.
|
| 255 |
+
- The person does not have social support.
|
| 256 |
+
- The person lives alone.
|
| 257 |
+
- The person does not live alone.
|
| 258 |
+
- None of the above
|
| 259 |
+
|
| 260 |
+
# Financial situation
|
| 261 |
+
|
| 262 |
+
- The person is below the poverty line.
|
| 263 |
+
- The person is above the poverty line.
|
| 264 |
+
- The person is able to afford medications.
|
| 265 |
+
- The person is not able to afford medications.
|
| 266 |
+
- None of the above
|
| 267 |
+
|
| 268 |
+
# - None of the above
|
| 269 |
+
|
| 270 |
+
# B Prompting Setup
|
| 271 |
+
|
| 272 |
+
Our goal with the design of our zero/few-shot experiments was to stay close to how the models were trained and evaluated on similar NLI tasks. Since the models we used were fine-tuned on the Flan collection (Longpre et al., 2023), which includes several NLI datasets, we reused some of the Flan collections's prompt templates.
|
| 273 |
+
|
| 274 |
+
In particular, we used the templates for the SNLI and MNLI dataset which were the most relevant to our data. (We excluded templates for other datasets such as RTE, ANLI, or WNLI because the wording
|
| 275 |
+
|
| 276 |
+
of some of the prompts could be slightly misleading; e.g. by referring to the premise as a "paragraph.") For each example, we chose a prompt template uniformly at random from the 19 templates. For few-shot experiments, we first picked a random positive example from the training set, then picked the other few-shot examples uniformly at random from the training examples. (Without explicitly forcing at least one example to be positive, it would be very likely that all the few-shot examples would be negative, given the label imbalance in the dataset. We tried dropping that requirement and sampling all examples at random, which resulted in a slight drop in model performance, as we expected.)
|
| 277 |
+
|
| 278 |
+
Since SNLI and MNLI have three answer options ("yes," "it is not possible to tell," "no"), we kept all three of these options in the prompt template, even though our dataset is binary. We experimented with dropping either the "no" or the "it is not possible to tell" option; both of these deviations from the original prompts resulted in slight decreases in model performance.
|
| 279 |
+
|
| 280 |
+
We use rank classification to obtain binary labels (as is customary): i.e., instead of decoding a model prediction, we score the three answer options (for three copies of each input example) and consider the prediction positive if "yes" has the highest score. Similarly to our experiment with SENTLI, we also tried taking softmax over the three options and using a fixed threshold for "yes" which maximizes F1 score on the training set; this resulted in a small drop in test F1 score (e.g., .6501 to .6222 for Flan-UL2).
|
| 281 |
+
|
| 282 |
+
# C Fine-tuning Setup
|
| 283 |
+
|
| 284 |
+
All models were fine-tuned using the T5X framework (Roberts et al., 2022) on TPUv3 chips for $10\mathrm{k}$ steps with batch size 32 and learning rate 1e-4, with the exception of the T5 small size models which were finetuned for $50\mathrm{k}$ steps. For each model, we picked the checkpoint with the highest F1 score on the validation set.
|
| 285 |
+
|
| 286 |
+
# D Additional Model Fine-tuning Results
|
| 287 |
+
|
| 288 |
+
See Table 2 for the full set of results from our finetuning experiments. Here we also include metrics on the subset of the test set consisting on the new SDOH factors not included in the training and validation sets to highlight the differences in models' ability to generalize to unseen factors.
|
| 289 |
+
|
| 290 |
+
Note that since Flan-T5 models between sizes large and XL fine-tuned on either ANLI or our SDOH dataset alone underperformed the same models fine-tuned on the combined dataset, we did not perform these dataset ablations on smaller Flan-T5 models or on T5 below the XXL size.
|
| 291 |
+
|
| 292 |
+
<table><tr><td>Model</td><td>Size</td><td>Dataset</td><td>Test P</td><td>Test R</td><td>Test F1</td><td>New factors P</td><td>New factors R</td><td>New factors F1</td></tr><tr><td>T5</td><td>small</td><td>ANLI + SDOH-NLI</td><td>.7987</td><td>.7069</td><td>.7500</td><td>.6667</td><td>.0833</td><td>.1481</td></tr><tr><td>T5</td><td>base</td><td>ANLI + SDOH-NLI</td><td>.7396</td><td>.8161</td><td>.7760</td><td>.75</td><td>.375</td><td>.5</td></tr><tr><td>T5</td><td>large</td><td>ANLI + SDOH-NLI</td><td>.8247</td><td>.7299</td><td>.7744</td><td>.75</td><td>.125</td><td>.2143</td></tr><tr><td>T5</td><td>XL</td><td>ANLI + SDOH-NLI</td><td>.8391</td><td>.8391</td><td>.8391</td><td>.9231</td><td>.5</td><td>.6486</td></tr><tr><td>T5</td><td>XXL</td><td>ANLI</td><td>.8391</td><td>.8391</td><td>.8391</td><td>.75</td><td>.1</td><td>.8571</td></tr><tr><td>T5</td><td>XXL</td><td>SDOH-NLI</td><td>.8859</td><td>.7586</td><td>.8173</td><td>.8571</td><td>.25</td><td>.3871</td></tr><tr><td>T5</td><td>XXL</td><td>ANLI + SDOH-NLI</td><td>.9024</td><td>.8506</td><td>.8757</td><td>.8889</td><td>1.</td><td>.9412</td></tr><tr><td>Flan-T5</td><td>small</td><td>ANLI + SDOH-NLI</td><td>.8075</td><td>.7471</td><td>.7761</td><td>.6667</td><td>.0833</td><td>.1481</td></tr><tr><td>Flan-T5</td><td>base</td><td>ANLI + SDOH-NLI</td><td>.7956</td><td>.8276</td><td>.8113</td><td>.6216</td><td>.9583</td><td>.7541</td></tr><tr><td>Flan-T5</td><td>large</td><td>ANLI</td><td>.1777</td><td>.8506</td><td>.2939</td><td>.2421</td><td>.9583</td><td>.3866</td></tr><tr><td>Flan-T5</td><td>large</td><td>SDOH-NLI</td><td>.8041</td><td>.6839</td><td>.7391</td><td>.2308</td><td>.125</td><td>.1622</td></tr><tr><td>Flan-T5</td><td>large</td><td>ANLI + SDOH-NLI</td><td>.8212</td><td>.8448</td><td>.8329</td><td>.8846</td><td>.9583</td><td>.92</td></tr><tr><td>Flan-T5</td><td>XL</td><td>ANLI</td><td>.2868</td><td>.8851</td><td>.4332</td><td>.7667</td><td>.9583</td><td>.8519</td></tr><tr><td>Flan-T5</td><td>XL</td><td>SDOH</td><td>.9071</td><td>.7299</td><td>.8089</td><td>1.</td><td>.125</td><td>.2222</td></tr><tr><td>Flan-T5</td><td>XL</td><td>ANLI + SDOH-NLI</td><td>.8647</td><td>.8448</td><td>.8547</td><td>.8846</td><td>.9583</td><td>.92</td></tr><tr><td>Flan-T5</td><td>XXL</td><td>ANLI</td><td>.3560</td><td>.8736</td><td>.5058</td><td>.7931</td><td>.9583</td><td>.8679</td></tr><tr><td>Flan-T5</td><td>XXL</td><td>SDOH-NLI</td><td>.9295</td><td>.8333</td><td>.8788</td><td>1.</td><td>.875</td><td>.9333</td></tr><tr><td>Flan-T5</td><td>XXL</td><td>ANLI + SDOH-NLI</td><td>.8765</td><td>.8563</td><td>.8663</td><td>.8846</td><td>.9583</td><td>.92</td></tr></table>
|
| 293 |
+
|
| 294 |
+
Table 2: Precision, recall, and F1 scores of various models on the full test set and on the subset of the test set consisting of the two held-out factors.
|
2023/SDOH-NLI_ a Dataset for Inferring Social Determinants of Health from Clinical Notes/images.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:723ee60bd823fc61f0e6ad7f1f5a1b8c67ad85563a3bcd685519542f9a8185c0
|
| 3 |
+
size 167470
|
2023/SDOH-NLI_ a Dataset for Inferring Social Determinants of Health from Clinical Notes/layout.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2023/SELFOOD_ Self-Supervised Out-Of-Distribution Detection via Learning to Rank/f2ac6bc4-d902-4552-a8de-3700ee905922_content_list.json
ADDED
|
@@ -0,0 +1,1761 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"type": "text",
|
| 4 |
+
"text": "SELFOOD: Self-Supervised Out-Of-Distribution Detection via Learning to Rank",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
191,
|
| 8 |
+
89,
|
| 9 |
+
805,
|
| 10 |
+
130
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Dheeraj Mekala\\*, Adithya Samavedhi\\*, Chengyu Dong\\* Jingbo Shang\\*, University of California San Diego",
|
| 17 |
+
"bbox": [
|
| 18 |
+
127,
|
| 19 |
+
145,
|
| 20 |
+
875,
|
| 21 |
+
186
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "$^{\\text{©}}$ Halicioglu Data Science Institute, University of California San Diego",
|
| 28 |
+
"bbox": [
|
| 29 |
+
211,
|
| 30 |
+
187,
|
| 31 |
+
789,
|
| 32 |
+
205
|
| 33 |
+
],
|
| 34 |
+
"page_idx": 0
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"type": "text",
|
| 38 |
+
"text": "{dmekala, asamavedhi, cdong, jshang}@ucsd.edu",
|
| 39 |
+
"bbox": [
|
| 40 |
+
329,
|
| 41 |
+
206,
|
| 42 |
+
672,
|
| 43 |
+
219
|
| 44 |
+
],
|
| 45 |
+
"page_idx": 0
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"type": "text",
|
| 49 |
+
"text": "Abstract",
|
| 50 |
+
"text_level": 1,
|
| 51 |
+
"bbox": [
|
| 52 |
+
260,
|
| 53 |
+
252,
|
| 54 |
+
339,
|
| 55 |
+
266
|
| 56 |
+
],
|
| 57 |
+
"page_idx": 0
|
| 58 |
+
},
|
| 59 |
+
{
|
| 60 |
+
"type": "text",
|
| 61 |
+
"text": "Deep neural classifiers trained with cross-entropy (CE) loss often suffer from poor calibration, necessitating the task of out-of-distribution (OOD) detection. Traditional supervised OOD detection methods require expensive manual annotation of in-distribution and OOD samples. To address the annotation bottleneck, we introduce SELFOOD, a self-supervised OOD detection method that requires only in-distribution samples as supervision. We cast OOD detection as an inter-document intralabel (IDIL) ranking problem and train the classifier with our pairwise ranking loss, referred to as IDIL loss. Specifically, given a set of in-distribution documents and their labels, for each label, we train the classifier to rank the softmax scores of documents belonging to that label to be higher than the scores of documents that belong to other labels. Unlike CE loss, our IDIL loss reaches zero when the desired confidence ranking is achieved and gradients are backpropagated to decrease probabilities associated with incorrect labels rather than continuously increasing the probability of the correct label. Extensive experiments with several classifiers on multiple classification datasets demonstrate the effectiveness of our method in both coarse-and fine-grained settings.",
|
| 62 |
+
"bbox": [
|
| 63 |
+
141,
|
| 64 |
+
282,
|
| 65 |
+
460,
|
| 66 |
+
680
|
| 67 |
+
],
|
| 68 |
+
"page_idx": 0
|
| 69 |
+
},
|
| 70 |
+
{
|
| 71 |
+
"type": "text",
|
| 72 |
+
"text": "1 Introduction",
|
| 73 |
+
"text_level": 1,
|
| 74 |
+
"bbox": [
|
| 75 |
+
114,
|
| 76 |
+
695,
|
| 77 |
+
258,
|
| 78 |
+
709
|
| 79 |
+
],
|
| 80 |
+
"page_idx": 0
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"type": "text",
|
| 84 |
+
"text": "Deep neural networks (DNNs) are ubiquitously used for text classification (Liu et al., 2019; Devlin et al., 2019; Yang et al., 2019; Brown et al., 2020). However, they are generally poorly calibrated, resulting in erroneously high-confidence scores for both in-distribution and out-of-distribution (OOD) samples (Szegedy et al., 2013; Nguyen et al., 2015; Guo et al., 2017; Mekala et al., 2022a). Such poor calibration makes DNNs unreliable, and OOD detection task vital for the safe deployment of",
|
| 85 |
+
"bbox": [
|
| 86 |
+
112,
|
| 87 |
+
722,
|
| 88 |
+
489,
|
| 89 |
+
883
|
| 90 |
+
],
|
| 91 |
+
"page_idx": 0
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"type": "image",
|
| 95 |
+
"img_path": "images/c911208f1877b4fdcb0be004bc715b8b1c27785693980a6d460f09e969f8b0ce.jpg",
|
| 96 |
+
"image_caption": [
|
| 97 |
+
"(a) CE Loss"
|
| 98 |
+
],
|
| 99 |
+
"image_footnote": [],
|
| 100 |
+
"bbox": [
|
| 101 |
+
515,
|
| 102 |
+
250,
|
| 103 |
+
884,
|
| 104 |
+
329
|
| 105 |
+
],
|
| 106 |
+
"page_idx": 0
|
| 107 |
+
},
|
| 108 |
+
{
|
| 109 |
+
"type": "image",
|
| 110 |
+
"img_path": "images/47bfbf0f3c5f5ed60d454d099ba9821a6ea8a0bf8dadf2144d351de3798331a5.jpg",
|
| 111 |
+
"image_caption": [
|
| 112 |
+
"(b) IDIL Loss",
|
| 113 |
+
"Figure 1: CE Loss and IDIL loss optimization for documents $D_{1} \\in \\text{Sports}$ and $D_{2} \\in \\text{Arts}$ . CE loss increases scores corresponding to the Sports for $D_{1}$ and Arts for $D_{2}$ , implying an intra-document comparison. Instead, IDIL loss compares softmax scores in an inter-document intra-label fashion where it reduces scores corresponding to Sports for $D_{2}$ to be less than that of $D_{1}$ ."
|
| 114 |
+
],
|
| 115 |
+
"image_footnote": [],
|
| 116 |
+
"bbox": [
|
| 117 |
+
515,
|
| 118 |
+
359,
|
| 119 |
+
885,
|
| 120 |
+
435
|
| 121 |
+
],
|
| 122 |
+
"page_idx": 0
|
| 123 |
+
},
|
| 124 |
+
{
|
| 125 |
+
"type": "text",
|
| 126 |
+
"text": "deep learning models in safety-critical applications (Moon et al., 2020).",
|
| 127 |
+
"bbox": [
|
| 128 |
+
507,
|
| 129 |
+
576,
|
| 130 |
+
882,
|
| 131 |
+
606
|
| 132 |
+
],
|
| 133 |
+
"page_idx": 0
|
| 134 |
+
},
|
| 135 |
+
{
|
| 136 |
+
"type": "text",
|
| 137 |
+
"text": "Traditional supervised OOD detection methods (Hendrycks et al., 2018; Larson et al., 2019; Kamath et al., 2020; Zeng et al., 2021b) assume access to high-quality manually annotated in-distribution and OOD samples. However, this requires extensive annotation of OOD samples belonging to diverse distributions, which is expensive to obtain. Moreover, text classifiers are ideally desired to be more confident on in-distribution samples than OOD samples. However, the poor calibration of DNN precludes this phenomenon.",
|
| 138 |
+
"bbox": [
|
| 139 |
+
507,
|
| 140 |
+
609,
|
| 141 |
+
884,
|
| 142 |
+
788
|
| 143 |
+
],
|
| 144 |
+
"page_idx": 0
|
| 145 |
+
},
|
| 146 |
+
{
|
| 147 |
+
"type": "text",
|
| 148 |
+
"text": "To address these problems, we propose SELFOOD, a self-supervised OOD detection framework that requires only in-distribution samples as supervision. To adhere to the aforementioned ranking constraint, we formulate OOD detection as an inter-document intra-label (IDIL) ranking problem and train the classifier using our pairwise ranking loss, referred to as IDIL loss. As",
|
| 149 |
+
"bbox": [
|
| 150 |
+
507,
|
| 151 |
+
790,
|
| 152 |
+
882,
|
| 153 |
+
917
|
| 154 |
+
],
|
| 155 |
+
"page_idx": 0
|
| 156 |
+
},
|
| 157 |
+
{
|
| 158 |
+
"type": "page_footnote",
|
| 159 |
+
"text": "$\\spadesuit$ Equal Contribution",
|
| 160 |
+
"bbox": [
|
| 161 |
+
141,
|
| 162 |
+
892,
|
| 163 |
+
278,
|
| 164 |
+
904
|
| 165 |
+
],
|
| 166 |
+
"page_idx": 0
|
| 167 |
+
},
|
| 168 |
+
{
|
| 169 |
+
"type": "page_footnote",
|
| 170 |
+
"text": "* Jingbo Shang is the corresponding author.",
|
| 171 |
+
"bbox": [
|
| 172 |
+
142,
|
| 173 |
+
904,
|
| 174 |
+
411,
|
| 175 |
+
917
|
| 176 |
+
],
|
| 177 |
+
"page_idx": 0
|
| 178 |
+
},
|
| 179 |
+
{
|
| 180 |
+
"type": "page_number",
|
| 181 |
+
"text": "10721",
|
| 182 |
+
"bbox": [
|
| 183 |
+
475,
|
| 184 |
+
927,
|
| 185 |
+
522,
|
| 186 |
+
940
|
| 187 |
+
],
|
| 188 |
+
"page_idx": 0
|
| 189 |
+
},
|
| 190 |
+
{
|
| 191 |
+
"type": "footer",
|
| 192 |
+
"text": "Findings of the Association for Computational Linguistics: EMNLP 2023, pages 10721-10734",
|
| 193 |
+
"bbox": [
|
| 194 |
+
208,
|
| 195 |
+
945,
|
| 196 |
+
786,
|
| 197 |
+
958
|
| 198 |
+
],
|
| 199 |
+
"page_idx": 0
|
| 200 |
+
},
|
| 201 |
+
{
|
| 202 |
+
"type": "footer",
|
| 203 |
+
"text": "December 6-10, 2023 ©2023 Association for Computational Linguistics",
|
| 204 |
+
"bbox": [
|
| 205 |
+
277,
|
| 206 |
+
958,
|
| 207 |
+
719,
|
| 208 |
+
971
|
| 209 |
+
],
|
| 210 |
+
"page_idx": 0
|
| 211 |
+
},
|
| 212 |
+
{
|
| 213 |
+
"type": "image",
|
| 214 |
+
"img_path": "images/cae2b87cb7c1d319cdd7e34ae37f7b41387a297617da57a959bfdb29c3316ced.jpg",
|
| 215 |
+
"image_caption": [
|
| 216 |
+
"Figure 2: SELFOOD is a self-supervised framework that requires only annotated in-distribution data to train the OOD classifier. Firstly, we bucket documents based on their annotated label (in dotted lines). Then, we compare each document in a bucket with all documents in other buckets to compute IDIL loss (in solid lines). Finally, we backpropagate gradients to decrease scores associated with incorrect labels during the training of the OOD classifier."
|
| 217 |
+
],
|
| 218 |
+
"image_footnote": [],
|
| 219 |
+
"bbox": [
|
| 220 |
+
126,
|
| 221 |
+
93,
|
| 222 |
+
880,
|
| 223 |
+
237
|
| 224 |
+
],
|
| 225 |
+
"page_idx": 1
|
| 226 |
+
},
|
| 227 |
+
{
|
| 228 |
+
"type": "text",
|
| 229 |
+
"text": "shown in Figure 1(a), text classifiers are generally trained using cross-entropy (CE) loss (Good, 1952) in an intra-document fashion where for each document, the classifier is trained to distinguish between different labels by maximizing the score corresponding to the correct label. Instead, in our method, as shown in Figure 1(b), we propose to train in an inter-document, intra-label fashion where for each label, we train the model to rank the considered label probability score in documents belonging to the label higher compared to those not belonging to it. As OOD documents generally do not belong to any in-distribution label, we hypothesize such explicit learning to rank translates to accurately distinguishing OOD from in-distribution.",
|
| 230 |
+
"bbox": [
|
| 231 |
+
110,
|
| 232 |
+
338,
|
| 233 |
+
489,
|
| 234 |
+
580
|
| 235 |
+
],
|
| 236 |
+
"page_idx": 1
|
| 237 |
+
},
|
| 238 |
+
{
|
| 239 |
+
"type": "text",
|
| 240 |
+
"text": "Moreover, minimizing CE loss involves continuous optimization to increase the probability of the correct label over the other labels, making the classifier overconfident (Wei et al., 2022). Instead, in our method, our IDIL loss function becomes zero once the desired ranking is achieved, and during training, we backpropagate gradients to decrease probabilities associated with incorrect labels rather than increasing the probability of the correct label. Theoretically, the perfect model trained using the CE loss with 0 training loss is a solution to our ranking problem, however, in Section 5.1, we empirically show that our ranking objective leads to a different solution, demonstrating the importance of the optimization procedure. Finally, it is important to note that our ranking formulation, loss function, and the self-supervised training strategy are specifically designed to improve the performance of OOD detection rather than classification accuracy.",
|
| 241 |
+
"bbox": [
|
| 242 |
+
110,
|
| 243 |
+
581,
|
| 244 |
+
489,
|
| 245 |
+
885
|
| 246 |
+
],
|
| 247 |
+
"page_idx": 1
|
| 248 |
+
},
|
| 249 |
+
{
|
| 250 |
+
"type": "text",
|
| 251 |
+
"text": "We present our framework in Figure 2. Given a set of in-distribution documents and corresponding",
|
| 252 |
+
"bbox": [
|
| 253 |
+
112,
|
| 254 |
+
887,
|
| 255 |
+
487,
|
| 256 |
+
919
|
| 257 |
+
],
|
| 258 |
+
"page_idx": 1
|
| 259 |
+
},
|
| 260 |
+
{
|
| 261 |
+
"type": "text",
|
| 262 |
+
"text": "labels as input, we bucket documents belonging to each label and train the classifier to rank the probabilities using our IDIL loss function. Specifically, for each document in a label bucket, we pair up with all documents in every other bucket and compute IDIL loss.",
|
| 263 |
+
"bbox": [
|
| 264 |
+
507,
|
| 265 |
+
338,
|
| 266 |
+
884,
|
| 267 |
+
434
|
| 268 |
+
],
|
| 269 |
+
"page_idx": 1
|
| 270 |
+
},
|
| 271 |
+
{
|
| 272 |
+
"type": "text",
|
| 273 |
+
"text": "Our contributions are summarized as follows:",
|
| 274 |
+
"bbox": [
|
| 275 |
+
526,
|
| 276 |
+
436,
|
| 277 |
+
870,
|
| 278 |
+
451
|
| 279 |
+
],
|
| 280 |
+
"page_idx": 1
|
| 281 |
+
},
|
| 282 |
+
{
|
| 283 |
+
"type": "list",
|
| 284 |
+
"sub_type": "text",
|
| 285 |
+
"list_items": [
|
| 286 |
+
"- We propose SELFFOOD, a novel self-supervised method to train an OOD detection model without any OOD samples as supervision.",
|
| 287 |
+
"- We formulate OOD detection as an inter-document intra-label ranking problem and optimize it using our IDIL ranking loss.",
|
| 288 |
+
"- We perform extensive experiments on multiple text classification datasets to demonstrate the effectiveness of our method in OOD detection.",
|
| 289 |
+
"We release the code on $\\mathbf{G h i t b u^{1}}$"
|
| 290 |
+
],
|
| 291 |
+
"bbox": [
|
| 292 |
+
507,
|
| 293 |
+
451,
|
| 294 |
+
882,
|
| 295 |
+
612
|
| 296 |
+
],
|
| 297 |
+
"page_idx": 1
|
| 298 |
+
},
|
| 299 |
+
{
|
| 300 |
+
"type": "text",
|
| 301 |
+
"text": "2 Related Work",
|
| 302 |
+
"text_level": 1,
|
| 303 |
+
"bbox": [
|
| 304 |
+
507,
|
| 305 |
+
627,
|
| 306 |
+
665,
|
| 307 |
+
642
|
| 308 |
+
],
|
| 309 |
+
"page_idx": 1
|
| 310 |
+
},
|
| 311 |
+
{
|
| 312 |
+
"type": "text",
|
| 313 |
+
"text": "Traditional supervised methods cast the OOD detection as classification with binary labels (Kamath et al., 2020), with one additional label for unseen classes (Fei and Liu, 2016). Since manually annotating documents is expensive (Mekala and Shang, 2020; Mekala et al., 2022b), recent works have deviated from requiring such extensive annotations and leveraging various distance metrics to detect OOD samples. Leys et al. (2018); Xu et al. (2020) use Mahalanobis distance as a post-processing technique to identify OOD samples. These methods use distance-based scoring functions along with the intermediate model layer features to determine an OOD score. Lee et al. (2018); Hsu et al. (2020) use a similar distance metric called ODIN to detect",
|
| 314 |
+
"bbox": [
|
| 315 |
+
507,
|
| 316 |
+
653,
|
| 317 |
+
884,
|
| 318 |
+
894
|
| 319 |
+
],
|
| 320 |
+
"page_idx": 1
|
| 321 |
+
},
|
| 322 |
+
{
|
| 323 |
+
"type": "page_footnote",
|
| 324 |
+
"text": "<https://github.com/dheeraj7596/SELF00D>",
|
| 325 |
+
"bbox": [
|
| 326 |
+
529,
|
| 327 |
+
903,
|
| 328 |
+
830,
|
| 329 |
+
917
|
| 330 |
+
],
|
| 331 |
+
"page_idx": 1
|
| 332 |
+
},
|
| 333 |
+
{
|
| 334 |
+
"type": "page_number",
|
| 335 |
+
"text": "10722",
|
| 336 |
+
"bbox": [
|
| 337 |
+
477,
|
| 338 |
+
927,
|
| 339 |
+
524,
|
| 340 |
+
940
|
| 341 |
+
],
|
| 342 |
+
"page_idx": 1
|
| 343 |
+
},
|
| 344 |
+
{
|
| 345 |
+
"type": "text",
|
| 346 |
+
"text": "OOD images. An alternate approach to compensate for the lack of OOD training data involves generating pseudo-OOD data for training. Ouyang et al. (2021) propose a framework to generate high-quality OOD utterances and importance weights by selectively replacing phrases in in-domain samples. Zhan et al. (2021) generate pseudo-OOD samples for the task of intent detection using self-supervision. Zhou et al. (2021); Zeng et al. (2021a) introduce self-supervised approaches to OOD detection using a contrastive learning framework. They suggest fine-tuning transformers using a margin-based contrastive loss to learn text representations (Mekala et al., 2021) for OOD classification. Vyas et al. (2018); Li et al. (2021) treat a part of in-domain data as OOD samples as an alternate self-supervised approach. Further, Wu et al. (2022a) use a Reassigned Contrastive Loss (RCL) along with an adaptive class-dependent threshold mechanism to separate in-domain and OOD intents. Ren et al. (2019); Ggangal et al. (2020) leverage likelihood ratios crafted by generative models to classify OOD samples. Wei et al. (2022) observe that the norm of the logits keeps increasing during training, leading to overconfident outputs, and propose LogitNorm as a solution to decoupling the output norm during training optimization. Moon et al. (2020) introduce a novel Correctness Ranking Loss function in order to regularize output probabilities to produce well-ranked confidence estimates. Other calibration techniques include \"Top-label\" calibration which is used to regularize the reported probability for the predicted class (Gupta and Ramdas, 2021).",
|
| 347 |
+
"bbox": [
|
| 348 |
+
112,
|
| 349 |
+
84,
|
| 350 |
+
492,
|
| 351 |
+
632
|
| 352 |
+
],
|
| 353 |
+
"page_idx": 2
|
| 354 |
+
},
|
| 355 |
+
{
|
| 356 |
+
"type": "text",
|
| 357 |
+
"text": "3 SELFOOD: Self-Supervised OOD Detection",
|
| 358 |
+
"text_level": 1,
|
| 359 |
+
"bbox": [
|
| 360 |
+
112,
|
| 361 |
+
645,
|
| 362 |
+
443,
|
| 363 |
+
678
|
| 364 |
+
],
|
| 365 |
+
"page_idx": 2
|
| 366 |
+
},
|
| 367 |
+
{
|
| 368 |
+
"type": "text",
|
| 369 |
+
"text": "We present the problem statement, the motivation for our ranking formulation, and our method including the loss function and its optimization strategy.",
|
| 370 |
+
"bbox": [
|
| 371 |
+
112,
|
| 372 |
+
690,
|
| 373 |
+
489,
|
| 374 |
+
740
|
| 375 |
+
],
|
| 376 |
+
"page_idx": 2
|
| 377 |
+
},
|
| 378 |
+
{
|
| 379 |
+
"type": "text",
|
| 380 |
+
"text": "3.1 Problem Statement",
|
| 381 |
+
"text_level": 1,
|
| 382 |
+
"bbox": [
|
| 383 |
+
112,
|
| 384 |
+
752,
|
| 385 |
+
314,
|
| 386 |
+
766
|
| 387 |
+
],
|
| 388 |
+
"page_idx": 2
|
| 389 |
+
},
|
| 390 |
+
{
|
| 391 |
+
"type": "text",
|
| 392 |
+
"text": "In this paper, we work on the OOD detection task with only in-distribution samples and no OOD samples as supervision. Specifically, given a labeled dataset $\\mathcal{D}^{InD} = \\{(x_1,y_1),(x_2,y_2),\\ldots (x_n,y_n)\\}$ sampled from a distribution space $(\\mathcal{X},\\mathcal{C})$ where documents $x_{i}\\in \\mathcal{X}$ and labels $y_{i}\\in \\mathcal{C}$ as input, our goal is to train an OOD detector $\\mathcal{M}$ that accurately distinguishes in-distribution documents $\\mathcal{D}^{InD}$ and OOD documents $\\mathcal{D}^{OOD}\\notin (\\mathcal{X},\\mathcal{C})$ without any",
|
| 393 |
+
"bbox": [
|
| 394 |
+
112,
|
| 395 |
+
774,
|
| 396 |
+
489,
|
| 397 |
+
920
|
| 398 |
+
],
|
| 399 |
+
"page_idx": 2
|
| 400 |
+
},
|
| 401 |
+
{
|
| 402 |
+
"type": "text",
|
| 403 |
+
"text": "OOD documents required for training.",
|
| 404 |
+
"bbox": [
|
| 405 |
+
509,
|
| 406 |
+
84,
|
| 407 |
+
794,
|
| 408 |
+
99
|
| 409 |
+
],
|
| 410 |
+
"page_idx": 2
|
| 411 |
+
},
|
| 412 |
+
{
|
| 413 |
+
"type": "text",
|
| 414 |
+
"text": "3.2 Motivation",
|
| 415 |
+
"text_level": 1,
|
| 416 |
+
"bbox": [
|
| 417 |
+
509,
|
| 418 |
+
111,
|
| 419 |
+
643,
|
| 420 |
+
124
|
| 421 |
+
],
|
| 422 |
+
"page_idx": 2
|
| 423 |
+
},
|
| 424 |
+
{
|
| 425 |
+
"type": "text",
|
| 426 |
+
"text": "Numerous neural text classifiers have been proposed, incorporating multiple hidden layers (Rosenblatt, 1957), convolutional layers (Kim, 2014), and various types of attention mechanisms (Devlin et al., 2019; Liu et al., 2019; Radford et al., 2019). All these models culminate in a softmax head, which produces probabilities corresponding to each class. These classifiers are generally trained with CE loss in an intra-document fashion i.e. each document is considered independently and the softmax score of the true label is maximized. Such training of neural text classifiers is known to increase the magnitude of logit vectors even when most training examples are correctly classified (Wei et al., 2022), making them poorly calibrated, producing unreasonably high probabilities even for incorrect predictions (Szegedy et al., 2013; Nguyen et al., 2015; Guo et al., 2017). This diminishes their ability to maintain the desired attribute of ordinal ranking for predictions based on confidence levels, wherein a prediction exhibiting a higher confidence value should be considered more likely to be accurate than one with a lower confidence value (Moon et al., 2020). Intuitively, a text classifier possessing such quality would be a perfect OOD detector.",
|
| 427 |
+
"bbox": [
|
| 428 |
+
507,
|
| 429 |
+
131,
|
| 430 |
+
885,
|
| 431 |
+
533
|
| 432 |
+
],
|
| 433 |
+
"page_idx": 2
|
| 434 |
+
},
|
| 435 |
+
{
|
| 436 |
+
"type": "text",
|
| 437 |
+
"text": "3.3 OOD Detection as Inter-Document Intra-Label Ranking",
|
| 438 |
+
"text_level": 1,
|
| 439 |
+
"bbox": [
|
| 440 |
+
507,
|
| 441 |
+
544,
|
| 442 |
+
828,
|
| 443 |
+
576
|
| 444 |
+
],
|
| 445 |
+
"page_idx": 2
|
| 446 |
+
},
|
| 447 |
+
{
|
| 448 |
+
"type": "text",
|
| 449 |
+
"text": "In order to align with the aforementioned characteristic, we propose formulating the OOD detection as an inter-document, intra-label ranking problem. Specifically, given a set of in-distribution documents, we compare across documents but within the same label and train our model to generate higher probability score for documents belonging to the label than for documents not belonging to the label. We consider the same model architecture as any text classifier with a softmax head that generates scores corresponding to each label, however, we train it using our IDIL loss instead of CE loss. Our assumption is that an OOD document does not fall under any specific label in the in-distribution space. Hence, we anticipate that the trained model would produce lower scores for OOD documents compared to in-distribution documents. This distinction in scores is expected to facilitate easy separation between OOD and in-distribution documents.",
|
| 450 |
+
"bbox": [
|
| 451 |
+
507,
|
| 452 |
+
581,
|
| 453 |
+
885,
|
| 454 |
+
901
|
| 455 |
+
],
|
| 456 |
+
"page_idx": 2
|
| 457 |
+
},
|
| 458 |
+
{
|
| 459 |
+
"type": "text",
|
| 460 |
+
"text": "IDIL Loss is a pairwise-ranking loss that enforces",
|
| 461 |
+
"bbox": [
|
| 462 |
+
509,
|
| 463 |
+
903,
|
| 464 |
+
882,
|
| 465 |
+
917
|
| 466 |
+
],
|
| 467 |
+
"page_idx": 2
|
| 468 |
+
},
|
| 469 |
+
{
|
| 470 |
+
"type": "page_number",
|
| 471 |
+
"text": "10723",
|
| 472 |
+
"bbox": [
|
| 473 |
+
477,
|
| 474 |
+
927,
|
| 475 |
+
524,
|
| 476 |
+
941
|
| 477 |
+
],
|
| 478 |
+
"page_idx": 2
|
| 479 |
+
},
|
| 480 |
+
{
|
| 481 |
+
"type": "text",
|
| 482 |
+
"text": "desired ordinal ranking of confidence estimates. This loss function reaches its minimum value for a particular label when the probability of that label being the annotated label is greater than its probability when it is not the annotated label. Specifically, for documents $x_{1}, x_{2} \\in \\mathcal{D}^{InD}$ and their corresponding annotated labels $y_{1}, y_{2}$ where $y_{1} \\neq y_{2}$ , IDIL loss corresponding to label $y_{1}$ is mathematically computed as follows:",
|
| 483 |
+
"bbox": [
|
| 484 |
+
112,
|
| 485 |
+
84,
|
| 486 |
+
489,
|
| 487 |
+
227
|
| 488 |
+
],
|
| 489 |
+
"page_idx": 3
|
| 490 |
+
},
|
| 491 |
+
{
|
| 492 |
+
"type": "equation",
|
| 493 |
+
"text": "\n$$\n\\mathcal {L} _ {I D I L} \\left(y _ {1} \\mid x _ {1}, x _ {2}\\right) = S i L U \\left(p \\left(y _ {1} \\mid x _ {2}\\right) - p \\left(y _ {1} \\mid x _ {1}\\right)\\right) \\tag {1}\n$$\n",
|
| 494 |
+
"text_format": "latex",
|
| 495 |
+
"bbox": [
|
| 496 |
+
112,
|
| 497 |
+
240,
|
| 498 |
+
487,
|
| 499 |
+
271
|
| 500 |
+
],
|
| 501 |
+
"page_idx": 3
|
| 502 |
+
},
|
| 503 |
+
{
|
| 504 |
+
"type": "text",
|
| 505 |
+
"text": "where $SiLU(x) = x\\sigma(x)$ is the Sigmoid Linear Unit (SiLU) function (Elfwing et al., 2018). To ensure stable training and enhance performance, we incorporate the SiLU function, a continuous variant of the Rectified Linear Unit (ReLU) (Hahnloser et al., 2000), in conjunction with the ranking loss. The SiLU function introduces smooth gradients around zero, effectively mitigating potential instability issues during training. We observe that this inclusion contributes to the overall stability in training and improved performance of the model as shown in Section 4.5. Note that, in contrast to CE loss, IDIL loss becomes zero once desired ranking is achieved, addressing the overconfidence issue.",
|
| 506 |
+
"bbox": [
|
| 507 |
+
112,
|
| 508 |
+
273,
|
| 509 |
+
489,
|
| 510 |
+
499
|
| 511 |
+
],
|
| 512 |
+
"page_idx": 3
|
| 513 |
+
},
|
| 514 |
+
{
|
| 515 |
+
"type": "text",
|
| 516 |
+
"text": "3.4 Implementation",
|
| 517 |
+
"text_level": 1,
|
| 518 |
+
"bbox": [
|
| 519 |
+
112,
|
| 520 |
+
508,
|
| 521 |
+
287,
|
| 522 |
+
524
|
| 523 |
+
],
|
| 524 |
+
"page_idx": 3
|
| 525 |
+
},
|
| 526 |
+
{
|
| 527 |
+
"type": "text",
|
| 528 |
+
"text": "Ideally, the loss has to be computed over all possible pairs of documents for each model update. However, it is computationally expensive. Therefore, following (Toneva et al., 2019; Moon et al., 2020), we approximate the computation by considering only documents in each mini-batch. Specifically, we bucket the documents in the mini-batch based on their annotated label and pair each document in a bucket with all documents in other buckets and compute the loss. Mathematically, the loss for a mini-batch $b$ is computed as follows:",
|
| 529 |
+
"bbox": [
|
| 530 |
+
112,
|
| 531 |
+
529,
|
| 532 |
+
489,
|
| 533 |
+
706
|
| 534 |
+
],
|
| 535 |
+
"page_idx": 3
|
| 536 |
+
},
|
| 537 |
+
{
|
| 538 |
+
"type": "equation",
|
| 539 |
+
"text": "\n$$\n\\mathcal {L} = \\sum_ {l \\in \\mathcal {C}} \\sum_ {x _ {1} \\in b _ {l}} \\sum_ {x _ {2} \\in b _ {- l}} \\mathcal {L} _ {I D I L} (l | x _ {1}, x _ {2})\n$$\n",
|
| 540 |
+
"text_format": "latex",
|
| 541 |
+
"bbox": [
|
| 542 |
+
164,
|
| 543 |
+
713,
|
| 544 |
+
436,
|
| 545 |
+
749
|
| 546 |
+
],
|
| 547 |
+
"page_idx": 3
|
| 548 |
+
},
|
| 549 |
+
{
|
| 550 |
+
"type": "text",
|
| 551 |
+
"text": "where $b_{l}$ denotes the set of training data points $x$ in this batch $b$ whose label are $l$ , and $b_{-l}$ denotes the set of training data points $x$ in this batch $b$ whose label is not $l$ .",
|
| 552 |
+
"bbox": [
|
| 553 |
+
112,
|
| 554 |
+
758,
|
| 555 |
+
487,
|
| 556 |
+
820
|
| 557 |
+
],
|
| 558 |
+
"page_idx": 3
|
| 559 |
+
},
|
| 560 |
+
{
|
| 561 |
+
"type": "text",
|
| 562 |
+
"text": "In contrast to CE loss, where the optimization involves increasing the score corresponding to the correct label, we backpropagate gradients to decrease scores associated with incorrect labels. Specifically, during the backpropagation of gradients, we detach the gradients for the subrahend",
|
| 563 |
+
"bbox": [
|
| 564 |
+
112,
|
| 565 |
+
822,
|
| 566 |
+
489,
|
| 567 |
+
917
|
| 568 |
+
],
|
| 569 |
+
"page_idx": 3
|
| 570 |
+
},
|
| 571 |
+
{
|
| 572 |
+
"type": "table",
|
| 573 |
+
"img_path": "images/9bdb0da6b112ee56df8749e7fe60111befda3fc0ae57684ccb0265fa78f44c11.jpg",
|
| 574 |
+
"table_caption": [
|
| 575 |
+
"Table 1: Dataset statistics."
|
| 576 |
+
],
|
| 577 |
+
"table_footnote": [],
|
| 578 |
+
"table_body": "<table><tr><td>Dataset</td><td>Domain</td><td>Criteria</td><td>#Docs</td><td>#labels</td></tr><tr><td>NYT</td><td>News</td><td>Topic</td><td>13081</td><td>26</td></tr><tr><td>Yelp</td><td>Reviews</td><td>Sentiment</td><td>70000</td><td>5</td></tr><tr><td>Clima</td><td>Climate</td><td>Question Type</td><td>17175</td><td>8</td></tr><tr><td>TREC</td><td>General</td><td>Question Type</td><td>5952</td><td>6</td></tr></table>",
|
| 579 |
+
"bbox": [
|
| 580 |
+
514,
|
| 581 |
+
98,
|
| 582 |
+
878,
|
| 583 |
+
180
|
| 584 |
+
],
|
| 585 |
+
"page_idx": 3
|
| 586 |
+
},
|
| 587 |
+
{
|
| 588 |
+
"type": "text",
|
| 589 |
+
"text": "of the difference and exclusively propagate the gradients through the minuend. In Equation 1, for instance, we detach the gradients for $p(y_{1}|x_{1})$ and solely backpropagate the gradients through $p(y_{1}|x_{2})$ . This detachment allows for a more controlled and selective gradient flow, aiding in the optimization process, and improvement in performance as shown in Section 4.5.",
|
| 590 |
+
"bbox": [
|
| 591 |
+
507,
|
| 592 |
+
203,
|
| 593 |
+
884,
|
| 594 |
+
331
|
| 595 |
+
],
|
| 596 |
+
"page_idx": 3
|
| 597 |
+
},
|
| 598 |
+
{
|
| 599 |
+
"type": "text",
|
| 600 |
+
"text": "It is important to note that our optimization focuses solely on the inter-document ranking loss. Consequently, while the trained model would serve as a reliable OOD detector, it may not perform as effectively as a classifier.",
|
| 601 |
+
"bbox": [
|
| 602 |
+
507,
|
| 603 |
+
332,
|
| 604 |
+
884,
|
| 605 |
+
412
|
| 606 |
+
],
|
| 607 |
+
"page_idx": 3
|
| 608 |
+
},
|
| 609 |
+
{
|
| 610 |
+
"type": "text",
|
| 611 |
+
"text": "4 Experiments",
|
| 612 |
+
"text_level": 1,
|
| 613 |
+
"bbox": [
|
| 614 |
+
507,
|
| 615 |
+
424,
|
| 616 |
+
655,
|
| 617 |
+
439
|
| 618 |
+
],
|
| 619 |
+
"page_idx": 3
|
| 620 |
+
},
|
| 621 |
+
{
|
| 622 |
+
"type": "text",
|
| 623 |
+
"text": "We evaluate our OOD detection method against state-of-the-art baselines with two classifiers on multiple datasets belonging to different domains.",
|
| 624 |
+
"bbox": [
|
| 625 |
+
507,
|
| 626 |
+
449,
|
| 627 |
+
882,
|
| 628 |
+
498
|
| 629 |
+
],
|
| 630 |
+
"page_idx": 3
|
| 631 |
+
},
|
| 632 |
+
{
|
| 633 |
+
"type": "text",
|
| 634 |
+
"text": "4.1 Datasets",
|
| 635 |
+
"text_level": 1,
|
| 636 |
+
"bbox": [
|
| 637 |
+
507,
|
| 638 |
+
508,
|
| 639 |
+
623,
|
| 640 |
+
521
|
| 641 |
+
],
|
| 642 |
+
"page_idx": 3
|
| 643 |
+
},
|
| 644 |
+
{
|
| 645 |
+
"type": "text",
|
| 646 |
+
"text": "We evaluate our method and baselines on four publicly available English text classification datasets belonging to different domains. In particular, we consider the news topic classification dataset New York Times (NYT), restaurant review sentiment classification dataset Yelp, and question-type classification datasets related to climate: ClimaInsurance+ (Clima) (Laud et al., 2023), and a general domain: TREC (Li and Roth, 2002; Hovy et al., 2001). The documents within the New York Times dataset are labeled with both coarse and fine-grained labels. For our training and testing process, we utilize fine-grained labels. The dataset statistics are provided in Table 1.",
|
| 647 |
+
"bbox": [
|
| 648 |
+
507,
|
| 649 |
+
527,
|
| 650 |
+
884,
|
| 651 |
+
753
|
| 652 |
+
],
|
| 653 |
+
"page_idx": 3
|
| 654 |
+
},
|
| 655 |
+
{
|
| 656 |
+
"type": "text",
|
| 657 |
+
"text": "4.2 Compared Methods",
|
| 658 |
+
"text_level": 1,
|
| 659 |
+
"bbox": [
|
| 660 |
+
507,
|
| 661 |
+
764,
|
| 662 |
+
714,
|
| 663 |
+
780
|
| 664 |
+
],
|
| 665 |
+
"page_idx": 3
|
| 666 |
+
},
|
| 667 |
+
{
|
| 668 |
+
"type": "list",
|
| 669 |
+
"sub_type": "text",
|
| 670 |
+
"list_items": [
|
| 671 |
+
"- Cross Entropy Loss (CE Loss) trains a classifier using CE loss on in-distribution documents. The predicted probabilities from the classifier are used as confidence estimates for OOD detection.",
|
| 672 |
+
"- Correctness Ranking Loss (CRL) (Moon et al., 2020) is a regularization term added to the CE"
|
| 673 |
+
],
|
| 674 |
+
"bbox": [
|
| 675 |
+
507,
|
| 676 |
+
785,
|
| 677 |
+
884,
|
| 678 |
+
881
|
| 679 |
+
],
|
| 680 |
+
"page_idx": 3
|
| 681 |
+
},
|
| 682 |
+
{
|
| 683 |
+
"type": "page_footnote",
|
| 684 |
+
"text": "<sup>2</sup>http://developer.nytimes.com/",
|
| 685 |
+
"bbox": [
|
| 686 |
+
529,
|
| 687 |
+
889,
|
| 688 |
+
759,
|
| 689 |
+
903
|
| 690 |
+
],
|
| 691 |
+
"page_idx": 3
|
| 692 |
+
},
|
| 693 |
+
{
|
| 694 |
+
"type": "page_footnote",
|
| 695 |
+
"text": "<sup>3</sup>https://www.yelp.com/dataset/",
|
| 696 |
+
"bbox": [
|
| 697 |
+
529,
|
| 698 |
+
903,
|
| 699 |
+
759,
|
| 700 |
+
917
|
| 701 |
+
],
|
| 702 |
+
"page_idx": 3
|
| 703 |
+
},
|
| 704 |
+
{
|
| 705 |
+
"type": "page_number",
|
| 706 |
+
"text": "10724",
|
| 707 |
+
"bbox": [
|
| 708 |
+
477,
|
| 709 |
+
927,
|
| 710 |
+
524,
|
| 711 |
+
940
|
| 712 |
+
],
|
| 713 |
+
"page_idx": 3
|
| 714 |
+
},
|
| 715 |
+
{
|
| 716 |
+
"type": "table",
|
| 717 |
+
"img_path": "images/9eb3baddd9b6c501202816898c5d5b370ba35d03efd9b8f3375f45595aa2fe12.jpg",
|
| 718 |
+
"table_caption": [
|
| 719 |
+
"Table 2: OOD detection results with BERT & RoBERTa classifiers. Each experiment is repeated with three random seeds and the mean scores are reported. The false-positive-rate at $95\\%$ true-positive-rate (FPR95), minimum detection error over all thresholds (ERR), the area under the risk-coverage curve (AURC), and the area under the precision-recall curve (AUPR) using in-distribution samples as the positives are used as evaluation metrics."
|
| 720 |
+
],
|
| 721 |
+
"table_footnote": [],
|
| 722 |
+
"table_body": "<table><tr><td rowspan=\"2\">In-dist</td><td rowspan=\"2\">OOD</td><td rowspan=\"2\">Method</td><td colspan=\"4\">BERT</td><td colspan=\"4\">RoBERTa</td></tr><tr><td>FPR95(↓)</td><td>ERR(↓)</td><td>AUROC(↑)</td><td>AUPR(↑)</td><td>FPR95(↓)</td><td>ERR(↓)</td><td>AUROC(↑)</td><td>AUPR(↑)</td></tr><tr><td rowspan=\"21\">Yelp</td><td rowspan=\"7\">NYT</td><td>LogitNorm</td><td>82.0</td><td>33.2</td><td>69.4</td><td>57.9</td><td>84.4</td><td>33.9</td><td>66.6</td><td>55.0</td></tr><tr><td>OneVsRest</td><td>85.1</td><td>35.8</td><td>62.4</td><td>49.3</td><td>88.5</td><td>29.6</td><td>69.8</td><td>56.5</td></tr><tr><td>RCL</td><td>56.9</td><td>31.2</td><td>73.2</td><td>55.2</td><td>87.7</td><td>34.5</td><td>56.7</td><td>45.0</td></tr><tr><td>Bayes Approx</td><td>64.3</td><td>35.9</td><td>66.5</td><td>50.3</td><td>79.6</td><td>36.4</td><td>54.1</td><td>40.8</td></tr><tr><td>CE Loss</td><td>82.1</td><td>34.9</td><td>63.4</td><td>50.7</td><td>79.8</td><td>32.9</td><td>66.8</td><td>58.0</td></tr><tr><td>CRL</td><td>99.9</td><td>36.9</td><td>43.9</td><td>51.1</td><td>99.8</td><td>28.1</td><td>64.8</td><td>60.5</td></tr><tr><td>SELFOOD</td><td>63.2</td><td>19.6</td><td>79.4</td><td>82.7</td><td>69.5</td><td>21.6</td><td>72.6</td><td>78.8</td></tr><tr><td rowspan=\"7\">Clima</td><td>LogitNorm</td><td>79.2</td><td>25.5</td><td>72.5</td><td>54.8</td><td>82.6</td><td>25.4</td><td>70.7</td><td>54.0</td></tr><tr><td>OneVsRest</td><td>83.0</td><td>25.1</td><td>69.5</td><td>53.2</td><td>86.7</td><td>28.0</td><td>53.8</td><td>33.7</td></tr><tr><td>RCL</td><td>59.9</td><td>27.8</td><td>67.4</td><td>42.1</td><td>73.9</td><td>22.5</td><td>70.7</td><td>56.3</td></tr><tr><td>Bayes Approx</td><td>74.7</td><td>28.7</td><td>56.7</td><td>33.6</td><td>63.0</td><td>28.0</td><td>66.8</td><td>40.9</td></tr><tr><td>CE Loss</td><td>83.2</td><td>27.8</td><td>48.6</td><td>37.0</td><td>76.4</td><td>22.0</td><td>78.2</td><td>68.4</td></tr><tr><td>CRL</td><td>99.6</td><td>29.0</td><td>49.1</td><td>38.8</td><td>99.9</td><td>20.6</td><td>63.0</td><td>56.9</td></tr><tr><td>SELFOOD</td><td>17.6</td><td>4.8</td><td>97.9</td><td>96.4</td><td>65.6</td><td>16.6</td><td>73.2</td><td>77.2</td></tr><tr><td rowspan=\"7\">TREC</td><td>LogitNorm</td><td>68.2</td><td>27.0</td><td>79.8</td><td>82.1</td><td>60.8</td><td>23.0</td><td>83.9</td><td>84.4</td></tr><tr><td>OneVsRest</td><td>84.8</td><td>40.0</td><td>63.9</td><td>69.7</td><td>75.5</td><td>33.0</td><td>57.9</td><td>61.2</td></tr><tr><td>RCL</td><td>89.8</td><td>43.2</td><td>40.1</td><td>51.5</td><td>77.4</td><td>32.4</td><td>65.0</td><td>68.6</td></tr><tr><td>Bayes Approx</td><td>92.5</td><td>44.7</td><td>32.1</td><td>44.7</td><td>51.8</td><td>25.9</td><td>72.7</td><td>69.4</td></tr><tr><td>CE Loss</td><td>74.2</td><td>33.7</td><td>52.8</td><td>62.7</td><td>58.5</td><td>27.5</td><td>75.3</td><td>78.3</td></tr><tr><td>CRL</td><td>33.3</td><td>15.5</td><td>66.7</td><td>77.2</td><td>100.0</td><td>37.3</td><td>56.7</td><td>73.9</td></tr><tr><td>SELFOOD</td><td>0.0</td><td>0.0</td><td>100.0</td><td>100.0</td><td>55.1</td><td>20.6</td><td>80.2</td><td>90.3</td></tr><tr><td rowspan=\"21\">TREC</td><td rowspan=\"7\">Yelp</td><td>LogitNorm</td><td>32.3</td><td>0.3</td><td>95.5</td><td>78.1</td><td>15.2</td><td>0.5</td><td>95.7</td><td>44.7</td></tr><tr><td>OneVsRest</td><td>4.2</td><td>0.3</td><td>97.9</td><td>83.4</td><td>39.3</td><td>0.4</td><td>91.6</td><td>63.0</td></tr><tr><td>RCL</td><td>78.5</td><td>0.6</td><td>80.2</td><td>20.2</td><td>67.7</td><td>0.6</td><td>83.0</td><td>24.2</td></tr><tr><td>Bayes Approx</td><td>46.6</td><td>0.4</td><td>93.0</td><td>61.6</td><td>63.7</td><td>0.7</td><td>87.7</td><td>21.3</td></tr><tr><td>CE Loss</td><td>27.2</td><td>0.3</td><td>94.9</td><td>71.2</td><td>11.3</td><td>0.4</td><td>96.9</td><td>62.3</td></tr><tr><td>CRL</td><td>96.6</td><td>0.7</td><td>70.9</td><td>16.5</td><td>99.8</td><td>0.7</td><td>24.3</td><td>9.7</td></tr><tr><td>SELFOOD</td><td>0.0</td><td>0.0</td><td>100.0</td><td>100.0</td><td>0.0</td><td>0.0</td><td>100.0</td><td>100.0</td></tr><tr><td rowspan=\"7\">NYT</td><td>LogitNorm</td><td>9.3</td><td>1.0</td><td>97.7</td><td>91.2</td><td>10.9</td><td>2.3</td><td>97.2</td><td>77.3</td></tr><tr><td>OneVsRest</td><td>1.8</td><td>0.5</td><td>99.0</td><td>95.8</td><td>32.5</td><td>1.8</td><td>93.2</td><td>74.8</td></tr><tr><td>RCL</td><td>63.6</td><td>3.3</td><td>84.1</td><td>45.7</td><td>74.2</td><td>3.0</td><td>80.4</td><td>45.1</td></tr><tr><td>Bayes Approx</td><td>39.1</td><td>2.5</td><td>93.5</td><td>68.1</td><td>64.9</td><td>3.0</td><td>88.4</td><td>54.4</td></tr><tr><td>CE Loss</td><td>8.4</td><td>1.3</td><td>97.6</td><td>87.5</td><td>6.8</td><td>1.4</td><td>98.1</td><td>87.1</td></tr><tr><td>CRL</td><td>97.2</td><td>3.3</td><td>73.0</td><td>35.2</td><td>99.9</td><td>3.8</td><td>22.9</td><td>12.2</td></tr><tr><td>SELFOOD</td><td>0.0</td><td>0.0</td><td>100.0</td><td>100.0</td><td>0.0</td><td>0.0</td><td>100.0</td><td>100.0</td></tr><tr><td rowspan=\"7\">Clima</td><td>LogitNorm</td><td>11.3</td><td>0.8</td><td>97.6</td><td>88.5</td><td>10.4</td><td>1.6</td><td>97.3</td><td>75.9</td></tr><tr><td>OneVsRest</td><td>3.4</td><td>0.6</td><td>98.7</td><td>93.2</td><td>36.3</td><td>1.8</td><td>91.7</td><td>60.1</td></tr><tr><td>RCL</td><td>73.5</td><td>2.4</td><td>81.2</td><td>37.1</td><td>60.7</td><td>2.0</td><td>86.4</td><td>48.2</td></tr><tr><td>Bayes Approx</td><td>51.7</td><td>2.0</td><td>90.5</td><td>54.4</td><td>61.1</td><td>2.4</td><td>87.6</td><td>40.4</td></tr><tr><td>CE Loss</td><td>15.1</td><td>1.7</td><td>96.2</td><td>69.5</td><td>12.2</td><td>1.8</td><td>96.4</td><td>67.8</td></tr><tr><td>CRL</td><td>86.3</td><td>2.2</td><td>80.7</td><td>39.5</td><td>98.9</td><td>2.7</td><td>30.1</td><td>13.0</td></tr><tr><td>SELFOOD</td><td>0.0</td><td>0.0</td><td>100.0</td><td>100.0</td><td>0.0</td><td>0.0</td><td>100.0</td><td>100.0</td></tr></table>",
|
| 723 |
+
"bbox": [
|
| 724 |
+
117,
|
| 725 |
+
148,
|
| 726 |
+
878,
|
| 727 |
+
659
|
| 728 |
+
],
|
| 729 |
+
"page_idx": 4
|
| 730 |
+
},
|
| 731 |
+
{
|
| 732 |
+
"type": "text",
|
| 733 |
+
"text": "loss to make class probabilities better confidence estimates. It estimates the true class probability to be proportional to the number of times a sample is classified correctly during training.",
|
| 734 |
+
"bbox": [
|
| 735 |
+
126,
|
| 736 |
+
684,
|
| 737 |
+
487,
|
| 738 |
+
747
|
| 739 |
+
],
|
| 740 |
+
"page_idx": 4
|
| 741 |
+
},
|
| 742 |
+
{
|
| 743 |
+
"type": "list",
|
| 744 |
+
"sub_type": "text",
|
| 745 |
+
"list_items": [
|
| 746 |
+
"- LogitNorm (Wei et al., 2022) is a variant of CE loss that normalizes the logit vector to have a constant norm during training.",
|
| 747 |
+
"- Bayesian Approximation (Bayes Approx) (Wu et al., 2022b) calibrates distribution uncertainty for OOD detection using Monte-Carlo dropout.",
|
| 748 |
+
"- Reassigned Contrastive Learning (RCL) (Wu et al., 2022a) discriminates over-confident OOD samples using adaptive class-dependent local threshold mechanism."
|
| 749 |
+
],
|
| 750 |
+
"bbox": [
|
| 751 |
+
114,
|
| 752 |
+
749,
|
| 753 |
+
485,
|
| 754 |
+
908
|
| 755 |
+
],
|
| 756 |
+
"page_idx": 4
|
| 757 |
+
},
|
| 758 |
+
{
|
| 759 |
+
"type": "text",
|
| 760 |
+
"text": "- OneVsRest trains a one vs rest binary classifier per label. The probability scores of each label from its corresponding classifier are normalized and used as their respective confidence estimates.",
|
| 761 |
+
"bbox": [
|
| 762 |
+
509,
|
| 763 |
+
684,
|
| 764 |
+
882,
|
| 765 |
+
747
|
| 766 |
+
],
|
| 767 |
+
"page_idx": 4
|
| 768 |
+
},
|
| 769 |
+
{
|
| 770 |
+
"type": "text",
|
| 771 |
+
"text": "4.3 Experimental Settings",
|
| 772 |
+
"text_level": 1,
|
| 773 |
+
"bbox": [
|
| 774 |
+
507,
|
| 775 |
+
765,
|
| 776 |
+
729,
|
| 777 |
+
780
|
| 778 |
+
],
|
| 779 |
+
"page_idx": 4
|
| 780 |
+
},
|
| 781 |
+
{
|
| 782 |
+
"type": "text",
|
| 783 |
+
"text": "We experiment with BERT (Devlin et al., 2019) and RoBERTa (Liu et al., 2019) as text classifiers. For SELFOOD, we train the classifier for 5 epochs with a batch size of 16 using an AdamW optimizer. We use a learning rate of 5e-5 using a linear scheduler with no warm-up steps. For all baselines, we train the classifier for the same number of steps.",
|
| 784 |
+
"bbox": [
|
| 785 |
+
507,
|
| 786 |
+
788,
|
| 787 |
+
882,
|
| 788 |
+
901
|
| 789 |
+
],
|
| 790 |
+
"page_idx": 4
|
| 791 |
+
},
|
| 792 |
+
{
|
| 793 |
+
"type": "text",
|
| 794 |
+
"text": "In our evaluation, for each dataset as in-",
|
| 795 |
+
"bbox": [
|
| 796 |
+
526,
|
| 797 |
+
903,
|
| 798 |
+
882,
|
| 799 |
+
917
|
| 800 |
+
],
|
| 801 |
+
"page_idx": 4
|
| 802 |
+
},
|
| 803 |
+
{
|
| 804 |
+
"type": "page_number",
|
| 805 |
+
"text": "10725",
|
| 806 |
+
"bbox": [
|
| 807 |
+
477,
|
| 808 |
+
927,
|
| 809 |
+
524,
|
| 810 |
+
940
|
| 811 |
+
],
|
| 812 |
+
"page_idx": 4
|
| 813 |
+
},
|
| 814 |
+
{
|
| 815 |
+
"type": "text",
|
| 816 |
+
"text": "distribution, we treat all other datasets as OOD and compute the performance. Our evaluation follows a standard approach for each in-distribution dataset where we begin by splitting the in-distribution dataset into three subsets: $80\\%$ for train, $10\\%$ for val, and $10\\%$ for test. The model is trained using the train split, and its performance is evaluated on both the test split of the in-distribution dataset and the entire OOD dataset.",
|
| 817 |
+
"bbox": [
|
| 818 |
+
112,
|
| 819 |
+
84,
|
| 820 |
+
487,
|
| 821 |
+
227
|
| 822 |
+
],
|
| 823 |
+
"page_idx": 5
|
| 824 |
+
},
|
| 825 |
+
{
|
| 826 |
+
"type": "text",
|
| 827 |
+
"text": "Evaluation Metrics. We utilize evaluation metrics from (Hendrycks and Gimpel, 2017; DeVries and Taylor, 2018; Moon et al., 2020) such as the false positive rate at $95\\%$ true positive rate (FPR95), minimum detection error over all thresholds (ERR), the area under the risk-coverage curve (AURC), and the area under the precision-recall curve (AUPR) using in-distribution samples as the positives.",
|
| 828 |
+
"bbox": [
|
| 829 |
+
112,
|
| 830 |
+
229,
|
| 831 |
+
489,
|
| 832 |
+
357
|
| 833 |
+
],
|
| 834 |
+
"page_idx": 5
|
| 835 |
+
},
|
| 836 |
+
{
|
| 837 |
+
"type": "text",
|
| 838 |
+
"text": "4.4 Results",
|
| 839 |
+
"text_level": 1,
|
| 840 |
+
"bbox": [
|
| 841 |
+
112,
|
| 842 |
+
368,
|
| 843 |
+
218,
|
| 844 |
+
382
|
| 845 |
+
],
|
| 846 |
+
"page_idx": 5
|
| 847 |
+
},
|
| 848 |
+
{
|
| 849 |
+
"type": "text",
|
| 850 |
+
"text": "We summarize the evaluation results with BERT and RoBERTa as classifiers on Yahoo, TREC as in-distribution in Table 2 and NYT, Clima as in-distribution in Appendix A.1. All experiments are run on three random seeds and the mean performance scores are reported. As shown in Table 2, we observe that SELFOOD performs better than the baselines on most of the in-distribution, OOD dataset pairs for both classifiers. A low FPR95 value indicates that the top- $95\\%$ confident in-distribution samples, selected based on their probability scores, predominantly rank higher than a majority of OOD samples and SELFOOD achieves improvements of up to 82 points in FPR95 with Yelp as in-distribution and Clima as OOD datasets when compared to CRL with BERT classifier. SELFOOD also exhibits substantial improvements of up to 33 points in Detection Error, 48 points in AUROC, and 58 points in AUPR when compared to CE-Loss with BERT classifier. SELFOOD achieves a perfect OOD detection score for some settings such as TREC as in-distribution dataset for both BERT and RoBERTa classifiers. These results highlight the effectiveness of our ranking formulation with self-supervised training using IDIL loss.",
|
| 851 |
+
"bbox": [
|
| 852 |
+
112,
|
| 853 |
+
388,
|
| 854 |
+
489,
|
| 855 |
+
806
|
| 856 |
+
],
|
| 857 |
+
"page_idx": 5
|
| 858 |
+
},
|
| 859 |
+
{
|
| 860 |
+
"type": "text",
|
| 861 |
+
"text": "4.5 Ablation Study",
|
| 862 |
+
"text_level": 1,
|
| 863 |
+
"bbox": [
|
| 864 |
+
112,
|
| 865 |
+
818,
|
| 866 |
+
280,
|
| 867 |
+
834
|
| 868 |
+
],
|
| 869 |
+
"page_idx": 5
|
| 870 |
+
},
|
| 871 |
+
{
|
| 872 |
+
"type": "text",
|
| 873 |
+
"text": "To understand the impact of each component in our IDIL loss design and implementation, we compare our method with four ablated versions with BERT classifier in Table 3: (1) SELFOOD + Grad Sub represents our method with backpropagating gradi",
|
| 874 |
+
"bbox": [
|
| 875 |
+
112,
|
| 876 |
+
839,
|
| 877 |
+
489,
|
| 878 |
+
917
|
| 879 |
+
],
|
| 880 |
+
"page_idx": 5
|
| 881 |
+
},
|
| 882 |
+
{
|
| 883 |
+
"type": "table",
|
| 884 |
+
"img_path": "images/6b9b333df54869d365493aa3bec62ad48b66a87f24bb57ed4495eb585ff77d27.jpg",
|
| 885 |
+
"table_caption": [
|
| 886 |
+
"Table 3: Ablation Study."
|
| 887 |
+
],
|
| 888 |
+
"table_footnote": [],
|
| 889 |
+
"table_body": "<table><tr><td>Method</td><td>FPR95</td><td>ERR\nIn Dist: Clima\nOOD: NYT</td><td>AUROC</td><td>AUPR</td></tr><tr><td>SELFOOD</td><td>17.2</td><td>2.6</td><td>97.8</td><td>94.5</td></tr><tr><td>+ Grad Sub</td><td>67.9</td><td>8.9</td><td>82.4</td><td>61.1</td></tr><tr><td>+ Grad Sub & Min</td><td>98.4</td><td>10.7</td><td>49.2</td><td>32.3</td></tr><tr><td>+ Intra-Doc</td><td>92.7</td><td>10.6</td><td>67.3</td><td>41.6</td></tr><tr><td>- SILu</td><td>14.6</td><td>3.9</td><td>96.7</td><td>89.3</td></tr><tr><td></td><td></td><td>In Dist: NYT\nOOD: Clima</td><td></td><td></td></tr><tr><td>SELFOOD</td><td>10.5</td><td>1.7</td><td>98.4</td><td>90.5</td></tr><tr><td>+ Grad Sub only</td><td>83.5</td><td>5.1</td><td>77.4</td><td>44.8</td></tr><tr><td>+ Grad Sub & Min</td><td>96.5</td><td>5.2</td><td>60.3</td><td>36.0</td></tr><tr><td>+ Intra-Doc</td><td>48.3</td><td>2.6</td><td>93.2</td><td>80.2</td></tr><tr><td>- SiLU</td><td>19.0</td><td>2.3</td><td>97.4</td><td>86.0</td></tr></table>",
|
| 890 |
+
"bbox": [
|
| 891 |
+
515,
|
| 892 |
+
97,
|
| 893 |
+
877,
|
| 894 |
+
269
|
| 895 |
+
],
|
| 896 |
+
"page_idx": 5
|
| 897 |
+
},
|
| 898 |
+
{
|
| 899 |
+
"type": "text",
|
| 900 |
+
"text": "ents through the subtrahend instead of the minuend, (2) SELFOOD $^+$ Grad Sub & Min represents our method with gradients backpropagating through both minuend and subtrahend, (3) SELFOOD $^+$ Intra-Doc considers intra-document comparison similar to CE loss, in addition to inter-document intra-label comparison for loss computation, and (4) SELFOOD-SiLU excludes SiLU function from the IDIL loss formulation. We also present the performance of SELFOOD for reference. SELFOOD performs better than SELFOOD $^+$ Grad Sub & Min demonstrating that backpropagating through one part of the difference is more beneficial than both, and the comparison between SELFOOD and SELFOOD $^+$ Grad Sub indicates that backpropagating through minuend is better than subtrahend. We observe that incorporating intra-document comparison into loss formulation leads to a decrement in the ranking ability of the model. Finally, we observe that removing the SiLU function from the IDIL loss leads to a decrease in most of the metrics.",
|
| 901 |
+
"bbox": [
|
| 902 |
+
507,
|
| 903 |
+
294,
|
| 904 |
+
884,
|
| 905 |
+
631
|
| 906 |
+
],
|
| 907 |
+
"page_idx": 5
|
| 908 |
+
},
|
| 909 |
+
{
|
| 910 |
+
"type": "text",
|
| 911 |
+
"text": "5 Analysis & Case Studies",
|
| 912 |
+
"text_level": 1,
|
| 913 |
+
"bbox": [
|
| 914 |
+
507,
|
| 915 |
+
646,
|
| 916 |
+
754,
|
| 917 |
+
663
|
| 918 |
+
],
|
| 919 |
+
"page_idx": 5
|
| 920 |
+
},
|
| 921 |
+
{
|
| 922 |
+
"type": "text",
|
| 923 |
+
"text": "In this section, we present a comprehensive analysis of our proposed method from different perspectives to understand its effectiveness.",
|
| 924 |
+
"bbox": [
|
| 925 |
+
507,
|
| 926 |
+
674,
|
| 927 |
+
884,
|
| 928 |
+
722
|
| 929 |
+
],
|
| 930 |
+
"page_idx": 5
|
| 931 |
+
},
|
| 932 |
+
{
|
| 933 |
+
"type": "text",
|
| 934 |
+
"text": "5.1 CE Loss vs SELFOOD: Training Trajectory Analysis",
|
| 935 |
+
"text_level": 1,
|
| 936 |
+
"bbox": [
|
| 937 |
+
507,
|
| 938 |
+
734,
|
| 939 |
+
815,
|
| 940 |
+
766
|
| 941 |
+
],
|
| 942 |
+
"page_idx": 5
|
| 943 |
+
},
|
| 944 |
+
{
|
| 945 |
+
"type": "text",
|
| 946 |
+
"text": "Mathematically, the model trained using CE loss is a solution to our IDIL loss optimization. However, our empirical results reveal a significant disparity in OOD detection performance between SELFOOD and model trained on CE loss. To gain a deeper understanding, we plot the CE Loss and IDIL losses for models optimized with IDIL and CE loss, as shown in Figure 3(a). We consider Clima as the in-distribution dataset and BERT as the classifier.",
|
| 947 |
+
"bbox": [
|
| 948 |
+
507,
|
| 949 |
+
774,
|
| 950 |
+
884,
|
| 951 |
+
917
|
| 952 |
+
],
|
| 953 |
+
"page_idx": 5
|
| 954 |
+
},
|
| 955 |
+
{
|
| 956 |
+
"type": "page_number",
|
| 957 |
+
"text": "10726",
|
| 958 |
+
"bbox": [
|
| 959 |
+
477,
|
| 960 |
+
927,
|
| 961 |
+
524,
|
| 962 |
+
940
|
| 963 |
+
],
|
| 964 |
+
"page_idx": 5
|
| 965 |
+
},
|
| 966 |
+
{
|
| 967 |
+
"type": "image",
|
| 968 |
+
"img_path": "images/8a5752b037c51fb605f668b88e60675e422e15801264977d92dd949eca9fafaf.jpg",
|
| 969 |
+
"image_caption": [
|
| 970 |
+
"(a) Losses vs Training Steps"
|
| 971 |
+
],
|
| 972 |
+
"image_footnote": [],
|
| 973 |
+
"bbox": [
|
| 974 |
+
119,
|
| 975 |
+
99,
|
| 976 |
+
357,
|
| 977 |
+
217
|
| 978 |
+
],
|
| 979 |
+
"page_idx": 6
|
| 980 |
+
},
|
| 981 |
+
{
|
| 982 |
+
"type": "image",
|
| 983 |
+
"img_path": "images/d26a489c9693b1aebcf29e79ac3e9702c1e60c1eee6c0ab51b27a036ea0909dd.jpg",
|
| 984 |
+
"image_caption": [
|
| 985 |
+
"(b) FPR vs Training Steps"
|
| 986 |
+
],
|
| 987 |
+
"image_footnote": [],
|
| 988 |
+
"bbox": [
|
| 989 |
+
369,
|
| 990 |
+
98,
|
| 991 |
+
610,
|
| 992 |
+
216
|
| 993 |
+
],
|
| 994 |
+
"page_idx": 6
|
| 995 |
+
},
|
| 996 |
+
{
|
| 997 |
+
"type": "image",
|
| 998 |
+
"img_path": "images/50ebefbb99df794abc58210ece2bed50f8d107877b01fecfafbde4ad5b7e3c9b.jpg",
|
| 999 |
+
"image_caption": [
|
| 1000 |
+
"(c) Learned weights"
|
| 1001 |
+
],
|
| 1002 |
+
"image_footnote": [],
|
| 1003 |
+
"bbox": [
|
| 1004 |
+
631,
|
| 1005 |
+
99,
|
| 1006 |
+
810,
|
| 1007 |
+
216
|
| 1008 |
+
],
|
| 1009 |
+
"page_idx": 6
|
| 1010 |
+
},
|
| 1011 |
+
{
|
| 1012 |
+
"type": "image",
|
| 1013 |
+
"img_path": "images/843480b4fbf688fbab1bcf7a6f8714956a78b49a5e9b82558dde471fbc6e5b1a.jpg",
|
| 1014 |
+
"image_caption": [
|
| 1015 |
+
"Figure 3: To understand training trajectories of CE Loss and SELFOOD, we plot their respective losses, validation FPR, and learned weights while training. We observe IDIL loss minimization is more correlated with performance and the learned weights of CE-Loss and SELFOOD show divergent paths since the beginning.",
|
| 1016 |
+
"(a) CE Loss",
|
| 1017 |
+
"Figure 4: Maximum softmax score vs percentile in-distribution & OOD data associated with that score. By using the least in-distribution maximum softmax score as the threshold (dotted line) for OOD classification, CE loss considers more than $50\\%$ and CRL considers almost $100\\%$ of the OOD data as in-distribution (red region). However, in the case of SELFOOD, we observe a clear margin in maximum softmax scores that separate OOD and in-distribution."
|
| 1018 |
+
],
|
| 1019 |
+
"image_footnote": [],
|
| 1020 |
+
"bbox": [
|
| 1021 |
+
119,
|
| 1022 |
+
288,
|
| 1023 |
+
359,
|
| 1024 |
+
412
|
| 1025 |
+
],
|
| 1026 |
+
"page_idx": 6
|
| 1027 |
+
},
|
| 1028 |
+
{
|
| 1029 |
+
"type": "image",
|
| 1030 |
+
"img_path": "images/245c4617d1f5667dd2b7a75204cdbd36e881e23daa2410db3b77879900551b3d.jpg",
|
| 1031 |
+
"image_caption": [
|
| 1032 |
+
"(b) CRL"
|
| 1033 |
+
],
|
| 1034 |
+
"image_footnote": [],
|
| 1035 |
+
"bbox": [
|
| 1036 |
+
371,
|
| 1037 |
+
288,
|
| 1038 |
+
608,
|
| 1039 |
+
412
|
| 1040 |
+
],
|
| 1041 |
+
"page_idx": 6
|
| 1042 |
+
},
|
| 1043 |
+
{
|
| 1044 |
+
"type": "image",
|
| 1045 |
+
"img_path": "images/21ead48aa7a316cff58b0ae8920390495bcb30935f403e1fa7bef841be453af7.jpg",
|
| 1046 |
+
"image_caption": [
|
| 1047 |
+
"(c) SELFOOD"
|
| 1048 |
+
],
|
| 1049 |
+
"image_footnote": [],
|
| 1050 |
+
"bbox": [
|
| 1051 |
+
621,
|
| 1052 |
+
292,
|
| 1053 |
+
867,
|
| 1054 |
+
412
|
| 1055 |
+
],
|
| 1056 |
+
"page_idx": 6
|
| 1057 |
+
},
|
| 1058 |
+
{
|
| 1059 |
+
"type": "text",
|
| 1060 |
+
"text": "Additionally, we plot the validation FPR95 using Yelp as the OOD dataset to analyze the correlation between loss minimization and performance in Figure 3(b). Figure 3(a) illustrates that while minimizing CE loss leads to fluctuations in the IDIL loss, ultimately reaching zero, Figure 3(b) shows that the performance is more closely associated with explicit IDIL minimization. Specifically, minimizing the IDIL loss results in improved FPR95. The findings indicate that the minimization of CE loss and IDIL loss follows distinct trajectories. To validate this hypothesis, we conduct an experiment using a toy 3-dimensional dataset comprising five isometric Gaussian blobs and train a logistic regression classifier initialized with same weights, minimizing IDIL and CE-loss. We flatten the weight matrix and plot the top-3 principal components. As shown in Figure 3(c), the learned weights of CE-Loss and SELFOOD progress in different directions, thereby confirming our hypothesis.",
|
| 1061 |
+
"bbox": [
|
| 1062 |
+
112,
|
| 1063 |
+
502,
|
| 1064 |
+
489,
|
| 1065 |
+
825
|
| 1066 |
+
],
|
| 1067 |
+
"page_idx": 6
|
| 1068 |
+
},
|
| 1069 |
+
{
|
| 1070 |
+
"type": "text",
|
| 1071 |
+
"text": "5.2 Maximum softmax score Analysis",
|
| 1072 |
+
"text_level": 1,
|
| 1073 |
+
"bbox": [
|
| 1074 |
+
112,
|
| 1075 |
+
845,
|
| 1076 |
+
423,
|
| 1077 |
+
860
|
| 1078 |
+
],
|
| 1079 |
+
"page_idx": 6
|
| 1080 |
+
},
|
| 1081 |
+
{
|
| 1082 |
+
"type": "text",
|
| 1083 |
+
"text": "We plot the maximum softmax score with the percentile in-distribution and OOD data associated with that score for CE loss, CRL, and SELFOOD",
|
| 1084 |
+
"bbox": [
|
| 1085 |
+
112,
|
| 1086 |
+
871,
|
| 1087 |
+
487,
|
| 1088 |
+
917
|
| 1089 |
+
],
|
| 1090 |
+
"page_idx": 6
|
| 1091 |
+
},
|
| 1092 |
+
{
|
| 1093 |
+
"type": "text",
|
| 1094 |
+
"text": "with BERT classifier on Clima as in-distribution and NYT as OOD datasets in Figure 4. When comparing the maximum softmax score with the percentile data associated with that score, interesting observations can be made regarding its distribution. Specifically, when using the least in-distribution maximum softmax score as the threshold for OOD classification, we find that the CE loss considers over $50\\%$ of the OOD data and CRL considers almost $100\\%$ of the OOD data as in-distribution. However, in the case of SELFOOD, we observe a clear margin in the maximum softmax scores that effectively separates OOD and in-distribution data. This suggests that the threshold needs to be carefully tuned for CE loss and CRL, requiring more effort and annotated data, whereas in the case of SELFOOD, we do not require such tuning. This demonstrates that SELFOOD is capable of accurately classifying between OOD and in-distribution samples based on their respective maximum softmax scores, resulting in superior performance.",
|
| 1095 |
+
"bbox": [
|
| 1096 |
+
507,
|
| 1097 |
+
502,
|
| 1098 |
+
884,
|
| 1099 |
+
841
|
| 1100 |
+
],
|
| 1101 |
+
"page_idx": 6
|
| 1102 |
+
},
|
| 1103 |
+
{
|
| 1104 |
+
"type": "text",
|
| 1105 |
+
"text": "5.3 Batch size Analysis",
|
| 1106 |
+
"text_level": 1,
|
| 1107 |
+
"bbox": [
|
| 1108 |
+
507,
|
| 1109 |
+
860,
|
| 1110 |
+
705,
|
| 1111 |
+
876
|
| 1112 |
+
],
|
| 1113 |
+
"page_idx": 6
|
| 1114 |
+
},
|
| 1115 |
+
{
|
| 1116 |
+
"type": "text",
|
| 1117 |
+
"text": "We compare documents within the mini-batch when computing the loss. Consequently, the num",
|
| 1118 |
+
"bbox": [
|
| 1119 |
+
507,
|
| 1120 |
+
887,
|
| 1121 |
+
882,
|
| 1122 |
+
917
|
| 1123 |
+
],
|
| 1124 |
+
"page_idx": 6
|
| 1125 |
+
},
|
| 1126 |
+
{
|
| 1127 |
+
"type": "page_number",
|
| 1128 |
+
"text": "10727",
|
| 1129 |
+
"bbox": [
|
| 1130 |
+
477,
|
| 1131 |
+
927,
|
| 1132 |
+
524,
|
| 1133 |
+
940
|
| 1134 |
+
],
|
| 1135 |
+
"page_idx": 6
|
| 1136 |
+
},
|
| 1137 |
+
{
|
| 1138 |
+
"type": "image",
|
| 1139 |
+
"img_path": "images/6ecab13b9bdcccdfea4e0a94db63b28458700569f0881a722f44a8c11c04c977.jpg",
|
| 1140 |
+
"image_caption": [
|
| 1141 |
+
"(a) NYT"
|
| 1142 |
+
],
|
| 1143 |
+
"image_footnote": [],
|
| 1144 |
+
"bbox": [
|
| 1145 |
+
117,
|
| 1146 |
+
87,
|
| 1147 |
+
297,
|
| 1148 |
+
171
|
| 1149 |
+
],
|
| 1150 |
+
"page_idx": 7
|
| 1151 |
+
},
|
| 1152 |
+
{
|
| 1153 |
+
"type": "image",
|
| 1154 |
+
"img_path": "images/7e66588085baee7ee42017a07ad781cf15e66b75644e44d1c10cd37b0d5c9140.jpg",
|
| 1155 |
+
"image_caption": [
|
| 1156 |
+
"(b) Yelp",
|
| 1157 |
+
"Figure 5: Performance of SELFOOD w.r.t. batch size. We consider BERT classifier, Clima as in-distribution, and NYT, Yelp as OOD datasets. We observe an increase in performance with an increase in batch size."
|
| 1158 |
+
],
|
| 1159 |
+
"image_footnote": [],
|
| 1160 |
+
"bbox": [
|
| 1161 |
+
302,
|
| 1162 |
+
87,
|
| 1163 |
+
482,
|
| 1164 |
+
171
|
| 1165 |
+
],
|
| 1166 |
+
"page_idx": 7
|
| 1167 |
+
},
|
| 1168 |
+
{
|
| 1169 |
+
"type": "text",
|
| 1170 |
+
"text": "ber of document pairs over which the loss is computed depends on the batch size used during training. To investigate the impact of batch size on performance, we vary the batch size and evaluate the corresponding performance in Figure 5 with BERT classifier. We consider Clima as in-distribution, and NYT, Yelp as OOD datasets. As the batch size increases, the performance of the model also improves, until a batch size of 16, where the performance reaches a plateau. This observation aligns with our intuition that a larger batch size allows for more in-batch document pairs to be compared, leading to more accurate loss computation. Based on these findings, we recommend utilizing a batch size of 16 or higher to achieve optimal performance.",
|
| 1171 |
+
"bbox": [
|
| 1172 |
+
112,
|
| 1173 |
+
263,
|
| 1174 |
+
489,
|
| 1175 |
+
505
|
| 1176 |
+
],
|
| 1177 |
+
"page_idx": 7
|
| 1178 |
+
},
|
| 1179 |
+
{
|
| 1180 |
+
"type": "text",
|
| 1181 |
+
"text": "5.4 Fine-grained OOD Detection",
|
| 1182 |
+
"text_level": 1,
|
| 1183 |
+
"bbox": [
|
| 1184 |
+
112,
|
| 1185 |
+
517,
|
| 1186 |
+
386,
|
| 1187 |
+
532
|
| 1188 |
+
],
|
| 1189 |
+
"page_idx": 7
|
| 1190 |
+
},
|
| 1191 |
+
{
|
| 1192 |
+
"type": "text",
|
| 1193 |
+
"text": "To explore the limits of SELFOOD, we consider in-distribution and OOD datasets from the same domain. The objective is to assess its ability to differentiate between samples that are closely related but still OOD, which is a challenging task. Specifically, we consider the news domain and choose NYT as the in-distribution, and AGNews (Zhang et al., 2015), $20\\mathrm{News}^4$ as OOD datasets and train BERT classifier. As shown in Table 4, SELFOOD performs significantly better than the baselines on most of the metrics. Moreover, it also achieves near-perfect scores for the AGNews, highlighting its ability to accurately identify OOD samples even when they belong to the same domain as the in-distribution dataset.",
|
| 1194 |
+
"bbox": [
|
| 1195 |
+
112,
|
| 1196 |
+
538,
|
| 1197 |
+
489,
|
| 1198 |
+
778
|
| 1199 |
+
],
|
| 1200 |
+
"page_idx": 7
|
| 1201 |
+
},
|
| 1202 |
+
{
|
| 1203 |
+
"type": "text",
|
| 1204 |
+
"text": "5.5 Classification performance of SELFOOD",
|
| 1205 |
+
"text_level": 1,
|
| 1206 |
+
"bbox": [
|
| 1207 |
+
112,
|
| 1208 |
+
791,
|
| 1209 |
+
482,
|
| 1210 |
+
807
|
| 1211 |
+
],
|
| 1212 |
+
"page_idx": 7
|
| 1213 |
+
},
|
| 1214 |
+
{
|
| 1215 |
+
"type": "text",
|
| 1216 |
+
"text": "The BERT classifier trained with CE-Loss demonstrates exceptional classification performance, achieving accuracy scores of $97\\%$ , $85\\%$ , and $97\\%$ on NYT, Clima, and TREC datasets respectively. In contrast, SELFOOD achieves only $0.3\\%$ , $9.5\\%$ ,",
|
| 1217 |
+
"bbox": [
|
| 1218 |
+
112,
|
| 1219 |
+
813,
|
| 1220 |
+
489,
|
| 1221 |
+
894
|
| 1222 |
+
],
|
| 1223 |
+
"page_idx": 7
|
| 1224 |
+
},
|
| 1225 |
+
{
|
| 1226 |
+
"type": "table",
|
| 1227 |
+
"img_path": "images/e3a607b499b2b3c4490b3557709e1549b681d25ef9645cbd6ef42da801b89b9d.jpg",
|
| 1228 |
+
"table_caption": [
|
| 1229 |
+
"Table 4: Fine-grained OOD detection results with NYT as the in-distribution dataset with BERT classifier. We choose two datasets AGNews, 20News from the news domain, the same as NYT, and consider them as OOD datasets. The results show that SELFOOD can accurately detect OOD samples within the same domain."
|
| 1230 |
+
],
|
| 1231 |
+
"table_footnote": [],
|
| 1232 |
+
"table_body": "<table><tr><td>OOD</td><td>Method</td><td>FPR95</td><td>ERR</td><td>AUROC</td><td>AUPR</td></tr><tr><td rowspan=\"5\">AGNews</td><td>LogitNorm</td><td>45.9</td><td>0.9</td><td>86.7</td><td>15.8</td></tr><tr><td>Bayes Approx</td><td>57.5</td><td>0.9</td><td>87.7</td><td>23.9</td></tr><tr><td>CE-Loss</td><td>45.5</td><td>0.9</td><td>86.5</td><td>16.6</td></tr><tr><td>CRL</td><td>77.2</td><td>0.9</td><td>80.6</td><td>9.5</td></tr><tr><td>SELFOOD</td><td>0.0</td><td>0.1</td><td>100.0</td><td>99.4</td></tr><tr><td rowspan=\"5\">20News</td><td>LogitNorm</td><td>24.5</td><td>6.2</td><td>91.7</td><td>39.2</td></tr><tr><td>Bayes Approx</td><td>35.0</td><td>4.3</td><td>93.7</td><td>66.6</td></tr><tr><td>CE-Loss</td><td>25.4</td><td>6.2</td><td>91.9</td><td>39.6</td></tr><tr><td>CRL</td><td>59.9</td><td>6.4</td><td>87.4</td><td>36.9</td></tr><tr><td>SELFOOD</td><td>28.2</td><td>4.9</td><td>94.2</td><td>61.5</td></tr></table>",
|
| 1233 |
+
"bbox": [
|
| 1234 |
+
515,
|
| 1235 |
+
168,
|
| 1236 |
+
877,
|
| 1237 |
+
297
|
| 1238 |
+
],
|
| 1239 |
+
"page_idx": 7
|
| 1240 |
+
},
|
| 1241 |
+
{
|
| 1242 |
+
"type": "text",
|
| 1243 |
+
"text": "and $1.8\\%$ . This highlights that while SELFOOD serves as a reliable OOD detector, its performance as a text classifier is subpar. This observation can be attributed to our IDIL loss formulation, which focuses on comparing confidence levels across documents for each label rather than across labels for each document. As a result, the IDIL loss primarily promotes the ordinal ranking of confidence levels across documents, which enhances the model's OOD detection capabilities. However, this emphasis on inter-document ranking comes at the expense of inter-label ranking, resulting in limited classification capabilities. Moreover, when we introduce the intra-document comparison to the IDIL loss, as discussed in Section 4.5, we observe a decline in the model's ranking ability. Podolskiy et al. (2021) use mahalanobis distance for OOD detection and observe that although mahalanobis distance alongside transformer-based models is effective, such methods are sensitive to the geometric features in the embedding space and can be spoilt if the embedder is used for classification and is overfit. This matches with our observation, upon adding intra-document comparison to the loss, the OOD detection performance drops. This further supports the notion that balancing the inter-document and intra-document comparisons is crucial for achieving optimal performance in both OOD detection and text classification tasks.",
|
| 1244 |
+
"bbox": [
|
| 1245 |
+
505,
|
| 1246 |
+
321,
|
| 1247 |
+
884,
|
| 1248 |
+
788
|
| 1249 |
+
],
|
| 1250 |
+
"page_idx": 7
|
| 1251 |
+
},
|
| 1252 |
+
{
|
| 1253 |
+
"type": "text",
|
| 1254 |
+
"text": "5.6 SELFOOD + Mahalanobis distance",
|
| 1255 |
+
"text_level": 1,
|
| 1256 |
+
"bbox": [
|
| 1257 |
+
507,
|
| 1258 |
+
800,
|
| 1259 |
+
835,
|
| 1260 |
+
815
|
| 1261 |
+
],
|
| 1262 |
+
"page_idx": 7
|
| 1263 |
+
},
|
| 1264 |
+
{
|
| 1265 |
+
"type": "text",
|
| 1266 |
+
"text": "Mahalanobis distance-based estimation of OOD scores is an effective post-processing method used on trained OOD classifiers (Leys et al., 2018; Xu et al., 2020). We investigate whether this postprocessing further improves the performance of our method. OOD scores are estimated as the dis",
|
| 1267 |
+
"bbox": [
|
| 1268 |
+
507,
|
| 1269 |
+
822,
|
| 1270 |
+
884,
|
| 1271 |
+
917
|
| 1272 |
+
],
|
| 1273 |
+
"page_idx": 7
|
| 1274 |
+
},
|
| 1275 |
+
{
|
| 1276 |
+
"type": "page_footnote",
|
| 1277 |
+
"text": "<sup>4</sup>http://qwone.com/~jason/20Newsgroups/",
|
| 1278 |
+
"bbox": [
|
| 1279 |
+
134,
|
| 1280 |
+
902,
|
| 1281 |
+
425,
|
| 1282 |
+
917
|
| 1283 |
+
],
|
| 1284 |
+
"page_idx": 7
|
| 1285 |
+
},
|
| 1286 |
+
{
|
| 1287 |
+
"type": "page_number",
|
| 1288 |
+
"text": "10728",
|
| 1289 |
+
"bbox": [
|
| 1290 |
+
477,
|
| 1291 |
+
927,
|
| 1292 |
+
524,
|
| 1293 |
+
940
|
| 1294 |
+
],
|
| 1295 |
+
"page_idx": 7
|
| 1296 |
+
},
|
| 1297 |
+
{
|
| 1298 |
+
"type": "table",
|
| 1299 |
+
"img_path": "images/8b4a65c2c4a5883714a7842663631d53db01b27e2773fddcb48717633d8ff359.jpg",
|
| 1300 |
+
"table_caption": [
|
| 1301 |
+
"Table 5: OOD detection results with Mahalanobis Distance post-processing technique. We choose two in-distribution, OOD pairs with BERT classifier. The results show that SELFOOD's OOD detection capabilities are enhanced with the post-processing technique."
|
| 1302 |
+
],
|
| 1303 |
+
"table_footnote": [],
|
| 1304 |
+
"table_body": "<table><tr><td>InD</td><td>OOD</td><td>Method</td><td>FPR95</td><td>ERR</td><td>AUROC</td><td>AUPR</td></tr><tr><td rowspan=\"2\">Clima</td><td rowspan=\"2\">Yelp</td><td>SELFOOD</td><td>14.7</td><td>0.6</td><td>98.0</td><td>90.8</td></tr><tr><td>SELFOOD + Maha</td><td>0.8</td><td>0.2</td><td>99.2</td><td>97.2</td></tr><tr><td rowspan=\"2\">Yelp</td><td rowspan=\"2\">NYT</td><td>SELFOOD</td><td>63.2</td><td>19.6</td><td>79.4</td><td>82.7</td></tr><tr><td>SELFOOD + Maha</td><td>12.4</td><td>4.4</td><td>97.4</td><td>97.5</td></tr></table>",
|
| 1305 |
+
"bbox": [
|
| 1306 |
+
121,
|
| 1307 |
+
164,
|
| 1308 |
+
480,
|
| 1309 |
+
230
|
| 1310 |
+
],
|
| 1311 |
+
"page_idx": 8
|
| 1312 |
+
},
|
| 1313 |
+
{
|
| 1314 |
+
"type": "text",
|
| 1315 |
+
"text": "tance between a test data point and the distribution of in-distribution samples using the Mahalanobis distance metric. Following (Xu et al., 2020), we consider the intermediate layer encodings of the OOD classifier trained on in-distribution samples as its representative distribution. We apply this post-processing on top of SELFOOD and experiment with two in-distribution, OOD pairs with BERT classifier. As shown in Table 5, we observe further improvement in performance, demonstrating the quality of learned representative distribution using SELFOOD.",
|
| 1316 |
+
"bbox": [
|
| 1317 |
+
112,
|
| 1318 |
+
255,
|
| 1319 |
+
487,
|
| 1320 |
+
448
|
| 1321 |
+
],
|
| 1322 |
+
"page_idx": 8
|
| 1323 |
+
},
|
| 1324 |
+
{
|
| 1325 |
+
"type": "text",
|
| 1326 |
+
"text": "5.7 Qualitative Analysis of SELFOOD",
|
| 1327 |
+
"text_level": 1,
|
| 1328 |
+
"bbox": [
|
| 1329 |
+
112,
|
| 1330 |
+
458,
|
| 1331 |
+
431,
|
| 1332 |
+
474
|
| 1333 |
+
],
|
| 1334 |
+
"page_idx": 8
|
| 1335 |
+
},
|
| 1336 |
+
{
|
| 1337 |
+
"type": "text",
|
| 1338 |
+
"text": "We present a few examples with Yelp as in-distribution and TREC as OOD where SELFOOD accurately distinguishes and CE-loss fails to distinguish between in-distribution and OOD samples in Table 6. Although the first example has food-related words like lunch, cork and sentiment-indicative words such as contemptible scoundrel, SELFOOD accurately identifies it as OOD and CE loss model fails to do so. Examples 3 and 4 have questions that revolve around eateries. CE-Loss model confuses and predicts them as OOD as TREC dataset contains only questions. However, SELFOOD was able to rank them higher and accurately identify them as in-distribution.",
|
| 1339 |
+
"bbox": [
|
| 1340 |
+
112,
|
| 1341 |
+
480,
|
| 1342 |
+
489,
|
| 1343 |
+
705
|
| 1344 |
+
],
|
| 1345 |
+
"page_idx": 8
|
| 1346 |
+
},
|
| 1347 |
+
{
|
| 1348 |
+
"type": "text",
|
| 1349 |
+
"text": "6 Conclusion",
|
| 1350 |
+
"text_level": 1,
|
| 1351 |
+
"bbox": [
|
| 1352 |
+
112,
|
| 1353 |
+
717,
|
| 1354 |
+
247,
|
| 1355 |
+
732
|
| 1356 |
+
],
|
| 1357 |
+
"page_idx": 8
|
| 1358 |
+
},
|
| 1359 |
+
{
|
| 1360 |
+
"type": "text",
|
| 1361 |
+
"text": "In this paper, we present SELFOOD, a novel framework for OOD detection that leverages only in-distribution samples as supervision. Building upon the insight that OOD samples typically do not belong to any in-distribution labels, we formulate the OOD detection problem as an inter-document intra-label ranking task. To address this challenge, we propose IDIL loss which guides the training process. Through extensive experiments on multiple datasets, we demonstrate the effectiveness of SELFOOD on OOD detection task. However, we",
|
| 1362 |
+
"bbox": [
|
| 1363 |
+
112,
|
| 1364 |
+
741,
|
| 1365 |
+
489,
|
| 1366 |
+
917
|
| 1367 |
+
],
|
| 1368 |
+
"page_idx": 8
|
| 1369 |
+
},
|
| 1370 |
+
{
|
| 1371 |
+
"type": "table",
|
| 1372 |
+
"img_path": "images/8fdfe9fd323f511cb13b9e3f9b76b8870373430a1fdfcce1f4727f34c868ed28.jpg",
|
| 1373 |
+
"table_caption": [
|
| 1374 |
+
"Table 6: Qualitative analysis of CE-Loss vs SELFOOD with Yelp as in-distribution and TREC as OOD datasets. Wrong predictions are in Red and correct predictions are in Green."
|
| 1375 |
+
],
|
| 1376 |
+
"table_footnote": [],
|
| 1377 |
+
"table_body": "<table><tr><td>Text</td><td>CE-Loss</td><td>SELFOOD</td></tr><tr><td>Who said “What contemptible scoundrel stole the cork from my lunch?”</td><td>InD</td><td>OOD</td></tr><tr><td>Who said “Give me liberty or give me death”?</td><td>InD</td><td>OOD</td></tr><tr><td>Its a tequila house - wouldn’t you want your staff to be knowledgeable about tequila? Call me silly. So Gregg and I are wondering Bourbon Street, looking for the next "place"...</td><td>OOD</td><td>InD</td></tr><tr><td>the pitch reads: "what’s worse than mean girl cheerleaders? how about resurrected mean-girl cheerleaders with supernatural powers?" And if this place could be farther away from my house, it’d be in Camden... Oh, the Vomitorium, every time i grace the hipster-stained ...</td><td>OOD</td><td>InD</td></tr></table>",
|
| 1378 |
+
"bbox": [
|
| 1379 |
+
515,
|
| 1380 |
+
140,
|
| 1381 |
+
873,
|
| 1382 |
+
338
|
| 1383 |
+
],
|
| 1384 |
+
"page_idx": 8
|
| 1385 |
+
},
|
| 1386 |
+
{
|
| 1387 |
+
"type": "text",
|
| 1388 |
+
"text": "also acknowledge that it comes at the expense of text classification performance. Future research can focus on developing techniques that effectively balance inter-document and intra-document comparisons, enabling improved performance in both OOD detection and text classification tasks.",
|
| 1389 |
+
"bbox": [
|
| 1390 |
+
507,
|
| 1391 |
+
353,
|
| 1392 |
+
884,
|
| 1393 |
+
449
|
| 1394 |
+
],
|
| 1395 |
+
"page_idx": 8
|
| 1396 |
+
},
|
| 1397 |
+
{
|
| 1398 |
+
"type": "text",
|
| 1399 |
+
"text": "7 Limitations",
|
| 1400 |
+
"text_level": 1,
|
| 1401 |
+
"bbox": [
|
| 1402 |
+
507,
|
| 1403 |
+
462,
|
| 1404 |
+
645,
|
| 1405 |
+
476
|
| 1406 |
+
],
|
| 1407 |
+
"page_idx": 8
|
| 1408 |
+
},
|
| 1409 |
+
{
|
| 1410 |
+
"type": "text",
|
| 1411 |
+
"text": "As mentioned in the previous sections, the OOD detection performance of our method comes at the cost of classification performance. This limitation needs to be addressed.",
|
| 1412 |
+
"bbox": [
|
| 1413 |
+
507,
|
| 1414 |
+
488,
|
| 1415 |
+
882,
|
| 1416 |
+
552
|
| 1417 |
+
],
|
| 1418 |
+
"page_idx": 8
|
| 1419 |
+
},
|
| 1420 |
+
{
|
| 1421 |
+
"type": "text",
|
| 1422 |
+
"text": "8 Ethics Statement",
|
| 1423 |
+
"text_level": 1,
|
| 1424 |
+
"bbox": [
|
| 1425 |
+
507,
|
| 1426 |
+
565,
|
| 1427 |
+
690,
|
| 1428 |
+
579
|
| 1429 |
+
],
|
| 1430 |
+
"page_idx": 8
|
| 1431 |
+
},
|
| 1432 |
+
{
|
| 1433 |
+
"type": "text",
|
| 1434 |
+
"text": "This paper proposes a self-supervised OOD detection method. The aim of the paper is to minimize the human effort in annotating OOD documents and using only in-distribution documents for OOD detection. OOD detection is helpful in detection potential harmful content. Hence, we do not anticipate any major ethical concerns.",
|
| 1435 |
+
"bbox": [
|
| 1436 |
+
507,
|
| 1437 |
+
590,
|
| 1438 |
+
882,
|
| 1439 |
+
703
|
| 1440 |
+
],
|
| 1441 |
+
"page_idx": 8
|
| 1442 |
+
},
|
| 1443 |
+
{
|
| 1444 |
+
"type": "text",
|
| 1445 |
+
"text": "9 Acknowledgments",
|
| 1446 |
+
"text_level": 1,
|
| 1447 |
+
"bbox": [
|
| 1448 |
+
507,
|
| 1449 |
+
715,
|
| 1450 |
+
702,
|
| 1451 |
+
732
|
| 1452 |
+
],
|
| 1453 |
+
"page_idx": 8
|
| 1454 |
+
},
|
| 1455 |
+
{
|
| 1456 |
+
"type": "text",
|
| 1457 |
+
"text": "We thank the anonymous reviewers and our colleagues from Shang Data Lab, especially Bill Hogan and Zihan Wang for their helpful feedback. Our work is sponsored in part by NSF CAREER Award 2239440, NSF Proto-OKN Award 2333790, NIH Bridge2AI Center Program under award 1U54HG012510-01, Cisco-UCSD Sponsored Research Project, as well as generous gifts from Google, Adobe, and Teradata. Any opinions, findings, and conclusions or recommendations expressed herein are those of the authors and should",
|
| 1458 |
+
"bbox": [
|
| 1459 |
+
507,
|
| 1460 |
+
741,
|
| 1461 |
+
884,
|
| 1462 |
+
917
|
| 1463 |
+
],
|
| 1464 |
+
"page_idx": 8
|
| 1465 |
+
},
|
| 1466 |
+
{
|
| 1467 |
+
"type": "page_number",
|
| 1468 |
+
"text": "10729",
|
| 1469 |
+
"bbox": [
|
| 1470 |
+
477,
|
| 1471 |
+
927,
|
| 1472 |
+
524,
|
| 1473 |
+
940
|
| 1474 |
+
],
|
| 1475 |
+
"page_idx": 8
|
| 1476 |
+
},
|
| 1477 |
+
{
|
| 1478 |
+
"type": "text",
|
| 1479 |
+
"text": "not be interpreted as necessarily representing the views, either expressed or implied, of the U.S. Government. The U.S. Government is authorized to reproduce and distribute reprints for government purposes notwithstanding any copyright annotation hereon.",
|
| 1480 |
+
"bbox": [
|
| 1481 |
+
112,
|
| 1482 |
+
84,
|
| 1483 |
+
489,
|
| 1484 |
+
180
|
| 1485 |
+
],
|
| 1486 |
+
"page_idx": 9
|
| 1487 |
+
},
|
| 1488 |
+
{
|
| 1489 |
+
"type": "text",
|
| 1490 |
+
"text": "References",
|
| 1491 |
+
"text_level": 1,
|
| 1492 |
+
"bbox": [
|
| 1493 |
+
115,
|
| 1494 |
+
206,
|
| 1495 |
+
213,
|
| 1496 |
+
223
|
| 1497 |
+
],
|
| 1498 |
+
"page_idx": 9
|
| 1499 |
+
},
|
| 1500 |
+
{
|
| 1501 |
+
"type": "list",
|
| 1502 |
+
"sub_type": "ref_text",
|
| 1503 |
+
"list_items": [
|
| 1504 |
+
"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.",
|
| 1505 |
+
"Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. 2019. Bert: Pre-training of deep bidirectional transformers for language understanding. ArXiv, abs/1810.04805.",
|
| 1506 |
+
"Terrance DeVries and Graham W Taylor. 2018. Learning confidence for out-of-distribution detection in neural networks. arXiv preprint arXiv:1802.04865.",
|
| 1507 |
+
"Stefan Elfwing, Eiji Uchibe, and Kenji Doya. 2018. Sigmoid-weighted linear units for neural network function approximation in reinforcement learning. Neural Networks, 107:3-11.",
|
| 1508 |
+
"Geli Fei and Bing Liu. 2016. Breaking the closed world assumption in text classification. In Proceedings of the 2016 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pages 506-514.",
|
| 1509 |
+
"Varun Gangal, Abhinav Arora, Arash Einolghozati, and Sonal Gupta. 2020. Likelihood ratios and generative classifiers for unsupervised out-of-domain detection in task-oriented dialog. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 34, pages 7764-7771.",
|
| 1510 |
+
"Irving John Good. 1952. Rational decisions. Journal of the Royal Statistical Society: Series B (Methodological), 14(1):107-114.",
|
| 1511 |
+
"Chuan Guo, Geoff Pleiss, Yu Sun, and Kilian Q Weinberger. 2017. On calibration of modern neural networks. In International conference on machine learning, pages 1321-1330. PMLR.",
|
| 1512 |
+
"Chirag Gupta and Aaditya Ramdas. 2021. Top-label calibration and multiclass-to-binary reductions. arXiv preprint arXiv:2107.08353."
|
| 1513 |
+
],
|
| 1514 |
+
"bbox": [
|
| 1515 |
+
115,
|
| 1516 |
+
231,
|
| 1517 |
+
489,
|
| 1518 |
+
917
|
| 1519 |
+
],
|
| 1520 |
+
"page_idx": 9
|
| 1521 |
+
},
|
| 1522 |
+
{
|
| 1523 |
+
"type": "list",
|
| 1524 |
+
"sub_type": "ref_text",
|
| 1525 |
+
"list_items": [
|
| 1526 |
+
"Richard HR Hahnloser, Rahul Sarpeshkar, Misha A Mahowald, Rodney J Douglas, and H Sebastian Seung. 2000. Digital selection and analogue amplification coexist in a cortex-inspired silicon circuit. nature, 405(6789):947-951.",
|
| 1527 |
+
"Dan Hendrycks and Kevin Gimpel. 2017. A baseline for detecting misclassified and out-of-distribution examples in neural networks. In International Conference on Learning Representations.",
|
| 1528 |
+
"Dan Hendrycks, Mantas Mazeika, and Thomas Dietterich. 2018. Deep anomaly detection with outlier exposure. arXiv preprint arXiv:1812.04606.",
|
| 1529 |
+
"Eduard Hovy, Laurie Gerber, Ulf Hermjakob, ChinYew Lin, and Deepak Ravichandran. 2001. Toward semantics-based answer pinpointing. In Proceedings of the First International Conference on Human Language Technology Research.",
|
| 1530 |
+
"Yen-Chang Hsu, Yilin Shen, Hongxia Jin, and Zsolt Kira. 2020. Generalized odin: Detecting out-of-distribution image without learning from out-of-distribution data. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 10951-10960.",
|
| 1531 |
+
"Amita Kamath, Robin Jia, and Percy Liang. 2020. Selective question answering under domain shift. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pages 5684-5696.",
|
| 1532 |
+
"Yoon Kim. 2014. Convolutional neural networks for sentence classification. In Proceedings of the 2014 Conference on Empirical Methods in Natural Language Processing (EMNLP), pages 1746-1751, Doha, Qatar. Association for Computational Linguistics.",
|
| 1533 |
+
"Stefan Larson, Anish Mahendran, Joseph J Peper, Christopher Clarke, Andrew Lee, Parker Hill, Jonathan K Kummerfeld, Kevin Leach, Michael A Laurenzano, Lingjia Tang, and et al. 2019. An evaluation dataset for intent classification and out-of-scope prediction. In Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP), pages 1311-1316.",
|
| 1534 |
+
"Tanmay Laud, Daniel Spokoyny, Tom Corringham, and Taylor Berg-Kirkpatrick. 2023. Climabench: A benchmark dataset for climate change text understanding in english. arXiv preprint arXiv:2301.04253.",
|
| 1535 |
+
"Kimin Lee, Kibok Lee, Honglak Lee, and Jinwoo Shin. 2018. A simple unified framework for detecting out-of-distribution samples and adversarial attacks. Advances in neural information processing systems, 31."
|
| 1536 |
+
],
|
| 1537 |
+
"bbox": [
|
| 1538 |
+
510,
|
| 1539 |
+
84,
|
| 1540 |
+
884,
|
| 1541 |
+
917
|
| 1542 |
+
],
|
| 1543 |
+
"page_idx": 9
|
| 1544 |
+
},
|
| 1545 |
+
{
|
| 1546 |
+
"type": "page_number",
|
| 1547 |
+
"text": "10730",
|
| 1548 |
+
"bbox": [
|
| 1549 |
+
477,
|
| 1550 |
+
927,
|
| 1551 |
+
524,
|
| 1552 |
+
940
|
| 1553 |
+
],
|
| 1554 |
+
"page_idx": 9
|
| 1555 |
+
},
|
| 1556 |
+
{
|
| 1557 |
+
"type": "list",
|
| 1558 |
+
"sub_type": "ref_text",
|
| 1559 |
+
"list_items": [
|
| 1560 |
+
"Christophe Leys, Olivier Klein, Yves Dominicy, and Christophe Ley. 2018. Detecting multivariate outliers: Use a robust variant of the mahalanobis distance. Journal of experimental social psychology, 74:150-156.",
|
| 1561 |
+
"Xiaoya Li, Jiwei Li, Xiaofei Sun, Chun Fan, Tianwei Zhang, Fei Wu, Yuxian Meng, and Jun Zhang. 2021. $k$ folden: $k$ -fold ensemble for out-of-distribution detection. arXiv preprint arXiv:2108.12731.",
|
| 1562 |
+
"Xin Li and Dan Roth. 2002. Learning question classifiers. In COLING 2002: The 19th International Conference on Computational Linguistics.",
|
| 1563 |
+
"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.",
|
| 1564 |
+
"Dheeraj Mekala, Chengyu Dong, and Jingbo Shang. 2022a. LOPS: Learning order inspired pseudo-label selection for weakly supervised text classification. In *Findings of the Association for Computational Linguistics: EMNLP* 2022, pages 4894-4908, Abu Dhabi, United Arab Emirates. Association for Computational Linguistics.",
|
| 1565 |
+
"Dheeraj Mekala, Varun Gangal, and Jingbo Shang. 2021. Coarse2Fine: Fine-grained text classification on coarsely-grained annotated data. In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing, pages 583-594, Online and Punta Cana, Dominican Republic. Association for Computational Linguistics.",
|
| 1566 |
+
"Dheeraj Mekala and Jingbo Shang. 2020. Contextualized weak supervision for text classification. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pages 323-333.",
|
| 1567 |
+
"Dheeraj Mekala, Tu Vu, Timo Schick, and Jingbo Shang. 2022b. Leveraging qa datasets to improve generative data augmentation. In Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing.",
|
| 1568 |
+
"Jooyoung Moon, Jihyo Kim, Younghak Shin, and Sangheum Hwang. 2020. Confidence-aware learning for deep neural networks. In international conference on machine learning, pages 7034-7044. PMLR.",
|
| 1569 |
+
"Anh Nguyen, Jason Yosinski, and Jeff Clune. 2015. Deep neural networks are easily fooled: High confidence predictions for unrecognizable images. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 427-436.",
|
| 1570 |
+
"Yawen Ouyang, Jiasheng Ye, Yu Chen, Xinyu Dai, Shujian Huang, and Jiajun Chen. 2021. Energy-based unknown intent detection with data manipulation. arXiv preprint arXiv:2107.12542."
|
| 1571 |
+
],
|
| 1572 |
+
"bbox": [
|
| 1573 |
+
115,
|
| 1574 |
+
85,
|
| 1575 |
+
489,
|
| 1576 |
+
917
|
| 1577 |
+
],
|
| 1578 |
+
"page_idx": 10
|
| 1579 |
+
},
|
| 1580 |
+
{
|
| 1581 |
+
"type": "list",
|
| 1582 |
+
"sub_type": "ref_text",
|
| 1583 |
+
"list_items": [
|
| 1584 |
+
"Alexander Podolskiy, Dmitry Lipin, Andrey Bout, Ekaterina Artemova, and Irina Pionkovskaya. 2021. Revisiting mahalanobis distance for transformer-based out-of-domain detection. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 35, pages 13675-13682.",
|
| 1585 |
+
"Alec Radford, Jeff Wu, Rewon Child, David Luan, Dario Amodei, and Ilya Sutskever. 2019. Language models are unsupervised multitask learners.",
|
| 1586 |
+
"Jie Ren, Peter J Liu, Emily Fertig, Jasper Snoek, Ryan Poplin, Mark Depristo, Joshua Dillon, and Balaji Lakshminarayanan. 2019. Likelihood ratios for out-of-distribution detection. Advances in neural information processing systems, 32.",
|
| 1587 |
+
"Frank Rosenblatt. 1957. The perceptron, a perceiving and recognizing automaton Project Para. Cornell Aeronautical Laboratory.",
|
| 1588 |
+
"Christian Szegedy, Wojciech Zaremba, Ilya Sutskever, Joan Bruna, Dumitru Erhan, Ian Goodfellow, and Rob Fergus. 2013. Intriguing properties of neural networks. arXiv preprint arXiv:1312.6199.",
|
| 1589 |
+
"Mariya Toneva, Alessandro Sordoni, Remi Tachet des Combes, Adam Trischler, Yoshua Bengio, and Geoffrey J. Gordon. 2019. An empirical study of example forgetting during deep neural network learning. In International Conference on Learning Representations.",
|
| 1590 |
+
"Apoory Vyas, Nataraj Jammalamadaka, Xia Zhu, Dipankar Das, Bharat Kaul, and Theodore L Willke. 2018. Out-of-distribution detection using an ensemble of self supervised leave-out classifiers. In Proceedings of the European Conference on Computer Vision (ECCV), pages 550-564.",
|
| 1591 |
+
"Hongxin Wei, Renchunzi Xie, Hao Cheng, Lei Feng, Bo An, and Yixuan Li. 2022. Mitigating neural network overconfidence with logit normalization. In International Conference on Machine Learning, pages 23631-23644. PMLR.",
|
| 1592 |
+
"Yanan Wu, Keqing He, Yuanmeng Yan, QiXiang Gao, Zhiyuan Zeng, Fujia Zheng, Lulu Zhao, Huixing Jiang, Wei Wu, and Weiran Xu. 2022a. Revisit overconfidence for ood detection: Reassigned contrastive learning with adaptive class-dependent threshold. In Proceedings of the 2022 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pages 4165-4179.",
|
| 1593 |
+
"Yanan Wu, Zhiyuan Zeng, Keqing He, Yutao Mou, Pei Wang, and Weiran Xu. 2022b. Distribution calibration for out-of-domain detection with Bayesian approximation. In Proceedings of the 29th International Conference on Computational Linguistics, pages 608-615, Gyeongju, Republic of Korea. International Committee on Computational Linguistics."
|
| 1594 |
+
],
|
| 1595 |
+
"bbox": [
|
| 1596 |
+
510,
|
| 1597 |
+
85,
|
| 1598 |
+
882,
|
| 1599 |
+
917
|
| 1600 |
+
],
|
| 1601 |
+
"page_idx": 10
|
| 1602 |
+
},
|
| 1603 |
+
{
|
| 1604 |
+
"type": "page_number",
|
| 1605 |
+
"text": "10731",
|
| 1606 |
+
"bbox": [
|
| 1607 |
+
477,
|
| 1608 |
+
928,
|
| 1609 |
+
522,
|
| 1610 |
+
940
|
| 1611 |
+
],
|
| 1612 |
+
"page_idx": 10
|
| 1613 |
+
},
|
| 1614 |
+
{
|
| 1615 |
+
"type": "list",
|
| 1616 |
+
"sub_type": "ref_text",
|
| 1617 |
+
"list_items": [
|
| 1618 |
+
"Hong Xu, Keqing He, Yuanmeng Yan, Sihong Liu, Zijun Liu, and Weiran Xu. 2020. A deep generative distance-based classifier for out-of-domain detection with mahalanobis space. In Proceedings of the 28th International Conference on Computational Linguistics, pages 1452-1460.",
|
| 1619 |
+
"Zhilin Yang, Zihang Dai, Yiming Yang, Jaime G. Carbonell, Ruslan Salakhutdinov, and Quoc V. Le. 2019. Xlnet: Generalized autoregressive pretraining for language understanding. In Neural Information Processing Systems.",
|
| 1620 |
+
"Zhiyuan Zeng, Keqing He, Yuanmeng Yan, Zijun Liu, Yanan Wu, Hong Xu, Huixing Jiang, and Weiran Xu. 2021a. Modeling discriminative representations for out-of-domain detection with supervised contrastive learning. arXiv preprint arXiv:2105.14289.",
|
| 1621 |
+
"Zhiyuan Zeng, Hong Xu, Keqing He, Yuanmeng Yan, Sihong Liu, Zijun Liu, and Weiran Xu. 2021b. Adversarial generative distance-based classifier for robust out-of-domain detection. In ICASSP 2021-2021 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pages 7658-7662. IEEE.",
|
| 1622 |
+
"Li-Ming Zhan, Haowen Liang, Bo Liu, Lu Fan, Xiaoming Wu, and Albert Lam. 2021. Out-of-scope intent detection with self-supervision and discriminative training. arXiv preprint arXiv:2106.08616.",
|
| 1623 |
+
"Xiang Zhang, Junbo Zhao, and Yann LeCun. 2015. Character-level convolutional networks for text classification. In C. Cortes, N. D. Lawrence, D. D. Lee, M. Sugiyama, and R. Garnett, editors, Advances in Neural Information Processing Systems 28, pages 649-657. Curran Associates, Inc.",
|
| 1624 |
+
"Wenxuan Zhou, Fangyu Liu, and Muhao Chen. 2021. Contrastive out-of-distribution detection for pretrained transformers. arXiv preprint arXiv:2104.08812."
|
| 1625 |
+
],
|
| 1626 |
+
"bbox": [
|
| 1627 |
+
115,
|
| 1628 |
+
85,
|
| 1629 |
+
489,
|
| 1630 |
+
630
|
| 1631 |
+
],
|
| 1632 |
+
"page_idx": 11
|
| 1633 |
+
},
|
| 1634 |
+
{
|
| 1635 |
+
"type": "page_number",
|
| 1636 |
+
"text": "10732",
|
| 1637 |
+
"bbox": [
|
| 1638 |
+
477,
|
| 1639 |
+
927,
|
| 1640 |
+
524,
|
| 1641 |
+
940
|
| 1642 |
+
],
|
| 1643 |
+
"page_idx": 11
|
| 1644 |
+
},
|
| 1645 |
+
{
|
| 1646 |
+
"type": "text",
|
| 1647 |
+
"text": "A Appendix",
|
| 1648 |
+
"text_level": 1,
|
| 1649 |
+
"bbox": [
|
| 1650 |
+
114,
|
| 1651 |
+
84,
|
| 1652 |
+
238,
|
| 1653 |
+
99
|
| 1654 |
+
],
|
| 1655 |
+
"page_idx": 12
|
| 1656 |
+
},
|
| 1657 |
+
{
|
| 1658 |
+
"type": "text",
|
| 1659 |
+
"text": "A.1 Results with NYT & Clima as in-distribution datasets",
|
| 1660 |
+
"text_level": 1,
|
| 1661 |
+
"bbox": [
|
| 1662 |
+
114,
|
| 1663 |
+
109,
|
| 1664 |
+
396,
|
| 1665 |
+
139
|
| 1666 |
+
],
|
| 1667 |
+
"page_idx": 12
|
| 1668 |
+
},
|
| 1669 |
+
{
|
| 1670 |
+
"type": "text",
|
| 1671 |
+
"text": "We present experimental results on Clima and NYT as in-distribution datasets with BERT and RoBERTa classifiers in Table 7.",
|
| 1672 |
+
"bbox": [
|
| 1673 |
+
112,
|
| 1674 |
+
146,
|
| 1675 |
+
487,
|
| 1676 |
+
193
|
| 1677 |
+
],
|
| 1678 |
+
"page_idx": 12
|
| 1679 |
+
},
|
| 1680 |
+
{
|
| 1681 |
+
"type": "text",
|
| 1682 |
+
"text": "A.2 Experimental Settings",
|
| 1683 |
+
"text_level": 1,
|
| 1684 |
+
"bbox": [
|
| 1685 |
+
114,
|
| 1686 |
+
205,
|
| 1687 |
+
339,
|
| 1688 |
+
219
|
| 1689 |
+
],
|
| 1690 |
+
"page_idx": 12
|
| 1691 |
+
},
|
| 1692 |
+
{
|
| 1693 |
+
"type": "text",
|
| 1694 |
+
"text": "Training trajectory analysis experiment. We compare two experiments showcasing empirical evidence on how the trajectory of CE-loss models and IDI loss models differ. In 3(b) we plot the change in validation FPR on BERT-classifiers optimized on CE-loss and IDIL loss. Here, we calculate the FPR across training steps on a validation dataset consisting of 500 in-distribution and OOD data points each to compare the training trajectories of the two models.",
|
| 1695 |
+
"bbox": [
|
| 1696 |
+
112,
|
| 1697 |
+
225,
|
| 1698 |
+
489,
|
| 1699 |
+
384
|
| 1700 |
+
],
|
| 1701 |
+
"page_idx": 12
|
| 1702 |
+
},
|
| 1703 |
+
{
|
| 1704 |
+
"type": "text",
|
| 1705 |
+
"text": "We generate the toy dataset by creating five isometric Gaussian blobs of 3-dimensional data points, with each cluster containing 1000 samples. The centers of all the clusters are bounded by the range $[-10.0, 10.0]$ and the cluster standard deviation is set to 2.0 to account for limited overlap between cluster datapoints. We consider four clusters as being in-distribution and the remaining cluster as OOD. We train a logistic regression classifier on the in-domain datapoints initialized with the same weights and minimizing IDIL and CE-loss. The model is optimized using Stochastic Gradient Descent with a learning rate of 0.01 for 300 epochs. The weights are visualized at the beginning of each epoch. In order to facilitate visualization, the weight matrices of both approaches of dimension are flattened and Principal Component Analysis (PCA) is applied to reduce the dimensionality of the weight matrix. We plot the top-3 principal components after each epoch to conclude that the learned weights of CE-loss and SELFOOD progress in a different manner.",
|
| 1706 |
+
"bbox": [
|
| 1707 |
+
112,
|
| 1708 |
+
387,
|
| 1709 |
+
489,
|
| 1710 |
+
740
|
| 1711 |
+
],
|
| 1712 |
+
"page_idx": 12
|
| 1713 |
+
},
|
| 1714 |
+
{
|
| 1715 |
+
"type": "page_number",
|
| 1716 |
+
"text": "10733",
|
| 1717 |
+
"bbox": [
|
| 1718 |
+
477,
|
| 1719 |
+
927,
|
| 1720 |
+
524,
|
| 1721 |
+
940
|
| 1722 |
+
],
|
| 1723 |
+
"page_idx": 12
|
| 1724 |
+
},
|
| 1725 |
+
{
|
| 1726 |
+
"type": "table",
|
| 1727 |
+
"img_path": "images/28bd720c516d0ea3088961387b884e4957a96758ee5d5e06303c61dbd0ff18d3.jpg",
|
| 1728 |
+
"table_caption": [],
|
| 1729 |
+
"table_footnote": [],
|
| 1730 |
+
"table_body": "<table><tr><td rowspan=\"2\">In-dist</td><td rowspan=\"2\">OOD</td><td rowspan=\"2\">Method</td><td colspan=\"4\">BERT</td><td colspan=\"4\">RoBERTa</td></tr><tr><td>FPR95(↓)</td><td>ERR(↓)</td><td>AUROC(↑)</td><td>AUPR(↑)</td><td>FPR95(↓)</td><td>ERR(↓)</td><td>AUROC(↑)</td><td>AUPR(↑)</td></tr><tr><td rowspan=\"21\">NYT</td><td rowspan=\"7\">Clima</td><td>LogitNorm</td><td>20.6</td><td>1.0</td><td>96.8</td><td>92.3</td><td>18.4</td><td>1.0</td><td>97.3</td><td>93.6</td></tr><tr><td>OneVsRest</td><td>84.7</td><td>1.7</td><td>87.3</td><td>82.6</td><td>92.7</td><td>1.9</td><td>91.1</td><td>85.1</td></tr><tr><td>RCL</td><td>46.9</td><td>1.5</td><td>94.4</td><td>87.5</td><td>86.7</td><td>2.3</td><td>86.7</td><td>76.6</td></tr><tr><td>Bayes Approx</td><td>40.6</td><td>1.2</td><td>95.4</td><td>90.0</td><td>80.0</td><td>2.4</td><td>88.4</td><td>76.5</td></tr><tr><td>CE Loss</td><td>22.1</td><td>1.0</td><td>96.9</td><td>92.5</td><td>15.7</td><td>1.0</td><td>97.3</td><td>92.8</td></tr><tr><td>CRL</td><td>32.3</td><td>1.7</td><td>95.4</td><td>86.5</td><td>79.3</td><td>3.2</td><td>79.8</td><td>67.0</td></tr><tr><td>SELFOOD</td><td>10.5</td><td>1.6</td><td>98.4</td><td>90.5</td><td>4.6</td><td>1.0</td><td>99.3</td><td>95.4</td></tr><tr><td rowspan=\"7\">TREC</td><td>LogitNorm</td><td>13.3</td><td>5.5</td><td>97.2</td><td>87.9</td><td>17.5</td><td>6.4</td><td>96.1</td><td>84.1</td></tr><tr><td>OneVsRest</td><td>96.0</td><td>6.2</td><td>84.0</td><td>79.4</td><td>97.2</td><td>6.3</td><td>90.5</td><td>82.8</td></tr><tr><td>RCL</td><td>62.9</td><td>6.1</td><td>92.2</td><td>85.8</td><td>73.9</td><td>8.8</td><td>88.4</td><td>73.1</td></tr><tr><td>Bayes Approx</td><td>38.8</td><td>4.5</td><td>94.8</td><td>89.9</td><td>67.5</td><td>8.3</td><td>88.7</td><td>74.7</td></tr><tr><td>CE Loss</td><td>14.5</td><td>5.8</td><td>97.0</td><td>87.1</td><td>21.9</td><td>6.7</td><td>95.5</td><td>83.5</td></tr><tr><td>CRL</td><td>67.9</td><td>6.5</td><td>89.9</td><td>79.1</td><td>85.6</td><td>9.6</td><td>71.4</td><td>61.4</td></tr><tr><td>SELFOOD</td><td>0.0</td><td>0.0</td><td>100.0</td><td>100.0</td><td>0.0</td><td>0.0</td><td>100.0</td><td>100.0</td></tr><tr><td rowspan=\"7\">Yelp</td><td>LogitNorm</td><td>1.7</td><td>0.6</td><td>99.3</td><td>87.9</td><td>1.2</td><td>0.6</td><td>98.5</td><td>87.9</td></tr><tr><td>OneVsRest</td><td>15.1</td><td>0.7</td><td>97.4</td><td>78.1</td><td>8.7</td><td>0.6</td><td>97.6</td><td>78.8</td></tr><tr><td>RCL</td><td>45.1</td><td>0.5</td><td>94.9</td><td>84.7</td><td>76.7</td><td>1.0</td><td>90.2</td><td>60.0</td></tr><tr><td>Bayes Approx</td><td>28.7</td><td>0.4</td><td>96.4</td><td>86.8</td><td>83.0</td><td>1.1</td><td>87.7</td><td>56.6</td></tr><tr><td>CE Loss</td><td>3.4</td><td>0.7</td><td>99.2</td><td>82.3</td><td>1.8</td><td>0.6</td><td>99.3</td><td>85.4</td></tr><tr><td>CRL</td><td>69.5</td><td>0.5</td><td>89.3</td><td>77.8</td><td>73.3</td><td>1.0</td><td>83.8</td><td>58.3</td></tr><tr><td>SELFOOD</td><td>22.5</td><td>1.1</td><td>95.7</td><td>57.8</td><td>0.2</td><td>0.2</td><td>99.9</td><td>97.5</td></tr><tr><td rowspan=\"21\">Clima</td><td rowspan=\"7\">TREC</td><td>LogitNorm</td><td>37.8</td><td>5.5</td><td>94.6</td><td>91.9</td><td>60.5</td><td>7.0</td><td>91.6</td><td>88.0</td></tr><tr><td>OneVsRest</td><td>25.5</td><td>6.8</td><td>95.5</td><td>91.8</td><td>54.3</td><td>15.5</td><td>84.5</td><td>67.7</td></tr><tr><td>RCL</td><td>80.1</td><td>18.4</td><td>75.7</td><td>55.3</td><td>91.2</td><td>18.4</td><td>66.6</td><td>47.7</td></tr><tr><td>Bayes Approx</td><td>83.7</td><td>15.8</td><td>77.5</td><td>63.8</td><td>65.7</td><td>13.9</td><td>83.6</td><td>70.7</td></tr><tr><td>CE Loss</td><td>34.9</td><td>5.6</td><td>94.9</td><td>92.2</td><td>60.2</td><td>9.1</td><td>90.4</td><td>83.8</td></tr><tr><td>CRL</td><td>83.0</td><td>12.7</td><td>82.0</td><td>72.2</td><td>60.9</td><td>12.6</td><td>79.2</td><td>63.2</td></tr><tr><td>SELFOOD</td><td>0.3</td><td>1.1</td><td>99.4</td><td>99.4</td><td>38.9</td><td>8.8</td><td>90.1</td><td>84.7</td></tr><tr><td rowspan=\"7\">Yelp</td><td>LogitNorm</td><td>57.7</td><td>0.8</td><td>93.0</td><td>81.3</td><td>54.7</td><td>1.2</td><td>92.6</td><td>72.3</td></tr><tr><td>OneVsRest</td><td>43.7</td><td>1.0</td><td>92.7</td><td>72.5</td><td>58.8</td><td>1.8</td><td>73.5</td><td>34.7</td></tr><tr><td>RCL</td><td>91.0</td><td>2.3</td><td>60.7</td><td>12.2</td><td>98.0</td><td>2.3</td><td>56.4</td><td>12.7</td></tr><tr><td>Bayes Approx</td><td>81.4</td><td>2.2</td><td>76.5</td><td>22.7</td><td>96.8</td><td>2.2</td><td>52.3</td><td>16.3</td></tr><tr><td>CE Loss</td><td>46.3</td><td>0.9</td><td>93.8</td><td>80.1</td><td>79.5</td><td>1.9</td><td>86.5</td><td>47.2</td></tr><tr><td>CRL</td><td>98.7</td><td>1.4</td><td>67.3</td><td>53.3</td><td>72.9</td><td>2.1</td><td>50.9</td><td>19.0</td></tr><tr><td>SELFOOD</td><td>14.7</td><td>0.6</td><td>98.0</td><td>90.8</td><td>37.6</td><td>1.5</td><td>72.3</td><td>54.9</td></tr><tr><td rowspan=\"7\">NYT</td><td>LogitNorm</td><td>37.6</td><td>4.2</td><td>94.4</td><td>87.3</td><td>46.1</td><td>4.5</td><td>93.1</td><td>85.4</td></tr><tr><td>OneVsRest</td><td>34.6</td><td>4.8</td><td>94.3</td><td>85.3</td><td>40.6</td><td>9.4</td><td>83.1</td><td>51.3</td></tr><tr><td>RCL</td><td>90.3</td><td>12.1</td><td>64.6</td><td>28.8</td><td>97.9</td><td>12.4</td><td>51.5</td><td>21.2</td></tr><tr><td>Bayes Approx</td><td>87.4</td><td>11.2</td><td>70.4</td><td>38.3</td><td>96.8</td><td>11.3</td><td>55.8</td><td>29.2</td></tr><tr><td>CE Loss</td><td>44.9</td><td>4.8</td><td>93.2</td><td>84.4</td><td>62.5</td><td>6.7</td><td>89.6</td><td>75.2</td></tr><tr><td>CRL</td><td>85.6</td><td>7.6</td><td>78.0</td><td>62.5</td><td>61.3</td><td>9.4</td><td>61.8</td><td>39.9</td></tr><tr><td>SELFOOD</td><td>17.2</td><td>2.6</td><td>97.8</td><td>94.5</td><td>55.3</td><td>6.7</td><td>68.6</td><td>61.5</td></tr></table>",
|
| 1731 |
+
"bbox": [
|
| 1732 |
+
117,
|
| 1733 |
+
208,
|
| 1734 |
+
878,
|
| 1735 |
+
720
|
| 1736 |
+
],
|
| 1737 |
+
"page_idx": 13
|
| 1738 |
+
},
|
| 1739 |
+
{
|
| 1740 |
+
"type": "text",
|
| 1741 |
+
"text": "Table 7: OOD detection results with BERT & RoBERTa classifiers. Each experiment is repeated with three random seeds and the mean scores are reported. The false-positive-rate at $95\\%$ true-positive-rate (FPR95), minimum detection error over all thresholds (ERR), the area under the risk-coverage curve (AURC), and the area under the precision-recall curve (AUPR) using in-distribution samples as the positives are used as evaluation metrics.",
|
| 1742 |
+
"bbox": [
|
| 1743 |
+
112,
|
| 1744 |
+
728,
|
| 1745 |
+
882,
|
| 1746 |
+
787
|
| 1747 |
+
],
|
| 1748 |
+
"page_idx": 13
|
| 1749 |
+
},
|
| 1750 |
+
{
|
| 1751 |
+
"type": "page_number",
|
| 1752 |
+
"text": "10734",
|
| 1753 |
+
"bbox": [
|
| 1754 |
+
477,
|
| 1755 |
+
928,
|
| 1756 |
+
524,
|
| 1757 |
+
940
|
| 1758 |
+
],
|
| 1759 |
+
"page_idx": 13
|
| 1760 |
+
}
|
| 1761 |
+
]
|
2023/SELFOOD_ Self-Supervised Out-Of-Distribution Detection via Learning to Rank/f2ac6bc4-d902-4552-a8de-3700ee905922_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2023/SELFOOD_ Self-Supervised Out-Of-Distribution Detection via Learning to Rank/f2ac6bc4-d902-4552-a8de-3700ee905922_origin.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:85df53e816e2b2aab9a02c63a3fb7feff836ef055d499ae0e47ce34c0f7c2584
|
| 3 |
+
size 655530
|
2023/SELFOOD_ Self-Supervised Out-Of-Distribution Detection via Learning to Rank/full.md
ADDED
|
@@ -0,0 +1,323 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# SELFOOD: Self-Supervised Out-Of-Distribution Detection via Learning to Rank
|
| 2 |
+
|
| 3 |
+
Dheeraj Mekala\*, Adithya Samavedhi\*, Chengyu Dong\* Jingbo Shang\*, University of California San Diego
|
| 4 |
+
|
| 5 |
+
$^{\text{©}}$ Halicioglu Data Science Institute, University of California San Diego
|
| 6 |
+
|
| 7 |
+
{dmekala, asamavedhi, cdong, jshang}@ucsd.edu
|
| 8 |
+
|
| 9 |
+
# Abstract
|
| 10 |
+
|
| 11 |
+
Deep neural classifiers trained with cross-entropy (CE) loss often suffer from poor calibration, necessitating the task of out-of-distribution (OOD) detection. Traditional supervised OOD detection methods require expensive manual annotation of in-distribution and OOD samples. To address the annotation bottleneck, we introduce SELFOOD, a self-supervised OOD detection method that requires only in-distribution samples as supervision. We cast OOD detection as an inter-document intralabel (IDIL) ranking problem and train the classifier with our pairwise ranking loss, referred to as IDIL loss. Specifically, given a set of in-distribution documents and their labels, for each label, we train the classifier to rank the softmax scores of documents belonging to that label to be higher than the scores of documents that belong to other labels. Unlike CE loss, our IDIL loss reaches zero when the desired confidence ranking is achieved and gradients are backpropagated to decrease probabilities associated with incorrect labels rather than continuously increasing the probability of the correct label. Extensive experiments with several classifiers on multiple classification datasets demonstrate the effectiveness of our method in both coarse-and fine-grained settings.
|
| 12 |
+
|
| 13 |
+
# 1 Introduction
|
| 14 |
+
|
| 15 |
+
Deep neural networks (DNNs) are ubiquitously used for text classification (Liu et al., 2019; Devlin et al., 2019; Yang et al., 2019; Brown et al., 2020). However, they are generally poorly calibrated, resulting in erroneously high-confidence scores for both in-distribution and out-of-distribution (OOD) samples (Szegedy et al., 2013; Nguyen et al., 2015; Guo et al., 2017; Mekala et al., 2022a). Such poor calibration makes DNNs unreliable, and OOD detection task vital for the safe deployment of
|
| 16 |
+
|
| 17 |
+

|
| 18 |
+
(a) CE Loss
|
| 19 |
+
|
| 20 |
+

|
| 21 |
+
(b) IDIL Loss
|
| 22 |
+
Figure 1: CE Loss and IDIL loss optimization for documents $D_{1} \in \text{Sports}$ and $D_{2} \in \text{Arts}$ . CE loss increases scores corresponding to the Sports for $D_{1}$ and Arts for $D_{2}$ , implying an intra-document comparison. Instead, IDIL loss compares softmax scores in an inter-document intra-label fashion where it reduces scores corresponding to Sports for $D_{2}$ to be less than that of $D_{1}$ .
|
| 23 |
+
|
| 24 |
+
deep learning models in safety-critical applications (Moon et al., 2020).
|
| 25 |
+
|
| 26 |
+
Traditional supervised OOD detection methods (Hendrycks et al., 2018; Larson et al., 2019; Kamath et al., 2020; Zeng et al., 2021b) assume access to high-quality manually annotated in-distribution and OOD samples. However, this requires extensive annotation of OOD samples belonging to diverse distributions, which is expensive to obtain. Moreover, text classifiers are ideally desired to be more confident on in-distribution samples than OOD samples. However, the poor calibration of DNN precludes this phenomenon.
|
| 27 |
+
|
| 28 |
+
To address these problems, we propose SELFOOD, a self-supervised OOD detection framework that requires only in-distribution samples as supervision. To adhere to the aforementioned ranking constraint, we formulate OOD detection as an inter-document intra-label (IDIL) ranking problem and train the classifier using our pairwise ranking loss, referred to as IDIL loss. As
|
| 29 |
+
|
| 30 |
+

|
| 31 |
+
Figure 2: SELFOOD is a self-supervised framework that requires only annotated in-distribution data to train the OOD classifier. Firstly, we bucket documents based on their annotated label (in dotted lines). Then, we compare each document in a bucket with all documents in other buckets to compute IDIL loss (in solid lines). Finally, we backpropagate gradients to decrease scores associated with incorrect labels during the training of the OOD classifier.
|
| 32 |
+
|
| 33 |
+
shown in Figure 1(a), text classifiers are generally trained using cross-entropy (CE) loss (Good, 1952) in an intra-document fashion where for each document, the classifier is trained to distinguish between different labels by maximizing the score corresponding to the correct label. Instead, in our method, as shown in Figure 1(b), we propose to train in an inter-document, intra-label fashion where for each label, we train the model to rank the considered label probability score in documents belonging to the label higher compared to those not belonging to it. As OOD documents generally do not belong to any in-distribution label, we hypothesize such explicit learning to rank translates to accurately distinguishing OOD from in-distribution.
|
| 34 |
+
|
| 35 |
+
Moreover, minimizing CE loss involves continuous optimization to increase the probability of the correct label over the other labels, making the classifier overconfident (Wei et al., 2022). Instead, in our method, our IDIL loss function becomes zero once the desired ranking is achieved, and during training, we backpropagate gradients to decrease probabilities associated with incorrect labels rather than increasing the probability of the correct label. Theoretically, the perfect model trained using the CE loss with 0 training loss is a solution to our ranking problem, however, in Section 5.1, we empirically show that our ranking objective leads to a different solution, demonstrating the importance of the optimization procedure. Finally, it is important to note that our ranking formulation, loss function, and the self-supervised training strategy are specifically designed to improve the performance of OOD detection rather than classification accuracy.
|
| 36 |
+
|
| 37 |
+
We present our framework in Figure 2. Given a set of in-distribution documents and corresponding
|
| 38 |
+
|
| 39 |
+
labels as input, we bucket documents belonging to each label and train the classifier to rank the probabilities using our IDIL loss function. Specifically, for each document in a label bucket, we pair up with all documents in every other bucket and compute IDIL loss.
|
| 40 |
+
|
| 41 |
+
Our contributions are summarized as follows:
|
| 42 |
+
|
| 43 |
+
- We propose SELFFOOD, a novel self-supervised method to train an OOD detection model without any OOD samples as supervision.
|
| 44 |
+
- We formulate OOD detection as an inter-document intra-label ranking problem and optimize it using our IDIL ranking loss.
|
| 45 |
+
- We perform extensive experiments on multiple text classification datasets to demonstrate the effectiveness of our method in OOD detection.
|
| 46 |
+
We release the code on $\mathbf{G h i t b u^{1}}$
|
| 47 |
+
|
| 48 |
+
# 2 Related Work
|
| 49 |
+
|
| 50 |
+
Traditional supervised methods cast the OOD detection as classification with binary labels (Kamath et al., 2020), with one additional label for unseen classes (Fei and Liu, 2016). Since manually annotating documents is expensive (Mekala and Shang, 2020; Mekala et al., 2022b), recent works have deviated from requiring such extensive annotations and leveraging various distance metrics to detect OOD samples. Leys et al. (2018); Xu et al. (2020) use Mahalanobis distance as a post-processing technique to identify OOD samples. These methods use distance-based scoring functions along with the intermediate model layer features to determine an OOD score. Lee et al. (2018); Hsu et al. (2020) use a similar distance metric called ODIN to detect
|
| 51 |
+
|
| 52 |
+
OOD images. An alternate approach to compensate for the lack of OOD training data involves generating pseudo-OOD data for training. Ouyang et al. (2021) propose a framework to generate high-quality OOD utterances and importance weights by selectively replacing phrases in in-domain samples. Zhan et al. (2021) generate pseudo-OOD samples for the task of intent detection using self-supervision. Zhou et al. (2021); Zeng et al. (2021a) introduce self-supervised approaches to OOD detection using a contrastive learning framework. They suggest fine-tuning transformers using a margin-based contrastive loss to learn text representations (Mekala et al., 2021) for OOD classification. Vyas et al. (2018); Li et al. (2021) treat a part of in-domain data as OOD samples as an alternate self-supervised approach. Further, Wu et al. (2022a) use a Reassigned Contrastive Loss (RCL) along with an adaptive class-dependent threshold mechanism to separate in-domain and OOD intents. Ren et al. (2019); Ggangal et al. (2020) leverage likelihood ratios crafted by generative models to classify OOD samples. Wei et al. (2022) observe that the norm of the logits keeps increasing during training, leading to overconfident outputs, and propose LogitNorm as a solution to decoupling the output norm during training optimization. Moon et al. (2020) introduce a novel Correctness Ranking Loss function in order to regularize output probabilities to produce well-ranked confidence estimates. Other calibration techniques include "Top-label" calibration which is used to regularize the reported probability for the predicted class (Gupta and Ramdas, 2021).
|
| 53 |
+
|
| 54 |
+
# 3 SELFOOD: Self-Supervised OOD Detection
|
| 55 |
+
|
| 56 |
+
We present the problem statement, the motivation for our ranking formulation, and our method including the loss function and its optimization strategy.
|
| 57 |
+
|
| 58 |
+
# 3.1 Problem Statement
|
| 59 |
+
|
| 60 |
+
In this paper, we work on the OOD detection task with only in-distribution samples and no OOD samples as supervision. Specifically, given a labeled dataset $\mathcal{D}^{InD} = \{(x_1,y_1),(x_2,y_2),\ldots (x_n,y_n)\}$ sampled from a distribution space $(\mathcal{X},\mathcal{C})$ where documents $x_{i}\in \mathcal{X}$ and labels $y_{i}\in \mathcal{C}$ as input, our goal is to train an OOD detector $\mathcal{M}$ that accurately distinguishes in-distribution documents $\mathcal{D}^{InD}$ and OOD documents $\mathcal{D}^{OOD}\notin (\mathcal{X},\mathcal{C})$ without any
|
| 61 |
+
|
| 62 |
+
OOD documents required for training.
|
| 63 |
+
|
| 64 |
+
# 3.2 Motivation
|
| 65 |
+
|
| 66 |
+
Numerous neural text classifiers have been proposed, incorporating multiple hidden layers (Rosenblatt, 1957), convolutional layers (Kim, 2014), and various types of attention mechanisms (Devlin et al., 2019; Liu et al., 2019; Radford et al., 2019). All these models culminate in a softmax head, which produces probabilities corresponding to each class. These classifiers are generally trained with CE loss in an intra-document fashion i.e. each document is considered independently and the softmax score of the true label is maximized. Such training of neural text classifiers is known to increase the magnitude of logit vectors even when most training examples are correctly classified (Wei et al., 2022), making them poorly calibrated, producing unreasonably high probabilities even for incorrect predictions (Szegedy et al., 2013; Nguyen et al., 2015; Guo et al., 2017). This diminishes their ability to maintain the desired attribute of ordinal ranking for predictions based on confidence levels, wherein a prediction exhibiting a higher confidence value should be considered more likely to be accurate than one with a lower confidence value (Moon et al., 2020). Intuitively, a text classifier possessing such quality would be a perfect OOD detector.
|
| 67 |
+
|
| 68 |
+
# 3.3 OOD Detection as Inter-Document Intra-Label Ranking
|
| 69 |
+
|
| 70 |
+
In order to align with the aforementioned characteristic, we propose formulating the OOD detection as an inter-document, intra-label ranking problem. Specifically, given a set of in-distribution documents, we compare across documents but within the same label and train our model to generate higher probability score for documents belonging to the label than for documents not belonging to the label. We consider the same model architecture as any text classifier with a softmax head that generates scores corresponding to each label, however, we train it using our IDIL loss instead of CE loss. Our assumption is that an OOD document does not fall under any specific label in the in-distribution space. Hence, we anticipate that the trained model would produce lower scores for OOD documents compared to in-distribution documents. This distinction in scores is expected to facilitate easy separation between OOD and in-distribution documents.
|
| 71 |
+
|
| 72 |
+
IDIL Loss is a pairwise-ranking loss that enforces
|
| 73 |
+
|
| 74 |
+
desired ordinal ranking of confidence estimates. This loss function reaches its minimum value for a particular label when the probability of that label being the annotated label is greater than its probability when it is not the annotated label. Specifically, for documents $x_{1}, x_{2} \in \mathcal{D}^{InD}$ and their corresponding annotated labels $y_{1}, y_{2}$ where $y_{1} \neq y_{2}$ , IDIL loss corresponding to label $y_{1}$ is mathematically computed as follows:
|
| 75 |
+
|
| 76 |
+
$$
|
| 77 |
+
\mathcal {L} _ {I D I L} \left(y _ {1} \mid x _ {1}, x _ {2}\right) = S i L U \left(p \left(y _ {1} \mid x _ {2}\right) - p \left(y _ {1} \mid x _ {1}\right)\right) \tag {1}
|
| 78 |
+
$$
|
| 79 |
+
|
| 80 |
+
where $SiLU(x) = x\sigma(x)$ is the Sigmoid Linear Unit (SiLU) function (Elfwing et al., 2018). To ensure stable training and enhance performance, we incorporate the SiLU function, a continuous variant of the Rectified Linear Unit (ReLU) (Hahnloser et al., 2000), in conjunction with the ranking loss. The SiLU function introduces smooth gradients around zero, effectively mitigating potential instability issues during training. We observe that this inclusion contributes to the overall stability in training and improved performance of the model as shown in Section 4.5. Note that, in contrast to CE loss, IDIL loss becomes zero once desired ranking is achieved, addressing the overconfidence issue.
|
| 81 |
+
|
| 82 |
+
# 3.4 Implementation
|
| 83 |
+
|
| 84 |
+
Ideally, the loss has to be computed over all possible pairs of documents for each model update. However, it is computationally expensive. Therefore, following (Toneva et al., 2019; Moon et al., 2020), we approximate the computation by considering only documents in each mini-batch. Specifically, we bucket the documents in the mini-batch based on their annotated label and pair each document in a bucket with all documents in other buckets and compute the loss. Mathematically, the loss for a mini-batch $b$ is computed as follows:
|
| 85 |
+
|
| 86 |
+
$$
|
| 87 |
+
\mathcal {L} = \sum_ {l \in \mathcal {C}} \sum_ {x _ {1} \in b _ {l}} \sum_ {x _ {2} \in b _ {- l}} \mathcal {L} _ {I D I L} (l | x _ {1}, x _ {2})
|
| 88 |
+
$$
|
| 89 |
+
|
| 90 |
+
where $b_{l}$ denotes the set of training data points $x$ in this batch $b$ whose label are $l$ , and $b_{-l}$ denotes the set of training data points $x$ in this batch $b$ whose label is not $l$ .
|
| 91 |
+
|
| 92 |
+
In contrast to CE loss, where the optimization involves increasing the score corresponding to the correct label, we backpropagate gradients to decrease scores associated with incorrect labels. Specifically, during the backpropagation of gradients, we detach the gradients for the subrahend
|
| 93 |
+
|
| 94 |
+
Table 1: Dataset statistics.
|
| 95 |
+
|
| 96 |
+
<table><tr><td>Dataset</td><td>Domain</td><td>Criteria</td><td>#Docs</td><td>#labels</td></tr><tr><td>NYT</td><td>News</td><td>Topic</td><td>13081</td><td>26</td></tr><tr><td>Yelp</td><td>Reviews</td><td>Sentiment</td><td>70000</td><td>5</td></tr><tr><td>Clima</td><td>Climate</td><td>Question Type</td><td>17175</td><td>8</td></tr><tr><td>TREC</td><td>General</td><td>Question Type</td><td>5952</td><td>6</td></tr></table>
|
| 97 |
+
|
| 98 |
+
of the difference and exclusively propagate the gradients through the minuend. In Equation 1, for instance, we detach the gradients for $p(y_{1}|x_{1})$ and solely backpropagate the gradients through $p(y_{1}|x_{2})$ . This detachment allows for a more controlled and selective gradient flow, aiding in the optimization process, and improvement in performance as shown in Section 4.5.
|
| 99 |
+
|
| 100 |
+
It is important to note that our optimization focuses solely on the inter-document ranking loss. Consequently, while the trained model would serve as a reliable OOD detector, it may not perform as effectively as a classifier.
|
| 101 |
+
|
| 102 |
+
# 4 Experiments
|
| 103 |
+
|
| 104 |
+
We evaluate our OOD detection method against state-of-the-art baselines with two classifiers on multiple datasets belonging to different domains.
|
| 105 |
+
|
| 106 |
+
# 4.1 Datasets
|
| 107 |
+
|
| 108 |
+
We evaluate our method and baselines on four publicly available English text classification datasets belonging to different domains. In particular, we consider the news topic classification dataset New York Times (NYT), restaurant review sentiment classification dataset Yelp, and question-type classification datasets related to climate: ClimaInsurance+ (Clima) (Laud et al., 2023), and a general domain: TREC (Li and Roth, 2002; Hovy et al., 2001). The documents within the New York Times dataset are labeled with both coarse and fine-grained labels. For our training and testing process, we utilize fine-grained labels. The dataset statistics are provided in Table 1.
|
| 109 |
+
|
| 110 |
+
# 4.2 Compared Methods
|
| 111 |
+
|
| 112 |
+
- Cross Entropy Loss (CE Loss) trains a classifier using CE loss on in-distribution documents. The predicted probabilities from the classifier are used as confidence estimates for OOD detection.
|
| 113 |
+
- Correctness Ranking Loss (CRL) (Moon et al., 2020) is a regularization term added to the CE
|
| 114 |
+
|
| 115 |
+
Table 2: OOD detection results with BERT & RoBERTa classifiers. Each experiment is repeated with three random seeds and the mean scores are reported. The false-positive-rate at $95\%$ true-positive-rate (FPR95), minimum detection error over all thresholds (ERR), the area under the risk-coverage curve (AURC), and the area under the precision-recall curve (AUPR) using in-distribution samples as the positives are used as evaluation metrics.
|
| 116 |
+
|
| 117 |
+
<table><tr><td rowspan="2">In-dist</td><td rowspan="2">OOD</td><td rowspan="2">Method</td><td colspan="4">BERT</td><td colspan="4">RoBERTa</td></tr><tr><td>FPR95(↓)</td><td>ERR(↓)</td><td>AUROC(↑)</td><td>AUPR(↑)</td><td>FPR95(↓)</td><td>ERR(↓)</td><td>AUROC(↑)</td><td>AUPR(↑)</td></tr><tr><td rowspan="21">Yelp</td><td rowspan="7">NYT</td><td>LogitNorm</td><td>82.0</td><td>33.2</td><td>69.4</td><td>57.9</td><td>84.4</td><td>33.9</td><td>66.6</td><td>55.0</td></tr><tr><td>OneVsRest</td><td>85.1</td><td>35.8</td><td>62.4</td><td>49.3</td><td>88.5</td><td>29.6</td><td>69.8</td><td>56.5</td></tr><tr><td>RCL</td><td>56.9</td><td>31.2</td><td>73.2</td><td>55.2</td><td>87.7</td><td>34.5</td><td>56.7</td><td>45.0</td></tr><tr><td>Bayes Approx</td><td>64.3</td><td>35.9</td><td>66.5</td><td>50.3</td><td>79.6</td><td>36.4</td><td>54.1</td><td>40.8</td></tr><tr><td>CE Loss</td><td>82.1</td><td>34.9</td><td>63.4</td><td>50.7</td><td>79.8</td><td>32.9</td><td>66.8</td><td>58.0</td></tr><tr><td>CRL</td><td>99.9</td><td>36.9</td><td>43.9</td><td>51.1</td><td>99.8</td><td>28.1</td><td>64.8</td><td>60.5</td></tr><tr><td>SELFOOD</td><td>63.2</td><td>19.6</td><td>79.4</td><td>82.7</td><td>69.5</td><td>21.6</td><td>72.6</td><td>78.8</td></tr><tr><td rowspan="7">Clima</td><td>LogitNorm</td><td>79.2</td><td>25.5</td><td>72.5</td><td>54.8</td><td>82.6</td><td>25.4</td><td>70.7</td><td>54.0</td></tr><tr><td>OneVsRest</td><td>83.0</td><td>25.1</td><td>69.5</td><td>53.2</td><td>86.7</td><td>28.0</td><td>53.8</td><td>33.7</td></tr><tr><td>RCL</td><td>59.9</td><td>27.8</td><td>67.4</td><td>42.1</td><td>73.9</td><td>22.5</td><td>70.7</td><td>56.3</td></tr><tr><td>Bayes Approx</td><td>74.7</td><td>28.7</td><td>56.7</td><td>33.6</td><td>63.0</td><td>28.0</td><td>66.8</td><td>40.9</td></tr><tr><td>CE Loss</td><td>83.2</td><td>27.8</td><td>48.6</td><td>37.0</td><td>76.4</td><td>22.0</td><td>78.2</td><td>68.4</td></tr><tr><td>CRL</td><td>99.6</td><td>29.0</td><td>49.1</td><td>38.8</td><td>99.9</td><td>20.6</td><td>63.0</td><td>56.9</td></tr><tr><td>SELFOOD</td><td>17.6</td><td>4.8</td><td>97.9</td><td>96.4</td><td>65.6</td><td>16.6</td><td>73.2</td><td>77.2</td></tr><tr><td rowspan="7">TREC</td><td>LogitNorm</td><td>68.2</td><td>27.0</td><td>79.8</td><td>82.1</td><td>60.8</td><td>23.0</td><td>83.9</td><td>84.4</td></tr><tr><td>OneVsRest</td><td>84.8</td><td>40.0</td><td>63.9</td><td>69.7</td><td>75.5</td><td>33.0</td><td>57.9</td><td>61.2</td></tr><tr><td>RCL</td><td>89.8</td><td>43.2</td><td>40.1</td><td>51.5</td><td>77.4</td><td>32.4</td><td>65.0</td><td>68.6</td></tr><tr><td>Bayes Approx</td><td>92.5</td><td>44.7</td><td>32.1</td><td>44.7</td><td>51.8</td><td>25.9</td><td>72.7</td><td>69.4</td></tr><tr><td>CE Loss</td><td>74.2</td><td>33.7</td><td>52.8</td><td>62.7</td><td>58.5</td><td>27.5</td><td>75.3</td><td>78.3</td></tr><tr><td>CRL</td><td>33.3</td><td>15.5</td><td>66.7</td><td>77.2</td><td>100.0</td><td>37.3</td><td>56.7</td><td>73.9</td></tr><tr><td>SELFOOD</td><td>0.0</td><td>0.0</td><td>100.0</td><td>100.0</td><td>55.1</td><td>20.6</td><td>80.2</td><td>90.3</td></tr><tr><td rowspan="21">TREC</td><td rowspan="7">Yelp</td><td>LogitNorm</td><td>32.3</td><td>0.3</td><td>95.5</td><td>78.1</td><td>15.2</td><td>0.5</td><td>95.7</td><td>44.7</td></tr><tr><td>OneVsRest</td><td>4.2</td><td>0.3</td><td>97.9</td><td>83.4</td><td>39.3</td><td>0.4</td><td>91.6</td><td>63.0</td></tr><tr><td>RCL</td><td>78.5</td><td>0.6</td><td>80.2</td><td>20.2</td><td>67.7</td><td>0.6</td><td>83.0</td><td>24.2</td></tr><tr><td>Bayes Approx</td><td>46.6</td><td>0.4</td><td>93.0</td><td>61.6</td><td>63.7</td><td>0.7</td><td>87.7</td><td>21.3</td></tr><tr><td>CE Loss</td><td>27.2</td><td>0.3</td><td>94.9</td><td>71.2</td><td>11.3</td><td>0.4</td><td>96.9</td><td>62.3</td></tr><tr><td>CRL</td><td>96.6</td><td>0.7</td><td>70.9</td><td>16.5</td><td>99.8</td><td>0.7</td><td>24.3</td><td>9.7</td></tr><tr><td>SELFOOD</td><td>0.0</td><td>0.0</td><td>100.0</td><td>100.0</td><td>0.0</td><td>0.0</td><td>100.0</td><td>100.0</td></tr><tr><td rowspan="7">NYT</td><td>LogitNorm</td><td>9.3</td><td>1.0</td><td>97.7</td><td>91.2</td><td>10.9</td><td>2.3</td><td>97.2</td><td>77.3</td></tr><tr><td>OneVsRest</td><td>1.8</td><td>0.5</td><td>99.0</td><td>95.8</td><td>32.5</td><td>1.8</td><td>93.2</td><td>74.8</td></tr><tr><td>RCL</td><td>63.6</td><td>3.3</td><td>84.1</td><td>45.7</td><td>74.2</td><td>3.0</td><td>80.4</td><td>45.1</td></tr><tr><td>Bayes Approx</td><td>39.1</td><td>2.5</td><td>93.5</td><td>68.1</td><td>64.9</td><td>3.0</td><td>88.4</td><td>54.4</td></tr><tr><td>CE Loss</td><td>8.4</td><td>1.3</td><td>97.6</td><td>87.5</td><td>6.8</td><td>1.4</td><td>98.1</td><td>87.1</td></tr><tr><td>CRL</td><td>97.2</td><td>3.3</td><td>73.0</td><td>35.2</td><td>99.9</td><td>3.8</td><td>22.9</td><td>12.2</td></tr><tr><td>SELFOOD</td><td>0.0</td><td>0.0</td><td>100.0</td><td>100.0</td><td>0.0</td><td>0.0</td><td>100.0</td><td>100.0</td></tr><tr><td rowspan="7">Clima</td><td>LogitNorm</td><td>11.3</td><td>0.8</td><td>97.6</td><td>88.5</td><td>10.4</td><td>1.6</td><td>97.3</td><td>75.9</td></tr><tr><td>OneVsRest</td><td>3.4</td><td>0.6</td><td>98.7</td><td>93.2</td><td>36.3</td><td>1.8</td><td>91.7</td><td>60.1</td></tr><tr><td>RCL</td><td>73.5</td><td>2.4</td><td>81.2</td><td>37.1</td><td>60.7</td><td>2.0</td><td>86.4</td><td>48.2</td></tr><tr><td>Bayes Approx</td><td>51.7</td><td>2.0</td><td>90.5</td><td>54.4</td><td>61.1</td><td>2.4</td><td>87.6</td><td>40.4</td></tr><tr><td>CE Loss</td><td>15.1</td><td>1.7</td><td>96.2</td><td>69.5</td><td>12.2</td><td>1.8</td><td>96.4</td><td>67.8</td></tr><tr><td>CRL</td><td>86.3</td><td>2.2</td><td>80.7</td><td>39.5</td><td>98.9</td><td>2.7</td><td>30.1</td><td>13.0</td></tr><tr><td>SELFOOD</td><td>0.0</td><td>0.0</td><td>100.0</td><td>100.0</td><td>0.0</td><td>0.0</td><td>100.0</td><td>100.0</td></tr></table>
|
| 118 |
+
|
| 119 |
+
loss to make class probabilities better confidence estimates. It estimates the true class probability to be proportional to the number of times a sample is classified correctly during training.
|
| 120 |
+
|
| 121 |
+
- LogitNorm (Wei et al., 2022) is a variant of CE loss that normalizes the logit vector to have a constant norm during training.
|
| 122 |
+
- Bayesian Approximation (Bayes Approx) (Wu et al., 2022b) calibrates distribution uncertainty for OOD detection using Monte-Carlo dropout.
|
| 123 |
+
- Reassigned Contrastive Learning (RCL) (Wu et al., 2022a) discriminates over-confident OOD samples using adaptive class-dependent local threshold mechanism.
|
| 124 |
+
|
| 125 |
+
- OneVsRest trains a one vs rest binary classifier per label. The probability scores of each label from its corresponding classifier are normalized and used as their respective confidence estimates.
|
| 126 |
+
|
| 127 |
+
# 4.3 Experimental Settings
|
| 128 |
+
|
| 129 |
+
We experiment with BERT (Devlin et al., 2019) and RoBERTa (Liu et al., 2019) as text classifiers. For SELFOOD, we train the classifier for 5 epochs with a batch size of 16 using an AdamW optimizer. We use a learning rate of 5e-5 using a linear scheduler with no warm-up steps. For all baselines, we train the classifier for the same number of steps.
|
| 130 |
+
|
| 131 |
+
In our evaluation, for each dataset as in-
|
| 132 |
+
|
| 133 |
+
distribution, we treat all other datasets as OOD and compute the performance. Our evaluation follows a standard approach for each in-distribution dataset where we begin by splitting the in-distribution dataset into three subsets: $80\%$ for train, $10\%$ for val, and $10\%$ for test. The model is trained using the train split, and its performance is evaluated on both the test split of the in-distribution dataset and the entire OOD dataset.
|
| 134 |
+
|
| 135 |
+
Evaluation Metrics. We utilize evaluation metrics from (Hendrycks and Gimpel, 2017; DeVries and Taylor, 2018; Moon et al., 2020) such as the false positive rate at $95\%$ true positive rate (FPR95), minimum detection error over all thresholds (ERR), the area under the risk-coverage curve (AURC), and the area under the precision-recall curve (AUPR) using in-distribution samples as the positives.
|
| 136 |
+
|
| 137 |
+
# 4.4 Results
|
| 138 |
+
|
| 139 |
+
We summarize the evaluation results with BERT and RoBERTa as classifiers on Yahoo, TREC as in-distribution in Table 2 and NYT, Clima as in-distribution in Appendix A.1. All experiments are run on three random seeds and the mean performance scores are reported. As shown in Table 2, we observe that SELFOOD performs better than the baselines on most of the in-distribution, OOD dataset pairs for both classifiers. A low FPR95 value indicates that the top- $95\%$ confident in-distribution samples, selected based on their probability scores, predominantly rank higher than a majority of OOD samples and SELFOOD achieves improvements of up to 82 points in FPR95 with Yelp as in-distribution and Clima as OOD datasets when compared to CRL with BERT classifier. SELFOOD also exhibits substantial improvements of up to 33 points in Detection Error, 48 points in AUROC, and 58 points in AUPR when compared to CE-Loss with BERT classifier. SELFOOD achieves a perfect OOD detection score for some settings such as TREC as in-distribution dataset for both BERT and RoBERTa classifiers. These results highlight the effectiveness of our ranking formulation with self-supervised training using IDIL loss.
|
| 140 |
+
|
| 141 |
+
# 4.5 Ablation Study
|
| 142 |
+
|
| 143 |
+
To understand the impact of each component in our IDIL loss design and implementation, we compare our method with four ablated versions with BERT classifier in Table 3: (1) SELFOOD + Grad Sub represents our method with backpropagating gradi
|
| 144 |
+
|
| 145 |
+
Table 3: Ablation Study.
|
| 146 |
+
|
| 147 |
+
<table><tr><td>Method</td><td>FPR95</td><td>ERR
|
| 148 |
+
In Dist: Clima
|
| 149 |
+
OOD: NYT</td><td>AUROC</td><td>AUPR</td></tr><tr><td>SELFOOD</td><td>17.2</td><td>2.6</td><td>97.8</td><td>94.5</td></tr><tr><td>+ Grad Sub</td><td>67.9</td><td>8.9</td><td>82.4</td><td>61.1</td></tr><tr><td>+ Grad Sub & Min</td><td>98.4</td><td>10.7</td><td>49.2</td><td>32.3</td></tr><tr><td>+ Intra-Doc</td><td>92.7</td><td>10.6</td><td>67.3</td><td>41.6</td></tr><tr><td>- SILu</td><td>14.6</td><td>3.9</td><td>96.7</td><td>89.3</td></tr><tr><td></td><td></td><td>In Dist: NYT
|
| 150 |
+
OOD: Clima</td><td></td><td></td></tr><tr><td>SELFOOD</td><td>10.5</td><td>1.7</td><td>98.4</td><td>90.5</td></tr><tr><td>+ Grad Sub only</td><td>83.5</td><td>5.1</td><td>77.4</td><td>44.8</td></tr><tr><td>+ Grad Sub & Min</td><td>96.5</td><td>5.2</td><td>60.3</td><td>36.0</td></tr><tr><td>+ Intra-Doc</td><td>48.3</td><td>2.6</td><td>93.2</td><td>80.2</td></tr><tr><td>- SiLU</td><td>19.0</td><td>2.3</td><td>97.4</td><td>86.0</td></tr></table>
|
| 151 |
+
|
| 152 |
+
ents through the subtrahend instead of the minuend, (2) SELFOOD $^+$ Grad Sub & Min represents our method with gradients backpropagating through both minuend and subtrahend, (3) SELFOOD $^+$ Intra-Doc considers intra-document comparison similar to CE loss, in addition to inter-document intra-label comparison for loss computation, and (4) SELFOOD-SiLU excludes SiLU function from the IDIL loss formulation. We also present the performance of SELFOOD for reference. SELFOOD performs better than SELFOOD $^+$ Grad Sub & Min demonstrating that backpropagating through one part of the difference is more beneficial than both, and the comparison between SELFOOD and SELFOOD $^+$ Grad Sub indicates that backpropagating through minuend is better than subtrahend. We observe that incorporating intra-document comparison into loss formulation leads to a decrement in the ranking ability of the model. Finally, we observe that removing the SiLU function from the IDIL loss leads to a decrease in most of the metrics.
|
| 153 |
+
|
| 154 |
+
# 5 Analysis & Case Studies
|
| 155 |
+
|
| 156 |
+
In this section, we present a comprehensive analysis of our proposed method from different perspectives to understand its effectiveness.
|
| 157 |
+
|
| 158 |
+
# 5.1 CE Loss vs SELFOOD: Training Trajectory Analysis
|
| 159 |
+
|
| 160 |
+
Mathematically, the model trained using CE loss is a solution to our IDIL loss optimization. However, our empirical results reveal a significant disparity in OOD detection performance between SELFOOD and model trained on CE loss. To gain a deeper understanding, we plot the CE Loss and IDIL losses for models optimized with IDIL and CE loss, as shown in Figure 3(a). We consider Clima as the in-distribution dataset and BERT as the classifier.
|
| 161 |
+
|
| 162 |
+

|
| 163 |
+
(a) Losses vs Training Steps
|
| 164 |
+
|
| 165 |
+

|
| 166 |
+
(b) FPR vs Training Steps
|
| 167 |
+
|
| 168 |
+

|
| 169 |
+
(c) Learned weights
|
| 170 |
+
|
| 171 |
+

|
| 172 |
+
Figure 3: To understand training trajectories of CE Loss and SELFOOD, we plot their respective losses, validation FPR, and learned weights while training. We observe IDIL loss minimization is more correlated with performance and the learned weights of CE-Loss and SELFOOD show divergent paths since the beginning.
|
| 173 |
+
(a) CE Loss
|
| 174 |
+
Figure 4: Maximum softmax score vs percentile in-distribution & OOD data associated with that score. By using the least in-distribution maximum softmax score as the threshold (dotted line) for OOD classification, CE loss considers more than $50\%$ and CRL considers almost $100\%$ of the OOD data as in-distribution (red region). However, in the case of SELFOOD, we observe a clear margin in maximum softmax scores that separate OOD and in-distribution.
|
| 175 |
+
|
| 176 |
+

|
| 177 |
+
(b) CRL
|
| 178 |
+
|
| 179 |
+

|
| 180 |
+
(c) SELFOOD
|
| 181 |
+
|
| 182 |
+
Additionally, we plot the validation FPR95 using Yelp as the OOD dataset to analyze the correlation between loss minimization and performance in Figure 3(b). Figure 3(a) illustrates that while minimizing CE loss leads to fluctuations in the IDIL loss, ultimately reaching zero, Figure 3(b) shows that the performance is more closely associated with explicit IDIL minimization. Specifically, minimizing the IDIL loss results in improved FPR95. The findings indicate that the minimization of CE loss and IDIL loss follows distinct trajectories. To validate this hypothesis, we conduct an experiment using a toy 3-dimensional dataset comprising five isometric Gaussian blobs and train a logistic regression classifier initialized with same weights, minimizing IDIL and CE-loss. We flatten the weight matrix and plot the top-3 principal components. As shown in Figure 3(c), the learned weights of CE-Loss and SELFOOD progress in different directions, thereby confirming our hypothesis.
|
| 183 |
+
|
| 184 |
+
# 5.2 Maximum softmax score Analysis
|
| 185 |
+
|
| 186 |
+
We plot the maximum softmax score with the percentile in-distribution and OOD data associated with that score for CE loss, CRL, and SELFOOD
|
| 187 |
+
|
| 188 |
+
with BERT classifier on Clima as in-distribution and NYT as OOD datasets in Figure 4. When comparing the maximum softmax score with the percentile data associated with that score, interesting observations can be made regarding its distribution. Specifically, when using the least in-distribution maximum softmax score as the threshold for OOD classification, we find that the CE loss considers over $50\%$ of the OOD data and CRL considers almost $100\%$ of the OOD data as in-distribution. However, in the case of SELFOOD, we observe a clear margin in the maximum softmax scores that effectively separates OOD and in-distribution data. This suggests that the threshold needs to be carefully tuned for CE loss and CRL, requiring more effort and annotated data, whereas in the case of SELFOOD, we do not require such tuning. This demonstrates that SELFOOD is capable of accurately classifying between OOD and in-distribution samples based on their respective maximum softmax scores, resulting in superior performance.
|
| 189 |
+
|
| 190 |
+
# 5.3 Batch size Analysis
|
| 191 |
+
|
| 192 |
+
We compare documents within the mini-batch when computing the loss. Consequently, the num
|
| 193 |
+
|
| 194 |
+

|
| 195 |
+
(a) NYT
|
| 196 |
+
|
| 197 |
+

|
| 198 |
+
(b) Yelp
|
| 199 |
+
Figure 5: Performance of SELFOOD w.r.t. batch size. We consider BERT classifier, Clima as in-distribution, and NYT, Yelp as OOD datasets. We observe an increase in performance with an increase in batch size.
|
| 200 |
+
|
| 201 |
+
ber of document pairs over which the loss is computed depends on the batch size used during training. To investigate the impact of batch size on performance, we vary the batch size and evaluate the corresponding performance in Figure 5 with BERT classifier. We consider Clima as in-distribution, and NYT, Yelp as OOD datasets. As the batch size increases, the performance of the model also improves, until a batch size of 16, where the performance reaches a plateau. This observation aligns with our intuition that a larger batch size allows for more in-batch document pairs to be compared, leading to more accurate loss computation. Based on these findings, we recommend utilizing a batch size of 16 or higher to achieve optimal performance.
|
| 202 |
+
|
| 203 |
+
# 5.4 Fine-grained OOD Detection
|
| 204 |
+
|
| 205 |
+
To explore the limits of SELFOOD, we consider in-distribution and OOD datasets from the same domain. The objective is to assess its ability to differentiate between samples that are closely related but still OOD, which is a challenging task. Specifically, we consider the news domain and choose NYT as the in-distribution, and AGNews (Zhang et al., 2015), $20\mathrm{News}^4$ as OOD datasets and train BERT classifier. As shown in Table 4, SELFOOD performs significantly better than the baselines on most of the metrics. Moreover, it also achieves near-perfect scores for the AGNews, highlighting its ability to accurately identify OOD samples even when they belong to the same domain as the in-distribution dataset.
|
| 206 |
+
|
| 207 |
+
# 5.5 Classification performance of SELFOOD
|
| 208 |
+
|
| 209 |
+
The BERT classifier trained with CE-Loss demonstrates exceptional classification performance, achieving accuracy scores of $97\%$ , $85\%$ , and $97\%$ on NYT, Clima, and TREC datasets respectively. In contrast, SELFOOD achieves only $0.3\%$ , $9.5\%$ ,
|
| 210 |
+
|
| 211 |
+
Table 4: Fine-grained OOD detection results with NYT as the in-distribution dataset with BERT classifier. We choose two datasets AGNews, 20News from the news domain, the same as NYT, and consider them as OOD datasets. The results show that SELFOOD can accurately detect OOD samples within the same domain.
|
| 212 |
+
|
| 213 |
+
<table><tr><td>OOD</td><td>Method</td><td>FPR95</td><td>ERR</td><td>AUROC</td><td>AUPR</td></tr><tr><td rowspan="5">AGNews</td><td>LogitNorm</td><td>45.9</td><td>0.9</td><td>86.7</td><td>15.8</td></tr><tr><td>Bayes Approx</td><td>57.5</td><td>0.9</td><td>87.7</td><td>23.9</td></tr><tr><td>CE-Loss</td><td>45.5</td><td>0.9</td><td>86.5</td><td>16.6</td></tr><tr><td>CRL</td><td>77.2</td><td>0.9</td><td>80.6</td><td>9.5</td></tr><tr><td>SELFOOD</td><td>0.0</td><td>0.1</td><td>100.0</td><td>99.4</td></tr><tr><td rowspan="5">20News</td><td>LogitNorm</td><td>24.5</td><td>6.2</td><td>91.7</td><td>39.2</td></tr><tr><td>Bayes Approx</td><td>35.0</td><td>4.3</td><td>93.7</td><td>66.6</td></tr><tr><td>CE-Loss</td><td>25.4</td><td>6.2</td><td>91.9</td><td>39.6</td></tr><tr><td>CRL</td><td>59.9</td><td>6.4</td><td>87.4</td><td>36.9</td></tr><tr><td>SELFOOD</td><td>28.2</td><td>4.9</td><td>94.2</td><td>61.5</td></tr></table>
|
| 214 |
+
|
| 215 |
+
and $1.8\%$ . This highlights that while SELFOOD serves as a reliable OOD detector, its performance as a text classifier is subpar. This observation can be attributed to our IDIL loss formulation, which focuses on comparing confidence levels across documents for each label rather than across labels for each document. As a result, the IDIL loss primarily promotes the ordinal ranking of confidence levels across documents, which enhances the model's OOD detection capabilities. However, this emphasis on inter-document ranking comes at the expense of inter-label ranking, resulting in limited classification capabilities. Moreover, when we introduce the intra-document comparison to the IDIL loss, as discussed in Section 4.5, we observe a decline in the model's ranking ability. Podolskiy et al. (2021) use mahalanobis distance for OOD detection and observe that although mahalanobis distance alongside transformer-based models is effective, such methods are sensitive to the geometric features in the embedding space and can be spoilt if the embedder is used for classification and is overfit. This matches with our observation, upon adding intra-document comparison to the loss, the OOD detection performance drops. This further supports the notion that balancing the inter-document and intra-document comparisons is crucial for achieving optimal performance in both OOD detection and text classification tasks.
|
| 216 |
+
|
| 217 |
+
# 5.6 SELFOOD + Mahalanobis distance
|
| 218 |
+
|
| 219 |
+
Mahalanobis distance-based estimation of OOD scores is an effective post-processing method used on trained OOD classifiers (Leys et al., 2018; Xu et al., 2020). We investigate whether this postprocessing further improves the performance of our method. OOD scores are estimated as the dis
|
| 220 |
+
|
| 221 |
+
Table 5: OOD detection results with Mahalanobis Distance post-processing technique. We choose two in-distribution, OOD pairs with BERT classifier. The results show that SELFOOD's OOD detection capabilities are enhanced with the post-processing technique.
|
| 222 |
+
|
| 223 |
+
<table><tr><td>InD</td><td>OOD</td><td>Method</td><td>FPR95</td><td>ERR</td><td>AUROC</td><td>AUPR</td></tr><tr><td rowspan="2">Clima</td><td rowspan="2">Yelp</td><td>SELFOOD</td><td>14.7</td><td>0.6</td><td>98.0</td><td>90.8</td></tr><tr><td>SELFOOD + Maha</td><td>0.8</td><td>0.2</td><td>99.2</td><td>97.2</td></tr><tr><td rowspan="2">Yelp</td><td rowspan="2">NYT</td><td>SELFOOD</td><td>63.2</td><td>19.6</td><td>79.4</td><td>82.7</td></tr><tr><td>SELFOOD + Maha</td><td>12.4</td><td>4.4</td><td>97.4</td><td>97.5</td></tr></table>
|
| 224 |
+
|
| 225 |
+
tance between a test data point and the distribution of in-distribution samples using the Mahalanobis distance metric. Following (Xu et al., 2020), we consider the intermediate layer encodings of the OOD classifier trained on in-distribution samples as its representative distribution. We apply this post-processing on top of SELFOOD and experiment with two in-distribution, OOD pairs with BERT classifier. As shown in Table 5, we observe further improvement in performance, demonstrating the quality of learned representative distribution using SELFOOD.
|
| 226 |
+
|
| 227 |
+
# 5.7 Qualitative Analysis of SELFOOD
|
| 228 |
+
|
| 229 |
+
We present a few examples with Yelp as in-distribution and TREC as OOD where SELFOOD accurately distinguishes and CE-loss fails to distinguish between in-distribution and OOD samples in Table 6. Although the first example has food-related words like lunch, cork and sentiment-indicative words such as contemptible scoundrel, SELFOOD accurately identifies it as OOD and CE loss model fails to do so. Examples 3 and 4 have questions that revolve around eateries. CE-Loss model confuses and predicts them as OOD as TREC dataset contains only questions. However, SELFOOD was able to rank them higher and accurately identify them as in-distribution.
|
| 230 |
+
|
| 231 |
+
# 6 Conclusion
|
| 232 |
+
|
| 233 |
+
In this paper, we present SELFOOD, a novel framework for OOD detection that leverages only in-distribution samples as supervision. Building upon the insight that OOD samples typically do not belong to any in-distribution labels, we formulate the OOD detection problem as an inter-document intra-label ranking task. To address this challenge, we propose IDIL loss which guides the training process. Through extensive experiments on multiple datasets, we demonstrate the effectiveness of SELFOOD on OOD detection task. However, we
|
| 234 |
+
|
| 235 |
+
Table 6: Qualitative analysis of CE-Loss vs SELFOOD with Yelp as in-distribution and TREC as OOD datasets. Wrong predictions are in Red and correct predictions are in Green.
|
| 236 |
+
|
| 237 |
+
<table><tr><td>Text</td><td>CE-Loss</td><td>SELFOOD</td></tr><tr><td>Who said “What contemptible scoundrel stole the cork from my lunch?”</td><td>InD</td><td>OOD</td></tr><tr><td>Who said “Give me liberty or give me death”?</td><td>InD</td><td>OOD</td></tr><tr><td>Its a tequila house - wouldn’t you want your staff to be knowledgeable about tequila? Call me silly. So Gregg and I are wondering Bourbon Street, looking for the next "place"...</td><td>OOD</td><td>InD</td></tr><tr><td>the pitch reads: "what’s worse than mean girl cheerleaders? how about resurrected mean-girl cheerleaders with supernatural powers?" And if this place could be farther away from my house, it’d be in Camden... Oh, the Vomitorium, every time i grace the hipster-stained ...</td><td>OOD</td><td>InD</td></tr></table>
|
| 238 |
+
|
| 239 |
+
also acknowledge that it comes at the expense of text classification performance. Future research can focus on developing techniques that effectively balance inter-document and intra-document comparisons, enabling improved performance in both OOD detection and text classification tasks.
|
| 240 |
+
|
| 241 |
+
# 7 Limitations
|
| 242 |
+
|
| 243 |
+
As mentioned in the previous sections, the OOD detection performance of our method comes at the cost of classification performance. This limitation needs to be addressed.
|
| 244 |
+
|
| 245 |
+
# 8 Ethics Statement
|
| 246 |
+
|
| 247 |
+
This paper proposes a self-supervised OOD detection method. The aim of the paper is to minimize the human effort in annotating OOD documents and using only in-distribution documents for OOD detection. OOD detection is helpful in detection potential harmful content. Hence, we do not anticipate any major ethical concerns.
|
| 248 |
+
|
| 249 |
+
# 9 Acknowledgments
|
| 250 |
+
|
| 251 |
+
We thank the anonymous reviewers and our colleagues from Shang Data Lab, especially Bill Hogan and Zihan Wang for their helpful feedback. Our work is sponsored in part by NSF CAREER Award 2239440, NSF Proto-OKN Award 2333790, NIH Bridge2AI Center Program under award 1U54HG012510-01, Cisco-UCSD Sponsored Research Project, as well as generous gifts from Google, Adobe, and Teradata. Any opinions, findings, and conclusions or recommendations expressed herein are those of the authors and should
|
| 252 |
+
|
| 253 |
+
not be interpreted as necessarily representing the views, either expressed or implied, of the U.S. Government. The U.S. Government is authorized to reproduce and distribute reprints for government purposes notwithstanding any copyright annotation hereon.
|
| 254 |
+
|
| 255 |
+
# References
|
| 256 |
+
|
| 257 |
+
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.
|
| 258 |
+
Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. 2019. Bert: Pre-training of deep bidirectional transformers for language understanding. ArXiv, abs/1810.04805.
|
| 259 |
+
Terrance DeVries and Graham W Taylor. 2018. Learning confidence for out-of-distribution detection in neural networks. arXiv preprint arXiv:1802.04865.
|
| 260 |
+
Stefan Elfwing, Eiji Uchibe, and Kenji Doya. 2018. Sigmoid-weighted linear units for neural network function approximation in reinforcement learning. Neural Networks, 107:3-11.
|
| 261 |
+
Geli Fei and Bing Liu. 2016. Breaking the closed world assumption in text classification. In Proceedings of the 2016 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pages 506-514.
|
| 262 |
+
Varun Gangal, Abhinav Arora, Arash Einolghozati, and Sonal Gupta. 2020. Likelihood ratios and generative classifiers for unsupervised out-of-domain detection in task-oriented dialog. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 34, pages 7764-7771.
|
| 263 |
+
Irving John Good. 1952. Rational decisions. Journal of the Royal Statistical Society: Series B (Methodological), 14(1):107-114.
|
| 264 |
+
Chuan Guo, Geoff Pleiss, Yu Sun, and Kilian Q Weinberger. 2017. On calibration of modern neural networks. In International conference on machine learning, pages 1321-1330. PMLR.
|
| 265 |
+
Chirag Gupta and Aaditya Ramdas. 2021. Top-label calibration and multiclass-to-binary reductions. arXiv preprint arXiv:2107.08353.
|
| 266 |
+
|
| 267 |
+
Richard HR Hahnloser, Rahul Sarpeshkar, Misha A Mahowald, Rodney J Douglas, and H Sebastian Seung. 2000. Digital selection and analogue amplification coexist in a cortex-inspired silicon circuit. nature, 405(6789):947-951.
|
| 268 |
+
Dan Hendrycks and Kevin Gimpel. 2017. A baseline for detecting misclassified and out-of-distribution examples in neural networks. In International Conference on Learning Representations.
|
| 269 |
+
Dan Hendrycks, Mantas Mazeika, and Thomas Dietterich. 2018. Deep anomaly detection with outlier exposure. arXiv preprint arXiv:1812.04606.
|
| 270 |
+
Eduard Hovy, Laurie Gerber, Ulf Hermjakob, ChinYew Lin, and Deepak Ravichandran. 2001. Toward semantics-based answer pinpointing. In Proceedings of the First International Conference on Human Language Technology Research.
|
| 271 |
+
Yen-Chang Hsu, Yilin Shen, Hongxia Jin, and Zsolt Kira. 2020. Generalized odin: Detecting out-of-distribution image without learning from out-of-distribution data. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 10951-10960.
|
| 272 |
+
Amita Kamath, Robin Jia, and Percy Liang. 2020. Selective question answering under domain shift. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pages 5684-5696.
|
| 273 |
+
Yoon Kim. 2014. Convolutional neural networks for sentence classification. In Proceedings of the 2014 Conference on Empirical Methods in Natural Language Processing (EMNLP), pages 1746-1751, Doha, Qatar. Association for Computational Linguistics.
|
| 274 |
+
Stefan Larson, Anish Mahendran, Joseph J Peper, Christopher Clarke, Andrew Lee, Parker Hill, Jonathan K Kummerfeld, Kevin Leach, Michael A Laurenzano, Lingjia Tang, and et al. 2019. An evaluation dataset for intent classification and out-of-scope prediction. In Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP), pages 1311-1316.
|
| 275 |
+
Tanmay Laud, Daniel Spokoyny, Tom Corringham, and Taylor Berg-Kirkpatrick. 2023. Climabench: A benchmark dataset for climate change text understanding in english. arXiv preprint arXiv:2301.04253.
|
| 276 |
+
Kimin Lee, Kibok Lee, Honglak Lee, and Jinwoo Shin. 2018. A simple unified framework for detecting out-of-distribution samples and adversarial attacks. Advances in neural information processing systems, 31.
|
| 277 |
+
|
| 278 |
+
Christophe Leys, Olivier Klein, Yves Dominicy, and Christophe Ley. 2018. Detecting multivariate outliers: Use a robust variant of the mahalanobis distance. Journal of experimental social psychology, 74:150-156.
|
| 279 |
+
Xiaoya Li, Jiwei Li, Xiaofei Sun, Chun Fan, Tianwei Zhang, Fei Wu, Yuxian Meng, and Jun Zhang. 2021. $k$ folden: $k$ -fold ensemble for out-of-distribution detection. arXiv preprint arXiv:2108.12731.
|
| 280 |
+
Xin Li and Dan Roth. 2002. Learning question classifiers. In COLING 2002: The 19th International Conference on Computational Linguistics.
|
| 281 |
+
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.
|
| 282 |
+
Dheeraj Mekala, Chengyu Dong, and Jingbo Shang. 2022a. LOPS: Learning order inspired pseudo-label selection for weakly supervised text classification. In *Findings of the Association for Computational Linguistics: EMNLP* 2022, pages 4894-4908, Abu Dhabi, United Arab Emirates. Association for Computational Linguistics.
|
| 283 |
+
Dheeraj Mekala, Varun Gangal, and Jingbo Shang. 2021. Coarse2Fine: Fine-grained text classification on coarsely-grained annotated data. In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing, pages 583-594, Online and Punta Cana, Dominican Republic. Association for Computational Linguistics.
|
| 284 |
+
Dheeraj Mekala and Jingbo Shang. 2020. Contextualized weak supervision for text classification. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pages 323-333.
|
| 285 |
+
Dheeraj Mekala, Tu Vu, Timo Schick, and Jingbo Shang. 2022b. Leveraging qa datasets to improve generative data augmentation. In Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing.
|
| 286 |
+
Jooyoung Moon, Jihyo Kim, Younghak Shin, and Sangheum Hwang. 2020. Confidence-aware learning for deep neural networks. In international conference on machine learning, pages 7034-7044. PMLR.
|
| 287 |
+
Anh Nguyen, Jason Yosinski, and Jeff Clune. 2015. Deep neural networks are easily fooled: High confidence predictions for unrecognizable images. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 427-436.
|
| 288 |
+
Yawen Ouyang, Jiasheng Ye, Yu Chen, Xinyu Dai, Shujian Huang, and Jiajun Chen. 2021. Energy-based unknown intent detection with data manipulation. arXiv preprint arXiv:2107.12542.
|
| 289 |
+
|
| 290 |
+
Alexander Podolskiy, Dmitry Lipin, Andrey Bout, Ekaterina Artemova, and Irina Pionkovskaya. 2021. Revisiting mahalanobis distance for transformer-based out-of-domain detection. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 35, pages 13675-13682.
|
| 291 |
+
Alec Radford, Jeff Wu, Rewon Child, David Luan, Dario Amodei, and Ilya Sutskever. 2019. Language models are unsupervised multitask learners.
|
| 292 |
+
Jie Ren, Peter J Liu, Emily Fertig, Jasper Snoek, Ryan Poplin, Mark Depristo, Joshua Dillon, and Balaji Lakshminarayanan. 2019. Likelihood ratios for out-of-distribution detection. Advances in neural information processing systems, 32.
|
| 293 |
+
Frank Rosenblatt. 1957. The perceptron, a perceiving and recognizing automaton Project Para. Cornell Aeronautical Laboratory.
|
| 294 |
+
Christian Szegedy, Wojciech Zaremba, Ilya Sutskever, Joan Bruna, Dumitru Erhan, Ian Goodfellow, and Rob Fergus. 2013. Intriguing properties of neural networks. arXiv preprint arXiv:1312.6199.
|
| 295 |
+
Mariya Toneva, Alessandro Sordoni, Remi Tachet des Combes, Adam Trischler, Yoshua Bengio, and Geoffrey J. Gordon. 2019. An empirical study of example forgetting during deep neural network learning. In International Conference on Learning Representations.
|
| 296 |
+
Apoory Vyas, Nataraj Jammalamadaka, Xia Zhu, Dipankar Das, Bharat Kaul, and Theodore L Willke. 2018. Out-of-distribution detection using an ensemble of self supervised leave-out classifiers. In Proceedings of the European Conference on Computer Vision (ECCV), pages 550-564.
|
| 297 |
+
Hongxin Wei, Renchunzi Xie, Hao Cheng, Lei Feng, Bo An, and Yixuan Li. 2022. Mitigating neural network overconfidence with logit normalization. In International Conference on Machine Learning, pages 23631-23644. PMLR.
|
| 298 |
+
Yanan Wu, Keqing He, Yuanmeng Yan, QiXiang Gao, Zhiyuan Zeng, Fujia Zheng, Lulu Zhao, Huixing Jiang, Wei Wu, and Weiran Xu. 2022a. Revisit overconfidence for ood detection: Reassigned contrastive learning with adaptive class-dependent threshold. In Proceedings of the 2022 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pages 4165-4179.
|
| 299 |
+
Yanan Wu, Zhiyuan Zeng, Keqing He, Yutao Mou, Pei Wang, and Weiran Xu. 2022b. Distribution calibration for out-of-domain detection with Bayesian approximation. In Proceedings of the 29th International Conference on Computational Linguistics, pages 608-615, Gyeongju, Republic of Korea. International Committee on Computational Linguistics.
|
| 300 |
+
|
| 301 |
+
Hong Xu, Keqing He, Yuanmeng Yan, Sihong Liu, Zijun Liu, and Weiran Xu. 2020. A deep generative distance-based classifier for out-of-domain detection with mahalanobis space. In Proceedings of the 28th International Conference on Computational Linguistics, pages 1452-1460.
|
| 302 |
+
Zhilin Yang, Zihang Dai, Yiming Yang, Jaime G. Carbonell, Ruslan Salakhutdinov, and Quoc V. Le. 2019. Xlnet: Generalized autoregressive pretraining for language understanding. In Neural Information Processing Systems.
|
| 303 |
+
Zhiyuan Zeng, Keqing He, Yuanmeng Yan, Zijun Liu, Yanan Wu, Hong Xu, Huixing Jiang, and Weiran Xu. 2021a. Modeling discriminative representations for out-of-domain detection with supervised contrastive learning. arXiv preprint arXiv:2105.14289.
|
| 304 |
+
Zhiyuan Zeng, Hong Xu, Keqing He, Yuanmeng Yan, Sihong Liu, Zijun Liu, and Weiran Xu. 2021b. Adversarial generative distance-based classifier for robust out-of-domain detection. In ICASSP 2021-2021 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pages 7658-7662. IEEE.
|
| 305 |
+
Li-Ming Zhan, Haowen Liang, Bo Liu, Lu Fan, Xiaoming Wu, and Albert Lam. 2021. Out-of-scope intent detection with self-supervision and discriminative training. arXiv preprint arXiv:2106.08616.
|
| 306 |
+
Xiang Zhang, Junbo Zhao, and Yann LeCun. 2015. Character-level convolutional networks for text classification. In C. Cortes, N. D. Lawrence, D. D. Lee, M. Sugiyama, and R. Garnett, editors, Advances in Neural Information Processing Systems 28, pages 649-657. Curran Associates, Inc.
|
| 307 |
+
Wenxuan Zhou, Fangyu Liu, and Muhao Chen. 2021. Contrastive out-of-distribution detection for pretrained transformers. arXiv preprint arXiv:2104.08812.
|
| 308 |
+
|
| 309 |
+
# A Appendix
|
| 310 |
+
|
| 311 |
+
# A.1 Results with NYT & Clima as in-distribution datasets
|
| 312 |
+
|
| 313 |
+
We present experimental results on Clima and NYT as in-distribution datasets with BERT and RoBERTa classifiers in Table 7.
|
| 314 |
+
|
| 315 |
+
# A.2 Experimental Settings
|
| 316 |
+
|
| 317 |
+
Training trajectory analysis experiment. We compare two experiments showcasing empirical evidence on how the trajectory of CE-loss models and IDI loss models differ. In 3(b) we plot the change in validation FPR on BERT-classifiers optimized on CE-loss and IDIL loss. Here, we calculate the FPR across training steps on a validation dataset consisting of 500 in-distribution and OOD data points each to compare the training trajectories of the two models.
|
| 318 |
+
|
| 319 |
+
We generate the toy dataset by creating five isometric Gaussian blobs of 3-dimensional data points, with each cluster containing 1000 samples. The centers of all the clusters are bounded by the range $[-10.0, 10.0]$ and the cluster standard deviation is set to 2.0 to account for limited overlap between cluster datapoints. We consider four clusters as being in-distribution and the remaining cluster as OOD. We train a logistic regression classifier on the in-domain datapoints initialized with the same weights and minimizing IDIL and CE-loss. The model is optimized using Stochastic Gradient Descent with a learning rate of 0.01 for 300 epochs. The weights are visualized at the beginning of each epoch. In order to facilitate visualization, the weight matrices of both approaches of dimension are flattened and Principal Component Analysis (PCA) is applied to reduce the dimensionality of the weight matrix. We plot the top-3 principal components after each epoch to conclude that the learned weights of CE-loss and SELFOOD progress in a different manner.
|
| 320 |
+
|
| 321 |
+
<table><tr><td rowspan="2">In-dist</td><td rowspan="2">OOD</td><td rowspan="2">Method</td><td colspan="4">BERT</td><td colspan="4">RoBERTa</td></tr><tr><td>FPR95(↓)</td><td>ERR(↓)</td><td>AUROC(↑)</td><td>AUPR(↑)</td><td>FPR95(↓)</td><td>ERR(↓)</td><td>AUROC(↑)</td><td>AUPR(↑)</td></tr><tr><td rowspan="21">NYT</td><td rowspan="7">Clima</td><td>LogitNorm</td><td>20.6</td><td>1.0</td><td>96.8</td><td>92.3</td><td>18.4</td><td>1.0</td><td>97.3</td><td>93.6</td></tr><tr><td>OneVsRest</td><td>84.7</td><td>1.7</td><td>87.3</td><td>82.6</td><td>92.7</td><td>1.9</td><td>91.1</td><td>85.1</td></tr><tr><td>RCL</td><td>46.9</td><td>1.5</td><td>94.4</td><td>87.5</td><td>86.7</td><td>2.3</td><td>86.7</td><td>76.6</td></tr><tr><td>Bayes Approx</td><td>40.6</td><td>1.2</td><td>95.4</td><td>90.0</td><td>80.0</td><td>2.4</td><td>88.4</td><td>76.5</td></tr><tr><td>CE Loss</td><td>22.1</td><td>1.0</td><td>96.9</td><td>92.5</td><td>15.7</td><td>1.0</td><td>97.3</td><td>92.8</td></tr><tr><td>CRL</td><td>32.3</td><td>1.7</td><td>95.4</td><td>86.5</td><td>79.3</td><td>3.2</td><td>79.8</td><td>67.0</td></tr><tr><td>SELFOOD</td><td>10.5</td><td>1.6</td><td>98.4</td><td>90.5</td><td>4.6</td><td>1.0</td><td>99.3</td><td>95.4</td></tr><tr><td rowspan="7">TREC</td><td>LogitNorm</td><td>13.3</td><td>5.5</td><td>97.2</td><td>87.9</td><td>17.5</td><td>6.4</td><td>96.1</td><td>84.1</td></tr><tr><td>OneVsRest</td><td>96.0</td><td>6.2</td><td>84.0</td><td>79.4</td><td>97.2</td><td>6.3</td><td>90.5</td><td>82.8</td></tr><tr><td>RCL</td><td>62.9</td><td>6.1</td><td>92.2</td><td>85.8</td><td>73.9</td><td>8.8</td><td>88.4</td><td>73.1</td></tr><tr><td>Bayes Approx</td><td>38.8</td><td>4.5</td><td>94.8</td><td>89.9</td><td>67.5</td><td>8.3</td><td>88.7</td><td>74.7</td></tr><tr><td>CE Loss</td><td>14.5</td><td>5.8</td><td>97.0</td><td>87.1</td><td>21.9</td><td>6.7</td><td>95.5</td><td>83.5</td></tr><tr><td>CRL</td><td>67.9</td><td>6.5</td><td>89.9</td><td>79.1</td><td>85.6</td><td>9.6</td><td>71.4</td><td>61.4</td></tr><tr><td>SELFOOD</td><td>0.0</td><td>0.0</td><td>100.0</td><td>100.0</td><td>0.0</td><td>0.0</td><td>100.0</td><td>100.0</td></tr><tr><td rowspan="7">Yelp</td><td>LogitNorm</td><td>1.7</td><td>0.6</td><td>99.3</td><td>87.9</td><td>1.2</td><td>0.6</td><td>98.5</td><td>87.9</td></tr><tr><td>OneVsRest</td><td>15.1</td><td>0.7</td><td>97.4</td><td>78.1</td><td>8.7</td><td>0.6</td><td>97.6</td><td>78.8</td></tr><tr><td>RCL</td><td>45.1</td><td>0.5</td><td>94.9</td><td>84.7</td><td>76.7</td><td>1.0</td><td>90.2</td><td>60.0</td></tr><tr><td>Bayes Approx</td><td>28.7</td><td>0.4</td><td>96.4</td><td>86.8</td><td>83.0</td><td>1.1</td><td>87.7</td><td>56.6</td></tr><tr><td>CE Loss</td><td>3.4</td><td>0.7</td><td>99.2</td><td>82.3</td><td>1.8</td><td>0.6</td><td>99.3</td><td>85.4</td></tr><tr><td>CRL</td><td>69.5</td><td>0.5</td><td>89.3</td><td>77.8</td><td>73.3</td><td>1.0</td><td>83.8</td><td>58.3</td></tr><tr><td>SELFOOD</td><td>22.5</td><td>1.1</td><td>95.7</td><td>57.8</td><td>0.2</td><td>0.2</td><td>99.9</td><td>97.5</td></tr><tr><td rowspan="21">Clima</td><td rowspan="7">TREC</td><td>LogitNorm</td><td>37.8</td><td>5.5</td><td>94.6</td><td>91.9</td><td>60.5</td><td>7.0</td><td>91.6</td><td>88.0</td></tr><tr><td>OneVsRest</td><td>25.5</td><td>6.8</td><td>95.5</td><td>91.8</td><td>54.3</td><td>15.5</td><td>84.5</td><td>67.7</td></tr><tr><td>RCL</td><td>80.1</td><td>18.4</td><td>75.7</td><td>55.3</td><td>91.2</td><td>18.4</td><td>66.6</td><td>47.7</td></tr><tr><td>Bayes Approx</td><td>83.7</td><td>15.8</td><td>77.5</td><td>63.8</td><td>65.7</td><td>13.9</td><td>83.6</td><td>70.7</td></tr><tr><td>CE Loss</td><td>34.9</td><td>5.6</td><td>94.9</td><td>92.2</td><td>60.2</td><td>9.1</td><td>90.4</td><td>83.8</td></tr><tr><td>CRL</td><td>83.0</td><td>12.7</td><td>82.0</td><td>72.2</td><td>60.9</td><td>12.6</td><td>79.2</td><td>63.2</td></tr><tr><td>SELFOOD</td><td>0.3</td><td>1.1</td><td>99.4</td><td>99.4</td><td>38.9</td><td>8.8</td><td>90.1</td><td>84.7</td></tr><tr><td rowspan="7">Yelp</td><td>LogitNorm</td><td>57.7</td><td>0.8</td><td>93.0</td><td>81.3</td><td>54.7</td><td>1.2</td><td>92.6</td><td>72.3</td></tr><tr><td>OneVsRest</td><td>43.7</td><td>1.0</td><td>92.7</td><td>72.5</td><td>58.8</td><td>1.8</td><td>73.5</td><td>34.7</td></tr><tr><td>RCL</td><td>91.0</td><td>2.3</td><td>60.7</td><td>12.2</td><td>98.0</td><td>2.3</td><td>56.4</td><td>12.7</td></tr><tr><td>Bayes Approx</td><td>81.4</td><td>2.2</td><td>76.5</td><td>22.7</td><td>96.8</td><td>2.2</td><td>52.3</td><td>16.3</td></tr><tr><td>CE Loss</td><td>46.3</td><td>0.9</td><td>93.8</td><td>80.1</td><td>79.5</td><td>1.9</td><td>86.5</td><td>47.2</td></tr><tr><td>CRL</td><td>98.7</td><td>1.4</td><td>67.3</td><td>53.3</td><td>72.9</td><td>2.1</td><td>50.9</td><td>19.0</td></tr><tr><td>SELFOOD</td><td>14.7</td><td>0.6</td><td>98.0</td><td>90.8</td><td>37.6</td><td>1.5</td><td>72.3</td><td>54.9</td></tr><tr><td rowspan="7">NYT</td><td>LogitNorm</td><td>37.6</td><td>4.2</td><td>94.4</td><td>87.3</td><td>46.1</td><td>4.5</td><td>93.1</td><td>85.4</td></tr><tr><td>OneVsRest</td><td>34.6</td><td>4.8</td><td>94.3</td><td>85.3</td><td>40.6</td><td>9.4</td><td>83.1</td><td>51.3</td></tr><tr><td>RCL</td><td>90.3</td><td>12.1</td><td>64.6</td><td>28.8</td><td>97.9</td><td>12.4</td><td>51.5</td><td>21.2</td></tr><tr><td>Bayes Approx</td><td>87.4</td><td>11.2</td><td>70.4</td><td>38.3</td><td>96.8</td><td>11.3</td><td>55.8</td><td>29.2</td></tr><tr><td>CE Loss</td><td>44.9</td><td>4.8</td><td>93.2</td><td>84.4</td><td>62.5</td><td>6.7</td><td>89.6</td><td>75.2</td></tr><tr><td>CRL</td><td>85.6</td><td>7.6</td><td>78.0</td><td>62.5</td><td>61.3</td><td>9.4</td><td>61.8</td><td>39.9</td></tr><tr><td>SELFOOD</td><td>17.2</td><td>2.6</td><td>97.8</td><td>94.5</td><td>55.3</td><td>6.7</td><td>68.6</td><td>61.5</td></tr></table>
|
| 322 |
+
|
| 323 |
+
Table 7: OOD detection results with BERT & RoBERTa classifiers. Each experiment is repeated with three random seeds and the mean scores are reported. The false-positive-rate at $95\%$ true-positive-rate (FPR95), minimum detection error over all thresholds (ERR), the area under the risk-coverage curve (AURC), and the area under the precision-recall curve (AUPR) using in-distribution samples as the positives are used as evaluation metrics.
|
2023/SELFOOD_ Self-Supervised Out-Of-Distribution Detection via Learning to Rank/images.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6d85ad0c614444455a7c806ea28693d1e1e0d9104bb0f1c2216a36db2169d2d3
|
| 3 |
+
size 738329
|
2023/SELFOOD_ Self-Supervised Out-Of-Distribution Detection via Learning to Rank/layout.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2023/SGP-TOD_ Building Task Bots Effortlessly via Schema-Guided LLM Prompting/586b129b-aeb9-4225-8c30-4a6d80f38793_content_list.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2023/SGP-TOD_ Building Task Bots Effortlessly via Schema-Guided LLM Prompting/586b129b-aeb9-4225-8c30-4a6d80f38793_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2023/SGP-TOD_ Building Task Bots Effortlessly via Schema-Guided LLM Prompting/586b129b-aeb9-4225-8c30-4a6d80f38793_origin.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5566bfa6cf159e5a02203048d0ecec14f87cf05164e87293af7ead24acd384f8
|
| 3 |
+
size 1498454
|
2023/SGP-TOD_ Building Task Bots Effortlessly via Schema-Guided LLM Prompting/full.md
ADDED
|
@@ -0,0 +1,644 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# SGP-TOD: Building Task Bots Effortlessly via Schema-Guided LLM Prompting
|
| 2 |
+
|
| 3 |
+
Xiaoying Zhang $^{1}$ , Baolin Peng $^{2}$ , Kun Li $^{1}$ , Jingyan Zhou $^{1}$ , Helen Meng $^{1,3}$
|
| 4 |
+
|
| 5 |
+
<sup>1</sup>The Chinese University of Hong Kong, Hong Kong
|
| 6 |
+
|
| 7 |
+
2Tencent AI Lab, Bellevue
|
| 8 |
+
|
| 9 |
+
<sup>3</sup>Centre for Perceptual and Interactive Intelligence, Hong Kong
|
| 10 |
+
|
| 11 |
+
{zhangxy, kunli, jyzhou, hmmeng} @se.cuhk.edu.hk
|
| 12 |
+
|
| 13 |
+
{baolinpeng} @ global.tencent.com
|
| 14 |
+
|
| 15 |
+
# Abstract
|
| 16 |
+
|
| 17 |
+
Building and maintaining end-to-end task bots using minimal human effort is a longstanding challenge in dialog research. In this work, we introduce SGP-TOD, Schema-Guided Prompting for building Task-Oriented Dialog systems effortlessly based on large language models (LLMs). Utilizing the predefined task schema, i.e., belief instruction and dialog policy, we instruct fixed LLMs to generate appropriate responses on novel tasks, without the need for training data. Specifically, SGP-TOD comprises three components: an LLM for interacting with users, a Dialog State Tracking (DST) Prompter to aid the LLM in tracking dialog states with the given belief instruction, and a Policy Prompter to direct the LLM to generate proper responses adhering to the provided dialog policy. Experimental results on Multiwoz, RADDLE, and STAR datasets show that our training-free strategy, SGP-TOD, yields state-of-the-art (SOTA) zero-shot performance, significantly surpassing the few-shot approaches. In a domain-extension setting, SGP-TOD aptly adapts to new functionalities by merely adding supplementary schema rules. We make our code and data publicly available.
|
| 18 |
+
|
| 19 |
+
# 1 Introduction
|
| 20 |
+
|
| 21 |
+
Building task-oriented dialog (TOD) systems has been a long-standing challenge in artificial intelligence. The prevailing approach for creating task bots (Hosseini-Asl et al., 2020; Peng et al., 2021a; Sun et al., 2022) is to fine-tune pre-trained language models (PLMs), such as T5 (Raffel et al., 2020) and GPT-2 (Radford et al., 2019). Despite their great success, developing and maintaining such task bots generally requires adequate annotated data and extensive fine-tuning/re-training.
|
| 22 |
+
|
| 23 |
+
Recently, large Language Models (LLMs), such as ChatGPT (OpenAI, 2022) and GPT-4 (OpenAI,
|
| 24 |
+
|
| 25 |
+

|
| 26 |
+
Figure 1: The proposed SGP-TOD is depicted with a dialog example, where the prompters integrate the task schema (right) to assist the frozen LLM in generating an appropriate response (left).
|
| 27 |
+
|
| 28 |
+
2023), have revolutionized natural language processing (NLP) applications (Wei et al., 2022; Wang et al., 2023), owing to their remarkable conversational skills (Qin et al., 2023), instruction-following abilities (Ouyang et al., 2022) and zero-shot generalization capabilities (Chowdhery et al., 2022a; Hu et al., 2022). This raises a research question: can LLMs be effectively utilized for building task bots with minimum human effort?
|
| 29 |
+
|
| 30 |
+
A contemporary study (Hudecek and Dusek, 2023) explores the potential of LLMs for rapidly building task bots via few-shot prompting, a.k.a. in-context learning (ICL) paradigm (Brown et al., 2020; Madotto et al., 2021). Though demonstrably effective, the ICL performance is highly influenced by the quality of the in-context exemplars (Zhao et al., 2021; Liu et al., 2022; Dong et al., 2023), as they struggle to provide comprehensive information for dialog task completion.
|
| 31 |
+
|
| 32 |
+
In this work, we introduce symbolic knowledge (Nye et al., 2021; Cheng et al., 2023), i.e., the task schema into LLMs, for creating task bots. Task schema (Mosig et al., 2020; Mehri and Eskenazi, 2021) encompasses a concise symbolic representation of a task, supplying LLMs with a comprehensive blueprint. It comprises $(i)$ task-specific ontology containing all slots and their appropriate values (Budzianowski et al., 2018); and $(ii)$ a dialog flow explicitly outlining fundamental interaction patterns (Peng et al., 2021b). Specifically, we propose SGP-TOD (as depicted in Figure 1), a schema-guided prompting method for rapidly building task bots. We integrate the predefined task schema and dialog context into prompts through the use of two specifically-designed prompters, namely a DST Prompter and a Policy Prompter. Utilizing these prompters, we adeptly guide fixed LLMs to track dialog states, retrieve database entries, and generate appropriate responses for novel tasks in a zero-shot manner, without the need for additional training or fine-tuning. By incorporating task-specific symbolic knowledge into LLMs, SGP-TOD provides knowledge-based, coherent and human-like responses. Moreover, this training-free design empowers developers to flexibly prototype dialog systems on new tasks, while seamlessly extending system functionalities through modifying the task schema.
|
| 33 |
+
|
| 34 |
+
We perform empirical automatic evaluations on two multi-domain datasets, namely, Multiwoz 2.0 and 2.2 (Budzianowski et al., 2018; Zang et al., 2020), as well as two single-domain/task datasets, RADDLE (Peng et al., 2021a) and STAR (Mosig et al., 2020), within zero-shot scenarios. Additionally, we complement these assessments with interactive human evaluations. The results indicate that SGP-TOD, employing merely task schema devoid of any training or fine-tuning, substantially boosts the SOTA zero-shot results, markedly outperforming few-shot prompting/fine-tuning methods, and even attaining competitive results cf. full-shot finetuning approaches. In a domain-extension context, SGP-TOD proficiently adapts to new functionalities by simply adding a handful of schema rules without necessitating further data collection, significantly exceeding the few-shot prompting/fine-tuning methods reinforced by machine teaching (Williams and Liden, 2017).
|
| 35 |
+
|
| 36 |
+
In summary, our contributions are three-fold:
|
| 37 |
+
|
| 38 |
+
- We propose SGP-TOD, a schema-guided
|
| 39 |
+
|
| 40 |
+
LLM prompting strategy that facilitates in effortlessly creating task bots, eliminating the necessity for task-specific data or fine-tuning.
|
| 41 |
+
|
| 42 |
+
- We integrate symbolic knowledge - task schema into LLMs, allowing them to generate schema-compliant responses and adaptively expand their functionalities to tackle new tasks by solely modifying the task schema.
|
| 43 |
+
|
| 44 |
+
- We demonstrate the effectiveness of SGP-TOD on Multiwoz, RADDLE, STAR datasets in zero-shot settings using both automatic and human evaluations. SGP-TOD notably elevates the SOTA zero-shot performance.
|
| 45 |
+
|
| 46 |
+
# 2 Related work
|
| 47 |
+
|
| 48 |
+
Zero-Shot Task-Oriented Dialog Modeling. Zero-shot generalization is an essential yet challenging task in TOD research. A comprehensive study is shown in Appendix A. In this paper, we focus on zero-shot end-to-end dialog modeling, including policy management and dialog generation.
|
| 49 |
+
|
| 50 |
+
The works by Zhao and Eskenazi (2018) and Qian and Yu (2019) utilize ontology and response templates to train dialog models, enabling the discovery of shared dialog policies between the source and target domains. To enable broader adaptation to diverse dialog policies, Mosig et al. (2020); Mehri and Eskenazi (2021) implement task-specific policy skeletons, training dialog models to adhere to novel policies. Furthermore, Zhao et al. (2022) employs a neural language model (LM) for tracking dialog states and user actions using slot and action descriptions; subsequently, a policy program is deployed to facilitate an LM in generating system actions and responses. Despite the effectiveness of previous approaches, they still require ample fine-tuning and copious annotated dialog corpora on source or heterogeneous domains/tasks.
|
| 51 |
+
|
| 52 |
+
A concurrent study to ours is Hudecek and Dusek (2023), which employs a prompting strategy - IG-TOD (instruction-guided TOD) to guide frozen LLMs in generating suitable responses. Specifically, IG-TOD first tracks belief states by utilizing slot descriptions as prompts, then retrieves database entries, and generates responses. Our SGP-TOD differs in that: $(i)$ we employ slot names and value examples, rather than slot descriptions, as prompts to facilitate frozen LLMs in generating belief states, thereby reducing human effort; $(ii)$ we offer a policy skeleton to guide
|
| 53 |
+
|
| 54 |
+
LLMs in producing appropriate responses. In addition, experimental results indicate that SGP-TOD substantially outperforms IG-TOD.
|
| 55 |
+
|
| 56 |
+
Leveraging LLMs for Dialog Tasks. LLMs (Chowdhery et al., 2022b; OpenAI, 2023) have exhibited unparalleled mastery of natural language understanding, reasoning and generation (Wei et al., 2022; Bubeck et al., 2023). Three primary research directions have obtained substantial success in numerous dialog tasks by utilizing LLMs. $(i)$ Few-shot prompting (Brown et al., 2020) has showcased remarkable performance in intent classification (Yu et al., 2021), semantic parsing (Shin and Van Durme, 2022), dialog state tracking (Hu et al., 2022; Xie et al., 2022), and response generation (Madotto et al., 2021). $(ii)$ Li et al. (2022); Mehri et al. (2022); Dai et al. (2023) employ LLMs for data augmentation, i.e., generating synthetic task-oriented dialogs to train smaller models for inference. $(iii)$ Recently, several studies endeavor to support LLMs in specialized tasks by incorporating external knowledge. Peng et al. (2023) advocates for enhancing LLMs' responses with external knowledge and automated feedback to reduce hallucination. Liang et al. (2023) suggests connecting LLMs with millions of APIs to accomplish diverse tasks. Different from the aforementioned works, we aim to employ LLMs in building task bots in a zero-shot manner using pre-defined task schema.
|
| 57 |
+
|
| 58 |
+
# 3 SGP-TOD
|
| 59 |
+
|
| 60 |
+
# 3.1 Overview
|
| 61 |
+
|
| 62 |
+
The overall architecture of the proposed SGP-TOD (Figure 1) consists of three key components: $(i)$ an LLM, responsible for adhering to instructions, comprehending user queries, and generating coherent responses for user interaction; $(ii)$ a DST Prompter, tasked with supporting the LLM in tracking dialogue states using the belief instruction; $(iii)$ a Policy Prompter, guiding the LLM to adhere to the predefined task policy for providing suitable system actions and responses.
|
| 63 |
+
|
| 64 |
+
At each dialog turn $t$ , the end-to-end generation task is systematically divided into three subsequent sub-tasks: (i) Belief State Prediction - given the dialog history up to current dialog turn $\pmb{h}_t$ , which is a sequence of utterances alternating between the user and the system $\pmb{h}_t = [u_1, r_1, u_2, r_2, \dots, u_t]$ (where $u$ and $r$ denote user and system utterances, respectively), the DST Prompter embeds the belief instruction $\pmb{BI}$ to direct the frozen LLM (pa
|
| 65 |
+
|
| 66 |
+
rameterized by $\theta$ ) in generating a belief state $b_{t}$ (Equation 1). The belief state is then used to query a database and obtain the database (DB) state $c_{t}$ (Equation 2). (ii) System Action Determination - the Policy Prompt incorporates a policy skeleton $PS$ , assisting the LLM in generating a system action $a_{t}$ , based on $h_t, b_t$ , and $c_{t}$ (Equation 3). (iii) Dialog Response Generation - grounded in the dialog history $h_t$ , belief state $b_{t}$ , DB state $c_{t}$ , system action $a_{t}$ , the Policy Prompt aids the LLM in generating a delexicalized response by providing the policy skeleton $PS$ (Equation 4). Ultimately, the delexicalized response is automatically postprocessed to generate system response in natural language. Detailed illustration with a dialog example is shown in Appendix L.
|
| 67 |
+
|
| 68 |
+
$$
|
| 69 |
+
\boldsymbol {b} _ {t} = \boldsymbol {L L M} _ {\theta} \left(\boldsymbol {h} _ {t}, \boldsymbol {B I}\right) \tag {1}
|
| 70 |
+
$$
|
| 71 |
+
|
| 72 |
+
$$
|
| 73 |
+
\boldsymbol {c} _ {t} = \boldsymbol {D} \boldsymbol {B} \left(\boldsymbol {b} _ {t}\right) \tag {2}
|
| 74 |
+
$$
|
| 75 |
+
|
| 76 |
+
$$
|
| 77 |
+
\boldsymbol {a} _ {t} = \boldsymbol {L L M} _ {\boldsymbol {\theta}} \left(\boldsymbol {h} _ {t}, \boldsymbol {b} _ {t}, \boldsymbol {c} _ {t}, \boldsymbol {P S}\right) \tag {3}
|
| 78 |
+
$$
|
| 79 |
+
|
| 80 |
+
$$
|
| 81 |
+
\boldsymbol {r} _ {t} = \boldsymbol {L L M} _ {\theta} \left(\boldsymbol {h} _ {t}, \boldsymbol {b} _ {t}, \boldsymbol {c} _ {t}, \boldsymbol {a} _ {t}, \boldsymbol {P S}\right) \tag {4}
|
| 82 |
+
$$
|
| 83 |
+
|
| 84 |
+
# 3.2 LLM
|
| 85 |
+
|
| 86 |
+
An LLM is responsible for following task-specific instructions and generating appropriate responses.
|
| 87 |
+
|
| 88 |
+
Many off-the-shelf LLMs, e.g., ChatGPT, Codex (Chen et al., 2021), are pre-trained on massive corpora of text data and/or code data. In addition, they are trained to follow instructions in the prompts (Ouyang et al., 2022) and provide pertinent responses. Exhibiting remarkable proficiencies in natural language processing, instruction compliance, and zero-shot generalization across diverse downstream dialog tasks, these LLMs serve as valuable foundation models for our approach.
|
| 89 |
+
|
| 90 |
+
# 3.3 DST Prompter
|
| 91 |
+
|
| 92 |
+
Given the dialog history $h_t$ , the DST prompter aims to guide the LLM in predicting the belief state $\mathbf{b}_t$ at each turn $t$ , using the belief instruction $\mathbf{BI}$ . The belief state $\mathbf{b}_t$ is defined as the concatenation of the domain/task (i.e., user intent) $\mathbf{d}_t$ and a set of slot-value pairs $\{(s_t^i, v_t^i); i = 1, \dots, n_t\}$ , where $n_t$ is the total number of pairs in the set.
|
| 93 |
+
|
| 94 |
+
As shown in Figure 2, the proposed DST prompter contains four parts: (i) a task instruction that offers general guidance on belief state prediction; (ii) belief instructions $\mathbf{BI}$ of all domains/tasks; (iii) a formatting example illustrating
|
| 95 |
+
|
| 96 |
+

|
| 97 |
+
Figure 2: Illustration of belief state prediction utilizing DST Prompter. The predicted belief state is highlighted.
|
| 98 |
+
|
| 99 |
+
the anticipated output format to direct the LLM, in addition, we follow Hu et al. (2022) and adopt SQL state to represent the dialog state $\boldsymbol{b}_t^3$ ; and $(iv)$ the test input, i.e., the given dialog history $\boldsymbol{h}_t$ . Since the prompt is fixed and no labeled data from the target task or domain is used, we refer to this setting as "zero-shot", following Wang et al. (2022b).
|
| 100 |
+
|
| 101 |
+
Belief Instruction. For each task/domain, the belief instruction contains the task/domain name, all potential slot names, and their possible values (Figure 2). Regarding categorical slots, such as the "price range" in the restaurant domain, all plausible values are included, i.e., "don't care", "cheap", "moderate", and "expensive"; whereas, for non-categorical slots, such as "name", only a few value examples are injected, e.g., Pizza Hut City, Golden Wok, etc. Detailed belief instructions for all tasks/domains can be found in Appendix B.
|
| 102 |
+
|
| 103 |
+

|
| 104 |
+
Figure 3: Illustration of system action determination and response generation employing the Policy Prompter. The pertinent template turns, previously predicted belief state, retrieved DB state within the input, alongside the generated system action and generated response in the output are accentuated.
|
| 105 |
+
|
| 106 |
+
# 3.4 Policy Prompt
|
| 107 |
+
|
| 108 |
+
Dialog policy, governing the behavior of task bots, plays a crucial role in task-oriented dialogs. To represent the dialog policy for a given task, we utilize a policy skeleton, which delineates interaction patterns and encompasses business logic in the form of template dialog flows (Peng et al., 2021b). The Policy Prompter is devised to guide the static LLM in adhering to the policy skeleton $PS$ , enabling the sequential generation of appropriate system actions $\mathbf{a}_t$ and responses $\mathbf{r}_t$ .
|
| 109 |
+
|
| 110 |
+
Analogous to the DST Prompt, the Policy Prompt (Figure 3) comprises four components: (i) a task instruction; (ii) a formatting example derived from another task/domain, consisting of a par
|
| 111 |
+
|
| 112 |
+
tial policy skeleton and its associated dialogue turn exemplar (in Appendix C); (iii) a policy skeleton for the previously predicted domain/task; and (iv) the test input, i.e., the dialog history $\pmb{h}_t$ , generated belief state $\pmb{b}_t$ , and obtained DB state $\pmb{c}_t$ .
|
| 113 |
+
|
| 114 |
+
Policy Skeleton. Given that user behaviors and DB results jointly determine system actions and responses, policy skeleton is designed to cover all fundamental user behaviors and characteristic DB results, along with their corresponding system actions and responses.<sup>5</sup> Considering the infeasibility of developing a multi-task/domain policy skeleton for every possible combination of tasks and domains, we opt to develop a distinct policy skeleton tailored to each specific task and domain.
|
| 115 |
+
|
| 116 |
+
Following Mehri and Eskenazi (2021), our strategy converts the established dialog policy into a series of template dialog turns $\mathcal{X}$ that are logically arranged and concentrate on task completion:
|
| 117 |
+
|
| 118 |
+
$$
|
| 119 |
+
\begin{array}{l} \mathcal {X} = \left\{\boldsymbol {x} _ {i} \right\} _ {i = 1} ^ {N}, \tag {5} \\ \boldsymbol {x} _ {i} = \left(u ^ {i}, a ^ {i}, r ^ {i}\right) o r \left(c ^ {i}, a ^ {i}, r ^ {i}\right) \\ \end{array}
|
| 120 |
+
$$
|
| 121 |
+
|
| 122 |
+
where $\pmb{x}_i$ is a template dialog turn, which contains a user utterance $u^i$ or a DB state $c^i$ , matching system action $a^i$ , and system response $r^i$ . $N$ denotes the total number of template turns within the policy skeleton (around 10-20 template turns depending on the task complexity). In order to equip the frozen LLM with new capabilities or modify current ones, we only need insert, amend, or eliminate a few template turns within the policy skeleton.
|
| 123 |
+
|
| 124 |
+
# 4 Experiments
|
| 125 |
+
|
| 126 |
+
# 4.1 Experimental Setup
|
| 127 |
+
|
| 128 |
+
Datasets. (i) Two multi-domain dialog datasets: Multiwoz 2.0 (Budzianowski et al., 2018) and Multiwoz 2.2 (Zang et al., 2020). (ii) Two single-domain/task datasets: RADDLE (Peng et al., 2021a,c) and STAR (Mosig et al., 2020) (single-task dialogs from the corpus, following the "happy path"). Details are elaborated in Appendix D.
|
| 129 |
+
|
| 130 |
+
Automatic Evaluation Metrics. We evaluate the end-to-end dialog generation performance using the same metrics as those listed in Budzianowski et al. (2018): Inform $(\%)$ , Success $(\%)$ , BLEU $(\%)$ (Papineni et al., 2002) and Combined $(\%)$ judges the overall quality, defined as Combined =
|
| 131 |
+
|
| 132 |
+
(Inform + Success) × 0.5 + BLEU. Additionally, we utilize BERTScore(%) (Zhang* et al., 2020).
|
| 133 |
+
|
| 134 |
+
Following Mehri and Eskenazi (2021), we perform the next action prediction task on STAR (wherein the system actions and response templates are mapped one to one), which predicts next system action given the dialog history. We report the results using F1score $(\%)$ and accuracy $(\%)$ .
|
| 135 |
+
|
| 136 |
+
Human Evaluation Metrics. We conduct interactive human evaluations (by five student helpers), following the evaluation protocol in the DSTC9 Track 1 challenge (Gunasekara et al., 2020). For each dialog session, students are mandated to interact with a dialog agent via natural language and assess the overall dialog quality employing these five metrics: (i) Success w/o g(%), (ii) Success w/ g(%), (iii) Understanding(1-5), (iv) Appropriateness(1-5) and (v) Turns. Full details are elaborated in Appendix D.
|
| 137 |
+
|
| 138 |
+
Compared Methods. We compare the proposed SGP-TOD with SOTA zero-shot transfer methods and zero-shot/few-shot prompting strategies. (We report the mean results of three different runs.)
|
| 139 |
+
|
| 140 |
+
# Zero-shot transfer methods:
|
| 141 |
+
|
| 142 |
+
- BERT+S (Mosig et al., 2020) augments a BERT-base classifier (Devlin et al., 2019) with a system-side schema to predict system action.
|
| 143 |
+
- SAM (Mehri and Eskenazi, 2021) is based on BERT-base, which uses a user-aware schema to predict the next system action.
|
| 144 |
+
- ANYTOD-XXL (Zhao et al., 2022) adopts T5-XXL (Roberts et al., 2022) to generate system actions and responses utilizing slot/action descriptions and a policy program. It is pretrained on SGD dataset (Rastogi et al., 2020a).
|
| 145 |
+
|
| 146 |
+
# Prompting methods:
|
| 147 |
+
|
| 148 |
+
- IG-TOD-CHATGPT (Hudecek and Dusek, 2023) is a prompting approach based on ChatGPT, exploiting slot descriptions for tracking dialog states, fetching DB entries, and generating responses. IG-TOD-CHATGPT-ZS and IG-TOD-CHATGPT-FS are in the zero-shot and few-shot settings, respectively.
|
| 149 |
+
- FEW-SHOT-CHATGPT is a few-shot prompting approach applied to ChatGPT, utilizing a few (i.e., $\pmb{k}$ ) training dialog turns as prompts. Optimal results are achieved with $k = 15$ on Multiwoz and $k = 10$ on RADDLE.
|
| 150 |
+
- SGP-TOD (Ours) is compatible with any off-the-shelf LLMs. In this paper, we employ
|
| 151 |
+
|
| 152 |
+
<table><tr><td rowspan="2">Model</td><td colspan="4">Multiwoz 2.0</td><td colspan="4">Multiwoz 2.2</td></tr><tr><td>Inform</td><td>Success</td><td>BLEU</td><td>Combined</td><td>Inform</td><td>Success</td><td>BLEU</td><td>Combined</td></tr><tr><td colspan="9">Full-shot fine-tuning (with 8.4k+ training dialogs):</td></tr><tr><td>DAMD (Zhang et al., 2020)</td><td>76.33</td><td>60.40</td><td>16.60</td><td>84.97</td><td>-</td><td>-</td><td>-</td><td>-</td></tr><tr><td>SIMPLETOD (Hosseini-Asl et al., 2020)</td><td>84.40</td><td>70.10</td><td>15.01</td><td>92.26</td><td>-</td><td>-</td><td>-</td><td>-</td></tr><tr><td>SOLOIST (Peng et al., 2021a)</td><td>85.50</td><td>72.90</td><td>16.54</td><td>95.74</td><td>81.70</td><td>67.10</td><td>13.60</td><td>88.00</td></tr><tr><td>PPTOD (Su et al., 2022)</td><td>89.20</td><td>79.40</td><td>18.62</td><td>102.92</td><td>-</td><td>-</td><td>-</td><td>-</td></tr><tr><td>MARS (Sun et al., 2022)</td><td>88.90</td><td>78.00</td><td>19.90</td><td>103.35</td><td>88.90</td><td>78.00</td><td>19.60</td><td>103.05</td></tr><tr><td colspan="9">Zero-shot transfer method (pre-trained on SGD):</td></tr><tr><td>ANYTOD-XXL</td><td>-</td><td>-</td><td>-</td><td>-</td><td>73.90</td><td>24.40</td><td>3.40</td><td>52.55</td></tr><tr><td colspan="9">Few-shot prompting:</td></tr><tr><td>IG-TOD-CHATGPT-FS</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td>20.00</td><td>7.17</td><td>-</td></tr><tr><td>FEW-SHOT-CHATGPT</td><td>44.74</td><td>24.32</td><td>7.88</td><td>42.41</td><td>45.40</td><td>24.50</td><td>7.72</td><td>42.67</td></tr><tr><td colspan="9">Zero-shot prompting:</td></tr><tr><td>IG-TOD-CHATGPT-ZS</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td>15.00</td><td>3.58</td><td>-</td></tr><tr><td>SGP-TOD-CHATGPT (Ours)</td><td>64.56</td><td>54.05</td><td>7.17</td><td>66.48</td><td>64.70</td><td>54.70</td><td>6.96</td><td>66.66</td></tr><tr><td>SGP-TOD-CODEX (Ours)</td><td>71.67</td><td>52.55</td><td>7.91</td><td>70.02</td><td>75.50</td><td>52.30</td><td>6.62</td><td>70.53</td></tr><tr><td>SGP-TOD-GPT3.5 (Ours)</td><td>83.88</td><td>69.87</td><td>9.09</td><td>85.97</td><td>82.00</td><td>72.50</td><td>9.22</td><td>86.47</td></tr></table>
|
| 153 |
+
|
| 154 |
+
Table 1: End-to-end dialog generation evaluation results on Multiwoz. Results of SOLOIST, MARS, ANYTOD-XXL on Multiwoz 2.2 are cited from Zhao et al. (2022). Results of IG-TOD-CHATGPT are cited from Hudecek and Dusek (2023). Other results of the full-shot fine-tuning methods are cited from He et al. (2022) and Sun et al. (2022). (Difference in mean is significant with $p < 0.01$ .)
|
| 155 |
+
|
| 156 |
+
<table><tr><td rowspan="2">Model</td><td colspan="4">Attraction</td><td colspan="4">Train</td><td colspan="4">Hotel</td><td colspan="4">Restaurant</td></tr><tr><td>Info.</td><td>Succ.</td><td>BLEU</td><td>Comb.</td><td>Info.</td><td>Succ.</td><td>BLEU</td><td>Comb.</td><td>Info.</td><td>Succ.</td><td>BLEU</td><td>Comb.</td><td>Info.</td><td>Succ.</td><td>BLEU</td><td>Comb.</td></tr><tr><td colspan="17">Few-shot fine-tuning (with 50 training dialogs):</td></tr><tr><td>SIMPLETOD</td><td>65.66</td><td>46.97</td><td>5.85</td><td>62.17</td><td>59.00</td><td>44.00</td><td>7.07</td><td>58.57</td><td>62.50</td><td>40.00</td><td>7.70</td><td>58.95</td><td>75.50</td><td>44.50</td><td>11.00</td><td>71.00</td></tr><tr><td>SOLOIST</td><td>86.00</td><td>65.00</td><td>12.90</td><td>88.40</td><td>80.81</td><td>64.65</td><td>9.96</td><td>82.69</td><td>74.50</td><td>43.50</td><td>8.12</td><td>67.12</td><td>81.00</td><td>55.50</td><td>12.80</td><td>81.50</td></tr><tr><td colspan="17">Few-shot prompting:</td></tr><tr><td>Few-SHOT-CHATGPT</td><td>75.00</td><td>67.00</td><td>8.22</td><td>79.23</td><td>79.80</td><td>65.66</td><td>8.12</td><td>80.85</td><td>51.00</td><td>26.50</td><td>5.80</td><td>44.55</td><td>80.00</td><td>55.50</td><td>7.71</td><td>75.46</td></tr><tr><td colspan="17">Zero-shot prompting:</td></tr><tr><td>SGP-TOD-CHATGPT</td><td>95.00</td><td>94.00</td><td>7.13</td><td>101.63</td><td>76.77</td><td>74.24</td><td>6.75</td><td>82.26</td><td>76.50</td><td>57.00</td><td>5.16</td><td>71.91</td><td>90.00</td><td>82.50</td><td>6.72</td><td>92.97</td></tr><tr><td>SGP-TOD-CODEX</td><td>98.00</td><td>93.00</td><td>10.45</td><td>105.95</td><td>78.79</td><td>70.20</td><td>8.56</td><td>83.06</td><td>83.50</td><td>69.50</td><td>7.86</td><td>84.36</td><td>91.00</td><td>85.00</td><td>10.50</td><td>98.50</td></tr><tr><td>SGP-TOD-GPT3.5</td><td>96.00</td><td>93.00</td><td>9.53</td><td>104.03</td><td>82.83</td><td>77.27</td><td>8.72</td><td>88.77</td><td>82.50</td><td>71.50</td><td>7.05</td><td>84.05</td><td>91.50</td><td>84.00</td><td>12.90</td><td>100.65</td></tr></table>
|
| 157 |
+
|
| 158 |
+
Table 2: End-to-end dialog generation evaluation results on RADDLE. The few-shot fine-tuning results are cited from Peng et al. (2021a). (Difference in mean is significant with $p < 0.01$ .)
|
| 159 |
+
|
| 160 |
+
ChatGPT, GPT-3.5 and Codex. Implementation details are provided in Appendix E.
|
| 161 |
+
|
| 162 |
+
# 4.2 End-to-End Evaluation on Multiwoz
|
| 163 |
+
|
| 164 |
+
Results. We present the evaluation results in multi-domain contexts on Multiwoz in Table 1. In addition to the aforementioned methods, we include the results of SOTA full-shot fine-tuning approaches to facilitate a more comprehensive comparison. SGP-TOD obtains SOTA zero-shot performance, substantially outperforming few-shot prompting approaches across all metrics, while even exhibiting competitive results in comparison to full-shot fine-tuning methods concerning Success and Inform. This confirms the effectiveness of integrating the task schema with the LLMs' proficient language processing capabilities.
|
| 165 |
+
|
| 166 |
+
Comparison with Prompting Methods. SGP-TOD-CHATGPT distinctly surpasses the zero-shot prompting approach IG-TOD-CHATGPT-zs with respect to Success (surpassing by $40\%$ ) and BLEU (exceeding by $3\%$ ). Moreover, SGP-TOD-CHATGPT, without requiring task-specific data,
|
| 167 |
+
|
| 168 |
+
considerably outperforms the few-shot prompting methods, i.e., IG-TOD-CHATGPT-FS and FEWSHOT-CHATGPT (e.g., about 30 points improvement over Success). This suggests that providing explicit and concise task instructions via task schema is preferable to imparting implicit task guidance through the selected dialog turns.
|
| 169 |
+
|
| 170 |
+
Comparison with Zero-Shot Transfer Methods. Our SGP-TOD demonstrates a substantial advantage over ANYTOD-XXL, which necessitates task-specific pre-training and additional annotations, e.g., slot and action descriptions, over all the metrics. This exemplifies the potency of SGP-TOD, which markedly reduces the necessity for human labor and computational resources.
|
| 171 |
+
|
| 172 |
+
Comparison with Full-Shot Fine-Tuning Methods. SGP-TOD exhibits competitive performance over Inform and Success. The lower BLEU is due to a lack of linguistic variations of the template utterances, which is acceptable considering the trade-off between human effort and efficacy.
|
| 173 |
+
|
| 174 |
+
<table><tr><td rowspan="2">Model</td><td colspan="2">Task transfer</td><td colspan="2">Domain transfer</td></tr><tr><td>F1</td><td>Accuracy</td><td>F1</td><td>Accuracy</td></tr><tr><td colspan="5">Zero-shot transfer (leave-one fine-tuning with 2.5k training dialogs):</td></tr><tr><td>BERT+S</td><td>24.25</td><td>24.89</td><td>25.70</td><td>28.56</td></tr><tr><td>SAM</td><td>49.82</td><td>51.30</td><td>55.91</td><td>57.92</td></tr><tr><td colspan="5">Zero-shot prompting:</td></tr><tr><td>SGP-TOD-CODEX-INI</td><td>45.18</td><td>47.99</td><td>47.21</td><td>49.97</td></tr><tr><td>SGP-TOD-GPT3.5</td><td>47.67</td><td>48.27</td><td>49.76</td><td>50.39</td></tr><tr><td>SGP-TOD-CODEX</td><td>49.78</td><td>51.01</td><td>52.72</td><td>53.66</td></tr><tr><td>SGP-TOD-GPT3.5-E2E</td><td>50.84</td><td>50.74</td><td>53.50</td><td>53.21</td></tr></table>
|
| 175 |
+
|
| 176 |
+
# 4.3 End-to-End Evaluation on RADDLE
|
| 177 |
+
|
| 178 |
+
Results. Table 2 reports the results in single-domain settings on RADDLE. On all four dialog tasks, SGP-TOD demonstrates remarkable zero-shot performance that consistently surpasses both few-shot prompting and fine-tuning approaches. This results in substantial improvements of up to $12\%$ in Inform, $45\%$ in Success, and $19\%$ in Combined metrics, while maintaining competitive BLEU scores. This evidence further substantiates the efficacy of SGP-TOD.
|
| 179 |
+
|
| 180 |
+
# 4.4 End-to-End Evaluation on STAR
|
| 181 |
+
|
| 182 |
+
Setup. BERT+S, SAM are fine-tuned on source tasks/domains then zero-shot on the held-out task/domain. SGP-TOD is presented with two formatting turns from the source tasks/domains.
|
| 183 |
+
|
| 184 |
+
Results. Following Mehri and Eskenazi (2021), we report the zero-shot evaluation results in two settings, i.e., task transfer and domain transfer in Table 3. SGP-TOD, merely with two formatting sample turns, demonstrates exceptional performance, surpassing or rivaling SOTA zero-shot transfer methods in both settings. This outcome signifies that, even when faced with complicated business logic and system actions in dialog policies, the proposed SGP-TOD continues to exhibit commendable performance. Additionally, we investigate the impact of changing the number of training dialogs and formatting example turns in Appendix F.
|
| 185 |
+
|
| 186 |
+
Impact of Different LLMs and Prompt Formats. SGP-TOD-CODEX surpasses SGP-TOD-GPT3.5 while rivaling SGP-TOD-GPT3.5-E2E (with template responses affixed to action labels in the policy prompt, demonstrated in Figure 10 in Appendix M). We conjecture that Codex, benefiting from extensive pre-training on copious code
|
| 187 |
+
|
| 188 |
+
Table 3: Zero-shot end-to-end next action prediction evaluation results on STAR. (Difference in mean is significant with $p < 0.01$ .)
|
| 189 |
+
|
| 190 |
+
<table><tr><td rowspan="2">Model</td><td rowspan="2">FT/FS/ZS</td><td colspan="4">Restaurant-Ext</td></tr><tr><td>Info.</td><td>Succ.</td><td>BLEU</td><td>BERTS.</td></tr><tr><td colspan="6">Without domain-relevant knowledge</td></tr><tr><td>ChatGPT</td><td>ZS</td><td>44.00</td><td>6.00</td><td>4.31</td><td>85.96</td></tr><tr><td>GPT-3.5</td><td>ZS</td><td>34.00</td><td>16.00</td><td>8.70</td><td>84.31</td></tr><tr><td colspan="6">With prior knowledge on Restaurant</td></tr><tr><td>SOLOIST</td><td>FT</td><td>78.00</td><td>0.00</td><td>10.62</td><td>87.24</td></tr><tr><td>SGP-TOD-CHATGPT</td><td>ZS</td><td>88.00</td><td>34.00</td><td>5.45</td><td>86.11</td></tr><tr><td>SGP-TOD-GPT3.5</td><td>ZS</td><td>94.00</td><td>30.00</td><td>10.68</td><td>87.30</td></tr><tr><td colspan="6">With knowledge on Restaurant-Ext</td></tr><tr><td>SOLOIST+TEACH</td><td>FT</td><td>82.00</td><td>38.00</td><td>10.99</td><td>87.66</td></tr><tr><td>FEW-SHOT-GPT3.5+TEACH</td><td>FS</td><td>88.00</td><td>54.00</td><td>12.95</td><td>88.90</td></tr><tr><td>SGP-TOD-CHATGPT-EXT</td><td>ZS</td><td>88.00</td><td>78.00</td><td>6.25</td><td>86.15</td></tr><tr><td>SGP-TOD-GPT3.5-EXT</td><td>ZS</td><td>96.00</td><td>86.00</td><td>14.57</td><td>89.01</td></tr></table>
|
| 191 |
+
|
| 192 |
+
Table 4: End-to-end evaluation results on domain extension. FT: fine-tuning, FS: few-shot prompting, ZS: zero-shot prompting, Info.: Inform, Succ.: Success, BERTS.: BERTScore. (Difference in mean is significant with $p < 0.01$ .)
|
| 193 |
+
|
| 194 |
+
data, demonstrates enhanced proficiency compared to GPT-3.5 in interpreting action labels. In addition, appending template responses is presumed to facilitate the explication of action labels for GPT-3.5.
|
| 195 |
+
|
| 196 |
+
Impact of Different Task Schemas. SGP-TOD-CODEX-INI, utilizing an identical task schema as employed in training SAM, manifests commendable performance. This result highlights that SGP-TOD as a flexible prompting strategy, compatible with any manually-crafted task schema.
|
| 197 |
+
|
| 198 |
+
# 4.5 End-to-End Evaluation on Domain Extension
|
| 199 |
+
|
| 200 |
+
Setup. We conduct experiments in a domain extension setting (Gasic et al., 2014; Lipton et al., 2018) to assess the efficacy of SGP-TOD in adapting deployed task bots to incorporate novel functionalities. Following Zhang et al. (2022), we construct the Restaurant-ext corpus by extending the Restaurant in RADDLE with four new slots: [restaurant_dish], [value_price], [start_time], and [end_time]. Details are shown in Appendix J.
|
| 201 |
+
|
| 202 |
+
# Compared Methods.
|
| 203 |
+
|
| 204 |
+
- ChatGPT, GPT-3.5 denote zero-shot prompting that receive two formatting examples.
|
| 205 |
+
- SGP-TOD-CHATGPT, SGP-TOD-GPT3.5 represent our SGP-TOD implementation, with the Restaurant policy skeleton.
|
| 206 |
+
- SOLOIST is trained with 50 training dialogs in Restaurant domain (reported in Table 2).
|
| 207 |
+
- SOLOIST+TEACH is fine-tuning method enhanced with machine teaching (Simard et al., 2017). We deploy SOLOIST to converse with
|
| 208 |
+
|
| 209 |
+
real users, then implement machine teaching to obtain 10/50/50 annotated dialogs in Restaurant-ext for training, validating, and testing. We fine-tune SOLOIST with the gathered 10 training dialogs covering new slots.
|
| 210 |
+
|
| 211 |
+
- FEW-SHOT-GPT3.5+TEACH is the few-shot prompting strategy augmented with machine teaching. We use 10 randomly selected dialog turns from the collected 10 training dialogs as prompts (with peak performance at 10).
|
| 212 |
+
- SGP-TOD-CHATGPT-EXT, SGP-TOD-GP3.5-EXT refer to SGP-TOD with Restaurant-Ext policy skeleton, where we only add four template turns about four new slots to the policy skeleton of Restaurant.
|
| 213 |
+
|
| 214 |
+
Results. In Table 4, SGP-TOD-CHATGPT-EXT, and notably SGP-TOD-GPT3.5-EXT surpasses all other evaluated approaches by a substantial margin over all the metrics. This demonstrates the strong adaptability of our SGP-TOD in accommodating novel functionalities, revealing its immense potential for lifelong learning. Two interactive dialog examples are supplied in Appendix K.
|
| 215 |
+
|
| 216 |
+
Comparison with Approaches Augmented by Machine Teaching. SOLOIST yields zero Success, a predictable result given its lack of awareness regarding the new features. Augmented by machine teaching, SOLOIST+TEACH substantially improves SOLOIST in terms of Inform and Success. Nevertheless, relying solely on prior Restaurant knowledge, both SGP-TOD-CHATGPT and SGP-TOD-GP3.5 exhibit performance on par with SOLOIST+TEACH, demonstrating that SGP-TOD provides enhanced robustness in zero-shot generalization. Moreover, SGP-TOD-GP3.5-Ext obtains substantially higher Success rates than SOLOIST+TEACH (a rise of $48\%$ ) and FEW-SHOTGPT3.5+TEACH (an increase of $32\%$ ). Compared to fine-tuning/prompting strategies utilizing additional dialogs corrected through machine teaching, SGP-TOD facilitates a more agile adaptation to novel functionalities by merely modifying template turns within the task schema.
|
| 217 |
+
|
| 218 |
+
# 4.6 Interactive Human Evaluation
|
| 219 |
+
|
| 220 |
+
Setup. We conduct interactive human evaluations on Restaurant domain to evaluate the performance of SOLOIST, FEW-SHOT-CHATGPT, SGP-TOD-CHATGPT (reported in Table 2), with 50 dialogs gathered for analysis, respectively. Details can be found in Appendix H.
|
| 221 |
+
|
| 222 |
+
<table><tr><td rowspan="2">Model</td><td colspan="5">Restaurant</td></tr><tr><td>Sw/o g ↑</td><td>Sw/ g ↑</td><td>Und. ↑</td><td>App. ↑</td><td>T. ↓</td></tr><tr><td>SOLOIST</td><td>34.00</td><td>30.00</td><td>2.18</td><td>2.10</td><td>10.64</td></tr><tr><td>FEW-SHOT-CHATGPT</td><td>94.00</td><td>74.00</td><td>4.58</td><td>4.72</td><td>8.32</td></tr><tr><td>SGP-TOD-CHATGPT</td><td>100.00</td><td>92.00</td><td>4.86</td><td>4.88</td><td>7.28</td></tr></table>
|
| 223 |
+
|
| 224 |
+
Table 5: Human evaluation results. S w/o g, S w/ g: Success without / with grounding; Und.: Understanding; App.: Appropriateness; T.: Turns.
|
| 225 |
+
|
| 226 |
+
<table><tr><td rowspan="2">Model</td><td colspan="4">Multiwoz 2.2</td></tr><tr><td>Inform</td><td>Success</td><td>BLEU</td><td>Combined</td></tr><tr><td>SP-TOD-GPT3.5</td><td>82.00</td><td>72.50</td><td>9.22</td><td>86.47</td></tr><tr><td>-policy</td><td>81.80</td><td>56.20</td><td>6.63</td><td>75.63</td></tr><tr><td>-policy -DB</td><td>81.40</td><td>52.30</td><td>6.57</td><td>73.42</td></tr><tr><td>-policy -DB -belief</td><td>38.60</td><td>33.90</td><td>6.29</td><td>42.54</td></tr></table>
|
| 227 |
+
|
| 228 |
+
Table 6: Ablation study results on the impact of the three components in the proposed SGP-TOD and the database expertise on Multiwoz 2.2 using GPT-3.5. -policy: removing Policy Prompt, -DB: removing database expertise, -belief: removing DST Prompt.
|
| 229 |
+
|
| 230 |
+
Results. In Table 5, our proposed SGP-TOD-CHATGPT attains a remarkably high performance in a zero-shot context, consistently outpacing SOLOIST and FEW-SHOT-CHATGPT across all metrics. Particularly, regarding Success w/ g, SGP-TOD-CHATGPT significantly surpasses FEW-SHOT-CHATGPT (by $18\%$ ) and SOLOIST (by $62\%$ ), illustrating its proficiency in accomplishing tasks within real-world scenarios. Furthermore, SGP-TOD-CHATGPT exhibits a more stable performance (demonstrated in Appendix I). A detailed analysis is provided in Appendix I.
|
| 231 |
+
|
| 232 |
+
# 4.7 Ablation Study
|
| 233 |
+
|
| 234 |
+
In Table 6, we study the impact of the three components of SGP-TOD (namely, Policy Prompter, DST Prompter, and LLM) as well as the database expertise, on Multiwoz 2.2 utilizing GPT-3.5. Combining the three elements in SGP-TOD with the database expertise produces the optimal result, underscoring the value of enhancing the LLM with the task schema and external database information. Detailed analyses are provided in Appendix G.
|
| 235 |
+
|
| 236 |
+
# 5 Conclusion
|
| 237 |
+
|
| 238 |
+
We present SGP-TOD, a schema-guided prompting strategy aimed at the expeditious construction of end-to-end task bots, relying exclusively on LLMs and the corresponding task schema. Employing the symbolic knowledge - task schema, SGP-TOD guides fixed LLMs to generate suitable responses for novel tasks in a zero-shot fashion. Empirical findings on four well-studied datasets
|
| 239 |
+
|
| 240 |
+
reveal that SGP-TOD attains remarkable SOTA zero-shot performance, using both automatic and human evaluations. For future work, we plan to explore the use of SGP-TOD to develop personalized chatbots by utilizing pertinent task schema.
|
| 241 |
+
|
| 242 |
+
# Limitations
|
| 243 |
+
|
| 244 |
+
This work is accompanied by two primary limitations. (i) Data contamination (Brown et al., 2020; Madotto et al., 2021) in prompt-based zero-shot learning pertains to the potential presence of test samples during the LLM pre-training phase. Given that data utilized for pre-training LLMs, such as ChatGPT and GPT-4, remains undisclosed and continuously expands, verifying data contamination presents a formidable challenge. Consequently, our research cannot preclude data contamination in the experimental process, deferring a more comprehensive investigation to future endeavors. Nevertheless, we undertake domain-extension experiments (Table 4 in Section 4.5), subjecting our proposed SGP-TOD to evaluation on a novel test set (currently not publicly available), encompassing recently obtained and annotated human-bot dialogs. The remarkable zero-shot performance of SGP-TOD demonstrates its substantial potential for adeptly adapting to innovative functionalities, without reliance on task-specific data.
|
| 245 |
+
|
| 246 |
+
(ii) We employ the manually-crafted task schema as prompts to steer the LLMs towards generating suitable responses on novel tasks. As illustrated in Table 3 of Section 4.4, SGP-TOD exhibits minor performance discrepancies when implementing disparate task schema formulated by various authors. Notwithstanding such variations, our objective is to offer a foundational basis for schemaguided LLM prompting; future research may investigate approaches to designing more efficient task schema, i.e., diverse formats and coverage.
|
| 247 |
+
|
| 248 |
+
# Ethics Statement
|
| 249 |
+
|
| 250 |
+
Throughout the interactive human evaluations and domain-extension experiments, all participating student helpers were informed of the research objectives prior to the collection and annotation of human-bot dialog logs. Their privacy was ensured to remain protected and undisclosed during the research period. Each participant received equitable remuneration.
|
| 251 |
+
|
| 252 |
+
The Promoters utilized in this research incorporate no language that discriminates against specific
|
| 253 |
+
|
| 254 |
+
individuals or groups (Zhou et al., 2022) and avoid any negative impact on users' well-being (Bergman et al., 2022). Instances of these Prompts are provided in Appendix M. Furthermore, subsequent research endeavors may consider utilizing the OpenAI moderation API<sup>7</sup> in conjunction with other related APIs to systematically filter out unsuitable user inputs and system responses.
|
| 255 |
+
|
| 256 |
+
# Acknowledgements
|
| 257 |
+
|
| 258 |
+
This Project is partially supported by the HKSARG General Research Fund (Ref No. 14207619). We would like to express our gratitude to Xiaohan Feng and Haohan Guo for their valuable comments.
|
| 259 |
+
|
| 260 |
+
# References
|
| 261 |
+
|
| 262 |
+
A. Stevie Bergman, Gavin Abercrombie, Shannon Spruit, Dirk Hovy, Emily Dinan, Y-Lan Boureau, and Verena Rieser. 2022. Guiding the release of safer E2E conversational AI through value sensitive design. In Proceedings of the 23rd Annual Meeting of the Special Interest Group on Discourse and Dialogue, pages 39-52, Edinburgh, UK. Association for Computational Linguistics.
|
| 263 |
+
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.
|
| 264 |
+
Sebastien Bubeck, Varun Chandrasekaran, Ronen Eldan, Johannes Gehrke, Eric Horvitz, Ece Kamar, Peter Lee, Yin Tat Lee, Yuanzhi Li, Scott Lundberg, Harsha Nori, Hamid Palangi, Marco Tulio Ribeiro, and Yi Zhang. 2023. Sparks of artificial general intelligence: Early experiments with gpt-4.
|
| 265 |
+
Paweł Budzianowski, Tsung-Hsien Wen, Bo-Hsiang Tseng, Inigo Casanueva, Ultes Stefan, Ramadan Osman, and Milica Gašić. 2018. Multiwoz - a large-scale multi-domain wizard-of-oz dataset for task-oriented dialogue modelling. In Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing (EMNLP).
|
| 266 |
+
Giovanni Campagna, Agata Foryciarz, Mehrad Moradshahi, and Monica Lam. 2020. Zero-shot transfer learning with synthesized data for multi-domain dialogue state tracking. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pages 122-132, Online. Association for Computational Linguistics.
|
| 267 |
+
Mark Chen, Jerry Tworek, Heewoo Jun, Qiming Yuan, Henrique Ponde de Oliveira Pinto, Jared Kaplan, Harri Edwards, Yuri Burda, Nicholas Joseph, Greg Brockman, et al. 2021. Evaluating large language models trained on code. arXiv preprint arXiv:2107.03374.
|
| 268 |
+
Zhoujun Cheng, Tianbao Xie, Peng Shi, Chengzhu Li, Rahul Nadkarni, Yushi Hu, Caiming Xiong, Dragomir Radev, Mari Ostendorf, Luke Zettlemoyer, Noah A. Smith, and Tao Yu. 2023. Binding language models in symbolic languages. *ICLR*, abs/2210.02875.
|
| 269 |
+
Aakanksha Chowdhery, Sharan Narang, Jacob Devlin, Maarten Bosma, Gaurav Mishra, Adam Roberts,
|
| 270 |
+
|
| 271 |
+
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. 2022a. Palm: Scaling language modeling with pathways.
|
| 272 |
+
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. 2022b. Palm: Scaling language modeling with pathways. CoRR, abs/2204.02311.
|
| 273 |
+
Haixing Dai, Zhengliang Liu, Wenxiong Liao, Xiaoke Huang, Yihan Cao, Zihao Wu, Lin Zhao, Shaochen Xu, Wei Liu, Ninghao Liu, Sheng Li, Dajiang Zhu, Hongmin Cai, Lichao Sun, Quanzheng Li, Dinggang Shen, Tianming Liu, and Xiang Li. 2023. Auggpt: Leveraging chatgpt for text data augmentation.
|
| 274 |
+
Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. 2019. BERT: pre-training of deep bidirectional transformers for language understanding. In Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, NAACL-HLT 2019, Minneapolis, MN, USA, June 2-7, 2019, Volume 1 (Long and Short Papers), pages 4171-4186. Association for Computational Linguistics.
|
| 275 |
+
Qingxiu Dong, Lei Li, Damai Dai, Ce Zheng, Zhiyong
|
| 276 |
+
|
| 277 |
+
Wu, Baobao Chang, Xu Sun, Jingjing Xu, Lei Li, and Zhifang Sui. 2023. A survey on in-context learning.
|
| 278 |
+
Milica Gasic, Dongho Kim, Pirros Tsiakoulis, Catherine Breslin, Matthew Henderson, Martin Szummer, Blaise Thomson, and Steve J. Young. 2014. Incremental on-line adaptation of pomdp-based dialogue managers to extended domains. In INTER-SPEECH 2014, 15th Annual Conference of the International Speech Communication Association, Singapore, September 14-18, 2014, pages 140-144. ISCA.
|
| 279 |
+
Chulaka Gunasekara, Seokhwan Kim, Luis Fernando D'Haro, Abhinav Rastogi, Yun-Nung Chen, Mihail Eric, Behnam Hedayatnia, Karthik Gopalakrishnan, Yang Liu, Chao-Wei Huang, et al. 2020. Overview of the ninth dialog system technology challenge: Dstc9. arXiv preprint arXiv:2011.06486.
|
| 280 |
+
Wanwei He, Yinpei Dai, Yinhe Zheng, Yuchuan Wu, Zheng Cao, Dermot Liu, Peng Jiang, Min Yang, Fei Huang, Luo Si, et al. 2022. Galaxy: A generative pre-trained model for task-oriented dialog with semi-supervised learning and explicit policy injection. Proceedings of the AAAI Conference on Artificial Intelligence.
|
| 281 |
+
Ehsan Hosseini-Asl, Bryan McCann, Chien-Sheng Wu, Semih Yavuz, and Richard Socher. 2020. A simple language model for task-oriented dialogue. Advances in Neural Information Processing Systems, 33:20179-20191.
|
| 282 |
+
Yushi Hu, Chia-Hsuan Lee, Tianbao Xie, Tao Yu, Noah A. Smith, and Mari Ostendorf. 2022. Incontext learning for few-shot dialogue state tracking. In Findings of the Association for Computational Linguistics: EMNLP 2022, pages 2627-2643, Abu Dhabi, United Arab Emirates. Association for Computational Linguistics.
|
| 283 |
+
Vojtech Hudecek and Ondrej Dusek. 2023. Are llms all you need for task-oriented dialogue? CoRR, abs/2304.06556.
|
| 284 |
+
Mihir Kale and Abhinav Rastogi. 2020. Template guided text generation for task-oriented dialogue. In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing, EMNLP 2020, Online, November 16-20, 2020, pages 6505-6520. Association for Computational Linguistics.
|
| 285 |
+
Zekun Li, Wenhu Chen, Shiyang Li, Hong Wang, Jing Qian, and Xifeng Yan. 2022. Controllable dialogue simulation with in-context learning. In *Findings of the Association for Computational Linguistics: EMNLP* 2022, pages 4330-4347, Abu Dhabi, United Arab Emirates. Association for Computational Linguistics.
|
| 286 |
+
Yaobo Liang, Chenfei Wu, Ting Song, Wenshan Wu, Yan Xia, Yu Liu, Yang Ou, Shuai Lu, Lei Ji, Shaoguang Mao, Yun Wang, Linjun Shou, Ming Gong, and Nan Duan. 2023. Taskmatrix.ai: Completing tasks by connecting foundation models with millions of apis.
|
| 287 |
+
|
| 288 |
+
Zhaojiang Lin, Bing Liu, Andrea Madotto, Seungwhan Moon, Zhenpeng Zhou, Paul A Crook, Zhiguang Wang, Zhou Yu, Eunjoon Cho, Rajen Subba, et al. 2021a. Zero-shot dialogue state tracking via cross-task transfer. In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing, pages 7890-7900.
|
| 289 |
+
Zhaojiang Lin, Bing Liu, Seungwhan Moon, Paul A Crook, Zhenpeng Zhou, Zhiguang Wang, Zhou Yu, Andrea Madotto, Eunjoon Cho, and Rajen Subba. 2021b. Leveraging slot descriptions for zero-shot cross-domain dialogue statetracking. In Proceedings of the 2021 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pages 5640-5648.
|
| 290 |
+
Zachary Lipton, Xiujun Li, Jianfeng Gao, Lihong Li, Faisal Ahmed, and Li Deng. 2018. BBQ-networks: Efficient exploration in deep reinforcement learning for task-oriented dialogue systems. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 32.
|
| 291 |
+
Jiachang Liu, Dinghan Shen, Yizhe Zhang, Bill Dolan, Lawrence Carin, and Weizhu Chen. 2022. What makes good in-context examples for GPT-3? In Proceedings of Deep Learning Inside Out (DeeLIO 2022): The 3rd Workshop on Knowledge Extraction and Integration for Deep Learning Architectures, pages 100–114, Dublin, Ireland and Online. Association for Computational Linguistics.
|
| 292 |
+
Andrea Madotto, Zhaojiang Lin, Genta Indra Winata, and Pascale Fung. 2021. Few-shot bot: Prompt-based learning for dialogue systems. arXiv preprint arXiv:2110.08118.
|
| 293 |
+
Shikib Mehri, Yasemin Altun, and Maxine Eskenazi. 2022. LAD: Language models as data for zero-shot dialog. In Proceedings of the 23rd Annual Meeting of the Special Interest Group on Discourse and Dialogue, pages 595-604, Edinburgh, UK. Association for Computational Linguistics.
|
| 294 |
+
Shikib Mehri and Maxine Eskenazi. 2021. Schemaguided paradigm for zero-shot dialog. arXiv preprint arXiv:2106.07056.
|
| 295 |
+
Johannes EM Mosig, Shikib Mehri, and Thomas Kober. 2020. Star: A schema-guided dialog dataset for transfer learning. arXiv preprint arXiv:2010.11853.
|
| 296 |
+
Maxwell I. Nye, Michael Henry Tessler, Joshua B. Tenenbaum, and Brenden M. Lake. 2021. Improving coherence and consistency in neural sequence models with dual-system, neuro-symbolic reasoning. In Advances in Neural Information Processing Systems 34: Annual Conference on Neural Information Processing Systems 2021, NeurIPS 2021, December 6-14, 2021, virtual, pages 25192-25204.
|
| 297 |
+
OpenAI. 2022. large-scale generative pre-training model for conversation. OpenAI blog.
|
| 298 |
+
OpenAI. 2023. Gpt-4 technical report.
|
| 299 |
+
|
| 300 |
+
Long Ouyang, Jeffrey Wu, Xu Jiang, Diogo Almeida, Carroll Wainwright, Pamela Mishkin, Chong Zhang, Sandhini Agarwal, Katarina Slama, Alex Ray, John Schulman, Jacob Hilton, Fraser Kelton, Luke Miller, Maddie Simens, Amanda Askell, Peter Welinder, Paul F Christiano, Jan Leike, and Ryan Lowe. 2022. Training language models to follow instructions with human feedback. In Advances in Neural Information Processing Systems, volume 35, pages 27730-27744. Curran Associates, Inc.
|
| 301 |
+
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.
|
| 302 |
+
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.
|
| 303 |
+
Baolin Peng, Chunyuan Li, Jinchao Li, Shahin Shayan-deh, Lars Liden, and Jianfeng Gao. 2021a. Soloist: Building task bots at scale with transfer learning and machine teaching. Transactions of the Association for Computational Linguistics, 9:807-824.
|
| 304 |
+
Baolin Peng, Chunyuan Li, Zhu Zhang, Jinchao Li, Chenguang Zhu, and Jianfeng Gao. 2021b. Synergy: Building task bots at scale using symbolic knowledge and machine teaching. arXiv preprint arXiv:2110.11514.
|
| 305 |
+
Baolin Peng, Chunyuan Li, Zhu Zhang, Chenguang Zhu, Jinchao Li, and Jianfeng Gao. 2021c. RADDLE: an evaluation benchmark and analysis platform for robust task-oriented dialog systems. In Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing, ACL/IJCNLP 2021, (Volume 1: Long Papers), Virtual Event, August 1-6, 2021, pages 4418-4429. Association for Computational Linguistics.
|
| 306 |
+
Kun Qian and Zhou Yu. 2019. Domain adaptive dialog generation via meta learning. In Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics, pages 2639-2649, Florence, Italy. Association for Computational Linguistics.
|
| 307 |
+
Chengwei Qin, Aston Zhang, Zhuosheng Zhang, Jiaao Chen, Michihiro Yasunaga, and Diyi Yang. 2023. Is chatgpt a general-purpose natural language processing task solver?
|
| 308 |
+
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.
|
| 309 |
+
|
| 310 |
+
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. Journal of Machine Learning Research, 21(140):1-67.
|
| 311 |
+
Abhinav Rastogi, Xiaoxue Zang, Srinivas Sunkara, Raghav Gupta, and Pranav Khaitan. 2020a. Towards scalable multi-domain conversational agents: The schema-guided dialogue dataset. In *The Thirty-Fourth AAAI Conference on Artificial Intelligence*, AAAI 2020, The Thirty-Second Innovative Applications of Artificial Intelligence Conference, IAAI 2020, The Tenth AAAI Symposium on Educational Advances in Artificial Intelligence, EAAI 2020, New York, NY, USA, February 7-12, 2020, pages 8689-8696. AAAI Press.
|
| 312 |
+
Abhinav Rastogi, Xiaoxue Zang, Srinivas Sunkara, Raghav Gupta, and Pranav Khaitan. 2020b. Towards scalable multi-domain conversational agents: The schema-guided dialogue dataset. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 34, pages 8689-8696.
|
| 313 |
+
Adam Roberts, Hyung Won Chung, Anselm Levskaya, Gaurav Mishra, James Bradbury, Daniel Andor, Sharan Narang, Brian Lester, Colin Gaffney, Afroz Mohiuddin, Curtis Hawthorne, Aitor Lewkowycz, Alex Salcianu, Marc van Zee, Jacob Austin, Sebastian Goodman, Livio Baldini Soares, Haitang Hu, Sasha Tsvyashchenko, Aakanksha Chowdhery, Jasmina Bastings, Jannis Bulian, Xavier Garcia, Jianmo Ni, Andrew Chen, Kathleen Kenealy, Jonathan H. Clark, Stephan Lee, Dan Garrette, James Lee-Thorp, Colin Raffel, Noam Shazeer, Marvin Ritter, Maarten Bosma, Alexandre Passos, Jeremy Maitin-Shepard, Noah Fiedel, Mark Omernick, Brennan Saeta, Ryan Sepassi, Alexander Spiridonov, Joshua Newlan, and Andrea Gesmundo. 2022. Scaling up models and data with t5x and seqio.
|
| 314 |
+
Darsh J Shah, Raghav Gupta, Amir A Fayazi, and Dilek Hakkani-Tur. 2019. Robust zero-shot cross-domain slot filling with example values. arXiv preprint arXiv:1906.06870.
|
| 315 |
+
Richard Shin and Benjamin Van Durme. 2022. Few-shot semantic parsing with language models trained on code. In Proceedings of the 2022 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pages 5417-5425, Seattle, United States. Association for Computational Linguistics.
|
| 316 |
+
Swadheen Shukla, Lars Liden, Shahin Shayandeh, Eslam Kamal, Jinchao Li, Matt Mazzola, Thomas Park, Baolin Peng, and Jianfeng Gao. 2020. Conversation Learner - a machine teaching tool for building dialog managers for task-oriented dialog systems. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics: System Demonstrations, pages 343-349, Online. Association for Computational Linguistics.
|
| 317 |
+
|
| 318 |
+
Patrice Y. Simard, Saleema Amershi, David Maxwell Chickering, Alicia Edelman Pelton, Soroush Ghorashi, Christopher Meek, Gonzalo A. Ramos, Jina Suh, Johan Verwey, Mo Wang, and John Werns-ing. 2017. Machine teaching: A new paradigm for building machine learning systems. CoRR, abs/1707.06742.
|
| 319 |
+
Yixuan Su, Lei Shu, Elman Mansimov, Arshit Gupta, Deng Cai, Yi-An Lai, and Yi Zhang. 2022. Multi-task pre-training for plug-and-play task-oriented dialogue system. Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (ACL).
|
| 320 |
+
Haipeng Sun, Junwei Bao, Youzheng Wu, and Xiaodong He. 2022. Mars: Semantic-aware contrastive learning for end-to-end task-oriented dialog. arXiv preprint arXiv:2210.08917.
|
| 321 |
+
Jindong Wang, Xixu Hu, Wenxin Hou, Hao Chen, Runkai Zheng, Yidong Wang, Linyi Yang, Haojun Huang, Wei Ye, Xiubo Geng, Binxin Jiao, Yue Zhang, and Xing Xie. 2023. On the robustness of chatgpt: An adversarial and out-of-distribution perspective.
|
| 322 |
+
Qingyue Wang, Yanan Cao, Piji Li, Yanhe Fu, Zheng Lin, and Li Guo. 2022a. Slot dependency modeling for zero-shot cross-domain dialogue state tracking. In Proceedings of the 29th International Conference on Computational Linguistics, pages 510-520, Gyeongju, Republic of Korea. International Committee on Computational Linguistics.
|
| 323 |
+
Yizhong Wang, Swaroop Mishra, Pegah Alipoormolabashi, Yeganeh Kordi, Amirreza Mirzaei, Atharva Naik, Arjun Ashok, Arut Selvan Dhanasekaran, Anjana Arunkumar, David Stap, et al. 2022b. Supernaturalinstructions: Generalization via declarative instructions on $1600+$ nlp tasks. In Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing, pages 5085-5109.
|
| 324 |
+
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.
|
| 325 |
+
Jason D. Williams and Lars Liden. 2017. Demonstration of interactive teaching for end-to-end dialog control with hybrid code networks. In Proceedings of the 18th Annual SIGdial Meeting on Discourse and Dialogue, Saarbrücken, Germany, August 15-17, 2017, pages 82-85. Association for Computational Linguistics.
|
| 326 |
+
Chien-Sheng Wu, Andrea Madotto, Ehsan Hosseini-Asl, Caiming Xiong, Richard Socher, and Pascale Fung. 2019. Transferable multi-domain state generator for task-oriented dialogue systems. In Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics, pages 808-819, Florence, Italy. Association for Computational Linguistics.
|
| 327 |
+
|
| 328 |
+
Tianbao Xie, Chen Henry Wu, Peng Shi, Ruiqi Zhong, Torsten Scholak, Michihiro Yasunaga, Chien-Sheng Wu, Ming Zhong, Pengcheng Yin, Sida I. Wang, Victor Zhong, Bailin Wang, Chengzu Li, Connor Boyle, Ansong Ni, Ziyu Yao, Dragomir Radev, Caiming Xiong, Lingpeng Kong, Rui Zhang, Noah A. Smith, Luke Zettlemoyer, and Tao Yu. 2022. UnifiedSKG: Unifying and multi-tasking structured knowledge grounding with text-to-text language models. In Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing, pages 602-631, Abu Dhabi, United Arab Emirates. Association for Computational Linguistics.
|
| 329 |
+
Dian Yu, Luheng He, Yuan Zhang, Xinya Du, Panupong Pasupat, and Qi Li. 2021. Few-shot intent classification and slot filling with retrieved examples. In Proceedings of the 2021 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, NAACL-HLT 2021, Online, June 6-11, 2021, pages 734-749. Association for Computational Linguistics.
|
| 330 |
+
Xiaoxue Zang, Abhinav Rastogi, Srinivas Sunkara, Raghav Gupta, Jianguo Zhang, and Jindong Chen. 2020. MultiWOZ 2.2: A dialogue dataset with additional annotation corrections and state tracking baselines. In Proceedings of the 2nd Workshop on Natural Language Processing for Conversational AI, pages 109-117, Online. Association for Computational Linguistics.
|
| 331 |
+
Tianyi Zhang*, Varsha Kishore*, Felix Wu*, Kilian Q. Weinberger, and Yoav Artzi. 2020. *Bertscore: Evaluating text generation with bert.* In International Conference on Learning Representations.
|
| 332 |
+
Xiaoying Zhang, Baolin Peng, Jianfeng Gao, and Helen Meng. 2022. Toward self-learning end-to-end task-oriented dialog systems. In Proceedings of the 23rd Annual Meeting of the Special Interest Group on Discourse and Dialogue, pages 516-530.
|
| 333 |
+
Yichi Zhang, Zhijian Ou, and Zhou Yu. 2020. Task-oriented dialog systems that consider multiple appropriate responses under the same context. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 34, pages 9604-9611.
|
| 334 |
+
Jeffrey Zhao, Yuan Cao, Raghav Gupta, Harrison Lee, Abhinav Rastogi, Mingqiu Wang, Hagen Soltau, Izhak Shafran, and Yonghui Wu. 2022. Anytod: A programmable task-oriented dialog system. arXiv preprint arXiv:2212.09939.
|
| 335 |
+
Tiancheng Zhao and Maxine Eskenazi. 2018. Zero-shot dialog generation with cross-domain latent actions. In Proceedings of the 19th Annual SIGdial Meeting on Discourse and Dialogue, pages 1-10, Melbourne, Australia. Association for Computational Linguistics.
|
| 336 |
+
Zihao Zhao, Eric Wallace, Shi Feng, Dan Klein, and Sameer Singh. 2021. Calibrate before use: Improving few-shot performance of language models. In Proceedings of the 38th International Conference
|
| 337 |
+
|
| 338 |
+
on Machine Learning, volume 139 of Proceedings of Machine Learning Research, pages 12697-12706. PMLR.
|
| 339 |
+
|
| 340 |
+
Jingyan Zhou, Jiawen Deng, Fei Mi, Yitong Li, Yasheng Wang, Minlie Huang, Xin Jiang, Qun Liu, and Helen Meng. 2022. Towards identifying social bias in dialog systems: Framework, dataset, and benchmark. In *Findings of the Association for Computational Linguistics: EMNLP* 2022, pages 3576-3591, Abu Dhabi, United Arab Emirates. Association for Computational Linguistics.
|
| 341 |
+
|
| 342 |
+
# DST Prompt
|
| 343 |
+
|
| 344 |
+
# Task instruction
|
| 345 |
+
|
| 346 |
+
Following the instructions, predict the belief state based on the history.
|
| 347 |
+
|
| 348 |
+
# Belief instructions
|
| 349 |
+
|
| 350 |
+
restaurant name = pizza hut city, golden wok, etc.; food = dont care, chinese, mediterranean, british, etc.; pricerange = dontcare, cheap, moderate, expensive; area = dont care, centre, east, north, south, west; booking_day = monday, tuesday, wednesday, thursday, friday, saturday, sunday; booking_people = 1,2,3,4,5,6,7; booking_time = 12:15, 13:30, etc.
|
| 351 |
+
|
| 352 |
+
attraction attraction type = swimmingpool, theatre, architecture, museum, nightclub, boat, park, college, concerthall, entertainment, multiple sports, cinema; name = the cherry hinton village centre, soul tree nightclub, etc.; area = dont care, centre, east, north, south, west
|
| 353 |
+
|
| 354 |
+
```python
|
| 355 |
+
hotel name = huntingdon marriott hotel, a and b guest house, etc.; pricerange = dont care, cheap, moderate, expensive; area = dont care, centre, east, north, south, west; stars = dont care, 0,1,2,3,4,5; parking = dont care, yes, no; internet = dont care, yes, no; type = hotel, guest house; booking_day = monday, tuesday, etc.; booking_people = 1,2,3,4,5,6,etc.; booking Stay = 1,2,3,4,etc.
|
| 356 |
+
|
| 357 |
+
train leaveat = 10:45, 12:06, etc.; destination = norwich, cambridge, etc.; day = monday, tuesday, wednesday, thursday, friday, saturday, sunday; arriveby = 21:00, 09:45, etc.; departure = cambridge, stansted airport, etc.; booking_people = 1,2,3,4,5,6, etc.
|
| 358 |
+
|
| 359 |
+
taxi leaveat $= 08:45$ 16:15,etc.;destination $=$ saint john's college,kettle's yard,galleria,etc.;departure $=$ huntingdon marriot taxi,cineworld cinema,bridge guest house,etc.;arriveby $= 17:15$ 17:30,etc.
|
| 360 |
+
|
| 361 |
+
···
|
| 362 |
+
|
| 363 |
+
Figure 4: Detailed belief instructions in DST Prompter.
|
| 364 |
+
|
| 365 |
+
# A Zero-Shot Task-Oriented Dialog Modeling.
|
| 366 |
+
|
| 367 |
+
Table 7 summarizes four main research directions in zero-shot task-oriented dialog modeling: slot filling (SF), dialog state tracking (DST), end-to-end policy management (E2E policy) and end-to-end dialog generation (E2E dialog).
|
| 368 |
+
|
| 369 |
+
# B Detailed Belief Instructions in DST Prompter
|
| 370 |
+
|
| 371 |
+
Figure 4 shows the detailed belief instructions in DST Prompter.
|
| 372 |
+
|
| 373 |
+
# C A Formatting Example in Policy Prompt
|
| 374 |
+
|
| 375 |
+
Figure 5 presents a formatting example in Policy Prompter.
|
| 376 |
+
|
| 377 |
+
# D Experimental Setup
|
| 378 |
+
|
| 379 |
+
# Datasets.
|
| 380 |
+
|
| 381 |
+
- Multiwoz 2.0 (Budzianowski et al., 2018) is a multi-domain task-oriented dataset, which
|
| 382 |
+
|
| 383 |
+
<table><tr><td rowspan="2">Model</td><td rowspan="2">Task</td><td rowspan="2">Schema types</td><td colspan="3">Training strategy</td></tr><tr><td>Fine-tuning</td><td>Pre-training</td><td>Prompting</td></tr><tr><td>ROBUSTSF (Shah et al., 2019)</td><td>SF</td><td>slot names/value examples</td><td>✓</td><td></td><td></td></tr><tr><td>TRADE (Wu et al., 2019)</td><td>DST</td><td>slot names/value examples</td><td>✓</td><td></td><td></td></tr><tr><td>ZSTL-SD (Campaigna et al., 2020)</td><td>DST</td><td>ontology, dialog templates</td><td>✓(+synthesized data)</td><td></td><td></td></tr><tr><td>S-DST (Rastogi et al., 2020b)</td><td>DST</td><td>slot names/descriptionss+service, intent names/descriptionss</td><td>✓</td><td></td><td></td></tr><tr><td>T5DST (Lin et al., 2021b)</td><td>DST</td><td>slot names/descriptionss</td><td>✓</td><td></td><td></td></tr><tr><td>TRANSFERQA (Lin et al., 2021a)</td><td>DST</td><td>slot names/value examples</td><td></td><td>✓(QA tasks)</td><td></td></tr><tr><td>IC-DST (Hu et al., 2022)</td><td>DST</td><td>slot names/value examples</td><td></td><td></td><td>✓</td></tr><tr><td>SDM-DST (Wang et al., 2022a)</td><td>DST</td><td>slot names/value examples</td><td>✓</td><td></td><td></td></tr><tr><td>BERT+S (Mosig et al., 2020)</td><td>E2E policy</td><td>system-side policy skeletons</td><td>✓</td><td></td><td></td></tr><tr><td>SAM (Mehri and Eskenazi, 2021)</td><td>E2E policy</td><td>user-aware policy skeletons</td><td>✓</td><td></td><td></td></tr><tr><td>ZSDG (Zhao and Eskenazi, 2018)</td><td>E2E dialog</td><td>ontology, response templates</td><td>✓</td><td></td><td></td></tr><tr><td>DAML (Qian and Yu, 2019)</td><td>E2E dialog</td><td>ontology, response templates</td><td>✓</td><td></td><td></td></tr><tr><td>ANYTOD (Zhao et al., 2022)</td><td>E2E dialog</td><td>policy programs+slot names/value examples+slot descriptions+user action names/states/descriptionss</td><td>✓</td><td>✓(heterogeneous tasks)</td><td></td></tr><tr><td>IG-TOD (Hudecek and Dusek, 2023)</td><td>E2E dialog</td><td>slot names+slot descriptions</td><td></td><td></td><td>✓</td></tr><tr><td>SGP-TOD (ours)</td><td>E2E dialog</td><td>user-aware policy skeletons(+slot names/value examples)</td><td></td><td></td><td>✓</td></tr></table>
|
| 384 |
+
|
| 385 |
+
Table 7: Zero-shot task-oriented dialog modeling. (Schema items enclosed in parentheses are required only when accessible.)
|
| 386 |
+
|
| 387 |
+
contains 8,438/1,000/1,000 dialogs for training-validating/testing, spanning seven domains: restaurant, attraction, train, hotel, taxi, police, and hospital. Multiwoz 2.0 is annotated with belief states and system actions.
|
| 388 |
+
|
| 389 |
+
- Multiwoz 2.2 (Zang et al., 2020) is a improved version of Multiwoz 2.0, encompassing refined belief state annotations, slot descriptions, user action annotations, etc.
|
| 390 |
+
- RADDLE (Peng et al., 2021a,c) consists of four single-domain dialog datasets derived from Multiwoz 2.0 (i.e., restaurant, train, hotel, attraction), reorganized by Peng et al. (2021a). Each corpus contains 50/50/200 dialogs for training-validating/testing, expect for 100 testing dialogs in attraction domain.
|
| 391 |
+
- STAR (Mosig et al., 2020) includes 24 tasks in 13 domains (e.g., "apartment" domain comprises "apartment-search" and "apartment-schedule"), requiring the dialog model to conform to the provided task schema. We use 2,688 single-task dialogs from the corpus, which follow a "happy path", i.e., the user is not instructed to execute any action exceeding the schema's expectations. Without additional annotations, STAR only provides a flow chart diagram that outlines the dialog policy for each task. The flow chart outlines the task, including the sequence in which at
|
| 392 |
+
|
| 393 |
+
tributes should be asked (for example, ask for the user's name before asking for the hotel name), how to query a database, etc.
|
| 394 |
+
|
| 395 |
+
Automatic Evaluation Metrics. We evaluate the end-to-end dialog generation performance using the same metrics as those listed in Budzianowski et al. (2018): (i) Inform(\%) assesses whether the agent returns an acceptable entity. (ii) Success(\%) determines if the agent appropriately responds to each attribute request. (iii) BLEU(\%) (Papineni et al., 2002) measures the word overlap of the generated response against the human response in the corpus. (iv) Combined(\%) judges the overall quality, which is defined as Combined = (Inform + Success) × 0.5 + BLEU. Additionally, we utilize BERTScore(\%) (Zhang* et al., 2020), which focuses on computing semantic similarity between the generated responses and the ground truth, and correlates better with human judgments.
|
| 396 |
+
|
| 397 |
+
Following Mehri and Eskenazi (2021), we perform the next action prediction task on STAR, which predicts next system action based on the dialog history. Since the system actions and deterministic response templates are mapped one to one in STAR corpus, we believe the end-to-end next action prediction task falls within end-to-end dialog modeling, following Mosig et al. (2020); Mehri and Eskenazi (2021). In addition, we report the results using weighted F1score(%) and mean accuracy(%)
|
| 398 |
+
|
| 399 |
+
# Policy Prompt
|
| 400 |
+
|
| 401 |
+
# Task instruction
|
| 402 |
+
|
| 403 |
+
Following the instructions, generate appropriate response based on the history.
|
| 404 |
+
|
| 405 |
+
# Formatting example (from other task/domain)
|
| 406 |
+
|
| 407 |
+
# Policy skeleton
|
| 408 |
+
|
| 409 |
+
(1) user: I'm looking for information on [attraction_name]. action: attraction (inform (name, address, area, entrance fee)) system: [attraction_name] is in the [value_area] and their address is [attraction_address], the entrance fee is [value_count] pounds. [eos]
|
| 410 |
+
(2) user: What is the phone number? action: attraction (inform phone), require (more)) system: Their phone number is [attraction_phone]. is there anything else i can do for you? [eos]
|
| 411 |
+
(3) user: I need the area/location and the postcode. action: attraction (inform (area, postcode)) system: The [attraction_name] is in the [value_area], their postal code is [attraction_postcode]. [eos]
|
| 412 |
+
(4) user: That is all i need today. thank you! action: attraction (general (bye)) system: You are welcome , thank you for calling the [value_place] town info [value_area]. have a great day. [eos]
|
| 413 |
+
(5) DB: attraction zero match. action: attraction (inform (none)) system: There are no results matching your query. Can i try a different area or type? [eos]
|
| 414 |
+
(6) DB: attraction one match. action: attraction (inform (name)) system: We have [attraction_name]. [eos]
|
| 415 |
+
(7) DB: attraction five match. action: attraction (inform (choices), request (area)) system: There are [value_count], which area were you looking at? [eos]
|
| 416 |
+
|
| 417 |
+
# history.
|
| 418 |
+
|
| 419 |
+
user: Hello, i'm looking for the museum of classical archaeology, could you tell me more about it? system: Certainly, the [attraction_name] is located at [attraction_address] and has free entrance, phone [attraction_phone]. do you also need the postcode? user: Yes, i'd like that. thank you so much!
|
| 420 |
+
SQL: select * from attraction where name = museum of classical archaeology DB: Attraction one match
|
| 421 |
+
action:attraction (inform (postcode),require (more)) system:The postcode for the [attribution_name] is [attribution_postcode].Is there anything else i can help you with?
|
| 422 |
+
|
| 423 |
+
Figure 5: A formatting example in Policy Prompt.
|
| 424 |
+
|
| 425 |
+
Human Evaluation Metrics. We employ interactive human evaluations to assess the quality of dialog agents, following the evaluation protocol in the DSTC9 Track 1 challenge (Gunasekara et al., 2020). We recruit student helpers to help with evaluations. For each dialog session, student helpers are provided with a goal and accompanying instructions, subsequently necessitating a discourse with the agent to achieve the goal via natural language. Upon the conclusion of each dialog session, students are mandated to assess the overall dialog quality employing these five metrics: (i) Success w/o g(%) evaluates whether the agent accomplishes the task. (ii) Success w/ g(%) judges whether the agent accomplishes the task and of
|
| 426 |
+
|
| 427 |
+
fers matched slot values compared to the database record. (iii) Understanding(1-5) quantifies the accuracy with which the agent comprehends user utterances. (iv) Appropriateness(1-5) signifies the naturalness, appropriateness and fluency of an agent response. (v) Turns denotes the average number of dialog turns within successful dialog sessions.
|
| 428 |
+
|
| 429 |
+
# E Implementation Details
|
| 430 |
+
|
| 431 |
+
# Regarding SGP-TOD:
|
| 432 |
+
|
| 433 |
+
- LLMs: We employ ChatGPT ("gpt-3.5-turbo"), GPT-3.5 ("text-davinci-003") and Codex ("code-davinci-002") as the fixed LLMs to implement the proposed SGP-TOD. Throughout the evaluation, we set temperature to 0.5.
|
| 434 |
+
- DST Prompt - belief instruction: In the context of multi-domain scenarios, the belief instructions encompassing all domains are incorporated, while solely the target domain's belief instruction is introduced in single-domain settings.
|
| 435 |
+
- Policy Prompt - policy skeleton: For the Multiwoz datasets, we manually construct the policy skeleton through observing a few dialogs in the training corpus, following Mosig et al. (2020); Mehri and Eskenazi (2021). In the case of the STAR corpus, we employ flow chart diagrams and several dialogs to develop the policy skeleton, following the guidelines set forth by Mehri and Eskenazi (2021). We integrate the relevant user template utterance and the system action into the policy skeleton, thereby augmenting the LLM's understanding of directives, in the absence of belief annotations. The prompt examples for the STAR dataset are shown in Appendix M.
|
| 436 |
+
- Formatting example: Following the zero-shot scenario in Wang et al. (2022b), we insert one formatting example from different tasks (fixed through the experimental procedure) into the prompt. The formatting example employed within DST Prompter/Policy Prompter is randomly chosen from the training corpus of different tasks/domains, conforming to zero-shot scenario proposed by Wang et al. (2022b). We appraise multiple randomly selected formatting examples, the evaluation results reveal minor deviations. In the experiments on domain
|
| 437 |
+
|
| 438 |
+
extension (Section 4.5) and ablation analysis (Section 4.7), we employ the same (two) formatting exemplar turns originating from other domains within the RADDLE corpus for all prompting techniques.
|
| 439 |
+
|
| 440 |
+
# Regarding compared methods:
|
| 441 |
+
|
| 442 |
+
# (i) Zero-shot transfer methods:
|
| 443 |
+
|
| 444 |
+
- BERT+S (Mosig et al., 2020) is a schemaguided method that augments a BERT-base classifier (Devlin et al., 2019) with a provided system-side schema to predict the next system action.
|
| 445 |
+
- SAM (Mehri and Eskenazi, 2021) represents a schema-guided model based on BERT-base, which aligns the dialog context to a user-aware schema to predict the next system action.
|
| 446 |
+
- ANYTOD-XXL (Zhao et al., 2022) adopts a neural LM to track dialog states and user actions utilizing slot and action descriptions. Then a program that outlines a predefined task policy is executed to recommend appropriate system actions. Upon considering these system actions, an LM generates the ultimate system action and formulates the corresponding template response using the approach proposed by Kale and Rastogi (2020). ANYTOD-XXL is implemented on T5-XXL (Roberts et al., 2022) and pre-trained on SGD dataset (Rastogi et al., 2020a) $^8$
|
| 447 |
+
|
| 448 |
+
# (ii) Prompting methods:
|
| 449 |
+
|
| 450 |
+
- IG-TOD-CHATGPT (Hudecek and Dusek, 2023) is a prompting approach based on ChatGPT that leverages the dialog context and manually-crafted slot descriptions as the prompt, to track dialog states, fetch DB entries, and produce responses. IG-TOD-CHATGPT-ZS and IG-TOD-CHATGPT-FS are in the zero-shot and few-shot settings, respectively.
|
| 451 |
+
- FEW-SHOT-CHATGPT is a few-shot prompting strategy implemented on ChatGPT, where we use a few (i.e., $\mathbf{k}$ ) dialog turns, randomly sampled from the training corpus to instruct ChatGPT on task execution. Upon evaluating
|
| 452 |
+
|
| 453 |
+
various configurations of $\pmb{k}$ , the optimal results manifest with 15 on Multiwoz (2.0 and 2.2), and 10 on RADDLE, exhibiting no further substantial enhancements.
|
| 454 |
+
|
| 455 |
+
- SGP-TOD (Ours) is a schema-guided prompting strategy, which is compatible with any off-the-shelf LLMs. In this paper, we employ ChatGPT ("gpt-3.5-turbo"), GPT-3.5 ("text-davinci-003") and Codex ("codedavinci-002") as the fixed LLMs. Following the zero-shot scenario in Wang et al. (2022b), we insert one formatting example from different tasks (fixed through the experimental procedure) into the prompt. More implementation details are provided in Appendix E.
|
| 456 |
+
|
| 457 |
+
# F Zero-Shot End-to-End Evaluation Results on STAR
|
| 458 |
+
|
| 459 |
+
Figure 6 exhibits the zero-shot evaluation results on STAR, utilizing varying amounts of training dialogs (ranging from 1 to 1,000) and formatting example turns (spanning from 1 to 10) from source domains/tasks. SGP-TOD, merely with two formatting sample turns, achieves superior or comparable performance compared to BERT+S, SAM, which are fine-tuned on adequate source data.
|
| 460 |
+
|
| 461 |
+
We observe that SGP-TOD, employing only two formatting sample turns, attains superior or commensurate performance in terms of both F1score and Accuracy, when compared to SAM trained with 1,000 dialogs. Given that a single dialog contains more than 10 dialog turns, this result suggests that SGP-TOD diminishes labeling expenses by a minimum factor of 1,000. Furthermore, it is noteworthy that augmenting the quantity of formatting exemplar turns exerts a negligible influence on the performance of SGP-TOD.
|
| 462 |
+
|
| 463 |
+
# G Ablation Study
|
| 464 |
+
|
| 465 |
+
Table 8 exhibits the findings from an ablation investigation, addressing the effects of the three integral aspects of SGP-TOD in conjunction with the database expertise, implemented on Multiwoz 2.0 and 2.2, employing GPT-3.5. Combining the three elements in SGP-TOD with the database expertise produces optimal results across both datasets. The removal of the Policy Prompter, database knowledge, and DST Prompter leads to consistent declines in all evaluation metrics, underscoring the
|
| 466 |
+
|
| 467 |
+

|
| 468 |
+
(a) Task transfer
|
| 469 |
+
|
| 470 |
+

|
| 471 |
+
(b) Domain transfer
|
| 472 |
+
|
| 473 |
+

|
| 474 |
+
(c) Task transfer
|
| 475 |
+
|
| 476 |
+

|
| 477 |
+
(d) Domain transfer
|
| 478 |
+
Figure 6: Zero-shot end-to-end evaluation results on STAR with different numbers of training dialogs (1, 10, 100, 1,000) / demonstration example turns (1, 10) from source domain/tasks.
|
| 479 |
+
|
| 480 |
+
value of enhancing the fixed LLM with the task schema and external database information.
|
| 481 |
+
|
| 482 |
+
Specifically, GPT-3.5 (in the final row) exhibits commendable zero-shot performance, highlighting the need of exploiting its superior zero-shot generalization capabilities in dialog generation tasks. Additionally, Disabling the Policy Prompt incurs a discernible decline in performance regarding Success (approximately $16\%$ ) and BLEU (roughly $3\%$ ), as the Policy Prompt's primary function is to provide task completion guidelines and interaction patterns. Eliminating the database expertise primarily reduces Success (by approximately $4\%$ ), implying that incorporating database information contributes to task completion. Lastly, excising the DST Prompt engenders a considerable diminution in performance concerning Inform (around $43\%$ ) and Success (nearly $18\%$ ), due to the DST Prompt's intended purpose of assisting the frozen LLM in apprehending the dialog context.
|
| 483 |
+
|
| 484 |
+
# H Human Evaluation Details
|
| 485 |
+
|
| 486 |
+
We enlisted 5 student helpers (i.e., undergraduate students possessing basic proficiency in English communication) to participate in the evaluations. For each dialog agent, we collected 50 dialogs for analysis. Followed the methodology proposed by Li et al. (2022), we generated user goals through the subsequent techniques: (i) Randomly selecting slots and slot values within the Restaurant domain from RADDLE corpus to construct a user goal; (ii) Replacing the slot values of the user goals in randomly chosen dialogs from the Restaurant corpus with corresponding new values from randomly sampled database entries, thus forming a new user goal; (iii) Merging the user goals of several randomly selected dialogs from the Restaurant corpus to create a composite user goal. Lastly, we randomly chose 50 distinct user goals from these newly generated goals.
|
| 487 |
+
|
| 488 |
+
<table><tr><td rowspan="2">Model</td><td colspan="4">Multiwoz 2.0</td><td colspan="4">Multiwoz 2.2</td></tr><tr><td>Inform</td><td>Success</td><td>BLEU</td><td>Combined</td><td>Inform</td><td>Success</td><td>BLEU</td><td>Combined</td></tr><tr><td>SP-TOD-GPT3.5</td><td>83.88</td><td>69.87</td><td>9.09</td><td>85.97</td><td>82.00</td><td>72.50</td><td>9.22</td><td>86.47</td></tr><tr><td>-policy</td><td>82.28</td><td>55.65</td><td>6.51</td><td>75.48</td><td>81.80</td><td>56.20</td><td>6.63</td><td>75.63</td></tr><tr><td>-policy -DB</td><td>81.20</td><td>50.95</td><td>6.48</td><td>72.56</td><td>81.40</td><td>52.30</td><td>6.57</td><td>73.42</td></tr><tr><td>-policy -DB -belief</td><td>38.74</td><td>33.13</td><td>6.18</td><td>42.12</td><td>38.60</td><td>33.90</td><td>6.29</td><td>42.54</td></tr></table>
|
| 489 |
+
|
| 490 |
+
Table 8: Ablation study on the impact of the three components in the proposed SGP-TOD and the database expertise on Multiwoz using GPT-3.5. -policy: removing Policy Prompter, -DB: removing database information, -belief: removing DST Prompter.
|
| 491 |
+
|
| 492 |
+
# I Human Evaluation Results
|
| 493 |
+
|
| 494 |
+
Figure 7 shows the interactive human evaluation results. SGP-TOD-CHATGPT exhibits a more stable performance. In contrast to the automated evaluation results shown in Table 2, FEW-SHOT-CHATGPT significantly outperforms SOLOIST over all metrics. This indicates that corpus-based evaluations might be biased, given that real user inputs tend to be more dynamic, complex, even with noise. Notably, SGP-TOD-CHATGPT consistently excels compared to the other methods in both evaluations, implying its robustness in handling diverse user inputs.
|
| 495 |
+
|
| 496 |
+
# J More Details and Results on Domain Extension
|
| 497 |
+
|
| 498 |
+
Setup. Following Zhang et al. (2022), we construct the Restaurant-ext corpus by extending the pre-existing Restaurant in RADDLE (Peng et al., 2021c) with additional functions. Specifically, we introduce four new slots: [restaurant_dish], [value_price], [start_time], and [end_time]. The initial slot pertains to recommendations for signature restaurant meals, while the final three concern delivery service details. All database entries are updated with corresponding values. Table 10 exhibits a dialog example on domain extension. The associated Restaurant-Ext database entry is illustrated in Table 9.
|
| 499 |
+
|
| 500 |
+
# Compared Methods.
|
| 501 |
+
|
| 502 |
+
- ChatGPT, GPT-3.5 denote zero-shot prompting with base LLMs that receive merely two formatting example turns from other domains in RADDLE. $^{10}$
|
| 503 |
+
- SGP-TOD-CHATGPT, SGP-TOD-GPT3.5 represent our SGP-TOD implementation, with the Restaurant policy skeleton.
|
| 504 |
+
|
| 505 |
+
- SOLOIST is trained with 50 training dialogs in the Restaurant domain (previously reported in Table 2).
|
| 506 |
+
- SOLOIST+TEACH is fine-tuning method enhanced with machine teaching (Simard et al., 2017). Machine teaching is an efficient approach to equip deployed task bots with the ability to handle new functions by correcting representative failed human-bot dialogs. We deploy SOLOIST to converse with real users, then implement machine teaching via Conversational learner (Shukla et al., 2020), an effective machine teaching tool, to obtain 10/50/50 examples in Restaurant-ext for training, validating, and testing. Finally, we fine-tune SOLOIST with gathered 10 training dialogs covering four new slots, resulting in dialog agent SOLOIST+TEACH.
|
| 507 |
+
- FEW-SHOT-GPT3.5+TEACH is the few-shot prompting strategy augmented with machine teaching. Based on GPT-3.5, we utilize 10 randomly selected dialog turns from the collected 10 training dialogs as the prompt (with peak performance at 10), resulting in FEWSHOT-GPT3.5+TEACH.
|
| 508 |
+
- SGP-TOD-CHATGPT-EXT, SGP-TOD-GP3.5-Ext refer to SGP-TOD with Restaurant-Ext policy skeleton, where we only add four template turns about four new slots to the policy skeleton of Restaurant.
|
| 509 |
+
|
| 510 |
+
Results. Comparison with Base LLMs. The substantial improvement of SGP-TOD-CHATGPT-EXT and SGP-TOD-GPT3.5-EXT over ChatGPT and GPT-3.5 illustrates SGP-TOD's efficiency in supplying task-specific knowledge in a zero-shot way.
|
| 511 |
+
|
| 512 |
+
Impact of Different LLMs. SGP-TODCHATGPT-EXT attains a lower BLEU yet a comparable BERTScore, suggesting that ChatGPT generates more diverse responses.
|
| 513 |
+
|
| 514 |
+

|
| 515 |
+
(a) Success w/o g ↑
|
| 516 |
+
|
| 517 |
+

|
| 518 |
+
(b) Success w/ g ↑
|
| 519 |
+
|
| 520 |
+

|
| 521 |
+
(c) Understanding
|
| 522 |
+
Figure 7: Interactive human evaluation results. SOLO.: SOLOIST, FS.: FEW-SHOT-CHATGPT, SGP.: SGP-TOD-CHATGPT.
|
| 523 |
+
|
| 524 |
+

|
| 525 |
+
(d) Appropriateness $\uparrow$
|
| 526 |
+
|
| 527 |
+

|
| 528 |
+
(e)Turns $\downarrow$
|
| 529 |
+
|
| 530 |
+
<table><tr><td>Slot</td><td>Value</td></tr><tr><td>"address"</td><td>"21 - 24 Northampton Street"</td></tr><tr><td>"area"</td><td>"west"</td></tr><tr><td>"food"</td><td>"british"</td></tr><tr><td>"id"</td><td>"14810"</td></tr><tr><td>"location"</td><td>[52.21031, 0.11381]</td></tr><tr><td>"name"</td><td>"saint johns chop house"</td></tr><tr><td>"phone"</td><td>"01223353110"</td></tr><tr><td>"postcode"</td><td>"cb30ad"</td></tr><tr><td>"pricerange"</td><td>"moderate"</td></tr><tr><td>"type"</td><td>"restaurant"</td></tr><tr><td>"delivery"</td><td>"Yes"</td></tr><tr><td>"delivery fee"</td><td>"6 pounds"</td></tr><tr><td>"dish"</td><td>"Beef Wellington"</td></tr><tr><td>"start_time"</td><td>"10:30 am"</td></tr><tr><td>"end_time"</td><td>"22:40 pm"</td></tr></table>
|
| 531 |
+
|
| 532 |
+
Table 9: An example of Restaurant-Ext DB entry. The newly introduced slot-value pairs relevant to the extended functionality are highlighted.
|
| 533 |
+
|
| 534 |
+
# K Case Study
|
| 535 |
+
|
| 536 |
+
Despite the superior performance of the proposed SGP-TOD on GPT-3.5, we showcase interactive examples utilizing ChatGPT, a renowned and potent chatbot. In Table 11, a user engages with ChatGPT (left) and SGP-TOD-CHATGPT-EXT (right) to complete the identical task on Restaurant-Ext. $^{11}$ The user initiates the conversation by seeking recommendations for a Tuscan restaurant with no price range preference. Lacking external database information, ChatGPT conveys inaccurate details (Turn 2), whereas SGP-TOD-CHATGPT-EXT informs users of the absence of matching restaurants and proposes alternatives (Turn 2). This exemplifies the benefits of integrating real-world expertise into the fixed LLM. Furthermore, ChatGPT persistently inquires about
|
| 537 |
+
|
| 538 |
+
the desired price range despite the user's indifference. We argue that SGP-TOD assists the frozen LLM in discerning user intentions. In Turn 4, ChatGPT continues to furnish fabricated details (i.e., the restaurant name and phone number) concerning the nonexistent eatery, while SGP-TOD-CHATGPT-EXT identifies a suitable Korean restaurant and the corresponding factual information. In contrast with ChatGPT, SGP-TOD-CHATGPT-EXT adeptly addresses inquiries about the delivery service (Turn 6), indicating that SGP-TOD is capable of endowing the frozen LLM with novel functionalities.
|
| 539 |
+
|
| 540 |
+
# L Our Proposed SGP-TOD with a Dialog Example
|
| 541 |
+
|
| 542 |
+
Figure 8 illustrates the proposed SGP-TOD with a dialog example.
|
| 543 |
+
|
| 544 |
+
# M Prompt Examples for STAR Dataset
|
| 545 |
+
|
| 546 |
+
Two exemplars of prompts for STAR dataset are presented in Figure 9 and Figure 10.
|
| 547 |
+
|
| 548 |
+
<table><tr><td>Turn</td><td>Utterance</td></tr><tr><td>1</td><td>User: I want a restaurant on the west end of town.</td></tr><tr><td>2</td><td>System: Ok. Are you looking for any particular type of food?</td></tr><tr><td>3</td><td>User: I don't care.</td></tr><tr><td>4</td><td>System: Are you looking for a particular price range?</td></tr><tr><td>5</td><td>User: A moderately priced restaurant would be good.</td></tr><tr><td>6</td><td>System: How about Saint Johns Chop House? They serve moderately priced British food on the west side of town.</td></tr><tr><td>7</td><td>User: Can i please have their address and phone number?</td></tr><tr><td>8</td><td>System: Saint Johns Chop House's address is 21-24 Northampton Street, their phone number is 01223353110.</td></tr><tr><td>9</td><td>User: Does the restaurant offers delivery service? If it does, what's the delivery fee?</td></tr><tr><td>10</td><td>System: Yes, it does, and the delivery charges 6 pounds.</td></tr><tr><td>11</td><td>User: Thank you, goodbye.</td></tr><tr><td>12</td><td>System: Thank you for using our system. Goodbye.</td></tr></table>
|
| 549 |
+
|
| 550 |
+
Table 10: A dialog example on domain extension. Task bots need learn to provide pertinent responses concerning the expanded delivery service in subsequent interaction turns, adapting to the continually evolving user/enterprise demands.
|
| 551 |
+
|
| 552 |
+
<table><tr><td>Turn</td><td>Interaction between a user and ChatGPT</td><td>Turn</td><td>Interaction between a user and SP-TOD-ChatGPT-Ext</td></tr><tr><td>1</td><td>User: Hi, i'm looking for a place with Tuscan food in any price range.</td><td>1</td><td>User: Hi, i'm looking for a place with Tuscan food in any price range.</td></tr><tr><td>2</td><td>System: Certainly, there are 3 Tuscan restaurants in town. What is your preferred price range?</td><td>2</td><td>System: I am sorry, there are no Tuscan restaurants. Here are some other options: Korean, Italian, Chinese. Which one would you like more information on?</td></tr><tr><td>3</td><td>User: I don't care about the price. Please recommend one for me, i also need the phone number please.</td><td>3</td><td>User: How about any Korean restaurants? I also need the phone number please.</td></tr><tr><td>4</td><td>System: The phone number for Pizza Hut City Centre is 01223323737. Is there anything else i can help you with today?</td><td>4</td><td>System: Little Seoul is a Korean restaurant. Their phone number is 01223308681.</td></tr><tr><td>5</td><td>User: Does the restaurant offer delivery service? How much does the delivery charge?</td><td>5</td><td>User: Does the restaurant offer delivery service? How much does the delivery charge?</td></tr><tr><td>6</td><td>System: I'm sorry, but I could not find any information on delivery fee in our database. You may want to contact the restaurant directly to inquire about this. Is there anything else I can assist you with today?</td><td>6</td><td>System: Yes, they offer delivery service and the delivery charge is 4 pounds. Can I help you with anything else?</td></tr><tr><td>7</td><td>User: No. Thank you, goodbye.</td><td>7</td><td>User: No. Thank you, goodbye.</td></tr><tr><td>8</td><td>System: Glad i could assist you. Have a good day.</td><td>8</td><td>System: You're welcome, have a great meal! Goodbye!</td></tr></table>
|
| 553 |
+
|
| 554 |
+
Table 11: Illustration of two interactive examples between a user and CHATGPT (left), SGP-TOD-CHATGPT-EXT (right). Appropriate responses and inappropriate responses are highlighted.
|
| 555 |
+
|
| 556 |
+

|
| 557 |
+
Figure 8: Illustration of the proposed SGP-TOD with a dialog example. Note that the belief state in the represented in the SQL format, the details of which are described in Section 3.3.
|
| 558 |
+
|
| 559 |
+
# Policy Prompt
|
| 560 |
+
|
| 561 |
+
# Task instruction
|
| 562 |
+
|
| 563 |
+
Generate appropriate system actions based on the history, following the most relevant task rule.
|
| 564 |
+
|
| 565 |
+
# Formatting example (from other task/domain)
|
| 566 |
+
|
| 567 |
+
# Task schema
|
| 568 |
+
|
| 569 |
+
(1) user: Hello [sep] system action: hello [eos]
|
| 570 |
+
(2) user: I'd like to find out the status of my ride [sep] system action: ask_name [eos]
|
| 571 |
+
(3) user: My name is [NAME] [sep] system action: ride Asking Booking number [eos]
|
| 572 |
+
|
| 573 |
+
# History.
|
| 574 |
+
|
| 575 |
+
user: Hi, i need to check my ride status.
|
| 576 |
+
|
| 577 |
+
# Answer
|
| 578 |
+
|
| 579 |
+
(2) user: i'd like to find out the status of my ride [sep] system action: ask_name [eos]
|
| 580 |
+
|
| 581 |
+
# Test (on target task/domain)
|
| 582 |
+
|
| 583 |
+
# Task schema
|
| 584 |
+
|
| 585 |
+
(1) user: hello [sep] system action: hello [eos]
|
| 586 |
+
(2) user: what is the weather like? [sep] system action: weather Asking_day [eos]
|
| 587 |
+
(3) user: on [DAY_OF_WEEK] [sep] system action: weather Asking_location [eos]
|
| 588 |
+
|
| 589 |
+
··
|
| 590 |
+
|
| 591 |
+
# History.
|
| 592 |
+
|
| 593 |
+
user: i want to know the weather for Tuesday.
|
| 594 |
+
|
| 595 |
+
# LLM
|
| 596 |
+
|
| 597 |
+
Answer
|
| 598 |
+
|
| 599 |
+
(3) user: on [DAY_OF_WEEK] [sep] system action: weather Asking_location [eos]
|
| 600 |
+
|
| 601 |
+
# Policy Prompt
|
| 602 |
+
|
| 603 |
+
# Task instruction
|
| 604 |
+
|
| 605 |
+
Generate appropriate system actions based on the history, following the most relevant task rule.
|
| 606 |
+
|
| 607 |
+
# Formatting example (from other task/domain)
|
| 608 |
+
|
| 609 |
+
# Task schema
|
| 610 |
+
|
| 611 |
+
(1) user: Hello [sep] system action: hello system: Hello, how can i help? [eos]
|
| 612 |
+
(2) user: I'd like to find out the status of my ride [sep] system action: ask_name system: Could you give me your name, please? [eos]
|
| 613 |
+
(3) user: My name is [NAME] [sep] system action:
|
| 614 |
+
ride Asking Booking number system: Can I get your booking ID, please? [eos]
|
| 615 |
+
|
| 616 |
+
# History.
|
| 617 |
+
|
| 618 |
+
user: Hi, i need to check my ride status.
|
| 619 |
+
|
| 620 |
+
# Answer
|
| 621 |
+
|
| 622 |
+
(2) user: I'd like to find out the status of my ride [sep] system action: ask_name system: Could you give me your name, please? [eos]
|
| 623 |
+
|
| 624 |
+
# Test (on target task/domain)
|
| 625 |
+
|
| 626 |
+
# Task schema
|
| 627 |
+
|
| 628 |
+
(1) user: hello [sep] system action: hello system: Hello, how can i help? [eos]
|
| 629 |
+
(2) user: what is the weather like? [sep] system action: weather Asking day system: For what day would you like the weather forecast? [eos]
|
| 630 |
+
(3) user: on [DAY_OF_WEEK] [sep] system action: weather Asking_location system: For what location would you like the weather forecast? [eos]
|
| 631 |
+
|
| 632 |
+
# History.
|
| 633 |
+
|
| 634 |
+
user: i want to know the weather for Tuesday.
|
| 635 |
+
|
| 636 |
+
# LLM
|
| 637 |
+
|
| 638 |
+

|
| 639 |
+
Figure 9: Policy Prompt of SGP-TOD on STAR. The relevant template turn within the input, the generated user template utterance, and the system action in the output are accentuated.
|
| 640 |
+
Figure 10: Policy Prompt of SGP-TOD-E2E on STAR. The relevant template turn in the input, the generated user template utterance, the system action and the system response in the output are highlighted.
|
| 641 |
+
|
| 642 |
+
Answer
|
| 643 |
+
|
| 644 |
+
(3) user: on [DAY_OF_WEEK] [sep] system action: weather Asking_location system: For what location would you like the weather forecast? [eos]
|
2023/SGP-TOD_ Building Task Bots Effortlessly via Schema-Guided LLM Prompting/images.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5628ac7221398003e289f9246334d27a8b8aa5f77d0a6b4b3c7a49a82a66f4e6
|
| 3 |
+
size 1124609
|
2023/SGP-TOD_ Building Task Bots Effortlessly via Schema-Guided LLM Prompting/layout.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2023/SHARCS_ Efficient Transformers Through Routing with Dynamic Width Sub-networks/29c91769-471e-4e25-9798-c851bcedbfe6_content_list.json
ADDED
|
@@ -0,0 +1,1830 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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| 2 |
+
{
|
| 3 |
+
"type": "text",
|
| 4 |
+
"text": "SHARCS: Efficient Transformers through Routing with Dynamic Width Sub-networks",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
247,
|
| 8 |
+
89,
|
| 9 |
+
749,
|
| 10 |
+
130
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Mohammadreza Salehi $^{\\dagger}$ Sachin Mehta $^{\\dagger}$ Aditya Kusupati $^{\\dagger}$ Ali Farhadi $^{\\dagger\\diamond}$ Hannaneh Hajishirzi $^{\\dagger\\diamond}$",
|
| 17 |
+
"bbox": [
|
| 18 |
+
242,
|
| 19 |
+
147,
|
| 20 |
+
757,
|
| 21 |
+
181
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "†University of Washington †Allen Institute for Artificial Intelligence {mrsalehi, sacmehta, kusupati, ali, hannaneh}@cs.washington.edu",
|
| 28 |
+
"bbox": [
|
| 29 |
+
201,
|
| 30 |
+
184,
|
| 31 |
+
800,
|
| 32 |
+
219
|
| 33 |
+
],
|
| 34 |
+
"page_idx": 0
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"type": "text",
|
| 38 |
+
"text": "Abstract",
|
| 39 |
+
"text_level": 1,
|
| 40 |
+
"bbox": [
|
| 41 |
+
260,
|
| 42 |
+
252,
|
| 43 |
+
339,
|
| 44 |
+
268
|
| 45 |
+
],
|
| 46 |
+
"page_idx": 0
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"type": "text",
|
| 50 |
+
"text": "We introduce SHARCS for adaptive inference that takes into account the hardness of input samples. SHARCS can train a router on any transformer network, enabling the model to direct different samples to sub-networks with varying widths. Our experiments demonstrate that: (1) SHARCS outperforms or complements existing per-sample adaptive inference methods across various classification tasks in terms of accuracy vs. FLOPs; (2) SHARCS generalizes across different architectures and can be even applied to compressed and efficient transformer encoders to further improve their efficiency; (3) SHARCS can provide a $2 \\times$ inference speed up at an insignificant drop in accuracy.",
|
| 51 |
+
"bbox": [
|
| 52 |
+
141,
|
| 53 |
+
280,
|
| 54 |
+
460,
|
| 55 |
+
494
|
| 56 |
+
],
|
| 57 |
+
"page_idx": 0
|
| 58 |
+
},
|
| 59 |
+
{
|
| 60 |
+
"type": "text",
|
| 61 |
+
"text": "1 Introduction",
|
| 62 |
+
"text_level": 1,
|
| 63 |
+
"bbox": [
|
| 64 |
+
114,
|
| 65 |
+
506,
|
| 66 |
+
260,
|
| 67 |
+
521
|
| 68 |
+
],
|
| 69 |
+
"page_idx": 0
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"type": "text",
|
| 73 |
+
"text": "Web-scale pretrained models, including Large Language Models (LLMs), are widely used in various applications (Devlin et al., 2018; Liu et al., 2019a; Brown et al., 2020). However, their computational resource requirements can be problematic, especially in environments with limited resources. To address this issue, more efficient methods are needed, particularly those that can run on-device with efficient inference (Sanh et al., 2019).",
|
| 74 |
+
"bbox": [
|
| 75 |
+
112,
|
| 76 |
+
532,
|
| 77 |
+
489,
|
| 78 |
+
676
|
| 79 |
+
],
|
| 80 |
+
"page_idx": 0
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"type": "text",
|
| 84 |
+
"text": "Several methods (e.g., knowledge distillation (Hinton et al., 2015), pruning (Lagunas et al., 2021; Xia et al., 2022), and quantization (Shen et al., 2019)) have been proposed to improve the inference efficiency of transformer-based models. While these methods are promising, one drawback is that the resulting model is static. This raises concerns about whether the model is too complex for simple samples and not complex enough for more challenging ones. To tackle this problem, previous work have investigated sample-adaptive inference methods that use varying amount of compute to process different input samples (Kaya and Dumitras, 2018). Two predominant approaches exist in the field of sample adaptive inference: early-joining",
|
| 85 |
+
"bbox": [
|
| 86 |
+
112,
|
| 87 |
+
678,
|
| 88 |
+
489,
|
| 89 |
+
919
|
| 90 |
+
],
|
| 91 |
+
"page_idx": 0
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"type": "text",
|
| 95 |
+
"text": "and token dropping. The former incorporates internal classifiers into intermediate layers of the model. Various techniques have been explored for early exiting, including using confidence scores or entropy of internal classifier predictions (Liu et al., 2020; Xin et al., 2020), using a module that predicts whether a layer should exit early (Xin et al., 2021), or implementing a patience-based method to adjust these internal predictions (Zhou et al., 2020). The other category of sample-adaptive inference methods, token dropping, enhances efficiency by progressively decreasing sequence length as the forward pass proceeds layer by layer (Goyal et al., 2020; Guan et al., 2022).",
|
| 96 |
+
"bbox": [
|
| 97 |
+
507,
|
| 98 |
+
253,
|
| 99 |
+
884,
|
| 100 |
+
476
|
| 101 |
+
],
|
| 102 |
+
"page_idx": 0
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"type": "text",
|
| 106 |
+
"text": "In this paper, we propose Sample Hardness Aware Routing based on Confidence Scores $(\\mathsf{SHARCS}^1)$ , which is a novel category within the efficient sample adaptive inference domain. Our approach introduces training a light-weight router. The router dynamically assigns input samples, based on their hardness (Ethayarajh et al., 2021), to one of the sub-networks with varying widths. Due to the lack of ground truth notion of hardness, we estimate sample hardness heuristically based on the network's prediction history during training for each sample. These estimates are then used as labels to train the router.",
|
| 107 |
+
"bbox": [
|
| 108 |
+
507,
|
| 109 |
+
478,
|
| 110 |
+
884,
|
| 111 |
+
686
|
| 112 |
+
],
|
| 113 |
+
"page_idx": 0
|
| 114 |
+
},
|
| 115 |
+
{
|
| 116 |
+
"type": "text",
|
| 117 |
+
"text": "We make the following contributions:",
|
| 118 |
+
"bbox": [
|
| 119 |
+
527,
|
| 120 |
+
694,
|
| 121 |
+
808,
|
| 122 |
+
709
|
| 123 |
+
],
|
| 124 |
+
"page_idx": 0
|
| 125 |
+
},
|
| 126 |
+
{
|
| 127 |
+
"type": "list",
|
| 128 |
+
"sub_type": "text",
|
| 129 |
+
"list_items": [
|
| 130 |
+
"1. SHARCS introduces a router that predicts the hardness of a sample and can be trained on any transformer network. It enables dynamic input processing using sub-networks of varying widths, determined by the predicted hardness.",
|
| 131 |
+
"2. SHARCS delivers substantial efficiency improvements in terms of accuracy vs. FLOPs trade-off across different datasets & transformer encoders. For example, on QQP (Wang et al., 2017), it reduces the FLOPs of RoBERTa $_{\\text{base}}$ by $2.75 \\times$ with only $1\\%$ accuracy drop. Compared to other"
|
| 132 |
+
],
|
| 133 |
+
"bbox": [
|
| 134 |
+
509,
|
| 135 |
+
713,
|
| 136 |
+
884,
|
| 137 |
+
896
|
| 138 |
+
],
|
| 139 |
+
"page_idx": 0
|
| 140 |
+
},
|
| 141 |
+
{
|
| 142 |
+
"type": "page_footnote",
|
| 143 |
+
"text": "1 pronounced sharks.",
|
| 144 |
+
"bbox": [
|
| 145 |
+
529,
|
| 146 |
+
904,
|
| 147 |
+
658,
|
| 148 |
+
917
|
| 149 |
+
],
|
| 150 |
+
"page_idx": 0
|
| 151 |
+
},
|
| 152 |
+
{
|
| 153 |
+
"type": "page_number",
|
| 154 |
+
"text": "10519",
|
| 155 |
+
"bbox": [
|
| 156 |
+
475,
|
| 157 |
+
927,
|
| 158 |
+
524,
|
| 159 |
+
940
|
| 160 |
+
],
|
| 161 |
+
"page_idx": 0
|
| 162 |
+
},
|
| 163 |
+
{
|
| 164 |
+
"type": "footer",
|
| 165 |
+
"text": "Findings of the Association for Computational Linguistics: EMNLP 2023, pages 10519-10532 December 6-10, 2023 ©2023 Association for Computational Linguistics",
|
| 166 |
+
"bbox": [
|
| 167 |
+
210,
|
| 168 |
+
945,
|
| 169 |
+
786,
|
| 170 |
+
972
|
| 171 |
+
],
|
| 172 |
+
"page_idx": 0
|
| 173 |
+
},
|
| 174 |
+
{
|
| 175 |
+
"type": "image",
|
| 176 |
+
"img_path": "images/e3f00069023724b960735641b0a5045627027c182b951d8bcb48a1f51a385768.jpg",
|
| 177 |
+
"image_caption": [],
|
| 178 |
+
"image_footnote": [],
|
| 179 |
+
"bbox": [
|
| 180 |
+
151,
|
| 181 |
+
82,
|
| 182 |
+
443,
|
| 183 |
+
287
|
| 184 |
+
],
|
| 185 |
+
"page_idx": 1
|
| 186 |
+
},
|
| 187 |
+
{
|
| 188 |
+
"type": "image",
|
| 189 |
+
"img_path": "images/88fed47bcd69f387bcfef750639c6fbd11e3d631c95fe0d133027754b44fc572.jpg",
|
| 190 |
+
"image_caption": [
|
| 191 |
+
"(a) Inference.",
|
| 192 |
+
"(b) Generating hardness labels to train the router.",
|
| 193 |
+
"Figure 1: (a) At inference the router selects the reduction factor. Red parts denote the changes enforced by the router. (b) Training the router. The confidence scores of the last $W$ epochs for each input sample is recorded. Then they are compared with confidence thresholds and labels for training the router are assigned accordingly."
|
| 194 |
+
],
|
| 195 |
+
"image_footnote": [],
|
| 196 |
+
"bbox": [
|
| 197 |
+
142,
|
| 198 |
+
309,
|
| 199 |
+
450,
|
| 200 |
+
463
|
| 201 |
+
],
|
| 202 |
+
"page_idx": 1
|
| 203 |
+
},
|
| 204 |
+
{
|
| 205 |
+
"type": "text",
|
| 206 |
+
"text": "sample adaptive inference techniques, SHARCS either outperforms them or can be paired with them to achieve even greater efficiency.",
|
| 207 |
+
"bbox": [
|
| 208 |
+
134,
|
| 209 |
+
607,
|
| 210 |
+
487,
|
| 211 |
+
655
|
| 212 |
+
],
|
| 213 |
+
"page_idx": 1
|
| 214 |
+
},
|
| 215 |
+
{
|
| 216 |
+
"type": "text",
|
| 217 |
+
"text": "3. The gains from SHARCS can be realized in real-world deployment with significant latency reduction in CPU-based inference. On QQP, SHARCS can speed up $\\mathrm{BERT}_{\\mathrm{base}}$ more than $2\\times$ with less than $1\\%$ drop in accuracy.",
|
| 218 |
+
"bbox": [
|
| 219 |
+
114,
|
| 220 |
+
663,
|
| 221 |
+
489,
|
| 222 |
+
744
|
| 223 |
+
],
|
| 224 |
+
"page_idx": 1
|
| 225 |
+
},
|
| 226 |
+
{
|
| 227 |
+
"type": "text",
|
| 228 |
+
"text": "2 Method",
|
| 229 |
+
"text_level": 1,
|
| 230 |
+
"bbox": [
|
| 231 |
+
112,
|
| 232 |
+
776,
|
| 233 |
+
218,
|
| 234 |
+
791
|
| 235 |
+
],
|
| 236 |
+
"page_idx": 1
|
| 237 |
+
},
|
| 238 |
+
{
|
| 239 |
+
"type": "text",
|
| 240 |
+
"text": "We introduce SHARCS for adaptive inference that takes into account the hardness of input samples. Our approach has three main steps: (1) Obtaining labels that represent sample hardness ( $\\S 2.1$ ); (2) Training a router that can predict sample hardness ( $\\S 2.2$ ); (3) Adjusting the network's inference capacity according to the predicted hardness ( $\\S 2.3$ ).",
|
| 241 |
+
"bbox": [
|
| 242 |
+
112,
|
| 243 |
+
806,
|
| 244 |
+
490,
|
| 245 |
+
919
|
| 246 |
+
],
|
| 247 |
+
"page_idx": 1
|
| 248 |
+
},
|
| 249 |
+
{
|
| 250 |
+
"type": "text",
|
| 251 |
+
"text": "2.1 Estimating Hardness of a Sample",
|
| 252 |
+
"text_level": 1,
|
| 253 |
+
"bbox": [
|
| 254 |
+
507,
|
| 255 |
+
84,
|
| 256 |
+
816,
|
| 257 |
+
99
|
| 258 |
+
],
|
| 259 |
+
"page_idx": 1
|
| 260 |
+
},
|
| 261 |
+
{
|
| 262 |
+
"type": "text",
|
| 263 |
+
"text": "Our objective is to learn a sample hardness aware router, enabling us to dynamically direct the input sample to one of the sub-networks with varying capacities (including the main network) for efficient inference. As there are no ground-truth labels that represent hardness, we leverage network's prediction history during training. We assume that there are $M$ possible hardness levels for a sample, with level 1 being the easiest and $M$ being the hardest. Our goal is to assign a hardness label $\\hat{y} \\in \\{0,1\\}^{M}$ to samples in the training set and train the router with them. Toward this end, we employ a heuristic procedure which is illustrated in Figure 1b: If the model predicts the ground truth class for a training sample with a probability within a confidence interval $[T_{low}^{i}, T_{high}^{i}]$ , then the $i$ th entry in the label $\\hat{y}$ would be 1; otherwise it would be zero. Here, $i$ ranges from 1 to $M$ , and $T^{i}$ 's are hyperparameters associated with hardness level $i$ .",
|
| 264 |
+
"bbox": [
|
| 265 |
+
507,
|
| 266 |
+
107,
|
| 267 |
+
884,
|
| 268 |
+
412
|
| 269 |
+
],
|
| 270 |
+
"page_idx": 1
|
| 271 |
+
},
|
| 272 |
+
{
|
| 273 |
+
"type": "text",
|
| 274 |
+
"text": "Because of the stochastic nature of training, it is possible that the samples denoted as easy earlier will potentially be denoted as hard after that, posing instabilities while training the router. To mitigate such randomness, the $i$ th entry is 1 only if the predicted ground truth probability is within the interval for a moving window of last $W$ epochs. The assigned hardness labels will be used as labels to train the router in the next epoch. We do not train the router during the first $W$ epochs and just train the network and record the network's predictions. Please see appendix E.0.5 for more details on the role of window size.",
|
| 275 |
+
"bbox": [
|
| 276 |
+
507,
|
| 277 |
+
414,
|
| 278 |
+
884,
|
| 279 |
+
621
|
| 280 |
+
],
|
| 281 |
+
"page_idx": 1
|
| 282 |
+
},
|
| 283 |
+
{
|
| 284 |
+
"type": "text",
|
| 285 |
+
"text": "2.2 Training Sample Hardness Aware Router",
|
| 286 |
+
"text_level": 1,
|
| 287 |
+
"bbox": [
|
| 288 |
+
507,
|
| 289 |
+
637,
|
| 290 |
+
880,
|
| 291 |
+
653
|
| 292 |
+
],
|
| 293 |
+
"page_idx": 1
|
| 294 |
+
},
|
| 295 |
+
{
|
| 296 |
+
"type": "text",
|
| 297 |
+
"text": "We split the main transformer network with $L$ layers into non-adaptive and adaptive parts, and incorporate the router between these networks (see Figure 1a). The non-adaptive network is comprised of the first $0 < K < L - 1$ layers while the adaptive part consists of the remaining $L - K$ layers. The adaptive component is a shared network that consists of sub-networks with varying widths, where the width of each sub-network is a fraction of the width of the network.",
|
| 298 |
+
"bbox": [
|
| 299 |
+
507,
|
| 300 |
+
659,
|
| 301 |
+
882,
|
| 302 |
+
819
|
| 303 |
+
],
|
| 304 |
+
"page_idx": 1
|
| 305 |
+
},
|
| 306 |
+
{
|
| 307 |
+
"type": "text",
|
| 308 |
+
"text": "More formally, sub-networks are associated with a given a set of reduction factors $\\{r_i\\}_{i = 1}^M$ $0 < r_{i}\\leq$ 1, where the width of $i$ -th sub-network is $1 / r_{i}\\times$ smaller than that of main network. We map the hardness level $i$ to the width reduction factor $r_i$ . During training, for each input, we sample one of the re",
|
| 309 |
+
"bbox": [
|
| 310 |
+
507,
|
| 311 |
+
822,
|
| 312 |
+
882,
|
| 313 |
+
917
|
| 314 |
+
],
|
| 315 |
+
"page_idx": 1
|
| 316 |
+
},
|
| 317 |
+
{
|
| 318 |
+
"type": "page_number",
|
| 319 |
+
"text": "10520",
|
| 320 |
+
"bbox": [
|
| 321 |
+
477,
|
| 322 |
+
927,
|
| 323 |
+
524,
|
| 324 |
+
940
|
| 325 |
+
],
|
| 326 |
+
"page_idx": 1
|
| 327 |
+
},
|
| 328 |
+
{
|
| 329 |
+
"type": "image",
|
| 330 |
+
"img_path": "images/864fef6028196209d80370d23ebff5194ff362b25e1b363694949254727100de.jpg",
|
| 331 |
+
"image_caption": [
|
| 332 |
+
"Figure 2: Results on the three of the sub-tasks in the GLUE benchmark. For the full set of plots on 8 tasks please refer to the appendix D.0.1. Best viewed in color."
|
| 333 |
+
],
|
| 334 |
+
"image_footnote": [],
|
| 335 |
+
"bbox": [
|
| 336 |
+
164,
|
| 337 |
+
80,
|
| 338 |
+
833,
|
| 339 |
+
236
|
| 340 |
+
],
|
| 341 |
+
"page_idx": 2
|
| 342 |
+
},
|
| 343 |
+
{
|
| 344 |
+
"type": "text",
|
| 345 |
+
"text": "duction factors with entry 1 in the router label for that input and do the forward and backward pass with just the network associated with that reduction factor. During inference, given the output of non-adaptive network for input sample $x$ , the objective of the router is to determine the width of sub-network in the adaptive module to process $x$ . We train the sub-networks and the router with the following objective:",
|
| 346 |
+
"bbox": [
|
| 347 |
+
112,
|
| 348 |
+
299,
|
| 349 |
+
490,
|
| 350 |
+
444
|
| 351 |
+
],
|
| 352 |
+
"page_idx": 2
|
| 353 |
+
},
|
| 354 |
+
{
|
| 355 |
+
"type": "equation",
|
| 356 |
+
"text": "\n$$\n\\mathcal {L} = \\lambda_ {\\text {t a s k}} \\cdot \\mathcal {L} _ {\\text {t a s k}} + \\lambda_ {\\text {r o u t e r}} \\cdot \\mathcal {L} _ {\\text {r o u t e r}} \\tag {1}\n$$\n",
|
| 357 |
+
"text_format": "latex",
|
| 358 |
+
"bbox": [
|
| 359 |
+
161,
|
| 360 |
+
478,
|
| 361 |
+
487,
|
| 362 |
+
495
|
| 363 |
+
],
|
| 364 |
+
"page_idx": 2
|
| 365 |
+
},
|
| 366 |
+
{
|
| 367 |
+
"type": "text",
|
| 368 |
+
"text": "where $\\mathcal{L}_{\\text{router}}$ is a binary cross-entropy loss between predicted and ground-truth hardness label, $\\mathcal{L}_{\\text{task}}$ is a task-specific loss, and $\\lambda_{\\text{task}}$ and $\\lambda_{\\text{router}}$ are loss weights which are hyper-parameters.",
|
| 369 |
+
"bbox": [
|
| 370 |
+
112,
|
| 371 |
+
511,
|
| 372 |
+
489,
|
| 373 |
+
576
|
| 374 |
+
],
|
| 375 |
+
"page_idx": 2
|
| 376 |
+
},
|
| 377 |
+
{
|
| 378 |
+
"type": "text",
|
| 379 |
+
"text": "2.3 Reducing Width of Adaptive Module",
|
| 380 |
+
"text_level": 1,
|
| 381 |
+
"bbox": [
|
| 382 |
+
112,
|
| 383 |
+
590,
|
| 384 |
+
450,
|
| 385 |
+
606
|
| 386 |
+
],
|
| 387 |
+
"page_idx": 2
|
| 388 |
+
},
|
| 389 |
+
{
|
| 390 |
+
"type": "text",
|
| 391 |
+
"text": "The basic building block in both multi-head attention (MHA) module and feed forward network (FFN) in transformers is the linear layer (Vaswani et al., 2017). Given the fully-connected nature of linear layers, to reduce their width, we retain the leftmost $r \\cdot d_{\\mathrm{model}}$ neurons in both input and output (Kusupati et al., 2022). It is worth noting that as we reduce the input and output dimensions of matrix multiplications by a factor of $1 / r$ , the flops will be reduced by a factor of $1 / r^2$ . We follow a similar procedure for reducing the width of affine parameters in LayerNorm (Ba et al., 2016). Also in our setup, we do not change the head dimensions in MHA and instead decrease the number of heads by a factor of $1 / r$ . As Figure 1a illustrates, we down-project the input hidden states to the adaptive layers using a pooled module and up-project it back before feeding to the single classifier for all of the sub-networks. Please see Appendix B for a",
|
| 392 |
+
"bbox": [
|
| 393 |
+
112,
|
| 394 |
+
613,
|
| 395 |
+
489,
|
| 396 |
+
919
|
| 397 |
+
],
|
| 398 |
+
"page_idx": 2
|
| 399 |
+
},
|
| 400 |
+
{
|
| 401 |
+
"type": "text",
|
| 402 |
+
"text": "detailed description of width reduction of different components in transformer layer.",
|
| 403 |
+
"bbox": [
|
| 404 |
+
507,
|
| 405 |
+
299,
|
| 406 |
+
882,
|
| 407 |
+
332
|
| 408 |
+
],
|
| 409 |
+
"page_idx": 2
|
| 410 |
+
},
|
| 411 |
+
{
|
| 412 |
+
"type": "text",
|
| 413 |
+
"text": "3 Experimental setup",
|
| 414 |
+
"text_level": 1,
|
| 415 |
+
"bbox": [
|
| 416 |
+
507,
|
| 417 |
+
344,
|
| 418 |
+
714,
|
| 419 |
+
361
|
| 420 |
+
],
|
| 421 |
+
"page_idx": 2
|
| 422 |
+
},
|
| 423 |
+
{
|
| 424 |
+
"type": "text",
|
| 425 |
+
"text": "Datasets. We evaluate SHARCS on 8 classification tasks in the standard GLUE benchmark (Wang et al., 2018): MNLI-m (Williams et al., 2018), QNLI (Wang et al., 2018; Rajpurkar et al., 2016), QQP (Wang et al., 2017), SST-2 (Socher et al., 2013), MRPC (Dolan and Brockett, 2005), RTE (Dagan et al., 2005), CoLA (Warstadt et al., 2019), WNLI (Levesque et al., 2012).",
|
| 426 |
+
"bbox": [
|
| 427 |
+
507,
|
| 428 |
+
370,
|
| 429 |
+
884,
|
| 430 |
+
500
|
| 431 |
+
],
|
| 432 |
+
"page_idx": 2
|
| 433 |
+
},
|
| 434 |
+
{
|
| 435 |
+
"type": "text",
|
| 436 |
+
"text": "Evaluation metrics. Following previous work, we report the accuracy on the validation set, with an exception to CoLA for which we report Matthews correlation. We measure the total FLOPs on the validation set as it is invariant to the run time environment (Liu et al., 2020).",
|
| 437 |
+
"bbox": [
|
| 438 |
+
507,
|
| 439 |
+
510,
|
| 440 |
+
885,
|
| 441 |
+
606
|
| 442 |
+
],
|
| 443 |
+
"page_idx": 2
|
| 444 |
+
},
|
| 445 |
+
{
|
| 446 |
+
"type": "text",
|
| 447 |
+
"text": "Training details. We train network with AdamW optimizer (Loshchilov and Hutter, 2019). We choose the number of epochs in $\\{5,10,15\\}$ and use learning rate in $\\{2e - 5,5e - 5\\}$ in our experiments. Please see Appendix C for more details.",
|
| 448 |
+
"bbox": [
|
| 449 |
+
507,
|
| 450 |
+
615,
|
| 451 |
+
884,
|
| 452 |
+
697
|
| 453 |
+
],
|
| 454 |
+
"page_idx": 2
|
| 455 |
+
},
|
| 456 |
+
{
|
| 457 |
+
"type": "text",
|
| 458 |
+
"text": "4 Results",
|
| 459 |
+
"text_level": 1,
|
| 460 |
+
"bbox": [
|
| 461 |
+
507,
|
| 462 |
+
709,
|
| 463 |
+
608,
|
| 464 |
+
725
|
| 465 |
+
],
|
| 466 |
+
"page_idx": 2
|
| 467 |
+
},
|
| 468 |
+
{
|
| 469 |
+
"type": "text",
|
| 470 |
+
"text": "4.1 SHARCS is Better",
|
| 471 |
+
"text_level": 1,
|
| 472 |
+
"bbox": [
|
| 473 |
+
507,
|
| 474 |
+
737,
|
| 475 |
+
682,
|
| 476 |
+
751
|
| 477 |
+
],
|
| 478 |
+
"page_idx": 2
|
| 479 |
+
},
|
| 480 |
+
{
|
| 481 |
+
"type": "text",
|
| 482 |
+
"text": "We compare SHARCS with existing sample adaptive inference methods: RTJ (Schwartz et al., 2020), DeeBERT (Xin et al., 2020), FastBERT (Liu et al., 2020), BERxiT (Xin et al., 2021), and PABEE (Zhou et al., 2020). Figure 2 shows the accuracy-FLOPs trade-off plots for different sample adaptive approaches with RoBERTa $_{\\text{base}}$ model on three GLUE subtasks (See appendix D.0.1 for the full set of plots). Our results show that SHARCS significantly outperforms other methods, especially in",
|
| 483 |
+
"bbox": [
|
| 484 |
+
507,
|
| 485 |
+
758,
|
| 486 |
+
884,
|
| 487 |
+
919
|
| 488 |
+
],
|
| 489 |
+
"page_idx": 2
|
| 490 |
+
},
|
| 491 |
+
{
|
| 492 |
+
"type": "page_number",
|
| 493 |
+
"text": "10521",
|
| 494 |
+
"bbox": [
|
| 495 |
+
477,
|
| 496 |
+
927,
|
| 497 |
+
524,
|
| 498 |
+
940
|
| 499 |
+
],
|
| 500 |
+
"page_idx": 2
|
| 501 |
+
},
|
| 502 |
+
{
|
| 503 |
+
"type": "table",
|
| 504 |
+
"img_path": "images/06545fefbe9f7da7780bfef39175e19aa031064fee03529bba7f2b2d61d24295.jpg",
|
| 505 |
+
"table_caption": [
|
| 506 |
+
"Table 1: Comparison of different adaptive inference methods on MNLI-m dataset for different FLOP ranges. For the full table, please see Appendix D.0.2"
|
| 507 |
+
],
|
| 508 |
+
"table_footnote": [],
|
| 509 |
+
"table_body": "<table><tr><td rowspan=\"2\">FLOPs range (Tera FLOPs)</td><td colspan=\"2\">Best Baseline</td><td colspan=\"2\">SHARCS</td></tr><tr><td>Acc.(%) ↑</td><td>FLOPs ↓</td><td>Acc.</td><td>FLOPs</td></tr><tr><td colspan=\"5\">Roberta (Acc: 87.6, FLOPs: 33.5)</td></tr><tr><td>0-10</td><td>61.83</td><td>9.56</td><td>76.37</td><td>4.91</td></tr><tr><td>10-20</td><td>84.19</td><td>18</td><td>85.93</td><td>17.92</td></tr><tr><td>20-30</td><td>87.53</td><td>29.86</td><td>87.38</td><td>28.35</td></tr><tr><td colspan=\"5\">BERT (Acc: 84.8, FLOPs: 33)</td></tr><tr><td>0-10</td><td>48.87</td><td>8.76</td><td>72.7</td><td>8.94</td></tr><tr><td>10-20</td><td>72.50</td><td>19.99</td><td>81.61</td><td>16.73</td></tr><tr><td>20-30</td><td>83.27</td><td>27.99</td><td>83.04</td><td>22.76</td></tr><tr><td colspan=\"5\">DistilBERT (Acc: 82.2, FLOPs: 16.57)</td></tr><tr><td>0-5</td><td>48.87</td><td>4.7</td><td>64.72</td><td>3.80</td></tr><tr><td>5-10</td><td>64.44</td><td>9.95</td><td>76.02</td><td>8.87</td></tr><tr><td>10-15</td><td>80.38</td><td>14.91</td><td>81.61</td><td>14.39</td></tr><tr><td colspan=\"5\">DynaBERT 0.25 width (Acc: 83.9, FLOPs: 8.26)</td></tr><tr><td>0-4</td><td>65.61</td><td>3.78</td><td>78.92</td><td>3.99</td></tr><tr><td>4-6</td><td>76.01</td><td>5.42</td><td>81.48</td><td>5.21</td></tr><tr><td>6-8</td><td>83.86</td><td>7.92</td><td>83.40</td><td>7.33</td></tr></table>",
|
| 510 |
+
"bbox": [
|
| 511 |
+
117,
|
| 512 |
+
128,
|
| 513 |
+
485,
|
| 514 |
+
370
|
| 515 |
+
],
|
| 516 |
+
"page_idx": 3
|
| 517 |
+
},
|
| 518 |
+
{
|
| 519 |
+
"type": "text",
|
| 520 |
+
"text": "the low-FLOPs regime. This can suggest that by substantially reducing the width of deeper layers in the model, SHARCS can achieve a significant reduction in FLOPs. Furthermore, we can maintain the accuracy better compared to fully skipping deeper layers as commonly done in early exiting methods.",
|
| 521 |
+
"bbox": [
|
| 522 |
+
112,
|
| 523 |
+
387,
|
| 524 |
+
489,
|
| 525 |
+
486
|
| 526 |
+
],
|
| 527 |
+
"page_idx": 3
|
| 528 |
+
},
|
| 529 |
+
{
|
| 530 |
+
"type": "text",
|
| 531 |
+
"text": "4.2 SHARCS is Model Agnostic",
|
| 532 |
+
"text_level": 1,
|
| 533 |
+
"bbox": [
|
| 534 |
+
112,
|
| 535 |
+
495,
|
| 536 |
+
361,
|
| 537 |
+
511
|
| 538 |
+
],
|
| 539 |
+
"page_idx": 3
|
| 540 |
+
},
|
| 541 |
+
{
|
| 542 |
+
"type": "text",
|
| 543 |
+
"text": "SHARCS can be seamlessly integrated with any state-of-the-art non-efficient and efficient transformer-based encoders to further improve their efficiency. We use SHARCS and the baseline sample adaptive inference methods in (§4.1) with two standard nonefficient (RoBERTa<sub>base</sub> and BERT-Base<sub>base</sub>) and efficient (DistilBERT (Sanh et al., 2019) and DynaBERT (Hou et al., 2020)) models. Table 1 shows that SHARCS consistently improves the efficiency of different models while maintaining the accuracy better than other baseline sample adaptive methods. Note that, for brevity, we have selected the highest accuracy among all the sample adaptive baselines for each FLOPs range; please see Table 5 in Appendix D.0.2 for the full set of results. As an example, SHARCS can reduce the FLOPs of BERT<sub>base</sub> to half with near 3% reduction in accuracy whereas in other methods the drop is more than 12%. Interestingly, SHARCS can further improve the efficiency of already optimized networks. For instance, inference with SHARCS on DynaBERT 0.25 width takes 10-15% less FLOPs with less than 1% drop in accuracy. More accuracy vs. FLOPs trade-off results for DynaBERT 0.25 and DistilBERT can be found in Figure 10 and 11.",
|
| 544 |
+
"bbox": [
|
| 545 |
+
112,
|
| 546 |
+
517,
|
| 547 |
+
489,
|
| 548 |
+
917
|
| 549 |
+
],
|
| 550 |
+
"page_idx": 3
|
| 551 |
+
},
|
| 552 |
+
{
|
| 553 |
+
"type": "text",
|
| 554 |
+
"text": "4.3 SHARCS is Fast",
|
| 555 |
+
"text_level": 1,
|
| 556 |
+
"bbox": [
|
| 557 |
+
509,
|
| 558 |
+
84,
|
| 559 |
+
665,
|
| 560 |
+
98
|
| 561 |
+
],
|
| 562 |
+
"page_idx": 3
|
| 563 |
+
},
|
| 564 |
+
{
|
| 565 |
+
"type": "text",
|
| 566 |
+
"text": "We compare the latency of SHARCS applied to $\\mathrm{BERT}_{\\mathrm{base}}$ with the baseline adaptive approaches on the QQP (Wang et al., 2017) dataset. The latency measurements are conducted on an Intel Xeon Gold 6230 CPU with a batch size of 1. We use two reduction factors $\\{0.25, 1.0\\}$ and place the router after layer 2 or 4 to get different accuracy-speed up trade offs. We keep the speed up between 2 to 3 and report the best accuracy for each method in this range. Table 2 shows that our method obtains higher or comparable accuracy in this speed up range. Interestingly, SHARCS achieves a performance on par with DistilBERT, which is trained with distillation on a much larger dataset, but with higher speed up.",
|
| 567 |
+
"bbox": [
|
| 568 |
+
507,
|
| 569 |
+
111,
|
| 570 |
+
885,
|
| 571 |
+
336
|
| 572 |
+
],
|
| 573 |
+
"page_idx": 3
|
| 574 |
+
},
|
| 575 |
+
{
|
| 576 |
+
"type": "text",
|
| 577 |
+
"text": "4.4 SHARCS Paired with Token Dropping",
|
| 578 |
+
"text_level": 1,
|
| 579 |
+
"bbox": [
|
| 580 |
+
507,
|
| 581 |
+
357,
|
| 582 |
+
838,
|
| 583 |
+
375
|
| 584 |
+
],
|
| 585 |
+
"page_idx": 3
|
| 586 |
+
},
|
| 587 |
+
{
|
| 588 |
+
"type": "text",
|
| 589 |
+
"text": "As discussed in Section 1, in addition to early-exiting, token dropping is another well-known approach to sample-adaptive inference efficiency (Goyal et al., 2020; Guan et al., 2022). Token dropping enhances efficiency by progressively dropping tokens layer by layer, thereby decreasing the hidden states sequence length as the forward pass proceeds. In contrast, SHARCS improves efficiency via reducing the transformer block's width. Therefore token dropping and SHARCS should not interfere with each other and in fact, they can be paired together to bring more efficiency. To showcase this, we combine SHARCS with a RoBERTa $_{\\text{base}}$ network that has already been made more efficient using Transkimmer token dropping. Table 3 shows that on QNLI dataset, SHARCS reduces the FLOPs of RoBERTa + Transkimmer by $40\\%$ with a negligible drop in accuracy.",
|
| 590 |
+
"bbox": [
|
| 591 |
+
507,
|
| 592 |
+
385,
|
| 593 |
+
884,
|
| 594 |
+
675
|
| 595 |
+
],
|
| 596 |
+
"page_idx": 3
|
| 597 |
+
},
|
| 598 |
+
{
|
| 599 |
+
"type": "table",
|
| 600 |
+
"img_path": "images/e85acf074ab31f13a812d74247211abde92d359527c510010c3f7b8325804ef3.jpg",
|
| 601 |
+
"table_caption": [
|
| 602 |
+
"Table 2: Inference speed up results on the QQP dataset on CPU for various adaptive inference techniques applied to BERT. For SHARCS we place the router after layers 2 and 4 and report two numbers."
|
| 603 |
+
],
|
| 604 |
+
"table_footnote": [],
|
| 605 |
+
"table_body": "<table><tr><td></td><td>Accuracy (%)↑</td><td>Speed up (×)↑</td></tr><tr><td>BERT</td><td>90.90</td><td>1</td></tr><tr><td>DistilBERT</td><td>88.50</td><td>2</td></tr><tr><td>BERxiT</td><td>85.60</td><td>2.04</td></tr><tr><td>FastBERT</td><td>83.99</td><td>2.17</td></tr><tr><td>DeeBERT</td><td>83.82</td><td>2.14</td></tr><tr><td>PABEE</td><td>89.09</td><td>2.06</td></tr><tr><td>RTJ</td><td>84.44</td><td>2</td></tr><tr><td>SHARCS (layer 2)</td><td>88.43</td><td>2.57</td></tr><tr><td>SHARCS (layer 4)</td><td>90.05</td><td>2.05</td></tr></table>",
|
| 606 |
+
"bbox": [
|
| 607 |
+
512,
|
| 608 |
+
753,
|
| 609 |
+
884,
|
| 610 |
+
908
|
| 611 |
+
],
|
| 612 |
+
"page_idx": 3
|
| 613 |
+
},
|
| 614 |
+
{
|
| 615 |
+
"type": "page_number",
|
| 616 |
+
"text": "10522",
|
| 617 |
+
"bbox": [
|
| 618 |
+
477,
|
| 619 |
+
927,
|
| 620 |
+
524,
|
| 621 |
+
940
|
| 622 |
+
],
|
| 623 |
+
"page_idx": 3
|
| 624 |
+
},
|
| 625 |
+
{
|
| 626 |
+
"type": "table",
|
| 627 |
+
"img_path": "images/3b9ccc4895901e6e9b76274d6803771948027439f22fd4e0ab14b3501752ce5b.jpg",
|
| 628 |
+
"table_caption": [
|
| 629 |
+
"Table 3: SHARCS can be applied to RoBERTa in addition to Transkimmer to bring more efficiency. The decrease in FLOPs and Accuracy in parentheses are with respect to RoBERTa + Transkimmer."
|
| 630 |
+
],
|
| 631 |
+
"table_footnote": [],
|
| 632 |
+
"table_body": "<table><tr><td></td><td>QNLI Acc.</td><td>TeraFLOPs</td></tr><tr><td>RoBERTa Base</td><td>92.8%</td><td>24.5</td></tr><tr><td>+Transkimmer</td><td>89.45%</td><td>14.08</td></tr><tr><td>+Transkimmer + SHARCS</td><td>88.83% (-0.62%)</td><td>8.56 (~40%↓)</td></tr></table>",
|
| 633 |
+
"bbox": [
|
| 634 |
+
117,
|
| 635 |
+
149,
|
| 636 |
+
485,
|
| 637 |
+
221
|
| 638 |
+
],
|
| 639 |
+
"page_idx": 4
|
| 640 |
+
},
|
| 641 |
+
{
|
| 642 |
+
"type": "text",
|
| 643 |
+
"text": "4.5 Ablating the Router",
|
| 644 |
+
"text_level": 1,
|
| 645 |
+
"bbox": [
|
| 646 |
+
112,
|
| 647 |
+
246,
|
| 648 |
+
317,
|
| 649 |
+
262
|
| 650 |
+
],
|
| 651 |
+
"page_idx": 4
|
| 652 |
+
},
|
| 653 |
+
{
|
| 654 |
+
"type": "text",
|
| 655 |
+
"text": "To show the efficacy of the router and its training strategy in SHARCS, we replace it with the routing strategy used in BERxiT (Xin et al., 2021): while training two sub-networks with reduction factors $\\{0.25, 1.0\\}$ , we feed the training sample to both of them; if a sub-network correctly classifies the sample, the router label for that sub-network in that iteration would be 1. Otherwise, it would be zero. The backward pass is then done with all the losses of sub-networks and the router loss. Table 4 shows the area under the normalized accuracy FLOPs curve (AUC) for both methods on MNLIm. Please find more detailed ablation results and experiments in Appendix E.",
|
| 656 |
+
"bbox": [
|
| 657 |
+
112,
|
| 658 |
+
268,
|
| 659 |
+
489,
|
| 660 |
+
493
|
| 661 |
+
],
|
| 662 |
+
"page_idx": 4
|
| 663 |
+
},
|
| 664 |
+
{
|
| 665 |
+
"type": "table",
|
| 666 |
+
"img_path": "images/1947568018e9a0eb3f58b4b46156c2f310f193bd1dad3c82f61795d68a938e7e.jpg",
|
| 667 |
+
"table_caption": [
|
| 668 |
+
"Table 4: While using adaptive width with RoBERTa ${}_{\\text{base }}$ on MNLI-m, SHARCS router outperforms BERxiT router."
|
| 669 |
+
],
|
| 670 |
+
"table_footnote": [],
|
| 671 |
+
"table_body": "<table><tr><td>Router on RoBERTabase</td><td>AUC ↑</td></tr><tr><td>SHARCS</td><td>0.78</td></tr><tr><td>BERxiT</td><td>0.73</td></tr></table>",
|
| 672 |
+
"bbox": [
|
| 673 |
+
176,
|
| 674 |
+
533,
|
| 675 |
+
418,
|
| 676 |
+
590
|
| 677 |
+
],
|
| 678 |
+
"page_idx": 4
|
| 679 |
+
},
|
| 680 |
+
{
|
| 681 |
+
"type": "text",
|
| 682 |
+
"text": "5 Conclusion",
|
| 683 |
+
"text_level": 1,
|
| 684 |
+
"bbox": [
|
| 685 |
+
112,
|
| 686 |
+
612,
|
| 687 |
+
247,
|
| 688 |
+
627
|
| 689 |
+
],
|
| 690 |
+
"page_idx": 4
|
| 691 |
+
},
|
| 692 |
+
{
|
| 693 |
+
"type": "text",
|
| 694 |
+
"text": "We presented SHARCS as a new sample adaptive inference approach that can improve any network's inference efficiency. SHARCS incorporated a lightweight router which is trained with a novel approach using the confidence of the network predictions during training. Our experiments showed the superiority or complementary role of SHARCS compared to other sample adaptive inference methods across various datasets and backbones.",
|
| 695 |
+
"bbox": [
|
| 696 |
+
112,
|
| 697 |
+
638,
|
| 698 |
+
489,
|
| 699 |
+
782
|
| 700 |
+
],
|
| 701 |
+
"page_idx": 4
|
| 702 |
+
},
|
| 703 |
+
{
|
| 704 |
+
"type": "text",
|
| 705 |
+
"text": "Limitations",
|
| 706 |
+
"text_level": 1,
|
| 707 |
+
"bbox": [
|
| 708 |
+
112,
|
| 709 |
+
796,
|
| 710 |
+
220,
|
| 711 |
+
810
|
| 712 |
+
],
|
| 713 |
+
"page_idx": 4
|
| 714 |
+
},
|
| 715 |
+
{
|
| 716 |
+
"type": "text",
|
| 717 |
+
"text": "While the router and training approach in SHARCS are general purpose, a limitation of this paper is its focus solely on studying the impact on transformer encoders. Nonetheless, decoder-only (Radford et al., 2018, 2019) and encoder-decoder (Raffel et al., 2019; Lewis et al., 2020) models are",
|
| 718 |
+
"bbox": [
|
| 719 |
+
112,
|
| 720 |
+
822,
|
| 721 |
+
489,
|
| 722 |
+
917
|
| 723 |
+
],
|
| 724 |
+
"page_idx": 4
|
| 725 |
+
},
|
| 726 |
+
{
|
| 727 |
+
"type": "text",
|
| 728 |
+
"text": "widely used classes of models for which we plan to integrate SHARCS in the future work. It should be noted that although our approach can be applied to regression tasks with minor adjustments, this work does not include any results for regression tasks.",
|
| 729 |
+
"bbox": [
|
| 730 |
+
507,
|
| 731 |
+
84,
|
| 732 |
+
882,
|
| 733 |
+
165
|
| 734 |
+
],
|
| 735 |
+
"page_idx": 4
|
| 736 |
+
},
|
| 737 |
+
{
|
| 738 |
+
"type": "text",
|
| 739 |
+
"text": "Acknowledgements",
|
| 740 |
+
"text_level": 1,
|
| 741 |
+
"bbox": [
|
| 742 |
+
509,
|
| 743 |
+
175,
|
| 744 |
+
682,
|
| 745 |
+
193
|
| 746 |
+
],
|
| 747 |
+
"page_idx": 4
|
| 748 |
+
},
|
| 749 |
+
{
|
| 750 |
+
"type": "text",
|
| 751 |
+
"text": "We thank members of RAIVN and H2Lab for helpful discussion and feedback, and Hyak cluster team at the University of Washington for infrastructure support. This research was supported by NSF IIS-2044660, ONR MURI N00014- 18-1-2670, and gifts from AI2, Google and Apple.",
|
| 752 |
+
"bbox": [
|
| 753 |
+
507,
|
| 754 |
+
200,
|
| 755 |
+
884,
|
| 756 |
+
298
|
| 757 |
+
],
|
| 758 |
+
"page_idx": 4
|
| 759 |
+
},
|
| 760 |
+
{
|
| 761 |
+
"type": "text",
|
| 762 |
+
"text": "References",
|
| 763 |
+
"text_level": 1,
|
| 764 |
+
"bbox": [
|
| 765 |
+
510,
|
| 766 |
+
325,
|
| 767 |
+
608,
|
| 768 |
+
338
|
| 769 |
+
],
|
| 770 |
+
"page_idx": 4
|
| 771 |
+
},
|
| 772 |
+
{
|
| 773 |
+
"type": "list",
|
| 774 |
+
"sub_type": "ref_text",
|
| 775 |
+
"list_items": [
|
| 776 |
+
"Jimmy Lei Ba, Jamie Ryan Kiros, and Geoffrey E. Hinton. 2016. Layer normalization.",
|
| 777 |
+
"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. CoRR, abs/2005.14165.",
|
| 778 |
+
"Ido Dagan, Oren Glickman, and Bernardo Magnini. 2005. The pascal recognising textual entailment challenge. In Proceedings of the PASCAL Challenges Workshop on Recognising Textual Entailment.",
|
| 779 |
+
"Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. 2018. BERT: pre-training of deep bidirectional transformers for language understanding. CoRR, abs/1810.04805.",
|
| 780 |
+
"Devvrit, Sneha Kudugunta, Aditya Kusupati, Tim Dettmers, Kaifeng Chen, Inderjit Dhillon, Yulia Tsvetkov, Hajishirzi Hannaneh, Sham Kakade, Ali Farhadi, and Prateek Jain. 2023. Matformer: Nested transformer for elastic inference. arXiv preprint arxiv:2310.07707.",
|
| 781 |
+
"William B. Dolan and Chris Brockett. 2005. Automatically constructing a corpus of sentential paraphrases. In Proceedings of the Third International Workshop on Paraphrasing (IWP2005).",
|
| 782 |
+
"Kawin Ethayarajh, Yejin Choi, and Swabha Swayamdipta. 2021. Information-theoretic measures of dataset difficulty. CoRR, abs/2110.08420.",
|
| 783 |
+
"Saurabh Goyal, Anamitra R. Choudhury, Saurabh M. Raje, Venkatesan T. Chakaravarthy, Yogish Sabharwal, and Ashish Verma. 2020. Power-bert: Accel"
|
| 784 |
+
],
|
| 785 |
+
"bbox": [
|
| 786 |
+
507,
|
| 787 |
+
347,
|
| 788 |
+
884,
|
| 789 |
+
917
|
| 790 |
+
],
|
| 791 |
+
"page_idx": 4
|
| 792 |
+
},
|
| 793 |
+
{
|
| 794 |
+
"type": "page_number",
|
| 795 |
+
"text": "10523",
|
| 796 |
+
"bbox": [
|
| 797 |
+
477,
|
| 798 |
+
927,
|
| 799 |
+
524,
|
| 800 |
+
940
|
| 801 |
+
],
|
| 802 |
+
"page_idx": 4
|
| 803 |
+
},
|
| 804 |
+
{
|
| 805 |
+
"type": "list",
|
| 806 |
+
"sub_type": "ref_text",
|
| 807 |
+
"list_items": [
|
| 808 |
+
"erating bert inference via progressive word-vector elimination.",
|
| 809 |
+
"Yue Guan, Zhengyi Li, Jingwen Leng, Zhouhan Lin, and Minyi Guo. 2022. Transkimmer: Transformer learns to layer-wise skim. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 7275-7286, Dublin, Ireland. Association for Computational Linguistics.",
|
| 810 |
+
"Dan Hendrycks and Kevin Gimpel. 2016. Bridging nonlinearities and stochastic regularizers with gaussian error linear units. CoRR, abs/1606.08415.",
|
| 811 |
+
"Geoffrey Hinton, Oriol Vinyals, and Jeff Dean. 2015. Distilling the knowledge in a neural network.",
|
| 812 |
+
"Lu Hou, Zhiqi Huang, Lifeng Shang, Xin Jiang, Xiao Chen, and Qun Liu. 2020. Dynabert: Dynamic bert with adaptive width and depth. In Advances in Neural Information Processing Systems, volume 33, pages 9782-9793. Curran Associates, Inc.",
|
| 813 |
+
"Xiaoqi Jiao, Yichun Yin, Lifeng Shang, Xin Jiang, Xiao Chen, Linlin Li, Fang Wang, and Qun Liu. 2019. Tinybert: Distilling BERT for natural language understanding. CoRR, abs/1909.10351.",
|
| 814 |
+
"Yigitcan Kaya and Tudor Dumitras. 2018. How to stop off-the-shelf deep neural networks from overthinking. CoRR, abs/1810.07052.",
|
| 815 |
+
"Sehoon Kim, Amir Gholami, Zhewei Yao, Michael W Mahoney, and Kurt Keutzer. 2021. I-bert: Integer-only bert quantization. International Conference on Machine Learning (Accepted).",
|
| 816 |
+
"Aditya Kusupati, Gantavya Bhatt, Aniket Rege, Matthew Wallingford, Aditya Sinha, Vivek Ramanujan, William Howard-Snyder, Kaifeng Chen, Sham Kakade, Prateek Jain, et al. 2022. Matryoshka representation learning. Advances in Neural Information Processing Systems, 35:30233-30249.",
|
| 817 |
+
"François Lagunas, Ella Charlaix, Victor Sanh, and Alexander M. Rush. 2021. Block pruning for faster transformers. CoRR, abs/2109.04838.",
|
| 818 |
+
"Hector J. Levesque, Ernest Davis, and Leora Morgenstern. 2012. The Winograd Schema Challenge. In Proceedings of the Thirteenth International Conference on Principles of Knowledge Representation and Reasoning, KR'12, pages 552-561. AAAI Press, Rome, Italy.",
|
| 819 |
+
"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."
|
| 820 |
+
],
|
| 821 |
+
"bbox": [
|
| 822 |
+
115,
|
| 823 |
+
85,
|
| 824 |
+
489,
|
| 825 |
+
917
|
| 826 |
+
],
|
| 827 |
+
"page_idx": 5
|
| 828 |
+
},
|
| 829 |
+
{
|
| 830 |
+
"type": "list",
|
| 831 |
+
"sub_type": "ref_text",
|
| 832 |
+
"list_items": [
|
| 833 |
+
"Weijie Liu, Peng Zhou, Zhiruo Wang, Zhe Zhao, Haotang Deng, and Qi Ju. 2020. FastBERT: a self-distilling BERT with adaptive inference time. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pages 6035-6044, Online. Association for Computational Linguistics.",
|
| 834 |
+
"Yinhan Liu, Myle Ott, Naman Goyal, Jingfei Du, Mandar Joshi, Danqi Chen, Omer Levy, Mike Lewis, Luke Zettlemoyer, and Veselin Stoyanov. 2019a. Roberta: A robustly optimized BERT pretraining approach. CoRR, abs/1907.11692.",
|
| 835 |
+
"Zechun Liu, Haoyuan Mu, Xiangyu Zhang, Zichao Guo, Xin Yang, Kwang-Ting (Tim) Cheng, and Jian Sun. 2019b. Metapruning: Meta learning for automatic neural network channel pruning. CoRR, abs/1903.10258.",
|
| 836 |
+
"Ilya Loshchilov and Frank Hutter. 2019. Decoupled weight decay regularization.",
|
| 837 |
+
"Paul Michel, Omer Levy, and Graham Neubig. 2019. Are sixteen heads really better than one? In Advances in Neural Information Processing Systems, volume 32. Curran Associates, Inc.",
|
| 838 |
+
"Alec Radford, Karthik Narasimhan, Tim Salimans, and Ilya Sutskever. 2018. Improving language understanding by generative pre-training.",
|
| 839 |
+
"Alec Radford, Jeff Wu, Rewon Child, David Luan, Dario Amodei, and Ilya Sutskever. 2019. Language models are unsupervised multitask learners.",
|
| 840 |
+
"Colin Raffel, Noam Shazeer, Adam Roberts, Katherine Lee, Sharan Narang, Michael Matena, Yanqi Zhou, Wei Li, and Peter J. Liu. 2019. Exploring the limits of transfer learning with a unified text-to-text transformer. CoRR, abs/1910.10683.",
|
| 841 |
+
"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.",
|
| 842 |
+
"Victor Sanh, Lysandre Debut, Julien Chaumont, and Thomas Wolf. 2019. Distilbert, a distilled version of BERT: smaller, faster, cheaper and lighter. CoRR, abs/1910.01108.",
|
| 843 |
+
"Victor Sanh, Thomas Wolf, and Alexander M. Rush. 2020. Movement pruning: Adaptive sparsity by fin-tuning. CoRR, abs/2005.07683.",
|
| 844 |
+
"Roy Schwartz, Gabriel Stanovsky, Swabha Swayamdipta, Jesse Dodge, and Noah A. Smith. 2020. The right tool for the job: Matching model and instance complexities. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pages 6640-6651, Online. Association for Computational Linguistics."
|
| 845 |
+
],
|
| 846 |
+
"bbox": [
|
| 847 |
+
510,
|
| 848 |
+
85,
|
| 849 |
+
882,
|
| 850 |
+
917
|
| 851 |
+
],
|
| 852 |
+
"page_idx": 5
|
| 853 |
+
},
|
| 854 |
+
{
|
| 855 |
+
"type": "page_number",
|
| 856 |
+
"text": "10524",
|
| 857 |
+
"bbox": [
|
| 858 |
+
477,
|
| 859 |
+
928,
|
| 860 |
+
524,
|
| 861 |
+
940
|
| 862 |
+
],
|
| 863 |
+
"page_idx": 5
|
| 864 |
+
},
|
| 865 |
+
{
|
| 866 |
+
"type": "list",
|
| 867 |
+
"sub_type": "ref_text",
|
| 868 |
+
"list_items": [
|
| 869 |
+
"Sheng Shen, Zhen Dong, Jiayu Ye, Linjian Ma, Zhewei Yao, Amir Gholami, Michael W. Mahoney, and Kurt Keutzer. 2019. Q-BERT: hessian based ultra low precision quantization of BERT. CoRR, abs/1909.05840.",
|
| 870 |
+
"Richard Socher, Alex Perelygin, Jean Wu, Jason Chuang, Christopher D. Manning, Andrew Ng, and Christopher Potts. 2013. Recursive deep models for semantic compositionality over a sentiment treebank. In Proceedings of the 2013 Conference on Empirical Methods in Natural Language Processing, pages 1631-1642, Seattle, Washington, USA. Association for Computational Linguistics.",
|
| 871 |
+
"Tianxiang Sun, Xiangyang Liu, Wei Zhu, Zhichao Geng, Lingling Wu, Yilong He, Yuan Ni, Guotong Xie, Xuanjing Huang, and Xipeng Qiu. 2022. A simple hash-based early exiting approach for language understanding and generation.",
|
| 872 |
+
"Zhiqing Sun, Hongkun Yu, Xiaodan Song, Renjie Liu, Yiming Yang, and Denny Zhou. 2020. MobileBERT: a compact task-agnostic BERT for resource-limited devices. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pages 2158-2170, Online. Association for Computational Linguistics.",
|
| 873 |
+
"Surat Teerapittayanon, Bradley McDanel, and H. T. Kung. 2017. Branchynet: Fast inference via early exiting from deep neural networks. CoRR, abs/1709.01686.",
|
| 874 |
+
"Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N Gomez, Lukasz Kaiser, and Illia Polosukhin. 2017. Attention is all you need. In Advances in Neural Information Processing Systems, volume 30. Curran Associates, Inc.",
|
| 875 |
+
"Elena Voita, David Talbot, Fedor Moiseev, Rico Senrich, and Ivan Titov. 2019. Analyzing multi-head self-attention: Specialized heads do the heavy lifting, the rest can be pruned.",
|
| 876 |
+
"Alex Wang, Amanpreet Singh, Julian Michael, Felix Hill, Omer Levy, and Samuel R. Bowman. 2018. GLUE: A multi-task benchmark and analysis platform for natural language understanding. CoRR, abs/1804.07461.",
|
| 877 |
+
"Zhiguo Wang, Wael Hamza, and Radu Florian. 2017. Bilateral multi-perspective matching for natural language sentences. CoRR, abs/1702.03814.",
|
| 878 |
+
"Alex Warstadt, Amanpreet Singh, and Samuel R. Bowman. 2019. Neural network acceptability judgments. Transactions of the Association for Computational Linguistics, 7:625-641.",
|
| 879 |
+
"Adina Williams, Nikita Nangia, and Samuel Bowman. 2018. A broad-coverage challenge corpus for sentence understanding through inference. In Proceedings of the 2018 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume"
|
| 880 |
+
],
|
| 881 |
+
"bbox": [
|
| 882 |
+
115,
|
| 883 |
+
85,
|
| 884 |
+
485,
|
| 885 |
+
917
|
| 886 |
+
],
|
| 887 |
+
"page_idx": 6
|
| 888 |
+
},
|
| 889 |
+
{
|
| 890 |
+
"type": "list",
|
| 891 |
+
"sub_type": "ref_text",
|
| 892 |
+
"list_items": [
|
| 893 |
+
"1 (Long Papers), pages 1112-1122, New Orleans, Louisiana. Association for Computational Linguistics.",
|
| 894 |
+
"Mengzhou Xia, Zexuan Zhong, and Danqi Chen. 2022. Structured pruning learns compact and accurate models.",
|
| 895 |
+
"Ji Xin, Raphael Tang, Jaejun Lee, Yaoliang Yu, and Jimmy Lin. 2020. DeeBERT: Dynamic early exiting for accelerating BERT inference. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pages 2246-2251, Online. Association for Computational Linguistics.",
|
| 896 |
+
"Ji Xin, Raphael Tang, Yaoliang Yu, and Jimmy Lin. 2021. BERxiT: Early exiting for BERT with better fine-tuning and extension to regression. In Proceedings of the 16th Conference of the European Chapter of the Association for Computational Linguistics: Main Volume, pages 91-104, Online. Association for Computational Linguistics.",
|
| 897 |
+
"Wangchunshu Zhou, Canwen Xu, Tao Ge, Julian McAuley, Ke Xu, and Furu Wei. 2020. Bert loses patience: Fast and robust inference with early exit. In Advances in Neural Information Processing Systems, volume 33, pages 18330-18341. Curran Associates, Inc."
|
| 898 |
+
],
|
| 899 |
+
"bbox": [
|
| 900 |
+
510,
|
| 901 |
+
85,
|
| 902 |
+
880,
|
| 903 |
+
453
|
| 904 |
+
],
|
| 905 |
+
"page_idx": 6
|
| 906 |
+
},
|
| 907 |
+
{
|
| 908 |
+
"type": "page_number",
|
| 909 |
+
"text": "10525",
|
| 910 |
+
"bbox": [
|
| 911 |
+
477,
|
| 912 |
+
928,
|
| 913 |
+
524,
|
| 914 |
+
940
|
| 915 |
+
],
|
| 916 |
+
"page_idx": 6
|
| 917 |
+
},
|
| 918 |
+
{
|
| 919 |
+
"type": "text",
|
| 920 |
+
"text": "A Background and Related Work",
|
| 921 |
+
"text_level": 1,
|
| 922 |
+
"bbox": [
|
| 923 |
+
114,
|
| 924 |
+
83,
|
| 925 |
+
421,
|
| 926 |
+
99
|
| 927 |
+
],
|
| 928 |
+
"page_idx": 7
|
| 929 |
+
},
|
| 930 |
+
{
|
| 931 |
+
"type": "text",
|
| 932 |
+
"text": "Efficient non-adaptive inference In the context of non-adaptive methods, numerous studies in the literature have improved the inference efficiency of transformers through various techniques such as knowledge distillation (Hinton et al., 2015) into smaller models (Sanh et al., 2019; Sun et al., 2020; Hou et al., 2020; Jiao et al., 2019), pruning unimportant weights of the model (Xia et al., 2022; Lagunas et al., 2021; Sanh et al., 2020; Liu et al., 2019b), and weight quantization (Shen et al., 2019; Kim et al., 2021) to store weights of a network with lower precision values. The aforementioned approaches result in smaller and more efficient albeit fixed and static models.",
|
| 933 |
+
"bbox": [
|
| 934 |
+
112,
|
| 935 |
+
110,
|
| 936 |
+
489,
|
| 937 |
+
335
|
| 938 |
+
],
|
| 939 |
+
"page_idx": 7
|
| 940 |
+
},
|
| 941 |
+
{
|
| 942 |
+
"type": "text",
|
| 943 |
+
"text": "Efficient adaptive inference. Another line of work have proposed adaptive inference methods that allow the network to allocate varying amounts of compute for each sample. The predominant technique in this area is early exiting via adding internal classifiers to intermediate layers (Schwartz et al., 2020; Kaya and Dumitras, 2018; Xin et al., 2020; Teerapittayanon et al., 2017; Zhou et al., 2020; Liu et al., 2020): To early exit, prior work either use the confidence score of internal classifiers' predictions (Schwartz et al., 2020; Xin et al., 2020); the entropy of these predictions (Liu et al., 2020); a module that predicts whether a layer should early exit or not (Xin et al., 2021); a patience based change in these internal prediction (Zhou et al., 2020); or a hash based mechanism to do token level early exiting (Sun et al., 2022).",
|
| 944 |
+
"bbox": [
|
| 945 |
+
115,
|
| 946 |
+
347,
|
| 947 |
+
489,
|
| 948 |
+
619
|
| 949 |
+
],
|
| 950 |
+
"page_idx": 7
|
| 951 |
+
},
|
| 952 |
+
{
|
| 953 |
+
"type": "text",
|
| 954 |
+
"text": "Devvrit et al. (2023) recently proposed Mat-Former that can enable adaptive compute based on the resource constraints but does not utilize dynamic token-based routing making SHARCS complementary to it.",
|
| 955 |
+
"bbox": [
|
| 956 |
+
112,
|
| 957 |
+
621,
|
| 958 |
+
489,
|
| 959 |
+
702
|
| 960 |
+
],
|
| 961 |
+
"page_idx": 7
|
| 962 |
+
},
|
| 963 |
+
{
|
| 964 |
+
"type": "text",
|
| 965 |
+
"text": "B Implementation Details",
|
| 966 |
+
"text_level": 1,
|
| 967 |
+
"bbox": [
|
| 968 |
+
114,
|
| 969 |
+
715,
|
| 970 |
+
356,
|
| 971 |
+
732
|
| 972 |
+
],
|
| 973 |
+
"page_idx": 7
|
| 974 |
+
},
|
| 975 |
+
{
|
| 976 |
+
"type": "text",
|
| 977 |
+
"text": "B.0.1 Transformer Networks",
|
| 978 |
+
"text_level": 1,
|
| 979 |
+
"bbox": [
|
| 980 |
+
114,
|
| 981 |
+
743,
|
| 982 |
+
357,
|
| 983 |
+
757
|
| 984 |
+
],
|
| 985 |
+
"page_idx": 7
|
| 986 |
+
},
|
| 987 |
+
{
|
| 988 |
+
"type": "text",
|
| 989 |
+
"text": "Transformer networks (Vaswani et al., 2017) are composed of a stack of $L$ layers and each layer has two main components: Multi-head attention (MHA) and Feed-forward network (FFN).",
|
| 990 |
+
"bbox": [
|
| 991 |
+
112,
|
| 992 |
+
763,
|
| 993 |
+
487,
|
| 994 |
+
827
|
| 995 |
+
],
|
| 996 |
+
"page_idx": 7
|
| 997 |
+
},
|
| 998 |
+
{
|
| 999 |
+
"type": "text",
|
| 1000 |
+
"text": "MHA consists of $n_h$ heads where each head computes the attention operation (Vaswani et al., 2017) on the projection of a sequence of $l$ tokens $x = (x_1, x_2, \\dots, x_l)$ into key, query, and values: $o_{\\mathrm{head}}^i = \\mathrm{Attention}(\\mathbf{W}_Kx, \\mathbf{W}_{\\mathbf{Q}}x, \\mathbf{W}_{\\mathbf{V}}x)$ , wherein",
|
| 1001 |
+
"bbox": [
|
| 1002 |
+
112,
|
| 1003 |
+
838,
|
| 1004 |
+
489,
|
| 1005 |
+
920
|
| 1006 |
+
],
|
| 1007 |
+
"page_idx": 7
|
| 1008 |
+
},
|
| 1009 |
+
{
|
| 1010 |
+
"type": "text",
|
| 1011 |
+
"text": "$1\\leq i\\leq H$ $o_{\\mathrm{head}}^i\\in \\mathbb{R}^{d_{\\mathrm{head}}}$ and $\\mathbf{W}_K,\\mathbf{W}_Q,\\mathbf{W}_V\\in$ $\\mathbb{R}^{d_{\\mathrm{model}}\\times d_{\\mathrm{head}}}$ are the key, query, and value projection matrices, and $d_{\\mathrm{head}} = d_{\\mathrm{model}} / n_h$ . The outputs from different heads are concatenated into $o_{\\mathrm{heads}}\\in \\mathbb{R}^{d_{\\mathrm{model}}}$ and projected with another matrix $\\mathbf{W}_O\\in \\mathbb{R}^{d_{\\mathrm{model}}\\times d_{\\mathrm{model}}}$ and passed through a layer norm (Ba et al., 2016) to get the output: $o_{\\mathrm{MHA}} = \\mathrm{LayerNorm}(x + \\mathbf{W}_o o_{\\mathrm{heads}})$",
|
| 1012 |
+
"bbox": [
|
| 1013 |
+
507,
|
| 1014 |
+
83,
|
| 1015 |
+
885,
|
| 1016 |
+
214
|
| 1017 |
+
],
|
| 1018 |
+
"page_idx": 7
|
| 1019 |
+
},
|
| 1020 |
+
{
|
| 1021 |
+
"type": "text",
|
| 1022 |
+
"text": "FFN consists of two feed-forward layers $W_{1}$ and $W_{2}$ with GeLU (Hendrycks and Gimpel, 2016) non-linearity and takes the output of MHA module and computes LayerNorm $(o_{\\mathrm{MHA}} + \\mathrm{GeLU}(\\mathbf{W}_1 o_{\\mathrm{MHA}}) \\mathbf{W}_2)$ .",
|
| 1023 |
+
"bbox": [
|
| 1024 |
+
507,
|
| 1025 |
+
224,
|
| 1026 |
+
885,
|
| 1027 |
+
305
|
| 1028 |
+
],
|
| 1029 |
+
"page_idx": 7
|
| 1030 |
+
},
|
| 1031 |
+
{
|
| 1032 |
+
"type": "text",
|
| 1033 |
+
"text": "B.0.2 Reducing Width of a Transformer Layer",
|
| 1034 |
+
"text_level": 1,
|
| 1035 |
+
"bbox": [
|
| 1036 |
+
507,
|
| 1037 |
+
317,
|
| 1038 |
+
840,
|
| 1039 |
+
349
|
| 1040 |
+
],
|
| 1041 |
+
"page_idx": 7
|
| 1042 |
+
},
|
| 1043 |
+
{
|
| 1044 |
+
"type": "text",
|
| 1045 |
+
"text": "Figure 3 illustrates our approach in reducing the capacity of a transformer network based on the given reduction factor. We leave the first $K$ layers (aka non-adaptive module) of the model intact, where $K$ is a hyperparameter. Given an input sequence $x$ , after computing the intermediate representation $h \\in \\mathbb{R}^{l \\times d_{\\mathrm{model}}}$ by the non-adaptive module, and the reduction factor $r$ by the router, we reduce the width of different components which we will describe in detail next.",
|
| 1046 |
+
"bbox": [
|
| 1047 |
+
507,
|
| 1048 |
+
353,
|
| 1049 |
+
885,
|
| 1050 |
+
513
|
| 1051 |
+
],
|
| 1052 |
+
"page_idx": 7
|
| 1053 |
+
},
|
| 1054 |
+
{
|
| 1055 |
+
"type": "text",
|
| 1056 |
+
"text": "Before passing $h$ to adaptive layers, we pass it through a pooler module that reduces its dimensionality to $d_{\\mathrm{model}} \\times r$ . For example, if $d_{\\mathrm{model}} = 768$ and $r = 0.25$ , the input to the adaptive module will be 192 dimensional. Although we experimented with affine transformations for the pooler, in practice we observed that a simpler pooling operation such as selecting just the first $d_{\\mathrm{model}} \\times r$ dimensions works as good. Therefore, as this pooler is simpler and importantly adds no extra FLOPs to inference, we opted for that. For the unpooler, we used an affine transformation that transforms the hidden state with reduced dimensionality (i.e. $r \\cdot d_{\\mathrm{model}}$ ) to $d_{\\mathrm{model}}$ . Note that for the unpooler layer, the dimensionality of the input can change while the output dimensionality is always $d_{\\mathrm{model}}$ .",
|
| 1057 |
+
"bbox": [
|
| 1058 |
+
507,
|
| 1059 |
+
514,
|
| 1060 |
+
885,
|
| 1061 |
+
772
|
| 1062 |
+
],
|
| 1063 |
+
"page_idx": 7
|
| 1064 |
+
},
|
| 1065 |
+
{
|
| 1066 |
+
"type": "text",
|
| 1067 |
+
"text": "Throughout this paper, whenever we decrease a dimension of a component (e.g. input vectors or weights) from $d$ to $d'$ , we exclusively use the first $d'$ dimensions and disregards the remainder in the computations. This is illustrated schematically in Figure 4 for FFN and MHA components in transformer models.",
|
| 1068 |
+
"bbox": [
|
| 1069 |
+
507,
|
| 1070 |
+
772,
|
| 1071 |
+
885,
|
| 1072 |
+
884
|
| 1073 |
+
],
|
| 1074 |
+
"page_idx": 7
|
| 1075 |
+
},
|
| 1076 |
+
{
|
| 1077 |
+
"type": "text",
|
| 1078 |
+
"text": "In what follows we describe how we reduce the width of different components by the reduction",
|
| 1079 |
+
"bbox": [
|
| 1080 |
+
507,
|
| 1081 |
+
887,
|
| 1082 |
+
882,
|
| 1083 |
+
917
|
| 1084 |
+
],
|
| 1085 |
+
"page_idx": 7
|
| 1086 |
+
},
|
| 1087 |
+
{
|
| 1088 |
+
"type": "page_number",
|
| 1089 |
+
"text": "10526",
|
| 1090 |
+
"bbox": [
|
| 1091 |
+
477,
|
| 1092 |
+
927,
|
| 1093 |
+
524,
|
| 1094 |
+
940
|
| 1095 |
+
],
|
| 1096 |
+
"page_idx": 7
|
| 1097 |
+
},
|
| 1098 |
+
{
|
| 1099 |
+
"type": "image",
|
| 1100 |
+
"img_path": "images/9a44d48560b2ec04290012b686de013f6a6be101ecc6da65272120d543326732.jpg",
|
| 1101 |
+
"image_caption": [
|
| 1102 |
+
"Figure 3: Detailed schematic of reducing with of different components in a transformer model based on the prediction of the router."
|
| 1103 |
+
],
|
| 1104 |
+
"image_footnote": [],
|
| 1105 |
+
"bbox": [
|
| 1106 |
+
115,
|
| 1107 |
+
80,
|
| 1108 |
+
485,
|
| 1109 |
+
506
|
| 1110 |
+
],
|
| 1111 |
+
"page_idx": 8
|
| 1112 |
+
},
|
| 1113 |
+
{
|
| 1114 |
+
"type": "text",
|
| 1115 |
+
"text": "factor $r$ which is also depicted in detail in Figure 3.",
|
| 1116 |
+
"bbox": [
|
| 1117 |
+
112,
|
| 1118 |
+
583,
|
| 1119 |
+
487,
|
| 1120 |
+
600
|
| 1121 |
+
],
|
| 1122 |
+
"page_idx": 8
|
| 1123 |
+
},
|
| 1124 |
+
{
|
| 1125 |
+
"type": "text",
|
| 1126 |
+
"text": "Reducing MHA Width. We reduce the width of MHA using the following steps:",
|
| 1127 |
+
"bbox": [
|
| 1128 |
+
112,
|
| 1129 |
+
611,
|
| 1130 |
+
487,
|
| 1131 |
+
643
|
| 1132 |
+
],
|
| 1133 |
+
"page_idx": 8
|
| 1134 |
+
},
|
| 1135 |
+
{
|
| 1136 |
+
"type": "list",
|
| 1137 |
+
"sub_type": "text",
|
| 1138 |
+
"list_items": [
|
| 1139 |
+
"1. The input dimension $d_{\\mathrm{model}}$ of self-attention projection matrices $\\mathbf{W}_K$ , $\\mathbf{W}_Q$ , and $\\mathbf{W}_v$ is decreased to $d_{\\mathrm{model}} \\cdot r$ . We do not change the output dimension $d_{\\mathrm{head}}$ of the linear projections.",
|
| 1140 |
+
"2. The adaptive module only computes the output of the first $n_h \\cdot r$ heads and disregards the other heads. Therefore the dimensionality of $o_{\\mathrm{heads}}$ is decreased to $d_{\\mathrm{model}} \\cdot r$ . Note that we could also reduce the dimensionality of each head instead, however, we built on previous findings in the literature that many of the heads in transformers are redundant and can be pruned without hurting the performance (Michel et al., 2019; Voita et al., 2019).",
|
| 1141 |
+
"3. For the output projection $\\mathbf{W}_o$ of MHA, the input and output dimensions, which are both equal to $d_{\\mathrm{model}}$ , are reduced to $d_{\\mathrm{model}}\\cdot r$ ."
|
| 1142 |
+
],
|
| 1143 |
+
"bbox": [
|
| 1144 |
+
112,
|
| 1145 |
+
644,
|
| 1146 |
+
487,
|
| 1147 |
+
901
|
| 1148 |
+
],
|
| 1149 |
+
"page_idx": 8
|
| 1150 |
+
},
|
| 1151 |
+
{
|
| 1152 |
+
"type": "text",
|
| 1153 |
+
"text": "Throughout all the changes above, we do not",
|
| 1154 |
+
"bbox": [
|
| 1155 |
+
131,
|
| 1156 |
+
903,
|
| 1157 |
+
487,
|
| 1158 |
+
917
|
| 1159 |
+
],
|
| 1160 |
+
"page_idx": 8
|
| 1161 |
+
},
|
| 1162 |
+
{
|
| 1163 |
+
"type": "text",
|
| 1164 |
+
"text": "alter the sequence length of the input (i.e. $l$ ) or any of the hidden states.",
|
| 1165 |
+
"bbox": [
|
| 1166 |
+
507,
|
| 1167 |
+
84,
|
| 1168 |
+
882,
|
| 1169 |
+
115
|
| 1170 |
+
],
|
| 1171 |
+
"page_idx": 8
|
| 1172 |
+
},
|
| 1173 |
+
{
|
| 1174 |
+
"type": "text",
|
| 1175 |
+
"text": "Reducing FFN width. Similar to the output projection $\\mathbf{W}_o$ of MHA, the input and output dimensions of the feed-forward layers W1 and W2 in the FFN are reduced by a factor of $1 / r$ . Therefore, the output dimension of all the adaptive layers are reduced by a factor of $r$ to $D_{\\mathrm{model}}\\times r$ .",
|
| 1176 |
+
"bbox": [
|
| 1177 |
+
507,
|
| 1178 |
+
124,
|
| 1179 |
+
884,
|
| 1180 |
+
219
|
| 1181 |
+
],
|
| 1182 |
+
"page_idx": 8
|
| 1183 |
+
},
|
| 1184 |
+
{
|
| 1185 |
+
"type": "text",
|
| 1186 |
+
"text": "It is important to note that majority of operations in FFN and MHA components are comprised of matrix multiplications and reducing the input and output dimensions of these multiplications by a factor of $r_j$ will reduce their flops by a factor of $r_j^2$ .",
|
| 1187 |
+
"bbox": [
|
| 1188 |
+
507,
|
| 1189 |
+
221,
|
| 1190 |
+
882,
|
| 1191 |
+
305
|
| 1192 |
+
],
|
| 1193 |
+
"page_idx": 8
|
| 1194 |
+
},
|
| 1195 |
+
{
|
| 1196 |
+
"type": "text",
|
| 1197 |
+
"text": "Reducing layernorms width. We also reduce the width of the layer norm parameters by a factor of $r$ . In our experiments, we find it beneficial to initialize the layernorm parameters with the corresponding first dimensions of original layernorm parameters instead of training them from scratch.",
|
| 1198 |
+
"bbox": [
|
| 1199 |
+
507,
|
| 1200 |
+
309,
|
| 1201 |
+
882,
|
| 1202 |
+
405
|
| 1203 |
+
],
|
| 1204 |
+
"page_idx": 8
|
| 1205 |
+
},
|
| 1206 |
+
{
|
| 1207 |
+
"type": "text",
|
| 1208 |
+
"text": "B.0.3 Inference",
|
| 1209 |
+
"text_level": 1,
|
| 1210 |
+
"bbox": [
|
| 1211 |
+
509,
|
| 1212 |
+
414,
|
| 1213 |
+
648,
|
| 1214 |
+
428
|
| 1215 |
+
],
|
| 1216 |
+
"page_idx": 8
|
| 1217 |
+
},
|
| 1218 |
+
{
|
| 1219 |
+
"type": "text",
|
| 1220 |
+
"text": "In contrast to training where the width of the adaptive layers doing forward pass is enforced by the router labels, at inference, the router predicts the reduction factor. More formally, given the input sample $x$ and router logits $\\hat{W} \\in \\mathbb{R}^{M}$ , we select the reduction factor $r_j$ to do the forward pass where $j$ is $\\arg \\max (\\hat{W})$ .",
|
| 1221 |
+
"bbox": [
|
| 1222 |
+
507,
|
| 1223 |
+
432,
|
| 1224 |
+
882,
|
| 1225 |
+
546
|
| 1226 |
+
],
|
| 1227 |
+
"page_idx": 8
|
| 1228 |
+
},
|
| 1229 |
+
{
|
| 1230 |
+
"type": "text",
|
| 1231 |
+
"text": "C Training Details",
|
| 1232 |
+
"text_level": 1,
|
| 1233 |
+
"bbox": [
|
| 1234 |
+
507,
|
| 1235 |
+
556,
|
| 1236 |
+
690,
|
| 1237 |
+
573
|
| 1238 |
+
],
|
| 1239 |
+
"page_idx": 8
|
| 1240 |
+
},
|
| 1241 |
+
{
|
| 1242 |
+
"type": "text",
|
| 1243 |
+
"text": "Similar to (Hou et al., 2020), we reorder the heads based on their importance before fine-tuning on the down-stream task. We set $\\lambda_{task}$ to 1 and $\\lambda_{routert}$ to 0.5 in our approach and use a set of two reduction factors $\\{0.25,1.0\\}$ . We choose the batch size in $\\{16,32\\}$ depending on the model and dataset. We do a grid search over the lower and upper bound on the confidence thresholds and do the forward pass of each reduction factor on a separate GPU. We choose the window size values in $\\{3,5\\}$ . We set $\\lambda_{task}$ to 1 and $\\lambda_{routert}$ to 0.5 in our approach and use a set of two reduction factors $\\{0.25,1.0\\}$ . We do a grid search over the lower and upper bound on the confidence thresholds and the hyperparameters of the baselines and do the forward pass of each reduction factor on a separate GPU. Similar to previous work (Hou et al., 2020), we pad the input sequences in a batch to 128 tokens while training. To train SHARCS with Transkimer on RoBERTa, we first train RoBERTa + Transkimmer with skim coefficient of 0.3. We then start from this model as",
|
| 1244 |
+
"bbox": [
|
| 1245 |
+
507,
|
| 1246 |
+
581,
|
| 1247 |
+
882,
|
| 1248 |
+
917
|
| 1249 |
+
],
|
| 1250 |
+
"page_idx": 8
|
| 1251 |
+
},
|
| 1252 |
+
{
|
| 1253 |
+
"type": "page_number",
|
| 1254 |
+
"text": "10527",
|
| 1255 |
+
"bbox": [
|
| 1256 |
+
477,
|
| 1257 |
+
927,
|
| 1258 |
+
524,
|
| 1259 |
+
940
|
| 1260 |
+
],
|
| 1261 |
+
"page_idx": 8
|
| 1262 |
+
},
|
| 1263 |
+
{
|
| 1264 |
+
"type": "image",
|
| 1265 |
+
"img_path": "images/05e9e082825ff27a58464e01a82590a852dd5999f580000d2f9bf1503f0add7a.jpg",
|
| 1266 |
+
"image_caption": [
|
| 1267 |
+
"(a) FFN"
|
| 1268 |
+
],
|
| 1269 |
+
"image_footnote": [],
|
| 1270 |
+
"bbox": [
|
| 1271 |
+
201,
|
| 1272 |
+
99,
|
| 1273 |
+
478,
|
| 1274 |
+
288
|
| 1275 |
+
],
|
| 1276 |
+
"page_idx": 9
|
| 1277 |
+
},
|
| 1278 |
+
{
|
| 1279 |
+
"type": "image",
|
| 1280 |
+
"img_path": "images/c57f8a98286552dc41e1d74aac8529252e487827100efada3cf742fd610c7c07.jpg",
|
| 1281 |
+
"image_caption": [
|
| 1282 |
+
"(b) MHA"
|
| 1283 |
+
],
|
| 1284 |
+
"image_footnote": [],
|
| 1285 |
+
"bbox": [
|
| 1286 |
+
500,
|
| 1287 |
+
99,
|
| 1288 |
+
796,
|
| 1289 |
+
290
|
| 1290 |
+
],
|
| 1291 |
+
"page_idx": 9
|
| 1292 |
+
},
|
| 1293 |
+
{
|
| 1294 |
+
"type": "text",
|
| 1295 |
+
"text": "an initial checkpoint and train for 10 epochs using both our loss and Transkimmer loss. Here, training the router is done with with 0.25 and 1.0 as reduction factors.",
|
| 1296 |
+
"bbox": [
|
| 1297 |
+
112,
|
| 1298 |
+
368,
|
| 1299 |
+
487,
|
| 1300 |
+
431
|
| 1301 |
+
],
|
| 1302 |
+
"page_idx": 9
|
| 1303 |
+
},
|
| 1304 |
+
{
|
| 1305 |
+
"type": "text",
|
| 1306 |
+
"text": "D Results Details",
|
| 1307 |
+
"text_level": 1,
|
| 1308 |
+
"bbox": [
|
| 1309 |
+
112,
|
| 1310 |
+
450,
|
| 1311 |
+
280,
|
| 1312 |
+
464
|
| 1313 |
+
],
|
| 1314 |
+
"page_idx": 9
|
| 1315 |
+
},
|
| 1316 |
+
{
|
| 1317 |
+
"type": "text",
|
| 1318 |
+
"text": "D.0.1 GLUE Results",
|
| 1319 |
+
"text_level": 1,
|
| 1320 |
+
"bbox": [
|
| 1321 |
+
112,
|
| 1322 |
+
481,
|
| 1323 |
+
292,
|
| 1324 |
+
494
|
| 1325 |
+
],
|
| 1326 |
+
"page_idx": 9
|
| 1327 |
+
},
|
| 1328 |
+
{
|
| 1329 |
+
"type": "text",
|
| 1330 |
+
"text": "We do a thorough hyperparameter search with different sample adaptive inference methods to get the accuracy of the RoBERTa $_{\\text{base}}$ model across different FLOPs values. We report the total number of FLOPs on the validation set and do not pad the input sequences before feeding to the model. Figure 12 shows the plots for 8 of the sub-tasks in the GLUE benchmark.",
|
| 1331 |
+
"bbox": [
|
| 1332 |
+
112,
|
| 1333 |
+
504,
|
| 1334 |
+
489,
|
| 1335 |
+
632
|
| 1336 |
+
],
|
| 1337 |
+
"page_idx": 9
|
| 1338 |
+
},
|
| 1339 |
+
{
|
| 1340 |
+
"type": "text",
|
| 1341 |
+
"text": "D.0.2 Different Backbone Results",
|
| 1342 |
+
"text_level": 1,
|
| 1343 |
+
"bbox": [
|
| 1344 |
+
112,
|
| 1345 |
+
648,
|
| 1346 |
+
393,
|
| 1347 |
+
662
|
| 1348 |
+
],
|
| 1349 |
+
"page_idx": 9
|
| 1350 |
+
},
|
| 1351 |
+
{
|
| 1352 |
+
"type": "text",
|
| 1353 |
+
"text": "Table 5 shows the comparison of different sample adaptive inference methods applied to different backbones.",
|
| 1354 |
+
"bbox": [
|
| 1355 |
+
112,
|
| 1356 |
+
671,
|
| 1357 |
+
487,
|
| 1358 |
+
717
|
| 1359 |
+
],
|
| 1360 |
+
"page_idx": 9
|
| 1361 |
+
},
|
| 1362 |
+
{
|
| 1363 |
+
"type": "text",
|
| 1364 |
+
"text": "E Ablations and Discussion",
|
| 1365 |
+
"text_level": 1,
|
| 1366 |
+
"bbox": [
|
| 1367 |
+
112,
|
| 1368 |
+
737,
|
| 1369 |
+
369,
|
| 1370 |
+
752
|
| 1371 |
+
],
|
| 1372 |
+
"page_idx": 9
|
| 1373 |
+
},
|
| 1374 |
+
{
|
| 1375 |
+
"type": "text",
|
| 1376 |
+
"text": "E.0.1 Router Ablation",
|
| 1377 |
+
"text_level": 1,
|
| 1378 |
+
"bbox": [
|
| 1379 |
+
112,
|
| 1380 |
+
766,
|
| 1381 |
+
305,
|
| 1382 |
+
781
|
| 1383 |
+
],
|
| 1384 |
+
"page_idx": 9
|
| 1385 |
+
},
|
| 1386 |
+
{
|
| 1387 |
+
"type": "text",
|
| 1388 |
+
"text": "Figure 5 shows the accuracy FLOPs plot for two methods: 1) The router introduced in SHARCS with adaptive width sub-networks. 2) A router similar to the early-exiting router used in BERxiT (Xin et al., 2021) with adaptive-width sub-networks. We report the AUC for a similar range of FLOPs for both methods and scale the accuracy and FLOPs values to [0, 1].",
|
| 1389 |
+
"bbox": [
|
| 1390 |
+
112,
|
| 1391 |
+
790,
|
| 1392 |
+
487,
|
| 1393 |
+
919
|
| 1394 |
+
],
|
| 1395 |
+
"page_idx": 9
|
| 1396 |
+
},
|
| 1397 |
+
{
|
| 1398 |
+
"type": "image",
|
| 1399 |
+
"img_path": "images/4a34ba4ad53d34380a5d75e19b2fb8c1eeb4b0f2187b01e7bc54be9532d3a9e5.jpg",
|
| 1400 |
+
"image_caption": [
|
| 1401 |
+
"Figure 4: Reducing the width of FFN and MHA in adaptive layers.",
|
| 1402 |
+
"Figure 5: Accuracy vs. FLOPs plot for Adaptive width sub-networks trained with SHARCS router (orange) and BERxiT (Xin et al., 2021) router (blue)."
|
| 1403 |
+
],
|
| 1404 |
+
"image_footnote": [],
|
| 1405 |
+
"bbox": [
|
| 1406 |
+
526,
|
| 1407 |
+
394,
|
| 1408 |
+
848,
|
| 1409 |
+
614
|
| 1410 |
+
],
|
| 1411 |
+
"page_idx": 9
|
| 1412 |
+
},
|
| 1413 |
+
{
|
| 1414 |
+
"type": "text",
|
| 1415 |
+
"text": "E.0.2 Number of Reduction Factors",
|
| 1416 |
+
"text_level": 1,
|
| 1417 |
+
"bbox": [
|
| 1418 |
+
507,
|
| 1419 |
+
714,
|
| 1420 |
+
806,
|
| 1421 |
+
728
|
| 1422 |
+
],
|
| 1423 |
+
"page_idx": 9
|
| 1424 |
+
},
|
| 1425 |
+
{
|
| 1426 |
+
"type": "text",
|
| 1427 |
+
"text": "We change the number of reduction factors (or hardness levels) $M$ to three and four and use the reduction factors $\\{0.25, 0.5, 1.0\\}$ and $\\{0.25, 0.5, 0.75, 1.0\\}$ respectively. Figure 6 shows the results of changing the number of reduction factors with $\\mathrm{RoBERTa_{base}}$ model on MNLI-m dataset. The model trained with two reduction factors outperform the other cases for FLOPs values above 15 teraFLOPs significantly and four reduction factors can get better results in the range of 10-15 Tera FLOPs.",
|
| 1428 |
+
"bbox": [
|
| 1429 |
+
507,
|
| 1430 |
+
741,
|
| 1431 |
+
882,
|
| 1432 |
+
917
|
| 1433 |
+
],
|
| 1434 |
+
"page_idx": 9
|
| 1435 |
+
},
|
| 1436 |
+
{
|
| 1437 |
+
"type": "page_number",
|
| 1438 |
+
"text": "10528",
|
| 1439 |
+
"bbox": [
|
| 1440 |
+
477,
|
| 1441 |
+
927,
|
| 1442 |
+
524,
|
| 1443 |
+
940
|
| 1444 |
+
],
|
| 1445 |
+
"page_idx": 9
|
| 1446 |
+
},
|
| 1447 |
+
{
|
| 1448 |
+
"type": "table",
|
| 1449 |
+
"img_path": "images/c31d869e3f80b7ce895fbb7bb614b6f941e09dfd5c96fae6f5e571b76d205c18.jpg",
|
| 1450 |
+
"table_caption": [
|
| 1451 |
+
"Table 5: Comparison of different adaptive inference methods on MNLI-m dataset for different FLOP ranges."
|
| 1452 |
+
],
|
| 1453 |
+
"table_footnote": [],
|
| 1454 |
+
"table_body": "<table><tr><td rowspan=\"2\">FLOPs range (Tera Flops)</td><td colspan=\"2\">RTJ</td><td colspan=\"2\">DeeBERT</td><td colspan=\"2\">PABEE</td><td colspan=\"2\">FastBERT</td><td colspan=\"2\">BERxiT</td><td colspan=\"2\">SHARCS</td></tr><tr><td>Acc. ↑</td><td>FLOPs ↓</td><td>Acc.</td><td>FLOPs</td><td>Acc.</td><td>FLOPs</td><td>Acc.</td><td>FLOPs</td><td>Acc.</td><td>FLOPs</td><td>Acc.</td><td>FLOPs</td></tr><tr><td colspan=\"13\">Roberta (Acc: 87.6, FLOPs: 33.5)</td></tr><tr><td>0-10</td><td>54.27</td><td>9.59</td><td>61.83</td><td>9.56</td><td>53.98</td><td>8.53</td><td>45.39</td><td>2.84</td><td>53.69</td><td>8.41</td><td>76.37</td><td>4.91</td></tr><tr><td>10-20</td><td>82.29</td><td>19.77</td><td>77.18</td><td>19.80</td><td>84.19</td><td>18</td><td>59.79</td><td>15.06</td><td>83.39</td><td>19.91</td><td>85.93</td><td>17.92</td></tr><tr><td>20-30</td><td>86.92</td><td>25.76</td><td>81.35</td><td>23.67</td><td>87.53</td><td>29.86</td><td>77.24</td><td>29.95</td><td>87.23</td><td>27.92</td><td>87.38</td><td>28.35</td></tr><tr><td colspan=\"13\">BERT (Acc: 84.8, FLOPs: 33)</td></tr><tr><td>0-10</td><td>47.32</td><td>9.46</td><td>42.32</td><td>9.97</td><td>42.97</td><td>7.51</td><td>48.87</td><td>8.76</td><td>46.86</td><td>9.88</td><td>72.7</td><td>8.94</td></tr><tr><td>10-20</td><td>58.12</td><td>15.61</td><td>61.57</td><td>19.89</td><td>66.33</td><td>17.29</td><td>70.25</td><td>19.18</td><td>72.50</td><td>19.99</td><td>81.61</td><td>16.73</td></tr><tr><td>20-30</td><td>78.96</td><td>28.53</td><td>80.57</td><td>29.34</td><td>81.13</td><td>27.66</td><td>83.27</td><td>27.99</td><td>80.82</td><td>25.73</td><td>83.04</td><td>22.76</td></tr><tr><td colspan=\"13\">DistilBERT (Acc: 82.2, FLOPs: 16.57)</td></tr><tr><td>0-5</td><td>41.92</td><td>2.76</td><td>43.98</td><td>2.76</td><td>41.45</td><td>2.76</td><td>48.87</td><td>4.7</td><td>41.47</td><td>4.07</td><td>64.72</td><td>3.80</td></tr><tr><td>5-10</td><td>52.72</td><td>9.56</td><td>59.87</td><td>9.45</td><td>64.44</td><td>9.95</td><td>64.24</td><td>9.76</td><td>55.10</td><td>9.76</td><td>76.02</td><td>8.87</td></tr><tr><td>10-15</td><td>72.93</td><td>13.90</td><td>80.38</td><td>14.91</td><td>79.29</td><td>14.12</td><td>79.72</td><td>14.84</td><td>60.25</td><td>11.68</td><td>81.61</td><td>14.39</td></tr><tr><td colspan=\"13\">DynaBERT 0.25 width (Acc: 83.9, FLOPs: 8.26)</td></tr><tr><td>0-4</td><td>60.95</td><td>3.98</td><td>56.13</td><td>3.38</td><td>56.09</td><td>3.97</td><td>65.61</td><td>3.78</td><td>56.19</td><td>3.58</td><td>78.92</td><td>3.99</td></tr><tr><td>4-6</td><td>74.55</td><td>5.82</td><td>75.26</td><td>5.62</td><td>69.81</td><td>5.93</td><td>76.01</td><td>5.42</td><td>-</td><td>-</td><td>81.48</td><td>5.21</td></tr><tr><td>6-8</td><td>83.43</td><td>7.70</td><td>83.36</td><td>7.70</td><td>81.31</td><td>7.87</td><td>83.86</td><td>7.92</td><td>83.08</td><td>7.60</td><td>83.40</td><td>7.33</td></tr></table>",
|
| 1455 |
+
"bbox": [
|
| 1456 |
+
114,
|
| 1457 |
+
107,
|
| 1458 |
+
895,
|
| 1459 |
+
331
|
| 1460 |
+
],
|
| 1461 |
+
"page_idx": 10
|
| 1462 |
+
},
|
| 1463 |
+
{
|
| 1464 |
+
"type": "image",
|
| 1465 |
+
"img_path": "images/a16e1f8928a4e2cf5c603b9ce28b863736461b63322287c25996ec6bb1f1284b.jpg",
|
| 1466 |
+
"image_caption": [
|
| 1467 |
+
"Figure 6: Results of different number of sub-networks (or reduction factors) with RoBERTa $_{\\text{base}}$ model on MNLI-m."
|
| 1468 |
+
],
|
| 1469 |
+
"image_footnote": [],
|
| 1470 |
+
"bbox": [
|
| 1471 |
+
164,
|
| 1472 |
+
374,
|
| 1473 |
+
423,
|
| 1474 |
+
549
|
| 1475 |
+
],
|
| 1476 |
+
"page_idx": 10
|
| 1477 |
+
},
|
| 1478 |
+
{
|
| 1479 |
+
"type": "text",
|
| 1480 |
+
"text": "E.0.3 Confidence Thresholds",
|
| 1481 |
+
"text_level": 1,
|
| 1482 |
+
"bbox": [
|
| 1483 |
+
112,
|
| 1484 |
+
648,
|
| 1485 |
+
357,
|
| 1486 |
+
662
|
| 1487 |
+
],
|
| 1488 |
+
"page_idx": 10
|
| 1489 |
+
},
|
| 1490 |
+
{
|
| 1491 |
+
"type": "text",
|
| 1492 |
+
"text": "We study the effect of changing confidence thresholds on our results with a simple experiment: With two reduction factors $\\{0.25, 1.0\\}$ we use the following confidence score lower and upper bounds: $[0.0, x]$ for full network and $[x, 1.0]$ for 0.25 network, where $x \\in \\{0.5, 0.7, 0.9\\}$ . We place the router after layer 1 (i.e. $K = 1$ ). Figure 7 shows the results of RoBERTa<sub>base</sub> model on MNLI-m dataset. According to the figure, higher value of $x$ leads to better accuracies for a fixed number of FLOPs. Furthermore, as we decrease $x$ , we can reach lower values of FLOPs. This is intuitive as decreasing the lower bound of smallest reduction factor makes more samples be routed to that which reduces the overall FLOPs.",
|
| 1493 |
+
"bbox": [
|
| 1494 |
+
112,
|
| 1495 |
+
677,
|
| 1496 |
+
489,
|
| 1497 |
+
917
|
| 1498 |
+
],
|
| 1499 |
+
"page_idx": 10
|
| 1500 |
+
},
|
| 1501 |
+
{
|
| 1502 |
+
"type": "image",
|
| 1503 |
+
"img_path": "images/1b8379324c27338c0d17ca4a3b8eb69621907d6b1a92828f5fd967191e081341.jpg",
|
| 1504 |
+
"image_caption": [
|
| 1505 |
+
"Figure 7: Results of changing confidence thresholds with RoBERTabase model on MNLI-m dataset. We use reduction factors $\\{0.25,1.0\\}$ and confidence thresholds $[0,x]$ for reduction factor 0.25 and confidence thresholds $[x,1]$ for reduction factor 1, where $x\\in$ $\\{0.5,0.7,0.9\\}$ ."
|
| 1506 |
+
],
|
| 1507 |
+
"image_footnote": [],
|
| 1508 |
+
"bbox": [
|
| 1509 |
+
559,
|
| 1510 |
+
374,
|
| 1511 |
+
820,
|
| 1512 |
+
549
|
| 1513 |
+
],
|
| 1514 |
+
"page_idx": 10
|
| 1515 |
+
},
|
| 1516 |
+
{
|
| 1517 |
+
"type": "text",
|
| 1518 |
+
"text": "E.0.4 Using Entropy or Confidence-based Hardness Labels to Train Router",
|
| 1519 |
+
"text_level": 1,
|
| 1520 |
+
"bbox": [
|
| 1521 |
+
507,
|
| 1522 |
+
683,
|
| 1523 |
+
853,
|
| 1524 |
+
713
|
| 1525 |
+
],
|
| 1526 |
+
"page_idx": 10
|
| 1527 |
+
},
|
| 1528 |
+
{
|
| 1529 |
+
"type": "text",
|
| 1530 |
+
"text": "Similar to sample adaptive inference in early exiting methods (Xin et al., 2020; Liu et al., 2020), one can get hardness labels by defining thresholds on entropy of the network predictions instead of the confidence. We use the following formula to compute the entropy of network's prediction:",
|
| 1531 |
+
"bbox": [
|
| 1532 |
+
507,
|
| 1533 |
+
719,
|
| 1534 |
+
884,
|
| 1535 |
+
816
|
| 1536 |
+
],
|
| 1537 |
+
"page_idx": 10
|
| 1538 |
+
},
|
| 1539 |
+
{
|
| 1540 |
+
"type": "equation",
|
| 1541 |
+
"text": "\n$$\nH = - \\sum_ {i = 1} ^ {C} p _ {i} \\cdot \\log p _ {i},\n$$\n",
|
| 1542 |
+
"text_format": "latex",
|
| 1543 |
+
"bbox": [
|
| 1544 |
+
611,
|
| 1545 |
+
831,
|
| 1546 |
+
779,
|
| 1547 |
+
873
|
| 1548 |
+
],
|
| 1549 |
+
"page_idx": 10
|
| 1550 |
+
},
|
| 1551 |
+
{
|
| 1552 |
+
"type": "text",
|
| 1553 |
+
"text": "wherein $C$ denotes the number of classes of the classifier, and $p_i$ is the softmax probability that the",
|
| 1554 |
+
"bbox": [
|
| 1555 |
+
507,
|
| 1556 |
+
887,
|
| 1557 |
+
882,
|
| 1558 |
+
917
|
| 1559 |
+
],
|
| 1560 |
+
"page_idx": 10
|
| 1561 |
+
},
|
| 1562 |
+
{
|
| 1563 |
+
"type": "page_number",
|
| 1564 |
+
"text": "10529",
|
| 1565 |
+
"bbox": [
|
| 1566 |
+
477,
|
| 1567 |
+
927,
|
| 1568 |
+
524,
|
| 1569 |
+
940
|
| 1570 |
+
],
|
| 1571 |
+
"page_idx": 10
|
| 1572 |
+
},
|
| 1573 |
+
{
|
| 1574 |
+
"type": "image",
|
| 1575 |
+
"img_path": "images/89adfb1b376e0587f7131ba35925fe1396b504148361c8dfd383df6566cde0b3.jpg",
|
| 1576 |
+
"image_caption": [
|
| 1577 |
+
"Figure 8: Comparing entropy and confidence based hardness labels for training the router."
|
| 1578 |
+
],
|
| 1579 |
+
"image_footnote": [],
|
| 1580 |
+
"bbox": [
|
| 1581 |
+
132,
|
| 1582 |
+
111,
|
| 1583 |
+
453,
|
| 1584 |
+
331
|
| 1585 |
+
],
|
| 1586 |
+
"page_idx": 11
|
| 1587 |
+
},
|
| 1588 |
+
{
|
| 1589 |
+
"type": "image",
|
| 1590 |
+
"img_path": "images/e4bebf2b1a74074efe09d7bde4d017fd318196e8db7e209572267cdfb3fa386a.jpg",
|
| 1591 |
+
"image_caption": [
|
| 1592 |
+
"Figure 9: Effect of changing history window size in SHARCS on MNLI-m Accuracy FLOPs trade-off."
|
| 1593 |
+
],
|
| 1594 |
+
"image_footnote": [],
|
| 1595 |
+
"bbox": [
|
| 1596 |
+
169,
|
| 1597 |
+
417,
|
| 1598 |
+
408,
|
| 1599 |
+
575
|
| 1600 |
+
],
|
| 1601 |
+
"page_idx": 11
|
| 1602 |
+
},
|
| 1603 |
+
{
|
| 1604 |
+
"type": "text",
|
| 1605 |
+
"text": "classifier assigns to class $i$ . Figure 8 shows the accuracy FLOPs trade-off for both of these metrics on MNLI-m dataset with RoBERTa $_{\\text{base}}$ model. Given that the confidence score is a simpler approach and does not require any additional computation, we opted for using that in our method.",
|
| 1606 |
+
"bbox": [
|
| 1607 |
+
112,
|
| 1608 |
+
646,
|
| 1609 |
+
489,
|
| 1610 |
+
743
|
| 1611 |
+
],
|
| 1612 |
+
"page_idx": 11
|
| 1613 |
+
},
|
| 1614 |
+
{
|
| 1615 |
+
"type": "text",
|
| 1616 |
+
"text": "E.0.5 Changing History Window Size in Training the Router",
|
| 1617 |
+
"text_level": 1,
|
| 1618 |
+
"bbox": [
|
| 1619 |
+
112,
|
| 1620 |
+
753,
|
| 1621 |
+
443,
|
| 1622 |
+
785
|
| 1623 |
+
],
|
| 1624 |
+
"page_idx": 11
|
| 1625 |
+
},
|
| 1626 |
+
{
|
| 1627 |
+
"type": "text",
|
| 1628 |
+
"text": "As mentioned in (§2.1), having a larger window size helps stabilizing training the router as the hardness label for a training sample might change throughout training. To illustrate this effect, we train SHARCS on RoBERTa $_{\\text{base}}$ model with three different window sizes $\\{1, 3, 5\\}$ for 10 epochs on MNLI-m dataset. We place the router at layer 2, use two reduction factors $\\{0.25, 1.0\\}$ , and set the",
|
| 1629 |
+
"bbox": [
|
| 1630 |
+
112,
|
| 1631 |
+
790,
|
| 1632 |
+
489,
|
| 1633 |
+
919
|
| 1634 |
+
],
|
| 1635 |
+
"page_idx": 11
|
| 1636 |
+
},
|
| 1637 |
+
{
|
| 1638 |
+
"type": "image",
|
| 1639 |
+
"img_path": "images/7034b2357ef10d7e0c04c21de42a8d34dd162fbdcadf2917c533f66412323c6e.jpg",
|
| 1640 |
+
"image_caption": [
|
| 1641 |
+
"Figure 10: Accuracy FLOPs plot for SHARCS applied to DynaBERT 0.25 W (Hou et al., 2020) model. We set the reduction factors to $\\{2/3, 1.0\\}$ . By placing router at different layers and changing the confidence thresholds, we can get different points in the plot. Note that the FLOPs for each sub-network in each point is also reported."
|
| 1642 |
+
],
|
| 1643 |
+
"image_footnote": [],
|
| 1644 |
+
"bbox": [
|
| 1645 |
+
527,
|
| 1646 |
+
86,
|
| 1647 |
+
857,
|
| 1648 |
+
318
|
| 1649 |
+
],
|
| 1650 |
+
"page_idx": 11
|
| 1651 |
+
},
|
| 1652 |
+
{
|
| 1653 |
+
"type": "text",
|
| 1654 |
+
"text": "confidence thresholds to [0.0, 0.8] for reduction factor 1 and [0.8, 1.0] for reduction factor 0.25. Figure 9 shows the accuracy FLOPs trade offs that different checkpoints with different window sizes get throughout training on the validation set. According to the figure, the network can reach higher accuracy when trained with window size 3 or 5. We did not see any significant improvements by using a window size larger than 5.",
|
| 1655 |
+
"bbox": [
|
| 1656 |
+
507,
|
| 1657 |
+
451,
|
| 1658 |
+
884,
|
| 1659 |
+
598
|
| 1660 |
+
],
|
| 1661 |
+
"page_idx": 11
|
| 1662 |
+
},
|
| 1663 |
+
{
|
| 1664 |
+
"type": "page_number",
|
| 1665 |
+
"text": "10530",
|
| 1666 |
+
"bbox": [
|
| 1667 |
+
477,
|
| 1668 |
+
927,
|
| 1669 |
+
526,
|
| 1670 |
+
940
|
| 1671 |
+
],
|
| 1672 |
+
"page_idx": 11
|
| 1673 |
+
},
|
| 1674 |
+
{
|
| 1675 |
+
"type": "image",
|
| 1676 |
+
"img_path": "images/9ac553ab79c6eb7e321a17530ed927d1e7052f20e380716a6a5af33a9313a541.jpg",
|
| 1677 |
+
"image_caption": [
|
| 1678 |
+
"Figure 11: Accuracy FLOPs plot for SHARCS applied to DistilBERT(Sanh et al., 2019) model. We set the reduction factors to $\\{2/3, 1.0\\}$ or $\\{0.5, 1.0\\}$ . By placing router at different layers and changing the confidence thresholds, we can get different points in the plot. Note that the FLOPs for each sub-network in each point is also reported."
|
| 1679 |
+
],
|
| 1680 |
+
"image_footnote": [],
|
| 1681 |
+
"bbox": [
|
| 1682 |
+
132,
|
| 1683 |
+
326,
|
| 1684 |
+
463,
|
| 1685 |
+
558
|
| 1686 |
+
],
|
| 1687 |
+
"page_idx": 12
|
| 1688 |
+
},
|
| 1689 |
+
{
|
| 1690 |
+
"type": "page_number",
|
| 1691 |
+
"text": "10531",
|
| 1692 |
+
"bbox": [
|
| 1693 |
+
477,
|
| 1694 |
+
928,
|
| 1695 |
+
522,
|
| 1696 |
+
940
|
| 1697 |
+
],
|
| 1698 |
+
"page_idx": 12
|
| 1699 |
+
},
|
| 1700 |
+
{
|
| 1701 |
+
"type": "image",
|
| 1702 |
+
"img_path": "images/8885e9a306c7751bd99d564a50c13203ddf30d79b10b5a2a1672a99d4bd39e52.jpg",
|
| 1703 |
+
"image_caption": [],
|
| 1704 |
+
"image_footnote": [],
|
| 1705 |
+
"bbox": [
|
| 1706 |
+
144,
|
| 1707 |
+
221,
|
| 1708 |
+
853,
|
| 1709 |
+
237
|
| 1710 |
+
],
|
| 1711 |
+
"page_idx": 13
|
| 1712 |
+
},
|
| 1713 |
+
{
|
| 1714 |
+
"type": "image",
|
| 1715 |
+
"img_path": "images/a05d1a2c52e7c555d27612f907bc8403f58597bded762763024c5d94ca9845ba.jpg",
|
| 1716 |
+
"image_caption": [],
|
| 1717 |
+
"image_footnote": [],
|
| 1718 |
+
"bbox": [
|
| 1719 |
+
114,
|
| 1720 |
+
265,
|
| 1721 |
+
369,
|
| 1722 |
+
428
|
| 1723 |
+
],
|
| 1724 |
+
"page_idx": 13
|
| 1725 |
+
},
|
| 1726 |
+
{
|
| 1727 |
+
"type": "image",
|
| 1728 |
+
"img_path": "images/73c428675368f761f3b3447bb34de1d7f213c883a3c276f68e7c2c8631db35bf.jpg",
|
| 1729 |
+
"image_caption": [],
|
| 1730 |
+
"image_footnote": [],
|
| 1731 |
+
"bbox": [
|
| 1732 |
+
371,
|
| 1733 |
+
263,
|
| 1734 |
+
623,
|
| 1735 |
+
428
|
| 1736 |
+
],
|
| 1737 |
+
"page_idx": 13
|
| 1738 |
+
},
|
| 1739 |
+
{
|
| 1740 |
+
"type": "image",
|
| 1741 |
+
"img_path": "images/c36876da88cfe6c1416e8cc096fcb24ca31d27180affbd2dd838a5b10264db50.jpg",
|
| 1742 |
+
"image_caption": [],
|
| 1743 |
+
"image_footnote": [],
|
| 1744 |
+
"bbox": [
|
| 1745 |
+
628,
|
| 1746 |
+
263,
|
| 1747 |
+
884,
|
| 1748 |
+
428
|
| 1749 |
+
],
|
| 1750 |
+
"page_idx": 13
|
| 1751 |
+
},
|
| 1752 |
+
{
|
| 1753 |
+
"type": "image",
|
| 1754 |
+
"img_path": "images/ae23cc1bb912f2366b10057d7c74677bca03533e2ec22be447969fec214816fe.jpg",
|
| 1755 |
+
"image_caption": [],
|
| 1756 |
+
"image_footnote": [],
|
| 1757 |
+
"bbox": [
|
| 1758 |
+
112,
|
| 1759 |
+
429,
|
| 1760 |
+
366,
|
| 1761 |
+
590
|
| 1762 |
+
],
|
| 1763 |
+
"page_idx": 13
|
| 1764 |
+
},
|
| 1765 |
+
{
|
| 1766 |
+
"type": "image",
|
| 1767 |
+
"img_path": "images/1a890f8a994dd58a55c3bcf847c04e33d5dd36a87811147f9d07396c0fe39831.jpg",
|
| 1768 |
+
"image_caption": [],
|
| 1769 |
+
"image_footnote": [],
|
| 1770 |
+
"bbox": [
|
| 1771 |
+
371,
|
| 1772 |
+
429,
|
| 1773 |
+
625,
|
| 1774 |
+
590
|
| 1775 |
+
],
|
| 1776 |
+
"page_idx": 13
|
| 1777 |
+
},
|
| 1778 |
+
{
|
| 1779 |
+
"type": "image",
|
| 1780 |
+
"img_path": "images/50547702ea5ade889da2b1660f068d54ee20c72eac5846a42fd0ea8861003b92.jpg",
|
| 1781 |
+
"image_caption": [],
|
| 1782 |
+
"image_footnote": [],
|
| 1783 |
+
"bbox": [
|
| 1784 |
+
628,
|
| 1785 |
+
429,
|
| 1786 |
+
882,
|
| 1787 |
+
590
|
| 1788 |
+
],
|
| 1789 |
+
"page_idx": 13
|
| 1790 |
+
},
|
| 1791 |
+
{
|
| 1792 |
+
"type": "image",
|
| 1793 |
+
"img_path": "images/bf92c78996ddf323036bd017f7e88195e3b48fa578efbc65b44d6061b608a50a.jpg",
|
| 1794 |
+
"image_caption": [
|
| 1795 |
+
"Figure 12: GLUE benchmark results. Best viewed in color."
|
| 1796 |
+
],
|
| 1797 |
+
"image_footnote": [],
|
| 1798 |
+
"bbox": [
|
| 1799 |
+
242,
|
| 1800 |
+
592,
|
| 1801 |
+
495,
|
| 1802 |
+
755
|
| 1803 |
+
],
|
| 1804 |
+
"page_idx": 13
|
| 1805 |
+
},
|
| 1806 |
+
{
|
| 1807 |
+
"type": "image",
|
| 1808 |
+
"img_path": "images/2b92e068d931f35bb484a6e4f930c92fa4798b723686e4c4b61dcf3332f4399b.jpg",
|
| 1809 |
+
"image_caption": [],
|
| 1810 |
+
"image_footnote": [],
|
| 1811 |
+
"bbox": [
|
| 1812 |
+
495,
|
| 1813 |
+
592,
|
| 1814 |
+
754,
|
| 1815 |
+
755
|
| 1816 |
+
],
|
| 1817 |
+
"page_idx": 13
|
| 1818 |
+
},
|
| 1819 |
+
{
|
| 1820 |
+
"type": "page_number",
|
| 1821 |
+
"text": "10532",
|
| 1822 |
+
"bbox": [
|
| 1823 |
+
477,
|
| 1824 |
+
927,
|
| 1825 |
+
524,
|
| 1826 |
+
940
|
| 1827 |
+
],
|
| 1828 |
+
"page_idx": 13
|
| 1829 |
+
}
|
| 1830 |
+
]
|