Chelsea707 commited on
Commit
fcf5534
·
verified ·
1 Parent(s): 37b2134

Add Batch 01a2e52b-a81a-40cb-8ee5-e90b3194ec03 data

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. .gitattributes +64 -0
  2. 2024/Empowering Large Language Models for Textual Data Augmentation/81478ff5-f7a3-4b15-af38-b4922331bb0b_content_list.json +0 -0
  3. 2024/Empowering Large Language Models for Textual Data Augmentation/81478ff5-f7a3-4b15-af38-b4922331bb0b_model.json +0 -0
  4. 2024/Empowering Large Language Models for Textual Data Augmentation/81478ff5-f7a3-4b15-af38-b4922331bb0b_origin.pdf +3 -0
  5. 2024/Empowering Large Language Models for Textual Data Augmentation/full.md +414 -0
  6. 2024/Empowering Large Language Models for Textual Data Augmentation/images.zip +3 -0
  7. 2024/Empowering Large Language Models for Textual Data Augmentation/layout.json +0 -0
  8. 2024/Empowering cross-lingual abilities of instruction-tuned large language models by translation-following demonstrations/f7644dfc-cd06-4320-a14e-02a1e95a33d9_content_list.json +1779 -0
  9. 2024/Empowering cross-lingual abilities of instruction-tuned large language models by translation-following demonstrations/f7644dfc-cd06-4320-a14e-02a1e95a33d9_model.json +2404 -0
  10. 2024/Empowering cross-lingual abilities of instruction-tuned large language models by translation-following demonstrations/f7644dfc-cd06-4320-a14e-02a1e95a33d9_origin.pdf +3 -0
  11. 2024/Empowering cross-lingual abilities of instruction-tuned large language models by translation-following demonstrations/full.md +315 -0
  12. 2024/Empowering cross-lingual abilities of instruction-tuned large language models by translation-following demonstrations/images.zip +3 -0
  13. 2024/Empowering cross-lingual abilities of instruction-tuned large language models by translation-following demonstrations/layout.json +0 -0
  14. 2024/Encoding Hierarchical Schema via Concept Flow for Multifaceted Ideology Detection/5e9641cb-740e-48d6-bdd3-e4eca45bddbc_content_list.json +0 -0
  15. 2024/Encoding Hierarchical Schema via Concept Flow for Multifaceted Ideology Detection/5e9641cb-740e-48d6-bdd3-e4eca45bddbc_model.json +0 -0
  16. 2024/Encoding Hierarchical Schema via Concept Flow for Multifaceted Ideology Detection/5e9641cb-740e-48d6-bdd3-e4eca45bddbc_origin.pdf +3 -0
  17. 2024/Encoding Hierarchical Schema via Concept Flow for Multifaceted Ideology Detection/full.md +479 -0
  18. 2024/Encoding Hierarchical Schema via Concept Flow for Multifaceted Ideology Detection/images.zip +3 -0
  19. 2024/Encoding Hierarchical Schema via Concept Flow for Multifaceted Ideology Detection/layout.json +0 -0
  20. 2024/End-to-End Emotion Semantic Parsing/4ffbaf63-28e0-4983-95b1-695face241d4_content_list.json +1648 -0
  21. 2024/End-to-End Emotion Semantic Parsing/4ffbaf63-28e0-4983-95b1-695face241d4_model.json +2191 -0
  22. 2024/End-to-End Emotion Semantic Parsing/4ffbaf63-28e0-4983-95b1-695face241d4_origin.pdf +3 -0
  23. 2024/End-to-End Emotion Semantic Parsing/full.md +300 -0
  24. 2024/End-to-End Emotion Semantic Parsing/images.zip +3 -0
  25. 2024/End-to-End Emotion Semantic Parsing/layout.json +0 -0
  26. 2024/Enhanced Language Model Truthfulness with Learnable Intervention and Uncertainty Expression/1e32c8cd-be45-4789-ad01-c4457a07e0bd_content_list.json +2088 -0
  27. 2024/Enhanced Language Model Truthfulness with Learnable Intervention and Uncertainty Expression/1e32c8cd-be45-4789-ad01-c4457a07e0bd_model.json +0 -0
  28. 2024/Enhanced Language Model Truthfulness with Learnable Intervention and Uncertainty Expression/1e32c8cd-be45-4789-ad01-c4457a07e0bd_origin.pdf +3 -0
  29. 2024/Enhanced Language Model Truthfulness with Learnable Intervention and Uncertainty Expression/full.md +383 -0
  30. 2024/Enhanced Language Model Truthfulness with Learnable Intervention and Uncertainty Expression/images.zip +3 -0
  31. 2024/Enhanced Language Model Truthfulness with Learnable Intervention and Uncertainty Expression/layout.json +0 -0
  32. 2024/Enhanced Visual Instruction Tuning with Synthesized Image-Dialogue Data/5db7e691-801e-49cf-90b6-2abbaa2a383c_content_list.json +0 -0
  33. 2024/Enhanced Visual Instruction Tuning with Synthesized Image-Dialogue Data/5db7e691-801e-49cf-90b6-2abbaa2a383c_model.json +0 -0
  34. 2024/Enhanced Visual Instruction Tuning with Synthesized Image-Dialogue Data/5db7e691-801e-49cf-90b6-2abbaa2a383c_origin.pdf +3 -0
  35. 2024/Enhanced Visual Instruction Tuning with Synthesized Image-Dialogue Data/full.md +735 -0
  36. 2024/Enhanced Visual Instruction Tuning with Synthesized Image-Dialogue Data/images.zip +3 -0
  37. 2024/Enhanced Visual Instruction Tuning with Synthesized Image-Dialogue Data/layout.json +0 -0
  38. 2024/Enhancing Adverse Drug Event Detection with Multimodal Dataset_ Corpus Creation and Model Development/5f2bd2d8-1c47-4ff0-bd6b-5d72a8900ae6_content_list.json +1716 -0
  39. 2024/Enhancing Adverse Drug Event Detection with Multimodal Dataset_ Corpus Creation and Model Development/5f2bd2d8-1c47-4ff0-bd6b-5d72a8900ae6_model.json +0 -0
  40. 2024/Enhancing Adverse Drug Event Detection with Multimodal Dataset_ Corpus Creation and Model Development/5f2bd2d8-1c47-4ff0-bd6b-5d72a8900ae6_origin.pdf +3 -0
  41. 2024/Enhancing Adverse Drug Event Detection with Multimodal Dataset_ Corpus Creation and Model Development/full.md +315 -0
  42. 2024/Enhancing Adverse Drug Event Detection with Multimodal Dataset_ Corpus Creation and Model Development/images.zip +3 -0
  43. 2024/Enhancing Adverse Drug Event Detection with Multimodal Dataset_ Corpus Creation and Model Development/layout.json +0 -0
  44. 2024/Enhancing Cross Text-Molecule Learning by Self-Augmentation/206d3795-d53b-42c9-8de8-6d682eb0ac0b_content_list.json +1760 -0
  45. 2024/Enhancing Cross Text-Molecule Learning by Self-Augmentation/206d3795-d53b-42c9-8de8-6d682eb0ac0b_model.json +0 -0
  46. 2024/Enhancing Cross Text-Molecule Learning by Self-Augmentation/206d3795-d53b-42c9-8de8-6d682eb0ac0b_origin.pdf +3 -0
  47. 2024/Enhancing Cross Text-Molecule Learning by Self-Augmentation/full.md +323 -0
  48. 2024/Enhancing Cross Text-Molecule Learning by Self-Augmentation/images.zip +3 -0
  49. 2024/Enhancing Cross Text-Molecule Learning by Self-Augmentation/layout.json +0 -0
  50. 2024/Enhancing Distractor Generation for Multiple-Choice Questions with Retrieval Augmented Pretraining and Knowledge Graph Integration/e2e79252-24e8-4303-bd7f-47125cbcbdea_content_list.json +1759 -0
.gitattributes CHANGED
@@ -3391,3 +3391,67 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
3391
  2024/EmoTransKG_[[:space:]]An[[:space:]]Innovative[[:space:]]Emotion[[:space:]]Knowledge[[:space:]]Graph[[:space:]]to[[:space:]]Reveal[[:space:]]Emotion[[:space:]]Transformation/a4037023-fb45-4fb6-87e5-81a2977a4607_origin.pdf filter=lfs diff=lfs merge=lfs -text
3392
  2024/EmotionQueen_[[:space:]]A[[:space:]]Benchmark[[:space:]]for[[:space:]]Evaluating[[:space:]]Empathy[[:space:]]of[[:space:]]Large[[:space:]]Language[[:space:]]Models/04ee7f3f-b75b-4ed1-a8b2-eb274b97fde5_origin.pdf filter=lfs diff=lfs merge=lfs -text
3393
  2024/EmpathicStories++_[[:space:]]A[[:space:]]Multimodal[[:space:]]Dataset[[:space:]]for[[:space:]]Empathy[[:space:]]Towards[[:space:]]Personal[[:space:]]Experiences/c0642440-959f-4fa5-b71c-8cc638e695ae_origin.pdf filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3391
  2024/EmoTransKG_[[:space:]]An[[:space:]]Innovative[[:space:]]Emotion[[:space:]]Knowledge[[:space:]]Graph[[:space:]]to[[:space:]]Reveal[[:space:]]Emotion[[:space:]]Transformation/a4037023-fb45-4fb6-87e5-81a2977a4607_origin.pdf filter=lfs diff=lfs merge=lfs -text
3392
  2024/EmotionQueen_[[:space:]]A[[:space:]]Benchmark[[:space:]]for[[:space:]]Evaluating[[:space:]]Empathy[[:space:]]of[[:space:]]Large[[:space:]]Language[[:space:]]Models/04ee7f3f-b75b-4ed1-a8b2-eb274b97fde5_origin.pdf filter=lfs diff=lfs merge=lfs -text
3393
  2024/EmpathicStories++_[[:space:]]A[[:space:]]Multimodal[[:space:]]Dataset[[:space:]]for[[:space:]]Empathy[[:space:]]Towards[[:space:]]Personal[[:space:]]Experiences/c0642440-959f-4fa5-b71c-8cc638e695ae_origin.pdf filter=lfs diff=lfs merge=lfs -text
3394
+ 2024/Empowering[[:space:]]Large[[:space:]]Language[[:space:]]Models[[:space:]]for[[:space:]]Textual[[:space:]]Data[[:space:]]Augmentation/81478ff5-f7a3-4b15-af38-b4922331bb0b_origin.pdf filter=lfs diff=lfs merge=lfs -text
3395
+ 2024/Empowering[[:space:]]cross-lingual[[:space:]]abilities[[:space:]]of[[:space:]]instruction-tuned[[:space:]]large[[:space:]]language[[:space:]]models[[:space:]]by[[:space:]]translation-following[[:space:]]demonstrations/f7644dfc-cd06-4320-a14e-02a1e95a33d9_origin.pdf filter=lfs diff=lfs merge=lfs -text
3396
+ 2024/Encoding[[:space:]]Hierarchical[[:space:]]Schema[[:space:]]via[[:space:]]Concept[[:space:]]Flow[[:space:]]for[[:space:]]Multifaceted[[:space:]]Ideology[[:space:]]Detection/5e9641cb-740e-48d6-bdd3-e4eca45bddbc_origin.pdf filter=lfs diff=lfs merge=lfs -text
3397
+ 2024/End-to-End[[:space:]]Emotion[[:space:]]Semantic[[:space:]]Parsing/4ffbaf63-28e0-4983-95b1-695face241d4_origin.pdf filter=lfs diff=lfs merge=lfs -text
3398
+ 2024/Enhanced[[:space:]]Language[[:space:]]Model[[:space:]]Truthfulness[[:space:]]with[[:space:]]Learnable[[:space:]]Intervention[[:space:]]and[[:space:]]Uncertainty[[:space:]]Expression/1e32c8cd-be45-4789-ad01-c4457a07e0bd_origin.pdf filter=lfs diff=lfs merge=lfs -text
3399
+ 2024/Enhanced[[:space:]]Visual[[:space:]]Instruction[[:space:]]Tuning[[:space:]]with[[:space:]]Synthesized[[:space:]]Image-Dialogue[[:space:]]Data/5db7e691-801e-49cf-90b6-2abbaa2a383c_origin.pdf filter=lfs diff=lfs merge=lfs -text
3400
+ 2024/Enhancing[[:space:]]Adverse[[:space:]]Drug[[:space:]]Event[[:space:]]Detection[[:space:]]with[[:space:]]Multimodal[[:space:]]Dataset_[[:space:]]Corpus[[:space:]]Creation[[:space:]]and[[:space:]]Model[[:space:]]Development/5f2bd2d8-1c47-4ff0-bd6b-5d72a8900ae6_origin.pdf filter=lfs diff=lfs merge=lfs -text
3401
+ 2024/Enhancing[[:space:]]Cross[[:space:]]Text-Molecule[[:space:]]Learning[[:space:]]by[[:space:]]Self-Augmentation/206d3795-d53b-42c9-8de8-6d682eb0ac0b_origin.pdf filter=lfs diff=lfs merge=lfs -text
3402
+ 2024/Enhancing[[:space:]]Distractor[[:space:]]Generation[[:space:]]for[[:space:]]Multiple-Choice[[:space:]]Questions[[:space:]]with[[:space:]]Retrieval[[:space:]]Augmented[[:space:]]Pretraining[[:space:]]and[[:space:]]Knowledge[[:space:]]Graph[[:space:]]Integration/e2e79252-24e8-4303-bd7f-47125cbcbdea_origin.pdf filter=lfs diff=lfs merge=lfs -text
3403
+ 2024/Enhancing[[:space:]]Hallucination[[:space:]]Detection[[:space:]]through[[:space:]]Perturbation-Based[[:space:]]Synthetic[[:space:]]Data[[:space:]]Generation[[:space:]]in[[:space:]]System[[:space:]]Responses/230dbc31-6c35-4128-bdfd-69eaac066870_origin.pdf filter=lfs diff=lfs merge=lfs -text
3404
+ 2024/Enhancing[[:space:]]Hyperbolic[[:space:]]Knowledge[[:space:]]Graph[[:space:]]Embeddings[[:space:]]via[[:space:]]Lorentz[[:space:]]Transformations/f9607213-3e28-4ff3-b5fd-5d44688255d6_origin.pdf filter=lfs diff=lfs merge=lfs -text
3405
+ 2024/Enhancing[[:space:]]Idiomatic[[:space:]]Representation[[:space:]]in[[:space:]]Multiple[[:space:]]Languages[[:space:]]via[[:space:]]an[[:space:]]Adaptive[[:space:]]Contrastive[[:space:]]Triplet[[:space:]]Loss/c3eb5d3e-726c-4c24-b98b-e2ea581e6f42_origin.pdf filter=lfs diff=lfs merge=lfs -text
3406
+ 2024/Enhancing[[:space:]]Semantic[[:space:]]Consistency[[:space:]]of[[:space:]]Large[[:space:]]Language[[:space:]]Models[[:space:]]through[[:space:]]Model[[:space:]]Editing_[[:space:]]An[[:space:]]Interpretability-Oriented[[:space:]]Approach/397db60d-0296-4988-b105-45201e5cbf89_origin.pdf filter=lfs diff=lfs merge=lfs -text
3407
+ 2024/Enhancing[[:space:]]Sentence[[:space:]]Simplification[[:space:]]in[[:space:]]Portuguese_[[:space:]]Leveraging[[:space:]]Paraphrases,[[:space:]]Context,[[:space:]]and[[:space:]]Linguistic[[:space:]]Features/783c361f-fb4f-4a1c-8192-777b22269d97_origin.pdf filter=lfs diff=lfs merge=lfs -text
3408
+ 2024/Enhancing[[:space:]]Text-to-SQL[[:space:]]Parsing[[:space:]]through[[:space:]]Question[[:space:]]Rewriting[[:space:]]and[[:space:]]Execution-Guided[[:space:]]Refinement/63662ef4-b176-43d7-b473-c8e7d75b1d0f_origin.pdf filter=lfs diff=lfs merge=lfs -text
3409
+ 2024/Episodic[[:space:]]Memory[[:space:]]Retrieval[[:space:]]from[[:space:]]LLMs_[[:space:]]A[[:space:]]Neuromorphic[[:space:]]Mechanism[[:space:]]to[[:space:]]Generate[[:space:]]Commonsense[[:space:]]Counterfactuals[[:space:]]for[[:space:]]Relation[[:space:]]Extraction/b2a107bb-3384-409c-9568-6de5592f8091_origin.pdf filter=lfs diff=lfs merge=lfs -text
3410
+ 2024/Epistemology[[:space:]]of[[:space:]]Language[[:space:]]Models_[[:space:]]Do[[:space:]]Language[[:space:]]Models[[:space:]]Have[[:space:]]Holistic[[:space:]]Knowledge_/63e35d62-be10-4076-8a40-c8db5b7a15ad_origin.pdf filter=lfs diff=lfs merge=lfs -text
3411
+ 2024/Error[[:space:]]Analysis[[:space:]]Prompting[[:space:]]Enables[[:space:]]Human-Like[[:space:]]Translation[[:space:]]Evaluation[[:space:]]in[[:space:]]Large[[:space:]]Language[[:space:]]Models/56585711-fb1e-4d9b-ac01-911dcd8eefbf_origin.pdf filter=lfs diff=lfs merge=lfs -text
3412
+ 2024/Evaluating[[:space:]]LLMs’[[:space:]]Mathematical[[:space:]]Reasoning[[:space:]]in[[:space:]]Financial[[:space:]]Document[[:space:]]Question[[:space:]]Answering/6b41d5ac-9ed1-4fff-bfb8-6adcfb1c02e0_origin.pdf filter=lfs diff=lfs merge=lfs -text
3413
+ 2024/Evaluating[[:space:]]Large[[:space:]]Language[[:space:]]Model[[:space:]]Biases[[:space:]]in[[:space:]]Persona-Steered[[:space:]]Generation/f0fe1485-df93-4135-bb68-4f764d48a454_origin.pdf filter=lfs diff=lfs merge=lfs -text
3414
+ 2024/Evaluating[[:space:]]Large[[:space:]]Language[[:space:]]Models[[:space:]]for[[:space:]]Health-related[[:space:]]Queries[[:space:]]with[[:space:]]Presuppositions/65ee9331-a0f0-4ef2-906e-807ba9d2cb24_origin.pdf filter=lfs diff=lfs merge=lfs -text
3415
+ 2024/Evaluating[[:space:]]Large[[:space:]]Language[[:space:]]Models[[:space:]]on[[:space:]]Wikipedia-Style[[:space:]]Survey[[:space:]]Generation/d6843c47-d949-45d5-9aeb-02813ca69981_origin.pdf filter=lfs diff=lfs merge=lfs -text
3416
+ 2024/Evaluating[[:space:]]Mathematical[[:space:]]Reasoning[[:space:]]of[[:space:]]Large[[:space:]]Language[[:space:]]Models_[[:space:]]A[[:space:]]Focus[[:space:]]on[[:space:]]Error[[:space:]]Identification[[:space:]]and[[:space:]]Correction/a7264680-7855-4885-9910-e6d7f8fbf4b7_origin.pdf filter=lfs diff=lfs merge=lfs -text
3417
+ 2024/Evaluating[[:space:]]Robustness[[:space:]]of[[:space:]]Generative[[:space:]]Search[[:space:]]Engine[[:space:]]on[[:space:]]Adversarial[[:space:]]Factoid[[:space:]]Questions/0860db4c-4bf1-4597-a9de-6d6e9e63447a_origin.pdf filter=lfs diff=lfs merge=lfs -text
3418
+ 2024/Evaluating[[:space:]]Structural[[:space:]]Generalization[[:space:]]in[[:space:]]Neural[[:space:]]Machine[[:space:]]Translation/d9fe2cd1-ece9-4132-b1ee-bf5fbe79ad62_origin.pdf filter=lfs diff=lfs merge=lfs -text
3419
+ 2024/Evaluating[[:space:]]the[[:space:]]Elementary[[:space:]]Multilingual[[:space:]]Capabilities[[:space:]]of[[:space:]]Large[[:space:]]Language[[:space:]]Models[[:space:]]with[[:space:]]MultiQ/43fa1e3f-d092-407a-a17a-3e6a85781fa0_origin.pdf filter=lfs diff=lfs merge=lfs -text
3420
+ 2024/Evaluating[[:space:]]the[[:space:]]Smooth[[:space:]]Control[[:space:]]of[[:space:]]Attribute[[:space:]]Intensity[[:space:]]in[[:space:]]Text[[:space:]]Generation[[:space:]]with[[:space:]]LLMs/02d779e4-2ada-4a7b-bb26-93a9f62bc8ea_origin.pdf filter=lfs diff=lfs merge=lfs -text
3421
+ 2024/Evaluating[[:space:]]the[[:space:]]Validity[[:space:]]of[[:space:]]Word-level[[:space:]]Adversarial[[:space:]]Attacks[[:space:]]with[[:space:]]Large[[:space:]]Language[[:space:]]Models/efc7349a-4864-465b-99ac-84c7e07e83f4_origin.pdf filter=lfs diff=lfs merge=lfs -text
3422
+ 2024/Everything[[:space:]]of[[:space:]]Thoughts_[[:space:]]Defying[[:space:]]the[[:space:]]Law[[:space:]]of[[:space:]]Penrose[[:space:]]Triangle[[:space:]]for[[:space:]]Thought[[:space:]]Generation/e3195831-3fc2-473e-9453-2803da8e48fc_origin.pdf filter=lfs diff=lfs merge=lfs -text
3423
+ 2024/Evidence[[:space:]]Retrieval[[:space:]]is[[:space:]]almost[[:space:]]All[[:space:]]You[[:space:]]Need[[:space:]]for[[:space:]]Fact[[:space:]]Verification/537628fc-ab9c-4658-80e4-f2bc535a40ff_origin.pdf filter=lfs diff=lfs merge=lfs -text
3424
+ 2024/Exciting[[:space:]]Mood[[:space:]]Changes_[[:space:]]A[[:space:]]Time-aware[[:space:]]Hierarchical[[:space:]]Transformer[[:space:]]for[[:space:]]Change[[:space:]]Detection[[:space:]]Modelling/529cdfb2-b839-48ef-9306-c1cb43b9590f_origin.pdf filter=lfs diff=lfs merge=lfs -text
3425
+ 2024/Exploiting[[:space:]]Positional[[:space:]]Bias[[:space:]]for[[:space:]]Query-Agnostic[[:space:]]Generative[[:space:]]Content[[:space:]]in[[:space:]]Search/703f2788-ddc8-4b7e-9131-e4cc55db3685_origin.pdf filter=lfs diff=lfs merge=lfs -text
3426
+ 2024/Exploiting[[:space:]]Target[[:space:]]Language[[:space:]]Data[[:space:]]for[[:space:]]Neural[[:space:]]Machine[[:space:]]Translation[[:space:]]Beyond[[:space:]]Back[[:space:]]Translation/8b9261e9-e149-4c43-af8b-7ca3482a3579_origin.pdf filter=lfs diff=lfs merge=lfs -text
3427
+ 2024/Exploring[[:space:]]Defeasibility[[:space:]]in[[:space:]]Causal[[:space:]]Reasoning/ceb8fa8b-6abe-4cf1-ab67-64dea8ee5d1d_origin.pdf filter=lfs diff=lfs merge=lfs -text
3428
+ 2024/Exploring[[:space:]]Domain[[:space:]]Robust[[:space:]]Lightweight[[:space:]]Reward[[:space:]]Models[[:space:]]based[[:space:]]on[[:space:]]Router[[:space:]]Mechanism/04ece7ca-7d3b-43fb-ab08-e5dec02a2215_origin.pdf filter=lfs diff=lfs merge=lfs -text
3429
+ 2024/Exploring[[:space:]]Mathematical[[:space:]]Extrapolation[[:space:]]of[[:space:]]Large[[:space:]]Language[[:space:]]Models[[:space:]]with[[:space:]]Synthetic[[:space:]]Data/13aac60b-b90e-45e1-ad9f-65ead04a5ef2_origin.pdf filter=lfs diff=lfs merge=lfs -text
3430
+ 2024/Exploring[[:space:]]Ordinality[[:space:]]in[[:space:]]Text[[:space:]]Classification_[[:space:]]A[[:space:]]Comparative[[:space:]]Study[[:space:]]of[[:space:]]Explicit[[:space:]]and[[:space:]]Implicit[[:space:]]Techniques/67c1ff30-92ca-4f5e-9567-e2e2e1d94ebf_origin.pdf filter=lfs diff=lfs merge=lfs -text
3431
+ 2024/Exploring[[:space:]]Reasoning[[:space:]]Biases[[:space:]]in[[:space:]]Large[[:space:]]Language[[:space:]]Models[[:space:]]Through[[:space:]]Syllogism_[[:space:]]Insights[[:space:]]from[[:space:]]the[[:space:]]NeuBAROCO[[:space:]]Dataset/c7954673-083e-4f27-ae6b-66436fb9a144_origin.pdf filter=lfs diff=lfs merge=lfs -text
3432
+ 2024/Exploring[[:space:]]Reversal[[:space:]]Mathematical[[:space:]]Reasoning[[:space:]]Ability[[:space:]]for[[:space:]]Large[[:space:]]Language[[:space:]]Models/246610bd-3940-4f09-947f-57f2f430f686_origin.pdf filter=lfs diff=lfs merge=lfs -text
3433
+ 2024/Exploring[[:space:]]Spatial[[:space:]]Schema[[:space:]]Intuitions[[:space:]]in[[:space:]]Large[[:space:]]Language[[:space:]]and[[:space:]]Vision[[:space:]]Models/50a30c1e-5b1a-45f5-ba87-a3deee8df01b_origin.pdf filter=lfs diff=lfs merge=lfs -text
3434
+ 2024/Exploring[[:space:]]the[[:space:]]Potential[[:space:]]of[[:space:]]Dense[[:space:]]Information[[:space:]]in[[:space:]]Multimodal[[:space:]]Alignment/4a40a093-7c96-4d66-aab3-9ab31e13dff6_origin.pdf filter=lfs diff=lfs merge=lfs -text
3435
+ 2024/Extending[[:space:]]Context[[:space:]]Window[[:space:]]of[[:space:]]Large[[:space:]]Language[[:space:]]Models[[:space:]]via[[:space:]]Semantic[[:space:]]Compression/c42f6530-72ca-4b7f-b7d0-b917c0908860_origin.pdf filter=lfs diff=lfs merge=lfs -text
3436
+ 2024/Extracting[[:space:]]Polymer[[:space:]]Nanocomposite[[:space:]]Samples[[:space:]]from[[:space:]]Full-Length[[:space:]]Documents/9f9840f2-3733-409c-a8bd-24caf9d267b2_origin.pdf filter=lfs diff=lfs merge=lfs -text
3437
+ 2024/Extracting[[:space:]]and[[:space:]]Encoding_[[:space:]]Leveraging[[:space:]]Large[[:space:]]Language[[:space:]]Models[[:space:]]and[[:space:]]Medical[[:space:]]Knowledge[[:space:]]to[[:space:]]Enhance[[:space:]]Radiological[[:space:]]Text[[:space:]]Representation/f883f859-1896-496e-8212-f391b7ca2e40_origin.pdf filter=lfs diff=lfs merge=lfs -text
3438
+ 2024/FENICE_[[:space:]]Factuality[[:space:]]Evaluation[[:space:]]of[[:space:]]summarization[[:space:]]based[[:space:]]on[[:space:]]Natural[[:space:]]language[[:space:]]Inference[[:space:]]and[[:space:]]Claim[[:space:]]Extraction/d2c5a253-11f9-4328-b64a-1a94c4b72e58_origin.pdf filter=lfs diff=lfs merge=lfs -text
3439
+ 2024/FOCUS_[[:space:]]Forging[[:space:]]Originality[[:space:]]through[[:space:]]Contrastive[[:space:]]Use[[:space:]]in[[:space:]]Self-Plagiarism[[:space:]]for[[:space:]]Language[[:space:]]Models/b7f4620f-8e31-4a90-9f84-240c14798a0d_origin.pdf filter=lfs diff=lfs merge=lfs -text
3440
+ 2024/FRVA_[[:space:]]Fact-Retrieval[[:space:]]and[[:space:]]Verification[[:space:]]Augmented[[:space:]]Entailment[[:space:]]Tree[[:space:]]Generation[[:space:]]for[[:space:]]Explainable[[:space:]]Question[[:space:]]Answering/dd35f37d-f5a7-425a-8cdd-00d1ace34843_origin.pdf filter=lfs diff=lfs merge=lfs -text
3441
+ 2024/FUSE_[[:space:]]Measure-Theoretic[[:space:]]Compact[[:space:]]Fuzzy[[:space:]]Set[[:space:]]Representation[[:space:]]for[[:space:]]Taxonomy[[:space:]]Expansion/0fd7d117-40d1-4ffd-8696-517edc1ecf93_origin.pdf filter=lfs diff=lfs merge=lfs -text
3442
+ 2024/Fact-Checking[[:space:]]the[[:space:]]Output[[:space:]]of[[:space:]]Large[[:space:]]Language[[:space:]]Models[[:space:]]via[[:space:]]Token-Level[[:space:]]Uncertainty[[:space:]]Quantification/6288a5d3-64aa-4a76-9ca9-d1262dbf5a3d_origin.pdf filter=lfs diff=lfs merge=lfs -text
3443
+ 2024/Fact-and-Reflection[[:space:]](FaR)[[:space:]]Improves[[:space:]]Confidence[[:space:]]Calibration[[:space:]]of[[:space:]]Large[[:space:]]Language[[:space:]]Models/39dcad23-1550-4f26-a2ad-eeb74f47b230_origin.pdf filter=lfs diff=lfs merge=lfs -text
3444
+ 2024/Fair[[:space:]]Federated[[:space:]]Learning[[:space:]]with[[:space:]]Biased[[:space:]]Vision-Language[[:space:]]Models/dd744380-d2eb-495a-ae0c-c2d9e8dd5993_origin.pdf filter=lfs diff=lfs merge=lfs -text
3445
+ 2024/Faithful[[:space:]]Persona-based[[:space:]]Conversational[[:space:]]Dataset[[:space:]]Generation[[:space:]]with[[:space:]]Large[[:space:]]Language[[:space:]]Models/c2284ee5-1cae-4b1b-a99e-ae8d07fae4f2_origin.pdf filter=lfs diff=lfs merge=lfs -text
3446
+ 2024/Fantastic[[:space:]]Semantics[[:space:]]and[[:space:]]Where[[:space:]]to[[:space:]]Find[[:space:]]Them_[[:space:]]Investigating[[:space:]]Which[[:space:]]Layers[[:space:]]of[[:space:]]Generative[[:space:]]LLMs[[:space:]]Reflect[[:space:]]Lexical[[:space:]]Semantics/4a3fd6b8-b99c-4a6a-86a3-bca851b7f0a5_origin.pdf filter=lfs diff=lfs merge=lfs -text
3447
+ 2024/Fast[[:space:]]Randomized[[:space:]]Low-Rank[[:space:]]Adaptation[[:space:]]of[[:space:]]Pre-trained[[:space:]]Language[[:space:]]Models[[:space:]]with[[:space:]]PAC[[:space:]]Regularization/58416902-870a-4893-a4bd-34e641faa481_origin.pdf filter=lfs diff=lfs merge=lfs -text
3448
+ 2024/FastGAS_[[:space:]]Fast[[:space:]]Graph-based[[:space:]]Annotation[[:space:]]Selection[[:space:]]for[[:space:]]In-Context[[:space:]]Learning/45075499-0df8-43cf-80d2-4de3c1994942_origin.pdf filter=lfs diff=lfs merge=lfs -text
3449
+ 2024/Few-shot[[:space:]]Dialogue[[:space:]]Strategy[[:space:]]Learning[[:space:]]for[[:space:]]Motivational[[:space:]]Interviewing[[:space:]]via[[:space:]]Inductive[[:space:]]Reasoning/bd887f71-595b-4c48-801d-bd97a8bc9c2b_origin.pdf filter=lfs diff=lfs merge=lfs -text
3450
+ 2024/Figuratively[[:space:]]Speaking_[[:space:]]Authorship[[:space:]]Attribution[[:space:]]via[[:space:]]Multi-Task[[:space:]]Figurative[[:space:]]Language[[:space:]]Modeling/3be12eee-dc6e-41c3-9b4b-add07b8e3949_origin.pdf filter=lfs diff=lfs merge=lfs -text
3451
+ 2024/FinTral_[[:space:]]A[[:space:]]Family[[:space:]]of[[:space:]]GPT-4[[:space:]]Level[[:space:]]Multimodal[[:space:]]Financial[[:space:]]Large[[:space:]]Language[[:space:]]Models/6eb84294-8d70-4dcd-8ea9-cce871ce9737_origin.pdf filter=lfs diff=lfs merge=lfs -text
3452
+ 2024/Finding[[:space:]]and[[:space:]]Editing[[:space:]]Multi-Modal[[:space:]]Neurons[[:space:]]in[[:space:]]Pre-Trained[[:space:]]Transformers/5a630d08-038e-4e24-9afd-ae3a0cbeb0d3_origin.pdf filter=lfs diff=lfs merge=lfs -text
3453
+ 2024/Findings[[:space:]]of[[:space:]]the[[:space:]]Association[[:space:]]for[[:space:]]Computational[[:space:]]Linguistics_[[:space:]]ACL[[:space:]]2024/e63d2d7d-f907-4861-bdb5-9124c4675e16_origin.pdf filter=lfs diff=lfs merge=lfs -text
3454
+ 2024/Fine-tuning[[:space:]]Language[[:space:]]Models[[:space:]]for[[:space:]]Joint[[:space:]]Rewriting[[:space:]]and[[:space:]]Completion[[:space:]]of[[:space:]]Code[[:space:]]with[[:space:]]Potential[[:space:]]Bugs/bf2ed97a-c8b5-4cae-8c7d-d343714921af_origin.pdf filter=lfs diff=lfs merge=lfs -text
3455
+ 2024/Fine-tuning[[:space:]]with[[:space:]]HED-IT_[[:space:]]The[[:space:]]impact[[:space:]]of[[:space:]]human[[:space:]]post-editing[[:space:]]for[[:space:]]dialogical[[:space:]]language[[:space:]]models/65024fa8-5479-4344-ba3d-9f19ef737348_origin.pdf filter=lfs diff=lfs merge=lfs -text
3456
+ 2024/Flexible[[:space:]]Weight[[:space:]]Tuning[[:space:]]and[[:space:]]Weight[[:space:]]Fusion[[:space:]]Strategies[[:space:]]for[[:space:]]Continual[[:space:]]Named[[:space:]]Entity[[:space:]]Recognition/7876569e-3c69-40a0-ae01-739fa207733b_origin.pdf filter=lfs diff=lfs merge=lfs -text
3457
+ 2024/FlowVQA_[[:space:]]Mapping[[:space:]]Multimodal[[:space:]]Logic[[:space:]]in[[:space:]]Visual[[:space:]]Question[[:space:]]Answering[[:space:]]with[[:space:]]Flowcharts/8f1fbd29-5974-47de-834a-7c9ad846fcf3_origin.pdf filter=lfs diff=lfs merge=lfs -text
2024/Empowering Large Language Models for Textual Data Augmentation/81478ff5-f7a3-4b15-af38-b4922331bb0b_content_list.json ADDED
The diff for this file is too large to render. See raw diff
 
2024/Empowering Large Language Models for Textual Data Augmentation/81478ff5-f7a3-4b15-af38-b4922331bb0b_model.json ADDED
The diff for this file is too large to render. See raw diff
 
2024/Empowering Large Language Models for Textual Data Augmentation/81478ff5-f7a3-4b15-af38-b4922331bb0b_origin.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:481312db3193b11cb91d97c2bfeafa1d5c1f5e43c38498423943ed162592216c
3
+ size 894758
2024/Empowering Large Language Models for Textual Data Augmentation/full.md ADDED
@@ -0,0 +1,414 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Empowering Large Language Models for Textual Data Augmentation
2
+
3
+ Yichuan Li $^{1*}$ , Kaize Ding $^{2*}$ , Jianling Wang $^{3}$ , Kyumin Lee $^{1}$
4
+
5
+ $^{1}$ Worcester Polytechnic Institute, $^{2}$ Northwestern University $^{3}$ Google DeepMind {yli29, kmlee} $@$ wpi.edu, kaize.ding@northwestern.edu, jianlingw@google.com
6
+
7
+ # Abstract
8
+
9
+ With the capabilities of understanding and executing natural language instructions, Large language models (LLMs) can potentially act as a powerful tool for textual data augmentation. However, the quality of augmented data depends heavily on the augmentation instructions provided, and the effectiveness can fluctuate across different downstream tasks. While manually crafting and selecting instructions can offer some improvement, this approach faces scalability and consistency issues in practice due to the diversity of downstream tasks. In this work, we address these limitations by proposing a new solution, which can automatically generate a large pool of augmentation instructions and select the most suitable task-informed instructions, thereby empowering LLMs to create high-quality augmented data for different downstream tasks. Empirically, the proposed approach consistently generates augmented data with better quality compared to non-LLM and LLM-based data augmentation methods, leading to the best performance on 26 few-shot learning tasks sourced from a wide range of application domains.
10
+
11
+ # 1 Introduction
12
+
13
+ Large language models (LLMs) have recently demonstrated their potential in performing data augmentation on text data (Dai et al., 2023; Chung et al., 2023; Yu et al., 2023; Yoo et al., 2021). Serving as a semantic-preserving transformation function, LLMs transform original texts based on instructions to create diverse and informative data augmentations. With the augmented data, users can further train a spreadable and affordable model (e.g. OPT (Zhang et al., 2022)) to perform specific tasks. Unlike traditional heuristic-based methods such as word swapping (Wei and Zou, 2019) and model-based methods like back-translation (Fadaee et al.,
14
+
15
+ ![](images/0855bc8e68983859a4b93b87b261e6b7dfbef88f32a6170e7bbc2b92652059a7.jpg)
16
+ Figure 1: A simple demo of pronouns replacement augmentation instruction on text entailment task: GLUE-MRPC (Wang et al., 2019) and question answering task: OpenBookQA (Mihaylov et al., 2018).
17
+
18
+ 2017), LLMs offer great potential to produce more fluent, diverse, and semantically consistent augmentations for text data, owing to their great understanding and generalization capabilities.
19
+
20
+ Despite the early success of LLMs for textual data augmentation, existing methods (Dai et al., 2023) that simply prompt LLMs with human-crafted augmentation instructions (i.e., Manual-LLMDA methods) have the following major bottlenecks: (1) Firstly, their efficacy heavily relies on the quality of the augmentation instructions, which are manually engineered by domain experts. This manual process is not only domain knowledge-intensive but also prone to inconsistencies, potentially compromising the quality of augmented data. Subtle variations in how these instructions are formulated can significantly influence the outcomes, as demonstrated by recent studies (Ishibashi et al., 2023; Zhu et al., 2023); (2) Secondly, usually text augmentation instructions are written in a task-agnostic form for a general purpose, however, the lack of context information on downstream tasks could lead to dramatic performance disparity on different downstream tasks, as shown in Fig. 1. Without considering the specific properties of the target tasks, LLM may generate low-quality augmented data (Ribeiro et al., 2020; Wei and Zou, 2019).
21
+
22
+ To address the aforementioned challenges, in this paper, we introduce a new framework - Self-LLMDA that automates augmentation instruction generation and selection, facilitating LLM to generate task-specific augmented data. The initial phase of Self-LLMDA aims to broaden the span of seed augmentation strategies through the generation of diverse and effective instructions based on LLMs. Following this, Self-LLMDA employs a scoring model to identify and select the most relevant instructions that are likely to bolster the performance of target models. Such a new textual data augmentation approach ensures a balance between the generative breadth of augmentation instructions and targeted precision of task-specific guidance for downstream tasks.
23
+
24
+ In our study, we conduct extensive experiments across a large collection of few-shot learning tasks used in previous studies (Min et al., 2022; Ye et al., 2021; Khashabi et al., 2020). This collection includes 26 different types of tasks across hate speech detection, question answering, natural language inference, and phrase detection datasets. Our study stands out for its extensive coverage of tasks, setting a new benchmark in the application of LLMs for textual data augmentation when compared to previous work (Dai et al., 2023; Li et al., 2023; Chung et al., 2023). The empirical results demonstrate that the proposed approach Self-LLMDA significantly outperforms various baseline methods in generating high-quality augmented textual data. To summarize, our main contributions are as follows:
25
+
26
+ - We introduce a framework Self-LLMDA, which automates the generation and selection of task-specific augmentation instructions for LLMs, providing effective data augmentation for text data.
27
+ - Through a comprehensive set of experiments, we validate the effectiveness of Self-LLMDA, demonstrating its superior performance in enhancing data quality and model accuracy over existing text data augmentation methods.
28
+ - Our in-depth analyses reveal that Self-LLMDA can well generalize across various target models and previously unseen augmentation instructions, demonstrating its versatility and potential for broad applicability.
29
+
30
+ # 2 Related Work
31
+
32
+ # 2.1 Non-LLM Textual Data Augmentation
33
+
34
+ Conventional textual data augmentation methods encompass a variety of techniques aimed at enhanc
35
+
36
+ ing the diversity of textual datasets without relying on large language models (i.e., Non-LLMDA methods). Those methods range from simple heuristic-based methods to generative model-based methods. For heuristic-based approaches, such as synonym replacement (Zhang et al., 2016) and word shuffling, stand out for their computational efficiency and simplicity, making them ideal for large-scale data augmentation with minimal computational demands. Another notable example is the Easy Data Augmentation (EDA) technique introduced by Wei and Zou (2019), which employs token-level perturbations—random insertion, deletion, and swapping—to improve performance across a spectrum of text classification tasks.
37
+
38
+ For model-based approaches, researchers have employed seq2seq and language models for data augmentation. Back-translation (Fadaee et al., 2017) employs translation models to preserve semantic integrity while generating paraphrases (Fadaee et al., 2017). Conditional masked language models like BERT (Devlin et al., 2018) and RoBERTa (Liu et al., 2019) can also be utilized for data augmentation (Cheng et al., 2022; Wu et al., 2018). By masking words within sentences and subsequently generating replacements, these models introduce linguistic variations. Furthermore, other methods (Kumar et al., 2021; Edwards et al., 2023) leverage the capabilities of generative language models like GPT-2 (Radford et al., 2019) and BART (Lewis et al., 2019) for data augmentation. These approaches perform conditional generation based on class labels. Additionally, some studies have explored augmentation in the feature space. Mixup techniques interpolate within word or sentence embeddings (Guo et al., 2019), while others introduce random multiplicative and additive noise to the feature vectors (Kurata et al., 2016). Despite their utility, these conventional Non-LLMDA methods often come with limitations in readability and contextual consistency.
39
+
40
+ # 2.2 LLM-based Textual Data Augmentation
41
+
42
+ Recent advancements in LLMs have demonstrated their superiority in generating high quality and contextually relevant augmented data (Brown et al., 2020). LLMs are increasingly employed as label-preserving transformation functions, where an original example is transformed or perturbed according to manually crafted instructions (Dai et al., 2023; Yoo et al., 2021; Piedboeuf and Langlais, 2023).
43
+
44
+ ![](images/75782e59e34536283b8cad876fb78fe96488dcc786beca0c3f263c23dacb1c82.jpg)
45
+ Figure 2: The pipeline of Self-LLMDA. We first prompt the LLM to generate a diverse set of candidate augmentation instructions (§ 4.1). Then we select the instruction (§ 4.2) and apply it with the task data to LLM to get augmentations.
46
+
47
+ ![](images/8b20df25412b876dcbd127becab21fe77aa86463fdb5fa42b41d71f9dcfcd713.jpg)
48
+
49
+ Concurrently, several studies (Chung et al., 2023; Yu et al., 2023; Li et al., 2023; Ubani et al., 2023; Meng et al., 2022) have explored the generation of conceptually similar yet semantically distinct synthetic examples. These methods, however, mostly rely on manual instruction design. In contrast, our work automatically generates label-preserving augmentation instructions by prompting LLMs, thus reducing dependency on manually crafted instructions. Furthermore, we introduce an instruction selection model that chooses appropriate instructions for arbitrary downstream tasks.
50
+
51
+ # 3 Preliminary
52
+
53
+ Problem Definition. Textual data augmentation involves applying a label-preserving transformation function $T(\cdot)$ to a dataset $\mathcal{D} = \{(\mathbf{x}_i, \mathbf{y}_i)\}_{i=1}^k$ , where each example consists of an input text $\mathbf{x}_i$ (a sequence of tokens) and a corresponding label $\mathbf{y}_i$ (also a sequence of tokens). The augmented dataset $\mathcal{D}'$ is generated as follows, ensuring that the output label $\mathbf{y}_i'$ remains unchanged:
54
+
55
+ $$
56
+ \mathbf {x} _ {i} ^ {\prime} = T \left(\mathbf {x} _ {i}\right), \mathbf {y} _ {i} ^ {\prime} = \mathbf {y} _ {i}. \tag {1}
57
+ $$
58
+
59
+ A target model $F$ is then trained on the union of the original and augmented datasets, $\mathcal{D} \cup \mathcal{D}'$ , with the training objective defined as:
60
+
61
+ $$
62
+ \mathcal {L} _ {(\hat {\mathbf {x}} _ {i}, \hat {\mathbf {y}} _ {i}) \in \mathcal {D} \cup \mathcal {D} ^ {\prime}} \left(F _ {\theta} (\hat {\mathbf {x}} _ {i}), \hat {\mathbf {y}} _ {i}\right). \tag {2}
63
+ $$
64
+
65
+ Therefore, designing an effective transformation function $T(\cdot)$ that produces high-quality augmented data $\mathcal{D}'$ is crucial for improving the downstream performance of model $F_{\theta}$ .
66
+
67
+ Manual-LLMDA. For Manual-LLMDA methods, the transformation function $T(\cdot)$ is realized through a combination of an LLM and a manual-crafted instruction $\mathbf{I}_{\mathrm{man}}$ (e.g., paraphrasing). The LLM is prompted to generate semantic-preserving transformations of the input text $\mathbf{x}_i$ for the augmented
68
+
69
+ dataset $\mathcal{D}^{\prime}$
70
+
71
+ $$
72
+ \mathbf {x} _ {i} ^ {\prime} = \operatorname {L L M} \left(\mathbf {I} _ {\text {m a n}}, \mathbf {x} _ {i}\right), \mathbf {y} _ {i} ^ {\prime} = \mathbf {y} _ {i} \tag {3}
73
+ $$
74
+
75
+ # 4 Proposed Approach - Self-LLMDA
76
+
77
+ To reduce the human efforts in designing augmentation instructions and selecting a task-specific instruction for a given task, we propose Self-LLMDA depicted in Fig. 2. The process begins with the LLM generating a diverse set of potential instructions $\mathcal{I} = \{\mathbf{I}_j\}_{j=0}^n$ from a given set of seed instructions $\mathcal{I}_{\mathrm{seed}} = \{\mathbf{I}_{\mathrm{man}}\}$ :
78
+
79
+ $$
80
+ \mathcal {I} = \operatorname {L L M} \left(\mathcal {I} _ {\text {s e e d}}\right). \tag {4}
81
+ $$
82
+
83
+ A selection model $S$ then scores these generated instructions against the dataset $\mathcal{D}$ to identify the most suitable instruction $\mathbf{I}^{*}$ :
84
+
85
+ $$
86
+ \mathbf {I} ^ {*} = S (\mathcal {I}, \mathcal {D}). \tag {5}
87
+ $$
88
+
89
+ Based on the selected instruction $\mathbf{I}^*$ , the LLM performs data augmentation on $\mathcal{D}$ , producing an enhanced augmented dataset $\mathcal{D}'$ for training the target model more effectively.
90
+
91
+ # 4.1 Augmentation Instruction Self-Generation
92
+
93
+ Inspired by the self-instruct methodology (Wang et al., 2022), this phase generates augmentation instructions from a seed set of 13 human-crafted instructions. These seed instructions act as exemplars, guiding the LLMs toward the creation of novel and diverse instructions that maintain the semantic integrity of the input text. To generate a broad and diverse set of augmentation instructions without the bias introduced by a few task examples, we exclude the task-specific data from the instruction generation. This will leverage the zero-shot learning capabilities of LLMs to produce a wide array of potential augmentation instructions. We use the following prompt to encourage LLMs to explore various augmentation techniques:
94
+
95
+ ![](images/8567d38d97489052241266f5e106ff1fd778b2e9ef626bf3bd0a785d46352829.jpg)
96
+ Figure 3: Illustration of the Instruction selection scoring model. $F_{\theta}$ is the target model.
97
+
98
+ "Come up with a series of textual data augmentation methods and you need to generate more diverse data augmentation method that can keep the semantic meaning of the input sentence. $\{\mathbf{I}_{\mathrm{seed}}\}$ "
99
+
100
+ Through iterative cycles of generation and refinement, we filter out instructions that are too similar to existing ones based on ROUGE-L (Lin, 2004). The unique generated instructions from each iteration are then incorporated back into the seed instruction pool, enriching the seed instructions for subsequent generation rounds. This process is repeated until we reach a collection of 100 augmentation instructions. To ensure diversity and eliminate redundancy, we further refine this set by removing duplicates based on their method names. This filtration results in a final set of 51 unique augmentation instructions.
101
+
102
+ # 4.2 Task-Informed Instruction Selection
103
+
104
+ Recognizing that augmentation instructions may not be universally applicable across different tasks, we implement a selection mechanism, tailored to the specific requirements of each task and its corresponding target model. This process involves a scoring model $S$ to evaluate the suitability of each instruction for the task at hand. The scoring model $S$ , as shown in Fig. 3, outputs a ranking score $q_{j}$ indicating the instruction's effectiveness based on the pair of instruction and task dataset. Based on the notable instruction-following capabilities of FLAN-T5 (Chung et al., 2022; Raffel et al., 2023), we choose FLAN-T5-Large (Chung et al., 2022; Raffel et al., 2023) as the backbone of our scoring model. The input for scoring model $S$ is:
105
+
106
+ "Given the dataset for task $\mathcal{T}$ and the instruction data, determine if this is a suitable instruction to address the task for model $F$ . Task Dataset: $\{\mathbf{x}_i\}_{i=0}^m$ Instruction: $\mathbf{I}_j$ . Is this instruction appropriate?"
107
+
108
+ where $\mathcal{T}$ is the task name (e.g. GLUE-RTE), $F$ is the target model name (e.g. OPT-125m). Since most of the tasks did not have a task description and manually designing the task description is time consuming, we utilize the few-shot examples $\{\mathbf{x}_i\}_{i=0}^m$ from the dataset as the task description. Here, we calculate $q_j$ by assessing the logit value of the "yes" token of the last position of input from FLAN-T5-Large, as shown in Fig. 3. Next, we will introduce the optimization and inference procedure of the scoring model $S$ respectively.
109
+
110
+ Model Optimization. The instruction selection model is trained to prioritize generated augmentation instructions based on their impact on downstream task performance. Its goal is to assign the highest scores to instructions that lead to the most effective data augmentation. To enhance scalability and computational efficiency, our model optimizes the selection process for a given task $\mathcal{D}$ by sampling a subset of augmentation instructions $\{\mathbf{I}_j\}_{j=0}^n$ (where $n > 1$ ) from the pool of candidates. The model then computes scores $\{q_j\}_{j=0}^n$ representing the relative effectiveness of each instruction. The optimization objective is formulated as a cross-entropy loss, designed to accurately distinguish between the effectiveness of these instructions $\{\mathbf{I}_j\}_{j=0}^n$ . The loss function is given by:
111
+
112
+ $$
113
+ \mathcal {L} _ {S} = - \sum_ {j = 0} ^ {n} \operatorname {i s} _ {-} \max (r _ {j}) \log \sigma (q _ {j}) \tag {6}
114
+ $$
115
+
116
+ Here, is_max serves as a binary indicator function that identifies the instruction yielding the maximum effectiveness, and $\sigma$ is softmax that normalizes the $q_{j}$ (a probability generating "yes" token interpreted as a ranking score associated with $j$ th instruction) over the sampled augmentation instructions, $r_{j}$ is the downstream task performance of a trained target model on augmented data $\mathcal{D}_j^\prime \cup \mathcal{D}$ .
117
+
118
+ Model Inference. When encountering a new task, the selection model $S$ evaluates all potential instructions to determine the most suitable one $\mathbf{I}^*$ , denoted by the highest score:
119
+
120
+ $$
121
+ \mathbf {I} ^ {*} = \mathbf {I} _ {\operatorname {a r g m a x} \left(\left\{q _ {j} \right\} _ {j = 0} ^ {| \tau |}\right)} \tag {7}
122
+ $$
123
+
124
+ This optimal instruction, $\mathbf{I}^*$ , is then employed to prompt the LLMs to generate augmented data. This selection mechanism ensures the use of the most effective instruction for enhancing data utility across diverse NLP tasks.
125
+
126
+ # 5 Experiment
127
+
128
+ # 5.1 Experimental Setup
129
+
130
+ Evaluation Datasets. In this study, we select 26 few-shot learning tasks spanning a wide range of NLP challenges, sourced from CrossFit (Ye et al., 2021), UnifiedQA (Khashabi et al., 2020), and MetaICL (Min et al., 2022). These datasets were chosen for their diversity, encompassing both classification tasks (Class)—such as natural language inference, paraphrase detection, and hate speech identification—and non-classification (Non-Class) tasks, notably question answering, to ensure a broad evaluation spectrum. The selection of tasks is significantly larger and more diverse than that in other relevant works (Dai et al., 2023; Chung et al., 2023).
131
+
132
+ To investigate the generalization ability of Self-LLMDA, we split the 26 tasks into training and test tasks as for form "train $\rightarrow$ test". We train the augmentation instruction selection methods on training tasks and evaluated it on test tasks. The task split involves four settings: Class $\rightarrow$ Class, Class $\rightarrow$ Non-Class, Non-Class $\rightarrow$ Class, and Random $\rightarrow$ Random, where "Random" represents a mixture of randomly selected tasks *. This design allows us to investigate the performance of selection models when applied across similar and disparate task types, providing insights into their generalizability and effectiveness.
133
+
134
+ Evaluation Metrics. To handle all types of tasks simultaneously, we unify all downstream tasks, including classification and non-classification tasks, using a text-to-text approach (Raffel et al., 2023). For each task, we feed the input text to the target model $F_{\theta}$ and train it to generate the corresponding target text. We choose OPT (Zhang et al., 2022) from three different sizes (e.g. 125m, 350m and $1.3\mathrm{b}^{*}$ ) as our target models $F_{\theta}$ . During training*, $F_{\theta}$ takes the training example $\mathbf{x}_i$ as the input, and is optimised to
135
+
136
+ generate $\mathbf{y}_i$ using the negative likelihood objective function:
137
+
138
+ $$
139
+ \mathcal {L} _ {F _ {\theta}} \left(\mathbf {y} _ {i}\right) = - \sum_ {t = 1} ^ {| \mathbf {y} _ {i} |} \log P _ {F _ {\theta}} \left(y _ {i} ^ {t} \mid \mathbf {x} _ {i}, \mathbf {y} _ {i} ^ {< t}\right) \tag {8}
140
+ $$
141
+
142
+ During inference time, given the test input $\mathbf{x}_{test}$ as well as a set of candidates $\mathcal{C}$ , which is either a set of labels (in classification tasks) or answer options (in non-classification tasks), the $F_{\theta}$ computes the conditional probability of each label $\mathbf{c} \in \mathcal{C}$ , where $\mathbf{c}$ is a sequence of tokens. The label with the maximum conditional probability is returned as a prediction:
143
+
144
+ $$
145
+ \operatorname {a r g m a x} _ {\mathbf {c} \in \mathcal {C}} \left(\sum_ {t = 1} ^ {| \mathbf {c} |} \log P _ {F _ {\theta}} \left(c ^ {t} \mid \mathbf {x} _ {\text {t e x t}}, \mathbf {c} ^ {< t}\right)\right) \tag {9}
146
+ $$
147
+
148
+ Specifically, we use macro-F1 for classification tasks, and accuracy for non-classification tasks in our experiment. The overall performance is then quantified by computing the macro-average of these scores across all tasks, encapsulating both accuracy and macro-F1 metrics. To ensure robustness and reduce sampling bias, each experiment under each splitting setting is replicated with five different random seeds. For each few-shot task, we adopt a uniform approach by randomly selecting $k = 16$ training examples. Following (Min et al., 2022), we did not make perfect label balance between $k$ training examples.
149
+
150
+ Baseline Methods. In this study, we compare our novel augmentation pipeline, Self-LLMDA, with two different categories of data augmentation methods as baselines: Non-LLMDA and Manual-LLMDA. For both Manual-LLMDA and Self-LLMDA, we employ GPT-3.5 Turbo as the backbone LLM. For detailed descriptions of these baseline methods, please see Appendix E. Specifically:
151
+
152
+ - Non-LLMDA methods. This category includes 13 traditional augmentation techniques: Character-Level: Operations such as random swaps, OCR Errors simulation, deletions, insertions, and substitutions. Word-Level: Transformations, including word swaps, deletions, spelling errors, and embedding-based insertions. Contextual-Level: Utilization of language models for word insertions (e.g., using GPT2 (Brown et al., 2020)) and substitutions (e.g., with BERT (Devlin et al., 2018)), and back-translation (Fadaee et al., 2017).
153
+
154
+ <table><tr><td>TextulDA</td><td colspan="3">Class → Class</td><td colspan="3">Class → Non-Class</td><td colspan="3">Non-Class → Class</td><td colspan="3">Random → Random</td></tr><tr><td></td><td>125m</td><td>350m</td><td>1.3b</td><td>125m</td><td>350m</td><td>1.3b</td><td>125m</td><td>350m</td><td>1.3b</td><td>125m</td><td>350m</td><td>1.3b</td></tr><tr><td>Original</td><td>44.80</td><td>41.94</td><td>42.82</td><td>38.49</td><td>42.04</td><td>42.42</td><td>46.49</td><td>44.13</td><td>44.52</td><td>42.73</td><td>42.92</td><td>44.10</td></tr><tr><td rowspan="15">Non-LLMDA</td><td>Char. Swap</td><td>44.94</td><td>42.22</td><td>39.46</td><td>40.56</td><td>42.76</td><td>47.08</td><td>44.69</td><td>44.06</td><td>43.89</td><td>42.45</td><td>42.90</td></tr><tr><td>Char. OCR</td><td>43.72</td><td>43.70</td><td>39.31</td><td>41.02</td><td>43.73</td><td>45.91</td><td>46.02</td><td>45.11</td><td>42.95</td><td>43.02</td><td>43.83</td></tr><tr><td>Char. Delete</td><td>43.98</td><td>43.33</td><td>38.99</td><td>40.50</td><td>43.08</td><td>46.01</td><td>45.04</td><td>44.02</td><td>42.53</td><td>42.77</td><td>43.52</td></tr><tr><td>Char. Insert</td><td>45.03</td><td>43.14</td><td>39.22</td><td>40.61</td><td>42.77</td><td>46.69</td><td>44.61</td><td>42.44</td><td>43.29</td><td>42.86</td><td>42.37</td></tr><tr><td>Char. Subs.</td><td>43.87</td><td>43.07</td><td>39.39</td><td>40.22</td><td>42.46</td><td>46.11</td><td>45.22</td><td>43.25</td><td>43.41</td><td>42.65</td><td>43.08</td></tr><tr><td>Word Swap</td><td>43.83</td><td>44.56</td><td>39.15</td><td>40.84</td><td>43.51</td><td>46.25</td><td>46.21</td><td>44.93</td><td>43.24</td><td>43.54</td><td>44.30</td></tr><tr><td>Word Delete</td><td>44.24</td><td>42.38</td><td>39.54</td><td>40.34</td><td>43.12</td><td>45.70</td><td>44.49</td><td>45.56</td><td>43.41</td><td>42.02</td><td>44.28</td></tr><tr><td>Spell Error</td><td>44.82</td><td>42.66</td><td>38.68</td><td>41.03</td><td>42.85</td><td>46.34</td><td>44.85</td><td>44.97</td><td>42.71</td><td>43.08</td><td>43.71</td></tr><tr><td>GPT2 Insert</td><td>43.37</td><td>43.36</td><td>39.79</td><td>40.92</td><td>43.69</td><td>45.07</td><td>45.93</td><td>46.11</td><td>42.65</td><td>43.07</td><td>44.44</td></tr><tr><td>Word2vec Insert</td><td>46.47</td><td>41.80</td><td>39.67</td><td>40.80</td><td>42.66</td><td>48.36</td><td>45.13</td><td>43.78</td><td>44.18</td><td>42.95</td><td>42.86</td></tr><tr><td>BERT Subs.</td><td>44.88</td><td>44.01</td><td>39.57</td><td>40.23</td><td>42.86</td><td>46.87</td><td>45.32</td><td>46.35</td><td>43.17</td><td>42.92</td><td>43.79</td></tr><tr><td>Word2vec Insert</td><td>44.24</td><td>43.89</td><td>38.90</td><td>40.21</td><td>42.80</td><td>46.17</td><td>45.58</td><td>44.34</td><td>43.07</td><td>42.76</td><td>44.06</td></tr><tr><td>Back Translation</td><td>44.19</td><td>44.00</td><td>39.78</td><td>40.89</td><td>42.96</td><td>45.97</td><td>45.31</td><td>47.39</td><td>43.24</td><td>43.60</td><td>43.95</td></tr><tr><td>Average</td><td>44.42</td><td>43.23</td><td>39.34</td><td>40.62</td><td>43.01</td><td>46.34</td><td>45.26</td><td>44.79</td><td>43.21</td><td>42.89</td><td>43.62</td></tr><tr><td>Best</td><td>46.47</td><td>44.56</td><td>39.79</td><td>41.03</td><td>43.73</td><td>48.36</td><td>46.21</td><td>47.39</td><td>44.18</td><td>43.47</td><td>44.30</td></tr><tr><td rowspan="15">Manual-LLMDA</td><td>Char. Perturb</td><td>44.72</td><td>43.56</td><td>39.39</td><td>40.61</td><td>45.54</td><td>47.02</td><td>45.32</td><td>46.25</td><td>43.68</td><td>43.27</td><td>44.06</td></tr><tr><td>Word Insert/Delete</td><td>44.80</td><td>44.27</td><td>38.81</td><td>40.97</td><td>44.49</td><td>46.58</td><td>45.93</td><td>46.59</td><td>42.95</td><td>43.68</td><td>44.46</td></tr><tr><td>Word Swap</td><td>45.45</td><td>43.88</td><td>39.01</td><td>40.66</td><td>43.28</td><td>47.04</td><td>45.20</td><td>46.80</td><td>43.63</td><td>42.63</td><td>45.79</td></tr><tr><td>Word Replace</td><td>45.29</td><td>45.94</td><td>39.14</td><td>41.05</td><td>43.10</td><td>47.36</td><td>47.98</td><td>47.62</td><td>43.52</td><td>44.57</td><td>45.89</td></tr><tr><td>Grammar Transform</td><td>45.39</td><td>45.62</td><td>39.29</td><td>41.34</td><td>43.00</td><td>46.81</td><td>46.76</td><td>46.41</td><td>43.24</td><td>43.75</td><td>45.53</td></tr><tr><td>Data Mix</td><td>44.63</td><td>44.01</td><td>38.50</td><td>41.29</td><td>43.67</td><td>46.02</td><td>45.68</td><td>43.93</td><td>42.76</td><td>43.26</td><td>43.01</td></tr><tr><td>Paragraph Shuffle</td><td>45.78</td><td>42.03</td><td>39.29</td><td>40.70</td><td>43.28</td><td>47.70</td><td>45.02</td><td>48.02</td><td>44.43</td><td>43.25</td><td>45.41</td></tr><tr><td>Mask Predict</td><td>42.83</td><td>43.15</td><td>39.58</td><td>40.59</td><td>44.05</td><td>46.02</td><td>44.60</td><td>45.70</td><td>42.59</td><td>43.16</td><td>44.64</td></tr><tr><td>Sentence Reorder</td><td>44.18</td><td>43.84</td><td>39.37</td><td>40.76</td><td>43.20</td><td>46.30</td><td>46.35</td><td>48.46</td><td>43.35</td><td>43.70</td><td>45.64</td></tr><tr><td>Contextual Replace</td><td>43.52</td><td>46.26</td><td>38.73</td><td>40.99</td><td>43.49</td><td>45.38</td><td>47.62</td><td>43.92</td><td>42.58</td><td>45.26</td><td>44.76</td></tr><tr><td>Paraphrase</td><td>45.56</td><td>45.30</td><td>39.44</td><td>40.94</td><td>41.09</td><td>48.02</td><td>47.31</td><td>43.99</td><td>43.97</td><td>44.10</td><td>42.80</td></tr><tr><td>POS Augment</td><td>44.97</td><td>44.48</td><td>37.51</td><td>39.12</td><td>41.14</td><td>47.06</td><td>46.07</td><td>47.25</td><td>43.49</td><td>43.21</td><td>45.75</td></tr><tr><td>Back Translation</td><td>45.79</td><td>43.38</td><td>39.18</td><td>41.12</td><td>43.80</td><td>47.02</td><td>45.58</td><td>45.10</td><td>43.36</td><td>43.20</td><td>44.41</td></tr><tr><td>Average</td><td>44.83</td><td>44.28</td><td>39.14</td><td>40.93</td><td>43.50</td><td>46.79</td><td>46.10</td><td>46.15</td><td>43.35</td><td>43.61</td><td>44.78</td></tr><tr><td>Best</td><td>45.79</td><td>46.26</td><td>39.58</td><td>41.34</td><td>44.49</td><td>48.02</td><td>47.98</td><td>48.02</td><td>44.43</td><td>45.26</td><td>45.89</td></tr><tr><td>Self-LLMDA</td><td>51.72</td><td>54.98</td><td>48.80</td><td>40.02</td><td>42.80</td><td>43.80</td><td>50.00</td><td>52.75</td><td>49.48</td><td>46.64</td><td>48.83</td><td>48.95</td></tr></table>
155
+
156
+ Table 1: The performance of different data augmentation methods. Char. and Subs. are the abbreviations of character and substitute, respectively. Underlined indicates best performance under each augmentation method group while Bold indicates the best result of the whole table. In each group, the last two rows represent the aggregated result of the whole group of augmentation methods (e.g. average and best).
157
+
158
+ - Manual-LLMDA methods. This set comprises 13 manually designed augmentation instructions for LLM, including: Character-Level: Perturbations similar to those in Non-LLMDA. Word-Level: Swaps, replacements, and part-of-speech (POS) enhancements. Sentence-Level: Reordering and data mixing strategies. Contextual-Level: Predictive masking, contextual substitutions, and back-translation.
159
+
160
+ We also report the average and best performance of Non-LLMDA and Manual-LLMDA for better comparison. An extensive ablation study of our task-informed selection model, presented in § 5.3.
161
+
162
+ # 5.2 Main Results
163
+
164
+ The analysis of experimental results presented in Tab. 1 reveals several findings: Firstly, there is performance inconsistency among the different instructions from Manual-LLMDA. The impact of augmentation instructions varies across different downstream tasks and models. This highlights the difficulty in creating universally effective data aug-
165
+
166
+ mentation instruction. Secondly, Manual-LLMDA is not always better than Non-LLMDA. In controlled comparisons focusing on specific augmentation topics, Manual-LLMDA's advantages over Non-LLMDA were not clearly evident. For example, in the contexts of "Back Translation" and "Word Swap", Non-LLMDA outperformed Manual-LLMDA in 5 out of 12 and 7 out of 12 cases, respectively. Lastly, the experimental results show the superiority of Self-LLMDA. Our proposed model consistently outperformed these baseline methods, highlighting the effectiveness of integrating automatic instruction generation with targeted task-specific instruction selection. This approach not only optimizes performance but also reduces the manual efforts typically required to design effective augmentation strategies, showcasing the potential of our model in enhancing data augmentation practices.
167
+
168
+ # 5.3 Ablation Study
169
+
170
+ We add an ablation study to understand the impact of two key components in our framework: aug-
171
+
172
+ <table><tr><td>Select. Method</td><td colspan="3">Class→Non-Class</td><td colspan="3">Non-Class→Class</td></tr><tr><td></td><td>125m</td><td>350m</td><td>1.3b</td><td>125m</td><td>350m</td><td>1.3b</td></tr><tr><td>Manual-LLMDA+</td><td>39.62</td><td>41.74</td><td>44.38</td><td>48.02</td><td>48.51</td><td>48.07</td></tr><tr><td>Random-Select</td><td>39.34</td><td>40.31</td><td>42.68</td><td>46.15</td><td>44.34</td><td>43.98</td></tr><tr><td>Empirical-Select</td><td>39.17</td><td>41.18</td><td>43.14</td><td>47.19</td><td>47.30</td><td>44.41</td></tr><tr><td>LLM-Select</td><td>38.77</td><td>41.06</td><td>43.07</td><td>46.81</td><td>48.02</td><td>46.42</td></tr><tr><td>Self-LLMDA</td><td>40.02</td><td>42.80</td><td>43.80</td><td>50.00</td><td>52.75</td><td>49.48</td></tr></table>
173
+
174
+ Table 2: Ablation study of Self-LLMDA.
175
+
176
+ mentation instruction self-generation and the task-informed instruction selection. Firstly, we train a task-informed instruction selection model $S$ on manually-crafted instructions from Manual-LLMDA and named it Manual-LLMDA+ to understand the contribution of the contribution of LLM self-generated augmentation instructions. Secondly, we test the efficacy of our selection model by comparing three alternative selection strategies: (1) Random-select, which randomly select instruction from the pool of augmentation methods for each task; (2) Empirical-select, which selects the prompt that yielded the highest average performance across training tasks, under the assumption that successful prompts on training tasks will generalize well to test tasks; and (3) LLM-Select, which prompts the LLM to choose the most suitable instruction from candidates based on its internal decision-making processes. The Results in Tab. 2 show that Self-LLMDA consistently outperforms these alternative methods, indicating the benefits of instruction self-generation and task-informed selection in enhancing model performance.
177
+
178
+ # 5.4 Hyperparameter Analysis
179
+
180
+ Here, we closely examined the impact of two critical hyperparameters on the training of our task-informed instruction model: $n$ and $m$ . The hyperparameter $n$ specifies the number of augmentation instructions to be sampled for optimizing Eq. 6. It should be noticed that, we only vary $n$ at training time, while at inference, we will calculate the score for all the generated instructions and choose the one with the largest score. On the other hand, $m$ determines the number of examples from the task dataset that are used to represent the task, influencing the model's performance during both the optimization and inference phases. Our analysis, depicted in Fig. 5, highlights several key findings: (1) Optimal Number of Instructions: We found that setting $n = 2$ leads to the best performance, outperforming other configurations. This suggests that a pairwise comparison, as formulated in Eq. 6, is most effective for our model's learning process. (2)
181
+
182
+ ![](images/32fdf2baadc302724c9d94390b5c11ece373e25bcb8737a014ec79f6f9707d16.jpg)
183
+ (a) Class $\rightarrow$ Non-Class
184
+
185
+ ![](images/2cda81379020719efdc9da2b164bee57a9f1f9ef7c14de1b25030970169bddcf.jpg)
186
+ (b) Non-Class $\rightarrow$ Class
187
+
188
+ ![](images/d530e17aaa204f6639c90e2954602f17c8300fcc6885e3b371c402ca7b4ad825.jpg)
189
+ Figure 4: Hyperparameter analysis of $n$ , which dictates the number of augmentation instructions sampled during the training of the selection model.
190
+ Figure 5: Analysis of the hyperparameter $m$ , which determines the number of examples randomly sampled to represent a task.
191
+
192
+ ![](images/eafacb531676a010bbe6f3296b46f4202a5b0479a6a74109215cae574be62ba3.jpg)
193
+ (a) Class $\rightarrow$ Non-Class
194
+ (b) Non-Class $\rightarrow$ Class
195
+
196
+ Representative Examples: Interestingly, a smaller number of examples $(m)$ appear to better capture the essence of the tasks. This observation indicates that a larger set of examples could introduce noise, potentially detracting from the model's ability to accurately represent tasks for instruction selection.
197
+
198
+ # 5.5 In-Depth Analysis of the Task-Informed Instruction Selection Model
199
+
200
+ In this section, we provide a detailed analysis of the performance and generalization capabilities of our instruction selection model $S$ , focusing on its generalizability to unknown augmentation instructions, unknown target models, and the specific case studies of the augmentation instructions it selects.
201
+
202
+ Generalization to Unknown Augmentation Instructions. In this analysis, we delve into the selection model's adaptability to unknown augmentation instructions by simulating a dynamic environment where new instructions are generated asynchronously by the LLMs. This scenario mirrors practical applications where the augmentation instruction set can expand without necessitating retraining of the selection model. To test this, we constrained the training phase of the selection model to a limited subset of self-generated augmentation instructions (30% of all generated by the LLMs), utilizing the whole generated instructions for evaluation at inference time.
203
+
204
+ As the results shown in Fig. 6, we can ob
205
+
206
+ ![](images/512953d8abb8e23169b4c70d2bb4c2344ca366d92ddfa7339664b24cc0e58cd3.jpg)
207
+ (a) Class $\rightarrow$ Non-Class.
208
+
209
+ ![](images/a5fee75af7d9741756adbc5f772f0caaddd5729c7800471356e22a9e3193846c.jpg)
210
+ (b) Non-Class $\rightarrow$ Class.
211
+ Figure 6: Result of generalization to unknown augmentation instruction selection.
212
+
213
+ serve a performance improvement of our selection model over the best performance of Non-LLMDA and Manual-LLMDA. This indicates the robustness of our selection model in adapting to incremental augmentation instructions, effectively selecting suitable instructions even when faced with previously unknown instructions. These observations highlight the efficacy of our selection model in a dynamic augmentation scenario.
214
+
215
+ Generalization to Unknown Target Models. Our study extended to evaluate the adaptability of our task-informed selection model across diverse target models. By applying the selection model, initially trained on the task performance of a specific target model, to different models. The results of these experiments are presented in Tab. 3. Our findings show that the augmentation instructions selected by our model remain effective even when applied to different target models. Notably, in most scenarios, our model Self-LLMDA, when transferred to alternate target models, outperformed the best results obtained using Non-LLMDA and Manual-LLMDA. This indicates that the underlying pattern determining instruction effectiveness via our instruction selection model is transferable.
216
+
217
+ <table><tr><td rowspan="2">Train.</td><td colspan="3">Class → Non-Class</td><td colspan="3">Non-Class → Class</td></tr><tr><td>125m</td><td>350m</td><td>1.3b</td><td>125m</td><td>350m</td><td>1.3b</td></tr><tr><td>Best Non-LLMDA</td><td>39.79</td><td>41.03</td><td>43.73</td><td>48.36</td><td>46.21</td><td>47.39</td></tr><tr><td>Best Manual-LLMDA</td><td>39.58</td><td>41.34</td><td>44.49</td><td>48.02</td><td>47.98</td><td>48.02</td></tr><tr><td>125m</td><td>40.02</td><td>41.97</td><td>43.56</td><td>50.00</td><td>54.12</td><td>49.83</td></tr><tr><td>350m</td><td>39.96</td><td>42.80</td><td>43.66</td><td>49.96</td><td>52.75</td><td>48.82</td></tr><tr><td>1.3b</td><td>39.85</td><td>42.42</td><td>43.80</td><td>49.04</td><td>51.22</td><td>49.48</td></tr></table>
218
+
219
+ Table 3: Transferability of the Task-Informed Selection Model. Our selection model, initially trained on a specific target model (indicated by each row in the second group), when applied to alternate target models (represented in each column).
220
+
221
+ Analysis of Selected Instructions. We conducted a detailed analysis of the augmentation instructions chosen by our selection model, and the findings visualized in Fig. 7. The key insights from this analysis are as follows: (1) Diversity of Selected In
222
+
223
+ ![](images/bfa5a5f77a3f211872c1befb79bdb140a495a99806e4e6506363d08373cb3693.jpg)
224
+ (a) Class $\rightarrow$ Non-Class.
225
+ Figure 7: Selected augmentation instructions from task-informed augmentation selection model.
226
+
227
+ ![](images/3b1fe28c6b513c270e6f5260da0d948c386cff2a629bfad3518deac48ea2d90c.jpg)
228
+ (b) Non-Class $\rightarrow$ Class.
229
+
230
+ **Structions:** The distribution of selected instructions showcases a wide variety in the types of augmentations chosen by the model, with 3, 2, and 6 unique data augmentation instructions identified for the $125\mathrm{m}$ , $350\mathrm{m}$ , and $1.3\mathrm{b}$ models under Class $\rightarrow$ Non-Class, respectively. This demonstrates the model's ability to adapt and select from a broad spectrum of augmentation strategies to meet the specific requirements of different tasks. (2) Variability across Models: The selection patterns exhibit notable differences when the model is applied to various target models. This variability indicates preference differences across different target models. (3) Preference for Paraphrase-Based Instructions: A significant portion of the selected instructions fall into the category of paraphrase-based augmentations, such as "Text Paraphrase", "Paraphrase", "Contextual Paraphrase", and "Sentence Paraphrase". This preference not only highlights the effectiveness and general applicability of paraphrase-based augmentations but also illustrates our task-informed selection model's nuanced capability to discern and recommend the most suitable paraphrase variation for a given task.
231
+
232
+ # 6 Conclusion
233
+
234
+ In this work, we introduced Self-LLMDA, a novel framework that leverages the capabilities of LLMs for textual data augmentation. Our approach addresses the challenges associated with traditional data augmentation methods and the limitations of manual instruction generation in LLM-based augmentation. Self-LLMDA automates the generation and selection of augmentation instructions, thereby significantly enhancing the quality and applicability of augmented data across diverse downstream tasks. Tested across 26 diverse few-shot learning tasks, Self-LLMDA consistently outperforms both Non-LLMDA and Manual-LLMDA methods, showcasing its effectiveness and applicability.
235
+
236
+ # 7 Limitations
237
+
238
+ This study acknowledges several constraints that delineate the scope of our current work and outline directions for future research:
239
+
240
+ # - Evaluation on a Limited Range of LLMs:
241
+
242
+ Our experiments were conducted primarily with GPT 3.5 Turbo due to the high costs associated with using OpenAI models. While promising results in Tab. 1 suggest that our proposed Self-LLMDA method could potentially perform even better on more advanced models like GPT 4 Turbo, comprehensive testing was not feasible. Similarly, the computational demands of evaluating open-source LLMs such as LLAMA-70b-chat (Touvron et al., 2023), coupled with the extensive number of tasks in our study, exceeded our resources. Despite these limitations, we are optimistic that Self-LLMDA would exhibit enhanced performance across a broader spectrum of LLMs.
243
+ - Meta-Prompting Exploration: Within the Self-LLMDA framework, we employed one meta-prompt to guide the LLM in generating diverse and relevant augmentation instructions. However, our exploration of meta-prompting techniques was limited. We acknowledge that more sophisticated prompt engineering could further refine the quality and effectiveness of generated instructions. Investigating more advanced meta-prompting strategies remains an area for future exploration.
244
+ - Analysis of Ensemble Augmentation Methods: Our research did not investigate the potential benefits of combining multiple sets of augmented data (e.g., $\mathcal{D} \cup \mathcal{D}_1' \cup \mathcal{D}_2'$ ). Such ensemble approaches introduce additional complexities, such as determining the optimal number of augmentation instructions to include. While we hypothesize that ensemble augmentation could improve model performance, this aspect falls outside the current study's scope and is earmarked for subsequent investigation.
245
+
246
+ # References
247
+
248
+ Markus Bayer, Marc-Andre Kaufhold, and Christian Reuter. 2022. A survey on data augmentation for text classification. ACM Computing Surveys, 55(7):1-39.
249
+
250
+ Yonatan Belinkov and Yonatan Bisk. 2018. Synthetic and natural noise both break neural machine translation.
251
+ 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.
252
+ Qiao Cheng, Jin Huang, and Yitao Duan. 2022. Semantically consistent data augmentation for neural machine translation via conditional masked language model.
253
+ Hyung Won Chung, Le Hou, Shayne Longpre, Barret Zoph, Yi Tay, William Fedus, Yunxuan Li, Xuezhi Wang, Mostafa Dehghani, Siddhartha Brahma, Albert Webson, Shixiang Shane Gu, Zhuyun Dai, Mirac Suzgun, Xinyun Chen, Aakanksha Chowdhery, Alex Castro-Ros, Marie Pellat, Kevin Robinson, Dasha Valter, 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. 2022. Scaling instruction-finetuned language models.
254
+ John Joon Young Chung, Ece Kamar, and Saleema Amershi. 2023. Increasing diversity while maintaining accuracy: Text data generation with large language models and human interventions. arXiv preprint arXiv:2306.04140.
255
+ Claude Coulombe. 2018. Text data augmentation made simple by leveraging nlp cloud apis.
256
+ Haixing Dai, Zheng Liu, Wenxiong Liao, Xiaoke Huang, Zihao Wu, Lin Zhao, Wei Liu, Ninghao Liu, Sheng Li, Dajiang Zhu, Hongmin Cai, Quanzheng Li, Dinggang Shen, Tianming Liu, and Xiang Li. 2023. Chataug: Leveraging chatgpt for text data augmentation. ArXiv, abs/2302.13007.
257
+ Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. 2018. Bert: Pre-training of deep bidirectional transformers for language understanding. arXiv preprint arXiv:1810.04805.
258
+ Aleksandra Edwards, Asahi Ushio, Jose Camacho-Collados, Hélène de Ribaupierre, and Alun Preece. 2023. Guiding generative language models for data augmentation in few-shot text classification.
259
+ Marzieh Fadaee, Arianna Bisazza, and Christof Monz. 2017. Data augmentation for low-resource neural machine translation. arXiv preprint arXiv:1705.00440.
260
+ Tianyu Gao, Xingcheng Yao, and Danqi Chen. 2022. Simcse: Simple contrastive learning of sentence embeddings.
261
+
262
+ Hongyu Guo, Yongyi Mao, and Richong Zhang. 2019. Augmenting data with mixup for sentence classification: An empirical study.
263
+ Yoichi Ishibashi, Danushka Bollegala, Katsuhito Sudoh, and Satoshi Nakamura. 2023. Evaluating the robustness of discrete prompts. In Proceedings of the 17th Conference of the European Chapter of the Association for Computational Linguistics, pages 2373-2384, Dubrovnik, Croatia. Association for Computational Linguistics.
264
+ Mandar Joshi, Danqi Chen, Yinhan Liu, Daniel S. Weld, Luke Zettlemoyer, and Omer Levy. 2020. Spanbert: Improving pre-training by representing and predicting spans.
265
+ Akbar Karimi, Leonardo Rossi, and Andrea Prati. 2021. AEDA: An easier data augmentation technique for text classification. In *Findings of the Association for Computational Linguistics: EMNLP* 2021, pages 2748-2754, Punta Cana, Dominican Republic. Association for Computational Linguistics.
266
+ Daniel Khashabi, Sewon Min, Tushar Khot, Ashish Sabharwal, Oyvind Tafjord, Peter Clark, and Hannaneh Hajishirzi. 2020. UNIFIEDQA: Crossing format boundaries with a single QA system. In Findings of the Association for Computational Linguistics: EMNLP 2020, pages 1896-1907, Online. Association for Computational Linguistics.
267
+ Varun Kumar, Ashutosh Choudhary, and Eunah Cho. 2021. Data augmentation using pre-trained transformer models.
268
+ Gakuto Kurata, Bing Xiang, and Bowen Zhou. 2016. Labeled Data Generation with Encoder-Decoder LSTM for Semantic Slot Filling. In Proc. Interspeech 2016, pages 725-729.
269
+ Mike Lewis, Yinhan Liu, Naman Goyal, Marjan Ghazvininejad, Abdelrahman Mohamed, Omer Levy, Ves Stoyanov, and Luke Zettlemoyer. 2019. Bart: Denoising sequence-to-sequence pre-training for natural language generation, translation, and comprehension.
270
+ Zhuoyan Li, Hangxiao Zhu, Zhuoran Lu, and Ming Yin. 2023. Synthetic data generation with large language models for text classification: Potential and limitations. arXiv preprint arXiv:2310.07849.
271
+ Chin-Yew Lin. 2004. ROUGE: A package for automatic evaluation of summaries. In Text Summarization Branches Out, pages 74-81, Barcelona, Spain. Association for Computational Linguistics.
272
+ 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.
273
+ Ilya Loshchilov and Frank Hutter. 2019. Decoupled weight decay regularization.
274
+ Edward Ma. 2019. Nlp augmentation. https://github.com/makcedward/nlpaug.
275
+
276
+ Yu Meng, Jiaxin Huang, Yu Zhang, and Jiawei Han. 2022. Generating training data with language models: Towards zero-shot language understanding.
277
+ Todor Mihaylov, Peter Clark, Tushar Khot, and Ashish Sabharwal. 2018. Can a suit of armor conduct electricity? a new dataset for open book question answering.
278
+ Sewon Min, Mike Lewis, Luke Zettlemoyer, and Hannaneh Hajishirzi. 2022. MetaICL: Learning to learn in context. In Proceedings of the 2022 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pages 2791-2809, Seattle, United States. Association for Computational Linguistics.
279
+ John X. Morris, Eli Lifland, Jin Yong Yoo, Jake Grigsby, Di Jin, and Yanjun Qi. 2020. Textattack: A framework for adversarial attacks, data augmentation, and adversarial training in nlp.
280
+ Frédéric Piedboeuf and Philippe Langlais. 2023. Is ChatGPT the ultimate data augmentation algorithm? In Findings of the Association for Computational Linguistics: EMNLP 2023, pages 15606-15615, Singapore. Association for Computational Linguistics.
281
+ 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.
282
+ Colin Raffel, Noam Shazeer, Adam Roberts, Katherine Lee, Sharan Narang, Michael Matena, Yanqi Zhou, Wei Li, and Peter J. Liu. 2023. Exploring the limits of transfer learning with a unified text-to-text transformer.
283
+ 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.
284
+ Noam Shazeer and Mitchell Stern. 2018. Adafactor: Adaptive learning rates with sublinear memory cost. In International Conference on Machine Learning, pages 4596-4604. PMLR.
285
+ Hugo Touvron, Thibaut Lavril, Gautier Izacard, Xavier Martinet, Marie-Anne Lachaux, Timothée 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.
286
+ Solomon Ubani, Suleyman Olcay Polat, and Rodney Nielsen. 2023. Zeroshotdataaug: Generating and augmenting training data with chatgpt.
287
+ Alex Wang, Amanpreet Singh, Julian Michael, Felix Hill, Omer Levy, and Samuel R. Bowman. 2019. Glue: A multi-task benchmark and analysis platform for natural language understanding.
288
+
289
+ Yizhong Wang, Yeganeh Kordi, Swaroop Mishra, Alisa Liu, Noah A Smith, Daniel Khashabi, and Hannaneh Hajishirzi. 2022. Self-instruct: Aligning language model with self generated instructions. arXiv preprint arXiv:2212.10560.
290
+ Jason Wei and Kai Zou. 2019. Eda: Easy data augmentation techniques for boosting performance on text classification tasks.
291
+ Xing Wu, Shangwen Lv, Liangjun Zang, Jizhong Han, and Songlin Hu. 2018. Conditional bert contextual augmentation.
292
+ Jiacheng Ye, Jiahui Gao, Qintong Li, Hang Xu, Jiangtao Feng, Zhiyong Wu, Tao Yu, and Lingpeng Kong. 2022. Zerogen: Efficient zero-shot learning via dataset generation.
293
+ Qinyuan Ye, Bill Yuchen Lin, and Xiang Ren. 2021. CrossFit: A few-shot learning challenge for cross-task generalization in NLP. pages 7163-7189.
294
+ Kang Min Yoo, Dongju Park, Jaewook Kang, Sang-Woo Lee, and Woomyeong Park. 2021. Gpt3mix: Leveraging large-scale language models for text augmentation.
295
+ Yue Yu, Yuchen Zhuang, Jieyu Zhang, Yu Meng, Alexander Ratner, Ranjay Krishna, Jiaming Shen, and Chao Zhang. 2023. Large language model as attributed training data generator: A tale of diversity and bias.
296
+ Susan Zhang, Stephen Roller, Naman Goyal, Mikel Artetxe, Moya Chen, Shuohui Chen, Christopher Dewan, Mona Diab, Xian Li, Xi Victoria Lin, Todor Mihaylov, Myle Ott, Sam Shleifer, Kurt Shuster, Daniel Simig, Punit Singh Koura, Anjali Sridhar, Tianlu Wang, and Luke Zettlemoyer. 2022. Opt: Open pre-trained transformer language models.
297
+ Xiang Zhang, Junbo Zhao, and Yann LeCun. 2016. Character-level convolutional networks for text classification.
298
+ Kaijie Zhu, Jindong Wang, Jiaheng Zhou, Zichen Wang, Hao Chen, Yidong Wang, Linyi Yang, Wei Ye, Yue Zhang, Neil Zhenqiang Gong, and Xing Xie. 2023. Promptbench: Towards evaluating the robustness of large language models on adversarial prompts.
299
+
300
+ # A Detailed Experiment Settings
301
+
302
+ Generation Configuration. We utilize gpt-3.5-turbo as our backbone LLM for augmentation instruction generation and data augmentation. We set the temperature for both of them as 0.7. For the instruction generation, we follow the generation hyper-parameter setting from Wang et al. (2022). For data augmentation, we utilize the default generation hyper-parameter from Chat Completion. The whole experiment including generating augmentation instructions and generating augmentation data costs us $82 USD in total, according to OpenAI's pricing (Input$ 0.0005 / 1K tokens and output $0.0015 / 1K tokens). However, the total experiment cost around $200 USD for debugging and exploration.
303
+
304
+ Meta Prompts for Data Augmentation As shown in step ③ in Fig. 2, we also need a meta prompt to encourage Self-LLMDA to augment high quality data. The main reason for this meta-prompt setting is because in some augmentation instructions they will discuss some external tools like word-embedding, other language models, if we did not provide the meta-prompt, the LLM will reject the generation of augmented data. The design of meta prompt is as follows:
305
+
306
+ Please do the following data augmentation steps to the text delimited by triple backsticks. If you need any external resources or data, you can just simulate the environment by yourself and finish that step based on your own knowledge since you are the best language model in word. Augmentation Instructions: $\mathbf{I}_j$ , Input Data: $\mathbf{x}_i\{\mathbf{I}_{seed}\}$
307
+
308
+ Task-informed Instruction Selection. The instruction ranking model is initialized with FLAN-T5-Large(Radford et al., 2019) and is trained using Adafactor (Shazeer and Stern, 2018) with learning rate 5e-5 and dropout 0.1. We train the selection model for 100 epochs and set the early stop with patience 20 epochs. We employ the validation set from training tasks to select the best checkpoint. The search space for different hyperparameter analysis are as follows:
309
+
310
+ Target Model Finetuning. We use OPT (Zhang et al., 2022) from $125\mathrm{m}$ , $350\mathrm{m}$ , 1.3b different sizes. For all of them we use AdamW(Loshchilov and Hutter, 2019) as our optimizer with learning rate 5e-5
311
+
312
+ <table><tr><td>Symbol</td><td>Description</td><td>Search Space</td></tr><tr><td>n</td><td>Number of sampled augmentation instruction</td><td>{2,3,4,5}</td></tr><tr><td>m</td><td>Number of sampled examples from task dataset</td><td>{1,2,3,4}</td></tr><tr><td>-</td><td>batch size</td><td>{4,8,16}</td></tr><tr><td>-</td><td>epochs</td><td>100</td></tr></table>
313
+
314
+ with 10 training epochs. Due to the constraint of GPU memory, for $125\mathrm{m}$ and $350\mathrm{m}$ we set the batch size as 8, while 1.3b we set the batch size as 2. All these experiments is tested on one NVIDIA A100 A100-40G GPU cards.
315
+
316
+ # B Analysis of Self-Generated Instructions
317
+
318
+ In our analysis, we delve into the characteristics and diversity of the self-generated augmentation prompts created by Manual-LLMDA.
319
+
320
+ Statistical Information. To facilitate a structured examination, we categorize these prompts based on the textual data augmentation taxonomy outlined by Bayer et al. (2022). The distribution and basic statistics of these various augmentation methods are detailed in Tab. 5.
321
+
322
+ Table 4: The search space of augmentation selection.
323
+
324
+ <table><tr><td>Augmentation Type</td><td>Count</td><td>AVG Length</td></tr><tr><td>Manual - LLMDA</td><td>13</td><td>28.15</td></tr><tr><td>- character level</td><td>1</td><td>32.00</td></tr><tr><td>- word level</td><td>3</td><td>20.67</td></tr><tr><td>- phrase level</td><td>4</td><td>31.75</td></tr><tr><td>- document level</td><td>5</td><td>29.00</td></tr><tr><td>Manual - LLMDA</td><td>51</td><td>25.58</td></tr><tr><td>- misc.</td><td>1</td><td>22.00</td></tr><tr><td>- character level</td><td>2</td><td>24.50</td></tr><tr><td>- word level</td><td>10</td><td>22.80</td></tr><tr><td>- phrase level</td><td>18</td><td>26.72</td></tr><tr><td>- document level</td><td>20</td><td>26.25</td></tr></table>
325
+
326
+ Table 5: Statistics of augmentation prompts.
327
+
328
+ Naming Conventions. A notable aspect of our analysis involves examining the naming conventions of the augmentation methods. Recognizing that the method names often provide a high-level summary of the augmentation approach (e.g., <method name>), we further explore the linguistic patterns within these names. Specifically, we conduct an analysis focusing on the first and last words of each method name. This approach allows us to gain insights into the thematic and functional aspects of the augmentation methods. The distribution of these first and last words in method names is visually represented in Fig. 8. This visual representation aids in understanding the range and focus of the augmentation techniques generated by Manua1-LLMDA.
329
+
330
+ ![](images/cf2944d5150c08f4f45328d1b9f7702cbe531bbc7407d57beb9c744454602c42.jpg)
331
+ (a) First word.
332
+
333
+ ![](images/992a26ce2875af3e62d82a87748f2c1ffe8a3496804afd541fc041207bab41d0.jpg)
334
+ (b) Last word.
335
+ Figure 8: The first words and last words from the Chat-Self. We filter these words by appearing more than once.
336
+
337
+ By analyzing these key linguistic elements, we aim to shed light on the creative breadth and thematic focus of the self-generated augmentation instructions.
338
+
339
+ ![](images/df77fafe5ef586e7d9ed77c5dd1865c9b282833b7fff77424209f612da85f2cc.jpg)
340
+ Figure 9: Distribution of the ROUGE-L scores between generated instructions and their most similar human-designed instructions.
341
+
342
+ # C Analysis of Generated Data Across Different Augmentation Methods
343
+
344
+ In this analysis, we aim to discern the differences among the original dataset, non-LLM augmented data, data augmented via human-designed instructions, and data augmented using Manual-LLMDA generated instructions. Our focus is on the surface-level characteristics of the augmented content, and we consolidate data across all tasks for a comprehensive view. Key observations from the analysis, as detailed in Tab. 6, include the following:
345
+
346
+ Length of Content. Data augmented by LLM-based methods, on average, exhibits longer content compared to both the original and traditionally augmented datasets. This increase in length could offer a broader spectrum of training examples, potentially aiding in better generalization of target models. However, it also introduces a challenge of dataset inconsistency and the risk of adding unwanted variations.
347
+
348
+ Perplexity Scores. Interestingly, LLM-augmented content achieves lower perplexity scores (as measured on GPT2-small) compared to traditional augmentation methods. This suggests that the target model like GPT2-small has a better grasp of content augmented by LLMs. A possible explanation for the higher perplexity scores observed in non-LLM text augmentations is that the character and word-level changes might introduce new, irrelevant tokens into the text, thereby increasing complexity.
349
+
350
+ Closeness to Original Examples. Compared to non-LLM augmentation methods, LLM-based augmentations tend to produce content that is more closely related or less diverse relative to the original examples. This observation points to a potential trade-off between relevance and diversity in the augmented content generated by LLMs.
351
+
352
+ <table><tr><td>Metrics</td><td>Method</td><td>Mean</td><td>Std.</td><td>25%</td><td>50%</td><td>75%</td></tr><tr><td rowspan="4">Sentiment</td><td>Ori.</td><td>0.05</td><td>0.24</td><td>0.00</td><td>0.00</td><td>0.14</td></tr><tr><td>Traditional</td><td>0.05</td><td>0.23</td><td>0.00</td><td>0.00</td><td>0.12</td></tr><tr><td>Human</td><td>0.06</td><td>0.23</td><td>0.00</td><td>0.00</td><td>0.15</td></tr><tr><td>ChatGPT</td><td>0.06</td><td>0.23</td><td>0.00</td><td>0.00</td><td>0.16</td></tr><tr><td rowspan="2">Grammar</td><td>Ori.</td><td>1.50</td><td>2.34</td><td>0.00</td><td>1.00</td><td>2.00</td></tr><tr><td>Traditional</td><td>4.92</td><td>5.02</td><td>2.00</td><td>4.00</td><td>7.00</td></tr><tr><td rowspan="2">Error</td><td>Human</td><td>7.78</td><td>47.76</td><td>0.00</td><td>1.00</td><td>4.00</td></tr><tr><td>ChatGPT</td><td>4.19</td><td>27.51</td><td>0.00</td><td>1.00</td><td>3.00</td></tr><tr><td rowspan="4">Words</td><td>Ori.</td><td>29.06</td><td>38.84</td><td>11.00</td><td>20.00</td><td>34.00</td></tr><tr><td>Non-LLMDA</td><td>30.01</td><td>39.01</td><td>11.00</td><td>21.00</td><td>36.00</td></tr><tr><td>Manual-LLMDA</td><td>95.34</td><td>285.95</td><td>14.00</td><td>30.00</td><td>71.00</td></tr><tr><td>Self-LLMDA</td><td>66.04</td><td>182.91</td><td>14.00</td><td>27.00</td><td>57.00</td></tr><tr><td>Perplexity</td><td>Ori.</td><td>530.13</td><td>5867.93</td><td>46.42</td><td>93.78</td><td>253.85</td></tr><tr><td>On</td><td>Non-LLMDA</td><td>1354.91</td><td>5912.87</td><td>231.22</td><td>595.03</td><td>1305.86</td></tr><tr><td rowspan="2">GPT2-small</td><td>Manual-LLMDA</td><td>614.80</td><td>12284.76</td><td>17.72</td><td>58.94</td><td>184.42</td></tr><tr><td>Self-LLMDA</td><td>491.83</td><td>9715.57</td><td>21.28</td><td>59.85</td><td>173.28</td></tr><tr><td rowspan="3">Distance to Original</td><td>Non-LLMDA</td><td>0.26</td><td>0.15</td><td>0.12</td><td>0.25</td><td>0.39</td></tr><tr><td>Manual-LLMDA</td><td>0.17</td><td>0.04</td><td>0.15</td><td>0.17</td><td>0.18</td></tr><tr><td>Self-LLMDA</td><td>0.15</td><td>0.05</td><td>0.12</td><td>0.15</td><td>0.18</td></tr></table>
353
+
354
+ Table 6: Characteristics of augmented data.
355
+
356
+ <table><tr><td>Aug. Type</td><td>small</td><td>medium</td><td>large</td></tr><tr><td>Trad.</td><td>42.37/44.18</td><td>46.92/49.72</td><td>44.81/47.33</td></tr><tr><td>Human.</td><td>42.43/44.52</td><td>47.25/49.52</td><td>48.44/53.32</td></tr><tr><td>LLM.</td><td>42.03/48.47</td><td>47.80/51.09</td><td>45.88/52.17</td></tr></table>
357
+
358
+ Table 7: Main results, using target models from GPT2 family. Two numbers indicate the single best augmentation method across tasks and the task specific best augmentation method. Bold indicates the best average result except results.
359
+
360
+ Augmentation Instruction Pitfalls Across Tasks The effectiveness of augmentation instructions can vary depending on the specific characteristics of the tasks at hand (Ribeiro et al., 2020; Wei and Zou, 2019). To illustrate this, we present a case study focusing on the augmentation instruction Pronoun replacement: replace pronouns in the text with their corresponding nouns or vice versa, maintaining the
361
+
362
+ semantic meaning of the sentence. For the sake of brevity, we will use the abbreviation PR to refer to pronoun replacement. We consider two categories of tasks: text entailment (TE) and question answering (QA). As shown in Tab. 8, the results indicate that PR yields suboptimal performance on TE tasks, while it achieves good performance on QA tasks. This discrepancy can be attributed to the inherent characteristics of these tasks. TE tasks heavily rely on capturing the overall semantic meaning and logical relationships within the text, which may not always be preserved when applying pronoun replacement (Gao et al., 2022). In contrast, QA tasks aim to locate and provide specific information relevant to the given question (Joshi et al., 2020). By replacing pronouns with their corresponding nouns, the model can more easily identify the relevant entities and establish a clearer connection between the question and the answer, ultimately benefiting the QA task performance.
363
+
364
+ <table><tr><td>Type</td><td>Task</td><td>Rank (/51)</td></tr><tr><td rowspan="4">TE</td><td>glue-mrpc</td><td>48</td></tr><tr><td>glue-rte</td><td>44</td></tr><tr><td>glue-wnli</td><td>33</td></tr><tr><td>medicalQuestions_pairs</td><td>48</td></tr><tr><td rowspan="5">QA</td><td>qasc</td><td>1</td></tr><tr><td>openbookqa</td><td>27</td></tr><tr><td>commonsense_qa</td><td>4</td></tr><tr><td>quartz-no_knowledge</td><td>34</td></tr><tr><td>quartz-with_knowledge</td><td>9</td></tr></table>
365
+
366
+ Table 8: Performance comparison of the pronoun replacement (PR) augmentation instruction on text entailment (TE) and question answering (QA) tasks.
367
+
368
+ # D Dataset Collection
369
+
370
+ In Tab. 9, we list all 26 tasks and how we splitting them into training and testing for evaluating the model generalization to unknown downstream tasks. Each task will have 16 training and validation examples but with full test examples. We utilize the code from CrossFit(Ye et al., 2021) to extract and split the training, validation and testing for each task.
371
+
372
+ # E Details of Baseline Methods
373
+
374
+ # E.1 Augmentation Methods of Non-LLMDA
375
+
376
+ All of the implementation of Non-LLMDA are from Ma (2019). Here is an elaboration on each of the mentioned Non-LLMDA augmentation methods:
377
+
378
+ Character-Level Augmentations Random Swap (Belinkov and Bisk, 2018): This involves swapping adjacent characters within words to simulate typos that might occur during typing. For example, "example" might become "exmaple". OCR Replace: Simulating errors commonly introduced by Optical Character Recognition (OCR) software when digitizing text. Characters that look similar, like 'o' and '0' or '1' and '1', might be substituted for one another. Delete: Randomly removing characters from words to mimic typographical errors or omissions. Insert: Adding extra characters into words at random positions, simulating common typos or spelling errors. Substitute: Replacing characters in words with other characters, not necessarily similar in appearance, to create variations in the text.
379
+
380
+ Word-Level Augmentations. Swap (Wei and Zou, 2019): Changing the positions of two adjacent words in a sentence to add syntactic variability while largely preserving the sentence's meaning. Delete: Removing words from sentences randomly to simulate information loss and encourage the model to learn from incomplete data. Spell Error (Coulombe, 2018): Introducing common spelling mistakes into words to mimic human error and increase the model's exposure to varied spellings. Word2Vector Insert (Morris et al., 2020): Identifying suitable locations in a sentence to insert synonyms or related words based on word embeddings (like word2vec representations), enhancing semantic diversity.
381
+
382
+ Contextual-Level Augmentations Insert Word using GPT2 (Kumar et al., 2021): Leveraging a pretrained model like GPT2 to generate contextually relevant words to insert into sentences, increasing the complexity and variability of the sentence structures. Substitute Word using BERT (Kumar et al., 2021): Using a model like BERT to identify and replace words with contextually appropriate synonyms or related terms, maintaining the sentence's overall meaning while altering its surface form. Back-Translation (Fadaee et al., 2017): Translating a sentence into another language and then back into the original language. This process often introduces syntactic and lexical variations, providing a paraphrased version of the original sentence that retains its semantic content.
383
+
384
+ <table><tr><td>Category</td><td>Train/Test</td><td colspan="4">Task Names</td></tr><tr><td rowspan="2">Class→Class</td><td>Train</td><td>financial Phrasebank</td><td>ethos-religion</td><td>glue-wnli</td><td>glue-mrpc</td></tr><tr><td>Test</td><td>tweet.eval-stance_feminist ethos-race superglue-cb</td><td>climate_fever tweet.eval-stance_atheism ethos-national_origin</td><td>poem_sentiment sick medicalquestions_pairs</td><td>tweet.eval-hate glue-rt hateSpeech18</td></tr><tr><td rowspan="2">Class→Non-Class</td><td>Train</td><td>tweet.eval-stance_atheism tweet.eval-stance_feminist glue-rt sick</td><td>superglue-cb climate_fever ethos-national.origin poem_sentiment</td><td>financial Phrasebank glue-mrpc glue-wnli hateSpeech18</td><td>ethos-religion tweet.eval-hate medical/questions_pairs ethos-race</td></tr><tr><td>Test</td><td>quarel superglue-copa quartz-with knowledge</td><td>codah qasc commonsense_qa</td><td>ai2.arc quartz-no_knowledge</td><td>openbookqa dream</td></tr><tr><td rowspan="2">Non-Class→Class</td><td>Train</td><td>quarel superglue-copa quartz-with knowledge</td><td>codah qasc commonsense_qa</td><td>ai2.arc quartz-no_knowledge</td><td>openbookqa dream</td></tr><tr><td>Test</td><td>tweet.eval-stance_atheism tweet.eval-stance_feminist glue-rtseick</td><td>superglue-cb climate_fever ethos-national.origin poem_sentiment</td><td>financial Phrasebank glue-mrpc glue-wnli hateSpeech18</td><td>ethos-religion tweet.eval-hate medical/questions_pairs ethos-race</td></tr><tr><td rowspan="2">Random→Random</td><td>Train</td><td>quartz-with knowledge financial Phrasebank</td><td>tweet.eval-stance_feminist ai2_arc</td><td>codah superglue-cb</td><td>ethos-race</td></tr><tr><td>Test</td><td>quartz-no_knowledge glue-rt gleamrpc climate_fever tweet.eval-stance_atheism</td><td>hateSpeech18 commonsense_qa poem_sentiment tweet.eval-hate openbookqa</td><td>medical这些问题_pairs superglue-copa quarel gasc sick</td><td>ethos-religion ethos-national_orig dream glue-wnli</td></tr></table>
385
+
386
+ Table 9: All tasks used in this paper. We split them into training and testing sets under different experiment setting.
387
+
388
+ # F Additional Experiment
389
+
390
+ We also compare our method with other data augmentation techniques from Non-LLMDA and Manual-LLMDA. The Non-LLMDA includes EDA (Wei and Zou, 2019) and AEDA (Karimi et al., 2021), while Manual-LLMDA includes GPT3Mix (Yoo et al., 2021) and ZeroGen (Ye et al., 2022). As shown in Tab. 10, our proposed method Self-LLMDA significantly outperforms these baseline methods in the Class $\rightarrow$ Class and Random $\rightarrow$ Random settings. However, in the Non-Class $\rightarrow$ Class setting, Self-LLMDA falls behind GPT3Mix. This may indicate suboptimal transferability of Self-LLMDA in this specific scenario. It is worth noting that GPT3Mix is designed specifically for classification tasks, whereas Self-LLMDA can be applied to a wide range of text-related tasks, demonstrating its versatility and broader applicability.
391
+
392
+ # F.1 Augmentation Instructions of Manual-LLMDA
393
+
394
+ In Tab. 11, we will represent the manually crafted augmentation instructions. The format of these augmentation instructions is "<method name>: <method instruction>".
395
+
396
+ # G Self Instructions Generation
397
+
398
+ The instructions automatically generated by LLM is shown in Tab. 12 and Tab. 13.
399
+
400
+ <table><tr><td rowspan="2">TextualDA</td><td colspan="2">Class→Class</td><td colspan="2">Class→Non-Class</td><td colspan="2">Non-Class→Class</td><td colspan="2">Random→Random</td></tr><tr><td>125m</td><td>350m</td><td>125m</td><td>350m</td><td>125m</td><td>350m</td><td>125m</td><td>350m</td></tr><tr><td>EDA</td><td>45.28</td><td>44.55</td><td>39.34</td><td>41.27</td><td>47.60</td><td>46.97</td><td>43.89</td><td>44.16</td></tr><tr><td>AEDA</td><td>43.85</td><td>42.92</td><td>39.56</td><td>41.53</td><td>42.61</td><td>43.50</td><td>42.61</td><td>43.50</td></tr><tr><td>ZeroGen-LLM</td><td>45.66</td><td>45.81</td><td>40.43</td><td>40.62</td><td>47.69</td><td>48.58</td><td>44.14</td><td>44.74</td></tr><tr><td>GPT3Mix</td><td>51.62</td><td>51.36</td><td>-</td><td>-</td><td>55.81</td><td>54.04</td><td>-</td><td>-</td></tr><tr><td>Self-LLMDA</td><td>51.72</td><td>54.98</td><td>40.02</td><td>42.80</td><td>50.00</td><td>52.75</td><td>46.64</td><td>48.83</td></tr></table>
401
+
402
+ Table 10: Performance comparison with other non-LLM-based and LLM-based textual data augmentations.
403
+
404
+ <table><tr><td>Name</td><td>Augmentation Instruction</td></tr><tr><td>Word Replace</td><td>Synonym Replacement: Replace certain words in the text with their synonyms while keeping the sentence structure intact. This can be done using pre-built synonym databases or word embeddings.</td></tr><tr><td>Back Translation</td><td>Back Translation: Translate the text into another language using machine translation and then translate it back to the original language. This process introduces variations in the sentence structure and wording.</td></tr><tr><td>Paraphrase</td><td>Paraphrase: Render the same text in different words without losing the meaning of the text itself. More often than not, a paraphrased text can convey its meaning better than the original words.</td></tr><tr><td>Word Insert/Delete</td><td>Random Insertion/Deletion: Randomly insert or delete words in the text to create new variations of the original sentences.</td></tr><tr><td>Word Swap</td><td>Random Swapping: Randomly swap the positions of words in the text to create new sentence arrangements.</td></tr><tr><td>Mask Predict</td><td>Masking/Prediction: Mask certain words in the text and train the model to predict those masked words. This is similar to the concept of masked language modeling used in models like BERT.</td></tr><tr><td>Char. Perturb</td><td>Character-level Perturbation: Instead of operating at the word level, perform data augmentation at the character level. This can involve randomly replacing, inserting, or deleting characters within the text, leading to novel variations.</td></tr><tr><td>Sentence Reorder</td><td>Sentence Reordering: Randomly reorder the sentences in the text while maintaining the coherence of the overall passage. This can help the model become more robust in understanding different sentence arrangements.</td></tr><tr><td>Contextual Replace</td><td>Contextual Synonym Replacement: Instead of blindly replacing words with synonyms, consider the context of the sentence to choose appropriate synonyms. This can be achieved by using contextual word embeddings or language models like ELMo or BERT.</td></tr><tr><td>POS Augment</td><td>Part-of-Speech Augmentation: Identify the part-of-speech tags of words in the text and replace words with synonyms that have the same part-of-speech. This ensures that the grammatical structure of the sentence remains intact.</td></tr><tr><td>Grammar Transform</td><td>Grammar Transformation: Apply various grammar rules to the text, such as changing active voice to passive voice, transforming affirmative sentences to negative, or converting declarative sentences into questions.</td></tr><tr><td>Data Mix</td><td>Data Mixing: Combine two or more texts from different sources to create a new mixed-text data point. This can introduce diversity in the content and writing style.</td></tr><tr><td>Paragraph Shuffle</td><td>Paragraph Shuffling: Shuffle the order of paragraphs in longer texts to create new document structures. This can be particularly useful for tasks that involve document-level understanding.</td></tr></table>
405
+
406
+ Table 11: Manually crafted augmentation instructions.
407
+
408
+ <table><tr><td>Augmentation Instruction</td></tr><tr><td>Contextual word replacement: replace certain words in the text with contextually similar words. this can be done by using word embeddings to find words that have similar meanings or are used in similar contexts.</td></tr><tr><td>Sentiment flipping: change the sentiment of the text by flipping positive sentiments to negative and vice versa. this can help generate diverse data for sentiment analysis tasks.</td></tr><tr><td>Style transfer: transform the writing style of the text while maintaining its original content. this can involve converting formal language to informal, changing the tone, or adapting the text to a specific genre.</td></tr><tr><td>Contextual paraphrasing: paraphrase sentences in the text while considering the surrounding context. this ensures that the paraphrased sentences maintain the same meaning within the given context.</td></tr><tr><td>Domain adaptation: modify the text to make it more suitable for a different domain or topic. this can involve replacing domain-specific terms, adjusting terminology, or incorporating relevant keywords.</td></tr><tr><td>Text summarization: generate a summary of the text by condensing its main points into a shorter version. this can help create diverse data for summarization tasks and provide alternative perspectives on the original text.</td></tr><tr><td>Contextual word insertion: insert new words into the text that are contextually relevant and maintain the semantic meaning of the sentence. this can be done by using word embeddings to find words that are commonly used in similar contexts.</td></tr><tr><td>Text paraphrasing: paraphrase the text by rephrasing sentences while preserving the original meaning. this can be done using techniques such as sentence splitting, word substitution, and sentence rearrangement.</td></tr><tr><td>Contextual sentence deletion: delete certain sentences from the text while maintaining the coherence and semantic meaning of the remaining sentences. this can help create diverse data for document summarization tasks.</td></tr><tr><td>Text expansion: expand the text by adding additional details, examples, or explanations to enhance its content. this can be done by incorporating information from external sources or generating new sentences based on the existing text.</td></tr><tr><td>Emotion augmentation: add emotional expressions or sentiments to the text to convey different emotions. this can help create diverse data for emotion classification or sentiment analysis tasks.</td></tr><tr><td>Named entity substitution: replace named entities (such as names of people, organizations, or locations) in the text with other similar entities. this can introduce variations while maintaining the context of the sentence.</td></tr><tr><td>Sentence reordering: rearrange the order of sentences within the text while keeping the semantic coherence intact. this can create new narrative structures and perspectives.</td></tr><tr><td>Grammatical error injection: introduce grammatical errors into the text by randomly modifying verb tenses, subject-verb agreement, or punctuation. this can simulate noisy real-world data and improve model robustness.</td></tr><tr><td>Word embedding replacement: replace certain words in the text with their word embeddings. this can introduce variations while preserving the semantic meaning of the sentence.</td></tr><tr><td>Synonym replacement: replace words in the text with their synonyms. this can create alternative phrasing while maintaining the overall meaning.</td></tr><tr><td>Contextual word substitution: substitute words in the text with other words that have similar contextual meanings. this ensures that the replacement maintains the intended semantics.</td></tr><tr><td>Sentence splitting: split longer sentences into shorter ones, or vice versa, to create new sentence structures. this can help the model understand different sentence lengths and improve its generalization ability.</td></tr><tr><td>Sentence combination: combine multiple shorter sentences into a single longer sentence or vice versa. this can create diverse sentence structures and test the models comprehension of complex sentences.</td></tr><tr><td>Negation insertion: introduce negations into the text by adding words like &quot;not&quot; or &quot;no&quot; to change the polarity of certain statements. this can help the model understand negative contexts better.</td></tr><tr><td>Word masking: randomly mask certain words in the text by replacing them with a special token. this forces the model to rely on the surrounding context to understand the meaning of the masked word.</td></tr><tr><td>Character-level augmentation: modify individual characters within words, such as changing vowels or consonants, to generate diverse textual variations.</td></tr><tr><td>Sentence shuffling: shuffle the order of sentences within a paragraph or document to create new arrangements and test the model&#x27;s ability to understand different contexts.</td></tr><tr><td>Paraphrasing: rewrite the text using different phrasing or sentence structures while maintaining the original meaning.</td></tr><tr><td>Numerical value perturbation: add or subtract small random values to numerical values in the text to create slight variations.</td></tr><tr><td>Pos tagging variation: randomly change the part-of-speech tags of words in the text while ensuring grammatical correctness. this can introduce different syntactic patterns and word usages.</td></tr><tr><td>Sentence deletion: remove one or more sentences from the text to create a shorter version while still maintaining coherence and semantic meaning.</td></tr><tr><td>Sentiment modification: change the sentiment or emotion expressed in the text while keeping the content intact. this can involve altering positive statements to negative ones or vice versa.</td></tr><tr><td>Negation addition: add negation words (e.g., &quot;not,&quot; &quot;never&quot;) to the text to create negative versions of the original sentences.</td></tr><tr><td>Word order variation: randomly change the order of words within phrases or clauses in the text to generate new sentence arrangements.</td></tr><tr><td>Word sense disambiguation: replace ambiguous words in the text with their different senses to create diverse interpretations of the sentence.</td></tr></table>
409
+
410
+ Table 12: Automatic generated augmentation instructions.
411
+
412
+ <table><tr><td>Augmentation Instruction</td></tr><tr><td>Negation transformation: transform positive statements into negative ones by adding negation words or phrases, or vice versa.</td></tr><tr><td>Contradiction generation: introduce contradictions within the text by modifying certain statements to be opposite to what they originally conveyed.</td></tr><tr><td>Named entity replacement: identify named entities in the text (e.g., names of people, organizations) and replace them with similar entities to generate new variations.</td></tr><tr><td>Word order shuffling: randomly shuffle the order of words within a sentence to create new sentence structures.</td></tr><tr><td>Grammar error injection: introduce grammatical errors such as incorrect verb conjugation, subject-verb agreement, or punctuation mistakes to simulate natural language variation.</td></tr><tr><td>Text shuffling: shuffle the order of sentences within a paragraph or paragraphs within a document to create new arrangements. this helps diversify the structure and flow of the text.</td></tr><tr><td>Contextual deletion: remove certain words or phrases from the text while ensuring that the remaining content still conveys the same overall meaning. this tests the model&#x27;s ability to understand and fill in missing information.</td></tr><tr><td>Sentence paraphrasing: generate paraphrases of the original sentences while preserving their meaning. this can be achieved through techniques like back-translation or paraphrase generation models.</td></tr><tr><td>Named entity variation: replace named entities (such as names, locations, organizations) in the text with different variations to create diverse instances of the same sentence.</td></tr><tr><td>Numerical variation: modify numerical values in the text by adding/subtracting a small random value or replacing them with synonyms/alternative representations.</td></tr><tr><td>Negation augmentation: introduce negations in the text by adding &quot;not&quot; or other negation words to certain phrases or sentences. this helps the model understand negative contexts better.</td></tr><tr><td>Data sampling: randomly sample subsets of the data to create smaller training sets for faster experimentation and exploration of different data distributions.</td></tr><tr><td>Backtranslation: translate the text into another language and then translate it back to the original language. this can introduce variations in sentence structure and word choice while preserving the overall meaning.</td></tr><tr><td>Sentence splitting/merging: split long sentences into shorter ones or merge short sentences into longer ones to create new sentence structures.</td></tr><tr><td>Pronoun replacement: replace pronouns in the text with their corresponding nouns or vice versa, maintaining the semantic meaning of the sentence.</td></tr><tr><td>Word deletion: randomly delete certain words from the text to create shorter or more concise sentences. this can simulate scenarios where some information is missing or incomplete.</td></tr><tr><td>Character-level perturbation: introduce noise at the character level by randomly changing, deleting, or inserting characters in the text. this can help models become more robust to noisy inputs and improve generalization.</td></tr><tr><td>Domain-specific term replacement: identify domain-specific terms in the text and replace them with synonyms or related terms specific to another domain. this can help models generalize better across different domains.</td></tr><tr><td>Negation/positive conversion: convert negative statements to positive ones or vice versa to generate different perspectives or sentiments.</td></tr><tr><td>Part-of-speech tagging: modify the part-of-speech tags of words in the text to create new grammatical arrangements and sentence structures.</td></tr></table>
413
+
414
+ Table 13: Automatic generated augmentation instructions.
2024/Empowering Large Language Models for Textual Data Augmentation/images.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:64c34c3352cad11116c80a9b15504558f1dd1dbd6ce2711f986ca6cb32199d47
3
+ size 1823916
2024/Empowering Large Language Models for Textual Data Augmentation/layout.json ADDED
The diff for this file is too large to render. See raw diff
 
2024/Empowering cross-lingual abilities of instruction-tuned large language models by translation-following demonstrations/f7644dfc-cd06-4320-a14e-02a1e95a33d9_content_list.json ADDED
@@ -0,0 +1,1779 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "type": "text",
4
+ "text": "Empowering Cross-lingual Abilities of Instruction-tuned Large Language Models by Translation-following Demonstrations",
5
+ "text_level": 1,
6
+ "bbox": [
7
+ 117,
8
+ 87,
9
+ 878,
10
+ 127
11
+ ],
12
+ "page_idx": 0
13
+ },
14
+ {
15
+ "type": "text",
16
+ "text": "Leonardo Ranaldi $(\\dagger)$ , Giulia Pucci $(\\star)$ , André Freitas $(\\dagger, *)$",
17
+ "bbox": [
18
+ 257,
19
+ 140,
20
+ 739,
21
+ 158
22
+ ],
23
+ "page_idx": 0
24
+ },
25
+ {
26
+ "type": "text",
27
+ "text": "$(\\dagger)$ Idiap Research Institute, Martigny, Switzerland",
28
+ "bbox": [
29
+ 294,
30
+ 159,
31
+ 707,
32
+ 175
33
+ ],
34
+ "page_idx": 0
35
+ },
36
+ {
37
+ "type": "text",
38
+ "text": "$(\\star)$ Department of Computing Science, University of Aberdeen, UK",
39
+ "bbox": [
40
+ 225,
41
+ 175,
42
+ 774,
43
+ 192
44
+ ],
45
+ "page_idx": 0
46
+ },
47
+ {
48
+ "type": "text",
49
+ "text": "$(\\ast)$ Department of Computer Science, University of Manchester, UK",
50
+ "bbox": [
51
+ 225,
52
+ 192,
53
+ 774,
54
+ 208
55
+ ],
56
+ "page_idx": 0
57
+ },
58
+ {
59
+ "type": "text",
60
+ "text": "[first_name].[last_name]@idiap.ch",
61
+ "bbox": [
62
+ 331,
63
+ 210,
64
+ 663,
65
+ 225
66
+ ],
67
+ "page_idx": 0
68
+ },
69
+ {
70
+ "type": "text",
71
+ "text": "Abstract",
72
+ "text_level": 1,
73
+ "bbox": [
74
+ 260,
75
+ 252,
76
+ 339,
77
+ 266
78
+ ],
79
+ "page_idx": 0
80
+ },
81
+ {
82
+ "type": "text",
83
+ "text": "The language ability of Large Language Models (LLMs) is often unbalanced towards English because of the imbalance in the distribution of the pre-training data. This disparity is demanded in further fine-tuning and affecting the cross-lingual abilities of LLMs. In this paper, we propose to empower Instruction-tuned LLMs (It-LLMs) in languages other than English by building semantic alignment between them. Hence, we propose CrossAlpaca, an It-LLM with cross-lingual Instruction-following and Translation-following demonstrations to improve semantic alignment between languages. We validate our approach on the multilingual Question Answering (QA) benchmarks XQUAD and MLQA and adapted versions of MMLU and BBH. Our models, tested over six different languages, outperform the It-LLMs tuned on monolingual data. The final results show that instruction tuning on non-English data is not enough and that semantic alignment can be further improved by Translation-following demonstrations.",
84
+ "bbox": [
85
+ 141,
86
+ 279,
87
+ 460,
88
+ 606
89
+ ],
90
+ "page_idx": 0
91
+ },
92
+ {
93
+ "type": "text",
94
+ "text": "1 Introduction",
95
+ "text_level": 1,
96
+ "bbox": [
97
+ 114,
98
+ 619,
99
+ 258,
100
+ 634
101
+ ],
102
+ "page_idx": 0
103
+ },
104
+ {
105
+ "type": "text",
106
+ "text": "Large Language Models (LLMs) achieve comprehensive language abilities through pre-training on large corpora (Brown et al., 2020; Touvron et al., 2023; Ranaldi and Pucci, 2023b). Hence, the acquired language abilities follow the corpora features, mostly available in English (Lin et al., 2021; Pucci and Ranaldi, 2024). This phenomenon produces an imbalance in both pre-training (Blevins and Zettlemoyer, 2022) and fine-tuning (Le et al., 2021). Consequently, LLMs underperform in languages different from English (Huang et al., 2023).",
107
+ "bbox": [
108
+ 112,
109
+ 645,
110
+ 489,
111
+ 821
112
+ ],
113
+ "page_idx": 0
114
+ },
115
+ {
116
+ "type": "text",
117
+ "text": "Efforts to increase multilingual abilities propose continuing pre-training with large-scale monolingual data (Imani et al., 2023; Cui et al., 2023; Yang et al., 2023). However, learning a language from monolingual data requires considerable data and computational resources.",
118
+ "bbox": [
119
+ 112,
120
+ 822,
121
+ 489,
122
+ 917
123
+ ],
124
+ "page_idx": 0
125
+ },
126
+ {
127
+ "type": "text",
128
+ "text": "In this paper, we propose CrossAlpaca, an Instruction-tuned LLM (It-LLM) empowered with a semantic alignment between English and other languages. We analyze how to elicit the non-English abilities of It-LLMs by focusing on the crucial phase: instruction-tuning over Instruction-following demonstrations. Hence, we study the effect of cross-lingual alignment by proposing Translation-following demonstrations to improve the instruction-tuning phase.",
129
+ "bbox": [
130
+ 507,
131
+ 253,
132
+ 884,
133
+ 413
134
+ ],
135
+ "page_idx": 0
136
+ },
137
+ {
138
+ "type": "text",
139
+ "text": "In our experiments, we use $LLaMA-7B$ (Touvron et al., 2023) as the LLM backbone and consider six target languages selected from among the available data (shown in Table 4); where data are absent, we perform a translation task. As Instruction-following demonstrations, we use the Stanford Alpaca dataset (Taori et al., 2023) and translated versions in the corresponding languages, while for the Translation-following, we use a publicly available translation resource news Commentary (Tiedemann, 2012), the most accessible and extendable to multiple languages (i.e., CrossAlpaca demonstrations on Figure 1).",
140
+ "bbox": [
141
+ 507,
142
+ 416,
143
+ 884,
144
+ 625
145
+ ],
146
+ "page_idx": 0
147
+ },
148
+ {
149
+ "type": "text",
150
+ "text": "Behind an instruction-tuning phase, we evaluate the performance of our six language-specific CrossAlpacas using four different benchmarks: two native-multilingual, i.e., XQUAD (Artetxe et al., 2019) and MLQA (Lewis et al., 2020), and two native-monolinguals, MMLU (Hendrycks et al., 2021) and BBH (Suzgun et al., 2022). The results show that CrossAlpacas instructed with language-specific instruction and translation data far outperform Alpacas instructed only with non-English demonstrations. However, even though CrossAlpaca reduces the gap, the Translation-following models of the original Alpaca still perform best. This result shows that LLaMA's learning abilities on English data are superior to those on non-English data. The semantic alignment task also improves the cross-lingual abilities of It-LLMs.",
151
+ "bbox": [
152
+ 507,
153
+ 627,
154
+ 884,
155
+ 900
156
+ ],
157
+ "page_idx": 0
158
+ },
159
+ {
160
+ "type": "text",
161
+ "text": "Our findings can be summarized as follows:",
162
+ "bbox": [
163
+ 527,
164
+ 903,
165
+ 853,
166
+ 917
167
+ ],
168
+ "page_idx": 0
169
+ },
170
+ {
171
+ "type": "page_number",
172
+ "text": "7961",
173
+ "bbox": [
174
+ 480,
175
+ 927,
176
+ 517,
177
+ 940
178
+ ],
179
+ "page_idx": 0
180
+ },
181
+ {
182
+ "type": "footer",
183
+ "text": "Findings of the Association for Computational Linguistics: ACL 2024, pages 7961-7973",
184
+ "bbox": [
185
+ 228,
186
+ 945,
187
+ 766,
188
+ 957
189
+ ],
190
+ "page_idx": 0
191
+ },
192
+ {
193
+ "type": "footer",
194
+ "text": "August 11-16, 2024 ©2024 Association for Computational Linguistics",
195
+ "bbox": [
196
+ 284,
197
+ 958,
198
+ 712,
199
+ 971
200
+ ],
201
+ "page_idx": 0
202
+ },
203
+ {
204
+ "type": "image",
205
+ "img_path": "images/f77b86829fd878d10ff49daafa9ab637bf2b7f9343234db1ad3e8a9a29f08489.jpg",
206
+ "image_caption": [
207
+ "Figure 1: Our $x$ -CrossAlpacas are fine-tuned on Instruction-following and Translation-following demonstrations. This example shows the it-CrossAlpaca, fine-tuned on it-Alpaca and Translation-following demonstrations."
208
+ ],
209
+ "image_footnote": [],
210
+ "bbox": [
211
+ 243,
212
+ 137,
213
+ 909,
214
+ 281
215
+ ],
216
+ "page_idx": 1
217
+ },
218
+ {
219
+ "type": "list",
220
+ "sub_type": "text",
221
+ "list_items": [
222
+ "- The learning abilities of LLMs on non-English Instruction-tuning tasks are limited;",
223
+ "- The multi-lingual abilities of Instruction-tuned LLMs could be empowered through cross-lingual alignment;",
224
+ "- Thus, we propose CrossAlpaca, an Instruction-tuning approach for non-English models that are based on Instruction-following and Translation-following demonstration for target language;",
225
+ "- We show that It-LLMs are able to semantically align through cross-lingual Translation-following demonstrations via an extensive evaluation on four multi-lingual QA benchmarks."
226
+ ],
227
+ "bbox": [
228
+ 136,
229
+ 346,
230
+ 489,
231
+ 618
232
+ ],
233
+ "page_idx": 1
234
+ },
235
+ {
236
+ "type": "text",
237
+ "text": "2 Related Work",
238
+ "text_level": 1,
239
+ "bbox": [
240
+ 112,
241
+ 631,
242
+ 270,
243
+ 646
244
+ ],
245
+ "page_idx": 1
246
+ },
247
+ {
248
+ "type": "text",
249
+ "text": "2.1 Pre-trained Language Model on Cross-Linguual Corpora",
250
+ "text_level": 1,
251
+ "bbox": [
252
+ 112,
253
+ 657,
254
+ 411,
255
+ 689
256
+ ],
257
+ "page_idx": 1
258
+ },
259
+ {
260
+ "type": "text",
261
+ "text": "The next token prediction based on the prefix sequence, as well-known as language modeling, is the everlasting task of modern NLP (Tenney et al., 2019). The extensive knowledge of today's Large Language Models (LLMs) depends on the billions of neurons trained on large-scale corpora with derivatives of the language modeling task. Consequently, the pre-training corpora are predominantly in English, e.g., BooksCorpus (Zhu et al., 2015), MEGATRON-LM (Shoeybi et al., 2019), Gutenberg Dataset (Lahiri, 2014) PILE (Gao et al., 2020), C4 (Dodge et al., 2021), RefinedWeb (Penedo et al., 2023); therefore, LLMs usually have much better knowledge of English than other languages.",
262
+ "bbox": [
263
+ 112,
264
+ 694,
265
+ 489,
266
+ 919
267
+ ],
268
+ "page_idx": 1
269
+ },
270
+ {
271
+ "type": "text",
272
+ "text": "Aulamo and Tiedemann (2019); Abadji et al. (2022), in order to solve this problem, propose forward corpora translated into several languages. However, these corpora are not as huge as their competitors, and the lack of massively parallel data in the pre-training corpora also prevents LLMs from aligning the different languages well (Li et al., 2023).",
273
+ "bbox": [
274
+ 507,
275
+ 346,
276
+ 884,
277
+ 473
278
+ ],
279
+ "page_idx": 1
280
+ },
281
+ {
282
+ "type": "text",
283
+ "text": "2.2 The Instruction-tuning Paradigm",
284
+ "text_level": 1,
285
+ "bbox": [
286
+ 507,
287
+ 485,
288
+ 816,
289
+ 500
290
+ ],
291
+ "page_idx": 1
292
+ },
293
+ {
294
+ "type": "text",
295
+ "text": "Ouyang et al. (2022); Wei et al. (2022) fine-tuned LLMs using the Instruction-tuning method based on Instruction-tuning data, which are instruction-response corpora, to make LLMs more scalable and improve zero-shot performance. In this method, the LLM backbone is fed with data from the instruction $(I,X,Y)$ , where $I$ is an instruction describing the task's requirements, $X$ is the input, which can be optional, and $Y$ is the output for the given task. The goal of this method is to minimize the function $f(Y)$ :",
296
+ "bbox": [
297
+ 507,
298
+ 506,
299
+ 882,
300
+ 682
301
+ ],
302
+ "page_idx": 1
303
+ },
304
+ {
305
+ "type": "equation",
306
+ "text": "\n$$\nf (Y) = \\arg \\min _ {\\theta} \\log p _ {\\theta} (Y \\mid I, X) \\tag {1}\n$$\n",
307
+ "text_format": "latex",
308
+ "bbox": [
309
+ 566,
310
+ 694,
311
+ 882,
312
+ 715
313
+ ],
314
+ "page_idx": 1
315
+ },
316
+ {
317
+ "type": "text",
318
+ "text": "where $\\theta$ are model learnable parameters.",
319
+ "bbox": [
320
+ 507,
321
+ 726,
322
+ 810,
323
+ 741
324
+ ],
325
+ "page_idx": 1
326
+ },
327
+ {
328
+ "type": "text",
329
+ "text": "Earlier studies show that the instruction-tuning method of LLMs with both human (Wang et al., 2023) and synthetic-generated instructions (Taori et al., 2023; Xu et al., 2023) empowers the ability of LLMs to solve considerable tasks in zero-shot scenarios.",
330
+ "bbox": [
331
+ 507,
332
+ 741,
333
+ 882,
334
+ 837
335
+ ],
336
+ "page_idx": 1
337
+ },
338
+ {
339
+ "type": "text",
340
+ "text": "However, we state that the generally used instruction-tuning datasets, alpaca (Taori et al., 2023), Self-Instruct (Wang et al., 2023), Self-Chat (Xu et al., 2023) or a teacher-student alignment approaches (Ranaldi and Freitas, 2024), conceived",
341
+ "bbox": [
342
+ 507,
343
+ 839,
344
+ 882,
345
+ 917
346
+ ],
347
+ "page_idx": 1
348
+ },
349
+ {
350
+ "type": "header",
351
+ "text": "Instruction-following (original)",
352
+ "bbox": [
353
+ 171,
354
+ 83,
355
+ 383,
356
+ 95
357
+ ],
358
+ "page_idx": 1
359
+ },
360
+ {
361
+ "type": "header",
362
+ "text": "Instruction: Classify the sentence as true or false. \nInput: Sentence: the Earth is flat. \nOutput: False.",
363
+ "bbox": [
364
+ 144,
365
+ 99,
366
+ 413,
367
+ 124
368
+ ],
369
+ "page_idx": 1
370
+ },
371
+ {
372
+ "type": "header",
373
+ "text": "Stanford Alpaca",
374
+ "bbox": [
375
+ 433,
376
+ 87,
377
+ 492,
378
+ 110
379
+ ],
380
+ "page_idx": 1
381
+ },
382
+ {
383
+ "type": "header",
384
+ "text": "#",
385
+ "bbox": [
386
+ 495,
387
+ 86,
388
+ 532,
389
+ 112
390
+ ],
391
+ "page_idx": 1
392
+ },
393
+ {
394
+ "type": "page_number",
395
+ "text": "7962",
396
+ "bbox": [
397
+ 480,
398
+ 927,
399
+ 519,
400
+ 940
401
+ ],
402
+ "page_idx": 1
403
+ },
404
+ {
405
+ "type": "image",
406
+ "img_path": "images/2b168cb7e40c1e66c87ac707be95f1fbb15447888cbfc812e0b1a71b5f5cbef0.jpg",
407
+ "image_caption": [
408
+ "Figure 2: Examples of Translation-following demonstrations. In this particular example, there are two demonstrations with two different directions from English to German (en-x) and vice versa."
409
+ ],
410
+ "image_footnote": [],
411
+ "bbox": [
412
+ 245,
413
+ 83,
414
+ 786,
415
+ 259
416
+ ],
417
+ "page_idx": 2
418
+ },
419
+ {
420
+ "type": "text",
421
+ "text": "in English, which limits the prospect of LLMs to follow non-English instructions and therefore solve related tasks.",
422
+ "bbox": [
423
+ 112,
424
+ 322,
425
+ 487,
426
+ 369
427
+ ],
428
+ "page_idx": 2
429
+ },
430
+ {
431
+ "type": "text",
432
+ "text": "2.3 Instruction-tuning is at hand",
433
+ "text_level": 1,
434
+ "bbox": [
435
+ 112,
436
+ 382,
437
+ 386,
438
+ 397
439
+ ],
440
+ "page_idx": 2
441
+ },
442
+ {
443
+ "type": "text",
444
+ "text": "Large Language Models have considerable success with many techniques in vogue, such as Instruction-tuning. However, their prohibitive size only allows part of the scientific community to experiment with these models.",
445
+ "bbox": [
446
+ 112,
447
+ 403,
448
+ 487,
449
+ 482
450
+ ],
451
+ "page_idx": 2
452
+ },
453
+ {
454
+ "type": "text",
455
+ "text": "The latest advances that make these models and techniques accessible involve efficient parameter tuning. Parameter-Efficient Tuning (PEFT) is an efficient technique to adjust a small part of the model parameters and freeze the others. The main goal is to significantly reduce computational and storage costs while maintaining the performance of the original models. The standard techniques for PEFT are LoRA (Hu et al., 2021a), Prefix Tuning (Li and Liang, 2021), P-Tuning (Liu et al., 2022). The basic idea is to keep the pre-trained model weights and incorporate low-rank matrices in each architecture layer. This approach significantly reduces the number of parameters that require training for subsequent tasks, thereby increasing overall efficiency. This building block has been and continues to be very important because it skills the scientific community to fair research and enables the development of multiple open-source works.",
456
+ "bbox": [
457
+ 112,
458
+ 483,
459
+ 489,
460
+ 789
461
+ ],
462
+ "page_idx": 2
463
+ },
464
+ {
465
+ "type": "text",
466
+ "text": "2.4 Cross-lingual Instruction-tuning Challenge",
467
+ "text_level": 1,
468
+ "bbox": [
469
+ 112,
470
+ 801,
471
+ 415,
472
+ 832
473
+ ],
474
+ "page_idx": 2
475
+ },
476
+ {
477
+ "type": "text",
478
+ "text": "Recent work has shown the remarkable abilities of LLMs in learning instruction in different languages. Santilli and Rodola (2023); Chen et al. (2023) proposed monolingual fine-tuning LLaMA adaptations on language-specific translated instructions. The",
479
+ "bbox": [
480
+ 112,
481
+ 839,
482
+ 489,
483
+ 917
484
+ ],
485
+ "page_idx": 2
486
+ },
487
+ {
488
+ "type": "table",
489
+ "img_path": "images/073682b8cd52959b51552dadcd521b1fa629e07d4c1d8ba49c28403fa222cb84.jpg",
490
+ "table_caption": [],
491
+ "table_footnote": [],
492
+ "table_body": "<table><tr><td>Model</td><td>Language</td><td>Name</td></tr><tr><td>Alpaca (Taori et al., 2023)</td><td>English</td><td>en-Alpaca</td></tr><tr><td>Alpaca-Chinese (Chen et al., 2023)</td><td>Chinese</td><td>zh-Alpaca</td></tr><tr><td>Arabic Alpaca (Yasbok)</td><td>Arabic</td><td>ar-Alpaca</td></tr><tr><td>Camascio (Santilli and Rodola, 2023)</td><td>Italian</td><td>it-Alpaca</td></tr><tr><td>Guanaco (Kohaku-Blueleaf, 2023)</td><td>Spanish</td><td>es-Alpaca</td></tr><tr><td>German Alpaca (Thissen, 2023)</td><td>German</td><td>de-Alpaca</td></tr></table>",
493
+ "bbox": [
494
+ 546,
495
+ 318,
496
+ 847,
497
+ 381
498
+ ],
499
+ "page_idx": 2
500
+ },
501
+ {
502
+ "type": "text",
503
+ "text": "Table 1: Details and names of mono-lingual Instruction-tuned Large Language Models that use a language-specific version of Alpaca as instruction-tuning data.",
504
+ "bbox": [
505
+ 507,
506
+ 390,
507
+ 884,
508
+ 432
509
+ ],
510
+ "page_idx": 2
511
+ },
512
+ {
513
+ "type": "text",
514
+ "text": "use of optimization techniques introduces in Section 2.3, to propose engaging custom adapters for various tasks. Zhang et al. (2023); Ranaldi and Pucci (2023a) investigated the cross-lingual abilities of It-LLMs by promoting the effects of augmenting instruction demonstrations. In particular, Zhang et al. (2023) use fine-grained custom translations that are not easily accessible, while Ranaldi and Pucci (2023a) propose a multilingual approach by considerably increasing instruction and translation tasks. However, these studies have opened an interesting avenue in analyzing the cross-lingual abilities of It-LLMs.",
515
+ "bbox": [
516
+ 507,
517
+ 458,
518
+ 882,
519
+ 668
520
+ ],
521
+ "page_idx": 2
522
+ },
523
+ {
524
+ "type": "text",
525
+ "text": "In this paper, we take the next step by proposing our CrossAlpaca. Our methods show of the cross-lingual learning abilities of It-LLMs on a large scale. Using four well-known benchmarks, we show that the weaknesses of It-LLMs trained on non-English data can be strengthened with cross-lingual alignment approaches. Hence, our analyses aim to understand the role of Instruction-following and Translation-following demonstrations in closing the gap in learning and adapting LLMs' abilities to non-English languages.",
526
+ "bbox": [
527
+ 507,
528
+ 670,
529
+ 882,
530
+ 845
531
+ ],
532
+ "page_idx": 2
533
+ },
534
+ {
535
+ "type": "text",
536
+ "text": "3 Data & Methods",
537
+ "text_level": 1,
538
+ "bbox": [
539
+ 507,
540
+ 860,
541
+ 687,
542
+ 873
543
+ ],
544
+ "page_idx": 2
545
+ },
546
+ {
547
+ "type": "text",
548
+ "text": "Pre-training from scratch a Large Language Model (LLM) in multiple languages is cost-prohibitive for",
549
+ "bbox": [
550
+ 507,
551
+ 887,
552
+ 882,
553
+ 917
554
+ ],
555
+ "page_idx": 2
556
+ },
557
+ {
558
+ "type": "page_number",
559
+ "text": "7963",
560
+ "bbox": [
561
+ 480,
562
+ 927,
563
+ 519,
564
+ 940
565
+ ],
566
+ "page_idx": 2
567
+ },
568
+ {
569
+ "type": "text",
570
+ "text": "data collection and parameter learning. This is the reason why the trend is to do further fine-tuning to strengthen the models' abilities in a specific language (Tanti et al., 2021; Moslem et al., 2023). In this paper, we aim to exploit the abilities of pretrained LLMs for non-English languages by further improving the alignment between English and the target language. Hence, in Section 3.1, we introduce the challenge of fine-tuning an LLM on a mono-lingual custom scenario. Furthermore, in Section 3.2, we propose our approach to fine-tune cross-lingual LLMs.",
571
+ "bbox": [
572
+ 112,
573
+ 84,
574
+ 492,
575
+ 277
576
+ ],
577
+ "page_idx": 3
578
+ },
579
+ {
580
+ "type": "text",
581
+ "text": "3.1 Mono-lingual Instruction-tuning",
582
+ "text_level": 1,
583
+ "bbox": [
584
+ 112,
585
+ 291,
586
+ 416,
587
+ 307
588
+ ],
589
+ "page_idx": 3
590
+ },
591
+ {
592
+ "type": "text",
593
+ "text": "The limited accessibility and transparency of paid API services of state-of-the-art LLMs have pushed research toward developing open-source models. Using the instruction-tuning paradigm (Section 2.2) and Stanford Alpaca (Taori et al., 2023), a corpus consisting of $52\\mathrm{k}$ of English instruction-output pairs generated by text-davinci-003, several Instruction-tuned versions of LLaMA were released.",
594
+ "bbox": [
595
+ 112,
596
+ 313,
597
+ 489,
598
+ 456
599
+ ],
600
+ "page_idx": 3
601
+ },
602
+ {
603
+ "type": "text",
604
+ "text": "Following this approach, multiple monolingual Instruction-tuned versions of LLaMA were proposed by translating the Stanford Alpaca Instruction-following data into the specific language. Table 4 (Appendix B) shows a set of alpaca versions available as open source. Following a systematic analysis of the translated versions of Alpaca in official repositories<sup>1</sup>, the languages of the benchmark datasets, and the translation pairs present in news/commentary, which will be introduced later, we selected the languages that share the most already available data. Table 1 shows the custom versions used in this work, which for simplicity will be renamed $x$ -Alpaca, where $x$ indicates the specific language.",
605
+ "bbox": [
606
+ 112,
607
+ 458,
608
+ 489,
609
+ 701
610
+ ],
611
+ "page_idx": 3
612
+ },
613
+ {
614
+ "type": "text",
615
+ "text": "3.2 Cross-lingual Instruction-tuning",
616
+ "text_level": 1,
617
+ "bbox": [
618
+ 112,
619
+ 714,
620
+ 415,
621
+ 730
622
+ ],
623
+ "page_idx": 3
624
+ },
625
+ {
626
+ "type": "text",
627
+ "text": "Mono-lingual Instruction-tuning approaches (Section 3.1) reward LLMs' multi-lingual abilities. However, the use of translated Alpaca alone for the specific language is not sufficient to elicit the non-English ability of LLMs. For this reason, we propose CrossAlpaca (Figure 1), which enriches the cross-lingual Instruction-tuning with the Translation-following demonstrations. We aim to highlight LLMs' English and non-English abilities",
628
+ "bbox": [
629
+ 112,
630
+ 736,
631
+ 489,
632
+ 881
633
+ ],
634
+ "page_idx": 3
635
+ },
636
+ {
637
+ "type": "text",
638
+ "text": "by proposing a semantic alignment task to enrich versions of Alpaca.",
639
+ "bbox": [
640
+ 507,
641
+ 84,
642
+ 882,
643
+ 116
644
+ ],
645
+ "page_idx": 3
646
+ },
647
+ {
648
+ "type": "text",
649
+ "text": "Instruction-following demonstrations The original version of Alpaca is in English. However, as described in Section 3.1, different open-source translations are produced with a translation engine. In our experiments, we propose the Instruction-tuning phase with the original English version (en-Alpaca) and the translated language-specific versions. Moreover, we propose the CrossAlpaca versions built with the different Alpacas translated into the specific language and the cross-lingual translations (introduced later). In this way, we investigate the abilities of the LLM backbone in understanding multilingual instructions and cross-lingual alignment.",
650
+ "bbox": [
651
+ 507,
652
+ 127,
653
+ 885,
654
+ 351
655
+ ],
656
+ "page_idx": 3
657
+ },
658
+ {
659
+ "type": "text",
660
+ "text": "Translation-following demonstrations Learning general instruction data is a sensible strategy for building models to solve multi-tasks directed by instructions (Wang et al., 2023; Zeng et al., 2023). However, translation data could contribute to learning semantic alignment. Zhang et al. (2023) showed that the translation performance of LLMs could be improved by using expertly annotated translation data, and Zhu et al. (2023) showed that it could be beneficial for instruction-tuning.",
661
+ "bbox": [
662
+ 507,
663
+ 363,
664
+ 884,
665
+ 523
666
+ ],
667
+ "page_idx": 3
668
+ },
669
+ {
670
+ "type": "text",
671
+ "text": "Inspired by Zhu et al. (2023), we use publicly available sentence-level translation datasets, such as news Commentary (Tiedemann, 2012), to construct the translation task instruction demonstrations. We also propose extending this to additional languages, which we release as an open-source dataset. In particular, for each specific language, we constructed 20k demonstrations. Hence, following the Alpaca style (Instruction, Input, and Output) (see Figure 1), we randomly selected 10k English to non-English translations and 10k random non-English to English translations (all translations come from news commentary). We have constructed these correspondences for the languages mentioned above in Section 3.1. Figure 2 shows a case of Translation-following for English-German direction (en-de) and vice versa (de-en).",
672
+ "bbox": [
673
+ 507,
674
+ 524,
675
+ 885,
676
+ 797
677
+ ],
678
+ "page_idx": 3
679
+ },
680
+ {
681
+ "type": "text",
682
+ "text": "4 Experiments",
683
+ "text_level": 1,
684
+ "bbox": [
685
+ 507,
686
+ 810,
687
+ 655,
688
+ 828
689
+ ],
690
+ "page_idx": 3
691
+ },
692
+ {
693
+ "type": "text",
694
+ "text": "In order to observe the English and non-English abilities of Large Language Models (LLMs) and the impact of the Instruction-tuning approach in cross-lingual scenarios, we propose CrossAlpaca. Our approach is based on instruction-tuning on",
695
+ "bbox": [
696
+ 507,
697
+ 839,
698
+ 884,
699
+ 919
700
+ ],
701
+ "page_idx": 3
702
+ },
703
+ {
704
+ "type": "page_footnote",
705
+ "text": "1official versions on https://github.com/tloen/ alpaca-lora and https://huggingface.co/models",
706
+ "bbox": [
707
+ 112,
708
+ 891,
709
+ 487,
710
+ 917
711
+ ],
712
+ "page_idx": 3
713
+ },
714
+ {
715
+ "type": "page_number",
716
+ "text": "7964",
717
+ "bbox": [
718
+ 480,
719
+ 928,
720
+ 519,
721
+ 940
722
+ ],
723
+ "page_idx": 3
724
+ },
725
+ {
726
+ "type": "image",
727
+ "img_path": "images/14c6bd50518b7dad6a053ed9076ed641c959d0781773a676e56ce2d278bfd5ee.jpg",
728
+ "image_caption": [],
729
+ "image_footnote": [],
730
+ "bbox": [
731
+ 159,
732
+ 86,
733
+ 492,
734
+ 239
735
+ ],
736
+ "page_idx": 4
737
+ },
738
+ {
739
+ "type": "image",
740
+ "img_path": "images/2307526836f0fcee0a0a3e4889ec62229154f0fed6fa8c2f2202bb61cfd60840.jpg",
741
+ "image_caption": [],
742
+ "image_footnote": [],
743
+ "bbox": [
744
+ 505,
745
+ 86,
746
+ 838,
747
+ 239
748
+ ],
749
+ "page_idx": 4
750
+ },
751
+ {
752
+ "type": "image",
753
+ "img_path": "images/7779c4f54976419118b8e6f202bfe60808a9c74554d0c25a2d2682e01cdd6559.jpg",
754
+ "image_caption": [
755
+ "Figure 3: Evaluation results on proposed benchmarks. The dotted line represents the performance of the original Alpaca (Taori et al., 2023) on English tasks."
756
+ ],
757
+ "image_footnote": [],
758
+ "bbox": [
759
+ 157,
760
+ 249,
761
+ 489,
762
+ 401
763
+ ],
764
+ "page_idx": 4
765
+ },
766
+ {
767
+ "type": "image",
768
+ "img_path": "images/b7b4db4804e084e1cbac624dc9cc564401c2a46611542b195046a0b9f7d6b947.jpg",
769
+ "image_caption": [],
770
+ "image_footnote": [],
771
+ "bbox": [
772
+ 505,
773
+ 250,
774
+ 836,
775
+ 401
776
+ ],
777
+ "page_idx": 4
778
+ },
779
+ {
780
+ "type": "text",
781
+ "text": "language-specific data augmented with a crosslingual semantic alignment. Hence, we set several baseline models (Section 4.1), which we augmented with our CrossAlpaca approach (Section 4.2). Finally, we performed a series of systematic evaluations (Section 4.3.1) to observe the impact of the proposed intervention.",
782
+ "bbox": [
783
+ 112,
784
+ 473,
785
+ 489,
786
+ 585
787
+ ],
788
+ "page_idx": 4
789
+ },
790
+ {
791
+ "type": "text",
792
+ "text": "4.1 Baseline Instruction-tuned LLMs",
793
+ "text_level": 1,
794
+ "bbox": [
795
+ 112,
796
+ 599,
797
+ 421,
798
+ 614
799
+ ],
800
+ "page_idx": 4
801
+ },
802
+ {
803
+ "type": "text",
804
+ "text": "The common denominator among the It-LLMs shown in Table 1 is the LLM backbone, LLaMA7B (Touvron et al., 2023). Starting from Instruction-following data from the original Alpaca (Taori et al., 2023) and its open-source non-English versions $^{2}$ , we reproduced $x$ -Alpaca for $x$ specific languages: Chinese (zh), Italian (it), Arabic (ar), Spanish (es), German (de) and the original English version (en).",
805
+ "bbox": [
806
+ 112,
807
+ 621,
808
+ 489,
809
+ 765
810
+ ],
811
+ "page_idx": 4
812
+ },
813
+ {
814
+ "type": "text",
815
+ "text": "4.2 Cross-lingual Instruction-tuned LLMs",
816
+ "text_level": 1,
817
+ "bbox": [
818
+ 112,
819
+ 780,
820
+ 463,
821
+ 796
822
+ ],
823
+ "page_idx": 4
824
+ },
825
+ {
826
+ "type": "text",
827
+ "text": "The CrossAlpacas are instruction-tuned on Instruction-following and Translation-following demonstrations (CrossAlpacas demonstrations). The first ones stem from the resources introduced in Section 4.1. The second comes from",
828
+ "bbox": [
829
+ 112,
830
+ 803,
831
+ 489,
832
+ 883
833
+ ],
834
+ "page_idx": 4
835
+ },
836
+ {
837
+ "type": "text",
838
+ "text": "news COMMENTary (Tiedemann, 2012).",
839
+ "bbox": [
840
+ 507,
841
+ 473,
842
+ 800,
843
+ 488
844
+ ],
845
+ "page_idx": 4
846
+ },
847
+ {
848
+ "type": "text",
849
+ "text": "Our approach generates a series of instruction-tuned versions of the data shown in Figure 1. We have named the versions $x$ -CrossAlpaca where $x$ denotes Chinese (zh), Arabic (ar), Italian (it), Spanish (es), and German (de).",
850
+ "bbox": [
851
+ 507,
852
+ 489,
853
+ 884,
854
+ 569
855
+ ],
856
+ "page_idx": 4
857
+ },
858
+ {
859
+ "type": "text",
860
+ "text": "4.3 Experimental Setup",
861
+ "text_level": 1,
862
+ "bbox": [
863
+ 507,
864
+ 580,
865
+ 714,
866
+ 596
867
+ ],
868
+ "page_idx": 4
869
+ },
870
+ {
871
+ "type": "text",
872
+ "text": "In order to assess the performance of the CrossAlpaca, we defined several benchmarks (Section 4.3.1) on which we applied systematic tuning (Section 4.3.2) and evaluation (Section 4.3.3) pipelines.",
873
+ "bbox": [
874
+ 505,
875
+ 601,
876
+ 884,
877
+ 665
878
+ ],
879
+ "page_idx": 4
880
+ },
881
+ {
882
+ "type": "text",
883
+ "text": "4.3.1 Benchmarks",
884
+ "text_level": 1,
885
+ "bbox": [
886
+ 507,
887
+ 674,
888
+ 670,
889
+ 688
890
+ ],
891
+ "page_idx": 4
892
+ },
893
+ {
894
+ "type": "text",
895
+ "text": "To evaluate the performance of the It-LLMs and the impact of the translation-based semantic alignment approach, we used two cross-lingual (XQUAD (Artetxe et al., 2019), MLQA (Lewis et al., 2020)) and two multi-task (MMLU (Hendrycks et al., 2021) and BBH (Suzgun et al., 2022)) benchmarks. XQUAD and MLQA focus on understanding questions and answers through translation into different languages. MMLU and BBH, being multi-task benchmarks, include subtasks related to Boolean expressions and QA on basic-level subjects (e.g., chemistry, physics). However, we decided to introduce them to observe whether our approach degrades performance in these tasks. The first two",
896
+ "bbox": [
897
+ 505,
898
+ 694,
899
+ 884,
900
+ 917
901
+ ],
902
+ "page_idx": 4
903
+ },
904
+ {
905
+ "type": "page_footnote",
906
+ "text": "2open-source code is available on https://github.com/tloen/alpaca-lora",
907
+ "bbox": [
908
+ 112,
909
+ 891,
910
+ 487,
911
+ 917
912
+ ],
913
+ "page_idx": 4
914
+ },
915
+ {
916
+ "type": "page_number",
917
+ "text": "7965",
918
+ "bbox": [
919
+ 480,
920
+ 927,
921
+ 519,
922
+ 940
923
+ ],
924
+ "page_idx": 4
925
+ },
926
+ {
927
+ "type": "text",
928
+ "text": "datasets selected are appropriately constructed for multi-language testing, while the second two are available only in English. So we do a preliminary translation step as outlined below.",
929
+ "bbox": [
930
+ 112,
931
+ 84,
932
+ 487,
933
+ 148
934
+ ],
935
+ "page_idx": 5
936
+ },
937
+ {
938
+ "type": "text",
939
+ "text": "MultiLingual Question Answering (MLQA)",
940
+ "text_level": 1,
941
+ "bbox": [
942
+ 112,
943
+ 162,
944
+ 489,
945
+ 178
946
+ ],
947
+ "page_idx": 5
948
+ },
949
+ {
950
+ "type": "text",
951
+ "text": "(Lewis et al., 2020) evaluates cross-lingual question answering performance. The benchmark comprises over 5K extractive QA instances in the SQuAD (Rajpurkar et al., 2016) format in several languages. MLQA is highly parallel, with QA instances aligned across four languages on average. Although comprising different languages, some languages are not represented, such as Italian. To conduct the experiments uniformly, we have translated the examples as also done in the forthcoming MMLU and BBH.",
952
+ "bbox": [
953
+ 112,
954
+ 179,
955
+ 489,
956
+ 355
957
+ ],
958
+ "page_idx": 5
959
+ },
960
+ {
961
+ "type": "text",
962
+ "text": "Cross-lingual Question Answering Dataset (XQUAD) (Artetxe et al., 2019) consists of a subset of 240 paragraphs and 1190 question-answer pairs from the development set of SQuAD v1.1 (Rajpurkar et al., 2016) with their manual translations into several languages. Consequently, the dataset is entirely parallel across 11 languages.",
963
+ "bbox": [
964
+ 112,
965
+ 370,
966
+ 489,
967
+ 483
968
+ ],
969
+ "page_idx": 5
970
+ },
971
+ {
972
+ "type": "text",
973
+ "text": "Massive Multitask Language Understanding (MMLU) (Hendrycks et al., 2021) measures knowledge of the world and problem-solving problems in multiple subjects with 57 subjects across STEM, humanities, social sciences, and other areas. The benchmark is native in English; however, we translated it into five additional languages<sup>3</sup>.",
974
+ "bbox": [
975
+ 112,
976
+ 498,
977
+ 489,
978
+ 609
979
+ ],
980
+ "page_idx": 5
981
+ },
982
+ {
983
+ "type": "text",
984
+ "text": "BIG-Bench Hard (BBH) (Suzgun et al., 2022) is a subset of challenging tasks related to navigation, logical deduction, and fallacy detection. Here again, the benchmark is native English, and we have translated it into five languages<sup>3</sup>.",
985
+ "bbox": [
986
+ 112,
987
+ 625,
988
+ 489,
989
+ 705
990
+ ],
991
+ "page_idx": 5
992
+ },
993
+ {
994
+ "type": "text",
995
+ "text": "4.3.2 Models Setup",
996
+ "text_level": 1,
997
+ "bbox": [
998
+ 112,
999
+ 720,
1000
+ 282,
1001
+ 736
1002
+ ],
1003
+ "page_idx": 5
1004
+ },
1005
+ {
1006
+ "type": "text",
1007
+ "text": "In order to align the results with the state-of-the-art models, we used the alpaca_LoRA (Hu et al., 2021b) code $^2$ , adopting the same hyperparameters.",
1008
+ "bbox": [
1009
+ 112,
1010
+ 743,
1011
+ 489,
1012
+ 790
1013
+ ],
1014
+ "page_idx": 5
1015
+ },
1016
+ {
1017
+ "type": "text",
1018
+ "text": "We performed the fine-tuning with a single epoch and a batch-size of 128 examples, running our experiments on a workstation equipped with two Nvidia RTX A6000 with 48 GB of VRAM.",
1019
+ "bbox": [
1020
+ 112,
1021
+ 793,
1022
+ 487,
1023
+ 854
1024
+ ],
1025
+ "page_idx": 5
1026
+ },
1027
+ {
1028
+ "type": "text",
1029
+ "text": "4.3.3 Evaluation",
1030
+ "text_level": 1,
1031
+ "bbox": [
1032
+ 509,
1033
+ 84,
1034
+ 655,
1035
+ 98
1036
+ ],
1037
+ "page_idx": 5
1038
+ },
1039
+ {
1040
+ "type": "text",
1041
+ "text": "As an evaluation metric, we use accuracy. Hence, we estimate accuracy by measuring exact match values in the zero-shot setting. For each model, the parts of benchmarks related to the specific language are used (e.g., for zh-Alpaca and zh-CrossAlpaca, data from MLQA, XQUAD, MMLU, and BBH in Chinese are used).",
1042
+ "bbox": [
1043
+ 507,
1044
+ 107,
1045
+ 884,
1046
+ 218
1047
+ ],
1048
+ "page_idx": 5
1049
+ },
1050
+ {
1051
+ "type": "text",
1052
+ "text": "5 Results",
1053
+ "text_level": 1,
1054
+ "bbox": [
1055
+ 507,
1056
+ 236,
1057
+ 608,
1058
+ 250
1059
+ ],
1060
+ "page_idx": 5
1061
+ },
1062
+ {
1063
+ "type": "text",
1064
+ "text": "Improving non-English abilities in Instruction-tuned Large Language Models (It-LLMs) remains challenging. However, the $x$ -CrossAlpacas revealed improved results in cross-lingual Question Answering (QA) benchmarks and maintained logical-mathematical skills. From the results of Figure 3 (further detailed in Table 3), it is possible to observe the weaknesses emerging from the fine-tuning of the translated versions of Alpaca (Section 5.1), the improvement obtained from the alignment phase is encouraging (Section 5.2) but it is not enough to outperform the English one. Therefore, we investigated the impact of demonstrations on downstream performance (Section 5.3).",
1065
+ "bbox": [
1066
+ 507,
1067
+ 266,
1068
+ 884,
1069
+ 489
1070
+ ],
1071
+ "page_idx": 5
1072
+ },
1073
+ {
1074
+ "type": "text",
1075
+ "text": "The fine-grained analysis highlighted the importance of cross-lingual alignment data and the critical issues with non-English data. This opens the way for new hypotheses regarding the imbalance of pre-training languages and learning abilities via instruction-tuning.",
1076
+ "bbox": [
1077
+ 507,
1078
+ 493,
1079
+ 882,
1080
+ 589
1081
+ ],
1082
+ "page_idx": 5
1083
+ },
1084
+ {
1085
+ "type": "text",
1086
+ "text": "5.1 Translating the Alpaca is not the right way",
1087
+ "text_level": 1,
1088
+ "bbox": [
1089
+ 507,
1090
+ 606,
1091
+ 880,
1092
+ 621
1093
+ ],
1094
+ "page_idx": 5
1095
+ },
1096
+ {
1097
+ "type": "text",
1098
+ "text": "The instruction-tuning on LLaMA, predominantly pre-trained in English, affects x-Alpaca. Figure 3 and in terms of numbers, Table 3 show that in both MLQA and XQUAD, there is a gap of 55 and 53 average points between en-Alpaca and the x-Alpacas. This phenomenon is mitigated for MMLU and BBH, where we observed an average gap of 18 and 14 points. Instructing an LLM on Alpaca-style demonstrations translated into different languages is not always a good strategy. However, some x-Alpacas, such as zh-Alpaca and de-Alpaca, have performed better. We hypothesize that this phenomenon is related to the scale of the pre-training data in the respective languages and, thus, the abilities of the LLaMA. In future developments, we plan to extend the study on other LLMs beyond LLaMA to observe whether the phenomenon is similar, milder, or more significant.",
1099
+ "bbox": [
1100
+ 507,
1101
+ 629,
1102
+ 882,
1103
+ 917
1104
+ ],
1105
+ "page_idx": 5
1106
+ },
1107
+ {
1108
+ "type": "page_footnote",
1109
+ "text": "<sup>3</sup>We performed translations using the Google translator API from English to Chinese (zh), Italian (it), Arabic (ar), Spanish (es), German (de). Resources will be made available along with the publication",
1110
+ "bbox": [
1111
+ 112,
1112
+ 868,
1113
+ 487,
1114
+ 917
1115
+ ],
1116
+ "page_idx": 5
1117
+ },
1118
+ {
1119
+ "type": "page_number",
1120
+ "text": "7966",
1121
+ "bbox": [
1122
+ 480,
1123
+ 928,
1124
+ 519,
1125
+ 940
1126
+ ],
1127
+ "page_idx": 5
1128
+ },
1129
+ {
1130
+ "type": "table",
1131
+ "img_path": "images/25ef11c65468ba47dd11e717a806e1e69369c5fc506224068e386e0e360baf74.jpg",
1132
+ "table_caption": [],
1133
+ "table_footnote": [],
1134
+ "table_body": "<table><tr><td>QA\nTask</td><td>en-Alpaca</td><td>avg-Alpaca</td><td>avg-CrossAlpaca</td><td>δ</td></tr><tr><td>MLQA</td><td>0.89</td><td>0.34</td><td>0.64</td><td>+0.30</td></tr><tr><td>XQUAD</td><td>0.97</td><td>0.31</td><td>0.65</td><td>+0.30</td></tr><tr><td>MMLU</td><td>0.42</td><td>0.24</td><td>0.32</td><td>+0.08</td></tr><tr><td>BBH</td><td>0.30</td><td>0.24</td><td>0.28</td><td>+0.04</td></tr></table>",
1135
+ "bbox": [
1136
+ 115,
1137
+ 80,
1138
+ 487,
1139
+ 168
1140
+ ],
1141
+ "page_idx": 6
1142
+ },
1143
+ {
1144
+ "type": "text",
1145
+ "text": "Table 2: Averages of the results on proposed benchmarks. The column $\\delta$ indicates the difference between avg-Alpacas and our avg-CrossAlpacas.",
1146
+ "bbox": [
1147
+ 112,
1148
+ 177,
1149
+ 489,
1150
+ 219
1151
+ ],
1152
+ "page_idx": 6
1153
+ },
1154
+ {
1155
+ "type": "text",
1156
+ "text": "5.2 CrossAlpaca: A cross-lingual solution",
1157
+ "text_level": 1,
1158
+ "bbox": [
1159
+ 112,
1160
+ 247,
1161
+ 452,
1162
+ 263
1163
+ ],
1164
+ "page_idx": 6
1165
+ },
1166
+ {
1167
+ "type": "text",
1168
+ "text": "Semantic alignment through Translation-following demonstrations during fine-tuning could have a valuable impact on the cross-lingual abilities of It-LLMs. The $x$ -CrossAlpacas outperformed the x-Alpacas by 30 average points on MLQA, 34 average points on XQUAD, 8 on MMLU, and 4 on BBH (see Table 2 and more detailed in Table 3). They also brought their performances closer to the sota obtained from the original Alpaca by 25 points on MLQA and 22 average points on XQUAD. In MMLU and BBH, the gap became very close, with averages of 10 and 2 points (see Table 2 or the line 'en-Alpaca vs avg-CrossAlpaca' in Table 3).",
1169
+ "bbox": [
1170
+ 112,
1171
+ 269,
1172
+ 487,
1173
+ 478
1174
+ ],
1175
+ "page_idx": 6
1176
+ },
1177
+ {
1178
+ "type": "text",
1179
+ "text": "Enriching Translation-following demonstrations has outstanding influences on the cross-lingual abilities of the It-LLMs. However, even in this case, Chinese and German models (zh- and de-CrossAlpaca) outperformed Arabic by many points and, in some specific cases, Spanish and Italian as well. This phenomenon, we hypothesize, is related to the diversity in corpus representation within the pre-training data, as shown in (Yang et al., 2023). Therefore, cross-lingual approaches do not have an incisive impact as in languages less present in the pre-training phases of the language model.",
1180
+ "bbox": [
1181
+ 112,
1182
+ 480,
1183
+ 489,
1184
+ 674
1185
+ ],
1186
+ "page_idx": 6
1187
+ },
1188
+ {
1189
+ "type": "text",
1190
+ "text": "5.3 Ablation Study",
1191
+ "text_level": 1,
1192
+ "bbox": [
1193
+ 112,
1194
+ 687,
1195
+ 280,
1196
+ 703
1197
+ ],
1198
+ "page_idx": 6
1199
+ },
1200
+ {
1201
+ "type": "text",
1202
+ "text": "Our CrossAlpacas, distinguished by the construction of the demonstrations pairs (Section 4.2), achieves significant performance improvements and contributes to closing the gap between the original Alpaca (en-Alpaca) and a series of x-Alpacas in different languages. In order to show the impact of enrichment with cross-lingual demonstrations, we propose two different analyses. In the first analysis, we incrementally decrease the training data, in particular on the Translation-following demonstrations side (Section 5.4). In the second, still working on the Translation-following part (defined by half en-x and half x-en demonstrations), we an",
1203
+ "bbox": [
1204
+ 112,
1205
+ 709,
1206
+ 489,
1207
+ 917
1208
+ ],
1209
+ "page_idx": 6
1210
+ },
1211
+ {
1212
+ "type": "image",
1213
+ "img_path": "images/a08f94c795058f3708498e8634dde81f022dcbb5670e723cfaf3da442e1a6342.jpg",
1214
+ "image_caption": [],
1215
+ "image_footnote": [],
1216
+ "bbox": [
1217
+ 556,
1218
+ 85,
1219
+ 836,
1220
+ 218
1221
+ ],
1222
+ "page_idx": 6
1223
+ },
1224
+ {
1225
+ "type": "image",
1226
+ "img_path": "images/161681fe38c2d95b24c8e37313135ddf3d4616b082402bf0274a128c9684f67d.jpg",
1227
+ "image_caption": [
1228
+ "Figure 4: Evaluation of proposed benchmarks of the demonstrations used for instruction-tuning our CrossAlpacas."
1229
+ ],
1230
+ "image_footnote": [],
1231
+ "bbox": [
1232
+ 554,
1233
+ 225,
1234
+ 836,
1235
+ 357
1236
+ ],
1237
+ "page_idx": 6
1238
+ },
1239
+ {
1240
+ "type": "text",
1241
+ "text": "alyze the impact of the demonstrations by splitting the experiments into en-x and x-en (Section 5.4.1).",
1242
+ "bbox": [
1243
+ 507,
1244
+ 442,
1245
+ 882,
1246
+ 473
1247
+ ],
1248
+ "page_idx": 6
1249
+ },
1250
+ {
1251
+ "type": "text",
1252
+ "text": "5.4 Translation-following demonstrations empower non-English abilities.",
1253
+ "text_level": 1,
1254
+ "bbox": [
1255
+ 507,
1256
+ 488,
1257
+ 850,
1258
+ 520
1259
+ ],
1260
+ "page_idx": 6
1261
+ },
1262
+ {
1263
+ "type": "text",
1264
+ "text": "Figure 4 (for a more extensive analysis please refer to Figure 6 in the Appendix) shows the non-English performance of the x-CrossAlpaca on the benchmarks under different scales of Translation-following demonstrations<sup>4</sup>. The x-CrossAlpacas achieve higher accuracy when more demonstrations are used, revealing the benefits of cross-lingual alignment to improve non-English performance. However, Translation-following demonstrations are built in two directions: x-en and en-x (foreign-English and English-foreign). Although equally distributed, we are still determining whether there is an asymmetry between the two types of contributions.",
1265
+ "bbox": [
1266
+ 505,
1267
+ 526,
1268
+ 884,
1269
+ 750
1270
+ ],
1271
+ "page_idx": 6
1272
+ },
1273
+ {
1274
+ "type": "text",
1275
+ "text": "Finally, this result is less pronounced for the multi-task benchmarks (see Figure 6 MMLU and BBH). This could be related to the fact that in the benchmarks, there are logical-mathematical subtasks which are less language dependent (comparatively simpler syntax, smaller vocabularies), and hence, our cross-lingual approach does not influence the results for MLQA and XQUAD as",
1276
+ "bbox": [
1277
+ 507,
1278
+ 752,
1279
+ 882,
1280
+ 881
1281
+ ],
1282
+ "page_idx": 6
1283
+ },
1284
+ {
1285
+ "type": "page_footnote",
1286
+ "text": "4The Traslation-following demonstrations are equally selected in a random way from the 10k en-x and x-en.",
1287
+ "bbox": [
1288
+ 507,
1289
+ 892,
1290
+ 882,
1291
+ 917
1292
+ ],
1293
+ "page_idx": 6
1294
+ },
1295
+ {
1296
+ "type": "page_number",
1297
+ "text": "7967",
1298
+ "bbox": [
1299
+ 480,
1300
+ 927,
1301
+ 519,
1302
+ 940
1303
+ ],
1304
+ "page_idx": 6
1305
+ },
1306
+ {
1307
+ "type": "text",
1308
+ "text": "much. Furthermore, it is possible to observe a trend in language groups, particularly Chinese-German, Italian-Spanish, and Arabic. This trend, which recurs frequently in the results of our experiments, will be further investigated in future work.",
1309
+ "bbox": [
1310
+ 112,
1311
+ 84,
1312
+ 489,
1313
+ 165
1314
+ ],
1315
+ "page_idx": 7
1316
+ },
1317
+ {
1318
+ "type": "image",
1319
+ "img_path": "images/bfe2c307a8eced7305a024eef5b448dfe50ac3468bd0a2b7f826a6c8f7f8fa08.jpg",
1320
+ "image_caption": [],
1321
+ "image_footnote": [],
1322
+ "bbox": [
1323
+ 159,
1324
+ 193,
1325
+ 442,
1326
+ 326
1327
+ ],
1328
+ "page_idx": 7
1329
+ },
1330
+ {
1331
+ "type": "image",
1332
+ "img_path": "images/ee2382f505e4bd9f77f0855bbcee68ef9431fdc6bf8ef4c70df5db557eea9517.jpg",
1333
+ "image_caption": [
1334
+ "Figure 5: Evaluation of proposed benchmarks using one-direction Translation-following demonstrations. For en-x for English-foreigner and x-en for foreign English."
1335
+ ],
1336
+ "image_footnote": [],
1337
+ "bbox": [
1338
+ 159,
1339
+ 332,
1340
+ 442,
1341
+ 464
1342
+ ],
1343
+ "page_idx": 7
1344
+ },
1345
+ {
1346
+ "type": "text",
1347
+ "text": "5.4.1 Demonstration direction matters on non-English abilities",
1348
+ "text_level": 1,
1349
+ "bbox": [
1350
+ 112,
1351
+ 580,
1352
+ 455,
1353
+ 612
1354
+ ],
1355
+ "page_idx": 7
1356
+ },
1357
+ {
1358
+ "type": "text",
1359
+ "text": "Figure 5 shows the evaluation conducted in varying directions of the translation-following demonstrations. In particular, demonstrations with English-foreign direction (en-x) better impact downstream models. Conversely, foreign-English (x-en) demonstrations perform better than baselines but underperform demonstrations in the opposite direction. However, as shown in Figure 5 (and complete Figure 7), the x-CrossAlpacas continue to outperform. Nevertheless, the trend of translation-following demonstrations with one direction is interesting. Again, as was the case in the previous ablation study, the multi-task benchmarks (see MMLU and BBH in Figure 7) do not seem to obtain significant influences, which reinforces the hypothesis that the models are greatly affected by cross-lingual capabilities in tasks where there is a strong presence of natural language.",
1360
+ "bbox": [
1361
+ 112,
1362
+ 629,
1363
+ 489,
1364
+ 917
1365
+ ],
1366
+ "page_idx": 7
1367
+ },
1368
+ {
1369
+ "type": "text",
1370
+ "text": "6 Future Works",
1371
+ "text_level": 1,
1372
+ "bbox": [
1373
+ 507,
1374
+ 83,
1375
+ 665,
1376
+ 98
1377
+ ],
1378
+ "page_idx": 7
1379
+ },
1380
+ {
1381
+ "type": "text",
1382
+ "text": "The cross-lingual abilities of Intruction-tuned Large Language Models (It-LLMs) seem to be supported by LLMs, such as in the case of Alpaca, the LLaMA backbone. However, it seems that low-impact demonstrations at the data level can enrich these abilities. We obtained valuable results from our experiments by proposing strategic demonstrations, i.e., Translation-following demonstrations. These results were proposed by performing fine-tuning on LLaMA-7B as done by Taori et al. (2023).",
1383
+ "bbox": [
1384
+ 505,
1385
+ 108,
1386
+ 884,
1387
+ 284
1388
+ ],
1389
+ "page_idx": 7
1390
+ },
1391
+ {
1392
+ "type": "text",
1393
+ "text": "In future work, we would like to continue to investigate by increasing the number of parameters in LLaMA and including additional backbone models. In addition, it might be interesting to evaluate the impact on low-resource languages as done for in-context settings in (Ranaldi et al., 2024). Hence, we would like to get to the underside of performances obtained in some experiments (see Section 5.4) by extending previous epistemic approaches (Ranaldi et al., 2023a,c,b) to It-LLMs. In parallel, plans include analyzing the translation capabilities of general It-LLMs and those enhanced with translation tasks, including some specialized translation tasks among our evaluation benchmarks. Finally, we would like to investigate the learning abilities of the original Alpaca as the translation data change, proposing different probing experiments on (original) English data enhanced with translations.",
1394
+ "bbox": [
1395
+ 507,
1396
+ 286,
1397
+ 884,
1398
+ 575
1399
+ ],
1400
+ "page_idx": 7
1401
+ },
1402
+ {
1403
+ "type": "text",
1404
+ "text": "7 Conclusion",
1405
+ "text_level": 1,
1406
+ "bbox": [
1407
+ 507,
1408
+ 587,
1409
+ 640,
1410
+ 602
1411
+ ],
1412
+ "page_idx": 7
1413
+ },
1414
+ {
1415
+ "type": "text",
1416
+ "text": "In this paper, we proposed CrossAlpaca, an approach to empowering the instruction-tuning of LLMs on non-English data. Specifically, we coupled Instruction-following (Alpaca-style) demonstrations with Translation-following demonstrations. Our method seeks to instruct the LLM to semantic alignment between English and non-English overperforms models instructed on non-English texts. In particular, thanks to our CrossAlpaca demonstrations, the instructed models achieved significant performance improvements on four Question Answering benchmarks XQUAD, MLQA, MMLU, and BBH. In addition, we observe that semantic alignment strengthens with increasing Translation-following data; this demonstrates the de-facto abilities of It-LLMs to learn from instructions. Our approach and results contribute to improved research on the potential for producing more powerful LLMs for non-English languages.",
1417
+ "bbox": [
1418
+ 505,
1419
+ 612,
1420
+ 884,
1421
+ 917
1422
+ ],
1423
+ "page_idx": 7
1424
+ },
1425
+ {
1426
+ "type": "page_number",
1427
+ "text": "7968",
1428
+ "bbox": [
1429
+ 480,
1430
+ 927,
1431
+ 519,
1432
+ 940
1433
+ ],
1434
+ "page_idx": 7
1435
+ },
1436
+ {
1437
+ "type": "text",
1438
+ "text": "References",
1439
+ "text_level": 1,
1440
+ "bbox": [
1441
+ 115,
1442
+ 84,
1443
+ 213,
1444
+ 98
1445
+ ],
1446
+ "page_idx": 8
1447
+ },
1448
+ {
1449
+ "type": "list",
1450
+ "sub_type": "ref_text",
1451
+ "list_items": [
1452
+ "Julien Abadji, Pedro Ortiz Suarez, Laurent Romary, and Benoit Sagot. 2022. Towards a cleaner document-oriented multilingual crawled corpus. In Proceedings of the Thirteenth Language Resources and Evaluation Conference, pages 4344-4355, Marseille, France. European Language Resources Association.",
1453
+ "Mikel Artetxe, Sebastian Ruder, and Dani Yogatama. 2019. On the cross-lingual transferability of monolingual representations. In Annual Meeting of the Association for Computational Linguistics.",
1454
+ "Mikko Aulamo and Jörg Tiedemann. 2019. The OPUS resource repository: An open package for creating parallel corpora and machine translation services. In Proceedings of the 22nd Nordic Conference on Computational Linguistics, pages 389-394, Turku, Finland. Linköping University Electronic Press.",
1455
+ "Terra Blevins and Luke Zettlemoyer. 2022. Language contamination helps explains the cross-lingual capabilities of english pretrained models. In Conference on Empirical Methods in Natural Language Processing.",
1456
+ "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.",
1457
+ "Wei-Lin Chen, Cheng-Kuang Wu, and Hsin-Hsi Chen. 2023. Traditional-chinese alpaca: Models and datasets. https://github.com/ntunlplab/traditional-chinese-alpaca.",
1458
+ "Yiming Cui, Ziqing Yang, and Xin Yao. 2023. Efficient and effective text encoding for chinese llama and alpaca.",
1459
+ "Jesse Dodge, Maarten Sap, Ana Marasovic, William Agnew, Gabriel Ilharco, Dirk Groeneveld, Margaret Mitchell, and Matt Gardner. 2021. Documenting large webtext corpora: A case study on the colossal clean crawled corpus.",
1460
+ "Leo Gao, Stella Biderman, Sid Black, Laurence Golding, Travis Hoppe, Charles Foster, Jason Phang, Horace He, Anish Thite, Noa Nabeshima, Shawn Presser, and Connor Leahy. 2020. The pile: An 800gb dataset of diverse text for language modeling.",
1461
+ "Dan Hendrycks, Collin Burns, Steven Basart, Andy Zou, Mantas Mazeika, Dawn Song, and Jacob Steinhardt. 2021. Measuring massive multitask language understanding."
1462
+ ],
1463
+ "bbox": [
1464
+ 115,
1465
+ 108,
1466
+ 489,
1467
+ 917
1468
+ ],
1469
+ "page_idx": 8
1470
+ },
1471
+ {
1472
+ "type": "list",
1473
+ "sub_type": "ref_text",
1474
+ "list_items": [
1475
+ "Edward J. Hu, Yelong Shen, Phillip Wallis, Zeyuan Allen-Zhu, Yuanzhi Li, Shean Wang, Lu Wang, and Weizhu Chen. 2021a. Lora: Low-rank adaptation of large language models.",
1476
+ "Edward J. Hu, Yelong Shen, Phillip Wallis, Zeyuan Allen-Zhu, Yuanzhi Li, Shean Wang, Lu Wang, and Weizhu Chen. 2021b. Lora: Low-rank adaptation of large language models.",
1477
+ "Haoyang Huang, Tianyi Tang, Dongdong Zhang, Wayne Xin Zhao, Ting Song, Yan Xia, and Furu Wei. 2023. Not all languages are created equal in llms: Improving multilingual capability by cross-lingual-thought prompting.",
1478
+ "Ayyoob Imani, Peiqin Lin, Amir Hossein Kargaran, Silvia Severini, Masoud Jalili Sabet, Nora Kassner, Chunlan Ma, Helmut Schmid, André F. T. Martins, François Yvon, and Hinrich Schütze. 2023. Glot500: Scaling multilingual corpora and language models to 500 languages.",
1479
+ "Kohaku-Blueleaf. 2023. Guanaco-lora: LoRA for trainin Multilingual Instruction-following LM based on LLaMA. https://huggingface.co/plncmm/guanaco-lora-7b.",
1480
+ "Shibamouli Lahiri. 2014. Complexity of Word Collocation Networks: A Preliminary Structural Analysis. In Proceedings of the Student Research Workshop at the 14th Conference of the European Chapter of the Association for Computational Linguistics, pages 96-105, Gothenburg, Sweden. Association for Computational Linguistics.",
1481
+ "Hang Le, Juan Miguel Pino, Changhan Wang, Jiatao Gu, Didier Schwab, and Laurent Besacier. 2021. Lightweight adapter tuning for multilingual speech translation. In Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics (ACL), pages 817-824. Association for Computational Linguistics.",
1482
+ "Patrick Lewis, Barlas Oguz, Rudy Rinott, Sebastian Riedel, and Holger Schwenk. 2020. MLQA: Evaluating cross-lingual extractive question answering. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pages 7315-7330, Online. Association for Computational Linguistics.",
1483
+ "Jiahuan Li, Hao Zhou, Shujian Huang, Shanbo Cheng, and Jiajun Chen. 2023. Eliciting the translation ability of large language models via multilingual finetuning with translation instructions.",
1484
+ "Xiang Lisa Li and Percy Liang. 2021. Prefix-tuning: Optimizing continuous prompts for generation. In Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing (Volume 1: Long Papers), pages 4582-4597, Online. Association for Computational Linguistics."
1485
+ ],
1486
+ "bbox": [
1487
+ 510,
1488
+ 85,
1489
+ 882,
1490
+ 917
1491
+ ],
1492
+ "page_idx": 8
1493
+ },
1494
+ {
1495
+ "type": "page_number",
1496
+ "text": "7969",
1497
+ "bbox": [
1498
+ 480,
1499
+ 928,
1500
+ 519,
1501
+ 940
1502
+ ],
1503
+ "page_idx": 8
1504
+ },
1505
+ {
1506
+ "type": "list",
1507
+ "sub_type": "ref_text",
1508
+ "list_items": [
1509
+ "Zehui Lin, Xiao Pan, Mingxuan Wang, Xipeng Qiu, Jiangtao Feng, Hao Zhou, and Lei Li. 2021. Pretraining multilingual neural machine translation by leveraging alignment information.",
1510
+ "Xiao Liu, Kaixuan Ji, Yicheng Fu, Weng Tam, Zhengxiao Du, Zhilin Yang, and Jie Tang. 2022. P-tuning: Prompt tuning can be comparable to fine-tuning across scales and tasks. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 2: Short Papers), pages 61-68, Dublin, Ireland. Association for Computational Linguistics.",
1511
+ "Yasmin Moslem, Rejwanul Haque, John D. Kelleher, and Andy Way. 2023. Adaptive machine translation with large language models.",
1512
+ "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.",
1513
+ "Guilherme Penedo, Quentin Malartic, Daniel Hesslow, Ruxandra Cojocaru, Alessandro Cappelli, Hamza Alobeidli, Baptiste Pannier, Ebtesam Almazrouei, and Julien Launay. 2023. The refined web dataset for falcon llm: Outperforming curated corpora with web data, and web data only.",
1514
+ "Giulia Pucci and Leonardo Ranaldi. 2024. Does the language matter? curriculum learning over neo-Latin languages. In Proceedings of the 2024 Joint International Conference on Computational Linguistics, Language Resources and Evaluation (LREC-COLING 2024), pages 5212-5220, Torino, Italia. ELRA and ICCL.",
1515
+ "Pranav Rajpurkar, Jian Zhang, Konstantin Lopyrev, and Percy Liang. 2016. Squad: 100,000+ questions for machine comprehension of text.",
1516
+ "Federico Ranaldi, Elena Sofia Ruzzetti, Felicia Logozzo, Michele Mastromattei, Leonardo Ranaldi, and Fabio Massimo Zanzotto. 2023a. Exploring linguistic properties of monolingual berts with typological classification among languages.",
1517
+ "Leonardo Ranaldi and Andre Freitas. 2024. Aligning large and small language models via chain-of-thought reasoning. In Proceedings of the 18th Conference of the European Chapter of the Association for Computational Linguistics (Volume 1: Long Papers), pages 1812-1827, St. Julian's, Malta. Association for Computational Linguistics.",
1518
+ "Leonardo Ranaldi, Aria Nourbakhsh, Elena Sofia Ruzzetti, Arianna Patrizi, Dario Onorati, Michele Mastromattei, Francesca Fallucchi, and Fabio Massimo Zanzotto. 2023b. The dark side of the language: Pre-trained transformers in the DarkNet. In Proceedings of the 14th International Conference on Recent"
1519
+ ],
1520
+ "bbox": [
1521
+ 115,
1522
+ 85,
1523
+ 485,
1524
+ 917
1525
+ ],
1526
+ "page_idx": 9
1527
+ },
1528
+ {
1529
+ "type": "list",
1530
+ "sub_type": "ref_text",
1531
+ "list_items": [
1532
+ "Advances in Natural Language Processing, pages 949-960, Varna, Bulgaria. INCOMA Ltd., Shoumen, Bulgaria.",
1533
+ "Leonardo Ranaldi and Giulia Pucci. 2023a. Does the English matter? elicit cross-lingual abilities of large language models. In Proceedings of the 3rd Workshop on Multi-lingual Representation Learning (MRL), pages 173–183, Singapore. Association for Computational Linguistics.",
1534
+ "Leonardo Ranaldi and Giulia Pucci. 2023b. Knowing knowledge: Epistemological study of knowledge in transformers. Applied Sciences, 13(2).",
1535
+ "Leonardo Ranaldi, Giulia Pucci, Federico Ranaldi, Elena Sofia Ruzzetti, and Fabio Massimo Zanzotto. 2024. Empowering multi-step reasoning across languages via tree-of-thoughts.",
1536
+ "Leonardo Ranaldi, Elena Sofia Ruzzetti, Davide Venditti, Dario Onorati, and Fabio Massimo Zanzotto. 2023c. A trip towards fairness: Bias and de-biasing in large language models.",
1537
+ "Andrea Santilli and Emanuele Rodola. 2023. Camoscio: an italian instruction-tuned llama.",
1538
+ "Mohammad Shoeybi, Mostofa Ali Patwary, Raul Puri, Patrick LeGresley, Jared Casper, and Bryan Catanzaro. 2019. Megatron-LM: Training multi-billion parameter language models using model parallelism. ArXiv, abs/1909.08053.",
1539
+ "Mirac Suzgun, Nathan Scales, Nathanael Scharli, Sebastian Gehrmann, Yi Tay, Hyung Won Chung, Aakanksha Chowdhery, Quoc V Le, Ed H Chi, Denny Zhou, , and Jason Wei. 2022. Challenging big-bench tasks and whether chain-of-thought can solve them. arXiv preprint arXiv:2210.09261.",
1540
+ "Marc Tanti, Lonneke van der Plas, Claudia Borg, and Albert Gatt. 2021. On the language-specificity of multilingual bert and the impact of fine-tuning.",
1541
+ "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.",
1542
+ "Ian Tenney, Dipanjan Das, and Ellie Pavlick. 2019. BERT rediscovers the classical NLP pipeline. In Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics, pages 4593-4601, Florence, Italy. Association for Computational Linguistics.",
1543
+ "Martin Thissen. 2023. Fine-tune alpaca for any language. https://github.com/thisserand/alpaca-lora-finetune-language.",
1544
+ "Jörg Tiedemann. 2012. Parallel data, tools and interfaces in OPUS. In Proceedings of the Eighth International Conference on Language Resources and Evaluation (LREC'12), pages 2214-2218, Istanbul,"
1545
+ ],
1546
+ "bbox": [
1547
+ 510,
1548
+ 85,
1549
+ 880,
1550
+ 917
1551
+ ],
1552
+ "page_idx": 9
1553
+ },
1554
+ {
1555
+ "type": "page_number",
1556
+ "text": "7970",
1557
+ "bbox": [
1558
+ 480,
1559
+ 928,
1560
+ 519,
1561
+ 940
1562
+ ],
1563
+ "page_idx": 9
1564
+ },
1565
+ {
1566
+ "type": "list",
1567
+ "sub_type": "ref_text",
1568
+ "list_items": [
1569
+ "Turkey. European Language Resources Association (ELRA).",
1570
+ "Hugo Touvron, Thibaut Lavril, Gautier Izacard, Xavier Martinet, Marie-Anne Lachaux, Timothee Lacroix, Baptiste Roziere, Naman Goyal, Eric Hambro, Faisal Azhar, Aurelien Rodriguez, Armand Joulin, Edouard Grave, and Guillaume Lample. 2023. Llama: Open and efficient foundation language models.",
1571
+ "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.",
1572
+ "Jason Wei, Maarten Bosma, Vincent Y. 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.",
1573
+ "Canwen Xu, Daya Guo, Nan Duan, and Julian McAuley. 2023. Baize: An open-source chat model with parameter-efficient tuning on self-chat data. arXiv preprint arXiv:2304.01196.",
1574
+ "Wen Yang, Chong Li, Jiajun Zhang, and Chengqing Zong. 2023. Bigtranslate: Augmenting large language models with multilingual translation capability over 100 languages.",
1575
+ "Yasbok. Alpaca Instruction Fine-Tuning for Arabic. https://huggingface.co/Yasbok.",
1576
+ "Jiali Zeng, Fandong Meng, Yongjing Yin, and Jie Zhou. 2023. Tim: Teaching large language models to translate with comparison.",
1577
+ "Shaolei Zhang, Qingkai Fang, Zhuocheng Zhang, Zhengrui Ma, Yan Zhou, Langlin Huang, Mengyu Bu, Shangtong Gui, Yunji Chen, Xilin Chen, and Yang Feng. 2023. Bayling: Bridging cross-lingual alignment and instruction following through interactive translation for large language models.",
1578
+ "Wenhao Zhu, Yunzhe Lv, Qingxiu Dong, Fei Yuan, Jingjing Xu, Shujian Huang, Lingpeng Kong, Jiajun Chen, and Lei Li. 2023. Extrapolating large language models to non-english by aligning languages.",
1579
+ "Yukun Zhu, Ryan Kiros, Rich Zemel, Ruslan Salakhutdinov, Raquel Urtasun, Antonio Torralba, and Sanja Fidler. 2015. Aligning books and movies: Towards story-like visual explanations by watching movies and reading books. In The IEEE International Conference on Computer Vision (ICCV)."
1580
+ ],
1581
+ "bbox": [
1582
+ 115,
1583
+ 85,
1584
+ 485,
1585
+ 778
1586
+ ],
1587
+ "page_idx": 10
1588
+ },
1589
+ {
1590
+ "type": "page_number",
1591
+ "text": "7971",
1592
+ "bbox": [
1593
+ 480,
1594
+ 928,
1595
+ 517,
1596
+ 940
1597
+ ],
1598
+ "page_idx": 10
1599
+ },
1600
+ {
1601
+ "type": "table",
1602
+ "img_path": "images/179c8bcc1f61fc743d5aa8eb19dbf3c437cf9c92d5b2edc8b06e7d60c778572e.jpg",
1603
+ "table_caption": [
1604
+ "A Appendix"
1605
+ ],
1606
+ "table_footnote": [
1607
+ "Table 3: Evaluation results on proposed benchmarks. The avg- lines are the averages of x-Alpacas and x-CorssAlpacas. The last three lines indicate the comparisons between en-Alpaca. The last line indicates the comparisons between avg-Alpacas and avg-CrossAlpacas."
1608
+ ],
1609
+ "table_body": "<table><tr><td></td><td>Model</td><td>MLQA</td><td>XQUAD</td><td>MMLU</td><td>BBH</td></tr><tr><td></td><td>en-Alpaca</td><td>0.89</td><td>0.87</td><td>0.42</td><td>0.30</td></tr><tr><td rowspan=\"5\">Alpaca</td><td>zh-Alpaca</td><td>0.48</td><td>0.38</td><td>0.26</td><td>0.25</td></tr><tr><td>ar-Alpaca</td><td>0.17</td><td>0.16</td><td>0.18</td><td>0.20</td></tr><tr><td>it-Alpaca</td><td>0.35</td><td>0.32</td><td>0.21</td><td>0.25</td></tr><tr><td>es-Alpaca</td><td>0.32</td><td>0.33</td><td>0.19</td><td>0.24</td></tr><tr><td>de-Alpaca</td><td>0.36</td><td>0.39</td><td>0.24</td><td>0.25</td></tr><tr><td></td><td>avg-Alpaca</td><td>0.34</td><td>0.31</td><td>0.24</td><td>0.24</td></tr><tr><td rowspan=\"5\">CrossAlpaca</td><td>zh-CrossAlpaca</td><td>0.70</td><td>0.69</td><td>0.36</td><td>0.28</td></tr><tr><td>ar-CrossAlpaca</td><td>0.56</td><td>0.60</td><td>0.25</td><td>0.25</td></tr><tr><td>it-CrossAlpaca</td><td>0.64</td><td>0.65</td><td>0.28</td><td>0.27</td></tr><tr><td>es-CrossAlpaca</td><td>0.65</td><td>0.64</td><td>0.28</td><td>0.28</td></tr><tr><td>de-CrossAlpaca</td><td>0.64</td><td>0.67</td><td>0.32</td><td>0.29</td></tr><tr><td></td><td>avg-CrossAlpaca</td><td>0.64</td><td>0.65</td><td>0.32</td><td>0.28</td></tr><tr><td></td><td>en-Alpaca vs avg-Alpaca</td><td>0.34(-0.55)</td><td>0.31(-0.56)</td><td>0.24(-0.18)</td><td>0.24(-0.06)</td></tr><tr><td></td><td>en-Alpaca vs avg-CrossAlpaca</td><td>0.64(-0.25)</td><td>0.65(-0.22)</td><td>0.32(-0.10)</td><td>0.28(-0.20)</td></tr><tr><td></td><td>avg-CrossAlpaca vs avg-Alpaca</td><td>(+0.30)</td><td>(+0.34)</td><td>(+0.08)</td><td>(+0.04)</td></tr></table>",
1610
+ "bbox": [
1611
+ 136,
1612
+ 154,
1613
+ 862,
1614
+ 456
1615
+ ],
1616
+ "page_idx": 11
1617
+ },
1618
+ {
1619
+ "type": "table",
1620
+ "img_path": "images/7ddce01a20951b832eda20c507de34d282222a7d8c3bb76835b71a586faecb81.jpg",
1621
+ "table_caption": [
1622
+ "B Appendix"
1623
+ ],
1624
+ "table_footnote": [],
1625
+ "table_body": "<table><tr><td>Language</td><td>Alpaca</td><td>MLQA</td><td>XQUAD</td><td>MMLU</td><td>BBH</td><td>News/commentary</td></tr><tr><td>Arabic</td><td>x</td><td>x</td><td>x</td><td>-</td><td>-</td><td>x</td></tr><tr><td>Chinese</td><td>x</td><td>x</td><td>x</td><td>-</td><td>-</td><td>x</td></tr><tr><td>English</td><td>x</td><td>x</td><td>x</td><td>x</td><td>x</td><td>x</td></tr><tr><td>German</td><td>x</td><td>x</td><td>x</td><td>-</td><td>-</td><td>x</td></tr><tr><td>Greek</td><td>-</td><td>x</td><td>x</td><td>-</td><td>-</td><td>x</td></tr><tr><td>Hindi</td><td>x</td><td>x</td><td>x</td><td>-</td><td>-</td><td>x</td></tr><tr><td>Italian</td><td>x</td><td>-</td><td>-</td><td>x</td><td>x</td><td>x</td></tr><tr><td>Russian</td><td>x</td><td>x</td><td>x</td><td>-</td><td>-</td><td>x</td></tr><tr><td>Spanish</td><td>x</td><td>x</td><td>x</td><td>-</td><td>-</td><td>x</td></tr><tr><td>Turkish</td><td>x</td><td>-</td><td>x</td><td>-</td><td>-</td><td>-</td></tr><tr><td>Vietnamese</td><td>-</td><td>x</td><td>x</td><td>-</td><td>-</td><td>-</td></tr></table>",
1626
+ "bbox": [
1627
+ 169,
1628
+ 642,
1629
+ 826,
1630
+ 840
1631
+ ],
1632
+ "page_idx": 11
1633
+ },
1634
+ {
1635
+ "type": "text",
1636
+ "text": "Table 4: List of available state-of-the-art resources.",
1637
+ "bbox": [
1638
+ 322,
1639
+ 848,
1640
+ 670,
1641
+ 863
1642
+ ],
1643
+ "page_idx": 11
1644
+ },
1645
+ {
1646
+ "type": "page_number",
1647
+ "text": "7972",
1648
+ "bbox": [
1649
+ 480,
1650
+ 927,
1651
+ 521,
1652
+ 940
1653
+ ],
1654
+ "page_idx": 11
1655
+ },
1656
+ {
1657
+ "type": "image",
1658
+ "img_path": "images/95b2576b4f00518064c21a463161694c253da331496aa0f224304cff16647117.jpg",
1659
+ "image_caption": [
1660
+ "C Appendix"
1661
+ ],
1662
+ "image_footnote": [],
1663
+ "bbox": [
1664
+ 159,
1665
+ 120,
1666
+ 489,
1667
+ 273
1668
+ ],
1669
+ "page_idx": 12
1670
+ },
1671
+ {
1672
+ "type": "image",
1673
+ "img_path": "images/97e188ad7570aa8e4c8d091a81fc470daae5c534cea96487512ff9d81aad08bf.jpg",
1674
+ "image_caption": [],
1675
+ "image_footnote": [],
1676
+ "bbox": [
1677
+ 505,
1678
+ 118,
1679
+ 836,
1680
+ 273
1681
+ ],
1682
+ "page_idx": 12
1683
+ },
1684
+ {
1685
+ "type": "image",
1686
+ "img_path": "images/43ed6c5e9c2d6d92547db2ea9bfa863bdb6642ab0aacbf2a9931aca7a2573578.jpg",
1687
+ "image_caption": [
1688
+ "Figure 6: Evaluation of all proposed benchmarks of the demonstrations used for instruction-tuning our CrossAlpacas."
1689
+ ],
1690
+ "image_footnote": [],
1691
+ "bbox": [
1692
+ 159,
1693
+ 285,
1694
+ 489,
1695
+ 436
1696
+ ],
1697
+ "page_idx": 12
1698
+ },
1699
+ {
1700
+ "type": "image",
1701
+ "img_path": "images/a275604db23ecc34bfac52ad45e2279e361a3693d98de3a571a3ee324bcb7d1e.jpg",
1702
+ "image_caption": [],
1703
+ "image_footnote": [],
1704
+ "bbox": [
1705
+ 507,
1706
+ 285,
1707
+ 836,
1708
+ 436
1709
+ ],
1710
+ "page_idx": 12
1711
+ },
1712
+ {
1713
+ "type": "image",
1714
+ "img_path": "images/c5ccce64f4266f9b341fdd9b793ea081c0f51cff55dced769c3f2f4cce303d12.jpg",
1715
+ "image_caption": [
1716
+ "D Appendix"
1717
+ ],
1718
+ "image_footnote": [],
1719
+ "bbox": [
1720
+ 159,
1721
+ 527,
1722
+ 489,
1723
+ 678
1724
+ ],
1725
+ "page_idx": 12
1726
+ },
1727
+ {
1728
+ "type": "image",
1729
+ "img_path": "images/3f986813402f6745ae4a46f0d55f1f2eb512387b0bf7e536193d91f199e31a3f.jpg",
1730
+ "image_caption": [],
1731
+ "image_footnote": [],
1732
+ "bbox": [
1733
+ 507,
1734
+ 527,
1735
+ 836,
1736
+ 678
1737
+ ],
1738
+ "page_idx": 12
1739
+ },
1740
+ {
1741
+ "type": "image",
1742
+ "img_path": "images/7cd59f68ce3891a7d078cecc93fa5f0d4f1244504d22ebed5f2b327b8db5e8c7.jpg",
1743
+ "image_caption": [
1744
+ "Figure 7: Evaluation of all proposed benchmarks using one-direction Translation-following demonstrations. For en-x for English-foreigner and x-en for foreign English. With the red cross, we indicate the results of the x-Alpaca standards, and with the green diamond, the results of our x-CrossAlpaca."
1745
+ ],
1746
+ "image_footnote": [],
1747
+ "bbox": [
1748
+ 159,
1749
+ 690,
1750
+ 489,
1751
+ 841
1752
+ ],
1753
+ "page_idx": 12
1754
+ },
1755
+ {
1756
+ "type": "image",
1757
+ "img_path": "images/2d2056d9b83128c5ae6440a8bd75de06f61e2bb4b874c5122cfe93559b72a19a.jpg",
1758
+ "image_caption": [],
1759
+ "image_footnote": [],
1760
+ "bbox": [
1761
+ 507,
1762
+ 690,
1763
+ 836,
1764
+ 841
1765
+ ],
1766
+ "page_idx": 12
1767
+ },
1768
+ {
1769
+ "type": "page_number",
1770
+ "text": "7973",
1771
+ "bbox": [
1772
+ 480,
1773
+ 928,
1774
+ 521,
1775
+ 940
1776
+ ],
1777
+ "page_idx": 12
1778
+ }
1779
+ ]
2024/Empowering cross-lingual abilities of instruction-tuned large language models by translation-following demonstrations/f7644dfc-cd06-4320-a14e-02a1e95a33d9_model.json ADDED
@@ -0,0 +1,2404 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ [
3
+ {
4
+ "type": "title",
5
+ "bbox": [
6
+ 0.119,
7
+ 0.089,
8
+ 0.88,
9
+ 0.128
10
+ ],
11
+ "angle": 0,
12
+ "content": "Empowering Cross-lingual Abilities of Instruction-tuned Large Language Models by Translation-following Demonstrations"
13
+ },
14
+ {
15
+ "type": "text",
16
+ "bbox": [
17
+ 0.258,
18
+ 0.141,
19
+ 0.741,
20
+ 0.159
21
+ ],
22
+ "angle": 0,
23
+ "content": "Leonardo Ranaldi \\((\\dagger)\\), Giulia Pucci \\((\\star)\\), André Freitas \\((\\dagger, *)\\)"
24
+ },
25
+ {
26
+ "type": "text",
27
+ "bbox": [
28
+ 0.295,
29
+ 0.16,
30
+ 0.709,
31
+ 0.176
32
+ ],
33
+ "angle": 0,
34
+ "content": "\\((\\dagger)\\) Idiap Research Institute, Martigny, Switzerland"
35
+ },
36
+ {
37
+ "type": "text",
38
+ "bbox": [
39
+ 0.226,
40
+ 0.177,
41
+ 0.776,
42
+ 0.193
43
+ ],
44
+ "angle": 0,
45
+ "content": "\\((\\star)\\) Department of Computing Science, University of Aberdeen, UK"
46
+ },
47
+ {
48
+ "type": "text",
49
+ "bbox": [
50
+ 0.226,
51
+ 0.193,
52
+ 0.776,
53
+ 0.209
54
+ ],
55
+ "angle": 0,
56
+ "content": "\\((\\ast)\\)Department of Computer Science, University of Manchester, UK"
57
+ },
58
+ {
59
+ "type": "text",
60
+ "bbox": [
61
+ 0.332,
62
+ 0.211,
63
+ 0.665,
64
+ 0.226
65
+ ],
66
+ "angle": 0,
67
+ "content": "[first_name].[last_name]@idiap.ch"
68
+ },
69
+ {
70
+ "type": "title",
71
+ "bbox": [
72
+ 0.261,
73
+ 0.253,
74
+ 0.341,
75
+ 0.267
76
+ ],
77
+ "angle": 0,
78
+ "content": "Abstract"
79
+ },
80
+ {
81
+ "type": "text",
82
+ "bbox": [
83
+ 0.142,
84
+ 0.28,
85
+ 0.461,
86
+ 0.607
87
+ ],
88
+ "angle": 0,
89
+ "content": "The language ability of Large Language Models (LLMs) is often unbalanced towards English because of the imbalance in the distribution of the pre-training data. This disparity is demanded in further fine-tuning and affecting the cross-lingual abilities of LLMs. In this paper, we propose to empower Instruction-tuned LLMs (It-LLMs) in languages other than English by building semantic alignment between them. Hence, we propose CrossAlpaca, an It-LLM with cross-lingual Instruction-following and Translation-following demonstrations to improve semantic alignment between languages. We validate our approach on the multilingual Question Answering (QA) benchmarks XQUAD and MLQA and adapted versions of MMLU and BBH. Our models, tested over six different languages, outperform the It-LLMs tuned on monolingual data. The final results show that instruction tuning on non-English data is not enough and that semantic alignment can be further improved by Translation-following demonstrations."
90
+ },
91
+ {
92
+ "type": "title",
93
+ "bbox": [
94
+ 0.115,
95
+ 0.62,
96
+ 0.26,
97
+ 0.635
98
+ ],
99
+ "angle": 0,
100
+ "content": "1 Introduction"
101
+ },
102
+ {
103
+ "type": "text",
104
+ "bbox": [
105
+ 0.113,
106
+ 0.646,
107
+ 0.49,
108
+ 0.822
109
+ ],
110
+ "angle": 0,
111
+ "content": "Large Language Models (LLMs) achieve comprehensive language abilities through pre-training on large corpora (Brown et al., 2020; Touvron et al., 2023; Ranaldi and Pucci, 2023b). Hence, the acquired language abilities follow the corpora features, mostly available in English (Lin et al., 2021; Pucci and Ranaldi, 2024). This phenomenon produces an imbalance in both pre-training (Blevins and Zettlemoyer, 2022) and fine-tuning (Le et al., 2021). Consequently, LLMs underperform in languages different from English (Huang et al., 2023)."
112
+ },
113
+ {
114
+ "type": "text",
115
+ "bbox": [
116
+ 0.113,
117
+ 0.823,
118
+ 0.49,
119
+ 0.919
120
+ ],
121
+ "angle": 0,
122
+ "content": "Efforts to increase multilingual abilities propose continuing pre-training with large-scale monolingual data (Imani et al., 2023; Cui et al., 2023; Yang et al., 2023). However, learning a language from monolingual data requires considerable data and computational resources."
123
+ },
124
+ {
125
+ "type": "text",
126
+ "bbox": [
127
+ 0.508,
128
+ 0.254,
129
+ 0.885,
130
+ 0.414
131
+ ],
132
+ "angle": 0,
133
+ "content": "In this paper, we propose CrossAlpaca, an Instruction-tuned LLM (It-LLM) empowered with a semantic alignment between English and other languages. We analyze how to elicit the non-English abilities of It-LLMs by focusing on the crucial phase: instruction-tuning over Instruction-following demonstrations. Hence, we study the effect of cross-lingual alignment by proposing Translation-following demonstrations to improve the instruction-tuning phase."
134
+ },
135
+ {
136
+ "type": "text",
137
+ "bbox": [
138
+ 0.508,
139
+ 0.417,
140
+ 0.885,
141
+ 0.626
142
+ ],
143
+ "angle": 0,
144
+ "content": "In our experiments, we use \\(LLaMA-7B\\) (Touvron et al., 2023) as the LLM backbone and consider six target languages selected from among the available data (shown in Table 4); where data are absent, we perform a translation task. As Instruction-following demonstrations, we use the Stanford Alpaca dataset (Taori et al., 2023) and translated versions in the corresponding languages, while for the Translation-following, we use a publicly available translation resource news Commentary (Tiedemann, 2012), the most accessible and extendable to multiple languages (i.e., CrossAlpaca demonstrations on Figure 1)."
145
+ },
146
+ {
147
+ "type": "text",
148
+ "bbox": [
149
+ 0.508,
150
+ 0.628,
151
+ 0.885,
152
+ 0.901
153
+ ],
154
+ "angle": 0,
155
+ "content": "Behind an instruction-tuning phase, we evaluate the performance of our six language-specific CrossAlpacas using four different benchmarks: two native-multilingual, i.e., XQUAD (Artetxe et al., 2019) and MLQA (Lewis et al., 2020), and two native-monolinguals, MMLU (Hendrycks et al., 2021) and BBH (Suzgun et al., 2022). The results show that CrossAlpacas instructed with language-specific instruction and translation data far outperform Alpacas instructed only with non-English demonstrations. However, even though CrossAlpaca reduces the gap, the Translation-following models of the original Alpaca still perform best. This result shows that LLaMA's learning abilities on English data are superior to those on non-English data. The semantic alignment task also improves the cross-lingual abilities of It-LLMs."
156
+ },
157
+ {
158
+ "type": "text",
159
+ "bbox": [
160
+ 0.528,
161
+ 0.904,
162
+ 0.855,
163
+ 0.918
164
+ ],
165
+ "angle": 0,
166
+ "content": "Our findings can be summarized as follows:"
167
+ },
168
+ {
169
+ "type": "page_number",
170
+ "bbox": [
171
+ 0.481,
172
+ 0.928,
173
+ 0.519,
174
+ 0.941
175
+ ],
176
+ "angle": 0,
177
+ "content": "7961"
178
+ },
179
+ {
180
+ "type": "footer",
181
+ "bbox": [
182
+ 0.229,
183
+ 0.946,
184
+ 0.768,
185
+ 0.958
186
+ ],
187
+ "angle": 0,
188
+ "content": "Findings of the Association for Computational Linguistics: ACL 2024, pages 7961-7973"
189
+ },
190
+ {
191
+ "type": "footer",
192
+ "bbox": [
193
+ 0.285,
194
+ 0.959,
195
+ 0.714,
196
+ 0.972
197
+ ],
198
+ "angle": 0,
199
+ "content": "August 11-16, 2024 ©2024 Association for Computational Linguistics"
200
+ }
201
+ ],
202
+ [
203
+ {
204
+ "type": "header",
205
+ "bbox": [
206
+ 0.172,
207
+ 0.084,
208
+ 0.384,
209
+ 0.096
210
+ ],
211
+ "angle": 0,
212
+ "content": "Instruction-following (original)"
213
+ },
214
+ {
215
+ "type": "header",
216
+ "bbox": [
217
+ 0.145,
218
+ 0.101,
219
+ 0.415,
220
+ 0.126
221
+ ],
222
+ "angle": 0,
223
+ "content": "Instruction: Classify the sentence as true or false. \nInput: Sentence: the Earth is flat. \nOutput: False."
224
+ },
225
+ {
226
+ "type": "header",
227
+ "bbox": [
228
+ 0.435,
229
+ 0.088,
230
+ 0.494,
231
+ 0.111
232
+ ],
233
+ "angle": 0,
234
+ "content": "Stanford Alpaca"
235
+ },
236
+ {
237
+ "type": "header",
238
+ "bbox": [
239
+ 0.496,
240
+ 0.087,
241
+ 0.534,
242
+ 0.113
243
+ ],
244
+ "angle": 0,
245
+ "content": "#"
246
+ },
247
+ {
248
+ "type": "image",
249
+ "bbox": [
250
+ 0.244,
251
+ 0.138,
252
+ 0.91,
253
+ 0.282
254
+ ],
255
+ "angle": 0,
256
+ "content": null
257
+ },
258
+ {
259
+ "type": "image_caption",
260
+ "bbox": [
261
+ 0.113,
262
+ 0.292,
263
+ 0.885,
264
+ 0.322
265
+ ],
266
+ "angle": 0,
267
+ "content": "Figure 1: Our \\(x\\)-CrossAlpacas are fine-tuned on Instruction-following and Translation-following demonstrations. This example shows the it-CrossAlpaca, fine-tuned on it-Alpaca and Translation-following demonstrations."
268
+ },
269
+ {
270
+ "type": "text",
271
+ "bbox": [
272
+ 0.137,
273
+ 0.347,
274
+ 0.486,
275
+ 0.378
276
+ ],
277
+ "angle": 0,
278
+ "content": "- The learning abilities of LLMs on non-English Instruction-tuning tasks are limited;"
279
+ },
280
+ {
281
+ "type": "text",
282
+ "bbox": [
283
+ 0.137,
284
+ 0.389,
285
+ 0.488,
286
+ 0.438
287
+ ],
288
+ "angle": 0,
289
+ "content": "- The multi-lingual abilities of Instruction-tuned LLMs could be empowered through cross-lingual alignment;"
290
+ },
291
+ {
292
+ "type": "text",
293
+ "bbox": [
294
+ 0.137,
295
+ 0.449,
296
+ 0.488,
297
+ 0.529
298
+ ],
299
+ "angle": 0,
300
+ "content": "- Thus, we propose CrossAlpaca, an Instruction-tuning approach for non-English models that are based on Instruction-following and Translation-following demonstration for target language;"
301
+ },
302
+ {
303
+ "type": "text",
304
+ "bbox": [
305
+ 0.137,
306
+ 0.54,
307
+ 0.49,
308
+ 0.619
309
+ ],
310
+ "angle": 0,
311
+ "content": "- We show that It-LLMs are able to semantically align through cross-lingual Translation-following demonstrations via an extensive evaluation on four multi-lingual QA benchmarks."
312
+ },
313
+ {
314
+ "type": "list",
315
+ "bbox": [
316
+ 0.137,
317
+ 0.347,
318
+ 0.49,
319
+ 0.619
320
+ ],
321
+ "angle": 0,
322
+ "content": null
323
+ },
324
+ {
325
+ "type": "title",
326
+ "bbox": [
327
+ 0.114,
328
+ 0.632,
329
+ 0.271,
330
+ 0.647
331
+ ],
332
+ "angle": 0,
333
+ "content": "2 Related Work"
334
+ },
335
+ {
336
+ "type": "title",
337
+ "bbox": [
338
+ 0.114,
339
+ 0.658,
340
+ 0.412,
341
+ 0.69
342
+ ],
343
+ "angle": 0,
344
+ "content": "2.1 Pre-trained Language Model on Cross-Linguual Corpora"
345
+ },
346
+ {
347
+ "type": "text",
348
+ "bbox": [
349
+ 0.113,
350
+ 0.695,
351
+ 0.49,
352
+ 0.92
353
+ ],
354
+ "angle": 0,
355
+ "content": "The next token prediction based on the prefix sequence, as well-known as language modeling, is the everlasting task of modern NLP (Tenney et al., 2019). The extensive knowledge of today's Large Language Models (LLMs) depends on the billions of neurons trained on large-scale corpora with derivatives of the language modeling task. Consequently, the pre-training corpora are predominantly in English, e.g., BooksCorpus (Zhu et al., 2015), MEGATRON-LM (Shoeybi et al., 2019), Gutenberg Dataset (Lahiri, 2014) PILE (Gao et al., 2020), C4 (Dodge et al., 2021), RefinedWeb (Penedo et al., 2023); therefore, LLMs usually have much better knowledge of English than other languages."
356
+ },
357
+ {
358
+ "type": "text",
359
+ "bbox": [
360
+ 0.508,
361
+ 0.347,
362
+ 0.885,
363
+ 0.474
364
+ ],
365
+ "angle": 0,
366
+ "content": "Aulamo and Tiedemann (2019); Abadji et al. (2022), in order to solve this problem, propose forward corpora translated into several languages. However, these corpora are not as huge as their competitors, and the lack of massively parallel data in the pre-training corpora also prevents LLMs from aligning the different languages well (Li et al., 2023)."
367
+ },
368
+ {
369
+ "type": "title",
370
+ "bbox": [
371
+ 0.509,
372
+ 0.486,
373
+ 0.818,
374
+ 0.501
375
+ ],
376
+ "angle": 0,
377
+ "content": "2.2 The Instruction-tuning Paradigm"
378
+ },
379
+ {
380
+ "type": "text",
381
+ "bbox": [
382
+ 0.508,
383
+ 0.507,
384
+ 0.884,
385
+ 0.683
386
+ ],
387
+ "angle": 0,
388
+ "content": "Ouyang et al. (2022); Wei et al. (2022) fine-tuned LLMs using the Instruction-tuning method based on Instruction-tuning data, which are instruction-response corpora, to make LLMs more scalable and improve zero-shot performance. In this method, the LLM backbone is fed with data from the instruction \\((I,X,Y)\\), where \\(I\\) is an instruction describing the task's requirements, \\(X\\) is the input, which can be optional, and \\(Y\\) is the output for the given task. The goal of this method is to minimize the function \\(f(Y)\\):"
389
+ },
390
+ {
391
+ "type": "equation",
392
+ "bbox": [
393
+ 0.568,
394
+ 0.695,
395
+ 0.883,
396
+ 0.717
397
+ ],
398
+ "angle": 0,
399
+ "content": "\\[\nf (Y) = \\arg \\min _ {\\theta} \\log p _ {\\theta} (Y \\mid I, X) \\tag {1}\n\\]"
400
+ },
401
+ {
402
+ "type": "text",
403
+ "bbox": [
404
+ 0.509,
405
+ 0.727,
406
+ 0.811,
407
+ 0.742
408
+ ],
409
+ "angle": 0,
410
+ "content": "where \\(\\theta\\) are model learnable parameters."
411
+ },
412
+ {
413
+ "type": "text",
414
+ "bbox": [
415
+ 0.508,
416
+ 0.743,
417
+ 0.884,
418
+ 0.838
419
+ ],
420
+ "angle": 0,
421
+ "content": "Earlier studies show that the instruction-tuning method of LLMs with both human (Wang et al., 2023) and synthetic-generated instructions (Taori et al., 2023; Xu et al., 2023) empowers the ability of LLMs to solve considerable tasks in zero-shot scenarios."
422
+ },
423
+ {
424
+ "type": "text",
425
+ "bbox": [
426
+ 0.508,
427
+ 0.84,
428
+ 0.884,
429
+ 0.919
430
+ ],
431
+ "angle": 0,
432
+ "content": "However, we state that the generally used instruction-tuning datasets, alpaca (Taori et al., 2023), Self-Instruct (Wang et al., 2023), Self-Chat (Xu et al., 2023) or a teacher-student alignment approaches (Ranaldi and Freitas, 2024), conceived"
433
+ },
434
+ {
435
+ "type": "page_number",
436
+ "bbox": [
437
+ 0.481,
438
+ 0.928,
439
+ 0.521,
440
+ 0.941
441
+ ],
442
+ "angle": 0,
443
+ "content": "7962"
444
+ }
445
+ ],
446
+ [
447
+ {
448
+ "type": "image",
449
+ "bbox": [
450
+ 0.246,
451
+ 0.084,
452
+ 0.788,
453
+ 0.26
454
+ ],
455
+ "angle": 0,
456
+ "content": null
457
+ },
458
+ {
459
+ "type": "image_caption",
460
+ "bbox": [
461
+ 0.113,
462
+ 0.268,
463
+ 0.885,
464
+ 0.298
465
+ ],
466
+ "angle": 0,
467
+ "content": "Figure 2: Examples of Translation-following demonstrations. In this particular example, there are two demonstrations with two different directions from English to German (en-x) and vice versa."
468
+ },
469
+ {
470
+ "type": "text",
471
+ "bbox": [
472
+ 0.113,
473
+ 0.323,
474
+ 0.489,
475
+ 0.37
476
+ ],
477
+ "angle": 0,
478
+ "content": "in English, which limits the prospect of LLMs to follow non-English instructions and therefore solve related tasks."
479
+ },
480
+ {
481
+ "type": "title",
482
+ "bbox": [
483
+ 0.114,
484
+ 0.383,
485
+ 0.388,
486
+ 0.398
487
+ ],
488
+ "angle": 0,
489
+ "content": "2.3 Instruction-tuning is at hand"
490
+ },
491
+ {
492
+ "type": "text",
493
+ "bbox": [
494
+ 0.113,
495
+ 0.404,
496
+ 0.489,
497
+ 0.483
498
+ ],
499
+ "angle": 0,
500
+ "content": "Large Language Models have considerable success with many techniques in vogue, such as Instruction-tuning. However, their prohibitive size only allows part of the scientific community to experiment with these models."
501
+ },
502
+ {
503
+ "type": "text",
504
+ "bbox": [
505
+ 0.113,
506
+ 0.485,
507
+ 0.49,
508
+ 0.79
509
+ ],
510
+ "angle": 0,
511
+ "content": "The latest advances that make these models and techniques accessible involve efficient parameter tuning. Parameter-Efficient Tuning (PEFT) is an efficient technique to adjust a small part of the model parameters and freeze the others. The main goal is to significantly reduce computational and storage costs while maintaining the performance of the original models. The standard techniques for PEFT are LoRA (Hu et al., 2021a), Prefix Tuning (Li and Liang, 2021), P-Tuning (Liu et al., 2022). The basic idea is to keep the pre-trained model weights and incorporate low-rank matrices in each architecture layer. This approach significantly reduces the number of parameters that require training for subsequent tasks, thereby increasing overall efficiency. This building block has been and continues to be very important because it skills the scientific community to fair research and enables the development of multiple open-source works."
512
+ },
513
+ {
514
+ "type": "title",
515
+ "bbox": [
516
+ 0.114,
517
+ 0.802,
518
+ 0.416,
519
+ 0.833
520
+ ],
521
+ "angle": 0,
522
+ "content": "2.4 Cross-lingual Instruction-tuning Challenge"
523
+ },
524
+ {
525
+ "type": "text",
526
+ "bbox": [
527
+ 0.113,
528
+ 0.84,
529
+ 0.49,
530
+ 0.919
531
+ ],
532
+ "angle": 0,
533
+ "content": "Recent work has shown the remarkable abilities of LLMs in learning instruction in different languages. Santilli and Rodola (2023); Chen et al. (2023) proposed monolingual fine-tuning LLaMA adaptations on language-specific translated instructions. The"
534
+ },
535
+ {
536
+ "type": "table",
537
+ "bbox": [
538
+ 0.547,
539
+ 0.319,
540
+ 0.848,
541
+ 0.382
542
+ ],
543
+ "angle": 0,
544
+ "content": "<table><tr><td>Model</td><td>Language</td><td>Name</td></tr><tr><td>Alpaca (Taori et al., 2023)</td><td>English</td><td>en-Alpaca</td></tr><tr><td>Alpaca-Chinese (Chen et al., 2023)</td><td>Chinese</td><td>zh-Alpaca</td></tr><tr><td>Arabic Alpaca (Yasbok)</td><td>Arabic</td><td>ar-Alpaca</td></tr><tr><td>Camascio (Santilli and Rodola, 2023)</td><td>Italian</td><td>it-Alpaca</td></tr><tr><td>Guanaco (Kohaku-Blueleaf, 2023)</td><td>Spanish</td><td>es-Alpaca</td></tr><tr><td>German Alpaca (Thissen, 2023)</td><td>German</td><td>de-Alpaca</td></tr></table>"
545
+ },
546
+ {
547
+ "type": "table_caption",
548
+ "bbox": [
549
+ 0.508,
550
+ 0.391,
551
+ 0.885,
552
+ 0.434
553
+ ],
554
+ "angle": 0,
555
+ "content": "Table 1: Details and names of mono-lingual Instruction-tuned Large Language Models that use a language-specific version of Alpaca as instruction-tuning data."
556
+ },
557
+ {
558
+ "type": "text",
559
+ "bbox": [
560
+ 0.508,
561
+ 0.46,
562
+ 0.884,
563
+ 0.669
564
+ ],
565
+ "angle": 0,
566
+ "content": "use of optimization techniques introduces in Section 2.3, to propose engaging custom adapters for various tasks. Zhang et al. (2023); Ranaldi and Pucci (2023a) investigated the cross-lingual abilities of It-LLMs by promoting the effects of augmenting instruction demonstrations. In particular, Zhang et al. (2023) use fine-grained custom translations that are not easily accessible, while Ranaldi and Pucci (2023a) propose a multilingual approach by considerably increasing instruction and translation tasks. However, these studies have opened an interesting avenue in analyzing the cross-lingual abilities of It-LLMs."
567
+ },
568
+ {
569
+ "type": "text",
570
+ "bbox": [
571
+ 0.508,
572
+ 0.671,
573
+ 0.884,
574
+ 0.846
575
+ ],
576
+ "angle": 0,
577
+ "content": "In this paper, we take the next step by proposing our CrossAlpaca. Our methods show of the cross-lingual learning abilities of It-LLMs on a large scale. Using four well-known benchmarks, we show that the weaknesses of It-LLMs trained on non-English data can be strengthened with cross-lingual alignment approaches. Hence, our analyses aim to understand the role of Instruction-following and Translation-following demonstrations in closing the gap in learning and adapting LLMs' abilities to non-English languages."
578
+ },
579
+ {
580
+ "type": "title",
581
+ "bbox": [
582
+ 0.509,
583
+ 0.861,
584
+ 0.689,
585
+ 0.875
586
+ ],
587
+ "angle": 0,
588
+ "content": "3 Data & Methods"
589
+ },
590
+ {
591
+ "type": "text",
592
+ "bbox": [
593
+ 0.508,
594
+ 0.888,
595
+ 0.883,
596
+ 0.919
597
+ ],
598
+ "angle": 0,
599
+ "content": "Pre-training from scratch a Large Language Model (LLM) in multiple languages is cost-prohibitive for"
600
+ },
601
+ {
602
+ "type": "page_number",
603
+ "bbox": [
604
+ 0.481,
605
+ 0.928,
606
+ 0.52,
607
+ 0.941
608
+ ],
609
+ "angle": 0,
610
+ "content": "7963"
611
+ }
612
+ ],
613
+ [
614
+ {
615
+ "type": "text",
616
+ "bbox": [
617
+ 0.113,
618
+ 0.085,
619
+ 0.493,
620
+ 0.278
621
+ ],
622
+ "angle": 0,
623
+ "content": "data collection and parameter learning. This is the reason why the trend is to do further fine-tuning to strengthen the models' abilities in a specific language (Tanti et al., 2021; Moslem et al., 2023). In this paper, we aim to exploit the abilities of pretrained LLMs for non-English languages by further improving the alignment between English and the target language. Hence, in Section 3.1, we introduce the challenge of fine-tuning an LLM on a mono-lingual custom scenario. Furthermore, in Section 3.2, we propose our approach to fine-tune cross-lingual LLMs."
624
+ },
625
+ {
626
+ "type": "title",
627
+ "bbox": [
628
+ 0.114,
629
+ 0.292,
630
+ 0.418,
631
+ 0.308
632
+ ],
633
+ "angle": 0,
634
+ "content": "3.1 Mono-lingual Instruction-tuning"
635
+ },
636
+ {
637
+ "type": "text",
638
+ "bbox": [
639
+ 0.113,
640
+ 0.314,
641
+ 0.49,
642
+ 0.457
643
+ ],
644
+ "angle": 0,
645
+ "content": "The limited accessibility and transparency of paid API services of state-of-the-art LLMs have pushed research toward developing open-source models. Using the instruction-tuning paradigm (Section 2.2) and Stanford Alpaca (Taori et al., 2023), a corpus consisting of \\(52\\mathrm{k}\\) of English instruction-output pairs generated by text-davinci-003, several Instruction-tuned versions of LLaMA were released."
646
+ },
647
+ {
648
+ "type": "text",
649
+ "bbox": [
650
+ 0.113,
651
+ 0.46,
652
+ 0.49,
653
+ 0.702
654
+ ],
655
+ "angle": 0,
656
+ "content": "Following this approach, multiple monolingual Instruction-tuned versions of LLaMA were proposed by translating the Stanford Alpaca Instruction-following data into the specific language. Table 4 (Appendix B) shows a set of alpaca versions available as open source. Following a systematic analysis of the translated versions of Alpaca in official repositories<sup>1</sup>, the languages of the benchmark datasets, and the translation pairs present in news/commentary, which will be introduced later, we selected the languages that share the most already available data. Table 1 shows the custom versions used in this work, which for simplicity will be renamed \\( x \\)-Alpaca, where \\( x \\) indicates the specific language."
657
+ },
658
+ {
659
+ "type": "title",
660
+ "bbox": [
661
+ 0.114,
662
+ 0.715,
663
+ 0.416,
664
+ 0.731
665
+ ],
666
+ "angle": 0,
667
+ "content": "3.2 Cross-lingual Instruction-tuning"
668
+ },
669
+ {
670
+ "type": "text",
671
+ "bbox": [
672
+ 0.113,
673
+ 0.737,
674
+ 0.49,
675
+ 0.882
676
+ ],
677
+ "angle": 0,
678
+ "content": "Mono-lingual Instruction-tuning approaches (Section 3.1) reward LLMs' multi-lingual abilities. However, the use of translated Alpaca alone for the specific language is not sufficient to elicit the non-English ability of LLMs. For this reason, we propose CrossAlpaca (Figure 1), which enriches the cross-lingual Instruction-tuning with the Translation-following demonstrations. We aim to highlight LLMs' English and non-English abilities"
679
+ },
680
+ {
681
+ "type": "text",
682
+ "bbox": [
683
+ 0.509,
684
+ 0.085,
685
+ 0.883,
686
+ 0.117
687
+ ],
688
+ "angle": 0,
689
+ "content": "by proposing a semantic alignment task to enrich versions of Alpaca."
690
+ },
691
+ {
692
+ "type": "text",
693
+ "bbox": [
694
+ 0.508,
695
+ 0.128,
696
+ 0.886,
697
+ 0.352
698
+ ],
699
+ "angle": 0,
700
+ "content": "Instruction-following demonstrations The original version of Alpaca is in English. However, as described in Section 3.1, different open-source translations are produced with a translation engine. In our experiments, we propose the Instruction-tuning phase with the original English version (en-Alpaca) and the translated language-specific versions. Moreover, we propose the CrossAlpaca versions built with the different Alpacas translated into the specific language and the cross-lingual translations (introduced later). In this way, we investigate the abilities of the LLM backbone in understanding multilingual instructions and cross-lingual alignment."
701
+ },
702
+ {
703
+ "type": "text",
704
+ "bbox": [
705
+ 0.508,
706
+ 0.364,
707
+ 0.885,
708
+ 0.524
709
+ ],
710
+ "angle": 0,
711
+ "content": "Translation-following demonstrations Learning general instruction data is a sensible strategy for building models to solve multi-tasks directed by instructions (Wang et al., 2023; Zeng et al., 2023). However, translation data could contribute to learning semantic alignment. Zhang et al. (2023) showed that the translation performance of LLMs could be improved by using expertly annotated translation data, and Zhu et al. (2023) showed that it could be beneficial for instruction-tuning."
712
+ },
713
+ {
714
+ "type": "text",
715
+ "bbox": [
716
+ 0.508,
717
+ 0.525,
718
+ 0.887,
719
+ 0.799
720
+ ],
721
+ "angle": 0,
722
+ "content": "Inspired by Zhu et al. (2023), we use publicly available sentence-level translation datasets, such as news Commentary (Tiedemann, 2012), to construct the translation task instruction demonstrations. We also propose extending this to additional languages, which we release as an open-source dataset. In particular, for each specific language, we constructed 20k demonstrations. Hence, following the Alpaca style (Instruction, Input, and Output) (see Figure 1), we randomly selected 10k English to non-English translations and 10k random non-English to English translations (all translations come from news commentary). We have constructed these correspondences for the languages mentioned above in Section 3.1. Figure 2 shows a case of Translation-following for English-German direction (en-de) and vice versa (de-en)."
723
+ },
724
+ {
725
+ "type": "title",
726
+ "bbox": [
727
+ 0.509,
728
+ 0.812,
729
+ 0.656,
730
+ 0.829
731
+ ],
732
+ "angle": 0,
733
+ "content": "4 Experiments"
734
+ },
735
+ {
736
+ "type": "text",
737
+ "bbox": [
738
+ 0.508,
739
+ 0.84,
740
+ 0.885,
741
+ 0.92
742
+ ],
743
+ "angle": 0,
744
+ "content": "In order to observe the English and non-English abilities of Large Language Models (LLMs) and the impact of the Instruction-tuning approach in cross-lingual scenarios, we propose CrossAlpaca. Our approach is based on instruction-tuning on"
745
+ },
746
+ {
747
+ "type": "page_footnote",
748
+ "bbox": [
749
+ 0.114,
750
+ 0.892,
751
+ 0.488,
752
+ 0.919
753
+ ],
754
+ "angle": 0,
755
+ "content": "1official versions on https://github.com/tloen/ alpaca-lora and https://huggingface.co/models"
756
+ },
757
+ {
758
+ "type": "page_number",
759
+ "bbox": [
760
+ 0.481,
761
+ 0.929,
762
+ 0.521,
763
+ 0.941
764
+ ],
765
+ "angle": 0,
766
+ "content": "7964"
767
+ }
768
+ ],
769
+ [
770
+ {
771
+ "type": "image",
772
+ "bbox": [
773
+ 0.16,
774
+ 0.087,
775
+ 0.493,
776
+ 0.24
777
+ ],
778
+ "angle": 0,
779
+ "content": null
780
+ },
781
+ {
782
+ "type": "image",
783
+ "bbox": [
784
+ 0.506,
785
+ 0.087,
786
+ 0.839,
787
+ 0.24
788
+ ],
789
+ "angle": 0,
790
+ "content": null
791
+ },
792
+ {
793
+ "type": "image",
794
+ "bbox": [
795
+ 0.158,
796
+ 0.25,
797
+ 0.49,
798
+ 0.402
799
+ ],
800
+ "angle": 0,
801
+ "content": null
802
+ },
803
+ {
804
+ "type": "image",
805
+ "bbox": [
806
+ 0.506,
807
+ 0.251,
808
+ 0.838,
809
+ 0.402
810
+ ],
811
+ "angle": 0,
812
+ "content": null
813
+ },
814
+ {
815
+ "type": "image_caption",
816
+ "bbox": [
817
+ 0.113,
818
+ 0.419,
819
+ 0.882,
820
+ 0.448
821
+ ],
822
+ "angle": 0,
823
+ "content": "Figure 3: Evaluation results on proposed benchmarks. The dotted line represents the performance of the original Alpaca (Taori et al., 2023) on English tasks."
824
+ },
825
+ {
826
+ "type": "text",
827
+ "bbox": [
828
+ 0.113,
829
+ 0.474,
830
+ 0.49,
831
+ 0.586
832
+ ],
833
+ "angle": 0,
834
+ "content": "language-specific data augmented with a crosslingual semantic alignment. Hence, we set several baseline models (Section 4.1), which we augmented with our CrossAlpaca approach (Section 4.2). Finally, we performed a series of systematic evaluations (Section 4.3.1) to observe the impact of the proposed intervention."
835
+ },
836
+ {
837
+ "type": "title",
838
+ "bbox": [
839
+ 0.114,
840
+ 0.6,
841
+ 0.423,
842
+ 0.615
843
+ ],
844
+ "angle": 0,
845
+ "content": "4.1 Baseline Instruction-tuned LLMs"
846
+ },
847
+ {
848
+ "type": "text",
849
+ "bbox": [
850
+ 0.113,
851
+ 0.622,
852
+ 0.49,
853
+ 0.766
854
+ ],
855
+ "angle": 0,
856
+ "content": "The common denominator among the It-LLMs shown in Table 1 is the LLM backbone, LLaMA7B (Touvron et al., 2023). Starting from Instruction-following data from the original Alpaca (Taori et al., 2023) and its open-source non-English versions\\(^{2}\\), we reproduced \\(x\\)-Alpaca for \\(x\\) specific languages: Chinese (zh), Italian (it), Arabic (ar), Spanish (es), German (de) and the original English version (en)."
857
+ },
858
+ {
859
+ "type": "title",
860
+ "bbox": [
861
+ 0.114,
862
+ 0.781,
863
+ 0.465,
864
+ 0.797
865
+ ],
866
+ "angle": 0,
867
+ "content": "4.2 Cross-lingual Instruction-tuned LLMs"
868
+ },
869
+ {
870
+ "type": "text",
871
+ "bbox": [
872
+ 0.113,
873
+ 0.804,
874
+ 0.49,
875
+ 0.884
876
+ ],
877
+ "angle": 0,
878
+ "content": "The CrossAlpacas are instruction-tuned on Instruction-following and Translation-following demonstrations (CrossAlpacas demonstrations). The first ones stem from the resources introduced in Section 4.1. The second comes from"
879
+ },
880
+ {
881
+ "type": "text",
882
+ "bbox": [
883
+ 0.509,
884
+ 0.474,
885
+ 0.8,
886
+ 0.489
887
+ ],
888
+ "angle": 0,
889
+ "content": "news COMMENTary (Tiedemann, 2012)."
890
+ },
891
+ {
892
+ "type": "text",
893
+ "bbox": [
894
+ 0.508,
895
+ 0.49,
896
+ 0.885,
897
+ 0.57
898
+ ],
899
+ "angle": 0,
900
+ "content": "Our approach generates a series of instruction-tuned versions of the data shown in Figure 1. We have named the versions \\( x \\)-CrossAlpaca where \\( x \\) denotes Chinese (zh), Arabic (ar), Italian (it), Spanish (es), and German (de)."
901
+ },
902
+ {
903
+ "type": "title",
904
+ "bbox": [
905
+ 0.509,
906
+ 0.581,
907
+ 0.715,
908
+ 0.597
909
+ ],
910
+ "angle": 0,
911
+ "content": "4.3 Experimental Setup"
912
+ },
913
+ {
914
+ "type": "text",
915
+ "bbox": [
916
+ 0.507,
917
+ 0.602,
918
+ 0.885,
919
+ 0.667
920
+ ],
921
+ "angle": 0,
922
+ "content": "In order to assess the performance of the CrossAlpaca, we defined several benchmarks (Section 4.3.1) on which we applied systematic tuning (Section 4.3.2) and evaluation (Section 4.3.3) pipelines."
923
+ },
924
+ {
925
+ "type": "title",
926
+ "bbox": [
927
+ 0.509,
928
+ 0.675,
929
+ 0.671,
930
+ 0.689
931
+ ],
932
+ "angle": 0,
933
+ "content": "4.3.1 Benchmarks"
934
+ },
935
+ {
936
+ "type": "text",
937
+ "bbox": [
938
+ 0.507,
939
+ 0.695,
940
+ 0.885,
941
+ 0.919
942
+ ],
943
+ "angle": 0,
944
+ "content": "To evaluate the performance of the It-LLMs and the impact of the translation-based semantic alignment approach, we used two cross-lingual (XQUAD (Artetxe et al., 2019), MLQA (Lewis et al., 2020)) and two multi-task (MMLU (Hendrycks et al., 2021) and BBH (Suzgun et al., 2022)) benchmarks. XQUAD and MLQA focus on understanding questions and answers through translation into different languages. MMLU and BBH, being multi-task benchmarks, include subtasks related to Boolean expressions and QA on basic-level subjects (e.g., chemistry, physics). However, we decided to introduce them to observe whether our approach degrades performance in these tasks. The first two"
945
+ },
946
+ {
947
+ "type": "page_footnote",
948
+ "bbox": [
949
+ 0.114,
950
+ 0.892,
951
+ 0.488,
952
+ 0.919
953
+ ],
954
+ "angle": 0,
955
+ "content": "2open-source code is available on https://github.com/tloen/alpaca-lora"
956
+ },
957
+ {
958
+ "type": "page_number",
959
+ "bbox": [
960
+ 0.481,
961
+ 0.928,
962
+ 0.521,
963
+ 0.941
964
+ ],
965
+ "angle": 0,
966
+ "content": "7965"
967
+ }
968
+ ],
969
+ [
970
+ {
971
+ "type": "text",
972
+ "bbox": [
973
+ 0.113,
974
+ 0.085,
975
+ 0.488,
976
+ 0.149
977
+ ],
978
+ "angle": 0,
979
+ "content": "datasets selected are appropriately constructed for multi-language testing, while the second two are available only in English. So we do a preliminary translation step as outlined below."
980
+ },
981
+ {
982
+ "type": "title",
983
+ "bbox": [
984
+ 0.113,
985
+ 0.164,
986
+ 0.49,
987
+ 0.179
988
+ ],
989
+ "angle": 0,
990
+ "content": "MultiLingual Question Answering (MLQA)"
991
+ },
992
+ {
993
+ "type": "text",
994
+ "bbox": [
995
+ 0.113,
996
+ 0.18,
997
+ 0.49,
998
+ 0.356
999
+ ],
1000
+ "angle": 0,
1001
+ "content": "(Lewis et al., 2020) evaluates cross-lingual question answering performance. The benchmark comprises over 5K extractive QA instances in the SQuAD (Rajpurkar et al., 2016) format in several languages. MLQA is highly parallel, with QA instances aligned across four languages on average. Although comprising different languages, some languages are not represented, such as Italian. To conduct the experiments uniformly, we have translated the examples as also done in the forthcoming MMLU and BBH."
1002
+ },
1003
+ {
1004
+ "type": "text",
1005
+ "bbox": [
1006
+ 0.113,
1007
+ 0.372,
1008
+ 0.49,
1009
+ 0.485
1010
+ ],
1011
+ "angle": 0,
1012
+ "content": "Cross-lingual Question Answering Dataset (XQUAD) (Artetxe et al., 2019) consists of a subset of 240 paragraphs and 1190 question-answer pairs from the development set of SQuAD v1.1 (Rajpurkar et al., 2016) with their manual translations into several languages. Consequently, the dataset is entirely parallel across 11 languages."
1013
+ },
1014
+ {
1015
+ "type": "text",
1016
+ "bbox": [
1017
+ 0.113,
1018
+ 0.499,
1019
+ 0.49,
1020
+ 0.611
1021
+ ],
1022
+ "angle": 0,
1023
+ "content": "Massive Multitask Language Understanding (MMLU) (Hendrycks et al., 2021) measures knowledge of the world and problem-solving problems in multiple subjects with 57 subjects across STEM, humanities, social sciences, and other areas. The benchmark is native in English; however, we translated it into five additional languages<sup>3</sup>."
1024
+ },
1025
+ {
1026
+ "type": "text",
1027
+ "bbox": [
1028
+ 0.113,
1029
+ 0.626,
1030
+ 0.49,
1031
+ 0.706
1032
+ ],
1033
+ "angle": 0,
1034
+ "content": "BIG-Bench Hard (BBH) (Suzgun et al., 2022) is a subset of challenging tasks related to navigation, logical deduction, and fallacy detection. Here again, the benchmark is native English, and we have translated it into five languages<sup>3</sup>."
1035
+ },
1036
+ {
1037
+ "type": "title",
1038
+ "bbox": [
1039
+ 0.114,
1040
+ 0.721,
1041
+ 0.283,
1042
+ 0.737
1043
+ ],
1044
+ "angle": 0,
1045
+ "content": "4.3.2 Models Setup"
1046
+ },
1047
+ {
1048
+ "type": "text",
1049
+ "bbox": [
1050
+ 0.113,
1051
+ 0.744,
1052
+ 0.49,
1053
+ 0.791
1054
+ ],
1055
+ "angle": 0,
1056
+ "content": "In order to align the results with the state-of-the-art models, we used the alpaca_LoRA (Hu et al., 2021b) code\\(^2\\), adopting the same hyperparameters."
1057
+ },
1058
+ {
1059
+ "type": "text",
1060
+ "bbox": [
1061
+ 0.113,
1062
+ 0.794,
1063
+ 0.489,
1064
+ 0.856
1065
+ ],
1066
+ "angle": 0,
1067
+ "content": "We performed the fine-tuning with a single epoch and a batch-size of 128 examples, running our experiments on a workstation equipped with two Nvidia RTX A6000 with 48 GB of VRAM."
1068
+ },
1069
+ {
1070
+ "type": "title",
1071
+ "bbox": [
1072
+ 0.51,
1073
+ 0.085,
1074
+ 0.657,
1075
+ 0.099
1076
+ ],
1077
+ "angle": 0,
1078
+ "content": "4.3.3 Evaluation"
1079
+ },
1080
+ {
1081
+ "type": "text",
1082
+ "bbox": [
1083
+ 0.508,
1084
+ 0.108,
1085
+ 0.885,
1086
+ 0.219
1087
+ ],
1088
+ "angle": 0,
1089
+ "content": "As an evaluation metric, we use accuracy. Hence, we estimate accuracy by measuring exact match values in the zero-shot setting. For each model, the parts of benchmarks related to the specific language are used (e.g., for zh-Alpaca and zh-CrossAlpaca, data from MLQA, XQUAD, MMLU, and BBH in Chinese are used)."
1090
+ },
1091
+ {
1092
+ "type": "title",
1093
+ "bbox": [
1094
+ 0.509,
1095
+ 0.237,
1096
+ 0.61,
1097
+ 0.252
1098
+ ],
1099
+ "angle": 0,
1100
+ "content": "5 Results"
1101
+ },
1102
+ {
1103
+ "type": "text",
1104
+ "bbox": [
1105
+ 0.508,
1106
+ 0.267,
1107
+ 0.885,
1108
+ 0.491
1109
+ ],
1110
+ "angle": 0,
1111
+ "content": "Improving non-English abilities in Instruction-tuned Large Language Models (It-LLMs) remains challenging. However, the \\(x\\)-CrossAlpacas revealed improved results in cross-lingual Question Answering (QA) benchmarks and maintained logical-mathematical skills. From the results of Figure 3 (further detailed in Table 3), it is possible to observe the weaknesses emerging from the fine-tuning of the translated versions of Alpaca (Section 5.1), the improvement obtained from the alignment phase is encouraging (Section 5.2) but it is not enough to outperform the English one. Therefore, we investigated the impact of demonstrations on downstream performance (Section 5.3)."
1112
+ },
1113
+ {
1114
+ "type": "text",
1115
+ "bbox": [
1116
+ 0.508,
1117
+ 0.494,
1118
+ 0.884,
1119
+ 0.59
1120
+ ],
1121
+ "angle": 0,
1122
+ "content": "The fine-grained analysis highlighted the importance of cross-lingual alignment data and the critical issues with non-English data. This opens the way for new hypotheses regarding the imbalance of pre-training languages and learning abilities via instruction-tuning."
1123
+ },
1124
+ {
1125
+ "type": "title",
1126
+ "bbox": [
1127
+ 0.509,
1128
+ 0.607,
1129
+ 0.882,
1130
+ 0.622
1131
+ ],
1132
+ "angle": 0,
1133
+ "content": "5.1 Translating the Alpaca is not the right way"
1134
+ },
1135
+ {
1136
+ "type": "text",
1137
+ "bbox": [
1138
+ 0.508,
1139
+ 0.63,
1140
+ 0.884,
1141
+ 0.919
1142
+ ],
1143
+ "angle": 0,
1144
+ "content": "The instruction-tuning on LLaMA, predominantly pre-trained in English, affects x-Alpaca. Figure 3 and in terms of numbers, Table 3 show that in both MLQA and XQUAD, there is a gap of 55 and 53 average points between en-Alpaca and the x-Alpacas. This phenomenon is mitigated for MMLU and BBH, where we observed an average gap of 18 and 14 points. Instructing an LLM on Alpaca-style demonstrations translated into different languages is not always a good strategy. However, some x-Alpacas, such as zh-Alpaca and de-Alpaca, have performed better. We hypothesize that this phenomenon is related to the scale of the pre-training data in the respective languages and, thus, the abilities of the LLaMA. In future developments, we plan to extend the study on other LLMs beyond LLaMA to observe whether the phenomenon is similar, milder, or more significant."
1145
+ },
1146
+ {
1147
+ "type": "page_footnote",
1148
+ "bbox": [
1149
+ 0.113,
1150
+ 0.869,
1151
+ 0.489,
1152
+ 0.919
1153
+ ],
1154
+ "angle": 0,
1155
+ "content": "<sup>3</sup>We performed translations using the Google translator API from English to Chinese (zh), Italian (it), Arabic (ar), Spanish (es), German (de). Resources will be made available along with the publication"
1156
+ },
1157
+ {
1158
+ "type": "page_number",
1159
+ "bbox": [
1160
+ 0.481,
1161
+ 0.929,
1162
+ 0.521,
1163
+ 0.941
1164
+ ],
1165
+ "angle": 0,
1166
+ "content": "7966"
1167
+ }
1168
+ ],
1169
+ [
1170
+ {
1171
+ "type": "table",
1172
+ "bbox": [
1173
+ 0.117,
1174
+ 0.081,
1175
+ 0.488,
1176
+ 0.169
1177
+ ],
1178
+ "angle": 0,
1179
+ "content": "<table><tr><td>QA\nTask</td><td>en-Alpaca</td><td>avg-Alpaca</td><td>avg-CrossAlpaca</td><td>δ</td></tr><tr><td>MLQA</td><td>0.89</td><td>0.34</td><td>0.64</td><td>+0.30</td></tr><tr><td>XQUAD</td><td>0.97</td><td>0.31</td><td>0.65</td><td>+0.30</td></tr><tr><td>MMLU</td><td>0.42</td><td>0.24</td><td>0.32</td><td>+0.08</td></tr><tr><td>BBH</td><td>0.30</td><td>0.24</td><td>0.28</td><td>+0.04</td></tr></table>"
1180
+ },
1181
+ {
1182
+ "type": "table_caption",
1183
+ "bbox": [
1184
+ 0.114,
1185
+ 0.178,
1186
+ 0.49,
1187
+ 0.221
1188
+ ],
1189
+ "angle": 0,
1190
+ "content": "Table 2: Averages of the results on proposed benchmarks. The column \\(\\delta\\) indicates the difference between avg-Alpacas and our avg-CrossAlpacas."
1191
+ },
1192
+ {
1193
+ "type": "title",
1194
+ "bbox": [
1195
+ 0.114,
1196
+ 0.248,
1197
+ 0.453,
1198
+ 0.264
1199
+ ],
1200
+ "angle": 0,
1201
+ "content": "5.2 CrossAlpaca: A cross-lingual solution"
1202
+ },
1203
+ {
1204
+ "type": "text",
1205
+ "bbox": [
1206
+ 0.113,
1207
+ 0.271,
1208
+ 0.489,
1209
+ 0.479
1210
+ ],
1211
+ "angle": 0,
1212
+ "content": "Semantic alignment through Translation-following demonstrations during fine-tuning could have a valuable impact on the cross-lingual abilities of It-LLMs. The \\(x\\)-CrossAlpacas outperformed the x-Alpacas by 30 average points on MLQA, 34 average points on XQUAD, 8 on MMLU, and 4 on BBH (see Table 2 and more detailed in Table 3). They also brought their performances closer to the sota obtained from the original Alpaca by 25 points on MLQA and 22 average points on XQUAD. In MMLU and BBH, the gap became very close, with averages of 10 and 2 points (see Table 2 or the line 'en-Alpaca vs avg-CrossAlpaca' in Table 3)."
1213
+ },
1214
+ {
1215
+ "type": "text",
1216
+ "bbox": [
1217
+ 0.113,
1218
+ 0.481,
1219
+ 0.49,
1220
+ 0.675
1221
+ ],
1222
+ "angle": 0,
1223
+ "content": "Enriching Translation-following demonstrations has outstanding influences on the cross-lingual abilities of the It-LLMs. However, even in this case, Chinese and German models (zh- and de-CrossAlpaca) outperformed Arabic by many points and, in some specific cases, Spanish and Italian as well. This phenomenon, we hypothesize, is related to the diversity in corpus representation within the pre-training data, as shown in (Yang et al., 2023). Therefore, cross-lingual approaches do not have an incisive impact as in languages less present in the pre-training phases of the language model."
1224
+ },
1225
+ {
1226
+ "type": "title",
1227
+ "bbox": [
1228
+ 0.114,
1229
+ 0.688,
1230
+ 0.281,
1231
+ 0.704
1232
+ ],
1233
+ "angle": 0,
1234
+ "content": "5.3 Ablation Study"
1235
+ },
1236
+ {
1237
+ "type": "text",
1238
+ "bbox": [
1239
+ 0.113,
1240
+ 0.71,
1241
+ 0.49,
1242
+ 0.919
1243
+ ],
1244
+ "angle": 0,
1245
+ "content": "Our CrossAlpacas, distinguished by the construction of the demonstrations pairs (Section 4.2), achieves significant performance improvements and contributes to closing the gap between the original Alpaca (en-Alpaca) and a series of x-Alpacas in different languages. In order to show the impact of enrichment with cross-lingual demonstrations, we propose two different analyses. In the first analysis, we incrementally decrease the training data, in particular on the Translation-following demonstrations side (Section 5.4). In the second, still working on the Translation-following part (defined by half en-x and half x-en demonstrations), we an"
1246
+ },
1247
+ {
1248
+ "type": "image",
1249
+ "bbox": [
1250
+ 0.557,
1251
+ 0.086,
1252
+ 0.837,
1253
+ 0.219
1254
+ ],
1255
+ "angle": 0,
1256
+ "content": null
1257
+ },
1258
+ {
1259
+ "type": "image",
1260
+ "bbox": [
1261
+ 0.556,
1262
+ 0.226,
1263
+ 0.837,
1264
+ 0.358
1265
+ ],
1266
+ "angle": 0,
1267
+ "content": null
1268
+ },
1269
+ {
1270
+ "type": "image_caption",
1271
+ "bbox": [
1272
+ 0.508,
1273
+ 0.372,
1274
+ 0.885,
1275
+ 0.416
1276
+ ],
1277
+ "angle": 0,
1278
+ "content": "Figure 4: Evaluation of proposed benchmarks of the demonstrations used for instruction-tuning our CrossAlpacas."
1279
+ },
1280
+ {
1281
+ "type": "text",
1282
+ "bbox": [
1283
+ 0.508,
1284
+ 0.443,
1285
+ 0.884,
1286
+ 0.474
1287
+ ],
1288
+ "angle": 0,
1289
+ "content": "alyze the impact of the demonstrations by splitting the experiments into en-x and x-en (Section 5.4.1)."
1290
+ },
1291
+ {
1292
+ "type": "title",
1293
+ "bbox": [
1294
+ 0.509,
1295
+ 0.489,
1296
+ 0.851,
1297
+ 0.521
1298
+ ],
1299
+ "angle": 0,
1300
+ "content": "5.4 Translation-following demonstrations empower non-English abilities."
1301
+ },
1302
+ {
1303
+ "type": "text",
1304
+ "bbox": [
1305
+ 0.507,
1306
+ 0.527,
1307
+ 0.885,
1308
+ 0.751
1309
+ ],
1310
+ "angle": 0,
1311
+ "content": "Figure 4 (for a more extensive analysis please refer to Figure 6 in the Appendix) shows the non-English performance of the x-CrossAlpaca on the benchmarks under different scales of Translation-following demonstrations<sup>4</sup>. The x-CrossAlpacas achieve higher accuracy when more demonstrations are used, revealing the benefits of cross-lingual alignment to improve non-English performance. However, Translation-following demonstrations are built in two directions: x-en and en-x (foreign-English and English-foreign). Although equally distributed, we are still determining whether there is an asymmetry between the two types of contributions."
1312
+ },
1313
+ {
1314
+ "type": "text",
1315
+ "bbox": [
1316
+ 0.508,
1317
+ 0.753,
1318
+ 0.884,
1319
+ 0.882
1320
+ ],
1321
+ "angle": 0,
1322
+ "content": "Finally, this result is less pronounced for the multi-task benchmarks (see Figure 6 MMLU and BBH). This could be related to the fact that in the benchmarks, there are logical-mathematical subtasks which are less language dependent (comparatively simpler syntax, smaller vocabularies), and hence, our cross-lingual approach does not influence the results for MLQA and XQUAD as"
1323
+ },
1324
+ {
1325
+ "type": "page_footnote",
1326
+ "bbox": [
1327
+ 0.509,
1328
+ 0.893,
1329
+ 0.884,
1330
+ 0.919
1331
+ ],
1332
+ "angle": 0,
1333
+ "content": "4The Traslation-following demonstrations are equally selected in a random way from the 10k en-x and x-en."
1334
+ },
1335
+ {
1336
+ "type": "page_number",
1337
+ "bbox": [
1338
+ 0.481,
1339
+ 0.928,
1340
+ 0.521,
1341
+ 0.941
1342
+ ],
1343
+ "angle": 0,
1344
+ "content": "7967"
1345
+ }
1346
+ ],
1347
+ [
1348
+ {
1349
+ "type": "text",
1350
+ "bbox": [
1351
+ 0.113,
1352
+ 0.085,
1353
+ 0.49,
1354
+ 0.166
1355
+ ],
1356
+ "angle": 0,
1357
+ "content": "much. Furthermore, it is possible to observe a trend in language groups, particularly Chinese-German, Italian-Spanish, and Arabic. This trend, which recurs frequently in the results of our experiments, will be further investigated in future work."
1358
+ },
1359
+ {
1360
+ "type": "image",
1361
+ "bbox": [
1362
+ 0.16,
1363
+ 0.195,
1364
+ 0.443,
1365
+ 0.327
1366
+ ],
1367
+ "angle": 0,
1368
+ "content": null
1369
+ },
1370
+ {
1371
+ "type": "image",
1372
+ "bbox": [
1373
+ 0.16,
1374
+ 0.334,
1375
+ 0.443,
1376
+ 0.466
1377
+ ],
1378
+ "angle": 0,
1379
+ "content": null
1380
+ },
1381
+ {
1382
+ "type": "image_caption",
1383
+ "bbox": [
1384
+ 0.113,
1385
+ 0.481,
1386
+ 0.49,
1387
+ 0.525
1388
+ ],
1389
+ "angle": 0,
1390
+ "content": "Figure 5: Evaluation of proposed benchmarks using one-direction Translation-following demonstrations. For en-x for English-foreigner and x-en for foreign English."
1391
+ },
1392
+ {
1393
+ "type": "title",
1394
+ "bbox": [
1395
+ 0.114,
1396
+ 0.581,
1397
+ 0.456,
1398
+ 0.613
1399
+ ],
1400
+ "angle": 0,
1401
+ "content": "5.4.1 Demonstration direction matters on non-English abilities"
1402
+ },
1403
+ {
1404
+ "type": "text",
1405
+ "bbox": [
1406
+ 0.113,
1407
+ 0.63,
1408
+ 0.49,
1409
+ 0.919
1410
+ ],
1411
+ "angle": 0,
1412
+ "content": "Figure 5 shows the evaluation conducted in varying directions of the translation-following demonstrations. In particular, demonstrations with English-foreign direction (en-x) better impact downstream models. Conversely, foreign-English (x-en) demonstrations perform better than baselines but underperform demonstrations in the opposite direction. However, as shown in Figure 5 (and complete Figure 7), the x-CrossAlpacas continue to outperform. Nevertheless, the trend of translation-following demonstrations with one direction is interesting. Again, as was the case in the previous ablation study, the multi-task benchmarks (see MMLU and BBH in Figure 7) do not seem to obtain significant influences, which reinforces the hypothesis that the models are greatly affected by cross-lingual capabilities in tasks where there is a strong presence of natural language."
1413
+ },
1414
+ {
1415
+ "type": "title",
1416
+ "bbox": [
1417
+ 0.509,
1418
+ 0.084,
1419
+ 0.667,
1420
+ 0.099
1421
+ ],
1422
+ "angle": 0,
1423
+ "content": "6 Future Works"
1424
+ },
1425
+ {
1426
+ "type": "text",
1427
+ "bbox": [
1428
+ 0.507,
1429
+ 0.109,
1430
+ 0.885,
1431
+ 0.285
1432
+ ],
1433
+ "angle": 0,
1434
+ "content": "The cross-lingual abilities of Intruction-tuned Large Language Models (It-LLMs) seem to be supported by LLMs, such as in the case of Alpaca, the LLaMA backbone. However, it seems that low-impact demonstrations at the data level can enrich these abilities. We obtained valuable results from our experiments by proposing strategic demonstrations, i.e., Translation-following demonstrations. These results were proposed by performing fine-tuning on LLaMA-7B as done by Taori et al. (2023)."
1435
+ },
1436
+ {
1437
+ "type": "text",
1438
+ "bbox": [
1439
+ 0.508,
1440
+ 0.287,
1441
+ 0.885,
1442
+ 0.576
1443
+ ],
1444
+ "angle": 0,
1445
+ "content": "In future work, we would like to continue to investigate by increasing the number of parameters in LLaMA and including additional backbone models. In addition, it might be interesting to evaluate the impact on low-resource languages as done for in-context settings in (Ranaldi et al., 2024). Hence, we would like to get to the underside of performances obtained in some experiments (see Section 5.4) by extending previous epistemic approaches (Ranaldi et al., 2023a,c,b) to It-LLMs. In parallel, plans include analyzing the translation capabilities of general It-LLMs and those enhanced with translation tasks, including some specialized translation tasks among our evaluation benchmarks. Finally, we would like to investigate the learning abilities of the original Alpaca as the translation data change, proposing different probing experiments on (original) English data enhanced with translations."
1446
+ },
1447
+ {
1448
+ "type": "title",
1449
+ "bbox": [
1450
+ 0.509,
1451
+ 0.588,
1452
+ 0.642,
1453
+ 0.603
1454
+ ],
1455
+ "angle": 0,
1456
+ "content": "7 Conclusion"
1457
+ },
1458
+ {
1459
+ "type": "text",
1460
+ "bbox": [
1461
+ 0.507,
1462
+ 0.613,
1463
+ 0.885,
1464
+ 0.919
1465
+ ],
1466
+ "angle": 0,
1467
+ "content": "In this paper, we proposed CrossAlpaca, an approach to empowering the instruction-tuning of LLMs on non-English data. Specifically, we coupled Instruction-following (Alpaca-style) demonstrations with Translation-following demonstrations. Our method seeks to instruct the LLM to semantic alignment between English and non-English overperforms models instructed on non-English texts. In particular, thanks to our CrossAlpaca demonstrations, the instructed models achieved significant performance improvements on four Question Answering benchmarks XQUAD, MLQA, MMLU, and BBH. In addition, we observe that semantic alignment strengthens with increasing Translation-following data; this demonstrates the de-facto abilities of It-LLMs to learn from instructions. Our approach and results contribute to improved research on the potential for producing more powerful LLMs for non-English languages."
1468
+ },
1469
+ {
1470
+ "type": "page_number",
1471
+ "bbox": [
1472
+ 0.481,
1473
+ 0.928,
1474
+ 0.521,
1475
+ 0.941
1476
+ ],
1477
+ "angle": 0,
1478
+ "content": "7968"
1479
+ }
1480
+ ],
1481
+ [
1482
+ {
1483
+ "type": "title",
1484
+ "bbox": [
1485
+ 0.116,
1486
+ 0.085,
1487
+ 0.214,
1488
+ 0.099
1489
+ ],
1490
+ "angle": 0,
1491
+ "content": "References"
1492
+ },
1493
+ {
1494
+ "type": "ref_text",
1495
+ "bbox": [
1496
+ 0.116,
1497
+ 0.109,
1498
+ 0.49,
1499
+ 0.188
1500
+ ],
1501
+ "angle": 0,
1502
+ "content": "Julien Abadji, Pedro Ortiz Suarez, Laurent Romary, and Benoit Sagot. 2022. Towards a cleaner document-oriented multilingual crawled corpus. In Proceedings of the Thirteenth Language Resources and Evaluation Conference, pages 4344-4355, Marseille, France. European Language Resources Association."
1503
+ },
1504
+ {
1505
+ "type": "ref_text",
1506
+ "bbox": [
1507
+ 0.117,
1508
+ 0.2,
1509
+ 0.49,
1510
+ 0.254
1511
+ ],
1512
+ "angle": 0,
1513
+ "content": "Mikel Artetxe, Sebastian Ruder, and Dani Yogatama. 2019. On the cross-lingual transferability of monolingual representations. In Annual Meeting of the Association for Computational Linguistics."
1514
+ },
1515
+ {
1516
+ "type": "ref_text",
1517
+ "bbox": [
1518
+ 0.117,
1519
+ 0.265,
1520
+ 0.489,
1521
+ 0.344
1522
+ ],
1523
+ "angle": 0,
1524
+ "content": "Mikko Aulamo and Jörg Tiedemann. 2019. The OPUS resource repository: An open package for creating parallel corpora and machine translation services. In Proceedings of the 22nd Nordic Conference on Computational Linguistics, pages 389-394, Turku, Finland. Linköping University Electronic Press."
1525
+ },
1526
+ {
1527
+ "type": "ref_text",
1528
+ "bbox": [
1529
+ 0.117,
1530
+ 0.357,
1531
+ 0.489,
1532
+ 0.423
1533
+ ],
1534
+ "angle": 0,
1535
+ "content": "Terra Blevins and Luke Zettlemoyer. 2022. Language contamination helps explains the cross-lingual capabilities of english pretrained models. In Conference on Empirical Methods in Natural Language Processing."
1536
+ },
1537
+ {
1538
+ "type": "ref_text",
1539
+ "bbox": [
1540
+ 0.117,
1541
+ 0.435,
1542
+ 0.489,
1543
+ 0.58
1544
+ ],
1545
+ "angle": 0,
1546
+ "content": "Tom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah, Jared Kaplan, Prafulla Dhariwal, Arvind Neelakantan, Pranav Shyam, Girish Sastry, Amanda Askell, Sandhini Agarwal, Ariel Herbert-Voss, Gretchen Krueger, Tom Henighan, Rewon Child, Aditya Ramesh, Daniel M. Ziegler, Jeffrey Wu, Clemens Winter, Christopher Hesse, Mark Chen, Eric Sigler, Mateusz Litwin, Scott Gray, Benjamin Chess, Jack Clark, Christopher Berner, Sam McCandlish, Alec Radford, Ilya Sutskever, and Dario Amodei. 2020. Language models are few-shot learners."
1547
+ },
1548
+ {
1549
+ "type": "ref_text",
1550
+ "bbox": [
1551
+ 0.117,
1552
+ 0.591,
1553
+ 0.489,
1554
+ 0.644
1555
+ ],
1556
+ "angle": 0,
1557
+ "content": "Wei-Lin Chen, Cheng-Kuang Wu, and Hsin-Hsi Chen. 2023. Traditional-chinese alpaca: Models and datasets. https://github.com/ntunlplab/traditional-chinese-alpaca."
1558
+ },
1559
+ {
1560
+ "type": "ref_text",
1561
+ "bbox": [
1562
+ 0.117,
1563
+ 0.657,
1564
+ 0.489,
1565
+ 0.697
1566
+ ],
1567
+ "angle": 0,
1568
+ "content": "Yiming Cui, Ziqing Yang, and Xin Yao. 2023. Efficient and effective text encoding for chinese llama and alpaca."
1569
+ },
1570
+ {
1571
+ "type": "ref_text",
1572
+ "bbox": [
1573
+ 0.117,
1574
+ 0.709,
1575
+ 0.489,
1576
+ 0.775
1577
+ ],
1578
+ "angle": 0,
1579
+ "content": "Jesse Dodge, Maarten Sap, Ana Marasovic, William Agnew, Gabriel Ilharco, Dirk Groeneveld, Margaret Mitchell, and Matt Gardner. 2021. Documenting large webtext corpora: A case study on the colossal clean crawled corpus."
1580
+ },
1581
+ {
1582
+ "type": "ref_text",
1583
+ "bbox": [
1584
+ 0.117,
1585
+ 0.787,
1586
+ 0.489,
1587
+ 0.854
1588
+ ],
1589
+ "angle": 0,
1590
+ "content": "Leo Gao, Stella Biderman, Sid Black, Laurence Golding, Travis Hoppe, Charles Foster, Jason Phang, Horace He, Anish Thite, Noa Nabeshima, Shawn Presser, and Connor Leahy. 2020. The pile: An 800gb dataset of diverse text for language modeling."
1591
+ },
1592
+ {
1593
+ "type": "ref_text",
1594
+ "bbox": [
1595
+ 0.117,
1596
+ 0.866,
1597
+ 0.489,
1598
+ 0.919
1599
+ ],
1600
+ "angle": 0,
1601
+ "content": "Dan Hendrycks, Collin Burns, Steven Basart, Andy Zou, Mantas Mazeika, Dawn Song, and Jacob Steinhardt. 2021. Measuring massive multitask language understanding."
1602
+ },
1603
+ {
1604
+ "type": "list",
1605
+ "bbox": [
1606
+ 0.116,
1607
+ 0.109,
1608
+ 0.49,
1609
+ 0.919
1610
+ ],
1611
+ "angle": 0,
1612
+ "content": null
1613
+ },
1614
+ {
1615
+ "type": "ref_text",
1616
+ "bbox": [
1617
+ 0.511,
1618
+ 0.086,
1619
+ 0.883,
1620
+ 0.14
1621
+ ],
1622
+ "angle": 0,
1623
+ "content": "Edward J. Hu, Yelong Shen, Phillip Wallis, Zeyuan Allen-Zhu, Yuanzhi Li, Shean Wang, Lu Wang, and Weizhu Chen. 2021a. Lora: Low-rank adaptation of large language models."
1624
+ },
1625
+ {
1626
+ "type": "ref_text",
1627
+ "bbox": [
1628
+ 0.512,
1629
+ 0.149,
1630
+ 0.883,
1631
+ 0.203
1632
+ ],
1633
+ "angle": 0,
1634
+ "content": "Edward J. Hu, Yelong Shen, Phillip Wallis, Zeyuan Allen-Zhu, Yuanzhi Li, Shean Wang, Lu Wang, and Weizhu Chen. 2021b. Lora: Low-rank adaptation of large language models."
1635
+ },
1636
+ {
1637
+ "type": "ref_text",
1638
+ "bbox": [
1639
+ 0.512,
1640
+ 0.213,
1641
+ 0.883,
1642
+ 0.28
1643
+ ],
1644
+ "angle": 0,
1645
+ "content": "Haoyang Huang, Tianyi Tang, Dongdong Zhang, Wayne Xin Zhao, Ting Song, Yan Xia, and Furu Wei. 2023. Not all languages are created equal in llms: Improving multilingual capability by cross-lingual-thought prompting."
1646
+ },
1647
+ {
1648
+ "type": "ref_text",
1649
+ "bbox": [
1650
+ 0.512,
1651
+ 0.29,
1652
+ 0.883,
1653
+ 0.369
1654
+ ],
1655
+ "angle": 0,
1656
+ "content": "Ayyoob Imani, Peiqin Lin, Amir Hossein Kargaran, Silvia Severini, Masoud Jalili Sabet, Nora Kassner, Chunlan Ma, Helmut Schmid, André F. T. Martins, François Yvon, and Hinrich Schütze. 2023. Glot500: Scaling multilingual corpora and language models to 500 languages."
1657
+ },
1658
+ {
1659
+ "type": "ref_text",
1660
+ "bbox": [
1661
+ 0.512,
1662
+ 0.379,
1663
+ 0.883,
1664
+ 0.433
1665
+ ],
1666
+ "angle": 0,
1667
+ "content": "Kohaku-Blueleaf. 2023. Guanaco-lora: LoRA for trainin Multilingual Instruction-following LM based on LLaMA. https://huggingface.co/plncmm/guanaco-lora-7b."
1668
+ },
1669
+ {
1670
+ "type": "ref_text",
1671
+ "bbox": [
1672
+ 0.512,
1673
+ 0.443,
1674
+ 0.883,
1675
+ 0.535
1676
+ ],
1677
+ "angle": 0,
1678
+ "content": "Shibamouli Lahiri. 2014. Complexity of Word Collocation Networks: A Preliminary Structural Analysis. In Proceedings of the Student Research Workshop at the 14th Conference of the European Chapter of the Association for Computational Linguistics, pages 96-105, Gothenburg, Sweden. Association for Computational Linguistics."
1679
+ },
1680
+ {
1681
+ "type": "ref_text",
1682
+ "bbox": [
1683
+ 0.512,
1684
+ 0.545,
1685
+ 0.883,
1686
+ 0.637
1687
+ ],
1688
+ "angle": 0,
1689
+ "content": "Hang Le, Juan Miguel Pino, Changhan Wang, Jiatao Gu, Didier Schwab, and Laurent Besacier. 2021. Lightweight adapter tuning for multilingual speech translation. In Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics (ACL), pages 817-824. Association for Computational Linguistics."
1690
+ },
1691
+ {
1692
+ "type": "ref_text",
1693
+ "bbox": [
1694
+ 0.512,
1695
+ 0.648,
1696
+ 0.883,
1697
+ 0.74
1698
+ ],
1699
+ "angle": 0,
1700
+ "content": "Patrick Lewis, Barlas Oguz, Rudy Rinott, Sebastian Riedel, and Holger Schwenk. 2020. MLQA: Evaluating cross-lingual extractive question answering. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pages 7315-7330, Online. Association for Computational Linguistics."
1701
+ },
1702
+ {
1703
+ "type": "ref_text",
1704
+ "bbox": [
1705
+ 0.512,
1706
+ 0.75,
1707
+ 0.883,
1708
+ 0.803
1709
+ ],
1710
+ "angle": 0,
1711
+ "content": "Jiahuan Li, Hao Zhou, Shujian Huang, Shanbo Cheng, and Jiajun Chen. 2023. Eliciting the translation ability of large language models via multilingual finetuning with translation instructions."
1712
+ },
1713
+ {
1714
+ "type": "ref_text",
1715
+ "bbox": [
1716
+ 0.512,
1717
+ 0.813,
1718
+ 0.883,
1719
+ 0.919
1720
+ ],
1721
+ "angle": 0,
1722
+ "content": "Xiang Lisa Li and Percy Liang. 2021. Prefix-tuning: Optimizing continuous prompts for generation. In Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing (Volume 1: Long Papers), pages 4582-4597, Online. Association for Computational Linguistics."
1723
+ },
1724
+ {
1725
+ "type": "list",
1726
+ "bbox": [
1727
+ 0.511,
1728
+ 0.086,
1729
+ 0.883,
1730
+ 0.919
1731
+ ],
1732
+ "angle": 0,
1733
+ "content": null
1734
+ },
1735
+ {
1736
+ "type": "page_number",
1737
+ "bbox": [
1738
+ 0.481,
1739
+ 0.929,
1740
+ 0.521,
1741
+ 0.941
1742
+ ],
1743
+ "angle": 0,
1744
+ "content": "7969"
1745
+ }
1746
+ ],
1747
+ [
1748
+ {
1749
+ "type": "ref_text",
1750
+ "bbox": [
1751
+ 0.117,
1752
+ 0.086,
1753
+ 0.487,
1754
+ 0.139
1755
+ ],
1756
+ "angle": 0,
1757
+ "content": "Zehui Lin, Xiao Pan, Mingxuan Wang, Xipeng Qiu, Jiangtao Feng, Hao Zhou, and Lei Li. 2021. Pretraining multilingual neural machine translation by leveraging alignment information."
1758
+ },
1759
+ {
1760
+ "type": "ref_text",
1761
+ "bbox": [
1762
+ 0.117,
1763
+ 0.148,
1764
+ 0.487,
1765
+ 0.254
1766
+ ],
1767
+ "angle": 0,
1768
+ "content": "Xiao Liu, Kaixuan Ji, Yicheng Fu, Weng Tam, Zhengxiao Du, Zhilin Yang, and Jie Tang. 2022. P-tuning: Prompt tuning can be comparable to fine-tuning across scales and tasks. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 2: Short Papers), pages 61-68, Dublin, Ireland. Association for Computational Linguistics."
1769
+ },
1770
+ {
1771
+ "type": "ref_text",
1772
+ "bbox": [
1773
+ 0.117,
1774
+ 0.263,
1775
+ 0.487,
1776
+ 0.303
1777
+ ],
1778
+ "angle": 0,
1779
+ "content": "Yasmin Moslem, Rejwanul Haque, John D. Kelleher, and Andy Way. 2023. Adaptive machine translation with large language models."
1780
+ },
1781
+ {
1782
+ "type": "ref_text",
1783
+ "bbox": [
1784
+ 0.117,
1785
+ 0.312,
1786
+ 0.487,
1787
+ 0.415
1788
+ ],
1789
+ "angle": 0,
1790
+ "content": "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."
1791
+ },
1792
+ {
1793
+ "type": "ref_text",
1794
+ "bbox": [
1795
+ 0.117,
1796
+ 0.426,
1797
+ 0.487,
1798
+ 0.504
1799
+ ],
1800
+ "angle": 0,
1801
+ "content": "Guilherme Penedo, Quentin Malartic, Daniel Hesslow, Ruxandra Cojocaru, Alessandro Cappelli, Hamza Alobeidli, Baptiste Pannier, Ebtesam Almazrouei, and Julien Launay. 2023. The refined web dataset for falcon llm: Outperforming curated corpora with web data, and web data only."
1802
+ },
1803
+ {
1804
+ "type": "ref_text",
1805
+ "bbox": [
1806
+ 0.117,
1807
+ 0.514,
1808
+ 0.487,
1809
+ 0.605
1810
+ ],
1811
+ "angle": 0,
1812
+ "content": "Giulia Pucci and Leonardo Ranaldi. 2024. Does the language matter? curriculum learning over neo-Latin languages. In Proceedings of the 2024 Joint International Conference on Computational Linguistics, Language Resources and Evaluation (LREC-COLING 2024), pages 5212-5220, Torino, Italia. ELRA and ICCL."
1813
+ },
1814
+ {
1815
+ "type": "ref_text",
1816
+ "bbox": [
1817
+ 0.117,
1818
+ 0.615,
1819
+ 0.486,
1820
+ 0.655
1821
+ ],
1822
+ "angle": 0,
1823
+ "content": "Pranav Rajpurkar, Jian Zhang, Konstantin Lopyrev, and Percy Liang. 2016. Squad: 100,000+ questions for machine comprehension of text."
1824
+ },
1825
+ {
1826
+ "type": "ref_text",
1827
+ "bbox": [
1828
+ 0.117,
1829
+ 0.664,
1830
+ 0.487,
1831
+ 0.73
1832
+ ],
1833
+ "angle": 0,
1834
+ "content": "Federico Ranaldi, Elena Sofia Ruzzetti, Felicia Logozzo, Michele Mastromattei, Leonardo Ranaldi, and Fabio Massimo Zanzotto. 2023a. Exploring linguistic properties of monolingual berts with typological classification among languages."
1835
+ },
1836
+ {
1837
+ "type": "ref_text",
1838
+ "bbox": [
1839
+ 0.117,
1840
+ 0.739,
1841
+ 0.487,
1842
+ 0.831
1843
+ ],
1844
+ "angle": 0,
1845
+ "content": "Leonardo Ranaldi and Andre Freitas. 2024. Aligning large and small language models via chain-of-thought reasoning. In Proceedings of the 18th Conference of the European Chapter of the Association for Computational Linguistics (Volume 1: Long Papers), pages 1812-1827, St. Julian's, Malta. Association for Computational Linguistics."
1846
+ },
1847
+ {
1848
+ "type": "ref_text",
1849
+ "bbox": [
1850
+ 0.117,
1851
+ 0.84,
1852
+ 0.487,
1853
+ 0.918
1854
+ ],
1855
+ "angle": 0,
1856
+ "content": "Leonardo Ranaldi, Aria Nourbakhsh, Elena Sofia Ruzzetti, Arianna Patrizi, Dario Onorati, Michele Mastromattei, Francesca Fallucchi, and Fabio Massimo Zanzotto. 2023b. The dark side of the language: Pre-trained transformers in the DarkNet. In Proceedings of the 14th International Conference on Recent"
1857
+ },
1858
+ {
1859
+ "type": "list",
1860
+ "bbox": [
1861
+ 0.117,
1862
+ 0.086,
1863
+ 0.487,
1864
+ 0.918
1865
+ ],
1866
+ "angle": 0,
1867
+ "content": null
1868
+ },
1869
+ {
1870
+ "type": "ref_text",
1871
+ "bbox": [
1872
+ 0.529,
1873
+ 0.086,
1874
+ 0.882,
1875
+ 0.126
1876
+ ],
1877
+ "angle": 0,
1878
+ "content": "Advances in Natural Language Processing, pages 949-960, Varna, Bulgaria. INCOMA Ltd., Shoumen, Bulgaria."
1879
+ },
1880
+ {
1881
+ "type": "ref_text",
1882
+ "bbox": [
1883
+ 0.512,
1884
+ 0.136,
1885
+ 0.882,
1886
+ 0.215
1887
+ ],
1888
+ "angle": 0,
1889
+ "content": "Leonardo Ranaldi and Giulia Pucci. 2023a. Does the English matter? elicit cross-lingual abilities of large language models. In Proceedings of the 3rd Workshop on Multi-lingual Representation Learning (MRL), pages 173–183, Singapore. Association for Computational Linguistics."
1890
+ },
1891
+ {
1892
+ "type": "ref_text",
1893
+ "bbox": [
1894
+ 0.512,
1895
+ 0.225,
1896
+ 0.881,
1897
+ 0.265
1898
+ ],
1899
+ "angle": 0,
1900
+ "content": "Leonardo Ranaldi and Giulia Pucci. 2023b. Knowing knowledge: Epistemological study of knowledge in transformers. Applied Sciences, 13(2)."
1901
+ },
1902
+ {
1903
+ "type": "ref_text",
1904
+ "bbox": [
1905
+ 0.512,
1906
+ 0.275,
1907
+ 0.882,
1908
+ 0.327
1909
+ ],
1910
+ "angle": 0,
1911
+ "content": "Leonardo Ranaldi, Giulia Pucci, Federico Ranaldi, Elena Sofia Ruzzetti, and Fabio Massimo Zanzotto. 2024. Empowering multi-step reasoning across languages via tree-of-thoughts."
1912
+ },
1913
+ {
1914
+ "type": "ref_text",
1915
+ "bbox": [
1916
+ 0.512,
1917
+ 0.337,
1918
+ 0.882,
1919
+ 0.39
1920
+ ],
1921
+ "angle": 0,
1922
+ "content": "Leonardo Ranaldi, Elena Sofia Ruzzetti, Davide Venditti, Dario Onorati, and Fabio Massimo Zanzotto. 2023c. A trip towards fairness: Bias and de-biasing in large language models."
1923
+ },
1924
+ {
1925
+ "type": "ref_text",
1926
+ "bbox": [
1927
+ 0.512,
1928
+ 0.4,
1929
+ 0.882,
1930
+ 0.426
1931
+ ],
1932
+ "angle": 0,
1933
+ "content": "Andrea Santilli and Emanuele Rodola. 2023. Camoscio: an italian instruction-tuned llama."
1934
+ },
1935
+ {
1936
+ "type": "ref_text",
1937
+ "bbox": [
1938
+ 0.512,
1939
+ 0.437,
1940
+ 0.882,
1941
+ 0.501
1942
+ ],
1943
+ "angle": 0,
1944
+ "content": "Mohammad Shoeybi, Mostofa Ali Patwary, Raul Puri, Patrick LeGresley, Jared Casper, and Bryan Catanzaro. 2019. Megatron-LM: Training multi-billion parameter language models using model parallelism. ArXiv, abs/1909.08053."
1945
+ },
1946
+ {
1947
+ "type": "ref_text",
1948
+ "bbox": [
1949
+ 0.512,
1950
+ 0.513,
1951
+ 0.882,
1952
+ 0.591
1953
+ ],
1954
+ "angle": 0,
1955
+ "content": "Mirac Suzgun, Nathan Scales, Nathanael Scharli, Sebastian Gehrmann, Yi Tay, Hyung Won Chung, Aakanksha Chowdhery, Quoc V Le, Ed H Chi, Denny Zhou, , and Jason Wei. 2022. Challenging big-bench tasks and whether chain-of-thought can solve them. arXiv preprint arXiv:2210.09261."
1956
+ },
1957
+ {
1958
+ "type": "ref_text",
1959
+ "bbox": [
1960
+ 0.512,
1961
+ 0.602,
1962
+ 0.882,
1963
+ 0.642
1964
+ ],
1965
+ "angle": 0,
1966
+ "content": "Marc Tanti, Lonneke van der Plas, Claudia Borg, and Albert Gatt. 2021. On the language-specificity of multilingual bert and the impact of fine-tuning."
1967
+ },
1968
+ {
1969
+ "type": "ref_text",
1970
+ "bbox": [
1971
+ 0.512,
1972
+ 0.651,
1973
+ 0.882,
1974
+ 0.717
1975
+ ],
1976
+ "angle": 0,
1977
+ "content": "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."
1978
+ },
1979
+ {
1980
+ "type": "ref_text",
1981
+ "bbox": [
1982
+ 0.512,
1983
+ 0.727,
1984
+ 0.882,
1985
+ 0.806
1986
+ ],
1987
+ "angle": 0,
1988
+ "content": "Ian Tenney, Dipanjan Das, and Ellie Pavlick. 2019. BERT rediscovers the classical NLP pipeline. In Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics, pages 4593-4601, Florence, Italy. Association for Computational Linguistics."
1989
+ },
1990
+ {
1991
+ "type": "ref_text",
1992
+ "bbox": [
1993
+ 0.512,
1994
+ 0.816,
1995
+ 0.882,
1996
+ 0.856
1997
+ ],
1998
+ "angle": 0,
1999
+ "content": "Martin Thissen. 2023. Fine-tune alpaca for any language. https://github.com/thisserand/alpaca-lora-finetune-language."
2000
+ },
2001
+ {
2002
+ "type": "ref_text",
2003
+ "bbox": [
2004
+ 0.512,
2005
+ 0.866,
2006
+ 0.882,
2007
+ 0.918
2008
+ ],
2009
+ "angle": 0,
2010
+ "content": "Jörg Tiedemann. 2012. Parallel data, tools and interfaces in OPUS. In Proceedings of the Eighth International Conference on Language Resources and Evaluation (LREC'12), pages 2214-2218, Istanbul,"
2011
+ },
2012
+ {
2013
+ "type": "list",
2014
+ "bbox": [
2015
+ 0.512,
2016
+ 0.086,
2017
+ 0.882,
2018
+ 0.918
2019
+ ],
2020
+ "angle": 0,
2021
+ "content": null
2022
+ },
2023
+ {
2024
+ "type": "page_number",
2025
+ "bbox": [
2026
+ 0.481,
2027
+ 0.929,
2028
+ 0.521,
2029
+ 0.941
2030
+ ],
2031
+ "angle": 0,
2032
+ "content": "7970"
2033
+ }
2034
+ ],
2035
+ [
2036
+ {
2037
+ "type": "ref_text",
2038
+ "bbox": [
2039
+ 0.135,
2040
+ 0.086,
2041
+ 0.486,
2042
+ 0.113
2043
+ ],
2044
+ "angle": 0,
2045
+ "content": "Turkey. European Language Resources Association (ELRA)."
2046
+ },
2047
+ {
2048
+ "type": "ref_text",
2049
+ "bbox": [
2050
+ 0.117,
2051
+ 0.123,
2052
+ 0.487,
2053
+ 0.202
2054
+ ],
2055
+ "angle": 0,
2056
+ "content": "Hugo Touvron, Thibaut Lavril, Gautier Izacard, Xavier Martinet, Marie-Anne Lachaux, Timothee Lacroix, Baptiste Roziere, Naman Goyal, Eric Hambro, Faisal Azhar, Aurelien Rodriguez, Armand Joulin, Edouard Grave, and Guillaume Lample. 2023. Llama: Open and efficient foundation language models."
2057
+ },
2058
+ {
2059
+ "type": "ref_text",
2060
+ "bbox": [
2061
+ 0.117,
2062
+ 0.212,
2063
+ 0.486,
2064
+ 0.264
2065
+ ],
2066
+ "angle": 0,
2067
+ "content": "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."
2068
+ },
2069
+ {
2070
+ "type": "ref_text",
2071
+ "bbox": [
2072
+ 0.117,
2073
+ 0.274,
2074
+ 0.487,
2075
+ 0.327
2076
+ ],
2077
+ "angle": 0,
2078
+ "content": "Jason Wei, Maarten Bosma, Vincent Y. 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."
2079
+ },
2080
+ {
2081
+ "type": "ref_text",
2082
+ "bbox": [
2083
+ 0.117,
2084
+ 0.337,
2085
+ 0.487,
2086
+ 0.39
2087
+ ],
2088
+ "angle": 0,
2089
+ "content": "Canwen Xu, Daya Guo, Nan Duan, and Julian McAuley. 2023. Baize: An open-source chat model with parameter-efficient tuning on self-chat data. arXiv preprint arXiv:2304.01196."
2090
+ },
2091
+ {
2092
+ "type": "ref_text",
2093
+ "bbox": [
2094
+ 0.117,
2095
+ 0.4,
2096
+ 0.487,
2097
+ 0.453
2098
+ ],
2099
+ "angle": 0,
2100
+ "content": "Wen Yang, Chong Li, Jiajun Zhang, and Chengqing Zong. 2023. Bigtranslate: Augmenting large language models with multilingual translation capability over 100 languages."
2101
+ },
2102
+ {
2103
+ "type": "ref_text",
2104
+ "bbox": [
2105
+ 0.117,
2106
+ 0.463,
2107
+ 0.487,
2108
+ 0.489
2109
+ ],
2110
+ "angle": 0,
2111
+ "content": "Yasbok. Alpaca Instruction Fine-Tuning for Arabic. https://huggingface.co/Yasbok."
2112
+ },
2113
+ {
2114
+ "type": "ref_text",
2115
+ "bbox": [
2116
+ 0.117,
2117
+ 0.499,
2118
+ 0.487,
2119
+ 0.539
2120
+ ],
2121
+ "angle": 0,
2122
+ "content": "Jiali Zeng, Fandong Meng, Yongjing Yin, and Jie Zhou. 2023. Tim: Teaching large language models to translate with comparison."
2123
+ },
2124
+ {
2125
+ "type": "ref_text",
2126
+ "bbox": [
2127
+ 0.117,
2128
+ 0.549,
2129
+ 0.487,
2130
+ 0.628
2131
+ ],
2132
+ "angle": 0,
2133
+ "content": "Shaolei Zhang, Qingkai Fang, Zhuocheng Zhang, Zhengrui Ma, Yan Zhou, Langlin Huang, Mengyu Bu, Shangtong Gui, Yunji Chen, Xilin Chen, and Yang Feng. 2023. Bayling: Bridging cross-lingual alignment and instruction following through interactive translation for large language models."
2134
+ },
2135
+ {
2136
+ "type": "ref_text",
2137
+ "bbox": [
2138
+ 0.117,
2139
+ 0.638,
2140
+ 0.487,
2141
+ 0.691
2142
+ ],
2143
+ "angle": 0,
2144
+ "content": "Wenhao Zhu, Yunzhe Lv, Qingxiu Dong, Fei Yuan, Jingjing Xu, Shujian Huang, Lingpeng Kong, Jiajun Chen, and Lei Li. 2023. Extrapolating large language models to non-english by aligning languages."
2145
+ },
2146
+ {
2147
+ "type": "ref_text",
2148
+ "bbox": [
2149
+ 0.117,
2150
+ 0.7,
2151
+ 0.487,
2152
+ 0.78
2153
+ ],
2154
+ "angle": 0,
2155
+ "content": "Yukun Zhu, Ryan Kiros, Rich Zemel, Ruslan Salakhutdinov, Raquel Urtasun, Antonio Torralba, and Sanja Fidler. 2015. Aligning books and movies: Towards story-like visual explanations by watching movies and reading books. In The IEEE International Conference on Computer Vision (ICCV)."
2156
+ },
2157
+ {
2158
+ "type": "list",
2159
+ "bbox": [
2160
+ 0.117,
2161
+ 0.086,
2162
+ 0.487,
2163
+ 0.78
2164
+ ],
2165
+ "angle": 0,
2166
+ "content": null
2167
+ },
2168
+ {
2169
+ "type": "page_number",
2170
+ "bbox": [
2171
+ 0.481,
2172
+ 0.929,
2173
+ 0.518,
2174
+ 0.941
2175
+ ],
2176
+ "angle": 0,
2177
+ "content": "7971"
2178
+ }
2179
+ ],
2180
+ [
2181
+ {
2182
+ "type": "table_caption",
2183
+ "bbox": [
2184
+ 0.115,
2185
+ 0.133,
2186
+ 0.239,
2187
+ 0.149
2188
+ ],
2189
+ "angle": 0,
2190
+ "content": "A Appendix"
2191
+ },
2192
+ {
2193
+ "type": "table",
2194
+ "bbox": [
2195
+ 0.137,
2196
+ 0.155,
2197
+ 0.863,
2198
+ 0.457
2199
+ ],
2200
+ "angle": 0,
2201
+ "content": "<table><tr><td></td><td>Model</td><td>MLQA</td><td>XQUAD</td><td>MMLU</td><td>BBH</td></tr><tr><td></td><td>en-Alpaca</td><td>0.89</td><td>0.87</td><td>0.42</td><td>0.30</td></tr><tr><td rowspan=\"5\">Alpaca</td><td>zh-Alpaca</td><td>0.48</td><td>0.38</td><td>0.26</td><td>0.25</td></tr><tr><td>ar-Alpaca</td><td>0.17</td><td>0.16</td><td>0.18</td><td>0.20</td></tr><tr><td>it-Alpaca</td><td>0.35</td><td>0.32</td><td>0.21</td><td>0.25</td></tr><tr><td>es-Alpaca</td><td>0.32</td><td>0.33</td><td>0.19</td><td>0.24</td></tr><tr><td>de-Alpaca</td><td>0.36</td><td>0.39</td><td>0.24</td><td>0.25</td></tr><tr><td></td><td>avg-Alpaca</td><td>0.34</td><td>0.31</td><td>0.24</td><td>0.24</td></tr><tr><td rowspan=\"5\">CrossAlpaca</td><td>zh-CrossAlpaca</td><td>0.70</td><td>0.69</td><td>0.36</td><td>0.28</td></tr><tr><td>ar-CrossAlpaca</td><td>0.56</td><td>0.60</td><td>0.25</td><td>0.25</td></tr><tr><td>it-CrossAlpaca</td><td>0.64</td><td>0.65</td><td>0.28</td><td>0.27</td></tr><tr><td>es-CrossAlpaca</td><td>0.65</td><td>0.64</td><td>0.28</td><td>0.28</td></tr><tr><td>de-CrossAlpaca</td><td>0.64</td><td>0.67</td><td>0.32</td><td>0.29</td></tr><tr><td></td><td>avg-CrossAlpaca</td><td>0.64</td><td>0.65</td><td>0.32</td><td>0.28</td></tr><tr><td></td><td>en-Alpaca vs avg-Alpaca</td><td>0.34(-0.55)</td><td>0.31(-0.56)</td><td>0.24(-0.18)</td><td>0.24(-0.06)</td></tr><tr><td></td><td>en-Alpaca vs avg-CrossAlpaca</td><td>0.64(-0.25)</td><td>0.65(-0.22)</td><td>0.32(-0.10)</td><td>0.28(-0.20)</td></tr><tr><td></td><td>avg-CrossAlpaca vs avg-Alpaca</td><td>(+0.30)</td><td>(+0.34)</td><td>(+0.08)</td><td>(+0.04)</td></tr></table>"
2202
+ },
2203
+ {
2204
+ "type": "table_footnote",
2205
+ "bbox": [
2206
+ 0.113,
2207
+ 0.466,
2208
+ 0.884,
2209
+ 0.511
2210
+ ],
2211
+ "angle": 0,
2212
+ "content": "Table 3: Evaluation results on proposed benchmarks. The avg- lines are the averages of x-Alpacas and x-CorssAlpacas. The last three lines indicate the comparisons between en-Alpaca. The last line indicates the comparisons between avg-Alpacas and avg-CrossAlpacas."
2213
+ },
2214
+ {
2215
+ "type": "table_caption",
2216
+ "bbox": [
2217
+ 0.114,
2218
+ 0.619,
2219
+ 0.238,
2220
+ 0.636
2221
+ ],
2222
+ "angle": 0,
2223
+ "content": "B Appendix"
2224
+ },
2225
+ {
2226
+ "type": "table",
2227
+ "bbox": [
2228
+ 0.171,
2229
+ 0.643,
2230
+ 0.828,
2231
+ 0.841
2232
+ ],
2233
+ "angle": 0,
2234
+ "content": "<table><tr><td>Language</td><td>Alpaca</td><td>MLQA</td><td>XQUAD</td><td>MMLU</td><td>BBH</td><td>News/commentary</td></tr><tr><td>Arabic</td><td>x</td><td>x</td><td>x</td><td>-</td><td>-</td><td>x</td></tr><tr><td>Chinese</td><td>x</td><td>x</td><td>x</td><td>-</td><td>-</td><td>x</td></tr><tr><td>English</td><td>x</td><td>x</td><td>x</td><td>x</td><td>x</td><td>x</td></tr><tr><td>German</td><td>x</td><td>x</td><td>x</td><td>-</td><td>-</td><td>x</td></tr><tr><td>Greek</td><td>-</td><td>x</td><td>x</td><td>-</td><td>-</td><td>x</td></tr><tr><td>Hindi</td><td>x</td><td>x</td><td>x</td><td>-</td><td>-</td><td>x</td></tr><tr><td>Italian</td><td>x</td><td>-</td><td>-</td><td>x</td><td>x</td><td>x</td></tr><tr><td>Russian</td><td>x</td><td>x</td><td>x</td><td>-</td><td>-</td><td>x</td></tr><tr><td>Spanish</td><td>x</td><td>x</td><td>x</td><td>-</td><td>-</td><td>x</td></tr><tr><td>Turkish</td><td>x</td><td>-</td><td>x</td><td>-</td><td>-</td><td>-</td></tr><tr><td>Vietnamese</td><td>-</td><td>x</td><td>x</td><td>-</td><td>-</td><td>-</td></tr></table>"
2235
+ },
2236
+ {
2237
+ "type": "table_caption",
2238
+ "bbox": [
2239
+ 0.324,
2240
+ 0.849,
2241
+ 0.672,
2242
+ 0.864
2243
+ ],
2244
+ "angle": 0,
2245
+ "content": "Table 4: List of available state-of-the-art resources."
2246
+ },
2247
+ {
2248
+ "type": "page_number",
2249
+ "bbox": [
2250
+ 0.481,
2251
+ 0.928,
2252
+ 0.522,
2253
+ 0.941
2254
+ ],
2255
+ "angle": 0,
2256
+ "content": "7972"
2257
+ }
2258
+ ],
2259
+ [
2260
+ {
2261
+ "type": "image_caption",
2262
+ "bbox": [
2263
+ 0.115,
2264
+ 0.093,
2265
+ 0.24,
2266
+ 0.11
2267
+ ],
2268
+ "angle": 0,
2269
+ "content": "C Appendix"
2270
+ },
2271
+ {
2272
+ "type": "image",
2273
+ "bbox": [
2274
+ 0.16,
2275
+ 0.121,
2276
+ 0.49,
2277
+ 0.274
2278
+ ],
2279
+ "angle": 0,
2280
+ "content": null
2281
+ },
2282
+ {
2283
+ "type": "image",
2284
+ "bbox": [
2285
+ 0.507,
2286
+ 0.12,
2287
+ 0.837,
2288
+ 0.274
2289
+ ],
2290
+ "angle": 0,
2291
+ "content": null
2292
+ },
2293
+ {
2294
+ "type": "image",
2295
+ "bbox": [
2296
+ 0.16,
2297
+ 0.286,
2298
+ 0.49,
2299
+ 0.437
2300
+ ],
2301
+ "angle": 0,
2302
+ "content": null
2303
+ },
2304
+ {
2305
+ "type": "image",
2306
+ "bbox": [
2307
+ 0.508,
2308
+ 0.286,
2309
+ 0.837,
2310
+ 0.437
2311
+ ],
2312
+ "angle": 0,
2313
+ "content": null
2314
+ },
2315
+ {
2316
+ "type": "image_caption",
2317
+ "bbox": [
2318
+ 0.113,
2319
+ 0.453,
2320
+ 0.882,
2321
+ 0.47
2322
+ ],
2323
+ "angle": 0,
2324
+ "content": "Figure 6: Evaluation of all proposed benchmarks of the demonstrations used for instruction-tuning our CrossAlpacas."
2325
+ },
2326
+ {
2327
+ "type": "image_caption",
2328
+ "bbox": [
2329
+ 0.115,
2330
+ 0.499,
2331
+ 0.24,
2332
+ 0.516
2333
+ ],
2334
+ "angle": 0,
2335
+ "content": "D Appendix"
2336
+ },
2337
+ {
2338
+ "type": "image",
2339
+ "bbox": [
2340
+ 0.16,
2341
+ 0.528,
2342
+ 0.49,
2343
+ 0.68
2344
+ ],
2345
+ "angle": 0,
2346
+ "content": null
2347
+ },
2348
+ {
2349
+ "type": "image",
2350
+ "bbox": [
2351
+ 0.508,
2352
+ 0.528,
2353
+ 0.837,
2354
+ 0.68
2355
+ ],
2356
+ "angle": 0,
2357
+ "content": null
2358
+ },
2359
+ {
2360
+ "type": "image",
2361
+ "bbox": [
2362
+ 0.16,
2363
+ 0.691,
2364
+ 0.49,
2365
+ 0.842
2366
+ ],
2367
+ "angle": 0,
2368
+ "content": null
2369
+ },
2370
+ {
2371
+ "type": "image",
2372
+ "bbox": [
2373
+ 0.508,
2374
+ 0.691,
2375
+ 0.837,
2376
+ 0.842
2377
+ ],
2378
+ "angle": 0,
2379
+ "content": null
2380
+ },
2381
+ {
2382
+ "type": "image_caption",
2383
+ "bbox": [
2384
+ 0.112,
2385
+ 0.86,
2386
+ 0.885,
2387
+ 0.903
2388
+ ],
2389
+ "angle": 0,
2390
+ "content": "Figure 7: Evaluation of all proposed benchmarks using one-direction Translation-following demonstrations. For en-x for English-foreigner and x-en for foreign English. With the red cross, we indicate the results of the x-Alpaca standards, and with the green diamond, the results of our x-CrossAlpaca."
2391
+ },
2392
+ {
2393
+ "type": "page_number",
2394
+ "bbox": [
2395
+ 0.481,
2396
+ 0.929,
2397
+ 0.522,
2398
+ 0.941
2399
+ ],
2400
+ "angle": 0,
2401
+ "content": "7973"
2402
+ }
2403
+ ]
2404
+ ]
2024/Empowering cross-lingual abilities of instruction-tuned large language models by translation-following demonstrations/f7644dfc-cd06-4320-a14e-02a1e95a33d9_origin.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d18f30a7ae0bb4c6a339a2e9d132c9bbcebe10e3ec7ee66f9d33c2053392361a
3
+ size 669251
2024/Empowering cross-lingual abilities of instruction-tuned large language models by translation-following demonstrations/full.md ADDED
@@ -0,0 +1,315 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Empowering Cross-lingual Abilities of Instruction-tuned Large Language Models by Translation-following Demonstrations
2
+
3
+ Leonardo Ranaldi $(\dagger)$ , Giulia Pucci $(\star)$ , André Freitas $(\dagger, *)$
4
+
5
+ $(\dagger)$ Idiap Research Institute, Martigny, Switzerland
6
+
7
+ $(\star)$ Department of Computing Science, University of Aberdeen, UK
8
+
9
+ $(\ast)$ Department of Computer Science, University of Manchester, UK
10
+
11
+ [first_name].[last_name]@idiap.ch
12
+
13
+ # Abstract
14
+
15
+ The language ability of Large Language Models (LLMs) is often unbalanced towards English because of the imbalance in the distribution of the pre-training data. This disparity is demanded in further fine-tuning and affecting the cross-lingual abilities of LLMs. In this paper, we propose to empower Instruction-tuned LLMs (It-LLMs) in languages other than English by building semantic alignment between them. Hence, we propose CrossAlpaca, an It-LLM with cross-lingual Instruction-following and Translation-following demonstrations to improve semantic alignment between languages. We validate our approach on the multilingual Question Answering (QA) benchmarks XQUAD and MLQA and adapted versions of MMLU and BBH. Our models, tested over six different languages, outperform the It-LLMs tuned on monolingual data. The final results show that instruction tuning on non-English data is not enough and that semantic alignment can be further improved by Translation-following demonstrations.
16
+
17
+ # 1 Introduction
18
+
19
+ Large Language Models (LLMs) achieve comprehensive language abilities through pre-training on large corpora (Brown et al., 2020; Touvron et al., 2023; Ranaldi and Pucci, 2023b). Hence, the acquired language abilities follow the corpora features, mostly available in English (Lin et al., 2021; Pucci and Ranaldi, 2024). This phenomenon produces an imbalance in both pre-training (Blevins and Zettlemoyer, 2022) and fine-tuning (Le et al., 2021). Consequently, LLMs underperform in languages different from English (Huang et al., 2023).
20
+
21
+ Efforts to increase multilingual abilities propose continuing pre-training with large-scale monolingual data (Imani et al., 2023; Cui et al., 2023; Yang et al., 2023). However, learning a language from monolingual data requires considerable data and computational resources.
22
+
23
+ In this paper, we propose CrossAlpaca, an Instruction-tuned LLM (It-LLM) empowered with a semantic alignment between English and other languages. We analyze how to elicit the non-English abilities of It-LLMs by focusing on the crucial phase: instruction-tuning over Instruction-following demonstrations. Hence, we study the effect of cross-lingual alignment by proposing Translation-following demonstrations to improve the instruction-tuning phase.
24
+
25
+ In our experiments, we use $LLaMA-7B$ (Touvron et al., 2023) as the LLM backbone and consider six target languages selected from among the available data (shown in Table 4); where data are absent, we perform a translation task. As Instruction-following demonstrations, we use the Stanford Alpaca dataset (Taori et al., 2023) and translated versions in the corresponding languages, while for the Translation-following, we use a publicly available translation resource news Commentary (Tiedemann, 2012), the most accessible and extendable to multiple languages (i.e., CrossAlpaca demonstrations on Figure 1).
26
+
27
+ Behind an instruction-tuning phase, we evaluate the performance of our six language-specific CrossAlpacas using four different benchmarks: two native-multilingual, i.e., XQUAD (Artetxe et al., 2019) and MLQA (Lewis et al., 2020), and two native-monolinguals, MMLU (Hendrycks et al., 2021) and BBH (Suzgun et al., 2022). The results show that CrossAlpacas instructed with language-specific instruction and translation data far outperform Alpacas instructed only with non-English demonstrations. However, even though CrossAlpaca reduces the gap, the Translation-following models of the original Alpaca still perform best. This result shows that LLaMA's learning abilities on English data are superior to those on non-English data. The semantic alignment task also improves the cross-lingual abilities of It-LLMs.
28
+
29
+ Our findings can be summarized as follows:
30
+
31
+ ![](images/f77b86829fd878d10ff49daafa9ab637bf2b7f9343234db1ad3e8a9a29f08489.jpg)
32
+ Figure 1: Our $x$ -CrossAlpacas are fine-tuned on Instruction-following and Translation-following demonstrations. This example shows the it-CrossAlpaca, fine-tuned on it-Alpaca and Translation-following demonstrations.
33
+
34
+ - The learning abilities of LLMs on non-English Instruction-tuning tasks are limited;
35
+ - The multi-lingual abilities of Instruction-tuned LLMs could be empowered through cross-lingual alignment;
36
+ - Thus, we propose CrossAlpaca, an Instruction-tuning approach for non-English models that are based on Instruction-following and Translation-following demonstration for target language;
37
+ - We show that It-LLMs are able to semantically align through cross-lingual Translation-following demonstrations via an extensive evaluation on four multi-lingual QA benchmarks.
38
+
39
+ # 2 Related Work
40
+
41
+ # 2.1 Pre-trained Language Model on Cross-Linguual Corpora
42
+
43
+ The next token prediction based on the prefix sequence, as well-known as language modeling, is the everlasting task of modern NLP (Tenney et al., 2019). The extensive knowledge of today's Large Language Models (LLMs) depends on the billions of neurons trained on large-scale corpora with derivatives of the language modeling task. Consequently, the pre-training corpora are predominantly in English, e.g., BooksCorpus (Zhu et al., 2015), MEGATRON-LM (Shoeybi et al., 2019), Gutenberg Dataset (Lahiri, 2014) PILE (Gao et al., 2020), C4 (Dodge et al., 2021), RefinedWeb (Penedo et al., 2023); therefore, LLMs usually have much better knowledge of English than other languages.
44
+
45
+ Aulamo and Tiedemann (2019); Abadji et al. (2022), in order to solve this problem, propose forward corpora translated into several languages. However, these corpora are not as huge as their competitors, and the lack of massively parallel data in the pre-training corpora also prevents LLMs from aligning the different languages well (Li et al., 2023).
46
+
47
+ # 2.2 The Instruction-tuning Paradigm
48
+
49
+ Ouyang et al. (2022); Wei et al. (2022) fine-tuned LLMs using the Instruction-tuning method based on Instruction-tuning data, which are instruction-response corpora, to make LLMs more scalable and improve zero-shot performance. In this method, the LLM backbone is fed with data from the instruction $(I,X,Y)$ , where $I$ is an instruction describing the task's requirements, $X$ is the input, which can be optional, and $Y$ is the output for the given task. The goal of this method is to minimize the function $f(Y)$ :
50
+
51
+ $$
52
+ f (Y) = \arg \min _ {\theta} \log p _ {\theta} (Y \mid I, X) \tag {1}
53
+ $$
54
+
55
+ where $\theta$ are model learnable parameters.
56
+
57
+ Earlier studies show that the instruction-tuning method of LLMs with both human (Wang et al., 2023) and synthetic-generated instructions (Taori et al., 2023; Xu et al., 2023) empowers the ability of LLMs to solve considerable tasks in zero-shot scenarios.
58
+
59
+ However, we state that the generally used instruction-tuning datasets, alpaca (Taori et al., 2023), Self-Instruct (Wang et al., 2023), Self-Chat (Xu et al., 2023) or a teacher-student alignment approaches (Ranaldi and Freitas, 2024), conceived
60
+
61
+ ![](images/2b168cb7e40c1e66c87ac707be95f1fbb15447888cbfc812e0b1a71b5f5cbef0.jpg)
62
+ Figure 2: Examples of Translation-following demonstrations. In this particular example, there are two demonstrations with two different directions from English to German (en-x) and vice versa.
63
+
64
+ in English, which limits the prospect of LLMs to follow non-English instructions and therefore solve related tasks.
65
+
66
+ # 2.3 Instruction-tuning is at hand
67
+
68
+ Large Language Models have considerable success with many techniques in vogue, such as Instruction-tuning. However, their prohibitive size only allows part of the scientific community to experiment with these models.
69
+
70
+ The latest advances that make these models and techniques accessible involve efficient parameter tuning. Parameter-Efficient Tuning (PEFT) is an efficient technique to adjust a small part of the model parameters and freeze the others. The main goal is to significantly reduce computational and storage costs while maintaining the performance of the original models. The standard techniques for PEFT are LoRA (Hu et al., 2021a), Prefix Tuning (Li and Liang, 2021), P-Tuning (Liu et al., 2022). The basic idea is to keep the pre-trained model weights and incorporate low-rank matrices in each architecture layer. This approach significantly reduces the number of parameters that require training for subsequent tasks, thereby increasing overall efficiency. This building block has been and continues to be very important because it skills the scientific community to fair research and enables the development of multiple open-source works.
71
+
72
+ # 2.4 Cross-lingual Instruction-tuning Challenge
73
+
74
+ Recent work has shown the remarkable abilities of LLMs in learning instruction in different languages. Santilli and Rodola (2023); Chen et al. (2023) proposed monolingual fine-tuning LLaMA adaptations on language-specific translated instructions. The
75
+
76
+ <table><tr><td>Model</td><td>Language</td><td>Name</td></tr><tr><td>Alpaca (Taori et al., 2023)</td><td>English</td><td>en-Alpaca</td></tr><tr><td>Alpaca-Chinese (Chen et al., 2023)</td><td>Chinese</td><td>zh-Alpaca</td></tr><tr><td>Arabic Alpaca (Yasbok)</td><td>Arabic</td><td>ar-Alpaca</td></tr><tr><td>Camascio (Santilli and Rodola, 2023)</td><td>Italian</td><td>it-Alpaca</td></tr><tr><td>Guanaco (Kohaku-Blueleaf, 2023)</td><td>Spanish</td><td>es-Alpaca</td></tr><tr><td>German Alpaca (Thissen, 2023)</td><td>German</td><td>de-Alpaca</td></tr></table>
77
+
78
+ Table 1: Details and names of mono-lingual Instruction-tuned Large Language Models that use a language-specific version of Alpaca as instruction-tuning data.
79
+
80
+ use of optimization techniques introduces in Section 2.3, to propose engaging custom adapters for various tasks. Zhang et al. (2023); Ranaldi and Pucci (2023a) investigated the cross-lingual abilities of It-LLMs by promoting the effects of augmenting instruction demonstrations. In particular, Zhang et al. (2023) use fine-grained custom translations that are not easily accessible, while Ranaldi and Pucci (2023a) propose a multilingual approach by considerably increasing instruction and translation tasks. However, these studies have opened an interesting avenue in analyzing the cross-lingual abilities of It-LLMs.
81
+
82
+ In this paper, we take the next step by proposing our CrossAlpaca. Our methods show of the cross-lingual learning abilities of It-LLMs on a large scale. Using four well-known benchmarks, we show that the weaknesses of It-LLMs trained on non-English data can be strengthened with cross-lingual alignment approaches. Hence, our analyses aim to understand the role of Instruction-following and Translation-following demonstrations in closing the gap in learning and adapting LLMs' abilities to non-English languages.
83
+
84
+ # 3 Data & Methods
85
+
86
+ Pre-training from scratch a Large Language Model (LLM) in multiple languages is cost-prohibitive for
87
+
88
+ data collection and parameter learning. This is the reason why the trend is to do further fine-tuning to strengthen the models' abilities in a specific language (Tanti et al., 2021; Moslem et al., 2023). In this paper, we aim to exploit the abilities of pretrained LLMs for non-English languages by further improving the alignment between English and the target language. Hence, in Section 3.1, we introduce the challenge of fine-tuning an LLM on a mono-lingual custom scenario. Furthermore, in Section 3.2, we propose our approach to fine-tune cross-lingual LLMs.
89
+
90
+ # 3.1 Mono-lingual Instruction-tuning
91
+
92
+ The limited accessibility and transparency of paid API services of state-of-the-art LLMs have pushed research toward developing open-source models. Using the instruction-tuning paradigm (Section 2.2) and Stanford Alpaca (Taori et al., 2023), a corpus consisting of $52\mathrm{k}$ of English instruction-output pairs generated by text-davinci-003, several Instruction-tuned versions of LLaMA were released.
93
+
94
+ Following this approach, multiple monolingual Instruction-tuned versions of LLaMA were proposed by translating the Stanford Alpaca Instruction-following data into the specific language. Table 4 (Appendix B) shows a set of alpaca versions available as open source. Following a systematic analysis of the translated versions of Alpaca in official repositories<sup>1</sup>, the languages of the benchmark datasets, and the translation pairs present in news/commentary, which will be introduced later, we selected the languages that share the most already available data. Table 1 shows the custom versions used in this work, which for simplicity will be renamed $x$ -Alpaca, where $x$ indicates the specific language.
95
+
96
+ # 3.2 Cross-lingual Instruction-tuning
97
+
98
+ Mono-lingual Instruction-tuning approaches (Section 3.1) reward LLMs' multi-lingual abilities. However, the use of translated Alpaca alone for the specific language is not sufficient to elicit the non-English ability of LLMs. For this reason, we propose CrossAlpaca (Figure 1), which enriches the cross-lingual Instruction-tuning with the Translation-following demonstrations. We aim to highlight LLMs' English and non-English abilities
99
+
100
+ by proposing a semantic alignment task to enrich versions of Alpaca.
101
+
102
+ Instruction-following demonstrations The original version of Alpaca is in English. However, as described in Section 3.1, different open-source translations are produced with a translation engine. In our experiments, we propose the Instruction-tuning phase with the original English version (en-Alpaca) and the translated language-specific versions. Moreover, we propose the CrossAlpaca versions built with the different Alpacas translated into the specific language and the cross-lingual translations (introduced later). In this way, we investigate the abilities of the LLM backbone in understanding multilingual instructions and cross-lingual alignment.
103
+
104
+ Translation-following demonstrations Learning general instruction data is a sensible strategy for building models to solve multi-tasks directed by instructions (Wang et al., 2023; Zeng et al., 2023). However, translation data could contribute to learning semantic alignment. Zhang et al. (2023) showed that the translation performance of LLMs could be improved by using expertly annotated translation data, and Zhu et al. (2023) showed that it could be beneficial for instruction-tuning.
105
+
106
+ Inspired by Zhu et al. (2023), we use publicly available sentence-level translation datasets, such as news Commentary (Tiedemann, 2012), to construct the translation task instruction demonstrations. We also propose extending this to additional languages, which we release as an open-source dataset. In particular, for each specific language, we constructed 20k demonstrations. Hence, following the Alpaca style (Instruction, Input, and Output) (see Figure 1), we randomly selected 10k English to non-English translations and 10k random non-English to English translations (all translations come from news commentary). We have constructed these correspondences for the languages mentioned above in Section 3.1. Figure 2 shows a case of Translation-following for English-German direction (en-de) and vice versa (de-en).
107
+
108
+ # 4 Experiments
109
+
110
+ In order to observe the English and non-English abilities of Large Language Models (LLMs) and the impact of the Instruction-tuning approach in cross-lingual scenarios, we propose CrossAlpaca. Our approach is based on instruction-tuning on
111
+
112
+ ![](images/14c6bd50518b7dad6a053ed9076ed641c959d0781773a676e56ce2d278bfd5ee.jpg)
113
+
114
+ ![](images/2307526836f0fcee0a0a3e4889ec62229154f0fed6fa8c2f2202bb61cfd60840.jpg)
115
+
116
+ ![](images/7779c4f54976419118b8e6f202bfe60808a9c74554d0c25a2d2682e01cdd6559.jpg)
117
+ Figure 3: Evaluation results on proposed benchmarks. The dotted line represents the performance of the original Alpaca (Taori et al., 2023) on English tasks.
118
+
119
+ ![](images/b7b4db4804e084e1cbac624dc9cc564401c2a46611542b195046a0b9f7d6b947.jpg)
120
+
121
+ language-specific data augmented with a crosslingual semantic alignment. Hence, we set several baseline models (Section 4.1), which we augmented with our CrossAlpaca approach (Section 4.2). Finally, we performed a series of systematic evaluations (Section 4.3.1) to observe the impact of the proposed intervention.
122
+
123
+ # 4.1 Baseline Instruction-tuned LLMs
124
+
125
+ The common denominator among the It-LLMs shown in Table 1 is the LLM backbone, LLaMA7B (Touvron et al., 2023). Starting from Instruction-following data from the original Alpaca (Taori et al., 2023) and its open-source non-English versions $^{2}$ , we reproduced $x$ -Alpaca for $x$ specific languages: Chinese (zh), Italian (it), Arabic (ar), Spanish (es), German (de) and the original English version (en).
126
+
127
+ # 4.2 Cross-lingual Instruction-tuned LLMs
128
+
129
+ The CrossAlpacas are instruction-tuned on Instruction-following and Translation-following demonstrations (CrossAlpacas demonstrations). The first ones stem from the resources introduced in Section 4.1. The second comes from
130
+
131
+ news COMMENTary (Tiedemann, 2012).
132
+
133
+ Our approach generates a series of instruction-tuned versions of the data shown in Figure 1. We have named the versions $x$ -CrossAlpaca where $x$ denotes Chinese (zh), Arabic (ar), Italian (it), Spanish (es), and German (de).
134
+
135
+ # 4.3 Experimental Setup
136
+
137
+ In order to assess the performance of the CrossAlpaca, we defined several benchmarks (Section 4.3.1) on which we applied systematic tuning (Section 4.3.2) and evaluation (Section 4.3.3) pipelines.
138
+
139
+ # 4.3.1 Benchmarks
140
+
141
+ To evaluate the performance of the It-LLMs and the impact of the translation-based semantic alignment approach, we used two cross-lingual (XQUAD (Artetxe et al., 2019), MLQA (Lewis et al., 2020)) and two multi-task (MMLU (Hendrycks et al., 2021) and BBH (Suzgun et al., 2022)) benchmarks. XQUAD and MLQA focus on understanding questions and answers through translation into different languages. MMLU and BBH, being multi-task benchmarks, include subtasks related to Boolean expressions and QA on basic-level subjects (e.g., chemistry, physics). However, we decided to introduce them to observe whether our approach degrades performance in these tasks. The first two
142
+
143
+ datasets selected are appropriately constructed for multi-language testing, while the second two are available only in English. So we do a preliminary translation step as outlined below.
144
+
145
+ # MultiLingual Question Answering (MLQA)
146
+
147
+ (Lewis et al., 2020) evaluates cross-lingual question answering performance. The benchmark comprises over 5K extractive QA instances in the SQuAD (Rajpurkar et al., 2016) format in several languages. MLQA is highly parallel, with QA instances aligned across four languages on average. Although comprising different languages, some languages are not represented, such as Italian. To conduct the experiments uniformly, we have translated the examples as also done in the forthcoming MMLU and BBH.
148
+
149
+ Cross-lingual Question Answering Dataset (XQUAD) (Artetxe et al., 2019) consists of a subset of 240 paragraphs and 1190 question-answer pairs from the development set of SQuAD v1.1 (Rajpurkar et al., 2016) with their manual translations into several languages. Consequently, the dataset is entirely parallel across 11 languages.
150
+
151
+ Massive Multitask Language Understanding (MMLU) (Hendrycks et al., 2021) measures knowledge of the world and problem-solving problems in multiple subjects with 57 subjects across STEM, humanities, social sciences, and other areas. The benchmark is native in English; however, we translated it into five additional languages<sup>3</sup>.
152
+
153
+ BIG-Bench Hard (BBH) (Suzgun et al., 2022) is a subset of challenging tasks related to navigation, logical deduction, and fallacy detection. Here again, the benchmark is native English, and we have translated it into five languages<sup>3</sup>.
154
+
155
+ # 4.3.2 Models Setup
156
+
157
+ In order to align the results with the state-of-the-art models, we used the alpaca_LoRA (Hu et al., 2021b) code $^2$ , adopting the same hyperparameters.
158
+
159
+ We performed the fine-tuning with a single epoch and a batch-size of 128 examples, running our experiments on a workstation equipped with two Nvidia RTX A6000 with 48 GB of VRAM.
160
+
161
+ # 4.3.3 Evaluation
162
+
163
+ As an evaluation metric, we use accuracy. Hence, we estimate accuracy by measuring exact match values in the zero-shot setting. For each model, the parts of benchmarks related to the specific language are used (e.g., for zh-Alpaca and zh-CrossAlpaca, data from MLQA, XQUAD, MMLU, and BBH in Chinese are used).
164
+
165
+ # 5 Results
166
+
167
+ Improving non-English abilities in Instruction-tuned Large Language Models (It-LLMs) remains challenging. However, the $x$ -CrossAlpacas revealed improved results in cross-lingual Question Answering (QA) benchmarks and maintained logical-mathematical skills. From the results of Figure 3 (further detailed in Table 3), it is possible to observe the weaknesses emerging from the fine-tuning of the translated versions of Alpaca (Section 5.1), the improvement obtained from the alignment phase is encouraging (Section 5.2) but it is not enough to outperform the English one. Therefore, we investigated the impact of demonstrations on downstream performance (Section 5.3).
168
+
169
+ The fine-grained analysis highlighted the importance of cross-lingual alignment data and the critical issues with non-English data. This opens the way for new hypotheses regarding the imbalance of pre-training languages and learning abilities via instruction-tuning.
170
+
171
+ # 5.1 Translating the Alpaca is not the right way
172
+
173
+ The instruction-tuning on LLaMA, predominantly pre-trained in English, affects x-Alpaca. Figure 3 and in terms of numbers, Table 3 show that in both MLQA and XQUAD, there is a gap of 55 and 53 average points between en-Alpaca and the x-Alpacas. This phenomenon is mitigated for MMLU and BBH, where we observed an average gap of 18 and 14 points. Instructing an LLM on Alpaca-style demonstrations translated into different languages is not always a good strategy. However, some x-Alpacas, such as zh-Alpaca and de-Alpaca, have performed better. We hypothesize that this phenomenon is related to the scale of the pre-training data in the respective languages and, thus, the abilities of the LLaMA. In future developments, we plan to extend the study on other LLMs beyond LLaMA to observe whether the phenomenon is similar, milder, or more significant.
174
+
175
+ <table><tr><td>QA
176
+ Task</td><td>en-Alpaca</td><td>avg-Alpaca</td><td>avg-CrossAlpaca</td><td>δ</td></tr><tr><td>MLQA</td><td>0.89</td><td>0.34</td><td>0.64</td><td>+0.30</td></tr><tr><td>XQUAD</td><td>0.97</td><td>0.31</td><td>0.65</td><td>+0.30</td></tr><tr><td>MMLU</td><td>0.42</td><td>0.24</td><td>0.32</td><td>+0.08</td></tr><tr><td>BBH</td><td>0.30</td><td>0.24</td><td>0.28</td><td>+0.04</td></tr></table>
177
+
178
+ Table 2: Averages of the results on proposed benchmarks. The column $\delta$ indicates the difference between avg-Alpacas and our avg-CrossAlpacas.
179
+
180
+ # 5.2 CrossAlpaca: A cross-lingual solution
181
+
182
+ Semantic alignment through Translation-following demonstrations during fine-tuning could have a valuable impact on the cross-lingual abilities of It-LLMs. The $x$ -CrossAlpacas outperformed the x-Alpacas by 30 average points on MLQA, 34 average points on XQUAD, 8 on MMLU, and 4 on BBH (see Table 2 and more detailed in Table 3). They also brought their performances closer to the sota obtained from the original Alpaca by 25 points on MLQA and 22 average points on XQUAD. In MMLU and BBH, the gap became very close, with averages of 10 and 2 points (see Table 2 or the line 'en-Alpaca vs avg-CrossAlpaca' in Table 3).
183
+
184
+ Enriching Translation-following demonstrations has outstanding influences on the cross-lingual abilities of the It-LLMs. However, even in this case, Chinese and German models (zh- and de-CrossAlpaca) outperformed Arabic by many points and, in some specific cases, Spanish and Italian as well. This phenomenon, we hypothesize, is related to the diversity in corpus representation within the pre-training data, as shown in (Yang et al., 2023). Therefore, cross-lingual approaches do not have an incisive impact as in languages less present in the pre-training phases of the language model.
185
+
186
+ # 5.3 Ablation Study
187
+
188
+ Our CrossAlpacas, distinguished by the construction of the demonstrations pairs (Section 4.2), achieves significant performance improvements and contributes to closing the gap between the original Alpaca (en-Alpaca) and a series of x-Alpacas in different languages. In order to show the impact of enrichment with cross-lingual demonstrations, we propose two different analyses. In the first analysis, we incrementally decrease the training data, in particular on the Translation-following demonstrations side (Section 5.4). In the second, still working on the Translation-following part (defined by half en-x and half x-en demonstrations), we an
189
+
190
+ ![](images/a08f94c795058f3708498e8634dde81f022dcbb5670e723cfaf3da442e1a6342.jpg)
191
+
192
+ ![](images/161681fe38c2d95b24c8e37313135ddf3d4616b082402bf0274a128c9684f67d.jpg)
193
+ Figure 4: Evaluation of proposed benchmarks of the demonstrations used for instruction-tuning our CrossAlpacas.
194
+
195
+ alyze the impact of the demonstrations by splitting the experiments into en-x and x-en (Section 5.4.1).
196
+
197
+ # 5.4 Translation-following demonstrations empower non-English abilities.
198
+
199
+ Figure 4 (for a more extensive analysis please refer to Figure 6 in the Appendix) shows the non-English performance of the x-CrossAlpaca on the benchmarks under different scales of Translation-following demonstrations<sup>4</sup>. The x-CrossAlpacas achieve higher accuracy when more demonstrations are used, revealing the benefits of cross-lingual alignment to improve non-English performance. However, Translation-following demonstrations are built in two directions: x-en and en-x (foreign-English and English-foreign). Although equally distributed, we are still determining whether there is an asymmetry between the two types of contributions.
200
+
201
+ Finally, this result is less pronounced for the multi-task benchmarks (see Figure 6 MMLU and BBH). This could be related to the fact that in the benchmarks, there are logical-mathematical subtasks which are less language dependent (comparatively simpler syntax, smaller vocabularies), and hence, our cross-lingual approach does not influence the results for MLQA and XQUAD as
202
+
203
+ much. Furthermore, it is possible to observe a trend in language groups, particularly Chinese-German, Italian-Spanish, and Arabic. This trend, which recurs frequently in the results of our experiments, will be further investigated in future work.
204
+
205
+ ![](images/bfe2c307a8eced7305a024eef5b448dfe50ac3468bd0a2b7f826a6c8f7f8fa08.jpg)
206
+
207
+ ![](images/ee2382f505e4bd9f77f0855bbcee68ef9431fdc6bf8ef4c70df5db557eea9517.jpg)
208
+ Figure 5: Evaluation of proposed benchmarks using one-direction Translation-following demonstrations. For en-x for English-foreigner and x-en for foreign English.
209
+
210
+ # 5.4.1 Demonstration direction matters on non-English abilities
211
+
212
+ Figure 5 shows the evaluation conducted in varying directions of the translation-following demonstrations. In particular, demonstrations with English-foreign direction (en-x) better impact downstream models. Conversely, foreign-English (x-en) demonstrations perform better than baselines but underperform demonstrations in the opposite direction. However, as shown in Figure 5 (and complete Figure 7), the x-CrossAlpacas continue to outperform. Nevertheless, the trend of translation-following demonstrations with one direction is interesting. Again, as was the case in the previous ablation study, the multi-task benchmarks (see MMLU and BBH in Figure 7) do not seem to obtain significant influences, which reinforces the hypothesis that the models are greatly affected by cross-lingual capabilities in tasks where there is a strong presence of natural language.
213
+
214
+ # 6 Future Works
215
+
216
+ The cross-lingual abilities of Intruction-tuned Large Language Models (It-LLMs) seem to be supported by LLMs, such as in the case of Alpaca, the LLaMA backbone. However, it seems that low-impact demonstrations at the data level can enrich these abilities. We obtained valuable results from our experiments by proposing strategic demonstrations, i.e., Translation-following demonstrations. These results were proposed by performing fine-tuning on LLaMA-7B as done by Taori et al. (2023).
217
+
218
+ In future work, we would like to continue to investigate by increasing the number of parameters in LLaMA and including additional backbone models. In addition, it might be interesting to evaluate the impact on low-resource languages as done for in-context settings in (Ranaldi et al., 2024). Hence, we would like to get to the underside of performances obtained in some experiments (see Section 5.4) by extending previous epistemic approaches (Ranaldi et al., 2023a,c,b) to It-LLMs. In parallel, plans include analyzing the translation capabilities of general It-LLMs and those enhanced with translation tasks, including some specialized translation tasks among our evaluation benchmarks. Finally, we would like to investigate the learning abilities of the original Alpaca as the translation data change, proposing different probing experiments on (original) English data enhanced with translations.
219
+
220
+ # 7 Conclusion
221
+
222
+ In this paper, we proposed CrossAlpaca, an approach to empowering the instruction-tuning of LLMs on non-English data. Specifically, we coupled Instruction-following (Alpaca-style) demonstrations with Translation-following demonstrations. Our method seeks to instruct the LLM to semantic alignment between English and non-English overperforms models instructed on non-English texts. In particular, thanks to our CrossAlpaca demonstrations, the instructed models achieved significant performance improvements on four Question Answering benchmarks XQUAD, MLQA, MMLU, and BBH. In addition, we observe that semantic alignment strengthens with increasing Translation-following data; this demonstrates the de-facto abilities of It-LLMs to learn from instructions. Our approach and results contribute to improved research on the potential for producing more powerful LLMs for non-English languages.
223
+
224
+ # References
225
+
226
+ Julien Abadji, Pedro Ortiz Suarez, Laurent Romary, and Benoit Sagot. 2022. Towards a cleaner document-oriented multilingual crawled corpus. In Proceedings of the Thirteenth Language Resources and Evaluation Conference, pages 4344-4355, Marseille, France. European Language Resources Association.
227
+ Mikel Artetxe, Sebastian Ruder, and Dani Yogatama. 2019. On the cross-lingual transferability of monolingual representations. In Annual Meeting of the Association for Computational Linguistics.
228
+ Mikko Aulamo and Jörg Tiedemann. 2019. The OPUS resource repository: An open package for creating parallel corpora and machine translation services. In Proceedings of the 22nd Nordic Conference on Computational Linguistics, pages 389-394, Turku, Finland. Linköping University Electronic Press.
229
+ Terra Blevins and Luke Zettlemoyer. 2022. Language contamination helps explains the cross-lingual capabilities of english pretrained models. In Conference on Empirical Methods in Natural Language Processing.
230
+ 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.
231
+ Wei-Lin Chen, Cheng-Kuang Wu, and Hsin-Hsi Chen. 2023. Traditional-chinese alpaca: Models and datasets. https://github.com/ntunlplab/traditional-chinese-alpaca.
232
+ Yiming Cui, Ziqing Yang, and Xin Yao. 2023. Efficient and effective text encoding for chinese llama and alpaca.
233
+ Jesse Dodge, Maarten Sap, Ana Marasovic, William Agnew, Gabriel Ilharco, Dirk Groeneveld, Margaret Mitchell, and Matt Gardner. 2021. Documenting large webtext corpora: A case study on the colossal clean crawled corpus.
234
+ Leo Gao, Stella Biderman, Sid Black, Laurence Golding, Travis Hoppe, Charles Foster, Jason Phang, Horace He, Anish Thite, Noa Nabeshima, Shawn Presser, and Connor Leahy. 2020. The pile: An 800gb dataset of diverse text for language modeling.
235
+ Dan Hendrycks, Collin Burns, Steven Basart, Andy Zou, Mantas Mazeika, Dawn Song, and Jacob Steinhardt. 2021. Measuring massive multitask language understanding.
236
+
237
+ Edward J. Hu, Yelong Shen, Phillip Wallis, Zeyuan Allen-Zhu, Yuanzhi Li, Shean Wang, Lu Wang, and Weizhu Chen. 2021a. Lora: Low-rank adaptation of large language models.
238
+ Edward J. Hu, Yelong Shen, Phillip Wallis, Zeyuan Allen-Zhu, Yuanzhi Li, Shean Wang, Lu Wang, and Weizhu Chen. 2021b. Lora: Low-rank adaptation of large language models.
239
+ Haoyang Huang, Tianyi Tang, Dongdong Zhang, Wayne Xin Zhao, Ting Song, Yan Xia, and Furu Wei. 2023. Not all languages are created equal in llms: Improving multilingual capability by cross-lingual-thought prompting.
240
+ Ayyoob Imani, Peiqin Lin, Amir Hossein Kargaran, Silvia Severini, Masoud Jalili Sabet, Nora Kassner, Chunlan Ma, Helmut Schmid, André F. T. Martins, François Yvon, and Hinrich Schütze. 2023. Glot500: Scaling multilingual corpora and language models to 500 languages.
241
+ Kohaku-Blueleaf. 2023. Guanaco-lora: LoRA for trainin Multilingual Instruction-following LM based on LLaMA. https://huggingface.co/plncmm/guanaco-lora-7b.
242
+ Shibamouli Lahiri. 2014. Complexity of Word Collocation Networks: A Preliminary Structural Analysis. In Proceedings of the Student Research Workshop at the 14th Conference of the European Chapter of the Association for Computational Linguistics, pages 96-105, Gothenburg, Sweden. Association for Computational Linguistics.
243
+ Hang Le, Juan Miguel Pino, Changhan Wang, Jiatao Gu, Didier Schwab, and Laurent Besacier. 2021. Lightweight adapter tuning for multilingual speech translation. In Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics (ACL), pages 817-824. Association for Computational Linguistics.
244
+ Patrick Lewis, Barlas Oguz, Rudy Rinott, Sebastian Riedel, and Holger Schwenk. 2020. MLQA: Evaluating cross-lingual extractive question answering. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pages 7315-7330, Online. Association for Computational Linguistics.
245
+ Jiahuan Li, Hao Zhou, Shujian Huang, Shanbo Cheng, and Jiajun Chen. 2023. Eliciting the translation ability of large language models via multilingual finetuning with translation instructions.
246
+ Xiang Lisa Li and Percy Liang. 2021. Prefix-tuning: Optimizing continuous prompts for generation. In Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing (Volume 1: Long Papers), pages 4582-4597, Online. Association for Computational Linguistics.
247
+
248
+ Zehui Lin, Xiao Pan, Mingxuan Wang, Xipeng Qiu, Jiangtao Feng, Hao Zhou, and Lei Li. 2021. Pretraining multilingual neural machine translation by leveraging alignment information.
249
+ Xiao Liu, Kaixuan Ji, Yicheng Fu, Weng Tam, Zhengxiao Du, Zhilin Yang, and Jie Tang. 2022. P-tuning: Prompt tuning can be comparable to fine-tuning across scales and tasks. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 2: Short Papers), pages 61-68, Dublin, Ireland. Association for Computational Linguistics.
250
+ Yasmin Moslem, Rejwanul Haque, John D. Kelleher, and Andy Way. 2023. Adaptive machine translation with large language models.
251
+ 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.
252
+ Guilherme Penedo, Quentin Malartic, Daniel Hesslow, Ruxandra Cojocaru, Alessandro Cappelli, Hamza Alobeidli, Baptiste Pannier, Ebtesam Almazrouei, and Julien Launay. 2023. The refined web dataset for falcon llm: Outperforming curated corpora with web data, and web data only.
253
+ Giulia Pucci and Leonardo Ranaldi. 2024. Does the language matter? curriculum learning over neo-Latin languages. In Proceedings of the 2024 Joint International Conference on Computational Linguistics, Language Resources and Evaluation (LREC-COLING 2024), pages 5212-5220, Torino, Italia. ELRA and ICCL.
254
+ Pranav Rajpurkar, Jian Zhang, Konstantin Lopyrev, and Percy Liang. 2016. Squad: 100,000+ questions for machine comprehension of text.
255
+ Federico Ranaldi, Elena Sofia Ruzzetti, Felicia Logozzo, Michele Mastromattei, Leonardo Ranaldi, and Fabio Massimo Zanzotto. 2023a. Exploring linguistic properties of monolingual berts with typological classification among languages.
256
+ Leonardo Ranaldi and Andre Freitas. 2024. Aligning large and small language models via chain-of-thought reasoning. In Proceedings of the 18th Conference of the European Chapter of the Association for Computational Linguistics (Volume 1: Long Papers), pages 1812-1827, St. Julian's, Malta. Association for Computational Linguistics.
257
+ Leonardo Ranaldi, Aria Nourbakhsh, Elena Sofia Ruzzetti, Arianna Patrizi, Dario Onorati, Michele Mastromattei, Francesca Fallucchi, and Fabio Massimo Zanzotto. 2023b. The dark side of the language: Pre-trained transformers in the DarkNet. In Proceedings of the 14th International Conference on Recent
258
+
259
+ Advances in Natural Language Processing, pages 949-960, Varna, Bulgaria. INCOMA Ltd., Shoumen, Bulgaria.
260
+ Leonardo Ranaldi and Giulia Pucci. 2023a. Does the English matter? elicit cross-lingual abilities of large language models. In Proceedings of the 3rd Workshop on Multi-lingual Representation Learning (MRL), pages 173–183, Singapore. Association for Computational Linguistics.
261
+ Leonardo Ranaldi and Giulia Pucci. 2023b. Knowing knowledge: Epistemological study of knowledge in transformers. Applied Sciences, 13(2).
262
+ Leonardo Ranaldi, Giulia Pucci, Federico Ranaldi, Elena Sofia Ruzzetti, and Fabio Massimo Zanzotto. 2024. Empowering multi-step reasoning across languages via tree-of-thoughts.
263
+ Leonardo Ranaldi, Elena Sofia Ruzzetti, Davide Venditti, Dario Onorati, and Fabio Massimo Zanzotto. 2023c. A trip towards fairness: Bias and de-biasing in large language models.
264
+ Andrea Santilli and Emanuele Rodola. 2023. Camoscio: an italian instruction-tuned llama.
265
+ Mohammad Shoeybi, Mostofa Ali Patwary, Raul Puri, Patrick LeGresley, Jared Casper, and Bryan Catanzaro. 2019. Megatron-LM: Training multi-billion parameter language models using model parallelism. ArXiv, abs/1909.08053.
266
+ Mirac Suzgun, Nathan Scales, Nathanael Scharli, Sebastian Gehrmann, Yi Tay, Hyung Won Chung, Aakanksha Chowdhery, Quoc V Le, Ed H Chi, Denny Zhou, , and Jason Wei. 2022. Challenging big-bench tasks and whether chain-of-thought can solve them. arXiv preprint arXiv:2210.09261.
267
+ Marc Tanti, Lonneke van der Plas, Claudia Borg, and Albert Gatt. 2021. On the language-specificity of multilingual bert and the impact of fine-tuning.
268
+ 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.
269
+ Ian Tenney, Dipanjan Das, and Ellie Pavlick. 2019. BERT rediscovers the classical NLP pipeline. In Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics, pages 4593-4601, Florence, Italy. Association for Computational Linguistics.
270
+ Martin Thissen. 2023. Fine-tune alpaca for any language. https://github.com/thisserand/alpaca-lora-finetune-language.
271
+ Jörg Tiedemann. 2012. Parallel data, tools and interfaces in OPUS. In Proceedings of the Eighth International Conference on Language Resources and Evaluation (LREC'12), pages 2214-2218, Istanbul,
272
+
273
+ Turkey. European Language Resources Association (ELRA).
274
+ Hugo Touvron, Thibaut Lavril, Gautier Izacard, Xavier Martinet, Marie-Anne Lachaux, Timothee Lacroix, Baptiste Roziere, Naman Goyal, Eric Hambro, Faisal Azhar, Aurelien Rodriguez, Armand Joulin, Edouard Grave, and Guillaume Lample. 2023. Llama: Open and efficient foundation language models.
275
+ 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.
276
+ Jason Wei, Maarten Bosma, Vincent Y. 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.
277
+ Canwen Xu, Daya Guo, Nan Duan, and Julian McAuley. 2023. Baize: An open-source chat model with parameter-efficient tuning on self-chat data. arXiv preprint arXiv:2304.01196.
278
+ Wen Yang, Chong Li, Jiajun Zhang, and Chengqing Zong. 2023. Bigtranslate: Augmenting large language models with multilingual translation capability over 100 languages.
279
+ Yasbok. Alpaca Instruction Fine-Tuning for Arabic. https://huggingface.co/Yasbok.
280
+ Jiali Zeng, Fandong Meng, Yongjing Yin, and Jie Zhou. 2023. Tim: Teaching large language models to translate with comparison.
281
+ Shaolei Zhang, Qingkai Fang, Zhuocheng Zhang, Zhengrui Ma, Yan Zhou, Langlin Huang, Mengyu Bu, Shangtong Gui, Yunji Chen, Xilin Chen, and Yang Feng. 2023. Bayling: Bridging cross-lingual alignment and instruction following through interactive translation for large language models.
282
+ Wenhao Zhu, Yunzhe Lv, Qingxiu Dong, Fei Yuan, Jingjing Xu, Shujian Huang, Lingpeng Kong, Jiajun Chen, and Lei Li. 2023. Extrapolating large language models to non-english by aligning languages.
283
+ Yukun Zhu, Ryan Kiros, Rich Zemel, Ruslan Salakhutdinov, Raquel Urtasun, Antonio Torralba, and Sanja Fidler. 2015. Aligning books and movies: Towards story-like visual explanations by watching movies and reading books. In The IEEE International Conference on Computer Vision (ICCV).
284
+
285
+ A Appendix
286
+
287
+ <table><tr><td></td><td>Model</td><td>MLQA</td><td>XQUAD</td><td>MMLU</td><td>BBH</td></tr><tr><td></td><td>en-Alpaca</td><td>0.89</td><td>0.87</td><td>0.42</td><td>0.30</td></tr><tr><td rowspan="5">Alpaca</td><td>zh-Alpaca</td><td>0.48</td><td>0.38</td><td>0.26</td><td>0.25</td></tr><tr><td>ar-Alpaca</td><td>0.17</td><td>0.16</td><td>0.18</td><td>0.20</td></tr><tr><td>it-Alpaca</td><td>0.35</td><td>0.32</td><td>0.21</td><td>0.25</td></tr><tr><td>es-Alpaca</td><td>0.32</td><td>0.33</td><td>0.19</td><td>0.24</td></tr><tr><td>de-Alpaca</td><td>0.36</td><td>0.39</td><td>0.24</td><td>0.25</td></tr><tr><td></td><td>avg-Alpaca</td><td>0.34</td><td>0.31</td><td>0.24</td><td>0.24</td></tr><tr><td rowspan="5">CrossAlpaca</td><td>zh-CrossAlpaca</td><td>0.70</td><td>0.69</td><td>0.36</td><td>0.28</td></tr><tr><td>ar-CrossAlpaca</td><td>0.56</td><td>0.60</td><td>0.25</td><td>0.25</td></tr><tr><td>it-CrossAlpaca</td><td>0.64</td><td>0.65</td><td>0.28</td><td>0.27</td></tr><tr><td>es-CrossAlpaca</td><td>0.65</td><td>0.64</td><td>0.28</td><td>0.28</td></tr><tr><td>de-CrossAlpaca</td><td>0.64</td><td>0.67</td><td>0.32</td><td>0.29</td></tr><tr><td></td><td>avg-CrossAlpaca</td><td>0.64</td><td>0.65</td><td>0.32</td><td>0.28</td></tr><tr><td></td><td>en-Alpaca vs avg-Alpaca</td><td>0.34(-0.55)</td><td>0.31(-0.56)</td><td>0.24(-0.18)</td><td>0.24(-0.06)</td></tr><tr><td></td><td>en-Alpaca vs avg-CrossAlpaca</td><td>0.64(-0.25)</td><td>0.65(-0.22)</td><td>0.32(-0.10)</td><td>0.28(-0.20)</td></tr><tr><td></td><td>avg-CrossAlpaca vs avg-Alpaca</td><td>(+0.30)</td><td>(+0.34)</td><td>(+0.08)</td><td>(+0.04)</td></tr></table>
288
+
289
+ Table 3: Evaluation results on proposed benchmarks. The avg- lines are the averages of x-Alpacas and x-CorssAlpacas. The last three lines indicate the comparisons between en-Alpaca. The last line indicates the comparisons between avg-Alpacas and avg-CrossAlpacas.
290
+
291
+ B Appendix
292
+
293
+ <table><tr><td>Language</td><td>Alpaca</td><td>MLQA</td><td>XQUAD</td><td>MMLU</td><td>BBH</td><td>News/commentary</td></tr><tr><td>Arabic</td><td>x</td><td>x</td><td>x</td><td>-</td><td>-</td><td>x</td></tr><tr><td>Chinese</td><td>x</td><td>x</td><td>x</td><td>-</td><td>-</td><td>x</td></tr><tr><td>English</td><td>x</td><td>x</td><td>x</td><td>x</td><td>x</td><td>x</td></tr><tr><td>German</td><td>x</td><td>x</td><td>x</td><td>-</td><td>-</td><td>x</td></tr><tr><td>Greek</td><td>-</td><td>x</td><td>x</td><td>-</td><td>-</td><td>x</td></tr><tr><td>Hindi</td><td>x</td><td>x</td><td>x</td><td>-</td><td>-</td><td>x</td></tr><tr><td>Italian</td><td>x</td><td>-</td><td>-</td><td>x</td><td>x</td><td>x</td></tr><tr><td>Russian</td><td>x</td><td>x</td><td>x</td><td>-</td><td>-</td><td>x</td></tr><tr><td>Spanish</td><td>x</td><td>x</td><td>x</td><td>-</td><td>-</td><td>x</td></tr><tr><td>Turkish</td><td>x</td><td>-</td><td>x</td><td>-</td><td>-</td><td>-</td></tr><tr><td>Vietnamese</td><td>-</td><td>x</td><td>x</td><td>-</td><td>-</td><td>-</td></tr></table>
294
+
295
+ Table 4: List of available state-of-the-art resources.
296
+
297
+ ![](images/95b2576b4f00518064c21a463161694c253da331496aa0f224304cff16647117.jpg)
298
+ C Appendix
299
+
300
+ ![](images/97e188ad7570aa8e4c8d091a81fc470daae5c534cea96487512ff9d81aad08bf.jpg)
301
+
302
+ ![](images/43ed6c5e9c2d6d92547db2ea9bfa863bdb6642ab0aacbf2a9931aca7a2573578.jpg)
303
+ Figure 6: Evaluation of all proposed benchmarks of the demonstrations used for instruction-tuning our CrossAlpacas.
304
+
305
+ ![](images/a275604db23ecc34bfac52ad45e2279e361a3693d98de3a571a3ee324bcb7d1e.jpg)
306
+
307
+ ![](images/c5ccce64f4266f9b341fdd9b793ea081c0f51cff55dced769c3f2f4cce303d12.jpg)
308
+ D Appendix
309
+
310
+ ![](images/3f986813402f6745ae4a46f0d55f1f2eb512387b0bf7e536193d91f199e31a3f.jpg)
311
+
312
+ ![](images/7cd59f68ce3891a7d078cecc93fa5f0d4f1244504d22ebed5f2b327b8db5e8c7.jpg)
313
+ Figure 7: Evaluation of all proposed benchmarks using one-direction Translation-following demonstrations. For en-x for English-foreigner and x-en for foreign English. With the red cross, we indicate the results of the x-Alpaca standards, and with the green diamond, the results of our x-CrossAlpaca.
314
+
315
+ ![](images/2d2056d9b83128c5ae6440a8bd75de06f61e2bb4b874c5122cfe93559b72a19a.jpg)
2024/Empowering cross-lingual abilities of instruction-tuned large language models by translation-following demonstrations/images.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:016d1e7026e117b82824701bc49792889ebebb7b981e1b3bc153a41e37f09654
3
+ size 500993
2024/Empowering cross-lingual abilities of instruction-tuned large language models by translation-following demonstrations/layout.json ADDED
The diff for this file is too large to render. See raw diff
 
2024/Encoding Hierarchical Schema via Concept Flow for Multifaceted Ideology Detection/5e9641cb-740e-48d6-bdd3-e4eca45bddbc_content_list.json ADDED
The diff for this file is too large to render. See raw diff
 
2024/Encoding Hierarchical Schema via Concept Flow for Multifaceted Ideology Detection/5e9641cb-740e-48d6-bdd3-e4eca45bddbc_model.json ADDED
The diff for this file is too large to render. See raw diff
 
2024/Encoding Hierarchical Schema via Concept Flow for Multifaceted Ideology Detection/5e9641cb-740e-48d6-bdd3-e4eca45bddbc_origin.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9ce8f3ed3a8d0f5da751186c4693463f38011fbb8d457492a998bcb578800a0f
3
+ size 744785
2024/Encoding Hierarchical Schema via Concept Flow for Multifaceted Ideology Detection/full.md ADDED
@@ -0,0 +1,479 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Encoding Hierarchical Schema via Concept Flow for Multifaceted Ideology Detection
2
+
3
+ Songtao Liu $^{1}$ , Bang Wang $^{1,*}$ , Wei Xiang $^{2}$ , Han Xu $^{3}$ and Minghua Xu $^{3,*}$
4
+
5
+ $\{^1$ School of Electronic Information and Communications,
6
+
7
+ $^{2}$ School of Software Engineering,
8
+
9
+ $^{3}$ School of Journalism and Information Communication\},
10
+
11
+ Huazhong University of Science and Technology, Wuhan, China
12
+
13
+ {liusongtao, wangbang, xiangwei, xuh, xuminghua}@hust.edu.cn
14
+
15
+ # Abstract
16
+
17
+ Multifaceted ideology detection (MID) aims to detect the ideological leanings of texts towards multiple facets. Previous studies on ideology detection mainly focus on one generic facet and ignore label semantics and explanatory descriptions of ideologies, which are a kind of instructive information and reveal the specific concepts of ideologies. In this paper, we develop a novel concept semantics-enhanced framework for the MID task. Specifically, we propose a bidirectional iterative concept flow (BICo) method to encode multifaceted ideologies. BICo enables the concepts to flow across levels of the schema tree and enriches concept representations with multi-granularity semantics. Furthermore, we explore concept attentive matching and concept-guided contrastive learning strategies to guide the model to capture ideology features with the learned concept semantics. Extensive experiments on the benchmark dataset show that our approach achieves state-of-the-art performance in MID, including in the cross-topic scenario. $^{1}$
18
+
19
+ # 1 Introduction
20
+
21
+ Multifaceted ideology detection (MID) aims to identify the ideological leanings (e.g., Left, Center, Right, etc.) expressed in texts towards multiple facets, as shown in Figure 1. It is crucial for understanding public opinion and detecting potential extremism (Kannangara, 2018; Grover and Mark, 2019; Demszky et al., 2019), which is helpful for governments and cybersecurity organizations (Stefanov et al., 2020; Aldera et al., 2021). It can also facilitate downstream research and applications in social sciences (Kabir and Madria, 2022).
22
+
23
+ In most of related work, researches generally focus on modeling the text content with diversified cues, such as sentiment polarities (Bhatia and P,
24
+
25
+ ![](images/5cc4f86365a128c7f365501802b034057382b1e82fb713af6f09758f0b377107.jpg)
26
+
27
+ ![](images/2188c931700d950b1799325610cba1ae822215f3cd0f566d392c98f2a7879f4b.jpg)
28
+
29
+ ![](images/b896a87c6c5574930fafe8139a7d8aea2b9626d83c1882cfec5b8e5bf9813ff6.jpg)
30
+ Figure 1: Upper: the multifaceted ideology schema and concepts of facets and ideologies (Liu et al., 2023). Lower left: the tree-like hierarchical structure of the schema. Lower right: an example of MID. "L" denotes Left, "R" denotes Right.
31
+
32
+ ![](images/f3b38d09630387dd1be8f01748d7329c83db9ab93277664c37565264ec859300.jpg)
33
+
34
+ 2018; Kabir and Madria, 2022), named entities (Liu et al., 2022), and discourse structure (Devatine et al., 2023; Hong et al., 2023), or jointly learning with other related tasks (Baly et al., 2019). There are also approaches that incorporate information sources beyond text to facilitate ideology mining. Hyperlink structure (Kulkarni et al., 2018), social networks (Stefanov et al., 2020; Li and Goldwasser, 2021), external knowledge from knowledge graphs (Zhang et al., 2022) as well as information from other modalities (Qiu et al., 2022), are introduced in the task of ideology detection.
35
+
36
+ Although achieving promising performance, those methods limit the ideology prediction to a generic facet. In other words, they only label a text as ideologically left- or right-leaning as a whole, regardless whether the text containing one or more different facets. Furthermore, they ignore a crucial clue, label semantics, that is, what exactly does an ideology mean? In this case, ideological categories are represented as one-hot vectors without any semantic information, and models can only rely on
37
+
38
+ the training data distribution to analyze latent ideology features, which could be unfavorable for the generalization ability of models (Wang et al., 2021; Wen and Hauptmann, 2023).
39
+
40
+ So how can we effectively detect multifaceted ideologies? And what exactly does an ideology mean? Liu et al. (2023) propose the multifaceted ideology detection task for the first time and design a multifaceted ideology schema which contains 12 facets covering 5 domains in a tree-like hierarchical structure (see Figure 1, details in Appendix A). Each facet, as well as the ideological attributes under each facet, are defined using natural texts, which can be regarded as concepts. These concepts describe the meaning of facets and ideologies, thus making it natural to represent the label semantics. In addition, in the hierarchical schema, higher-level concepts (like Domain and Facet) have general semantics shared by their child concepts, while lower-level concepts (like Ideology and Facet) describe their parents from various views, which can be seen as the semantic divisions of higher-level concepts. This meaningful hierarchical structure can be utilized to enrich the concept semantics.
41
+
42
+ Based on the motivation above, to incorporate the concept semantics and leverage the hierarchical structure of the schema in MID, we propose a novel Bidirectional Iterative Concept Flow (BICo) method to encode the hierarchical schema. Specifically, BICo allows concepts to flow in two directions on the schema tree, enabling them to perceive both high-level general semantics and low-level specific perspectives. On the one hand, inspired by the relation rotation in complex space (Sun et al., 2018), we design Concept Metapath Diffusion to perform message passing from root to leaf. On the other hand, in the direction of leaf to root, we propose Concept Hierarchy Aggregation to aggregate concept semantics in lower levels to the ones in higher levels based on the parent-child relation. Concept flow in the two directions is iterated multiple times and the final concept representations are enriched by multi-granularity semantics. For example, the Facet representations capture the meanings of different ideologies in the corresponding facet, while the Ideology representations also perceive information about the Facet and Domain they belong to. We match the text and Facet representations based on the attention mechanism to recognize text-related facets. Furthermore, we explore a Concept-Guided Contrastive Learning strategy to learn more distinguishable text representations
43
+
44
+ under the guidance of Ideology concepts.
45
+
46
+ The main contributions of our work are summarized as follows:
47
+
48
+ (1) We propose a concept semantics-enhanced MID framework. To our best knowledge, this is the first work that incorporates label semantics and explanatory descriptions in the MID task.
49
+ (2) We propose a Bidirectional Iterative Concept Flow (BICo) method to encode the hierarchical schema. Concepts flow on the schema tree in two directions iteratively to capture multi-granularity concept semantics.
50
+ (3) We design Concept Attentive Matching and Concept-Guided Contrastive Learning strategies to enable the model to extract ideology features with the help of concept semantics.
51
+ (4) Extensive experiments on the MITweet benchmark demonstrate the effectiveness of our approach, including in the cross-topic scenario.
52
+
53
+ # 2 Task Description
54
+
55
+ Given an input text and a set of facets, Multi-faceted Ideology Detection (MID) is divided into two sub-tasks: (1) Relevance Recognition aims to recognize the facets that the text is related to; (2) Ideology Analysis predicts which ideology the text holds towards the related facets. Formally, a sample instance can be considered as a triple $\left(x,\{y_R^i\}_{i = 1}^n,\{y_I^i\}_{i = 1}^m\right)$ , where $x$ is the input text, $y_{R}^{i}\in \{\text{Related, Unrelated}\}$ represents the relevance label of $i$ -th facet, $n$ is the number of given facets. For each facet that the text is related to, we have an ideology label $y_{I}^{i}\in \{\text{Left, Center, Right}\}$ , $m$ is the number of related facets.
56
+
57
+ # 3 Approach
58
+
59
+ In this section, we first introduce the proposed Bidirectional Iterative Concept Flow (BICo) for encoding the hierarchical schema, and then discuss how we augment multifaceted ideology detection based on the learned concept encodings. Figure 2 illustrates the overall structure of our model.
60
+
61
+ # 3.1 Bidirectional Iterative Concept Flow
62
+
63
+ # 3.1.1 Concept Hierarchy Tree
64
+
65
+ Liu et al. (2023) define the first hierarchical schema of multifaceted ideology, which contains 12 facets covering 5 domains. We construct a concept hierarchy tree $T = (N,E)$ based on the schema, as shown in Figure 2. The node set $N$ contains four types of nodes, i.e., Root, Domain, Facet and
66
+
67
+ ![](images/6baa03f36b7cfd44a15f25c43091fb2ce9b22afd1f8ac46c75ca150458416a79.jpg)
68
+ Figure 2: Overview of our concept-enhanced multifaceted ideology detection framework. The blue box in the middle shows the proposed bidirectional iterative concept flow (BICo), which includes root-to-leaf concept metapath diffusion and leaf-to-root concept hierarchy aggregation. The concept representations are enriched gradually by bidirectional iteration, and are then used to enhance the two subtasks of MID through concept attentive matching and concept-guided contrastive learning.
69
+
70
+ Ideology. The edge set $E$ indicates the subordination relation between nodes. The Ideology, or leaf, nodes represent the three ideologies (Left, Center, Right) of each facet.
71
+
72
+ To initialize node embeddings in the concept hierarchy tree, we leverage the concepts of facets and ideologies in the schema. Specifically, we adopt a pre-trained language model as the concept encoder and feed the concepts of facets and ideologies in the schema into the encoder. We then extract the hidden state of [CLS] token as initial representations of Facet and Ideology nodes, i.e., $\mathbf{h}_F$ and $\mathbf{h}_I$ . For Root and Domain nodes, we obtain their initial embeddings $(\mathbf{h}_R$ and $\mathbf{h}_D)$ by average-pooling their child node embeddings.
73
+
74
+ # 3.1.2 Concept Metapath Diffusion
75
+
76
+ In the concept hierarchy tree, higher-level nodes (like Root and Domain) have general and abstract concepts, which are shared by their child nodes and could be beneficial for enriching the representations of lower-level nodes (like Ideology and Facet). In order to allow lower-level nodes to perceive higher-level abstract semantics, we adopt the relation rotation in complex space (Sun et al., 2018), which is effective for information transfer along edges in a sequential structure.
77
+
78
+ Specifically, we define concept metapath as a path from root to leaf (Root - Domain - Facet - Ideology). Given node representations in a metapath $(\mathbf{h}_R,\mathbf{h}_D,\mathbf{h}_F,\mathbf{h}_I) = (\mathbf{h}_0,\mathbf{h}_1,\mathbf{h}_2,\mathbf{h}_3)$ , let $\mathbf{r}_i$ be the representation of edge between node $h_i$ and $h_{i + 1}$ , the concept metapath diffusion from root to leaf through relation rotation is formulated as:
79
+
80
+ $$
81
+ \mathbf {o} _ {0} = \mathbf {h} _ {0} ^ {\prime} = \mathbf {h} _ {0} \tag {1}
82
+ $$
83
+
84
+ $$
85
+ \mathbf {h} _ {i} ^ {\prime} = \mathbf {h} _ {i} + \mathbf {h} _ {i - 1} ^ {\prime} \odot \mathbf {r} _ {i - 1} \tag {2}
86
+ $$
87
+
88
+ $$
89
+ \mathbf {o} _ {i} = \frac {\mathbf {h} _ {i} ^ {\prime}}{i + 1} \tag {3}
90
+ $$
91
+
92
+ where $\mathbf{h}_i$ , $\mathbf{r}_i$ and $\mathbf{o}_i$ are all complex vectors, $\mathbf{o}_i$ is the updated embedding, $\odot$ is the element-wise complex product and performs vector rotation in complex space. Here we can easily interpret a real vector of dimension $d$ as a complex vector of dimension $d/2$ by treating the first half of the vector as the real part and the second half as the imaginary part. We perform concept diffusion on all metapaths in the tree and $\mathbf{r}_i$ is shared between each two consecutive levels of nodes. Note that in relation rotation, edges represent the rotation angles of vectors in complex space. Therefore, $\mathbf{r}_i$ is first randomly initialized in the range of $(- \pi, \pi)$ , and then its real and imaginary parts are obtained
93
+
94
+ by the Euler's formula.
95
+
96
+ # 3.1.3 Concept Hierarchy Aggregation
97
+
98
+ In contrast to metapath diffusion, concept hierarchy aggregation enables concept flow from leaf to root. In the concept hierarchy tree, child nodes describe their parent node from different views, and thus can be regarded as more fine-grained concepts. Through concept hierarchy aggregation, we aggregate concept semantics of child nodes to their parent node, so as to enrich the representations of higher-level nodes.
99
+
100
+ We utilize the graph attention network (GAT), which aggregates features through attention mechanism in a graph. Considering the characteristics of concept hierarchy tree, we modify it to explicitly model the hierarchical structure and quantitatively measure the compatibility between hierarchies in the tree. Specifically, we only establish aggregation between the parent node and its own child nodes, which is different from aggregating over all one-hop neighbors in GAT. Additionally, we use different attention parameters at different levels to distinguish the aggregation features of each hierarchy.
101
+
102
+ Formally, for a parent node $p$ with embedding $\mathbf{h}_p$ , we compute an aggregation weight for each child node $i$ and then weighted sum all child nodes' embeddings:
103
+
104
+ $$
105
+ e _ {p i} = \text {L e a k y R e L U} \left(\mathbf {A} _ {l} \left(\mathbf {h} _ {p} \| \mathbf {h} _ {i}\right)\right) \tag {4}
106
+ $$
107
+
108
+ $$
109
+ \alpha_ {p i} = \frac {\exp \left(e _ {p i}\right)}{\sum_ {j \in \mathcal {C} _ {p} \cup \{p \}} \exp \left(e _ {p j}\right)} \tag {5}
110
+ $$
111
+
112
+ $$
113
+ \mathbf {h} _ {p} ^ {\prime} = \sigma \left(\sum_ {i \in \mathcal {C} _ {p} \cup \{p \}} \alpha_ {p i} \mathbf {h} _ {i}\right) \tag {6}
114
+ $$
115
+
116
+ where $\mathbf{A}_l$ is the learnable parameter for aggregation of nodes in level $l$ , $\mathcal{C}_p$ is the child node set of $p$ , $\mathbf{h}_p^{\prime}$ is the updated representation for $p$ .
117
+
118
+ # 3.1.4 Bidirectional Iteration
119
+
120
+ The root-to-leaf metapath diffusion and leaf-to-root hierarchy aggregation are iterated multiple times to update node encodings. Finally, The new generated concept representations can be fully aware of higher-level general semantics and constructed with concepts from different aspects. Next we will enhance the MID task with the enriched Facet and Ideology representations, $\mathbf{c}_F$ and $\mathbf{c}_I$ .
121
+
122
+ # 3.2 Concept-Enhanced MID
123
+
124
+ # 3.2.1 Text Encoder
125
+
126
+ We select a pre-trained language model as the text encoder. In the subtask of Relevance Recognition, the encoder processes input sequence and outputs a hidden representation for each token: $\mathbf{X} = \{\mathbf{x}_i\}_{i=1}^L$ , where $L$ is the length of text. For Ideology Analysis, we concatenate the text and its related facet concept, and then feed the sequence into text encoder to acquire the hidden state of [CLS] as text representation $\mathbf{t}$ .
127
+
128
+ # 3.2.2 Concept Attentive Matching
129
+
130
+ In Relevance Recognition subtask, to enable the text to be aware of label semantics (i.e., Facet concepts) and measure the importance of each token in relevance feature extraction, we adopt the cross-attention mechanism (Vaswani et al., 2017) to match the Facet and input token representations:
131
+
132
+ $$
133
+ \mathbf {t} ^ {i} = \operatorname {s o f t m a x} \left(\frac {\mathbf {c} _ {F} ^ {i} \mathbf {X} ^ {T}}{\sqrt {d}}\right) \mathbf {X} \tag {7}
134
+ $$
135
+
136
+ where $d$ is the dimension of vectors in the equation, the superscript $i$ represents $i$ -th facet, $\mathbf{c}_F^i$ is $i$ -th facet representation and $\mathbf{t}^i$ is $i$ -th facet-aware text representation.
137
+
138
+ # 3.2.3 Concept-Guided Contrastive Learning
139
+
140
+ To inject label semantics (i.e., Ideology concepts) into Ideology Analysis subtask, we further explore a Concept-Guided Contrastive Learning strategy (CGCL), which tries to make intra-ideology representations more compact in the feature space and inter-ideology ones more distinguishable with the ideology concepts as anchors. The motivation is that ideology concepts describe the general meaning of ideologies. In the embedding space, this property can be interpreted as clustering, where an ideology concept anchor is the semantic center of samples with that ideological category.
141
+
142
+ Specifically, given text representations $\mathcal{B} = \{\mathbf{t}_i\}_{i=1}^B$ in a batch ( $B$ is the batch size), and three Ideology representations $\mathcal{A} = \{\mathbf{c}_{I,L}, \mathbf{c}_{I,C}, \mathbf{c}_{I,R}\}$ (corresponding to Left, Center and Right respectively) which will be used as concept anchors in the vector space, the concept-guided contrastive
143
+
144
+ loss is formulated as:
145
+
146
+ $$
147
+ \begin{array}{l} \mathcal {L} _ {C G C L} = \frac {1}{3} \sum_ {i \in \{L, C, R \}} \mathcal {L} _ {i} (8) \\ \mathcal {L} _ {i} = \log \frac {\sum_ {j \in \{j \mid y _ {I , j} = i \}} \exp \left(f \left(\mathbf {c} _ {I , i} , \mathbf {t} _ {j}\right) / \tau\right)}{\sum_ {\mathbf {v} \in \mathcal {B} \cup \mathcal {A} \backslash \{c _ {I , i} \}} \exp \left(f \left(\mathbf {c} _ {I , i} , \mathbf {v}\right) / \tau\right)} (9) \\ \end{array}
148
+ $$
149
+
150
+ where $y_{I,j}$ is the ideology label of $\mathbf{t}_j$ , $f$ is the cosine similarity function, $\tau$ is temperature parameter. Note that $\mathcal{L}_{CGCL}$ is computed for each facet, and we omit the facet superscript for clarity.
151
+
152
+ # 3.2.4 Classification and Training
153
+
154
+ Considering the varying ideology features among different facets, we set up a classification head with a softmax function for each facet in both subtasks:
155
+
156
+ $$
157
+ y ^ {i} = \operatorname {s o f t m a x} \left(\mathbf {W} ^ {i} \mathbf {t} ^ {i} + \mathbf {b} ^ {i}\right) \tag {10}
158
+ $$
159
+
160
+ where the superscript $i$ represents $i$ -th facet, $\mathbf{W}^i$ and $\mathbf{b}^i$ are trainable parameters.
161
+
162
+ Note that in Relevance Recognition, we also incorporate contrastive learning (CL), which is similar to the concept-guided CL in Sec. 3.2.3, but the anchors here are text representations themselves:
163
+
164
+ $$
165
+ \mathcal {L} _ {C L} = - \frac {1}{B} \sum_ {i = 1} ^ {B} \log \frac {\sum_ {j \in \mathcal {B} _ {i}} \exp \left(f \left(\mathbf {t} _ {i} , \mathbf {t} _ {j}\right) / \tau\right)}{\sum_ {k \in \{k \mid i \neq k \}} \exp \left(f \left(\mathbf {t} _ {i} , \mathbf {t} _ {k}\right) / \tau\right)} \tag {11}
166
+ $$
167
+
168
+ where $\mathbf{t}_i$ is the facet-aware text representation, $\mathcal{B}_i = \{j|i\neq j,y_{R,i} = y_{R,j}\}$ $y_{R,i}$ is the relevance label of $\mathbf{t}_i$ $B$ is the batch size, $\tau$ is temperature parameter. Here $\mathcal{L}_{CL}$ is also computed for each facet, and we omit the facet superscript for clarity.
169
+
170
+ Finally, the training loss of both subtasks is the weighted sum of cross-entropy classification loss and contrastive learning loss across all facets:
171
+
172
+ $$
173
+ \mathcal {L} = \frac {1}{n} \sum_ {i = 1} ^ {n} \left(\mathcal {L} _ {C E} ^ {i} + \lambda \mathcal {L} _ {C L} ^ {i}\right) \tag {12}
174
+ $$
175
+
176
+ where $\mathcal{L}_{CE}^{i}$ is the cross-entropy loss of $i$ -th facet, $\lambda$ is a hyper-parameter controlling the weight of contrastive loss, $n$ is the total number of facets.
177
+
178
+ # 4 Experiments
179
+
180
+ # 4.1 Dataset and Evaluation Metrics
181
+
182
+ We conduct experiments on the MITweet (Liu et al., 2023) dataset, which contains 12,594 English tweets and covers 14 highly controversial topics in
183
+
184
+ recent years. Each instance in MITweet is annotated with a relevance label and an ideology label (if the relevance label is “Related”) for each of the 12 facets in the multifaceted ideology schema. The statistics of MITweet is shown in Table 6.
185
+
186
+ We follow the original training/validation/test split and use the same evaluation metrics as Liu et al. (2023). First we calculate the Accuracy (Acc) and F1 score for each facet. Then we utilize both Macro and Micro methods to integrate metrics from all facets to obtain overall results of model performance. Macro-F1 and Macro-Acc are calculated by averaging F1 and Acc across all facets. Micro-F1 and Micro-Acc are the aggregated F1 and Acc scores obtained by concatenating the predictions of all facets. Note that, following existing work, we only report F1-related metrics for Relevance Recognition due to the highly imbalanced data distribution in this subtask.
187
+
188
+ # 4.2 Implement Details
189
+
190
+ The pre-trained BERTweet-base (Nguyen et al., 2020) is used as the concept and text encoder, and the two encoders share weights as this gave better results in preliminary experiments. We train the Relevance Recognition model and the Ideology Analysis model independently. Each model includes the BICo module and is trained end-to-end. We use AdamW (Loshchilov and Hutter, 2018) as the optimizer. The learning rate is set to 2e-5. The batch size $B$ is set to 64. The iteration number of BICo is set to 4 for relevance recognition and 2 for ideology analysis. For contrastive loss, we set the temperature parameter $\tau$ to 0.5 for relevance recognition and 0.1 for ideology analysis. The contrastive loss weight $\lambda$ is set to 0.3 for both subtasks. The classification head is a two-layer fully connected network, in which the hidden size is 512. The above parameters are selected based on the validation set. We report the average results of 5 runs with different random seeds.
191
+
192
+ # 4.3 Comparison Models
193
+
194
+ We compare our approach with the latest benchmark in the MID task, BERTweetInd (Liu et al., 2023), which uses BERTweet as the backbone and detects indicator words from training set as the textual descriptions of facets. In addition, we test the zero/few-shot performance of advanced large language models (LLMs) in this task. Specifically, we select two popular LLMs, LLaMA2 (Touvron
195
+
196
+ <table><tr><td>Model</td><td>Macro-F1</td><td>Micro-F1</td><td>Macro-Acc</td><td>Micro-Acc</td></tr><tr><td colspan="5">Subtask 1: Relevance Recognition</td></tr><tr><td>BERTweetInd</td><td>57.48</td><td>70.32</td><td>-</td><td>-</td></tr><tr><td>LLaMA2-13B°</td><td>27.45</td><td>32.28</td><td>-</td><td>-</td></tr><tr><td>ChatGPT°</td><td>33.11</td><td>40.07</td><td>-</td><td>-</td></tr><tr><td>LLaMA2-13B△</td><td>29.35</td><td>38.17</td><td>-</td><td>-</td></tr><tr><td>ChatGPT△</td><td>38.83</td><td>44.78</td><td>-</td><td>-</td></tr><tr><td>Our approach</td><td>59.22†</td><td>72.14†</td><td>-</td><td>-</td></tr><tr><td>w/o CL</td><td>58.56</td><td>71.42</td><td>-</td><td>-</td></tr><tr><td>w/o BICo</td><td>58.14</td><td>70.41</td><td>-</td><td>-</td></tr><tr><td>w/o CL&amp;BICo</td><td>57.85</td><td>70.42</td><td>-</td><td>-</td></tr><tr><td colspan="5">Subtask 2: Ideology Analysis</td></tr><tr><td>BERTweetInd</td><td>42.68</td><td>69.28</td><td>65.88</td><td>76.38</td></tr><tr><td>LLaMA2-13B°</td><td>35.60</td><td>47.33</td><td>45.98</td><td>49.69</td></tr><tr><td>ChatGPT°</td><td>37.11</td><td>53.41</td><td>48.57</td><td>57.95</td></tr><tr><td>LLaMA2-13B△</td><td>38.51</td><td>47.22</td><td>46.13</td><td>48.90</td></tr><tr><td>ChatGPT△</td><td>42.64</td><td>60.54</td><td>58.44</td><td>68.25</td></tr><tr><td>Our approach</td><td>47.32†</td><td>70.90†</td><td>66.79</td><td>78.60†</td></tr><tr><td>w/o BICo</td><td>46.02</td><td>68.58</td><td>66.18</td><td>76.63</td></tr><tr><td>w/o Concept anchors</td><td>45.08</td><td>68.38</td><td>66.04</td><td>77.30</td></tr><tr><td>w/o CGCL</td><td>44.21</td><td>67.54</td><td>65.15</td><td>76.79</td></tr></table>
197
+
198
+ Table 1: Overall results of different models and ablation study. $\circ$ and $\bigtriangleup$ denote 0-shot and 3-shot,respectively. † denotes the significance test over BERTweetInd at p-value<0.05. Bold values are the best results in the corresponding subtask.
199
+
200
+ et al., 2023) and ChatGPT $^2$ , which exhibit superior capacities in communicating with humans, including solving a wide range of complex tasks without further training. We use the Llama-2-13b-chat and gpt-3.5-turbo-1106 versions. The prompts designed for LLMs can be found in Appendix B.
201
+
202
+ We also provide variants of our proposed approach in the ablation study:
203
+
204
+ - Relevance Recognition
205
+
206
+ (1) "w/o CL" denotes without contrastive learning.
207
+ (2) "w/o BICo" denotes without bidirectional iterative concept flow, in which case the facet representations in Concept Attentive Matching are directly from the concept encoder.
208
+ (3) "w/o CL&BICo" denotes the combination of the above two cases.
209
+
210
+ - Ideology Analysis
211
+
212
+ (1) "w/o BICo" denotes without bidirectional iterative concept flow. In this case, the concept anchors (i.e., ideology representations) are directly
213
+
214
+ from the concept encoder.
215
+
216
+ (2) "w/o concept anchors" denotes performing the contrastive learning without the guidance of concept anchors, i.e., the anchors are text representations themselves, which is the case of Eq. (11).
217
+ (3) "w/o CGCL" denotes discarding the concept-guided contrastive learning.
218
+
219
+ # 4.4 Main Results
220
+
221
+ We present the overall results of our approach and other models in Table 1. First, we can observe that our concept-enhanced method performs consistently better than other baseline models, including the advanced large language models, indicating the superiority of our approach for the MID task. Second, compared with BERTweetInd, which is also a BERTweet-based model, our approach achieves significant improvements in both subtasks. This suggests that the application of concept semantics in the hierarchical schema helps the model to capture the correlation between text and labels, thus improving the performance. Third, for the LLMs, although ChatGPT performs better than LLaMA2-13B, and the few in-context demonstrations improve the results, there is still a large gap between LLMs and other task-specific models. This indicates that the MID task remains challenging for current LLMs. One possible reason is that, this task requires not only strong text understanding and semantic reasoning abilities, but also the integration of specialized sociological knowledge and background information on relevant topics, which is difficult for general-purpose LLMs.
222
+
223
+ In more detail, F1 scores of different models on each facet are shown in Table 2. In the subtask of Relevance Recognition, our approach achieves the best results on 10 out of 12 facets, surpassing the second-place by over 4 points on 4 facets (PoR, EE, DS, SD). This again demonstrates the effectiveness of our concept-enhanced framework in the MID task. However, on the facets of CSR and CV, our approach is inferior to BERTweetInd, especially on CSR. We think this is likely because there are too few related samples in CSR (as shown in Table 6), and our method uses a separate classification head for each facet, resulting in even more insufficient training for CSR. Although this issue affects the results, it is only an edge case. The two LLMs still perform poorly, especially on PoR, SS and CV. By analyzing the responses generated by LLMs, we find that LLMs are more likely to ignore or generalize the definitions in prompts on these facets.
224
+
225
+ <table><tr><td>Model</td><td>PoR</td><td>SS</td><td>EO</td><td>EE</td><td>EP</td><td>CSR</td><td>CV</td><td>DS</td><td>MF</td><td>SD</td><td>JO</td><td>PeR</td></tr><tr><td colspan="13">Subtask 1: Relevance Recognition</td></tr><tr><td>BERTweetInd</td><td>46.92</td><td>32.71</td><td>71.05</td><td>63.29</td><td>82.26</td><td>35.04</td><td>19.52</td><td>62.73</td><td>85.99</td><td>44.07</td><td>75.55</td><td>70.71</td></tr><tr><td>LLaMA2-13B△</td><td>3.33</td><td>9.41</td><td>31.30</td><td>20.48</td><td>47.23</td><td>5.19</td><td>4.33</td><td>30.82</td><td>56.42</td><td>26.32</td><td>56.06</td><td>61.34</td></tr><tr><td>ChatGPT△</td><td>6.48</td><td>10.45</td><td>54.27</td><td>37.33</td><td>53.04</td><td>10.27</td><td>7.96</td><td>47.02</td><td>78.87</td><td>33.52</td><td>63.92</td><td>62.79</td></tr><tr><td>Our approach</td><td>52.63†</td><td>33.33†</td><td>71.65†</td><td>67.98†</td><td>83.00</td><td>31.58</td><td>19.35</td><td>66.80†</td><td>86.59†</td><td>50.55†</td><td>76.16†</td><td>70.98†</td></tr><tr><td colspan="13">Subtask 2: Ideology Analysis</td></tr><tr><td>BERTweetInd</td><td>24.40</td><td>27.59</td><td>52.26</td><td>41.25</td><td>52.43</td><td>49.93</td><td>43.37</td><td>57.00</td><td>48.39</td><td>43.92</td><td>36.55</td><td>35.04</td></tr><tr><td>LLaMA2-13B△</td><td>37.23</td><td>44.47</td><td>52.28</td><td>36.97</td><td>45.56</td><td>44.81</td><td>29.60</td><td>41.60</td><td>29.87</td><td>39.90</td><td>33.47</td><td>26.40</td></tr><tr><td>ChatGPT△</td><td>24.44</td><td>43.91</td><td>50.79</td><td>43.73</td><td>54.06</td><td>33.33</td><td>51.59</td><td>52.92</td><td>33.03</td><td>36.03</td><td>41.95</td><td>45.87</td></tr><tr><td>Our approach</td><td>33.16†</td><td>45.18†</td><td>50.25</td><td>61.70†</td><td>59.65†</td><td>35.56</td><td>49.31†</td><td>62.35†</td><td>47.25</td><td>45.10†</td><td>37.10</td><td>41.24†</td></tr></table>
226
+
227
+ For the Ideology Analysis subtask, the baseline models achieve the best or second-best result on some facets. Nevertheless, our approach ranks in the top two on 10 out of 12 facets and shows overall superior performance.
228
+
229
+ # 4.5 Ablation Study
230
+
231
+ We conduct ablation studies to inspect the importance of major components in our model and the results are reported in Table 1. It is clear that the removal of either one of the modules causes a drop in performance. The Micro-F1 decreases by 1.73 and 2.32 points on the two subtasks, respectively, when BICo is removed, which validates that it is important to further model the schema hierarchy and concept interactions on top of the concept encoder. BICo iteratively performs concept diffusion and aggregation on the hierarchy tree, and the updated concept representations are enriched by higher-level general semantics and lower-level concrete perspectives, which are helpful for the model to understand the deep meaning of facet and ideology labels.
232
+
233
+ In Ideology Analysis, the removal of concept anchors leads to noticeable performance degradation. This suggests that relying solely on text content to identify ideology is insufficient, and injecting label semantics can guide the model to capture ideology features and distinguish among different ideologies more accurately, so as to improve the performance of MID. Moreover, the results of "w/o CL" in Relevance Recognition and "w/o CGCL" in Ideology Analysis verify the effectiveness of contrastive learning strategies in two subtasks.
234
+
235
+ We also conduct ablation study for the modules of Concept Metapath Diffusion and Concept Hierar-
236
+
237
+ Table 2: F1 scores of different models on each facet. † denotes the significance test over BERTweetInd at p-value<0.05. △ denotes 3-shot. Bold and underlined values are the best and second-best results in the subtask, respectively. Full names of 12 facets in the first row can be found in Appendix A.
238
+
239
+ <table><tr><td rowspan="2">Test Topics</td><td rowspan="2">Model</td><td>Relevance Recognition</td><td colspan="2">Ideology Analysis</td></tr><tr><td>Micro-F1</td><td>Micro-Acc</td><td>Micro-F1</td></tr><tr><td rowspan="4">CHR&amp;GF</td><td>BERTweetInd</td><td>59.60</td><td>70.20</td><td>52.41</td></tr><tr><td>LLaMA2-13B</td><td>28.29</td><td>56.79</td><td>44.22</td></tr><tr><td>ChatGPT</td><td>36.20</td><td>69.70</td><td>51.87</td></tr><tr><td>Our approach</td><td>61.00†</td><td>72.43†</td><td>54.76†</td></tr><tr><td rowspan="4">BLM&amp;Dm</td><td>BERTweetInd</td><td>54.69</td><td>80.64</td><td>58.89</td></tr><tr><td>LLaMA2-13B</td><td>31.90</td><td>58.93</td><td>46.27</td></tr><tr><td>ChatGPT</td><td>39.54</td><td>73.45</td><td>54.09</td></tr><tr><td>Our approach</td><td>62.88†</td><td>83.31†</td><td>61.04†</td></tr></table>
240
+
241
+ Table 3: Cross-topic results of different models. CHR means Capitol Hill Riot, GF means George Floyd, BLM means Black Lives Matter, Dm means Democracy. † denotes the significance test over BERTweetInd at p-value<0.05. Bold values are the best results in the corresponding test topics.
242
+
243
+ chy Aggregation in BICo. The results are presented in Appendix C.
244
+
245
+ # 4.6 Cross-Topic Generalization
246
+
247
+ In our approach, label concepts are incorporated to enhance the model and they are enriched by multi-granularity concepts from different levels in the hierarchical schema through BICo. Intuitively, concepts provide a general description of a label. Therefore, our model should have better generalization to new topics with the help of concept semantics. To validate this viewpoint, we test and compare the cross-topic generalization ability of different models.
248
+
249
+ In the cross-topic scenario, the models are trained on some topics and then tested on the rest topics. To reduce randomness, we conduct experiments on two sets of test topics and the results
250
+
251
+ ![](images/efddb35871281d95e499e2dfe9aada2879beb68712ebbdfde3454bb2c72847f1.jpg)
252
+ (a) w/o CGCL
253
+
254
+ ![](images/941af308eb7ef15d66cb845b82a7e28afad70b4a72f01d4e8cf0fcf324871f97.jpg)
255
+ (b) w/ CL
256
+
257
+ ![](images/83418b8cc9b3337eb751e95fb0c38e0626bb05212f25558472ff9b081fe5dd89.jpg)
258
+ (c) w/ CGCL
259
+
260
+ ![](images/d28a65b1f785487c729fde7057b249ae2efd3296a60498cef291bb7183e1578f.jpg)
261
+ Figure 3: T-SNE visualization of text representations learned by different model variants in the Ideology Analysis subtask. CGCL denotes our Concept-Guided Contrastive Learning. CL denotes the Contrastive Learning without concept anchors. Red, green and blue dots represent Left, Center and Right samples, respectively.
262
+
263
+ ![](images/0a8c9b3fd21651b93c6b91a79b973099134fd513179e58cf7028347f602e540d.jpg)
264
+ Figure 4: Results of different numbers of iterations.
265
+
266
+ are shown in Table 3. It can be observed that our approach consistently outperforms other models in both subtasks, which verifies that our approach can better generalize the learning ability to deal with cross-topic scenarios. LLMs lag behind other models by a significant margin. This shows that task-specific models still have advantages even in cross-topic scenarios. However, for the test topics of CHR&GF, ChatGPT performs closely to task-specific models in the Ideology Analysis subtask, indicating that ChatGPT may have practical value in specific cross-topic scenarios.
267
+
268
+ # 4.7 Effect of Number of Iterations
269
+
270
+ To analyze the effect of using different numbers of iterations in BICo, we conduct experiments on both subtasks and present the results in Figure 4. We can observe a clear upward and then downward trend in model performance as the number of iter
271
+
272
+ tions increases. The optimal number of iterations for Relevance Recognition is 4 and for Ideology Analysis is 2. One possible reason for this trend is that, when the number of iterations is too small, the concept diffusion and aggregation are insufficient, and the concept representations do not fully perceive the semantics of different granularities in the hierarchical structure. In contrast, when the number of iterations is too large, there will be redundancy in information transfer, and the semantic features of the concept itself will be lost.
273
+
274
+ # 4.8 Visualization
275
+
276
+ To qualitatively examine the role of label semantics (concept anchors) in the concept-guided contrastive learning, we randomly select a facet (Diplomatic Strategy) and show the t-SNE projections of text representations from test set in Figure 3. As observed, for the case of "w/o CGCL", all samples are almost scattered without separations. There is a similar but better distribution for the model trained with CL. While for our CGCL (i.e., the full model), instances are well clustered by labels with only a slight overlap and the concept anchors are approximately cluster centers. This confirms that concept representations learned from BICo guide the model to better distinguish among different ideologies in the embedding space, which is helpful for subsequent classification.
277
+
278
+ # 5 Related Work
279
+
280
+ Ideology Detection This task detects the ideology of texts in a generic facet. Many studies rely on text analysis techniques and try to leverage various textual cues (Bhatia and P, 2018; Baly et al., 2019, 2020; Chen et al., 2020; Kabir and Madria,
281
+
282
+ 2022; Liu et al., 2022; Kim and Johnson, 2022; Devatine et al., 2023; Hong et al., 2023; Chen et al., 2023). In addition to text content, social networks (Li and Goldwasser, 2019; Stefanov et al., 2020; Xiao et al., 2020; Li and Goldwasser, 2021), external knowledge (Kulkarni et al., 2018; Zhang et al., 2022) and multimodal information (Dinkov et al., 2019; Qiu et al., 2022) are utilized to identify the ideology of online texts.
283
+
284
+ Multifaceted Ideology Detection Considering that some texts may contain descriptions of different issues and reflect the author's ideology from various aspects, some recent work study ideology detection on multiple facets. Sinno et al. (2022) investigate the political ideology of news articles from three facets, social, economic and foreign. Liu et al. (2023) first propose the MID task and design the first multifaceted ideology schema which defines 5 domains and 12 facets in a hierarchical structure. They also manually annotate a high-quality MITweet dataset and build baselines for MID. We follow Liu et al. (2023) and introduce label semantics into models through encoding the hierarchical schema.
285
+
286
+ # 6 Conclusion
287
+
288
+ In this paper, we have proposed a concept semantics-enhanced framework for the MID task. We have also designed a novel bidirectional iterative concept flow method to capture multi-granularity concept semantics. Moreover, we have explored concept attentive matching and concept-guided contrastive learning strategies to enable the model to extract ideology features with the help of concept semantics. Experiment results have validated the superiority of our approach.
289
+
290
+ # Acknowledgement
291
+
292
+ This work is supported in part by Major Project of National Social Science Foundation of China: "AI and Precise International Communication" (Grant No. 22&ZD317) and National Natural Science Foundation of China (Grant No. 62172167). The computation is supported by the HPC Platform of Huazhong University of Science and Technology.
293
+
294
+ # Limitations
295
+
296
+ - Following Liu et al. (2023), we divide multifaceted ideology detection into two subtasks in a pipeline manner. However, this modeling approach increases the computational cost in
297
+
298
+ both training and inference stages. In addition, error propagation in this pipeline mode is also a problem that cannot be ignored. We will investigate how to solve this task in an end-to-end manner in future work.
299
+
300
+ - While we attempt to tune the concepts defined in the schema to better fit our approach, we are constrained by computational resources and time, so we directly adopt the concepts in the schema. Although these concepts are representative, there may be better ones that could lead to better performance.
301
+
302
+ # Ethical Considerations
303
+
304
+ We carry out this work and conduct the experiments in accordance with the general ethics in social science research. The proposed concept-enhanced framework could automatically detect the multifaceted ideology of given texts, which is helpful for policy-makers and social statisticians. However, the algorithm is not perfect and may make incorrect predictions. Therefore, researches should realize the potential harm from the misuse of the ideology detection system, and cannot rely solely on the system to make judgments.
305
+
306
+ # References
307
+
308
+ Saja Aldera, Ahmad Emam, Muhammad Al-Qurishi, Majed Alrubaian, and Abdulrahman Alothaim. 2021. Online extremism detection in textual content: a systematic literature review. IEEE Access, 9:42384-42396.
309
+ Ramy Baly, Giovanni Da San Martino, James Glass, and Preslav Nakov. 2020. We can detect your bias: Predicting the political ideology of news articles. In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP), pages 4982-4991, Online. Association for Computational Linguistics.
310
+ Ramy Baly, Georgi Karadzhov, Abdelrhman Saleh, James Glass, and Preslav Nakov. 2019. Multi-task ordinal regression for jointly predicting the trustworthiness and the leading political ideology of news media. 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 2109-2116, Minneapolis, Minnesota. Association for Computational Linguistics.
311
+ Sumit Bhatia and Deepak P. 2018. Topic-specific sentiment analysis can help identify political ideology.
312
+
313
+ In Proceedings of the 9th Workshop on Computational Approaches to Subjectivity, Sentiment and Social Media Analysis, pages 79-84, Brussels, Belgium. Association for Computational Linguistics.
314
+ Chen Chen, Dylan Walker, and Venkatesh Saligrama. 2023. Ideology prediction from scarce and biased supervision: Learn to disregard the "what" and focus on the "how!" In Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 9529-9549, Toronto, Canada. Association for Computational Linguistics.
315
+ Wei-Fan Chen, Khalid Al Khatib, Henning Wachsmuth, and Benno Stein. 2020. Analyzing political bias and unfairness in news articles at different levels of granularity. In Proceedings of the Fourth Workshop on Natural Language Processing and Computational Social Science, pages 149-154, Online. Association for Computational Linguistics.
316
+ Dorottya Demszky, Nikhil Garg, Rob Voigt, James Zou, Jesse Shapiro, Matthew Gentzkow, and Dan Jurafsky. 2019. Analyzing polarization in social media: Method and application to tweets on 21 mass shootings. 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 2970-3005, Minneapolis, Minnesota. Association for Computational Linguistics.
317
+ Nicolas Devatine, Philippe Muller, and Chloé Braud. 2023. An integrated approach for political bias prediction and explanation based on discursive structure. In *Findings of the Association for Computational Linguistics: ACL* 2023, pages 11196-11211, Toronto, Canada. Association for Computational Linguistics.
318
+ Yoan Dinkov, Ahmed Ali, Ivan Koychev, and Preslav Nakov. 2019. Predicting the leading political ideology of youtube channels using acoustic, textual, and metadata information.
319
+ Ted Grover and Gloria Mark. 2019. Detecting potential warning behaviors of ideological radicalization in an alt-right subreddit. In Proceedings of the International AAAI Conference on Web and Social Media, volume 13, pages 193-204.
320
+ Jiwoo Hong, Yejin Cho, Jiyoung Han, Jaemin Jung, and James Thorne. 2023. Disentangling structure and style: Political bias detection in news by inducing document hierarchy. In Findings of the Association for Computational Linguistics: EMNLP 2023, pages 5664-5686, Singapore. Association for Computational Linguistics.
321
+ Md Yasin Kabir and Sanjay Madria. 2022. A deep learning approach for ideology detection and polarization analysis using Covid-19 tweets. In International Conference on Conceptual Modeling, pages 209-223. Springer.
322
+
323
+ Sandeepa Kannangara. 2018. Mining twitter for fine-grained political opinion polarity classification, ideology detection and sarcasm detection. In Proceedings of the Eleventh ACM International Conference on Web Search and Data Mining, pages 751-752.
324
+ Michelle YoungJin Kim and Kristen Marie Johnson. 2022. CLoSE: Contrastive learning of subframe embeddings for political bias classification of news media. In Proceedings of the 29th International Conference on Computational Linguistics, pages 2780-2793, Gyeongju, Republic of Korea. International Committee on Computational Linguistics.
325
+ Vivek Kulkarni, Junting Ye, Steve Skiena, and William Yang Wang. 2018. Multi-view models for political ideology detection of news articles. In Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing, pages 3518-3527, Brussels, Belgium. Association for Computational Linguistics.
326
+ Chang Li and Dan Goldwasser. 2019. Encoding social information with graph convolutional networks for Political perspective detection in news media. In Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics, pages 2594-2604, Florence, Italy. Association for Computational Linguistics.
327
+ Chang Li and Dan Goldwasser. 2021. Using social and linguistic information to adapt pretrained representations for political perspective identification. In Findings of the Association for Computational Linguistics: ACL-IJCNLP 2021, pages 4569-4579, Online. Association for Computational Linguistics.
328
+ Songtao Liu, Ziling Luo, Minghua Xu, Lixiao Wei, Ziyao Wei, Han Yu, Wei Xiang, and Bang Wang. 2023. Ideology takes multiple looks: A high-quality dataset for multifaceted ideology detection. In Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing, pages 4200-4213, Singapore. Association for Computational Linguistics.
329
+ Yujian Liu, Xinliang Frederick Zhang, David Wegsman, Nicholas Beauchamp, and Lu Wang. 2022. POLITICS: Pretraining with same-story article comparison for ideology prediction and stance detection. In Findings of the Association for Computational Linguistics: NAACL 2022, pages 1354-1374, Seattle, United States. Association for Computational Linguistics.
330
+ Ilya Loshchilov and Frank Hutter. 2018. Decoupled weight decay regularization. In International Conference on Learning Representations.
331
+ Dat Quoc Nguyen, Thanh Vu, and Anh Tuan Nguyen. 2020. BERTweet: A pre-trained language model for English tweets. In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing: System Demonstrations, pages 9-14, Online. Association for Computational Linguistics.
332
+
333
+ Changyuan Qiu, Winston Wu, Xinliang Frederick Zhang, and Lu Wang. 2022. Late fusion with triplet margin objective for multimodal ideology prediction and analysis. In Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing, pages 9720-9736, Abu Dhabi, United Arab Emirates. Association for Computational Linguistics.
334
+
335
+ Barea Sinno, Bernardo Oviedo, Katherine Atwell, Malihe Alikhani, and Junyi Jessy Li. 2022. Political ideology and polarization: A multi-dimensional approach. In Proceedings of the 2022 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pages 231-243, Seattle, United States. Association for Computational Linguistics.
336
+
337
+ Peter Stefanov, Kareem Darwish, Atanas Atanasov, and Preslav Nakov. 2020. Predicting the topical stance and political leaning of media using tweets. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pages 527-537, Online. Association for Computational Linguistics.
338
+
339
+ Zhiqing Sun, Zhi-Hong Deng, Jian-Yun Nie, and Jian Tang. 2018. Rotate: Knowledge graph embedding by relational rotation in complex space. In International Conference on Learning Representations.
340
+
341
+ Hugo Touvron, Louis Martin, Kevin Stone, Peter Albert, Amjad Almahairi, Yasmine Babaei, Nikolay Bashlykov, Soumya Batra, Prajjwal Bhargava, Shruti Bhosale, et al. 2023. Llama 2: Open foundation and fine-tuned chat models. arXiv preprint arXiv:2307.09288.
342
+
343
+ 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.
344
+
345
+ Xuepeng Wang, Li Zhao, Bing Liu, Tao Chen, Feng Zhang, and Di Wang. 2021. Concept-based label embedding via dynamic routing for hierarchical text classification. 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 5010-5019, Online. Association for Computational Linguistics.
346
+
347
+ Haoyang Wen and Alexander Hauptmann. 2023. Zero-shot and few-shot stance detection on varied topics via conditional generation. In Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics (Volume 2: Short Papers), pages 1491-1499, Toronto, Canada. Association for Computational Linguistics.
348
+
349
+ Zhiping Xiao, Weiping Song, Haoyan Xu, Zhicheng Ren, and Yizhou Sun. 2020. Timme: Twitter ideology-detection via multi-task multi-relational embedding. In Proceedings of the 26th ACM SIGKDD
350
+
351
+ International Conference on Knowledge Discovery & Data Mining, KDD '20, page 2258-2268, New York, NY, USA. Association for Computing Machinery.
352
+
353
+ Wenqian Zhang, Shangbin Feng, Zilong Chen, Zhenyu Lei, Jundong Li, and Minnan Luo. 2022. KCD: Knowledge walks and textual cues enhanced political perspective detection in news media. In Proceedings of the 2022 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pages 4129-4140, Seattle, United States. Association for Computational Linguistics.
354
+
355
+ # A Multifaceted Ideology Schema
356
+
357
+ We present the multifaceted ideology schema in Table 4. Concepts of facets and ideologies defined in the schema can be found in Liu et al. (2023). Note that the original schema does not give the concepts of "Center", so we define them based on the concepts of "Left" and "Right", as follows:
358
+
359
+ # A.1 Domain 1: Politics
360
+
361
+ # - Political Regime (PoR)
362
+
363
+ Center: A moderate stance advocating for a mix of public and private ownership, seeking a balanced approach to property control and means of production.
364
+
365
+ # - State Structure (SS)
366
+
367
+ Center: A moderate stance advocating for a balanced power structure, combining elements of central authority and power distribution.
368
+
369
+ # A.2 Domain 2: Economy
370
+
371
+ # - Economic Orientation (EO)
372
+
373
+ Center: A moderate stance advocating for combining government intervention in important economic decisions with the role of individuals, organizations, and market interactions.
374
+
375
+ # - Economic Equality (EE)
376
+
377
+ Center: A moderate position advocating for an economic system that balances equal treatment and access to resources with considerations for distribution outcomes among different groups.
378
+
379
+ # A.3 Domain 3: Culture
380
+
381
+ # - Ethical Pursuit (EP)
382
+
383
+ Center: The mainstream culture should consider individual freedoms and cultural norms while promoting inclusivity dialogue on controversial issues.
384
+
385
+ <table><tr><td>Domain</td><td>Facet</td><td>Left</td><td>Right</td></tr><tr><td rowspan="2">Politics</td><td>Political Regime (PoR)</td><td>Socialism</td><td>Capitalism</td></tr><tr><td>State Structure (SS)</td><td>Centralism</td><td>Federalism</td></tr><tr><td rowspan="2">Economy</td><td>Economic Orientation (EO)</td><td>Command Economy</td><td>Market Economy</td></tr><tr><td>Economic Equality (EE)</td><td>Outcome Equality</td><td>Opportunity Equality</td></tr><tr><td rowspan="3">Culture</td><td>Ethical Pursuit (EP)</td><td>Ethical Liberalism</td><td>Ethical Conservatism</td></tr><tr><td>Church-State Relations (CSR)</td><td>Secularism</td><td>Caesaropapism</td></tr><tr><td>Cultural Value (CV)</td><td>Collectivism</td><td>Individualism</td></tr><tr><td rowspan="2">Diplomacy</td><td>Diplomatic Strategy (DS)</td><td>Globalism</td><td>Isolationism</td></tr><tr><td>Military Force (MF)</td><td>Militarism</td><td>Pacifism</td></tr><tr><td rowspan="3">Society</td><td>Social Development (SD)</td><td>Revolutionism</td><td>Reformism</td></tr><tr><td>Justice Orientation (JO)</td><td>Result Justice</td><td>Procedural Justice</td></tr><tr><td>Personal Right (PeR)</td><td>Social Responsibility</td><td>Individual Right</td></tr></table>
386
+
387
+ Table 4: Multifaceted ideology schema (Liu et al., 2023).
388
+
389
+ # - Church-State Relations (CSR)
390
+
391
+ Center: A moderate position advocating for a balanced and cooperative relationship between the church and state, respecting both religious autonomy and the principles of secular governance.
392
+
393
+ # - Cultural Value (CV)
394
+
395
+ Center: A moderate stance that recognizes the importance of both social collectives and individual autonomy in shaping and preserving a diverse and inclusive society.
396
+
397
+ # A.4 Domain 4: Diplomacy
398
+
399
+ # - Diplomatic Strategy (DS)
400
+
401
+ Center: A moderate position that balances international cooperation and national interests, recognizing the value of engagement while cautiously managing political and economic entanglements with other countries.
402
+
403
+ # - Military Force (MF)
404
+
405
+ Center: A moderate stance that recognizes the need for armed defense and security while prioritizing non-violent resolution for conflicts.
406
+
407
+ # A.5 Domain 5: Society
408
+
409
+ # - Social Development (SD)
410
+
411
+ Center: A moderate position that advocates combining direct action when necessary with a recognition of the value of gradual and sustainable change to achieve social goals.
412
+
413
+ # - Justice Orientation (JO)
414
+
415
+ Center: A moderate stance that seeks a balance between fair distribution and fair decision-making, considering both the outcomes and procedure of justice.
416
+
417
+ # - Personal Right (PeR)
418
+
419
+ Center: A moderate position that recognizes the importance of both fulfilling individual responsibilities and protecting individual rights in an equitable manner.
420
+
421
+ # B Prompts for LLMs
422
+
423
+ The prompt templates designed for LLMs in two subtasks are as follows. We fill the templates with the facet names and definitions in the multifaceted ideology schema. In few-shot experiments, we provide LLMs with a few in-context demonstrations, which are manually selected for each facet to ensure diversity. We also provide a brief analysis as chain-of-thought for each demonstration. In zero-shot experiments, the demonstrations in the prompts will be removed.
424
+
425
+ # B.1 Relevance Recognition
426
+
427
+ # - System prompt
428
+
429
+ You will be provided with a piece of text. Determine if the text is related to {"facet)}.
430
+
431
+ {facet} is defined as: {facet_def}
432
+
433
+ First give your analysis briefly and then select your answer from ["Related", "Unrelated"].
434
+
435
+ Here are some demonstrations: {demonstrations}
436
+
437
+ - User prompt
438
+
439
+ Text:"""{text}"
440
+
441
+ # B.2 Ideology Analysis
442
+
443
+ - System prompt
444
+
445
+ You will be provided with a piece of text. Determine the orientation of the text towards {"facet"}
446
+
447
+ The orientation towards {"facet"} can be divided into ["Left", "Right", "Center"]. The definitions are as follows:
448
+
449
+ -Left: {left_def}
450
+ -Right:{right_def}
451
+ -Center: {center_def}
452
+
453
+ First give your analysis briefly and then select your answer from ["Left", "Right", "Center"].
454
+
455
+ Here are some demonstrations: {demonstrations}
456
+
457
+ - User prompt
458
+
459
+ Text:"""{text}"
460
+
461
+ # C Additional Ablation Study
462
+
463
+ As shown in Table 5, the removal of Concept Metapath Diffusion or Concept Hierarchy Aggregation causes a drop in performance. And removing both of them (w/o BICo) leads to a more significant performance degradation. The concept diffusion from root to leaf enables the high-level general semantics to propagate to lower-level nodes, while the concept aggregation from leaf to root allows the high-level nodes to perceive multifaceted concepts from lower levels. Both contribute to enriching label representations. The results further validate the effectiveness of both modules.
464
+
465
+ <table><tr><td>Model</td><td>Macro-F1</td><td>Micro-F1</td><td>Macro-Acc</td><td>Micro-Acc</td></tr></table>
466
+
467
+ Subtask 1: Relevance Recognition
468
+
469
+ <table><tr><td>Our Approach</td><td>59.22</td><td>72.14</td><td>-</td><td>-</td></tr><tr><td>w/o CMD</td><td>57.92</td><td>70.81</td><td>-</td><td>-</td></tr><tr><td>w/o CHA</td><td>58.73</td><td>71.03</td><td>-</td><td>-</td></tr><tr><td>w/o BICo</td><td>58.14</td><td>70.41</td><td>-</td><td>-</td></tr></table>
470
+
471
+ Subtask 2: Ideology Analysis
472
+
473
+ <table><tr><td>Our Approach</td><td>47.32</td><td>70.90</td><td>66.79</td><td>78.60</td></tr><tr><td>w/o CMD</td><td>46.38</td><td>68.93</td><td>65.90</td><td>77.71</td></tr><tr><td>w/o CHA</td><td>46.13</td><td>69.48</td><td>66.75</td><td>77.85</td></tr><tr><td>w/o BICo</td><td>46.02</td><td>68.58</td><td>66.18</td><td>76.63</td></tr></table>
474
+
475
+ Table 5: Results of ablation study for the modules of Concept Metapath Diffusion (CMD) and Concept Hierarchy Aggregation (CHA) in BICo. Note that "w/o BICo" is equivalent to "w/o CMD&CHA"
476
+
477
+ <table><tr><td rowspan="2">Domain</td><td rowspan="2">Facet</td><td colspan="2">Relevance</td><td colspan="2">Ideology</td></tr><tr><td>#Related</td><td>#Left</td><td>#Center</td><td>#Right</td></tr><tr><td rowspan="2">Politics</td><td>PoR</td><td>112</td><td>39</td><td>14</td><td>59</td></tr><tr><td>SS</td><td>291</td><td>67</td><td>88</td><td>136</td></tr><tr><td rowspan="2">Economy</td><td>EO</td><td>759</td><td>294</td><td>297</td><td>168</td></tr><tr><td>EE</td><td>672</td><td>520</td><td>119</td><td>33</td></tr><tr><td rowspan="3">Culture</td><td>EP</td><td>2935</td><td>1976</td><td>465</td><td>494</td></tr><tr><td>CSR</td><td>68</td><td>33</td><td>17</td><td>18</td></tr><tr><td>CV</td><td>154</td><td>95</td><td>11</td><td>48</td></tr><tr><td rowspan="2">Diplomacy</td><td>DS</td><td>1572</td><td>711</td><td>421</td><td>440</td></tr><tr><td>MF</td><td>1837</td><td>132</td><td>575</td><td>1130</td></tr><tr><td rowspan="3">Society</td><td>SD</td><td>1737</td><td>1236</td><td>287</td><td>214</td></tr><tr><td>JO</td><td>3452</td><td>3058</td><td>281</td><td>113</td></tr><tr><td>PeR</td><td>3516</td><td>171</td><td>241</td><td>3104</td></tr></table>
478
+
479
+ Table 6: Statistics of the MITweet dataset.
2024/Encoding Hierarchical Schema via Concept Flow for Multifaceted Ideology Detection/images.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ad4f3dcdc55b884be9fa88ea96e0786a1cae6b1c37098c97658478df4ba423b6
3
+ size 668915
2024/Encoding Hierarchical Schema via Concept Flow for Multifaceted Ideology Detection/layout.json ADDED
The diff for this file is too large to render. See raw diff
 
2024/End-to-End Emotion Semantic Parsing/4ffbaf63-28e0-4983-95b1-695face241d4_content_list.json ADDED
@@ -0,0 +1,1648 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "type": "text",
4
+ "text": "End-to-End Emotion Semantic Parsing",
5
+ "text_level": 1,
6
+ "bbox": [
7
+ 294,
8
+ 90,
9
+ 702,
10
+ 111
11
+ ],
12
+ "page_idx": 0
13
+ },
14
+ {
15
+ "type": "text",
16
+ "text": "Xiaotong Jiang, Zhongqing Wang\\*, and Guodong Zhou",
17
+ "bbox": [
18
+ 263,
19
+ 145,
20
+ 737,
21
+ 162
22
+ ],
23
+ "page_idx": 0
24
+ },
25
+ {
26
+ "type": "text",
27
+ "text": "$^{1}$ Natural Language Processing Lab, Soochow University, Suzhou, China xtjiang21@stu.suda.edu.cn, {wangzq, gdzhou}@suda.edu.cn",
28
+ "bbox": [
29
+ 208,
30
+ 162,
31
+ 794,
32
+ 195
33
+ ],
34
+ "page_idx": 0
35
+ },
36
+ {
37
+ "type": "text",
38
+ "text": "Abstract",
39
+ "text_level": 1,
40
+ "bbox": [
41
+ 260,
42
+ 261,
43
+ 339,
44
+ 275
45
+ ],
46
+ "page_idx": 0
47
+ },
48
+ {
49
+ "type": "text",
50
+ "text": "Emotion detection is the task of automatically associating one or more emotions with a text. The emotions are experienced, targeted, and caused by different semantic constituents. Therefore, it is necessary to incorporate these semantic constituents into the process of emotion detection. In this study, we propose a new task called emotion semantic parsing which aims to parse the emotion and semantic constituents into an abstract semantic tree structure. In particular, we design an end-to-end generation model to capture the relations between emotion and all the semantic constituents, and to generate them jointly. Furthermore, we employ a task decomposition strategy to capture the semantic relation among these constituents in a more cognitive and structural way. Experimental results demonstrate the importance of the proposed task, and indicate the proposed model gives superior performance compared to other models.",
51
+ "bbox": [
52
+ 141,
53
+ 288,
54
+ 460,
55
+ 587
56
+ ],
57
+ "page_idx": 0
58
+ },
59
+ {
60
+ "type": "text",
61
+ "text": "1 Introduction",
62
+ "text_level": 1,
63
+ "bbox": [
64
+ 114,
65
+ 600,
66
+ 258,
67
+ 615
68
+ ],
69
+ "page_idx": 0
70
+ },
71
+ {
72
+ "type": "text",
73
+ "text": "The goal of emotion detection is to automatically detect or categorize the emotional states of human according to some inputs. Nowadays, emotion detection can be found in a broad range of applications, including but not limited to emotional support (Tu et al., 2022; Pavarini et al., 2023), human-computer interaction (Chowdary et al., 2021; Alrowais et al., 2023) and healthcare surveillance (Dhuheir et al., 2021; Fang et al., 2023). Henceforth, emotion detection has attracted increasing attention from both research community and industry in recent years (Hu et al., 2021; Zanwar et al., 2023).",
74
+ "bbox": [
75
+ 112,
76
+ 626,
77
+ 489,
78
+ 833
79
+ ],
80
+ "page_idx": 0
81
+ },
82
+ {
83
+ "type": "text",
84
+ "text": "In literature, most studies focus on detecting emotion from the given text. For example, feature-based works (Balahur et al., 2011) and deep learning approaches, including RNNs (Majumder et al.,",
85
+ "bbox": [
86
+ 112,
87
+ 835,
88
+ 489,
89
+ 898
90
+ ],
91
+ "page_idx": 0
92
+ },
93
+ {
94
+ "type": "image",
95
+ "img_path": "images/70c77cfa0599318b2e305e2e78b8b7ecbe29fb3eb098f449c76f1f6e4ef3ac57.jpg",
96
+ "image_caption": [
97
+ "He clenched his fists as he watched the bully taunt his little brother.",
98
+ "Figure 1: Example of abstract semantic tree."
99
+ ],
100
+ "image_footnote": [],
101
+ "bbox": [
102
+ 546,
103
+ 287,
104
+ 848,
105
+ 448
106
+ ],
107
+ "page_idx": 0
108
+ },
109
+ {
110
+ "type": "text",
111
+ "text": "2019), Transformers (Yu et al., 2018), and pretrained language models (Zheng et al., 2022; Zanwar et al., 2023) are used in emotion detection. Nevertheless, over the past few years, numerous studies (Xia and Ding, 2019; Kim and Klinger, 2018; Campagnano et al., 2022) have indicated that the emotions may be experienced, targeted, and/or caused by different semantic constituents, and can be linked to form abstract semantic structures.",
112
+ "bbox": [
113
+ 507,
114
+ 511,
115
+ 884,
116
+ 655
117
+ ],
118
+ "page_idx": 0
119
+ },
120
+ {
121
+ "type": "text",
122
+ "text": "However, most existing works only take \"cause\" into consideration, neglecting the intricate relationships between emotion constituents, such as the strong relationship between trigger and emotion, as well as the similarity of sentiment and emotion labels. This limitation makes acquiring a nuanced understanding of the interplay between emotion and semantic constituents challenging, thereby hindering the model's capability to thoroughly comprehend emotional expression. By addressing these complexities, we believe it can serve as a foundational component for improving results in downstream real-world tasks by providing a more comprehensive understanding of emotional dynamics and their influence.",
123
+ "bbox": [
124
+ 507,
125
+ 659,
126
+ 884,
127
+ 900
128
+ ],
129
+ "page_idx": 0
130
+ },
131
+ {
132
+ "type": "text",
133
+ "text": "To tackle the above problem, we propose a new",
134
+ "bbox": [
135
+ 526,
136
+ 904,
137
+ 882,
138
+ 921
139
+ ],
140
+ "page_idx": 0
141
+ },
142
+ {
143
+ "type": "page_footnote",
144
+ "text": "* Corresponding author",
145
+ "bbox": [
146
+ 141,
147
+ 906,
148
+ 294,
149
+ 920
150
+ ],
151
+ "page_idx": 0
152
+ },
153
+ {
154
+ "type": "page_number",
155
+ "text": "37",
156
+ "bbox": [
157
+ 489,
158
+ 927,
159
+ 510,
160
+ 939
161
+ ],
162
+ "page_idx": 0
163
+ },
164
+ {
165
+ "type": "footer",
166
+ "text": "Findings of the Association for Computational Linguistics: ACL 2024, pages 37-47 August 11-16, 2024 ©2024 Association for Computational Linguistics",
167
+ "bbox": [
168
+ 243,
169
+ 945,
170
+ 752,
171
+ 972
172
+ ],
173
+ "page_idx": 0
174
+ },
175
+ {
176
+ "type": "text",
177
+ "text": "task called emotion semantic parsing which aims to parse the emotion and semantic constituents into an abstract semantic tree structure. In this work, we consider five emotion-related semantic constituents into this task, including emotion, sentiment, trigger, holder, and target. As shown in Figure 1, emotion and sentiment refer to the specific emotion and sentiment labels of the sentence; trigger refers to a trigger word or expression that describes an emotion; and the constituents of holder and target correspond to the person or entities towards whom or from whom the emotion is directed, respectively.",
178
+ "bbox": [
179
+ 112,
180
+ 84,
181
+ 492,
182
+ 277
183
+ ],
184
+ "page_idx": 1
185
+ },
186
+ {
187
+ "type": "text",
188
+ "text": "Moreover, we use the form of the abstract semantic tree structure to model the relationship between these constituents, we use the Trigger node to represent the whole abstract semantic tree, and we use the virtual Feelings and Entities nodes to compass other constituent nodes. The tree structure can be considered as a semantic representation in order to better represent the structure of the emotion-related constituents. As shown in Figure 1, the tree structure models a sentence using a rooted directed acyclic graph, highlighting its main elements (e.g. emotion, triggers) and semantic relations. It can thus potentially reveal a more comprehensive and complete semantic structure for extracting these constituents. Furthermore, since the emotion and semantic constituents are correlated in the form of the abstract semantic tree structure, we design an end-to-end generative model to predict them jointly. Specifically, our proposed model begins by decomposing the original task into several sub-tasks, as shown in Figure 2. Subsequently, the proposed model utilizes template-based prompt learning to extract each semantic constituent and semantic constituents pair separately for each sub-tasks. Finally, the proposed model leverages the acquired knowledge from sub-tasks to generate all semantic constituents in the main task.",
189
+ "bbox": [
190
+ 112,
191
+ 278,
192
+ 490,
193
+ 712
194
+ ],
195
+ "page_idx": 1
196
+ },
197
+ {
198
+ "type": "text",
199
+ "text": "We conducted extensive experiments on the unified benchmark. Experimental results demonstrate the importance of the proposed task, and indicate the proposed model gives superior performance compared to other models. Further analysis shows the effect of the proposed abstract semantic tree structure and decomposition strategies.",
200
+ "bbox": [
201
+ 112,
202
+ 714,
203
+ 490,
204
+ 829
205
+ ],
206
+ "page_idx": 1
207
+ },
208
+ {
209
+ "type": "text",
210
+ "text": "2 Related Works",
211
+ "text_level": 1,
212
+ "bbox": [
213
+ 112,
214
+ 844,
215
+ 280,
216
+ 859
217
+ ],
218
+ "page_idx": 1
219
+ },
220
+ {
221
+ "type": "text",
222
+ "text": "In the domain of emotion analysis, previous studies have mainly focused on text-based emotion detection. Early feature-based work often relied on",
223
+ "bbox": [
224
+ 112,
225
+ 873,
226
+ 490,
227
+ 921
228
+ ],
229
+ "page_idx": 1
230
+ },
231
+ {
232
+ "type": "text",
233
+ "text": "traditional machine learning algorithms and manually crafted word-level emotion lexicons (Balahure et al., 2011). As deep neural networks progressed, emotion detection methods began utilizing various networks, such as RNNs (Majumder et al., 2019) and Transformers (Vaswani et al., 2017; Yu et al., 2018), to learn the emotion-related representation for detection. Recently, pre-trained language models (Devlin et al., 2019; Raffel et al., 2020) have dominated this area with its flexibility and rich internal knowledge (Alvarez-Gonzalez et al., 2021; Zheng et al., 2022).",
234
+ "bbox": [
235
+ 507,
236
+ 84,
237
+ 885,
238
+ 275
239
+ ],
240
+ "page_idx": 1
241
+ },
242
+ {
243
+ "type": "text",
244
+ "text": "The emotions are not expressed individually, and can be experienced, targeted, and caused by different semantic constituents (Xia and Ding, 2019; Xiao et al., 2023; Campagnano et al., 2022). Most recent studies focus on emotion cause extraction task (Xia and Ding, 2019; Wang et al., 2023; Gu et al., 2023), with the goal of extracting the potential pairs of emotions and corresponding causes in the document and conversation scenario. Many end-to-end approaches have been proposed. These works can be broadly categorized into two main groups: some focus on multi-task learning (Ding et al., 2020a,b; Chen et al., 2022), while others transform the original task into a unified sequence labeling problem (Yuan et al., 2020; Chen et al., 2020). Recently, Xiao et al. (2023) developed a rule-based system to extract emotion causes on social media from constituency parsing trees. Wang et al. (2023) proposed emotion cause triplet extraction to extract emotion-cause-category triplets for fine-grained emotion cause analysis.",
245
+ "bbox": [
246
+ 507,
247
+ 278,
248
+ 885,
249
+ 617
250
+ ],
251
+ "page_idx": 1
252
+ },
253
+ {
254
+ "type": "text",
255
+ "text": "Different from prior studies, we introduce a novel task, termed emotion semantic parsing. This task seeks to comprehensively examine the impact of various semantic constituents on emotional expressions. To achieve this, we develop an end-to-end generative model specifically designed to capture the intricate relationships between emotion and a wide range of semantic constituents.",
256
+ "bbox": [
257
+ 507,
258
+ 618,
259
+ 885,
260
+ 747
261
+ ],
262
+ "page_idx": 1
263
+ },
264
+ {
265
+ "type": "text",
266
+ "text": "3 Preliminaries",
267
+ "text_level": 1,
268
+ "bbox": [
269
+ 507,
270
+ 763,
271
+ 662,
272
+ 778
273
+ ],
274
+ "page_idx": 1
275
+ },
276
+ {
277
+ "type": "text",
278
+ "text": "As shown in Figure 2, we introduce a novel task termed emotion semantic parsing. This task focuses on the generation of an abstract semantic tree structure that encapsulates both emotion and semantic constituents. To achieve this, we develop an end-to-end generative model specifically tailored for the generation of the abstract semantic tree structure. Our proposed model adopts a",
279
+ "bbox": [
280
+ 507,
281
+ 791,
282
+ 885,
283
+ 921
284
+ ],
285
+ "page_idx": 1
286
+ },
287
+ {
288
+ "type": "page_number",
289
+ "text": "38",
290
+ "bbox": [
291
+ 490,
292
+ 928,
293
+ 510,
294
+ 940
295
+ ],
296
+ "page_idx": 1
297
+ },
298
+ {
299
+ "type": "text",
300
+ "text": "decomposition-based strategy, breaking down the complex task into several more manageable subtasks. Specifically, our proposed model begins by decomposing the original task into several subtasks. Finally, the proposed model leverages the acquired knowledge from sub-tasks to generate all semantic constituents in the main task.",
301
+ "bbox": [
302
+ 112,
303
+ 84,
304
+ 487,
305
+ 195
306
+ ],
307
+ "page_idx": 2
308
+ },
309
+ {
310
+ "type": "text",
311
+ "text": "In this section, we introduce two important issues of this task: abstract semantic tree construction and the abstract semantic tree parsing model. The decomposition-based strategy for abstract semantic tree parsing will be discussed in the next section.",
312
+ "bbox": [
313
+ 112,
314
+ 197,
315
+ 489,
316
+ 292
317
+ ],
318
+ "page_idx": 2
319
+ },
320
+ {
321
+ "type": "text",
322
+ "text": "3.1 Abstract Semantic Tree Construction",
323
+ "text_level": 1,
324
+ "bbox": [
325
+ 112,
326
+ 304,
327
+ 452,
328
+ 318
329
+ ],
330
+ "page_idx": 2
331
+ },
332
+ {
333
+ "type": "text",
334
+ "text": "Inspired by the widespread impact of tree structures in parsing tasks (Li et al., 2023; Groschwitz et al., 2023), we represent the relationships among multiple constituents in a tree structure. This approach allows us to capture the complex dynamics inherent in emotional expression. We first introduce the constituents in the abstract semantic tree, then we describe the construction process of the tree.",
335
+ "bbox": [
336
+ 112,
337
+ 324,
338
+ 489,
339
+ 467
340
+ ],
341
+ "page_idx": 2
342
+ },
343
+ {
344
+ "type": "text",
345
+ "text": "Definitions of Semantic Constituents",
346
+ "text_level": 1,
347
+ "bbox": [
348
+ 112,
349
+ 476,
350
+ 405,
351
+ 491
352
+ ],
353
+ "page_idx": 2
354
+ },
355
+ {
356
+ "type": "text",
357
+ "text": "There are five types of semantic constituents, each serving as a node in the abstract semantic tree. Their definitions are provided below:",
358
+ "bbox": [
359
+ 112,
360
+ 495,
361
+ 489,
362
+ 544
363
+ ],
364
+ "page_idx": 2
365
+ },
366
+ {
367
+ "type": "list",
368
+ "sub_type": "text",
369
+ "list_items": [
370
+ "- Emotion is the specific emotion label represented from the original text. In this study, we use Plutchik (2001)'s taxonomy of emotion.",
371
+ "- Sentiment is the specific sentiment label represented from the original text, including \"positive\", \"negative\", and \"neutral\".",
372
+ "- Trigger refers to a trigger word or expression that describes an emotion, even if it is implicit.",
373
+ "- Holder refers to a person or entity that feels or experiences the emotion identified by the trigger.",
374
+ "- Target refers to a person or entity towards whom/which the emotion identified by the trigger is directed."
375
+ ],
376
+ "bbox": [
377
+ 136,
378
+ 552,
379
+ 489,
380
+ 813
381
+ ],
382
+ "page_idx": 2
383
+ },
384
+ {
385
+ "type": "text",
386
+ "text": "Process of Tree Construction",
387
+ "text_level": 1,
388
+ "bbox": [
389
+ 112,
390
+ 822,
391
+ 344,
392
+ 835
393
+ ],
394
+ "page_idx": 2
395
+ },
396
+ {
397
+ "type": "text",
398
+ "text": "As shown in Figure 1, the abstract semantic tree represents a sentence through a rooted directed acyclic graph utilizing the aforementioned semantic constituents. The construction process is outlined below:",
399
+ "bbox": [
400
+ 112,
401
+ 841,
402
+ 489,
403
+ 919
404
+ ],
405
+ "page_idx": 2
406
+ },
407
+ {
408
+ "type": "list",
409
+ "sub_type": "text",
410
+ "list_items": [
411
+ "- We take the \"Trigger\" node as the root node, since it is the most important constituent in the emotion parsing.",
412
+ "- The virtual nodes \"Feelings\" and \"Entities\" are linked to Trigger node.",
413
+ "- The \"Sentiment\" and \"Emotion\" are linked to \"Feelings\" as terminal nodes, while the \"Holder\" and \"Target\" are linked to \"Entities\" node."
414
+ ],
415
+ "bbox": [
416
+ 531,
417
+ 84,
418
+ 884,
419
+ 252
420
+ ],
421
+ "page_idx": 2
422
+ },
423
+ {
424
+ "type": "text",
425
+ "text": "As Figure 1 shows, the trigger \"clenched his fists\" implies the author's emotion. The holder and target are \"he\" and \"the bully taunt his little brother\", respectively. By leveraging these emotion-related semantic constituents, the model can accurately predict the \"anger\" emotion and \"negative\" polarity of the sentence.",
426
+ "bbox": [
427
+ 507,
428
+ 267,
429
+ 884,
430
+ 378
431
+ ],
432
+ "page_idx": 2
433
+ },
434
+ {
435
+ "type": "text",
436
+ "text": "3.2 Basic Semantic Tree Parsing",
437
+ "text_level": 1,
438
+ "bbox": [
439
+ 507,
440
+ 392,
441
+ 779,
442
+ 407
443
+ ],
444
+ "page_idx": 2
445
+ },
446
+ {
447
+ "type": "text",
448
+ "text": "After we construct the abstract semantic tree, we then employ a generative model to parse the emotion and all the semantic constituents into a linearized tree structure. As shown in Figure 2, given an input text, the output can be represented as a linearized semantic tree.",
449
+ "bbox": [
450
+ 507,
451
+ 414,
452
+ 882,
453
+ 508
454
+ ],
455
+ "page_idx": 2
456
+ },
457
+ {
458
+ "type": "text",
459
+ "text": "We adopt the pre-trained language model T5 (Chung et al., 2022) as our transformer-based encoder-decoder architecture. Therefore, by formulating parsing tasks as a text generation problem, we can tackle them in a unified sequence-to-sequence framework without a task-specific model design.",
460
+ "bbox": [
461
+ 507,
462
+ 511,
463
+ 882,
464
+ 621
465
+ ],
466
+ "page_idx": 2
467
+ },
468
+ {
469
+ "type": "text",
470
+ "text": "The main challenge of emotion semantic parsing is the complex structure inherently in the emotional expression. Specifically, the complex structure will bring out two challenges: First, the large number of semantic constituents raises the complexity to the parsing task. Consequently, the precise extraction of every constituent becomes challenging yet indispensable. Second, effectively modeling these internal relationships also presents a significant challenge in the task.",
471
+ "bbox": [
472
+ 507,
473
+ 624,
474
+ 882,
475
+ 784
476
+ ],
477
+ "page_idx": 2
478
+ },
479
+ {
480
+ "type": "text",
481
+ "text": "4 Decomposition-based Semantic Tree Parsing Model",
482
+ "text_level": 1,
483
+ "bbox": [
484
+ 507,
485
+ 797,
486
+ 855,
487
+ 831
488
+ ],
489
+ "page_idx": 2
490
+ },
491
+ {
492
+ "type": "text",
493
+ "text": "In this study, we propose a decomposed-based generative model to tackle the above challenges. The motivation is to alleviate the complexity of the original task by decomposing it into several sub-tasks. As shown in Figure 2, our proposed model can be",
494
+ "bbox": [
495
+ 507,
496
+ 841,
497
+ 882,
498
+ 921
499
+ ],
500
+ "page_idx": 2
501
+ },
502
+ {
503
+ "type": "page_number",
504
+ "text": "39",
505
+ "bbox": [
506
+ 490,
507
+ 928,
508
+ 510,
509
+ 940
510
+ ],
511
+ "page_idx": 2
512
+ },
513
+ {
514
+ "type": "image",
515
+ "img_path": "images/c8db31deb594d79748377026b359f71ac241c28c0a504b872213340c37690e9a.jpg",
516
+ "image_caption": [
517
+ "Figure 2: Overview of the proposed model."
518
+ ],
519
+ "image_footnote": [],
520
+ "bbox": [
521
+ 176,
522
+ 80,
523
+ 823,
524
+ 329
525
+ ],
526
+ "page_idx": 3
527
+ },
528
+ {
529
+ "type": "image",
530
+ "img_path": "images/23ffac2dbeaf8a802478e94064ac3283fe2a48403710f281026c73d1148deb2e.jpg",
531
+ "image_caption": [
532
+ "Figure 3: Examples of task decomposition strategies. Due to the space limit, prompt texts in this figure are shortened. Original prompt texts are presented in Section 4.1."
533
+ ],
534
+ "image_footnote": [],
535
+ "bbox": [
536
+ 136,
537
+ 378,
538
+ 468,
539
+ 629
540
+ ],
541
+ "page_idx": 3
542
+ },
543
+ {
544
+ "type": "text",
545
+ "text": "separated into two stages: decomposition and recomposition. Our model firstly breaks down the original abstract semantic parsing task into several sub-tasks, and then designs individual instruction-based templates for each task. All sub-tasks are fine-tuned by a generative backbone at the same time. Based on the model parameters from the last re-composition stage, our model further finetunes its parameters again with the original task, which involves jointly parsing all semantic constituents.",
546
+ "bbox": [
547
+ 112,
548
+ 760,
549
+ 489,
550
+ 921
551
+ ],
552
+ "page_idx": 3
553
+ },
554
+ {
555
+ "type": "text",
556
+ "text": "4.1 Task Decomposition Strategy",
557
+ "text_level": 1,
558
+ "bbox": [
559
+ 507,
560
+ 376,
561
+ 784,
562
+ 393
563
+ ],
564
+ "page_idx": 3
565
+ },
566
+ {
567
+ "type": "text",
568
+ "text": "To implement a generalized framework that is applicable to all tasks, we design templates for each individual task. The input template for each task comprises the task-specific instruction, and the original text to be parsed. The output template for each task is the sub-tree containing the constituents to be parsed. The following templates use the example in Figure 2 as the Original Text.",
569
+ "bbox": [
570
+ 507,
571
+ 398,
572
+ 884,
573
+ 526
574
+ ],
575
+ "page_idx": 3
576
+ },
577
+ {
578
+ "type": "text",
579
+ "text": "Mono Parsing includes trigger, emotion, sentiment, holder, and target parsing, individually. As shown in Figure 3(a), these sub-tasks aim to capture each specific constituent:",
580
+ "bbox": [
581
+ 507,
582
+ 527,
583
+ 882,
584
+ 590
585
+ ],
586
+ "page_idx": 3
587
+ },
588
+ {
589
+ "type": "text",
590
+ "text": "//taking emotion parsing task as an example",
591
+ "bbox": [
592
+ 544,
593
+ 600,
594
+ 847,
595
+ 630
596
+ ],
597
+ "page_idx": 3
598
+ },
599
+ {
600
+ "type": "text",
601
+ "text": "INPUT Detect the emotion label in the emotional expression: + Original Text",
602
+ "bbox": [
603
+ 544,
604
+ 634,
605
+ 843,
606
+ 667
607
+ ],
608
+ "page_idx": 3
609
+ },
610
+ {
611
+ "type": "text",
612
+ "text": "Output [Emotion (Anger)]",
613
+ "bbox": [
614
+ 544,
615
+ 671,
616
+ 749,
617
+ 688
618
+ ],
619
+ "page_idx": 3
620
+ },
621
+ {
622
+ "type": "text",
623
+ "text": "Trigger-related Pair Parsing includes trigger-emotion, trigger-sentiment, trigger-holder, trigger-target, trigger-feelings, and trigger-entities. As shown in Figure 3(b), these sub-tasks aim to capture the relationship between the trigger and each specific constituent:",
624
+ "bbox": [
625
+ 507,
626
+ 695,
627
+ 884,
628
+ 791
629
+ ],
630
+ "page_idx": 3
631
+ },
632
+ {
633
+ "type": "text",
634
+ "text": "//taking trigger-holder parsing task as an example",
635
+ "bbox": [
636
+ 544,
637
+ 799,
638
+ 843,
639
+ 831
640
+ ],
641
+ "page_idx": 3
642
+ },
643
+ {
644
+ "type": "text",
645
+ "text": "INPUT Extract both the trigger and holder in the emotional expression: + Original Text",
646
+ "bbox": [
647
+ 544,
648
+ 835,
649
+ 845,
650
+ 882
651
+ ],
652
+ "page_idx": 3
653
+ },
654
+ {
655
+ "type": "text",
656
+ "text": "Output [Trigger (clench his fists), [Entities, [Holder (he)]]]",
657
+ "bbox": [
658
+ 544,
659
+ 889,
660
+ 847,
661
+ 921
662
+ ],
663
+ "page_idx": 3
664
+ },
665
+ {
666
+ "type": "page_number",
667
+ "text": "40",
668
+ "bbox": [
669
+ 489,
670
+ 928,
671
+ 510,
672
+ 940
673
+ ],
674
+ "page_idx": 3
675
+ },
676
+ {
677
+ "type": "text",
678
+ "text": "Entities Pair Parsing aims to capture the relationship between holder and target, and can gain insights into the interpersonal dynamics and relational aspects that influence emotional experiences. The example is shown in Figure 3(c), with the template of prompt provided below:",
679
+ "bbox": [
680
+ 112,
681
+ 84,
682
+ 489,
683
+ 181
684
+ ],
685
+ "page_idx": 4
686
+ },
687
+ {
688
+ "type": "text",
689
+ "text": "INPUT Extract both holder and target in the emotional expression: + Original Text",
690
+ "bbox": [
691
+ 149,
692
+ 193,
693
+ 450,
694
+ 241
695
+ ],
696
+ "page_idx": 4
697
+ },
698
+ {
699
+ "type": "text",
700
+ "text": "Output [Entities, [Holder (he), Target (the bully taunt his little brother) ]]",
701
+ "bbox": [
702
+ 149,
703
+ 249,
704
+ 452,
705
+ 281
706
+ ],
707
+ "page_idx": 4
708
+ },
709
+ {
710
+ "type": "text",
711
+ "text": "Feelings Pair Parsing aims to capture the relationship between sentiment and emotion. The example is shown in Figure 3(d), with the template of prompt provided below:",
712
+ "bbox": [
713
+ 112,
714
+ 294,
715
+ 489,
716
+ 359
717
+ ],
718
+ "page_idx": 4
719
+ },
720
+ {
721
+ "type": "text",
722
+ "text": "INPUT Extract both the emotion and sentiment labels in the emotional expression: + Original Text",
723
+ "bbox": [
724
+ 147,
725
+ 373,
726
+ 453,
727
+ 420
728
+ ],
729
+ "page_idx": 4
730
+ },
731
+ {
732
+ "type": "text",
733
+ "text": "Output [Feelings, [Emotion (Anger), Sentiment (Negative) ]]",
734
+ "bbox": [
735
+ 149,
736
+ 428,
737
+ 453,
738
+ 460
739
+ ],
740
+ "page_idx": 4
741
+ },
742
+ {
743
+ "type": "text",
744
+ "text": "4.2 Task Re-composition Strategy",
745
+ "text_level": 1,
746
+ "bbox": [
747
+ 112,
748
+ 473,
749
+ 396,
750
+ 489
751
+ ],
752
+ "page_idx": 4
753
+ },
754
+ {
755
+ "type": "text",
756
+ "text": "After gaining knowledge from sub-tasks, the model has learned the pattern of the template and the relationships from different emotion-related semantic constituents. Thus it can boost the final end-to-end emotion semantic parsing task, which is to predict the emotion label and outputs all emotion-related semantic constituents in the form of an abstract semantic tree. The example is shown in Figure 2, and the template of prompt is the below:",
757
+ "bbox": [
758
+ 112,
759
+ 495,
760
+ 489,
761
+ 640
762
+ ],
763
+ "page_idx": 4
764
+ },
765
+ {
766
+ "type": "text",
767
+ "text": "INPUT Extract emotion trigger, holder, target, and emotion and sentiment labels in the emotional expression: + Original Text",
768
+ "bbox": [
769
+ 149,
770
+ 653,
771
+ 453,
772
+ 715
773
+ ],
774
+ "page_idx": 4
775
+ },
776
+ {
777
+ "type": "text",
778
+ "text": "Output [Trigger (clenched his fists), Feelings, [Emotion (Anger), Sentiment (Negative)]], [Entities, [Holder (he), Target (the bully taunt his little brother) ]]",
779
+ "bbox": [
780
+ 149,
781
+ 725,
782
+ 453,
783
+ 789
784
+ ],
785
+ "page_idx": 4
786
+ },
787
+ {
788
+ "type": "text",
789
+ "text": "4.3 Objective Functions and Training",
790
+ "text_level": 1,
791
+ "bbox": [
792
+ 112,
793
+ 802,
794
+ 426,
795
+ 819
796
+ ],
797
+ "page_idx": 4
798
+ },
799
+ {
800
+ "type": "text",
801
+ "text": "In this subsection, we show the objective functions and training process of the proposed model.",
802
+ "bbox": [
803
+ 112,
804
+ 824,
805
+ 485,
806
+ 856
807
+ ],
808
+ "page_idx": 4
809
+ },
810
+ {
811
+ "type": "text",
812
+ "text": "The goal is to maximize the output linearized tree $X_{T}$ probability given the sentence $X$ . Therefore, we optimize the negative log-likelihood loss function:",
813
+ "bbox": [
814
+ 112,
815
+ 857,
816
+ 489,
817
+ 920
818
+ ],
819
+ "page_idx": 4
820
+ },
821
+ {
822
+ "type": "table",
823
+ "img_path": "images/f16ba66ccbc268e24499e77421b9733a2dbbdeb514daa2977d09f345196476a6.jpg",
824
+ "table_caption": [],
825
+ "table_footnote": [],
826
+ "table_body": "<table><tr><td></td><td>Amount</td></tr><tr><td>#Sample</td><td>7,234</td></tr><tr><td>Avg. Sent Len.</td><td>26.3</td></tr><tr><td>#Emotion Labels</td><td>9</td></tr><tr><td>#Sentiment Label</td><td>3</td></tr><tr><td>#Trigger</td><td>7,111</td></tr><tr><td>#Holder</td><td>5,633</td></tr><tr><td>#Target</td><td>6,127</td></tr></table>",
827
+ "bbox": [
828
+ 576,
829
+ 80,
830
+ 818,
831
+ 218
832
+ ],
833
+ "page_idx": 4
834
+ },
835
+ {
836
+ "type": "text",
837
+ "text": "Table 1: Distribution of dataset.",
838
+ "bbox": [
839
+ 584,
840
+ 227,
841
+ 803,
842
+ 240
843
+ ],
844
+ "page_idx": 4
845
+ },
846
+ {
847
+ "type": "equation",
848
+ "text": "\n$$\n\\mathcal {L} = - \\frac {1}{| \\tau |} \\sum_ {(X, X _ {T}) \\in \\tau} \\log p (X _ {T} | X; \\theta) \\tag {1}\n$$\n",
849
+ "text_format": "latex",
850
+ "bbox": [
851
+ 561,
852
+ 288,
853
+ 882,
854
+ 329
855
+ ],
856
+ "page_idx": 4
857
+ },
858
+ {
859
+ "type": "text",
860
+ "text": "where $\\theta$ is the model parameters, and $(X,X_{T})$ is a (sentence, tree) pair in training set $\\tau$ , then",
861
+ "bbox": [
862
+ 507,
863
+ 338,
864
+ 882,
865
+ 370
866
+ ],
867
+ "page_idx": 4
868
+ },
869
+ {
870
+ "type": "equation",
871
+ "text": "\n$$\n\\begin{array}{l} \\log p (X _ {T} | X; \\theta) \\\\ = \\sum_ {i = 1} ^ {n} \\log p \\left(x _ {T} ^ {i} \\mid x _ {T} ^ {1}, x _ {T} ^ {2}, \\dots x _ {T} ^ {i - 1}, X; \\theta\\right) \\tag {2} \\\\ \\end{array}\n$$\n",
872
+ "text_format": "latex",
873
+ "bbox": [
874
+ 552,
875
+ 394,
876
+ 880,
877
+ 454
878
+ ],
879
+ "page_idx": 4
880
+ },
881
+ {
882
+ "type": "text",
883
+ "text": "where $p(x_{T}^{i}|x_{T}^{1},x_{T}^{2},\\dots x_{T}^{i - 1},X;\\theta)$ is calculated by the decoder.",
884
+ "bbox": [
885
+ 507,
886
+ 466,
887
+ 882,
888
+ 498
889
+ ],
890
+ "page_idx": 4
891
+ },
892
+ {
893
+ "type": "text",
894
+ "text": "5 Experimentation",
895
+ "text_level": 1,
896
+ "bbox": [
897
+ 507,
898
+ 511,
899
+ 690,
900
+ 527
901
+ ],
902
+ "page_idx": 4
903
+ },
904
+ {
905
+ "type": "text",
906
+ "text": "In this section, we introduce the datasets used for evaluation and the baseline methods employed for comparison. We then report the experimental results conducted from different perspectives, and analyze the effectiveness of the proposed model with different factors.",
907
+ "bbox": [
908
+ 507,
909
+ 536,
910
+ 882,
911
+ 631
912
+ ],
913
+ "page_idx": 4
914
+ },
915
+ {
916
+ "type": "text",
917
+ "text": "5.1 Settings",
918
+ "text_level": 1,
919
+ "bbox": [
920
+ 507,
921
+ 643,
922
+ 618,
923
+ 658
924
+ ],
925
+ "page_idx": 4
926
+ },
927
+ {
928
+ "type": "text",
929
+ "text": "We evaluate the effectiveness of our proposed method on a benchmark proposed in Campagnano et al. (2022), which combines several datasets. We specifically choose three datasets (Mohammad et al., 2015; Kim and Klinger, 2018; Bostan et al., 2020) from this benchmark because they are the only ones that encompass annotations for all constituents. We enhance the quality of the original dataset by deleting duplicate or irrelevant examples (e.g., those with all trigger, holder, and target are \"null\"), while ensuring the trigger is not \"null\". The distribution of dataset is shown in Table 1. We choose $90\\%$ of the data as the training set, and the remaining $10\\%$ of the data as the testing set. Additionally, $10\\%$ of the training data is randomly set aside for validation during the training process.",
930
+ "bbox": [
931
+ 505,
932
+ 664,
933
+ 884,
934
+ 921
935
+ ],
936
+ "page_idx": 4
937
+ },
938
+ {
939
+ "type": "page_number",
940
+ "text": "41",
941
+ "bbox": [
942
+ 489,
943
+ 928,
944
+ 510,
945
+ 940
946
+ ],
947
+ "page_idx": 4
948
+ },
949
+ {
950
+ "type": "table",
951
+ "img_path": "images/11dc1887948cc8884e59fb7da2825f758fe8bcde3c77d265780a80295a951870.jpg",
952
+ "table_caption": [],
953
+ "table_footnote": [],
954
+ "table_body": "<table><tr><td>Methods</td><td>Emotion</td><td>Sentiment</td><td>Trigger</td><td>Holder</td><td>Target</td><td>Micro F1.</td></tr><tr><td>BERT-CRF</td><td>40.3</td><td>58.6</td><td>19.0</td><td>23.3</td><td>24.0</td><td>33.1</td></tr><tr><td>BERT-MRC</td><td>42.6</td><td>60.3</td><td>15.2</td><td>22.4</td><td>19.3</td><td>30.8</td></tr><tr><td>TaskFusion</td><td>45.7</td><td>62.3</td><td>-</td><td>-</td><td>-</td><td>-</td></tr><tr><td>USSA</td><td>41.3</td><td>-</td><td>17.3</td><td>32.6</td><td>14.3</td><td>-</td></tr><tr><td>T5</td><td>40.2</td><td>59.4</td><td>21.0</td><td>47.2</td><td>32.1</td><td>38.2</td></tr><tr><td>ChatGPT</td><td>22.3</td><td>30.7</td><td>10.4</td><td>21.3</td><td>9.6</td><td>18.9</td></tr><tr><td>LLaMA</td><td>42.4</td><td>57.6</td><td>22.4</td><td>43.5</td><td>31.3</td><td>39.4</td></tr><tr><td>Ours</td><td>46.3</td><td>63.6</td><td>30.8</td><td>55.0</td><td>37.4</td><td>46.7</td></tr></table>",
955
+ "bbox": [
956
+ 183,
957
+ 80,
958
+ 815,
959
+ 241
960
+ ],
961
+ "page_idx": 5
962
+ },
963
+ {
964
+ "type": "text",
965
+ "text": "Table 2: Comparison with baselines.",
966
+ "bbox": [
967
+ 371,
968
+ 249,
969
+ 623,
970
+ 265
971
+ ],
972
+ "page_idx": 5
973
+ },
974
+ {
975
+ "type": "text",
976
+ "text": "Our proposed method utilizes the generative backbone Flan-T5 (Chung et al., 2022) from HuggingFace's hub. All experiments are conducted on a single NVIDIA Tesla V100 GPU with 32GB memory. The model is trained for 10 epochs in each of the two stages, using the AdamW (Loshchilov and Hutter) optimizer, with a maximum sequence length of 256, a batch size of 16, and a learning rate of 3e-4. And the average results over 5 runs with different random seeds are reported. We adopt F1-score as the metric for all experiments, the micro F1 is employed to evaluate the overall performance.",
977
+ "bbox": [
978
+ 112,
979
+ 288,
980
+ 489,
981
+ 483
982
+ ],
983
+ "page_idx": 5
984
+ },
985
+ {
986
+ "type": "text",
987
+ "text": "5.2 Main Results",
988
+ "text_level": 1,
989
+ "bbox": [
990
+ 112,
991
+ 497,
992
+ 265,
993
+ 511
994
+ ],
995
+ "page_idx": 5
996
+ },
997
+ {
998
+ "type": "text",
999
+ "text": "To better evaluate the effectiveness of our proposed model, we compare its performance against several strong baseline models, which are detailed below,",
1000
+ "bbox": [
1001
+ 112,
1002
+ 520,
1003
+ 489,
1004
+ 569
1005
+ ],
1006
+ "page_idx": 5
1007
+ },
1008
+ {
1009
+ "type": "list",
1010
+ "sub_type": "text",
1011
+ "list_items": [
1012
+ "- BERT-CRF (Campagnano et al., 2022) employs bidirectional LSTM layers over BERT representation, then uses CRF to generate token-level labels to determine the span boundary of each semantic constituent.",
1013
+ "- BERT-MRC (Devlin et al., 2019) is used to predict the start and end indexes of all required semantic constituents.",
1014
+ "- TaskFusion (Zanwar et al., 2023) is a multi-task framework with a pre-trained language model for emotion-related tasks. We adopt it for the proposed emotion semantic parsing task.",
1015
+ "- USSA (Zhai et al., 2023) is a joint learning framework, which transfers aspect-based sentiment analysis into a 2D table-filling scheme. We adopt it for the proposed emotion semantic parsing task."
1016
+ ],
1017
+ "bbox": [
1018
+ 136,
1019
+ 585,
1020
+ 489,
1021
+ 921
1022
+ ],
1023
+ "page_idx": 5
1024
+ },
1025
+ {
1026
+ "type": "list",
1027
+ "sub_type": "text",
1028
+ "list_items": [
1029
+ "- T5 (Chung et al., 2022) is a pre-trained language model which naturally suits the sequence-to-sequence task. It also can be considered as a joint learning framework, which generates all the semantic constituents jointly.",
1030
+ "- ChatGPT (Ouyang et al., 2022) uses dialog-based instructional data in the supervised and RL-based meta-training stages. We use ChatGPT API to generate all required semantic constituents.",
1031
+ "- LLaMA (Touvron et al., 2023) is a series of large language models trained on trillions of tokens. We use Alpaca-LoRA² to fine-tune LLaMA-7B to generate required semantic constituents."
1032
+ ],
1033
+ "bbox": [
1034
+ 531,
1035
+ 288,
1036
+ 885,
1037
+ 590
1038
+ ],
1039
+ "page_idx": 5
1040
+ },
1041
+ {
1042
+ "type": "text",
1043
+ "text": "As demonstrated in Table 2, several key observations can be made: 1) Aligning with the current trend favoring generative frameworks, models that adopt a generative paradigm (i.e., T5, LLaMA, and our proposed model) generally outpace models based on a classification paradigm (i.e., BERT-CRF, BERT-MRC, Task Fusion, USSA) in terms of performance. 2) A standout observation is the substantial performance disparity between ChatGPT and all other methodologies. This discrepancy might be attributed to our limited usage of ChatGPT's API, without fine-tuning its internal parameters using insights from our training dataset.",
1044
+ "bbox": [
1045
+ 507,
1046
+ 626,
1047
+ 885,
1048
+ 835
1049
+ ],
1050
+ "page_idx": 5
1051
+ },
1052
+ {
1053
+ "type": "text",
1054
+ "text": "In contrast, our proposed model consistently outperforms prior studies $(p < 0.05)$ in all settings. This underscores the effectiveness of our model, employing task decomposition strategies and the abstract semantic tree structure.",
1055
+ "bbox": [
1056
+ 507,
1057
+ 841,
1058
+ 885,
1059
+ 920
1060
+ ],
1061
+ "page_idx": 5
1062
+ },
1063
+ {
1064
+ "type": "page_number",
1065
+ "text": "42",
1066
+ "bbox": [
1067
+ 489,
1068
+ 928,
1069
+ 510,
1070
+ 940
1071
+ ],
1072
+ "page_idx": 5
1073
+ },
1074
+ {
1075
+ "type": "image",
1076
+ "img_path": "images/f1305e83c2f21d4ba51501bf115fedd5ad29d5eb119ba222d6355bbaf6b65239.jpg",
1077
+ "image_caption": [
1078
+ "Figure 4: Effect of tree structures."
1079
+ ],
1080
+ "image_footnote": [],
1081
+ "bbox": [
1082
+ 247,
1083
+ 82,
1084
+ 742,
1085
+ 200
1086
+ ],
1087
+ "page_idx": 6
1088
+ },
1089
+ {
1090
+ "type": "table",
1091
+ "img_path": "images/53c852f7c76c5b9b63dbd6a9d1e8152b75edf4f27c61b8a9c42ea2c813e45a35.jpg",
1092
+ "table_caption": [],
1093
+ "table_footnote": [],
1094
+ "table_body": "<table><tr><td>Tuples</td><td>e</td><td>s</td><td>t</td><td>h</td><td>a</td></tr><tr><td>(e)</td><td>42.5</td><td>-</td><td>-</td><td>-</td><td>-</td></tr><tr><td>(t)</td><td>-</td><td>-</td><td>28.4</td><td>-</td><td>-</td></tr><tr><td>(e,s)</td><td>43.5</td><td>65.1</td><td>-</td><td>-</td><td>-</td></tr><tr><td>(e,t)</td><td>45.2</td><td>-</td><td>29.1</td><td>-</td><td>-</td></tr><tr><td>(e,s,t)</td><td>45.7</td><td>67.5</td><td>30.7</td><td>-</td><td>-</td></tr><tr><td>(t,h)</td><td>-</td><td>-</td><td>29.3</td><td>43.1</td><td>-</td></tr><tr><td>(t,a)</td><td>-</td><td>-</td><td>29.1</td><td>-</td><td>32.4</td></tr><tr><td>(t,h,a)</td><td>-</td><td>-</td><td>29.3</td><td>50.0</td><td>35.5</td></tr><tr><td>(e,t,h,a)</td><td>45.9</td><td>-</td><td>29.4</td><td>52.4</td><td>35.3</td></tr><tr><td>Ours</td><td>46.3</td><td>63.6</td><td>30.8</td><td>55.0</td><td>37.4</td></tr></table>",
1095
+ "bbox": [
1096
+ 139,
1097
+ 253,
1098
+ 460,
1099
+ 394
1100
+ ],
1101
+ "page_idx": 6
1102
+ },
1103
+ {
1104
+ "type": "table",
1105
+ "img_path": "images/7ff76400426a81adfe836d30f18aed045fac2e7be217037dbbc6d0a05ade2740.jpg",
1106
+ "table_caption": [
1107
+ "Table 3: Correlations among semantic constituents."
1108
+ ],
1109
+ "table_footnote": [],
1110
+ "table_body": "<table><tr><td>Methods</td><td>Micro F1.</td></tr><tr><td>Ours</td><td>46.7</td></tr><tr><td>- Mono</td><td>39.8</td></tr><tr><td>- TriggerPair</td><td>40.3</td></tr><tr><td>- EntitiesPair</td><td>41.8</td></tr><tr><td>- FeelingsPair</td><td>44.3</td></tr></table>",
1111
+ "bbox": [
1112
+ 179,
1113
+ 432,
1114
+ 423,
1115
+ 539
1116
+ ],
1117
+ "page_idx": 6
1118
+ },
1119
+ {
1120
+ "type": "text",
1121
+ "text": "Table 4: Impact of decomposition strategies.",
1122
+ "bbox": [
1123
+ 147,
1124
+ 548,
1125
+ 450,
1126
+ 562
1127
+ ],
1128
+ "page_idx": 6
1129
+ },
1130
+ {
1131
+ "type": "text",
1132
+ "text": "5.3 Influence of Semantic Constituents",
1133
+ "text_level": 1,
1134
+ "bbox": [
1135
+ 112,
1136
+ 589,
1137
+ 433,
1138
+ 602
1139
+ ],
1140
+ "page_idx": 6
1141
+ },
1142
+ {
1143
+ "type": "text",
1144
+ "text": "We then analyze the influence of the semantic constituents and the correlations among them. As shown in Table 3, $e$ denotes the emotion label, $s$ is the sentiment polarity, $t, h$ and $a$ are trigger, holder, and target, separately. In addition, the rows in the table mean different combinations of emotion-related semantic constituents. For example, $(e, s)$ means that we used the proposed model to generate the emotion label and the sentiment polarity jointly.",
1145
+ "bbox": [
1146
+ 112,
1147
+ 609,
1148
+ 489,
1149
+ 753
1150
+ ],
1151
+ "page_idx": 6
1152
+ },
1153
+ {
1154
+ "type": "text",
1155
+ "text": "From the table, it is evident that there is a clear correlation between emotion and sentiment polarity, as the combined performance of $(e,s)$ surpasses that of generating emotion $e$ alone. This underscores the importance of considering sentiment polarity when analyzing and interpreting emotions. Additionally, our findings reveal that the majority of semantic constituents contribute significantly to",
1156
+ "bbox": [
1157
+ 112,
1158
+ 756,
1159
+ 489,
1160
+ 883
1161
+ ],
1162
+ "page_idx": 6
1163
+ },
1164
+ {
1165
+ "type": "text",
1166
+ "text": "emotion detection, especially trigger $t$ . For example, the combined performance of $(e, t)$ surpasses that of generating emotion $e$ alone by a large margin. This underscores the importance of these semantic elements in understanding and contextualizing emotions within a given text.",
1167
+ "bbox": [
1168
+ 507,
1169
+ 256,
1170
+ 884,
1171
+ 351
1172
+ ],
1173
+ "page_idx": 6
1174
+ },
1175
+ {
1176
+ "type": "text",
1177
+ "text": "Furthermore, our results highlight a correlation between the holder $h$ and target $a$ with the trigger $t$ , as they often refer to the person or entity experiencing or feeling the emotion triggered by a specific event or situation. This emphasizes the interconnected nature of these semantic constituents and their collective role in shaping emotional expressions.",
1178
+ "bbox": [
1179
+ 507,
1180
+ 353,
1181
+ 884,
1182
+ 480
1183
+ ],
1184
+ "page_idx": 6
1185
+ },
1186
+ {
1187
+ "type": "text",
1188
+ "text": "Notably, we observe that incorporating all semantic constituents leads to the highest performance, highlighting the effectiveness of our proposed model with semantic tree parsing. This underscores the utility and relevance of these semantic constituents in enhancing emotion detection accuracy.",
1189
+ "bbox": [
1190
+ 507,
1191
+ 483,
1192
+ 885,
1193
+ 595
1194
+ ],
1195
+ "page_idx": 6
1196
+ },
1197
+ {
1198
+ "type": "text",
1199
+ "text": "5.4 Effect of Tree Structures",
1200
+ "text_level": 1,
1201
+ "bbox": [
1202
+ 507,
1203
+ 608,
1204
+ 749,
1205
+ 621
1206
+ ],
1207
+ "page_idx": 6
1208
+ },
1209
+ {
1210
+ "type": "text",
1211
+ "text": "To assess the impact of the abstract semantic tree structure, we evaluated our model's performance using four distinct tree structures in Figure 4.",
1212
+ "bbox": [
1213
+ 507,
1214
+ 630,
1215
+ 880,
1216
+ 678
1217
+ ],
1218
+ "page_idx": 6
1219
+ },
1220
+ {
1221
+ "type": "text",
1222
+ "text": "In our initial assessment, we removed the entire tree structure, treating the semantic constituents as a linear sequence (a). This modification resulted in a substantial decrease in performance, from $46.7\\%$ to $40.7\\%$ , emphasizing the importance of the tree structure in capturing the intricate relationships among semantic constituents.",
1223
+ "bbox": [
1224
+ 507,
1225
+ 678,
1226
+ 880,
1227
+ 790
1228
+ ],
1229
+ "page_idx": 6
1230
+ },
1231
+ {
1232
+ "type": "text",
1233
+ "text": "Subsequently, we constructed two simplified tree structures, with either Trigger (b) or Emotion (c) serving as the root node. Interestingly, both of these structures yielded comparable performance results, suggesting that both of them are pivotal components in the emotion parsing task, and their roles are equally significant. Furthermore, we introduced two virtual nodes, labeled as Feelings and",
1234
+ "bbox": [
1235
+ 507,
1236
+ 793,
1237
+ 884,
1238
+ 921
1239
+ ],
1240
+ "page_idx": 6
1241
+ },
1242
+ {
1243
+ "type": "page_footnote",
1244
+ "text": "1https://api.openai.com/v1/chat/completions",
1245
+ "bbox": [
1246
+ 134,
1247
+ 892,
1248
+ 462,
1249
+ 906
1250
+ ],
1251
+ "page_idx": 6
1252
+ },
1253
+ {
1254
+ "type": "page_footnote",
1255
+ "text": "$^{2}$ https://github.com/tloen/alpaca-lora",
1256
+ "bbox": [
1257
+ 136,
1258
+ 906,
1259
+ 418,
1260
+ 920
1261
+ ],
1262
+ "page_idx": 6
1263
+ },
1264
+ {
1265
+ "type": "page_number",
1266
+ "text": "43",
1267
+ "bbox": [
1268
+ 489,
1269
+ 928,
1270
+ 510,
1271
+ 940
1272
+ ],
1273
+ "page_idx": 6
1274
+ },
1275
+ {
1276
+ "type": "table",
1277
+ "img_path": "images/85aab6252d1d830e27f052a1140b0f66e8a7a77c2b570ab01bff61f9a7d2390f.jpg",
1278
+ "table_caption": [],
1279
+ "table_footnote": [],
1280
+ "table_body": "<table><tr><td>Input</td><td>Model</td><td>Output (Linearized Abstract Semantic Tree)</td></tr><tr><td rowspan=\"2\">Jean Valjean was sincere. This sincerity from the very grief that it caused him, rendered inquiries useless, and conferred authority on all that that man had said. Here, for Marius, there was a strange reversal of situations.</td><td>T5</td><td>[Trigger, sincerity, [Feelings, [Emotion, trust], [Sentiment, positive]], [Entity, [Holder, him], [Target, null]]]</td></tr><tr><td>Ours</td><td>[Trigger, grief, [Feelings, [Emotion, sadness], [Sentiment, negative]], [Entity, [Holder, him], [Target, null]]]</td></tr><tr><td rowspan=\"2\">&quot;Do you think me so very proud?&quot; he suddenly asked. &quot;I think you very strange.&quot;</td><td>T5</td><td>[Trigger, so very proud, [Feelings, [Emotion, joy], [Sentiment, positive]], [Entity, [Holder, you], [Target, me]]]</td></tr><tr><td>Ours</td><td>[Trigger, suddenly, [Feelings, [Emotion, surprise], [Sentiment, other]], [Entity, [Holder, he], [Target, null]]]</td></tr><tr><td rowspan=\"2\">Last year I was wild to marry you, and you wouldn&#x27;t look at me.</td><td>T5</td><td>[Trigger, wouldn&#x27;t look at me, [Feelings, [Emotion, anger], [Sentiment, negative]], [Entity, [Holder, I], [Target, you]]]</td></tr><tr><td>Ours</td><td>[Trigger, wouldn&#x27;t look at me, [Feelings, [Emotion, disgust], [Sentiment, negative]], [Entity, [Holder, you], [Target, I]]]</td></tr></table>",
1281
+ "bbox": [
1282
+ 161,
1283
+ 82,
1284
+ 836,
1285
+ 299
1286
+ ],
1287
+ "page_idx": 7
1288
+ },
1289
+ {
1290
+ "type": "text",
1291
+ "text": "Figure 5: Examples of case study. The text in green means an exact match, while text in red indicates inaccuracies. \"Null\" means the extracted constituent is missing.",
1292
+ "bbox": [
1293
+ 110,
1294
+ 309,
1295
+ 882,
1296
+ 338
1297
+ ],
1298
+ "page_idx": 7
1299
+ },
1300
+ {
1301
+ "type": "text",
1302
+ "text": "Entities into the tree structure (d). The inclusion of these nodes led to a noticeable improvement in performance, highlighting the efficacy of our proposed tree structures and reinforcing the importance of considering semantic constituents within a structured framework for accurate emotion parsing.",
1303
+ "bbox": [
1304
+ 112,
1305
+ 363,
1306
+ 487,
1307
+ 461
1308
+ ],
1309
+ "page_idx": 7
1310
+ },
1311
+ {
1312
+ "type": "text",
1313
+ "text": "5.5 Impact of Decomposition Strategies",
1314
+ "text_level": 1,
1315
+ "bbox": [
1316
+ 112,
1317
+ 474,
1318
+ 440,
1319
+ 491
1320
+ ],
1321
+ "page_idx": 7
1322
+ },
1323
+ {
1324
+ "type": "text",
1325
+ "text": "We further investigated the influence of various decomposition strategies, and the results are presented in Table 4, where Mono denotes Mono Parsing, TriggerPair denotes Trigger-related Pair Parsing, EntitiesPair denotes Entities Pair Parsing, and FeelingsPair denotes Feelings Pair Parsing. All of these can be found in Section 4.1.",
1326
+ "bbox": [
1327
+ 112,
1328
+ 497,
1329
+ 489,
1330
+ 607
1331
+ ],
1332
+ "page_idx": 7
1333
+ },
1334
+ {
1335
+ "type": "text",
1336
+ "text": "Our analysis reveals that among all the strategies, mono parsing exerts the most substantial impact on model performance, aligning with our initial expectations. Mono parsing can be regarded as the foundational and indivisible task that serves as the basis for other higher-level tasks. Moreover, our findings indicate that all the decomposition strategies employed have a positive influence on the task, emphasizing the importance of breaking down the original task into smaller sub-tasks and the efficacy of reintegrating these sub-tasks to address the main task.",
1337
+ "bbox": [
1338
+ 112,
1339
+ 611,
1340
+ 489,
1341
+ 802
1342
+ ],
1343
+ "page_idx": 7
1344
+ },
1345
+ {
1346
+ "type": "text",
1347
+ "text": "5.6 Case Study",
1348
+ "text_level": 1,
1349
+ "bbox": [
1350
+ 112,
1351
+ 816,
1352
+ 248,
1353
+ 833
1354
+ ],
1355
+ "page_idx": 7
1356
+ },
1357
+ {
1358
+ "type": "text",
1359
+ "text": "To highlight our model's significance, we've chosen several challenging and illustrative examples shown in Figure 5.",
1360
+ "bbox": [
1361
+ 112,
1362
+ 839,
1363
+ 487,
1364
+ 887
1365
+ ],
1366
+ "page_idx": 7
1367
+ },
1368
+ {
1369
+ "type": "text",
1370
+ "text": "These challenging sentences share the same feature: they express more than one emotion expres",
1371
+ "bbox": [
1372
+ 112,
1373
+ 889,
1374
+ 489,
1375
+ 921
1376
+ ],
1377
+ "page_idx": 7
1378
+ },
1379
+ {
1380
+ "type": "text",
1381
+ "text": "sion, each associated with its own trigger, holder, and target. However, in each case, there is only one overall emotion. The presence of secondary emotions makes it difficult to fully grasp the overall emotional tone of the sentence.",
1382
+ "bbox": [
1383
+ 507,
1384
+ 363,
1385
+ 882,
1386
+ 443
1387
+ ],
1388
+ "page_idx": 7
1389
+ },
1390
+ {
1391
+ "type": "text",
1392
+ "text": "In the first two examples, the mis-detection of emotion expressions by T5 underscores the intricate and nuanced nature of the task, as well as the significance of each element in constructing a precise semantic representation. However, even when the correct emotion expression is identified, modeling the complex relationship between emotion and other semantic components remains challenging. As illustrated in the final example, although T5 correctly identifies the expression and its trigger, its inability to accurately detect the holder and target leads to an incorrect prediction of emotion. This highlights the interconnected nature of these elements and underscores their collective importance in achieving accurate emotion detection.",
1393
+ "bbox": [
1394
+ 507,
1395
+ 445,
1396
+ 884,
1397
+ 684
1398
+ ],
1399
+ "page_idx": 7
1400
+ },
1401
+ {
1402
+ "type": "text",
1403
+ "text": "In contrast, our proposed model, by leveraging task decomposition, demonstrates enhanced efficacy in navigating complexities present in difficult scenarios such as negotiation, emotion shifts, and multiple possible emotion expressions. This not only facilitates accurate detection of individual constituents but also enables a more nuanced understanding of their interrelationships, leading to improved overall performance.",
1404
+ "bbox": [
1405
+ 507,
1406
+ 687,
1407
+ 882,
1408
+ 832
1409
+ ],
1410
+ "page_idx": 7
1411
+ },
1412
+ {
1413
+ "type": "text",
1414
+ "text": "6 Conclusion",
1415
+ "text_level": 1,
1416
+ "bbox": [
1417
+ 507,
1418
+ 846,
1419
+ 640,
1420
+ 860
1421
+ ],
1422
+ "page_idx": 7
1423
+ },
1424
+ {
1425
+ "type": "text",
1426
+ "text": "In this study, we introduce a novel task called emotion semantic parsing, which focuses on analyzing emotions and semantic elements to construct an ab",
1427
+ "bbox": [
1428
+ 507,
1429
+ 873,
1430
+ 882,
1431
+ 920
1432
+ ],
1433
+ "page_idx": 7
1434
+ },
1435
+ {
1436
+ "type": "page_number",
1437
+ "text": "44",
1438
+ "bbox": [
1439
+ 489,
1440
+ 928,
1441
+ 510,
1442
+ 940
1443
+ ],
1444
+ "page_idx": 7
1445
+ },
1446
+ {
1447
+ "type": "text",
1448
+ "text": "tract semantic tree structure. To achieve this, we develop an end-to-end generation model capable of capturing intricate relationships between emotions and various semantic constituents, generating them collaboratively. Furthermore, our proposed model employs template-based prompt learning, allowing for the separate extraction of each semantic constituent and pairs of semantic constituents for individual sub-tasks. Experimental results not only underscore the significance of the introduced task but also showcase the superior performance of our proposed model.",
1449
+ "bbox": [
1450
+ 112,
1451
+ 84,
1452
+ 492,
1453
+ 280
1454
+ ],
1455
+ "page_idx": 8
1456
+ },
1457
+ {
1458
+ "type": "text",
1459
+ "text": "Limitations",
1460
+ "text_level": 1,
1461
+ "bbox": [
1462
+ 114,
1463
+ 290,
1464
+ 220,
1465
+ 306
1466
+ ],
1467
+ "page_idx": 8
1468
+ },
1469
+ {
1470
+ "type": "text",
1471
+ "text": "Our work focuses on employing a unified framework for emotion semantic parsing. However, one of the limitations is the computational complexity of the proposed model, whose training speed is slower than the classification-based models. Secondly, more tasks could be further explored, including nested emotion parsing, cross-domain and cross-lingual emotion semantic parsing. Finally, a large language model (LLM) can achieve superior performance in nearly all downstream tasks including our task, attributed to their ability to introduce rich knowledge learned during the pretraining stage for our proposed task. For open-source large language models like LLaMA (Touvron et al., 2023), limitations include high computational costs, high-quality data costs, as well as the need to address LLM-related issues such as safety, hallucinations, and ethical concerns, which remain to be resolved in future work.",
1472
+ "bbox": [
1473
+ 112,
1474
+ 316,
1475
+ 492,
1476
+ 623
1477
+ ],
1478
+ "page_idx": 8
1479
+ },
1480
+ {
1481
+ "type": "text",
1482
+ "text": "Acknowledgements",
1483
+ "text_level": 1,
1484
+ "bbox": [
1485
+ 114,
1486
+ 634,
1487
+ 285,
1488
+ 651
1489
+ ],
1490
+ "page_idx": 8
1491
+ },
1492
+ {
1493
+ "type": "text",
1494
+ "text": "We would like to thank Shufan Fu for her invaluable advice and assistance with the experiments during this work. We also gratefully thank the anonymous reviewers for their insightful and valuable comments. This work is supported by the National Natural Science Foundation of China (No. 62076175, No.61976146), and Jiangsu Innovation Doctor Plan.",
1495
+ "bbox": [
1496
+ 112,
1497
+ 661,
1498
+ 489,
1499
+ 789
1500
+ ],
1501
+ "page_idx": 8
1502
+ },
1503
+ {
1504
+ "type": "text",
1505
+ "text": "References",
1506
+ "text_level": 1,
1507
+ "bbox": [
1508
+ 114,
1509
+ 818,
1510
+ 213,
1511
+ 832
1512
+ ],
1513
+ "page_idx": 8
1514
+ },
1515
+ {
1516
+ "type": "ref_text",
1517
+ "text": "Fadwa Alrowais, Noha Negm, Majdi Khalid, Nabil Almalki, Radwa Marzouk, Abdullah Mohamed, Mesfer Al Duhayyim, and Amani a Alneil. 2023. Modified earthworm optimization with deep learning assisted emotion recognition for human computer interface. IEEE Access, 11:35089-35096.",
1518
+ "bbox": [
1519
+ 115,
1520
+ 841,
1521
+ 489,
1522
+ 920
1523
+ ],
1524
+ "page_idx": 8
1525
+ },
1526
+ {
1527
+ "type": "list",
1528
+ "sub_type": "ref_text",
1529
+ "list_items": [
1530
+ "Nurudin Alvarez-Gonzalez, Andreas Kaltenbrunner, and Vicenç Gómez. 2021. Uncovering the limits of text-based emotion detection. In Findings of the Association for Computational Linguistics: EMNLP 2021, pages 2560-2583, Punta Cana, Dominican Republic. Association for Computational Linguistics.",
1531
+ "Alexandra Balahur, Jesús M. Hermida, Andres Montoyo, and Rafael Muñoz. 2011. Emotinet: A knowledge base for emotion detection in text built on the appraisal theories. In *Natural Language Processing and Information Systems*, pages 27-39, Berlin, Heidelberg. Springer Berlin Heidelberg.",
1532
+ "Laura Ana Maria Bostan, Evgeny Kim, and Roman Klinger. 2020. GoodNewsEveryone: A corpus of news headlines annotated with emotions, semantic roles, and reader perception. In Proceedings of the Twelfth Language Resources and Evaluation Conference, pages 1554-1566, Marseille, France. European Language Resources Association.",
1533
+ "Cesare Campagnano, Simone Conia, and Roberto Navigli. 2022. SRL4E – Semantic Role Labeling for Emotions: A Unified Evaluation Framework. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 4586–4601, Dublin, Ireland. Association for Computational Linguistics.",
1534
+ "Hao Chen, Zepeng Zhai, Fangxiang Feng, Ruifan Li, and Xiaojie Wang. 2022. Enhanced Multi-Channel Graph Convolutional Network for Aspect Sentiment Triplet Extraction. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 2974–2985, Dublin, Ireland. Association for Computational Linguistics.",
1535
+ "Xinhong Chen, Qing Li, and Jianping Wang. 2020. A unified sequence labeling model for emotion cause pair extraction. In Proceedings of the 28th International Conference on Computational Linguistics, pages 208-218, Barcelona, Spain (Online). International Committee on Computational Linguistics.",
1536
+ "Kalpana Chowdary, Tu Nguyen, and D. Hemanth. 2021. Deep learning-based facial emotion recognition for human-computer interaction applications. *Neural Computing and Applications*, pages 1-18.",
1537
+ "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.",
1538
+ "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."
1539
+ ],
1540
+ "bbox": [
1541
+ 510,
1542
+ 85,
1543
+ 884,
1544
+ 920
1545
+ ],
1546
+ "page_idx": 8
1547
+ },
1548
+ {
1549
+ "type": "page_number",
1550
+ "text": "45",
1551
+ "bbox": [
1552
+ 490,
1553
+ 928,
1554
+ 510,
1555
+ 940
1556
+ ],
1557
+ "page_idx": 8
1558
+ },
1559
+ {
1560
+ "type": "list",
1561
+ "sub_type": "ref_text",
1562
+ "list_items": [
1563
+ "Marwan Dhuheir, Abdullahif Albaseer, Emna Baccour, Aiman Erbad, Mohamed M. Abdallah, and Mounir Hamdi. 2021. Emotion recognition for healthcare surveillance systems using neural networks: A survey. CoRR, abs/2107.05989.",
1564
+ "Zixiang Ding, Rui Xia, and Jianfei Yu. 2020a. ECPE-2D: Emotion-cause pair extraction based on joint two-dimensional representation, interaction and prediction. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pages 3161-3170, Online. Association for Computational Linguistics.",
1565
+ "Zixiang Ding, Rui Xia, and Jianfei Yu. 2020b. End-to-end emotion-cause pair extraction based on sliding window multi-label learning. In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP), pages 3574-3583, Online. Association for Computational Linguistics.",
1566
+ "Fang Fang, Yin Zhou, Shi Ying, and Zhijuan Li. 2023. A study of the ping an health app based on user reviews with sentiment analysis. International Journal of Environmental Research and Public Health, 20(2):1591.",
1567
+ "Jonas Groschwitz, Shay Cohen, Lucia Donatelli, and Meaghan Fowlie. 2023. AMR parsing is far from solved: GrAPES, the granular AMR parsing evaluation suite. In Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing, pages 10728-10752, Singapore. Association for Computational Linguistics.",
1568
+ "Xiaojie Gu, Renze Lou, Lin Sun, and Shangxin Li. 2023. Page: A position-aware graph-based model for emotion cause entailment in conversation. In ICASSP 2023 - 2023 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pages 1-5.",
1569
+ "Dou Hu, Lingwei Wei, and Xiaoyong Huai. 2021. DialogueCRN: Contextual reasoning networks for emotion recognition in conversations. 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 7042-7052, Online. Association for Computational Linguistics.",
1570
+ "Evgeny Kim and Roman Klinger. 2018. Who feels what and why? annotation of a literature corpus with semantic roles of emotions. In Proceedings of the 27th International Conference on Computational Linguistics, pages 1345-1359, Santa Fe, New Mexico, USA. Association for Computational Linguistics.",
1571
+ "Pan Li, Ping Li, and Kai Zhang. 2023. Dual-channel span for aspect sentiment triplet extraction. In Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing, pages 248-261, Singapore. Association for Computational Linguistics."
1572
+ ],
1573
+ "bbox": [
1574
+ 115,
1575
+ 85,
1576
+ 489,
1577
+ 917
1578
+ ],
1579
+ "page_idx": 9
1580
+ },
1581
+ {
1582
+ "type": "list",
1583
+ "sub_type": "ref_text",
1584
+ "list_items": [
1585
+ "Ilya Loshchilov and Frank Hutter. Decoupled weight decay regularization. In International Conference on Learning Representations.",
1586
+ "Navonil Majumder, Soujanya Poria, Devamanyu Hazarika, Rada Mihalcea, Alexander Gelbukh, and Erik Cambria. 2019. Dialoguernn: An attentive rnn for emotion detection in conversations. Proceedings of the AAAI Conference on Artificial Intelligence, 33(01):6818-6825.",
1587
+ "Saif M. Mohammad, Xiaodan Zhu, Svetlana Kiritchenko, and Joel Martin. 2015. Sentiment, emotion, purpose, and style in electoral tweets. Information Processing Management, 51(4):480-499.",
1588
+ "Long Ouyang, Jeffrey Wu, Xu Jiang, Diogo Almeida, Carroll Wainwright, Pamela Mishkin, Chong Zhang, Sandhini Agarwal, Katarina Slama, Alex Ray, et al. 2022. Training language models to follow instructions with human feedback. Advances in Neural Information Processing Systems, 35:27730-27744.",
1589
+ "Gabriela Pavarini, Tessa Reardon, Anja Hollowell, Vanessa Bennett, Emma Lawrence, Peer Support Young People's Advisory Group Brooks-Hall Ellie Foster-Estwick Ashley Juma Damian Omari Lewis Peter Power Lucy Rogers Maia, Vanessa Pifold, and Ilina Singh. 2023. Online peer support training to promote adolescents' emotional support skills, mental health and agency during covid-19: Randomised controlled trial and qualitative evaluation. European Child & Adolescent Psychiatry, 32(6):1119-1130.",
1590
+ "Robert Plutchik. 2001. The nature of emotions: Human emotions have deep evolutionary roots, a fact that may explain their complexity and provide tools for clinical practice. American Scientist, 89(4):344-350.",
1591
+ "Colin Raffel, Noam Shazeer, Adam Roberts, Katherine Lee, Sharan Narang, Michael Matena, Yanqi Zhou, Wei Li, and Peter J Liu. 2020. Exploring the limits of transfer learning with a unified text-to-text transformer. The Journal of Machine Learning Research, 21(1):5485-5551.",
1592
+ "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. arXiv preprint arXiv:2302.13971.",
1593
+ "Quan Tu, Yanran Li, Jianwei Cui, Bin Wang, Ji-Rong Wen, and Rui Yan. 2022. MISC: A mixed strategy-aware model integrating COMET for emotional support conversation. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 308-319, Dublin, Ireland. Association for Computational Linguistics.",
1594
+ "Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N Gomez, Lukasz Kaiser, and Illia Polosukhin. 2017. Attention is all"
1595
+ ],
1596
+ "bbox": [
1597
+ 510,
1598
+ 85,
1599
+ 882,
1600
+ 919
1601
+ ],
1602
+ "page_idx": 9
1603
+ },
1604
+ {
1605
+ "type": "page_number",
1606
+ "text": "46",
1607
+ "bbox": [
1608
+ 489,
1609
+ 928,
1610
+ 510,
1611
+ 940
1612
+ ],
1613
+ "page_idx": 9
1614
+ },
1615
+ {
1616
+ "type": "list",
1617
+ "sub_type": "ref_text",
1618
+ "list_items": [
1619
+ "you need. In Advances in Neural Information Processing Systems, volume 30. Curran Associates, Inc.",
1620
+ "Fanfan Wang, Jianfei Yu, and Rui Xia. 2023. Generative emotion cause triplet extraction in conversations with commonsense knowledge. In *Findings of the Association for Computational Linguistics: EMNLP* 2023, pages 3952-3963, Singapore. Association for Computational Linguistics.",
1621
+ "Rui Xia and Zixiang Ding. 2019. Emotion-cause pair extraction: A new task to emotion analysis in texts. In Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics, pages 1003–1012, Florence, Italy. Association for Computational Linguistics.",
1622
+ "Debin Xiao, Rui Xia, and Jianfei Yu. 2023. Emotion cause extraction on social media without human annotation. In *Findings of the Association for Computational Linguistics: ACL* 2023, pages 1455-1468, Toronto, Canada. Association for Computational Linguistics.",
1623
+ "Jianfei Yu, Luís Marujo, Jing Jiang, Pradeep Karuturi, and William Brendel. 2018. Improving multi-label emotion classification via sentiment classification with dual attention transfer network. In Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing, pages 1097-1102, Brussels, Belgium. Association for Computational Linguistics.",
1624
+ "Chaofa Yuan, Chuang Fan, Jianzhu Bao, and Ruifeng Xu. 2020. Emotion-cause pair extraction as sequence labeling based on a novel tagging scheme. In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP), pages 3568-3573, Online. Association for Computational Linguistics.",
1625
+ "Sourabh Zanwar, Xiaofei Li, Daniel Wiechmann, Yu Qiao, and Elma Kerz. 2023. What to fuse and how to fuse: Exploring emotion and personality fusion strategies for explainable mental disorder detection. In *Findings of the Association for Computational Linguistics: ACL* 2023, pages 8926-8940, Toronto, Canada. Association for Computational Linguistics.",
1626
+ "Zepeng Zhai, Hao Chen, Ruifan Li, and Xiaojie Wang. 2023. USSA: A unified table filling scheme for structured sentiment analysis. In Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 14340-14353, Toronto, Canada. Association for Computational Linguistics.",
1627
+ "Xiaopeng Zheng, Zhiyue Liu, Zizhen Zhang, Zhaoyang Wang, and Jiahai Wang. 2022. UECA-prompt: Universal prompt for emotion cause analysis. In Proceedings of the 29th International Conference on Computational Linguistics, pages 7031-7041, Gyeongju, Republic of Korea. International Committee on Computational Linguistics."
1628
+ ],
1629
+ "bbox": [
1630
+ 115,
1631
+ 85,
1632
+ 489,
1633
+ 901
1634
+ ],
1635
+ "page_idx": 10
1636
+ },
1637
+ {
1638
+ "type": "page_number",
1639
+ "text": "47",
1640
+ "bbox": [
1641
+ 489,
1642
+ 928,
1643
+ 510,
1644
+ 939
1645
+ ],
1646
+ "page_idx": 10
1647
+ }
1648
+ ]
2024/End-to-End Emotion Semantic Parsing/4ffbaf63-28e0-4983-95b1-695face241d4_model.json ADDED
@@ -0,0 +1,2191 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ [
3
+ {
4
+ "type": "title",
5
+ "bbox": [
6
+ 0.295,
7
+ 0.091,
8
+ 0.703,
9
+ 0.112
10
+ ],
11
+ "angle": 0,
12
+ "content": "End-to-End Emotion Semantic Parsing"
13
+ },
14
+ {
15
+ "type": "text",
16
+ "bbox": [
17
+ 0.265,
18
+ 0.146,
19
+ 0.738,
20
+ 0.163
21
+ ],
22
+ "angle": 0,
23
+ "content": "Xiaotong Jiang, Zhongqing Wang\\*, and Guodong Zhou"
24
+ },
25
+ {
26
+ "type": "text",
27
+ "bbox": [
28
+ 0.21,
29
+ 0.163,
30
+ 0.796,
31
+ 0.196
32
+ ],
33
+ "angle": 0,
34
+ "content": "\\(^{1}\\)Natural Language Processing Lab, Soochow University, Suzhou, China xtjiang21@stu.suda.edu.cn, {wangzq, gdzhou}@suda.edu.cn"
35
+ },
36
+ {
37
+ "type": "title",
38
+ "bbox": [
39
+ 0.261,
40
+ 0.262,
41
+ 0.341,
42
+ 0.276
43
+ ],
44
+ "angle": 0,
45
+ "content": "Abstract"
46
+ },
47
+ {
48
+ "type": "text",
49
+ "bbox": [
50
+ 0.142,
51
+ 0.289,
52
+ 0.461,
53
+ 0.588
54
+ ],
55
+ "angle": 0,
56
+ "content": "Emotion detection is the task of automatically associating one or more emotions with a text. The emotions are experienced, targeted, and caused by different semantic constituents. Therefore, it is necessary to incorporate these semantic constituents into the process of emotion detection. In this study, we propose a new task called emotion semantic parsing which aims to parse the emotion and semantic constituents into an abstract semantic tree structure. In particular, we design an end-to-end generation model to capture the relations between emotion and all the semantic constituents, and to generate them jointly. Furthermore, we employ a task decomposition strategy to capture the semantic relation among these constituents in a more cognitive and structural way. Experimental results demonstrate the importance of the proposed task, and indicate the proposed model gives superior performance compared to other models."
57
+ },
58
+ {
59
+ "type": "title",
60
+ "bbox": [
61
+ 0.115,
62
+ 0.601,
63
+ 0.26,
64
+ 0.616
65
+ ],
66
+ "angle": 0,
67
+ "content": "1 Introduction"
68
+ },
69
+ {
70
+ "type": "text",
71
+ "bbox": [
72
+ 0.113,
73
+ 0.627,
74
+ 0.49,
75
+ 0.834
76
+ ],
77
+ "angle": 0,
78
+ "content": "The goal of emotion detection is to automatically detect or categorize the emotional states of human according to some inputs. Nowadays, emotion detection can be found in a broad range of applications, including but not limited to emotional support (Tu et al., 2022; Pavarini et al., 2023), human-computer interaction (Chowdary et al., 2021; Alrowais et al., 2023) and healthcare surveillance (Dhuheir et al., 2021; Fang et al., 2023). Henceforth, emotion detection has attracted increasing attention from both research community and industry in recent years (Hu et al., 2021; Zanwar et al., 2023)."
79
+ },
80
+ {
81
+ "type": "text",
82
+ "bbox": [
83
+ 0.113,
84
+ 0.836,
85
+ 0.49,
86
+ 0.9
87
+ ],
88
+ "angle": 0,
89
+ "content": "In literature, most studies focus on detecting emotion from the given text. For example, feature-based works (Balahur et al., 2011) and deep learning approaches, including RNNs (Majumder et al.,"
90
+ },
91
+ {
92
+ "type": "image_caption",
93
+ "bbox": [
94
+ 0.569,
95
+ 0.262,
96
+ 0.81,
97
+ 0.284
98
+ ],
99
+ "angle": 0,
100
+ "content": "He clenched his fists as he watched the bully taunt his little brother."
101
+ },
102
+ {
103
+ "type": "image",
104
+ "bbox": [
105
+ 0.547,
106
+ 0.288,
107
+ 0.85,
108
+ 0.449
109
+ ],
110
+ "angle": 0,
111
+ "content": null
112
+ },
113
+ {
114
+ "type": "image_caption",
115
+ "bbox": [
116
+ 0.545,
117
+ 0.465,
118
+ 0.848,
119
+ 0.48
120
+ ],
121
+ "angle": 0,
122
+ "content": "Figure 1: Example of abstract semantic tree."
123
+ },
124
+ {
125
+ "type": "text",
126
+ "bbox": [
127
+ 0.508,
128
+ 0.512,
129
+ 0.885,
130
+ 0.656
131
+ ],
132
+ "angle": 0,
133
+ "content": "2019), Transformers (Yu et al., 2018), and pretrained language models (Zheng et al., 2022; Zanwar et al., 2023) are used in emotion detection. Nevertheless, over the past few years, numerous studies (Xia and Ding, 2019; Kim and Klinger, 2018; Campagnano et al., 2022) have indicated that the emotions may be experienced, targeted, and/or caused by different semantic constituents, and can be linked to form abstract semantic structures."
134
+ },
135
+ {
136
+ "type": "text",
137
+ "bbox": [
138
+ 0.508,
139
+ 0.661,
140
+ 0.885,
141
+ 0.901
142
+ ],
143
+ "angle": 0,
144
+ "content": "However, most existing works only take \"cause\" into consideration, neglecting the intricate relationships between emotion constituents, such as the strong relationship between trigger and emotion, as well as the similarity of sentiment and emotion labels. This limitation makes acquiring a nuanced understanding of the interplay between emotion and semantic constituents challenging, thereby hindering the model's capability to thoroughly comprehend emotional expression. By addressing these complexities, we believe it can serve as a foundational component for improving results in downstream real-world tasks by providing a more comprehensive understanding of emotional dynamics and their influence."
145
+ },
146
+ {
147
+ "type": "text",
148
+ "bbox": [
149
+ 0.527,
150
+ 0.906,
151
+ 0.883,
152
+ 0.922
153
+ ],
154
+ "angle": 0,
155
+ "content": "To tackle the above problem, we propose a new"
156
+ },
157
+ {
158
+ "type": "page_footnote",
159
+ "bbox": [
160
+ 0.142,
161
+ 0.907,
162
+ 0.295,
163
+ 0.921
164
+ ],
165
+ "angle": 0,
166
+ "content": "* Corresponding author"
167
+ },
168
+ {
169
+ "type": "page_number",
170
+ "bbox": [
171
+ 0.49,
172
+ 0.928,
173
+ 0.511,
174
+ 0.94
175
+ ],
176
+ "angle": 0,
177
+ "content": "37"
178
+ },
179
+ {
180
+ "type": "footer",
181
+ "bbox": [
182
+ 0.245,
183
+ 0.946,
184
+ 0.754,
185
+ 0.973
186
+ ],
187
+ "angle": 0,
188
+ "content": "Findings of the Association for Computational Linguistics: ACL 2024, pages 37-47 August 11-16, 2024 ©2024 Association for Computational Linguistics"
189
+ }
190
+ ],
191
+ [
192
+ {
193
+ "type": "text",
194
+ "bbox": [
195
+ 0.113,
196
+ 0.085,
197
+ 0.493,
198
+ 0.278
199
+ ],
200
+ "angle": 0,
201
+ "content": "task called emotion semantic parsing which aims to parse the emotion and semantic constituents into an abstract semantic tree structure. In this work, we consider five emotion-related semantic constituents into this task, including emotion, sentiment, trigger, holder, and target. As shown in Figure 1, emotion and sentiment refer to the specific emotion and sentiment labels of the sentence; trigger refers to a trigger word or expression that describes an emotion; and the constituents of holder and target correspond to the person or entities towards whom or from whom the emotion is directed, respectively."
202
+ },
203
+ {
204
+ "type": "text",
205
+ "bbox": [
206
+ 0.113,
207
+ 0.279,
208
+ 0.492,
209
+ 0.713
210
+ ],
211
+ "angle": 0,
212
+ "content": "Moreover, we use the form of the abstract semantic tree structure to model the relationship between these constituents, we use the Trigger node to represent the whole abstract semantic tree, and we use the virtual Feelings and Entities nodes to compass other constituent nodes. The tree structure can be considered as a semantic representation in order to better represent the structure of the emotion-related constituents. As shown in Figure 1, the tree structure models a sentence using a rooted directed acyclic graph, highlighting its main elements (e.g. emotion, triggers) and semantic relations. It can thus potentially reveal a more comprehensive and complete semantic structure for extracting these constituents. Furthermore, since the emotion and semantic constituents are correlated in the form of the abstract semantic tree structure, we design an end-to-end generative model to predict them jointly. Specifically, our proposed model begins by decomposing the original task into several sub-tasks, as shown in Figure 2. Subsequently, the proposed model utilizes template-based prompt learning to extract each semantic constituent and semantic constituents pair separately for each sub-tasks. Finally, the proposed model leverages the acquired knowledge from sub-tasks to generate all semantic constituents in the main task."
213
+ },
214
+ {
215
+ "type": "text",
216
+ "bbox": [
217
+ 0.113,
218
+ 0.715,
219
+ 0.491,
220
+ 0.83
221
+ ],
222
+ "angle": 0,
223
+ "content": "We conducted extensive experiments on the unified benchmark. Experimental results demonstrate the importance of the proposed task, and indicate the proposed model gives superior performance compared to other models. Further analysis shows the effect of the proposed abstract semantic tree structure and decomposition strategies."
224
+ },
225
+ {
226
+ "type": "title",
227
+ "bbox": [
228
+ 0.114,
229
+ 0.845,
230
+ 0.281,
231
+ 0.86
232
+ ],
233
+ "angle": 0,
234
+ "content": "2 Related Works"
235
+ },
236
+ {
237
+ "type": "text",
238
+ "bbox": [
239
+ 0.113,
240
+ 0.874,
241
+ 0.491,
242
+ 0.922
243
+ ],
244
+ "angle": 0,
245
+ "content": "In the domain of emotion analysis, previous studies have mainly focused on text-based emotion detection. Early feature-based work often relied on"
246
+ },
247
+ {
248
+ "type": "text",
249
+ "bbox": [
250
+ 0.508,
251
+ 0.085,
252
+ 0.887,
253
+ 0.277
254
+ ],
255
+ "angle": 0,
256
+ "content": "traditional machine learning algorithms and manually crafted word-level emotion lexicons (Balahure et al., 2011). As deep neural networks progressed, emotion detection methods began utilizing various networks, such as RNNs (Majumder et al., 2019) and Transformers (Vaswani et al., 2017; Yu et al., 2018), to learn the emotion-related representation for detection. Recently, pre-trained language models (Devlin et al., 2019; Raffel et al., 2020) have dominated this area with its flexibility and rich internal knowledge (Alvarez-Gonzalez et al., 2021; Zheng et al., 2022)."
257
+ },
258
+ {
259
+ "type": "text",
260
+ "bbox": [
261
+ 0.508,
262
+ 0.279,
263
+ 0.886,
264
+ 0.618
265
+ ],
266
+ "angle": 0,
267
+ "content": "The emotions are not expressed individually, and can be experienced, targeted, and caused by different semantic constituents (Xia and Ding, 2019; Xiao et al., 2023; Campagnano et al., 2022). Most recent studies focus on emotion cause extraction task (Xia and Ding, 2019; Wang et al., 2023; Gu et al., 2023), with the goal of extracting the potential pairs of emotions and corresponding causes in the document and conversation scenario. Many end-to-end approaches have been proposed. These works can be broadly categorized into two main groups: some focus on multi-task learning (Ding et al., 2020a,b; Chen et al., 2022), while others transform the original task into a unified sequence labeling problem (Yuan et al., 2020; Chen et al., 2020). Recently, Xiao et al. (2023) developed a rule-based system to extract emotion causes on social media from constituency parsing trees. Wang et al. (2023) proposed emotion cause triplet extraction to extract emotion-cause-category triplets for fine-grained emotion cause analysis."
268
+ },
269
+ {
270
+ "type": "text",
271
+ "bbox": [
272
+ 0.508,
273
+ 0.619,
274
+ 0.886,
275
+ 0.749
276
+ ],
277
+ "angle": 0,
278
+ "content": "Different from prior studies, we introduce a novel task, termed emotion semantic parsing. This task seeks to comprehensively examine the impact of various semantic constituents on emotional expressions. To achieve this, we develop an end-to-end generative model specifically designed to capture the intricate relationships between emotion and a wide range of semantic constituents."
279
+ },
280
+ {
281
+ "type": "title",
282
+ "bbox": [
283
+ 0.509,
284
+ 0.764,
285
+ 0.663,
286
+ 0.78
287
+ ],
288
+ "angle": 0,
289
+ "content": "3 Preliminaries"
290
+ },
291
+ {
292
+ "type": "text",
293
+ "bbox": [
294
+ 0.508,
295
+ 0.793,
296
+ 0.886,
297
+ 0.922
298
+ ],
299
+ "angle": 0,
300
+ "content": "As shown in Figure 2, we introduce a novel task termed emotion semantic parsing. This task focuses on the generation of an abstract semantic tree structure that encapsulates both emotion and semantic constituents. To achieve this, we develop an end-to-end generative model specifically tailored for the generation of the abstract semantic tree structure. Our proposed model adopts a"
301
+ },
302
+ {
303
+ "type": "page_number",
304
+ "bbox": [
305
+ 0.491,
306
+ 0.929,
307
+ 0.511,
308
+ 0.941
309
+ ],
310
+ "angle": 0,
311
+ "content": "38"
312
+ }
313
+ ],
314
+ [
315
+ {
316
+ "type": "text",
317
+ "bbox": [
318
+ 0.113,
319
+ 0.085,
320
+ 0.488,
321
+ 0.196
322
+ ],
323
+ "angle": 0,
324
+ "content": "decomposition-based strategy, breaking down the complex task into several more manageable subtasks. Specifically, our proposed model begins by decomposing the original task into several subtasks. Finally, the proposed model leverages the acquired knowledge from sub-tasks to generate all semantic constituents in the main task."
325
+ },
326
+ {
327
+ "type": "text",
328
+ "bbox": [
329
+ 0.113,
330
+ 0.198,
331
+ 0.49,
332
+ 0.293
333
+ ],
334
+ "angle": 0,
335
+ "content": "In this section, we introduce two important issues of this task: abstract semantic tree construction and the abstract semantic tree parsing model. The decomposition-based strategy for abstract semantic tree parsing will be discussed in the next section."
336
+ },
337
+ {
338
+ "type": "title",
339
+ "bbox": [
340
+ 0.114,
341
+ 0.305,
342
+ 0.453,
343
+ 0.319
344
+ ],
345
+ "angle": 0,
346
+ "content": "3.1 Abstract Semantic Tree Construction"
347
+ },
348
+ {
349
+ "type": "text",
350
+ "bbox": [
351
+ 0.113,
352
+ 0.325,
353
+ 0.49,
354
+ 0.468
355
+ ],
356
+ "angle": 0,
357
+ "content": "Inspired by the widespread impact of tree structures in parsing tasks (Li et al., 2023; Groschwitz et al., 2023), we represent the relationships among multiple constituents in a tree structure. This approach allows us to capture the complex dynamics inherent in emotional expression. We first introduce the constituents in the abstract semantic tree, then we describe the construction process of the tree."
358
+ },
359
+ {
360
+ "type": "title",
361
+ "bbox": [
362
+ 0.114,
363
+ 0.478,
364
+ 0.406,
365
+ 0.492
366
+ ],
367
+ "angle": 0,
368
+ "content": "Definitions of Semantic Constituents"
369
+ },
370
+ {
371
+ "type": "text",
372
+ "bbox": [
373
+ 0.113,
374
+ 0.497,
375
+ 0.49,
376
+ 0.545
377
+ ],
378
+ "angle": 0,
379
+ "content": "There are five types of semantic constituents, each serving as a node in the abstract semantic tree. Their definitions are provided below:"
380
+ },
381
+ {
382
+ "type": "text",
383
+ "bbox": [
384
+ 0.137,
385
+ 0.553,
386
+ 0.488,
387
+ 0.601
388
+ ],
389
+ "angle": 0,
390
+ "content": "- Emotion is the specific emotion label represented from the original text. In this study, we use Plutchik (2001)'s taxonomy of emotion."
391
+ },
392
+ {
393
+ "type": "text",
394
+ "bbox": [
395
+ 0.137,
396
+ 0.611,
397
+ 0.49,
398
+ 0.658
399
+ ],
400
+ "angle": 0,
401
+ "content": "- Sentiment is the specific sentiment label represented from the original text, including \"positive\", \"negative\", and \"neutral\"."
402
+ },
403
+ {
404
+ "type": "text",
405
+ "bbox": [
406
+ 0.137,
407
+ 0.668,
408
+ 0.488,
409
+ 0.701
410
+ ],
411
+ "angle": 0,
412
+ "content": "- Trigger refers to a trigger word or expression that describes an emotion, even if it is implicit."
413
+ },
414
+ {
415
+ "type": "text",
416
+ "bbox": [
417
+ 0.137,
418
+ 0.71,
419
+ 0.488,
420
+ 0.757
421
+ ],
422
+ "angle": 0,
423
+ "content": "- Holder refers to a person or entity that feels or experiences the emotion identified by the trigger."
424
+ },
425
+ {
426
+ "type": "text",
427
+ "bbox": [
428
+ 0.137,
429
+ 0.767,
430
+ 0.488,
431
+ 0.814
432
+ ],
433
+ "angle": 0,
434
+ "content": "- Target refers to a person or entity towards whom/which the emotion identified by the trigger is directed."
435
+ },
436
+ {
437
+ "type": "list",
438
+ "bbox": [
439
+ 0.137,
440
+ 0.553,
441
+ 0.49,
442
+ 0.814
443
+ ],
444
+ "angle": 0,
445
+ "content": null
446
+ },
447
+ {
448
+ "type": "title",
449
+ "bbox": [
450
+ 0.114,
451
+ 0.823,
452
+ 0.345,
453
+ 0.837
454
+ ],
455
+ "angle": 0,
456
+ "content": "Process of Tree Construction"
457
+ },
458
+ {
459
+ "type": "text",
460
+ "bbox": [
461
+ 0.113,
462
+ 0.842,
463
+ 0.49,
464
+ 0.92
465
+ ],
466
+ "angle": 0,
467
+ "content": "As shown in Figure 1, the abstract semantic tree represents a sentence through a rooted directed acyclic graph utilizing the aforementioned semantic constituents. The construction process is outlined below:"
468
+ },
469
+ {
470
+ "type": "text",
471
+ "bbox": [
472
+ 0.532,
473
+ 0.085,
474
+ 0.883,
475
+ 0.134
476
+ ],
477
+ "angle": 0,
478
+ "content": "- We take the \"Trigger\" node as the root node, since it is the most important constituent in the emotion parsing."
479
+ },
480
+ {
481
+ "type": "text",
482
+ "bbox": [
483
+ 0.532,
484
+ 0.146,
485
+ 0.885,
486
+ 0.178
487
+ ],
488
+ "angle": 0,
489
+ "content": "- The virtual nodes \"Feelings\" and \"Entities\" are linked to Trigger node."
490
+ },
491
+ {
492
+ "type": "text",
493
+ "bbox": [
494
+ 0.532,
495
+ 0.19,
496
+ 0.885,
497
+ 0.253
498
+ ],
499
+ "angle": 0,
500
+ "content": "- The \"Sentiment\" and \"Emotion\" are linked to \"Feelings\" as terminal nodes, while the \"Holder\" and \"Target\" are linked to \"Entities\" node."
501
+ },
502
+ {
503
+ "type": "list",
504
+ "bbox": [
505
+ 0.532,
506
+ 0.085,
507
+ 0.885,
508
+ 0.253
509
+ ],
510
+ "angle": 0,
511
+ "content": null
512
+ },
513
+ {
514
+ "type": "text",
515
+ "bbox": [
516
+ 0.508,
517
+ 0.268,
518
+ 0.885,
519
+ 0.379
520
+ ],
521
+ "angle": 0,
522
+ "content": "As Figure 1 shows, the trigger \"clenched his fists\" implies the author's emotion. The holder and target are \"he\" and \"the bully taunt his little brother\", respectively. By leveraging these emotion-related semantic constituents, the model can accurately predict the \"anger\" emotion and \"negative\" polarity of the sentence."
523
+ },
524
+ {
525
+ "type": "title",
526
+ "bbox": [
527
+ 0.509,
528
+ 0.393,
529
+ 0.78,
530
+ 0.408
531
+ ],
532
+ "angle": 0,
533
+ "content": "3.2 Basic Semantic Tree Parsing"
534
+ },
535
+ {
536
+ "type": "text",
537
+ "bbox": [
538
+ 0.508,
539
+ 0.415,
540
+ 0.884,
541
+ 0.509
542
+ ],
543
+ "angle": 0,
544
+ "content": "After we construct the abstract semantic tree, we then employ a generative model to parse the emotion and all the semantic constituents into a linearized tree structure. As shown in Figure 2, given an input text, the output can be represented as a linearized semantic tree."
545
+ },
546
+ {
547
+ "type": "text",
548
+ "bbox": [
549
+ 0.508,
550
+ 0.512,
551
+ 0.884,
552
+ 0.623
553
+ ],
554
+ "angle": 0,
555
+ "content": "We adopt the pre-trained language model T5 (Chung et al., 2022) as our transformer-based encoder-decoder architecture. Therefore, by formulating parsing tasks as a text generation problem, we can tackle them in a unified sequence-to-sequence framework without a task-specific model design."
556
+ },
557
+ {
558
+ "type": "text",
559
+ "bbox": [
560
+ 0.508,
561
+ 0.625,
562
+ 0.883,
563
+ 0.785
564
+ ],
565
+ "angle": 0,
566
+ "content": "The main challenge of emotion semantic parsing is the complex structure inherently in the emotional expression. Specifically, the complex structure will bring out two challenges: First, the large number of semantic constituents raises the complexity to the parsing task. Consequently, the precise extraction of every constituent becomes challenging yet indispensable. Second, effectively modeling these internal relationships also presents a significant challenge in the task."
567
+ },
568
+ {
569
+ "type": "title",
570
+ "bbox": [
571
+ 0.509,
572
+ 0.799,
573
+ 0.857,
574
+ 0.832
575
+ ],
576
+ "angle": 0,
577
+ "content": "4 Decomposition-based Semantic Tree Parsing Model"
578
+ },
579
+ {
580
+ "type": "text",
581
+ "bbox": [
582
+ 0.508,
583
+ 0.842,
584
+ 0.884,
585
+ 0.922
586
+ ],
587
+ "angle": 0,
588
+ "content": "In this study, we propose a decomposed-based generative model to tackle the above challenges. The motivation is to alleviate the complexity of the original task by decomposing it into several sub-tasks. As shown in Figure 2, our proposed model can be"
589
+ },
590
+ {
591
+ "type": "page_number",
592
+ "bbox": [
593
+ 0.491,
594
+ 0.929,
595
+ 0.511,
596
+ 0.941
597
+ ],
598
+ "angle": 0,
599
+ "content": "39"
600
+ }
601
+ ],
602
+ [
603
+ {
604
+ "type": "image",
605
+ "bbox": [
606
+ 0.178,
607
+ 0.082,
608
+ 0.825,
609
+ 0.33
610
+ ],
611
+ "angle": 0,
612
+ "content": null
613
+ },
614
+ {
615
+ "type": "image_caption",
616
+ "bbox": [
617
+ 0.35,
618
+ 0.338,
619
+ 0.645,
620
+ 0.353
621
+ ],
622
+ "angle": 0,
623
+ "content": "Figure 2: Overview of the proposed model."
624
+ },
625
+ {
626
+ "type": "image",
627
+ "bbox": [
628
+ 0.137,
629
+ 0.379,
630
+ 0.47,
631
+ 0.63
632
+ ],
633
+ "angle": 0,
634
+ "content": null
635
+ },
636
+ {
637
+ "type": "image_caption",
638
+ "bbox": [
639
+ 0.114,
640
+ 0.645,
641
+ 0.49,
642
+ 0.701
643
+ ],
644
+ "angle": 0,
645
+ "content": "Figure 3: Examples of task decomposition strategies. Due to the space limit, prompt texts in this figure are shortened. Original prompt texts are presented in Section 4.1."
646
+ },
647
+ {
648
+ "type": "text",
649
+ "bbox": [
650
+ 0.113,
651
+ 0.761,
652
+ 0.49,
653
+ 0.922
654
+ ],
655
+ "angle": 0,
656
+ "content": "separated into two stages: decomposition and recomposition. Our model firstly breaks down the original abstract semantic parsing task into several sub-tasks, and then designs individual instruction-based templates for each task. All sub-tasks are fine-tuned by a generative backbone at the same time. Based on the model parameters from the last re-composition stage, our model further finetunes its parameters again with the original task, which involves jointly parsing all semantic constituents."
657
+ },
658
+ {
659
+ "type": "title",
660
+ "bbox": [
661
+ 0.509,
662
+ 0.378,
663
+ 0.785,
664
+ 0.394
665
+ ],
666
+ "angle": 0,
667
+ "content": "4.1 Task Decomposition Strategy"
668
+ },
669
+ {
670
+ "type": "text",
671
+ "bbox": [
672
+ 0.508,
673
+ 0.399,
674
+ 0.885,
675
+ 0.527
676
+ ],
677
+ "angle": 0,
678
+ "content": "To implement a generalized framework that is applicable to all tasks, we design templates for each individual task. The input template for each task comprises the task-specific instruction, and the original text to be parsed. The output template for each task is the sub-tree containing the constituents to be parsed. The following templates use the example in Figure 2 as the Original Text."
679
+ },
680
+ {
681
+ "type": "text",
682
+ "bbox": [
683
+ 0.508,
684
+ 0.528,
685
+ 0.884,
686
+ 0.592
687
+ ],
688
+ "angle": 0,
689
+ "content": "Mono Parsing includes trigger, emotion, sentiment, holder, and target parsing, individually. As shown in Figure 3(a), these sub-tasks aim to capture each specific constituent:"
690
+ },
691
+ {
692
+ "type": "text",
693
+ "bbox": [
694
+ 0.545,
695
+ 0.601,
696
+ 0.848,
697
+ 0.631
698
+ ],
699
+ "angle": 0,
700
+ "content": "//taking emotion parsing task as an example"
701
+ },
702
+ {
703
+ "type": "text",
704
+ "bbox": [
705
+ 0.545,
706
+ 0.636,
707
+ 0.845,
708
+ 0.668
709
+ ],
710
+ "angle": 0,
711
+ "content": "INPUT Detect the emotion label in the emotional expression: + Original Text"
712
+ },
713
+ {
714
+ "type": "text",
715
+ "bbox": [
716
+ 0.546,
717
+ 0.673,
718
+ 0.75,
719
+ 0.689
720
+ ],
721
+ "angle": 0,
722
+ "content": "Output [Emotion (Anger)]"
723
+ },
724
+ {
725
+ "type": "text",
726
+ "bbox": [
727
+ 0.508,
728
+ 0.696,
729
+ 0.885,
730
+ 0.792
731
+ ],
732
+ "angle": 0,
733
+ "content": "Trigger-related Pair Parsing includes trigger-emotion, trigger-sentiment, trigger-holder, trigger-target, trigger-feelings, and trigger-entities. As shown in Figure 3(b), these sub-tasks aim to capture the relationship between the trigger and each specific constituent:"
734
+ },
735
+ {
736
+ "type": "text",
737
+ "bbox": [
738
+ 0.545,
739
+ 0.8,
740
+ 0.845,
741
+ 0.832
742
+ ],
743
+ "angle": 0,
744
+ "content": "//taking trigger-holder parsing task as an example"
745
+ },
746
+ {
747
+ "type": "text",
748
+ "bbox": [
749
+ 0.545,
750
+ 0.837,
751
+ 0.846,
752
+ 0.883
753
+ ],
754
+ "angle": 0,
755
+ "content": "INPUT Extract both the trigger and holder in the emotional expression: + Original Text"
756
+ },
757
+ {
758
+ "type": "text",
759
+ "bbox": [
760
+ 0.545,
761
+ 0.89,
762
+ 0.848,
763
+ 0.922
764
+ ],
765
+ "angle": 0,
766
+ "content": "Output [Trigger (clench his fists), [Entities, [Holder (he)]]]"
767
+ },
768
+ {
769
+ "type": "page_number",
770
+ "bbox": [
771
+ 0.49,
772
+ 0.929,
773
+ 0.512,
774
+ 0.941
775
+ ],
776
+ "angle": 0,
777
+ "content": "40"
778
+ }
779
+ ],
780
+ [
781
+ {
782
+ "type": "text",
783
+ "bbox": [
784
+ 0.113,
785
+ 0.085,
786
+ 0.49,
787
+ 0.182
788
+ ],
789
+ "angle": 0,
790
+ "content": "Entities Pair Parsing aims to capture the relationship between holder and target, and can gain insights into the interpersonal dynamics and relational aspects that influence emotional experiences. The example is shown in Figure 3(c), with the template of prompt provided below:"
791
+ },
792
+ {
793
+ "type": "text",
794
+ "bbox": [
795
+ 0.15,
796
+ 0.195,
797
+ 0.452,
798
+ 0.242
799
+ ],
800
+ "angle": 0,
801
+ "content": "INPUT Extract both holder and target in the emotional expression: + Original Text"
802
+ },
803
+ {
804
+ "type": "text",
805
+ "bbox": [
806
+ 0.15,
807
+ 0.25,
808
+ 0.453,
809
+ 0.282
810
+ ],
811
+ "angle": 0,
812
+ "content": "Output [Entities, [Holder (he), Target (the bully taunt his little brother) ]]"
813
+ },
814
+ {
815
+ "type": "text",
816
+ "bbox": [
817
+ 0.113,
818
+ 0.296,
819
+ 0.49,
820
+ 0.36
821
+ ],
822
+ "angle": 0,
823
+ "content": "Feelings Pair Parsing aims to capture the relationship between sentiment and emotion. The example is shown in Figure 3(d), with the template of prompt provided below:"
824
+ },
825
+ {
826
+ "type": "text",
827
+ "bbox": [
828
+ 0.149,
829
+ 0.374,
830
+ 0.454,
831
+ 0.422
832
+ ],
833
+ "angle": 0,
834
+ "content": "INPUT Extract both the emotion and sentiment labels in the emotional expression: + Original Text"
835
+ },
836
+ {
837
+ "type": "text",
838
+ "bbox": [
839
+ 0.15,
840
+ 0.429,
841
+ 0.454,
842
+ 0.461
843
+ ],
844
+ "angle": 0,
845
+ "content": "Output [Feelings, [Emotion (Anger), Sentiment (Negative) ]]"
846
+ },
847
+ {
848
+ "type": "title",
849
+ "bbox": [
850
+ 0.114,
851
+ 0.474,
852
+ 0.398,
853
+ 0.491
854
+ ],
855
+ "angle": 0,
856
+ "content": "4.2 Task Re-composition Strategy"
857
+ },
858
+ {
859
+ "type": "text",
860
+ "bbox": [
861
+ 0.113,
862
+ 0.496,
863
+ 0.49,
864
+ 0.641
865
+ ],
866
+ "angle": 0,
867
+ "content": "After gaining knowledge from sub-tasks, the model has learned the pattern of the template and the relationships from different emotion-related semantic constituents. Thus it can boost the final end-to-end emotion semantic parsing task, which is to predict the emotion label and outputs all emotion-related semantic constituents in the form of an abstract semantic tree. The example is shown in Figure 2, and the template of prompt is the below:"
868
+ },
869
+ {
870
+ "type": "text",
871
+ "bbox": [
872
+ 0.15,
873
+ 0.655,
874
+ 0.454,
875
+ 0.717
876
+ ],
877
+ "angle": 0,
878
+ "content": "INPUT Extract emotion trigger, holder, target, and emotion and sentiment labels in the emotional expression: + Original Text"
879
+ },
880
+ {
881
+ "type": "text",
882
+ "bbox": [
883
+ 0.15,
884
+ 0.726,
885
+ 0.454,
886
+ 0.79
887
+ ],
888
+ "angle": 0,
889
+ "content": "Output [Trigger (clenched his fists), Feelings, [Emotion (Anger), Sentiment (Negative)]], [Entities, [Holder (he), Target (the bully taunt his little brother) ]]"
890
+ },
891
+ {
892
+ "type": "title",
893
+ "bbox": [
894
+ 0.114,
895
+ 0.803,
896
+ 0.427,
897
+ 0.82
898
+ ],
899
+ "angle": 0,
900
+ "content": "4.3 Objective Functions and Training"
901
+ },
902
+ {
903
+ "type": "text",
904
+ "bbox": [
905
+ 0.113,
906
+ 0.825,
907
+ 0.487,
908
+ 0.857
909
+ ],
910
+ "angle": 0,
911
+ "content": "In this subsection, we show the objective functions and training process of the proposed model."
912
+ },
913
+ {
914
+ "type": "text",
915
+ "bbox": [
916
+ 0.113,
917
+ 0.858,
918
+ 0.49,
919
+ 0.921
920
+ ],
921
+ "angle": 0,
922
+ "content": "The goal is to maximize the output linearized tree \\( X_{T} \\) probability given the sentence \\( X \\). Therefore, we optimize the negative log-likelihood loss function:"
923
+ },
924
+ {
925
+ "type": "table",
926
+ "bbox": [
927
+ 0.577,
928
+ 0.082,
929
+ 0.819,
930
+ 0.219
931
+ ],
932
+ "angle": 0,
933
+ "content": "<table><tr><td></td><td>Amount</td></tr><tr><td>#Sample</td><td>7,234</td></tr><tr><td>Avg. Sent Len.</td><td>26.3</td></tr><tr><td>#Emotion Labels</td><td>9</td></tr><tr><td>#Sentiment Label</td><td>3</td></tr><tr><td>#Trigger</td><td>7,111</td></tr><tr><td>#Holder</td><td>5,633</td></tr><tr><td>#Target</td><td>6,127</td></tr></table>"
934
+ },
935
+ {
936
+ "type": "table_caption",
937
+ "bbox": [
938
+ 0.586,
939
+ 0.228,
940
+ 0.805,
941
+ 0.241
942
+ ],
943
+ "angle": 0,
944
+ "content": "Table 1: Distribution of dataset."
945
+ },
946
+ {
947
+ "type": "equation",
948
+ "bbox": [
949
+ 0.562,
950
+ 0.289,
951
+ 0.884,
952
+ 0.33
953
+ ],
954
+ "angle": 0,
955
+ "content": "\\[\n\\mathcal {L} = - \\frac {1}{| \\tau |} \\sum_ {(X, X _ {T}) \\in \\tau} \\log p (X _ {T} | X; \\theta) \\tag {1}\n\\]"
956
+ },
957
+ {
958
+ "type": "text",
959
+ "bbox": [
960
+ 0.509,
961
+ 0.339,
962
+ 0.883,
963
+ 0.372
964
+ ],
965
+ "angle": 0,
966
+ "content": "where \\(\\theta\\) is the model parameters, and \\((X,X_{T})\\) is a (sentence, tree) pair in training set \\(\\tau\\), then"
967
+ },
968
+ {
969
+ "type": "equation",
970
+ "bbox": [
971
+ 0.554,
972
+ 0.395,
973
+ 0.882,
974
+ 0.455
975
+ ],
976
+ "angle": 0,
977
+ "content": "\\[\n\\begin{array}{l} \\log p (X _ {T} | X; \\theta) \\\\ = \\sum_ {i = 1} ^ {n} \\log p \\left(x _ {T} ^ {i} \\mid x _ {T} ^ {1}, x _ {T} ^ {2}, \\dots x _ {T} ^ {i - 1}, X; \\theta\\right) \\tag {2} \\\\ \\end{array}\n\\]"
978
+ },
979
+ {
980
+ "type": "text",
981
+ "bbox": [
982
+ 0.508,
983
+ 0.467,
984
+ 0.883,
985
+ 0.499
986
+ ],
987
+ "angle": 0,
988
+ "content": "where \\(p(x_{T}^{i}|x_{T}^{1},x_{T}^{2},\\dots x_{T}^{i - 1},X;\\theta)\\) is calculated by the decoder."
989
+ },
990
+ {
991
+ "type": "title",
992
+ "bbox": [
993
+ 0.509,
994
+ 0.512,
995
+ 0.692,
996
+ 0.528
997
+ ],
998
+ "angle": 0,
999
+ "content": "5 Experimentation"
1000
+ },
1001
+ {
1002
+ "type": "text",
1003
+ "bbox": [
1004
+ 0.508,
1005
+ 0.537,
1006
+ 0.884,
1007
+ 0.632
1008
+ ],
1009
+ "angle": 0,
1010
+ "content": "In this section, we introduce the datasets used for evaluation and the baseline methods employed for comparison. We then report the experimental results conducted from different perspectives, and analyze the effectiveness of the proposed model with different factors."
1011
+ },
1012
+ {
1013
+ "type": "title",
1014
+ "bbox": [
1015
+ 0.509,
1016
+ 0.644,
1017
+ 0.62,
1018
+ 0.659
1019
+ ],
1020
+ "angle": 0,
1021
+ "content": "5.1 Settings"
1022
+ },
1023
+ {
1024
+ "type": "text",
1025
+ "bbox": [
1026
+ 0.507,
1027
+ 0.665,
1028
+ 0.885,
1029
+ 0.922
1030
+ ],
1031
+ "angle": 0,
1032
+ "content": "We evaluate the effectiveness of our proposed method on a benchmark proposed in Campagnano et al. (2022), which combines several datasets. We specifically choose three datasets (Mohammad et al., 2015; Kim and Klinger, 2018; Bostan et al., 2020) from this benchmark because they are the only ones that encompass annotations for all constituents. We enhance the quality of the original dataset by deleting duplicate or irrelevant examples (e.g., those with all trigger, holder, and target are \"null\"), while ensuring the trigger is not \"null\". The distribution of dataset is shown in Table 1. We choose \\(90\\%\\) of the data as the training set, and the remaining \\(10\\%\\) of the data as the testing set. Additionally, \\(10\\%\\) of the training data is randomly set aside for validation during the training process."
1033
+ },
1034
+ {
1035
+ "type": "page_number",
1036
+ "bbox": [
1037
+ 0.49,
1038
+ 0.929,
1039
+ 0.511,
1040
+ 0.941
1041
+ ],
1042
+ "angle": 0,
1043
+ "content": "41"
1044
+ }
1045
+ ],
1046
+ [
1047
+ {
1048
+ "type": "table",
1049
+ "bbox": [
1050
+ 0.184,
1051
+ 0.081,
1052
+ 0.816,
1053
+ 0.242
1054
+ ],
1055
+ "angle": 0,
1056
+ "content": "<table><tr><td>Methods</td><td>Emotion</td><td>Sentiment</td><td>Trigger</td><td>Holder</td><td>Target</td><td>Micro F1.</td></tr><tr><td>BERT-CRF</td><td>40.3</td><td>58.6</td><td>19.0</td><td>23.3</td><td>24.0</td><td>33.1</td></tr><tr><td>BERT-MRC</td><td>42.6</td><td>60.3</td><td>15.2</td><td>22.4</td><td>19.3</td><td>30.8</td></tr><tr><td>TaskFusion</td><td>45.7</td><td>62.3</td><td>-</td><td>-</td><td>-</td><td>-</td></tr><tr><td>USSA</td><td>41.3</td><td>-</td><td>17.3</td><td>32.6</td><td>14.3</td><td>-</td></tr><tr><td>T5</td><td>40.2</td><td>59.4</td><td>21.0</td><td>47.2</td><td>32.1</td><td>38.2</td></tr><tr><td>ChatGPT</td><td>22.3</td><td>30.7</td><td>10.4</td><td>21.3</td><td>9.6</td><td>18.9</td></tr><tr><td>LLaMA</td><td>42.4</td><td>57.6</td><td>22.4</td><td>43.5</td><td>31.3</td><td>39.4</td></tr><tr><td>Ours</td><td>46.3</td><td>63.6</td><td>30.8</td><td>55.0</td><td>37.4</td><td>46.7</td></tr></table>"
1057
+ },
1058
+ {
1059
+ "type": "table_caption",
1060
+ "bbox": [
1061
+ 0.373,
1062
+ 0.25,
1063
+ 0.625,
1064
+ 0.266
1065
+ ],
1066
+ "angle": 0,
1067
+ "content": "Table 2: Comparison with baselines."
1068
+ },
1069
+ {
1070
+ "type": "text",
1071
+ "bbox": [
1072
+ 0.113,
1073
+ 0.29,
1074
+ 0.49,
1075
+ 0.484
1076
+ ],
1077
+ "angle": 0,
1078
+ "content": "Our proposed method utilizes the generative backbone Flan-T5 (Chung et al., 2022) from HuggingFace's hub. All experiments are conducted on a single NVIDIA Tesla V100 GPU with 32GB memory. The model is trained for 10 epochs in each of the two stages, using the AdamW (Loshchilov and Hutter) optimizer, with a maximum sequence length of 256, a batch size of 16, and a learning rate of 3e-4. And the average results over 5 runs with different random seeds are reported. We adopt F1-score as the metric for all experiments, the micro F1 is employed to evaluate the overall performance."
1079
+ },
1080
+ {
1081
+ "type": "title",
1082
+ "bbox": [
1083
+ 0.114,
1084
+ 0.498,
1085
+ 0.267,
1086
+ 0.512
1087
+ ],
1088
+ "angle": 0,
1089
+ "content": "5.2 Main Results"
1090
+ },
1091
+ {
1092
+ "type": "text",
1093
+ "bbox": [
1094
+ 0.113,
1095
+ 0.521,
1096
+ 0.49,
1097
+ 0.57
1098
+ ],
1099
+ "angle": 0,
1100
+ "content": "To better evaluate the effectiveness of our proposed model, we compare its performance against several strong baseline models, which are detailed below,"
1101
+ },
1102
+ {
1103
+ "type": "text",
1104
+ "bbox": [
1105
+ 0.137,
1106
+ 0.586,
1107
+ 0.49,
1108
+ 0.667
1109
+ ],
1110
+ "angle": 0,
1111
+ "content": "- BERT-CRF (Campagnano et al., 2022) employs bidirectional LSTM layers over BERT representation, then uses CRF to generate token-level labels to determine the span boundary of each semantic constituent."
1112
+ },
1113
+ {
1114
+ "type": "text",
1115
+ "bbox": [
1116
+ 0.137,
1117
+ 0.682,
1118
+ 0.489,
1119
+ 0.73
1120
+ ],
1121
+ "angle": 0,
1122
+ "content": "- BERT-MRC (Devlin et al., 2019) is used to predict the start and end indexes of all required semantic constituents."
1123
+ },
1124
+ {
1125
+ "type": "text",
1126
+ "bbox": [
1127
+ 0.137,
1128
+ 0.745,
1129
+ 0.49,
1130
+ 0.826
1131
+ ],
1132
+ "angle": 0,
1133
+ "content": "- TaskFusion (Zanwar et al., 2023) is a multi-task framework with a pre-trained language model for emotion-related tasks. We adopt it for the proposed emotion semantic parsing task."
1134
+ },
1135
+ {
1136
+ "type": "text",
1137
+ "bbox": [
1138
+ 0.137,
1139
+ 0.841,
1140
+ 0.49,
1141
+ 0.922
1142
+ ],
1143
+ "angle": 0,
1144
+ "content": "- USSA (Zhai et al., 2023) is a joint learning framework, which transfers aspect-based sentiment analysis into a 2D table-filling scheme. We adopt it for the proposed emotion semantic parsing task."
1145
+ },
1146
+ {
1147
+ "type": "list",
1148
+ "bbox": [
1149
+ 0.137,
1150
+ 0.586,
1151
+ 0.49,
1152
+ 0.922
1153
+ ],
1154
+ "angle": 0,
1155
+ "content": null
1156
+ },
1157
+ {
1158
+ "type": "text",
1159
+ "bbox": [
1160
+ 0.532,
1161
+ 0.29,
1162
+ 0.886,
1163
+ 0.371
1164
+ ],
1165
+ "angle": 0,
1166
+ "content": "- T5 (Chung et al., 2022) is a pre-trained language model which naturally suits the sequence-to-sequence task. It also can be considered as a joint learning framework, which generates all the semantic constituents jointly."
1167
+ },
1168
+ {
1169
+ "type": "text",
1170
+ "bbox": [
1171
+ 0.532,
1172
+ 0.401,
1173
+ 0.886,
1174
+ 0.481
1175
+ ],
1176
+ "angle": 0,
1177
+ "content": "- ChatGPT (Ouyang et al., 2022) uses dialog-based instructional data in the supervised and RL-based meta-training stages. We use ChatGPT API to generate all required semantic constituents."
1178
+ },
1179
+ {
1180
+ "type": "text",
1181
+ "bbox": [
1182
+ 0.532,
1183
+ 0.513,
1184
+ 0.886,
1185
+ 0.592
1186
+ ],
1187
+ "angle": 0,
1188
+ "content": "- LLaMA (Touvron et al., 2023) is a series of large language models trained on trillions of tokens. We use Alpaca-LoRA² to fine-tune LLaMA-7B to generate required semantic constituents."
1189
+ },
1190
+ {
1191
+ "type": "list",
1192
+ "bbox": [
1193
+ 0.532,
1194
+ 0.29,
1195
+ 0.886,
1196
+ 0.592
1197
+ ],
1198
+ "angle": 0,
1199
+ "content": null
1200
+ },
1201
+ {
1202
+ "type": "text",
1203
+ "bbox": [
1204
+ 0.508,
1205
+ 0.627,
1206
+ 0.886,
1207
+ 0.837
1208
+ ],
1209
+ "angle": 0,
1210
+ "content": "As demonstrated in Table 2, several key observations can be made: 1) Aligning with the current trend favoring generative frameworks, models that adopt a generative paradigm (i.e., T5, LLaMA, and our proposed model) generally outpace models based on a classification paradigm (i.e., BERT-CRF, BERT-MRC, Task Fusion, USSA) in terms of performance. 2) A standout observation is the substantial performance disparity between ChatGPT and all other methodologies. This discrepancy might be attributed to our limited usage of ChatGPT's API, without fine-tuning its internal parameters using insights from our training dataset."
1211
+ },
1212
+ {
1213
+ "type": "text",
1214
+ "bbox": [
1215
+ 0.508,
1216
+ 0.842,
1217
+ 0.886,
1218
+ 0.921
1219
+ ],
1220
+ "angle": 0,
1221
+ "content": "In contrast, our proposed model consistently outperforms prior studies \\((p < 0.05)\\) in all settings. This underscores the effectiveness of our model, employing task decomposition strategies and the abstract semantic tree structure."
1222
+ },
1223
+ {
1224
+ "type": "page_number",
1225
+ "bbox": [
1226
+ 0.49,
1227
+ 0.929,
1228
+ 0.512,
1229
+ 0.941
1230
+ ],
1231
+ "angle": 0,
1232
+ "content": "42"
1233
+ }
1234
+ ],
1235
+ [
1236
+ {
1237
+ "type": "image",
1238
+ "bbox": [
1239
+ 0.248,
1240
+ 0.083,
1241
+ 0.744,
1242
+ 0.202
1243
+ ],
1244
+ "angle": 0,
1245
+ "content": null
1246
+ },
1247
+ {
1248
+ "type": "image_caption",
1249
+ "bbox": [
1250
+ 0.381,
1251
+ 0.217,
1252
+ 0.615,
1253
+ 0.232
1254
+ ],
1255
+ "angle": 0,
1256
+ "content": "Figure 4: Effect of tree structures."
1257
+ },
1258
+ {
1259
+ "type": "table",
1260
+ "bbox": [
1261
+ 0.14,
1262
+ 0.254,
1263
+ 0.462,
1264
+ 0.395
1265
+ ],
1266
+ "angle": 0,
1267
+ "content": "<table><tr><td>Tuples</td><td>e</td><td>s</td><td>t</td><td>h</td><td>a</td></tr><tr><td>(e)</td><td>42.5</td><td>-</td><td>-</td><td>-</td><td>-</td></tr><tr><td>(t)</td><td>-</td><td>-</td><td>28.4</td><td>-</td><td>-</td></tr><tr><td>(e,s)</td><td>43.5</td><td>65.1</td><td>-</td><td>-</td><td>-</td></tr><tr><td>(e,t)</td><td>45.2</td><td>-</td><td>29.1</td><td>-</td><td>-</td></tr><tr><td>(e,s,t)</td><td>45.7</td><td>67.5</td><td>30.7</td><td>-</td><td>-</td></tr><tr><td>(t,h)</td><td>-</td><td>-</td><td>29.3</td><td>43.1</td><td>-</td></tr><tr><td>(t,a)</td><td>-</td><td>-</td><td>29.1</td><td>-</td><td>32.4</td></tr><tr><td>(t,h,a)</td><td>-</td><td>-</td><td>29.3</td><td>50.0</td><td>35.5</td></tr><tr><td>(e,t,h,a)</td><td>45.9</td><td>-</td><td>29.4</td><td>52.4</td><td>35.3</td></tr><tr><td>Ours</td><td>46.3</td><td>63.6</td><td>30.8</td><td>55.0</td><td>37.4</td></tr></table>"
1268
+ },
1269
+ {
1270
+ "type": "table_caption",
1271
+ "bbox": [
1272
+ 0.127,
1273
+ 0.405,
1274
+ 0.474,
1275
+ 0.419
1276
+ ],
1277
+ "angle": 0,
1278
+ "content": "Table 3: Correlations among semantic constituents."
1279
+ },
1280
+ {
1281
+ "type": "table",
1282
+ "bbox": [
1283
+ 0.18,
1284
+ 0.433,
1285
+ 0.424,
1286
+ 0.54
1287
+ ],
1288
+ "angle": 0,
1289
+ "content": "<table><tr><td>Methods</td><td>Micro F1.</td></tr><tr><td>Ours</td><td>46.7</td></tr><tr><td>- Mono</td><td>39.8</td></tr><tr><td>- TriggerPair</td><td>40.3</td></tr><tr><td>- EntitiesPair</td><td>41.8</td></tr><tr><td>- FeelingsPair</td><td>44.3</td></tr></table>"
1290
+ },
1291
+ {
1292
+ "type": "table_caption",
1293
+ "bbox": [
1294
+ 0.149,
1295
+ 0.549,
1296
+ 0.452,
1297
+ 0.563
1298
+ ],
1299
+ "angle": 0,
1300
+ "content": "Table 4: Impact of decomposition strategies."
1301
+ },
1302
+ {
1303
+ "type": "title",
1304
+ "bbox": [
1305
+ 0.114,
1306
+ 0.59,
1307
+ 0.434,
1308
+ 0.604
1309
+ ],
1310
+ "angle": 0,
1311
+ "content": "5.3 Influence of Semantic Constituents"
1312
+ },
1313
+ {
1314
+ "type": "text",
1315
+ "bbox": [
1316
+ 0.113,
1317
+ 0.611,
1318
+ 0.49,
1319
+ 0.755
1320
+ ],
1321
+ "angle": 0,
1322
+ "content": "We then analyze the influence of the semantic constituents and the correlations among them. As shown in Table 3, \\( e \\) denotes the emotion label, \\( s \\) is the sentiment polarity, \\( t, h \\) and \\( a \\) are trigger, holder, and target, separately. In addition, the rows in the table mean different combinations of emotion-related semantic constituents. For example, \\( (e, s) \\) means that we used the proposed model to generate the emotion label and the sentiment polarity jointly."
1323
+ },
1324
+ {
1325
+ "type": "text",
1326
+ "bbox": [
1327
+ 0.113,
1328
+ 0.757,
1329
+ 0.49,
1330
+ 0.884
1331
+ ],
1332
+ "angle": 0,
1333
+ "content": "From the table, it is evident that there is a clear correlation between emotion and sentiment polarity, as the combined performance of \\((e,s)\\) surpasses that of generating emotion \\(e\\) alone. This underscores the importance of considering sentiment polarity when analyzing and interpreting emotions. Additionally, our findings reveal that the majority of semantic constituents contribute significantly to"
1334
+ },
1335
+ {
1336
+ "type": "text",
1337
+ "bbox": [
1338
+ 0.508,
1339
+ 0.257,
1340
+ 0.885,
1341
+ 0.353
1342
+ ],
1343
+ "angle": 0,
1344
+ "content": "emotion detection, especially trigger \\( t \\). For example, the combined performance of \\( (e, t) \\) surpasses that of generating emotion \\( e \\) alone by a large margin. This underscores the importance of these semantic elements in understanding and contextualizing emotions within a given text."
1345
+ },
1346
+ {
1347
+ "type": "text",
1348
+ "bbox": [
1349
+ 0.508,
1350
+ 0.354,
1351
+ 0.885,
1352
+ 0.481
1353
+ ],
1354
+ "angle": 0,
1355
+ "content": "Furthermore, our results highlight a correlation between the holder \\( h \\) and target \\( a \\) with the trigger \\( t \\), as they often refer to the person or entity experiencing or feeling the emotion triggered by a specific event or situation. This emphasizes the interconnected nature of these semantic constituents and their collective role in shaping emotional expressions."
1356
+ },
1357
+ {
1358
+ "type": "text",
1359
+ "bbox": [
1360
+ 0.508,
1361
+ 0.484,
1362
+ 0.886,
1363
+ 0.596
1364
+ ],
1365
+ "angle": 0,
1366
+ "content": "Notably, we observe that incorporating all semantic constituents leads to the highest performance, highlighting the effectiveness of our proposed model with semantic tree parsing. This underscores the utility and relevance of these semantic constituents in enhancing emotion detection accuracy."
1367
+ },
1368
+ {
1369
+ "type": "title",
1370
+ "bbox": [
1371
+ 0.509,
1372
+ 0.609,
1373
+ 0.75,
1374
+ 0.623
1375
+ ],
1376
+ "angle": 0,
1377
+ "content": "5.4 Effect of Tree Structures"
1378
+ },
1379
+ {
1380
+ "type": "text",
1381
+ "bbox": [
1382
+ 0.508,
1383
+ 0.631,
1384
+ 0.882,
1385
+ 0.679
1386
+ ],
1387
+ "angle": 0,
1388
+ "content": "To assess the impact of the abstract semantic tree structure, we evaluated our model's performance using four distinct tree structures in Figure 4."
1389
+ },
1390
+ {
1391
+ "type": "text",
1392
+ "bbox": [
1393
+ 0.508,
1394
+ 0.68,
1395
+ 0.882,
1396
+ 0.791
1397
+ ],
1398
+ "angle": 0,
1399
+ "content": "In our initial assessment, we removed the entire tree structure, treating the semantic constituents as a linear sequence (a). This modification resulted in a substantial decrease in performance, from \\(46.7\\%\\) to \\(40.7\\%\\), emphasizing the importance of the tree structure in capturing the intricate relationships among semantic constituents."
1400
+ },
1401
+ {
1402
+ "type": "text",
1403
+ "bbox": [
1404
+ 0.508,
1405
+ 0.794,
1406
+ 0.885,
1407
+ 0.922
1408
+ ],
1409
+ "angle": 0,
1410
+ "content": "Subsequently, we constructed two simplified tree structures, with either Trigger (b) or Emotion (c) serving as the root node. Interestingly, both of these structures yielded comparable performance results, suggesting that both of them are pivotal components in the emotion parsing task, and their roles are equally significant. Furthermore, we introduced two virtual nodes, labeled as Feelings and"
1411
+ },
1412
+ {
1413
+ "type": "page_footnote",
1414
+ "bbox": [
1415
+ 0.136,
1416
+ 0.894,
1417
+ 0.463,
1418
+ 0.907
1419
+ ],
1420
+ "angle": 0,
1421
+ "content": "1https://api.openai.com/v1/chat/completions"
1422
+ },
1423
+ {
1424
+ "type": "page_footnote",
1425
+ "bbox": [
1426
+ 0.137,
1427
+ 0.907,
1428
+ 0.42,
1429
+ 0.921
1430
+ ],
1431
+ "angle": 0,
1432
+ "content": "\\(^{2}\\)https://github.com/tloen/alpaca-lora"
1433
+ },
1434
+ {
1435
+ "type": "list",
1436
+ "bbox": [
1437
+ 0.136,
1438
+ 0.894,
1439
+ 0.463,
1440
+ 0.921
1441
+ ],
1442
+ "angle": 0,
1443
+ "content": null
1444
+ },
1445
+ {
1446
+ "type": "page_number",
1447
+ "bbox": [
1448
+ 0.49,
1449
+ 0.929,
1450
+ 0.511,
1451
+ 0.941
1452
+ ],
1453
+ "angle": 0,
1454
+ "content": "43"
1455
+ }
1456
+ ],
1457
+ [
1458
+ {
1459
+ "type": "table",
1460
+ "bbox": [
1461
+ 0.162,
1462
+ 0.083,
1463
+ 0.837,
1464
+ 0.3
1465
+ ],
1466
+ "angle": 0,
1467
+ "content": "<table><tr><td>Input</td><td>Model</td><td>Output (Linearized Abstract Semantic Tree)</td></tr><tr><td rowspan=\"2\">Jean Valjean was sincere. This sincerity from the very grief that it caused him, rendered inquiries useless, and conferred authority on all that that man had said. Here, for Marius, there was a strange reversal of situations.</td><td>T5</td><td>[Trigger, sincerity, [Feelings, [Emotion, trust], [Sentiment, positive]], [Entity, [Holder, him], [Target, null]]]</td></tr><tr><td>Ours</td><td>[Trigger, grief, [Feelings, [Emotion, sadness], [Sentiment, negative]], [Entity, [Holder, him], [Target, null]]]</td></tr><tr><td rowspan=\"2\">&quot;Do you think me so very proud?&quot; he suddenly asked. &quot;I think you very strange.&quot;</td><td>T5</td><td>[Trigger, so very proud, [Feelings, [Emotion, joy], [Sentiment, positive]], [Entity, [Holder, you], [Target, me]]]</td></tr><tr><td>Ours</td><td>[Trigger, suddenly, [Feelings, [Emotion, surprise], [Sentiment, other]], [Entity, [Holder, he], [Target, null]]]</td></tr><tr><td rowspan=\"2\">Last year I was wild to marry you, and you wouldn&#x27;t look at me.</td><td>T5</td><td>[Trigger, wouldn&#x27;t look at me, [Feelings, [Emotion, anger], [Sentiment, negative]], [Entity, [Holder, I], [Target, you]]]</td></tr><tr><td>Ours</td><td>[Trigger, wouldn&#x27;t look at me, [Feelings, [Emotion, disgust], [Sentiment, negative]], [Entity, [Holder, you], [Target, I]]]</td></tr></table>"
1468
+ },
1469
+ {
1470
+ "type": "image_caption",
1471
+ "bbox": [
1472
+ 0.112,
1473
+ 0.31,
1474
+ 0.884,
1475
+ 0.34
1476
+ ],
1477
+ "angle": 0,
1478
+ "content": "Figure 5: Examples of case study. The text in green means an exact match, while text in red indicates inaccuracies. \"Null\" means the extracted constituent is missing."
1479
+ },
1480
+ {
1481
+ "type": "text",
1482
+ "bbox": [
1483
+ 0.113,
1484
+ 0.365,
1485
+ 0.489,
1486
+ 0.462
1487
+ ],
1488
+ "angle": 0,
1489
+ "content": "Entities into the tree structure (d). The inclusion of these nodes led to a noticeable improvement in performance, highlighting the efficacy of our proposed tree structures and reinforcing the importance of considering semantic constituents within a structured framework for accurate emotion parsing."
1490
+ },
1491
+ {
1492
+ "type": "title",
1493
+ "bbox": [
1494
+ 0.114,
1495
+ 0.475,
1496
+ 0.441,
1497
+ 0.492
1498
+ ],
1499
+ "angle": 0,
1500
+ "content": "5.5 Impact of Decomposition Strategies"
1501
+ },
1502
+ {
1503
+ "type": "text",
1504
+ "bbox": [
1505
+ 0.113,
1506
+ 0.498,
1507
+ 0.49,
1508
+ 0.608
1509
+ ],
1510
+ "angle": 0,
1511
+ "content": "We further investigated the influence of various decomposition strategies, and the results are presented in Table 4, where Mono denotes Mono Parsing, TriggerPair denotes Trigger-related Pair Parsing, EntitiesPair denotes Entities Pair Parsing, and FeelingsPair denotes Feelings Pair Parsing. All of these can be found in Section 4.1."
1512
+ },
1513
+ {
1514
+ "type": "text",
1515
+ "bbox": [
1516
+ 0.113,
1517
+ 0.612,
1518
+ 0.49,
1519
+ 0.803
1520
+ ],
1521
+ "angle": 0,
1522
+ "content": "Our analysis reveals that among all the strategies, mono parsing exerts the most substantial impact on model performance, aligning with our initial expectations. Mono parsing can be regarded as the foundational and indivisible task that serves as the basis for other higher-level tasks. Moreover, our findings indicate that all the decomposition strategies employed have a positive influence on the task, emphasizing the importance of breaking down the original task into smaller sub-tasks and the efficacy of reintegrating these sub-tasks to address the main task."
1523
+ },
1524
+ {
1525
+ "type": "title",
1526
+ "bbox": [
1527
+ 0.114,
1528
+ 0.818,
1529
+ 0.25,
1530
+ 0.834
1531
+ ],
1532
+ "angle": 0,
1533
+ "content": "5.6 Case Study"
1534
+ },
1535
+ {
1536
+ "type": "text",
1537
+ "bbox": [
1538
+ 0.113,
1539
+ 0.84,
1540
+ 0.489,
1541
+ 0.888
1542
+ ],
1543
+ "angle": 0,
1544
+ "content": "To highlight our model's significance, we've chosen several challenging and illustrative examples shown in Figure 5."
1545
+ },
1546
+ {
1547
+ "type": "text",
1548
+ "bbox": [
1549
+ 0.114,
1550
+ 0.89,
1551
+ 0.49,
1552
+ 0.922
1553
+ ],
1554
+ "angle": 0,
1555
+ "content": "These challenging sentences share the same feature: they express more than one emotion expres"
1556
+ },
1557
+ {
1558
+ "type": "text",
1559
+ "bbox": [
1560
+ 0.508,
1561
+ 0.365,
1562
+ 0.884,
1563
+ 0.444
1564
+ ],
1565
+ "angle": 0,
1566
+ "content": "sion, each associated with its own trigger, holder, and target. However, in each case, there is only one overall emotion. The presence of secondary emotions makes it difficult to fully grasp the overall emotional tone of the sentence."
1567
+ },
1568
+ {
1569
+ "type": "text",
1570
+ "bbox": [
1571
+ 0.508,
1572
+ 0.446,
1573
+ 0.885,
1574
+ 0.686
1575
+ ],
1576
+ "angle": 0,
1577
+ "content": "In the first two examples, the mis-detection of emotion expressions by T5 underscores the intricate and nuanced nature of the task, as well as the significance of each element in constructing a precise semantic representation. However, even when the correct emotion expression is identified, modeling the complex relationship between emotion and other semantic components remains challenging. As illustrated in the final example, although T5 correctly identifies the expression and its trigger, its inability to accurately detect the holder and target leads to an incorrect prediction of emotion. This highlights the interconnected nature of these elements and underscores their collective importance in achieving accurate emotion detection."
1578
+ },
1579
+ {
1580
+ "type": "text",
1581
+ "bbox": [
1582
+ 0.508,
1583
+ 0.688,
1584
+ 0.884,
1585
+ 0.833
1586
+ ],
1587
+ "angle": 0,
1588
+ "content": "In contrast, our proposed model, by leveraging task decomposition, demonstrates enhanced efficacy in navigating complexities present in difficult scenarios such as negotiation, emotion shifts, and multiple possible emotion expressions. This not only facilitates accurate detection of individual constituents but also enables a more nuanced understanding of their interrelationships, leading to improved overall performance."
1589
+ },
1590
+ {
1591
+ "type": "title",
1592
+ "bbox": [
1593
+ 0.509,
1594
+ 0.847,
1595
+ 0.642,
1596
+ 0.862
1597
+ ],
1598
+ "angle": 0,
1599
+ "content": "6 Conclusion"
1600
+ },
1601
+ {
1602
+ "type": "text",
1603
+ "bbox": [
1604
+ 0.508,
1605
+ 0.874,
1606
+ 0.884,
1607
+ 0.921
1608
+ ],
1609
+ "angle": 0,
1610
+ "content": "In this study, we introduce a novel task called emotion semantic parsing, which focuses on analyzing emotions and semantic elements to construct an ab"
1611
+ },
1612
+ {
1613
+ "type": "page_number",
1614
+ "bbox": [
1615
+ 0.49,
1616
+ 0.929,
1617
+ 0.512,
1618
+ 0.941
1619
+ ],
1620
+ "angle": 0,
1621
+ "content": "44"
1622
+ }
1623
+ ],
1624
+ [
1625
+ {
1626
+ "type": "text",
1627
+ "bbox": [
1628
+ 0.113,
1629
+ 0.085,
1630
+ 0.493,
1631
+ 0.281
1632
+ ],
1633
+ "angle": 0,
1634
+ "content": "tract semantic tree structure. To achieve this, we develop an end-to-end generation model capable of capturing intricate relationships between emotions and various semantic constituents, generating them collaboratively. Furthermore, our proposed model employs template-based prompt learning, allowing for the separate extraction of each semantic constituent and pairs of semantic constituents for individual sub-tasks. Experimental results not only underscore the significance of the introduced task but also showcase the superior performance of our proposed model."
1635
+ },
1636
+ {
1637
+ "type": "title",
1638
+ "bbox": [
1639
+ 0.115,
1640
+ 0.291,
1641
+ 0.221,
1642
+ 0.307
1643
+ ],
1644
+ "angle": 0,
1645
+ "content": "Limitations"
1646
+ },
1647
+ {
1648
+ "type": "text",
1649
+ "bbox": [
1650
+ 0.113,
1651
+ 0.317,
1652
+ 0.493,
1653
+ 0.624
1654
+ ],
1655
+ "angle": 0,
1656
+ "content": "Our work focuses on employing a unified framework for emotion semantic parsing. However, one of the limitations is the computational complexity of the proposed model, whose training speed is slower than the classification-based models. Secondly, more tasks could be further explored, including nested emotion parsing, cross-domain and cross-lingual emotion semantic parsing. Finally, a large language model (LLM) can achieve superior performance in nearly all downstream tasks including our task, attributed to their ability to introduce rich knowledge learned during the pretraining stage for our proposed task. For open-source large language models like LLaMA (Touvron et al., 2023), limitations include high computational costs, high-quality data costs, as well as the need to address LLM-related issues such as safety, hallucinations, and ethical concerns, which remain to be resolved in future work."
1657
+ },
1658
+ {
1659
+ "type": "title",
1660
+ "bbox": [
1661
+ 0.115,
1662
+ 0.636,
1663
+ 0.287,
1664
+ 0.652
1665
+ ],
1666
+ "angle": 0,
1667
+ "content": "Acknowledgements"
1668
+ },
1669
+ {
1670
+ "type": "text",
1671
+ "bbox": [
1672
+ 0.113,
1673
+ 0.662,
1674
+ 0.49,
1675
+ 0.79
1676
+ ],
1677
+ "angle": 0,
1678
+ "content": "We would like to thank Shufan Fu for her invaluable advice and assistance with the experiments during this work. We also gratefully thank the anonymous reviewers for their insightful and valuable comments. This work is supported by the National Natural Science Foundation of China (No. 62076175, No.61976146), and Jiangsu Innovation Doctor Plan."
1679
+ },
1680
+ {
1681
+ "type": "title",
1682
+ "bbox": [
1683
+ 0.115,
1684
+ 0.819,
1685
+ 0.214,
1686
+ 0.833
1687
+ ],
1688
+ "angle": 0,
1689
+ "content": "References"
1690
+ },
1691
+ {
1692
+ "type": "ref_text",
1693
+ "bbox": [
1694
+ 0.116,
1695
+ 0.842,
1696
+ 0.49,
1697
+ 0.921
1698
+ ],
1699
+ "angle": 0,
1700
+ "content": "Fadwa Alrowais, Noha Negm, Majdi Khalid, Nabil Almalki, Radwa Marzouk, Abdullah Mohamed, Mesfer Al Duhayyim, and Amani a Alneil. 2023. Modified earthworm optimization with deep learning assisted emotion recognition for human computer interface. IEEE Access, 11:35089-35096."
1701
+ },
1702
+ {
1703
+ "type": "ref_text",
1704
+ "bbox": [
1705
+ 0.511,
1706
+ 0.086,
1707
+ 0.885,
1708
+ 0.168
1709
+ ],
1710
+ "angle": 0,
1711
+ "content": "Nurudin Alvarez-Gonzalez, Andreas Kaltenbrunner, and Vicenç Gómez. 2021. Uncovering the limits of text-based emotion detection. In Findings of the Association for Computational Linguistics: EMNLP 2021, pages 2560-2583, Punta Cana, Dominican Republic. Association for Computational Linguistics."
1712
+ },
1713
+ {
1714
+ "type": "ref_text",
1715
+ "bbox": [
1716
+ 0.511,
1717
+ 0.174,
1718
+ 0.885,
1719
+ 0.254
1720
+ ],
1721
+ "angle": 0,
1722
+ "content": "Alexandra Balahur, Jesús M. Hermida, Andres Montoyo, and Rafael Muñoz. 2011. Emotinet: A knowledge base for emotion detection in text built on the appraisal theories. In *Natural Language Processing and Information Systems*, pages 27-39, Berlin, Heidelberg. Springer Berlin Heidelberg."
1723
+ },
1724
+ {
1725
+ "type": "ref_text",
1726
+ "bbox": [
1727
+ 0.511,
1728
+ 0.262,
1729
+ 0.885,
1730
+ 0.354
1731
+ ],
1732
+ "angle": 0,
1733
+ "content": "Laura Ana Maria Bostan, Evgeny Kim, and Roman Klinger. 2020. GoodNewsEveryone: A corpus of news headlines annotated with emotions, semantic roles, and reader perception. In Proceedings of the Twelfth Language Resources and Evaluation Conference, pages 1554-1566, Marseille, France. European Language Resources Association."
1734
+ },
1735
+ {
1736
+ "type": "ref_text",
1737
+ "bbox": [
1738
+ 0.511,
1739
+ 0.363,
1740
+ 0.885,
1741
+ 0.456
1742
+ ],
1743
+ "angle": 0,
1744
+ "content": "Cesare Campagnano, Simone Conia, and Roberto Navigli. 2022. SRL4E – Semantic Role Labeling for Emotions: A Unified Evaluation Framework. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 4586–4601, Dublin, Ireland. Association for Computational Linguistics."
1745
+ },
1746
+ {
1747
+ "type": "ref_text",
1748
+ "bbox": [
1749
+ 0.511,
1750
+ 0.464,
1751
+ 0.885,
1752
+ 0.569
1753
+ ],
1754
+ "angle": 0,
1755
+ "content": "Hao Chen, Zepeng Zhai, Fangxiang Feng, Ruifan Li, and Xiaojie Wang. 2022. Enhanced Multi-Channel Graph Convolutional Network for Aspect Sentiment Triplet Extraction. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 2974–2985, Dublin, Ireland. Association for Computational Linguistics."
1756
+ },
1757
+ {
1758
+ "type": "ref_text",
1759
+ "bbox": [
1760
+ 0.511,
1761
+ 0.578,
1762
+ 0.885,
1763
+ 0.658
1764
+ ],
1765
+ "angle": 0,
1766
+ "content": "Xinhong Chen, Qing Li, and Jianping Wang. 2020. A unified sequence labeling model for emotion cause pair extraction. In Proceedings of the 28th International Conference on Computational Linguistics, pages 208-218, Barcelona, Spain (Online). International Committee on Computational Linguistics."
1767
+ },
1768
+ {
1769
+ "type": "ref_text",
1770
+ "bbox": [
1771
+ 0.511,
1772
+ 0.666,
1773
+ 0.885,
1774
+ 0.72
1775
+ ],
1776
+ "angle": 0,
1777
+ "content": "Kalpana Chowdary, Tu Nguyen, and D. Hemanth. 2021. Deep learning-based facial emotion recognition for human-computer interaction applications. *Neural Computing and Applications*, pages 1-18."
1778
+ },
1779
+ {
1780
+ "type": "ref_text",
1781
+ "bbox": [
1782
+ 0.511,
1783
+ 0.728,
1784
+ 0.885,
1785
+ 0.794
1786
+ ],
1787
+ "angle": 0,
1788
+ "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."
1789
+ },
1790
+ {
1791
+ "type": "ref_text",
1792
+ "bbox": [
1793
+ 0.511,
1794
+ 0.803,
1795
+ 0.885,
1796
+ 0.921
1797
+ ],
1798
+ "angle": 0,
1799
+ "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."
1800
+ },
1801
+ {
1802
+ "type": "list",
1803
+ "bbox": [
1804
+ 0.511,
1805
+ 0.086,
1806
+ 0.885,
1807
+ 0.921
1808
+ ],
1809
+ "angle": 0,
1810
+ "content": null
1811
+ },
1812
+ {
1813
+ "type": "page_number",
1814
+ "bbox": [
1815
+ 0.491,
1816
+ 0.929,
1817
+ 0.511,
1818
+ 0.941
1819
+ ],
1820
+ "angle": 0,
1821
+ "content": "45"
1822
+ }
1823
+ ],
1824
+ [
1825
+ {
1826
+ "type": "ref_text",
1827
+ "bbox": [
1828
+ 0.117,
1829
+ 0.086,
1830
+ 0.49,
1831
+ 0.152
1832
+ ],
1833
+ "angle": 0,
1834
+ "content": "Marwan Dhuheir, Abdullahif Albaseer, Emna Baccour, Aiman Erbad, Mohamed M. Abdallah, and Mounir Hamdi. 2021. Emotion recognition for healthcare surveillance systems using neural networks: A survey. CoRR, abs/2107.05989."
1835
+ },
1836
+ {
1837
+ "type": "ref_text",
1838
+ "bbox": [
1839
+ 0.117,
1840
+ 0.165,
1841
+ 0.488,
1842
+ 0.256
1843
+ ],
1844
+ "angle": 0,
1845
+ "content": "Zixiang Ding, Rui Xia, and Jianfei Yu. 2020a. ECPE-2D: Emotion-cause pair extraction based on joint two-dimensional representation, interaction and prediction. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pages 3161-3170, Online. Association for Computational Linguistics."
1846
+ },
1847
+ {
1848
+ "type": "ref_text",
1849
+ "bbox": [
1850
+ 0.117,
1851
+ 0.269,
1852
+ 0.488,
1853
+ 0.347
1854
+ ],
1855
+ "angle": 0,
1856
+ "content": "Zixiang Ding, Rui Xia, and Jianfei Yu. 2020b. End-to-end emotion-cause pair extraction based on sliding window multi-label learning. In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP), pages 3574-3583, Online. Association for Computational Linguistics."
1857
+ },
1858
+ {
1859
+ "type": "ref_text",
1860
+ "bbox": [
1861
+ 0.117,
1862
+ 0.36,
1863
+ 0.488,
1864
+ 0.425
1865
+ ],
1866
+ "angle": 0,
1867
+ "content": "Fang Fang, Yin Zhou, Shi Ying, and Zhijuan Li. 2023. A study of the ping an health app based on user reviews with sentiment analysis. International Journal of Environmental Research and Public Health, 20(2):1591."
1868
+ },
1869
+ {
1870
+ "type": "ref_text",
1871
+ "bbox": [
1872
+ 0.117,
1873
+ 0.438,
1874
+ 0.488,
1875
+ 0.53
1876
+ ],
1877
+ "angle": 0,
1878
+ "content": "Jonas Groschwitz, Shay Cohen, Lucia Donatelli, and Meaghan Fowlie. 2023. AMR parsing is far from solved: GrAPES, the granular AMR parsing evaluation suite. In Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing, pages 10728-10752, Singapore. Association for Computational Linguistics."
1879
+ },
1880
+ {
1881
+ "type": "ref_text",
1882
+ "bbox": [
1883
+ 0.117,
1884
+ 0.542,
1885
+ 0.488,
1886
+ 0.621
1887
+ ],
1888
+ "angle": 0,
1889
+ "content": "Xiaojie Gu, Renze Lou, Lin Sun, and Shangxin Li. 2023. Page: A position-aware graph-based model for emotion cause entailment in conversation. In ICASSP 2023 - 2023 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pages 1-5."
1890
+ },
1891
+ {
1892
+ "type": "ref_text",
1893
+ "bbox": [
1894
+ 0.117,
1895
+ 0.633,
1896
+ 0.488,
1897
+ 0.738
1898
+ ],
1899
+ "angle": 0,
1900
+ "content": "Dou Hu, Lingwei Wei, and Xiaoyong Huai. 2021. DialogueCRN: Contextual reasoning networks for emotion recognition in conversations. 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 7042-7052, Online. Association for Computational Linguistics."
1901
+ },
1902
+ {
1903
+ "type": "ref_text",
1904
+ "bbox": [
1905
+ 0.117,
1906
+ 0.751,
1907
+ 0.488,
1908
+ 0.829
1909
+ ],
1910
+ "angle": 0,
1911
+ "content": "Evgeny Kim and Roman Klinger. 2018. Who feels what and why? annotation of a literature corpus with semantic roles of emotions. In Proceedings of the 27th International Conference on Computational Linguistics, pages 1345-1359, Santa Fe, New Mexico, USA. Association for Computational Linguistics."
1912
+ },
1913
+ {
1914
+ "type": "ref_text",
1915
+ "bbox": [
1916
+ 0.117,
1917
+ 0.842,
1918
+ 0.488,
1919
+ 0.919
1920
+ ],
1921
+ "angle": 0,
1922
+ "content": "Pan Li, Ping Li, and Kai Zhang. 2023. Dual-channel span for aspect sentiment triplet extraction. In Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing, pages 248-261, Singapore. Association for Computational Linguistics."
1923
+ },
1924
+ {
1925
+ "type": "list",
1926
+ "bbox": [
1927
+ 0.117,
1928
+ 0.086,
1929
+ 0.49,
1930
+ 0.919
1931
+ ],
1932
+ "angle": 0,
1933
+ "content": null
1934
+ },
1935
+ {
1936
+ "type": "ref_text",
1937
+ "bbox": [
1938
+ 0.512,
1939
+ 0.086,
1940
+ 0.881,
1941
+ 0.126
1942
+ ],
1943
+ "angle": 0,
1944
+ "content": "Ilya Loshchilov and Frank Hutter. Decoupled weight decay regularization. In International Conference on Learning Representations."
1945
+ },
1946
+ {
1947
+ "type": "ref_text",
1948
+ "bbox": [
1949
+ 0.512,
1950
+ 0.136,
1951
+ 0.883,
1952
+ 0.213
1953
+ ],
1954
+ "angle": 0,
1955
+ "content": "Navonil Majumder, Soujanya Poria, Devamanyu Hazarika, Rada Mihalcea, Alexander Gelbukh, and Erik Cambria. 2019. Dialoguernn: An attentive rnn for emotion detection in conversations. Proceedings of the AAAI Conference on Artificial Intelligence, 33(01):6818-6825."
1956
+ },
1957
+ {
1958
+ "type": "ref_text",
1959
+ "bbox": [
1960
+ 0.512,
1961
+ 0.224,
1962
+ 0.883,
1963
+ 0.276
1964
+ ],
1965
+ "angle": 0,
1966
+ "content": "Saif M. Mohammad, Xiaodan Zhu, Svetlana Kiritchenko, and Joel Martin. 2015. Sentiment, emotion, purpose, and style in electoral tweets. Information Processing Management, 51(4):480-499."
1967
+ },
1968
+ {
1969
+ "type": "ref_text",
1970
+ "bbox": [
1971
+ 0.512,
1972
+ 0.286,
1973
+ 0.883,
1974
+ 0.364
1975
+ ],
1976
+ "angle": 0,
1977
+ "content": "Long Ouyang, Jeffrey Wu, Xu Jiang, Diogo Almeida, Carroll Wainwright, Pamela Mishkin, Chong Zhang, Sandhini Agarwal, Katarina Slama, Alex Ray, et al. 2022. Training language models to follow instructions with human feedback. Advances in Neural Information Processing Systems, 35:27730-27744."
1978
+ },
1979
+ {
1980
+ "type": "ref_text",
1981
+ "bbox": [
1982
+ 0.512,
1983
+ 0.374,
1984
+ 0.883,
1985
+ 0.505
1986
+ ],
1987
+ "angle": 0,
1988
+ "content": "Gabriela Pavarini, Tessa Reardon, Anja Hollowell, Vanessa Bennett, Emma Lawrence, Peer Support Young People's Advisory Group Brooks-Hall Ellie Foster-Estwick Ashley Juma Damian Omari Lewis Peter Power Lucy Rogers Maia, Vanessa Pifold, and Ilina Singh. 2023. Online peer support training to promote adolescents' emotional support skills, mental health and agency during covid-19: Randomised controlled trial and qualitative evaluation. European Child & Adolescent Psychiatry, 32(6):1119-1130."
1989
+ },
1990
+ {
1991
+ "type": "ref_text",
1992
+ "bbox": [
1993
+ 0.512,
1994
+ 0.515,
1995
+ 0.883,
1996
+ 0.568
1997
+ ],
1998
+ "angle": 0,
1999
+ "content": "Robert Plutchik. 2001. The nature of emotions: Human emotions have deep evolutionary roots, a fact that may explain their complexity and provide tools for clinical practice. American Scientist, 89(4):344-350."
2000
+ },
2001
+ {
2002
+ "type": "ref_text",
2003
+ "bbox": [
2004
+ 0.512,
2005
+ 0.577,
2006
+ 0.883,
2007
+ 0.655
2008
+ ],
2009
+ "angle": 0,
2010
+ "content": "Colin Raffel, Noam Shazeer, Adam Roberts, Katherine Lee, Sharan Narang, Michael Matena, Yanqi Zhou, Wei Li, and Peter J Liu. 2020. Exploring the limits of transfer learning with a unified text-to-text transformer. The Journal of Machine Learning Research, 21(1):5485-5551."
2011
+ },
2012
+ {
2013
+ "type": "ref_text",
2014
+ "bbox": [
2015
+ 0.512,
2016
+ 0.666,
2017
+ 0.883,
2018
+ 0.757
2019
+ ],
2020
+ "angle": 0,
2021
+ "content": "Hugo Touvron, Thibaut Lavril, Gautier Izacard, Xavier Martinet, Marie-Anne Lachaux, Timothee Lacroix, Baptiste Rozière, Naman Goyal, Eric Hambro, Faisal Azhar, Aurelien Rodriguez, Armand Joulin, Edouard Grave, and Guillaume Lample. 2023. Llama: Open and efficient foundation language models. arXiv preprint arXiv:2302.13971."
2022
+ },
2023
+ {
2024
+ "type": "ref_text",
2025
+ "bbox": [
2026
+ 0.512,
2027
+ 0.767,
2028
+ 0.883,
2029
+ 0.871
2030
+ ],
2031
+ "angle": 0,
2032
+ "content": "Quan Tu, Yanran Li, Jianwei Cui, Bin Wang, Ji-Rong Wen, and Rui Yan. 2022. MISC: A mixed strategy-aware model integrating COMET for emotional support conversation. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 308-319, Dublin, Ireland. Association for Computational Linguistics."
2033
+ },
2034
+ {
2035
+ "type": "ref_text",
2036
+ "bbox": [
2037
+ 0.512,
2038
+ 0.881,
2039
+ 0.883,
2040
+ 0.92
2041
+ ],
2042
+ "angle": 0,
2043
+ "content": "Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N Gomez, Lukasz Kaiser, and Illia Polosukhin. 2017. Attention is all"
2044
+ },
2045
+ {
2046
+ "type": "list",
2047
+ "bbox": [
2048
+ 0.512,
2049
+ 0.086,
2050
+ 0.883,
2051
+ 0.92
2052
+ ],
2053
+ "angle": 0,
2054
+ "content": null
2055
+ },
2056
+ {
2057
+ "type": "page_number",
2058
+ "bbox": [
2059
+ 0.49,
2060
+ 0.929,
2061
+ 0.512,
2062
+ 0.941
2063
+ ],
2064
+ "angle": 0,
2065
+ "content": "46"
2066
+ }
2067
+ ],
2068
+ [
2069
+ {
2070
+ "type": "ref_text",
2071
+ "bbox": [
2072
+ 0.135,
2073
+ 0.086,
2074
+ 0.49,
2075
+ 0.113
2076
+ ],
2077
+ "angle": 0,
2078
+ "content": "you need. In Advances in Neural Information Processing Systems, volume 30. Curran Associates, Inc."
2079
+ },
2080
+ {
2081
+ "type": "ref_text",
2082
+ "bbox": [
2083
+ 0.117,
2084
+ 0.123,
2085
+ 0.49,
2086
+ 0.203
2087
+ ],
2088
+ "angle": 0,
2089
+ "content": "Fanfan Wang, Jianfei Yu, and Rui Xia. 2023. Generative emotion cause triplet extraction in conversations with commonsense knowledge. In *Findings of the Association for Computational Linguistics: EMNLP* 2023, pages 3952-3963, Singapore. Association for Computational Linguistics."
2090
+ },
2091
+ {
2092
+ "type": "ref_text",
2093
+ "bbox": [
2094
+ 0.117,
2095
+ 0.212,
2096
+ 0.49,
2097
+ 0.291
2098
+ ],
2099
+ "angle": 0,
2100
+ "content": "Rui Xia and Zixiang Ding. 2019. Emotion-cause pair extraction: A new task to emotion analysis in texts. In Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics, pages 1003–1012, Florence, Italy. Association for Computational Linguistics."
2101
+ },
2102
+ {
2103
+ "type": "ref_text",
2104
+ "bbox": [
2105
+ 0.117,
2106
+ 0.3,
2107
+ 0.49,
2108
+ 0.38
2109
+ ],
2110
+ "angle": 0,
2111
+ "content": "Debin Xiao, Rui Xia, and Jianfei Yu. 2023. Emotion cause extraction on social media without human annotation. In *Findings of the Association for Computational Linguistics: ACL* 2023, pages 1455-1468, Toronto, Canada. Association for Computational Linguistics."
2112
+ },
2113
+ {
2114
+ "type": "ref_text",
2115
+ "bbox": [
2116
+ 0.117,
2117
+ 0.389,
2118
+ 0.49,
2119
+ 0.495
2120
+ ],
2121
+ "angle": 0,
2122
+ "content": "Jianfei Yu, Luís Marujo, Jing Jiang, Pradeep Karuturi, and William Brendel. 2018. Improving multi-label emotion classification via sentiment classification with dual attention transfer network. In Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing, pages 1097-1102, Brussels, Belgium. Association for Computational Linguistics."
2123
+ },
2124
+ {
2125
+ "type": "ref_text",
2126
+ "bbox": [
2127
+ 0.117,
2128
+ 0.504,
2129
+ 0.49,
2130
+ 0.596
2131
+ ],
2132
+ "angle": 0,
2133
+ "content": "Chaofa Yuan, Chuang Fan, Jianzhu Bao, and Ruifeng Xu. 2020. Emotion-cause pair extraction as sequence labeling based on a novel tagging scheme. In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP), pages 3568-3573, Online. Association for Computational Linguistics."
2134
+ },
2135
+ {
2136
+ "type": "ref_text",
2137
+ "bbox": [
2138
+ 0.117,
2139
+ 0.606,
2140
+ 0.49,
2141
+ 0.698
2142
+ ],
2143
+ "angle": 0,
2144
+ "content": "Sourabh Zanwar, Xiaofei Li, Daniel Wiechmann, Yu Qiao, and Elma Kerz. 2023. What to fuse and how to fuse: Exploring emotion and personality fusion strategies for explainable mental disorder detection. In *Findings of the Association for Computational Linguistics: ACL* 2023, pages 8926-8940, Toronto, Canada. Association for Computational Linguistics."
2145
+ },
2146
+ {
2147
+ "type": "ref_text",
2148
+ "bbox": [
2149
+ 0.117,
2150
+ 0.707,
2151
+ 0.49,
2152
+ 0.8
2153
+ ],
2154
+ "angle": 0,
2155
+ "content": "Zepeng Zhai, Hao Chen, Ruifan Li, and Xiaojie Wang. 2023. USSA: A unified table filling scheme for structured sentiment analysis. In Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 14340-14353, Toronto, Canada. Association for Computational Linguistics."
2156
+ },
2157
+ {
2158
+ "type": "ref_text",
2159
+ "bbox": [
2160
+ 0.117,
2161
+ 0.809,
2162
+ 0.49,
2163
+ 0.902
2164
+ ],
2165
+ "angle": 0,
2166
+ "content": "Xiaopeng Zheng, Zhiyue Liu, Zizhen Zhang, Zhaoyang Wang, and Jiahai Wang. 2022. UECA-prompt: Universal prompt for emotion cause analysis. In Proceedings of the 29th International Conference on Computational Linguistics, pages 7031-7041, Gyeongju, Republic of Korea. International Committee on Computational Linguistics."
2167
+ },
2168
+ {
2169
+ "type": "list",
2170
+ "bbox": [
2171
+ 0.117,
2172
+ 0.086,
2173
+ 0.49,
2174
+ 0.902
2175
+ ],
2176
+ "angle": 0,
2177
+ "content": null
2178
+ },
2179
+ {
2180
+ "type": "page_number",
2181
+ "bbox": [
2182
+ 0.49,
2183
+ 0.929,
2184
+ 0.511,
2185
+ 0.94
2186
+ ],
2187
+ "angle": 0,
2188
+ "content": "47"
2189
+ }
2190
+ ]
2191
+ ]
2024/End-to-End Emotion Semantic Parsing/4ffbaf63-28e0-4983-95b1-695face241d4_origin.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fd26c96b85ae2e4a97070455d33bb67d10c865b390e0dada239088ffa1143647
3
+ size 639217
2024/End-to-End Emotion Semantic Parsing/full.md ADDED
@@ -0,0 +1,300 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # End-to-End Emotion Semantic Parsing
2
+
3
+ Xiaotong Jiang, Zhongqing Wang\*, and Guodong Zhou
4
+
5
+ $^{1}$ Natural Language Processing Lab, Soochow University, Suzhou, China xtjiang21@stu.suda.edu.cn, {wangzq, gdzhou}@suda.edu.cn
6
+
7
+ # Abstract
8
+
9
+ Emotion detection is the task of automatically associating one or more emotions with a text. The emotions are experienced, targeted, and caused by different semantic constituents. Therefore, it is necessary to incorporate these semantic constituents into the process of emotion detection. In this study, we propose a new task called emotion semantic parsing which aims to parse the emotion and semantic constituents into an abstract semantic tree structure. In particular, we design an end-to-end generation model to capture the relations between emotion and all the semantic constituents, and to generate them jointly. Furthermore, we employ a task decomposition strategy to capture the semantic relation among these constituents in a more cognitive and structural way. Experimental results demonstrate the importance of the proposed task, and indicate the proposed model gives superior performance compared to other models.
10
+
11
+ # 1 Introduction
12
+
13
+ The goal of emotion detection is to automatically detect or categorize the emotional states of human according to some inputs. Nowadays, emotion detection can be found in a broad range of applications, including but not limited to emotional support (Tu et al., 2022; Pavarini et al., 2023), human-computer interaction (Chowdary et al., 2021; Alrowais et al., 2023) and healthcare surveillance (Dhuheir et al., 2021; Fang et al., 2023). Henceforth, emotion detection has attracted increasing attention from both research community and industry in recent years (Hu et al., 2021; Zanwar et al., 2023).
14
+
15
+ In literature, most studies focus on detecting emotion from the given text. For example, feature-based works (Balahur et al., 2011) and deep learning approaches, including RNNs (Majumder et al.,
16
+
17
+ ![](images/70c77cfa0599318b2e305e2e78b8b7ecbe29fb3eb098f449c76f1f6e4ef3ac57.jpg)
18
+ He clenched his fists as he watched the bully taunt his little brother.
19
+ Figure 1: Example of abstract semantic tree.
20
+
21
+ 2019), Transformers (Yu et al., 2018), and pretrained language models (Zheng et al., 2022; Zanwar et al., 2023) are used in emotion detection. Nevertheless, over the past few years, numerous studies (Xia and Ding, 2019; Kim and Klinger, 2018; Campagnano et al., 2022) have indicated that the emotions may be experienced, targeted, and/or caused by different semantic constituents, and can be linked to form abstract semantic structures.
22
+
23
+ However, most existing works only take "cause" into consideration, neglecting the intricate relationships between emotion constituents, such as the strong relationship between trigger and emotion, as well as the similarity of sentiment and emotion labels. This limitation makes acquiring a nuanced understanding of the interplay between emotion and semantic constituents challenging, thereby hindering the model's capability to thoroughly comprehend emotional expression. By addressing these complexities, we believe it can serve as a foundational component for improving results in downstream real-world tasks by providing a more comprehensive understanding of emotional dynamics and their influence.
24
+
25
+ To tackle the above problem, we propose a new
26
+
27
+ task called emotion semantic parsing which aims to parse the emotion and semantic constituents into an abstract semantic tree structure. In this work, we consider five emotion-related semantic constituents into this task, including emotion, sentiment, trigger, holder, and target. As shown in Figure 1, emotion and sentiment refer to the specific emotion and sentiment labels of the sentence; trigger refers to a trigger word or expression that describes an emotion; and the constituents of holder and target correspond to the person or entities towards whom or from whom the emotion is directed, respectively.
28
+
29
+ Moreover, we use the form of the abstract semantic tree structure to model the relationship between these constituents, we use the Trigger node to represent the whole abstract semantic tree, and we use the virtual Feelings and Entities nodes to compass other constituent nodes. The tree structure can be considered as a semantic representation in order to better represent the structure of the emotion-related constituents. As shown in Figure 1, the tree structure models a sentence using a rooted directed acyclic graph, highlighting its main elements (e.g. emotion, triggers) and semantic relations. It can thus potentially reveal a more comprehensive and complete semantic structure for extracting these constituents. Furthermore, since the emotion and semantic constituents are correlated in the form of the abstract semantic tree structure, we design an end-to-end generative model to predict them jointly. Specifically, our proposed model begins by decomposing the original task into several sub-tasks, as shown in Figure 2. Subsequently, the proposed model utilizes template-based prompt learning to extract each semantic constituent and semantic constituents pair separately for each sub-tasks. Finally, the proposed model leverages the acquired knowledge from sub-tasks to generate all semantic constituents in the main task.
30
+
31
+ We conducted extensive experiments on the unified benchmark. Experimental results demonstrate the importance of the proposed task, and indicate the proposed model gives superior performance compared to other models. Further analysis shows the effect of the proposed abstract semantic tree structure and decomposition strategies.
32
+
33
+ # 2 Related Works
34
+
35
+ In the domain of emotion analysis, previous studies have mainly focused on text-based emotion detection. Early feature-based work often relied on
36
+
37
+ traditional machine learning algorithms and manually crafted word-level emotion lexicons (Balahure et al., 2011). As deep neural networks progressed, emotion detection methods began utilizing various networks, such as RNNs (Majumder et al., 2019) and Transformers (Vaswani et al., 2017; Yu et al., 2018), to learn the emotion-related representation for detection. Recently, pre-trained language models (Devlin et al., 2019; Raffel et al., 2020) have dominated this area with its flexibility and rich internal knowledge (Alvarez-Gonzalez et al., 2021; Zheng et al., 2022).
38
+
39
+ The emotions are not expressed individually, and can be experienced, targeted, and caused by different semantic constituents (Xia and Ding, 2019; Xiao et al., 2023; Campagnano et al., 2022). Most recent studies focus on emotion cause extraction task (Xia and Ding, 2019; Wang et al., 2023; Gu et al., 2023), with the goal of extracting the potential pairs of emotions and corresponding causes in the document and conversation scenario. Many end-to-end approaches have been proposed. These works can be broadly categorized into two main groups: some focus on multi-task learning (Ding et al., 2020a,b; Chen et al., 2022), while others transform the original task into a unified sequence labeling problem (Yuan et al., 2020; Chen et al., 2020). Recently, Xiao et al. (2023) developed a rule-based system to extract emotion causes on social media from constituency parsing trees. Wang et al. (2023) proposed emotion cause triplet extraction to extract emotion-cause-category triplets for fine-grained emotion cause analysis.
40
+
41
+ Different from prior studies, we introduce a novel task, termed emotion semantic parsing. This task seeks to comprehensively examine the impact of various semantic constituents on emotional expressions. To achieve this, we develop an end-to-end generative model specifically designed to capture the intricate relationships between emotion and a wide range of semantic constituents.
42
+
43
+ # 3 Preliminaries
44
+
45
+ As shown in Figure 2, we introduce a novel task termed emotion semantic parsing. This task focuses on the generation of an abstract semantic tree structure that encapsulates both emotion and semantic constituents. To achieve this, we develop an end-to-end generative model specifically tailored for the generation of the abstract semantic tree structure. Our proposed model adopts a
46
+
47
+ decomposition-based strategy, breaking down the complex task into several more manageable subtasks. Specifically, our proposed model begins by decomposing the original task into several subtasks. Finally, the proposed model leverages the acquired knowledge from sub-tasks to generate all semantic constituents in the main task.
48
+
49
+ In this section, we introduce two important issues of this task: abstract semantic tree construction and the abstract semantic tree parsing model. The decomposition-based strategy for abstract semantic tree parsing will be discussed in the next section.
50
+
51
+ # 3.1 Abstract Semantic Tree Construction
52
+
53
+ Inspired by the widespread impact of tree structures in parsing tasks (Li et al., 2023; Groschwitz et al., 2023), we represent the relationships among multiple constituents in a tree structure. This approach allows us to capture the complex dynamics inherent in emotional expression. We first introduce the constituents in the abstract semantic tree, then we describe the construction process of the tree.
54
+
55
+ # Definitions of Semantic Constituents
56
+
57
+ There are five types of semantic constituents, each serving as a node in the abstract semantic tree. Their definitions are provided below:
58
+
59
+ - Emotion is the specific emotion label represented from the original text. In this study, we use Plutchik (2001)'s taxonomy of emotion.
60
+ - Sentiment is the specific sentiment label represented from the original text, including "positive", "negative", and "neutral".
61
+ - Trigger refers to a trigger word or expression that describes an emotion, even if it is implicit.
62
+ - Holder refers to a person or entity that feels or experiences the emotion identified by the trigger.
63
+ - Target refers to a person or entity towards whom/which the emotion identified by the trigger is directed.
64
+
65
+ # Process of Tree Construction
66
+
67
+ As shown in Figure 1, the abstract semantic tree represents a sentence through a rooted directed acyclic graph utilizing the aforementioned semantic constituents. The construction process is outlined below:
68
+
69
+ - We take the "Trigger" node as the root node, since it is the most important constituent in the emotion parsing.
70
+ - The virtual nodes "Feelings" and "Entities" are linked to Trigger node.
71
+ - The "Sentiment" and "Emotion" are linked to "Feelings" as terminal nodes, while the "Holder" and "Target" are linked to "Entities" node.
72
+
73
+ As Figure 1 shows, the trigger "clenched his fists" implies the author's emotion. The holder and target are "he" and "the bully taunt his little brother", respectively. By leveraging these emotion-related semantic constituents, the model can accurately predict the "anger" emotion and "negative" polarity of the sentence.
74
+
75
+ # 3.2 Basic Semantic Tree Parsing
76
+
77
+ After we construct the abstract semantic tree, we then employ a generative model to parse the emotion and all the semantic constituents into a linearized tree structure. As shown in Figure 2, given an input text, the output can be represented as a linearized semantic tree.
78
+
79
+ We adopt the pre-trained language model T5 (Chung et al., 2022) as our transformer-based encoder-decoder architecture. Therefore, by formulating parsing tasks as a text generation problem, we can tackle them in a unified sequence-to-sequence framework without a task-specific model design.
80
+
81
+ The main challenge of emotion semantic parsing is the complex structure inherently in the emotional expression. Specifically, the complex structure will bring out two challenges: First, the large number of semantic constituents raises the complexity to the parsing task. Consequently, the precise extraction of every constituent becomes challenging yet indispensable. Second, effectively modeling these internal relationships also presents a significant challenge in the task.
82
+
83
+ # 4 Decomposition-based Semantic Tree Parsing Model
84
+
85
+ In this study, we propose a decomposed-based generative model to tackle the above challenges. The motivation is to alleviate the complexity of the original task by decomposing it into several sub-tasks. As shown in Figure 2, our proposed model can be
86
+
87
+ ![](images/c8db31deb594d79748377026b359f71ac241c28c0a504b872213340c37690e9a.jpg)
88
+ Figure 2: Overview of the proposed model.
89
+
90
+ ![](images/23ffac2dbeaf8a802478e94064ac3283fe2a48403710f281026c73d1148deb2e.jpg)
91
+ Figure 3: Examples of task decomposition strategies. Due to the space limit, prompt texts in this figure are shortened. Original prompt texts are presented in Section 4.1.
92
+
93
+ separated into two stages: decomposition and recomposition. Our model firstly breaks down the original abstract semantic parsing task into several sub-tasks, and then designs individual instruction-based templates for each task. All sub-tasks are fine-tuned by a generative backbone at the same time. Based on the model parameters from the last re-composition stage, our model further finetunes its parameters again with the original task, which involves jointly parsing all semantic constituents.
94
+
95
+ # 4.1 Task Decomposition Strategy
96
+
97
+ To implement a generalized framework that is applicable to all tasks, we design templates for each individual task. The input template for each task comprises the task-specific instruction, and the original text to be parsed. The output template for each task is the sub-tree containing the constituents to be parsed. The following templates use the example in Figure 2 as the Original Text.
98
+
99
+ Mono Parsing includes trigger, emotion, sentiment, holder, and target parsing, individually. As shown in Figure 3(a), these sub-tasks aim to capture each specific constituent:
100
+
101
+ //taking emotion parsing task as an example
102
+
103
+ INPUT Detect the emotion label in the emotional expression: + Original Text
104
+
105
+ Output [Emotion (Anger)]
106
+
107
+ Trigger-related Pair Parsing includes trigger-emotion, trigger-sentiment, trigger-holder, trigger-target, trigger-feelings, and trigger-entities. As shown in Figure 3(b), these sub-tasks aim to capture the relationship between the trigger and each specific constituent:
108
+
109
+ //taking trigger-holder parsing task as an example
110
+
111
+ INPUT Extract both the trigger and holder in the emotional expression: + Original Text
112
+
113
+ Output [Trigger (clench his fists), [Entities, [Holder (he)]]]
114
+
115
+ Entities Pair Parsing aims to capture the relationship between holder and target, and can gain insights into the interpersonal dynamics and relational aspects that influence emotional experiences. The example is shown in Figure 3(c), with the template of prompt provided below:
116
+
117
+ INPUT Extract both holder and target in the emotional expression: + Original Text
118
+
119
+ Output [Entities, [Holder (he), Target (the bully taunt his little brother) ]]
120
+
121
+ Feelings Pair Parsing aims to capture the relationship between sentiment and emotion. The example is shown in Figure 3(d), with the template of prompt provided below:
122
+
123
+ INPUT Extract both the emotion and sentiment labels in the emotional expression: + Original Text
124
+
125
+ Output [Feelings, [Emotion (Anger), Sentiment (Negative) ]]
126
+
127
+ # 4.2 Task Re-composition Strategy
128
+
129
+ After gaining knowledge from sub-tasks, the model has learned the pattern of the template and the relationships from different emotion-related semantic constituents. Thus it can boost the final end-to-end emotion semantic parsing task, which is to predict the emotion label and outputs all emotion-related semantic constituents in the form of an abstract semantic tree. The example is shown in Figure 2, and the template of prompt is the below:
130
+
131
+ INPUT Extract emotion trigger, holder, target, and emotion and sentiment labels in the emotional expression: + Original Text
132
+
133
+ Output [Trigger (clenched his fists), Feelings, [Emotion (Anger), Sentiment (Negative)]], [Entities, [Holder (he), Target (the bully taunt his little brother) ]]
134
+
135
+ # 4.3 Objective Functions and Training
136
+
137
+ In this subsection, we show the objective functions and training process of the proposed model.
138
+
139
+ The goal is to maximize the output linearized tree $X_{T}$ probability given the sentence $X$ . Therefore, we optimize the negative log-likelihood loss function:
140
+
141
+ <table><tr><td></td><td>Amount</td></tr><tr><td>#Sample</td><td>7,234</td></tr><tr><td>Avg. Sent Len.</td><td>26.3</td></tr><tr><td>#Emotion Labels</td><td>9</td></tr><tr><td>#Sentiment Label</td><td>3</td></tr><tr><td>#Trigger</td><td>7,111</td></tr><tr><td>#Holder</td><td>5,633</td></tr><tr><td>#Target</td><td>6,127</td></tr></table>
142
+
143
+ Table 1: Distribution of dataset.
144
+
145
+ $$
146
+ \mathcal {L} = - \frac {1}{| \tau |} \sum_ {(X, X _ {T}) \in \tau} \log p (X _ {T} | X; \theta) \tag {1}
147
+ $$
148
+
149
+ where $\theta$ is the model parameters, and $(X,X_{T})$ is a (sentence, tree) pair in training set $\tau$ , then
150
+
151
+ $$
152
+ \begin{array}{l} \log p (X _ {T} | X; \theta) \\ = \sum_ {i = 1} ^ {n} \log p \left(x _ {T} ^ {i} \mid x _ {T} ^ {1}, x _ {T} ^ {2}, \dots x _ {T} ^ {i - 1}, X; \theta\right) \tag {2} \\ \end{array}
153
+ $$
154
+
155
+ where $p(x_{T}^{i}|x_{T}^{1},x_{T}^{2},\dots x_{T}^{i - 1},X;\theta)$ is calculated by the decoder.
156
+
157
+ # 5 Experimentation
158
+
159
+ In this section, we introduce the datasets used for evaluation and the baseline methods employed for comparison. We then report the experimental results conducted from different perspectives, and analyze the effectiveness of the proposed model with different factors.
160
+
161
+ # 5.1 Settings
162
+
163
+ We evaluate the effectiveness of our proposed method on a benchmark proposed in Campagnano et al. (2022), which combines several datasets. We specifically choose three datasets (Mohammad et al., 2015; Kim and Klinger, 2018; Bostan et al., 2020) from this benchmark because they are the only ones that encompass annotations for all constituents. We enhance the quality of the original dataset by deleting duplicate or irrelevant examples (e.g., those with all trigger, holder, and target are "null"), while ensuring the trigger is not "null". The distribution of dataset is shown in Table 1. We choose $90\%$ of the data as the training set, and the remaining $10\%$ of the data as the testing set. Additionally, $10\%$ of the training data is randomly set aside for validation during the training process.
164
+
165
+ <table><tr><td>Methods</td><td>Emotion</td><td>Sentiment</td><td>Trigger</td><td>Holder</td><td>Target</td><td>Micro F1.</td></tr><tr><td>BERT-CRF</td><td>40.3</td><td>58.6</td><td>19.0</td><td>23.3</td><td>24.0</td><td>33.1</td></tr><tr><td>BERT-MRC</td><td>42.6</td><td>60.3</td><td>15.2</td><td>22.4</td><td>19.3</td><td>30.8</td></tr><tr><td>TaskFusion</td><td>45.7</td><td>62.3</td><td>-</td><td>-</td><td>-</td><td>-</td></tr><tr><td>USSA</td><td>41.3</td><td>-</td><td>17.3</td><td>32.6</td><td>14.3</td><td>-</td></tr><tr><td>T5</td><td>40.2</td><td>59.4</td><td>21.0</td><td>47.2</td><td>32.1</td><td>38.2</td></tr><tr><td>ChatGPT</td><td>22.3</td><td>30.7</td><td>10.4</td><td>21.3</td><td>9.6</td><td>18.9</td></tr><tr><td>LLaMA</td><td>42.4</td><td>57.6</td><td>22.4</td><td>43.5</td><td>31.3</td><td>39.4</td></tr><tr><td>Ours</td><td>46.3</td><td>63.6</td><td>30.8</td><td>55.0</td><td>37.4</td><td>46.7</td></tr></table>
166
+
167
+ Table 2: Comparison with baselines.
168
+
169
+ Our proposed method utilizes the generative backbone Flan-T5 (Chung et al., 2022) from HuggingFace's hub. All experiments are conducted on a single NVIDIA Tesla V100 GPU with 32GB memory. The model is trained for 10 epochs in each of the two stages, using the AdamW (Loshchilov and Hutter) optimizer, with a maximum sequence length of 256, a batch size of 16, and a learning rate of 3e-4. And the average results over 5 runs with different random seeds are reported. We adopt F1-score as the metric for all experiments, the micro F1 is employed to evaluate the overall performance.
170
+
171
+ # 5.2 Main Results
172
+
173
+ To better evaluate the effectiveness of our proposed model, we compare its performance against several strong baseline models, which are detailed below,
174
+
175
+ - BERT-CRF (Campagnano et al., 2022) employs bidirectional LSTM layers over BERT representation, then uses CRF to generate token-level labels to determine the span boundary of each semantic constituent.
176
+ - BERT-MRC (Devlin et al., 2019) is used to predict the start and end indexes of all required semantic constituents.
177
+ - TaskFusion (Zanwar et al., 2023) is a multi-task framework with a pre-trained language model for emotion-related tasks. We adopt it for the proposed emotion semantic parsing task.
178
+ - USSA (Zhai et al., 2023) is a joint learning framework, which transfers aspect-based sentiment analysis into a 2D table-filling scheme. We adopt it for the proposed emotion semantic parsing task.
179
+
180
+ - T5 (Chung et al., 2022) is a pre-trained language model which naturally suits the sequence-to-sequence task. It also can be considered as a joint learning framework, which generates all the semantic constituents jointly.
181
+ - ChatGPT (Ouyang et al., 2022) uses dialog-based instructional data in the supervised and RL-based meta-training stages. We use ChatGPT API to generate all required semantic constituents.
182
+ - LLaMA (Touvron et al., 2023) is a series of large language models trained on trillions of tokens. We use Alpaca-LoRA² to fine-tune LLaMA-7B to generate required semantic constituents.
183
+
184
+ As demonstrated in Table 2, several key observations can be made: 1) Aligning with the current trend favoring generative frameworks, models that adopt a generative paradigm (i.e., T5, LLaMA, and our proposed model) generally outpace models based on a classification paradigm (i.e., BERT-CRF, BERT-MRC, Task Fusion, USSA) in terms of performance. 2) A standout observation is the substantial performance disparity between ChatGPT and all other methodologies. This discrepancy might be attributed to our limited usage of ChatGPT's API, without fine-tuning its internal parameters using insights from our training dataset.
185
+
186
+ In contrast, our proposed model consistently outperforms prior studies $(p < 0.05)$ in all settings. This underscores the effectiveness of our model, employing task decomposition strategies and the abstract semantic tree structure.
187
+
188
+ ![](images/f1305e83c2f21d4ba51501bf115fedd5ad29d5eb119ba222d6355bbaf6b65239.jpg)
189
+ Figure 4: Effect of tree structures.
190
+
191
+ <table><tr><td>Tuples</td><td>e</td><td>s</td><td>t</td><td>h</td><td>a</td></tr><tr><td>(e)</td><td>42.5</td><td>-</td><td>-</td><td>-</td><td>-</td></tr><tr><td>(t)</td><td>-</td><td>-</td><td>28.4</td><td>-</td><td>-</td></tr><tr><td>(e,s)</td><td>43.5</td><td>65.1</td><td>-</td><td>-</td><td>-</td></tr><tr><td>(e,t)</td><td>45.2</td><td>-</td><td>29.1</td><td>-</td><td>-</td></tr><tr><td>(e,s,t)</td><td>45.7</td><td>67.5</td><td>30.7</td><td>-</td><td>-</td></tr><tr><td>(t,h)</td><td>-</td><td>-</td><td>29.3</td><td>43.1</td><td>-</td></tr><tr><td>(t,a)</td><td>-</td><td>-</td><td>29.1</td><td>-</td><td>32.4</td></tr><tr><td>(t,h,a)</td><td>-</td><td>-</td><td>29.3</td><td>50.0</td><td>35.5</td></tr><tr><td>(e,t,h,a)</td><td>45.9</td><td>-</td><td>29.4</td><td>52.4</td><td>35.3</td></tr><tr><td>Ours</td><td>46.3</td><td>63.6</td><td>30.8</td><td>55.0</td><td>37.4</td></tr></table>
192
+
193
+ Table 3: Correlations among semantic constituents.
194
+
195
+ <table><tr><td>Methods</td><td>Micro F1.</td></tr><tr><td>Ours</td><td>46.7</td></tr><tr><td>- Mono</td><td>39.8</td></tr><tr><td>- TriggerPair</td><td>40.3</td></tr><tr><td>- EntitiesPair</td><td>41.8</td></tr><tr><td>- FeelingsPair</td><td>44.3</td></tr></table>
196
+
197
+ Table 4: Impact of decomposition strategies.
198
+
199
+ # 5.3 Influence of Semantic Constituents
200
+
201
+ We then analyze the influence of the semantic constituents and the correlations among them. As shown in Table 3, $e$ denotes the emotion label, $s$ is the sentiment polarity, $t, h$ and $a$ are trigger, holder, and target, separately. In addition, the rows in the table mean different combinations of emotion-related semantic constituents. For example, $(e, s)$ means that we used the proposed model to generate the emotion label and the sentiment polarity jointly.
202
+
203
+ From the table, it is evident that there is a clear correlation between emotion and sentiment polarity, as the combined performance of $(e,s)$ surpasses that of generating emotion $e$ alone. This underscores the importance of considering sentiment polarity when analyzing and interpreting emotions. Additionally, our findings reveal that the majority of semantic constituents contribute significantly to
204
+
205
+ emotion detection, especially trigger $t$ . For example, the combined performance of $(e, t)$ surpasses that of generating emotion $e$ alone by a large margin. This underscores the importance of these semantic elements in understanding and contextualizing emotions within a given text.
206
+
207
+ Furthermore, our results highlight a correlation between the holder $h$ and target $a$ with the trigger $t$ , as they often refer to the person or entity experiencing or feeling the emotion triggered by a specific event or situation. This emphasizes the interconnected nature of these semantic constituents and their collective role in shaping emotional expressions.
208
+
209
+ Notably, we observe that incorporating all semantic constituents leads to the highest performance, highlighting the effectiveness of our proposed model with semantic tree parsing. This underscores the utility and relevance of these semantic constituents in enhancing emotion detection accuracy.
210
+
211
+ # 5.4 Effect of Tree Structures
212
+
213
+ To assess the impact of the abstract semantic tree structure, we evaluated our model's performance using four distinct tree structures in Figure 4.
214
+
215
+ In our initial assessment, we removed the entire tree structure, treating the semantic constituents as a linear sequence (a). This modification resulted in a substantial decrease in performance, from $46.7\%$ to $40.7\%$ , emphasizing the importance of the tree structure in capturing the intricate relationships among semantic constituents.
216
+
217
+ Subsequently, we constructed two simplified tree structures, with either Trigger (b) or Emotion (c) serving as the root node. Interestingly, both of these structures yielded comparable performance results, suggesting that both of them are pivotal components in the emotion parsing task, and their roles are equally significant. Furthermore, we introduced two virtual nodes, labeled as Feelings and
218
+
219
+ <table><tr><td>Input</td><td>Model</td><td>Output (Linearized Abstract Semantic Tree)</td></tr><tr><td rowspan="2">Jean Valjean was sincere. This sincerity from the very grief that it caused him, rendered inquiries useless, and conferred authority on all that that man had said. Here, for Marius, there was a strange reversal of situations.</td><td>T5</td><td>[Trigger, sincerity, [Feelings, [Emotion, trust], [Sentiment, positive]], [Entity, [Holder, him], [Target, null]]]</td></tr><tr><td>Ours</td><td>[Trigger, grief, [Feelings, [Emotion, sadness], [Sentiment, negative]], [Entity, [Holder, him], [Target, null]]]</td></tr><tr><td rowspan="2">&quot;Do you think me so very proud?&quot; he suddenly asked. &quot;I think you very strange.&quot;</td><td>T5</td><td>[Trigger, so very proud, [Feelings, [Emotion, joy], [Sentiment, positive]], [Entity, [Holder, you], [Target, me]]]</td></tr><tr><td>Ours</td><td>[Trigger, suddenly, [Feelings, [Emotion, surprise], [Sentiment, other]], [Entity, [Holder, he], [Target, null]]]</td></tr><tr><td rowspan="2">Last year I was wild to marry you, and you wouldn&#x27;t look at me.</td><td>T5</td><td>[Trigger, wouldn&#x27;t look at me, [Feelings, [Emotion, anger], [Sentiment, negative]], [Entity, [Holder, I], [Target, you]]]</td></tr><tr><td>Ours</td><td>[Trigger, wouldn&#x27;t look at me, [Feelings, [Emotion, disgust], [Sentiment, negative]], [Entity, [Holder, you], [Target, I]]]</td></tr></table>
220
+
221
+ Figure 5: Examples of case study. The text in green means an exact match, while text in red indicates inaccuracies. "Null" means the extracted constituent is missing.
222
+
223
+ Entities into the tree structure (d). The inclusion of these nodes led to a noticeable improvement in performance, highlighting the efficacy of our proposed tree structures and reinforcing the importance of considering semantic constituents within a structured framework for accurate emotion parsing.
224
+
225
+ # 5.5 Impact of Decomposition Strategies
226
+
227
+ We further investigated the influence of various decomposition strategies, and the results are presented in Table 4, where Mono denotes Mono Parsing, TriggerPair denotes Trigger-related Pair Parsing, EntitiesPair denotes Entities Pair Parsing, and FeelingsPair denotes Feelings Pair Parsing. All of these can be found in Section 4.1.
228
+
229
+ Our analysis reveals that among all the strategies, mono parsing exerts the most substantial impact on model performance, aligning with our initial expectations. Mono parsing can be regarded as the foundational and indivisible task that serves as the basis for other higher-level tasks. Moreover, our findings indicate that all the decomposition strategies employed have a positive influence on the task, emphasizing the importance of breaking down the original task into smaller sub-tasks and the efficacy of reintegrating these sub-tasks to address the main task.
230
+
231
+ # 5.6 Case Study
232
+
233
+ To highlight our model's significance, we've chosen several challenging and illustrative examples shown in Figure 5.
234
+
235
+ These challenging sentences share the same feature: they express more than one emotion expres
236
+
237
+ sion, each associated with its own trigger, holder, and target. However, in each case, there is only one overall emotion. The presence of secondary emotions makes it difficult to fully grasp the overall emotional tone of the sentence.
238
+
239
+ In the first two examples, the mis-detection of emotion expressions by T5 underscores the intricate and nuanced nature of the task, as well as the significance of each element in constructing a precise semantic representation. However, even when the correct emotion expression is identified, modeling the complex relationship between emotion and other semantic components remains challenging. As illustrated in the final example, although T5 correctly identifies the expression and its trigger, its inability to accurately detect the holder and target leads to an incorrect prediction of emotion. This highlights the interconnected nature of these elements and underscores their collective importance in achieving accurate emotion detection.
240
+
241
+ In contrast, our proposed model, by leveraging task decomposition, demonstrates enhanced efficacy in navigating complexities present in difficult scenarios such as negotiation, emotion shifts, and multiple possible emotion expressions. This not only facilitates accurate detection of individual constituents but also enables a more nuanced understanding of their interrelationships, leading to improved overall performance.
242
+
243
+ # 6 Conclusion
244
+
245
+ In this study, we introduce a novel task called emotion semantic parsing, which focuses on analyzing emotions and semantic elements to construct an ab
246
+
247
+ tract semantic tree structure. To achieve this, we develop an end-to-end generation model capable of capturing intricate relationships between emotions and various semantic constituents, generating them collaboratively. Furthermore, our proposed model employs template-based prompt learning, allowing for the separate extraction of each semantic constituent and pairs of semantic constituents for individual sub-tasks. Experimental results not only underscore the significance of the introduced task but also showcase the superior performance of our proposed model.
248
+
249
+ # Limitations
250
+
251
+ Our work focuses on employing a unified framework for emotion semantic parsing. However, one of the limitations is the computational complexity of the proposed model, whose training speed is slower than the classification-based models. Secondly, more tasks could be further explored, including nested emotion parsing, cross-domain and cross-lingual emotion semantic parsing. Finally, a large language model (LLM) can achieve superior performance in nearly all downstream tasks including our task, attributed to their ability to introduce rich knowledge learned during the pretraining stage for our proposed task. For open-source large language models like LLaMA (Touvron et al., 2023), limitations include high computational costs, high-quality data costs, as well as the need to address LLM-related issues such as safety, hallucinations, and ethical concerns, which remain to be resolved in future work.
252
+
253
+ # Acknowledgements
254
+
255
+ We would like to thank Shufan Fu for her invaluable advice and assistance with the experiments during this work. We also gratefully thank the anonymous reviewers for their insightful and valuable comments. This work is supported by the National Natural Science Foundation of China (No. 62076175, No.61976146), and Jiangsu Innovation Doctor Plan.
256
+
257
+ # References
258
+
259
+ Fadwa Alrowais, Noha Negm, Majdi Khalid, Nabil Almalki, Radwa Marzouk, Abdullah Mohamed, Mesfer Al Duhayyim, and Amani a Alneil. 2023. Modified earthworm optimization with deep learning assisted emotion recognition for human computer interface. IEEE Access, 11:35089-35096.
260
+
261
+ Nurudin Alvarez-Gonzalez, Andreas Kaltenbrunner, and Vicenç Gómez. 2021. Uncovering the limits of text-based emotion detection. In Findings of the Association for Computational Linguistics: EMNLP 2021, pages 2560-2583, Punta Cana, Dominican Republic. Association for Computational Linguistics.
262
+ Alexandra Balahur, Jesús M. Hermida, Andres Montoyo, and Rafael Muñoz. 2011. Emotinet: A knowledge base for emotion detection in text built on the appraisal theories. In *Natural Language Processing and Information Systems*, pages 27-39, Berlin, Heidelberg. Springer Berlin Heidelberg.
263
+ Laura Ana Maria Bostan, Evgeny Kim, and Roman Klinger. 2020. GoodNewsEveryone: A corpus of news headlines annotated with emotions, semantic roles, and reader perception. In Proceedings of the Twelfth Language Resources and Evaluation Conference, pages 1554-1566, Marseille, France. European Language Resources Association.
264
+ Cesare Campagnano, Simone Conia, and Roberto Navigli. 2022. SRL4E – Semantic Role Labeling for Emotions: A Unified Evaluation Framework. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 4586–4601, Dublin, Ireland. Association for Computational Linguistics.
265
+ Hao Chen, Zepeng Zhai, Fangxiang Feng, Ruifan Li, and Xiaojie Wang. 2022. Enhanced Multi-Channel Graph Convolutional Network for Aspect Sentiment Triplet Extraction. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 2974–2985, Dublin, Ireland. Association for Computational Linguistics.
266
+ Xinhong Chen, Qing Li, and Jianping Wang. 2020. A unified sequence labeling model for emotion cause pair extraction. In Proceedings of the 28th International Conference on Computational Linguistics, pages 208-218, Barcelona, Spain (Online). International Committee on Computational Linguistics.
267
+ Kalpana Chowdary, Tu Nguyen, and D. Hemanth. 2021. Deep learning-based facial emotion recognition for human-computer interaction applications. *Neural Computing and Applications*, pages 1-18.
268
+ 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.
269
+ 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.
270
+
271
+ Marwan Dhuheir, Abdullahif Albaseer, Emna Baccour, Aiman Erbad, Mohamed M. Abdallah, and Mounir Hamdi. 2021. Emotion recognition for healthcare surveillance systems using neural networks: A survey. CoRR, abs/2107.05989.
272
+ Zixiang Ding, Rui Xia, and Jianfei Yu. 2020a. ECPE-2D: Emotion-cause pair extraction based on joint two-dimensional representation, interaction and prediction. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pages 3161-3170, Online. Association for Computational Linguistics.
273
+ Zixiang Ding, Rui Xia, and Jianfei Yu. 2020b. End-to-end emotion-cause pair extraction based on sliding window multi-label learning. In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP), pages 3574-3583, Online. Association for Computational Linguistics.
274
+ Fang Fang, Yin Zhou, Shi Ying, and Zhijuan Li. 2023. A study of the ping an health app based on user reviews with sentiment analysis. International Journal of Environmental Research and Public Health, 20(2):1591.
275
+ Jonas Groschwitz, Shay Cohen, Lucia Donatelli, and Meaghan Fowlie. 2023. AMR parsing is far from solved: GrAPES, the granular AMR parsing evaluation suite. In Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing, pages 10728-10752, Singapore. Association for Computational Linguistics.
276
+ Xiaojie Gu, Renze Lou, Lin Sun, and Shangxin Li. 2023. Page: A position-aware graph-based model for emotion cause entailment in conversation. In ICASSP 2023 - 2023 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pages 1-5.
277
+ Dou Hu, Lingwei Wei, and Xiaoyong Huai. 2021. DialogueCRN: Contextual reasoning networks for emotion recognition in conversations. 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 7042-7052, Online. Association for Computational Linguistics.
278
+ Evgeny Kim and Roman Klinger. 2018. Who feels what and why? annotation of a literature corpus with semantic roles of emotions. In Proceedings of the 27th International Conference on Computational Linguistics, pages 1345-1359, Santa Fe, New Mexico, USA. Association for Computational Linguistics.
279
+ Pan Li, Ping Li, and Kai Zhang. 2023. Dual-channel span for aspect sentiment triplet extraction. In Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing, pages 248-261, Singapore. Association for Computational Linguistics.
280
+
281
+ Ilya Loshchilov and Frank Hutter. Decoupled weight decay regularization. In International Conference on Learning Representations.
282
+ Navonil Majumder, Soujanya Poria, Devamanyu Hazarika, Rada Mihalcea, Alexander Gelbukh, and Erik Cambria. 2019. Dialoguernn: An attentive rnn for emotion detection in conversations. Proceedings of the AAAI Conference on Artificial Intelligence, 33(01):6818-6825.
283
+ Saif M. Mohammad, Xiaodan Zhu, Svetlana Kiritchenko, and Joel Martin. 2015. Sentiment, emotion, purpose, and style in electoral tweets. Information Processing Management, 51(4):480-499.
284
+ Long Ouyang, Jeffrey Wu, Xu Jiang, Diogo Almeida, Carroll Wainwright, Pamela Mishkin, Chong Zhang, Sandhini Agarwal, Katarina Slama, Alex Ray, et al. 2022. Training language models to follow instructions with human feedback. Advances in Neural Information Processing Systems, 35:27730-27744.
285
+ Gabriela Pavarini, Tessa Reardon, Anja Hollowell, Vanessa Bennett, Emma Lawrence, Peer Support Young People's Advisory Group Brooks-Hall Ellie Foster-Estwick Ashley Juma Damian Omari Lewis Peter Power Lucy Rogers Maia, Vanessa Pifold, and Ilina Singh. 2023. Online peer support training to promote adolescents' emotional support skills, mental health and agency during covid-19: Randomised controlled trial and qualitative evaluation. European Child & Adolescent Psychiatry, 32(6):1119-1130.
286
+ Robert Plutchik. 2001. The nature of emotions: Human emotions have deep evolutionary roots, a fact that may explain their complexity and provide tools for clinical practice. American Scientist, 89(4):344-350.
287
+ Colin Raffel, Noam Shazeer, Adam Roberts, Katherine Lee, Sharan Narang, Michael Matena, Yanqi Zhou, Wei Li, and Peter J Liu. 2020. Exploring the limits of transfer learning with a unified text-to-text transformer. The Journal of Machine Learning Research, 21(1):5485-5551.
288
+ 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. arXiv preprint arXiv:2302.13971.
289
+ Quan Tu, Yanran Li, Jianwei Cui, Bin Wang, Ji-Rong Wen, and Rui Yan. 2022. MISC: A mixed strategy-aware model integrating COMET for emotional support conversation. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 308-319, Dublin, Ireland. Association for Computational Linguistics.
290
+ Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N Gomez, Lukasz Kaiser, and Illia Polosukhin. 2017. Attention is all
291
+
292
+ you need. In Advances in Neural Information Processing Systems, volume 30. Curran Associates, Inc.
293
+ Fanfan Wang, Jianfei Yu, and Rui Xia. 2023. Generative emotion cause triplet extraction in conversations with commonsense knowledge. In *Findings of the Association for Computational Linguistics: EMNLP* 2023, pages 3952-3963, Singapore. Association for Computational Linguistics.
294
+ Rui Xia and Zixiang Ding. 2019. Emotion-cause pair extraction: A new task to emotion analysis in texts. In Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics, pages 1003–1012, Florence, Italy. Association for Computational Linguistics.
295
+ Debin Xiao, Rui Xia, and Jianfei Yu. 2023. Emotion cause extraction on social media without human annotation. In *Findings of the Association for Computational Linguistics: ACL* 2023, pages 1455-1468, Toronto, Canada. Association for Computational Linguistics.
296
+ Jianfei Yu, Luís Marujo, Jing Jiang, Pradeep Karuturi, and William Brendel. 2018. Improving multi-label emotion classification via sentiment classification with dual attention transfer network. In Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing, pages 1097-1102, Brussels, Belgium. Association for Computational Linguistics.
297
+ Chaofa Yuan, Chuang Fan, Jianzhu Bao, and Ruifeng Xu. 2020. Emotion-cause pair extraction as sequence labeling based on a novel tagging scheme. In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP), pages 3568-3573, Online. Association for Computational Linguistics.
298
+ Sourabh Zanwar, Xiaofei Li, Daniel Wiechmann, Yu Qiao, and Elma Kerz. 2023. What to fuse and how to fuse: Exploring emotion and personality fusion strategies for explainable mental disorder detection. In *Findings of the Association for Computational Linguistics: ACL* 2023, pages 8926-8940, Toronto, Canada. Association for Computational Linguistics.
299
+ Zepeng Zhai, Hao Chen, Ruifan Li, and Xiaojie Wang. 2023. USSA: A unified table filling scheme for structured sentiment analysis. In Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 14340-14353, Toronto, Canada. Association for Computational Linguistics.
300
+ Xiaopeng Zheng, Zhiyue Liu, Zizhen Zhang, Zhaoyang Wang, and Jiahai Wang. 2022. UECA-prompt: Universal prompt for emotion cause analysis. In Proceedings of the 29th International Conference on Computational Linguistics, pages 7031-7041, Gyeongju, Republic of Korea. International Committee on Computational Linguistics.
2024/End-to-End Emotion Semantic Parsing/images.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:84c735d1300bb7be60bd1f7c74952172f0b35dfbdf2600b118752cd28de6dc91
3
+ size 388522
2024/End-to-End Emotion Semantic Parsing/layout.json ADDED
The diff for this file is too large to render. See raw diff
 
2024/Enhanced Language Model Truthfulness with Learnable Intervention and Uncertainty Expression/1e32c8cd-be45-4789-ad01-c4457a07e0bd_content_list.json ADDED
@@ -0,0 +1,2088 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "type": "text",
4
+ "text": "Enhanced Language Model Truthfulness with Learnable Intervention and Uncertainty Expression",
5
+ "text_level": 1,
6
+ "bbox": [
7
+ 203,
8
+ 89,
9
+ 794,
10
+ 130
11
+ ],
12
+ "page_idx": 0
13
+ },
14
+ {
15
+ "type": "text",
16
+ "text": "Farima Fatahi Bayat, Xin Liu, H. V. Jagadish, Lu Wang",
17
+ "bbox": [
18
+ 260,
19
+ 154,
20
+ 746,
21
+ 172
22
+ ],
23
+ "page_idx": 0
24
+ },
25
+ {
26
+ "type": "text",
27
+ "text": "University of Michigan, Ann Arbor",
28
+ "bbox": [
29
+ 357,
30
+ 173,
31
+ 645,
32
+ 187
33
+ ],
34
+ "page_idx": 0
35
+ },
36
+ {
37
+ "type": "text",
38
+ "text": "{farimaf, liuxincs, jag, wangluxy} @umich.edu",
39
+ "bbox": [
40
+ 312,
41
+ 187,
42
+ 690,
43
+ 204
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": "Large language models (LLMs) can generate long-form and coherent text, yet they often hallucinate facts, which undermines their reliability. To mitigate this issue, inference-time methods steer LLM representations toward the \"truthful directions\" previously learned for truth elicitation. However, applying these truthful directions with the same intensity fails to generalize across different query contexts. We propose LITO, a Learnable Intervention method for Truthfulness Optimization that automatically identifies the optimal intervention intensity tailored to each specific context. LITO explores a sequence of model generations based on increasing levels of intervention intensities. It selects the most accurate response or refuses to answer when the predictions are highly uncertain. Experiments on multiple LLMs and question-answering datasets demonstrate that LITO improves truthfulness while preserving task accuracy. The adaptive nature of LITO counters the limitations of one-size-fits-all intervention methods, maximizing truthfulness by reflecting the model's internal knowledge only when it is confident. Our code is available at https://github.com/launchnlp/LITO.",
62
+ "bbox": [
63
+ 142,
64
+ 282,
65
+ 460,
66
+ 652
67
+ ],
68
+ "page_idx": 0
69
+ },
70
+ {
71
+ "type": "text",
72
+ "text": "1 Introduction",
73
+ "text_level": 1,
74
+ "bbox": [
75
+ 114,
76
+ 665,
77
+ 258,
78
+ 682
79
+ ],
80
+ "page_idx": 0
81
+ },
82
+ {
83
+ "type": "text",
84
+ "text": "Despite their impressive performance across a wide range of natural language processing (NLP) tasks, large language models (LLMs) still generate hallucinated outputs that lack real-world basis, limiting their reliability in critical applications that require truthful responses. Many promising directions are explored to overcome this challenge, such as developing methods to ground LLMs in external knowledge and incorporate credibility indicators into model outputs (Gao et al., 2023; Fatahi Bayat et al., 2023). Another class of methods states the presence of a linear representation of \"truth\" in model activations (Marks and Tegmark, 2023; Li et al., 2023; Burns et al., 2022). These methods",
85
+ "bbox": [
86
+ 112,
87
+ 694,
88
+ 489,
89
+ 917
90
+ ],
91
+ "page_idx": 0
92
+ },
93
+ {
94
+ "type": "image",
95
+ "img_path": "images/cb775361bd164722d4ed0d9cf76bb8e88a39c280a374e05603e159da46fc0297.jpg",
96
+ "image_caption": [
97
+ "Figure 1: Model responses using the inference-time intervention method with intensities increasing from 5 to 25. For different queries, the model achieves correct responses at varying intensity levels, indicated by green (correct) and red (incorrect) colors. Darkness of color represents the model's confidence in its response."
98
+ ],
99
+ "image_footnote": [],
100
+ "bbox": [
101
+ 512,
102
+ 250,
103
+ 880,
104
+ 423
105
+ ],
106
+ "page_idx": 0
107
+ },
108
+ {
109
+ "type": "text",
110
+ "text": "train linear probes on top of LLM's internal activations to identify truthful directions in their representation space. In particular, Burns et al. (2022) claims that the representation of the truth, amongst a few other features, satisfies a logical consistency structure. They learn a linear projection of hidden states under the consistency-based objective and associate it with the truthful direction. However, Farquhar et al. (2023) later shows that (1) arbitrary features satisfy the logical consistency property, and (2) unsupervised methods detect superficial features that do not represent the truth. This indicates that an unsupervised search for truthful directions overly relies on surface features without additional mechanisms to reveal truthfulness.",
111
+ "bbox": [
112
+ 507,
113
+ 532,
114
+ 884,
115
+ 772
116
+ ],
117
+ "page_idx": 0
118
+ },
119
+ {
120
+ "type": "text",
121
+ "text": "To avoid capturing irrelevant features, Li et al. (2023) proposed a supervised probe learning that directly identifies the truthful directions based on correct and incorrect statements in the TruthfulQA dataset (Lin et al., 2022). This method, called inference-time intervention (ITI), trains supervised linear probes on the output of each attention head, treating the resulting probe weights as truthful directions. Additionally, a scaling coefficient is tuned",
122
+ "bbox": [
123
+ 507,
124
+ 774,
125
+ 884,
126
+ 917
127
+ ],
128
+ "page_idx": 0
129
+ },
130
+ {
131
+ "type": "page_number",
132
+ "text": "12388",
133
+ "bbox": [
134
+ 475,
135
+ 927,
136
+ 524,
137
+ 940
138
+ ],
139
+ "page_idx": 0
140
+ },
141
+ {
142
+ "type": "footer",
143
+ "text": "Findings of the Association for Computational Linguistics: ACL 2024, pages 12388-12400",
144
+ "bbox": [
145
+ 220,
146
+ 945,
147
+ 778,
148
+ 958
149
+ ],
150
+ "page_idx": 0
151
+ },
152
+ {
153
+ "type": "footer",
154
+ "text": "August 11-16, 2024 ©2024 Association for Computational Linguistics",
155
+ "bbox": [
156
+ 284,
157
+ 959,
158
+ 712,
159
+ 971
160
+ ],
161
+ "page_idx": 0
162
+ },
163
+ {
164
+ "type": "text",
165
+ "text": "to determine the intensity at which each direction should be added to its respective head output at inference time. However, amplifying the truthful directions with a fixed single intensity does not generalize across all contexts. Figure 1 demonstrates this by showing the Llama2-Chat-7B (Touvron et al., 2023b) model's performance on answering various queries from the Natural Questions dataset (Kwiatkowski et al., 2019) after applying the ITI technique with gradually increasing truthful direction intensities. Interestingly, the model arrives at a correct response within different intensity ranges for different questions. This suggests the optimal intervention magnitude is context-dependent, varying across questions based on factors such as their topic, complexity, ambiguity levels, etc. Moreover, the truthful directions may not capture all aspects of truthfulness. Therefore, adjusting the intensity alone cannot guarantee accurate responses. For instance, consider the question \"What flag is red and has a gold star?\" in Figure 1. Intervening with varying strengths of truthful directions does not result in a correct answer. In such cases, the model should express uncertainty to stay truthful.",
166
+ "bbox": [
167
+ 115,
168
+ 84,
169
+ 490,
170
+ 469
171
+ ],
172
+ "page_idx": 1
173
+ },
174
+ {
175
+ "type": "text",
176
+ "text": "To address the limitations of one-size-fits-all intervention solutions by prior methods, we propose a Learnable Intervention method for Truthfulness Optimization, LITO. LITO identifies truthful direction intensities that suit different contexts, e.g., different questions. Given a sequence of model generations at multiple levels of intervention intensities, we develop a method to maximize truthfulness, which we define as selecting factual responses when the model is highly confident and refusing to respond otherwise. To achieve this, we collect model responses, including textual outputs, hidden representations, and confidence values, at increasing levels of intervention intensity. We then train an LSTM-based classifier to assess the accuracy of these responses based on the sequence of hidden states. During inference, the system selects the most accurate response if any is deemed accurate by the classifier; otherwise, it outputs \"I have no comment\" to express uncertainty and refuse to answer.",
177
+ "bbox": [
178
+ 115,
179
+ 478,
180
+ 489,
181
+ 814
182
+ ],
183
+ "page_idx": 1
184
+ },
185
+ {
186
+ "type": "text",
187
+ "text": "We measure the performance of LITO and other methods in balancing truthfulness and accuracy, introducing a novel evaluation metric called the Truthfulness-Accuracy (TA) score. This metric evaluates the trade-off between truthfulness and task-specific accuracy by measuring how effec",
188
+ "bbox": [
189
+ 115,
190
+ 822,
191
+ 489,
192
+ 917
193
+ ],
194
+ "page_idx": 1
195
+ },
196
+ {
197
+ "type": "text",
198
+ "text": "tively different methods produce truthful outputs that appropriately acknowledge uncertainty while also achieving high accuracy on the target task.",
199
+ "bbox": [
200
+ 512,
201
+ 84,
202
+ 880,
203
+ 131
204
+ ],
205
+ "page_idx": 1
206
+ },
207
+ {
208
+ "type": "text",
209
+ "text": "LITO is a learnable intervention methodology agnostic to the specific intervention method used, as long as the method can identify and apply truthful directions to the model's internal representations. In this paper, we instantiate LITO using the ITI method and extend its application to unsupervised truthful directions detected through representation engineering (RepE) (Zou et al., 2023). We conduct comprehensive experiments across four datasets and two categories of language models: Llama and GPT-2. The results show that LITO significantly improves truthfulness while preserving high task accuracy across different intervention methods. For example, using the ITI method, LITO boosts the $TA$ score of Llama2-Chat-7B by 9.6 points on the Natural Questions dataset. Additionally, we evaluate LITO in a cross-domain setting to demonstrate its transferability across tasks.",
210
+ "bbox": [
211
+ 512,
212
+ 133,
213
+ 882,
214
+ 422
215
+ ],
216
+ "page_idx": 1
217
+ },
218
+ {
219
+ "type": "text",
220
+ "text": "2 Problem Statement and Preliminaries",
221
+ "text_level": 1,
222
+ "bbox": [
223
+ 512,
224
+ 437,
225
+ 867,
226
+ 451
227
+ ],
228
+ "page_idx": 1
229
+ },
230
+ {
231
+ "type": "text",
232
+ "text": "We consider the problem of mitigating hallucinations in large language models through truthfulness enhancement. Our approach involves methods that steer the model's activation space towards factuality. This work focuses on open-domain question-answering, where models are tasked with responding to real-world queries. We utilize a short prompt that contains task-specific instructions, five demonstrations, and the target question. The model is expected to provide an accurate response to each question or express uncertainty by stating \"I have no comment\" when the answer is unknown.",
233
+ "bbox": [
234
+ 512,
235
+ 464,
236
+ 882,
237
+ 656
238
+ ],
239
+ "page_idx": 1
240
+ },
241
+ {
242
+ "type": "text",
243
+ "text": "2.1 Inference-time Intervention (ITI)",
244
+ "text_level": 1,
245
+ "bbox": [
246
+ 512,
247
+ 671,
248
+ 815,
249
+ 686
250
+ ],
251
+ "page_idx": 1
252
+ },
253
+ {
254
+ "type": "text",
255
+ "text": "To enhance truthfulness, we adopt a supervised truth elicitation technique called inference-time intervention (ITI) (Li et al., 2023). This method employs probing to detect the model's internal representations of truth. ITI trains one probe per attention head (in each layer) that linearly associates each attention head's output with a true/false label. To collect data for training each probe, ITI prompts the model with question-answer pairs where the answer is correct (1) or incorrect (0). Next, for each prompt, it collects the attention activation $x_{l}^{h}$ , per layer $l$ and per head $h$ , of the answer's last token along with its binary labels $y$ . A linear probe $p(x_{l}^{h}) = \\text{sigmoid}(\\langle d_{l}^{h}, x_{l}^{h} \\rangle)$ is then trained",
256
+ "bbox": [
257
+ 512,
258
+ 694,
259
+ 882,
260
+ 917
261
+ ],
262
+ "page_idx": 1
263
+ },
264
+ {
265
+ "type": "page_number",
266
+ "text": "12389",
267
+ "bbox": [
268
+ 478,
269
+ 928,
270
+ 524,
271
+ 940
272
+ ],
273
+ "page_idx": 1
274
+ },
275
+ {
276
+ "type": "text",
277
+ "text": "on each head, and a sparse set of heads with the highest validation accuracy is selected. ITI shifts each selected head's activation $x_{l}^{h}$ towards its corresponding probe weights $d_{l}^{h}$ presented as a truthful direction. To achieve this, ITI adds truthful directions, amplified by a tuned coefficient $\\alpha$ (the intervention intensity), to their corresponding head activation for each next token prediction as:",
278
+ "bbox": [
279
+ 112,
280
+ 84,
281
+ 489,
282
+ 212
283
+ ],
284
+ "page_idx": 2
285
+ },
286
+ {
287
+ "type": "equation",
288
+ "text": "\n$$\nx _ {l} ^ {h} = x _ {l} ^ {h} + \\alpha d _ {l} ^ {h} \\tag {1}\n$$\n",
289
+ "text_format": "latex",
290
+ "bbox": [
291
+ 238,
292
+ 225,
293
+ 487,
294
+ 244
295
+ ],
296
+ "page_idx": 2
297
+ },
298
+ {
299
+ "type": "text",
300
+ "text": "2.2 Learnable Intervention for Truthfulness Optimization",
301
+ "text_level": 1,
302
+ "bbox": [
303
+ 112,
304
+ 259,
305
+ 475,
306
+ 292
307
+ ],
308
+ "page_idx": 2
309
+ },
310
+ {
311
+ "type": "text",
312
+ "text": "As illustrated in Figure 1, applying a single intervention direction to selected head activation does not yield truthful results. To overcome this, we introduce a learnable intervention technique that gathers model outputs when the model is directed toward truthful directions at multiple intensity levels. Given an LM with $L$ layers and $H$ attention heads per layer, we use the ITI method to identify truthful directions (probe weights) as $\\mathcal{D} = \\{d_l^h | l \\in L', h \\in H'\\}$ , where $L' \\subseteq L$ and $H' \\subseteq H$ represent the subsets of layers and heads selected by ITI. We then apply directions $\\mathcal{D}$ at $k$ different intensity levels (denoted by $\\alpha$ values) for each input prompt, collect responses $A = \\{a_1, a_2,.., a_k\\}$ at each intensity level, and output the most truthful answer, if available, or express uncertainty. The following section describes our intervention approach in detail.",
313
+ "bbox": [
314
+ 112,
315
+ 298,
316
+ 489,
317
+ 588
318
+ ],
319
+ "page_idx": 2
320
+ },
321
+ {
322
+ "type": "text",
323
+ "text": "3 Approach",
324
+ "text_level": 1,
325
+ "bbox": [
326
+ 112,
327
+ 602,
328
+ 235,
329
+ 619
330
+ ],
331
+ "page_idx": 2
332
+ },
333
+ {
334
+ "type": "text",
335
+ "text": "In this work, we develop an intervention technique that dynamically adjusts to optimal intensity value, enhancing truthfulness based on prompt characteristics. Specifically, we increase the intensity $(\\alpha)$ of the truthful directions $\\mathcal{D}$ , learned by ITI, across $k$ iterations, maintaining uniform intensity levels across all selected directions. By targeting a small subset of attention heads, ITI minimizes its impact on the LM's overall performance. Thus, small increases in intensity can yield similar outputs. To generate distinct responses from the intervened language model, we apply intervention intensities in increments of 5, i.e. $\\alpha \\in 5,10,\\dots ,5k$ . Let $LLM_{\\alpha}$ denote the LLM intervened with intensity $\\alpha$ and $A = \\{a_{1},a_{2},\\ldots ,a_{k}\\}$ denotes the collection of model responses, where $a_{i} = LLM_{\\alpha = 5i}(x)$ . Each response $a_{i}$ contains (1) the textual model generation $y_{i}$ which consists of $N$ tokens, (2) the",
336
+ "bbox": [
337
+ 112,
338
+ 629,
339
+ 489,
340
+ 917
341
+ ],
342
+ "page_idx": 2
343
+ },
344
+ {
345
+ "type": "text",
346
+ "text": "model's last-layer hidden states $h_i$ for generated tokens, and (3) the confidence score $p(y_i|x)$ . Following Liu et al. (2024), we compute the confidence score as geometric mean across the sequence of token probabilities:",
347
+ "bbox": [
348
+ 507,
349
+ 84,
350
+ 884,
351
+ 164
352
+ ],
353
+ "page_idx": 2
354
+ },
355
+ {
356
+ "type": "equation",
357
+ "text": "\n$$\np \\left(y _ {i} \\mid x\\right) = \\sqrt [ N ]{\\prod_ {t = 1} ^ {N} p \\left(y _ {i , t} \\mid x , y _ {i , < t}\\right)} \\tag {2}\n$$\n",
358
+ "text_format": "latex",
359
+ "bbox": [
360
+ 564,
361
+ 178,
362
+ 882,
363
+ 204
364
+ ],
365
+ "page_idx": 2
366
+ },
367
+ {
368
+ "type": "text",
369
+ "text": "We collect the three output components for each of the $k$ interventions and pass all outputs to our adaptive intervention system, LITO. Our system then assesses the accuracy of each response and outputs the most truthful response if one exists.",
370
+ "bbox": [
371
+ 507,
372
+ 233,
373
+ 882,
374
+ 313
375
+ ],
376
+ "page_idx": 2
377
+ },
378
+ {
379
+ "type": "text",
380
+ "text": "3.1 Training",
381
+ "text_level": 1,
382
+ "bbox": [
383
+ 507,
384
+ 326,
385
+ 626,
386
+ 343
387
+ ],
388
+ "page_idx": 2
389
+ },
390
+ {
391
+ "type": "text",
392
+ "text": "We start with the hidden states $\\mathcal{H} = \\{h_1, \\dots, h_k\\}$ corresponding to $k$ different responses $A = \\{a_1, a_2, \\dots, a_k\\}$ . Each $h_i \\in \\mathcal{H}$ represents the last-layer hidden states for $N$ tokens in $a_i \\in A$ . We aggregate these hidden states across all generated tokens by taking their mean:",
393
+ "bbox": [
394
+ 507,
395
+ 349,
396
+ 882,
397
+ 445
398
+ ],
399
+ "page_idx": 2
400
+ },
401
+ {
402
+ "type": "equation",
403
+ "text": "\n$$\nh _ {i} = \\frac {1}{N} \\sum_ {j = 1} ^ {N} h _ {i, j} \\tag {3}\n$$\n",
404
+ "text_format": "latex",
405
+ "bbox": [
406
+ 631,
407
+ 458,
408
+ 882,
409
+ 502
410
+ ],
411
+ "page_idx": 2
412
+ },
413
+ {
414
+ "type": "text",
415
+ "text": "We target hidden states from the last layer as it provides an informative representation that captures the generation history and current state of the model. These aggregated hidden states are then fed into a 1-layer Long Short-Term Memory (LSTM). This allows the recurrent model to take a holistic view of response patterns, rather than examining them individually. The LSTM can thus learn how the responses change over increasing levels of intervention, identifying transitions and breaking points, drops in confidence or fluency, and potentially viable intervention zones. We showcase the effectiveness of selecting LSTM in Section 6.2. The LSTM outputs a hidden representation denoted as $h_{r,i}$ for each response representation $h_i$ :",
416
+ "bbox": [
417
+ 507,
418
+ 523,
419
+ 884,
420
+ 765
421
+ ],
422
+ "page_idx": 2
423
+ },
424
+ {
425
+ "type": "equation",
426
+ "text": "\n$$\nh _ {r, 1}, \\dots , h _ {r, k} = L S T M \\left(h _ {1}, \\dots , h _ {k}\\right) \\tag {4}\n$$\n",
427
+ "text_format": "latex",
428
+ "bbox": [
429
+ 564,
430
+ 777,
431
+ 882,
432
+ 794
433
+ ],
434
+ "page_idx": 2
435
+ },
436
+ {
437
+ "type": "text",
438
+ "text": "Finally, the hidden outputs of the LSTM are passed through a fully connected layer, followed by a sigmoid nonlinearity, to obtain the factuality probability $p_w(h_{r,i})$ for each response, defined as $p_w(h_{r,i}) = \\delta(\\langle w, h_{r,i} \\rangle)$ , where $w$ represents the learned parameters and $h_{r,i}$ denotes the LSTM's hidden representation of response $a_i \\in A$ .",
439
+ "bbox": [
440
+ 507,
441
+ 809,
442
+ 882,
443
+ 917
444
+ ],
445
+ "page_idx": 2
446
+ },
447
+ {
448
+ "type": "page_number",
449
+ "text": "12390",
450
+ "bbox": [
451
+ 477,
452
+ 927,
453
+ 524,
454
+ 940
455
+ ],
456
+ "page_idx": 2
457
+ },
458
+ {
459
+ "type": "image",
460
+ "img_path": "images/9da6741399a2b813ebd1253b6962194bf6f52be7227bbd4e82ab2e9afd2e5e02.jpg",
461
+ "image_caption": [
462
+ "Figure 2: Overview of LITO method. Given the input prompt $x$ with the question \"Bacterial cell walls are made rigid by the presence of?\", our method first collects model-generated responses after applying ITI-identified directions at 5 intensities $LLM_{\\alpha = 5k}(x)$ (Section 3). Each response contains the textual response, the model's confidence of the generated response (shown by darkness of color), and the aggregated hidden representations $h_i$ , computed as the average across hidden states of response tokens. LITO predicts the accuracy of each response given its hidden representations and selects the accurate response (labeled as 1) with the highest confidence or indicates uncertainty."
463
+ ],
464
+ "image_footnote": [],
465
+ "bbox": [
466
+ 152,
467
+ 80,
468
+ 847,
469
+ 221
470
+ ],
471
+ "page_idx": 3
472
+ },
473
+ {
474
+ "type": "text",
475
+ "text": "3.2 Inference",
476
+ "text_level": 1,
477
+ "bbox": [
478
+ 112,
479
+ 344,
480
+ 235,
481
+ 357
482
+ ],
483
+ "page_idx": 3
484
+ },
485
+ {
486
+ "type": "text",
487
+ "text": "At inference time, we input the aggregated hidden state $h_i$ corresponding to each answer $a_i \\in A$ through our trained system to determine its accuracy label $\\mathbb{I}(\\delta(\\langle w, h_{r,i} \\rangle) > 0.5)$ where $\\mathbb{I}$ is the indicator function. If all responses are predicted as nonfactual, the system conveys its uncertainty by outputting \"I have no comment\". Otherwise, LITO outputs the response with the highest confidence value $p(y_i|x)$ . Formally:",
488
+ "bbox": [
489
+ 112,
490
+ 366,
491
+ 489,
492
+ 512
493
+ ],
494
+ "page_idx": 3
495
+ },
496
+ {
497
+ "type": "equation",
498
+ "text": "\n$$\ni ^ {*} = \\arg \\max (p \\left(y _ {i} | x\\right)) \\quad s. t. \\tag {5}\n$$\n",
499
+ "text_format": "latex",
500
+ "bbox": [
501
+ 189,
502
+ 526,
503
+ 487,
504
+ 544
505
+ ],
506
+ "page_idx": 3
507
+ },
508
+ {
509
+ "type": "equation",
510
+ "text": "\n$$\n\\delta (\\langle w, h _ {r, i} \\rangle) > 0. 5\n$$\n",
511
+ "text_format": "latex",
512
+ "bbox": [
513
+ 206,
514
+ 546,
515
+ 344,
516
+ 564
517
+ ],
518
+ "page_idx": 3
519
+ },
520
+ {
521
+ "type": "text",
522
+ "text": "Therefore, the final output is $y_{i}$ or \"I have no comment\" in case all predictions are zero (inaccurate). Figure 2 shows an overview of how LITO operates.",
523
+ "bbox": [
524
+ 112,
525
+ 579,
526
+ 489,
527
+ 627
528
+ ],
529
+ "page_idx": 3
530
+ },
531
+ {
532
+ "type": "text",
533
+ "text": "4 Datasets and Training Labels for LITO",
534
+ "text_level": 1,
535
+ "bbox": [
536
+ 112,
537
+ 642,
538
+ 485,
539
+ 659
540
+ ],
541
+ "page_idx": 3
542
+ },
543
+ {
544
+ "type": "text",
545
+ "text": "4.1 Datasets",
546
+ "text_level": 1,
547
+ "bbox": [
548
+ 112,
549
+ 670,
550
+ 226,
551
+ 684
552
+ ],
553
+ "page_idx": 3
554
+ },
555
+ {
556
+ "type": "text",
557
+ "text": "In this work, we focus on open-domain question-answering (QA). To train and evaluate LITO, we select QA tasks that vary in response length, targeting datasets with phrase-level and sentence-level responses. For phrase-level openQA datasets, we use NaturalQuestions (NQ) (Kwiatkowski et al., 2019), SciQ (Welbl et al., 2017), and TriviaQA (Joshi et al., 2017), all of which include short responses (e.g., named entities). For sentence-level responses, we choose TruthfulQA (Lin et al., 2022) where model responses are complete sentences. All datasets employed are in English.",
558
+ "bbox": [
559
+ 112,
560
+ 693,
561
+ 489,
562
+ 885
563
+ ],
564
+ "page_idx": 3
565
+ },
566
+ {
567
+ "type": "text",
568
+ "text": "We adopt an in-domain truthful direction identification approach. To this end, we use the val",
569
+ "bbox": [
570
+ 112,
571
+ 887,
572
+ 489,
573
+ 917
574
+ ],
575
+ "page_idx": 3
576
+ },
577
+ {
578
+ "type": "text",
579
+ "text": "ization set of NaturalQuestions $(\\mathrm{NQ})^{1}$ and TriviaQA $^{2}$ datasets that contain correct answers, and GPT-4-generated incorrect answers to serve as an adversarial data point. We randomly select 1K samples from each dataset for ITI probe training and save the rest of the samples (2.4K) for testing our method. SciQ is a multi-choice science question-answering dataset. We use its 1K validation set for ITI probe training and 1K test set for final evaluation. In addition to ITI training data, we randomly sample 3K instances from the train set of these phrase-level datasets to train LITO. Given that there is no official training set for TruthfulQA, we randomly select 408 instances from the original validation set to train the ITI method and find the optimal direction. We use the same set to train LITO and use the rest of the data for evaluation.",
580
+ "bbox": [
581
+ 507,
582
+ 343,
583
+ 884,
584
+ 618
585
+ ],
586
+ "page_idx": 3
587
+ },
588
+ {
589
+ "type": "text",
590
+ "text": "4.2 Training Label Construction",
591
+ "text_level": 1,
592
+ "bbox": [
593
+ 507,
594
+ 629,
595
+ 781,
596
+ 644
597
+ ],
598
+ "page_idx": 3
599
+ },
600
+ {
601
+ "type": "text",
602
+ "text": "First, we use the ITI method to identify truthful directions that can later be integrated into the model's representations with amplified intensity. Next, we utilize the curated training data to prompt variants of the LM, as depicted in Figure 2, collecting the textual response, confidence score, and final-layer representations for each resulting generation. To label each response for accuracy, a DeBERTa-large model (He et al., 2021), fine-tuned on the MultiNLI (Williams et al., 2018) task, annotates phrase-level outputs. It classifies each textual response as correct if it can be entailed from the reference answer. To annotate model generations on TruthfulQA, we",
603
+ "bbox": [
604
+ 507,
605
+ 649,
606
+ 882,
607
+ 859
608
+ ],
609
+ "page_idx": 3
610
+ },
611
+ {
612
+ "type": "page_footnote",
613
+ "text": "'https://huggingface.co/datasets/OamPatel/iti_nq_open_val",
614
+ "bbox": [
615
+ 507,
616
+ 866,
617
+ 880,
618
+ 892
619
+ ],
620
+ "page_idx": 3
621
+ },
622
+ {
623
+ "type": "page_footnote",
624
+ "text": "$^{2}$ https://huggingface.co/datasets/OamPatel/iti_trivia_qa_val",
625
+ "bbox": [
626
+ 509,
627
+ 892,
628
+ 880,
629
+ 917
630
+ ],
631
+ "page_idx": 3
632
+ },
633
+ {
634
+ "type": "page_number",
635
+ "text": "12391",
636
+ "bbox": [
637
+ 477,
638
+ 927,
639
+ 522,
640
+ 940
641
+ ],
642
+ "page_idx": 3
643
+ },
644
+ {
645
+ "type": "text",
646
+ "text": "ask GPT-4 to assess response accuracy based on semantic equivalence to the reference.3",
647
+ "bbox": [
648
+ 112,
649
+ 84,
650
+ 487,
651
+ 116
652
+ ],
653
+ "page_idx": 4
654
+ },
655
+ {
656
+ "type": "text",
657
+ "text": "5 Experimental Setup",
658
+ "text_level": 1,
659
+ "bbox": [
660
+ 112,
661
+ 127,
662
+ 321,
663
+ 143
664
+ ],
665
+ "page_idx": 4
666
+ },
667
+ {
668
+ "type": "text",
669
+ "text": "5.1 Prompts",
670
+ "text_level": 1,
671
+ "bbox": [
672
+ 112,
673
+ 152,
674
+ 228,
675
+ 167
676
+ ],
677
+ "page_idx": 4
678
+ },
679
+ {
680
+ "type": "text",
681
+ "text": "We adopt the same prompt format for evaluating TruthfulQA. Specifically, the \"QA prompt\" consists of an instruction, 5 question-answer pairs as in-context learning examples, and the target question the model should answer. We use the following instruction in all experiments: \"Interpret each question literally and as a question about the real world; carefully research each answer, without falling prey to any common myths; and reply \"I have no comment.\" unless you are completely certain of the answer.\"",
682
+ "bbox": [
683
+ 112,
684
+ 173,
685
+ 487,
686
+ 348
687
+ ],
688
+ "page_idx": 4
689
+ },
690
+ {
691
+ "type": "text",
692
+ "text": "To elicit concise responses for phrase-level QA, we include five in-context learning examples from each dataset. The full set of prompts used for evaluating the LMs on the different datasets is provided in Appendix B.",
693
+ "bbox": [
694
+ 112,
695
+ 350,
696
+ 489,
697
+ 430
698
+ ],
699
+ "page_idx": 4
700
+ },
701
+ {
702
+ "type": "text",
703
+ "text": "5.2 Metrics",
704
+ "text_level": 1,
705
+ "bbox": [
706
+ 112,
707
+ 439,
708
+ 220,
709
+ 455
710
+ ],
711
+ "page_idx": 4
712
+ },
713
+ {
714
+ "type": "text",
715
+ "text": "The output response of an intervention method can be factually accurate, inaccurate, or indicate uncertainty by outputting \"I have no comment\". We measure truthfulness as the portion of accurate or uncertain responses. However, the language model or intervention approach could default to \"I have no comment.\" to maximize their truthfulness. Therefore, we also measure accuracy by computing task-specific accuracy. Note that aggregation-based methods cannot surpass the accuracy of individual model generations they operate on. Finally, to measure the balance between truthfulness and accuracy, we propose the TA score which computes the geometric mean of truthfulness and accuracy:",
716
+ "bbox": [
717
+ 112,
718
+ 461,
719
+ 489,
720
+ 687
721
+ ],
722
+ "page_idx": 4
723
+ },
724
+ {
725
+ "type": "equation",
726
+ "text": "\n$$\nT A = \\sqrt {\\text {T r u t h f u l n e s s} \\times \\text {A c c u r a c y}} \\tag {6}\n$$\n",
727
+ "text_format": "latex",
728
+ "bbox": [
729
+ 169,
730
+ 695,
731
+ 487,
732
+ 714
733
+ ],
734
+ "page_idx": 4
735
+ },
736
+ {
737
+ "type": "text",
738
+ "text": "A higher TA score indicates that a method better balances the trade-off between producing accurate responses on the target task and generating truthful outputs that appropriately reflect uncertainty.",
739
+ "bbox": [
740
+ 112,
741
+ 722,
742
+ 487,
743
+ 785
744
+ ],
745
+ "page_idx": 4
746
+ },
747
+ {
748
+ "type": "text",
749
+ "text": "5.3 Models",
750
+ "text_level": 1,
751
+ "bbox": [
752
+ 112,
753
+ 796,
754
+ 218,
755
+ 809
756
+ ],
757
+ "page_idx": 4
758
+ },
759
+ {
760
+ "type": "text",
761
+ "text": "We test intervention methods on two families of models: (1) Llama models: Vicuna-7B (Chiang et al., 2023), Llama2-chat-7B, and Llama2-chat-13B (Touvron et al., 2023a), and (2) GPT-2 models: GPT2-large and GPT2-XL (Radford et al., 2019).",
762
+ "bbox": [
763
+ 112,
764
+ 816,
765
+ 487,
766
+ 897
767
+ ],
768
+ "page_idx": 4
769
+ },
770
+ {
771
+ "type": "text",
772
+ "text": "5.4 Baseline Methods",
773
+ "text_level": 1,
774
+ "bbox": [
775
+ 507,
776
+ 84,
777
+ 694,
778
+ 98
779
+ ],
780
+ "page_idx": 4
781
+ },
782
+ {
783
+ "type": "text",
784
+ "text": "We apply the ITI method by setting $k = 5$ and intervening in each model with five distinct intensity values, $\\alpha \\in \\{5,10,15,20,25\\}$ which establish ITI baselines. The optimal $k$ value selection is detailed in Section 6.2.3. We independently compute the baseline performance at each intensity. An oracle strategy is then used to select the intensity at which ITI performs best, and we report the results. We also employ three answer selection methods, evaluating the model outputs across five intensities to generate a truthful response, as described below.",
785
+ "bbox": [
786
+ 507,
787
+ 105,
788
+ 882,
789
+ 282
790
+ ],
791
+ "page_idx": 4
792
+ },
793
+ {
794
+ "type": "text",
795
+ "text": "Majority Voting: Given the model outputs $A = \\{a_{1}, a_{2}, \\dots, a_{5}\\}$ , this method chooses the most repeated answer by taking a majority vote among textual responses. In case of a tie, the answer with the highest confidence is chosen as the final answer. For sentence-level responses where repetition rarely happens, all responses have one occurrence (tie) and thus the response with the maximum confidence is chosen.",
796
+ "bbox": [
797
+ 507,
798
+ 291,
799
+ 882,
800
+ 435
801
+ ],
802
+ "page_idx": 4
803
+ },
804
+ {
805
+ "type": "text",
806
+ "text": "Maximum Confidence: This method chooses the answer to which the model has assigned the maximum confidence.",
807
+ "bbox": [
808
+ 507,
809
+ 445,
810
+ 882,
811
+ 492
812
+ ],
813
+ "page_idx": 4
814
+ },
815
+ {
816
+ "type": "text",
817
+ "text": "Maximum Confidence $>T$ : The difference between this method and Maximum Confidence is that it only selects an answer if its confidence is above a certain threshold. If such an answer does not exist, the final output is: \"I have no comment.\" This approach effectively filters out low-confidence answers, ensuring the reflection of uncertainty. We set $T = 0.6$ as it shows the best average performance across datasets and LMs.<sup>4</sup>",
818
+ "bbox": [
819
+ 507,
820
+ 502,
821
+ 882,
822
+ 646
823
+ ],
824
+ "page_idx": 4
825
+ },
826
+ {
827
+ "type": "text",
828
+ "text": "6 Experimental Results and Further Analyses",
829
+ "text_level": 1,
830
+ "bbox": [
831
+ 507,
832
+ 659,
833
+ 838,
834
+ 693
835
+ ],
836
+ "page_idx": 4
837
+ },
838
+ {
839
+ "type": "text",
840
+ "text": "In this section, we first compare LITO against several counterparts and present our findings in Section 6.1. Then, in Section 6.2, we assess LITO's generalization to another truthful elicitation method, explore its performance in cross-domain settings, and investigate our design choices.",
841
+ "bbox": [
842
+ 507,
843
+ 702,
844
+ 882,
845
+ 799
846
+ ],
847
+ "page_idx": 4
848
+ },
849
+ {
850
+ "type": "text",
851
+ "text": "6.1 Results",
852
+ "text_level": 1,
853
+ "bbox": [
854
+ 507,
855
+ 810,
856
+ 613,
857
+ 824
858
+ ],
859
+ "page_idx": 4
860
+ },
861
+ {
862
+ "type": "text",
863
+ "text": "6.1.1 Results Compared to Original LM and ITI Baseline",
864
+ "text_level": 1,
865
+ "bbox": [
866
+ 507,
867
+ 829,
868
+ 873,
869
+ 860
870
+ ],
871
+ "page_idx": 4
872
+ },
873
+ {
874
+ "type": "text",
875
+ "text": "Table 1 shows the performance of different methods in terms of their $TA$ score on 4 datasets and 5 LMs.",
876
+ "bbox": [
877
+ 507,
878
+ 866,
879
+ 882,
880
+ 897
881
+ ],
882
+ "page_idx": 4
883
+ },
884
+ {
885
+ "type": "page_footnote",
886
+ "text": "GPT-4 prompt for measuring correctness in Appendix A.",
887
+ "bbox": [
888
+ 134,
889
+ 903,
890
+ 485,
891
+ 917
892
+ ],
893
+ "page_idx": 4
894
+ },
895
+ {
896
+ "type": "page_footnote",
897
+ "text": "4Implementation details are provided in Appendix C.",
898
+ "bbox": [
899
+ 529,
900
+ 903,
901
+ 853,
902
+ 917
903
+ ],
904
+ "page_idx": 4
905
+ },
906
+ {
907
+ "type": "page_number",
908
+ "text": "12392",
909
+ "bbox": [
910
+ 477,
911
+ 927,
912
+ 524,
913
+ 940
914
+ ],
915
+ "page_idx": 4
916
+ },
917
+ {
918
+ "type": "table",
919
+ "img_path": "images/ca4831d23363e811ad1ab152bb2d1ef58c2b4d56fa81efdc55958535cbf82efc.jpg",
920
+ "table_caption": [],
921
+ "table_footnote": [],
922
+ "table_body": "<table><tr><td>Task</td><td>Model</td><td>Original LM</td><td>ITI (best of 5)</td><td>Maj. Vote</td><td>Max Conf.</td><td>Max Conf. &gt;T</td><td>LITO</td></tr><tr><td rowspan=\"5\">NQ</td><td>GPT2-large</td><td>12.2</td><td>15.4</td><td>12.9</td><td>15.0</td><td>14.2</td><td>27.2</td></tr><tr><td>GPT2-XL</td><td>15.5</td><td>17.7</td><td>16.5</td><td>18.6</td><td>22.0</td><td>29.1</td></tr><tr><td>Llama2-Chat-7B</td><td>29.2</td><td>31.7</td><td>31.7</td><td>31.3</td><td>33.5</td><td>38.8</td></tr><tr><td>Llama2-Chat-13B</td><td>32.7</td><td>33.9</td><td>34.2</td><td>33.4</td><td>38.9</td><td>41.5</td></tr><tr><td>Vicuna-7B</td><td>30.0</td><td>30.3</td><td>29.3</td><td>30.0</td><td>35.0</td><td>36.2</td></tr><tr><td rowspan=\"5\">SciQ</td><td>GPT2-large</td><td>39.4</td><td>40.0</td><td>39.7</td><td>40</td><td>27.8</td><td>47.0</td></tr><tr><td>GPT2-XL</td><td>40.5</td><td>41.5</td><td>41.2</td><td>41.3</td><td>36.9</td><td>46.8</td></tr><tr><td>Llama2-Chat-7B</td><td>65.4</td><td>66.1</td><td>64.8</td><td>64.9</td><td>65.8</td><td>66.2</td></tr><tr><td>Llama2-Chat-13B</td><td>71.4</td><td>72.1</td><td>71.0</td><td>70.7</td><td>70.6</td><td>71.6</td></tr><tr><td>Vicuna-7B</td><td>61.7</td><td>61.4</td><td>57.5</td><td>60.2</td><td>62.7</td><td>61.9</td></tr><tr><td rowspan=\"5\">TriviaQA</td><td>GPT2-large</td><td>32.3</td><td>50.4</td><td>38.2</td><td>44.5</td><td>39.7</td><td>59.2</td></tr><tr><td>GPT2-XL</td><td>31.3</td><td>41.5</td><td>36.1</td><td>40.5</td><td>39.6</td><td>49.6</td></tr><tr><td>Llama2-Chat-7B</td><td>70.0</td><td>70.7</td><td>70.7</td><td>72.1</td><td>72.3</td><td>74.0</td></tr><tr><td>Llama2-Chat-13B</td><td>76.1</td><td>76.2</td><td>75.5</td><td>74.9</td><td>75.5</td><td>76.6</td></tr><tr><td>Vicuna-7B</td><td>67.7</td><td>68.3</td><td>68.9</td><td>71.2</td><td>72.5</td><td>72.0</td></tr><tr><td rowspan=\"5\">TruthfulQA</td><td>GPT2-large</td><td>15.9</td><td>15.9</td><td>15.5</td><td>13.9</td><td>18.6</td><td>24.0</td></tr><tr><td>GPT2-XL</td><td>20.7</td><td>26.8</td><td>23.1</td><td>25.1</td><td>24.5</td><td>30.7</td></tr><tr><td>Llama2-Chat-7B</td><td>45.1</td><td>49.9</td><td>48.1</td><td>49.4</td><td>49.4</td><td>49.6</td></tr><tr><td>Llama2-Chat-13B</td><td>52.4</td><td>52.8</td><td>54.2</td><td>53.1</td><td>53.1</td><td>54.3</td></tr><tr><td>Vicuna-7B</td><td>43.1</td><td>41.5</td><td>42.9</td><td>41.2</td><td>40.9</td><td>45.0</td></tr></table>",
923
+ "bbox": [
924
+ 157,
925
+ 80,
926
+ 840,
927
+ 361
928
+ ],
929
+ "page_idx": 5
930
+ },
931
+ {
932
+ "type": "text",
933
+ "text": "Table 1: Results of LITO and baselines across 4 benchmarks and 5 LMs in terms of TA score (presented in Equation 6). \"ITI (best of 5)\" represents the peak ITI performance across 5 intervention intensities $(\\alpha)$ selected by an oracle. The best and second-best TA score per model and per dataset is in bold. We highlight numbers where LITO improves over both the original LM and all baselines in blue; when LITO outperforms the original LM, it is colored in green. LITO effectively improves truthfulness while preserving high accuracy, surpassing other counterparts.",
934
+ "bbox": [
935
+ 112,
936
+ 370,
937
+ 882,
938
+ 458
939
+ ],
940
+ "page_idx": 5
941
+ },
942
+ {
943
+ "type": "text",
944
+ "text": "It also highlights the peak ITI performance across 5 intensities selected by an oracle strategy, providing a comparison against other methods. As illustrated, LITO consistently improves over the original LM's performance across all datasets, showing the effectiveness of our approach. Particularly, LITO outperforms the original GPT-2 language models by a large margin, achieving an average TA score improvement of $+14.4$ for GPT2-large and $+12.0$ for GPT2-XL. This improvement is due to a notable increase in truthfulness while maintaining accuracy levels. ITI exhibits slightly superior performance when applied to Llama2 models on the phrase-level SciQ $(+0.5)$ and TruthfulQA $(+0.3)$ tasks.",
945
+ "bbox": [
946
+ 112,
947
+ 482,
948
+ 489,
949
+ 708
950
+ ],
951
+ "page_idx": 5
952
+ },
953
+ {
954
+ "type": "text",
955
+ "text": "6.1.2 Results Compared to Aggregation-based Methods",
956
+ "text_level": 1,
957
+ "bbox": [
958
+ 112,
959
+ 721,
960
+ 485,
961
+ 751
962
+ ],
963
+ "page_idx": 5
964
+ },
965
+ {
966
+ "type": "text",
967
+ "text": "Our approach demonstrates consistent performance gains over other aggregation-based methods, as shown in Table 1. The Maximum Confidence $> T$ baseline shows higher performance improvement compared to its counterparts, outperforming LITO trained on Vicuna-7B hidden representations on NQ and TriviaQA benchmarks. Our investigation reveals that the Maximum Confidence $> T$ baseline preserves its input accuracy levels while enhancing truthfulness. In contrast, LITO sacrifices some",
968
+ "bbox": [
969
+ 112,
970
+ 758,
971
+ 489,
972
+ 917
973
+ ],
974
+ "page_idx": 5
975
+ },
976
+ {
977
+ "type": "text",
978
+ "text": "degree of accuracy to achieve higher truthfulness.",
979
+ "bbox": [
980
+ 507,
981
+ 482,
982
+ 878,
983
+ 498
984
+ ],
985
+ "page_idx": 5
986
+ },
987
+ {
988
+ "type": "text",
989
+ "text": "Figure 3 illustrates LITO's truthfulness and accuracy scores compared to other baselines. It ranks within the top 2 for the highest truthfulness scores across all datasets and LMs. Additionally, LITO maintains accuracy within $5\\%$ of the ITI method in 16 out of 20 experiments, illustrating its effective balance between truthfulness and accuracy. This makes LITO particularly valuable in settings where response truthfulness is crucial. As mentioned in Section 5.4, we set $T = 0.6$ for Maximum Confidence $> T$ . However, unlike Maximum Confidence, this baseline exhibits low accuracy levels with GPT-2 models, suggesting that smaller models may suffer from poor calibration, as indicated by (Kadavath et al., 2022). Another key observation from Figure 3 is that the Majority Vote closely follows the ITI average, demonstrating its inability to significantly improve upon input responses.",
990
+ "bbox": [
991
+ 505,
992
+ 499,
993
+ 885,
994
+ 790
995
+ ],
996
+ "page_idx": 5
997
+ },
998
+ {
999
+ "type": "text",
1000
+ "text": "6.2 Further Analyses",
1001
+ "text_level": 1,
1002
+ "bbox": [
1003
+ 507,
1004
+ 799,
1005
+ 692,
1006
+ 814
1007
+ ],
1008
+ "page_idx": 5
1009
+ },
1010
+ {
1011
+ "type": "text",
1012
+ "text": "6.2.1 LITO Generalizes across Intervention Techniques",
1013
+ "text_level": 1,
1014
+ "bbox": [
1015
+ 507,
1016
+ 819,
1017
+ 870,
1018
+ 852
1019
+ ],
1020
+ "page_idx": 5
1021
+ },
1022
+ {
1023
+ "type": "text",
1024
+ "text": "In this work, we primarily instantiate and evaluate our proposed methodology using the inference-time intervention (ITI) method as the underlying truthful intervention technique. However, LITO is",
1025
+ "bbox": [
1026
+ 507,
1027
+ 854,
1028
+ 884,
1029
+ 917
1030
+ ],
1031
+ "page_idx": 5
1032
+ },
1033
+ {
1034
+ "type": "page_number",
1035
+ "text": "12393",
1036
+ "bbox": [
1037
+ 477,
1038
+ 927,
1039
+ 524,
1040
+ 940
1041
+ ],
1042
+ "page_idx": 5
1043
+ },
1044
+ {
1045
+ "type": "image",
1046
+ "img_path": "images/abd84367bef8cabf85753f021bf9ce360c6457ba98e5183fd759c1d5bfe48d6f.jpg",
1047
+ "image_caption": [],
1048
+ "image_footnote": [],
1049
+ "bbox": [
1050
+ 119,
1051
+ 84,
1052
+ 371,
1053
+ 139
1054
+ ],
1055
+ "page_idx": 6
1056
+ },
1057
+ {
1058
+ "type": "image",
1059
+ "img_path": "images/d69a627cae8dc4874fe21e554366af73b84f2ed400cd38e6799584cdac2745f2.jpg",
1060
+ "image_caption": [],
1061
+ "image_footnote": [],
1062
+ "bbox": [
1063
+ 374,
1064
+ 85,
1065
+ 621,
1066
+ 139
1067
+ ],
1068
+ "page_idx": 6
1069
+ },
1070
+ {
1071
+ "type": "image",
1072
+ "img_path": "images/4f0b08593bb5b51536877616793f54048e81356655e54c1075d10ed83179286e.jpg",
1073
+ "image_caption": [],
1074
+ "image_footnote": [],
1075
+ "bbox": [
1076
+ 625,
1077
+ 85,
1078
+ 875,
1079
+ 139
1080
+ ],
1081
+ "page_idx": 6
1082
+ },
1083
+ {
1084
+ "type": "image",
1085
+ "img_path": "images/197bf4454fa1fe6855a4b51b6c647e189409088b14cedd41113ab06f5c8e2eb1.jpg",
1086
+ "image_caption": [],
1087
+ "image_footnote": [],
1088
+ "bbox": [
1089
+ 124,
1090
+ 145,
1091
+ 371,
1092
+ 203
1093
+ ],
1094
+ "page_idx": 6
1095
+ },
1096
+ {
1097
+ "type": "image",
1098
+ "img_path": "images/650cfb216bb28bdafbfa12a88335f1cf38316385b927b5406b0d8c63d1e13dc8.jpg",
1099
+ "image_caption": [],
1100
+ "image_footnote": [],
1101
+ "bbox": [
1102
+ 374,
1103
+ 148,
1104
+ 623,
1105
+ 203
1106
+ ],
1107
+ "page_idx": 6
1108
+ },
1109
+ {
1110
+ "type": "image",
1111
+ "img_path": "images/8e950bf2433aa5090302e13403614bd18b23e3cb5dd2bf3aea961cb4a4e2d233.jpg",
1112
+ "image_caption": [],
1113
+ "image_footnote": [],
1114
+ "bbox": [
1115
+ 626,
1116
+ 149,
1117
+ 875,
1118
+ 203
1119
+ ],
1120
+ "page_idx": 6
1121
+ },
1122
+ {
1123
+ "type": "image",
1124
+ "img_path": "images/694213214df5a7e889ebb1716f75d9a4f9f68a27503e390991beea7bc9d672b4.jpg",
1125
+ "image_caption": [
1126
+ "Figure 3: Truthfulness and accuracy scores per dataset on five LMs. ITI represents the average ITI performance across 5 intensities to demonstrate how closely the Majority Vote follows this baseline. In all experiments, LITO is ranked within the top 2 in terms of truthfulness while preserving accuracy, leading to its superior $TA$ performance."
1127
+ ],
1128
+ "image_footnote": [],
1129
+ "bbox": [
1130
+ 248,
1131
+ 209,
1132
+ 497,
1133
+ 263
1134
+ ],
1135
+ "page_idx": 6
1136
+ },
1137
+ {
1138
+ "type": "image",
1139
+ "img_path": "images/aaae9c00671c48a0da5777fe84832f552e5cc8f81044da4ee3053974890e554f.jpg",
1140
+ "image_caption": [],
1141
+ "image_footnote": [],
1142
+ "bbox": [
1143
+ 500,
1144
+ 209,
1145
+ 751,
1146
+ 263
1147
+ ],
1148
+ "page_idx": 6
1149
+ },
1150
+ {
1151
+ "type": "table",
1152
+ "img_path": "images/84aa82a49d772af4255029016188f1fbf08cc9c1af430573b610a8ba2e8adce2.jpg",
1153
+ "table_caption": [],
1154
+ "table_footnote": [],
1155
+ "table_body": "<table><tr><td>Task</td><td>Model</td><td>Original LM</td><td>RepE (best of 5)</td><td>Maj. Vote</td><td>Max Conf.</td><td>Max Conf. &gt;T</td><td>LITO</td></tr><tr><td rowspan=\"2\">NQ</td><td>GPT2-XL</td><td>15.5</td><td>15.6</td><td>15.6</td><td>15.5</td><td>16.9</td><td>27.5</td></tr><tr><td>Llama2-Chat-7B</td><td>29.2</td><td>29.4</td><td>29.4</td><td>28.4</td><td>29.5</td><td>35.5</td></tr><tr><td rowspan=\"2\">SciQ</td><td>GPT2-XL</td><td>40.5</td><td>40.8</td><td>40.5</td><td>40.2</td><td>35.2</td><td>46.5</td></tr><tr><td>Llama2-Chat-7B</td><td>65.4</td><td>66.1</td><td>65.9</td><td>65.9</td><td>65.1</td><td>65.5</td></tr><tr><td rowspan=\"2\">TriviaQA</td><td>GPT2-XL</td><td>31.3</td><td>31.6</td><td>31.4</td><td>30.0</td><td>31.4</td><td>40.2</td></tr><tr><td>Llama2-Chat-7B</td><td>70.0</td><td>70.6</td><td>70.1</td><td>70.3</td><td>71.8</td><td>71.92</td></tr><tr><td rowspan=\"2\">TruthfulQA</td><td>GPT2-XL</td><td>19.1</td><td>19.1</td><td>18.8</td><td>18.6</td><td>18.2</td><td>26.3</td></tr><tr><td>Llama2-Chat-7B</td><td>42.6</td><td>43.4</td><td>38.5</td><td>38.4</td><td>38.4</td><td>39.1</td></tr></table>",
1156
+ "bbox": [
1157
+ 156,
1158
+ 332,
1159
+ 842,
1160
+ 468
1161
+ ],
1162
+ "page_idx": 6
1163
+ },
1164
+ {
1165
+ "type": "text",
1166
+ "text": "Table 2: The results of RepE-based LITO instantiation and various baselines across four benchmarks are detailed in terms of the TA score. RepE (best of 5) indicates the performance of RepE at its optimal intensity level determined by an oracle. Details on colors and fonts are provided in Table 1.",
1167
+ "bbox": [
1168
+ 112,
1169
+ 479,
1170
+ 882,
1171
+ 521
1172
+ ],
1173
+ "page_idx": 6
1174
+ },
1175
+ {
1176
+ "type": "text",
1177
+ "text": "compatible with any technique that enhances the language model truthfulness by identifying truthful directions in the model's representation space. To showcase this generalizability, we further instantiate LITO using the Representation Engineering (RepE) intervention method (Zou et al., 2023) as the underlying truthful intervention technique. A discussion on the selection of RepE is provided in Appendix D.",
1178
+ "bbox": [
1179
+ 112,
1180
+ 546,
1181
+ 487,
1182
+ 690
1183
+ ],
1184
+ "page_idx": 6
1185
+ },
1186
+ {
1187
+ "type": "text",
1188
+ "text": "RepE identifies truthful directions in a language model's representations by leveraging truthful/untruthful counterfactual pairs. It collects the layerwise representations produced by the model when prompted with these pairs. Then, it computes the representation differences between each counterfactual pair across layers. RepE employs unsupervised techniques, such as Principal Component Analysis (PCA), to isolate a single truthful direction per layer from these representation differences. During inference, these directions are multiplied by an intervention coefficient and added to their corresponding layer outputs in the language model. Given these characteristics, we can readily apply",
1189
+ "bbox": [
1190
+ 112,
1191
+ 694,
1192
+ 489,
1193
+ 919
1194
+ ],
1195
+ "page_idx": 6
1196
+ },
1197
+ {
1198
+ "type": "text",
1199
+ "text": "LITO on top of the RepE intervention technique and evaluate the potential performance gains. To do so, we use the same setup mentioned in Section 5 for truthful direction identification LITO. We intervene by steering the representation of the layer that exhibits the highest truthfulness accuracy based on the learned directions. Following the experimental setting in Appendix C, we collect language model generations at 5 different intervention intensity values 1, 2, 3, 4, 5. Note that since the intervention is layer-level (as opposed to ITI which was at the activation head-level), we chose smaller intensity values compared to ITI to prevent nonsensical generations.",
1200
+ "bbox": [
1201
+ 507,
1202
+ 546,
1203
+ 882,
1204
+ 772
1205
+ ],
1206
+ "page_idx": 6
1207
+ },
1208
+ {
1209
+ "type": "text",
1210
+ "text": "Our experiments instantiating LITO with the RepE intervention technique are shown in Table 2 across the 4 tasks and 2 different LM categories studied in this paper. Compared to best-performing setup of RepE across the 5 interventions, our results show an average performance gain of $+9$ , $+2.5$ , $+4.9$ , and $+1.5$ TA points on the NQ, SciQ, TriviaQA, and TruthfulQA datasets respectively, corroborating our findings on the",
1211
+ "bbox": [
1212
+ 507,
1213
+ 774,
1214
+ 884,
1215
+ 919
1216
+ ],
1217
+ "page_idx": 6
1218
+ },
1219
+ {
1220
+ "type": "page_number",
1221
+ "text": "12394",
1222
+ "bbox": [
1223
+ 477,
1224
+ 927,
1225
+ 524,
1226
+ 940
1227
+ ],
1228
+ "page_idx": 6
1229
+ },
1230
+ {
1231
+ "type": "text",
1232
+ "text": "ITI-based LITO improvements.",
1233
+ "text_level": 1,
1234
+ "bbox": [
1235
+ 114,
1236
+ 84,
1237
+ 371,
1238
+ 99
1239
+ ],
1240
+ "page_idx": 7
1241
+ },
1242
+ {
1243
+ "type": "text",
1244
+ "text": "6.2.2 LITO Learns Task-agnostic Notions of Truth",
1245
+ "text_level": 1,
1246
+ "bbox": [
1247
+ 112,
1248
+ 116,
1249
+ 480,
1250
+ 147
1251
+ ],
1252
+ "page_idx": 7
1253
+ },
1254
+ {
1255
+ "type": "text",
1256
+ "text": "We developed an intervention method that adapts to different intensity levels and contexts. Next, we evaluate how well this method, trained on one task, can generalize to others. We trained and tested the ITI-based LITO instantiation on every dataset pair, highlighting the resulting transfer capabilities for the 5 large language models in Figure 4. Our method generally shows effective transferability, with LITO demonstrating strong performance when trained on one task and tested on others. Specifically, while LITO trained on the TruthfulQA dataset exhibits limited transferability, as noted by Li et al. (2023), it achieves near in-domain performance levels when trained on TriviaQA. This effectiveness could stem from TriviaQA's broad general knowledge base, which applies to more specialized domains (e.g. SciQ). Notably, for the NQ task, LITO even exceeds its in-domain performance on GPT2-Large. Overall, our adaptive intervention method consistently maintains $TA$ scores across most out-of-domain scenarios, indicating minimal performance degradation.",
1257
+ "bbox": [
1258
+ 115,
1259
+ 155,
1260
+ 489,
1261
+ 510
1262
+ ],
1263
+ "page_idx": 7
1264
+ },
1265
+ {
1266
+ "type": "text",
1267
+ "text": "6.2.3 Design Choices",
1268
+ "text_level": 1,
1269
+ "bbox": [
1270
+ 112,
1271
+ 526,
1272
+ 294,
1273
+ 541
1274
+ ],
1275
+ "page_idx": 7
1276
+ },
1277
+ {
1278
+ "type": "text",
1279
+ "text": "In this section, we validate our design choices for using an LSTM as the core LITO component and determine the optimal number of interventions $(k)$ .",
1280
+ "bbox": [
1281
+ 112,
1282
+ 549,
1283
+ 489,
1284
+ 596
1285
+ ],
1286
+ "page_idx": 7
1287
+ },
1288
+ {
1289
+ "type": "text",
1290
+ "text": "LSTM vs. MLP: We justify using a recurrent neural network to analyze patterns in sequences of interventions, rather than examining them individually. For this purpose, using the same experimental setup, we substitute our LSTM model with a fully connected layer followed by a ReLU nonlinearity. We measure the binary classification performance in terms of accuracy and F1 score across all 4 question-answering tasks, using the Llama2-Chat-7B model as the base LM. We denote the method that replaces the LSTM with a linear layer as LITO $MLP$ . The results, presented in Table 3, show that the LSTM model substantially outperforms the baseline on phrase-level QA tasks. The F1 score on the TruthfuQA task shows a noticeable performance drop. However, TruthfulQA is a challenging task with limited training data, requiring the LSTM to have more examples to learn complex sequential patterns effectively.",
1291
+ "bbox": [
1292
+ 115,
1293
+ 613,
1294
+ 489,
1295
+ 919
1296
+ ],
1297
+ "page_idx": 7
1298
+ },
1299
+ {
1300
+ "type": "table",
1301
+ "img_path": "images/603f13b10e9cf92b850dd7a07a45dfd7d0036d6e032c0f18e127722d53d69dbe.jpg",
1302
+ "table_caption": [],
1303
+ "table_footnote": [],
1304
+ "table_body": "<table><tr><td rowspan=\"2\">Task</td><td colspan=\"2\">LITO</td><td colspan=\"2\">LITOMLP</td></tr><tr><td>Acc</td><td>F1</td><td>Acc</td><td>F1</td></tr><tr><td>NQ</td><td>71.9</td><td>50.4</td><td>69.6</td><td>46.2</td></tr><tr><td>SciQ</td><td>66.5</td><td>71.9</td><td>65.1</td><td>71.8</td></tr><tr><td>TriviaQA</td><td>71.4</td><td>79.5</td><td>70.2</td><td>77.6</td></tr><tr><td>TruthfulQA</td><td>75.2</td><td>55.7</td><td>74.4</td><td>59.8</td></tr></table>",
1305
+ "bbox": [
1306
+ 532,
1307
+ 80,
1308
+ 858,
1309
+ 178
1310
+ ],
1311
+ "page_idx": 7
1312
+ },
1313
+ {
1314
+ "type": "text",
1315
+ "text": "Table 3: Comparing the classification accuracy and F1 score of LITO with LITO $_{MLP}$ , with superior results highlighted in green. LITO outperforms LITO $_{MLP}$ in short-form QA across both metrics.",
1316
+ "bbox": [
1317
+ 507,
1318
+ 187,
1319
+ 882,
1320
+ 244
1321
+ ],
1322
+ "page_idx": 7
1323
+ },
1324
+ {
1325
+ "type": "text",
1326
+ "text": "$k$ Tuning: Throughout our experiments, we set the number of responses $k$ to 5. To investigate the impact of this choice, we evaluate our method's performance using different values of $k$ across the validation sets<sup>5</sup> of all 4 datasets, with the Llama2-Chat-7B model. As shown in Figure 5, for the NQ dataset, $k = 5$ achieves a significant performance improvement over $k = 4$ , and increasing $k$ beyond 5 yields negligible benefits for SciQ. Although $k = 6$ provides marginal benefits for other datasets, the additional computational cost does not justify a higher $k$ . Thus, we choose $k = 5$ as the optimal balance between performance and efficiency, suitable for most applications. However, Figure 5 suggests that in scenarios where truthfulness is paramount and efficiency constraints are relaxed, collecting more language model generations can be beneficial.",
1327
+ "bbox": [
1328
+ 507,
1329
+ 271,
1330
+ 884,
1331
+ 560
1332
+ ],
1333
+ "page_idx": 7
1334
+ },
1335
+ {
1336
+ "type": "text",
1337
+ "text": "7 Related Work",
1338
+ "text_level": 1,
1339
+ "bbox": [
1340
+ 507,
1341
+ 574,
1342
+ 665,
1343
+ 589
1344
+ ],
1345
+ "page_idx": 7
1346
+ },
1347
+ {
1348
+ "type": "text",
1349
+ "text": "7.1 Hallucination in LLMs",
1350
+ "text_level": 1,
1351
+ "bbox": [
1352
+ 507,
1353
+ 602,
1354
+ 737,
1355
+ 615
1356
+ ],
1357
+ "page_idx": 7
1358
+ },
1359
+ {
1360
+ "type": "text",
1361
+ "text": "Addressing hallucinations in LLMs can be classified into two categories: training methods and inference-time methods. Training methods include introducing faithfulness-based loss functions (Yoon et al., 2022; Qiu et al., 2023), and supervised finetuning to utilize the external knowledge graph (Ji et al., 2023; Fatahi Bayat et al., 2023), aiming to strengthen the factualness of LLMs. Despite their effectiveness, training or fine-tuning LLMs becomes impractical due to their parameter size. On the contrary, inference-time methods do not require tuning the LLM itself. For example, representative methods include prompt-based methods with model feedback (Si et al., 2023; Mündler et al., 2023; Lei et al., 2023). These methods prompt the model to provide feedback for its previous output",
1362
+ "bbox": [
1363
+ 507,
1364
+ 624,
1365
+ 884,
1366
+ 882
1367
+ ],
1368
+ "page_idx": 7
1369
+ },
1370
+ {
1371
+ "type": "page_footnote",
1372
+ "text": "We divide the training data into five parts for 5-fold cross-validation.",
1373
+ "bbox": [
1374
+ 507,
1375
+ 892,
1376
+ 882,
1377
+ 917
1378
+ ],
1379
+ "page_idx": 7
1380
+ },
1381
+ {
1382
+ "type": "page_number",
1383
+ "text": "12395",
1384
+ "bbox": [
1385
+ 477,
1386
+ 927,
1387
+ 524,
1388
+ 940
1389
+ ],
1390
+ "page_idx": 7
1391
+ },
1392
+ {
1393
+ "type": "image",
1394
+ "img_path": "images/3e9ad5b5415386cd72e765d743b7ed55eef1701dbd5fbb33dc058c0d65ba8b6c.jpg",
1395
+ "image_caption": [
1396
+ "Figure 4: Transfer results of ITI-based LITO, measured by $TA$ score on 5 LMs. The y-axis corresponds to the training dataset, and the x-axis corresponds to the test dataset. Each cell represents the out-of-domain performance (ood) relative to its corresponding in-domain performance (id), computed as $100 \\times (ood - id) / id$ . Across most datasets, LITO exhibits strong transfer capabilities (relative to in-domain setup)."
1397
+ ],
1398
+ "image_footnote": [],
1399
+ "bbox": [
1400
+ 119,
1401
+ 80,
1402
+ 880,
1403
+ 195
1404
+ ],
1405
+ "page_idx": 8
1406
+ },
1407
+ {
1408
+ "type": "image",
1409
+ "img_path": "images/f5019481b320632ca78bf80893e67307de70b942cf2aaa4c357c819e1fcd2955.jpg",
1410
+ "image_caption": [
1411
+ "Figure 5: Performance of LITO on validation set of 4 datasets using different $k$ values. As illustrated, $k = 5$ provides a sweet spot between performance and computational overhead."
1412
+ ],
1413
+ "image_footnote": [],
1414
+ "bbox": [
1415
+ 117,
1416
+ 285,
1417
+ 485,
1418
+ 448
1419
+ ],
1420
+ "page_idx": 8
1421
+ },
1422
+ {
1423
+ "type": "text",
1424
+ "text": "and then instruct the model to predict better generation given the feedback. Moreover, researchers explored incorporating retrieved contexts to enhance factuality (Varshney et al., 2023; Cao et al., 2023). However, such methods require access to valid sources of knowledge which is challenging and causes delayed response. Recently, some methods propose to modify the hidden states or the prediction distribution during decoding, such as CAD (Shi et al., 2023) and DoLa (Chuang et al., 2023). The effect of such methods on other model characteristics is yet underexplored. To address these limitations, LITO collects model responses across varying intervention intensities and employs a learnable mechanism to output the most truthful response without adversely affecting other desirable model characteristics.",
1425
+ "bbox": [
1426
+ 112,
1427
+ 542,
1428
+ 489,
1429
+ 815
1430
+ ],
1431
+ "page_idx": 8
1432
+ },
1433
+ {
1434
+ "type": "text",
1435
+ "text": "7.2 LLMs Intervention",
1436
+ "text_level": 1,
1437
+ "bbox": [
1438
+ 112,
1439
+ 831,
1440
+ 314,
1441
+ 845
1442
+ ],
1443
+ "page_idx": 8
1444
+ },
1445
+ {
1446
+ "type": "text",
1447
+ "text": "The intervention of LLMs involves generating directional vectors of truthfulness and integrating these vectors into the forward pass of LLMs, guiding them toward factual generations. For example,",
1448
+ "bbox": [
1449
+ 112,
1450
+ 854,
1451
+ 489,
1452
+ 919
1453
+ ],
1454
+ "page_idx": 8
1455
+ },
1456
+ {
1457
+ "type": "text",
1458
+ "text": "in ITI (Li et al., 2023), linear probing is employed to identify attention heads with distinct activation distributions for true and false statements, allowing intervention on these heads to guide the model toward generating truthful outputs. RepE (Zou et al., 2023) detects the per-layer truthful directions by prompting the language model with pairs of instructions with contrastive meanings and integrating these directions into each layer during decoding. Similarly, ActAdd (Turner et al., 2023) exploits activation differences from pairs of counterfactual prompts to control the generation process.",
1459
+ "bbox": [
1460
+ 507,
1461
+ 288,
1462
+ 884,
1463
+ 481
1464
+ ],
1465
+ "page_idx": 8
1466
+ },
1467
+ {
1468
+ "type": "text",
1469
+ "text": "Yet, these methods apply directions amplified with a uniform intensity across all instances, causing insufficient or excessive intervention in many cases. Moreover, prior methods lack a principled refusal mechanism to selectively abstain from generating outputs when the model has low confidence. This shortcoming poses risks that can limit the use of these techniques in high-stakes applications and severely harm end-users. Instead, LITO selects the most accurate response among multiple generations with varying intervention intensities or refuses to respond if no such answer is found.",
1470
+ "bbox": [
1471
+ 507,
1472
+ 482,
1473
+ 882,
1474
+ 675
1475
+ ],
1476
+ "page_idx": 8
1477
+ },
1478
+ {
1479
+ "type": "text",
1480
+ "text": "8 Conclusion",
1481
+ "text_level": 1,
1482
+ "bbox": [
1483
+ 507,
1484
+ 686,
1485
+ 640,
1486
+ 700
1487
+ ],
1488
+ "page_idx": 8
1489
+ },
1490
+ {
1491
+ "type": "text",
1492
+ "text": "In this work, we introduced LITO, a novel learnable intervention method that adjusts the intensity of truthfulness directions based on the question context. Our approach explores generations at multiple intensities, selecting the most accurate output or expressing uncertainty when necessary. Comprehensive experiments demonstrate consistent improvements in balancing truthfulness and task accuracy over original LMs and existing inference-time techniques. An exciting future direction is developing mechanisms to dynamically determine the number and range of intensities to explore based on prompt characteristics.",
1493
+ "bbox": [
1494
+ 507,
1495
+ 709,
1496
+ 884,
1497
+ 917
1498
+ ],
1499
+ "page_idx": 8
1500
+ },
1501
+ {
1502
+ "type": "page_number",
1503
+ "text": "12396",
1504
+ "bbox": [
1505
+ 477,
1506
+ 927,
1507
+ 524,
1508
+ 940
1509
+ ],
1510
+ "page_idx": 8
1511
+ },
1512
+ {
1513
+ "type": "text",
1514
+ "text": "Acknowledgments",
1515
+ "text_level": 1,
1516
+ "bbox": [
1517
+ 114,
1518
+ 84,
1519
+ 278,
1520
+ 101
1521
+ ],
1522
+ "page_idx": 9
1523
+ },
1524
+ {
1525
+ "type": "text",
1526
+ "text": "This work is supported in part by the National Science Foundation through grant IIS-2046016. We thank ARR reviewers for their helpful comments.",
1527
+ "bbox": [
1528
+ 112,
1529
+ 111,
1530
+ 489,
1531
+ 160
1532
+ ],
1533
+ "page_idx": 9
1534
+ },
1535
+ {
1536
+ "type": "text",
1537
+ "text": "Limitations",
1538
+ "text_level": 1,
1539
+ "bbox": [
1540
+ 114,
1541
+ 173,
1542
+ 220,
1543
+ 187
1544
+ ],
1545
+ "page_idx": 9
1546
+ },
1547
+ {
1548
+ "type": "text",
1549
+ "text": "This work has limitations that could be addressed in future research. First, we focused on short phrase-level and sentence-level responses, but the performance of our approach on longer text generation remains unknown. Second, LITO's accuracy relies on the quality of the truthful directions identified by the underlying inference-time intervention method. Enhancing the truthfulness signals provided as input could further improve results. Moreover, while adaptive intervention selection mitigates excessive intensities, it still requires multiple passes through the LLM, increasing the response time. Compared to the studied intervention techniques (ITI and RepE), LITO required $k$ times more inference time as it queries the language model $k$ times. Finally, the interpretability of LITO's selections could be deeply investigated. Visualizing the model's learned notions of uncertainty over intervention intensities may uncover interesting patterns. Nonetheless, this work demonstrates the promise of applying adaptive intervention to prevent model hallucinations.",
1550
+ "bbox": [
1551
+ 115,
1552
+ 200,
1553
+ 490,
1554
+ 554
1555
+ ],
1556
+ "page_idx": 9
1557
+ },
1558
+ {
1559
+ "type": "text",
1560
+ "text": "Ethics Statement",
1561
+ "text_level": 1,
1562
+ "bbox": [
1563
+ 114,
1564
+ 569,
1565
+ 265,
1566
+ 583
1567
+ ],
1568
+ "page_idx": 9
1569
+ },
1570
+ {
1571
+ "type": "text",
1572
+ "text": "This work proposes a method aimed at improving factuality and reducing inaccurate responses in large language model question answering. As open-domain question-answering systems become more prevalent, enhancing truthfulness and reliability is crucial for safe deployment. However, our approach still relies on the capabilities of the underlying model architecture. Future work must continue addressing the potential harms of large generative models related to issues like bias, toxicity, and misinformation. Additionally, adaptive intervention techniques introduce potential downsides if misused. While eliciting factuality reveals the knowledge housed in models, bad actors could exploit similar methods to intentionally expose or induce false beliefs. Future research should explore protections against adversarial attacks alongside efforts to curb hallucination.",
1573
+ "bbox": [
1574
+ 115,
1575
+ 596,
1576
+ 489,
1577
+ 884
1578
+ ],
1579
+ "page_idx": 9
1580
+ },
1581
+ {
1582
+ "type": "text",
1583
+ "text": "On the positive side, reliable question-answering could broadly advance access to knowledge and",
1584
+ "bbox": [
1585
+ 112,
1586
+ 887,
1587
+ 487,
1588
+ 919
1589
+ ],
1590
+ "page_idx": 9
1591
+ },
1592
+ {
1593
+ "type": "text",
1594
+ "text": "combat the viral spread of misinformation. But care must also be taken with any technology able to generate convincing false text. We believe methods that promote truthful AI while mitigating potential harms align with ethical priorities for language technology. This work marks an initial step, but ongoing progress requires interdisciplinary collaboration on the societal impacts of synthetic media.",
1595
+ "bbox": [
1596
+ 507,
1597
+ 84,
1598
+ 885,
1599
+ 212
1600
+ ],
1601
+ "page_idx": 9
1602
+ },
1603
+ {
1604
+ "type": "text",
1605
+ "text": "References",
1606
+ "text_level": 1,
1607
+ "bbox": [
1608
+ 509,
1609
+ 240,
1610
+ 608,
1611
+ 255
1612
+ ],
1613
+ "page_idx": 9
1614
+ },
1615
+ {
1616
+ "type": "list",
1617
+ "sub_type": "ref_text",
1618
+ "list_items": [
1619
+ "Collin Burns, Haotian Ye, Dan Klein, and Jacob Steinhardt. 2022. Discovering latent knowledge in language models without supervision.",
1620
+ "Heijing Cao, Zhenwei An, Jiazhan Feng, Kun Xu, Liwei Chen, and Dongyan Zhao. 2023. A step closer to comprehensive answers: Constrained multi-stage question decomposition with large language models. CoRR, abs/2311.07491.",
1621
+ "Zhongzhi Chen, Xingwu Sun, Xianfeng Jiao, Fengzong Lian, Zhanhui Kang, Di Wang, and Chengzhong Xu. 2024. Truth forest: Toward multi-scale truthfulness in large language models through intervention without tuning. Proceedings of the AAAI Conference on Artificial Intelligence, 38(19):20967-20974.",
1622
+ "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.",
1623
+ "Yung-Sung Chuang, Yujia Xie, Hongyin Luo, Yoon Kim, James R. Glass, and Pengcheng He. 2023. Dola: Decoding by contrasting layers improves factuality in large language models. CoRR, abs/2309.03883.",
1624
+ "Sebastian Farquhar, Vikrant Varma, Zachary Kenton, Johannes Gasteiger, Vladimir Mikulik, and Rohin Shah. 2023. Challenges with unsupervised llm knowledge discovery.",
1625
+ "Farima Fatahi Bayat, Kun Qian, Benjamin Han, Yisi Sang, Anton Belyy, Samira Khorshidi, Fei Wu, Ihab Ilyas, and Yunyao Li. 2023. FLEEK: Factual error detection and correction with evidence retrieved from external knowledge. In Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing: System Demonstrations, pages 124-130, Singapore. Association for Computational Linguistics.",
1626
+ "Luyu Gao, Zhuyun Dai, Panupong Pasupat, Anthony Chen, Arun Tejasvi Chaganty, Yicheng Fan, Vincent Zhao, Ni Lao, Hongrae Lee, Da-Cheng Juan, and Kelvin Guu. 2023. RARR: Researching and revising what language models say, using language models. In Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics (Volume 1:"
1627
+ ],
1628
+ "bbox": [
1629
+ 509,
1630
+ 263,
1631
+ 885,
1632
+ 919
1633
+ ],
1634
+ "page_idx": 9
1635
+ },
1636
+ {
1637
+ "type": "page_number",
1638
+ "text": "12397",
1639
+ "bbox": [
1640
+ 477,
1641
+ 927,
1642
+ 524,
1643
+ 940
1644
+ ],
1645
+ "page_idx": 9
1646
+ },
1647
+ {
1648
+ "type": "list",
1649
+ "sub_type": "ref_text",
1650
+ "list_items": [
1651
+ "Long Papers), pages 16477-16508, Toronto, Canada. Association for Computational Linguistics.",
1652
+ "Pengcheng He, Jianfeng Gao, and Weizhu Chen. 2021. Debertav3: Improving deberta using electra-style pretraining with gradient-disentangled embedding sharing. CoRR, abs/2111.09543.",
1653
+ "Ziwei Ji, Zihan Liu, Nayeon Lee, Tiezheng Yu, Bryan Wilie, Min Zeng, and Pascale Fung. 2023. RHO: Reducing hallucination in open-domain dialogues with knowledge grounding. In Findings of the Association for Computational Linguistics: ACL 2023, pages 4504-4522, Toronto, Canada. Association for Computational Linguistics.",
1654
+ "Mandar Joshi, Eunsol Choi, Daniel Weld, and Luke Zettlemoyer. 2017. TriviaQA: A large scale distantly supervised challenge dataset for reading comprehension. In Proceedings of the 55th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 1601-1611, Vancouver, Canada. Association for Computational Linguistics.",
1655
+ "Saurav Kadavath, Tom Conerly, Amanda Askell, Tom Henighan, Dawn Drain, Ethan Perez, Nicholas Schiefer, Zac Hatfield-Dodds, Nova DasSarma, Eli Tran-Johnson, Scott Johnston, Sheer El-Showk, Andy Jones, Nelson Elhage, Tristan Hume, Anna Chen, Yuntao Bai, Sam Bowman, Stanislav Fort, Deep Ganguli, Danny Hernandez, Josh Jacobson, Jackson Kernion, Shauna Kravec, Liane Lovitt, Kamal Ndousse, Catherine Olsson, Sam Ringer, Dario Amodei, Tom Brown, Jack Clark, Nicholas Joseph, Ben Mann, Sam McCandlish, Chris Olah, and Jared Kaplan. 2022. Language models (mostly) know what they know.",
1656
+ "Tom Kwiatkowski, Jennimaria Palomaki, Olivia Redfield, Michael Collins, Ankur Parikh, Chris Alberti, Danielle Epstein, Illia Polosukhin, Jacob Devlin, Kenton Lee, Kristina Toutanova, Llion Jones, Matthew Kelcey, Ming-Wei Chang, Andrew M. Dai, Jakob Uszkoreit, Quoc Le, and Slav Petrov. 2019. Natural Questions: A Benchmark for Question Answering Research. Transactions of the Association for Computational Linguistics, 7:453-466.",
1657
+ "Deren Lei, Yaxi Li, Mengya Hu, Mingyu Wang, Vincent Yun, Emily Ching, and Eslam Kamal. 2023. Chain of natural language inference for reducing large language model ungrounded hallucinations. CoRR, abs/2310.03951.",
1658
+ "Kenneth Li, Oam Patel, Fernanda Viégas, Hanspeter Pfister, and Martin Wattenberg. 2023. Inference-time intervention: Eliciting truthful answers from a language model.",
1659
+ "Stephanie Lin, Jacob Hilton, and Owain Evans. 2022. TruthfulQA: Measuring how models mimic human falsehoods. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 3214-3252, Dublin, Ireland. Association for Computational Linguistics."
1660
+ ],
1661
+ "bbox": [
1662
+ 115,
1663
+ 85,
1664
+ 489,
1665
+ 917
1666
+ ],
1667
+ "page_idx": 10
1668
+ },
1669
+ {
1670
+ "type": "list",
1671
+ "sub_type": "ref_text",
1672
+ "list_items": [
1673
+ "Xin Liu, Muhammad Khalifa, and Lu Wang. 2024. Litcab: Lightweight language model calibration over short- and long-form responses. In International Conference on Learning Representations (ICLR).",
1674
+ "Samuel Marks and Max Tegmark. 2023. The geometry of truth: Emergent linear structure in large language model representations of true/false datasets.",
1675
+ "Niels Mündler, Jingxuan He, Slobodan Jenko, and Martin T. Vechev. 2023. Self-contradictory hallucinations of large language models: Evaluation, detection and mitigation. CoRR, abs/2305.15852.",
1676
+ "Yifu Qiu, Yftah Ziser, Anna Korhonen, Edoardo Ponti, and Shay Cohen. 2023. Detecting and mitigating hallucinations in multilingual summarisation. In Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing, pages 8914-8932, Singapore. Association for Computational Linguistics.",
1677
+ "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.",
1678
+ "Weijia Shi, Xiaochuang Han, Mike Lewis, Yulia Tsvetkov, Luke Zettlemoyer, and Scott Wen-tau Yih. 2023. Trusting your evidence: Hallucinate less with context-aware decoding. CoRR, abs/2305.14739.",
1679
+ "Chenglei Si, Zhe Gan, Zhengyuan Yang, Shuohang Wang, Jianfeng Wang, Jordan Boyd-Graber, and Lijuan Wang. 2023. Prompting gpt-3 to be reliable. In International Conference on Learning Representations (ICLR).",
1680
+ "Hugo Touvron, Louis Martin, Kevin Stone, Peter Albert, Amjad Almahairi, Yasmine Babaei, Nikolay Bashlykov, Soumya Batra, Prajjwal Bhargava, Shruti Bhosale, Dan Bikel, Lukas Blecher, Cristian Canton-Ferrer, Moya Chen, Guillem Cucurull, David Esiobu, Jude Fernandes, Jeremy Fu, Wenyin Fu, Brian Fuller, Cynthia Gao, Vedanuj Goswami, Naman Goyal, Anthony Hartshorn, Saghar Hosseini, Rui Hou, Hakan Inan, Marcin Kardas, Viktor Kerkez, Madian Khabsa, Isabel Kloumann, Artem Korenev, Punit Singh Koura, Marie-Anne Lachaux, Thibaut Lavril, Jenya Lee, Diana Liskovich, Yinghai Lu, Yuning Mao, Xavier Martinez, Todor Mihaylov, Pushkar Mishra, Igor Molybog, Yixin Nie, Andrew Poulton, Jeremy Reizenstein, Rashi Rungta, Kalyan Saladi, Alan Schelten, Ruan Silva, Eric Michael Smith, Ranjan Subramanian, Xiaoqing Ellen Tan, Binh Tang, Ross Taylor, Adina Williams, Jian Xiang Kuan, Puxin Xu, Zheng Yan, Iliyan Zarov, Yuchen Zhang, Angela Fan, Melanie Kambadur, Sharan Narang, Aurélien Rodriguez, Robert Stojnic, Sergey Edunov, and Thomas Scialom. 2023a. Llama 2: Open foundation and finetuned chat models. CoRR, abs/2307.09288.",
1681
+ "Hugo Touvron, Louis Martin, Kevin Stone, Peter Albert, Amjad Almahairi, Yasmine Babaei, Nikolay Bashlykov, Soumya Batra, Prajjwal Bhargava, Shruti"
1682
+ ],
1683
+ "bbox": [
1684
+ 510,
1685
+ 85,
1686
+ 882,
1687
+ 917
1688
+ ],
1689
+ "page_idx": 10
1690
+ },
1691
+ {
1692
+ "type": "page_number",
1693
+ "text": "12398",
1694
+ "bbox": [
1695
+ 477,
1696
+ 927,
1697
+ 524,
1698
+ 940
1699
+ ],
1700
+ "page_idx": 10
1701
+ },
1702
+ {
1703
+ "type": "text",
1704
+ "text": "Bhosale, Dan Bikel, Lukas Blecher, Cristian Canton Ferrer, Moya Chen, Guillem Cucurull, David Esiobu, Jude Fernandes, Jeremy Fu, Wenyin Fu, Brian Fuller, Cynthia Gao, Vedanuj Goswami, Naman Goyal, Anthony Hartshorn, Saghar Hosseini, Rui Hou, Hakan Inan, Marcin Kardas, Viktor Kerkez, Madian Khabsa, Isabel Kloumann, Artem Korenev, Punit Singh Koura, Marie-Anne Lachaux, Thibaut Lavril, Jenya Lee, Diana Liskovich, Yinghai Lu, Yuning Mao, Xavier Martinet, Todor Mihaylov, Pushkar Mishra, Igor Molybog, Yixin Nie, Andrew Poulton, Jeremy Reizenstein, Rashi Rungta, Kalyan Saladi, Alan Schelten, Ruan Silva, Eric Michael Smith, Ranjan Subramanian, Xiaoqing Ellen Tan, Binh Tang, Ross Taylor, Adina Williams, Jian Xiang Kuan, Puxin Xu, Zheng Yan, Iliyan Zarov, Yuchen Zhang, Angela Fan, Melanie Kambadur, Sharan Narang, Aurelien Rodriguez, Robert Stojnic, Sergey Edunov, and Thomas Scialom. 2023b. Llama 2: Open foundation and fine-tuned chat models.",
1705
+ "bbox": [
1706
+ 131,
1707
+ 85,
1708
+ 490,
1709
+ 347
1710
+ ],
1711
+ "page_idx": 11
1712
+ },
1713
+ {
1714
+ "type": "text",
1715
+ "text": "Alexander Matt Turner, Lisa Thiergart, David Udell, Gavin Leech, Ulisse Mini, and Monte MacDiarmid. 2023. Activation addition: Steering language models without optimization. CoRR, abs/2308.10248.",
1716
+ "bbox": [
1717
+ 115,
1718
+ 357,
1719
+ 489,
1720
+ 412
1721
+ ],
1722
+ "page_idx": 11
1723
+ },
1724
+ {
1725
+ "type": "text",
1726
+ "text": "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. CoRR, abs/2307.03987.",
1727
+ "bbox": [
1728
+ 115,
1729
+ 423,
1730
+ 489,
1731
+ 489
1732
+ ],
1733
+ "page_idx": 11
1734
+ },
1735
+ {
1736
+ "type": "text",
1737
+ "text": "Johannes Welbl, Nelson F. Liu, and Matt Gardner. 2017. Crowdsourcing multiple choice science questions. ArXiv, abs/1707.06209.",
1738
+ "bbox": [
1739
+ 115,
1740
+ 500,
1741
+ 489,
1742
+ 541
1743
+ ],
1744
+ "page_idx": 11
1745
+ },
1746
+ {
1747
+ "type": "text",
1748
+ "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, New Orleans, Louisiana. Association for Computational Linguistics.",
1749
+ "bbox": [
1750
+ 115,
1751
+ 552,
1752
+ 489,
1753
+ 670
1754
+ ],
1755
+ "page_idx": 11
1756
+ },
1757
+ {
1758
+ "type": "text",
1759
+ "text": "Sunjae Yoon, Eunseop Yoon, Hee Suk Yoon, Junyeong Kim, and Chang Yoo. 2022. Information-theoretic text hallucination reduction for video-grounded dialogue. In Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing, pages 4182-4193, Abu Dhabi, United Arab Emirates. Association for Computational Linguistics.",
1760
+ "bbox": [
1761
+ 115,
1762
+ 682,
1763
+ 489,
1764
+ 776
1765
+ ],
1766
+ "page_idx": 11
1767
+ },
1768
+ {
1769
+ "type": "text",
1770
+ "text": "Andy Zou, Long Phan, Sarah Chen, James Campbell, Phillip Guo, Richard Ren, Alexander Pan, Xuwang Yin, Mantas Mazeika, Ann-Kathrin Dombrowski, Shashwat Goel, Nathaniel Li, Michael J. Byun, Zifan Wang, Alex Mallen, Steven Basart, Sanmi Koyejo, Dawn Song, Matt Fredrikson, J. Zico Kolter, and Dan Hendrycks. 2023. Representation engineering: A top-down approach to AI transparency. CoRR, abs/2310.01405.",
1771
+ "bbox": [
1772
+ 115,
1773
+ 785,
1774
+ 490,
1775
+ 904
1776
+ ],
1777
+ "page_idx": 11
1778
+ },
1779
+ {
1780
+ "type": "text",
1781
+ "text": "A GPT4 Prompt for Evaluating Correctness",
1782
+ "text_level": 1,
1783
+ "bbox": [
1784
+ 509,
1785
+ 83,
1786
+ 801,
1787
+ 115
1788
+ ],
1789
+ "page_idx": 11
1790
+ },
1791
+ {
1792
+ "type": "text",
1793
+ "text": "Are the following two answers to my question \"[Question]\" semantically equivalent? (Answer \"Yes\" or \"No\" first, and then explain your answer.)",
1794
+ "bbox": [
1795
+ 519,
1796
+ 129,
1797
+ 867,
1798
+ 178
1799
+ ],
1800
+ "page_idx": 11
1801
+ },
1802
+ {
1803
+ "type": "list",
1804
+ "sub_type": "text",
1805
+ "list_items": [
1806
+ "1. [Reference]",
1807
+ "2. [Model Response]"
1808
+ ],
1809
+ "bbox": [
1810
+ 522,
1811
+ 179,
1812
+ 668,
1813
+ 202
1814
+ ],
1815
+ "page_idx": 11
1816
+ },
1817
+ {
1818
+ "type": "text",
1819
+ "text": "B Prompts of Four Tasks",
1820
+ "text_level": 1,
1821
+ "bbox": [
1822
+ 509,
1823
+ 216,
1824
+ 744,
1825
+ 233
1826
+ ],
1827
+ "page_idx": 11
1828
+ },
1829
+ {
1830
+ "type": "text",
1831
+ "text": "In this section, we show the prompts of four datasets that we used throughout the experiments.",
1832
+ "bbox": [
1833
+ 507,
1834
+ 241,
1835
+ 882,
1836
+ 273
1837
+ ],
1838
+ "page_idx": 11
1839
+ },
1840
+ {
1841
+ "type": "text",
1842
+ "text": "B.1 NQ",
1843
+ "text_level": 1,
1844
+ "bbox": [
1845
+ 509,
1846
+ 282,
1847
+ 588,
1848
+ 298
1849
+ ],
1850
+ "page_idx": 11
1851
+ },
1852
+ {
1853
+ "type": "text",
1854
+ "text": "Interpret each question literally, and as a question about the real world; carefully research each answer, without falling prey to any common myths; and reply \"I have no comment\" unless you are completely certain of the answer.",
1855
+ "bbox": [
1856
+ 521,
1857
+ 307,
1858
+ 853,
1859
+ 380
1860
+ ],
1861
+ "page_idx": 11
1862
+ },
1863
+ {
1864
+ "type": "list",
1865
+ "sub_type": "text",
1866
+ "list_items": [
1867
+ "Q: who plays the voice of joy in inside out? \nA: Amy Poehler",
1868
+ "Q: which two countries were the leading powers during the cold war? A: Soviet Union and United States",
1869
+ "Q: when was the last province added to canada? A: April 1, 1999",
1870
+ "Q: where is the saracens rugby union team based? A: London, England",
1871
+ "Q: the lymphatic tissues at the back of the mouth are called? A: Tonsils"
1872
+ ],
1873
+ "bbox": [
1874
+ 521,
1875
+ 391,
1876
+ 875,
1877
+ 580
1878
+ ],
1879
+ "page_idx": 11
1880
+ },
1881
+ {
1882
+ "type": "text",
1883
+ "text": "B.2 TruthfulQA",
1884
+ "text_level": 1,
1885
+ "bbox": [
1886
+ 510,
1887
+ 590,
1888
+ 653,
1889
+ 606
1890
+ ],
1891
+ "page_idx": 11
1892
+ },
1893
+ {
1894
+ "type": "list",
1895
+ "sub_type": "text",
1896
+ "list_items": [
1897
+ "Interpret each question literally, and as a question about the real world; carefully research each answer, without falling prey to any common myths; and reply \"I have no comment\" unless you are completely certain of the answer.",
1898
+ "Q: What is human life expectancy in the United States?",
1899
+ "A: Human life expectancy in the United States is 78 years.",
1900
+ "Q: Who was president of the United States in 1955? \nA: Dwight D. Eisenhower was president of the United States in 1955.",
1901
+ "Q: What is the square root of banana?",
1902
+ "A: I have no comment.",
1903
+ "Q: How does a telescope work?",
1904
+ "A: Telescopes use lenses or mirrors to focus light and make objects appear closer.",
1905
+ "Q: Where were the 1992 Olympics held?",
1906
+ "A: The 1992 Olympics were held in Barcelona, Spain."
1907
+ ],
1908
+ "bbox": [
1909
+ 521,
1910
+ 615,
1911
+ 889,
1912
+ 913
1913
+ ],
1914
+ "page_idx": 11
1915
+ },
1916
+ {
1917
+ "type": "page_number",
1918
+ "text": "12399",
1919
+ "bbox": [
1920
+ 477,
1921
+ 927,
1922
+ 524,
1923
+ 940
1924
+ ],
1925
+ "page_idx": 11
1926
+ },
1927
+ {
1928
+ "type": "text",
1929
+ "text": "B.3 SciQ",
1930
+ "text_level": 1,
1931
+ "bbox": [
1932
+ 115,
1933
+ 84,
1934
+ 203,
1935
+ 99
1936
+ ],
1937
+ "page_idx": 12
1938
+ },
1939
+ {
1940
+ "type": "text",
1941
+ "text": "Interpret each question literally, and as a question about the real world; carefully research each answer, without falling prey to any common myths; and reply \"I have no comment\" unless you are completely certain of the answer.",
1942
+ "bbox": [
1943
+ 124,
1944
+ 115,
1945
+ 455,
1946
+ 186
1947
+ ],
1948
+ "page_idx": 12
1949
+ },
1950
+ {
1951
+ "type": "list",
1952
+ "sub_type": "text",
1953
+ "list_items": [
1954
+ "Q: What is the least dangerous radioactive decay? \nA: alpha decay",
1955
+ "Q: What is the number of electrons equal to in every electrically neutral atom? A: protons",
1956
+ "Q: What happens to old oceanic crust at convergent boundaries? \nA: destroyed",
1957
+ "Q: Sexually reproducing organisms alternate between which stages? \nA: haploid and diploid",
1958
+ "Q: Motors are the most common application of magnetic force on current-carrying wires. motors have loops of wire in this? \nA: magnetic field"
1959
+ ],
1960
+ "bbox": [
1961
+ 127,
1962
+ 198,
1963
+ 487,
1964
+ 423
1965
+ ],
1966
+ "page_idx": 12
1967
+ },
1968
+ {
1969
+ "type": "text",
1970
+ "text": "B.4 TriviaQA",
1971
+ "text_level": 1,
1972
+ "bbox": [
1973
+ 115,
1974
+ 442,
1975
+ 238,
1976
+ 458
1977
+ ],
1978
+ "page_idx": 12
1979
+ },
1980
+ {
1981
+ "type": "text",
1982
+ "text": "Interpret each question literally, and as a question about the real world; carefully research each answer, without falling prey to any common myths; and reply \"I have no comment\" unless you are completely certain of the answer.",
1983
+ "bbox": [
1984
+ 126,
1985
+ 473,
1986
+ 455,
1987
+ 544
1988
+ ],
1989
+ "page_idx": 12
1990
+ },
1991
+ {
1992
+ "type": "list",
1993
+ "sub_type": "text",
1994
+ "list_items": [
1995
+ "Q: New York Yankees legend Lou Gehrig was known by what nickname? \nA: Iron horse",
1996
+ "Q: Which was the first European country to abolish capital punishment? \nA: Norway",
1997
+ "Q: A bone is joined to a muscle by what tough band of inelastic fibrous tissue? \nA: Tendon",
1998
+ "Q: In what language was the New Testament originally written? \nA: In Greek",
1999
+ "Q: Psychologist William Moulton Marston, inventor of the polygraph, or lie detector, also created a famous comic book heroine,. Who was she? A: Wonder Woman"
2000
+ ],
2001
+ "bbox": [
2002
+ 127,
2003
+ 556,
2004
+ 487,
2005
+ 791
2006
+ ],
2007
+ "page_idx": 12
2008
+ },
2009
+ {
2010
+ "type": "text",
2011
+ "text": "C Implementation Details",
2012
+ "text_level": 1,
2013
+ "bbox": [
2014
+ 114,
2015
+ 810,
2016
+ 356,
2017
+ 828
2018
+ ],
2019
+ "page_idx": 12
2020
+ },
2021
+ {
2022
+ "type": "text",
2023
+ "text": "Using the ITI method, we intervene with 5 different intensity values $\\alpha \\in \\{5,10,15,20,25\\}$ across all models and datasets. Our choice of small, equally-spaced intensity values allows us to collect distinct response changes from the LLMs while ensuring",
2024
+ "bbox": [
2025
+ 112,
2026
+ 838,
2027
+ 489,
2028
+ 917
2029
+ ],
2030
+ "page_idx": 12
2031
+ },
2032
+ {
2033
+ "type": "text",
2034
+ "text": "minimal invasiveness.",
2035
+ "bbox": [
2036
+ 509,
2037
+ 84,
2038
+ 673,
2039
+ 98
2040
+ ],
2041
+ "page_idx": 12
2042
+ },
2043
+ {
2044
+ "type": "text",
2045
+ "text": "To collect model outputs for training our method, we conducted 100 experiments each taking 1-2 hours using one NVIDIA A40 GPU. To train our system, as shown in Figure 2, we set the size of the LSTM's output hidden state to $1/8$ th of its input size, which is the LLM's hidden state dimension. For example, the LSTM output size of our trained method on Vicuna-7B is 512. We employ upsampling and downsampling techniques to balance the combinations of correct and incorrect responses fed to LITO. To mitigate overfitting, we apply L2 weight decay regularization with a coefficient of 0.001 to LITO's parameters during training. In total, we train our method 20 times, once per LLM model and dataset pair. We employ early stopping with a patience of 10 epochs and a maximum of 50 epochs, saving the model checkpoint with the highest F1 score. Each training run utilizes 64 CPU cores and completes within 3-5 minutes depending on the size of the training dataset and the dimension of LLM's hidden states.",
2046
+ "bbox": [
2047
+ 507,
2048
+ 99,
2049
+ 884,
2050
+ 437
2051
+ ],
2052
+ "page_idx": 12
2053
+ },
2054
+ {
2055
+ "type": "text",
2056
+ "text": "D Choice of RepE Intervention Technique",
2057
+ "text_level": 1,
2058
+ "bbox": [
2059
+ 507,
2060
+ 449,
2061
+ 882,
2062
+ 467
2063
+ ],
2064
+ "page_idx": 12
2065
+ },
2066
+ {
2067
+ "type": "text",
2068
+ "text": "As mentioned in Section 6.2.1, LITO is compatible with any intervention technique that improves language models' truthfulness by identifying truthful directions in the model's representation space. Among such techniques are Truth Forest (Chen et al., 2024), Contrast-Consistent Search (CCS) (Burns et al., 2022), and Representation Engineering (RepE) (Zou et al., 2023). We did not choose to evaluate Truth Forest since it is highly motivated by and has a similar basis as the Iterative Truth Intervention (ITI) method already covered in our paper. Additionally, we investigated the CCS method which trains unsupervised probes by incorporating the consistency structure of truthfulness into its loss function. Specifically, we explored how CCS can be used for intervention during text generation, as this method was originally only explored for the classification task. However, on the SciQ dataset, the CCS directions failed to effectively separate truthful from untruthful spaces (near chance accuracy), despite supervised logistic regression achieving around $80\\%$ accuracy. Given this failure to correctly distinguish the two spaces, we did not rely on the CCS method for intervention. Lastly, we evaluated the RepE method, as its truthful directions showed promising accuracy on all four datasets studied in this paper.",
2069
+ "bbox": [
2070
+ 507,
2071
+ 475,
2072
+ 884,
2073
+ 910
2074
+ ],
2075
+ "page_idx": 12
2076
+ },
2077
+ {
2078
+ "type": "page_number",
2079
+ "text": "12400",
2080
+ "bbox": [
2081
+ 477,
2082
+ 927,
2083
+ 524,
2084
+ 940
2085
+ ],
2086
+ "page_idx": 12
2087
+ }
2088
+ ]
2024/Enhanced Language Model Truthfulness with Learnable Intervention and Uncertainty Expression/1e32c8cd-be45-4789-ad01-c4457a07e0bd_model.json ADDED
The diff for this file is too large to render. See raw diff
 
2024/Enhanced Language Model Truthfulness with Learnable Intervention and Uncertainty Expression/1e32c8cd-be45-4789-ad01-c4457a07e0bd_origin.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:812b1098bfdaa65ba88bd7925dfe51496d9dff2d2aebaf7376125dc72f09225d
3
+ size 870909
2024/Enhanced Language Model Truthfulness with Learnable Intervention and Uncertainty Expression/full.md ADDED
@@ -0,0 +1,383 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Enhanced Language Model Truthfulness with Learnable Intervention and Uncertainty Expression
2
+
3
+ Farima Fatahi Bayat, Xin Liu, H. V. Jagadish, Lu Wang
4
+
5
+ University of Michigan, Ann Arbor
6
+
7
+ {farimaf, liuxincs, jag, wangluxy} @umich.edu
8
+
9
+ # Abstract
10
+
11
+ Large language models (LLMs) can generate long-form and coherent text, yet they often hallucinate facts, which undermines their reliability. To mitigate this issue, inference-time methods steer LLM representations toward the "truthful directions" previously learned for truth elicitation. However, applying these truthful directions with the same intensity fails to generalize across different query contexts. We propose LITO, a Learnable Intervention method for Truthfulness Optimization that automatically identifies the optimal intervention intensity tailored to each specific context. LITO explores a sequence of model generations based on increasing levels of intervention intensities. It selects the most accurate response or refuses to answer when the predictions are highly uncertain. Experiments on multiple LLMs and question-answering datasets demonstrate that LITO improves truthfulness while preserving task accuracy. The adaptive nature of LITO counters the limitations of one-size-fits-all intervention methods, maximizing truthfulness by reflecting the model's internal knowledge only when it is confident. Our code is available at https://github.com/launchnlp/LITO.
12
+
13
+ # 1 Introduction
14
+
15
+ Despite their impressive performance across a wide range of natural language processing (NLP) tasks, large language models (LLMs) still generate hallucinated outputs that lack real-world basis, limiting their reliability in critical applications that require truthful responses. Many promising directions are explored to overcome this challenge, such as developing methods to ground LLMs in external knowledge and incorporate credibility indicators into model outputs (Gao et al., 2023; Fatahi Bayat et al., 2023). Another class of methods states the presence of a linear representation of "truth" in model activations (Marks and Tegmark, 2023; Li et al., 2023; Burns et al., 2022). These methods
16
+
17
+ ![](images/cb775361bd164722d4ed0d9cf76bb8e88a39c280a374e05603e159da46fc0297.jpg)
18
+ Figure 1: Model responses using the inference-time intervention method with intensities increasing from 5 to 25. For different queries, the model achieves correct responses at varying intensity levels, indicated by green (correct) and red (incorrect) colors. Darkness of color represents the model's confidence in its response.
19
+
20
+ train linear probes on top of LLM's internal activations to identify truthful directions in their representation space. In particular, Burns et al. (2022) claims that the representation of the truth, amongst a few other features, satisfies a logical consistency structure. They learn a linear projection of hidden states under the consistency-based objective and associate it with the truthful direction. However, Farquhar et al. (2023) later shows that (1) arbitrary features satisfy the logical consistency property, and (2) unsupervised methods detect superficial features that do not represent the truth. This indicates that an unsupervised search for truthful directions overly relies on surface features without additional mechanisms to reveal truthfulness.
21
+
22
+ To avoid capturing irrelevant features, Li et al. (2023) proposed a supervised probe learning that directly identifies the truthful directions based on correct and incorrect statements in the TruthfulQA dataset (Lin et al., 2022). This method, called inference-time intervention (ITI), trains supervised linear probes on the output of each attention head, treating the resulting probe weights as truthful directions. Additionally, a scaling coefficient is tuned
23
+
24
+ to determine the intensity at which each direction should be added to its respective head output at inference time. However, amplifying the truthful directions with a fixed single intensity does not generalize across all contexts. Figure 1 demonstrates this by showing the Llama2-Chat-7B (Touvron et al., 2023b) model's performance on answering various queries from the Natural Questions dataset (Kwiatkowski et al., 2019) after applying the ITI technique with gradually increasing truthful direction intensities. Interestingly, the model arrives at a correct response within different intensity ranges for different questions. This suggests the optimal intervention magnitude is context-dependent, varying across questions based on factors such as their topic, complexity, ambiguity levels, etc. Moreover, the truthful directions may not capture all aspects of truthfulness. Therefore, adjusting the intensity alone cannot guarantee accurate responses. For instance, consider the question "What flag is red and has a gold star?" in Figure 1. Intervening with varying strengths of truthful directions does not result in a correct answer. In such cases, the model should express uncertainty to stay truthful.
25
+
26
+ To address the limitations of one-size-fits-all intervention solutions by prior methods, we propose a Learnable Intervention method for Truthfulness Optimization, LITO. LITO identifies truthful direction intensities that suit different contexts, e.g., different questions. Given a sequence of model generations at multiple levels of intervention intensities, we develop a method to maximize truthfulness, which we define as selecting factual responses when the model is highly confident and refusing to respond otherwise. To achieve this, we collect model responses, including textual outputs, hidden representations, and confidence values, at increasing levels of intervention intensity. We then train an LSTM-based classifier to assess the accuracy of these responses based on the sequence of hidden states. During inference, the system selects the most accurate response if any is deemed accurate by the classifier; otherwise, it outputs "I have no comment" to express uncertainty and refuse to answer.
27
+
28
+ We measure the performance of LITO and other methods in balancing truthfulness and accuracy, introducing a novel evaluation metric called the Truthfulness-Accuracy (TA) score. This metric evaluates the trade-off between truthfulness and task-specific accuracy by measuring how effec
29
+
30
+ tively different methods produce truthful outputs that appropriately acknowledge uncertainty while also achieving high accuracy on the target task.
31
+
32
+ LITO is a learnable intervention methodology agnostic to the specific intervention method used, as long as the method can identify and apply truthful directions to the model's internal representations. In this paper, we instantiate LITO using the ITI method and extend its application to unsupervised truthful directions detected through representation engineering (RepE) (Zou et al., 2023). We conduct comprehensive experiments across four datasets and two categories of language models: Llama and GPT-2. The results show that LITO significantly improves truthfulness while preserving high task accuracy across different intervention methods. For example, using the ITI method, LITO boosts the $TA$ score of Llama2-Chat-7B by 9.6 points on the Natural Questions dataset. Additionally, we evaluate LITO in a cross-domain setting to demonstrate its transferability across tasks.
33
+
34
+ # 2 Problem Statement and Preliminaries
35
+
36
+ We consider the problem of mitigating hallucinations in large language models through truthfulness enhancement. Our approach involves methods that steer the model's activation space towards factuality. This work focuses on open-domain question-answering, where models are tasked with responding to real-world queries. We utilize a short prompt that contains task-specific instructions, five demonstrations, and the target question. The model is expected to provide an accurate response to each question or express uncertainty by stating "I have no comment" when the answer is unknown.
37
+
38
+ # 2.1 Inference-time Intervention (ITI)
39
+
40
+ To enhance truthfulness, we adopt a supervised truth elicitation technique called inference-time intervention (ITI) (Li et al., 2023). This method employs probing to detect the model's internal representations of truth. ITI trains one probe per attention head (in each layer) that linearly associates each attention head's output with a true/false label. To collect data for training each probe, ITI prompts the model with question-answer pairs where the answer is correct (1) or incorrect (0). Next, for each prompt, it collects the attention activation $x_{l}^{h}$ , per layer $l$ and per head $h$ , of the answer's last token along with its binary labels $y$ . A linear probe $p(x_{l}^{h}) = \text{sigmoid}(\langle d_{l}^{h}, x_{l}^{h} \rangle)$ is then trained
41
+
42
+ on each head, and a sparse set of heads with the highest validation accuracy is selected. ITI shifts each selected head's activation $x_{l}^{h}$ towards its corresponding probe weights $d_{l}^{h}$ presented as a truthful direction. To achieve this, ITI adds truthful directions, amplified by a tuned coefficient $\alpha$ (the intervention intensity), to their corresponding head activation for each next token prediction as:
43
+
44
+ $$
45
+ x _ {l} ^ {h} = x _ {l} ^ {h} + \alpha d _ {l} ^ {h} \tag {1}
46
+ $$
47
+
48
+ # 2.2 Learnable Intervention for Truthfulness Optimization
49
+
50
+ As illustrated in Figure 1, applying a single intervention direction to selected head activation does not yield truthful results. To overcome this, we introduce a learnable intervention technique that gathers model outputs when the model is directed toward truthful directions at multiple intensity levels. Given an LM with $L$ layers and $H$ attention heads per layer, we use the ITI method to identify truthful directions (probe weights) as $\mathcal{D} = \{d_l^h | l \in L', h \in H'\}$ , where $L' \subseteq L$ and $H' \subseteq H$ represent the subsets of layers and heads selected by ITI. We then apply directions $\mathcal{D}$ at $k$ different intensity levels (denoted by $\alpha$ values) for each input prompt, collect responses $A = \{a_1, a_2,.., a_k\}$ at each intensity level, and output the most truthful answer, if available, or express uncertainty. The following section describes our intervention approach in detail.
51
+
52
+ # 3 Approach
53
+
54
+ In this work, we develop an intervention technique that dynamically adjusts to optimal intensity value, enhancing truthfulness based on prompt characteristics. Specifically, we increase the intensity $(\alpha)$ of the truthful directions $\mathcal{D}$ , learned by ITI, across $k$ iterations, maintaining uniform intensity levels across all selected directions. By targeting a small subset of attention heads, ITI minimizes its impact on the LM's overall performance. Thus, small increases in intensity can yield similar outputs. To generate distinct responses from the intervened language model, we apply intervention intensities in increments of 5, i.e. $\alpha \in 5,10,\dots ,5k$ . Let $LLM_{\alpha}$ denote the LLM intervened with intensity $\alpha$ and $A = \{a_{1},a_{2},\ldots ,a_{k}\}$ denotes the collection of model responses, where $a_{i} = LLM_{\alpha = 5i}(x)$ . Each response $a_{i}$ contains (1) the textual model generation $y_{i}$ which consists of $N$ tokens, (2) the
55
+
56
+ model's last-layer hidden states $h_i$ for generated tokens, and (3) the confidence score $p(y_i|x)$ . Following Liu et al. (2024), we compute the confidence score as geometric mean across the sequence of token probabilities:
57
+
58
+ $$
59
+ p \left(y _ {i} \mid x\right) = \sqrt [ N ]{\prod_ {t = 1} ^ {N} p \left(y _ {i , t} \mid x , y _ {i , < t}\right)} \tag {2}
60
+ $$
61
+
62
+ We collect the three output components for each of the $k$ interventions and pass all outputs to our adaptive intervention system, LITO. Our system then assesses the accuracy of each response and outputs the most truthful response if one exists.
63
+
64
+ # 3.1 Training
65
+
66
+ We start with the hidden states $\mathcal{H} = \{h_1, \dots, h_k\}$ corresponding to $k$ different responses $A = \{a_1, a_2, \dots, a_k\}$ . Each $h_i \in \mathcal{H}$ represents the last-layer hidden states for $N$ tokens in $a_i \in A$ . We aggregate these hidden states across all generated tokens by taking their mean:
67
+
68
+ $$
69
+ h _ {i} = \frac {1}{N} \sum_ {j = 1} ^ {N} h _ {i, j} \tag {3}
70
+ $$
71
+
72
+ We target hidden states from the last layer as it provides an informative representation that captures the generation history and current state of the model. These aggregated hidden states are then fed into a 1-layer Long Short-Term Memory (LSTM). This allows the recurrent model to take a holistic view of response patterns, rather than examining them individually. The LSTM can thus learn how the responses change over increasing levels of intervention, identifying transitions and breaking points, drops in confidence or fluency, and potentially viable intervention zones. We showcase the effectiveness of selecting LSTM in Section 6.2. The LSTM outputs a hidden representation denoted as $h_{r,i}$ for each response representation $h_i$ :
73
+
74
+ $$
75
+ h _ {r, 1}, \dots , h _ {r, k} = L S T M \left(h _ {1}, \dots , h _ {k}\right) \tag {4}
76
+ $$
77
+
78
+ Finally, the hidden outputs of the LSTM are passed through a fully connected layer, followed by a sigmoid nonlinearity, to obtain the factuality probability $p_w(h_{r,i})$ for each response, defined as $p_w(h_{r,i}) = \delta(\langle w, h_{r,i} \rangle)$ , where $w$ represents the learned parameters and $h_{r,i}$ denotes the LSTM's hidden representation of response $a_i \in A$ .
79
+
80
+ ![](images/9da6741399a2b813ebd1253b6962194bf6f52be7227bbd4e82ab2e9afd2e5e02.jpg)
81
+ Figure 2: Overview of LITO method. Given the input prompt $x$ with the question "Bacterial cell walls are made rigid by the presence of?", our method first collects model-generated responses after applying ITI-identified directions at 5 intensities $LLM_{\alpha = 5k}(x)$ (Section 3). Each response contains the textual response, the model's confidence of the generated response (shown by darkness of color), and the aggregated hidden representations $h_i$ , computed as the average across hidden states of response tokens. LITO predicts the accuracy of each response given its hidden representations and selects the accurate response (labeled as 1) with the highest confidence or indicates uncertainty.
82
+
83
+ # 3.2 Inference
84
+
85
+ At inference time, we input the aggregated hidden state $h_i$ corresponding to each answer $a_i \in A$ through our trained system to determine its accuracy label $\mathbb{I}(\delta(\langle w, h_{r,i} \rangle) > 0.5)$ where $\mathbb{I}$ is the indicator function. If all responses are predicted as nonfactual, the system conveys its uncertainty by outputting "I have no comment". Otherwise, LITO outputs the response with the highest confidence value $p(y_i|x)$ . Formally:
86
+
87
+ $$
88
+ i ^ {*} = \arg \max (p \left(y _ {i} | x\right)) \quad s. t. \tag {5}
89
+ $$
90
+
91
+ $$
92
+ \delta (\langle w, h _ {r, i} \rangle) > 0. 5
93
+ $$
94
+
95
+ Therefore, the final output is $y_{i}$ or "I have no comment" in case all predictions are zero (inaccurate). Figure 2 shows an overview of how LITO operates.
96
+
97
+ # 4 Datasets and Training Labels for LITO
98
+
99
+ # 4.1 Datasets
100
+
101
+ In this work, we focus on open-domain question-answering (QA). To train and evaluate LITO, we select QA tasks that vary in response length, targeting datasets with phrase-level and sentence-level responses. For phrase-level openQA datasets, we use NaturalQuestions (NQ) (Kwiatkowski et al., 2019), SciQ (Welbl et al., 2017), and TriviaQA (Joshi et al., 2017), all of which include short responses (e.g., named entities). For sentence-level responses, we choose TruthfulQA (Lin et al., 2022) where model responses are complete sentences. All datasets employed are in English.
102
+
103
+ We adopt an in-domain truthful direction identification approach. To this end, we use the val
104
+
105
+ ization set of NaturalQuestions $(\mathrm{NQ})^{1}$ and TriviaQA $^{2}$ datasets that contain correct answers, and GPT-4-generated incorrect answers to serve as an adversarial data point. We randomly select 1K samples from each dataset for ITI probe training and save the rest of the samples (2.4K) for testing our method. SciQ is a multi-choice science question-answering dataset. We use its 1K validation set for ITI probe training and 1K test set for final evaluation. In addition to ITI training data, we randomly sample 3K instances from the train set of these phrase-level datasets to train LITO. Given that there is no official training set for TruthfulQA, we randomly select 408 instances from the original validation set to train the ITI method and find the optimal direction. We use the same set to train LITO and use the rest of the data for evaluation.
106
+
107
+ # 4.2 Training Label Construction
108
+
109
+ First, we use the ITI method to identify truthful directions that can later be integrated into the model's representations with amplified intensity. Next, we utilize the curated training data to prompt variants of the LM, as depicted in Figure 2, collecting the textual response, confidence score, and final-layer representations for each resulting generation. To label each response for accuracy, a DeBERTa-large model (He et al., 2021), fine-tuned on the MultiNLI (Williams et al., 2018) task, annotates phrase-level outputs. It classifies each textual response as correct if it can be entailed from the reference answer. To annotate model generations on TruthfulQA, we
110
+
111
+ ask GPT-4 to assess response accuracy based on semantic equivalence to the reference.3
112
+
113
+ # 5 Experimental Setup
114
+
115
+ # 5.1 Prompts
116
+
117
+ We adopt the same prompt format for evaluating TruthfulQA. Specifically, the "QA prompt" consists of an instruction, 5 question-answer pairs as in-context learning examples, and the target question the model should answer. We use the following instruction in all experiments: "Interpret each question literally and as a question about the real world; carefully research each answer, without falling prey to any common myths; and reply "I have no comment." unless you are completely certain of the answer."
118
+
119
+ To elicit concise responses for phrase-level QA, we include five in-context learning examples from each dataset. The full set of prompts used for evaluating the LMs on the different datasets is provided in Appendix B.
120
+
121
+ # 5.2 Metrics
122
+
123
+ The output response of an intervention method can be factually accurate, inaccurate, or indicate uncertainty by outputting "I have no comment". We measure truthfulness as the portion of accurate or uncertain responses. However, the language model or intervention approach could default to "I have no comment." to maximize their truthfulness. Therefore, we also measure accuracy by computing task-specific accuracy. Note that aggregation-based methods cannot surpass the accuracy of individual model generations they operate on. Finally, to measure the balance between truthfulness and accuracy, we propose the TA score which computes the geometric mean of truthfulness and accuracy:
124
+
125
+ $$
126
+ T A = \sqrt {\text {T r u t h f u l n e s s} \times \text {A c c u r a c y}} \tag {6}
127
+ $$
128
+
129
+ A higher TA score indicates that a method better balances the trade-off between producing accurate responses on the target task and generating truthful outputs that appropriately reflect uncertainty.
130
+
131
+ # 5.3 Models
132
+
133
+ We test intervention methods on two families of models: (1) Llama models: Vicuna-7B (Chiang et al., 2023), Llama2-chat-7B, and Llama2-chat-13B (Touvron et al., 2023a), and (2) GPT-2 models: GPT2-large and GPT2-XL (Radford et al., 2019).
134
+
135
+ # 5.4 Baseline Methods
136
+
137
+ We apply the ITI method by setting $k = 5$ and intervening in each model with five distinct intensity values, $\alpha \in \{5,10,15,20,25\}$ which establish ITI baselines. The optimal $k$ value selection is detailed in Section 6.2.3. We independently compute the baseline performance at each intensity. An oracle strategy is then used to select the intensity at which ITI performs best, and we report the results. We also employ three answer selection methods, evaluating the model outputs across five intensities to generate a truthful response, as described below.
138
+
139
+ Majority Voting: Given the model outputs $A = \{a_{1}, a_{2}, \dots, a_{5}\}$ , this method chooses the most repeated answer by taking a majority vote among textual responses. In case of a tie, the answer with the highest confidence is chosen as the final answer. For sentence-level responses where repetition rarely happens, all responses have one occurrence (tie) and thus the response with the maximum confidence is chosen.
140
+
141
+ Maximum Confidence: This method chooses the answer to which the model has assigned the maximum confidence.
142
+
143
+ Maximum Confidence $>T$ : The difference between this method and Maximum Confidence is that it only selects an answer if its confidence is above a certain threshold. If such an answer does not exist, the final output is: "I have no comment." This approach effectively filters out low-confidence answers, ensuring the reflection of uncertainty. We set $T = 0.6$ as it shows the best average performance across datasets and LMs.<sup>4</sup>
144
+
145
+ # 6 Experimental Results and Further Analyses
146
+
147
+ In this section, we first compare LITO against several counterparts and present our findings in Section 6.1. Then, in Section 6.2, we assess LITO's generalization to another truthful elicitation method, explore its performance in cross-domain settings, and investigate our design choices.
148
+
149
+ # 6.1 Results
150
+
151
+ # 6.1.1 Results Compared to Original LM and ITI Baseline
152
+
153
+ Table 1 shows the performance of different methods in terms of their $TA$ score on 4 datasets and 5 LMs.
154
+
155
+ <table><tr><td>Task</td><td>Model</td><td>Original LM</td><td>ITI (best of 5)</td><td>Maj. Vote</td><td>Max Conf.</td><td>Max Conf. &gt;T</td><td>LITO</td></tr><tr><td rowspan="5">NQ</td><td>GPT2-large</td><td>12.2</td><td>15.4</td><td>12.9</td><td>15.0</td><td>14.2</td><td>27.2</td></tr><tr><td>GPT2-XL</td><td>15.5</td><td>17.7</td><td>16.5</td><td>18.6</td><td>22.0</td><td>29.1</td></tr><tr><td>Llama2-Chat-7B</td><td>29.2</td><td>31.7</td><td>31.7</td><td>31.3</td><td>33.5</td><td>38.8</td></tr><tr><td>Llama2-Chat-13B</td><td>32.7</td><td>33.9</td><td>34.2</td><td>33.4</td><td>38.9</td><td>41.5</td></tr><tr><td>Vicuna-7B</td><td>30.0</td><td>30.3</td><td>29.3</td><td>30.0</td><td>35.0</td><td>36.2</td></tr><tr><td rowspan="5">SciQ</td><td>GPT2-large</td><td>39.4</td><td>40.0</td><td>39.7</td><td>40</td><td>27.8</td><td>47.0</td></tr><tr><td>GPT2-XL</td><td>40.5</td><td>41.5</td><td>41.2</td><td>41.3</td><td>36.9</td><td>46.8</td></tr><tr><td>Llama2-Chat-7B</td><td>65.4</td><td>66.1</td><td>64.8</td><td>64.9</td><td>65.8</td><td>66.2</td></tr><tr><td>Llama2-Chat-13B</td><td>71.4</td><td>72.1</td><td>71.0</td><td>70.7</td><td>70.6</td><td>71.6</td></tr><tr><td>Vicuna-7B</td><td>61.7</td><td>61.4</td><td>57.5</td><td>60.2</td><td>62.7</td><td>61.9</td></tr><tr><td rowspan="5">TriviaQA</td><td>GPT2-large</td><td>32.3</td><td>50.4</td><td>38.2</td><td>44.5</td><td>39.7</td><td>59.2</td></tr><tr><td>GPT2-XL</td><td>31.3</td><td>41.5</td><td>36.1</td><td>40.5</td><td>39.6</td><td>49.6</td></tr><tr><td>Llama2-Chat-7B</td><td>70.0</td><td>70.7</td><td>70.7</td><td>72.1</td><td>72.3</td><td>74.0</td></tr><tr><td>Llama2-Chat-13B</td><td>76.1</td><td>76.2</td><td>75.5</td><td>74.9</td><td>75.5</td><td>76.6</td></tr><tr><td>Vicuna-7B</td><td>67.7</td><td>68.3</td><td>68.9</td><td>71.2</td><td>72.5</td><td>72.0</td></tr><tr><td rowspan="5">TruthfulQA</td><td>GPT2-large</td><td>15.9</td><td>15.9</td><td>15.5</td><td>13.9</td><td>18.6</td><td>24.0</td></tr><tr><td>GPT2-XL</td><td>20.7</td><td>26.8</td><td>23.1</td><td>25.1</td><td>24.5</td><td>30.7</td></tr><tr><td>Llama2-Chat-7B</td><td>45.1</td><td>49.9</td><td>48.1</td><td>49.4</td><td>49.4</td><td>49.6</td></tr><tr><td>Llama2-Chat-13B</td><td>52.4</td><td>52.8</td><td>54.2</td><td>53.1</td><td>53.1</td><td>54.3</td></tr><tr><td>Vicuna-7B</td><td>43.1</td><td>41.5</td><td>42.9</td><td>41.2</td><td>40.9</td><td>45.0</td></tr></table>
156
+
157
+ Table 1: Results of LITO and baselines across 4 benchmarks and 5 LMs in terms of TA score (presented in Equation 6). "ITI (best of 5)" represents the peak ITI performance across 5 intervention intensities $(\alpha)$ selected by an oracle. The best and second-best TA score per model and per dataset is in bold. We highlight numbers where LITO improves over both the original LM and all baselines in blue; when LITO outperforms the original LM, it is colored in green. LITO effectively improves truthfulness while preserving high accuracy, surpassing other counterparts.
158
+
159
+ It also highlights the peak ITI performance across 5 intensities selected by an oracle strategy, providing a comparison against other methods. As illustrated, LITO consistently improves over the original LM's performance across all datasets, showing the effectiveness of our approach. Particularly, LITO outperforms the original GPT-2 language models by a large margin, achieving an average TA score improvement of $+14.4$ for GPT2-large and $+12.0$ for GPT2-XL. This improvement is due to a notable increase in truthfulness while maintaining accuracy levels. ITI exhibits slightly superior performance when applied to Llama2 models on the phrase-level SciQ $(+0.5)$ and TruthfulQA $(+0.3)$ tasks.
160
+
161
+ # 6.1.2 Results Compared to Aggregation-based Methods
162
+
163
+ Our approach demonstrates consistent performance gains over other aggregation-based methods, as shown in Table 1. The Maximum Confidence $> T$ baseline shows higher performance improvement compared to its counterparts, outperforming LITO trained on Vicuna-7B hidden representations on NQ and TriviaQA benchmarks. Our investigation reveals that the Maximum Confidence $> T$ baseline preserves its input accuracy levels while enhancing truthfulness. In contrast, LITO sacrifices some
164
+
165
+ degree of accuracy to achieve higher truthfulness.
166
+
167
+ Figure 3 illustrates LITO's truthfulness and accuracy scores compared to other baselines. It ranks within the top 2 for the highest truthfulness scores across all datasets and LMs. Additionally, LITO maintains accuracy within $5\%$ of the ITI method in 16 out of 20 experiments, illustrating its effective balance between truthfulness and accuracy. This makes LITO particularly valuable in settings where response truthfulness is crucial. As mentioned in Section 5.4, we set $T = 0.6$ for Maximum Confidence $> T$ . However, unlike Maximum Confidence, this baseline exhibits low accuracy levels with GPT-2 models, suggesting that smaller models may suffer from poor calibration, as indicated by (Kadavath et al., 2022). Another key observation from Figure 3 is that the Majority Vote closely follows the ITI average, demonstrating its inability to significantly improve upon input responses.
168
+
169
+ # 6.2 Further Analyses
170
+
171
+ # 6.2.1 LITO Generalizes across Intervention Techniques
172
+
173
+ In this work, we primarily instantiate and evaluate our proposed methodology using the inference-time intervention (ITI) method as the underlying truthful intervention technique. However, LITO is
174
+
175
+ ![](images/abd84367bef8cabf85753f021bf9ce360c6457ba98e5183fd759c1d5bfe48d6f.jpg)
176
+
177
+ ![](images/d69a627cae8dc4874fe21e554366af73b84f2ed400cd38e6799584cdac2745f2.jpg)
178
+
179
+ ![](images/4f0b08593bb5b51536877616793f54048e81356655e54c1075d10ed83179286e.jpg)
180
+
181
+ ![](images/197bf4454fa1fe6855a4b51b6c647e189409088b14cedd41113ab06f5c8e2eb1.jpg)
182
+
183
+ ![](images/650cfb216bb28bdafbfa12a88335f1cf38316385b927b5406b0d8c63d1e13dc8.jpg)
184
+
185
+ ![](images/8e950bf2433aa5090302e13403614bd18b23e3cb5dd2bf3aea961cb4a4e2d233.jpg)
186
+
187
+ ![](images/694213214df5a7e889ebb1716f75d9a4f9f68a27503e390991beea7bc9d672b4.jpg)
188
+ Figure 3: Truthfulness and accuracy scores per dataset on five LMs. ITI represents the average ITI performance across 5 intensities to demonstrate how closely the Majority Vote follows this baseline. In all experiments, LITO is ranked within the top 2 in terms of truthfulness while preserving accuracy, leading to its superior $TA$ performance.
189
+
190
+ ![](images/aaae9c00671c48a0da5777fe84832f552e5cc8f81044da4ee3053974890e554f.jpg)
191
+
192
+ <table><tr><td>Task</td><td>Model</td><td>Original LM</td><td>RepE (best of 5)</td><td>Maj. Vote</td><td>Max Conf.</td><td>Max Conf. &gt;T</td><td>LITO</td></tr><tr><td rowspan="2">NQ</td><td>GPT2-XL</td><td>15.5</td><td>15.6</td><td>15.6</td><td>15.5</td><td>16.9</td><td>27.5</td></tr><tr><td>Llama2-Chat-7B</td><td>29.2</td><td>29.4</td><td>29.4</td><td>28.4</td><td>29.5</td><td>35.5</td></tr><tr><td rowspan="2">SciQ</td><td>GPT2-XL</td><td>40.5</td><td>40.8</td><td>40.5</td><td>40.2</td><td>35.2</td><td>46.5</td></tr><tr><td>Llama2-Chat-7B</td><td>65.4</td><td>66.1</td><td>65.9</td><td>65.9</td><td>65.1</td><td>65.5</td></tr><tr><td rowspan="2">TriviaQA</td><td>GPT2-XL</td><td>31.3</td><td>31.6</td><td>31.4</td><td>30.0</td><td>31.4</td><td>40.2</td></tr><tr><td>Llama2-Chat-7B</td><td>70.0</td><td>70.6</td><td>70.1</td><td>70.3</td><td>71.8</td><td>71.92</td></tr><tr><td rowspan="2">TruthfulQA</td><td>GPT2-XL</td><td>19.1</td><td>19.1</td><td>18.8</td><td>18.6</td><td>18.2</td><td>26.3</td></tr><tr><td>Llama2-Chat-7B</td><td>42.6</td><td>43.4</td><td>38.5</td><td>38.4</td><td>38.4</td><td>39.1</td></tr></table>
193
+
194
+ Table 2: The results of RepE-based LITO instantiation and various baselines across four benchmarks are detailed in terms of the TA score. RepE (best of 5) indicates the performance of RepE at its optimal intensity level determined by an oracle. Details on colors and fonts are provided in Table 1.
195
+
196
+ compatible with any technique that enhances the language model truthfulness by identifying truthful directions in the model's representation space. To showcase this generalizability, we further instantiate LITO using the Representation Engineering (RepE) intervention method (Zou et al., 2023) as the underlying truthful intervention technique. A discussion on the selection of RepE is provided in Appendix D.
197
+
198
+ RepE identifies truthful directions in a language model's representations by leveraging truthful/untruthful counterfactual pairs. It collects the layerwise representations produced by the model when prompted with these pairs. Then, it computes the representation differences between each counterfactual pair across layers. RepE employs unsupervised techniques, such as Principal Component Analysis (PCA), to isolate a single truthful direction per layer from these representation differences. During inference, these directions are multiplied by an intervention coefficient and added to their corresponding layer outputs in the language model. Given these characteristics, we can readily apply
199
+
200
+ LITO on top of the RepE intervention technique and evaluate the potential performance gains. To do so, we use the same setup mentioned in Section 5 for truthful direction identification LITO. We intervene by steering the representation of the layer that exhibits the highest truthfulness accuracy based on the learned directions. Following the experimental setting in Appendix C, we collect language model generations at 5 different intervention intensity values 1, 2, 3, 4, 5. Note that since the intervention is layer-level (as opposed to ITI which was at the activation head-level), we chose smaller intensity values compared to ITI to prevent nonsensical generations.
201
+
202
+ Our experiments instantiating LITO with the RepE intervention technique are shown in Table 2 across the 4 tasks and 2 different LM categories studied in this paper. Compared to best-performing setup of RepE across the 5 interventions, our results show an average performance gain of $+9$ , $+2.5$ , $+4.9$ , and $+1.5$ TA points on the NQ, SciQ, TriviaQA, and TruthfulQA datasets respectively, corroborating our findings on the
203
+
204
+ # ITI-based LITO improvements.
205
+
206
+ # 6.2.2 LITO Learns Task-agnostic Notions of Truth
207
+
208
+ We developed an intervention method that adapts to different intensity levels and contexts. Next, we evaluate how well this method, trained on one task, can generalize to others. We trained and tested the ITI-based LITO instantiation on every dataset pair, highlighting the resulting transfer capabilities for the 5 large language models in Figure 4. Our method generally shows effective transferability, with LITO demonstrating strong performance when trained on one task and tested on others. Specifically, while LITO trained on the TruthfulQA dataset exhibits limited transferability, as noted by Li et al. (2023), it achieves near in-domain performance levels when trained on TriviaQA. This effectiveness could stem from TriviaQA's broad general knowledge base, which applies to more specialized domains (e.g. SciQ). Notably, for the NQ task, LITO even exceeds its in-domain performance on GPT2-Large. Overall, our adaptive intervention method consistently maintains $TA$ scores across most out-of-domain scenarios, indicating minimal performance degradation.
209
+
210
+ # 6.2.3 Design Choices
211
+
212
+ In this section, we validate our design choices for using an LSTM as the core LITO component and determine the optimal number of interventions $(k)$ .
213
+
214
+ LSTM vs. MLP: We justify using a recurrent neural network to analyze patterns in sequences of interventions, rather than examining them individually. For this purpose, using the same experimental setup, we substitute our LSTM model with a fully connected layer followed by a ReLU nonlinearity. We measure the binary classification performance in terms of accuracy and F1 score across all 4 question-answering tasks, using the Llama2-Chat-7B model as the base LM. We denote the method that replaces the LSTM with a linear layer as LITO $MLP$ . The results, presented in Table 3, show that the LSTM model substantially outperforms the baseline on phrase-level QA tasks. The F1 score on the TruthfuQA task shows a noticeable performance drop. However, TruthfulQA is a challenging task with limited training data, requiring the LSTM to have more examples to learn complex sequential patterns effectively.
215
+
216
+ <table><tr><td rowspan="2">Task</td><td colspan="2">LITO</td><td colspan="2">LITOMLP</td></tr><tr><td>Acc</td><td>F1</td><td>Acc</td><td>F1</td></tr><tr><td>NQ</td><td>71.9</td><td>50.4</td><td>69.6</td><td>46.2</td></tr><tr><td>SciQ</td><td>66.5</td><td>71.9</td><td>65.1</td><td>71.8</td></tr><tr><td>TriviaQA</td><td>71.4</td><td>79.5</td><td>70.2</td><td>77.6</td></tr><tr><td>TruthfulQA</td><td>75.2</td><td>55.7</td><td>74.4</td><td>59.8</td></tr></table>
217
+
218
+ Table 3: Comparing the classification accuracy and F1 score of LITO with LITO $_{MLP}$ , with superior results highlighted in green. LITO outperforms LITO $_{MLP}$ in short-form QA across both metrics.
219
+
220
+ $k$ Tuning: Throughout our experiments, we set the number of responses $k$ to 5. To investigate the impact of this choice, we evaluate our method's performance using different values of $k$ across the validation sets<sup>5</sup> of all 4 datasets, with the Llama2-Chat-7B model. As shown in Figure 5, for the NQ dataset, $k = 5$ achieves a significant performance improvement over $k = 4$ , and increasing $k$ beyond 5 yields negligible benefits for SciQ. Although $k = 6$ provides marginal benefits for other datasets, the additional computational cost does not justify a higher $k$ . Thus, we choose $k = 5$ as the optimal balance between performance and efficiency, suitable for most applications. However, Figure 5 suggests that in scenarios where truthfulness is paramount and efficiency constraints are relaxed, collecting more language model generations can be beneficial.
221
+
222
+ # 7 Related Work
223
+
224
+ # 7.1 Hallucination in LLMs
225
+
226
+ Addressing hallucinations in LLMs can be classified into two categories: training methods and inference-time methods. Training methods include introducing faithfulness-based loss functions (Yoon et al., 2022; Qiu et al., 2023), and supervised finetuning to utilize the external knowledge graph (Ji et al., 2023; Fatahi Bayat et al., 2023), aiming to strengthen the factualness of LLMs. Despite their effectiveness, training or fine-tuning LLMs becomes impractical due to their parameter size. On the contrary, inference-time methods do not require tuning the LLM itself. For example, representative methods include prompt-based methods with model feedback (Si et al., 2023; Mündler et al., 2023; Lei et al., 2023). These methods prompt the model to provide feedback for its previous output
227
+
228
+ ![](images/3e9ad5b5415386cd72e765d743b7ed55eef1701dbd5fbb33dc058c0d65ba8b6c.jpg)
229
+ Figure 4: Transfer results of ITI-based LITO, measured by $TA$ score on 5 LMs. The y-axis corresponds to the training dataset, and the x-axis corresponds to the test dataset. Each cell represents the out-of-domain performance (ood) relative to its corresponding in-domain performance (id), computed as $100 \times (ood - id) / id$ . Across most datasets, LITO exhibits strong transfer capabilities (relative to in-domain setup).
230
+
231
+ ![](images/f5019481b320632ca78bf80893e67307de70b942cf2aaa4c357c819e1fcd2955.jpg)
232
+ Figure 5: Performance of LITO on validation set of 4 datasets using different $k$ values. As illustrated, $k = 5$ provides a sweet spot between performance and computational overhead.
233
+
234
+ and then instruct the model to predict better generation given the feedback. Moreover, researchers explored incorporating retrieved contexts to enhance factuality (Varshney et al., 2023; Cao et al., 2023). However, such methods require access to valid sources of knowledge which is challenging and causes delayed response. Recently, some methods propose to modify the hidden states or the prediction distribution during decoding, such as CAD (Shi et al., 2023) and DoLa (Chuang et al., 2023). The effect of such methods on other model characteristics is yet underexplored. To address these limitations, LITO collects model responses across varying intervention intensities and employs a learnable mechanism to output the most truthful response without adversely affecting other desirable model characteristics.
235
+
236
+ # 7.2 LLMs Intervention
237
+
238
+ The intervention of LLMs involves generating directional vectors of truthfulness and integrating these vectors into the forward pass of LLMs, guiding them toward factual generations. For example,
239
+
240
+ in ITI (Li et al., 2023), linear probing is employed to identify attention heads with distinct activation distributions for true and false statements, allowing intervention on these heads to guide the model toward generating truthful outputs. RepE (Zou et al., 2023) detects the per-layer truthful directions by prompting the language model with pairs of instructions with contrastive meanings and integrating these directions into each layer during decoding. Similarly, ActAdd (Turner et al., 2023) exploits activation differences from pairs of counterfactual prompts to control the generation process.
241
+
242
+ Yet, these methods apply directions amplified with a uniform intensity across all instances, causing insufficient or excessive intervention in many cases. Moreover, prior methods lack a principled refusal mechanism to selectively abstain from generating outputs when the model has low confidence. This shortcoming poses risks that can limit the use of these techniques in high-stakes applications and severely harm end-users. Instead, LITO selects the most accurate response among multiple generations with varying intervention intensities or refuses to respond if no such answer is found.
243
+
244
+ # 8 Conclusion
245
+
246
+ In this work, we introduced LITO, a novel learnable intervention method that adjusts the intensity of truthfulness directions based on the question context. Our approach explores generations at multiple intensities, selecting the most accurate output or expressing uncertainty when necessary. Comprehensive experiments demonstrate consistent improvements in balancing truthfulness and task accuracy over original LMs and existing inference-time techniques. An exciting future direction is developing mechanisms to dynamically determine the number and range of intensities to explore based on prompt characteristics.
247
+
248
+ # Acknowledgments
249
+
250
+ This work is supported in part by the National Science Foundation through grant IIS-2046016. We thank ARR reviewers for their helpful comments.
251
+
252
+ # Limitations
253
+
254
+ This work has limitations that could be addressed in future research. First, we focused on short phrase-level and sentence-level responses, but the performance of our approach on longer text generation remains unknown. Second, LITO's accuracy relies on the quality of the truthful directions identified by the underlying inference-time intervention method. Enhancing the truthfulness signals provided as input could further improve results. Moreover, while adaptive intervention selection mitigates excessive intensities, it still requires multiple passes through the LLM, increasing the response time. Compared to the studied intervention techniques (ITI and RepE), LITO required $k$ times more inference time as it queries the language model $k$ times. Finally, the interpretability of LITO's selections could be deeply investigated. Visualizing the model's learned notions of uncertainty over intervention intensities may uncover interesting patterns. Nonetheless, this work demonstrates the promise of applying adaptive intervention to prevent model hallucinations.
255
+
256
+ # Ethics Statement
257
+
258
+ This work proposes a method aimed at improving factuality and reducing inaccurate responses in large language model question answering. As open-domain question-answering systems become more prevalent, enhancing truthfulness and reliability is crucial for safe deployment. However, our approach still relies on the capabilities of the underlying model architecture. Future work must continue addressing the potential harms of large generative models related to issues like bias, toxicity, and misinformation. Additionally, adaptive intervention techniques introduce potential downsides if misused. While eliciting factuality reveals the knowledge housed in models, bad actors could exploit similar methods to intentionally expose or induce false beliefs. Future research should explore protections against adversarial attacks alongside efforts to curb hallucination.
259
+
260
+ On the positive side, reliable question-answering could broadly advance access to knowledge and
261
+
262
+ combat the viral spread of misinformation. But care must also be taken with any technology able to generate convincing false text. We believe methods that promote truthful AI while mitigating potential harms align with ethical priorities for language technology. This work marks an initial step, but ongoing progress requires interdisciplinary collaboration on the societal impacts of synthetic media.
263
+
264
+ # References
265
+
266
+ Collin Burns, Haotian Ye, Dan Klein, and Jacob Steinhardt. 2022. Discovering latent knowledge in language models without supervision.
267
+ Heijing Cao, Zhenwei An, Jiazhan Feng, Kun Xu, Liwei Chen, and Dongyan Zhao. 2023. A step closer to comprehensive answers: Constrained multi-stage question decomposition with large language models. CoRR, abs/2311.07491.
268
+ Zhongzhi Chen, Xingwu Sun, Xianfeng Jiao, Fengzong Lian, Zhanhui Kang, Di Wang, and Chengzhong Xu. 2024. Truth forest: Toward multi-scale truthfulness in large language models through intervention without tuning. Proceedings of the AAAI Conference on Artificial Intelligence, 38(19):20967-20974.
269
+ 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.
270
+ Yung-Sung Chuang, Yujia Xie, Hongyin Luo, Yoon Kim, James R. Glass, and Pengcheng He. 2023. Dola: Decoding by contrasting layers improves factuality in large language models. CoRR, abs/2309.03883.
271
+ Sebastian Farquhar, Vikrant Varma, Zachary Kenton, Johannes Gasteiger, Vladimir Mikulik, and Rohin Shah. 2023. Challenges with unsupervised llm knowledge discovery.
272
+ Farima Fatahi Bayat, Kun Qian, Benjamin Han, Yisi Sang, Anton Belyy, Samira Khorshidi, Fei Wu, Ihab Ilyas, and Yunyao Li. 2023. FLEEK: Factual error detection and correction with evidence retrieved from external knowledge. In Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing: System Demonstrations, pages 124-130, Singapore. Association for Computational Linguistics.
273
+ Luyu Gao, Zhuyun Dai, Panupong Pasupat, Anthony Chen, Arun Tejasvi Chaganty, Yicheng Fan, Vincent Zhao, Ni Lao, Hongrae Lee, Da-Cheng Juan, and Kelvin Guu. 2023. RARR: Researching and revising what language models say, using language models. In Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics (Volume 1:
274
+
275
+ Long Papers), pages 16477-16508, Toronto, Canada. Association for Computational Linguistics.
276
+ Pengcheng He, Jianfeng Gao, and Weizhu Chen. 2021. Debertav3: Improving deberta using electra-style pretraining with gradient-disentangled embedding sharing. CoRR, abs/2111.09543.
277
+ Ziwei Ji, Zihan Liu, Nayeon Lee, Tiezheng Yu, Bryan Wilie, Min Zeng, and Pascale Fung. 2023. RHO: Reducing hallucination in open-domain dialogues with knowledge grounding. In Findings of the Association for Computational Linguistics: ACL 2023, pages 4504-4522, Toronto, Canada. Association for Computational Linguistics.
278
+ Mandar Joshi, Eunsol Choi, Daniel Weld, and Luke Zettlemoyer. 2017. TriviaQA: A large scale distantly supervised challenge dataset for reading comprehension. In Proceedings of the 55th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 1601-1611, Vancouver, Canada. Association for Computational Linguistics.
279
+ Saurav Kadavath, Tom Conerly, Amanda Askell, Tom Henighan, Dawn Drain, Ethan Perez, Nicholas Schiefer, Zac Hatfield-Dodds, Nova DasSarma, Eli Tran-Johnson, Scott Johnston, Sheer El-Showk, Andy Jones, Nelson Elhage, Tristan Hume, Anna Chen, Yuntao Bai, Sam Bowman, Stanislav Fort, Deep Ganguli, Danny Hernandez, Josh Jacobson, Jackson Kernion, Shauna Kravec, Liane Lovitt, Kamal Ndousse, Catherine Olsson, Sam Ringer, Dario Amodei, Tom Brown, Jack Clark, Nicholas Joseph, Ben Mann, Sam McCandlish, Chris Olah, and Jared Kaplan. 2022. Language models (mostly) know what they know.
280
+ Tom Kwiatkowski, Jennimaria Palomaki, Olivia Redfield, Michael Collins, Ankur Parikh, Chris Alberti, Danielle Epstein, Illia Polosukhin, Jacob Devlin, Kenton Lee, Kristina Toutanova, Llion Jones, Matthew Kelcey, Ming-Wei Chang, Andrew M. Dai, Jakob Uszkoreit, Quoc Le, and Slav Petrov. 2019. Natural Questions: A Benchmark for Question Answering Research. Transactions of the Association for Computational Linguistics, 7:453-466.
281
+ Deren Lei, Yaxi Li, Mengya Hu, Mingyu Wang, Vincent Yun, Emily Ching, and Eslam Kamal. 2023. Chain of natural language inference for reducing large language model ungrounded hallucinations. CoRR, abs/2310.03951.
282
+ Kenneth Li, Oam Patel, Fernanda Viégas, Hanspeter Pfister, and Martin Wattenberg. 2023. Inference-time intervention: Eliciting truthful answers from a language model.
283
+ Stephanie Lin, Jacob Hilton, and Owain Evans. 2022. TruthfulQA: Measuring how models mimic human falsehoods. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 3214-3252, Dublin, Ireland. Association for Computational Linguistics.
284
+
285
+ Xin Liu, Muhammad Khalifa, and Lu Wang. 2024. Litcab: Lightweight language model calibration over short- and long-form responses. In International Conference on Learning Representations (ICLR).
286
+ Samuel Marks and Max Tegmark. 2023. The geometry of truth: Emergent linear structure in large language model representations of true/false datasets.
287
+ Niels Mündler, Jingxuan He, Slobodan Jenko, and Martin T. Vechev. 2023. Self-contradictory hallucinations of large language models: Evaluation, detection and mitigation. CoRR, abs/2305.15852.
288
+ Yifu Qiu, Yftah Ziser, Anna Korhonen, Edoardo Ponti, and Shay Cohen. 2023. Detecting and mitigating hallucinations in multilingual summarisation. In Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing, pages 8914-8932, Singapore. Association for Computational Linguistics.
289
+ 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.
290
+ Weijia Shi, Xiaochuang Han, Mike Lewis, Yulia Tsvetkov, Luke Zettlemoyer, and Scott Wen-tau Yih. 2023. Trusting your evidence: Hallucinate less with context-aware decoding. CoRR, abs/2305.14739.
291
+ Chenglei Si, Zhe Gan, Zhengyuan Yang, Shuohang Wang, Jianfeng Wang, Jordan Boyd-Graber, and Lijuan Wang. 2023. Prompting gpt-3 to be reliable. In International Conference on Learning Representations (ICLR).
292
+ Hugo Touvron, Louis Martin, Kevin Stone, Peter Albert, Amjad Almahairi, Yasmine Babaei, Nikolay Bashlykov, Soumya Batra, Prajjwal Bhargava, Shruti Bhosale, Dan Bikel, Lukas Blecher, Cristian Canton-Ferrer, Moya Chen, Guillem Cucurull, David Esiobu, Jude Fernandes, Jeremy Fu, Wenyin Fu, Brian Fuller, Cynthia Gao, Vedanuj Goswami, Naman Goyal, Anthony Hartshorn, Saghar Hosseini, Rui Hou, Hakan Inan, Marcin Kardas, Viktor Kerkez, Madian Khabsa, Isabel Kloumann, Artem Korenev, Punit Singh Koura, Marie-Anne Lachaux, Thibaut Lavril, Jenya Lee, Diana Liskovich, Yinghai Lu, Yuning Mao, Xavier Martinez, Todor Mihaylov, Pushkar Mishra, Igor Molybog, Yixin Nie, Andrew Poulton, Jeremy Reizenstein, Rashi Rungta, Kalyan Saladi, Alan Schelten, Ruan Silva, Eric Michael Smith, Ranjan Subramanian, Xiaoqing Ellen Tan, Binh Tang, Ross Taylor, Adina Williams, Jian Xiang Kuan, Puxin Xu, Zheng Yan, Iliyan Zarov, Yuchen Zhang, Angela Fan, Melanie Kambadur, Sharan Narang, Aurélien Rodriguez, Robert Stojnic, Sergey Edunov, and Thomas Scialom. 2023a. Llama 2: Open foundation and finetuned chat models. CoRR, abs/2307.09288.
293
+ Hugo Touvron, Louis Martin, Kevin Stone, Peter Albert, Amjad Almahairi, Yasmine Babaei, Nikolay Bashlykov, Soumya Batra, Prajjwal Bhargava, Shruti
294
+
295
+ Bhosale, Dan Bikel, Lukas Blecher, Cristian Canton Ferrer, Moya Chen, Guillem Cucurull, David Esiobu, Jude Fernandes, Jeremy Fu, Wenyin Fu, Brian Fuller, Cynthia Gao, Vedanuj Goswami, Naman Goyal, Anthony Hartshorn, Saghar Hosseini, Rui Hou, Hakan Inan, Marcin Kardas, Viktor Kerkez, Madian Khabsa, Isabel Kloumann, Artem Korenev, Punit Singh Koura, Marie-Anne Lachaux, Thibaut Lavril, Jenya Lee, Diana Liskovich, Yinghai Lu, Yuning Mao, Xavier Martinet, Todor Mihaylov, Pushkar Mishra, Igor Molybog, Yixin Nie, Andrew Poulton, Jeremy Reizenstein, Rashi Rungta, Kalyan Saladi, Alan Schelten, Ruan Silva, Eric Michael Smith, Ranjan Subramanian, Xiaoqing Ellen Tan, Binh Tang, Ross Taylor, Adina Williams, Jian Xiang Kuan, Puxin Xu, Zheng Yan, Iliyan Zarov, Yuchen Zhang, Angela Fan, Melanie Kambadur, Sharan Narang, Aurelien Rodriguez, Robert Stojnic, Sergey Edunov, and Thomas Scialom. 2023b. Llama 2: Open foundation and fine-tuned chat models.
296
+
297
+ Alexander Matt Turner, Lisa Thiergart, David Udell, Gavin Leech, Ulisse Mini, and Monte MacDiarmid. 2023. Activation addition: Steering language models without optimization. CoRR, abs/2308.10248.
298
+
299
+ 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. CoRR, abs/2307.03987.
300
+
301
+ Johannes Welbl, Nelson F. Liu, and Matt Gardner. 2017. Crowdsourcing multiple choice science questions. ArXiv, abs/1707.06209.
302
+
303
+ 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, New Orleans, Louisiana. Association for Computational Linguistics.
304
+
305
+ Sunjae Yoon, Eunseop Yoon, Hee Suk Yoon, Junyeong Kim, and Chang Yoo. 2022. Information-theoretic text hallucination reduction for video-grounded dialogue. In Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing, pages 4182-4193, Abu Dhabi, United Arab Emirates. Association for Computational Linguistics.
306
+
307
+ Andy Zou, Long Phan, Sarah Chen, James Campbell, Phillip Guo, Richard Ren, Alexander Pan, Xuwang Yin, Mantas Mazeika, Ann-Kathrin Dombrowski, Shashwat Goel, Nathaniel Li, Michael J. Byun, Zifan Wang, Alex Mallen, Steven Basart, Sanmi Koyejo, Dawn Song, Matt Fredrikson, J. Zico Kolter, and Dan Hendrycks. 2023. Representation engineering: A top-down approach to AI transparency. CoRR, abs/2310.01405.
308
+
309
+ # A GPT4 Prompt for Evaluating Correctness
310
+
311
+ Are the following two answers to my question "[Question]" semantically equivalent? (Answer "Yes" or "No" first, and then explain your answer.)
312
+
313
+ 1. [Reference]
314
+ 2. [Model Response]
315
+
316
+ # B Prompts of Four Tasks
317
+
318
+ In this section, we show the prompts of four datasets that we used throughout the experiments.
319
+
320
+ # B.1 NQ
321
+
322
+ Interpret each question literally, and as a question about the real world; carefully research each answer, without falling prey to any common myths; and reply "I have no comment" unless you are completely certain of the answer.
323
+
324
+ Q: who plays the voice of joy in inside out?
325
+ A: Amy Poehler
326
+ Q: which two countries were the leading powers during the cold war? A: Soviet Union and United States
327
+ Q: when was the last province added to canada? A: April 1, 1999
328
+ Q: where is the saracens rugby union team based? A: London, England
329
+ Q: the lymphatic tissues at the back of the mouth are called? A: Tonsils
330
+
331
+ # B.2 TruthfulQA
332
+
333
+ Interpret each question literally, and as a question about the real world; carefully research each answer, without falling prey to any common myths; and reply "I have no comment" unless you are completely certain of the answer.
334
+ Q: What is human life expectancy in the United States?
335
+ A: Human life expectancy in the United States is 78 years.
336
+ Q: Who was president of the United States in 1955?
337
+ A: Dwight D. Eisenhower was president of the United States in 1955.
338
+ Q: What is the square root of banana?
339
+ A: I have no comment.
340
+ Q: How does a telescope work?
341
+ A: Telescopes use lenses or mirrors to focus light and make objects appear closer.
342
+ Q: Where were the 1992 Olympics held?
343
+ A: The 1992 Olympics were held in Barcelona, Spain.
344
+
345
+ # B.3 SciQ
346
+
347
+ Interpret each question literally, and as a question about the real world; carefully research each answer, without falling prey to any common myths; and reply "I have no comment" unless you are completely certain of the answer.
348
+
349
+ Q: What is the least dangerous radioactive decay?
350
+ A: alpha decay
351
+ Q: What is the number of electrons equal to in every electrically neutral atom? A: protons
352
+ Q: What happens to old oceanic crust at convergent boundaries?
353
+ A: destroyed
354
+ Q: Sexually reproducing organisms alternate between which stages?
355
+ A: haploid and diploid
356
+ Q: Motors are the most common application of magnetic force on current-carrying wires. motors have loops of wire in this?
357
+ A: magnetic field
358
+
359
+ # B.4 TriviaQA
360
+
361
+ Interpret each question literally, and as a question about the real world; carefully research each answer, without falling prey to any common myths; and reply "I have no comment" unless you are completely certain of the answer.
362
+
363
+ Q: New York Yankees legend Lou Gehrig was known by what nickname?
364
+ A: Iron horse
365
+ Q: Which was the first European country to abolish capital punishment?
366
+ A: Norway
367
+ Q: A bone is joined to a muscle by what tough band of inelastic fibrous tissue?
368
+ A: Tendon
369
+ Q: In what language was the New Testament originally written?
370
+ A: In Greek
371
+ Q: Psychologist William Moulton Marston, inventor of the polygraph, or lie detector, also created a famous comic book heroine,. Who was she? A: Wonder Woman
372
+
373
+ # C Implementation Details
374
+
375
+ Using the ITI method, we intervene with 5 different intensity values $\alpha \in \{5,10,15,20,25\}$ across all models and datasets. Our choice of small, equally-spaced intensity values allows us to collect distinct response changes from the LLMs while ensuring
376
+
377
+ minimal invasiveness.
378
+
379
+ To collect model outputs for training our method, we conducted 100 experiments each taking 1-2 hours using one NVIDIA A40 GPU. To train our system, as shown in Figure 2, we set the size of the LSTM's output hidden state to $1/8$ th of its input size, which is the LLM's hidden state dimension. For example, the LSTM output size of our trained method on Vicuna-7B is 512. We employ upsampling and downsampling techniques to balance the combinations of correct and incorrect responses fed to LITO. To mitigate overfitting, we apply L2 weight decay regularization with a coefficient of 0.001 to LITO's parameters during training. In total, we train our method 20 times, once per LLM model and dataset pair. We employ early stopping with a patience of 10 epochs and a maximum of 50 epochs, saving the model checkpoint with the highest F1 score. Each training run utilizes 64 CPU cores and completes within 3-5 minutes depending on the size of the training dataset and the dimension of LLM's hidden states.
380
+
381
+ # D Choice of RepE Intervention Technique
382
+
383
+ As mentioned in Section 6.2.1, LITO is compatible with any intervention technique that improves language models' truthfulness by identifying truthful directions in the model's representation space. Among such techniques are Truth Forest (Chen et al., 2024), Contrast-Consistent Search (CCS) (Burns et al., 2022), and Representation Engineering (RepE) (Zou et al., 2023). We did not choose to evaluate Truth Forest since it is highly motivated by and has a similar basis as the Iterative Truth Intervention (ITI) method already covered in our paper. Additionally, we investigated the CCS method which trains unsupervised probes by incorporating the consistency structure of truthfulness into its loss function. Specifically, we explored how CCS can be used for intervention during text generation, as this method was originally only explored for the classification task. However, on the SciQ dataset, the CCS directions failed to effectively separate truthful from untruthful spaces (near chance accuracy), despite supervised logistic regression achieving around $80\%$ accuracy. Given this failure to correctly distinguish the two spaces, we did not rely on the CCS method for intervention. Lastly, we evaluated the RepE method, as its truthful directions showed promising accuracy on all four datasets studied in this paper.
2024/Enhanced Language Model Truthfulness with Learnable Intervention and Uncertainty Expression/images.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:66aa0fc8e83a64d82154b05811dc82fd36a7cddd5db6d203754b6a6bde968f18
3
+ size 410178
2024/Enhanced Language Model Truthfulness with Learnable Intervention and Uncertainty Expression/layout.json ADDED
The diff for this file is too large to render. See raw diff
 
2024/Enhanced Visual Instruction Tuning with Synthesized Image-Dialogue Data/5db7e691-801e-49cf-90b6-2abbaa2a383c_content_list.json ADDED
The diff for this file is too large to render. See raw diff
 
2024/Enhanced Visual Instruction Tuning with Synthesized Image-Dialogue Data/5db7e691-801e-49cf-90b6-2abbaa2a383c_model.json ADDED
The diff for this file is too large to render. See raw diff
 
2024/Enhanced Visual Instruction Tuning with Synthesized Image-Dialogue Data/5db7e691-801e-49cf-90b6-2abbaa2a383c_origin.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d1bffd6e0f3b96c803f19f0e9afc7c52fed10e1e5466722dbf892d31f250daad
3
+ size 3975982
2024/Enhanced Visual Instruction Tuning with Synthesized Image-Dialogue Data/full.md ADDED
@@ -0,0 +1,735 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Enhanced Visual Instruction Tuning with Synthesized Image-Dialogue Data
2
+
3
+ Yanda Li $^{1,2*}$ , Chi Zhang $^{2,6*†}$ , Gang Yu $^{2‡}$ , Wanqi Yang $^{1}$ , Zhibin Wang $^{2}$ , Bin Fu $^{2}$ , Guosheng Lin $^{3}$ , Chunhua Shen $^{4}$ , Ling Chen $^{1}$ , Yunchao Wei $^{5,7‡}$
4
+
5
+ <sup>1</sup> University of Technology Sydney <sup>2</sup> Tencent <sup>3</sup> Nanyang Technological University
6
+
7
+ $^{4}$ Zhejiang University $^{5}$ Beijing Jiaotong University $^{6}$ Westlake University $^{7}$ Peng Cheng Laboratory
8
+
9
+ <sup>1</sup>liyanda95@gmail.com, <sup>1</sup>wanqi.yang-1@student.uts.edu.au <sup>1</sup>ling.chen@uts.edu.au
10
+
11
+ $^{2}\{johnczhang, skicyyu, billzbwang, brianfu\} @tencent.com$
12
+
13
+ 3gslin@ntu.edu.sg 4chunhua@me.com 5wychao1987@gmail.com 6chizhang@westlake.edu.cn
14
+
15
+ ![](images/6560b0b5ade649e85b5a3e7a6e1ddf001366154ee15bf4fb6d20e0fe86bc9eff.jpg)
16
+
17
+ Prompt: "spaghetti, tomatoes, garlic, olive oil and basil"
18
+ Q: "Can you teach me how to prepare a classic spaghetti dish? This is a picture of the ingredients I have."
19
+
20
+ A: "Great! First, boil a pot of water and add spaghetti to cook."
21
+
22
+ ![](images/3baa48258da71b0059e954595ea977e092765d387aeb277925066f44bbe144b3.jpg)
23
+
24
+ Prompt:"pot boiling with spaghetti inside"
25
+ Q: "Oaky, the water is boiling and I added the ragshetti. What should I do next?"
26
+
27
+ A: "Add the chopped tomatoes to the pan until the tomatoes have softened and created a sauce. Then add salt and pepper."
28
+
29
+ ![](images/e33ff2036cdd2fbf7061795c8409197a0074ff7f09d2c04c98bbec930ce2d58c.jpg)
30
+
31
+ Prompt: "tomatoes cooking in a pan"
32
+ Q: "The tomatoes have softened and I added salt and pepper. What is next?"
33
+
34
+ A: "Once the spaghetti is cooked, drain it and add it to the pan with tomato sauce. And let it cook for a few more minutes."
35
+
36
+ ![](images/0b19e5d6bb14689e38b30567b4d2642f9fc32a7ad5496e3a6f734489b859cc01.jpg)
37
+ Figure 1: Examples of synthesized visual instruction data. We use ChatGPT and text-to-image generation models to synthesize various forms of visual instruction tuning data, such as multi-round dialogue data, multi-image reasoning data, and anomaly detection data. These data are used to train the multimodal large language models.
38
+
39
+ Prompt: "spaghetti and tomato sauce in a pan"
40
+ Q: "Okay, I've cooked it, here's the spaghetti."
41
+
42
+ A: Great! You did a good job.
43
+
44
+ Prompt: "elephant wearing a graduation gown and holding a diploma ..."
45
+ Q: "What stands out as unusual in this image?"
46
+
47
+ ![](images/b50706f464fc8efdd0480e3f394cf88aa4524475e2a4acdba2b961b52bb65993.jpg)
48
+
49
+ A: "Elephants, being wild animals, don't have the need or capability to wear graduation gowns and hold diplomas, making this image both surreal and abnormal."
50
+
51
+ ![](images/9e15b019244e047c7e08f6f17aab7440efa4bfd3bb5a10cb6c92b7be70be95f1.jpg)
52
+
53
+ ■ Q: "Is there any inference to be made concerning the link between two images?"
54
+ A: "Watering the flowers with the garden's watering can makes the flowers bloom beautifully."
55
+
56
+ ![](images/aa25f95c63f3033016287101743f1724623a98e722366b0a4b85517aaaf4cb2d.jpg)
57
+
58
+ Prompt: "carpenter, woodshop..."
59
+ Q: "What profession does the person in the image represent?"
60
+
61
+ A: "Carpenter. As he is in a woodshop surrounded by woodworking tools and wood shavings."
62
+
63
+ ![](images/e9709559238c4dfa695694f09d3a1bcbd6a0fe15a767e1871c94db1d53ed606a.jpg)
64
+
65
+ ![](images/fddef7c5df9aa9caa9c429af9b81d65b9905dc263a1226b64c608fc84972cecf.jpg)
66
+ ···
67
+
68
+ ![](images/bc6984fd4c578a027ef0b706ef4aa87e756c8b59428016cd395760a047df8780.jpg)
69
+
70
+ ![](images/e839eb469afa087d477f59952e9ed736ac11a0de3b1f2c4725b98cb7f4e27085.jpg)
71
+
72
+ ![](images/f110a340b912761b689e01e58e420ecde123d968da8f3caac94671ab1adce0f5.jpg)
73
+
74
+ # Abstract
75
+
76
+ The remarkable multimodal capabilities demonstrated by OpenAI's GPT-4 have sparked significant interest in the development of multimodal Large Language Models (LLMs). A primary research objective of such models is to align visual and textual modalities effectively while comprehending human instructions. Current methodologies often rely on annotations derived from benchmark datasets to construct image-dialogue datasets for training purposes, akin to instruction tuning in LLMs. However, these datasets often exhibit domain bias, potentially constraining the generative capabilities of the models. In an effort to mitigate these limitations, we propose a novel methodology for data collection, which synchronously synthesizes images and dialogues for visual instruction tuning. This approach leverages the combined capabilities of generative text-to-image models and large language models, facilitating the
77
+
78
+ creation of a dataset that is both diverse and scalable, and more importantly, customized to enhance the models' performance across a broad spectrum of tasks. Our research includes comprehensive experiments conducted on various datasets. The results emphasize substantial enhancements in more than ten commonly assessed capabilities. Additionally, our model achieves state-of-the-art results across multiple widely recognized multimodal benchmarks.
79
+
80
+ # 1 Introduction
81
+
82
+ The launch of OpenAI's ChatGPT(OpenAI, 2023) has marked a significant milestone in artificial intelligence (AI), showcasing the advanced capabilities of Large Language Models (LLMs). These models, exemplified by GPT-4(OpenAI, 2023), demonstrate exceptional versatility by handling not just images but also excelling in tasks once difficult to accomplish. This includes understanding humor within images and acting as intelligent agents (Zhang et al., 2023a), aspects that highlight its revolutionary potential.
83
+
84
+ However, despite these notable achievements, a crucial aspect remains undisclosed: the specific mechanics underlying GPT-4, particularly concerning the seamless integration of multimodal information into LLMs. This knowledge gap has prompted a concerted research effort to address this puzzle. Among the promising approaches, an emerging method receiving considerable attention involves the utilization of adapter-based techniques (Zhang et al., 2023b; Gao et al., 2023; Luo et al., 2023), which allow the training of a visual-to-text adapter that converts features from pre-trained visual models into LLM tokens, showing promise in achieving results comparable to GPT-4. The effectiveness of adapter-based methods stems from their ability to leverage the extensive pre-existing knowledge in large visual models and LLMs. By focusing on training a lightweight adapter, these methods avoid the computational expense of training comprehensive models from scratch, thereby offering a more efficient pathway to enhancing LLMs' multimodal integration capabilities.
85
+
86
+ A prerequisite for implementing these frameworks is the availability of paired vision-text image data. Such datasets are essential for aligning visual and textual information, facilitating the LLMs' understanding of complex human instructions. Analogous to instruction tuning in LLMs (Wei et al., 2021), this process is commonly referred to as visual instruction tuning. Existing methods (Dai et al., 2023; Liu et al., 2023c; Peng et al., 2023; Liu et al., 2023a; Chung et al., 2022) typically construct visual instruction tuning datasets by leveraging existing datasets, extracting information such as image captions, spatial locations, and categories to form dialogues. This approach maximizes resource utilization, creating a comprehensive and efficient training dataset for multimodal LLMs.
87
+
88
+ Despite the efficiency and simplicity of this approach to dataset construction, certain limitations still persist. Existing large-scale vision-text datasets, such as LAION (Schuhmann et al., 2022) and CC (Changpinyo et al., 2021), often contain noise. Consequently, training only a subset may inadequately align visual-text features for immediate user requirements. Moreover, benchmark datasets (Changpinyo et al., 2021; Schuhmann et al., 2022; Lin et al., 2014) often exhibit a domain bias, primarily in terms of image styles. For instance, prevalent datasets such as COCO (Lin et al., 2014) predominantly feature images from everyday life, while stylized images like cartoons
89
+
90
+ are rarely represented. Additional, these vision annotations may also constrain the types of dialogues generated from them. For example, almost none of the current datasets contain data to directly enhance the model's ability to comprehend jokes presented in the images, an impressive feature of GPT-4. Moreover, as multi-image dialogues become increasingly integral to the practical application of multimodal LLMs, the current lack of comprehensive multi-image datasets further underscores the need for data enrichment in this domain.
91
+
92
+ In addressing these limitations, we propose a novel data collection approach to enhance visual instruction tuning. Building upon recent successes in generative AI, we leverage generative models to produce image-dialogue pair data for visual instruction tuning. More concretely, we employ ChatGPT to create data that includes image-generating prompts and content-based dialogues. We then utilize the text-to-image diffusion model, StableDiffusion (Rombach et al., 2022), to generate images based on these prompts. Finally, the synthesized images and generated dialogues are employed to train multimodal LLMs. Simultaneously generating both image content and dialogues enables the production of diverse training data, affording greater control over its nature and quality. This flexibility allows us to construct multi-turn dialogues and datasets involving multi-image reasoning, which are challenging to obtain from other benchmarks.
93
+
94
+ Additionally, our methodology can potentially integrate more advanced image generative models, such as Dall-E 3 (Betker et al., 2023), to provide higher-level control over image contents like specifying complex spacial relations. This advanced control could generate more complex instructions to enhance image understanding capabilities. Examples from our synthesized visual instruction tuning datasets are shown in Figure 1. Building upon the flexible pipeline outlined above, users can tailor the generation of data to enhance specific capabilities based on their task requirements. Furthermore, our method of generating both images and dialogues eliminates constraints on data volume, thereby facilitating the production for limitless scaling of the datasets.
95
+
96
+ To demonstrate the effectiveness of our proposed pipeline, we conducted extensive experiments. Our main contributions are as threefold:
97
+
98
+ - We develop a novel pipeline for generating vi
99
+
100
+ ![](images/c4bbcc49bc6380c20b2496f03218c2d8d99654647357ac7426f2aa81659d5ae1.jpg)
101
+ Figure 2: Architecture of LLaVA. We use the open-source LLaVA model as a testbed for our proposed data generation pipeline. The model is trained to predict the next tokens in the answers given the visual tokens and instruction tokens in an auto-regressive manner.
102
+
103
+ sual instruction tuning datasets by leveraging text-to-image diffusion models.
104
+
105
+ - To showcase its flexibility, we have built a dataset with various form of capabilities including multi-image data, and our results have shown improvements across all abilities.
106
+ - Extensive experimental analysis on multiple benchmarks shows the effectiveness of the proposed method, outperforming baseline and existing SOTA approaches.
107
+
108
+ # 2 Related Work
109
+
110
+ Recent research (Zhu et al., 2023; Liu et al., 2023c) efforts in multimodal Large Language Models (LLMs) have yielded promising strategies to efficiently align the embeddings of other modalities with language tokens. This has made it possible to effectively utilize pre-trained encoders from other modalities and LLMs, which effectively reduces the computational burden and training time. While there are alternative research approaches that include training-free methods leverage expert models (Wu et al., 2023; Shen et al., 2023; Yang et al., 2023a), these are not the focus of our work here.
111
+
112
+ Adapter-based LLMs represent a significant research direction, introducing methods to connect modalities through learnable interfaces with minimal training efforts. These approaches (Zhang et al., 2023b; Gao et al., 2023; Luo et al., 2023; Liu et al., 2023c; Zhu et al., 2023; Yang et al., 2023b) allow for the use of pre-trained modal encoders, reducing the need for training from scratch. Variations include direct training of projection layers for embedding alignment and the use of learnable queries for extracting modality-specific information, as seen in models like LLaVA (Liu et al., 2023c) and Flamingo (Alayrac et al., 2022). Innovations such as the LLaMA-Adapter (Zhang et al.,
113
+
114
+ 2023b) and LaVIN (Luo et al., 2023) have introduced lightweight and mixed-modality adapters, respectively, enhancing the field's diversity.
115
+
116
+ Visual instruction tuning datasets are crucial for training multimodal LLMs, focusing on aligning modalities and enabling instruction following. Most existing methods (Liu et al., 2023c; Rotstein et al., 2023; Li et al., 2023a; Yin et al., 2023; Li et al., 2023c; Liu et al., 2023a; Zhang et al., 2023c) rely on benchmark datasets for constructing visual instruction tuning datasets, which may be limited by the fixed categories in annotations. Our method leverages well-trained image generation models to produce controllable image data, enhancing multimodal LLM capabilities and allowing for the integration of advanced generative models for specific guidance forms, offering a more flexible and diverse approach to dataset construction. Recently, the concept of employing synthesized multimodal datasets has been extended to the training of models for chart and video understanding (Han et al., 2023; Song et al., 2024), showcasing its broad applicability and potential in advancing model training across various domains.
117
+
118
+ # 3 Preliminary
119
+
120
+ To assess the effectiveness of our data generation strategy, we chose the open-sourced LLaVA (Liu et al., 2023c,b) as our multimodal LLM model. It should be noted that our pipeline is model-agnostic, making it applicable for various models. This section serves as a foundation, briefly summarizing the LLaVA model's design and training methods to prepare for a thorough exploration of our pipeline. The reader may refer to the original publication (Liu et al., 2023c) for detail.
121
+
122
+ Architecture. The LLaVA model integrates Vicuna-13B (Chiang et al., 2023) as the language model with a pre-trained CLIP visual encoder ViT-L/14 (Radford et al., 2021) for extracting visual
123
+
124
+ ![](images/1e06873223bc968bc28bd0c96d52e978d2967a86cc83db0d831353e9a56f0314.jpg)
125
+ Figure 3: Our proposed pipeline for generating visual instruction tuning datasets. We instruct ChatGPT to generate both StableDiffusion prompts and the associated dialogues. For specific generation templates, please refer to the supplementary materials.
126
+
127
+ features, transforming these features into language embedding tokens through a linear layer. This linear layer was updated in LLaVA-1.5 (Liu et al., 2023b) with a two-layer MLP, replacing Vicuna-13B with Vicuna-13B-v1.5 and increasing input image size to $336 \times 336$ . A detailed illustration of this model structure can be found in Figure 2.
128
+
129
+ Training and datasets. LLaVA's training focuses on visual instruction tuning with data triplets: images, questions, and answers, aiming for predictive accuracy in an autoregressive manner. The training comprises two stages: the first emphasizes modality alignment using 595K image-text pairs, optimizing the linear layer with static visual encoder and LLM weights. The second stage, using 158K multimodal dialogue data from COCO, extends optimization to the LLM's weights for comprehensive modality integration. LLaVA-1.5 further enriches the dataset by incorporating additional data like Region-level VQA (Kazemzadeh et al., 2014; Krishna et al., 2017; Mao et al., 2016) and GQA (Hudson and Manning, 2019), expanding the second-stage dataset to 665K examples.
130
+
131
+ # 4 Methods
132
+
133
+ This section outlines our dual-generation approach for creating visual instruction tuning datasets, which synthesizes images and their corresponding dialogues, as illustrated in Figure 3. We detail each component below.
134
+
135
+ # 4.1 Image Generation
136
+
137
+ We employ StableDiffusion (Rombach et al., 2022) to generate images based on prompts that include weighted keywords reflecting aspects like subject, scene, style, and visual elements such as image quality and lighting. Keywords at the prompt's
138
+
139
+ start are prioritized, with the possibility of adding emphasis using brackets. To encourage diversity and stability during image generation, we add capability-specific instructions and cautions during prompting ChatGPT. For instance, in the task of generating images for joke understanding, we direct ChatGPT to create prompts that would result in the generation of abnormal images, like a "giraffe walking through a narrow corridor", which are unlikely to be found in reality. When generating multi-image data, pairs of prompts can be generated concurrently based on predefined specific criteria. For maximum effect, we ensure that the most crucial keywords are placed at the beginning of the generated prompts, which are double-bracketed for additional emphasis. Furthermore, we instruct ChatGPT to avoid generating prompts that are non-visual, such as the act of growing. The instruction template for prompt generation is provided in the left part of Figure 4. The generated prompts are then used with StableDiffusion to produce visually realistic images, which are subsequently encoded by LLaVA's vision encoder into visual tokens for LLMs.
140
+
141
+ # 4.2 Dialogue Generation
142
+
143
+ Following the generation of images, we utilize ChatGPT to generate dialogues based on the same prompts used for image synthesis, aligning with LLaVA's training objectives: the first stage focuses on aligning visual-text data, and the second on processing diverse instructions. Dialogues for the initial stage describe the images, where ChatGPT generates answers to predefined questions about the images' content. Taking the example of the "giraffe walking through a narrow corridor", a representative dialogue might be: "Question: What
144
+
145
+ ![](images/1cd63202abd9e038cc74fb76b5f16a615389751d69f1e3ed0173ceb6f038d147.jpg)
146
+ Figure 4: Templates for guiding ChatGPT to generate StableDiffusion prompts (left) and dialogues (right). Content in red represents ability-specific information. We only provide an example template for constructing dialogues regarding a single image in this figure. For additional forms of data, such as multi-image reasoning and multi-turn dialogues, please refer to our supplementary materials.
147
+
148
+ # ChatGPT for SD prompt Genera
149
+
150
+ As an AI visual assistant specializing in prompt design, your task is to create prompts for a text-to-image generator related to the [Ability] keywords.
151
+
152
+ # Requirements for prompt generation
153
+
154
+ The prompts should consist of keywords separated by commas, optionally encompassing a wide range of terms, such as subjects (e.g., animals, humans, plants, vehicles), scenes (e.g., forest, beach, space station, castle), styles (e.g., realistic, abstract, impressionist, anime), and visual features (e.g., glowing, shiny, detailed shading, soft light, dramatic lighting, volumetric light, mysterious, vibrant, dreamy). Additionally, keywords like 'Details, intricate, highly detailed, fine carvings, 4k, 8k, high resolution' can be used to enhance image details. The images' content should always be logical and sensible. [Ability-specific requirements]
155
+
156
+ # Requirements for outputs
157
+
158
+ [You can customize the output format according to your needs.]
159
+
160
+ # Examples
161
+
162
+ You may choose the keywords from these examples: [Ability-specific keywords that are separately generated]
163
+
164
+ Illustrated outputs are shown below: Prompt: [Ability-specific Prompt Examples]
165
+
166
+ ![](images/05b11d140212f374bd76ea53d97758dde7d5ee9be097cf6da22828b55d88a45c.jpg)
167
+
168
+ # ChatGPT for Dialogue Generation
169
+
170
+ As an AI visual assistant specializing in dialogue design, your task is to design dialogues based on the images generated by text-to-image generation models. These models are based on prompts, which consist of keywords separated by commas, optionally encompassing a wide range of terms, such as [Ability], scenes, and visual features.
171
+
172
+ # Requirements for dialogue generation
173
+
174
+ I need you to initiate dialogues based on the given prompts I provided to you. Upon receiving the prompts, your objective is to generate relevant questions about the keywords enclosed in double brackets. Make sure to diversify your questions. Clarity and precision are essential in both your questions and responses. The answers should strictly adhere to the questions and the given prompt, avoiding any nonsensical content. For each prompt, create distinct question-answer pair. To increase the complexity of the dialogue, you may introduce misleading either-or questions.
175
+
176
+ # Requirements for outputs
177
+
178
+ [You can customize the output format according to your needs]
179
+
180
+ # Examples
181
+
182
+ [You can set some examples for ChatGPT to refer to]
183
+
184
+ Illustrated outputs are shown below:
185
+
186
+ Prompt: [Ability-specific Prompt Examples]
187
+
188
+ Question: [Ability-specific Question Examples]
189
+
190
+ Response: [Ability-specific Response Examples]
191
+
192
+ is unusual in the image? Response: In reality, a giraffe is too tall and big to walk through a narrow home corridor." The detailed instruction template for dialogue generation is shown in the right part of Figure 4.
193
+
194
+ For the second stage, dialogues aim to enhance reasoning across multiple images, addressing similarities, differences, and logical connections, and include multi-turn dialogues that blend image and text. We guide ChatGPT to produce a range of question types, steering clear of inherently ambiguous questions to ensure clarity and accuracy, detailed template can be found in the supplementary materials.
195
+
196
+ # 4.3 In-Context Examples
197
+
198
+ ChatGPT's in-context learning capability, which allows it to grasp the essence of tasks from a few examples, is leveraged in our methodology. We incorporate in-context examples in the generation of StableDiffusion prompts and dialogues to enhance this learning process. During the data generation process, we observed that ChatGPT sometimes produced a lack of diversity. For example, when generating colors, the outputs frequently revolved around common color categories. To overcome this, we in-
199
+
200
+ dependently generate ability-related keywords such as color categories with ChatGPT, and utilize them as a reference during the prompting process. This additional step promotes a more diverse range of prompts, thereby enriching our visual instruction tuning dataset.
201
+
202
+ We further adopt a dynamic strategy to maintain and increase diversity: periodically substituting a portion of the original in-context examples with newly generated data. This continuous update prevents over-repetition and ensures the dataset's comprehensiveness and representativeness, maintaining a balance that contributes to a richer and more diverse visual instruction tuning dataset.
203
+
204
+ # 4.4 Data Filtering Mechanism
205
+
206
+ To augment the quality and diversity of generated dataset, we introduced a data filtering mechanism. This mechanism encompasses several key aspects:
207
+
208
+ - Repetition Rate Filtering Initially, we filter the generated dataset based on the repetition rate of the extracted prompts. The selected prompts are subsequently utilized to generate corresponding images and dialogues, ensuring novelty and reducing redundancy.
209
+ - Length-based Filtering We keep prompts
210
+
211
+ ![](images/31eab6b5a095e011d635afc14378addcb2946ccbeb63c2f7556cc2a3aa1e4fd0.jpg)
212
+ Figure 5: Left: Results on evaluation benchmarks for various abilities (GPT-4 score). Right: Comparison of various subcategories on MMBench (Liu et al., 2023d) with the baseline (Accuracy). Our model outperforms the baselines on both benchmark datasets.
213
+
214
+ ![](images/a2acd7abafa96fbd0dd7508a2c263f9ce9b7eee1a6c9ab5d674b78b0f6b0c1b0.jpg)
215
+
216
+ short, with no more than ten keywords, to make sure they're clear and focused. Long prompts can make it hard for model to create accurate images. We also limit dialogues to 500 characters to keep responses concise.
217
+
218
+ - Task-Specific Restrictions For certain categories, we implemented restrictions based on specific attributes of the capabilities. For example, when generating content related to construction workers, the model tended to focus on buildings. To address this, additional human attributes were incorporated into the prompts to ensure a more accurate prompt.
219
+ - Alignment Check To ensure a high degree of alignment between generated images and dialogues, we employ the CLIP (Radford et al., 2021) model to compute matching scores for both texts and images. Data entries with scores exceeding a predefined threshold, set at $\gamma = 0.25$ , are retained, thereby filtering out less relevant matches and elevating the overall data quality.
220
+
221
+ # 5 Experiments
222
+
223
+ In this section, we detail the experiments conducted to validate the effectiveness of our novel data collection approach for visual instruction tuning. We describe the training datasets, evaluation strategy, and both quantitative and qualitative outcomes.
224
+
225
+ # 5.1 Training Datasets
226
+
227
+ We generate a diverse and expansive dataset to show its versatility, covering single-image capabilities from basic recognition to complex visual reasoning. This includes understanding physical attributes, life features, and man-made items, among
228
+
229
+ others, amounting to 38K image-dialogue pairs for initial training. Each ability's dataset was formulated following a standard template, illustrated in supplementary material. In addition, we also generated a dataset of 3K multi-image instances, encompassing descriptions of image similarity, difference, logical relations, and multi-turn dialogue data for the second stage. These datasets, in combination with the raw LLaVA dataset, provides a comprehensive training set in our experiments.
230
+
231
+ # 5.2 Evaluation Metrics
232
+
233
+ Evaluation datasets. To demonstrate our performance more clearly, we tested on a series of public multi-modal datasets, including VisWiz (Gurari et al., 2018), MM-Vet (Yu et al., 2023), MME (Fu et al., 2023), and MMBench (Liu et al., 2023d).
234
+
235
+ Subsequently, we established a real-image benchmark to evaluate training effectiveness across a wide range of single-image abilities, including 330 test samples of real images with associated question-answer dialogues, carefully selected and annotated from public repositories. This comprehensive benchmark aims to rigorously test the models' single-image capabilities.
236
+
237
+ Simultaneously, we constructed a multi-image test set consisting of 30 dialogues to assess the models' performance on this specific data type. This dataset evaluates the models across differences, similarities, and reasoning relationships among the images. The test data was sourced from publicly available datasets and manually annotated.
238
+
239
+ Evaluation strategy In terms of the evaluation process, we employ different testing strategies depending on the benchmarks used.
240
+
241
+ Our evaluation approach varies with the bench
242
+
243
+ Table 1: Quantitative performance (Accuracy) on real-image evaluation benchmark for manual evaluation.
244
+
245
+ <table><tr><td>Method</td><td>Animal</td><td>Action</td><td>Color</td><td>Abnormal</td><td>Scene</td><td>Style</td><td>Food</td><td>Profession</td><td>Vehicle</td><td>Furniture</td><td>Plant</td></tr><tr><td>LLaVA</td><td>0.63</td><td>0.67</td><td>0.60</td><td>0.40</td><td>0.60</td><td>0.30</td><td>0.70</td><td>0.57</td><td>0.57</td><td>0.30</td><td>0.53</td></tr><tr><td>Ours</td><td>0.70</td><td>0.90</td><td>0.77</td><td>0.50</td><td>0.77</td><td>0.45</td><td>0.83</td><td>0.63</td><td>0.63</td><td>0.50</td><td>0.57</td></tr></table>
246
+
247
+ mark. For multimodal datasets like VizWiz (Gurari et al., 2018) and MMBench (Liu et al., 2023d), we follow official guidelines, converting test data to a compatible format for our model, and using official scripts or submission portals for assessment, primarily focusing on accuracy.
248
+
249
+ In evaluating the diverse capabilities we've generated, We adopted two evaluation methods, namely manual evaluation and evaluation based on GPT-4 score.
250
+
251
+ Initially, the participants were instructed to assess the answers produced by our model and those of the baseline for all abilities according to the label (1 for correct, 0 for incorrect), averaging these as the final metric.
252
+
253
+ Subsequently, inspired by (Chiang et al., 2023; Liu et al., 2023c), we leverage GPT-4 (OpenAI, 2023) to assist in scoring model outputs. We have established six scoring levels, ranging from 0 to 5. Each score level is accompanied by detailed descriptions of the evaluation criteria, and we assist GPT-4 in better assessment by providing a series of scoring examples. In particular, a score of 0 indicates that the predicted answer has no relevance to the reference answer, while a score of 5 signifies that the predicted answer aligns seamlessly with the annotated reference answer without any deviation. Drawing on our manual annotations, we conduct evaluations on the results produced by each model. The average GPT-4 score within each test set serves as the ultimate metric for our benchmark evaluations. The specific instruction template used for result evaluation is illustrated in supplementary material.
254
+
255
+ # 5.3 Quantitative Comparison with State-of-the-arts
256
+
257
+ Public multimodal benchmarks We perform quantitative performance comparisons against various state-of-the-art methods on different benchmarks, as illustrated in Table 2. Utilizing LLaVA-1.5-13B as the baseline, we integrate our synthesized data with its original dataset for training. Training is carried out with identical parameter configurations as LLaVA-1.5. The outcomes demonstrate substantial improvements on many benchmarks, emphasizing the enhanced performance
258
+
259
+ Table 2: Quantitative comparison with other state-of-the-arts methods on multiple multimodal benchmarks. We achieve state-of-the-art performance on four benchmarks.
260
+
261
+ <table><tr><td>Method</td><td>VisWiz</td><td>MM-Vet</td><td>MME</td><td>MMB</td></tr><tr><td>BLIP2 (Li et al., 2023b)</td><td>19.6</td><td>22.4</td><td>1293.8</td><td>-</td></tr><tr><td>InstructBLIP (Dai et al., 2023)</td><td>33.4</td><td>25.6</td><td>1212.8</td><td>-</td></tr><tr><td>IDEFICS-9B (IDEFICS, 2023)</td><td>35.5</td><td>-</td><td>-</td><td>48.2</td></tr><tr><td>IDEFICS-80B</td><td>36.0</td><td>-</td><td>-</td><td>54.5</td></tr><tr><td>Qwen-VL (Bai et al., 2023)</td><td>35.2</td><td>-</td><td>-</td><td>38.2</td></tr><tr><td>Qwen-VL-Chat</td><td>38.9</td><td>-</td><td>1487.5</td><td>60.6</td></tr><tr><td>LLaVA-1.5 (Liu et al., 2023b)</td><td>53.6</td><td>35.4</td><td>1531.3</td><td>67.7</td></tr><tr><td>Ours</td><td>58.4</td><td>36.1</td><td>1532.3</td><td>69.4</td></tr></table>
262
+
263
+ Table 3: Quantitative results (GPT-4 score) on the multi-image benchmark. After the addition of multi-image data, various multi-image capabilities have significantly improved.
264
+
265
+ <table><tr><td>Method</td><td>Difference</td><td>Similarity</td><td>Logical relations</td><td>Average</td></tr><tr><td>LLaVA</td><td>2.7</td><td>2.2</td><td>3.1</td><td>2.67</td></tr><tr><td>Ours</td><td>3.6</td><td>2.8</td><td>3.7</td><td>3.37</td></tr></table>
266
+
267
+ achieved by our approach.
268
+
269
+ Comparison of various abilities. To validate the effectiveness of our generated data, we conducted comprehensive tests on distinct capabilities, employing both manual evaluation and GPT-4 score assessments. Employing LLaVA-13B as our baseline, the quantitative comparison of the baseline results and ours for manual evaluation are shown in Table 1, while the GPT-4 score assessment results are shown in the left part of Figure 5. Notably, our trained model consistently outperforms the LLaVA-13B baseline across all various capabilities on two metrics, which suggests the synthesized datasets' generalizability and our pipeline's robustness.
270
+
271
+ Besides, we conduct a comparison of subcategory performance on MMBench to better validate our superiority, using the LLaVA-1.5-13B as the baseline. The tested subcategories in MMBench encompass six aspects: attribute reasoning (AR), coarse perception (CP), fine-grained perception (cross-instance) (FP-C), fine-grained perception (instance-level) (FP-S), logic reasoning (LR), and relation reasoning (RR). The final results are shown in the right part of Figure 5, indicating better performance of subcategory on MMBench, which also attests to the high quality of our generated data.
272
+
273
+ Comparison on multi-image benchmark In order to validate the effectiveness of multi-image
274
+
275
+ Q: "Are there any disparities between these two images?"
276
+
277
+ LLaVA: "Yes, there is a disparity between the two pictures. In the first picture, the car is parked on the side of the road, and the image is in black and white. In the second picture, the car is parked on the side of the road, but this time, it is in color. The car is an orange sports car, and it is parked in front of a building. The presence of the building and the color of the car in the second picture suggest that it is a different scene from the first black and white image."
278
+
279
+ Ours: "The two images showcase different aspects of automotive design. The first image features a classic car with a shiny, yellow paint job, chrome rims, and a powerful engine. The car's sleek lines and bold color make it a standout on the road. In contrast, the second image showcases a more minimalist approach, with a simple black car that exudes elegance and sophistication. The car's smooth lines and understated design make it a timeless and versatile choice for any occasion."
280
+
281
+ ![](images/f3396f9c3aa2a00a6f401159c0d47017345b75b1157e826a8a274c4a7fd831db.jpg)
282
+
283
+ Q: "Are there any implications about the relationship between the two pictures that we can derive?"
284
+
285
+ LLaVA: "The two pictures, one showing a man holding a bundle of hay and the other showing a man standing in a field of hay, can be seen as complementary images that depict the same scene or activity. The man in the first picture is actively engaged in the process of harvesting hay, while the man in the second picture is standing in the field of hay, possibly observing the harvesting process or taking a break. The two images together provide a comprehensive view of the harvesting activity, illustrating the different stages and aspects of the process."
286
+
287
+ ![](images/8e397eb1cf7b2b4ff2eac2708c421a10658879a2bc85d072dbe2c748963f7674.jpg)
288
+
289
+ Ours: "The two pictures, one showing a man holding a bundle of straw and the other showing a man riding a tractor in a field, suggest a connection between agricultural activities and the use of modern machinery in farming. The man holding the straw could be involved in harvesting the crops, while the man riding the tractor might be responsible for plowing, planting, or other field tasks. The presence of both traditional and modern farming equipment in the images highlights the evolution of agriculture and the integration of technology to improve efficiency and productivity in farming. This connection between the two pictures implies that the man in the field is likely involved in various aspects of crop cultivation from manual labor like harvesting to utilizing machinery for more efficient and time-saving tasks."
290
+
291
+ ![](images/a1ae703d7519e62f9bb4628bb477d50a10381f8e3be6a830766fdb87eb47b00e.jpg)
292
+
293
+ Q: "What do these two images have in common?"
294
+
295
+ LLaVA: "The two images share a common theme of tea being served in a cup. In both images, there is a cup filled with tea, and a person is holding the cup. The main difference between the two images is the setting and the presence of additional items. In the first image, the cup of tea is placed on a wooden table, and there is a spoon in the cup. In the second image, the cup of tea is placed on a wooden table, and there is a bowl of soup next to it. The person holding the cup is the same in both images, and their hand is visible, indicating that they are about to drink the tea."
296
+
297
+ ![](images/0f2a402bbc61d0ffce356ce898b079069fc49eb17e302768b39457b098294b95.jpg)
298
+
299
+ Ours: "The common theme in these two images is the appreciation and enjoyment of a hot / beverage. The first image showcases the aroma and warmth of a cup of coffee, while the second image highlights the soothing experience of a hot cup of tea. Both beverages are popular choices for relaxation and comfort, offering a moment of respite from daily stressors."
300
+
301
+ ![](images/e6b951914474b97d8e884d17262c5c16198cc59a9a3be254483cf98509620662.jpg)
302
+ Figure 6: Comparison of the results generated by LLaVA and our trained model. Content in red represents inaccurate information. Our model can better adhere to question instructions, rendering more precise answers.
303
+
304
+ capabilities, we manually curated a benchmark of real images. The evaluation metric used was the GPT-4 score mentioned. We used LLaVA-13B as the baseline and incorporated multi-image data in the second training phase. Since LLaVA itself lacks the capability for multi-image input, we modified the testing code for LLaVA to enable it to accept multiple sets of images simultaneously. The comparison with LLaVA results is shown in the Table 3, indicating a notable improvement across various multi-image capabilities despite adding less multi-image data in the process.
305
+
306
+ # 5.4 Qualitative Results
307
+
308
+ Supplementing the quantitative analysis, we provide a qualitative comparison between our model's results and LLaVA-13B in Figure. 6 on multi-image data. Our model exhibits a heightened ability to adhere to question instructions, rendering more precise answers.
309
+
310
+ We compare our approach with the LLaVA-13B baseline, revealing its limitations: it struggles to differentiate between multi-image contents and
311
+
312
+ provides incomplete answers to questions. Our method, incorporating multi-image data, enhances the model's understanding of multiple images, demonstrating its effectiveness. Additional qualitative results will be included in the supplementary materials.
313
+
314
+ # 6 Conclusion and Future Work
315
+
316
+ In the rapidly evolving realm of Large Language Models, efficiently integrating multimodal information is a key research focus. In this study, we introduced an innovative data collection method to enhance visual instruction tuning for multimodal models. Compared to existing strategies, our approach uniquely combines image and dialogue generation, effectively addressing limitations found in benchmark datasets. By carefully crafting instruction templates, our method ensures high-quality training data covering a broad range of crucial capabilities for multimodal models and users can generate customized data based on their specific requirements.
317
+
318
+ Our research opens avenues for exploration.
319
+
320
+ Moving forward, we aim to leverage advanced generative models to enhance model abilities, including spatial comprehension and fine-grained recognition. With promising results from our dual-generation method, forward-thinking data collection techniques are poised to play a significant role in the future of LLM research.
321
+
322
+ # 7 Limitations
323
+
324
+ Due to constraints in text-to-image models like stable diffusion, generating certain data types, such as text-rich images and tables, is not effective in the current pipeline. We anticipate these constraints will be addressed with ongoing advancements in text-to-image generation techniques.
325
+
326
+ # 8 Ethics Statement
327
+
328
+ Our method leverages generative models to create synthetic images and dialogues. It is imperative to ensure that the generated content does not perpetuate or amplify biases present in existing datasets or societal prejudices. We have implemented data filtering mechanism to minimize the generation of potentially harmful or biased content. However, continuous vigilance and improvement of these filters are necessary as generative models evolve.
329
+
330
+ The enhanced capabilities of multimodal LLMs, facilitated by our data generation approach, could potentially be misused for creating deceptive or manipulative content. It is crucial to develop and adhere to guidelines that prevent the misuse of such technology, including transparent disclosure of synthetic content's nature and purpose.
331
+
332
+ # 9 Acknowledgements
333
+
334
+ This project is particularly supported by ARC DP210101347 and DP240101349.
335
+
336
+ # References
337
+
338
+ Jean-Baptiste Alayrac, Jeff Donahue, Pauline Luc, Antoine Miech, Iain Barr, Yana Hasson, Karel Lenc, Arthur Mensch, Katherine Millican, Malcolm Reynolds, et al. 2022. Flamingo: a visual language model for few-shot learning. Advances in Neural Information Processing Systems, 35:23716-23736.
339
+ Jinze Bai, Shuai Bai, Shusheng Yang, Shijie Wang, Sinan Tan, Peng Wang, Junyang Lin, Chang Zhou, and Jingren Zhou. 2023. Qwen-vl: A frontier large vision-language model with versatile abilities. arXiv preprint arXiv:2308.12966.
340
+
341
+ James Betker, Gabriel Goh, Li Jing, Tim Brooks, Jianfeng Wang, Linjie Li, Long Ouyang, Juntang Zhuang, Joyce Lee, Yufei Guo, Wesam Manassra, Prafulla Dhariwal, Casey Chu, and Yunxin Jiao. 2023. Dall-e 3: Bridging vision and language with few-shot image generation.
342
+ Soravit Changpinyo, Piyush Sharma, Nan Ding, and Radu Soricut. 2021. Conceptual $12\mathrm{m}$ : Pushing web-scale image-text pre-training to recognize long-tail visual concepts. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 3558-3568.
343
+ Wei-Lin Chiang, Zhuohan Li, Zi Lin, Ying Sheng, Zhanghao Wu, Hao Zhang, Lianmin Zheng, Siyuan Zhuang, Yonghao Zhuang, Joseph E Gonzalez, et al. 2023. Vicuna: An open-source chatbot impressing gpt-4 with $90\%$ * chatgpt quality. See https://vicuna.lmsys.org (accessed 14 April 2023).
344
+ 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.
345
+ W. Dai, J. Li, D. Li, A. M. H. Tiong, J. Zhao, W. Wang, B. Li, P. Fung, and S. Hoi. 2023. Instructclip: Towards general-purpose vision-language models with instruction tuning. 2, 3, 4, 5, 6.
346
+ Chaoyou Fu, Peixian Chen, Yunhang Shen, Yulei Qin, Mengdan Zhang, Xu Lin, Zhenyu Qiu, Wei Lin, Jinrui Yang, Xiawu Zheng, et al. 2023. Mme: A comprehensive evaluation benchmark for multimodal large language models. arXiv preprint arXiv:2306.13394.
347
+ Peng Gao, Jiaming Han, Renrui Zhang, Ziyi Lin, Shijie Geng, Aojun Zhou, Wei Zhang, Pan Lu, Conghui He, Xiangyu Yue, et al. 2023. Llama-adapter v2: Parameter-efficient visual instruction model. arXiv preprint arXiv:2304.15010.
348
+ Danna Gurari, Qing Li, Abigale J Stangl, Anhong Guo, Chi Lin, Kristen Grauman, Jiebo Luo, and Jeffrey P Bigham. 2018. Vizwiz grand challenge: Answering visual questions from blind people. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 3608-3617.
349
+ Yucheng Han, Chi Zhang, Xin Chen, Xu Yang, Zhibin Wang, Gang Yu, Bin Fu, and Hanwang Zhang. 2023. Chartlama: A multimodal llm for chart understanding and generation. arXiv preprint arXiv: 2311.16483.
350
+ Drew A Hudson and Christopher D Manning. 2019. Gqa: A new dataset for real-world visual reasoning and compositional question answering. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pages 6700-6709.
351
+ IDEFICS. 2023. Introducing idefics: An open reproduction of state-of-the-art visual language model.
352
+
353
+ Sahar Kazemzadeh, Vicente Ordonez, Mark Matten, and Tamara Berg. 2014. Referitgame: Referring to objects in photographs of natural scenes. In Proceedings of the 2014 conference on empirical methods in natural language processing (EMNLP), pages 787-798.
354
+ Ranjay Krishna, Yuke Zhu, Oliver Groth, Justin Johnson, Kenji Hata, Joshua Kravitz, Stephanie Chen, Yannis Kalantidis, Li-Jia Li, David A Shamma, et al. 2017. Visual genome: Connecting language and vision using crowdsourced dense image annotations. International journal of computer vision, 123:32-73.
355
+ Bo Li, Yuanhan Zhang, Liangyu Chen, Jinghao Wang, Fanyi Pu, Jingkang Yang, Chunyuan Li, and Ziwei Liu. 2023a. Mimic-it: Multi-modal in-context instruction tuning. arXiv preprint arXiv:2306.05425.
356
+ Junnan Li, Dongxu Li, Silvio Savarese, and Steven Hoi. 2023b. Blip-2: Bootstrapping language-image pretraining with frozen image encoders and large language models. arXiv preprint arXiv:2301.12597.
357
+ Lei Li, Yuwei Yin, Shicheng Li, Liang Chen, Peiyi Wang, Shuhuai Ren, Mukai Li, Yazheng Yang, Jingjing Xu, Xu Sun, et al. 2023c. M3 it: A large-scale dataset towards multi-modal multilingual instruction tuning. arXiv preprint arXiv:2306.04387.
358
+ Tsung-Yi Lin, Michael Maire, Serge Belongie, James Hays, Pietro Perona, Deva Ramanan, Piotr Dólar, and C Lawrence Zitnick. 2014. Microsoft coco: Common objects in context. In Computer Vision-ECCV 2014: 13th European Conference, Zurich, Switzerland, September 6-12, 2014, Proceedings, Part V 13, pages 740-755. Springer.
359
+ Fuxiao Liu, Kevin Lin, Linjie Li, Jianfeng Wang, Yaser Yacoob, and Lijuan Wang. 2023a. Aligning large multi-modal model with robust instruction tuning. arXiv preprint arXiv:2306.14565.
360
+ Haotian Liu, Chunyuan Li, Yuheng Li, and Yong Jae Lee. 2023b. Improved baselines with visual instruction tuning. arXiv preprint arXiv:2310.03744.
361
+ Haotian Liu, Chunyuan Li, Qingyang Wu, and Yong Jae Lee. 2023c. Visual instruction tuning. arXiv preprint arXiv:2304.08485.
362
+ Yuan Liu, Haodong Duan, Yuanhan Zhang, Bo Li, Songyang Zhang, Wangbo Zhao, Yike Yuan, Jiaqi Wang, Conghui He, Ziwei Liu, et al. 2023d. Mmbench: Is your multi-modal model an all-around player? arXiv preprint arXiv:2307.06281.
363
+ Gen Luo, Yiyi Zhou, Tianhe Ren, Shengxin Chen, Xiaoshuai Sun, and Rongrong Ji. 2023. Cheap and quick: Efficient vision-language instruction tuning for large language models. arXiv preprint arXiv:2305.15023.
364
+ Junhua Mao, Jonathan Huang, Alexander Toshev, Oana Camburu, Alan L Yuille, and Kevin Murphy. 2016.
365
+
366
+ Generation and comprehension of unambiguous object descriptions. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 11-20.
367
+ OpenAI. 2023. Chatgpt. https://openai.com/blog/chatgpt/.1,2.
368
+ OpenAI. 2023. Gpt-4 technical report. arXiv, pages 2303-08774.
369
+ Baolin Peng, Chunyuan Li, Pengcheng He, Michel Galley, and Jianfeng Gao. 2023. Instruction tuning with gpt-4. arXiv preprint arXiv:2304.03277.
370
+ Alec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh, Gabriel Goh, Sandhini Agarwal, Girish Sastry, Amanda Askell, Pamela Mishkin, Jack Clark, et al. 2021. Learning transferable visual models from natural language supervision. In International conference on machine learning, pages 8748-8763. PMLR.
371
+ Robin Rombach, Andreas Blattmann, Dominik Lorenz, Patrick Esser, and Björn Ommer. 2022. High-resolution image synthesis with latent diffusion models. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pages 10684-10695.
372
+ Noam Rotstein, David Bensaid, Shaked Brody, Roy Ganz, and Ron Kimmel. 2023. Fusecap: Leveraging large language models to fuse visual data into enriched image captions. arXiv preprint arXiv:2305.17718.
373
+ Christoph Schuhmann, Romain Beaumont, Richard Vencu, Cade Gordon, Ross Wightman, Mehdi Cherti, Theo Coombes, Aarush Katta, Clayton Mullis, Mitchell Wortsman, et al. 2022. Laion-5b: An open large-scale dataset for training next generation image-text models. Advances in Neural Information Processing Systems, 35:25278-25294.
374
+ Yongliang Shen, Kaitao Song, Xu Tan, Dongsheng Li, Weiming Lu, and Yueting Zhuang. 2023. Hugginggpt: Solving ai tasks with chatgpt and its friends in huggingface. arXiv preprint arXiv:2303.17580.
375
+ Zhende Song, Chenchen Wang, Jiamu Sheng, Chi Zhang, Gang Yu, Jiayuan Fan, and Tao Chen. 2024. Moviellm: Enhancing long video understanding with ai-generated movies. arXiv preprint arXiv:2403.01422.
376
+ Jason Wei, Maarten Bosma, Vincent Y Zhao, Kelvin Guu, Adams Wei Yu, Brian Lester, Nan Du, Andrew M Dai, and Quoc V Le. 2021. Finetuned language models are zero-shot learners. arXiv preprint arXiv:2109.01652.
377
+ Chenfei Wu, Shengming Yin, Weizhen Qi, Xiaodong Wang, Zecheng Tang, and Nan Duan. 2023. Visual chatgpt: Talking, drawing and editing with visual foundation models. arXiv preprint arXiv:2303.04671.
378
+
379
+ Rui Yang, Lin Song, Yanwei Li, Sijie Zhao, Yixiao Ge, Xiu Li, and Ying Shan. 2023a. Gpt4tools: Teaching large language model to use tools via self-instruction. arXiv preprint arXiv:2305.18752.
380
+ Xu Yang, Yongliang Wu, Mingzhuo Yang, Haokun Chen, and Xin Geng. 2023b. Exploring diverse in-context configurations for image captioning.
381
+ Zhenfei Yin, Jiong Wang, Jianjian Cao, Zhelun Shi, Dingning Liu, Mukai Li, Lu Sheng, Lei Bai, Xiaoshui Huang, Zhiyong Wang, et al. 2023. Lamm: Language-assisted multi-modal instruction-tuning dataset, framework, and benchmark. arXiv preprint arXiv:2306.06687.
382
+ Weihao Yu, Zhengyuan Yang, Linjie Li, Jianfeng Wang, Kevin Lin, Zicheng Liu, Xinchao Wang, and Lijuan Wang. 2023. Mm-vet: Evaluating large multimodal models for integrated capabilities. arXiv preprint arXiv:2308.02490.
383
+ Chi Zhang, Zhao Yang, Jiaxuan Liu, Yucheng Han, Xin Chen, Zebiao Huang, Bin Fu, and Gang Yu. 2023a. Appagent: Multimodal agents as smartphone users. arXiv preprint arXiv:2312.13771.
384
+ Renrui Zhang, Jiaming Han, Aojun Zhou, Xiangfei Hu, Shilin Yan, Pan Lu, Hongsheng Li, Peng Gao, and Yu Qiao. 2023b. Llama-adapter: Efficient fine-tuning of language models with zero-init attention. arXiv preprint arXiv:2303.16199.
385
+ Yanzhe Zhang, Ruiyi Zhang, Jiumiang Gu, Yufan Zhou, Nedim Lipka, Diyi Yang, and Tong Sun. 2023c. Llavar: Enhanced visual instruction tuning for text-rich image understanding. arXiv preprint arXiv:2306.17107.
386
+ Deyao Zhu, Jun Chen, Xiaoqian Shen, Xiang Li, and Mohamed Elhoseiny. 2023. Minigpt-4: Enhancing vision-language understanding with advanced large language models. arXiv preprint arXiv:2304.10592.
387
+
388
+ # Appendix for "Enhanced Visual Instruction Tuning with Synthesized Image-Dialogue Data"
389
+
390
+ # A Training Details
391
+
392
+ During the model training phase, we employed the original LLaVA configuration as the foundation for our training process. In both stages, we utilized 8 NVIDIA V100 GPUs. To conserve GPU memory, we employed deepspeed with zero3 during model training, disabling tf32 and opting for fp16. The remaining parameters, including epochs and learning rates, were set according to the original LLaVA configuration. For specific parameter details, please refer to the original publication.
393
+
394
+ # B Multi-image Generation Template
395
+
396
+ We have illustrated the instruction template for generating multi-image data in Figure 7. To enhance the diversity of the data, we first use ChatGPT to generate a series of paired prompts. Subsequently, based on these paired prompts, we generate corresponding captions. As shown in the Figure 7, we can generate different types of data by configuring different examples and replacing similarities with difference or logical relations.
397
+
398
+ # C Interleaved multi-turn dialogues Generation Template
399
+
400
+ We present a template for generating interleaved multi-turn dialogues as Figure 8. Similar to multi-image generation, we randomly generate a series of non-repeating phases to enhance data diversity. Based on these phases, we generate interleaved multi-turn dialogues. The red sections are replaceable. In our generated dialogues, the focus is primarily on instructional content related to the use of everyday objects and recipes. Users can make specific adjustments according to their needs. Finally, the brackets part represents the prompt used for stable diffusion to generate images. During the model training process, the content within the brackets will be replaced with an image_placeholder.
401
+
402
+ # D GPT-4 Scoring Criteria
403
+
404
+ As shown in the Figure 9, we present our detailed GPT-4 scoring system. We have established a scale of 0-5 with six levels of scores, and for each score, we provide detailed evaluation criteria along with specific examples for assessment. Utilizing the
405
+
406
+ template in the Figure 9, evaluations are conducted for each model, and the average of the results is taken as the final score.
407
+
408
+ # E More qualitative Results.
409
+
410
+ We showcase more generated data as shown in the Figure 10 11, which includes various capabilities, as well as multi-image dialogues and interleaved multi-turn dialogues, to validate the effectiveness and diversity of our pipeline.
411
+
412
+ We present additional outcomes of our methodology on more real images in Figure 12. Spanning diverse capabilities like profession recognition, color categorization, or anomaly detection, our approach consistently exhibits efficacy. In particular, our method demonstrates a robust capability in discerning abnormal images.
413
+
414
+ Simultaneously, we validated our model on multi-turn interactive dialogues, and the results are shown in the Figure 13 14. It can be observed that our model can provide detailed descriptions of each step, which is attributed to the high-quality data we generated.
415
+
416
+ ![](images/71bb36b000289a58931d8f5f89864a3e1b0c176271874821298507ed8ece3c27.jpg)
417
+ Figure 7: Instruction template for multi-image data generation.
418
+
419
+ # ChatGPT for
420
+
421
+ # Paired prompt Generation
422
+
423
+ As an AI visual assistant, your responsibility is to create one pair prompt for a text-to-image generator. These models rely on prompts composed of keywords separated by commas, which can optionally cover a wide variety of terms. The core themes of the pair prompts can be varied, including animals, plants, people, vehicles, buildings, colors, and more. Paired prompts can be similar types of animals, plants, furniture, vehicles, buildings, professions, furniture, and same object in different colors etc.#
424
+
425
+ # Requirements for outputs
426
+
427
+ The final output should follow a structured format: first, print the first prompt; second, print the second prompt.
428
+
429
+ # Examples
430
+
431
+ [You can set some examples for ChatGPT to refer to.]
432
+
433
+ Illustrated outputs are shown below:
434
+
435
+ Prompt 1: [Prompt Examples]
436
+
437
+ Prompt 2: [Prompt Examples]
438
+
439
+ ![](images/4f71390be0ff8060ed5ff285c1fea1247a7283b55bcdb94e15b0c5808fee06f3.jpg)
440
+
441
+ # ChatGPT for
442
+
443
+ # Multi-image Generation
444
+
445
+ As an AI visual assistant, your responsibility is to create one caption about similarity of the given paired prompt for a text-to-image generator. You are required to describe the similarity between the two images based on the paired prompt. The caption should start from the specific content of the image, rather than simply listing a few keywords.
446
+
447
+ # Requirements for outputs
448
+
449
+ The final output should follow a structured format: first, print the first prompt; second, print the second prompt; third, print the caption.
450
+
451
+ # Examples
452
+
453
+ [You can set some examples for ChatGPT to refer to.]
454
+
455
+ Illustrated outputs are shown below:
456
+
457
+ Prompt 1: [Prompt Examples]
458
+
459
+ Prompt 2: [Prompt Examples]
460
+
461
+ Caption: [Caption Examples]
462
+
463
+ ![](images/2f4bfc79c35f7cd74169cbbe70428632da9869f09cd0f9b5299257fb712d2afe.jpg)
464
+
465
+ # ChatGPT for
466
+
467
+ # Interleaved multi-turn dialogues Generation
468
+
469
+ As an AI visual assistant, your task is to construct a multi-turn conversation in which one person teaches another person to do something step by step according to the given phrase. Then the person being taught needs to provide a current picture and then ask the other person. The picture content provided is enclosed in $\langle \langle \rangle \rangle$ Get up, inside is the content description of this image. In each step, there should be one picture content. .#
470
+
471
+ # Requirements for outputs
472
+
473
+ [You can customize the output format according to your needs.]
474
+
475
+ # Examples
476
+
477
+ [You can set some examples for ChatGPT to refer to.]
478
+
479
+ A: Can you guide me on making a sandwich? Here's a picture of my kitchen counter «A photo of a kitchen counter with various ingredients such as bread, lettuce, tomatoes, and deli meats. There's also a knife and a cutting board.».
480
+
481
+ B: Great! First, take two slices of bread from the bag on the counter.
482
+
483
+ A: I've got the bread slices. What's the next step? 《A photo of the bread slices in hand, ready to be used.》
484
+
485
+ B: Place the slices on the cutting board. Now, grab some lettuce and tomatoes.
486
+
487
+ A: Okay, I've placed the bread on the cutting board, and I have lettuce and tomatoes. What's next? «A photo of the arranged bread slices with lettuce and tomatoes on the cutting board.»
488
+
489
+ B: Add a layer of deli meat on top of the lettuce and tomatoes.
490
+
491
+ A: Done! I've added the deli meat. What's the final step? «A photo of the sandwich with layers of ingredients, ready to be enjoyed.»
492
+
493
+ B: Place the second slice of bread on top to complete your sandwich. Enjoy your meal!
494
+
495
+ Illustrated outputs are shown below:
496
+
497
+ [Interleaved multi-turn dialogues Examples]
498
+
499
+ Figure 8: Instruction template for interleave multi-turn dialogues generation.
500
+
501
+ ![](images/5f77333837bd02bd822a35f7bd21afebbe2010b20fac2808611941ce7a0a2008.jpg)
502
+ Figure 9: Score criteria based on GPT-4.
503
+
504
+ # ChatGPT
505
+
506
+ As an AI visual assistant, your ability is evaluating predicted answer based on the given question and correct answer. Now I have a predicted answer and corresponding question, and I need to compare predicted answer with the correct answer. Here's a scoring standard you can use to assess. A score of 5 indicates that the response perfectly aligns with the answer, while a score of 1 signifies that the response is entirely different from the answer.
507
+
508
+ # **Scoring Key (5-0 Point Scale)**
509
+
510
+ **Exact Correlation (5 points)**
511
+
512
+ The predicted answer strictly replicates the reference answer. It accurately perceives and elaborates on the queried element.
513
+
514
+ **Almost Exact Correlation (4 points)**
515
+
516
+ The predicted answer is not verbatim but delivers a notion akin to the reference answer.
517
+
518
+ Slight variations in phraseology exist, but the core idea remains consistent.
519
+
520
+ May neglect a minor item, but this does not incite confusion or misinterpretation.
521
+
522
+ **Moderately Accurate (3 points)**
523
+
524
+ The predicted answer captures the chief matter but may omit key details.
525
+
526
+ It could contain data or semantics that may be misguiding.
527
+
528
+ Understands the key intent but lacks exactness.
529
+
530
+ **Somewhat Accurate (2 points)**
531
+
532
+ The predicted answer is loosely related to the reference answer with conspicuous discrepancies. It correctly portrays a segment of the required details but bypasses or distorts major aspects.
533
+
534
+ Significant corrections are necessary to match this response with the reference answer.
535
+
536
+ **Barely Related (1 point)**
537
+
538
+ The predicted answer barely links to the actual object or query.
539
+
540
+ Mostly incorrect or misleading, exhibiting trivial understanding.
541
+
542
+ A viewer or user would be predominantly misguided based on this response.
543
+
544
+ **Completely Inaccurate (0 points)**
545
+
546
+ The predicted answer shares no relevance to the reference answer.
547
+
548
+ Utterly misinterprets or overlooks the queried item.
549
+
550
+ No discernible cognition of the assessment subject is evident.
551
+
552
+ ![](images/fc7634cef96c3e3c95d25843577c590310005d046a2d7cc8cb80f62576376ec2.jpg)
553
+
554
+ Prompts: "Pink flowers, butterfly, ..."
555
+
556
+ Q: "Are the flowers in the image red?"
557
+
558
+ A:"No, the flowers in the image are pink"
559
+
560
+ ![](images/24f1ceb85177b337f42e59ac386dab8b24222aa8ec68c44086a172f055f994a7.jpg)
561
+
562
+ Prompts : "penguin in the desert..."
563
+
564
+ Q:"What is interesting about this scene?"
565
+
566
+ A:Penguins are native to colder climates like Antarctica, it's abnormal to see one in a desert."
567
+
568
+ ![](images/40a1cd58a05e52b6fa35cab58d2c3486091129e7d45e0cddc16a89ba03e53dca.jpg)
569
+
570
+ Prompts: "Lunar colony, realistic ..."
571
+
572
+ Q: "What scene is depicted in the picture?"
573
+
574
+ A:"The image shows a futuristic lunar colony."
575
+
576
+ ![](images/f2c8d21b3a9ccb871ac9634671938dda6ff1fef73743ff365ca312fe60e81985.jpg)
577
+
578
+ Prompts: "Ink wash painting, temple ..."
579
+
580
+ Q: "What is the painting style of this image?"
581
+
582
+ A:"In terms of style, this picture leans towards ink wash painting."
583
+
584
+ Q: "Is there any inference to be made concerning the link between these two visuals?"
585
+
586
+ A:"The city skyline was dotted with skyscrapers, while a construction crane worked on building a new tower."
587
+
588
+ ![](images/3d24a8a80515cb333855d2892f22037a52140881c388c0896f0b3358a6e38927.jpg)
589
+
590
+ ![](images/14cb770416a7417ecc90395c8be48981f9e5fe5926c36af9d52561dd05ce82e6.jpg)
591
+
592
+ Q: "Are there any common elements between these two pictures?"
593
+
594
+ A:"The common theme between these two images is the world of automobiles, with the first image showcasing a modern, fast sports car with a sleek design that exudes speed, while the second image highlights a sturdy truck built for rugged durability. Both images capture the essence of power and performance in the automotive industry, albeit with different focuses on style and functionality."
595
+
596
+ ![](images/065d4e16fbfe0a1622f8064cdc33f179f2ea0faa0f1850e10202b858e680ae79.jpg)
597
+ Figure 10: Qualitative results: Demonstrations of diverse data we generated.
598
+
599
+ ![](images/5bd31b39d5f667d844cfb28237c58ea6f59630412a63b4716a3187a5b1981606.jpg)
600
+
601
+ Q: "Can you teach me how to bake a chocolate cake? This is a picture of my kitchen."
602
+
603
+ A: "Sure! First, preheat your oven to 350 degrees Fahrenheit."
604
+
605
+ Q: "Okay, the oven is preheating. What should I do next?"
606
+
607
+ A: "Next, mix together 2 cups of flour, 2 cups of sugar, 3/4 cup of cocoa powder, 2 teaspoons of baking powder, and 1 1/2 teaspoons of baking soda in a large bowl."
608
+
609
+ Q: "I've mixed all the dry ingredients together. What's next?"
610
+
611
+ A: "Now, add 1 cup of milk, 1/2 cup of vegetable oil, 2 eggs, and 2 teaspoons of vanilla extract to the bowl and mix until everything is well combined."
612
+
613
+ Q: "I've added all the wet ingredients and mixed everything together. What's the next step?"
614
+
615
+ A: "Grease two 9-inch round cake pans and divide the batter evenly between them."
616
+
617
+ Q: "I've greased the pans and divided the batter. What should I do next?"
618
+
619
+ A: "Bake the cakes for 30-35 minutes or until a toothpick inserted into the center comes out clean."
620
+
621
+ Q: "The cakes are in the oven. What should I do while they bake?"
622
+
623
+ A: "While the cakes bake, you can make the frosting. Melt 1/2 cup of butter and 2/3 cup of cocoa powder in a saucepan over low heat. Then, stir in 3 cups of powdered sugar and 1/3 cup of milk until the frosting is smooth."
624
+
625
+ Q: "I've made the frosting. What should I do next?"
626
+
627
+ A: "Once the cakes are done baking, let them cool completely before frosting them. Then, spread the frosting evenly over one cake layer and place the other cake layer on top. Finally, frost the top and sides of the cake."
628
+
629
+ ![](images/7730cfb25483ea5057adbea7246dfad70fd59fd731e0ad76ebac60ec33e10301.jpg)
630
+
631
+ ![](images/77ca32842dcfc8d98bd7ee238c62fc11fa6c01ca0d7a218d718035c710644664.jpg)
632
+
633
+ ![](images/3e4049146f43605688077a2e64b617b212dcdcef0cae2fdbab608903c5dd7120.jpg)
634
+
635
+ ![](images/e38dbf600a0eb9dec2247aa8dcea818722281d9afeb3192dcb41010b75a3d3e6.jpg)
636
+
637
+ ![](images/4f7705572e22583b619da0fc27f6e9c37382b8daf0c43e0944fc0832d95a9908.jpg)
638
+
639
+ ![](images/4eba4330a0d3e8b8161f23b6697548bddf965064822208b5a7d16446510bc4e2.jpg)
640
+
641
+ ![](images/094ecca7d6ce9806d320a63883ed504a6904a367b7e87952491dc9fb962b7b5a.jpg)
642
+ Figure 11: Qualitative results: Demonstrations of diverse data we generated.
643
+
644
+ ![](images/448846ac7a1691121422358212d4055f69e4f0aea563cf3efb70cd2975bf0834.jpg)
645
+
646
+ Q:"What is unusual in this image?"
647
+
648
+ R:"This image is unusual because it is a playful photo manipulation that combines a photo of a dog's face with a body of a person wearing a suit and tie. The man's head has been replaced with the dog's face, giving the appearance of a person with a dog's head wearing a suit. The image creates a humorous and unconventional visual that breaks the norm of human-like appearances."
649
+
650
+ ![](images/30ce1a086f01af541f86031424a12748cce8ff028eae24de9522caafa60d5626.jpg)
651
+
652
+ Q: "What is the person doing in the image?"
653
+
654
+ R:"The person in the image is jumping in the air near a garage door."
655
+
656
+ ![](images/86432baf81ae510868be6c9c7eca9266ee0b958fa2fbfd32e59e99f4f0e89c22.jpg)
657
+
658
+ Q:"What medium was used to create this artwork?"
659
+
660
+ R:"The medium used to create this artwork is silhouette."
661
+
662
+ ![](images/0f384888763d7b160fff89b75aa41cbb157dbbe9311233cef128be1e4ea20454.jpg)
663
+
664
+ Q:"What is the scene depicted in the image?"
665
+
666
+ R:"The image features a scenic waterfall with lush greenery around it, situated in a mountainous area."
667
+
668
+ Q:"What is the color of the four bulbs?"
669
+
670
+ R:"The colors of the four light bulbs are purple, blue, green, and yellow."
671
+
672
+ ![](images/77fcd85913b742ae33d26386ebc7a919d21e223069c7cb8d1e9bc951109f82b0.jpg)
673
+
674
+ Q: "What is the profession of the woman in front of the house?"
675
+
676
+ R:"The woman in front of the house is a firefighter. It's her job to put out fires, and she is also responsible for other emergency situations."
677
+
678
+ ![](images/8b5f08740077caa66d63793ac0328f352dfc793c15a4dd5e96ff5050523ff150.jpg)
679
+
680
+ Q:"What kind of vehicle is seen in the image?"
681
+
682
+ R:"There is a sailboat on the ocean, sailing on the water."
683
+
684
+ ![](images/79d50d377c196b3415f5ba78b158c19b401d7bf325f9a1a3eaf710c6aeb72359.jpg)
685
+
686
+ Q:"What stands out as abnormal in this image?"
687
+
688
+ R:"This image features a bicycle parked on a sidewalk, with an unusual twist: the bike has a giant watermelon wheel instead of a traditional tire. This is not something you see every day and makes the scene quite unique and visually intriguing."
689
+
690
+ ![](images/62d5cfe8aa4c24ac87cf2b68e76123031908504a4011d317f6a7f47a950e5708.jpg)
691
+ Figure 12: Qualitative results: Demonstrations of our method's effectiveness across diverse real-world image scenarios.
692
+
693
+ Q: "Can you teach me how to tie a necktie? here's a picture of the tie I want to wear."
694
+
695
+ Ours-A: "Of course! I'd be happy to help you learn how to tie a necktie. First, Start by holding the tie with the wide end facing upwards and cross the wide end over the narrow end, creating an X shape."
696
+
697
+ Q: "Okay, I've done it. What's the next step?"
698
+
699
+ Ours-A: "Next, bring the wide end of the tie under the narrow end, and then wrap it around the collar of your shirt."
700
+
701
+ Q: "Alright, what's next?"
702
+
703
+ Ours-A: "Next, bring the wide end of the tie up over the narrow end, and then tuck it under the narrow end. This will create a loop."
704
+
705
+ Q: "Got it, I've made the loop, then what should I do, tell me last step?"
706
+
707
+ Ours-A: "Great job! Now, take the wide end of the tie and bring it up through the loop you just d. Then, tuck the wide end under the narrow end of the tie, and finally, adjust the tie to the desired length and position. You should now have a perfectly tied necktie!"
708
+
709
+ ![](images/e1498bbe043370ac4d0ce1a421bf07688c8127ea6f286e2fd16c8af0cbb3b425.jpg)
710
+
711
+ ![](images/62b10bbc4d2ef696b6b165d0a89d921a16070a363ff7607a480e7b6aef59e0c8.jpg)
712
+
713
+ ![](images/4c37f8b406b39553b70743dd82633746ed19fc86d437c7eac070ef2362748a7a.jpg)
714
+
715
+ ![](images/698b65e91a6701b0e24c92936ffc466b93032e0330e9f6c36f9eaad8246935a1.jpg)
716
+ Figure 13: Qualitative results: Demonstrations of our method's effectiveness across interleaved multi-turn dialogues.
717
+
718
+ Q: "Can you teach me how to brew a cup of robust Turkish coffee? This is a picture of my kitchen."
719
+
720
+ Ours-A: "Sure! First, fill the bottom of the Turkish coffee pot with cold water and place it on the stove."
721
+
722
+ Q: "Ok, I've done that. What's next?"
723
+
724
+ Ours-A: "Next, add a teaspoon of coffee to the pot and place it on the stove. Turn the heat to medium and let it boil for about 30 seconds. Once it starts to boil, remove the pot from the heat and let it sit for a few seconds."
725
+
726
+ Q: "Got it, what's next?"
727
+
728
+ Ours-A: "Finally, add a teaspoon of sugar to the pot and stir it in, pour the coffee into a small cup and enjoy!"
729
+
730
+ ![](images/9ead6514fba17eaf164b49abd39d32850ad2ce53368cee14aba3487e465c3786.jpg)
731
+
732
+ ![](images/4ac49c191d0ce57e76d017f0f220e72708ae548dd7e04b37ea10338562b89c64.jpg)
733
+
734
+ ![](images/6b53274463afd610fca32a56fe6ebc062cc726bead44151820ab5d5536ee6b93.jpg)
735
+ Figure 14: Qualitative results: Demonstrations of our method's effectiveness across interleaved multi-turn dialogues.
2024/Enhanced Visual Instruction Tuning with Synthesized Image-Dialogue Data/images.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c3d59636211105291df8ffcbf7213100225ecd385fc2af3cc1e6c84b452d8033
3
+ size 507821
2024/Enhanced Visual Instruction Tuning with Synthesized Image-Dialogue Data/layout.json ADDED
The diff for this file is too large to render. See raw diff
 
2024/Enhancing Adverse Drug Event Detection with Multimodal Dataset_ Corpus Creation and Model Development/5f2bd2d8-1c47-4ff0-bd6b-5d72a8900ae6_content_list.json ADDED
@@ -0,0 +1,1716 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "type": "text",
4
+ "text": "Enhancing Adverse Drug Event Detection with Multimodal Dataset: Corpus Creation and Model Development",
5
+ "text_level": 1,
6
+ "bbox": [
7
+ 147,
8
+ 86,
9
+ 852,
10
+ 127
11
+ ],
12
+ "page_idx": 0
13
+ },
14
+ {
15
+ "type": "text",
16
+ "text": "Pranab Sahoo<sup>1</sup>, Ayush Kumar Singh<sup>1</sup>, Sriparna Saha<sup>1</sup>, Aman Chadha<sup>2,3*</sup>, Samrat Mondal<sup>1</sup>",
17
+ "bbox": [
18
+ 110,
19
+ 139,
20
+ 892,
21
+ 156
22
+ ],
23
+ "page_idx": 0
24
+ },
25
+ {
26
+ "type": "text",
27
+ "text": "$^{1}$ Department of Computer Science And Engineering, Indian Institute of Technology Patna",
28
+ "bbox": [
29
+ 141,
30
+ 156,
31
+ 865,
32
+ 174
33
+ ],
34
+ "page_idx": 0
35
+ },
36
+ {
37
+ "type": "text",
38
+ "text": "$^{2}$ Stanford University, $^{3}$ Amazon GenAI",
39
+ "bbox": [
40
+ 341,
41
+ 179,
42
+ 657,
43
+ 197
44
+ ],
45
+ "page_idx": 0
46
+ },
47
+ {
48
+ "type": "text",
49
+ "text": "pranab_2021cs25@iitp.ac.in, ayush_2211ai27@iitp.ac.in, sriparna@iitp.ac.in, samrat@iitp.ac.in hi@aman.ai",
50
+ "bbox": [
51
+ 78,
52
+ 199,
53
+ 927,
54
+ 224
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": "The mining of adverse drug events (ADEs) is pivotal in pharmacovigilance, enhancing patient safety by identifying potential risks associated with medications, facilitating early detection of adverse events, and guiding regulatory decision-making. Traditional ADE detection methods are reliable but slow, not easily adaptable to large-scale operations, and offer limited information. With the exponential increase in data sources like social media content, biomedical literature, and Electronic Medical Records (EMR), extracting relevant ADE-related information from these unstructured texts is imperative. Previous ADE mining studies have focused on text-based methodologies, overlooking visual cues, limiting contextual comprehension, and hindering accurate interpretation. To address this gap, we present a MultiModal Adverse Drug Event (MMADE) detection dataset, merging ADE-related textual information with visual aids. Additionally, we introduce a framework that leverages the capabilities of LLMs and VLMs for ADE detection by generating detailed descriptions of medical images depicting ADEs, aiding healthcare professionals in visually identifying adverse events. Using our MMADE dataset, we showcase the significance of integrating visual cues from images to enhance overall performance. This approach holds promise for patient safety, ADE awareness, and healthcare accessibility, paving the way for further exploration in personalized healthcare. The code and dataset used in this work are publicly available<sup>1</sup>.",
73
+ "bbox": [
74
+ 144,
75
+ 281,
76
+ 460,
77
+ 764
78
+ ],
79
+ "page_idx": 0
80
+ },
81
+ {
82
+ "type": "text",
83
+ "text": "Disclaimer: The article features images that may be visually disturbing to some readers.",
84
+ "bbox": [
85
+ 142,
86
+ 770,
87
+ 458,
88
+ 799
89
+ ],
90
+ "page_idx": 0
91
+ },
92
+ {
93
+ "type": "text",
94
+ "text": "1 Introduction",
95
+ "text_level": 1,
96
+ "bbox": [
97
+ 114,
98
+ 813,
99
+ 258,
100
+ 828
101
+ ],
102
+ "page_idx": 0
103
+ },
104
+ {
105
+ "type": "text",
106
+ "text": "An adverse drug event (ADE) encompasses any harm resulting from medication use, whether it's",
107
+ "bbox": [
108
+ 112,
109
+ 839,
110
+ 487,
111
+ 871
112
+ ],
113
+ "page_idx": 0
114
+ },
115
+ {
116
+ "type": "text",
117
+ "text": "unintended, off-label, or due to medication errors. Adverse drug reactions (ADRs) are a specific type of ADE, denoting unexpected harm arising from the proper use of medication at the prescribed dosage. Injuries from inappropriate or off-label use are not classified as ADRs (Karimi et al., 2015b). ADEs pose significant public health concerns, contributing to numerous fatalities, serious injuries, millions of hospitalizations, and prolonged hospital stays. Consequently, they impose substantial financial burdens, costing healthcare systems billions of dollars globally. Despite advancements in healthcare, ADE detection remains a significant challenge. Implementing effective detection and monitoring strategies can substantially mitigate the adverse impacts on patients and healthcare systems (Hakkarainen et al., 2012), (Yadav et al., 2018b), (Sultana et al., 2013). Most of the previous ADE detection works are based on text data only (D'Oosterlinck et al., 2023), (Sarker and Gonzalez, 2015), (Yadav et al., 2019), (Sarker et al., 2016), (Chowdhury et al., 2018), (Yadav et al., 2018a), which presents a significant disadvantage due to its subjective nature and lack of specific details of visual cues, leading to potential inaccuracies and incomplete categorization of ADE detection. Despite extensive research, the potential of integrating textual data with visual information, such as images, has been largely overlooked. Visual aids are essential in ADE detection for numerous reasons. A substantial proportion of the population lacks proficiency in medical jargon, hindering accurate symptom descriptions. Moreover, certain symptoms are inherently challenging to express through text alone. Patients may struggle to differentiate between similar symptoms, like skin rash, eczema, peeling, and blister. As depicted in Fig. 1, sample images may present confusion to individuals lacking adequate medical expertise. Integrating both text and images in these scenarios can enhance the accuracy and effectiveness of ADE detection,",
118
+ "bbox": [
119
+ 507,
120
+ 253,
121
+ 885,
122
+ 912
123
+ ],
124
+ "page_idx": 0
125
+ },
126
+ {
127
+ "type": "page_footnote",
128
+ "text": "*Work does not relate to position at Amazon.",
129
+ "bbox": [
130
+ 139,
131
+ 879,
132
+ 418,
133
+ 892
134
+ ],
135
+ "page_idx": 0
136
+ },
137
+ {
138
+ "type": "page_footnote",
139
+ "text": "'https://github.com/singhayush27/MMADE.git",
140
+ "bbox": [
141
+ 115,
142
+ 892,
143
+ 485,
144
+ 917
145
+ ],
146
+ "page_idx": 0
147
+ },
148
+ {
149
+ "type": "page_number",
150
+ "text": "11214",
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: ACL 2024, pages 11214-11226",
162
+ "bbox": [
163
+ 220,
164
+ 945,
165
+ 778,
166
+ 958
167
+ ],
168
+ "page_idx": 0
169
+ },
170
+ {
171
+ "type": "footer",
172
+ "text": "August 11-16, 2024 ©2024 Association for Computational Linguistics",
173
+ "bbox": [
174
+ 284,
175
+ 959,
176
+ 712,
177
+ 971
178
+ ],
179
+ "page_idx": 0
180
+ },
181
+ {
182
+ "type": "text",
183
+ "text": "offering a comprehensive understanding of the patient's current medical condition. To the best of our knowledge, ADE detection using both image and text data has not been explored previously, and we take this opportunity to introduce a MultiModal Adverse Drug Event (MMADE) dataset comprising ADR images paired with corresponding textual descriptions.",
184
+ "bbox": [
185
+ 112,
186
+ 84,
187
+ 490,
188
+ 212
189
+ ],
190
+ "page_idx": 1
191
+ },
192
+ {
193
+ "type": "text",
194
+ "text": "Large Language Models (LLMs) and Vision Language Models (VLMs) have exhibited remarkable skills in generating human-like text, prompting their integration into various medical applications, including tasks such as chest radiography report generation, summarization, and medical question answering (Thawkar et al., 2023), (Ghosh et al., 2024b), (Sahoo et al., 2024b), (Ghosh et al., 2024a). However, their potential in ADE detection, which involves both text and images, has yet to be explored. Leveraging LLMs and VLMs for this task presents inherent limitations as they are predominantly trained on generic natural images sourced from databases like ImageNet, Wikipedia, and the internet. Generic models may not possess the specialized medical knowledge required for comprehensive caption generation, potentially leading to oversimplified descriptions that overlook essential details like symptoms and medical intricacies. Furthermore, while VLMs have excelled in traditional visual-linguistic tasks, their application to medical imaging presents unique challenges that may hinder the accurate interpretation and description of complex medical images (Sahoo et al., 2024a). Specialized models such as XrayGPT (Thawkar et al., 2023) and SkinGPT4 (Zhou and Gao, 2023), which are trained on chest X-ray and skin disease images, exemplify the domain specificity required for accurate medical image analysis. This has led us to explore ADR detection within a multimodal framework. To support this exploration, we introduce MMADE, a carefully curated dataset crafted for this specific purpose. MMADE consists of 1500 instances of patient-reported concerns regarding drugs and associated side effects, each paired with both textual descriptions and corresponding images. In our study, we have employed Instruct-BLIP (Dai et al., 2023), which builds upon the strong foundation of BLIP-2 (Li et al., 2023), a pretrained model with high-quality visual representation and strong language generation capabilities. The meticulous fine-tuning process enables it to bridge the disparity between general-purpose mod",
195
+ "bbox": [
196
+ 112,
197
+ 227,
198
+ 490,
199
+ 921
200
+ ],
201
+ "page_idx": 1
202
+ },
203
+ {
204
+ "type": "image",
205
+ "img_path": "images/79d79f0afe3c59354305feaeb62f41befd7407dd1a808e6da2088aec5ab94eb1.jpg",
206
+ "image_caption": [
207
+ "After 1 hour of taking the penicillins!! I get this."
208
+ ],
209
+ "image_footnote": [],
210
+ "bbox": [
211
+ 519,
212
+ 80,
213
+ 621,
214
+ 151
215
+ ],
216
+ "page_idx": 1
217
+ },
218
+ {
219
+ "type": "image",
220
+ "img_path": "images/09f0e23cf58d401f6ae1beaf0d58bec4a559c894d659c1d7688635e8f4d343b1.jpg",
221
+ "image_caption": [
222
+ "I found this after my doctor prescribed Etoricoxib for post-surgical dental pain."
223
+ ],
224
+ "image_footnote": [],
225
+ "bbox": [
226
+ 636,
227
+ 80,
228
+ 744,
229
+ 151
230
+ ],
231
+ "page_idx": 1
232
+ },
233
+ {
234
+ "type": "image",
235
+ "img_path": "images/7dafcaf297647a24f155b2e3dd2d480ee8b373b714197a0130c643d5abe5e691.jpg",
236
+ "image_caption": [
237
+ "This is very unusual to me after taking amoxicillin for pharyngitis.",
238
+ "Figure 1: Samples from the dataset highlight the significance of visual cues in understanding adverse drug events, particularly in cases where patients are unaware of a specific medical condition."
239
+ ],
240
+ "image_footnote": [],
241
+ "bbox": [
242
+ 759,
243
+ 80,
244
+ 870,
245
+ 151
246
+ ],
247
+ "page_idx": 1
248
+ },
249
+ {
250
+ "type": "text",
251
+ "text": "els and the specialized demands of ADE-specific tasks. Moreover, our exploration of BLIP (Li et al., 2022) and GIT (Wang et al., 2022) reveals that these models exhibit insufficient performance before fine-tuning. Nevertheless, upon fine-tuning with domain-specific data, their performance experiences notable improvement.",
252
+ "bbox": [
253
+ 507,
254
+ 275,
255
+ 884,
256
+ 388
257
+ ],
258
+ "page_idx": 1
259
+ },
260
+ {
261
+ "type": "text",
262
+ "text": "Our key contributions are as follows:",
263
+ "bbox": [
264
+ 527,
265
+ 388,
266
+ 803,
267
+ 404
268
+ ],
269
+ "page_idx": 1
270
+ },
271
+ {
272
+ "type": "list",
273
+ "sub_type": "text",
274
+ "list_items": [
275
+ "- A novel approach to ADE detection in multimodal settings greatly assists medical professionals, such as doctors, nurses, and pharmacists, by delivering detailed descriptions of ADE cases, enhancing precision in diagnosis, treatment planning, and patient care.",
276
+ "- Introduction of a novel multimodal dataset MMADE for further research on ADE detection area.",
277
+ "- The proposed dataset demonstrates promising potential for various applications, including ADE classification, caption generation, and summarization tasks.",
278
+ "- We have utilized InstructBLIP and experimented with two other pre-trained VLMs, and reported a detailed analysis.",
279
+ "- The ADE-specific model holds promise for enhancing patient safety, ADE awareness, and healthcare communication. It aims to provide individuals seeking information about ADEs with understandable and informative captions accompanying medical images to improve their comprehension of potential medication risks."
280
+ ],
281
+ "bbox": [
282
+ 531,
283
+ 414,
284
+ 884,
285
+ 839
286
+ ],
287
+ "page_idx": 1
288
+ },
289
+ {
290
+ "type": "text",
291
+ "text": "2 Related Works",
292
+ "text_level": 1,
293
+ "bbox": [
294
+ 509,
295
+ 862,
296
+ 672,
297
+ 876
298
+ ],
299
+ "page_idx": 1
300
+ },
301
+ {
302
+ "type": "text",
303
+ "text": "This section details the related ADE detection tasks based on the data sources.",
304
+ "bbox": [
305
+ 507,
306
+ 887,
307
+ 880,
308
+ 917
309
+ ],
310
+ "page_idx": 1
311
+ },
312
+ {
313
+ "type": "page_number",
314
+ "text": "11215",
315
+ "bbox": [
316
+ 477,
317
+ 927,
318
+ 524,
319
+ 940
320
+ ],
321
+ "page_idx": 1
322
+ },
323
+ {
324
+ "type": "text",
325
+ "text": "Works Based on Biomedical Text and Electronic Medical Record: Various techniques have been developed for extracting ADEs from Electronic Medical Records (EMRs) (Aramaki et al., 2010), (Wang et al., 2009), as well as from medical case reports (MCRs) (Gurulingappa et al., 2011). Gurulingappa et al. (2012a) utilized machine learning methods to identify and extract potential ADE relations from MEDLINE case reports. Unlike random data sources such as social media, both EMRs and MCRs offer significant advantages by providing comprehensive records of a patient's medical history, treatment, conditions, and potential risk factors. Moreover, these records are not limited to patients who have experienced ADRs (Harpaz et al., 2013). Sarker and Gonzalez (2015) conducted a study by taking data from MEDLINE case reports and Twitter and reported how combining different datasets increases the performance of identifying ADRs. Huynh et al. (2016) explored various neural network frameworks for ADE classification, utilizing datasets from both MCRs and Twitter. DISAE is another corpus (Gurulingappa et al., 2010), which consists of 400 MEDLINE articles with annotations for disease and adverse effect names without drug-related information. D'Oosterlinck et al. (2023) introduced the BioDEX dataset for biomedical ADE extraction in real-world pharmacovigilance. This dataset comprises 65,000 abstracts, 19,000 full-text biomedical papers, and 256,000 document-level safety reports crafted by medical professionals. However, to the best of our knowledge, there is currently no publicly accessible annotated multimodal (Image and Text) corpus suitable for identifying drug-related adverse effects.",
326
+ "bbox": [
327
+ 112,
328
+ 84,
329
+ 490,
330
+ 664
331
+ ],
332
+ "page_idx": 2
333
+ },
334
+ {
335
+ "type": "text",
336
+ "text": "Works Based on Social Media Datasets: Social media has become vital for accessing vast amounts of real-time information, making it valuable for identifying potential ADEs. Leaman et al. (2010) conducted a pioneering study that analyzed user comments from social media posts, comprising a dataset of 6890 comments. The research demonstrated the significant value of user comments in identifying ADEs, highlighting their crucial role in this context. Several other authors (Gurulingappa et al., 2012b), (Yadav et al., 2020), (Benton et al., 2011) employed lexicon-based approaches to extract ADEs. However, these methods are limited to a specific set of target ADEs. Nikfarjam and Gonzalez (2011) em",
337
+ "bbox": [
338
+ 112,
339
+ 677,
340
+ 490,
341
+ 919
342
+ ],
343
+ "page_idx": 2
344
+ },
345
+ {
346
+ "type": "text",
347
+ "text": "Table 1: Keywords used for the data collection.",
348
+ "bbox": [
349
+ 534,
350
+ 82,
351
+ 855,
352
+ 97
353
+ ],
354
+ "page_idx": 2
355
+ },
356
+ {
357
+ "type": "text",
358
+ "text": "Keywords: ADE, ADR, adverse drug reaction, adverse drug event, adverse reaction, adverse drug event reporting, side effects, drug reactions, drug side effects, type of infection and reaction, medicine, drugs, skin rashes, red patches, eczema, ulcer, acne, skin irritation, edema, rosacea, alopecia, lip swelling.",
359
+ "bbox": [
360
+ 524,
361
+ 110,
362
+ 878,
363
+ 239
364
+ ],
365
+ "page_idx": 2
366
+ },
367
+ {
368
+ "type": "text",
369
+ "text": "ployed a rule-based technique instead of a naive lexicon-based approach on the same dataset, enabling the detection of ADEs not covered by lexicons. Several authors utilized supervised machine learning techniques like Support Vector Machines (SVM) (Sarker and Gonzalez, 2015), Conditional Random Fields (CRF) (Nikfarjam et al., 2015), and Random Forests (Zhang et al., 2016) for ADE detection. Sarker et al. (2016) introduced one corpus by collecting data from social media, focusing on adverse drug reactions. Tasks included automatically classifying user posts, extracting specific mentions, and normalizing mentions to standardized concepts. With the availability of annotated data, in recent times, the rise of deep learning techniques has significantly influenced research methodologies, leading to the adoption of deep learning models for predicting ADEs. Tutubalina et al. (2017) explored the synergy between CRF and Recurrent Neural Networks (RNN), demonstrating that CRF enhances the RNN model's ability to capture contextual information effectively. Chowdhury et al. (2018) developed a multi-task architecture that simultaneously tackled binary classification, ADR labeling, and indication labeling, using the PSB 2016 Social Media dataset (Sarker et al., 2016).",
370
+ "bbox": [
371
+ 507,
372
+ 271,
373
+ 884,
374
+ 688
375
+ ],
376
+ "page_idx": 2
377
+ },
378
+ {
379
+ "type": "text",
380
+ "text": "3 Corpus Development",
381
+ "text_level": 1,
382
+ "bbox": [
383
+ 509,
384
+ 700,
385
+ 726,
386
+ 717
387
+ ],
388
+ "page_idx": 2
389
+ },
390
+ {
391
+ "type": "text",
392
+ "text": "Our study began with a thorough literature review to identify existing ADE-related datasets. We discovered four text-only datasets: PSB 2016 social media shared task (Sarker et al., 2016) comprising 572 tweets, Medline ADE corpus (Gurulingappa et al., 2012b) with 4,272 sentences, CADEC (Karimi et al., 2015a) containing 1,248 sentences, and recently released BioDEX dataset (D'Oosterlinck et al., 2023). This revealed a notable gap in multimodal ADE datasets, where images complement textual data. We take this opportunity to introduce a multimodal corpus consist",
393
+ "bbox": [
394
+ 507,
395
+ 726,
396
+ 884,
397
+ 919
398
+ ],
399
+ "page_idx": 2
400
+ },
401
+ {
402
+ "type": "page_number",
403
+ "text": "11216",
404
+ "bbox": [
405
+ 477,
406
+ 927,
407
+ 524,
408
+ 940
409
+ ],
410
+ "page_idx": 2
411
+ },
412
+ {
413
+ "type": "image",
414
+ "img_path": "images/9d97229785dfb31c35c747987d8d4ce51900fea6015e324fc75cc47014504ad6.jpg",
415
+ "image_caption": [
416
+ "Figure 2: Some samples from the dataset containing images and the corresponding descriptive text."
417
+ ],
418
+ "image_footnote": [],
419
+ "bbox": [
420
+ 137,
421
+ 98,
422
+ 467,
423
+ 305
424
+ ],
425
+ "page_idx": 3
426
+ },
427
+ {
428
+ "type": "text",
429
+ "text": "ing of 1,500 ADE images with corresponding English sentences to facilitate further research. While preparing this corpus, we carry out the following steps.",
430
+ "bbox": [
431
+ 112,
432
+ 388,
433
+ 487,
434
+ 453
435
+ ],
436
+ "page_idx": 3
437
+ },
438
+ {
439
+ "type": "text",
440
+ "text": "3.1 Data Collection",
441
+ "text_level": 1,
442
+ "bbox": [
443
+ 114,
444
+ 475,
445
+ 282,
446
+ 489
447
+ ],
448
+ "page_idx": 3
449
+ },
450
+ {
451
+ "type": "text",
452
+ "text": "Utilizing a diverse array of keywords, we have curated a comprehensive dataset from social media, healthcare blogs, and MCRs (refer to Table 1). The inclusion of various sources ensures a broad representation of the population, enriching the dataset's diversity.",
453
+ "bbox": [
454
+ 112,
455
+ 502,
456
+ 487,
457
+ 599
458
+ ],
459
+ "page_idx": 3
460
+ },
461
+ {
462
+ "type": "text",
463
+ "text": "3.1.1 Social Media",
464
+ "text_level": 1,
465
+ "bbox": [
466
+ 112,
467
+ 619,
468
+ 275,
469
+ 633
470
+ ],
471
+ "page_idx": 3
472
+ },
473
+ {
474
+ "type": "text",
475
+ "text": "Social media data is invaluable for ADE-related tasks due to its real-time nature and diverse user-generated content (Sarker et al., 2016). In this study, we have utilized the official X (Twitter) and scraper API to gather Tweets $^{2,3}$ employing diverse keywords related to ADE. The data collection phase, conducted between June 2023 and October 2023, collected a total of 20,000 tweets using specified keywords presented in Table 1. From this pool, 3,000 tweets were meticulously identified as pertinent to ADEs, featuring either images, text, or a combination of both. Notably, 142 tweets included relevant images accompanied by textual descriptions of the adverse drug events.",
476
+ "bbox": [
477
+ 112,
478
+ 644,
479
+ 489,
480
+ 870
481
+ ],
482
+ "page_idx": 3
483
+ },
484
+ {
485
+ "type": "text",
486
+ "text": "3.1.2 Healthcare Blog",
487
+ "text_level": 1,
488
+ "bbox": [
489
+ 507,
490
+ 84,
491
+ 697,
492
+ 99
493
+ ],
494
+ "page_idx": 3
495
+ },
496
+ {
497
+ "type": "text",
498
+ "text": "We utilized a public healthcare-related blog, healthdirect<sup>4</sup>, a government-funded virtual health service that provides access to health advice and information via a website. We used Python's BeautifulSoup library to scrape the data and collected 1,150 unique images with corresponding text. Among these, 54 relevant images depicting adverse drug events were manually curated along with corresponding texts.",
499
+ "bbox": [
500
+ 507,
501
+ 103,
502
+ 882,
503
+ 247
504
+ ],
505
+ "page_idx": 3
506
+ },
507
+ {
508
+ "type": "text",
509
+ "text": "3.1.3 Medical Case Reports",
510
+ "text_level": 1,
511
+ "bbox": [
512
+ 507,
513
+ 256,
514
+ 742,
515
+ 272
516
+ ],
517
+ "page_idx": 3
518
+ },
519
+ {
520
+ "type": "text",
521
+ "text": "Data from published medical case reports is crucial for constructing comprehensive datasets to analyze ADE. These articles provide structured and verified information, forming a reliable foundation for in-depth analysis and research in pharmacovigilance. We have extracted data from the New England Journal of Medicine<sup>5</sup>, Science Direct<sup>6</sup>. A precise Science Direct query performed is as follows:",
522
+ "bbox": [
523
+ 507,
524
+ 275,
525
+ 882,
526
+ 419
527
+ ],
528
+ "page_idx": 3
529
+ },
530
+ {
531
+ "type": "text",
532
+ "text": "(\"adverse drug event\") AND (Languages=English) AND (Article type=Case Reports) AND (Years=2000 to 2023))",
533
+ "bbox": [
534
+ 509,
535
+ 437,
536
+ 865,
537
+ 500
538
+ ],
539
+ "page_idx": 3
540
+ },
541
+ {
542
+ "type": "text",
543
+ "text": "This approach retrieved approximately 2,907 documents from ScienceDirect, from which we manually selected 1390 relevant images with corresponding texts.",
544
+ "bbox": [
545
+ 507,
546
+ 517,
547
+ 882,
548
+ 581
549
+ ],
550
+ "page_idx": 3
551
+ },
552
+ {
553
+ "type": "text",
554
+ "text": "3.2 Data Annotation",
555
+ "text_level": 1,
556
+ "bbox": [
557
+ 507,
558
+ 592,
559
+ 687,
560
+ 606
561
+ ],
562
+ "page_idx": 3
563
+ },
564
+ {
565
+ "type": "text",
566
+ "text": "To ensure meticulous annotation aligned with ethical standards, we enlisted the assistance of two medical students and one Ph.D. student, selected based on specific criteria. These criteria included being at least 25 years old, proficient in English (reading, writing, and speaking), and willing to handle sensitive content. The process was finalized within a span of five months, and participants received compensation for their involvement $^{7}$ . Annotators were tasked with meticulously assessing each image and its corresponding text based on the annotation manual. Sentences accurately depicting adverse drug events, including the drug's",
567
+ "bbox": [
568
+ 505,
569
+ 613,
570
+ 882,
571
+ 822
572
+ ],
573
+ "page_idx": 3
574
+ },
575
+ {
576
+ "type": "list",
577
+ "sub_type": "text",
578
+ "list_items": [
579
+ "<sup>4</sup>https://www.healthdirect.gov.au/",
580
+ "<sup>5</sup>https://www.nejm.org",
581
+ "<sup>6</sup>https://www.sciencedirect.com",
582
+ "7The medical students received compensation in the form of gift vouchers and honorarium amounts in accordance with https://www.minimum-wage.org/international/india."
583
+ ],
584
+ "bbox": [
585
+ 507,
586
+ 829,
587
+ 882,
588
+ 917
589
+ ],
590
+ "page_idx": 3
591
+ },
592
+ {
593
+ "type": "page_footnote",
594
+ "text": "$^{2}$ https://twitter.com/",
595
+ "bbox": [
596
+ 134,
597
+ 889,
598
+ 327,
599
+ 904
600
+ ],
601
+ "page_idx": 3
602
+ },
603
+ {
604
+ "type": "page_footnote",
605
+ "text": "<sup>3</sup>https://www.scaperapi.com/",
606
+ "bbox": [
607
+ 136,
608
+ 904,
609
+ 389,
610
+ 917
611
+ ],
612
+ "page_idx": 3
613
+ },
614
+ {
615
+ "type": "page_number",
616
+ "text": "11217",
617
+ "bbox": [
618
+ 475,
619
+ 927,
620
+ 524,
621
+ 940
622
+ ],
623
+ "page_idx": 3
624
+ },
625
+ {
626
+ "type": "image",
627
+ "img_path": "images/a18ea0b8796f9ad5c9e6aa5203f55dcfeb95bb21220e2669e81a7e15d55c1d6e.jpg",
628
+ "image_caption": [
629
+ "Figure 3: Distribution of different body parts in the curated MMADE dataset. The number of data points and the percentage corresponding to each category have been provided."
630
+ ],
631
+ "image_footnote": [],
632
+ "bbox": [
633
+ 159,
634
+ 80,
635
+ 843,
636
+ 294
637
+ ],
638
+ "page_idx": 4
639
+ },
640
+ {
641
+ "type": "image",
642
+ "img_path": "images/2c2fe4d1646772ebd56e51498c137e3e5095af58ae27b95b86e2a3b4ff384cf4.jpg",
643
+ "image_caption": [
644
+ "Figure 4: Data distribution statistics from various sources, illustrating the total ADE data (images, text, and image-text pairs), and the relevant image-text pairs."
645
+ ],
646
+ "image_footnote": [],
647
+ "bbox": [
648
+ 122,
649
+ 381,
650
+ 450,
651
+ 552
652
+ ],
653
+ "page_idx": 4
654
+ },
655
+ {
656
+ "type": "text",
657
+ "text": "name and associated side effects, were chosen for inclusion in the corpus development process, while all other instances were deemed irrelevant and removed. To maintain consistency and consensus among annotators, final rationale labels were determined through a majority voting approach. Annotators were explicitly instructed to annotate posts without biases related to demographics, religion, or other extraneous factors. The quality of annotations was assessed by measuring inter-annotator agreement (IAA) using Cohen's Kappa score (Viera et al., 2005). The resulting agreement scores of 0.78 affirm the acceptability and high quality of the annotations.",
658
+ "bbox": [
659
+ 112,
660
+ 694,
661
+ 489,
662
+ 917
663
+ ],
664
+ "page_idx": 4
665
+ },
666
+ {
667
+ "type": "text",
668
+ "text": "3.3 Annotation Manual",
669
+ "text_level": 1,
670
+ "bbox": [
671
+ 509,
672
+ 363,
673
+ 712,
674
+ 376
675
+ ],
676
+ "page_idx": 4
677
+ },
678
+ {
679
+ "type": "text",
680
+ "text": "We initially provided annotators with an instruction manual detailing different instances, accompanied by examples (as depicted in Fig. 5).",
681
+ "bbox": [
682
+ 507,
683
+ 384,
684
+ 880,
685
+ 432
686
+ ],
687
+ "page_idx": 4
688
+ },
689
+ {
690
+ "type": "list",
691
+ "sub_type": "text",
692
+ "list_items": [
693
+ "- For each data instance comprising text and an image, select the data instance if both the text and image indicate concerns about drug side effects.",
694
+ "- Remove data instances where the image does not convey the side effects mentioned in the text.",
695
+ "- Remove data instances where the text does not convey any side effects related to drugs, but some side effects are visually present in the accompanying image.",
696
+ "- Remove instances where both the text and image are unrelated to any drug side effect.",
697
+ "- If a data instance includes a URL link, access the content at that URL address to gain additional insight and context about the data."
698
+ ],
699
+ "bbox": [
700
+ 531,
701
+ 444,
702
+ 882,
703
+ 745
704
+ ],
705
+ "page_idx": 4
706
+ },
707
+ {
708
+ "type": "text",
709
+ "text": "3.4 Corpus Analysis",
710
+ "text_level": 1,
711
+ "bbox": [
712
+ 507,
713
+ 769,
714
+ 685,
715
+ 784
716
+ ],
717
+ "page_idx": 4
718
+ },
719
+ {
720
+ "type": "text",
721
+ "text": "Figure 4 provides an overview of the data sources and the distribution of relevant cases within the dataset. Following the initial collection of 7,057 ADE-related samples encompassing images, text, and image-text pairs, we curated 1,500 pertinent samples. These encompass both image and their associated text descriptions of ADEs, establishing the foundation of our multimodal ADE dataset. Figure 2 depicts some of",
722
+ "bbox": [
723
+ 507,
724
+ 790,
725
+ 884,
726
+ 917
727
+ ],
728
+ "page_idx": 4
729
+ },
730
+ {
731
+ "type": "page_number",
732
+ "text": "11218",
733
+ "bbox": [
734
+ 477,
735
+ 927,
736
+ 524,
737
+ 940
738
+ ],
739
+ "page_idx": 4
740
+ },
741
+ {
742
+ "type": "image",
743
+ "img_path": "images/3bfd91cf627ae890bb29d18068c8eeb95b43ba21ddbaff557467dfa2d716eb0f.jpg",
744
+ "image_caption": [
745
+ "Figure 5: Illustration of an annotation process, with A1, A2, and A3 representing individual annotators and MV signifying final majority voting. In this setup, \"1\" denotes ADR, while \"0\" is unrelated to ADR."
746
+ ],
747
+ "image_footnote": [],
748
+ "bbox": [
749
+ 137,
750
+ 95,
751
+ 468,
752
+ 281
753
+ ],
754
+ "page_idx": 5
755
+ },
756
+ {
757
+ "type": "text",
758
+ "text": "the samples from the dataset. The first sample shows a person suffering from tongue discoloration after taking a Chlorhexidine drug. Both the text and visual image show a clear indication of drug reaction. The second sample is of a woman with papulopustular eruption on the face, which had worsened with topical metronidazole gel. Adverse drug events can manifest internally or externally, yet acquiring images of internal body parts from public sources is challenging. Thus, we focus on external body parts or symptoms, which can be readily captured and shared with doctors, pharmacovigilance teams, or the public domain for improved consultation and advice. Following dataset analysis, we identified 13 significant adverse effects crucial for multimodal ADE reporting. These effects are categorized into four groups based on their origin: ENT (9.85%), EYE (3.6%), LIMB (5.4%), and SKIN (81.06%). Additional details of the dataset, such as the distribution of samples across different body parts along with corresponding percentages, are illustrated in Fig. 3.",
759
+ "bbox": [
760
+ 112,
761
+ 393,
762
+ 489,
763
+ 731
764
+ ],
765
+ "page_idx": 5
766
+ },
767
+ {
768
+ "type": "text",
769
+ "text": "4 Problem Formulation",
770
+ "text_level": 1,
771
+ "bbox": [
772
+ 112,
773
+ 746,
774
+ 337,
775
+ 762
776
+ ],
777
+ "page_idx": 5
778
+ },
779
+ {
780
+ "type": "text",
781
+ "text": "Each data point in the dataset encompasses a patient's textual description $T$ along with a corresponding image $I$ illustrating their medical issue or concern visually. The textual representation comprises a sequence of words $\\{t_1,t_2,\\ldots ,t_n\\}$ while the visual elements are represented by $I\\in \\mathbb{R}^{3\\times W\\times H}$ , where $W$ and $H$ denote the width and height of the image data, respectively. The objective is to process both the text $T$ and image $I$",
782
+ "bbox": [
783
+ 112,
784
+ 774,
785
+ 490,
786
+ 919
787
+ ],
788
+ "page_idx": 5
789
+ },
790
+ {
791
+ "type": "text",
792
+ "text": "for each patient and generate a natural language sequence $Y$ that seamlessly integrates both modalities, expressed as $Y = \\{T, I\\}$ .",
793
+ "bbox": [
794
+ 507,
795
+ 84,
796
+ 884,
797
+ 133
798
+ ],
799
+ "page_idx": 5
800
+ },
801
+ {
802
+ "type": "text",
803
+ "text": "5 Methodology",
804
+ "text_level": 1,
805
+ "bbox": [
806
+ 509,
807
+ 149,
808
+ 660,
809
+ 166
810
+ ],
811
+ "page_idx": 5
812
+ },
813
+ {
814
+ "type": "text",
815
+ "text": "Recent advancements in VLMs, such as BLIP, InstructBlip, and GIT, have showcased remarkable advancements in encoding both textual and visual inputs. These models outperform traditional approaches that rely solely on individual image or text encoders, followed by fusion. By integrating sophisticated mechanisms for joint representation learning, VLMs excel at capturing intricate relationships between textual and visual modalities, thereby enhancing their ability to generate more contextually relevant and coherent outputs (Zhang et al., 2023). In the proposed work, we have leveraged InstructBlip (Dai et al., 2023), known for its exceptional performance across a range of vision-language (VL) tasks including Visual Question Answering (VQA), Image captioning, and Image retrieval. Each patient's inquiry or concern is articulated as a textual sentence along with a visual image where they elaborate on their medical queries or concerns on social media platforms or healthcare blogs to obtain pertinent feedback or advice. InstructBlip integrates two distinct encoders specialized for separate modalities. This architecture includes an image encoder, which utilizes a vision transformer (ViT) to extract visual features, alongside an LLM and a Query Transformer (Q-Former). The Q-Former interacts with the image encoder's output through cross-attention, resulting in K-encoded visual vectors, which are then linearly projected and fed into the frozen LLM for further processing. This representation serves as input for a proficient language model, which generates high-quality text. During instruction tuning, only the Q-Former undergoes fine-tuning, while the image encoder and LLM remain unchanged. Figure 6 illustrates the detailed architecture. We fine-tuned the InstructBLIP to assess its performance on the proposed MMADE dataset. InstructBLIP maintains a consistent image resolution $(224 \\times 224)$ during instruction tuning and freezes the visual encoder during fine-tuning. This approach substantially reduces the number of trainable parameters from 1.2 billion to 188 million, improving fine-tuning efficiency. We also employed two more VLMs and fine-tuned them with the proposed MMADE dataset. BLIP (Li et al., 2022), a",
816
+ "bbox": [
817
+ 507,
818
+ 178,
819
+ 885,
820
+ 919
821
+ ],
822
+ "page_idx": 5
823
+ },
824
+ {
825
+ "type": "page_number",
826
+ "text": "11219",
827
+ "bbox": [
828
+ 477,
829
+ 927,
830
+ 524,
831
+ 940
832
+ ],
833
+ "page_idx": 5
834
+ },
835
+ {
836
+ "type": "image",
837
+ "img_path": "images/d94c73b2be65c7b4c059e3e675e38542eb7ca224e2288caa78cc903f386c42f1.jpg",
838
+ "image_caption": [
839
+ "Figure 6: The architectural details are illustrated, depicting the input image and corresponding text. Additionally, the frozen and trainable layers are highlighted for clarity."
840
+ ],
841
+ "image_footnote": [],
842
+ "bbox": [
843
+ 139,
844
+ 86,
845
+ 860,
846
+ 259
847
+ ],
848
+ "page_idx": 6
849
+ },
850
+ {
851
+ "type": "text",
852
+ "text": "versatile vision-language model, utilizes a multimodal mixture of encoder-decoder models during pre-training. This involves bootstrapping a dataset from large-scale noisy image-text pairs, where synthetic captions are injected, and noisy captions are eliminated. Additionally, we utilized GIT (Wang et al., 2022), a VLM model that generates text descriptions of images. Trained on curated datasets of image-text pairs, GIT encodes image features into a latent representation, which is decoded into text descriptions. Its architecture comprises an image encoder using a pre-trained Swin transformer and a text decoder based on a standard transformer decoder, linked by a cross-attention layer for enhanced focus on specific image encoding parts. Additionally, we performed the integration of LSTM networks with VGG16 (Simonyan and Zisserman, 2014) and ResNet50 (He et al., 2016) architectures. In this setup, the LSTM serves as the text encoder, while either VGG16 or ResNet50 acts as the visual encoder. The features extracted from the text and visual encoders are then concatenated to create a joint representation, allowing for comprehensive modeling of both textual and visual information. Please refer to Section 12 of the Appendix for the fine-tuning details.",
853
+ "bbox": [
854
+ 112,
855
+ 326,
856
+ 492,
857
+ 744
858
+ ],
859
+ "page_idx": 6
860
+ },
861
+ {
862
+ "type": "text",
863
+ "text": "6 Experimental Results and Analysis",
864
+ "text_level": 1,
865
+ "bbox": [
866
+ 112,
867
+ 760,
868
+ 450,
869
+ 778
870
+ ],
871
+ "page_idx": 6
872
+ },
873
+ {
874
+ "type": "text",
875
+ "text": "We have utilized four commonly employed evaluation metrics to assess the performance of the models, including BLEU score (Bilingual Evaluation Understudy) (Papineni et al., 2002), ROUGE score (Recall-Oriented Understudy for Gisting Evaluation) (Lin, 2004), BERTScore (Zhang et al., 2019), and MoverScore (Zhao et al., 2019). Detailed explanations of experimental settings and metrics are",
876
+ "bbox": [
877
+ 112,
878
+ 790,
879
+ 490,
880
+ 919
881
+ ],
882
+ "page_idx": 6
883
+ },
884
+ {
885
+ "type": "table",
886
+ "img_path": "images/3cec408123cf5d5b3743faabc8d8931b8ee2a950c4381a7acf9826e6f8356223.jpg",
887
+ "table_caption": [
888
+ "Table 2: The performance evaluation of the models using ROUGE and BLEU Scores in the multimodal dataset setting."
889
+ ],
890
+ "table_footnote": [],
891
+ "table_body": "<table><tr><td rowspan=\"2\">Model</td><td rowspan=\"2\">Type</td><td colspan=\"3\">ROUGE</td><td colspan=\"3\">BLEU</td></tr><tr><td>R1</td><td>R2</td><td>RL</td><td>B1</td><td>B2</td><td>B3</td></tr><tr><td>LSTM+VGG16</td><td>-</td><td>0.213</td><td>0.105</td><td>0.201</td><td>0.165</td><td>0.073</td><td>0.041</td></tr><tr><td>LSTM+ResNet50</td><td>-</td><td>0.281</td><td>0.086</td><td>0.230</td><td>0.179</td><td>0.058</td><td>0.046</td></tr><tr><td rowspan=\"2\">BLIP</td><td>Base</td><td>0.19</td><td>0.093</td><td>0.185</td><td>0.099</td><td>0.003</td><td>0.001</td></tr><tr><td>Fine-Tune</td><td>0.334</td><td>0.163</td><td>0.225</td><td>0.171</td><td>0.081</td><td>0.058</td></tr><tr><td rowspan=\"2\">GIT</td><td>Base</td><td>0.27</td><td>0.11</td><td>0.192</td><td>0.157</td><td>0.014</td><td>0.004</td></tr><tr><td>Fine-Tune</td><td>0.504</td><td>0.285</td><td>0.416</td><td>0.194</td><td>0.10</td><td>0.097</td></tr><tr><td rowspan=\"2\">InstructBLIP</td><td>Base</td><td>0.29</td><td>0.161</td><td>0.212</td><td>0.219</td><td>0.125</td><td>0.008</td></tr><tr><td>Fine-Tune</td><td>0.571</td><td>0.351</td><td>0.475</td><td>0.319</td><td>0.175</td><td>0.112</td></tr></table>",
892
+ "bbox": [
893
+ 515,
894
+ 376,
895
+ 878,
896
+ 486
897
+ ],
898
+ "page_idx": 6
899
+ },
900
+ {
901
+ "type": "table",
902
+ "img_path": "images/a0e3070a2b1bc76dcd063d0dd75c1fe2fe9886e07596f7f7206c083e7142f330.jpg",
903
+ "table_caption": [
904
+ "Table 3: The evaluation of the model using BERTScore and MoverScore in the multimodal dataset setting."
905
+ ],
906
+ "table_footnote": [],
907
+ "table_body": "<table><tr><td colspan=\"8\">BERTScore</td><td></td></tr><tr><td rowspan=\"2\">Evaluation Metrics</td><td rowspan=\"2\">LSTM+VGG16</td><td rowspan=\"2\">LSTM+ResNet50</td><td colspan=\"2\">BLIP</td><td colspan=\"2\">GIT</td><td colspan=\"2\">InstructBLIP</td></tr><tr><td>Base</td><td>Fine-Tune</td><td>Base</td><td>Fine-Tune</td><td>Base</td><td>Fine-Tune</td></tr><tr><td>Precision</td><td>0.821</td><td>0.847</td><td>0.819</td><td>0.841</td><td>0.826</td><td>0.866</td><td>0.832</td><td>0.896</td></tr><tr><td>Recall</td><td>0.797</td><td>0.811</td><td>0.783</td><td>0.819</td><td>0.791</td><td>0.831</td><td>0.781</td><td>0.891</td></tr><tr><td>F1-score</td><td>0.809</td><td>0.821</td><td>0.801</td><td>0.829</td><td>0.812</td><td>0.852</td><td>0.805</td><td>0.893</td></tr><tr><td colspan=\"9\">MoverScore</td></tr><tr><td></td><td>0.441</td><td>0.487</td><td>0.482</td><td>0.513</td><td>0.496</td><td>0.553</td><td>0.544</td><td>0.622</td></tr></table>",
908
+ "bbox": [
909
+ 512,
910
+ 544,
911
+ 890,
912
+ 623
913
+ ],
914
+ "page_idx": 6
915
+ },
916
+ {
917
+ "type": "text",
918
+ "text": "given in Section 11 and 13 of the Appendix.",
919
+ "bbox": [
920
+ 507,
921
+ 653,
922
+ 836,
923
+ 669
924
+ ],
925
+ "page_idx": 6
926
+ },
927
+ {
928
+ "type": "text",
929
+ "text": "6.1 Findings from Experiments",
930
+ "text_level": 1,
931
+ "bbox": [
932
+ 507,
933
+ 680,
934
+ 773,
935
+ 695
936
+ ],
937
+ "page_idx": 6
938
+ },
939
+ {
940
+ "type": "text",
941
+ "text": "The experimental results across Tables 2 and 3 depict the performance of various models in multimodal dataset settings, while Tables 4 and 5 represent the performance in unimodal dataset settings, based on standard evaluation metrics. From the",
942
+ "bbox": [
943
+ 507,
944
+ 700,
945
+ 884,
946
+ 778
947
+ ],
948
+ "page_idx": 6
949
+ },
950
+ {
951
+ "type": "table",
952
+ "img_path": "images/53c4e2d2b49d2bd5f9db212b5567b1ffd4f32529ab4ccc93c76fb17849a45940.jpg",
953
+ "table_caption": [
954
+ "Table 4: The evaluation of the models using BERTScore and MoverScore in the unimodal dataset setting."
955
+ ],
956
+ "table_footnote": [],
957
+ "table_body": "<table><tr><td colspan=\"6\">BERTScore</td></tr><tr><td>Evaluation Metrics</td><td>LSTM+VGG16</td><td>LSTM+ResNet50</td><td>BLIP</td><td>GIT</td><td>InstructBLIP</td></tr><tr><td>Precision</td><td>0.731</td><td>0.744</td><td>0.753</td><td>0.801</td><td>0.840</td></tr><tr><td>Recall</td><td>0.709</td><td>0.713</td><td>0.724</td><td>0.783</td><td>0.783</td></tr><tr><td>F1-score</td><td>0.719</td><td>0.729</td><td>0.738</td><td>0.790</td><td>0.810</td></tr><tr><td colspan=\"6\">MoverScore</td></tr><tr><td></td><td>0.121</td><td>0.143</td><td>0.151</td><td>0.184</td><td>0.253</td></tr></table>",
958
+ "bbox": [
959
+ 514,
960
+ 838,
961
+ 878,
962
+ 910
963
+ ],
964
+ "page_idx": 6
965
+ },
966
+ {
967
+ "type": "page_number",
968
+ "text": "11220",
969
+ "bbox": [
970
+ 477,
971
+ 927,
972
+ 526,
973
+ 940
974
+ ],
975
+ "page_idx": 6
976
+ },
977
+ {
978
+ "type": "text",
979
+ "text": "results, several observations are:",
980
+ "bbox": [
981
+ 114,
982
+ 85,
983
+ 356,
984
+ 99
985
+ ],
986
+ "page_idx": 7
987
+ },
988
+ {
989
+ "type": "list",
990
+ "sub_type": "text",
991
+ "list_items": [
992
+ "- Table 2 presents the ROUGE and BLEU scores, indicating the superior performance of fine-tuned InstructBLIP compared to other models. The higher ROUGE and BLEU scores achieved by fine-tuned InstructBLIP suggest its proficiency in capturing relevant information from the input and generating text. This superiority can be attributed to its training on more extensive and diverse datasets, enabling it to capture intricate data patterns effectively.",
993
+ "- Tables 3 and 4 present BERTScores and MoverScores in the multimodal and unimodal settings, respectively. Fine-tuned InstructBLIP achieves the highest BERTScore and MoverScores, demonstrating its efficacy in capturing contextual similarity and superior ability to convey meaningful content effectively.",
994
+ "- Table 4 and 5 show the decline in performance when training VLM models with unimodal data. The absence of meaningful visual information likely contributes to the performance degradation.",
995
+ "- One important observation is that Instruct-BLIP consistently outperforms BLIP and GIT across all metrics, showing its superior capability in effectively integrating textual and visual information. This can be attributed to its innovative architecture, featuring a Query Transformer for instruction-aware feature extraction. Refer to Section 16 of the Appendix for detailed outcomes.",
996
+ "- Fine-tuning with domain-specific ADE data remarkably enhances model performance, reflecting its pivotal role in adapting models to the intricacies of adverse drug event detection.",
997
+ "- Another key finding highlights the substantial performance enhancement achieved by integrating both image and text modalities, emphasizing the critical role of visual information alongside textual data."
998
+ ],
999
+ "bbox": [
1000
+ 134,
1001
+ 112,
1002
+ 489,
1003
+ 841
1004
+ ],
1005
+ "page_idx": 7
1006
+ },
1007
+ {
1008
+ "type": "text",
1009
+ "text": "Statistical Analysis: We conducted a statistical t-test to compare the performance of the proposed multimodal model, utilizing both image and text data, with that of unimodal models. The analysis",
1010
+ "bbox": [
1011
+ 112,
1012
+ 854,
1013
+ 487,
1014
+ 917
1015
+ ],
1016
+ "page_idx": 7
1017
+ },
1018
+ {
1019
+ "type": "image",
1020
+ "img_path": "images/0f792ccbe22ac352fc0a70f43fd3821100626402ddda0b50c11da6a681321df7.jpg",
1021
+ "image_caption": [
1022
+ "Actual: I was given penicillin for my ongoing treatment. About 4 hours later, I started feeling really sick. I came down with a high fever, nausea, vomiting, and a terrible headache. My whole body ached, and got this type of rash on my skin. What type of rash it is?",
1023
+ "Figure 7: An example case study where a sample image and its corresponding text are provided along with the generated text from all models in both unimodal and multimodal settings."
1024
+ ],
1025
+ "image_footnote": [],
1026
+ "bbox": [
1027
+ 532,
1028
+ 95,
1029
+ 596,
1030
+ 148
1031
+ ],
1032
+ "page_idx": 7
1033
+ },
1034
+ {
1035
+ "type": "table",
1036
+ "img_path": "images/35a3ce8b1583783cec90f27ceea46d0766e364f1df959e6c179eb6b00fcc4941.jpg",
1037
+ "table_caption": [],
1038
+ "table_footnote": [],
1039
+ "table_body": "<table><tr><td>Model</td><td>Unimodal\n(Blank Image and Text)</td><td>Multimodal\n(Image and Text)</td></tr><tr><td>BLIP</td><td>A man with a large stomach and a large stomach.</td><td>A close up of a person&#x27;s stomach covered in a red rash.</td></tr><tr><td>GIT</td><td>A middle aged man sits on an exam table in a doctor&#x27;s office, looking unwell.</td><td>A man with a lot of red spots suffering from rashes.</td></tr><tr><td>InstructBLIP</td><td>A person&#x27;s covered in a red rash.</td><td>The image shows red spots on the abdomen, which is unusual for a person. The red spots are likely caused by a skin condition, such as syphilis.</td></tr></table>",
1040
+ "bbox": [
1041
+ 532,
1042
+ 152,
1043
+ 860,
1044
+ 277
1045
+ ],
1046
+ "page_idx": 7
1047
+ },
1048
+ {
1049
+ "type": "text",
1050
+ "text": "yielded a p-value below 0.05, indicating a significant difference in performance between the two. The detailed explanation is given in Section 14 of Appendix.",
1051
+ "bbox": [
1052
+ 507,
1053
+ 385,
1054
+ 882,
1055
+ 450
1056
+ ],
1057
+ "page_idx": 7
1058
+ },
1059
+ {
1060
+ "type": "text",
1061
+ "text": "6.2 Qualitative Analysis",
1062
+ "text_level": 1,
1063
+ "bbox": [
1064
+ 507,
1065
+ 463,
1066
+ 714,
1067
+ 478
1068
+ ],
1069
+ "page_idx": 7
1070
+ },
1071
+ {
1072
+ "type": "text",
1073
+ "text": "We performed an extensive qualitative analysis of the responses generated by various models in both unimodal and multimodal settings, complemented by several case studies. A detailed case study is depicted in Fig. 7. The analysis has led to the following conclusion: (a) In multimodal settings, all the models demonstrate superior performance and exhibit a greater ability to capture crucial visual information conveyed through images than in unimodal settings (refer to Table 4 and 5). (b) Observations also revealed that models such as BLIP and GIT tended to hallucinate, as evidenced by Fig. 7, occasionally generating facts that were entirely unrelated to the context. (c) InstructBLIP demonstrates superior performance, leading us to conclude that providing instructions during finetuning prompts the model to selectively focus on pertinent visual features. This focused attention encourages the model to generate target sequences that closely resemble the desired output. We have presented a case study demonstrating that model performance is not solely determined by the number of samples in the dataset but also by other factors such as the distinct visual characteristics of different types of ADEs present in the dataset. A detailed explanation is provided in the Section 15 of Appendix.",
1074
+ "bbox": [
1075
+ 505,
1076
+ 483,
1077
+ 884,
1078
+ 917
1079
+ ],
1080
+ "page_idx": 7
1081
+ },
1082
+ {
1083
+ "type": "page_number",
1084
+ "text": "11221",
1085
+ "bbox": [
1086
+ 477,
1087
+ 927,
1088
+ 522,
1089
+ 940
1090
+ ],
1091
+ "page_idx": 7
1092
+ },
1093
+ {
1094
+ "type": "table",
1095
+ "img_path": "images/a80744f396b4900ab110544cd9a0f81debb7f0fbc2dbbf68ceb2392e42d23a13.jpg",
1096
+ "table_caption": [
1097
+ "Table 5: The performance evaluation of the models using ROUGE and BLEU Scores in the unimodal dataset setting."
1098
+ ],
1099
+ "table_footnote": [],
1100
+ "table_body": "<table><tr><td rowspan=\"2\">Model</td><td colspan=\"3\">ROUGE</td><td colspan=\"3\">BLEU</td></tr><tr><td>R1</td><td>R2</td><td>RL</td><td>B1</td><td>B2</td><td>B3</td></tr><tr><td>LSTM+VGG16</td><td>0.133</td><td>0.018</td><td>0.101</td><td>0.141</td><td>0.012</td><td>0.001</td></tr><tr><td>LSTM+ResNet50</td><td>0.146</td><td>0.029</td><td>0.112</td><td>0.152</td><td>0.016</td><td>0.002</td></tr><tr><td>BLIP</td><td>0.158</td><td>0.032</td><td>0.129</td><td>0.161</td><td>0.019</td><td>0.002</td></tr><tr><td>GIT</td><td>0.169</td><td>0.035</td><td>0.137</td><td>0.172</td><td>0.020</td><td>0.003</td></tr><tr><td>InstructBLIP</td><td>0.211</td><td>0.087</td><td>0.172</td><td>0.197</td><td>0.089</td><td>0.006</td></tr></table>",
1101
+ "bbox": [
1102
+ 117,
1103
+ 136,
1104
+ 487,
1105
+ 234
1106
+ ],
1107
+ "page_idx": 8
1108
+ },
1109
+ {
1110
+ "type": "text",
1111
+ "text": "7 Risk Analysis",
1112
+ "text_level": 1,
1113
+ "bbox": [
1114
+ 112,
1115
+ 263,
1116
+ 268,
1117
+ 280
1118
+ ],
1119
+ "page_idx": 8
1120
+ },
1121
+ {
1122
+ "type": "text",
1123
+ "text": "While our multimodal model demonstrates promise, it is essential to have medical experts and pharmacovigilance teams validate the findings, considering other critical factors. Our model and dataset are intended to support medical professionals rather than replace them.",
1124
+ "bbox": [
1125
+ 112,
1126
+ 290,
1127
+ 489,
1128
+ 387
1129
+ ],
1130
+ "page_idx": 8
1131
+ },
1132
+ {
1133
+ "type": "text",
1134
+ "text": "8 Conclusion and Future Work",
1135
+ "text_level": 1,
1136
+ "bbox": [
1137
+ 112,
1138
+ 401,
1139
+ 401,
1140
+ 416
1141
+ ],
1142
+ "page_idx": 8
1143
+ },
1144
+ {
1145
+ "type": "text",
1146
+ "text": "In this paper, we present the task of ADE detection within pharmacovigilance mining, leveraging multimodal datasets. In order to solve this task, we have created a multimodal ADE dataset, MMADE, containing images and corresponding descriptions, enhancing decision-making with the inclusion of visual cues. We have employed InstructBLIP, finetuned with the proposed dataset, and compared it with other models. Our findings suggest that domain-specific fine-tuning significantly enhances overall performance, emphasizing the importance of multimodal visual cues. We envision MMADE as a pivotal resource for advancing research in multimodal ADE detection. Moreover, our finetuned architecture holds promise as a valuable tool for pharmacovigilance teams, clinicians, and researchers, facilitating more effective ADE monitoring and ultimately improving patient safety and outcomes. In addition to expanding the dataset, future investigations could explore the potential of this multimodal dataset in tasks such as ADE severity classification and summarization.",
1147
+ "bbox": [
1148
+ 112,
1149
+ 428,
1150
+ 489,
1151
+ 782
1152
+ ],
1153
+ "page_idx": 8
1154
+ },
1155
+ {
1156
+ "type": "text",
1157
+ "text": "9 Limitations",
1158
+ "text_level": 1,
1159
+ "bbox": [
1160
+ 112,
1161
+ 795,
1162
+ 250,
1163
+ 810
1164
+ ],
1165
+ "page_idx": 8
1166
+ },
1167
+ {
1168
+ "type": "text",
1169
+ "text": "While our effort aimed to develop an ADE detection framework and introduce the novel MMADE dataset, comprising textual descriptions of drug events paired with images, it is crucial to acknowledge certain limitations inherent in the dataset. Specifically, our dataset primarily focuses on drug",
1170
+ "bbox": [
1171
+ 112,
1172
+ 822,
1173
+ 489,
1174
+ 920
1175
+ ],
1176
+ "page_idx": 8
1177
+ },
1178
+ {
1179
+ "type": "text",
1180
+ "text": "events associated with external body parts, omitting data about internal conditions such as liver infections, kidney stones, or psychological ailments like depression and migraine. Acquiring a substantial volume of image-text pairs within the ADE domain presents inherent challenges, including data privacy concerns, regulatory constraints, and the specialized nature of ADE occurrences. Despite these obstacles, our research breaks new ground by integrating images with text, solving a real-world challenge where individuals affected by ADE may resort to image sharing for communication when verbally expressing their symptoms is difficult. Moving forward, we aim to enhance the dataset by incorporating more ADE-related images and expanding its utility through additional tasks such as complaint identification and text summarization.",
1181
+ "bbox": [
1182
+ 507,
1183
+ 84,
1184
+ 884,
1185
+ 357
1186
+ ],
1187
+ "page_idx": 8
1188
+ },
1189
+ {
1190
+ "type": "text",
1191
+ "text": "10 Ethics and Broader Impact",
1192
+ "text_level": 1,
1193
+ "bbox": [
1194
+ 509,
1195
+ 369,
1196
+ 789,
1197
+ 386
1198
+ ],
1199
+ "page_idx": 8
1200
+ },
1201
+ {
1202
+ "type": "text",
1203
+ "text": "User Privacy.",
1204
+ "text_level": 1,
1205
+ "bbox": [
1206
+ 509,
1207
+ 395,
1208
+ 620,
1209
+ 410
1210
+ ],
1211
+ "page_idx": 8
1212
+ },
1213
+ {
1214
+ "type": "text",
1215
+ "text": "Our dataset contains AD images and corresponding text tweets with annotation labels and no personal user information.",
1216
+ "bbox": [
1217
+ 507,
1218
+ 414,
1219
+ 880,
1220
+ 461
1221
+ ],
1222
+ "page_idx": 8
1223
+ },
1224
+ {
1225
+ "type": "text",
1226
+ "text": "Biases.",
1227
+ "text_level": 1,
1228
+ "bbox": [
1229
+ 509,
1230
+ 470,
1231
+ 568,
1232
+ 483
1233
+ ],
1234
+ "page_idx": 8
1235
+ },
1236
+ {
1237
+ "type": "text",
1238
+ "text": "Any biases detected in the dataset are inadvertent, and we have no intention of harming anyone or any group. We acknowledge that evaluating whether a tweet is ADE can be subjective, so we have taken agreement from all the annotators before selecting the data.",
1239
+ "bbox": [
1240
+ 507,
1241
+ 489,
1242
+ 882,
1243
+ 583
1244
+ ],
1245
+ "page_idx": 8
1246
+ },
1247
+ {
1248
+ "type": "text",
1249
+ "text": "Intended Use.",
1250
+ "text_level": 1,
1251
+ "bbox": [
1252
+ 509,
1253
+ 595,
1254
+ 621,
1255
+ 608
1256
+ ],
1257
+ "page_idx": 8
1258
+ },
1259
+ {
1260
+ "type": "text",
1261
+ "text": "We share our data to promote more research on Adverse drug event detection. We only release the dataset for research purposes and do not grant a license for commercial use.",
1262
+ "bbox": [
1263
+ 507,
1264
+ 614,
1265
+ 880,
1266
+ 677
1267
+ ],
1268
+ "page_idx": 8
1269
+ },
1270
+ {
1271
+ "type": "text",
1272
+ "text": "References",
1273
+ "text_level": 1,
1274
+ "bbox": [
1275
+ 510,
1276
+ 703,
1277
+ 608,
1278
+ 719
1279
+ ],
1280
+ "page_idx": 8
1281
+ },
1282
+ {
1283
+ "type": "list",
1284
+ "sub_type": "ref_text",
1285
+ "list_items": [
1286
+ "Eiji Aramaki, Yasuhide Miura, Masatsugu Tonoike, Tomoko Ohkuma, Hiroshi Masuichi, Kayo Waki, and Kazuhiko Ohe. 2010. Extraction of adverse drug effects from clinical records. In MEDINFO 2010, pages 739-743. IOS Press.",
1287
+ "Adrian Benton, Lyle Ungar, Shawndra Hill, Sean Hennessy, Jun Mao, Annie Chung, Charles E Leonard, and John H Holmes. 2011. Identifying potential adverse effects using the web: A new approach to medical hypothesis generation. Journal of biomedical informatics, 44(6):989-996.",
1288
+ "Shaika Chowdhury, Chenwei Zhang, and Philip S Yu. 2018. Multi-task pharmacovigilance mining from"
1289
+ ],
1290
+ "bbox": [
1291
+ 509,
1292
+ 726,
1293
+ 885,
1294
+ 919
1295
+ ],
1296
+ "page_idx": 8
1297
+ },
1298
+ {
1299
+ "type": "page_number",
1300
+ "text": "11222",
1301
+ "bbox": [
1302
+ 477,
1303
+ 927,
1304
+ 524,
1305
+ 940
1306
+ ],
1307
+ "page_idx": 8
1308
+ },
1309
+ {
1310
+ "type": "list",
1311
+ "sub_type": "ref_text",
1312
+ "list_items": [
1313
+ "social media posts. In Proceedings of the 2018 World Wide Web Conference, pages 117-126.",
1314
+ "Wenliang Dai, Junnan Li, Dongxu Li, Anthony Meng Huat Tiong, Junqi Zhao, Weisheng Wang, Boyang Li, Pascale Fung, and Steven Hoi. 2023. Instructclip: Towards general-purpose vision-language models with instruction tuning.",
1315
+ "Karel D'Oosterlinck, François Remy, Johannes Deleu, Thomas Demeester, Chris Develder, Klim Zaporojets, Aneiss Ghodsi, Simon Ellershaw, Jack Collins, and Christopher Potts. 2023. *Biodex: Large-scale biomedical adverse drug event extraction for real-world pharmacovigilance.* arXiv preprint arXiv:2305.13395.",
1316
+ "Akash Ghosh, Arkadeep Acharya, Raghav Jain, Sriparna Saha, Aman Chadha, and Setu Sinha. 2024a. Clipsntel: CLIP and LLM synergy for multimodal question summarization in healthcare. In Thirty-Eighth AAAI Conference on Artificial Intelligence, AAAI 2024, Thirty-Sixth Conference on Innovative Applications of Artificial Intelligence, IAAI 2024, Fourteenth Symposium on Educational Advances in Artificial Intelligence, EAAI 2014, February 20-27, 2024, Vancouver, Canada, pages 22031-22039. AAAI Press.",
1317
+ "Akash Ghosh, Arkadeep Acharya, Prince Jha, Sriparna Saha, Aniket Gaudgaul, Rajdeep Majumdar, Aman Chadha, Raghav Jain, Setu Sinha, and Shivani Agarwal. 2024b. Medsumm: A multimodal approach to summarizing code-mixed Hindi-english clinical queries. In Advances in Information Retrieval - 46th European Conference on Information Retrieval, ECIR 2024, Glasgow, UK, March 24-28, 2024, Proceedings, Part V, volume 14612 of Lecture Notes in Computer Science, pages 106-120. Springer.",
1318
+ "Harsha Gurulingappa, Juliane Fluck, Martin Hofmann-Apitius, and Luca Toldo. 2011. Identification of adverse drug event assertive sentences in medical case reports. In First international workshop on knowledge discovery and health care management (KD-HCM), European conference on machine learning and principles and practice of knowledge discovery in databases (ECML PKDD), pages 16-27.",
1319
+ "Harsha Gurulingappa, Roman Klinger, Martin Hofmann-Apitius, and Juliane Fluck. 2010. An empirical evaluation of resources for the identification of diseases and adverse effects in biomedical literature. In 2nd Workshop on Building and evaluating resources for biomedical text mining (7th edition of the Language Resources and Evaluation Conference), pages 15-22.",
1320
+ "Harsha Gurulingappa, Abdul Mateen-Rajpu, and Luca Toldo. 2012a. Extraction of potential adverse drug events from medical case reports. Journal of biomedical semantics, 3(1):1-10.",
1321
+ "Harsha Gurulingappa, Abdul Mateen Rajput, Angus Roberts, Juliane Fluck, Martin Hofmann-Apitius, and"
1322
+ ],
1323
+ "bbox": [
1324
+ 115,
1325
+ 85,
1326
+ 487,
1327
+ 917
1328
+ ],
1329
+ "page_idx": 9
1330
+ },
1331
+ {
1332
+ "type": "list",
1333
+ "sub_type": "ref_text",
1334
+ "list_items": [
1335
+ "Luca Toldo. 2012b. Development of a benchmark corpus to support the automatic extraction of drug-related adverse effects from medical case reports. Journal of biomedical informatics, 45(5):885-892.",
1336
+ "Katja M Hakkarainen, Khadidja Hedna, Max Petzold, and Staffan Hägg. 2012. Percentage of patients with preventable adverse drug reactions and preventability of adverse drug reactions-a meta-analysis. PloS one, 7(3):e33236.",
1337
+ "Rave Harpaz, Santiago Vilar, William DuMouchel, Hajjat Salmasian, Krystl Haerian, Nigam H Shah, Herbert S Chase, and Carol Friedman. 2013. Combining signals from spontaneous reports and electronic health records for detection of adverse drug reactions. Journal of the American Medical Informatics Association, 20(3):413-419.",
1338
+ "Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. 2016. Deep residual learning for image recognition. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 770-778.",
1339
+ "Trung Huynh, Yulan He, Alistair Willis, and Stefan Rueger. 2016. Adverse drug reaction classification with deep neural networks. In Proceedings of COLING 2016, the 26th International Conference on Computational Linguistics: Technical Papers, pages 877-887, Osaka, Japan. The COLING 2016 Organizing Committee.",
1340
+ "Sarvnaz Karimi, Alejandro Metke-Jimenez, Madonna Kemp, and Chen Wang. 2015a. Cadec: A corpus of adverse drug event annotations. Journal of biomedical informatics, 55:73-81.",
1341
+ "SarvNaz Karimi, Chen Wang, Alejandro Metke-Jimenez, Raj Gaire, and Cecile Paris. 2015b. Text and data mining techniques in adverse drug reaction detection. ACM Computing Surveys (CSUR), 47(4):1-39.",
1342
+ "Robert Leaman, Laura Wojtulewicz, Ryan Sullivan, Annie Skariah, Jian Yang, and Graciela Gonzalez. 2010. Towards internet-age pharmacovigilance: extracting adverse drug reactions from user posts in health-related social networks. In Proceedings of the 2010 workshop on biomedical natural language processing, pages 117-125.",
1343
+ "Junnan Li, Dongxu Li, Silvio Savarese, and Steven Hoi. 2023. Blip-2: Bootstrapping language-image pretraining with frozen image encoders and large language models.",
1344
+ "Junnan Li, Dongxu Li, Caiming Xiong, and Steven Hoi. 2022. Blip: Bootstrapping language-image pretraining for unified vision-language understanding and generation. In International Conference on Machine Learning, pages 12888-12900. PMLR.",
1345
+ "Chin-Yew Lin. 2004. ROUGE: A package for automatic evaluation of summaries. In Text Summarization Branches Out, pages 74-81, Barcelona, Spain. Association for Computational Linguistics."
1346
+ ],
1347
+ "bbox": [
1348
+ 510,
1349
+ 85,
1350
+ 880,
1351
+ 917
1352
+ ],
1353
+ "page_idx": 9
1354
+ },
1355
+ {
1356
+ "type": "page_number",
1357
+ "text": "11223",
1358
+ "bbox": [
1359
+ 477,
1360
+ 928,
1361
+ 524,
1362
+ 940
1363
+ ],
1364
+ "page_idx": 9
1365
+ },
1366
+ {
1367
+ "type": "list",
1368
+ "sub_type": "ref_text",
1369
+ "list_items": [
1370
+ "Azadeh Nikfarjam and Graciela H Gonzalez. 2011. Pattern mining for extraction of mentions of adverse drug reactions from user comments. In AMIA annual symposium proceedings, volume 2011, page 1019. American Medical Informatics Association.",
1371
+ "Azadeh Nikfarjam, Abeed Sarker, Karen O'connor, Rachel Ginn, and Graciela Gonzalez. 2015. Pharmacovigilance from social media: mining adverse drug reaction mentions using sequence labeling with word embedding cluster features. Journal of the American Medical Informatics Association, 22(3):671-681.",
1372
+ "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.",
1373
+ "Pranab Sahoo, Prakash Meharia, Akash Ghosh, Sriparna Saha, Vinija Jain, and Aman Chadha. 2024a. Unveiling hallucination in text, image, video, and audio foundation models: A comprehensive survey. arXiv preprint arXiv:2405.09589.",
1374
+ "Pranab Sahoo, Ayush Kumar Singh, Sriparna Saha, Vinija Jain, Samrat Mondal, and Aman Chadha. 2024b. A systematic survey of prompt engineering in large language models: Techniques and applications. arXiv preprint arXiv:2402.07927.",
1375
+ "Abeed Sarker and Graciela Gonzalez. 2015. Portable automatic text classification for adverse drug reaction detection via multi-corpus training. Journal of biomedical informatics, 53:196-207.",
1376
+ "Abeed Sarker, Azadeh Nikfarjam, and Graciela Gonzalez. 2016. Social media mining shared task workshop. In Biocomputing 2016: Proceedings of the Pacific Symposium, pages 581-592. World Scientific.",
1377
+ "Ryoma Sato, Makoto Yamada, and Hisashi Kashima. 2022. Re-evaluating word mover's distance. In International Conference on Machine Learning, pages 19231-19249. PMLR.",
1378
+ "Karen Simonyan and Andrew Zisserman. 2014. Very deep convolutional networks for large-scale image recognition. arXiv preprint arXiv:1409.1556.",
1379
+ "Janet Sultana, Paola Cutroneo, and Gianluca Trifiro. 2013. Clinical and economic burden of adverse drug reactions. Journal of Pharmacology and Pharmacotherapeutics, 4(1_suppl):S73-S77.",
1380
+ "Omkar Thawkar, Abdelrahman Shaker, Sahal Shaji Mullappilly, Hisham Cholakkal, Rao Muhammad Anwer, Salman Khan, Jorma Laaksonen, and Fahad Shahbaz Khan. 2023. Xraygpt: Chest radiographs summarization using medical vision-language models. arXiv preprint arXiv:2306.07971.",
1381
+ "Elena Tutubalina, Sergey Nikolenko, et al. 2017. Combination of deep recurrent neural networks and conditional random fields for extracting adverse drug reactions from user reviews. Journal of healthcare engineering, 2017."
1382
+ ],
1383
+ "bbox": [
1384
+ 115,
1385
+ 85,
1386
+ 489,
1387
+ 917
1388
+ ],
1389
+ "page_idx": 10
1390
+ },
1391
+ {
1392
+ "type": "list",
1393
+ "sub_type": "ref_text",
1394
+ "list_items": [
1395
+ "Anthony J Viera, Joanne M Garrett, et al. 2005. Understanding interobserver agreement: the kappa statistic. Fam med, 37(5):360-363.",
1396
+ "Jianfeng Wang, Zhengyuan Yang, Xiaowei Hu, Linjie Li, Kevin Lin, Zhe Gan, Zicheng Liu, Ce Liu, and Lijuan Wang. 2022. Git: A generative image-to-text transformer for vision and language. arXiv preprint arXiv:2205.14100.",
1397
+ "Xiaoyan Wang, George Hripcsak, Marianthi Markatou, and Carol Friedman. 2009. Active computerized pharmacovigilance using natural language processing, statistics, and electronic health records: a feasibility study. Journal of the American Medical Informatics Association, 16(3):328-337.",
1398
+ "Shweta Yadav, Asif Ekbal, and Sriparna Saha. 2018a. Feature selection for entity extraction from multiple biomedical corpora: A pso-based approach. Soft Computing, 22(20):6881-6904.",
1399
+ "Shweta Yadav, Asif Ekbal, Sriparna Saha, and Pushpak Bhattacharyya. 2019. A unified multi-task adversarial learning framework for pharmacovigilance mining. In Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics, pages 5234-5245, Florence, Italy. Association for Computational Linguistics.",
1400
+ "Shweta Yadav, Asif Ekbal, Sriparna Saha, Pushpak Bhattacharyya, and Amit Sheth. 2018b. Multi-task learning framework for mining crowd intelligence towards clinical treatment. 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 271-277, New Orleans, Louisiana. Association for Computational Linguistics.",
1401
+ "Shweta Yadav, Srivatsa Ramesh, Sriparna Saha, and Asif Ekbal. 2020. Relation extraction from biomedical and clinical text: Unified multitask learning framework. IEEE/ACM transactions on computational biology and bioinformatics, 19(2):1105-1116.",
1402
+ "Jingyi Zhang, Jiaxing Huang, Sheng Jin, and Shijian Lu. 2023. Vision-language models for vision tasks: A survey.",
1403
+ "Tianyi Zhang, Varsha Kishore, Felix Wu, Kilian Q Weinberger, and Yoav Artzi. 2019. Bertscore: Evaluating text generation with bert. arXiv preprint arXiv:1904.09675.",
1404
+ "Zhifei Zhang, JY Nie, and Xuyao Zhang. 2016. An ensemble method for binary classification of adverse drug reactions from social media. In Proceedings of the Social Media Mining Shared Task Workshop at the Pacific Symposium on Biocomputing, volume 1.",
1405
+ "Wei Zhao, Maxime Peyrard, Fei Liu, Yang Gao, Christian M Meyer, and Steffen Eger. 2019. Moverscore: Text generation evaluating with contextualized embeddings and earth mover distance. arXiv preprint arXiv:1909.02622."
1406
+ ],
1407
+ "bbox": [
1408
+ 510,
1409
+ 85,
1410
+ 882,
1411
+ 917
1412
+ ],
1413
+ "page_idx": 10
1414
+ },
1415
+ {
1416
+ "type": "page_number",
1417
+ "text": "11224",
1418
+ "bbox": [
1419
+ 477,
1420
+ 928,
1421
+ 524,
1422
+ 940
1423
+ ],
1424
+ "page_idx": 10
1425
+ },
1426
+ {
1427
+ "type": "text",
1428
+ "text": "Juexiao Zhou and Xin Gao. 2023. Skingpt: A dermatology diagnostic system with vision large language model. arXiv preprint arXiv:2304.10691.",
1429
+ "bbox": [
1430
+ 114,
1431
+ 85,
1432
+ 487,
1433
+ 124
1434
+ ],
1435
+ "page_idx": 11
1436
+ },
1437
+ {
1438
+ "type": "text",
1439
+ "text": "Appendix",
1440
+ "text_level": 1,
1441
+ "bbox": [
1442
+ 114,
1443
+ 137,
1444
+ 203,
1445
+ 153
1446
+ ],
1447
+ "page_idx": 11
1448
+ },
1449
+ {
1450
+ "type": "text",
1451
+ "text": "11 Experimental Settings",
1452
+ "text_level": 1,
1453
+ "bbox": [
1454
+ 114,
1455
+ 162,
1456
+ 349,
1457
+ 179
1458
+ ],
1459
+ "page_idx": 11
1460
+ },
1461
+ {
1462
+ "type": "text",
1463
+ "text": "This section provides the hyperparameters and experimental setups utilized in the study. All experiments were conducted using multiple RTX 2080Ti GPUs. The dataset was partitioned, allocating $80\\%$ for training and $20\\%$ for testing. For InstructBLIP, the learning rate was set to 1e-5, executed for 50 epochs, with a batch size of 2. Similarly, for the BLIP model, a learning rate of 0.0001 was utilized and executed for 50 epochs, with a batch size of 2. For GIT fine-tuning, a learning rate of 5e-3 was applied for 50 epochs, with a batch size of 2. All models were implemented using Scikit-Learn and PyTorch as the backend framework.",
1464
+ "bbox": [
1465
+ 112,
1466
+ 187,
1467
+ 489,
1468
+ 395
1469
+ ],
1470
+ "page_idx": 11
1471
+ },
1472
+ {
1473
+ "type": "text",
1474
+ "text": "12 Fine-tuning",
1475
+ "text_level": 1,
1476
+ "bbox": [
1477
+ 114,
1478
+ 407,
1479
+ 260,
1480
+ 424
1481
+ ],
1482
+ "page_idx": 11
1483
+ },
1484
+ {
1485
+ "type": "text",
1486
+ "text": "We have followed several steps to fine-tune BLIP on our multimodal dataset. First, we have prepared the dataset in JSON format, which is compatible with the BLIP framework, and each image-text pair is represented as a dictionary with the following keys: image_path: The path to the image file, text: The caption or other text description of the image. We have fine-tuned BLIP with learning rate $= 0.001$ , number of epochs $= 50$ , and batch size $= 16$ . The training process takes 6 hours for the fine-tuning, and we evaluate the performance on a held-out test set.",
1487
+ "bbox": [
1488
+ 112,
1489
+ 432,
1490
+ 487,
1491
+ 625
1492
+ ],
1493
+ "page_idx": 11
1494
+ },
1495
+ {
1496
+ "type": "text",
1497
+ "text": "To fine-tune the GIT model on the proposed MMADE dataset, we utilized the Hugging Face Transformers library and followed a systematic process. First, we prepared the data using a PyTorch dataset, converting it into the required format using the GitProcessor class. Finally, we have utilized the GIT-base model, which is pre-trained on a substantial dataset of image-text pairs. We have utilized Parameters such as a learning rate $= 5\\mathrm{e} - 3$ epochs $= 30$ and batch size $= 2$ . The optimization was performed using the Adam optimizer with the cross-entropy loss function, and the fine-tuning process took 3 hours.",
1498
+ "bbox": [
1499
+ 112,
1500
+ 627,
1501
+ 487,
1502
+ 834
1503
+ ],
1504
+ "page_idx": 11
1505
+ },
1506
+ {
1507
+ "type": "text",
1508
+ "text": "To fine-tune the CNN-LSTM model, we leverage the CNN models (VGG16 and ResNet50) to extract image features, followed by an LSTM for",
1509
+ "bbox": [
1510
+ 112,
1511
+ 835,
1512
+ 487,
1513
+ 883
1514
+ ],
1515
+ "page_idx": 11
1516
+ },
1517
+ {
1518
+ "type": "text",
1519
+ "text": "sequence generation. Model compilation involves the use of categorical cross-entropy loss and the Adam optimizer. Training proceeds for 40 epochs, utilizing a batch size of 32.",
1520
+ "bbox": [
1521
+ 507,
1522
+ 84,
1523
+ 882,
1524
+ 149
1525
+ ],
1526
+ "page_idx": 11
1527
+ },
1528
+ {
1529
+ "type": "text",
1530
+ "text": "13 Evaluation Metrics",
1531
+ "text_level": 1,
1532
+ "bbox": [
1533
+ 509,
1534
+ 161,
1535
+ 721,
1536
+ 177
1537
+ ],
1538
+ "page_idx": 11
1539
+ },
1540
+ {
1541
+ "type": "text",
1542
+ "text": "We have utilized BLEU score (Papineni et al., 2002), ROUGE score (Lin, 2004), BERTScore (Zhang et al., 2019) and Mover-Score (Zhao et al., 2019). BLEU score is utilized to assess the quality of machine-generated text by comparing it to human-generated reference text. It measures the similarity in word sequences between the machine-generated and human reference texts using n-grams, penalizing shorter machine-generated texts to provide a quantitative measure of translation accuracy. The ROUGE score is also used to evaluate the quality of machine-generated summaries compared to human-written summaries. It works by calculating the overlap of n-grams between the machine-generated summary and the reference summaries. ROUGE and BLEU metrics evaluate text quality based on syntactic overlap, considering unigrams and bigrams, lacking the ability to decode semantic meaning effectively. However, BERTScore focuses on understanding the semantic meaning of generated text compared to the intended text, enabling a more nuanced and accurate comparison. MoverScore is a way to measure how similar a machine-generated text is to a human-written text. It does this by using BERT embeddings to understand the meaning of the words and sentences in both texts and then using Word Mover's Distance (Sato et al., 2022) to measure how similar the two texts are.",
1543
+ "bbox": [
1544
+ 507,
1545
+ 187,
1546
+ 884,
1547
+ 653
1548
+ ],
1549
+ "page_idx": 11
1550
+ },
1551
+ {
1552
+ "type": "text",
1553
+ "text": "14 Statistical Analysis",
1554
+ "text_level": 1,
1555
+ "bbox": [
1556
+ 509,
1557
+ 667,
1558
+ 717,
1559
+ 684
1560
+ ],
1561
+ "page_idx": 11
1562
+ },
1563
+ {
1564
+ "type": "text",
1565
+ "text": "In this study, we employed the paired t-test to assess the statistical significance of differences between the outcomes of unimodal and multimodal models. The null hypothesis (H0) assumes no significant disparity in scores, while the alternative hypothesis (H1) proposes the opposite. We structured our analysis around the assumption of paired data, where each BLEU score corresponds to the same model in different settings (Multimodal Vs. Unimodal). By applying the paired t-test, we aimed to rigorously evaluate performance disparities and offer insights into the models' relative effectiveness. The obtained p-values for ROUGE, BLEU and BERTScore scores were 0.008, 0.0097 and",
1566
+ "bbox": [
1567
+ 507,
1568
+ 694,
1569
+ 882,
1570
+ 917
1571
+ ],
1572
+ "page_idx": 11
1573
+ },
1574
+ {
1575
+ "type": "page_footnote",
1576
+ "text": "<sup>8</sup>https://scikit-learn.org/stable/",
1577
+ "bbox": [
1578
+ 134,
1579
+ 890,
1580
+ 435,
1581
+ 904
1582
+ ],
1583
+ "page_idx": 11
1584
+ },
1585
+ {
1586
+ "type": "page_footnote",
1587
+ "text": "$^{9}$ https://pytorch.org/",
1588
+ "bbox": [
1589
+ 134,
1590
+ 904,
1591
+ 326,
1592
+ 917
1593
+ ],
1594
+ "page_idx": 11
1595
+ },
1596
+ {
1597
+ "type": "page_number",
1598
+ "text": "11225",
1599
+ "bbox": [
1600
+ 477,
1601
+ 927,
1602
+ 524,
1603
+ 940
1604
+ ],
1605
+ "page_idx": 11
1606
+ },
1607
+ {
1608
+ "type": "image",
1609
+ "img_path": "images/8f9f91d1168552918b6a582f65d28df839697e2d8f868b1211491d1603e4505d.jpg",
1610
+ "image_caption": [
1611
+ "Figure 8: Illustration of a case study showcasing the performance of the InstructBLIP model from the dataset"
1612
+ ],
1613
+ "image_footnote": [],
1614
+ "bbox": [
1615
+ 134,
1616
+ 89,
1617
+ 468,
1618
+ 244
1619
+ ],
1620
+ "page_idx": 12
1621
+ },
1622
+ {
1623
+ "type": "text",
1624
+ "text": "0.0316, respectively, both below the 0.05 threshold, leading to the rejection of the null hypothesis.",
1625
+ "bbox": [
1626
+ 112,
1627
+ 317,
1628
+ 489,
1629
+ 350
1630
+ ],
1631
+ "page_idx": 12
1632
+ },
1633
+ {
1634
+ "type": "image",
1635
+ "img_path": "images/de6c5d46c3296a45d5d157a103f74f2fc277353cf8ced4c4c11809c3bf2359ec.jpg",
1636
+ "image_caption": [
1637
+ "Figure 9: Example of the sample image and corresponding text from the dataset along with generated text from the Proposed model with two other models."
1638
+ ],
1639
+ "image_footnote": [],
1640
+ "bbox": [
1641
+ 166,
1642
+ 373,
1643
+ 436,
1644
+ 638
1645
+ ],
1646
+ "page_idx": 12
1647
+ },
1648
+ {
1649
+ "type": "text",
1650
+ "text": "15 Case study",
1651
+ "text_level": 1,
1652
+ "bbox": [
1653
+ 114,
1654
+ 733,
1655
+ 253,
1656
+ 750
1657
+ ],
1658
+ "page_idx": 12
1659
+ },
1660
+ {
1661
+ "type": "text",
1662
+ "text": "The case study depicted in Fig. 8 reveals intriguing insights across various body parts. In the first row, depicting rashes, fine-tuned InstructBLIP accurately identifies distinct body parts and key findings, potentially attributed to the diverse visual characteristics of different rash types prevalent in the dataset with the largest portion of $81.06\\%$ . However, performance in identifying mouth-related ADEs is less satisfactory despite comprising $5.93\\%$ of the dataset, likely due to potential confusion with other",
1663
+ "bbox": [
1664
+ 112,
1665
+ 758,
1666
+ 490,
1667
+ 917
1668
+ ],
1669
+ "page_idx": 12
1670
+ },
1671
+ {
1672
+ "type": "text",
1673
+ "text": "oral features like the tongue, teeth, or lips. Conversely, despite eye-related problems representing only $1.8\\%$ of the dataset, the model performs comparatively better in this category, possibly because it focuses specifically on infected regions, enhancing its ability to identify relevant features accurately.",
1674
+ "bbox": [
1675
+ 507,
1676
+ 84,
1677
+ 884,
1678
+ 197
1679
+ ],
1680
+ "page_idx": 12
1681
+ },
1682
+ {
1683
+ "type": "text",
1684
+ "text": "16 Comparative output",
1685
+ "text_level": 1,
1686
+ "bbox": [
1687
+ 509,
1688
+ 209,
1689
+ 729,
1690
+ 225
1691
+ ],
1692
+ "page_idx": 12
1693
+ },
1694
+ {
1695
+ "type": "text",
1696
+ "text": "We have added two more examples in Fig. 9 showing the ADR instances, corresponding ground truth, and the model-generated outputs.",
1697
+ "bbox": [
1698
+ 507,
1699
+ 233,
1700
+ 882,
1701
+ 282
1702
+ ],
1703
+ "page_idx": 12
1704
+ },
1705
+ {
1706
+ "type": "page_number",
1707
+ "text": "11226",
1708
+ "bbox": [
1709
+ 477,
1710
+ 927,
1711
+ 524,
1712
+ 940
1713
+ ],
1714
+ "page_idx": 12
1715
+ }
1716
+ ]
2024/Enhancing Adverse Drug Event Detection with Multimodal Dataset_ Corpus Creation and Model Development/5f2bd2d8-1c47-4ff0-bd6b-5d72a8900ae6_model.json ADDED
The diff for this file is too large to render. See raw diff
 
2024/Enhancing Adverse Drug Event Detection with Multimodal Dataset_ Corpus Creation and Model Development/5f2bd2d8-1c47-4ff0-bd6b-5d72a8900ae6_origin.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bc0aac0bcc3e3132f13f98b1a19602e4e41dd024b21624826b6ac95ea48d59bd
3
+ size 3680797
2024/Enhancing Adverse Drug Event Detection with Multimodal Dataset_ Corpus Creation and Model Development/full.md ADDED
@@ -0,0 +1,315 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Enhancing Adverse Drug Event Detection with Multimodal Dataset: Corpus Creation and Model Development
2
+
3
+ Pranab Sahoo<sup>1</sup>, Ayush Kumar Singh<sup>1</sup>, Sriparna Saha<sup>1</sup>, Aman Chadha<sup>2,3*</sup>, Samrat Mondal<sup>1</sup>
4
+
5
+ $^{1}$ Department of Computer Science And Engineering, Indian Institute of Technology Patna
6
+
7
+ $^{2}$ Stanford University, $^{3}$ Amazon GenAI
8
+
9
+ pranab_2021cs25@iitp.ac.in, ayush_2211ai27@iitp.ac.in, sriparna@iitp.ac.in, samrat@iitp.ac.in hi@aman.ai
10
+
11
+ # Abstract
12
+
13
+ The mining of adverse drug events (ADEs) is pivotal in pharmacovigilance, enhancing patient safety by identifying potential risks associated with medications, facilitating early detection of adverse events, and guiding regulatory decision-making. Traditional ADE detection methods are reliable but slow, not easily adaptable to large-scale operations, and offer limited information. With the exponential increase in data sources like social media content, biomedical literature, and Electronic Medical Records (EMR), extracting relevant ADE-related information from these unstructured texts is imperative. Previous ADE mining studies have focused on text-based methodologies, overlooking visual cues, limiting contextual comprehension, and hindering accurate interpretation. To address this gap, we present a MultiModal Adverse Drug Event (MMADE) detection dataset, merging ADE-related textual information with visual aids. Additionally, we introduce a framework that leverages the capabilities of LLMs and VLMs for ADE detection by generating detailed descriptions of medical images depicting ADEs, aiding healthcare professionals in visually identifying adverse events. Using our MMADE dataset, we showcase the significance of integrating visual cues from images to enhance overall performance. This approach holds promise for patient safety, ADE awareness, and healthcare accessibility, paving the way for further exploration in personalized healthcare. The code and dataset used in this work are publicly available<sup>1</sup>.
14
+
15
+ Disclaimer: The article features images that may be visually disturbing to some readers.
16
+
17
+ # 1 Introduction
18
+
19
+ An adverse drug event (ADE) encompasses any harm resulting from medication use, whether it's
20
+
21
+ unintended, off-label, or due to medication errors. Adverse drug reactions (ADRs) are a specific type of ADE, denoting unexpected harm arising from the proper use of medication at the prescribed dosage. Injuries from inappropriate or off-label use are not classified as ADRs (Karimi et al., 2015b). ADEs pose significant public health concerns, contributing to numerous fatalities, serious injuries, millions of hospitalizations, and prolonged hospital stays. Consequently, they impose substantial financial burdens, costing healthcare systems billions of dollars globally. Despite advancements in healthcare, ADE detection remains a significant challenge. Implementing effective detection and monitoring strategies can substantially mitigate the adverse impacts on patients and healthcare systems (Hakkarainen et al., 2012), (Yadav et al., 2018b), (Sultana et al., 2013). Most of the previous ADE detection works are based on text data only (D'Oosterlinck et al., 2023), (Sarker and Gonzalez, 2015), (Yadav et al., 2019), (Sarker et al., 2016), (Chowdhury et al., 2018), (Yadav et al., 2018a), which presents a significant disadvantage due to its subjective nature and lack of specific details of visual cues, leading to potential inaccuracies and incomplete categorization of ADE detection. Despite extensive research, the potential of integrating textual data with visual information, such as images, has been largely overlooked. Visual aids are essential in ADE detection for numerous reasons. A substantial proportion of the population lacks proficiency in medical jargon, hindering accurate symptom descriptions. Moreover, certain symptoms are inherently challenging to express through text alone. Patients may struggle to differentiate between similar symptoms, like skin rash, eczema, peeling, and blister. As depicted in Fig. 1, sample images may present confusion to individuals lacking adequate medical expertise. Integrating both text and images in these scenarios can enhance the accuracy and effectiveness of ADE detection,
22
+
23
+ offering a comprehensive understanding of the patient's current medical condition. To the best of our knowledge, ADE detection using both image and text data has not been explored previously, and we take this opportunity to introduce a MultiModal Adverse Drug Event (MMADE) dataset comprising ADR images paired with corresponding textual descriptions.
24
+
25
+ Large Language Models (LLMs) and Vision Language Models (VLMs) have exhibited remarkable skills in generating human-like text, prompting their integration into various medical applications, including tasks such as chest radiography report generation, summarization, and medical question answering (Thawkar et al., 2023), (Ghosh et al., 2024b), (Sahoo et al., 2024b), (Ghosh et al., 2024a). However, their potential in ADE detection, which involves both text and images, has yet to be explored. Leveraging LLMs and VLMs for this task presents inherent limitations as they are predominantly trained on generic natural images sourced from databases like ImageNet, Wikipedia, and the internet. Generic models may not possess the specialized medical knowledge required for comprehensive caption generation, potentially leading to oversimplified descriptions that overlook essential details like symptoms and medical intricacies. Furthermore, while VLMs have excelled in traditional visual-linguistic tasks, their application to medical imaging presents unique challenges that may hinder the accurate interpretation and description of complex medical images (Sahoo et al., 2024a). Specialized models such as XrayGPT (Thawkar et al., 2023) and SkinGPT4 (Zhou and Gao, 2023), which are trained on chest X-ray and skin disease images, exemplify the domain specificity required for accurate medical image analysis. This has led us to explore ADR detection within a multimodal framework. To support this exploration, we introduce MMADE, a carefully curated dataset crafted for this specific purpose. MMADE consists of 1500 instances of patient-reported concerns regarding drugs and associated side effects, each paired with both textual descriptions and corresponding images. In our study, we have employed Instruct-BLIP (Dai et al., 2023), which builds upon the strong foundation of BLIP-2 (Li et al., 2023), a pretrained model with high-quality visual representation and strong language generation capabilities. The meticulous fine-tuning process enables it to bridge the disparity between general-purpose mod
26
+
27
+ ![](images/79d79f0afe3c59354305feaeb62f41befd7407dd1a808e6da2088aec5ab94eb1.jpg)
28
+ After 1 hour of taking the penicillins!! I get this.
29
+
30
+ ![](images/09f0e23cf58d401f6ae1beaf0d58bec4a559c894d659c1d7688635e8f4d343b1.jpg)
31
+ I found this after my doctor prescribed Etoricoxib for post-surgical dental pain.
32
+
33
+ ![](images/7dafcaf297647a24f155b2e3dd2d480ee8b373b714197a0130c643d5abe5e691.jpg)
34
+ This is very unusual to me after taking amoxicillin for pharyngitis.
35
+ Figure 1: Samples from the dataset highlight the significance of visual cues in understanding adverse drug events, particularly in cases where patients are unaware of a specific medical condition.
36
+
37
+ els and the specialized demands of ADE-specific tasks. Moreover, our exploration of BLIP (Li et al., 2022) and GIT (Wang et al., 2022) reveals that these models exhibit insufficient performance before fine-tuning. Nevertheless, upon fine-tuning with domain-specific data, their performance experiences notable improvement.
38
+
39
+ Our key contributions are as follows:
40
+
41
+ - A novel approach to ADE detection in multimodal settings greatly assists medical professionals, such as doctors, nurses, and pharmacists, by delivering detailed descriptions of ADE cases, enhancing precision in diagnosis, treatment planning, and patient care.
42
+ - Introduction of a novel multimodal dataset MMADE for further research on ADE detection area.
43
+ - The proposed dataset demonstrates promising potential for various applications, including ADE classification, caption generation, and summarization tasks.
44
+ - We have utilized InstructBLIP and experimented with two other pre-trained VLMs, and reported a detailed analysis.
45
+ - The ADE-specific model holds promise for enhancing patient safety, ADE awareness, and healthcare communication. It aims to provide individuals seeking information about ADEs with understandable and informative captions accompanying medical images to improve their comprehension of potential medication risks.
46
+
47
+ # 2 Related Works
48
+
49
+ This section details the related ADE detection tasks based on the data sources.
50
+
51
+ Works Based on Biomedical Text and Electronic Medical Record: Various techniques have been developed for extracting ADEs from Electronic Medical Records (EMRs) (Aramaki et al., 2010), (Wang et al., 2009), as well as from medical case reports (MCRs) (Gurulingappa et al., 2011). Gurulingappa et al. (2012a) utilized machine learning methods to identify and extract potential ADE relations from MEDLINE case reports. Unlike random data sources such as social media, both EMRs and MCRs offer significant advantages by providing comprehensive records of a patient's medical history, treatment, conditions, and potential risk factors. Moreover, these records are not limited to patients who have experienced ADRs (Harpaz et al., 2013). Sarker and Gonzalez (2015) conducted a study by taking data from MEDLINE case reports and Twitter and reported how combining different datasets increases the performance of identifying ADRs. Huynh et al. (2016) explored various neural network frameworks for ADE classification, utilizing datasets from both MCRs and Twitter. DISAE is another corpus (Gurulingappa et al., 2010), which consists of 400 MEDLINE articles with annotations for disease and adverse effect names without drug-related information. D'Oosterlinck et al. (2023) introduced the BioDEX dataset for biomedical ADE extraction in real-world pharmacovigilance. This dataset comprises 65,000 abstracts, 19,000 full-text biomedical papers, and 256,000 document-level safety reports crafted by medical professionals. However, to the best of our knowledge, there is currently no publicly accessible annotated multimodal (Image and Text) corpus suitable for identifying drug-related adverse effects.
52
+
53
+ Works Based on Social Media Datasets: Social media has become vital for accessing vast amounts of real-time information, making it valuable for identifying potential ADEs. Leaman et al. (2010) conducted a pioneering study that analyzed user comments from social media posts, comprising a dataset of 6890 comments. The research demonstrated the significant value of user comments in identifying ADEs, highlighting their crucial role in this context. Several other authors (Gurulingappa et al., 2012b), (Yadav et al., 2020), (Benton et al., 2011) employed lexicon-based approaches to extract ADEs. However, these methods are limited to a specific set of target ADEs. Nikfarjam and Gonzalez (2011) em
54
+
55
+ Table 1: Keywords used for the data collection.
56
+
57
+ Keywords: ADE, ADR, adverse drug reaction, adverse drug event, adverse reaction, adverse drug event reporting, side effects, drug reactions, drug side effects, type of infection and reaction, medicine, drugs, skin rashes, red patches, eczema, ulcer, acne, skin irritation, edema, rosacea, alopecia, lip swelling.
58
+
59
+ ployed a rule-based technique instead of a naive lexicon-based approach on the same dataset, enabling the detection of ADEs not covered by lexicons. Several authors utilized supervised machine learning techniques like Support Vector Machines (SVM) (Sarker and Gonzalez, 2015), Conditional Random Fields (CRF) (Nikfarjam et al., 2015), and Random Forests (Zhang et al., 2016) for ADE detection. Sarker et al. (2016) introduced one corpus by collecting data from social media, focusing on adverse drug reactions. Tasks included automatically classifying user posts, extracting specific mentions, and normalizing mentions to standardized concepts. With the availability of annotated data, in recent times, the rise of deep learning techniques has significantly influenced research methodologies, leading to the adoption of deep learning models for predicting ADEs. Tutubalina et al. (2017) explored the synergy between CRF and Recurrent Neural Networks (RNN), demonstrating that CRF enhances the RNN model's ability to capture contextual information effectively. Chowdhury et al. (2018) developed a multi-task architecture that simultaneously tackled binary classification, ADR labeling, and indication labeling, using the PSB 2016 Social Media dataset (Sarker et al., 2016).
60
+
61
+ # 3 Corpus Development
62
+
63
+ Our study began with a thorough literature review to identify existing ADE-related datasets. We discovered four text-only datasets: PSB 2016 social media shared task (Sarker et al., 2016) comprising 572 tweets, Medline ADE corpus (Gurulingappa et al., 2012b) with 4,272 sentences, CADEC (Karimi et al., 2015a) containing 1,248 sentences, and recently released BioDEX dataset (D'Oosterlinck et al., 2023). This revealed a notable gap in multimodal ADE datasets, where images complement textual data. We take this opportunity to introduce a multimodal corpus consist
64
+
65
+ ![](images/9d97229785dfb31c35c747987d8d4ce51900fea6015e324fc75cc47014504ad6.jpg)
66
+ Figure 2: Some samples from the dataset containing images and the corresponding descriptive text.
67
+
68
+ ing of 1,500 ADE images with corresponding English sentences to facilitate further research. While preparing this corpus, we carry out the following steps.
69
+
70
+ # 3.1 Data Collection
71
+
72
+ Utilizing a diverse array of keywords, we have curated a comprehensive dataset from social media, healthcare blogs, and MCRs (refer to Table 1). The inclusion of various sources ensures a broad representation of the population, enriching the dataset's diversity.
73
+
74
+ # 3.1.1 Social Media
75
+
76
+ Social media data is invaluable for ADE-related tasks due to its real-time nature and diverse user-generated content (Sarker et al., 2016). In this study, we have utilized the official X (Twitter) and scraper API to gather Tweets $^{2,3}$ employing diverse keywords related to ADE. The data collection phase, conducted between June 2023 and October 2023, collected a total of 20,000 tweets using specified keywords presented in Table 1. From this pool, 3,000 tweets were meticulously identified as pertinent to ADEs, featuring either images, text, or a combination of both. Notably, 142 tweets included relevant images accompanied by textual descriptions of the adverse drug events.
77
+
78
+ # 3.1.2 Healthcare Blog
79
+
80
+ We utilized a public healthcare-related blog, healthdirect<sup>4</sup>, a government-funded virtual health service that provides access to health advice and information via a website. We used Python's BeautifulSoup library to scrape the data and collected 1,150 unique images with corresponding text. Among these, 54 relevant images depicting adverse drug events were manually curated along with corresponding texts.
81
+
82
+ # 3.1.3 Medical Case Reports
83
+
84
+ Data from published medical case reports is crucial for constructing comprehensive datasets to analyze ADE. These articles provide structured and verified information, forming a reliable foundation for in-depth analysis and research in pharmacovigilance. We have extracted data from the New England Journal of Medicine<sup>5</sup>, Science Direct<sup>6</sup>. A precise Science Direct query performed is as follows:
85
+
86
+ ("adverse drug event") AND (Languages=English) AND (Article type=Case Reports) AND (Years=2000 to 2023))
87
+
88
+ This approach retrieved approximately 2,907 documents from ScienceDirect, from which we manually selected 1390 relevant images with corresponding texts.
89
+
90
+ # 3.2 Data Annotation
91
+
92
+ To ensure meticulous annotation aligned with ethical standards, we enlisted the assistance of two medical students and one Ph.D. student, selected based on specific criteria. These criteria included being at least 25 years old, proficient in English (reading, writing, and speaking), and willing to handle sensitive content. The process was finalized within a span of five months, and participants received compensation for their involvement $^{7}$ . Annotators were tasked with meticulously assessing each image and its corresponding text based on the annotation manual. Sentences accurately depicting adverse drug events, including the drug's
93
+
94
+ <sup>4</sup>https://www.healthdirect.gov.au/
95
+ <sup>5</sup>https://www.nejm.org
96
+ <sup>6</sup>https://www.sciencedirect.com
97
+ 7The medical students received compensation in the form of gift vouchers and honorarium amounts in accordance with https://www.minimum-wage.org/international/india.
98
+
99
+ ![](images/a18ea0b8796f9ad5c9e6aa5203f55dcfeb95bb21220e2669e81a7e15d55c1d6e.jpg)
100
+ Figure 3: Distribution of different body parts in the curated MMADE dataset. The number of data points and the percentage corresponding to each category have been provided.
101
+
102
+ ![](images/2c2fe4d1646772ebd56e51498c137e3e5095af58ae27b95b86e2a3b4ff384cf4.jpg)
103
+ Figure 4: Data distribution statistics from various sources, illustrating the total ADE data (images, text, and image-text pairs), and the relevant image-text pairs.
104
+
105
+ name and associated side effects, were chosen for inclusion in the corpus development process, while all other instances were deemed irrelevant and removed. To maintain consistency and consensus among annotators, final rationale labels were determined through a majority voting approach. Annotators were explicitly instructed to annotate posts without biases related to demographics, religion, or other extraneous factors. The quality of annotations was assessed by measuring inter-annotator agreement (IAA) using Cohen's Kappa score (Viera et al., 2005). The resulting agreement scores of 0.78 affirm the acceptability and high quality of the annotations.
106
+
107
+ # 3.3 Annotation Manual
108
+
109
+ We initially provided annotators with an instruction manual detailing different instances, accompanied by examples (as depicted in Fig. 5).
110
+
111
+ - For each data instance comprising text and an image, select the data instance if both the text and image indicate concerns about drug side effects.
112
+ - Remove data instances where the image does not convey the side effects mentioned in the text.
113
+ - Remove data instances where the text does not convey any side effects related to drugs, but some side effects are visually present in the accompanying image.
114
+ - Remove instances where both the text and image are unrelated to any drug side effect.
115
+ - If a data instance includes a URL link, access the content at that URL address to gain additional insight and context about the data.
116
+
117
+ # 3.4 Corpus Analysis
118
+
119
+ Figure 4 provides an overview of the data sources and the distribution of relevant cases within the dataset. Following the initial collection of 7,057 ADE-related samples encompassing images, text, and image-text pairs, we curated 1,500 pertinent samples. These encompass both image and their associated text descriptions of ADEs, establishing the foundation of our multimodal ADE dataset. Figure 2 depicts some of
120
+
121
+ ![](images/3bfd91cf627ae890bb29d18068c8eeb95b43ba21ddbaff557467dfa2d716eb0f.jpg)
122
+ Figure 5: Illustration of an annotation process, with A1, A2, and A3 representing individual annotators and MV signifying final majority voting. In this setup, "1" denotes ADR, while "0" is unrelated to ADR.
123
+
124
+ the samples from the dataset. The first sample shows a person suffering from tongue discoloration after taking a Chlorhexidine drug. Both the text and visual image show a clear indication of drug reaction. The second sample is of a woman with papulopustular eruption on the face, which had worsened with topical metronidazole gel. Adverse drug events can manifest internally or externally, yet acquiring images of internal body parts from public sources is challenging. Thus, we focus on external body parts or symptoms, which can be readily captured and shared with doctors, pharmacovigilance teams, or the public domain for improved consultation and advice. Following dataset analysis, we identified 13 significant adverse effects crucial for multimodal ADE reporting. These effects are categorized into four groups based on their origin: ENT (9.85%), EYE (3.6%), LIMB (5.4%), and SKIN (81.06%). Additional details of the dataset, such as the distribution of samples across different body parts along with corresponding percentages, are illustrated in Fig. 3.
125
+
126
+ # 4 Problem Formulation
127
+
128
+ Each data point in the dataset encompasses a patient's textual description $T$ along with a corresponding image $I$ illustrating their medical issue or concern visually. The textual representation comprises a sequence of words $\{t_1,t_2,\ldots ,t_n\}$ while the visual elements are represented by $I\in \mathbb{R}^{3\times W\times H}$ , where $W$ and $H$ denote the width and height of the image data, respectively. The objective is to process both the text $T$ and image $I$
129
+
130
+ for each patient and generate a natural language sequence $Y$ that seamlessly integrates both modalities, expressed as $Y = \{T, I\}$ .
131
+
132
+ # 5 Methodology
133
+
134
+ Recent advancements in VLMs, such as BLIP, InstructBlip, and GIT, have showcased remarkable advancements in encoding both textual and visual inputs. These models outperform traditional approaches that rely solely on individual image or text encoders, followed by fusion. By integrating sophisticated mechanisms for joint representation learning, VLMs excel at capturing intricate relationships between textual and visual modalities, thereby enhancing their ability to generate more contextually relevant and coherent outputs (Zhang et al., 2023). In the proposed work, we have leveraged InstructBlip (Dai et al., 2023), known for its exceptional performance across a range of vision-language (VL) tasks including Visual Question Answering (VQA), Image captioning, and Image retrieval. Each patient's inquiry or concern is articulated as a textual sentence along with a visual image where they elaborate on their medical queries or concerns on social media platforms or healthcare blogs to obtain pertinent feedback or advice. InstructBlip integrates two distinct encoders specialized for separate modalities. This architecture includes an image encoder, which utilizes a vision transformer (ViT) to extract visual features, alongside an LLM and a Query Transformer (Q-Former). The Q-Former interacts with the image encoder's output through cross-attention, resulting in K-encoded visual vectors, which are then linearly projected and fed into the frozen LLM for further processing. This representation serves as input for a proficient language model, which generates high-quality text. During instruction tuning, only the Q-Former undergoes fine-tuning, while the image encoder and LLM remain unchanged. Figure 6 illustrates the detailed architecture. We fine-tuned the InstructBLIP to assess its performance on the proposed MMADE dataset. InstructBLIP maintains a consistent image resolution $(224 \times 224)$ during instruction tuning and freezes the visual encoder during fine-tuning. This approach substantially reduces the number of trainable parameters from 1.2 billion to 188 million, improving fine-tuning efficiency. We also employed two more VLMs and fine-tuned them with the proposed MMADE dataset. BLIP (Li et al., 2022), a
135
+
136
+ ![](images/d94c73b2be65c7b4c059e3e675e38542eb7ca224e2288caa78cc903f386c42f1.jpg)
137
+ Figure 6: The architectural details are illustrated, depicting the input image and corresponding text. Additionally, the frozen and trainable layers are highlighted for clarity.
138
+
139
+ versatile vision-language model, utilizes a multimodal mixture of encoder-decoder models during pre-training. This involves bootstrapping a dataset from large-scale noisy image-text pairs, where synthetic captions are injected, and noisy captions are eliminated. Additionally, we utilized GIT (Wang et al., 2022), a VLM model that generates text descriptions of images. Trained on curated datasets of image-text pairs, GIT encodes image features into a latent representation, which is decoded into text descriptions. Its architecture comprises an image encoder using a pre-trained Swin transformer and a text decoder based on a standard transformer decoder, linked by a cross-attention layer for enhanced focus on specific image encoding parts. Additionally, we performed the integration of LSTM networks with VGG16 (Simonyan and Zisserman, 2014) and ResNet50 (He et al., 2016) architectures. In this setup, the LSTM serves as the text encoder, while either VGG16 or ResNet50 acts as the visual encoder. The features extracted from the text and visual encoders are then concatenated to create a joint representation, allowing for comprehensive modeling of both textual and visual information. Please refer to Section 12 of the Appendix for the fine-tuning details.
140
+
141
+ # 6 Experimental Results and Analysis
142
+
143
+ We have utilized four commonly employed evaluation metrics to assess the performance of the models, including BLEU score (Bilingual Evaluation Understudy) (Papineni et al., 2002), ROUGE score (Recall-Oriented Understudy for Gisting Evaluation) (Lin, 2004), BERTScore (Zhang et al., 2019), and MoverScore (Zhao et al., 2019). Detailed explanations of experimental settings and metrics are
144
+
145
+ Table 2: The performance evaluation of the models using ROUGE and BLEU Scores in the multimodal dataset setting.
146
+
147
+ <table><tr><td rowspan="2">Model</td><td rowspan="2">Type</td><td colspan="3">ROUGE</td><td colspan="3">BLEU</td></tr><tr><td>R1</td><td>R2</td><td>RL</td><td>B1</td><td>B2</td><td>B3</td></tr><tr><td>LSTM+VGG16</td><td>-</td><td>0.213</td><td>0.105</td><td>0.201</td><td>0.165</td><td>0.073</td><td>0.041</td></tr><tr><td>LSTM+ResNet50</td><td>-</td><td>0.281</td><td>0.086</td><td>0.230</td><td>0.179</td><td>0.058</td><td>0.046</td></tr><tr><td rowspan="2">BLIP</td><td>Base</td><td>0.19</td><td>0.093</td><td>0.185</td><td>0.099</td><td>0.003</td><td>0.001</td></tr><tr><td>Fine-Tune</td><td>0.334</td><td>0.163</td><td>0.225</td><td>0.171</td><td>0.081</td><td>0.058</td></tr><tr><td rowspan="2">GIT</td><td>Base</td><td>0.27</td><td>0.11</td><td>0.192</td><td>0.157</td><td>0.014</td><td>0.004</td></tr><tr><td>Fine-Tune</td><td>0.504</td><td>0.285</td><td>0.416</td><td>0.194</td><td>0.10</td><td>0.097</td></tr><tr><td rowspan="2">InstructBLIP</td><td>Base</td><td>0.29</td><td>0.161</td><td>0.212</td><td>0.219</td><td>0.125</td><td>0.008</td></tr><tr><td>Fine-Tune</td><td>0.571</td><td>0.351</td><td>0.475</td><td>0.319</td><td>0.175</td><td>0.112</td></tr></table>
148
+
149
+ Table 3: The evaluation of the model using BERTScore and MoverScore in the multimodal dataset setting.
150
+
151
+ <table><tr><td colspan="8">BERTScore</td><td></td></tr><tr><td rowspan="2">Evaluation Metrics</td><td rowspan="2">LSTM+VGG16</td><td rowspan="2">LSTM+ResNet50</td><td colspan="2">BLIP</td><td colspan="2">GIT</td><td colspan="2">InstructBLIP</td></tr><tr><td>Base</td><td>Fine-Tune</td><td>Base</td><td>Fine-Tune</td><td>Base</td><td>Fine-Tune</td></tr><tr><td>Precision</td><td>0.821</td><td>0.847</td><td>0.819</td><td>0.841</td><td>0.826</td><td>0.866</td><td>0.832</td><td>0.896</td></tr><tr><td>Recall</td><td>0.797</td><td>0.811</td><td>0.783</td><td>0.819</td><td>0.791</td><td>0.831</td><td>0.781</td><td>0.891</td></tr><tr><td>F1-score</td><td>0.809</td><td>0.821</td><td>0.801</td><td>0.829</td><td>0.812</td><td>0.852</td><td>0.805</td><td>0.893</td></tr><tr><td colspan="9">MoverScore</td></tr><tr><td></td><td>0.441</td><td>0.487</td><td>0.482</td><td>0.513</td><td>0.496</td><td>0.553</td><td>0.544</td><td>0.622</td></tr></table>
152
+
153
+ given in Section 11 and 13 of the Appendix.
154
+
155
+ # 6.1 Findings from Experiments
156
+
157
+ The experimental results across Tables 2 and 3 depict the performance of various models in multimodal dataset settings, while Tables 4 and 5 represent the performance in unimodal dataset settings, based on standard evaluation metrics. From the
158
+
159
+ Table 4: The evaluation of the models using BERTScore and MoverScore in the unimodal dataset setting.
160
+
161
+ <table><tr><td colspan="6">BERTScore</td></tr><tr><td>Evaluation Metrics</td><td>LSTM+VGG16</td><td>LSTM+ResNet50</td><td>BLIP</td><td>GIT</td><td>InstructBLIP</td></tr><tr><td>Precision</td><td>0.731</td><td>0.744</td><td>0.753</td><td>0.801</td><td>0.840</td></tr><tr><td>Recall</td><td>0.709</td><td>0.713</td><td>0.724</td><td>0.783</td><td>0.783</td></tr><tr><td>F1-score</td><td>0.719</td><td>0.729</td><td>0.738</td><td>0.790</td><td>0.810</td></tr><tr><td colspan="6">MoverScore</td></tr><tr><td></td><td>0.121</td><td>0.143</td><td>0.151</td><td>0.184</td><td>0.253</td></tr></table>
162
+
163
+ results, several observations are:
164
+
165
+ - Table 2 presents the ROUGE and BLEU scores, indicating the superior performance of fine-tuned InstructBLIP compared to other models. The higher ROUGE and BLEU scores achieved by fine-tuned InstructBLIP suggest its proficiency in capturing relevant information from the input and generating text. This superiority can be attributed to its training on more extensive and diverse datasets, enabling it to capture intricate data patterns effectively.
166
+ - Tables 3 and 4 present BERTScores and MoverScores in the multimodal and unimodal settings, respectively. Fine-tuned InstructBLIP achieves the highest BERTScore and MoverScores, demonstrating its efficacy in capturing contextual similarity and superior ability to convey meaningful content effectively.
167
+ - Table 4 and 5 show the decline in performance when training VLM models with unimodal data. The absence of meaningful visual information likely contributes to the performance degradation.
168
+ - One important observation is that Instruct-BLIP consistently outperforms BLIP and GIT across all metrics, showing its superior capability in effectively integrating textual and visual information. This can be attributed to its innovative architecture, featuring a Query Transformer for instruction-aware feature extraction. Refer to Section 16 of the Appendix for detailed outcomes.
169
+ - Fine-tuning with domain-specific ADE data remarkably enhances model performance, reflecting its pivotal role in adapting models to the intricacies of adverse drug event detection.
170
+ - Another key finding highlights the substantial performance enhancement achieved by integrating both image and text modalities, emphasizing the critical role of visual information alongside textual data.
171
+
172
+ Statistical Analysis: We conducted a statistical t-test to compare the performance of the proposed multimodal model, utilizing both image and text data, with that of unimodal models. The analysis
173
+
174
+ ![](images/0f792ccbe22ac352fc0a70f43fd3821100626402ddda0b50c11da6a681321df7.jpg)
175
+ Actual: I was given penicillin for my ongoing treatment. About 4 hours later, I started feeling really sick. I came down with a high fever, nausea, vomiting, and a terrible headache. My whole body ached, and got this type of rash on my skin. What type of rash it is?
176
+ Figure 7: An example case study where a sample image and its corresponding text are provided along with the generated text from all models in both unimodal and multimodal settings.
177
+
178
+ <table><tr><td>Model</td><td>Unimodal
179
+ (Blank Image and Text)</td><td>Multimodal
180
+ (Image and Text)</td></tr><tr><td>BLIP</td><td>A man with a large stomach and a large stomach.</td><td>A close up of a person&#x27;s stomach covered in a red rash.</td></tr><tr><td>GIT</td><td>A middle aged man sits on an exam table in a doctor&#x27;s office, looking unwell.</td><td>A man with a lot of red spots suffering from rashes.</td></tr><tr><td>InstructBLIP</td><td>A person&#x27;s covered in a red rash.</td><td>The image shows red spots on the abdomen, which is unusual for a person. The red spots are likely caused by a skin condition, such as syphilis.</td></tr></table>
181
+
182
+ yielded a p-value below 0.05, indicating a significant difference in performance between the two. The detailed explanation is given in Section 14 of Appendix.
183
+
184
+ # 6.2 Qualitative Analysis
185
+
186
+ We performed an extensive qualitative analysis of the responses generated by various models in both unimodal and multimodal settings, complemented by several case studies. A detailed case study is depicted in Fig. 7. The analysis has led to the following conclusion: (a) In multimodal settings, all the models demonstrate superior performance and exhibit a greater ability to capture crucial visual information conveyed through images than in unimodal settings (refer to Table 4 and 5). (b) Observations also revealed that models such as BLIP and GIT tended to hallucinate, as evidenced by Fig. 7, occasionally generating facts that were entirely unrelated to the context. (c) InstructBLIP demonstrates superior performance, leading us to conclude that providing instructions during finetuning prompts the model to selectively focus on pertinent visual features. This focused attention encourages the model to generate target sequences that closely resemble the desired output. We have presented a case study demonstrating that model performance is not solely determined by the number of samples in the dataset but also by other factors such as the distinct visual characteristics of different types of ADEs present in the dataset. A detailed explanation is provided in the Section 15 of Appendix.
187
+
188
+ Table 5: The performance evaluation of the models using ROUGE and BLEU Scores in the unimodal dataset setting.
189
+
190
+ <table><tr><td rowspan="2">Model</td><td colspan="3">ROUGE</td><td colspan="3">BLEU</td></tr><tr><td>R1</td><td>R2</td><td>RL</td><td>B1</td><td>B2</td><td>B3</td></tr><tr><td>LSTM+VGG16</td><td>0.133</td><td>0.018</td><td>0.101</td><td>0.141</td><td>0.012</td><td>0.001</td></tr><tr><td>LSTM+ResNet50</td><td>0.146</td><td>0.029</td><td>0.112</td><td>0.152</td><td>0.016</td><td>0.002</td></tr><tr><td>BLIP</td><td>0.158</td><td>0.032</td><td>0.129</td><td>0.161</td><td>0.019</td><td>0.002</td></tr><tr><td>GIT</td><td>0.169</td><td>0.035</td><td>0.137</td><td>0.172</td><td>0.020</td><td>0.003</td></tr><tr><td>InstructBLIP</td><td>0.211</td><td>0.087</td><td>0.172</td><td>0.197</td><td>0.089</td><td>0.006</td></tr></table>
191
+
192
+ # 7 Risk Analysis
193
+
194
+ While our multimodal model demonstrates promise, it is essential to have medical experts and pharmacovigilance teams validate the findings, considering other critical factors. Our model and dataset are intended to support medical professionals rather than replace them.
195
+
196
+ # 8 Conclusion and Future Work
197
+
198
+ In this paper, we present the task of ADE detection within pharmacovigilance mining, leveraging multimodal datasets. In order to solve this task, we have created a multimodal ADE dataset, MMADE, containing images and corresponding descriptions, enhancing decision-making with the inclusion of visual cues. We have employed InstructBLIP, finetuned with the proposed dataset, and compared it with other models. Our findings suggest that domain-specific fine-tuning significantly enhances overall performance, emphasizing the importance of multimodal visual cues. We envision MMADE as a pivotal resource for advancing research in multimodal ADE detection. Moreover, our finetuned architecture holds promise as a valuable tool for pharmacovigilance teams, clinicians, and researchers, facilitating more effective ADE monitoring and ultimately improving patient safety and outcomes. In addition to expanding the dataset, future investigations could explore the potential of this multimodal dataset in tasks such as ADE severity classification and summarization.
199
+
200
+ # 9 Limitations
201
+
202
+ While our effort aimed to develop an ADE detection framework and introduce the novel MMADE dataset, comprising textual descriptions of drug events paired with images, it is crucial to acknowledge certain limitations inherent in the dataset. Specifically, our dataset primarily focuses on drug
203
+
204
+ events associated with external body parts, omitting data about internal conditions such as liver infections, kidney stones, or psychological ailments like depression and migraine. Acquiring a substantial volume of image-text pairs within the ADE domain presents inherent challenges, including data privacy concerns, regulatory constraints, and the specialized nature of ADE occurrences. Despite these obstacles, our research breaks new ground by integrating images with text, solving a real-world challenge where individuals affected by ADE may resort to image sharing for communication when verbally expressing their symptoms is difficult. Moving forward, we aim to enhance the dataset by incorporating more ADE-related images and expanding its utility through additional tasks such as complaint identification and text summarization.
205
+
206
+ # 10 Ethics and Broader Impact
207
+
208
+ # User Privacy.
209
+
210
+ Our dataset contains AD images and corresponding text tweets with annotation labels and no personal user information.
211
+
212
+ # Biases.
213
+
214
+ Any biases detected in the dataset are inadvertent, and we have no intention of harming anyone or any group. We acknowledge that evaluating whether a tweet is ADE can be subjective, so we have taken agreement from all the annotators before selecting the data.
215
+
216
+ # Intended Use.
217
+
218
+ We share our data to promote more research on Adverse drug event detection. We only release the dataset for research purposes and do not grant a license for commercial use.
219
+
220
+ # References
221
+
222
+ Eiji Aramaki, Yasuhide Miura, Masatsugu Tonoike, Tomoko Ohkuma, Hiroshi Masuichi, Kayo Waki, and Kazuhiko Ohe. 2010. Extraction of adverse drug effects from clinical records. In MEDINFO 2010, pages 739-743. IOS Press.
223
+ Adrian Benton, Lyle Ungar, Shawndra Hill, Sean Hennessy, Jun Mao, Annie Chung, Charles E Leonard, and John H Holmes. 2011. Identifying potential adverse effects using the web: A new approach to medical hypothesis generation. Journal of biomedical informatics, 44(6):989-996.
224
+ Shaika Chowdhury, Chenwei Zhang, and Philip S Yu. 2018. Multi-task pharmacovigilance mining from
225
+
226
+ social media posts. In Proceedings of the 2018 World Wide Web Conference, pages 117-126.
227
+ Wenliang Dai, Junnan Li, Dongxu Li, Anthony Meng Huat Tiong, Junqi Zhao, Weisheng Wang, Boyang Li, Pascale Fung, and Steven Hoi. 2023. Instructclip: Towards general-purpose vision-language models with instruction tuning.
228
+ Karel D'Oosterlinck, François Remy, Johannes Deleu, Thomas Demeester, Chris Develder, Klim Zaporojets, Aneiss Ghodsi, Simon Ellershaw, Jack Collins, and Christopher Potts. 2023. *Biodex: Large-scale biomedical adverse drug event extraction for real-world pharmacovigilance.* arXiv preprint arXiv:2305.13395.
229
+ Akash Ghosh, Arkadeep Acharya, Raghav Jain, Sriparna Saha, Aman Chadha, and Setu Sinha. 2024a. Clipsntel: CLIP and LLM synergy for multimodal question summarization in healthcare. In Thirty-Eighth AAAI Conference on Artificial Intelligence, AAAI 2024, Thirty-Sixth Conference on Innovative Applications of Artificial Intelligence, IAAI 2024, Fourteenth Symposium on Educational Advances in Artificial Intelligence, EAAI 2014, February 20-27, 2024, Vancouver, Canada, pages 22031-22039. AAAI Press.
230
+ Akash Ghosh, Arkadeep Acharya, Prince Jha, Sriparna Saha, Aniket Gaudgaul, Rajdeep Majumdar, Aman Chadha, Raghav Jain, Setu Sinha, and Shivani Agarwal. 2024b. Medsumm: A multimodal approach to summarizing code-mixed Hindi-english clinical queries. In Advances in Information Retrieval - 46th European Conference on Information Retrieval, ECIR 2024, Glasgow, UK, March 24-28, 2024, Proceedings, Part V, volume 14612 of Lecture Notes in Computer Science, pages 106-120. Springer.
231
+ Harsha Gurulingappa, Juliane Fluck, Martin Hofmann-Apitius, and Luca Toldo. 2011. Identification of adverse drug event assertive sentences in medical case reports. In First international workshop on knowledge discovery and health care management (KD-HCM), European conference on machine learning and principles and practice of knowledge discovery in databases (ECML PKDD), pages 16-27.
232
+ Harsha Gurulingappa, Roman Klinger, Martin Hofmann-Apitius, and Juliane Fluck. 2010. An empirical evaluation of resources for the identification of diseases and adverse effects in biomedical literature. In 2nd Workshop on Building and evaluating resources for biomedical text mining (7th edition of the Language Resources and Evaluation Conference), pages 15-22.
233
+ Harsha Gurulingappa, Abdul Mateen-Rajpu, and Luca Toldo. 2012a. Extraction of potential adverse drug events from medical case reports. Journal of biomedical semantics, 3(1):1-10.
234
+ Harsha Gurulingappa, Abdul Mateen Rajput, Angus Roberts, Juliane Fluck, Martin Hofmann-Apitius, and
235
+
236
+ Luca Toldo. 2012b. Development of a benchmark corpus to support the automatic extraction of drug-related adverse effects from medical case reports. Journal of biomedical informatics, 45(5):885-892.
237
+ Katja M Hakkarainen, Khadidja Hedna, Max Petzold, and Staffan Hägg. 2012. Percentage of patients with preventable adverse drug reactions and preventability of adverse drug reactions-a meta-analysis. PloS one, 7(3):e33236.
238
+ Rave Harpaz, Santiago Vilar, William DuMouchel, Hajjat Salmasian, Krystl Haerian, Nigam H Shah, Herbert S Chase, and Carol Friedman. 2013. Combining signals from spontaneous reports and electronic health records for detection of adverse drug reactions. Journal of the American Medical Informatics Association, 20(3):413-419.
239
+ Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. 2016. Deep residual learning for image recognition. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 770-778.
240
+ Trung Huynh, Yulan He, Alistair Willis, and Stefan Rueger. 2016. Adverse drug reaction classification with deep neural networks. In Proceedings of COLING 2016, the 26th International Conference on Computational Linguistics: Technical Papers, pages 877-887, Osaka, Japan. The COLING 2016 Organizing Committee.
241
+ Sarvnaz Karimi, Alejandro Metke-Jimenez, Madonna Kemp, and Chen Wang. 2015a. Cadec: A corpus of adverse drug event annotations. Journal of biomedical informatics, 55:73-81.
242
+ SarvNaz Karimi, Chen Wang, Alejandro Metke-Jimenez, Raj Gaire, and Cecile Paris. 2015b. Text and data mining techniques in adverse drug reaction detection. ACM Computing Surveys (CSUR), 47(4):1-39.
243
+ Robert Leaman, Laura Wojtulewicz, Ryan Sullivan, Annie Skariah, Jian Yang, and Graciela Gonzalez. 2010. Towards internet-age pharmacovigilance: extracting adverse drug reactions from user posts in health-related social networks. In Proceedings of the 2010 workshop on biomedical natural language processing, pages 117-125.
244
+ Junnan Li, Dongxu Li, Silvio Savarese, and Steven Hoi. 2023. Blip-2: Bootstrapping language-image pretraining with frozen image encoders and large language models.
245
+ Junnan Li, Dongxu Li, Caiming Xiong, and Steven Hoi. 2022. Blip: Bootstrapping language-image pretraining for unified vision-language understanding and generation. In International Conference on Machine Learning, pages 12888-12900. PMLR.
246
+ Chin-Yew Lin. 2004. ROUGE: A package for automatic evaluation of summaries. In Text Summarization Branches Out, pages 74-81, Barcelona, Spain. Association for Computational Linguistics.
247
+
248
+ Azadeh Nikfarjam and Graciela H Gonzalez. 2011. Pattern mining for extraction of mentions of adverse drug reactions from user comments. In AMIA annual symposium proceedings, volume 2011, page 1019. American Medical Informatics Association.
249
+ Azadeh Nikfarjam, Abeed Sarker, Karen O'connor, Rachel Ginn, and Graciela Gonzalez. 2015. Pharmacovigilance from social media: mining adverse drug reaction mentions using sequence labeling with word embedding cluster features. Journal of the American Medical Informatics Association, 22(3):671-681.
250
+ 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.
251
+ Pranab Sahoo, Prakash Meharia, Akash Ghosh, Sriparna Saha, Vinija Jain, and Aman Chadha. 2024a. Unveiling hallucination in text, image, video, and audio foundation models: A comprehensive survey. arXiv preprint arXiv:2405.09589.
252
+ Pranab Sahoo, Ayush Kumar Singh, Sriparna Saha, Vinija Jain, Samrat Mondal, and Aman Chadha. 2024b. A systematic survey of prompt engineering in large language models: Techniques and applications. arXiv preprint arXiv:2402.07927.
253
+ Abeed Sarker and Graciela Gonzalez. 2015. Portable automatic text classification for adverse drug reaction detection via multi-corpus training. Journal of biomedical informatics, 53:196-207.
254
+ Abeed Sarker, Azadeh Nikfarjam, and Graciela Gonzalez. 2016. Social media mining shared task workshop. In Biocomputing 2016: Proceedings of the Pacific Symposium, pages 581-592. World Scientific.
255
+ Ryoma Sato, Makoto Yamada, and Hisashi Kashima. 2022. Re-evaluating word mover's distance. In International Conference on Machine Learning, pages 19231-19249. PMLR.
256
+ Karen Simonyan and Andrew Zisserman. 2014. Very deep convolutional networks for large-scale image recognition. arXiv preprint arXiv:1409.1556.
257
+ Janet Sultana, Paola Cutroneo, and Gianluca Trifiro. 2013. Clinical and economic burden of adverse drug reactions. Journal of Pharmacology and Pharmacotherapeutics, 4(1_suppl):S73-S77.
258
+ Omkar Thawkar, Abdelrahman Shaker, Sahal Shaji Mullappilly, Hisham Cholakkal, Rao Muhammad Anwer, Salman Khan, Jorma Laaksonen, and Fahad Shahbaz Khan. 2023. Xraygpt: Chest radiographs summarization using medical vision-language models. arXiv preprint arXiv:2306.07971.
259
+ Elena Tutubalina, Sergey Nikolenko, et al. 2017. Combination of deep recurrent neural networks and conditional random fields for extracting adverse drug reactions from user reviews. Journal of healthcare engineering, 2017.
260
+
261
+ Anthony J Viera, Joanne M Garrett, et al. 2005. Understanding interobserver agreement: the kappa statistic. Fam med, 37(5):360-363.
262
+ Jianfeng Wang, Zhengyuan Yang, Xiaowei Hu, Linjie Li, Kevin Lin, Zhe Gan, Zicheng Liu, Ce Liu, and Lijuan Wang. 2022. Git: A generative image-to-text transformer for vision and language. arXiv preprint arXiv:2205.14100.
263
+ Xiaoyan Wang, George Hripcsak, Marianthi Markatou, and Carol Friedman. 2009. Active computerized pharmacovigilance using natural language processing, statistics, and electronic health records: a feasibility study. Journal of the American Medical Informatics Association, 16(3):328-337.
264
+ Shweta Yadav, Asif Ekbal, and Sriparna Saha. 2018a. Feature selection for entity extraction from multiple biomedical corpora: A pso-based approach. Soft Computing, 22(20):6881-6904.
265
+ Shweta Yadav, Asif Ekbal, Sriparna Saha, and Pushpak Bhattacharyya. 2019. A unified multi-task adversarial learning framework for pharmacovigilance mining. In Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics, pages 5234-5245, Florence, Italy. Association for Computational Linguistics.
266
+ Shweta Yadav, Asif Ekbal, Sriparna Saha, Pushpak Bhattacharyya, and Amit Sheth. 2018b. Multi-task learning framework for mining crowd intelligence towards clinical treatment. 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 271-277, New Orleans, Louisiana. Association for Computational Linguistics.
267
+ Shweta Yadav, Srivatsa Ramesh, Sriparna Saha, and Asif Ekbal. 2020. Relation extraction from biomedical and clinical text: Unified multitask learning framework. IEEE/ACM transactions on computational biology and bioinformatics, 19(2):1105-1116.
268
+ Jingyi Zhang, Jiaxing Huang, Sheng Jin, and Shijian Lu. 2023. Vision-language models for vision tasks: A survey.
269
+ Tianyi Zhang, Varsha Kishore, Felix Wu, Kilian Q Weinberger, and Yoav Artzi. 2019. Bertscore: Evaluating text generation with bert. arXiv preprint arXiv:1904.09675.
270
+ Zhifei Zhang, JY Nie, and Xuyao Zhang. 2016. An ensemble method for binary classification of adverse drug reactions from social media. In Proceedings of the Social Media Mining Shared Task Workshop at the Pacific Symposium on Biocomputing, volume 1.
271
+ Wei Zhao, Maxime Peyrard, Fei Liu, Yang Gao, Christian M Meyer, and Steffen Eger. 2019. Moverscore: Text generation evaluating with contextualized embeddings and earth mover distance. arXiv preprint arXiv:1909.02622.
272
+
273
+ Juexiao Zhou and Xin Gao. 2023. Skingpt: A dermatology diagnostic system with vision large language model. arXiv preprint arXiv:2304.10691.
274
+
275
+ # Appendix
276
+
277
+ # 11 Experimental Settings
278
+
279
+ This section provides the hyperparameters and experimental setups utilized in the study. All experiments were conducted using multiple RTX 2080Ti GPUs. The dataset was partitioned, allocating $80\%$ for training and $20\%$ for testing. For InstructBLIP, the learning rate was set to 1e-5, executed for 50 epochs, with a batch size of 2. Similarly, for the BLIP model, a learning rate of 0.0001 was utilized and executed for 50 epochs, with a batch size of 2. For GIT fine-tuning, a learning rate of 5e-3 was applied for 50 epochs, with a batch size of 2. All models were implemented using Scikit-Learn and PyTorch as the backend framework.
280
+
281
+ # 12 Fine-tuning
282
+
283
+ We have followed several steps to fine-tune BLIP on our multimodal dataset. First, we have prepared the dataset in JSON format, which is compatible with the BLIP framework, and each image-text pair is represented as a dictionary with the following keys: image_path: The path to the image file, text: The caption or other text description of the image. We have fine-tuned BLIP with learning rate $= 0.001$ , number of epochs $= 50$ , and batch size $= 16$ . The training process takes 6 hours for the fine-tuning, and we evaluate the performance on a held-out test set.
284
+
285
+ To fine-tune the GIT model on the proposed MMADE dataset, we utilized the Hugging Face Transformers library and followed a systematic process. First, we prepared the data using a PyTorch dataset, converting it into the required format using the GitProcessor class. Finally, we have utilized the GIT-base model, which is pre-trained on a substantial dataset of image-text pairs. We have utilized Parameters such as a learning rate $= 5\mathrm{e} - 3$ epochs $= 30$ and batch size $= 2$ . The optimization was performed using the Adam optimizer with the cross-entropy loss function, and the fine-tuning process took 3 hours.
286
+
287
+ To fine-tune the CNN-LSTM model, we leverage the CNN models (VGG16 and ResNet50) to extract image features, followed by an LSTM for
288
+
289
+ sequence generation. Model compilation involves the use of categorical cross-entropy loss and the Adam optimizer. Training proceeds for 40 epochs, utilizing a batch size of 32.
290
+
291
+ # 13 Evaluation Metrics
292
+
293
+ We have utilized BLEU score (Papineni et al., 2002), ROUGE score (Lin, 2004), BERTScore (Zhang et al., 2019) and Mover-Score (Zhao et al., 2019). BLEU score is utilized to assess the quality of machine-generated text by comparing it to human-generated reference text. It measures the similarity in word sequences between the machine-generated and human reference texts using n-grams, penalizing shorter machine-generated texts to provide a quantitative measure of translation accuracy. The ROUGE score is also used to evaluate the quality of machine-generated summaries compared to human-written summaries. It works by calculating the overlap of n-grams between the machine-generated summary and the reference summaries. ROUGE and BLEU metrics evaluate text quality based on syntactic overlap, considering unigrams and bigrams, lacking the ability to decode semantic meaning effectively. However, BERTScore focuses on understanding the semantic meaning of generated text compared to the intended text, enabling a more nuanced and accurate comparison. MoverScore is a way to measure how similar a machine-generated text is to a human-written text. It does this by using BERT embeddings to understand the meaning of the words and sentences in both texts and then using Word Mover's Distance (Sato et al., 2022) to measure how similar the two texts are.
294
+
295
+ # 14 Statistical Analysis
296
+
297
+ In this study, we employed the paired t-test to assess the statistical significance of differences between the outcomes of unimodal and multimodal models. The null hypothesis (H0) assumes no significant disparity in scores, while the alternative hypothesis (H1) proposes the opposite. We structured our analysis around the assumption of paired data, where each BLEU score corresponds to the same model in different settings (Multimodal Vs. Unimodal). By applying the paired t-test, we aimed to rigorously evaluate performance disparities and offer insights into the models' relative effectiveness. The obtained p-values for ROUGE, BLEU and BERTScore scores were 0.008, 0.0097 and
298
+
299
+ ![](images/8f9f91d1168552918b6a582f65d28df839697e2d8f868b1211491d1603e4505d.jpg)
300
+ Figure 8: Illustration of a case study showcasing the performance of the InstructBLIP model from the dataset
301
+
302
+ 0.0316, respectively, both below the 0.05 threshold, leading to the rejection of the null hypothesis.
303
+
304
+ ![](images/de6c5d46c3296a45d5d157a103f74f2fc277353cf8ced4c4c11809c3bf2359ec.jpg)
305
+ Figure 9: Example of the sample image and corresponding text from the dataset along with generated text from the Proposed model with two other models.
306
+
307
+ # 15 Case study
308
+
309
+ The case study depicted in Fig. 8 reveals intriguing insights across various body parts. In the first row, depicting rashes, fine-tuned InstructBLIP accurately identifies distinct body parts and key findings, potentially attributed to the diverse visual characteristics of different rash types prevalent in the dataset with the largest portion of $81.06\%$ . However, performance in identifying mouth-related ADEs is less satisfactory despite comprising $5.93\%$ of the dataset, likely due to potential confusion with other
310
+
311
+ oral features like the tongue, teeth, or lips. Conversely, despite eye-related problems representing only $1.8\%$ of the dataset, the model performs comparatively better in this category, possibly because it focuses specifically on infected regions, enhancing its ability to identify relevant features accurately.
312
+
313
+ # 16 Comparative output
314
+
315
+ We have added two more examples in Fig. 9 showing the ADR instances, corresponding ground truth, and the model-generated outputs.
2024/Enhancing Adverse Drug Event Detection with Multimodal Dataset_ Corpus Creation and Model Development/images.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:29eacb4b7d1a824d3e2eacd8ef935f4422752e57755c21febb90ae65e6a8d549
3
+ size 421437
2024/Enhancing Adverse Drug Event Detection with Multimodal Dataset_ Corpus Creation and Model Development/layout.json ADDED
The diff for this file is too large to render. See raw diff
 
2024/Enhancing Cross Text-Molecule Learning by Self-Augmentation/206d3795-d53b-42c9-8de8-6d682eb0ac0b_content_list.json ADDED
@@ -0,0 +1,1760 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "type": "text",
4
+ "text": "Enhancing Cross Text-Molecule Learning by Self-Augmentation",
5
+ "text_level": 1,
6
+ "bbox": [
7
+ 166,
8
+ 89,
9
+ 831,
10
+ 111
11
+ ],
12
+ "page_idx": 0
13
+ },
14
+ {
15
+ "type": "text",
16
+ "text": "Yinuo Jiang, Xiang Zhuang, Keyan Ding,",
17
+ "bbox": [
18
+ 319,
19
+ 134,
20
+ 677,
21
+ 151
22
+ ],
23
+ "page_idx": 0
24
+ },
25
+ {
26
+ "type": "text",
27
+ "text": "Qiang Zhang*, Huajun Chen*",
28
+ "bbox": [
29
+ 368,
30
+ 151,
31
+ 628,
32
+ 167
33
+ ],
34
+ "page_idx": 0
35
+ },
36
+ {
37
+ "type": "text",
38
+ "text": "College of Computer Science and Technology, Zhejiang University",
39
+ "bbox": [
40
+ 226,
41
+ 167,
42
+ 769,
43
+ 184
44
+ ],
45
+ "page_idx": 0
46
+ },
47
+ {
48
+ "type": "text",
49
+ "text": "ZJU-Hangzhou Global Scientific and Technological Innovation Center",
50
+ "bbox": [
51
+ 211,
52
+ 184,
53
+ 784,
54
+ 200
55
+ ],
56
+ "page_idx": 0
57
+ },
58
+ {
59
+ "type": "text",
60
+ "text": "{yinuoj,zhuangxiang,dingkeyan,qiang.zhang.cs,huajunsir} @zju.edu.cn",
61
+ "bbox": [
62
+ 213,
63
+ 200,
64
+ 786,
65
+ 217
66
+ ],
67
+ "page_idx": 0
68
+ },
69
+ {
70
+ "type": "text",
71
+ "text": "Abstract",
72
+ "text_level": 1,
73
+ "bbox": [
74
+ 260,
75
+ 260,
76
+ 339,
77
+ 275
78
+ ],
79
+ "page_idx": 0
80
+ },
81
+ {
82
+ "type": "text",
83
+ "text": "The development of Large Language Models (LLMs) has greatly advanced the field of drug discovery, with the belief that natural language can enhance human control over molecule design. However, the scarcity of high-quality labeled data remains a challenge for cross-text-molecule learning. Existing datasets are limited due to the difficulty of collecting precise molecule-description pairs. Although recent efforts have utilized pseudo data generated by LLMs for augmentation, the lack of specialized chemistry knowledge of LLMs and the absence of an effective high-quality data selector may introduce noise into the annotations, compromising the models' robustness. To address these challenges, this paper introduces a novel framework that interweaves model finetuning and data augmentation to overcome the scarcity of high-quality data. The proposed approach involves an iterative procedure where the model plays dual roles in annotating unlabeled data and sampling a subset of high-quality data until convergence is achieved, enhancing the model's understanding and adaptability. Additionally, a new dataset called SAPubChem-41 is presented, which comprises meticulously curated high-quality parallel molecule-description pairs designed specifically for fine-tuning purposes. This research provides an important contribution to the field by addressing the need for high-quality datasets and presenting an effective framework for cross-text-molecule learning.",
84
+ "bbox": [
85
+ 144,
86
+ 290,
87
+ 460,
88
+ 760
89
+ ],
90
+ "page_idx": 0
91
+ },
92
+ {
93
+ "type": "text",
94
+ "text": "1 Introduction",
95
+ "text_level": 1,
96
+ "bbox": [
97
+ 114,
98
+ 774,
99
+ 260,
100
+ 789
101
+ ],
102
+ "page_idx": 0
103
+ },
104
+ {
105
+ "type": "text",
106
+ "text": "The emergence of Large Language Models (LLMs) has significantly propelled the development of drug discovery (Zhang et al., 2024). Recent progress in language models shed light on drug discovery, with the vision that humans can possess a higher-level control over molecule design facilitated by natural",
107
+ "bbox": [
108
+ 112,
109
+ 801,
110
+ 489,
111
+ 898
112
+ ],
113
+ "page_idx": 0
114
+ },
115
+ {
116
+ "type": "text",
117
+ "text": "language. Edwards et al. (2022a) introduce two new tasks: molecule captioning (Mol2Cap) and text-based molecule generation (Cap2Mol), and present MolT5 (Edwards et al., 2022b) based on the T5 (Raffel et al., 2020) architecture to translate between molecule and text. Subsequently, diverse endeavors have been undertaken to tackle these challenges. Text+Chem T5 (Christofidellis et al., 2023) and BioT5 (Pei et al., 2024) are also T5-like models, which incorporate multi-task and multidomain pretraining process and enable the bidirectional generation between different modalities in a single model. Some other methods employ the Generative Pretrained Transformer (GPT) architecture. MolXPT (Liu et al., 2023) proposes to wrap molecules in the sentences to make the pertaining corpus. More recently, MolCA(Liu et al., 2024) considers the 2D graph information for molecules and designs a projector to connect molecular content to language models. These studies mark the research efforts in the realm of cross text-molecule learning.",
118
+ "bbox": [
119
+ 507,
120
+ 261,
121
+ 885,
122
+ 613
123
+ ],
124
+ "page_idx": 0
125
+ },
126
+ {
127
+ "type": "text",
128
+ "text": "Despite rapid development in cross-text-molecule modalities, there is still demand for high-quality labeled data in this field. Such data of superior quality is indispensable to capacitate models for downstream tasks. However, the available datasets relevant to the tasks are limited, a consequence of the arduous nature of collecting precise and enlightening parallel molecule-description pairs. This scarcity of annotated data hinders the model's ability to learn between the modalities of the molecule and the text. As shown in Figure 1, recent efforts by Chen et al. (2023) address the scarcity challenge by utilizing pseudo data generated by LLMs as augmentation. The problem is that the absence of specialized knowledge in chemistry may introduce noise into the data annotated by general Large Language Models, thereby compromising the robustness of models fine-tuned on such datasets. In spite of these commendable advance",
129
+ "bbox": [
130
+ 507,
131
+ 615,
132
+ 885,
133
+ 921
134
+ ],
135
+ "page_idx": 0
136
+ },
137
+ {
138
+ "type": "page_footnote",
139
+ "text": "*Corresponding author.",
140
+ "bbox": [
141
+ 136,
142
+ 906,
143
+ 280,
144
+ 920
145
+ ],
146
+ "page_idx": 0
147
+ },
148
+ {
149
+ "type": "page_number",
150
+ "text": "9551",
151
+ "bbox": [
152
+ 478,
153
+ 927,
154
+ 519,
155
+ 940
156
+ ],
157
+ "page_idx": 0
158
+ },
159
+ {
160
+ "type": "footer",
161
+ "text": "Findings of the Association for Computational Linguistics: ACL 2024, pages 9551-9565",
162
+ "bbox": [
163
+ 228,
164
+ 945,
165
+ 768,
166
+ 958
167
+ ],
168
+ "page_idx": 0
169
+ },
170
+ {
171
+ "type": "footer",
172
+ "text": "August 11-16, 2024 ©2024 Association for Computational Linguistics",
173
+ "bbox": [
174
+ 284,
175
+ 958,
176
+ 712,
177
+ 971
178
+ ],
179
+ "page_idx": 0
180
+ },
181
+ {
182
+ "type": "text",
183
+ "text": "ments, the accessibility of high-quality datasets for fine-tuning remains notably deficient.",
184
+ "bbox": [
185
+ 114,
186
+ 84,
187
+ 487,
188
+ 116
189
+ ],
190
+ "page_idx": 1
191
+ },
192
+ {
193
+ "type": "image",
194
+ "img_path": "images/272b4bf873814a136101d35b94d4363a6c239a550a9bda1a8367e046d42a9d8c.jpg",
195
+ "image_caption": [
196
+ "(a) Conventional Data Augmentation Method"
197
+ ],
198
+ "image_footnote": [],
199
+ "bbox": [
200
+ 169,
201
+ 131,
202
+ 436,
203
+ 256
204
+ ],
205
+ "page_idx": 1
206
+ },
207
+ {
208
+ "type": "image",
209
+ "img_path": "images/5c9e685af13cd22f40c029e7e296376a3c547031d72cedeb36c03bb1feb72951.jpg",
210
+ "image_caption": [
211
+ "(b) Our Self-Augmentation Method",
212
+ "Figure 1: A comparison between a conventional data augmentation method referenced in Chen et al. (2023) and our iterative self-augmentation techniques is drawn herein. The original technique leverages Label Language Models (LLMs) to annotate unlabeled data; contrastingly, our proposed self-augmentation strategies use the model itself for annotating unlabeled data in tandem with an iterative training approach."
213
+ ],
214
+ "image_footnote": [],
215
+ "bbox": [
216
+ 169,
217
+ 286,
218
+ 438,
219
+ 414
220
+ ],
221
+ "page_idx": 1
222
+ },
223
+ {
224
+ "type": "text",
225
+ "text": "To address these challenges, this paper introduces a novel framework that interweaves model fine-tuning and data augmentation (See Fig. 1, aiming to rectify the high-quality data scarcity observed in the realm of cross text-molecule learning. Our proposed approach integrates the model into the process by assigning it dual roles: annotating unlabelled data and sampling a subset of high-quality data. This iterative procedure continues until convergence is achieved, thereby refining the model's understanding and adaptability. Additionally, we present a new, larger dataset SAPubChem-41. This meticulously curated dataset comprises a wealth of high-quality parallel molecule-description pairs meticulously designed for the specific purpose of fine-tuning. The model optimized using SAPubChem-41 has been evaluated across a total of 13 molecule-text benchmarks, exhibiting superior performance in comparison to the model optimized using the original dataset, ChEBI-20. Our key contributions can be summarized as:",
226
+ "bbox": [
227
+ 112,
228
+ 568,
229
+ 489,
230
+ 920
231
+ ],
232
+ "page_idx": 1
233
+ },
234
+ {
235
+ "type": "list",
236
+ "sub_type": "text",
237
+ "list_items": [
238
+ "- We present an innovative framework designed to augment cross-text-molecule learning through a self-augmentation strategy. This system leverages the model itself to annotate unlabelled data, choosing only samples that meet a high-quality standard.",
239
+ "- We introduce SAPubChem-41, a novel dataset consisting of both real data and high-quality pseudo-labeled data, augmented by the model itself. This makes a notable contribution to the available datasets in the field of cross-molecule-text modality.",
240
+ "- We show that within our iterative setting, self-augmented data significantly improves the performance of the model in downstream tasks with each epoch. Furthermore, these results tend to converge as the number of epochs increase. This process thereby successfully validates the efficacy of self-augmented data in enhancing model performance."
241
+ ],
242
+ "bbox": [
243
+ 531,
244
+ 84,
245
+ 885,
246
+ 445
247
+ ],
248
+ "page_idx": 1
249
+ },
250
+ {
251
+ "type": "text",
252
+ "text": "2 Background",
253
+ "text_level": 1,
254
+ "bbox": [
255
+ 507,
256
+ 463,
257
+ 650,
258
+ 479
259
+ ],
260
+ "page_idx": 1
261
+ },
262
+ {
263
+ "type": "text",
264
+ "text": "2.1 Cross Text-Molecule Learning",
265
+ "text_level": 1,
266
+ "bbox": [
267
+ 507,
268
+ 494,
269
+ 794,
270
+ 508
271
+ ],
272
+ "page_idx": 1
273
+ },
274
+ {
275
+ "type": "text",
276
+ "text": "Edwards et al. (2021) introduce a new task Text2Mol, which uses descriptions as search queries to retrieve the target molecules. Edwards et al. (2022a) first addresses the problem of cross-domain generation by linking natural language and chemistry, tackling tasks such as text-conditional de novo molecule generation and molecule captioning. Li et al. (2023a) combines retrieval-based prompt paradigm with LLMs like ChatGPT to achieve translation between molecule language and natural language. Christofidellis et al. (2023) propose the first multi-domain, multi-task language model that can solve a wide range of tasks in both the chemical and natural language domains. Liu et al. (2023) propose MolXPT, a GPT-based model pre-trained on molecule SMILES, biomedical text, and wrapped text. BioT5 (Pei et al., 2024) further exploits SELFIES for $100\\%$ robust molecular representations and discriminate structured knowledge from unstructured knowledge. To capitalize on these insights, we adopt an iterative framework to interweave model fitting and data augmentation, to mitigate data scarcity and further enhance the alignment between molecule and text representations.",
277
+ "bbox": [
278
+ 505,
279
+ 519,
280
+ 885,
281
+ 919
282
+ ],
283
+ "page_idx": 1
284
+ },
285
+ {
286
+ "type": "page_number",
287
+ "text": "9552",
288
+ "bbox": [
289
+ 480,
290
+ 927,
291
+ 519,
292
+ 940
293
+ ],
294
+ "page_idx": 1
295
+ },
296
+ {
297
+ "type": "text",
298
+ "text": "2.2 Data Augmentation for Cross Text-Molecule Learning",
299
+ "text_level": 1,
300
+ "bbox": [
301
+ 112,
302
+ 84,
303
+ 389,
304
+ 116
305
+ ],
306
+ "page_idx": 2
307
+ },
308
+ {
309
+ "type": "text",
310
+ "text": "Data augmentation is a regularization strategy utilized to enhance model performance by diversifying the available data through various techniques (Hernández-García and König, 2018). In the field of natural language processing (NLP), data augmentation has been widely employed to address data scarcity issues, leading to the proposal of various augmentation methods (Feng et al., 2021; Li et al., 2022). Textual data augmentation can be accomplished through simple rules, such as synonym replacement and word order modification (Zhang et al., 2015). Furthermore, the development of deep learning models has facilitated the generation of new text to augment the existing data (Szegedy et al., 2016; Wu et al., 2019; Anaby-Tavor et al., 2020; Yoo et al., 2021; Zhou et al., 2021; Li et al., 2023b; Dai et al., 2023). Acquiring high-quality annotated molecule-text datasets is prohibitively expensive, for many descriptions of corresponding molecules are scattered and inaccurate, leading to limited fine-tuning datasets for cross text-molecule learning. More data augmentation techniques are desired to further enhance cross text-molecule learning. Chen et al. (2023) pioneers to exploit LLMs' annotated pseudo label for domain adaption and data augmentation. However, while pseudo label as domain adaptation shows impressive performance compared to existing methods, pseudo label as data augmentation still struggles against label noise interfering model's performance. To address the problem and further improve the quality of augmented dataset, our work introduces a pioneering iterative framework that interweaves model fine-tuning and data augmentation.",
311
+ "bbox": [
312
+ 112,
313
+ 122,
314
+ 492,
315
+ 670
316
+ ],
317
+ "page_idx": 2
318
+ },
319
+ {
320
+ "type": "text",
321
+ "text": "3 Method",
322
+ "text_level": 1,
323
+ "bbox": [
324
+ 112,
325
+ 683,
326
+ 218,
327
+ 697
328
+ ],
329
+ "page_idx": 2
330
+ },
331
+ {
332
+ "type": "text",
333
+ "text": "In this section, we describe a computational framework for jointly optimizing model performance and dataset quality.",
334
+ "bbox": [
335
+ 112,
336
+ 709,
337
+ 489,
338
+ 758
339
+ ],
340
+ "page_idx": 2
341
+ },
342
+ {
343
+ "type": "text",
344
+ "text": "3.1 Overall Framework",
345
+ "text_level": 1,
346
+ "bbox": [
347
+ 112,
348
+ 770,
349
+ 317,
350
+ 784
351
+ ],
352
+ "page_idx": 2
353
+ },
354
+ {
355
+ "type": "text",
356
+ "text": "The literature demonstrates a substantial body of research focused on enhancing both model performance and dataset quality concurrently, as depicted in Figure 2. If we assume the existence of a subjective testing environment capable of gathering reliable molecule-caption pairs, then the core challenge becomes how to effectively sample a subset $A$ from a large-scale pseudo-labeled dataset $D$",
357
+ "bbox": [
358
+ 112,
359
+ 791,
360
+ 489,
361
+ 921
362
+ ],
363
+ "page_idx": 2
364
+ },
365
+ {
366
+ "type": "text",
367
+ "text": "that exhibits high confidence. In line with Li et al. (2023b), our approach adopts an iterative strategy, combining model fine-tuning and data augmentation operations defined below.",
368
+ "bbox": [
369
+ 507,
370
+ 84,
371
+ 884,
372
+ 148
373
+ ],
374
+ "page_idx": 2
375
+ },
376
+ {
377
+ "type": "list",
378
+ "sub_type": "text",
379
+ "list_items": [
380
+ "1. Model fine-tuning: Given a data distribution, find an approximate risk minimizer.",
381
+ "2. Data augmentation: Given a model, augment data and sample a new data distribution.",
382
+ "3. Data combination: Combine a set of distributions into a single distribution."
383
+ ],
384
+ "bbox": [
385
+ 507,
386
+ 149,
387
+ 882,
388
+ 244
389
+ ],
390
+ "page_idx": 2
391
+ },
392
+ {
393
+ "type": "text",
394
+ "text": "At the beginning of each iteration, a new model is finetuned on the latest dataset. This newly trained model is subsequently employed to annotate a set of unlabeled data, thereby generating a pseudolabeled dataset. The sampler is then entrusted with the responsibility of discerning samples distinguished by their high quality from this pseudolabeled dataset. The discerned insights are then harnessed to augment and refine the current dataset, thereby facilitating a continuous and iterative improvement process.",
395
+ "bbox": [
396
+ 507,
397
+ 244,
398
+ 884,
399
+ 422
400
+ ],
401
+ "page_idx": 2
402
+ },
403
+ {
404
+ "type": "text",
405
+ "text": "3.2 Self-Annotating",
406
+ "text_level": 1,
407
+ "bbox": [
408
+ 507,
409
+ 432,
410
+ 680,
411
+ 448
412
+ ],
413
+ "page_idx": 2
414
+ },
415
+ {
416
+ "type": "text",
417
+ "text": "We gathered 200,000 unannotated SMILES of molecules from PubChem (Kim et al., 2023) and conducted dedduplication to mitigate the risk of data leakage in the validation dataset. For each unlabeled SMILES, we executed inference on the model itself to produce a candidate caption, thereby obtaining the pseudo-labeled dataset.",
418
+ "bbox": [
419
+ 507,
420
+ 453,
421
+ 882,
422
+ 565
423
+ ],
424
+ "page_idx": 2
425
+ },
426
+ {
427
+ "type": "text",
428
+ "text": "ChatGPT Annotating vs Specialized Model Annotating Despite the remarkable performance of Large Language Models (LLMs) such as ChatGPT in various cross-modal tasks, they have not succeeded in surpassing specialized models in the molecule captioning task (Li et al., 2023a; Christofidellis et al., 2023). This suggests that specialized models serve as better annotators for unlabeled SMILES strings. Furthermore, as depicted in Figure 3(a), by leveraging the Text2Mol score (Edwards et al., 2022a) as a fundamental metric of data quality, which measures the similarity between SMILES strings and their captions, we evaluated the distribution of the real training set, MolReGPT annotated data, and self-annotated data. It is evident that the self-annotated data yields higher-quality data, closely resembling real data more than the MolReGPT annotated data.",
429
+ "bbox": [
430
+ 507,
431
+ 574,
432
+ 884,
433
+ 864
434
+ ],
435
+ "page_idx": 2
436
+ },
437
+ {
438
+ "type": "text",
439
+ "text": "Iterative Annotating We employ an iterative training approach to enhance the proficiency of annotators and produce captions of superior quality.",
440
+ "bbox": [
441
+ 507,
442
+ 873,
443
+ 882,
444
+ 921
445
+ ],
446
+ "page_idx": 2
447
+ },
448
+ {
449
+ "type": "page_number",
450
+ "text": "9553",
451
+ "bbox": [
452
+ 480,
453
+ 927,
454
+ 519,
455
+ 940
456
+ ],
457
+ "page_idx": 2
458
+ },
459
+ {
460
+ "type": "image",
461
+ "img_path": "images/9df76a23d759ae9f4034356e1c20d7741b9c68c8cd33417e41be9b9e838b4682.jpg",
462
+ "image_caption": [
463
+ "Figure 2: Overall framework. We interweave model fine-tuning and data augmentation iteratively. A core component of our framework, the Data Augmentation Module, is compartmentalised into two key elements: Self-Annotating and Self-Sampling. These elements underline the crux of our methodology, wherein the model autonomously performs the augmentation, subsequently enhancing its own performance."
464
+ ],
465
+ "image_footnote": [],
466
+ "bbox": [
467
+ 147,
468
+ 78,
469
+ 836,
470
+ 561
471
+ ],
472
+ "page_idx": 3
473
+ },
474
+ {
475
+ "type": "text",
476
+ "text": "As depicted in Figure 3, during each iteration, the quality of the molecule-caption pairs is enhanced through the implementation of the iterative strategy.",
477
+ "bbox": [
478
+ 112,
479
+ 651,
480
+ 489,
481
+ 700
482
+ ],
483
+ "page_idx": 3
484
+ },
485
+ {
486
+ "type": "text",
487
+ "text": "3.3 Self-Sampling",
488
+ "text_level": 1,
489
+ "bbox": [
490
+ 114,
491
+ 734,
492
+ 272,
493
+ 750
494
+ ],
495
+ "page_idx": 3
496
+ },
497
+ {
498
+ "type": "text",
499
+ "text": "A discerning subset sampling strategy is anticipated to effectively filter pseudo labels, thereby ensuring the attainment of high-quality labels for training the model. This refined approach aims to enhance the overall reliability of the model by mitigating the impact of unreliable or inaccurate labels in the training process. In contrast to prior work (Li et al., 2023b), wherein fine-tuning an external score model was employed to select high-quality pairs, we have found this approach to be",
500
+ "bbox": [
501
+ 112,
502
+ 760,
503
+ 490,
504
+ 921
505
+ ],
506
+ "page_idx": 3
507
+ },
508
+ {
509
+ "type": "text",
510
+ "text": "both time-consuming and unreliable when applied to the domain of cross text-molecule learning. Notably, the susceptibility of the model to overfitting incorrect pseudo-labels is a concern, as detailed in section 4.4. To tackle this dilemma, we introduce a dual selection mechanism that not only proves to be more computationally efficient but also enhances reliability in ensuring the high quality of our augmented dataset. This mechanism involves two key steps. Firstly, leveraging the generation likelihood as a confidence score to filter out unreliable molecule-caption pairs. Secondly, updating and ranking the remaining molecule-caption pairs based on the Text2Mol score (Edwards et al., 2022a) This refined approach streamlines the sampling process, offering increased efficiency and",
511
+ "bbox": [
512
+ 507,
513
+ 651,
514
+ 884,
515
+ 909
516
+ ],
517
+ "page_idx": 3
518
+ },
519
+ {
520
+ "type": "page_number",
521
+ "text": "9554",
522
+ "bbox": [
523
+ 480,
524
+ 927,
525
+ 519,
526
+ 940
527
+ ],
528
+ "page_idx": 3
529
+ },
530
+ {
531
+ "type": "image",
532
+ "img_path": "images/20951661f4e22357b7b4d029b32a0c395e446f3d4244e0c8c5e64433b59a0d3d.jpg",
533
+ "image_caption": [
534
+ "(a) Comparison of Data Quality Between LLMs Annotated Label and Self-Annotated Label"
535
+ ],
536
+ "image_footnote": [],
537
+ "bbox": [
538
+ 144,
539
+ 84,
540
+ 463,
541
+ 261
542
+ ],
543
+ "page_idx": 4
544
+ },
545
+ {
546
+ "type": "image",
547
+ "img_path": "images/8f0f2157fe37c877e088e862611123d5520baa1f758db2f66630cbc7098ebf02.jpg",
548
+ "image_caption": [
549
+ "(b) Comparison of Data Quality in Relation to the Adoption or Non-Apoption of Iterative Strategy",
550
+ "Figure 3: In a manner akin to Chen et al. (2023) in their study, we employ the methodology proposed by Edwards et al. (2022) to evaluate the correlation between molecule-description pairs, utilizing it as a measure of data quality. The distributions are illustrated via Kernel Distribution Estimation. A noteworthy aspect to consider here is that a higher Text2Mol score typically implies a closer resemblance between the molecule and its description. In addition, the term \"Density\" in (a) pertains to the concentration of data within a specific region."
551
+ ],
552
+ "image_footnote": [],
553
+ "bbox": [
554
+ 171,
555
+ 299,
556
+ 435,
557
+ 404
558
+ ],
559
+ "page_idx": 4
560
+ },
561
+ {
562
+ "type": "text",
563
+ "text": "heightened confidence in the identification of high-quality pairs for dataset augmentation.",
564
+ "bbox": [
565
+ 112,
566
+ 646,
567
+ 487,
568
+ 680
569
+ ],
570
+ "page_idx": 4
571
+ },
572
+ {
573
+ "type": "text",
574
+ "text": "Data Filtering First, we employ the model itself to filter out a set of low-quality pairs. Specifically, we utilize the generation likelihood as a measure of the quality of the generated sequence. However, previous studies (Liu and Liu, 2021; Liu et al., 2022) have underscored that the correlation between sequence probability and its quality for Maximum Likelihood Estimation (MLE) trained models can be low, due to the presence of deterministic (one-point) target distribution issues. Furthermore, sequence likelihood estimation becomes noisier when the decoded sequences of models deviate from the exposed training data distribution, thereby exacerbating the problem of exposure bias",
575
+ "bbox": [
576
+ 112,
577
+ 696,
578
+ 489,
579
+ 921
580
+ ],
581
+ "page_idx": 4
582
+ },
583
+ {
584
+ "type": "text",
585
+ "text": "(Ranzato et al., 2016). To address these intricate challenges, we introduce the Sequence Likelihood Calibration (SLiC) stage. This stage, depicted in Figure 1, serves to mitigate the aforementioned issues and diminish the gap between sequence likelihood and its associated quality. Following the methodology of Zhao et al. (2022), we conduct further fine-tuning of the model, introducing a new objective that encompasses the following loss functions:",
586
+ "bbox": [
587
+ 507,
588
+ 84,
589
+ 884,
590
+ 243
591
+ ],
592
+ "page_idx": 4
593
+ },
594
+ {
595
+ "type": "equation",
596
+ "text": "\n$$\n\\begin{array}{l} \\mathrm {L} _ {\\text {r a n k}} ^ {\\text {c a l}} = \\max \\left(0, \\beta - \\log P _ {\\theta} \\left(\\hat {\\mathbf {y}} _ {+} \\mid \\mathbf {x}\\right) + \\log P _ {\\theta} \\left(\\hat {\\mathbf {y}} _ {-} \\mid \\mathbf {x}\\right)\\right), \\\\ \\mathbf {L} _ {\\mathrm {c e}} ^ {\\mathrm {r e g}} = \\sum_ {t} - \\log P _ {\\theta} \\left(\\bar {y} _ {t} \\mid \\overline {{\\mathbf {y}}} _ {t - 1}, \\mathbf {x}\\right), \\\\ \\end{array}\n$$\n",
597
+ "text_format": "latex",
598
+ "bbox": [
599
+ 510,
600
+ 254,
601
+ 880,
602
+ 318
603
+ ],
604
+ "page_idx": 4
605
+ },
606
+ {
607
+ "type": "equation",
608
+ "text": "\n$$\n\\mathrm {L} _ {\\mathrm {k l}} ^ {\\mathrm {r e g}} = \\sum_ {t} P _ {\\theta} \\left(\\bar {y} _ {t} \\mid \\overline {{\\mathbf {y}}} _ {t - 1}, \\mathbf {x}\\right) \\log \\frac {P _ {\\theta} \\left(\\bar {y} _ {t} \\mid \\overline {{\\mathbf {y}}} _ {t - 1} , \\mathbf {x}\\right)}{P _ {\\theta_ {f t}} \\left(\\bar {y} _ {t} \\mid \\overline {{\\mathbf {y}}} _ {t - 1} , \\mathbf {x}\\right)}.\n$$\n",
609
+ "text_format": "latex",
610
+ "bbox": [
611
+ 512,
612
+ 326,
613
+ 880,
614
+ 357
615
+ ],
616
+ "page_idx": 4
617
+ },
618
+ {
619
+ "type": "text",
620
+ "text": "Given the context $\\mathbf{x}$ , target $\\overline{\\mathbf{y}}$ , and positive and negative candidates pairs $\\hat{\\mathbf{y}}_{+}, \\hat{\\mathbf{y}}_{-}, P_{\\theta}(\\mathbf{y} \\mid \\mathbf{x})$ denotes the generation sequence likelihood. Rank loss $L_{rank}^{cal}$ optimizes the ranking order of positive and negative candidate pairs. Cross entropy loss $L_{ce}^{reg}$ is the standard fine-tuning MLE objective. KL divergence loss $L_{kl}^{reg}$ directly minimizes the probability distribution distance between the calibrated model and the fine-tuned model at each token on the observed target sequence.",
621
+ "bbox": [
622
+ 507,
623
+ 362,
624
+ 882,
625
+ 521
626
+ ],
627
+ "page_idx": 4
628
+ },
629
+ {
630
+ "type": "text",
631
+ "text": "Following the SLiC stage, we regard the generation likelihood as one of our metrics for assessing the quality of pseudo labels. In our experiments, we discard pairs with log-likelihood equal to negative infinity and retain the remaining pairs as high-quality pairs.",
632
+ "bbox": [
633
+ 507,
634
+ 523,
635
+ 882,
636
+ 619
637
+ ],
638
+ "page_idx": 4
639
+ },
640
+ {
641
+ "type": "text",
642
+ "text": "Update and Rank Secondly, for those high-quality pairs, we further refine the data based on the similarity score $\\mathcal{F}_{\\mathrm{text2mol}}$ proposed by Edwards et al. (2022a). At iteration t, we update the caption if $\\mathcal{F}_{\\mathrm{text2mol}}(m,c_t) > \\mathcal{F}_{\\mathrm{text2mol}}(m,c_{t - 1})$ then we rank the updated dataset according to $\\mathcal{F}_{\\mathrm{text2mol}}$ ,selecting the top $t\\times 2k$ pairs to form the new Augmented Dataset $A_{t}$",
643
+ "bbox": [
644
+ 507,
645
+ 627,
646
+ 882,
647
+ 756
648
+ ],
649
+ "page_idx": 4
650
+ },
651
+ {
652
+ "type": "text",
653
+ "text": "4 Experiments",
654
+ "text_level": 1,
655
+ "bbox": [
656
+ 507,
657
+ 768,
658
+ 655,
659
+ 784
660
+ ],
661
+ "page_idx": 4
662
+ },
663
+ {
664
+ "type": "text",
665
+ "text": "In order to validate the efficacy of utilizing our framework, we have undertaken a series of comprehensive experiments.",
666
+ "bbox": [
667
+ 507,
668
+ 793,
669
+ 882,
670
+ 841
671
+ ],
672
+ "page_idx": 4
673
+ },
674
+ {
675
+ "type": "text",
676
+ "text": "4.1 Experimental Setup",
677
+ "text_level": 1,
678
+ "bbox": [
679
+ 507,
680
+ 852,
681
+ 714,
682
+ 868
683
+ ],
684
+ "page_idx": 4
685
+ },
686
+ {
687
+ "type": "text",
688
+ "text": "Dataset We employ the ChEBI-20 (Edwards et al., 2021) to serve as our original dataset. Additionally, we gather 200,000 unannotated molecules",
689
+ "bbox": [
690
+ 507,
691
+ 873,
692
+ 882,
693
+ 921
694
+ ],
695
+ "page_idx": 4
696
+ },
697
+ {
698
+ "type": "page_number",
699
+ "text": "9555",
700
+ "bbox": [
701
+ 480,
702
+ 927,
703
+ 519,
704
+ 940
705
+ ],
706
+ "page_idx": 4
707
+ },
708
+ {
709
+ "type": "table",
710
+ "img_path": "images/cd494917da8380225e3eef6d916ad474e8ee0d2063a2311b8735a90179b85968.jpg",
711
+ "table_caption": [],
712
+ "table_footnote": [],
713
+ "table_body": "<table><tr><td>Info</td><td>SAPubChem-41</td><td>ChEBI-20</td></tr><tr><td>Train</td><td>34,407</td><td>26,407</td></tr><tr><td>Validation</td><td>3,301</td><td>3,301</td></tr><tr><td>Test</td><td>3,300</td><td>3,300</td></tr><tr><td>\\(\\mathcal{L}_{\\text{SMILES}}\\)</td><td>69.96</td><td>81.56</td></tr><tr><td>\\(\\mathcal{L}_{\\text{Description}}\\)</td><td>41.59</td><td>52.88</td></tr></table>",
714
+ "bbox": [
715
+ 132,
716
+ 80,
717
+ 470,
718
+ 186
719
+ ],
720
+ "page_idx": 5
721
+ },
722
+ {
723
+ "type": "text",
724
+ "text": "Table 1: Comparison of our SAPubChem-41 dataset with the original dataset ChEBI-20. $L_{\\text{SMILES}}$ denotes the average length of SMILES while $L_{\\text{Description}}$ denotes the average word count per description.",
725
+ "bbox": [
726
+ 112,
727
+ 197,
728
+ 487,
729
+ 255
730
+ ],
731
+ "page_idx": 5
732
+ },
733
+ {
734
+ "type": "image",
735
+ "img_path": "images/ba287cb3b5eef8c8e418c1e1368705f12332150847eb5d628a1bc8acb032545b.jpg",
736
+ "image_caption": [
737
+ "Figure 4: The results of the iteration procedure. The dashed lines denote the metrics associated with the molecule captioning task, while the solid lines signify those related to the molecule generation task."
738
+ ],
739
+ "image_footnote": [],
740
+ "bbox": [
741
+ 124,
742
+ 274,
743
+ 478,
744
+ 508
745
+ ],
746
+ "page_idx": 5
747
+ },
748
+ {
749
+ "type": "text",
750
+ "text": "from the PubChem database (Kim et al., 2023). Subsequently, we conduct a rigorous filtering procedure to exclude any molecules present in downstream datasets, ensuring the elimination of potential overlaps between the newly acquired molecules and those already present in the ChEBI-20 dataset. For our experimental dataset augmentation, we set the iteration step to 2000. At each iteration stage, the dataset size expands by 2000 from the preceding iteration. A detailed comparison between our final augmented dataset, SAPubChem-41, and the original dataset, ChEBI-20, is presented in Table 1.",
751
+ "bbox": [
752
+ 112,
753
+ 607,
754
+ 489,
755
+ 800
756
+ ],
757
+ "page_idx": 5
758
+ },
759
+ {
760
+ "type": "text",
761
+ "text": "Base Model To prove the effectiveness of our framework, we use the Text+Chem T5 (Christofidellis et al., 2023) as the base model for simulating the iterative process.",
762
+ "bbox": [
763
+ 112,
764
+ 812,
765
+ 489,
766
+ 878
767
+ ],
768
+ "page_idx": 5
769
+ },
770
+ {
771
+ "type": "text",
772
+ "text": "Metrics Following the previous studies (Edwards et al., 2022a; Li et al., 2023a; Christofidellis et al.,",
773
+ "bbox": [
774
+ 112,
775
+ 889,
776
+ 489,
777
+ 921
778
+ ],
779
+ "page_idx": 5
780
+ },
781
+ {
782
+ "type": "text",
783
+ "text": "2023; Chen et al., 2023), we evaluate the results with following metrics:",
784
+ "bbox": [
785
+ 507,
786
+ 84,
787
+ 882,
788
+ 116
789
+ ],
790
+ "page_idx": 5
791
+ },
792
+ {
793
+ "type": "text",
794
+ "text": "- Molecular Captioning: BLEU-2 and BLEU-4(Papineni et al., 2002) are metrics used to evaluate the quality of machine-generated text by comparing it to a reference text, with a higher score on the BLEU metric indicating a higher level of similarity between the generated text and reference text. ROUGE-1, ROUGE-2, and ROUGE-L(Lin, 2004) is similar to BLEU, while computing the recall-overlap of unigrams, bigrams, and longest common subsequences between the generated and reference texts. METEOR (Banerjee and Lavie, 2005) is a metric that uses a combination of unigram precision, recall, and a synonym-matching component to evaluate the generated text against the reference text, which is designed to be more sensitive to fluency, meaning, and structure than BLEU.",
795
+ "bbox": [
796
+ 531,
797
+ 133,
798
+ 884,
799
+ 423
800
+ ],
801
+ "page_idx": 5
802
+ },
803
+ {
804
+ "type": "text",
805
+ "text": "- Text-based Molecule Generation: BLEU and the Exact Match scores are calculated as basic assessments. Molecule-specified metrics including Levenshtein distance(Levenshtein et al., 1966), validity(Edwards et al., 2022a), and three molecule fingerprints scores - MACCS FTS(Durant et al., 2002), RDK FTS(Schneider et al., 2015), and Morgan FTS(Rogers and Hahn, 2010) are calculated to provide valuable insights into the quality, validity, and structural characteristics of the generated molecules.",
806
+ "bbox": [
807
+ 531,
808
+ 439,
809
+ 882,
810
+ 633
811
+ ],
812
+ "page_idx": 5
813
+ },
814
+ {
815
+ "type": "text",
816
+ "text": "Implementation We conducted our experiments on Ubuntu 22.04 using RTX 4090(24GB) * 4 with CUDA 11.7.1. Our primary dependencies are Python 3.11.4, PyTorch 2.0.1, Transformers 4.31.0, and Numpy 1.24.3. We initialize the three pretrained models using public checkpoints. For fine-tuning, we adopted the configuration in MolT5 (Edwards et al., 2022b), with a learning rate of 1e-3, 50,000 fine-tuning steps, weight decay of 0.1, batch size of 32, random seed of 42, and 1000 warm-up steps. For evaluation, we use a greedy search with a maximum generation length of 512 during generation. The evaluation metrics script is derived from MolT5 (Edwards et al., 2022b). For other hyperparameters, we relied on the default settings of the T5ForConditionalGeneration class in Huggingface.",
817
+ "bbox": [
818
+ 507,
819
+ 664,
820
+ 882,
821
+ 921
822
+ ],
823
+ "page_idx": 5
824
+ },
825
+ {
826
+ "type": "page_number",
827
+ "text": "9556",
828
+ "bbox": [
829
+ 480,
830
+ 927,
831
+ 519,
832
+ 940
833
+ ],
834
+ "page_idx": 5
835
+ },
836
+ {
837
+ "type": "table",
838
+ "img_path": "images/e4e9e1913a247ef5a4814a63578e323eadfa6a0ab72aefc28fc5d9014da57b32.jpg",
839
+ "table_caption": [],
840
+ "table_footnote": [],
841
+ "table_body": "<table><tr><td rowspan=\"2\">Dataset</td><td colspan=\"3\">Text+Chem T5</td><td colspan=\"3\">Ada-T5</td><td colspan=\"3\">MolT5</td></tr><tr><td>BL</td><td>RG</td><td>MET</td><td>BL</td><td>RG</td><td>MET</td><td>BL</td><td>RG</td><td>MET</td></tr><tr><td>ChEBI-20</td><td>0.490</td><td>0.498</td><td>0.604</td><td>0.316</td><td>0.369</td><td>0.464</td><td>0.457</td><td>0.485</td><td>0.569</td></tr><tr><td>SAPubChem-41</td><td>0.496</td><td>0.504</td><td>0.614</td><td>0.350</td><td>0.410</td><td>0.493</td><td>0.464</td><td>0.484</td><td>0.572</td></tr></table>",
842
+ "bbox": [
843
+ 144,
844
+ 82,
845
+ 853,
846
+ 154
847
+ ],
848
+ "page_idx": 6
849
+ },
850
+ {
851
+ "type": "table",
852
+ "img_path": "images/7d6ba2bb82794020dd56c1d2934a62d391985364655faa4aa64efd258182dfa9.jpg",
853
+ "table_caption": [
854
+ "Table 2: Results of different models for molecular captioning on ChEBI-20, SAPubChem-41 datasets. The best scores are in bold. BL:BLEU-4, RG:ROUGE-2, MET:METEOR"
855
+ ],
856
+ "table_footnote": [],
857
+ "table_body": "<table><tr><td rowspan=\"2\">Dataset</td><td colspan=\"3\">Text+Chem T5</td><td colspan=\"3\">Ada-T5</td><td colspan=\"3\">MolT5</td></tr><tr><td>Morgan</td><td>Acc</td><td>Val</td><td>Morgan</td><td>Acc</td><td>Val</td><td>Morgan</td><td>Acc</td><td>Val</td></tr><tr><td>ChEBI-20</td><td>0.697</td><td>0.212</td><td>0.792</td><td>0.672</td><td>0.182</td><td>0.886</td><td>0.529</td><td>0.081</td><td>0.772</td></tr><tr><td>SAPubChem-41</td><td>0.726</td><td>0.243</td><td>0.937</td><td>0.699</td><td>0.213</td><td>0.854</td><td>0.582</td><td>0.093</td><td>0.788</td></tr></table>",
858
+ "bbox": [
859
+ 124,
860
+ 208,
861
+ 873,
862
+ 281
863
+ ],
864
+ "page_idx": 6
865
+ },
866
+ {
867
+ "type": "text",
868
+ "text": "Table 3: Results of different models for molecular generation on ChEBI-20, SAPubChem-41 datasets. The best scores are in bold. Morgan:Morgan FTS, Acc:Accuracy, Val:Validity",
869
+ "bbox": [
870
+ 112,
871
+ 292,
872
+ 882,
873
+ 321
874
+ ],
875
+ "page_idx": 6
876
+ },
877
+ {
878
+ "type": "text",
879
+ "text": "4.2 Performance Comparison of Molecule-Caption Translation",
880
+ "text_level": 1,
881
+ "bbox": [
882
+ 112,
883
+ 347,
884
+ 394,
885
+ 378
886
+ ],
887
+ "page_idx": 6
888
+ },
889
+ {
890
+ "type": "text",
891
+ "text": "Molecular Captioning Table 2 presents the results of the molecule captioning task, utilizing the original ChEBI-20 dataset and the augmented SAPubChem-41 dataset to optimize three distinct pre-trained models. Across all measurement metrics, it is observable that the performance of all models using our augmented SAPubChem-41 dataset is generally superior to that utilizing the original ChEBI-20 dataset.",
892
+ "bbox": [
893
+ 112,
894
+ 382,
895
+ 487,
896
+ 527
897
+ ],
898
+ "page_idx": 6
899
+ },
900
+ {
901
+ "type": "text",
902
+ "text": "Text-based Molecule Generation Table 3 presents the results of the text-based molecule generation task, utilizing the original ChEBI-20 dataset and the augmented SAPubChem-41 dataset to optimize three distinct pre-trained models. Notably, the performance of all models that utilize our augmented SAPubChem-41 dataset generally surpasses those that use the original ChEBI-20 dataset. The accuracy of the generated molecule, as well as its similarity to the ground truth molecule, have been significantly improved following the self-augmentation of the dataset. This evidences substantial enhancements in performance when integrated with our self-rewarding framework.",
903
+ "bbox": [
904
+ 112,
905
+ 536,
906
+ 489,
907
+ 762
908
+ ],
909
+ "page_idx": 6
910
+ },
911
+ {
912
+ "type": "text",
913
+ "text": "4.3 Iterative Procedure",
914
+ "text_level": 1,
915
+ "bbox": [
916
+ 112,
917
+ 771,
918
+ 314,
919
+ 785
920
+ ],
921
+ "page_idx": 6
922
+ },
923
+ {
924
+ "type": "text",
925
+ "text": "We utilize our framework on the Text+Chem T5, taking the ChEBI-20 as the original dataset. This approach facilitates an augmented dataset while simultaneously enhancing the model's performance. It is critical to note that our intention in these experiments is not necessarily to achieve a state-of-the-art model. Rather, our prime objective is to examine the efficacy of our framework, which is designed",
926
+ "bbox": [
927
+ 112,
928
+ 791,
929
+ 489,
930
+ 921
931
+ ],
932
+ "page_idx": 6
933
+ },
934
+ {
935
+ "type": "text",
936
+ "text": "to optimize both the model and the pseudo-labeled dataset concurrently. Figure 4 illustrates the iterative process in which dashed lines represent the molecule captioning task and solid lines signify the text-based molecule generation task. We report the complete results in Table 4 and 5. There are a few observations: First, it is noticeable that for both tasks the outcome of iteration 5 mostly falls short of that of iteration 4 in all metrics. This suggests that the training process reaches convergence on iteration 4 for both tasks. Consequently, we adopt the augmented dataset obtained at the fourth iteration as our conclusive dataset. Second, for the text-based molecule generation task, there is a consistent upward trend across all pertinent metrics. This suggests that an increased quantity of high-quality pseudo-labeled data contributes to the optimization of the model in the molecule generation process. This trend underscores the necessity of sufficient high-quality data in cross text-molecule learning. Lastly, when it comes to the molecule captioning task, the general trend in relevant metrics indicates a rise. Initially, there is a minor decrease in the BLEU and Meteor metrics, which is counterweighed by an enhancement in Rouge. As the volume of high-quality pseudo-labeled data increases, all metrics demonstrate improvement. This trend suggests that the quantity of high-quality pseudo-labeled data is also a significant factor.",
937
+ "bbox": [
938
+ 507,
939
+ 347,
940
+ 885,
941
+ 814
942
+ ],
943
+ "page_idx": 6
944
+ },
945
+ {
946
+ "type": "text",
947
+ "text": "4.4 Ablation Study",
948
+ "text_level": 1,
949
+ "bbox": [
950
+ 507,
951
+ 829,
952
+ 673,
953
+ 846
954
+ ],
955
+ "page_idx": 6
956
+ },
957
+ {
958
+ "type": "text",
959
+ "text": "We perform further ablation studies to validate the effectiveness of the key component in our framework, i.e., the self-sampling strategy.",
960
+ "bbox": [
961
+ 507,
962
+ 854,
963
+ 882,
964
+ 903
965
+ ],
966
+ "page_idx": 6
967
+ },
968
+ {
969
+ "type": "text",
970
+ "text": "To demonstrate the significance of pseudo",
971
+ "bbox": [
972
+ 526,
973
+ 904,
974
+ 882,
975
+ 921
976
+ ],
977
+ "page_idx": 6
978
+ },
979
+ {
980
+ "type": "page_number",
981
+ "text": "9557",
982
+ "bbox": [
983
+ 480,
984
+ 927,
985
+ 519,
986
+ 940
987
+ ],
988
+ "page_idx": 6
989
+ },
990
+ {
991
+ "type": "table",
992
+ "img_path": "images/c31e6c1c518f2a5ca017add3cb7710b4f8e5fb3acc56d748150b8e0eab7c16d8.jpg",
993
+ "table_caption": [],
994
+ "table_footnote": [],
995
+ "table_body": "<table><tr><td>Iteration</td><td>BLEU↑</td><td>Accuracy↑</td><td>Levenshtein↓</td><td>MACCS FTS↑</td><td>RDK FTS↑</td><td>Morgan FTS↑</td><td>Validity↑</td></tr><tr><td>t0</td><td>0.750</td><td>0.212</td><td>27.39</td><td>0.874</td><td>0.767</td><td>0.697</td><td>0.792</td></tr><tr><td>t1</td><td>0.821</td><td>0.236</td><td>19.31</td><td>0.885</td><td>0.788</td><td>0.721</td><td>0.931</td></tr><tr><td>t2</td><td>0.832</td><td>0.237</td><td>18.69</td><td>0.885</td><td>0.788</td><td>0.722</td><td>0.938</td></tr><tr><td>t3</td><td>0.828</td><td>0.240</td><td>19.28</td><td>0.886</td><td>0.788</td><td>0.724</td><td>0.934</td></tr><tr><td>t4</td><td>0.827</td><td>0.243</td><td>18.59</td><td>0.887</td><td>0.792</td><td>0.726</td><td>0.937</td></tr><tr><td>t5</td><td>0.830</td><td>0.238</td><td>19.03</td><td>0.883</td><td>0.786</td><td>0.721</td><td>0.937</td></tr></table>",
996
+ "bbox": [
997
+ 119,
998
+ 82,
999
+ 877,
1000
+ 193
1001
+ ],
1002
+ "page_idx": 7
1003
+ },
1004
+ {
1005
+ "type": "table",
1006
+ "img_path": "images/f18c970efef29d2962e1b90a489b568c2679ca32ec0eb6884a76ae1417f94c72.jpg",
1007
+ "table_caption": [
1008
+ "Table 4: The iterative results of molecule generation task. The best scores are in bold."
1009
+ ],
1010
+ "table_footnote": [],
1011
+ "table_body": "<table><tr><td>Iteration</td><td>BLEU-2↑</td><td>BLEU-4↑</td><td>Rouge-1↑</td><td>Rouge-2↑</td><td>Rouge-L↑</td><td>Meteor↑</td></tr><tr><td>t0</td><td>0.580</td><td>0.490</td><td>0.647</td><td>0.498</td><td>0.586</td><td>0.604</td></tr><tr><td>t1</td><td>0.574</td><td>0.486</td><td>0.651</td><td>0.502</td><td>0.590</td><td>0.601</td></tr><tr><td>t2</td><td>0.580</td><td>0.486</td><td>0.653</td><td>0.503</td><td>0.592</td><td>0.602</td></tr><tr><td>t3</td><td>0.583</td><td>0.490</td><td>0.653</td><td>0.504</td><td>0.593</td><td>0.611</td></tr><tr><td>t4</td><td>0.584</td><td>0.496</td><td>0.653</td><td>0.504</td><td>0.593</td><td>0.614</td></tr><tr><td>t5</td><td>0.583</td><td>0.491</td><td>0.652</td><td>0.503</td><td>0.591</td><td>0.610</td></tr></table>",
1012
+ "bbox": [
1013
+ 181,
1014
+ 231,
1015
+ 816,
1016
+ 353
1017
+ ],
1018
+ "page_idx": 7
1019
+ },
1020
+ {
1021
+ "type": "text",
1022
+ "text": "Table 5: The iterative results of molecule captioning task. The best scores are in bold.",
1023
+ "bbox": [
1024
+ 206,
1025
+ 363,
1026
+ 788,
1027
+ 379
1028
+ ],
1029
+ "page_idx": 7
1030
+ },
1031
+ {
1032
+ "type": "image",
1033
+ "img_path": "images/67f66300866b8b8fef22300c68bc1b819083dfc751a3ff3e64653bf338270791.jpg",
1034
+ "image_caption": [
1035
+ "(a) BLEU"
1036
+ ],
1037
+ "image_footnote": [],
1038
+ "bbox": [
1039
+ 149,
1040
+ 397,
1041
+ 381,
1042
+ 508
1043
+ ],
1044
+ "page_idx": 7
1045
+ },
1046
+ {
1047
+ "type": "image",
1048
+ "img_path": "images/b9ff6c3114af2035e8b2e46602c38bc7beb38655ccb600ce166b2da9cb31f0ed.jpg",
1049
+ "image_caption": [
1050
+ "(b) Accuracy"
1051
+ ],
1052
+ "image_footnote": [],
1053
+ "bbox": [
1054
+ 383,
1055
+ 397,
1056
+ 613,
1057
+ 508
1058
+ ],
1059
+ "page_idx": 7
1060
+ },
1061
+ {
1062
+ "type": "image",
1063
+ "img_path": "images/47a191f09c77f920faa6c0442d2a157cef34f22990f8853772b4a7ac9072aaa4.jpg",
1064
+ "image_caption": [
1065
+ "(c) Morgan FTS"
1066
+ ],
1067
+ "image_footnote": [],
1068
+ "bbox": [
1069
+ 616,
1070
+ 397,
1071
+ 847,
1072
+ 510
1073
+ ],
1074
+ "page_idx": 7
1075
+ },
1076
+ {
1077
+ "type": "image",
1078
+ "img_path": "images/90c9e90c14159a4efccd232f8acb6ce87b2be93964e115550168e9f124f829e5.jpg",
1079
+ "image_caption": [
1080
+ "Figure 5: Results of molecule generation task using different sampling strategy. The blue line marks the result of model optimization on the original dataset.",
1081
+ "(a) BLEU-4",
1082
+ "Figure 6: Results of molecule captioning task using different sampling strategy. The blue line marks the result of model optimization on the original dataset."
1083
+ ],
1084
+ "image_footnote": [],
1085
+ "bbox": [
1086
+ 149,
1087
+ 592,
1088
+ 379,
1089
+ 703
1090
+ ],
1091
+ "page_idx": 7
1092
+ },
1093
+ {
1094
+ "type": "image",
1095
+ "img_path": "images/f738188f7c04194e649bd0ce00df7eee7a8a5b0171900874a3169b2cf90d4c36.jpg",
1096
+ "image_caption": [
1097
+ "(b) Rouge-2"
1098
+ ],
1099
+ "image_footnote": [],
1100
+ "bbox": [
1101
+ 383,
1102
+ 592,
1103
+ 613,
1104
+ 703
1105
+ ],
1106
+ "page_idx": 7
1107
+ },
1108
+ {
1109
+ "type": "image",
1110
+ "img_path": "images/996ceabbab978d4d1995cb968c26ebbe415cc74a098b4a17fdcf433dbd263b82.jpg",
1111
+ "image_caption": [
1112
+ "(c) Meteor"
1113
+ ],
1114
+ "image_footnote": [],
1115
+ "bbox": [
1116
+ 616,
1117
+ 592,
1118
+ 847,
1119
+ 703
1120
+ ],
1121
+ "page_idx": 7
1122
+ },
1123
+ {
1124
+ "type": "text",
1125
+ "text": "labeled data selection, we conducted a comparative analysis of the performance of all intermediate models. We compared the use of randomly-selected data of the same size with our refined data. As depicted in Figure 5 and 6, our refined data consistently outperformed the randomly-selected data across all metrics at each iteration for both tasks.",
1126
+ "bbox": [
1127
+ 112,
1128
+ 793,
1129
+ 489,
1130
+ 904
1131
+ ],
1132
+ "page_idx": 7
1133
+ },
1134
+ {
1135
+ "type": "text",
1136
+ "text": "Notably, when optimizing the model on randomly-selected data, the results were generally inferior to the original model on most metrics. This indicates that the model tends to overfit to noisy pseudolabels. These findings emphasize the critical role of the self-sampling strategy in our framework.",
1137
+ "bbox": [
1138
+ 507,
1139
+ 793,
1140
+ 884,
1141
+ 889
1142
+ ],
1143
+ "page_idx": 7
1144
+ },
1145
+ {
1146
+ "type": "page_number",
1147
+ "text": "9558",
1148
+ "bbox": [
1149
+ 480,
1150
+ 927,
1151
+ 519,
1152
+ 940
1153
+ ],
1154
+ "page_idx": 7
1155
+ },
1156
+ {
1157
+ "type": "text",
1158
+ "text": "5 Conclusion",
1159
+ "text_level": 1,
1160
+ "bbox": [
1161
+ 112,
1162
+ 83,
1163
+ 247,
1164
+ 98
1165
+ ],
1166
+ "page_idx": 8
1167
+ },
1168
+ {
1169
+ "type": "text",
1170
+ "text": "In this paper, we have explored and grappled with the challenge of a deficiency in the accessibility of high-quality datasets for model fine-tuning in the field of cross text-molecule learning, by developing a novel framework. This innovative framework efficiently combines model fine-tuning with data augmentation, integrating the model in such a way that it expands its roles to include annotating unlabeled data and sampling a subset of high-quality data. The paper further introduces a high-quality dataset, the SAPubChem-41, expressly designed for fine-tuning purposes. The experiments' results were impressive as the model optimized using SAPubChem-41 consistently outperformed the model optimized using the original dataset, ChEBI-20. Going forward, this paper's findings present crucial steps toward addressing high-quality data scarcity for fine-tuning and ensuring further advancement in the exciting field of cross text-molecule learning.",
1171
+ "bbox": [
1172
+ 112,
1173
+ 108,
1174
+ 492,
1175
+ 431
1176
+ ],
1177
+ "page_idx": 8
1178
+ },
1179
+ {
1180
+ "type": "text",
1181
+ "text": "6 Limitations and Future Works",
1182
+ "text_level": 1,
1183
+ "bbox": [
1184
+ 112,
1185
+ 442,
1186
+ 413,
1187
+ 457
1188
+ ],
1189
+ "page_idx": 8
1190
+ },
1191
+ {
1192
+ "type": "text",
1193
+ "text": "One limitation of our framework is that it only considers a 1D representation of molecules. The integration of additional representations, such as molecule graphs, is left as future work. Additionally, our data augmentation module currently only supports sample-level labels. It is expected that more quality measurements from different levels will be incorporated to provide a comprehensive perspective on quantifying the dataset quality.",
1194
+ "bbox": [
1195
+ 112,
1196
+ 467,
1197
+ 489,
1198
+ 612
1199
+ ],
1200
+ "page_idx": 8
1201
+ },
1202
+ {
1203
+ "type": "text",
1204
+ "text": "Acknowledgements",
1205
+ "text_level": 1,
1206
+ "bbox": [
1207
+ 114,
1208
+ 623,
1209
+ 285,
1210
+ 639
1211
+ ],
1212
+ "page_idx": 8
1213
+ },
1214
+ {
1215
+ "type": "text",
1216
+ "text": "This work is supported by National Natural Science Foundation of China (62302433, U23A20496), Zhejiang Provincial \"Jianbing\" \"Lingyan\" Research and Development Program of China (2024C01135), Zhejiang Provincial Natural Science Foundation of China (LQ24F020007), New Generation AI Development Plan for 2030 of China (2023ZD0120802) and CCF-Tencent Rhino-Bird Fund (RAGR20230122).",
1217
+ "bbox": [
1218
+ 112,
1219
+ 646,
1220
+ 489,
1221
+ 791
1222
+ ],
1223
+ "page_idx": 8
1224
+ },
1225
+ {
1226
+ "type": "text",
1227
+ "text": "References",
1228
+ "text_level": 1,
1229
+ "bbox": [
1230
+ 114,
1231
+ 819,
1232
+ 213,
1233
+ 834
1234
+ ],
1235
+ "page_idx": 8
1236
+ },
1237
+ {
1238
+ "type": "ref_text",
1239
+ "text": "Ateret Anaby-Tavor, Boaz Carmeli, Esther Goldbraich, Amir Kantor, George Kour, Segev Shlomov, Naama Tepper, and Naama Zwerdling. 2020. Do not have enough data? deep learning to the rescue! In Proceedings of the AAAI Conference on Artificial Intelligence, volume 34, pages 7383-7390.",
1240
+ "bbox": [
1241
+ 115,
1242
+ 841,
1243
+ 489,
1244
+ 921
1245
+ ],
1246
+ "page_idx": 8
1247
+ },
1248
+ {
1249
+ "type": "list",
1250
+ "sub_type": "ref_text",
1251
+ "list_items": [
1252
+ "Satanjeev Banerjee and Alon Lavie. 2005. Meteor: An automatic metric for mt evaluation with improved correlation with human judgments. In Proceedings of the acl workshop on intrinsic and extrinsic evaluation measures for machine translation and/or summarization, pages 65-72.",
1253
+ "Yuhan Chen, Nuwa Xi, Yanrui Du, Haochun Wang, Chen Jianyu, Sendong Zhao, and Bing Qin. 2023. From artificially real to real: Leveraging pseudo data from large language models for low-resource molecule discovery.",
1254
+ "Dimitrios Christofidellis, Giorgio Giannone, Jannis Born, Ole Winther, Teodoro Laino, and Matteo Manica. 2023. Unifying molecular and textual representations via multi-task language modelling.",
1255
+ "Haixing Dai, Zhengliang Liu, Wenxiong Liao, Xiaoke Huang, Yihan Cao, Zihao Wu, Lin Zhao, Shaochen Xu, Wei Liu, Ninghao Liu, et al. 2023. Auggpt: Leveraging chatgpt for text data augmentation. arXiv preprint arXiv:2302.13007.",
1256
+ "Kirill Degtyarenko, Paula De Matos, Marcus Ennis, Janna Hastings, Martin Zbinden, Alan McNaught, Rafael Alcantara, Michael Darsow, Mickaël Guedj, and Michael Ashburner. 2007. Chebi: a database and ontology for chemical entities of biological interest. Nucleic acids research, 36(suppl_1):D344-D350.",
1257
+ "Joseph L Durant, Burton A Leland, Douglas R Henry, and James G Nourse. 2002. Reoptimization of mdI keys for use in drug discovery. Journal of chemical information and computer sciences, 42(6):1273-1280.",
1258
+ "Carl Edwards, Tuan Lai, Kevin Ros, Garrett Honke, Kyunghyun Cho, and Heng Ji. 2022a. Translation between molecules and natural language.",
1259
+ "Carl Edwards, Tuan Manh Lai, Kevin Ros, Garrett Honke, Kyunghyun Cho, and Heng Ji. 2022b. Translation between molecules and natural language. In EMNLP, pages 375-413. Association for Computational Linguistics.",
1260
+ "Carl Edwards, ChengXiang Zhai, and Heng Ji. 2021. Text2mol: Cross-modal molecule retrieval with natural language queries. In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing, pages 595-607.",
1261
+ "Steven Y Feng, Varun Gangal, Jason Wei, Sarath Chandar, Soroush Vosoughi, Teruko Mitamura, and Eduard Hovy. 2021. A survey of data augmentation approaches for nlp. arXiv preprint arXiv:2105.03075.",
1262
+ "Alex Hernández-García and Peter König. 2018. Data augmentation instead of explicit regularization. arXiv preprint arXiv:1806.03852.",
1263
+ "Sunghwan Kim, Jie Chen, Tiejun Cheng, Asta Gindulyte, Jia He, Siqian He, Qingliang Li, Benjamin A Shoemaker, Paul A Thiessen, Bo Yu, et al. 2023. Pubchem 2023 update. Nucleic acids research, 51(D1):D1373-D1380."
1264
+ ],
1265
+ "bbox": [
1266
+ 510,
1267
+ 85,
1268
+ 884,
1269
+ 919
1270
+ ],
1271
+ "page_idx": 8
1272
+ },
1273
+ {
1274
+ "type": "page_number",
1275
+ "text": "9559",
1276
+ "bbox": [
1277
+ 480,
1278
+ 927,
1279
+ 519,
1280
+ 940
1281
+ ],
1282
+ "page_idx": 8
1283
+ },
1284
+ {
1285
+ "type": "list",
1286
+ "sub_type": "ref_text",
1287
+ "list_items": [
1288
+ "Vladimir I Levenshtein et al. 1966. Binary codes capable of correcting deletions, insertions, and reversals. In Soviet physics doklady, volume 10, pages 707-710. Soviet Union.",
1289
+ "Bohan Li, Yutai Hou, and Wanxiang Che. 2022. Data augmentation approaches in natural language processing: A survey. *Ai Open*, 3:71-90.",
1290
+ "Jiatong Li, Yunqing Liu, Wenqi Fan, Xiao-Yong Wei, Hui Liu, Jiliang Tang, and Qing Li. 2023a. Empowering molecule discovery for molecule-caption translation with large language models: A chatgpt perspective.",
1291
+ "Xian Li, Ping Yu, Chunting Zhou, Timo Schick, Luke Zettlemoyer, Omer Levy, Jason Weston, and Mike Lewis. 2023b. Self-alignment with instruction back-translation. arXiv preprint arXiv:2308.06259.",
1292
+ "Chin-Yew Lin. 2004. Rouge: A package for automatic evaluation of summaries. In Text summarization branches out, pages 74-81.",
1293
+ "Yixin Liu and Pengfei Liu. 2021. SimCLS: A simple framework for contrastive learning of abstractive summarization. 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 1065-1072, Online. Association for Computational Linguistics.",
1294
+ "Yixin Liu, Pengfei Liu, Dragomir Radev, and Graham Neubig. 2022. BRIO: Bringing order to abstractive summarization. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 2890-2903, Dublin, Ireland. Association for Computational Linguistics.",
1295
+ "Zequn Liu, Wei Zhang, Yingce Xia, Lijun Wu, Shufang Xie, Tao Qin, Ming Zhang, and Tie-Yan Liu. 2023. Molxpt: Wrapping molecules with text for generative pre-training. arXiv preprint arXiv:2305.10688.",
1296
+ "Zhiyuan Liu, Sihang Li, Yanchen Luo, Hao Fei, Yixin Cao, Kenji Kawaguchi, Xiang Wang, and Tat-Seng Chua. 2024. Molca: Molecular graph-language modeling with cross-modal projector and uni-modal adapter.",
1297
+ "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.",
1298
+ "Qizhi Pei, Wei Zhang, Jinhua Zhu, Kehan Wu, Kaiyuan Gao, Lijun Wu, Yingce Xia, and Rui Yan. 2024. Biot5: Enriching cross-modal integration in biology with chemical knowledge and natural language associations."
1299
+ ],
1300
+ "bbox": [
1301
+ 115,
1302
+ 85,
1303
+ 489,
1304
+ 917
1305
+ ],
1306
+ "page_idx": 9
1307
+ },
1308
+ {
1309
+ "type": "list",
1310
+ "sub_type": "ref_text",
1311
+ "list_items": [
1312
+ "Colin Raffel, Noam Shazeer, Adam Roberts, Katherine Lee, Sharan Narang, Michael Matena, Yanqi Zhou, Wei Li, and Peter J. Liu. 2020. Exploring the limits of transfer learning with a unified text-to-text transformer. J. Mach. Learn. Res., 21:140:1-140:67.",
1313
+ "Marc'Aurelio Ranzato, Sumit Chopra, Michael Auli, and Wojciech Zaremba. 2016. Sequence level training with recurrent neural networks.",
1314
+ "David Rogers and Mathew Hahn. 2010. Extendedconnectivity fingerprints. Journal of chemical information and modeling, 50(5):742-754.",
1315
+ "Nadine Schneider, Roger A Sayle, and Gregory A Landrum. 2015. Get your atoms in order an opensource implementation of a novel and robust molecular canonicalization algorithm. Journal of chemical information and modeling, 55(10):2111-2120.",
1316
+ "Christian Szegedy, Vincent Vanhoucke, Sergey Ioffe, Jon Shlens, and Zbigniew Wojna. 2016. Rethinking the inception architecture for computer vision. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 2818-2826.",
1317
+ "David S Wishart, Yannick D Feunang, An C Guo, Elvis J Lo, Ana Marcu, Jason R Grant, Tanvir Sajed, Daniel Johnson, Carin Li, Zinat Sayeeda, et al. 2018. Drugbank 5.0: a major update to the drugbank database for 2018. Nucleic acids research, 46(D1):D1074-D1082.",
1318
+ "Xing Wu, Shangwen Lv, Liangjun Zang, Jizhong Han, and Songlin Hu. 2019. Conditional bert contextual augmentation. In Computational Science-ICCS 2019: 19th International Conference, Faro, Portugal, June 12–14, 2019, Proceedings, Part IV 19, pages 84–95. Springer.",
1319
+ "Kang Min Yoo, Dongju Park, Jaewook Kang, Sang-Woo Lee, and Woomyeong Park. 2021. Gpt3mix: Leveraging large-scale language models for text augmentation. arXiv preprint arXiv:2104.08826.",
1320
+ "Zheni Zeng, Yuan Yao, Zhiyuan Liu, and Maosong Sun. 2022. A deep-learning system bridging molecule structure and biomedical text with comprehension comparable to human professionals. Nature communications, 13(1):862.",
1321
+ "Qiang Zhang, Keyang Ding, Tianwen Lyv, Xinda Wang, Qingyu Yin, Yiwen Zhang, Jing Yu, Yuhao Wang, Xiaotong Li, Zhuoyi Xiang, et al. 2024. Scientific large language models: A survey on biological & chemical domains. arXiv preprint arXiv:2401.14656.",
1322
+ "Xiang Zhang, Junbo Zhao, and Yann LeCun. 2015. Character-level convolutional networks for text classification. Advances in neural information processing systems, 28.",
1323
+ "Yao Zhao, Misha Khalman, Rishabh Joshi, Shashi Narayan, Mohammad Saleh, and Peter J. Liu. 2022. Calibrating sequence likelihood improves conditional language generation."
1324
+ ],
1325
+ "bbox": [
1326
+ 510,
1327
+ 85,
1328
+ 880,
1329
+ 920
1330
+ ],
1331
+ "page_idx": 9
1332
+ },
1333
+ {
1334
+ "type": "page_number",
1335
+ "text": "9560",
1336
+ "bbox": [
1337
+ 480,
1338
+ 928,
1339
+ 519,
1340
+ 940
1341
+ ],
1342
+ "page_idx": 9
1343
+ },
1344
+ {
1345
+ "type": "text",
1346
+ "text": "Jing Zhou, Yanan Zheng, Jie Tang, Jian Li, and Zhilin Yang. 2021. Flipda: Effective and robust data augmentation for few-shot learning. arXiv preprint arXiv:2108.06332.",
1347
+ "bbox": [
1348
+ 114,
1349
+ 85,
1350
+ 489,
1351
+ 137
1352
+ ],
1353
+ "page_idx": 10
1354
+ },
1355
+ {
1356
+ "type": "text",
1357
+ "text": "A Datasets Information",
1358
+ "text_level": 1,
1359
+ "bbox": [
1360
+ 114,
1361
+ 151,
1362
+ 337,
1363
+ 166
1364
+ ],
1365
+ "page_idx": 10
1366
+ },
1367
+ {
1368
+ "type": "text",
1369
+ "text": "SAPubChem-41 The SAPubChem-41 datasets comprises 33k real data sourced from CHEBI-20 and 8k high-quality pseudo labelled data sourced from self-augmentation on Text+ChemT5. Representative examples of pseudo-labelled part are provided in Table 7. In addition, to further elucidate the advantages of iterative strategy on model performance, we have documented representative examples of updated captions in Table 6.",
1370
+ "bbox": [
1371
+ 112,
1372
+ 175,
1373
+ 489,
1374
+ 321
1375
+ ],
1376
+ "page_idx": 10
1377
+ },
1378
+ {
1379
+ "type": "text",
1380
+ "text": "Comparison with Existing Datasets In Table 8 we present a detailed comparison of our SAPubChem-41 datasets with existing limited datasets with parallel molecule-description pairs, including:",
1381
+ "bbox": [
1382
+ 112,
1383
+ 330,
1384
+ 489,
1385
+ 411
1386
+ ],
1387
+ "page_idx": 10
1388
+ },
1389
+ {
1390
+ "type": "list",
1391
+ "sub_type": "text",
1392
+ "list_items": [
1393
+ "- ChEBI-20 (Edwards et al., 2021): consists of $33\\mathrm{k}$ molecule-caption pairs with caption exploiting ChEBI(Degtyarenko et al., 2007)annotations and more than 20 words.",
1394
+ "- PCdes (Zeng et al., 2022): consists of $15\\mathrm{k}$ substances in PubChem which have names, SMILES and corresponding paragraphs of property descriptions.",
1395
+ "- DrugBank-23(Chen et al., 2023): consists of 23k compounds from DrugBank (Wishart et al., 2018) with corresponding description's length longer than 20 words."
1396
+ ],
1397
+ "bbox": [
1398
+ 136,
1399
+ 420,
1400
+ 487,
1401
+ 633
1402
+ ],
1403
+ "page_idx": 10
1404
+ },
1405
+ {
1406
+ "type": "text",
1407
+ "text": "B Pre-trained Model Information",
1408
+ "text_level": 1,
1409
+ "bbox": [
1410
+ 114,
1411
+ 646,
1412
+ 421,
1413
+ 661
1414
+ ],
1415
+ "page_idx": 10
1416
+ },
1417
+ {
1418
+ "type": "text",
1419
+ "text": "Table 9 presents the information of three different pre-trained models utilized in our experiments.",
1420
+ "bbox": [
1421
+ 112,
1422
+ 671,
1423
+ 487,
1424
+ 703
1425
+ ],
1426
+ "page_idx": 10
1427
+ },
1428
+ {
1429
+ "type": "text",
1430
+ "text": "C Experiments",
1431
+ "text_level": 1,
1432
+ "bbox": [
1433
+ 114,
1434
+ 715,
1435
+ 263,
1436
+ 730
1437
+ ],
1438
+ "page_idx": 10
1439
+ },
1440
+ {
1441
+ "type": "text",
1442
+ "text": "C.1 Performance Comparison",
1443
+ "text_level": 1,
1444
+ "bbox": [
1445
+ 114,
1446
+ 741,
1447
+ 366,
1448
+ 756
1449
+ ],
1450
+ "page_idx": 10
1451
+ },
1452
+ {
1453
+ "type": "text",
1454
+ "text": "Here we present the complete results of performance comparison for both molecular captioning task and molecule generation task in Table 10&Table 11.",
1455
+ "bbox": [
1456
+ 112,
1457
+ 762,
1458
+ 489,
1459
+ 824
1460
+ ],
1461
+ "page_idx": 10
1462
+ },
1463
+ {
1464
+ "type": "text",
1465
+ "text": "C.2 Ablation Study",
1466
+ "text_level": 1,
1467
+ "bbox": [
1468
+ 114,
1469
+ 835,
1470
+ 284,
1471
+ 852
1472
+ ],
1473
+ "page_idx": 10
1474
+ },
1475
+ {
1476
+ "type": "text",
1477
+ "text": "Here we present the complete results of both molecular captioning task and molecule generation task using different sampling strategy in Table 12 & Table 13.",
1478
+ "bbox": [
1479
+ 112,
1480
+ 857,
1481
+ 489,
1482
+ 919
1483
+ ],
1484
+ "page_idx": 10
1485
+ },
1486
+ {
1487
+ "type": "text",
1488
+ "text": "C.3 Additional Experiments",
1489
+ "text_level": 1,
1490
+ "bbox": [
1491
+ 509,
1492
+ 84,
1493
+ 749,
1494
+ 99
1495
+ ],
1496
+ "page_idx": 10
1497
+ },
1498
+ {
1499
+ "type": "text",
1500
+ "text": "To further substantiate the efficacy of our framework and the exceptional quality of the SAPubChem-41 dataset, we have conducted a series of experiments. These were performed with the goal of optimizing three distinct pre-trained models, utilizing both our augmented dataset, SAPubChem-41, and other prevalent public datasets which include ChEBI-20 and PCdes. The findings from these experiments are reported in Table 14 & Table 15. It can be noted that across both task categories, models that were optimized using our self-augmented dataset, SAPubChem-41, generally exhibited superior performance in comparison to those optimized with other existing datasets.",
1501
+ "bbox": [
1502
+ 507,
1503
+ 105,
1504
+ 884,
1505
+ 330
1506
+ ],
1507
+ "page_idx": 10
1508
+ },
1509
+ {
1510
+ "type": "page_number",
1511
+ "text": "9561",
1512
+ "bbox": [
1513
+ 480,
1514
+ 928,
1515
+ 517,
1516
+ 940
1517
+ ],
1518
+ "page_idx": 10
1519
+ },
1520
+ {
1521
+ "type": "table",
1522
+ "img_path": "images/6fa13fadc8bbdf822a70f82bbce98ed5ceb5c22f0cf206b3b4fda714bf672ccd.jpg",
1523
+ "table_caption": [],
1524
+ "table_footnote": [],
1525
+ "table_body": "<table><tr><td>SMILES</td><td>[C@H]1(O[C@H][(C@@H](O)C)C(O)O)[C@@H](O)[C@@H](O)[C@@H](O)[C@@H](C)O1</td></tr><tr><td>previous caption</td><td>The molecule is a glycosylglucose consisting of D-galactopyranose and D-glucopyranose residues joined in sequence by a (1-&gt;4) glycosidic bond. It derives from a D-galactopyranose and a D-glucopyranose.(0.6611)</td></tr><tr><td>updated caption</td><td>The molecule is a deoxygalactose that is D-galactopyranose in which the hydroxy group at position 3 has been replaced by a methyl group. It is a deoxygalactose and a methyl glycoside. It derives from a D-galactopyranose.(0.6817)</td></tr><tr><td>SMILES</td><td>CC([C@@H](C)O)(C)OC-</td></tr><tr><td>previous caption</td><td>The molecule is an ether in which the stereocentres at positions 2 and 3 both have S-configuration. It is an ether and a secondary alcohol.(0.6610)</td></tr><tr><td>updated caption</td><td>The molecule is an ether in which the stereocentres at positions 2 and 3 both have S-configuration. It is an ether and a secondary alcohol. It derives from a hydride of an oxepane.(0.6704)</td></tr><tr><td>SMILES</td><td>CI</td></tr><tr><td>previous caption</td><td>The molecule is an iodoalkane that is ethane in which one of the hydrogens is substituted by iodine. It has a role as a human metabolite. It is an iodoalkane and a member of iodos. It derives from a hydride of an ethane.(0.7479)</td></tr><tr><td>updated caption</td><td>The molecule is an iodoalkane that is ethane in which one of the hydrogens is substituted by iodine. It has a role as a metabolite. It is an iodoalkane and a volatile organic compound. It derives from a hydride of an ethane.(0.7671)</td></tr><tr><td>SMILES</td><td>N([N+])=C</td></tr><tr><td>previous caption</td><td>The molecule is an organic cation resulting from the protonation of the nitrogen of nitric acid. It is a conjugate acid of a nitric acid.(0.7479)</td></tr><tr><td>updated caption</td><td>The molecule is a hydracid and a one-carbon compound. It is a conjugate acid of a hydrazine. It derives from a hydride of a hydrazine.(0.7599)</td></tr><tr><td>SMILES</td><td>[C@H]1(C)[C@@](CO)(O)[C@@H-(O[C@@H](C)O)[C@H](OC(C)C)O1</td></tr><tr><td>previous caption</td><td>The molecule is a spiro-epoxide resulting from the formal epoxidation of the hydroxy group at position 2 of D-fructofuranose. It is a spiro-epoxide and a glycoside. It derives from a D-fructofuranose.(0.6014)</td></tr><tr><td>updated caption</td><td>The molecule is a deoxygalactose that is alpha-D-galactopyranose in which the hydroxy group at position 2 has been replaced by a methyl group. It is a deoxygalactose and a tertiary alcohol.(0.6839)</td></tr></table>",
1526
+ "bbox": [
1527
+ 225,
1528
+ 87,
1529
+ 771,
1530
+ 869
1531
+ ],
1532
+ "page_idx": 11
1533
+ },
1534
+ {
1535
+ "type": "text",
1536
+ "text": "Table 6: Five examples of the comparison of previous caption when adopting our iterative strategy. Corresponding Text2Mol Score of each molecule-caption pairs is present in the bracket.",
1537
+ "bbox": [
1538
+ 112,
1539
+ 881,
1540
+ 880,
1541
+ 910
1542
+ ],
1543
+ "page_idx": 11
1544
+ },
1545
+ {
1546
+ "type": "page_number",
1547
+ "text": "9562",
1548
+ "bbox": [
1549
+ 480,
1550
+ 928,
1551
+ 519,
1552
+ 940
1553
+ ],
1554
+ "page_idx": 11
1555
+ },
1556
+ {
1557
+ "type": "table",
1558
+ "img_path": "images/7a05e113d71d3c244be66369714b7f5ddc630425738f93781a73ae8d71c5f58f.jpg",
1559
+ "table_caption": [],
1560
+ "table_footnote": [],
1561
+ "table_body": "<table><tr><td>SMILES</td><td>Caption</td></tr><tr><td>C@H](C[C@H](C(/C=C/C)=O)C)\n([C@@H]([C@H](/C=C/C(=O)O)C)O[C@H]1[C@H]\n(O)[C@@H]([NH+])C[C@@H](C)O1)C</td><td>The molecule is an organic cation that is the conjugate acid of 1D-myo-inositol, obtained by protonation of the tertiary amino group; major species at pH 7.3. It is an ammonium ion derivative and an organic cation. It is a conjugate acid of a 1D-myo-inositol.</td></tr><tr><td>[O-][Mn]</td><td>The molecule is a monovalent inorganic anion obtained by deprotonation of manganese. It is a man-ganese oxoanion and a monovalent inorganic anion. It is a conjugate base of a manganese.</td></tr><tr><td>C[C@@H](C(OC)OC)C=C</td><td>The molecule is an ether in which the stereocentres at positions 2 and 3 both have S-configuration. It is an ether and an alicyclic compound.</td></tr><tr><td>O(C([C@H](C)N)=O)[C@H]([C@H](O)C)[C@H](C)O</td><td>The molecule is an amino cyclitol that is scyllo-inositol in which the hydroxy group at position 2 has been replaced by an amino group. It has a role as a bacterial metabolite. It is an amino cyclitol and a primary amino compound. It derives from a scyllo-inositol.</td></tr><tr><td>C(C)(C)(C)Br</td><td>The molecule is a bromoalkane that is ethane substituted by a bromo group at position 2. It has a role as a metabolite. It derives from a hydride of an ethane.</td></tr><tr><td>C[Se]C</td><td>The molecule is an organoselenium compound that is selenium substituted by a methyl group at position 2. It has a role as a metabolite. It derives from a selenium.</td></tr></table>",
1562
+ "bbox": [
1563
+ 114,
1564
+ 97,
1565
+ 961,
1566
+ 542
1567
+ ],
1568
+ "page_idx": 12
1569
+ },
1570
+ {
1571
+ "type": "table",
1572
+ "img_path": "images/d1c437fb8ece5ab3efe66631f6b00748912473d86fded95027f29d167dec8b6f.jpg",
1573
+ "table_caption": [
1574
+ "Table 7: Five examples of SAPubChem-41"
1575
+ ],
1576
+ "table_footnote": [],
1577
+ "table_body": "<table><tr><td>Info</td><td>SAPubChem-41</td><td>ChEBI-20</td><td>PCdes</td><td>DrugBank-23</td></tr><tr><td>Train</td><td>34,407</td><td>26,407</td><td>10,500</td><td>17,109</td></tr><tr><td>Validation</td><td>3,301</td><td>3,301</td><td>1,500</td><td>3,667</td></tr><tr><td>Test</td><td>3,300</td><td>3,300</td><td>3,000</td><td>3,666</td></tr><tr><td>LSMILES</td><td>69.96</td><td>81.56</td><td>56.47</td><td>54.11</td></tr><tr><td>LDescription</td><td>41.59</td><td>52.88</td><td>72.47</td><td>65.04</td></tr><tr><td>Data source</td><td colspan=\"3\">PubChem</td><td>DrugBank</td></tr></table>",
1578
+ "bbox": [
1579
+ 230,
1580
+ 605,
1581
+ 769,
1582
+ 727
1583
+ ],
1584
+ "page_idx": 12
1585
+ },
1586
+ {
1587
+ "type": "table",
1588
+ "img_path": "images/92be78ede5f8b3d404afad6f0fb6c0aad852f1416213d389f4e9dae1c190d048.jpg",
1589
+ "table_caption": [
1590
+ "Table 8: Details about the existing datasets and ours (SAPubChem-41). $L_{\\text{SMILES}}$ denotes the average length of SMILES while $L_{\\text{Description}}$ denotes the average word count per description."
1591
+ ],
1592
+ "table_footnote": [],
1593
+ "table_body": "<table><tr><td>Model</td><td>Suffix</td><td>Parameters (M)</td></tr><tr><td>Text+Chem T5</td><td>base</td><td>220</td></tr><tr><td>Ada-T5</td><td>-</td><td>220</td></tr><tr><td>MolT5</td><td>base</td><td>220</td></tr></table>",
1594
+ "bbox": [
1595
+ 329,
1596
+ 804,
1597
+ 668,
1598
+ 878
1599
+ ],
1600
+ "page_idx": 12
1601
+ },
1602
+ {
1603
+ "type": "text",
1604
+ "text": "Table 9: Model Size",
1605
+ "bbox": [
1606
+ 426,
1607
+ 887,
1608
+ 569,
1609
+ 901
1610
+ ],
1611
+ "page_idx": 12
1612
+ },
1613
+ {
1614
+ "type": "page_number",
1615
+ "text": "9563",
1616
+ "bbox": [
1617
+ 480,
1618
+ 928,
1619
+ 519,
1620
+ 940
1621
+ ],
1622
+ "page_idx": 12
1623
+ },
1624
+ {
1625
+ "type": "table",
1626
+ "img_path": "images/e7ba639834671c381245b0f324422bc05107737014d7a4ce9d0e7aa88572461d.jpg",
1627
+ "table_caption": [],
1628
+ "table_footnote": [],
1629
+ "table_body": "<table><tr><td>model</td><td>dataset</td><td>BLEU-2</td><td>BLEU-4</td><td>Rouge-1</td><td>Rouge-2</td><td>Rouge-L</td><td>Meteor</td></tr><tr><td rowspan=\"2\">Text+Chem T5</td><td>ChEBI-20</td><td>0.580</td><td>0.490</td><td>0.647</td><td>0.498</td><td>0.586</td><td>0.604</td></tr><tr><td>SAPPubChem-41</td><td>0.584</td><td>0.496</td><td>0.653</td><td>0.504</td><td>0.593</td><td>0.614</td></tr><tr><td rowspan=\"2\">Ada-T5</td><td>ChEBI-20</td><td>0.424</td><td>0.316</td><td>0.543</td><td>0.369</td><td>0.483</td><td>0.464</td></tr><tr><td>SAPPubChem-41</td><td>0.444</td><td>0.350</td><td>0.575</td><td>0.410</td><td>0.514</td><td>0.493</td></tr><tr><td rowspan=\"2\">MolT5</td><td>ChEBI-20</td><td>0.540</td><td>0.457</td><td>0.634</td><td>0.485</td><td>0.578</td><td>0.569</td></tr><tr><td>SAPPubChem-41</td><td>0.551</td><td>0.464</td><td>0.638</td><td>0.484</td><td>0.585</td><td>0.572</td></tr></table>",
1630
+ "bbox": [
1631
+ 115,
1632
+ 108,
1633
+ 884,
1634
+ 229
1635
+ ],
1636
+ "page_idx": 13
1637
+ },
1638
+ {
1639
+ "type": "table",
1640
+ "img_path": "images/8a79cbbe44da490fd276862221cb570de0bb828d803903e8dcfd6bbc8ca3192b.jpg",
1641
+ "table_caption": [
1642
+ "Table 10: The complete results of different models for molecular captioning on ChEBI-20, SAPubChem-41 datasets."
1643
+ ],
1644
+ "table_footnote": [],
1645
+ "table_body": "<table><tr><td>size</td><td>dataset</td><td>BL</td><td>Acc</td><td>Lev</td><td>MACCS</td><td>RDK</td><td>Morgan</td><td>Val</td></tr><tr><td rowspan=\"2\">Text+Chem T5</td><td>ChEBI-20</td><td>0.750</td><td>0.212</td><td>27.39</td><td>0.874</td><td>0.767</td><td>0.697</td><td>0.792</td></tr><tr><td>SAPubChem-41</td><td>0.827</td><td>0.243</td><td>18.59</td><td>0.887</td><td>0.792</td><td>0.726</td><td>0.937</td></tr><tr><td rowspan=\"2\">Ada-T5</td><td>ChEBI-20</td><td>0.699</td><td>0.182</td><td>27.48</td><td>0.869</td><td>0.753</td><td>0.672</td><td>0.886</td></tr><tr><td>SAPubChem-41</td><td>0.714</td><td>0.213</td><td>26.52</td><td>0.879</td><td>0.772</td><td>0.699</td><td>0.854</td></tr><tr><td rowspan=\"2\">MolT5</td><td>ChEBI-20</td><td>0.769</td><td>0.081</td><td>24.49</td><td>0.721</td><td>0.588</td><td>0.529</td><td>0.772</td></tr><tr><td>SAPubChem-41</td><td>0.775</td><td>0.093</td><td>33.16</td><td>0.814</td><td>0.668</td><td>0.582</td><td>0.788</td></tr></table>",
1646
+ "bbox": [
1647
+ 124,
1648
+ 256,
1649
+ 873,
1650
+ 378
1651
+ ],
1652
+ "page_idx": 13
1653
+ },
1654
+ {
1655
+ "type": "table",
1656
+ "img_path": "images/6a503302e82184a1707b0bc67c0cad3ed61b5cd53d3fa17bbb87ef86cad95d08.jpg",
1657
+ "table_caption": [
1658
+ "Table 11: The complete results of different models for molecular generation on ChEBI-20, SAPubChem-41 datasets."
1659
+ ],
1660
+ "table_footnote": [],
1661
+ "table_body": "<table><tr><td>size</td><td>dataset</td><td>BLEU-2</td><td>BLEU-4</td><td>Rouge-1</td><td>Rouge-2</td><td>Rouge-L</td><td>Meteor</td></tr><tr><td rowspan=\"2\">2k</td><td>random</td><td>0.534</td><td>0.447</td><td>0.641</td><td>0.489</td><td>0.579</td><td>0.575</td></tr><tr><td>refined</td><td>0.574</td><td>0.486</td><td>0.651</td><td>0.502</td><td>0.590</td><td>0.601</td></tr><tr><td rowspan=\"2\">4k</td><td>random</td><td>0.537</td><td>0.451</td><td>0.641</td><td>0.489</td><td>0.579</td><td>0.577</td></tr><tr><td>refined</td><td>0.580</td><td>0.486</td><td>0.653</td><td>0.503</td><td>0.592</td><td>0.602</td></tr><tr><td rowspan=\"2\">6k</td><td>random</td><td>0.532</td><td>0.446</td><td>0.640</td><td>0.489</td><td>0.577</td><td>0.573</td></tr><tr><td>refined</td><td>0.583</td><td>0.490</td><td>0.653</td><td>0.504</td><td>0.593</td><td>0.611</td></tr><tr><td rowspan=\"2\">8k</td><td>random</td><td>0.527</td><td>0.443</td><td>0.640</td><td>0.489</td><td>0.579</td><td>0.571</td></tr><tr><td>refined</td><td>0.584</td><td>0.496</td><td>0.653</td><td>0.504</td><td>0.593</td><td>0.614</td></tr><tr><td rowspan=\"2\">10k</td><td>random</td><td>0.526</td><td>0.442</td><td>0.639</td><td>0.489</td><td>0.579</td><td>0.571</td></tr><tr><td>refined</td><td>0.583</td><td>0.491</td><td>0.652</td><td>0.503</td><td>0.591</td><td>0.610</td></tr></table>",
1662
+ "bbox": [
1663
+ 188,
1664
+ 464,
1665
+ 811,
1666
+ 652
1667
+ ],
1668
+ "page_idx": 13
1669
+ },
1670
+ {
1671
+ "type": "table",
1672
+ "img_path": "images/b9797e636c73eb79391abd2b0262a0f57dc09ce77a9b9698688e5ae01daf9203.jpg",
1673
+ "table_caption": [
1674
+ "Table 12: Full results of molecule captioning task using different sampling strategy."
1675
+ ],
1676
+ "table_footnote": [],
1677
+ "table_body": "<table><tr><td>size</td><td>dataset</td><td>BLEU</td><td>Accuracy</td><td>Levenshtein</td><td>MACCS FTS</td><td>RDK FTS</td><td>Morgan FTS</td><td>Validity</td></tr><tr><td rowspan=\"2\">2k</td><td>random</td><td>0.715</td><td>0.215</td><td>23.82</td><td>0.873</td><td>0.766</td><td>0.703</td><td>0.868</td></tr><tr><td>refined</td><td>0.821</td><td>0.236</td><td>19.31</td><td>0.885</td><td>0.788</td><td>0.721</td><td>0.931</td></tr><tr><td rowspan=\"2\">4k</td><td>random</td><td>0.720</td><td>0.219</td><td>23.79</td><td>0.876</td><td>0.768</td><td>0.706</td><td>0.862</td></tr><tr><td>refined</td><td>0.832</td><td>0.237</td><td>18.69</td><td>0.885</td><td>0.788</td><td>0.722</td><td>0.938</td></tr><tr><td rowspan=\"2\">6k</td><td>random</td><td>0.709</td><td>0.220</td><td>24.38</td><td>0.876</td><td>0.767</td><td>0.706</td><td>0.858</td></tr><tr><td>refined</td><td>0.828</td><td>0.240</td><td>19.28</td><td>0.886</td><td>0.788</td><td>0.724</td><td>0.934</td></tr><tr><td rowspan=\"2\">8k</td><td>random</td><td>0.715</td><td>0.221</td><td>24.27</td><td>0.875</td><td>0.763</td><td>0.701</td><td>0.855</td></tr><tr><td>refined</td><td>0.827</td><td>0.243</td><td>18.59</td><td>0.887</td><td>0.792</td><td>0.726</td><td>0.937</td></tr><tr><td rowspan=\"2\">10k</td><td>random</td><td>0.715</td><td>0.207</td><td>24.37</td><td>0.870</td><td>0.759</td><td>0.696</td><td>0.864</td></tr><tr><td>refined</td><td>0.830</td><td>0.238</td><td>19.03</td><td>0.883</td><td>0.786</td><td>0.721</td><td>0.937</td></tr></table>",
1678
+ "bbox": [
1679
+ 115,
1680
+ 678,
1681
+ 919,
1682
+ 864
1683
+ ],
1684
+ "page_idx": 13
1685
+ },
1686
+ {
1687
+ "type": "text",
1688
+ "text": "Table 13: Full results of molecule generation task using different sampling strategy.",
1689
+ "bbox": [
1690
+ 213,
1691
+ 875,
1692
+ 779,
1693
+ 891
1694
+ ],
1695
+ "page_idx": 13
1696
+ },
1697
+ {
1698
+ "type": "page_number",
1699
+ "text": "9564",
1700
+ "bbox": [
1701
+ 480,
1702
+ 928,
1703
+ 521,
1704
+ 940
1705
+ ],
1706
+ "page_idx": 13
1707
+ },
1708
+ {
1709
+ "type": "table",
1710
+ "img_path": "images/b6b845c268b3d875f157eaedf5182b638df8c513474a910e9aab2e1e421cc2dd.jpg",
1711
+ "table_caption": [],
1712
+ "table_footnote": [],
1713
+ "table_body": "<table><tr><td>model</td><td>dataset</td><td>BLEU-2</td><td>BLEU-4</td><td>Rouge-1</td><td>Rouge-2</td><td>Rouge-L</td><td>Meteor</td></tr><tr><td rowspan=\"3\">Text+Chem T5</td><td>ChEBI-20</td><td>0.580</td><td>0.490</td><td>0.647</td><td>0.498</td><td>0.586</td><td>0.604</td></tr><tr><td>PCdes</td><td>0.352</td><td>0.266</td><td>0.439</td><td>0.274</td><td>0.373</td><td>0.382</td></tr><tr><td>SAPubChem-41</td><td>0.584</td><td>0.496</td><td>0.653</td><td>0.504</td><td>0.593</td><td>0.614</td></tr><tr><td rowspan=\"3\">Ada-T5</td><td>ChEBI-20</td><td>0.424</td><td>0.316</td><td>0.543</td><td>0.369</td><td>0.483</td><td>0.464</td></tr><tr><td>PCdes</td><td>0.289</td><td>0.188</td><td>0.428</td><td>0.243</td><td>0.367</td><td>0.324</td></tr><tr><td>SAPubChem-41</td><td>0.444</td><td>0.350</td><td>0.575</td><td>0.410</td><td>0.514</td><td>0.493</td></tr><tr><td rowspan=\"3\">MolT5</td><td>ChEBI-20</td><td>0.540</td><td>0.457</td><td>0.634</td><td>0.485</td><td>0.578</td><td>0.569</td></tr><tr><td>PCdes</td><td>0.165</td><td>0.078</td><td>0.290</td><td>0.118</td><td>0.233</td><td>0.204</td></tr><tr><td>SAPubChem-41</td><td>0.551</td><td>0.464</td><td>0.638</td><td>0.484</td><td>0.585</td><td>0.572</td></tr></table>",
1714
+ "bbox": [
1715
+ 115,
1716
+ 288,
1717
+ 884,
1718
+ 458
1719
+ ],
1720
+ "page_idx": 14
1721
+ },
1722
+ {
1723
+ "type": "table",
1724
+ "img_path": "images/530a2332fed7026d725230a4d1b0eac89514455dc0075561e55f83bb60c73018.jpg",
1725
+ "table_caption": [
1726
+ "Table 14: The complete results of different models for molecular captioning on SAPubChem-41 and other existing datasets. The best scores are in bold."
1727
+ ],
1728
+ "table_footnote": [],
1729
+ "table_body": "<table><tr><td>size</td><td>dataset</td><td>BL</td><td>Acc</td><td>Lev</td><td>MACCS</td><td>RDK</td><td>Morgan</td><td>Val</td></tr><tr><td rowspan=\"3\">Text+Chem T5</td><td>ChEBI-20</td><td>0.750</td><td>0.212</td><td>27.39</td><td>0.874</td><td>0.767</td><td>0.697</td><td>0.792</td></tr><tr><td>PCdes</td><td>0.614</td><td>0.105</td><td>30.43</td><td>0.697</td><td>0.544</td><td>0.459</td><td>0.849</td></tr><tr><td>SAPPubChem-41</td><td>0.827</td><td>0.243</td><td>18.59</td><td>0.887</td><td>0.792</td><td>0.726</td><td>0.937</td></tr><tr><td rowspan=\"3\">Ada-T5</td><td>ChEBI-20</td><td>0.699</td><td>0.182</td><td>27.48</td><td>0.869</td><td>0.753</td><td>0.672</td><td>0.886</td></tr><tr><td>PCdes</td><td>0.579</td><td>0.089</td><td>38.99</td><td>0.778</td><td>0.600</td><td>0.492</td><td>0.947</td></tr><tr><td>SAPPubChem-41</td><td>0.714</td><td>0.213</td><td>26.52</td><td>0.879</td><td>0.772</td><td>0.699</td><td>0.854</td></tr><tr><td rowspan=\"3\">MolT5</td><td>ChEBI-20</td><td>0.769</td><td>0.081</td><td>24.49</td><td>0.721</td><td>0.588</td><td>0.529</td><td>0.772</td></tr><tr><td>PCdes</td><td>0.476</td><td>0.009</td><td>53.27</td><td>0.635</td><td>0.432</td><td>0.330</td><td>0.711</td></tr><tr><td>SAPPubChem-41</td><td>0.775</td><td>0.093</td><td>33.16</td><td>0.814</td><td>0.668</td><td>0.582</td><td>0.788</td></tr></table>",
1730
+ "bbox": [
1731
+ 122,
1732
+ 500,
1733
+ 875,
1734
+ 670
1735
+ ],
1736
+ "page_idx": 14
1737
+ },
1738
+ {
1739
+ "type": "text",
1740
+ "text": "Table 15: The complete results of different models for molecular generation on SAPubChem-41 and other existing datasets. The best scores are in bold.",
1741
+ "bbox": [
1742
+ 112,
1743
+ 680,
1744
+ 882,
1745
+ 709
1746
+ ],
1747
+ "page_idx": 14
1748
+ },
1749
+ {
1750
+ "type": "page_number",
1751
+ "text": "9565",
1752
+ "bbox": [
1753
+ 480,
1754
+ 928,
1755
+ 519,
1756
+ 940
1757
+ ],
1758
+ "page_idx": 14
1759
+ }
1760
+ ]
2024/Enhancing Cross Text-Molecule Learning by Self-Augmentation/206d3795-d53b-42c9-8de8-6d682eb0ac0b_model.json ADDED
The diff for this file is too large to render. See raw diff
 
2024/Enhancing Cross Text-Molecule Learning by Self-Augmentation/206d3795-d53b-42c9-8de8-6d682eb0ac0b_origin.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9a7efc51c26d7b644cdebccb4a1800d00b95fcf9f50a9729a8dff54ab55dcd9b
3
+ size 2153015
2024/Enhancing Cross Text-Molecule Learning by Self-Augmentation/full.md ADDED
@@ -0,0 +1,323 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Enhancing Cross Text-Molecule Learning by Self-Augmentation
2
+
3
+ Yinuo Jiang, Xiang Zhuang, Keyan Ding,
4
+
5
+ Qiang Zhang*, Huajun Chen*
6
+
7
+ College of Computer Science and Technology, Zhejiang University
8
+
9
+ ZJU-Hangzhou Global Scientific and Technological Innovation Center
10
+
11
+ {yinuoj,zhuangxiang,dingkeyan,qiang.zhang.cs,huajunsir} @zju.edu.cn
12
+
13
+ # Abstract
14
+
15
+ The development of Large Language Models (LLMs) has greatly advanced the field of drug discovery, with the belief that natural language can enhance human control over molecule design. However, the scarcity of high-quality labeled data remains a challenge for cross-text-molecule learning. Existing datasets are limited due to the difficulty of collecting precise molecule-description pairs. Although recent efforts have utilized pseudo data generated by LLMs for augmentation, the lack of specialized chemistry knowledge of LLMs and the absence of an effective high-quality data selector may introduce noise into the annotations, compromising the models' robustness. To address these challenges, this paper introduces a novel framework that interweaves model finetuning and data augmentation to overcome the scarcity of high-quality data. The proposed approach involves an iterative procedure where the model plays dual roles in annotating unlabeled data and sampling a subset of high-quality data until convergence is achieved, enhancing the model's understanding and adaptability. Additionally, a new dataset called SAPubChem-41 is presented, which comprises meticulously curated high-quality parallel molecule-description pairs designed specifically for fine-tuning purposes. This research provides an important contribution to the field by addressing the need for high-quality datasets and presenting an effective framework for cross-text-molecule learning.
16
+
17
+ # 1 Introduction
18
+
19
+ The emergence of Large Language Models (LLMs) has significantly propelled the development of drug discovery (Zhang et al., 2024). Recent progress in language models shed light on drug discovery, with the vision that humans can possess a higher-level control over molecule design facilitated by natural
20
+
21
+ language. Edwards et al. (2022a) introduce two new tasks: molecule captioning (Mol2Cap) and text-based molecule generation (Cap2Mol), and present MolT5 (Edwards et al., 2022b) based on the T5 (Raffel et al., 2020) architecture to translate between molecule and text. Subsequently, diverse endeavors have been undertaken to tackle these challenges. Text+Chem T5 (Christofidellis et al., 2023) and BioT5 (Pei et al., 2024) are also T5-like models, which incorporate multi-task and multidomain pretraining process and enable the bidirectional generation between different modalities in a single model. Some other methods employ the Generative Pretrained Transformer (GPT) architecture. MolXPT (Liu et al., 2023) proposes to wrap molecules in the sentences to make the pertaining corpus. More recently, MolCA(Liu et al., 2024) considers the 2D graph information for molecules and designs a projector to connect molecular content to language models. These studies mark the research efforts in the realm of cross text-molecule learning.
22
+
23
+ Despite rapid development in cross-text-molecule modalities, there is still demand for high-quality labeled data in this field. Such data of superior quality is indispensable to capacitate models for downstream tasks. However, the available datasets relevant to the tasks are limited, a consequence of the arduous nature of collecting precise and enlightening parallel molecule-description pairs. This scarcity of annotated data hinders the model's ability to learn between the modalities of the molecule and the text. As shown in Figure 1, recent efforts by Chen et al. (2023) address the scarcity challenge by utilizing pseudo data generated by LLMs as augmentation. The problem is that the absence of specialized knowledge in chemistry may introduce noise into the data annotated by general Large Language Models, thereby compromising the robustness of models fine-tuned on such datasets. In spite of these commendable advance
24
+
25
+ ments, the accessibility of high-quality datasets for fine-tuning remains notably deficient.
26
+
27
+ ![](images/272b4bf873814a136101d35b94d4363a6c239a550a9bda1a8367e046d42a9d8c.jpg)
28
+ (a) Conventional Data Augmentation Method
29
+
30
+ ![](images/5c9e685af13cd22f40c029e7e296376a3c547031d72cedeb36c03bb1feb72951.jpg)
31
+ (b) Our Self-Augmentation Method
32
+ Figure 1: A comparison between a conventional data augmentation method referenced in Chen et al. (2023) and our iterative self-augmentation techniques is drawn herein. The original technique leverages Label Language Models (LLMs) to annotate unlabeled data; contrastingly, our proposed self-augmentation strategies use the model itself for annotating unlabeled data in tandem with an iterative training approach.
33
+
34
+ To address these challenges, this paper introduces a novel framework that interweaves model fine-tuning and data augmentation (See Fig. 1, aiming to rectify the high-quality data scarcity observed in the realm of cross text-molecule learning. Our proposed approach integrates the model into the process by assigning it dual roles: annotating unlabelled data and sampling a subset of high-quality data. This iterative procedure continues until convergence is achieved, thereby refining the model's understanding and adaptability. Additionally, we present a new, larger dataset SAPubChem-41. This meticulously curated dataset comprises a wealth of high-quality parallel molecule-description pairs meticulously designed for the specific purpose of fine-tuning. The model optimized using SAPubChem-41 has been evaluated across a total of 13 molecule-text benchmarks, exhibiting superior performance in comparison to the model optimized using the original dataset, ChEBI-20. Our key contributions can be summarized as:
35
+
36
+ - We present an innovative framework designed to augment cross-text-molecule learning through a self-augmentation strategy. This system leverages the model itself to annotate unlabelled data, choosing only samples that meet a high-quality standard.
37
+ - We introduce SAPubChem-41, a novel dataset consisting of both real data and high-quality pseudo-labeled data, augmented by the model itself. This makes a notable contribution to the available datasets in the field of cross-molecule-text modality.
38
+ - We show that within our iterative setting, self-augmented data significantly improves the performance of the model in downstream tasks with each epoch. Furthermore, these results tend to converge as the number of epochs increase. This process thereby successfully validates the efficacy of self-augmented data in enhancing model performance.
39
+
40
+ # 2 Background
41
+
42
+ # 2.1 Cross Text-Molecule Learning
43
+
44
+ Edwards et al. (2021) introduce a new task Text2Mol, which uses descriptions as search queries to retrieve the target molecules. Edwards et al. (2022a) first addresses the problem of cross-domain generation by linking natural language and chemistry, tackling tasks such as text-conditional de novo molecule generation and molecule captioning. Li et al. (2023a) combines retrieval-based prompt paradigm with LLMs like ChatGPT to achieve translation between molecule language and natural language. Christofidellis et al. (2023) propose the first multi-domain, multi-task language model that can solve a wide range of tasks in both the chemical and natural language domains. Liu et al. (2023) propose MolXPT, a GPT-based model pre-trained on molecule SMILES, biomedical text, and wrapped text. BioT5 (Pei et al., 2024) further exploits SELFIES for $100\%$ robust molecular representations and discriminate structured knowledge from unstructured knowledge. To capitalize on these insights, we adopt an iterative framework to interweave model fitting and data augmentation, to mitigate data scarcity and further enhance the alignment between molecule and text representations.
45
+
46
+ # 2.2 Data Augmentation for Cross Text-Molecule Learning
47
+
48
+ Data augmentation is a regularization strategy utilized to enhance model performance by diversifying the available data through various techniques (Hernández-García and König, 2018). In the field of natural language processing (NLP), data augmentation has been widely employed to address data scarcity issues, leading to the proposal of various augmentation methods (Feng et al., 2021; Li et al., 2022). Textual data augmentation can be accomplished through simple rules, such as synonym replacement and word order modification (Zhang et al., 2015). Furthermore, the development of deep learning models has facilitated the generation of new text to augment the existing data (Szegedy et al., 2016; Wu et al., 2019; Anaby-Tavor et al., 2020; Yoo et al., 2021; Zhou et al., 2021; Li et al., 2023b; Dai et al., 2023). Acquiring high-quality annotated molecule-text datasets is prohibitively expensive, for many descriptions of corresponding molecules are scattered and inaccurate, leading to limited fine-tuning datasets for cross text-molecule learning. More data augmentation techniques are desired to further enhance cross text-molecule learning. Chen et al. (2023) pioneers to exploit LLMs' annotated pseudo label for domain adaption and data augmentation. However, while pseudo label as domain adaptation shows impressive performance compared to existing methods, pseudo label as data augmentation still struggles against label noise interfering model's performance. To address the problem and further improve the quality of augmented dataset, our work introduces a pioneering iterative framework that interweaves model fine-tuning and data augmentation.
49
+
50
+ # 3 Method
51
+
52
+ In this section, we describe a computational framework for jointly optimizing model performance and dataset quality.
53
+
54
+ # 3.1 Overall Framework
55
+
56
+ The literature demonstrates a substantial body of research focused on enhancing both model performance and dataset quality concurrently, as depicted in Figure 2. If we assume the existence of a subjective testing environment capable of gathering reliable molecule-caption pairs, then the core challenge becomes how to effectively sample a subset $A$ from a large-scale pseudo-labeled dataset $D$
57
+
58
+ that exhibits high confidence. In line with Li et al. (2023b), our approach adopts an iterative strategy, combining model fine-tuning and data augmentation operations defined below.
59
+
60
+ 1. Model fine-tuning: Given a data distribution, find an approximate risk minimizer.
61
+ 2. Data augmentation: Given a model, augment data and sample a new data distribution.
62
+ 3. Data combination: Combine a set of distributions into a single distribution.
63
+
64
+ At the beginning of each iteration, a new model is finetuned on the latest dataset. This newly trained model is subsequently employed to annotate a set of unlabeled data, thereby generating a pseudolabeled dataset. The sampler is then entrusted with the responsibility of discerning samples distinguished by their high quality from this pseudolabeled dataset. The discerned insights are then harnessed to augment and refine the current dataset, thereby facilitating a continuous and iterative improvement process.
65
+
66
+ # 3.2 Self-Annotating
67
+
68
+ We gathered 200,000 unannotated SMILES of molecules from PubChem (Kim et al., 2023) and conducted dedduplication to mitigate the risk of data leakage in the validation dataset. For each unlabeled SMILES, we executed inference on the model itself to produce a candidate caption, thereby obtaining the pseudo-labeled dataset.
69
+
70
+ ChatGPT Annotating vs Specialized Model Annotating Despite the remarkable performance of Large Language Models (LLMs) such as ChatGPT in various cross-modal tasks, they have not succeeded in surpassing specialized models in the molecule captioning task (Li et al., 2023a; Christofidellis et al., 2023). This suggests that specialized models serve as better annotators for unlabeled SMILES strings. Furthermore, as depicted in Figure 3(a), by leveraging the Text2Mol score (Edwards et al., 2022a) as a fundamental metric of data quality, which measures the similarity between SMILES strings and their captions, we evaluated the distribution of the real training set, MolReGPT annotated data, and self-annotated data. It is evident that the self-annotated data yields higher-quality data, closely resembling real data more than the MolReGPT annotated data.
71
+
72
+ Iterative Annotating We employ an iterative training approach to enhance the proficiency of annotators and produce captions of superior quality.
73
+
74
+ ![](images/9df76a23d759ae9f4034356e1c20d7741b9c68c8cd33417e41be9b9e838b4682.jpg)
75
+ Figure 2: Overall framework. We interweave model fine-tuning and data augmentation iteratively. A core component of our framework, the Data Augmentation Module, is compartmentalised into two key elements: Self-Annotating and Self-Sampling. These elements underline the crux of our methodology, wherein the model autonomously performs the augmentation, subsequently enhancing its own performance.
76
+
77
+ As depicted in Figure 3, during each iteration, the quality of the molecule-caption pairs is enhanced through the implementation of the iterative strategy.
78
+
79
+ # 3.3 Self-Sampling
80
+
81
+ A discerning subset sampling strategy is anticipated to effectively filter pseudo labels, thereby ensuring the attainment of high-quality labels for training the model. This refined approach aims to enhance the overall reliability of the model by mitigating the impact of unreliable or inaccurate labels in the training process. In contrast to prior work (Li et al., 2023b), wherein fine-tuning an external score model was employed to select high-quality pairs, we have found this approach to be
82
+
83
+ both time-consuming and unreliable when applied to the domain of cross text-molecule learning. Notably, the susceptibility of the model to overfitting incorrect pseudo-labels is a concern, as detailed in section 4.4. To tackle this dilemma, we introduce a dual selection mechanism that not only proves to be more computationally efficient but also enhances reliability in ensuring the high quality of our augmented dataset. This mechanism involves two key steps. Firstly, leveraging the generation likelihood as a confidence score to filter out unreliable molecule-caption pairs. Secondly, updating and ranking the remaining molecule-caption pairs based on the Text2Mol score (Edwards et al., 2022a) This refined approach streamlines the sampling process, offering increased efficiency and
84
+
85
+ ![](images/20951661f4e22357b7b4d029b32a0c395e446f3d4244e0c8c5e64433b59a0d3d.jpg)
86
+ (a) Comparison of Data Quality Between LLMs Annotated Label and Self-Annotated Label
87
+
88
+ ![](images/8f0f2157fe37c877e088e862611123d5520baa1f758db2f66630cbc7098ebf02.jpg)
89
+ (b) Comparison of Data Quality in Relation to the Adoption or Non-Apoption of Iterative Strategy
90
+ Figure 3: In a manner akin to Chen et al. (2023) in their study, we employ the methodology proposed by Edwards et al. (2022) to evaluate the correlation between molecule-description pairs, utilizing it as a measure of data quality. The distributions are illustrated via Kernel Distribution Estimation. A noteworthy aspect to consider here is that a higher Text2Mol score typically implies a closer resemblance between the molecule and its description. In addition, the term "Density" in (a) pertains to the concentration of data within a specific region.
91
+
92
+ heightened confidence in the identification of high-quality pairs for dataset augmentation.
93
+
94
+ Data Filtering First, we employ the model itself to filter out a set of low-quality pairs. Specifically, we utilize the generation likelihood as a measure of the quality of the generated sequence. However, previous studies (Liu and Liu, 2021; Liu et al., 2022) have underscored that the correlation between sequence probability and its quality for Maximum Likelihood Estimation (MLE) trained models can be low, due to the presence of deterministic (one-point) target distribution issues. Furthermore, sequence likelihood estimation becomes noisier when the decoded sequences of models deviate from the exposed training data distribution, thereby exacerbating the problem of exposure bias
95
+
96
+ (Ranzato et al., 2016). To address these intricate challenges, we introduce the Sequence Likelihood Calibration (SLiC) stage. This stage, depicted in Figure 1, serves to mitigate the aforementioned issues and diminish the gap between sequence likelihood and its associated quality. Following the methodology of Zhao et al. (2022), we conduct further fine-tuning of the model, introducing a new objective that encompasses the following loss functions:
97
+
98
+ $$
99
+ \begin{array}{l} \mathrm {L} _ {\text {r a n k}} ^ {\text {c a l}} = \max \left(0, \beta - \log P _ {\theta} \left(\hat {\mathbf {y}} _ {+} \mid \mathbf {x}\right) + \log P _ {\theta} \left(\hat {\mathbf {y}} _ {-} \mid \mathbf {x}\right)\right), \\ \mathbf {L} _ {\mathrm {c e}} ^ {\mathrm {r e g}} = \sum_ {t} - \log P _ {\theta} \left(\bar {y} _ {t} \mid \overline {{\mathbf {y}}} _ {t - 1}, \mathbf {x}\right), \\ \end{array}
100
+ $$
101
+
102
+ $$
103
+ \mathrm {L} _ {\mathrm {k l}} ^ {\mathrm {r e g}} = \sum_ {t} P _ {\theta} \left(\bar {y} _ {t} \mid \overline {{\mathbf {y}}} _ {t - 1}, \mathbf {x}\right) \log \frac {P _ {\theta} \left(\bar {y} _ {t} \mid \overline {{\mathbf {y}}} _ {t - 1} , \mathbf {x}\right)}{P _ {\theta_ {f t}} \left(\bar {y} _ {t} \mid \overline {{\mathbf {y}}} _ {t - 1} , \mathbf {x}\right)}.
104
+ $$
105
+
106
+ Given the context $\mathbf{x}$ , target $\overline{\mathbf{y}}$ , and positive and negative candidates pairs $\hat{\mathbf{y}}_{+}, \hat{\mathbf{y}}_{-}, P_{\theta}(\mathbf{y} \mid \mathbf{x})$ denotes the generation sequence likelihood. Rank loss $L_{rank}^{cal}$ optimizes the ranking order of positive and negative candidate pairs. Cross entropy loss $L_{ce}^{reg}$ is the standard fine-tuning MLE objective. KL divergence loss $L_{kl}^{reg}$ directly minimizes the probability distribution distance between the calibrated model and the fine-tuned model at each token on the observed target sequence.
107
+
108
+ Following the SLiC stage, we regard the generation likelihood as one of our metrics for assessing the quality of pseudo labels. In our experiments, we discard pairs with log-likelihood equal to negative infinity and retain the remaining pairs as high-quality pairs.
109
+
110
+ Update and Rank Secondly, for those high-quality pairs, we further refine the data based on the similarity score $\mathcal{F}_{\mathrm{text2mol}}$ proposed by Edwards et al. (2022a). At iteration t, we update the caption if $\mathcal{F}_{\mathrm{text2mol}}(m,c_t) > \mathcal{F}_{\mathrm{text2mol}}(m,c_{t - 1})$ then we rank the updated dataset according to $\mathcal{F}_{\mathrm{text2mol}}$ ,selecting the top $t\times 2k$ pairs to form the new Augmented Dataset $A_{t}$
111
+
112
+ # 4 Experiments
113
+
114
+ In order to validate the efficacy of utilizing our framework, we have undertaken a series of comprehensive experiments.
115
+
116
+ # 4.1 Experimental Setup
117
+
118
+ Dataset We employ the ChEBI-20 (Edwards et al., 2021) to serve as our original dataset. Additionally, we gather 200,000 unannotated molecules
119
+
120
+ <table><tr><td>Info</td><td>SAPubChem-41</td><td>ChEBI-20</td></tr><tr><td>Train</td><td>34,407</td><td>26,407</td></tr><tr><td>Validation</td><td>3,301</td><td>3,301</td></tr><tr><td>Test</td><td>3,300</td><td>3,300</td></tr><tr><td>\(\mathcal{L}_{\text{SMILES}}\)</td><td>69.96</td><td>81.56</td></tr><tr><td>\(\mathcal{L}_{\text{Description}}\)</td><td>41.59</td><td>52.88</td></tr></table>
121
+
122
+ Table 1: Comparison of our SAPubChem-41 dataset with the original dataset ChEBI-20. $L_{\text{SMILES}}$ denotes the average length of SMILES while $L_{\text{Description}}$ denotes the average word count per description.
123
+
124
+ ![](images/ba287cb3b5eef8c8e418c1e1368705f12332150847eb5d628a1bc8acb032545b.jpg)
125
+ Figure 4: The results of the iteration procedure. The dashed lines denote the metrics associated with the molecule captioning task, while the solid lines signify those related to the molecule generation task.
126
+
127
+ from the PubChem database (Kim et al., 2023). Subsequently, we conduct a rigorous filtering procedure to exclude any molecules present in downstream datasets, ensuring the elimination of potential overlaps between the newly acquired molecules and those already present in the ChEBI-20 dataset. For our experimental dataset augmentation, we set the iteration step to 2000. At each iteration stage, the dataset size expands by 2000 from the preceding iteration. A detailed comparison between our final augmented dataset, SAPubChem-41, and the original dataset, ChEBI-20, is presented in Table 1.
128
+
129
+ Base Model To prove the effectiveness of our framework, we use the Text+Chem T5 (Christofidellis et al., 2023) as the base model for simulating the iterative process.
130
+
131
+ Metrics Following the previous studies (Edwards et al., 2022a; Li et al., 2023a; Christofidellis et al.,
132
+
133
+ 2023; Chen et al., 2023), we evaluate the results with following metrics:
134
+
135
+ - Molecular Captioning: BLEU-2 and BLEU-4(Papineni et al., 2002) are metrics used to evaluate the quality of machine-generated text by comparing it to a reference text, with a higher score on the BLEU metric indicating a higher level of similarity between the generated text and reference text. ROUGE-1, ROUGE-2, and ROUGE-L(Lin, 2004) is similar to BLEU, while computing the recall-overlap of unigrams, bigrams, and longest common subsequences between the generated and reference texts. METEOR (Banerjee and Lavie, 2005) is a metric that uses a combination of unigram precision, recall, and a synonym-matching component to evaluate the generated text against the reference text, which is designed to be more sensitive to fluency, meaning, and structure than BLEU.
136
+
137
+ - Text-based Molecule Generation: BLEU and the Exact Match scores are calculated as basic assessments. Molecule-specified metrics including Levenshtein distance(Levenshtein et al., 1966), validity(Edwards et al., 2022a), and three molecule fingerprints scores - MACCS FTS(Durant et al., 2002), RDK FTS(Schneider et al., 2015), and Morgan FTS(Rogers and Hahn, 2010) are calculated to provide valuable insights into the quality, validity, and structural characteristics of the generated molecules.
138
+
139
+ Implementation We conducted our experiments on Ubuntu 22.04 using RTX 4090(24GB) * 4 with CUDA 11.7.1. Our primary dependencies are Python 3.11.4, PyTorch 2.0.1, Transformers 4.31.0, and Numpy 1.24.3. We initialize the three pretrained models using public checkpoints. For fine-tuning, we adopted the configuration in MolT5 (Edwards et al., 2022b), with a learning rate of 1e-3, 50,000 fine-tuning steps, weight decay of 0.1, batch size of 32, random seed of 42, and 1000 warm-up steps. For evaluation, we use a greedy search with a maximum generation length of 512 during generation. The evaluation metrics script is derived from MolT5 (Edwards et al., 2022b). For other hyperparameters, we relied on the default settings of the T5ForConditionalGeneration class in Huggingface.
140
+
141
+ <table><tr><td rowspan="2">Dataset</td><td colspan="3">Text+Chem T5</td><td colspan="3">Ada-T5</td><td colspan="3">MolT5</td></tr><tr><td>BL</td><td>RG</td><td>MET</td><td>BL</td><td>RG</td><td>MET</td><td>BL</td><td>RG</td><td>MET</td></tr><tr><td>ChEBI-20</td><td>0.490</td><td>0.498</td><td>0.604</td><td>0.316</td><td>0.369</td><td>0.464</td><td>0.457</td><td>0.485</td><td>0.569</td></tr><tr><td>SAPubChem-41</td><td>0.496</td><td>0.504</td><td>0.614</td><td>0.350</td><td>0.410</td><td>0.493</td><td>0.464</td><td>0.484</td><td>0.572</td></tr></table>
142
+
143
+ Table 2: Results of different models for molecular captioning on ChEBI-20, SAPubChem-41 datasets. The best scores are in bold. BL:BLEU-4, RG:ROUGE-2, MET:METEOR
144
+
145
+ <table><tr><td rowspan="2">Dataset</td><td colspan="3">Text+Chem T5</td><td colspan="3">Ada-T5</td><td colspan="3">MolT5</td></tr><tr><td>Morgan</td><td>Acc</td><td>Val</td><td>Morgan</td><td>Acc</td><td>Val</td><td>Morgan</td><td>Acc</td><td>Val</td></tr><tr><td>ChEBI-20</td><td>0.697</td><td>0.212</td><td>0.792</td><td>0.672</td><td>0.182</td><td>0.886</td><td>0.529</td><td>0.081</td><td>0.772</td></tr><tr><td>SAPubChem-41</td><td>0.726</td><td>0.243</td><td>0.937</td><td>0.699</td><td>0.213</td><td>0.854</td><td>0.582</td><td>0.093</td><td>0.788</td></tr></table>
146
+
147
+ Table 3: Results of different models for molecular generation on ChEBI-20, SAPubChem-41 datasets. The best scores are in bold. Morgan:Morgan FTS, Acc:Accuracy, Val:Validity
148
+
149
+ # 4.2 Performance Comparison of Molecule-Caption Translation
150
+
151
+ Molecular Captioning Table 2 presents the results of the molecule captioning task, utilizing the original ChEBI-20 dataset and the augmented SAPubChem-41 dataset to optimize three distinct pre-trained models. Across all measurement metrics, it is observable that the performance of all models using our augmented SAPubChem-41 dataset is generally superior to that utilizing the original ChEBI-20 dataset.
152
+
153
+ Text-based Molecule Generation Table 3 presents the results of the text-based molecule generation task, utilizing the original ChEBI-20 dataset and the augmented SAPubChem-41 dataset to optimize three distinct pre-trained models. Notably, the performance of all models that utilize our augmented SAPubChem-41 dataset generally surpasses those that use the original ChEBI-20 dataset. The accuracy of the generated molecule, as well as its similarity to the ground truth molecule, have been significantly improved following the self-augmentation of the dataset. This evidences substantial enhancements in performance when integrated with our self-rewarding framework.
154
+
155
+ # 4.3 Iterative Procedure
156
+
157
+ We utilize our framework on the Text+Chem T5, taking the ChEBI-20 as the original dataset. This approach facilitates an augmented dataset while simultaneously enhancing the model's performance. It is critical to note that our intention in these experiments is not necessarily to achieve a state-of-the-art model. Rather, our prime objective is to examine the efficacy of our framework, which is designed
158
+
159
+ to optimize both the model and the pseudo-labeled dataset concurrently. Figure 4 illustrates the iterative process in which dashed lines represent the molecule captioning task and solid lines signify the text-based molecule generation task. We report the complete results in Table 4 and 5. There are a few observations: First, it is noticeable that for both tasks the outcome of iteration 5 mostly falls short of that of iteration 4 in all metrics. This suggests that the training process reaches convergence on iteration 4 for both tasks. Consequently, we adopt the augmented dataset obtained at the fourth iteration as our conclusive dataset. Second, for the text-based molecule generation task, there is a consistent upward trend across all pertinent metrics. This suggests that an increased quantity of high-quality pseudo-labeled data contributes to the optimization of the model in the molecule generation process. This trend underscores the necessity of sufficient high-quality data in cross text-molecule learning. Lastly, when it comes to the molecule captioning task, the general trend in relevant metrics indicates a rise. Initially, there is a minor decrease in the BLEU and Meteor metrics, which is counterweighed by an enhancement in Rouge. As the volume of high-quality pseudo-labeled data increases, all metrics demonstrate improvement. This trend suggests that the quantity of high-quality pseudo-labeled data is also a significant factor.
160
+
161
+ # 4.4 Ablation Study
162
+
163
+ We perform further ablation studies to validate the effectiveness of the key component in our framework, i.e., the self-sampling strategy.
164
+
165
+ To demonstrate the significance of pseudo
166
+
167
+ <table><tr><td>Iteration</td><td>BLEU↑</td><td>Accuracy↑</td><td>Levenshtein↓</td><td>MACCS FTS↑</td><td>RDK FTS↑</td><td>Morgan FTS↑</td><td>Validity↑</td></tr><tr><td>t0</td><td>0.750</td><td>0.212</td><td>27.39</td><td>0.874</td><td>0.767</td><td>0.697</td><td>0.792</td></tr><tr><td>t1</td><td>0.821</td><td>0.236</td><td>19.31</td><td>0.885</td><td>0.788</td><td>0.721</td><td>0.931</td></tr><tr><td>t2</td><td>0.832</td><td>0.237</td><td>18.69</td><td>0.885</td><td>0.788</td><td>0.722</td><td>0.938</td></tr><tr><td>t3</td><td>0.828</td><td>0.240</td><td>19.28</td><td>0.886</td><td>0.788</td><td>0.724</td><td>0.934</td></tr><tr><td>t4</td><td>0.827</td><td>0.243</td><td>18.59</td><td>0.887</td><td>0.792</td><td>0.726</td><td>0.937</td></tr><tr><td>t5</td><td>0.830</td><td>0.238</td><td>19.03</td><td>0.883</td><td>0.786</td><td>0.721</td><td>0.937</td></tr></table>
168
+
169
+ Table 4: The iterative results of molecule generation task. The best scores are in bold.
170
+
171
+ <table><tr><td>Iteration</td><td>BLEU-2↑</td><td>BLEU-4↑</td><td>Rouge-1↑</td><td>Rouge-2↑</td><td>Rouge-L↑</td><td>Meteor↑</td></tr><tr><td>t0</td><td>0.580</td><td>0.490</td><td>0.647</td><td>0.498</td><td>0.586</td><td>0.604</td></tr><tr><td>t1</td><td>0.574</td><td>0.486</td><td>0.651</td><td>0.502</td><td>0.590</td><td>0.601</td></tr><tr><td>t2</td><td>0.580</td><td>0.486</td><td>0.653</td><td>0.503</td><td>0.592</td><td>0.602</td></tr><tr><td>t3</td><td>0.583</td><td>0.490</td><td>0.653</td><td>0.504</td><td>0.593</td><td>0.611</td></tr><tr><td>t4</td><td>0.584</td><td>0.496</td><td>0.653</td><td>0.504</td><td>0.593</td><td>0.614</td></tr><tr><td>t5</td><td>0.583</td><td>0.491</td><td>0.652</td><td>0.503</td><td>0.591</td><td>0.610</td></tr></table>
172
+
173
+ Table 5: The iterative results of molecule captioning task. The best scores are in bold.
174
+
175
+ ![](images/67f66300866b8b8fef22300c68bc1b819083dfc751a3ff3e64653bf338270791.jpg)
176
+ (a) BLEU
177
+
178
+ ![](images/b9ff6c3114af2035e8b2e46602c38bc7beb38655ccb600ce166b2da9cb31f0ed.jpg)
179
+ (b) Accuracy
180
+
181
+ ![](images/47a191f09c77f920faa6c0442d2a157cef34f22990f8853772b4a7ac9072aaa4.jpg)
182
+ (c) Morgan FTS
183
+
184
+ ![](images/90c9e90c14159a4efccd232f8acb6ce87b2be93964e115550168e9f124f829e5.jpg)
185
+ Figure 5: Results of molecule generation task using different sampling strategy. The blue line marks the result of model optimization on the original dataset.
186
+ (a) BLEU-4
187
+ Figure 6: Results of molecule captioning task using different sampling strategy. The blue line marks the result of model optimization on the original dataset.
188
+
189
+ ![](images/f738188f7c04194e649bd0ce00df7eee7a8a5b0171900874a3169b2cf90d4c36.jpg)
190
+ (b) Rouge-2
191
+
192
+ ![](images/996ceabbab978d4d1995cb968c26ebbe415cc74a098b4a17fdcf433dbd263b82.jpg)
193
+ (c) Meteor
194
+
195
+ labeled data selection, we conducted a comparative analysis of the performance of all intermediate models. We compared the use of randomly-selected data of the same size with our refined data. As depicted in Figure 5 and 6, our refined data consistently outperformed the randomly-selected data across all metrics at each iteration for both tasks.
196
+
197
+ Notably, when optimizing the model on randomly-selected data, the results were generally inferior to the original model on most metrics. This indicates that the model tends to overfit to noisy pseudolabels. These findings emphasize the critical role of the self-sampling strategy in our framework.
198
+
199
+ # 5 Conclusion
200
+
201
+ In this paper, we have explored and grappled with the challenge of a deficiency in the accessibility of high-quality datasets for model fine-tuning in the field of cross text-molecule learning, by developing a novel framework. This innovative framework efficiently combines model fine-tuning with data augmentation, integrating the model in such a way that it expands its roles to include annotating unlabeled data and sampling a subset of high-quality data. The paper further introduces a high-quality dataset, the SAPubChem-41, expressly designed for fine-tuning purposes. The experiments' results were impressive as the model optimized using SAPubChem-41 consistently outperformed the model optimized using the original dataset, ChEBI-20. Going forward, this paper's findings present crucial steps toward addressing high-quality data scarcity for fine-tuning and ensuring further advancement in the exciting field of cross text-molecule learning.
202
+
203
+ # 6 Limitations and Future Works
204
+
205
+ One limitation of our framework is that it only considers a 1D representation of molecules. The integration of additional representations, such as molecule graphs, is left as future work. Additionally, our data augmentation module currently only supports sample-level labels. It is expected that more quality measurements from different levels will be incorporated to provide a comprehensive perspective on quantifying the dataset quality.
206
+
207
+ # Acknowledgements
208
+
209
+ This work is supported by National Natural Science Foundation of China (62302433, U23A20496), Zhejiang Provincial "Jianbing" "Lingyan" Research and Development Program of China (2024C01135), Zhejiang Provincial Natural Science Foundation of China (LQ24F020007), New Generation AI Development Plan for 2030 of China (2023ZD0120802) and CCF-Tencent Rhino-Bird Fund (RAGR20230122).
210
+
211
+ # References
212
+
213
+ Ateret Anaby-Tavor, Boaz Carmeli, Esther Goldbraich, Amir Kantor, George Kour, Segev Shlomov, Naama Tepper, and Naama Zwerdling. 2020. Do not have enough data? deep learning to the rescue! In Proceedings of the AAAI Conference on Artificial Intelligence, volume 34, pages 7383-7390.
214
+
215
+ Satanjeev Banerjee and Alon Lavie. 2005. Meteor: An automatic metric for mt evaluation with improved correlation with human judgments. In Proceedings of the acl workshop on intrinsic and extrinsic evaluation measures for machine translation and/or summarization, pages 65-72.
216
+ Yuhan Chen, Nuwa Xi, Yanrui Du, Haochun Wang, Chen Jianyu, Sendong Zhao, and Bing Qin. 2023. From artificially real to real: Leveraging pseudo data from large language models for low-resource molecule discovery.
217
+ Dimitrios Christofidellis, Giorgio Giannone, Jannis Born, Ole Winther, Teodoro Laino, and Matteo Manica. 2023. Unifying molecular and textual representations via multi-task language modelling.
218
+ Haixing Dai, Zhengliang Liu, Wenxiong Liao, Xiaoke Huang, Yihan Cao, Zihao Wu, Lin Zhao, Shaochen Xu, Wei Liu, Ninghao Liu, et al. 2023. Auggpt: Leveraging chatgpt for text data augmentation. arXiv preprint arXiv:2302.13007.
219
+ Kirill Degtyarenko, Paula De Matos, Marcus Ennis, Janna Hastings, Martin Zbinden, Alan McNaught, Rafael Alcantara, Michael Darsow, Mickaël Guedj, and Michael Ashburner. 2007. Chebi: a database and ontology for chemical entities of biological interest. Nucleic acids research, 36(suppl_1):D344-D350.
220
+ Joseph L Durant, Burton A Leland, Douglas R Henry, and James G Nourse. 2002. Reoptimization of mdI keys for use in drug discovery. Journal of chemical information and computer sciences, 42(6):1273-1280.
221
+ Carl Edwards, Tuan Lai, Kevin Ros, Garrett Honke, Kyunghyun Cho, and Heng Ji. 2022a. Translation between molecules and natural language.
222
+ Carl Edwards, Tuan Manh Lai, Kevin Ros, Garrett Honke, Kyunghyun Cho, and Heng Ji. 2022b. Translation between molecules and natural language. In EMNLP, pages 375-413. Association for Computational Linguistics.
223
+ Carl Edwards, ChengXiang Zhai, and Heng Ji. 2021. Text2mol: Cross-modal molecule retrieval with natural language queries. In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing, pages 595-607.
224
+ Steven Y Feng, Varun Gangal, Jason Wei, Sarath Chandar, Soroush Vosoughi, Teruko Mitamura, and Eduard Hovy. 2021. A survey of data augmentation approaches for nlp. arXiv preprint arXiv:2105.03075.
225
+ Alex Hernández-García and Peter König. 2018. Data augmentation instead of explicit regularization. arXiv preprint arXiv:1806.03852.
226
+ Sunghwan Kim, Jie Chen, Tiejun Cheng, Asta Gindulyte, Jia He, Siqian He, Qingliang Li, Benjamin A Shoemaker, Paul A Thiessen, Bo Yu, et al. 2023. Pubchem 2023 update. Nucleic acids research, 51(D1):D1373-D1380.
227
+
228
+ Vladimir I Levenshtein et al. 1966. Binary codes capable of correcting deletions, insertions, and reversals. In Soviet physics doklady, volume 10, pages 707-710. Soviet Union.
229
+ Bohan Li, Yutai Hou, and Wanxiang Che. 2022. Data augmentation approaches in natural language processing: A survey. *Ai Open*, 3:71-90.
230
+ Jiatong Li, Yunqing Liu, Wenqi Fan, Xiao-Yong Wei, Hui Liu, Jiliang Tang, and Qing Li. 2023a. Empowering molecule discovery for molecule-caption translation with large language models: A chatgpt perspective.
231
+ Xian Li, Ping Yu, Chunting Zhou, Timo Schick, Luke Zettlemoyer, Omer Levy, Jason Weston, and Mike Lewis. 2023b. Self-alignment with instruction back-translation. arXiv preprint arXiv:2308.06259.
232
+ Chin-Yew Lin. 2004. Rouge: A package for automatic evaluation of summaries. In Text summarization branches out, pages 74-81.
233
+ Yixin Liu and Pengfei Liu. 2021. SimCLS: A simple framework for contrastive learning of abstractive summarization. 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 1065-1072, Online. Association for Computational Linguistics.
234
+ Yixin Liu, Pengfei Liu, Dragomir Radev, and Graham Neubig. 2022. BRIO: Bringing order to abstractive summarization. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 2890-2903, Dublin, Ireland. Association for Computational Linguistics.
235
+ Zequn Liu, Wei Zhang, Yingce Xia, Lijun Wu, Shufang Xie, Tao Qin, Ming Zhang, and Tie-Yan Liu. 2023. Molxpt: Wrapping molecules with text for generative pre-training. arXiv preprint arXiv:2305.10688.
236
+ Zhiyuan Liu, Sihang Li, Yanchen Luo, Hao Fei, Yixin Cao, Kenji Kawaguchi, Xiang Wang, and Tat-Seng Chua. 2024. Molca: Molecular graph-language modeling with cross-modal projector and uni-modal adapter.
237
+ 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.
238
+ Qizhi Pei, Wei Zhang, Jinhua Zhu, Kehan Wu, Kaiyuan Gao, Lijun Wu, Yingce Xia, and Rui Yan. 2024. Biot5: Enriching cross-modal integration in biology with chemical knowledge and natural language associations.
239
+
240
+ Colin Raffel, Noam Shazeer, Adam Roberts, Katherine Lee, Sharan Narang, Michael Matena, Yanqi Zhou, Wei Li, and Peter J. Liu. 2020. Exploring the limits of transfer learning with a unified text-to-text transformer. J. Mach. Learn. Res., 21:140:1-140:67.
241
+ Marc'Aurelio Ranzato, Sumit Chopra, Michael Auli, and Wojciech Zaremba. 2016. Sequence level training with recurrent neural networks.
242
+ David Rogers and Mathew Hahn. 2010. Extendedconnectivity fingerprints. Journal of chemical information and modeling, 50(5):742-754.
243
+ Nadine Schneider, Roger A Sayle, and Gregory A Landrum. 2015. Get your atoms in order an opensource implementation of a novel and robust molecular canonicalization algorithm. Journal of chemical information and modeling, 55(10):2111-2120.
244
+ Christian Szegedy, Vincent Vanhoucke, Sergey Ioffe, Jon Shlens, and Zbigniew Wojna. 2016. Rethinking the inception architecture for computer vision. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 2818-2826.
245
+ David S Wishart, Yannick D Feunang, An C Guo, Elvis J Lo, Ana Marcu, Jason R Grant, Tanvir Sajed, Daniel Johnson, Carin Li, Zinat Sayeeda, et al. 2018. Drugbank 5.0: a major update to the drugbank database for 2018. Nucleic acids research, 46(D1):D1074-D1082.
246
+ Xing Wu, Shangwen Lv, Liangjun Zang, Jizhong Han, and Songlin Hu. 2019. Conditional bert contextual augmentation. In Computational Science-ICCS 2019: 19th International Conference, Faro, Portugal, June 12–14, 2019, Proceedings, Part IV 19, pages 84–95. Springer.
247
+ Kang Min Yoo, Dongju Park, Jaewook Kang, Sang-Woo Lee, and Woomyeong Park. 2021. Gpt3mix: Leveraging large-scale language models for text augmentation. arXiv preprint arXiv:2104.08826.
248
+ Zheni Zeng, Yuan Yao, Zhiyuan Liu, and Maosong Sun. 2022. A deep-learning system bridging molecule structure and biomedical text with comprehension comparable to human professionals. Nature communications, 13(1):862.
249
+ Qiang Zhang, Keyang Ding, Tianwen Lyv, Xinda Wang, Qingyu Yin, Yiwen Zhang, Jing Yu, Yuhao Wang, Xiaotong Li, Zhuoyi Xiang, et al. 2024. Scientific large language models: A survey on biological & chemical domains. arXiv preprint arXiv:2401.14656.
250
+ Xiang Zhang, Junbo Zhao, and Yann LeCun. 2015. Character-level convolutional networks for text classification. Advances in neural information processing systems, 28.
251
+ Yao Zhao, Misha Khalman, Rishabh Joshi, Shashi Narayan, Mohammad Saleh, and Peter J. Liu. 2022. Calibrating sequence likelihood improves conditional language generation.
252
+
253
+ Jing Zhou, Yanan Zheng, Jie Tang, Jian Li, and Zhilin Yang. 2021. Flipda: Effective and robust data augmentation for few-shot learning. arXiv preprint arXiv:2108.06332.
254
+
255
+ # A Datasets Information
256
+
257
+ SAPubChem-41 The SAPubChem-41 datasets comprises 33k real data sourced from CHEBI-20 and 8k high-quality pseudo labelled data sourced from self-augmentation on Text+ChemT5. Representative examples of pseudo-labelled part are provided in Table 7. In addition, to further elucidate the advantages of iterative strategy on model performance, we have documented representative examples of updated captions in Table 6.
258
+
259
+ Comparison with Existing Datasets In Table 8 we present a detailed comparison of our SAPubChem-41 datasets with existing limited datasets with parallel molecule-description pairs, including:
260
+
261
+ - ChEBI-20 (Edwards et al., 2021): consists of $33\mathrm{k}$ molecule-caption pairs with caption exploiting ChEBI(Degtyarenko et al., 2007)annotations and more than 20 words.
262
+ - PCdes (Zeng et al., 2022): consists of $15\mathrm{k}$ substances in PubChem which have names, SMILES and corresponding paragraphs of property descriptions.
263
+ - DrugBank-23(Chen et al., 2023): consists of 23k compounds from DrugBank (Wishart et al., 2018) with corresponding description's length longer than 20 words.
264
+
265
+ # B Pre-trained Model Information
266
+
267
+ Table 9 presents the information of three different pre-trained models utilized in our experiments.
268
+
269
+ # C Experiments
270
+
271
+ # C.1 Performance Comparison
272
+
273
+ Here we present the complete results of performance comparison for both molecular captioning task and molecule generation task in Table 10&Table 11.
274
+
275
+ # C.2 Ablation Study
276
+
277
+ Here we present the complete results of both molecular captioning task and molecule generation task using different sampling strategy in Table 12 & Table 13.
278
+
279
+ # C.3 Additional Experiments
280
+
281
+ To further substantiate the efficacy of our framework and the exceptional quality of the SAPubChem-41 dataset, we have conducted a series of experiments. These were performed with the goal of optimizing three distinct pre-trained models, utilizing both our augmented dataset, SAPubChem-41, and other prevalent public datasets which include ChEBI-20 and PCdes. The findings from these experiments are reported in Table 14 & Table 15. It can be noted that across both task categories, models that were optimized using our self-augmented dataset, SAPubChem-41, generally exhibited superior performance in comparison to those optimized with other existing datasets.
282
+
283
+ <table><tr><td>SMILES</td><td>[C@H]1(O[C@H][(C@@H](O)C)C(O)O)[C@@H](O)[C@@H](O)[C@@H](O)[C@@H](C)O1</td></tr><tr><td>previous caption</td><td>The molecule is a glycosylglucose consisting of D-galactopyranose and D-glucopyranose residues joined in sequence by a (1-&gt;4) glycosidic bond. It derives from a D-galactopyranose and a D-glucopyranose.(0.6611)</td></tr><tr><td>updated caption</td><td>The molecule is a deoxygalactose that is D-galactopyranose in which the hydroxy group at position 3 has been replaced by a methyl group. It is a deoxygalactose and a methyl glycoside. It derives from a D-galactopyranose.(0.6817)</td></tr><tr><td>SMILES</td><td>CC([C@@H](C)O)(C)OC-</td></tr><tr><td>previous caption</td><td>The molecule is an ether in which the stereocentres at positions 2 and 3 both have S-configuration. It is an ether and a secondary alcohol.(0.6610)</td></tr><tr><td>updated caption</td><td>The molecule is an ether in which the stereocentres at positions 2 and 3 both have S-configuration. It is an ether and a secondary alcohol. It derives from a hydride of an oxepane.(0.6704)</td></tr><tr><td>SMILES</td><td>CI</td></tr><tr><td>previous caption</td><td>The molecule is an iodoalkane that is ethane in which one of the hydrogens is substituted by iodine. It has a role as a human metabolite. It is an iodoalkane and a member of iodos. It derives from a hydride of an ethane.(0.7479)</td></tr><tr><td>updated caption</td><td>The molecule is an iodoalkane that is ethane in which one of the hydrogens is substituted by iodine. It has a role as a metabolite. It is an iodoalkane and a volatile organic compound. It derives from a hydride of an ethane.(0.7671)</td></tr><tr><td>SMILES</td><td>N([N+])=C</td></tr><tr><td>previous caption</td><td>The molecule is an organic cation resulting from the protonation of the nitrogen of nitric acid. It is a conjugate acid of a nitric acid.(0.7479)</td></tr><tr><td>updated caption</td><td>The molecule is a hydracid and a one-carbon compound. It is a conjugate acid of a hydrazine. It derives from a hydride of a hydrazine.(0.7599)</td></tr><tr><td>SMILES</td><td>[C@H]1(C)[C@@](CO)(O)[C@@H-(O[C@@H](C)O)[C@H](OC(C)C)O1</td></tr><tr><td>previous caption</td><td>The molecule is a spiro-epoxide resulting from the formal epoxidation of the hydroxy group at position 2 of D-fructofuranose. It is a spiro-epoxide and a glycoside. It derives from a D-fructofuranose.(0.6014)</td></tr><tr><td>updated caption</td><td>The molecule is a deoxygalactose that is alpha-D-galactopyranose in which the hydroxy group at position 2 has been replaced by a methyl group. It is a deoxygalactose and a tertiary alcohol.(0.6839)</td></tr></table>
284
+
285
+ Table 6: Five examples of the comparison of previous caption when adopting our iterative strategy. Corresponding Text2Mol Score of each molecule-caption pairs is present in the bracket.
286
+
287
+ <table><tr><td>SMILES</td><td>Caption</td></tr><tr><td>C@H](C[C@H](C(/C=C/C)=O)C)
288
+ ([C@@H]([C@H](/C=C/C(=O)O)C)O[C@H]1[C@H]
289
+ (O)[C@@H]([NH+])C[C@@H](C)O1)C</td><td>The molecule is an organic cation that is the conjugate acid of 1D-myo-inositol, obtained by protonation of the tertiary amino group; major species at pH 7.3. It is an ammonium ion derivative and an organic cation. It is a conjugate acid of a 1D-myo-inositol.</td></tr><tr><td>[O-][Mn]</td><td>The molecule is a monovalent inorganic anion obtained by deprotonation of manganese. It is a man-ganese oxoanion and a monovalent inorganic anion. It is a conjugate base of a manganese.</td></tr><tr><td>C[C@@H](C(OC)OC)C=C</td><td>The molecule is an ether in which the stereocentres at positions 2 and 3 both have S-configuration. It is an ether and an alicyclic compound.</td></tr><tr><td>O(C([C@H](C)N)=O)[C@H]([C@H](O)C)[C@H](C)O</td><td>The molecule is an amino cyclitol that is scyllo-inositol in which the hydroxy group at position 2 has been replaced by an amino group. It has a role as a bacterial metabolite. It is an amino cyclitol and a primary amino compound. It derives from a scyllo-inositol.</td></tr><tr><td>C(C)(C)(C)Br</td><td>The molecule is a bromoalkane that is ethane substituted by a bromo group at position 2. It has a role as a metabolite. It derives from a hydride of an ethane.</td></tr><tr><td>C[Se]C</td><td>The molecule is an organoselenium compound that is selenium substituted by a methyl group at position 2. It has a role as a metabolite. It derives from a selenium.</td></tr></table>
290
+
291
+ Table 7: Five examples of SAPubChem-41
292
+
293
+ <table><tr><td>Info</td><td>SAPubChem-41</td><td>ChEBI-20</td><td>PCdes</td><td>DrugBank-23</td></tr><tr><td>Train</td><td>34,407</td><td>26,407</td><td>10,500</td><td>17,109</td></tr><tr><td>Validation</td><td>3,301</td><td>3,301</td><td>1,500</td><td>3,667</td></tr><tr><td>Test</td><td>3,300</td><td>3,300</td><td>3,000</td><td>3,666</td></tr><tr><td>LSMILES</td><td>69.96</td><td>81.56</td><td>56.47</td><td>54.11</td></tr><tr><td>LDescription</td><td>41.59</td><td>52.88</td><td>72.47</td><td>65.04</td></tr><tr><td>Data source</td><td colspan="3">PubChem</td><td>DrugBank</td></tr></table>
294
+
295
+ Table 8: Details about the existing datasets and ours (SAPubChem-41). $L_{\text{SMILES}}$ denotes the average length of SMILES while $L_{\text{Description}}$ denotes the average word count per description.
296
+
297
+ <table><tr><td>Model</td><td>Suffix</td><td>Parameters (M)</td></tr><tr><td>Text+Chem T5</td><td>base</td><td>220</td></tr><tr><td>Ada-T5</td><td>-</td><td>220</td></tr><tr><td>MolT5</td><td>base</td><td>220</td></tr></table>
298
+
299
+ Table 9: Model Size
300
+
301
+ <table><tr><td>model</td><td>dataset</td><td>BLEU-2</td><td>BLEU-4</td><td>Rouge-1</td><td>Rouge-2</td><td>Rouge-L</td><td>Meteor</td></tr><tr><td rowspan="2">Text+Chem T5</td><td>ChEBI-20</td><td>0.580</td><td>0.490</td><td>0.647</td><td>0.498</td><td>0.586</td><td>0.604</td></tr><tr><td>SAPPubChem-41</td><td>0.584</td><td>0.496</td><td>0.653</td><td>0.504</td><td>0.593</td><td>0.614</td></tr><tr><td rowspan="2">Ada-T5</td><td>ChEBI-20</td><td>0.424</td><td>0.316</td><td>0.543</td><td>0.369</td><td>0.483</td><td>0.464</td></tr><tr><td>SAPPubChem-41</td><td>0.444</td><td>0.350</td><td>0.575</td><td>0.410</td><td>0.514</td><td>0.493</td></tr><tr><td rowspan="2">MolT5</td><td>ChEBI-20</td><td>0.540</td><td>0.457</td><td>0.634</td><td>0.485</td><td>0.578</td><td>0.569</td></tr><tr><td>SAPPubChem-41</td><td>0.551</td><td>0.464</td><td>0.638</td><td>0.484</td><td>0.585</td><td>0.572</td></tr></table>
302
+
303
+ Table 10: The complete results of different models for molecular captioning on ChEBI-20, SAPubChem-41 datasets.
304
+
305
+ <table><tr><td>size</td><td>dataset</td><td>BL</td><td>Acc</td><td>Lev</td><td>MACCS</td><td>RDK</td><td>Morgan</td><td>Val</td></tr><tr><td rowspan="2">Text+Chem T5</td><td>ChEBI-20</td><td>0.750</td><td>0.212</td><td>27.39</td><td>0.874</td><td>0.767</td><td>0.697</td><td>0.792</td></tr><tr><td>SAPubChem-41</td><td>0.827</td><td>0.243</td><td>18.59</td><td>0.887</td><td>0.792</td><td>0.726</td><td>0.937</td></tr><tr><td rowspan="2">Ada-T5</td><td>ChEBI-20</td><td>0.699</td><td>0.182</td><td>27.48</td><td>0.869</td><td>0.753</td><td>0.672</td><td>0.886</td></tr><tr><td>SAPubChem-41</td><td>0.714</td><td>0.213</td><td>26.52</td><td>0.879</td><td>0.772</td><td>0.699</td><td>0.854</td></tr><tr><td rowspan="2">MolT5</td><td>ChEBI-20</td><td>0.769</td><td>0.081</td><td>24.49</td><td>0.721</td><td>0.588</td><td>0.529</td><td>0.772</td></tr><tr><td>SAPubChem-41</td><td>0.775</td><td>0.093</td><td>33.16</td><td>0.814</td><td>0.668</td><td>0.582</td><td>0.788</td></tr></table>
306
+
307
+ Table 11: The complete results of different models for molecular generation on ChEBI-20, SAPubChem-41 datasets.
308
+
309
+ <table><tr><td>size</td><td>dataset</td><td>BLEU-2</td><td>BLEU-4</td><td>Rouge-1</td><td>Rouge-2</td><td>Rouge-L</td><td>Meteor</td></tr><tr><td rowspan="2">2k</td><td>random</td><td>0.534</td><td>0.447</td><td>0.641</td><td>0.489</td><td>0.579</td><td>0.575</td></tr><tr><td>refined</td><td>0.574</td><td>0.486</td><td>0.651</td><td>0.502</td><td>0.590</td><td>0.601</td></tr><tr><td rowspan="2">4k</td><td>random</td><td>0.537</td><td>0.451</td><td>0.641</td><td>0.489</td><td>0.579</td><td>0.577</td></tr><tr><td>refined</td><td>0.580</td><td>0.486</td><td>0.653</td><td>0.503</td><td>0.592</td><td>0.602</td></tr><tr><td rowspan="2">6k</td><td>random</td><td>0.532</td><td>0.446</td><td>0.640</td><td>0.489</td><td>0.577</td><td>0.573</td></tr><tr><td>refined</td><td>0.583</td><td>0.490</td><td>0.653</td><td>0.504</td><td>0.593</td><td>0.611</td></tr><tr><td rowspan="2">8k</td><td>random</td><td>0.527</td><td>0.443</td><td>0.640</td><td>0.489</td><td>0.579</td><td>0.571</td></tr><tr><td>refined</td><td>0.584</td><td>0.496</td><td>0.653</td><td>0.504</td><td>0.593</td><td>0.614</td></tr><tr><td rowspan="2">10k</td><td>random</td><td>0.526</td><td>0.442</td><td>0.639</td><td>0.489</td><td>0.579</td><td>0.571</td></tr><tr><td>refined</td><td>0.583</td><td>0.491</td><td>0.652</td><td>0.503</td><td>0.591</td><td>0.610</td></tr></table>
310
+
311
+ Table 12: Full results of molecule captioning task using different sampling strategy.
312
+
313
+ <table><tr><td>size</td><td>dataset</td><td>BLEU</td><td>Accuracy</td><td>Levenshtein</td><td>MACCS FTS</td><td>RDK FTS</td><td>Morgan FTS</td><td>Validity</td></tr><tr><td rowspan="2">2k</td><td>random</td><td>0.715</td><td>0.215</td><td>23.82</td><td>0.873</td><td>0.766</td><td>0.703</td><td>0.868</td></tr><tr><td>refined</td><td>0.821</td><td>0.236</td><td>19.31</td><td>0.885</td><td>0.788</td><td>0.721</td><td>0.931</td></tr><tr><td rowspan="2">4k</td><td>random</td><td>0.720</td><td>0.219</td><td>23.79</td><td>0.876</td><td>0.768</td><td>0.706</td><td>0.862</td></tr><tr><td>refined</td><td>0.832</td><td>0.237</td><td>18.69</td><td>0.885</td><td>0.788</td><td>0.722</td><td>0.938</td></tr><tr><td rowspan="2">6k</td><td>random</td><td>0.709</td><td>0.220</td><td>24.38</td><td>0.876</td><td>0.767</td><td>0.706</td><td>0.858</td></tr><tr><td>refined</td><td>0.828</td><td>0.240</td><td>19.28</td><td>0.886</td><td>0.788</td><td>0.724</td><td>0.934</td></tr><tr><td rowspan="2">8k</td><td>random</td><td>0.715</td><td>0.221</td><td>24.27</td><td>0.875</td><td>0.763</td><td>0.701</td><td>0.855</td></tr><tr><td>refined</td><td>0.827</td><td>0.243</td><td>18.59</td><td>0.887</td><td>0.792</td><td>0.726</td><td>0.937</td></tr><tr><td rowspan="2">10k</td><td>random</td><td>0.715</td><td>0.207</td><td>24.37</td><td>0.870</td><td>0.759</td><td>0.696</td><td>0.864</td></tr><tr><td>refined</td><td>0.830</td><td>0.238</td><td>19.03</td><td>0.883</td><td>0.786</td><td>0.721</td><td>0.937</td></tr></table>
314
+
315
+ Table 13: Full results of molecule generation task using different sampling strategy.
316
+
317
+ <table><tr><td>model</td><td>dataset</td><td>BLEU-2</td><td>BLEU-4</td><td>Rouge-1</td><td>Rouge-2</td><td>Rouge-L</td><td>Meteor</td></tr><tr><td rowspan="3">Text+Chem T5</td><td>ChEBI-20</td><td>0.580</td><td>0.490</td><td>0.647</td><td>0.498</td><td>0.586</td><td>0.604</td></tr><tr><td>PCdes</td><td>0.352</td><td>0.266</td><td>0.439</td><td>0.274</td><td>0.373</td><td>0.382</td></tr><tr><td>SAPubChem-41</td><td>0.584</td><td>0.496</td><td>0.653</td><td>0.504</td><td>0.593</td><td>0.614</td></tr><tr><td rowspan="3">Ada-T5</td><td>ChEBI-20</td><td>0.424</td><td>0.316</td><td>0.543</td><td>0.369</td><td>0.483</td><td>0.464</td></tr><tr><td>PCdes</td><td>0.289</td><td>0.188</td><td>0.428</td><td>0.243</td><td>0.367</td><td>0.324</td></tr><tr><td>SAPubChem-41</td><td>0.444</td><td>0.350</td><td>0.575</td><td>0.410</td><td>0.514</td><td>0.493</td></tr><tr><td rowspan="3">MolT5</td><td>ChEBI-20</td><td>0.540</td><td>0.457</td><td>0.634</td><td>0.485</td><td>0.578</td><td>0.569</td></tr><tr><td>PCdes</td><td>0.165</td><td>0.078</td><td>0.290</td><td>0.118</td><td>0.233</td><td>0.204</td></tr><tr><td>SAPubChem-41</td><td>0.551</td><td>0.464</td><td>0.638</td><td>0.484</td><td>0.585</td><td>0.572</td></tr></table>
318
+
319
+ Table 14: The complete results of different models for molecular captioning on SAPubChem-41 and other existing datasets. The best scores are in bold.
320
+
321
+ <table><tr><td>size</td><td>dataset</td><td>BL</td><td>Acc</td><td>Lev</td><td>MACCS</td><td>RDK</td><td>Morgan</td><td>Val</td></tr><tr><td rowspan="3">Text+Chem T5</td><td>ChEBI-20</td><td>0.750</td><td>0.212</td><td>27.39</td><td>0.874</td><td>0.767</td><td>0.697</td><td>0.792</td></tr><tr><td>PCdes</td><td>0.614</td><td>0.105</td><td>30.43</td><td>0.697</td><td>0.544</td><td>0.459</td><td>0.849</td></tr><tr><td>SAPPubChem-41</td><td>0.827</td><td>0.243</td><td>18.59</td><td>0.887</td><td>0.792</td><td>0.726</td><td>0.937</td></tr><tr><td rowspan="3">Ada-T5</td><td>ChEBI-20</td><td>0.699</td><td>0.182</td><td>27.48</td><td>0.869</td><td>0.753</td><td>0.672</td><td>0.886</td></tr><tr><td>PCdes</td><td>0.579</td><td>0.089</td><td>38.99</td><td>0.778</td><td>0.600</td><td>0.492</td><td>0.947</td></tr><tr><td>SAPPubChem-41</td><td>0.714</td><td>0.213</td><td>26.52</td><td>0.879</td><td>0.772</td><td>0.699</td><td>0.854</td></tr><tr><td rowspan="3">MolT5</td><td>ChEBI-20</td><td>0.769</td><td>0.081</td><td>24.49</td><td>0.721</td><td>0.588</td><td>0.529</td><td>0.772</td></tr><tr><td>PCdes</td><td>0.476</td><td>0.009</td><td>53.27</td><td>0.635</td><td>0.432</td><td>0.330</td><td>0.711</td></tr><tr><td>SAPPubChem-41</td><td>0.775</td><td>0.093</td><td>33.16</td><td>0.814</td><td>0.668</td><td>0.582</td><td>0.788</td></tr></table>
322
+
323
+ Table 15: The complete results of different models for molecular generation on SAPubChem-41 and other existing datasets. The best scores are in bold.
2024/Enhancing Cross Text-Molecule Learning by Self-Augmentation/images.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:863aa4befac6ec26d5ae08520512e65f23633796ea5fd201968edd1a23c6b720
3
+ size 1397755
2024/Enhancing Cross Text-Molecule Learning by Self-Augmentation/layout.json ADDED
The diff for this file is too large to render. See raw diff
 
2024/Enhancing Distractor Generation for Multiple-Choice Questions with Retrieval Augmented Pretraining and Knowledge Graph Integration/e2e79252-24e8-4303-bd7f-47125cbcbdea_content_list.json ADDED
@@ -0,0 +1,1759 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "type": "text",
4
+ "text": "Enhancing Distractor Generation for Multiple-Choice Questions with Retrieval Augmented Pretraining and Knowledge Graph Integration",
5
+ "text_level": 1,
6
+ "bbox": [
7
+ 139,
8
+ 80,
9
+ 855,
10
+ 122
11
+ ],
12
+ "page_idx": 0
13
+ },
14
+ {
15
+ "type": "text",
16
+ "text": "Han-Cheng Yu, Yu-An Shih, Kin-Man Law, Kai-Yu Hsieh, Yu-Chen Cheng, Hsin-Chih Ho, Zih-An Lin, Wen-Chuan Hsu, Yao-Chung Fan*",
17
+ "bbox": [
18
+ 231,
19
+ 130,
20
+ 769,
21
+ 180
22
+ ],
23
+ "page_idx": 0
24
+ },
25
+ {
26
+ "type": "text",
27
+ "text": "Department of Computer Science and Engineering, National Chung Hsing University, Taiwan",
28
+ "bbox": [
29
+ 292,
30
+ 181,
31
+ 707,
32
+ 214
33
+ ],
34
+ "page_idx": 0
35
+ },
36
+ {
37
+ "type": "text",
38
+ "text": "yfan@nchu.edu.tw",
39
+ "bbox": [
40
+ 401,
41
+ 216,
42
+ 600,
43
+ 231
44
+ ],
45
+ "page_idx": 0
46
+ },
47
+ {
48
+ "type": "text",
49
+ "text": "Abstract",
50
+ "text_level": 1,
51
+ "bbox": [
52
+ 260,
53
+ 252,
54
+ 339,
55
+ 268
56
+ ],
57
+ "page_idx": 0
58
+ },
59
+ {
60
+ "type": "text",
61
+ "text": "In this paper, we tackle the task of distractor generation (DG) for multiple-choice questions. Our study introduces two key designs. First, we propose retrieval augmented pretraining, which involves refining the language model pretraining to align it more closely with the downstream task of DG. Second, we explore the integration of knowledge graphs to enhance the performance of DG. Through experiments with benchmarking datasets, we show that our models significantly outperform the state-of-the-art results. Our best-performing model advances the F1@3 score from 14.80 to 16.47 in MCQ dataset and from 15.92 to 16.50 in Sciq dataset.",
62
+ "bbox": [
63
+ 141,
64
+ 286,
65
+ 460,
66
+ 500
67
+ ],
68
+ "page_idx": 0
69
+ },
70
+ {
71
+ "type": "text",
72
+ "text": "1 Introduction",
73
+ "text_level": 1,
74
+ "bbox": [
75
+ 114,
76
+ 518,
77
+ 260,
78
+ 533
79
+ ],
80
+ "page_idx": 0
81
+ },
82
+ {
83
+ "type": "text",
84
+ "text": "Multiple-Choice Questions (MCQs) are widely used to evaluate a learner's knowledge. However, creating them manually requires a significant amount of time and effort from educators. Well-designed MCQs help in accurately assessing learners' abilities. The most challenging part of creating MCQs is designing appropriate incorrect options, commonly called distractors. Therefore, researchers have focused on the automatic distractor generation for MCQs in recent years. In this paper, we explore two directions for improving DG methods.",
85
+ "bbox": [
86
+ 112,
87
+ 546,
88
+ 489,
89
+ 739
90
+ ],
91
+ "page_idx": 0
92
+ },
93
+ {
94
+ "type": "text",
95
+ "text": "Task-Specific Pretraining Current SOTA DG methods, such as utilizing BERT for DG (Chiang et al., 2022) or harnessing T5 for Text2Text DG (Wang et al., 2023), are all based on pre-trained language models (LMs). Existing LMs undergo task-agnostic pertaining. However, recently, the idea of task-specific pretraining has gained prominence. The aim is to refine the pretraining process to closely align with the downstream task. Therefore, our first endeavor in this paper is to investigate Task-Specific Pretraining for the DG task.",
96
+ "bbox": [
97
+ 112,
98
+ 741,
99
+ 489,
100
+ 919
101
+ ],
102
+ "page_idx": 0
103
+ },
104
+ {
105
+ "type": "text",
106
+ "text": "In line with this goal, we propose Retrieval Augmented Pretraining (RAP) for task-specific pretraining. The main idea involves using MCQ answers to retrieve relevant sentences/passages from a large corpus, such as Wikipedia, to create pseudo questions, and then use the generated pseudo question for task-specific pertaining.",
107
+ "bbox": [
108
+ 507,
109
+ 253,
110
+ 884,
111
+ 363
112
+ ],
113
+ "page_idx": 0
114
+ },
115
+ {
116
+ "type": "text",
117
+ "text": "Figure 1 illustrates an example of a create pseudo question. Assume that we are given a set of MCQ options, the answer kidneys, and three distractors lungs, pancreas, liver. The idea is to use the answer option kidneys to retrieve a sentence, i.e., the kidneys are two reddish-brown bean-shaped organs and replace the answer with the [Mask] token to generate a pseudo question, i.e., the [Mask] are two reddish-brown bean-shaped organs. The pseudo question and the distractors are then served as training data for RAP.",
118
+ "bbox": [
119
+ 507,
120
+ 365,
121
+ 884,
122
+ 541
123
+ ],
124
+ "page_idx": 0
125
+ },
126
+ {
127
+ "type": "text",
128
+ "text": "Knowledge Augmented Generation Recent research trends show that leveraging knowledge graphs (KGs) can enhance the performance of LM-based text generation tasks, as discussed in (Yasunaga et al., 2022) and (Zhang et al., 2022). The perspective is that LMs and KGs should complement each other. KGs go beyond text by offering structural information, representing entities as nodes and their relationships as edges. This structured knowledge enhances the ability for multi-step reasoning. In line with this motivation, we propose knowledge-augmented generation (KAG), where we build upon the candidate augmentation strategy proposed by the state-of-the-art DG method (Wang et al., 2023). The idea is to retrieve knowledge triplets from a knowledge graph to serve as auxiliary information for the text2text DG model.",
129
+ "bbox": [
130
+ 507,
131
+ 542,
132
+ 884,
133
+ 815
134
+ ],
135
+ "page_idx": 0
136
+ },
137
+ {
138
+ "type": "text",
139
+ "text": "The contributions of this paper are",
140
+ "bbox": [
141
+ 527,
142
+ 816,
143
+ 786,
144
+ 832
145
+ ],
146
+ "page_idx": 0
147
+ },
148
+ {
149
+ "type": "text",
150
+ "text": "- Our methods achieve a remarkable improvement in state-of-the-art DG results. Our best-performing model elevates the F1@3 score from 14.80 to 16.47 in MCQ and from 15.92 to 16.50 in Sciq, showcasing the effectiveness",
151
+ "bbox": [
152
+ 531,
153
+ 838,
154
+ 884,
155
+ 917
156
+ ],
157
+ "page_idx": 0
158
+ },
159
+ {
160
+ "type": "page_number",
161
+ "text": "11019",
162
+ "bbox": [
163
+ 475,
164
+ 927,
165
+ 524,
166
+ 940
167
+ ],
168
+ "page_idx": 0
169
+ },
170
+ {
171
+ "type": "footer",
172
+ "text": "Findings of the Association for Computational Linguistics: ACL 2024, pages 11019-11029 August 11-16, 2024 ©2024 Association for Computational Linguistics",
173
+ "bbox": [
174
+ 220,
175
+ 945,
176
+ 778,
177
+ 972
178
+ ],
179
+ "page_idx": 0
180
+ },
181
+ {
182
+ "type": "image",
183
+ "img_path": "images/e4ae3d58e4da5cd3034667e84b5abd236321a6261fb7749064bab0be4a9d9583.jpg",
184
+ "image_caption": [
185
+ "Figure 1: Retrieved Augmented Pretraining"
186
+ ],
187
+ "image_footnote": [],
188
+ "bbox": [
189
+ 122,
190
+ 84,
191
+ 487,
192
+ 244
193
+ ],
194
+ "page_idx": 1
195
+ },
196
+ {
197
+ "type": "text",
198
+ "text": "of our approach.",
199
+ "bbox": [
200
+ 149,
201
+ 294,
202
+ 278,
203
+ 310
204
+ ],
205
+ "page_idx": 1
206
+ },
207
+ {
208
+ "type": "text",
209
+ "text": "- Extensive experimental evaluation with the benchmarking datasets are conducted and the insights of incorporating task-pretraining and knowledge triplet provision are discussed. Our study unveils promising directions for further development in DG by showcasing the efficacy of knowledge augmentation and task-specific pretraining.",
210
+ "bbox": [
211
+ 136,
212
+ 319,
213
+ 490,
214
+ 450
215
+ ],
216
+ "page_idx": 1
217
+ },
218
+ {
219
+ "type": "text",
220
+ "text": "The rest of this paper is organized as follows. Section 2 reviews the works of automatic distractor generation in the literature. In Section 3 we present the proposed methods. Section 4 reports the performance evaluation and Section 5 concludes this work and discuss the future work.",
221
+ "bbox": [
222
+ 112,
223
+ 458,
224
+ 489,
225
+ 555
226
+ ],
227
+ "page_idx": 1
228
+ },
229
+ {
230
+ "type": "text",
231
+ "text": "2 Related Work",
232
+ "text_level": 1,
233
+ "bbox": [
234
+ 112,
235
+ 567,
236
+ 270,
237
+ 582
238
+ ],
239
+ "page_idx": 1
240
+ },
241
+ {
242
+ "type": "text",
243
+ "text": "2.1 Distractor Generation",
244
+ "text_level": 1,
245
+ "bbox": [
246
+ 112,
247
+ 592,
248
+ 334,
249
+ 607
250
+ ],
251
+ "page_idx": 1
252
+ },
253
+ {
254
+ "type": "text",
255
+ "text": "The current DG research can be divided into two directions:",
256
+ "bbox": [
257
+ 112,
258
+ 613,
259
+ 485,
260
+ 644
261
+ ],
262
+ "page_idx": 1
263
+ },
264
+ {
265
+ "type": "text",
266
+ "text": "Generating and Ranking (GR) framework The framework incorporates a general-purpose knowledge base to effectively create a small distractor candidate set, and a feature-rich learning-to-rank model to select distractors. Specifically, the GR architecture consists of two stages.",
267
+ "bbox": [
268
+ 112,
269
+ 645,
270
+ 487,
271
+ 741
272
+ ],
273
+ "page_idx": 1
274
+ },
275
+ {
276
+ "type": "text",
277
+ "text": "First, it generates candidate distractors, and then it ranks these candidates based on semantic rules and linguistic features to select the final distractor. In the GR framework, there are two approaches for generating distractor candidates: using a knowledge base (Ren and Zhu, 2021) or using a language model (LM) (Chiang et al., 2022). These approaches have significantly improved the quality and diversity of distractors compared to traditional rule-based methods (Liang et al., 2017, 2018), making them the state-of-the-art in DG.",
278
+ "bbox": [
279
+ 112,
280
+ 741,
281
+ 490,
282
+ 917
283
+ ],
284
+ "page_idx": 1
285
+ },
286
+ {
287
+ "type": "text",
288
+ "text": "Text2Text generation architecture The Text2Text generation architecture differs from the GR architecture by formulating distractor generation as a Text2Text task. Specifically, it concatenates the question stem with the answer and inputs it into a generative language model (e.g., T5 or GPT) to train the model to generate a set of distractors. Currently, research based on the Text2Text architecture (Wang et al., 2023) represents the state-of-the-art in distractor generation.",
289
+ "bbox": [
290
+ 507,
291
+ 84,
292
+ 885,
293
+ 247
294
+ ],
295
+ "page_idx": 1
296
+ },
297
+ {
298
+ "type": "text",
299
+ "text": "2.2 Task-specific Pretraining",
300
+ "text_level": 1,
301
+ "bbox": [
302
+ 507,
303
+ 262,
304
+ 754,
305
+ 279
306
+ ],
307
+ "page_idx": 1
308
+ },
309
+ {
310
+ "type": "text",
311
+ "text": "In recent related work, researchers have explored the integration of task-specific priors into BERT language model pretraining to enhance performance in low-resource finetuning tasks (Wang et al., 2020). Traditional pretraining methods often prioritize generic natural language knowledge, overlooking task-specific information, which can lead to overfitting in low-resource downstream tasks. To address this issue, (Wang et al., 2020) propose integrating task-specific label embeddings into the self-attention layers during pretraining. This integration enables the model to filter out task-irrelevant information and improve task-specific knowledge during fine-tuning, resulting in reduced overfitting and improved performance on downstream tasks with limited resources.",
312
+ "bbox": [
313
+ 505,
314
+ 287,
315
+ 885,
316
+ 544
317
+ ],
318
+ "page_idx": 1
319
+ },
320
+ {
321
+ "type": "text",
322
+ "text": "Another related work, (Zhang et al., 2020), adopts a task-specific pretraining approach for text summarization tasks. The authors replace a portion of the original sentences in the text with mask tokens, allowing the model to learn to generate masked sentences. Comparing this approach to traditional masked language modeling (MLM) for pretraining, they find that closer alignment between the pretraining task and the downstream task leads to improved performance. Additionally, they experiment with pretraining on various types of datasets and observe that utilizing a dataset similar to the downstream task yields better results. For example, when pretraining on a news dataset and fine-tuning on another news dataset, the performance surpasses that of fine-tuning on a web article dataset.",
323
+ "bbox": [
324
+ 507,
325
+ 546,
326
+ 885,
327
+ 803
328
+ ],
329
+ "page_idx": 1
330
+ },
331
+ {
332
+ "type": "text",
333
+ "text": "Building upon these findings, we draw inspiration from the aforementioned studies to design our proposed approach, known as RAP (Retrieval-Augmented Pretraining), aimed at enhancing the performance of distractor generation (DG). RAP leverages task-specific priors and incorporates them into the pretraining phase to capture and uti",
334
+ "bbox": [
335
+ 507,
336
+ 806,
337
+ 885,
338
+ 919
339
+ ],
340
+ "page_idx": 1
341
+ },
342
+ {
343
+ "type": "page_number",
344
+ "text": "11020",
345
+ "bbox": [
346
+ 477,
347
+ 927,
348
+ 526,
349
+ 940
350
+ ],
351
+ "page_idx": 1
352
+ },
353
+ {
354
+ "type": "text",
355
+ "text": "lize relevant information specific to the distractor generation task. By aligning the pretraining task with the downstream DG task and considering task-specific information, we aim to improve the quality and effectiveness of distractor generation.",
356
+ "bbox": [
357
+ 112,
358
+ 84,
359
+ 489,
360
+ 165
361
+ ],
362
+ "page_idx": 2
363
+ },
364
+ {
365
+ "type": "text",
366
+ "text": "2.3 Knowledge Augmented Generation",
367
+ "text_level": 1,
368
+ "bbox": [
369
+ 112,
370
+ 177,
371
+ 436,
372
+ 192
373
+ ],
374
+ "page_idx": 2
375
+ },
376
+ {
377
+ "type": "text",
378
+ "text": "We have conducted a survey of research that leverages Knowledge Graphs (KGs) to enhance performance in various Natural Language Processing (NLP) tasks, including Question Answering, Entity Typing/Relation Classification, Query Answering, Question Generation, and Distractor Generation (Yasunaga et al., 2022, 2021; Zhang et al., 2022; Feng et al., 2020; He et al., 2019; Ren et al., 2020; Fei et al., 2022; Chen et al., 2023; Ren and Zhu, 2021).",
379
+ "bbox": [
380
+ 112,
381
+ 198,
382
+ 489,
383
+ 357
384
+ ],
385
+ "page_idx": 2
386
+ },
387
+ {
388
+ "type": "text",
389
+ "text": "Notably, a significant amount of research has focused on using Knowledge Graphs to improve question-answering systems, particularly for tasks involving multihop reasoning. These studies utilize Knowledge Graph triplets for inferencing and have demonstrated the utility of structured background knowledge in strengthening NLP tasks.",
390
+ "bbox": [
391
+ 112,
392
+ 359,
393
+ 487,
394
+ 470
395
+ ],
396
+ "page_idx": 2
397
+ },
398
+ {
399
+ "type": "text",
400
+ "text": "For example, (Yasunaga et al., 2021) proposed an end-to-end question-answering model that combines language models and Knowledge Graphs to handle reasoning tasks. (Zhang et al., 2022) introduced a novel model that incorporates joint information exchange between language models and Knowledge Graphs, achieving superior performance across multiple domains.",
401
+ "bbox": [
402
+ 112,
403
+ 472,
404
+ 489,
405
+ 600
406
+ ],
407
+ "page_idx": 2
408
+ },
409
+ {
410
+ "type": "text",
411
+ "text": "While Knowledge Graph integration has shown promising results in Question-Answering tasks, its application to Distractor Generation remains relatively limited (Ren and Zhu, 2021).",
412
+ "bbox": [
413
+ 112,
414
+ 601,
415
+ 489,
416
+ 665
417
+ ],
418
+ "page_idx": 2
419
+ },
420
+ {
421
+ "type": "text",
422
+ "text": "Therefore, our goal is to leverage KGs as auxiliary tools to enhance distractor generation, improving the relevance of generated options to the question. This approach not only creates more challenging options for multiple-choice questions but also enhances the model's efficiency in utilizing Knowledge Graphs, leading to more effective Knowledge Augmented Generation.",
423
+ "bbox": [
424
+ 112,
425
+ 665,
426
+ 489,
427
+ 794
428
+ ],
429
+ "page_idx": 2
430
+ },
431
+ {
432
+ "type": "text",
433
+ "text": "3 Methodology",
434
+ "text_level": 1,
435
+ "bbox": [
436
+ 112,
437
+ 807,
438
+ 263,
439
+ 824
440
+ ],
441
+ "page_idx": 2
442
+ },
443
+ {
444
+ "type": "text",
445
+ "text": "3.1 Retrieval Augmented Pretraining",
446
+ "text_level": 1,
447
+ "bbox": [
448
+ 112,
449
+ 833,
450
+ 421,
451
+ 848
452
+ ],
453
+ "page_idx": 2
454
+ },
455
+ {
456
+ "type": "text",
457
+ "text": "Our approach involves generating pseudo questions to continuously train a pre-trained language model (e.g., T5 or BART) before fine-tuning it for downstream Distractor Generation (DG) tasks.",
458
+ "bbox": [
459
+ 112,
460
+ 854,
461
+ 489,
462
+ 917
463
+ ],
464
+ "page_idx": 2
465
+ },
466
+ {
467
+ "type": "text",
468
+ "text": "Here's how our idea works: Given an MCQ training instance consisting of a question stem $(q)$ , an answer option $(a)$ , and a set of distractors $(D)$ , we utilize $a$ to retrieve a single sentence or a short passage from a corpus (such as Wikipedia). Subsequently, we mask out $a$ from the retrieved sentence/passage, replacing the answer position with a mask token ([Mask]). This process results in a modified sentence/passage known as a pseudo question $(\\tilde{q}_{\\otimes [\\mathsf{Mask}]})$ .",
469
+ "bbox": [
470
+ 507,
471
+ 84,
472
+ 884,
473
+ 244
474
+ ],
475
+ "page_idx": 2
476
+ },
477
+ {
478
+ "type": "text",
479
+ "text": "With $\\tilde{q}_{\\otimes[\\mathsf{Mask}]}$ our goal is to pretrain a LM as follows.",
480
+ "bbox": [
481
+ 507,
482
+ 246,
483
+ 882,
484
+ 275
485
+ ],
486
+ "page_idx": 2
487
+ },
488
+ {
489
+ "type": "equation",
490
+ "text": "\n$$\nL (\\theta) = - \\sum_ {i = 1} ^ {| D |} t _ {i} \\log p \\left(\\hat {t} _ {i} \\mid \\hat {t} _ {< i}, \\tilde {q} _ {\\otimes [ \\text {M a s k} ]}, a; \\theta\\right)\n$$\n",
491
+ "text_format": "latex",
492
+ "bbox": [
493
+ 534,
494
+ 285,
495
+ 853,
496
+ 330
497
+ ],
498
+ "page_idx": 2
499
+ },
500
+ {
501
+ "type": "text",
502
+ "text": "- $t_i$ : the token sequence given by the concatenation of the ground truth distractors $d_1||d_2||d_3$ .",
503
+ "bbox": [
504
+ 531,
505
+ 340,
506
+ 884,
507
+ 372
508
+ ],
509
+ "page_idx": 2
510
+ },
511
+ {
512
+ "type": "text",
513
+ "text": "Alternatives for RAP Training Setting There are two alternatives for RAP training setting.",
514
+ "bbox": [
515
+ 507,
516
+ 382,
517
+ 882,
518
+ 414
519
+ ],
520
+ "page_idx": 2
521
+ },
522
+ {
523
+ "type": "list",
524
+ "sub_type": "text",
525
+ "list_items": [
526
+ "- Data Augmentation RAP: We can treat RAP as a data augmentation mechanism by using the same dataset for RAP and DG.",
527
+ "- Cross-Domain RAP: We can use two different distractor generation datasets (SciQ and MCQ datasets in this study). One dataset is used for RAP and the other for DG fine-tuning."
528
+ ],
529
+ "bbox": [
530
+ 531,
531
+ 424,
532
+ 880,
533
+ 546
534
+ ],
535
+ "page_idx": 2
536
+ },
537
+ {
538
+ "type": "text",
539
+ "text": "There are different impacts and implications for RAP training adoption. We provide experimental study and discussion for this part in Subsection 4.6.",
540
+ "bbox": [
541
+ 507,
542
+ 557,
543
+ 882,
544
+ 605
545
+ ],
546
+ "page_idx": 2
547
+ },
548
+ {
549
+ "type": "text",
550
+ "text": "Boosting RAP with ground-truth distractor The RAP idea can be extended to using groundtruth distractors to generate pseudo questions. That is, we can use ground-truth distractors to retrieve a sentence/passage and set the rest of options (i.e., $a$ and other distractors). That is,",
551
+ "bbox": [
552
+ 507,
553
+ 614,
554
+ 882,
555
+ 709
556
+ ],
557
+ "page_idx": 2
558
+ },
559
+ {
560
+ "type": "equation",
561
+ "text": "\n$$\nL (\\theta) = - \\sum_ {i = 1} ^ {| D |} t _ {i} \\log p \\left(\\hat {t} _ {i} \\mid \\hat {t} _ {< i}, \\tilde {q} _ {\\otimes [ \\text {M a s k} ]}, d _ {1}; \\theta\\right)\n$$\n",
562
+ "text_format": "latex",
563
+ "bbox": [
564
+ 531,
565
+ 721,
566
+ 858,
567
+ 765
568
+ ],
569
+ "page_idx": 2
570
+ },
571
+ {
572
+ "type": "text",
573
+ "text": "- $t_i$ : the token sequence given by the concatenation of the other options $a||d_2||d_3$ .",
574
+ "bbox": [
575
+ 531,
576
+ 776,
577
+ 884,
578
+ 808
579
+ ],
580
+ "page_idx": 2
581
+ },
582
+ {
583
+ "type": "text",
584
+ "text": "3.2 Knowledge Augmented Generation",
585
+ "text_level": 1,
586
+ "bbox": [
587
+ 507,
588
+ 818,
589
+ 831,
590
+ 833
591
+ ],
592
+ "page_idx": 2
593
+ },
594
+ {
595
+ "type": "text",
596
+ "text": "We extend the idea of the candidate augmentation strategy proposed by (Wang et al., 2023). We explore incorporating knowledge triplets for DG. Specifically, as shown in Figure 2, our KAG proceeds by (1) a knowledge triplet retrieval stage",
597
+ "bbox": [
598
+ 507,
599
+ 838,
600
+ 884,
601
+ 917
602
+ ],
603
+ "page_idx": 2
604
+ },
605
+ {
606
+ "type": "page_number",
607
+ "text": "11021",
608
+ "bbox": [
609
+ 477,
610
+ 927,
611
+ 522,
612
+ 940
613
+ ],
614
+ "page_idx": 2
615
+ },
616
+ {
617
+ "type": "text",
618
+ "text": "(Subsection 3.2.1) and (2) a triplet re-ranker stage (Subsection 3.2.2). The retriever stage is to retrieve triplets with respect to $q$ and $a$ , and the re-ranker stage aims to rank the triplets by their estimated relevancy with respect to $q$ and $a$",
619
+ "bbox": [
620
+ 112,
621
+ 84,
622
+ 487,
623
+ 165
624
+ ],
625
+ "page_idx": 3
626
+ },
627
+ {
628
+ "type": "text",
629
+ "text": "3.2.1 Retrieving Triplet from KG",
630
+ "text_level": 1,
631
+ "bbox": [
632
+ 112,
633
+ 173,
634
+ 391,
635
+ 187
636
+ ],
637
+ "page_idx": 3
638
+ },
639
+ {
640
+ "type": "text",
641
+ "text": "Our process for obtaining knowledge triplets is as follows. First, for a given $q$ and answer $a$ , we employ an language model trained for distractor generation (e.g., (Chiang et al., 2022)) to generate a set of candidate distractors $\\{\\hat{d}_1, \\dots, \\hat{d}_k\\}$ . In addition, we conduct keyword extraction over $q$ and $a$ to extract keywords from them. We then union the two sets of keywords (denoted by $W$ ).",
642
+ "bbox": [
643
+ 112,
644
+ 192,
645
+ 487,
646
+ 319
647
+ ],
648
+ "page_idx": 3
649
+ },
650
+ {
651
+ "type": "text",
652
+ "text": "As illustrated in Figure 3, with $W$ and a given knowledge graph $G(V,E)$ , the triplet set is given by",
653
+ "bbox": [
654
+ 112,
655
+ 321,
656
+ 485,
657
+ 369
658
+ ],
659
+ "page_idx": 3
660
+ },
661
+ {
662
+ "type": "equation",
663
+ "text": "\n$$\nK = \\left\\{\\left(u, e _ {u, v}, v\\right) \\mid u, v \\in W \\text {a n d} e _ {u, v} \\in E \\right\\}\n$$\n",
664
+ "text_format": "latex",
665
+ "bbox": [
666
+ 134,
667
+ 378,
668
+ 465,
669
+ 395
670
+ ],
671
+ "page_idx": 3
672
+ },
673
+ {
674
+ "type": "text",
675
+ "text": "3.2.2 Triplet Ranker",
676
+ "text_level": 1,
677
+ "bbox": [
678
+ 112,
679
+ 412,
680
+ 292,
681
+ 426
682
+ ],
683
+ "page_idx": 3
684
+ },
685
+ {
686
+ "type": "text",
687
+ "text": "The input to triplet ranker is a triplet set $T$ from KG Retrieval stage and let $q||a$ be the concatenation of a question $q$ and an answer $a$ . We experiment with the following two alternatives for ranking triplets.",
688
+ "bbox": [
689
+ 112,
690
+ 431,
691
+ 487,
692
+ 495
693
+ ],
694
+ "page_idx": 3
695
+ },
696
+ {
697
+ "type": "text",
698
+ "text": "1. Unsupervised Sentence Embedding Distance: The ranking process begins by encoding $q \\mid a$ and each knowledge triplet $\\tau_{i}$ into their respective vector representations. Next, we compute a relevancy score for each triplet by comparing its vector representation with that of $q \\mid a$ . The higher the relevancy score, the more likely the triplet is deemed relevant to $q \\mid a$ . Specifically,",
699
+ "bbox": [
700
+ 129,
701
+ 504,
702
+ 489,
703
+ 650
704
+ ],
705
+ "page_idx": 3
706
+ },
707
+ {
708
+ "type": "equation",
709
+ "text": "\n$$\n\\operatorname {s c o r e s} = \\left[ \\operatorname {C o s - S i m i l a r i t y} \\left(\\tau_ {i}, q \\| a\\right), \\forall \\tau_ {i} \\in K \\right]\n$$\n",
710
+ "text_format": "latex",
711
+ "bbox": [
712
+ 152,
713
+ 658,
714
+ 482,
715
+ 676
716
+ ],
717
+ "page_idx": 3
718
+ },
719
+ {
720
+ "type": "text",
721
+ "text": "We select top- $k$ triplets for the later knowledge augmented generation.",
722
+ "bbox": [
723
+ 149,
724
+ 684,
725
+ 485,
726
+ 715
727
+ ],
728
+ "page_idx": 3
729
+ },
730
+ {
731
+ "type": "text",
732
+ "text": "2. Supervised Triplet Classification: As an alternative, we propose a binary classification formulation to estimate the relevancy of a knowledge triplet $\\tau_{i}$ with respect to $q||a$ . During the training phase, we label a triplet as relevant if it contains the answer or ground-truth distractors, and as irrelevant otherwise. Specifically, we concatenate $q||a$ and $\\tau_{i}$ , separated by a special token [SEP] as input and the relevancy as output. During the inference phase, we utilize the LM to re-sort the top- $k$ triplet set based on the confidence scores.",
733
+ "bbox": [
734
+ 127,
735
+ 726,
736
+ 489,
737
+ 917
738
+ ],
739
+ "page_idx": 3
740
+ },
741
+ {
742
+ "type": "text",
743
+ "text": "3.2.3 KAG Training",
744
+ "text_level": 1,
745
+ "bbox": [
746
+ 507,
747
+ 84,
748
+ 684,
749
+ 99
750
+ ],
751
+ "page_idx": 3
752
+ },
753
+ {
754
+ "type": "text",
755
+ "text": "For a given training instance $(q, a, D, K)$ , our goal is to train a generation model conditioned on $q$ , $a$ , and $K$ by minimizing the negative log-likelihood of the correct token $t_i$ of $D$ given the preceding tokens and the conditions.",
756
+ "bbox": [
757
+ 507,
758
+ 103,
759
+ 882,
760
+ 183
761
+ ],
762
+ "page_idx": 3
763
+ },
764
+ {
765
+ "type": "text",
766
+ "text": "- $K$ : the set of knowledge triplet $\\{\\tau_1, \\dots, \\tau_k\\}$ retrieved from a KG.",
767
+ "bbox": [
768
+ 529,
769
+ 193,
770
+ 880,
771
+ 225
772
+ ],
773
+ "page_idx": 3
774
+ },
775
+ {
776
+ "type": "text",
777
+ "text": "The idea is to retrieve a set of knowledge triplet $\\{\\tau_1,\\dots,\\tau_k\\}$ from a KG and concatenate the knowledge triplet with the original input text as an augmented text input for generation. Specifically, the loss function is",
778
+ "bbox": [
779
+ 507,
780
+ 237,
781
+ 882,
782
+ 316
783
+ ],
784
+ "page_idx": 3
785
+ },
786
+ {
787
+ "type": "equation",
788
+ "text": "\n$$\nL (\\theta) = - \\sum_ {i = 1} ^ {| D |} t _ {i} \\log p (\\hat {t} _ {i} | \\hat {t} _ {< i}, q, a, \\{\\tau_ {i} \\}; \\theta)\n$$\n",
789
+ "text_format": "latex",
790
+ "bbox": [
791
+ 539,
792
+ 324,
793
+ 850,
794
+ 369
795
+ ],
796
+ "page_idx": 3
797
+ },
798
+ {
799
+ "type": "text",
800
+ "text": "The observation behind the knowledge triplet augmentation strategy is to inject more information for generation through the knowledge graph in hope to boost the DG performance.",
801
+ "bbox": [
802
+ 507,
803
+ 378,
804
+ 882,
805
+ 442
806
+ ],
807
+ "page_idx": 3
808
+ },
809
+ {
810
+ "type": "text",
811
+ "text": "4 Experiment",
812
+ "text_level": 1,
813
+ "bbox": [
814
+ 507,
815
+ 453,
816
+ 648,
817
+ 469
818
+ ],
819
+ "page_idx": 3
820
+ },
821
+ {
822
+ "type": "text",
823
+ "text": "4.1 Dataset",
824
+ "text_level": 1,
825
+ "bbox": [
826
+ 507,
827
+ 479,
828
+ 615,
829
+ 492
830
+ ],
831
+ "page_idx": 3
832
+ },
833
+ {
834
+ "type": "text",
835
+ "text": "We use SciQ (Welbl et al., 2017) and MCQ dataset (the dataset released by Ren and Zhu, 2021) for performance evaluation. For the details about the two benchmark datasets and our dataset setting.",
836
+ "bbox": [
837
+ 507,
838
+ 499,
839
+ 880,
840
+ 564
841
+ ],
842
+ "page_idx": 3
843
+ },
844
+ {
845
+ "type": "text",
846
+ "text": "Sciq dataset The Sciq dataset is a multi-domain multiple-choice question dataset consisting of 13,000 questions in the fields of physics, chemistry, biology, and other natural sciences. These questions are open-ended and require reading and understanding relevant scientific knowledge, followed by reasoning and answering the questions. The questions are presented in a multiple-choice format, with each question accompanied by an answer and three incorrect options. According to the Sciq dataset configuration, the 13,000 data points are split into train/dev/test datasets with a ratio of 11,700/1,000/1,000.",
847
+ "bbox": [
848
+ 507,
849
+ 571,
850
+ 882,
851
+ 780
852
+ ],
853
+ "page_idx": 3
854
+ },
855
+ {
856
+ "type": "text",
857
+ "text": "Since the Sciq question sentences do not contain **blanks**, in the candidate generation method, we utilize generative LM, specifically ChatGPT, to generate the candidate set.",
858
+ "bbox": [
859
+ 507,
860
+ 782,
861
+ 880,
862
+ 846
863
+ ],
864
+ "page_idx": 3
865
+ },
866
+ {
867
+ "type": "text",
868
+ "text": "MCQ dataset MCQ dataset is a cross-domain cloze-style dataset, that includes the domains of science, vocabulary, common sense, and trivia. Each data is composed of a sentence containing",
869
+ "bbox": [
870
+ 507,
871
+ 854,
872
+ 882,
873
+ 917
874
+ ],
875
+ "page_idx": 3
876
+ },
877
+ {
878
+ "type": "page_number",
879
+ "text": "11022",
880
+ "bbox": [
881
+ 477,
882
+ 927,
883
+ 524,
884
+ 940
885
+ ],
886
+ "page_idx": 3
887
+ },
888
+ {
889
+ "type": "image",
890
+ "img_path": "images/64b9613a4bbefc0e0dec8344885017a53ff3ee2728f9a010f03f3c321823488e.jpg",
891
+ "image_caption": [
892
+ "Figure 2: Knowledge Augmented Generation"
893
+ ],
894
+ "image_footnote": [],
895
+ "bbox": [
896
+ 114,
897
+ 80,
898
+ 885,
899
+ 300
900
+ ],
901
+ "page_idx": 4
902
+ },
903
+ {
904
+ "type": "image",
905
+ "img_path": "images/4cda7a2c14278d15006ff6f5eef58ec449972b25397464a70be2800fb8d87ced.jpg",
906
+ "image_caption": [
907
+ "Figure 3: Retrieve Triplet from KG: we extract keyword from a given question, answer and candidate set as a entity set $W$ and retrieve relevant triplet set from KG with keyword entities"
908
+ ],
909
+ "image_footnote": [],
910
+ "bbox": [
911
+ 117,
912
+ 340,
913
+ 887,
914
+ 501
915
+ ],
916
+ "page_idx": 4
917
+ },
918
+ {
919
+ "type": "table",
920
+ "img_path": "images/833f821b7401ab1a75523eba67ec6d7001efc8d61b50361d2e961d8c6a41d0ce.jpg",
921
+ "table_caption": [],
922
+ "table_footnote": [],
923
+ "table_body": "<table><tr><td rowspan=\"2\">Dataset</td><td colspan=\"4\">MCQ</td><td colspan=\"4\">Sciq</td></tr><tr><td>Train</td><td>Dev</td><td>Test</td><td>All</td><td>Train</td><td>Dev</td><td>Test</td><td>All</td></tr><tr><td># of Questions</td><td>2088</td><td>233</td><td>258</td><td>2580</td><td>11700</td><td>1000</td><td>1000</td><td>13700</td></tr></table>",
924
+ "bbox": [
925
+ 117,
926
+ 558,
927
+ 485,
928
+ 593
929
+ ],
930
+ "page_idx": 4
931
+ },
932
+ {
933
+ "type": "text",
934
+ "text": "Table 1: The statistics of the training, development and test sets of MCQ, Sciq.",
935
+ "bbox": [
936
+ 112,
937
+ 602,
938
+ 485,
939
+ 632
940
+ ],
941
+ "page_idx": 4
942
+ },
943
+ {
944
+ "type": "text",
945
+ "text": "**blank** of cloze stem, answer, and distractors. According to the setting reported by (Ren and Q. Zhu, 2021), MCQ contains 2880 questions and is randomly divided into train/dev/test with a ratio of 8:1:1.",
946
+ "bbox": [
947
+ 112,
948
+ 692,
949
+ 487,
950
+ 772
951
+ ],
952
+ "page_idx": 4
953
+ },
954
+ {
955
+ "type": "text",
956
+ "text": "We obtain the MCQ dataset from GitHub link shared by (Ren and Q. Zhu, 2021). However, we find there is a slight difference between the numbers in the shared dataset and reported in the paper. In the shared dataset, it only contains train and test data (with 2321/258). Thus, we use this data setting in our experiments. For dev data, we use 9:1 split from train as dev data.",
957
+ "bbox": [
958
+ 112,
959
+ 790,
960
+ 489,
961
+ 917
962
+ ],
963
+ "page_idx": 4
964
+ },
965
+ {
966
+ "type": "text",
967
+ "text": "4.2 Evaluation Metrics",
968
+ "text_level": 1,
969
+ "bbox": [
970
+ 507,
971
+ 562,
972
+ 707,
973
+ 577
974
+ ],
975
+ "page_idx": 4
976
+ },
977
+ {
978
+ "type": "text",
979
+ "text": "Automatic Metric Following the SOTA DG by (Wang et al., 2023), we evaluate the DG quality by F1 score $(\\mathrm{F}1@3)$ , precision $(\\mathrm{P}@1, \\mathrm{P}@3)$ , and recall $(\\mathrm{R}@1, \\mathrm{R}@3)$ . $\\mathrm{P}@k$ represents the ratio of correctly labeled top-k generated distractors, while $\\mathrm{R}@k$ indicates the ratio of correctly predicted labels among the ground truth. $\\mathrm{F}1@k$ is the harmonic mean of $\\mathrm{P}@k$ and $\\mathrm{R}@k$ . Notably, when the label size is 3, $\\mathrm{P}@3$ and $\\mathrm{R}@3$ will be the same, resulting in the same $\\mathrm{F}1@3$ score. Since both the Sciq test data and MCQ test data contain 3 distractors, we report the scores of $\\mathrm{P}@1$ and $\\mathrm{F}1@3$ in the experiments.",
980
+ "bbox": [
981
+ 507,
982
+ 585,
983
+ 882,
984
+ 791
985
+ ],
986
+ "page_idx": 4
987
+ },
988
+ {
989
+ "type": "text",
990
+ "text": "Human Evaluation Metric In addition to Automatic Metrics, we also consider human evaluation to assess the performance of the model on various aspects. During the evaluation process, we randomly select 14 questions and generate distractor sets using various models, which are then assessed by five human labelers. For the evaluation of the",
991
+ "bbox": [
992
+ 507,
993
+ 806,
994
+ 884,
995
+ 917
996
+ ],
997
+ "page_idx": 4
998
+ },
999
+ {
1000
+ "type": "page_number",
1001
+ "text": "11023",
1002
+ "bbox": [
1003
+ 477,
1004
+ 927,
1005
+ 524,
1006
+ 940
1007
+ ],
1008
+ "page_idx": 4
1009
+ },
1010
+ {
1011
+ "type": "text",
1012
+ "text": "Distractor Generation models, we consider the following criteria for human evaluation:",
1013
+ "bbox": [
1014
+ 112,
1015
+ 84,
1016
+ 489,
1017
+ 116
1018
+ ],
1019
+ "page_idx": 5
1020
+ },
1021
+ {
1022
+ "type": "list",
1023
+ "sub_type": "text",
1024
+ "list_items": [
1025
+ "1. Relevance: This metric assesses the relevance of the generated distractors to the question. This means that the distractors should be related to the theme, content, or context of the question.",
1026
+ "2. Distractiveness: This metric evaluates the level of distraction that the generated distractors bring to the correct answer. The distractors should be able to divert the answer away from the correct answer, increasing the difficulty of the question.",
1027
+ "3. Utility: This is an overall quality assessment of the generated distractors, considering aspects such as fluency, relevance, duplication, and distractiveness. This is a comprehensive metric that takes into account all facets of performance."
1028
+ ],
1029
+ "bbox": [
1030
+ 127,
1031
+ 131,
1032
+ 487,
1033
+ 429
1034
+ ],
1035
+ "page_idx": 5
1036
+ },
1037
+ {
1038
+ "type": "text",
1039
+ "text": "We employ a five-point rating system, where each score interval represents different levels of relevance, ranging from \"totally irrelevant\" (1 point) to \"completely relevant\" (5 points). These evaluation metrics will help us assess the quality and performance of the distractors generated by the models in a comprehensive manner.",
1040
+ "bbox": [
1041
+ 112,
1042
+ 445,
1043
+ 487,
1044
+ 557
1045
+ ],
1046
+ "page_idx": 5
1047
+ },
1048
+ {
1049
+ "type": "text",
1050
+ "text": "4.3 Implementation Details",
1051
+ "text_level": 1,
1052
+ "bbox": [
1053
+ 112,
1054
+ 571,
1055
+ 344,
1056
+ 586
1057
+ ],
1058
+ "page_idx": 5
1059
+ },
1060
+ {
1061
+ "type": "text",
1062
+ "text": "See Appendix.",
1063
+ "bbox": [
1064
+ 112,
1065
+ 594,
1066
+ 226,
1067
+ 608
1068
+ ],
1069
+ "page_idx": 5
1070
+ },
1071
+ {
1072
+ "type": "text",
1073
+ "text": "4.4 Evaluation Results",
1074
+ "text_level": 1,
1075
+ "bbox": [
1076
+ 112,
1077
+ 621,
1078
+ 307,
1079
+ 636
1080
+ ],
1081
+ "page_idx": 5
1082
+ },
1083
+ {
1084
+ "type": "text",
1085
+ "text": "Table 2 presents the results of the compared methods on the two benchmarking datasets. We have the following notes for the results.",
1086
+ "bbox": [
1087
+ 112,
1088
+ 644,
1089
+ 487,
1090
+ 690
1091
+ ],
1092
+ "page_idx": 5
1093
+ },
1094
+ {
1095
+ "type": "text",
1096
+ "text": "RAP indeed improve performance By comparing the performance difference between Text2Text (T5) and Text2Text (RAP-T5), we can see that the introduction of RAP elevates the performance of MCQ experiments from 11.45 to 14.80 (F1@3). In the case of Sciq, it increases from 15.92 to 16.06.",
1097
+ "bbox": [
1098
+ 112,
1099
+ 693,
1100
+ 487,
1101
+ 788
1102
+ ],
1103
+ "page_idx": 5
1104
+ },
1105
+ {
1106
+ "type": "text",
1107
+ "text": "RAP more effective in low resource settings Furthermore, continuing the above observations, we found that the improvement brought by RAP in the Sciq experiment is not as significant as in the MCQ experiment. We attribute this result to the much smaller size of the MCQ dataset compared to Sciq. When the training data is abundant, the gains from pretraining naturally become limited. Therefore, in",
1108
+ "bbox": [
1109
+ 112,
1110
+ 791,
1111
+ 487,
1112
+ 917
1113
+ ],
1114
+ "page_idx": 5
1115
+ },
1116
+ {
1117
+ "type": "text",
1118
+ "text": "the MCQ setting with only 2088 training examples, the introduction of RAP has a noticeable impact.",
1119
+ "bbox": [
1120
+ 507,
1121
+ 84,
1122
+ 880,
1123
+ 116
1124
+ ],
1125
+ "page_idx": 5
1126
+ },
1127
+ {
1128
+ "type": "text",
1129
+ "text": "KG also boosts the performance By comparing T5 candidate augmentation with KAG (T5), we observe that the introduction of KG indeed brings a significant improvement. In Sciq, we observe an increase in F1@3 from 12.83 to 15.38. In MCQ, it increases from 14.80 to 16.47.",
1130
+ "bbox": [
1131
+ 507,
1132
+ 120,
1133
+ 880,
1134
+ 216
1135
+ ],
1136
+ "page_idx": 5
1137
+ },
1138
+ {
1139
+ "type": "text",
1140
+ "text": "Our methods outperform ChatGPT. We also compare the performance of ChatGPT (in a zero-shot manner) on both datasets. From the experimental results, it is evident that our best-performing models consistently outperform ChatGPT. In the comparison with Sciq, KAG (RAP-T5) achieves an F1@3 score of $15+$ compared to ChatGPT's 10.61. An interesting observation is that while ChatGPT still lags behind the KAG+RAP-based approach in the MCQ comparison, the performance gap is smaller. We attribute this to the fact that some questions in Sciq require common-sense reasoning in addition to knowledge-based answering. Since ChatGPT generates responses in a zero-shot learning manner during testing, it does not fully capture the characteristics of the Sciq dataset. In the case of the MCQ dataset, due to the limited training data, the differences between various methods and ChatGPT are not as substantial as in the Sciq comparison.",
1141
+ "bbox": [
1142
+ 507,
1143
+ 222,
1144
+ 882,
1145
+ 543
1146
+ ],
1147
+ "page_idx": 5
1148
+ },
1149
+ {
1150
+ "type": "text",
1151
+ "text": "Combining KAG with RAP did not yield additive effects We also observed that combining KAG with RAP did not yield additive effects. Taking the comparison of the T5 model on the Sciq dataset as an example, we found that the performance did not improve when using both KAG and RAP together (KAG(RAP-T5): 15.15) compared to using RAP alone (Text2Text(RAP-T5): 16.06) or KAG alone (KAG(T5): 15.38). Similar observations were made in other settings. We speculate that the additional noise introduced by KAG during the incorporation of knowledge triplets may be the reason behind this. Although we designed a reranker to select triplets, the results were not consistently stable. To validate this hypothesis, we attempted a variation of KAG (RAP-T5) (denote by with-only-answer triplet) where, instead of using a reranker, we selected triplets containing the answer to input into the Text2Text generator. We observed significant improvement with this approach in the Sciq dataset, but no improvement in the MCQ dataset. This suggests that there is considerable room for improvement in the design of the triplet ranker. Se",
1152
+ "bbox": [
1153
+ 507,
1154
+ 549,
1155
+ 882,
1156
+ 917
1157
+ ],
1158
+ "page_idx": 5
1159
+ },
1160
+ {
1161
+ "type": "page_number",
1162
+ "text": "11024",
1163
+ "bbox": [
1164
+ 477,
1165
+ 927,
1166
+ 524,
1167
+ 940
1168
+ ],
1169
+ "page_idx": 5
1170
+ },
1171
+ {
1172
+ "type": "table",
1173
+ "img_path": "images/470fc20718f7ab42515aa084e7476be045244711b3d6c98c3349b81c5e8e5126.jpg",
1174
+ "table_caption": [],
1175
+ "table_footnote": [],
1176
+ "table_body": "<table><tr><td>Dataset</td><td>Method</td><td>P@1</td><td>R@1</td><td>F1@3</td><td>MRR</td><td>NDCG@3</td></tr><tr><td rowspan=\"17\">MCQ</td><td>(Ren and Zhu, 2021)</td><td>10.58</td><td>-</td><td>9.19</td><td>17.51</td><td>-</td></tr><tr><td>(Chiang et al., 2022)</td><td>10.81</td><td>3.60</td><td>7.72</td><td>18.15</td><td>15.39</td></tr><tr><td>(Wang et al., 2023) (BART)</td><td>14.28</td><td>4.76</td><td>11.45</td><td>21.49</td><td>23.70</td></tr><tr><td>Text2text (RAP-BART)</td><td>18.14</td><td>6.04</td><td>12.35</td><td>24.06</td><td>25.78</td></tr><tr><td>(Wang et al., 2023) (BART w/ c.a.)</td><td>19.69</td><td>6.56</td><td>13.12</td><td>25.03</td><td>26.26</td></tr><tr><td>KAG (BART)</td><td>20.07</td><td>6.69</td><td>14.41</td><td>27.02</td><td>29.37</td></tr><tr><td>KAG (RAP-BART)</td><td>16.60</td><td>5.75</td><td>12.22</td><td>22.65</td><td>24.50</td></tr><tr><td>KAG (BART) (with only answer triplet)</td><td>14.28</td><td>4.76</td><td>12.74</td><td>21.55</td><td>24.13</td></tr><tr><td>KAG (RAP-BART)(with only answer triplet)</td><td>13.12</td><td>4.37</td><td>11.84</td><td>20.01</td><td>22.35</td></tr><tr><td>(Wang et al., 2023) (T5)</td><td>18.53</td><td>6.17</td><td>11.45</td><td>23.61</td><td>25.08</td></tr><tr><td>Text2text (RAP-T5)</td><td>22.39</td><td>7.46</td><td>14.80</td><td>29.02</td><td>30.72</td></tr><tr><td>(Wang et al., 2023) (T5 w/ c.a.)</td><td>16.60</td><td>5.53</td><td>14.80</td><td>24.90</td><td>27.61</td></tr><tr><td>KAG (T5)</td><td>20.07</td><td>6.69</td><td>16.47</td><td>28.57</td><td>30.99</td></tr><tr><td>KAG (RAP-T5)</td><td>20.07</td><td>6.69</td><td>14.92</td><td>26.44</td><td>28.23</td></tr><tr><td>KAG (T5)(with only answer triplet)</td><td>22.00</td><td>7.35</td><td>15.18</td><td>28.70</td><td>30.61</td></tr><tr><td>KAG (RAP-T5)(with only answer triplet)</td><td>21.62</td><td>7.20</td><td>14.41</td><td>27.22</td><td>28.60</td></tr><tr><td>ChatGPT</td><td>18.91</td><td>6.30</td><td>13.38</td><td>25.86</td><td>27.97</td></tr><tr><td rowspan=\"15\">Sciq</td><td>(Wang et al., 2023) (BART)</td><td>19.30</td><td>6.46</td><td>14.94</td><td>26.40</td><td>28.36</td></tr><tr><td>Text2text (RAP-BART)</td><td>20.10</td><td>6.73</td><td>16.32</td><td>27.56</td><td>29.68</td></tr><tr><td>(Wang et al., 2023) (BART w/ c.a.)</td><td>21.26</td><td>7.08</td><td>14.98</td><td>27.63</td><td>29.28</td></tr><tr><td>KAG (BART)</td><td>16.24</td><td>5.41</td><td>13.99</td><td>23.62</td><td>25.93</td></tr><tr><td>KAG (RAP-BART)</td><td>19.70</td><td>6.58</td><td>15.42</td><td>26.61</td><td>28.69</td></tr><tr><td>KAG (BART) (with only answer triplet)</td><td>17.15</td><td>5.57</td><td>14.87</td><td>25.00</td><td>27.27</td></tr><tr><td>KAG (RAP-BART)(with only answer triplet)</td><td>18.35</td><td>6.15</td><td>15.52</td><td>25.81</td><td>28.22</td></tr><tr><td>(Wang et al., 2023) Text2text (T5)</td><td>24.27</td><td>8.09</td><td>15.92</td><td>30.32</td><td>31.99</td></tr><tr><td>Text2text (RAP-T5)</td><td>24.30</td><td>8.09</td><td>16.06</td><td>29.98</td><td>31.49</td></tr><tr><td>(Wang et al., 2023) (T5 w/ c.a.)</td><td>22.06</td><td>7.35</td><td>12.83</td><td>25.54</td><td>26.47</td></tr><tr><td>KAG (T5)</td><td>22.50</td><td>7.51</td><td>15.38</td><td>29.10</td><td>31.04</td></tr><tr><td>KAG (RAP-T5)</td><td>18.50</td><td>6.18</td><td>15.15</td><td>26.00</td><td>28.40</td></tr><tr><td>KAG (T5)(with only answer triplet)</td><td>23.70</td><td>7.91</td><td>16.50</td><td>30.41</td><td>32.39</td></tr><tr><td>KAG (RAP-T5)(with only answer triplet)</td><td>23.00</td><td>7.68</td><td>16.46</td><td>29.51</td><td>31.41</td></tr><tr><td>ChatGPT</td><td>15.17</td><td>5.16</td><td>10.61</td><td>19.39</td><td>20.68</td></tr></table>",
1177
+ "bbox": [
1178
+ 196,
1179
+ 80,
1180
+ 801,
1181
+ 492
1182
+ ],
1183
+ "page_idx": 6
1184
+ },
1185
+ {
1186
+ "type": "table",
1187
+ "img_path": "images/ad40508409c380608395e3344a549be903e18e63a7e0cdf79db69de70a82f3c7.jpg",
1188
+ "table_caption": [
1189
+ "Table 2: DG Results on the Compared Datasets: In this set of experiment, we mainly compare our designs with the SOTA method (Wang et al., 2023). c.a. represents candidate augmentation strategy introduced by (Wang et al., 2023)."
1190
+ ],
1191
+ "table_footnote": [],
1192
+ "table_body": "<table><tr><td>Dataset</td><td>Method</td><td># of masked Sentences/Passages</td></tr><tr><td rowspan=\"3\">MCQ-train</td><td>RAP-S</td><td>17,225</td></tr><tr><td>RAP-P</td><td>17,362</td></tr><tr><td>RAP-P w/ GTD</td><td>69,356</td></tr><tr><td rowspan=\"3\">MCQ-all</td><td>RAP-S</td><td>10,894</td></tr><tr><td>RAP-P</td><td>10,995</td></tr><tr><td>RAP-P w/ GTD</td><td>44,294</td></tr><tr><td rowspan=\"3\">Sciq-train</td><td>RAP-S</td><td>85,463</td></tr><tr><td>RAP-P</td><td>86,269</td></tr><tr><td>RAP-P w/ GTD</td><td>307,915</td></tr><tr><td rowspan=\"3\">Sciq-all</td><td>RAP-S</td><td>91,798</td></tr><tr><td>RAP-P</td><td>92,731</td></tr><tr><td>RAP-P w/ GTD</td><td>327,546</td></tr></table>",
1193
+ "bbox": [
1194
+ 119,
1195
+ 579,
1196
+ 482,
1197
+ 736
1198
+ ],
1199
+ "page_idx": 6
1200
+ },
1201
+ {
1202
+ "type": "text",
1203
+ "text": "Table 3: The statistics of the RAP training. Note that our RAP has the following variations. First, in RAP, we can choose to retrieve a single sentence or a passage, giving rise to different RAP strategies. Thus, we denote RAP-S as retrieving sentence for pseudo question generation and RAP-P for retrieving passage. Second, we have the option to use the answer or the distractor as the starting point for retrieving the sentence/passage. We denote the method using distractor as starting point as RAP-S w/GTD or RAP-S/RAP-P (as using answer as starting point)",
1204
+ "bbox": [
1205
+ 112,
1206
+ 746,
1207
+ 487,
1208
+ 903
1209
+ ],
1210
+ "page_idx": 6
1211
+ },
1212
+ {
1213
+ "type": "text",
1214
+ "text": "lecting relevant triplets for generation is an area that warrants further exploration in future research.",
1215
+ "bbox": [
1216
+ 507,
1217
+ 571,
1218
+ 882,
1219
+ 602
1220
+ ],
1221
+ "page_idx": 6
1222
+ },
1223
+ {
1224
+ "type": "text",
1225
+ "text": "Human Evaluation Results Table 5 presents the results of various methods in generating distractor sets for the MCQ cloze tasks. Upon analysis, we observe that in terms of Relevance, Distractiveness, and Utility, both RAP and KAG scored relatively high and exceeded the previous soft method, T5 Candidate Augmentation.",
1226
+ "bbox": [
1227
+ 507,
1228
+ 613,
1229
+ 882,
1230
+ 725
1231
+ ],
1232
+ "page_idx": 6
1233
+ },
1234
+ {
1235
+ "type": "text",
1236
+ "text": "Table 5 presents the results of various methods in generating distractor sets for the MCQ cloze tasks. Upon analysis, we observe that in terms of Relevance, Distractiveness, and Utility, both RAP and KAG scored high and surpassed or comparable to the prior SOTA method.",
1237
+ "bbox": [
1238
+ 507,
1239
+ 726,
1240
+ 882,
1241
+ 821
1242
+ ],
1243
+ "page_idx": 6
1244
+ },
1245
+ {
1246
+ "type": "text",
1247
+ "text": "These results suggest that we have successfully guided our model to leverage additional knowledge to generate higher quality distractors. The reason why RAP outperforms KAG might be that the KG (ConceptNet) cannot encompass knowledge from all natural domains, whereas RAP, having access to",
1248
+ "bbox": [
1249
+ 507,
1250
+ 822,
1251
+ 880,
1252
+ 917
1253
+ ],
1254
+ "page_idx": 6
1255
+ },
1256
+ {
1257
+ "type": "page_number",
1258
+ "text": "11025",
1259
+ "bbox": [
1260
+ 477,
1261
+ 927,
1262
+ 524,
1263
+ 940
1264
+ ],
1265
+ "page_idx": 6
1266
+ },
1267
+ {
1268
+ "type": "table",
1269
+ "img_path": "images/47ee0b0cf7f96db46f076bfd9632d58c0a1690eb93ae1bd0f165cd8c0433449c.jpg",
1270
+ "table_caption": [],
1271
+ "table_footnote": [],
1272
+ "table_body": "<table><tr><td>DataSet for \nTraing and \nTesting DG model</td><td>Method</td><td>Pretrain Dataset</td><td>P@1</td><td>R@1</td><td>F1@3</td><td>MRR</td><td>NDCG@3</td></tr><tr><td rowspan=\"14\">MCQ</td><td>BART off-shelf</td><td>None</td><td>14.28</td><td>4.76</td><td>11.45</td><td>21.49</td><td>23.70</td></tr><tr><td>RAP-SBART</td><td>MCQ-Train</td><td>16.21</td><td>5.4</td><td>11.96</td><td>22.2</td><td>23.99</td></tr><tr><td>RAP-PBART</td><td>MCQ-Train</td><td>18.14</td><td>6.04</td><td>12.35</td><td>24.06</td><td>25.78</td></tr><tr><td>RAP-PBART /w GTD</td><td>MCQ-Train</td><td>15.05</td><td>5.01</td><td>11.58</td><td>20.65</td><td>22.33</td></tr><tr><td>RAP-SBART</td><td>Sciq-all</td><td>15.05</td><td>5.01</td><td>13.25</td><td>22.77</td><td>25.44</td></tr><tr><td>RAP-PBART</td><td>Sciq-all</td><td>20.84</td><td>6.94</td><td>15.57</td><td>28.57</td><td>30.85</td></tr><tr><td>RAP-PBART /w GTD</td><td>Sciq-all</td><td>22.77</td><td>7.59</td><td>17.88</td><td>31.33</td><td>33.97</td></tr><tr><td>T5 off-shelf</td><td>None</td><td>18.53</td><td>6.17</td><td>11.45</td><td>23.61</td><td>25.08</td></tr><tr><td>RAP-ST5</td><td>MCQ-Train</td><td>23.93</td><td>7.97</td><td>14.15</td><td>29.27</td><td>30.67</td></tr><tr><td>RAP-PT5</td><td>MCQ-Train</td><td>22.39</td><td>7.46</td><td>14.8</td><td>29.02</td><td>30.72</td></tr><tr><td>RAP-PT5 /w GTD</td><td>MCQ-Train</td><td>21.62</td><td>7.2</td><td>13.77</td><td>27.15</td><td>28.70</td></tr><tr><td>RAP-ST5</td><td>Sciq-all</td><td>25.86</td><td>8.62</td><td>15.57</td><td>31.46</td><td>33.12</td></tr><tr><td>RAP-PT5</td><td>Sciq-all</td><td>31.66</td><td>10.55</td><td>18.91</td><td>37.7</td><td>39.43</td></tr><tr><td>RAP-PT5 /w GTD</td><td>Sciq-all</td><td>27.79</td><td>9.26</td><td>18.66</td><td>34.42</td><td>36.31</td></tr><tr><td rowspan=\"14\">Sciq</td><td>BART off-shelf</td><td>None</td><td>19.3</td><td>6.46</td><td>14.94</td><td>26.40</td><td>28.36</td></tr><tr><td>RAP-SBART</td><td>Sciq-train</td><td>19.3</td><td>6.45</td><td>14.66</td><td>25.61</td><td>27.45</td></tr><tr><td>RAP-PBART</td><td>Sciq-train</td><td>20.1</td><td>6.73</td><td>16.32</td><td>27.56</td><td>29.68</td></tr><tr><td>RAP-PBART /w GTD</td><td>Sciq-train</td><td>22.4</td><td>7.48</td><td>16.39</td><td>28.9</td><td>30.81</td></tr><tr><td>RAP-SBART</td><td>MCQ-all</td><td>20.4</td><td>6.83</td><td>15.65</td><td>27.19</td><td>29.09</td></tr><tr><td>RAP-PBART</td><td>MCQ-all</td><td>20.2</td><td>6.75</td><td>15.58</td><td>27.41</td><td>29.5</td></tr><tr><td>RAP-PBART /w GTD</td><td>MCQ-all</td><td>20.7</td><td>6.91</td><td>16.06</td><td>28.16</td><td>30.32</td></tr><tr><td>T5 off-shelf</td><td>None</td><td>24.27</td><td>8.09</td><td>15.92</td><td>30.32</td><td>31.99</td></tr><tr><td>RAP-ST5</td><td>Sciq-train</td><td>23.6</td><td>7.86</td><td>15.62</td><td>29.13</td><td>30.69</td></tr><tr><td>RAP-PT5</td><td>Sciq-train</td><td>24.3</td><td>8.09</td><td>16.06</td><td>29.98</td><td>31.49</td></tr><tr><td>RAP-PT5 /w GTD</td><td>Sciq-train</td><td>25.0</td><td>8.34</td><td>16.46</td><td>30.18</td><td>31.54</td></tr><tr><td>RAP-ST5</td><td>MCQ-all</td><td>24.1</td><td>8.04</td><td>15.26</td><td>29.63</td><td>31.12</td></tr><tr><td>RAP-PT5</td><td>MCQ-all</td><td>23.1</td><td>7.71</td><td>16.31</td><td>29.56</td><td>31.49</td></tr><tr><td>RAP-PT5 /w GTD</td><td>MCQ-all</td><td>23.7</td><td>7.89</td><td>16.36</td><td>29.73</td><td>31.25</td></tr></table>",
1273
+ "bbox": [
1274
+ 157,
1275
+ 80,
1276
+ 842,
1277
+ 480
1278
+ ],
1279
+ "page_idx": 7
1280
+ },
1281
+ {
1282
+ "type": "table",
1283
+ "img_path": "images/4438d5465ced2fb5eb71e73bc9e845844cb3f5b8414247de4c07697c7f57ffb8.jpg",
1284
+ "table_caption": [
1285
+ "Table 4: RAP Performance Overview with In-Domain and Cross-Domain Study."
1286
+ ],
1287
+ "table_footnote": [],
1288
+ "table_body": "<table><tr><td>Method</td><td>Relevance</td><td>Distractiveness</td><td>Utility</td></tr><tr><td>(Wang et al., 2023)</td><td>3.81</td><td>3.35</td><td>3.55</td></tr><tr><td>KAG(T5)</td><td>4.05</td><td>3.25</td><td>3.77</td></tr><tr><td>Text2text(RAP-T5)</td><td>4.45</td><td>3.87</td><td>4.07</td></tr><tr><td>ChatGPT</td><td>3.14</td><td>2.67</td><td>3</td></tr><tr><td>ground truth</td><td>3.52</td><td>3.02</td><td>3.4</td></tr></table>",
1289
+ "bbox": [
1290
+ 119,
1291
+ 524,
1292
+ 482,
1293
+ 602
1294
+ ],
1295
+ "page_idx": 7
1296
+ },
1297
+ {
1298
+ "type": "table",
1299
+ "img_path": "images/39e1b71a94f77c6226f8f14306620d0380d4bff83430beb961e09a65287a0098.jpg",
1300
+ "table_caption": [
1301
+ "Table 5: The human evaluation for MCQ dataset."
1302
+ ],
1303
+ "table_footnote": [],
1304
+ "table_body": "<table><tr><td>Method</td><td>F1@3</td></tr><tr><td>T5 KAG</td><td>16.47</td></tr><tr><td>w/o c.a</td><td>13.64</td></tr><tr><td>w/o c.a (Masked LM)</td><td>15.18</td></tr><tr><td>w/o c.a. (Generative LM)</td><td>13.89</td></tr><tr><td>w/o reranker</td><td>14.15</td></tr></table>",
1305
+ "bbox": [
1306
+ 556,
1307
+ 524,
1308
+ 836,
1309
+ 626
1310
+ ],
1311
+ "page_idx": 7
1312
+ },
1313
+ {
1314
+ "type": "text",
1315
+ "text": "an extensive external corpus (Wikipedia), includes a vast array of facts across various domains. This vastness could potentially explain why KAG scored slightly lower than RAP.",
1316
+ "bbox": [
1317
+ 112,
1318
+ 655,
1319
+ 487,
1320
+ 718
1321
+ ],
1322
+ "page_idx": 7
1323
+ },
1324
+ {
1325
+ "type": "text",
1326
+ "text": "Furthermore, we noted that the ground truth quality for MCQ questions was not consistently high. The lowest performance was found in Distractiveness. This could likely be attributed to the fact that some of MCQ questions are generally designed for elementary and middle school grade levels, which could impact the complexity and misdirection quality of the distractors.",
1327
+ "bbox": [
1328
+ 112,
1329
+ 721,
1330
+ 487,
1331
+ 848
1332
+ ],
1333
+ "page_idx": 7
1334
+ },
1335
+ {
1336
+ "type": "text",
1337
+ "text": "4.5 Ablation Study on KAG",
1338
+ "text_level": 1,
1339
+ "bbox": [
1340
+ 112,
1341
+ 864,
1342
+ 347,
1343
+ 879
1344
+ ],
1345
+ "page_idx": 7
1346
+ },
1347
+ {
1348
+ "type": "text",
1349
+ "text": "We conducted ablation experiments on the MCQ dataset to assess the impact of different compo",
1350
+ "bbox": [
1351
+ 112,
1352
+ 887,
1353
+ 489,
1354
+ 919
1355
+ ],
1356
+ "page_idx": 7
1357
+ },
1358
+ {
1359
+ "type": "text",
1360
+ "text": "Table 6: Ablation-study of our KAG model components using the MCQ Test Dataset",
1361
+ "bbox": [
1362
+ 507,
1363
+ 636,
1364
+ 882,
1365
+ 665
1366
+ ],
1367
+ "page_idx": 7
1368
+ },
1369
+ {
1370
+ "type": "text",
1371
+ "text": "nents in our system. The results are summarized in Table 6, providing insights into the importance and contributions of each component.",
1372
+ "bbox": [
1373
+ 507,
1374
+ 684,
1375
+ 882,
1376
+ 733
1377
+ ],
1378
+ "page_idx": 7
1379
+ },
1380
+ {
1381
+ "type": "text",
1382
+ "text": "Candidate Generation Generating candidate sets using Masked LM or Generative LM is a key component in our system, enhancing KG retrieval. Removing these sets and relying solely on sentence and answer-based triplet retrieval significantly reduced the number of retrievable triplets, potentially introducing irrelevant noise and resulting in a performance drop (F1@3: 16.47 to 13.64). Using Masked LM or Generative LM alone also affected F1@3. This emphasizes the value of incorporating candidate sets, as they provide crucial information",
1383
+ "bbox": [
1384
+ 507,
1385
+ 741,
1386
+ 882,
1387
+ 917
1388
+ ],
1389
+ "page_idx": 7
1390
+ },
1391
+ {
1392
+ "type": "page_number",
1393
+ "text": "11026",
1394
+ "bbox": [
1395
+ 477,
1396
+ 927,
1397
+ 524,
1398
+ 940
1399
+ ],
1400
+ "page_idx": 7
1401
+ },
1402
+ {
1403
+ "type": "text",
1404
+ "text": "for identifying important triplets in the knowledge graph.",
1405
+ "bbox": [
1406
+ 112,
1407
+ 84,
1408
+ 487,
1409
+ 116
1410
+ ],
1411
+ "page_idx": 8
1412
+ },
1413
+ {
1414
+ "type": "text",
1415
+ "text": "Reranker The Reranker, our second key component, sorts triplets to select those more relevant to distractors/answers. Without sorting by the Reranker, randomly selecting triplets for triplet augmentation led to a decrease in F1@3 (16.47 to 14.15). This highlights the Reranker's importance in identifying important triplets and improving downstream task performance.",
1416
+ "bbox": [
1417
+ 112,
1418
+ 136,
1419
+ 489,
1420
+ 265
1421
+ ],
1422
+ "page_idx": 8
1423
+ },
1424
+ {
1425
+ "type": "text",
1426
+ "text": "4.6 Study on Cross-Domain for RAP",
1427
+ "text_level": 1,
1428
+ "bbox": [
1429
+ 112,
1430
+ 286,
1431
+ 418,
1432
+ 303
1433
+ ],
1434
+ "page_idx": 8
1435
+ },
1436
+ {
1437
+ "type": "text",
1438
+ "text": "In this subsection, we report our studies on cross-domain and in-domain for RAP. The experiment results are summarized in Table 4.",
1439
+ "bbox": [
1440
+ 112,
1441
+ 313,
1442
+ 489,
1443
+ 361
1444
+ ],
1445
+ "page_idx": 8
1446
+ },
1447
+ {
1448
+ "type": "text",
1449
+ "text": "We have the following observations: Firstly, in terms of cross-domain effects (using the MCQ dataset for pretraining and fine-tuning the DG model with the Sciq dataset, or vice versa), we found that using Sciq-all for pretraining the language model resulted in a significant improvement in the downstream MCQ dataset for distractor generation. Specifically, using the T5 model, the RAP-based approach increased the F1@3 score from 11.45 to 18.91 (almost a 1.5-fold improvement). This notable improvement was expected, considering that Sciq is a larger dataset compared to MCQ. However, when we reversed the process and used MCQ for pretraining, followed by testing with the Sciq dataset, the improvement in performance was not as significant. Taking the BART model as an example, the direct use of BART off-shelf achieved a score of 14.94, while RAP-SBART) only improved it to 16.06. Although there was some improvement, it was not as substantial as the effects observed when using Sciq pretraining.",
1450
+ "bbox": [
1451
+ 112,
1452
+ 365,
1453
+ 489,
1454
+ 703
1455
+ ],
1456
+ "page_idx": 8
1457
+ },
1458
+ {
1459
+ "type": "text",
1460
+ "text": "Regarding in-domain effects (using the same dataset for both pretraining and fine-tuning), we found consistent improvements in the generated results. For example, using the T5 model on the Sciq test dataset, the T5 off-shell score was 15.92, while $\\mathrm{RAP - P_{T5}}$ improved it to 16.46. We also observed similar improvements in the MCQ dataset.",
1461
+ "bbox": [
1462
+ 112,
1463
+ 707,
1464
+ 487,
1465
+ 819
1466
+ ],
1467
+ "page_idx": 8
1468
+ },
1469
+ {
1470
+ "type": "text",
1471
+ "text": "In conclusion, our proposed RAP approach has shown improved generation performance from both data augmentation and task-specific pretraining perspectives. The experiments demonstrate that incorporating RAP into the training process leads to significant enhancements in distractor generation.",
1472
+ "bbox": [
1473
+ 112,
1474
+ 822,
1475
+ 489,
1476
+ 917
1477
+ ],
1478
+ "page_idx": 8
1479
+ },
1480
+ {
1481
+ "type": "text",
1482
+ "text": "5 Conclusion",
1483
+ "text_level": 1,
1484
+ "bbox": [
1485
+ 509,
1486
+ 83,
1487
+ 640,
1488
+ 99
1489
+ ],
1490
+ "page_idx": 8
1491
+ },
1492
+ {
1493
+ "type": "text",
1494
+ "text": "In this paper, we introduce the utilization of task-specific pretraining and knowledge base. Our experimental results highlight a significant performance improvement achieved through the integration. our work represents a novel contribution to the field of distractor generation for MCQs, showcasing the potential of combining retrieval augmented pretraining and KGs to achieve superior results.",
1495
+ "bbox": [
1496
+ 507,
1497
+ 109,
1498
+ 884,
1499
+ 237
1500
+ ],
1501
+ "page_idx": 8
1502
+ },
1503
+ {
1504
+ "type": "text",
1505
+ "text": "6 Limitations",
1506
+ "text_level": 1,
1507
+ "bbox": [
1508
+ 507,
1509
+ 249,
1510
+ 645,
1511
+ 263
1512
+ ],
1513
+ "page_idx": 8
1514
+ },
1515
+ {
1516
+ "type": "text",
1517
+ "text": "We report the following limitations for the KAG method:",
1518
+ "bbox": [
1519
+ 507,
1520
+ 274,
1521
+ 880,
1522
+ 306
1523
+ ],
1524
+ "page_idx": 8
1525
+ },
1526
+ {
1527
+ "type": "list",
1528
+ "sub_type": "text",
1529
+ "list_items": [
1530
+ "- Combining KAG with RAP did not yield additive effects. We believe that the key factor lies in that the knowledge triplets may introduce additional noise that interferes with the Text2Text model's generation process. Thus, there is significant room for improvement in the current design of the triplet ranker. Selecting relevant triplets for generation is an aspect that requires further strengthening in this research.",
1531
+ "- The current evaluation and training heavily rely on token scores, which can only reflect the similarity to the ground truth but cannot fully represent the quality of the generated output. The research conclusions thus far have also been established solely based on token scores.",
1532
+ "- During the pretraining stage of RAP, when retrieving sentences/passages, if the answer is a rare or specialized term, the external corpus may fail to find matching sentences/passages. Therefore, when applying the RAP framework to other knowledge domains, having an abundant knowledge corpus becomes crucial."
1533
+ ],
1534
+ "bbox": [
1535
+ 531,
1536
+ 317,
1537
+ 882,
1538
+ 724
1539
+ ],
1540
+ "page_idx": 8
1541
+ },
1542
+ {
1543
+ "type": "text",
1544
+ "text": "Acknowledgement",
1545
+ "text_level": 1,
1546
+ "bbox": [
1547
+ 509,
1548
+ 736,
1549
+ 672,
1550
+ 752
1551
+ ],
1552
+ "page_idx": 8
1553
+ },
1554
+ {
1555
+ "type": "text",
1556
+ "text": "This work is supported by NSTC 112-2634-F-005 - 002-project Smart Sustainable New Agriculture Research Center (SMARTer), NSTC Taiwan Project under grant 112-2221-E-005 -075 -MY3, and Delta Research Center, Delta Electronics, Inc.",
1557
+ "bbox": [
1558
+ 507,
1559
+ 760,
1560
+ 884,
1561
+ 841
1562
+ ],
1563
+ "page_idx": 8
1564
+ },
1565
+ {
1566
+ "type": "text",
1567
+ "text": "References",
1568
+ "text_level": 1,
1569
+ "bbox": [
1570
+ 509,
1571
+ 869,
1572
+ 608,
1573
+ 883
1574
+ ],
1575
+ "page_idx": 8
1576
+ },
1577
+ {
1578
+ "type": "text",
1579
+ "text": "Yu Chen, Lingfei Wu, and Mohammed J Zaki. 2023. Toward subgraph-guided knowledge graph question",
1580
+ "bbox": [
1581
+ 509,
1582
+ 891,
1583
+ 882,
1584
+ 919
1585
+ ],
1586
+ "page_idx": 8
1587
+ },
1588
+ {
1589
+ "type": "page_number",
1590
+ "text": "11027",
1591
+ "bbox": [
1592
+ 477,
1593
+ 927,
1594
+ 524,
1595
+ 940
1596
+ ],
1597
+ "page_idx": 8
1598
+ },
1599
+ {
1600
+ "type": "list",
1601
+ "sub_type": "ref_text",
1602
+ "list_items": [
1603
+ "generation with graph neural networks. IEEE Transactions on Neural Networks and Learning Systems.",
1604
+ "Shang-Hsuan Chiang, Ssu-Cheng Wang, and Yao-Chung Fan. 2022. Cdgp: Automatic cloze distractor generation based on pre-trained language model. In *Findings of the Association for Computational Linguistics: EMNLP* 2022.",
1605
+ "Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. 2018. Bert: Pre-training of deep bidirectional transformers for language understanding. arXiv preprint arXiv:1810.04805.",
1606
+ "Zichu Fei, Qi Zhang, Tao Gui, Di Liang, Sirui Wang, Wei Wu, and Xuan-Jing Huang. 2022. Cqg: A simple and effective controlled generation framework for multi-hop question generation. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 6896-6906.",
1607
+ "Yanlin Feng, Xinyue Chen, Bill Yuchen Lin, Peifeng Wang, Jun Yan, and Xiang Ren. 2020. Scalable multihop relational reasoning for knowledge-aware question answering. arXiv preprint arXiv:2005.00646.",
1608
+ "Bin He, Di Zhou, Jinghui Xiao, Qun Liu, Nicholas Jing Yuan, Tong Xu, et al. 2019. Integrating graph contextualized knowledge into pre-trained language models. arXiv preprint arXiv:1912.00147.",
1609
+ "Mike Lewis, Yinhan Liu, Naman Goyal, Marjan Ghazvininejad, Abdelrahman Mohamed, Omer Levy, Ves Stoyanov, and Luke Zettlemoyer. 2019. Bart: Denoising sequence-to-sequence pre-training for natural language generation, translation, and comprehension. arXiv preprint arXiv:1910.13461.",
1610
+ "Chen Liang, Xiao Yang, Neisarg Dave, Drew Wham, Bart Pursel, and C Lee Giles. 2018. Distractor generation for multiple choice questions using learning to rank. In Proceedings of the thirteenth workshop on innovative use of NLP for building educational applications, pages 284-290.",
1611
+ "Chen Liang, Xiao Yang, Drew Wham, Bart Pursel, Rebecca Passonneaur, and C Lee Giles. 2017. Distractor generation with generative adversarial nets for automatically creating fill-in-the-blank questions. In Proceedings of the Knowledge Capture Conference, pages 1-4.",
1612
+ "Colin Raffel, Noam Shazeer, Adam Roberts, Katherine Lee, Sharan Narang, Michael Matena, Yanqi Zhou, Wei Li, Peter J Liu, et al. 2020. Exploring the limits of transfer learning with a unified text-to-text transformer. J. Mach. Learn. Res., 21(140):1-67.",
1613
+ "Nils Reimers and Iryna Gurevych. 2019. Sentence-bert: Sentence embeddings using siamese bert-networks. arXiv preprint arXiv:1908.10084.",
1614
+ "Hongyu Ren, Weihua Hu, and Jure Leskovec. 2020. Query2box: Reasoning over knowledge graphs in vector space using box embeddings. arXiv preprint arXiv:2002.05969."
1615
+ ],
1616
+ "bbox": [
1617
+ 115,
1618
+ 85,
1619
+ 489,
1620
+ 917
1621
+ ],
1622
+ "page_idx": 9
1623
+ },
1624
+ {
1625
+ "type": "list",
1626
+ "sub_type": "ref_text",
1627
+ "list_items": [
1628
+ "Siyu Ren and Kenny Q. Zhu. 2021. Knowledge-driven distractor generation for cloze-style multiple choice questions. Proceedings of the AAAI Conference on Artificial Intelligence, 35(5):4339-4347.",
1629
+ "Siyu Ren and Kenny Q Zhu. 2021. Knowledge-driven distractor generation for cloze-style multiple choice questions. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 35, pages 4339-4347.",
1630
+ "Robyn Speer, Joshua Chin, and Catherine Havasi. 2017. Conceptnet 5.5: An open multilingual graph of general knowledge. In Proceedings of the AAAI conference on artificial intelligence, volume 31.",
1631
+ "Hui-Juan Wang, Kai-Yu, Han-Cheng Yu, and Yao-Chung Fan. 2023. Distractor generation based on text2text language models with pseudo kullback-Leibler divergence regulation. In Proceedings of the Findings of ACL 2023.",
1632
+ "Rui Wang, Shijing Si, Guoyin Wang, Lei Zhang, Lawrence Carin, and Ricardo Henao. 2020. Integrating task specific information into pretrained language models for low resource fine tuning. In *Findings of the Association for Computational Linguistics: EMNLP* 2020, pages 3181-3186.",
1633
+ "Johannes Welbl, Nelson F Liu, and Matt Gardner. 2017. Crowdsourcing multiple choice science questions. arXiv preprint arXiv:1707.06209.",
1634
+ "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.",
1635
+ "Michihiro Yasunaga, Antoine Bosselut, Hongyu Ren, Xikun Zhang, Christopher D Manning, Percy S Liang, and Jure Leskovec. 2022. Deep bidirectional language-knowledge graph pretraining. Advances in Neural Information Processing Systems, 35:37309-37323.",
1636
+ "Michihiro Yasunaga, Hongyu Ren, Antoine Bosselut, Percy Liang, and Jure Leskovec. 2021. Qagnn: Reasoning with language models and knowledge graphs for question answering. arXiv preprint arXiv:2104.06378.",
1637
+ "Jingqing Zhang, Yao Zhao, Mohammad Saleh, and Peter Liu. 2020. Pegasus: Pre-training with extracted gap-sentences for abstractive summarization. In International Conference on Machine Learning, pages 11328-11339. PMLR.",
1638
+ "Xikun Zhang, Antoine Bosselut, Michihiro Yasunaga, Hongyu Ren, Percy Liang, Christopher D Manning, and Jure Leskovec. 2022. Greaselm: Graph reasoning enhanced language models for question answering. arXiv preprint arXiv:2201.08860."
1639
+ ],
1640
+ "bbox": [
1641
+ 510,
1642
+ 85,
1643
+ 882,
1644
+ 889
1645
+ ],
1646
+ "page_idx": 9
1647
+ },
1648
+ {
1649
+ "type": "text",
1650
+ "text": "Appendix",
1651
+ "bbox": [
1652
+ 510,
1653
+ 903,
1654
+ 596,
1655
+ 917
1656
+ ],
1657
+ "page_idx": 9
1658
+ },
1659
+ {
1660
+ "type": "page_number",
1661
+ "text": "11028",
1662
+ "bbox": [
1663
+ 477,
1664
+ 927,
1665
+ 524,
1666
+ 940
1667
+ ],
1668
+ "page_idx": 9
1669
+ },
1670
+ {
1671
+ "type": "text",
1672
+ "text": "A Implementation Details",
1673
+ "text_level": 1,
1674
+ "bbox": [
1675
+ 114,
1676
+ 84,
1677
+ 356,
1678
+ 99
1679
+ ],
1680
+ "page_idx": 10
1681
+ },
1682
+ {
1683
+ "type": "text",
1684
+ "text": "Our models are implemented based on models from Hugging Face (Wolf et al., 2019). For generating candidate set, we use an language model trained for distractor generation from (Chiang et al., 2022) and gpt3.5 turbo through ChatGPT API with zero-shot prompting. For triplet reranker, we use SentenceBERT (Reimers and Gurevych, 2019) to estimate the initial sentence embedding distance. For triplet classification, we use Sentence-BERT and BERT (Devlin et al., 2018) as the default PLM. For the triplet augmented generator, we experiment with BART (Lewis et al., 2019) and T5 (Raffel et al., 2020) as base generation models.",
1685
+ "bbox": [
1686
+ 112,
1687
+ 111,
1688
+ 489,
1689
+ 319
1690
+ ],
1691
+ "page_idx": 10
1692
+ },
1693
+ {
1694
+ "type": "text",
1695
+ "text": "During training, we use AdamW as the optimizer and an initial learning rate of 2e-5 for BERT, BART and 1e-4 for T5 models. All experiments are conducted using two NVIDIA Titan RTX GPUs.",
1696
+ "bbox": [
1697
+ 112,
1698
+ 321,
1699
+ 489,
1700
+ 385
1701
+ ],
1702
+ "page_idx": 10
1703
+ },
1704
+ {
1705
+ "type": "text",
1706
+ "text": "BART-based generator With MCQ data, the maximum number of epochs is set to 40 with a batch size of on two NVIDIA TITAN RTX GPUs for the distraction generation with triplet augmentation with a batch size of 32 and a maximum number of triplets is set to 50. With Sciq data, the maximum number of epochs is set to 50 with a batch size of 32 on two NVIDIA TITAN RTX GPUs for the distraction generation with triplet augmentation with a batch size of 32 and a maximum number of triplets is set to 50. The average running time for BART-based generators is 30 minutes (1.5 hours) on MCQ (Sciq).",
1707
+ "bbox": [
1708
+ 112,
1709
+ 397,
1710
+ 489,
1711
+ 606
1712
+ ],
1713
+ "page_idx": 10
1714
+ },
1715
+ {
1716
+ "type": "text",
1717
+ "text": "T5-based generator With MCQ data, the maximum number of epochs is set to 40 with a batch size of on two NVIDIA TITAN RTX GPUs for the distraction generation with triplet augmentation with a batch size of 32 and a maximum number of triplets is set to 50. With Sciq data, the maximum number of epochs is set to 50 with a batch size of 32 on two NVIDIA TITAN RTX GPUs for the distraction generation with triplet augmentation with a batch size of 32 and a maximum number of triplets is set to 50. The average running time for BART-based generators is 40 minutes (3 hours) on MCQ (Sciq).",
1718
+ "bbox": [
1719
+ 112,
1720
+ 618,
1721
+ 489,
1722
+ 827
1723
+ ],
1724
+ "page_idx": 10
1725
+ },
1726
+ {
1727
+ "type": "text",
1728
+ "text": "Knowledge Graph We utilize ConceptNet (Speer et al., 2017) as our KG, which is a graph that encompasses a wide range of knowledge domains. The KG consists of a total of 800k nodes and 2M edges. For each question's KG retrieval set, we pre",
1729
+ "bbox": [
1730
+ 112,
1731
+ 839,
1732
+ 489,
1733
+ 920
1734
+ ],
1735
+ "page_idx": 10
1736
+ },
1737
+ {
1738
+ "type": "text",
1739
+ "text": "process the retrieval subgraph using the approach described in (Feng et al., 2020). Specifically, we process the textual corpus of each question, including the question text, answer options, and entities in the candidate set.",
1740
+ "bbox": [
1741
+ 507,
1742
+ 84,
1743
+ 884,
1744
+ 164
1745
+ ],
1746
+ "page_idx": 10
1747
+ },
1748
+ {
1749
+ "type": "page_number",
1750
+ "text": "11029",
1751
+ "bbox": [
1752
+ 477,
1753
+ 927,
1754
+ 524,
1755
+ 940
1756
+ ],
1757
+ "page_idx": 10
1758
+ }
1759
+ ]