Add Batch 3c2b4e72-1172-49ce-a541-ca9aba3324a4 data
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- .gitattributes +64 -0
- 2023/Natural Response Generation for Chinese Reading Comprehension/deacd081-229d-47a6-82a1-c3842e05b39b_content_list.json +1915 -0
- 2023/Natural Response Generation for Chinese Reading Comprehension/deacd081-229d-47a6-82a1-c3842e05b39b_model.json +0 -0
- 2023/Natural Response Generation for Chinese Reading Comprehension/deacd081-229d-47a6-82a1-c3842e05b39b_origin.pdf +3 -0
- 2023/Natural Response Generation for Chinese Reading Comprehension/full.md +346 -0
- 2023/Natural Response Generation for Chinese Reading Comprehension/images.zip +3 -0
- 2023/Natural Response Generation for Chinese Reading Comprehension/layout.json +0 -0
- 2023/Neuro-Symbolic Sentiment Analysis with Dynamic Word Sense Disambiguation/f2ea77f7-c2a2-49e4-b922-17fa39103dc4_content_list.json +1580 -0
- 2023/Neuro-Symbolic Sentiment Analysis with Dynamic Word Sense Disambiguation/f2ea77f7-c2a2-49e4-b922-17fa39103dc4_model.json +2061 -0
- 2023/Neuro-Symbolic Sentiment Analysis with Dynamic Word Sense Disambiguation/f2ea77f7-c2a2-49e4-b922-17fa39103dc4_origin.pdf +3 -0
- 2023/Neuro-Symbolic Sentiment Analysis with Dynamic Word Sense Disambiguation/full.md +348 -0
- 2023/Neuro-Symbolic Sentiment Analysis with Dynamic Word Sense Disambiguation/images.zip +3 -0
- 2023/Neuro-Symbolic Sentiment Analysis with Dynamic Word Sense Disambiguation/layout.json +0 -0
- 2023/New Datasets and Controllable Iterative Data Augmentation Method for Code-switching ASR Error Correction/704f5812-1da2-4355-bf1f-7c6e5a7b4a97_content_list.json +2189 -0
- 2023/New Datasets and Controllable Iterative Data Augmentation Method for Code-switching ASR Error Correction/704f5812-1da2-4355-bf1f-7c6e5a7b4a97_model.json +0 -0
- 2023/New Datasets and Controllable Iterative Data Augmentation Method for Code-switching ASR Error Correction/704f5812-1da2-4355-bf1f-7c6e5a7b4a97_origin.pdf +3 -0
- 2023/New Datasets and Controllable Iterative Data Augmentation Method for Code-switching ASR Error Correction/full.md +403 -0
- 2023/New Datasets and Controllable Iterative Data Augmentation Method for Code-switching ASR Error Correction/images.zip +3 -0
- 2023/New Datasets and Controllable Iterative Data Augmentation Method for Code-switching ASR Error Correction/layout.json +0 -0
- 2023/No offence, Bert - I insult only humans! Multilingual sentence-level attack on toxicity detection networks/6570fd92-ec0d-40f4-8099-434dc1b0509c_content_list.json +1158 -0
- 2023/No offence, Bert - I insult only humans! Multilingual sentence-level attack on toxicity detection networks/6570fd92-ec0d-40f4-8099-434dc1b0509c_model.json +1283 -0
- 2023/No offence, Bert - I insult only humans! Multilingual sentence-level attack on toxicity detection networks/6570fd92-ec0d-40f4-8099-434dc1b0509c_origin.pdf +3 -0
- 2023/No offence, Bert - I insult only humans! Multilingual sentence-level attack on toxicity detection networks/full.md +197 -0
- 2023/No offence, Bert - I insult only humans! Multilingual sentence-level attack on toxicity detection networks/images.zip +3 -0
- 2023/No offence, Bert - I insult only humans! Multilingual sentence-level attack on toxicity detection networks/layout.json +0 -0
- 2023/Noise-Robust Fine-Tuning of Pretrained Language Models via External Guidance/569fc499-7adf-4636-bebe-f243ca93393e_content_list.json +1963 -0
- 2023/Noise-Robust Fine-Tuning of Pretrained Language Models via External Guidance/569fc499-7adf-4636-bebe-f243ca93393e_model.json +0 -0
- 2023/Noise-Robust Fine-Tuning of Pretrained Language Models via External Guidance/569fc499-7adf-4636-bebe-f243ca93393e_origin.pdf +3 -0
- 2023/Noise-Robust Fine-Tuning of Pretrained Language Models via External Guidance/full.md +406 -0
- 2023/Noise-Robust Fine-Tuning of Pretrained Language Models via External Guidance/images.zip +3 -0
- 2023/Noise-Robust Fine-Tuning of Pretrained Language Models via External Guidance/layout.json +0 -0
- 2023/Noise-Robust Semi-Supervised Learning for Distantly Supervised Relation Extraction/fc076ec4-b157-42d2-a4a8-4199f3a5df0a_content_list.json +2023 -0
- 2023/Noise-Robust Semi-Supervised Learning for Distantly Supervised Relation Extraction/fc076ec4-b157-42d2-a4a8-4199f3a5df0a_model.json +0 -0
- 2023/Noise-Robust Semi-Supervised Learning for Distantly Supervised Relation Extraction/fc076ec4-b157-42d2-a4a8-4199f3a5df0a_origin.pdf +3 -0
- 2023/Noise-Robust Semi-Supervised Learning for Distantly Supervised Relation Extraction/full.md +421 -0
- 2023/Noise-Robust Semi-Supervised Learning for Distantly Supervised Relation Extraction/images.zip +3 -0
- 2023/Noise-Robust Semi-Supervised Learning for Distantly Supervised Relation Extraction/layout.json +0 -0
- 2023/Noisy Pair Corrector for Dense Retrieval/ff6504db-4532-48dc-8468-050b9abe58d7_content_list.json +1978 -0
- 2023/Noisy Pair Corrector for Dense Retrieval/ff6504db-4532-48dc-8468-050b9abe58d7_model.json +0 -0
- 2023/Noisy Pair Corrector for Dense Retrieval/ff6504db-4532-48dc-8468-050b9abe58d7_origin.pdf +3 -0
- 2023/Noisy Pair Corrector for Dense Retrieval/full.md +388 -0
- 2023/Noisy Pair Corrector for Dense Retrieval/images.zip +3 -0
- 2023/Noisy Pair Corrector for Dense Retrieval/layout.json +0 -0
- 2023/Noisy Self-Training with Synthetic Queries for Dense Retrieval/260bb510-850d-4d78-a651-3f79c3ed0b9d_content_list.json +0 -0
- 2023/Noisy Self-Training with Synthetic Queries for Dense Retrieval/260bb510-850d-4d78-a651-3f79c3ed0b9d_model.json +0 -0
- 2023/Noisy Self-Training with Synthetic Queries for Dense Retrieval/260bb510-850d-4d78-a651-3f79c3ed0b9d_origin.pdf +3 -0
- 2023/Noisy Self-Training with Synthetic Queries for Dense Retrieval/full.md +391 -0
- 2023/Noisy Self-Training with Synthetic Queries for Dense Retrieval/images.zip +3 -0
- 2023/Noisy Self-Training with Synthetic Queries for Dense Retrieval/layout.json +0 -0
- 2023/Non-Autoregressive Document-Level Machine Translation/6f06de2c-1532-40db-88ad-1021607cb22a_content_list.json +2057 -0
.gitattributes
CHANGED
|
@@ -6233,3 +6233,67 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 6233 |
2023/Narrative[[:space:]]Style[[:space:]]and[[:space:]]the[[:space:]]Spread[[:space:]]of[[:space:]]Health[[:space:]]Misinformation[[:space:]]on[[:space:]]Twitter/a8c8cc18-8e7c-4dd9-9691-b66d08e7c797_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6234 |
2023/NarrativeXL_[[:space:]]a[[:space:]]Large-scale[[:space:]]Dataset[[:space:]]for[[:space:]]Long-Term[[:space:]]Memory[[:space:]]Models/b1dd1ac9-8661-49b2-8615-29d8439200cf_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6235 |
2023/Natural[[:space:]]Language[[:space:]]Annotations[[:space:]]for[[:space:]]Reasoning[[:space:]]about[[:space:]]Program[[:space:]]Semantics/bf035ad6-88af-4241-97db-5a095465958d_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 6233 |
2023/Narrative[[:space:]]Style[[:space:]]and[[:space:]]the[[:space:]]Spread[[:space:]]of[[:space:]]Health[[:space:]]Misinformation[[:space:]]on[[:space:]]Twitter/a8c8cc18-8e7c-4dd9-9691-b66d08e7c797_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6234 |
2023/NarrativeXL_[[:space:]]a[[:space:]]Large-scale[[:space:]]Dataset[[:space:]]for[[:space:]]Long-Term[[:space:]]Memory[[:space:]]Models/b1dd1ac9-8661-49b2-8615-29d8439200cf_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6235 |
2023/Natural[[:space:]]Language[[:space:]]Annotations[[:space:]]for[[:space:]]Reasoning[[:space:]]about[[:space:]]Program[[:space:]]Semantics/bf035ad6-88af-4241-97db-5a095465958d_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6236 |
+
2023/Natural[[:space:]]Response[[:space:]]Generation[[:space:]]for[[:space:]]Chinese[[:space:]]Reading[[:space:]]Comprehension/deacd081-229d-47a6-82a1-c3842e05b39b_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6237 |
+
2023/Neuro-Symbolic[[:space:]]Sentiment[[:space:]]Analysis[[:space:]]with[[:space:]]Dynamic[[:space:]]Word[[:space:]]Sense[[:space:]]Disambiguation/f2ea77f7-c2a2-49e4-b922-17fa39103dc4_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6238 |
+
2023/New[[:space:]]Datasets[[:space:]]and[[:space:]]Controllable[[:space:]]Iterative[[:space:]]Data[[:space:]]Augmentation[[:space:]]Method[[:space:]]for[[:space:]]Code-switching[[:space:]]ASR[[:space:]]Error[[:space:]]Correction/704f5812-1da2-4355-bf1f-7c6e5a7b4a97_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6239 |
+
2023/No[[:space:]]offence,[[:space:]]Bert[[:space:]]-[[:space:]]I[[:space:]]insult[[:space:]]only[[:space:]]humans![[:space:]]Multilingual[[:space:]]sentence-level[[:space:]]attack[[:space:]]on[[:space:]]toxicity[[:space:]]detection[[:space:]]networks/6570fd92-ec0d-40f4-8099-434dc1b0509c_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6240 |
+
2023/Noise-Robust[[:space:]]Fine-Tuning[[:space:]]of[[:space:]]Pretrained[[:space:]]Language[[:space:]]Models[[:space:]]via[[:space:]]External[[:space:]]Guidance/569fc499-7adf-4636-bebe-f243ca93393e_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6241 |
+
2023/Noise-Robust[[:space:]]Semi-Supervised[[:space:]]Learning[[:space:]]for[[:space:]]Distantly[[:space:]]Supervised[[:space:]]Relation[[:space:]]Extraction/fc076ec4-b157-42d2-a4a8-4199f3a5df0a_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6242 |
+
2023/Noisy[[:space:]]Pair[[:space:]]Corrector[[:space:]]for[[:space:]]Dense[[:space:]]Retrieval/ff6504db-4532-48dc-8468-050b9abe58d7_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6243 |
+
2023/Noisy[[:space:]]Self-Training[[:space:]]with[[:space:]]Synthetic[[:space:]]Queries[[:space:]]for[[:space:]]Dense[[:space:]]Retrieval/260bb510-850d-4d78-a651-3f79c3ed0b9d_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6244 |
+
2023/Non-Autoregressive[[:space:]]Document-Level[[:space:]]Machine[[:space:]]Translation/6f06de2c-1532-40db-88ad-1021607cb22a_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6245 |
+
2023/Non-Autoregressive[[:space:]]Sentence[[:space:]]Ordering/7f62cb94-7ce6-4950-afee-ba58d63ed721_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6246 |
+
2023/Non-Compositionality[[:space:]]in[[:space:]]Sentiment_[[:space:]]New[[:space:]]Data[[:space:]]and[[:space:]]Analyses/3184a1e0-ef47-41f1-9868-1f2f8500adaa_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6247 |
+
2023/Non-compositional[[:space:]]Expression[[:space:]]Generation[[:space:]]Based[[:space:]]on[[:space:]]Curriculum[[:space:]]Learning[[:space:]]and[[:space:]]Continual[[:space:]]Learning/f2f88f8e-59fe-468f-ad81-14ffa69defaa_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6248 |
+
2023/Non-parallel[[:space:]]Accent[[:space:]]Transfer[[:space:]]based[[:space:]]on[[:space:]]Fine-grained[[:space:]]Controllable[[:space:]]Accent[[:space:]]Modelling/29dfb883-4c9c-41fd-bdd7-1f7fc4e13373_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6249 |
+
2023/Normal-Abnormal[[:space:]]Decoupling[[:space:]]Memory[[:space:]]for[[:space:]]Medical[[:space:]]Report[[:space:]]Generation/b90e4221-98d5-45c3-a7ce-3e01b0ad4ff9_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6250 |
+
2023/Not[[:space:]]All[[:space:]]Demonstration[[:space:]]Examples[[:space:]]are[[:space:]]Equally[[:space:]]Beneficial_[[:space:]]Reweighting[[:space:]]Demonstration[[:space:]]Examples[[:space:]]for[[:space:]]In-Context[[:space:]]Learning/e97af7b5-da38-43ac-9cde-d3ffa03f20c7_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6251 |
+
2023/Not[[:space:]]All[[:space:]]Languages[[:space:]]Are[[:space:]]Created[[:space:]]Equal[[:space:]]in[[:space:]]LLMs_[[:space:]]Improving[[:space:]]Multilingual[[:space:]]Capability[[:space:]]by[[:space:]]Cross-Lingual-Thought[[:space:]]Prompting/5e6cc189-8023-4887-a5d7-ec59f21ea497_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6252 |
+
2023/NovaCOMET_[[:space:]]Open[[:space:]]Commonsense[[:space:]]Foundation[[:space:]]Models[[:space:]]with[[:space:]]Symbolic[[:space:]]Knowledge[[:space:]]Distillation/f2bb36f5-68ab-4034-8f93-8bd45f069dbe_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6253 |
+
2023/Novel[[:space:]]Relation[[:space:]]Detection_[[:space:]]Discovering[[:space:]]Unknown[[:space:]]Relation[[:space:]]Types[[:space:]]via[[:space:]]Multi-Strategy[[:space:]]Self-Supervised[[:space:]]Learning/145539c6-2bb9-47af-abc0-f8ccafa2913b_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6254 |
+
2023/Novel[[:space:]]Slot[[:space:]]Detection[[:space:]]With[[:space:]]an[[:space:]]Incremental[[:space:]]Setting/6eaba6e2-7e04-4fdf-9bac-6e740367034c_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6255 |
+
2023/On[[:space:]]Event[[:space:]]Individuation[[:space:]]for[[:space:]]Document-Level[[:space:]]Information[[:space:]]Extraction/b3e55c88-5789-48bb-8447-324998f4ba31_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6256 |
+
2023/On[[:space:]]General[[:space:]]Language[[:space:]]Understanding/0c1e898b-df01-4993-8e52-ab20ff82a4e9_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6257 |
+
2023/On[[:space:]]Robustness[[:space:]]of[[:space:]]Finetuned[[:space:]]Transformer-based[[:space:]]NLP[[:space:]]Models/1aa0a00a-57a5-4b97-9940-f6c4372ecdb4_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6258 |
+
2023/On[[:space:]]Surgical[[:space:]]Fine-tuning[[:space:]]for[[:space:]]Language[[:space:]]Encoders/683c3d63-8780-4980-997c-78842446d9f8_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6259 |
+
2023/On[[:space:]]Task-personalized[[:space:]]Multimodal[[:space:]]Few-shot[[:space:]]Learning[[:space:]]for[[:space:]]Visually-rich[[:space:]]Document[[:space:]]Entity[[:space:]]Retrieval/651da9af-63a8-4f44-baaf-4d6439bf9bfb_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6260 |
+
2023/On[[:space:]]Uncertainty[[:space:]]Calibration[[:space:]]and[[:space:]]Selective[[:space:]]Generation[[:space:]]in[[:space:]]Probabilistic[[:space:]]Neural[[:space:]]Summarization_[[:space:]]A[[:space:]]Benchmark[[:space:]]Study/ce833aa2-3742-40ab-a6fd-203011ba65db_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6261 |
+
2023/On[[:space:]]the[[:space:]]Calibration[[:space:]]of[[:space:]]Large[[:space:]]Language[[:space:]]Models[[:space:]]and[[:space:]]Alignment/6075dddf-f372-4c32-9dae-381129a16631_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6262 |
+
2023/On[[:space:]]the[[:space:]]Dimensionality[[:space:]]of[[:space:]]Sentence[[:space:]]Embeddings/ee5aec9d-b452-471f-8441-096a6bdafdee_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6263 |
+
2023/On[[:space:]]the[[:space:]]Impact[[:space:]]of[[:space:]]Cross-Domain[[:space:]]Data[[:space:]]on[[:space:]]German[[:space:]]Language[[:space:]]Models/8b41b321-4686-40d5-8868-72a373ea3020_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6264 |
+
2023/On[[:space:]]the[[:space:]]Relation[[:space:]]between[[:space:]]Sensitivity[[:space:]]and[[:space:]]Accuracy[[:space:]]in[[:space:]]In-Context[[:space:]]Learning/8720e86c-0aa6-4cab-8825-c5acef4719d1_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6265 |
+
2023/On[[:space:]]the[[:space:]]Risk[[:space:]]of[[:space:]]Misinformation[[:space:]]Pollution[[:space:]]with[[:space:]]Large[[:space:]]Language[[:space:]]Models/88587d5b-576f-4456-8c6c-4303076e2c80_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6266 |
+
2023/On[[:space:]]the[[:space:]]Transferability[[:space:]]of[[:space:]]Visually[[:space:]]Grounded[[:space:]]PCFGs/c1a2d272-d49b-4073-9ecd-6dd9a775c813_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6267 |
+
2023/On[[:space:]]the[[:space:]]Zero-Shot[[:space:]]Generalization[[:space:]]of[[:space:]]Machine-Generated[[:space:]]Text[[:space:]]Detectors/dd132655-0477-4d19-be93-a85eb2350cdf_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6268 |
+
2023/One[[:space:]]For[[:space:]]All[[:space:]]&[[:space:]]All[[:space:]]For[[:space:]]One_[[:space:]]Bypassing[[:space:]]Hyperparameter[[:space:]]Tuning[[:space:]]with[[:space:]]Model[[:space:]]Averaging[[:space:]]for[[:space:]]Cross-Lingual[[:space:]]Transfer/87703e50-59f3-4a45-a99a-9f2af7594f09_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6269 |
+
2023/One-Model-Connects-All_[[:space:]]A[[:space:]]Unified[[:space:]]Graph[[:space:]]Pre-Training[[:space:]]Model[[:space:]]for[[:space:]]Online[[:space:]]Community[[:space:]]Modeling/cfe3b1af-89a5-4c6c-855b-74c74f9926ca_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6270 |
+
2023/Open[[:space:]]Domain[[:space:]]Multi-document[[:space:]]Summarization_[[:space:]]A[[:space:]]Comprehensive[[:space:]]Study[[:space:]]of[[:space:]]Model[[:space:]]Brittleness[[:space:]]under[[:space:]]Retrieval/a53a7dde-9f55-4097-879d-8d0f47c9f695_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6271 |
+
2023/Open-Ended[[:space:]]Instructable[[:space:]]Embodied[[:space:]]Agents[[:space:]]with[[:space:]]Memory-Augmented[[:space:]]Large[[:space:]]Language[[:space:]]Models/2d8aafee-214b-4bd6-badd-e87f1acc2f5b_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6272 |
+
2023/Open-ended[[:space:]]Commonsense[[:space:]]Reasoning[[:space:]]with[[:space:]]Unrestricted[[:space:]]Answer[[:space:]]Candidates/29b3f86c-b009-4927-b2f7-fc283fd73359_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6273 |
+
2023/Open-source[[:space:]]Large[[:space:]]Language[[:space:]]Models[[:space:]]are[[:space:]]Strong[[:space:]]Zero-shot[[:space:]]Query[[:space:]]Likelihood[[:space:]]Models[[:space:]]for[[:space:]]Document[[:space:]]Ranking/3dfd33bf-8767-48fa-9101-9000558996d1_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6274 |
+
2023/Orca_[[:space:]]A[[:space:]]Few-shot[[:space:]]Benchmark[[:space:]]for[[:space:]]Chinese[[:space:]]Conversational[[:space:]]Machine[[:space:]]Reading[[:space:]]Comprehension/2a96f6ed-9c5b-4f78-9a3e-32eec0900efb_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6275 |
+
2023/Orthogonal[[:space:]]Subspace[[:space:]]Learning[[:space:]]for[[:space:]]Language[[:space:]]Model[[:space:]]Continual[[:space:]]Learning/d8acce6d-e884-48f7-8bfe-19dd0d322521_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6276 |
+
2023/PARROT_[[:space:]]Zero-Shot[[:space:]]Narrative[[:space:]]Reading[[:space:]]Comprehension[[:space:]]via[[:space:]]Parallel[[:space:]]Reading/574f0e5d-980c-4a84-9181-4ac1599ad1ed_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6277 |
+
2023/PAXQA_[[:space:]]Generating[[:space:]]Cross-lingual[[:space:]]Question[[:space:]]Answering[[:space:]]Examples[[:space:]]at[[:space:]]Training[[:space:]]Scale/41d7db00-7b39-4eaa-8f42-f0e43adacd55_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6278 |
+
2023/PCMID_[[:space:]]Multi-Intent[[:space:]]Detection[[:space:]]through[[:space:]]Supervised[[:space:]]Prototypical[[:space:]]Contrastive[[:space:]]Learning/c3853808-510c-4970-85fa-c7de96201ee0_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6279 |
+
2023/PIVOINE_[[:space:]]Instruction[[:space:]]Tuning[[:space:]]for[[:space:]]Open-world[[:space:]]Entity[[:space:]]Profiling/a351f98d-20a7-48c9-9f31-2534c52a2afb_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6280 |
+
2023/PMIndiaSum_[[:space:]]Multilingual[[:space:]]and[[:space:]]Cross-lingual[[:space:]]Headline[[:space:]]Summarization[[:space:]]for[[:space:]]Languages[[:space:]]in[[:space:]]India/29603321-be17-44fe-822c-c3854eaa848d_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6281 |
+
2023/POSQA_[[:space:]]Probe[[:space:]]the[[:space:]]World[[:space:]]Models[[:space:]]of[[:space:]]LLMs[[:space:]]with[[:space:]]Size[[:space:]]Comparisons/aa6de3c0-e648-4323-8a39-5231a7425401_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6282 |
+
2023/PR-MCS_[[:space:]]Perturbation[[:space:]]Robust[[:space:]]Metric[[:space:]]for[[:space:]]MultiLingual[[:space:]]Image[[:space:]]Captioning/6e4e1df8-bddd-49bd-a95e-d0ff2c65ba12_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6283 |
+
2023/PROTEGE_[[:space:]]Prompt-based[[:space:]]Diverse[[:space:]]Question[[:space:]]Generation[[:space:]]from[[:space:]]Web[[:space:]]Articles/e6f561f5-83c4-4528-89f3-c844f40f2ece_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6284 |
+
2023/PUNR_[[:space:]]Pre-training[[:space:]]with[[:space:]]User[[:space:]]Behavior[[:space:]]Modeling[[:space:]]for[[:space:]]News[[:space:]]Recommendation/7839b0e8-4c65-49dc-bc9a-993093cfeed1_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6285 |
+
2023/PaRaDe_[[:space:]]Passage[[:space:]]Ranking[[:space:]]using[[:space:]]Demonstrations[[:space:]]with[[:space:]]LLMs/b4457758-3317-44d1-a7a5-2d3ab010104b_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6286 |
+
2023/Parameter[[:space:]]Efficient[[:space:]]Multi-task[[:space:]]Fine-tuning[[:space:]]by[[:space:]]Learning[[:space:]]to[[:space:]]Transfer[[:space:]]Token-wise[[:space:]]Prompts/a194612c-07a7-4f0e-8134-8623472c3b04_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6287 |
+
2023/Parameter-Efficient[[:space:]]Cross-lingual[[:space:]]Transfer[[:space:]]of[[:space:]]Vision[[:space:]]and[[:space:]]Language[[:space:]]Models[[:space:]]via[[:space:]]Translation-based[[:space:]]Alignment/26d9d9a3-7a9f-474f-91b0-40379ce51f35_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6288 |
+
2023/Parameter-Efficient[[:space:]]Prompt[[:space:]]Tuning[[:space:]]Makes[[:space:]]Generalized[[:space:]]and[[:space:]]Calibrated[[:space:]]Neural[[:space:]]Text[[:space:]]Retrievers/a5b5efa0-10f1-46fa-8e37-dde7f71d29e2_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6289 |
+
2023/ParroT_[[:space:]]Translating[[:space:]]during[[:space:]]Chat[[:space:]]using[[:space:]]Large[[:space:]]Language[[:space:]]Models[[:space:]]tuned[[:space:]]with[[:space:]]Human[[:space:]]Translation[[:space:]]and[[:space:]]Feedback/c95bd735-348c-490e-a94a-47ffe248b75c_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6290 |
+
2023/Pass-Tuning_[[:space:]]Towards[[:space:]]Structure-Aware[[:space:]]Parameter-Efficient[[:space:]]Tuning[[:space:]]for[[:space:]]Code[[:space:]]Representation[[:space:]]Learning/8286ea35-5e0c-4493-ae9b-59a2896a756a_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6291 |
+
2023/Perceptual[[:space:]]Structure[[:space:]]in[[:space:]]the[[:space:]]absence[[:space:]]of[[:space:]]grounding_[[:space:]]the[[:space:]]impact[[:space:]]of[[:space:]]abstractedness[[:space:]]and[[:space:]]subjectivity[[:space:]]in[[:space:]]color[[:space:]]language[[:space:]]for[[:space:]]LLMs/d7bd4224-fa65-4388-8ce8-3c9d6cbed3db_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6292 |
+
2023/PersonaLM_[[:space:]]Language[[:space:]]Model[[:space:]]Personalization[[:space:]]via[[:space:]]Domain-distributed[[:space:]]Span[[:space:]]Aggregated[[:space:]]K-Nearest[[:space:]]N-gram[[:space:]]Retrieval[[:space:]]Augmentation/38f2675d-a219-4d39-81c8-04fede72fa30_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6293 |
+
2023/PerturbScore_[[:space:]]Connecting[[:space:]]Discrete[[:space:]]and[[:space:]]Continuous[[:space:]]Perturbations[[:space:]]in[[:space:]]NLP/97e8067e-bdd6-46fa-85ba-546c32b7dbe3_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6294 |
+
2023/Pit[[:space:]]One[[:space:]]Against[[:space:]]Many_[[:space:]]Leveraging[[:space:]]Attention-head[[:space:]]Embeddings[[:space:]]for[[:space:]]Parameter-efficient[[:space:]]Multi-head[[:space:]]Attention/5702c6b5-dcdc-45a8-b363-53e194749193_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6295 |
+
2023/PivotFEC_[[:space:]]Enhancing[[:space:]]Few-shot[[:space:]]Factual[[:space:]]Error[[:space:]]Correction[[:space:]]with[[:space:]]a[[:space:]]Pivot[[:space:]]Task[[:space:]]Approach[[:space:]]using[[:space:]]Large[[:space:]]Language[[:space:]]Models/b736fba6-2126-498e-abe8-157b8884fc6f_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6296 |
+
2023/Plausibility[[:space:]]Processing[[:space:]]in[[:space:]]Transformer[[:space:]]Language[[:space:]]Models_[[:space:]]Focusing[[:space:]]on[[:space:]]the[[:space:]]Role[[:space:]]of[[:space:]]Attention[[:space:]]Heads[[:space:]]in[[:space:]]GPT/1f2cea45-b6d9-47cd-8837-32016db5c4d2_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6297 |
+
2023/PlugMed_[[:space:]]Improving[[:space:]]Specificity[[:space:]]in[[:space:]]Patient-Centered[[:space:]]Medical[[:space:]]Dialogue[[:space:]]Generation[[:space:]]using[[:space:]]In-Context[[:space:]]Learning/ca6ff9d9-6a9e-4180-b3da-945a582cff5a_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6298 |
+
2023/Pragmatics[[:space:]]in[[:space:]]Language[[:space:]]Grounding_[[:space:]]Phenomena,[[:space:]]Tasks,[[:space:]]and[[:space:]]Modeling[[:space:]]Approaches/2ffd9f81-9a22-4f30-9148-303416c975f1_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 6299 |
+
2023/Pre-trained[[:space:]]Speech[[:space:]]Processing[[:space:]]Models[[:space:]]Contain[[:space:]]Human-Like[[:space:]]Biases[[:space:]]that[[:space:]]Propagate[[:space:]]to[[:space:]]Speech[[:space:]]Emotion[[:space:]]Recognition/ea8be79b-f55e-4ced-81fb-8b01940cc317_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
2023/Natural Response Generation for Chinese Reading Comprehension/deacd081-229d-47a6-82a1-c3842e05b39b_content_list.json
ADDED
|
@@ -0,0 +1,1915 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"type": "text",
|
| 4 |
+
"text": "Natural Response Generation for Chinese Reading Comprehension",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
151,
|
| 8 |
+
89,
|
| 9 |
+
847,
|
| 10 |
+
111
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Nuo Chen†,* Hongguang Li‡, Yinan Bao‡",
|
| 17 |
+
"bbox": [
|
| 18 |
+
326,
|
| 19 |
+
123,
|
| 20 |
+
673,
|
| 21 |
+
141
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "Baoyuan Wang\\* and Jia Li",
|
| 28 |
+
"bbox": [
|
| 29 |
+
371,
|
| 30 |
+
142,
|
| 31 |
+
630,
|
| 32 |
+
158
|
| 33 |
+
],
|
| 34 |
+
"page_idx": 0
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"type": "text",
|
| 38 |
+
"text": "$^{\\dagger}$ Hong Kong University of Science and Technology (Guangzhou),",
|
| 39 |
+
"bbox": [
|
| 40 |
+
233,
|
| 41 |
+
159,
|
| 42 |
+
766,
|
| 43 |
+
175
|
| 44 |
+
],
|
| 45 |
+
"page_idx": 0
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"type": "text",
|
| 49 |
+
"text": "Hong Kong University of Science and Technology",
|
| 50 |
+
"bbox": [
|
| 51 |
+
295,
|
| 52 |
+
175,
|
| 53 |
+
705,
|
| 54 |
+
192
|
| 55 |
+
],
|
| 56 |
+
"page_idx": 0
|
| 57 |
+
},
|
| 58 |
+
{
|
| 59 |
+
"type": "text",
|
| 60 |
+
"text": "‡ Xiaobing.AI",
|
| 61 |
+
"bbox": [
|
| 62 |
+
443,
|
| 63 |
+
192,
|
| 64 |
+
559,
|
| 65 |
+
208
|
| 66 |
+
],
|
| 67 |
+
"page_idx": 0
|
| 68 |
+
},
|
| 69 |
+
{
|
| 70 |
+
"type": "text",
|
| 71 |
+
"text": "†chennuo26@gmail.com, jialee@ust.hk",
|
| 72 |
+
"bbox": [
|
| 73 |
+
294,
|
| 74 |
+
208,
|
| 75 |
+
707,
|
| 76 |
+
225
|
| 77 |
+
],
|
| 78 |
+
"page_idx": 0
|
| 79 |
+
},
|
| 80 |
+
{
|
| 81 |
+
"type": "text",
|
| 82 |
+
"text": "Abstract",
|
| 83 |
+
"text_level": 1,
|
| 84 |
+
"bbox": [
|
| 85 |
+
260,
|
| 86 |
+
252,
|
| 87 |
+
339,
|
| 88 |
+
267
|
| 89 |
+
],
|
| 90 |
+
"page_idx": 0
|
| 91 |
+
},
|
| 92 |
+
{
|
| 93 |
+
"type": "text",
|
| 94 |
+
"text": "Machine reading comprehension (MRC) is an important area of conversation agents and draws a lot of attention. However, there is a notable limitation to current MRC benchmarks: The labeled answers are mostly either spans extracted from the target corpus or the choices of the given candidates, ignoring the natural aspect of high-quality responses. As a result, MRC models trained on these datasets can not generate human-like responses in real QA scenarios. To this end, we construct a new dataset called Penguin to promote the research of MRC, providing a training and test bed for natural response generation to real scenarios. Concretely, Penguin consists of 200k training data with high-quality fluent, and well-informed responses. Penguin is the first benchmark towards natural response generation in Chinese MRC on a relatively large scale. To address the challenges in Penguin, we develop two strong baselines: end-to-end and two-stage frameworks. Following that, we further design Prompt-BART: fine-tuning the pre-trained generative language models with a mixture of prefix prompts in Penguin. Extensive experiments validated the effectiveness of this design. Our benchmark and codes are available at https://github.com/nuochenpku/Penguin.",
|
| 95 |
+
"bbox": [
|
| 96 |
+
144,
|
| 97 |
+
282,
|
| 98 |
+
460,
|
| 99 |
+
695
|
| 100 |
+
],
|
| 101 |
+
"page_idx": 0
|
| 102 |
+
},
|
| 103 |
+
{
|
| 104 |
+
"type": "text",
|
| 105 |
+
"text": "1 Introduction",
|
| 106 |
+
"text_level": 1,
|
| 107 |
+
"bbox": [
|
| 108 |
+
114,
|
| 109 |
+
711,
|
| 110 |
+
258,
|
| 111 |
+
726
|
| 112 |
+
],
|
| 113 |
+
"page_idx": 0
|
| 114 |
+
},
|
| 115 |
+
{
|
| 116 |
+
"type": "text",
|
| 117 |
+
"text": "Machine Reading comprehension (MRC) aims to empower the machine to correctly answer queries based on the given passages or paragraphs, which is an active field in NLP. Much of this popularity can be attributed to the release of many annotated and publicly available datasets (Rajpurkar et al., 2016; Trischler et al., 2016; Chen et al., 2022a; You et al., 2022; Chen et al., 2023a). Formally, these MRC efforts can be classified into two most",
|
| 118 |
+
"bbox": [
|
| 119 |
+
112,
|
| 120 |
+
738,
|
| 121 |
+
489,
|
| 122 |
+
883
|
| 123 |
+
],
|
| 124 |
+
"page_idx": 0
|
| 125 |
+
},
|
| 126 |
+
{
|
| 127 |
+
"type": "text",
|
| 128 |
+
"text": "popular streams<sup>1</sup> from the answer type perspective: span-extraction (Rajpurkar et al., 2016; Trischler et al., 2016; Cui et al., 2019; Chen et al., 2022b; You et al., 2021a) and multiple choices (Lai et al., 2017; Zellers et al., 2018; Wang et al., 2020). The former requires the model to locate the text span in the given passage as the answer, e.g., SQuAD (Rajpurkar et al., 2016) and NewQA (Trischler et al., 2016). SQuAD, for example, introduces extracted span answers. The latter needs to choose the answer from a list of candidates like RACE (Lai et al., 2017). Considering most of the existing works are built in English, several efforts have been proposed to further advance MRC in Chinese such as DuReader (He et al., 2017), CMRC 2018 (Cui et al., 2019), ReCo (Wang et al., 2020).",
|
| 129 |
+
"bbox": [
|
| 130 |
+
507,
|
| 131 |
+
252,
|
| 132 |
+
884,
|
| 133 |
+
508
|
| 134 |
+
],
|
| 135 |
+
"page_idx": 0
|
| 136 |
+
},
|
| 137 |
+
{
|
| 138 |
+
"type": "text",
|
| 139 |
+
"text": "Nonetheless, despite significant achievements in the various types and on a relatively large scale, a significant barrier that has rarely been discussed in previous MRC efforts remains: Annotated answers among these datasets are almost limited to spans in the source document or the given candidates. While spans directly copied from the source document and simple words like \"yes/no\" can be seen as ground-truth answers, they don't sound like natural responses in real-life scenarios. In reality, the responses of humans are always generated with flexibility and information rather than being forced to select certain type spans (e.g., entities and person) or one of the candidates.",
|
| 140 |
+
"bbox": [
|
| 141 |
+
507,
|
| 142 |
+
511,
|
| 143 |
+
884,
|
| 144 |
+
734
|
| 145 |
+
],
|
| 146 |
+
"page_idx": 0
|
| 147 |
+
},
|
| 148 |
+
{
|
| 149 |
+
"type": "text",
|
| 150 |
+
"text": "This work devotes itself to natural response generation for Chinese MRC, catering to real-world QA scenarios. Intuitively, we can try two existing technical routes to generate natural responses towards MRC at the moment: 1) Optimizing generative language models (GLMs) such as BART and T5 with predetermined and inflexible answers on the above benchmarks. 2) Use extremely large-",
|
| 151 |
+
"bbox": [
|
| 152 |
+
507,
|
| 153 |
+
738,
|
| 154 |
+
884,
|
| 155 |
+
866
|
| 156 |
+
],
|
| 157 |
+
"page_idx": 0
|
| 158 |
+
},
|
| 159 |
+
{
|
| 160 |
+
"type": "page_footnote",
|
| 161 |
+
"text": "*Work done when interned at Xiaobing.AI. § Indicates Corresponding authors.",
|
| 162 |
+
"bbox": [
|
| 163 |
+
112,
|
| 164 |
+
892,
|
| 165 |
+
487,
|
| 166 |
+
917
|
| 167 |
+
],
|
| 168 |
+
"page_idx": 0
|
| 169 |
+
},
|
| 170 |
+
{
|
| 171 |
+
"type": "page_footnote",
|
| 172 |
+
"text": "<sup>1</sup>Some answer free-form datasets with extracted span answers and yes/no/unknown candidates classification also can be seen as the span-extraction and multiple choice settings.",
|
| 173 |
+
"bbox": [
|
| 174 |
+
507,
|
| 175 |
+
881,
|
| 176 |
+
882,
|
| 177 |
+
917
|
| 178 |
+
],
|
| 179 |
+
"page_idx": 0
|
| 180 |
+
},
|
| 181 |
+
{
|
| 182 |
+
"type": "page_number",
|
| 183 |
+
"text": "11068",
|
| 184 |
+
"bbox": [
|
| 185 |
+
475,
|
| 186 |
+
927,
|
| 187 |
+
524,
|
| 188 |
+
940
|
| 189 |
+
],
|
| 190 |
+
"page_idx": 0
|
| 191 |
+
},
|
| 192 |
+
{
|
| 193 |
+
"type": "footer",
|
| 194 |
+
"text": "Findings of the Association for Computational Linguistics: EMNLP 2023, pages 11068-11081",
|
| 195 |
+
"bbox": [
|
| 196 |
+
208,
|
| 197 |
+
945,
|
| 198 |
+
784,
|
| 199 |
+
958
|
| 200 |
+
],
|
| 201 |
+
"page_idx": 0
|
| 202 |
+
},
|
| 203 |
+
{
|
| 204 |
+
"type": "footer",
|
| 205 |
+
"text": "December 6-10, 2023 ©2023 Association for Computational Linguistics",
|
| 206 |
+
"bbox": [
|
| 207 |
+
277,
|
| 208 |
+
958,
|
| 209 |
+
719,
|
| 210 |
+
971
|
| 211 |
+
],
|
| 212 |
+
"page_idx": 0
|
| 213 |
+
},
|
| 214 |
+
{
|
| 215 |
+
"type": "table",
|
| 216 |
+
"img_path": "images/3995d783969ffe7705391ffa2af0ef3c65d6b89ae984350721722a74fac5d410.jpg",
|
| 217 |
+
"table_caption": [],
|
| 218 |
+
"table_footnote": [],
|
| 219 |
+
"table_body": "<table><tr><td>Passage</td><td>...Bream, which is traditionally steamed or braised, is a popular fish. Soup should of course be cooked, but soles is not suitable for this dish because of its fleshy nature...\n...鳊鱼一直备受人们喜爱,鳊鱼的传统做法是清蒸或者红烧。当然不排除可以烧汤,但是鉴于鳊鱼的肉质特色,不是很适合烧汤的...</td></tr><tr><td>Question</td><td>Can bream be stewed in soup?\n鳊鱼可以炖汤吗?</td></tr><tr><td>Candidates</td><td>Of Course | No, you can't | Uncertain\n可以|不可以|不确定</td></tr><tr><td>BART</td><td>Of Course\n可以</td></tr><tr><td>GPT-3</td><td>Yes! If you want to stew soup, in think-ing, then we still choose to have.\n是可以的!想要炖汤的话,在思考,那么我们还是选择有。</td></tr><tr><td>Expected\nResponse</td><td>Bream can be used in soups but is generally not recommended.\n鳊鱼可以用来煮汤,但是一般不推荐这么做。</td></tr></table>",
|
| 220 |
+
"bbox": [
|
| 221 |
+
122,
|
| 222 |
+
80,
|
| 223 |
+
480,
|
| 224 |
+
404
|
| 225 |
+
],
|
| 226 |
+
"page_idx": 1
|
| 227 |
+
},
|
| 228 |
+
{
|
| 229 |
+
"type": "text",
|
| 230 |
+
"text": "Table 1: An example from ReCo (Wang et al., 2020). The text in bold refers to the answer in the candidates or the expected response. English translation is also given for comparison.",
|
| 231 |
+
"bbox": [
|
| 232 |
+
112,
|
| 233 |
+
412,
|
| 234 |
+
489,
|
| 235 |
+
470
|
| 236 |
+
],
|
| 237 |
+
"page_idx": 1
|
| 238 |
+
},
|
| 239 |
+
{
|
| 240 |
+
"type": "text",
|
| 241 |
+
"text": "scale pre-trained GLMs like GPT-3 (more than 100 billion parameters) (Brown et al., 2020) with few-shot in-context learning.",
|
| 242 |
+
"bbox": [
|
| 243 |
+
112,
|
| 244 |
+
479,
|
| 245 |
+
489,
|
| 246 |
+
527
|
| 247 |
+
],
|
| 248 |
+
"page_idx": 1
|
| 249 |
+
},
|
| 250 |
+
{
|
| 251 |
+
"type": "text",
|
| 252 |
+
"text": "We showcase a multi-choice MRC example from ReCo (Wang et al., 2020) in Table 1, where the query is a typical yes-or-no question and the answer is required to be one of the candidates. We fine-tune BART-large (Lewis et al., 2020) on ReCo and find that the resulting model can accurately predict the answer: \"of course\" in this case. However, the prediction is accurate but stiff and lacking in detail. On the other hand, we use GPT-3 under few-shot from ReCo and validate its generated response via the same case in Table 1. Obviously, the produced result \"Yes! If you want to... we still choose to have\" is fluent yet incoherent and semantically incorrect. Ideally, the qualified response of humans should be informative and fluent, like \"Bream can be used .... not recommended\". In other words, although these models are proficient, they can't produce fluent and accurate responses for reading comprehension.",
|
| 253 |
+
"bbox": [
|
| 254 |
+
112,
|
| 255 |
+
529,
|
| 256 |
+
489,
|
| 257 |
+
818
|
| 258 |
+
],
|
| 259 |
+
"page_idx": 1
|
| 260 |
+
},
|
| 261 |
+
{
|
| 262 |
+
"type": "text",
|
| 263 |
+
"text": "Based on the above analysis, we can draw the conclusion that it is impossible to build an effective MRC model for natural $^2$ response generation in the absence of a benchmark with well-labeled",
|
| 264 |
+
"bbox": [
|
| 265 |
+
112,
|
| 266 |
+
819,
|
| 267 |
+
489,
|
| 268 |
+
883
|
| 269 |
+
],
|
| 270 |
+
"page_idx": 1
|
| 271 |
+
},
|
| 272 |
+
{
|
| 273 |
+
"type": "text",
|
| 274 |
+
"text": "responses. To this end, we move forward to push the boundary of MRC: Firstly, we collect the first Chinese generative reading comprehension (GRC) dataset named Penguin to facilitate research of natural response generation for Chinese MRC. Formally, Penguin poses a new challenge to current MRC models: Not only should the responses be accurate, but they also need to be natural (as fluent and informative as possible). Concretely, Penguin contains 200k training and a 15K test corpus with high-quality fluent and informative responses. Table 2 shows the overview of current MRC datasets and Penguin.",
|
| 275 |
+
"bbox": [
|
| 276 |
+
505,
|
| 277 |
+
84,
|
| 278 |
+
884,
|
| 279 |
+
292
|
| 280 |
+
],
|
| 281 |
+
"page_idx": 1
|
| 282 |
+
},
|
| 283 |
+
{
|
| 284 |
+
"type": "text",
|
| 285 |
+
"text": "Secondly, we design two GRC pipelines based on this non-trivial dataset: i) end-to-end; ii) two-stage training. For the former, we directly take the question and corresponding passage as input, generating a sequence of words as responses. The latter consists of two modules: Answerer and Responser. Answerer is responsible for generating initial answers based on the question and passage. Then Responser rewrites and expands the generated answers into human-like responses. Experimentally, two pipelines achieve promising results in Penguin.",
|
| 286 |
+
"bbox": [
|
| 287 |
+
505,
|
| 288 |
+
294,
|
| 289 |
+
884,
|
| 290 |
+
470
|
| 291 |
+
],
|
| 292 |
+
"page_idx": 1
|
| 293 |
+
},
|
| 294 |
+
{
|
| 295 |
+
"type": "text",
|
| 296 |
+
"text": "Finally, we propose Prompt-BART, an approach for fine-tuning pre-trained generative language models using a wide variety of prefix prompts in Penguin. The resulting model, as stated in the prompt that accompanied it, boosted the overall performance.",
|
| 297 |
+
"bbox": [
|
| 298 |
+
507,
|
| 299 |
+
473,
|
| 300 |
+
882,
|
| 301 |
+
569
|
| 302 |
+
],
|
| 303 |
+
"page_idx": 1
|
| 304 |
+
},
|
| 305 |
+
{
|
| 306 |
+
"type": "text",
|
| 307 |
+
"text": "2 Related Work",
|
| 308 |
+
"text_level": 1,
|
| 309 |
+
"bbox": [
|
| 310 |
+
507,
|
| 311 |
+
583,
|
| 312 |
+
665,
|
| 313 |
+
599
|
| 314 |
+
],
|
| 315 |
+
"page_idx": 1
|
| 316 |
+
},
|
| 317 |
+
{
|
| 318 |
+
"type": "text",
|
| 319 |
+
"text": "Machine Reading Comprehension During the past few years, Machine Reading Comprehension (MRC) (Rajpurkar et al., 2016; Trischler et al., 2016; You et al., 2021b; Chen et al., 2021; Song et al., 2023; Chen et al., 2023b) receives lots of attention from research communities and various related benchmarks have been proposed: SQuAD (Rajpurkar et al., 2016), MS-MarCO (Nguyen et al., 2016), NewQA (Trischler et al., 2016) and RACE (Lai et al., 2017), etc. Following this line of research, some works aim to accelerate the development of Chinese MRC on language diversity, such as DuReader (He et al., 2017), CMRC 2018 (Cui et al., 2019), ReCo (Wang et al., 2020).",
|
| 320 |
+
"bbox": [
|
| 321 |
+
505,
|
| 322 |
+
612,
|
| 323 |
+
884,
|
| 324 |
+
837
|
| 325 |
+
],
|
| 326 |
+
"page_idx": 1
|
| 327 |
+
},
|
| 328 |
+
{
|
| 329 |
+
"type": "text",
|
| 330 |
+
"text": "These well-designed and large-scale benchmarks facilitate the research of various types of MRC tasks, but they ignore the fact that answers are primarily confined to text span extraction from the source document or choosing candidates. In com",
|
| 331 |
+
"bbox": [
|
| 332 |
+
507,
|
| 333 |
+
838,
|
| 334 |
+
884,
|
| 335 |
+
917
|
| 336 |
+
],
|
| 337 |
+
"page_idx": 1
|
| 338 |
+
},
|
| 339 |
+
{
|
| 340 |
+
"type": "page_footnote",
|
| 341 |
+
"text": "2In this work, we argue that natural response are fluent and informative.",
|
| 342 |
+
"bbox": [
|
| 343 |
+
112,
|
| 344 |
+
891,
|
| 345 |
+
487,
|
| 346 |
+
917
|
| 347 |
+
],
|
| 348 |
+
"page_idx": 1
|
| 349 |
+
},
|
| 350 |
+
{
|
| 351 |
+
"type": "page_number",
|
| 352 |
+
"text": "11069",
|
| 353 |
+
"bbox": [
|
| 354 |
+
477,
|
| 355 |
+
927,
|
| 356 |
+
524,
|
| 357 |
+
940
|
| 358 |
+
],
|
| 359 |
+
"page_idx": 1
|
| 360 |
+
},
|
| 361 |
+
{
|
| 362 |
+
"type": "text",
|
| 363 |
+
"text": "parison with natural human responses, these answers are less informative and less fluid. In other words, models trained on the above datasets do not have strong ability to generate fluent, natural as well as informative responses. Although recent works (Bi et al., 2019; Li et al., 2021) develop sequence-to-sequence frameworks to address the challenge in MS-MarCO (Nguyen et al., 2016), they still regard some abstractive answers as the optimized objective, which consist of some uninformative extracted spans from the passage, leading to responses that are far away from fluent and fluid text. To this end, we propose a new dataset Penguin to encourage further progress in natural response generation of Chinese MRC.",
|
| 364 |
+
"bbox": [
|
| 365 |
+
112,
|
| 366 |
+
84,
|
| 367 |
+
492,
|
| 368 |
+
326
|
| 369 |
+
],
|
| 370 |
+
"page_idx": 2
|
| 371 |
+
},
|
| 372 |
+
{
|
| 373 |
+
"type": "text",
|
| 374 |
+
"text": "Natural Generative Question Answering Similar to our work, natural generative question answering (NGQA) (Yin et al., 2016; Huang and Zhong, 2018; Bi et al., 2019; Jiang et al., 2022) also aims at generating natural responses to questions. Although both tasks share a similar target, the research question and task settings differ: Firstly, NGQA produces responses to simple factoid questions based on the naive entity triplets that are given as external knowledge. In contrast, we focus on yielding fluent responses based on a deep understanding of the question and passage. Such a deep understanding of interaction between question and passage is more challenging than the simple entity triplets. Moreover, GRC closely resembles humans asking questions about a certain topic and generating corresponding replies. Last, previous NGQA efforts were limited to the English corpus, whereas we are expanding it to Chinese.",
|
| 375 |
+
"bbox": [
|
| 376 |
+
112,
|
| 377 |
+
348,
|
| 378 |
+
490,
|
| 379 |
+
653
|
| 380 |
+
],
|
| 381 |
+
"page_idx": 2
|
| 382 |
+
},
|
| 383 |
+
{
|
| 384 |
+
"type": "text",
|
| 385 |
+
"text": "3 DataSet",
|
| 386 |
+
"text_level": 1,
|
| 387 |
+
"bbox": [
|
| 388 |
+
112,
|
| 389 |
+
678,
|
| 390 |
+
218,
|
| 391 |
+
694
|
| 392 |
+
],
|
| 393 |
+
"page_idx": 2
|
| 394 |
+
},
|
| 395 |
+
{
|
| 396 |
+
"type": "text",
|
| 397 |
+
"text": "3.1 Task Definition",
|
| 398 |
+
"text_level": 1,
|
| 399 |
+
"bbox": [
|
| 400 |
+
112,
|
| 401 |
+
713,
|
| 402 |
+
280,
|
| 403 |
+
728
|
| 404 |
+
],
|
| 405 |
+
"page_idx": 2
|
| 406 |
+
},
|
| 407 |
+
{
|
| 408 |
+
"type": "text",
|
| 409 |
+
"text": "Generally, machine reading comprehension task can be illustrated as $\\langle \\mathcal{P}, \\mathcal{Q}, \\mathcal{A} \\rangle$ , where $\\mathcal{P}$ is the paragraph or the whole passage, $\\mathcal{Q}$ represents questions, $\\mathcal{A}$ refers to answers. Previous works tend to model MRC as a classification task with the objective of selecting $\\mathcal{A}$ from several candidates or finding the text span of $\\mathcal{A}$ in $\\mathcal{P}$ . In contrast, we formalize MRC as a sequence-to-sequence task, where the objective is to generate fluent and factual responses: $\\mathcal{R}$ . In this work, we include $\\langle \\mathcal{P}, \\mathcal{Q}, \\mathcal{A}, \\mathcal{R} \\rangle$ in Penguin.",
|
| 410 |
+
"bbox": [
|
| 411 |
+
112,
|
| 412 |
+
741,
|
| 413 |
+
490,
|
| 414 |
+
919
|
| 415 |
+
],
|
| 416 |
+
"page_idx": 2
|
| 417 |
+
},
|
| 418 |
+
{
|
| 419 |
+
"type": "table",
|
| 420 |
+
"img_path": "images/0de47f22c2549fcd759900c4b5e10bdaf4a5fd425c21c4d4ddc92bedf8b5e373.jpg",
|
| 421 |
+
"table_caption": [],
|
| 422 |
+
"table_footnote": [],
|
| 423 |
+
"table_body": "<table><tr><td>Dataset</td><td>Lang.</td><td>Answer Type</td><td>Size</td></tr><tr><td>SQuAD (2016)</td><td>EN</td><td>Span</td><td>100K</td></tr><tr><td>RACE (2017)</td><td>EN</td><td>Multi-Choices</td><td>87K</td></tr><tr><td>MarCO (2016)</td><td>EN</td><td>Free-Form</td><td>100K</td></tr><tr><td>NewsQA (2016)</td><td>EN</td><td>Span</td><td>100K</td></tr><tr><td>DuReader (2017)</td><td>CN</td><td>Free-Form</td><td>200k</td></tr><tr><td>CMRC (2019)</td><td>CN</td><td>Span</td><td>20K</td></tr><tr><td>ReCo (2020)</td><td>CN</td><td>Multi-Choices</td><td>300K</td></tr><tr><td>Penguin</td><td>CN</td><td>Natural Response</td><td>200K</td></tr></table>",
|
| 424 |
+
"bbox": [
|
| 425 |
+
510,
|
| 426 |
+
80,
|
| 427 |
+
887,
|
| 428 |
+
212
|
| 429 |
+
],
|
| 430 |
+
"page_idx": 2
|
| 431 |
+
},
|
| 432 |
+
{
|
| 433 |
+
"type": "text",
|
| 434 |
+
"text": "Table 2: Datasets Comparison. EN and CN refer to English and Chinese, separately.",
|
| 435 |
+
"bbox": [
|
| 436 |
+
507,
|
| 437 |
+
222,
|
| 438 |
+
882,
|
| 439 |
+
250
|
| 440 |
+
],
|
| 441 |
+
"page_idx": 2
|
| 442 |
+
},
|
| 443 |
+
{
|
| 444 |
+
"type": "text",
|
| 445 |
+
"text": "3.2 Dataset Collection",
|
| 446 |
+
"text_level": 1,
|
| 447 |
+
"bbox": [
|
| 448 |
+
507,
|
| 449 |
+
260,
|
| 450 |
+
700,
|
| 451 |
+
274
|
| 452 |
+
],
|
| 453 |
+
"page_idx": 2
|
| 454 |
+
},
|
| 455 |
+
{
|
| 456 |
+
"type": "text",
|
| 457 |
+
"text": "As aforementioned, a high-quality dataset is a prerequisite for building effective GRC models. Unfortunately, current datasets don't contain well-informed and natural responses. To facilitate the study of MRC, we collect a new dataset: Penguin, in the hopes of creating sophisticated GRC models that can generate natural responses for practical QA situations. Considering constructing such a dataset on a large scale is non-trivial, we initialize our dataset from the current Chinese MRC dataset corpus to get raw passage-question-answer $(<\\mathcal{P}, \\mathcal{Q}, \\mathcal{A})$ triplets, including CMRC 2018, DuReader, and ReCo.",
|
| 458 |
+
"bbox": [
|
| 459 |
+
507,
|
| 460 |
+
281,
|
| 461 |
+
884,
|
| 462 |
+
488
|
| 463 |
+
],
|
| 464 |
+
"page_idx": 2
|
| 465 |
+
},
|
| 466 |
+
{
|
| 467 |
+
"type": "text",
|
| 468 |
+
"text": "It is extremely difficult and expensive to ask the annotator to start from scratch and write a response $\\mathcal{R}$ that makes sense and sounds natural for each $<\\mathcal{P}, \\mathcal{Q}, \\mathcal{A}>$ triplet. Therefore, we generate informative and fluent responses via the following steps: (1) We first utilize a specific response generative model (short for Responser) to generate initial responses for the above triplets; (2) Then, we use state-of-the-art semantic matching models alongside certain manually-created criteria to exclude samples of incoherence and semantic shift; (3) Last, we employ three professional annotators to rewrite and recheck undesired cases, therefore regulating data quality. As a result, we collect a sequence of 4-tuples: $<\\mathcal{P}, \\mathcal{Q}, \\mathcal{A}, \\mathcal{R}>$ in Penguin, where $\\mathcal{R}$ is the labeled response. In the following, we will introduce the detailed procedures of these steps, sequentially. The conceptual process of data collection is presented in Figure 1.",
|
| 469 |
+
"bbox": [
|
| 470 |
+
507,
|
| 471 |
+
491,
|
| 472 |
+
884,
|
| 473 |
+
796
|
| 474 |
+
],
|
| 475 |
+
"page_idx": 2
|
| 476 |
+
},
|
| 477 |
+
{
|
| 478 |
+
"type": "text",
|
| 479 |
+
"text": "Responder Prior to going further, the main concern is how to get an effective sequence-to-sequence responder model. Furthermore, more pressing than any of these other issues is figuring out where to collect the high-quality Chinese corpus needed to train the responder. Inspired by NGQA works, We first get the English <question,",
|
| 480 |
+
"bbox": [
|
| 481 |
+
507,
|
| 482 |
+
806,
|
| 483 |
+
885,
|
| 484 |
+
919
|
| 485 |
+
],
|
| 486 |
+
"page_idx": 2
|
| 487 |
+
},
|
| 488 |
+
{
|
| 489 |
+
"type": "page_number",
|
| 490 |
+
"text": "11070",
|
| 491 |
+
"bbox": [
|
| 492 |
+
477,
|
| 493 |
+
927,
|
| 494 |
+
524,
|
| 495 |
+
940
|
| 496 |
+
],
|
| 497 |
+
"page_idx": 2
|
| 498 |
+
},
|
| 499 |
+
{
|
| 500 |
+
"type": "image",
|
| 501 |
+
"img_path": "images/0d340609ffe895c643a7c0f4c5381ab5b681f4ad5d6d3f89a882bb0b01994b18.jpg",
|
| 502 |
+
"image_caption": [
|
| 503 |
+
"Figure 1: Data collection pipeline"
|
| 504 |
+
],
|
| 505 |
+
"image_footnote": [],
|
| 506 |
+
"bbox": [
|
| 507 |
+
157,
|
| 508 |
+
84,
|
| 509 |
+
467,
|
| 510 |
+
429
|
| 511 |
+
],
|
| 512 |
+
"page_idx": 3
|
| 513 |
+
},
|
| 514 |
+
{
|
| 515 |
+
"type": "text",
|
| 516 |
+
"text": "answer, response> triplets in (Baheti et al., 2020). Then we utilize machine translation systems to translate these data from English to Chinese. Considering translated corpus will inevitably have erroneous examples, we utilize perplexity (Brown et al., 1992) to identify and weed out some bad cases. Following the line of Yin et al. (2016), Bart-large is employed as the backbone of responder to fine-tune on these translated corpus, which takes the question as well as answer as input and then outputs response during training. Subsequently, the resulting responder models are used to inference on each $\\langle \\mathcal{P}, \\mathcal{Q}, \\mathcal{A} \\rangle$ triplet from CMRC 2018, DuReader and ReCo, generating initial responses. Concretely, responder takes the passage and question as input, then outputs the response during inference.",
|
| 517 |
+
"bbox": [
|
| 518 |
+
112,
|
| 519 |
+
479,
|
| 520 |
+
489,
|
| 521 |
+
736
|
| 522 |
+
],
|
| 523 |
+
"page_idx": 3
|
| 524 |
+
},
|
| 525 |
+
{
|
| 526 |
+
"type": "text",
|
| 527 |
+
"text": "Data Filtering Intuitively, the collected initial responses might be stilted, evasive, and semantically challenging to connect with its corresponding questions and answers. Therefore, we employ state-of-the-art Chinese semantic matching models on LCQMC leadboard<sup>3</sup> to compute the sentence similarity of the generated response and answer. Roughly, we will throw out an instance if the simi",
|
| 528 |
+
"bbox": [
|
| 529 |
+
112,
|
| 530 |
+
750,
|
| 531 |
+
489,
|
| 532 |
+
879
|
| 533 |
+
],
|
| 534 |
+
"page_idx": 3
|
| 535 |
+
},
|
| 536 |
+
{
|
| 537 |
+
"type": "table",
|
| 538 |
+
"img_path": "images/3bd857cc6ca00886ac0ee63135e2db8b8ec24021d78527bc9239c1cbaacabbf2.jpg",
|
| 539 |
+
"table_caption": [],
|
| 540 |
+
"table_footnote": [],
|
| 541 |
+
"table_body": "<table><tr><td colspan=\"2\">Statistics</td><td>Train</td><td>Dev</td><td>Test</td></tr><tr><td colspan=\"2\"><P, Q, A, R></td><td>200k</td><td>10k</td><td>15k</td></tr><tr><td rowspan=\"3\">Passage tokens</td><td>Max.</td><td>492</td><td>486</td><td>490</td></tr><tr><td>Min.</td><td>24</td><td>19</td><td>31</td></tr><tr><td>Ave.</td><td>84.3</td><td>82.45</td><td>84.85</td></tr><tr><td rowspan=\"3\">Question tokens</td><td>Max.</td><td>61</td><td>37</td><td>17</td></tr><tr><td>Min.</td><td>4</td><td>5</td><td>5</td></tr><tr><td>Ave.</td><td>11.5</td><td>11.6</td><td>11.5</td></tr><tr><td rowspan=\"3\">Answer tokens</td><td>Max.</td><td>20</td><td>11</td><td>20</td></tr><tr><td>Min.</td><td>1</td><td>1</td><td>1</td></tr><tr><td>Ave.</td><td>2.8</td><td>2.6</td><td>2.1</td></tr><tr><td rowspan=\"3\">Response tokens</td><td>Max.</td><td>42</td><td>26</td><td>33</td></tr><tr><td>Min.</td><td>6</td><td>6</td><td>6</td></tr><tr><td>Ave.</td><td>10.1</td><td>9.6</td><td>9.7</td></tr></table>",
|
| 542 |
+
"bbox": [
|
| 543 |
+
522,
|
| 544 |
+
82,
|
| 545 |
+
870,
|
| 546 |
+
292
|
| 547 |
+
],
|
| 548 |
+
"page_idx": 3
|
| 549 |
+
},
|
| 550 |
+
{
|
| 551 |
+
"type": "text",
|
| 552 |
+
"text": "Table 3: Overall data Statistics in Penguin.",
|
| 553 |
+
"bbox": [
|
| 554 |
+
547,
|
| 555 |
+
302,
|
| 556 |
+
840,
|
| 557 |
+
317
|
| 558 |
+
],
|
| 559 |
+
"page_idx": 3
|
| 560 |
+
},
|
| 561 |
+
{
|
| 562 |
+
"type": "text",
|
| 563 |
+
"text": "larity score between the response and the answer is below the pre-defined threshold. To be more specific, the generated response just can be seen as replacing a few words in the answer in some cases, resulting in the extremely high similarity between the answer and the response. e.g., given the question \"How tall is Yao Ming\", and the answer \"He is $2.29\\mathrm{m}$ \". the generated response could be \"Yao Ming is $2.29\\mathrm{m}$ .\" For these cases, the threshold used to filter incoherent samples will be manually larger (more than 0.95). On the other hand, in certain instances, where the generated response provides the final piece of missing information based on the answer, the threshold will be manually lowered (lower than $0.3)^4$ . Besides, we employ additional scoring and filtering rules to identify the most grammatically correct and contextually relevant response (if any) to each $\\langle \\mathcal{P}, \\mathcal{Q}, \\mathcal{A} \\rangle$ triplet. For instance, we remove the samples where the length of the response is less than the length of the answer plus 5.",
|
| 564 |
+
"bbox": [
|
| 565 |
+
507,
|
| 566 |
+
326,
|
| 567 |
+
884,
|
| 568 |
+
646
|
| 569 |
+
],
|
| 570 |
+
"page_idx": 3
|
| 571 |
+
},
|
| 572 |
+
{
|
| 573 |
+
"type": "text",
|
| 574 |
+
"text": "Human Annotation In the above, we automatically generate the response via the effective responder, and then try to filter out some meaningless examples. To further control the training data quality, we recruit another three professional annotators to re-check each example and revise undesirable cases. In detail, each piece of data is verified by two different annotators. These annotators review the generated responses after reading the relevant question, passage, and answer. If the generated response is unnatural, they try rephrasing the statement to obtain a fair response. Thereafter, another annotator rates their annotations' quality, avoiding bias and getting high-agreement data. As a result,",
|
| 575 |
+
"bbox": [
|
| 576 |
+
507,
|
| 577 |
+
658,
|
| 578 |
+
884,
|
| 579 |
+
883
|
| 580 |
+
],
|
| 581 |
+
"page_idx": 3
|
| 582 |
+
},
|
| 583 |
+
{
|
| 584 |
+
"type": "page_footnote",
|
| 585 |
+
"text": "4We manually select these thresholds based on experiments.",
|
| 586 |
+
"bbox": [
|
| 587 |
+
507,
|
| 588 |
+
892,
|
| 589 |
+
882,
|
| 590 |
+
916
|
| 591 |
+
],
|
| 592 |
+
"page_idx": 3
|
| 593 |
+
},
|
| 594 |
+
{
|
| 595 |
+
"type": "page_footnote",
|
| 596 |
+
"text": "$^{3}$ https://paperswithcode.com/sota/chinese-sentence-pair-classification-on-lcqmc",
|
| 597 |
+
"bbox": [
|
| 598 |
+
112,
|
| 599 |
+
891,
|
| 600 |
+
487,
|
| 601 |
+
917
|
| 602 |
+
],
|
| 603 |
+
"page_idx": 3
|
| 604 |
+
},
|
| 605 |
+
{
|
| 606 |
+
"type": "page_number",
|
| 607 |
+
"text": "11071",
|
| 608 |
+
"bbox": [
|
| 609 |
+
477,
|
| 610 |
+
927,
|
| 611 |
+
522,
|
| 612 |
+
940
|
| 613 |
+
],
|
| 614 |
+
"page_idx": 3
|
| 615 |
+
},
|
| 616 |
+
{
|
| 617 |
+
"type": "image",
|
| 618 |
+
"img_path": "images/cec546d28a321e596f13e046d20fa46b16adc0640b1cf60e9e604155d4e6173c.jpg",
|
| 619 |
+
"image_caption": [
|
| 620 |
+
"Figure 2: Question types in Penguin. Empty colored blocks indicate suffixes that are too rare to show."
|
| 621 |
+
],
|
| 622 |
+
"image_footnote": [],
|
| 623 |
+
"bbox": [
|
| 624 |
+
147,
|
| 625 |
+
84,
|
| 626 |
+
460,
|
| 627 |
+
329
|
| 628 |
+
],
|
| 629 |
+
"page_idx": 4
|
| 630 |
+
},
|
| 631 |
+
{
|
| 632 |
+
"type": "text",
|
| 633 |
+
"text": "we collect high quality 4-tuples: $< \\mathcal{P}, \\mathcal{Q}, \\mathcal{A}, \\mathcal{R} >$ .",
|
| 634 |
+
"bbox": [
|
| 635 |
+
112,
|
| 636 |
+
388,
|
| 637 |
+
473,
|
| 638 |
+
406
|
| 639 |
+
],
|
| 640 |
+
"page_idx": 4
|
| 641 |
+
},
|
| 642 |
+
{
|
| 643 |
+
"type": "text",
|
| 644 |
+
"text": "Test set Annotation We additionally hire eight expert annotators to choose and create questions and their answers from social media and themselves, bringing the acquired data closer to real-world events and increasing variety. Concretely, eight annotators are split into four smaller groups, and each of them consists of one questioner and one answerer. Questioners first select questions or question the news they are interested in from current social media platforms like weibo and zhihu. Then, answerers get related passages that contain corresponding knowledge about each question from Bing search. Following that, they must select the excerpt from the retrieved ones that is the most relevant to the annotated question at hand. After reading the question and its accompanying passage, they then annotate responses at last. Similarly, we recruit two annotators to recheck the data twice, further guaranteeing data quality. This way, we collect 15k data in our test set.",
|
| 645 |
+
"bbox": [
|
| 646 |
+
112,
|
| 647 |
+
416,
|
| 648 |
+
489,
|
| 649 |
+
736
|
| 650 |
+
],
|
| 651 |
+
"page_idx": 4
|
| 652 |
+
},
|
| 653 |
+
{
|
| 654 |
+
"type": "text",
|
| 655 |
+
"text": "The general statistics in Penguin are presented in Table 3. In total, we collect train, development, and test set, which consists of $200\\mathrm{k}$ , $10\\mathrm{k}$ , and $15\\mathrm{k} < \\mathcal{P}$ , $\\mathcal{Q}, \\mathcal{A}, \\mathcal{R}$ data, separately. The collected responses are noticeably more informative than the answers given, as seen by their length.",
|
| 656 |
+
"bbox": [
|
| 657 |
+
112,
|
| 658 |
+
739,
|
| 659 |
+
489,
|
| 660 |
+
835
|
| 661 |
+
],
|
| 662 |
+
"page_idx": 4
|
| 663 |
+
},
|
| 664 |
+
{
|
| 665 |
+
"type": "text",
|
| 666 |
+
"text": "3.3 Data Statics",
|
| 667 |
+
"text_level": 1,
|
| 668 |
+
"bbox": [
|
| 669 |
+
112,
|
| 670 |
+
848,
|
| 671 |
+
257,
|
| 672 |
+
862
|
| 673 |
+
],
|
| 674 |
+
"page_idx": 4
|
| 675 |
+
},
|
| 676 |
+
{
|
| 677 |
+
"type": "text",
|
| 678 |
+
"text": "Question Analysis The pilot investigations (He et al., 2017) assisted us in reaching an agreement on the following question type taxonomy: Yes/No,",
|
| 679 |
+
"bbox": [
|
| 680 |
+
112,
|
| 681 |
+
871,
|
| 682 |
+
489,
|
| 683 |
+
919
|
| 684 |
+
],
|
| 685 |
+
"page_idx": 4
|
| 686 |
+
},
|
| 687 |
+
{
|
| 688 |
+
"type": "table",
|
| 689 |
+
"img_path": "images/c0cd72329d832bbba2bd4d618a4a6f7f8004ce45960c877b2389ed8cc335b55f.jpg",
|
| 690 |
+
"table_caption": [],
|
| 691 |
+
"table_footnote": [],
|
| 692 |
+
"table_body": "<table><tr><td>Type</td><td>Example</td><td>Percentage</td></tr><tr><td>Extension</td><td>Q: The design life of Toyota engine?A: 0.24 million kmR: Toyota engine has a de-sign life of 0.24 million km.</td><td>62.4%</td></tr><tr><td>Rewritten</td><td>Q: Can we carry tea in trains?A: YesR: Of course, we can bring tea in trains.</td><td>26.3%</td></tr><tr><td>Others</td><td>Q: Can you fix the Apple 5S if it's flooded?A: It can be fixed.R: In general, if the iPhone 5s gets water, it can defi-nitely be repaired.</td><td>11.3%</td></tr></table>",
|
| 693 |
+
"bbox": [
|
| 694 |
+
514,
|
| 695 |
+
70,
|
| 696 |
+
880,
|
| 697 |
+
302
|
| 698 |
+
],
|
| 699 |
+
"page_idx": 4
|
| 700 |
+
},
|
| 701 |
+
{
|
| 702 |
+
"type": "text",
|
| 703 |
+
"text": "Table 4: Comparison between answer and response in Penguin. For ease of reading, English translation data is only provided here.",
|
| 704 |
+
"bbox": [
|
| 705 |
+
507,
|
| 706 |
+
311,
|
| 707 |
+
882,
|
| 708 |
+
355
|
| 709 |
+
],
|
| 710 |
+
"page_idx": 4
|
| 711 |
+
},
|
| 712 |
+
{
|
| 713 |
+
"type": "text",
|
| 714 |
+
"text": "Fact, and Opinion. Yes/No questions are often asked for confirmation, and Fact questions are mostly about specific entities, timing, or description of some facts. Opinion questions always contain why/what/how questions, inquiring about the reason or advice of things. We draw the distribution of these three question types from our collected Penguin in Figure 2, showing Penguin contains various questions, catering to more realistic scenarios.",
|
| 715 |
+
"bbox": [
|
| 716 |
+
507,
|
| 717 |
+
369,
|
| 718 |
+
884,
|
| 719 |
+
514
|
| 720 |
+
],
|
| 721 |
+
"page_idx": 4
|
| 722 |
+
},
|
| 723 |
+
{
|
| 724 |
+
"type": "text",
|
| 725 |
+
"text": "Response Analysis After deep analysis of responses and answers in Penguin, we classify the connection between them into three broad categories: Extension, Rewritten, Others. Extension refers to the response containing exactly the content of the answer and going into more detail about it. Of note, although these answers are semantically right, we argue that the responses that extend to them could be more informative and cater to real human responses. Rewritten denotes the response totally rewritten the answer to make it more informative and natural while retaining the original meaning. That is to say, the response almost has no overlap with the answers in this situation. Others indicates the response may contain part of the answer, as well as expands it with lexical, coreferential, or casual inferential knowledge. We showcase of each category in Table 4, respectively.",
|
| 726 |
+
"bbox": [
|
| 727 |
+
507,
|
| 728 |
+
541,
|
| 729 |
+
884,
|
| 730 |
+
831
|
| 731 |
+
],
|
| 732 |
+
"page_idx": 4
|
| 733 |
+
},
|
| 734 |
+
{
|
| 735 |
+
"type": "text",
|
| 736 |
+
"text": "4 Model",
|
| 737 |
+
"text_level": 1,
|
| 738 |
+
"bbox": [
|
| 739 |
+
507,
|
| 740 |
+
844,
|
| 741 |
+
601,
|
| 742 |
+
859
|
| 743 |
+
],
|
| 744 |
+
"page_idx": 4
|
| 745 |
+
},
|
| 746 |
+
{
|
| 747 |
+
"type": "text",
|
| 748 |
+
"text": "In this paper, we propose two frameworks to address the challenge in Penguin: 1) end-to-end; 2) two stage.",
|
| 749 |
+
"bbox": [
|
| 750 |
+
507,
|
| 751 |
+
871,
|
| 752 |
+
882,
|
| 753 |
+
917
|
| 754 |
+
],
|
| 755 |
+
"page_idx": 4
|
| 756 |
+
},
|
| 757 |
+
{
|
| 758 |
+
"type": "page_number",
|
| 759 |
+
"text": "11072",
|
| 760 |
+
"bbox": [
|
| 761 |
+
477,
|
| 762 |
+
927,
|
| 763 |
+
524,
|
| 764 |
+
940
|
| 765 |
+
],
|
| 766 |
+
"page_idx": 4
|
| 767 |
+
},
|
| 768 |
+
{
|
| 769 |
+
"type": "image",
|
| 770 |
+
"img_path": "images/ee5b3a037fe0bfeafa0c37f89802315da3989d9ff181bc7dd19d694efb226bdd.jpg",
|
| 771 |
+
"image_caption": [
|
| 772 |
+
"Figure 3: Overview of our proposed frameworks: (a) End-to-end; (b) Two-stage. Answerer denotes a answer generator module and Responser refers to a response generator module. English translation is only given for reading."
|
| 773 |
+
],
|
| 774 |
+
"image_footnote": [],
|
| 775 |
+
"bbox": [
|
| 776 |
+
156,
|
| 777 |
+
72,
|
| 778 |
+
842,
|
| 779 |
+
250
|
| 780 |
+
],
|
| 781 |
+
"page_idx": 5
|
| 782 |
+
},
|
| 783 |
+
{
|
| 784 |
+
"type": "image",
|
| 785 |
+
"img_path": "images/1847cd1e6506db16962f8226db0d2dce35867f76846ac405af9171df549834f9.jpg",
|
| 786 |
+
"image_caption": [
|
| 787 |
+
"Figure 4: Prompt templates."
|
| 788 |
+
],
|
| 789 |
+
"image_footnote": [],
|
| 790 |
+
"bbox": [
|
| 791 |
+
139,
|
| 792 |
+
303,
|
| 793 |
+
460,
|
| 794 |
+
588
|
| 795 |
+
],
|
| 796 |
+
"page_idx": 5
|
| 797 |
+
},
|
| 798 |
+
{
|
| 799 |
+
"type": "text",
|
| 800 |
+
"text": "End-to-end Intuitively, we can directly concat question and passage to construct the input $\\mathbf{X}_{\\mathrm{e}}$ :",
|
| 801 |
+
"bbox": [
|
| 802 |
+
112,
|
| 803 |
+
626,
|
| 804 |
+
487,
|
| 805 |
+
658
|
| 806 |
+
],
|
| 807 |
+
"page_idx": 5
|
| 808 |
+
},
|
| 809 |
+
{
|
| 810 |
+
"type": "equation",
|
| 811 |
+
"text": "\n$$\n\\mathbf {X} _ {\\mathrm {e}} = \\left\\{\\left[ \\text {C L S} \\right] \\text {Q u e s t i o n [ S E P ] P a s s a g e [ S E P ]} \\right\\} \\tag {1}\n$$\n",
|
| 812 |
+
"text_format": "latex",
|
| 813 |
+
"bbox": [
|
| 814 |
+
124,
|
| 815 |
+
665,
|
| 816 |
+
487,
|
| 817 |
+
680
|
| 818 |
+
],
|
| 819 |
+
"page_idx": 5
|
| 820 |
+
},
|
| 821 |
+
{
|
| 822 |
+
"type": "text",
|
| 823 |
+
"text": "where [CLS] and [SEP] refer to the beginning and separate symbols. Then a pre-trained generative model is utilized to take $\\mathbf{X}_{\\mathrm{e}}$ as input, and then generates a response after deeply understanding of the interaction between question and passage, as shown in Figure 3 (a). Concretely, we optimize the model with the widely used negative log-likelihood loss during training:",
|
| 824 |
+
"bbox": [
|
| 825 |
+
112,
|
| 826 |
+
689,
|
| 827 |
+
487,
|
| 828 |
+
818
|
| 829 |
+
],
|
| 830 |
+
"page_idx": 5
|
| 831 |
+
},
|
| 832 |
+
{
|
| 833 |
+
"type": "equation",
|
| 834 |
+
"text": "\n$$\n\\begin{array}{l} \\mathcal {L} _ {e} = - \\log \\left(p _ {\\theta} \\left(\\mathcal {R} \\mid \\mathbf {X} _ {\\mathbf {e}}\\right)\\right) \\\\ = - \\sum_ {i = 1} ^ {| \\mathcal {R} |} \\log \\left(p _ {\\theta} \\left(r _ {i} \\mid \\mathbf {X} _ {\\mathbf {e}}, \\mathcal {R} _ {< i}\\right)\\right). \\tag {2} \\\\ \\end{array}\n$$\n",
|
| 835 |
+
"text_format": "latex",
|
| 836 |
+
"bbox": [
|
| 837 |
+
171,
|
| 838 |
+
826,
|
| 839 |
+
485,
|
| 840 |
+
889
|
| 841 |
+
],
|
| 842 |
+
"page_idx": 5
|
| 843 |
+
},
|
| 844 |
+
{
|
| 845 |
+
"type": "text",
|
| 846 |
+
"text": "Two stage Besides, we also design a two-stage framework to deal with the challenge in Penguin",
|
| 847 |
+
"bbox": [
|
| 848 |
+
112,
|
| 849 |
+
888,
|
| 850 |
+
485,
|
| 851 |
+
917
|
| 852 |
+
],
|
| 853 |
+
"page_idx": 5
|
| 854 |
+
},
|
| 855 |
+
{
|
| 856 |
+
"type": "text",
|
| 857 |
+
"text": "which consists of a answer generator module (short for Answerer) and a response generator module (short for Responser), seen in Figure 3 (b). In two stage frameworks, Answerer can be thought of as a reading comprehension module that is in charge of thoroughly comprehending the passage and the question before generating a answer; then Responser rewrites and extends the generated answer to a more human-like response.",
|
| 858 |
+
"bbox": [
|
| 859 |
+
507,
|
| 860 |
+
303,
|
| 861 |
+
884,
|
| 862 |
+
447
|
| 863 |
+
],
|
| 864 |
+
"page_idx": 5
|
| 865 |
+
},
|
| 866 |
+
{
|
| 867 |
+
"type": "text",
|
| 868 |
+
"text": "To be more specific, we first take $\\mathbf{X}_{\\mathrm{e}}$ into Answerer, which yields initial answer:",
|
| 869 |
+
"bbox": [
|
| 870 |
+
507,
|
| 871 |
+
448,
|
| 872 |
+
882,
|
| 873 |
+
480
|
| 874 |
+
],
|
| 875 |
+
"page_idx": 5
|
| 876 |
+
},
|
| 877 |
+
{
|
| 878 |
+
"type": "equation",
|
| 879 |
+
"text": "\n$$\n\\mathcal {L} _ {a} = - \\sum_ {j = 1} ^ {| \\mathcal {A} |} \\log \\left(p _ {\\alpha} \\left(a _ {j} \\mid \\mathbf {X} _ {\\mathbf {e}}, \\mathcal {A} _ {< j}\\right)\\right). \\tag {3}\n$$\n",
|
| 880 |
+
"text_format": "latex",
|
| 881 |
+
"bbox": [
|
| 882 |
+
564,
|
| 883 |
+
492,
|
| 884 |
+
882,
|
| 885 |
+
539
|
| 886 |
+
],
|
| 887 |
+
"page_idx": 5
|
| 888 |
+
},
|
| 889 |
+
{
|
| 890 |
+
"type": "text",
|
| 891 |
+
"text": "Then we construct a new input $\\mathbf{X}_{\\mathbf{r}}$ with generated answer and question:",
|
| 892 |
+
"bbox": [
|
| 893 |
+
507,
|
| 894 |
+
550,
|
| 895 |
+
880,
|
| 896 |
+
581
|
| 897 |
+
],
|
| 898 |
+
"page_idx": 5
|
| 899 |
+
},
|
| 900 |
+
{
|
| 901 |
+
"type": "equation",
|
| 902 |
+
"text": "\n$$\n\\mathbf {X} _ {\\mathbf {r}} = \\left\\{\\left[ \\text {C L S} \\right] \\text {Q u e s t i o n [ S E P ] A n s w e r [ S E P ]} \\right\\} \\tag {4}\n$$\n",
|
| 903 |
+
"text_format": "latex",
|
| 904 |
+
"bbox": [
|
| 905 |
+
524,
|
| 906 |
+
593,
|
| 907 |
+
882,
|
| 908 |
+
608
|
| 909 |
+
],
|
| 910 |
+
"page_idx": 5
|
| 911 |
+
},
|
| 912 |
+
{
|
| 913 |
+
"type": "text",
|
| 914 |
+
"text": "Subsequently, Responser is responsible for reading the $\\mathbf{X}_{\\mathbf{r}}$ to predict the target response $\\mathcal{R}$ :",
|
| 915 |
+
"bbox": [
|
| 916 |
+
507,
|
| 917 |
+
621,
|
| 918 |
+
882,
|
| 919 |
+
653
|
| 920 |
+
],
|
| 921 |
+
"page_idx": 5
|
| 922 |
+
},
|
| 923 |
+
{
|
| 924 |
+
"type": "equation",
|
| 925 |
+
"text": "\n$$\n\\mathcal {L} _ {r} = - \\sum_ {i = 1} ^ {| \\mathcal {R} |} \\log \\left(p _ {\\theta} \\left(r _ {i} \\mid \\mathbf {X} _ {\\mathbf {r}}, \\mathcal {R} _ {< i}\\right)\\right). \\tag {5}\n$$\n",
|
| 926 |
+
"text_format": "latex",
|
| 927 |
+
"bbox": [
|
| 928 |
+
566,
|
| 929 |
+
665,
|
| 930 |
+
880,
|
| 931 |
+
709
|
| 932 |
+
],
|
| 933 |
+
"page_idx": 5
|
| 934 |
+
},
|
| 935 |
+
{
|
| 936 |
+
"type": "text",
|
| 937 |
+
"text": "Notice that, Answerer and Responser are both the same generative models but not sharing parameters in our experiments.",
|
| 938 |
+
"bbox": [
|
| 939 |
+
507,
|
| 940 |
+
715,
|
| 941 |
+
880,
|
| 942 |
+
764
|
| 943 |
+
],
|
| 944 |
+
"page_idx": 5
|
| 945 |
+
},
|
| 946 |
+
{
|
| 947 |
+
"type": "text",
|
| 948 |
+
"text": "Prompt-Tuning Inspired by recent works (Wei et al., 2022; Brown et al., 2020), we fine-tune in Penguin with a variety of prefix prompt with different template types. Concretely, we manually design five templates for each generative module from end-to-end and two-stage frameworks, as several examples shown in Figure 4. We use these prompts to formulate different inputs in training, obtaining the final checkpoint. Experimentally, we choose",
|
| 949 |
+
"bbox": [
|
| 950 |
+
507,
|
| 951 |
+
774,
|
| 952 |
+
882,
|
| 953 |
+
917
|
| 954 |
+
],
|
| 955 |
+
"page_idx": 5
|
| 956 |
+
},
|
| 957 |
+
{
|
| 958 |
+
"type": "page_number",
|
| 959 |
+
"text": "11073",
|
| 960 |
+
"bbox": [
|
| 961 |
+
477,
|
| 962 |
+
927,
|
| 963 |
+
524,
|
| 964 |
+
940
|
| 965 |
+
],
|
| 966 |
+
"page_idx": 5
|
| 967 |
+
},
|
| 968 |
+
{
|
| 969 |
+
"type": "table",
|
| 970 |
+
"img_path": "images/4f8b9f520f859f19e5c1062cb2218b623e3530d315afc6bf8ccbb0af53c51972.jpg",
|
| 971 |
+
"table_caption": [],
|
| 972 |
+
"table_footnote": [],
|
| 973 |
+
"table_body": "<table><tr><td>Framework</td><td>BackBone</td><td>Dist-1</td><td>Dist-2</td><td>BLEU-1</td><td>BLEU-2</td><td>R.-L</td><td>EM</td><td>Relv.P</td><td>Flu.</td><td>Info.</td></tr><tr><td rowspan=\"3\">End-to-End</td><td>T5-base</td><td>2.7</td><td>33.5</td><td>80.8</td><td>75.4</td><td>79.1</td><td>31.4</td><td>3.41</td><td>3.79</td><td>3.84</td></tr><tr><td>BART-Large</td><td>2.7</td><td>34.4</td><td>82.0</td><td>77.1</td><td>80.8</td><td>35.1</td><td>3.50</td><td>3.88</td><td>3.84</td></tr><tr><td>Prompt-BART</td><td>2.8</td><td>34.7</td><td>82.4</td><td>77.6</td><td>81.0</td><td>35.5</td><td>3.56</td><td>3.87</td><td>3.90</td></tr><tr><td rowspan=\"3\">Two-Stage</td><td>T5-base</td><td>2.7</td><td>33.8</td><td>80.4</td><td>75.0</td><td>79.0</td><td>31.0</td><td>3.40</td><td>3.84</td><td>3.87</td></tr><tr><td>BART-Large</td><td>2.7</td><td>33.7</td><td>82.5</td><td>77.3</td><td>81.2</td><td>36.7</td><td>3.67</td><td>3.87</td><td>3.90</td></tr><tr><td>Prompt-BART</td><td>2.9</td><td>33.8</td><td>83.2</td><td>78.2</td><td>81.8</td><td>37.2</td><td>3.76</td><td>3.87</td><td>3.93</td></tr></table>",
|
| 974 |
+
"bbox": [
|
| 975 |
+
134,
|
| 976 |
+
70,
|
| 977 |
+
863,
|
| 978 |
+
203
|
| 979 |
+
],
|
| 980 |
+
"page_idx": 6
|
| 981 |
+
},
|
| 982 |
+
{
|
| 983 |
+
"type": "text",
|
| 984 |
+
"text": "Table 5: End-to-end and two-stage frameworks' performances with different backbone models. EN and CN refer to English and Chinese, separately. We highlight the best performances in the table. For smaller versions' the results of each backbone model can be seen in Appendix D. R.-L and EM refer to ROUGH-L and Exact Match, separately. We run each model three times and report their average results.",
|
| 985 |
+
"bbox": [
|
| 986 |
+
112,
|
| 987 |
+
212,
|
| 988 |
+
884,
|
| 989 |
+
269
|
| 990 |
+
],
|
| 991 |
+
"page_idx": 6
|
| 992 |
+
},
|
| 993 |
+
{
|
| 994 |
+
"type": "text",
|
| 995 |
+
"text": "BART-large as our baseline, the resulting model is named as Prompt-BART after prompt-tuning. All prompts can be seen in Appendix G, Table 13.",
|
| 996 |
+
"bbox": [
|
| 997 |
+
112,
|
| 998 |
+
294,
|
| 999 |
+
487,
|
| 1000 |
+
344
|
| 1001 |
+
],
|
| 1002 |
+
"page_idx": 6
|
| 1003 |
+
},
|
| 1004 |
+
{
|
| 1005 |
+
"type": "text",
|
| 1006 |
+
"text": "5 Experiments",
|
| 1007 |
+
"text_level": 1,
|
| 1008 |
+
"bbox": [
|
| 1009 |
+
112,
|
| 1010 |
+
357,
|
| 1011 |
+
260,
|
| 1012 |
+
375
|
| 1013 |
+
],
|
| 1014 |
+
"page_idx": 6
|
| 1015 |
+
},
|
| 1016 |
+
{
|
| 1017 |
+
"type": "text",
|
| 1018 |
+
"text": "5.1 Evaluation Metric",
|
| 1019 |
+
"text_level": 1,
|
| 1020 |
+
"bbox": [
|
| 1021 |
+
112,
|
| 1022 |
+
386,
|
| 1023 |
+
305,
|
| 1024 |
+
401
|
| 1025 |
+
],
|
| 1026 |
+
"page_idx": 6
|
| 1027 |
+
},
|
| 1028 |
+
{
|
| 1029 |
+
"type": "text",
|
| 1030 |
+
"text": "Different from previous span-extraction and multiple-choice MRC tasks, we use automatic and human metrics to evaluate the model performances.",
|
| 1031 |
+
"bbox": [
|
| 1032 |
+
112,
|
| 1033 |
+
409,
|
| 1034 |
+
489,
|
| 1035 |
+
456
|
| 1036 |
+
],
|
| 1037 |
+
"page_idx": 6
|
| 1038 |
+
},
|
| 1039 |
+
{
|
| 1040 |
+
"type": "text",
|
| 1041 |
+
"text": "Automatic Metrics We utilize following commonly-used metrics to evaluate the quality of generated responses: Dist-1, Dist-2 (Li et al., 2016), BLEU-1,BLEU-2 (Papineni et al., 2002), ROUGH-L and Exact Match. We give detailed explanations of these metrics in Appendix A. For the above metrics, the larger the value, the better language modeling performance.",
|
| 1042 |
+
"bbox": [
|
| 1043 |
+
112,
|
| 1044 |
+
468,
|
| 1045 |
+
489,
|
| 1046 |
+
596
|
| 1047 |
+
],
|
| 1048 |
+
"page_idx": 6
|
| 1049 |
+
},
|
| 1050 |
+
{
|
| 1051 |
+
"type": "text",
|
| 1052 |
+
"text": "Human Metrics To further get a fuller picture of how well the generation-based model works, we asked 4 annotators to look at the quality and consistency of the generated responses on our test set. These annotators are from a third-party and skilled with language tasks but have no knowledge of the models. Concretely, we randomly sample 500 examples in our test set for model's evaluation. Human annotators are tasked with rating dialogue quality using three principle measures: Fluency (Flu.), Informativeness (Info.) and Relevance with Passage (Relv.P). Each criterion is given a rating from 1 to 5, with 1, 3, 5 representing poor, mediocre and flawless performances.",
|
| 1053 |
+
"bbox": [
|
| 1054 |
+
112,
|
| 1055 |
+
609,
|
| 1056 |
+
489,
|
| 1057 |
+
834
|
| 1058 |
+
],
|
| 1059 |
+
"page_idx": 6
|
| 1060 |
+
},
|
| 1061 |
+
{
|
| 1062 |
+
"type": "text",
|
| 1063 |
+
"text": "5.2 Backbone",
|
| 1064 |
+
"text_level": 1,
|
| 1065 |
+
"bbox": [
|
| 1066 |
+
112,
|
| 1067 |
+
848,
|
| 1068 |
+
240,
|
| 1069 |
+
862
|
| 1070 |
+
],
|
| 1071 |
+
"page_idx": 6
|
| 1072 |
+
},
|
| 1073 |
+
{
|
| 1074 |
+
"type": "text",
|
| 1075 |
+
"text": "To investigate the performances of current state-of-the-art generative models, we choose two popular pre-trained generative models: T5 (Raffel et al.,",
|
| 1076 |
+
"bbox": [
|
| 1077 |
+
112,
|
| 1078 |
+
871,
|
| 1079 |
+
489,
|
| 1080 |
+
917
|
| 1081 |
+
],
|
| 1082 |
+
"page_idx": 6
|
| 1083 |
+
},
|
| 1084 |
+
{
|
| 1085 |
+
"type": "image",
|
| 1086 |
+
"img_path": "images/c6076eb4fbbeb6b04e68e194db77d4201b8800091711ee6ef4f68e4c2418ec3d.jpg",
|
| 1087 |
+
"image_caption": [
|
| 1088 |
+
"Figure 5: Model performances on different question types. Here, we choose BART-large as the backbone."
|
| 1089 |
+
],
|
| 1090 |
+
"image_footnote": [],
|
| 1091 |
+
"bbox": [
|
| 1092 |
+
519,
|
| 1093 |
+
294,
|
| 1094 |
+
870,
|
| 1095 |
+
445
|
| 1096 |
+
],
|
| 1097 |
+
"page_idx": 6
|
| 1098 |
+
},
|
| 1099 |
+
{
|
| 1100 |
+
"type": "text",
|
| 1101 |
+
"text": "2020) and BART (Lewis et al., 2020) as our backbones. In the Appendix B, we briefly introduce each model. Detailed experimental setup of training these models can be seen in Appendix C.",
|
| 1102 |
+
"bbox": [
|
| 1103 |
+
507,
|
| 1104 |
+
500,
|
| 1105 |
+
885,
|
| 1106 |
+
565
|
| 1107 |
+
],
|
| 1108 |
+
"page_idx": 6
|
| 1109 |
+
},
|
| 1110 |
+
{
|
| 1111 |
+
"type": "text",
|
| 1112 |
+
"text": "5.3 Results",
|
| 1113 |
+
"text_level": 1,
|
| 1114 |
+
"bbox": [
|
| 1115 |
+
507,
|
| 1116 |
+
577,
|
| 1117 |
+
613,
|
| 1118 |
+
592
|
| 1119 |
+
],
|
| 1120 |
+
"page_idx": 6
|
| 1121 |
+
},
|
| 1122 |
+
{
|
| 1123 |
+
"type": "text",
|
| 1124 |
+
"text": "Automatic Evaluations Table 5 shows the main results of all models. From the table, we can conclude the following: 1) The designed two frameworks with different backbone models all achieve competitive results in each automatic metric, proving their effectiveness. 2) Importantly, the results of each base model under the two different frameworks are comparable. More interestingly, an end-to-end framework is a more advanced and promising system when you take into account that the parameters and inference cost of a two-stage framework are almost two times higher. 3) Prompt-tuning can further boost the model's performances in all evaluation metrics, and the improvement is more obvious in two-stage training (e.g., 81.8 vs. 81.2 in ROUGH-L).",
|
| 1125 |
+
"bbox": [
|
| 1126 |
+
505,
|
| 1127 |
+
601,
|
| 1128 |
+
885,
|
| 1129 |
+
858
|
| 1130 |
+
],
|
| 1131 |
+
"page_idx": 6
|
| 1132 |
+
},
|
| 1133 |
+
{
|
| 1134 |
+
"type": "text",
|
| 1135 |
+
"text": "Human Evaluations We also draw the following conclusions from the Table 5: 1) All models achieve good results in fluency, informativeness",
|
| 1136 |
+
"bbox": [
|
| 1137 |
+
507,
|
| 1138 |
+
871,
|
| 1139 |
+
884,
|
| 1140 |
+
917
|
| 1141 |
+
],
|
| 1142 |
+
"page_idx": 6
|
| 1143 |
+
},
|
| 1144 |
+
{
|
| 1145 |
+
"type": "page_number",
|
| 1146 |
+
"text": "11074",
|
| 1147 |
+
"bbox": [
|
| 1148 |
+
477,
|
| 1149 |
+
927,
|
| 1150 |
+
524,
|
| 1151 |
+
940
|
| 1152 |
+
],
|
| 1153 |
+
"page_idx": 6
|
| 1154 |
+
},
|
| 1155 |
+
{
|
| 1156 |
+
"type": "image",
|
| 1157 |
+
"img_path": "images/5821d99558c9879fde8ef2918c02d4a5f4f12e690318b57cd42f7de755b92469.jpg",
|
| 1158 |
+
"image_caption": [
|
| 1159 |
+
"Figure 6: Win/Lose human evaluation results $(\\%)$ between end-to-end and Answer in two-stage pipeline with p-value $< 0.05$"
|
| 1160 |
+
],
|
| 1161 |
+
"image_footnote": [],
|
| 1162 |
+
"bbox": [
|
| 1163 |
+
132,
|
| 1164 |
+
76,
|
| 1165 |
+
472,
|
| 1166 |
+
242
|
| 1167 |
+
],
|
| 1168 |
+
"page_idx": 7
|
| 1169 |
+
},
|
| 1170 |
+
{
|
| 1171 |
+
"type": "text",
|
| 1172 |
+
"text": "and relevance, showing their generated responses are close to human-like. 2) Prompt-BART in two-stage training performs better in relevance than other models, indicating a better understanding of the passage. In general, human evaluations of these models basically mirror automated evaluations.",
|
| 1173 |
+
"bbox": [
|
| 1174 |
+
112,
|
| 1175 |
+
313,
|
| 1176 |
+
487,
|
| 1177 |
+
409
|
| 1178 |
+
],
|
| 1179 |
+
"page_idx": 7
|
| 1180 |
+
},
|
| 1181 |
+
{
|
| 1182 |
+
"type": "text",
|
| 1183 |
+
"text": "5.4 Discussion and Analysis",
|
| 1184 |
+
"text_level": 1,
|
| 1185 |
+
"bbox": [
|
| 1186 |
+
112,
|
| 1187 |
+
423,
|
| 1188 |
+
349,
|
| 1189 |
+
437
|
| 1190 |
+
],
|
| 1191 |
+
"page_idx": 7
|
| 1192 |
+
},
|
| 1193 |
+
{
|
| 1194 |
+
"type": "text",
|
| 1195 |
+
"text": "Aside from the high performance of our proposed models, we are concerned about the following questions: $\\mathbf{Q}_1$ : What does the model perform when it answers different question types? $\\mathbf{Q}_2$ : Is the generated response more natural to the generated answer? $\\mathbf{Q}_3$ : Can extremely large model like GPT-3 almost address the challenge in Penguin? (Appendix E.1, Table 8) $\\mathbf{Q}_4$ : What is the majority of the improvement brought by the designed prompts? (Appendix E.2, Table 9).",
|
| 1196 |
+
"bbox": [
|
| 1197 |
+
112,
|
| 1198 |
+
445,
|
| 1199 |
+
489,
|
| 1200 |
+
606
|
| 1201 |
+
],
|
| 1202 |
+
"page_idx": 7
|
| 1203 |
+
},
|
| 1204 |
+
{
|
| 1205 |
+
"type": "text",
|
| 1206 |
+
"text": "Answer to $\\mathbf{Q}_1$ : We conduct fine-grained analysis to validate model performances on different question types. As seen in Figure 5, we can observe: 1) each model performs best on Yes/No questions and worst on Fact questions, indicating generating natural responses about specific facts needs deeper understanding of questions and passages; 2) prompt-tuning brings more benefits when answering Fact questions (76.5 vs. 74.3). We further present each case on three question types in Table 11 and Table 12.",
|
| 1207 |
+
"bbox": [
|
| 1208 |
+
112,
|
| 1209 |
+
618,
|
| 1210 |
+
489,
|
| 1211 |
+
793
|
| 1212 |
+
],
|
| 1213 |
+
"page_idx": 7
|
| 1214 |
+
},
|
| 1215 |
+
{
|
| 1216 |
+
"type": "text",
|
| 1217 |
+
"text": "Answer to $\\mathbf{Q}_2$ : In order to test whether the generated responses are more natural than the fixed answers. Three professional workers are asked to evaluate the generated responses from end-to-end framework and generated answers from Answerer in two-stage pipeline. Concretely, they need to choose which is the best one (Win/Lose) for",
|
| 1218 |
+
"bbox": [
|
| 1219 |
+
112,
|
| 1220 |
+
806,
|
| 1221 |
+
489,
|
| 1222 |
+
917
|
| 1223 |
+
],
|
| 1224 |
+
"page_idx": 7
|
| 1225 |
+
},
|
| 1226 |
+
{
|
| 1227 |
+
"type": "table",
|
| 1228 |
+
"img_path": "images/a45db3a8f52187f070a482eaab47763578458fc935bcbe1d1f1e4a9c2401563f.jpg",
|
| 1229 |
+
"table_caption": [],
|
| 1230 |
+
"table_footnote": [],
|
| 1231 |
+
"table_body": "<table><tr><td>Passage</td><td>...If you already have a loan, the bank will definitely consider the debt ratio, depending on the assets and repayment ability....</td></tr><tr><td>Question</td><td>Will Credit Loan Affect Mortgage?</td></tr><tr><td>Response</td><td>It could affect your Mortgage, but it depends on your income level and assets.</td></tr><tr><td colspan=\"2\">Generated Response-One stage</td></tr><tr><td>T5</td><td>Credit loan must affect Mortgage.</td></tr><tr><td>BART</td><td>It will affect your Mortgage.</td></tr><tr><td>Prompt-BART</td><td>Credit loan could affect mortgage, but depends on assets.</td></tr><tr><td colspan=\"2\">Generated Response-Two stage</td></tr><tr><td>T5</td><td>Credit loan must affect Mortgage.</td></tr><tr><td>BART</td><td>Credit loan will affect mortgage</td></tr><tr><td>Prompt-BART</td><td>Credit loan may affect your Mortgage.</td></tr></table>",
|
| 1232 |
+
"bbox": [
|
| 1233 |
+
510,
|
| 1234 |
+
80,
|
| 1235 |
+
887,
|
| 1236 |
+
362
|
| 1237 |
+
],
|
| 1238 |
+
"page_idx": 7
|
| 1239 |
+
},
|
| 1240 |
+
{
|
| 1241 |
+
"type": "text",
|
| 1242 |
+
"text": "Table 6: A case study in our collected Penguin, and generated responses from the large version of baselines are provided. The text in bold refers to the expected response from human annotation.",
|
| 1243 |
+
"bbox": [
|
| 1244 |
+
507,
|
| 1245 |
+
370,
|
| 1246 |
+
882,
|
| 1247 |
+
429
|
| 1248 |
+
],
|
| 1249 |
+
"page_idx": 7
|
| 1250 |
+
},
|
| 1251 |
+
{
|
| 1252 |
+
"type": "text",
|
| 1253 |
+
"text": "each example in randomly selected 200 test samples from three views, as shown in Figure 6. We can observe that more than $85\\%$ of the generated responses are superior to their counterpart answers across all evaluation perspectives, indicating they are closer to human-like responses than the generated answers. These Win/Lose results also prove the value of Penguin, that is, providing a training and testing bed for natural response generation to real-world scenarios.",
|
| 1254 |
+
"bbox": [
|
| 1255 |
+
507,
|
| 1256 |
+
437,
|
| 1257 |
+
882,
|
| 1258 |
+
596
|
| 1259 |
+
],
|
| 1260 |
+
"page_idx": 7
|
| 1261 |
+
},
|
| 1262 |
+
{
|
| 1263 |
+
"type": "text",
|
| 1264 |
+
"text": "Case Study In addition, we showcase an example and its generated responses from Penguin in Table 6. We can see that almost all of the responses from the different models do a pretty good job of roughly capturing the intended meaning. Moreover, Prompt-BART could generate more complete and accurate responses, showing its efficiency.",
|
| 1265 |
+
"bbox": [
|
| 1266 |
+
507,
|
| 1267 |
+
607,
|
| 1268 |
+
882,
|
| 1269 |
+
720
|
| 1270 |
+
],
|
| 1271 |
+
"page_idx": 7
|
| 1272 |
+
},
|
| 1273 |
+
{
|
| 1274 |
+
"type": "text",
|
| 1275 |
+
"text": "6 Conclusion",
|
| 1276 |
+
"text_level": 1,
|
| 1277 |
+
"bbox": [
|
| 1278 |
+
507,
|
| 1279 |
+
732,
|
| 1280 |
+
640,
|
| 1281 |
+
746
|
| 1282 |
+
],
|
| 1283 |
+
"page_idx": 7
|
| 1284 |
+
},
|
| 1285 |
+
{
|
| 1286 |
+
"type": "text",
|
| 1287 |
+
"text": "In this paper, we summarize the limitation of current MRC efforts, and propose a new dataset named Penguin for natural response generation in Chinese MRC. Penguin requires the predicted responses not only be accurate but also natural-sounding, catering to real scenarios. Thereafter, we propose end-to-end and two-stage GRC pipelines to address the challenge in Penguin, achieving promising results. Moreover, we design prompt-tuning, which involves fine-tuning the pre-trained genera",
|
| 1288 |
+
"bbox": [
|
| 1289 |
+
507,
|
| 1290 |
+
758,
|
| 1291 |
+
884,
|
| 1292 |
+
917
|
| 1293 |
+
],
|
| 1294 |
+
"page_idx": 7
|
| 1295 |
+
},
|
| 1296 |
+
{
|
| 1297 |
+
"type": "page_number",
|
| 1298 |
+
"text": "11075",
|
| 1299 |
+
"bbox": [
|
| 1300 |
+
477,
|
| 1301 |
+
927,
|
| 1302 |
+
524,
|
| 1303 |
+
940
|
| 1304 |
+
],
|
| 1305 |
+
"page_idx": 7
|
| 1306 |
+
},
|
| 1307 |
+
{
|
| 1308 |
+
"type": "text",
|
| 1309 |
+
"text": "tive language models with a mix of different prefix prompts in Penguin, making the system perform better and more efficiently. As an extension of future work, we will explore other techs to build more human-like GRC models.",
|
| 1310 |
+
"bbox": [
|
| 1311 |
+
112,
|
| 1312 |
+
84,
|
| 1313 |
+
487,
|
| 1314 |
+
162
|
| 1315 |
+
],
|
| 1316 |
+
"page_idx": 8
|
| 1317 |
+
},
|
| 1318 |
+
{
|
| 1319 |
+
"type": "text",
|
| 1320 |
+
"text": "Limitations",
|
| 1321 |
+
"text_level": 1,
|
| 1322 |
+
"bbox": [
|
| 1323 |
+
112,
|
| 1324 |
+
175,
|
| 1325 |
+
220,
|
| 1326 |
+
191
|
| 1327 |
+
],
|
| 1328 |
+
"page_idx": 8
|
| 1329 |
+
},
|
| 1330 |
+
{
|
| 1331 |
+
"type": "text",
|
| 1332 |
+
"text": "The main target of this paper is to generate natural responses for Chinese Reading Comprehension. We present a new benchmark named Penguin in the hope of creating an effective GRC model. More generally, we expect the proposed Penguin can facilitate the research of MRC, catering to more realistic QA scenarios. Our collected corpus will be soon made public for the whole research communities. Admittedly, one limitation of this work is that the proposed dataset is restricted to Chinese. Another limitation is that our labeled responses are not $100\\%$ from human annotation due to the high annotation cost. These concerns warrant further research and consideration when utilizing this work to build effective GRC models.",
|
| 1333 |
+
"bbox": [
|
| 1334 |
+
112,
|
| 1335 |
+
200,
|
| 1336 |
+
489,
|
| 1337 |
+
441
|
| 1338 |
+
],
|
| 1339 |
+
"page_idx": 8
|
| 1340 |
+
},
|
| 1341 |
+
{
|
| 1342 |
+
"type": "text",
|
| 1343 |
+
"text": "References",
|
| 1344 |
+
"text_level": 1,
|
| 1345 |
+
"bbox": [
|
| 1346 |
+
114,
|
| 1347 |
+
468,
|
| 1348 |
+
213,
|
| 1349 |
+
482
|
| 1350 |
+
],
|
| 1351 |
+
"page_idx": 8
|
| 1352 |
+
},
|
| 1353 |
+
{
|
| 1354 |
+
"type": "list",
|
| 1355 |
+
"sub_type": "ref_text",
|
| 1356 |
+
"list_items": [
|
| 1357 |
+
"Prithviraj Ammanabrolu, Renee Jia, and Mark O. Riedl. 2022. Situated dialogue learning through procedural environment generation. In ACL (1), pages 8099-8116. Association for Computational Linguistics.",
|
| 1358 |
+
"Ashutosh Baheti, Alan Ritter, and Kevin Small. 2020. Fluent response generation for conversational question answering. In ACL, pages 191-207. Association for Computational Linguistics.",
|
| 1359 |
+
"Bin Bi, Chen Wu, Ming Yan, Wei Wang, Jiangnan Xia, and Chenliang Li. 2019. Incorporating external knowledge into machine reading for generative question answering. In EMNLP/IJCNLP (1), pages 2521-2530. Association for Computational Linguistics.",
|
| 1360 |
+
"Peter F. Brown, Stephen Della Pietra, Vincent J. Della Pietra, Jennifer C. Lai, and Robert L. Mercer. 1992. An estimate of an upper bound for the entropy of english. Comput. Linguistics, 18(1):31-40.",
|
| 1361 |
+
"Tom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah, Jared Kaplan, Prafulla Dhariwal, Arvind Neelakantan, Pranav Shyam, Girish Sastry, Amanda Askell, Sandhini Agarwal, Ariel Herbert-Voss, Gretchen Krueger, Tom Henighan, Rewon Child, Aditya Ramesh, Daniel M. Ziegler, Jeffrey Wu, Clemens Winter, Christopher Hesse, Mark Chen, Eric Sigler, Mateusz Litwin, Scott Gray, Benjamin Chess, Jack Clark, Christopher Berner, Sam McCandlish, Alec Radford, Ilya Sutskever, and Dario Amodei. 2020. Language models are few-shot learners. In NeurIPS."
|
| 1362 |
+
],
|
| 1363 |
+
"bbox": [
|
| 1364 |
+
115,
|
| 1365 |
+
489,
|
| 1366 |
+
489,
|
| 1367 |
+
917
|
| 1368 |
+
],
|
| 1369 |
+
"page_idx": 8
|
| 1370 |
+
},
|
| 1371 |
+
{
|
| 1372 |
+
"type": "list",
|
| 1373 |
+
"sub_type": "ref_text",
|
| 1374 |
+
"list_items": [
|
| 1375 |
+
"Nuo Chen, Hongguang Li, Yinan Bao, Junqing He, Xinshi Lin, Qi Yang, Jianfeng Liu, Ruyi Gan, Ji-axing Zhang, Baoyuan Wang, et al. 2023a. Orca: A few-shot benchmark for chinese conversational machine reading comprehension. arXiv preprint arXiv:2302.13619.",
|
| 1376 |
+
"Nuo Chen, Fenglin Liu, Chenyu You, Peilin Zhou, and Yuexian Zou. 2021. Adaptive bi-directional attention: Exploring multi-granularity representations for machine reading comprehension. In ICASSP 2021-2021 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pages 7833-7837. IEEE.",
|
| 1377 |
+
"Nuo Chen, Linjun Shou, Ming Gong, and Jian Pei. 2022a. From good to best: Two-stage training for cross-lingual machine reading comprehension. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 36, pages 10501-10508.",
|
| 1378 |
+
"Nuo Chen, Linjun Shou, Ming Gong, Jian Pei, and Daxin Jiang. 2022b. Bridging the gap between language models and cross-lingual sequence labeling. In Proceedings of the 2022 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pages 1909–1923, Seattle, United States. Association for Computational Linguistics.",
|
| 1379 |
+
"Nuo Chen, Linjun Shou, Tengtao Song, Ming Gong, Jian Pei, Jianhui Chang, Daxin Jiang, and Jia Li. 2023b. Structural contrastive pretraining for crosslingual comprehension. In Findings of the Association for Computational Linguistics: ACL 2023, pages 2042-2057, Toronto, Canada. Association for Computational Linguistics.",
|
| 1380 |
+
"Nuo Chen, Yan Wang, Haiyun Jiang, Deng Cai, Ziyang Chen, and Jia Li. 2022c. What would harry say? building dialogue agents for characters in a story. arXiv preprint arXiv:2211.06869.",
|
| 1381 |
+
"Yiming Cui, Ting Liu, Wanxiang Che, Li Xiao, Zhipeng Chen, Wentao Ma, Shijin Wang, and Guoping Hu. 2019. A span-extraction dataset for chinese machine reading comprehension. In EMNLP/IJCNLP (1), pages 5882-5888. Association for Computational Linguistics.",
|
| 1382 |
+
"Wei He, Kai Liu, Yajuan Lyu, Shiqi Zhao, Xinyan Xiao, Yuan Liu, Yizhong Wang, Hua Wu, Qiaoqiao She, Xuan Liu, et al. 2017. Dureader: a chinese machine reading comprehension dataset from real-world applications. arXiv preprint arXiv:1711.05073.",
|
| 1383 |
+
"Yanzhou Huang and Tao Zhong. 2018. Multitask learning for neural generative question answering. Mach. Vis. Appl., 29(6):1009-1017.",
|
| 1384 |
+
"Zhengbao Jiang, Jun Araki, Haibo Ding, and Graham Neubig. 2022. Understanding and improving zero-shot multi-hop reasoning in generative question answering. In COLING, pages 1765-1775. International Committee on Computational Linguistics."
|
| 1385 |
+
],
|
| 1386 |
+
"bbox": [
|
| 1387 |
+
510,
|
| 1388 |
+
85,
|
| 1389 |
+
884,
|
| 1390 |
+
917
|
| 1391 |
+
],
|
| 1392 |
+
"page_idx": 8
|
| 1393 |
+
},
|
| 1394 |
+
{
|
| 1395 |
+
"type": "page_number",
|
| 1396 |
+
"text": "11076",
|
| 1397 |
+
"bbox": [
|
| 1398 |
+
477,
|
| 1399 |
+
927,
|
| 1400 |
+
524,
|
| 1401 |
+
940
|
| 1402 |
+
],
|
| 1403 |
+
"page_idx": 8
|
| 1404 |
+
},
|
| 1405 |
+
{
|
| 1406 |
+
"type": "list",
|
| 1407 |
+
"sub_type": "ref_text",
|
| 1408 |
+
"list_items": [
|
| 1409 |
+
"Guokun Lai, Qizhe Xie, Hanxiao Liu, Yiming Yang, and Eduard Hovy. 2017. Race: Large-scale reading comprehension dataset from examinations. In Proceedings of the 2017 Conference on Empirical Methods in Natural Language Processing, pages 796-805. Association for Computational Linguistics.",
|
| 1410 |
+
"Mike Lewis, Yinhan Liu, Naman Goyal, Marjan Ghazvininejad, Abdelrahman Mohamed, Omer Levy, Veselin Stoyanov, and Luke Zettlemoyer. 2020. BART: denoising sequence-to-sequence pre-training for natural language generation, translation, and comprehension. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, ACL 2020, Online, July 5-10, 2020, pages 7871-7880. Association for Computational Linguistics.",
|
| 1411 |
+
"Chenliang Li, Bin Bi, Ming Yan, Wei Wang, and Songfang Huang. 2021. Addressing semantic drift in generative question answering with auxiliary extraction. 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 942-947, Online. Association for Computational Linguistics.",
|
| 1412 |
+
"Jiwei Li, Michel Galley, Chris Brockett, Jianfeng Gao, and Bill Dolan. 2016. A diversity-promoting objective function for neural conversation models. In Proceedings of the 2016 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pages 110-119, San Diego, California. Association for Computational Linguistics.",
|
| 1413 |
+
"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.",
|
| 1414 |
+
"Benjamin Muller, Luca Soldaini, Rik Koncel-Kedziorski, Eric Lind, and Alessandro Moschitti. 2021. Cross-lingual genqa: A language-agnostic generative question answering approach for opendomain question answering. CoRR, abs/2110.07150.",
|
| 1415 |
+
"Tri Nguyen, Mir Rosenberg, Xia Song, Jianfeng Gao, Saurabh Tiwary, Rangan Majumder, and Li Deng. 2016. Ms marco: A human generated machine reading comprehension dataset. arXiv preprint arXiv:1611.09268.",
|
| 1416 |
+
"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.",
|
| 1417 |
+
"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."
|
| 1418 |
+
],
|
| 1419 |
+
"bbox": [
|
| 1420 |
+
115,
|
| 1421 |
+
85,
|
| 1422 |
+
489,
|
| 1423 |
+
917
|
| 1424 |
+
],
|
| 1425 |
+
"page_idx": 9
|
| 1426 |
+
},
|
| 1427 |
+
{
|
| 1428 |
+
"type": "list",
|
| 1429 |
+
"sub_type": "ref_text",
|
| 1430 |
+
"list_items": [
|
| 1431 |
+
"Pranav Rajpurkar, Jian Zhang, Konstantin Lopyrev, and Percy Liang. 2016. Squad: $100,000+$ questions for machine comprehension of text. In Proceedings of the 2016 Conference on Empirical Methods in Natural Language Processing, pages 2383-2392. Association for Computational Linguistics.",
|
| 1432 |
+
"Tengtao Song, Nuo Chen, Ji Jiang, Zhihong Zhu, and Yuexian Zou. 2023. Improving retrieval-based dialogue system via syntax-informed attention. In ICASSP 2023-2023 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pages 1-5. IEEE.",
|
| 1433 |
+
"Adam Trischler, Tong Wang, Xingdi Yuan, Justin Harris, Alessandro Sordoni, Philip Bachman, and Kaheer Suleman. 2016. Newsqa: A machine comprehension dataset. arXiv preprint arXiv:1611.09830.",
|
| 1434 |
+
"Bingning Wang, Ting Yao, Qi Zhang, Jingfang Xu, and Xiaochuan Wang. 2020. Reco: A large scale chinese reading comprehension dataset on opinion. In The Thirty-Fourth AAAI Conference on Artificial Intelligence, AAAI 2020, The Thirty-Second Innovative Applications of Artificial Intelligence Conference, IAAI 2020, The Tenth AAAI Symposium on Educational Advances in Artificial Intelligence, EAAI 2020, New York, NY, USA, February 7-12, 2020, pages 9146-9153. AAAI Press.",
|
| 1435 |
+
"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. In ICLR. OpenReview.net.",
|
| 1436 |
+
"Jun Yin, Xin Jiang, Zhengdong Lu, Lifeng Shang, Hang Li, and Xiaoming Li. 2016. Neural generative question answering. In Proceedings of the Workshop on Human-Computer Question Answering, pages 36-42.",
|
| 1437 |
+
"Chenyu You, Nuo Chen, Fenglin Liu, Shen Ge, Xian Wu, and Yuexian Zou. 2022. End-to-end spoken conversational question answering: Task, dataset and model. In *NAACL-HLT* (Findings), pages 1219–1232. Association for Computational Linguistics.",
|
| 1438 |
+
"Chenyu You, Nuo Chen, and Yuexian Zou. 2021a. Knowledge distillation for improved accuracy in spoken question answering. In ICASSP 2021-2021 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pages 7793-7797. IEEE.",
|
| 1439 |
+
"Chenyu You, Nuo Chen, and Yuexian Zou. 2021b. Self-supervised contrastive cross-modality representation learning for spoken question answering. In *Findings of the Association for Computational Linguistics: EMNLP* 2021, pages 28-39, Punta Cana, Dominican Republic. Association for Computational Linguistics.",
|
| 1440 |
+
"Rowan Zellers, Yonatan Bisk, Roy Schwartz, and Yejin Choi. 2018. SWAG: A large-scale adversarial dataset for grounded commonsense inference. In EMNLP, pages 93-104. Association for Computational Linguistics."
|
| 1441 |
+
],
|
| 1442 |
+
"bbox": [
|
| 1443 |
+
510,
|
| 1444 |
+
85,
|
| 1445 |
+
884,
|
| 1446 |
+
910
|
| 1447 |
+
],
|
| 1448 |
+
"page_idx": 9
|
| 1449 |
+
},
|
| 1450 |
+
{
|
| 1451 |
+
"type": "page_number",
|
| 1452 |
+
"text": "11077",
|
| 1453 |
+
"bbox": [
|
| 1454 |
+
477,
|
| 1455 |
+
928,
|
| 1456 |
+
524,
|
| 1457 |
+
940
|
| 1458 |
+
],
|
| 1459 |
+
"page_idx": 9
|
| 1460 |
+
},
|
| 1461 |
+
{
|
| 1462 |
+
"type": "table",
|
| 1463 |
+
"img_path": "images/41f4309ffe3e683d930cd66e54376491ab6145029b12b039ec9760d7c2f9d45a.jpg",
|
| 1464 |
+
"table_caption": [],
|
| 1465 |
+
"table_footnote": [],
|
| 1466 |
+
"table_body": "<table><tr><td>Parameter</td><td>T5</td><td>BART</td><td>Prompt</td></tr><tr><td>Batch size</td><td>8</td><td>10</td><td>10</td></tr><tr><td>Learning Rate</td><td>2e-4</td><td>2e-5</td><td>2e-5</td></tr><tr><td>Epoch</td><td>50</td><td>20</td><td>20</td></tr><tr><td>Gradient accumulation steps</td><td>1</td><td>10</td><td>10</td></tr><tr><td>Encoder Max Length</td><td>512</td><td>512</td><td>512</td></tr><tr><td>Decoder Max Length</td><td>40</td><td>128</td><td>128</td></tr></table>",
|
| 1467 |
+
"bbox": [
|
| 1468 |
+
115,
|
| 1469 |
+
80,
|
| 1470 |
+
485,
|
| 1471 |
+
181
|
| 1472 |
+
],
|
| 1473 |
+
"page_idx": 10
|
| 1474 |
+
},
|
| 1475 |
+
{
|
| 1476 |
+
"type": "table",
|
| 1477 |
+
"img_path": "images/f11da67cb9956734a8df6928a447fbb37a9e7460c4ffb02b06760c3131ee8d76.jpg",
|
| 1478 |
+
"table_caption": [
|
| 1479 |
+
"Table 7: Hyper-parameters setup during fine-tuning BART and T5."
|
| 1480 |
+
],
|
| 1481 |
+
"table_footnote": [],
|
| 1482 |
+
"table_body": "<table><tr><td>Module</td><td>BLEU-1</td><td>BLEU-2</td><td>ROUGH-L</td></tr><tr><td>GPT-3 (2-shot)</td><td>40.8</td><td>35.5</td><td>46.2</td></tr><tr><td>GPT-3 (5-shot)</td><td>48.7</td><td>42.9</td><td>58.0</td></tr><tr><td>BART-Large</td><td>84.8</td><td>80.0</td><td>84.3</td></tr></table>",
|
| 1483 |
+
"bbox": [
|
| 1484 |
+
124,
|
| 1485 |
+
218,
|
| 1486 |
+
475,
|
| 1487 |
+
282
|
| 1488 |
+
],
|
| 1489 |
+
"page_idx": 10
|
| 1490 |
+
},
|
| 1491 |
+
{
|
| 1492 |
+
"type": "text",
|
| 1493 |
+
"text": "A Automatic Metrics",
|
| 1494 |
+
"text_level": 1,
|
| 1495 |
+
"bbox": [
|
| 1496 |
+
114,
|
| 1497 |
+
346,
|
| 1498 |
+
314,
|
| 1499 |
+
360
|
| 1500 |
+
],
|
| 1501 |
+
"page_idx": 10
|
| 1502 |
+
},
|
| 1503 |
+
{
|
| 1504 |
+
"type": "text",
|
| 1505 |
+
"text": "Dist.: One of the most commonly-used metric that evaluate the diversity and informativeness of generated text. In this paper, we utilize Dist-1 and Dist-2 (Li et al., 2016) to validate the model performance.",
|
| 1506 |
+
"bbox": [
|
| 1507 |
+
112,
|
| 1508 |
+
370,
|
| 1509 |
+
485,
|
| 1510 |
+
450
|
| 1511 |
+
],
|
| 1512 |
+
"page_idx": 10
|
| 1513 |
+
},
|
| 1514 |
+
{
|
| 1515 |
+
"type": "text",
|
| 1516 |
+
"text": "BLEU: Another famous metric is used to evaluate the difference between the generated text and its reference. Similarly, we use BLEU-1 and BLEU-2 (Papineni et al., 2002) in this work.",
|
| 1517 |
+
"bbox": [
|
| 1518 |
+
112,
|
| 1519 |
+
460,
|
| 1520 |
+
485,
|
| 1521 |
+
523
|
| 1522 |
+
],
|
| 1523 |
+
"page_idx": 10
|
| 1524 |
+
},
|
| 1525 |
+
{
|
| 1526 |
+
"type": "text",
|
| 1527 |
+
"text": "ROUGH-L: An effective metric that measures the longest common subsequence (LCS) between model output and reference (Lin, 2004).",
|
| 1528 |
+
"bbox": [
|
| 1529 |
+
112,
|
| 1530 |
+
533,
|
| 1531 |
+
485,
|
| 1532 |
+
580
|
| 1533 |
+
],
|
| 1534 |
+
"page_idx": 10
|
| 1535 |
+
},
|
| 1536 |
+
{
|
| 1537 |
+
"type": "text",
|
| 1538 |
+
"text": "Exact Match: This metric measures the percentage of model prediction that match the reference exactly. The evaluated score is 1 if the prediction is exactly the same as the reference, otherwise 0.",
|
| 1539 |
+
"bbox": [
|
| 1540 |
+
112,
|
| 1541 |
+
590,
|
| 1542 |
+
485,
|
| 1543 |
+
653
|
| 1544 |
+
],
|
| 1545 |
+
"page_idx": 10
|
| 1546 |
+
},
|
| 1547 |
+
{
|
| 1548 |
+
"type": "text",
|
| 1549 |
+
"text": "B Model Architecture",
|
| 1550 |
+
"text_level": 1,
|
| 1551 |
+
"bbox": [
|
| 1552 |
+
112,
|
| 1553 |
+
665,
|
| 1554 |
+
319,
|
| 1555 |
+
680
|
| 1556 |
+
],
|
| 1557 |
+
"page_idx": 10
|
| 1558 |
+
},
|
| 1559 |
+
{
|
| 1560 |
+
"type": "text",
|
| 1561 |
+
"text": "T5 is also a strong pre-trained encoder-decoder Transformer-based model which have achieved strong results on various generative benchmarks (Chen et al., 2022c; Muller et al., 2021; Ammanabrolu et al., 2022). Likewise, we use Chinese T5<sup>5</sup> with small and base versions in our experiments.",
|
| 1562 |
+
"bbox": [
|
| 1563 |
+
112,
|
| 1564 |
+
690,
|
| 1565 |
+
485,
|
| 1566 |
+
801
|
| 1567 |
+
],
|
| 1568 |
+
"page_idx": 10
|
| 1569 |
+
},
|
| 1570 |
+
{
|
| 1571 |
+
"type": "text",
|
| 1572 |
+
"text": "BART is a widely used denoising auto encoder for pre-training sequence-to-sequence models, which is also a standard Transformer-based PLMs. In this work, we utilize Chinese BART with base and large version.",
|
| 1573 |
+
"bbox": [
|
| 1574 |
+
112,
|
| 1575 |
+
803,
|
| 1576 |
+
485,
|
| 1577 |
+
883
|
| 1578 |
+
],
|
| 1579 |
+
"page_idx": 10
|
| 1580 |
+
},
|
| 1581 |
+
{
|
| 1582 |
+
"type": "table",
|
| 1583 |
+
"img_path": "images/538bc47ff2803a7de3bca8ecfe244d5868794d857dda43e51572aaf0362f7f6c.jpg",
|
| 1584 |
+
"table_caption": [
|
| 1585 |
+
"Table 8: GPT-3 performances with different few-shot examples."
|
| 1586 |
+
],
|
| 1587 |
+
"table_footnote": [],
|
| 1588 |
+
"table_body": "<table><tr><td>Module</td><td>BLEU-1</td><td>BLEU-2</td><td>ROUGH-L</td></tr><tr><td>Answer</td><td>79.3</td><td>77.6</td><td>83.6</td></tr><tr><td>+Prompt</td><td>82.7</td><td>80.9</td><td>86.3</td></tr><tr><td>Responder</td><td>82.0</td><td>77.0</td><td>80.9</td></tr><tr><td>+Prompt</td><td>82.9</td><td>78.1</td><td>81.7</td></tr></table>",
|
| 1589 |
+
"bbox": [
|
| 1590 |
+
536,
|
| 1591 |
+
80,
|
| 1592 |
+
855,
|
| 1593 |
+
165
|
| 1594 |
+
],
|
| 1595 |
+
"page_idx": 10
|
| 1596 |
+
},
|
| 1597 |
+
{
|
| 1598 |
+
"type": "text",
|
| 1599 |
+
"text": "Table 9: Model performances with our designed prompts. Here we choose BART-Large as our backbone model. Notice that, we use ground-truth answers rather than responses to evaluate the performances of Answer.",
|
| 1600 |
+
"bbox": [
|
| 1601 |
+
507,
|
| 1602 |
+
174,
|
| 1603 |
+
880,
|
| 1604 |
+
244
|
| 1605 |
+
],
|
| 1606 |
+
"page_idx": 10
|
| 1607 |
+
},
|
| 1608 |
+
{
|
| 1609 |
+
"type": "text",
|
| 1610 |
+
"text": "C Experimental Setup",
|
| 1611 |
+
"text_level": 1,
|
| 1612 |
+
"bbox": [
|
| 1613 |
+
507,
|
| 1614 |
+
271,
|
| 1615 |
+
719,
|
| 1616 |
+
288
|
| 1617 |
+
],
|
| 1618 |
+
"page_idx": 10
|
| 1619 |
+
},
|
| 1620 |
+
{
|
| 1621 |
+
"type": "text",
|
| 1622 |
+
"text": "Table 7 shows experimental setup in our experiments.",
|
| 1623 |
+
"bbox": [
|
| 1624 |
+
507,
|
| 1625 |
+
298,
|
| 1626 |
+
880,
|
| 1627 |
+
328
|
| 1628 |
+
],
|
| 1629 |
+
"page_idx": 10
|
| 1630 |
+
},
|
| 1631 |
+
{
|
| 1632 |
+
"type": "text",
|
| 1633 |
+
"text": "D More Results",
|
| 1634 |
+
"text_level": 1,
|
| 1635 |
+
"bbox": [
|
| 1636 |
+
507,
|
| 1637 |
+
342,
|
| 1638 |
+
663,
|
| 1639 |
+
357
|
| 1640 |
+
],
|
| 1641 |
+
"page_idx": 10
|
| 1642 |
+
},
|
| 1643 |
+
{
|
| 1644 |
+
"type": "text",
|
| 1645 |
+
"text": "We present T5-small, BART-small results in Table 10.",
|
| 1646 |
+
"bbox": [
|
| 1647 |
+
507,
|
| 1648 |
+
369,
|
| 1649 |
+
880,
|
| 1650 |
+
398
|
| 1651 |
+
],
|
| 1652 |
+
"page_idx": 10
|
| 1653 |
+
},
|
| 1654 |
+
{
|
| 1655 |
+
"type": "text",
|
| 1656 |
+
"text": "E More results",
|
| 1657 |
+
"text_level": 1,
|
| 1658 |
+
"bbox": [
|
| 1659 |
+
507,
|
| 1660 |
+
413,
|
| 1661 |
+
655,
|
| 1662 |
+
428
|
| 1663 |
+
],
|
| 1664 |
+
"page_idx": 10
|
| 1665 |
+
},
|
| 1666 |
+
{
|
| 1667 |
+
"type": "text",
|
| 1668 |
+
"text": "E.1 Answer to $Q_{3}$",
|
| 1669 |
+
"text_level": 1,
|
| 1670 |
+
"bbox": [
|
| 1671 |
+
507,
|
| 1672 |
+
439,
|
| 1673 |
+
665,
|
| 1674 |
+
455
|
| 1675 |
+
],
|
| 1676 |
+
"page_idx": 10
|
| 1677 |
+
},
|
| 1678 |
+
{
|
| 1679 |
+
"type": "text",
|
| 1680 |
+
"text": "In order to validate whether GPT-3 achieves promising results in Penguin. We train GPT-3 with few-shot examples, and construct a mini test set via randomly sampling 200 examples in Penguin's test set. Table 8 illustrates their corresponding results, we can observe there is a significant performance gap between GPT-3 and BART-Large. The results show current large language models with more 100 billion-level parameters can not address the challenge in our dataset, proving the difficulty of our Penguin.",
|
| 1681 |
+
"bbox": [
|
| 1682 |
+
507,
|
| 1683 |
+
461,
|
| 1684 |
+
882,
|
| 1685 |
+
637
|
| 1686 |
+
],
|
| 1687 |
+
"page_idx": 10
|
| 1688 |
+
},
|
| 1689 |
+
{
|
| 1690 |
+
"type": "text",
|
| 1691 |
+
"text": "E.2 Answer to $Q_{4}$",
|
| 1692 |
+
"text_level": 1,
|
| 1693 |
+
"bbox": [
|
| 1694 |
+
507,
|
| 1695 |
+
650,
|
| 1696 |
+
665,
|
| 1697 |
+
665
|
| 1698 |
+
],
|
| 1699 |
+
"page_idx": 10
|
| 1700 |
+
},
|
| 1701 |
+
{
|
| 1702 |
+
"type": "text",
|
| 1703 |
+
"text": "In this subsection, we are devoted to investigating where the majority of the improvement that designed prompts bring to the two-stage framework stems from. We show more detailed results of Answerer and Responser in Table 9. We can easily draw the conclusions that 1) a well-performed Answerer is the main prerequisite for a well-performed Responser. 2) The benefits of the designed prompts are most seen in the Answerer module, which enhance Answerer to generate more accurate answers. For instance, Answerer + prompt obtains more than 3 points in BLEU scores.",
|
| 1704 |
+
"bbox": [
|
| 1705 |
+
507,
|
| 1706 |
+
671,
|
| 1707 |
+
882,
|
| 1708 |
+
864
|
| 1709 |
+
],
|
| 1710 |
+
"page_idx": 10
|
| 1711 |
+
},
|
| 1712 |
+
{
|
| 1713 |
+
"type": "text",
|
| 1714 |
+
"text": "F Generated Cases of Question Types",
|
| 1715 |
+
"text_level": 1,
|
| 1716 |
+
"bbox": [
|
| 1717 |
+
507,
|
| 1718 |
+
876,
|
| 1719 |
+
850,
|
| 1720 |
+
892
|
| 1721 |
+
],
|
| 1722 |
+
"page_idx": 10
|
| 1723 |
+
},
|
| 1724 |
+
{
|
| 1725 |
+
"type": "text",
|
| 1726 |
+
"text": "We show typical cases in Table 11 and Table 12.",
|
| 1727 |
+
"bbox": [
|
| 1728 |
+
507,
|
| 1729 |
+
903,
|
| 1730 |
+
865,
|
| 1731 |
+
917
|
| 1732 |
+
],
|
| 1733 |
+
"page_idx": 10
|
| 1734 |
+
},
|
| 1735 |
+
{
|
| 1736 |
+
"type": "page_footnote",
|
| 1737 |
+
"text": "<sup>5</sup>https://github.com/ZhuiyiTechnology/t5-pegasus",
|
| 1738 |
+
"bbox": [
|
| 1739 |
+
134,
|
| 1740 |
+
890,
|
| 1741 |
+
438,
|
| 1742 |
+
904
|
| 1743 |
+
],
|
| 1744 |
+
"page_idx": 10
|
| 1745 |
+
},
|
| 1746 |
+
{
|
| 1747 |
+
"type": "page_footnote",
|
| 1748 |
+
"text": "$^{6}$ https://github.com/fastnlp/CPT",
|
| 1749 |
+
"bbox": [
|
| 1750 |
+
136,
|
| 1751 |
+
904,
|
| 1752 |
+
334,
|
| 1753 |
+
917
|
| 1754 |
+
],
|
| 1755 |
+
"page_idx": 10
|
| 1756 |
+
},
|
| 1757 |
+
{
|
| 1758 |
+
"type": "page_number",
|
| 1759 |
+
"text": "11078",
|
| 1760 |
+
"bbox": [
|
| 1761 |
+
475,
|
| 1762 |
+
927,
|
| 1763 |
+
524,
|
| 1764 |
+
940
|
| 1765 |
+
],
|
| 1766 |
+
"page_idx": 10
|
| 1767 |
+
},
|
| 1768 |
+
{
|
| 1769 |
+
"type": "table",
|
| 1770 |
+
"img_path": "images/d32d2b349c2bed6d35ae1eb0515cd5f89c186635902ba21160699b57f12cad87.jpg",
|
| 1771 |
+
"table_caption": [],
|
| 1772 |
+
"table_footnote": [],
|
| 1773 |
+
"table_body": "<table><tr><td>Framework</td><td>BackBone</td><td>Dist-1</td><td>Dist-2</td><td>BLEU-1</td><td>BLEU-2</td><td>ROUGH-L</td><td>EM</td><td>Average</td></tr><tr><td rowspan=\"2\">End-to-End</td><td>T5-small</td><td>2.7</td><td>34.5</td><td>80.1</td><td>74.8</td><td>78.9</td><td>30.5</td><td>50.3</td></tr><tr><td>BART-base</td><td>2.7</td><td>34.4</td><td>82.1</td><td>77.2</td><td>81.0</td><td>35.6</td><td>52.1</td></tr><tr><td rowspan=\"2\">Two-Stage</td><td>T5-small</td><td>2.7</td><td>34.0</td><td>80.2</td><td>75.0</td><td>79.0</td><td>30.8</td><td>50.3</td></tr><tr><td>BART-base</td><td>2.8</td><td>34.4</td><td>82.1</td><td>77.3</td><td>81.1</td><td>36.2</td><td>52.3</td></tr></table>",
|
| 1774 |
+
"bbox": [
|
| 1775 |
+
166,
|
| 1776 |
+
70,
|
| 1777 |
+
831,
|
| 1778 |
+
167
|
| 1779 |
+
],
|
| 1780 |
+
"page_idx": 11
|
| 1781 |
+
},
|
| 1782 |
+
{
|
| 1783 |
+
"type": "table",
|
| 1784 |
+
"img_path": "images/9e797ac4b64adbf7ec8db062485a2ebca39e9a3fae79d11c7d473f1e9fad3584.jpg",
|
| 1785 |
+
"table_caption": [
|
| 1786 |
+
"Table 10: End-to-end and two-stage frameworks' performances with different backbone models. EN and CN refer to English and Chinese, separately. We highlight the best performances in the table."
|
| 1787 |
+
],
|
| 1788 |
+
"table_footnote": [],
|
| 1789 |
+
"table_body": "<table><tr><td>Question Type</td><td>YES/NO (是否类)</td></tr><tr><td>Passage</td><td>...Three-year-old baby eat two or three at a time on the line, the child's gastrointestinal function is relatively weak, eating more will cause gastrointestinal discomfort... ...三周岁宝宝每次吃两三个就行了,孩子的胃肠道功能比较弱,吃多了会引起肠胃不适...</td></tr><tr><td>Question</td><td>Is it good for three-year-old baby to litchi? 三周岁宝宝吃荔枝好吗?</td></tr><tr><td>Answer</td><td>Yes. 好</td></tr><tr><td>Expected Response</td><td>Three-year-old babies can eat two or three litchis, but not too much. 三周岁的宝宝可以吃两三个荔枝,但是不能吃太多。</td></tr><tr><td></td><td>Generated Response-One-Stage</td></tr><tr><td>T5</td><td>They can not eat litchi. 他们不可以吃荔枝</td></tr><tr><td>BART</td><td>They can eat litchi. 他们可以吃荔枝</td></tr><tr><td>Prompt-BART</td><td>They can eat litchi. 他们可以吃荔枝</td></tr><tr><td></td><td>Generated Response-Two-Stage</td></tr><tr><td>T5</td><td>Three-year-old baby can not eat litchi. 三周岁的宝宝不可以吃荔枝</td></tr><tr><td>BART</td><td>They can eat litchi. 他们可以吃荔枝</td></tr><tr><td>Prompt-BART</td><td>Three-year-old baby can eat litchi. 三周岁的宝宝可以吃荔枝</td></tr><tr><td></td><td>(a) A Generated Response example of Yes/No questions.</td></tr><tr><td>Question Type</td><td>Opinion (观点类)</td></tr><tr><td>Passage</td><td>...It's not a matter of how fast you move, it's a matter of understanding. I have been learning the piano for 10 years and I have to practice these czernies and so on over and over again this year. It is recommended to learn Bayer first, which greatly improves the basic skills.... ...进度快不快不是问题,主要看你的理解能力。我学了10年琴,车尔尼这些等等今年都要反复的练习。推荐还是先学拜厄,对基本功有很大的提高。...</td></tr><tr><td>Question</td><td>I've already learned Faber, so do I still need to practice Baier? 我已经学习了菲伯尔,那还需要练习拜厄吗?</td></tr><tr><td>Answer</td><td>Of course. 需要</td></tr><tr><td>Expected Response</td><td>You'd better practice Baier. It can improve your basic skills. 推荐还是练习拜厄,这对你的基本功有好处。</td></tr><tr><td></td><td>Generated Response-One-Stage</td></tr><tr><td>T5</td><td>You need to practice Baier. 还是要练习拜厄</td></tr><tr><td>BART</td><td>You still need to practice Baier. 仍然要练习拜厄</td></tr><tr><td>Prompt-BART</td><td>You still need to practice Baier. 仍然要练习拜厄</td></tr><tr><td></td><td>Generated Response-Two-Stage</td></tr><tr><td>T5</td><td>You still need to practice Baier. 仍然要练习拜厄</td></tr><tr><td>BART</td><td>You still need to practice Baier. 仍然要练习拜厄</td></tr><tr><td>Prompt-BART</td><td>He still needs to practice Baier. 他仍然要练习拜厄</td></tr><tr><td></td><td>(b) A Generated Response example of Opinion questions.</td></tr></table>",
|
| 1790 |
+
"bbox": [
|
| 1791 |
+
137,
|
| 1792 |
+
217,
|
| 1793 |
+
858,
|
| 1794 |
+
847
|
| 1795 |
+
],
|
| 1796 |
+
"page_idx": 11
|
| 1797 |
+
},
|
| 1798 |
+
{
|
| 1799 |
+
"type": "text",
|
| 1800 |
+
"text": "Table 11: Typical generated examples from each model in Penguin. English translation is also given for comparison.",
|
| 1801 |
+
"bbox": [
|
| 1802 |
+
112,
|
| 1803 |
+
857,
|
| 1804 |
+
880,
|
| 1805 |
+
872
|
| 1806 |
+
],
|
| 1807 |
+
"page_idx": 11
|
| 1808 |
+
},
|
| 1809 |
+
{
|
| 1810 |
+
"type": "page_number",
|
| 1811 |
+
"text": "11079",
|
| 1812 |
+
"bbox": [
|
| 1813 |
+
477,
|
| 1814 |
+
928,
|
| 1815 |
+
524,
|
| 1816 |
+
940
|
| 1817 |
+
],
|
| 1818 |
+
"page_idx": 11
|
| 1819 |
+
},
|
| 1820 |
+
{
|
| 1821 |
+
"type": "table",
|
| 1822 |
+
"img_path": "images/5a88946cf8c50c27c7de13cec996a6a933bd7fff04e937bd61552d94019e35b2.jpg",
|
| 1823 |
+
"table_caption": [],
|
| 1824 |
+
"table_footnote": [],
|
| 1825 |
+
"table_body": "<table><tr><td>Question Type</td><td>Fact (事实类)</td></tr><tr><td>Passage</td><td>...Zhang Lei is a Chinese football player and goalkeeper. Zhang Lei was selected to Guang-dong Hongyuan Youth Team at the age of 13, then played as the main goalkeeper for Dongguan Southern City before moving to Shenzhen in 2006. He was selected to the 2008 National Olympic Team and the 2005 World Youth Championships squad. In 2009, Beijing Guoan exchanged Cheng Yuelei, a backup goalkeeper, plus 400,000 yuan to Shenzhen in exchange for Zhang Lei, which was also the last domestic import transaction of Beijing Guoan in the first transfer market of the 2009 season. Zhang Lei did not get a chance to play because Beijing Guoan had Yang Zhi as their keeper. He was listed by Beijing Guoan and eventually moved to Changsha Jinde in 2010 after losing their main goalkeeper Song Zhenyu. In 2011, Zhang moved to Chongqing Lifan and became the team's main goalkeeper. Served for five years, the first three years to play the main force, the last two years gradually as a substitute. In 2016, he was transferred to Hangzhou Greentown. Zhang Lei joined the Lijiang Flying Tigers on loan from Hangzhou Greentown in 2017....张磊,中国足球运动员��司职守门员。张磊13岁时入选广东宏远少年队,随后担任东莞南城的主力门将,2006年转会到深圳队。他入选了08之星国奥队,并进入2005年世青赛的大名单。2009年北京国安用替补门将程月磊加上40万元,与深圳队交换张磊,这也是2009赛季中超第一次转会市场上北京国安队最后一笔内援引进交易。因为北京国安有杨智把关,所以张磊没有得到出场机会,结果被北京国安挂牌,最终在2010年转会到失去主力门将宋振瑜的长沙金德,成为球队新的主力门将。2011年,张磊转会到重庆力帆成为球队的主力门将。效力了五年期间,前三年打主力,后两年渐为替补。2016年转会到杭州绿城。2017年,张磊从杭州绿城租借到丽江飞虎。...</td></tr><tr><td>Question</td><td>In what year did Zhang Lei transfer to Shenzhen?张磊哪一年转会去的深圳?</td></tr><tr><td>Answer</td><td>2006. 2006</td></tr><tr><td>Expected Response</td><td>He transfers to Shenzhen in 2006. 他于2006年转会到深圳。</td></tr><tr><td colspan=\"2\">Generated Response-One-Stage</td></tr><tr><td>T5BARTPrompt-BART</td><td>He transferred to Shenzhen in two years. 他于2年转会到深圳队He transferred to Shenzhen in two years. 他于2年转会到深圳队He transfers to Shenzhen in 2006. 他于2006年转会到深圳</td></tr><tr><td colspan=\"2\">Generated Response-Two-Stage</td></tr><tr><td>T5BARTPrompt-BART</td><td>He transfers to Shenzhen in 2006. 他于2006年转会到深圳He transfers to Shenzhen in 2006. 他于2006年转会到深圳Zhang Lei transfers to Shenzhen in 2006. 张磊于2006年转会到深圳</td></tr></table>",
|
| 1826 |
+
"bbox": [
|
| 1827 |
+
137,
|
| 1828 |
+
80,
|
| 1829 |
+
858,
|
| 1830 |
+
580
|
| 1831 |
+
],
|
| 1832 |
+
"page_idx": 12
|
| 1833 |
+
},
|
| 1834 |
+
{
|
| 1835 |
+
"type": "text",
|
| 1836 |
+
"text": "Table 12: A Generated Response example of Fact questions in Penguin. English translation is also given for comparison.",
|
| 1837 |
+
"bbox": [
|
| 1838 |
+
112,
|
| 1839 |
+
589,
|
| 1840 |
+
882,
|
| 1841 |
+
619
|
| 1842 |
+
],
|
| 1843 |
+
"page_idx": 12
|
| 1844 |
+
},
|
| 1845 |
+
{
|
| 1846 |
+
"type": "text",
|
| 1847 |
+
"text": "G All Prompts",
|
| 1848 |
+
"text_level": 1,
|
| 1849 |
+
"bbox": [
|
| 1850 |
+
112,
|
| 1851 |
+
643,
|
| 1852 |
+
260,
|
| 1853 |
+
659
|
| 1854 |
+
],
|
| 1855 |
+
"page_idx": 12
|
| 1856 |
+
},
|
| 1857 |
+
{
|
| 1858 |
+
"type": "text",
|
| 1859 |
+
"text": "We design five prompts for each module in end-to-end and two-stage frameworks, which are presented in Table 13.",
|
| 1860 |
+
"bbox": [
|
| 1861 |
+
112,
|
| 1862 |
+
668,
|
| 1863 |
+
489,
|
| 1864 |
+
715
|
| 1865 |
+
],
|
| 1866 |
+
"page_idx": 12
|
| 1867 |
+
},
|
| 1868 |
+
{
|
| 1869 |
+
"type": "page_number",
|
| 1870 |
+
"text": "11080",
|
| 1871 |
+
"bbox": [
|
| 1872 |
+
477,
|
| 1873 |
+
927,
|
| 1874 |
+
526,
|
| 1875 |
+
940
|
| 1876 |
+
],
|
| 1877 |
+
"page_idx": 12
|
| 1878 |
+
},
|
| 1879 |
+
{
|
| 1880 |
+
"type": "table",
|
| 1881 |
+
"img_path": "images/97e722c508ea6716f37dcd96b2b4f2d4f074c7d38667317d9b024539937bcc36.jpg",
|
| 1882 |
+
"table_caption": [],
|
| 1883 |
+
"table_footnote": [],
|
| 1884 |
+
"table_body": "<table><tr><td>Framework</td><td>Prompts</td></tr><tr><td>One-Stage</td><td>1. Please generate a reasonable response based on the following question and passage. Question: Q.Passage: P.\n2. The question is Q, give the reasonable response based on the following paragraph: P.\n3. This is a reading comprehension problem, please generate the reasonable response based on the following question and passage. Question is Q. Passage is P.\n4. Please answer the question according to descriptions of the question and paragraph. Question is Q.Passage is P.\n5. The question is Q, Conduct question understanding and response generation, knowledge question and response task. Relevant paragraphs are as follows: P.</td></tr><tr><td>Answerer</td><td>1. Please generate the reasonable answer based on the following question and passage. Question: Q.Passage: P.\n2. The question is Q, give the reasonable answer based on the following paragraph: P.\n3. This is a reading comprehension problem, please generate the reasonable answer based on the following question and passage. Question is Q. Passage is P.\n4. Please answer the question according to descriptions of the question and paragraph. Question is Q.Passage is P.\n5. The question is Q, Conduct question understanding and answer generation, knowledge question and answer task. Relevant paragraphs are as follows: P.</td></tr><tr><td>Responder</td><td>1. Please generate the reasonable response based on the following question and answer. Question: Q.Answer: A.\n2. The question is Q, give the reasonable response based on the following answer: A.\n3. This is a answer rewriting problem, please generate the reasonable response based on the following question and answer. Question is Q. Answer is A.\n4. Please give the response according to descriptions of the question and answer. Question is Q. Answer is A.\n5. The question is Q, Conduct question understanding and response generation, answer rewriting task.Relevant answer is as follows: A.</td></tr></table>",
|
| 1885 |
+
"bbox": [
|
| 1886 |
+
126,
|
| 1887 |
+
312,
|
| 1888 |
+
872,
|
| 1889 |
+
675
|
| 1890 |
+
],
|
| 1891 |
+
"page_idx": 13
|
| 1892 |
+
},
|
| 1893 |
+
{
|
| 1894 |
+
"type": "text",
|
| 1895 |
+
"text": "Table 13: All used prompts during training. English translation is only given for reading.",
|
| 1896 |
+
"bbox": [
|
| 1897 |
+
196,
|
| 1898 |
+
684,
|
| 1899 |
+
798,
|
| 1900 |
+
701
|
| 1901 |
+
],
|
| 1902 |
+
"page_idx": 13
|
| 1903 |
+
},
|
| 1904 |
+
{
|
| 1905 |
+
"type": "page_number",
|
| 1906 |
+
"text": "11081",
|
| 1907 |
+
"bbox": [
|
| 1908 |
+
477,
|
| 1909 |
+
927,
|
| 1910 |
+
522,
|
| 1911 |
+
940
|
| 1912 |
+
],
|
| 1913 |
+
"page_idx": 13
|
| 1914 |
+
}
|
| 1915 |
+
]
|
2023/Natural Response Generation for Chinese Reading Comprehension/deacd081-229d-47a6-82a1-c3842e05b39b_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2023/Natural Response Generation for Chinese Reading Comprehension/deacd081-229d-47a6-82a1-c3842e05b39b_origin.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d5bba15ed0c5a6d9111c973dfbc6d1595c30d0abc3161a1ee1af6fcccfb0a3c2
|
| 3 |
+
size 982101
|
2023/Natural Response Generation for Chinese Reading Comprehension/full.md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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Natural Response Generation for Chinese Reading Comprehension
|
| 2 |
+
|
| 3 |
+
Nuo Chen†,* Hongguang Li‡, Yinan Bao‡
|
| 4 |
+
|
| 5 |
+
Baoyuan Wang\* and Jia Li
|
| 6 |
+
|
| 7 |
+
$^{\dagger}$ Hong Kong University of Science and Technology (Guangzhou),
|
| 8 |
+
|
| 9 |
+
Hong Kong University of Science and Technology
|
| 10 |
+
|
| 11 |
+
‡ Xiaobing.AI
|
| 12 |
+
|
| 13 |
+
†chennuo26@gmail.com, jialee@ust.hk
|
| 14 |
+
|
| 15 |
+
# Abstract
|
| 16 |
+
|
| 17 |
+
Machine reading comprehension (MRC) is an important area of conversation agents and draws a lot of attention. However, there is a notable limitation to current MRC benchmarks: The labeled answers are mostly either spans extracted from the target corpus or the choices of the given candidates, ignoring the natural aspect of high-quality responses. As a result, MRC models trained on these datasets can not generate human-like responses in real QA scenarios. To this end, we construct a new dataset called Penguin to promote the research of MRC, providing a training and test bed for natural response generation to real scenarios. Concretely, Penguin consists of 200k training data with high-quality fluent, and well-informed responses. Penguin is the first benchmark towards natural response generation in Chinese MRC on a relatively large scale. To address the challenges in Penguin, we develop two strong baselines: end-to-end and two-stage frameworks. Following that, we further design Prompt-BART: fine-tuning the pre-trained generative language models with a mixture of prefix prompts in Penguin. Extensive experiments validated the effectiveness of this design. Our benchmark and codes are available at https://github.com/nuochenpku/Penguin.
|
| 18 |
+
|
| 19 |
+
# 1 Introduction
|
| 20 |
+
|
| 21 |
+
Machine Reading comprehension (MRC) aims to empower the machine to correctly answer queries based on the given passages or paragraphs, which is an active field in NLP. Much of this popularity can be attributed to the release of many annotated and publicly available datasets (Rajpurkar et al., 2016; Trischler et al., 2016; Chen et al., 2022a; You et al., 2022; Chen et al., 2023a). Formally, these MRC efforts can be classified into two most
|
| 22 |
+
|
| 23 |
+
popular streams<sup>1</sup> from the answer type perspective: span-extraction (Rajpurkar et al., 2016; Trischler et al., 2016; Cui et al., 2019; Chen et al., 2022b; You et al., 2021a) and multiple choices (Lai et al., 2017; Zellers et al., 2018; Wang et al., 2020). The former requires the model to locate the text span in the given passage as the answer, e.g., SQuAD (Rajpurkar et al., 2016) and NewQA (Trischler et al., 2016). SQuAD, for example, introduces extracted span answers. The latter needs to choose the answer from a list of candidates like RACE (Lai et al., 2017). Considering most of the existing works are built in English, several efforts have been proposed to further advance MRC in Chinese such as DuReader (He et al., 2017), CMRC 2018 (Cui et al., 2019), ReCo (Wang et al., 2020).
|
| 24 |
+
|
| 25 |
+
Nonetheless, despite significant achievements in the various types and on a relatively large scale, a significant barrier that has rarely been discussed in previous MRC efforts remains: Annotated answers among these datasets are almost limited to spans in the source document or the given candidates. While spans directly copied from the source document and simple words like "yes/no" can be seen as ground-truth answers, they don't sound like natural responses in real-life scenarios. In reality, the responses of humans are always generated with flexibility and information rather than being forced to select certain type spans (e.g., entities and person) or one of the candidates.
|
| 26 |
+
|
| 27 |
+
This work devotes itself to natural response generation for Chinese MRC, catering to real-world QA scenarios. Intuitively, we can try two existing technical routes to generate natural responses towards MRC at the moment: 1) Optimizing generative language models (GLMs) such as BART and T5 with predetermined and inflexible answers on the above benchmarks. 2) Use extremely large-
|
| 28 |
+
|
| 29 |
+
<table><tr><td>Passage</td><td>...Bream, which is traditionally steamed or braised, is a popular fish. Soup should of course be cooked, but soles is not suitable for this dish because of its fleshy nature...
|
| 30 |
+
...鳊鱼一直备受人们喜爱,鳊鱼的传统做法是清蒸或者红烧。当然不排除可以烧汤,但是鉴于鳊鱼的肉质特色,不是很适合烧汤的...</td></tr><tr><td>Question</td><td>Can bream be stewed in soup?
|
| 31 |
+
鳊鱼可以炖汤吗?</td></tr><tr><td>Candidates</td><td>Of Course | No, you can't | Uncertain
|
| 32 |
+
可以|不可以|不确定</td></tr><tr><td>BART</td><td>Of Course
|
| 33 |
+
可以</td></tr><tr><td>GPT-3</td><td>Yes! If you want to stew soup, in think-ing, then we still choose to have.
|
| 34 |
+
是可以的!想要炖汤的话,在思考,那么我们还是选择有。</td></tr><tr><td>Expected
|
| 35 |
+
Response</td><td>Bream can be used in soups but is generally not recommended.
|
| 36 |
+
鳊鱼可以用来煮汤,但是一般不推荐这么做。</td></tr></table>
|
| 37 |
+
|
| 38 |
+
Table 1: An example from ReCo (Wang et al., 2020). The text in bold refers to the answer in the candidates or the expected response. English translation is also given for comparison.
|
| 39 |
+
|
| 40 |
+
scale pre-trained GLMs like GPT-3 (more than 100 billion parameters) (Brown et al., 2020) with few-shot in-context learning.
|
| 41 |
+
|
| 42 |
+
We showcase a multi-choice MRC example from ReCo (Wang et al., 2020) in Table 1, where the query is a typical yes-or-no question and the answer is required to be one of the candidates. We fine-tune BART-large (Lewis et al., 2020) on ReCo and find that the resulting model can accurately predict the answer: "of course" in this case. However, the prediction is accurate but stiff and lacking in detail. On the other hand, we use GPT-3 under few-shot from ReCo and validate its generated response via the same case in Table 1. Obviously, the produced result "Yes! If you want to... we still choose to have" is fluent yet incoherent and semantically incorrect. Ideally, the qualified response of humans should be informative and fluent, like "Bream can be used .... not recommended". In other words, although these models are proficient, they can't produce fluent and accurate responses for reading comprehension.
|
| 43 |
+
|
| 44 |
+
Based on the above analysis, we can draw the conclusion that it is impossible to build an effective MRC model for natural $^2$ response generation in the absence of a benchmark with well-labeled
|
| 45 |
+
|
| 46 |
+
responses. To this end, we move forward to push the boundary of MRC: Firstly, we collect the first Chinese generative reading comprehension (GRC) dataset named Penguin to facilitate research of natural response generation for Chinese MRC. Formally, Penguin poses a new challenge to current MRC models: Not only should the responses be accurate, but they also need to be natural (as fluent and informative as possible). Concretely, Penguin contains 200k training and a 15K test corpus with high-quality fluent and informative responses. Table 2 shows the overview of current MRC datasets and Penguin.
|
| 47 |
+
|
| 48 |
+
Secondly, we design two GRC pipelines based on this non-trivial dataset: i) end-to-end; ii) two-stage training. For the former, we directly take the question and corresponding passage as input, generating a sequence of words as responses. The latter consists of two modules: Answerer and Responser. Answerer is responsible for generating initial answers based on the question and passage. Then Responser rewrites and expands the generated answers into human-like responses. Experimentally, two pipelines achieve promising results in Penguin.
|
| 49 |
+
|
| 50 |
+
Finally, we propose Prompt-BART, an approach for fine-tuning pre-trained generative language models using a wide variety of prefix prompts in Penguin. The resulting model, as stated in the prompt that accompanied it, boosted the overall performance.
|
| 51 |
+
|
| 52 |
+
# 2 Related Work
|
| 53 |
+
|
| 54 |
+
Machine Reading Comprehension During the past few years, Machine Reading Comprehension (MRC) (Rajpurkar et al., 2016; Trischler et al., 2016; You et al., 2021b; Chen et al., 2021; Song et al., 2023; Chen et al., 2023b) receives lots of attention from research communities and various related benchmarks have been proposed: SQuAD (Rajpurkar et al., 2016), MS-MarCO (Nguyen et al., 2016), NewQA (Trischler et al., 2016) and RACE (Lai et al., 2017), etc. Following this line of research, some works aim to accelerate the development of Chinese MRC on language diversity, such as DuReader (He et al., 2017), CMRC 2018 (Cui et al., 2019), ReCo (Wang et al., 2020).
|
| 55 |
+
|
| 56 |
+
These well-designed and large-scale benchmarks facilitate the research of various types of MRC tasks, but they ignore the fact that answers are primarily confined to text span extraction from the source document or choosing candidates. In com
|
| 57 |
+
|
| 58 |
+
parison with natural human responses, these answers are less informative and less fluid. In other words, models trained on the above datasets do not have strong ability to generate fluent, natural as well as informative responses. Although recent works (Bi et al., 2019; Li et al., 2021) develop sequence-to-sequence frameworks to address the challenge in MS-MarCO (Nguyen et al., 2016), they still regard some abstractive answers as the optimized objective, which consist of some uninformative extracted spans from the passage, leading to responses that are far away from fluent and fluid text. To this end, we propose a new dataset Penguin to encourage further progress in natural response generation of Chinese MRC.
|
| 59 |
+
|
| 60 |
+
Natural Generative Question Answering Similar to our work, natural generative question answering (NGQA) (Yin et al., 2016; Huang and Zhong, 2018; Bi et al., 2019; Jiang et al., 2022) also aims at generating natural responses to questions. Although both tasks share a similar target, the research question and task settings differ: Firstly, NGQA produces responses to simple factoid questions based on the naive entity triplets that are given as external knowledge. In contrast, we focus on yielding fluent responses based on a deep understanding of the question and passage. Such a deep understanding of interaction between question and passage is more challenging than the simple entity triplets. Moreover, GRC closely resembles humans asking questions about a certain topic and generating corresponding replies. Last, previous NGQA efforts were limited to the English corpus, whereas we are expanding it to Chinese.
|
| 61 |
+
|
| 62 |
+
# 3 DataSet
|
| 63 |
+
|
| 64 |
+
# 3.1 Task Definition
|
| 65 |
+
|
| 66 |
+
Generally, machine reading comprehension task can be illustrated as $\langle \mathcal{P}, \mathcal{Q}, \mathcal{A} \rangle$ , where $\mathcal{P}$ is the paragraph or the whole passage, $\mathcal{Q}$ represents questions, $\mathcal{A}$ refers to answers. Previous works tend to model MRC as a classification task with the objective of selecting $\mathcal{A}$ from several candidates or finding the text span of $\mathcal{A}$ in $\mathcal{P}$ . In contrast, we formalize MRC as a sequence-to-sequence task, where the objective is to generate fluent and factual responses: $\mathcal{R}$ . In this work, we include $\langle \mathcal{P}, \mathcal{Q}, \mathcal{A}, \mathcal{R} \rangle$ in Penguin.
|
| 67 |
+
|
| 68 |
+
<table><tr><td>Dataset</td><td>Lang.</td><td>Answer Type</td><td>Size</td></tr><tr><td>SQuAD (2016)</td><td>EN</td><td>Span</td><td>100K</td></tr><tr><td>RACE (2017)</td><td>EN</td><td>Multi-Choices</td><td>87K</td></tr><tr><td>MarCO (2016)</td><td>EN</td><td>Free-Form</td><td>100K</td></tr><tr><td>NewsQA (2016)</td><td>EN</td><td>Span</td><td>100K</td></tr><tr><td>DuReader (2017)</td><td>CN</td><td>Free-Form</td><td>200k</td></tr><tr><td>CMRC (2019)</td><td>CN</td><td>Span</td><td>20K</td></tr><tr><td>ReCo (2020)</td><td>CN</td><td>Multi-Choices</td><td>300K</td></tr><tr><td>Penguin</td><td>CN</td><td>Natural Response</td><td>200K</td></tr></table>
|
| 69 |
+
|
| 70 |
+
Table 2: Datasets Comparison. EN and CN refer to English and Chinese, separately.
|
| 71 |
+
|
| 72 |
+
# 3.2 Dataset Collection
|
| 73 |
+
|
| 74 |
+
As aforementioned, a high-quality dataset is a prerequisite for building effective GRC models. Unfortunately, current datasets don't contain well-informed and natural responses. To facilitate the study of MRC, we collect a new dataset: Penguin, in the hopes of creating sophisticated GRC models that can generate natural responses for practical QA situations. Considering constructing such a dataset on a large scale is non-trivial, we initialize our dataset from the current Chinese MRC dataset corpus to get raw passage-question-answer $(<\mathcal{P}, \mathcal{Q}, \mathcal{A})$ triplets, including CMRC 2018, DuReader, and ReCo.
|
| 75 |
+
|
| 76 |
+
It is extremely difficult and expensive to ask the annotator to start from scratch and write a response $\mathcal{R}$ that makes sense and sounds natural for each $<\mathcal{P}, \mathcal{Q}, \mathcal{A}>$ triplet. Therefore, we generate informative and fluent responses via the following steps: (1) We first utilize a specific response generative model (short for Responser) to generate initial responses for the above triplets; (2) Then, we use state-of-the-art semantic matching models alongside certain manually-created criteria to exclude samples of incoherence and semantic shift; (3) Last, we employ three professional annotators to rewrite and recheck undesired cases, therefore regulating data quality. As a result, we collect a sequence of 4-tuples: $<\mathcal{P}, \mathcal{Q}, \mathcal{A}, \mathcal{R}>$ in Penguin, where $\mathcal{R}$ is the labeled response. In the following, we will introduce the detailed procedures of these steps, sequentially. The conceptual process of data collection is presented in Figure 1.
|
| 77 |
+
|
| 78 |
+
Responder Prior to going further, the main concern is how to get an effective sequence-to-sequence responder model. Furthermore, more pressing than any of these other issues is figuring out where to collect the high-quality Chinese corpus needed to train the responder. Inspired by NGQA works, We first get the English <question,
|
| 79 |
+
|
| 80 |
+

|
| 81 |
+
Figure 1: Data collection pipeline
|
| 82 |
+
|
| 83 |
+
answer, response> triplets in (Baheti et al., 2020). Then we utilize machine translation systems to translate these data from English to Chinese. Considering translated corpus will inevitably have erroneous examples, we utilize perplexity (Brown et al., 1992) to identify and weed out some bad cases. Following the line of Yin et al. (2016), Bart-large is employed as the backbone of responder to fine-tune on these translated corpus, which takes the question as well as answer as input and then outputs response during training. Subsequently, the resulting responder models are used to inference on each $\langle \mathcal{P}, \mathcal{Q}, \mathcal{A} \rangle$ triplet from CMRC 2018, DuReader and ReCo, generating initial responses. Concretely, responder takes the passage and question as input, then outputs the response during inference.
|
| 84 |
+
|
| 85 |
+
Data Filtering Intuitively, the collected initial responses might be stilted, evasive, and semantically challenging to connect with its corresponding questions and answers. Therefore, we employ state-of-the-art Chinese semantic matching models on LCQMC leadboard<sup>3</sup> to compute the sentence similarity of the generated response and answer. Roughly, we will throw out an instance if the simi
|
| 86 |
+
|
| 87 |
+
<table><tr><td colspan="2">Statistics</td><td>Train</td><td>Dev</td><td>Test</td></tr><tr><td colspan="2"><P, Q, A, R></td><td>200k</td><td>10k</td><td>15k</td></tr><tr><td rowspan="3">Passage tokens</td><td>Max.</td><td>492</td><td>486</td><td>490</td></tr><tr><td>Min.</td><td>24</td><td>19</td><td>31</td></tr><tr><td>Ave.</td><td>84.3</td><td>82.45</td><td>84.85</td></tr><tr><td rowspan="3">Question tokens</td><td>Max.</td><td>61</td><td>37</td><td>17</td></tr><tr><td>Min.</td><td>4</td><td>5</td><td>5</td></tr><tr><td>Ave.</td><td>11.5</td><td>11.6</td><td>11.5</td></tr><tr><td rowspan="3">Answer tokens</td><td>Max.</td><td>20</td><td>11</td><td>20</td></tr><tr><td>Min.</td><td>1</td><td>1</td><td>1</td></tr><tr><td>Ave.</td><td>2.8</td><td>2.6</td><td>2.1</td></tr><tr><td rowspan="3">Response tokens</td><td>Max.</td><td>42</td><td>26</td><td>33</td></tr><tr><td>Min.</td><td>6</td><td>6</td><td>6</td></tr><tr><td>Ave.</td><td>10.1</td><td>9.6</td><td>9.7</td></tr></table>
|
| 88 |
+
|
| 89 |
+
Table 3: Overall data Statistics in Penguin.
|
| 90 |
+
|
| 91 |
+
larity score between the response and the answer is below the pre-defined threshold. To be more specific, the generated response just can be seen as replacing a few words in the answer in some cases, resulting in the extremely high similarity between the answer and the response. e.g., given the question "How tall is Yao Ming", and the answer "He is $2.29\mathrm{m}$ ". the generated response could be "Yao Ming is $2.29\mathrm{m}$ ." For these cases, the threshold used to filter incoherent samples will be manually larger (more than 0.95). On the other hand, in certain instances, where the generated response provides the final piece of missing information based on the answer, the threshold will be manually lowered (lower than $0.3)^4$ . Besides, we employ additional scoring and filtering rules to identify the most grammatically correct and contextually relevant response (if any) to each $\langle \mathcal{P}, \mathcal{Q}, \mathcal{A} \rangle$ triplet. For instance, we remove the samples where the length of the response is less than the length of the answer plus 5.
|
| 92 |
+
|
| 93 |
+
Human Annotation In the above, we automatically generate the response via the effective responder, and then try to filter out some meaningless examples. To further control the training data quality, we recruit another three professional annotators to re-check each example and revise undesirable cases. In detail, each piece of data is verified by two different annotators. These annotators review the generated responses after reading the relevant question, passage, and answer. If the generated response is unnatural, they try rephrasing the statement to obtain a fair response. Thereafter, another annotator rates their annotations' quality, avoiding bias and getting high-agreement data. As a result,
|
| 94 |
+
|
| 95 |
+

|
| 96 |
+
Figure 2: Question types in Penguin. Empty colored blocks indicate suffixes that are too rare to show.
|
| 97 |
+
|
| 98 |
+
we collect high quality 4-tuples: $< \mathcal{P}, \mathcal{Q}, \mathcal{A}, \mathcal{R} >$ .
|
| 99 |
+
|
| 100 |
+
Test set Annotation We additionally hire eight expert annotators to choose and create questions and their answers from social media and themselves, bringing the acquired data closer to real-world events and increasing variety. Concretely, eight annotators are split into four smaller groups, and each of them consists of one questioner and one answerer. Questioners first select questions or question the news they are interested in from current social media platforms like weibo and zhihu. Then, answerers get related passages that contain corresponding knowledge about each question from Bing search. Following that, they must select the excerpt from the retrieved ones that is the most relevant to the annotated question at hand. After reading the question and its accompanying passage, they then annotate responses at last. Similarly, we recruit two annotators to recheck the data twice, further guaranteeing data quality. This way, we collect 15k data in our test set.
|
| 101 |
+
|
| 102 |
+
The general statistics in Penguin are presented in Table 3. In total, we collect train, development, and test set, which consists of $200\mathrm{k}$ , $10\mathrm{k}$ , and $15\mathrm{k} < \mathcal{P}$ , $\mathcal{Q}, \mathcal{A}, \mathcal{R}$ data, separately. The collected responses are noticeably more informative than the answers given, as seen by their length.
|
| 103 |
+
|
| 104 |
+
# 3.3 Data Statics
|
| 105 |
+
|
| 106 |
+
Question Analysis The pilot investigations (He et al., 2017) assisted us in reaching an agreement on the following question type taxonomy: Yes/No,
|
| 107 |
+
|
| 108 |
+
<table><tr><td>Type</td><td>Example</td><td>Percentage</td></tr><tr><td>Extension</td><td>Q: The design life of Toyota engine?A: 0.24 million kmR: Toyota engine has a de-sign life of 0.24 million km.</td><td>62.4%</td></tr><tr><td>Rewritten</td><td>Q: Can we carry tea in trains?A: YesR: Of course, we can bring tea in trains.</td><td>26.3%</td></tr><tr><td>Others</td><td>Q: Can you fix the Apple 5S if it's flooded?A: It can be fixed.R: In general, if the iPhone 5s gets water, it can defi-nitely be repaired.</td><td>11.3%</td></tr></table>
|
| 109 |
+
|
| 110 |
+
Table 4: Comparison between answer and response in Penguin. For ease of reading, English translation data is only provided here.
|
| 111 |
+
|
| 112 |
+
Fact, and Opinion. Yes/No questions are often asked for confirmation, and Fact questions are mostly about specific entities, timing, or description of some facts. Opinion questions always contain why/what/how questions, inquiring about the reason or advice of things. We draw the distribution of these three question types from our collected Penguin in Figure 2, showing Penguin contains various questions, catering to more realistic scenarios.
|
| 113 |
+
|
| 114 |
+
Response Analysis After deep analysis of responses and answers in Penguin, we classify the connection between them into three broad categories: Extension, Rewritten, Others. Extension refers to the response containing exactly the content of the answer and going into more detail about it. Of note, although these answers are semantically right, we argue that the responses that extend to them could be more informative and cater to real human responses. Rewritten denotes the response totally rewritten the answer to make it more informative and natural while retaining the original meaning. That is to say, the response almost has no overlap with the answers in this situation. Others indicates the response may contain part of the answer, as well as expands it with lexical, coreferential, or casual inferential knowledge. We showcase of each category in Table 4, respectively.
|
| 115 |
+
|
| 116 |
+
# 4 Model
|
| 117 |
+
|
| 118 |
+
In this paper, we propose two frameworks to address the challenge in Penguin: 1) end-to-end; 2) two stage.
|
| 119 |
+
|
| 120 |
+

|
| 121 |
+
Figure 3: Overview of our proposed frameworks: (a) End-to-end; (b) Two-stage. Answerer denotes a answer generator module and Responser refers to a response generator module. English translation is only given for reading.
|
| 122 |
+
|
| 123 |
+

|
| 124 |
+
Figure 4: Prompt templates.
|
| 125 |
+
|
| 126 |
+
End-to-end Intuitively, we can directly concat question and passage to construct the input $\mathbf{X}_{\mathrm{e}}$ :
|
| 127 |
+
|
| 128 |
+
$$
|
| 129 |
+
\mathbf {X} _ {\mathrm {e}} = \left\{\left[ \text {C L S} \right] \text {Q u e s t i o n [ S E P ] P a s s a g e [ S E P ]} \right\} \tag {1}
|
| 130 |
+
$$
|
| 131 |
+
|
| 132 |
+
where [CLS] and [SEP] refer to the beginning and separate symbols. Then a pre-trained generative model is utilized to take $\mathbf{X}_{\mathrm{e}}$ as input, and then generates a response after deeply understanding of the interaction between question and passage, as shown in Figure 3 (a). Concretely, we optimize the model with the widely used negative log-likelihood loss during training:
|
| 133 |
+
|
| 134 |
+
$$
|
| 135 |
+
\begin{array}{l} \mathcal {L} _ {e} = - \log \left(p _ {\theta} \left(\mathcal {R} \mid \mathbf {X} _ {\mathbf {e}}\right)\right) \\ = - \sum_ {i = 1} ^ {| \mathcal {R} |} \log \left(p _ {\theta} \left(r _ {i} \mid \mathbf {X} _ {\mathbf {e}}, \mathcal {R} _ {< i}\right)\right). \tag {2} \\ \end{array}
|
| 136 |
+
$$
|
| 137 |
+
|
| 138 |
+
Two stage Besides, we also design a two-stage framework to deal with the challenge in Penguin
|
| 139 |
+
|
| 140 |
+
which consists of a answer generator module (short for Answerer) and a response generator module (short for Responser), seen in Figure 3 (b). In two stage frameworks, Answerer can be thought of as a reading comprehension module that is in charge of thoroughly comprehending the passage and the question before generating a answer; then Responser rewrites and extends the generated answer to a more human-like response.
|
| 141 |
+
|
| 142 |
+
To be more specific, we first take $\mathbf{X}_{\mathrm{e}}$ into Answerer, which yields initial answer:
|
| 143 |
+
|
| 144 |
+
$$
|
| 145 |
+
\mathcal {L} _ {a} = - \sum_ {j = 1} ^ {| \mathcal {A} |} \log \left(p _ {\alpha} \left(a _ {j} \mid \mathbf {X} _ {\mathbf {e}}, \mathcal {A} _ {< j}\right)\right). \tag {3}
|
| 146 |
+
$$
|
| 147 |
+
|
| 148 |
+
Then we construct a new input $\mathbf{X}_{\mathbf{r}}$ with generated answer and question:
|
| 149 |
+
|
| 150 |
+
$$
|
| 151 |
+
\mathbf {X} _ {\mathbf {r}} = \left\{\left[ \text {C L S} \right] \text {Q u e s t i o n [ S E P ] A n s w e r [ S E P ]} \right\} \tag {4}
|
| 152 |
+
$$
|
| 153 |
+
|
| 154 |
+
Subsequently, Responser is responsible for reading the $\mathbf{X}_{\mathbf{r}}$ to predict the target response $\mathcal{R}$ :
|
| 155 |
+
|
| 156 |
+
$$
|
| 157 |
+
\mathcal {L} _ {r} = - \sum_ {i = 1} ^ {| \mathcal {R} |} \log \left(p _ {\theta} \left(r _ {i} \mid \mathbf {X} _ {\mathbf {r}}, \mathcal {R} _ {< i}\right)\right). \tag {5}
|
| 158 |
+
$$
|
| 159 |
+
|
| 160 |
+
Notice that, Answerer and Responser are both the same generative models but not sharing parameters in our experiments.
|
| 161 |
+
|
| 162 |
+
Prompt-Tuning Inspired by recent works (Wei et al., 2022; Brown et al., 2020), we fine-tune in Penguin with a variety of prefix prompt with different template types. Concretely, we manually design five templates for each generative module from end-to-end and two-stage frameworks, as several examples shown in Figure 4. We use these prompts to formulate different inputs in training, obtaining the final checkpoint. Experimentally, we choose
|
| 163 |
+
|
| 164 |
+
<table><tr><td>Framework</td><td>BackBone</td><td>Dist-1</td><td>Dist-2</td><td>BLEU-1</td><td>BLEU-2</td><td>R.-L</td><td>EM</td><td>Relv.P</td><td>Flu.</td><td>Info.</td></tr><tr><td rowspan="3">End-to-End</td><td>T5-base</td><td>2.7</td><td>33.5</td><td>80.8</td><td>75.4</td><td>79.1</td><td>31.4</td><td>3.41</td><td>3.79</td><td>3.84</td></tr><tr><td>BART-Large</td><td>2.7</td><td>34.4</td><td>82.0</td><td>77.1</td><td>80.8</td><td>35.1</td><td>3.50</td><td>3.88</td><td>3.84</td></tr><tr><td>Prompt-BART</td><td>2.8</td><td>34.7</td><td>82.4</td><td>77.6</td><td>81.0</td><td>35.5</td><td>3.56</td><td>3.87</td><td>3.90</td></tr><tr><td rowspan="3">Two-Stage</td><td>T5-base</td><td>2.7</td><td>33.8</td><td>80.4</td><td>75.0</td><td>79.0</td><td>31.0</td><td>3.40</td><td>3.84</td><td>3.87</td></tr><tr><td>BART-Large</td><td>2.7</td><td>33.7</td><td>82.5</td><td>77.3</td><td>81.2</td><td>36.7</td><td>3.67</td><td>3.87</td><td>3.90</td></tr><tr><td>Prompt-BART</td><td>2.9</td><td>33.8</td><td>83.2</td><td>78.2</td><td>81.8</td><td>37.2</td><td>3.76</td><td>3.87</td><td>3.93</td></tr></table>
|
| 165 |
+
|
| 166 |
+
Table 5: End-to-end and two-stage frameworks' performances with different backbone models. EN and CN refer to English and Chinese, separately. We highlight the best performances in the table. For smaller versions' the results of each backbone model can be seen in Appendix D. R.-L and EM refer to ROUGH-L and Exact Match, separately. We run each model three times and report their average results.
|
| 167 |
+
|
| 168 |
+
BART-large as our baseline, the resulting model is named as Prompt-BART after prompt-tuning. All prompts can be seen in Appendix G, Table 13.
|
| 169 |
+
|
| 170 |
+
# 5 Experiments
|
| 171 |
+
|
| 172 |
+
# 5.1 Evaluation Metric
|
| 173 |
+
|
| 174 |
+
Different from previous span-extraction and multiple-choice MRC tasks, we use automatic and human metrics to evaluate the model performances.
|
| 175 |
+
|
| 176 |
+
Automatic Metrics We utilize following commonly-used metrics to evaluate the quality of generated responses: Dist-1, Dist-2 (Li et al., 2016), BLEU-1,BLEU-2 (Papineni et al., 2002), ROUGH-L and Exact Match. We give detailed explanations of these metrics in Appendix A. For the above metrics, the larger the value, the better language modeling performance.
|
| 177 |
+
|
| 178 |
+
Human Metrics To further get a fuller picture of how well the generation-based model works, we asked 4 annotators to look at the quality and consistency of the generated responses on our test set. These annotators are from a third-party and skilled with language tasks but have no knowledge of the models. Concretely, we randomly sample 500 examples in our test set for model's evaluation. Human annotators are tasked with rating dialogue quality using three principle measures: Fluency (Flu.), Informativeness (Info.) and Relevance with Passage (Relv.P). Each criterion is given a rating from 1 to 5, with 1, 3, 5 representing poor, mediocre and flawless performances.
|
| 179 |
+
|
| 180 |
+
# 5.2 Backbone
|
| 181 |
+
|
| 182 |
+
To investigate the performances of current state-of-the-art generative models, we choose two popular pre-trained generative models: T5 (Raffel et al.,
|
| 183 |
+
|
| 184 |
+

|
| 185 |
+
Figure 5: Model performances on different question types. Here, we choose BART-large as the backbone.
|
| 186 |
+
|
| 187 |
+
2020) and BART (Lewis et al., 2020) as our backbones. In the Appendix B, we briefly introduce each model. Detailed experimental setup of training these models can be seen in Appendix C.
|
| 188 |
+
|
| 189 |
+
# 5.3 Results
|
| 190 |
+
|
| 191 |
+
Automatic Evaluations Table 5 shows the main results of all models. From the table, we can conclude the following: 1) The designed two frameworks with different backbone models all achieve competitive results in each automatic metric, proving their effectiveness. 2) Importantly, the results of each base model under the two different frameworks are comparable. More interestingly, an end-to-end framework is a more advanced and promising system when you take into account that the parameters and inference cost of a two-stage framework are almost two times higher. 3) Prompt-tuning can further boost the model's performances in all evaluation metrics, and the improvement is more obvious in two-stage training (e.g., 81.8 vs. 81.2 in ROUGH-L).
|
| 192 |
+
|
| 193 |
+
Human Evaluations We also draw the following conclusions from the Table 5: 1) All models achieve good results in fluency, informativeness
|
| 194 |
+
|
| 195 |
+

|
| 196 |
+
Figure 6: Win/Lose human evaluation results $(\%)$ between end-to-end and Answer in two-stage pipeline with p-value $< 0.05$
|
| 197 |
+
|
| 198 |
+
and relevance, showing their generated responses are close to human-like. 2) Prompt-BART in two-stage training performs better in relevance than other models, indicating a better understanding of the passage. In general, human evaluations of these models basically mirror automated evaluations.
|
| 199 |
+
|
| 200 |
+
# 5.4 Discussion and Analysis
|
| 201 |
+
|
| 202 |
+
Aside from the high performance of our proposed models, we are concerned about the following questions: $\mathbf{Q}_1$ : What does the model perform when it answers different question types? $\mathbf{Q}_2$ : Is the generated response more natural to the generated answer? $\mathbf{Q}_3$ : Can extremely large model like GPT-3 almost address the challenge in Penguin? (Appendix E.1, Table 8) $\mathbf{Q}_4$ : What is the majority of the improvement brought by the designed prompts? (Appendix E.2, Table 9).
|
| 203 |
+
|
| 204 |
+
Answer to $\mathbf{Q}_1$ : We conduct fine-grained analysis to validate model performances on different question types. As seen in Figure 5, we can observe: 1) each model performs best on Yes/No questions and worst on Fact questions, indicating generating natural responses about specific facts needs deeper understanding of questions and passages; 2) prompt-tuning brings more benefits when answering Fact questions (76.5 vs. 74.3). We further present each case on three question types in Table 11 and Table 12.
|
| 205 |
+
|
| 206 |
+
Answer to $\mathbf{Q}_2$ : In order to test whether the generated responses are more natural than the fixed answers. Three professional workers are asked to evaluate the generated responses from end-to-end framework and generated answers from Answerer in two-stage pipeline. Concretely, they need to choose which is the best one (Win/Lose) for
|
| 207 |
+
|
| 208 |
+
<table><tr><td>Passage</td><td>...If you already have a loan, the bank will definitely consider the debt ratio, depending on the assets and repayment ability....</td></tr><tr><td>Question</td><td>Will Credit Loan Affect Mortgage?</td></tr><tr><td>Response</td><td>It could affect your Mortgage, but it depends on your income level and assets.</td></tr><tr><td colspan="2">Generated Response-One stage</td></tr><tr><td>T5</td><td>Credit loan must affect Mortgage.</td></tr><tr><td>BART</td><td>It will affect your Mortgage.</td></tr><tr><td>Prompt-BART</td><td>Credit loan could affect mortgage, but depends on assets.</td></tr><tr><td colspan="2">Generated Response-Two stage</td></tr><tr><td>T5</td><td>Credit loan must affect Mortgage.</td></tr><tr><td>BART</td><td>Credit loan will affect mortgage</td></tr><tr><td>Prompt-BART</td><td>Credit loan may affect your Mortgage.</td></tr></table>
|
| 209 |
+
|
| 210 |
+
Table 6: A case study in our collected Penguin, and generated responses from the large version of baselines are provided. The text in bold refers to the expected response from human annotation.
|
| 211 |
+
|
| 212 |
+
each example in randomly selected 200 test samples from three views, as shown in Figure 6. We can observe that more than $85\%$ of the generated responses are superior to their counterpart answers across all evaluation perspectives, indicating they are closer to human-like responses than the generated answers. These Win/Lose results also prove the value of Penguin, that is, providing a training and testing bed for natural response generation to real-world scenarios.
|
| 213 |
+
|
| 214 |
+
Case Study In addition, we showcase an example and its generated responses from Penguin in Table 6. We can see that almost all of the responses from the different models do a pretty good job of roughly capturing the intended meaning. Moreover, Prompt-BART could generate more complete and accurate responses, showing its efficiency.
|
| 215 |
+
|
| 216 |
+
# 6 Conclusion
|
| 217 |
+
|
| 218 |
+
In this paper, we summarize the limitation of current MRC efforts, and propose a new dataset named Penguin for natural response generation in Chinese MRC. Penguin requires the predicted responses not only be accurate but also natural-sounding, catering to real scenarios. Thereafter, we propose end-to-end and two-stage GRC pipelines to address the challenge in Penguin, achieving promising results. Moreover, we design prompt-tuning, which involves fine-tuning the pre-trained genera
|
| 219 |
+
|
| 220 |
+
tive language models with a mix of different prefix prompts in Penguin, making the system perform better and more efficiently. As an extension of future work, we will explore other techs to build more human-like GRC models.
|
| 221 |
+
|
| 222 |
+
# Limitations
|
| 223 |
+
|
| 224 |
+
The main target of this paper is to generate natural responses for Chinese Reading Comprehension. We present a new benchmark named Penguin in the hope of creating an effective GRC model. More generally, we expect the proposed Penguin can facilitate the research of MRC, catering to more realistic QA scenarios. Our collected corpus will be soon made public for the whole research communities. Admittedly, one limitation of this work is that the proposed dataset is restricted to Chinese. Another limitation is that our labeled responses are not $100\%$ from human annotation due to the high annotation cost. These concerns warrant further research and consideration when utilizing this work to build effective GRC models.
|
| 225 |
+
|
| 226 |
+
# References
|
| 227 |
+
|
| 228 |
+
Prithviraj Ammanabrolu, Renee Jia, and Mark O. Riedl. 2022. Situated dialogue learning through procedural environment generation. In ACL (1), pages 8099-8116. Association for Computational Linguistics.
|
| 229 |
+
Ashutosh Baheti, Alan Ritter, and Kevin Small. 2020. Fluent response generation for conversational question answering. In ACL, pages 191-207. Association for Computational Linguistics.
|
| 230 |
+
Bin Bi, Chen Wu, Ming Yan, Wei Wang, Jiangnan Xia, and Chenliang Li. 2019. Incorporating external knowledge into machine reading for generative question answering. In EMNLP/IJCNLP (1), pages 2521-2530. Association for Computational Linguistics.
|
| 231 |
+
Peter F. Brown, Stephen Della Pietra, Vincent J. Della Pietra, Jennifer C. Lai, and Robert L. Mercer. 1992. An estimate of an upper bound for the entropy of english. Comput. Linguistics, 18(1):31-40.
|
| 232 |
+
Tom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah, Jared Kaplan, Prafulla Dhariwal, Arvind Neelakantan, Pranav Shyam, Girish Sastry, Amanda Askell, Sandhini Agarwal, Ariel Herbert-Voss, Gretchen Krueger, Tom Henighan, Rewon Child, Aditya Ramesh, Daniel M. Ziegler, Jeffrey Wu, Clemens Winter, Christopher Hesse, Mark Chen, Eric Sigler, Mateusz Litwin, Scott Gray, Benjamin Chess, Jack Clark, Christopher Berner, Sam McCandlish, Alec Radford, Ilya Sutskever, and Dario Amodei. 2020. Language models are few-shot learners. In NeurIPS.
|
| 233 |
+
|
| 234 |
+
Nuo Chen, Hongguang Li, Yinan Bao, Junqing He, Xinshi Lin, Qi Yang, Jianfeng Liu, Ruyi Gan, Ji-axing Zhang, Baoyuan Wang, et al. 2023a. Orca: A few-shot benchmark for chinese conversational machine reading comprehension. arXiv preprint arXiv:2302.13619.
|
| 235 |
+
Nuo Chen, Fenglin Liu, Chenyu You, Peilin Zhou, and Yuexian Zou. 2021. Adaptive bi-directional attention: Exploring multi-granularity representations for machine reading comprehension. In ICASSP 2021-2021 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pages 7833-7837. IEEE.
|
| 236 |
+
Nuo Chen, Linjun Shou, Ming Gong, and Jian Pei. 2022a. From good to best: Two-stage training for cross-lingual machine reading comprehension. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 36, pages 10501-10508.
|
| 237 |
+
Nuo Chen, Linjun Shou, Ming Gong, Jian Pei, and Daxin Jiang. 2022b. Bridging the gap between language models and cross-lingual sequence labeling. In Proceedings of the 2022 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pages 1909–1923, Seattle, United States. Association for Computational Linguistics.
|
| 238 |
+
Nuo Chen, Linjun Shou, Tengtao Song, Ming Gong, Jian Pei, Jianhui Chang, Daxin Jiang, and Jia Li. 2023b. Structural contrastive pretraining for crosslingual comprehension. In Findings of the Association for Computational Linguistics: ACL 2023, pages 2042-2057, Toronto, Canada. Association for Computational Linguistics.
|
| 239 |
+
Nuo Chen, Yan Wang, Haiyun Jiang, Deng Cai, Ziyang Chen, and Jia Li. 2022c. What would harry say? building dialogue agents for characters in a story. arXiv preprint arXiv:2211.06869.
|
| 240 |
+
Yiming Cui, Ting Liu, Wanxiang Che, Li Xiao, Zhipeng Chen, Wentao Ma, Shijin Wang, and Guoping Hu. 2019. A span-extraction dataset for chinese machine reading comprehension. In EMNLP/IJCNLP (1), pages 5882-5888. Association for Computational Linguistics.
|
| 241 |
+
Wei He, Kai Liu, Yajuan Lyu, Shiqi Zhao, Xinyan Xiao, Yuan Liu, Yizhong Wang, Hua Wu, Qiaoqiao She, Xuan Liu, et al. 2017. Dureader: a chinese machine reading comprehension dataset from real-world applications. arXiv preprint arXiv:1711.05073.
|
| 242 |
+
Yanzhou Huang and Tao Zhong. 2018. Multitask learning for neural generative question answering. Mach. Vis. Appl., 29(6):1009-1017.
|
| 243 |
+
Zhengbao Jiang, Jun Araki, Haibo Ding, and Graham Neubig. 2022. Understanding and improving zero-shot multi-hop reasoning in generative question answering. In COLING, pages 1765-1775. International Committee on Computational Linguistics.
|
| 244 |
+
|
| 245 |
+
Guokun Lai, Qizhe Xie, Hanxiao Liu, Yiming Yang, and Eduard Hovy. 2017. Race: Large-scale reading comprehension dataset from examinations. In Proceedings of the 2017 Conference on Empirical Methods in Natural Language Processing, pages 796-805. Association for Computational Linguistics.
|
| 246 |
+
Mike Lewis, Yinhan Liu, Naman Goyal, Marjan Ghazvininejad, Abdelrahman Mohamed, Omer Levy, Veselin Stoyanov, and Luke Zettlemoyer. 2020. BART: denoising sequence-to-sequence pre-training for natural language generation, translation, and comprehension. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, ACL 2020, Online, July 5-10, 2020, pages 7871-7880. Association for Computational Linguistics.
|
| 247 |
+
Chenliang Li, Bin Bi, Ming Yan, Wei Wang, and Songfang Huang. 2021. Addressing semantic drift in generative question answering with auxiliary extraction. 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 942-947, Online. Association for Computational Linguistics.
|
| 248 |
+
Jiwei Li, Michel Galley, Chris Brockett, Jianfeng Gao, and Bill Dolan. 2016. A diversity-promoting objective function for neural conversation models. In Proceedings of the 2016 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pages 110-119, San Diego, California. Association for Computational Linguistics.
|
| 249 |
+
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.
|
| 250 |
+
Benjamin Muller, Luca Soldaini, Rik Koncel-Kedziorski, Eric Lind, and Alessandro Moschitti. 2021. Cross-lingual genqa: A language-agnostic generative question answering approach for opendomain question answering. CoRR, abs/2110.07150.
|
| 251 |
+
Tri Nguyen, Mir Rosenberg, Xia Song, Jianfeng Gao, Saurabh Tiwary, Rangan Majumder, and Li Deng. 2016. Ms marco: A human generated machine reading comprehension dataset. arXiv preprint arXiv:1611.09268.
|
| 252 |
+
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.
|
| 253 |
+
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.
|
| 254 |
+
|
| 255 |
+
Pranav Rajpurkar, Jian Zhang, Konstantin Lopyrev, and Percy Liang. 2016. Squad: $100,000+$ questions for machine comprehension of text. In Proceedings of the 2016 Conference on Empirical Methods in Natural Language Processing, pages 2383-2392. Association for Computational Linguistics.
|
| 256 |
+
Tengtao Song, Nuo Chen, Ji Jiang, Zhihong Zhu, and Yuexian Zou. 2023. Improving retrieval-based dialogue system via syntax-informed attention. In ICASSP 2023-2023 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pages 1-5. IEEE.
|
| 257 |
+
Adam Trischler, Tong Wang, Xingdi Yuan, Justin Harris, Alessandro Sordoni, Philip Bachman, and Kaheer Suleman. 2016. Newsqa: A machine comprehension dataset. arXiv preprint arXiv:1611.09830.
|
| 258 |
+
Bingning Wang, Ting Yao, Qi Zhang, Jingfang Xu, and Xiaochuan Wang. 2020. Reco: A large scale chinese reading comprehension dataset on opinion. In The Thirty-Fourth AAAI Conference on Artificial Intelligence, AAAI 2020, The Thirty-Second Innovative Applications of Artificial Intelligence Conference, IAAI 2020, The Tenth AAAI Symposium on Educational Advances in Artificial Intelligence, EAAI 2020, New York, NY, USA, February 7-12, 2020, pages 9146-9153. AAAI Press.
|
| 259 |
+
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. In ICLR. OpenReview.net.
|
| 260 |
+
Jun Yin, Xin Jiang, Zhengdong Lu, Lifeng Shang, Hang Li, and Xiaoming Li. 2016. Neural generative question answering. In Proceedings of the Workshop on Human-Computer Question Answering, pages 36-42.
|
| 261 |
+
Chenyu You, Nuo Chen, Fenglin Liu, Shen Ge, Xian Wu, and Yuexian Zou. 2022. End-to-end spoken conversational question answering: Task, dataset and model. In *NAACL-HLT* (Findings), pages 1219–1232. Association for Computational Linguistics.
|
| 262 |
+
Chenyu You, Nuo Chen, and Yuexian Zou. 2021a. Knowledge distillation for improved accuracy in spoken question answering. In ICASSP 2021-2021 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pages 7793-7797. IEEE.
|
| 263 |
+
Chenyu You, Nuo Chen, and Yuexian Zou. 2021b. Self-supervised contrastive cross-modality representation learning for spoken question answering. In *Findings of the Association for Computational Linguistics: EMNLP* 2021, pages 28-39, Punta Cana, Dominican Republic. Association for Computational Linguistics.
|
| 264 |
+
Rowan Zellers, Yonatan Bisk, Roy Schwartz, and Yejin Choi. 2018. SWAG: A large-scale adversarial dataset for grounded commonsense inference. In EMNLP, pages 93-104. Association for Computational Linguistics.
|
| 265 |
+
|
| 266 |
+
<table><tr><td>Parameter</td><td>T5</td><td>BART</td><td>Prompt</td></tr><tr><td>Batch size</td><td>8</td><td>10</td><td>10</td></tr><tr><td>Learning Rate</td><td>2e-4</td><td>2e-5</td><td>2e-5</td></tr><tr><td>Epoch</td><td>50</td><td>20</td><td>20</td></tr><tr><td>Gradient accumulation steps</td><td>1</td><td>10</td><td>10</td></tr><tr><td>Encoder Max Length</td><td>512</td><td>512</td><td>512</td></tr><tr><td>Decoder Max Length</td><td>40</td><td>128</td><td>128</td></tr></table>
|
| 267 |
+
|
| 268 |
+
Table 7: Hyper-parameters setup during fine-tuning BART and T5.
|
| 269 |
+
|
| 270 |
+
<table><tr><td>Module</td><td>BLEU-1</td><td>BLEU-2</td><td>ROUGH-L</td></tr><tr><td>GPT-3 (2-shot)</td><td>40.8</td><td>35.5</td><td>46.2</td></tr><tr><td>GPT-3 (5-shot)</td><td>48.7</td><td>42.9</td><td>58.0</td></tr><tr><td>BART-Large</td><td>84.8</td><td>80.0</td><td>84.3</td></tr></table>
|
| 271 |
+
|
| 272 |
+
# A Automatic Metrics
|
| 273 |
+
|
| 274 |
+
Dist.: One of the most commonly-used metric that evaluate the diversity and informativeness of generated text. In this paper, we utilize Dist-1 and Dist-2 (Li et al., 2016) to validate the model performance.
|
| 275 |
+
|
| 276 |
+
BLEU: Another famous metric is used to evaluate the difference between the generated text and its reference. Similarly, we use BLEU-1 and BLEU-2 (Papineni et al., 2002) in this work.
|
| 277 |
+
|
| 278 |
+
ROUGH-L: An effective metric that measures the longest common subsequence (LCS) between model output and reference (Lin, 2004).
|
| 279 |
+
|
| 280 |
+
Exact Match: This metric measures the percentage of model prediction that match the reference exactly. The evaluated score is 1 if the prediction is exactly the same as the reference, otherwise 0.
|
| 281 |
+
|
| 282 |
+
# B Model Architecture
|
| 283 |
+
|
| 284 |
+
T5 is also a strong pre-trained encoder-decoder Transformer-based model which have achieved strong results on various generative benchmarks (Chen et al., 2022c; Muller et al., 2021; Ammanabrolu et al., 2022). Likewise, we use Chinese T5<sup>5</sup> with small and base versions in our experiments.
|
| 285 |
+
|
| 286 |
+
BART is a widely used denoising auto encoder for pre-training sequence-to-sequence models, which is also a standard Transformer-based PLMs. In this work, we utilize Chinese BART with base and large version.
|
| 287 |
+
|
| 288 |
+
Table 8: GPT-3 performances with different few-shot examples.
|
| 289 |
+
|
| 290 |
+
<table><tr><td>Module</td><td>BLEU-1</td><td>BLEU-2</td><td>ROUGH-L</td></tr><tr><td>Answer</td><td>79.3</td><td>77.6</td><td>83.6</td></tr><tr><td>+Prompt</td><td>82.7</td><td>80.9</td><td>86.3</td></tr><tr><td>Responder</td><td>82.0</td><td>77.0</td><td>80.9</td></tr><tr><td>+Prompt</td><td>82.9</td><td>78.1</td><td>81.7</td></tr></table>
|
| 291 |
+
|
| 292 |
+
Table 9: Model performances with our designed prompts. Here we choose BART-Large as our backbone model. Notice that, we use ground-truth answers rather than responses to evaluate the performances of Answer.
|
| 293 |
+
|
| 294 |
+
# C Experimental Setup
|
| 295 |
+
|
| 296 |
+
Table 7 shows experimental setup in our experiments.
|
| 297 |
+
|
| 298 |
+
# D More Results
|
| 299 |
+
|
| 300 |
+
We present T5-small, BART-small results in Table 10.
|
| 301 |
+
|
| 302 |
+
# E More results
|
| 303 |
+
|
| 304 |
+
# E.1 Answer to $Q_{3}$
|
| 305 |
+
|
| 306 |
+
In order to validate whether GPT-3 achieves promising results in Penguin. We train GPT-3 with few-shot examples, and construct a mini test set via randomly sampling 200 examples in Penguin's test set. Table 8 illustrates their corresponding results, we can observe there is a significant performance gap between GPT-3 and BART-Large. The results show current large language models with more 100 billion-level parameters can not address the challenge in our dataset, proving the difficulty of our Penguin.
|
| 307 |
+
|
| 308 |
+
# E.2 Answer to $Q_{4}$
|
| 309 |
+
|
| 310 |
+
In this subsection, we are devoted to investigating where the majority of the improvement that designed prompts bring to the two-stage framework stems from. We show more detailed results of Answerer and Responser in Table 9. We can easily draw the conclusions that 1) a well-performed Answerer is the main prerequisite for a well-performed Responser. 2) The benefits of the designed prompts are most seen in the Answerer module, which enhance Answerer to generate more accurate answers. For instance, Answerer + prompt obtains more than 3 points in BLEU scores.
|
| 311 |
+
|
| 312 |
+
# F Generated Cases of Question Types
|
| 313 |
+
|
| 314 |
+
We show typical cases in Table 11 and Table 12.
|
| 315 |
+
|
| 316 |
+
<table><tr><td>Framework</td><td>BackBone</td><td>Dist-1</td><td>Dist-2</td><td>BLEU-1</td><td>BLEU-2</td><td>ROUGH-L</td><td>EM</td><td>Average</td></tr><tr><td rowspan="2">End-to-End</td><td>T5-small</td><td>2.7</td><td>34.5</td><td>80.1</td><td>74.8</td><td>78.9</td><td>30.5</td><td>50.3</td></tr><tr><td>BART-base</td><td>2.7</td><td>34.4</td><td>82.1</td><td>77.2</td><td>81.0</td><td>35.6</td><td>52.1</td></tr><tr><td rowspan="2">Two-Stage</td><td>T5-small</td><td>2.7</td><td>34.0</td><td>80.2</td><td>75.0</td><td>79.0</td><td>30.8</td><td>50.3</td></tr><tr><td>BART-base</td><td>2.8</td><td>34.4</td><td>82.1</td><td>77.3</td><td>81.1</td><td>36.2</td><td>52.3</td></tr></table>
|
| 317 |
+
|
| 318 |
+
Table 10: End-to-end and two-stage frameworks' performances with different backbone models. EN and CN refer to English and Chinese, separately. We highlight the best performances in the table.
|
| 319 |
+
|
| 320 |
+
<table><tr><td>Question Type</td><td>YES/NO (是否类)</td></tr><tr><td>Passage</td><td>...Three-year-old baby eat two or three at a time on the line, the child's gastrointestinal function is relatively weak, eating more will cause gastrointestinal discomfort... ...三周岁宝宝每次吃两三个就行了,孩子的胃肠道功能比较弱,吃多了会引起肠胃不适...</td></tr><tr><td>Question</td><td>Is it good for three-year-old baby to litchi? 三周岁宝宝吃荔枝好吗?</td></tr><tr><td>Answer</td><td>Yes. 好</td></tr><tr><td>Expected Response</td><td>Three-year-old babies can eat two or three litchis, but not too much. 三周岁的宝宝可以吃两三个荔枝,但是不能吃太多。</td></tr><tr><td></td><td>Generated Response-One-Stage</td></tr><tr><td>T5</td><td>They can not eat litchi. 他们不可以吃荔枝</td></tr><tr><td>BART</td><td>They can eat litchi. 他们可以吃荔枝</td></tr><tr><td>Prompt-BART</td><td>They can eat litchi. 他们可以吃荔枝</td></tr><tr><td></td><td>Generated Response-Two-Stage</td></tr><tr><td>T5</td><td>Three-year-old baby can not eat litchi. 三周岁的宝宝不可以吃荔枝</td></tr><tr><td>BART</td><td>They can eat litchi. 他们可以吃荔枝</td></tr><tr><td>Prompt-BART</td><td>Three-year-old baby can eat litchi. 三周岁的宝宝可以吃荔枝</td></tr><tr><td></td><td>(a) A Generated Response example of Yes/No questions.</td></tr><tr><td>Question Type</td><td>Opinion (观点类)</td></tr><tr><td>Passage</td><td>...It's not a matter of how fast you move, it's a matter of understanding. I have been learning the piano for 10 years and I have to practice these czernies and so on over and over again this year. It is recommended to learn Bayer first, which greatly improves the basic skills.... ...进度快不快不是问题,主要看你的理解能力。我学了10年琴,车尔尼这些等等今年都要反复的练习。推荐还是先学拜厄,对基本功有很大的提高。...</td></tr><tr><td>Question</td><td>I've already learned Faber, so do I still need to practice Baier? 我已经学习了菲伯尔,那还需要练习拜厄吗?</td></tr><tr><td>Answer</td><td>Of course. 需要</td></tr><tr><td>Expected Response</td><td>You'd better practice Baier. It can improve your basic skills. 推荐还是练习拜厄,这对你的基本功有好处。</td></tr><tr><td></td><td>Generated Response-One-Stage</td></tr><tr><td>T5</td><td>You need to practice Baier. 还是要练习拜厄</td></tr><tr><td>BART</td><td>You still need to practice Baier. 仍然要练习拜厄</td></tr><tr><td>Prompt-BART</td><td>You still need to practice Baier. 仍然要练习拜厄</td></tr><tr><td></td><td>Generated Response-Two-Stage</td></tr><tr><td>T5</td><td>You still need to practice Baier. 仍然要练习拜厄</td></tr><tr><td>BART</td><td>You still need to practice Baier. 仍然要练习拜厄</td></tr><tr><td>Prompt-BART</td><td>He still needs to practice Baier. 他仍然要练习拜厄</td></tr><tr><td></td><td>(b) A Generated Response example of Opinion questions.</td></tr></table>
|
| 321 |
+
|
| 322 |
+
Table 11: Typical generated examples from each model in Penguin. English translation is also given for comparison.
|
| 323 |
+
|
| 324 |
+
<table><tr><td>Question Type</td><td>Fact (事实类)</td></tr><tr><td>Passage</td><td>...Zhang Lei is a Chinese football player and goalkeeper. Zhang Lei was selected to Guang-dong Hongyuan Youth Team at the age of 13, then played as the main goalkeeper for Dongguan Southern City before moving to Shenzhen in 2006. He was selected to the 2008 National Olympic Team and the 2005 World Youth Championships squad. In 2009, Beijing Guoan exchanged Cheng Yuelei, a backup goalkeeper, plus 400,000 yuan to Shenzhen in exchange for Zhang Lei, which was also the last domestic import transaction of Beijing Guoan in the first transfer market of the 2009 season. Zhang Lei did not get a chance to play because Beijing Guoan had Yang Zhi as their keeper. He was listed by Beijing Guoan and eventually moved to Changsha Jinde in 2010 after losing their main goalkeeper Song Zhenyu. In 2011, Zhang moved to Chongqing Lifan and became the team's main goalkeeper. Served for five years, the first three years to play the main force, the last two years gradually as a substitute. In 2016, he was transferred to Hangzhou Greentown. Zhang Lei joined the Lijiang Flying Tigers on loan from Hangzhou Greentown in 2017....张磊,中国足球运动员,司职守门员。张磊13岁时入选广东宏远少年队,随后担任东莞南城的主力门将,2006年转会到深圳队。他入选了08之星国奥队,并进入2005年世青赛的大名单。2009年北京国安用替补门将程月磊加上40万元,与深圳队交换张磊,这也是2009赛季中超第一次转会市场上北京国安队最后一笔内援引进交易。因为北京国安有杨智把关,所以张磊没有得到出场机会,结果被北京国安挂牌,最终在2010年转会到失去主力门将宋振瑜的长沙金德,成为球队新的主力门将。2011年,张磊转会到重庆力帆成为球队的主力门将。效力了五年期间,前三年打主力,后两年渐为替补。2016年转会到杭州绿城。2017年,张磊从杭州绿城租借到丽江飞虎。...</td></tr><tr><td>Question</td><td>In what year did Zhang Lei transfer to Shenzhen?张磊哪一年转会去的深圳?</td></tr><tr><td>Answer</td><td>2006. 2006</td></tr><tr><td>Expected Response</td><td>He transfers to Shenzhen in 2006. 他于2006年转会到深圳。</td></tr><tr><td colspan="2">Generated Response-One-Stage</td></tr><tr><td>T5BARTPrompt-BART</td><td>He transferred to Shenzhen in two years. 他于2年转会到深圳队He transferred to Shenzhen in two years. 他于2年转会到深圳队He transfers to Shenzhen in 2006. 他于2006年转会到深圳</td></tr><tr><td colspan="2">Generated Response-Two-Stage</td></tr><tr><td>T5BARTPrompt-BART</td><td>He transfers to Shenzhen in 2006. 他于2006年转会到深圳He transfers to Shenzhen in 2006. 他于2006年转会到深圳Zhang Lei transfers to Shenzhen in 2006. 张磊于2006年转会到深圳</td></tr></table>
|
| 325 |
+
|
| 326 |
+
Table 12: A Generated Response example of Fact questions in Penguin. English translation is also given for comparison.
|
| 327 |
+
|
| 328 |
+
# G All Prompts
|
| 329 |
+
|
| 330 |
+
We design five prompts for each module in end-to-end and two-stage frameworks, which are presented in Table 13.
|
| 331 |
+
|
| 332 |
+
<table><tr><td>Framework</td><td>Prompts</td></tr><tr><td>One-Stage</td><td>1. Please generate a reasonable response based on the following question and passage. Question: Q.Passage: P.
|
| 333 |
+
2. The question is Q, give the reasonable response based on the following paragraph: P.
|
| 334 |
+
3. This is a reading comprehension problem, please generate the reasonable response based on the following question and passage. Question is Q. Passage is P.
|
| 335 |
+
4. Please answer the question according to descriptions of the question and paragraph. Question is Q.Passage is P.
|
| 336 |
+
5. The question is Q, Conduct question understanding and response generation, knowledge question and response task. Relevant paragraphs are as follows: P.</td></tr><tr><td>Answerer</td><td>1. Please generate the reasonable answer based on the following question and passage. Question: Q.Passage: P.
|
| 337 |
+
2. The question is Q, give the reasonable answer based on the following paragraph: P.
|
| 338 |
+
3. This is a reading comprehension problem, please generate the reasonable answer based on the following question and passage. Question is Q. Passage is P.
|
| 339 |
+
4. Please answer the question according to descriptions of the question and paragraph. Question is Q.Passage is P.
|
| 340 |
+
5. The question is Q, Conduct question understanding and answer generation, knowledge question and answer task. Relevant paragraphs are as follows: P.</td></tr><tr><td>Responder</td><td>1. Please generate the reasonable response based on the following question and answer. Question: Q.Answer: A.
|
| 341 |
+
2. The question is Q, give the reasonable response based on the following answer: A.
|
| 342 |
+
3. This is a answer rewriting problem, please generate the reasonable response based on the following question and answer. Question is Q. Answer is A.
|
| 343 |
+
4. Please give the response according to descriptions of the question and answer. Question is Q. Answer is A.
|
| 344 |
+
5. The question is Q, Conduct question understanding and response generation, answer rewriting task.Relevant answer is as follows: A.</td></tr></table>
|
| 345 |
+
|
| 346 |
+
Table 13: All used prompts during training. English translation is only given for reading.
|
2023/Natural Response Generation for Chinese Reading Comprehension/images.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3dc75066e0af0603118e08c7d4ac8e5b3921c387c02efbffd6ccac1cb9643730
|
| 3 |
+
size 1340829
|
2023/Natural Response Generation for Chinese Reading Comprehension/layout.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2023/Neuro-Symbolic Sentiment Analysis with Dynamic Word Sense Disambiguation/f2ea77f7-c2a2-49e4-b922-17fa39103dc4_content_list.json
ADDED
|
@@ -0,0 +1,1580 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"type": "text",
|
| 4 |
+
"text": "Neurosymbolic Sentiment Analysis with Dynamic Word Sense Disambiguation",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
275,
|
| 8 |
+
90,
|
| 9 |
+
722,
|
| 10 |
+
130
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Xulang Zhang\\*, Rui Mao\\*, Kai He\\* and Erik Cambria\\*",
|
| 17 |
+
"bbox": [
|
| 18 |
+
248,
|
| 19 |
+
147,
|
| 20 |
+
749,
|
| 21 |
+
165
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "$\\spadesuit$ Nanyang Technological University, Singapore",
|
| 28 |
+
"bbox": [
|
| 29 |
+
309,
|
| 30 |
+
166,
|
| 31 |
+
692,
|
| 32 |
+
183
|
| 33 |
+
],
|
| 34 |
+
"page_idx": 0
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"type": "text",
|
| 38 |
+
"text": "\\*National University of Singapore, Singapore",
|
| 39 |
+
"bbox": [
|
| 40 |
+
314,
|
| 41 |
+
183,
|
| 42 |
+
687,
|
| 43 |
+
200
|
| 44 |
+
],
|
| 45 |
+
"page_idx": 0
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"type": "text",
|
| 49 |
+
"text": "xulang001@e.ntu.edu.sg; {rui.mao, cambria}@ntu.edu.sg; kai_he@nus.edu.sg",
|
| 50 |
+
"bbox": [
|
| 51 |
+
141,
|
| 52 |
+
200,
|
| 53 |
+
858,
|
| 54 |
+
216
|
| 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": "Sentiment analysis is a task that highly depends on the understanding of word senses. Traditional neural network models are black boxes that represent word senses as vectors that are uninterpretable for humans. On the other hand, the application of Word Sense Disambiguation (WSD) systems in downstream tasks poses challenges regarding i) which words need to be disambiguated, and ii) how to model explicit word senses into easily understandable terms for a downstream model. This work proposes a neurosymbolic framework that incorporates WSD by identifying and paraphrasing ambiguous words to improve the accuracy of sentiment predictions. The framework allows us to understand which words are paraphrased into which semantically unequivocal words, thus enabling a downstream task model to gain both accuracy and interpretability. To better fine-tune a lexical substitution model for WSD on a downstream task without ground-truth word sense labels, we leverage dynamic rewarding to jointly train sentiment analysis and lexical substitution models. Our framework proves to effectively improve the performance of sentiment analysis on corpora from different domains.",
|
| 73 |
+
"bbox": [
|
| 74 |
+
144,
|
| 75 |
+
282,
|
| 76 |
+
460,
|
| 77 |
+
652
|
| 78 |
+
],
|
| 79 |
+
"page_idx": 0
|
| 80 |
+
},
|
| 81 |
+
{
|
| 82 |
+
"type": "text",
|
| 83 |
+
"text": "1 Introduction",
|
| 84 |
+
"text_level": 1,
|
| 85 |
+
"bbox": [
|
| 86 |
+
114,
|
| 87 |
+
665,
|
| 88 |
+
258,
|
| 89 |
+
682
|
| 90 |
+
],
|
| 91 |
+
"page_idx": 0
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"type": "text",
|
| 95 |
+
"text": "To improve the accuracy of sentiment analysis, it is crucial to disambiguate polysemous words according to the context (Cambria et al., 2023). A word may have senses that carry opposite sentiments, e.g., \"fine\" has the positive meaning of being delicate and refined, and the negative meaning of monetary penalty. Additionally, words may appear in positive, negative, or neutral senses in different domains. For instance, the word \"bearish\" is often used in a negative sense to describe the stock market in the financial domain, while more likely to be used neutrally to describe hulking figures in other domains.",
|
| 96 |
+
"bbox": [
|
| 97 |
+
110,
|
| 98 |
+
694,
|
| 99 |
+
489,
|
| 100 |
+
903
|
| 101 |
+
],
|
| 102 |
+
"page_idx": 0
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"type": "text",
|
| 106 |
+
"text": "In traditional black-box sentiment analysis, the representations of word meanings are generated by neural networks (Mao and Li, 2021). As such, the disambiguation process is implicit and opaque. It is challenging to investigate what implicit senses are assigned to ambiguous words by a neural network model for it to make accurate predictions. Coupling symbolism and sub-symbolism, a neurosymbolic approach to sentiment analysis is transparent and interpretable, regarding the extraction and distinction of word meaning as a sub-problem (Cambria et al., 2017). However, research that explicitly deals with ambiguous words in sentiment analysis is limited (Xia et al., 2014, 2015; Cambria et al., 2015). Sense-annotated resources such as SentiWordNet (Baccianella et al., 2010) have been utilized, but only to detect and score sentimental words in the input (Hung and Lin, 2013; Nassirtoussi et al., 2015; Hung and Chen, 2016). The disambiguation of polysemous words in sentiment analysis inputs remains under-explored. Thus, we are motivated to develop a neurosymbolic framework for sentiment analysis with explicit Word Sense Disambiguation (WSD).",
|
| 107 |
+
"bbox": [
|
| 108 |
+
507,
|
| 109 |
+
253,
|
| 110 |
+
884,
|
| 111 |
+
638
|
| 112 |
+
],
|
| 113 |
+
"page_idx": 0
|
| 114 |
+
},
|
| 115 |
+
{
|
| 116 |
+
"type": "text",
|
| 117 |
+
"text": "Traditional WSD aims to classify which sense of the target word is appropriate according to its context (Huang et al., 2019; Blevins and Zettlemoyer, 2020; Bevilacqua and Navigli, 2020; Song et al., 2021; Barba et al., 2021a,b). However, the limitations $(\\ell)$ of their task setups are that $(\\ell 1)$ the output of those WSD systems, whether sense label (Bevilacqua and Navigli, 2020) or gloss definition (Blevins and Zettlemoyer, 2020; Barba et al., 2021a), is difficult to integrate into downstream input; $(\\ell 2)$ the target words must be pre-defined for WSD systems to disambiguate, making it difficult to apply them directly to downstream tasks; and $(\\ell 3)$ the reliability of sense distinction of the benchmark has been questioned (Ramsey, 2017; Maru et al., 2022), as word senses are not discrete.",
|
| 118 |
+
"bbox": [
|
| 119 |
+
507,
|
| 120 |
+
642,
|
| 121 |
+
884,
|
| 122 |
+
898
|
| 123 |
+
],
|
| 124 |
+
"page_idx": 0
|
| 125 |
+
},
|
| 126 |
+
{
|
| 127 |
+
"type": "page_number",
|
| 128 |
+
"text": "8772",
|
| 129 |
+
"bbox": [
|
| 130 |
+
478,
|
| 131 |
+
927,
|
| 132 |
+
521,
|
| 133 |
+
940
|
| 134 |
+
],
|
| 135 |
+
"page_idx": 0
|
| 136 |
+
},
|
| 137 |
+
{
|
| 138 |
+
"type": "footer",
|
| 139 |
+
"text": "Findings of the Association for Computational Linguistics: EMNLP 2023, pages 8772-8783 \nDecember 6-10, 2023 ©2023 Association for Computational Linguistics",
|
| 140 |
+
"bbox": [
|
| 141 |
+
216,
|
| 142 |
+
945,
|
| 143 |
+
779,
|
| 144 |
+
972
|
| 145 |
+
],
|
| 146 |
+
"page_idx": 0
|
| 147 |
+
},
|
| 148 |
+
{
|
| 149 |
+
"type": "text",
|
| 150 |
+
"text": "Attempts have been made to incorporate the disambiguation of word senses into downstream applications. Nonetheless, they are either impractical in real-world settings (Farooq et al., 2015; Pu et al., 2018), or only applicable to a specific downstream task, i.e., machine translation (Hangya et al., 2021; Campolungo et al., 2022). To address these issues, we leverage dynamic WSD in our neurosymbolic framework. We regard WSD as a lexical substitution task (for $\\ell 1$ ), where ambiguous words in sentiment analysis input are paraphrased into ones that cause less sentiment confusion using a lexical substitution model with dynamic WSD.",
|
| 151 |
+
"bbox": [
|
| 152 |
+
112,
|
| 153 |
+
84,
|
| 154 |
+
492,
|
| 155 |
+
294
|
| 156 |
+
],
|
| 157 |
+
"page_idx": 1
|
| 158 |
+
},
|
| 159 |
+
{
|
| 160 |
+
"type": "text",
|
| 161 |
+
"text": "Our dynamic WSD method comprises two distinct aspects: the dynamic selection of the target word for disambiguation, based on downstream contextual information (for $\\ell 2$ ); and the dynamic learning of the most suitable lexical substitutions, based on the prediction accuracy of the downstream model (for $\\ell 3$ ). To identify target words that need to be substituted, we first adopt an attention-based explainable encoder to rank input words by the level of influence they have on the output, motivated by the assumption that not all polysemous words affect sentiment predictions (Cao et al., 2015). Then, the top-ranking words with the most diverse senses are selected to be targets, based on our hypothesis that an ambiguous word may coincide with significant disparities in the semantic space between the word itself and its potential substitution candidates.",
|
| 162 |
+
"bbox": [
|
| 163 |
+
115,
|
| 164 |
+
300,
|
| 165 |
+
490,
|
| 166 |
+
575
|
| 167 |
+
],
|
| 168 |
+
"page_idx": 1
|
| 169 |
+
},
|
| 170 |
+
{
|
| 171 |
+
"type": "text",
|
| 172 |
+
"text": "As such, we can trace back which words are selected as targets, and which substitute words are used to disambiguate them, making our method interpretable and transparent. Furthermore, we fine-tune the lexical substitution model whilst training the sentiment analysis model by adopting a dynamic rewarding mechanism that does not require gold standard substitution labels. As such, the substitution model can be adjusted to provide more appropriate output for the downstream task as well as the target domain. Our model achieves more accurate sentiment analysis with explicit lexical-substitution-based WSD, despite not specifically trained on WSD and sentiment parallel datasets. Since the disambiguated word senses are represented as the lexical substitutions of the original words and an explainable encoder is used for retrieving the most contributing words, the neurosymbolic sentiment inference process is more interpretable for humans compared to black-box models.",
|
| 173 |
+
"bbox": [
|
| 174 |
+
112,
|
| 175 |
+
581,
|
| 176 |
+
490,
|
| 177 |
+
917
|
| 178 |
+
],
|
| 179 |
+
"page_idx": 1
|
| 180 |
+
},
|
| 181 |
+
{
|
| 182 |
+
"type": "text",
|
| 183 |
+
"text": "Our model is examined with three publicly available datasets from movie review, finance, and Twitter domains, outperforming strong baselines by $1.23\\%$ on average. The contributions of our work are twofold: (1) We propose a neurosymbolic sentiment analysis framework that leverages WSD as an auxiliary lexical substitution task, achieving state-of-the-art performance on our examined sentiment analysis datasets from different domains; (2) We design a transparent mechanism to select WSD target words, based on a) the importance of words to the learning and inference of a downstream task, and b) word sense diversity.",
|
| 184 |
+
"bbox": [
|
| 185 |
+
507,
|
| 186 |
+
84,
|
| 187 |
+
885,
|
| 188 |
+
294
|
| 189 |
+
],
|
| 190 |
+
"page_idx": 1
|
| 191 |
+
},
|
| 192 |
+
{
|
| 193 |
+
"type": "text",
|
| 194 |
+
"text": "2 Related Work",
|
| 195 |
+
"text_level": 1,
|
| 196 |
+
"bbox": [
|
| 197 |
+
509,
|
| 198 |
+
309,
|
| 199 |
+
665,
|
| 200 |
+
325
|
| 201 |
+
],
|
| 202 |
+
"page_idx": 1
|
| 203 |
+
},
|
| 204 |
+
{
|
| 205 |
+
"type": "text",
|
| 206 |
+
"text": "Word Sense Disambiguation is a task that assigns the appropriate meaning to an ambiguous word according to its context. Recent WSD systems attained F1 scores higher than $80\\%$ on the benchmark datasets (Song et al., 2021; Bevilacqua and Navigli, 2020; Barba et al., 2021a,b), which is regarded as the estimated human performance since it is the highest inter-annotator agreement (Edmonds and Kilgarriff, 2002; Palmer et al., 2007). However, research on the application of WSD systems on downstream tasks is limited. Pu et al. (2018) utilized clustering algorithms to obtain sense embeddings by inferring from the similarity of the context vectors of a target word. The heavy requirement for disambiguating every homographs prior to downstream applications makes their method less feasible in many real-world situations. Campolungo et al. (2022) achieved the disambiguation of word sense in neural machine translation by leveraging a multilingual WSD system to establish a sense-tagged parallel corpus. Nonetheless, their approach relied on cross-lingual word alignments for reliable annotations, meaning that it cannot be adopted by other types of downstream tasks.",
|
| 207 |
+
"bbox": [
|
| 208 |
+
507,
|
| 209 |
+
338,
|
| 210 |
+
885,
|
| 211 |
+
724
|
| 212 |
+
],
|
| 213 |
+
"page_idx": 1
|
| 214 |
+
},
|
| 215 |
+
{
|
| 216 |
+
"type": "text",
|
| 217 |
+
"text": "Sentiment Analysis can be generally defined as the task that determines if a piece of text expresses positive, negative, or neutral opinion (Mao et al., 2023c). Word sense information has been applied in sentiment analysis in the form of sentiment-annotated lexicons (Devitt and Ahmad, 2007; Ohana and Tierney, 2009; Hung and Lin, 2013; Nassirtoussi et al., 2015), such as SentiWordNet. However, these methods incorporate the sentiment information of a word without disambiguating its word sense according to the context, but resorting to the emotional score of the most frequent",
|
| 218 |
+
"bbox": [
|
| 219 |
+
507,
|
| 220 |
+
726,
|
| 221 |
+
885,
|
| 222 |
+
919
|
| 223 |
+
],
|
| 224 |
+
"page_idx": 1
|
| 225 |
+
},
|
| 226 |
+
{
|
| 227 |
+
"type": "page_number",
|
| 228 |
+
"text": "8773",
|
| 229 |
+
"bbox": [
|
| 230 |
+
480,
|
| 231 |
+
927,
|
| 232 |
+
519,
|
| 233 |
+
940
|
| 234 |
+
],
|
| 235 |
+
"page_idx": 1
|
| 236 |
+
},
|
| 237 |
+
{
|
| 238 |
+
"type": "image",
|
| 239 |
+
"img_path": "images/8339731eaaa1ea3228dd3efe4658383c01c8f2bb2183ac4ccba471934e643f1c.jpg",
|
| 240 |
+
"image_caption": [
|
| 241 |
+
"Figure 1: Architecture of the proposed disambiguation framework for sentiment analysis. A dotted line means backpropagation. Green block means that the original word is replaced by a word provided by the lexical substitution model. The darker the green, the higher probability it is assigned to be the model. Orange block indicates the words with top ranking attention scores produced by HAN."
|
| 242 |
+
],
|
| 243 |
+
"image_footnote": [],
|
| 244 |
+
"bbox": [
|
| 245 |
+
114,
|
| 246 |
+
80,
|
| 247 |
+
885,
|
| 248 |
+
325
|
| 249 |
+
],
|
| 250 |
+
"page_idx": 2
|
| 251 |
+
},
|
| 252 |
+
{
|
| 253 |
+
"type": "text",
|
| 254 |
+
"text": "sense, or the average score of all senses. Additionally, the main objective of this approach is to identify sentimental words in a sentence, instead of disambiguating polysemous words that might affect model predictions. Hung and Chen (2016); Farooq et al. (2015); Liu et al. (2018) attempted to disambiguate according to target domain and context, but either costed extensive human labour, or fail to incorporate word senses explicitly and transparently.",
|
| 255 |
+
"bbox": [
|
| 256 |
+
112,
|
| 257 |
+
420,
|
| 258 |
+
487,
|
| 259 |
+
580
|
| 260 |
+
],
|
| 261 |
+
"page_idx": 2
|
| 262 |
+
},
|
| 263 |
+
{
|
| 264 |
+
"type": "text",
|
| 265 |
+
"text": "To address these limitations, our neurosymbolic framework aims to identify ambiguous target words in the context and replace them with clarifying ones automatically, making them interpretable. We also leverage a dynamic rewarding mechanism so that the substitutions can be fine-tuned to better serve the downstream task and the text domain.",
|
| 266 |
+
"bbox": [
|
| 267 |
+
112,
|
| 268 |
+
582,
|
| 269 |
+
487,
|
| 270 |
+
694
|
| 271 |
+
],
|
| 272 |
+
"page_idx": 2
|
| 273 |
+
},
|
| 274 |
+
{
|
| 275 |
+
"type": "text",
|
| 276 |
+
"text": "3 Task Definition",
|
| 277 |
+
"text_level": 1,
|
| 278 |
+
"bbox": [
|
| 279 |
+
112,
|
| 280 |
+
712,
|
| 281 |
+
280,
|
| 282 |
+
728
|
| 283 |
+
],
|
| 284 |
+
"page_idx": 2
|
| 285 |
+
},
|
| 286 |
+
{
|
| 287 |
+
"type": "text",
|
| 288 |
+
"text": "In this work, we regard word sense ambiguity as the potential cause of errors in a downstream task, e.g., sentiment analysis. Inspired by the work of Mao et al. (2023b), we reframe WSD as a lexical substitution task, aiming to replace an ambiguous word with a synonym that not only represents the true sense of the original word in the context (Arthur et al., 2015), but also reduces misclassifications in the downstream task. Given an input sentence $w = (w_{1},w_{2},\\dots ,w_{L})$ , we first aim to identify the target word $t$ that is likely troublesome for",
|
| 289 |
+
"bbox": [
|
| 290 |
+
112,
|
| 291 |
+
741,
|
| 292 |
+
489,
|
| 293 |
+
917
|
| 294 |
+
],
|
| 295 |
+
"page_idx": 2
|
| 296 |
+
},
|
| 297 |
+
{
|
| 298 |
+
"type": "text",
|
| 299 |
+
"text": "the downstream prediction from $w$ . To resolve the potential ambiguity, we extract $M$ of its synonyms from WordNet (Fellbaum, 1998) as candidates $c = (c_{1},\\ldots ,c_{M})$ , forming the input $(s)$ as",
|
| 300 |
+
"bbox": [
|
| 301 |
+
507,
|
| 302 |
+
420,
|
| 303 |
+
882,
|
| 304 |
+
483
|
| 305 |
+
],
|
| 306 |
+
"page_idx": 2
|
| 307 |
+
},
|
| 308 |
+
{
|
| 309 |
+
"type": "equation",
|
| 310 |
+
"text": "\n$$\ns = \\langle s \\rangle , w _ {1}, w _ {2}, \\dots , t, \\dots , w _ {L}, \\langle / s \\rangle , \\tag {1}\n$$\n",
|
| 311 |
+
"text_format": "latex",
|
| 312 |
+
"bbox": [
|
| 313 |
+
574,
|
| 314 |
+
493,
|
| 315 |
+
882,
|
| 316 |
+
514
|
| 317 |
+
],
|
| 318 |
+
"page_idx": 2
|
| 319 |
+
},
|
| 320 |
+
{
|
| 321 |
+
"type": "text",
|
| 322 |
+
"text": "$< \\mathrm{s}>$ and $</ \\mathrm{s}>$ are special tokens that were defined by our employed pre-trained language model. The lexical substitution model should identify the best candidate from $c$ as the substitute $\\hat{c}$ which retains the original meaning of $t$ in the context by using contrast learning. Thus, $\\hat{c}$ is the symbolic representation of $t$ in context $w$ . Then, the paraphrased input $w^{f} = (w_{1},\\dots,\\hat{c},\\dots,w_{L})$ is fed into a neural network classifier to predict a sentiment label. The objective is that the paraphrased input $w^{f}$ increases the probability of correct sentiment prediction.",
|
| 323 |
+
"bbox": [
|
| 324 |
+
507,
|
| 325 |
+
529,
|
| 326 |
+
882,
|
| 327 |
+
706
|
| 328 |
+
],
|
| 329 |
+
"page_idx": 2
|
| 330 |
+
},
|
| 331 |
+
{
|
| 332 |
+
"type": "text",
|
| 333 |
+
"text": "4 Methodology",
|
| 334 |
+
"text_level": 1,
|
| 335 |
+
"bbox": [
|
| 336 |
+
507,
|
| 337 |
+
717,
|
| 338 |
+
658,
|
| 339 |
+
734
|
| 340 |
+
],
|
| 341 |
+
"page_idx": 2
|
| 342 |
+
},
|
| 343 |
+
{
|
| 344 |
+
"type": "text",
|
| 345 |
+
"text": "Our proposed neurosymbolic framework can be viewed in Figure 1. There are two models in our framework, namely sentiment analysis and lexical substitution models. The sentiment analysis model consists of an encoder, an interpretable attention module, and multiple feedforward neural networks. First, through Figure 1 (1) and (2), the original input is fed into the encoder and the interpretable attention module to obtain the top $I$ tokens with the highest attention weights, which contribute the most to sentiment prediction.",
|
| 346 |
+
"bbox": [
|
| 347 |
+
507,
|
| 348 |
+
741,
|
| 349 |
+
882,
|
| 350 |
+
917
|
| 351 |
+
],
|
| 352 |
+
"page_idx": 2
|
| 353 |
+
},
|
| 354 |
+
{
|
| 355 |
+
"type": "page_number",
|
| 356 |
+
"text": "8774",
|
| 357 |
+
"bbox": [
|
| 358 |
+
480,
|
| 359 |
+
927,
|
| 360 |
+
519,
|
| 361 |
+
940
|
| 362 |
+
],
|
| 363 |
+
"page_idx": 2
|
| 364 |
+
},
|
| 365 |
+
{
|
| 366 |
+
"type": "text",
|
| 367 |
+
"text": "In (3), the sense diversity of each token is computed as the average distance of the token's hidden state to those of its substitution candidates. Then, through (4), top $J$ tokens with the most diverse senses are selected as disambiguation targets, because these target tokens may have very different senses in different contexts. Subsequently, the pretrained lexical substitution model is applied to provide the best substitution to replace each target token, as shown in (5) and (6)a. The new input sentence is passed onto the sentiment analysis model for final prediction ((7)a and (8)a), which is used for the sentiment model backpropagation ((9)a).",
|
| 368 |
+
"bbox": [
|
| 369 |
+
112,
|
| 370 |
+
84,
|
| 371 |
+
489,
|
| 372 |
+
294
|
| 373 |
+
],
|
| 374 |
+
"page_idx": 3
|
| 375 |
+
},
|
| 376 |
+
{
|
| 377 |
+
"type": "text",
|
| 378 |
+
"text": "In order to fine-tune the lexical substitution model to provide better substitutions that improve the accuracy of sentiment analysis, we adapt a dynamic rewarding mechanism (Ge et al., 2022) that was proposed for multi-task learning. As shown in Figure 1 (5) and (6)b, for each target word, we choose the top $N$ candidates. Each of them is seen as a substitute candidate to calculate the probability of correct sentiment prediction after the replacement ((7)b and (8)b). Then, each probability is used to dynamically compute the loss weight when the corresponding candidate is learned by the lexical substitution model as a ground truth ((9)b and (10)b). If the replacement by a candidate leads to a higher chance of predicting the right sentiment, the candidate is more likely given a higher rank by the lexical substitution model. Otherwise, the model would be less likely to select the candidate as the best replacement. The important notations used in this paper are summarized in Table 1. The detailed training process can be seen in Algorithm 1.",
|
| 379 |
+
"bbox": [
|
| 380 |
+
115,
|
| 381 |
+
294,
|
| 382 |
+
489,
|
| 383 |
+
632
|
| 384 |
+
],
|
| 385 |
+
"page_idx": 3
|
| 386 |
+
},
|
| 387 |
+
{
|
| 388 |
+
"type": "text",
|
| 389 |
+
"text": "4.1 Sentiment Analysis with Interpretability",
|
| 390 |
+
"text_level": 1,
|
| 391 |
+
"bbox": [
|
| 392 |
+
112,
|
| 393 |
+
642,
|
| 394 |
+
477,
|
| 395 |
+
657
|
| 396 |
+
],
|
| 397 |
+
"page_idx": 3
|
| 398 |
+
},
|
| 399 |
+
{
|
| 400 |
+
"type": "text",
|
| 401 |
+
"text": "Given input sentence $w = (w_{1},\\dots ,w_{L})$ , the goal is to predict the correct sentiment label $\\tilde{y}$ . The input is first fed into a pre-trained encoder:",
|
| 402 |
+
"bbox": [
|
| 403 |
+
112,
|
| 404 |
+
662,
|
| 405 |
+
487,
|
| 406 |
+
709
|
| 407 |
+
],
|
| 408 |
+
"page_idx": 3
|
| 409 |
+
},
|
| 410 |
+
{
|
| 411 |
+
"type": "equation",
|
| 412 |
+
"text": "\n$$\nV = \\operatorname {E n c o d e r} (w), \\tag {2}\n$$\n",
|
| 413 |
+
"text_format": "latex",
|
| 414 |
+
"bbox": [
|
| 415 |
+
226,
|
| 416 |
+
721,
|
| 417 |
+
487,
|
| 418 |
+
738
|
| 419 |
+
],
|
| 420 |
+
"page_idx": 3
|
| 421 |
+
},
|
| 422 |
+
{
|
| 423 |
+
"type": "text",
|
| 424 |
+
"text": "where $V$ is hidden states. Next, we aim to find the tokens that contribute the most to sentiment inference. We adopt an interpretable attention module called Hierarchical Attention Network (HAN, Han et al., 2022), which effectively encodes hidden states with multiple non-linear projections and ranks the most influential tokens based on attention. Following the setup of Han et al. (2022), we stack two blocks of HAN to form our attention module.",
|
| 425 |
+
"bbox": [
|
| 426 |
+
112,
|
| 427 |
+
747,
|
| 428 |
+
489,
|
| 429 |
+
891
|
| 430 |
+
],
|
| 431 |
+
"page_idx": 3
|
| 432 |
+
},
|
| 433 |
+
{
|
| 434 |
+
"type": "equation",
|
| 435 |
+
"text": "\n$$\nq, a = H A N (H A N (V)), \\tag {3}\n$$\n",
|
| 436 |
+
"text_format": "latex",
|
| 437 |
+
"bbox": [
|
| 438 |
+
200,
|
| 439 |
+
902,
|
| 440 |
+
487,
|
| 441 |
+
920
|
| 442 |
+
],
|
| 443 |
+
"page_idx": 3
|
| 444 |
+
},
|
| 445 |
+
{
|
| 446 |
+
"type": "table",
|
| 447 |
+
"img_path": "images/3f931976f478537e282899b10e81e0924de510f5086401e4ef0f825eba60b565.jpg",
|
| 448 |
+
"table_caption": [
|
| 449 |
+
"Table 1: Notation table."
|
| 450 |
+
],
|
| 451 |
+
"table_footnote": [],
|
| 452 |
+
"table_body": "<table><tr><td></td><td>Description</td></tr><tr><td>L</td><td>Input sequence length</td></tr><tr><td>I</td><td>Number of words with top ranking attention scores to be potential target words</td></tr><tr><td>J</td><td>Number of words with top ranking diversity scores to be potential target words</td></tr><tr><td>N</td><td>Number of candidates used for finetuning lexical substitution via dynamic rewarding</td></tr><tr><td>K</td><td>Number of candidates for training lexical substitution model</td></tr><tr><td>w</td><td>The original input sentence</td></tr><tr><td>V</td><td>The hidden states of w</td></tr><tr><td>y</td><td>The ground-truth sentiment label of w</td></tr><tr><td>wf</td><td>The final input sentence where ambiguous words in w are substituted</td></tr><tr><td>ŷf</td><td>The predicted sentiment label with wf as input</td></tr><tr><td>wl</td><td>The l-th word in w</td></tr><tr><td>al</td><td>The attention weight of the l-th word in w</td></tr><tr><td>wiatt</td><td>The word in w with the i-th highest attention weight</td></tr><tr><td>viatt</td><td>The hidden state of wiatt</td></tr><tr><td>M</td><td>The number of synonyms of wiatt with the same part-of-speech that are provided by the WordNet</td></tr><tr><td>G</td><td>The hidden states of the M WordNet synonyms</td></tr><tr><td>gm</td><td>The hidden state of the m-th WordNet synonyms of wiatt</td></tr><tr><td>di</td><td>The average Euclidean distance between viatt and g1, . . . , gm, . . . , gM</td></tr><tr><td>tj</td><td>The j-th target word in w to be substituted</td></tr><tr><td>c</td><td>A set of candidate words from WordNet.</td></tr><tr><td>ˆc</td><td>The top N candidates ranked by the lexical substitution model</td></tr><tr><td>ˆcj,n</td><td>The top n-th candidate for replacing tj</td></tr><tr><td>wj,n</td><td>The resulting sentence when replacing tj in w withˆcj,n</td></tr><tr><td>ˆθj,n</td><td>The loss weight whenˆcj,n is treated as the gold standard substitution</td></tr><tr><td>s</td><td>The formatted input to lexical substitution model</td></tr><tr><td>U</td><td>The hidden state matrix of the input sentence in s</td></tr><tr><td>u1</td><td>The hidden state of the l-th input word in s</td></tr><tr><td>R</td><td>The hidden state matrix of the candidates in s</td></tr><tr><td>rk</td><td>The hidden state of the k-th candidate in s</td></tr><tr><td>τ</td><td>The temperature hyper-parameter for training the lexical substitution model</td></tr><tr><td>β</td><td>The hyper-parameter for balancing the sentiment analysis loss and fine-tuning loss</td></tr><tr><td>L(sa)</td><td>The sentiment analysis loss</td></tr><tr><td>L(tune)</td><td>The loss for finetuning the pretrained language model into a lexical substitution model</td></tr><tr><td>L(ls)</td><td>The lexical substitution loss whenˆcj,n is treated as the gold standard substitution</td></tr><tr><td>L(ls)</td><td>The final weighted lexical substitution loss for backpropagation</td></tr></table>",
|
| 453 |
+
"bbox": [
|
| 454 |
+
510,
|
| 455 |
+
107,
|
| 456 |
+
878,
|
| 457 |
+
743
|
| 458 |
+
],
|
| 459 |
+
"page_idx": 3
|
| 460 |
+
},
|
| 461 |
+
{
|
| 462 |
+
"type": "text",
|
| 463 |
+
"text": "where vector $q$ is the yielded hidden state. $a$ is the attention weights, indicating the contribution of each token to the final sentiment prediction. To obtain the sentiment prediction, $q$ is passed on to two layers of feed-forward neural networks (FNN) to obtain the probability distribution of sentiment prediction, with the first one being activated by ReLU (Agarap, 2018), and the second by softmax.",
|
| 464 |
+
"bbox": [
|
| 465 |
+
507,
|
| 466 |
+
790,
|
| 467 |
+
884,
|
| 468 |
+
919
|
| 469 |
+
],
|
| 470 |
+
"page_idx": 3
|
| 471 |
+
},
|
| 472 |
+
{
|
| 473 |
+
"type": "page_number",
|
| 474 |
+
"text": "8775",
|
| 475 |
+
"bbox": [
|
| 476 |
+
480,
|
| 477 |
+
927,
|
| 478 |
+
519,
|
| 479 |
+
940
|
| 480 |
+
],
|
| 481 |
+
"page_idx": 3
|
| 482 |
+
},
|
| 483 |
+
{
|
| 484 |
+
"type": "equation",
|
| 485 |
+
"text": "\n$$\nh = R e L U \\left(F N N _ {1} (q)\\right) \\tag {4}\n$$\n",
|
| 486 |
+
"text_format": "latex",
|
| 487 |
+
"bbox": [
|
| 488 |
+
196,
|
| 489 |
+
112,
|
| 490 |
+
487,
|
| 491 |
+
129
|
| 492 |
+
],
|
| 493 |
+
"page_idx": 4
|
| 494 |
+
},
|
| 495 |
+
{
|
| 496 |
+
"type": "equation",
|
| 497 |
+
"text": "\n$$\n\\hat {y} = \\operatorname {s o f t m a x} \\left(F N N _ {2} (h)\\right) \\tag {5}\n$$\n",
|
| 498 |
+
"text_format": "latex",
|
| 499 |
+
"bbox": [
|
| 500 |
+
200,
|
| 501 |
+
131,
|
| 502 |
+
487,
|
| 503 |
+
149
|
| 504 |
+
],
|
| 505 |
+
"page_idx": 4
|
| 506 |
+
},
|
| 507 |
+
{
|
| 508 |
+
"type": "text",
|
| 509 |
+
"text": "We denote the prediction of the sentiment analysis model as $\\hat{y}^f$ when the input is $w^f$ , which denotes a paraphrased $w$ where all selected target tokens are replaced by sense-clarifying substitutions. Thus, the sentiment analysis loss is computed as:",
|
| 510 |
+
"bbox": [
|
| 511 |
+
112,
|
| 512 |
+
162,
|
| 513 |
+
487,
|
| 514 |
+
242
|
| 515 |
+
],
|
| 516 |
+
"page_idx": 4
|
| 517 |
+
},
|
| 518 |
+
{
|
| 519 |
+
"type": "equation",
|
| 520 |
+
"text": "\n$$\n\\mathcal {L} ^ {(s a)} = \\operatorname {C r o s s E n t r o p y} (\\hat {y} ^ {f}, \\tilde {y}) \\tag {6}\n$$\n",
|
| 521 |
+
"text_format": "latex",
|
| 522 |
+
"bbox": [
|
| 523 |
+
181,
|
| 524 |
+
253,
|
| 525 |
+
487,
|
| 526 |
+
272
|
| 527 |
+
],
|
| 528 |
+
"page_idx": 4
|
| 529 |
+
},
|
| 530 |
+
{
|
| 531 |
+
"type": "text",
|
| 532 |
+
"text": "4.2 Disambiguation by Lexical Substitution",
|
| 533 |
+
"text_level": 1,
|
| 534 |
+
"bbox": [
|
| 535 |
+
112,
|
| 536 |
+
294,
|
| 537 |
+
470,
|
| 538 |
+
311
|
| 539 |
+
],
|
| 540 |
+
"page_idx": 4
|
| 541 |
+
},
|
| 542 |
+
{
|
| 543 |
+
"type": "text",
|
| 544 |
+
"text": "To obtain a lexical substitution model, we fine-tune the pre-trained language model ALM (Mao et al., 2023a)<sup>1</sup> with benchmark datasets from McCarthy and Navigli (2007); Kremer et al. (2014). We use the candidates from the datasets to formulate our input $s$ as in Formula 1. The candidate with the highest score is set as the ground truth substitution $\\tilde{c}$ . Given the input $s$ , the model encodes it as:",
|
| 545 |
+
"bbox": [
|
| 546 |
+
112,
|
| 547 |
+
315,
|
| 548 |
+
487,
|
| 549 |
+
444
|
| 550 |
+
],
|
| 551 |
+
"page_idx": 4
|
| 552 |
+
},
|
| 553 |
+
{
|
| 554 |
+
"type": "equation",
|
| 555 |
+
"text": "\n$$\nU, R = A L M (s), \\tag {7}\n$$\n",
|
| 556 |
+
"text_format": "latex",
|
| 557 |
+
"bbox": [
|
| 558 |
+
231,
|
| 559 |
+
458,
|
| 560 |
+
487,
|
| 561 |
+
474
|
| 562 |
+
],
|
| 563 |
+
"page_idx": 4
|
| 564 |
+
},
|
| 565 |
+
{
|
| 566 |
+
"type": "text",
|
| 567 |
+
"text": "where $U = [u_{1},\\ldots ,u_{L}]$ is the hidden states of the input sentence, and $R = [r_1,\\dots,r_K]$ is the hidden states of the candidates. We denote the representation of the target word as $u_{t}$ $(t\\in \\{1,\\ldots ,L\\})$",
|
| 568 |
+
"bbox": [
|
| 569 |
+
112,
|
| 570 |
+
486,
|
| 571 |
+
487,
|
| 572 |
+
551
|
| 573 |
+
],
|
| 574 |
+
"page_idx": 4
|
| 575 |
+
},
|
| 576 |
+
{
|
| 577 |
+
"type": "text",
|
| 578 |
+
"text": "Our training objective is to a) close the distance between the representation of the ground truth candidate $r_k$ , $(k \\in \\{1, \\dots, K\\})$ with $u_t$ , and b) push away incorrect candidates representations $r_j$ $(j \\in \\{1, \\dots, K | j \\neq k\\})$ from $u_t$ . Namely, $(r_k, u_t)$ will be regarded as a positive pair, while $(r_j, u_t)$ will be regarded as a negative pair. We follow the InfoNCE loss (Oord et al., 2018) to achieve these goals, which can be formulated as:",
|
| 579 |
+
"bbox": [
|
| 580 |
+
112,
|
| 581 |
+
552,
|
| 582 |
+
487,
|
| 583 |
+
695
|
| 584 |
+
],
|
| 585 |
+
"page_idx": 4
|
| 586 |
+
},
|
| 587 |
+
{
|
| 588 |
+
"type": "equation",
|
| 589 |
+
"text": "\n$$\n\\mathcal {L} ^ {(t u n e)} = - \\sum_ {i} \\log \\frac {e x p (d (u _ {t} , r _ {k}) / \\tau)}{\\sum_ {j} e x p (d (u _ {t} , r _ {i}) / \\tau)}, \\tag {8}\n$$\n",
|
| 590 |
+
"text_format": "latex",
|
| 591 |
+
"bbox": [
|
| 592 |
+
131,
|
| 593 |
+
706,
|
| 594 |
+
487,
|
| 595 |
+
744
|
| 596 |
+
],
|
| 597 |
+
"page_idx": 4
|
| 598 |
+
},
|
| 599 |
+
{
|
| 600 |
+
"type": "text",
|
| 601 |
+
"text": "where $i\\in \\{1,\\dots ,K\\}$ $\\tau$ is a temperature hyperparameter, and $d(\\cdot)$ is Euclidean distance.",
|
| 602 |
+
"bbox": [
|
| 603 |
+
112,
|
| 604 |
+
756,
|
| 605 |
+
487,
|
| 606 |
+
789
|
| 607 |
+
],
|
| 608 |
+
"page_idx": 4
|
| 609 |
+
},
|
| 610 |
+
{
|
| 611 |
+
"type": "text",
|
| 612 |
+
"text": "Algorithm 1: Sentiment analysis with word sense disambiguation using a dynamic rewarding mechanism.",
|
| 613 |
+
"bbox": [
|
| 614 |
+
515,
|
| 615 |
+
87,
|
| 616 |
+
838,
|
| 617 |
+
134
|
| 618 |
+
],
|
| 619 |
+
"page_idx": 4
|
| 620 |
+
},
|
| 621 |
+
{
|
| 622 |
+
"type": "code",
|
| 623 |
+
"sub_type": "algorithm",
|
| 624 |
+
"code_caption": [],
|
| 625 |
+
"code_body": "1 Initialize sentiment analysis model as $\\Phi$ , pre-trained \n2 lexical substitution model as $\\Psi$ . \n3 Initialize hyperparameters $\\beta$ $I,J,N$ \nwhile not done do \n4 Sample a sentence $w = w_{1},w_{2},\\ldots ,w_{L}$ . \nfor $l = 1:L$ do \n6 Compute the attention weight $a_{l}$ of token \n $w_{l}$ . \n7 end \n8 $w^{att}\\gets$ Top I of $w$ ordered by attention weights \n $a = a_1,a_2,\\dots ,a_L$ . \nfor $i = 1:I$ do \n10 $c\\gets$ all possible candidates with the same \npart-of-speech type as $w_{i}^{att}$ , provided by \nWordNet; \n11 Compute the average Eulidean distance $d_{i}$ \nbetween the hidden states of $w_{i}^{att}$ and $c$ produced by the encoder in $\\Phi$ . \nend \n13 $t = (t_1,t_2,\\dots ,t_J)\\gets$ Top J of $w^{att}$ ordered \nby $d = d_{1},d_{2},\\ldots ,d_{I}$ $w^{f}\\gets w$ . \nfor $j = 1:J$ do \n16 Input w into $\\Psi$ to produce top N candidates \n $\\hat{c}_j = (\\hat{c}_{j,1},\\dots ,\\hat{c}_{j,N})$ for target word $t_j$ ordered by probability; \n17 Replace $t_j$ in $w^f$ with $\\hat{c}_{j,1}$ \ns $\\leftarrow (< s > ,w_{1},\\dots ,t_{i},\\dots ,w_{L}, < / s > ,\\right.$ $\\hat{c}_{j,1}, < / s > ,\\dots ,\\hat{c}_{j,N}, < / s > )$ . \nfor $n = 1:N$ do \n21 $w^{j,n}\\gets$ Replace $t_j$ in $w$ with $\\hat{c}_{j,n}$ . \n22 Input $w^{j,n}$ into $\\Phi$ to obtain the probability of correct sentiment prediction $P(\\hat{y} = \\tilde{y})_{j,n}$ .. \n23 $\\theta_{j,n}\\gets \\beta P(\\hat{y} = \\tilde{y})_{j,n}^2$ . \n24 Compute $\\mathcal{L}_{j,n}^{(ls)}$ by feeding s with $\\hat{c}_n$ labeled as true substitute into $\\Psi$ .. \n25 $\\mathcal{L}_{j,n}^{(ls)}\\gets \\theta_{j,n}\\mathcal{L}_{j,n}^{(ls)};$ \nend \nend \n28 $\\mathcal{L}^{(ls)}\\gets \\mathcal{L}_{1,1}^{(ls)} + \\dots +\\mathcal{L}_{1,N}^{(ls)} + \\mathcal{L}_{J,1}^{(ls)} + \\dots +\\mathcal{L}_{J,N}^{(ls)}$ . \n29 Compute sentiment analysis loss $\\mathcal{L}^{(sa)}$ using $w^{f}$ as input; \n30 $L\\gets \\mathcal{L}^{(sa)} + \\mathcal{L}^{(ls)}$ .",
|
| 626 |
+
"bbox": [
|
| 627 |
+
510,
|
| 628 |
+
137,
|
| 629 |
+
852,
|
| 630 |
+
728
|
| 631 |
+
],
|
| 632 |
+
"page_idx": 4
|
| 633 |
+
},
|
| 634 |
+
{
|
| 635 |
+
"type": "text",
|
| 636 |
+
"text": "During the inference stage, we choose the candidate $\\hat{c}$ whose corresponding hidden state $r_k$ is the most similar to $u_t$ , measured by Euclidean distance:",
|
| 637 |
+
"bbox": [
|
| 638 |
+
507,
|
| 639 |
+
760,
|
| 640 |
+
884,
|
| 641 |
+
822
|
| 642 |
+
],
|
| 643 |
+
"page_idx": 4
|
| 644 |
+
},
|
| 645 |
+
{
|
| 646 |
+
"type": "equation",
|
| 647 |
+
"text": "\n$$\n\\hat {c} = \\arg \\min \\left(d \\left(u _ {t}, r _ {k}\\right)\\right) \\tag {9}\n$$\n",
|
| 648 |
+
"text_format": "latex",
|
| 649 |
+
"bbox": [
|
| 650 |
+
606,
|
| 651 |
+
827,
|
| 652 |
+
882,
|
| 653 |
+
844
|
| 654 |
+
],
|
| 655 |
+
"page_idx": 4
|
| 656 |
+
},
|
| 657 |
+
{
|
| 658 |
+
"type": "text",
|
| 659 |
+
"text": "We then use the resulting lexical substitution model to find replacements for the selected target words in sentiment analysis input. To determine which words are selected as disambiguation tar",
|
| 660 |
+
"bbox": [
|
| 661 |
+
507,
|
| 662 |
+
854,
|
| 663 |
+
882,
|
| 664 |
+
917
|
| 665 |
+
],
|
| 666 |
+
"page_idx": 4
|
| 667 |
+
},
|
| 668 |
+
{
|
| 669 |
+
"type": "page_footnote",
|
| 670 |
+
"text": "<sup>1</sup>ALM employed a novel pre-training paradigm, termed Anomalous Language Modeling. ALM was pre-trained to detect anomalous substituted words from a sequence and retrieve the original words from a set of candidates that contains a positive sample (an original word) and multiple hard negative samples (the synonyms of the original word) via contrastive learning. Thus, it is more suitable for fine-tuning a lexical substitution model in our task, because we also aim to detect appropriate substitution words from a set of candidates.",
|
| 671 |
+
"bbox": [
|
| 672 |
+
112,
|
| 673 |
+
809,
|
| 674 |
+
487,
|
| 675 |
+
917
|
| 676 |
+
],
|
| 677 |
+
"page_idx": 4
|
| 678 |
+
},
|
| 679 |
+
{
|
| 680 |
+
"type": "page_number",
|
| 681 |
+
"text": "8776",
|
| 682 |
+
"bbox": [
|
| 683 |
+
480,
|
| 684 |
+
927,
|
| 685 |
+
521,
|
| 686 |
+
940
|
| 687 |
+
],
|
| 688 |
+
"page_idx": 4
|
| 689 |
+
},
|
| 690 |
+
{
|
| 691 |
+
"type": "text",
|
| 692 |
+
"text": "gets, we select the top $I$ words in the input with the highest $a$ produced by Equation 3, forming the set $w^{att}$ . We denote their corresponding representations as $V^{att} = \\{v_{1}^{att},\\dots ,v_{I}^{att}\\}$ . For each $v_{i}^{att}$ , we compute its average Euclidean distance to all of its candidates' hidden states. The candidates consist of WordNet synonyms of all of its possible senses under the same part-of-speech type, which are transformed into hidden states $G = \\{g_{1},\\ldots ,g_{M}\\}$ using Equation 2. $M$ represents the number of candidates provided by WordNet. The top $J$ words in $w^{att}$ with the largest corresponding average distance are considered to be the ones with the most diverse word meanings, and thus are more likely to require disambiguation. We will demonstrate the success of such an ambiguous word selection method in the later ablation study (see Section 6.1).",
|
| 693 |
+
"bbox": [
|
| 694 |
+
112,
|
| 695 |
+
84,
|
| 696 |
+
489,
|
| 697 |
+
357
|
| 698 |
+
],
|
| 699 |
+
"page_idx": 5
|
| 700 |
+
},
|
| 701 |
+
{
|
| 702 |
+
"type": "text",
|
| 703 |
+
"text": "Hence, target words $t = (t_1, \\ldots, t_J)$ are selected by finding each corresponding $v_j^{att}$ :",
|
| 704 |
+
"bbox": [
|
| 705 |
+
112,
|
| 706 |
+
357,
|
| 707 |
+
489,
|
| 708 |
+
393
|
| 709 |
+
],
|
| 710 |
+
"page_idx": 5
|
| 711 |
+
},
|
| 712 |
+
{
|
| 713 |
+
"type": "equation",
|
| 714 |
+
"text": "\n$$\nv _ {j} ^ {\\text {a t t}} = \\arg \\max _ {i} \\left(\\frac {1}{M} \\sum_ {M} d \\left(v _ {i} ^ {\\text {a t t}}, g _ {m}\\right)\\right). \\tag {10}\n$$\n",
|
| 715 |
+
"text_format": "latex",
|
| 716 |
+
"bbox": [
|
| 717 |
+
144,
|
| 718 |
+
400,
|
| 719 |
+
487,
|
| 720 |
+
436
|
| 721 |
+
],
|
| 722 |
+
"page_idx": 5
|
| 723 |
+
},
|
| 724 |
+
{
|
| 725 |
+
"type": "text",
|
| 726 |
+
"text": "Following the lexical substitution benchmarks, only words whose part-of-speech tags fall under the general categories of noun, verb, adjective, and adverb are considered as targets.",
|
| 727 |
+
"bbox": [
|
| 728 |
+
112,
|
| 729 |
+
445,
|
| 730 |
+
487,
|
| 731 |
+
508
|
| 732 |
+
],
|
| 733 |
+
"page_idx": 5
|
| 734 |
+
},
|
| 735 |
+
{
|
| 736 |
+
"type": "text",
|
| 737 |
+
"text": "4.3 Dynamic Rewarding Mechanism",
|
| 738 |
+
"text_level": 1,
|
| 739 |
+
"bbox": [
|
| 740 |
+
112,
|
| 741 |
+
519,
|
| 742 |
+
418,
|
| 743 |
+
535
|
| 744 |
+
],
|
| 745 |
+
"page_idx": 5
|
| 746 |
+
},
|
| 747 |
+
{
|
| 748 |
+
"type": "text",
|
| 749 |
+
"text": "To fine-tune the lexical substitution model on the downstream sentiment analysis task without knowing WSD gold standard truth, for each target word $t_j$ , we utilize the top $N$ candidates $\\hat{c}_j = \\{\\hat{c}_{j,1},\\dots ,\\hat{c}_{j,n},\\dots ,\\hat{c}_{j,N}\\}$ produced by the lexical substitution model. The new input resulting from $t_j$ being replaced by candidate $\\hat{c}_{j,n}$ is denoted as $w^{j,n}$ . Same with Equation 5, the probability distribution of a sentiment prediction from $w^{j,n}$ is:",
|
| 750 |
+
"bbox": [
|
| 751 |
+
112,
|
| 752 |
+
539,
|
| 753 |
+
487,
|
| 754 |
+
684
|
| 755 |
+
],
|
| 756 |
+
"page_idx": 5
|
| 757 |
+
},
|
| 758 |
+
{
|
| 759 |
+
"type": "equation",
|
| 760 |
+
"text": "\n$$\nP (\\hat {y}) _ {j, n} = \\operatorname {s o f t m a x} \\left(F N N _ {2} \\left(h ^ {j, n}\\right)\\right), \\tag {11}\n$$\n",
|
| 761 |
+
"text_format": "latex",
|
| 762 |
+
"bbox": [
|
| 763 |
+
147,
|
| 764 |
+
694,
|
| 765 |
+
487,
|
| 766 |
+
713
|
| 767 |
+
],
|
| 768 |
+
"page_idx": 5
|
| 769 |
+
},
|
| 770 |
+
{
|
| 771 |
+
"type": "text",
|
| 772 |
+
"text": "where $h^{j,n}$ is the hidden states of $w^{j,n}$ outputted by Equation 4 in the sentiment analysis model.",
|
| 773 |
+
"bbox": [
|
| 774 |
+
112,
|
| 775 |
+
721,
|
| 776 |
+
485,
|
| 777 |
+
753
|
| 778 |
+
],
|
| 779 |
+
"page_idx": 5
|
| 780 |
+
},
|
| 781 |
+
{
|
| 782 |
+
"type": "text",
|
| 783 |
+
"text": "To adjust the model in such a way that a more accurate sentiment prediction results in a higher reward for the corresponding substitution output, we compute the loss weight for $\\hat{c}_{j,n}$ being the correct substitution prediction as:",
|
| 784 |
+
"bbox": [
|
| 785 |
+
112,
|
| 786 |
+
753,
|
| 787 |
+
487,
|
| 788 |
+
834
|
| 789 |
+
],
|
| 790 |
+
"page_idx": 5
|
| 791 |
+
},
|
| 792 |
+
{
|
| 793 |
+
"type": "equation",
|
| 794 |
+
"text": "\n$$\n\\theta_ {j, n} = \\beta P (\\hat {y} = \\tilde {y}) _ {j, n} ^ {2}, \\tag {12}\n$$\n",
|
| 795 |
+
"text_format": "latex",
|
| 796 |
+
"bbox": [
|
| 797 |
+
216,
|
| 798 |
+
843,
|
| 799 |
+
487,
|
| 800 |
+
863
|
| 801 |
+
],
|
| 802 |
+
"page_idx": 5
|
| 803 |
+
},
|
| 804 |
+
{
|
| 805 |
+
"type": "text",
|
| 806 |
+
"text": "where $\\beta$ is a hyperparameter for balancing the sentiment analysis and lexical substitution losses, $\\tilde{y}$ is the ground truth sentiment label as defined above.",
|
| 807 |
+
"bbox": [
|
| 808 |
+
112,
|
| 809 |
+
871,
|
| 810 |
+
487,
|
| 811 |
+
917
|
| 812 |
+
],
|
| 813 |
+
"page_idx": 5
|
| 814 |
+
},
|
| 815 |
+
{
|
| 816 |
+
"type": "table",
|
| 817 |
+
"img_path": "images/fb98672a0045cdbafab2133bb7d89264d70bee2bb4f6dbf0cb714526a1f024da.jpg",
|
| 818 |
+
"table_caption": [],
|
| 819 |
+
"table_footnote": [],
|
| 820 |
+
"table_body": "<table><tr><td>Dataset</td><td>Split</td><td># Samples</td></tr><tr><td>SemEval 2007 Task 10</td><td>-</td><td>2,010</td></tr><tr><td>CoinCo</td><td>-</td><td>15,629</td></tr><tr><td></td><td>Train</td><td>8,530</td></tr><tr><td>Rotten Tomatoes</td><td>Dev</td><td>1,066</td></tr><tr><td></td><td>Test</td><td>1,066</td></tr><tr><td>Financial PhraseBank</td><td>-</td><td>4,846</td></tr><tr><td>STS-Gold</td><td>-</td><td>2,026</td></tr></table>",
|
| 821 |
+
"bbox": [
|
| 822 |
+
544,
|
| 823 |
+
80,
|
| 824 |
+
847,
|
| 825 |
+
181
|
| 826 |
+
],
|
| 827 |
+
"page_idx": 5
|
| 828 |
+
},
|
| 829 |
+
{
|
| 830 |
+
"type": "text",
|
| 831 |
+
"text": "Table 2: Datasets used for experiments.",
|
| 832 |
+
"bbox": [
|
| 833 |
+
559,
|
| 834 |
+
191,
|
| 835 |
+
830,
|
| 836 |
+
205
|
| 837 |
+
],
|
| 838 |
+
"page_idx": 5
|
| 839 |
+
},
|
| 840 |
+
{
|
| 841 |
+
"type": "text",
|
| 842 |
+
"text": "We formulate the input $s^j$ to lexical substitution model with sentence $w$ and candidates $\\hat{c}_j$ , using Formula 1. Similar to Equation 8, the loss $(\\mathcal{L}_{j,n}^{(ls)})$ of the lexical substitution model when $\\hat{c}_{j,n}$ is considered as gold standard is computed as follows:",
|
| 843 |
+
"bbox": [
|
| 844 |
+
507,
|
| 845 |
+
230,
|
| 846 |
+
882,
|
| 847 |
+
315
|
| 848 |
+
],
|
| 849 |
+
"page_idx": 5
|
| 850 |
+
},
|
| 851 |
+
{
|
| 852 |
+
"type": "equation",
|
| 853 |
+
"text": "\n$$\n\\mathcal {L} _ {j, n} ^ {(l s)} = - \\sum_ {i} \\log \\frac {\\exp \\left(d \\left(u _ {t} , \\hat {c} _ {j , n}\\right) / \\tau\\right)}{\\sum_ {j} \\exp \\left(d \\left(u _ {t} , \\hat {c} _ {j}\\right) / \\tau\\right)}. \\tag {13}\n$$\n",
|
| 854 |
+
"text_format": "latex",
|
| 855 |
+
"bbox": [
|
| 856 |
+
527,
|
| 857 |
+
325,
|
| 858 |
+
882,
|
| 859 |
+
362
|
| 860 |
+
],
|
| 861 |
+
"page_idx": 5
|
| 862 |
+
},
|
| 863 |
+
{
|
| 864 |
+
"type": "text",
|
| 865 |
+
"text": "Finally, the total loss is computed as:",
|
| 866 |
+
"bbox": [
|
| 867 |
+
527,
|
| 868 |
+
375,
|
| 869 |
+
803,
|
| 870 |
+
391
|
| 871 |
+
],
|
| 872 |
+
"page_idx": 5
|
| 873 |
+
},
|
| 874 |
+
{
|
| 875 |
+
"type": "equation",
|
| 876 |
+
"text": "\n$$\n\\mathcal {L} = \\mathcal {L} ^ {(s a)} + \\theta_ {1, 1} \\mathcal {L} _ {1, 1} ^ {(l s)} + \\dots + \\theta_ {J, N} \\mathcal {L} _ {J, N} ^ {(l s)}. \\tag {14}\n$$\n",
|
| 877 |
+
"text_format": "latex",
|
| 878 |
+
"bbox": [
|
| 879 |
+
526,
|
| 880 |
+
401,
|
| 881 |
+
882,
|
| 882 |
+
426
|
| 883 |
+
],
|
| 884 |
+
"page_idx": 5
|
| 885 |
+
},
|
| 886 |
+
{
|
| 887 |
+
"type": "text",
|
| 888 |
+
"text": "5 Experiments",
|
| 889 |
+
"text_level": 1,
|
| 890 |
+
"bbox": [
|
| 891 |
+
507,
|
| 892 |
+
437,
|
| 893 |
+
655,
|
| 894 |
+
454
|
| 895 |
+
],
|
| 896 |
+
"page_idx": 5
|
| 897 |
+
},
|
| 898 |
+
{
|
| 899 |
+
"type": "text",
|
| 900 |
+
"text": "5.1 Datasets",
|
| 901 |
+
"text_level": 1,
|
| 902 |
+
"bbox": [
|
| 903 |
+
507,
|
| 904 |
+
463,
|
| 905 |
+
623,
|
| 906 |
+
476
|
| 907 |
+
],
|
| 908 |
+
"page_idx": 5
|
| 909 |
+
},
|
| 910 |
+
{
|
| 911 |
+
"type": "text",
|
| 912 |
+
"text": "To fine-tune the pretrained lexical substitution model, we combined SemEval 2007 Task 10 (McCarthy and Navigli, 2007) and CoinCo (Kremer et al., 2014). The former consists of 2,010 example sentences for 201 polysemous words. The latter contains 2,474 sentences with multiple words to be substituted. We used $70\\%$ of the concatenated dataset for training, $30\\%$ for testing.",
|
| 913 |
+
"bbox": [
|
| 914 |
+
505,
|
| 915 |
+
483,
|
| 916 |
+
882,
|
| 917 |
+
612
|
| 918 |
+
],
|
| 919 |
+
"page_idx": 5
|
| 920 |
+
},
|
| 921 |
+
{
|
| 922 |
+
"type": "text",
|
| 923 |
+
"text": "For sentiment analysis, we used three datasets from different domains: Rotten Tomatoes (Pang and Lee, 2005) consists of 5,331 positive and 5,331 negative sentences collected from Rotten Tomatoes movie reviews. Financial PhraseBank (Malo et al., 2014) contains 4,846 sentences from English financial news, each labeled as negative, positive, or neutral. As the dataset has no standard split, We adopted a split of $70\\%$ and $30\\%$ for the training and testing sets. STS-Gold (Saif et al., 2013) contains 2,026 tweets, annotated as negative or positive. As the dataset has no standard split, We adopted a split of $90\\%$ and $10\\%$ for the training and testing sets. Details of the datasets are listed in Table 2.",
|
| 924 |
+
"bbox": [
|
| 925 |
+
507,
|
| 926 |
+
613,
|
| 927 |
+
884,
|
| 928 |
+
837
|
| 929 |
+
],
|
| 930 |
+
"page_idx": 5
|
| 931 |
+
},
|
| 932 |
+
{
|
| 933 |
+
"type": "text",
|
| 934 |
+
"text": "5.2 Baselines",
|
| 935 |
+
"text_level": 1,
|
| 936 |
+
"bbox": [
|
| 937 |
+
507,
|
| 938 |
+
848,
|
| 939 |
+
628,
|
| 940 |
+
864
|
| 941 |
+
],
|
| 942 |
+
"page_idx": 5
|
| 943 |
+
},
|
| 944 |
+
{
|
| 945 |
+
"type": "text",
|
| 946 |
+
"text": "Since we aim to improve a sentiment analysis classifier with explicit WSD in a neurosymbolic fashion, vanilla RoBERTa-large (Liu et al., 2019) is",
|
| 947 |
+
"bbox": [
|
| 948 |
+
507,
|
| 949 |
+
871,
|
| 950 |
+
882,
|
| 951 |
+
917
|
| 952 |
+
],
|
| 953 |
+
"page_idx": 5
|
| 954 |
+
},
|
| 955 |
+
{
|
| 956 |
+
"type": "page_number",
|
| 957 |
+
"text": "8777",
|
| 958 |
+
"bbox": [
|
| 959 |
+
480,
|
| 960 |
+
927,
|
| 961 |
+
519,
|
| 962 |
+
940
|
| 963 |
+
],
|
| 964 |
+
"page_idx": 5
|
| 965 |
+
},
|
| 966 |
+
{
|
| 967 |
+
"type": "text",
|
| 968 |
+
"text": "considered as the most direct baseline, because we also used it for sentiment classification. To put our model's performance into perspective, we further include published baselines with the highest reported accuracy on the experiment datasets, which consist of various pre-trained language models finetuned on the target dataset, i.e., FinBERT (Araci, 2019), DeBERTa (He et al., 2020; Sileo, 2023); and ones trained with additional resources, namely, DeBERTa+tarksource (Sileo, 2023) which is pretrained on a unified dataset for 500 English tasks, and SenticNet 7 (Cambria et al., 2022) which is a XLNet enhanced by sentiment knowledge.",
|
| 969 |
+
"bbox": [
|
| 970 |
+
112,
|
| 971 |
+
84,
|
| 972 |
+
492,
|
| 973 |
+
294
|
| 974 |
+
],
|
| 975 |
+
"page_idx": 6
|
| 976 |
+
},
|
| 977 |
+
{
|
| 978 |
+
"type": "text",
|
| 979 |
+
"text": "5.3 Setups",
|
| 980 |
+
"text_level": 1,
|
| 981 |
+
"bbox": [
|
| 982 |
+
112,
|
| 983 |
+
306,
|
| 984 |
+
213,
|
| 985 |
+
322
|
| 986 |
+
],
|
| 987 |
+
"page_idx": 6
|
| 988 |
+
},
|
| 989 |
+
{
|
| 990 |
+
"type": "text",
|
| 991 |
+
"text": "To obtain the lexical substitution model, we fine-tune ALM with the lexical substitution datasets for 20 epochs with a batch size of 20 and a learning rate of 1e-8. The pre-trained model we used as the encoder for sentiment analysis is RoBERTa-large. The hidden size for both models is set to 1024. We use the NLTK part-of-speech tagger (Bird, 2006) to label the sentiment analysis input.",
|
| 992 |
+
"bbox": [
|
| 993 |
+
112,
|
| 994 |
+
329,
|
| 995 |
+
489,
|
| 996 |
+
457
|
| 997 |
+
],
|
| 998 |
+
"page_idx": 6
|
| 999 |
+
},
|
| 1000 |
+
{
|
| 1001 |
+
"type": "text",
|
| 1002 |
+
"text": "To train our proposed framework, we adopt $I = 5$ , $J = 2$ , $K = 15$ , $N = 3$ , $\\tau = 0.05$ and $\\beta = 0.0001$ . We set the learning rate to 1-e6. The models are trained for 50 epochs with a batch size of 10, using early stopping. We used Adam (Kingma and Ba, 2014) as the optimizer. Experiments are run on RTX A6000 GPU. Following the setups in the baselines, we adopt accuracy as an evaluation metric.",
|
| 1003 |
+
"bbox": [
|
| 1004 |
+
112,
|
| 1005 |
+
458,
|
| 1006 |
+
489,
|
| 1007 |
+
602
|
| 1008 |
+
],
|
| 1009 |
+
"page_idx": 6
|
| 1010 |
+
},
|
| 1011 |
+
{
|
| 1012 |
+
"type": "text",
|
| 1013 |
+
"text": "6 Results",
|
| 1014 |
+
"text_level": 1,
|
| 1015 |
+
"bbox": [
|
| 1016 |
+
112,
|
| 1017 |
+
617,
|
| 1018 |
+
213,
|
| 1019 |
+
633
|
| 1020 |
+
],
|
| 1021 |
+
"page_idx": 6
|
| 1022 |
+
},
|
| 1023 |
+
{
|
| 1024 |
+
"type": "text",
|
| 1025 |
+
"text": "We compare our model with the baselines in Table 3. Our model outperforms existing models with the best-published results, achieving state-of-the-art performance on the three datasets. Compared to the RoBERTa baseline, our model is able to improve the accuracy of sentiment analysis on corpora from different domains to varying extent. We hypothesize that the extent of improvement is dependent on domain types. For instance, Twitter language is informal and brief, with frequent use of short homographs. Thus, the integrated disambiguation model is able to obtain the most significant increase of $1.91\\%$ accuracy on STS-Gold. In the financial domain, metaphors and less common word senses are commonly used, accounting for our $1.23\\%$ gain on Financial PhraseBank.",
|
| 1026 |
+
"bbox": [
|
| 1027 |
+
112,
|
| 1028 |
+
644,
|
| 1029 |
+
489,
|
| 1030 |
+
901
|
| 1031 |
+
],
|
| 1032 |
+
"page_idx": 6
|
| 1033 |
+
},
|
| 1034 |
+
{
|
| 1035 |
+
"type": "text",
|
| 1036 |
+
"text": "Movie reviews, on the other hand, often use",
|
| 1037 |
+
"bbox": [
|
| 1038 |
+
131,
|
| 1039 |
+
903,
|
| 1040 |
+
485,
|
| 1041 |
+
917
|
| 1042 |
+
],
|
| 1043 |
+
"page_idx": 6
|
| 1044 |
+
},
|
| 1045 |
+
{
|
| 1046 |
+
"type": "table",
|
| 1047 |
+
"img_path": "images/806970070fa20766615286380f248bc9dd344b51900be623383c69aede464d3b.jpg",
|
| 1048 |
+
"table_caption": [],
|
| 1049 |
+
"table_footnote": [],
|
| 1050 |
+
"table_body": "<table><tr><td>Model</td><td>RT</td><td>FPB</td><td>STS-Gold</td><td>Avg</td></tr><tr><td>DeBERTa</td><td>90.42</td><td>84.48</td><td>-</td><td>87.45</td></tr><tr><td>+tasksource</td><td>90.99</td><td>85.20</td><td>-</td><td>88.10</td></tr><tr><td>FinBERT</td><td>-</td><td>86.00</td><td>-</td><td>-</td></tr><tr><td>SenticNet 7</td><td>-</td><td>-</td><td>90.08</td><td>-</td></tr><tr><td>RoBERTa</td><td>91.31</td><td>87.09</td><td>97.14</td><td>91.85</td></tr><tr><td>Ours</td><td>91.87*</td><td>88.32*</td><td>99.05*</td><td>93.08</td></tr></table>",
|
| 1051 |
+
"bbox": [
|
| 1052 |
+
517,
|
| 1053 |
+
80,
|
| 1054 |
+
877,
|
| 1055 |
+
170
|
| 1056 |
+
],
|
| 1057 |
+
"page_idx": 6
|
| 1058 |
+
},
|
| 1059 |
+
{
|
| 1060 |
+
"type": "text",
|
| 1061 |
+
"text": "Table 3: Comparisons with baselines. RT stands for Rotten Tomatoes. FPB stands for Financial PhraseBank. Bold font denotes the best results. The RoBERTa baseline was implemented by us. * denotes the improvement is statistically significant ( $p < 0.01$ on a two-tailed t-test), against the highest baseline score. Our results are averaged over 5 runs.",
|
| 1062 |
+
"bbox": [
|
| 1063 |
+
507,
|
| 1064 |
+
178,
|
| 1065 |
+
885,
|
| 1066 |
+
279
|
| 1067 |
+
],
|
| 1068 |
+
"page_idx": 6
|
| 1069 |
+
},
|
| 1070 |
+
{
|
| 1071 |
+
"type": "text",
|
| 1072 |
+
"text": "standard expressions that are semantically clearer. Hence, our model obtains a marginal increase of $0.56\\%$ on Rotten Tomatoes. Despite the improvement being marginal on average, i.e., $1.23\\%$ , we would like to highlight that this improvement is significant considering the context of error propagation from the lexical substitution model. Our framework consistently demonstrates improvements across all datasets, substantiating its ability to achieve higher gains in accuracy while minimizing any potential loss. Furthermore, we can interpret the WSD outcomes and the sentiment analysis decision-making process before and after lexical substitutions from the proposed neurosymbolic framework. We will demonstrate the interpretability of the framework in Section 6.2.",
|
| 1073 |
+
"bbox": [
|
| 1074 |
+
507,
|
| 1075 |
+
305,
|
| 1076 |
+
885,
|
| 1077 |
+
562
|
| 1078 |
+
],
|
| 1079 |
+
"page_idx": 6
|
| 1080 |
+
},
|
| 1081 |
+
{
|
| 1082 |
+
"type": "text",
|
| 1083 |
+
"text": "6.1 Ablation Study",
|
| 1084 |
+
"text_level": 1,
|
| 1085 |
+
"bbox": [
|
| 1086 |
+
507,
|
| 1087 |
+
590,
|
| 1088 |
+
673,
|
| 1089 |
+
607
|
| 1090 |
+
],
|
| 1091 |
+
"page_idx": 6
|
| 1092 |
+
},
|
| 1093 |
+
{
|
| 1094 |
+
"type": "text",
|
| 1095 |
+
"text": "To prove the effectiveness of each component in our proposed framework, we compare with two variations: w/o WSD, where sentiment prediction is done by the sentiment analysis model without any modifications to the input; w/o DR, where the lexical substitution model is not fine-tuned during sentiment analysis training. To prove our hypothesis in WSD target word selection, we compare the proposed framework with two variations: Top-2, where the top 2 words in the input with the highest attention weights are automatically chosen as target words to be disambiguated; Rand, where 2 out of the most attended 5 words are randomly selected to be the target words. The comparison of performance is shown in Table 4. It can be observed that our full model outperforms w/o WSD by $0.28\\%$ on Rotten Tomatoes, $1.03\\%$ on Financial PhraseBank, and $1.43\\%$ on STS-Gold.",
|
| 1096 |
+
"bbox": [
|
| 1097 |
+
507,
|
| 1098 |
+
612,
|
| 1099 |
+
884,
|
| 1100 |
+
900
|
| 1101 |
+
],
|
| 1102 |
+
"page_idx": 6
|
| 1103 |
+
},
|
| 1104 |
+
{
|
| 1105 |
+
"type": "text",
|
| 1106 |
+
"text": "The extent of gains in different domains is in",
|
| 1107 |
+
"bbox": [
|
| 1108 |
+
526,
|
| 1109 |
+
903,
|
| 1110 |
+
880,
|
| 1111 |
+
917
|
| 1112 |
+
],
|
| 1113 |
+
"page_idx": 6
|
| 1114 |
+
},
|
| 1115 |
+
{
|
| 1116 |
+
"type": "page_number",
|
| 1117 |
+
"text": "8778",
|
| 1118 |
+
"bbox": [
|
| 1119 |
+
480,
|
| 1120 |
+
927,
|
| 1121 |
+
519,
|
| 1122 |
+
940
|
| 1123 |
+
],
|
| 1124 |
+
"page_idx": 6
|
| 1125 |
+
},
|
| 1126 |
+
{
|
| 1127 |
+
"type": "table",
|
| 1128 |
+
"img_path": "images/9ab1ce708fb261d56c4beeb33424149cf55fb59e8632f991d4456c9d67bfb5a1.jpg",
|
| 1129 |
+
"table_caption": [],
|
| 1130 |
+
"table_footnote": [],
|
| 1131 |
+
"table_body": "<table><tr><td>Model</td><td>RT</td><td>FPB</td><td>STS-Gold</td><td>Avg</td></tr><tr><td>w/o WSD</td><td>91.59</td><td>87.29</td><td>97.62</td><td>92.17</td></tr><tr><td>w/o DR</td><td>91.40</td><td>87.27</td><td>96.67</td><td>91.78</td></tr><tr><td>Top-2</td><td>91.60</td><td>87.81</td><td>97.62</td><td>92.34</td></tr><tr><td>Rand</td><td>89.72</td><td>86.30</td><td>97.14</td><td>91.05</td></tr><tr><td>Ours</td><td>91.87</td><td>88.32</td><td>99.05</td><td>93.08</td></tr></table>",
|
| 1132 |
+
"bbox": [
|
| 1133 |
+
136,
|
| 1134 |
+
80,
|
| 1135 |
+
467,
|
| 1136 |
+
156
|
| 1137 |
+
],
|
| 1138 |
+
"page_idx": 7
|
| 1139 |
+
},
|
| 1140 |
+
{
|
| 1141 |
+
"type": "text",
|
| 1142 |
+
"text": "Table 4: Ablation study results.",
|
| 1143 |
+
"bbox": [
|
| 1144 |
+
191,
|
| 1145 |
+
167,
|
| 1146 |
+
408,
|
| 1147 |
+
181
|
| 1148 |
+
],
|
| 1149 |
+
"page_idx": 7
|
| 1150 |
+
},
|
| 1151 |
+
{
|
| 1152 |
+
"type": "text",
|
| 1153 |
+
"text": "line with our hypothesis in the previous section. It shows that our disambiguation framework is indeed able to improve the accuracy of sentiment analysis by selecting the appropriate ambiguous words and paraphrasing them into semantically clearer ones. Our model also achieves higher accuracy than w/o DR on all three datasets, proving the validity and effectiveness of our dynamic rewarding mechanism. Noticeably, without dynamic rewarding and joint fine-tuning, the performance of w/o DR is weaker than w/o WSD, showing that dynamic rewarding-based fine-tuning with data from another task can effectively alleviate error propagation from lexical substitution.",
|
| 1154 |
+
"bbox": [
|
| 1155 |
+
112,
|
| 1156 |
+
206,
|
| 1157 |
+
489,
|
| 1158 |
+
431
|
| 1159 |
+
],
|
| 1160 |
+
"page_idx": 7
|
| 1161 |
+
},
|
| 1162 |
+
{
|
| 1163 |
+
"type": "text",
|
| 1164 |
+
"text": "Our proposed framework outperforms the Top-2 selection method on all datasets. It proves our assumption that words that are highly diverse in their senses are more likely to cause ambiguity for sentiment prediction. Rand performs the worst on all three datasets compared to w/o WSD, Top-2, and our model, indicating i) the necessity of selecting the appropriate target words to disambiguate so as not to introduce noise, and ii) the validity of choosing target words based on both their importance to the decision and their sense diversity level.",
|
| 1165 |
+
"bbox": [
|
| 1166 |
+
112,
|
| 1167 |
+
432,
|
| 1168 |
+
489,
|
| 1169 |
+
609
|
| 1170 |
+
],
|
| 1171 |
+
"page_idx": 7
|
| 1172 |
+
},
|
| 1173 |
+
{
|
| 1174 |
+
"type": "text",
|
| 1175 |
+
"text": "6.2 Interpretability Demonstration",
|
| 1176 |
+
"text_level": 1,
|
| 1177 |
+
"bbox": [
|
| 1178 |
+
112,
|
| 1179 |
+
623,
|
| 1180 |
+
405,
|
| 1181 |
+
639
|
| 1182 |
+
],
|
| 1183 |
+
"page_idx": 7
|
| 1184 |
+
},
|
| 1185 |
+
{
|
| 1186 |
+
"type": "text",
|
| 1187 |
+
"text": "Since an interpretable encoder (HAN) is used in our framework to learn sequential representations, we can understand which words contribute the most to a sentiment analysis prediction by visualizing the attention weights of HAN.",
|
| 1188 |
+
"bbox": [
|
| 1189 |
+
112,
|
| 1190 |
+
644,
|
| 1191 |
+
487,
|
| 1192 |
+
722
|
| 1193 |
+
],
|
| 1194 |
+
"page_idx": 7
|
| 1195 |
+
},
|
| 1196 |
+
{
|
| 1197 |
+
"type": "text",
|
| 1198 |
+
"text": "As shown in Figure 2, we conduct a study on the change of attention weights before and after paraphrasing. In Figure 2 (a), the words that receive the most attention in the original sentence are not, $a$ , sore, etc., among which not has significantly higher weight. This indicates that the model is mostly relying on negation to make inference. As not does not have diverse meaning and $a$ is an article, sore is selected as target word and replaced with painful. Our attention module assigns a much higher weight to the negative adjective after paraphrasing.",
|
| 1199 |
+
"bbox": [
|
| 1200 |
+
112,
|
| 1201 |
+
725,
|
| 1202 |
+
489,
|
| 1203 |
+
901
|
| 1204 |
+
],
|
| 1205 |
+
"page_idx": 7
|
| 1206 |
+
},
|
| 1207 |
+
{
|
| 1208 |
+
"type": "text",
|
| 1209 |
+
"text": "This shows that our model is able to find suitable",
|
| 1210 |
+
"bbox": [
|
| 1211 |
+
131,
|
| 1212 |
+
903,
|
| 1213 |
+
487,
|
| 1214 |
+
917
|
| 1215 |
+
],
|
| 1216 |
+
"page_idx": 7
|
| 1217 |
+
},
|
| 1218 |
+
{
|
| 1219 |
+
"type": "image",
|
| 1220 |
+
"img_path": "images/b40c38e1a8db81de2405e02c97c9e7c4738fed8a0b063751c1baafc1a4ffc089.jpg",
|
| 1221 |
+
"image_caption": [
|
| 1222 |
+
"Figure 2: The most attended word demonstration before and after paraphrasing in sentiment analysis predictions. The lighter the color, the higher the attention weight."
|
| 1223 |
+
],
|
| 1224 |
+
"image_footnote": [],
|
| 1225 |
+
"bbox": [
|
| 1226 |
+
517,
|
| 1227 |
+
84,
|
| 1228 |
+
882,
|
| 1229 |
+
262
|
| 1230 |
+
],
|
| 1231 |
+
"page_idx": 7
|
| 1232 |
+
},
|
| 1233 |
+
{
|
| 1234 |
+
"type": "text",
|
| 1235 |
+
"text": "word substitutions that aid the correct sentiment predictions. From Figure 2 (b), we can observe a rather evenly distributed attention weights in the original sentence, meaning that the attention module cannot identify the words that significantly affect sentiment. After our framework replaces the word decreased to fell, the model is able to assign higher weights to the sentiment-loaded phrase profit fell. From Figure 2 (c), we can see that after replacing the word mediocre with average, the sentiment related words including the paraphrased word and unaware all received higher attention. By attending to the straightforward paraphrases expressing opinions, the sentiment analysis model can yield correct predictions for all three cases.",
|
| 1236 |
+
"bbox": [
|
| 1237 |
+
505,
|
| 1238 |
+
351,
|
| 1239 |
+
885,
|
| 1240 |
+
593
|
| 1241 |
+
],
|
| 1242 |
+
"page_idx": 7
|
| 1243 |
+
},
|
| 1244 |
+
{
|
| 1245 |
+
"type": "text",
|
| 1246 |
+
"text": "6.3 Case Study",
|
| 1247 |
+
"text_level": 1,
|
| 1248 |
+
"bbox": [
|
| 1249 |
+
507,
|
| 1250 |
+
617,
|
| 1251 |
+
643,
|
| 1252 |
+
633
|
| 1253 |
+
],
|
| 1254 |
+
"page_idx": 7
|
| 1255 |
+
},
|
| 1256 |
+
{
|
| 1257 |
+
"type": "text",
|
| 1258 |
+
"text": "In Table 5, we study the ability of our framework to identify and paraphrase ambiguous words into unequivocal ones. In the first instance, albeit not affecting the prediction, the word delicious is disambiguated by our framework into its figurative meaning delighted instead of its literal one. In the second instance, the word succeeds has a more positive word sense equating to win, and a more neutral one equating to follow. Our framework is able to paraphrase it into the latter. In the last instance, the word visibility falls under the word sense of degree of exposure to public notice in this context. Our framework correctly paraphrases it into profile, which is the synonym under the same sense in WordNet. It can be concluded that our framework can disambiguate word senses in a transparent and interpretable way for sentiment analysis.",
|
| 1259 |
+
"bbox": [
|
| 1260 |
+
505,
|
| 1261 |
+
645,
|
| 1262 |
+
884,
|
| 1263 |
+
917
|
| 1264 |
+
],
|
| 1265 |
+
"page_idx": 7
|
| 1266 |
+
},
|
| 1267 |
+
{
|
| 1268 |
+
"type": "page_number",
|
| 1269 |
+
"text": "8779",
|
| 1270 |
+
"bbox": [
|
| 1271 |
+
480,
|
| 1272 |
+
927,
|
| 1273 |
+
519,
|
| 1274 |
+
940
|
| 1275 |
+
],
|
| 1276 |
+
"page_idx": 7
|
| 1277 |
+
},
|
| 1278 |
+
{
|
| 1279 |
+
"type": "table",
|
| 1280 |
+
"img_path": "images/ed434bca90666544c47056017d90d1f907c0500ad2e4c8fc856b66587fc576c6.jpg",
|
| 1281 |
+
"table_caption": [],
|
| 1282 |
+
"table_footnote": [],
|
| 1283 |
+
"table_body": "<table><tr><td>Setup</td><td>Content</td></tr><tr><td>Original</td><td>a delicious and delicately funny look at the residents of a copenhagen neighborhood coping with the befuddling complications life tosses at them.</td></tr><tr><td>Paraphrased</td><td>a delighted and delicately funny look at the residents of a copenhagen neighborhood coping with the befuddling complications life tosses at them.</td></tr><tr><td>Original</td><td>Le Lay succeeds Walter G++nter and will be based in Finland.</td></tr><tr><td>Paraphrased</td><td>Le Lay follows Walter G++nter and will be based in Finland.</td></tr><tr><td>Original</td><td>Strong brand visibility nationally and regionally is of primary importance in home sales, vehicle and consumer advertising.</td></tr><tr><td>Paraphrased</td><td>Strong brand profile nationally and regionally is of primary importance in home sales, vehicle and consumer advertising.</td></tr></table>",
|
| 1284 |
+
"bbox": [
|
| 1285 |
+
124,
|
| 1286 |
+
80,
|
| 1287 |
+
480,
|
| 1288 |
+
298
|
| 1289 |
+
],
|
| 1290 |
+
"page_idx": 8
|
| 1291 |
+
},
|
| 1292 |
+
{
|
| 1293 |
+
"type": "text",
|
| 1294 |
+
"text": "6.4 Error Analysis",
|
| 1295 |
+
"text_level": 1,
|
| 1296 |
+
"bbox": [
|
| 1297 |
+
112,
|
| 1298 |
+
351,
|
| 1299 |
+
278,
|
| 1300 |
+
367
|
| 1301 |
+
],
|
| 1302 |
+
"page_idx": 8
|
| 1303 |
+
},
|
| 1304 |
+
{
|
| 1305 |
+
"type": "text",
|
| 1306 |
+
"text": "Finally, we perform a brief error analysis (Table 6). In the first sentence, the model wrongly paraphrases force into power, because it does not recognize the multi-word idiom tour de force. It shows the model's limitation in understanding the semantic meaning of infrequent multi-word idiom. In the second sentence, the word just is wrongly paraphrased as good, which negatively influenced the sentiment prediction. This is mainly due to the part-of-speech tagger wrongly classifying the word just into a adjective, instead of an adverb. Thus, the lexical substitution module might be subjected to error propagation of the part-of-speech tagger and introduce noise into the input. In the last sentence, the word skills is paraphrased as science. It is likely that the model mistakes the word major as a field of study instead of a student studying a field. Thus, the substitution makes sense in the local context the science of calculus major, but not in the whole context, meaning that the model fails to understand the semantic meaning of the sentence.",
|
| 1307 |
+
"bbox": [
|
| 1308 |
+
112,
|
| 1309 |
+
375,
|
| 1310 |
+
489,
|
| 1311 |
+
712
|
| 1312 |
+
],
|
| 1313 |
+
"page_idx": 8
|
| 1314 |
+
},
|
| 1315 |
+
{
|
| 1316 |
+
"type": "text",
|
| 1317 |
+
"text": "7 Conclusion",
|
| 1318 |
+
"text_level": 1,
|
| 1319 |
+
"bbox": [
|
| 1320 |
+
114,
|
| 1321 |
+
728,
|
| 1322 |
+
247,
|
| 1323 |
+
744
|
| 1324 |
+
],
|
| 1325 |
+
"page_idx": 8
|
| 1326 |
+
},
|
| 1327 |
+
{
|
| 1328 |
+
"type": "text",
|
| 1329 |
+
"text": "In this work, we propose a neurosymbolic framework for sentiment analysis that incorporates the disambiguation of word senses by identifying and paraphrasing ambiguous words in the input, which is realized by leveraging a pre-trained lexical substitution model. The proposed framework not only improves the accuracy of sentiment analysis, but also achieves interpretability by enabling us to trace back which words are paraphrased and what words they are replaced with.",
|
| 1330 |
+
"bbox": [
|
| 1331 |
+
112,
|
| 1332 |
+
758,
|
| 1333 |
+
489,
|
| 1334 |
+
917
|
| 1335 |
+
],
|
| 1336 |
+
"page_idx": 8
|
| 1337 |
+
},
|
| 1338 |
+
{
|
| 1339 |
+
"type": "table",
|
| 1340 |
+
"img_path": "images/b912546ca4bfdea26d55ee3efc44ad13591b874ce31963783a2b0e27f8070c0e.jpg",
|
| 1341 |
+
"table_caption": [
|
| 1342 |
+
"Table 5: Case study of disambiguation as paraphrasing."
|
| 1343 |
+
],
|
| 1344 |
+
"table_footnote": [],
|
| 1345 |
+
"table_body": "<table><tr><td>Setup</td><td>Content</td><td>Label</td></tr><tr><td>Original</td><td>a tour de force of modern cinema.</td><td>Positive</td></tr><tr><td>Paraphrased</td><td>a tour de power of modern cinema.</td><td>Positive</td></tr><tr><td>Original</td><td>Is just at work for the day -sigh- I have a headache</td><td>Negative</td></tr><tr><td>Paraphrased</td><td>Is good at work for the day -sigh- I have a headache</td><td>Positive</td></tr><tr><td>Original</td><td>the skills of a calculus major at m.i.t. are required to balance all the formulaic equations in the long-winded heist comedy who is cletis tout?</td><td>Negative</td></tr><tr><td>Paraphrased</td><td>the science of a calculus major at m.i.t. are required to balance all the formulaic equations in the long-winded heist comedy who is cletis tout?</td><td>Positive</td></tr></table>",
|
| 1346 |
+
"bbox": [
|
| 1347 |
+
517,
|
| 1348 |
+
80,
|
| 1349 |
+
877,
|
| 1350 |
+
298
|
| 1351 |
+
],
|
| 1352 |
+
"page_idx": 8
|
| 1353 |
+
},
|
| 1354 |
+
{
|
| 1355 |
+
"type": "text",
|
| 1356 |
+
"text": "Table 6: Error analysis. Red indicates errors made by our proposed framework.",
|
| 1357 |
+
"bbox": [
|
| 1358 |
+
507,
|
| 1359 |
+
307,
|
| 1360 |
+
882,
|
| 1361 |
+
338
|
| 1362 |
+
],
|
| 1363 |
+
"page_idx": 8
|
| 1364 |
+
},
|
| 1365 |
+
{
|
| 1366 |
+
"type": "text",
|
| 1367 |
+
"text": "Additionally, to fine-tune the lexical substitution model to provide better disambiguating substitutes for sentiment analysis with no ground-truth word sense labels, we adopt the dynamic rewarding mechanism to jointly train the sentiment analysis and lexical substitution models. Experiments show that our framework is indeed effective in improving the performance of sentiment analysis, obtaining state-of-the-art performance on three corpora from different domains.",
|
| 1368 |
+
"bbox": [
|
| 1369 |
+
507,
|
| 1370 |
+
363,
|
| 1371 |
+
884,
|
| 1372 |
+
526
|
| 1373 |
+
],
|
| 1374 |
+
"page_idx": 8
|
| 1375 |
+
},
|
| 1376 |
+
{
|
| 1377 |
+
"type": "text",
|
| 1378 |
+
"text": "Limitations",
|
| 1379 |
+
"text_level": 1,
|
| 1380 |
+
"bbox": [
|
| 1381 |
+
509,
|
| 1382 |
+
556,
|
| 1383 |
+
613,
|
| 1384 |
+
570
|
| 1385 |
+
],
|
| 1386 |
+
"page_idx": 8
|
| 1387 |
+
},
|
| 1388 |
+
{
|
| 1389 |
+
"type": "text",
|
| 1390 |
+
"text": "The framework proposed in this paper have to be seen in light of some limitations. First, the performance of sentiment analysis to some extent depends on a decent-performing pre-trained lexical substitution model. Currently, polysemous samples in lexical substitution data are not as abundant as in WSD data, which might limit its ability in disambiguating less common polysemies. Second, the effectiveness of our proposed model is only tested on English corpora, as it relies on the sense knowledge from WordNet. The disambiguation target selection and paraphrasing methods might work on languages with more complex segmentation or limited sense lexicon.",
|
| 1391 |
+
"bbox": [
|
| 1392 |
+
507,
|
| 1393 |
+
583,
|
| 1394 |
+
882,
|
| 1395 |
+
809
|
| 1396 |
+
],
|
| 1397 |
+
"page_idx": 8
|
| 1398 |
+
},
|
| 1399 |
+
{
|
| 1400 |
+
"type": "text",
|
| 1401 |
+
"text": "References",
|
| 1402 |
+
"text_level": 1,
|
| 1403 |
+
"bbox": [
|
| 1404 |
+
509,
|
| 1405 |
+
853,
|
| 1406 |
+
608,
|
| 1407 |
+
869
|
| 1408 |
+
],
|
| 1409 |
+
"page_idx": 8
|
| 1410 |
+
},
|
| 1411 |
+
{
|
| 1412 |
+
"type": "ref_text",
|
| 1413 |
+
"text": "Abien Fred Agarap. 2018. Deep learning using rectified linear units (ReLU). arXiv preprint arXiv:1803.08375.",
|
| 1414 |
+
"bbox": [
|
| 1415 |
+
509,
|
| 1416 |
+
877,
|
| 1417 |
+
882,
|
| 1418 |
+
917
|
| 1419 |
+
],
|
| 1420 |
+
"page_idx": 8
|
| 1421 |
+
},
|
| 1422 |
+
{
|
| 1423 |
+
"type": "page_number",
|
| 1424 |
+
"text": "8780",
|
| 1425 |
+
"bbox": [
|
| 1426 |
+
480,
|
| 1427 |
+
927,
|
| 1428 |
+
519,
|
| 1429 |
+
940
|
| 1430 |
+
],
|
| 1431 |
+
"page_idx": 8
|
| 1432 |
+
},
|
| 1433 |
+
{
|
| 1434 |
+
"type": "list",
|
| 1435 |
+
"sub_type": "ref_text",
|
| 1436 |
+
"list_items": [
|
| 1437 |
+
"Dogu Araci. 2019. FinBERT: Financial sentiment analysis with pre-trained language models. arXiv preprint arXiv:1908.10063.",
|
| 1438 |
+
"Philip Arthur, Graham Neubig, Sakriani Sakti, Tomoki Toda, and Satoshi Nakamura. 2015. Semantic parsing of ambiguous input through paraphrasing and verification. Transactions of the Association for Computational Linguistics, 3:571-584.",
|
| 1439 |
+
"Stefano Baccianella, Andrea Esuli, and Fabrizio Sebastiani. 2010. SentiWordNet 3.0: An enhanced lexical resource for sentiment analysis and opinion mining. In Proceedings of the Seventh International Conference on Language Resources and Evaluation (LREC'10).",
|
| 1440 |
+
"Edoardo Barba, Tommaso Pasini, and Roberto Navigli. 2021a. ESC: Redesigning WSD with Extractive Sense Comprehension. In Proceedings of the 2021 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pages 4661-4672, Online. Association for Computational Linguistics.",
|
| 1441 |
+
"Edoardo Barba, Luigi Procopio, and Roberto Navigli. 2021b. ConSeC: Word sense disambiguation as continuous sense comprehension. In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing, pages 1492-1503, Online and Punta Cana, Dominican Republic. Association for Computational Linguistics.",
|
| 1442 |
+
"Michele Bevilacqua and Roberto Navigli. 2020. Breaking through the $80\\%$ glass ceiling: Raising the state of the art in word sense disambiguation by incorporating knowledge graph information. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pages 2854-2864.",
|
| 1443 |
+
"Steven Bird. 2006. NLTK: the natural language toolkit. In Proceedings of the COLING/ACL 2006 Interactive Presentation Sessions, pages 69-72.",
|
| 1444 |
+
"Terra Blevins and Luke Zettlemoyer. 2020. Moving down the long tail of word sense disambiguation with gloss-informed biencoders. arXiv preprint arXiv:2005.02590.",
|
| 1445 |
+
"Erik Cambria, Qian Liu, Sergio Decherchi, Frank Xing, and Kenneth Kwok. 2022. SenticNet 7: A commonsense-based neurosymbolic AI framework for explainable sentiment analysis. In Proceedings of the Thirteenth Language Resources and Evaluation Conference, pages 3829-3839.",
|
| 1446 |
+
"Erik Cambria, Rui Mao, Melvin Chen, Zhaoxia Wang, and Seng-Beng Ho. 2023. Seven pillars for the future of AI. IEEE Intelligent Systems, 38(6).",
|
| 1447 |
+
"Erik Cambria, Soujanya Poria, Federica Bisio, Rajiv Bajpai, and Iti Chaturvedi. 2015. The CLSA model: A novel framework for concept-level sentiment analysis. In LNCS, volume 9042, pages 3-22. Springer."
|
| 1448 |
+
],
|
| 1449 |
+
"bbox": [
|
| 1450 |
+
115,
|
| 1451 |
+
85,
|
| 1452 |
+
489,
|
| 1453 |
+
917
|
| 1454 |
+
],
|
| 1455 |
+
"page_idx": 9
|
| 1456 |
+
},
|
| 1457 |
+
{
|
| 1458 |
+
"type": "list",
|
| 1459 |
+
"sub_type": "ref_text",
|
| 1460 |
+
"list_items": [
|
| 1461 |
+
"Erik Cambria, Soujanya Poria, Alexander Gelbukh, and Mike Thelwall. 2017. Sentiment analysis is a big suitcase. IEEE Intelligent Systems, 32(6):74-80.",
|
| 1462 |
+
"Niccolò Campolungo, Tommaso Pasini, Denis Emelin, and Roberto Navigli. 2022. Reducing disambiguation biases in NMT by leveraging explicit word sense information. In Proceedings of the 2022 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pages 4824-4838.",
|
| 1463 |
+
"Yanfang Cao, Pu Zhang, and Anping Xiong. 2015. Sentiment analysis based on expanded aspect and polarity-ambiguous word lexicon. International Journal of Advanced Computer Science and Applications, 6(2).",
|
| 1464 |
+
"Ann Devitt and Khurshid Ahmad. 2007. Sentiment polarity identification in financial news: A cohesion-based approach. In Proceedings of the 45th Annual Meeting of the Association of Computational Linguistics, pages 984-991.",
|
| 1465 |
+
"Philip Edmonds and Adam Kilgarriff. 2002. Introduction to the special issue on evaluating word sense disambiguation systems. Natural Language Engineering, 8(4):279-291.",
|
| 1466 |
+
"Umar Farooq, Tej Prasad Dhamala, Antoine Nongaillard, Yacine Ouzrout, and Muhammad Abdul Qadir. 2015. A word sense disambiguation method for feature level sentiment analysis. In 2015 9th International Conference on Software, Knowledge, Information Management and Applications (SKIMA), pages 1-8. IEEE.",
|
| 1467 |
+
"Christiane Fellbaum. 1998. WordNet: An electronic lexical database. MIT press.",
|
| 1468 |
+
"Mengshi Ge, Rui Mao, and Erik Cambria. 2022. Explanable metaphor identification inspired by conceptual metaphor theory. Proceedings of the AAAI Conference on Artificial Intelligence, 36(10):10681-10689.",
|
| 1469 |
+
"Sooji Han, Rui Mao, and Erik Cambria. 2022. Hierarchical attention network for explainable depression detection on Twitter aided by metaphor concept mappings. In Proceedings of the 29th International Conference on Computational Linguistics (COLING), pages 94-104.",
|
| 1470 |
+
"Viktor Hangya, Qianchu Liu, Dario Stojanovski, Alexander Fraser, and Anna Korhonen. 2021. Improving machine translation of rare and unseen word senses. In Proceedings of the Sixth Conference on Machine Translation, pages 614-624.",
|
| 1471 |
+
"Pengcheng He, Xiaodong Liu, Jianfeng Gao, and Weizhu Chen. 2020. DeBERTa: Decoding-enhanced BERT with disentangled attention. arXiv preprint arXiv:2006.03654."
|
| 1472 |
+
],
|
| 1473 |
+
"bbox": [
|
| 1474 |
+
510,
|
| 1475 |
+
85,
|
| 1476 |
+
880,
|
| 1477 |
+
917
|
| 1478 |
+
],
|
| 1479 |
+
"page_idx": 9
|
| 1480 |
+
},
|
| 1481 |
+
{
|
| 1482 |
+
"type": "page_number",
|
| 1483 |
+
"text": "8781",
|
| 1484 |
+
"bbox": [
|
| 1485 |
+
480,
|
| 1486 |
+
928,
|
| 1487 |
+
517,
|
| 1488 |
+
940
|
| 1489 |
+
],
|
| 1490 |
+
"page_idx": 9
|
| 1491 |
+
},
|
| 1492 |
+
{
|
| 1493 |
+
"type": "list",
|
| 1494 |
+
"sub_type": "ref_text",
|
| 1495 |
+
"list_items": [
|
| 1496 |
+
"Luyao Huang, Chi Sun, Xipeng Qiu, and Xuanjing Huang. 2019. GlossBERT: BERT for word sense disambiguation with gloss knowledge. arXiv preprint arXiv:1908.07245.",
|
| 1497 |
+
"Chihli Hung and Shiuman-Jeng Chen. 2016. Word sense disambiguation based sentiment lexicons for sentiment classification. Knowledge-Based Systems, 110:224-232.",
|
| 1498 |
+
"Chihli Hung and Hao-Kai Lin. 2013. Using objective words in SentiWordNet to improve word-of-mouth sentiment classification. IEEE Intelligent Systems, 28(02):47-54.",
|
| 1499 |
+
"Diederik P Kingma and Jimmy Ba. 2014. Adam: A method for stochastic optimization. arXiv preprint arXiv:1412.6980.",
|
| 1500 |
+
"Gerhard Kremer, Katrin Erk, Sebastian Padó, and Stefan Thater. 2014. What substitutes tell us-analysis of an \"all-words\" lexical substitution corpus. In Proceedings of the 14th Conference of the European Chapter of the Association for Computational Linguistics, pages 540-549.",
|
| 1501 |
+
"Frederick Liu, Han Lu, and Graham Neubig. 2018. Handling homographs in neural machine translation. 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 1336-1345.",
|
| 1502 |
+
"Yinhan Liu, Myle Ott, Naman Goyal, Jingfei Du, Mandar Joshi, Danqi Chen, Omer Levy, Mike Lewis, Luke Zettlemoyer, and Veselin Stoyanov. 2019. RoBERTa: A robustly optimized bert pretraining approach. arXiv preprint arXiv:1907.11692.",
|
| 1503 |
+
"P. Malo, A. Sinha, P. Korhonen, J. Wallenius, and P. Takala. 2014. Good debt or bad debt: Detecting semantic orientations in economic texts. Journal of the Association for Information Science and Technology, 65.",
|
| 1504 |
+
"Rui Mao, Kai He, Claudia Beth Ong, Qian Liu, and Erik Cambria. 2023a. MetaPro 2.0: Computational metaphor processing on the effectiveness of anomalous language modeling.",
|
| 1505 |
+
"Rui Mao and Xiao Li. 2021. Bridging towers of multitask learning with a gating mechanism for aspect-based sentiment analysis and sequential metaphor identification. Proceedings of the AAAI Conference on Artificial Intelligence, 35(15):13534-13542.",
|
| 1506 |
+
"Rui Mao, Xiao Li, Kai He, Mengshi Ge, and Erik Cambria. 2023b. MetaPro Online: A computational metaphor processing online system. In Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics (Volume 3: System Demonstrations), pages 127-135.",
|
| 1507 |
+
"Rui Mao, Qian Liu, Kai He, Wei Li, and Erik Cambria. 2023c. The biases of pre-trained language models:"
|
| 1508 |
+
],
|
| 1509 |
+
"bbox": [
|
| 1510 |
+
115,
|
| 1511 |
+
85,
|
| 1512 |
+
485,
|
| 1513 |
+
917
|
| 1514 |
+
],
|
| 1515 |
+
"page_idx": 10
|
| 1516 |
+
},
|
| 1517 |
+
{
|
| 1518 |
+
"type": "list",
|
| 1519 |
+
"sub_type": "ref_text",
|
| 1520 |
+
"list_items": [
|
| 1521 |
+
"An empirical study on prompt-based sentiment analysis and emotion detection. IEEE Transactions on Affective Computing, 14(3):1743-1753.",
|
| 1522 |
+
"Marco Maru, Simone Conia, Michele Bevilacqua, and Roberto Navigli. 2022. Nibbling at the hard core of Word Sense Disambiguation. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 4724-4737.",
|
| 1523 |
+
"Diana McCarthy and Roberto Navigli. 2007. SemEval-2007 task 10: English lexical substitution task. In Proceedings of the 4th International Workshop on Semantic Evaluations, SemEval '07, pages 48-53.",
|
| 1524 |
+
"Arman Khadjeh Nassirtoussi, Saeed Aghabozorgi, Teh Ying Wah, and David Chek Ling Ngo. 2015. Text mining of news-headlines for forex market prediction: A multi-layer dimension reduction algorithm with semantics and sentiment. Expert Systems with Applications, 42(1):306-324.",
|
| 1525 |
+
"Bruno Ohana and Brendan Tierney. 2009. Sentiment classification of reviews using SentiWordNet. Proceedings of IT&T, 8.",
|
| 1526 |
+
"Aaron van den Oord, Yazhe Li, and Oriol Vinyals. 2018. Representation learning with contrastive predictive coding.",
|
| 1527 |
+
"Martha Palmer, Hoa Trang Dang, and Christiane Fellbaum. 2007. Making fine-grained and coarse-grained sense distinctions, both manually and automatically. Natural Language Engineering, 13(2):137-163.",
|
| 1528 |
+
"Bo Pang and Lillian Lee. 2005. Seeing stars: Exploiting class relationships for sentiment categorization with respect to rating scales. In Proceedings of the ACL.",
|
| 1529 |
+
"Xiao Pu, Nikolaos Pappas, James Henderson, and Andrei Popescu-Belis. 2018. Integrating weakly supervised word sense disambiguation into neural machine translation. Transactions of the Association for Computational Linguistics, 6:635-649.",
|
| 1530 |
+
"Rachel Elizabeth Ramsey. 2017. An exemplar-theoretic account of word senses. University of Northumbria at Newcastle (United Kingdom).",
|
| 1531 |
+
"Hassan Saif, Miriam Fernandez, Yulan He, and Harith Alani. 2013. Evaluation datasets for Twitter sentiment analysis: A survey and a new dataset, the STS-Gold. Emotion and Sentiment in Social and Expressive Media.",
|
| 1532 |
+
"Damien Sileo. 2023. tasksource: A dataset harmonization framework for streamlined NLP multitask learning and evaluation. arXiv preprint arXiv:2301.05948v3.",
|
| 1533 |
+
"Yang Song, Xin Cai Ong, Hwee Tou Ng, and Qian Lin. 2021. Improved word sense disambiguation with enhanced sense representations. In *Findings of the Association for Computational Linguistics: EMNLP* 2021, pages 4311-4320."
|
| 1534 |
+
],
|
| 1535 |
+
"bbox": [
|
| 1536 |
+
510,
|
| 1537 |
+
85,
|
| 1538 |
+
880,
|
| 1539 |
+
917
|
| 1540 |
+
],
|
| 1541 |
+
"page_idx": 10
|
| 1542 |
+
},
|
| 1543 |
+
{
|
| 1544 |
+
"type": "page_number",
|
| 1545 |
+
"text": "8782",
|
| 1546 |
+
"bbox": [
|
| 1547 |
+
480,
|
| 1548 |
+
928,
|
| 1549 |
+
519,
|
| 1550 |
+
940
|
| 1551 |
+
],
|
| 1552 |
+
"page_idx": 10
|
| 1553 |
+
},
|
| 1554 |
+
{
|
| 1555 |
+
"type": "list",
|
| 1556 |
+
"sub_type": "ref_text",
|
| 1557 |
+
"list_items": [
|
| 1558 |
+
"Yunqing Xia, Erik Cambria, Amir Hussain, and Huan Zhao. 2015. Word polarity disambiguation using bayesian model and opinion-level features. Cognitive Computation, 7(3):369-380.",
|
| 1559 |
+
"Yunqing Xia, Huan Zhao, Erik Cambria, and Amir Hussain. 2014. Disambiguating word sentiment polarity through bayesian modeling and opinion-level features. In Proceedings of ICML Workshops."
|
| 1560 |
+
],
|
| 1561 |
+
"bbox": [
|
| 1562 |
+
115,
|
| 1563 |
+
85,
|
| 1564 |
+
485,
|
| 1565 |
+
200
|
| 1566 |
+
],
|
| 1567 |
+
"page_idx": 11
|
| 1568 |
+
},
|
| 1569 |
+
{
|
| 1570 |
+
"type": "page_number",
|
| 1571 |
+
"text": "8783",
|
| 1572 |
+
"bbox": [
|
| 1573 |
+
480,
|
| 1574 |
+
928,
|
| 1575 |
+
519,
|
| 1576 |
+
940
|
| 1577 |
+
],
|
| 1578 |
+
"page_idx": 11
|
| 1579 |
+
}
|
| 1580 |
+
]
|
2023/Neuro-Symbolic Sentiment Analysis with Dynamic Word Sense Disambiguation/f2ea77f7-c2a2-49e4-b922-17fa39103dc4_model.json
ADDED
|
@@ -0,0 +1,2061 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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ment Analysis with Dynamic Word Sense Disambiguation"
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"bbox": [
|
| 17 |
+
0.25,
|
| 18 |
+
0.148,
|
| 19 |
+
0.751,
|
| 20 |
+
0.166
|
| 21 |
+
],
|
| 22 |
+
"angle": 0,
|
| 23 |
+
"content": "Xulang Zhang\\*, Rui Mao\\*, Kai He\\* and Erik Cambria\\*"
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"bbox": [
|
| 28 |
+
0.31,
|
| 29 |
+
0.167,
|
| 30 |
+
0.694,
|
| 31 |
+
0.184
|
| 32 |
+
],
|
| 33 |
+
"angle": 0,
|
| 34 |
+
"content": "\\(\\spadesuit\\)Nanyang Technological University, Singapore"
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"type": "text",
|
| 38 |
+
"bbox": [
|
| 39 |
+
0.315,
|
| 40 |
+
0.184,
|
| 41 |
+
0.689,
|
| 42 |
+
0.201
|
| 43 |
+
],
|
| 44 |
+
"angle": 0,
|
| 45 |
+
"content": "\\*National University of Singapore, Singapore"
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"type": "text",
|
| 49 |
+
"bbox": [
|
| 50 |
+
0.142,
|
| 51 |
+
0.201,
|
| 52 |
+
0.86,
|
| 53 |
+
0.217
|
| 54 |
+
],
|
| 55 |
+
"angle": 0,
|
| 56 |
+
"content": "xulang001@e.ntu.edu.sg; {rui.mao, cambria}@ntu.edu.sg; kai_he@nus.edu.sg"
|
| 57 |
+
},
|
| 58 |
+
{
|
| 59 |
+
"type": "title",
|
| 60 |
+
"bbox": [
|
| 61 |
+
0.261,
|
| 62 |
+
0.253,
|
| 63 |
+
0.341,
|
| 64 |
+
0.269
|
| 65 |
+
],
|
| 66 |
+
"angle": 0,
|
| 67 |
+
"content": "Abstract"
|
| 68 |
+
},
|
| 69 |
+
{
|
| 70 |
+
"type": "text",
|
| 71 |
+
"bbox": [
|
| 72 |
+
0.145,
|
| 73 |
+
0.283,
|
| 74 |
+
0.461,
|
| 75 |
+
0.653
|
| 76 |
+
],
|
| 77 |
+
"angle": 0,
|
| 78 |
+
"content": "Sentiment analysis is a task that highly depends on the understanding of word senses. Traditional neural network models are black boxes that represent word senses as vectors that are uninterpretable for humans. On the other hand, the application of Word Sense Disambiguation (WSD) systems in downstream tasks poses challenges regarding i) which words need to be disambiguated, and ii) how to model explicit word senses into easily understandable terms for a downstream model. This work proposes a neurosymbolic framework that incorporates WSD by identifying and paraphrasing ambiguous words to improve the accuracy of sentiment predictions. The framework allows us to understand which words are paraphrased into which semantically unequivocal words, thus enabling a downstream task model to gain both accuracy and interpretability. To better fine-tune a lexical substitution model for WSD on a downstream task without ground-truth word sense labels, we leverage dynamic rewarding to jointly train sentiment analysis and lexical substitution models. Our framework proves to effectively improve the performance of sentiment analysis on corpora from different domains."
|
| 79 |
+
},
|
| 80 |
+
{
|
| 81 |
+
"type": "title",
|
| 82 |
+
"bbox": [
|
| 83 |
+
0.115,
|
| 84 |
+
0.667,
|
| 85 |
+
0.26,
|
| 86 |
+
0.683
|
| 87 |
+
],
|
| 88 |
+
"angle": 0,
|
| 89 |
+
"content": "1 Introduction"
|
| 90 |
+
},
|
| 91 |
+
{
|
| 92 |
+
"type": "text",
|
| 93 |
+
"bbox": [
|
| 94 |
+
0.111,
|
| 95 |
+
0.695,
|
| 96 |
+
0.49,
|
| 97 |
+
0.904
|
| 98 |
+
],
|
| 99 |
+
"angle": 0,
|
| 100 |
+
"content": "To improve the accuracy of sentiment analysis, it is crucial to disambiguate polysemous words according to the context (Cambria et al., 2023). A word may have senses that carry opposite sentiments, e.g., \"fine\" has the positive meaning of being delicate and refined, and the negative meaning of monetary penalty. Additionally, words may appear in positive, negative, or neutral senses in different domains. For instance, the word \"bearish\" is often used in a negative sense to describe the stock market in the financial domain, while more likely to be used neutrally to describe hulking figures in other domains."
|
| 101 |
+
},
|
| 102 |
+
{
|
| 103 |
+
"type": "text",
|
| 104 |
+
"bbox": [
|
| 105 |
+
0.508,
|
| 106 |
+
0.254,
|
| 107 |
+
0.885,
|
| 108 |
+
0.639
|
| 109 |
+
],
|
| 110 |
+
"angle": 0,
|
| 111 |
+
"content": "In traditional black-box sentiment analysis, the representations of word meanings are generated by neural networks (Mao and Li, 2021). As such, the disambiguation process is implicit and opaque. It is challenging to investigate what implicit senses are assigned to ambiguous words by a neural network model for it to make accurate predictions. Coupling symbolism and sub-symbolism, a neurosymbolic approach to sentiment analysis is transparent and interpretable, regarding the extraction and distinction of word meaning as a sub-problem (Cambria et al., 2017). However, research that explicitly deals with ambiguous words in sentiment analysis is limited (Xia et al., 2014, 2015; Cambria et al., 2015). Sense-annotated resources such as SentiWordNet (Baccianella et al., 2010) have been utilized, but only to detect and score sentimental words in the input (Hung and Lin, 2013; Nassirtoussi et al., 2015; Hung and Chen, 2016). The disambiguation of polysemous words in sentiment analysis inputs remains under-explored. Thus, we are motivated to develop a neurosymbolic framework for sentiment analysis with explicit Word Sense Disambiguation (WSD)."
|
| 112 |
+
},
|
| 113 |
+
{
|
| 114 |
+
"type": "text",
|
| 115 |
+
"bbox": [
|
| 116 |
+
0.508,
|
| 117 |
+
0.643,
|
| 118 |
+
0.885,
|
| 119 |
+
0.9
|
| 120 |
+
],
|
| 121 |
+
"angle": 0,
|
| 122 |
+
"content": "Traditional WSD aims to classify which sense of the target word is appropriate according to its context (Huang et al., 2019; Blevins and Zettlemoyer, 2020; Bevilacqua and Navigli, 2020; Song et al., 2021; Barba et al., 2021a,b). However, the limitations \\((\\ell)\\) of their task setups are that \\((\\ell 1)\\) the output of those WSD systems, whether sense label (Bevilacqua and Navigli, 2020) or gloss definition (Blevins and Zettlemoyer, 2020; Barba et al., 2021a), is difficult to integrate into downstream input; \\((\\ell 2)\\) the target words must be pre-defined for WSD systems to disambiguate, making it difficult to apply them directly to downstream tasks; and \\((\\ell 3)\\) the reliability of sense distinction of the benchmark has been questioned (Ramsey, 2017; Maru et al., 2022), as word senses are not discrete."
|
| 123 |
+
},
|
| 124 |
+
{
|
| 125 |
+
"type": "page_number",
|
| 126 |
+
"bbox": [
|
| 127 |
+
0.48,
|
| 128 |
+
0.928,
|
| 129 |
+
0.522,
|
| 130 |
+
0.941
|
| 131 |
+
],
|
| 132 |
+
"angle": 0,
|
| 133 |
+
"content": "8772"
|
| 134 |
+
},
|
| 135 |
+
{
|
| 136 |
+
"type": "footer",
|
| 137 |
+
"bbox": [
|
| 138 |
+
0.218,
|
| 139 |
+
0.946,
|
| 140 |
+
0.78,
|
| 141 |
+
0.973
|
| 142 |
+
],
|
| 143 |
+
"angle": 0,
|
| 144 |
+
"content": "Findings of the Association for Computational Linguistics: EMNLP 2023, pages 8772-8783 \nDecember 6-10, 2023 ©2023 Association for Computational Linguistics"
|
| 145 |
+
}
|
| 146 |
+
],
|
| 147 |
+
[
|
| 148 |
+
{
|
| 149 |
+
"type": "text",
|
| 150 |
+
"bbox": [
|
| 151 |
+
0.113,
|
| 152 |
+
0.085,
|
| 153 |
+
0.493,
|
| 154 |
+
0.295
|
| 155 |
+
],
|
| 156 |
+
"angle": 0,
|
| 157 |
+
"content": "Attempts have been made to incorporate the disambiguation of word senses into downstream applications. Nonetheless, they are either impractical in real-world settings (Farooq et al., 2015; Pu et al., 2018), or only applicable to a specific downstream task, i.e., machine translation (Hangya et al., 2021; Campolungo et al., 2022). To address these issues, we leverage dynamic WSD in our neurosymbolic framework. We regard WSD as a lexical substitution task (for \\(\\ell 1\\)), where ambiguous words in sentiment analysis input are paraphrased into ones that cause less sentiment confusion using a lexical substitution model with dynamic WSD."
|
| 158 |
+
},
|
| 159 |
+
{
|
| 160 |
+
"type": "text",
|
| 161 |
+
"bbox": [
|
| 162 |
+
0.117,
|
| 163 |
+
0.301,
|
| 164 |
+
0.492,
|
| 165 |
+
0.576
|
| 166 |
+
],
|
| 167 |
+
"angle": 0,
|
| 168 |
+
"content": "Our dynamic WSD method comprises two distinct aspects: the dynamic selection of the target word for disambiguation, based on downstream contextual information (for \\(\\ell 2\\)); and the dynamic learning of the most suitable lexical substitutions, based on the prediction accuracy of the downstream model (for \\(\\ell 3\\)). To identify target words that need to be substituted, we first adopt an attention-based explainable encoder to rank input words by the level of influence they have on the output, motivated by the assumption that not all polysemous words affect sentiment predictions (Cao et al., 2015). Then, the top-ranking words with the most diverse senses are selected to be targets, based on our hypothesis that an ambiguous word may coincide with significant disparities in the semantic space between the word itself and its potential substitution candidates."
|
| 169 |
+
},
|
| 170 |
+
{
|
| 171 |
+
"type": "text",
|
| 172 |
+
"bbox": [
|
| 173 |
+
0.113,
|
| 174 |
+
0.582,
|
| 175 |
+
0.492,
|
| 176 |
+
0.919
|
| 177 |
+
],
|
| 178 |
+
"angle": 0,
|
| 179 |
+
"content": "As such, we can trace back which words are selected as targets, and which substitute words are used to disambiguate them, making our method interpretable and transparent. Furthermore, we fine-tune the lexical substitution model whilst training the sentiment analysis model by adopting a dynamic rewarding mechanism that does not require gold standard substitution labels. As such, the substitution model can be adjusted to provide more appropriate output for the downstream task as well as the target domain. Our model achieves more accurate sentiment analysis with explicit lexical-substitution-based WSD, despite not specifically trained on WSD and sentiment parallel datasets. Since the disambiguated word senses are represented as the lexical substitutions of the original words and an explainable encoder is used for retrieving the most contributing words, the neurosymbolic sentiment inference process is more interpretable for humans compared to black-box models."
|
| 180 |
+
},
|
| 181 |
+
{
|
| 182 |
+
"type": "text",
|
| 183 |
+
"bbox": [
|
| 184 |
+
0.508,
|
| 185 |
+
0.085,
|
| 186 |
+
0.887,
|
| 187 |
+
0.296
|
| 188 |
+
],
|
| 189 |
+
"angle": 0,
|
| 190 |
+
"content": "Our model is examined with three publicly available datasets from movie review, finance, and Twitter domains, outperforming strong baselines by \\(1.23\\%\\) on average. The contributions of our work are twofold: (1) We propose a neurosymbolic sentiment analysis framework that leverages WSD as an auxiliary lexical substitution task, achieving state-of-the-art performance on our examined sentiment analysis datasets from different domains; (2) We design a transparent mechanism to select WSD target words, based on a) the importance of words to the learning and inference of a downstream task, and b) word sense diversity."
|
| 191 |
+
},
|
| 192 |
+
{
|
| 193 |
+
"type": "title",
|
| 194 |
+
"bbox": [
|
| 195 |
+
0.51,
|
| 196 |
+
0.31,
|
| 197 |
+
0.666,
|
| 198 |
+
0.326
|
| 199 |
+
],
|
| 200 |
+
"angle": 0,
|
| 201 |
+
"content": "2 Related Work"
|
| 202 |
+
},
|
| 203 |
+
{
|
| 204 |
+
"type": "text",
|
| 205 |
+
"bbox": [
|
| 206 |
+
0.508,
|
| 207 |
+
0.339,
|
| 208 |
+
0.886,
|
| 209 |
+
0.725
|
| 210 |
+
],
|
| 211 |
+
"angle": 0,
|
| 212 |
+
"content": "Word Sense Disambiguation is a task that assigns the appropriate meaning to an ambiguous word according to its context. Recent WSD systems attained F1 scores higher than \\(80\\%\\) on the benchmark datasets (Song et al., 2021; Bevilacqua and Navigli, 2020; Barba et al., 2021a,b), which is regarded as the estimated human performance since it is the highest inter-annotator agreement (Edmonds and Kilgarriff, 2002; Palmer et al., 2007). However, research on the application of WSD systems on downstream tasks is limited. Pu et al. (2018) utilized clustering algorithms to obtain sense embeddings by inferring from the similarity of the context vectors of a target word. The heavy requirement for disambiguating every homographs prior to downstream applications makes their method less feasible in many real-world situations. Campolungo et al. (2022) achieved the disambiguation of word sense in neural machine translation by leveraging a multilingual WSD system to establish a sense-tagged parallel corpus. Nonetheless, their approach relied on cross-lingual word alignments for reliable annotations, meaning that it cannot be adopted by other types of downstream tasks."
|
| 213 |
+
},
|
| 214 |
+
{
|
| 215 |
+
"type": "text",
|
| 216 |
+
"bbox": [
|
| 217 |
+
0.508,
|
| 218 |
+
0.727,
|
| 219 |
+
0.887,
|
| 220 |
+
0.92
|
| 221 |
+
],
|
| 222 |
+
"angle": 0,
|
| 223 |
+
"content": "Sentiment Analysis can be generally defined as the task that determines if a piece of text expresses positive, negative, or neutral opinion (Mao et al., 2023c). Word sense information has been applied in sentiment analysis in the form of sentiment-annotated lexicons (Devitt and Ahmad, 2007; Ohana and Tierney, 2009; Hung and Lin, 2013; Nassirtoussi et al., 2015), such as SentiWordNet. However, these methods incorporate the sentiment information of a word without disambiguating its word sense according to the context, but resorting to the emotional score of the most frequent"
|
| 224 |
+
},
|
| 225 |
+
{
|
| 226 |
+
"type": "page_number",
|
| 227 |
+
"bbox": [
|
| 228 |
+
0.481,
|
| 229 |
+
0.928,
|
| 230 |
+
0.521,
|
| 231 |
+
0.941
|
| 232 |
+
],
|
| 233 |
+
"angle": 0,
|
| 234 |
+
"content": "8773"
|
| 235 |
+
}
|
| 236 |
+
],
|
| 237 |
+
[
|
| 238 |
+
{
|
| 239 |
+
"type": "image",
|
| 240 |
+
"bbox": [
|
| 241 |
+
0.115,
|
| 242 |
+
0.081,
|
| 243 |
+
0.887,
|
| 244 |
+
0.326
|
| 245 |
+
],
|
| 246 |
+
"angle": 0,
|
| 247 |
+
"content": null
|
| 248 |
+
},
|
| 249 |
+
{
|
| 250 |
+
"type": "image_caption",
|
| 251 |
+
"bbox": [
|
| 252 |
+
0.112,
|
| 253 |
+
0.337,
|
| 254 |
+
0.884,
|
| 255 |
+
0.396
|
| 256 |
+
],
|
| 257 |
+
"angle": 0,
|
| 258 |
+
"content": "Figure 1: Architecture of the proposed disambiguation framework for sentiment analysis. A dotted line means backpropagation. Green block means that the original word is replaced by a word provided by the lexical substitution model. The darker the green, the higher probability it is assigned to be the model. Orange block indicates the words with top ranking attention scores produced by HAN."
|
| 259 |
+
},
|
| 260 |
+
{
|
| 261 |
+
"type": "text",
|
| 262 |
+
"bbox": [
|
| 263 |
+
0.113,
|
| 264 |
+
0.421,
|
| 265 |
+
0.489,
|
| 266 |
+
0.581
|
| 267 |
+
],
|
| 268 |
+
"angle": 0,
|
| 269 |
+
"content": "sense, or the average score of all senses. Additionally, the main objective of this approach is to identify sentimental words in a sentence, instead of disambiguating polysemous words that might affect model predictions. Hung and Chen (2016); Farooq et al. (2015); Liu et al. (2018) attempted to disambiguate according to target domain and context, but either costed extensive human labour, or fail to incorporate word senses explicitly and transparently."
|
| 270 |
+
},
|
| 271 |
+
{
|
| 272 |
+
"type": "text",
|
| 273 |
+
"bbox": [
|
| 274 |
+
0.113,
|
| 275 |
+
0.583,
|
| 276 |
+
0.489,
|
| 277 |
+
0.695
|
| 278 |
+
],
|
| 279 |
+
"angle": 0,
|
| 280 |
+
"content": "To address these limitations, our neurosymbolic framework aims to identify ambiguous target words in the context and replace them with clarifying ones automatically, making them interpretable. We also leverage a dynamic rewarding mechanism so that the substitutions can be fine-tuned to better serve the downstream task and the text domain."
|
| 281 |
+
},
|
| 282 |
+
{
|
| 283 |
+
"type": "title",
|
| 284 |
+
"bbox": [
|
| 285 |
+
0.114,
|
| 286 |
+
0.713,
|
| 287 |
+
0.282,
|
| 288 |
+
0.729
|
| 289 |
+
],
|
| 290 |
+
"angle": 0,
|
| 291 |
+
"content": "3 Task Definition"
|
| 292 |
+
},
|
| 293 |
+
{
|
| 294 |
+
"type": "text",
|
| 295 |
+
"bbox": [
|
| 296 |
+
0.113,
|
| 297 |
+
0.743,
|
| 298 |
+
0.49,
|
| 299 |
+
0.919
|
| 300 |
+
],
|
| 301 |
+
"angle": 0,
|
| 302 |
+
"content": "In this work, we regard word sense ambiguity as the potential cause of errors in a downstream task, e.g., sentiment analysis. Inspired by the work of Mao et al. (2023b), we reframe WSD as a lexical substitution task, aiming to replace an ambiguous word with a synonym that not only represents the true sense of the original word in the context (Arthur et al., 2015), but also reduces misclassifications in the downstream task. Given an input sentence \\( w = (w_{1},w_{2},\\dots ,w_{L}) \\), we first aim to identify the target word \\( t \\) that is likely troublesome for"
|
| 303 |
+
},
|
| 304 |
+
{
|
| 305 |
+
"type": "text",
|
| 306 |
+
"bbox": [
|
| 307 |
+
0.508,
|
| 308 |
+
0.421,
|
| 309 |
+
0.884,
|
| 310 |
+
0.485
|
| 311 |
+
],
|
| 312 |
+
"angle": 0,
|
| 313 |
+
"content": "the downstream prediction from \\( w \\). To resolve the potential ambiguity, we extract \\( M \\) of its synonyms from WordNet (Fellbaum, 1998) as candidates \\( c = (c_{1},\\ldots ,c_{M}) \\), forming the input \\( (s) \\) as"
|
| 314 |
+
},
|
| 315 |
+
{
|
| 316 |
+
"type": "equation",
|
| 317 |
+
"bbox": [
|
| 318 |
+
0.575,
|
| 319 |
+
0.494,
|
| 320 |
+
0.884,
|
| 321 |
+
0.515
|
| 322 |
+
],
|
| 323 |
+
"angle": 0,
|
| 324 |
+
"content": "\\[\ns = \\langle s \\rangle , w _ {1}, w _ {2}, \\dots , t, \\dots , w _ {L}, \\langle / s \\rangle , \\tag {1}\n\\]"
|
| 325 |
+
},
|
| 326 |
+
{
|
| 327 |
+
"type": "text",
|
| 328 |
+
"bbox": [
|
| 329 |
+
0.508,
|
| 330 |
+
0.53,
|
| 331 |
+
0.883,
|
| 332 |
+
0.707
|
| 333 |
+
],
|
| 334 |
+
"angle": 0,
|
| 335 |
+
"content": "\\(< \\mathrm{s}>\\) and \\(</ \\mathrm{s}>\\) are special tokens that were defined by our employed pre-trained language model. The lexical substitution model should identify the best candidate from \\(c\\) as the substitute \\(\\hat{c}\\) which retains the original meaning of \\(t\\) in the context by using contrast learning. Thus, \\(\\hat{c}\\) is the symbolic representation of \\(t\\) in context \\(w\\). Then, the paraphrased input \\(w^{f} = (w_{1},\\dots,\\hat{c},\\dots,w_{L})\\) is fed into a neural network classifier to predict a sentiment label. The objective is that the paraphrased input \\(w^{f}\\) increases the probability of correct sentiment prediction."
|
| 336 |
+
},
|
| 337 |
+
{
|
| 338 |
+
"type": "title",
|
| 339 |
+
"bbox": [
|
| 340 |
+
0.509,
|
| 341 |
+
0.718,
|
| 342 |
+
0.659,
|
| 343 |
+
0.735
|
| 344 |
+
],
|
| 345 |
+
"angle": 0,
|
| 346 |
+
"content": "4 Methodology"
|
| 347 |
+
},
|
| 348 |
+
{
|
| 349 |
+
"type": "text",
|
| 350 |
+
"bbox": [
|
| 351 |
+
0.508,
|
| 352 |
+
0.743,
|
| 353 |
+
0.884,
|
| 354 |
+
0.919
|
| 355 |
+
],
|
| 356 |
+
"angle": 0,
|
| 357 |
+
"content": "Our proposed neurosymbolic framework can be viewed in Figure 1. There are two models in our framework, namely sentiment analysis and lexical substitution models. The sentiment analysis model consists of an encoder, an interpretable attention module, and multiple feedforward neural networks. First, through Figure 1 (1) and (2), the original input is fed into the encoder and the interpretable attention module to obtain the top \\(I\\) tokens with the highest attention weights, which contribute the most to sentiment prediction."
|
| 358 |
+
},
|
| 359 |
+
{
|
| 360 |
+
"type": "page_number",
|
| 361 |
+
"bbox": [
|
| 362 |
+
0.481,
|
| 363 |
+
0.928,
|
| 364 |
+
0.521,
|
| 365 |
+
0.941
|
| 366 |
+
],
|
| 367 |
+
"angle": 0,
|
| 368 |
+
"content": "8774"
|
| 369 |
+
}
|
| 370 |
+
],
|
| 371 |
+
[
|
| 372 |
+
{
|
| 373 |
+
"type": "text",
|
| 374 |
+
"bbox": [
|
| 375 |
+
0.113,
|
| 376 |
+
0.085,
|
| 377 |
+
0.49,
|
| 378 |
+
0.295
|
| 379 |
+
],
|
| 380 |
+
"angle": 0,
|
| 381 |
+
"content": "In (3), the sense diversity of each token is computed as the average distance of the token's hidden state to those of its substitution candidates. Then, through (4), top \\( J \\) tokens with the most diverse senses are selected as disambiguation targets, because these target tokens may have very different senses in different contexts. Subsequently, the pretrained lexical substitution model is applied to provide the best substitution to replace each target token, as shown in (5) and (6)a. The new input sentence is passed onto the sentiment analysis model for final prediction ((7)a and (8)a), which is used for the sentiment model backpropagation ((9)a)."
|
| 382 |
+
},
|
| 383 |
+
{
|
| 384 |
+
"type": "text",
|
| 385 |
+
"bbox": [
|
| 386 |
+
0.117,
|
| 387 |
+
0.296,
|
| 388 |
+
0.49,
|
| 389 |
+
0.633
|
| 390 |
+
],
|
| 391 |
+
"angle": 0,
|
| 392 |
+
"content": "In order to fine-tune the lexical substitution model to provide better substitutions that improve the accuracy of sentiment analysis, we adapt a dynamic rewarding mechanism (Ge et al., 2022) that was proposed for multi-task learning. As shown in Figure 1 (5) and (6)b, for each target word, we choose the top \\( N \\) candidates. Each of them is seen as a substitute candidate to calculate the probability of correct sentiment prediction after the replacement ((7)b and (8)b). Then, each probability is used to dynamically compute the loss weight when the corresponding candidate is learned by the lexical substitution model as a ground truth ((9)b and (10)b). If the replacement by a candidate leads to a higher chance of predicting the right sentiment, the candidate is more likely given a higher rank by the lexical substitution model. Otherwise, the model would be less likely to select the candidate as the best replacement. The important notations used in this paper are summarized in Table 1. The detailed training process can be seen in Algorithm 1."
|
| 393 |
+
},
|
| 394 |
+
{
|
| 395 |
+
"type": "title",
|
| 396 |
+
"bbox": [
|
| 397 |
+
0.114,
|
| 398 |
+
0.643,
|
| 399 |
+
0.478,
|
| 400 |
+
0.658
|
| 401 |
+
],
|
| 402 |
+
"angle": 0,
|
| 403 |
+
"content": "4.1 Sentiment Analysis with Interpretability"
|
| 404 |
+
},
|
| 405 |
+
{
|
| 406 |
+
"type": "text",
|
| 407 |
+
"bbox": [
|
| 408 |
+
0.113,
|
| 409 |
+
0.663,
|
| 410 |
+
0.489,
|
| 411 |
+
0.711
|
| 412 |
+
],
|
| 413 |
+
"angle": 0,
|
| 414 |
+
"content": "Given input sentence \\( w = (w_{1},\\dots ,w_{L}) \\), the goal is to predict the correct sentiment label \\( \\tilde{y} \\). The input is first fed into a pre-trained encoder:"
|
| 415 |
+
},
|
| 416 |
+
{
|
| 417 |
+
"type": "equation",
|
| 418 |
+
"bbox": [
|
| 419 |
+
0.228,
|
| 420 |
+
0.722,
|
| 421 |
+
0.488,
|
| 422 |
+
0.739
|
| 423 |
+
],
|
| 424 |
+
"angle": 0,
|
| 425 |
+
"content": "\\[\nV = \\operatorname {E n c o d e r} (w), \\tag {2}\n\\]"
|
| 426 |
+
},
|
| 427 |
+
{
|
| 428 |
+
"type": "text",
|
| 429 |
+
"bbox": [
|
| 430 |
+
0.113,
|
| 431 |
+
0.748,
|
| 432 |
+
0.49,
|
| 433 |
+
0.892
|
| 434 |
+
],
|
| 435 |
+
"angle": 0,
|
| 436 |
+
"content": "where \\(V\\) is hidden states. Next, we aim to find the tokens that contribute the most to sentiment inference. We adopt an interpretable attention module called Hierarchical Attention Network (HAN, Han et al., 2022), which effectively encodes hidden states with multiple non-linear projections and ranks the most influential tokens based on attention. Following the setup of Han et al. (2022), we stack two blocks of HAN to form our attention module."
|
| 437 |
+
},
|
| 438 |
+
{
|
| 439 |
+
"type": "equation",
|
| 440 |
+
"bbox": [
|
| 441 |
+
0.2,
|
| 442 |
+
0.903,
|
| 443 |
+
0.488,
|
| 444 |
+
0.921
|
| 445 |
+
],
|
| 446 |
+
"angle": 0,
|
| 447 |
+
"content": "\\[\nq, a = H A N (H A N (V)), \\tag {3}\n\\]"
|
| 448 |
+
},
|
| 449 |
+
{
|
| 450 |
+
"type": "table_caption",
|
| 451 |
+
"bbox": [
|
| 452 |
+
0.614,
|
| 453 |
+
0.083,
|
| 454 |
+
0.778,
|
| 455 |
+
0.096
|
| 456 |
+
],
|
| 457 |
+
"angle": 0,
|
| 458 |
+
"content": "Table 1: Notation table."
|
| 459 |
+
},
|
| 460 |
+
{
|
| 461 |
+
"type": "table",
|
| 462 |
+
"bbox": [
|
| 463 |
+
0.511,
|
| 464 |
+
0.108,
|
| 465 |
+
0.88,
|
| 466 |
+
0.744
|
| 467 |
+
],
|
| 468 |
+
"angle": 0,
|
| 469 |
+
"content": "<table><tr><td></td><td>Description</td></tr><tr><td>L</td><td>Input sequence length</td></tr><tr><td>I</td><td>Number of words with top ranking attention scores to be potential target words</td></tr><tr><td>J</td><td>Number of words with top ranking diversity scores to be potential target words</td></tr><tr><td>N</td><td>Number of candidates used for finetuning lexical substitution via dynamic rewarding</td></tr><tr><td>K</td><td>Number of candidates for training lexical substitution model</td></tr><tr><td>w</td><td>The original input sentence</td></tr><tr><td>V</td><td>The hidden states of w</td></tr><tr><td>y</td><td>The ground-truth sentiment label of w</td></tr><tr><td>wf</td><td>The final input sentence where ambiguous words in w are substituted</td></tr><tr><td>ŷf</td><td>The predicted sentiment label with wf as input</td></tr><tr><td>wl</td><td>The l-th word in w</td></tr><tr><td>al</td><td>The attention weight of the l-th word in w</td></tr><tr><td>wiatt</td><td>The word in w with the i-th highest attention weight</td></tr><tr><td>viatt</td><td>The hidden state of wiatt</td></tr><tr><td>M</td><td>The number of synonyms of wiatt with the same part-of-speech that are provided by the WordNet</td></tr><tr><td>G</td><td>The hidden states of the M WordNet synonyms</td></tr><tr><td>gm</td><td>The hidden state of the m-th WordNet synonyms of wiatt</td></tr><tr><td>di</td><td>The average Euclidean distance between viatt and g1, . . . , gm, . . . , gM</td></tr><tr><td>tj</td><td>The j-th target word in w to be substituted</td></tr><tr><td>c</td><td>A set of candidate words from WordNet.</td></tr><tr><td>ˆc</td><td>The top N candidates ranked by the lexical substitution model</td></tr><tr><td>ˆcj,n</td><td>The top n-th candidate for replacing tj</td></tr><tr><td>wj,n</td><td>The resulting sentence when replacing tj in w withˆcj,n</td></tr><tr><td>ˆθj,n</td><td>The loss weight whenˆcj,n is treated as the gold standard substitution</td></tr><tr><td>s</td><td>The formatted input to lexical substitution model</td></tr><tr><td>U</td><td>The hidden state matrix of the input sentence in s</td></tr><tr><td>u1</td><td>The hidden state of the l-th input word in s</td></tr><tr><td>R</td><td>The hidden state matrix of the candidates in s</td></tr><tr><td>rk</td><td>The hidden state of the k-th candidate in s</td></tr><tr><td>τ</td><td>The temperature hyper-parameter for training the lexical substitution model</td></tr><tr><td>β</td><td>The hyper-parameter for balancing the sentiment analysis loss and fine-tuning loss</td></tr><tr><td>L(sa)</td><td>The sentiment analysis loss</td></tr><tr><td>L(tune)</td><td>The loss for finetuning the pretrained language model into a lexical substitution model</td></tr><tr><td>L(ls)</td><td>The lexical substitution loss whenˆcj,n is treated as the gold standard substitution</td></tr><tr><td>L(ls)</td><td>The final weighted lexical substitution loss for backpropagation</td></tr></table>"
|
| 470 |
+
},
|
| 471 |
+
{
|
| 472 |
+
"type": "text",
|
| 473 |
+
"bbox": [
|
| 474 |
+
0.508,
|
| 475 |
+
0.791,
|
| 476 |
+
0.885,
|
| 477 |
+
0.92
|
| 478 |
+
],
|
| 479 |
+
"angle": 0,
|
| 480 |
+
"content": "where vector \\( q \\) is the yielded hidden state. \\( a \\) is the attention weights, indicating the contribution of each token to the final sentiment prediction. To obtain the sentiment prediction, \\( q \\) is passed on to two layers of feed-forward neural networks (FNN) to obtain the probability distribution of sentiment prediction, with the first one being activated by ReLU (Agarap, 2018), and the second by softmax."
|
| 481 |
+
},
|
| 482 |
+
{
|
| 483 |
+
"type": "page_number",
|
| 484 |
+
"bbox": [
|
| 485 |
+
0.481,
|
| 486 |
+
0.928,
|
| 487 |
+
0.521,
|
| 488 |
+
0.941
|
| 489 |
+
],
|
| 490 |
+
"angle": 0,
|
| 491 |
+
"content": "8775"
|
| 492 |
+
}
|
| 493 |
+
],
|
| 494 |
+
[
|
| 495 |
+
{
|
| 496 |
+
"type": "equation",
|
| 497 |
+
"bbox": [
|
| 498 |
+
0.198,
|
| 499 |
+
0.113,
|
| 500 |
+
0.488,
|
| 501 |
+
0.13
|
| 502 |
+
],
|
| 503 |
+
"angle": 0,
|
| 504 |
+
"content": "\\[\nh = R e L U \\left(F N N _ {1} (q)\\right) \\tag {4}\n\\]"
|
| 505 |
+
},
|
| 506 |
+
{
|
| 507 |
+
"type": "equation",
|
| 508 |
+
"bbox": [
|
| 509 |
+
0.2,
|
| 510 |
+
0.133,
|
| 511 |
+
0.488,
|
| 512 |
+
0.151
|
| 513 |
+
],
|
| 514 |
+
"angle": 0,
|
| 515 |
+
"content": "\\[\n\\hat {y} = \\operatorname {s o f t m a x} \\left(F N N _ {2} (h)\\right) \\tag {5}\n\\]"
|
| 516 |
+
},
|
| 517 |
+
{
|
| 518 |
+
"type": "text",
|
| 519 |
+
"bbox": [
|
| 520 |
+
0.113,
|
| 521 |
+
0.163,
|
| 522 |
+
0.489,
|
| 523 |
+
0.243
|
| 524 |
+
],
|
| 525 |
+
"angle": 0,
|
| 526 |
+
"content": "We denote the prediction of the sentiment analysis model as \\(\\hat{y}^f\\) when the input is \\(w^f\\), which denotes a paraphrased \\(w\\) where all selected target tokens are replaced by sense-clarifying substitutions. Thus, the sentiment analysis loss is computed as:"
|
| 527 |
+
},
|
| 528 |
+
{
|
| 529 |
+
"type": "equation",
|
| 530 |
+
"bbox": [
|
| 531 |
+
0.182,
|
| 532 |
+
0.254,
|
| 533 |
+
0.488,
|
| 534 |
+
0.273
|
| 535 |
+
],
|
| 536 |
+
"angle": 0,
|
| 537 |
+
"content": "\\[\n\\mathcal {L} ^ {(s a)} = \\operatorname {C r o s s E n t r o p y} (\\hat {y} ^ {f}, \\tilde {y}) \\tag {6}\n\\]"
|
| 538 |
+
},
|
| 539 |
+
{
|
| 540 |
+
"type": "title",
|
| 541 |
+
"bbox": [
|
| 542 |
+
0.114,
|
| 543 |
+
0.296,
|
| 544 |
+
0.472,
|
| 545 |
+
0.312
|
| 546 |
+
],
|
| 547 |
+
"angle": 0,
|
| 548 |
+
"content": "4.2 Disambiguation by Lexical Substitution"
|
| 549 |
+
},
|
| 550 |
+
{
|
| 551 |
+
"type": "text",
|
| 552 |
+
"bbox": [
|
| 553 |
+
0.113,
|
| 554 |
+
0.316,
|
| 555 |
+
0.489,
|
| 556 |
+
0.445
|
| 557 |
+
],
|
| 558 |
+
"angle": 0,
|
| 559 |
+
"content": "To obtain a lexical substitution model, we fine-tune the pre-trained language model ALM (Mao et al., 2023a)<sup>1</sup> with benchmark datasets from McCarthy and Navigli (2007); Kremer et al. (2014). We use the candidates from the datasets to formulate our input \\( s \\) as in Formula 1. The candidate with the highest score is set as the ground truth substitution \\( \\tilde{c} \\). Given the input \\( s \\), the model encodes it as:"
|
| 560 |
+
},
|
| 561 |
+
{
|
| 562 |
+
"type": "equation",
|
| 563 |
+
"bbox": [
|
| 564 |
+
0.232,
|
| 565 |
+
0.459,
|
| 566 |
+
0.488,
|
| 567 |
+
0.475
|
| 568 |
+
],
|
| 569 |
+
"angle": 0,
|
| 570 |
+
"content": "\\[\nU, R = A L M (s), \\tag {7}\n\\]"
|
| 571 |
+
},
|
| 572 |
+
{
|
| 573 |
+
"type": "text",
|
| 574 |
+
"bbox": [
|
| 575 |
+
0.113,
|
| 576 |
+
0.487,
|
| 577 |
+
0.489,
|
| 578 |
+
0.552
|
| 579 |
+
],
|
| 580 |
+
"angle": 0,
|
| 581 |
+
"content": "where \\(U = [u_{1},\\ldots ,u_{L}]\\) is the hidden states of the input sentence, and \\(R = [r_1,\\dots,r_K]\\) is the hidden states of the candidates. We denote the representation of the target word as \\(u_{t}\\) \\((t\\in \\{1,\\ldots ,L\\})\\)"
|
| 582 |
+
},
|
| 583 |
+
{
|
| 584 |
+
"type": "text",
|
| 585 |
+
"bbox": [
|
| 586 |
+
0.113,
|
| 587 |
+
0.553,
|
| 588 |
+
0.489,
|
| 589 |
+
0.696
|
| 590 |
+
],
|
| 591 |
+
"angle": 0,
|
| 592 |
+
"content": "Our training objective is to a) close the distance between the representation of the ground truth candidate \\( r_k \\), \\( (k \\in \\{1, \\dots, K\\}) \\) with \\( u_t \\), and b) push away incorrect candidates representations \\( r_j \\) \\( (j \\in \\{1, \\dots, K | j \\neq k\\}) \\) from \\( u_t \\). Namely, \\( (r_k, u_t) \\) will be regarded as a positive pair, while \\( (r_j, u_t) \\) will be regarded as a negative pair. We follow the InfoNCE loss (Oord et al., 2018) to achieve these goals, which can be formulated as:"
|
| 593 |
+
},
|
| 594 |
+
{
|
| 595 |
+
"type": "equation",
|
| 596 |
+
"bbox": [
|
| 597 |
+
0.132,
|
| 598 |
+
0.707,
|
| 599 |
+
0.488,
|
| 600 |
+
0.745
|
| 601 |
+
],
|
| 602 |
+
"angle": 0,
|
| 603 |
+
"content": "\\[\n\\mathcal {L} ^ {(t u n e)} = - \\sum_ {i} \\log \\frac {e x p (d (u _ {t} , r _ {k}) / \\tau)}{\\sum_ {j} e x p (d (u _ {t} , r _ {i}) / \\tau)}, \\tag {8}\n\\]"
|
| 604 |
+
},
|
| 605 |
+
{
|
| 606 |
+
"type": "text",
|
| 607 |
+
"bbox": [
|
| 608 |
+
0.113,
|
| 609 |
+
0.757,
|
| 610 |
+
0.489,
|
| 611 |
+
0.79
|
| 612 |
+
],
|
| 613 |
+
"angle": 0,
|
| 614 |
+
"content": "where \\(i\\in \\{1,\\dots ,K\\}\\) \\(\\tau\\) is a temperature hyperparameter, and \\(d(\\cdot)\\) is Euclidean distance."
|
| 615 |
+
},
|
| 616 |
+
{
|
| 617 |
+
"type": "text",
|
| 618 |
+
"bbox": [
|
| 619 |
+
0.516,
|
| 620 |
+
0.088,
|
| 621 |
+
0.84,
|
| 622 |
+
0.135
|
| 623 |
+
],
|
| 624 |
+
"angle": 0,
|
| 625 |
+
"content": "Algorithm 1: Sentiment analysis with word sense disambiguation using a dynamic rewarding mechanism."
|
| 626 |
+
},
|
| 627 |
+
{
|
| 628 |
+
"type": "algorithm",
|
| 629 |
+
"bbox": [
|
| 630 |
+
0.512,
|
| 631 |
+
0.139,
|
| 632 |
+
0.853,
|
| 633 |
+
0.73
|
| 634 |
+
],
|
| 635 |
+
"angle": 0,
|
| 636 |
+
"content": "1 Initialize sentiment analysis model as \\(\\Phi\\) , pre-trained \n2 lexical substitution model as \\(\\Psi\\) . \n3 Initialize hyperparameters \\(\\beta\\) \\(I,J,N\\) \nwhile not done do \n4 Sample a sentence \\(w = w_{1},w_{2},\\ldots ,w_{L}\\) . \nfor \\(l = 1:L\\) do \n6 Compute the attention weight \\(a_{l}\\) of token \n\\(w_{l}\\) . \n7 end \n8 \\(w^{att}\\gets\\) Top I of \\(w\\) ordered by attention weights \n\\(a = a_1,a_2,\\dots ,a_L\\) . \nfor \\(i = 1:I\\) do \n10 \\(c\\gets\\) all possible candidates with the same \npart-of-speech type as \\(w_{i}^{att}\\) , provided by \nWordNet; \n11 Compute the average Eulidean distance \\(d_{i}\\) \nbetween the hidden states of \\(w_{i}^{att}\\) and \\(c\\) produced by the encoder in \\(\\Phi\\) . \nend \n13 \\(t = (t_1,t_2,\\dots ,t_J)\\gets\\) Top J of \\(w^{att}\\) ordered \nby \\(d = d_{1},d_{2},\\ldots ,d_{I}\\) \n\\(w^{f}\\gets w\\) . \nfor \\(j = 1:J\\) do \n16 Input w into \\(\\Psi\\) to produce top N candidates \n\\(\\hat{c}_j = (\\hat{c}_{j,1},\\dots ,\\hat{c}_{j,N})\\) for target word \\(t_j\\) ordered by probability; \n17 Replace \\(t_j\\) in \\(w^f\\) with \\(\\hat{c}_{j,1}\\) \ns \\(\\leftarrow (< s > ,w_{1},\\dots ,t_{i},\\dots ,w_{L}, < / s > ,\\right.\\) \n\\(\\hat{c}_{j,1}, < / s > ,\\dots ,\\hat{c}_{j,N}, < / s > )\\) . \nfor \\(n = 1:N\\) do \n21 \\(w^{j,n}\\gets\\) Replace \\(t_j\\) in \\(w\\) with \\(\\hat{c}_{j,n}\\) . \n22 Input \\(w^{j,n}\\) into \\(\\Phi\\) to obtain the probability of correct sentiment prediction \\(P(\\hat{y} = \\tilde{y})_{j,n}\\) .. \n23 \\(\\theta_{j,n}\\gets \\beta P(\\hat{y} = \\tilde{y})_{j,n}^2\\) . \n24 Compute \\(\\mathcal{L}_{j,n}^{(ls)}\\) by feeding s with \\(\\hat{c}_n\\) labeled as true substitute into \\(\\Psi\\) .. \n25 \\(\\mathcal{L}_{j,n}^{(ls)}\\gets \\theta_{j,n}\\mathcal{L}_{j,n}^{(ls)};\\) \nend \nend \n28 \\(\\mathcal{L}^{(ls)}\\gets \\mathcal{L}_{1,1}^{(ls)} + \\dots +\\mathcal{L}_{1,N}^{(ls)} + \\mathcal{L}_{J,1}^{(ls)} + \\dots +\\mathcal{L}_{J,N}^{(ls)}\\) . \n29 Compute sentiment analysis loss \\(\\mathcal{L}^{(sa)}\\) using \\(w^{f}\\) as input; \n30 \\(L\\gets \\mathcal{L}^{(sa)} + \\mathcal{L}^{(ls)}\\) ."
|
| 637 |
+
},
|
| 638 |
+
{
|
| 639 |
+
"type": "text",
|
| 640 |
+
"bbox": [
|
| 641 |
+
0.508,
|
| 642 |
+
0.762,
|
| 643 |
+
0.885,
|
| 644 |
+
0.824
|
| 645 |
+
],
|
| 646 |
+
"angle": 0,
|
| 647 |
+
"content": "During the inference stage, we choose the candidate \\(\\hat{c}\\) whose corresponding hidden state \\(r_k\\) is the most similar to \\(u_t\\), measured by Euclidean distance:"
|
| 648 |
+
},
|
| 649 |
+
{
|
| 650 |
+
"type": "equation",
|
| 651 |
+
"bbox": [
|
| 652 |
+
0.607,
|
| 653 |
+
0.828,
|
| 654 |
+
0.883,
|
| 655 |
+
0.845
|
| 656 |
+
],
|
| 657 |
+
"angle": 0,
|
| 658 |
+
"content": "\\[\n\\hat {c} = \\arg \\min \\left(d \\left(u _ {t}, r _ {k}\\right)\\right) \\tag {9}\n\\]"
|
| 659 |
+
},
|
| 660 |
+
{
|
| 661 |
+
"type": "text",
|
| 662 |
+
"bbox": [
|
| 663 |
+
0.508,
|
| 664 |
+
0.855,
|
| 665 |
+
0.884,
|
| 666 |
+
0.919
|
| 667 |
+
],
|
| 668 |
+
"angle": 0,
|
| 669 |
+
"content": "We then use the resulting lexical substitution model to find replacements for the selected target words in sentiment analysis input. To determine which words are selected as disambiguation tar"
|
| 670 |
+
},
|
| 671 |
+
{
|
| 672 |
+
"type": "page_footnote",
|
| 673 |
+
"bbox": [
|
| 674 |
+
0.113,
|
| 675 |
+
0.81,
|
| 676 |
+
0.489,
|
| 677 |
+
0.919
|
| 678 |
+
],
|
| 679 |
+
"angle": 0,
|
| 680 |
+
"content": "<sup>1</sup>ALM employed a novel pre-training paradigm, termed Anomalous Language Modeling. ALM was pre-trained to detect anomalous substituted words from a sequence and retrieve the original words from a set of candidates that contains a positive sample (an original word) and multiple hard negative samples (the synonyms of the original word) via contrastive learning. Thus, it is more suitable for fine-tuning a lexical substitution model in our task, because we also aim to detect appropriate substitution words from a set of candidates."
|
| 681 |
+
},
|
| 682 |
+
{
|
| 683 |
+
"type": "page_number",
|
| 684 |
+
"bbox": [
|
| 685 |
+
0.481,
|
| 686 |
+
0.928,
|
| 687 |
+
0.522,
|
| 688 |
+
0.941
|
| 689 |
+
],
|
| 690 |
+
"angle": 0,
|
| 691 |
+
"content": "8776"
|
| 692 |
+
}
|
| 693 |
+
],
|
| 694 |
+
[
|
| 695 |
+
{
|
| 696 |
+
"type": "text",
|
| 697 |
+
"bbox": [
|
| 698 |
+
0.113,
|
| 699 |
+
0.085,
|
| 700 |
+
0.49,
|
| 701 |
+
0.358
|
| 702 |
+
],
|
| 703 |
+
"angle": 0,
|
| 704 |
+
"content": "gets, we select the top \\(I\\) words in the input with the highest \\(a\\) produced by Equation 3, forming the set \\(w^{att}\\). We denote their corresponding representations as \\(V^{att} = \\{v_{1}^{att},\\dots ,v_{I}^{att}\\}\\). For each \\(v_{i}^{att}\\), we compute its average Euclidean distance to all of its candidates' hidden states. The candidates consist of WordNet synonyms of all of its possible senses under the same part-of-speech type, which are transformed into hidden states \\(G = \\{g_{1},\\ldots ,g_{M}\\}\\) using Equation 2. \\(M\\) represents the number of candidates provided by WordNet. The top \\(J\\) words in \\(w^{att}\\) with the largest corresponding average distance are considered to be the ones with the most diverse word meanings, and thus are more likely to require disambiguation. We will demonstrate the success of such an ambiguous word selection method in the later ablation study (see Section 6.1)."
|
| 705 |
+
},
|
| 706 |
+
{
|
| 707 |
+
"type": "text",
|
| 708 |
+
"bbox": [
|
| 709 |
+
0.114,
|
| 710 |
+
0.359,
|
| 711 |
+
0.49,
|
| 712 |
+
0.394
|
| 713 |
+
],
|
| 714 |
+
"angle": 0,
|
| 715 |
+
"content": "Hence, target words \\( t = (t_1, \\ldots, t_J) \\) are selected by finding each corresponding \\( v_j^{att} \\):"
|
| 716 |
+
},
|
| 717 |
+
{
|
| 718 |
+
"type": "equation",
|
| 719 |
+
"bbox": [
|
| 720 |
+
0.146,
|
| 721 |
+
0.401,
|
| 722 |
+
0.488,
|
| 723 |
+
0.437
|
| 724 |
+
],
|
| 725 |
+
"angle": 0,
|
| 726 |
+
"content": "\\[\nv _ {j} ^ {\\text {a t t}} = \\arg \\max _ {i} \\left(\\frac {1}{M} \\sum_ {M} d \\left(v _ {i} ^ {\\text {a t t}}, g _ {m}\\right)\\right). \\tag {10}\n\\]"
|
| 727 |
+
},
|
| 728 |
+
{
|
| 729 |
+
"type": "text",
|
| 730 |
+
"bbox": [
|
| 731 |
+
0.113,
|
| 732 |
+
0.446,
|
| 733 |
+
0.489,
|
| 734 |
+
0.51
|
| 735 |
+
],
|
| 736 |
+
"angle": 0,
|
| 737 |
+
"content": "Following the lexical substitution benchmarks, only words whose part-of-speech tags fall under the general categories of noun, verb, adjective, and adverb are considered as targets."
|
| 738 |
+
},
|
| 739 |
+
{
|
| 740 |
+
"type": "title",
|
| 741 |
+
"bbox": [
|
| 742 |
+
0.114,
|
| 743 |
+
0.52,
|
| 744 |
+
0.419,
|
| 745 |
+
0.536
|
| 746 |
+
],
|
| 747 |
+
"angle": 0,
|
| 748 |
+
"content": "4.3 Dynamic Rewarding Mechanism"
|
| 749 |
+
},
|
| 750 |
+
{
|
| 751 |
+
"type": "text",
|
| 752 |
+
"bbox": [
|
| 753 |
+
0.113,
|
| 754 |
+
0.541,
|
| 755 |
+
0.489,
|
| 756 |
+
0.686
|
| 757 |
+
],
|
| 758 |
+
"angle": 0,
|
| 759 |
+
"content": "To fine-tune the lexical substitution model on the downstream sentiment analysis task without knowing WSD gold standard truth, for each target word \\( t_j \\), we utilize the top \\( N \\) candidates \\( \\hat{c}_j = \\{\\hat{c}_{j,1},\\dots ,\\hat{c}_{j,n},\\dots ,\\hat{c}_{j,N}\\} \\) produced by the lexical substitution model. The new input resulting from \\( t_j \\) being replaced by candidate \\( \\hat{c}_{j,n} \\) is denoted as \\( w^{j,n} \\). Same with Equation 5, the probability distribution of a sentiment prediction from \\( w^{j,n} \\) is:"
|
| 760 |
+
},
|
| 761 |
+
{
|
| 762 |
+
"type": "equation",
|
| 763 |
+
"bbox": [
|
| 764 |
+
0.149,
|
| 765 |
+
0.695,
|
| 766 |
+
0.488,
|
| 767 |
+
0.714
|
| 768 |
+
],
|
| 769 |
+
"angle": 0,
|
| 770 |
+
"content": "\\[\nP (\\hat {y}) _ {j, n} = \\operatorname {s o f t m a x} \\left(F N N _ {2} \\left(h ^ {j, n}\\right)\\right), \\tag {11}\n\\]"
|
| 771 |
+
},
|
| 772 |
+
{
|
| 773 |
+
"type": "text",
|
| 774 |
+
"bbox": [
|
| 775 |
+
0.113,
|
| 776 |
+
0.722,
|
| 777 |
+
0.486,
|
| 778 |
+
0.754
|
| 779 |
+
],
|
| 780 |
+
"angle": 0,
|
| 781 |
+
"content": "where \\( h^{j,n} \\) is the hidden states of \\( w^{j,n} \\) outputted by Equation 4 in the sentiment analysis model."
|
| 782 |
+
},
|
| 783 |
+
{
|
| 784 |
+
"type": "text",
|
| 785 |
+
"bbox": [
|
| 786 |
+
0.113,
|
| 787 |
+
0.755,
|
| 788 |
+
0.489,
|
| 789 |
+
0.835
|
| 790 |
+
],
|
| 791 |
+
"angle": 0,
|
| 792 |
+
"content": "To adjust the model in such a way that a more accurate sentiment prediction results in a higher reward for the corresponding substitution output, we compute the loss weight for \\(\\hat{c}_{j,n}\\) being the correct substitution prediction as:"
|
| 793 |
+
},
|
| 794 |
+
{
|
| 795 |
+
"type": "equation",
|
| 796 |
+
"bbox": [
|
| 797 |
+
0.217,
|
| 798 |
+
0.844,
|
| 799 |
+
0.488,
|
| 800 |
+
0.864
|
| 801 |
+
],
|
| 802 |
+
"angle": 0,
|
| 803 |
+
"content": "\\[\n\\theta_ {j, n} = \\beta P (\\hat {y} = \\tilde {y}) _ {j, n} ^ {2}, \\tag {12}\n\\]"
|
| 804 |
+
},
|
| 805 |
+
{
|
| 806 |
+
"type": "text",
|
| 807 |
+
"bbox": [
|
| 808 |
+
0.113,
|
| 809 |
+
0.872,
|
| 810 |
+
0.489,
|
| 811 |
+
0.919
|
| 812 |
+
],
|
| 813 |
+
"angle": 0,
|
| 814 |
+
"content": "where \\(\\beta\\) is a hyperparameter for balancing the sentiment analysis and lexical substitution losses, \\(\\tilde{y}\\) is the ground truth sentiment label as defined above."
|
| 815 |
+
},
|
| 816 |
+
{
|
| 817 |
+
"type": "table",
|
| 818 |
+
"bbox": [
|
| 819 |
+
0.546,
|
| 820 |
+
0.081,
|
| 821 |
+
0.848,
|
| 822 |
+
0.183
|
| 823 |
+
],
|
| 824 |
+
"angle": 0,
|
| 825 |
+
"content": "<table><tr><td>Dataset</td><td>Split</td><td># Samples</td></tr><tr><td>SemEval 2007 Task 10</td><td>-</td><td>2,010</td></tr><tr><td>CoinCo</td><td>-</td><td>15,629</td></tr><tr><td></td><td>Train</td><td>8,530</td></tr><tr><td>Rotten Tomatoes</td><td>Dev</td><td>1,066</td></tr><tr><td></td><td>Test</td><td>1,066</td></tr><tr><td>Financial PhraseBank</td><td>-</td><td>4,846</td></tr><tr><td>STS-Gold</td><td>-</td><td>2,026</td></tr></table>"
|
| 826 |
+
},
|
| 827 |
+
{
|
| 828 |
+
"type": "table_caption",
|
| 829 |
+
"bbox": [
|
| 830 |
+
0.56,
|
| 831 |
+
0.192,
|
| 832 |
+
0.831,
|
| 833 |
+
0.206
|
| 834 |
+
],
|
| 835 |
+
"angle": 0,
|
| 836 |
+
"content": "Table 2: Datasets used for experiments."
|
| 837 |
+
},
|
| 838 |
+
{
|
| 839 |
+
"type": "text",
|
| 840 |
+
"bbox": [
|
| 841 |
+
0.508,
|
| 842 |
+
0.231,
|
| 843 |
+
0.884,
|
| 844 |
+
0.316
|
| 845 |
+
],
|
| 846 |
+
"angle": 0,
|
| 847 |
+
"content": "We formulate the input \\( s^j \\) to lexical substitution model with sentence \\( w \\) and candidates \\( \\hat{c}_j \\), using Formula 1. Similar to Equation 8, the loss \\( (\\mathcal{L}_{j,n}^{(ls)}) \\) of the lexical substitution model when \\( \\hat{c}_{j,n} \\) is considered as gold standard is computed as follows:"
|
| 848 |
+
},
|
| 849 |
+
{
|
| 850 |
+
"type": "equation",
|
| 851 |
+
"bbox": [
|
| 852 |
+
0.529,
|
| 853 |
+
0.326,
|
| 854 |
+
0.884,
|
| 855 |
+
0.363
|
| 856 |
+
],
|
| 857 |
+
"angle": 0,
|
| 858 |
+
"content": "\\[\n\\mathcal {L} _ {j, n} ^ {(l s)} = - \\sum_ {i} \\log \\frac {\\exp \\left(d \\left(u _ {t} , \\hat {c} _ {j , n}\\right) / \\tau\\right)}{\\sum_ {j} \\exp \\left(d \\left(u _ {t} , \\hat {c} _ {j}\\right) / \\tau\\right)}. \\tag {13}\n\\]"
|
| 859 |
+
},
|
| 860 |
+
{
|
| 861 |
+
"type": "text",
|
| 862 |
+
"bbox": [
|
| 863 |
+
0.528,
|
| 864 |
+
0.376,
|
| 865 |
+
0.805,
|
| 866 |
+
0.392
|
| 867 |
+
],
|
| 868 |
+
"angle": 0,
|
| 869 |
+
"content": "Finally, the total loss is computed as:"
|
| 870 |
+
},
|
| 871 |
+
{
|
| 872 |
+
"type": "equation",
|
| 873 |
+
"bbox": [
|
| 874 |
+
0.527,
|
| 875 |
+
0.403,
|
| 876 |
+
0.884,
|
| 877 |
+
0.427
|
| 878 |
+
],
|
| 879 |
+
"angle": 0,
|
| 880 |
+
"content": "\\[\n\\mathcal {L} = \\mathcal {L} ^ {(s a)} + \\theta_ {1, 1} \\mathcal {L} _ {1, 1} ^ {(l s)} + \\dots + \\theta_ {J, N} \\mathcal {L} _ {J, N} ^ {(l s)}. \\tag {14}\n\\]"
|
| 881 |
+
},
|
| 882 |
+
{
|
| 883 |
+
"type": "title",
|
| 884 |
+
"bbox": [
|
| 885 |
+
0.509,
|
| 886 |
+
0.438,
|
| 887 |
+
0.656,
|
| 888 |
+
0.455
|
| 889 |
+
],
|
| 890 |
+
"angle": 0,
|
| 891 |
+
"content": "5 Experiments"
|
| 892 |
+
},
|
| 893 |
+
{
|
| 894 |
+
"type": "title",
|
| 895 |
+
"bbox": [
|
| 896 |
+
0.509,
|
| 897 |
+
0.464,
|
| 898 |
+
0.624,
|
| 899 |
+
0.478
|
| 900 |
+
],
|
| 901 |
+
"angle": 0,
|
| 902 |
+
"content": "5.1 Datasets"
|
| 903 |
+
},
|
| 904 |
+
{
|
| 905 |
+
"type": "text",
|
| 906 |
+
"bbox": [
|
| 907 |
+
0.507,
|
| 908 |
+
0.484,
|
| 909 |
+
0.884,
|
| 910 |
+
0.613
|
| 911 |
+
],
|
| 912 |
+
"angle": 0,
|
| 913 |
+
"content": "To fine-tune the pretrained lexical substitution model, we combined SemEval 2007 Task 10 (McCarthy and Navigli, 2007) and CoinCo (Kremer et al., 2014). The former consists of 2,010 example sentences for 201 polysemous words. The latter contains 2,474 sentences with multiple words to be substituted. We used \\(70\\%\\) of the concatenated dataset for training, \\(30\\%\\) for testing."
|
| 914 |
+
},
|
| 915 |
+
{
|
| 916 |
+
"type": "text",
|
| 917 |
+
"bbox": [
|
| 918 |
+
0.508,
|
| 919 |
+
0.614,
|
| 920 |
+
0.885,
|
| 921 |
+
0.838
|
| 922 |
+
],
|
| 923 |
+
"angle": 0,
|
| 924 |
+
"content": "For sentiment analysis, we used three datasets from different domains: Rotten Tomatoes (Pang and Lee, 2005) consists of 5,331 positive and 5,331 negative sentences collected from Rotten Tomatoes movie reviews. Financial PhraseBank (Malo et al., 2014) contains 4,846 sentences from English financial news, each labeled as negative, positive, or neutral. As the dataset has no standard split, We adopted a split of \\(70\\%\\) and \\(30\\%\\) for the training and testing sets. STS-Gold (Saif et al., 2013) contains 2,026 tweets, annotated as negative or positive. As the dataset has no standard split, We adopted a split of \\(90\\%\\) and \\(10\\%\\) for the training and testing sets. Details of the datasets are listed in Table 2."
|
| 925 |
+
},
|
| 926 |
+
{
|
| 927 |
+
"type": "title",
|
| 928 |
+
"bbox": [
|
| 929 |
+
0.509,
|
| 930 |
+
0.85,
|
| 931 |
+
0.63,
|
| 932 |
+
0.865
|
| 933 |
+
],
|
| 934 |
+
"angle": 0,
|
| 935 |
+
"content": "5.2 Baselines"
|
| 936 |
+
},
|
| 937 |
+
{
|
| 938 |
+
"type": "text",
|
| 939 |
+
"bbox": [
|
| 940 |
+
0.508,
|
| 941 |
+
0.872,
|
| 942 |
+
0.884,
|
| 943 |
+
0.919
|
| 944 |
+
],
|
| 945 |
+
"angle": 0,
|
| 946 |
+
"content": "Since we aim to improve a sentiment analysis classifier with explicit WSD in a neurosymbolic fashion, vanilla RoBERTa-large (Liu et al., 2019) is"
|
| 947 |
+
},
|
| 948 |
+
{
|
| 949 |
+
"type": "page_number",
|
| 950 |
+
"bbox": [
|
| 951 |
+
0.481,
|
| 952 |
+
0.928,
|
| 953 |
+
0.521,
|
| 954 |
+
0.941
|
| 955 |
+
],
|
| 956 |
+
"angle": 0,
|
| 957 |
+
"content": "8777"
|
| 958 |
+
}
|
| 959 |
+
],
|
| 960 |
+
[
|
| 961 |
+
{
|
| 962 |
+
"type": "text",
|
| 963 |
+
"bbox": [
|
| 964 |
+
0.113,
|
| 965 |
+
0.085,
|
| 966 |
+
0.493,
|
| 967 |
+
0.295
|
| 968 |
+
],
|
| 969 |
+
"angle": 0,
|
| 970 |
+
"content": "considered as the most direct baseline, because we also used it for sentiment classification. To put our model's performance into perspective, we further include published baselines with the highest reported accuracy on the experiment datasets, which consist of various pre-trained language models finetuned on the target dataset, i.e., FinBERT (Araci, 2019), DeBERTa (He et al., 2020; Sileo, 2023); and ones trained with additional resources, namely, DeBERTa+tarksource (Sileo, 2023) which is pretrained on a unified dataset for 500 English tasks, and SenticNet 7 (Cambria et al., 2022) which is a XLNet enhanced by sentiment knowledge."
|
| 971 |
+
},
|
| 972 |
+
{
|
| 973 |
+
"type": "title",
|
| 974 |
+
"bbox": [
|
| 975 |
+
0.114,
|
| 976 |
+
0.307,
|
| 977 |
+
0.214,
|
| 978 |
+
0.323
|
| 979 |
+
],
|
| 980 |
+
"angle": 0,
|
| 981 |
+
"content": "5.3 Setups"
|
| 982 |
+
},
|
| 983 |
+
{
|
| 984 |
+
"type": "text",
|
| 985 |
+
"bbox": [
|
| 986 |
+
0.113,
|
| 987 |
+
0.33,
|
| 988 |
+
0.49,
|
| 989 |
+
0.458
|
| 990 |
+
],
|
| 991 |
+
"angle": 0,
|
| 992 |
+
"content": "To obtain the lexical substitution model, we fine-tune ALM with the lexical substitution datasets for 20 epochs with a batch size of 20 and a learning rate of 1e-8. The pre-trained model we used as the encoder for sentiment analysis is RoBERTa-large. The hidden size for both models is set to 1024. We use the NLTK part-of-speech tagger (Bird, 2006) to label the sentiment analysis input."
|
| 993 |
+
},
|
| 994 |
+
{
|
| 995 |
+
"type": "text",
|
| 996 |
+
"bbox": [
|
| 997 |
+
0.113,
|
| 998 |
+
0.459,
|
| 999 |
+
0.49,
|
| 1000 |
+
0.603
|
| 1001 |
+
],
|
| 1002 |
+
"angle": 0,
|
| 1003 |
+
"content": "To train our proposed framework, we adopt \\( I = 5 \\), \\( J = 2 \\), \\( K = 15 \\), \\( N = 3 \\), \\( \\tau = 0.05 \\) and \\( \\beta = 0.0001 \\). We set the learning rate to 1-e6. The models are trained for 50 epochs with a batch size of 10, using early stopping. We used Adam (Kingma and Ba, 2014) as the optimizer. Experiments are run on RTX A6000 GPU. Following the setups in the baselines, we adopt accuracy as an evaluation metric."
|
| 1004 |
+
},
|
| 1005 |
+
{
|
| 1006 |
+
"type": "title",
|
| 1007 |
+
"bbox": [
|
| 1008 |
+
0.114,
|
| 1009 |
+
0.618,
|
| 1010 |
+
0.214,
|
| 1011 |
+
0.634
|
| 1012 |
+
],
|
| 1013 |
+
"angle": 0,
|
| 1014 |
+
"content": "6 Results"
|
| 1015 |
+
},
|
| 1016 |
+
{
|
| 1017 |
+
"type": "text",
|
| 1018 |
+
"bbox": [
|
| 1019 |
+
0.113,
|
| 1020 |
+
0.645,
|
| 1021 |
+
0.49,
|
| 1022 |
+
0.902
|
| 1023 |
+
],
|
| 1024 |
+
"angle": 0,
|
| 1025 |
+
"content": "We compare our model with the baselines in Table 3. Our model outperforms existing models with the best-published results, achieving state-of-the-art performance on the three datasets. Compared to the RoBERTa baseline, our model is able to improve the accuracy of sentiment analysis on corpora from different domains to varying extent. We hypothesize that the extent of improvement is dependent on domain types. For instance, Twitter language is informal and brief, with frequent use of short homographs. Thus, the integrated disambiguation model is able to obtain the most significant increase of \\(1.91\\%\\) accuracy on STS-Gold. In the financial domain, metaphors and less common word senses are commonly used, accounting for our \\(1.23\\%\\) gain on Financial PhraseBank."
|
| 1026 |
+
},
|
| 1027 |
+
{
|
| 1028 |
+
"type": "text",
|
| 1029 |
+
"bbox": [
|
| 1030 |
+
0.132,
|
| 1031 |
+
0.904,
|
| 1032 |
+
0.486,
|
| 1033 |
+
0.919
|
| 1034 |
+
],
|
| 1035 |
+
"angle": 0,
|
| 1036 |
+
"content": "Movie reviews, on the other hand, often use"
|
| 1037 |
+
},
|
| 1038 |
+
{
|
| 1039 |
+
"type": "table",
|
| 1040 |
+
"bbox": [
|
| 1041 |
+
0.518,
|
| 1042 |
+
0.081,
|
| 1043 |
+
0.878,
|
| 1044 |
+
0.171
|
| 1045 |
+
],
|
| 1046 |
+
"angle": 0,
|
| 1047 |
+
"content": "<table><tr><td>Model</td><td>RT</td><td>FPB</td><td>STS-Gold</td><td>Avg</td></tr><tr><td>DeBERTa</td><td>90.42</td><td>84.48</td><td>-</td><td>87.45</td></tr><tr><td>+tasksource</td><td>90.99</td><td>85.20</td><td>-</td><td>88.10</td></tr><tr><td>FinBERT</td><td>-</td><td>86.00</td><td>-</td><td>-</td></tr><tr><td>SenticNet 7</td><td>-</td><td>-</td><td>90.08</td><td>-</td></tr><tr><td>RoBERTa</td><td>91.31</td><td>87.09</td><td>97.14</td><td>91.85</td></tr><tr><td>Ours</td><td>91.87*</td><td>88.32*</td><td>99.05*</td><td>93.08</td></tr></table>"
|
| 1048 |
+
},
|
| 1049 |
+
{
|
| 1050 |
+
"type": "table_caption",
|
| 1051 |
+
"bbox": [
|
| 1052 |
+
0.508,
|
| 1053 |
+
0.179,
|
| 1054 |
+
0.886,
|
| 1055 |
+
0.28
|
| 1056 |
+
],
|
| 1057 |
+
"angle": 0,
|
| 1058 |
+
"content": "Table 3: Comparisons with baselines. RT stands for Rotten Tomatoes. FPB stands for Financial PhraseBank. Bold font denotes the best results. The RoBERTa baseline was implemented by us. * denotes the improvement is statistically significant (\\( p < 0.01 \\) on a two-tailed t-test), against the highest baseline score. Our results are averaged over 5 runs."
|
| 1059 |
+
},
|
| 1060 |
+
{
|
| 1061 |
+
"type": "text",
|
| 1062 |
+
"bbox": [
|
| 1063 |
+
0.508,
|
| 1064 |
+
0.306,
|
| 1065 |
+
0.887,
|
| 1066 |
+
0.563
|
| 1067 |
+
],
|
| 1068 |
+
"angle": 0,
|
| 1069 |
+
"content": "standard expressions that are semantically clearer. Hence, our model obtains a marginal increase of \\(0.56\\%\\) on Rotten Tomatoes. Despite the improvement being marginal on average, i.e., \\(1.23\\%\\), we would like to highlight that this improvement is significant considering the context of error propagation from the lexical substitution model. Our framework consistently demonstrates improvements across all datasets, substantiating its ability to achieve higher gains in accuracy while minimizing any potential loss. Furthermore, we can interpret the WSD outcomes and the sentiment analysis decision-making process before and after lexical substitutions from the proposed neurosymbolic framework. We will demonstrate the interpretability of the framework in Section 6.2."
|
| 1070 |
+
},
|
| 1071 |
+
{
|
| 1072 |
+
"type": "title",
|
| 1073 |
+
"bbox": [
|
| 1074 |
+
0.509,
|
| 1075 |
+
0.592,
|
| 1076 |
+
0.674,
|
| 1077 |
+
0.608
|
| 1078 |
+
],
|
| 1079 |
+
"angle": 0,
|
| 1080 |
+
"content": "6.1 Ablation Study"
|
| 1081 |
+
},
|
| 1082 |
+
{
|
| 1083 |
+
"type": "text",
|
| 1084 |
+
"bbox": [
|
| 1085 |
+
0.508,
|
| 1086 |
+
0.613,
|
| 1087 |
+
0.885,
|
| 1088 |
+
0.901
|
| 1089 |
+
],
|
| 1090 |
+
"angle": 0,
|
| 1091 |
+
"content": "To prove the effectiveness of each component in our proposed framework, we compare with two variations: w/o WSD, where sentiment prediction is done by the sentiment analysis model without any modifications to the input; w/o DR, where the lexical substitution model is not fine-tuned during sentiment analysis training. To prove our hypothesis in WSD target word selection, we compare the proposed framework with two variations: Top-2, where the top 2 words in the input with the highest attention weights are automatically chosen as target words to be disambiguated; Rand, where 2 out of the most attended 5 words are randomly selected to be the target words. The comparison of performance is shown in Table 4. It can be observed that our full model outperforms w/o WSD by \\(0.28\\%\\) on Rotten Tomatoes, \\(1.03\\%\\) on Financial PhraseBank, and \\(1.43\\%\\) on STS-Gold."
|
| 1092 |
+
},
|
| 1093 |
+
{
|
| 1094 |
+
"type": "text",
|
| 1095 |
+
"bbox": [
|
| 1096 |
+
0.527,
|
| 1097 |
+
0.904,
|
| 1098 |
+
0.882,
|
| 1099 |
+
0.919
|
| 1100 |
+
],
|
| 1101 |
+
"angle": 0,
|
| 1102 |
+
"content": "The extent of gains in different domains is in"
|
| 1103 |
+
},
|
| 1104 |
+
{
|
| 1105 |
+
"type": "page_number",
|
| 1106 |
+
"bbox": [
|
| 1107 |
+
0.481,
|
| 1108 |
+
0.928,
|
| 1109 |
+
0.521,
|
| 1110 |
+
0.941
|
| 1111 |
+
],
|
| 1112 |
+
"angle": 0,
|
| 1113 |
+
"content": "8778"
|
| 1114 |
+
}
|
| 1115 |
+
],
|
| 1116 |
+
[
|
| 1117 |
+
{
|
| 1118 |
+
"type": "table",
|
| 1119 |
+
"bbox": [
|
| 1120 |
+
0.137,
|
| 1121 |
+
0.081,
|
| 1122 |
+
0.468,
|
| 1123 |
+
0.158
|
| 1124 |
+
],
|
| 1125 |
+
"angle": 0,
|
| 1126 |
+
"content": "<table><tr><td>Model</td><td>RT</td><td>FPB</td><td>STS-Gold</td><td>Avg</td></tr><tr><td>w/o WSD</td><td>91.59</td><td>87.29</td><td>97.62</td><td>92.17</td></tr><tr><td>w/o DR</td><td>91.40</td><td>87.27</td><td>96.67</td><td>91.78</td></tr><tr><td>Top-2</td><td>91.60</td><td>87.81</td><td>97.62</td><td>92.34</td></tr><tr><td>Rand</td><td>89.72</td><td>86.30</td><td>97.14</td><td>91.05</td></tr><tr><td>Ours</td><td>91.87</td><td>88.32</td><td>99.05</td><td>93.08</td></tr></table>"
|
| 1127 |
+
},
|
| 1128 |
+
{
|
| 1129 |
+
"type": "table_caption",
|
| 1130 |
+
"bbox": [
|
| 1131 |
+
0.192,
|
| 1132 |
+
0.168,
|
| 1133 |
+
0.409,
|
| 1134 |
+
0.182
|
| 1135 |
+
],
|
| 1136 |
+
"angle": 0,
|
| 1137 |
+
"content": "Table 4: Ablation study results."
|
| 1138 |
+
},
|
| 1139 |
+
{
|
| 1140 |
+
"type": "text",
|
| 1141 |
+
"bbox": [
|
| 1142 |
+
0.113,
|
| 1143 |
+
0.208,
|
| 1144 |
+
0.49,
|
| 1145 |
+
0.432
|
| 1146 |
+
],
|
| 1147 |
+
"angle": 0,
|
| 1148 |
+
"content": "line with our hypothesis in the previous section. It shows that our disambiguation framework is indeed able to improve the accuracy of sentiment analysis by selecting the appropriate ambiguous words and paraphrasing them into semantically clearer ones. Our model also achieves higher accuracy than w/o DR on all three datasets, proving the validity and effectiveness of our dynamic rewarding mechanism. Noticeably, without dynamic rewarding and joint fine-tuning, the performance of w/o DR is weaker than w/o WSD, showing that dynamic rewarding-based fine-tuning with data from another task can effectively alleviate error propagation from lexical substitution."
|
| 1149 |
+
},
|
| 1150 |
+
{
|
| 1151 |
+
"type": "text",
|
| 1152 |
+
"bbox": [
|
| 1153 |
+
0.113,
|
| 1154 |
+
0.434,
|
| 1155 |
+
0.49,
|
| 1156 |
+
0.611
|
| 1157 |
+
],
|
| 1158 |
+
"angle": 0,
|
| 1159 |
+
"content": "Our proposed framework outperforms the Top-2 selection method on all datasets. It proves our assumption that words that are highly diverse in their senses are more likely to cause ambiguity for sentiment prediction. Rand performs the worst on all three datasets compared to w/o WSD, Top-2, and our model, indicating i) the necessity of selecting the appropriate target words to disambiguate so as not to introduce noise, and ii) the validity of choosing target words based on both their importance to the decision and their sense diversity level."
|
| 1160 |
+
},
|
| 1161 |
+
{
|
| 1162 |
+
"type": "title",
|
| 1163 |
+
"bbox": [
|
| 1164 |
+
0.114,
|
| 1165 |
+
0.624,
|
| 1166 |
+
0.406,
|
| 1167 |
+
0.64
|
| 1168 |
+
],
|
| 1169 |
+
"angle": 0,
|
| 1170 |
+
"content": "6.2 Interpretability Demonstration"
|
| 1171 |
+
},
|
| 1172 |
+
{
|
| 1173 |
+
"type": "text",
|
| 1174 |
+
"bbox": [
|
| 1175 |
+
0.113,
|
| 1176 |
+
0.645,
|
| 1177 |
+
0.489,
|
| 1178 |
+
0.724
|
| 1179 |
+
],
|
| 1180 |
+
"angle": 0,
|
| 1181 |
+
"content": "Since an interpretable encoder (HAN) is used in our framework to learn sequential representations, we can understand which words contribute the most to a sentiment analysis prediction by visualizing the attention weights of HAN."
|
| 1182 |
+
},
|
| 1183 |
+
{
|
| 1184 |
+
"type": "text",
|
| 1185 |
+
"bbox": [
|
| 1186 |
+
0.113,
|
| 1187 |
+
0.726,
|
| 1188 |
+
0.49,
|
| 1189 |
+
0.902
|
| 1190 |
+
],
|
| 1191 |
+
"angle": 0,
|
| 1192 |
+
"content": "As shown in Figure 2, we conduct a study on the change of attention weights before and after paraphrasing. In Figure 2 (a), the words that receive the most attention in the original sentence are not, \\( a \\), sore, etc., among which not has significantly higher weight. This indicates that the model is mostly relying on negation to make inference. As not does not have diverse meaning and \\( a \\) is an article, sore is selected as target word and replaced with painful. Our attention module assigns a much higher weight to the negative adjective after paraphrasing."
|
| 1193 |
+
},
|
| 1194 |
+
{
|
| 1195 |
+
"type": "text",
|
| 1196 |
+
"bbox": [
|
| 1197 |
+
0.132,
|
| 1198 |
+
0.904,
|
| 1199 |
+
0.488,
|
| 1200 |
+
0.919
|
| 1201 |
+
],
|
| 1202 |
+
"angle": 0,
|
| 1203 |
+
"content": "This shows that our model is able to find suitable"
|
| 1204 |
+
},
|
| 1205 |
+
{
|
| 1206 |
+
"type": "image",
|
| 1207 |
+
"bbox": [
|
| 1208 |
+
0.518,
|
| 1209 |
+
0.085,
|
| 1210 |
+
0.883,
|
| 1211 |
+
0.263
|
| 1212 |
+
],
|
| 1213 |
+
"angle": 0,
|
| 1214 |
+
"content": null
|
| 1215 |
+
},
|
| 1216 |
+
{
|
| 1217 |
+
"type": "image_caption",
|
| 1218 |
+
"bbox": [
|
| 1219 |
+
0.509,
|
| 1220 |
+
0.277,
|
| 1221 |
+
0.886,
|
| 1222 |
+
0.321
|
| 1223 |
+
],
|
| 1224 |
+
"angle": 0,
|
| 1225 |
+
"content": "Figure 2: The most attended word demonstration before and after paraphrasing in sentiment analysis predictions. The lighter the color, the higher the attention weight."
|
| 1226 |
+
},
|
| 1227 |
+
{
|
| 1228 |
+
"type": "text",
|
| 1229 |
+
"bbox": [
|
| 1230 |
+
0.507,
|
| 1231 |
+
0.353,
|
| 1232 |
+
0.886,
|
| 1233 |
+
0.594
|
| 1234 |
+
],
|
| 1235 |
+
"angle": 0,
|
| 1236 |
+
"content": "word substitutions that aid the correct sentiment predictions. From Figure 2 (b), we can observe a rather evenly distributed attention weights in the original sentence, meaning that the attention module cannot identify the words that significantly affect sentiment. After our framework replaces the word decreased to fell, the model is able to assign higher weights to the sentiment-loaded phrase profit fell. From Figure 2 (c), we can see that after replacing the word mediocre with average, the sentiment related words including the paraphrased word and unaware all received higher attention. By attending to the straightforward paraphrases expressing opinions, the sentiment analysis model can yield correct predictions for all three cases."
|
| 1237 |
+
},
|
| 1238 |
+
{
|
| 1239 |
+
"type": "title",
|
| 1240 |
+
"bbox": [
|
| 1241 |
+
0.509,
|
| 1242 |
+
0.618,
|
| 1243 |
+
0.645,
|
| 1244 |
+
0.634
|
| 1245 |
+
],
|
| 1246 |
+
"angle": 0,
|
| 1247 |
+
"content": "6.3 Case Study"
|
| 1248 |
+
},
|
| 1249 |
+
{
|
| 1250 |
+
"type": "text",
|
| 1251 |
+
"bbox": [
|
| 1252 |
+
0.507,
|
| 1253 |
+
0.646,
|
| 1254 |
+
0.885,
|
| 1255 |
+
0.919
|
| 1256 |
+
],
|
| 1257 |
+
"angle": 0,
|
| 1258 |
+
"content": "In Table 5, we study the ability of our framework to identify and paraphrase ambiguous words into unequivocal ones. In the first instance, albeit not affecting the prediction, the word delicious is disambiguated by our framework into its figurative meaning delighted instead of its literal one. In the second instance, the word succeeds has a more positive word sense equating to win, and a more neutral one equating to follow. Our framework is able to paraphrase it into the latter. In the last instance, the word visibility falls under the word sense of degree of exposure to public notice in this context. Our framework correctly paraphrases it into profile, which is the synonym under the same sense in WordNet. It can be concluded that our framework can disambiguate word senses in a transparent and interpretable way for sentiment analysis."
|
| 1259 |
+
},
|
| 1260 |
+
{
|
| 1261 |
+
"type": "page_number",
|
| 1262 |
+
"bbox": [
|
| 1263 |
+
0.481,
|
| 1264 |
+
0.928,
|
| 1265 |
+
0.521,
|
| 1266 |
+
0.941
|
| 1267 |
+
],
|
| 1268 |
+
"angle": 0,
|
| 1269 |
+
"content": "8779"
|
| 1270 |
+
}
|
| 1271 |
+
],
|
| 1272 |
+
[
|
| 1273 |
+
{
|
| 1274 |
+
"type": "table",
|
| 1275 |
+
"bbox": [
|
| 1276 |
+
0.125,
|
| 1277 |
+
0.082,
|
| 1278 |
+
0.481,
|
| 1279 |
+
0.299
|
| 1280 |
+
],
|
| 1281 |
+
"angle": 0,
|
| 1282 |
+
"content": "<table><tr><td>Setup</td><td>Content</td></tr><tr><td>Original</td><td>a delicious and delicately funny look at the residents of a copenhagen neighborhood coping with the befuddling complications life tosses at them.</td></tr><tr><td>Paraphrased</td><td>a delighted and delicately funny look at the residents of a copenhagen neighborhood coping with the befuddling complications life tosses at them.</td></tr><tr><td>Original</td><td>Le Lay succeeds Walter G++nter and will be based in Finland.</td></tr><tr><td>Paraphrased</td><td>Le Lay follows Walter G++nter and will be based in Finland.</td></tr><tr><td>Original</td><td>Strong brand visibility nationally and regionally is of primary importance in home sales, vehicle and consumer advertising.</td></tr><tr><td>Paraphrased</td><td>Strong brand profile nationally and regionally is of primary importance in home sales, vehicle and consumer advertising.</td></tr></table>"
|
| 1283 |
+
},
|
| 1284 |
+
{
|
| 1285 |
+
"type": "table_caption",
|
| 1286 |
+
"bbox": [
|
| 1287 |
+
0.115,
|
| 1288 |
+
0.309,
|
| 1289 |
+
0.486,
|
| 1290 |
+
0.325
|
| 1291 |
+
],
|
| 1292 |
+
"angle": 0,
|
| 1293 |
+
"content": "Table 5: Case study of disambiguation as paraphrasing."
|
| 1294 |
+
},
|
| 1295 |
+
{
|
| 1296 |
+
"type": "title",
|
| 1297 |
+
"bbox": [
|
| 1298 |
+
0.114,
|
| 1299 |
+
0.352,
|
| 1300 |
+
0.279,
|
| 1301 |
+
0.368
|
| 1302 |
+
],
|
| 1303 |
+
"angle": 0,
|
| 1304 |
+
"content": "6.4 Error Analysis"
|
| 1305 |
+
},
|
| 1306 |
+
{
|
| 1307 |
+
"type": "text",
|
| 1308 |
+
"bbox": [
|
| 1309 |
+
0.113,
|
| 1310 |
+
0.376,
|
| 1311 |
+
0.49,
|
| 1312 |
+
0.713
|
| 1313 |
+
],
|
| 1314 |
+
"angle": 0,
|
| 1315 |
+
"content": "Finally, we perform a brief error analysis (Table 6). In the first sentence, the model wrongly paraphrases force into power, because it does not recognize the multi-word idiom tour de force. It shows the model's limitation in understanding the semantic meaning of infrequent multi-word idiom. In the second sentence, the word just is wrongly paraphrased as good, which negatively influenced the sentiment prediction. This is mainly due to the part-of-speech tagger wrongly classifying the word just into a adjective, instead of an adverb. Thus, the lexical substitution module might be subjected to error propagation of the part-of-speech tagger and introduce noise into the input. In the last sentence, the word skills is paraphrased as science. It is likely that the model mistakes the word major as a field of study instead of a student studying a field. Thus, the substitution makes sense in the local context the science of calculus major, but not in the whole context, meaning that the model fails to understand the semantic meaning of the sentence."
|
| 1316 |
+
},
|
| 1317 |
+
{
|
| 1318 |
+
"type": "title",
|
| 1319 |
+
"bbox": [
|
| 1320 |
+
0.115,
|
| 1321 |
+
0.73,
|
| 1322 |
+
0.248,
|
| 1323 |
+
0.745
|
| 1324 |
+
],
|
| 1325 |
+
"angle": 0,
|
| 1326 |
+
"content": "7 Conclusion"
|
| 1327 |
+
},
|
| 1328 |
+
{
|
| 1329 |
+
"type": "text",
|
| 1330 |
+
"bbox": [
|
| 1331 |
+
0.113,
|
| 1332 |
+
0.759,
|
| 1333 |
+
0.49,
|
| 1334 |
+
0.919
|
| 1335 |
+
],
|
| 1336 |
+
"angle": 0,
|
| 1337 |
+
"content": "In this work, we propose a neurosymbolic framework for sentiment analysis that incorporates the disambiguation of word senses by identifying and paraphrasing ambiguous words in the input, which is realized by leveraging a pre-trained lexical substitution model. The proposed framework not only improves the accuracy of sentiment analysis, but also achieves interpretability by enabling us to trace back which words are paraphrased and what words they are replaced with."
|
| 1338 |
+
},
|
| 1339 |
+
{
|
| 1340 |
+
"type": "table",
|
| 1341 |
+
"bbox": [
|
| 1342 |
+
0.518,
|
| 1343 |
+
0.082,
|
| 1344 |
+
0.878,
|
| 1345 |
+
0.299
|
| 1346 |
+
],
|
| 1347 |
+
"angle": 0,
|
| 1348 |
+
"content": "<table><tr><td>Setup</td><td>Content</td><td>Label</td></tr><tr><td>Original</td><td>a tour de force of modern cinema.</td><td>Positive</td></tr><tr><td>Paraphrased</td><td>a tour de power of modern cinema.</td><td>Positive</td></tr><tr><td>Original</td><td>Is just at work for the day -sigh- I have a headache</td><td>Negative</td></tr><tr><td>Paraphrased</td><td>Is good at work for the day -sigh- I have a headache</td><td>Positive</td></tr><tr><td>Original</td><td>the skills of a calculus major at m.i.t. are required to balance all the formulaic equations in the long-winded heist comedy who is cletis tout?</td><td>Negative</td></tr><tr><td>Paraphrased</td><td>the science of a calculus major at m.i.t. are required to balance all the formulaic equations in the long-winded heist comedy who is cletis tout?</td><td>Positive</td></tr></table>"
|
| 1349 |
+
},
|
| 1350 |
+
{
|
| 1351 |
+
"type": "table_caption",
|
| 1352 |
+
"bbox": [
|
| 1353 |
+
0.509,
|
| 1354 |
+
0.309,
|
| 1355 |
+
0.883,
|
| 1356 |
+
0.339
|
| 1357 |
+
],
|
| 1358 |
+
"angle": 0,
|
| 1359 |
+
"content": "Table 6: Error analysis. Red indicates errors made by our proposed framework."
|
| 1360 |
+
},
|
| 1361 |
+
{
|
| 1362 |
+
"type": "text",
|
| 1363 |
+
"bbox": [
|
| 1364 |
+
0.508,
|
| 1365 |
+
0.365,
|
| 1366 |
+
0.885,
|
| 1367 |
+
0.527
|
| 1368 |
+
],
|
| 1369 |
+
"angle": 0,
|
| 1370 |
+
"content": "Additionally, to fine-tune the lexical substitution model to provide better disambiguating substitutes for sentiment analysis with no ground-truth word sense labels, we adopt the dynamic rewarding mechanism to jointly train the sentiment analysis and lexical substitution models. Experiments show that our framework is indeed effective in improving the performance of sentiment analysis, obtaining state-of-the-art performance on three corpora from different domains."
|
| 1371 |
+
},
|
| 1372 |
+
{
|
| 1373 |
+
"type": "title",
|
| 1374 |
+
"bbox": [
|
| 1375 |
+
0.51,
|
| 1376 |
+
0.557,
|
| 1377 |
+
0.615,
|
| 1378 |
+
0.571
|
| 1379 |
+
],
|
| 1380 |
+
"angle": 0,
|
| 1381 |
+
"content": "Limitations"
|
| 1382 |
+
},
|
| 1383 |
+
{
|
| 1384 |
+
"type": "text",
|
| 1385 |
+
"bbox": [
|
| 1386 |
+
0.508,
|
| 1387 |
+
0.584,
|
| 1388 |
+
0.884,
|
| 1389 |
+
0.81
|
| 1390 |
+
],
|
| 1391 |
+
"angle": 0,
|
| 1392 |
+
"content": "The framework proposed in this paper have to be seen in light of some limitations. First, the performance of sentiment analysis to some extent depends on a decent-performing pre-trained lexical substitution model. Currently, polysemous samples in lexical substitution data are not as abundant as in WSD data, which might limit its ability in disambiguating less common polysemies. Second, the effectiveness of our proposed model is only tested on English corpora, as it relies on the sense knowledge from WordNet. The disambiguation target selection and paraphrasing methods might work on languages with more complex segmentation or limited sense lexicon."
|
| 1393 |
+
},
|
| 1394 |
+
{
|
| 1395 |
+
"type": "title",
|
| 1396 |
+
"bbox": [
|
| 1397 |
+
0.51,
|
| 1398 |
+
0.854,
|
| 1399 |
+
0.61,
|
| 1400 |
+
0.87
|
| 1401 |
+
],
|
| 1402 |
+
"angle": 0,
|
| 1403 |
+
"content": "References"
|
| 1404 |
+
},
|
| 1405 |
+
{
|
| 1406 |
+
"type": "ref_text",
|
| 1407 |
+
"bbox": [
|
| 1408 |
+
0.51,
|
| 1409 |
+
0.878,
|
| 1410 |
+
0.884,
|
| 1411 |
+
0.918
|
| 1412 |
+
],
|
| 1413 |
+
"angle": 0,
|
| 1414 |
+
"content": "Abien Fred Agarap. 2018. Deep learning using rectified linear units (ReLU). arXiv preprint arXiv:1803.08375."
|
| 1415 |
+
},
|
| 1416 |
+
{
|
| 1417 |
+
"type": "page_number",
|
| 1418 |
+
"bbox": [
|
| 1419 |
+
0.481,
|
| 1420 |
+
0.928,
|
| 1421 |
+
0.521,
|
| 1422 |
+
0.941
|
| 1423 |
+
],
|
| 1424 |
+
"angle": 0,
|
| 1425 |
+
"content": "8780"
|
| 1426 |
+
}
|
| 1427 |
+
],
|
| 1428 |
+
[
|
| 1429 |
+
{
|
| 1430 |
+
"type": "ref_text",
|
| 1431 |
+
"bbox": [
|
| 1432 |
+
0.117,
|
| 1433 |
+
0.086,
|
| 1434 |
+
0.49,
|
| 1435 |
+
0.125
|
| 1436 |
+
],
|
| 1437 |
+
"angle": 0,
|
| 1438 |
+
"content": "Dogu Araci. 2019. FinBERT: Financial sentiment analysis with pre-trained language models. arXiv preprint arXiv:1908.10063."
|
| 1439 |
+
},
|
| 1440 |
+
{
|
| 1441 |
+
"type": "ref_text",
|
| 1442 |
+
"bbox": [
|
| 1443 |
+
0.117,
|
| 1444 |
+
0.138,
|
| 1445 |
+
0.488,
|
| 1446 |
+
0.204
|
| 1447 |
+
],
|
| 1448 |
+
"angle": 0,
|
| 1449 |
+
"content": "Philip Arthur, Graham Neubig, Sakriani Sakti, Tomoki Toda, and Satoshi Nakamura. 2015. Semantic parsing of ambiguous input through paraphrasing and verification. Transactions of the Association for Computational Linguistics, 3:571-584."
|
| 1450 |
+
},
|
| 1451 |
+
{
|
| 1452 |
+
"type": "ref_text",
|
| 1453 |
+
"bbox": [
|
| 1454 |
+
0.117,
|
| 1455 |
+
0.216,
|
| 1456 |
+
0.488,
|
| 1457 |
+
0.294
|
| 1458 |
+
],
|
| 1459 |
+
"angle": 0,
|
| 1460 |
+
"content": "Stefano Baccianella, Andrea Esuli, and Fabrizio Sebastiani. 2010. SentiWordNet 3.0: An enhanced lexical resource for sentiment analysis and opinion mining. In Proceedings of the Seventh International Conference on Language Resources and Evaluation (LREC'10)."
|
| 1461 |
+
},
|
| 1462 |
+
{
|
| 1463 |
+
"type": "ref_text",
|
| 1464 |
+
"bbox": [
|
| 1465 |
+
0.117,
|
| 1466 |
+
0.307,
|
| 1467 |
+
0.488,
|
| 1468 |
+
0.399
|
| 1469 |
+
],
|
| 1470 |
+
"angle": 0,
|
| 1471 |
+
"content": "Edoardo Barba, Tommaso Pasini, and Roberto Navigli. 2021a. ESC: Redesigning WSD with Extractive Sense Comprehension. In Proceedings of the 2021 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pages 4661-4672, Online. Association for Computational Linguistics."
|
| 1472 |
+
},
|
| 1473 |
+
{
|
| 1474 |
+
"type": "ref_text",
|
| 1475 |
+
"bbox": [
|
| 1476 |
+
0.117,
|
| 1477 |
+
0.411,
|
| 1478 |
+
0.488,
|
| 1479 |
+
0.502
|
| 1480 |
+
],
|
| 1481 |
+
"angle": 0,
|
| 1482 |
+
"content": "Edoardo Barba, Luigi Procopio, and Roberto Navigli. 2021b. ConSeC: Word sense disambiguation as continuous sense comprehension. In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing, pages 1492-1503, Online and Punta Cana, Dominican Republic. Association for Computational Linguistics."
|
| 1483 |
+
},
|
| 1484 |
+
{
|
| 1485 |
+
"type": "ref_text",
|
| 1486 |
+
"bbox": [
|
| 1487 |
+
0.117,
|
| 1488 |
+
0.515,
|
| 1489 |
+
0.488,
|
| 1490 |
+
0.594
|
| 1491 |
+
],
|
| 1492 |
+
"angle": 0,
|
| 1493 |
+
"content": "Michele Bevilacqua and Roberto Navigli. 2020. Breaking through the \\(80\\%\\) glass ceiling: Raising the state of the art in word sense disambiguation by incorporating knowledge graph information. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pages 2854-2864."
|
| 1494 |
+
},
|
| 1495 |
+
{
|
| 1496 |
+
"type": "ref_text",
|
| 1497 |
+
"bbox": [
|
| 1498 |
+
0.117,
|
| 1499 |
+
0.606,
|
| 1500 |
+
0.488,
|
| 1501 |
+
0.646
|
| 1502 |
+
],
|
| 1503 |
+
"angle": 0,
|
| 1504 |
+
"content": "Steven Bird. 2006. NLTK: the natural language toolkit. In Proceedings of the COLING/ACL 2006 Interactive Presentation Sessions, pages 69-72."
|
| 1505 |
+
},
|
| 1506 |
+
{
|
| 1507 |
+
"type": "ref_text",
|
| 1508 |
+
"bbox": [
|
| 1509 |
+
0.117,
|
| 1510 |
+
0.658,
|
| 1511 |
+
0.488,
|
| 1512 |
+
0.709
|
| 1513 |
+
],
|
| 1514 |
+
"angle": 0,
|
| 1515 |
+
"content": "Terra Blevins and Luke Zettlemoyer. 2020. Moving down the long tail of word sense disambiguation with gloss-informed biencoders. arXiv preprint arXiv:2005.02590."
|
| 1516 |
+
},
|
| 1517 |
+
{
|
| 1518 |
+
"type": "ref_text",
|
| 1519 |
+
"bbox": [
|
| 1520 |
+
0.117,
|
| 1521 |
+
0.723,
|
| 1522 |
+
0.488,
|
| 1523 |
+
0.802
|
| 1524 |
+
],
|
| 1525 |
+
"angle": 0,
|
| 1526 |
+
"content": "Erik Cambria, Qian Liu, Sergio Decherchi, Frank Xing, and Kenneth Kwok. 2022. SenticNet 7: A commonsense-based neurosymbolic AI framework for explainable sentiment analysis. In Proceedings of the Thirteenth Language Resources and Evaluation Conference, pages 3829-3839."
|
| 1527 |
+
},
|
| 1528 |
+
{
|
| 1529 |
+
"type": "ref_text",
|
| 1530 |
+
"bbox": [
|
| 1531 |
+
0.117,
|
| 1532 |
+
0.814,
|
| 1533 |
+
0.488,
|
| 1534 |
+
0.853
|
| 1535 |
+
],
|
| 1536 |
+
"angle": 0,
|
| 1537 |
+
"content": "Erik Cambria, Rui Mao, Melvin Chen, Zhaoxia Wang, and Seng-Beng Ho. 2023. Seven pillars for the future of AI. IEEE Intelligent Systems, 38(6)."
|
| 1538 |
+
},
|
| 1539 |
+
{
|
| 1540 |
+
"type": "ref_text",
|
| 1541 |
+
"bbox": [
|
| 1542 |
+
0.117,
|
| 1543 |
+
0.866,
|
| 1544 |
+
0.488,
|
| 1545 |
+
0.919
|
| 1546 |
+
],
|
| 1547 |
+
"angle": 0,
|
| 1548 |
+
"content": "Erik Cambria, Soujanya Poria, Federica Bisio, Rajiv Bajpai, and Iti Chaturvedi. 2015. The CLSA model: A novel framework for concept-level sentiment analysis. In LNCS, volume 9042, pages 3-22. Springer."
|
| 1549 |
+
},
|
| 1550 |
+
{
|
| 1551 |
+
"type": "list",
|
| 1552 |
+
"bbox": [
|
| 1553 |
+
0.117,
|
| 1554 |
+
0.086,
|
| 1555 |
+
0.49,
|
| 1556 |
+
0.919
|
| 1557 |
+
],
|
| 1558 |
+
"angle": 0,
|
| 1559 |
+
"content": null
|
| 1560 |
+
},
|
| 1561 |
+
{
|
| 1562 |
+
"type": "ref_text",
|
| 1563 |
+
"bbox": [
|
| 1564 |
+
0.512,
|
| 1565 |
+
0.086,
|
| 1566 |
+
0.882,
|
| 1567 |
+
0.126
|
| 1568 |
+
],
|
| 1569 |
+
"angle": 0,
|
| 1570 |
+
"content": "Erik Cambria, Soujanya Poria, Alexander Gelbukh, and Mike Thelwall. 2017. Sentiment analysis is a big suitcase. IEEE Intelligent Systems, 32(6):74-80."
|
| 1571 |
+
},
|
| 1572 |
+
{
|
| 1573 |
+
"type": "ref_text",
|
| 1574 |
+
"bbox": [
|
| 1575 |
+
0.512,
|
| 1576 |
+
0.139,
|
| 1577 |
+
0.882,
|
| 1578 |
+
0.231
|
| 1579 |
+
],
|
| 1580 |
+
"angle": 0,
|
| 1581 |
+
"content": "Niccolò Campolungo, Tommaso Pasini, Denis Emelin, and Roberto Navigli. 2022. Reducing disambiguation biases in NMT by leveraging explicit word sense information. In Proceedings of the 2022 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pages 4824-4838."
|
| 1582 |
+
},
|
| 1583 |
+
{
|
| 1584 |
+
"type": "ref_text",
|
| 1585 |
+
"bbox": [
|
| 1586 |
+
0.512,
|
| 1587 |
+
0.244,
|
| 1588 |
+
0.882,
|
| 1589 |
+
0.31
|
| 1590 |
+
],
|
| 1591 |
+
"angle": 0,
|
| 1592 |
+
"content": "Yanfang Cao, Pu Zhang, and Anping Xiong. 2015. Sentiment analysis based on expanded aspect and polarity-ambiguous word lexicon. International Journal of Advanced Computer Science and Applications, 6(2)."
|
| 1593 |
+
},
|
| 1594 |
+
{
|
| 1595 |
+
"type": "ref_text",
|
| 1596 |
+
"bbox": [
|
| 1597 |
+
0.512,
|
| 1598 |
+
0.324,
|
| 1599 |
+
0.882,
|
| 1600 |
+
0.39
|
| 1601 |
+
],
|
| 1602 |
+
"angle": 0,
|
| 1603 |
+
"content": "Ann Devitt and Khurshid Ahmad. 2007. Sentiment polarity identification in financial news: A cohesion-based approach. In Proceedings of the 45th Annual Meeting of the Association of Computational Linguistics, pages 984-991."
|
| 1604 |
+
},
|
| 1605 |
+
{
|
| 1606 |
+
"type": "ref_text",
|
| 1607 |
+
"bbox": [
|
| 1608 |
+
0.512,
|
| 1609 |
+
0.403,
|
| 1610 |
+
0.882,
|
| 1611 |
+
0.456
|
| 1612 |
+
],
|
| 1613 |
+
"angle": 0,
|
| 1614 |
+
"content": "Philip Edmonds and Adam Kilgarriff. 2002. Introduction to the special issue on evaluating word sense disambiguation systems. Natural Language Engineering, 8(4):279-291."
|
| 1615 |
+
},
|
| 1616 |
+
{
|
| 1617 |
+
"type": "ref_text",
|
| 1618 |
+
"bbox": [
|
| 1619 |
+
0.512,
|
| 1620 |
+
0.469,
|
| 1621 |
+
0.882,
|
| 1622 |
+
0.56
|
| 1623 |
+
],
|
| 1624 |
+
"angle": 0,
|
| 1625 |
+
"content": "Umar Farooq, Tej Prasad Dhamala, Antoine Nongaillard, Yacine Ouzrout, and Muhammad Abdul Qadir. 2015. A word sense disambiguation method for feature level sentiment analysis. In 2015 9th International Conference on Software, Knowledge, Information Management and Applications (SKIMA), pages 1-8. IEEE."
|
| 1626 |
+
},
|
| 1627 |
+
{
|
| 1628 |
+
"type": "ref_text",
|
| 1629 |
+
"bbox": [
|
| 1630 |
+
0.512,
|
| 1631 |
+
0.574,
|
| 1632 |
+
0.882,
|
| 1633 |
+
0.602
|
| 1634 |
+
],
|
| 1635 |
+
"angle": 0,
|
| 1636 |
+
"content": "Christiane Fellbaum. 1998. WordNet: An electronic lexical database. MIT press."
|
| 1637 |
+
},
|
| 1638 |
+
{
|
| 1639 |
+
"type": "ref_text",
|
| 1640 |
+
"bbox": [
|
| 1641 |
+
0.512,
|
| 1642 |
+
0.615,
|
| 1643 |
+
0.882,
|
| 1644 |
+
0.679
|
| 1645 |
+
],
|
| 1646 |
+
"angle": 0,
|
| 1647 |
+
"content": "Mengshi Ge, Rui Mao, and Erik Cambria. 2022. Explanable metaphor identification inspired by conceptual metaphor theory. Proceedings of the AAAI Conference on Artificial Intelligence, 36(10):10681-10689."
|
| 1648 |
+
},
|
| 1649 |
+
{
|
| 1650 |
+
"type": "ref_text",
|
| 1651 |
+
"bbox": [
|
| 1652 |
+
0.512,
|
| 1653 |
+
0.694,
|
| 1654 |
+
0.882,
|
| 1655 |
+
0.773
|
| 1656 |
+
],
|
| 1657 |
+
"angle": 0,
|
| 1658 |
+
"content": "Sooji Han, Rui Mao, and Erik Cambria. 2022. Hierarchical attention network for explainable depression detection on Twitter aided by metaphor concept mappings. In Proceedings of the 29th International Conference on Computational Linguistics (COLING), pages 94-104."
|
| 1659 |
+
},
|
| 1660 |
+
{
|
| 1661 |
+
"type": "ref_text",
|
| 1662 |
+
"bbox": [
|
| 1663 |
+
0.512,
|
| 1664 |
+
0.786,
|
| 1665 |
+
0.882,
|
| 1666 |
+
0.853
|
| 1667 |
+
],
|
| 1668 |
+
"angle": 0,
|
| 1669 |
+
"content": "Viktor Hangya, Qianchu Liu, Dario Stojanovski, Alexander Fraser, and Anna Korhonen. 2021. Improving machine translation of rare and unseen word senses. In Proceedings of the Sixth Conference on Machine Translation, pages 614-624."
|
| 1670 |
+
},
|
| 1671 |
+
{
|
| 1672 |
+
"type": "ref_text",
|
| 1673 |
+
"bbox": [
|
| 1674 |
+
0.512,
|
| 1675 |
+
0.866,
|
| 1676 |
+
0.882,
|
| 1677 |
+
0.918
|
| 1678 |
+
],
|
| 1679 |
+
"angle": 0,
|
| 1680 |
+
"content": "Pengcheng He, Xiaodong Liu, Jianfeng Gao, and Weizhu Chen. 2020. DeBERTa: Decoding-enhanced BERT with disentangled attention. arXiv preprint arXiv:2006.03654."
|
| 1681 |
+
},
|
| 1682 |
+
{
|
| 1683 |
+
"type": "list",
|
| 1684 |
+
"bbox": [
|
| 1685 |
+
0.512,
|
| 1686 |
+
0.086,
|
| 1687 |
+
0.882,
|
| 1688 |
+
0.918
|
| 1689 |
+
],
|
| 1690 |
+
"angle": 0,
|
| 1691 |
+
"content": null
|
| 1692 |
+
},
|
| 1693 |
+
{
|
| 1694 |
+
"type": "page_number",
|
| 1695 |
+
"bbox": [
|
| 1696 |
+
0.481,
|
| 1697 |
+
0.929,
|
| 1698 |
+
0.519,
|
| 1699 |
+
0.941
|
| 1700 |
+
],
|
| 1701 |
+
"angle": 0,
|
| 1702 |
+
"content": "8781"
|
| 1703 |
+
}
|
| 1704 |
+
],
|
| 1705 |
+
[
|
| 1706 |
+
{
|
| 1707 |
+
"type": "ref_text",
|
| 1708 |
+
"bbox": [
|
| 1709 |
+
0.117,
|
| 1710 |
+
0.086,
|
| 1711 |
+
0.487,
|
| 1712 |
+
0.138
|
| 1713 |
+
],
|
| 1714 |
+
"angle": 0,
|
| 1715 |
+
"content": "Luyao Huang, Chi Sun, Xipeng Qiu, and Xuanjing Huang. 2019. GlossBERT: BERT for word sense disambiguation with gloss knowledge. arXiv preprint arXiv:1908.07245."
|
| 1716 |
+
},
|
| 1717 |
+
{
|
| 1718 |
+
"type": "ref_text",
|
| 1719 |
+
"bbox": [
|
| 1720 |
+
0.117,
|
| 1721 |
+
0.15,
|
| 1722 |
+
0.487,
|
| 1723 |
+
0.202
|
| 1724 |
+
],
|
| 1725 |
+
"angle": 0,
|
| 1726 |
+
"content": "Chihli Hung and Shiuman-Jeng Chen. 2016. Word sense disambiguation based sentiment lexicons for sentiment classification. Knowledge-Based Systems, 110:224-232."
|
| 1727 |
+
},
|
| 1728 |
+
{
|
| 1729 |
+
"type": "ref_text",
|
| 1730 |
+
"bbox": [
|
| 1731 |
+
0.117,
|
| 1732 |
+
0.214,
|
| 1733 |
+
0.487,
|
| 1734 |
+
0.265
|
| 1735 |
+
],
|
| 1736 |
+
"angle": 0,
|
| 1737 |
+
"content": "Chihli Hung and Hao-Kai Lin. 2013. Using objective words in SentiWordNet to improve word-of-mouth sentiment classification. IEEE Intelligent Systems, 28(02):47-54."
|
| 1738 |
+
},
|
| 1739 |
+
{
|
| 1740 |
+
"type": "ref_text",
|
| 1741 |
+
"bbox": [
|
| 1742 |
+
0.117,
|
| 1743 |
+
0.278,
|
| 1744 |
+
0.486,
|
| 1745 |
+
0.316
|
| 1746 |
+
],
|
| 1747 |
+
"angle": 0,
|
| 1748 |
+
"content": "Diederik P Kingma and Jimmy Ba. 2014. Adam: A method for stochastic optimization. arXiv preprint arXiv:1412.6980."
|
| 1749 |
+
},
|
| 1750 |
+
{
|
| 1751 |
+
"type": "ref_text",
|
| 1752 |
+
"bbox": [
|
| 1753 |
+
0.117,
|
| 1754 |
+
0.328,
|
| 1755 |
+
0.487,
|
| 1756 |
+
0.407
|
| 1757 |
+
],
|
| 1758 |
+
"angle": 0,
|
| 1759 |
+
"content": "Gerhard Kremer, Katrin Erk, Sebastian Padó, and Stefan Thater. 2014. What substitutes tell us-analysis of an \"all-words\" lexical substitution corpus. In Proceedings of the 14th Conference of the European Chapter of the Association for Computational Linguistics, pages 540-549."
|
| 1760 |
+
},
|
| 1761 |
+
{
|
| 1762 |
+
"type": "ref_text",
|
| 1763 |
+
"bbox": [
|
| 1764 |
+
0.117,
|
| 1765 |
+
0.418,
|
| 1766 |
+
0.487,
|
| 1767 |
+
0.497
|
| 1768 |
+
],
|
| 1769 |
+
"angle": 0,
|
| 1770 |
+
"content": "Frederick Liu, Han Lu, and Graham Neubig. 2018. Handling homographs in neural machine translation. 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 1336-1345."
|
| 1771 |
+
},
|
| 1772 |
+
{
|
| 1773 |
+
"type": "ref_text",
|
| 1774 |
+
"bbox": [
|
| 1775 |
+
0.117,
|
| 1776 |
+
0.508,
|
| 1777 |
+
0.487,
|
| 1778 |
+
0.573
|
| 1779 |
+
],
|
| 1780 |
+
"angle": 0,
|
| 1781 |
+
"content": "Yinhan Liu, Myle Ott, Naman Goyal, Jingfei Du, Mandar Joshi, Danqi Chen, Omer Levy, Mike Lewis, Luke Zettlemoyer, and Veselin Stoyanov. 2019. RoBERTa: A robustly optimized bert pretraining approach. arXiv preprint arXiv:1907.11692."
|
| 1782 |
+
},
|
| 1783 |
+
{
|
| 1784 |
+
"type": "ref_text",
|
| 1785 |
+
"bbox": [
|
| 1786 |
+
0.117,
|
| 1787 |
+
0.585,
|
| 1788 |
+
0.487,
|
| 1789 |
+
0.649
|
| 1790 |
+
],
|
| 1791 |
+
"angle": 0,
|
| 1792 |
+
"content": "P. Malo, A. Sinha, P. Korhonen, J. Wallenius, and P. Takala. 2014. Good debt or bad debt: Detecting semantic orientations in economic texts. Journal of the Association for Information Science and Technology, 65."
|
| 1793 |
+
},
|
| 1794 |
+
{
|
| 1795 |
+
"type": "ref_text",
|
| 1796 |
+
"bbox": [
|
| 1797 |
+
0.117,
|
| 1798 |
+
0.661,
|
| 1799 |
+
0.487,
|
| 1800 |
+
0.714
|
| 1801 |
+
],
|
| 1802 |
+
"angle": 0,
|
| 1803 |
+
"content": "Rui Mao, Kai He, Claudia Beth Ong, Qian Liu, and Erik Cambria. 2023a. MetaPro 2.0: Computational metaphor processing on the effectiveness of anomalous language modeling."
|
| 1804 |
+
},
|
| 1805 |
+
{
|
| 1806 |
+
"type": "ref_text",
|
| 1807 |
+
"bbox": [
|
| 1808 |
+
0.117,
|
| 1809 |
+
0.725,
|
| 1810 |
+
0.487,
|
| 1811 |
+
0.79
|
| 1812 |
+
],
|
| 1813 |
+
"angle": 0,
|
| 1814 |
+
"content": "Rui Mao and Xiao Li. 2021. Bridging towers of multitask learning with a gating mechanism for aspect-based sentiment analysis and sequential metaphor identification. Proceedings of the AAAI Conference on Artificial Intelligence, 35(15):13534-13542."
|
| 1815 |
+
},
|
| 1816 |
+
{
|
| 1817 |
+
"type": "ref_text",
|
| 1818 |
+
"bbox": [
|
| 1819 |
+
0.117,
|
| 1820 |
+
0.802,
|
| 1821 |
+
0.487,
|
| 1822 |
+
0.881
|
| 1823 |
+
],
|
| 1824 |
+
"angle": 0,
|
| 1825 |
+
"content": "Rui Mao, Xiao Li, Kai He, Mengshi Ge, and Erik Cambria. 2023b. MetaPro Online: A computational metaphor processing online system. In Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics (Volume 3: System Demonstrations), pages 127-135."
|
| 1826 |
+
},
|
| 1827 |
+
{
|
| 1828 |
+
"type": "ref_text",
|
| 1829 |
+
"bbox": [
|
| 1830 |
+
0.117,
|
| 1831 |
+
0.892,
|
| 1832 |
+
0.487,
|
| 1833 |
+
0.919
|
| 1834 |
+
],
|
| 1835 |
+
"angle": 0,
|
| 1836 |
+
"content": "Rui Mao, Qian Liu, Kai He, Wei Li, and Erik Cambria. 2023c. The biases of pre-trained language models:"
|
| 1837 |
+
},
|
| 1838 |
+
{
|
| 1839 |
+
"type": "list",
|
| 1840 |
+
"bbox": [
|
| 1841 |
+
0.117,
|
| 1842 |
+
0.086,
|
| 1843 |
+
0.487,
|
| 1844 |
+
0.919
|
| 1845 |
+
],
|
| 1846 |
+
"angle": 0,
|
| 1847 |
+
"content": null
|
| 1848 |
+
},
|
| 1849 |
+
{
|
| 1850 |
+
"type": "ref_text",
|
| 1851 |
+
"bbox": [
|
| 1852 |
+
0.529,
|
| 1853 |
+
0.086,
|
| 1854 |
+
0.882,
|
| 1855 |
+
0.126
|
| 1856 |
+
],
|
| 1857 |
+
"angle": 0,
|
| 1858 |
+
"content": "An empirical study on prompt-based sentiment analysis and emotion detection. IEEE Transactions on Affective Computing, 14(3):1743-1753."
|
| 1859 |
+
},
|
| 1860 |
+
{
|
| 1861 |
+
"type": "ref_text",
|
| 1862 |
+
"bbox": [
|
| 1863 |
+
0.512,
|
| 1864 |
+
0.136,
|
| 1865 |
+
0.882,
|
| 1866 |
+
0.213
|
| 1867 |
+
],
|
| 1868 |
+
"angle": 0,
|
| 1869 |
+
"content": "Marco Maru, Simone Conia, Michele Bevilacqua, and Roberto Navigli. 2022. Nibbling at the hard core of Word Sense Disambiguation. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 4724-4737."
|
| 1870 |
+
},
|
| 1871 |
+
{
|
| 1872 |
+
"type": "ref_text",
|
| 1873 |
+
"bbox": [
|
| 1874 |
+
0.512,
|
| 1875 |
+
0.224,
|
| 1876 |
+
0.882,
|
| 1877 |
+
0.278
|
| 1878 |
+
],
|
| 1879 |
+
"angle": 0,
|
| 1880 |
+
"content": "Diana McCarthy and Roberto Navigli. 2007. SemEval-2007 task 10: English lexical substitution task. In Proceedings of the 4th International Workshop on Semantic Evaluations, SemEval '07, pages 48-53."
|
| 1881 |
+
},
|
| 1882 |
+
{
|
| 1883 |
+
"type": "ref_text",
|
| 1884 |
+
"bbox": [
|
| 1885 |
+
0.512,
|
| 1886 |
+
0.287,
|
| 1887 |
+
0.882,
|
| 1888 |
+
0.366
|
| 1889 |
+
],
|
| 1890 |
+
"angle": 0,
|
| 1891 |
+
"content": "Arman Khadjeh Nassirtoussi, Saeed Aghabozorgi, Teh Ying Wah, and David Chek Ling Ngo. 2015. Text mining of news-headlines for forex market prediction: A multi-layer dimension reduction algorithm with semantics and sentiment. Expert Systems with Applications, 42(1):306-324."
|
| 1892 |
+
},
|
| 1893 |
+
{
|
| 1894 |
+
"type": "ref_text",
|
| 1895 |
+
"bbox": [
|
| 1896 |
+
0.512,
|
| 1897 |
+
0.376,
|
| 1898 |
+
0.882,
|
| 1899 |
+
0.416
|
| 1900 |
+
],
|
| 1901 |
+
"angle": 0,
|
| 1902 |
+
"content": "Bruno Ohana and Brendan Tierney. 2009. Sentiment classification of reviews using SentiWordNet. Proceedings of IT&T, 8."
|
| 1903 |
+
},
|
| 1904 |
+
{
|
| 1905 |
+
"type": "ref_text",
|
| 1906 |
+
"bbox": [
|
| 1907 |
+
0.512,
|
| 1908 |
+
0.426,
|
| 1909 |
+
0.882,
|
| 1910 |
+
0.466
|
| 1911 |
+
],
|
| 1912 |
+
"angle": 0,
|
| 1913 |
+
"content": "Aaron van den Oord, Yazhe Li, and Oriol Vinyals. 2018. Representation learning with contrastive predictive coding."
|
| 1914 |
+
},
|
| 1915 |
+
{
|
| 1916 |
+
"type": "ref_text",
|
| 1917 |
+
"bbox": [
|
| 1918 |
+
0.512,
|
| 1919 |
+
0.476,
|
| 1920 |
+
0.882,
|
| 1921 |
+
0.528
|
| 1922 |
+
],
|
| 1923 |
+
"angle": 0,
|
| 1924 |
+
"content": "Martha Palmer, Hoa Trang Dang, and Christiane Fellbaum. 2007. Making fine-grained and coarse-grained sense distinctions, both manually and automatically. Natural Language Engineering, 13(2):137-163."
|
| 1925 |
+
},
|
| 1926 |
+
{
|
| 1927 |
+
"type": "ref_text",
|
| 1928 |
+
"bbox": [
|
| 1929 |
+
0.512,
|
| 1930 |
+
0.538,
|
| 1931 |
+
0.882,
|
| 1932 |
+
0.579
|
| 1933 |
+
],
|
| 1934 |
+
"angle": 0,
|
| 1935 |
+
"content": "Bo Pang and Lillian Lee. 2005. Seeing stars: Exploiting class relationships for sentiment categorization with respect to rating scales. In Proceedings of the ACL."
|
| 1936 |
+
},
|
| 1937 |
+
{
|
| 1938 |
+
"type": "ref_text",
|
| 1939 |
+
"bbox": [
|
| 1940 |
+
0.512,
|
| 1941 |
+
0.588,
|
| 1942 |
+
0.882,
|
| 1943 |
+
0.654
|
| 1944 |
+
],
|
| 1945 |
+
"angle": 0,
|
| 1946 |
+
"content": "Xiao Pu, Nikolaos Pappas, James Henderson, and Andrei Popescu-Belis. 2018. Integrating weakly supervised word sense disambiguation into neural machine translation. Transactions of the Association for Computational Linguistics, 6:635-649."
|
| 1947 |
+
},
|
| 1948 |
+
{
|
| 1949 |
+
"type": "ref_text",
|
| 1950 |
+
"bbox": [
|
| 1951 |
+
0.512,
|
| 1952 |
+
0.664,
|
| 1953 |
+
0.882,
|
| 1954 |
+
0.704
|
| 1955 |
+
],
|
| 1956 |
+
"angle": 0,
|
| 1957 |
+
"content": "Rachel Elizabeth Ramsey. 2017. An exemplar-theoretic account of word senses. University of Northumbria at Newcastle (United Kingdom)."
|
| 1958 |
+
},
|
| 1959 |
+
{
|
| 1960 |
+
"type": "ref_text",
|
| 1961 |
+
"bbox": [
|
| 1962 |
+
0.512,
|
| 1963 |
+
0.714,
|
| 1964 |
+
0.882,
|
| 1965 |
+
0.78
|
| 1966 |
+
],
|
| 1967 |
+
"angle": 0,
|
| 1968 |
+
"content": "Hassan Saif, Miriam Fernandez, Yulan He, and Harith Alani. 2013. Evaluation datasets for Twitter sentiment analysis: A survey and a new dataset, the STS-Gold. Emotion and Sentiment in Social and Expressive Media."
|
| 1969 |
+
},
|
| 1970 |
+
{
|
| 1971 |
+
"type": "ref_text",
|
| 1972 |
+
"bbox": [
|
| 1973 |
+
0.512,
|
| 1974 |
+
0.79,
|
| 1975 |
+
0.882,
|
| 1976 |
+
0.842
|
| 1977 |
+
],
|
| 1978 |
+
"angle": 0,
|
| 1979 |
+
"content": "Damien Sileo. 2023. tasksource: A dataset harmonization framework for streamlined NLP multitask learning and evaluation. arXiv preprint arXiv:2301.05948v3."
|
| 1980 |
+
},
|
| 1981 |
+
{
|
| 1982 |
+
"type": "ref_text",
|
| 1983 |
+
"bbox": [
|
| 1984 |
+
0.512,
|
| 1985 |
+
0.852,
|
| 1986 |
+
0.882,
|
| 1987 |
+
0.919
|
| 1988 |
+
],
|
| 1989 |
+
"angle": 0,
|
| 1990 |
+
"content": "Yang Song, Xin Cai Ong, Hwee Tou Ng, and Qian Lin. 2021. Improved word sense disambiguation with enhanced sense representations. In *Findings of the Association for Computational Linguistics: EMNLP* 2021, pages 4311-4320."
|
| 1991 |
+
},
|
| 1992 |
+
{
|
| 1993 |
+
"type": "list",
|
| 1994 |
+
"bbox": [
|
| 1995 |
+
0.512,
|
| 1996 |
+
0.086,
|
| 1997 |
+
0.882,
|
| 1998 |
+
0.919
|
| 1999 |
+
],
|
| 2000 |
+
"angle": 0,
|
| 2001 |
+
"content": null
|
| 2002 |
+
},
|
| 2003 |
+
{
|
| 2004 |
+
"type": "page_number",
|
| 2005 |
+
"bbox": [
|
| 2006 |
+
0.481,
|
| 2007 |
+
0.929,
|
| 2008 |
+
0.521,
|
| 2009 |
+
0.941
|
| 2010 |
+
],
|
| 2011 |
+
"angle": 0,
|
| 2012 |
+
"content": "8782"
|
| 2013 |
+
}
|
| 2014 |
+
],
|
| 2015 |
+
[
|
| 2016 |
+
{
|
| 2017 |
+
"type": "ref_text",
|
| 2018 |
+
"bbox": [
|
| 2019 |
+
0.117,
|
| 2020 |
+
0.086,
|
| 2021 |
+
0.487,
|
| 2022 |
+
0.139
|
| 2023 |
+
],
|
| 2024 |
+
"angle": 0,
|
| 2025 |
+
"content": "Yunqing Xia, Erik Cambria, Amir Hussain, and Huan Zhao. 2015. Word polarity disambiguation using bayesian model and opinion-level features. Cognitive Computation, 7(3):369-380."
|
| 2026 |
+
},
|
| 2027 |
+
{
|
| 2028 |
+
"type": "ref_text",
|
| 2029 |
+
"bbox": [
|
| 2030 |
+
0.117,
|
| 2031 |
+
0.149,
|
| 2032 |
+
0.487,
|
| 2033 |
+
0.201
|
| 2034 |
+
],
|
| 2035 |
+
"angle": 0,
|
| 2036 |
+
"content": "Yunqing Xia, Huan Zhao, Erik Cambria, and Amir Hussain. 2014. Disambiguating word sentiment polarity through bayesian modeling and opinion-level features. In Proceedings of ICML Workshops."
|
| 2037 |
+
},
|
| 2038 |
+
{
|
| 2039 |
+
"type": "list",
|
| 2040 |
+
"bbox": [
|
| 2041 |
+
0.117,
|
| 2042 |
+
0.086,
|
| 2043 |
+
0.487,
|
| 2044 |
+
0.201
|
| 2045 |
+
],
|
| 2046 |
+
"angle": 0,
|
| 2047 |
+
"content": null
|
| 2048 |
+
},
|
| 2049 |
+
{
|
| 2050 |
+
"type": "page_number",
|
| 2051 |
+
"bbox": [
|
| 2052 |
+
0.481,
|
| 2053 |
+
0.929,
|
| 2054 |
+
0.52,
|
| 2055 |
+
0.941
|
| 2056 |
+
],
|
| 2057 |
+
"angle": 0,
|
| 2058 |
+
"content": "8783"
|
| 2059 |
+
}
|
| 2060 |
+
]
|
| 2061 |
+
]
|
2023/Neuro-Symbolic Sentiment Analysis with Dynamic Word Sense Disambiguation/f2ea77f7-c2a2-49e4-b922-17fa39103dc4_origin.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b474ce50afe94f2ff39ac38e0cf34da8200813b9d9a074696a609d090adef611
|
| 3 |
+
size 424787
|
2023/Neuro-Symbolic Sentiment Analysis with Dynamic Word Sense Disambiguation/full.md
ADDED
|
@@ -0,0 +1,348 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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*, Kai He\* and Erik Cambria\*
|
| 4 |
+
|
| 5 |
+
$\spadesuit$ Nanyang Technological University, Singapore
|
| 6 |
+
|
| 7 |
+
\*National University of Singapore, Singapore
|
| 8 |
+
|
| 9 |
+
xulang001@e.ntu.edu.sg; {rui.mao, cambria}@ntu.edu.sg; kai_he@nus.edu.sg
|
| 10 |
+
|
| 11 |
+
# Abstract
|
| 12 |
+
|
| 13 |
+
Sentiment analysis is a task that highly depends on the understanding of word senses. Traditional neural network models are black boxes that represent word senses as vectors that are uninterpretable for humans. On the other hand, the application of Word Sense Disambiguation (WSD) systems in downstream tasks poses challenges regarding i) which words need to be disambiguated, and ii) how to model explicit word senses into easily understandable terms for a downstream model. This work proposes a neurosymbolic framework that incorporates WSD by identifying and paraphrasing ambiguous words to improve the accuracy of sentiment predictions. The framework allows us to understand which words are paraphrased into which semantically unequivocal words, thus enabling a downstream task model to gain both accuracy and interpretability. To better fine-tune a lexical substitution model for WSD on a downstream task without ground-truth word sense labels, we leverage dynamic rewarding to jointly train sentiment analysis and lexical substitution models. Our framework proves to effectively improve the performance of sentiment analysis on corpora from different domains.
|
| 14 |
+
|
| 15 |
+
# 1 Introduction
|
| 16 |
+
|
| 17 |
+
To improve the accuracy of sentiment analysis, it is crucial to disambiguate polysemous words according to the context (Cambria et al., 2023). A word may have senses that carry opposite sentiments, e.g., "fine" has the positive meaning of being delicate and refined, and the negative meaning of monetary penalty. Additionally, words may appear in positive, negative, or neutral senses in different domains. For instance, the word "bearish" is often used in a negative sense to describe the stock market in the financial domain, while more likely to be used neutrally to describe hulking figures in other domains.
|
| 18 |
+
|
| 19 |
+
In traditional black-box sentiment analysis, the representations of word meanings are generated by neural networks (Mao and Li, 2021). As such, the disambiguation process is implicit and opaque. It is challenging to investigate what implicit senses are assigned to ambiguous words by a neural network model for it to make accurate predictions. Coupling symbolism and sub-symbolism, a neurosymbolic approach to sentiment analysis is transparent and interpretable, regarding the extraction and distinction of word meaning as a sub-problem (Cambria et al., 2017). However, research that explicitly deals with ambiguous words in sentiment analysis is limited (Xia et al., 2014, 2015; Cambria et al., 2015). Sense-annotated resources such as SentiWordNet (Baccianella et al., 2010) have been utilized, but only to detect and score sentimental words in the input (Hung and Lin, 2013; Nassirtoussi et al., 2015; Hung and Chen, 2016). The disambiguation of polysemous words in sentiment analysis inputs remains under-explored. Thus, we are motivated to develop a neurosymbolic framework for sentiment analysis with explicit Word Sense Disambiguation (WSD).
|
| 20 |
+
|
| 21 |
+
Traditional WSD aims to classify which sense of the target word is appropriate according to its context (Huang et al., 2019; Blevins and Zettlemoyer, 2020; Bevilacqua and Navigli, 2020; Song et al., 2021; Barba et al., 2021a,b). However, the limitations $(\ell)$ of their task setups are that $(\ell 1)$ the output of those WSD systems, whether sense label (Bevilacqua and Navigli, 2020) or gloss definition (Blevins and Zettlemoyer, 2020; Barba et al., 2021a), is difficult to integrate into downstream input; $(\ell 2)$ the target words must be pre-defined for WSD systems to disambiguate, making it difficult to apply them directly to downstream tasks; and $(\ell 3)$ the reliability of sense distinction of the benchmark has been questioned (Ramsey, 2017; Maru et al., 2022), as word senses are not discrete.
|
| 22 |
+
|
| 23 |
+
Attempts have been made to incorporate the disambiguation of word senses into downstream applications. Nonetheless, they are either impractical in real-world settings (Farooq et al., 2015; Pu et al., 2018), or only applicable to a specific downstream task, i.e., machine translation (Hangya et al., 2021; Campolungo et al., 2022). To address these issues, we leverage dynamic WSD in our neurosymbolic framework. We regard WSD as a lexical substitution task (for $\ell 1$ ), where ambiguous words in sentiment analysis input are paraphrased into ones that cause less sentiment confusion using a lexical substitution model with dynamic WSD.
|
| 24 |
+
|
| 25 |
+
Our dynamic WSD method comprises two distinct aspects: the dynamic selection of the target word for disambiguation, based on downstream contextual information (for $\ell 2$ ); and the dynamic learning of the most suitable lexical substitutions, based on the prediction accuracy of the downstream model (for $\ell 3$ ). To identify target words that need to be substituted, we first adopt an attention-based explainable encoder to rank input words by the level of influence they have on the output, motivated by the assumption that not all polysemous words affect sentiment predictions (Cao et al., 2015). Then, the top-ranking words with the most diverse senses are selected to be targets, based on our hypothesis that an ambiguous word may coincide with significant disparities in the semantic space between the word itself and its potential substitution candidates.
|
| 26 |
+
|
| 27 |
+
As such, we can trace back which words are selected as targets, and which substitute words are used to disambiguate them, making our method interpretable and transparent. Furthermore, we fine-tune the lexical substitution model whilst training the sentiment analysis model by adopting a dynamic rewarding mechanism that does not require gold standard substitution labels. As such, the substitution model can be adjusted to provide more appropriate output for the downstream task as well as the target domain. Our model achieves more accurate sentiment analysis with explicit lexical-substitution-based WSD, despite not specifically trained on WSD and sentiment parallel datasets. Since the disambiguated word senses are represented as the lexical substitutions of the original words and an explainable encoder is used for retrieving the most contributing words, the neurosymbolic sentiment inference process is more interpretable for humans compared to black-box models.
|
| 28 |
+
|
| 29 |
+
Our model is examined with three publicly available datasets from movie review, finance, and Twitter domains, outperforming strong baselines by $1.23\%$ on average. The contributions of our work are twofold: (1) We propose a neurosymbolic sentiment analysis framework that leverages WSD as an auxiliary lexical substitution task, achieving state-of-the-art performance on our examined sentiment analysis datasets from different domains; (2) We design a transparent mechanism to select WSD target words, based on a) the importance of words to the learning and inference of a downstream task, and b) word sense diversity.
|
| 30 |
+
|
| 31 |
+
# 2 Related Work
|
| 32 |
+
|
| 33 |
+
Word Sense Disambiguation is a task that assigns the appropriate meaning to an ambiguous word according to its context. Recent WSD systems attained F1 scores higher than $80\%$ on the benchmark datasets (Song et al., 2021; Bevilacqua and Navigli, 2020; Barba et al., 2021a,b), which is regarded as the estimated human performance since it is the highest inter-annotator agreement (Edmonds and Kilgarriff, 2002; Palmer et al., 2007). However, research on the application of WSD systems on downstream tasks is limited. Pu et al. (2018) utilized clustering algorithms to obtain sense embeddings by inferring from the similarity of the context vectors of a target word. The heavy requirement for disambiguating every homographs prior to downstream applications makes their method less feasible in many real-world situations. Campolungo et al. (2022) achieved the disambiguation of word sense in neural machine translation by leveraging a multilingual WSD system to establish a sense-tagged parallel corpus. Nonetheless, their approach relied on cross-lingual word alignments for reliable annotations, meaning that it cannot be adopted by other types of downstream tasks.
|
| 34 |
+
|
| 35 |
+
Sentiment Analysis can be generally defined as the task that determines if a piece of text expresses positive, negative, or neutral opinion (Mao et al., 2023c). Word sense information has been applied in sentiment analysis in the form of sentiment-annotated lexicons (Devitt and Ahmad, 2007; Ohana and Tierney, 2009; Hung and Lin, 2013; Nassirtoussi et al., 2015), such as SentiWordNet. However, these methods incorporate the sentiment information of a word without disambiguating its word sense according to the context, but resorting to the emotional score of the most frequent
|
| 36 |
+
|
| 37 |
+

|
| 38 |
+
Figure 1: Architecture of the proposed disambiguation framework for sentiment analysis. A dotted line means backpropagation. Green block means that the original word is replaced by a word provided by the lexical substitution model. The darker the green, the higher probability it is assigned to be the model. Orange block indicates the words with top ranking attention scores produced by HAN.
|
| 39 |
+
|
| 40 |
+
sense, or the average score of all senses. Additionally, the main objective of this approach is to identify sentimental words in a sentence, instead of disambiguating polysemous words that might affect model predictions. Hung and Chen (2016); Farooq et al. (2015); Liu et al. (2018) attempted to disambiguate according to target domain and context, but either costed extensive human labour, or fail to incorporate word senses explicitly and transparently.
|
| 41 |
+
|
| 42 |
+
To address these limitations, our neurosymbolic framework aims to identify ambiguous target words in the context and replace them with clarifying ones automatically, making them interpretable. We also leverage a dynamic rewarding mechanism so that the substitutions can be fine-tuned to better serve the downstream task and the text domain.
|
| 43 |
+
|
| 44 |
+
# 3 Task Definition
|
| 45 |
+
|
| 46 |
+
In this work, we regard word sense ambiguity as the potential cause of errors in a downstream task, e.g., sentiment analysis. Inspired by the work of Mao et al. (2023b), we reframe WSD as a lexical substitution task, aiming to replace an ambiguous word with a synonym that not only represents the true sense of the original word in the context (Arthur et al., 2015), but also reduces misclassifications in the downstream task. Given an input sentence $w = (w_{1},w_{2},\dots ,w_{L})$ , we first aim to identify the target word $t$ that is likely troublesome for
|
| 47 |
+
|
| 48 |
+
the downstream prediction from $w$ . To resolve the potential ambiguity, we extract $M$ of its synonyms from WordNet (Fellbaum, 1998) as candidates $c = (c_{1},\ldots ,c_{M})$ , forming the input $(s)$ as
|
| 49 |
+
|
| 50 |
+
$$
|
| 51 |
+
s = \langle s \rangle , w _ {1}, w _ {2}, \dots , t, \dots , w _ {L}, \langle / s \rangle , \tag {1}
|
| 52 |
+
$$
|
| 53 |
+
|
| 54 |
+
$< \mathrm{s}>$ and $</ \mathrm{s}>$ are special tokens that were defined by our employed pre-trained language model. The lexical substitution model should identify the best candidate from $c$ as the substitute $\hat{c}$ which retains the original meaning of $t$ in the context by using contrast learning. Thus, $\hat{c}$ is the symbolic representation of $t$ in context $w$ . Then, the paraphrased input $w^{f} = (w_{1},\dots,\hat{c},\dots,w_{L})$ is fed into a neural network classifier to predict a sentiment label. The objective is that the paraphrased input $w^{f}$ increases the probability of correct sentiment prediction.
|
| 55 |
+
|
| 56 |
+
# 4 Methodology
|
| 57 |
+
|
| 58 |
+
Our proposed neurosymbolic framework can be viewed in Figure 1. There are two models in our framework, namely sentiment analysis and lexical substitution models. The sentiment analysis model consists of an encoder, an interpretable attention module, and multiple feedforward neural networks. First, through Figure 1 (1) and (2), the original input is fed into the encoder and the interpretable attention module to obtain the top $I$ tokens with the highest attention weights, which contribute the most to sentiment prediction.
|
| 59 |
+
|
| 60 |
+
In (3), the sense diversity of each token is computed as the average distance of the token's hidden state to those of its substitution candidates. Then, through (4), top $J$ tokens with the most diverse senses are selected as disambiguation targets, because these target tokens may have very different senses in different contexts. Subsequently, the pretrained lexical substitution model is applied to provide the best substitution to replace each target token, as shown in (5) and (6)a. The new input sentence is passed onto the sentiment analysis model for final prediction ((7)a and (8)a), which is used for the sentiment model backpropagation ((9)a).
|
| 61 |
+
|
| 62 |
+
In order to fine-tune the lexical substitution model to provide better substitutions that improve the accuracy of sentiment analysis, we adapt a dynamic rewarding mechanism (Ge et al., 2022) that was proposed for multi-task learning. As shown in Figure 1 (5) and (6)b, for each target word, we choose the top $N$ candidates. Each of them is seen as a substitute candidate to calculate the probability of correct sentiment prediction after the replacement ((7)b and (8)b). Then, each probability is used to dynamically compute the loss weight when the corresponding candidate is learned by the lexical substitution model as a ground truth ((9)b and (10)b). If the replacement by a candidate leads to a higher chance of predicting the right sentiment, the candidate is more likely given a higher rank by the lexical substitution model. Otherwise, the model would be less likely to select the candidate as the best replacement. The important notations used in this paper are summarized in Table 1. The detailed training process can be seen in Algorithm 1.
|
| 63 |
+
|
| 64 |
+
# 4.1 Sentiment Analysis with Interpretability
|
| 65 |
+
|
| 66 |
+
Given input sentence $w = (w_{1},\dots ,w_{L})$ , the goal is to predict the correct sentiment label $\tilde{y}$ . The input is first fed into a pre-trained encoder:
|
| 67 |
+
|
| 68 |
+
$$
|
| 69 |
+
V = \operatorname {E n c o d e r} (w), \tag {2}
|
| 70 |
+
$$
|
| 71 |
+
|
| 72 |
+
where $V$ is hidden states. Next, we aim to find the tokens that contribute the most to sentiment inference. We adopt an interpretable attention module called Hierarchical Attention Network (HAN, Han et al., 2022), which effectively encodes hidden states with multiple non-linear projections and ranks the most influential tokens based on attention. Following the setup of Han et al. (2022), we stack two blocks of HAN to form our attention module.
|
| 73 |
+
|
| 74 |
+
$$
|
| 75 |
+
q, a = H A N (H A N (V)), \tag {3}
|
| 76 |
+
$$
|
| 77 |
+
|
| 78 |
+
Table 1: Notation table.
|
| 79 |
+
|
| 80 |
+
<table><tr><td></td><td>Description</td></tr><tr><td>L</td><td>Input sequence length</td></tr><tr><td>I</td><td>Number of words with top ranking attention scores to be potential target words</td></tr><tr><td>J</td><td>Number of words with top ranking diversity scores to be potential target words</td></tr><tr><td>N</td><td>Number of candidates used for finetuning lexical substitution via dynamic rewarding</td></tr><tr><td>K</td><td>Number of candidates for training lexical substitution model</td></tr><tr><td>w</td><td>The original input sentence</td></tr><tr><td>V</td><td>The hidden states of w</td></tr><tr><td>y</td><td>The ground-truth sentiment label of w</td></tr><tr><td>wf</td><td>The final input sentence where ambiguous words in w are substituted</td></tr><tr><td>ŷf</td><td>The predicted sentiment label with wf as input</td></tr><tr><td>wl</td><td>The l-th word in w</td></tr><tr><td>al</td><td>The attention weight of the l-th word in w</td></tr><tr><td>wiatt</td><td>The word in w with the i-th highest attention weight</td></tr><tr><td>viatt</td><td>The hidden state of wiatt</td></tr><tr><td>M</td><td>The number of synonyms of wiatt with the same part-of-speech that are provided by the WordNet</td></tr><tr><td>G</td><td>The hidden states of the M WordNet synonyms</td></tr><tr><td>gm</td><td>The hidden state of the m-th WordNet synonyms of wiatt</td></tr><tr><td>di</td><td>The average Euclidean distance between viatt and g1, . . . , gm, . . . , gM</td></tr><tr><td>tj</td><td>The j-th target word in w to be substituted</td></tr><tr><td>c</td><td>A set of candidate words from WordNet.</td></tr><tr><td>ˆc</td><td>The top N candidates ranked by the lexical substitution model</td></tr><tr><td>ˆcj,n</td><td>The top n-th candidate for replacing tj</td></tr><tr><td>wj,n</td><td>The resulting sentence when replacing tj in w withˆcj,n</td></tr><tr><td>ˆθj,n</td><td>The loss weight whenˆcj,n is treated as the gold standard substitution</td></tr><tr><td>s</td><td>The formatted input to lexical substitution model</td></tr><tr><td>U</td><td>The hidden state matrix of the input sentence in s</td></tr><tr><td>u1</td><td>The hidden state of the l-th input word in s</td></tr><tr><td>R</td><td>The hidden state matrix of the candidates in s</td></tr><tr><td>rk</td><td>The hidden state of the k-th candidate in s</td></tr><tr><td>τ</td><td>The temperature hyper-parameter for training the lexical substitution model</td></tr><tr><td>β</td><td>The hyper-parameter for balancing the sentiment analysis loss and fine-tuning loss</td></tr><tr><td>L(sa)</td><td>The sentiment analysis loss</td></tr><tr><td>L(tune)</td><td>The loss for finetuning the pretrained language model into a lexical substitution model</td></tr><tr><td>L(ls)</td><td>The lexical substitution loss whenˆcj,n is treated as the gold standard substitution</td></tr><tr><td>L(ls)</td><td>The final weighted lexical substitution loss for backpropagation</td></tr></table>
|
| 81 |
+
|
| 82 |
+
where vector $q$ is the yielded hidden state. $a$ is the attention weights, indicating the contribution of each token to the final sentiment prediction. To obtain the sentiment prediction, $q$ is passed on to two layers of feed-forward neural networks (FNN) to obtain the probability distribution of sentiment prediction, with the first one being activated by ReLU (Agarap, 2018), and the second by softmax.
|
| 83 |
+
|
| 84 |
+
$$
|
| 85 |
+
h = R e L U \left(F N N _ {1} (q)\right) \tag {4}
|
| 86 |
+
$$
|
| 87 |
+
|
| 88 |
+
$$
|
| 89 |
+
\hat {y} = \operatorname {s o f t m a x} \left(F N N _ {2} (h)\right) \tag {5}
|
| 90 |
+
$$
|
| 91 |
+
|
| 92 |
+
We denote the prediction of the sentiment analysis model as $\hat{y}^f$ when the input is $w^f$ , which denotes a paraphrased $w$ where all selected target tokens are replaced by sense-clarifying substitutions. Thus, the sentiment analysis loss is computed as:
|
| 93 |
+
|
| 94 |
+
$$
|
| 95 |
+
\mathcal {L} ^ {(s a)} = \operatorname {C r o s s E n t r o p y} (\hat {y} ^ {f}, \tilde {y}) \tag {6}
|
| 96 |
+
$$
|
| 97 |
+
|
| 98 |
+
# 4.2 Disambiguation by Lexical Substitution
|
| 99 |
+
|
| 100 |
+
To obtain a lexical substitution model, we fine-tune the pre-trained language model ALM (Mao et al., 2023a)<sup>1</sup> with benchmark datasets from McCarthy and Navigli (2007); Kremer et al. (2014). We use the candidates from the datasets to formulate our input $s$ as in Formula 1. The candidate with the highest score is set as the ground truth substitution $\tilde{c}$ . Given the input $s$ , the model encodes it as:
|
| 101 |
+
|
| 102 |
+
$$
|
| 103 |
+
U, R = A L M (s), \tag {7}
|
| 104 |
+
$$
|
| 105 |
+
|
| 106 |
+
where $U = [u_{1},\ldots ,u_{L}]$ is the hidden states of the input sentence, and $R = [r_1,\dots,r_K]$ is the hidden states of the candidates. We denote the representation of the target word as $u_{t}$ $(t\in \{1,\ldots ,L\})$
|
| 107 |
+
|
| 108 |
+
Our training objective is to a) close the distance between the representation of the ground truth candidate $r_k$ , $(k \in \{1, \dots, K\})$ with $u_t$ , and b) push away incorrect candidates representations $r_j$ $(j \in \{1, \dots, K | j \neq k\})$ from $u_t$ . Namely, $(r_k, u_t)$ will be regarded as a positive pair, while $(r_j, u_t)$ will be regarded as a negative pair. We follow the InfoNCE loss (Oord et al., 2018) to achieve these goals, which can be formulated as:
|
| 109 |
+
|
| 110 |
+
$$
|
| 111 |
+
\mathcal {L} ^ {(t u n e)} = - \sum_ {i} \log \frac {e x p (d (u _ {t} , r _ {k}) / \tau)}{\sum_ {j} e x p (d (u _ {t} , r _ {i}) / \tau)}, \tag {8}
|
| 112 |
+
$$
|
| 113 |
+
|
| 114 |
+
where $i\in \{1,\dots ,K\}$ $\tau$ is a temperature hyperparameter, and $d(\cdot)$ is Euclidean distance.
|
| 115 |
+
|
| 116 |
+
Algorithm 1: Sentiment analysis with word sense disambiguation using a dynamic rewarding mechanism.
|
| 117 |
+
|
| 118 |
+
1 Initialize sentiment analysis model as $\Phi$ , pre-trained
|
| 119 |
+
2 lexical substitution model as $\Psi$ .
|
| 120 |
+
3 Initialize hyperparameters $\beta$ $I,J,N$
|
| 121 |
+
while not done do
|
| 122 |
+
4 Sample a sentence $w = w_{1},w_{2},\ldots ,w_{L}$ .
|
| 123 |
+
for $l = 1:L$ do
|
| 124 |
+
6 Compute the attention weight $a_{l}$ of token
|
| 125 |
+
$w_{l}$ .
|
| 126 |
+
7 end
|
| 127 |
+
8 $w^{att}\gets$ Top I of $w$ ordered by attention weights
|
| 128 |
+
$a = a_1,a_2,\dots ,a_L$ .
|
| 129 |
+
for $i = 1:I$ do
|
| 130 |
+
10 $c\gets$ all possible candidates with the same
|
| 131 |
+
part-of-speech type as $w_{i}^{att}$ , provided by
|
| 132 |
+
WordNet;
|
| 133 |
+
11 Compute the average Eulidean distance $d_{i}$
|
| 134 |
+
between the hidden states of $w_{i}^{att}$ and $c$ produced by the encoder in $\Phi$ .
|
| 135 |
+
end
|
| 136 |
+
13 $t = (t_1,t_2,\dots ,t_J)\gets$ Top J of $w^{att}$ ordered
|
| 137 |
+
by $d = d_{1},d_{2},\ldots ,d_{I}$ $w^{f}\gets w$ .
|
| 138 |
+
for $j = 1:J$ do
|
| 139 |
+
16 Input w into $\Psi$ to produce top N candidates
|
| 140 |
+
$\hat{c}_j = (\hat{c}_{j,1},\dots ,\hat{c}_{j,N})$ for target word $t_j$ ordered by probability;
|
| 141 |
+
17 Replace $t_j$ in $w^f$ with $\hat{c}_{j,1}$
|
| 142 |
+
s $\leftarrow (< s > ,w_{1},\dots ,t_{i},\dots ,w_{L}, < / s > ,\right.$ $\hat{c}_{j,1}, < / s > ,\dots ,\hat{c}_{j,N}, < / s > )$ .
|
| 143 |
+
for $n = 1:N$ do
|
| 144 |
+
21 $w^{j,n}\gets$ Replace $t_j$ in $w$ with $\hat{c}_{j,n}$ .
|
| 145 |
+
22 Input $w^{j,n}$ into $\Phi$ to obtain the probability of correct sentiment prediction $P(\hat{y} = \tilde{y})_{j,n}$ ..
|
| 146 |
+
23 $\theta_{j,n}\gets \beta P(\hat{y} = \tilde{y})_{j,n}^2$ .
|
| 147 |
+
24 Compute $\mathcal{L}_{j,n}^{(ls)}$ by feeding s with $\hat{c}_n$ labeled as true substitute into $\Psi$ ..
|
| 148 |
+
25 $\mathcal{L}_{j,n}^{(ls)}\gets \theta_{j,n}\mathcal{L}_{j,n}^{(ls)};$
|
| 149 |
+
end
|
| 150 |
+
end
|
| 151 |
+
28 $\mathcal{L}^{(ls)}\gets \mathcal{L}_{1,1}^{(ls)} + \dots +\mathcal{L}_{1,N}^{(ls)} + \mathcal{L}_{J,1}^{(ls)} + \dots +\mathcal{L}_{J,N}^{(ls)}$ .
|
| 152 |
+
29 Compute sentiment analysis loss $\mathcal{L}^{(sa)}$ using $w^{f}$ as input;
|
| 153 |
+
30 $L\gets \mathcal{L}^{(sa)} + \mathcal{L}^{(ls)}$ .
|
| 154 |
+
|
| 155 |
+
During the inference stage, we choose the candidate $\hat{c}$ whose corresponding hidden state $r_k$ is the most similar to $u_t$ , measured by Euclidean distance:
|
| 156 |
+
|
| 157 |
+
$$
|
| 158 |
+
\hat {c} = \arg \min \left(d \left(u _ {t}, r _ {k}\right)\right) \tag {9}
|
| 159 |
+
$$
|
| 160 |
+
|
| 161 |
+
We then use the resulting lexical substitution model to find replacements for the selected target words in sentiment analysis input. To determine which words are selected as disambiguation tar
|
| 162 |
+
|
| 163 |
+
gets, we select the top $I$ words in the input with the highest $a$ produced by Equation 3, forming the set $w^{att}$ . We denote their corresponding representations as $V^{att} = \{v_{1}^{att},\dots ,v_{I}^{att}\}$ . For each $v_{i}^{att}$ , we compute its average Euclidean distance to all of its candidates' hidden states. The candidates consist of WordNet synonyms of all of its possible senses under the same part-of-speech type, which are transformed into hidden states $G = \{g_{1},\ldots ,g_{M}\}$ using Equation 2. $M$ represents the number of candidates provided by WordNet. The top $J$ words in $w^{att}$ with the largest corresponding average distance are considered to be the ones with the most diverse word meanings, and thus are more likely to require disambiguation. We will demonstrate the success of such an ambiguous word selection method in the later ablation study (see Section 6.1).
|
| 164 |
+
|
| 165 |
+
Hence, target words $t = (t_1, \ldots, t_J)$ are selected by finding each corresponding $v_j^{att}$ :
|
| 166 |
+
|
| 167 |
+
$$
|
| 168 |
+
v _ {j} ^ {\text {a t t}} = \arg \max _ {i} \left(\frac {1}{M} \sum_ {M} d \left(v _ {i} ^ {\text {a t t}}, g _ {m}\right)\right). \tag {10}
|
| 169 |
+
$$
|
| 170 |
+
|
| 171 |
+
Following the lexical substitution benchmarks, only words whose part-of-speech tags fall under the general categories of noun, verb, adjective, and adverb are considered as targets.
|
| 172 |
+
|
| 173 |
+
# 4.3 Dynamic Rewarding Mechanism
|
| 174 |
+
|
| 175 |
+
To fine-tune the lexical substitution model on the downstream sentiment analysis task without knowing WSD gold standard truth, for each target word $t_j$ , we utilize the top $N$ candidates $\hat{c}_j = \{\hat{c}_{j,1},\dots ,\hat{c}_{j,n},\dots ,\hat{c}_{j,N}\}$ produced by the lexical substitution model. The new input resulting from $t_j$ being replaced by candidate $\hat{c}_{j,n}$ is denoted as $w^{j,n}$ . Same with Equation 5, the probability distribution of a sentiment prediction from $w^{j,n}$ is:
|
| 176 |
+
|
| 177 |
+
$$
|
| 178 |
+
P (\hat {y}) _ {j, n} = \operatorname {s o f t m a x} \left(F N N _ {2} \left(h ^ {j, n}\right)\right), \tag {11}
|
| 179 |
+
$$
|
| 180 |
+
|
| 181 |
+
where $h^{j,n}$ is the hidden states of $w^{j,n}$ outputted by Equation 4 in the sentiment analysis model.
|
| 182 |
+
|
| 183 |
+
To adjust the model in such a way that a more accurate sentiment prediction results in a higher reward for the corresponding substitution output, we compute the loss weight for $\hat{c}_{j,n}$ being the correct substitution prediction as:
|
| 184 |
+
|
| 185 |
+
$$
|
| 186 |
+
\theta_ {j, n} = \beta P (\hat {y} = \tilde {y}) _ {j, n} ^ {2}, \tag {12}
|
| 187 |
+
$$
|
| 188 |
+
|
| 189 |
+
where $\beta$ is a hyperparameter for balancing the sentiment analysis and lexical substitution losses, $\tilde{y}$ is the ground truth sentiment label as defined above.
|
| 190 |
+
|
| 191 |
+
<table><tr><td>Dataset</td><td>Split</td><td># Samples</td></tr><tr><td>SemEval 2007 Task 10</td><td>-</td><td>2,010</td></tr><tr><td>CoinCo</td><td>-</td><td>15,629</td></tr><tr><td></td><td>Train</td><td>8,530</td></tr><tr><td>Rotten Tomatoes</td><td>Dev</td><td>1,066</td></tr><tr><td></td><td>Test</td><td>1,066</td></tr><tr><td>Financial PhraseBank</td><td>-</td><td>4,846</td></tr><tr><td>STS-Gold</td><td>-</td><td>2,026</td></tr></table>
|
| 192 |
+
|
| 193 |
+
Table 2: Datasets used for experiments.
|
| 194 |
+
|
| 195 |
+
We formulate the input $s^j$ to lexical substitution model with sentence $w$ and candidates $\hat{c}_j$ , using Formula 1. Similar to Equation 8, the loss $(\mathcal{L}_{j,n}^{(ls)})$ of the lexical substitution model when $\hat{c}_{j,n}$ is considered as gold standard is computed as follows:
|
| 196 |
+
|
| 197 |
+
$$
|
| 198 |
+
\mathcal {L} _ {j, n} ^ {(l s)} = - \sum_ {i} \log \frac {\exp \left(d \left(u _ {t} , \hat {c} _ {j , n}\right) / \tau\right)}{\sum_ {j} \exp \left(d \left(u _ {t} , \hat {c} _ {j}\right) / \tau\right)}. \tag {13}
|
| 199 |
+
$$
|
| 200 |
+
|
| 201 |
+
Finally, the total loss is computed as:
|
| 202 |
+
|
| 203 |
+
$$
|
| 204 |
+
\mathcal {L} = \mathcal {L} ^ {(s a)} + \theta_ {1, 1} \mathcal {L} _ {1, 1} ^ {(l s)} + \dots + \theta_ {J, N} \mathcal {L} _ {J, N} ^ {(l s)}. \tag {14}
|
| 205 |
+
$$
|
| 206 |
+
|
| 207 |
+
# 5 Experiments
|
| 208 |
+
|
| 209 |
+
# 5.1 Datasets
|
| 210 |
+
|
| 211 |
+
To fine-tune the pretrained lexical substitution model, we combined SemEval 2007 Task 10 (McCarthy and Navigli, 2007) and CoinCo (Kremer et al., 2014). The former consists of 2,010 example sentences for 201 polysemous words. The latter contains 2,474 sentences with multiple words to be substituted. We used $70\%$ of the concatenated dataset for training, $30\%$ for testing.
|
| 212 |
+
|
| 213 |
+
For sentiment analysis, we used three datasets from different domains: Rotten Tomatoes (Pang and Lee, 2005) consists of 5,331 positive and 5,331 negative sentences collected from Rotten Tomatoes movie reviews. Financial PhraseBank (Malo et al., 2014) contains 4,846 sentences from English financial news, each labeled as negative, positive, or neutral. As the dataset has no standard split, We adopted a split of $70\%$ and $30\%$ for the training and testing sets. STS-Gold (Saif et al., 2013) contains 2,026 tweets, annotated as negative or positive. As the dataset has no standard split, We adopted a split of $90\%$ and $10\%$ for the training and testing sets. Details of the datasets are listed in Table 2.
|
| 214 |
+
|
| 215 |
+
# 5.2 Baselines
|
| 216 |
+
|
| 217 |
+
Since we aim to improve a sentiment analysis classifier with explicit WSD in a neurosymbolic fashion, vanilla RoBERTa-large (Liu et al., 2019) is
|
| 218 |
+
|
| 219 |
+
considered as the most direct baseline, because we also used it for sentiment classification. To put our model's performance into perspective, we further include published baselines with the highest reported accuracy on the experiment datasets, which consist of various pre-trained language models finetuned on the target dataset, i.e., FinBERT (Araci, 2019), DeBERTa (He et al., 2020; Sileo, 2023); and ones trained with additional resources, namely, DeBERTa+tarksource (Sileo, 2023) which is pretrained on a unified dataset for 500 English tasks, and SenticNet 7 (Cambria et al., 2022) which is a XLNet enhanced by sentiment knowledge.
|
| 220 |
+
|
| 221 |
+
# 5.3 Setups
|
| 222 |
+
|
| 223 |
+
To obtain the lexical substitution model, we fine-tune ALM with the lexical substitution datasets for 20 epochs with a batch size of 20 and a learning rate of 1e-8. The pre-trained model we used as the encoder for sentiment analysis is RoBERTa-large. The hidden size for both models is set to 1024. We use the NLTK part-of-speech tagger (Bird, 2006) to label the sentiment analysis input.
|
| 224 |
+
|
| 225 |
+
To train our proposed framework, we adopt $I = 5$ , $J = 2$ , $K = 15$ , $N = 3$ , $\tau = 0.05$ and $\beta = 0.0001$ . We set the learning rate to 1-e6. The models are trained for 50 epochs with a batch size of 10, using early stopping. We used Adam (Kingma and Ba, 2014) as the optimizer. Experiments are run on RTX A6000 GPU. Following the setups in the baselines, we adopt accuracy as an evaluation metric.
|
| 226 |
+
|
| 227 |
+
# 6 Results
|
| 228 |
+
|
| 229 |
+
We compare our model with the baselines in Table 3. Our model outperforms existing models with the best-published results, achieving state-of-the-art performance on the three datasets. Compared to the RoBERTa baseline, our model is able to improve the accuracy of sentiment analysis on corpora from different domains to varying extent. We hypothesize that the extent of improvement is dependent on domain types. For instance, Twitter language is informal and brief, with frequent use of short homographs. Thus, the integrated disambiguation model is able to obtain the most significant increase of $1.91\%$ accuracy on STS-Gold. In the financial domain, metaphors and less common word senses are commonly used, accounting for our $1.23\%$ gain on Financial PhraseBank.
|
| 230 |
+
|
| 231 |
+
Movie reviews, on the other hand, often use
|
| 232 |
+
|
| 233 |
+
<table><tr><td>Model</td><td>RT</td><td>FPB</td><td>STS-Gold</td><td>Avg</td></tr><tr><td>DeBERTa</td><td>90.42</td><td>84.48</td><td>-</td><td>87.45</td></tr><tr><td>+tasksource</td><td>90.99</td><td>85.20</td><td>-</td><td>88.10</td></tr><tr><td>FinBERT</td><td>-</td><td>86.00</td><td>-</td><td>-</td></tr><tr><td>SenticNet 7</td><td>-</td><td>-</td><td>90.08</td><td>-</td></tr><tr><td>RoBERTa</td><td>91.31</td><td>87.09</td><td>97.14</td><td>91.85</td></tr><tr><td>Ours</td><td>91.87*</td><td>88.32*</td><td>99.05*</td><td>93.08</td></tr></table>
|
| 234 |
+
|
| 235 |
+
Table 3: Comparisons with baselines. RT stands for Rotten Tomatoes. FPB stands for Financial PhraseBank. Bold font denotes the best results. The RoBERTa baseline was implemented by us. * denotes the improvement is statistically significant ( $p < 0.01$ on a two-tailed t-test), against the highest baseline score. Our results are averaged over 5 runs.
|
| 236 |
+
|
| 237 |
+
standard expressions that are semantically clearer. Hence, our model obtains a marginal increase of $0.56\%$ on Rotten Tomatoes. Despite the improvement being marginal on average, i.e., $1.23\%$ , we would like to highlight that this improvement is significant considering the context of error propagation from the lexical substitution model. Our framework consistently demonstrates improvements across all datasets, substantiating its ability to achieve higher gains in accuracy while minimizing any potential loss. Furthermore, we can interpret the WSD outcomes and the sentiment analysis decision-making process before and after lexical substitutions from the proposed neurosymbolic framework. We will demonstrate the interpretability of the framework in Section 6.2.
|
| 238 |
+
|
| 239 |
+
# 6.1 Ablation Study
|
| 240 |
+
|
| 241 |
+
To prove the effectiveness of each component in our proposed framework, we compare with two variations: w/o WSD, where sentiment prediction is done by the sentiment analysis model without any modifications to the input; w/o DR, where the lexical substitution model is not fine-tuned during sentiment analysis training. To prove our hypothesis in WSD target word selection, we compare the proposed framework with two variations: Top-2, where the top 2 words in the input with the highest attention weights are automatically chosen as target words to be disambiguated; Rand, where 2 out of the most attended 5 words are randomly selected to be the target words. The comparison of performance is shown in Table 4. It can be observed that our full model outperforms w/o WSD by $0.28\%$ on Rotten Tomatoes, $1.03\%$ on Financial PhraseBank, and $1.43\%$ on STS-Gold.
|
| 242 |
+
|
| 243 |
+
The extent of gains in different domains is in
|
| 244 |
+
|
| 245 |
+
<table><tr><td>Model</td><td>RT</td><td>FPB</td><td>STS-Gold</td><td>Avg</td></tr><tr><td>w/o WSD</td><td>91.59</td><td>87.29</td><td>97.62</td><td>92.17</td></tr><tr><td>w/o DR</td><td>91.40</td><td>87.27</td><td>96.67</td><td>91.78</td></tr><tr><td>Top-2</td><td>91.60</td><td>87.81</td><td>97.62</td><td>92.34</td></tr><tr><td>Rand</td><td>89.72</td><td>86.30</td><td>97.14</td><td>91.05</td></tr><tr><td>Ours</td><td>91.87</td><td>88.32</td><td>99.05</td><td>93.08</td></tr></table>
|
| 246 |
+
|
| 247 |
+
Table 4: Ablation study results.
|
| 248 |
+
|
| 249 |
+
line with our hypothesis in the previous section. It shows that our disambiguation framework is indeed able to improve the accuracy of sentiment analysis by selecting the appropriate ambiguous words and paraphrasing them into semantically clearer ones. Our model also achieves higher accuracy than w/o DR on all three datasets, proving the validity and effectiveness of our dynamic rewarding mechanism. Noticeably, without dynamic rewarding and joint fine-tuning, the performance of w/o DR is weaker than w/o WSD, showing that dynamic rewarding-based fine-tuning with data from another task can effectively alleviate error propagation from lexical substitution.
|
| 250 |
+
|
| 251 |
+
Our proposed framework outperforms the Top-2 selection method on all datasets. It proves our assumption that words that are highly diverse in their senses are more likely to cause ambiguity for sentiment prediction. Rand performs the worst on all three datasets compared to w/o WSD, Top-2, and our model, indicating i) the necessity of selecting the appropriate target words to disambiguate so as not to introduce noise, and ii) the validity of choosing target words based on both their importance to the decision and their sense diversity level.
|
| 252 |
+
|
| 253 |
+
# 6.2 Interpretability Demonstration
|
| 254 |
+
|
| 255 |
+
Since an interpretable encoder (HAN) is used in our framework to learn sequential representations, we can understand which words contribute the most to a sentiment analysis prediction by visualizing the attention weights of HAN.
|
| 256 |
+
|
| 257 |
+
As shown in Figure 2, we conduct a study on the change of attention weights before and after paraphrasing. In Figure 2 (a), the words that receive the most attention in the original sentence are not, $a$ , sore, etc., among which not has significantly higher weight. This indicates that the model is mostly relying on negation to make inference. As not does not have diverse meaning and $a$ is an article, sore is selected as target word and replaced with painful. Our attention module assigns a much higher weight to the negative adjective after paraphrasing.
|
| 258 |
+
|
| 259 |
+
This shows that our model is able to find suitable
|
| 260 |
+
|
| 261 |
+

|
| 262 |
+
Figure 2: The most attended word demonstration before and after paraphrasing in sentiment analysis predictions. The lighter the color, the higher the attention weight.
|
| 263 |
+
|
| 264 |
+
word substitutions that aid the correct sentiment predictions. From Figure 2 (b), we can observe a rather evenly distributed attention weights in the original sentence, meaning that the attention module cannot identify the words that significantly affect sentiment. After our framework replaces the word decreased to fell, the model is able to assign higher weights to the sentiment-loaded phrase profit fell. From Figure 2 (c), we can see that after replacing the word mediocre with average, the sentiment related words including the paraphrased word and unaware all received higher attention. By attending to the straightforward paraphrases expressing opinions, the sentiment analysis model can yield correct predictions for all three cases.
|
| 265 |
+
|
| 266 |
+
# 6.3 Case Study
|
| 267 |
+
|
| 268 |
+
In Table 5, we study the ability of our framework to identify and paraphrase ambiguous words into unequivocal ones. In the first instance, albeit not affecting the prediction, the word delicious is disambiguated by our framework into its figurative meaning delighted instead of its literal one. In the second instance, the word succeeds has a more positive word sense equating to win, and a more neutral one equating to follow. Our framework is able to paraphrase it into the latter. In the last instance, the word visibility falls under the word sense of degree of exposure to public notice in this context. Our framework correctly paraphrases it into profile, which is the synonym under the same sense in WordNet. It can be concluded that our framework can disambiguate word senses in a transparent and interpretable way for sentiment analysis.
|
| 269 |
+
|
| 270 |
+
<table><tr><td>Setup</td><td>Content</td></tr><tr><td>Original</td><td>a delicious and delicately funny look at the residents of a copenhagen neighborhood coping with the befuddling complications life tosses at them.</td></tr><tr><td>Paraphrased</td><td>a delighted and delicately funny look at the residents of a copenhagen neighborhood coping with the befuddling complications life tosses at them.</td></tr><tr><td>Original</td><td>Le Lay succeeds Walter G++nter and will be based in Finland.</td></tr><tr><td>Paraphrased</td><td>Le Lay follows Walter G++nter and will be based in Finland.</td></tr><tr><td>Original</td><td>Strong brand visibility nationally and regionally is of primary importance in home sales, vehicle and consumer advertising.</td></tr><tr><td>Paraphrased</td><td>Strong brand profile nationally and regionally is of primary importance in home sales, vehicle and consumer advertising.</td></tr></table>
|
| 271 |
+
|
| 272 |
+
# 6.4 Error Analysis
|
| 273 |
+
|
| 274 |
+
Finally, we perform a brief error analysis (Table 6). In the first sentence, the model wrongly paraphrases force into power, because it does not recognize the multi-word idiom tour de force. It shows the model's limitation in understanding the semantic meaning of infrequent multi-word idiom. In the second sentence, the word just is wrongly paraphrased as good, which negatively influenced the sentiment prediction. This is mainly due to the part-of-speech tagger wrongly classifying the word just into a adjective, instead of an adverb. Thus, the lexical substitution module might be subjected to error propagation of the part-of-speech tagger and introduce noise into the input. In the last sentence, the word skills is paraphrased as science. It is likely that the model mistakes the word major as a field of study instead of a student studying a field. Thus, the substitution makes sense in the local context the science of calculus major, but not in the whole context, meaning that the model fails to understand the semantic meaning of the sentence.
|
| 275 |
+
|
| 276 |
+
# 7 Conclusion
|
| 277 |
+
|
| 278 |
+
In this work, we propose a neurosymbolic framework for sentiment analysis that incorporates the disambiguation of word senses by identifying and paraphrasing ambiguous words in the input, which is realized by leveraging a pre-trained lexical substitution model. The proposed framework not only improves the accuracy of sentiment analysis, but also achieves interpretability by enabling us to trace back which words are paraphrased and what words they are replaced with.
|
| 279 |
+
|
| 280 |
+
Table 5: Case study of disambiguation as paraphrasing.
|
| 281 |
+
|
| 282 |
+
<table><tr><td>Setup</td><td>Content</td><td>Label</td></tr><tr><td>Original</td><td>a tour de force of modern cinema.</td><td>Positive</td></tr><tr><td>Paraphrased</td><td>a tour de power of modern cinema.</td><td>Positive</td></tr><tr><td>Original</td><td>Is just at work for the day -sigh- I have a headache</td><td>Negative</td></tr><tr><td>Paraphrased</td><td>Is good at work for the day -sigh- I have a headache</td><td>Positive</td></tr><tr><td>Original</td><td>the skills of a calculus major at m.i.t. are required to balance all the formulaic equations in the long-winded heist comedy who is cletis tout?</td><td>Negative</td></tr><tr><td>Paraphrased</td><td>the science of a calculus major at m.i.t. are required to balance all the formulaic equations in the long-winded heist comedy who is cletis tout?</td><td>Positive</td></tr></table>
|
| 283 |
+
|
| 284 |
+
Table 6: Error analysis. Red indicates errors made by our proposed framework.
|
| 285 |
+
|
| 286 |
+
Additionally, to fine-tune the lexical substitution model to provide better disambiguating substitutes for sentiment analysis with no ground-truth word sense labels, we adopt the dynamic rewarding mechanism to jointly train the sentiment analysis and lexical substitution models. Experiments show that our framework is indeed effective in improving the performance of sentiment analysis, obtaining state-of-the-art performance on three corpora from different domains.
|
| 287 |
+
|
| 288 |
+
# Limitations
|
| 289 |
+
|
| 290 |
+
The framework proposed in this paper have to be seen in light of some limitations. First, the performance of sentiment analysis to some extent depends on a decent-performing pre-trained lexical substitution model. Currently, polysemous samples in lexical substitution data are not as abundant as in WSD data, which might limit its ability in disambiguating less common polysemies. Second, the effectiveness of our proposed model is only tested on English corpora, as it relies on the sense knowledge from WordNet. The disambiguation target selection and paraphrasing methods might work on languages with more complex segmentation or limited sense lexicon.
|
| 291 |
+
|
| 292 |
+
# References
|
| 293 |
+
|
| 294 |
+
Abien Fred Agarap. 2018. Deep learning using rectified linear units (ReLU). arXiv preprint arXiv:1803.08375.
|
| 295 |
+
|
| 296 |
+
Dogu Araci. 2019. FinBERT: Financial sentiment analysis with pre-trained language models. arXiv preprint arXiv:1908.10063.
|
| 297 |
+
Philip Arthur, Graham Neubig, Sakriani Sakti, Tomoki Toda, and Satoshi Nakamura. 2015. Semantic parsing of ambiguous input through paraphrasing and verification. Transactions of the Association for Computational Linguistics, 3:571-584.
|
| 298 |
+
Stefano Baccianella, Andrea Esuli, and Fabrizio Sebastiani. 2010. SentiWordNet 3.0: An enhanced lexical resource for sentiment analysis and opinion mining. In Proceedings of the Seventh International Conference on Language Resources and Evaluation (LREC'10).
|
| 299 |
+
Edoardo Barba, Tommaso Pasini, and Roberto Navigli. 2021a. ESC: Redesigning WSD with Extractive Sense Comprehension. In Proceedings of the 2021 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pages 4661-4672, Online. Association for Computational Linguistics.
|
| 300 |
+
Edoardo Barba, Luigi Procopio, and Roberto Navigli. 2021b. ConSeC: Word sense disambiguation as continuous sense comprehension. In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing, pages 1492-1503, Online and Punta Cana, Dominican Republic. Association for Computational Linguistics.
|
| 301 |
+
Michele Bevilacqua and Roberto Navigli. 2020. Breaking through the $80\%$ glass ceiling: Raising the state of the art in word sense disambiguation by incorporating knowledge graph information. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pages 2854-2864.
|
| 302 |
+
Steven Bird. 2006. NLTK: the natural language toolkit. In Proceedings of the COLING/ACL 2006 Interactive Presentation Sessions, pages 69-72.
|
| 303 |
+
Terra Blevins and Luke Zettlemoyer. 2020. Moving down the long tail of word sense disambiguation with gloss-informed biencoders. arXiv preprint arXiv:2005.02590.
|
| 304 |
+
Erik Cambria, Qian Liu, Sergio Decherchi, Frank Xing, and Kenneth Kwok. 2022. SenticNet 7: A commonsense-based neurosymbolic AI framework for explainable sentiment analysis. In Proceedings of the Thirteenth Language Resources and Evaluation Conference, pages 3829-3839.
|
| 305 |
+
Erik Cambria, Rui Mao, Melvin Chen, Zhaoxia Wang, and Seng-Beng Ho. 2023. Seven pillars for the future of AI. IEEE Intelligent Systems, 38(6).
|
| 306 |
+
Erik Cambria, Soujanya Poria, Federica Bisio, Rajiv Bajpai, and Iti Chaturvedi. 2015. The CLSA model: A novel framework for concept-level sentiment analysis. In LNCS, volume 9042, pages 3-22. Springer.
|
| 307 |
+
|
| 308 |
+
Erik Cambria, Soujanya Poria, Alexander Gelbukh, and Mike Thelwall. 2017. Sentiment analysis is a big suitcase. IEEE Intelligent Systems, 32(6):74-80.
|
| 309 |
+
Niccolò Campolungo, Tommaso Pasini, Denis Emelin, and Roberto Navigli. 2022. Reducing disambiguation biases in NMT by leveraging explicit word sense information. In Proceedings of the 2022 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pages 4824-4838.
|
| 310 |
+
Yanfang Cao, Pu Zhang, and Anping Xiong. 2015. Sentiment analysis based on expanded aspect and polarity-ambiguous word lexicon. International Journal of Advanced Computer Science and Applications, 6(2).
|
| 311 |
+
Ann Devitt and Khurshid Ahmad. 2007. Sentiment polarity identification in financial news: A cohesion-based approach. In Proceedings of the 45th Annual Meeting of the Association of Computational Linguistics, pages 984-991.
|
| 312 |
+
Philip Edmonds and Adam Kilgarriff. 2002. Introduction to the special issue on evaluating word sense disambiguation systems. Natural Language Engineering, 8(4):279-291.
|
| 313 |
+
Umar Farooq, Tej Prasad Dhamala, Antoine Nongaillard, Yacine Ouzrout, and Muhammad Abdul Qadir. 2015. A word sense disambiguation method for feature level sentiment analysis. In 2015 9th International Conference on Software, Knowledge, Information Management and Applications (SKIMA), pages 1-8. IEEE.
|
| 314 |
+
Christiane Fellbaum. 1998. WordNet: An electronic lexical database. MIT press.
|
| 315 |
+
Mengshi Ge, Rui Mao, and Erik Cambria. 2022. Explanable metaphor identification inspired by conceptual metaphor theory. Proceedings of the AAAI Conference on Artificial Intelligence, 36(10):10681-10689.
|
| 316 |
+
Sooji Han, Rui Mao, and Erik Cambria. 2022. Hierarchical attention network for explainable depression detection on Twitter aided by metaphor concept mappings. In Proceedings of the 29th International Conference on Computational Linguistics (COLING), pages 94-104.
|
| 317 |
+
Viktor Hangya, Qianchu Liu, Dario Stojanovski, Alexander Fraser, and Anna Korhonen. 2021. Improving machine translation of rare and unseen word senses. In Proceedings of the Sixth Conference on Machine Translation, pages 614-624.
|
| 318 |
+
Pengcheng He, Xiaodong Liu, Jianfeng Gao, and Weizhu Chen. 2020. DeBERTa: Decoding-enhanced BERT with disentangled attention. arXiv preprint arXiv:2006.03654.
|
| 319 |
+
|
| 320 |
+
Luyao Huang, Chi Sun, Xipeng Qiu, and Xuanjing Huang. 2019. GlossBERT: BERT for word sense disambiguation with gloss knowledge. arXiv preprint arXiv:1908.07245.
|
| 321 |
+
Chihli Hung and Shiuman-Jeng Chen. 2016. Word sense disambiguation based sentiment lexicons for sentiment classification. Knowledge-Based Systems, 110:224-232.
|
| 322 |
+
Chihli Hung and Hao-Kai Lin. 2013. Using objective words in SentiWordNet to improve word-of-mouth sentiment classification. IEEE Intelligent Systems, 28(02):47-54.
|
| 323 |
+
Diederik P Kingma and Jimmy Ba. 2014. Adam: A method for stochastic optimization. arXiv preprint arXiv:1412.6980.
|
| 324 |
+
Gerhard Kremer, Katrin Erk, Sebastian Padó, and Stefan Thater. 2014. What substitutes tell us-analysis of an "all-words" lexical substitution corpus. In Proceedings of the 14th Conference of the European Chapter of the Association for Computational Linguistics, pages 540-549.
|
| 325 |
+
Frederick Liu, Han Lu, and Graham Neubig. 2018. Handling homographs in neural machine translation. 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 1336-1345.
|
| 326 |
+
Yinhan Liu, Myle Ott, Naman Goyal, Jingfei Du, Mandar Joshi, Danqi Chen, Omer Levy, Mike Lewis, Luke Zettlemoyer, and Veselin Stoyanov. 2019. RoBERTa: A robustly optimized bert pretraining approach. arXiv preprint arXiv:1907.11692.
|
| 327 |
+
P. Malo, A. Sinha, P. Korhonen, J. Wallenius, and P. Takala. 2014. Good debt or bad debt: Detecting semantic orientations in economic texts. Journal of the Association for Information Science and Technology, 65.
|
| 328 |
+
Rui Mao, Kai He, Claudia Beth Ong, Qian Liu, and Erik Cambria. 2023a. MetaPro 2.0: Computational metaphor processing on the effectiveness of anomalous language modeling.
|
| 329 |
+
Rui Mao and Xiao Li. 2021. Bridging towers of multitask learning with a gating mechanism for aspect-based sentiment analysis and sequential metaphor identification. Proceedings of the AAAI Conference on Artificial Intelligence, 35(15):13534-13542.
|
| 330 |
+
Rui Mao, Xiao Li, Kai He, Mengshi Ge, and Erik Cambria. 2023b. MetaPro Online: A computational metaphor processing online system. In Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics (Volume 3: System Demonstrations), pages 127-135.
|
| 331 |
+
Rui Mao, Qian Liu, Kai He, Wei Li, and Erik Cambria. 2023c. The biases of pre-trained language models:
|
| 332 |
+
|
| 333 |
+
An empirical study on prompt-based sentiment analysis and emotion detection. IEEE Transactions on Affective Computing, 14(3):1743-1753.
|
| 334 |
+
Marco Maru, Simone Conia, Michele Bevilacqua, and Roberto Navigli. 2022. Nibbling at the hard core of Word Sense Disambiguation. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 4724-4737.
|
| 335 |
+
Diana McCarthy and Roberto Navigli. 2007. SemEval-2007 task 10: English lexical substitution task. In Proceedings of the 4th International Workshop on Semantic Evaluations, SemEval '07, pages 48-53.
|
| 336 |
+
Arman Khadjeh Nassirtoussi, Saeed Aghabozorgi, Teh Ying Wah, and David Chek Ling Ngo. 2015. Text mining of news-headlines for forex market prediction: A multi-layer dimension reduction algorithm with semantics and sentiment. Expert Systems with Applications, 42(1):306-324.
|
| 337 |
+
Bruno Ohana and Brendan Tierney. 2009. Sentiment classification of reviews using SentiWordNet. Proceedings of IT&T, 8.
|
| 338 |
+
Aaron van den Oord, Yazhe Li, and Oriol Vinyals. 2018. Representation learning with contrastive predictive coding.
|
| 339 |
+
Martha Palmer, Hoa Trang Dang, and Christiane Fellbaum. 2007. Making fine-grained and coarse-grained sense distinctions, both manually and automatically. Natural Language Engineering, 13(2):137-163.
|
| 340 |
+
Bo Pang and Lillian Lee. 2005. Seeing stars: Exploiting class relationships for sentiment categorization with respect to rating scales. In Proceedings of the ACL.
|
| 341 |
+
Xiao Pu, Nikolaos Pappas, James Henderson, and Andrei Popescu-Belis. 2018. Integrating weakly supervised word sense disambiguation into neural machine translation. Transactions of the Association for Computational Linguistics, 6:635-649.
|
| 342 |
+
Rachel Elizabeth Ramsey. 2017. An exemplar-theoretic account of word senses. University of Northumbria at Newcastle (United Kingdom).
|
| 343 |
+
Hassan Saif, Miriam Fernandez, Yulan He, and Harith Alani. 2013. Evaluation datasets for Twitter sentiment analysis: A survey and a new dataset, the STS-Gold. Emotion and Sentiment in Social and Expressive Media.
|
| 344 |
+
Damien Sileo. 2023. tasksource: A dataset harmonization framework for streamlined NLP multitask learning and evaluation. arXiv preprint arXiv:2301.05948v3.
|
| 345 |
+
Yang Song, Xin Cai Ong, Hwee Tou Ng, and Qian Lin. 2021. Improved word sense disambiguation with enhanced sense representations. In *Findings of the Association for Computational Linguistics: EMNLP* 2021, pages 4311-4320.
|
| 346 |
+
|
| 347 |
+
Yunqing Xia, Erik Cambria, Amir Hussain, and Huan Zhao. 2015. Word polarity disambiguation using bayesian model and opinion-level features. Cognitive Computation, 7(3):369-380.
|
| 348 |
+
Yunqing Xia, Huan Zhao, Erik Cambria, and Amir Hussain. 2014. Disambiguating word sentiment polarity through bayesian modeling and opinion-level features. In Proceedings of ICML Workshops.
|
2023/Neuro-Symbolic Sentiment Analysis with Dynamic Word Sense Disambiguation/images.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c4ba67f8ef91319af6d814f3dafc29ff7987a7914173d32abec7f5c53149e80d
|
| 3 |
+
size 541454
|
2023/Neuro-Symbolic Sentiment Analysis with Dynamic Word Sense Disambiguation/layout.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2023/New Datasets and Controllable Iterative Data Augmentation Method for Code-switching ASR Error Correction/704f5812-1da2-4355-bf1f-7c6e5a7b4a97_content_list.json
ADDED
|
@@ -0,0 +1,2189 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"type": "text",
|
| 4 |
+
"text": "New Datasets and Controllable Iterative Data Augmentation Method for Code-switching ASR Error Correction",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
124,
|
| 8 |
+
87,
|
| 9 |
+
872,
|
| 10 |
+
127
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Zhaohong Wan $^{1,2}$ and Xiaojun Wan $^{1,2}$ and Wei Peng $^{3}$ and Rongjun Li $^{3}$",
|
| 17 |
+
"bbox": [
|
| 18 |
+
184,
|
| 19 |
+
141,
|
| 20 |
+
815,
|
| 21 |
+
159
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "$^{1}$ Wangxuan Institute of Computer Technology, Peking University",
|
| 28 |
+
"bbox": [
|
| 29 |
+
236,
|
| 30 |
+
159,
|
| 31 |
+
764,
|
| 32 |
+
175
|
| 33 |
+
],
|
| 34 |
+
"page_idx": 0
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"type": "text",
|
| 38 |
+
"text": "2The MOE Key Laboratory of Computational Linguistics, Peking University",
|
| 39 |
+
"bbox": [
|
| 40 |
+
191,
|
| 41 |
+
175,
|
| 42 |
+
808,
|
| 43 |
+
192
|
| 44 |
+
],
|
| 45 |
+
"page_idx": 0
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"type": "text",
|
| 49 |
+
"text": "<sup>3</sup> Artificial Intelligence Application Research Center, Huawei Technologies {xmwzh, wanxiaojun}@pku.edu.cn",
|
| 50 |
+
"bbox": [
|
| 51 |
+
196,
|
| 52 |
+
192,
|
| 53 |
+
805,
|
| 54 |
+
225
|
| 55 |
+
],
|
| 56 |
+
"page_idx": 0
|
| 57 |
+
},
|
| 58 |
+
{
|
| 59 |
+
"type": "text",
|
| 60 |
+
"text": "Abstract",
|
| 61 |
+
"text_level": 1,
|
| 62 |
+
"bbox": [
|
| 63 |
+
260,
|
| 64 |
+
252,
|
| 65 |
+
339,
|
| 66 |
+
268
|
| 67 |
+
],
|
| 68 |
+
"page_idx": 0
|
| 69 |
+
},
|
| 70 |
+
{
|
| 71 |
+
"type": "text",
|
| 72 |
+
"text": "With the wide use of automatic speech recognition (ASR) systems, researchers pay more attention to the ASR error correction task to improve the quality of recognition results. In particular, ASR in bilingual or multilingual settings, namely code-switching ASR, has greater challenges and research value. In this paper, we first present code-switching ASR correction datasets obtained from solid ASR systems and automatic annotators. The datasets contain Chinese-English code-switching dialogues of bilingual speakers in Singapore, Malaysia, and Hong Kong. Based on this task, we propose a controllable iterative (CI) data augmentation method for improving the performance of mainstream ASR error correction systems. With a small amount of training data, our proposed method has the ability to iteratively produce abundant pseudo parallel data from the monolingual corpus for Chinese-English code-switching ASR correction. Results of experiments show that our method achieves the best performance compared with the rule-based, back-translation-based data augmentation methods and large language model ChatGPT.",
|
| 73 |
+
"bbox": [
|
| 74 |
+
144,
|
| 75 |
+
282,
|
| 76 |
+
460,
|
| 77 |
+
650
|
| 78 |
+
],
|
| 79 |
+
"page_idx": 0
|
| 80 |
+
},
|
| 81 |
+
{
|
| 82 |
+
"type": "text",
|
| 83 |
+
"text": "1 Introduction",
|
| 84 |
+
"text_level": 1,
|
| 85 |
+
"bbox": [
|
| 86 |
+
114,
|
| 87 |
+
665,
|
| 88 |
+
258,
|
| 89 |
+
682
|
| 90 |
+
],
|
| 91 |
+
"page_idx": 0
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"type": "text",
|
| 95 |
+
"text": "Recently, automatic speech recognition (ASR) system has achieved impressive success with the adoption of advanced deep neural network (Moritz et al., 2020). Learning from training data, the ASR system can match human transcribers for some critical tasks. It has been widely applied in several areas, such as live captioning, intelligent appliance control (Aliprandi et al., 2014).",
|
| 96 |
+
"bbox": [
|
| 97 |
+
112,
|
| 98 |
+
693,
|
| 99 |
+
489,
|
| 100 |
+
820
|
| 101 |
+
],
|
| 102 |
+
"page_idx": 0
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"type": "text",
|
| 106 |
+
"text": "In some bilingual and multilingual societies, people often speak more than one language in a conversation. The speech phenomenon of switching language among sentences is called code-switching. To explore the code-switching phenomenon, code-switching tasks in many different",
|
| 107 |
+
"bbox": [
|
| 108 |
+
112,
|
| 109 |
+
822,
|
| 110 |
+
489,
|
| 111 |
+
917
|
| 112 |
+
],
|
| 113 |
+
"page_idx": 0
|
| 114 |
+
},
|
| 115 |
+
{
|
| 116 |
+
"type": "table",
|
| 117 |
+
"img_path": "images/4728699cfd3432b669185b6b4a9e8c15070498f0fcddf0bcfa1eedb2ab0f39be.jpg",
|
| 118 |
+
"table_caption": [],
|
| 119 |
+
"table_footnote": [],
|
| 120 |
+
"table_body": "<table><tr><td>Error Type</td><td>Redundant</td></tr><tr><td>Source</td><td>我要 start on 我的 a essay\n(I want to start on my a essay.)</td></tr><tr><td>Target</td><td>我要 start on 我的 essay\n(I want to start on my essay.)</td></tr></table>",
|
| 121 |
+
"bbox": [
|
| 122 |
+
542,
|
| 123 |
+
249,
|
| 124 |
+
848,
|
| 125 |
+
313
|
| 126 |
+
],
|
| 127 |
+
"page_idx": 0
|
| 128 |
+
},
|
| 129 |
+
{
|
| 130 |
+
"type": "text",
|
| 131 |
+
"text": "Table 1: Examples of Chinese-English code-switching ASR error correction in our datasets. The contents in brackets are the translations for non-native Chinese speakers.",
|
| 132 |
+
"bbox": [
|
| 133 |
+
507,
|
| 134 |
+
325,
|
| 135 |
+
882,
|
| 136 |
+
381
|
| 137 |
+
],
|
| 138 |
+
"page_idx": 0
|
| 139 |
+
},
|
| 140 |
+
{
|
| 141 |
+
"type": "text",
|
| 142 |
+
"text": "language pairs have been introduced (Dowlagar and Mamidi, 2023; Seddah et al., 2020), including the code-switching ASR task.",
|
| 143 |
+
"bbox": [
|
| 144 |
+
507,
|
| 145 |
+
413,
|
| 146 |
+
882,
|
| 147 |
+
460
|
| 148 |
+
],
|
| 149 |
+
"page_idx": 0
|
| 150 |
+
},
|
| 151 |
+
{
|
| 152 |
+
"type": "text",
|
| 153 |
+
"text": "Employing multilingual ASR systems to solve code-switching ASR is proposed in recent work (Lovenia et al., 2021). However, the performance of systems in many cases is still far from satisfactory. Errors introduced by ASR systems usually affect the performance of downstream tasks. To improve the recognition performance, the code-switching ASR error correction task is necessary.",
|
| 154 |
+
"bbox": [
|
| 155 |
+
507,
|
| 156 |
+
463,
|
| 157 |
+
882,
|
| 158 |
+
590
|
| 159 |
+
],
|
| 160 |
+
"page_idx": 0
|
| 161 |
+
},
|
| 162 |
+
{
|
| 163 |
+
"type": "text",
|
| 164 |
+
"text": "In this paper, we focus on code-switching ASR error correction between Chinese and English, which is common in the Chinese communities of Asia area. To enable the research and development of code-switching ASR error correction, we propose two datasets SEAME-C and ASCEND-C that are constructed from two Chinese-English code-switching ASR datasets SEAME (Lyu et al., 2010) and ASCEND (Lovenia et al., 2021). In Table 1, we present typical examples of Chinese-English code-switching ASR error correction.",
|
| 165 |
+
"bbox": [
|
| 166 |
+
507,
|
| 167 |
+
595,
|
| 168 |
+
882,
|
| 169 |
+
770
|
| 170 |
+
],
|
| 171 |
+
"page_idx": 0
|
| 172 |
+
},
|
| 173 |
+
{
|
| 174 |
+
"type": "text",
|
| 175 |
+
"text": "A challenge for the code-switching ASR error correction is the lack of a large scale of training data. Moreover, we can not even collect sufficient high-quality Chinese-English code-switching data. Considering these challenges, we propose a controllable iterative (CI) data augmentation method that can iteratively generate abundant code-switching ASR error correction instances from the monolingual corpus with small-scale labeled training data.",
|
| 176 |
+
"bbox": [
|
| 177 |
+
507,
|
| 178 |
+
774,
|
| 179 |
+
884,
|
| 180 |
+
917
|
| 181 |
+
],
|
| 182 |
+
"page_idx": 0
|
| 183 |
+
},
|
| 184 |
+
{
|
| 185 |
+
"type": "page_number",
|
| 186 |
+
"text": "8075",
|
| 187 |
+
"bbox": [
|
| 188 |
+
480,
|
| 189 |
+
927,
|
| 190 |
+
519,
|
| 191 |
+
940
|
| 192 |
+
],
|
| 193 |
+
"page_idx": 0
|
| 194 |
+
},
|
| 195 |
+
{
|
| 196 |
+
"type": "footer",
|
| 197 |
+
"text": "Findings of the Association for Computational Linguistics: EMNLP 2023, pages 8075-8087",
|
| 198 |
+
"bbox": [
|
| 199 |
+
216,
|
| 200 |
+
945,
|
| 201 |
+
778,
|
| 202 |
+
957
|
| 203 |
+
],
|
| 204 |
+
"page_idx": 0
|
| 205 |
+
},
|
| 206 |
+
{
|
| 207 |
+
"type": "footer",
|
| 208 |
+
"text": "December 6-10, 2023 ©2023 Association for Computational Linguistics",
|
| 209 |
+
"bbox": [
|
| 210 |
+
277,
|
| 211 |
+
957,
|
| 212 |
+
719,
|
| 213 |
+
971
|
| 214 |
+
],
|
| 215 |
+
"page_idx": 0
|
| 216 |
+
},
|
| 217 |
+
{
|
| 218 |
+
"type": "text",
|
| 219 |
+
"text": "To verify the effectiveness of our proposed method, we implement two data augmentation baselines and evaluate the performance of these methods on proposed datasets at first. With a similar scale of augmented data, our proposed controllable iterative method achieves the best performance in both MaxMatch $(M^2)$ scorer (Dahlmeier and Ng, 2012) and MER metrics on SEAME-C and ASCEND-C datasets. It performs well for both mT5 (Xue et al., 2021) and mBART (Tang et al., 2020) correction methods. Besides, considering the strong ability of large language models (LLM), we compare the performance of our method with the most powerful LLM ChatGPT. Experiments show that our method outdistances the ChatGPT method, which shows the effectiveness of our method in the Chinese-English code-switching ASR error correction task. Besides, we find that this task is challenging, and LLM method is far from achieving satisfactory results at now.",
|
| 220 |
+
"bbox": [
|
| 221 |
+
112,
|
| 222 |
+
84,
|
| 223 |
+
492,
|
| 224 |
+
405
|
| 225 |
+
],
|
| 226 |
+
"page_idx": 1
|
| 227 |
+
},
|
| 228 |
+
{
|
| 229 |
+
"type": "text",
|
| 230 |
+
"text": "Our contributions are summarized as follows:",
|
| 231 |
+
"bbox": [
|
| 232 |
+
131,
|
| 233 |
+
407,
|
| 234 |
+
473,
|
| 235 |
+
420
|
| 236 |
+
],
|
| 237 |
+
"page_idx": 1
|
| 238 |
+
},
|
| 239 |
+
{
|
| 240 |
+
"type": "list",
|
| 241 |
+
"sub_type": "text",
|
| 242 |
+
"list_items": [
|
| 243 |
+
"1. We propose two datasets SEAME-C and ASCEND-C for the challenging Chinese-English code-switching ASR error correction task.",
|
| 244 |
+
"2. To address the problem of lacking sufficient training data, we propose the controllable iterative data augmentation method that can iteratively generate abundant code-switching ASR error correction instances from the monolingual corpus.",
|
| 245 |
+
"3. Extensive experiments show the superiority of our proposed controllable iterative method. Moreover, combining the pseudo data produced by the rule-based and controllable iterative methods can further improve the performance of error correction models."
|
| 246 |
+
],
|
| 247 |
+
"bbox": [
|
| 248 |
+
112,
|
| 249 |
+
423,
|
| 250 |
+
487,
|
| 251 |
+
646
|
| 252 |
+
],
|
| 253 |
+
"page_idx": 1
|
| 254 |
+
},
|
| 255 |
+
{
|
| 256 |
+
"type": "text",
|
| 257 |
+
"text": "The resources are publicly available<sup>1</sup>.",
|
| 258 |
+
"bbox": [
|
| 259 |
+
132,
|
| 260 |
+
649,
|
| 261 |
+
413,
|
| 262 |
+
665
|
| 263 |
+
],
|
| 264 |
+
"page_idx": 1
|
| 265 |
+
},
|
| 266 |
+
{
|
| 267 |
+
"type": "text",
|
| 268 |
+
"text": "2 Related Work",
|
| 269 |
+
"text_level": 1,
|
| 270 |
+
"bbox": [
|
| 271 |
+
114,
|
| 272 |
+
678,
|
| 273 |
+
270,
|
| 274 |
+
694
|
| 275 |
+
],
|
| 276 |
+
"page_idx": 1
|
| 277 |
+
},
|
| 278 |
+
{
|
| 279 |
+
"type": "text",
|
| 280 |
+
"text": "Code-switching ASR, the task aiming to recognize the speech that contains more than one language within the sentences, has been increasingly reported in speech technology and linguistic studies recently (Su, 2001; Auer, 2013). However, to our knowledge, there is no research on the code-switching ASR error correction task at present. In this section, we introduce two relevant fields: ASR error correction and data augmentation method in text error correction.",
|
| 281 |
+
"bbox": [
|
| 282 |
+
112,
|
| 283 |
+
705,
|
| 284 |
+
489,
|
| 285 |
+
864
|
| 286 |
+
],
|
| 287 |
+
"page_idx": 1
|
| 288 |
+
},
|
| 289 |
+
{
|
| 290 |
+
"type": "text",
|
| 291 |
+
"text": "With the successes of ASR systems, the ASR",
|
| 292 |
+
"bbox": [
|
| 293 |
+
132,
|
| 294 |
+
866,
|
| 295 |
+
487,
|
| 296 |
+
882
|
| 297 |
+
],
|
| 298 |
+
"page_idx": 1
|
| 299 |
+
},
|
| 300 |
+
{
|
| 301 |
+
"type": "text",
|
| 302 |
+
"text": "error correction has become a prevalent task in recent years. The idea of regarding the ASR error correction as the machine translation and applied advanced neural machine translation models is adopted in several previous approaches(Mani et al., 2020; Wang et al., 2020). D'Haro and Banchs (2016) first introduce machine translation to improve automatic transcription. Considering the machine translation models require only parallel text pairs, Guo et al. (2019) propose an approach to utilizing text-only data by training a correction model to explicitly correct the errors. The joint modeling method shows great performance in this task(Wang et al., 2023). Re-ranking ASR n-best hypotheses is also a popular topic for error recovery (Corona et al., 2017; Jonson, 2006).",
|
| 303 |
+
"bbox": [
|
| 304 |
+
507,
|
| 305 |
+
84,
|
| 306 |
+
884,
|
| 307 |
+
340
|
| 308 |
+
],
|
| 309 |
+
"page_idx": 1
|
| 310 |
+
},
|
| 311 |
+
{
|
| 312 |
+
"type": "text",
|
| 313 |
+
"text": "To address the problem of lack of training data, data augmentation method is widely adopted in text error correction area. Many works (Grundkiewicz et al., 2019; Lichtarge et al., 2019) adopt pre-defined rules to generate sentences with errors. Inspired by back-translation procedure for machine translation (Sennrich et al., 2016), works (Xie et al., 2018; Kiyono et al., 2019) are proposed to train a model to generate erroneous sentences. Recently, researchers focus on the exposure bias problem of data augmentation method and proposed methods to utilize the augmented data in more effective ways (Solyman et al., 2023; Cao et al., 2023).",
|
| 314 |
+
"bbox": [
|
| 315 |
+
507,
|
| 316 |
+
342,
|
| 317 |
+
884,
|
| 318 |
+
551
|
| 319 |
+
],
|
| 320 |
+
"page_idx": 1
|
| 321 |
+
},
|
| 322 |
+
{
|
| 323 |
+
"type": "text",
|
| 324 |
+
"text": "3 Code-switching ASR Error Correction Datasets",
|
| 325 |
+
"text_level": 1,
|
| 326 |
+
"bbox": [
|
| 327 |
+
507,
|
| 328 |
+
565,
|
| 329 |
+
877,
|
| 330 |
+
596
|
| 331 |
+
],
|
| 332 |
+
"page_idx": 1
|
| 333 |
+
},
|
| 334 |
+
{
|
| 335 |
+
"type": "text",
|
| 336 |
+
"text": "In this section, we provide details about our two datasets SEAME-C and ASCEND-C. Specifically, we give the construction process of our datasets at first. Then, we do an analysis of our datasets and show some characteristics of them. In this work, we adopt the same corpus splitting as the original ASR datasets. In addition, we remove some bad cases that are too short and eliminate monolingual sentences in the validation and test sets to ensure the quality of evaluation. Our datasets provide quality resources for the research and development of code-switching ASR error correction. Table 2 describes the statistics of our proposed datasets.",
|
| 337 |
+
"bbox": [
|
| 338 |
+
507,
|
| 339 |
+
609,
|
| 340 |
+
882,
|
| 341 |
+
819
|
| 342 |
+
],
|
| 343 |
+
"page_idx": 1
|
| 344 |
+
},
|
| 345 |
+
{
|
| 346 |
+
"type": "text",
|
| 347 |
+
"text": "3.1 Data Construction",
|
| 348 |
+
"text_level": 1,
|
| 349 |
+
"bbox": [
|
| 350 |
+
507,
|
| 351 |
+
832,
|
| 352 |
+
702,
|
| 353 |
+
847
|
| 354 |
+
],
|
| 355 |
+
"page_idx": 1
|
| 356 |
+
},
|
| 357 |
+
{
|
| 358 |
+
"type": "text",
|
| 359 |
+
"text": "In some Asia's multilingual countries and regions, speaking a mixture of Chinese and English within a sentence is common. We collect data from two Chinese-English code-switching ASR datasets with",
|
| 360 |
+
"bbox": [
|
| 361 |
+
507,
|
| 362 |
+
854,
|
| 363 |
+
882,
|
| 364 |
+
917
|
| 365 |
+
],
|
| 366 |
+
"page_idx": 1
|
| 367 |
+
},
|
| 368 |
+
{
|
| 369 |
+
"type": "page_footnote",
|
| 370 |
+
"text": "$^{1}$ https://github.com/chopper2k/Code-switching-ASR-Error-Correction",
|
| 371 |
+
"bbox": [
|
| 372 |
+
112,
|
| 373 |
+
891,
|
| 374 |
+
470,
|
| 375 |
+
917
|
| 376 |
+
],
|
| 377 |
+
"page_idx": 1
|
| 378 |
+
},
|
| 379 |
+
{
|
| 380 |
+
"type": "page_number",
|
| 381 |
+
"text": "8076",
|
| 382 |
+
"bbox": [
|
| 383 |
+
480,
|
| 384 |
+
927,
|
| 385 |
+
521,
|
| 386 |
+
940
|
| 387 |
+
],
|
| 388 |
+
"page_idx": 1
|
| 389 |
+
},
|
| 390 |
+
{
|
| 391 |
+
"type": "table",
|
| 392 |
+
"img_path": "images/2ea7492b3adc5b942cb535d9a3487e22a91c7840d05e05c2182fe559fecf0332.jpg",
|
| 393 |
+
"table_caption": [],
|
| 394 |
+
"table_footnote": [],
|
| 395 |
+
"table_body": "<table><tr><td rowspan=\"2\"></td><td colspan=\"3\">SEAME-C</td><td colspan=\"4\">ASCEND-C</td></tr><tr><td>Train</td><td>Test</td><td>Total</td><td>Train</td><td>Val</td><td>Test</td><td>Total</td></tr><tr><td># Dialogues</td><td>267</td><td>30</td><td>297</td><td>40</td><td>5</td><td>4</td><td>49</td></tr><tr><td># Sentences</td><td>48,405</td><td>6,293</td><td>54,698</td><td>9,869</td><td>213</td><td>373</td><td>10,455</td></tr><tr><td># Tokens</td><td>801,548</td><td>99,837</td><td>901,385</td><td>122,348</td><td>3,385</td><td>5,538</td><td>131,271</td></tr><tr><td>Avg. sentences in a dialogue</td><td>181.3</td><td>209.8</td><td>174.2</td><td>246.7</td><td>53.3</td><td>92.3</td><td>213.4</td></tr><tr><td>Avg. tokens in a sentence</td><td>16.6</td><td>15.9</td><td>16.5</td><td>12.4</td><td>15.9</td><td>14.8</td><td>12.6</td></tr></table>",
|
| 396 |
+
"bbox": [
|
| 397 |
+
176,
|
| 398 |
+
80,
|
| 399 |
+
820,
|
| 400 |
+
170
|
| 401 |
+
],
|
| 402 |
+
"page_idx": 2
|
| 403 |
+
},
|
| 404 |
+
{
|
| 405 |
+
"type": "text",
|
| 406 |
+
"text": "the advanced ASR system and automatic annotator. In this part, we introduce the main components of the data construction. Details of processing and implementation are shown in the Appendix A.",
|
| 407 |
+
"bbox": [
|
| 408 |
+
112,
|
| 409 |
+
219,
|
| 410 |
+
487,
|
| 411 |
+
282
|
| 412 |
+
],
|
| 413 |
+
"page_idx": 2
|
| 414 |
+
},
|
| 415 |
+
{
|
| 416 |
+
"type": "text",
|
| 417 |
+
"text": "ASR Corpus We build the error correction instances from two Chinese-English code-switching ASR datasets: SEAME and ASCEND. SEAME is a large Chinese-English code-switching spontaneous speech corpus, collected from residents of Malaysia and Singapore. The corpus contains 30 hours of word-level transcribed code-switching speech data. ASCEND is a high-quality Chinese-English code-switching corpus built on spontaneous multi-turn conversation collected in Hong Kong. It comprises 10.62 hours of clean speech data collected from dialogues.",
|
| 418 |
+
"bbox": [
|
| 419 |
+
112,
|
| 420 |
+
284,
|
| 421 |
+
487,
|
| 422 |
+
475
|
| 423 |
+
],
|
| 424 |
+
"page_idx": 2
|
| 425 |
+
},
|
| 426 |
+
{
|
| 427 |
+
"type": "text",
|
| 428 |
+
"text": "ASR System With code-switching ASR datasets, we adopt the ASR system to obtain recognition results. For being close to the real recognition setups, we employ an advanced ASR model architecture, namely XLSR-53 (Xu et al., 2021). We fine-tune the XLSR-53 model and obtain the recognition results for datasets. The code-switching ASR error correction instances in our datasets are built by the pairs of manually annotated transcriptions and corresponding recognition results.",
|
| 429 |
+
"bbox": [
|
| 430 |
+
112,
|
| 431 |
+
478,
|
| 432 |
+
487,
|
| 433 |
+
637
|
| 434 |
+
],
|
| 435 |
+
"page_idx": 2
|
| 436 |
+
},
|
| 437 |
+
{
|
| 438 |
+
"type": "text",
|
| 439 |
+
"text": "Annotator We develop an automatic annotator for the Chinese-English code-switching corpus, based on prior works in English and Chinese (Bryant et al., 2017; Hinson et al., 2020). It takes three steps, tokenization, alignment, and merging, to generate annotations that are suitable for MaxMatch $(M_2)$ evaluation metrics. Besides, the automatic annotator is able to classify errors into four types: redundant (R), missing (M), word selection (S), and word ordering (W). It allows researchers to conduct more detailed experiments and analyses with different error types.",
|
| 440 |
+
"bbox": [
|
| 441 |
+
112,
|
| 442 |
+
639,
|
| 443 |
+
487,
|
| 444 |
+
832
|
| 445 |
+
],
|
| 446 |
+
"page_idx": 2
|
| 447 |
+
},
|
| 448 |
+
{
|
| 449 |
+
"type": "text",
|
| 450 |
+
"text": "3.2 Analysis",
|
| 451 |
+
"text_level": 1,
|
| 452 |
+
"bbox": [
|
| 453 |
+
112,
|
| 454 |
+
845,
|
| 455 |
+
226,
|
| 456 |
+
859
|
| 457 |
+
],
|
| 458 |
+
"page_idx": 2
|
| 459 |
+
},
|
| 460 |
+
{
|
| 461 |
+
"type": "text",
|
| 462 |
+
"text": "3.2.1 Language Distribution",
|
| 463 |
+
"text_level": 1,
|
| 464 |
+
"bbox": [
|
| 465 |
+
112,
|
| 466 |
+
866,
|
| 467 |
+
351,
|
| 468 |
+
881
|
| 469 |
+
],
|
| 470 |
+
"page_idx": 2
|
| 471 |
+
},
|
| 472 |
+
{
|
| 473 |
+
"type": "text",
|
| 474 |
+
"text": "As the code-switching datasets contain multiple languages, the observation of language distribu",
|
| 475 |
+
"bbox": [
|
| 476 |
+
112,
|
| 477 |
+
887,
|
| 478 |
+
487,
|
| 479 |
+
917
|
| 480 |
+
],
|
| 481 |
+
"page_idx": 2
|
| 482 |
+
},
|
| 483 |
+
{
|
| 484 |
+
"type": "table",
|
| 485 |
+
"img_path": "images/dc9f5c98410dafd7432b669aeef661583b69baa3ca772c155fcd11da9e161c0f.jpg",
|
| 486 |
+
"table_caption": [
|
| 487 |
+
"Table 2: Statistics of our proposed code-switching ASR error correction datasets."
|
| 488 |
+
],
|
| 489 |
+
"table_footnote": [],
|
| 490 |
+
"table_body": "<table><tr><td></td><td>SEAME-C</td><td>ASCEND-C</td></tr><tr><td colspan=\"3\">At dialogue level</td></tr><tr><td>Code-switching dialogues</td><td>100%</td><td>100%</td></tr><tr><td colspan=\"3\">At sentence level</td></tr><tr><td>Code-switching sentences</td><td>76.6%</td><td>27.8%</td></tr><tr><td>Chinese sentences</td><td>14.3%</td><td>48.6%</td></tr><tr><td>English sentences</td><td>9.1%</td><td>23.6%</td></tr><tr><td colspan=\"3\">At token level</td></tr><tr><td>Chinese tokens</td><td>83.7%</td><td>92.5%</td></tr><tr><td>English tokens</td><td>16.3%</td><td>7.5%</td></tr></table>",
|
| 491 |
+
"bbox": [
|
| 492 |
+
510,
|
| 493 |
+
215,
|
| 494 |
+
882,
|
| 495 |
+
342
|
| 496 |
+
],
|
| 497 |
+
"page_idx": 2
|
| 498 |
+
},
|
| 499 |
+
{
|
| 500 |
+
"type": "text",
|
| 501 |
+
"text": "Table 3: Proportion of languages used in datasets at dialogue, sentence and token levels.",
|
| 502 |
+
"bbox": [
|
| 503 |
+
507,
|
| 504 |
+
350,
|
| 505 |
+
880,
|
| 506 |
+
379
|
| 507 |
+
],
|
| 508 |
+
"page_idx": 2
|
| 509 |
+
},
|
| 510 |
+
{
|
| 511 |
+
"type": "text",
|
| 512 |
+
"text": "tion is important for the analysis. We calculate the proportion of languages used in the datasets at dialogue, utterance, and token levels. Table 3 presents the details.",
|
| 513 |
+
"bbox": [
|
| 514 |
+
505,
|
| 515 |
+
406,
|
| 516 |
+
882,
|
| 517 |
+
468
|
| 518 |
+
],
|
| 519 |
+
"page_idx": 2
|
| 520 |
+
},
|
| 521 |
+
{
|
| 522 |
+
"type": "text",
|
| 523 |
+
"text": "From the table, we can find that the sentence-level language distribution of two datasets is quite different. In the SEAME-C dataset, the code-switching sentences take the main proportion, accounting for $76.6\\%$ . As for the ASCEND-C dataset, the Chinese sentences account for the largest proportion, while the code-switching instances only account for $27.8\\%$ . In terms of token-level language distribution, both two datasets are dominated by Chinese tokens. It shows that the code-switching phenomenon in Asia area mainly occurs by mixing a few English words into Chinese speech. Considering that, we generate pseudo data from Chinese sentences in our data augmentation method in the following sections.",
|
| 524 |
+
"bbox": [
|
| 525 |
+
505,
|
| 526 |
+
470,
|
| 527 |
+
882,
|
| 528 |
+
711
|
| 529 |
+
],
|
| 530 |
+
"page_idx": 2
|
| 531 |
+
},
|
| 532 |
+
{
|
| 533 |
+
"type": "text",
|
| 534 |
+
"text": "3.2.2 Error Distribution",
|
| 535 |
+
"text_level": 1,
|
| 536 |
+
"bbox": [
|
| 537 |
+
507,
|
| 538 |
+
722,
|
| 539 |
+
715,
|
| 540 |
+
736
|
| 541 |
+
],
|
| 542 |
+
"page_idx": 2
|
| 543 |
+
},
|
| 544 |
+
{
|
| 545 |
+
"type": "text",
|
| 546 |
+
"text": "With the proposed automatic annotator, the errors in datasets are classified into four types. To analyze the characteristic of ASR errors in proposed datasets, we calculate the error distributions on the test sets of SEAME-C and ASCEND-C datasets. The results are presented in Table 4.",
|
| 547 |
+
"bbox": [
|
| 548 |
+
505,
|
| 549 |
+
741,
|
| 550 |
+
882,
|
| 551 |
+
837
|
| 552 |
+
],
|
| 553 |
+
"page_idx": 2
|
| 554 |
+
},
|
| 555 |
+
{
|
| 556 |
+
"type": "text",
|
| 557 |
+
"text": "As shown in the table, the error distributions on the test sets of two datasets are similar. The word selection errors account for the largest proportion, with $85.7\\%$ in SEAME-C and $81.3\\%$ in ASCEND-C. This type of error is caused by mistakes in the",
|
| 558 |
+
"bbox": [
|
| 559 |
+
507,
|
| 560 |
+
839,
|
| 561 |
+
882,
|
| 562 |
+
917
|
| 563 |
+
],
|
| 564 |
+
"page_idx": 2
|
| 565 |
+
},
|
| 566 |
+
{
|
| 567 |
+
"type": "page_number",
|
| 568 |
+
"text": "8077",
|
| 569 |
+
"bbox": [
|
| 570 |
+
480,
|
| 571 |
+
927,
|
| 572 |
+
519,
|
| 573 |
+
940
|
| 574 |
+
],
|
| 575 |
+
"page_idx": 2
|
| 576 |
+
},
|
| 577 |
+
{
|
| 578 |
+
"type": "image",
|
| 579 |
+
"img_path": "images/4f11f88f4576ee1fef85abe9f62b7fe6605112df0c405a599335197be6439173.jpg",
|
| 580 |
+
"image_caption": [
|
| 581 |
+
"Figure 1: An example of the process of generating pseudo data in our controllable iterative method. We highlight the edited parts of sentences in each iteration. The controllable iterative method produces pseudo training instances by iteratively generating outputs from input sentences. We apply the sequence editing model to generate synthetic data and build training pairs with iterations."
|
| 582 |
+
],
|
| 583 |
+
"image_footnote": [],
|
| 584 |
+
"bbox": [
|
| 585 |
+
131,
|
| 586 |
+
84,
|
| 587 |
+
868,
|
| 588 |
+
262
|
| 589 |
+
],
|
| 590 |
+
"page_idx": 3
|
| 591 |
+
},
|
| 592 |
+
{
|
| 593 |
+
"type": "table",
|
| 594 |
+
"img_path": "images/17d88b2a74b9dcd25a50b5185e9d67a7608b37f0272cfff736bfd3f8819d85de.jpg",
|
| 595 |
+
"table_caption": [],
|
| 596 |
+
"table_footnote": [],
|
| 597 |
+
"table_body": "<table><tr><td rowspan=\"2\">Error Type</td><td colspan=\"2\">SEAME-C</td><td colspan=\"2\">ASCEND-C</td></tr><tr><td>#</td><td>%</td><td>#</td><td>%</td></tr><tr><td>Redundant (R)</td><td>908</td><td>5.6</td><td>134</td><td>11.2</td></tr><tr><td>Missing (M)</td><td>1,381</td><td>8.6</td><td>86</td><td>7.2</td></tr><tr><td>Word Selection (S)</td><td>13,831</td><td>85.7</td><td>972</td><td>81.3</td></tr><tr><td>Word Ordering (W)</td><td>15</td><td>0.1</td><td>4</td><td>0.3</td></tr></table>",
|
| 598 |
+
"bbox": [
|
| 599 |
+
124,
|
| 600 |
+
354,
|
| 601 |
+
478,
|
| 602 |
+
432
|
| 603 |
+
],
|
| 604 |
+
"page_idx": 3
|
| 605 |
+
},
|
| 606 |
+
{
|
| 607 |
+
"type": "text",
|
| 608 |
+
"text": "Table 4: Error distribution on the test sets of SEAME-C and ASCEND-C datasets. The # columns present the amounts of specific error.",
|
| 609 |
+
"bbox": [
|
| 610 |
+
112,
|
| 611 |
+
441,
|
| 612 |
+
487,
|
| 613 |
+
485
|
| 614 |
+
],
|
| 615 |
+
"page_idx": 3
|
| 616 |
+
},
|
| 617 |
+
{
|
| 618 |
+
"type": "text",
|
| 619 |
+
"text": "recognition of words or phrases with similar pronunciation. Besides, there are a number of missing and redundant errors, which is challenging to correct for requiring to change the length of the input. Additionally, the frequency of word ordering errors is very few. We can find that the code-switching ASR error correction is a task with imbalanced error distribution, and we need to consider it when designing the correction method.",
|
| 620 |
+
"bbox": [
|
| 621 |
+
112,
|
| 622 |
+
510,
|
| 623 |
+
489,
|
| 624 |
+
653
|
| 625 |
+
],
|
| 626 |
+
"page_idx": 3
|
| 627 |
+
},
|
| 628 |
+
{
|
| 629 |
+
"type": "text",
|
| 630 |
+
"text": "4 Controllable Iterative Data Augmentation Method",
|
| 631 |
+
"text_level": 1,
|
| 632 |
+
"bbox": [
|
| 633 |
+
112,
|
| 634 |
+
667,
|
| 635 |
+
381,
|
| 636 |
+
700
|
| 637 |
+
],
|
| 638 |
+
"page_idx": 3
|
| 639 |
+
},
|
| 640 |
+
{
|
| 641 |
+
"type": "text",
|
| 642 |
+
"text": "To address the problem of lacking sufficient training data, we propose the controllable iterative data augmentation method. Due to the shortage of high-quality Chinese-English code-switching corpus, our method is designed to directly generate training instances from monolingual texts. Our method consists of two parts: sequence editing model and pseudo data generation algorithm.",
|
| 643 |
+
"bbox": [
|
| 644 |
+
112,
|
| 645 |
+
709,
|
| 646 |
+
487,
|
| 647 |
+
838
|
| 648 |
+
],
|
| 649 |
+
"page_idx": 3
|
| 650 |
+
},
|
| 651 |
+
{
|
| 652 |
+
"type": "text",
|
| 653 |
+
"text": "Sequence editing model is the fundamental structure of our method. It adopts the Transformer architecture and the predefined editing operations called transformations to generate raw augmented data from seed corpus. Pseudo data generation algo",
|
| 654 |
+
"bbox": [
|
| 655 |
+
112,
|
| 656 |
+
839,
|
| 657 |
+
489,
|
| 658 |
+
917
|
| 659 |
+
],
|
| 660 |
+
"page_idx": 3
|
| 661 |
+
},
|
| 662 |
+
{
|
| 663 |
+
"type": "text",
|
| 664 |
+
"text": "rithm plays a crucial role in the proposed method. It adopts the sequence editing model to iteratively produce pseudo training data under the control of confidence bias. With our designed transformations, the sequence editing model is able to directly generate training instances from monolingual texts. Figure 1 shows an example of the process of generating pseudo data in our controllable iterative method.",
|
| 665 |
+
"bbox": [
|
| 666 |
+
507,
|
| 667 |
+
359,
|
| 668 |
+
884,
|
| 669 |
+
502
|
| 670 |
+
],
|
| 671 |
+
"page_idx": 3
|
| 672 |
+
},
|
| 673 |
+
{
|
| 674 |
+
"type": "text",
|
| 675 |
+
"text": "4.1 Sequence Editing Model",
|
| 676 |
+
"text_level": 1,
|
| 677 |
+
"bbox": [
|
| 678 |
+
507,
|
| 679 |
+
514,
|
| 680 |
+
746,
|
| 681 |
+
531
|
| 682 |
+
],
|
| 683 |
+
"page_idx": 3
|
| 684 |
+
},
|
| 685 |
+
{
|
| 686 |
+
"type": "text",
|
| 687 |
+
"text": "The data augmentation method for the code-switching ASR error correction task aims to generate instances with errors as pseudo training data. Error generation can be treated as the process of noising the correct source input with edit operations. Based on this idea, we adopt the sequence editing model to obtain the editing sequence required to produce output with errors.",
|
| 688 |
+
"bbox": [
|
| 689 |
+
507,
|
| 690 |
+
536,
|
| 691 |
+
882,
|
| 692 |
+
665
|
| 693 |
+
],
|
| 694 |
+
"page_idx": 3
|
| 695 |
+
},
|
| 696 |
+
{
|
| 697 |
+
"type": "text",
|
| 698 |
+
"text": "4.1.1 Predefined Transformations",
|
| 699 |
+
"text_level": 1,
|
| 700 |
+
"bbox": [
|
| 701 |
+
507,
|
| 702 |
+
674,
|
| 703 |
+
789,
|
| 704 |
+
688
|
| 705 |
+
],
|
| 706 |
+
"page_idx": 3
|
| 707 |
+
},
|
| 708 |
+
{
|
| 709 |
+
"type": "text",
|
| 710 |
+
"text": "The sequence editing method requires predefined editing operations called transformations. In this work, we adopt the custom token-level transformations developed in GECToR (Omelianchuk et al., 2020), the details are shown in Appendix B. These transformations are originally designed for English texts. We denote these transformations except $TRANSLATION$ as noising transformations. For generating code-switching sentences from monolingual sources, we introduce crosslingual transformations into original ones. Firstly, we add the translation transformation ($TRANSLATION$) that replaces the current token with the most common translation in a Chinese-English",
|
| 711 |
+
"bbox": [
|
| 712 |
+
507,
|
| 713 |
+
694,
|
| 714 |
+
884,
|
| 715 |
+
917
|
| 716 |
+
],
|
| 717 |
+
"page_idx": 3
|
| 718 |
+
},
|
| 719 |
+
{
|
| 720 |
+
"type": "page_number",
|
| 721 |
+
"text": "8078",
|
| 722 |
+
"bbox": [
|
| 723 |
+
480,
|
| 724 |
+
927,
|
| 725 |
+
519,
|
| 726 |
+
940
|
| 727 |
+
],
|
| 728 |
+
"page_idx": 3
|
| 729 |
+
},
|
| 730 |
+
{
|
| 731 |
+
"type": "text",
|
| 732 |
+
"text": "dictionary. Secondly, to cover the specific cases that the most common translation can not fit, we insert additional Chinese characters to the vocabulary of $APPEND$ and $REPLACE$ operations. With predefined transformations, we can get the target sentence by applying the sequential outputs of transformations to the tokens in the source sentence.",
|
| 733 |
+
"bbox": [
|
| 734 |
+
112,
|
| 735 |
+
84,
|
| 736 |
+
489,
|
| 737 |
+
211
|
| 738 |
+
],
|
| 739 |
+
"page_idx": 4
|
| 740 |
+
},
|
| 741 |
+
{
|
| 742 |
+
"type": "text",
|
| 743 |
+
"text": "4.1.2 Model Architecture",
|
| 744 |
+
"text_level": 1,
|
| 745 |
+
"bbox": [
|
| 746 |
+
112,
|
| 747 |
+
224,
|
| 748 |
+
329,
|
| 749 |
+
239
|
| 750 |
+
],
|
| 751 |
+
"page_idx": 4
|
| 752 |
+
},
|
| 753 |
+
{
|
| 754 |
+
"type": "text",
|
| 755 |
+
"text": "The sequence editing model is an encoder made up of Transformer architecture stacked with two linear layers with softmax layers. Considering the strong performance of pre-trained model, the Transformer architecture is initiated with multilingual pre-trained model m-BERT (Devlin et al., 2019). The model is able to generate an editing operation sequence from the source input, and then apply the operations on the source to obtain the target output.",
|
| 756 |
+
"bbox": [
|
| 757 |
+
112,
|
| 758 |
+
244,
|
| 759 |
+
489,
|
| 760 |
+
388
|
| 761 |
+
],
|
| 762 |
+
"page_idx": 4
|
| 763 |
+
},
|
| 764 |
+
{
|
| 765 |
+
"type": "text",
|
| 766 |
+
"text": "To make the generation process of the model controllable, we add a confidence bias to the decoding process. The confidence bias is a parameter applied to change the generation probability of transformations. For example, adding a positive confidence bias to $KEEP$ can increase the probability of generating the $KEEP$. By adjusting the confidence bias, the decoding process of sequence editing model is under control.",
|
| 767 |
+
"bbox": [
|
| 768 |
+
112,
|
| 769 |
+
391,
|
| 770 |
+
489,
|
| 771 |
+
535
|
| 772 |
+
],
|
| 773 |
+
"page_idx": 4
|
| 774 |
+
},
|
| 775 |
+
{
|
| 776 |
+
"type": "text",
|
| 777 |
+
"text": "4.1.3 Training Process",
|
| 778 |
+
"text_level": 1,
|
| 779 |
+
"bbox": [
|
| 780 |
+
112,
|
| 781 |
+
546,
|
| 782 |
+
307,
|
| 783 |
+
562
|
| 784 |
+
],
|
| 785 |
+
"page_idx": 4
|
| 786 |
+
},
|
| 787 |
+
{
|
| 788 |
+
"type": "text",
|
| 789 |
+
"text": "To generate pseudo data, we need to train the sequence editing model to generate noisy sentences from correct ones at first.",
|
| 790 |
+
"bbox": [
|
| 791 |
+
112,
|
| 792 |
+
567,
|
| 793 |
+
489,
|
| 794 |
+
613
|
| 795 |
+
],
|
| 796 |
+
"page_idx": 4
|
| 797 |
+
},
|
| 798 |
+
{
|
| 799 |
+
"type": "text",
|
| 800 |
+
"text": "Given a pair of a monolingual sentence $x$ without noise and a code-switching sentence with noise $y$ . Then we convert the sentence $y$ to a sequence of transformations $z$ . Let $\\epsilon$ denote the preset confidence bias and $\\Theta$ denote all trainable parameters of the sequence editing model $\\phi$ . Our objective is to find the optimal parameter set $\\hat{\\Theta}$ that minimizes the following negative log-likelihood function:",
|
| 801 |
+
"bbox": [
|
| 802 |
+
112,
|
| 803 |
+
615,
|
| 804 |
+
489,
|
| 805 |
+
744
|
| 806 |
+
],
|
| 807 |
+
"page_idx": 4
|
| 808 |
+
},
|
| 809 |
+
{
|
| 810 |
+
"type": "equation",
|
| 811 |
+
"text": "\n$$\nL = - \\log P (z | x, \\epsilon , \\Theta) \\tag {1}\n$$\n",
|
| 812 |
+
"text_format": "latex",
|
| 813 |
+
"bbox": [
|
| 814 |
+
210,
|
| 815 |
+
763,
|
| 816 |
+
487,
|
| 817 |
+
780
|
| 818 |
+
],
|
| 819 |
+
"page_idx": 4
|
| 820 |
+
},
|
| 821 |
+
{
|
| 822 |
+
"type": "text",
|
| 823 |
+
"text": "where $P(z|x,\\epsilon ,\\Theta)$ denotes the conditional probability.",
|
| 824 |
+
"bbox": [
|
| 825 |
+
112,
|
| 826 |
+
789,
|
| 827 |
+
487,
|
| 828 |
+
821
|
| 829 |
+
],
|
| 830 |
+
"page_idx": 4
|
| 831 |
+
},
|
| 832 |
+
{
|
| 833 |
+
"type": "text",
|
| 834 |
+
"text": "After training on constructed instances, our model can not only learn the editing operations to apply errors to sentences but also the transformations to generate English-Chinese code-switching texts. Some details of training are shown in Appendix C.",
|
| 835 |
+
"bbox": [
|
| 836 |
+
112,
|
| 837 |
+
822,
|
| 838 |
+
489,
|
| 839 |
+
917
|
| 840 |
+
],
|
| 841 |
+
"page_idx": 4
|
| 842 |
+
},
|
| 843 |
+
{
|
| 844 |
+
"type": "text",
|
| 845 |
+
"text": "Algorithm 1 Generating pseudo data",
|
| 846 |
+
"text_level": 1,
|
| 847 |
+
"bbox": [
|
| 848 |
+
510,
|
| 849 |
+
83,
|
| 850 |
+
788,
|
| 851 |
+
99
|
| 852 |
+
],
|
| 853 |
+
"page_idx": 4
|
| 854 |
+
},
|
| 855 |
+
{
|
| 856 |
+
"type": "text",
|
| 857 |
+
"text": "Input: Monolingual Sentence $x_0$ ; Number of iterations $T$ ; Sequence editing model $\\phi$ ; Confidence bias $\\epsilon$ ; Similarity Discriminator $\\psi$ ; Hyper parameter $\\lambda, \\epsilon_0, \\epsilon_1$",
|
| 858 |
+
"bbox": [
|
| 859 |
+
507,
|
| 860 |
+
99,
|
| 861 |
+
884,
|
| 862 |
+
164
|
| 863 |
+
],
|
| 864 |
+
"page_idx": 4
|
| 865 |
+
},
|
| 866 |
+
{
|
| 867 |
+
"type": "text",
|
| 868 |
+
"text": "Output: Synthetic erroneous samples set $S$",
|
| 869 |
+
"bbox": [
|
| 870 |
+
515,
|
| 871 |
+
165,
|
| 872 |
+
842,
|
| 873 |
+
180
|
| 874 |
+
],
|
| 875 |
+
"page_idx": 4
|
| 876 |
+
},
|
| 877 |
+
{
|
| 878 |
+
"type": "text",
|
| 879 |
+
"text": "Function: $Gen(x_0, T, \\lambda, \\epsilon_0, \\epsilon_1)$ :",
|
| 880 |
+
"bbox": [
|
| 881 |
+
515,
|
| 882 |
+
181,
|
| 883 |
+
761,
|
| 884 |
+
196
|
| 885 |
+
],
|
| 886 |
+
"page_idx": 4
|
| 887 |
+
},
|
| 888 |
+
{
|
| 889 |
+
"type": "code",
|
| 890 |
+
"sub_type": "algorithm",
|
| 891 |
+
"code_caption": [],
|
| 892 |
+
"code_body": "1: for $t\\gets 1$ to $T$ do \n2: if $t = 1$ then \n3: $\\epsilon \\gets \\epsilon_0$ \n4: else \n5: $\\epsilon \\gets \\epsilon_1$ \n6: $x_{t}\\gets \\phi (x_{t - 1},\\epsilon)$ \n7: if $t\\geq 2$ then \n8: $p\\gets \\psi (x_1,x_t)$ \n9: if $p\\geq \\lambda$ then \n10: $S.\\text{add}(x_1,x_t)$ \nreturn S",
|
| 893 |
+
"bbox": [
|
| 894 |
+
517,
|
| 895 |
+
199,
|
| 896 |
+
731,
|
| 897 |
+
373
|
| 898 |
+
],
|
| 899 |
+
"page_idx": 4
|
| 900 |
+
},
|
| 901 |
+
{
|
| 902 |
+
"type": "text",
|
| 903 |
+
"text": "4.2 Pseudo Data Generation Algorithm",
|
| 904 |
+
"text_level": 1,
|
| 905 |
+
"bbox": [
|
| 906 |
+
507,
|
| 907 |
+
401,
|
| 908 |
+
833,
|
| 909 |
+
418
|
| 910 |
+
],
|
| 911 |
+
"page_idx": 4
|
| 912 |
+
},
|
| 913 |
+
{
|
| 914 |
+
"type": "text",
|
| 915 |
+
"text": "To generate pseudo training data from the monolingual corpus for code-switching ASR error correction, we have to generate both code-switching target sentences and source sentences with ASR errors. For this objective, we propose an iterative generation approach to obtain pseudo training pairs for code-switching ASR error correction with only one model in multiple iterations. The algorithm for generating pseudo training data is summarized in Algorithm 1.",
|
| 916 |
+
"bbox": [
|
| 917 |
+
507,
|
| 918 |
+
424,
|
| 919 |
+
882,
|
| 920 |
+
583
|
| 921 |
+
],
|
| 922 |
+
"page_idx": 4
|
| 923 |
+
},
|
| 924 |
+
{
|
| 925 |
+
"type": "text",
|
| 926 |
+
"text": "Given a monolingual sentence from seed corpus $x_0$ . We apply $T$ times of iterations to the sequence editing model $\\phi$ to generate data.",
|
| 927 |
+
"bbox": [
|
| 928 |
+
507,
|
| 929 |
+
586,
|
| 930 |
+
880,
|
| 931 |
+
634
|
| 932 |
+
],
|
| 933 |
+
"page_idx": 4
|
| 934 |
+
},
|
| 935 |
+
{
|
| 936 |
+
"type": "text",
|
| 937 |
+
"text": "In the first iteration, we adjust the confidence bias to $\\epsilon_0$ that limits the noising transformations and makes the model use cross-lingual transformations and $KEEP$ to generate code-switching sentence $x_{1}$ . This process can be formulated as:",
|
| 938 |
+
"bbox": [
|
| 939 |
+
507,
|
| 940 |
+
634,
|
| 941 |
+
880,
|
| 942 |
+
715
|
| 943 |
+
],
|
| 944 |
+
"page_idx": 4
|
| 945 |
+
},
|
| 946 |
+
{
|
| 947 |
+
"type": "equation",
|
| 948 |
+
"text": "\n$$\nx _ {1} \\leftarrow \\phi \\left(x _ {0}, \\epsilon_ {0}\\right) \\tag {2}\n$$\n",
|
| 949 |
+
"text_format": "latex",
|
| 950 |
+
"bbox": [
|
| 951 |
+
635,
|
| 952 |
+
734,
|
| 953 |
+
882,
|
| 954 |
+
751
|
| 955 |
+
],
|
| 956 |
+
"page_idx": 4
|
| 957 |
+
},
|
| 958 |
+
{
|
| 959 |
+
"type": "text",
|
| 960 |
+
"text": "In the $t$ -th $(1 < t \\leq T)$ iteration, the confidence bias is set to $\\epsilon_{1}$ that balances the generation probability of each transformation. It makes the model apply diverse noises to the output of the $(t-1)$ -th iteration $x_{t-1}$ and obtain the pseudo instances with errors $x_{t}$ . This process can be formulated as:",
|
| 961 |
+
"bbox": [
|
| 962 |
+
507,
|
| 963 |
+
760,
|
| 964 |
+
882,
|
| 965 |
+
857
|
| 966 |
+
],
|
| 967 |
+
"page_idx": 4
|
| 968 |
+
},
|
| 969 |
+
{
|
| 970 |
+
"type": "equation",
|
| 971 |
+
"text": "\n$$\nx _ {t} \\leftarrow \\phi \\left(x _ {t - 1}, \\epsilon_ {1}\\right) \\tag {3}\n$$\n",
|
| 972 |
+
"text_format": "latex",
|
| 973 |
+
"bbox": [
|
| 974 |
+
628,
|
| 975 |
+
877,
|
| 976 |
+
882,
|
| 977 |
+
892
|
| 978 |
+
],
|
| 979 |
+
"page_idx": 4
|
| 980 |
+
},
|
| 981 |
+
{
|
| 982 |
+
"type": "text",
|
| 983 |
+
"text": "where $1 < t \\leq T$ .",
|
| 984 |
+
"bbox": [
|
| 985 |
+
509,
|
| 986 |
+
903,
|
| 987 |
+
640,
|
| 988 |
+
917
|
| 989 |
+
],
|
| 990 |
+
"page_idx": 4
|
| 991 |
+
},
|
| 992 |
+
{
|
| 993 |
+
"type": "page_number",
|
| 994 |
+
"text": "8079",
|
| 995 |
+
"bbox": [
|
| 996 |
+
480,
|
| 997 |
+
927,
|
| 998 |
+
519,
|
| 999 |
+
940
|
| 1000 |
+
],
|
| 1001 |
+
"page_idx": 4
|
| 1002 |
+
},
|
| 1003 |
+
{
|
| 1004 |
+
"type": "text",
|
| 1005 |
+
"text": "With above pseudo instances $x_{1}, \\ldots, x_{T}$ , we treat the output in the first iteration as the correct target sentence and the output in the later turn as noised source sentence to get the sentence pairs.",
|
| 1006 |
+
"bbox": [
|
| 1007 |
+
112,
|
| 1008 |
+
84,
|
| 1009 |
+
487,
|
| 1010 |
+
148
|
| 1011 |
+
],
|
| 1012 |
+
"page_idx": 5
|
| 1013 |
+
},
|
| 1014 |
+
{
|
| 1015 |
+
"type": "text",
|
| 1016 |
+
"text": "In order to improve the quality of synthetic samples, we use BERTScore (Zhang et al., 2019) as the similarity discriminator to filter sentence pairs with low similarity. Given a sentence pair $(x_{1}, x_{t})$ $(1 < t \\leq T)$ , we use similarity discriminator $\\psi$ to get a score $p \\in [0,1]$ that presents the semantic similarity between sentences $x_{1}$ and $x_{t}$ . We set a threshold $\\lambda$ that if the score $p$ of a sentence pair is greater than the threshold, the pair can be selected as an augmented training sample.",
|
| 1017 |
+
"bbox": [
|
| 1018 |
+
112,
|
| 1019 |
+
149,
|
| 1020 |
+
487,
|
| 1021 |
+
310
|
| 1022 |
+
],
|
| 1023 |
+
"page_idx": 5
|
| 1024 |
+
},
|
| 1025 |
+
{
|
| 1026 |
+
"type": "text",
|
| 1027 |
+
"text": "5 Experimental Setup",
|
| 1028 |
+
"text_level": 1,
|
| 1029 |
+
"bbox": [
|
| 1030 |
+
112,
|
| 1031 |
+
323,
|
| 1032 |
+
321,
|
| 1033 |
+
340
|
| 1034 |
+
],
|
| 1035 |
+
"page_idx": 5
|
| 1036 |
+
},
|
| 1037 |
+
{
|
| 1038 |
+
"type": "text",
|
| 1039 |
+
"text": "In this section, we present our experimental setup including datasets, ASR error correction model, and data augmentation baseline. More details of implementation are presented in Appendix D.",
|
| 1040 |
+
"bbox": [
|
| 1041 |
+
112,
|
| 1042 |
+
350,
|
| 1043 |
+
489,
|
| 1044 |
+
414
|
| 1045 |
+
],
|
| 1046 |
+
"page_idx": 5
|
| 1047 |
+
},
|
| 1048 |
+
{
|
| 1049 |
+
"type": "text",
|
| 1050 |
+
"text": "5.1 Dataset for Experiment",
|
| 1051 |
+
"text_level": 1,
|
| 1052 |
+
"bbox": [
|
| 1053 |
+
112,
|
| 1054 |
+
426,
|
| 1055 |
+
344,
|
| 1056 |
+
442
|
| 1057 |
+
],
|
| 1058 |
+
"page_idx": 5
|
| 1059 |
+
},
|
| 1060 |
+
{
|
| 1061 |
+
"type": "text",
|
| 1062 |
+
"text": "Training and Test Data Firstly, we train the model on pseudo training instances generated from data augmentation method. Then, we fine-tune the code-switching ASR error correction model on our proposed Chinese-English code-switching ASR error correction datasets: SEAME-C and ASCEND-C. We take $M^2$ scorer and mixed error rate (MER)(Adel et al., 2013) as evaluation metrics.",
|
| 1063 |
+
"bbox": [
|
| 1064 |
+
112,
|
| 1065 |
+
449,
|
| 1066 |
+
487,
|
| 1067 |
+
592
|
| 1068 |
+
],
|
| 1069 |
+
"page_idx": 5
|
| 1070 |
+
},
|
| 1071 |
+
{
|
| 1072 |
+
"type": "text",
|
| 1073 |
+
"text": "Seed Corpus for Pseudo Training Data Generation For data augmentation methods, we need to generate pseudo training instances from a seed corpus. Considering proposed datasets were mainly collected from dialogues, we pick the OpenSubtitles dataset (Lison and Tiedemann, 2016), which is a large collection of subtitles in various languages for movies and TV programs, as the seed corpus.",
|
| 1074 |
+
"bbox": [
|
| 1075 |
+
112,
|
| 1076 |
+
595,
|
| 1077 |
+
489,
|
| 1078 |
+
722
|
| 1079 |
+
],
|
| 1080 |
+
"page_idx": 5
|
| 1081 |
+
},
|
| 1082 |
+
{
|
| 1083 |
+
"type": "text",
|
| 1084 |
+
"text": "5.2 ASR Error Correction Model",
|
| 1085 |
+
"text_level": 1,
|
| 1086 |
+
"bbox": [
|
| 1087 |
+
112,
|
| 1088 |
+
736,
|
| 1089 |
+
391,
|
| 1090 |
+
750
|
| 1091 |
+
],
|
| 1092 |
+
"page_idx": 5
|
| 1093 |
+
},
|
| 1094 |
+
{
|
| 1095 |
+
"type": "text",
|
| 1096 |
+
"text": "In multilingual grammatical error correction task, the adoption of multilingual version of pre-trained model has achieved great success (Rothe et al., 2021). So we pick two strong multilingual pretrained models mT5 and mBART as the code-switching ASR error correction models to verify the effectiveness of our data augmentation method.",
|
| 1097 |
+
"bbox": [
|
| 1098 |
+
112,
|
| 1099 |
+
757,
|
| 1100 |
+
487,
|
| 1101 |
+
869
|
| 1102 |
+
],
|
| 1103 |
+
"page_idx": 5
|
| 1104 |
+
},
|
| 1105 |
+
{
|
| 1106 |
+
"type": "text",
|
| 1107 |
+
"text": "Considering that large language models (LLM) have made significant advancements in various NLP tasks. We adopt the most powerful LLM",
|
| 1108 |
+
"bbox": [
|
| 1109 |
+
112,
|
| 1110 |
+
871,
|
| 1111 |
+
487,
|
| 1112 |
+
917
|
| 1113 |
+
],
|
| 1114 |
+
"page_idx": 5
|
| 1115 |
+
},
|
| 1116 |
+
{
|
| 1117 |
+
"type": "text",
|
| 1118 |
+
"text": "ChatGPT as the baseline. In our experiment, we test the performance of the GPT-3.5-turbo model on the code-switching ASR error correction task with zero-shot and few-shot settings. The prompt templates for ChatGPT are shown in Appendix F.",
|
| 1119 |
+
"bbox": [
|
| 1120 |
+
507,
|
| 1121 |
+
84,
|
| 1122 |
+
882,
|
| 1123 |
+
165
|
| 1124 |
+
],
|
| 1125 |
+
"page_idx": 5
|
| 1126 |
+
},
|
| 1127 |
+
{
|
| 1128 |
+
"type": "text",
|
| 1129 |
+
"text": "5.3 Data Augmentation Baseline",
|
| 1130 |
+
"text_level": 1,
|
| 1131 |
+
"bbox": [
|
| 1132 |
+
507,
|
| 1133 |
+
200,
|
| 1134 |
+
779,
|
| 1135 |
+
217
|
| 1136 |
+
],
|
| 1137 |
+
"page_idx": 5
|
| 1138 |
+
},
|
| 1139 |
+
{
|
| 1140 |
+
"type": "text",
|
| 1141 |
+
"text": "There are other ways to generate pseudo code-switching ASR error correction training instances. In our experiment, we implement two data augmentation baselines to compare with our controllable iterative data augmentation method. Firstly, we apply a code-switching text generation approach to get the Chinese-English code-switching texts from a parallel seed corpus. With the code-switching texts, we implement the rule-based and back-translation-based data augmentation methods to improve the ASR error correction models.",
|
| 1142 |
+
"bbox": [
|
| 1143 |
+
507,
|
| 1144 |
+
237,
|
| 1145 |
+
884,
|
| 1146 |
+
413
|
| 1147 |
+
],
|
| 1148 |
+
"page_idx": 5
|
| 1149 |
+
},
|
| 1150 |
+
{
|
| 1151 |
+
"type": "text",
|
| 1152 |
+
"text": "Code-switching Text Generation Following previous work (Hussein et al., 2022), we apply the EC theory (Pratapa et al., 2018) to generate Chinese-English code-switching texts. By taking the pairs of parallel sentences in seed corpus as input, the method generates the code-switching texts by replacing the token in the parse tree with its word-level alignments. In our experiment, we adopt the fast-align tool (Dyer et al., 2013) to get the word-level alignments and parse the sentences with a neural graph-based parser(Dozat and Manning).",
|
| 1153 |
+
"bbox": [
|
| 1154 |
+
507,
|
| 1155 |
+
420,
|
| 1156 |
+
882,
|
| 1157 |
+
598
|
| 1158 |
+
],
|
| 1159 |
+
"page_idx": 5
|
| 1160 |
+
},
|
| 1161 |
+
{
|
| 1162 |
+
"type": "text",
|
| 1163 |
+
"text": "Rule-based Method The rule-based method is a simple way to generate errors efficiently. We design a rule-based method that generates synthetic training data with five rules: delete, add, replace, shuffle, spelling error. The details of the rules are introduced in Appendix E. With above rules, we can get synthetic training samples with various errors. These synthetic training samples can be used to improve the performance of the code-switching ASR error correction system.",
|
| 1164 |
+
"bbox": [
|
| 1165 |
+
507,
|
| 1166 |
+
605,
|
| 1167 |
+
882,
|
| 1168 |
+
766
|
| 1169 |
+
],
|
| 1170 |
+
"page_idx": 5
|
| 1171 |
+
},
|
| 1172 |
+
{
|
| 1173 |
+
"type": "text",
|
| 1174 |
+
"text": "Back-translation Method Inspired by the use of back-translation in downstream tasks (Xie et al., 2018), we train a seq2seq noisy model (like the back-translation model) to generate noisy sentences from correct ones. Then the output of the noising model is paired with the input and the sentence pairs are then used as pseudo data. In our experiment, we consider adopting a base mT5 model as the noising model for our baseline.",
|
| 1175 |
+
"bbox": [
|
| 1176 |
+
507,
|
| 1177 |
+
774,
|
| 1178 |
+
884,
|
| 1179 |
+
917
|
| 1180 |
+
],
|
| 1181 |
+
"page_idx": 5
|
| 1182 |
+
},
|
| 1183 |
+
{
|
| 1184 |
+
"type": "page_number",
|
| 1185 |
+
"text": "8080",
|
| 1186 |
+
"bbox": [
|
| 1187 |
+
480,
|
| 1188 |
+
928,
|
| 1189 |
+
519,
|
| 1190 |
+
940
|
| 1191 |
+
],
|
| 1192 |
+
"page_idx": 5
|
| 1193 |
+
},
|
| 1194 |
+
{
|
| 1195 |
+
"type": "table",
|
| 1196 |
+
"img_path": "images/33861ebe49c2b790f1bedbcc365359feeec5004654686eb14906447a4b61dd89.jpg",
|
| 1197 |
+
"table_caption": [],
|
| 1198 |
+
"table_footnote": [],
|
| 1199 |
+
"table_body": "<table><tr><td rowspan=\"2\">Correction Model</td><td rowspan=\"2\">Augmentation Method</td><td rowspan=\"2\">Augmented Data Size</td><td colspan=\"4\">SEAME-C</td><td colspan=\"4\">ASCEND-C</td></tr><tr><td>P↑</td><td>R↑</td><td>F0.5↑</td><td>MER↓</td><td>P↑</td><td>R↑</td><td>F0.5↑</td><td>MER↓</td></tr><tr><td rowspan=\"4\">mT5</td><td>-</td><td>-</td><td>26.2</td><td>18.7</td><td>24.3</td><td>21.14</td><td>20.7</td><td>15.3</td><td>19.3</td><td>40.31</td></tr><tr><td>Rules</td><td>5M</td><td>27.4</td><td>19.9</td><td>25.4</td><td>20.74</td><td>23.9</td><td>17.8</td><td>22.4</td><td>37.57</td></tr><tr><td>Back-translation</td><td>4.1M</td><td>27.1</td><td>20.5</td><td>25.5</td><td>20.70</td><td>23.3</td><td>17.4</td><td>21.8</td><td>38.21</td></tr><tr><td>CI</td><td>3.3M</td><td>28.5</td><td>20.7</td><td>26.5</td><td>20.45</td><td>25.0</td><td>19.6</td><td>23.7</td><td>36.35</td></tr><tr><td rowspan=\"4\">mBART</td><td>-</td><td>-</td><td>23.8</td><td>17.1</td><td>22.1</td><td>21.65</td><td>19.6</td><td>14.9</td><td>18.4</td><td>40.12</td></tr><tr><td>Rules</td><td>5M</td><td>25.4</td><td>18.9</td><td>23.8</td><td>21.18</td><td>22.5</td><td>17.2</td><td>21.2</td><td>38.63</td></tr><tr><td>Back-translation</td><td>4.1M</td><td>25.7</td><td>19.1</td><td>24.0</td><td>21.03</td><td>22.8</td><td>18.0</td><td>21.7</td><td>38.44</td></tr><tr><td>CI</td><td>3.3M</td><td>26.9</td><td>21.0</td><td>25.5</td><td>20.73</td><td>24.1</td><td>18.3</td><td>22.7</td><td>37.50</td></tr><tr><td>GPT-3.5-turbo(zero-shot)</td><td>-</td><td>-</td><td>7.5</td><td>8.1</td><td>7.6</td><td>40.01</td><td>5.7</td><td>3.9</td><td>5.2</td><td>71.28</td></tr><tr><td>GPT-3.5-turbo(3-shot)</td><td>-</td><td>-</td><td>13.3</td><td>12.6</td><td>13.1</td><td>35.44</td><td>7.2</td><td>4.8</td><td>6.5</td><td>65.62</td></tr></table>",
|
| 1200 |
+
"bbox": [
|
| 1201 |
+
124,
|
| 1202 |
+
80,
|
| 1203 |
+
873,
|
| 1204 |
+
229
|
| 1205 |
+
],
|
| 1206 |
+
"page_idx": 6
|
| 1207 |
+
},
|
| 1208 |
+
{
|
| 1209 |
+
"type": "text",
|
| 1210 |
+
"text": "Table 5: Comparison results of each method. Augmented data sizes show the amounts of additional training sentences used in each method.",
|
| 1211 |
+
"bbox": [
|
| 1212 |
+
112,
|
| 1213 |
+
244,
|
| 1214 |
+
882,
|
| 1215 |
+
273
|
| 1216 |
+
],
|
| 1217 |
+
"page_idx": 6
|
| 1218 |
+
},
|
| 1219 |
+
{
|
| 1220 |
+
"type": "text",
|
| 1221 |
+
"text": "6 Results and Analysis",
|
| 1222 |
+
"text_level": 1,
|
| 1223 |
+
"bbox": [
|
| 1224 |
+
112,
|
| 1225 |
+
297,
|
| 1226 |
+
327,
|
| 1227 |
+
313
|
| 1228 |
+
],
|
| 1229 |
+
"page_idx": 6
|
| 1230 |
+
},
|
| 1231 |
+
{
|
| 1232 |
+
"type": "text",
|
| 1233 |
+
"text": "6.1 Comparison Results",
|
| 1234 |
+
"text_level": 1,
|
| 1235 |
+
"bbox": [
|
| 1236 |
+
112,
|
| 1237 |
+
326,
|
| 1238 |
+
319,
|
| 1239 |
+
342
|
| 1240 |
+
],
|
| 1241 |
+
"page_idx": 6
|
| 1242 |
+
},
|
| 1243 |
+
{
|
| 1244 |
+
"type": "text",
|
| 1245 |
+
"text": "We evaluate the performance of our controllable iterative data augmentation method on proposed datasets. Table 5 shows the results.",
|
| 1246 |
+
"bbox": [
|
| 1247 |
+
112,
|
| 1248 |
+
350,
|
| 1249 |
+
487,
|
| 1250 |
+
397
|
| 1251 |
+
],
|
| 1252 |
+
"page_idx": 6
|
| 1253 |
+
},
|
| 1254 |
+
{
|
| 1255 |
+
"type": "text",
|
| 1256 |
+
"text": "Firstly, we compare our method with the two data augmentation baselines. For the fairness of comparison, we train the correction models with the similar scale of augmentation data. Here we use pseudo data generated from the controllable iterative method with three iterations to train the correction model.",
|
| 1257 |
+
"bbox": [
|
| 1258 |
+
112,
|
| 1259 |
+
399,
|
| 1260 |
+
487,
|
| 1261 |
+
511
|
| 1262 |
+
],
|
| 1263 |
+
"page_idx": 6
|
| 1264 |
+
},
|
| 1265 |
+
{
|
| 1266 |
+
"type": "text",
|
| 1267 |
+
"text": "As we can see from the table, our proposed controllable iterative data augmentation method achieves the best performance in both $M^2$ scorer and MER metrics on SEAME-C and ASCEND-C datasets. It outperforms the two baselines for both mT5 and mBART correction methods, which shows the effectiveness and robustness of our controllable iterative method in Chinese-English code-switching ASR error correction task.",
|
| 1268 |
+
"bbox": [
|
| 1269 |
+
112,
|
| 1270 |
+
514,
|
| 1271 |
+
487,
|
| 1272 |
+
657
|
| 1273 |
+
],
|
| 1274 |
+
"page_idx": 6
|
| 1275 |
+
},
|
| 1276 |
+
{
|
| 1277 |
+
"type": "text",
|
| 1278 |
+
"text": "Besides, we test ChatGPT (GPT-3.5-turbo) on the proposed dataset. From the table, we can find that the performance of ChatGPT is poor in this task. Under the zero-shot setting, it can only correct a few errors. By learning from examples in the prompt, the performance of ChatGPT under few-shot setting has significantly improved, but still far from the performance of mT5 and mBART models.",
|
| 1279 |
+
"bbox": [
|
| 1280 |
+
112,
|
| 1281 |
+
659,
|
| 1282 |
+
487,
|
| 1283 |
+
788
|
| 1284 |
+
],
|
| 1285 |
+
"page_idx": 6
|
| 1286 |
+
},
|
| 1287 |
+
{
|
| 1288 |
+
"type": "text",
|
| 1289 |
+
"text": "The experiment results show that the code-switching ASR error correction task is challenging at present. Due to the scarcity of data and the complexity of code-switching text, LLM method is far from achieving satisfactory results in this task. We present that our data augmentation is an effective method to improve the performance of Chinese-English code-switching ASR error correc",
|
| 1290 |
+
"bbox": [
|
| 1291 |
+
112,
|
| 1292 |
+
790,
|
| 1293 |
+
487,
|
| 1294 |
+
917
|
| 1295 |
+
],
|
| 1296 |
+
"page_idx": 6
|
| 1297 |
+
},
|
| 1298 |
+
{
|
| 1299 |
+
"type": "image",
|
| 1300 |
+
"img_path": "images/b568d66e98e23a3c7a389f607de6a2788e5b434ab08453fe507dbade1ccefc78.jpg",
|
| 1301 |
+
"image_caption": [
|
| 1302 |
+
"tion models.",
|
| 1303 |
+
"Figure 2: Results of the mT5 correction model on SEAME-C when trained with outputs collected from different iterations of our controllable iterative method."
|
| 1304 |
+
],
|
| 1305 |
+
"image_footnote": [],
|
| 1306 |
+
"bbox": [
|
| 1307 |
+
524,
|
| 1308 |
+
326,
|
| 1309 |
+
867,
|
| 1310 |
+
458
|
| 1311 |
+
],
|
| 1312 |
+
"page_idx": 6
|
| 1313 |
+
},
|
| 1314 |
+
{
|
| 1315 |
+
"type": "text",
|
| 1316 |
+
"text": "6.2 Iteration of Proposed Method",
|
| 1317 |
+
"text_level": 1,
|
| 1318 |
+
"bbox": [
|
| 1319 |
+
507,
|
| 1320 |
+
543,
|
| 1321 |
+
789,
|
| 1322 |
+
558
|
| 1323 |
+
],
|
| 1324 |
+
"page_idx": 6
|
| 1325 |
+
},
|
| 1326 |
+
{
|
| 1327 |
+
"type": "text",
|
| 1328 |
+
"text": "We build the pseudo training pairs with the outputs of the controllable iterative method in multiple iterations. In this section, we try to explore the influence of the iteration number on the generation of augmented data. Figure 2 shows the results of the mT5 correction model on the SEAME-C dataset when it is trained with outputs collected from different iterations. The details of results are shown in Appendix G.",
|
| 1329 |
+
"bbox": [
|
| 1330 |
+
505,
|
| 1331 |
+
564,
|
| 1332 |
+
882,
|
| 1333 |
+
709
|
| 1334 |
+
],
|
| 1335 |
+
"page_idx": 6
|
| 1336 |
+
},
|
| 1337 |
+
{
|
| 1338 |
+
"type": "text",
|
| 1339 |
+
"text": "As the iteration progresses, controllable iterative method continuously generates noisy code-switching data. By collecting the outputs in iterations, we can obtain more pseudo training pairs at each new iteration. In general, using a larger scale of training data may achieve better performance. However, the experimental results show the bottleneck of the data augmentation method that further increasing augmented training data at the 3-th iteration even has a negative impact on performance. This bottleneck might be caused by the quality reduction of the generated data after a few iterations. Considering the balance between perfor",
|
| 1340 |
+
"bbox": [
|
| 1341 |
+
507,
|
| 1342 |
+
709,
|
| 1343 |
+
884,
|
| 1344 |
+
917
|
| 1345 |
+
],
|
| 1346 |
+
"page_idx": 6
|
| 1347 |
+
},
|
| 1348 |
+
{
|
| 1349 |
+
"type": "page_number",
|
| 1350 |
+
"text": "8081",
|
| 1351 |
+
"bbox": [
|
| 1352 |
+
480,
|
| 1353 |
+
928,
|
| 1354 |
+
517,
|
| 1355 |
+
940
|
| 1356 |
+
],
|
| 1357 |
+
"page_idx": 6
|
| 1358 |
+
},
|
| 1359 |
+
{
|
| 1360 |
+
"type": "table",
|
| 1361 |
+
"img_path": "images/b304c8d869951f24cc72b5ab3d867ec58366fa6c3d159829dfd69cbfbe05d7bf.jpg",
|
| 1362 |
+
"table_caption": [],
|
| 1363 |
+
"table_footnote": [],
|
| 1364 |
+
"table_body": "<table><tr><td>Dataset</td><td>Augmentation Method</td><td>P↑</td><td>R↑</td><td>F0.5↑</td><td>MER↓</td></tr><tr><td rowspan=\"3\">SEAME-C</td><td>Rules</td><td>27.4</td><td>19.9</td><td>25.4</td><td>20.74</td></tr><tr><td>CI</td><td>28.5</td><td>20.7</td><td>26.5</td><td>20.45</td></tr><tr><td>Rules+CI</td><td>29.2</td><td>21.3</td><td>27.2</td><td>20.15</td></tr><tr><td rowspan=\"3\">ASCEND-C</td><td>Rules</td><td>23.9</td><td>17.8</td><td>22.4</td><td>37.57</td></tr><tr><td>CI</td><td>25.0</td><td>19.6</td><td>23.7</td><td>36.35</td></tr><tr><td>Rules+CI</td><td>25.6</td><td>20.8</td><td>24.5</td><td>35.46</td></tr></table>",
|
| 1365 |
+
"bbox": [
|
| 1366 |
+
124,
|
| 1367 |
+
80,
|
| 1368 |
+
485,
|
| 1369 |
+
181
|
| 1370 |
+
],
|
| 1371 |
+
"page_idx": 7
|
| 1372 |
+
},
|
| 1373 |
+
{
|
| 1374 |
+
"type": "text",
|
| 1375 |
+
"text": "mance and computing costs, we select the outputs generated in the third iteration as the augmented data used for Chinese-English code-switching ASR error correction task.",
|
| 1376 |
+
"bbox": [
|
| 1377 |
+
112,
|
| 1378 |
+
274,
|
| 1379 |
+
487,
|
| 1380 |
+
338
|
| 1381 |
+
],
|
| 1382 |
+
"page_idx": 7
|
| 1383 |
+
},
|
| 1384 |
+
{
|
| 1385 |
+
"type": "text",
|
| 1386 |
+
"text": "6.3 Combination of Augmented Data",
|
| 1387 |
+
"text_level": 1,
|
| 1388 |
+
"bbox": [
|
| 1389 |
+
112,
|
| 1390 |
+
351,
|
| 1391 |
+
420,
|
| 1392 |
+
366
|
| 1393 |
+
],
|
| 1394 |
+
"page_idx": 7
|
| 1395 |
+
},
|
| 1396 |
+
{
|
| 1397 |
+
"type": "text",
|
| 1398 |
+
"text": "Rule-based and model-based data augmentation methods are two different approaches to pseudo training data generation. Therefore, the distributions of errors generated by these two types of data augmentation methods might be different in general. In this section, we try to explore the effect of combining the data generated by rule-based and our methods.",
|
| 1399 |
+
"bbox": [
|
| 1400 |
+
112,
|
| 1401 |
+
372,
|
| 1402 |
+
487,
|
| 1403 |
+
500
|
| 1404 |
+
],
|
| 1405 |
+
"page_idx": 7
|
| 1406 |
+
},
|
| 1407 |
+
{
|
| 1408 |
+
"type": "text",
|
| 1409 |
+
"text": "In our experiments, we pick the mT5 model that achieves higher evaluation scores in previous experiments as the error correction model. The results of using the combined pseudo data are shown in Table 6. From the results, we can find that training mT5 with the combined pseudo data achieves the best scores on our datasets. The use of the data generated by the rule-based method can further improve the performance of the error correction model.",
|
| 1410 |
+
"bbox": [
|
| 1411 |
+
112,
|
| 1412 |
+
502,
|
| 1413 |
+
487,
|
| 1414 |
+
661
|
| 1415 |
+
],
|
| 1416 |
+
"page_idx": 7
|
| 1417 |
+
},
|
| 1418 |
+
{
|
| 1419 |
+
"type": "text",
|
| 1420 |
+
"text": "We further analyze the results of different error types. With the automatic annotator, we evaluate the performance in four types: redundant (R), missing (M), word selection (S), and word ordering (W). We conduct the experiment on our SEAME-C dataset with mT5 as the error correction model. The results are shown in Table 7.",
|
| 1421 |
+
"bbox": [
|
| 1422 |
+
112,
|
| 1423 |
+
663,
|
| 1424 |
+
489,
|
| 1425 |
+
776
|
| 1426 |
+
],
|
| 1427 |
+
"page_idx": 7
|
| 1428 |
+
},
|
| 1429 |
+
{
|
| 1430 |
+
"type": "table",
|
| 1431 |
+
"img_path": "images/07eba9bed302e7f6c1e0f0dd4ac7a0fd7f4436f6da096452a74ea397cf59e893.jpg",
|
| 1432 |
+
"table_caption": [
|
| 1433 |
+
"Table 6: Results of the mT5 correction model on datasets when trained with the combination of pseudo data generated by controllable iterative (CI) and rule-based methods."
|
| 1434 |
+
],
|
| 1435 |
+
"table_footnote": [],
|
| 1436 |
+
"table_body": "<table><tr><td>Error Type</td><td>R</td><td>M</td><td>S</td><td>W</td></tr><tr><td>Augmentation Method</td><td>F0.5</td><td>F0.5</td><td>F0.5</td><td>F0.5</td></tr><tr><td>-</td><td>8.1</td><td>16.3</td><td>21.1</td><td>9.8</td></tr><tr><td>Rules</td><td>10.8</td><td>25.6</td><td>26.1</td><td>11.1</td></tr><tr><td>CI</td><td>17.1</td><td>20.5</td><td>28.7</td><td>14.7</td></tr><tr><td>Rules+CI</td><td>18.7</td><td>21.1</td><td>29.1</td><td>7.9</td></tr></table>",
|
| 1437 |
+
"bbox": [
|
| 1438 |
+
121,
|
| 1439 |
+
785,
|
| 1440 |
+
480,
|
| 1441 |
+
860
|
| 1442 |
+
],
|
| 1443 |
+
"page_idx": 7
|
| 1444 |
+
},
|
| 1445 |
+
{
|
| 1446 |
+
"type": "text",
|
| 1447 |
+
"text": "Table 7: Results of mT5 correction model on SEAME-C with different augmentation methods on different error types.",
|
| 1448 |
+
"bbox": [
|
| 1449 |
+
112,
|
| 1450 |
+
871,
|
| 1451 |
+
487,
|
| 1452 |
+
914
|
| 1453 |
+
],
|
| 1454 |
+
"page_idx": 7
|
| 1455 |
+
},
|
| 1456 |
+
{
|
| 1457 |
+
"type": "text",
|
| 1458 |
+
"text": "As can be seen from the results, data augmentation methods affect the performance of the correction model with respect to different error types. Compared with the controllable iterative method, the rule-based method achieves higher scores on missing errors. The correction model benefits from the operations such as adding and deleting tokens defined in the rules that provide sufficient instances with missing errors. Generally, combining controllable iterative and rule-based data augmentation methods can cover most error types and generate samples with high diversity. It enables the correction model to achieve better performance.",
|
| 1459 |
+
"bbox": [
|
| 1460 |
+
507,
|
| 1461 |
+
84,
|
| 1462 |
+
885,
|
| 1463 |
+
294
|
| 1464 |
+
],
|
| 1465 |
+
"page_idx": 7
|
| 1466 |
+
},
|
| 1467 |
+
{
|
| 1468 |
+
"type": "text",
|
| 1469 |
+
"text": "7 Conclusion",
|
| 1470 |
+
"text_level": 1,
|
| 1471 |
+
"bbox": [
|
| 1472 |
+
509,
|
| 1473 |
+
311,
|
| 1474 |
+
640,
|
| 1475 |
+
326
|
| 1476 |
+
],
|
| 1477 |
+
"page_idx": 7
|
| 1478 |
+
},
|
| 1479 |
+
{
|
| 1480 |
+
"type": "text",
|
| 1481 |
+
"text": "In this paper, we explore the code-switching ASR error correction task. To enable the research, we first propose two Chinese-English code-switching ASR correction datasets. To address the problem of lacking sufficient training data, we propose the controllable iterative data augmentation method that can generate code-switching ASR error correction instances from the monolingual corpus iteratively. Experiment results show that our method achieves the best performance compared with the rule-based augmentation method, back-translation augmentation method, and ChatGPT method. We further find that combining the data generated by both rule-based method and controllable iterative method can further improve the performance of the error correction model. In future work, we will apply our data augmentation method to other code-switching tasks and also test our method in other language pairs.",
|
| 1482 |
+
"bbox": [
|
| 1483 |
+
507,
|
| 1484 |
+
340,
|
| 1485 |
+
885,
|
| 1486 |
+
646
|
| 1487 |
+
],
|
| 1488 |
+
"page_idx": 7
|
| 1489 |
+
},
|
| 1490 |
+
{
|
| 1491 |
+
"type": "text",
|
| 1492 |
+
"text": "Limitations",
|
| 1493 |
+
"text_level": 1,
|
| 1494 |
+
"bbox": [
|
| 1495 |
+
509,
|
| 1496 |
+
664,
|
| 1497 |
+
613,
|
| 1498 |
+
678
|
| 1499 |
+
],
|
| 1500 |
+
"page_idx": 7
|
| 1501 |
+
},
|
| 1502 |
+
{
|
| 1503 |
+
"type": "text",
|
| 1504 |
+
"text": "In this paper, we only conduct experiments on Chinese-English datasets. There are code-switching phenomena that occur in other languages, for example, the Spanish-English and French-Italian code-switching in America. The empirical conclusions we draw in this study might be changed under different language settings. Another limitation of our study is the lack of manual evaluation. Considering the challenge of the code-switching ASR error correction task, manual evaluation can cover the cases that are evaluated inaccurately by automatic metrics. More interesting conclusions might be drawn by conducting the manual evaluation.",
|
| 1505 |
+
"bbox": [
|
| 1506 |
+
507,
|
| 1507 |
+
694,
|
| 1508 |
+
885,
|
| 1509 |
+
917
|
| 1510 |
+
],
|
| 1511 |
+
"page_idx": 7
|
| 1512 |
+
},
|
| 1513 |
+
{
|
| 1514 |
+
"type": "page_number",
|
| 1515 |
+
"text": "8082",
|
| 1516 |
+
"bbox": [
|
| 1517 |
+
480,
|
| 1518 |
+
928,
|
| 1519 |
+
519,
|
| 1520 |
+
940
|
| 1521 |
+
],
|
| 1522 |
+
"page_idx": 7
|
| 1523 |
+
},
|
| 1524 |
+
{
|
| 1525 |
+
"type": "text",
|
| 1526 |
+
"text": "Acknowledgements",
|
| 1527 |
+
"text_level": 1,
|
| 1528 |
+
"bbox": [
|
| 1529 |
+
114,
|
| 1530 |
+
84,
|
| 1531 |
+
285,
|
| 1532 |
+
101
|
| 1533 |
+
],
|
| 1534 |
+
"page_idx": 8
|
| 1535 |
+
},
|
| 1536 |
+
{
|
| 1537 |
+
"type": "text",
|
| 1538 |
+
"text": "This work was supported by National Key R & D Program of China (2021YFF0901502), National Science Foundation of China (No. 62161160339), State Key Laboratory of Media Convergence Production Technology and Systems and Key Laboratory of Science, Technology and Standard in Press Industry (Key Laboratory of Intelligent Press Media Technology). We appreciate the anonymous reviewers for their helpful comments. Xiaojun Wan is the corresponding author.",
|
| 1539 |
+
"bbox": [
|
| 1540 |
+
112,
|
| 1541 |
+
109,
|
| 1542 |
+
490,
|
| 1543 |
+
269
|
| 1544 |
+
],
|
| 1545 |
+
"page_idx": 8
|
| 1546 |
+
},
|
| 1547 |
+
{
|
| 1548 |
+
"type": "text",
|
| 1549 |
+
"text": "References",
|
| 1550 |
+
"text_level": 1,
|
| 1551 |
+
"bbox": [
|
| 1552 |
+
114,
|
| 1553 |
+
296,
|
| 1554 |
+
213,
|
| 1555 |
+
311
|
| 1556 |
+
],
|
| 1557 |
+
"page_idx": 8
|
| 1558 |
+
},
|
| 1559 |
+
{
|
| 1560 |
+
"type": "list",
|
| 1561 |
+
"sub_type": "ref_text",
|
| 1562 |
+
"list_items": [
|
| 1563 |
+
"Heike Adel, Ngoc Thang Vu, Franziska Kraus, Tim Schlippe, Haizhou Li, and Tanja Schultz. 2013. Recurrent neural network language modeling for code switching conversational speech. In 2013 IEEE International Conference on Acoustics, Speech and Signal Processing, pages 8411-8415. IEEE.",
|
| 1564 |
+
"Carlo Aliprandi, Cristina Scudellari, Isabella Gallucci, Nicola Piccinini, Matteo Raffaelli, Arantza del Pozo, Aitor Alvarez, Haritz Arzelus, Renato Cassaca, Tiago Luis, et al. 2014. Automatic live subtitling: state of the art, expectations and current trends. In Proceedings of NAB Broadcast Engineering Conference: Papers on Advanced Media Technologies, Las Vegas, volume 13.",
|
| 1565 |
+
"Peter Auer. 2013. Code-switching in conversation: Language, interaction and identity. Routledge.",
|
| 1566 |
+
"Christopher Bryant, Mariano Felice, and Edward Briscoe. 2017. Automatic annotation and evaluation of error types for grammatical error correction. Association for Computational Linguistics.",
|
| 1567 |
+
"Hannan Cao, Wenmian Yang, and Hwee Tou Ng. 2023. Mitigating exposure bias in grammatical error correction with data augmentation and reweighting. In Proceedings of the 17th Conference of the European Chapter of the Association for Computational Linguistics, pages 2115-2127.",
|
| 1568 |
+
"Rodolfo Corona, Jesse Thomason, and Raymond Mooney. 2017. Improving black-box speech recognition using semantic parsing. In Proceedings of the Eighth International Joint Conference on Natural Language Processing (Volume 2: Short Papers), pages 122-127.",
|
| 1569 |
+
"Daniel Dahlmeier and Hwee Tou Ng. 2012. Better evaluation for grammatical error correction. In Proceedings of the 2012 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pages 568-572.",
|
| 1570 |
+
"Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. 2019. Bert: Pre-training of deep"
|
| 1571 |
+
],
|
| 1572 |
+
"bbox": [
|
| 1573 |
+
115,
|
| 1574 |
+
319,
|
| 1575 |
+
489,
|
| 1576 |
+
917
|
| 1577 |
+
],
|
| 1578 |
+
"page_idx": 8
|
| 1579 |
+
},
|
| 1580 |
+
{
|
| 1581 |
+
"type": "list",
|
| 1582 |
+
"sub_type": "ref_text",
|
| 1583 |
+
"list_items": [
|
| 1584 |
+
"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.",
|
| 1585 |
+
"Suman Dowlagar and Radhika Mamidi. 2023. A code-mixed task-oriented dialog dataset for medical domain. Computer Speech & Language, 78:101449.",
|
| 1586 |
+
"Timothy Dozat and Christopher D Manning. Deep bia-affine attention for neural dependency parsing.",
|
| 1587 |
+
"Chris Dyer, Victor Chahuneau, and Noah A Smith. 2013. A simple, fast, and effective reparameterization of ibm model 2. In Proceedings of the 2013 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pages 644-648.",
|
| 1588 |
+
"Luis Fernando D'Haro and Rafael E Banchs. 2016. Automatic correction of asr outputs by using machine translation. In Interspeech, volume 2016, pages 3469-3473.",
|
| 1589 |
+
"Roman Grundkiewicz, Marcin Junczys-Dowmunt, and Kenneth Heafield. 2019. Neural grammatical error correction systems with unsupervised pre-training on synthetic data. In Proceedings of the Fourteenth Workshop on Innovative Use of NLP for Building Educational Applications, pages 252-263.",
|
| 1590 |
+
"Jinxi Guo, Tara N Sainath, and Ron J Weiss. 2019. A spelling correction model for end-to-end speech recognition. In ICASSP 2019-2019 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pages 5651-5655. IEEE.",
|
| 1591 |
+
"Charles Hinson, Hen-Hsen Huang, and Hsin-Hsi Chen. 2020. Heterogeneous recycle generation for chinese grammatical error correction. In Proceedings of the 28th International Conference on Computational Linguistics, pages 2191-2201.",
|
| 1592 |
+
"Amir Hussein, Shammur Absar Chowdhury, Ahmed Abdelali, Najim Dehak, and Ahmed Ali. 2022. Code-switching text augmentation for multilingual speech processing. arXiv e-prints, pages arXiv-2201.",
|
| 1593 |
+
"Yunqi Gao Jiaju Mei, Yiming Zhu. 1996. Tongyici cilin. In Shanghai Lexicographical Publishing House.",
|
| 1594 |
+
"Rebecca Jonson. 2006. Dialogue context-based reranking of asr hypotheses. In 2006 IEEE Spoken Language Technology Workshop, pages 174-177. IEEE.",
|
| 1595 |
+
"Shun Kiyono, Jun Suzuki, Masato Mita, Tomoya Mizumoto, and Kentaro Inui. 2019. An empirical study of incorporating pseudo data into grammatical error correction. In Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP), pages 1236-1242."
|
| 1596 |
+
],
|
| 1597 |
+
"bbox": [
|
| 1598 |
+
510,
|
| 1599 |
+
85,
|
| 1600 |
+
884,
|
| 1601 |
+
917
|
| 1602 |
+
],
|
| 1603 |
+
"page_idx": 8
|
| 1604 |
+
},
|
| 1605 |
+
{
|
| 1606 |
+
"type": "page_number",
|
| 1607 |
+
"text": "8083",
|
| 1608 |
+
"bbox": [
|
| 1609 |
+
480,
|
| 1610 |
+
928,
|
| 1611 |
+
519,
|
| 1612 |
+
940
|
| 1613 |
+
],
|
| 1614 |
+
"page_idx": 8
|
| 1615 |
+
},
|
| 1616 |
+
{
|
| 1617 |
+
"type": "list",
|
| 1618 |
+
"sub_type": "ref_text",
|
| 1619 |
+
"list_items": [
|
| 1620 |
+
"Jared Lichtarge, Chris Alberti, Shankar Kumar, Noam Shazeer, Niki Parmar, and Simon Tong. 2019. Corpora generation for grammatical error correction. 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 3291-3301.",
|
| 1621 |
+
"Pierre Lison and Jörg Tiedemann. 2016. Opensubtitles2016: Extracting large parallel corpora from movie and tv subtitles.",
|
| 1622 |
+
"Holy Lovenia, Samuel Cahyawijaya, Genta Indra Winata, Peng Xu, Xu Yan, Zihan Liu, Rita Frieske, Tiezheng Yu, Wenliang Dai, Elham J Barezi, et al. 2021. Ascend: A spontaneous chinese-english dataset for code-switching in multi-turn conversation. arXiv preprint arXiv:2112.06223.",
|
| 1623 |
+
"Dau-Cheng Lyu, Tien-Ping Tan, Eng Siong Chng, and Haizhou Li. 2010. Seame: a mandarin-english code-switching speech corpus in south-east asia. In Eleventh Annual Conference of the International Speech Communication Association.",
|
| 1624 |
+
"Anirudh Mani, Shruti Palaskar, Nimshi Venkat Meripo, Sandeep Konam, and Florian Metze. 2020. Asr error correction and domain adaptation using machine translation. In ICASSP 2020-2020 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pages 6344-6348. IEEE.",
|
| 1625 |
+
"Niko Moritz, Takaaki Hori, and Jonathan Le. 2020. Streaming automatic speech recognition with the transformer model. In ICASSP 2020-2020 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pages 6074-6078. IEEE.",
|
| 1626 |
+
"Kostiantyn Omelianchuk, Vitaliy Atrasevych, Artem Chernodub, and Oleksandr Skurzhanskyi. 2020. Gector-grammatical error correction: Tag, not rewrite. In Proceedings of the Fifteenth Workshop on Innovative Use of NLP for Building Educational Applications, pages 163-170.",
|
| 1627 |
+
"Adam Paszke, Sam Gross, Francisco Massa, Adam Lerer, James Bradbury, Gregory Chanan, Trevor Killeen, Zeming Lin, Natalia Gimelshein, Luca Antiga, et al. 2019. Pytorch: An imperative style, high-performance deep learning library. Advances in neural information processing systems, 32.",
|
| 1628 |
+
"Adithya Pratapa, Gayatri Bhat, Monjit Choudhury, Sunayana Sitaram, Sandipan Dandapat, and Kalika Bali. 2018. Language modeling for code-mixing: The role of linguistic theory based synthetic data. In Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 1543-1553.",
|
| 1629 |
+
"Sascha Rothe, Jonathan Mallinson, Eric Malmi, Sebastian Krause, and Aliaksei Severyn. 2021. A simple recipe for multilingual grammatical error correction. In Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the"
|
| 1630 |
+
],
|
| 1631 |
+
"bbox": [
|
| 1632 |
+
115,
|
| 1633 |
+
85,
|
| 1634 |
+
489,
|
| 1635 |
+
917
|
| 1636 |
+
],
|
| 1637 |
+
"page_idx": 9
|
| 1638 |
+
},
|
| 1639 |
+
{
|
| 1640 |
+
"type": "list",
|
| 1641 |
+
"sub_type": "ref_text",
|
| 1642 |
+
"list_items": [
|
| 1643 |
+
"11th International Joint Conference on Natural Language Processing (Volume 2: Short Papers), pages 702-707.",
|
| 1644 |
+
"Djame Seddah, Farah Essaidi, Amal Fethi, Matthieu Futeral, Benjamin Muller, Pedro Ortiz Suarez, Benoit Sagot, and Abhishek Srivastava. 2020. Building a user-generated content north-african arabizi treebank: Tackling hell. In Proceedings of the 58th annual meeting of the Association for Computational Linguistics, pages 1139-1150.",
|
| 1645 |
+
"Rico Sennrich, Barry Haddow, and Alexandra Birch. 2016. Improving neural machine translation models with monolingual data. In Proceedings of the 54th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 86-96.",
|
| 1646 |
+
"Aiman Solyman, Marco Zappatore, Wang Zhenyu, Zeinab Mahmoud, Ali Alfatemi, Ashraf Osman Ibrahim, and Lubna Abdelkareim Gabralla. 2023. Optimizing the impact of data augmentation for low-resource grammatical error correction. Journal of King Saud University-Computer and Information Sciences, 35(6):101572.",
|
| 1647 |
+
"Hsi-Yao Su. 2001. Code-switching between mandarin and taiwanese in three telephone conversations: The negotiation of interpersonal relationships among bilingual speakers in taiwan. In Proc. of the Symposium about Language and Society.",
|
| 1648 |
+
"Yuqing Tang, Chau Tran, Xian Li, Peng-Jen Chen, Naman Goyal, Vishrav Chaudhary, Jiatao Gu, and Angela Fan. 2020. Multilingual translation with extensible multilingual pretraining and finetuning. arXiv preprint arXiv:2008.00401.",
|
| 1649 |
+
"Jörg Tiedemann and Santhosh Thottingal. 2020. Opusmt-building open translation services for the world. In Proceedings of the 22nd Annual Conference of the European Association for Machine Translation. European Association for Machine Translation.",
|
| 1650 |
+
"Deyuan Wang, Tiantian Zhang, Caixia Yuan, and Xiaojie Wang. 2023. Joint modeling for asr correction and dialog state tracking. In ICASSP 2023-2023 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pages 1-5. IEEE.",
|
| 1651 |
+
"Haoyu Wang, Shuyan Dong, Yue Liu, James Logan, Ashish Kumar Agrawal, and Yang Liu. 2020. Asr error correction with augmented transformer for entity retrieval. In *Interspeech*, pages 1550–1554.",
|
| 1652 |
+
"Thomas Wolf, Lysandre Debut, Victor Sanh, Julien Chaumont, Clement Delangue, Anthony Moi, Pierric Cistac, Tim Rault, Rémi Louf, Morgan Funtowicz, et al. 2020. Transformers: State-of-the-art natural language processing. In Proceedings of the 2020 conference on empirical methods in natural language processing: system demonstrations, pages 38-45.",
|
| 1653 |
+
"Ziang Xie, Guillaume Genthial, Stanley Xie, Andrew Y Ng, and Dan Jurafsky. 2018. Noising and denoising natural language: Diverse backtranslation for"
|
| 1654 |
+
],
|
| 1655 |
+
"bbox": [
|
| 1656 |
+
510,
|
| 1657 |
+
85,
|
| 1658 |
+
882,
|
| 1659 |
+
917
|
| 1660 |
+
],
|
| 1661 |
+
"page_idx": 9
|
| 1662 |
+
},
|
| 1663 |
+
{
|
| 1664 |
+
"type": "page_number",
|
| 1665 |
+
"text": "8084",
|
| 1666 |
+
"bbox": [
|
| 1667 |
+
480,
|
| 1668 |
+
928,
|
| 1669 |
+
519,
|
| 1670 |
+
940
|
| 1671 |
+
],
|
| 1672 |
+
"page_idx": 9
|
| 1673 |
+
},
|
| 1674 |
+
{
|
| 1675 |
+
"type": "text",
|
| 1676 |
+
"text": "grammar correction. 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 619-628.",
|
| 1677 |
+
"bbox": [
|
| 1678 |
+
129,
|
| 1679 |
+
85,
|
| 1680 |
+
487,
|
| 1681 |
+
151
|
| 1682 |
+
],
|
| 1683 |
+
"page_idx": 10
|
| 1684 |
+
},
|
| 1685 |
+
{
|
| 1686 |
+
"type": "text",
|
| 1687 |
+
"text": "Qiantong Xu, Alexei Baevski, and Michael Auli. 2021. Simple and effective zero-shot cross-lingual phoneme recognition. arXiv preprint arXiv:2109.11680.",
|
| 1688 |
+
"bbox": [
|
| 1689 |
+
114,
|
| 1690 |
+
160,
|
| 1691 |
+
487,
|
| 1692 |
+
200
|
| 1693 |
+
],
|
| 1694 |
+
"page_idx": 10
|
| 1695 |
+
},
|
| 1696 |
+
{
|
| 1697 |
+
"type": "text",
|
| 1698 |
+
"text": "Linting Xue, Noah Constant, Adam Roberts, Mihir Kale, Rami Al-Rfou, Aditya Siddhant, Aditya Barua, and Colin Raffel. 2021. mt5: A massively multilingual pre-trained text-to-text transformer. In Proceedings of the 2021 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pages 483-498.",
|
| 1699 |
+
"bbox": [
|
| 1700 |
+
114,
|
| 1701 |
+
209,
|
| 1702 |
+
487,
|
| 1703 |
+
302
|
| 1704 |
+
],
|
| 1705 |
+
"page_idx": 10
|
| 1706 |
+
},
|
| 1707 |
+
{
|
| 1708 |
+
"type": "text",
|
| 1709 |
+
"text": "Tianyi Zhang, Varsha Kishore, Felix Wu, Kilian Q Weinberger, and Yoav Artzi. 2019. Bertscore: Evaluating text generation with bert. In International Conference on Learning Representations.",
|
| 1710 |
+
"bbox": [
|
| 1711 |
+
114,
|
| 1712 |
+
311,
|
| 1713 |
+
487,
|
| 1714 |
+
363
|
| 1715 |
+
],
|
| 1716 |
+
"page_idx": 10
|
| 1717 |
+
},
|
| 1718 |
+
{
|
| 1719 |
+
"type": "text",
|
| 1720 |
+
"text": "A Processing for Data Construction",
|
| 1721 |
+
"text_level": 1,
|
| 1722 |
+
"bbox": [
|
| 1723 |
+
112,
|
| 1724 |
+
376,
|
| 1725 |
+
438,
|
| 1726 |
+
391
|
| 1727 |
+
],
|
| 1728 |
+
"page_idx": 10
|
| 1729 |
+
},
|
| 1730 |
+
{
|
| 1731 |
+
"type": "text",
|
| 1732 |
+
"text": "A.1 ASR System",
|
| 1733 |
+
"text_level": 1,
|
| 1734 |
+
"bbox": [
|
| 1735 |
+
112,
|
| 1736 |
+
401,
|
| 1737 |
+
262,
|
| 1738 |
+
416
|
| 1739 |
+
],
|
| 1740 |
+
"page_idx": 10
|
| 1741 |
+
},
|
| 1742 |
+
{
|
| 1743 |
+
"type": "text",
|
| 1744 |
+
"text": "Here is the process we use XLSR-53 model to generate code-switching ASR error correction instances. Firstly, we build the vocabulary from the transcription in the datasets. Based on the vocabulary of 26 English letters, we add all Chinese characters appearing in the transcriptions to the vocabulary for the generation of Chinese. Then, we fine-tune the XLSR-53 model on the training data from SEAME and ASCEND datasets. We pick the parameters with the best performance in the validation set as our code-switching ASR system for next recognition step. With the fine-tuned XLSR-53 model, we can initially obtain the recognition results required for building the code-switching ASR error correction corpus. As the datasets are spontaneous speeches, the corpus is mainly informal and non-speech sounds often occur, such as laughing and coughing. Given that, we design some simple rules to polish the corpus, such as removing non-speech sounds and repeated words.",
|
| 1745 |
+
"bbox": [
|
| 1746 |
+
112,
|
| 1747 |
+
420,
|
| 1748 |
+
489,
|
| 1749 |
+
743
|
| 1750 |
+
],
|
| 1751 |
+
"page_idx": 10
|
| 1752 |
+
},
|
| 1753 |
+
{
|
| 1754 |
+
"type": "text",
|
| 1755 |
+
"text": "A.2 Annotator",
|
| 1756 |
+
"text_level": 1,
|
| 1757 |
+
"bbox": [
|
| 1758 |
+
112,
|
| 1759 |
+
753,
|
| 1760 |
+
247,
|
| 1761 |
+
766
|
| 1762 |
+
],
|
| 1763 |
+
"page_idx": 10
|
| 1764 |
+
},
|
| 1765 |
+
{
|
| 1766 |
+
"type": "text",
|
| 1767 |
+
"text": "The annotator takes three steps: tokenization, alignment, and merging. For tokenization, we use character-level tokenization for Chinese and word-level tokenization for English. Alignment works by computing the alignment score for each pair of tokens in the source and target sentences. In particular, the Cilin thesaurus (Jiaju Mei, 1996) is leveraged to give a similarity score between Chinese characters. Once the alignment score matrix",
|
| 1768 |
+
"bbox": [
|
| 1769 |
+
112,
|
| 1770 |
+
774,
|
| 1771 |
+
489,
|
| 1772 |
+
917
|
| 1773 |
+
],
|
| 1774 |
+
"page_idx": 10
|
| 1775 |
+
},
|
| 1776 |
+
{
|
| 1777 |
+
"type": "text",
|
| 1778 |
+
"text": "is computed, the sequence with the lowest score is returned. At last, we use a simple merging strategy that merges consecutive sequences of edits of the same type.",
|
| 1779 |
+
"bbox": [
|
| 1780 |
+
507,
|
| 1781 |
+
84,
|
| 1782 |
+
880,
|
| 1783 |
+
149
|
| 1784 |
+
],
|
| 1785 |
+
"page_idx": 10
|
| 1786 |
+
},
|
| 1787 |
+
{
|
| 1788 |
+
"type": "text",
|
| 1789 |
+
"text": "B Transformations in GECToR",
|
| 1790 |
+
"text_level": 1,
|
| 1791 |
+
"bbox": [
|
| 1792 |
+
509,
|
| 1793 |
+
170,
|
| 1794 |
+
798,
|
| 1795 |
+
186
|
| 1796 |
+
],
|
| 1797 |
+
"page_idx": 10
|
| 1798 |
+
},
|
| 1799 |
+
{
|
| 1800 |
+
"type": "text",
|
| 1801 |
+
"text": "GECToR proposed the token-level transformations for the sequence editing grammatical error correction model. Transformations increase the coverage of grammatical error corrections for limited output vocabulary size for the most common types of errors. The work divided transformations into two types: basic transformations and g-transformations.",
|
| 1802 |
+
"bbox": [
|
| 1803 |
+
507,
|
| 1804 |
+
203,
|
| 1805 |
+
884,
|
| 1806 |
+
316
|
| 1807 |
+
],
|
| 1808 |
+
"page_idx": 10
|
| 1809 |
+
},
|
| 1810 |
+
{
|
| 1811 |
+
"type": "text",
|
| 1812 |
+
"text": "Basic transformations perform the most common token-level edit operations, such as: keep the current token unchanged (tag $KEEP$), delete current token (tag $DELETE$), append new token $t_1$ next to the current token (tag $APPEND t1 $) or replace the current token with another token $t_2$ (tag $REPLACE t2 $).",
|
| 1813 |
+
"bbox": [
|
| 1814 |
+
507,
|
| 1815 |
+
319,
|
| 1816 |
+
882,
|
| 1817 |
+
431
|
| 1818 |
+
],
|
| 1819 |
+
"page_idx": 10
|
| 1820 |
+
},
|
| 1821 |
+
{
|
| 1822 |
+
"type": "text",
|
| 1823 |
+
"text": "G-transformations perform task-specific operations such as: change the case of the current token (\\(CASE\\) tags), merge the current token and the next token into a single one (\\(MERGE\\) tags) and split the current token into two new tokens (\\(SPLIT\\) tags). Moreover, tags from \\)NOUN NUMBER$ and $VERB FORM$ transformations encode grammatical properties for tokens.",
|
| 1824 |
+
"bbox": [
|
| 1825 |
+
507,
|
| 1826 |
+
435,
|
| 1827 |
+
882,
|
| 1828 |
+
564
|
| 1829 |
+
],
|
| 1830 |
+
"page_idx": 10
|
| 1831 |
+
},
|
| 1832 |
+
{
|
| 1833 |
+
"type": "text",
|
| 1834 |
+
"text": "C Processing for Sequence Editing Model",
|
| 1835 |
+
"text_level": 1,
|
| 1836 |
+
"bbox": [
|
| 1837 |
+
507,
|
| 1838 |
+
586,
|
| 1839 |
+
880,
|
| 1840 |
+
602
|
| 1841 |
+
],
|
| 1842 |
+
"page_idx": 10
|
| 1843 |
+
},
|
| 1844 |
+
{
|
| 1845 |
+
"type": "text",
|
| 1846 |
+
"text": "C.1 Processing for Transformations",
|
| 1847 |
+
"text_level": 1,
|
| 1848 |
+
"bbox": [
|
| 1849 |
+
507,
|
| 1850 |
+
619,
|
| 1851 |
+
806,
|
| 1852 |
+
634
|
| 1853 |
+
],
|
| 1854 |
+
"page_idx": 10
|
| 1855 |
+
},
|
| 1856 |
+
{
|
| 1857 |
+
"type": "text",
|
| 1858 |
+
"text": "It takes a three-step pre-processing algorithm to convert a sentence to a sequence of transformations. Firstly, it maps each token from source sentence to sub-sequence of tokens from target sentence. For this purpose, it detects the minimal spans of tokens which define differences between source tokens and target tokens. Thus, such a span is a pair of selected source tokens and corresponding target tokens. To get tags on the token level, it searches for the best-fitting sub-sequence of target tokens by minimizing the modified Levenshtein distance for each source token. Secondly, for each mapping in the list, it finds token-level transformations which convert source token to the target sub-sequence. Finally, it leaves only one transformation for each source token. Through the above three steps, we map the tag to each single source token.",
|
| 1859 |
+
"bbox": [
|
| 1860 |
+
507,
|
| 1861 |
+
645,
|
| 1862 |
+
882,
|
| 1863 |
+
917
|
| 1864 |
+
],
|
| 1865 |
+
"page_idx": 10
|
| 1866 |
+
},
|
| 1867 |
+
{
|
| 1868 |
+
"type": "page_number",
|
| 1869 |
+
"text": "8085",
|
| 1870 |
+
"bbox": [
|
| 1871 |
+
480,
|
| 1872 |
+
928,
|
| 1873 |
+
519,
|
| 1874 |
+
940
|
| 1875 |
+
],
|
| 1876 |
+
"page_idx": 10
|
| 1877 |
+
},
|
| 1878 |
+
{
|
| 1879 |
+
"type": "text",
|
| 1880 |
+
"text": "C.2 Processing for Translation",
|
| 1881 |
+
"text_level": 1,
|
| 1882 |
+
"bbox": [
|
| 1883 |
+
114,
|
| 1884 |
+
84,
|
| 1885 |
+
371,
|
| 1886 |
+
99
|
| 1887 |
+
],
|
| 1888 |
+
"page_idx": 11
|
| 1889 |
+
},
|
| 1890 |
+
{
|
| 1891 |
+
"type": "text",
|
| 1892 |
+
"text": "Our model is aimed to generate code-switching sentences with errors from correct monolingual sentences, but the training pairs in datasets only consist of code-switching texts. Considering that, we adopt an open translation tool OPUS-MT (Tiedemann and Thottingal, 2020) to translate the code-switching ASR transcriptions into monolingual sentences. Specifically, we translate the spans of English texts to Chinese and get the Chinese sentences. With regarding the translated monolingual sentence as source and the code-switching sentence with errors from error correction datasets as target, we train the sequence editing model.",
|
| 1893 |
+
"bbox": [
|
| 1894 |
+
112,
|
| 1895 |
+
110,
|
| 1896 |
+
492,
|
| 1897 |
+
319
|
| 1898 |
+
],
|
| 1899 |
+
"page_idx": 11
|
| 1900 |
+
},
|
| 1901 |
+
{
|
| 1902 |
+
"type": "text",
|
| 1903 |
+
"text": "D Implementation Details",
|
| 1904 |
+
"text_level": 1,
|
| 1905 |
+
"bbox": [
|
| 1906 |
+
114,
|
| 1907 |
+
341,
|
| 1908 |
+
357,
|
| 1909 |
+
357
|
| 1910 |
+
],
|
| 1911 |
+
"page_idx": 11
|
| 1912 |
+
},
|
| 1913 |
+
{
|
| 1914 |
+
"type": "text",
|
| 1915 |
+
"text": "In our work, we adopt PyTorch (Paszke et al., 2019) framework and HuggingFace (Wolf et al., 2020) tool to implement all deep neural models. Each model is trained on four NVIDIA A40 GPUs. The details of each model are described as follows.",
|
| 1916 |
+
"bbox": [
|
| 1917 |
+
112,
|
| 1918 |
+
374,
|
| 1919 |
+
489,
|
| 1920 |
+
455
|
| 1921 |
+
],
|
| 1922 |
+
"page_idx": 11
|
| 1923 |
+
},
|
| 1924 |
+
{
|
| 1925 |
+
"type": "text",
|
| 1926 |
+
"text": "D.1 ASR Error Correction Model",
|
| 1927 |
+
"text_level": 1,
|
| 1928 |
+
"bbox": [
|
| 1929 |
+
114,
|
| 1930 |
+
475,
|
| 1931 |
+
396,
|
| 1932 |
+
489
|
| 1933 |
+
],
|
| 1934 |
+
"page_idx": 11
|
| 1935 |
+
},
|
| 1936 |
+
{
|
| 1937 |
+
"type": "text",
|
| 1938 |
+
"text": "Considering that mT5 and mBART have achieved strong performance in many multilingual tasks, we adopt these pre-trained models to correct ASR errors. In the experiments, we use the base version of mT5 and fine-tune it by using the Adam optimization method with learning rate 5e-4, weight decay parameter 0.01, dropout rate 0.1, and batch size 24. Besides, we use the large version of mBART, and fine-tune it by using the Adam optimization method with learning rate 2e-5, dropout rate 0.1, and batch size 16. Beam search with beam size of 5 is used for decoding.",
|
| 1939 |
+
"bbox": [
|
| 1940 |
+
112,
|
| 1941 |
+
502,
|
| 1942 |
+
489,
|
| 1943 |
+
695
|
| 1944 |
+
],
|
| 1945 |
+
"page_idx": 11
|
| 1946 |
+
},
|
| 1947 |
+
{
|
| 1948 |
+
"type": "text",
|
| 1949 |
+
"text": "D.2 Sequence Editing Model",
|
| 1950 |
+
"text_level": 1,
|
| 1951 |
+
"bbox": [
|
| 1952 |
+
114,
|
| 1953 |
+
715,
|
| 1954 |
+
356,
|
| 1955 |
+
732
|
| 1956 |
+
],
|
| 1957 |
+
"page_idx": 11
|
| 1958 |
+
},
|
| 1959 |
+
{
|
| 1960 |
+
"type": "text",
|
| 1961 |
+
"text": "The sequence editing model is an encoder made up of Transformer architecture stacked with two linear layers with softmax layers. We adopt the base version of m-BERT to initialize the encoder. Our model consists of 12 Transformer layers and two linear layers. We train the model with learning rate 1e-5, weight decay parameter 0.01, dropout rate 0, and batch size 32. The size of the vocabulary is 12229. It consists of 4971 basic transformations, 29 token-independent g-transformations and 7229 cross-lingual transformations.",
|
| 1962 |
+
"bbox": [
|
| 1963 |
+
112,
|
| 1964 |
+
741,
|
| 1965 |
+
489,
|
| 1966 |
+
917
|
| 1967 |
+
],
|
| 1968 |
+
"page_idx": 11
|
| 1969 |
+
},
|
| 1970 |
+
{
|
| 1971 |
+
"type": "text",
|
| 1972 |
+
"text": "D.3 Pseudo Data Generation Algorithm",
|
| 1973 |
+
"text_level": 1,
|
| 1974 |
+
"bbox": [
|
| 1975 |
+
509,
|
| 1976 |
+
84,
|
| 1977 |
+
836,
|
| 1978 |
+
99
|
| 1979 |
+
],
|
| 1980 |
+
"page_idx": 11
|
| 1981 |
+
},
|
| 1982 |
+
{
|
| 1983 |
+
"type": "text",
|
| 1984 |
+
"text": "We add a confidence bias to control the decoding process. In our experiments, the confidence bias \\( \\epsilon_0 \\) is to add -1.0 to the generation probability of all transformations except \\( \\\\( \\text{KEEP} \\\\), \\\\) \\text{TRAN-SLATION} \\\\) and other cross-lingual transformations. The confidence bias \\( \\epsilon_1 \\) is set to keep the original generation probability of all transformations. The threshold \\( \\lambda \\) is set to 0.85.",
|
| 1985 |
+
"bbox": [
|
| 1986 |
+
507,
|
| 1987 |
+
109,
|
| 1988 |
+
885,
|
| 1989 |
+
237
|
| 1990 |
+
],
|
| 1991 |
+
"page_idx": 11
|
| 1992 |
+
},
|
| 1993 |
+
{
|
| 1994 |
+
"type": "table",
|
| 1995 |
+
"img_path": "images/d971f9b7833134aea161f655e045083925637fd550f0e430ab8f01dc00179331.jpg",
|
| 1996 |
+
"table_caption": [],
|
| 1997 |
+
"table_footnote": [],
|
| 1998 |
+
"table_body": "<table><tr><td>Method</td><td>Prompt Template</td></tr><tr><td>Zero-shot</td><td>"role": "system", "content": "You are a Chinese-English code-switching ASR error correction tool that can identify and correct errors in the text. Especially, code-switching is a linguistic phenomenon where a speaker alternates between two or more languages or language varieties within a single conversation or even within a single sentence." "role": "user", "content": "Please identify and correct any errors in the following sentence indicated by <input>ERROR </input> tag, you need to comprehend the sentence as a whole before gradually identifying and correcting any errors while keeping the original sentence structure unchanged as much as possible. Remember to format your corrected output results with the tag <output> Your Corrected Version </output>. Please start: <input>Input Sentence </input>:"</td></tr><tr><td>Few-shot</td><td>"role": "system", "content": "You are a Chinese-English code-switching ASR error correction tool that can identify and correct errors in the text. Especially, code-switching is a linguistic phenomenon where a speaker alternates between two or more languages or language varieties within a single conversation or even within a single sentence." "role": "user", "content": "Please identify and correct any errors in the following sentence indicated by <input>ERROR </input> tag,you need to comprehend the sentence as a whole before gradually identifying and correcting any errors while keeping the original sentence structure unchanged as much as possible.Here are some in-context examples:(1), <input> SRC-1 </input>: <output>TGT-1 </output>(2), <input> SRC-1 </input>: <output>TGT-1 </output>; ... (n), <input> SRC-n </input>: <output>TGT-n </output>; Please feel free to refer to these examples. Remember to format your corrected output results with the tag <output> Your Corrected Version </output>. Please start: <input>Input Sentence </input>:"</td></tr></table>",
|
| 1999 |
+
"bbox": [
|
| 2000 |
+
510,
|
| 2001 |
+
250,
|
| 2002 |
+
890,
|
| 2003 |
+
860
|
| 2004 |
+
],
|
| 2005 |
+
"page_idx": 11
|
| 2006 |
+
},
|
| 2007 |
+
{
|
| 2008 |
+
"type": "text",
|
| 2009 |
+
"text": "Table 8: Zero-shot and few-shot prompt template for Chinese-English code-switching ASR error correction.",
|
| 2010 |
+
"bbox": [
|
| 2011 |
+
507,
|
| 2012 |
+
869,
|
| 2013 |
+
882,
|
| 2014 |
+
897
|
| 2015 |
+
],
|
| 2016 |
+
"page_idx": 11
|
| 2017 |
+
},
|
| 2018 |
+
{
|
| 2019 |
+
"type": "page_number",
|
| 2020 |
+
"text": "8086",
|
| 2021 |
+
"bbox": [
|
| 2022 |
+
480,
|
| 2023 |
+
928,
|
| 2024 |
+
521,
|
| 2025 |
+
940
|
| 2026 |
+
],
|
| 2027 |
+
"page_idx": 11
|
| 2028 |
+
},
|
| 2029 |
+
{
|
| 2030 |
+
"type": "text",
|
| 2031 |
+
"text": "E Rule-based Method",
|
| 2032 |
+
"text_level": 1,
|
| 2033 |
+
"bbox": [
|
| 2034 |
+
114,
|
| 2035 |
+
83,
|
| 2036 |
+
321,
|
| 2037 |
+
98
|
| 2038 |
+
],
|
| 2039 |
+
"page_idx": 12
|
| 2040 |
+
},
|
| 2041 |
+
{
|
| 2042 |
+
"type": "text",
|
| 2043 |
+
"text": "The details of the five rules adopted in our proposed rule-based method are introduced in the following.",
|
| 2044 |
+
"bbox": [
|
| 2045 |
+
112,
|
| 2046 |
+
109,
|
| 2047 |
+
487,
|
| 2048 |
+
140
|
| 2049 |
+
],
|
| 2050 |
+
"page_idx": 12
|
| 2051 |
+
},
|
| 2052 |
+
{
|
| 2053 |
+
"type": "text",
|
| 2054 |
+
"text": "Delete. Randomly delete a token with a probability.",
|
| 2055 |
+
"bbox": [
|
| 2056 |
+
112,
|
| 2057 |
+
141,
|
| 2058 |
+
487,
|
| 2059 |
+
172
|
| 2060 |
+
],
|
| 2061 |
+
"page_idx": 12
|
| 2062 |
+
},
|
| 2063 |
+
{
|
| 2064 |
+
"type": "text",
|
| 2065 |
+
"text": "Add. Firstly, randomly select a word or Chinese character from the vocabulary of the ASR datasets, and then add the selected word or character to a random position.",
|
| 2066 |
+
"bbox": [
|
| 2067 |
+
112,
|
| 2068 |
+
174,
|
| 2069 |
+
487,
|
| 2070 |
+
237
|
| 2071 |
+
],
|
| 2072 |
+
"page_idx": 12
|
| 2073 |
+
},
|
| 2074 |
+
{
|
| 2075 |
+
"type": "text",
|
| 2076 |
+
"text": "Replace. Randomly replace a token with a word or Chinese character from the vocabulary of the ASR datasets. In particular, if the selected token is a Chinese character, we select the replacement from the homophones with a probability.",
|
| 2077 |
+
"bbox": [
|
| 2078 |
+
112,
|
| 2079 |
+
239,
|
| 2080 |
+
487,
|
| 2081 |
+
317
|
| 2082 |
+
],
|
| 2083 |
+
"page_idx": 12
|
| 2084 |
+
},
|
| 2085 |
+
{
|
| 2086 |
+
"type": "text",
|
| 2087 |
+
"text": "Shuffle. Shuffle the tokens by adding a normal distribution bias to the positions of the tokens.",
|
| 2088 |
+
"bbox": [
|
| 2089 |
+
112,
|
| 2090 |
+
319,
|
| 2091 |
+
487,
|
| 2092 |
+
349
|
| 2093 |
+
],
|
| 2094 |
+
"page_idx": 12
|
| 2095 |
+
},
|
| 2096 |
+
{
|
| 2097 |
+
"type": "text",
|
| 2098 |
+
"text": "Spell Error. Randomly apply spell error to an English word. We randomly perturb letters with operations, i.e. substitution, deletion, insertion or transposition of letters.",
|
| 2099 |
+
"bbox": [
|
| 2100 |
+
112,
|
| 2101 |
+
351,
|
| 2102 |
+
487,
|
| 2103 |
+
414
|
| 2104 |
+
],
|
| 2105 |
+
"page_idx": 12
|
| 2106 |
+
},
|
| 2107 |
+
{
|
| 2108 |
+
"type": "text",
|
| 2109 |
+
"text": "F Prompt Template",
|
| 2110 |
+
"text_level": 1,
|
| 2111 |
+
"bbox": [
|
| 2112 |
+
114,
|
| 2113 |
+
426,
|
| 2114 |
+
302,
|
| 2115 |
+
443
|
| 2116 |
+
],
|
| 2117 |
+
"page_idx": 12
|
| 2118 |
+
},
|
| 2119 |
+
{
|
| 2120 |
+
"type": "text",
|
| 2121 |
+
"text": "Zero-shot and few-shot prompt templates for Chinese-English code-switching ASR error correction are shown in Table 8.",
|
| 2122 |
+
"bbox": [
|
| 2123 |
+
112,
|
| 2124 |
+
451,
|
| 2125 |
+
489,
|
| 2126 |
+
498
|
| 2127 |
+
],
|
| 2128 |
+
"page_idx": 12
|
| 2129 |
+
},
|
| 2130 |
+
{
|
| 2131 |
+
"type": "text",
|
| 2132 |
+
"text": "G Additional Experiment Results",
|
| 2133 |
+
"text_level": 1,
|
| 2134 |
+
"bbox": [
|
| 2135 |
+
114,
|
| 2136 |
+
511,
|
| 2137 |
+
421,
|
| 2138 |
+
527
|
| 2139 |
+
],
|
| 2140 |
+
"page_idx": 12
|
| 2141 |
+
},
|
| 2142 |
+
{
|
| 2143 |
+
"type": "text",
|
| 2144 |
+
"text": "Results of the mT5 correction model on SEAME-C, when trained with outputs collected from different iterations of our method, are shown in Table 9.",
|
| 2145 |
+
"bbox": [
|
| 2146 |
+
112,
|
| 2147 |
+
537,
|
| 2148 |
+
487,
|
| 2149 |
+
583
|
| 2150 |
+
],
|
| 2151 |
+
"page_idx": 12
|
| 2152 |
+
},
|
| 2153 |
+
{
|
| 2154 |
+
"type": "table",
|
| 2155 |
+
"img_path": "images/5877df100337da3038d691ac1656f44416084fbea8bd03360c13266b5ab6e907.jpg",
|
| 2156 |
+
"table_caption": [],
|
| 2157 |
+
"table_footnote": [],
|
| 2158 |
+
"table_body": "<table><tr><td>Iteration</td><td>Augmented Data Size</td><td>P↑</td><td>R↑</td><td>F0.5↑</td><td>MER↓</td></tr><tr><td>Iteration 1</td><td>1.8M</td><td>28.0</td><td>20.3</td><td>26.1</td><td>20.54</td></tr><tr><td>Iteration 2</td><td>2.6M</td><td>28.2</td><td>20.6</td><td>26.3</td><td>20.49</td></tr><tr><td>Iteration 3</td><td>3.3M</td><td>28.5</td><td>20.7</td><td>26.5</td><td>20.45</td></tr><tr><td>Iteration 4</td><td>3.6M</td><td>28.3</td><td>20.8</td><td>26.4</td><td>20.51</td></tr><tr><td>Iteration 5</td><td>3.8M</td><td>28.3</td><td>21.1</td><td>26.5</td><td>20.40</td></tr></table>",
|
| 2159 |
+
"bbox": [
|
| 2160 |
+
124,
|
| 2161 |
+
594,
|
| 2162 |
+
480,
|
| 2163 |
+
683
|
| 2164 |
+
],
|
| 2165 |
+
"page_idx": 12
|
| 2166 |
+
},
|
| 2167 |
+
{
|
| 2168 |
+
"type": "text",
|
| 2169 |
+
"text": "Table 9: Results of the mT5 correction model on SEAME-C when trained with outputs collected from different iterations of our method.",
|
| 2170 |
+
"bbox": [
|
| 2171 |
+
112,
|
| 2172 |
+
692,
|
| 2173 |
+
487,
|
| 2174 |
+
734
|
| 2175 |
+
],
|
| 2176 |
+
"page_idx": 12
|
| 2177 |
+
},
|
| 2178 |
+
{
|
| 2179 |
+
"type": "page_number",
|
| 2180 |
+
"text": "8087",
|
| 2181 |
+
"bbox": [
|
| 2182 |
+
480,
|
| 2183 |
+
928,
|
| 2184 |
+
519,
|
| 2185 |
+
940
|
| 2186 |
+
],
|
| 2187 |
+
"page_idx": 12
|
| 2188 |
+
}
|
| 2189 |
+
]
|
2023/New Datasets and Controllable Iterative Data Augmentation Method for Code-switching ASR Error Correction/704f5812-1da2-4355-bf1f-7c6e5a7b4a97_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2023/New Datasets and Controllable Iterative Data Augmentation Method for Code-switching ASR Error Correction/704f5812-1da2-4355-bf1f-7c6e5a7b4a97_origin.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:11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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# New Datasets and Controllable Iterative Data Augmentation Method for Code-switching ASR Error Correction
|
| 2 |
+
|
| 3 |
+
Zhaohong Wan $^{1,2}$ and Xiaojun Wan $^{1,2}$ and Wei Peng $^{3}$ and Rongjun Li $^{3}$
|
| 4 |
+
|
| 5 |
+
$^{1}$ Wangxuan Institute of Computer Technology, Peking University
|
| 6 |
+
|
| 7 |
+
2The MOE Key Laboratory of Computational Linguistics, Peking University
|
| 8 |
+
|
| 9 |
+
<sup>3</sup> Artificial Intelligence Application Research Center, Huawei Technologies {xmwzh, wanxiaojun}@pku.edu.cn
|
| 10 |
+
|
| 11 |
+
# Abstract
|
| 12 |
+
|
| 13 |
+
With the wide use of automatic speech recognition (ASR) systems, researchers pay more attention to the ASR error correction task to improve the quality of recognition results. In particular, ASR in bilingual or multilingual settings, namely code-switching ASR, has greater challenges and research value. In this paper, we first present code-switching ASR correction datasets obtained from solid ASR systems and automatic annotators. The datasets contain Chinese-English code-switching dialogues of bilingual speakers in Singapore, Malaysia, and Hong Kong. Based on this task, we propose a controllable iterative (CI) data augmentation method for improving the performance of mainstream ASR error correction systems. With a small amount of training data, our proposed method has the ability to iteratively produce abundant pseudo parallel data from the monolingual corpus for Chinese-English code-switching ASR correction. Results of experiments show that our method achieves the best performance compared with the rule-based, back-translation-based data augmentation methods and large language model ChatGPT.
|
| 14 |
+
|
| 15 |
+
# 1 Introduction
|
| 16 |
+
|
| 17 |
+
Recently, automatic speech recognition (ASR) system has achieved impressive success with the adoption of advanced deep neural network (Moritz et al., 2020). Learning from training data, the ASR system can match human transcribers for some critical tasks. It has been widely applied in several areas, such as live captioning, intelligent appliance control (Aliprandi et al., 2014).
|
| 18 |
+
|
| 19 |
+
In some bilingual and multilingual societies, people often speak more than one language in a conversation. The speech phenomenon of switching language among sentences is called code-switching. To explore the code-switching phenomenon, code-switching tasks in many different
|
| 20 |
+
|
| 21 |
+
<table><tr><td>Error Type</td><td>Redundant</td></tr><tr><td>Source</td><td>我要 start on 我的 a essay
|
| 22 |
+
(I want to start on my a essay.)</td></tr><tr><td>Target</td><td>我要 start on 我的 essay
|
| 23 |
+
(I want to start on my essay.)</td></tr></table>
|
| 24 |
+
|
| 25 |
+
Table 1: Examples of Chinese-English code-switching ASR error correction in our datasets. The contents in brackets are the translations for non-native Chinese speakers.
|
| 26 |
+
|
| 27 |
+
language pairs have been introduced (Dowlagar and Mamidi, 2023; Seddah et al., 2020), including the code-switching ASR task.
|
| 28 |
+
|
| 29 |
+
Employing multilingual ASR systems to solve code-switching ASR is proposed in recent work (Lovenia et al., 2021). However, the performance of systems in many cases is still far from satisfactory. Errors introduced by ASR systems usually affect the performance of downstream tasks. To improve the recognition performance, the code-switching ASR error correction task is necessary.
|
| 30 |
+
|
| 31 |
+
In this paper, we focus on code-switching ASR error correction between Chinese and English, which is common in the Chinese communities of Asia area. To enable the research and development of code-switching ASR error correction, we propose two datasets SEAME-C and ASCEND-C that are constructed from two Chinese-English code-switching ASR datasets SEAME (Lyu et al., 2010) and ASCEND (Lovenia et al., 2021). In Table 1, we present typical examples of Chinese-English code-switching ASR error correction.
|
| 32 |
+
|
| 33 |
+
A challenge for the code-switching ASR error correction is the lack of a large scale of training data. Moreover, we can not even collect sufficient high-quality Chinese-English code-switching data. Considering these challenges, we propose a controllable iterative (CI) data augmentation method that can iteratively generate abundant code-switching ASR error correction instances from the monolingual corpus with small-scale labeled training data.
|
| 34 |
+
|
| 35 |
+
To verify the effectiveness of our proposed method, we implement two data augmentation baselines and evaluate the performance of these methods on proposed datasets at first. With a similar scale of augmented data, our proposed controllable iterative method achieves the best performance in both MaxMatch $(M^2)$ scorer (Dahlmeier and Ng, 2012) and MER metrics on SEAME-C and ASCEND-C datasets. It performs well for both mT5 (Xue et al., 2021) and mBART (Tang et al., 2020) correction methods. Besides, considering the strong ability of large language models (LLM), we compare the performance of our method with the most powerful LLM ChatGPT. Experiments show that our method outdistances the ChatGPT method, which shows the effectiveness of our method in the Chinese-English code-switching ASR error correction task. Besides, we find that this task is challenging, and LLM method is far from achieving satisfactory results at now.
|
| 36 |
+
|
| 37 |
+
Our contributions are summarized as follows:
|
| 38 |
+
|
| 39 |
+
1. We propose two datasets SEAME-C and ASCEND-C for the challenging Chinese-English code-switching ASR error correction task.
|
| 40 |
+
2. To address the problem of lacking sufficient training data, we propose the controllable iterative data augmentation method that can iteratively generate abundant code-switching ASR error correction instances from the monolingual corpus.
|
| 41 |
+
3. Extensive experiments show the superiority of our proposed controllable iterative method. Moreover, combining the pseudo data produced by the rule-based and controllable iterative methods can further improve the performance of error correction models.
|
| 42 |
+
|
| 43 |
+
The resources are publicly available<sup>1</sup>.
|
| 44 |
+
|
| 45 |
+
# 2 Related Work
|
| 46 |
+
|
| 47 |
+
Code-switching ASR, the task aiming to recognize the speech that contains more than one language within the sentences, has been increasingly reported in speech technology and linguistic studies recently (Su, 2001; Auer, 2013). However, to our knowledge, there is no research on the code-switching ASR error correction task at present. In this section, we introduce two relevant fields: ASR error correction and data augmentation method in text error correction.
|
| 48 |
+
|
| 49 |
+
With the successes of ASR systems, the ASR
|
| 50 |
+
|
| 51 |
+
error correction has become a prevalent task in recent years. The idea of regarding the ASR error correction as the machine translation and applied advanced neural machine translation models is adopted in several previous approaches(Mani et al., 2020; Wang et al., 2020). D'Haro and Banchs (2016) first introduce machine translation to improve automatic transcription. Considering the machine translation models require only parallel text pairs, Guo et al. (2019) propose an approach to utilizing text-only data by training a correction model to explicitly correct the errors. The joint modeling method shows great performance in this task(Wang et al., 2023). Re-ranking ASR n-best hypotheses is also a popular topic for error recovery (Corona et al., 2017; Jonson, 2006).
|
| 52 |
+
|
| 53 |
+
To address the problem of lack of training data, data augmentation method is widely adopted in text error correction area. Many works (Grundkiewicz et al., 2019; Lichtarge et al., 2019) adopt pre-defined rules to generate sentences with errors. Inspired by back-translation procedure for machine translation (Sennrich et al., 2016), works (Xie et al., 2018; Kiyono et al., 2019) are proposed to train a model to generate erroneous sentences. Recently, researchers focus on the exposure bias problem of data augmentation method and proposed methods to utilize the augmented data in more effective ways (Solyman et al., 2023; Cao et al., 2023).
|
| 54 |
+
|
| 55 |
+
# 3 Code-switching ASR Error Correction Datasets
|
| 56 |
+
|
| 57 |
+
In this section, we provide details about our two datasets SEAME-C and ASCEND-C. Specifically, we give the construction process of our datasets at first. Then, we do an analysis of our datasets and show some characteristics of them. In this work, we adopt the same corpus splitting as the original ASR datasets. In addition, we remove some bad cases that are too short and eliminate monolingual sentences in the validation and test sets to ensure the quality of evaluation. Our datasets provide quality resources for the research and development of code-switching ASR error correction. Table 2 describes the statistics of our proposed datasets.
|
| 58 |
+
|
| 59 |
+
# 3.1 Data Construction
|
| 60 |
+
|
| 61 |
+
In some Asia's multilingual countries and regions, speaking a mixture of Chinese and English within a sentence is common. We collect data from two Chinese-English code-switching ASR datasets with
|
| 62 |
+
|
| 63 |
+
<table><tr><td rowspan="2"></td><td colspan="3">SEAME-C</td><td colspan="4">ASCEND-C</td></tr><tr><td>Train</td><td>Test</td><td>Total</td><td>Train</td><td>Val</td><td>Test</td><td>Total</td></tr><tr><td># Dialogues</td><td>267</td><td>30</td><td>297</td><td>40</td><td>5</td><td>4</td><td>49</td></tr><tr><td># Sentences</td><td>48,405</td><td>6,293</td><td>54,698</td><td>9,869</td><td>213</td><td>373</td><td>10,455</td></tr><tr><td># Tokens</td><td>801,548</td><td>99,837</td><td>901,385</td><td>122,348</td><td>3,385</td><td>5,538</td><td>131,271</td></tr><tr><td>Avg. sentences in a dialogue</td><td>181.3</td><td>209.8</td><td>174.2</td><td>246.7</td><td>53.3</td><td>92.3</td><td>213.4</td></tr><tr><td>Avg. tokens in a sentence</td><td>16.6</td><td>15.9</td><td>16.5</td><td>12.4</td><td>15.9</td><td>14.8</td><td>12.6</td></tr></table>
|
| 64 |
+
|
| 65 |
+
the advanced ASR system and automatic annotator. In this part, we introduce the main components of the data construction. Details of processing and implementation are shown in the Appendix A.
|
| 66 |
+
|
| 67 |
+
ASR Corpus We build the error correction instances from two Chinese-English code-switching ASR datasets: SEAME and ASCEND. SEAME is a large Chinese-English code-switching spontaneous speech corpus, collected from residents of Malaysia and Singapore. The corpus contains 30 hours of word-level transcribed code-switching speech data. ASCEND is a high-quality Chinese-English code-switching corpus built on spontaneous multi-turn conversation collected in Hong Kong. It comprises 10.62 hours of clean speech data collected from dialogues.
|
| 68 |
+
|
| 69 |
+
ASR System With code-switching ASR datasets, we adopt the ASR system to obtain recognition results. For being close to the real recognition setups, we employ an advanced ASR model architecture, namely XLSR-53 (Xu et al., 2021). We fine-tune the XLSR-53 model and obtain the recognition results for datasets. The code-switching ASR error correction instances in our datasets are built by the pairs of manually annotated transcriptions and corresponding recognition results.
|
| 70 |
+
|
| 71 |
+
Annotator We develop an automatic annotator for the Chinese-English code-switching corpus, based on prior works in English and Chinese (Bryant et al., 2017; Hinson et al., 2020). It takes three steps, tokenization, alignment, and merging, to generate annotations that are suitable for MaxMatch $(M_2)$ evaluation metrics. Besides, the automatic annotator is able to classify errors into four types: redundant (R), missing (M), word selection (S), and word ordering (W). It allows researchers to conduct more detailed experiments and analyses with different error types.
|
| 72 |
+
|
| 73 |
+
# 3.2 Analysis
|
| 74 |
+
|
| 75 |
+
# 3.2.1 Language Distribution
|
| 76 |
+
|
| 77 |
+
As the code-switching datasets contain multiple languages, the observation of language distribu
|
| 78 |
+
|
| 79 |
+
Table 2: Statistics of our proposed code-switching ASR error correction datasets.
|
| 80 |
+
|
| 81 |
+
<table><tr><td></td><td>SEAME-C</td><td>ASCEND-C</td></tr><tr><td colspan="3">At dialogue level</td></tr><tr><td>Code-switching dialogues</td><td>100%</td><td>100%</td></tr><tr><td colspan="3">At sentence level</td></tr><tr><td>Code-switching sentences</td><td>76.6%</td><td>27.8%</td></tr><tr><td>Chinese sentences</td><td>14.3%</td><td>48.6%</td></tr><tr><td>English sentences</td><td>9.1%</td><td>23.6%</td></tr><tr><td colspan="3">At token level</td></tr><tr><td>Chinese tokens</td><td>83.7%</td><td>92.5%</td></tr><tr><td>English tokens</td><td>16.3%</td><td>7.5%</td></tr></table>
|
| 82 |
+
|
| 83 |
+
Table 3: Proportion of languages used in datasets at dialogue, sentence and token levels.
|
| 84 |
+
|
| 85 |
+
tion is important for the analysis. We calculate the proportion of languages used in the datasets at dialogue, utterance, and token levels. Table 3 presents the details.
|
| 86 |
+
|
| 87 |
+
From the table, we can find that the sentence-level language distribution of two datasets is quite different. In the SEAME-C dataset, the code-switching sentences take the main proportion, accounting for $76.6\%$ . As for the ASCEND-C dataset, the Chinese sentences account for the largest proportion, while the code-switching instances only account for $27.8\%$ . In terms of token-level language distribution, both two datasets are dominated by Chinese tokens. It shows that the code-switching phenomenon in Asia area mainly occurs by mixing a few English words into Chinese speech. Considering that, we generate pseudo data from Chinese sentences in our data augmentation method in the following sections.
|
| 88 |
+
|
| 89 |
+
# 3.2.2 Error Distribution
|
| 90 |
+
|
| 91 |
+
With the proposed automatic annotator, the errors in datasets are classified into four types. To analyze the characteristic of ASR errors in proposed datasets, we calculate the error distributions on the test sets of SEAME-C and ASCEND-C datasets. The results are presented in Table 4.
|
| 92 |
+
|
| 93 |
+
As shown in the table, the error distributions on the test sets of two datasets are similar. The word selection errors account for the largest proportion, with $85.7\%$ in SEAME-C and $81.3\%$ in ASCEND-C. This type of error is caused by mistakes in the
|
| 94 |
+
|
| 95 |
+

|
| 96 |
+
Figure 1: An example of the process of generating pseudo data in our controllable iterative method. We highlight the edited parts of sentences in each iteration. The controllable iterative method produces pseudo training instances by iteratively generating outputs from input sentences. We apply the sequence editing model to generate synthetic data and build training pairs with iterations.
|
| 97 |
+
|
| 98 |
+
<table><tr><td rowspan="2">Error Type</td><td colspan="2">SEAME-C</td><td colspan="2">ASCEND-C</td></tr><tr><td>#</td><td>%</td><td>#</td><td>%</td></tr><tr><td>Redundant (R)</td><td>908</td><td>5.6</td><td>134</td><td>11.2</td></tr><tr><td>Missing (M)</td><td>1,381</td><td>8.6</td><td>86</td><td>7.2</td></tr><tr><td>Word Selection (S)</td><td>13,831</td><td>85.7</td><td>972</td><td>81.3</td></tr><tr><td>Word Ordering (W)</td><td>15</td><td>0.1</td><td>4</td><td>0.3</td></tr></table>
|
| 99 |
+
|
| 100 |
+
Table 4: Error distribution on the test sets of SEAME-C and ASCEND-C datasets. The # columns present the amounts of specific error.
|
| 101 |
+
|
| 102 |
+
recognition of words or phrases with similar pronunciation. Besides, there are a number of missing and redundant errors, which is challenging to correct for requiring to change the length of the input. Additionally, the frequency of word ordering errors is very few. We can find that the code-switching ASR error correction is a task with imbalanced error distribution, and we need to consider it when designing the correction method.
|
| 103 |
+
|
| 104 |
+
# 4 Controllable Iterative Data Augmentation Method
|
| 105 |
+
|
| 106 |
+
To address the problem of lacking sufficient training data, we propose the controllable iterative data augmentation method. Due to the shortage of high-quality Chinese-English code-switching corpus, our method is designed to directly generate training instances from monolingual texts. Our method consists of two parts: sequence editing model and pseudo data generation algorithm.
|
| 107 |
+
|
| 108 |
+
Sequence editing model is the fundamental structure of our method. It adopts the Transformer architecture and the predefined editing operations called transformations to generate raw augmented data from seed corpus. Pseudo data generation algo
|
| 109 |
+
|
| 110 |
+
rithm plays a crucial role in the proposed method. It adopts the sequence editing model to iteratively produce pseudo training data under the control of confidence bias. With our designed transformations, the sequence editing model is able to directly generate training instances from monolingual texts. Figure 1 shows an example of the process of generating pseudo data in our controllable iterative method.
|
| 111 |
+
|
| 112 |
+
# 4.1 Sequence Editing Model
|
| 113 |
+
|
| 114 |
+
The data augmentation method for the code-switching ASR error correction task aims to generate instances with errors as pseudo training data. Error generation can be treated as the process of noising the correct source input with edit operations. Based on this idea, we adopt the sequence editing model to obtain the editing sequence required to produce output with errors.
|
| 115 |
+
|
| 116 |
+
# 4.1.1 Predefined Transformations
|
| 117 |
+
|
| 118 |
+
The sequence editing method requires predefined editing operations called transformations. In this work, we adopt the custom token-level transformations developed in GECToR (Omelianchuk et al., 2020), the details are shown in Appendix B. These transformations are originally designed for English texts. We denote these transformations except $TRANSLATION$ as noising transformations. For generating code-switching sentences from monolingual sources, we introduce crosslingual transformations into original ones. Firstly, we add the translation transformation ($TRANSLATION$) that replaces the current token with the most common translation in a Chinese-English
|
| 119 |
+
|
| 120 |
+
dictionary. Secondly, to cover the specific cases that the most common translation can not fit, we insert additional Chinese characters to the vocabulary of $APPEND$ and $REPLACE$ operations. With predefined transformations, we can get the target sentence by applying the sequential outputs of transformations to the tokens in the source sentence.
|
| 121 |
+
|
| 122 |
+
# 4.1.2 Model Architecture
|
| 123 |
+
|
| 124 |
+
The sequence editing model is an encoder made up of Transformer architecture stacked with two linear layers with softmax layers. Considering the strong performance of pre-trained model, the Transformer architecture is initiated with multilingual pre-trained model m-BERT (Devlin et al., 2019). The model is able to generate an editing operation sequence from the source input, and then apply the operations on the source to obtain the target output.
|
| 125 |
+
|
| 126 |
+
To make the generation process of the model controllable, we add a confidence bias to the decoding process. The confidence bias is a parameter applied to change the generation probability of transformations. For example, adding a positive confidence bias to $KEEP$ can increase the probability of generating the $KEEP$. By adjusting the confidence bias, the decoding process of sequence editing model is under control.
|
| 127 |
+
|
| 128 |
+
# 4.1.3 Training Process
|
| 129 |
+
|
| 130 |
+
To generate pseudo data, we need to train the sequence editing model to generate noisy sentences from correct ones at first.
|
| 131 |
+
|
| 132 |
+
Given a pair of a monolingual sentence $x$ without noise and a code-switching sentence with noise $y$ . Then we convert the sentence $y$ to a sequence of transformations $z$ . Let $\epsilon$ denote the preset confidence bias and $\Theta$ denote all trainable parameters of the sequence editing model $\phi$ . Our objective is to find the optimal parameter set $\hat{\Theta}$ that minimizes the following negative log-likelihood function:
|
| 133 |
+
|
| 134 |
+
$$
|
| 135 |
+
L = - \log P (z | x, \epsilon , \Theta) \tag {1}
|
| 136 |
+
$$
|
| 137 |
+
|
| 138 |
+
where $P(z|x,\epsilon ,\Theta)$ denotes the conditional probability.
|
| 139 |
+
|
| 140 |
+
After training on constructed instances, our model can not only learn the editing operations to apply errors to sentences but also the transformations to generate English-Chinese code-switching texts. Some details of training are shown in Appendix C.
|
| 141 |
+
|
| 142 |
+
# Algorithm 1 Generating pseudo data
|
| 143 |
+
|
| 144 |
+
Input: Monolingual Sentence $x_0$ ; Number of iterations $T$ ; Sequence editing model $\phi$ ; Confidence bias $\epsilon$ ; Similarity Discriminator $\psi$ ; Hyper parameter $\lambda, \epsilon_0, \epsilon_1$
|
| 145 |
+
|
| 146 |
+
Output: Synthetic erroneous samples set $S$
|
| 147 |
+
|
| 148 |
+
Function: $Gen(x_0, T, \lambda, \epsilon_0, \epsilon_1)$ :
|
| 149 |
+
|
| 150 |
+
1: for $t\gets 1$ to $T$ do
|
| 151 |
+
2: if $t = 1$ then
|
| 152 |
+
3: $\epsilon \gets \epsilon_0$
|
| 153 |
+
4: else
|
| 154 |
+
5: $\epsilon \gets \epsilon_1$
|
| 155 |
+
6: $x_{t}\gets \phi (x_{t - 1},\epsilon)$
|
| 156 |
+
7: if $t\geq 2$ then
|
| 157 |
+
8: $p\gets \psi (x_1,x_t)$
|
| 158 |
+
9: if $p\geq \lambda$ then
|
| 159 |
+
10: $S.\text{add}(x_1,x_t)$
|
| 160 |
+
return S
|
| 161 |
+
|
| 162 |
+
# 4.2 Pseudo Data Generation Algorithm
|
| 163 |
+
|
| 164 |
+
To generate pseudo training data from the monolingual corpus for code-switching ASR error correction, we have to generate both code-switching target sentences and source sentences with ASR errors. For this objective, we propose an iterative generation approach to obtain pseudo training pairs for code-switching ASR error correction with only one model in multiple iterations. The algorithm for generating pseudo training data is summarized in Algorithm 1.
|
| 165 |
+
|
| 166 |
+
Given a monolingual sentence from seed corpus $x_0$ . We apply $T$ times of iterations to the sequence editing model $\phi$ to generate data.
|
| 167 |
+
|
| 168 |
+
In the first iteration, we adjust the confidence bias to $\epsilon_0$ that limits the noising transformations and makes the model use cross-lingual transformations and $KEEP$ to generate code-switching sentence $x_{1}$ . This process can be formulated as:
|
| 169 |
+
|
| 170 |
+
$$
|
| 171 |
+
x _ {1} \leftarrow \phi \left(x _ {0}, \epsilon_ {0}\right) \tag {2}
|
| 172 |
+
$$
|
| 173 |
+
|
| 174 |
+
In the $t$ -th $(1 < t \leq T)$ iteration, the confidence bias is set to $\epsilon_{1}$ that balances the generation probability of each transformation. It makes the model apply diverse noises to the output of the $(t-1)$ -th iteration $x_{t-1}$ and obtain the pseudo instances with errors $x_{t}$ . This process can be formulated as:
|
| 175 |
+
|
| 176 |
+
$$
|
| 177 |
+
x _ {t} \leftarrow \phi \left(x _ {t - 1}, \epsilon_ {1}\right) \tag {3}
|
| 178 |
+
$$
|
| 179 |
+
|
| 180 |
+
where $1 < t \leq T$ .
|
| 181 |
+
|
| 182 |
+
With above pseudo instances $x_{1}, \ldots, x_{T}$ , we treat the output in the first iteration as the correct target sentence and the output in the later turn as noised source sentence to get the sentence pairs.
|
| 183 |
+
|
| 184 |
+
In order to improve the quality of synthetic samples, we use BERTScore (Zhang et al., 2019) as the similarity discriminator to filter sentence pairs with low similarity. Given a sentence pair $(x_{1}, x_{t})$ $(1 < t \leq T)$ , we use similarity discriminator $\psi$ to get a score $p \in [0,1]$ that presents the semantic similarity between sentences $x_{1}$ and $x_{t}$ . We set a threshold $\lambda$ that if the score $p$ of a sentence pair is greater than the threshold, the pair can be selected as an augmented training sample.
|
| 185 |
+
|
| 186 |
+
# 5 Experimental Setup
|
| 187 |
+
|
| 188 |
+
In this section, we present our experimental setup including datasets, ASR error correction model, and data augmentation baseline. More details of implementation are presented in Appendix D.
|
| 189 |
+
|
| 190 |
+
# 5.1 Dataset for Experiment
|
| 191 |
+
|
| 192 |
+
Training and Test Data Firstly, we train the model on pseudo training instances generated from data augmentation method. Then, we fine-tune the code-switching ASR error correction model on our proposed Chinese-English code-switching ASR error correction datasets: SEAME-C and ASCEND-C. We take $M^2$ scorer and mixed error rate (MER)(Adel et al., 2013) as evaluation metrics.
|
| 193 |
+
|
| 194 |
+
Seed Corpus for Pseudo Training Data Generation For data augmentation methods, we need to generate pseudo training instances from a seed corpus. Considering proposed datasets were mainly collected from dialogues, we pick the OpenSubtitles dataset (Lison and Tiedemann, 2016), which is a large collection of subtitles in various languages for movies and TV programs, as the seed corpus.
|
| 195 |
+
|
| 196 |
+
# 5.2 ASR Error Correction Model
|
| 197 |
+
|
| 198 |
+
In multilingual grammatical error correction task, the adoption of multilingual version of pre-trained model has achieved great success (Rothe et al., 2021). So we pick two strong multilingual pretrained models mT5 and mBART as the code-switching ASR error correction models to verify the effectiveness of our data augmentation method.
|
| 199 |
+
|
| 200 |
+
Considering that large language models (LLM) have made significant advancements in various NLP tasks. We adopt the most powerful LLM
|
| 201 |
+
|
| 202 |
+
ChatGPT as the baseline. In our experiment, we test the performance of the GPT-3.5-turbo model on the code-switching ASR error correction task with zero-shot and few-shot settings. The prompt templates for ChatGPT are shown in Appendix F.
|
| 203 |
+
|
| 204 |
+
# 5.3 Data Augmentation Baseline
|
| 205 |
+
|
| 206 |
+
There are other ways to generate pseudo code-switching ASR error correction training instances. In our experiment, we implement two data augmentation baselines to compare with our controllable iterative data augmentation method. Firstly, we apply a code-switching text generation approach to get the Chinese-English code-switching texts from a parallel seed corpus. With the code-switching texts, we implement the rule-based and back-translation-based data augmentation methods to improve the ASR error correction models.
|
| 207 |
+
|
| 208 |
+
Code-switching Text Generation Following previous work (Hussein et al., 2022), we apply the EC theory (Pratapa et al., 2018) to generate Chinese-English code-switching texts. By taking the pairs of parallel sentences in seed corpus as input, the method generates the code-switching texts by replacing the token in the parse tree with its word-level alignments. In our experiment, we adopt the fast-align tool (Dyer et al., 2013) to get the word-level alignments and parse the sentences with a neural graph-based parser(Dozat and Manning).
|
| 209 |
+
|
| 210 |
+
Rule-based Method The rule-based method is a simple way to generate errors efficiently. We design a rule-based method that generates synthetic training data with five rules: delete, add, replace, shuffle, spelling error. The details of the rules are introduced in Appendix E. With above rules, we can get synthetic training samples with various errors. These synthetic training samples can be used to improve the performance of the code-switching ASR error correction system.
|
| 211 |
+
|
| 212 |
+
Back-translation Method Inspired by the use of back-translation in downstream tasks (Xie et al., 2018), we train a seq2seq noisy model (like the back-translation model) to generate noisy sentences from correct ones. Then the output of the noising model is paired with the input and the sentence pairs are then used as pseudo data. In our experiment, we consider adopting a base mT5 model as the noising model for our baseline.
|
| 213 |
+
|
| 214 |
+
<table><tr><td rowspan="2">Correction Model</td><td rowspan="2">Augmentation Method</td><td rowspan="2">Augmented Data Size</td><td colspan="4">SEAME-C</td><td colspan="4">ASCEND-C</td></tr><tr><td>P↑</td><td>R↑</td><td>F0.5↑</td><td>MER↓</td><td>P↑</td><td>R↑</td><td>F0.5↑</td><td>MER↓</td></tr><tr><td rowspan="4">mT5</td><td>-</td><td>-</td><td>26.2</td><td>18.7</td><td>24.3</td><td>21.14</td><td>20.7</td><td>15.3</td><td>19.3</td><td>40.31</td></tr><tr><td>Rules</td><td>5M</td><td>27.4</td><td>19.9</td><td>25.4</td><td>20.74</td><td>23.9</td><td>17.8</td><td>22.4</td><td>37.57</td></tr><tr><td>Back-translation</td><td>4.1M</td><td>27.1</td><td>20.5</td><td>25.5</td><td>20.70</td><td>23.3</td><td>17.4</td><td>21.8</td><td>38.21</td></tr><tr><td>CI</td><td>3.3M</td><td>28.5</td><td>20.7</td><td>26.5</td><td>20.45</td><td>25.0</td><td>19.6</td><td>23.7</td><td>36.35</td></tr><tr><td rowspan="4">mBART</td><td>-</td><td>-</td><td>23.8</td><td>17.1</td><td>22.1</td><td>21.65</td><td>19.6</td><td>14.9</td><td>18.4</td><td>40.12</td></tr><tr><td>Rules</td><td>5M</td><td>25.4</td><td>18.9</td><td>23.8</td><td>21.18</td><td>22.5</td><td>17.2</td><td>21.2</td><td>38.63</td></tr><tr><td>Back-translation</td><td>4.1M</td><td>25.7</td><td>19.1</td><td>24.0</td><td>21.03</td><td>22.8</td><td>18.0</td><td>21.7</td><td>38.44</td></tr><tr><td>CI</td><td>3.3M</td><td>26.9</td><td>21.0</td><td>25.5</td><td>20.73</td><td>24.1</td><td>18.3</td><td>22.7</td><td>37.50</td></tr><tr><td>GPT-3.5-turbo(zero-shot)</td><td>-</td><td>-</td><td>7.5</td><td>8.1</td><td>7.6</td><td>40.01</td><td>5.7</td><td>3.9</td><td>5.2</td><td>71.28</td></tr><tr><td>GPT-3.5-turbo(3-shot)</td><td>-</td><td>-</td><td>13.3</td><td>12.6</td><td>13.1</td><td>35.44</td><td>7.2</td><td>4.8</td><td>6.5</td><td>65.62</td></tr></table>
|
| 215 |
+
|
| 216 |
+
Table 5: Comparison results of each method. Augmented data sizes show the amounts of additional training sentences used in each method.
|
| 217 |
+
|
| 218 |
+
# 6 Results and Analysis
|
| 219 |
+
|
| 220 |
+
# 6.1 Comparison Results
|
| 221 |
+
|
| 222 |
+
We evaluate the performance of our controllable iterative data augmentation method on proposed datasets. Table 5 shows the results.
|
| 223 |
+
|
| 224 |
+
Firstly, we compare our method with the two data augmentation baselines. For the fairness of comparison, we train the correction models with the similar scale of augmentation data. Here we use pseudo data generated from the controllable iterative method with three iterations to train the correction model.
|
| 225 |
+
|
| 226 |
+
As we can see from the table, our proposed controllable iterative data augmentation method achieves the best performance in both $M^2$ scorer and MER metrics on SEAME-C and ASCEND-C datasets. It outperforms the two baselines for both mT5 and mBART correction methods, which shows the effectiveness and robustness of our controllable iterative method in Chinese-English code-switching ASR error correction task.
|
| 227 |
+
|
| 228 |
+
Besides, we test ChatGPT (GPT-3.5-turbo) on the proposed dataset. From the table, we can find that the performance of ChatGPT is poor in this task. Under the zero-shot setting, it can only correct a few errors. By learning from examples in the prompt, the performance of ChatGPT under few-shot setting has significantly improved, but still far from the performance of mT5 and mBART models.
|
| 229 |
+
|
| 230 |
+
The experiment results show that the code-switching ASR error correction task is challenging at present. Due to the scarcity of data and the complexity of code-switching text, LLM method is far from achieving satisfactory results in this task. We present that our data augmentation is an effective method to improve the performance of Chinese-English code-switching ASR error correc
|
| 231 |
+
|
| 232 |
+

|
| 233 |
+
tion models.
|
| 234 |
+
Figure 2: Results of the mT5 correction model on SEAME-C when trained with outputs collected from different iterations of our controllable iterative method.
|
| 235 |
+
|
| 236 |
+
# 6.2 Iteration of Proposed Method
|
| 237 |
+
|
| 238 |
+
We build the pseudo training pairs with the outputs of the controllable iterative method in multiple iterations. In this section, we try to explore the influence of the iteration number on the generation of augmented data. Figure 2 shows the results of the mT5 correction model on the SEAME-C dataset when it is trained with outputs collected from different iterations. The details of results are shown in Appendix G.
|
| 239 |
+
|
| 240 |
+
As the iteration progresses, controllable iterative method continuously generates noisy code-switching data. By collecting the outputs in iterations, we can obtain more pseudo training pairs at each new iteration. In general, using a larger scale of training data may achieve better performance. However, the experimental results show the bottleneck of the data augmentation method that further increasing augmented training data at the 3-th iteration even has a negative impact on performance. This bottleneck might be caused by the quality reduction of the generated data after a few iterations. Considering the balance between perfor
|
| 241 |
+
|
| 242 |
+
<table><tr><td>Dataset</td><td>Augmentation Method</td><td>P↑</td><td>R↑</td><td>F0.5↑</td><td>MER↓</td></tr><tr><td rowspan="3">SEAME-C</td><td>Rules</td><td>27.4</td><td>19.9</td><td>25.4</td><td>20.74</td></tr><tr><td>CI</td><td>28.5</td><td>20.7</td><td>26.5</td><td>20.45</td></tr><tr><td>Rules+CI</td><td>29.2</td><td>21.3</td><td>27.2</td><td>20.15</td></tr><tr><td rowspan="3">ASCEND-C</td><td>Rules</td><td>23.9</td><td>17.8</td><td>22.4</td><td>37.57</td></tr><tr><td>CI</td><td>25.0</td><td>19.6</td><td>23.7</td><td>36.35</td></tr><tr><td>Rules+CI</td><td>25.6</td><td>20.8</td><td>24.5</td><td>35.46</td></tr></table>
|
| 243 |
+
|
| 244 |
+
mance and computing costs, we select the outputs generated in the third iteration as the augmented data used for Chinese-English code-switching ASR error correction task.
|
| 245 |
+
|
| 246 |
+
# 6.3 Combination of Augmented Data
|
| 247 |
+
|
| 248 |
+
Rule-based and model-based data augmentation methods are two different approaches to pseudo training data generation. Therefore, the distributions of errors generated by these two types of data augmentation methods might be different in general. In this section, we try to explore the effect of combining the data generated by rule-based and our methods.
|
| 249 |
+
|
| 250 |
+
In our experiments, we pick the mT5 model that achieves higher evaluation scores in previous experiments as the error correction model. The results of using the combined pseudo data are shown in Table 6. From the results, we can find that training mT5 with the combined pseudo data achieves the best scores on our datasets. The use of the data generated by the rule-based method can further improve the performance of the error correction model.
|
| 251 |
+
|
| 252 |
+
We further analyze the results of different error types. With the automatic annotator, we evaluate the performance in four types: redundant (R), missing (M), word selection (S), and word ordering (W). We conduct the experiment on our SEAME-C dataset with mT5 as the error correction model. The results are shown in Table 7.
|
| 253 |
+
|
| 254 |
+
Table 6: Results of the mT5 correction model on datasets when trained with the combination of pseudo data generated by controllable iterative (CI) and rule-based methods.
|
| 255 |
+
|
| 256 |
+
<table><tr><td>Error Type</td><td>R</td><td>M</td><td>S</td><td>W</td></tr><tr><td>Augmentation Method</td><td>F0.5</td><td>F0.5</td><td>F0.5</td><td>F0.5</td></tr><tr><td>-</td><td>8.1</td><td>16.3</td><td>21.1</td><td>9.8</td></tr><tr><td>Rules</td><td>10.8</td><td>25.6</td><td>26.1</td><td>11.1</td></tr><tr><td>CI</td><td>17.1</td><td>20.5</td><td>28.7</td><td>14.7</td></tr><tr><td>Rules+CI</td><td>18.7</td><td>21.1</td><td>29.1</td><td>7.9</td></tr></table>
|
| 257 |
+
|
| 258 |
+
Table 7: Results of mT5 correction model on SEAME-C with different augmentation methods on different error types.
|
| 259 |
+
|
| 260 |
+
As can be seen from the results, data augmentation methods affect the performance of the correction model with respect to different error types. Compared with the controllable iterative method, the rule-based method achieves higher scores on missing errors. The correction model benefits from the operations such as adding and deleting tokens defined in the rules that provide sufficient instances with missing errors. Generally, combining controllable iterative and rule-based data augmentation methods can cover most error types and generate samples with high diversity. It enables the correction model to achieve better performance.
|
| 261 |
+
|
| 262 |
+
# 7 Conclusion
|
| 263 |
+
|
| 264 |
+
In this paper, we explore the code-switching ASR error correction task. To enable the research, we first propose two Chinese-English code-switching ASR correction datasets. To address the problem of lacking sufficient training data, we propose the controllable iterative data augmentation method that can generate code-switching ASR error correction instances from the monolingual corpus iteratively. Experiment results show that our method achieves the best performance compared with the rule-based augmentation method, back-translation augmentation method, and ChatGPT method. We further find that combining the data generated by both rule-based method and controllable iterative method can further improve the performance of the error correction model. In future work, we will apply our data augmentation method to other code-switching tasks and also test our method in other language pairs.
|
| 265 |
+
|
| 266 |
+
# Limitations
|
| 267 |
+
|
| 268 |
+
In this paper, we only conduct experiments on Chinese-English datasets. There are code-switching phenomena that occur in other languages, for example, the Spanish-English and French-Italian code-switching in America. The empirical conclusions we draw in this study might be changed under different language settings. Another limitation of our study is the lack of manual evaluation. Considering the challenge of the code-switching ASR error correction task, manual evaluation can cover the cases that are evaluated inaccurately by automatic metrics. More interesting conclusions might be drawn by conducting the manual evaluation.
|
| 269 |
+
|
| 270 |
+
# Acknowledgements
|
| 271 |
+
|
| 272 |
+
This work was supported by National Key R & D Program of China (2021YFF0901502), National Science Foundation of China (No. 62161160339), State Key Laboratory of Media Convergence Production Technology and Systems and Key Laboratory of Science, Technology and Standard in Press Industry (Key Laboratory of Intelligent Press Media Technology). We appreciate the anonymous reviewers for their helpful comments. Xiaojun Wan is the corresponding author.
|
| 273 |
+
|
| 274 |
+
# References
|
| 275 |
+
|
| 276 |
+
Heike Adel, Ngoc Thang Vu, Franziska Kraus, Tim Schlippe, Haizhou Li, and Tanja Schultz. 2013. Recurrent neural network language modeling for code switching conversational speech. In 2013 IEEE International Conference on Acoustics, Speech and Signal Processing, pages 8411-8415. IEEE.
|
| 277 |
+
Carlo Aliprandi, Cristina Scudellari, Isabella Gallucci, Nicola Piccinini, Matteo Raffaelli, Arantza del Pozo, Aitor Alvarez, Haritz Arzelus, Renato Cassaca, Tiago Luis, et al. 2014. Automatic live subtitling: state of the art, expectations and current trends. In Proceedings of NAB Broadcast Engineering Conference: Papers on Advanced Media Technologies, Las Vegas, volume 13.
|
| 278 |
+
Peter Auer. 2013. Code-switching in conversation: Language, interaction and identity. Routledge.
|
| 279 |
+
Christopher Bryant, Mariano Felice, and Edward Briscoe. 2017. Automatic annotation and evaluation of error types for grammatical error correction. Association for Computational Linguistics.
|
| 280 |
+
Hannan Cao, Wenmian Yang, and Hwee Tou Ng. 2023. Mitigating exposure bias in grammatical error correction with data augmentation and reweighting. In Proceedings of the 17th Conference of the European Chapter of the Association for Computational Linguistics, pages 2115-2127.
|
| 281 |
+
Rodolfo Corona, Jesse Thomason, and Raymond Mooney. 2017. Improving black-box speech recognition using semantic parsing. In Proceedings of the Eighth International Joint Conference on Natural Language Processing (Volume 2: Short Papers), pages 122-127.
|
| 282 |
+
Daniel Dahlmeier and Hwee Tou Ng. 2012. Better evaluation for grammatical error correction. In Proceedings of the 2012 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pages 568-572.
|
| 283 |
+
Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. 2019. Bert: Pre-training of deep
|
| 284 |
+
|
| 285 |
+
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.
|
| 286 |
+
Suman Dowlagar and Radhika Mamidi. 2023. A code-mixed task-oriented dialog dataset for medical domain. Computer Speech & Language, 78:101449.
|
| 287 |
+
Timothy Dozat and Christopher D Manning. Deep bia-affine attention for neural dependency parsing.
|
| 288 |
+
Chris Dyer, Victor Chahuneau, and Noah A Smith. 2013. A simple, fast, and effective reparameterization of ibm model 2. In Proceedings of the 2013 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pages 644-648.
|
| 289 |
+
Luis Fernando D'Haro and Rafael E Banchs. 2016. Automatic correction of asr outputs by using machine translation. In Interspeech, volume 2016, pages 3469-3473.
|
| 290 |
+
Roman Grundkiewicz, Marcin Junczys-Dowmunt, and Kenneth Heafield. 2019. Neural grammatical error correction systems with unsupervised pre-training on synthetic data. In Proceedings of the Fourteenth Workshop on Innovative Use of NLP for Building Educational Applications, pages 252-263.
|
| 291 |
+
Jinxi Guo, Tara N Sainath, and Ron J Weiss. 2019. A spelling correction model for end-to-end speech recognition. In ICASSP 2019-2019 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pages 5651-5655. IEEE.
|
| 292 |
+
Charles Hinson, Hen-Hsen Huang, and Hsin-Hsi Chen. 2020. Heterogeneous recycle generation for chinese grammatical error correction. In Proceedings of the 28th International Conference on Computational Linguistics, pages 2191-2201.
|
| 293 |
+
Amir Hussein, Shammur Absar Chowdhury, Ahmed Abdelali, Najim Dehak, and Ahmed Ali. 2022. Code-switching text augmentation for multilingual speech processing. arXiv e-prints, pages arXiv-2201.
|
| 294 |
+
Yunqi Gao Jiaju Mei, Yiming Zhu. 1996. Tongyici cilin. In Shanghai Lexicographical Publishing House.
|
| 295 |
+
Rebecca Jonson. 2006. Dialogue context-based reranking of asr hypotheses. In 2006 IEEE Spoken Language Technology Workshop, pages 174-177. IEEE.
|
| 296 |
+
Shun Kiyono, Jun Suzuki, Masato Mita, Tomoya Mizumoto, and Kentaro Inui. 2019. An empirical study of incorporating pseudo data into grammatical error correction. In Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP), pages 1236-1242.
|
| 297 |
+
|
| 298 |
+
Jared Lichtarge, Chris Alberti, Shankar Kumar, Noam Shazeer, Niki Parmar, and Simon Tong. 2019. Corpora generation for grammatical error correction. 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 3291-3301.
|
| 299 |
+
Pierre Lison and Jörg Tiedemann. 2016. Opensubtitles2016: Extracting large parallel corpora from movie and tv subtitles.
|
| 300 |
+
Holy Lovenia, Samuel Cahyawijaya, Genta Indra Winata, Peng Xu, Xu Yan, Zihan Liu, Rita Frieske, Tiezheng Yu, Wenliang Dai, Elham J Barezi, et al. 2021. Ascend: A spontaneous chinese-english dataset for code-switching in multi-turn conversation. arXiv preprint arXiv:2112.06223.
|
| 301 |
+
Dau-Cheng Lyu, Tien-Ping Tan, Eng Siong Chng, and Haizhou Li. 2010. Seame: a mandarin-english code-switching speech corpus in south-east asia. In Eleventh Annual Conference of the International Speech Communication Association.
|
| 302 |
+
Anirudh Mani, Shruti Palaskar, Nimshi Venkat Meripo, Sandeep Konam, and Florian Metze. 2020. Asr error correction and domain adaptation using machine translation. In ICASSP 2020-2020 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pages 6344-6348. IEEE.
|
| 303 |
+
Niko Moritz, Takaaki Hori, and Jonathan Le. 2020. Streaming automatic speech recognition with the transformer model. In ICASSP 2020-2020 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pages 6074-6078. IEEE.
|
| 304 |
+
Kostiantyn Omelianchuk, Vitaliy Atrasevych, Artem Chernodub, and Oleksandr Skurzhanskyi. 2020. Gector-grammatical error correction: Tag, not rewrite. In Proceedings of the Fifteenth Workshop on Innovative Use of NLP for Building Educational Applications, pages 163-170.
|
| 305 |
+
Adam Paszke, Sam Gross, Francisco Massa, Adam Lerer, James Bradbury, Gregory Chanan, Trevor Killeen, Zeming Lin, Natalia Gimelshein, Luca Antiga, et al. 2019. Pytorch: An imperative style, high-performance deep learning library. Advances in neural information processing systems, 32.
|
| 306 |
+
Adithya Pratapa, Gayatri Bhat, Monjit Choudhury, Sunayana Sitaram, Sandipan Dandapat, and Kalika Bali. 2018. Language modeling for code-mixing: The role of linguistic theory based synthetic data. In Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 1543-1553.
|
| 307 |
+
Sascha Rothe, Jonathan Mallinson, Eric Malmi, Sebastian Krause, and Aliaksei Severyn. 2021. A simple recipe for multilingual grammatical error correction. In Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the
|
| 308 |
+
|
| 309 |
+
11th International Joint Conference on Natural Language Processing (Volume 2: Short Papers), pages 702-707.
|
| 310 |
+
Djame Seddah, Farah Essaidi, Amal Fethi, Matthieu Futeral, Benjamin Muller, Pedro Ortiz Suarez, Benoit Sagot, and Abhishek Srivastava. 2020. Building a user-generated content north-african arabizi treebank: Tackling hell. In Proceedings of the 58th annual meeting of the Association for Computational Linguistics, pages 1139-1150.
|
| 311 |
+
Rico Sennrich, Barry Haddow, and Alexandra Birch. 2016. Improving neural machine translation models with monolingual data. In Proceedings of the 54th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 86-96.
|
| 312 |
+
Aiman Solyman, Marco Zappatore, Wang Zhenyu, Zeinab Mahmoud, Ali Alfatemi, Ashraf Osman Ibrahim, and Lubna Abdelkareim Gabralla. 2023. Optimizing the impact of data augmentation for low-resource grammatical error correction. Journal of King Saud University-Computer and Information Sciences, 35(6):101572.
|
| 313 |
+
Hsi-Yao Su. 2001. Code-switching between mandarin and taiwanese in three telephone conversations: The negotiation of interpersonal relationships among bilingual speakers in taiwan. In Proc. of the Symposium about Language and Society.
|
| 314 |
+
Yuqing Tang, Chau Tran, Xian Li, Peng-Jen Chen, Naman Goyal, Vishrav Chaudhary, Jiatao Gu, and Angela Fan. 2020. Multilingual translation with extensible multilingual pretraining and finetuning. arXiv preprint arXiv:2008.00401.
|
| 315 |
+
Jörg Tiedemann and Santhosh Thottingal. 2020. Opusmt-building open translation services for the world. In Proceedings of the 22nd Annual Conference of the European Association for Machine Translation. European Association for Machine Translation.
|
| 316 |
+
Deyuan Wang, Tiantian Zhang, Caixia Yuan, and Xiaojie Wang. 2023. Joint modeling for asr correction and dialog state tracking. In ICASSP 2023-2023 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pages 1-5. IEEE.
|
| 317 |
+
Haoyu Wang, Shuyan Dong, Yue Liu, James Logan, Ashish Kumar Agrawal, and Yang Liu. 2020. Asr error correction with augmented transformer for entity retrieval. In *Interspeech*, pages 1550–1554.
|
| 318 |
+
Thomas Wolf, Lysandre Debut, Victor Sanh, Julien Chaumont, Clement Delangue, Anthony Moi, Pierric Cistac, Tim Rault, Rémi Louf, Morgan Funtowicz, et al. 2020. Transformers: State-of-the-art natural language processing. In Proceedings of the 2020 conference on empirical methods in natural language processing: system demonstrations, pages 38-45.
|
| 319 |
+
Ziang Xie, Guillaume Genthial, Stanley Xie, Andrew Y Ng, and Dan Jurafsky. 2018. Noising and denoising natural language: Diverse backtranslation for
|
| 320 |
+
|
| 321 |
+
grammar correction. 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 619-628.
|
| 322 |
+
|
| 323 |
+
Qiantong Xu, Alexei Baevski, and Michael Auli. 2021. Simple and effective zero-shot cross-lingual phoneme recognition. arXiv preprint arXiv:2109.11680.
|
| 324 |
+
|
| 325 |
+
Linting Xue, Noah Constant, Adam Roberts, Mihir Kale, Rami Al-Rfou, Aditya Siddhant, Aditya Barua, and Colin Raffel. 2021. mt5: A massively multilingual pre-trained text-to-text transformer. In Proceedings of the 2021 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pages 483-498.
|
| 326 |
+
|
| 327 |
+
Tianyi Zhang, Varsha Kishore, Felix Wu, Kilian Q Weinberger, and Yoav Artzi. 2019. Bertscore: Evaluating text generation with bert. In International Conference on Learning Representations.
|
| 328 |
+
|
| 329 |
+
# A Processing for Data Construction
|
| 330 |
+
|
| 331 |
+
# A.1 ASR System
|
| 332 |
+
|
| 333 |
+
Here is the process we use XLSR-53 model to generate code-switching ASR error correction instances. Firstly, we build the vocabulary from the transcription in the datasets. Based on the vocabulary of 26 English letters, we add all Chinese characters appearing in the transcriptions to the vocabulary for the generation of Chinese. Then, we fine-tune the XLSR-53 model on the training data from SEAME and ASCEND datasets. We pick the parameters with the best performance in the validation set as our code-switching ASR system for next recognition step. With the fine-tuned XLSR-53 model, we can initially obtain the recognition results required for building the code-switching ASR error correction corpus. As the datasets are spontaneous speeches, the corpus is mainly informal and non-speech sounds often occur, such as laughing and coughing. Given that, we design some simple rules to polish the corpus, such as removing non-speech sounds and repeated words.
|
| 334 |
+
|
| 335 |
+
# A.2 Annotator
|
| 336 |
+
|
| 337 |
+
The annotator takes three steps: tokenization, alignment, and merging. For tokenization, we use character-level tokenization for Chinese and word-level tokenization for English. Alignment works by computing the alignment score for each pair of tokens in the source and target sentences. In particular, the Cilin thesaurus (Jiaju Mei, 1996) is leveraged to give a similarity score between Chinese characters. Once the alignment score matrix
|
| 338 |
+
|
| 339 |
+
is computed, the sequence with the lowest score is returned. At last, we use a simple merging strategy that merges consecutive sequences of edits of the same type.
|
| 340 |
+
|
| 341 |
+
# B Transformations in GECToR
|
| 342 |
+
|
| 343 |
+
GECToR proposed the token-level transformations for the sequence editing grammatical error correction model. Transformations increase the coverage of grammatical error corrections for limited output vocabulary size for the most common types of errors. The work divided transformations into two types: basic transformations and g-transformations.
|
| 344 |
+
|
| 345 |
+
Basic transformations perform the most common token-level edit operations, such as: keep the current token unchanged (tag $KEEP$), delete current token (tag $DELETE$), append new token $t_1$ next to the current token (tag $APPEND t1 $) or replace the current token with another token $t_2$ (tag $REPLACE t2 $).
|
| 346 |
+
|
| 347 |
+
G-transformations perform task-specific operations such as: change the case of the current token (\(CASE\) tags), merge the current token and the next token into a single one (\(MERGE\) tags) and split the current token into two new tokens (\(SPLIT\) tags). Moreover, tags from \)NOUN NUMBER$ and $VERB FORM$ transformations encode grammatical properties for tokens.
|
| 348 |
+
|
| 349 |
+
# C Processing for Sequence Editing Model
|
| 350 |
+
|
| 351 |
+
# C.1 Processing for Transformations
|
| 352 |
+
|
| 353 |
+
It takes a three-step pre-processing algorithm to convert a sentence to a sequence of transformations. Firstly, it maps each token from source sentence to sub-sequence of tokens from target sentence. For this purpose, it detects the minimal spans of tokens which define differences between source tokens and target tokens. Thus, such a span is a pair of selected source tokens and corresponding target tokens. To get tags on the token level, it searches for the best-fitting sub-sequence of target tokens by minimizing the modified Levenshtein distance for each source token. Secondly, for each mapping in the list, it finds token-level transformations which convert source token to the target sub-sequence. Finally, it leaves only one transformation for each source token. Through the above three steps, we map the tag to each single source token.
|
| 354 |
+
|
| 355 |
+
# C.2 Processing for Translation
|
| 356 |
+
|
| 357 |
+
Our model is aimed to generate code-switching sentences with errors from correct monolingual sentences, but the training pairs in datasets only consist of code-switching texts. Considering that, we adopt an open translation tool OPUS-MT (Tiedemann and Thottingal, 2020) to translate the code-switching ASR transcriptions into monolingual sentences. Specifically, we translate the spans of English texts to Chinese and get the Chinese sentences. With regarding the translated monolingual sentence as source and the code-switching sentence with errors from error correction datasets as target, we train the sequence editing model.
|
| 358 |
+
|
| 359 |
+
# D Implementation Details
|
| 360 |
+
|
| 361 |
+
In our work, we adopt PyTorch (Paszke et al., 2019) framework and HuggingFace (Wolf et al., 2020) tool to implement all deep neural models. Each model is trained on four NVIDIA A40 GPUs. The details of each model are described as follows.
|
| 362 |
+
|
| 363 |
+
# D.1 ASR Error Correction Model
|
| 364 |
+
|
| 365 |
+
Considering that mT5 and mBART have achieved strong performance in many multilingual tasks, we adopt these pre-trained models to correct ASR errors. In the experiments, we use the base version of mT5 and fine-tune it by using the Adam optimization method with learning rate 5e-4, weight decay parameter 0.01, dropout rate 0.1, and batch size 24. Besides, we use the large version of mBART, and fine-tune it by using the Adam optimization method with learning rate 2e-5, dropout rate 0.1, and batch size 16. Beam search with beam size of 5 is used for decoding.
|
| 366 |
+
|
| 367 |
+
# D.2 Sequence Editing Model
|
| 368 |
+
|
| 369 |
+
The sequence editing model is an encoder made up of Transformer architecture stacked with two linear layers with softmax layers. We adopt the base version of m-BERT to initialize the encoder. Our model consists of 12 Transformer layers and two linear layers. We train the model with learning rate 1e-5, weight decay parameter 0.01, dropout rate 0, and batch size 32. The size of the vocabulary is 12229. It consists of 4971 basic transformations, 29 token-independent g-transformations and 7229 cross-lingual transformations.
|
| 370 |
+
|
| 371 |
+
# D.3 Pseudo Data Generation Algorithm
|
| 372 |
+
|
| 373 |
+
We add a confidence bias to control the decoding process. In our experiments, the confidence bias \( \epsilon_0 \) is to add -1.0 to the generation probability of all transformations except \( \\( \text{KEEP} \\), \\) \text{TRAN-SLATION} \\) and other cross-lingual transformations. The confidence bias \( \epsilon_1 \) is set to keep the original generation probability of all transformations. The threshold \( \lambda \) is set to 0.85.
|
| 374 |
+
|
| 375 |
+
<table><tr><td>Method</td><td>Prompt Template</td></tr><tr><td>Zero-shot</td><td>"role": "system", "content": "You are a Chinese-English code-switching ASR error correction tool that can identify and correct errors in the text. Especially, code-switching is a linguistic phenomenon where a speaker alternates between two or more languages or language varieties within a single conversation or even within a single sentence." "role": "user", "content": "Please identify and correct any errors in the following sentence indicated by <input>ERROR </input> tag, you need to comprehend the sentence as a whole before gradually identifying and correcting any errors while keeping the original sentence structure unchanged as much as possible. Remember to format your corrected output results with the tag <output> Your Corrected Version </output>. Please start: <input>Input Sentence </input>:"</td></tr><tr><td>Few-shot</td><td>"role": "system", "content": "You are a Chinese-English code-switching ASR error correction tool that can identify and correct errors in the text. Especially, code-switching is a linguistic phenomenon where a speaker alternates between two or more languages or language varieties within a single conversation or even within a single sentence." "role": "user", "content": "Please identify and correct any errors in the following sentence indicated by <input>ERROR </input> tag,you need to comprehend the sentence as a whole before gradually identifying and correcting any errors while keeping the original sentence structure unchanged as much as possible.Here are some in-context examples:(1), <input> SRC-1 </input>: <output>TGT-1 </output>(2), <input> SRC-1 </input>: <output>TGT-1 </output>; ... (n), <input> SRC-n </input>: <output>TGT-n </output>; Please feel free to refer to these examples. Remember to format your corrected output results with the tag <output> Your Corrected Version </output>. Please start: <input>Input Sentence </input>:"</td></tr></table>
|
| 376 |
+
|
| 377 |
+
Table 8: Zero-shot and few-shot prompt template for Chinese-English code-switching ASR error correction.
|
| 378 |
+
|
| 379 |
+
# E Rule-based Method
|
| 380 |
+
|
| 381 |
+
The details of the five rules adopted in our proposed rule-based method are introduced in the following.
|
| 382 |
+
|
| 383 |
+
Delete. Randomly delete a token with a probability.
|
| 384 |
+
|
| 385 |
+
Add. Firstly, randomly select a word or Chinese character from the vocabulary of the ASR datasets, and then add the selected word or character to a random position.
|
| 386 |
+
|
| 387 |
+
Replace. Randomly replace a token with a word or Chinese character from the vocabulary of the ASR datasets. In particular, if the selected token is a Chinese character, we select the replacement from the homophones with a probability.
|
| 388 |
+
|
| 389 |
+
Shuffle. Shuffle the tokens by adding a normal distribution bias to the positions of the tokens.
|
| 390 |
+
|
| 391 |
+
Spell Error. Randomly apply spell error to an English word. We randomly perturb letters with operations, i.e. substitution, deletion, insertion or transposition of letters.
|
| 392 |
+
|
| 393 |
+
# F Prompt Template
|
| 394 |
+
|
| 395 |
+
Zero-shot and few-shot prompt templates for Chinese-English code-switching ASR error correction are shown in Table 8.
|
| 396 |
+
|
| 397 |
+
# G Additional Experiment Results
|
| 398 |
+
|
| 399 |
+
Results of the mT5 correction model on SEAME-C, when trained with outputs collected from different iterations of our method, are shown in Table 9.
|
| 400 |
+
|
| 401 |
+
<table><tr><td>Iteration</td><td>Augmented Data Size</td><td>P↑</td><td>R↑</td><td>F0.5↑</td><td>MER↓</td></tr><tr><td>Iteration 1</td><td>1.8M</td><td>28.0</td><td>20.3</td><td>26.1</td><td>20.54</td></tr><tr><td>Iteration 2</td><td>2.6M</td><td>28.2</td><td>20.6</td><td>26.3</td><td>20.49</td></tr><tr><td>Iteration 3</td><td>3.3M</td><td>28.5</td><td>20.7</td><td>26.5</td><td>20.45</td></tr><tr><td>Iteration 4</td><td>3.6M</td><td>28.3</td><td>20.8</td><td>26.4</td><td>20.51</td></tr><tr><td>Iteration 5</td><td>3.8M</td><td>28.3</td><td>21.1</td><td>26.5</td><td>20.40</td></tr></table>
|
| 402 |
+
|
| 403 |
+
Table 9: Results of the mT5 correction model on SEAME-C when trained with outputs collected from different iterations of our method.
|
2023/New Datasets and Controllable Iterative Data Augmentation Method for Code-switching ASR Error Correction/images.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a9e49c7d80ac8c58b0d64e44d4e1950f7c855496259db09a8c1c40eeb325f497
|
| 3 |
+
size 518604
|
2023/New Datasets and Controllable Iterative Data Augmentation Method for Code-switching ASR Error Correction/layout.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2023/No offence, Bert - I insult only humans! Multilingual sentence-level attack on toxicity detection networks/6570fd92-ec0d-40f4-8099-434dc1b0509c_content_list.json
ADDED
|
@@ -0,0 +1,1158 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"type": "text",
|
| 4 |
+
"text": "No offence, Bert - I insult only humans! Multiple addressees sentence-level attack on toxicity detection neural networks",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
115,
|
| 8 |
+
89,
|
| 9 |
+
884,
|
| 10 |
+
130
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Sergey Berezin, Reza Farahbakhsh, Noel Crespi \nSAMOVAR, Télécom SudParis, Institut Polytechnique de Paris 91120 Palaiseau, France \nsberezin@telecom-sudparis.eu",
|
| 17 |
+
"bbox": [
|
| 18 |
+
243,
|
| 19 |
+
149,
|
| 20 |
+
759,
|
| 21 |
+
217
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "Abstract",
|
| 28 |
+
"text_level": 1,
|
| 29 |
+
"bbox": [
|
| 30 |
+
260,
|
| 31 |
+
252,
|
| 32 |
+
342,
|
| 33 |
+
268
|
| 34 |
+
],
|
| 35 |
+
"page_idx": 0
|
| 36 |
+
},
|
| 37 |
+
{
|
| 38 |
+
"type": "text",
|
| 39 |
+
"text": "We introduce a simple yet efficient sentence-level attack on black-box toxicity detector models. By adding several positive words or sentences to the end of a hateful message, we are able to change the prediction of a neural network and pass the toxicity detection system check. This approach is shown to be working on seven languages from three different language families. We also describe the defence mechanism against the aforementioned attack and discuss its limitations.",
|
| 40 |
+
"bbox": [
|
| 41 |
+
141,
|
| 42 |
+
277,
|
| 43 |
+
460,
|
| 44 |
+
434
|
| 45 |
+
],
|
| 46 |
+
"page_idx": 0
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"type": "text",
|
| 50 |
+
"text": "1 Introduction",
|
| 51 |
+
"text_level": 1,
|
| 52 |
+
"bbox": [
|
| 53 |
+
114,
|
| 54 |
+
444,
|
| 55 |
+
260,
|
| 56 |
+
458
|
| 57 |
+
],
|
| 58 |
+
"page_idx": 0
|
| 59 |
+
},
|
| 60 |
+
{
|
| 61 |
+
"type": "text",
|
| 62 |
+
"text": "Toxicity detection systems have become a crucial part of automoderation solutions. They are now used by most social media platforms, including those with groups of people in dangerously sensitive conditions, e.g. suicide prevention, Facebook groups, victims of cyberbullying, etc. Vulnerability in such systems may have dreadful, terrific effects on people, especially those in precarious situations.(Cheng et al., 2022).",
|
| 63 |
+
"bbox": [
|
| 64 |
+
112,
|
| 65 |
+
469,
|
| 66 |
+
489,
|
| 67 |
+
613
|
| 68 |
+
],
|
| 69 |
+
"page_idx": 0
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"type": "text",
|
| 73 |
+
"text": "On the other hand, such systems can be and are used to silence the voices of criticism, which leads to the creation of echo chambers and amplifies the voice of the (powerful) minority over the voice of the majority, thereby destroying the foundation of democracy and denying the freedom of speech (Gorwa et al., 2020).",
|
| 74 |
+
"bbox": [
|
| 75 |
+
112,
|
| 76 |
+
615,
|
| 77 |
+
489,
|
| 78 |
+
726
|
| 79 |
+
],
|
| 80 |
+
"page_idx": 0
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"type": "text",
|
| 84 |
+
"text": "This situation can be viewed as a double-edged sword, and we propose another double-edged sword that can be used to parry the blade of toxicity detection systems.",
|
| 85 |
+
"bbox": [
|
| 86 |
+
112,
|
| 87 |
+
727,
|
| 88 |
+
489,
|
| 89 |
+
791
|
| 90 |
+
],
|
| 91 |
+
"page_idx": 0
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"type": "text",
|
| 95 |
+
"text": "1.1 Task description",
|
| 96 |
+
"text_level": 1,
|
| 97 |
+
"bbox": [
|
| 98 |
+
114,
|
| 99 |
+
801,
|
| 100 |
+
290,
|
| 101 |
+
816
|
| 102 |
+
],
|
| 103 |
+
"page_idx": 0
|
| 104 |
+
},
|
| 105 |
+
{
|
| 106 |
+
"type": "text",
|
| 107 |
+
"text": "We present an attack on toxicity detection models based on the separation of the messages intended for a person and a piece of text added to confuse an algorithm.",
|
| 108 |
+
"bbox": [
|
| 109 |
+
112,
|
| 110 |
+
822,
|
| 111 |
+
487,
|
| 112 |
+
885
|
| 113 |
+
],
|
| 114 |
+
"page_idx": 0
|
| 115 |
+
},
|
| 116 |
+
{
|
| 117 |
+
"type": "text",
|
| 118 |
+
"text": "For example, this can be done by concatenating an original message with a collection of keywords",
|
| 119 |
+
"bbox": [
|
| 120 |
+
112,
|
| 121 |
+
887,
|
| 122 |
+
487,
|
| 123 |
+
919
|
| 124 |
+
],
|
| 125 |
+
"page_idx": 0
|
| 126 |
+
},
|
| 127 |
+
{
|
| 128 |
+
"type": "text",
|
| 129 |
+
"text": "of an opposite intent: \"Kill yourself, you dirty pig! Text for a bot to avoid ban: flowers, rainbow, happy, happy good\" - here only the underlined part is intended to address the human, and it is clear that the remaining part was added to avoid detection by the automoderation algorithm.",
|
| 130 |
+
"bbox": [
|
| 131 |
+
507,
|
| 132 |
+
253,
|
| 133 |
+
884,
|
| 134 |
+
348
|
| 135 |
+
],
|
| 136 |
+
"page_idx": 0
|
| 137 |
+
},
|
| 138 |
+
{
|
| 139 |
+
"type": "text",
|
| 140 |
+
"text": "This represents an example of a sentence-level black-box adversarial attack on Natural Language Processing systems.",
|
| 141 |
+
"bbox": [
|
| 142 |
+
507,
|
| 143 |
+
350,
|
| 144 |
+
882,
|
| 145 |
+
398
|
| 146 |
+
],
|
| 147 |
+
"page_idx": 0
|
| 148 |
+
},
|
| 149 |
+
{
|
| 150 |
+
"type": "text",
|
| 151 |
+
"text": "1.2 Related work",
|
| 152 |
+
"text_level": 1,
|
| 153 |
+
"bbox": [
|
| 154 |
+
509,
|
| 155 |
+
412,
|
| 156 |
+
662,
|
| 157 |
+
426
|
| 158 |
+
],
|
| 159 |
+
"page_idx": 0
|
| 160 |
+
},
|
| 161 |
+
{
|
| 162 |
+
"type": "text",
|
| 163 |
+
"text": "The first work suggesting the concatenation of distracting but meaningless sentences at the end of a paragraph to confuse a neural model was \"Adversarial Examples for Evaluating Reading Comprehension Systems\" (Jia and Liang, 2017) (according to the (Zhang et al., 2020)). Jia and Liang attacked question-answering systems with either manually-generated informative sentences (ADDSENT) or arbitrary sequences of words using a pool of 20 random common words (ADDANY). Both perturbations were obtained by iterative querying of the neural network until the output was changed. The authors of \"Robust Machine Comprehension Models via Adversarial Training\" (Wang and Bansal, 2018) improved this approach by varying the locations where the distracting sentences are placed and expanding the set of fake answers for generating the distracting sentences (ADDSENTDIVERSE).",
|
| 164 |
+
"bbox": [
|
| 165 |
+
507,
|
| 166 |
+
432,
|
| 167 |
+
885,
|
| 168 |
+
722
|
| 169 |
+
],
|
| 170 |
+
"page_idx": 0
|
| 171 |
+
},
|
| 172 |
+
{
|
| 173 |
+
"type": "text",
|
| 174 |
+
"text": "In \"Universal Adversarial Triggers for Attacking and Analyzing NLP\" (Wallace et al., 2019) apply the gradient-based technique to construct an adversarial text. Despite being a white-box attack in its origin (due to the gradient information required in the training phase), this approach can be applied as a black-box attack during its inference.",
|
| 175 |
+
"bbox": [
|
| 176 |
+
507,
|
| 177 |
+
724,
|
| 178 |
+
884,
|
| 179 |
+
835
|
| 180 |
+
],
|
| 181 |
+
"page_idx": 0
|
| 182 |
+
},
|
| 183 |
+
{
|
| 184 |
+
"type": "text",
|
| 185 |
+
"text": "The T3 model (Wang et al., 2020) utilises the autoencoder architecture to generate adversarial texts that can manipulate the question-answering models to output the targeted incorrect answer.",
|
| 186 |
+
"bbox": [
|
| 187 |
+
507,
|
| 188 |
+
838,
|
| 189 |
+
882,
|
| 190 |
+
901
|
| 191 |
+
],
|
| 192 |
+
"page_idx": 0
|
| 193 |
+
},
|
| 194 |
+
{
|
| 195 |
+
"type": "text",
|
| 196 |
+
"text": "In \"All You Need is \"Love\": Evading Hate",
|
| 197 |
+
"bbox": [
|
| 198 |
+
526,
|
| 199 |
+
903,
|
| 200 |
+
880,
|
| 201 |
+
917
|
| 202 |
+
],
|
| 203 |
+
"page_idx": 0
|
| 204 |
+
},
|
| 205 |
+
{
|
| 206 |
+
"type": "page_number",
|
| 207 |
+
"text": "2362",
|
| 208 |
+
"bbox": [
|
| 209 |
+
480,
|
| 210 |
+
927,
|
| 211 |
+
521,
|
| 212 |
+
940
|
| 213 |
+
],
|
| 214 |
+
"page_idx": 0
|
| 215 |
+
},
|
| 216 |
+
{
|
| 217 |
+
"type": "footer",
|
| 218 |
+
"text": "Findings of the Association for Computational Linguistics: EMNLP 2023, pages 2362-2369 December 6-10, 2023 ©2023 Association for Computational Linguistics",
|
| 219 |
+
"bbox": [
|
| 220 |
+
216,
|
| 221 |
+
945,
|
| 222 |
+
779,
|
| 223 |
+
972
|
| 224 |
+
],
|
| 225 |
+
"page_idx": 0
|
| 226 |
+
},
|
| 227 |
+
{
|
| 228 |
+
"type": "text",
|
| 229 |
+
"text": "Speech Detection\" (Gröndahl et al., 2018) performs a sentence-level attack on hate speech detection systems by inserting typos, changing word boundaries and adding innocuous words to the original hate speech. The authors show the effectiveness of such an attack on MLP, CNN+RNN and LSTM neural networks.",
|
| 230 |
+
"bbox": [
|
| 231 |
+
112,
|
| 232 |
+
84,
|
| 233 |
+
487,
|
| 234 |
+
197
|
| 235 |
+
],
|
| 236 |
+
"page_idx": 1
|
| 237 |
+
},
|
| 238 |
+
{
|
| 239 |
+
"type": "text",
|
| 240 |
+
"text": "1.3 Contribution",
|
| 241 |
+
"text_level": 1,
|
| 242 |
+
"bbox": [
|
| 243 |
+
114,
|
| 244 |
+
209,
|
| 245 |
+
265,
|
| 246 |
+
223
|
| 247 |
+
],
|
| 248 |
+
"page_idx": 1
|
| 249 |
+
},
|
| 250 |
+
{
|
| 251 |
+
"type": "text",
|
| 252 |
+
"text": "Our contributions lie in the following:",
|
| 253 |
+
"bbox": [
|
| 254 |
+
112,
|
| 255 |
+
230,
|
| 256 |
+
400,
|
| 257 |
+
244
|
| 258 |
+
],
|
| 259 |
+
"page_idx": 1
|
| 260 |
+
},
|
| 261 |
+
{
|
| 262 |
+
"type": "list",
|
| 263 |
+
"sub_type": "text",
|
| 264 |
+
"list_items": [
|
| 265 |
+
"1) Introduction of a concept of \"To Each His Own\" attack, based on the idea of separating the messages addressed to a human and those addressed to an algorithm. The attack exploits the fact that toxicity detection models are trained on sentence-level labels and do not consider the context or the intention of the message.",
|
| 266 |
+
"2) A systematic approach to the generation of adversarial texts. The words and sentences are selected based on their positivity scores rather than being randomly selected from non-hate ones, as in previous works.",
|
| 267 |
+
"3) Demonstration of attacks on modern state-of-the-art architectures. We tested the most popular transformer-based toxicity detectors, including Google Perspective API and OpenAI Moderation API.",
|
| 268 |
+
"4) Highlighting a significant flaw in the current approach to toxicity detection. We show that the predicted toxicity score can be watered down by the addition of positive words to the point of effectively masking toxicity.",
|
| 269 |
+
"5) Multi- and cross-lingual settings of attacks. We describe the attacks on seven different languages and combinations among them. A larger number of languages leads to a larger number of possible attacks - in the case of the 5-language model, we have 120 attack scenarios."
|
| 270 |
+
],
|
| 271 |
+
"bbox": [
|
| 272 |
+
112,
|
| 273 |
+
246,
|
| 274 |
+
487,
|
| 275 |
+
697
|
| 276 |
+
],
|
| 277 |
+
"page_idx": 1
|
| 278 |
+
},
|
| 279 |
+
{
|
| 280 |
+
"type": "text",
|
| 281 |
+
"text": "2 \"To Each His Own\" attack",
|
| 282 |
+
"text_level": 1,
|
| 283 |
+
"bbox": [
|
| 284 |
+
112,
|
| 285 |
+
709,
|
| 286 |
+
381,
|
| 287 |
+
725
|
| 288 |
+
],
|
| 289 |
+
"page_idx": 1
|
| 290 |
+
},
|
| 291 |
+
{
|
| 292 |
+
"type": "text",
|
| 293 |
+
"text": "2.1 Word-based attack",
|
| 294 |
+
"text_level": 1,
|
| 295 |
+
"bbox": [
|
| 296 |
+
112,
|
| 297 |
+
737,
|
| 298 |
+
310,
|
| 299 |
+
751
|
| 300 |
+
],
|
| 301 |
+
"page_idx": 1
|
| 302 |
+
},
|
| 303 |
+
{
|
| 304 |
+
"type": "text",
|
| 305 |
+
"text": "In this attack type, the original message is appended or prepended with a sequence of positive words, with the aim that these words will be analysed by a model but passed over by a human. This allows an attacker to preserve their original message without any changes, unlike in other attacks, which substitute words with synonyms or replace original characters with their look-alikes.",
|
| 306 |
+
"bbox": [
|
| 307 |
+
112,
|
| 308 |
+
758,
|
| 309 |
+
487,
|
| 310 |
+
885
|
| 311 |
+
],
|
| 312 |
+
"page_idx": 1
|
| 313 |
+
},
|
| 314 |
+
{
|
| 315 |
+
"type": "text",
|
| 316 |
+
"text": "In our experiment, we used words from the SentiWordNet with a positivity score $\\geq 0.85$ . We tested",
|
| 317 |
+
"bbox": [
|
| 318 |
+
112,
|
| 319 |
+
887,
|
| 320 |
+
487,
|
| 321 |
+
917
|
| 322 |
+
],
|
| 323 |
+
"page_idx": 1
|
| 324 |
+
},
|
| 325 |
+
{
|
| 326 |
+
"type": "text",
|
| 327 |
+
"text": "14 openly available pretrained neural networks with the phrase \"I hate you\" and the addition of 0 to 9 positive words.",
|
| 328 |
+
"bbox": [
|
| 329 |
+
507,
|
| 330 |
+
84,
|
| 331 |
+
880,
|
| 332 |
+
131
|
| 333 |
+
],
|
| 334 |
+
"page_idx": 1
|
| 335 |
+
},
|
| 336 |
+
{
|
| 337 |
+
"type": "text",
|
| 338 |
+
"text": "In case the toxicity score for a suggested phrase was estimated to be less than 0.5 - the most common threshold, we used the phrase \"I hate you dumbass\" instead. If, after attacking with 9 words, the model's output was greater than 0.5, we continued adding new positive words until the score dropped below this threshold or until we reached the maximum length of an input sequence for the model tested. For the English language, we also performed experiments with the phrase \"Text for bot:\" placed between a message and added words.",
|
| 339 |
+
"bbox": [
|
| 340 |
+
507,
|
| 341 |
+
134,
|
| 342 |
+
882,
|
| 343 |
+
310
|
| 344 |
+
],
|
| 345 |
+
"page_idx": 1
|
| 346 |
+
},
|
| 347 |
+
{
|
| 348 |
+
"type": "text",
|
| 349 |
+
"text": "We conducted additional experiments with the Perspective API and OpenAI Moderation API, discovering they are also vulnerable to our attacks.",
|
| 350 |
+
"bbox": [
|
| 351 |
+
507,
|
| 352 |
+
312,
|
| 353 |
+
882,
|
| 354 |
+
359
|
| 355 |
+
],
|
| 356 |
+
"page_idx": 1
|
| 357 |
+
},
|
| 358 |
+
{
|
| 359 |
+
"type": "text",
|
| 360 |
+
"text": "For eight non-English models, we asked native speakers of the respective languages to translate a selected subset of words and attack phrases. Within this study, we tested the language models for seven languages aside from English: Russian, German, French, Portuguese, Spanish, Turkish and Vietnamese. It is worth noting that the first five listed languages represent three branches (Slavic, Germanic and Italic) of the Indo-European language family, and the last two are from different language families: the Turkic and the Austro-Asiatic family, respectfully.",
|
| 361 |
+
"bbox": [
|
| 362 |
+
507,
|
| 363 |
+
362,
|
| 364 |
+
882,
|
| 365 |
+
554
|
| 366 |
+
],
|
| 367 |
+
"page_idx": 1
|
| 368 |
+
},
|
| 369 |
+
{
|
| 370 |
+
"type": "text",
|
| 371 |
+
"text": "By using various models and languages, we aim to investigate if the suggested attack is model- and language-agnostic.",
|
| 372 |
+
"bbox": [
|
| 373 |
+
507,
|
| 374 |
+
556,
|
| 375 |
+
880,
|
| 376 |
+
602
|
| 377 |
+
],
|
| 378 |
+
"page_idx": 1
|
| 379 |
+
},
|
| 380 |
+
{
|
| 381 |
+
"type": "text",
|
| 382 |
+
"text": "2.2 Cross-lingual word-based attack",
|
| 383 |
+
"text_level": 1,
|
| 384 |
+
"bbox": [
|
| 385 |
+
507,
|
| 386 |
+
619,
|
| 387 |
+
808,
|
| 388 |
+
634
|
| 389 |
+
],
|
| 390 |
+
"page_idx": 1
|
| 391 |
+
},
|
| 392 |
+
{
|
| 393 |
+
"type": "text",
|
| 394 |
+
"text": "The main weakness of all multilingual models lies in their greatest advantage - the ability to work with multiple languages and writing systems. Adding positive words in different languages will even more separate messages to the human and to the toxicity detection system, perhaps even denying a human the ability to read non-intended text. Examples of such texts are shown in Figure 1.",
|
| 395 |
+
"bbox": [
|
| 396 |
+
507,
|
| 397 |
+
642,
|
| 398 |
+
880,
|
| 399 |
+
770
|
| 400 |
+
],
|
| 401 |
+
"page_idx": 1
|
| 402 |
+
},
|
| 403 |
+
{
|
| 404 |
+
"type": "text",
|
| 405 |
+
"text": "Even some monolingual models, which had been exposed to another language during the pretraining phase, fall victim to this situation.",
|
| 406 |
+
"bbox": [
|
| 407 |
+
507,
|
| 408 |
+
772,
|
| 409 |
+
880,
|
| 410 |
+
819
|
| 411 |
+
],
|
| 412 |
+
"page_idx": 1
|
| 413 |
+
},
|
| 414 |
+
{
|
| 415 |
+
"type": "text",
|
| 416 |
+
"text": "We also conducted cross-lingual experiments with OpenAI models, including ChatGPT in conversation mode with different prompts, and found them susceptible to attack.",
|
| 417 |
+
"bbox": [
|
| 418 |
+
507,
|
| 419 |
+
821,
|
| 420 |
+
880,
|
| 421 |
+
885
|
| 422 |
+
],
|
| 423 |
+
"page_idx": 1
|
| 424 |
+
},
|
| 425 |
+
{
|
| 426 |
+
"type": "text",
|
| 427 |
+
"text": "Perspective API was found to be non-functional in a multilingual setting, failing with an error, as it",
|
| 428 |
+
"bbox": [
|
| 429 |
+
507,
|
| 430 |
+
887,
|
| 431 |
+
880,
|
| 432 |
+
917
|
| 433 |
+
],
|
| 434 |
+
"page_idx": 1
|
| 435 |
+
},
|
| 436 |
+
{
|
| 437 |
+
"type": "page_number",
|
| 438 |
+
"text": "2363",
|
| 439 |
+
"bbox": [
|
| 440 |
+
480,
|
| 441 |
+
928,
|
| 442 |
+
519,
|
| 443 |
+
940
|
| 444 |
+
],
|
| 445 |
+
"page_idx": 1
|
| 446 |
+
},
|
| 447 |
+
{
|
| 448 |
+
"type": "table",
|
| 449 |
+
"img_path": "images/ad8c4117997fdc471e2a002b85338e7fd48e62e030d9a6d6961e8fe0572ca951.jpg",
|
| 450 |
+
"table_caption": [],
|
| 451 |
+
"table_footnote": [],
|
| 452 |
+
"table_body": "<table><tr><td>I hate you lióobb aǐltpruíntiúhái lüedpí</td></tr><tr><td>You stink. eşsism.dkukemmel telkari güzel ahlak</td></tr><tr><td>Goodbye, dumbass! animado melhor formidable</td></tr></table>",
|
| 453 |
+
"bbox": [
|
| 454 |
+
115,
|
| 455 |
+
86,
|
| 456 |
+
485,
|
| 457 |
+
145
|
| 458 |
+
],
|
| 459 |
+
"page_idx": 2
|
| 460 |
+
},
|
| 461 |
+
{
|
| 462 |
+
"type": "text",
|
| 463 |
+
"text": "Figure 1: Examples of cross-lingual word-based attack. The languages of the added text from the top are Russian, Turkish, and Spanish.",
|
| 464 |
+
"bbox": [
|
| 465 |
+
112,
|
| 466 |
+
159,
|
| 467 |
+
489,
|
| 468 |
+
203
|
| 469 |
+
],
|
| 470 |
+
"page_idx": 2
|
| 471 |
+
},
|
| 472 |
+
{
|
| 473 |
+
"type": "text",
|
| 474 |
+
"text": "is unable to detect the language of the text.",
|
| 475 |
+
"bbox": [
|
| 476 |
+
112,
|
| 477 |
+
227,
|
| 478 |
+
433,
|
| 479 |
+
242
|
| 480 |
+
],
|
| 481 |
+
"page_idx": 2
|
| 482 |
+
},
|
| 483 |
+
{
|
| 484 |
+
"type": "text",
|
| 485 |
+
"text": "2.3 Sentence-based attack",
|
| 486 |
+
"text_level": 1,
|
| 487 |
+
"bbox": [
|
| 488 |
+
114,
|
| 489 |
+
252,
|
| 490 |
+
334,
|
| 491 |
+
266
|
| 492 |
+
],
|
| 493 |
+
"page_idx": 2
|
| 494 |
+
},
|
| 495 |
+
{
|
| 496 |
+
"type": "text",
|
| 497 |
+
"text": "Incoherent text, produced by concatenating lexically unconnected words, is easily detectable by modern language models. To address that easy detection, we experimented with another version of the attack: concatenating sentences from the Stanford Sentiment Treebank with a positivity score $\\geq 0.9$ and a length of no less than 100 symbols.",
|
| 498 |
+
"bbox": [
|
| 499 |
+
112,
|
| 500 |
+
273,
|
| 501 |
+
487,
|
| 502 |
+
385
|
| 503 |
+
],
|
| 504 |
+
"page_idx": 2
|
| 505 |
+
},
|
| 506 |
+
{
|
| 507 |
+
"type": "text",
|
| 508 |
+
"text": "Since sentences consist of grammatically linked words instead of just a set of random positive words, this attack variant is less obvious and more challenging to detect.",
|
| 509 |
+
"bbox": [
|
| 510 |
+
112,
|
| 511 |
+
386,
|
| 512 |
+
489,
|
| 513 |
+
451
|
| 514 |
+
],
|
| 515 |
+
"page_idx": 2
|
| 516 |
+
},
|
| 517 |
+
{
|
| 518 |
+
"type": "text",
|
| 519 |
+
"text": "3 Defence",
|
| 520 |
+
"text_level": 1,
|
| 521 |
+
"bbox": [
|
| 522 |
+
114,
|
| 523 |
+
461,
|
| 524 |
+
218,
|
| 525 |
+
476
|
| 526 |
+
],
|
| 527 |
+
"page_idx": 2
|
| 528 |
+
},
|
| 529 |
+
{
|
| 530 |
+
"type": "text",
|
| 531 |
+
"text": "We performed simple adversarial training of the DistilBERT model on the binary Jigsaw Toxic Comments dataset to improve the model's defence. We performed experiments with word- and sentence-based attacks, attacking both toxic messages and all messages in the dataset. In addition, we picked out only toxic messages and attacked half of them - in this scenario, the task was distinguishing attacked and non-attacked texts.",
|
| 532 |
+
"bbox": [
|
| 533 |
+
112,
|
| 534 |
+
486,
|
| 535 |
+
489,
|
| 536 |
+
630
|
| 537 |
+
],
|
| 538 |
+
"page_idx": 2
|
| 539 |
+
},
|
| 540 |
+
{
|
| 541 |
+
"type": "text",
|
| 542 |
+
"text": "4 Results",
|
| 543 |
+
"text_level": 1,
|
| 544 |
+
"bbox": [
|
| 545 |
+
112,
|
| 546 |
+
642,
|
| 547 |
+
213,
|
| 548 |
+
657
|
| 549 |
+
],
|
| 550 |
+
"page_idx": 2
|
| 551 |
+
},
|
| 552 |
+
{
|
| 553 |
+
"type": "text",
|
| 554 |
+
"text": "4.1 Attack",
|
| 555 |
+
"text_level": 1,
|
| 556 |
+
"bbox": [
|
| 557 |
+
112,
|
| 558 |
+
667,
|
| 559 |
+
213,
|
| 560 |
+
681
|
| 561 |
+
],
|
| 562 |
+
"page_idx": 2
|
| 563 |
+
},
|
| 564 |
+
{
|
| 565 |
+
"type": "text",
|
| 566 |
+
"text": "During a word-based attack, both prepending and appending of the positive words showed similar results, with prepending being slightly less effective.",
|
| 567 |
+
"bbox": [
|
| 568 |
+
112,
|
| 569 |
+
687,
|
| 570 |
+
487,
|
| 571 |
+
736
|
| 572 |
+
],
|
| 573 |
+
"page_idx": 2
|
| 574 |
+
},
|
| 575 |
+
{
|
| 576 |
+
"type": "text",
|
| 577 |
+
"text": "Appending nine words was enough to flip the prediction of almost every model. The \"SkolkovoInstitute RoBERTa\" toxicity classifier required 23 words to fall below 0.5, and \"English-abusive-MuRIL\" was still strongly predicting even after the addition of 252 words and reaching the length limit for the input. The results of selected experiments are shown in tables 1, 2 and $3^{1}$ .",
|
| 578 |
+
"bbox": [
|
| 579 |
+
112,
|
| 580 |
+
737,
|
| 581 |
+
487,
|
| 582 |
+
864
|
| 583 |
+
],
|
| 584 |
+
"page_idx": 2
|
| 585 |
+
},
|
| 586 |
+
{
|
| 587 |
+
"type": "text",
|
| 588 |
+
"text": "The addition of the phrase \"Text for bot:\" between two parts of a text made a little difference in",
|
| 589 |
+
"bbox": [
|
| 590 |
+
112,
|
| 591 |
+
865,
|
| 592 |
+
487,
|
| 593 |
+
897
|
| 594 |
+
],
|
| 595 |
+
"page_idx": 2
|
| 596 |
+
},
|
| 597 |
+
{
|
| 598 |
+
"type": "table",
|
| 599 |
+
"img_path": "images/6d2caf4e2c32bccc1fc6aaf189b73f050b95afd9ed925dc34b473471cf4dcc51.jpg",
|
| 600 |
+
"table_caption": [],
|
| 601 |
+
"table_footnote": [],
|
| 602 |
+
"table_body": "<table><tr><td>n words</td><td>BERT</td><td>RoBERTa</td><td>ELECTRA</td></tr><tr><td>0</td><td>0,951</td><td>0,857</td><td>0,898</td></tr><tr><td>1</td><td>0,925</td><td>0,743</td><td>0,730</td></tr><tr><td>2</td><td>0,708</td><td>0,507</td><td>0,361</td></tr><tr><td>3</td><td>0,592</td><td>0,415</td><td>0,064</td></tr><tr><td>4</td><td>0,579</td><td>0,274</td><td>0,067</td></tr><tr><td>5</td><td>0,548</td><td>0,170</td><td>0,082</td></tr><tr><td>6</td><td>0,510</td><td>0,158</td><td>0,087</td></tr><tr><td>7</td><td>0,494</td><td>0,148</td><td>0,069</td></tr><tr><td>8</td><td>0,465</td><td>0,142</td><td>0,065</td></tr><tr><td>9</td><td>0,303</td><td>0,132</td><td>0,072</td></tr></table>",
|
| 603 |
+
"bbox": [
|
| 604 |
+
514,
|
| 605 |
+
80,
|
| 606 |
+
878,
|
| 607 |
+
263
|
| 608 |
+
],
|
| 609 |
+
"page_idx": 2
|
| 610 |
+
},
|
| 611 |
+
{
|
| 612 |
+
"type": "table",
|
| 613 |
+
"img_path": "images/6d225c4b904fc60d41292e0083203cf7001e885e79fc25aabdd9b103ebdc01eb.jpg",
|
| 614 |
+
"table_caption": [
|
| 615 |
+
"Table 1: Word-based attack in English on different transformer architectures."
|
| 616 |
+
],
|
| 617 |
+
"table_footnote": [],
|
| 618 |
+
"table_body": "<table><tr><td>n words</td><td>OpenAI S</td><td>OpenAI L</td><td>Per. API</td></tr><tr><td>1</td><td>0.643</td><td>0.946</td><td>0.899</td></tr><tr><td>...</td><td>...</td><td>...</td><td>...</td></tr><tr><td>10</td><td>0.421</td><td>0.847</td><td>0.846</td></tr><tr><td>11</td><td>0.381</td><td>0.705</td><td>0.852</td></tr><tr><td>12</td><td>0.427</td><td>0.74</td><td>0.852</td></tr><tr><td>13</td><td>0.453</td><td>0.761</td><td>0.852</td></tr><tr><td>14</td><td>0.426</td><td>0.665</td><td>0.853</td></tr><tr><td>15</td><td>0.362</td><td>0.681</td><td>0.853</td></tr><tr><td>16</td><td>0.265</td><td>0.716</td><td>0.853</td></tr></table>",
|
| 619 |
+
"bbox": [
|
| 620 |
+
510,
|
| 621 |
+
315,
|
| 622 |
+
882,
|
| 623 |
+
481
|
| 624 |
+
],
|
| 625 |
+
"page_idx": 2
|
| 626 |
+
},
|
| 627 |
+
{
|
| 628 |
+
"type": "text",
|
| 629 |
+
"text": "Table 2: Word-based attack in English on Perspective API and OpenAI Moderation API. Per. - perspective, S - stable, L - latest.",
|
| 630 |
+
"bbox": [
|
| 631 |
+
507,
|
| 632 |
+
489,
|
| 633 |
+
882,
|
| 634 |
+
532
|
| 635 |
+
],
|
| 636 |
+
"page_idx": 2
|
| 637 |
+
},
|
| 638 |
+
{
|
| 639 |
+
"type": "text",
|
| 640 |
+
"text": "the results, i.e. it can be used to create even more apparent separation without lowering an attack's efficiency.",
|
| 641 |
+
"bbox": [
|
| 642 |
+
507,
|
| 643 |
+
560,
|
| 644 |
+
880,
|
| 645 |
+
608
|
| 646 |
+
],
|
| 647 |
+
"page_idx": 2
|
| 648 |
+
},
|
| 649 |
+
{
|
| 650 |
+
"type": "text",
|
| 651 |
+
"text": "As expected, the results of cross-lingual attacks followed the same trend as those of monolingual ones. These results are shown in tables 4 and $5^{1}$ .",
|
| 652 |
+
"bbox": [
|
| 653 |
+
507,
|
| 654 |
+
609,
|
| 655 |
+
880,
|
| 656 |
+
656
|
| 657 |
+
],
|
| 658 |
+
"page_idx": 2
|
| 659 |
+
},
|
| 660 |
+
{
|
| 661 |
+
"type": "text",
|
| 662 |
+
"text": "With a sentence-based attack, adding even one sentence drastically lowered the prediction scores of the models. The scores are shown in table $6^{1}$ .",
|
| 663 |
+
"bbox": [
|
| 664 |
+
507,
|
| 665 |
+
658,
|
| 666 |
+
880,
|
| 667 |
+
706
|
| 668 |
+
],
|
| 669 |
+
"page_idx": 2
|
| 670 |
+
},
|
| 671 |
+
{
|
| 672 |
+
"type": "text",
|
| 673 |
+
"text": "4.2 Defence",
|
| 674 |
+
"text_level": 1,
|
| 675 |
+
"bbox": [
|
| 676 |
+
507,
|
| 677 |
+
719,
|
| 678 |
+
618,
|
| 679 |
+
733
|
| 680 |
+
],
|
| 681 |
+
"page_idx": 2
|
| 682 |
+
},
|
| 683 |
+
{
|
| 684 |
+
"type": "text",
|
| 685 |
+
"text": "The model's F1 measure on toxic class fell from 0.80 to 0.44 after an attack with 15 sentences and to 0.79 after an attack with 50 words. After adversarial training, the model regained its F1 measure in both cases.",
|
| 686 |
+
"bbox": [
|
| 687 |
+
507,
|
| 688 |
+
741,
|
| 689 |
+
882,
|
| 690 |
+
820
|
| 691 |
+
],
|
| 692 |
+
"page_idx": 2
|
| 693 |
+
},
|
| 694 |
+
{
|
| 695 |
+
"type": "text",
|
| 696 |
+
"text": "Interestingly, testing the word-trained model on sentence-attacked examples showed high precision and low recall (0.90 and 0.68, respectively). Testing the sentence-trained model on word-attacked examples showed the opposite result, with low precision and high recall (0.57 and 0.93, respectively).",
|
| 697 |
+
"bbox": [
|
| 698 |
+
507,
|
| 699 |
+
822,
|
| 700 |
+
884,
|
| 701 |
+
917
|
| 702 |
+
],
|
| 703 |
+
"page_idx": 2
|
| 704 |
+
},
|
| 705 |
+
{
|
| 706 |
+
"type": "page_footnote",
|
| 707 |
+
"text": "1 Full tables can be found in Appendix A.",
|
| 708 |
+
"bbox": [
|
| 709 |
+
134,
|
| 710 |
+
903,
|
| 711 |
+
386,
|
| 712 |
+
917
|
| 713 |
+
],
|
| 714 |
+
"page_idx": 2
|
| 715 |
+
},
|
| 716 |
+
{
|
| 717 |
+
"type": "page_number",
|
| 718 |
+
"text": "2364",
|
| 719 |
+
"bbox": [
|
| 720 |
+
480,
|
| 721 |
+
928,
|
| 722 |
+
519,
|
| 723 |
+
940
|
| 724 |
+
],
|
| 725 |
+
"page_idx": 2
|
| 726 |
+
},
|
| 727 |
+
{
|
| 728 |
+
"type": "table",
|
| 729 |
+
"img_path": "images/a73c56dda2cb53098c67c5bc48a508b973ac94917af50609dd2f3976aa974262.jpg",
|
| 730 |
+
"table_caption": [],
|
| 731 |
+
"table_footnote": [],
|
| 732 |
+
"table_body": "<table><tr><td>n words</td><td>Vietnamese</td><td>French</td><td>Turkish</td></tr><tr><td>0</td><td>0,996</td><td>0,970</td><td>0,814</td></tr><tr><td>1</td><td>0,008</td><td>0,962</td><td>0,186</td></tr><tr><td>2</td><td>0,007</td><td>0,573</td><td>0,503</td></tr><tr><td>3</td><td>0,008</td><td>0,396</td><td>0,043</td></tr><tr><td>4</td><td>0,009</td><td>0,090</td><td>0,048</td></tr><tr><td>5</td><td>0,008</td><td>0,054</td><td>0,085</td></tr><tr><td>6</td><td>0,007</td><td>0,055</td><td>0,090</td></tr><tr><td>7</td><td>0,007</td><td>0,064</td><td>0,029</td></tr><tr><td>8</td><td>0,007</td><td>0,082</td><td>0,009</td></tr><tr><td>9</td><td>0,007</td><td>0,045</td><td>0,005</td></tr></table>",
|
| 733 |
+
"bbox": [
|
| 734 |
+
122,
|
| 735 |
+
80,
|
| 736 |
+
477,
|
| 737 |
+
262
|
| 738 |
+
],
|
| 739 |
+
"page_idx": 3
|
| 740 |
+
},
|
| 741 |
+
{
|
| 742 |
+
"type": "table",
|
| 743 |
+
"img_path": "images/8db959d3bdbfca7d0a5e1174b76eea86c5c45fa444e382b6154ddcf3d63e7428.jpg",
|
| 744 |
+
"table_caption": [
|
| 745 |
+
"Table 3: Word-based attack on transformer-based language models trained on the languages from three different language families."
|
| 746 |
+
],
|
| 747 |
+
"table_footnote": [],
|
| 748 |
+
"table_body": "<table><tr><td>n words</td><td>eng+tur</td><td>eng+rus</td><td>eng+sp</td></tr><tr><td>0</td><td>0,971</td><td>0,971</td><td>0,971</td></tr><tr><td>1</td><td>0,913</td><td>0,717</td><td>0,802</td></tr><tr><td>2</td><td>0,904</td><td>0,717</td><td>0,687</td></tr><tr><td>3</td><td>0,912</td><td>0,761</td><td>0,536</td></tr><tr><td>4</td><td>0,541</td><td>0,800</td><td>0,558</td></tr><tr><td>5</td><td>0,634</td><td>0,592</td><td>0,500</td></tr><tr><td>6</td><td>0,731</td><td>0,456</td><td>0,539</td></tr><tr><td>7</td><td>0,604</td><td>0,402</td><td>0,426</td></tr><tr><td>8</td><td>0,519</td><td>0,433</td><td>0,434</td></tr><tr><td>9</td><td>0,455</td><td>0,369</td><td>0,384</td></tr></table>",
|
| 749 |
+
"bbox": [
|
| 750 |
+
115,
|
| 751 |
+
328,
|
| 752 |
+
448,
|
| 753 |
+
510
|
| 754 |
+
],
|
| 755 |
+
"page_idx": 3
|
| 756 |
+
},
|
| 757 |
+
{
|
| 758 |
+
"type": "text",
|
| 759 |
+
"text": "The defence performed strongly, achieving an F1 score of 0.82 on binary toxic classification with word- and sentence-based attacks. The model achieved the same score on a non-attacked dataset, succeeding even better in distinguishing attacked sentences, with an F1 score of 0.99. However, defence models must be built for both word- and sentence-based attacks, as one single model will not work perfectly for both scenarios.",
|
| 760 |
+
"bbox": [
|
| 761 |
+
112,
|
| 762 |
+
574,
|
| 763 |
+
487,
|
| 764 |
+
720
|
| 765 |
+
],
|
| 766 |
+
"page_idx": 3
|
| 767 |
+
},
|
| 768 |
+
{
|
| 769 |
+
"type": "text",
|
| 770 |
+
"text": "5 Discussion",
|
| 771 |
+
"text_level": 1,
|
| 772 |
+
"bbox": [
|
| 773 |
+
112,
|
| 774 |
+
732,
|
| 775 |
+
240,
|
| 776 |
+
747
|
| 777 |
+
],
|
| 778 |
+
"page_idx": 3
|
| 779 |
+
},
|
| 780 |
+
{
|
| 781 |
+
"type": "text",
|
| 782 |
+
"text": "All of the attack variants showed decent results in confusing toxicity detection models in every model tested (to varying degrees). The simplistic nature of such attacks could allow virtually any Internet user to exploit them to avoid automoderation systems.",
|
| 783 |
+
"bbox": [
|
| 784 |
+
112,
|
| 785 |
+
758,
|
| 786 |
+
487,
|
| 787 |
+
838
|
| 788 |
+
],
|
| 789 |
+
"page_idx": 3
|
| 790 |
+
},
|
| 791 |
+
{
|
| 792 |
+
"type": "text",
|
| 793 |
+
"text": "A possible countermeasure for this type of attack is adversarial training or rule-based filtering. However, a simple rule-based filter can be fooled by char-level adversarial attacks, and adversarial training can be made much more difficult by in",
|
| 794 |
+
"bbox": [
|
| 795 |
+
112,
|
| 796 |
+
839,
|
| 797 |
+
489,
|
| 798 |
+
917
|
| 799 |
+
],
|
| 800 |
+
"page_idx": 3
|
| 801 |
+
},
|
| 802 |
+
{
|
| 803 |
+
"type": "table",
|
| 804 |
+
"img_path": "images/41f4716ca326d8f7759c7e9ef8e2a33db8cb4f10f221bdd8eecf964298e22d6b.jpg",
|
| 805 |
+
"table_caption": [
|
| 806 |
+
"Table 4: Cross-lingual word-based attack on toxicity detection models."
|
| 807 |
+
],
|
| 808 |
+
"table_footnote": [],
|
| 809 |
+
"table_body": "<table><tr><td>n</td><td>L en+fr</td><td>L en+ger</td><td>S en+fr</td><td>S en+ger</td></tr><tr><td>0</td><td>0.872</td><td>0.872</td><td>0.888</td><td>0.888</td></tr><tr><td>1</td><td>0.931</td><td>0.981</td><td>0.793</td><td>0.848</td></tr><tr><td>2</td><td>0.895</td><td>0.898</td><td>0.779</td><td>0.510</td></tr><tr><td>3</td><td>0.769</td><td>0.889</td><td>0.671</td><td>0.511</td></tr><tr><td>4</td><td>0.816</td><td>0.846</td><td>0.594</td><td>0.344</td></tr><tr><td>5</td><td>0.771</td><td>0.807</td><td>0.606</td><td>0.302</td></tr><tr><td>6</td><td>0.800</td><td>0.647</td><td>0.618</td><td>0.318</td></tr><tr><td>7</td><td>0.659</td><td>0.533</td><td>0.605</td><td>0.201</td></tr><tr><td>8</td><td>0.592</td><td>0.555</td><td>0.573</td><td>0.208</td></tr><tr><td>9</td><td>0.579</td><td>0.489</td><td>0.424</td><td>0.283</td></tr></table>",
|
| 810 |
+
"bbox": [
|
| 811 |
+
510,
|
| 812 |
+
80,
|
| 813 |
+
884,
|
| 814 |
+
262
|
| 815 |
+
],
|
| 816 |
+
"page_idx": 3
|
| 817 |
+
},
|
| 818 |
+
{
|
| 819 |
+
"type": "table",
|
| 820 |
+
"img_path": "images/e125d5cf701bca605197ba0cec200df8f520a80e5c437c133e0a2f8a3d743c03.jpg",
|
| 821 |
+
"table_caption": [
|
| 822 |
+
"Table 5: The results of cross-lingual attacks on OpenAI models. n - number of words added, L - latest, S - stable."
|
| 823 |
+
],
|
| 824 |
+
"table_footnote": [],
|
| 825 |
+
"table_body": "<table><tr><td>n sentences</td><td>BERT</td><td>RoBERTa</td><td>ELECTRA</td></tr><tr><td>0</td><td>0,590</td><td>0,962</td><td>0,898</td></tr><tr><td>1</td><td>0,001</td><td>0,001</td><td>0,232</td></tr><tr><td>2</td><td>0,001</td><td>0,002</td><td>0,147</td></tr></table>",
|
| 826 |
+
"bbox": [
|
| 827 |
+
510,
|
| 828 |
+
316,
|
| 829 |
+
899,
|
| 830 |
+
382
|
| 831 |
+
],
|
| 832 |
+
"page_idx": 3
|
| 833 |
+
},
|
| 834 |
+
{
|
| 835 |
+
"type": "text",
|
| 836 |
+
"text": "Table 6: Results of sentence-based attacks.",
|
| 837 |
+
"bbox": [
|
| 838 |
+
547,
|
| 839 |
+
393,
|
| 840 |
+
840,
|
| 841 |
+
407
|
| 842 |
+
],
|
| 843 |
+
"page_idx": 3
|
| 844 |
+
},
|
| 845 |
+
{
|
| 846 |
+
"type": "text",
|
| 847 |
+
"text": "creasing the quality and quantity of the possible text insertions.",
|
| 848 |
+
"bbox": [
|
| 849 |
+
507,
|
| 850 |
+
434,
|
| 851 |
+
880,
|
| 852 |
+
464
|
| 853 |
+
],
|
| 854 |
+
"page_idx": 3
|
| 855 |
+
},
|
| 856 |
+
{
|
| 857 |
+
"type": "text",
|
| 858 |
+
"text": "The complex approach, which covers all levels of perturbation, should be applied both in attack and defence real-life scenarios.",
|
| 859 |
+
"bbox": [
|
| 860 |
+
507,
|
| 861 |
+
468,
|
| 862 |
+
880,
|
| 863 |
+
514
|
| 864 |
+
],
|
| 865 |
+
"page_idx": 3
|
| 866 |
+
},
|
| 867 |
+
{
|
| 868 |
+
"type": "text",
|
| 869 |
+
"text": "6 Conclusion",
|
| 870 |
+
"text_level": 1,
|
| 871 |
+
"bbox": [
|
| 872 |
+
507,
|
| 873 |
+
529,
|
| 874 |
+
640,
|
| 875 |
+
544
|
| 876 |
+
],
|
| 877 |
+
"page_idx": 3
|
| 878 |
+
},
|
| 879 |
+
{
|
| 880 |
+
"type": "text",
|
| 881 |
+
"text": "In this paper, we demonstrated a novel and effective way of bypassing toxicity detection models by appending positive words or sentences to the end of a toxic message.",
|
| 882 |
+
"bbox": [
|
| 883 |
+
507,
|
| 884 |
+
556,
|
| 885 |
+
882,
|
| 886 |
+
619
|
| 887 |
+
],
|
| 888 |
+
"page_idx": 3
|
| 889 |
+
},
|
| 890 |
+
{
|
| 891 |
+
"type": "text",
|
| 892 |
+
"text": "The introduced concept of the \"To Each His Own\" attack is based on the idea of separating the messages addressed to a human and those addressed to an algorithm. The attack exploits the fact that the toxicity detection models are trained on sentence-level labels and do not consider the context or the intention of messages.",
|
| 893 |
+
"bbox": [
|
| 894 |
+
507,
|
| 895 |
+
621,
|
| 896 |
+
882,
|
| 897 |
+
733
|
| 898 |
+
],
|
| 899 |
+
"page_idx": 3
|
| 900 |
+
},
|
| 901 |
+
{
|
| 902 |
+
"type": "text",
|
| 903 |
+
"text": "The described attack in all its variants can be easily used on almost any toxic-detection neural model, with fairly good results. For future research, we suggest looking for a more sophisticated way of constructing insertions, perhaps with respect to the original message, making it a semantically correct addition to human-written messages.",
|
| 904 |
+
"bbox": [
|
| 905 |
+
507,
|
| 906 |
+
734,
|
| 907 |
+
882,
|
| 908 |
+
847
|
| 909 |
+
],
|
| 910 |
+
"page_idx": 3
|
| 911 |
+
},
|
| 912 |
+
{
|
| 913 |
+
"type": "text",
|
| 914 |
+
"text": "7 Acknowledgments",
|
| 915 |
+
"text_level": 1,
|
| 916 |
+
"bbox": [
|
| 917 |
+
507,
|
| 918 |
+
860,
|
| 919 |
+
702,
|
| 920 |
+
876
|
| 921 |
+
],
|
| 922 |
+
"page_idx": 3
|
| 923 |
+
},
|
| 924 |
+
{
|
| 925 |
+
"type": "text",
|
| 926 |
+
"text": "We thank all the volunteers who helped us with translations.",
|
| 927 |
+
"bbox": [
|
| 928 |
+
507,
|
| 929 |
+
887,
|
| 930 |
+
880,
|
| 931 |
+
917
|
| 932 |
+
],
|
| 933 |
+
"page_idx": 3
|
| 934 |
+
},
|
| 935 |
+
{
|
| 936 |
+
"type": "page_number",
|
| 937 |
+
"text": "2365",
|
| 938 |
+
"bbox": [
|
| 939 |
+
480,
|
| 940 |
+
928,
|
| 941 |
+
519,
|
| 942 |
+
940
|
| 943 |
+
],
|
| 944 |
+
"page_idx": 3
|
| 945 |
+
},
|
| 946 |
+
{
|
| 947 |
+
"type": "text",
|
| 948 |
+
"text": "We are grateful to the reviewers and the program chair of the EMNLP conference for providing constructive feedback, suggesting additional experiments and providing different points of view. This helped us structure the paper and ensure the robustness of our results.",
|
| 949 |
+
"bbox": [
|
| 950 |
+
112,
|
| 951 |
+
84,
|
| 952 |
+
489,
|
| 953 |
+
179
|
| 954 |
+
],
|
| 955 |
+
"page_idx": 4
|
| 956 |
+
},
|
| 957 |
+
{
|
| 958 |
+
"type": "text",
|
| 959 |
+
"text": "Sergey Berezin wishes to record that he is grateful to Mr. Mario Fritz from Saarland University for the introduction to the domain of adversarial attacks through his insightful course on this topic. He is also grateful to Mr. Maxime Amblard from the University of Lorraine for encouraging him to pursue research in this direction and validating his ideas.",
|
| 960 |
+
"bbox": [
|
| 961 |
+
112,
|
| 962 |
+
181,
|
| 963 |
+
489,
|
| 964 |
+
307
|
| 965 |
+
],
|
| 966 |
+
"page_idx": 4
|
| 967 |
+
},
|
| 968 |
+
{
|
| 969 |
+
"type": "text",
|
| 970 |
+
"text": "References",
|
| 971 |
+
"text_level": 1,
|
| 972 |
+
"bbox": [
|
| 973 |
+
114,
|
| 974 |
+
335,
|
| 975 |
+
213,
|
| 976 |
+
350
|
| 977 |
+
],
|
| 978 |
+
"page_idx": 4
|
| 979 |
+
},
|
| 980 |
+
{
|
| 981 |
+
"type": "list",
|
| 982 |
+
"sub_type": "ref_text",
|
| 983 |
+
"list_items": [
|
| 984 |
+
"Lu Cheng, Ahmadreza Mosallanezhad, Yasin N. Silva, Deborah L. Hall, and Huan Liu. 2022. Bias mitigation for toxicity detection via sequential decisions. In Proceedings of the 45th International ACM SIGIR Conference on Research and Development in Information Retrieval, SIGIR '22, page 1750-1760, New York, NY, USA. Association for Computing Machinery.",
|
| 985 |
+
"Robert Gorwa, Reuben Binns, and Christian Katzenbach. 2020. Algorithmic content moderation: Technical and political challenges in the automation of platform governance. *Big Data Society*, 7:205395171989794.",
|
| 986 |
+
"Tommi Gröndahl, Luca Pajola, Mika Juuti, Mauro Conti, and N. Asokan. 2018. All you need is \"love\": Evading hate speech detection. AIsec '18, New York, NY, USA. Association for Computing Machinery.",
|
| 987 |
+
"Robin Jia and Percy Liang. 2017. Adversarial examples for evaluating reading comprehension systems. pages 2021-2031.",
|
| 988 |
+
"Eric Wallace, Shi Feng, Nikhil Kandpal, Matt Gardner, and Sameer Singh. 2019. Universal adversarial triggers for attacking and analyzing nlp. pages 2153-2162.",
|
| 989 |
+
"Boxin Wang, Hengzhi Pei, Boyuan Pan, Qian Chen, Shuohang Wang, and Bo Li. 2020. T3: Treeautoencoder constrained adversarial text generation for targeted attack. In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP), pages 6134-6150, Online. Association for Computational Linguistics.",
|
| 990 |
+
"Yicheng Wang and Mohit Bansal. 2018. Robust machine comprehension models via adversarial training. 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 575-581, New Orleans, Louisiana. Association for Computational Linguistics."
|
| 991 |
+
],
|
| 992 |
+
"bbox": [
|
| 993 |
+
115,
|
| 994 |
+
357,
|
| 995 |
+
489,
|
| 996 |
+
919
|
| 997 |
+
],
|
| 998 |
+
"page_idx": 4
|
| 999 |
+
},
|
| 1000 |
+
{
|
| 1001 |
+
"type": "text",
|
| 1002 |
+
"text": "Wei Emma Zhang, Quan Z. Sheng, Ahoud Alhazmi, and Chenliang Li. 2020. Adversarial attacks on deep-learning models in natural language processing: A survey. ACM Trans. Intell. Syst. Technol., 11(3).",
|
| 1003 |
+
"bbox": [
|
| 1004 |
+
510,
|
| 1005 |
+
84,
|
| 1006 |
+
884,
|
| 1007 |
+
139
|
| 1008 |
+
],
|
| 1009 |
+
"page_idx": 4
|
| 1010 |
+
},
|
| 1011 |
+
{
|
| 1012 |
+
"type": "text",
|
| 1013 |
+
"text": "A Appendix A",
|
| 1014 |
+
"text_level": 1,
|
| 1015 |
+
"bbox": [
|
| 1016 |
+
509,
|
| 1017 |
+
151,
|
| 1018 |
+
653,
|
| 1019 |
+
168
|
| 1020 |
+
],
|
| 1021 |
+
"page_idx": 4
|
| 1022 |
+
},
|
| 1023 |
+
{
|
| 1024 |
+
"type": "page_number",
|
| 1025 |
+
"text": "2366",
|
| 1026 |
+
"bbox": [
|
| 1027 |
+
480,
|
| 1028 |
+
928,
|
| 1029 |
+
521,
|
| 1030 |
+
940
|
| 1031 |
+
],
|
| 1032 |
+
"page_idx": 4
|
| 1033 |
+
},
|
| 1034 |
+
{
|
| 1035 |
+
"type": "table",
|
| 1036 |
+
"img_path": "images/507c5c1f6ffe28625c24c6551c0f786d62fde5feb6dbf19a1bf7ae48d20a1139.jpg",
|
| 1037 |
+
"table_caption": [],
|
| 1038 |
+
"table_footnote": [],
|
| 1039 |
+
"table_body": "<table><tr><td>n words</td><td>BERT</td><td>roberta-base</td><td>xlm-roberta-base</td><td>toxigen-roberta</td><td>toxigen-hatebert</td></tr><tr><td>0</td><td>0,95</td><td>0,86</td><td>0,97</td><td>0,96</td><td>0,88</td></tr><tr><td>1</td><td>0,93</td><td>0,74</td><td>0,89</td><td>0,96</td><td>1,00</td></tr><tr><td>2</td><td>0,71</td><td>0,51</td><td>0,65</td><td>0,71</td><td>0,98</td></tr><tr><td>3</td><td>0,59</td><td>0,42</td><td>0,63</td><td>0,59</td><td>0,98</td></tr><tr><td>4</td><td>0,58</td><td>0,27</td><td>0,56</td><td>0,02</td><td>0,11</td></tr><tr><td>5</td><td>0,55</td><td>0,17</td><td>0,53</td><td>0,00</td><td>0,07</td></tr><tr><td>6</td><td>0,51</td><td>0,16</td><td>0,41</td><td>0,00</td><td>0,02</td></tr><tr><td>7</td><td>0,49</td><td>0,15</td><td>0,55</td><td>0,00</td><td>0,31</td></tr><tr><td>8</td><td>0,47</td><td>0,14</td><td>0,45</td><td>0,00</td><td>0,39</td></tr><tr><td>9</td><td>0,30</td><td>0,13</td><td>0,41</td><td>0,00</td><td>0,06</td></tr><tr><td>n words</td><td>roberta skolkovo</td><td>roberta facebook</td><td>MuRIL</td><td>MuRIL*</td><td>electra-hateXplain</td></tr><tr><td>0</td><td>1,00</td><td>1,00</td><td>0,13</td><td>0,96</td><td>0,90</td></tr><tr><td>1</td><td>1,00</td><td>1,00</td><td>0,10</td><td>0,95</td><td>0,73</td></tr><tr><td>2</td><td>0,99</td><td>1,00</td><td>0,03</td><td>0,94</td><td>0,36</td></tr><tr><td>3</td><td>0,92</td><td>1,00</td><td>0,01</td><td>0,92</td><td>0,06</td></tr><tr><td>4</td><td>0,98</td><td>1,00</td><td>0,01</td><td>0,92</td><td>0,07</td></tr><tr><td>5</td><td>0,98</td><td>1,00</td><td>0,01</td><td>0,92</td><td>0,08</td></tr><tr><td>6</td><td>0,99</td><td>1,00</td><td>0,03</td><td>0,94</td><td>0,09</td></tr><tr><td>7</td><td>0,99</td><td>1,00</td><td>0,01</td><td>0,93</td><td>0,07</td></tr><tr><td>8</td><td>0,99</td><td>0,03</td><td>0,01</td><td>0,91</td><td>0,07</td></tr><tr><td>9</td><td>0,98</td><td>0,59</td><td>0,01</td><td>0,89</td><td>0,07</td></tr><tr><td></td><td colspan=\"2\">n words multi-MuRIL</td><td>BERT-movies</td><td>DistilBERT</td><td>DistilBERT*</td></tr><tr><td></td><td>0</td><td>0,74</td><td>0,32</td><td>0,07</td><td>0,95</td></tr><tr><td></td><td>1</td><td>0,63</td><td>0,13</td><td>0,01</td><td>0,45</td></tr><tr><td></td><td>2</td><td>0,19</td><td>0,10</td><td>0,01</td><td>0,17</td></tr><tr><td></td><td>3</td><td>0,01</td><td>0,12</td><td>0,01</td><td>0,14</td></tr><tr><td></td><td>4</td><td>0,02</td><td>0,08</td><td>0,00</td><td>0,11</td></tr><tr><td></td><td>5</td><td>0,12</td><td>0,10</td><td>0,03</td><td>0,16</td></tr><tr><td></td><td>6</td><td>0,44</td><td>0,09</td><td>0,03</td><td>0,22</td></tr><tr><td></td><td>7</td><td>0,35</td><td>0,07</td><td>0,02</td><td>0,17</td></tr><tr><td></td><td>8</td><td>0,31</td><td>0,06</td><td>0,01</td><td>0,09</td></tr><tr><td></td><td>9</td><td>0,25</td><td>0,04</td><td>0,01</td><td>0,08</td></tr></table>",
|
| 1040 |
+
"bbox": [
|
| 1041 |
+
136,
|
| 1042 |
+
216,
|
| 1043 |
+
860,
|
| 1044 |
+
753
|
| 1045 |
+
],
|
| 1046 |
+
"page_idx": 5
|
| 1047 |
+
},
|
| 1048 |
+
{
|
| 1049 |
+
"type": "text",
|
| 1050 |
+
"text": "Table 7: Word-based attack in English on different transformer architectures - extended table.",
|
| 1051 |
+
"bbox": [
|
| 1052 |
+
181,
|
| 1053 |
+
764,
|
| 1054 |
+
811,
|
| 1055 |
+
778
|
| 1056 |
+
],
|
| 1057 |
+
"page_idx": 5
|
| 1058 |
+
},
|
| 1059 |
+
{
|
| 1060 |
+
"type": "page_number",
|
| 1061 |
+
"text": "2367",
|
| 1062 |
+
"bbox": [
|
| 1063 |
+
480,
|
| 1064 |
+
928,
|
| 1065 |
+
519,
|
| 1066 |
+
940
|
| 1067 |
+
],
|
| 1068 |
+
"page_idx": 5
|
| 1069 |
+
},
|
| 1070 |
+
{
|
| 1071 |
+
"type": "table",
|
| 1072 |
+
"img_path": "images/6230ccc37e02b6da91aa631120debf20ee00d237b721fc34b2178ade49cf6d80.jpg",
|
| 1073 |
+
"table_caption": [],
|
| 1074 |
+
"table_footnote": [],
|
| 1075 |
+
"table_body": "<table><tr><td>n words</td><td>Vietnamese</td><td>French</td><td colspan=\"2\">German</td><td>Spanish</td><td>Spanish</td></tr><tr><td></td><td>PhoBERT</td><td>detoxify-fr</td><td colspan=\"2\">BERT-GermEval18Coarse</td><td>dehatebert</td><td>detoxify-sp</td></tr><tr><td>0</td><td>0,996</td><td>0,749</td><td colspan=\"2\">0,819</td><td>0,970</td><td>0,943</td></tr><tr><td>1</td><td>0,008</td><td>0,834</td><td colspan=\"2\">0,531</td><td>0,962</td><td>0,645</td></tr><tr><td>2</td><td>0,007</td><td>0,812</td><td colspan=\"2\">0,432</td><td>0,573</td><td>0,654</td></tr><tr><td>3</td><td>0,008</td><td>0,757</td><td colspan=\"2\">0,305</td><td>0,396</td><td>0,583</td></tr><tr><td>4</td><td>0,009</td><td>0,735</td><td colspan=\"2\">0,383</td><td>0,090</td><td>0,463</td></tr><tr><td>5</td><td>0,008</td><td>0,652</td><td colspan=\"2\">0,392</td><td>0,054</td><td>0,444</td></tr><tr><td>6</td><td>0,007</td><td>0,515</td><td colspan=\"2\">0,360</td><td>0,055</td><td>0,334</td></tr><tr><td>7</td><td>0,007</td><td>0,415</td><td colspan=\"2\">0,438</td><td>0,064</td><td>0,247</td></tr><tr><td>8</td><td>0,007</td><td>0,486</td><td colspan=\"2\">0,484</td><td>0,082</td><td>0,244</td></tr><tr><td>9</td><td>0,007</td><td>0,511</td><td colspan=\"2\">0,422</td><td>0,045</td><td>0,244</td></tr><tr><td>n words</td><td>Portuguese</td><td>Portuguese</td><td>Turkish</td><td>Russian</td><td>Russian</td><td>Russian</td></tr><tr><td></td><td>dehatebert</td><td>detoxify</td><td>detoxify-tur</td><td>Skolkovo</td><td>rubert-toxic</td><td>detoxify-ru</td></tr><tr><td>0</td><td>0,591</td><td>0,983</td><td>0,977</td><td>0,814</td><td>0,689</td><td>0,973</td></tr><tr><td>1</td><td>0,614</td><td>0,887</td><td>0,812</td><td>0,186</td><td>0,360</td><td>0,863</td></tr><tr><td>2</td><td>0,587</td><td>0,794</td><td>0,841</td><td>0,503</td><td>0,042</td><td>0,834</td></tr><tr><td>3</td><td>0,489</td><td>0,709</td><td>0,735</td><td>0,043</td><td>0,037</td><td>0,817</td></tr><tr><td>4</td><td>0,473</td><td>0,637</td><td>0,767</td><td>0,048</td><td>0,028</td><td>0,817</td></tr><tr><td>5</td><td>0,410</td><td>0,663</td><td>0,745</td><td>0,085</td><td>0,039</td><td>0,684</td></tr><tr><td>6</td><td>0,406</td><td>0,496</td><td>0,752</td><td>0,090</td><td>0,050</td><td>0,503</td></tr><tr><td>7</td><td>0,418</td><td>0,327</td><td>0,673</td><td>0,029</td><td>0,044</td><td>0,534</td></tr><tr><td>8</td><td>0,434</td><td>0,332</td><td>0,649</td><td>0,009</td><td>0,042</td><td>0,514</td></tr><tr><td>9</td><td>0,447</td><td>0,354</td><td>0,622</td><td>0,005</td><td>0,052</td><td>0,414</td></tr></table>",
|
| 1076 |
+
"bbox": [
|
| 1077 |
+
142,
|
| 1078 |
+
158,
|
| 1079 |
+
855,
|
| 1080 |
+
554
|
| 1081 |
+
],
|
| 1082 |
+
"page_idx": 6
|
| 1083 |
+
},
|
| 1084 |
+
{
|
| 1085 |
+
"type": "table",
|
| 1086 |
+
"img_path": "images/d5135bd80e4bea2dd1932796221c2dbf86f1491296dc59680aac4dfeb4e1630d.jpg",
|
| 1087 |
+
"table_caption": [
|
| 1088 |
+
"Table 8: Word-based attack on languages from three different language families - extended table."
|
| 1089 |
+
],
|
| 1090 |
+
"table_footnote": [],
|
| 1091 |
+
"table_body": "<table><tr><td>n</td><td>toxigen-rob.</td><td>Skolkovo rob.</td><td>hatebert</td><td>MuRIL</td><td>electra-hateXplain</td><td>Multi-MuRIL</td></tr><tr><td>0</td><td>0,962</td><td>0,999</td><td>0,590</td><td>0,126</td><td>0,898</td><td>0,737</td></tr><tr><td>1</td><td>0,001</td><td>0,002</td><td>0,001</td><td>0,022</td><td>0,232</td><td>0,160</td></tr><tr><td>2</td><td>0,002</td><td>0,001</td><td>0,001</td><td>0,017</td><td>0,147</td><td>0,091</td></tr></table>",
|
| 1092 |
+
"bbox": [
|
| 1093 |
+
129,
|
| 1094 |
+
741,
|
| 1095 |
+
868,
|
| 1096 |
+
812
|
| 1097 |
+
],
|
| 1098 |
+
"page_idx": 6
|
| 1099 |
+
},
|
| 1100 |
+
{
|
| 1101 |
+
"type": "text",
|
| 1102 |
+
"text": "Table 9: Results of sentence-based attack - extended table. n - number of added sentences, rob - roberta.",
|
| 1103 |
+
"bbox": [
|
| 1104 |
+
144,
|
| 1105 |
+
821,
|
| 1106 |
+
847,
|
| 1107 |
+
834
|
| 1108 |
+
],
|
| 1109 |
+
"page_idx": 6
|
| 1110 |
+
},
|
| 1111 |
+
{
|
| 1112 |
+
"type": "page_number",
|
| 1113 |
+
"text": "2368",
|
| 1114 |
+
"bbox": [
|
| 1115 |
+
480,
|
| 1116 |
+
928,
|
| 1117 |
+
519,
|
| 1118 |
+
940
|
| 1119 |
+
],
|
| 1120 |
+
"page_idx": 6
|
| 1121 |
+
},
|
| 1122 |
+
{
|
| 1123 |
+
"type": "table",
|
| 1124 |
+
"img_path": "images/2755ad08730f01d7b3670a10b2d67c6ceb84e755dd82965278651d0e99a2ffbf.jpg",
|
| 1125 |
+
"table_caption": [],
|
| 1126 |
+
"table_footnote": [],
|
| 1127 |
+
"table_body": "<table><tr><td>n words</td><td colspan=\"2\">rus + eng 1</td><td>rus + eng 2</td><td>rus + sp</td><td>rus + fr</td><td>rus + ge</td></tr><tr><td></td><td colspan=\"2\">SkolkovoInstitute/ Russian_toxicity_classifier</td><td>rubert-toxic- pikabu-2ch</td><td>rubert-toxic- pikabu-2ch</td><td>rubert-toxic- pikabu-2ch</td><td>rubert-toxic- pikabu-2ch</td></tr><tr><td>0</td><td colspan=\"2\">0,814</td><td>0,689</td><td>0,689</td><td>0,689</td><td>0,689</td></tr><tr><td>1</td><td colspan=\"2\">0,498</td><td>0,252</td><td>0,326</td><td>0,608</td><td>0,263</td></tr><tr><td>2</td><td colspan=\"2\">0,290</td><td>0,141</td><td>0,186</td><td>0,288</td><td>0,247</td></tr><tr><td>3</td><td colspan=\"2\">0,754</td><td>0,122</td><td>0,259</td><td>0,291</td><td>0,296</td></tr><tr><td>4</td><td colspan=\"2\">0,707</td><td>0,131</td><td>0,349</td><td>0,237</td><td>0,284</td></tr><tr><td>5</td><td colspan=\"2\">0,743</td><td>0,441</td><td>0,423</td><td>0,236</td><td>0,403</td></tr><tr><td>6</td><td colspan=\"2\">0,749</td><td>0,527</td><td>0,190</td><td>0,196</td><td>0,244</td></tr><tr><td>7</td><td colspan=\"2\">0,576</td><td>0,206</td><td>0,082</td><td>0,237</td><td>0,296</td></tr><tr><td>8</td><td colspan=\"2\">0,382</td><td>0,357</td><td>0,116</td><td>0,180</td><td>0,281</td></tr><tr><td>9</td><td colspan=\"2\">0,467</td><td>0,356</td><td>0,109</td><td>0,226</td><td>0,290</td></tr><tr><td>n words</td><td>eng + tur</td><td>eng + rus</td><td>eng+sp 1</td><td>eng+sp 2</td><td colspan=\"2\">eng+sp 3</td></tr><tr><td></td><td>Detoxify</td><td>Detoxify</td><td>Detoxify</td><td>electra-base-hateXplain base-hateXplain</td><td colspan=\"2\">indic-abusive-allInOne-MuRIL</td></tr><tr><td>0</td><td>0,971</td><td>0,971</td><td>0,971</td><td>0,898</td><td colspan=\"2\">0,737</td></tr><tr><td>1</td><td>0,913</td><td>0,717</td><td>0,802</td><td>0,574</td><td colspan=\"2\">0,724</td></tr><tr><td>2</td><td>0,904</td><td>0,717</td><td>0,687</td><td>0,912</td><td colspan=\"2\">0,454</td></tr><tr><td>3</td><td>0,912</td><td>0,761</td><td>0,536</td><td>0,471</td><td colspan=\"2\">0,590</td></tr><tr><td>4</td><td>0,541</td><td>0,800</td><td>0,558</td><td>0,340</td><td colspan=\"2\">0,574</td></tr><tr><td>5</td><td>0,634</td><td>0,592</td><td>0,500</td><td>0,270</td><td colspan=\"2\">0,668</td></tr><tr><td>6</td><td>0,731</td><td>0,456</td><td>0,539</td><td>0,216</td><td colspan=\"2\">0,579</td></tr><tr><td>7</td><td>0,604</td><td>0,402</td><td>0,426</td><td>0,226</td><td colspan=\"2\">0,508</td></tr><tr><td>8</td><td>0,519</td><td>0,433</td><td>0,434</td><td>0,212</td><td colspan=\"2\">0,290</td></tr><tr><td>9</td><td>0,455</td><td>0,369</td><td>0,384</td><td>0,186</td><td colspan=\"2\">0,236</td></tr></table>",
|
| 1128 |
+
"bbox": [
|
| 1129 |
+
124,
|
| 1130 |
+
265,
|
| 1131 |
+
872,
|
| 1132 |
+
690
|
| 1133 |
+
],
|
| 1134 |
+
"page_idx": 7
|
| 1135 |
+
},
|
| 1136 |
+
{
|
| 1137 |
+
"type": "text",
|
| 1138 |
+
"text": "Table 10: Cross-lingual word-based attack - extended table. First language listed - language of a message, second - language of added text.",
|
| 1139 |
+
"bbox": [
|
| 1140 |
+
112,
|
| 1141 |
+
701,
|
| 1142 |
+
882,
|
| 1143 |
+
730
|
| 1144 |
+
],
|
| 1145 |
+
"page_idx": 7
|
| 1146 |
+
},
|
| 1147 |
+
{
|
| 1148 |
+
"type": "page_number",
|
| 1149 |
+
"text": "2369",
|
| 1150 |
+
"bbox": [
|
| 1151 |
+
480,
|
| 1152 |
+
928,
|
| 1153 |
+
519,
|
| 1154 |
+
940
|
| 1155 |
+
],
|
| 1156 |
+
"page_idx": 7
|
| 1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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
[
|
| 3 |
+
{
|
| 4 |
+
"type": "title",
|
| 5 |
+
"bbox": [
|
| 6 |
+
0.116,
|
| 7 |
+
0.09,
|
| 8 |
+
0.885,
|
| 9 |
+
0.131
|
| 10 |
+
],
|
| 11 |
+
"angle": 0,
|
| 12 |
+
"content": "No offence, Bert - I insult only humans! Multiple addressees sentence-level attack on toxicity detection neural networks"
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"bbox": [
|
| 17 |
+
0.244,
|
| 18 |
+
0.15,
|
| 19 |
+
0.761,
|
| 20 |
+
0.218
|
| 21 |
+
],
|
| 22 |
+
"angle": 0,
|
| 23 |
+
"content": "Sergey Berezin, Reza Farahbakhsh, Noel Crespi \nSAMOVAR, Télécom SudParis, Institut Polytechnique de Paris 91120 Palaiseau, France \nsberezin@telecom-sudparis.eu"
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "title",
|
| 27 |
+
"bbox": [
|
| 28 |
+
0.261,
|
| 29 |
+
0.253,
|
| 30 |
+
0.343,
|
| 31 |
+
0.269
|
| 32 |
+
],
|
| 33 |
+
"angle": 0,
|
| 34 |
+
"content": "Abstract"
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"type": "text",
|
| 38 |
+
"bbox": [
|
| 39 |
+
0.142,
|
| 40 |
+
0.278,
|
| 41 |
+
0.462,
|
| 42 |
+
0.435
|
| 43 |
+
],
|
| 44 |
+
"angle": 0,
|
| 45 |
+
"content": "We introduce a simple yet efficient sentence-level attack on black-box toxicity detector models. By adding several positive words or sentences to the end of a hateful message, we are able to change the prediction of a neural network and pass the toxicity detection system check. This approach is shown to be working on seven languages from three different language families. We also describe the defence mechanism against the aforementioned attack and discuss its limitations."
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"type": "title",
|
| 49 |
+
"bbox": [
|
| 50 |
+
0.115,
|
| 51 |
+
0.445,
|
| 52 |
+
0.262,
|
| 53 |
+
0.46
|
| 54 |
+
],
|
| 55 |
+
"angle": 0,
|
| 56 |
+
"content": "1 Introduction"
|
| 57 |
+
},
|
| 58 |
+
{
|
| 59 |
+
"type": "text",
|
| 60 |
+
"bbox": [
|
| 61 |
+
0.113,
|
| 62 |
+
0.47,
|
| 63 |
+
0.49,
|
| 64 |
+
0.614
|
| 65 |
+
],
|
| 66 |
+
"angle": 0,
|
| 67 |
+
"content": "Toxicity detection systems have become a crucial part of automoderation solutions. They are now used by most social media platforms, including those with groups of people in dangerously sensitive conditions, e.g. suicide prevention, Facebook groups, victims of cyberbullying, etc. Vulnerability in such systems may have dreadful, terrific effects on people, especially those in precarious situations.(Cheng et al., 2022)."
|
| 68 |
+
},
|
| 69 |
+
{
|
| 70 |
+
"type": "text",
|
| 71 |
+
"bbox": [
|
| 72 |
+
0.113,
|
| 73 |
+
0.616,
|
| 74 |
+
0.49,
|
| 75 |
+
0.727
|
| 76 |
+
],
|
| 77 |
+
"angle": 0,
|
| 78 |
+
"content": "On the other hand, such systems can be and are used to silence the voices of criticism, which leads to the creation of echo chambers and amplifies the voice of the (powerful) minority over the voice of the majority, thereby destroying the foundation of democracy and denying the freedom of speech (Gorwa et al., 2020)."
|
| 79 |
+
},
|
| 80 |
+
{
|
| 81 |
+
"type": "text",
|
| 82 |
+
"bbox": [
|
| 83 |
+
0.114,
|
| 84 |
+
0.728,
|
| 85 |
+
0.49,
|
| 86 |
+
0.793
|
| 87 |
+
],
|
| 88 |
+
"angle": 0,
|
| 89 |
+
"content": "This situation can be viewed as a double-edged sword, and we propose another double-edged sword that can be used to parry the blade of toxicity detection systems."
|
| 90 |
+
},
|
| 91 |
+
{
|
| 92 |
+
"type": "title",
|
| 93 |
+
"bbox": [
|
| 94 |
+
0.115,
|
| 95 |
+
0.802,
|
| 96 |
+
0.292,
|
| 97 |
+
0.818
|
| 98 |
+
],
|
| 99 |
+
"angle": 0,
|
| 100 |
+
"content": "1.1 Task description"
|
| 101 |
+
},
|
| 102 |
+
{
|
| 103 |
+
"type": "text",
|
| 104 |
+
"bbox": [
|
| 105 |
+
0.113,
|
| 106 |
+
0.823,
|
| 107 |
+
0.488,
|
| 108 |
+
0.887
|
| 109 |
+
],
|
| 110 |
+
"angle": 0,
|
| 111 |
+
"content": "We present an attack on toxicity detection models based on the separation of the messages intended for a person and a piece of text added to confuse an algorithm."
|
| 112 |
+
},
|
| 113 |
+
{
|
| 114 |
+
"type": "text",
|
| 115 |
+
"bbox": [
|
| 116 |
+
0.114,
|
| 117 |
+
0.888,
|
| 118 |
+
0.489,
|
| 119 |
+
0.92
|
| 120 |
+
],
|
| 121 |
+
"angle": 0,
|
| 122 |
+
"content": "For example, this can be done by concatenating an original message with a collection of keywords"
|
| 123 |
+
},
|
| 124 |
+
{
|
| 125 |
+
"type": "text",
|
| 126 |
+
"bbox": [
|
| 127 |
+
0.508,
|
| 128 |
+
0.254,
|
| 129 |
+
0.885,
|
| 130 |
+
0.349
|
| 131 |
+
],
|
| 132 |
+
"angle": 0,
|
| 133 |
+
"content": "of an opposite intent: \"Kill yourself, you dirty pig! Text for a bot to avoid ban: flowers, rainbow, happy, happy good\" - here only the underlined part is intended to address the human, and it is clear that the remaining part was added to avoid detection by the automoderation algorithm."
|
| 134 |
+
},
|
| 135 |
+
{
|
| 136 |
+
"type": "text",
|
| 137 |
+
"bbox": [
|
| 138 |
+
0.508,
|
| 139 |
+
0.351,
|
| 140 |
+
0.884,
|
| 141 |
+
0.399
|
| 142 |
+
],
|
| 143 |
+
"angle": 0,
|
| 144 |
+
"content": "This represents an example of a sentence-level black-box adversarial attack on Natural Language Processing systems."
|
| 145 |
+
},
|
| 146 |
+
{
|
| 147 |
+
"type": "title",
|
| 148 |
+
"bbox": [
|
| 149 |
+
0.51,
|
| 150 |
+
0.413,
|
| 151 |
+
0.663,
|
| 152 |
+
0.427
|
| 153 |
+
],
|
| 154 |
+
"angle": 0,
|
| 155 |
+
"content": "1.2 Related work"
|
| 156 |
+
},
|
| 157 |
+
{
|
| 158 |
+
"type": "text",
|
| 159 |
+
"bbox": [
|
| 160 |
+
0.508,
|
| 161 |
+
0.434,
|
| 162 |
+
0.886,
|
| 163 |
+
0.723
|
| 164 |
+
],
|
| 165 |
+
"angle": 0,
|
| 166 |
+
"content": "The first work suggesting the concatenation of distracting but meaningless sentences at the end of a paragraph to confuse a neural model was \"Adversarial Examples for Evaluating Reading Comprehension Systems\" (Jia and Liang, 2017) (according to the (Zhang et al., 2020)). Jia and Liang attacked question-answering systems with either manually-generated informative sentences (ADDSENT) or arbitrary sequences of words using a pool of 20 random common words (ADDANY). Both perturbations were obtained by iterative querying of the neural network until the output was changed. The authors of \"Robust Machine Comprehension Models via Adversarial Training\" (Wang and Bansal, 2018) improved this approach by varying the locations where the distracting sentences are placed and expanding the set of fake answers for generating the distracting sentences (ADDSENTDIVERSE)."
|
| 167 |
+
},
|
| 168 |
+
{
|
| 169 |
+
"type": "text",
|
| 170 |
+
"bbox": [
|
| 171 |
+
0.508,
|
| 172 |
+
0.725,
|
| 173 |
+
0.885,
|
| 174 |
+
0.837
|
| 175 |
+
],
|
| 176 |
+
"angle": 0,
|
| 177 |
+
"content": "In \"Universal Adversarial Triggers for Attacking and Analyzing NLP\" (Wallace et al., 2019) apply the gradient-based technique to construct an adversarial text. Despite being a white-box attack in its origin (due to the gradient information required in the training phase), this approach can be applied as a black-box attack during its inference."
|
| 178 |
+
},
|
| 179 |
+
{
|
| 180 |
+
"type": "text",
|
| 181 |
+
"bbox": [
|
| 182 |
+
0.508,
|
| 183 |
+
0.839,
|
| 184 |
+
0.884,
|
| 185 |
+
0.902
|
| 186 |
+
],
|
| 187 |
+
"angle": 0,
|
| 188 |
+
"content": "The T3 model (Wang et al., 2020) utilises the autoencoder architecture to generate adversarial texts that can manipulate the question-answering models to output the targeted incorrect answer."
|
| 189 |
+
},
|
| 190 |
+
{
|
| 191 |
+
"type": "text",
|
| 192 |
+
"bbox": [
|
| 193 |
+
0.527,
|
| 194 |
+
0.904,
|
| 195 |
+
0.882,
|
| 196 |
+
0.919
|
| 197 |
+
],
|
| 198 |
+
"angle": 0,
|
| 199 |
+
"content": "In \"All You Need is \"Love\": Evading Hate"
|
| 200 |
+
},
|
| 201 |
+
{
|
| 202 |
+
"type": "page_number",
|
| 203 |
+
"bbox": [
|
| 204 |
+
0.481,
|
| 205 |
+
0.928,
|
| 206 |
+
0.522,
|
| 207 |
+
0.941
|
| 208 |
+
],
|
| 209 |
+
"angle": 0,
|
| 210 |
+
"content": "2362"
|
| 211 |
+
},
|
| 212 |
+
{
|
| 213 |
+
"type": "footer",
|
| 214 |
+
"bbox": [
|
| 215 |
+
0.218,
|
| 216 |
+
0.946,
|
| 217 |
+
0.78,
|
| 218 |
+
0.973
|
| 219 |
+
],
|
| 220 |
+
"angle": 0,
|
| 221 |
+
"content": "Findings of the Association for Computational Linguistics: EMNLP 2023, pages 2362-2369 December 6-10, 2023 ©2023 Association for Computational Linguistics"
|
| 222 |
+
}
|
| 223 |
+
],
|
| 224 |
+
[
|
| 225 |
+
{
|
| 226 |
+
"type": "text",
|
| 227 |
+
"bbox": [
|
| 228 |
+
0.113,
|
| 229 |
+
0.085,
|
| 230 |
+
0.488,
|
| 231 |
+
0.198
|
| 232 |
+
],
|
| 233 |
+
"angle": 0,
|
| 234 |
+
"content": "Speech Detection\" (Gröndahl et al., 2018) performs a sentence-level attack on hate speech detection systems by inserting typos, changing word boundaries and adding innocuous words to the original hate speech. The authors show the effectiveness of such an attack on MLP, CNN+RNN and LSTM neural networks."
|
| 235 |
+
},
|
| 236 |
+
{
|
| 237 |
+
"type": "title",
|
| 238 |
+
"bbox": [
|
| 239 |
+
0.115,
|
| 240 |
+
0.21,
|
| 241 |
+
0.266,
|
| 242 |
+
0.224
|
| 243 |
+
],
|
| 244 |
+
"angle": 0,
|
| 245 |
+
"content": "1.3 Contribution"
|
| 246 |
+
},
|
| 247 |
+
{
|
| 248 |
+
"type": "text",
|
| 249 |
+
"bbox": [
|
| 250 |
+
0.114,
|
| 251 |
+
0.231,
|
| 252 |
+
0.4,
|
| 253 |
+
0.246
|
| 254 |
+
],
|
| 255 |
+
"angle": 0,
|
| 256 |
+
"content": "Our contributions lie in the following:"
|
| 257 |
+
},
|
| 258 |
+
{
|
| 259 |
+
"type": "text",
|
| 260 |
+
"bbox": [
|
| 261 |
+
0.114,
|
| 262 |
+
0.247,
|
| 263 |
+
0.488,
|
| 264 |
+
0.358
|
| 265 |
+
],
|
| 266 |
+
"angle": 0,
|
| 267 |
+
"content": "1) Introduction of a concept of \"To Each His Own\" attack, based on the idea of separating the messages addressed to a human and those addressed to an algorithm. The attack exploits the fact that toxicity detection models are trained on sentence-level labels and do not consider the context or the intention of the message."
|
| 268 |
+
},
|
| 269 |
+
{
|
| 270 |
+
"type": "text",
|
| 271 |
+
"bbox": [
|
| 272 |
+
0.114,
|
| 273 |
+
0.36,
|
| 274 |
+
0.488,
|
| 275 |
+
0.439
|
| 276 |
+
],
|
| 277 |
+
"angle": 0,
|
| 278 |
+
"content": "2) A systematic approach to the generation of adversarial texts. The words and sentences are selected based on their positivity scores rather than being randomly selected from non-hate ones, as in previous works."
|
| 279 |
+
},
|
| 280 |
+
{
|
| 281 |
+
"type": "text",
|
| 282 |
+
"bbox": [
|
| 283 |
+
0.114,
|
| 284 |
+
0.441,
|
| 285 |
+
0.489,
|
| 286 |
+
0.519
|
| 287 |
+
],
|
| 288 |
+
"angle": 0,
|
| 289 |
+
"content": "3) Demonstration of attacks on modern state-of-the-art architectures. We tested the most popular transformer-based toxicity detectors, including Google Perspective API and OpenAI Moderation API."
|
| 290 |
+
},
|
| 291 |
+
{
|
| 292 |
+
"type": "text",
|
| 293 |
+
"bbox": [
|
| 294 |
+
0.114,
|
| 295 |
+
0.521,
|
| 296 |
+
0.489,
|
| 297 |
+
0.601
|
| 298 |
+
],
|
| 299 |
+
"angle": 0,
|
| 300 |
+
"content": "4) Highlighting a significant flaw in the current approach to toxicity detection. We show that the predicted toxicity score can be watered down by the addition of positive words to the point of effectively masking toxicity."
|
| 301 |
+
},
|
| 302 |
+
{
|
| 303 |
+
"type": "text",
|
| 304 |
+
"bbox": [
|
| 305 |
+
0.114,
|
| 306 |
+
0.602,
|
| 307 |
+
0.489,
|
| 308 |
+
0.698
|
| 309 |
+
],
|
| 310 |
+
"angle": 0,
|
| 311 |
+
"content": "5) Multi- and cross-lingual settings of attacks. We describe the attacks on seven different languages and combinations among them. A larger number of languages leads to a larger number of possible attacks - in the case of the 5-language model, we have 120 attack scenarios."
|
| 312 |
+
},
|
| 313 |
+
{
|
| 314 |
+
"type": "list",
|
| 315 |
+
"bbox": [
|
| 316 |
+
0.114,
|
| 317 |
+
0.247,
|
| 318 |
+
0.489,
|
| 319 |
+
0.698
|
| 320 |
+
],
|
| 321 |
+
"angle": 0,
|
| 322 |
+
"content": null
|
| 323 |
+
},
|
| 324 |
+
{
|
| 325 |
+
"type": "title",
|
| 326 |
+
"bbox": [
|
| 327 |
+
0.114,
|
| 328 |
+
0.711,
|
| 329 |
+
0.382,
|
| 330 |
+
0.726
|
| 331 |
+
],
|
| 332 |
+
"angle": 0,
|
| 333 |
+
"content": "2 \"To Each His Own\" attack"
|
| 334 |
+
},
|
| 335 |
+
{
|
| 336 |
+
"type": "title",
|
| 337 |
+
"bbox": [
|
| 338 |
+
0.114,
|
| 339 |
+
0.738,
|
| 340 |
+
0.312,
|
| 341 |
+
0.752
|
| 342 |
+
],
|
| 343 |
+
"angle": 0,
|
| 344 |
+
"content": "2.1 Word-based attack"
|
| 345 |
+
},
|
| 346 |
+
{
|
| 347 |
+
"type": "text",
|
| 348 |
+
"bbox": [
|
| 349 |
+
0.113,
|
| 350 |
+
0.759,
|
| 351 |
+
0.488,
|
| 352 |
+
0.886
|
| 353 |
+
],
|
| 354 |
+
"angle": 0,
|
| 355 |
+
"content": "In this attack type, the original message is appended or prepended with a sequence of positive words, with the aim that these words will be analysed by a model but passed over by a human. This allows an attacker to preserve their original message without any changes, unlike in other attacks, which substitute words with synonyms or replace original characters with their look-alikes."
|
| 356 |
+
},
|
| 357 |
+
{
|
| 358 |
+
"type": "text",
|
| 359 |
+
"bbox": [
|
| 360 |
+
0.114,
|
| 361 |
+
0.888,
|
| 362 |
+
0.489,
|
| 363 |
+
0.919
|
| 364 |
+
],
|
| 365 |
+
"angle": 0,
|
| 366 |
+
"content": "In our experiment, we used words from the SentiWordNet with a positivity score \\(\\geq 0.85\\). We tested"
|
| 367 |
+
},
|
| 368 |
+
{
|
| 369 |
+
"type": "text",
|
| 370 |
+
"bbox": [
|
| 371 |
+
0.508,
|
| 372 |
+
0.085,
|
| 373 |
+
0.882,
|
| 374 |
+
0.133
|
| 375 |
+
],
|
| 376 |
+
"angle": 0,
|
| 377 |
+
"content": "14 openly available pretrained neural networks with the phrase \"I hate you\" and the addition of 0 to 9 positive words."
|
| 378 |
+
},
|
| 379 |
+
{
|
| 380 |
+
"type": "text",
|
| 381 |
+
"bbox": [
|
| 382 |
+
0.508,
|
| 383 |
+
0.135,
|
| 384 |
+
0.884,
|
| 385 |
+
0.311
|
| 386 |
+
],
|
| 387 |
+
"angle": 0,
|
| 388 |
+
"content": "In case the toxicity score for a suggested phrase was estimated to be less than 0.5 - the most common threshold, we used the phrase \"I hate you dumbass\" instead. If, after attacking with 9 words, the model's output was greater than 0.5, we continued adding new positive words until the score dropped below this threshold or until we reached the maximum length of an input sequence for the model tested. For the English language, we also performed experiments with the phrase \"Text for bot:\" placed between a message and added words."
|
| 389 |
+
},
|
| 390 |
+
{
|
| 391 |
+
"type": "text",
|
| 392 |
+
"bbox": [
|
| 393 |
+
0.508,
|
| 394 |
+
0.313,
|
| 395 |
+
0.884,
|
| 396 |
+
0.36
|
| 397 |
+
],
|
| 398 |
+
"angle": 0,
|
| 399 |
+
"content": "We conducted additional experiments with the Perspective API and OpenAI Moderation API, discovering they are also vulnerable to our attacks."
|
| 400 |
+
},
|
| 401 |
+
{
|
| 402 |
+
"type": "text",
|
| 403 |
+
"bbox": [
|
| 404 |
+
0.508,
|
| 405 |
+
0.363,
|
| 406 |
+
0.884,
|
| 407 |
+
0.555
|
| 408 |
+
],
|
| 409 |
+
"angle": 0,
|
| 410 |
+
"content": "For eight non-English models, we asked native speakers of the respective languages to translate a selected subset of words and attack phrases. Within this study, we tested the language models for seven languages aside from English: Russian, German, French, Portuguese, Spanish, Turkish and Vietnamese. It is worth noting that the first five listed languages represent three branches (Slavic, Germanic and Italic) of the Indo-European language family, and the last two are from different language families: the Turkic and the Austro-Asiatic family, respectfully."
|
| 411 |
+
},
|
| 412 |
+
{
|
| 413 |
+
"type": "text",
|
| 414 |
+
"bbox": [
|
| 415 |
+
0.508,
|
| 416 |
+
0.557,
|
| 417 |
+
0.882,
|
| 418 |
+
0.604
|
| 419 |
+
],
|
| 420 |
+
"angle": 0,
|
| 421 |
+
"content": "By using various models and languages, we aim to investigate if the suggested attack is model- and language-agnostic."
|
| 422 |
+
},
|
| 423 |
+
{
|
| 424 |
+
"type": "title",
|
| 425 |
+
"bbox": [
|
| 426 |
+
0.509,
|
| 427 |
+
0.62,
|
| 428 |
+
0.81,
|
| 429 |
+
0.635
|
| 430 |
+
],
|
| 431 |
+
"angle": 0,
|
| 432 |
+
"content": "2.2 Cross-lingual word-based attack"
|
| 433 |
+
},
|
| 434 |
+
{
|
| 435 |
+
"type": "text",
|
| 436 |
+
"bbox": [
|
| 437 |
+
0.508,
|
| 438 |
+
0.643,
|
| 439 |
+
0.882,
|
| 440 |
+
0.771
|
| 441 |
+
],
|
| 442 |
+
"angle": 0,
|
| 443 |
+
"content": "The main weakness of all multilingual models lies in their greatest advantage - the ability to work with multiple languages and writing systems. Adding positive words in different languages will even more separate messages to the human and to the toxicity detection system, perhaps even denying a human the ability to read non-intended text. Examples of such texts are shown in Figure 1."
|
| 444 |
+
},
|
| 445 |
+
{
|
| 446 |
+
"type": "text",
|
| 447 |
+
"bbox": [
|
| 448 |
+
0.508,
|
| 449 |
+
0.773,
|
| 450 |
+
0.882,
|
| 451 |
+
0.82
|
| 452 |
+
],
|
| 453 |
+
"angle": 0,
|
| 454 |
+
"content": "Even some monolingual models, which had been exposed to another language during the pretraining phase, fall victim to this situation."
|
| 455 |
+
},
|
| 456 |
+
{
|
| 457 |
+
"type": "text",
|
| 458 |
+
"bbox": [
|
| 459 |
+
0.508,
|
| 460 |
+
0.822,
|
| 461 |
+
0.882,
|
| 462 |
+
0.886
|
| 463 |
+
],
|
| 464 |
+
"angle": 0,
|
| 465 |
+
"content": "We also conducted cross-lingual experiments with OpenAI models, including ChatGPT in conversation mode with different prompts, and found them susceptible to attack."
|
| 466 |
+
},
|
| 467 |
+
{
|
| 468 |
+
"type": "text",
|
| 469 |
+
"bbox": [
|
| 470 |
+
0.509,
|
| 471 |
+
0.888,
|
| 472 |
+
0.882,
|
| 473 |
+
0.919
|
| 474 |
+
],
|
| 475 |
+
"angle": 0,
|
| 476 |
+
"content": "Perspective API was found to be non-functional in a multilingual setting, failing with an error, as it"
|
| 477 |
+
},
|
| 478 |
+
{
|
| 479 |
+
"type": "page_number",
|
| 480 |
+
"bbox": [
|
| 481 |
+
0.481,
|
| 482 |
+
0.929,
|
| 483 |
+
0.521,
|
| 484 |
+
0.941
|
| 485 |
+
],
|
| 486 |
+
"angle": 0,
|
| 487 |
+
"content": "2363"
|
| 488 |
+
}
|
| 489 |
+
],
|
| 490 |
+
[
|
| 491 |
+
{
|
| 492 |
+
"type": "table",
|
| 493 |
+
"bbox": [
|
| 494 |
+
0.117,
|
| 495 |
+
0.087,
|
| 496 |
+
0.486,
|
| 497 |
+
0.146
|
| 498 |
+
],
|
| 499 |
+
"angle": 0,
|
| 500 |
+
"content": "<table><tr><td>I hate you lióobb aǐltpruíntiúhái lüedpí</td></tr><tr><td>You stink. eşsism.dkukemmel telkari güzel ahlak</td></tr><tr><td>Goodbye, dumbass! animado melhor formidable</td></tr></table>"
|
| 501 |
+
},
|
| 502 |
+
{
|
| 503 |
+
"type": "image_caption",
|
| 504 |
+
"bbox": [
|
| 505 |
+
0.113,
|
| 506 |
+
0.16,
|
| 507 |
+
0.49,
|
| 508 |
+
0.204
|
| 509 |
+
],
|
| 510 |
+
"angle": 0,
|
| 511 |
+
"content": "Figure 1: Examples of cross-lingual word-based attack. The languages of the added text from the top are Russian, Turkish, and Spanish."
|
| 512 |
+
},
|
| 513 |
+
{
|
| 514 |
+
"type": "text",
|
| 515 |
+
"bbox": [
|
| 516 |
+
0.114,
|
| 517 |
+
0.228,
|
| 518 |
+
0.435,
|
| 519 |
+
0.243
|
| 520 |
+
],
|
| 521 |
+
"angle": 0,
|
| 522 |
+
"content": "is unable to detect the language of the text."
|
| 523 |
+
},
|
| 524 |
+
{
|
| 525 |
+
"type": "title",
|
| 526 |
+
"bbox": [
|
| 527 |
+
0.115,
|
| 528 |
+
0.253,
|
| 529 |
+
0.336,
|
| 530 |
+
0.267
|
| 531 |
+
],
|
| 532 |
+
"angle": 0,
|
| 533 |
+
"content": "2.3 Sentence-based attack"
|
| 534 |
+
},
|
| 535 |
+
{
|
| 536 |
+
"type": "text",
|
| 537 |
+
"bbox": [
|
| 538 |
+
0.113,
|
| 539 |
+
0.274,
|
| 540 |
+
0.489,
|
| 541 |
+
0.386
|
| 542 |
+
],
|
| 543 |
+
"angle": 0,
|
| 544 |
+
"content": "Incoherent text, produced by concatenating lexically unconnected words, is easily detectable by modern language models. To address that easy detection, we experimented with another version of the attack: concatenating sentences from the Stanford Sentiment Treebank with a positivity score \\(\\geq 0.9\\) and a length of no less than 100 symbols."
|
| 545 |
+
},
|
| 546 |
+
{
|
| 547 |
+
"type": "text",
|
| 548 |
+
"bbox": [
|
| 549 |
+
0.113,
|
| 550 |
+
0.387,
|
| 551 |
+
0.49,
|
| 552 |
+
0.452
|
| 553 |
+
],
|
| 554 |
+
"angle": 0,
|
| 555 |
+
"content": "Since sentences consist of grammatically linked words instead of just a set of random positive words, this attack variant is less obvious and more challenging to detect."
|
| 556 |
+
},
|
| 557 |
+
{
|
| 558 |
+
"type": "title",
|
| 559 |
+
"bbox": [
|
| 560 |
+
0.115,
|
| 561 |
+
0.462,
|
| 562 |
+
0.219,
|
| 563 |
+
0.477
|
| 564 |
+
],
|
| 565 |
+
"angle": 0,
|
| 566 |
+
"content": "3 Defence"
|
| 567 |
+
},
|
| 568 |
+
{
|
| 569 |
+
"type": "text",
|
| 570 |
+
"bbox": [
|
| 571 |
+
0.113,
|
| 572 |
+
0.487,
|
| 573 |
+
0.49,
|
| 574 |
+
0.631
|
| 575 |
+
],
|
| 576 |
+
"angle": 0,
|
| 577 |
+
"content": "We performed simple adversarial training of the DistilBERT model on the binary Jigsaw Toxic Comments dataset to improve the model's defence. We performed experiments with word- and sentence-based attacks, attacking both toxic messages and all messages in the dataset. In addition, we picked out only toxic messages and attacked half of them - in this scenario, the task was distinguishing attacked and non-attacked texts."
|
| 578 |
+
},
|
| 579 |
+
{
|
| 580 |
+
"type": "title",
|
| 581 |
+
"bbox": [
|
| 582 |
+
0.114,
|
| 583 |
+
0.643,
|
| 584 |
+
0.214,
|
| 585 |
+
0.658
|
| 586 |
+
],
|
| 587 |
+
"angle": 0,
|
| 588 |
+
"content": "4 Results"
|
| 589 |
+
},
|
| 590 |
+
{
|
| 591 |
+
"type": "title",
|
| 592 |
+
"bbox": [
|
| 593 |
+
0.114,
|
| 594 |
+
0.668,
|
| 595 |
+
0.215,
|
| 596 |
+
0.682
|
| 597 |
+
],
|
| 598 |
+
"angle": 0,
|
| 599 |
+
"content": "4.1 Attack"
|
| 600 |
+
},
|
| 601 |
+
{
|
| 602 |
+
"type": "text",
|
| 603 |
+
"bbox": [
|
| 604 |
+
0.113,
|
| 605 |
+
0.688,
|
| 606 |
+
0.489,
|
| 607 |
+
0.737
|
| 608 |
+
],
|
| 609 |
+
"angle": 0,
|
| 610 |
+
"content": "During a word-based attack, both prepending and appending of the positive words showed similar results, with prepending being slightly less effective."
|
| 611 |
+
},
|
| 612 |
+
{
|
| 613 |
+
"type": "text",
|
| 614 |
+
"bbox": [
|
| 615 |
+
0.113,
|
| 616 |
+
0.738,
|
| 617 |
+
0.488,
|
| 618 |
+
0.865
|
| 619 |
+
],
|
| 620 |
+
"angle": 0,
|
| 621 |
+
"content": "Appending nine words was enough to flip the prediction of almost every model. The \"SkolkovoInstitute RoBERTa\" toxicity classifier required 23 words to fall below 0.5, and \"English-abusive-MuRIL\" was still strongly predicting even after the addition of 252 words and reaching the length limit for the input. The results of selected experiments are shown in tables 1, 2 and \\(3^{1}\\)."
|
| 622 |
+
},
|
| 623 |
+
{
|
| 624 |
+
"type": "text",
|
| 625 |
+
"bbox": [
|
| 626 |
+
0.114,
|
| 627 |
+
0.866,
|
| 628 |
+
0.489,
|
| 629 |
+
0.898
|
| 630 |
+
],
|
| 631 |
+
"angle": 0,
|
| 632 |
+
"content": "The addition of the phrase \"Text for bot:\" between two parts of a text made a little difference in"
|
| 633 |
+
},
|
| 634 |
+
{
|
| 635 |
+
"type": "table",
|
| 636 |
+
"bbox": [
|
| 637 |
+
0.515,
|
| 638 |
+
0.081,
|
| 639 |
+
0.88,
|
| 640 |
+
0.264
|
| 641 |
+
],
|
| 642 |
+
"angle": 0,
|
| 643 |
+
"content": "<table><tr><td>n words</td><td>BERT</td><td>RoBERTa</td><td>ELECTRA</td></tr><tr><td>0</td><td>0,951</td><td>0,857</td><td>0,898</td></tr><tr><td>1</td><td>0,925</td><td>0,743</td><td>0,730</td></tr><tr><td>2</td><td>0,708</td><td>0,507</td><td>0,361</td></tr><tr><td>3</td><td>0,592</td><td>0,415</td><td>0,064</td></tr><tr><td>4</td><td>0,579</td><td>0,274</td><td>0,067</td></tr><tr><td>5</td><td>0,548</td><td>0,170</td><td>0,082</td></tr><tr><td>6</td><td>0,510</td><td>0,158</td><td>0,087</td></tr><tr><td>7</td><td>0,494</td><td>0,148</td><td>0,069</td></tr><tr><td>8</td><td>0,465</td><td>0,142</td><td>0,065</td></tr><tr><td>9</td><td>0,303</td><td>0,132</td><td>0,072</td></tr></table>"
|
| 644 |
+
},
|
| 645 |
+
{
|
| 646 |
+
"type": "table_caption",
|
| 647 |
+
"bbox": [
|
| 648 |
+
0.509,
|
| 649 |
+
0.273,
|
| 650 |
+
0.884,
|
| 651 |
+
0.301
|
| 652 |
+
],
|
| 653 |
+
"angle": 0,
|
| 654 |
+
"content": "Table 1: Word-based attack in English on different transformer architectures."
|
| 655 |
+
},
|
| 656 |
+
{
|
| 657 |
+
"type": "table",
|
| 658 |
+
"bbox": [
|
| 659 |
+
0.512,
|
| 660 |
+
0.316,
|
| 661 |
+
0.884,
|
| 662 |
+
0.482
|
| 663 |
+
],
|
| 664 |
+
"angle": 0,
|
| 665 |
+
"content": "<table><tr><td>n words</td><td>OpenAI S</td><td>OpenAI L</td><td>Per. API</td></tr><tr><td>1</td><td>0.643</td><td>0.946</td><td>0.899</td></tr><tr><td>...</td><td>...</td><td>...</td><td>...</td></tr><tr><td>10</td><td>0.421</td><td>0.847</td><td>0.846</td></tr><tr><td>11</td><td>0.381</td><td>0.705</td><td>0.852</td></tr><tr><td>12</td><td>0.427</td><td>0.74</td><td>0.852</td></tr><tr><td>13</td><td>0.453</td><td>0.761</td><td>0.852</td></tr><tr><td>14</td><td>0.426</td><td>0.665</td><td>0.853</td></tr><tr><td>15</td><td>0.362</td><td>0.681</td><td>0.853</td></tr><tr><td>16</td><td>0.265</td><td>0.716</td><td>0.853</td></tr></table>"
|
| 666 |
+
},
|
| 667 |
+
{
|
| 668 |
+
"type": "table_caption",
|
| 669 |
+
"bbox": [
|
| 670 |
+
0.508,
|
| 671 |
+
0.491,
|
| 672 |
+
0.884,
|
| 673 |
+
0.533
|
| 674 |
+
],
|
| 675 |
+
"angle": 0,
|
| 676 |
+
"content": "Table 2: Word-based attack in English on Perspective API and OpenAI Moderation API. Per. - perspective, S - stable, L - latest."
|
| 677 |
+
},
|
| 678 |
+
{
|
| 679 |
+
"type": "text",
|
| 680 |
+
"bbox": [
|
| 681 |
+
0.508,
|
| 682 |
+
0.561,
|
| 683 |
+
0.882,
|
| 684 |
+
0.609
|
| 685 |
+
],
|
| 686 |
+
"angle": 0,
|
| 687 |
+
"content": "the results, i.e. it can be used to create even more apparent separation without lowering an attack's efficiency."
|
| 688 |
+
},
|
| 689 |
+
{
|
| 690 |
+
"type": "text",
|
| 691 |
+
"bbox": [
|
| 692 |
+
0.508,
|
| 693 |
+
0.61,
|
| 694 |
+
0.882,
|
| 695 |
+
0.657
|
| 696 |
+
],
|
| 697 |
+
"angle": 0,
|
| 698 |
+
"content": "As expected, the results of cross-lingual attacks followed the same trend as those of monolingual ones. These results are shown in tables 4 and \\(5^{1}\\)."
|
| 699 |
+
},
|
| 700 |
+
{
|
| 701 |
+
"type": "text",
|
| 702 |
+
"bbox": [
|
| 703 |
+
0.508,
|
| 704 |
+
0.659,
|
| 705 |
+
0.882,
|
| 706 |
+
0.707
|
| 707 |
+
],
|
| 708 |
+
"angle": 0,
|
| 709 |
+
"content": "With a sentence-based attack, adding even one sentence drastically lowered the prediction scores of the models. The scores are shown in table \\(6^{1}\\)."
|
| 710 |
+
},
|
| 711 |
+
{
|
| 712 |
+
"type": "title",
|
| 713 |
+
"bbox": [
|
| 714 |
+
0.509,
|
| 715 |
+
0.72,
|
| 716 |
+
0.619,
|
| 717 |
+
0.734
|
| 718 |
+
],
|
| 719 |
+
"angle": 0,
|
| 720 |
+
"content": "4.2 Defence"
|
| 721 |
+
},
|
| 722 |
+
{
|
| 723 |
+
"type": "text",
|
| 724 |
+
"bbox": [
|
| 725 |
+
0.508,
|
| 726 |
+
0.742,
|
| 727 |
+
0.884,
|
| 728 |
+
0.821
|
| 729 |
+
],
|
| 730 |
+
"angle": 0,
|
| 731 |
+
"content": "The model's F1 measure on toxic class fell from 0.80 to 0.44 after an attack with 15 sentences and to 0.79 after an attack with 50 words. After adversarial training, the model regained its F1 measure in both cases."
|
| 732 |
+
},
|
| 733 |
+
{
|
| 734 |
+
"type": "text",
|
| 735 |
+
"bbox": [
|
| 736 |
+
0.508,
|
| 737 |
+
0.823,
|
| 738 |
+
0.885,
|
| 739 |
+
0.919
|
| 740 |
+
],
|
| 741 |
+
"angle": 0,
|
| 742 |
+
"content": "Interestingly, testing the word-trained model on sentence-attacked examples showed high precision and low recall (0.90 and 0.68, respectively). Testing the sentence-trained model on word-attacked examples showed the opposite result, with low precision and high recall (0.57 and 0.93, respectively)."
|
| 743 |
+
},
|
| 744 |
+
{
|
| 745 |
+
"type": "page_footnote",
|
| 746 |
+
"bbox": [
|
| 747 |
+
0.136,
|
| 748 |
+
0.904,
|
| 749 |
+
0.388,
|
| 750 |
+
0.919
|
| 751 |
+
],
|
| 752 |
+
"angle": 0,
|
| 753 |
+
"content": "1 Full tables can be found in Appendix A."
|
| 754 |
+
},
|
| 755 |
+
{
|
| 756 |
+
"type": "page_number",
|
| 757 |
+
"bbox": [
|
| 758 |
+
0.481,
|
| 759 |
+
0.929,
|
| 760 |
+
0.521,
|
| 761 |
+
0.941
|
| 762 |
+
],
|
| 763 |
+
"angle": 0,
|
| 764 |
+
"content": "2364"
|
| 765 |
+
}
|
| 766 |
+
],
|
| 767 |
+
[
|
| 768 |
+
{
|
| 769 |
+
"type": "table",
|
| 770 |
+
"bbox": [
|
| 771 |
+
0.124,
|
| 772 |
+
0.082,
|
| 773 |
+
0.478,
|
| 774 |
+
0.263
|
| 775 |
+
],
|
| 776 |
+
"angle": 0,
|
| 777 |
+
"content": "<table><tr><td>n words</td><td>Vietnamese</td><td>French</td><td>Turkish</td></tr><tr><td>0</td><td>0,996</td><td>0,970</td><td>0,814</td></tr><tr><td>1</td><td>0,008</td><td>0,962</td><td>0,186</td></tr><tr><td>2</td><td>0,007</td><td>0,573</td><td>0,503</td></tr><tr><td>3</td><td>0,008</td><td>0,396</td><td>0,043</td></tr><tr><td>4</td><td>0,009</td><td>0,090</td><td>0,048</td></tr><tr><td>5</td><td>0,008</td><td>0,054</td><td>0,085</td></tr><tr><td>6</td><td>0,007</td><td>0,055</td><td>0,090</td></tr><tr><td>7</td><td>0,007</td><td>0,064</td><td>0,029</td></tr><tr><td>8</td><td>0,007</td><td>0,082</td><td>0,009</td></tr><tr><td>9</td><td>0,007</td><td>0,045</td><td>0,005</td></tr></table>"
|
| 778 |
+
},
|
| 779 |
+
{
|
| 780 |
+
"type": "table_caption",
|
| 781 |
+
"bbox": [
|
| 782 |
+
0.114,
|
| 783 |
+
0.273,
|
| 784 |
+
0.49,
|
| 785 |
+
0.318
|
| 786 |
+
],
|
| 787 |
+
"angle": 0,
|
| 788 |
+
"content": "Table 3: Word-based attack on transformer-based language models trained on the languages from three different language families."
|
| 789 |
+
},
|
| 790 |
+
{
|
| 791 |
+
"type": "table",
|
| 792 |
+
"bbox": [
|
| 793 |
+
0.117,
|
| 794 |
+
0.329,
|
| 795 |
+
0.449,
|
| 796 |
+
0.511
|
| 797 |
+
],
|
| 798 |
+
"angle": 0,
|
| 799 |
+
"content": "<table><tr><td>n words</td><td>eng+tur</td><td>eng+rus</td><td>eng+sp</td></tr><tr><td>0</td><td>0,971</td><td>0,971</td><td>0,971</td></tr><tr><td>1</td><td>0,913</td><td>0,717</td><td>0,802</td></tr><tr><td>2</td><td>0,904</td><td>0,717</td><td>0,687</td></tr><tr><td>3</td><td>0,912</td><td>0,761</td><td>0,536</td></tr><tr><td>4</td><td>0,541</td><td>0,800</td><td>0,558</td></tr><tr><td>5</td><td>0,634</td><td>0,592</td><td>0,500</td></tr><tr><td>6</td><td>0,731</td><td>0,456</td><td>0,539</td></tr><tr><td>7</td><td>0,604</td><td>0,402</td><td>0,426</td></tr><tr><td>8</td><td>0,519</td><td>0,433</td><td>0,434</td></tr><tr><td>9</td><td>0,455</td><td>0,369</td><td>0,384</td></tr></table>"
|
| 800 |
+
},
|
| 801 |
+
{
|
| 802 |
+
"type": "table_caption",
|
| 803 |
+
"bbox": [
|
| 804 |
+
0.114,
|
| 805 |
+
0.521,
|
| 806 |
+
0.487,
|
| 807 |
+
0.549
|
| 808 |
+
],
|
| 809 |
+
"angle": 0,
|
| 810 |
+
"content": "Table 4: Cross-lingual word-based attack on toxicity detection models."
|
| 811 |
+
},
|
| 812 |
+
{
|
| 813 |
+
"type": "text",
|
| 814 |
+
"bbox": [
|
| 815 |
+
0.113,
|
| 816 |
+
0.575,
|
| 817 |
+
0.489,
|
| 818 |
+
0.721
|
| 819 |
+
],
|
| 820 |
+
"angle": 0,
|
| 821 |
+
"content": "The defence performed strongly, achieving an F1 score of 0.82 on binary toxic classification with word- and sentence-based attacks. The model achieved the same score on a non-attacked dataset, succeeding even better in distinguishing attacked sentences, with an F1 score of 0.99. However, defence models must be built for both word- and sentence-based attacks, as one single model will not work perfectly for both scenarios."
|
| 822 |
+
},
|
| 823 |
+
{
|
| 824 |
+
"type": "title",
|
| 825 |
+
"bbox": [
|
| 826 |
+
0.114,
|
| 827 |
+
0.733,
|
| 828 |
+
0.242,
|
| 829 |
+
0.748
|
| 830 |
+
],
|
| 831 |
+
"angle": 0,
|
| 832 |
+
"content": "5 Discussion"
|
| 833 |
+
},
|
| 834 |
+
{
|
| 835 |
+
"type": "text",
|
| 836 |
+
"bbox": [
|
| 837 |
+
0.113,
|
| 838 |
+
0.759,
|
| 839 |
+
0.489,
|
| 840 |
+
0.839
|
| 841 |
+
],
|
| 842 |
+
"angle": 0,
|
| 843 |
+
"content": "All of the attack variants showed decent results in confusing toxicity detection models in every model tested (to varying degrees). The simplistic nature of such attacks could allow virtually any Internet user to exploit them to avoid automoderation systems."
|
| 844 |
+
},
|
| 845 |
+
{
|
| 846 |
+
"type": "text",
|
| 847 |
+
"bbox": [
|
| 848 |
+
0.113,
|
| 849 |
+
0.84,
|
| 850 |
+
0.49,
|
| 851 |
+
0.919
|
| 852 |
+
],
|
| 853 |
+
"angle": 0,
|
| 854 |
+
"content": "A possible countermeasure for this type of attack is adversarial training or rule-based filtering. However, a simple rule-based filter can be fooled by char-level adversarial attacks, and adversarial training can be made much more difficult by in"
|
| 855 |
+
},
|
| 856 |
+
{
|
| 857 |
+
"type": "table",
|
| 858 |
+
"bbox": [
|
| 859 |
+
0.512,
|
| 860 |
+
0.082,
|
| 861 |
+
0.885,
|
| 862 |
+
0.263
|
| 863 |
+
],
|
| 864 |
+
"angle": 0,
|
| 865 |
+
"content": "<table><tr><td>n</td><td>L en+fr</td><td>L en+ger</td><td>S en+fr</td><td>S en+ger</td></tr><tr><td>0</td><td>0.872</td><td>0.872</td><td>0.888</td><td>0.888</td></tr><tr><td>1</td><td>0.931</td><td>0.981</td><td>0.793</td><td>0.848</td></tr><tr><td>2</td><td>0.895</td><td>0.898</td><td>0.779</td><td>0.510</td></tr><tr><td>3</td><td>0.769</td><td>0.889</td><td>0.671</td><td>0.511</td></tr><tr><td>4</td><td>0.816</td><td>0.846</td><td>0.594</td><td>0.344</td></tr><tr><td>5</td><td>0.771</td><td>0.807</td><td>0.606</td><td>0.302</td></tr><tr><td>6</td><td>0.800</td><td>0.647</td><td>0.618</td><td>0.318</td></tr><tr><td>7</td><td>0.659</td><td>0.533</td><td>0.605</td><td>0.201</td></tr><tr><td>8</td><td>0.592</td><td>0.555</td><td>0.573</td><td>0.208</td></tr><tr><td>9</td><td>0.579</td><td>0.489</td><td>0.424</td><td>0.283</td></tr></table>"
|
| 866 |
+
},
|
| 867 |
+
{
|
| 868 |
+
"type": "table_caption",
|
| 869 |
+
"bbox": [
|
| 870 |
+
0.509,
|
| 871 |
+
0.273,
|
| 872 |
+
0.883,
|
| 873 |
+
0.302
|
| 874 |
+
],
|
| 875 |
+
"angle": 0,
|
| 876 |
+
"content": "Table 5: The results of cross-lingual attacks on OpenAI models. n - number of words added, L - latest, S - stable."
|
| 877 |
+
},
|
| 878 |
+
{
|
| 879 |
+
"type": "table",
|
| 880 |
+
"bbox": [
|
| 881 |
+
0.512,
|
| 882 |
+
0.317,
|
| 883 |
+
0.9,
|
| 884 |
+
0.384
|
| 885 |
+
],
|
| 886 |
+
"angle": 0,
|
| 887 |
+
"content": "<table><tr><td>n sentences</td><td>BERT</td><td>RoBERTa</td><td>ELECTRA</td></tr><tr><td>0</td><td>0,590</td><td>0,962</td><td>0,898</td></tr><tr><td>1</td><td>0,001</td><td>0,001</td><td>0,232</td></tr><tr><td>2</td><td>0,001</td><td>0,002</td><td>0,147</td></tr></table>"
|
| 888 |
+
},
|
| 889 |
+
{
|
| 890 |
+
"type": "table_caption",
|
| 891 |
+
"bbox": [
|
| 892 |
+
0.549,
|
| 893 |
+
0.394,
|
| 894 |
+
0.842,
|
| 895 |
+
0.408
|
| 896 |
+
],
|
| 897 |
+
"angle": 0,
|
| 898 |
+
"content": "Table 6: Results of sentence-based attacks."
|
| 899 |
+
},
|
| 900 |
+
{
|
| 901 |
+
"type": "text",
|
| 902 |
+
"bbox": [
|
| 903 |
+
0.508,
|
| 904 |
+
0.435,
|
| 905 |
+
0.882,
|
| 906 |
+
0.466
|
| 907 |
+
],
|
| 908 |
+
"angle": 0,
|
| 909 |
+
"content": "creasing the quality and quantity of the possible text insertions."
|
| 910 |
+
},
|
| 911 |
+
{
|
| 912 |
+
"type": "text",
|
| 913 |
+
"bbox": [
|
| 914 |
+
0.508,
|
| 915 |
+
0.469,
|
| 916 |
+
0.882,
|
| 917 |
+
0.515
|
| 918 |
+
],
|
| 919 |
+
"angle": 0,
|
| 920 |
+
"content": "The complex approach, which covers all levels of perturbation, should be applied both in attack and defence real-life scenarios."
|
| 921 |
+
},
|
| 922 |
+
{
|
| 923 |
+
"type": "title",
|
| 924 |
+
"bbox": [
|
| 925 |
+
0.509,
|
| 926 |
+
0.53,
|
| 927 |
+
0.642,
|
| 928 |
+
0.545
|
| 929 |
+
],
|
| 930 |
+
"angle": 0,
|
| 931 |
+
"content": "6 Conclusion"
|
| 932 |
+
},
|
| 933 |
+
{
|
| 934 |
+
"type": "text",
|
| 935 |
+
"bbox": [
|
| 936 |
+
0.508,
|
| 937 |
+
0.557,
|
| 938 |
+
0.884,
|
| 939 |
+
0.62
|
| 940 |
+
],
|
| 941 |
+
"angle": 0,
|
| 942 |
+
"content": "In this paper, we demonstrated a novel and effective way of bypassing toxicity detection models by appending positive words or sentences to the end of a toxic message."
|
| 943 |
+
},
|
| 944 |
+
{
|
| 945 |
+
"type": "text",
|
| 946 |
+
"bbox": [
|
| 947 |
+
0.508,
|
| 948 |
+
0.622,
|
| 949 |
+
0.884,
|
| 950 |
+
0.734
|
| 951 |
+
],
|
| 952 |
+
"angle": 0,
|
| 953 |
+
"content": "The introduced concept of the \"To Each His Own\" attack is based on the idea of separating the messages addressed to a human and those addressed to an algorithm. The attack exploits the fact that the toxicity detection models are trained on sentence-level labels and do not consider the context or the intention of messages."
|
| 954 |
+
},
|
| 955 |
+
{
|
| 956 |
+
"type": "text",
|
| 957 |
+
"bbox": [
|
| 958 |
+
0.508,
|
| 959 |
+
0.735,
|
| 960 |
+
0.883,
|
| 961 |
+
0.848
|
| 962 |
+
],
|
| 963 |
+
"angle": 0,
|
| 964 |
+
"content": "The described attack in all its variants can be easily used on almost any toxic-detection neural model, with fairly good results. For future research, we suggest looking for a more sophisticated way of constructing insertions, perhaps with respect to the original message, making it a semantically correct addition to human-written messages."
|
| 965 |
+
},
|
| 966 |
+
{
|
| 967 |
+
"type": "title",
|
| 968 |
+
"bbox": [
|
| 969 |
+
0.509,
|
| 970 |
+
0.861,
|
| 971 |
+
0.704,
|
| 972 |
+
0.877
|
| 973 |
+
],
|
| 974 |
+
"angle": 0,
|
| 975 |
+
"content": "7 Acknowledgments"
|
| 976 |
+
},
|
| 977 |
+
{
|
| 978 |
+
"type": "text",
|
| 979 |
+
"bbox": [
|
| 980 |
+
0.508,
|
| 981 |
+
0.888,
|
| 982 |
+
0.882,
|
| 983 |
+
0.918
|
| 984 |
+
],
|
| 985 |
+
"angle": 0,
|
| 986 |
+
"content": "We thank all the volunteers who helped us with translations."
|
| 987 |
+
},
|
| 988 |
+
{
|
| 989 |
+
"type": "page_number",
|
| 990 |
+
"bbox": [
|
| 991 |
+
0.481,
|
| 992 |
+
0.929,
|
| 993 |
+
0.521,
|
| 994 |
+
0.941
|
| 995 |
+
],
|
| 996 |
+
"angle": 0,
|
| 997 |
+
"content": "2365"
|
| 998 |
+
}
|
| 999 |
+
],
|
| 1000 |
+
[
|
| 1001 |
+
{
|
| 1002 |
+
"type": "text",
|
| 1003 |
+
"bbox": [
|
| 1004 |
+
0.113,
|
| 1005 |
+
0.085,
|
| 1006 |
+
0.49,
|
| 1007 |
+
0.18
|
| 1008 |
+
],
|
| 1009 |
+
"angle": 0,
|
| 1010 |
+
"content": "We are grateful to the reviewers and the program chair of the EMNLP conference for providing constructive feedback, suggesting additional experiments and providing different points of view. This helped us structure the paper and ensure the robustness of our results."
|
| 1011 |
+
},
|
| 1012 |
+
{
|
| 1013 |
+
"type": "text",
|
| 1014 |
+
"bbox": [
|
| 1015 |
+
0.113,
|
| 1016 |
+
0.182,
|
| 1017 |
+
0.49,
|
| 1018 |
+
0.309
|
| 1019 |
+
],
|
| 1020 |
+
"angle": 0,
|
| 1021 |
+
"content": "Sergey Berezin wishes to record that he is grateful to Mr. Mario Fritz from Saarland University for the introduction to the domain of adversarial attacks through his insightful course on this topic. He is also grateful to Mr. Maxime Amblard from the University of Lorraine for encouraging him to pursue research in this direction and validating his ideas."
|
| 1022 |
+
},
|
| 1023 |
+
{
|
| 1024 |
+
"type": "title",
|
| 1025 |
+
"bbox": [
|
| 1026 |
+
0.115,
|
| 1027 |
+
0.336,
|
| 1028 |
+
0.214,
|
| 1029 |
+
0.351
|
| 1030 |
+
],
|
| 1031 |
+
"angle": 0,
|
| 1032 |
+
"content": "References"
|
| 1033 |
+
},
|
| 1034 |
+
{
|
| 1035 |
+
"type": "ref_text",
|
| 1036 |
+
"bbox": [
|
| 1037 |
+
0.116,
|
| 1038 |
+
0.358,
|
| 1039 |
+
0.49,
|
| 1040 |
+
0.464
|
| 1041 |
+
],
|
| 1042 |
+
"angle": 0,
|
| 1043 |
+
"content": "Lu Cheng, Ahmadreza Mosallanezhad, Yasin N. Silva, Deborah L. Hall, and Huan Liu. 2022. Bias mitigation for toxicity detection via sequential decisions. In Proceedings of the 45th International ACM SIGIR Conference on Research and Development in Information Retrieval, SIGIR '22, page 1750-1760, New York, NY, USA. Association for Computing Machinery."
|
| 1044 |
+
},
|
| 1045 |
+
{
|
| 1046 |
+
"type": "ref_text",
|
| 1047 |
+
"bbox": [
|
| 1048 |
+
0.117,
|
| 1049 |
+
0.471,
|
| 1050 |
+
0.49,
|
| 1051 |
+
0.536
|
| 1052 |
+
],
|
| 1053 |
+
"angle": 0,
|
| 1054 |
+
"content": "Robert Gorwa, Reuben Binns, and Christian Katzenbach. 2020. Algorithmic content moderation: Technical and political challenges in the automation of platform governance. *Big Data Society*, 7:205395171989794."
|
| 1055 |
+
},
|
| 1056 |
+
{
|
| 1057 |
+
"type": "ref_text",
|
| 1058 |
+
"bbox": [
|
| 1059 |
+
0.117,
|
| 1060 |
+
0.545,
|
| 1061 |
+
0.49,
|
| 1062 |
+
0.599
|
| 1063 |
+
],
|
| 1064 |
+
"angle": 0,
|
| 1065 |
+
"content": "Tommi Gröndahl, Luca Pajola, Mika Juuti, Mauro Conti, and N. Asokan. 2018. All you need is \"love\": Evading hate speech detection. AIsec '18, New York, NY, USA. Association for Computing Machinery."
|
| 1066 |
+
},
|
| 1067 |
+
{
|
| 1068 |
+
"type": "ref_text",
|
| 1069 |
+
"bbox": [
|
| 1070 |
+
0.117,
|
| 1071 |
+
0.606,
|
| 1072 |
+
0.489,
|
| 1073 |
+
0.645
|
| 1074 |
+
],
|
| 1075 |
+
"angle": 0,
|
| 1076 |
+
"content": "Robin Jia and Percy Liang. 2017. Adversarial examples for evaluating reading comprehension systems. pages 2021-2031."
|
| 1077 |
+
},
|
| 1078 |
+
{
|
| 1079 |
+
"type": "ref_text",
|
| 1080 |
+
"bbox": [
|
| 1081 |
+
0.117,
|
| 1082 |
+
0.653,
|
| 1083 |
+
0.49,
|
| 1084 |
+
0.706
|
| 1085 |
+
],
|
| 1086 |
+
"angle": 0,
|
| 1087 |
+
"content": "Eric Wallace, Shi Feng, Nikhil Kandpal, Matt Gardner, and Sameer Singh. 2019. Universal adversarial triggers for attacking and analyzing nlp. pages 2153-2162."
|
| 1088 |
+
},
|
| 1089 |
+
{
|
| 1090 |
+
"type": "ref_text",
|
| 1091 |
+
"bbox": [
|
| 1092 |
+
0.117,
|
| 1093 |
+
0.714,
|
| 1094 |
+
0.49,
|
| 1095 |
+
0.807
|
| 1096 |
+
],
|
| 1097 |
+
"angle": 0,
|
| 1098 |
+
"content": "Boxin Wang, Hengzhi Pei, Boyuan Pan, Qian Chen, Shuohang Wang, and Bo Li. 2020. T3: Treeautoencoder constrained adversarial text generation for targeted attack. In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP), pages 6134-6150, Online. Association for Computational Linguistics."
|
| 1099 |
+
},
|
| 1100 |
+
{
|
| 1101 |
+
"type": "ref_text",
|
| 1102 |
+
"bbox": [
|
| 1103 |
+
0.117,
|
| 1104 |
+
0.814,
|
| 1105 |
+
0.49,
|
| 1106 |
+
0.92
|
| 1107 |
+
],
|
| 1108 |
+
"angle": 0,
|
| 1109 |
+
"content": "Yicheng Wang and Mohit Bansal. 2018. Robust machine comprehension models via adversarial training. 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 575-581, New Orleans, Louisiana. Association for Computational Linguistics."
|
| 1110 |
+
},
|
| 1111 |
+
{
|
| 1112 |
+
"type": "list",
|
| 1113 |
+
"bbox": [
|
| 1114 |
+
0.116,
|
| 1115 |
+
0.358,
|
| 1116 |
+
0.49,
|
| 1117 |
+
0.92
|
| 1118 |
+
],
|
| 1119 |
+
"angle": 0,
|
| 1120 |
+
"content": null
|
| 1121 |
+
},
|
| 1122 |
+
{
|
| 1123 |
+
"type": "text",
|
| 1124 |
+
"bbox": [
|
| 1125 |
+
0.511,
|
| 1126 |
+
0.085,
|
| 1127 |
+
0.885,
|
| 1128 |
+
0.14
|
| 1129 |
+
],
|
| 1130 |
+
"angle": 0,
|
| 1131 |
+
"content": "Wei Emma Zhang, Quan Z. Sheng, Ahoud Alhazmi, and Chenliang Li. 2020. Adversarial attacks on deep-learning models in natural language processing: A survey. ACM Trans. Intell. Syst. Technol., 11(3)."
|
| 1132 |
+
},
|
| 1133 |
+
{
|
| 1134 |
+
"type": "title",
|
| 1135 |
+
"bbox": [
|
| 1136 |
+
0.51,
|
| 1137 |
+
0.152,
|
| 1138 |
+
0.655,
|
| 1139 |
+
0.169
|
| 1140 |
+
],
|
| 1141 |
+
"angle": 0,
|
| 1142 |
+
"content": "A Appendix A"
|
| 1143 |
+
},
|
| 1144 |
+
{
|
| 1145 |
+
"type": "page_number",
|
| 1146 |
+
"bbox": [
|
| 1147 |
+
0.481,
|
| 1148 |
+
0.929,
|
| 1149 |
+
0.522,
|
| 1150 |
+
0.941
|
| 1151 |
+
],
|
| 1152 |
+
"angle": 0,
|
| 1153 |
+
"content": "2366"
|
| 1154 |
+
}
|
| 1155 |
+
],
|
| 1156 |
+
[
|
| 1157 |
+
{
|
| 1158 |
+
"type": "table",
|
| 1159 |
+
"bbox": [
|
| 1160 |
+
0.137,
|
| 1161 |
+
0.217,
|
| 1162 |
+
0.861,
|
| 1163 |
+
0.755
|
| 1164 |
+
],
|
| 1165 |
+
"angle": 0,
|
| 1166 |
+
"content": "<table><tr><td>n words</td><td>BERT</td><td>roberta-base</td><td>xlm-roberta-base</td><td>toxigen-roberta</td><td>toxigen-hatebert</td></tr><tr><td>0</td><td>0,95</td><td>0,86</td><td>0,97</td><td>0,96</td><td>0,88</td></tr><tr><td>1</td><td>0,93</td><td>0,74</td><td>0,89</td><td>0,96</td><td>1,00</td></tr><tr><td>2</td><td>0,71</td><td>0,51</td><td>0,65</td><td>0,71</td><td>0,98</td></tr><tr><td>3</td><td>0,59</td><td>0,42</td><td>0,63</td><td>0,59</td><td>0,98</td></tr><tr><td>4</td><td>0,58</td><td>0,27</td><td>0,56</td><td>0,02</td><td>0,11</td></tr><tr><td>5</td><td>0,55</td><td>0,17</td><td>0,53</td><td>0,00</td><td>0,07</td></tr><tr><td>6</td><td>0,51</td><td>0,16</td><td>0,41</td><td>0,00</td><td>0,02</td></tr><tr><td>7</td><td>0,49</td><td>0,15</td><td>0,55</td><td>0,00</td><td>0,31</td></tr><tr><td>8</td><td>0,47</td><td>0,14</td><td>0,45</td><td>0,00</td><td>0,39</td></tr><tr><td>9</td><td>0,30</td><td>0,13</td><td>0,41</td><td>0,00</td><td>0,06</td></tr><tr><td>n words</td><td>roberta skolkovo</td><td>roberta facebook</td><td>MuRIL</td><td>MuRIL*</td><td>electra-hateXplain</td></tr><tr><td>0</td><td>1,00</td><td>1,00</td><td>0,13</td><td>0,96</td><td>0,90</td></tr><tr><td>1</td><td>1,00</td><td>1,00</td><td>0,10</td><td>0,95</td><td>0,73</td></tr><tr><td>2</td><td>0,99</td><td>1,00</td><td>0,03</td><td>0,94</td><td>0,36</td></tr><tr><td>3</td><td>0,92</td><td>1,00</td><td>0,01</td><td>0,92</td><td>0,06</td></tr><tr><td>4</td><td>0,98</td><td>1,00</td><td>0,01</td><td>0,92</td><td>0,07</td></tr><tr><td>5</td><td>0,98</td><td>1,00</td><td>0,01</td><td>0,92</td><td>0,08</td></tr><tr><td>6</td><td>0,99</td><td>1,00</td><td>0,03</td><td>0,94</td><td>0,09</td></tr><tr><td>7</td><td>0,99</td><td>1,00</td><td>0,01</td><td>0,93</td><td>0,07</td></tr><tr><td>8</td><td>0,99</td><td>0,03</td><td>0,01</td><td>0,91</td><td>0,07</td></tr><tr><td>9</td><td>0,98</td><td>0,59</td><td>0,01</td><td>0,89</td><td>0,07</td></tr><tr><td></td><td colspan=\"2\">n words multi-MuRIL</td><td>BERT-movies</td><td>DistilBERT</td><td>DistilBERT*</td></tr><tr><td></td><td>0</td><td>0,74</td><td>0,32</td><td>0,07</td><td>0,95</td></tr><tr><td></td><td>1</td><td>0,63</td><td>0,13</td><td>0,01</td><td>0,45</td></tr><tr><td></td><td>2</td><td>0,19</td><td>0,10</td><td>0,01</td><td>0,17</td></tr><tr><td></td><td>3</td><td>0,01</td><td>0,12</td><td>0,01</td><td>0,14</td></tr><tr><td></td><td>4</td><td>0,02</td><td>0,08</td><td>0,00</td><td>0,11</td></tr><tr><td></td><td>5</td><td>0,12</td><td>0,10</td><td>0,03</td><td>0,16</td></tr><tr><td></td><td>6</td><td>0,44</td><td>0,09</td><td>0,03</td><td>0,22</td></tr><tr><td></td><td>7</td><td>0,35</td><td>0,07</td><td>0,02</td><td>0,17</td></tr><tr><td></td><td>8</td><td>0,31</td><td>0,06</td><td>0,01</td><td>0,09</td></tr><tr><td></td><td>9</td><td>0,25</td><td>0,04</td><td>0,01</td><td>0,08</td></tr></table>"
|
| 1167 |
+
},
|
| 1168 |
+
{
|
| 1169 |
+
"type": "table_caption",
|
| 1170 |
+
"bbox": [
|
| 1171 |
+
0.182,
|
| 1172 |
+
0.765,
|
| 1173 |
+
0.813,
|
| 1174 |
+
0.78
|
| 1175 |
+
],
|
| 1176 |
+
"angle": 0,
|
| 1177 |
+
"content": "Table 7: Word-based attack in English on different transformer architectures - extended table."
|
| 1178 |
+
},
|
| 1179 |
+
{
|
| 1180 |
+
"type": "page_number",
|
| 1181 |
+
"bbox": [
|
| 1182 |
+
0.481,
|
| 1183 |
+
0.929,
|
| 1184 |
+
0.52,
|
| 1185 |
+
0.941
|
| 1186 |
+
],
|
| 1187 |
+
"angle": 0,
|
| 1188 |
+
"content": "2367"
|
| 1189 |
+
}
|
| 1190 |
+
],
|
| 1191 |
+
[
|
| 1192 |
+
{
|
| 1193 |
+
"type": "table",
|
| 1194 |
+
"bbox": [
|
| 1195 |
+
0.144,
|
| 1196 |
+
0.159,
|
| 1197 |
+
0.856,
|
| 1198 |
+
0.555
|
| 1199 |
+
],
|
| 1200 |
+
"angle": 0,
|
| 1201 |
+
"content": "<table><tr><td>n words</td><td>Vietnamese</td><td>French</td><td colspan=\"2\">German</td><td>Spanish</td><td>Spanish</td></tr><tr><td></td><td>PhoBERT</td><td>detoxify-fr</td><td colspan=\"2\">BERT-GermEval18Coarse</td><td>dehatebert</td><td>detoxify-sp</td></tr><tr><td>0</td><td>0,996</td><td>0,749</td><td colspan=\"2\">0,819</td><td>0,970</td><td>0,943</td></tr><tr><td>1</td><td>0,008</td><td>0,834</td><td colspan=\"2\">0,531</td><td>0,962</td><td>0,645</td></tr><tr><td>2</td><td>0,007</td><td>0,812</td><td colspan=\"2\">0,432</td><td>0,573</td><td>0,654</td></tr><tr><td>3</td><td>0,008</td><td>0,757</td><td colspan=\"2\">0,305</td><td>0,396</td><td>0,583</td></tr><tr><td>4</td><td>0,009</td><td>0,735</td><td colspan=\"2\">0,383</td><td>0,090</td><td>0,463</td></tr><tr><td>5</td><td>0,008</td><td>0,652</td><td colspan=\"2\">0,392</td><td>0,054</td><td>0,444</td></tr><tr><td>6</td><td>0,007</td><td>0,515</td><td colspan=\"2\">0,360</td><td>0,055</td><td>0,334</td></tr><tr><td>7</td><td>0,007</td><td>0,415</td><td colspan=\"2\">0,438</td><td>0,064</td><td>0,247</td></tr><tr><td>8</td><td>0,007</td><td>0,486</td><td colspan=\"2\">0,484</td><td>0,082</td><td>0,244</td></tr><tr><td>9</td><td>0,007</td><td>0,511</td><td colspan=\"2\">0,422</td><td>0,045</td><td>0,244</td></tr><tr><td>n words</td><td>Portuguese</td><td>Portuguese</td><td>Turkish</td><td>Russian</td><td>Russian</td><td>Russian</td></tr><tr><td></td><td>dehatebert</td><td>detoxify</td><td>detoxify-tur</td><td>Skolkovo</td><td>rubert-toxic</td><td>detoxify-ru</td></tr><tr><td>0</td><td>0,591</td><td>0,983</td><td>0,977</td><td>0,814</td><td>0,689</td><td>0,973</td></tr><tr><td>1</td><td>0,614</td><td>0,887</td><td>0,812</td><td>0,186</td><td>0,360</td><td>0,863</td></tr><tr><td>2</td><td>0,587</td><td>0,794</td><td>0,841</td><td>0,503</td><td>0,042</td><td>0,834</td></tr><tr><td>3</td><td>0,489</td><td>0,709</td><td>0,735</td><td>0,043</td><td>0,037</td><td>0,817</td></tr><tr><td>4</td><td>0,473</td><td>0,637</td><td>0,767</td><td>0,048</td><td>0,028</td><td>0,817</td></tr><tr><td>5</td><td>0,410</td><td>0,663</td><td>0,745</td><td>0,085</td><td>0,039</td><td>0,684</td></tr><tr><td>6</td><td>0,406</td><td>0,496</td><td>0,752</td><td>0,090</td><td>0,050</td><td>0,503</td></tr><tr><td>7</td><td>0,418</td><td>0,327</td><td>0,673</td><td>0,029</td><td>0,044</td><td>0,534</td></tr><tr><td>8</td><td>0,434</td><td>0,332</td><td>0,649</td><td>0,009</td><td>0,042</td><td>0,514</td></tr><tr><td>9</td><td>0,447</td><td>0,354</td><td>0,622</td><td>0,005</td><td>0,052</td><td>0,414</td></tr></table>"
|
| 1202 |
+
},
|
| 1203 |
+
{
|
| 1204 |
+
"type": "table_caption",
|
| 1205 |
+
"bbox": [
|
| 1206 |
+
0.171,
|
| 1207 |
+
0.564,
|
| 1208 |
+
0.825,
|
| 1209 |
+
0.579
|
| 1210 |
+
],
|
| 1211 |
+
"angle": 0,
|
| 1212 |
+
"content": "Table 8: Word-based attack on languages from three different language families - extended table."
|
| 1213 |
+
},
|
| 1214 |
+
{
|
| 1215 |
+
"type": "table",
|
| 1216 |
+
"bbox": [
|
| 1217 |
+
0.131,
|
| 1218 |
+
0.743,
|
| 1219 |
+
0.869,
|
| 1220 |
+
0.813
|
| 1221 |
+
],
|
| 1222 |
+
"angle": 0,
|
| 1223 |
+
"content": "<table><tr><td>n</td><td>toxigen-rob.</td><td>Skolkovo rob.</td><td>hatebert</td><td>MuRIL</td><td>electra-hateXplain</td><td>Multi-MuRIL</td></tr><tr><td>0</td><td>0,962</td><td>0,999</td><td>0,590</td><td>0,126</td><td>0,898</td><td>0,737</td></tr><tr><td>1</td><td>0,001</td><td>0,002</td><td>0,001</td><td>0,022</td><td>0,232</td><td>0,160</td></tr><tr><td>2</td><td>0,002</td><td>0,001</td><td>0,001</td><td>0,017</td><td>0,147</td><td>0,091</td></tr></table>"
|
| 1224 |
+
},
|
| 1225 |
+
{
|
| 1226 |
+
"type": "table_caption",
|
| 1227 |
+
"bbox": [
|
| 1228 |
+
0.146,
|
| 1229 |
+
0.822,
|
| 1230 |
+
0.848,
|
| 1231 |
+
0.835
|
| 1232 |
+
],
|
| 1233 |
+
"angle": 0,
|
| 1234 |
+
"content": "Table 9: Results of sentence-based attack - extended table. n - number of added sentences, rob - roberta."
|
| 1235 |
+
},
|
| 1236 |
+
{
|
| 1237 |
+
"type": "page_number",
|
| 1238 |
+
"bbox": [
|
| 1239 |
+
0.481,
|
| 1240 |
+
0.929,
|
| 1241 |
+
0.521,
|
| 1242 |
+
0.941
|
| 1243 |
+
],
|
| 1244 |
+
"angle": 0,
|
| 1245 |
+
"content": "2368"
|
| 1246 |
+
}
|
| 1247 |
+
],
|
| 1248 |
+
[
|
| 1249 |
+
{
|
| 1250 |
+
"type": "table",
|
| 1251 |
+
"bbox": [
|
| 1252 |
+
0.126,
|
| 1253 |
+
0.266,
|
| 1254 |
+
0.873,
|
| 1255 |
+
0.691
|
| 1256 |
+
],
|
| 1257 |
+
"angle": 0,
|
| 1258 |
+
"content": "<table><tr><td>n words</td><td colspan=\"2\">rus + eng 1</td><td>rus + eng 2</td><td>rus + sp</td><td>rus + fr</td><td>rus + ge</td></tr><tr><td></td><td colspan=\"2\">SkolkovoInstitute/ Russian_toxicity_classifier</td><td>rubert-toxic- pikabu-2ch</td><td>rubert-toxic- pikabu-2ch</td><td>rubert-toxic- pikabu-2ch</td><td>rubert-toxic- pikabu-2ch</td></tr><tr><td>0</td><td colspan=\"2\">0,814</td><td>0,689</td><td>0,689</td><td>0,689</td><td>0,689</td></tr><tr><td>1</td><td colspan=\"2\">0,498</td><td>0,252</td><td>0,326</td><td>0,608</td><td>0,263</td></tr><tr><td>2</td><td colspan=\"2\">0,290</td><td>0,141</td><td>0,186</td><td>0,288</td><td>0,247</td></tr><tr><td>3</td><td colspan=\"2\">0,754</td><td>0,122</td><td>0,259</td><td>0,291</td><td>0,296</td></tr><tr><td>4</td><td colspan=\"2\">0,707</td><td>0,131</td><td>0,349</td><td>0,237</td><td>0,284</td></tr><tr><td>5</td><td colspan=\"2\">0,743</td><td>0,441</td><td>0,423</td><td>0,236</td><td>0,403</td></tr><tr><td>6</td><td colspan=\"2\">0,749</td><td>0,527</td><td>0,190</td><td>0,196</td><td>0,244</td></tr><tr><td>7</td><td colspan=\"2\">0,576</td><td>0,206</td><td>0,082</td><td>0,237</td><td>0,296</td></tr><tr><td>8</td><td colspan=\"2\">0,382</td><td>0,357</td><td>0,116</td><td>0,180</td><td>0,281</td></tr><tr><td>9</td><td colspan=\"2\">0,467</td><td>0,356</td><td>0,109</td><td>0,226</td><td>0,290</td></tr><tr><td>n words</td><td>eng + tur</td><td>eng + rus</td><td>eng+sp 1</td><td>eng+sp 2</td><td colspan=\"2\">eng+sp 3</td></tr><tr><td></td><td>Detoxify</td><td>Detoxify</td><td>Detoxify</td><td>electra-base-hateXplain base-hateXplain</td><td colspan=\"2\">indic-abusive-allInOne-MuRIL</td></tr><tr><td>0</td><td>0,971</td><td>0,971</td><td>0,971</td><td>0,898</td><td colspan=\"2\">0,737</td></tr><tr><td>1</td><td>0,913</td><td>0,717</td><td>0,802</td><td>0,574</td><td colspan=\"2\">0,724</td></tr><tr><td>2</td><td>0,904</td><td>0,717</td><td>0,687</td><td>0,912</td><td colspan=\"2\">0,454</td></tr><tr><td>3</td><td>0,912</td><td>0,761</td><td>0,536</td><td>0,471</td><td colspan=\"2\">0,590</td></tr><tr><td>4</td><td>0,541</td><td>0,800</td><td>0,558</td><td>0,340</td><td colspan=\"2\">0,574</td></tr><tr><td>5</td><td>0,634</td><td>0,592</td><td>0,500</td><td>0,270</td><td colspan=\"2\">0,668</td></tr><tr><td>6</td><td>0,731</td><td>0,456</td><td>0,539</td><td>0,216</td><td colspan=\"2\">0,579</td></tr><tr><td>7</td><td>0,604</td><td>0,402</td><td>0,426</td><td>0,226</td><td colspan=\"2\">0,508</td></tr><tr><td>8</td><td>0,519</td><td>0,433</td><td>0,434</td><td>0,212</td><td colspan=\"2\">0,290</td></tr><tr><td>9</td><td>0,455</td><td>0,369</td><td>0,384</td><td>0,186</td><td colspan=\"2\">0,236</td></tr></table>"
|
| 1259 |
+
},
|
| 1260 |
+
{
|
| 1261 |
+
"type": "table_caption",
|
| 1262 |
+
"bbox": [
|
| 1263 |
+
0.114,
|
| 1264 |
+
0.702,
|
| 1265 |
+
0.884,
|
| 1266 |
+
0.731
|
| 1267 |
+
],
|
| 1268 |
+
"angle": 0,
|
| 1269 |
+
"content": "Table 10: Cross-lingual word-based attack - extended table. First language listed - language of a message, second - language of added text."
|
| 1270 |
+
},
|
| 1271 |
+
{
|
| 1272 |
+
"type": "page_number",
|
| 1273 |
+
"bbox": [
|
| 1274 |
+
0.481,
|
| 1275 |
+
0.929,
|
| 1276 |
+
0.521,
|
| 1277 |
+
0.941
|
| 1278 |
+
],
|
| 1279 |
+
"angle": 0,
|
| 1280 |
+
"content": "2369"
|
| 1281 |
+
}
|
| 1282 |
+
]
|
| 1283 |
+
]
|
2023/No offence, Bert - I insult only humans! Multilingual sentence-level attack on toxicity detection networks/6570fd92-ec0d-40f4-8099-434dc1b0509c_origin.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:09a5acb8067d5883eb6f0c0ca853cba64541fb3d7e9800081865a3ba78b4dfc5
|
| 3 |
+
size 155839
|
2023/No offence, Bert - I insult only humans! Multilingual sentence-level attack on toxicity detection networks/full.md
ADDED
|
@@ -0,0 +1,197 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# No offence, Bert - I insult only humans! Multiple addressees sentence-level attack on toxicity detection neural networks
|
| 2 |
+
|
| 3 |
+
Sergey Berezin, Reza Farahbakhsh, Noel Crespi
|
| 4 |
+
SAMOVAR, Télécom SudParis, Institut Polytechnique de Paris 91120 Palaiseau, France
|
| 5 |
+
sberezin@telecom-sudparis.eu
|
| 6 |
+
|
| 7 |
+
# Abstract
|
| 8 |
+
|
| 9 |
+
We introduce a simple yet efficient sentence-level attack on black-box toxicity detector models. By adding several positive words or sentences to the end of a hateful message, we are able to change the prediction of a neural network and pass the toxicity detection system check. This approach is shown to be working on seven languages from three different language families. We also describe the defence mechanism against the aforementioned attack and discuss its limitations.
|
| 10 |
+
|
| 11 |
+
# 1 Introduction
|
| 12 |
+
|
| 13 |
+
Toxicity detection systems have become a crucial part of automoderation solutions. They are now used by most social media platforms, including those with groups of people in dangerously sensitive conditions, e.g. suicide prevention, Facebook groups, victims of cyberbullying, etc. Vulnerability in such systems may have dreadful, terrific effects on people, especially those in precarious situations.(Cheng et al., 2022).
|
| 14 |
+
|
| 15 |
+
On the other hand, such systems can be and are used to silence the voices of criticism, which leads to the creation of echo chambers and amplifies the voice of the (powerful) minority over the voice of the majority, thereby destroying the foundation of democracy and denying the freedom of speech (Gorwa et al., 2020).
|
| 16 |
+
|
| 17 |
+
This situation can be viewed as a double-edged sword, and we propose another double-edged sword that can be used to parry the blade of toxicity detection systems.
|
| 18 |
+
|
| 19 |
+
# 1.1 Task description
|
| 20 |
+
|
| 21 |
+
We present an attack on toxicity detection models based on the separation of the messages intended for a person and a piece of text added to confuse an algorithm.
|
| 22 |
+
|
| 23 |
+
For example, this can be done by concatenating an original message with a collection of keywords
|
| 24 |
+
|
| 25 |
+
of an opposite intent: "Kill yourself, you dirty pig! Text for a bot to avoid ban: flowers, rainbow, happy, happy good" - here only the underlined part is intended to address the human, and it is clear that the remaining part was added to avoid detection by the automoderation algorithm.
|
| 26 |
+
|
| 27 |
+
This represents an example of a sentence-level black-box adversarial attack on Natural Language Processing systems.
|
| 28 |
+
|
| 29 |
+
# 1.2 Related work
|
| 30 |
+
|
| 31 |
+
The first work suggesting the concatenation of distracting but meaningless sentences at the end of a paragraph to confuse a neural model was "Adversarial Examples for Evaluating Reading Comprehension Systems" (Jia and Liang, 2017) (according to the (Zhang et al., 2020)). Jia and Liang attacked question-answering systems with either manually-generated informative sentences (ADDSENT) or arbitrary sequences of words using a pool of 20 random common words (ADDANY). Both perturbations were obtained by iterative querying of the neural network until the output was changed. The authors of "Robust Machine Comprehension Models via Adversarial Training" (Wang and Bansal, 2018) improved this approach by varying the locations where the distracting sentences are placed and expanding the set of fake answers for generating the distracting sentences (ADDSENTDIVERSE).
|
| 32 |
+
|
| 33 |
+
In "Universal Adversarial Triggers for Attacking and Analyzing NLP" (Wallace et al., 2019) apply the gradient-based technique to construct an adversarial text. Despite being a white-box attack in its origin (due to the gradient information required in the training phase), this approach can be applied as a black-box attack during its inference.
|
| 34 |
+
|
| 35 |
+
The T3 model (Wang et al., 2020) utilises the autoencoder architecture to generate adversarial texts that can manipulate the question-answering models to output the targeted incorrect answer.
|
| 36 |
+
|
| 37 |
+
In "All You Need is "Love": Evading Hate
|
| 38 |
+
|
| 39 |
+
Speech Detection" (Gröndahl et al., 2018) performs a sentence-level attack on hate speech detection systems by inserting typos, changing word boundaries and adding innocuous words to the original hate speech. The authors show the effectiveness of such an attack on MLP, CNN+RNN and LSTM neural networks.
|
| 40 |
+
|
| 41 |
+
# 1.3 Contribution
|
| 42 |
+
|
| 43 |
+
Our contributions lie in the following:
|
| 44 |
+
|
| 45 |
+
1) Introduction of a concept of "To Each His Own" attack, based on the idea of separating the messages addressed to a human and those addressed to an algorithm. The attack exploits the fact that toxicity detection models are trained on sentence-level labels and do not consider the context or the intention of the message.
|
| 46 |
+
2) A systematic approach to the generation of adversarial texts. The words and sentences are selected based on their positivity scores rather than being randomly selected from non-hate ones, as in previous works.
|
| 47 |
+
3) Demonstration of attacks on modern state-of-the-art architectures. We tested the most popular transformer-based toxicity detectors, including Google Perspective API and OpenAI Moderation API.
|
| 48 |
+
4) Highlighting a significant flaw in the current approach to toxicity detection. We show that the predicted toxicity score can be watered down by the addition of positive words to the point of effectively masking toxicity.
|
| 49 |
+
5) Multi- and cross-lingual settings of attacks. We describe the attacks on seven different languages and combinations among them. A larger number of languages leads to a larger number of possible attacks - in the case of the 5-language model, we have 120 attack scenarios.
|
| 50 |
+
|
| 51 |
+
# 2 "To Each His Own" attack
|
| 52 |
+
|
| 53 |
+
# 2.1 Word-based attack
|
| 54 |
+
|
| 55 |
+
In this attack type, the original message is appended or prepended with a sequence of positive words, with the aim that these words will be analysed by a model but passed over by a human. This allows an attacker to preserve their original message without any changes, unlike in other attacks, which substitute words with synonyms or replace original characters with their look-alikes.
|
| 56 |
+
|
| 57 |
+
In our experiment, we used words from the SentiWordNet with a positivity score $\geq 0.85$ . We tested
|
| 58 |
+
|
| 59 |
+
14 openly available pretrained neural networks with the phrase "I hate you" and the addition of 0 to 9 positive words.
|
| 60 |
+
|
| 61 |
+
In case the toxicity score for a suggested phrase was estimated to be less than 0.5 - the most common threshold, we used the phrase "I hate you dumbass" instead. If, after attacking with 9 words, the model's output was greater than 0.5, we continued adding new positive words until the score dropped below this threshold or until we reached the maximum length of an input sequence for the model tested. For the English language, we also performed experiments with the phrase "Text for bot:" placed between a message and added words.
|
| 62 |
+
|
| 63 |
+
We conducted additional experiments with the Perspective API and OpenAI Moderation API, discovering they are also vulnerable to our attacks.
|
| 64 |
+
|
| 65 |
+
For eight non-English models, we asked native speakers of the respective languages to translate a selected subset of words and attack phrases. Within this study, we tested the language models for seven languages aside from English: Russian, German, French, Portuguese, Spanish, Turkish and Vietnamese. It is worth noting that the first five listed languages represent three branches (Slavic, Germanic and Italic) of the Indo-European language family, and the last two are from different language families: the Turkic and the Austro-Asiatic family, respectfully.
|
| 66 |
+
|
| 67 |
+
By using various models and languages, we aim to investigate if the suggested attack is model- and language-agnostic.
|
| 68 |
+
|
| 69 |
+
# 2.2 Cross-lingual word-based attack
|
| 70 |
+
|
| 71 |
+
The main weakness of all multilingual models lies in their greatest advantage - the ability to work with multiple languages and writing systems. Adding positive words in different languages will even more separate messages to the human and to the toxicity detection system, perhaps even denying a human the ability to read non-intended text. Examples of such texts are shown in Figure 1.
|
| 72 |
+
|
| 73 |
+
Even some monolingual models, which had been exposed to another language during the pretraining phase, fall victim to this situation.
|
| 74 |
+
|
| 75 |
+
We also conducted cross-lingual experiments with OpenAI models, including ChatGPT in conversation mode with different prompts, and found them susceptible to attack.
|
| 76 |
+
|
| 77 |
+
Perspective API was found to be non-functional in a multilingual setting, failing with an error, as it
|
| 78 |
+
|
| 79 |
+
<table><tr><td>I hate you lióobb aǐltpruíntiúhái lüedpí</td></tr><tr><td>You stink. eşsism.dkukemmel telkari güzel ahlak</td></tr><tr><td>Goodbye, dumbass! animado melhor formidable</td></tr></table>
|
| 80 |
+
|
| 81 |
+
Figure 1: Examples of cross-lingual word-based attack. The languages of the added text from the top are Russian, Turkish, and Spanish.
|
| 82 |
+
|
| 83 |
+
is unable to detect the language of the text.
|
| 84 |
+
|
| 85 |
+
# 2.3 Sentence-based attack
|
| 86 |
+
|
| 87 |
+
Incoherent text, produced by concatenating lexically unconnected words, is easily detectable by modern language models. To address that easy detection, we experimented with another version of the attack: concatenating sentences from the Stanford Sentiment Treebank with a positivity score $\geq 0.9$ and a length of no less than 100 symbols.
|
| 88 |
+
|
| 89 |
+
Since sentences consist of grammatically linked words instead of just a set of random positive words, this attack variant is less obvious and more challenging to detect.
|
| 90 |
+
|
| 91 |
+
# 3 Defence
|
| 92 |
+
|
| 93 |
+
We performed simple adversarial training of the DistilBERT model on the binary Jigsaw Toxic Comments dataset to improve the model's defence. We performed experiments with word- and sentence-based attacks, attacking both toxic messages and all messages in the dataset. In addition, we picked out only toxic messages and attacked half of them - in this scenario, the task was distinguishing attacked and non-attacked texts.
|
| 94 |
+
|
| 95 |
+
# 4 Results
|
| 96 |
+
|
| 97 |
+
# 4.1 Attack
|
| 98 |
+
|
| 99 |
+
During a word-based attack, both prepending and appending of the positive words showed similar results, with prepending being slightly less effective.
|
| 100 |
+
|
| 101 |
+
Appending nine words was enough to flip the prediction of almost every model. The "SkolkovoInstitute RoBERTa" toxicity classifier required 23 words to fall below 0.5, and "English-abusive-MuRIL" was still strongly predicting even after the addition of 252 words and reaching the length limit for the input. The results of selected experiments are shown in tables 1, 2 and $3^{1}$ .
|
| 102 |
+
|
| 103 |
+
The addition of the phrase "Text for bot:" between two parts of a text made a little difference in
|
| 104 |
+
|
| 105 |
+
<table><tr><td>n words</td><td>BERT</td><td>RoBERTa</td><td>ELECTRA</td></tr><tr><td>0</td><td>0,951</td><td>0,857</td><td>0,898</td></tr><tr><td>1</td><td>0,925</td><td>0,743</td><td>0,730</td></tr><tr><td>2</td><td>0,708</td><td>0,507</td><td>0,361</td></tr><tr><td>3</td><td>0,592</td><td>0,415</td><td>0,064</td></tr><tr><td>4</td><td>0,579</td><td>0,274</td><td>0,067</td></tr><tr><td>5</td><td>0,548</td><td>0,170</td><td>0,082</td></tr><tr><td>6</td><td>0,510</td><td>0,158</td><td>0,087</td></tr><tr><td>7</td><td>0,494</td><td>0,148</td><td>0,069</td></tr><tr><td>8</td><td>0,465</td><td>0,142</td><td>0,065</td></tr><tr><td>9</td><td>0,303</td><td>0,132</td><td>0,072</td></tr></table>
|
| 106 |
+
|
| 107 |
+
Table 1: Word-based attack in English on different transformer architectures.
|
| 108 |
+
|
| 109 |
+
<table><tr><td>n words</td><td>OpenAI S</td><td>OpenAI L</td><td>Per. API</td></tr><tr><td>1</td><td>0.643</td><td>0.946</td><td>0.899</td></tr><tr><td>...</td><td>...</td><td>...</td><td>...</td></tr><tr><td>10</td><td>0.421</td><td>0.847</td><td>0.846</td></tr><tr><td>11</td><td>0.381</td><td>0.705</td><td>0.852</td></tr><tr><td>12</td><td>0.427</td><td>0.74</td><td>0.852</td></tr><tr><td>13</td><td>0.453</td><td>0.761</td><td>0.852</td></tr><tr><td>14</td><td>0.426</td><td>0.665</td><td>0.853</td></tr><tr><td>15</td><td>0.362</td><td>0.681</td><td>0.853</td></tr><tr><td>16</td><td>0.265</td><td>0.716</td><td>0.853</td></tr></table>
|
| 110 |
+
|
| 111 |
+
Table 2: Word-based attack in English on Perspective API and OpenAI Moderation API. Per. - perspective, S - stable, L - latest.
|
| 112 |
+
|
| 113 |
+
the results, i.e. it can be used to create even more apparent separation without lowering an attack's efficiency.
|
| 114 |
+
|
| 115 |
+
As expected, the results of cross-lingual attacks followed the same trend as those of monolingual ones. These results are shown in tables 4 and $5^{1}$ .
|
| 116 |
+
|
| 117 |
+
With a sentence-based attack, adding even one sentence drastically lowered the prediction scores of the models. The scores are shown in table $6^{1}$ .
|
| 118 |
+
|
| 119 |
+
# 4.2 Defence
|
| 120 |
+
|
| 121 |
+
The model's F1 measure on toxic class fell from 0.80 to 0.44 after an attack with 15 sentences and to 0.79 after an attack with 50 words. After adversarial training, the model regained its F1 measure in both cases.
|
| 122 |
+
|
| 123 |
+
Interestingly, testing the word-trained model on sentence-attacked examples showed high precision and low recall (0.90 and 0.68, respectively). Testing the sentence-trained model on word-attacked examples showed the opposite result, with low precision and high recall (0.57 and 0.93, respectively).
|
| 124 |
+
|
| 125 |
+
<table><tr><td>n words</td><td>Vietnamese</td><td>French</td><td>Turkish</td></tr><tr><td>0</td><td>0,996</td><td>0,970</td><td>0,814</td></tr><tr><td>1</td><td>0,008</td><td>0,962</td><td>0,186</td></tr><tr><td>2</td><td>0,007</td><td>0,573</td><td>0,503</td></tr><tr><td>3</td><td>0,008</td><td>0,396</td><td>0,043</td></tr><tr><td>4</td><td>0,009</td><td>0,090</td><td>0,048</td></tr><tr><td>5</td><td>0,008</td><td>0,054</td><td>0,085</td></tr><tr><td>6</td><td>0,007</td><td>0,055</td><td>0,090</td></tr><tr><td>7</td><td>0,007</td><td>0,064</td><td>0,029</td></tr><tr><td>8</td><td>0,007</td><td>0,082</td><td>0,009</td></tr><tr><td>9</td><td>0,007</td><td>0,045</td><td>0,005</td></tr></table>
|
| 126 |
+
|
| 127 |
+
Table 3: Word-based attack on transformer-based language models trained on the languages from three different language families.
|
| 128 |
+
|
| 129 |
+
<table><tr><td>n words</td><td>eng+tur</td><td>eng+rus</td><td>eng+sp</td></tr><tr><td>0</td><td>0,971</td><td>0,971</td><td>0,971</td></tr><tr><td>1</td><td>0,913</td><td>0,717</td><td>0,802</td></tr><tr><td>2</td><td>0,904</td><td>0,717</td><td>0,687</td></tr><tr><td>3</td><td>0,912</td><td>0,761</td><td>0,536</td></tr><tr><td>4</td><td>0,541</td><td>0,800</td><td>0,558</td></tr><tr><td>5</td><td>0,634</td><td>0,592</td><td>0,500</td></tr><tr><td>6</td><td>0,731</td><td>0,456</td><td>0,539</td></tr><tr><td>7</td><td>0,604</td><td>0,402</td><td>0,426</td></tr><tr><td>8</td><td>0,519</td><td>0,433</td><td>0,434</td></tr><tr><td>9</td><td>0,455</td><td>0,369</td><td>0,384</td></tr></table>
|
| 130 |
+
|
| 131 |
+
The defence performed strongly, achieving an F1 score of 0.82 on binary toxic classification with word- and sentence-based attacks. The model achieved the same score on a non-attacked dataset, succeeding even better in distinguishing attacked sentences, with an F1 score of 0.99. However, defence models must be built for both word- and sentence-based attacks, as one single model will not work perfectly for both scenarios.
|
| 132 |
+
|
| 133 |
+
# 5 Discussion
|
| 134 |
+
|
| 135 |
+
All of the attack variants showed decent results in confusing toxicity detection models in every model tested (to varying degrees). The simplistic nature of such attacks could allow virtually any Internet user to exploit them to avoid automoderation systems.
|
| 136 |
+
|
| 137 |
+
A possible countermeasure for this type of attack is adversarial training or rule-based filtering. However, a simple rule-based filter can be fooled by char-level adversarial attacks, and adversarial training can be made much more difficult by in
|
| 138 |
+
|
| 139 |
+
Table 4: Cross-lingual word-based attack on toxicity detection models.
|
| 140 |
+
|
| 141 |
+
<table><tr><td>n</td><td>L en+fr</td><td>L en+ger</td><td>S en+fr</td><td>S en+ger</td></tr><tr><td>0</td><td>0.872</td><td>0.872</td><td>0.888</td><td>0.888</td></tr><tr><td>1</td><td>0.931</td><td>0.981</td><td>0.793</td><td>0.848</td></tr><tr><td>2</td><td>0.895</td><td>0.898</td><td>0.779</td><td>0.510</td></tr><tr><td>3</td><td>0.769</td><td>0.889</td><td>0.671</td><td>0.511</td></tr><tr><td>4</td><td>0.816</td><td>0.846</td><td>0.594</td><td>0.344</td></tr><tr><td>5</td><td>0.771</td><td>0.807</td><td>0.606</td><td>0.302</td></tr><tr><td>6</td><td>0.800</td><td>0.647</td><td>0.618</td><td>0.318</td></tr><tr><td>7</td><td>0.659</td><td>0.533</td><td>0.605</td><td>0.201</td></tr><tr><td>8</td><td>0.592</td><td>0.555</td><td>0.573</td><td>0.208</td></tr><tr><td>9</td><td>0.579</td><td>0.489</td><td>0.424</td><td>0.283</td></tr></table>
|
| 142 |
+
|
| 143 |
+
Table 5: The results of cross-lingual attacks on OpenAI models. n - number of words added, L - latest, S - stable.
|
| 144 |
+
|
| 145 |
+
<table><tr><td>n sentences</td><td>BERT</td><td>RoBERTa</td><td>ELECTRA</td></tr><tr><td>0</td><td>0,590</td><td>0,962</td><td>0,898</td></tr><tr><td>1</td><td>0,001</td><td>0,001</td><td>0,232</td></tr><tr><td>2</td><td>0,001</td><td>0,002</td><td>0,147</td></tr></table>
|
| 146 |
+
|
| 147 |
+
Table 6: Results of sentence-based attacks.
|
| 148 |
+
|
| 149 |
+
creasing the quality and quantity of the possible text insertions.
|
| 150 |
+
|
| 151 |
+
The complex approach, which covers all levels of perturbation, should be applied both in attack and defence real-life scenarios.
|
| 152 |
+
|
| 153 |
+
# 6 Conclusion
|
| 154 |
+
|
| 155 |
+
In this paper, we demonstrated a novel and effective way of bypassing toxicity detection models by appending positive words or sentences to the end of a toxic message.
|
| 156 |
+
|
| 157 |
+
The introduced concept of the "To Each His Own" attack is based on the idea of separating the messages addressed to a human and those addressed to an algorithm. The attack exploits the fact that the toxicity detection models are trained on sentence-level labels and do not consider the context or the intention of messages.
|
| 158 |
+
|
| 159 |
+
The described attack in all its variants can be easily used on almost any toxic-detection neural model, with fairly good results. For future research, we suggest looking for a more sophisticated way of constructing insertions, perhaps with respect to the original message, making it a semantically correct addition to human-written messages.
|
| 160 |
+
|
| 161 |
+
# 7 Acknowledgments
|
| 162 |
+
|
| 163 |
+
We thank all the volunteers who helped us with translations.
|
| 164 |
+
|
| 165 |
+
We are grateful to the reviewers and the program chair of the EMNLP conference for providing constructive feedback, suggesting additional experiments and providing different points of view. This helped us structure the paper and ensure the robustness of our results.
|
| 166 |
+
|
| 167 |
+
Sergey Berezin wishes to record that he is grateful to Mr. Mario Fritz from Saarland University for the introduction to the domain of adversarial attacks through his insightful course on this topic. He is also grateful to Mr. Maxime Amblard from the University of Lorraine for encouraging him to pursue research in this direction and validating his ideas.
|
| 168 |
+
|
| 169 |
+
# References
|
| 170 |
+
|
| 171 |
+
Lu Cheng, Ahmadreza Mosallanezhad, Yasin N. Silva, Deborah L. Hall, and Huan Liu. 2022. Bias mitigation for toxicity detection via sequential decisions. In Proceedings of the 45th International ACM SIGIR Conference on Research and Development in Information Retrieval, SIGIR '22, page 1750-1760, New York, NY, USA. Association for Computing Machinery.
|
| 172 |
+
Robert Gorwa, Reuben Binns, and Christian Katzenbach. 2020. Algorithmic content moderation: Technical and political challenges in the automation of platform governance. *Big Data Society*, 7:205395171989794.
|
| 173 |
+
Tommi Gröndahl, Luca Pajola, Mika Juuti, Mauro Conti, and N. Asokan. 2018. All you need is "love": Evading hate speech detection. AIsec '18, New York, NY, USA. Association for Computing Machinery.
|
| 174 |
+
Robin Jia and Percy Liang. 2017. Adversarial examples for evaluating reading comprehension systems. pages 2021-2031.
|
| 175 |
+
Eric Wallace, Shi Feng, Nikhil Kandpal, Matt Gardner, and Sameer Singh. 2019. Universal adversarial triggers for attacking and analyzing nlp. pages 2153-2162.
|
| 176 |
+
Boxin Wang, Hengzhi Pei, Boyuan Pan, Qian Chen, Shuohang Wang, and Bo Li. 2020. T3: Treeautoencoder constrained adversarial text generation for targeted attack. In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP), pages 6134-6150, Online. Association for Computational Linguistics.
|
| 177 |
+
Yicheng Wang and Mohit Bansal. 2018. Robust machine comprehension models via adversarial training. 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 575-581, New Orleans, Louisiana. Association for Computational Linguistics.
|
| 178 |
+
|
| 179 |
+
Wei Emma Zhang, Quan Z. Sheng, Ahoud Alhazmi, and Chenliang Li. 2020. Adversarial attacks on deep-learning models in natural language processing: A survey. ACM Trans. Intell. Syst. Technol., 11(3).
|
| 180 |
+
|
| 181 |
+
# A Appendix A
|
| 182 |
+
|
| 183 |
+
<table><tr><td>n words</td><td>BERT</td><td>roberta-base</td><td>xlm-roberta-base</td><td>toxigen-roberta</td><td>toxigen-hatebert</td></tr><tr><td>0</td><td>0,95</td><td>0,86</td><td>0,97</td><td>0,96</td><td>0,88</td></tr><tr><td>1</td><td>0,93</td><td>0,74</td><td>0,89</td><td>0,96</td><td>1,00</td></tr><tr><td>2</td><td>0,71</td><td>0,51</td><td>0,65</td><td>0,71</td><td>0,98</td></tr><tr><td>3</td><td>0,59</td><td>0,42</td><td>0,63</td><td>0,59</td><td>0,98</td></tr><tr><td>4</td><td>0,58</td><td>0,27</td><td>0,56</td><td>0,02</td><td>0,11</td></tr><tr><td>5</td><td>0,55</td><td>0,17</td><td>0,53</td><td>0,00</td><td>0,07</td></tr><tr><td>6</td><td>0,51</td><td>0,16</td><td>0,41</td><td>0,00</td><td>0,02</td></tr><tr><td>7</td><td>0,49</td><td>0,15</td><td>0,55</td><td>0,00</td><td>0,31</td></tr><tr><td>8</td><td>0,47</td><td>0,14</td><td>0,45</td><td>0,00</td><td>0,39</td></tr><tr><td>9</td><td>0,30</td><td>0,13</td><td>0,41</td><td>0,00</td><td>0,06</td></tr><tr><td>n words</td><td>roberta skolkovo</td><td>roberta facebook</td><td>MuRIL</td><td>MuRIL*</td><td>electra-hateXplain</td></tr><tr><td>0</td><td>1,00</td><td>1,00</td><td>0,13</td><td>0,96</td><td>0,90</td></tr><tr><td>1</td><td>1,00</td><td>1,00</td><td>0,10</td><td>0,95</td><td>0,73</td></tr><tr><td>2</td><td>0,99</td><td>1,00</td><td>0,03</td><td>0,94</td><td>0,36</td></tr><tr><td>3</td><td>0,92</td><td>1,00</td><td>0,01</td><td>0,92</td><td>0,06</td></tr><tr><td>4</td><td>0,98</td><td>1,00</td><td>0,01</td><td>0,92</td><td>0,07</td></tr><tr><td>5</td><td>0,98</td><td>1,00</td><td>0,01</td><td>0,92</td><td>0,08</td></tr><tr><td>6</td><td>0,99</td><td>1,00</td><td>0,03</td><td>0,94</td><td>0,09</td></tr><tr><td>7</td><td>0,99</td><td>1,00</td><td>0,01</td><td>0,93</td><td>0,07</td></tr><tr><td>8</td><td>0,99</td><td>0,03</td><td>0,01</td><td>0,91</td><td>0,07</td></tr><tr><td>9</td><td>0,98</td><td>0,59</td><td>0,01</td><td>0,89</td><td>0,07</td></tr><tr><td></td><td colspan="2">n words multi-MuRIL</td><td>BERT-movies</td><td>DistilBERT</td><td>DistilBERT*</td></tr><tr><td></td><td>0</td><td>0,74</td><td>0,32</td><td>0,07</td><td>0,95</td></tr><tr><td></td><td>1</td><td>0,63</td><td>0,13</td><td>0,01</td><td>0,45</td></tr><tr><td></td><td>2</td><td>0,19</td><td>0,10</td><td>0,01</td><td>0,17</td></tr><tr><td></td><td>3</td><td>0,01</td><td>0,12</td><td>0,01</td><td>0,14</td></tr><tr><td></td><td>4</td><td>0,02</td><td>0,08</td><td>0,00</td><td>0,11</td></tr><tr><td></td><td>5</td><td>0,12</td><td>0,10</td><td>0,03</td><td>0,16</td></tr><tr><td></td><td>6</td><td>0,44</td><td>0,09</td><td>0,03</td><td>0,22</td></tr><tr><td></td><td>7</td><td>0,35</td><td>0,07</td><td>0,02</td><td>0,17</td></tr><tr><td></td><td>8</td><td>0,31</td><td>0,06</td><td>0,01</td><td>0,09</td></tr><tr><td></td><td>9</td><td>0,25</td><td>0,04</td><td>0,01</td><td>0,08</td></tr></table>
|
| 184 |
+
|
| 185 |
+
Table 7: Word-based attack in English on different transformer architectures - extended table.
|
| 186 |
+
|
| 187 |
+
<table><tr><td>n words</td><td>Vietnamese</td><td>French</td><td colspan="2">German</td><td>Spanish</td><td>Spanish</td></tr><tr><td></td><td>PhoBERT</td><td>detoxify-fr</td><td colspan="2">BERT-GermEval18Coarse</td><td>dehatebert</td><td>detoxify-sp</td></tr><tr><td>0</td><td>0,996</td><td>0,749</td><td colspan="2">0,819</td><td>0,970</td><td>0,943</td></tr><tr><td>1</td><td>0,008</td><td>0,834</td><td colspan="2">0,531</td><td>0,962</td><td>0,645</td></tr><tr><td>2</td><td>0,007</td><td>0,812</td><td colspan="2">0,432</td><td>0,573</td><td>0,654</td></tr><tr><td>3</td><td>0,008</td><td>0,757</td><td colspan="2">0,305</td><td>0,396</td><td>0,583</td></tr><tr><td>4</td><td>0,009</td><td>0,735</td><td colspan="2">0,383</td><td>0,090</td><td>0,463</td></tr><tr><td>5</td><td>0,008</td><td>0,652</td><td colspan="2">0,392</td><td>0,054</td><td>0,444</td></tr><tr><td>6</td><td>0,007</td><td>0,515</td><td colspan="2">0,360</td><td>0,055</td><td>0,334</td></tr><tr><td>7</td><td>0,007</td><td>0,415</td><td colspan="2">0,438</td><td>0,064</td><td>0,247</td></tr><tr><td>8</td><td>0,007</td><td>0,486</td><td colspan="2">0,484</td><td>0,082</td><td>0,244</td></tr><tr><td>9</td><td>0,007</td><td>0,511</td><td colspan="2">0,422</td><td>0,045</td><td>0,244</td></tr><tr><td>n words</td><td>Portuguese</td><td>Portuguese</td><td>Turkish</td><td>Russian</td><td>Russian</td><td>Russian</td></tr><tr><td></td><td>dehatebert</td><td>detoxify</td><td>detoxify-tur</td><td>Skolkovo</td><td>rubert-toxic</td><td>detoxify-ru</td></tr><tr><td>0</td><td>0,591</td><td>0,983</td><td>0,977</td><td>0,814</td><td>0,689</td><td>0,973</td></tr><tr><td>1</td><td>0,614</td><td>0,887</td><td>0,812</td><td>0,186</td><td>0,360</td><td>0,863</td></tr><tr><td>2</td><td>0,587</td><td>0,794</td><td>0,841</td><td>0,503</td><td>0,042</td><td>0,834</td></tr><tr><td>3</td><td>0,489</td><td>0,709</td><td>0,735</td><td>0,043</td><td>0,037</td><td>0,817</td></tr><tr><td>4</td><td>0,473</td><td>0,637</td><td>0,767</td><td>0,048</td><td>0,028</td><td>0,817</td></tr><tr><td>5</td><td>0,410</td><td>0,663</td><td>0,745</td><td>0,085</td><td>0,039</td><td>0,684</td></tr><tr><td>6</td><td>0,406</td><td>0,496</td><td>0,752</td><td>0,090</td><td>0,050</td><td>0,503</td></tr><tr><td>7</td><td>0,418</td><td>0,327</td><td>0,673</td><td>0,029</td><td>0,044</td><td>0,534</td></tr><tr><td>8</td><td>0,434</td><td>0,332</td><td>0,649</td><td>0,009</td><td>0,042</td><td>0,514</td></tr><tr><td>9</td><td>0,447</td><td>0,354</td><td>0,622</td><td>0,005</td><td>0,052</td><td>0,414</td></tr></table>
|
| 188 |
+
|
| 189 |
+
Table 8: Word-based attack on languages from three different language families - extended table.
|
| 190 |
+
|
| 191 |
+
<table><tr><td>n</td><td>toxigen-rob.</td><td>Skolkovo rob.</td><td>hatebert</td><td>MuRIL</td><td>electra-hateXplain</td><td>Multi-MuRIL</td></tr><tr><td>0</td><td>0,962</td><td>0,999</td><td>0,590</td><td>0,126</td><td>0,898</td><td>0,737</td></tr><tr><td>1</td><td>0,001</td><td>0,002</td><td>0,001</td><td>0,022</td><td>0,232</td><td>0,160</td></tr><tr><td>2</td><td>0,002</td><td>0,001</td><td>0,001</td><td>0,017</td><td>0,147</td><td>0,091</td></tr></table>
|
| 192 |
+
|
| 193 |
+
Table 9: Results of sentence-based attack - extended table. n - number of added sentences, rob - roberta.
|
| 194 |
+
|
| 195 |
+
<table><tr><td>n words</td><td colspan="2">rus + eng 1</td><td>rus + eng 2</td><td>rus + sp</td><td>rus + fr</td><td>rus + ge</td></tr><tr><td></td><td colspan="2">SkolkovoInstitute/ Russian_toxicity_classifier</td><td>rubert-toxic- pikabu-2ch</td><td>rubert-toxic- pikabu-2ch</td><td>rubert-toxic- pikabu-2ch</td><td>rubert-toxic- pikabu-2ch</td></tr><tr><td>0</td><td colspan="2">0,814</td><td>0,689</td><td>0,689</td><td>0,689</td><td>0,689</td></tr><tr><td>1</td><td colspan="2">0,498</td><td>0,252</td><td>0,326</td><td>0,608</td><td>0,263</td></tr><tr><td>2</td><td colspan="2">0,290</td><td>0,141</td><td>0,186</td><td>0,288</td><td>0,247</td></tr><tr><td>3</td><td colspan="2">0,754</td><td>0,122</td><td>0,259</td><td>0,291</td><td>0,296</td></tr><tr><td>4</td><td colspan="2">0,707</td><td>0,131</td><td>0,349</td><td>0,237</td><td>0,284</td></tr><tr><td>5</td><td colspan="2">0,743</td><td>0,441</td><td>0,423</td><td>0,236</td><td>0,403</td></tr><tr><td>6</td><td colspan="2">0,749</td><td>0,527</td><td>0,190</td><td>0,196</td><td>0,244</td></tr><tr><td>7</td><td colspan="2">0,576</td><td>0,206</td><td>0,082</td><td>0,237</td><td>0,296</td></tr><tr><td>8</td><td colspan="2">0,382</td><td>0,357</td><td>0,116</td><td>0,180</td><td>0,281</td></tr><tr><td>9</td><td colspan="2">0,467</td><td>0,356</td><td>0,109</td><td>0,226</td><td>0,290</td></tr><tr><td>n words</td><td>eng + tur</td><td>eng + rus</td><td>eng+sp 1</td><td>eng+sp 2</td><td colspan="2">eng+sp 3</td></tr><tr><td></td><td>Detoxify</td><td>Detoxify</td><td>Detoxify</td><td>electra-base-hateXplain base-hateXplain</td><td colspan="2">indic-abusive-allInOne-MuRIL</td></tr><tr><td>0</td><td>0,971</td><td>0,971</td><td>0,971</td><td>0,898</td><td colspan="2">0,737</td></tr><tr><td>1</td><td>0,913</td><td>0,717</td><td>0,802</td><td>0,574</td><td colspan="2">0,724</td></tr><tr><td>2</td><td>0,904</td><td>0,717</td><td>0,687</td><td>0,912</td><td colspan="2">0,454</td></tr><tr><td>3</td><td>0,912</td><td>0,761</td><td>0,536</td><td>0,471</td><td colspan="2">0,590</td></tr><tr><td>4</td><td>0,541</td><td>0,800</td><td>0,558</td><td>0,340</td><td colspan="2">0,574</td></tr><tr><td>5</td><td>0,634</td><td>0,592</td><td>0,500</td><td>0,270</td><td colspan="2">0,668</td></tr><tr><td>6</td><td>0,731</td><td>0,456</td><td>0,539</td><td>0,216</td><td colspan="2">0,579</td></tr><tr><td>7</td><td>0,604</td><td>0,402</td><td>0,426</td><td>0,226</td><td colspan="2">0,508</td></tr><tr><td>8</td><td>0,519</td><td>0,433</td><td>0,434</td><td>0,212</td><td colspan="2">0,290</td></tr><tr><td>9</td><td>0,455</td><td>0,369</td><td>0,384</td><td>0,186</td><td colspan="2">0,236</td></tr></table>
|
| 196 |
+
|
| 197 |
+
Table 10: Cross-lingual word-based attack - extended table. First language listed - language of a message, second - language of added text.
|
2023/No offence, Bert - I insult only humans! Multilingual sentence-level attack on toxicity detection networks/images.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4652de4de65d4005c37e1e946b7a6f9d07c5db455e51b5d26c4ccdf8f200a334
|
| 3 |
+
size 656296
|
2023/No offence, Bert - I insult only humans! Multilingual sentence-level attack on toxicity detection networks/layout.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2023/Noise-Robust Fine-Tuning of Pretrained Language Models via External Guidance/569fc499-7adf-4636-bebe-f243ca93393e_content_list.json
ADDED
|
@@ -0,0 +1,1963 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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models via External Guidance",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
196,
|
| 8 |
+
79,
|
| 9 |
+
801,
|
| 10 |
+
118
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Song Wang",
|
| 17 |
+
"bbox": [
|
| 18 |
+
280,
|
| 19 |
+
126,
|
| 20 |
+
384,
|
| 21 |
+
142
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "University of Virginia",
|
| 28 |
+
"bbox": [
|
| 29 |
+
242,
|
| 30 |
+
143,
|
| 31 |
+
423,
|
| 32 |
+
158
|
| 33 |
+
],
|
| 34 |
+
"page_idx": 0
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"type": "text",
|
| 38 |
+
"text": "sw3wv@virginia.edu",
|
| 39 |
+
"bbox": [
|
| 40 |
+
242,
|
| 41 |
+
160,
|
| 42 |
+
426,
|
| 43 |
+
175
|
| 44 |
+
],
|
| 45 |
+
"page_idx": 0
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"type": "text",
|
| 49 |
+
"text": "Ruocheng Guo",
|
| 50 |
+
"bbox": [
|
| 51 |
+
268,
|
| 52 |
+
187,
|
| 53 |
+
400,
|
| 54 |
+
204
|
| 55 |
+
],
|
| 56 |
+
"page_idx": 0
|
| 57 |
+
},
|
| 58 |
+
{
|
| 59 |
+
"type": "text",
|
| 60 |
+
"text": "ByteDance Research",
|
| 61 |
+
"bbox": [
|
| 62 |
+
247,
|
| 63 |
+
205,
|
| 64 |
+
418,
|
| 65 |
+
221
|
| 66 |
+
],
|
| 67 |
+
"page_idx": 0
|
| 68 |
+
},
|
| 69 |
+
{
|
| 70 |
+
"type": "text",
|
| 71 |
+
"text": "ruocheng.guo@bytedance.com",
|
| 72 |
+
"bbox": [
|
| 73 |
+
201,
|
| 74 |
+
223,
|
| 75 |
+
467,
|
| 76 |
+
237
|
| 77 |
+
],
|
| 78 |
+
"page_idx": 0
|
| 79 |
+
},
|
| 80 |
+
{
|
| 81 |
+
"type": "text",
|
| 82 |
+
"text": "Zhen Tan",
|
| 83 |
+
"bbox": [
|
| 84 |
+
621,
|
| 85 |
+
126,
|
| 86 |
+
709,
|
| 87 |
+
140
|
| 88 |
+
],
|
| 89 |
+
"page_idx": 0
|
| 90 |
+
},
|
| 91 |
+
{
|
| 92 |
+
"type": "text",
|
| 93 |
+
"text": "Arizona State University",
|
| 94 |
+
"bbox": [
|
| 95 |
+
564,
|
| 96 |
+
142,
|
| 97 |
+
766,
|
| 98 |
+
159
|
| 99 |
+
],
|
| 100 |
+
"page_idx": 0
|
| 101 |
+
},
|
| 102 |
+
{
|
| 103 |
+
"type": "text",
|
| 104 |
+
"text": "ztan36@asu.edu",
|
| 105 |
+
"bbox": [
|
| 106 |
+
593,
|
| 107 |
+
160,
|
| 108 |
+
739,
|
| 109 |
+
174
|
| 110 |
+
],
|
| 111 |
+
"page_idx": 0
|
| 112 |
+
},
|
| 113 |
+
{
|
| 114 |
+
"type": "text",
|
| 115 |
+
"text": "Jundong Li",
|
| 116 |
+
"bbox": [
|
| 117 |
+
613,
|
| 118 |
+
187,
|
| 119 |
+
717,
|
| 120 |
+
205
|
| 121 |
+
],
|
| 122 |
+
"page_idx": 0
|
| 123 |
+
},
|
| 124 |
+
{
|
| 125 |
+
"type": "text",
|
| 126 |
+
"text": "University of Virginia",
|
| 127 |
+
"bbox": [
|
| 128 |
+
576,
|
| 129 |
+
205,
|
| 130 |
+
756,
|
| 131 |
+
221
|
| 132 |
+
],
|
| 133 |
+
"page_idx": 0
|
| 134 |
+
},
|
| 135 |
+
{
|
| 136 |
+
"type": "text",
|
| 137 |
+
"text": "jundong@virginia.edu",
|
| 138 |
+
"bbox": [
|
| 139 |
+
564,
|
| 140 |
+
222,
|
| 141 |
+
768,
|
| 142 |
+
237
|
| 143 |
+
],
|
| 144 |
+
"page_idx": 0
|
| 145 |
+
},
|
| 146 |
+
{
|
| 147 |
+
"type": "text",
|
| 148 |
+
"text": "Abstract",
|
| 149 |
+
"text_level": 1,
|
| 150 |
+
"bbox": [
|
| 151 |
+
260,
|
| 152 |
+
252,
|
| 153 |
+
341,
|
| 154 |
+
267
|
| 155 |
+
],
|
| 156 |
+
"page_idx": 0
|
| 157 |
+
},
|
| 158 |
+
{
|
| 159 |
+
"type": "text",
|
| 160 |
+
"text": "Adopting a two-stage paradigm of pretraining followed by fine-tuning, Pretrained Language Models (PLMs) have achieved substantial advancements in the field of natural language processing. However, in real-world scenarios, data labels are often noisy due to the complex annotation process, making it essential to develop strategies for fine-tuning PLMs with such noisy labels. To this end, we introduce an innovative approach for fine-tuning PLMs using noisy labels, which incorporates the guidance of Large Language Models (LLMs) like ChatGPT. This guidance assists in accurately distinguishing between clean and noisy samples and provides supplementary information beyond the noisy labels, thereby boosting the learning process during fine-tuning PLMs. Extensive experiments on synthetic and real-world noisy datasets further demonstrate the superiority of our framework over the state-of-the-art baselines.",
|
| 161 |
+
"bbox": [
|
| 162 |
+
141,
|
| 163 |
+
277,
|
| 164 |
+
460,
|
| 165 |
+
561
|
| 166 |
+
],
|
| 167 |
+
"page_idx": 0
|
| 168 |
+
},
|
| 169 |
+
{
|
| 170 |
+
"type": "text",
|
| 171 |
+
"text": "1 Introduction",
|
| 172 |
+
"text_level": 1,
|
| 173 |
+
"bbox": [
|
| 174 |
+
114,
|
| 175 |
+
571,
|
| 176 |
+
258,
|
| 177 |
+
587
|
| 178 |
+
],
|
| 179 |
+
"page_idx": 0
|
| 180 |
+
},
|
| 181 |
+
{
|
| 182 |
+
"type": "text",
|
| 183 |
+
"text": "In recent years, the development of language models has significantly expanded the applications within the field of natural language processing (NLP). Fine-tuning Pretrained Language Models (PLMs) like BERT (Devlin et al., 2018) for specific downstream tasks has become an essential step in real-world implementations (Alt et al., 2020; Wang et al., 2021). In general, achieving significant performance gains in fine-tuning PLMs necessitates the availability of task-specific data for fine-tuning (Zhou and Chen, 2021; Wang et al., 2022). However, obtaining high-quality labeled datasets for this purpose poses significant challenges due to the expensive, complex, and labor-intensive nature of the annotation process (Yu et al., 2019; Bae et al., 2022). For example, large-scale datasets, often derived from web-crawling (Li et al., 2017; Song et al., 2019) or crowd-sourcing (Yan et al., 2014; Williams et al., 2017; Sakaguchi et al., 2021), frequently suffer from the presence of noisy labels.",
|
| 184 |
+
"bbox": [
|
| 185 |
+
112,
|
| 186 |
+
596,
|
| 187 |
+
490,
|
| 188 |
+
919
|
| 189 |
+
],
|
| 190 |
+
"page_idx": 0
|
| 191 |
+
},
|
| 192 |
+
{
|
| 193 |
+
"type": "image",
|
| 194 |
+
"img_path": "images/37f59962e010dae0084546f1130e1b2c56617463f7426f7f6bc29b1982450a4a.jpg",
|
| 195 |
+
"image_caption": [
|
| 196 |
+
"Figure 1: The average confidence of clean and noisy samples during fine-tuning BERT on datasets $20\\mathrm{Ng}$ and AGNews with $20\\%$ noisy labels."
|
| 197 |
+
],
|
| 198 |
+
"image_footnote": [],
|
| 199 |
+
"bbox": [
|
| 200 |
+
524,
|
| 201 |
+
258,
|
| 202 |
+
865,
|
| 203 |
+
401
|
| 204 |
+
],
|
| 205 |
+
"page_idx": 0
|
| 206 |
+
},
|
| 207 |
+
{
|
| 208 |
+
"type": "text",
|
| 209 |
+
"text": "Prior research (Arpit et al., 2017; Cheng et al., 2021; Zhang et al., 2021c; Wang et al., 2023a) has shown that PLMs are prone to overfitting and generally deliver subpar performance when fine-tuned on datasets containing label noise. Since fine-tuning involves incorporating supervision information to enhance performance on downstream tasks, the presence of noisy labels will mislead the training process and significantly impede the efficacy of PLMs (Zhu et al., 2022). Therefore, there is an immediate need to design effective algorithms for fine-tuning PLMs in the presence of noisy labels.",
|
| 210 |
+
"bbox": [
|
| 211 |
+
507,
|
| 212 |
+
481,
|
| 213 |
+
884,
|
| 214 |
+
675
|
| 215 |
+
],
|
| 216 |
+
"page_idx": 0
|
| 217 |
+
},
|
| 218 |
+
{
|
| 219 |
+
"type": "text",
|
| 220 |
+
"text": "In the context of learning from noisy labels, an intuitive approach is to separate clean samples from the noisy ones in the training set for model training (Han et al., 2018). For the remaining noisy samples, a prevalent strategy is to pseudo-label them based on model predictions to reduce the adverse impact of noise (Berthelot et al., 2019; Sohn et al., 2020). However, it remains challenging when applying this paradigm to PLMs. This is because PLMs, equipped with prior knowledge encoded in a large size of parameters, tend to easily memorize noisy samples early on during the fine-tuning process. As illustrated in Figure 1, PLMs exhibit similar prediction confidences for both clean and noisy samples, which will result in two challenges",
|
| 221 |
+
"bbox": [
|
| 222 |
+
507,
|
| 223 |
+
677,
|
| 224 |
+
884,
|
| 225 |
+
919
|
| 226 |
+
],
|
| 227 |
+
"page_idx": 0
|
| 228 |
+
},
|
| 229 |
+
{
|
| 230 |
+
"type": "page_number",
|
| 231 |
+
"text": "12528",
|
| 232 |
+
"bbox": [
|
| 233 |
+
475,
|
| 234 |
+
927,
|
| 235 |
+
524,
|
| 236 |
+
940
|
| 237 |
+
],
|
| 238 |
+
"page_idx": 0
|
| 239 |
+
},
|
| 240 |
+
{
|
| 241 |
+
"type": "footer",
|
| 242 |
+
"text": "Findings of the Association for Computational Linguistics: EMNLP 2023, pages 12528-12540",
|
| 243 |
+
"bbox": [
|
| 244 |
+
208,
|
| 245 |
+
945,
|
| 246 |
+
788,
|
| 247 |
+
958
|
| 248 |
+
],
|
| 249 |
+
"page_idx": 0
|
| 250 |
+
},
|
| 251 |
+
{
|
| 252 |
+
"type": "footer",
|
| 253 |
+
"text": "December 6-10, 2023 ©2023 Association for Computational Linguistics",
|
| 254 |
+
"bbox": [
|
| 255 |
+
277,
|
| 256 |
+
958,
|
| 257 |
+
719,
|
| 258 |
+
972
|
| 259 |
+
],
|
| 260 |
+
"page_idx": 0
|
| 261 |
+
},
|
| 262 |
+
{
|
| 263 |
+
"type": "text",
|
| 264 |
+
"text": "when utilizing existing methods: (1) Existing approaches often rely on confidence generated by models trained on potentially noisy samples (Li et al., 2020; Karim et al., 2022). However, as shown in Figure 1, it is challenging to accurately distinguish clean and noisy samples solely based on confidence. (2) Existing methods are susceptible to erroneous information during pseudo-labeling, as they directly utilize model predictions as pseudolabels, which can be detrimental when the predictions are inaccurate. PLMs, being capable of easily remembering noisy samples, further exacerbate the risk of capturing and amplifying erroneous information during pseudo-labeling. For example, in the $20\\mathrm{Ng}$ dataset (Lang, 1995), when an \"autos\" sample is assigned a wrong label \"hardware\", PLMs can easily memorize the erroneous information and thus cannot infer the correct labels in predictions, resulting in incorrect pseudo-labeling.",
|
| 265 |
+
"bbox": [
|
| 266 |
+
115,
|
| 267 |
+
84,
|
| 268 |
+
490,
|
| 269 |
+
388
|
| 270 |
+
],
|
| 271 |
+
"page_idx": 1
|
| 272 |
+
},
|
| 273 |
+
{
|
| 274 |
+
"type": "text",
|
| 275 |
+
"text": "To overcome these challenges, we propose a novel framework, named LAFT, that harnesses the power of Large Language Models (LLMs) for Fine-Tuning PLMs. We leverage LLMs trained on extensive corpora and fine-tuned with human instructions, such as GPT4 (OpenAI, 2023), to obtain external guidance in the form of confidence values. Our approach addresses the first challenge of separating reliable samples by utilizing LLM-generated confidence for each class of all training samples. By comparing these confidence with the assigned labels (i.e., the given noisy labels) of training samples, we categorize them into three disjoint subsets: the Easy Clean (EC) Set, the Hard Clean (HC) Set, and the True Noisy (TN) Set. Regarding the second challenge, we propose a novel method to incorporate LLM-generated confidence scores as robust supervision information for all samples to ensure that PLMs learn useful information from them. As LLM-generated confidence are not affected by label noise, they can provide potentially relevant labels that are useful even if they are not entirely accurate. In summary, our contributions are as follows:",
|
| 276 |
+
"bbox": [
|
| 277 |
+
115,
|
| 278 |
+
391,
|
| 279 |
+
489,
|
| 280 |
+
774
|
| 281 |
+
],
|
| 282 |
+
"page_idx": 1
|
| 283 |
+
},
|
| 284 |
+
{
|
| 285 |
+
"type": "list",
|
| 286 |
+
"sub_type": "text",
|
| 287 |
+
"list_items": [
|
| 288 |
+
"- We are the first to explore the potential of leveraging supervision information (i.e., confidence scores) generated by LLMs to tackle the noisy label problem in fine-tuning PLMs.",
|
| 289 |
+
"- We propose a novel framework LAFT that can effectively separate clean and noisy samples and learn from noisy labels, based on the LLMs-generated confidence."
|
| 290 |
+
],
|
| 291 |
+
"bbox": [
|
| 292 |
+
115,
|
| 293 |
+
785,
|
| 294 |
+
487,
|
| 295 |
+
917
|
| 296 |
+
],
|
| 297 |
+
"page_idx": 1
|
| 298 |
+
},
|
| 299 |
+
{
|
| 300 |
+
"type": "text",
|
| 301 |
+
"text": "- We conduct extensive experiments on synthetic and real-world noisy datasets and demonstrate the superiority of our framework in fine-tuning PLMs with noisy labels.",
|
| 302 |
+
"bbox": [
|
| 303 |
+
510,
|
| 304 |
+
84,
|
| 305 |
+
880,
|
| 306 |
+
148
|
| 307 |
+
],
|
| 308 |
+
"page_idx": 1
|
| 309 |
+
},
|
| 310 |
+
{
|
| 311 |
+
"type": "text",
|
| 312 |
+
"text": "2 Related Work",
|
| 313 |
+
"text_level": 1,
|
| 314 |
+
"bbox": [
|
| 315 |
+
509,
|
| 316 |
+
165,
|
| 317 |
+
665,
|
| 318 |
+
181
|
| 319 |
+
],
|
| 320 |
+
"page_idx": 1
|
| 321 |
+
},
|
| 322 |
+
{
|
| 323 |
+
"type": "text",
|
| 324 |
+
"text": "2.1 Learning from Noisy Labels",
|
| 325 |
+
"text_level": 1,
|
| 326 |
+
"bbox": [
|
| 327 |
+
509,
|
| 328 |
+
195,
|
| 329 |
+
774,
|
| 330 |
+
211
|
| 331 |
+
],
|
| 332 |
+
"page_idx": 1
|
| 333 |
+
},
|
| 334 |
+
{
|
| 335 |
+
"type": "text",
|
| 336 |
+
"text": "Various strategies for learning from noisy labels have been proposed, falling primarily into three categories. The first category is Sample Selection methods, which typically employ loss or confidence to identify reliable samples for model optimization. These methods generally necessitate a predefined threshold (Li et al., 2021; Karim et al., 2022) or prior knowledge concerning the noise label rate (Han et al., 2018; Yu et al., 2019) to choose the instances. The second category, dubbed Label Transition methods, aims to learn (Tanaka et al., 2018) or generate pseudo-labels (Zhang et al., 2021c; Sohn et al., 2020) to replace the original noisy labels. Lastly, Regularization methods design robust loss functions (Liu et al., 2020; Englesson and Azizpour, 2021) or regularization techniques (Zhang and Sabuncu, 2018) that can effectively utilize all samples to enhance the model robustness against label noise. Nevertheless, these methods generally do not consider the scenario of fine-tuning a pretrained model with noisy labels.",
|
| 337 |
+
"bbox": [
|
| 338 |
+
507,
|
| 339 |
+
219,
|
| 340 |
+
884,
|
| 341 |
+
557
|
| 342 |
+
],
|
| 343 |
+
"page_idx": 1
|
| 344 |
+
},
|
| 345 |
+
{
|
| 346 |
+
"type": "text",
|
| 347 |
+
"text": "2.2 Confidence-Guided Sample Separation",
|
| 348 |
+
"text_level": 1,
|
| 349 |
+
"bbox": [
|
| 350 |
+
507,
|
| 351 |
+
573,
|
| 352 |
+
860,
|
| 353 |
+
589
|
| 354 |
+
],
|
| 355 |
+
"page_idx": 1
|
| 356 |
+
},
|
| 357 |
+
{
|
| 358 |
+
"type": "text",
|
| 359 |
+
"text": "To separate noisy samples, existing works leverage the loss or confidence that provide insights into the model's prediction behavior as training proceeds (Yu et al., 2019; Karim et al., 2022). In the context of learning from noisy labels, the key concept is to leverage these dynamics as criteria for identifying and separating noisy samples. Several works propose to identify samples with lower training loss as the clean subset (Li et al., 2020; Han et al., 2018; Jiang et al., 2018; Zhao et al., 2022; Wang et al., 2023b), however, they are generally simplistic and inflexible, resulting in the selection of only easy samples. To address this limitation, alternative approaches have been proposed to effectively utilize the loss or confidence during training, as demonstrated in (Zhang et al., 2021a) and (Nishi et al., 2021). In contrast to existing methods that only rely on confidence generated by PLMs, we leverage LLMs as external guidance that provides more precise separations for fine-tuning PLMs.",
|
| 360 |
+
"bbox": [
|
| 361 |
+
507,
|
| 362 |
+
596,
|
| 363 |
+
884,
|
| 364 |
+
917
|
| 365 |
+
],
|
| 366 |
+
"page_idx": 1
|
| 367 |
+
},
|
| 368 |
+
{
|
| 369 |
+
"type": "page_number",
|
| 370 |
+
"text": "12529",
|
| 371 |
+
"bbox": [
|
| 372 |
+
477,
|
| 373 |
+
927,
|
| 374 |
+
524,
|
| 375 |
+
940
|
| 376 |
+
],
|
| 377 |
+
"page_idx": 1
|
| 378 |
+
},
|
| 379 |
+
{
|
| 380 |
+
"type": "text",
|
| 381 |
+
"text": "3 Problem Definition",
|
| 382 |
+
"text_level": 1,
|
| 383 |
+
"bbox": [
|
| 384 |
+
114,
|
| 385 |
+
84,
|
| 386 |
+
312,
|
| 387 |
+
98
|
| 388 |
+
],
|
| 389 |
+
"page_idx": 2
|
| 390 |
+
},
|
| 391 |
+
{
|
| 392 |
+
"type": "text",
|
| 393 |
+
"text": "In this work, we study the problem of fine-tuning PLMs for text classification with noisy labels. Formally, consider a noisy training dataset containing $n$ samples: $\\mathcal{D}_{tr} = \\{(x_i,\\widetilde{y}_i),i = 1,2,\\ldots ,n\\}$ where $x_{i}$ is an input sample and $\\widetilde{y}_i$ denotes the assigned label of $x_{i}$ . Note that $\\widetilde{y}_i$ is potentially corrupted, and we denote the true label of $x_{i}$ as $\\overline{y}_i$ which is inaccessible during fine-tuning. Specifically, we aim to fine-tune PLMs with samples in $\\mathcal{D}_{tr}$ to achieve satisfactory prediction performance on test samples, while utilizing LLMs as external guidance. Notably, the LLMs remain fixed in our framework, which means we can also use blackbox LLMs. In practice, we implement PLMs for text classification by attaching an additional classifier, which will take the output of the PLM as input and generate class probabilities for classification.",
|
| 394 |
+
"bbox": [
|
| 395 |
+
112,
|
| 396 |
+
109,
|
| 397 |
+
489,
|
| 398 |
+
382
|
| 399 |
+
],
|
| 400 |
+
"page_idx": 2
|
| 401 |
+
},
|
| 402 |
+
{
|
| 403 |
+
"type": "text",
|
| 404 |
+
"text": "4 Methodology",
|
| 405 |
+
"text_level": 1,
|
| 406 |
+
"bbox": [
|
| 407 |
+
112,
|
| 408 |
+
395,
|
| 409 |
+
263,
|
| 410 |
+
411
|
| 411 |
+
],
|
| 412 |
+
"page_idx": 2
|
| 413 |
+
},
|
| 414 |
+
{
|
| 415 |
+
"type": "text",
|
| 416 |
+
"text": "The overall framework of LAFT is illustrated in Fig. 2. In particular, we propose to divide all training samples into three subsets based on the accordance among LLM-generated confidence, PLM-generated confidence, and the assigned labels of samples. In particular, we query an LLM to provide confidence for each training sample, spanning all classes. Combining confidence obtained from both LLMs and PLMs, we perform two steps of separation to segregate the entire training set into three subsets: Easy Clean (EC) Set, Hard Clean (HC) Set, and True Noisy (TN) Set. Each of these subsets, displaying unique behaviors, is then subjected to specific noise-robust fine-tuning strategies.",
|
| 417 |
+
"bbox": [
|
| 418 |
+
112,
|
| 419 |
+
420,
|
| 420 |
+
489,
|
| 421 |
+
645
|
| 422 |
+
],
|
| 423 |
+
"page_idx": 2
|
| 424 |
+
},
|
| 425 |
+
{
|
| 426 |
+
"type": "text",
|
| 427 |
+
"text": "4.1 Confidences",
|
| 428 |
+
"text_level": 1,
|
| 429 |
+
"bbox": [
|
| 430 |
+
112,
|
| 431 |
+
657,
|
| 432 |
+
255,
|
| 433 |
+
670
|
| 434 |
+
],
|
| 435 |
+
"page_idx": 2
|
| 436 |
+
},
|
| 437 |
+
{
|
| 438 |
+
"type": "text",
|
| 439 |
+
"text": "Existing studies establish a correlation between confidences and the degree to which deep models memorize specific samples during training (Arpit et al., 2017; Karim et al., 2022). It has been observed that as the model's memorization of a particular sample strengthens, the model tends to assign higher confidence for this sample (Li et al., 2023). Therefore, these methods generally employ confidences to distinguish between clean and noisy samples based on the assumption that the model cannot easily memorize noisy samples (Pleiss et al., 2020; Swayamdipta et al., 2020). However, applying these strategies to fine-tuning PLMs is suboptimal, as PLMs also present high confidence for noisy samples even in the early stage of fine-tuning, as",
|
| 440 |
+
"bbox": [
|
| 441 |
+
112,
|
| 442 |
+
677,
|
| 443 |
+
489,
|
| 444 |
+
919
|
| 445 |
+
],
|
| 446 |
+
"page_idx": 2
|
| 447 |
+
},
|
| 448 |
+
{
|
| 449 |
+
"type": "image",
|
| 450 |
+
"img_path": "images/bf296710eb0218084c85f1b93ca0b9a76fc3520c9515be4ea52901badfcdadf0.jpg",
|
| 451 |
+
"image_caption": [
|
| 452 |
+
"Figure 2: The detailed process of our framework LAFT. We perform two steps of separation to divide all training samples into three subsets with different degrees of label noise: Easy Clean Set $\\mathcal{E}$ , Hard Clean Set $\\mathcal{H}$ , and True Noisy Set $\\mathcal{N}$ . We further propose three different losses to effectively learn from them: $\\mathcal{L}_{\\mathcal{E}}$ , $\\mathcal{L}_{\\mathcal{H}}$ , and $\\mathcal{L}_{\\mathcal{N}}$ ."
|
| 453 |
+
],
|
| 454 |
+
"image_footnote": [],
|
| 455 |
+
"bbox": [
|
| 456 |
+
539,
|
| 457 |
+
84,
|
| 458 |
+
850,
|
| 459 |
+
309
|
| 460 |
+
],
|
| 461 |
+
"page_idx": 2
|
| 462 |
+
},
|
| 463 |
+
{
|
| 464 |
+
"type": "text",
|
| 465 |
+
"text": "shown in Fig. 1. To deal with this issue, we propose the utilization of external guidance, in the form of confidences generated by LLMs. Before delving into the specifics of our framework, we provide a formal definition of confidences. Denote the output of the final layer (i.e., the classifier) in PLMs for sample $x_{i}$ as $\\mathbf{z}(x_i)\\in \\mathbb{R}^N$ , where $N$ is the number of classes. The confidence of $x_{i}$ for the $j$ -th class $c_{j}$ can be represented as follows:",
|
| 466 |
+
"bbox": [
|
| 467 |
+
507,
|
| 468 |
+
412,
|
| 469 |
+
882,
|
| 470 |
+
557
|
| 471 |
+
],
|
| 472 |
+
"page_idx": 2
|
| 473 |
+
},
|
| 474 |
+
{
|
| 475 |
+
"type": "equation",
|
| 476 |
+
"text": "\n$$\n\\widetilde {p} \\left(c _ {j}; x _ {i}\\right) = \\frac {\\exp \\left(z \\left(c _ {j} ; x _ {i}\\right)\\right)}{\\sum_ {k = 1} ^ {N} \\exp \\left(z \\left(c _ {k} ; x _ {i}\\right)\\right)}, \\tag {1}\n$$\n",
|
| 477 |
+
"text_format": "latex",
|
| 478 |
+
"bbox": [
|
| 479 |
+
561,
|
| 480 |
+
569,
|
| 481 |
+
882,
|
| 482 |
+
606
|
| 483 |
+
],
|
| 484 |
+
"page_idx": 2
|
| 485 |
+
},
|
| 486 |
+
{
|
| 487 |
+
"type": "text",
|
| 488 |
+
"text": "where $z(c_{j};x_{i})\\in \\mathbb{R}$ is the $j$ -th value in $\\mathbf{z}(x_i)$ . Notably, the confidences are obtained from $\\mathbf{z}(x_i)$ after a softmax function and thus sum up to one.",
|
| 489 |
+
"bbox": [
|
| 490 |
+
507,
|
| 491 |
+
617,
|
| 492 |
+
882,
|
| 493 |
+
665
|
| 494 |
+
],
|
| 495 |
+
"page_idx": 2
|
| 496 |
+
},
|
| 497 |
+
{
|
| 498 |
+
"type": "text",
|
| 499 |
+
"text": "Although LLM-generated confidences can provide external guidance, they are not completely accurate. Thus, We conduct a two-step sample separation process based on both LLM-generated and PLM-generated confidences, with the second step providing a more granular distinction.",
|
| 500 |
+
"bbox": [
|
| 501 |
+
507,
|
| 502 |
+
665,
|
| 503 |
+
882,
|
| 504 |
+
762
|
| 505 |
+
],
|
| 506 |
+
"page_idx": 2
|
| 507 |
+
},
|
| 508 |
+
{
|
| 509 |
+
"type": "text",
|
| 510 |
+
"text": "4.2 Coarse-Grained Separation",
|
| 511 |
+
"text_level": 1,
|
| 512 |
+
"bbox": [
|
| 513 |
+
507,
|
| 514 |
+
769,
|
| 515 |
+
773,
|
| 516 |
+
784
|
| 517 |
+
],
|
| 518 |
+
"page_idx": 2
|
| 519 |
+
},
|
| 520 |
+
{
|
| 521 |
+
"type": "text",
|
| 522 |
+
"text": "For the first step of separation, we aim to select samples that are easy to be identified as clean data with guidance from LLMs. Thus, we perform Coarse-grained Separation, utilizing confidences generated by LLMs with the raw text data included in the prompt. Here we provide an example of the prompt for querying the LLM to obtain the confidence value for each class:",
|
| 523 |
+
"bbox": [
|
| 524 |
+
507,
|
| 525 |
+
790,
|
| 526 |
+
884,
|
| 527 |
+
917
|
| 528 |
+
],
|
| 529 |
+
"page_idx": 2
|
| 530 |
+
},
|
| 531 |
+
{
|
| 532 |
+
"type": "page_number",
|
| 533 |
+
"text": "12530",
|
| 534 |
+
"bbox": [
|
| 535 |
+
477,
|
| 536 |
+
927,
|
| 537 |
+
524,
|
| 538 |
+
940
|
| 539 |
+
],
|
| 540 |
+
"page_idx": 2
|
| 541 |
+
},
|
| 542 |
+
{
|
| 543 |
+
"type": "text",
|
| 544 |
+
"text": "Classify the following content: $\\{input\\text{text}\\}$ . Select the label from $\\{Class1\\}$ , $\\{Class2\\}$ , ..., $\\{ClassN\\}$ and output a confidence value for each of them.",
|
| 545 |
+
"bbox": [
|
| 546 |
+
129,
|
| 547 |
+
87,
|
| 548 |
+
473,
|
| 549 |
+
151
|
| 550 |
+
],
|
| 551 |
+
"page_idx": 3
|
| 552 |
+
},
|
| 553 |
+
{
|
| 554 |
+
"type": "text",
|
| 555 |
+
"text": "We denote the LLM-generated confidence for sample $x_{i}$ regarding class $c_{j}$ as $\\widehat{p}(c_{j};x_{i})$ , where $c_{j} \\in \\mathcal{C} = \\{c_{1},c_{2},\\ldots ,c_{N}\\}$ , and $\\mathcal{C}$ is the class set. Then the label obtained by LLM can be represented as",
|
| 556 |
+
"bbox": [
|
| 557 |
+
112,
|
| 558 |
+
170,
|
| 559 |
+
489,
|
| 560 |
+
235
|
| 561 |
+
],
|
| 562 |
+
"page_idx": 3
|
| 563 |
+
},
|
| 564 |
+
{
|
| 565 |
+
"type": "equation",
|
| 566 |
+
"text": "\n$$\n\\widehat {y} _ {i} = \\underset {j = 1, 2, \\dots , N} {\\operatorname {a r g m a x}} \\widehat {p} \\left(c _ {j}; x _ {i}\\right). \\tag {2}\n$$\n",
|
| 567 |
+
"text_format": "latex",
|
| 568 |
+
"bbox": [
|
| 569 |
+
206,
|
| 570 |
+
247,
|
| 571 |
+
487,
|
| 572 |
+
273
|
| 573 |
+
],
|
| 574 |
+
"page_idx": 3
|
| 575 |
+
},
|
| 576 |
+
{
|
| 577 |
+
"type": "text",
|
| 578 |
+
"text": "To perform coarse-grained separation, we first provide an assumption as the justification:",
|
| 579 |
+
"bbox": [
|
| 580 |
+
112,
|
| 581 |
+
284,
|
| 582 |
+
487,
|
| 583 |
+
316
|
| 584 |
+
],
|
| 585 |
+
"page_idx": 3
|
| 586 |
+
},
|
| 587 |
+
{
|
| 588 |
+
"type": "text",
|
| 589 |
+
"text": "Assumption 1. Samples whose assigned labels are the same as LLM-generated labels (i.e., $\\widehat{y}_i = \\widetilde{y}_i$ ) can be considered almost clean.",
|
| 590 |
+
"bbox": [
|
| 591 |
+
112,
|
| 592 |
+
321,
|
| 593 |
+
487,
|
| 594 |
+
368
|
| 595 |
+
],
|
| 596 |
+
"page_idx": 3
|
| 597 |
+
},
|
| 598 |
+
{
|
| 599 |
+
"type": "text",
|
| 600 |
+
"text": "Note that Assumption 1 is empirically verified in Table 5 in Sec. 5.5. The underlying intuition is that the probability of an LLM-generated label being identical to the assigned label and inconsistent with the ground-truth label is significantly low and thus negligible. In concrete, this assumption allows us to segregate the training samples into two distinct subsets based on the concordance between the LLM-generated label $\\widehat{y}_i$ and the assigned (potentially noisy) label $\\widetilde{y}_i$ of $x_i$ . More specifically, we define the resulting two subsets, the Easy Clean (EC) Set $\\mathcal{E}$ and the Disagreed Set $\\mathcal{D}$ , as follows:",
|
| 601 |
+
"bbox": [
|
| 602 |
+
112,
|
| 603 |
+
374,
|
| 604 |
+
487,
|
| 605 |
+
567
|
| 606 |
+
],
|
| 607 |
+
"page_idx": 3
|
| 608 |
+
},
|
| 609 |
+
{
|
| 610 |
+
"type": "equation",
|
| 611 |
+
"text": "\n$$\n\\mathcal {E} = \\left\\{x _ {i}, \\widetilde {y} _ {i} \\mid \\widehat {y} _ {i} = \\widetilde {y} _ {i} \\right\\}, \\mathcal {D} = \\left\\{x _ {i}, \\widetilde {y} _ {i} \\mid \\widehat {y} _ {i} \\neq \\widetilde {y} _ {i} \\right\\}. \\tag {3}\n$$\n",
|
| 612 |
+
"text_format": "latex",
|
| 613 |
+
"bbox": [
|
| 614 |
+
124,
|
| 615 |
+
580,
|
| 616 |
+
487,
|
| 617 |
+
596
|
| 618 |
+
],
|
| 619 |
+
"page_idx": 3
|
| 620 |
+
},
|
| 621 |
+
{
|
| 622 |
+
"type": "text",
|
| 623 |
+
"text": "It is naturally satisfied that $\\mathcal{E} \\cup \\mathcal{D} = \\mathcal{D}_{tr}$ and $\\mathcal{E} \\cap \\mathcal{D} = \\emptyset$ , where $\\mathcal{D}_{tr}$ is the training set. Since the samples in $\\mathcal{E}$ are already clean, we can directly fine-tune PLMs using LLM-generated labels $\\widehat{y}_i$ based on the cross-entropy loss as follows:",
|
| 624 |
+
"bbox": [
|
| 625 |
+
112,
|
| 626 |
+
609,
|
| 627 |
+
487,
|
| 628 |
+
689
|
| 629 |
+
],
|
| 630 |
+
"page_idx": 3
|
| 631 |
+
},
|
| 632 |
+
{
|
| 633 |
+
"type": "equation",
|
| 634 |
+
"text": "\n$$\n\\mathcal {L} _ {\\mathcal {E}} = - \\frac {1}{| \\mathcal {E} |} \\sum_ {i = 1} ^ {| \\mathcal {E} |} \\sum_ {j = 1} ^ {N} \\widehat {y} _ {i, j} \\log \\widetilde {p} \\left(c _ {j}; x _ {i}\\right), \\tag {4}\n$$\n",
|
| 635 |
+
"text_format": "latex",
|
| 636 |
+
"bbox": [
|
| 637 |
+
161,
|
| 638 |
+
701,
|
| 639 |
+
487,
|
| 640 |
+
747
|
| 641 |
+
],
|
| 642 |
+
"page_idx": 3
|
| 643 |
+
},
|
| 644 |
+
{
|
| 645 |
+
"type": "text",
|
| 646 |
+
"text": "where $\\widetilde{p}(c_j; x_i)$ is the PLM-generated confidence for $x_i$ regarding the $j$ -th class $c_j$ . Here $\\widehat{y}_{i,j} = 1$ if $\\widehat{y}_i = c_j$ , and $\\widehat{y}_{i,j} = 0$ , otherwise.",
|
| 647 |
+
"bbox": [
|
| 648 |
+
112,
|
| 649 |
+
758,
|
| 650 |
+
487,
|
| 651 |
+
808
|
| 652 |
+
],
|
| 653 |
+
"page_idx": 3
|
| 654 |
+
},
|
| 655 |
+
{
|
| 656 |
+
"type": "text",
|
| 657 |
+
"text": "4.3 Fine-Grained Separation",
|
| 658 |
+
"text_level": 1,
|
| 659 |
+
"bbox": [
|
| 660 |
+
112,
|
| 661 |
+
818,
|
| 662 |
+
357,
|
| 663 |
+
834
|
| 664 |
+
],
|
| 665 |
+
"page_idx": 3
|
| 666 |
+
},
|
| 667 |
+
{
|
| 668 |
+
"type": "text",
|
| 669 |
+
"text": "It is noteworthy that, however, the samples in $\\mathcal{D}$ are not completely noisy. This is because the LLM-generated labels are not perfectly correct, as shown in Table 5. Thus, the samples that are clean but incorrectly classified by LLMs will still",
|
| 670 |
+
"bbox": [
|
| 671 |
+
112,
|
| 672 |
+
838,
|
| 673 |
+
487,
|
| 674 |
+
917
|
| 675 |
+
],
|
| 676 |
+
"page_idx": 3
|
| 677 |
+
},
|
| 678 |
+
{
|
| 679 |
+
"type": "text",
|
| 680 |
+
"text": "be categorized into $\\mathcal{D}$ . Therefore, although we can learn from samples in $\\mathcal{E}$ directly with their LLM-generated label $\\widetilde{y}_i$ , it is still challenging to learn from samples in $\\mathcal{D}$ , which are only partially clean. Therefore, we further propose to separate the samples in the disagreed set $\\mathcal{D}$ into two subsets: the Hard Clean (HC) Set $\\mathcal{H}$ and the True Noisy (TN) Set $\\mathcal{N}$ , referred to as fine-grained separation.",
|
| 681 |
+
"bbox": [
|
| 682 |
+
507,
|
| 683 |
+
84,
|
| 684 |
+
882,
|
| 685 |
+
212
|
| 686 |
+
],
|
| 687 |
+
"page_idx": 3
|
| 688 |
+
},
|
| 689 |
+
{
|
| 690 |
+
"type": "text",
|
| 691 |
+
"text": "The intuition is that within the disagreed set $\\mathcal{D}$ , the LLM-generated labels can be incorrect for specific hard samples with correct assigned labels, referred to as Hard Clean (HC) samples. Specifically, the ideal separation for $\\mathcal{D}$ is as follows:",
|
| 692 |
+
"bbox": [
|
| 693 |
+
507,
|
| 694 |
+
212,
|
| 695 |
+
882,
|
| 696 |
+
292
|
| 697 |
+
],
|
| 698 |
+
"page_idx": 3
|
| 699 |
+
},
|
| 700 |
+
{
|
| 701 |
+
"type": "equation",
|
| 702 |
+
"text": "\n$$\n\\begin{array}{l} \\mathcal {H} ^ {*} = \\mathcal {D} \\cap \\left\\{x _ {i}, \\widetilde {y} _ {i} | \\widetilde {y} _ {i} = \\bar {y} _ {i} \\right\\}, \\\\ \\text {实} ^ {*} = \\mathcal {D} \\cap \\{\\dots \\widetilde {\\sim} | \\widetilde {\\sim} (\\dots) \\} \\end{array} \\tag {5}\n$$\n",
|
| 703 |
+
"text_format": "latex",
|
| 704 |
+
"bbox": [
|
| 705 |
+
586,
|
| 706 |
+
305,
|
| 707 |
+
880,
|
| 708 |
+
331
|
| 709 |
+
],
|
| 710 |
+
"page_idx": 3
|
| 711 |
+
},
|
| 712 |
+
{
|
| 713 |
+
"type": "equation",
|
| 714 |
+
"text": "\n$$\n\\mathcal {N} ^ {*} = \\mathcal {D} \\cap \\left\\{x _ {i}, \\widetilde {y} _ {i} | \\widetilde {y} _ {i} \\neq \\bar {y} _ {i} \\right\\},\n$$\n",
|
| 715 |
+
"text_format": "latex",
|
| 716 |
+
"bbox": [
|
| 717 |
+
588,
|
| 718 |
+
326,
|
| 719 |
+
801,
|
| 720 |
+
342
|
| 721 |
+
],
|
| 722 |
+
"page_idx": 3
|
| 723 |
+
},
|
| 724 |
+
{
|
| 725 |
+
"type": "text",
|
| 726 |
+
"text": "where $\\overline{y}_i$ is the true label of $x_i$ . Note that although this ideal separation can be completely precise for separating noisy samples in $\\mathcal{D}$ , it is infeasible in practice, as the true labels are unknown. Therefore, to precisely separate the true noisy samples in $\\mathcal{D}$ , we propose two thresholds for LLM-generated and PLM-generated confidences, respectively.",
|
| 727 |
+
"bbox": [
|
| 728 |
+
507,
|
| 729 |
+
353,
|
| 730 |
+
882,
|
| 731 |
+
464
|
| 732 |
+
],
|
| 733 |
+
"page_idx": 3
|
| 734 |
+
},
|
| 735 |
+
{
|
| 736 |
+
"type": "text",
|
| 737 |
+
"text": "In order to achieve more robust LLM-generated confidences distributed over the label space $\\mathcal{C}$ , we adopt $M$ different augmentations for each input sample to encourage input diversity while keeping the semantics immutable. Denote the augmented samples of $x_{i}$ as $v_{m}(x_{i})$ , where $m = 1,2,\\ldots ,M$ , and $M$ is the number of augmentations. We can obtain the $M$ LLM-generated confidences as $\\widehat{p} (c_j;v_m(x_i))$ for $x_{i}$ regarding the $j$ -th class $c_{j}$ where $m = 1,2,\\dots ,M$ and $j = 1,2,\\dots ,N$ . We aggregate the LLM-generated confidences via the $M$ augmentations as follows:",
|
| 738 |
+
"bbox": [
|
| 739 |
+
507,
|
| 740 |
+
467,
|
| 741 |
+
882,
|
| 742 |
+
659
|
| 743 |
+
],
|
| 744 |
+
"page_idx": 3
|
| 745 |
+
},
|
| 746 |
+
{
|
| 747 |
+
"type": "equation",
|
| 748 |
+
"text": "\n$$\n\\widehat {p} _ {a} \\left(c _ {j}; x _ {i}\\right) = \\frac {1}{M} \\sum_ {m = 1} ^ {M} \\widehat {p} \\left(c _ {j}; v _ {m} \\left(x _ {i}\\right)\\right), \\tag {6}\n$$\n",
|
| 749 |
+
"text_format": "latex",
|
| 750 |
+
"bbox": [
|
| 751 |
+
559,
|
| 752 |
+
671,
|
| 753 |
+
882,
|
| 754 |
+
714
|
| 755 |
+
],
|
| 756 |
+
"page_idx": 3
|
| 757 |
+
},
|
| 758 |
+
{
|
| 759 |
+
"type": "text",
|
| 760 |
+
"text": "where $v_{m}(x_{i})$ is the input example after applying the $m$ -th augmentation. As LLM-generated confidences remain fixed during fine-tuning PLMs, we adopt a fixed threshold $\\widehat{\\tau}$ for fine-grained separation based on $\\widehat{p}_a(c_j; x_i)$ .",
|
| 761 |
+
"bbox": [
|
| 762 |
+
507,
|
| 763 |
+
726,
|
| 764 |
+
882,
|
| 765 |
+
806
|
| 766 |
+
],
|
| 767 |
+
"page_idx": 3
|
| 768 |
+
},
|
| 769 |
+
{
|
| 770 |
+
"type": "text",
|
| 771 |
+
"text": "On the other hand, however, PLMs-generated confidences for each sample will change as the finetuning proceeds, which results in subpar separation performance if we adopt a fixed threshold to select high-confidence samples as clean ones. Intuitively, the confidences should be lower for HC samples at the beginning of fine-tuning, as the model cannot",
|
| 772 |
+
"bbox": [
|
| 773 |
+
507,
|
| 774 |
+
807,
|
| 775 |
+
882,
|
| 776 |
+
917
|
| 777 |
+
],
|
| 778 |
+
"page_idx": 3
|
| 779 |
+
},
|
| 780 |
+
{
|
| 781 |
+
"type": "page_number",
|
| 782 |
+
"text": "12531",
|
| 783 |
+
"bbox": [
|
| 784 |
+
477,
|
| 785 |
+
927,
|
| 786 |
+
522,
|
| 787 |
+
940
|
| 788 |
+
],
|
| 789 |
+
"page_idx": 3
|
| 790 |
+
},
|
| 791 |
+
{
|
| 792 |
+
"type": "text",
|
| 793 |
+
"text": "easily fit these hard samples within several epochs. Nonetheless, the noisy samples are relatively easier to achieve higher confidence, and thus their confidences will easily achieve higher at the beginning. Therefore, we propose an adaptive threshold $\\widetilde{\\tau}(t)$ that will increase as fine-tuning proceeds while not reaching an excessively high value:",
|
| 794 |
+
"bbox": [
|
| 795 |
+
112,
|
| 796 |
+
84,
|
| 797 |
+
489,
|
| 798 |
+
197
|
| 799 |
+
],
|
| 800 |
+
"page_idx": 4
|
| 801 |
+
},
|
| 802 |
+
{
|
| 803 |
+
"type": "equation",
|
| 804 |
+
"text": "\n$$\n\\widetilde {\\tau} (t) = \\widetilde {\\tau} - \\exp (- \\lambda t), \\qquad (7)\n$$\n",
|
| 805 |
+
"text_format": "latex",
|
| 806 |
+
"bbox": [
|
| 807 |
+
213,
|
| 808 |
+
208,
|
| 809 |
+
487,
|
| 810 |
+
225
|
| 811 |
+
],
|
| 812 |
+
"page_idx": 4
|
| 813 |
+
},
|
| 814 |
+
{
|
| 815 |
+
"type": "text",
|
| 816 |
+
"text": "where $\\lambda$ and $\\widetilde{\\tau}$ are hyper-parameters that control the value of threshold $\\widetilde{\\tau}(t)$ as fine-tuning proceeds. $t$ denotes the current number of fine-tuning epochs.",
|
| 817 |
+
"bbox": [
|
| 818 |
+
112,
|
| 819 |
+
236,
|
| 820 |
+
487,
|
| 821 |
+
282
|
| 822 |
+
],
|
| 823 |
+
"page_idx": 4
|
| 824 |
+
},
|
| 825 |
+
{
|
| 826 |
+
"type": "text",
|
| 827 |
+
"text": "Combining the two thresholds, we can perform fine-grained separation by selecting the HC set $\\mathcal{H}$ as follows:",
|
| 828 |
+
"bbox": [
|
| 829 |
+
112,
|
| 830 |
+
285,
|
| 831 |
+
485,
|
| 832 |
+
331
|
| 833 |
+
],
|
| 834 |
+
"page_idx": 4
|
| 835 |
+
},
|
| 836 |
+
{
|
| 837 |
+
"type": "equation",
|
| 838 |
+
"text": "\n$$\n\\begin{array}{l} \\mathcal {H} = \\mathcal {D} \\cap \\left\\{x _ {i}, \\widetilde {y} _ {i} \\mid \\max _ {c \\in \\mathcal {C}} \\widehat {p} _ {a} (c; x _ {i}) < \\widehat {\\tau} \\right\\} \\tag {8} \\\\ \\cap \\left\\{x _ {i}, \\widetilde {y} _ {i} \\mid \\max _ {c \\in \\mathcal {C}} \\widetilde {p} (c; x _ {i}) < \\widetilde {\\tau} (t) \\right\\}, \\\\ \\end{array}\n$$\n",
|
| 839 |
+
"text_format": "latex",
|
| 840 |
+
"bbox": [
|
| 841 |
+
139,
|
| 842 |
+
338,
|
| 843 |
+
487,
|
| 844 |
+
388
|
| 845 |
+
],
|
| 846 |
+
"page_idx": 4
|
| 847 |
+
},
|
| 848 |
+
{
|
| 849 |
+
"type": "text",
|
| 850 |
+
"text": "where $\\widehat{\\tau}$ and $\\widetilde{\\tau}(t)$ are the thresholds for LLM-generated confidence $(\\widehat{p}_a(c_j; x_i))$ and PLMs-generated confidence $(\\widetilde{p}(c_j; x_i))$ , respectively. In this manner, the process of separating HC and TN samples, i.e., fine-grained separation, can benefit from both the LLMs and PLMs. Then the remaining samples are categorized into the True Noisy (TN) set $\\mathcal{N}$ :",
|
| 851 |
+
"bbox": [
|
| 852 |
+
112,
|
| 853 |
+
399,
|
| 854 |
+
489,
|
| 855 |
+
527
|
| 856 |
+
],
|
| 857 |
+
"page_idx": 4
|
| 858 |
+
},
|
| 859 |
+
{
|
| 860 |
+
"type": "equation",
|
| 861 |
+
"text": "\n$$\n\\mathcal {N} = \\mathcal {D} \\backslash \\mathcal {H}. \\tag {9}\n$$\n",
|
| 862 |
+
"text_format": "latex",
|
| 863 |
+
"bbox": [
|
| 864 |
+
248,
|
| 865 |
+
527,
|
| 866 |
+
485,
|
| 867 |
+
544
|
| 868 |
+
],
|
| 869 |
+
"page_idx": 4
|
| 870 |
+
},
|
| 871 |
+
{
|
| 872 |
+
"type": "text",
|
| 873 |
+
"text": "4.4 Learning from the Hard Clean (HC) Set",
|
| 874 |
+
"text_level": 1,
|
| 875 |
+
"bbox": [
|
| 876 |
+
112,
|
| 877 |
+
555,
|
| 878 |
+
475,
|
| 879 |
+
570
|
| 880 |
+
],
|
| 881 |
+
"page_idx": 4
|
| 882 |
+
},
|
| 883 |
+
{
|
| 884 |
+
"type": "text",
|
| 885 |
+
"text": "Now we have divided the disagreed set $\\mathcal{D}$ into $\\mathcal{H}$ and $\\mathcal{N}$ . Recall that ideally, samples in $\\mathcal{H}$ are hard yet correct. Thus, for these samples, we can directly utilize their assigned labels $\\widetilde{y}$ as training labels. Nevertheless, since the fine-grained separation of $\\mathcal{H}$ and $\\mathcal{N}$ cannot be perfect, the samples in $\\mathcal{H}$ may still be noisy. As both LLMs and PLMs fail to provide a confident prediction for samples in $\\mathcal{H}$ , we propose to prioritize the assigned label while also incorporating additional information from LLMs and PLMs. Specifically, we employ a weighted loss based on cross-entropy. The weight is enlarged if the summed confidence of the LLM and the PLM is high. We define the loss as follows:",
|
| 886 |
+
"bbox": [
|
| 887 |
+
112,
|
| 888 |
+
575,
|
| 889 |
+
487,
|
| 890 |
+
800
|
| 891 |
+
],
|
| 892 |
+
"page_idx": 4
|
| 893 |
+
},
|
| 894 |
+
{
|
| 895 |
+
"type": "equation",
|
| 896 |
+
"text": "\n$$\n\\mathcal {L} _ {\\mathcal {H}} = - \\frac {1}{| \\mathcal {H} |} \\sum_ {i = 1} ^ {| \\mathcal {H} |} \\sum_ {j = 1} ^ {N} \\left(\\tilde {y} _ {i, j} + \\phi_ {i, j}\\right) \\log \\widetilde {p} \\left(c _ {j}; x _ {i}\\right), \\tag {10}\n$$\n",
|
| 897 |
+
"text_format": "latex",
|
| 898 |
+
"bbox": [
|
| 899 |
+
127,
|
| 900 |
+
810,
|
| 901 |
+
485,
|
| 902 |
+
869
|
| 903 |
+
],
|
| 904 |
+
"page_idx": 4
|
| 905 |
+
},
|
| 906 |
+
{
|
| 907 |
+
"type": "text",
|
| 908 |
+
"text": "where $\\widetilde{p}(c_j; x_i)$ is the PLM-generated confidence for $x_i$ regarding the $j$ -th class $c_j$ . Here $\\widetilde{y}_{i,j} = 1$ if $\\widetilde{y}_i = c_j$ , and $\\widetilde{y}_{i,j} = 0$ , otherwise. $\\phi_{i,j}$ acts as a",
|
| 909 |
+
"bbox": [
|
| 910 |
+
112,
|
| 911 |
+
870,
|
| 912 |
+
487,
|
| 913 |
+
921
|
| 914 |
+
],
|
| 915 |
+
"page_idx": 4
|
| 916 |
+
},
|
| 917 |
+
{
|
| 918 |
+
"type": "text",
|
| 919 |
+
"text": "weight adjustment that increases when the sum of LLM confidence $\\widehat{p}_a(c_j;x_i)$ and PLM confidence $\\widetilde{p} (c_j;x_i)$ is larger. Intuitively, if the LLM and PLM are with high confidence regarding a specific class, then the information in their confidence can be useful as they are more likely to be correct. Therefore, we define $\\phi_{i,j}$ as follows:",
|
| 920 |
+
"bbox": [
|
| 921 |
+
507,
|
| 922 |
+
84,
|
| 923 |
+
884,
|
| 924 |
+
198
|
| 925 |
+
],
|
| 926 |
+
"page_idx": 4
|
| 927 |
+
},
|
| 928 |
+
{
|
| 929 |
+
"type": "equation",
|
| 930 |
+
"text": "\n$$\n\\phi_ {i, j} = \\max \\left(\\widehat {p} _ {a} \\left(c _ {j}; x _ {i}\\right) + \\widetilde {p} \\left(c _ {j}; x _ {i}\\right) - \\alpha \\widetilde {\\tau} (t), 0\\right), \\tag {11}\n$$\n",
|
| 931 |
+
"text_format": "latex",
|
| 932 |
+
"bbox": [
|
| 933 |
+
515,
|
| 934 |
+
209,
|
| 935 |
+
882,
|
| 936 |
+
241
|
| 937 |
+
],
|
| 938 |
+
"page_idx": 4
|
| 939 |
+
},
|
| 940 |
+
{
|
| 941 |
+
"type": "text",
|
| 942 |
+
"text": "where $\\alpha > 1$ is a hyper-parameter that controls the threshold $\\alpha \\widetilde{\\tau}(t)$ for $\\phi_{i,j}$ . As such information can still be inaccurate, we subtract it by the threshold $\\alpha \\widetilde{\\tau}(t)$ to control its magnitude, such that $\\phi_{i,j}$ also acts as an adaptive loss weight for these samples.",
|
| 943 |
+
"bbox": [
|
| 944 |
+
507,
|
| 945 |
+
243,
|
| 946 |
+
882,
|
| 947 |
+
323
|
| 948 |
+
],
|
| 949 |
+
"page_idx": 4
|
| 950 |
+
},
|
| 951 |
+
{
|
| 952 |
+
"type": "text",
|
| 953 |
+
"text": "4.5 Learning from the True Noisy (TN) Set",
|
| 954 |
+
"text_level": 1,
|
| 955 |
+
"bbox": [
|
| 956 |
+
507,
|
| 957 |
+
334,
|
| 958 |
+
863,
|
| 959 |
+
350
|
| 960 |
+
],
|
| 961 |
+
"page_idx": 4
|
| 962 |
+
},
|
| 963 |
+
{
|
| 964 |
+
"type": "text",
|
| 965 |
+
"text": "After the fine-grained separation, most samples in the True Noisy (TN) Set should be identified as noisy ones. Nevertheless, it is still challenging for PLMs to use their output as pseudo-labels for fine-tuning, as the prediction errors will accumulate and affect subsequent pseudo-labeling results. Fortunately, the confidence generated by LLMs can provide additional guidance to identify the potential labels for samples in the TN set. We first provide Remark 1 to justify the effectiveness of using LLM-generated labels for optimization.",
|
| 966 |
+
"bbox": [
|
| 967 |
+
507,
|
| 968 |
+
355,
|
| 969 |
+
882,
|
| 970 |
+
532
|
| 971 |
+
],
|
| 972 |
+
"page_idx": 4
|
| 973 |
+
},
|
| 974 |
+
{
|
| 975 |
+
"type": "text",
|
| 976 |
+
"text": "Remark 1. LLM-generated labels on the True Noisy Set preserve the same accuracy as that on the whole dataset, as LLMs are not affected by noise.",
|
| 977 |
+
"bbox": [
|
| 978 |
+
507,
|
| 979 |
+
537,
|
| 980 |
+
882,
|
| 981 |
+
585
|
| 982 |
+
],
|
| 983 |
+
"page_idx": 4
|
| 984 |
+
},
|
| 985 |
+
{
|
| 986 |
+
"type": "text",
|
| 987 |
+
"text": "Remark 1, as empirically verified in Sec. 5.5, demonstrates that even when we categorize most noisy samples into True Noisy Set, the LLM-generated labels can still provide decent guidance without sacrificing accuracy. Given the confidence provided by LLMs, we employ a loss that can enable the PLMs to benefit from them. Specifically,",
|
| 988 |
+
"bbox": [
|
| 989 |
+
507,
|
| 990 |
+
590,
|
| 991 |
+
882,
|
| 992 |
+
703
|
| 993 |
+
],
|
| 994 |
+
"page_idx": 4
|
| 995 |
+
},
|
| 996 |
+
{
|
| 997 |
+
"type": "equation",
|
| 998 |
+
"text": "\n$$\n\\begin{array}{l} \\mathcal {L} _ {\\mathcal {N}} = - \\frac {1}{| \\mathcal {N} |} \\sum_ {i = 1} ^ {| \\mathcal {N} |} \\sum_ {j = 1} ^ {N} \\widehat {p} _ {a} (c _ {j}; x _ {i}) \\log \\widetilde {p} (c _ {j}; x _ {i}) \\\\ - \\frac {1}{| \\mathcal {N} |} \\sum_ {i = 1} ^ {| \\mathcal {N} |} \\delta \\left(x _ {i}\\right) \\cdot \\max _ {c \\in \\mathcal {C}} \\widetilde {p} (c; x _ {i}) \\log \\max _ {c \\in \\mathcal {C}} \\widetilde {p} (c; x _ {i}). \\tag {12} \\\\ \\end{array}\n$$\n",
|
| 999 |
+
"text_format": "latex",
|
| 1000 |
+
"bbox": [
|
| 1001 |
+
510,
|
| 1002 |
+
715,
|
| 1003 |
+
882,
|
| 1004 |
+
821
|
| 1005 |
+
],
|
| 1006 |
+
"page_idx": 4
|
| 1007 |
+
},
|
| 1008 |
+
{
|
| 1009 |
+
"type": "text",
|
| 1010 |
+
"text": "Here in the first term, we leverage the confidences generated by LLMs to learn from potentially correct labels. This is because although LLMs cannot completely predict the correct labels, the confidences still preserve the potentially useful information in other incorrect but relevant labels. Such",
|
| 1011 |
+
"bbox": [
|
| 1012 |
+
507,
|
| 1013 |
+
822,
|
| 1014 |
+
882,
|
| 1015 |
+
917
|
| 1016 |
+
],
|
| 1017 |
+
"page_idx": 4
|
| 1018 |
+
},
|
| 1019 |
+
{
|
| 1020 |
+
"type": "page_number",
|
| 1021 |
+
"text": "12532",
|
| 1022 |
+
"bbox": [
|
| 1023 |
+
477,
|
| 1024 |
+
927,
|
| 1025 |
+
524,
|
| 1026 |
+
940
|
| 1027 |
+
],
|
| 1028 |
+
"page_idx": 4
|
| 1029 |
+
},
|
| 1030 |
+
{
|
| 1031 |
+
"type": "text",
|
| 1032 |
+
"text": "benefits cannot be provided by pseudo-labeling, which tends to output a definitive label. For the second term, we utilize the model predictions to exploit useful information from PLMs. The intuition is that, with the relevant label information provided by LLMs, the PLMs can learn accurate label information from the noisy samples in TN set. Consequently, if the model output tends to be confident on specific samples, we can utilize the prediction to further enhance the learning from it. Thus, we further set a threshold for this term, i.e., $\\delta(x_i)$ , defined as follows:",
|
| 1033 |
+
"bbox": [
|
| 1034 |
+
112,
|
| 1035 |
+
84,
|
| 1036 |
+
492,
|
| 1037 |
+
277
|
| 1038 |
+
],
|
| 1039 |
+
"page_idx": 5
|
| 1040 |
+
},
|
| 1041 |
+
{
|
| 1042 |
+
"type": "equation",
|
| 1043 |
+
"text": "\n$$\n\\delta \\left(x _ {i}\\right) = \\left\\{ \\begin{array}{l l} 1, & \\text {i f} \\quad \\max _ {c \\in \\mathcal {C}} \\widetilde {p} (c; x _ {i}) > \\beta \\widetilde {\\tau} (t), \\\\ 0, & \\text {o t h e r w i s e}, \\end{array} \\right. \\tag {13}\n$$\n",
|
| 1044 |
+
"text_format": "latex",
|
| 1045 |
+
"bbox": [
|
| 1046 |
+
134,
|
| 1047 |
+
287,
|
| 1048 |
+
489,
|
| 1049 |
+
331
|
| 1050 |
+
],
|
| 1051 |
+
"page_idx": 5
|
| 1052 |
+
},
|
| 1053 |
+
{
|
| 1054 |
+
"type": "text",
|
| 1055 |
+
"text": "where $\\widetilde{\\tau}(t)$ is computed by Eq. (7). To reduce the effect of confirmation bias, we multiply $\\widetilde{\\tau}(t)$ by $\\beta$ , a hyper-parameter that controls the final adaptive threshold, i.e., $\\beta \\widetilde{\\tau}(t)$ .",
|
| 1056 |
+
"bbox": [
|
| 1057 |
+
112,
|
| 1058 |
+
341,
|
| 1059 |
+
489,
|
| 1060 |
+
405
|
| 1061 |
+
],
|
| 1062 |
+
"page_idx": 5
|
| 1063 |
+
},
|
| 1064 |
+
{
|
| 1065 |
+
"type": "text",
|
| 1066 |
+
"text": "4.6 Fine-tuning Objective",
|
| 1067 |
+
"text_level": 1,
|
| 1068 |
+
"bbox": [
|
| 1069 |
+
112,
|
| 1070 |
+
416,
|
| 1071 |
+
332,
|
| 1072 |
+
432
|
| 1073 |
+
],
|
| 1074 |
+
"page_idx": 5
|
| 1075 |
+
},
|
| 1076 |
+
{
|
| 1077 |
+
"type": "text",
|
| 1078 |
+
"text": "After we separate all training samples into $\\mathcal{E}$ , $\\mathcal{H}$ , and $\\mathcal{N}$ , we can combine the three individual losses for them for PLM fine-tuning. Our final fine-tuning objective can be represented as follows:",
|
| 1079 |
+
"bbox": [
|
| 1080 |
+
112,
|
| 1081 |
+
437,
|
| 1082 |
+
489,
|
| 1083 |
+
501
|
| 1084 |
+
],
|
| 1085 |
+
"page_idx": 5
|
| 1086 |
+
},
|
| 1087 |
+
{
|
| 1088 |
+
"type": "equation",
|
| 1089 |
+
"text": "\n$$\n\\mathcal {L} = \\mathcal {L} _ {\\mathcal {E}} + \\lambda_ {\\mathcal {H}} \\mathcal {L} _ {\\mathcal {H}} + \\lambda_ {\\mathcal {N}} \\mathcal {L} _ {\\mathcal {N}}, \\tag {14}\n$$\n",
|
| 1090 |
+
"text_format": "latex",
|
| 1091 |
+
"bbox": [
|
| 1092 |
+
191,
|
| 1093 |
+
512,
|
| 1094 |
+
487,
|
| 1095 |
+
529
|
| 1096 |
+
],
|
| 1097 |
+
"page_idx": 5
|
| 1098 |
+
},
|
| 1099 |
+
{
|
| 1100 |
+
"type": "text",
|
| 1101 |
+
"text": "where $\\lambda_{\\mathcal{H}}$ and $\\lambda_{\\mathcal{N}}$ are hyper-parameters that control the importance of $\\mathcal{L}_{\\mathcal{H}}$ and $\\mathcal{L}_{\\mathcal{N}}$ , respectively.",
|
| 1102 |
+
"bbox": [
|
| 1103 |
+
112,
|
| 1104 |
+
539,
|
| 1105 |
+
489,
|
| 1106 |
+
571
|
| 1107 |
+
],
|
| 1108 |
+
"page_idx": 5
|
| 1109 |
+
},
|
| 1110 |
+
{
|
| 1111 |
+
"type": "text",
|
| 1112 |
+
"text": "5 Experiments",
|
| 1113 |
+
"text_level": 1,
|
| 1114 |
+
"bbox": [
|
| 1115 |
+
112,
|
| 1116 |
+
583,
|
| 1117 |
+
260,
|
| 1118 |
+
600
|
| 1119 |
+
],
|
| 1120 |
+
"page_idx": 5
|
| 1121 |
+
},
|
| 1122 |
+
{
|
| 1123 |
+
"type": "text",
|
| 1124 |
+
"text": "5.1 Experimental Settings",
|
| 1125 |
+
"text_level": 1,
|
| 1126 |
+
"bbox": [
|
| 1127 |
+
112,
|
| 1128 |
+
609,
|
| 1129 |
+
334,
|
| 1130 |
+
625
|
| 1131 |
+
],
|
| 1132 |
+
"page_idx": 5
|
| 1133 |
+
},
|
| 1134 |
+
{
|
| 1135 |
+
"type": "text",
|
| 1136 |
+
"text": "Datasets. To evaluate the performance of our framework, we first conduct experiments on two synthetic-noise datasets: 20Ng (Lang, 1995) and AGNews (Li and Roth, 2002; Zhang et al., 2015). Following existing works on learning from noisy labels (Patrini et al., 2017; Yao et al., 2020; Zhuang et al., 2023), we adopt three types of synthetic label noise: (1) Symmetric Noise (SN) uniformly changes labels to other classes (Han et al., 2018; Xia et al., 2021). (2) Asymmetric Noise (ASN) changes labels to other similar classes (Tanaka et al., 2018; Bae et al., 2022). (3) Instance-Dependent Noise (IDN) changes labels based on a probability in proportion to the specific sample features (Cheng et al., 2021; Yao et al., 2021). Moreover, we further conduct experiments on three real-world datasets with noisy labels: SemEval (Zhou et al., 2020), TREC (Awasthi et al., 2020), and",
|
| 1137 |
+
"bbox": [
|
| 1138 |
+
112,
|
| 1139 |
+
629,
|
| 1140 |
+
489,
|
| 1141 |
+
917
|
| 1142 |
+
],
|
| 1143 |
+
"page_idx": 5
|
| 1144 |
+
},
|
| 1145 |
+
{
|
| 1146 |
+
"type": "text",
|
| 1147 |
+
"text": "Hausa (Hedderich et al., 2020). More details about these datasets are provided in Appendix B.",
|
| 1148 |
+
"bbox": [
|
| 1149 |
+
507,
|
| 1150 |
+
84,
|
| 1151 |
+
880,
|
| 1152 |
+
116
|
| 1153 |
+
],
|
| 1154 |
+
"page_idx": 5
|
| 1155 |
+
},
|
| 1156 |
+
{
|
| 1157 |
+
"type": "text",
|
| 1158 |
+
"text": "Baselines. We compare our framework to state-of-the-art baselines for learning from noisy labels. In particular, we compare to (1) Base (Devlin et al., 2018) that performs fine-tuning with standard cross-entropy loss; (2) Regularization Methods: Mixup (Zhang et al., 2018) and GCE (Zhang and Sabuncu, 2018); (3) Sample-selection Methods: Co-teaching (Han et al., 2018), Co-teaching+ (Yu et al., 2019), JoCoR (Wei et al., 2020), CR (Zhou and Chen, 2021), and NPC (Bae et al., 2022). Additional details are provided in Appendix C.",
|
| 1159 |
+
"bbox": [
|
| 1160 |
+
507,
|
| 1161 |
+
118,
|
| 1162 |
+
884,
|
| 1163 |
+
294
|
| 1164 |
+
],
|
| 1165 |
+
"page_idx": 5
|
| 1166 |
+
},
|
| 1167 |
+
{
|
| 1168 |
+
"type": "text",
|
| 1169 |
+
"text": "Implementation Details. We use BERT (Devlin et al., 2018) as the text encoder for all datasets except Hausa, for which we use mBERT. The classifier is implemented as a fully-connected layer and randomly initialized at the beginning, while both the encoder and the classifier will be updated via gradient descent during fine-tuning. All experiments are evaluated on a clean test set, and the average accuracy along with the standard deviation over ten runs is reported for each dataset. We provide more details about the implementation in Appendix D, and our code is provided at https://github.com/SongW-SW/LAFT.",
|
| 1170 |
+
"bbox": [
|
| 1171 |
+
507,
|
| 1172 |
+
297,
|
| 1173 |
+
884,
|
| 1174 |
+
507
|
| 1175 |
+
],
|
| 1176 |
+
"page_idx": 5
|
| 1177 |
+
},
|
| 1178 |
+
{
|
| 1179 |
+
"type": "text",
|
| 1180 |
+
"text": "5.2 Comparison on Synthetic Datasets",
|
| 1181 |
+
"text_level": 1,
|
| 1182 |
+
"bbox": [
|
| 1183 |
+
507,
|
| 1184 |
+
524,
|
| 1185 |
+
825,
|
| 1186 |
+
539
|
| 1187 |
+
],
|
| 1188 |
+
"page_idx": 5
|
| 1189 |
+
},
|
| 1190 |
+
{
|
| 1191 |
+
"type": "text",
|
| 1192 |
+
"text": "In this subsection, we compare our framework with other baselines on synthetic datasets $20\\mathrm{Ng}$ and AGNews, considering different noise types and ratios. Specifically, for Symmetric Noise (SN), we conduct experiments on three different noise rates: $20\\%$ , $40\\%$ , and $60\\%$ . For the other two types of noise, i.e., Asymmetric Noise (AN) and Instance-Dependent Noise (IDN), we adopt two noise rates: $20\\%$ and $40\\%$ . We present the results in Table 1, 2, and 3. The key observations drawn from the outcomes are as follows: (1) Regardless of the noise type, our LAFT framework persistently surpasses other state-of-the-art baselines, thus showcasing its effectiveness in fine-tuning PLMs with noisy labels. (2) LAFT's performance improvement over other baselines is slightly more pronounced on the $20\\mathrm{Ng}$ dataset compared to AGNews. This is attributable to $20\\mathrm{Ng}$ containing a greater number of classes ( $N = 20$ ) as opposed to AGNews ( $N = 4$ ). Consequently, our strategy of utilizing LLM-generated confidence can capitalize on the similar labels within $20\\mathrm{Ng}$ for PLM fine-tuning, even if LLM predictions are not entirely accurate.",
|
| 1193 |
+
"bbox": [
|
| 1194 |
+
507,
|
| 1195 |
+
549,
|
| 1196 |
+
884,
|
| 1197 |
+
917
|
| 1198 |
+
],
|
| 1199 |
+
"page_idx": 5
|
| 1200 |
+
},
|
| 1201 |
+
{
|
| 1202 |
+
"type": "page_number",
|
| 1203 |
+
"text": "12533",
|
| 1204 |
+
"bbox": [
|
| 1205 |
+
477,
|
| 1206 |
+
927,
|
| 1207 |
+
524,
|
| 1208 |
+
940
|
| 1209 |
+
],
|
| 1210 |
+
"page_idx": 5
|
| 1211 |
+
},
|
| 1212 |
+
{
|
| 1213 |
+
"type": "table",
|
| 1214 |
+
"img_path": "images/748719c58f03c945ab920b492655f390737b8b97572f49ed8faab95306bba765.jpg",
|
| 1215 |
+
"table_caption": [
|
| 1216 |
+
"Table 1: The overall performance of various models on synthetic noisy datasets ${20}\\mathrm{{Ng}}$ and AGNews with Symmetric Noise (SN),where accuracy and standard deviation are reported in %,and the best results are in bold."
|
| 1217 |
+
],
|
| 1218 |
+
"table_footnote": [],
|
| 1219 |
+
"table_body": "<table><tr><td>Dataset</td><td colspan=\"3\">20Ng</td><td colspan=\"3\">AGNews</td></tr><tr><td>SN Ratio</td><td>20%</td><td>40%</td><td>60%</td><td>20%</td><td>40%</td><td>60%</td></tr><tr><td>Base</td><td>79.15 ± 0.29</td><td>71.74 ± 0.07</td><td>61.87 ± 1.58</td><td>81.77 ± 0.33</td><td>78.33 ± 0.47</td><td>73.07 ± 1.49</td></tr><tr><td>Mixup</td><td>79.10 ± 0.21</td><td>70.58 ± 0.22</td><td>62.48 ± 2.04</td><td>81.25 ± 0.02</td><td>78.24 ± 0.77</td><td>73.12 ± 1.58</td></tr><tr><td>GCE</td><td>79.56 ± 0.39</td><td>70.46 ± 0.42</td><td>62.61 ± 1.01</td><td>82.98 ± 0.20</td><td>78.46 ± 0.20</td><td>72.75 ± 0.27</td></tr><tr><td>Co-teaching</td><td>76.68 ± 0.86</td><td>69.23 ± 0.62</td><td>61.39 ± 3.15</td><td>80.99 ± 0.88</td><td>76.82 ± 2.01</td><td>71.49 ± 2.74</td></tr><tr><td>Co-teaching+</td><td>78.78 ± 0.96</td><td>71.33 ± 2.31</td><td>62.90 ± 1.55</td><td>80.95 ± 0.86</td><td>77.98 ± 0.76</td><td>72.73 ± 0.98</td></tr><tr><td>JoCoR</td><td>80.11 ± 0.42</td><td>73.52 ± 0.88</td><td>63.52 ± 0.22</td><td>83.60 ± 0.54</td><td>79.45 ± 0.38</td><td>75.45 ± 0.30</td></tr><tr><td>CR</td><td>81.80 ± 0.48</td><td>74.16 ± 0.13</td><td>64.22 ± 1.25</td><td>84.09 ± 0.39</td><td>80.12 ± 0.95</td><td>75.06 ± 1.01</td></tr><tr><td>NPC</td><td>80.38 ± 0.35</td><td>72.93 ± 0.23</td><td>64.38 ± 0.38</td><td>84.28 ± 0.47</td><td>80.26 ± 1.39</td><td>73.81 ± 0.18</td></tr><tr><td>LAFT (Ours)</td><td>82.04 ± 0.11</td><td>76.93 ± 0.60</td><td>70.79 ± 1.98</td><td>90.86 ± 0.02</td><td>88.61 ± 0.25</td><td>80.79 ± 2.32</td></tr></table>",
|
| 1220 |
+
"bbox": [
|
| 1221 |
+
119,
|
| 1222 |
+
116,
|
| 1223 |
+
884,
|
| 1224 |
+
302
|
| 1225 |
+
],
|
| 1226 |
+
"page_idx": 6
|
| 1227 |
+
},
|
| 1228 |
+
{
|
| 1229 |
+
"type": "table",
|
| 1230 |
+
"img_path": "images/ae70b3cb8c12cb6eec741e19318d513c52fa323d7f12002a69a6e7bbe03d9079.jpg",
|
| 1231 |
+
"table_caption": [
|
| 1232 |
+
"Table 2: The overall performance on ${20}\\mathrm{{Ng}}$ and AGNews with Asymmetric Noise (AN)."
|
| 1233 |
+
],
|
| 1234 |
+
"table_footnote": [],
|
| 1235 |
+
"table_body": "<table><tr><td>Dataset</td><td colspan=\"2\">20Ng</td><td colspan=\"2\">AGNews</td></tr><tr><td>AN Ratio</td><td>20%</td><td>40%</td><td>20%</td><td>40%</td></tr><tr><td>Base</td><td>75.34</td><td>59.65</td><td>82.24</td><td>76.35</td></tr><tr><td>Mixup</td><td>75.84</td><td>62.19</td><td>82.12</td><td>77.45</td></tr><tr><td>GCE</td><td>76.41</td><td>62.37</td><td>83.19</td><td>77.49</td></tr><tr><td>Co-teaching</td><td>77.49</td><td>64.55</td><td>84.15</td><td>79.16</td></tr><tr><td>Co-teaching+</td><td>77.98</td><td>63.48</td><td>86.12</td><td>81.02</td></tr><tr><td>JoCoR</td><td>81.27</td><td>70.99</td><td>87.63</td><td>82.79</td></tr><tr><td>CR</td><td>81.08</td><td>67.22</td><td>88.58</td><td>83.07</td></tr><tr><td>NPC</td><td>79.03</td><td>65.54</td><td>86.83</td><td>80.21</td></tr><tr><td>LAFT (Ours)</td><td>83.70</td><td>81.97</td><td>91.95</td><td>90.12</td></tr></table>",
|
| 1236 |
+
"bbox": [
|
| 1237 |
+
124,
|
| 1238 |
+
349,
|
| 1239 |
+
478,
|
| 1240 |
+
533
|
| 1241 |
+
],
|
| 1242 |
+
"page_idx": 6
|
| 1243 |
+
},
|
| 1244 |
+
{
|
| 1245 |
+
"type": "table",
|
| 1246 |
+
"img_path": "images/24b8c987e9dd19e38aef317d07a7c7537b26e9125c6f18b43f419a9b8a045053.jpg",
|
| 1247 |
+
"table_caption": [
|
| 1248 |
+
"Table 3: The overall performance on $20\\mathrm{Ng}$ and AGNews with Instance-Dependent Noise (IDN)."
|
| 1249 |
+
],
|
| 1250 |
+
"table_footnote": [],
|
| 1251 |
+
"table_body": "<table><tr><td>Dataset</td><td colspan=\"2\">20Ng</td><td colspan=\"2\">AGNews</td></tr><tr><td>IDN Ratio</td><td>20%</td><td>40%</td><td>20%</td><td>40%</td></tr><tr><td>Base</td><td>78.23</td><td>70.28</td><td>85.40</td><td>78.66</td></tr><tr><td>Mixup</td><td>78.21</td><td>70.45</td><td>84.71</td><td>79.22</td></tr><tr><td>GCE</td><td>79.99</td><td>71.74</td><td>87.11</td><td>80.49</td></tr><tr><td>Co-teaching</td><td>77.43</td><td>70.76</td><td>84.09</td><td>78.43</td></tr><tr><td>Co-teaching+</td><td>79.89</td><td>71.52</td><td>88.21</td><td>82.30</td></tr><tr><td>JoCoR</td><td>81.83</td><td>74.04</td><td>88.24</td><td>82.66</td></tr><tr><td>CR</td><td>83.04</td><td>75.51</td><td>90.72</td><td>84.38</td></tr><tr><td>NPC</td><td>81.84</td><td>74.45</td><td>89.90</td><td>82.40</td></tr><tr><td>LAFT (Ours)</td><td>83.61</td><td>80.49</td><td>91.94</td><td>89.34</td></tr></table>",
|
| 1252 |
+
"bbox": [
|
| 1253 |
+
519,
|
| 1254 |
+
349,
|
| 1255 |
+
873,
|
| 1256 |
+
533
|
| 1257 |
+
],
|
| 1258 |
+
"page_idx": 6
|
| 1259 |
+
},
|
| 1260 |
+
{
|
| 1261 |
+
"type": "text",
|
| 1262 |
+
"text": "(3) Certain regularization methods, such as Mixup and GCE, exhibit subpar performance when applied to datasets with a higher noise ratio of $60\\%$ . This is because these methods rely on all training samples for PLM fine-tuning, making them more susceptible to strong label noises.",
|
| 1263 |
+
"bbox": [
|
| 1264 |
+
112,
|
| 1265 |
+
558,
|
| 1266 |
+
487,
|
| 1267 |
+
653
|
| 1268 |
+
],
|
| 1269 |
+
"page_idx": 6
|
| 1270 |
+
},
|
| 1271 |
+
{
|
| 1272 |
+
"type": "text",
|
| 1273 |
+
"text": "5.3 Comparison on Real-world Datasets",
|
| 1274 |
+
"text_level": 1,
|
| 1275 |
+
"bbox": [
|
| 1276 |
+
112,
|
| 1277 |
+
668,
|
| 1278 |
+
445,
|
| 1279 |
+
684
|
| 1280 |
+
],
|
| 1281 |
+
"page_idx": 6
|
| 1282 |
+
},
|
| 1283 |
+
{
|
| 1284 |
+
"type": "text",
|
| 1285 |
+
"text": "In this subsection, we conduct experiments on real-world datasets: SemEval (Zhou et al., 2020), TREC (Awasthi et al., 2020), and Hausa (Hedderich et al., 2020). From the results in Table 4, we observe that LAFT outperforms other baseline methods on all three datasets. Moreover, the results of LAFT are noticeably competitive on TREC and Hausa with relatively higher noise ratios, which further demonstrates the strong robustness and generalization ability of LAFT to label noise.",
|
| 1286 |
+
"bbox": [
|
| 1287 |
+
112,
|
| 1288 |
+
690,
|
| 1289 |
+
489,
|
| 1290 |
+
851
|
| 1291 |
+
],
|
| 1292 |
+
"page_idx": 6
|
| 1293 |
+
},
|
| 1294 |
+
{
|
| 1295 |
+
"type": "text",
|
| 1296 |
+
"text": "5.4 Ablation Study",
|
| 1297 |
+
"text_level": 1,
|
| 1298 |
+
"bbox": [
|
| 1299 |
+
112,
|
| 1300 |
+
864,
|
| 1301 |
+
280,
|
| 1302 |
+
879
|
| 1303 |
+
],
|
| 1304 |
+
"page_idx": 6
|
| 1305 |
+
},
|
| 1306 |
+
{
|
| 1307 |
+
"type": "text",
|
| 1308 |
+
"text": "In this subsection, we systematically remove specific components from our framework and ana",
|
| 1309 |
+
"bbox": [
|
| 1310 |
+
112,
|
| 1311 |
+
887,
|
| 1312 |
+
489,
|
| 1313 |
+
917
|
| 1314 |
+
],
|
| 1315 |
+
"page_idx": 6
|
| 1316 |
+
},
|
| 1317 |
+
{
|
| 1318 |
+
"type": "text",
|
| 1319 |
+
"text": "lyze the resulting impact on performance. We conduct experiments with the following variants: (1) LAFT\\C performs coarse-grained separation without LLMs and thus only separates the Easy Clean Set based on PLM predictions. (2) LAFT\\F performs fine-grained separation without LLMs, which means when separating Hard Clean Set, only PLM-generated confidence are used. (3) LAFT\\N removes our proposed loss $\\mathcal{L}_{\\mathcal{N}}$ for True Noisy Set and replaces it with pseudo-labeling based on the most confident PLM prediction. From the results presented in Figure 3, we observe that LAFT outperforms all variants, which verifies the effectiveness of these designs in LAFT. Specifically, removing the learning loss $\\mathcal{L}_{\\mathcal{N}}$ leads to significant performance degradation, indicating that such a design can effectively alleviate the adverse impact of noisy labels. Moreover, without the fine-grained separation strategy, the performance deteriorates rapidly when the noise ratio is larger, indicating the importance of fine-grained separation in the presence of higher noise ratios.",
|
| 1320 |
+
"bbox": [
|
| 1321 |
+
507,
|
| 1322 |
+
565,
|
| 1323 |
+
884,
|
| 1324 |
+
917
|
| 1325 |
+
],
|
| 1326 |
+
"page_idx": 6
|
| 1327 |
+
},
|
| 1328 |
+
{
|
| 1329 |
+
"type": "page_number",
|
| 1330 |
+
"text": "12534",
|
| 1331 |
+
"bbox": [
|
| 1332 |
+
477,
|
| 1333 |
+
927,
|
| 1334 |
+
524,
|
| 1335 |
+
940
|
| 1336 |
+
],
|
| 1337 |
+
"page_idx": 6
|
| 1338 |
+
},
|
| 1339 |
+
{
|
| 1340 |
+
"type": "table",
|
| 1341 |
+
"img_path": "images/f0ede45c0dd30cb5a4a09f6ce46916bd2220e933a8462cdcecc61a455b01cfee.jpg",
|
| 1342 |
+
"table_caption": [
|
| 1343 |
+
"Table 4: The overall performance of various models on three real-world noisy datasets."
|
| 1344 |
+
],
|
| 1345 |
+
"table_footnote": [],
|
| 1346 |
+
"table_body": "<table><tr><td>Dataset</td><td>SemEval</td><td>TREC</td><td>Hausa</td></tr><tr><td>Noise Ratio</td><td>16.00%</td><td>38.56%</td><td>50.37%</td></tr><tr><td>Base</td><td>70.61</td><td>67.42</td><td>47.80</td></tr><tr><td>Mixup</td><td>73.41</td><td>68.44</td><td>47.66</td></tr><tr><td>GCE</td><td>71.91</td><td>67.86</td><td>48.12</td></tr><tr><td>Co-teaching</td><td>72.13</td><td>68.19</td><td>47.56</td></tr><tr><td>Co-teaching+</td><td>72.24</td><td>69.83</td><td>48.25</td></tr><tr><td>JoCoR</td><td>70.11</td><td>66.62</td><td>46.48</td></tr><tr><td>CR</td><td>72.94</td><td>68.90</td><td>48.34</td></tr><tr><td>NPC</td><td>71.22</td><td>67.84</td><td>47.48</td></tr><tr><td>LAFT (Ours)</td><td>73.56</td><td>72.34</td><td>51.71</td></tr></table>",
|
| 1347 |
+
"bbox": [
|
| 1348 |
+
126,
|
| 1349 |
+
116,
|
| 1350 |
+
475,
|
| 1351 |
+
302
|
| 1352 |
+
],
|
| 1353 |
+
"page_idx": 7
|
| 1354 |
+
},
|
| 1355 |
+
{
|
| 1356 |
+
"type": "image",
|
| 1357 |
+
"img_path": "images/c31d82dbdf869e580a2f9c61eceef8f3d0843b796d5960c8a6a7325015caf233.jpg",
|
| 1358 |
+
"image_caption": [
|
| 1359 |
+
"Figure 3: Ablation study of our framework on $20\\mathrm{Ng}$ . S-0.2 and S-0.4 (A, or ID) refer to the noise ratios of $20\\%$ and $40\\%$ for SN (AN, or IDN), respectively."
|
| 1360 |
+
],
|
| 1361 |
+
"image_footnote": [],
|
| 1362 |
+
"bbox": [
|
| 1363 |
+
127,
|
| 1364 |
+
326,
|
| 1365 |
+
473,
|
| 1366 |
+
470
|
| 1367 |
+
],
|
| 1368 |
+
"page_idx": 7
|
| 1369 |
+
},
|
| 1370 |
+
{
|
| 1371 |
+
"type": "text",
|
| 1372 |
+
"text": "5.5 Evaluation of LLMs-generated Labels",
|
| 1373 |
+
"text_level": 1,
|
| 1374 |
+
"bbox": [
|
| 1375 |
+
112,
|
| 1376 |
+
555,
|
| 1377 |
+
460,
|
| 1378 |
+
570
|
| 1379 |
+
],
|
| 1380 |
+
"page_idx": 7
|
| 1381 |
+
},
|
| 1382 |
+
{
|
| 1383 |
+
"type": "text",
|
| 1384 |
+
"text": "In this subsection, we evaluate the effectiveness of LLMs regarding the quality of generated confidence, presented in Table 5. Specifically, we report the accuracy of LLM-generated prediction on the training set in $20\\mathrm{Ng}$ and AGNews. The statistics are from experiments on $20\\mathrm{Ng}$ and AGNews with $20\\%$ Symmetric Noise (SN). From the results, we can observe that: (1) For Easy Clean Set, the LLM-generated labels exhibit a remarkably high degree of correctness. This empirical finding provides the justification for Assumption 1, which allows for leveraging LLMs to perform coarse-grained separation in our framework. (2) For the TN set, LLM-generated labels are not entirely correct, while still preserving similar accuracy compared to that on all samples. This result empirically verifies Remark 1 and justifies our strategy of utilizing LMM-generated confidence for learning from the TN set. (3) Considering the overall result, LLM-generated labels generally exhibit lower accuracy than PLM-based baselines. That being said, LLMs cannot be",
|
| 1385 |
+
"bbox": [
|
| 1386 |
+
112,
|
| 1387 |
+
581,
|
| 1388 |
+
489,
|
| 1389 |
+
917
|
| 1390 |
+
],
|
| 1391 |
+
"page_idx": 7
|
| 1392 |
+
},
|
| 1393 |
+
{
|
| 1394 |
+
"type": "table",
|
| 1395 |
+
"img_path": "images/16fa0df6b65518263846b1774ecd3f0298e14f8361b8f30839ca504f03ab6f90.jpg",
|
| 1396 |
+
"table_caption": [
|
| 1397 |
+
"Table 5: The LLM-generated prediction accuracy on the training set in $20\\mathrm{Ng}$ and AGNews in the ideal separation and real separation (shown in gray) during fine-tuning."
|
| 1398 |
+
],
|
| 1399 |
+
"table_footnote": [],
|
| 1400 |
+
"table_body": "<table><tr><td>Dataset</td><td>EC Set</td><td>HC Set</td><td>TN Set</td><td>Overall</td></tr><tr><td rowspan=\"2\">20Ng</td><td>99.46%</td><td>0%</td><td>76.47%</td><td>75.34%</td></tr><tr><td>99.46%</td><td>3.58%</td><td>69.44%</td><td>75.34%</td></tr><tr><td rowspan=\"2\">AGNews</td><td>99.03%</td><td>0%</td><td>79.35%</td><td>81.41%</td></tr><tr><td>99.03%</td><td>2.05%</td><td>76.07%</td><td>81.41%</td></tr></table>",
|
| 1401 |
+
"bbox": [
|
| 1402 |
+
521,
|
| 1403 |
+
131,
|
| 1404 |
+
868,
|
| 1405 |
+
219
|
| 1406 |
+
],
|
| 1407 |
+
"page_idx": 7
|
| 1408 |
+
},
|
| 1409 |
+
{
|
| 1410 |
+
"type": "image",
|
| 1411 |
+
"img_path": "images/4721ed0b99bd091e0337b9638f15f3c1c9508eb82d4f2f4bece63748b5ffd5a9.jpg",
|
| 1412 |
+
"image_caption": [
|
| 1413 |
+
"Figure 4: The results of our framework and the best baseline CR on $20\\mathrm{Ng}$ with different noise ratios for three types of noise: SN, AN, and IDN."
|
| 1414 |
+
],
|
| 1415 |
+
"image_footnote": [],
|
| 1416 |
+
"bbox": [
|
| 1417 |
+
522,
|
| 1418 |
+
239,
|
| 1419 |
+
868,
|
| 1420 |
+
382
|
| 1421 |
+
],
|
| 1422 |
+
"page_idx": 7
|
| 1423 |
+
},
|
| 1424 |
+
{
|
| 1425 |
+
"type": "text",
|
| 1426 |
+
"text": "directly used to replace PLMs for the text classification task when the noise ratio is not extremely high. Nevertheless, our strategy can effectively leverage the LLM-generated confidences, despite their lack of complete correctness, to enhance the fine-tuning performance of PLMs with noisy labels.",
|
| 1427 |
+
"bbox": [
|
| 1428 |
+
507,
|
| 1429 |
+
468,
|
| 1430 |
+
882,
|
| 1431 |
+
565
|
| 1432 |
+
],
|
| 1433 |
+
"page_idx": 7
|
| 1434 |
+
},
|
| 1435 |
+
{
|
| 1436 |
+
"type": "text",
|
| 1437 |
+
"text": "5.6 Results with Different Noise Ratios",
|
| 1438 |
+
"text_level": 1,
|
| 1439 |
+
"bbox": [
|
| 1440 |
+
507,
|
| 1441 |
+
575,
|
| 1442 |
+
830,
|
| 1443 |
+
589
|
| 1444 |
+
],
|
| 1445 |
+
"page_idx": 7
|
| 1446 |
+
},
|
| 1447 |
+
{
|
| 1448 |
+
"type": "text",
|
| 1449 |
+
"text": "Figure 4 presents the evaluation of our proposed framework across a spectrum of noise ratios on $20\\mathrm{Ng}$ , ranging from 0.1 to 0.9, while considering three distinct types of noise: SN, AN, and IDN. From the results, several significant observations are discovered: (1) With increasing noise ratios, all baseline methods consistently show a deterioration in performance. This decline can be tied to the amplified difficulty of label noise during PLM fin-tuning. (2) Despite the escalating noise ratios, our framework maintains a relatively more robust performance. This is attributed to our sample separation strategy which adeptly discerns clean samples within the training set, thus alleviating the adverse effects of label noise. (3) Our framework demonstrates a slower performance decrease with AN noise compared to other types of noise. This can be credited to the adaptive nature of our approach that employs LLM-generated confidence to effectively learn from similar labels for each sample.",
|
| 1450 |
+
"bbox": [
|
| 1451 |
+
507,
|
| 1452 |
+
596,
|
| 1453 |
+
884,
|
| 1454 |
+
917
|
| 1455 |
+
],
|
| 1456 |
+
"page_idx": 7
|
| 1457 |
+
},
|
| 1458 |
+
{
|
| 1459 |
+
"type": "page_number",
|
| 1460 |
+
"text": "12535",
|
| 1461 |
+
"bbox": [
|
| 1462 |
+
477,
|
| 1463 |
+
927,
|
| 1464 |
+
524,
|
| 1465 |
+
940
|
| 1466 |
+
],
|
| 1467 |
+
"page_idx": 7
|
| 1468 |
+
},
|
| 1469 |
+
{
|
| 1470 |
+
"type": "text",
|
| 1471 |
+
"text": "6 Conclusion",
|
| 1472 |
+
"text_level": 1,
|
| 1473 |
+
"bbox": [
|
| 1474 |
+
114,
|
| 1475 |
+
84,
|
| 1476 |
+
247,
|
| 1477 |
+
99
|
| 1478 |
+
],
|
| 1479 |
+
"page_idx": 8
|
| 1480 |
+
},
|
| 1481 |
+
{
|
| 1482 |
+
"type": "text",
|
| 1483 |
+
"text": "This paper delves into the issue of fine-tuning Pre-trained Language Models (PLMs) with noisy labels for text classification tasks. We address the detrimental effects of label noise by harnessing external guidance from Large Language Models (LLMs) in the form of confidence. Our approach entails a two-step separation strategy that accurately segregates all training samples into three distinct subsets, each treated with innovative noise-resilient strategies. In summary, our framework adeptly finetunes PLMs in the face of noisy samples, requiring minimal external guidance from LLMs.",
|
| 1484 |
+
"bbox": [
|
| 1485 |
+
115,
|
| 1486 |
+
108,
|
| 1487 |
+
489,
|
| 1488 |
+
299
|
| 1489 |
+
],
|
| 1490 |
+
"page_idx": 8
|
| 1491 |
+
},
|
| 1492 |
+
{
|
| 1493 |
+
"type": "text",
|
| 1494 |
+
"text": "Acknowledgements",
|
| 1495 |
+
"text_level": 1,
|
| 1496 |
+
"bbox": [
|
| 1497 |
+
115,
|
| 1498 |
+
312,
|
| 1499 |
+
284,
|
| 1500 |
+
328
|
| 1501 |
+
],
|
| 1502 |
+
"page_idx": 8
|
| 1503 |
+
},
|
| 1504 |
+
{
|
| 1505 |
+
"type": "text",
|
| 1506 |
+
"text": "Song Wang and Jundong Li are supported by the National Science Foundation under grants (IIS-2006844, IIS-2144209, IIS-2223769, CNS2154962, and BCS-2228534), the Commonwealth Cyber Initiative awards (VV-1Q23-007, HV2Q23-003, and VV-1Q24-011), the JP Morgan Chase Faculty Research Award, the Cisco Faculty Research Award, the Jefferson Lab subcontract, and the UVA 4-VA collaborative research grant.",
|
| 1507 |
+
"bbox": [
|
| 1508 |
+
115,
|
| 1509 |
+
336,
|
| 1510 |
+
487,
|
| 1511 |
+
480
|
| 1512 |
+
],
|
| 1513 |
+
"page_idx": 8
|
| 1514 |
+
},
|
| 1515 |
+
{
|
| 1516 |
+
"type": "text",
|
| 1517 |
+
"text": "Limitation",
|
| 1518 |
+
"text_level": 1,
|
| 1519 |
+
"bbox": [
|
| 1520 |
+
115,
|
| 1521 |
+
492,
|
| 1522 |
+
210,
|
| 1523 |
+
507
|
| 1524 |
+
],
|
| 1525 |
+
"page_idx": 8
|
| 1526 |
+
},
|
| 1527 |
+
{
|
| 1528 |
+
"type": "text",
|
| 1529 |
+
"text": "Despite the promising results, our work presents several limitations that we must acknowledge: (1) Dependence on Large Language Models (LLMs): Our framework leverages the guidance from LLMs in the form of confidences. This implies that the quality of these confidences and hence the effectiveness of our model are closely tied to the performance of the LLM. Unsatisfactory LLM performance could thus directly impact our framework's efficacy. (2) Noise Types and Ratios: The experiments in this paper mainly focus on three types of noise: Symmetric Noise (SN), Asymmetric Noise (AN), and Instance-Dependent Noise (IDN), with noise ratios up to $60\\%$ . However, there may be other noise types or higher noise ratios in practice, and it remains to be investigated how well our framework performs under these circumstances. (3) Limitations in Sample Separation Strategies: The efficacy of our framework relies on accurately dividing the training samples into clean and noisy subsets. If this distinction is not clear or becomes more complex, our current approach may encounter difficulties. (4) Domain-Specific Text Classification: While the experiments are performed on specific text classification tasks, we do not investigate",
|
| 1530 |
+
"bbox": [
|
| 1531 |
+
115,
|
| 1532 |
+
517,
|
| 1533 |
+
487,
|
| 1534 |
+
917
|
| 1535 |
+
],
|
| 1536 |
+
"page_idx": 8
|
| 1537 |
+
},
|
| 1538 |
+
{
|
| 1539 |
+
"type": "text",
|
| 1540 |
+
"text": "the effectiveness of our approach in more domain-specific contexts where the nature of the noise could be different. (5) Computational Costs: Finally, our approach entails using LLMs which can be computationally expensive and could thus pose a challenge when applied to large datasets or in resource-constrained environments. In summary, future research could focus on overcoming these limitations and exploring the adaptability of our proposed framework to other noise types, higher noise ratios, more complex noise patterns, as well as different task domains.",
|
| 1541 |
+
"bbox": [
|
| 1542 |
+
512,
|
| 1543 |
+
84,
|
| 1544 |
+
882,
|
| 1545 |
+
275
|
| 1546 |
+
],
|
| 1547 |
+
"page_idx": 8
|
| 1548 |
+
},
|
| 1549 |
+
{
|
| 1550 |
+
"type": "text",
|
| 1551 |
+
"text": "Ethics Statement",
|
| 1552 |
+
"text_level": 1,
|
| 1553 |
+
"bbox": [
|
| 1554 |
+
512,
|
| 1555 |
+
294,
|
| 1556 |
+
658,
|
| 1557 |
+
309
|
| 1558 |
+
],
|
| 1559 |
+
"page_idx": 8
|
| 1560 |
+
},
|
| 1561 |
+
{
|
| 1562 |
+
"type": "text",
|
| 1563 |
+
"text": "This research adheres to the principles of ethical conduct in artificial intelligence research. The development and utilization of our work are carried out with full recognition of the potential implications. While our method improves the performance of Pretrained Language Models (PLMs) with noisy labels in text classification tasks, we acknowledge that it could be potentially used in contexts that may involve ethical concerns, such as disinformation or manipulation of opinion on social platforms. Our experiments are performed on five publicly available datasets, namely $20\\mathrm{Ng}$ , AGNews, SemEval, TREC, and Hausa. The datasets are already anonymized and do not contain any personally identifiable information. Moreover, we have complied with all guidelines and standards for the use of these datasets. Furthermore, the use of Large Language Models (LLMs) in our work is subject to the terms and conditions put forth by the creators and hosts of these models. We only empty them for the purpose of enhancing the fine-tuning performance of PLMs and do not exploit them for any inappropriate or unauthorized purposes. While our work focuses on improving the robustness of PLMs to label noise in data, we recognize the broader societal concerns related to the potential misuse of our framework. We advocate for the responsible use of our research findings and encourage continued discourse around the ethical use of machine learning and artificial intelligence technologies in real-world applications. Finally, it is crucial to note that the development of technologies and methodologies in machine learning should be done in conjunction with ongoing considerations about their ethical implications, potential misuse, and societal impacts. It is our responsibility to foster an environment of ethical vigilance in AI research and development.",
|
| 1564 |
+
"bbox": [
|
| 1565 |
+
512,
|
| 1566 |
+
323,
|
| 1567 |
+
882,
|
| 1568 |
+
917
|
| 1569 |
+
],
|
| 1570 |
+
"page_idx": 8
|
| 1571 |
+
},
|
| 1572 |
+
{
|
| 1573 |
+
"type": "page_number",
|
| 1574 |
+
"text": "12536",
|
| 1575 |
+
"bbox": [
|
| 1576 |
+
478,
|
| 1577 |
+
928,
|
| 1578 |
+
524,
|
| 1579 |
+
940
|
| 1580 |
+
],
|
| 1581 |
+
"page_idx": 8
|
| 1582 |
+
},
|
| 1583 |
+
{
|
| 1584 |
+
"type": "text",
|
| 1585 |
+
"text": "References",
|
| 1586 |
+
"text_level": 1,
|
| 1587 |
+
"bbox": [
|
| 1588 |
+
115,
|
| 1589 |
+
84,
|
| 1590 |
+
213,
|
| 1591 |
+
98
|
| 1592 |
+
],
|
| 1593 |
+
"page_idx": 9
|
| 1594 |
+
},
|
| 1595 |
+
{
|
| 1596 |
+
"type": "list",
|
| 1597 |
+
"sub_type": "ref_text",
|
| 1598 |
+
"list_items": [
|
| 1599 |
+
"Christoph Alt, Aleksandra Gabryszak, and Leonhard Hennig. 2020. Tacred revisited: A thorough evaluation of the tacred relation extraction task. In ACL.",
|
| 1600 |
+
"Devansh Arpit, Stanisław Jastrzebski, Nicolas Ballas, David Krueger, Emmanuel Bengio, Maxinder S Kanwal, Tegan Maharaj, Asja Fischer, Aaron Courville, Yoshua Bengio, et al. 2017. A closer look at memorization in deep networks. In ICML.",
|
| 1601 |
+
"Abhijeet Awasthi, Sabyasachi Ghosh, Rasna Goyal, and Sunita Sarawagi. 2020. Learning from rules generalizing labeled exemplars. In *ICLR*.",
|
| 1602 |
+
"HeeSun Bae, Seungjae Shin, Byeonghu Na, JoonHo Jang, Kyungwoo Song, and Il-Chul Moon. 2022. From noisy prediction to true label: Noisy prediction calibration via generative model. In ICML.",
|
| 1603 |
+
"David Berthelot, Nicholas Carlini, Ian Goodfellow, Nicolas Papernot, Avital Oliver, and Colin A Raffel. 2019. Mixmatch: A holistic approach to semi-supervised learning. NeurIPS.",
|
| 1604 |
+
"Hao Cheng, Zhaowei Zhu, Xingyu Li, Yifei Gong, Xing Sun, and Yang Liu. 2021. Learning with instance-dependent label noise: A sample sieve approach. In ICLR.",
|
| 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 |
+
"Erik Englesson and Hossein Azizpour. 2021. Generalized jensen-shannon divergence loss for learning with noisy labels. NeurIPS.",
|
| 1607 |
+
"Bo Han, Quanming Yao, Xingrui Yu, Gang Niu, Miao Xu, Weihua Hu, Ivor Tsang, and Masashi Sugiyama. 2018. Co-teaching: Robust training of deep neural networks with extremely noisy labels. NeurIPS.",
|
| 1608 |
+
"Michael A Hedderich, David I Adelani, Dawei Zhu, Jesujoba Alabi, Udia Markus, and Dietrich Klakow. 2020. Transfer learning and distant supervision for multilingual transformer models: A study on african languages. In EMNLP.",
|
| 1609 |
+
"Lu Jiang, Zhengyuan Zhou, Thomas Leung, Li-Jia Li, and Li Fei-Fei. 2018. Mentornet: Learning data-driven curriculum for very deep neural networks on corrupted labels. In ICML.",
|
| 1610 |
+
"Nazmul Karim, Mamshad Nayeem Rizve, Nazanin Rahnavard, Ajmal Mian, and Mubarak Shah. 2022. Unicon: Combating label noise through uniform selection and contrastive learning. In CVPR.",
|
| 1611 |
+
"Diederik P Kingma and Jimmy Ba. 2015. Adam: A method for stochastic optimization. In ICLR.",
|
| 1612 |
+
"Ken Lang. 1995. Newsweeder: Learning to filter netnews. In Machine Learning Proceedings."
|
| 1613 |
+
],
|
| 1614 |
+
"bbox": [
|
| 1615 |
+
115,
|
| 1616 |
+
107,
|
| 1617 |
+
487,
|
| 1618 |
+
917
|
| 1619 |
+
],
|
| 1620 |
+
"page_idx": 9
|
| 1621 |
+
},
|
| 1622 |
+
{
|
| 1623 |
+
"type": "list",
|
| 1624 |
+
"sub_type": "ref_text",
|
| 1625 |
+
"list_items": [
|
| 1626 |
+
"Bohan Li, Yutai Hou, and Wanxiang Che. 2022. Data augmentation approaches in natural language processing: A survey. AI Open.",
|
| 1627 |
+
"Junnan Li, Richard Socher, and Steven CH Hoi. 2020. Dividemix: Learning with noisy labels as semi-supervised learning. In ICLR.",
|
| 1628 |
+
"Junnan Li, Caiming Xiong, and Steven CH Hoi. 2021. Learning from noisy data with robust representation learning. In ICCV.",
|
| 1629 |
+
"Wen Li, Limin Wang, Wei Li, Eirikur Agustsson, and Luc Van Gool. 2017. Webvision database: Visual learning and understanding from web data. arXiv preprint arXiv:1708.02862.",
|
| 1630 |
+
"Xin Li and Dan Roth. 2002. Learning question classifiers. In COLING.",
|
| 1631 |
+
"Yifan Li, Hu Han, Shiguang Shan, and Xilin Chen. 2023. Disc: Learning from noisy labels via dynamic instance-specific selection and correction. In CVPR.",
|
| 1632 |
+
"Sheng Liu, Jonathan Niles-Weed, Narges Razavian, and Carlos Fernandez-Granda. 2020. Early-learning regularization prevents memorization of noisy labels. NeurIPS.",
|
| 1633 |
+
"Kento Nishi, Yi Ding, Alex Rich, and Tobias Hollerer. 2021. Augmentation strategies for learning with noisy labels. In CVPR.",
|
| 1634 |
+
"OpenAI. 2023. Gpt-4 technical report.",
|
| 1635 |
+
"Giorgio Patrini, Alessandro Rozza, Aditya Krishna Menon, Richard Nock, and Lizhen Qu. 2017. Making deep neural networks robust to label noise: A loss correction approach. In CVPR.",
|
| 1636 |
+
"Geoff Pleiss, Tianyi Zhang, Ethan Elenberg, and Kilian Q Weinberger. 2020. Identifying unlabeled data using the area under the margin ranking. NeurIPS.",
|
| 1637 |
+
"Keisuke Sakaguchi, Ronan Le Bras, Chandra Bhagavatula, and Yejin Choi. 2021. Winogrande: An adversarial winograd schema challenge at scale. Communications of the ACM.",
|
| 1638 |
+
"Kihyuk Sohn, David Berthelot, Nicholas Carlini, Zizhao Zhang, Han Zhang, Colin A Raffel, Ekin Dogus Cubuk, Alexey Kurakin, and Chun-Liang Li. 2020. Fixmatch: Simplifying semi-supervised learning with consistency and confidence. NeurIPS.",
|
| 1639 |
+
"Hwanjun Song, Minseok Kim, and Jae-Gil Lee. 2019. Selfie: Refurbishing unclean samples for robust deep learning. In ICML.",
|
| 1640 |
+
"Swabha Swayamdipta, Roy Schwartz, Nicholas Lourie, Yizhong Wang, Hannaneh Hajishirzi, Noah A Smith, and Yejin Choi. 2020. Dataset cartography: Mapping and diagnosing datasets with training dynamics. In EMNLP."
|
| 1641 |
+
],
|
| 1642 |
+
"bbox": [
|
| 1643 |
+
510,
|
| 1644 |
+
85,
|
| 1645 |
+
882,
|
| 1646 |
+
917
|
| 1647 |
+
],
|
| 1648 |
+
"page_idx": 9
|
| 1649 |
+
},
|
| 1650 |
+
{
|
| 1651 |
+
"type": "page_number",
|
| 1652 |
+
"text": "12537",
|
| 1653 |
+
"bbox": [
|
| 1654 |
+
477,
|
| 1655 |
+
928,
|
| 1656 |
+
524,
|
| 1657 |
+
940
|
| 1658 |
+
],
|
| 1659 |
+
"page_idx": 9
|
| 1660 |
+
},
|
| 1661 |
+
{
|
| 1662 |
+
"type": "list",
|
| 1663 |
+
"sub_type": "ref_text",
|
| 1664 |
+
"list_items": [
|
| 1665 |
+
"Daiki Tanaka, Daiki Ikami, Toshihiko Yamasaki, and Kiyoharu Aizawa. 2018. Joint optimization framework for learning with noisy labels. In CVPR.",
|
| 1666 |
+
"Song Wang, Xingbo Fu, Kaize Ding, Chen Chen, Huiyuan Chen, and Jundong Li. 2023a. Federated few-shot learning. In SIGKDD.",
|
| 1667 |
+
"Song Wang, Jing Ma, Lu Cheng, and Jundong Li. 2023b. Fair few-shot learning with auxiliary sets. In ECAI.",
|
| 1668 |
+
"Yaqing Wang, Song Wang, Yanyan Li, and Dejing Dou. 2022. Recognizing medical search query intent by few-shot learning. In SIGIR.",
|
| 1669 |
+
"Yaqing Wang, Song Wang, Quanming Yao, and Dejing Dou. 2021. Hierarchical heterogeneous graph representation learning for short text classification. In EMNLP.",
|
| 1670 |
+
"Hongxin Wei, Lei Feng, Xiangyu Chen, and Bo An. 2020. Combating noisy labels by agreement: A joint training method with co-regularization. In CVPR.",
|
| 1671 |
+
"Jason Wei and Kai Zou. 2019. Eda: Easy data augmentation techniques for boosting performance on text classification tasks. In EMNLP-IJCNLP.",
|
| 1672 |
+
"Adina Williams, Nikita Nangia, and Samuel R Bowman. 2017. A broad-coverage challenge corpus for sentence understanding through inference. arXiv preprint arXiv:1704.05426.",
|
| 1673 |
+
"Xiaobo Xia, Tongliang Liu, Bo Han, Chen Gong, Nanan Wang, Zongyuan Ge, and Yi Chang. 2021. Robust early-learning: Hinding the memorization of noisy labels. In ICLR.",
|
| 1674 |
+
"Qizhe Xie, Zihang Dai, Eduard Hovy, Minh-Thang Luong, and Quoc V Le. 2019. Unsupervised data augmentation for consistency training. arXiv preprint arXiv:1904.12848.",
|
| 1675 |
+
"Yan Yan, Rómer Rosales, Glenn Fung, Ramanathan Subramanian, and Jennifer Dy. 2014. Learning from multiple annotators with varying expertise. Machine Learning.",
|
| 1676 |
+
"Yu Yao, Tongliang Liu, Mingming Gong, Bo Han, Gang Niu, and Kun Zhang. 2021. Instance-dependent label-noise learning under a structural causal model. In NeurIPS.",
|
| 1677 |
+
"Yu Yao, Tongliang Liu, Bo Han, Mingming Gong, Jiankang Deng, Gang Niu, and Masashi Sugiyama. 2020. Dual t: Reducing estimation error for transition matrix in label-noise learning. NeurIPS.",
|
| 1678 |
+
"Xingrui Yu, Bo Han, Jiangchao Yao, Gang Niu, Ivor Tsang, and Masashi Sugiyama. 2019. How does disagreement help generalization against label corruption? In ICML.",
|
| 1679 |
+
"Bowen Zhang, Yidong Wang, Wenxin Hou, Hao Wu, Jindong Wang, Manabu Okumura, and Takahiro Shinozaki. 2021a. Flexmatch: Boosting semi-supervised learning with curriculum pseudo labeling. In NeurIPS."
|
| 1680 |
+
],
|
| 1681 |
+
"bbox": [
|
| 1682 |
+
115,
|
| 1683 |
+
85,
|
| 1684 |
+
485,
|
| 1685 |
+
916
|
| 1686 |
+
],
|
| 1687 |
+
"page_idx": 10
|
| 1688 |
+
},
|
| 1689 |
+
{
|
| 1690 |
+
"type": "list",
|
| 1691 |
+
"sub_type": "ref_text",
|
| 1692 |
+
"list_items": [
|
| 1693 |
+
"Hongyi Zhang, Moustapha Cisse, Yann N Dauphin, and David Lopez-Paz. 2018. mixup: Beyond empirical risk minimization. In ICLR.",
|
| 1694 |
+
"Jieyu Zhang, Yue Yu, Yinghao Li, Yujing Wang, Yaming Yang, Mao Yang, and Alexander Ratner. 2021b. WRENCH: A comprehensive benchmark for weak supervision. In NeurIPS Datasets and Benchmarks Track.",
|
| 1695 |
+
"Xiang Zhang, Junbo Zhao, and Yann LeCun. 2015. Character-level convolutional networks for text classification. NIPS.",
|
| 1696 |
+
"Yivan Zhang, Gang Niu, and Masashi Sugiyama. 2021c. Learning noise transition matrix from only noisy labels via total variation regularization. In ICML.",
|
| 1697 |
+
"Zhilu Zhang and Mert Sabuncu. 2018. Generalized cross entropy loss for training deep neural networks with noisy labels. NeurIPS.",
|
| 1698 |
+
"Ganlong Zhao, Guanbin Li, Yipeng Qin, Feng Liu, and Yizhou Yu. 2022. Centrality and consistency: two-stage clean samples identification for learning with instance-dependent noisy labels. In ECCV.",
|
| 1699 |
+
"Wenxuan Zhou and Muhao Chen. 2021. Learning from noisy labels for entity-centric information extraction. In EMNLP.",
|
| 1700 |
+
"Wenxuan Zhou, Hongtao Lin, Bill Yuchen Lin, Ziqi Wang, Junyi Du, Leonardo Neves, and Xiang Ren. 2020. Nero: A neural rule grounding framework for label-efficient relation extraction. In TheWebConf.",
|
| 1701 |
+
"Dawei Zhu, Michael Hedderich, Fangzhou Zhai, David Adelani, and Dietrich Klakow. 2022. Is bert robust to label noise? a study on learning with noisy labels in text classification. In Insights from Negative Results in NLP.",
|
| 1702 |
+
"Yuchen Zhuang, Yue Yu, Lingkai Kong, Xiang Chen, and Chao Zhang. 2023. Dygen: Learning from noisy labels via dynamics-enhanced generative modeling. arXiv preprint arXiv:2305.19395."
|
| 1703 |
+
],
|
| 1704 |
+
"bbox": [
|
| 1705 |
+
510,
|
| 1706 |
+
85,
|
| 1707 |
+
882,
|
| 1708 |
+
673
|
| 1709 |
+
],
|
| 1710 |
+
"page_idx": 10
|
| 1711 |
+
},
|
| 1712 |
+
{
|
| 1713 |
+
"type": "text",
|
| 1714 |
+
"text": "A Details of Three Subsets",
|
| 1715 |
+
"text_level": 1,
|
| 1716 |
+
"bbox": [
|
| 1717 |
+
510,
|
| 1718 |
+
688,
|
| 1719 |
+
754,
|
| 1720 |
+
703
|
| 1721 |
+
],
|
| 1722 |
+
"page_idx": 10
|
| 1723 |
+
},
|
| 1724 |
+
{
|
| 1725 |
+
"type": "text",
|
| 1726 |
+
"text": "In this section, we further provide details about the three subsets of samples in our framework.",
|
| 1727 |
+
"bbox": [
|
| 1728 |
+
510,
|
| 1729 |
+
714,
|
| 1730 |
+
880,
|
| 1731 |
+
745
|
| 1732 |
+
],
|
| 1733 |
+
"page_idx": 10
|
| 1734 |
+
},
|
| 1735 |
+
{
|
| 1736 |
+
"type": "text",
|
| 1737 |
+
"text": "1. Easy Clean (EC) Set. In this subset, the labels predicted by LLMs are the same as the assigned labels. Therefore, based on Assumption 1, we can infer that the labels of these samples are almost clean, which allows us to directly use them for model training. Note that a small portion of samples in this category can still be noisy when the LLM predictions happen to be the same as noisy labels. However, we empirically verify in Sec. 5.5 that this proportion is small.",
|
| 1738 |
+
"bbox": [
|
| 1739 |
+
510,
|
| 1740 |
+
758,
|
| 1741 |
+
882,
|
| 1742 |
+
917
|
| 1743 |
+
],
|
| 1744 |
+
"page_idx": 10
|
| 1745 |
+
},
|
| 1746 |
+
{
|
| 1747 |
+
"type": "page_number",
|
| 1748 |
+
"text": "12538",
|
| 1749 |
+
"bbox": [
|
| 1750 |
+
477,
|
| 1751 |
+
928,
|
| 1752 |
+
524,
|
| 1753 |
+
940
|
| 1754 |
+
],
|
| 1755 |
+
"page_idx": 10
|
| 1756 |
+
},
|
| 1757 |
+
{
|
| 1758 |
+
"type": "text",
|
| 1759 |
+
"text": "2. Hard Clean (HC) Set. In this (ideal) category, the labels predicted by LLMs deviate from the assigned labels, while the true labels are in accordance with the assigned labels. In this case, we are acknowledged that these samples are also clean. However, due to the semantic difficulties of these samples, the LLMs cannot easily predict the correct labels of them. Nevertheless, since the assigned labels are correct as true labels, we can use assigned labels for model training on these samples. It is noteworthy that in practice, it is infeasible to achieve a perfect separation of this subset. Therefore, in our framework, we propose to leverage LLM-generated and PLM-generated confidences to improve the separation performance.",
|
| 1760 |
+
"bbox": [
|
| 1761 |
+
112,
|
| 1762 |
+
84,
|
| 1763 |
+
490,
|
| 1764 |
+
341
|
| 1765 |
+
],
|
| 1766 |
+
"page_idx": 11
|
| 1767 |
+
},
|
| 1768 |
+
{
|
| 1769 |
+
"type": "text",
|
| 1770 |
+
"text": "3. True Noisy (TN) Set. In this (ideal) category, the labels predicted by LLMs and the true labels are both different from the assigned labels. In other words, these samples are all noisy as their assigned labels are different from true labels. Since they are noisy, the labels predicted by LLMs are also likely to be different from the assigned labels. As these samples are noisy, we cannot directly use their labels for training. However, since we narrow down the potential range of noisy samples to this category, we can resort to specific techniques to learn from these noisy samples. In our framework, we utilize LLM-generated confidence as additional supervision information to effectively learn from these noisy samples.",
|
| 1771 |
+
"bbox": [
|
| 1772 |
+
112,
|
| 1773 |
+
348,
|
| 1774 |
+
490,
|
| 1775 |
+
605
|
| 1776 |
+
],
|
| 1777 |
+
"page_idx": 11
|
| 1778 |
+
},
|
| 1779 |
+
{
|
| 1780 |
+
"type": "text",
|
| 1781 |
+
"text": "B Datasets",
|
| 1782 |
+
"text_level": 1,
|
| 1783 |
+
"bbox": [
|
| 1784 |
+
114,
|
| 1785 |
+
619,
|
| 1786 |
+
226,
|
| 1787 |
+
634
|
| 1788 |
+
],
|
| 1789 |
+
"page_idx": 11
|
| 1790 |
+
},
|
| 1791 |
+
{
|
| 1792 |
+
"type": "text",
|
| 1793 |
+
"text": "In this section, we introduce the details of the datasets used in our experiments. In particular, $20\\mathrm{Ng}$ (Lang, 1995) and AGNews (Li and Roth, 2002; Zhang et al., 2015) are news topic classification datasets that are prevalently used for text classification tasks. We manually inject different types of noise (SN, AN, and IDN) into these two datasets for evaluation in our experiments. For real-world datasets, we utilize SemEval (Zhou et al., 2020), TREC (Awasthi et al., 2020), and Hausa (Hedderich et al., 2020). Specifically, SemEval is a relation extraction dataset, and we follow the process introduced in (Zhou et al., 2020) to obtain noisy labels. TREC is a question classification dataset in the weak supervision benchmark WRENCH (Zhang et al., 2021b). Moreover, Hausa is a text classification dataset in the language of",
|
| 1794 |
+
"bbox": [
|
| 1795 |
+
112,
|
| 1796 |
+
645,
|
| 1797 |
+
490,
|
| 1798 |
+
919
|
| 1799 |
+
],
|
| 1800 |
+
"page_idx": 11
|
| 1801 |
+
},
|
| 1802 |
+
{
|
| 1803 |
+
"type": "table",
|
| 1804 |
+
"img_path": "images/22a5690cce3ecf236146ff727f20e1dd16b833e40c02fde2b178153260bb5557.jpg",
|
| 1805 |
+
"table_caption": [
|
| 1806 |
+
"Table 6: The detailed statistics of the five datasets used in our experiments."
|
| 1807 |
+
],
|
| 1808 |
+
"table_footnote": [],
|
| 1809 |
+
"table_body": "<table><tr><td>Dataset</td><td># Training</td><td># Validation</td><td># Test</td><td># Class</td></tr><tr><td>20Ng</td><td>9,051</td><td>2,263</td><td>7,532</td><td>20</td></tr><tr><td>AGNews</td><td>40,000</td><td>7,600</td><td>7,600</td><td>4</td></tr><tr><td>SemEval</td><td>1,749</td><td>200</td><td>692</td><td>9</td></tr><tr><td>TREC</td><td>4,965</td><td>500</td><td>500</td><td>6</td></tr><tr><td>Hausa</td><td>2,045</td><td>290</td><td>582</td><td>5</td></tr></table>",
|
| 1810 |
+
"bbox": [
|
| 1811 |
+
517,
|
| 1812 |
+
116,
|
| 1813 |
+
875,
|
| 1814 |
+
219
|
| 1815 |
+
],
|
| 1816 |
+
"page_idx": 11
|
| 1817 |
+
},
|
| 1818 |
+
{
|
| 1819 |
+
"type": "text",
|
| 1820 |
+
"text": "Hausa, the second most spoken indigenous language in Africa, with 40 million native speakers. For this dataset, gazetteers are used for automatic labeling, which results in feature-dependent label noise. Here we provide the detailed statistics of these datasets in Table 6.",
|
| 1821 |
+
"bbox": [
|
| 1822 |
+
507,
|
| 1823 |
+
244,
|
| 1824 |
+
884,
|
| 1825 |
+
340
|
| 1826 |
+
],
|
| 1827 |
+
"page_idx": 11
|
| 1828 |
+
},
|
| 1829 |
+
{
|
| 1830 |
+
"type": "text",
|
| 1831 |
+
"text": "C Baselines",
|
| 1832 |
+
"text_level": 1,
|
| 1833 |
+
"bbox": [
|
| 1834 |
+
509,
|
| 1835 |
+
357,
|
| 1836 |
+
628,
|
| 1837 |
+
372
|
| 1838 |
+
],
|
| 1839 |
+
"page_idx": 11
|
| 1840 |
+
},
|
| 1841 |
+
{
|
| 1842 |
+
"type": "text",
|
| 1843 |
+
"text": "In this section, we provide the details of the baselines used in our experiments.",
|
| 1844 |
+
"bbox": [
|
| 1845 |
+
507,
|
| 1846 |
+
384,
|
| 1847 |
+
882,
|
| 1848 |
+
417
|
| 1849 |
+
],
|
| 1850 |
+
"page_idx": 11
|
| 1851 |
+
},
|
| 1852 |
+
{
|
| 1853 |
+
"type": "list",
|
| 1854 |
+
"sub_type": "text",
|
| 1855 |
+
"list_items": [
|
| 1856 |
+
"- Base (Devlin et al., 2018) is the BERT base model fine-tuned based on the standard cross-entropy loss. Note that for dataset Hausa, we utilize the multilingual BERT model.",
|
| 1857 |
+
"- Mixup (Zhang et al., 2018) is a semi-supervised approach that performs a linear interpolation between clean and noisy samples.",
|
| 1858 |
+
"- GCE (Zhang and Sabuncu, 2018) denotes Generalized Cross-Entropy loss, which can be regarded as a general loss that combines mean absolute error (MAE) and cross-entropy (CE).",
|
| 1859 |
+
"- Co-teaching (Han et al., 2018) trains two different models and selects small-loss samples to feed them into each other for optimization.",
|
| 1860 |
+
"- Co-teaching+ (Yu et al., 2019) is an updated version of Co-teaching that explicitly ensures the difference between the two models.",
|
| 1861 |
+
"- JoCoR (Wei et al., 2020) trains two models and selects samples based on the sum of loss from the two models.",
|
| 1862 |
+
"- CR (Zhou and Chen, 2021) also trains multiple models with a regularization strategy based on a soft target.",
|
| 1863 |
+
"- NPC (Bae et al., 2022) utilizes a generative model to estimate the transition matrix from noisy predictions to the ground-truth labels of samples and uses it to correct noisy labels."
|
| 1864 |
+
],
|
| 1865 |
+
"bbox": [
|
| 1866 |
+
510,
|
| 1867 |
+
432,
|
| 1868 |
+
882,
|
| 1869 |
+
917
|
| 1870 |
+
],
|
| 1871 |
+
"page_idx": 11
|
| 1872 |
+
},
|
| 1873 |
+
{
|
| 1874 |
+
"type": "page_number",
|
| 1875 |
+
"text": "12539",
|
| 1876 |
+
"bbox": [
|
| 1877 |
+
477,
|
| 1878 |
+
927,
|
| 1879 |
+
524,
|
| 1880 |
+
940
|
| 1881 |
+
],
|
| 1882 |
+
"page_idx": 11
|
| 1883 |
+
},
|
| 1884 |
+
{
|
| 1885 |
+
"type": "text",
|
| 1886 |
+
"text": "D Implementation Details",
|
| 1887 |
+
"text_level": 1,
|
| 1888 |
+
"bbox": [
|
| 1889 |
+
114,
|
| 1890 |
+
83,
|
| 1891 |
+
356,
|
| 1892 |
+
99
|
| 1893 |
+
],
|
| 1894 |
+
"page_idx": 12
|
| 1895 |
+
},
|
| 1896 |
+
{
|
| 1897 |
+
"type": "text",
|
| 1898 |
+
"text": "In this section, we introduce the implementation details for our experiments. We run the experiments on a single 48GB Nvidia GeForce RTX A6000 GPU. The experiments are run 10 times to achieve the average accuracy and the standard deviation.",
|
| 1899 |
+
"bbox": [
|
| 1900 |
+
112,
|
| 1901 |
+
109,
|
| 1902 |
+
489,
|
| 1903 |
+
187
|
| 1904 |
+
],
|
| 1905 |
+
"page_idx": 12
|
| 1906 |
+
},
|
| 1907 |
+
{
|
| 1908 |
+
"type": "text",
|
| 1909 |
+
"text": "For the augmentations used in our framework, following existing works (Xie et al., 2019; Wei and Zou, 2019; Li et al., 2022), we adopt four typical text augmentations: Back Translation, Random Insertion, Random Deletion, and Random Swap. We set the threshold $\\widehat{\\tau}$ for LLM-generated confidences as 0.8. We set the hyper-parameters $\\lambda$ and $\\widetilde{\\tau}$ for the adaptive threshold $\\widetilde{\\tau}(t)$ for PLM-generated confidences as 0.7 and 0.8, respectively. We set $\\alpha$ as 1.5 and $\\beta$ as 0.9. For the loss weight, we set $\\lambda_{\\mathcal{H}} = \\lambda_{\\mathcal{N}} = 1$ . We set the model fine-tuning learning rate as $10^{-4}$ with a batch size of 32. The maximum length of texts is set as 256. The number of training epochs is set as 100 with early stopping based on the performance of the validation set. We optimize the model using the Adam (Kingma and Ba, 2015) optimization strategy. For the LLM, we utilize ChatGPT based on GPT4.",
|
| 1910 |
+
"bbox": [
|
| 1911 |
+
115,
|
| 1912 |
+
190,
|
| 1913 |
+
489,
|
| 1914 |
+
476
|
| 1915 |
+
],
|
| 1916 |
+
"page_idx": 12
|
| 1917 |
+
},
|
| 1918 |
+
{
|
| 1919 |
+
"type": "text",
|
| 1920 |
+
"text": "In addition, we provide more detailed package requirements as listed below.",
|
| 1921 |
+
"bbox": [
|
| 1922 |
+
112,
|
| 1923 |
+
479,
|
| 1924 |
+
487,
|
| 1925 |
+
511
|
| 1926 |
+
],
|
| 1927 |
+
"page_idx": 12
|
| 1928 |
+
},
|
| 1929 |
+
{
|
| 1930 |
+
"type": "list",
|
| 1931 |
+
"sub_type": "text",
|
| 1932 |
+
"list_items": [
|
| 1933 |
+
"- Python == 3.9.12",
|
| 1934 |
+
"- torch == 2.0.1",
|
| 1935 |
+
"- transformers == 4.29.2",
|
| 1936 |
+
"- huggingface-hub == 0.15.1",
|
| 1937 |
+
"- keras == 2.12.0",
|
| 1938 |
+
"- numpy == 1.23.5",
|
| 1939 |
+
"- scipy == 1.5.3",
|
| 1940 |
+
"- CUDA == 11.6",
|
| 1941 |
+
"networkx $= = 2.5.1$",
|
| 1942 |
+
"scikit-learn $= = 0.24.1$"
|
| 1943 |
+
],
|
| 1944 |
+
"bbox": [
|
| 1945 |
+
115,
|
| 1946 |
+
521,
|
| 1947 |
+
332,
|
| 1948 |
+
728
|
| 1949 |
+
],
|
| 1950 |
+
"page_idx": 12
|
| 1951 |
+
},
|
| 1952 |
+
{
|
| 1953 |
+
"type": "page_number",
|
| 1954 |
+
"text": "12540",
|
| 1955 |
+
"bbox": [
|
| 1956 |
+
477,
|
| 1957 |
+
927,
|
| 1958 |
+
526,
|
| 1959 |
+
940
|
| 1960 |
+
],
|
| 1961 |
+
"page_idx": 12
|
| 1962 |
+
}
|
| 1963 |
+
]
|
2023/Noise-Robust Fine-Tuning of Pretrained Language Models via External Guidance/569fc499-7adf-4636-bebe-f243ca93393e_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2023/Noise-Robust Fine-Tuning of Pretrained Language Models via External Guidance/569fc499-7adf-4636-bebe-f243ca93393e_origin.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8d7f3cf27438e563602aa8292e891260eaeb6b28207500980907a0cf9e764290
|
| 3 |
+
size 609376
|
2023/Noise-Robust Fine-Tuning of Pretrained Language Models via External Guidance/full.md
ADDED
|
@@ -0,0 +1,406 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Noise-Robust Fine-Tuning of Pretrained Language Models via External Guidance
|
| 2 |
+
|
| 3 |
+
Song Wang
|
| 4 |
+
|
| 5 |
+
University of Virginia
|
| 6 |
+
|
| 7 |
+
sw3wv@virginia.edu
|
| 8 |
+
|
| 9 |
+
Ruocheng Guo
|
| 10 |
+
|
| 11 |
+
ByteDance Research
|
| 12 |
+
|
| 13 |
+
ruocheng.guo@bytedance.com
|
| 14 |
+
|
| 15 |
+
Zhen Tan
|
| 16 |
+
|
| 17 |
+
Arizona State University
|
| 18 |
+
|
| 19 |
+
ztan36@asu.edu
|
| 20 |
+
|
| 21 |
+
Jundong Li
|
| 22 |
+
|
| 23 |
+
University of Virginia
|
| 24 |
+
|
| 25 |
+
jundong@virginia.edu
|
| 26 |
+
|
| 27 |
+
# Abstract
|
| 28 |
+
|
| 29 |
+
Adopting a two-stage paradigm of pretraining followed by fine-tuning, Pretrained Language Models (PLMs) have achieved substantial advancements in the field of natural language processing. However, in real-world scenarios, data labels are often noisy due to the complex annotation process, making it essential to develop strategies for fine-tuning PLMs with such noisy labels. To this end, we introduce an innovative approach for fine-tuning PLMs using noisy labels, which incorporates the guidance of Large Language Models (LLMs) like ChatGPT. This guidance assists in accurately distinguishing between clean and noisy samples and provides supplementary information beyond the noisy labels, thereby boosting the learning process during fine-tuning PLMs. Extensive experiments on synthetic and real-world noisy datasets further demonstrate the superiority of our framework over the state-of-the-art baselines.
|
| 30 |
+
|
| 31 |
+
# 1 Introduction
|
| 32 |
+
|
| 33 |
+
In recent years, the development of language models has significantly expanded the applications within the field of natural language processing (NLP). Fine-tuning Pretrained Language Models (PLMs) like BERT (Devlin et al., 2018) for specific downstream tasks has become an essential step in real-world implementations (Alt et al., 2020; Wang et al., 2021). In general, achieving significant performance gains in fine-tuning PLMs necessitates the availability of task-specific data for fine-tuning (Zhou and Chen, 2021; Wang et al., 2022). However, obtaining high-quality labeled datasets for this purpose poses significant challenges due to the expensive, complex, and labor-intensive nature of the annotation process (Yu et al., 2019; Bae et al., 2022). For example, large-scale datasets, often derived from web-crawling (Li et al., 2017; Song et al., 2019) or crowd-sourcing (Yan et al., 2014; Williams et al., 2017; Sakaguchi et al., 2021), frequently suffer from the presence of noisy labels.
|
| 34 |
+
|
| 35 |
+

|
| 36 |
+
Figure 1: The average confidence of clean and noisy samples during fine-tuning BERT on datasets $20\mathrm{Ng}$ and AGNews with $20\%$ noisy labels.
|
| 37 |
+
|
| 38 |
+
Prior research (Arpit et al., 2017; Cheng et al., 2021; Zhang et al., 2021c; Wang et al., 2023a) has shown that PLMs are prone to overfitting and generally deliver subpar performance when fine-tuned on datasets containing label noise. Since fine-tuning involves incorporating supervision information to enhance performance on downstream tasks, the presence of noisy labels will mislead the training process and significantly impede the efficacy of PLMs (Zhu et al., 2022). Therefore, there is an immediate need to design effective algorithms for fine-tuning PLMs in the presence of noisy labels.
|
| 39 |
+
|
| 40 |
+
In the context of learning from noisy labels, an intuitive approach is to separate clean samples from the noisy ones in the training set for model training (Han et al., 2018). For the remaining noisy samples, a prevalent strategy is to pseudo-label them based on model predictions to reduce the adverse impact of noise (Berthelot et al., 2019; Sohn et al., 2020). However, it remains challenging when applying this paradigm to PLMs. This is because PLMs, equipped with prior knowledge encoded in a large size of parameters, tend to easily memorize noisy samples early on during the fine-tuning process. As illustrated in Figure 1, PLMs exhibit similar prediction confidences for both clean and noisy samples, which will result in two challenges
|
| 41 |
+
|
| 42 |
+
when utilizing existing methods: (1) Existing approaches often rely on confidence generated by models trained on potentially noisy samples (Li et al., 2020; Karim et al., 2022). However, as shown in Figure 1, it is challenging to accurately distinguish clean and noisy samples solely based on confidence. (2) Existing methods are susceptible to erroneous information during pseudo-labeling, as they directly utilize model predictions as pseudolabels, which can be detrimental when the predictions are inaccurate. PLMs, being capable of easily remembering noisy samples, further exacerbate the risk of capturing and amplifying erroneous information during pseudo-labeling. For example, in the $20\mathrm{Ng}$ dataset (Lang, 1995), when an "autos" sample is assigned a wrong label "hardware", PLMs can easily memorize the erroneous information and thus cannot infer the correct labels in predictions, resulting in incorrect pseudo-labeling.
|
| 43 |
+
|
| 44 |
+
To overcome these challenges, we propose a novel framework, named LAFT, that harnesses the power of Large Language Models (LLMs) for Fine-Tuning PLMs. We leverage LLMs trained on extensive corpora and fine-tuned with human instructions, such as GPT4 (OpenAI, 2023), to obtain external guidance in the form of confidence values. Our approach addresses the first challenge of separating reliable samples by utilizing LLM-generated confidence for each class of all training samples. By comparing these confidence with the assigned labels (i.e., the given noisy labels) of training samples, we categorize them into three disjoint subsets: the Easy Clean (EC) Set, the Hard Clean (HC) Set, and the True Noisy (TN) Set. Regarding the second challenge, we propose a novel method to incorporate LLM-generated confidence scores as robust supervision information for all samples to ensure that PLMs learn useful information from them. As LLM-generated confidence are not affected by label noise, they can provide potentially relevant labels that are useful even if they are not entirely accurate. In summary, our contributions are as follows:
|
| 45 |
+
|
| 46 |
+
- We are the first to explore the potential of leveraging supervision information (i.e., confidence scores) generated by LLMs to tackle the noisy label problem in fine-tuning PLMs.
|
| 47 |
+
- We propose a novel framework LAFT that can effectively separate clean and noisy samples and learn from noisy labels, based on the LLMs-generated confidence.
|
| 48 |
+
|
| 49 |
+
- We conduct extensive experiments on synthetic and real-world noisy datasets and demonstrate the superiority of our framework in fine-tuning PLMs with noisy labels.
|
| 50 |
+
|
| 51 |
+
# 2 Related Work
|
| 52 |
+
|
| 53 |
+
# 2.1 Learning from Noisy Labels
|
| 54 |
+
|
| 55 |
+
Various strategies for learning from noisy labels have been proposed, falling primarily into three categories. The first category is Sample Selection methods, which typically employ loss or confidence to identify reliable samples for model optimization. These methods generally necessitate a predefined threshold (Li et al., 2021; Karim et al., 2022) or prior knowledge concerning the noise label rate (Han et al., 2018; Yu et al., 2019) to choose the instances. The second category, dubbed Label Transition methods, aims to learn (Tanaka et al., 2018) or generate pseudo-labels (Zhang et al., 2021c; Sohn et al., 2020) to replace the original noisy labels. Lastly, Regularization methods design robust loss functions (Liu et al., 2020; Englesson and Azizpour, 2021) or regularization techniques (Zhang and Sabuncu, 2018) that can effectively utilize all samples to enhance the model robustness against label noise. Nevertheless, these methods generally do not consider the scenario of fine-tuning a pretrained model with noisy labels.
|
| 56 |
+
|
| 57 |
+
# 2.2 Confidence-Guided Sample Separation
|
| 58 |
+
|
| 59 |
+
To separate noisy samples, existing works leverage the loss or confidence that provide insights into the model's prediction behavior as training proceeds (Yu et al., 2019; Karim et al., 2022). In the context of learning from noisy labels, the key concept is to leverage these dynamics as criteria for identifying and separating noisy samples. Several works propose to identify samples with lower training loss as the clean subset (Li et al., 2020; Han et al., 2018; Jiang et al., 2018; Zhao et al., 2022; Wang et al., 2023b), however, they are generally simplistic and inflexible, resulting in the selection of only easy samples. To address this limitation, alternative approaches have been proposed to effectively utilize the loss or confidence during training, as demonstrated in (Zhang et al., 2021a) and (Nishi et al., 2021). In contrast to existing methods that only rely on confidence generated by PLMs, we leverage LLMs as external guidance that provides more precise separations for fine-tuning PLMs.
|
| 60 |
+
|
| 61 |
+
# 3 Problem Definition
|
| 62 |
+
|
| 63 |
+
In this work, we study the problem of fine-tuning PLMs for text classification with noisy labels. Formally, consider a noisy training dataset containing $n$ samples: $\mathcal{D}_{tr} = \{(x_i,\widetilde{y}_i),i = 1,2,\ldots ,n\}$ where $x_{i}$ is an input sample and $\widetilde{y}_i$ denotes the assigned label of $x_{i}$ . Note that $\widetilde{y}_i$ is potentially corrupted, and we denote the true label of $x_{i}$ as $\overline{y}_i$ which is inaccessible during fine-tuning. Specifically, we aim to fine-tune PLMs with samples in $\mathcal{D}_{tr}$ to achieve satisfactory prediction performance on test samples, while utilizing LLMs as external guidance. Notably, the LLMs remain fixed in our framework, which means we can also use blackbox LLMs. In practice, we implement PLMs for text classification by attaching an additional classifier, which will take the output of the PLM as input and generate class probabilities for classification.
|
| 64 |
+
|
| 65 |
+
# 4 Methodology
|
| 66 |
+
|
| 67 |
+
The overall framework of LAFT is illustrated in Fig. 2. In particular, we propose to divide all training samples into three subsets based on the accordance among LLM-generated confidence, PLM-generated confidence, and the assigned labels of samples. In particular, we query an LLM to provide confidence for each training sample, spanning all classes. Combining confidence obtained from both LLMs and PLMs, we perform two steps of separation to segregate the entire training set into three subsets: Easy Clean (EC) Set, Hard Clean (HC) Set, and True Noisy (TN) Set. Each of these subsets, displaying unique behaviors, is then subjected to specific noise-robust fine-tuning strategies.
|
| 68 |
+
|
| 69 |
+
# 4.1 Confidences
|
| 70 |
+
|
| 71 |
+
Existing studies establish a correlation between confidences and the degree to which deep models memorize specific samples during training (Arpit et al., 2017; Karim et al., 2022). It has been observed that as the model's memorization of a particular sample strengthens, the model tends to assign higher confidence for this sample (Li et al., 2023). Therefore, these methods generally employ confidences to distinguish between clean and noisy samples based on the assumption that the model cannot easily memorize noisy samples (Pleiss et al., 2020; Swayamdipta et al., 2020). However, applying these strategies to fine-tuning PLMs is suboptimal, as PLMs also present high confidence for noisy samples even in the early stage of fine-tuning, as
|
| 72 |
+
|
| 73 |
+

|
| 74 |
+
Figure 2: The detailed process of our framework LAFT. We perform two steps of separation to divide all training samples into three subsets with different degrees of label noise: Easy Clean Set $\mathcal{E}$ , Hard Clean Set $\mathcal{H}$ , and True Noisy Set $\mathcal{N}$ . We further propose three different losses to effectively learn from them: $\mathcal{L}_{\mathcal{E}}$ , $\mathcal{L}_{\mathcal{H}}$ , and $\mathcal{L}_{\mathcal{N}}$ .
|
| 75 |
+
|
| 76 |
+
shown in Fig. 1. To deal with this issue, we propose the utilization of external guidance, in the form of confidences generated by LLMs. Before delving into the specifics of our framework, we provide a formal definition of confidences. Denote the output of the final layer (i.e., the classifier) in PLMs for sample $x_{i}$ as $\mathbf{z}(x_i)\in \mathbb{R}^N$ , where $N$ is the number of classes. The confidence of $x_{i}$ for the $j$ -th class $c_{j}$ can be represented as follows:
|
| 77 |
+
|
| 78 |
+
$$
|
| 79 |
+
\widetilde {p} \left(c _ {j}; x _ {i}\right) = \frac {\exp \left(z \left(c _ {j} ; x _ {i}\right)\right)}{\sum_ {k = 1} ^ {N} \exp \left(z \left(c _ {k} ; x _ {i}\right)\right)}, \tag {1}
|
| 80 |
+
$$
|
| 81 |
+
|
| 82 |
+
where $z(c_{j};x_{i})\in \mathbb{R}$ is the $j$ -th value in $\mathbf{z}(x_i)$ . Notably, the confidences are obtained from $\mathbf{z}(x_i)$ after a softmax function and thus sum up to one.
|
| 83 |
+
|
| 84 |
+
Although LLM-generated confidences can provide external guidance, they are not completely accurate. Thus, We conduct a two-step sample separation process based on both LLM-generated and PLM-generated confidences, with the second step providing a more granular distinction.
|
| 85 |
+
|
| 86 |
+
# 4.2 Coarse-Grained Separation
|
| 87 |
+
|
| 88 |
+
For the first step of separation, we aim to select samples that are easy to be identified as clean data with guidance from LLMs. Thus, we perform Coarse-grained Separation, utilizing confidences generated by LLMs with the raw text data included in the prompt. Here we provide an example of the prompt for querying the LLM to obtain the confidence value for each class:
|
| 89 |
+
|
| 90 |
+
Classify the following content: $\{input\text{text}\}$ . Select the label from $\{Class1\}$ , $\{Class2\}$ , ..., $\{ClassN\}$ and output a confidence value for each of them.
|
| 91 |
+
|
| 92 |
+
We denote the LLM-generated confidence for sample $x_{i}$ regarding class $c_{j}$ as $\widehat{p}(c_{j};x_{i})$ , where $c_{j} \in \mathcal{C} = \{c_{1},c_{2},\ldots ,c_{N}\}$ , and $\mathcal{C}$ is the class set. Then the label obtained by LLM can be represented as
|
| 93 |
+
|
| 94 |
+
$$
|
| 95 |
+
\widehat {y} _ {i} = \underset {j = 1, 2, \dots , N} {\operatorname {a r g m a x}} \widehat {p} \left(c _ {j}; x _ {i}\right). \tag {2}
|
| 96 |
+
$$
|
| 97 |
+
|
| 98 |
+
To perform coarse-grained separation, we first provide an assumption as the justification:
|
| 99 |
+
|
| 100 |
+
Assumption 1. Samples whose assigned labels are the same as LLM-generated labels (i.e., $\widehat{y}_i = \widetilde{y}_i$ ) can be considered almost clean.
|
| 101 |
+
|
| 102 |
+
Note that Assumption 1 is empirically verified in Table 5 in Sec. 5.5. The underlying intuition is that the probability of an LLM-generated label being identical to the assigned label and inconsistent with the ground-truth label is significantly low and thus negligible. In concrete, this assumption allows us to segregate the training samples into two distinct subsets based on the concordance between the LLM-generated label $\widehat{y}_i$ and the assigned (potentially noisy) label $\widetilde{y}_i$ of $x_i$ . More specifically, we define the resulting two subsets, the Easy Clean (EC) Set $\mathcal{E}$ and the Disagreed Set $\mathcal{D}$ , as follows:
|
| 103 |
+
|
| 104 |
+
$$
|
| 105 |
+
\mathcal {E} = \left\{x _ {i}, \widetilde {y} _ {i} \mid \widehat {y} _ {i} = \widetilde {y} _ {i} \right\}, \mathcal {D} = \left\{x _ {i}, \widetilde {y} _ {i} \mid \widehat {y} _ {i} \neq \widetilde {y} _ {i} \right\}. \tag {3}
|
| 106 |
+
$$
|
| 107 |
+
|
| 108 |
+
It is naturally satisfied that $\mathcal{E} \cup \mathcal{D} = \mathcal{D}_{tr}$ and $\mathcal{E} \cap \mathcal{D} = \emptyset$ , where $\mathcal{D}_{tr}$ is the training set. Since the samples in $\mathcal{E}$ are already clean, we can directly fine-tune PLMs using LLM-generated labels $\widehat{y}_i$ based on the cross-entropy loss as follows:
|
| 109 |
+
|
| 110 |
+
$$
|
| 111 |
+
\mathcal {L} _ {\mathcal {E}} = - \frac {1}{| \mathcal {E} |} \sum_ {i = 1} ^ {| \mathcal {E} |} \sum_ {j = 1} ^ {N} \widehat {y} _ {i, j} \log \widetilde {p} \left(c _ {j}; x _ {i}\right), \tag {4}
|
| 112 |
+
$$
|
| 113 |
+
|
| 114 |
+
where $\widetilde{p}(c_j; x_i)$ is the PLM-generated confidence for $x_i$ regarding the $j$ -th class $c_j$ . Here $\widehat{y}_{i,j} = 1$ if $\widehat{y}_i = c_j$ , and $\widehat{y}_{i,j} = 0$ , otherwise.
|
| 115 |
+
|
| 116 |
+
# 4.3 Fine-Grained Separation
|
| 117 |
+
|
| 118 |
+
It is noteworthy that, however, the samples in $\mathcal{D}$ are not completely noisy. This is because the LLM-generated labels are not perfectly correct, as shown in Table 5. Thus, the samples that are clean but incorrectly classified by LLMs will still
|
| 119 |
+
|
| 120 |
+
be categorized into $\mathcal{D}$ . Therefore, although we can learn from samples in $\mathcal{E}$ directly with their LLM-generated label $\widetilde{y}_i$ , it is still challenging to learn from samples in $\mathcal{D}$ , which are only partially clean. Therefore, we further propose to separate the samples in the disagreed set $\mathcal{D}$ into two subsets: the Hard Clean (HC) Set $\mathcal{H}$ and the True Noisy (TN) Set $\mathcal{N}$ , referred to as fine-grained separation.
|
| 121 |
+
|
| 122 |
+
The intuition is that within the disagreed set $\mathcal{D}$ , the LLM-generated labels can be incorrect for specific hard samples with correct assigned labels, referred to as Hard Clean (HC) samples. Specifically, the ideal separation for $\mathcal{D}$ is as follows:
|
| 123 |
+
|
| 124 |
+
$$
|
| 125 |
+
\begin{array}{l} \mathcal {H} ^ {*} = \mathcal {D} \cap \left\{x _ {i}, \widetilde {y} _ {i} | \widetilde {y} _ {i} = \bar {y} _ {i} \right\}, \\ \text {实} ^ {*} = \mathcal {D} \cap \{\dots \widetilde {\sim} | \widetilde {\sim} (\dots) \} \end{array} \tag {5}
|
| 126 |
+
$$
|
| 127 |
+
|
| 128 |
+
$$
|
| 129 |
+
\mathcal {N} ^ {*} = \mathcal {D} \cap \left\{x _ {i}, \widetilde {y} _ {i} | \widetilde {y} _ {i} \neq \bar {y} _ {i} \right\},
|
| 130 |
+
$$
|
| 131 |
+
|
| 132 |
+
where $\overline{y}_i$ is the true label of $x_i$ . Note that although this ideal separation can be completely precise for separating noisy samples in $\mathcal{D}$ , it is infeasible in practice, as the true labels are unknown. Therefore, to precisely separate the true noisy samples in $\mathcal{D}$ , we propose two thresholds for LLM-generated and PLM-generated confidences, respectively.
|
| 133 |
+
|
| 134 |
+
In order to achieve more robust LLM-generated confidences distributed over the label space $\mathcal{C}$ , we adopt $M$ different augmentations for each input sample to encourage input diversity while keeping the semantics immutable. Denote the augmented samples of $x_{i}$ as $v_{m}(x_{i})$ , where $m = 1,2,\ldots ,M$ , and $M$ is the number of augmentations. We can obtain the $M$ LLM-generated confidences as $\widehat{p} (c_j;v_m(x_i))$ for $x_{i}$ regarding the $j$ -th class $c_{j}$ where $m = 1,2,\dots ,M$ and $j = 1,2,\dots ,N$ . We aggregate the LLM-generated confidences via the $M$ augmentations as follows:
|
| 135 |
+
|
| 136 |
+
$$
|
| 137 |
+
\widehat {p} _ {a} \left(c _ {j}; x _ {i}\right) = \frac {1}{M} \sum_ {m = 1} ^ {M} \widehat {p} \left(c _ {j}; v _ {m} \left(x _ {i}\right)\right), \tag {6}
|
| 138 |
+
$$
|
| 139 |
+
|
| 140 |
+
where $v_{m}(x_{i})$ is the input example after applying the $m$ -th augmentation. As LLM-generated confidences remain fixed during fine-tuning PLMs, we adopt a fixed threshold $\widehat{\tau}$ for fine-grained separation based on $\widehat{p}_a(c_j; x_i)$ .
|
| 141 |
+
|
| 142 |
+
On the other hand, however, PLMs-generated confidences for each sample will change as the finetuning proceeds, which results in subpar separation performance if we adopt a fixed threshold to select high-confidence samples as clean ones. Intuitively, the confidences should be lower for HC samples at the beginning of fine-tuning, as the model cannot
|
| 143 |
+
|
| 144 |
+
easily fit these hard samples within several epochs. Nonetheless, the noisy samples are relatively easier to achieve higher confidence, and thus their confidences will easily achieve higher at the beginning. Therefore, we propose an adaptive threshold $\widetilde{\tau}(t)$ that will increase as fine-tuning proceeds while not reaching an excessively high value:
|
| 145 |
+
|
| 146 |
+
$$
|
| 147 |
+
\widetilde {\tau} (t) = \widetilde {\tau} - \exp (- \lambda t), \qquad (7)
|
| 148 |
+
$$
|
| 149 |
+
|
| 150 |
+
where $\lambda$ and $\widetilde{\tau}$ are hyper-parameters that control the value of threshold $\widetilde{\tau}(t)$ as fine-tuning proceeds. $t$ denotes the current number of fine-tuning epochs.
|
| 151 |
+
|
| 152 |
+
Combining the two thresholds, we can perform fine-grained separation by selecting the HC set $\mathcal{H}$ as follows:
|
| 153 |
+
|
| 154 |
+
$$
|
| 155 |
+
\begin{array}{l} \mathcal {H} = \mathcal {D} \cap \left\{x _ {i}, \widetilde {y} _ {i} \mid \max _ {c \in \mathcal {C}} \widehat {p} _ {a} (c; x _ {i}) < \widehat {\tau} \right\} \tag {8} \\ \cap \left\{x _ {i}, \widetilde {y} _ {i} \mid \max _ {c \in \mathcal {C}} \widetilde {p} (c; x _ {i}) < \widetilde {\tau} (t) \right\}, \\ \end{array}
|
| 156 |
+
$$
|
| 157 |
+
|
| 158 |
+
where $\widehat{\tau}$ and $\widetilde{\tau}(t)$ are the thresholds for LLM-generated confidence $(\widehat{p}_a(c_j; x_i))$ and PLMs-generated confidence $(\widetilde{p}(c_j; x_i))$ , respectively. In this manner, the process of separating HC and TN samples, i.e., fine-grained separation, can benefit from both the LLMs and PLMs. Then the remaining samples are categorized into the True Noisy (TN) set $\mathcal{N}$ :
|
| 159 |
+
|
| 160 |
+
$$
|
| 161 |
+
\mathcal {N} = \mathcal {D} \backslash \mathcal {H}. \tag {9}
|
| 162 |
+
$$
|
| 163 |
+
|
| 164 |
+
# 4.4 Learning from the Hard Clean (HC) Set
|
| 165 |
+
|
| 166 |
+
Now we have divided the disagreed set $\mathcal{D}$ into $\mathcal{H}$ and $\mathcal{N}$ . Recall that ideally, samples in $\mathcal{H}$ are hard yet correct. Thus, for these samples, we can directly utilize their assigned labels $\widetilde{y}$ as training labels. Nevertheless, since the fine-grained separation of $\mathcal{H}$ and $\mathcal{N}$ cannot be perfect, the samples in $\mathcal{H}$ may still be noisy. As both LLMs and PLMs fail to provide a confident prediction for samples in $\mathcal{H}$ , we propose to prioritize the assigned label while also incorporating additional information from LLMs and PLMs. Specifically, we employ a weighted loss based on cross-entropy. The weight is enlarged if the summed confidence of the LLM and the PLM is high. We define the loss as follows:
|
| 167 |
+
|
| 168 |
+
$$
|
| 169 |
+
\mathcal {L} _ {\mathcal {H}} = - \frac {1}{| \mathcal {H} |} \sum_ {i = 1} ^ {| \mathcal {H} |} \sum_ {j = 1} ^ {N} \left(\tilde {y} _ {i, j} + \phi_ {i, j}\right) \log \widetilde {p} \left(c _ {j}; x _ {i}\right), \tag {10}
|
| 170 |
+
$$
|
| 171 |
+
|
| 172 |
+
where $\widetilde{p}(c_j; x_i)$ is the PLM-generated confidence for $x_i$ regarding the $j$ -th class $c_j$ . Here $\widetilde{y}_{i,j} = 1$ if $\widetilde{y}_i = c_j$ , and $\widetilde{y}_{i,j} = 0$ , otherwise. $\phi_{i,j}$ acts as a
|
| 173 |
+
|
| 174 |
+
weight adjustment that increases when the sum of LLM confidence $\widehat{p}_a(c_j;x_i)$ and PLM confidence $\widetilde{p} (c_j;x_i)$ is larger. Intuitively, if the LLM and PLM are with high confidence regarding a specific class, then the information in their confidence can be useful as they are more likely to be correct. Therefore, we define $\phi_{i,j}$ as follows:
|
| 175 |
+
|
| 176 |
+
$$
|
| 177 |
+
\phi_ {i, j} = \max \left(\widehat {p} _ {a} \left(c _ {j}; x _ {i}\right) + \widetilde {p} \left(c _ {j}; x _ {i}\right) - \alpha \widetilde {\tau} (t), 0\right), \tag {11}
|
| 178 |
+
$$
|
| 179 |
+
|
| 180 |
+
where $\alpha > 1$ is a hyper-parameter that controls the threshold $\alpha \widetilde{\tau}(t)$ for $\phi_{i,j}$ . As such information can still be inaccurate, we subtract it by the threshold $\alpha \widetilde{\tau}(t)$ to control its magnitude, such that $\phi_{i,j}$ also acts as an adaptive loss weight for these samples.
|
| 181 |
+
|
| 182 |
+
# 4.5 Learning from the True Noisy (TN) Set
|
| 183 |
+
|
| 184 |
+
After the fine-grained separation, most samples in the True Noisy (TN) Set should be identified as noisy ones. Nevertheless, it is still challenging for PLMs to use their output as pseudo-labels for fine-tuning, as the prediction errors will accumulate and affect subsequent pseudo-labeling results. Fortunately, the confidence generated by LLMs can provide additional guidance to identify the potential labels for samples in the TN set. We first provide Remark 1 to justify the effectiveness of using LLM-generated labels for optimization.
|
| 185 |
+
|
| 186 |
+
Remark 1. LLM-generated labels on the True Noisy Set preserve the same accuracy as that on the whole dataset, as LLMs are not affected by noise.
|
| 187 |
+
|
| 188 |
+
Remark 1, as empirically verified in Sec. 5.5, demonstrates that even when we categorize most noisy samples into True Noisy Set, the LLM-generated labels can still provide decent guidance without sacrificing accuracy. Given the confidence provided by LLMs, we employ a loss that can enable the PLMs to benefit from them. Specifically,
|
| 189 |
+
|
| 190 |
+
$$
|
| 191 |
+
\begin{array}{l} \mathcal {L} _ {\mathcal {N}} = - \frac {1}{| \mathcal {N} |} \sum_ {i = 1} ^ {| \mathcal {N} |} \sum_ {j = 1} ^ {N} \widehat {p} _ {a} (c _ {j}; x _ {i}) \log \widetilde {p} (c _ {j}; x _ {i}) \\ - \frac {1}{| \mathcal {N} |} \sum_ {i = 1} ^ {| \mathcal {N} |} \delta \left(x _ {i}\right) \cdot \max _ {c \in \mathcal {C}} \widetilde {p} (c; x _ {i}) \log \max _ {c \in \mathcal {C}} \widetilde {p} (c; x _ {i}). \tag {12} \\ \end{array}
|
| 192 |
+
$$
|
| 193 |
+
|
| 194 |
+
Here in the first term, we leverage the confidences generated by LLMs to learn from potentially correct labels. This is because although LLMs cannot completely predict the correct labels, the confidences still preserve the potentially useful information in other incorrect but relevant labels. Such
|
| 195 |
+
|
| 196 |
+
benefits cannot be provided by pseudo-labeling, which tends to output a definitive label. For the second term, we utilize the model predictions to exploit useful information from PLMs. The intuition is that, with the relevant label information provided by LLMs, the PLMs can learn accurate label information from the noisy samples in TN set. Consequently, if the model output tends to be confident on specific samples, we can utilize the prediction to further enhance the learning from it. Thus, we further set a threshold for this term, i.e., $\delta(x_i)$ , defined as follows:
|
| 197 |
+
|
| 198 |
+
$$
|
| 199 |
+
\delta \left(x _ {i}\right) = \left\{ \begin{array}{l l} 1, & \text {i f} \quad \max _ {c \in \mathcal {C}} \widetilde {p} (c; x _ {i}) > \beta \widetilde {\tau} (t), \\ 0, & \text {o t h e r w i s e}, \end{array} \right. \tag {13}
|
| 200 |
+
$$
|
| 201 |
+
|
| 202 |
+
where $\widetilde{\tau}(t)$ is computed by Eq. (7). To reduce the effect of confirmation bias, we multiply $\widetilde{\tau}(t)$ by $\beta$ , a hyper-parameter that controls the final adaptive threshold, i.e., $\beta \widetilde{\tau}(t)$ .
|
| 203 |
+
|
| 204 |
+
# 4.6 Fine-tuning Objective
|
| 205 |
+
|
| 206 |
+
After we separate all training samples into $\mathcal{E}$ , $\mathcal{H}$ , and $\mathcal{N}$ , we can combine the three individual losses for them for PLM fine-tuning. Our final fine-tuning objective can be represented as follows:
|
| 207 |
+
|
| 208 |
+
$$
|
| 209 |
+
\mathcal {L} = \mathcal {L} _ {\mathcal {E}} + \lambda_ {\mathcal {H}} \mathcal {L} _ {\mathcal {H}} + \lambda_ {\mathcal {N}} \mathcal {L} _ {\mathcal {N}}, \tag {14}
|
| 210 |
+
$$
|
| 211 |
+
|
| 212 |
+
where $\lambda_{\mathcal{H}}$ and $\lambda_{\mathcal{N}}$ are hyper-parameters that control the importance of $\mathcal{L}_{\mathcal{H}}$ and $\mathcal{L}_{\mathcal{N}}$ , respectively.
|
| 213 |
+
|
| 214 |
+
# 5 Experiments
|
| 215 |
+
|
| 216 |
+
# 5.1 Experimental Settings
|
| 217 |
+
|
| 218 |
+
Datasets. To evaluate the performance of our framework, we first conduct experiments on two synthetic-noise datasets: 20Ng (Lang, 1995) and AGNews (Li and Roth, 2002; Zhang et al., 2015). Following existing works on learning from noisy labels (Patrini et al., 2017; Yao et al., 2020; Zhuang et al., 2023), we adopt three types of synthetic label noise: (1) Symmetric Noise (SN) uniformly changes labels to other classes (Han et al., 2018; Xia et al., 2021). (2) Asymmetric Noise (ASN) changes labels to other similar classes (Tanaka et al., 2018; Bae et al., 2022). (3) Instance-Dependent Noise (IDN) changes labels based on a probability in proportion to the specific sample features (Cheng et al., 2021; Yao et al., 2021). Moreover, we further conduct experiments on three real-world datasets with noisy labels: SemEval (Zhou et al., 2020), TREC (Awasthi et al., 2020), and
|
| 219 |
+
|
| 220 |
+
Hausa (Hedderich et al., 2020). More details about these datasets are provided in Appendix B.
|
| 221 |
+
|
| 222 |
+
Baselines. We compare our framework to state-of-the-art baselines for learning from noisy labels. In particular, we compare to (1) Base (Devlin et al., 2018) that performs fine-tuning with standard cross-entropy loss; (2) Regularization Methods: Mixup (Zhang et al., 2018) and GCE (Zhang and Sabuncu, 2018); (3) Sample-selection Methods: Co-teaching (Han et al., 2018), Co-teaching+ (Yu et al., 2019), JoCoR (Wei et al., 2020), CR (Zhou and Chen, 2021), and NPC (Bae et al., 2022). Additional details are provided in Appendix C.
|
| 223 |
+
|
| 224 |
+
Implementation Details. We use BERT (Devlin et al., 2018) as the text encoder for all datasets except Hausa, for which we use mBERT. The classifier is implemented as a fully-connected layer and randomly initialized at the beginning, while both the encoder and the classifier will be updated via gradient descent during fine-tuning. All experiments are evaluated on a clean test set, and the average accuracy along with the standard deviation over ten runs is reported for each dataset. We provide more details about the implementation in Appendix D, and our code is provided at https://github.com/SongW-SW/LAFT.
|
| 225 |
+
|
| 226 |
+
# 5.2 Comparison on Synthetic Datasets
|
| 227 |
+
|
| 228 |
+
In this subsection, we compare our framework with other baselines on synthetic datasets $20\mathrm{Ng}$ and AGNews, considering different noise types and ratios. Specifically, for Symmetric Noise (SN), we conduct experiments on three different noise rates: $20\%$ , $40\%$ , and $60\%$ . For the other two types of noise, i.e., Asymmetric Noise (AN) and Instance-Dependent Noise (IDN), we adopt two noise rates: $20\%$ and $40\%$ . We present the results in Table 1, 2, and 3. The key observations drawn from the outcomes are as follows: (1) Regardless of the noise type, our LAFT framework persistently surpasses other state-of-the-art baselines, thus showcasing its effectiveness in fine-tuning PLMs with noisy labels. (2) LAFT's performance improvement over other baselines is slightly more pronounced on the $20\mathrm{Ng}$ dataset compared to AGNews. This is attributable to $20\mathrm{Ng}$ containing a greater number of classes ( $N = 20$ ) as opposed to AGNews ( $N = 4$ ). Consequently, our strategy of utilizing LLM-generated confidence can capitalize on the similar labels within $20\mathrm{Ng}$ for PLM fine-tuning, even if LLM predictions are not entirely accurate.
|
| 229 |
+
|
| 230 |
+
Table 1: The overall performance of various models on synthetic noisy datasets ${20}\mathrm{{Ng}}$ and AGNews with Symmetric Noise (SN),where accuracy and standard deviation are reported in %,and the best results are in bold.
|
| 231 |
+
|
| 232 |
+
<table><tr><td>Dataset</td><td colspan="3">20Ng</td><td colspan="3">AGNews</td></tr><tr><td>SN Ratio</td><td>20%</td><td>40%</td><td>60%</td><td>20%</td><td>40%</td><td>60%</td></tr><tr><td>Base</td><td>79.15 ± 0.29</td><td>71.74 ± 0.07</td><td>61.87 ± 1.58</td><td>81.77 ± 0.33</td><td>78.33 ± 0.47</td><td>73.07 ± 1.49</td></tr><tr><td>Mixup</td><td>79.10 ± 0.21</td><td>70.58 ± 0.22</td><td>62.48 ± 2.04</td><td>81.25 ± 0.02</td><td>78.24 ± 0.77</td><td>73.12 ± 1.58</td></tr><tr><td>GCE</td><td>79.56 ± 0.39</td><td>70.46 ± 0.42</td><td>62.61 ± 1.01</td><td>82.98 ± 0.20</td><td>78.46 ± 0.20</td><td>72.75 ± 0.27</td></tr><tr><td>Co-teaching</td><td>76.68 ± 0.86</td><td>69.23 ± 0.62</td><td>61.39 ± 3.15</td><td>80.99 ± 0.88</td><td>76.82 ± 2.01</td><td>71.49 ± 2.74</td></tr><tr><td>Co-teaching+</td><td>78.78 ± 0.96</td><td>71.33 ± 2.31</td><td>62.90 ± 1.55</td><td>80.95 ± 0.86</td><td>77.98 ± 0.76</td><td>72.73 ± 0.98</td></tr><tr><td>JoCoR</td><td>80.11 ± 0.42</td><td>73.52 ± 0.88</td><td>63.52 ± 0.22</td><td>83.60 ± 0.54</td><td>79.45 ± 0.38</td><td>75.45 ± 0.30</td></tr><tr><td>CR</td><td>81.80 ± 0.48</td><td>74.16 ± 0.13</td><td>64.22 ± 1.25</td><td>84.09 ± 0.39</td><td>80.12 ± 0.95</td><td>75.06 ± 1.01</td></tr><tr><td>NPC</td><td>80.38 ± 0.35</td><td>72.93 ± 0.23</td><td>64.38 ± 0.38</td><td>84.28 ± 0.47</td><td>80.26 ± 1.39</td><td>73.81 ± 0.18</td></tr><tr><td>LAFT (Ours)</td><td>82.04 ± 0.11</td><td>76.93 ± 0.60</td><td>70.79 ± 1.98</td><td>90.86 ± 0.02</td><td>88.61 ± 0.25</td><td>80.79 ± 2.32</td></tr></table>
|
| 233 |
+
|
| 234 |
+
Table 2: The overall performance on ${20}\mathrm{{Ng}}$ and AGNews with Asymmetric Noise (AN).
|
| 235 |
+
|
| 236 |
+
<table><tr><td>Dataset</td><td colspan="2">20Ng</td><td colspan="2">AGNews</td></tr><tr><td>AN Ratio</td><td>20%</td><td>40%</td><td>20%</td><td>40%</td></tr><tr><td>Base</td><td>75.34</td><td>59.65</td><td>82.24</td><td>76.35</td></tr><tr><td>Mixup</td><td>75.84</td><td>62.19</td><td>82.12</td><td>77.45</td></tr><tr><td>GCE</td><td>76.41</td><td>62.37</td><td>83.19</td><td>77.49</td></tr><tr><td>Co-teaching</td><td>77.49</td><td>64.55</td><td>84.15</td><td>79.16</td></tr><tr><td>Co-teaching+</td><td>77.98</td><td>63.48</td><td>86.12</td><td>81.02</td></tr><tr><td>JoCoR</td><td>81.27</td><td>70.99</td><td>87.63</td><td>82.79</td></tr><tr><td>CR</td><td>81.08</td><td>67.22</td><td>88.58</td><td>83.07</td></tr><tr><td>NPC</td><td>79.03</td><td>65.54</td><td>86.83</td><td>80.21</td></tr><tr><td>LAFT (Ours)</td><td>83.70</td><td>81.97</td><td>91.95</td><td>90.12</td></tr></table>
|
| 237 |
+
|
| 238 |
+
Table 3: The overall performance on $20\mathrm{Ng}$ and AGNews with Instance-Dependent Noise (IDN).
|
| 239 |
+
|
| 240 |
+
<table><tr><td>Dataset</td><td colspan="2">20Ng</td><td colspan="2">AGNews</td></tr><tr><td>IDN Ratio</td><td>20%</td><td>40%</td><td>20%</td><td>40%</td></tr><tr><td>Base</td><td>78.23</td><td>70.28</td><td>85.40</td><td>78.66</td></tr><tr><td>Mixup</td><td>78.21</td><td>70.45</td><td>84.71</td><td>79.22</td></tr><tr><td>GCE</td><td>79.99</td><td>71.74</td><td>87.11</td><td>80.49</td></tr><tr><td>Co-teaching</td><td>77.43</td><td>70.76</td><td>84.09</td><td>78.43</td></tr><tr><td>Co-teaching+</td><td>79.89</td><td>71.52</td><td>88.21</td><td>82.30</td></tr><tr><td>JoCoR</td><td>81.83</td><td>74.04</td><td>88.24</td><td>82.66</td></tr><tr><td>CR</td><td>83.04</td><td>75.51</td><td>90.72</td><td>84.38</td></tr><tr><td>NPC</td><td>81.84</td><td>74.45</td><td>89.90</td><td>82.40</td></tr><tr><td>LAFT (Ours)</td><td>83.61</td><td>80.49</td><td>91.94</td><td>89.34</td></tr></table>
|
| 241 |
+
|
| 242 |
+
(3) Certain regularization methods, such as Mixup and GCE, exhibit subpar performance when applied to datasets with a higher noise ratio of $60\%$ . This is because these methods rely on all training samples for PLM fine-tuning, making them more susceptible to strong label noises.
|
| 243 |
+
|
| 244 |
+
# 5.3 Comparison on Real-world Datasets
|
| 245 |
+
|
| 246 |
+
In this subsection, we conduct experiments on real-world datasets: SemEval (Zhou et al., 2020), TREC (Awasthi et al., 2020), and Hausa (Hedderich et al., 2020). From the results in Table 4, we observe that LAFT outperforms other baseline methods on all three datasets. Moreover, the results of LAFT are noticeably competitive on TREC and Hausa with relatively higher noise ratios, which further demonstrates the strong robustness and generalization ability of LAFT to label noise.
|
| 247 |
+
|
| 248 |
+
# 5.4 Ablation Study
|
| 249 |
+
|
| 250 |
+
In this subsection, we systematically remove specific components from our framework and ana
|
| 251 |
+
|
| 252 |
+
lyze the resulting impact on performance. We conduct experiments with the following variants: (1) LAFT\C performs coarse-grained separation without LLMs and thus only separates the Easy Clean Set based on PLM predictions. (2) LAFT\F performs fine-grained separation without LLMs, which means when separating Hard Clean Set, only PLM-generated confidence are used. (3) LAFT\N removes our proposed loss $\mathcal{L}_{\mathcal{N}}$ for True Noisy Set and replaces it with pseudo-labeling based on the most confident PLM prediction. From the results presented in Figure 3, we observe that LAFT outperforms all variants, which verifies the effectiveness of these designs in LAFT. Specifically, removing the learning loss $\mathcal{L}_{\mathcal{N}}$ leads to significant performance degradation, indicating that such a design can effectively alleviate the adverse impact of noisy labels. Moreover, without the fine-grained separation strategy, the performance deteriorates rapidly when the noise ratio is larger, indicating the importance of fine-grained separation in the presence of higher noise ratios.
|
| 253 |
+
|
| 254 |
+
Table 4: The overall performance of various models on three real-world noisy datasets.
|
| 255 |
+
|
| 256 |
+
<table><tr><td>Dataset</td><td>SemEval</td><td>TREC</td><td>Hausa</td></tr><tr><td>Noise Ratio</td><td>16.00%</td><td>38.56%</td><td>50.37%</td></tr><tr><td>Base</td><td>70.61</td><td>67.42</td><td>47.80</td></tr><tr><td>Mixup</td><td>73.41</td><td>68.44</td><td>47.66</td></tr><tr><td>GCE</td><td>71.91</td><td>67.86</td><td>48.12</td></tr><tr><td>Co-teaching</td><td>72.13</td><td>68.19</td><td>47.56</td></tr><tr><td>Co-teaching+</td><td>72.24</td><td>69.83</td><td>48.25</td></tr><tr><td>JoCoR</td><td>70.11</td><td>66.62</td><td>46.48</td></tr><tr><td>CR</td><td>72.94</td><td>68.90</td><td>48.34</td></tr><tr><td>NPC</td><td>71.22</td><td>67.84</td><td>47.48</td></tr><tr><td>LAFT (Ours)</td><td>73.56</td><td>72.34</td><td>51.71</td></tr></table>
|
| 257 |
+
|
| 258 |
+

|
| 259 |
+
Figure 3: Ablation study of our framework on $20\mathrm{Ng}$ . S-0.2 and S-0.4 (A, or ID) refer to the noise ratios of $20\%$ and $40\%$ for SN (AN, or IDN), respectively.
|
| 260 |
+
|
| 261 |
+
# 5.5 Evaluation of LLMs-generated Labels
|
| 262 |
+
|
| 263 |
+
In this subsection, we evaluate the effectiveness of LLMs regarding the quality of generated confidence, presented in Table 5. Specifically, we report the accuracy of LLM-generated prediction on the training set in $20\mathrm{Ng}$ and AGNews. The statistics are from experiments on $20\mathrm{Ng}$ and AGNews with $20\%$ Symmetric Noise (SN). From the results, we can observe that: (1) For Easy Clean Set, the LLM-generated labels exhibit a remarkably high degree of correctness. This empirical finding provides the justification for Assumption 1, which allows for leveraging LLMs to perform coarse-grained separation in our framework. (2) For the TN set, LLM-generated labels are not entirely correct, while still preserving similar accuracy compared to that on all samples. This result empirically verifies Remark 1 and justifies our strategy of utilizing LMM-generated confidence for learning from the TN set. (3) Considering the overall result, LLM-generated labels generally exhibit lower accuracy than PLM-based baselines. That being said, LLMs cannot be
|
| 264 |
+
|
| 265 |
+
Table 5: The LLM-generated prediction accuracy on the training set in $20\mathrm{Ng}$ and AGNews in the ideal separation and real separation (shown in gray) during fine-tuning.
|
| 266 |
+
|
| 267 |
+
<table><tr><td>Dataset</td><td>EC Set</td><td>HC Set</td><td>TN Set</td><td>Overall</td></tr><tr><td rowspan="2">20Ng</td><td>99.46%</td><td>0%</td><td>76.47%</td><td>75.34%</td></tr><tr><td>99.46%</td><td>3.58%</td><td>69.44%</td><td>75.34%</td></tr><tr><td rowspan="2">AGNews</td><td>99.03%</td><td>0%</td><td>79.35%</td><td>81.41%</td></tr><tr><td>99.03%</td><td>2.05%</td><td>76.07%</td><td>81.41%</td></tr></table>
|
| 268 |
+
|
| 269 |
+

|
| 270 |
+
Figure 4: The results of our framework and the best baseline CR on $20\mathrm{Ng}$ with different noise ratios for three types of noise: SN, AN, and IDN.
|
| 271 |
+
|
| 272 |
+
directly used to replace PLMs for the text classification task when the noise ratio is not extremely high. Nevertheless, our strategy can effectively leverage the LLM-generated confidences, despite their lack of complete correctness, to enhance the fine-tuning performance of PLMs with noisy labels.
|
| 273 |
+
|
| 274 |
+
# 5.6 Results with Different Noise Ratios
|
| 275 |
+
|
| 276 |
+
Figure 4 presents the evaluation of our proposed framework across a spectrum of noise ratios on $20\mathrm{Ng}$ , ranging from 0.1 to 0.9, while considering three distinct types of noise: SN, AN, and IDN. From the results, several significant observations are discovered: (1) With increasing noise ratios, all baseline methods consistently show a deterioration in performance. This decline can be tied to the amplified difficulty of label noise during PLM fin-tuning. (2) Despite the escalating noise ratios, our framework maintains a relatively more robust performance. This is attributed to our sample separation strategy which adeptly discerns clean samples within the training set, thus alleviating the adverse effects of label noise. (3) Our framework demonstrates a slower performance decrease with AN noise compared to other types of noise. This can be credited to the adaptive nature of our approach that employs LLM-generated confidence to effectively learn from similar labels for each sample.
|
| 277 |
+
|
| 278 |
+
# 6 Conclusion
|
| 279 |
+
|
| 280 |
+
This paper delves into the issue of fine-tuning Pre-trained Language Models (PLMs) with noisy labels for text classification tasks. We address the detrimental effects of label noise by harnessing external guidance from Large Language Models (LLMs) in the form of confidence. Our approach entails a two-step separation strategy that accurately segregates all training samples into three distinct subsets, each treated with innovative noise-resilient strategies. In summary, our framework adeptly finetunes PLMs in the face of noisy samples, requiring minimal external guidance from LLMs.
|
| 281 |
+
|
| 282 |
+
# Acknowledgements
|
| 283 |
+
|
| 284 |
+
Song Wang and Jundong Li are supported by the National Science Foundation under grants (IIS-2006844, IIS-2144209, IIS-2223769, CNS2154962, and BCS-2228534), the Commonwealth Cyber Initiative awards (VV-1Q23-007, HV2Q23-003, and VV-1Q24-011), the JP Morgan Chase Faculty Research Award, the Cisco Faculty Research Award, the Jefferson Lab subcontract, and the UVA 4-VA collaborative research grant.
|
| 285 |
+
|
| 286 |
+
# Limitation
|
| 287 |
+
|
| 288 |
+
Despite the promising results, our work presents several limitations that we must acknowledge: (1) Dependence on Large Language Models (LLMs): Our framework leverages the guidance from LLMs in the form of confidences. This implies that the quality of these confidences and hence the effectiveness of our model are closely tied to the performance of the LLM. Unsatisfactory LLM performance could thus directly impact our framework's efficacy. (2) Noise Types and Ratios: The experiments in this paper mainly focus on three types of noise: Symmetric Noise (SN), Asymmetric Noise (AN), and Instance-Dependent Noise (IDN), with noise ratios up to $60\%$ . However, there may be other noise types or higher noise ratios in practice, and it remains to be investigated how well our framework performs under these circumstances. (3) Limitations in Sample Separation Strategies: The efficacy of our framework relies on accurately dividing the training samples into clean and noisy subsets. If this distinction is not clear or becomes more complex, our current approach may encounter difficulties. (4) Domain-Specific Text Classification: While the experiments are performed on specific text classification tasks, we do not investigate
|
| 289 |
+
|
| 290 |
+
the effectiveness of our approach in more domain-specific contexts where the nature of the noise could be different. (5) Computational Costs: Finally, our approach entails using LLMs which can be computationally expensive and could thus pose a challenge when applied to large datasets or in resource-constrained environments. In summary, future research could focus on overcoming these limitations and exploring the adaptability of our proposed framework to other noise types, higher noise ratios, more complex noise patterns, as well as different task domains.
|
| 291 |
+
|
| 292 |
+
# Ethics Statement
|
| 293 |
+
|
| 294 |
+
This research adheres to the principles of ethical conduct in artificial intelligence research. The development and utilization of our work are carried out with full recognition of the potential implications. While our method improves the performance of Pretrained Language Models (PLMs) with noisy labels in text classification tasks, we acknowledge that it could be potentially used in contexts that may involve ethical concerns, such as disinformation or manipulation of opinion on social platforms. Our experiments are performed on five publicly available datasets, namely $20\mathrm{Ng}$ , AGNews, SemEval, TREC, and Hausa. The datasets are already anonymized and do not contain any personally identifiable information. Moreover, we have complied with all guidelines and standards for the use of these datasets. Furthermore, the use of Large Language Models (LLMs) in our work is subject to the terms and conditions put forth by the creators and hosts of these models. We only empty them for the purpose of enhancing the fine-tuning performance of PLMs and do not exploit them for any inappropriate or unauthorized purposes. While our work focuses on improving the robustness of PLMs to label noise in data, we recognize the broader societal concerns related to the potential misuse of our framework. We advocate for the responsible use of our research findings and encourage continued discourse around the ethical use of machine learning and artificial intelligence technologies in real-world applications. Finally, it is crucial to note that the development of technologies and methodologies in machine learning should be done in conjunction with ongoing considerations about their ethical implications, potential misuse, and societal impacts. It is our responsibility to foster an environment of ethical vigilance in AI research and development.
|
| 295 |
+
|
| 296 |
+
# References
|
| 297 |
+
|
| 298 |
+
Christoph Alt, Aleksandra Gabryszak, and Leonhard Hennig. 2020. Tacred revisited: A thorough evaluation of the tacred relation extraction task. In ACL.
|
| 299 |
+
Devansh Arpit, Stanisław Jastrzebski, Nicolas Ballas, David Krueger, Emmanuel Bengio, Maxinder S Kanwal, Tegan Maharaj, Asja Fischer, Aaron Courville, Yoshua Bengio, et al. 2017. A closer look at memorization in deep networks. In ICML.
|
| 300 |
+
Abhijeet Awasthi, Sabyasachi Ghosh, Rasna Goyal, and Sunita Sarawagi. 2020. Learning from rules generalizing labeled exemplars. In *ICLR*.
|
| 301 |
+
HeeSun Bae, Seungjae Shin, Byeonghu Na, JoonHo Jang, Kyungwoo Song, and Il-Chul Moon. 2022. From noisy prediction to true label: Noisy prediction calibration via generative model. In ICML.
|
| 302 |
+
David Berthelot, Nicholas Carlini, Ian Goodfellow, Nicolas Papernot, Avital Oliver, and Colin A Raffel. 2019. Mixmatch: A holistic approach to semi-supervised learning. NeurIPS.
|
| 303 |
+
Hao Cheng, Zhaowei Zhu, Xingyu Li, Yifei Gong, Xing Sun, and Yang Liu. 2021. Learning with instance-dependent label noise: A sample sieve approach. In ICLR.
|
| 304 |
+
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.
|
| 305 |
+
Erik Englesson and Hossein Azizpour. 2021. Generalized jensen-shannon divergence loss for learning with noisy labels. NeurIPS.
|
| 306 |
+
Bo Han, Quanming Yao, Xingrui Yu, Gang Niu, Miao Xu, Weihua Hu, Ivor Tsang, and Masashi Sugiyama. 2018. Co-teaching: Robust training of deep neural networks with extremely noisy labels. NeurIPS.
|
| 307 |
+
Michael A Hedderich, David I Adelani, Dawei Zhu, Jesujoba Alabi, Udia Markus, and Dietrich Klakow. 2020. Transfer learning and distant supervision for multilingual transformer models: A study on african languages. In EMNLP.
|
| 308 |
+
Lu Jiang, Zhengyuan Zhou, Thomas Leung, Li-Jia Li, and Li Fei-Fei. 2018. Mentornet: Learning data-driven curriculum for very deep neural networks on corrupted labels. In ICML.
|
| 309 |
+
Nazmul Karim, Mamshad Nayeem Rizve, Nazanin Rahnavard, Ajmal Mian, and Mubarak Shah. 2022. Unicon: Combating label noise through uniform selection and contrastive learning. In CVPR.
|
| 310 |
+
Diederik P Kingma and Jimmy Ba. 2015. Adam: A method for stochastic optimization. In ICLR.
|
| 311 |
+
Ken Lang. 1995. Newsweeder: Learning to filter netnews. In Machine Learning Proceedings.
|
| 312 |
+
|
| 313 |
+
Bohan Li, Yutai Hou, and Wanxiang Che. 2022. Data augmentation approaches in natural language processing: A survey. AI Open.
|
| 314 |
+
Junnan Li, Richard Socher, and Steven CH Hoi. 2020. Dividemix: Learning with noisy labels as semi-supervised learning. In ICLR.
|
| 315 |
+
Junnan Li, Caiming Xiong, and Steven CH Hoi. 2021. Learning from noisy data with robust representation learning. In ICCV.
|
| 316 |
+
Wen Li, Limin Wang, Wei Li, Eirikur Agustsson, and Luc Van Gool. 2017. Webvision database: Visual learning and understanding from web data. arXiv preprint arXiv:1708.02862.
|
| 317 |
+
Xin Li and Dan Roth. 2002. Learning question classifiers. In COLING.
|
| 318 |
+
Yifan Li, Hu Han, Shiguang Shan, and Xilin Chen. 2023. Disc: Learning from noisy labels via dynamic instance-specific selection and correction. In CVPR.
|
| 319 |
+
Sheng Liu, Jonathan Niles-Weed, Narges Razavian, and Carlos Fernandez-Granda. 2020. Early-learning regularization prevents memorization of noisy labels. NeurIPS.
|
| 320 |
+
Kento Nishi, Yi Ding, Alex Rich, and Tobias Hollerer. 2021. Augmentation strategies for learning with noisy labels. In CVPR.
|
| 321 |
+
OpenAI. 2023. Gpt-4 technical report.
|
| 322 |
+
Giorgio Patrini, Alessandro Rozza, Aditya Krishna Menon, Richard Nock, and Lizhen Qu. 2017. Making deep neural networks robust to label noise: A loss correction approach. In CVPR.
|
| 323 |
+
Geoff Pleiss, Tianyi Zhang, Ethan Elenberg, and Kilian Q Weinberger. 2020. Identifying unlabeled data using the area under the margin ranking. NeurIPS.
|
| 324 |
+
Keisuke Sakaguchi, Ronan Le Bras, Chandra Bhagavatula, and Yejin Choi. 2021. Winogrande: An adversarial winograd schema challenge at scale. Communications of the ACM.
|
| 325 |
+
Kihyuk Sohn, David Berthelot, Nicholas Carlini, Zizhao Zhang, Han Zhang, Colin A Raffel, Ekin Dogus Cubuk, Alexey Kurakin, and Chun-Liang Li. 2020. Fixmatch: Simplifying semi-supervised learning with consistency and confidence. NeurIPS.
|
| 326 |
+
Hwanjun Song, Minseok Kim, and Jae-Gil Lee. 2019. Selfie: Refurbishing unclean samples for robust deep learning. In ICML.
|
| 327 |
+
Swabha Swayamdipta, Roy Schwartz, Nicholas Lourie, Yizhong Wang, Hannaneh Hajishirzi, Noah A Smith, and Yejin Choi. 2020. Dataset cartography: Mapping and diagnosing datasets with training dynamics. In EMNLP.
|
| 328 |
+
|
| 329 |
+
Daiki Tanaka, Daiki Ikami, Toshihiko Yamasaki, and Kiyoharu Aizawa. 2018. Joint optimization framework for learning with noisy labels. In CVPR.
|
| 330 |
+
Song Wang, Xingbo Fu, Kaize Ding, Chen Chen, Huiyuan Chen, and Jundong Li. 2023a. Federated few-shot learning. In SIGKDD.
|
| 331 |
+
Song Wang, Jing Ma, Lu Cheng, and Jundong Li. 2023b. Fair few-shot learning with auxiliary sets. In ECAI.
|
| 332 |
+
Yaqing Wang, Song Wang, Yanyan Li, and Dejing Dou. 2022. Recognizing medical search query intent by few-shot learning. In SIGIR.
|
| 333 |
+
Yaqing Wang, Song Wang, Quanming Yao, and Dejing Dou. 2021. Hierarchical heterogeneous graph representation learning for short text classification. In EMNLP.
|
| 334 |
+
Hongxin Wei, Lei Feng, Xiangyu Chen, and Bo An. 2020. Combating noisy labels by agreement: A joint training method with co-regularization. In CVPR.
|
| 335 |
+
Jason Wei and Kai Zou. 2019. Eda: Easy data augmentation techniques for boosting performance on text classification tasks. In EMNLP-IJCNLP.
|
| 336 |
+
Adina Williams, Nikita Nangia, and Samuel R Bowman. 2017. A broad-coverage challenge corpus for sentence understanding through inference. arXiv preprint arXiv:1704.05426.
|
| 337 |
+
Xiaobo Xia, Tongliang Liu, Bo Han, Chen Gong, Nanan Wang, Zongyuan Ge, and Yi Chang. 2021. Robust early-learning: Hinding the memorization of noisy labels. In ICLR.
|
| 338 |
+
Qizhe Xie, Zihang Dai, Eduard Hovy, Minh-Thang Luong, and Quoc V Le. 2019. Unsupervised data augmentation for consistency training. arXiv preprint arXiv:1904.12848.
|
| 339 |
+
Yan Yan, Rómer Rosales, Glenn Fung, Ramanathan Subramanian, and Jennifer Dy. 2014. Learning from multiple annotators with varying expertise. Machine Learning.
|
| 340 |
+
Yu Yao, Tongliang Liu, Mingming Gong, Bo Han, Gang Niu, and Kun Zhang. 2021. Instance-dependent label-noise learning under a structural causal model. In NeurIPS.
|
| 341 |
+
Yu Yao, Tongliang Liu, Bo Han, Mingming Gong, Jiankang Deng, Gang Niu, and Masashi Sugiyama. 2020. Dual t: Reducing estimation error for transition matrix in label-noise learning. NeurIPS.
|
| 342 |
+
Xingrui Yu, Bo Han, Jiangchao Yao, Gang Niu, Ivor Tsang, and Masashi Sugiyama. 2019. How does disagreement help generalization against label corruption? In ICML.
|
| 343 |
+
Bowen Zhang, Yidong Wang, Wenxin Hou, Hao Wu, Jindong Wang, Manabu Okumura, and Takahiro Shinozaki. 2021a. Flexmatch: Boosting semi-supervised learning with curriculum pseudo labeling. In NeurIPS.
|
| 344 |
+
|
| 345 |
+
Hongyi Zhang, Moustapha Cisse, Yann N Dauphin, and David Lopez-Paz. 2018. mixup: Beyond empirical risk minimization. In ICLR.
|
| 346 |
+
Jieyu Zhang, Yue Yu, Yinghao Li, Yujing Wang, Yaming Yang, Mao Yang, and Alexander Ratner. 2021b. WRENCH: A comprehensive benchmark for weak supervision. In NeurIPS Datasets and Benchmarks Track.
|
| 347 |
+
Xiang Zhang, Junbo Zhao, and Yann LeCun. 2015. Character-level convolutional networks for text classification. NIPS.
|
| 348 |
+
Yivan Zhang, Gang Niu, and Masashi Sugiyama. 2021c. Learning noise transition matrix from only noisy labels via total variation regularization. In ICML.
|
| 349 |
+
Zhilu Zhang and Mert Sabuncu. 2018. Generalized cross entropy loss for training deep neural networks with noisy labels. NeurIPS.
|
| 350 |
+
Ganlong Zhao, Guanbin Li, Yipeng Qin, Feng Liu, and Yizhou Yu. 2022. Centrality and consistency: two-stage clean samples identification for learning with instance-dependent noisy labels. In ECCV.
|
| 351 |
+
Wenxuan Zhou and Muhao Chen. 2021. Learning from noisy labels for entity-centric information extraction. In EMNLP.
|
| 352 |
+
Wenxuan Zhou, Hongtao Lin, Bill Yuchen Lin, Ziqi Wang, Junyi Du, Leonardo Neves, and Xiang Ren. 2020. Nero: A neural rule grounding framework for label-efficient relation extraction. In TheWebConf.
|
| 353 |
+
Dawei Zhu, Michael Hedderich, Fangzhou Zhai, David Adelani, and Dietrich Klakow. 2022. Is bert robust to label noise? a study on learning with noisy labels in text classification. In Insights from Negative Results in NLP.
|
| 354 |
+
Yuchen Zhuang, Yue Yu, Lingkai Kong, Xiang Chen, and Chao Zhang. 2023. Dygen: Learning from noisy labels via dynamics-enhanced generative modeling. arXiv preprint arXiv:2305.19395.
|
| 355 |
+
|
| 356 |
+
# A Details of Three Subsets
|
| 357 |
+
|
| 358 |
+
In this section, we further provide details about the three subsets of samples in our framework.
|
| 359 |
+
|
| 360 |
+
1. Easy Clean (EC) Set. In this subset, the labels predicted by LLMs are the same as the assigned labels. Therefore, based on Assumption 1, we can infer that the labels of these samples are almost clean, which allows us to directly use them for model training. Note that a small portion of samples in this category can still be noisy when the LLM predictions happen to be the same as noisy labels. However, we empirically verify in Sec. 5.5 that this proportion is small.
|
| 361 |
+
|
| 362 |
+
2. Hard Clean (HC) Set. In this (ideal) category, the labels predicted by LLMs deviate from the assigned labels, while the true labels are in accordance with the assigned labels. In this case, we are acknowledged that these samples are also clean. However, due to the semantic difficulties of these samples, the LLMs cannot easily predict the correct labels of them. Nevertheless, since the assigned labels are correct as true labels, we can use assigned labels for model training on these samples. It is noteworthy that in practice, it is infeasible to achieve a perfect separation of this subset. Therefore, in our framework, we propose to leverage LLM-generated and PLM-generated confidences to improve the separation performance.
|
| 363 |
+
|
| 364 |
+
3. True Noisy (TN) Set. In this (ideal) category, the labels predicted by LLMs and the true labels are both different from the assigned labels. In other words, these samples are all noisy as their assigned labels are different from true labels. Since they are noisy, the labels predicted by LLMs are also likely to be different from the assigned labels. As these samples are noisy, we cannot directly use their labels for training. However, since we narrow down the potential range of noisy samples to this category, we can resort to specific techniques to learn from these noisy samples. In our framework, we utilize LLM-generated confidence as additional supervision information to effectively learn from these noisy samples.
|
| 365 |
+
|
| 366 |
+
# B Datasets
|
| 367 |
+
|
| 368 |
+
In this section, we introduce the details of the datasets used in our experiments. In particular, $20\mathrm{Ng}$ (Lang, 1995) and AGNews (Li and Roth, 2002; Zhang et al., 2015) are news topic classification datasets that are prevalently used for text classification tasks. We manually inject different types of noise (SN, AN, and IDN) into these two datasets for evaluation in our experiments. For real-world datasets, we utilize SemEval (Zhou et al., 2020), TREC (Awasthi et al., 2020), and Hausa (Hedderich et al., 2020). Specifically, SemEval is a relation extraction dataset, and we follow the process introduced in (Zhou et al., 2020) to obtain noisy labels. TREC is a question classification dataset in the weak supervision benchmark WRENCH (Zhang et al., 2021b). Moreover, Hausa is a text classification dataset in the language of
|
| 369 |
+
|
| 370 |
+
Table 6: The detailed statistics of the five datasets used in our experiments.
|
| 371 |
+
|
| 372 |
+
<table><tr><td>Dataset</td><td># Training</td><td># Validation</td><td># Test</td><td># Class</td></tr><tr><td>20Ng</td><td>9,051</td><td>2,263</td><td>7,532</td><td>20</td></tr><tr><td>AGNews</td><td>40,000</td><td>7,600</td><td>7,600</td><td>4</td></tr><tr><td>SemEval</td><td>1,749</td><td>200</td><td>692</td><td>9</td></tr><tr><td>TREC</td><td>4,965</td><td>500</td><td>500</td><td>6</td></tr><tr><td>Hausa</td><td>2,045</td><td>290</td><td>582</td><td>5</td></tr></table>
|
| 373 |
+
|
| 374 |
+
Hausa, the second most spoken indigenous language in Africa, with 40 million native speakers. For this dataset, gazetteers are used for automatic labeling, which results in feature-dependent label noise. Here we provide the detailed statistics of these datasets in Table 6.
|
| 375 |
+
|
| 376 |
+
# C Baselines
|
| 377 |
+
|
| 378 |
+
In this section, we provide the details of the baselines used in our experiments.
|
| 379 |
+
|
| 380 |
+
- Base (Devlin et al., 2018) is the BERT base model fine-tuned based on the standard cross-entropy loss. Note that for dataset Hausa, we utilize the multilingual BERT model.
|
| 381 |
+
- Mixup (Zhang et al., 2018) is a semi-supervised approach that performs a linear interpolation between clean and noisy samples.
|
| 382 |
+
- GCE (Zhang and Sabuncu, 2018) denotes Generalized Cross-Entropy loss, which can be regarded as a general loss that combines mean absolute error (MAE) and cross-entropy (CE).
|
| 383 |
+
- Co-teaching (Han et al., 2018) trains two different models and selects small-loss samples to feed them into each other for optimization.
|
| 384 |
+
- Co-teaching+ (Yu et al., 2019) is an updated version of Co-teaching that explicitly ensures the difference between the two models.
|
| 385 |
+
- JoCoR (Wei et al., 2020) trains two models and selects samples based on the sum of loss from the two models.
|
| 386 |
+
- CR (Zhou and Chen, 2021) also trains multiple models with a regularization strategy based on a soft target.
|
| 387 |
+
- NPC (Bae et al., 2022) utilizes a generative model to estimate the transition matrix from noisy predictions to the ground-truth labels of samples and uses it to correct noisy labels.
|
| 388 |
+
|
| 389 |
+
# D Implementation Details
|
| 390 |
+
|
| 391 |
+
In this section, we introduce the implementation details for our experiments. We run the experiments on a single 48GB Nvidia GeForce RTX A6000 GPU. The experiments are run 10 times to achieve the average accuracy and the standard deviation.
|
| 392 |
+
|
| 393 |
+
For the augmentations used in our framework, following existing works (Xie et al., 2019; Wei and Zou, 2019; Li et al., 2022), we adopt four typical text augmentations: Back Translation, Random Insertion, Random Deletion, and Random Swap. We set the threshold $\widehat{\tau}$ for LLM-generated confidences as 0.8. We set the hyper-parameters $\lambda$ and $\widetilde{\tau}$ for the adaptive threshold $\widetilde{\tau}(t)$ for PLM-generated confidences as 0.7 and 0.8, respectively. We set $\alpha$ as 1.5 and $\beta$ as 0.9. For the loss weight, we set $\lambda_{\mathcal{H}} = \lambda_{\mathcal{N}} = 1$ . We set the model fine-tuning learning rate as $10^{-4}$ with a batch size of 32. The maximum length of texts is set as 256. The number of training epochs is set as 100 with early stopping based on the performance of the validation set. We optimize the model using the Adam (Kingma and Ba, 2015) optimization strategy. For the LLM, we utilize ChatGPT based on GPT4.
|
| 394 |
+
|
| 395 |
+
In addition, we provide more detailed package requirements as listed below.
|
| 396 |
+
|
| 397 |
+
- Python == 3.9.12
|
| 398 |
+
- torch == 2.0.1
|
| 399 |
+
- transformers == 4.29.2
|
| 400 |
+
- huggingface-hub == 0.15.1
|
| 401 |
+
- keras == 2.12.0
|
| 402 |
+
- numpy == 1.23.5
|
| 403 |
+
- scipy == 1.5.3
|
| 404 |
+
- CUDA == 11.6
|
| 405 |
+
networkx $= = 2.5.1$
|
| 406 |
+
scikit-learn $= = 0.24.1$
|
2023/Noise-Robust Fine-Tuning of Pretrained Language Models via External Guidance/images.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b7cd1fb401924758e546e67db3a092cbfc7651ee3b7c9f3faf6d3f0c37319a40
|
| 3 |
+
size 502706
|
2023/Noise-Robust Fine-Tuning of Pretrained Language Models via External Guidance/layout.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2023/Noise-Robust Semi-Supervised Learning for Distantly Supervised Relation Extraction/fc076ec4-b157-42d2-a4a8-4199f3a5df0a_content_list.json
ADDED
|
@@ -0,0 +1,2023 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Xin Sun $^{1,2}$ , Qiang Liu $^{2,3*}$ , Shu Wu $^{2,3}$ , Zilei Wang $^{1}$ , Liang Wang $^{2,3}$",
|
| 17 |
+
"bbox": [
|
| 18 |
+
221,
|
| 19 |
+
140,
|
| 20 |
+
776,
|
| 21 |
+
159
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "<sup>1</sup>University of Science and Technology of China",
|
| 28 |
+
"bbox": [
|
| 29 |
+
304,
|
| 30 |
+
159,
|
| 31 |
+
697,
|
| 32 |
+
175
|
| 33 |
+
],
|
| 34 |
+
"page_idx": 0
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"type": "text",
|
| 38 |
+
"text": "$^{2}$ CRIPAC & MAIS, Institute of Automation, Chinese Academy of Sciences",
|
| 39 |
+
"bbox": [
|
| 40 |
+
196,
|
| 41 |
+
175,
|
| 42 |
+
805,
|
| 43 |
+
192
|
| 44 |
+
],
|
| 45 |
+
"page_idx": 0
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"type": "text",
|
| 49 |
+
"text": "<sup>3</sup>University of Chinese Academy of Sciences",
|
| 50 |
+
"bbox": [
|
| 51 |
+
317,
|
| 52 |
+
193,
|
| 53 |
+
682,
|
| 54 |
+
209
|
| 55 |
+
],
|
| 56 |
+
"page_idx": 0
|
| 57 |
+
},
|
| 58 |
+
{
|
| 59 |
+
"type": "text",
|
| 60 |
+
"text": "sunxin000@mail.ustc.edu.cn, qiang.liu@nlpr ia.ac.cn",
|
| 61 |
+
"bbox": [
|
| 62 |
+
310,
|
| 63 |
+
212,
|
| 64 |
+
690,
|
| 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 |
+
267
|
| 78 |
+
],
|
| 79 |
+
"page_idx": 0
|
| 80 |
+
},
|
| 81 |
+
{
|
| 82 |
+
"type": "text",
|
| 83 |
+
"text": "Distantly supervised relation extraction (DSRE) aims to extract relational facts from texts but suffers from noisy instances. To mitigate the influence of noisy labels, current methods typically use the Multi-Instance-Learning framework to extract relations for each bag. However, these approaches are not capable of extracting relation labels for individual sentences. Several studies have focused on sentence-level DSRE to solve the above problem. These studies primarily aim to develop methods for identifying noisy samples and filtering them out to mitigate the impact of noise. However, discarding noisy samples directly leads to the loss of useful information. To this end, we propose SSLRE, a novel Semi-Supervised-Learning Relation Extraction framework for sentence-level DSRE. We discard only the labels of the noisy samples and utilize these instances without labels as unlabeled samples. Our SSLRE framework utilizes a weighted K-NN graph to select confident samples as labeled data and the rest as unlabeled. We then design a robust semi-supervised learning framework that can efficiently handle remaining label noise present in the labeled dataset, while also making effective use of unlabeled samples. Based on our experiments on two real-world datasets, the SSLRE framework we proposed has achieved significant enhancements in sentence-level relation extraction performance compared to the existing state-of-the-art methods. Moreover, it has also attained a state-of-the-art level of performance in bag-level relation extraction with ONE aggregation strategy.",
|
| 84 |
+
"bbox": [
|
| 85 |
+
144,
|
| 86 |
+
281,
|
| 87 |
+
460,
|
| 88 |
+
793
|
| 89 |
+
],
|
| 90 |
+
"page_idx": 0
|
| 91 |
+
},
|
| 92 |
+
{
|
| 93 |
+
"type": "text",
|
| 94 |
+
"text": "1 Introduction",
|
| 95 |
+
"text_level": 1,
|
| 96 |
+
"bbox": [
|
| 97 |
+
114,
|
| 98 |
+
806,
|
| 99 |
+
258,
|
| 100 |
+
821
|
| 101 |
+
],
|
| 102 |
+
"page_idx": 0
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"type": "text",
|
| 106 |
+
"text": "Relation extraction (RE) is a fundamental process for constructing knowledge graphs, as it aims to predict the relationship between entities based on their context. However, most supervised RE",
|
| 107 |
+
"bbox": [
|
| 108 |
+
112,
|
| 109 |
+
832,
|
| 110 |
+
489,
|
| 111 |
+
896
|
| 112 |
+
],
|
| 113 |
+
"page_idx": 0
|
| 114 |
+
},
|
| 115 |
+
{
|
| 116 |
+
"type": "image",
|
| 117 |
+
"img_path": "images/487a4bbf26088f7c7dc661d596f7a5e371d0031f089d0ba355fbb643dfe7cbc3.jpg",
|
| 118 |
+
"image_caption": [
|
| 119 |
+
"Figure 1: Bag-level RE maps a bag of sentences to bag labels. Sentence-level RE maps each sentence to a specific relation."
|
| 120 |
+
],
|
| 121 |
+
"image_footnote": [],
|
| 122 |
+
"bbox": [
|
| 123 |
+
515,
|
| 124 |
+
255,
|
| 125 |
+
884,
|
| 126 |
+
357
|
| 127 |
+
],
|
| 128 |
+
"page_idx": 0
|
| 129 |
+
},
|
| 130 |
+
{
|
| 131 |
+
"type": "text",
|
| 132 |
+
"text": "techniques require extensive labeled training data, which can be difficult to obtain manually. To address this issue, Distant Supervision (DS) was proposed (Mintz et al., 2009) to automatically generate labeled text corpus by aligning plain texts with knowledge bases (KB). For instance, if a sentence contains both the subject $(s)$ and object $(o)$ of a triple $\\langle s,r,o\\rangle$ ( $\\langle \\text{subject}, \\text{relation}, \\text{object} \\rangle$ ), then the DS method considers $\\langle s,r,o\\rangle$ as a valid sample for that sentence. Conversely, if no relational triples apply, then the sentence is labeled as \"NA\".",
|
| 133 |
+
"bbox": [
|
| 134 |
+
507,
|
| 135 |
+
450,
|
| 136 |
+
884,
|
| 137 |
+
626
|
| 138 |
+
],
|
| 139 |
+
"page_idx": 0
|
| 140 |
+
},
|
| 141 |
+
{
|
| 142 |
+
"type": "text",
|
| 143 |
+
"text": "Distantly supervised datasets usually face high label noise in training data due to the annotation process. To mitigate the impact of noisy labels caused by distant supervision, contemporary techniques (Lin et al., 2016; Alt et al., 2019; Chen et al., 2021b; Li et al., 2022; Dai et al., 2022) usually employ multi-instance-learning (MIL) framework or modify MIL to train the relation extraction model.",
|
| 144 |
+
"bbox": [
|
| 145 |
+
507,
|
| 146 |
+
627,
|
| 147 |
+
882,
|
| 148 |
+
756
|
| 149 |
+
],
|
| 150 |
+
"page_idx": 0
|
| 151 |
+
},
|
| 152 |
+
{
|
| 153 |
+
"type": "text",
|
| 154 |
+
"text": "Although MIL-based techniques can identify bag relation labels, they are not proficient in precisely mapping each sentence in a bag with explicit sentence labels (Feng et al., 2018; Jia et al., 2019; Ma et al., 2021). Several studies have focused on improving sentence-level DSRE and have empirically demonstrated the inadequacy of bag-level methods on sentence-level evaluation. (Feng et al., 2018; Qin et al., 2018) apply reinforcement learning to train a sample selector. (Jia et al., 2019) iden",
|
| 155 |
+
"bbox": [
|
| 156 |
+
507,
|
| 157 |
+
758,
|
| 158 |
+
884,
|
| 159 |
+
917
|
| 160 |
+
],
|
| 161 |
+
"page_idx": 0
|
| 162 |
+
},
|
| 163 |
+
{
|
| 164 |
+
"type": "page_footnote",
|
| 165 |
+
"text": "* Corresponding author.",
|
| 166 |
+
"bbox": [
|
| 167 |
+
141,
|
| 168 |
+
904,
|
| 169 |
+
289,
|
| 170 |
+
917
|
| 171 |
+
],
|
| 172 |
+
"page_idx": 0
|
| 173 |
+
},
|
| 174 |
+
{
|
| 175 |
+
"type": "page_number",
|
| 176 |
+
"text": "13145",
|
| 177 |
+
"bbox": [
|
| 178 |
+
475,
|
| 179 |
+
927,
|
| 180 |
+
524,
|
| 181 |
+
940
|
| 182 |
+
],
|
| 183 |
+
"page_idx": 0
|
| 184 |
+
},
|
| 185 |
+
{
|
| 186 |
+
"type": "footer",
|
| 187 |
+
"text": "Findings of the Association for Computational Linguistics: EMNLP 2023, pages 13145-13157 December 6-10, 2023 ©2023 Association for Computational Linguistics",
|
| 188 |
+
"bbox": [
|
| 189 |
+
208,
|
| 190 |
+
945,
|
| 191 |
+
786,
|
| 192 |
+
972
|
| 193 |
+
],
|
| 194 |
+
"page_idx": 0
|
| 195 |
+
},
|
| 196 |
+
{
|
| 197 |
+
"type": "text",
|
| 198 |
+
"text": "tify confident samples by frequent patterns. (Ma et al., 2021) utilizes negative training to separate noisy data from the training data.",
|
| 199 |
+
"bbox": [
|
| 200 |
+
112,
|
| 201 |
+
84,
|
| 202 |
+
487,
|
| 203 |
+
131
|
| 204 |
+
],
|
| 205 |
+
"page_idx": 1
|
| 206 |
+
},
|
| 207 |
+
{
|
| 208 |
+
"type": "text",
|
| 209 |
+
"text": "However, these methods have two main issues: (1) These works simply discard all noisy samples and train a relation extraction model with selected samples. However, filtering out noisy samples directly results in the loss of useful information. (Gao et al., 2021a) notes that the DSRE dataset has a noisereate exceeding $50\\%$ . Discarding all these samples would result in a significant loss of information. (2) The confident samples selection procedure is not impeccable, and there may still exist a small amount of noise in the chosen confident samples. Directly training a classifier in the presence of label noise is known to result in noise memorization.",
|
| 210 |
+
"bbox": [
|
| 211 |
+
115,
|
| 212 |
+
134,
|
| 213 |
+
489,
|
| 214 |
+
341
|
| 215 |
+
],
|
| 216 |
+
"page_idx": 1
|
| 217 |
+
},
|
| 218 |
+
{
|
| 219 |
+
"type": "text",
|
| 220 |
+
"text": "To address the two issues, this work proposes a novel semi-supervised-learning framework for sentence-level DSRE, First, we construct a K-NN graph for all samples using the hidden features. Then, we identify confident samples from the graph structure and consider the remaining samples as noisy. For issue (1): Our method discards only the noisy labels and treats corresponding samples as unlabeled data. We then utilize this unlabeled data by pseudo labeling within our robust semi-supervised learning framework to learn a better feature representation for relation. For issue (2): Despite our initial selection of confident samples, there may still be noise in the labeled dataset. we have developed a noise-robust semi-supervised learning framework that leverages mixup supervised contrastive learning to learn from the labeled dataset and curriculum pseudo labeling to learn from the unlabeled dataset.",
|
| 221 |
+
"bbox": [
|
| 222 |
+
115,
|
| 223 |
+
344,
|
| 224 |
+
489,
|
| 225 |
+
646
|
| 226 |
+
],
|
| 227 |
+
"page_idx": 1
|
| 228 |
+
},
|
| 229 |
+
{
|
| 230 |
+
"type": "text",
|
| 231 |
+
"text": "To summarize the contribution of this work:",
|
| 232 |
+
"bbox": [
|
| 233 |
+
132,
|
| 234 |
+
650,
|
| 235 |
+
460,
|
| 236 |
+
665
|
| 237 |
+
],
|
| 238 |
+
"page_idx": 1
|
| 239 |
+
},
|
| 240 |
+
{
|
| 241 |
+
"type": "list",
|
| 242 |
+
"sub_type": "text",
|
| 243 |
+
"list_items": [
|
| 244 |
+
"- We propose a noise-robust Semi-Supervised-Learning framework SSLRE for DSRE task, which effectively mitigate the impact of noisy labels.",
|
| 245 |
+
"- We propose to use graph structure information (weighted K-NN) to identify the confident samples and effectively convert noisy samples as useful training data by utilizing pseudo labeling.",
|
| 246 |
+
"- The proposed framework achieves significant improvement over previous methods in terms of both sent-level and bag-level relation extraction performance."
|
| 247 |
+
],
|
| 248 |
+
"bbox": [
|
| 249 |
+
136,
|
| 250 |
+
681,
|
| 251 |
+
487,
|
| 252 |
+
917
|
| 253 |
+
],
|
| 254 |
+
"page_idx": 1
|
| 255 |
+
},
|
| 256 |
+
{
|
| 257 |
+
"type": "text",
|
| 258 |
+
"text": "2 Related work",
|
| 259 |
+
"text_level": 1,
|
| 260 |
+
"bbox": [
|
| 261 |
+
509,
|
| 262 |
+
84,
|
| 263 |
+
660,
|
| 264 |
+
98
|
| 265 |
+
],
|
| 266 |
+
"page_idx": 1
|
| 267 |
+
},
|
| 268 |
+
{
|
| 269 |
+
"type": "text",
|
| 270 |
+
"text": "2.1 Distantly Supervised Relation Extraction",
|
| 271 |
+
"text_level": 1,
|
| 272 |
+
"bbox": [
|
| 273 |
+
507,
|
| 274 |
+
109,
|
| 275 |
+
877,
|
| 276 |
+
124
|
| 277 |
+
],
|
| 278 |
+
"page_idx": 1
|
| 279 |
+
},
|
| 280 |
+
{
|
| 281 |
+
"type": "text",
|
| 282 |
+
"text": "Relation extraction (RE) is a fundamental pro- cess for constructing knowledge graphs(Zhang et al., 2023a; Xia et al., 2022; Zhang et al., 2023b). To generate large-scale auto-labeled data without human effort, (Mintz et al., 2009) first use Distant Supervision to label sentences mentioning two entities with their relations in KGs, which inevitably brings wrongly labeled instances. To tackle the predicament of noise, most of the existing studies on DSRE are founded on the multi-instance learning framework. This approach is leveraged to handle noisy sentences in each bag and train models by capitalizing on the constructed trustworthy baglevel representations. Usually, these methods employ attention mechanisms to assign less weights to the probable noisy sentences in the bag(Lin et al., 2016; Han et al., 2018b; Alt et al., 2019; Shen et al., 2019; Ye and Ling, 2019; Chen et al., 2021a; Li et al., 2022), apply adversarial training or reinforcement learning to remove the noisy sentences from the bag (Zeng et al., 2015; Qin et al., 2018; Shang and Wei, 2019; Chen et al., 2020; Hao et al., 2021). However, the studies (Feng et al., 2018; Jia et al., 2019; Ma et al., 2021; Gao et al., 2021a) indicate that the bag-level DSRE methods are ineffective for sentence-level relation extraction.",
|
| 283 |
+
"bbox": [
|
| 284 |
+
507,
|
| 285 |
+
130,
|
| 286 |
+
885,
|
| 287 |
+
546
|
| 288 |
+
],
|
| 289 |
+
"page_idx": 1
|
| 290 |
+
},
|
| 291 |
+
{
|
| 292 |
+
"type": "text",
|
| 293 |
+
"text": "This work focuses on extracting relations at the sentence level, (Feng et al., 2018) applied reinforcement learning to identify confident instances based on the reward of noisy labels. (Jia et al., 2019) involve building initial reliable sentences based on several manually defined frequent relation patterns. (Ma et al., 2021) assigning complementary labels that cooperate with negative training to filter out noisy instances. Unlike previous studies, our method only discard noisy labels and keep the unlabeled samples. We use pseudo labeling to effectively utilize unlabeled samples, which helps to learn better representation.",
|
| 294 |
+
"bbox": [
|
| 295 |
+
507,
|
| 296 |
+
549,
|
| 297 |
+
885,
|
| 298 |
+
758
|
| 299 |
+
],
|
| 300 |
+
"page_idx": 1
|
| 301 |
+
},
|
| 302 |
+
{
|
| 303 |
+
"type": "text",
|
| 304 |
+
"text": "2.2 Semi-Supervised-Learning",
|
| 305 |
+
"text_level": 1,
|
| 306 |
+
"bbox": [
|
| 307 |
+
507,
|
| 308 |
+
769,
|
| 309 |
+
766,
|
| 310 |
+
784
|
| 311 |
+
],
|
| 312 |
+
"page_idx": 1
|
| 313 |
+
},
|
| 314 |
+
{
|
| 315 |
+
"type": "text",
|
| 316 |
+
"text": "In SSL, a portion of training dataset is labeled and the remaining portion is unlabeled. SSL has seen great progress in recent years. Since (Bachman et al., 2014) proposed a consistency regularization based method, many approaches have migrated it into the semi-supervised learning field. MixMatch (Berthelot et al., 2019) proposes to combine consistency regularization with entropy minimization.",
|
| 317 |
+
"bbox": [
|
| 318 |
+
507,
|
| 319 |
+
790,
|
| 320 |
+
885,
|
| 321 |
+
917
|
| 322 |
+
],
|
| 323 |
+
"page_idx": 1
|
| 324 |
+
},
|
| 325 |
+
{
|
| 326 |
+
"type": "page_number",
|
| 327 |
+
"text": "13146",
|
| 328 |
+
"bbox": [
|
| 329 |
+
477,
|
| 330 |
+
927,
|
| 331 |
+
524,
|
| 332 |
+
940
|
| 333 |
+
],
|
| 334 |
+
"page_idx": 1
|
| 335 |
+
},
|
| 336 |
+
{
|
| 337 |
+
"type": "text",
|
| 338 |
+
"text": "Mean Teacher (Tarvainen and Valpola, 2017) and Dual Student (Ke et al., 2019) are also based on consistent learning, aiming for the same outputs for different networks. Recently, FixMatch (Sohn et al., 2020) provides a simple yet effective weak-to-strong consistency regularization framework. Flexmatch (Zhang et al., 2021) provides curriculum pseudo Labels learning to combat the imbalance of pseudo labels.",
|
| 339 |
+
"bbox": [
|
| 340 |
+
112,
|
| 341 |
+
84,
|
| 342 |
+
489,
|
| 343 |
+
227
|
| 344 |
+
],
|
| 345 |
+
"page_idx": 2
|
| 346 |
+
},
|
| 347 |
+
{
|
| 348 |
+
"type": "text",
|
| 349 |
+
"text": "Our SSLRE framework differs from these frameworks in two main ways. Firstly, our labeled dataset still contains a small amount of noise due to the fact that confident sample identification cannot achieve perfection. Therefore, we utilize mixup contrastive supervised learning to combat this noise. Secondly, current SSL methods generate and utilize pseudo labels with the same head, which causes error accumulation during the training stage. To address this issue, we propose utilizing a pseudo classifier head, which decouples the generation and utilization of pseudo labels by two parameter-independent heads to avoid error accumulation.",
|
| 350 |
+
"bbox": [
|
| 351 |
+
115,
|
| 352 |
+
230,
|
| 353 |
+
489,
|
| 354 |
+
439
|
| 355 |
+
],
|
| 356 |
+
"page_idx": 2
|
| 357 |
+
},
|
| 358 |
+
{
|
| 359 |
+
"type": "text",
|
| 360 |
+
"text": "2.3 Learning with Noisy Data",
|
| 361 |
+
"text_level": 1,
|
| 362 |
+
"bbox": [
|
| 363 |
+
112,
|
| 364 |
+
451,
|
| 365 |
+
363,
|
| 366 |
+
467
|
| 367 |
+
],
|
| 368 |
+
"page_idx": 2
|
| 369 |
+
},
|
| 370 |
+
{
|
| 371 |
+
"type": "text",
|
| 372 |
+
"text": "In both computer vision and natural language processing, learning with noisy data is a widely discussed problem. Existing approaches include but not limit to estimating the noise transition matrix (Chen and Gupta, 2015; Goldberger and Ben-Reuven, 2016), leveraging a robust loss function (Lyu and Tsang, 2019; Ghosh et al., 2017; Liu and Guo, 2019), introducing regularization (Liu et al., 2020; Iscen et al., 2022), selecting noisy samples by multi-network learning or multi-round learning (Han et al., 2018a; Wu et al., 2020), re-weighting examples (Liu and Tao, 2014), generating pseudo labels (Li et al., 2020; Han et al., 2019), and so on. In addition, some advanced state-of-the-art methods combine serveral techniques, e.g., Dividemix (Li et al., 2020) and $\\mathrm{ELR + }$ (Liu et al., 2020).",
|
| 373 |
+
"bbox": [
|
| 374 |
+
112,
|
| 375 |
+
474,
|
| 376 |
+
489,
|
| 377 |
+
731
|
| 378 |
+
],
|
| 379 |
+
"page_idx": 2
|
| 380 |
+
},
|
| 381 |
+
{
|
| 382 |
+
"type": "text",
|
| 383 |
+
"text": "In this paper, we address the issue of noisy labels in distant relation extraction. Our approach first involves constructing a K-NN graph to identify confident samples based on their graph structure, and then use noise-robust mixup supervised contrastive learning to train with the labeled samples.",
|
| 384 |
+
"bbox": [
|
| 385 |
+
112,
|
| 386 |
+
733,
|
| 387 |
+
489,
|
| 388 |
+
829
|
| 389 |
+
],
|
| 390 |
+
"page_idx": 2
|
| 391 |
+
},
|
| 392 |
+
{
|
| 393 |
+
"type": "text",
|
| 394 |
+
"text": "3 Methodology",
|
| 395 |
+
"text_level": 1,
|
| 396 |
+
"bbox": [
|
| 397 |
+
112,
|
| 398 |
+
859,
|
| 399 |
+
263,
|
| 400 |
+
876
|
| 401 |
+
],
|
| 402 |
+
"page_idx": 2
|
| 403 |
+
},
|
| 404 |
+
{
|
| 405 |
+
"type": "text",
|
| 406 |
+
"text": "To achieve sentence-level relation extraction in DSRE, we propose a framework called SSLRE,",
|
| 407 |
+
"bbox": [
|
| 408 |
+
112,
|
| 409 |
+
887,
|
| 410 |
+
489,
|
| 411 |
+
917
|
| 412 |
+
],
|
| 413 |
+
"page_idx": 2
|
| 414 |
+
},
|
| 415 |
+
{
|
| 416 |
+
"type": "text",
|
| 417 |
+
"text": "which consists of two main steps. Firstly, we select confident samples from the distantly supervised dataset using a weighted K-NN approach built by all sample representations. We use the selected samples as labeled data and the remaining samples as unlabeled data (as detailed in Section 3.1). Secondly, we employ our robust Semi-Supervised Learning framework to learn from the Semi-Supervised datasets (as described in Section 3.2). Appendix A delineates the full algorithm.",
|
| 418 |
+
"bbox": [
|
| 419 |
+
507,
|
| 420 |
+
84,
|
| 421 |
+
884,
|
| 422 |
+
243
|
| 423 |
+
],
|
| 424 |
+
"page_idx": 2
|
| 425 |
+
},
|
| 426 |
+
{
|
| 427 |
+
"type": "text",
|
| 428 |
+
"text": "Specifically, we denote the original dataset in this task as $\\tilde{\\mathcal{D}} = \\{(s_1,\\tilde{y}_1),(s_2,\\tilde{y}_2),\\dots ,(s_N,\\tilde{y}_N)\\}$ where $\\tilde{y}_i\\in \\{1,\\dots ,C\\}$ is the label of the ith input sentence $s_i$ . The labeled dataset (identified confident samples) is denoted as $\\mathcal{X} = \\{(x_{1},y_{1}),(x_{2},y_{2}),\\dots ,(x_{n},y_{n})\\}$ and the unlabeled dataset (the noisy samples without labels) is denoted as $\\mathcal{U} = \\{(u_1,u_2,\\dots ,u_m\\}$ where $m + n = N$",
|
| 429 |
+
"bbox": [
|
| 430 |
+
507,
|
| 431 |
+
244,
|
| 432 |
+
884,
|
| 433 |
+
405
|
| 434 |
+
],
|
| 435 |
+
"page_idx": 2
|
| 436 |
+
},
|
| 437 |
+
{
|
| 438 |
+
"type": "text",
|
| 439 |
+
"text": "3.1 Confident Samples Identification with Weighted K-NN",
|
| 440 |
+
"text_level": 1,
|
| 441 |
+
"bbox": [
|
| 442 |
+
507,
|
| 443 |
+
416,
|
| 444 |
+
853,
|
| 445 |
+
447
|
| 446 |
+
],
|
| 447 |
+
"page_idx": 2
|
| 448 |
+
},
|
| 449 |
+
{
|
| 450 |
+
"type": "text",
|
| 451 |
+
"text": "Our Semi-Supervised-Learning module requires us to divide the noisy dataset into a labeled dataset and an unlabeled dataset. Inspired by (Lee et al., 2019; Bahri et al., 2020), we utilize neighborhood information of the hidden feature spaces to identify confident samples. We employ supervised contrastive learning to warm up our model and obtain the representations for all instances. It is noteworthy that deep neural networks tend to initially fit the training data with clean labels during an early training phase, prior to ultimately memorizing the examples with false labels (Arpit et al., 2017; Liu et al., 2020). Consequently, we only warm up our model for a single epoch. Given two sentences $s_i$ and $s_j$ , we can obtain their low-dimensional representations as $z_i = \\theta(s_i)$ and $z_j = \\theta(s_j)$ , where $\\theta$ is the sentence encoder. We then calculate their representation similarity using the cosine distance",
|
| 452 |
+
"bbox": [
|
| 453 |
+
507,
|
| 454 |
+
451,
|
| 455 |
+
884,
|
| 456 |
+
741
|
| 457 |
+
],
|
| 458 |
+
"page_idx": 2
|
| 459 |
+
},
|
| 460 |
+
{
|
| 461 |
+
"type": "equation",
|
| 462 |
+
"text": "\n$$\nd \\left(z _ {i}, z _ {j}\\right) = \\frac {z _ {i} z _ {j} ^ {T}}{\\| z _ {i} \\| \\| z _ {j} \\|.} \\tag {1}\n$$\n",
|
| 463 |
+
"text_format": "latex",
|
| 464 |
+
"bbox": [
|
| 465 |
+
611,
|
| 466 |
+
747,
|
| 467 |
+
882,
|
| 468 |
+
785
|
| 469 |
+
],
|
| 470 |
+
"page_idx": 2
|
| 471 |
+
},
|
| 472 |
+
{
|
| 473 |
+
"type": "text",
|
| 474 |
+
"text": "Then, we build a weighted K-NN graph for all samples based on the consine distance. To quantify the agreement between $s_i$ and $\\tilde{y}_i$ , We first use the label distribution in the $K$ -neighborhood to approximate clean posterior probabilities,",
|
| 475 |
+
"bbox": [
|
| 476 |
+
507,
|
| 477 |
+
789,
|
| 478 |
+
884,
|
| 479 |
+
870
|
| 480 |
+
],
|
| 481 |
+
"page_idx": 2
|
| 482 |
+
},
|
| 483 |
+
{
|
| 484 |
+
"type": "equation",
|
| 485 |
+
"text": "\n$$\n\\hat {q} _ {c} \\left(s _ {i}\\right) = \\frac {1}{\\sum_ {s _ {k} \\in \\mathcal {N} _ {i}} d \\left(z _ {i} , z _ {k}\\right)} \\sum_ {\\boldsymbol {s} _ {k} \\in \\mathcal {N} _ {i}} d \\left(z _ {i}, z _ {k}\\right) \\cdot \\mathbb {1} \\left(\\tilde {y} _ {k} = c\\right) \\tag {2}\n$$\n",
|
| 486 |
+
"text_format": "latex",
|
| 487 |
+
"bbox": [
|
| 488 |
+
517,
|
| 489 |
+
875,
|
| 490 |
+
882,
|
| 491 |
+
917
|
| 492 |
+
],
|
| 493 |
+
"page_idx": 2
|
| 494 |
+
},
|
| 495 |
+
{
|
| 496 |
+
"type": "page_number",
|
| 497 |
+
"text": "13147",
|
| 498 |
+
"bbox": [
|
| 499 |
+
477,
|
| 500 |
+
927,
|
| 501 |
+
524,
|
| 502 |
+
940
|
| 503 |
+
],
|
| 504 |
+
"page_idx": 2
|
| 505 |
+
},
|
| 506 |
+
{
|
| 507 |
+
"type": "image",
|
| 508 |
+
"img_path": "images/043c5beee27f8eacbec8f6f0812c2decc0325b1f7dc16853e2793881e21d1da4.jpg",
|
| 509 |
+
"image_caption": [
|
| 510 |
+
"Figure 2: An overview of the proposed framework, SSLRE. $\\hat{D},\\mathcal{X},\\mathcal{U}$ denote the original noisy dataset, labeled dataset and unlabeled dataset. $\\theta$ indicates the encoder. $\\theta_w$ and $\\theta_s$ mean forward with lower and higher dropout rate, respectively. $\\phi$ and $\\psi$ are classifier head and pseudo classifier head. $\\mathcal{L}_s$ is the mixup supervised contrastive loss defined in Eq. (12), and $\\mathcal{L}_{u,t}$ is the unsupervised loss defined in Eq. (6)."
|
| 511 |
+
],
|
| 512 |
+
"image_footnote": [],
|
| 513 |
+
"bbox": [
|
| 514 |
+
139,
|
| 515 |
+
80,
|
| 516 |
+
850,
|
| 517 |
+
268
|
| 518 |
+
],
|
| 519 |
+
"page_idx": 3
|
| 520 |
+
},
|
| 521 |
+
{
|
| 522 |
+
"type": "text",
|
| 523 |
+
"text": "where $\\mathcal{N}_i$ represents the set of $K$ closest neighbors to $s_i$ . We then use the cross-entropy loss $\\ell$ to calculate the disagreement between $\\hat{\\mathbf{q}}_c(\\boldsymbol{s}_i)$ and $\\tilde{y}_i$ . Denoting the set of confident examples belonging to the $c$ -th class as $\\mathcal{X}_c$ , we have",
|
| 524 |
+
"bbox": [
|
| 525 |
+
112,
|
| 526 |
+
362,
|
| 527 |
+
487,
|
| 528 |
+
441
|
| 529 |
+
],
|
| 530 |
+
"page_idx": 3
|
| 531 |
+
},
|
| 532 |
+
{
|
| 533 |
+
"type": "equation",
|
| 534 |
+
"text": "\n$$\n\\mathcal {X} _ {c} = \\left\\{s _ {i}, \\tilde {y} _ {i} \\mid \\ell \\left(\\hat {\\mathbf {q}} \\left(s _ {i}\\right), \\tilde {y} _ {i}\\right) < \\gamma_ {c}, \\tilde {y} _ {i} = c \\right\\}, c \\in [ C ], \\tag {3}\n$$\n",
|
| 535 |
+
"text_format": "latex",
|
| 536 |
+
"bbox": [
|
| 537 |
+
115,
|
| 538 |
+
454,
|
| 539 |
+
485,
|
| 540 |
+
486
|
| 541 |
+
],
|
| 542 |
+
"page_idx": 3
|
| 543 |
+
},
|
| 544 |
+
{
|
| 545 |
+
"type": "text",
|
| 546 |
+
"text": "where $\\gamma_{c}$ is a threshold for the $c$ -th class, which is dynamically defined to ensure a class-balanced set of identified confident examples. To achieve this goal, we use the $\\alpha$ fractile of per-class agreements between the original label $\\tilde{y}_i$ and $\\max_c\\hat{\\mathbf{q}}_c(\\boldsymbol{s}_i)$ across all classes to determine how many examples should be selected for each class, i.e. $\\sum_{i=1}^{n} = \\mathbb{1}(\\max_{c'}\\hat{\\mathbf{q}}_{c'}(\\boldsymbol{s}_i) = \\tilde{y}_i) \\cdot (\\tilde{y}_i = c), c \\in [C]$ . Finally, we can get the labeled set and unlabeled set as",
|
| 547 |
+
"bbox": [
|
| 548 |
+
112,
|
| 549 |
+
488,
|
| 550 |
+
487,
|
| 551 |
+
632
|
| 552 |
+
],
|
| 553 |
+
"page_idx": 3
|
| 554 |
+
},
|
| 555 |
+
{
|
| 556 |
+
"type": "equation",
|
| 557 |
+
"text": "\n$$\n\\mathcal {X} = \\cup_ {c = 1} ^ {C} \\mathcal {X} _ {c} \\tag {4}\n$$\n",
|
| 558 |
+
"text_format": "latex",
|
| 559 |
+
"bbox": [
|
| 560 |
+
189,
|
| 561 |
+
642,
|
| 562 |
+
487,
|
| 563 |
+
668
|
| 564 |
+
],
|
| 565 |
+
"page_idx": 3
|
| 566 |
+
},
|
| 567 |
+
{
|
| 568 |
+
"type": "equation",
|
| 569 |
+
"text": "\n$$\n\\mathcal {U} = \\left\\{s _ {i} \\mid \\left(s _ {i}, \\tilde {y} _ {i}\\right) \\in \\tilde {\\mathcal {D}} \\backslash \\mathcal {X} \\right\\}.\n$$\n",
|
| 570 |
+
"text_format": "latex",
|
| 571 |
+
"bbox": [
|
| 572 |
+
191,
|
| 573 |
+
665,
|
| 574 |
+
408,
|
| 575 |
+
683
|
| 576 |
+
],
|
| 577 |
+
"page_idx": 3
|
| 578 |
+
},
|
| 579 |
+
{
|
| 580 |
+
"type": "text",
|
| 581 |
+
"text": "3.2 Noise-Robust Semi-Supervised learning",
|
| 582 |
+
"text_level": 1,
|
| 583 |
+
"bbox": [
|
| 584 |
+
112,
|
| 585 |
+
693,
|
| 586 |
+
470,
|
| 587 |
+
709
|
| 588 |
+
],
|
| 589 |
+
"page_idx": 3
|
| 590 |
+
},
|
| 591 |
+
{
|
| 592 |
+
"type": "text",
|
| 593 |
+
"text": "Despite selecting confident samples from the distantly supervised dataset, there still remains a small amount of noise in the labeled dataset. Naively training a classifier in the presence of label noise leads to noise memorization (Liu et al., 2020), which degrades the performance. We propose a noise-robust semi-supervised learning framework to mitigate the influence of remaining noise.",
|
| 594 |
+
"bbox": [
|
| 595 |
+
112,
|
| 596 |
+
714,
|
| 597 |
+
487,
|
| 598 |
+
843
|
| 599 |
+
],
|
| 600 |
+
"page_idx": 3
|
| 601 |
+
},
|
| 602 |
+
{
|
| 603 |
+
"type": "text",
|
| 604 |
+
"text": "3.2.1 Data Augmentation with Dropout",
|
| 605 |
+
"text_level": 1,
|
| 606 |
+
"bbox": [
|
| 607 |
+
112,
|
| 608 |
+
852,
|
| 609 |
+
438,
|
| 610 |
+
866
|
| 611 |
+
],
|
| 612 |
+
"page_idx": 3
|
| 613 |
+
},
|
| 614 |
+
{
|
| 615 |
+
"type": "text",
|
| 616 |
+
"text": "Inspired by SimCSE (Gao et al., 2021b), we augment training samples by embedding processing. In particular, We obtain different embeddings of a",
|
| 617 |
+
"bbox": [
|
| 618 |
+
112,
|
| 619 |
+
870,
|
| 620 |
+
487,
|
| 621 |
+
917
|
| 622 |
+
],
|
| 623 |
+
"page_idx": 3
|
| 624 |
+
},
|
| 625 |
+
{
|
| 626 |
+
"type": "text",
|
| 627 |
+
"text": "sentence by applying dropout during the forward process. Additionally, we propose using a high dropout rate for strong augmentation and a low dropout rate for weak augmentation. The sentence encoder is denoted as $\\theta$ , with forward propagation using a high dropout rate denoted as $\\theta_{s}$ and forward propagation using a low dropout rate denoted as $\\theta_{w}$ .",
|
| 628 |
+
"bbox": [
|
| 629 |
+
507,
|
| 630 |
+
362,
|
| 631 |
+
882,
|
| 632 |
+
491
|
| 633 |
+
],
|
| 634 |
+
"page_idx": 3
|
| 635 |
+
},
|
| 636 |
+
{
|
| 637 |
+
"type": "text",
|
| 638 |
+
"text": "3.2.2 Unsupervised Learning with Pseudo Labeling",
|
| 639 |
+
"text_level": 1,
|
| 640 |
+
"bbox": [
|
| 641 |
+
507,
|
| 642 |
+
507,
|
| 643 |
+
853,
|
| 644 |
+
539
|
| 645 |
+
],
|
| 646 |
+
"page_idx": 3
|
| 647 |
+
},
|
| 648 |
+
{
|
| 649 |
+
"type": "text",
|
| 650 |
+
"text": "In this part, we propose two modules to learn from the unlabeled dataset: (1) To generate and utilize pseudo labels independently, we propose pseudo classifier head. (2) Utilize Curriculum Pseudo Labeling to perform consistent learning while combatting the unbalance of the generated pseudo labels.",
|
| 651 |
+
"bbox": [
|
| 652 |
+
507,
|
| 653 |
+
546,
|
| 654 |
+
882,
|
| 655 |
+
643
|
| 656 |
+
],
|
| 657 |
+
"page_idx": 3
|
| 658 |
+
},
|
| 659 |
+
{
|
| 660 |
+
"type": "text",
|
| 661 |
+
"text": "Pseudo classifier head: pseudo labeling is one of the prevalent techniques in semi-supervised learning. The existing approaches generate and utilize pseudo labels with the same head. However, this may cause training bias, ultimately amplifying the model's errors as self-training continues. (Wang et al., 2022). To reduce this bias when using pseudo labels, we propose utilizing a two-classifier model consisting of an encoder $\\theta$ with both a classifier head $\\phi$ and a pseudo classifier head $\\psi$ . We optimize the classifier head $\\phi$ using only labeled samples and without any unreliable pseudo labels from unlabeled samples. Unlabeled samples are used solely for updating encoder $\\theta$ and pseudo classifier head $\\psi$ . In particular, the classifier head $\\phi$ generates pseudo labels $(\\phi \\circ \\theta_w)(u_b)$ for unlabeled samples (which have",
|
| 662 |
+
"bbox": [
|
| 663 |
+
507,
|
| 664 |
+
646,
|
| 665 |
+
884,
|
| 666 |
+
919
|
| 667 |
+
],
|
| 668 |
+
"page_idx": 3
|
| 669 |
+
},
|
| 670 |
+
{
|
| 671 |
+
"type": "page_number",
|
| 672 |
+
"text": "13148",
|
| 673 |
+
"bbox": [
|
| 674 |
+
477,
|
| 675 |
+
927,
|
| 676 |
+
524,
|
| 677 |
+
940
|
| 678 |
+
],
|
| 679 |
+
"page_idx": 3
|
| 680 |
+
},
|
| 681 |
+
{
|
| 682 |
+
"type": "text",
|
| 683 |
+
"text": "no gradient), the loss of unlabeled samples is calculated by $\\ell ((\\psi \\circ \\theta_s)(u_b),(\\phi \\circ \\theta_w)(u_b))$ , where $\\ell$ denotes cross entropy loss. This decouples the generation and utilization of pseudo labels by two parameter-independent heads to mitigate error accumulation.",
|
| 684 |
+
"bbox": [
|
| 685 |
+
112,
|
| 686 |
+
84,
|
| 687 |
+
489,
|
| 688 |
+
179
|
| 689 |
+
],
|
| 690 |
+
"page_idx": 4
|
| 691 |
+
},
|
| 692 |
+
{
|
| 693 |
+
"type": "text",
|
| 694 |
+
"text": "Curriculum Pseudo Labeling: Due to the highly unbalanced dataset, using a constant cut-off $\\tau$ for all classes in Pseudo labeling results in almost all selected samples (those with confidence greater than the cut-off) being labeled as 'NA', which is the dominant class.",
|
| 695 |
+
"bbox": [
|
| 696 |
+
112,
|
| 697 |
+
180,
|
| 698 |
+
487,
|
| 699 |
+
275
|
| 700 |
+
],
|
| 701 |
+
"page_idx": 4
|
| 702 |
+
},
|
| 703 |
+
{
|
| 704 |
+
"type": "text",
|
| 705 |
+
"text": "Inspired by Flexmatch (Zhang et al., 2021), we use Curriculum Pseudo Labeling (CPL) to combat unbalanced pseudo labels. We first generate pseudo labels for iteration $t$",
|
| 706 |
+
"bbox": [
|
| 707 |
+
112,
|
| 708 |
+
277,
|
| 709 |
+
487,
|
| 710 |
+
340
|
| 711 |
+
],
|
| 712 |
+
"page_idx": 4
|
| 713 |
+
},
|
| 714 |
+
{
|
| 715 |
+
"type": "equation",
|
| 716 |
+
"text": "\n$$\n\\hat {\\mathbf {p}} _ {b} = \\left(\\phi_ {t} \\circ \\theta_ {w, t}\\right) \\left(u _ {b}\\right), \\tag {5}\n$$\n",
|
| 717 |
+
"text_format": "latex",
|
| 718 |
+
"bbox": [
|
| 719 |
+
218,
|
| 720 |
+
350,
|
| 721 |
+
487,
|
| 722 |
+
367
|
| 723 |
+
],
|
| 724 |
+
"page_idx": 4
|
| 725 |
+
},
|
| 726 |
+
{
|
| 727 |
+
"type": "text",
|
| 728 |
+
"text": "These labels are then used as the target of strongly-augmented data. The unsupervised loss term has the form as",
|
| 729 |
+
"bbox": [
|
| 730 |
+
112,
|
| 731 |
+
375,
|
| 732 |
+
489,
|
| 733 |
+
420
|
| 734 |
+
],
|
| 735 |
+
"page_idx": 4
|
| 736 |
+
},
|
| 737 |
+
{
|
| 738 |
+
"type": "equation",
|
| 739 |
+
"text": "\n$$\n\\begin{array}{l} \\mathcal {L} _ {u, t} = \\frac {1}{\\mu B} \\sum_ {b = 1} ^ {\\mu B} \\mathbb {1} (\\max (\\hat {\\mathbf {p}} _ {b}) > \\mathcal {T} _ {t} (\\arg \\max (\\hat {\\mathbf {p}} _ {b}))) \\tag {6} \\\\ \\cdot \\ell \\left(\\left(\\psi_ {t} \\circ \\theta_ {s, t}\\right) (u _ {b}), \\hat {\\mathbf {p}} _ {b}\\right), \\\\ \\end{array}\n$$\n",
|
| 740 |
+
"text_format": "latex",
|
| 741 |
+
"bbox": [
|
| 742 |
+
129,
|
| 743 |
+
428,
|
| 744 |
+
487,
|
| 745 |
+
480
|
| 746 |
+
],
|
| 747 |
+
"page_idx": 4
|
| 748 |
+
},
|
| 749 |
+
{
|
| 750 |
+
"type": "text",
|
| 751 |
+
"text": "where",
|
| 752 |
+
"bbox": [
|
| 753 |
+
112,
|
| 754 |
+
487,
|
| 755 |
+
164,
|
| 756 |
+
499
|
| 757 |
+
],
|
| 758 |
+
"page_idx": 4
|
| 759 |
+
},
|
| 760 |
+
{
|
| 761 |
+
"type": "equation",
|
| 762 |
+
"text": "\n$$\n\\mathcal {T} _ {t} (c) = \\frac {\\sigma_ {t} (c)}{\\max _ {c} \\sigma_ {t}} \\tau , \\tag {7}\n$$\n",
|
| 763 |
+
"text_format": "latex",
|
| 764 |
+
"bbox": [
|
| 765 |
+
226,
|
| 766 |
+
497,
|
| 767 |
+
487,
|
| 768 |
+
530
|
| 769 |
+
],
|
| 770 |
+
"page_idx": 4
|
| 771 |
+
},
|
| 772 |
+
{
|
| 773 |
+
"type": "text",
|
| 774 |
+
"text": "and $\\sigma_t(c)$ represents the numbers of the samples whose predictions fall into class $c$ and above the threshold, formulated as",
|
| 775 |
+
"bbox": [
|
| 776 |
+
112,
|
| 777 |
+
533,
|
| 778 |
+
487,
|
| 779 |
+
580
|
| 780 |
+
],
|
| 781 |
+
"page_idx": 4
|
| 782 |
+
},
|
| 783 |
+
{
|
| 784 |
+
"type": "equation",
|
| 785 |
+
"text": "\n$$\n\\sigma_ {t} (c) = \\sum_ {n = 1} ^ {N} \\mathbb {1} (\\max \\hat {\\mathbf {p}} _ {b} > \\tau) \\cdot \\mathbb {1} (\\arg \\max \\hat {\\mathbf {p}} _ {b} = c). \\tag {8}\n$$\n",
|
| 786 |
+
"text_format": "latex",
|
| 787 |
+
"bbox": [
|
| 788 |
+
112,
|
| 789 |
+
588,
|
| 790 |
+
487,
|
| 791 |
+
644
|
| 792 |
+
],
|
| 793 |
+
"page_idx": 4
|
| 794 |
+
},
|
| 795 |
+
{
|
| 796 |
+
"type": "text",
|
| 797 |
+
"text": "3.2.3 Mixup Supervised Contrastive Learning",
|
| 798 |
+
"text_level": 1,
|
| 799 |
+
"bbox": [
|
| 800 |
+
112,
|
| 801 |
+
652,
|
| 802 |
+
487,
|
| 803 |
+
668
|
| 804 |
+
],
|
| 805 |
+
"page_idx": 4
|
| 806 |
+
},
|
| 807 |
+
{
|
| 808 |
+
"type": "text",
|
| 809 |
+
"text": "We target learning robust relation representation in the presence of remaining label noise. In particular, we adopt the contrastive learning approach and randomly sample $N$ sentences and inference the sentences twice with same dropout rate to get two view. Then we normalize the embedding by $L_{2}$ normalization. The resulting minibatch $\\{z_i,y_i\\}_{i = 1}^{2N}$ consists of $2N$ normalized sentence embedding and corresponding labels. We perform supervised contrastive learning on labeled samples",
|
| 810 |
+
"bbox": [
|
| 811 |
+
112,
|
| 812 |
+
671,
|
| 813 |
+
487,
|
| 814 |
+
832
|
| 815 |
+
],
|
| 816 |
+
"page_idx": 4
|
| 817 |
+
},
|
| 818 |
+
{
|
| 819 |
+
"type": "equation",
|
| 820 |
+
"text": "\n$$\n\\begin{array}{l} \\mathcal {L} _ {i} \\left(z _ {i}, y _ {i}\\right) = \\frac {1}{2 N _ {y _ {i}} - 1} \\sum_ {j = 1} ^ {2 N} \\mathbb {1} _ {i \\neq j} \\mathbb {1} _ {y _ {i} = y _ {j}} \\tag {9} \\\\ \\cdot \\log \\frac {\\exp (z _ {i} \\cdot z _ {j} / \\tau)}{\\sum_ {r = 1} ^ {2 N} \\mathbb {1} _ {r \\neq i} \\exp (z _ {i} \\cdot z _ {r} / \\tau)}. \\\\ \\end{array}\n$$\n",
|
| 821 |
+
"text_format": "latex",
|
| 822 |
+
"bbox": [
|
| 823 |
+
152,
|
| 824 |
+
839,
|
| 825 |
+
485,
|
| 826 |
+
922
|
| 827 |
+
],
|
| 828 |
+
"page_idx": 4
|
| 829 |
+
},
|
| 830 |
+
{
|
| 831 |
+
"type": "text",
|
| 832 |
+
"text": "To make representation learning robust, we add Mixup (Berthelot et al., 2019) to supervised contrastive learning. Mixup strategies have demonstrated excellent performance in classification frameworks and have further shown promising results to prevent label noise memorization. Inspired by this success, we propose mixup supervised contrastive learning, a novel adaptation of mixup data augmentation for supervised contrastive learning. Mixup performs convex combinations of pairs of samples as",
|
| 833 |
+
"bbox": [
|
| 834 |
+
507,
|
| 835 |
+
84,
|
| 836 |
+
884,
|
| 837 |
+
261
|
| 838 |
+
],
|
| 839 |
+
"page_idx": 4
|
| 840 |
+
},
|
| 841 |
+
{
|
| 842 |
+
"type": "equation",
|
| 843 |
+
"text": "\n$$\nx _ {i} = \\lambda x _ {a} + (1 - \\lambda) x _ {b}, \\tag {10}\n$$\n",
|
| 844 |
+
"text_format": "latex",
|
| 845 |
+
"bbox": [
|
| 846 |
+
606,
|
| 847 |
+
273,
|
| 848 |
+
882,
|
| 849 |
+
288
|
| 850 |
+
],
|
| 851 |
+
"page_idx": 4
|
| 852 |
+
},
|
| 853 |
+
{
|
| 854 |
+
"type": "text",
|
| 855 |
+
"text": "where $\\lambda \\in [0,1] \\sim \\text{Beta}(\\alpha_m, \\alpha_m)$ and $x_i$ denotes the training example that combines two mini-batch examples $x_a$ and $x_b$ . A linear relation in the contrastive loss is imposed as",
|
| 856 |
+
"bbox": [
|
| 857 |
+
507,
|
| 858 |
+
300,
|
| 859 |
+
882,
|
| 860 |
+
365
|
| 861 |
+
],
|
| 862 |
+
"page_idx": 4
|
| 863 |
+
},
|
| 864 |
+
{
|
| 865 |
+
"type": "equation",
|
| 866 |
+
"text": "\n$$\n\\mathcal {L} _ {i} ^ {M I X} = \\lambda \\mathcal {L} _ {a} \\left(z _ {i}\\right) + (1 - \\lambda) \\mathcal {L} _ {b} \\left(z _ {i}\\right), \\tag {11}\n$$\n",
|
| 867 |
+
"text_format": "latex",
|
| 868 |
+
"bbox": [
|
| 869 |
+
546,
|
| 870 |
+
374,
|
| 871 |
+
882,
|
| 872 |
+
393
|
| 873 |
+
],
|
| 874 |
+
"page_idx": 4
|
| 875 |
+
},
|
| 876 |
+
{
|
| 877 |
+
"type": "text",
|
| 878 |
+
"text": "where $\\mathcal{L}_a$ and $\\mathcal{L}_b$ have the same form as $\\mathcal{L}_i$ in Eq. (9).",
|
| 879 |
+
"bbox": [
|
| 880 |
+
507,
|
| 881 |
+
404,
|
| 882 |
+
880,
|
| 883 |
+
434
|
| 884 |
+
],
|
| 885 |
+
"page_idx": 4
|
| 886 |
+
},
|
| 887 |
+
{
|
| 888 |
+
"type": "text",
|
| 889 |
+
"text": "The supervised loss is the sum of Eq. (11) for each mixed instance:",
|
| 890 |
+
"bbox": [
|
| 891 |
+
507,
|
| 892 |
+
436,
|
| 893 |
+
880,
|
| 894 |
+
466
|
| 895 |
+
],
|
| 896 |
+
"page_idx": 4
|
| 897 |
+
},
|
| 898 |
+
{
|
| 899 |
+
"type": "equation",
|
| 900 |
+
"text": "\n$$\n\\mathcal {L} _ {s} = \\sum_ {i} ^ {2 N} \\mathcal {L} _ {i} ^ {M I X}. \\tag {12}\n$$\n",
|
| 901 |
+
"text_format": "latex",
|
| 902 |
+
"bbox": [
|
| 903 |
+
628,
|
| 904 |
+
475,
|
| 905 |
+
882,
|
| 906 |
+
517
|
| 907 |
+
],
|
| 908 |
+
"page_idx": 4
|
| 909 |
+
},
|
| 910 |
+
{
|
| 911 |
+
"type": "text",
|
| 912 |
+
"text": "Mixup supervised contrastive learning helps to learn a robust representation for relations, but it cannot map the representation to a class. To learn the map function from the learned representation to relation class, classification learning using cross entropy loss is also employed as",
|
| 913 |
+
"bbox": [
|
| 914 |
+
507,
|
| 915 |
+
527,
|
| 916 |
+
882,
|
| 917 |
+
624
|
| 918 |
+
],
|
| 919 |
+
"page_idx": 4
|
| 920 |
+
},
|
| 921 |
+
{
|
| 922 |
+
"type": "equation",
|
| 923 |
+
"text": "\n$$\n\\mathcal {L} ^ {C L S} = \\sum_ {\\left(x _ {i}, y _ {i}\\right) \\in \\mathcal {X}} \\mathcal {L} _ {i} ^ {c l s} \\left(x _ {i}\\right) = \\sum_ {\\left(x _ {i}, y _ {i}\\right) \\in \\mathcal {X}} \\ell \\left(\\left(\\phi \\circ \\theta\\right) \\left(x _ {i}\\right), y _ {i}\\right). \\tag {13}\n$$\n",
|
| 924 |
+
"text_format": "latex",
|
| 925 |
+
"bbox": [
|
| 926 |
+
510,
|
| 927 |
+
632,
|
| 928 |
+
882,
|
| 929 |
+
675
|
| 930 |
+
],
|
| 931 |
+
"page_idx": 4
|
| 932 |
+
},
|
| 933 |
+
{
|
| 934 |
+
"type": "text",
|
| 935 |
+
"text": "3.3 Training Objective",
|
| 936 |
+
"text_level": 1,
|
| 937 |
+
"bbox": [
|
| 938 |
+
507,
|
| 939 |
+
684,
|
| 940 |
+
705,
|
| 941 |
+
700
|
| 942 |
+
],
|
| 943 |
+
"page_idx": 4
|
| 944 |
+
},
|
| 945 |
+
{
|
| 946 |
+
"type": "text",
|
| 947 |
+
"text": "Combining the above analyses, the total objective loss is",
|
| 948 |
+
"bbox": [
|
| 949 |
+
507,
|
| 950 |
+
705,
|
| 951 |
+
880,
|
| 952 |
+
734
|
| 953 |
+
],
|
| 954 |
+
"page_idx": 4
|
| 955 |
+
},
|
| 956 |
+
{
|
| 957 |
+
"type": "equation",
|
| 958 |
+
"text": "\n$$\n\\mathcal {L} = \\mathcal {L} _ {s} + \\lambda_ {u} \\mathcal {L} _ {u, t} + \\lambda_ {c} \\mathcal {L} ^ {C L S}. \\tag {14}\n$$\n",
|
| 959 |
+
"text_format": "latex",
|
| 960 |
+
"bbox": [
|
| 961 |
+
583,
|
| 962 |
+
746,
|
| 963 |
+
882,
|
| 964 |
+
765
|
| 965 |
+
],
|
| 966 |
+
"page_idx": 4
|
| 967 |
+
},
|
| 968 |
+
{
|
| 969 |
+
"type": "text",
|
| 970 |
+
"text": "4 Experiments",
|
| 971 |
+
"text_level": 1,
|
| 972 |
+
"bbox": [
|
| 973 |
+
507,
|
| 974 |
+
776,
|
| 975 |
+
655,
|
| 976 |
+
793
|
| 977 |
+
],
|
| 978 |
+
"page_idx": 4
|
| 979 |
+
},
|
| 980 |
+
{
|
| 981 |
+
"type": "text",
|
| 982 |
+
"text": "4.1 Datasets",
|
| 983 |
+
"text_level": 1,
|
| 984 |
+
"bbox": [
|
| 985 |
+
507,
|
| 986 |
+
801,
|
| 987 |
+
621,
|
| 988 |
+
815
|
| 989 |
+
],
|
| 990 |
+
"page_idx": 4
|
| 991 |
+
},
|
| 992 |
+
{
|
| 993 |
+
"type": "text",
|
| 994 |
+
"text": "We evaluate our SSLRE framework on three DSRE datasets, including NYT10 (Riedel et al., 2010), NYT10m (Gao et al., 2021a), and wiki20m (Gao et al., 2021a).",
|
| 995 |
+
"bbox": [
|
| 996 |
+
507,
|
| 997 |
+
822,
|
| 998 |
+
882,
|
| 999 |
+
885
|
| 1000 |
+
],
|
| 1001 |
+
"page_idx": 4
|
| 1002 |
+
},
|
| 1003 |
+
{
|
| 1004 |
+
"type": "text",
|
| 1005 |
+
"text": "NYT10 dataset is created by aligning information from FreeBase with the New York Times (NYT)",
|
| 1006 |
+
"bbox": [
|
| 1007 |
+
507,
|
| 1008 |
+
887,
|
| 1009 |
+
882,
|
| 1010 |
+
917
|
| 1011 |
+
],
|
| 1012 |
+
"page_idx": 4
|
| 1013 |
+
},
|
| 1014 |
+
{
|
| 1015 |
+
"type": "page_number",
|
| 1016 |
+
"text": "13149",
|
| 1017 |
+
"bbox": [
|
| 1018 |
+
477,
|
| 1019 |
+
927,
|
| 1020 |
+
524,
|
| 1021 |
+
940
|
| 1022 |
+
],
|
| 1023 |
+
"page_idx": 4
|
| 1024 |
+
},
|
| 1025 |
+
{
|
| 1026 |
+
"type": "text",
|
| 1027 |
+
"text": "corpus. However, (1) it contains many duplicated instances in the dataset; (2) there is no public validation set; (3) The distantly supervised test set is quite noisy since the annotated errors. (Gao et al., 2021a) notes that $53\\%$ samples of the NYT10 test set are wrongly labeled. We only use it to perform held-out evaluation experiment in Table 5 with some strong baselines.",
|
| 1028 |
+
"bbox": [
|
| 1029 |
+
112,
|
| 1030 |
+
84,
|
| 1031 |
+
487,
|
| 1032 |
+
212
|
| 1033 |
+
],
|
| 1034 |
+
"page_idx": 5
|
| 1035 |
+
},
|
| 1036 |
+
{
|
| 1037 |
+
"type": "text",
|
| 1038 |
+
"text": "NYT10m build a manually annotated test set for NYT10 for more accurate evaluation. Furthermore, it removes all the duplicated instances and create a new relation ontology by merging semantically similar relations and delete the relations that only show up in train set or the test set.",
|
| 1039 |
+
"bbox": [
|
| 1040 |
+
112,
|
| 1041 |
+
212,
|
| 1042 |
+
487,
|
| 1043 |
+
309
|
| 1044 |
+
],
|
| 1045 |
+
"page_idx": 5
|
| 1046 |
+
},
|
| 1047 |
+
{
|
| 1048 |
+
"type": "text",
|
| 1049 |
+
"text": "wiki20m is a processed version of Wiki20 (Han et al., 2020), which is constructed by aligning the English Wikipedia corpus with Wikidata (Vrandecic and Krötzsch, 2014). It has a manually annotated test set for evaluation.",
|
| 1050 |
+
"bbox": [
|
| 1051 |
+
112,
|
| 1052 |
+
309,
|
| 1053 |
+
487,
|
| 1054 |
+
388
|
| 1055 |
+
],
|
| 1056 |
+
"page_idx": 5
|
| 1057 |
+
},
|
| 1058 |
+
{
|
| 1059 |
+
"type": "text",
|
| 1060 |
+
"text": "4.2 Evaluation and Parameter Settings",
|
| 1061 |
+
"text_level": 1,
|
| 1062 |
+
"bbox": [
|
| 1063 |
+
112,
|
| 1064 |
+
401,
|
| 1065 |
+
435,
|
| 1066 |
+
416
|
| 1067 |
+
],
|
| 1068 |
+
"page_idx": 5
|
| 1069 |
+
},
|
| 1070 |
+
{
|
| 1071 |
+
"type": "text",
|
| 1072 |
+
"text": "To guarantee the fairness of evaluation. We take both sentence-level evaluation and bag-level evaluation in our experiments. Further details of the evaluation methods are available in the appendix C. To achieve bag-level evaluation under sentence-level training, we use at-least-one (ONE) aggregation stragy (Zeng et al., 2015), which first predicts relation scores for each sentence in the bag, and then takes the highest score for each relation. The details of the hyper-parameters are available in the appendix D.",
|
| 1073 |
+
"bbox": [
|
| 1074 |
+
112,
|
| 1075 |
+
420,
|
| 1076 |
+
487,
|
| 1077 |
+
598
|
| 1078 |
+
],
|
| 1079 |
+
"page_idx": 5
|
| 1080 |
+
},
|
| 1081 |
+
{
|
| 1082 |
+
"type": "text",
|
| 1083 |
+
"text": "4.3 Baselines",
|
| 1084 |
+
"text_level": 1,
|
| 1085 |
+
"bbox": [
|
| 1086 |
+
112,
|
| 1087 |
+
609,
|
| 1088 |
+
233,
|
| 1089 |
+
621
|
| 1090 |
+
],
|
| 1091 |
+
"page_idx": 5
|
| 1092 |
+
},
|
| 1093 |
+
{
|
| 1094 |
+
"type": "text",
|
| 1095 |
+
"text": "In order to prove the effectiveness of the SSLRE, we compare our method with state-of-the-art methods sentence-level DSRE framework and bag-level DSRE framework.",
|
| 1096 |
+
"bbox": [
|
| 1097 |
+
112,
|
| 1098 |
+
629,
|
| 1099 |
+
487,
|
| 1100 |
+
690
|
| 1101 |
+
],
|
| 1102 |
+
"page_idx": 5
|
| 1103 |
+
},
|
| 1104 |
+
{
|
| 1105 |
+
"type": "text",
|
| 1106 |
+
"text": "For bag-level methods baselines, RESIDE (Vashisht et al., 2018) exploits the information of entity type and relation alias to add a soft limitation for DSRE. DISTRE (Alt et al., 2019) combines the selective attention to its Transformer-based model. CIL (Chen et al., 2021a) utilize contrastive instance learning under MIL framework, HiCLRE (Li et al., 2022) propose hierarchical contrastive learning framework, PARE (Rathore et al., 2022) propose concatenate all sentences in the bag to attend every token in the bag. Besides, we combine Bert with different aggregation strategies: ONE, which is mentioned in section 4.2; AVG averages the representations of all the sentences in the bag;",
|
| 1107 |
+
"bbox": [
|
| 1108 |
+
112,
|
| 1109 |
+
694,
|
| 1110 |
+
487,
|
| 1111 |
+
919
|
| 1112 |
+
],
|
| 1113 |
+
"page_idx": 5
|
| 1114 |
+
},
|
| 1115 |
+
{
|
| 1116 |
+
"type": "text",
|
| 1117 |
+
"text": "ATT (Lin et al., 2016) produces bag-level representation as a weighted average over embeddings of sentences and determines weights by attention scores between sentences and relations.",
|
| 1118 |
+
"bbox": [
|
| 1119 |
+
507,
|
| 1120 |
+
84,
|
| 1121 |
+
882,
|
| 1122 |
+
148
|
| 1123 |
+
],
|
| 1124 |
+
"page_idx": 5
|
| 1125 |
+
},
|
| 1126 |
+
{
|
| 1127 |
+
"type": "text",
|
| 1128 |
+
"text": "For sentence-level baselines, RL-DSRE (Feng et al., 2018) apply reinforcement learning to train sample selector by feedback from the manually designed reward function. ARNOR (Jia et al., 2019) selects the reliable instances based on reward of attention score on the selected patterns. SENT (Ma et al., 2021) filters noisy instances based on negative training.",
|
| 1129 |
+
"bbox": [
|
| 1130 |
+
507,
|
| 1131 |
+
151,
|
| 1132 |
+
884,
|
| 1133 |
+
279
|
| 1134 |
+
],
|
| 1135 |
+
"page_idx": 5
|
| 1136 |
+
},
|
| 1137 |
+
{
|
| 1138 |
+
"type": "text",
|
| 1139 |
+
"text": "4.4 Results",
|
| 1140 |
+
"text_level": 1,
|
| 1141 |
+
"bbox": [
|
| 1142 |
+
507,
|
| 1143 |
+
297,
|
| 1144 |
+
613,
|
| 1145 |
+
311
|
| 1146 |
+
],
|
| 1147 |
+
"page_idx": 5
|
| 1148 |
+
},
|
| 1149 |
+
{
|
| 1150 |
+
"type": "text",
|
| 1151 |
+
"text": "We first evaluate our SSLRE framework in the NYT10m and WIKI20m dataset. Table 1 shows the overall performance in terms of sentence-level evaluation. From the results, we can observe that (1) Our SSLRE framework demonstrates superior performance on both datasets, surpassing all strong baseline models significantly in terms of F1 score. In comparison to the most robust baseline models in two distantly supervised datasets, SSLRE displays a significant enhancement in performance (i.e., $+6.3\\%$ F1 and $+3.4\\%$ F1). (2) The current sentence-level DSRE models (SENT, ARNOR) fail to outperform the state-of-the-art MIL-based techniques in terms of F1 score on the aforementioned datasets. This could be attributed to the loss of information resulting from the elimination of samples. Unlike the MIL-based methods that employ all samples for training, these models only utilize selected samples. Moreover, the selection procedure may not always be reliable. (3) The performance of state-of-the-art MIL-based methods is not substantially superior to that of the Bert baseline. This suggests that the MIL modules, which are specifically crafted for this task, do not exhibit significant effectiveness when evaluated at the sentence level.",
|
| 1152 |
+
"bbox": [
|
| 1153 |
+
507,
|
| 1154 |
+
321,
|
| 1155 |
+
884,
|
| 1156 |
+
738
|
| 1157 |
+
],
|
| 1158 |
+
"page_idx": 5
|
| 1159 |
+
},
|
| 1160 |
+
{
|
| 1161 |
+
"type": "text",
|
| 1162 |
+
"text": "Table 2 presents the results of bag-level evaluation of SSLRE with ONE strategy on NYT10m and WIKI20m datasets. We compared our SSLRE framework with state-of-the-art methods for bag-level relation extraction, and found that our approach outperformed all strong baselines. Specifically, SSLRE achieved a $5.5\\%$ improvement in AUC compared to the best baseline model PARE, and a $10.1\\%$ improvement in micro F1 score compared with best baseline model HICLRE on the NYT10m dataset. Despite being trained without a",
|
| 1163 |
+
"bbox": [
|
| 1164 |
+
507,
|
| 1165 |
+
741,
|
| 1166 |
+
882,
|
| 1167 |
+
917
|
| 1168 |
+
],
|
| 1169 |
+
"page_idx": 5
|
| 1170 |
+
},
|
| 1171 |
+
{
|
| 1172 |
+
"type": "page_number",
|
| 1173 |
+
"text": "13150",
|
| 1174 |
+
"bbox": [
|
| 1175 |
+
477,
|
| 1176 |
+
927,
|
| 1177 |
+
524,
|
| 1178 |
+
940
|
| 1179 |
+
],
|
| 1180 |
+
"page_idx": 5
|
| 1181 |
+
},
|
| 1182 |
+
{
|
| 1183 |
+
"type": "table",
|
| 1184 |
+
"img_path": "images/ef195fcc9bb32aa5a8f1a41531db20909bee3044146a8db1e5c37db79099b993.jpg",
|
| 1185 |
+
"table_caption": [],
|
| 1186 |
+
"table_footnote": [],
|
| 1187 |
+
"table_body": "<table><tr><td rowspan=\"2\">Models</td><td colspan=\"3\">NYT10m</td><td colspan=\"3\">wiki20m</td></tr><tr><td>μPrec.</td><td>μRec.</td><td>μF1</td><td>μPrec.</td><td>μRec.</td><td>μF1</td></tr><tr><td>Bert-ATT</td><td>49.1</td><td>58.2</td><td>53.3</td><td>71.3</td><td>77.8</td><td>74.4</td></tr><tr><td>Bert-ONE</td><td>51.0</td><td>60.7</td><td>55.5</td><td>72.8</td><td>73.2</td><td>73.0</td></tr><tr><td>Bert-AVG</td><td>52.0</td><td>55.8</td><td>53.9</td><td>80.7</td><td>76.9</td><td>78.7</td></tr><tr><td>RESIDE</td><td>45.5</td><td>48.7</td><td>47.0</td><td>69.9</td><td>72.3</td><td>70.9</td></tr><tr><td>DISTRE</td><td>55.1</td><td>51.0</td><td>52.9</td><td>80.3</td><td>73.6</td><td>76.8</td></tr><tr><td>CIL</td><td>58.1</td><td>49.3</td><td>53.4</td><td>81.8</td><td>73.1</td><td>77.0</td></tr><tr><td>HiCLRE</td><td>54.6</td><td>60.7</td><td>57.5</td><td>81.6</td><td>74.6</td><td>77.9</td></tr><tr><td>PARE</td><td>53.1</td><td>58.1</td><td>55.4</td><td>77.3</td><td>74.2</td><td>75.7</td></tr><tr><td>RL-DSRE</td><td>48.6</td><td>57.1</td><td>52.5</td><td>69.9</td><td>74.3</td><td>72.0</td></tr><tr><td>ARNOR</td><td>53.2</td><td>59.1</td><td>55.9</td><td>76.8</td><td>76.9</td><td>76.8</td></tr><tr><td>SENT</td><td>57.2</td><td>56.3</td><td>56.7</td><td>79.8</td><td>78.2</td><td>78.9</td></tr><tr><td>SSLRE</td><td>57.4</td><td>72.0</td><td>63.8</td><td>81.9</td><td>81.0</td><td>81.5</td></tr></table>",
|
| 1188 |
+
"bbox": [
|
| 1189 |
+
260,
|
| 1190 |
+
80,
|
| 1191 |
+
736,
|
| 1192 |
+
342
|
| 1193 |
+
],
|
| 1194 |
+
"page_idx": 6
|
| 1195 |
+
},
|
| 1196 |
+
{
|
| 1197 |
+
"type": "table",
|
| 1198 |
+
"img_path": "images/c8ac870f293ece271811214c90a59d38eaadc8c7941a947d82ac37bc16eacb76.jpg",
|
| 1199 |
+
"table_caption": [
|
| 1200 |
+
"Table 1: Sentence-level evaluation results on NYT10m and wiki20m. Bold and underline indicate the best and the second best scores."
|
| 1201 |
+
],
|
| 1202 |
+
"table_footnote": [],
|
| 1203 |
+
"table_body": "<table><tr><td rowspan=\"2\">Models</td><td colspan=\"3\">NYT10m</td><td colspan=\"3\">wiki20m</td></tr><tr><td>AUC</td><td>μF1</td><td>Macro_F1</td><td>AUC</td><td>μF1</td><td>Macro_F1</td></tr><tr><td>Bert-ATT</td><td>49.5</td><td>52.9</td><td>24.5</td><td>88.0</td><td>80.9</td><td>80.7</td></tr><tr><td>Bert-ONE</td><td>56.7</td><td>54.1</td><td>35.7</td><td>89.9</td><td>81.3</td><td>82.0</td></tr><tr><td>Bert-AVG</td><td>57.1</td><td>56.2</td><td>33.9</td><td>88.9</td><td>82.6</td><td>81.1</td></tr><tr><td>RESIDE</td><td>36.8</td><td>44.2</td><td>11.2</td><td>80.5</td><td>75.1</td><td>74.2</td></tr><tr><td>HiCLRE</td><td>61.0</td><td>61.2</td><td>32.0</td><td>89.1</td><td>82.3</td><td>81.1</td></tr><tr><td>CIL</td><td>57.4</td><td>59.6</td><td>29.4</td><td>89.3</td><td>81.8</td><td>82.4</td></tr><tr><td>PARE</td><td>61.1</td><td>59.8</td><td>37.2</td><td>90.3</td><td>83.2</td><td>82.6</td></tr><tr><td>SSLRE-ONE</td><td>66.5</td><td>71.3</td><td>36.9</td><td>91.6</td><td>83.3</td><td>84.1</td></tr></table>",
|
| 1204 |
+
"bbox": [
|
| 1205 |
+
164,
|
| 1206 |
+
395,
|
| 1207 |
+
835,
|
| 1208 |
+
586
|
| 1209 |
+
],
|
| 1210 |
+
"page_idx": 6
|
| 1211 |
+
},
|
| 1212 |
+
{
|
| 1213 |
+
"type": "text",
|
| 1214 |
+
"text": "Table 2: Bag-level evaluation results on nyt10m and wiki20m. SSLRE-ONE represents the SSLRE with ONE aggregation strategy",
|
| 1215 |
+
"bbox": [
|
| 1216 |
+
112,
|
| 1217 |
+
595,
|
| 1218 |
+
882,
|
| 1219 |
+
624
|
| 1220 |
+
],
|
| 1221 |
+
"page_idx": 6
|
| 1222 |
+
},
|
| 1223 |
+
{
|
| 1224 |
+
"type": "text",
|
| 1225 |
+
"text": "MIL framework, our SSLRE framework achieves state-of-the-art performance on bag-level relation extraction. This finding suggests that sentence-level training can also yield excellent results on bag-label prediction. This observation is also consistent with (Gao et al., 2021a; Amin et al., 2020).On the wiki20m dataset, we note a consistent improvement on as well, although it is not as evident as in the case of NYT10m. We surmise that this could be attributed to the fact that the wiki20m dataset is relatively less noisy when compared to NYT10m.",
|
| 1226 |
+
"bbox": [
|
| 1227 |
+
112,
|
| 1228 |
+
649,
|
| 1229 |
+
487,
|
| 1230 |
+
826
|
| 1231 |
+
],
|
| 1232 |
+
"page_idx": 6
|
| 1233 |
+
},
|
| 1234 |
+
{
|
| 1235 |
+
"type": "text",
|
| 1236 |
+
"text": "We also compared our framework to several strong baselines using held-out evaluation on the NYT10 dataset, which is detailed in appendix B.",
|
| 1237 |
+
"bbox": [
|
| 1238 |
+
112,
|
| 1239 |
+
871,
|
| 1240 |
+
487,
|
| 1241 |
+
919
|
| 1242 |
+
],
|
| 1243 |
+
"page_idx": 6
|
| 1244 |
+
},
|
| 1245 |
+
{
|
| 1246 |
+
"type": "text",
|
| 1247 |
+
"text": "4.5 Ablation Study",
|
| 1248 |
+
"text_level": 1,
|
| 1249 |
+
"bbox": [
|
| 1250 |
+
507,
|
| 1251 |
+
650,
|
| 1252 |
+
673,
|
| 1253 |
+
665
|
| 1254 |
+
],
|
| 1255 |
+
"page_idx": 6
|
| 1256 |
+
},
|
| 1257 |
+
{
|
| 1258 |
+
"type": "text",
|
| 1259 |
+
"text": "We conducted ablation study experiments on the NYT10m dataset to assess the effectiveness of different modules in our SSLRE framework. We specifically removed each of the argued contributions one by one to evaluate their effectiveness. For unsupervised learning part, we remove the pseudo classifier head and CPL one at a time. For supervised learning part, we switch from mixup supervised learning to supervised contrastive learning and cross entropy as our new objective. In terms of confident samples identifications methods, we alternate between using random (randomly selection) and NLI-based selection instead of our K-NN method. The NLI method involves performing zero-shot relation extraction through Natural Lan",
|
| 1260 |
+
"bbox": [
|
| 1261 |
+
507,
|
| 1262 |
+
677,
|
| 1263 |
+
884,
|
| 1264 |
+
917
|
| 1265 |
+
],
|
| 1266 |
+
"page_idx": 6
|
| 1267 |
+
},
|
| 1268 |
+
{
|
| 1269 |
+
"type": "page_number",
|
| 1270 |
+
"text": "13151",
|
| 1271 |
+
"bbox": [
|
| 1272 |
+
477,
|
| 1273 |
+
927,
|
| 1274 |
+
522,
|
| 1275 |
+
940
|
| 1276 |
+
],
|
| 1277 |
+
"page_idx": 6
|
| 1278 |
+
},
|
| 1279 |
+
{
|
| 1280 |
+
"type": "text",
|
| 1281 |
+
"text": "guage Inference (NLI)(Sainz et al., 2021), then identify the confident samples based on the level of agreement between the distant label and NLI soft label.",
|
| 1282 |
+
"bbox": [
|
| 1283 |
+
112,
|
| 1284 |
+
84,
|
| 1285 |
+
489,
|
| 1286 |
+
147
|
| 1287 |
+
],
|
| 1288 |
+
"page_idx": 7
|
| 1289 |
+
},
|
| 1290 |
+
{
|
| 1291 |
+
"type": "table",
|
| 1292 |
+
"img_path": "images/050094c5e5ca8189b2c099082b28595d7d537911239dfb6ab5f2f246ea4b3616.jpg",
|
| 1293 |
+
"table_caption": [],
|
| 1294 |
+
"table_footnote": [],
|
| 1295 |
+
"table_body": "<table><tr><td colspan=\"2\">Methods</td><td>Prec.</td><td>Rec.</td><td>F1</td></tr><tr><td colspan=\"2\">SSLRE</td><td>57.4</td><td>72.0</td><td>63.8</td></tr><tr><td rowspan=\"2\">Unsupervised Learning</td><td>w/o pseudo head</td><td>56.2</td><td>70.6</td><td>62.5</td></tr><tr><td>w/o CPL</td><td>50.8</td><td>69.6</td><td>58.7</td></tr><tr><td rowspan=\"2\">Supervised Learning</td><td>SupCon</td><td>55.4</td><td>67.5</td><td>60.9</td></tr><tr><td>CE</td><td>51.8</td><td>70.3</td><td>59.6</td></tr><tr><td rowspan=\"2\">Conf-Samples Identification</td><td>random</td><td>58.6</td><td>56.0</td><td>57.3</td></tr><tr><td>NLI</td><td>56.4</td><td>65.3</td><td>60.5</td></tr></table>",
|
| 1296 |
+
"bbox": [
|
| 1297 |
+
115,
|
| 1298 |
+
158,
|
| 1299 |
+
510,
|
| 1300 |
+
338
|
| 1301 |
+
],
|
| 1302 |
+
"page_idx": 7
|
| 1303 |
+
},
|
| 1304 |
+
{
|
| 1305 |
+
"type": "text",
|
| 1306 |
+
"text": "Table. 3 shows the ablation study results. We conclude that (1) Unsupervised learning apart effectively utilize the unlabeled samples. Removing pseudo classifier head and CPL leads to a decrease of $1.3\\%$ and $5.1\\%$ on micro-F1, respectively. (2) When dealing with noisy labeled data in supervised learning, Mixup Contrastive Supervised Learning proves to be more robust than both Supervised Contrastive Learning $(-2.9\\%)$ and Cross Entropy $(-4.2\\%)$ . (3) Our K-NN-based confident samples identification method outperforms the random method by $6.5\\%$ and the NLI method by $3.3\\%$ . This indicates that our K-NN method can effectively select confident samples.",
|
| 1307 |
+
"bbox": [
|
| 1308 |
+
112,
|
| 1309 |
+
384,
|
| 1310 |
+
490,
|
| 1311 |
+
609
|
| 1312 |
+
],
|
| 1313 |
+
"page_idx": 7
|
| 1314 |
+
},
|
| 1315 |
+
{
|
| 1316 |
+
"type": "text",
|
| 1317 |
+
"text": "4.6 Analysis on KNN",
|
| 1318 |
+
"text_level": 1,
|
| 1319 |
+
"bbox": [
|
| 1320 |
+
112,
|
| 1321 |
+
623,
|
| 1322 |
+
295,
|
| 1323 |
+
638
|
| 1324 |
+
],
|
| 1325 |
+
"page_idx": 7
|
| 1326 |
+
},
|
| 1327 |
+
{
|
| 1328 |
+
"type": "text",
|
| 1329 |
+
"text": "We conducted an evaluation of the performance of weighted k-nearest neighbors (kNN) in terms of its ability to select confident samples. To elaborate, we intentionally corrupted the labels of instances in the nyt10m test set with a random probability of $20\\%$ , $40\\%$ , and $60\\%$ . Our objective was to assess whether our weighted kNN method could effectively identify the uncorrupted (confident) instances. We trained our model on the corrupted nyt10m test set for 10 epochs, considering its relatively smaller size compared to the training set, which required more epochs to converge. In order to evaluate the ability of the weighted kNN in identifying confident samples, we reported the recall and precision metrics. The results are shown as 4:",
|
| 1330 |
+
"bbox": [
|
| 1331 |
+
112,
|
| 1332 |
+
644,
|
| 1333 |
+
489,
|
| 1334 |
+
885
|
| 1335 |
+
],
|
| 1336 |
+
"page_idx": 7
|
| 1337 |
+
},
|
| 1338 |
+
{
|
| 1339 |
+
"type": "text",
|
| 1340 |
+
"text": "It is worth noting that precision is the more important metric because our goal is to make the la",
|
| 1341 |
+
"bbox": [
|
| 1342 |
+
112,
|
| 1343 |
+
887,
|
| 1344 |
+
489,
|
| 1345 |
+
917
|
| 1346 |
+
],
|
| 1347 |
+
"page_idx": 7
|
| 1348 |
+
},
|
| 1349 |
+
{
|
| 1350 |
+
"type": "table",
|
| 1351 |
+
"img_path": "images/5da5dbbcaa99de161c3f919fc95996c475a8f092e90c0171a182b7bce86671cf.jpg",
|
| 1352 |
+
"table_caption": [
|
| 1353 |
+
"Table 3: Ablation study of SSLRE on NYT10m"
|
| 1354 |
+
],
|
| 1355 |
+
"table_footnote": [],
|
| 1356 |
+
"table_body": "<table><tr><td></td><td>Pre.</td><td>Rec.</td></tr><tr><td>20%</td><td>0.9851</td><td>0.8970</td></tr><tr><td>30%</td><td>0.9732</td><td>0.8758</td></tr><tr><td>40%</td><td>0.9531</td><td>0.8723</td></tr><tr><td>50%</td><td>0.9254</td><td>0.8655</td></tr><tr><td>60%</td><td>0.8735</td><td>0.8172</td></tr></table>",
|
| 1357 |
+
"bbox": [
|
| 1358 |
+
596,
|
| 1359 |
+
82,
|
| 1360 |
+
796,
|
| 1361 |
+
195
|
| 1362 |
+
],
|
| 1363 |
+
"page_idx": 7
|
| 1364 |
+
},
|
| 1365 |
+
{
|
| 1366 |
+
"type": "text",
|
| 1367 |
+
"text": "Table 4: The effect of KNN.",
|
| 1368 |
+
"bbox": [
|
| 1369 |
+
596,
|
| 1370 |
+
204,
|
| 1371 |
+
793,
|
| 1372 |
+
218
|
| 1373 |
+
],
|
| 1374 |
+
"page_idx": 7
|
| 1375 |
+
},
|
| 1376 |
+
{
|
| 1377 |
+
"type": "text",
|
| 1378 |
+
"text": "beled data as clean as possible after selecting confident samples. Even with a noisy label rate of $60\\%$ , our weighted kNN method still achieves a precision of $87.35\\%$ for the identified confident samples. This indicates that only $12.65\\%$ of the labeled data is noisy, which is significantly smaller than the $60\\%$ noise rate. Additionally, our weighted kNN method demonstrates a recall of over $80\\%$ for confident samples. Although a few clean samples may not be selected, they can still be utilized through pseudo-labeling techniques.",
|
| 1379 |
+
"bbox": [
|
| 1380 |
+
507,
|
| 1381 |
+
249,
|
| 1382 |
+
885,
|
| 1383 |
+
426
|
| 1384 |
+
],
|
| 1385 |
+
"page_idx": 7
|
| 1386 |
+
},
|
| 1387 |
+
{
|
| 1388 |
+
"type": "text",
|
| 1389 |
+
"text": "4.7 Analysis on Dropout rate",
|
| 1390 |
+
"text_level": 1,
|
| 1391 |
+
"bbox": [
|
| 1392 |
+
507,
|
| 1393 |
+
444,
|
| 1394 |
+
754,
|
| 1395 |
+
460
|
| 1396 |
+
],
|
| 1397 |
+
"page_idx": 7
|
| 1398 |
+
},
|
| 1399 |
+
{
|
| 1400 |
+
"type": "text",
|
| 1401 |
+
"text": "Figure 3 shows the performance of SSLRE under different dropout rate for strong augmentation. we can observe that: (1) Increasing the dropout rate appropriately improves the model's performance, with SSLRE achieving the best result (63.8 on F1) when the strong augmentation dropout rate is set to 0.4. (2) Augmentation using a very high dropout rate harms the performance, as it results in a loss of a significant amount of information. However, this does not significantly degrade the performance since we only use strong augmentation to predict pseudo-labels, which only affects $\\mathcal{L}_u$ .",
|
| 1402 |
+
"bbox": [
|
| 1403 |
+
505,
|
| 1404 |
+
469,
|
| 1405 |
+
882,
|
| 1406 |
+
663
|
| 1407 |
+
],
|
| 1408 |
+
"page_idx": 7
|
| 1409 |
+
},
|
| 1410 |
+
{
|
| 1411 |
+
"type": "image",
|
| 1412 |
+
"img_path": "images/5e2020bfef393a62a9c4c224524f58a374e2d81abbaa8a70041a84603a717d80.jpg",
|
| 1413 |
+
"image_caption": [
|
| 1414 |
+
"Figure 3: Strong augmentation with different dropout rate"
|
| 1415 |
+
],
|
| 1416 |
+
"image_footnote": [],
|
| 1417 |
+
"bbox": [
|
| 1418 |
+
544,
|
| 1419 |
+
695,
|
| 1420 |
+
835,
|
| 1421 |
+
848
|
| 1422 |
+
],
|
| 1423 |
+
"page_idx": 7
|
| 1424 |
+
},
|
| 1425 |
+
{
|
| 1426 |
+
"type": "page_number",
|
| 1427 |
+
"text": "13152",
|
| 1428 |
+
"bbox": [
|
| 1429 |
+
477,
|
| 1430 |
+
927,
|
| 1431 |
+
524,
|
| 1432 |
+
940
|
| 1433 |
+
],
|
| 1434 |
+
"page_idx": 7
|
| 1435 |
+
},
|
| 1436 |
+
{
|
| 1437 |
+
"type": "image",
|
| 1438 |
+
"img_path": "images/541d54363fbb9e6436cbf6a01bd13b47558a76a192fdd9615d7b903a17a55f86.jpg",
|
| 1439 |
+
"image_caption": [
|
| 1440 |
+
"(a) Sup"
|
| 1441 |
+
],
|
| 1442 |
+
"image_footnote": [],
|
| 1443 |
+
"bbox": [
|
| 1444 |
+
144,
|
| 1445 |
+
95,
|
| 1446 |
+
278,
|
| 1447 |
+
167
|
| 1448 |
+
],
|
| 1449 |
+
"page_idx": 8
|
| 1450 |
+
},
|
| 1451 |
+
{
|
| 1452 |
+
"type": "image",
|
| 1453 |
+
"img_path": "images/38b6b7280c8481f2508f8a7b80b1fded57bc9ec9c951158b99bede98ab498c8e.jpg",
|
| 1454 |
+
"image_caption": [
|
| 1455 |
+
"(b) SSL",
|
| 1456 |
+
"Figure 4: t-SNE visualization of representations with Pseudo labeling(SSL) and without(Sup). SSL achieves a better cluster results comparing with Sup."
|
| 1457 |
+
],
|
| 1458 |
+
"image_footnote": [],
|
| 1459 |
+
"bbox": [
|
| 1460 |
+
327,
|
| 1461 |
+
95,
|
| 1462 |
+
463,
|
| 1463 |
+
167
|
| 1464 |
+
],
|
| 1465 |
+
"page_idx": 8
|
| 1466 |
+
},
|
| 1467 |
+
{
|
| 1468 |
+
"type": "text",
|
| 1469 |
+
"text": "4.8 t-SNE analysis",
|
| 1470 |
+
"text_level": 1,
|
| 1471 |
+
"bbox": [
|
| 1472 |
+
112,
|
| 1473 |
+
279,
|
| 1474 |
+
275,
|
| 1475 |
+
294
|
| 1476 |
+
],
|
| 1477 |
+
"page_idx": 8
|
| 1478 |
+
},
|
| 1479 |
+
{
|
| 1480 |
+
"type": "text",
|
| 1481 |
+
"text": "To demonstrate that preserving unlabeled samples can facilitate the learning of a superior representation compared to discarding them, we utilized sentence representations obtained from theta as the input to conduct dimension reduction via t-SNE and acquire two-dimensional representations. We focused on four primary categories of relation classes, which are \"/location/location/contains\", \"/business/person/company\", \"/location/administrative_division/country\", and \"/people/person/nationality\". As depicted in Figure 4, leveraging unlabeled samples via Pseudo labeling enhances the clustering of identical relation data points and effectively separates distinct classes from one another. Appendix F shows the t-SNE results of all classes.",
|
| 1482 |
+
"bbox": [
|
| 1483 |
+
112,
|
| 1484 |
+
302,
|
| 1485 |
+
489,
|
| 1486 |
+
543
|
| 1487 |
+
],
|
| 1488 |
+
"page_idx": 8
|
| 1489 |
+
},
|
| 1490 |
+
{
|
| 1491 |
+
"type": "text",
|
| 1492 |
+
"text": "5 Conclusion",
|
| 1493 |
+
"text_level": 1,
|
| 1494 |
+
"bbox": [
|
| 1495 |
+
112,
|
| 1496 |
+
558,
|
| 1497 |
+
245,
|
| 1498 |
+
571
|
| 1499 |
+
],
|
| 1500 |
+
"page_idx": 8
|
| 1501 |
+
},
|
| 1502 |
+
{
|
| 1503 |
+
"type": "text",
|
| 1504 |
+
"text": "In this paper, we propose SSLRE, a novel sentence-level framework that is grounded in Semi-Supervised Learning for the DSRE task. Our SSLRE framework employs mixup supervised contrastive learning to tackle the noise present in selected samples, and it leverages unlabeled samples through Pseudo Labeling, which effectively utilize the information contained within noisy samples. Experimental results demonstrate that SSLRE outperforms strong baseline methods in both sentence-level and bag-level relation extraction.",
|
| 1505 |
+
"bbox": [
|
| 1506 |
+
112,
|
| 1507 |
+
586,
|
| 1508 |
+
489,
|
| 1509 |
+
763
|
| 1510 |
+
],
|
| 1511 |
+
"page_idx": 8
|
| 1512 |
+
},
|
| 1513 |
+
{
|
| 1514 |
+
"type": "text",
|
| 1515 |
+
"text": "Limitations",
|
| 1516 |
+
"text_level": 1,
|
| 1517 |
+
"bbox": [
|
| 1518 |
+
112,
|
| 1519 |
+
778,
|
| 1520 |
+
218,
|
| 1521 |
+
793
|
| 1522 |
+
],
|
| 1523 |
+
"page_idx": 8
|
| 1524 |
+
},
|
| 1525 |
+
{
|
| 1526 |
+
"type": "text",
|
| 1527 |
+
"text": "In order to augment textual instances, we leverage dropout during forward propagation. This necessitates propagating each instance twice to generate the augmented sentence embeddings. However, the demand for GPU resources is higher compared to previous methods. Furthermore, we adjust the dropout rate to regulate the augmentation intensity",
|
| 1528 |
+
"bbox": [
|
| 1529 |
+
112,
|
| 1530 |
+
806,
|
| 1531 |
+
489,
|
| 1532 |
+
919
|
| 1533 |
+
],
|
| 1534 |
+
"page_idx": 8
|
| 1535 |
+
},
|
| 1536 |
+
{
|
| 1537 |
+
"type": "text",
|
| 1538 |
+
"text": "for semi-supervised learning and show its effectiveness through the performance results. Nonetheless, we have not conducted explicit experiments to investigate the interpretability, which needs further investigation.",
|
| 1539 |
+
"bbox": [
|
| 1540 |
+
507,
|
| 1541 |
+
84,
|
| 1542 |
+
884,
|
| 1543 |
+
165
|
| 1544 |
+
],
|
| 1545 |
+
"page_idx": 8
|
| 1546 |
+
},
|
| 1547 |
+
{
|
| 1548 |
+
"type": "text",
|
| 1549 |
+
"text": "Acknowledgment",
|
| 1550 |
+
"text_level": 1,
|
| 1551 |
+
"bbox": [
|
| 1552 |
+
509,
|
| 1553 |
+
177,
|
| 1554 |
+
665,
|
| 1555 |
+
193
|
| 1556 |
+
],
|
| 1557 |
+
"page_idx": 8
|
| 1558 |
+
},
|
| 1559 |
+
{
|
| 1560 |
+
"type": "text",
|
| 1561 |
+
"text": "This work is sponsored by National Natural Science Foundation of China (NSFC) (62206291, 62141608, and 62236010).",
|
| 1562 |
+
"bbox": [
|
| 1563 |
+
507,
|
| 1564 |
+
203,
|
| 1565 |
+
885,
|
| 1566 |
+
250
|
| 1567 |
+
],
|
| 1568 |
+
"page_idx": 8
|
| 1569 |
+
},
|
| 1570 |
+
{
|
| 1571 |
+
"type": "text",
|
| 1572 |
+
"text": "References",
|
| 1573 |
+
"text_level": 1,
|
| 1574 |
+
"bbox": [
|
| 1575 |
+
510,
|
| 1576 |
+
279,
|
| 1577 |
+
608,
|
| 1578 |
+
293
|
| 1579 |
+
],
|
| 1580 |
+
"page_idx": 8
|
| 1581 |
+
},
|
| 1582 |
+
{
|
| 1583 |
+
"type": "list",
|
| 1584 |
+
"sub_type": "ref_text",
|
| 1585 |
+
"list_items": [
|
| 1586 |
+
"Christoph Alt, Marc Hubner, and Leonhard Hennig. 2019. Fine-tuning pre-trained transformer language models to distantly supervised relation extraction. ArXiv, abs/1906.08646.",
|
| 1587 |
+
"Saadullah Amin, Katherine Ann Dunfield, Anna Vechkaeva, and Guenter Neumann. 2020. A data-driven approach for noise reduction in distantly supervised biomedical relation extraction. In Proceedings of the 19th SIGBioMed Workshop on Biomedical Language Processing, pages 187-194, Online. Association for Computational Linguistics.",
|
| 1588 |
+
"Devansh Arpit, Stanisław Jastrzebski, Nicolas Ballas, David Krueger, Emmanuel Bengio, Maxinder S Kanwal, Tegan Maharaj, Asja Fischer, Aaron Courville, Yoshua Bengio, et al. 2017. A closer look at memorization in deep networks. In International conference on machine learning, pages 233-242. PMLR.",
|
| 1589 |
+
"Philip Bachman, Ouais Alsharif, and Doina Precup. 2014. Learning with pseudo-ensembles. ArXiv, abs/1412.4864.",
|
| 1590 |
+
"Dara Bahri, Heinrich Jiang, and Maya Gupta. 2020. Deep k-nn for noisy labels. In International Conference on Machine Learning, pages 540-550. PMLR.",
|
| 1591 |
+
"David Berthelot, Nicholas Carlini, Ian J. Goodfellow, Nicolas Papernot, Avital Oliver, and Colin Raffel. 2019. Mixmatch: A holistic approach to semi-supervised learning. *ArXiv*, abs/1905.02249.",
|
| 1592 |
+
"Jhih-Wei Chen, Tsu-Jui Fu, Chen-Kang Lee, and WeiYun Ma. 2020. H-fnd: Hierarchical false-negative denoising for distant supervision relation extraction. In Findings.",
|
| 1593 |
+
"Tao Chen, Haizhou Shi, Siliang Tang, Zhigang Chen, Fei Wu, and Yue Ting Zhuang. 2021a. Cil: Contrastive instance learning framework for distantly supervised relation extraction. ArXiv, abs/2106.10855.",
|
| 1594 |
+
"Tao Chen, Haochen Shi, Liyuan Liu, Siliang Tang, Jian Shao, Zhigang Chen, and Yueting Zhuang. 2021b. Empower distantly supervised relation extraction with collaborative adversarial training. In AAAI Conference on Artificial Intelligence."
|
| 1595 |
+
],
|
| 1596 |
+
"bbox": [
|
| 1597 |
+
509,
|
| 1598 |
+
302,
|
| 1599 |
+
885,
|
| 1600 |
+
917
|
| 1601 |
+
],
|
| 1602 |
+
"page_idx": 8
|
| 1603 |
+
},
|
| 1604 |
+
{
|
| 1605 |
+
"type": "page_number",
|
| 1606 |
+
"text": "13153",
|
| 1607 |
+
"bbox": [
|
| 1608 |
+
477,
|
| 1609 |
+
927,
|
| 1610 |
+
524,
|
| 1611 |
+
940
|
| 1612 |
+
],
|
| 1613 |
+
"page_idx": 8
|
| 1614 |
+
},
|
| 1615 |
+
{
|
| 1616 |
+
"type": "list",
|
| 1617 |
+
"sub_type": "ref_text",
|
| 1618 |
+
"list_items": [
|
| 1619 |
+
"Xinlei Chen and Abhinav Kumar Gupta. 2015. Webly supervised learning of convolutional networks. 2015 IEEE International Conference on Computer Vision (ICCV), pages 1431-1439.",
|
| 1620 |
+
"Qin Dai, Benjamin Heinzerling, and Kentaro Inui. 2022. Cross-stitching text and knowledge graph encoders for distantly supervised relation extraction. In Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing, pages 6947-6958, Abu Dhabi, United Arab Emirates. Association for Computational Linguistics.",
|
| 1621 |
+
"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.",
|
| 1622 |
+
"Jun Feng, Minlie Huang, Li Zhao, Yang Yang, and Xiaoyan Zhu. 2018. Reinforcement learning for relation classification from noisy data. In Proceedings of the aai conference on artificial intelligence, volume 32.",
|
| 1623 |
+
"Tianyu Gao, Xu Han, Keyue Qiu, Yuzhuo Bai, Zhiyu Xie, Yankai Lin, Zhiyuan Liu, Peng Li, Maosong Sun, and Jie Zhou. 2021a. Manual evaluation matters: Reviewing test protocols of distantly supervised relation extraction. In Findings.",
|
| 1624 |
+
"Tianyu Gao, Xingcheng Yao, and Danqi Chen. 2021b. SimCSE: Simple contrastive learning of sentence embeddings. In Empirical Methods in Natural Language Processing (EMNLP).",
|
| 1625 |
+
"Aritra Ghosh, Himanshu Kumar, and P. Shanti Sastry. 2017. Robust loss functions under label noise for deep neural networks. In AAAI Conference on Artificial Intelligence.",
|
| 1626 |
+
"Jacob Goldberger and Ehud Ben-Reuven. 2016. Training deep neural-networks using a noise adaptation layer. In International Conference on Learning Representations.",
|
| 1627 |
+
"Bo Han, Quanming Yao, Xingrui Yu, Gang Niu, Miao Xu, Weihua Hu, Ivor Wai-Hung Tsang, and Masashi Sugiyama. 2018a. Co-teaching: Robust training of deep neural networks with extremely noisy labels. In Neural Information Processing Systems.",
|
| 1628 |
+
"Jiangfan Han, Ping Luo, and Xiaogang Wang. 2019. Deep self-learning from noisy labels. 2019 IEEE/CVF International Conference on Computer Vision (ICCV), pages 5137-5146.",
|
| 1629 |
+
"Xu Han, Tianyu Gao, Yankai Lin, Hao Peng, Yaoliang Yang, Chaojun Xiao, Zhiyuan Liu, Peng Li, Maosong Sun, and Jie Zhou. 2020. More data, more relations, more context and more openness: A review and outlook for relation extraction. In AACL."
|
| 1630 |
+
],
|
| 1631 |
+
"bbox": [
|
| 1632 |
+
115,
|
| 1633 |
+
85,
|
| 1634 |
+
487,
|
| 1635 |
+
917
|
| 1636 |
+
],
|
| 1637 |
+
"page_idx": 9
|
| 1638 |
+
},
|
| 1639 |
+
{
|
| 1640 |
+
"type": "list",
|
| 1641 |
+
"sub_type": "ref_text",
|
| 1642 |
+
"list_items": [
|
| 1643 |
+
"Xu Han, Zhiyuan Liu, and Maosong Sun. 2018b. Neural knowledge acquisition via mutual attention between knowledge graph and text. In AAAI Conference on Artificial Intelligence.",
|
| 1644 |
+
"Kailong Hao, Botao Yu, and Wei Hu. 2021. Knowing false negatives: An adversarial training method for distantly supervised relation extraction. In Conference on Empirical Methods in Natural Language Processing.",
|
| 1645 |
+
"Ahmet Iscen, Jack Valmadre, Anurag Arnab, and Cordelia Schmid. 2022. Learning with neighbor consistency for noisy labels. 2022 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 4662-4671.",
|
| 1646 |
+
"Wei Jia, Dai Dai, Xinyan Xiao, and Hua Wu. 2019. Arnor: Attention regularization based noise reduction for distant supervision relation classification. In Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics, pages 1399-1408.",
|
| 1647 |
+
"Zhanghan Ke, Daoye Wang, Qiong Yan, Jimmy S. J. Ren, and Rynson W. H. Lau. 2019. Dual student: Breaking the limits of the teacher in semi-supervised learning. 2019 IEEE/CVF International Conference on Computer Vision (ICCV), pages 6727-6735.",
|
| 1648 |
+
"Diederik P. Kingma and Jimmy Ba. 2014. Adam: A method for stochastic optimization. CoRR, abs/1412.6980.",
|
| 1649 |
+
"Kimin Lee, Sukmin Yun, Kibok Lee, Honglak Lee, Bo Li, and Jinwoo Shin. 2019. Robust inference via generative classifiers for handling noisy labels. In Proceedings of the 36th International Conference on Machine Learning, volume 97 of Proceedings of Machine Learning Research, pages 3763-3772. PMLR.",
|
| 1650 |
+
"Dongyang Li, Taolin Zhang, Nan Hu, Chengyu Wang, and Xiaofeng He. 2022. Hic Ire: A hierarchical contrastive learning framework for distantly supervised relation extraction. In Findings.",
|
| 1651 |
+
"Junnan Li, Richard Socher, and Steven C. H. Hoi. 2020. Dividemix: Learning with noisy labels as semi-supervised learning. ArXiv, abs/2002.07394.",
|
| 1652 |
+
"Yankai Lin, Shiqi Shen, Zhiyuan Liu, Huanbo Luan, and Maosong Sun. 2016. Neural relation extraction with selective attention over instances. In Proceedings of the 54th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 2124-2133.",
|
| 1653 |
+
"Ruri Liu, Shasha Mo, Jianwei Niu, and Shengda Fan. 2022. CETA: A consensus enhanced training approach for denoising in distantly supervised relation extraction. In Proceedings of the 29th International Conference on Computational Linguistics, pages 2247-2258, Gyeongju, Republic of Korea. International Committee on Computational Linguistics."
|
| 1654 |
+
],
|
| 1655 |
+
"bbox": [
|
| 1656 |
+
510,
|
| 1657 |
+
85,
|
| 1658 |
+
882,
|
| 1659 |
+
917
|
| 1660 |
+
],
|
| 1661 |
+
"page_idx": 9
|
| 1662 |
+
},
|
| 1663 |
+
{
|
| 1664 |
+
"type": "page_number",
|
| 1665 |
+
"text": "13154",
|
| 1666 |
+
"bbox": [
|
| 1667 |
+
477,
|
| 1668 |
+
928,
|
| 1669 |
+
524,
|
| 1670 |
+
940
|
| 1671 |
+
],
|
| 1672 |
+
"page_idx": 9
|
| 1673 |
+
},
|
| 1674 |
+
{
|
| 1675 |
+
"type": "list",
|
| 1676 |
+
"sub_type": "ref_text",
|
| 1677 |
+
"list_items": [
|
| 1678 |
+
"Sheng Liu, Jonathan Niles-Weed, Narges Razavian, and Carlos Fernandez-Granda. 2020. Early-learning regularization prevents memorization of noisy labels. ArXiv, abs/2007.00151.",
|
| 1679 |
+
"Tongliang Liu and Dacheng Tao. 2014. Classification with noisy labels by importance reweighting. IEEE Transactions on Pattern Analysis and Machine Intelligence, 38:447-461.",
|
| 1680 |
+
"Yang Liu and Hongyi Guo. 2019. Peer loss functions: Learning from noisy labels without knowing noise rates. ArXiv, abs/1910.03231.",
|
| 1681 |
+
"Yueming Lyu and Ivor Wai-Hung Tsang. 2019. Curriculum loss: Robust learning and generalization against label corruption. ArXiv, abs/1905.10045.",
|
| 1682 |
+
"Ruotian Ma, Tao Gui, Linyang Li, Qi Zhang, Xuan-Jing Huang, and Yaqian Zhou. 2021. Sent: Sentence-level distant relation extraction via negative training. 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 6201-6213.",
|
| 1683 |
+
"Mike Mintz, Steven Bills, Rion Snow, and Dan Jurafsky. 2009. Distant supervision for relation extraction without labeled data. In Proceedings of the Joint Conference of the 47th Annual Meeting of the ACL and the 4th International Joint Conference on Natural Language Processing of the AFNLP, pages 1003-1011.",
|
| 1684 |
+
"Pengda Qin, Weiran Xu, and William Yang Wang. 2018. Robust distant supervision relation extraction via deep reinforcement learning. In Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 2137-2147.",
|
| 1685 |
+
"Vipul Rathore, Kartikeya Badola, Parag Singla, and Mausam. 2022. PARE: A simple and strong baseline for monolingual and multilingual distantly supervised relation extraction. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 2: Short Papers), pages 340-354, Dublin, Ireland. Association for Computational Linguistics.",
|
| 1686 |
+
"Sebastian Riedel, Limin Yao, and Andrew McCallum. 2010. Modeling relations and their mentions without labeled text. In *Joint European Conference on Machine Learning and Knowledge Discovery in Databases*, pages 148-163. Springer.",
|
| 1687 |
+
"Oscar Sainz, Oier Lopez de Lacalle, Gorka Labaka, Ander Barrena, and Eneko Agirre. 2021. Label verbalization and entailment for effective zero and few-shot relation extraction. In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing, pages 1199-1212.",
|
| 1688 |
+
"Yu-Ming Shang and Wei Wei. 2019. Are noisy sentences useless for distant supervised relation extraction? In AAAI Conference on Artificial Intelligence."
|
| 1689 |
+
],
|
| 1690 |
+
"bbox": [
|
| 1691 |
+
115,
|
| 1692 |
+
85,
|
| 1693 |
+
487,
|
| 1694 |
+
917
|
| 1695 |
+
],
|
| 1696 |
+
"page_idx": 10
|
| 1697 |
+
},
|
| 1698 |
+
{
|
| 1699 |
+
"type": "list",
|
| 1700 |
+
"sub_type": "ref_text",
|
| 1701 |
+
"list_items": [
|
| 1702 |
+
"Tao Shen, Guodong Long, Tao Shen, Tianyi Zhou, Lina Yao, Huan Huo, and Jing Jiang. 2019. Self-attention enhanced selective gate with entity-aware embedding for distantly supervised relation extraction. ArXiv, abs/1911.11899.",
|
| 1703 |
+
"Kihyuk Sohn, David Berthelot, Chun-Liang Li, Zizhao Zhang, Nicholas Carlini, Ekin Dogus Cubuk, Alexey Kurakin, Han Zhang, and Colin Raffel. 2020. Fixmatch: Simplifying semi-supervised learning with consistency and confidence. ArXiv, abs/2001.07685.",
|
| 1704 |
+
"Antti Tarvainen and Harri Valpola. 2017. Mean teachers are better role models: Weight-averaged consistency targets improve semi-supervised deep learning results. In NIPS.",
|
| 1705 |
+
"Shikhar Vashishth, Rishabh Joshi, Sai Suman Prayaga, Chiranjib Bhattacharyya, and Partha Talukdar. 2018. RESIDE: Improving distantly-supervised neural relation extraction using side information. In Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing, pages 1257-1266, Brussels, Belgium. Association for Computational Linguistics.",
|
| 1706 |
+
"Denny Vrandecic and Markus Krötzsch. 2014. Wiki-data: A free collaborative knowledge base. Communications of the ACM, 57:78-85.",
|
| 1707 |
+
"Xudong Wang, Zhi-Li Wu, Long Lian, and Stella X. Yu. 2022. Debiased learning from naturally imbalanced pseudo-labels. 2022 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 14627-14637.",
|
| 1708 |
+
"Pengxiang Wu, Songzhu Zheng, Mayank Goswami, Dimitris N. Metaxas, and Chao Chen. 2020. A topological filter for learning with label noise. ArXiv, abs/2012.04835.",
|
| 1709 |
+
"Yuwei Xia, Mengqi Zhang, Qiang Liu, Shu Wu, and Xiao-Yu Zhang. 2022. MetaTKG: Learning evolutionary meta-knowledge for temporal knowledge graph reasoning. In Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing, pages 7230-7240, Abu Dhabi, United Arab Emirates. Association for Computational Linguistics.",
|
| 1710 |
+
"Zhiquan Ye and Zhenhua Ling. 2019. Distant supervision relation extraction with intra-bag and inter-bag attentions. ArXiv, abs/1904.00143.",
|
| 1711 |
+
"Daojian Zeng, Kang Liu, Yubo Chen, and Jun Zhao. 2015. Distant supervision for relation extraction via piecewise convolutional neural networks. In Proceedings of the 2015 conference on empirical methods in natural language processing, pages 1753-1762.",
|
| 1712 |
+
"Bowen Zhang, Yidong Wang, Wenxin Hou, Hao Wu, Jindong Wang, Manabu Okumura, and Takahiro Shinozaki. 2021. Flexmatch: Boosting semi-supervised learning with curriculum pseudo labeling. ArXiv, abs/2110.08263."
|
| 1713 |
+
],
|
| 1714 |
+
"bbox": [
|
| 1715 |
+
510,
|
| 1716 |
+
85,
|
| 1717 |
+
880,
|
| 1718 |
+
917
|
| 1719 |
+
],
|
| 1720 |
+
"page_idx": 10
|
| 1721 |
+
},
|
| 1722 |
+
{
|
| 1723 |
+
"type": "page_number",
|
| 1724 |
+
"text": "13155",
|
| 1725 |
+
"bbox": [
|
| 1726 |
+
477,
|
| 1727 |
+
928,
|
| 1728 |
+
524,
|
| 1729 |
+
940
|
| 1730 |
+
],
|
| 1731 |
+
"page_idx": 10
|
| 1732 |
+
},
|
| 1733 |
+
{
|
| 1734 |
+
"type": "text",
|
| 1735 |
+
"text": "Mengqi Zhang, Yuwei Xia, Qiang Liu, Shu Wu, and Liang Wang. 2023a. Learning latent relations for temporal knowledge graph reasoning. In Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 12617-12631, Toronto, Canada. Association for Computational Linguistics.",
|
| 1736 |
+
"bbox": [
|
| 1737 |
+
114,
|
| 1738 |
+
85,
|
| 1739 |
+
489,
|
| 1740 |
+
178
|
| 1741 |
+
],
|
| 1742 |
+
"page_idx": 11
|
| 1743 |
+
},
|
| 1744 |
+
{
|
| 1745 |
+
"type": "text",
|
| 1746 |
+
"text": "Mengqi Zhang, Yuwei Xia, Qiang Liu, Shu Wu, and Liang Wang. 2023b. Learning long- and short-term representations for temporal knowledge graph reasoning. In Proceedings of the ACM Web Conference 2023, WWW '23, page 2412-2422, New York, NY, USA. Association for Computing Machinery.",
|
| 1747 |
+
"bbox": [
|
| 1748 |
+
114,
|
| 1749 |
+
187,
|
| 1750 |
+
489,
|
| 1751 |
+
268
|
| 1752 |
+
],
|
| 1753 |
+
"page_idx": 11
|
| 1754 |
+
},
|
| 1755 |
+
{
|
| 1756 |
+
"type": "text",
|
| 1757 |
+
"text": "A Algorithm",
|
| 1758 |
+
"text_level": 1,
|
| 1759 |
+
"bbox": [
|
| 1760 |
+
114,
|
| 1761 |
+
281,
|
| 1762 |
+
243,
|
| 1763 |
+
298
|
| 1764 |
+
],
|
| 1765 |
+
"page_idx": 11
|
| 1766 |
+
},
|
| 1767 |
+
{
|
| 1768 |
+
"type": "text",
|
| 1769 |
+
"text": "Algorithm 1 provides the pseudo-code of the overall framework.",
|
| 1770 |
+
"bbox": [
|
| 1771 |
+
112,
|
| 1772 |
+
307,
|
| 1773 |
+
489,
|
| 1774 |
+
338
|
| 1775 |
+
],
|
| 1776 |
+
"page_idx": 11
|
| 1777 |
+
},
|
| 1778 |
+
{
|
| 1779 |
+
"type": "text",
|
| 1780 |
+
"text": "B Held-out evaluation",
|
| 1781 |
+
"text_level": 1,
|
| 1782 |
+
"bbox": [
|
| 1783 |
+
114,
|
| 1784 |
+
351,
|
| 1785 |
+
322,
|
| 1786 |
+
368
|
| 1787 |
+
],
|
| 1788 |
+
"page_idx": 11
|
| 1789 |
+
},
|
| 1790 |
+
{
|
| 1791 |
+
"type": "table",
|
| 1792 |
+
"img_path": "images/7a8b7c1905a667d11c18f4632242e1163cc65900aa4d006823446f637add0d28.jpg",
|
| 1793 |
+
"table_caption": [],
|
| 1794 |
+
"table_footnote": [],
|
| 1795 |
+
"table_body": "<table><tr><td>Models</td><td>Prec.</td><td>Rec.</td><td>F1</td></tr><tr><td>SENT</td><td>45.3</td><td>50.1</td><td>47.5</td></tr><tr><td>HiCLRE</td><td>44.3</td><td>50.6</td><td>47.2</td></tr><tr><td>SSLRE(Ours)</td><td>49.2</td><td>54.3</td><td>51.6</td></tr></table>",
|
| 1796 |
+
"bbox": [
|
| 1797 |
+
154,
|
| 1798 |
+
387,
|
| 1799 |
+
445,
|
| 1800 |
+
475
|
| 1801 |
+
],
|
| 1802 |
+
"page_idx": 11
|
| 1803 |
+
},
|
| 1804 |
+
{
|
| 1805 |
+
"type": "text",
|
| 1806 |
+
"text": "Table 5: Held-out evaluation on NYT10",
|
| 1807 |
+
"bbox": [
|
| 1808 |
+
163,
|
| 1809 |
+
485,
|
| 1810 |
+
436,
|
| 1811 |
+
499
|
| 1812 |
+
],
|
| 1813 |
+
"page_idx": 11
|
| 1814 |
+
},
|
| 1815 |
+
{
|
| 1816 |
+
"type": "text",
|
| 1817 |
+
"text": "Table 5 shows the held-out evaluation results on NYT10 dataset.",
|
| 1818 |
+
"bbox": [
|
| 1819 |
+
112,
|
| 1820 |
+
519,
|
| 1821 |
+
487,
|
| 1822 |
+
550
|
| 1823 |
+
],
|
| 1824 |
+
"page_idx": 11
|
| 1825 |
+
},
|
| 1826 |
+
{
|
| 1827 |
+
"type": "text",
|
| 1828 |
+
"text": "C Evaluation Settings",
|
| 1829 |
+
"text_level": 1,
|
| 1830 |
+
"bbox": [
|
| 1831 |
+
114,
|
| 1832 |
+
564,
|
| 1833 |
+
321,
|
| 1834 |
+
580
|
| 1835 |
+
],
|
| 1836 |
+
"page_idx": 11
|
| 1837 |
+
},
|
| 1838 |
+
{
|
| 1839 |
+
"type": "text",
|
| 1840 |
+
"text": "Sentence-level evaluation: Different from bag-level evaluation used by MIL-based model, a sentence-level (or instance-level) evaluation accesses model performance directly on all of the individual instances in the dataset, which require the model to accurately predict the relation for each sentence. Following (Jia et al., 2019; Ma et al., 2021; Liu et al., 2022), we report micro-Precision $(\\mu \\mathrm{Prec.})$ , micro-Recall $(\\mu \\mathrm{Rec.})$ and microF1 $(\\mu \\mathrm{F1})$ for sentence-level evaluation.",
|
| 1841 |
+
"bbox": [
|
| 1842 |
+
112,
|
| 1843 |
+
590,
|
| 1844 |
+
489,
|
| 1845 |
+
750
|
| 1846 |
+
],
|
| 1847 |
+
"page_idx": 11
|
| 1848 |
+
},
|
| 1849 |
+
{
|
| 1850 |
+
"type": "text",
|
| 1851 |
+
"text": "D Parameter Settings",
|
| 1852 |
+
"text_level": 1,
|
| 1853 |
+
"bbox": [
|
| 1854 |
+
114,
|
| 1855 |
+
764,
|
| 1856 |
+
319,
|
| 1857 |
+
781
|
| 1858 |
+
],
|
| 1859 |
+
"page_idx": 11
|
| 1860 |
+
},
|
| 1861 |
+
{
|
| 1862 |
+
"type": "text",
|
| 1863 |
+
"text": "Bag-level evaluation: Bag evaluation accesses the performance of bag relation label extraction. Since manually annotated data are at the sentence-level, following (Gao et al., 2021a), we construct bag-level annotations in the following way: For each bag, if one sentence in the bag has a human-labeled relation, this bag is labeled with this relation; if no sentence in the bag is annotated with any relation,",
|
| 1864 |
+
"bbox": [
|
| 1865 |
+
112,
|
| 1866 |
+
790,
|
| 1867 |
+
489,
|
| 1868 |
+
917
|
| 1869 |
+
],
|
| 1870 |
+
"page_idx": 11
|
| 1871 |
+
},
|
| 1872 |
+
{
|
| 1873 |
+
"type": "image",
|
| 1874 |
+
"img_path": "images/5c3ebe4b63ac4922d423f49ab0d5a254d00dddaf4d5513ea2820c6496cfe9cca.jpg",
|
| 1875 |
+
"image_caption": [
|
| 1876 |
+
"Figure 5: PR-curve"
|
| 1877 |
+
],
|
| 1878 |
+
"image_footnote": [],
|
| 1879 |
+
"bbox": [
|
| 1880 |
+
536,
|
| 1881 |
+
101,
|
| 1882 |
+
858,
|
| 1883 |
+
253
|
| 1884 |
+
],
|
| 1885 |
+
"page_idx": 11
|
| 1886 |
+
},
|
| 1887 |
+
{
|
| 1888 |
+
"type": "text",
|
| 1889 |
+
"text": "this bag is labeled as N/A. We report AUC, MicroF1 and Macro-F1 for bag level evaluation.",
|
| 1890 |
+
"bbox": [
|
| 1891 |
+
507,
|
| 1892 |
+
313,
|
| 1893 |
+
884,
|
| 1894 |
+
346
|
| 1895 |
+
],
|
| 1896 |
+
"page_idx": 11
|
| 1897 |
+
},
|
| 1898 |
+
{
|
| 1899 |
+
"type": "text",
|
| 1900 |
+
"text": "The underlying encoder for sentence are implemented by BERT-base (Devlin et al., 2019), which generates 768 hidden units for each token's context-aware representation. During the training stage, we set the learning rate of the model to $2 \\times 10^{-5}$ and the batch size to 64, which was determined through a grid search over batch sizes in $\\{16, 32, 64\\}$ and learning rates in $\\{1e-5, 2e-5, 5e-5\\}$ . We train the model for 5 epochs and use Adam (Kingma and Ba, 2014) as the optimizer. The Mixup parameter $\\alpha_{m}$ is set to 1, the classifier loss weight $\\lambda_{c}$ is set to 0.2, the fractile alpha is set to 0.8, the unsupervised loss weight $\\lambda_{u}$ is set to 1, and the CPL threshold $\\tau$ is set to 0.95. We set the dropout rate for weak augmentation to 0.2 and the dropout rate for strong augmentation to 0.4. Further analysis on the strong augmentation dropout rate is presented in Section 4.7.",
|
| 1901 |
+
"bbox": [
|
| 1902 |
+
507,
|
| 1903 |
+
347,
|
| 1904 |
+
884,
|
| 1905 |
+
634
|
| 1906 |
+
],
|
| 1907 |
+
"page_idx": 11
|
| 1908 |
+
},
|
| 1909 |
+
{
|
| 1910 |
+
"type": "text",
|
| 1911 |
+
"text": "E PR-curve",
|
| 1912 |
+
"text_level": 1,
|
| 1913 |
+
"bbox": [
|
| 1914 |
+
509,
|
| 1915 |
+
649,
|
| 1916 |
+
630,
|
| 1917 |
+
664
|
| 1918 |
+
],
|
| 1919 |
+
"page_idx": 11
|
| 1920 |
+
},
|
| 1921 |
+
{
|
| 1922 |
+
"type": "text",
|
| 1923 |
+
"text": "We report the P-R curve on NYT10m dataset as Figure 5:",
|
| 1924 |
+
"bbox": [
|
| 1925 |
+
507,
|
| 1926 |
+
676,
|
| 1927 |
+
880,
|
| 1928 |
+
708
|
| 1929 |
+
],
|
| 1930 |
+
"page_idx": 11
|
| 1931 |
+
},
|
| 1932 |
+
{
|
| 1933 |
+
"type": "image",
|
| 1934 |
+
"img_path": "images/12367125ff4214d54131c8e6e0d41a0628383e3d0d06356bfb984c7c98f87f95.jpg",
|
| 1935 |
+
"image_caption": [
|
| 1936 |
+
"(a) Sup"
|
| 1937 |
+
],
|
| 1938 |
+
"image_footnote": [],
|
| 1939 |
+
"bbox": [
|
| 1940 |
+
539,
|
| 1941 |
+
741,
|
| 1942 |
+
675,
|
| 1943 |
+
816
|
| 1944 |
+
],
|
| 1945 |
+
"page_idx": 11
|
| 1946 |
+
},
|
| 1947 |
+
{
|
| 1948 |
+
"type": "image",
|
| 1949 |
+
"img_path": "images/9f09bc1cc074ae9ac9fb9e7e46befa4478d5c663ee676a4c0d56d43bb9d00be7.jpg",
|
| 1950 |
+
"image_caption": [
|
| 1951 |
+
"(b) SSL",
|
| 1952 |
+
"Figure 6: t-SNE visualization of representations with Pseudo labeling(SSL) and without(Sup). SSL achieves a better cluster results comparing with Sup, especially on color green and light purple."
|
| 1953 |
+
],
|
| 1954 |
+
"image_footnote": [],
|
| 1955 |
+
"bbox": [
|
| 1956 |
+
724,
|
| 1957 |
+
743,
|
| 1958 |
+
858,
|
| 1959 |
+
814
|
| 1960 |
+
],
|
| 1961 |
+
"page_idx": 11
|
| 1962 |
+
},
|
| 1963 |
+
{
|
| 1964 |
+
"type": "page_number",
|
| 1965 |
+
"text": "13156",
|
| 1966 |
+
"bbox": [
|
| 1967 |
+
477,
|
| 1968 |
+
927,
|
| 1969 |
+
524,
|
| 1970 |
+
940
|
| 1971 |
+
],
|
| 1972 |
+
"page_idx": 11
|
| 1973 |
+
},
|
| 1974 |
+
{
|
| 1975 |
+
"type": "text",
|
| 1976 |
+
"text": "F Additional t-SNE analysis",
|
| 1977 |
+
"text_level": 1,
|
| 1978 |
+
"bbox": [
|
| 1979 |
+
114,
|
| 1980 |
+
83,
|
| 1981 |
+
374,
|
| 1982 |
+
99
|
| 1983 |
+
],
|
| 1984 |
+
"page_idx": 12
|
| 1985 |
+
},
|
| 1986 |
+
{
|
| 1987 |
+
"type": "text",
|
| 1988 |
+
"text": "Figure 6 shows the t-SNE results on all classes of the sentence representation.",
|
| 1989 |
+
"bbox": [
|
| 1990 |
+
112,
|
| 1991 |
+
108,
|
| 1992 |
+
489,
|
| 1993 |
+
142
|
| 1994 |
+
],
|
| 1995 |
+
"page_idx": 12
|
| 1996 |
+
},
|
| 1997 |
+
{
|
| 1998 |
+
"type": "code",
|
| 1999 |
+
"sub_type": "algorithm",
|
| 2000 |
+
"code_caption": [
|
| 2001 |
+
"Algorithm 1: SSLRE Algorithm"
|
| 2002 |
+
],
|
| 2003 |
+
"code_body": "input: Noisy Dataset $\\tilde{\\mathcal{D}}$ output: \n1 Warm up $\\theta$ and $\\phi$ for one epoch using supervised contrastive learning and get $\\theta^{\\prime}$ \n2 Gain features: $z_{i} = \\theta^{\\prime}(x_{i})$ \n3 Build weighted K-NN graph using Eq. (1) \n4 Gain $\\mathcal{X}$ and $\\mathcal{U}$ using Eq. (2-4) \n5 Reinitialize $\\phi$ and $\\theta$ \n6 while not reach the maximum iteration do \n7 for $c\\gets 1$ to $C$ do \n8 Calculate $\\mathcal{T}(c)$ using Eq. (7) {Determine the flexible threshold for class c.} \n9 end \n10 for $t\\gets 1$ to num_iters do \n11 From $\\mathcal{X}$ , draw a mini-batch $X^{t} = \\{(x_{b},y_{b});b\\in (1,\\dots ,B)\\}$ \n12 From $\\mathcal{U}$ , draw a mini-batch $U^{t} = \\{u_{b};b\\in (1,\\dots ,B)\\}$ /\\* Learning from labeled dataset X \\*/ \n13 $Z^{t} = \\theta_{w}(X^{t})\\cup \\theta_{w}(X^{t}) / /$ Get two augmented embedding views by dropout inference twice. \n14 Calculate $L^{CLS}$ using Eq. (13). \n15 Mixup embedding using Eq. (10), and gain $Z_{mix}^{t}$ \n16 Calculate $L_{s}$ using Eq. (11) /\\* Learning from unlabeled dataset U \\*/ \n17 Generate pseudo labels using Eq. (5). \n18 Calculate unsupervised loss using Eq. (6) with $\\mathcal{T}(c)$ \n19 Calculate the overall loss $L$ using Eq. (14). \n20 end \n21 end",
|
| 2004 |
+
"bbox": [
|
| 2005 |
+
115,
|
| 2006 |
+
175,
|
| 2007 |
+
485,
|
| 2008 |
+
829
|
| 2009 |
+
],
|
| 2010 |
+
"page_idx": 12
|
| 2011 |
+
},
|
| 2012 |
+
{
|
| 2013 |
+
"type": "page_number",
|
| 2014 |
+
"text": "13157",
|
| 2015 |
+
"bbox": [
|
| 2016 |
+
477,
|
| 2017 |
+
927,
|
| 2018 |
+
524,
|
| 2019 |
+
940
|
| 2020 |
+
],
|
| 2021 |
+
"page_idx": 12
|
| 2022 |
+
}
|
| 2023 |
+
]
|
2023/Noise-Robust Semi-Supervised Learning for Distantly Supervised Relation Extraction/fc076ec4-b157-42d2-a4a8-4199f3a5df0a_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2023/Noise-Robust Semi-Supervised Learning for Distantly Supervised Relation Extraction/fc076ec4-b157-42d2-a4a8-4199f3a5df0a_origin.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:86d9740643c53d16fd7e713aa5d842efeea5ab58470e2a97e7523d9e825718f1
|
| 3 |
+
size 1060001
|
2023/Noise-Robust Semi-Supervised Learning for Distantly Supervised Relation Extraction/full.md
ADDED
|
@@ -0,0 +1,421 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Noise-Robust Semi-Supervised Learning for Distantly Supervised Relation Extraction
|
| 2 |
+
|
| 3 |
+
Xin Sun $^{1,2}$ , Qiang Liu $^{2,3*}$ , Shu Wu $^{2,3}$ , Zilei Wang $^{1}$ , Liang Wang $^{2,3}$
|
| 4 |
+
|
| 5 |
+
<sup>1</sup>University of Science and Technology of China
|
| 6 |
+
|
| 7 |
+
$^{2}$ CRIPAC & MAIS, Institute of Automation, Chinese Academy of Sciences
|
| 8 |
+
|
| 9 |
+
<sup>3</sup>University of Chinese Academy of Sciences
|
| 10 |
+
|
| 11 |
+
sunxin000@mail.ustc.edu.cn, qiang.liu@nlpr ia.ac.cn
|
| 12 |
+
|
| 13 |
+
# Abstract
|
| 14 |
+
|
| 15 |
+
Distantly supervised relation extraction (DSRE) aims to extract relational facts from texts but suffers from noisy instances. To mitigate the influence of noisy labels, current methods typically use the Multi-Instance-Learning framework to extract relations for each bag. However, these approaches are not capable of extracting relation labels for individual sentences. Several studies have focused on sentence-level DSRE to solve the above problem. These studies primarily aim to develop methods for identifying noisy samples and filtering them out to mitigate the impact of noise. However, discarding noisy samples directly leads to the loss of useful information. To this end, we propose SSLRE, a novel Semi-Supervised-Learning Relation Extraction framework for sentence-level DSRE. We discard only the labels of the noisy samples and utilize these instances without labels as unlabeled samples. Our SSLRE framework utilizes a weighted K-NN graph to select confident samples as labeled data and the rest as unlabeled. We then design a robust semi-supervised learning framework that can efficiently handle remaining label noise present in the labeled dataset, while also making effective use of unlabeled samples. Based on our experiments on two real-world datasets, the SSLRE framework we proposed has achieved significant enhancements in sentence-level relation extraction performance compared to the existing state-of-the-art methods. Moreover, it has also attained a state-of-the-art level of performance in bag-level relation extraction with ONE aggregation strategy.
|
| 16 |
+
|
| 17 |
+
# 1 Introduction
|
| 18 |
+
|
| 19 |
+
Relation extraction (RE) is a fundamental process for constructing knowledge graphs, as it aims to predict the relationship between entities based on their context. However, most supervised RE
|
| 20 |
+
|
| 21 |
+

|
| 22 |
+
Figure 1: Bag-level RE maps a bag of sentences to bag labels. Sentence-level RE maps each sentence to a specific relation.
|
| 23 |
+
|
| 24 |
+
techniques require extensive labeled training data, which can be difficult to obtain manually. To address this issue, Distant Supervision (DS) was proposed (Mintz et al., 2009) to automatically generate labeled text corpus by aligning plain texts with knowledge bases (KB). For instance, if a sentence contains both the subject $(s)$ and object $(o)$ of a triple $\langle s,r,o\rangle$ ( $\langle \text{subject}, \text{relation}, \text{object} \rangle$ ), then the DS method considers $\langle s,r,o\rangle$ as a valid sample for that sentence. Conversely, if no relational triples apply, then the sentence is labeled as "NA".
|
| 25 |
+
|
| 26 |
+
Distantly supervised datasets usually face high label noise in training data due to the annotation process. To mitigate the impact of noisy labels caused by distant supervision, contemporary techniques (Lin et al., 2016; Alt et al., 2019; Chen et al., 2021b; Li et al., 2022; Dai et al., 2022) usually employ multi-instance-learning (MIL) framework or modify MIL to train the relation extraction model.
|
| 27 |
+
|
| 28 |
+
Although MIL-based techniques can identify bag relation labels, they are not proficient in precisely mapping each sentence in a bag with explicit sentence labels (Feng et al., 2018; Jia et al., 2019; Ma et al., 2021). Several studies have focused on improving sentence-level DSRE and have empirically demonstrated the inadequacy of bag-level methods on sentence-level evaluation. (Feng et al., 2018; Qin et al., 2018) apply reinforcement learning to train a sample selector. (Jia et al., 2019) iden
|
| 29 |
+
|
| 30 |
+
tify confident samples by frequent patterns. (Ma et al., 2021) utilizes negative training to separate noisy data from the training data.
|
| 31 |
+
|
| 32 |
+
However, these methods have two main issues: (1) These works simply discard all noisy samples and train a relation extraction model with selected samples. However, filtering out noisy samples directly results in the loss of useful information. (Gao et al., 2021a) notes that the DSRE dataset has a noisereate exceeding $50\%$ . Discarding all these samples would result in a significant loss of information. (2) The confident samples selection procedure is not impeccable, and there may still exist a small amount of noise in the chosen confident samples. Directly training a classifier in the presence of label noise is known to result in noise memorization.
|
| 33 |
+
|
| 34 |
+
To address the two issues, this work proposes a novel semi-supervised-learning framework for sentence-level DSRE, First, we construct a K-NN graph for all samples using the hidden features. Then, we identify confident samples from the graph structure and consider the remaining samples as noisy. For issue (1): Our method discards only the noisy labels and treats corresponding samples as unlabeled data. We then utilize this unlabeled data by pseudo labeling within our robust semi-supervised learning framework to learn a better feature representation for relation. For issue (2): Despite our initial selection of confident samples, there may still be noise in the labeled dataset. we have developed a noise-robust semi-supervised learning framework that leverages mixup supervised contrastive learning to learn from the labeled dataset and curriculum pseudo labeling to learn from the unlabeled dataset.
|
| 35 |
+
|
| 36 |
+
To summarize the contribution of this work:
|
| 37 |
+
|
| 38 |
+
- We propose a noise-robust Semi-Supervised-Learning framework SSLRE for DSRE task, which effectively mitigate the impact of noisy labels.
|
| 39 |
+
- We propose to use graph structure information (weighted K-NN) to identify the confident samples and effectively convert noisy samples as useful training data by utilizing pseudo labeling.
|
| 40 |
+
- The proposed framework achieves significant improvement over previous methods in terms of both sent-level and bag-level relation extraction performance.
|
| 41 |
+
|
| 42 |
+
# 2 Related work
|
| 43 |
+
|
| 44 |
+
# 2.1 Distantly Supervised Relation Extraction
|
| 45 |
+
|
| 46 |
+
Relation extraction (RE) is a fundamental pro- cess for constructing knowledge graphs(Zhang et al., 2023a; Xia et al., 2022; Zhang et al., 2023b). To generate large-scale auto-labeled data without human effort, (Mintz et al., 2009) first use Distant Supervision to label sentences mentioning two entities with their relations in KGs, which inevitably brings wrongly labeled instances. To tackle the predicament of noise, most of the existing studies on DSRE are founded on the multi-instance learning framework. This approach is leveraged to handle noisy sentences in each bag and train models by capitalizing on the constructed trustworthy baglevel representations. Usually, these methods employ attention mechanisms to assign less weights to the probable noisy sentences in the bag(Lin et al., 2016; Han et al., 2018b; Alt et al., 2019; Shen et al., 2019; Ye and Ling, 2019; Chen et al., 2021a; Li et al., 2022), apply adversarial training or reinforcement learning to remove the noisy sentences from the bag (Zeng et al., 2015; Qin et al., 2018; Shang and Wei, 2019; Chen et al., 2020; Hao et al., 2021). However, the studies (Feng et al., 2018; Jia et al., 2019; Ma et al., 2021; Gao et al., 2021a) indicate that the bag-level DSRE methods are ineffective for sentence-level relation extraction.
|
| 47 |
+
|
| 48 |
+
This work focuses on extracting relations at the sentence level, (Feng et al., 2018) applied reinforcement learning to identify confident instances based on the reward of noisy labels. (Jia et al., 2019) involve building initial reliable sentences based on several manually defined frequent relation patterns. (Ma et al., 2021) assigning complementary labels that cooperate with negative training to filter out noisy instances. Unlike previous studies, our method only discard noisy labels and keep the unlabeled samples. We use pseudo labeling to effectively utilize unlabeled samples, which helps to learn better representation.
|
| 49 |
+
|
| 50 |
+
# 2.2 Semi-Supervised-Learning
|
| 51 |
+
|
| 52 |
+
In SSL, a portion of training dataset is labeled and the remaining portion is unlabeled. SSL has seen great progress in recent years. Since (Bachman et al., 2014) proposed a consistency regularization based method, many approaches have migrated it into the semi-supervised learning field. MixMatch (Berthelot et al., 2019) proposes to combine consistency regularization with entropy minimization.
|
| 53 |
+
|
| 54 |
+
Mean Teacher (Tarvainen and Valpola, 2017) and Dual Student (Ke et al., 2019) are also based on consistent learning, aiming for the same outputs for different networks. Recently, FixMatch (Sohn et al., 2020) provides a simple yet effective weak-to-strong consistency regularization framework. Flexmatch (Zhang et al., 2021) provides curriculum pseudo Labels learning to combat the imbalance of pseudo labels.
|
| 55 |
+
|
| 56 |
+
Our SSLRE framework differs from these frameworks in two main ways. Firstly, our labeled dataset still contains a small amount of noise due to the fact that confident sample identification cannot achieve perfection. Therefore, we utilize mixup contrastive supervised learning to combat this noise. Secondly, current SSL methods generate and utilize pseudo labels with the same head, which causes error accumulation during the training stage. To address this issue, we propose utilizing a pseudo classifier head, which decouples the generation and utilization of pseudo labels by two parameter-independent heads to avoid error accumulation.
|
| 57 |
+
|
| 58 |
+
# 2.3 Learning with Noisy Data
|
| 59 |
+
|
| 60 |
+
In both computer vision and natural language processing, learning with noisy data is a widely discussed problem. Existing approaches include but not limit to estimating the noise transition matrix (Chen and Gupta, 2015; Goldberger and Ben-Reuven, 2016), leveraging a robust loss function (Lyu and Tsang, 2019; Ghosh et al., 2017; Liu and Guo, 2019), introducing regularization (Liu et al., 2020; Iscen et al., 2022), selecting noisy samples by multi-network learning or multi-round learning (Han et al., 2018a; Wu et al., 2020), re-weighting examples (Liu and Tao, 2014), generating pseudo labels (Li et al., 2020; Han et al., 2019), and so on. In addition, some advanced state-of-the-art methods combine serveral techniques, e.g., Dividemix (Li et al., 2020) and $\mathrm{ELR + }$ (Liu et al., 2020).
|
| 61 |
+
|
| 62 |
+
In this paper, we address the issue of noisy labels in distant relation extraction. Our approach first involves constructing a K-NN graph to identify confident samples based on their graph structure, and then use noise-robust mixup supervised contrastive learning to train with the labeled samples.
|
| 63 |
+
|
| 64 |
+
# 3 Methodology
|
| 65 |
+
|
| 66 |
+
To achieve sentence-level relation extraction in DSRE, we propose a framework called SSLRE,
|
| 67 |
+
|
| 68 |
+
which consists of two main steps. Firstly, we select confident samples from the distantly supervised dataset using a weighted K-NN approach built by all sample representations. We use the selected samples as labeled data and the remaining samples as unlabeled data (as detailed in Section 3.1). Secondly, we employ our robust Semi-Supervised Learning framework to learn from the Semi-Supervised datasets (as described in Section 3.2). Appendix A delineates the full algorithm.
|
| 69 |
+
|
| 70 |
+
Specifically, we denote the original dataset in this task as $\tilde{\mathcal{D}} = \{(s_1,\tilde{y}_1),(s_2,\tilde{y}_2),\dots ,(s_N,\tilde{y}_N)\}$ where $\tilde{y}_i\in \{1,\dots ,C\}$ is the label of the ith input sentence $s_i$ . The labeled dataset (identified confident samples) is denoted as $\mathcal{X} = \{(x_{1},y_{1}),(x_{2},y_{2}),\dots ,(x_{n},y_{n})\}$ and the unlabeled dataset (the noisy samples without labels) is denoted as $\mathcal{U} = \{(u_1,u_2,\dots ,u_m\}$ where $m + n = N$
|
| 71 |
+
|
| 72 |
+
# 3.1 Confident Samples Identification with Weighted K-NN
|
| 73 |
+
|
| 74 |
+
Our Semi-Supervised-Learning module requires us to divide the noisy dataset into a labeled dataset and an unlabeled dataset. Inspired by (Lee et al., 2019; Bahri et al., 2020), we utilize neighborhood information of the hidden feature spaces to identify confident samples. We employ supervised contrastive learning to warm up our model and obtain the representations for all instances. It is noteworthy that deep neural networks tend to initially fit the training data with clean labels during an early training phase, prior to ultimately memorizing the examples with false labels (Arpit et al., 2017; Liu et al., 2020). Consequently, we only warm up our model for a single epoch. Given two sentences $s_i$ and $s_j$ , we can obtain their low-dimensional representations as $z_i = \theta(s_i)$ and $z_j = \theta(s_j)$ , where $\theta$ is the sentence encoder. We then calculate their representation similarity using the cosine distance
|
| 75 |
+
|
| 76 |
+
$$
|
| 77 |
+
d \left(z _ {i}, z _ {j}\right) = \frac {z _ {i} z _ {j} ^ {T}}{\| z _ {i} \| \| z _ {j} \|.} \tag {1}
|
| 78 |
+
$$
|
| 79 |
+
|
| 80 |
+
Then, we build a weighted K-NN graph for all samples based on the consine distance. To quantify the agreement between $s_i$ and $\tilde{y}_i$ , We first use the label distribution in the $K$ -neighborhood to approximate clean posterior probabilities,
|
| 81 |
+
|
| 82 |
+
$$
|
| 83 |
+
\hat {q} _ {c} \left(s _ {i}\right) = \frac {1}{\sum_ {s _ {k} \in \mathcal {N} _ {i}} d \left(z _ {i} , z _ {k}\right)} \sum_ {\boldsymbol {s} _ {k} \in \mathcal {N} _ {i}} d \left(z _ {i}, z _ {k}\right) \cdot \mathbb {1} \left(\tilde {y} _ {k} = c\right) \tag {2}
|
| 84 |
+
$$
|
| 85 |
+
|
| 86 |
+

|
| 87 |
+
Figure 2: An overview of the proposed framework, SSLRE. $\hat{D},\mathcal{X},\mathcal{U}$ denote the original noisy dataset, labeled dataset and unlabeled dataset. $\theta$ indicates the encoder. $\theta_w$ and $\theta_s$ mean forward with lower and higher dropout rate, respectively. $\phi$ and $\psi$ are classifier head and pseudo classifier head. $\mathcal{L}_s$ is the mixup supervised contrastive loss defined in Eq. (12), and $\mathcal{L}_{u,t}$ is the unsupervised loss defined in Eq. (6).
|
| 88 |
+
|
| 89 |
+
where $\mathcal{N}_i$ represents the set of $K$ closest neighbors to $s_i$ . We then use the cross-entropy loss $\ell$ to calculate the disagreement between $\hat{\mathbf{q}}_c(\boldsymbol{s}_i)$ and $\tilde{y}_i$ . Denoting the set of confident examples belonging to the $c$ -th class as $\mathcal{X}_c$ , we have
|
| 90 |
+
|
| 91 |
+
$$
|
| 92 |
+
\mathcal {X} _ {c} = \left\{s _ {i}, \tilde {y} _ {i} \mid \ell \left(\hat {\mathbf {q}} \left(s _ {i}\right), \tilde {y} _ {i}\right) < \gamma_ {c}, \tilde {y} _ {i} = c \right\}, c \in [ C ], \tag {3}
|
| 93 |
+
$$
|
| 94 |
+
|
| 95 |
+
where $\gamma_{c}$ is a threshold for the $c$ -th class, which is dynamically defined to ensure a class-balanced set of identified confident examples. To achieve this goal, we use the $\alpha$ fractile of per-class agreements between the original label $\tilde{y}_i$ and $\max_c\hat{\mathbf{q}}_c(\boldsymbol{s}_i)$ across all classes to determine how many examples should be selected for each class, i.e. $\sum_{i=1}^{n} = \mathbb{1}(\max_{c'}\hat{\mathbf{q}}_{c'}(\boldsymbol{s}_i) = \tilde{y}_i) \cdot (\tilde{y}_i = c), c \in [C]$ . Finally, we can get the labeled set and unlabeled set as
|
| 96 |
+
|
| 97 |
+
$$
|
| 98 |
+
\mathcal {X} = \cup_ {c = 1} ^ {C} \mathcal {X} _ {c} \tag {4}
|
| 99 |
+
$$
|
| 100 |
+
|
| 101 |
+
$$
|
| 102 |
+
\mathcal {U} = \left\{s _ {i} \mid \left(s _ {i}, \tilde {y} _ {i}\right) \in \tilde {\mathcal {D}} \backslash \mathcal {X} \right\}.
|
| 103 |
+
$$
|
| 104 |
+
|
| 105 |
+
# 3.2 Noise-Robust Semi-Supervised learning
|
| 106 |
+
|
| 107 |
+
Despite selecting confident samples from the distantly supervised dataset, there still remains a small amount of noise in the labeled dataset. Naively training a classifier in the presence of label noise leads to noise memorization (Liu et al., 2020), which degrades the performance. We propose a noise-robust semi-supervised learning framework to mitigate the influence of remaining noise.
|
| 108 |
+
|
| 109 |
+
# 3.2.1 Data Augmentation with Dropout
|
| 110 |
+
|
| 111 |
+
Inspired by SimCSE (Gao et al., 2021b), we augment training samples by embedding processing. In particular, We obtain different embeddings of a
|
| 112 |
+
|
| 113 |
+
sentence by applying dropout during the forward process. Additionally, we propose using a high dropout rate for strong augmentation and a low dropout rate for weak augmentation. The sentence encoder is denoted as $\theta$ , with forward propagation using a high dropout rate denoted as $\theta_{s}$ and forward propagation using a low dropout rate denoted as $\theta_{w}$ .
|
| 114 |
+
|
| 115 |
+
# 3.2.2 Unsupervised Learning with Pseudo Labeling
|
| 116 |
+
|
| 117 |
+
In this part, we propose two modules to learn from the unlabeled dataset: (1) To generate and utilize pseudo labels independently, we propose pseudo classifier head. (2) Utilize Curriculum Pseudo Labeling to perform consistent learning while combatting the unbalance of the generated pseudo labels.
|
| 118 |
+
|
| 119 |
+
Pseudo classifier head: pseudo labeling is one of the prevalent techniques in semi-supervised learning. The existing approaches generate and utilize pseudo labels with the same head. However, this may cause training bias, ultimately amplifying the model's errors as self-training continues. (Wang et al., 2022). To reduce this bias when using pseudo labels, we propose utilizing a two-classifier model consisting of an encoder $\theta$ with both a classifier head $\phi$ and a pseudo classifier head $\psi$ . We optimize the classifier head $\phi$ using only labeled samples and without any unreliable pseudo labels from unlabeled samples. Unlabeled samples are used solely for updating encoder $\theta$ and pseudo classifier head $\psi$ . In particular, the classifier head $\phi$ generates pseudo labels $(\phi \circ \theta_w)(u_b)$ for unlabeled samples (which have
|
| 120 |
+
|
| 121 |
+
no gradient), the loss of unlabeled samples is calculated by $\ell ((\psi \circ \theta_s)(u_b),(\phi \circ \theta_w)(u_b))$ , where $\ell$ denotes cross entropy loss. This decouples the generation and utilization of pseudo labels by two parameter-independent heads to mitigate error accumulation.
|
| 122 |
+
|
| 123 |
+
Curriculum Pseudo Labeling: Due to the highly unbalanced dataset, using a constant cut-off $\tau$ for all classes in Pseudo labeling results in almost all selected samples (those with confidence greater than the cut-off) being labeled as 'NA', which is the dominant class.
|
| 124 |
+
|
| 125 |
+
Inspired by Flexmatch (Zhang et al., 2021), we use Curriculum Pseudo Labeling (CPL) to combat unbalanced pseudo labels. We first generate pseudo labels for iteration $t$
|
| 126 |
+
|
| 127 |
+
$$
|
| 128 |
+
\hat {\mathbf {p}} _ {b} = \left(\phi_ {t} \circ \theta_ {w, t}\right) \left(u _ {b}\right), \tag {5}
|
| 129 |
+
$$
|
| 130 |
+
|
| 131 |
+
These labels are then used as the target of strongly-augmented data. The unsupervised loss term has the form as
|
| 132 |
+
|
| 133 |
+
$$
|
| 134 |
+
\begin{array}{l} \mathcal {L} _ {u, t} = \frac {1}{\mu B} \sum_ {b = 1} ^ {\mu B} \mathbb {1} (\max (\hat {\mathbf {p}} _ {b}) > \mathcal {T} _ {t} (\arg \max (\hat {\mathbf {p}} _ {b}))) \tag {6} \\ \cdot \ell \left(\left(\psi_ {t} \circ \theta_ {s, t}\right) (u _ {b}), \hat {\mathbf {p}} _ {b}\right), \\ \end{array}
|
| 135 |
+
$$
|
| 136 |
+
|
| 137 |
+
where
|
| 138 |
+
|
| 139 |
+
$$
|
| 140 |
+
\mathcal {T} _ {t} (c) = \frac {\sigma_ {t} (c)}{\max _ {c} \sigma_ {t}} \tau , \tag {7}
|
| 141 |
+
$$
|
| 142 |
+
|
| 143 |
+
and $\sigma_t(c)$ represents the numbers of the samples whose predictions fall into class $c$ and above the threshold, formulated as
|
| 144 |
+
|
| 145 |
+
$$
|
| 146 |
+
\sigma_ {t} (c) = \sum_ {n = 1} ^ {N} \mathbb {1} (\max \hat {\mathbf {p}} _ {b} > \tau) \cdot \mathbb {1} (\arg \max \hat {\mathbf {p}} _ {b} = c). \tag {8}
|
| 147 |
+
$$
|
| 148 |
+
|
| 149 |
+
# 3.2.3 Mixup Supervised Contrastive Learning
|
| 150 |
+
|
| 151 |
+
We target learning robust relation representation in the presence of remaining label noise. In particular, we adopt the contrastive learning approach and randomly sample $N$ sentences and inference the sentences twice with same dropout rate to get two view. Then we normalize the embedding by $L_{2}$ normalization. The resulting minibatch $\{z_i,y_i\}_{i = 1}^{2N}$ consists of $2N$ normalized sentence embedding and corresponding labels. We perform supervised contrastive learning on labeled samples
|
| 152 |
+
|
| 153 |
+
$$
|
| 154 |
+
\begin{array}{l} \mathcal {L} _ {i} \left(z _ {i}, y _ {i}\right) = \frac {1}{2 N _ {y _ {i}} - 1} \sum_ {j = 1} ^ {2 N} \mathbb {1} _ {i \neq j} \mathbb {1} _ {y _ {i} = y _ {j}} \tag {9} \\ \cdot \log \frac {\exp (z _ {i} \cdot z _ {j} / \tau)}{\sum_ {r = 1} ^ {2 N} \mathbb {1} _ {r \neq i} \exp (z _ {i} \cdot z _ {r} / \tau)}. \\ \end{array}
|
| 155 |
+
$$
|
| 156 |
+
|
| 157 |
+
To make representation learning robust, we add Mixup (Berthelot et al., 2019) to supervised contrastive learning. Mixup strategies have demonstrated excellent performance in classification frameworks and have further shown promising results to prevent label noise memorization. Inspired by this success, we propose mixup supervised contrastive learning, a novel adaptation of mixup data augmentation for supervised contrastive learning. Mixup performs convex combinations of pairs of samples as
|
| 158 |
+
|
| 159 |
+
$$
|
| 160 |
+
x _ {i} = \lambda x _ {a} + (1 - \lambda) x _ {b}, \tag {10}
|
| 161 |
+
$$
|
| 162 |
+
|
| 163 |
+
where $\lambda \in [0,1] \sim \text{Beta}(\alpha_m, \alpha_m)$ and $x_i$ denotes the training example that combines two mini-batch examples $x_a$ and $x_b$ . A linear relation in the contrastive loss is imposed as
|
| 164 |
+
|
| 165 |
+
$$
|
| 166 |
+
\mathcal {L} _ {i} ^ {M I X} = \lambda \mathcal {L} _ {a} \left(z _ {i}\right) + (1 - \lambda) \mathcal {L} _ {b} \left(z _ {i}\right), \tag {11}
|
| 167 |
+
$$
|
| 168 |
+
|
| 169 |
+
where $\mathcal{L}_a$ and $\mathcal{L}_b$ have the same form as $\mathcal{L}_i$ in Eq. (9).
|
| 170 |
+
|
| 171 |
+
The supervised loss is the sum of Eq. (11) for each mixed instance:
|
| 172 |
+
|
| 173 |
+
$$
|
| 174 |
+
\mathcal {L} _ {s} = \sum_ {i} ^ {2 N} \mathcal {L} _ {i} ^ {M I X}. \tag {12}
|
| 175 |
+
$$
|
| 176 |
+
|
| 177 |
+
Mixup supervised contrastive learning helps to learn a robust representation for relations, but it cannot map the representation to a class. To learn the map function from the learned representation to relation class, classification learning using cross entropy loss is also employed as
|
| 178 |
+
|
| 179 |
+
$$
|
| 180 |
+
\mathcal {L} ^ {C L S} = \sum_ {\left(x _ {i}, y _ {i}\right) \in \mathcal {X}} \mathcal {L} _ {i} ^ {c l s} \left(x _ {i}\right) = \sum_ {\left(x _ {i}, y _ {i}\right) \in \mathcal {X}} \ell \left(\left(\phi \circ \theta\right) \left(x _ {i}\right), y _ {i}\right). \tag {13}
|
| 181 |
+
$$
|
| 182 |
+
|
| 183 |
+
# 3.3 Training Objective
|
| 184 |
+
|
| 185 |
+
Combining the above analyses, the total objective loss is
|
| 186 |
+
|
| 187 |
+
$$
|
| 188 |
+
\mathcal {L} = \mathcal {L} _ {s} + \lambda_ {u} \mathcal {L} _ {u, t} + \lambda_ {c} \mathcal {L} ^ {C L S}. \tag {14}
|
| 189 |
+
$$
|
| 190 |
+
|
| 191 |
+
# 4 Experiments
|
| 192 |
+
|
| 193 |
+
# 4.1 Datasets
|
| 194 |
+
|
| 195 |
+
We evaluate our SSLRE framework on three DSRE datasets, including NYT10 (Riedel et al., 2010), NYT10m (Gao et al., 2021a), and wiki20m (Gao et al., 2021a).
|
| 196 |
+
|
| 197 |
+
NYT10 dataset is created by aligning information from FreeBase with the New York Times (NYT)
|
| 198 |
+
|
| 199 |
+
corpus. However, (1) it contains many duplicated instances in the dataset; (2) there is no public validation set; (3) The distantly supervised test set is quite noisy since the annotated errors. (Gao et al., 2021a) notes that $53\%$ samples of the NYT10 test set are wrongly labeled. We only use it to perform held-out evaluation experiment in Table 5 with some strong baselines.
|
| 200 |
+
|
| 201 |
+
NYT10m build a manually annotated test set for NYT10 for more accurate evaluation. Furthermore, it removes all the duplicated instances and create a new relation ontology by merging semantically similar relations and delete the relations that only show up in train set or the test set.
|
| 202 |
+
|
| 203 |
+
wiki20m is a processed version of Wiki20 (Han et al., 2020), which is constructed by aligning the English Wikipedia corpus with Wikidata (Vrandecic and Krötzsch, 2014). It has a manually annotated test set for evaluation.
|
| 204 |
+
|
| 205 |
+
# 4.2 Evaluation and Parameter Settings
|
| 206 |
+
|
| 207 |
+
To guarantee the fairness of evaluation. We take both sentence-level evaluation and bag-level evaluation in our experiments. Further details of the evaluation methods are available in the appendix C. To achieve bag-level evaluation under sentence-level training, we use at-least-one (ONE) aggregation stragy (Zeng et al., 2015), which first predicts relation scores for each sentence in the bag, and then takes the highest score for each relation. The details of the hyper-parameters are available in the appendix D.
|
| 208 |
+
|
| 209 |
+
# 4.3 Baselines
|
| 210 |
+
|
| 211 |
+
In order to prove the effectiveness of the SSLRE, we compare our method with state-of-the-art methods sentence-level DSRE framework and bag-level DSRE framework.
|
| 212 |
+
|
| 213 |
+
For bag-level methods baselines, RESIDE (Vashisht et al., 2018) exploits the information of entity type and relation alias to add a soft limitation for DSRE. DISTRE (Alt et al., 2019) combines the selective attention to its Transformer-based model. CIL (Chen et al., 2021a) utilize contrastive instance learning under MIL framework, HiCLRE (Li et al., 2022) propose hierarchical contrastive learning framework, PARE (Rathore et al., 2022) propose concatenate all sentences in the bag to attend every token in the bag. Besides, we combine Bert with different aggregation strategies: ONE, which is mentioned in section 4.2; AVG averages the representations of all the sentences in the bag;
|
| 214 |
+
|
| 215 |
+
ATT (Lin et al., 2016) produces bag-level representation as a weighted average over embeddings of sentences and determines weights by attention scores between sentences and relations.
|
| 216 |
+
|
| 217 |
+
For sentence-level baselines, RL-DSRE (Feng et al., 2018) apply reinforcement learning to train sample selector by feedback from the manually designed reward function. ARNOR (Jia et al., 2019) selects the reliable instances based on reward of attention score on the selected patterns. SENT (Ma et al., 2021) filters noisy instances based on negative training.
|
| 218 |
+
|
| 219 |
+
# 4.4 Results
|
| 220 |
+
|
| 221 |
+
We first evaluate our SSLRE framework in the NYT10m and WIKI20m dataset. Table 1 shows the overall performance in terms of sentence-level evaluation. From the results, we can observe that (1) Our SSLRE framework demonstrates superior performance on both datasets, surpassing all strong baseline models significantly in terms of F1 score. In comparison to the most robust baseline models in two distantly supervised datasets, SSLRE displays a significant enhancement in performance (i.e., $+6.3\%$ F1 and $+3.4\%$ F1). (2) The current sentence-level DSRE models (SENT, ARNOR) fail to outperform the state-of-the-art MIL-based techniques in terms of F1 score on the aforementioned datasets. This could be attributed to the loss of information resulting from the elimination of samples. Unlike the MIL-based methods that employ all samples for training, these models only utilize selected samples. Moreover, the selection procedure may not always be reliable. (3) The performance of state-of-the-art MIL-based methods is not substantially superior to that of the Bert baseline. This suggests that the MIL modules, which are specifically crafted for this task, do not exhibit significant effectiveness when evaluated at the sentence level.
|
| 222 |
+
|
| 223 |
+
Table 2 presents the results of bag-level evaluation of SSLRE with ONE strategy on NYT10m and WIKI20m datasets. We compared our SSLRE framework with state-of-the-art methods for bag-level relation extraction, and found that our approach outperformed all strong baselines. Specifically, SSLRE achieved a $5.5\%$ improvement in AUC compared to the best baseline model PARE, and a $10.1\%$ improvement in micro F1 score compared with best baseline model HICLRE on the NYT10m dataset. Despite being trained without a
|
| 224 |
+
|
| 225 |
+
<table><tr><td rowspan="2">Models</td><td colspan="3">NYT10m</td><td colspan="3">wiki20m</td></tr><tr><td>μPrec.</td><td>μRec.</td><td>μF1</td><td>μPrec.</td><td>μRec.</td><td>μF1</td></tr><tr><td>Bert-ATT</td><td>49.1</td><td>58.2</td><td>53.3</td><td>71.3</td><td>77.8</td><td>74.4</td></tr><tr><td>Bert-ONE</td><td>51.0</td><td>60.7</td><td>55.5</td><td>72.8</td><td>73.2</td><td>73.0</td></tr><tr><td>Bert-AVG</td><td>52.0</td><td>55.8</td><td>53.9</td><td>80.7</td><td>76.9</td><td>78.7</td></tr><tr><td>RESIDE</td><td>45.5</td><td>48.7</td><td>47.0</td><td>69.9</td><td>72.3</td><td>70.9</td></tr><tr><td>DISTRE</td><td>55.1</td><td>51.0</td><td>52.9</td><td>80.3</td><td>73.6</td><td>76.8</td></tr><tr><td>CIL</td><td>58.1</td><td>49.3</td><td>53.4</td><td>81.8</td><td>73.1</td><td>77.0</td></tr><tr><td>HiCLRE</td><td>54.6</td><td>60.7</td><td>57.5</td><td>81.6</td><td>74.6</td><td>77.9</td></tr><tr><td>PARE</td><td>53.1</td><td>58.1</td><td>55.4</td><td>77.3</td><td>74.2</td><td>75.7</td></tr><tr><td>RL-DSRE</td><td>48.6</td><td>57.1</td><td>52.5</td><td>69.9</td><td>74.3</td><td>72.0</td></tr><tr><td>ARNOR</td><td>53.2</td><td>59.1</td><td>55.9</td><td>76.8</td><td>76.9</td><td>76.8</td></tr><tr><td>SENT</td><td>57.2</td><td>56.3</td><td>56.7</td><td>79.8</td><td>78.2</td><td>78.9</td></tr><tr><td>SSLRE</td><td>57.4</td><td>72.0</td><td>63.8</td><td>81.9</td><td>81.0</td><td>81.5</td></tr></table>
|
| 226 |
+
|
| 227 |
+
Table 1: Sentence-level evaluation results on NYT10m and wiki20m. Bold and underline indicate the best and the second best scores.
|
| 228 |
+
|
| 229 |
+
<table><tr><td rowspan="2">Models</td><td colspan="3">NYT10m</td><td colspan="3">wiki20m</td></tr><tr><td>AUC</td><td>μF1</td><td>Macro_F1</td><td>AUC</td><td>μF1</td><td>Macro_F1</td></tr><tr><td>Bert-ATT</td><td>49.5</td><td>52.9</td><td>24.5</td><td>88.0</td><td>80.9</td><td>80.7</td></tr><tr><td>Bert-ONE</td><td>56.7</td><td>54.1</td><td>35.7</td><td>89.9</td><td>81.3</td><td>82.0</td></tr><tr><td>Bert-AVG</td><td>57.1</td><td>56.2</td><td>33.9</td><td>88.9</td><td>82.6</td><td>81.1</td></tr><tr><td>RESIDE</td><td>36.8</td><td>44.2</td><td>11.2</td><td>80.5</td><td>75.1</td><td>74.2</td></tr><tr><td>HiCLRE</td><td>61.0</td><td>61.2</td><td>32.0</td><td>89.1</td><td>82.3</td><td>81.1</td></tr><tr><td>CIL</td><td>57.4</td><td>59.6</td><td>29.4</td><td>89.3</td><td>81.8</td><td>82.4</td></tr><tr><td>PARE</td><td>61.1</td><td>59.8</td><td>37.2</td><td>90.3</td><td>83.2</td><td>82.6</td></tr><tr><td>SSLRE-ONE</td><td>66.5</td><td>71.3</td><td>36.9</td><td>91.6</td><td>83.3</td><td>84.1</td></tr></table>
|
| 230 |
+
|
| 231 |
+
Table 2: Bag-level evaluation results on nyt10m and wiki20m. SSLRE-ONE represents the SSLRE with ONE aggregation strategy
|
| 232 |
+
|
| 233 |
+
MIL framework, our SSLRE framework achieves state-of-the-art performance on bag-level relation extraction. This finding suggests that sentence-level training can also yield excellent results on bag-label prediction. This observation is also consistent with (Gao et al., 2021a; Amin et al., 2020).On the wiki20m dataset, we note a consistent improvement on as well, although it is not as evident as in the case of NYT10m. We surmise that this could be attributed to the fact that the wiki20m dataset is relatively less noisy when compared to NYT10m.
|
| 234 |
+
|
| 235 |
+
We also compared our framework to several strong baselines using held-out evaluation on the NYT10 dataset, which is detailed in appendix B.
|
| 236 |
+
|
| 237 |
+
# 4.5 Ablation Study
|
| 238 |
+
|
| 239 |
+
We conducted ablation study experiments on the NYT10m dataset to assess the effectiveness of different modules in our SSLRE framework. We specifically removed each of the argued contributions one by one to evaluate their effectiveness. For unsupervised learning part, we remove the pseudo classifier head and CPL one at a time. For supervised learning part, we switch from mixup supervised learning to supervised contrastive learning and cross entropy as our new objective. In terms of confident samples identifications methods, we alternate between using random (randomly selection) and NLI-based selection instead of our K-NN method. The NLI method involves performing zero-shot relation extraction through Natural Lan
|
| 240 |
+
|
| 241 |
+
guage Inference (NLI)(Sainz et al., 2021), then identify the confident samples based on the level of agreement between the distant label and NLI soft label.
|
| 242 |
+
|
| 243 |
+
<table><tr><td colspan="2">Methods</td><td>Prec.</td><td>Rec.</td><td>F1</td></tr><tr><td colspan="2">SSLRE</td><td>57.4</td><td>72.0</td><td>63.8</td></tr><tr><td rowspan="2">Unsupervised Learning</td><td>w/o pseudo head</td><td>56.2</td><td>70.6</td><td>62.5</td></tr><tr><td>w/o CPL</td><td>50.8</td><td>69.6</td><td>58.7</td></tr><tr><td rowspan="2">Supervised Learning</td><td>SupCon</td><td>55.4</td><td>67.5</td><td>60.9</td></tr><tr><td>CE</td><td>51.8</td><td>70.3</td><td>59.6</td></tr><tr><td rowspan="2">Conf-Samples Identification</td><td>random</td><td>58.6</td><td>56.0</td><td>57.3</td></tr><tr><td>NLI</td><td>56.4</td><td>65.3</td><td>60.5</td></tr></table>
|
| 244 |
+
|
| 245 |
+
Table. 3 shows the ablation study results. We conclude that (1) Unsupervised learning apart effectively utilize the unlabeled samples. Removing pseudo classifier head and CPL leads to a decrease of $1.3\%$ and $5.1\%$ on micro-F1, respectively. (2) When dealing with noisy labeled data in supervised learning, Mixup Contrastive Supervised Learning proves to be more robust than both Supervised Contrastive Learning $(-2.9\%)$ and Cross Entropy $(-4.2\%)$ . (3) Our K-NN-based confident samples identification method outperforms the random method by $6.5\%$ and the NLI method by $3.3\%$ . This indicates that our K-NN method can effectively select confident samples.
|
| 246 |
+
|
| 247 |
+
# 4.6 Analysis on KNN
|
| 248 |
+
|
| 249 |
+
We conducted an evaluation of the performance of weighted k-nearest neighbors (kNN) in terms of its ability to select confident samples. To elaborate, we intentionally corrupted the labels of instances in the nyt10m test set with a random probability of $20\%$ , $40\%$ , and $60\%$ . Our objective was to assess whether our weighted kNN method could effectively identify the uncorrupted (confident) instances. We trained our model on the corrupted nyt10m test set for 10 epochs, considering its relatively smaller size compared to the training set, which required more epochs to converge. In order to evaluate the ability of the weighted kNN in identifying confident samples, we reported the recall and precision metrics. The results are shown as 4:
|
| 250 |
+
|
| 251 |
+
It is worth noting that precision is the more important metric because our goal is to make the la
|
| 252 |
+
|
| 253 |
+
Table 3: Ablation study of SSLRE on NYT10m
|
| 254 |
+
|
| 255 |
+
<table><tr><td></td><td>Pre.</td><td>Rec.</td></tr><tr><td>20%</td><td>0.9851</td><td>0.8970</td></tr><tr><td>30%</td><td>0.9732</td><td>0.8758</td></tr><tr><td>40%</td><td>0.9531</td><td>0.8723</td></tr><tr><td>50%</td><td>0.9254</td><td>0.8655</td></tr><tr><td>60%</td><td>0.8735</td><td>0.8172</td></tr></table>
|
| 256 |
+
|
| 257 |
+
Table 4: The effect of KNN.
|
| 258 |
+
|
| 259 |
+
beled data as clean as possible after selecting confident samples. Even with a noisy label rate of $60\%$ , our weighted kNN method still achieves a precision of $87.35\%$ for the identified confident samples. This indicates that only $12.65\%$ of the labeled data is noisy, which is significantly smaller than the $60\%$ noise rate. Additionally, our weighted kNN method demonstrates a recall of over $80\%$ for confident samples. Although a few clean samples may not be selected, they can still be utilized through pseudo-labeling techniques.
|
| 260 |
+
|
| 261 |
+
# 4.7 Analysis on Dropout rate
|
| 262 |
+
|
| 263 |
+
Figure 3 shows the performance of SSLRE under different dropout rate for strong augmentation. we can observe that: (1) Increasing the dropout rate appropriately improves the model's performance, with SSLRE achieving the best result (63.8 on F1) when the strong augmentation dropout rate is set to 0.4. (2) Augmentation using a very high dropout rate harms the performance, as it results in a loss of a significant amount of information. However, this does not significantly degrade the performance since we only use strong augmentation to predict pseudo-labels, which only affects $\mathcal{L}_u$ .
|
| 264 |
+
|
| 265 |
+

|
| 266 |
+
Figure 3: Strong augmentation with different dropout rate
|
| 267 |
+
|
| 268 |
+

|
| 269 |
+
(a) Sup
|
| 270 |
+
|
| 271 |
+

|
| 272 |
+
(b) SSL
|
| 273 |
+
Figure 4: t-SNE visualization of representations with Pseudo labeling(SSL) and without(Sup). SSL achieves a better cluster results comparing with Sup.
|
| 274 |
+
|
| 275 |
+
# 4.8 t-SNE analysis
|
| 276 |
+
|
| 277 |
+
To demonstrate that preserving unlabeled samples can facilitate the learning of a superior representation compared to discarding them, we utilized sentence representations obtained from theta as the input to conduct dimension reduction via t-SNE and acquire two-dimensional representations. We focused on four primary categories of relation classes, which are "/location/location/contains", "/business/person/company", "/location/administrative_division/country", and "/people/person/nationality". As depicted in Figure 4, leveraging unlabeled samples via Pseudo labeling enhances the clustering of identical relation data points and effectively separates distinct classes from one another. Appendix F shows the t-SNE results of all classes.
|
| 278 |
+
|
| 279 |
+
# 5 Conclusion
|
| 280 |
+
|
| 281 |
+
In this paper, we propose SSLRE, a novel sentence-level framework that is grounded in Semi-Supervised Learning for the DSRE task. Our SSLRE framework employs mixup supervised contrastive learning to tackle the noise present in selected samples, and it leverages unlabeled samples through Pseudo Labeling, which effectively utilize the information contained within noisy samples. Experimental results demonstrate that SSLRE outperforms strong baseline methods in both sentence-level and bag-level relation extraction.
|
| 282 |
+
|
| 283 |
+
# Limitations
|
| 284 |
+
|
| 285 |
+
In order to augment textual instances, we leverage dropout during forward propagation. This necessitates propagating each instance twice to generate the augmented sentence embeddings. However, the demand for GPU resources is higher compared to previous methods. Furthermore, we adjust the dropout rate to regulate the augmentation intensity
|
| 286 |
+
|
| 287 |
+
for semi-supervised learning and show its effectiveness through the performance results. Nonetheless, we have not conducted explicit experiments to investigate the interpretability, which needs further investigation.
|
| 288 |
+
|
| 289 |
+
# Acknowledgment
|
| 290 |
+
|
| 291 |
+
This work is sponsored by National Natural Science Foundation of China (NSFC) (62206291, 62141608, and 62236010).
|
| 292 |
+
|
| 293 |
+
# References
|
| 294 |
+
|
| 295 |
+
Christoph Alt, Marc Hubner, and Leonhard Hennig. 2019. Fine-tuning pre-trained transformer language models to distantly supervised relation extraction. ArXiv, abs/1906.08646.
|
| 296 |
+
Saadullah Amin, Katherine Ann Dunfield, Anna Vechkaeva, and Guenter Neumann. 2020. A data-driven approach for noise reduction in distantly supervised biomedical relation extraction. In Proceedings of the 19th SIGBioMed Workshop on Biomedical Language Processing, pages 187-194, Online. Association for Computational Linguistics.
|
| 297 |
+
Devansh Arpit, Stanisław Jastrzebski, Nicolas Ballas, David Krueger, Emmanuel Bengio, Maxinder S Kanwal, Tegan Maharaj, Asja Fischer, Aaron Courville, Yoshua Bengio, et al. 2017. A closer look at memorization in deep networks. In International conference on machine learning, pages 233-242. PMLR.
|
| 298 |
+
Philip Bachman, Ouais Alsharif, and Doina Precup. 2014. Learning with pseudo-ensembles. ArXiv, abs/1412.4864.
|
| 299 |
+
Dara Bahri, Heinrich Jiang, and Maya Gupta. 2020. Deep k-nn for noisy labels. In International Conference on Machine Learning, pages 540-550. PMLR.
|
| 300 |
+
David Berthelot, Nicholas Carlini, Ian J. Goodfellow, Nicolas Papernot, Avital Oliver, and Colin Raffel. 2019. Mixmatch: A holistic approach to semi-supervised learning. *ArXiv*, abs/1905.02249.
|
| 301 |
+
Jhih-Wei Chen, Tsu-Jui Fu, Chen-Kang Lee, and WeiYun Ma. 2020. H-fnd: Hierarchical false-negative denoising for distant supervision relation extraction. In Findings.
|
| 302 |
+
Tao Chen, Haizhou Shi, Siliang Tang, Zhigang Chen, Fei Wu, and Yue Ting Zhuang. 2021a. Cil: Contrastive instance learning framework for distantly supervised relation extraction. ArXiv, abs/2106.10855.
|
| 303 |
+
Tao Chen, Haochen Shi, Liyuan Liu, Siliang Tang, Jian Shao, Zhigang Chen, and Yueting Zhuang. 2021b. Empower distantly supervised relation extraction with collaborative adversarial training. In AAAI Conference on Artificial Intelligence.
|
| 304 |
+
|
| 305 |
+
Xinlei Chen and Abhinav Kumar Gupta. 2015. Webly supervised learning of convolutional networks. 2015 IEEE International Conference on Computer Vision (ICCV), pages 1431-1439.
|
| 306 |
+
Qin Dai, Benjamin Heinzerling, and Kentaro Inui. 2022. Cross-stitching text and knowledge graph encoders for distantly supervised relation extraction. In Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing, pages 6947-6958, Abu Dhabi, United Arab Emirates. Association for Computational Linguistics.
|
| 307 |
+
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.
|
| 308 |
+
Jun Feng, Minlie Huang, Li Zhao, Yang Yang, and Xiaoyan Zhu. 2018. Reinforcement learning for relation classification from noisy data. In Proceedings of the aai conference on artificial intelligence, volume 32.
|
| 309 |
+
Tianyu Gao, Xu Han, Keyue Qiu, Yuzhuo Bai, Zhiyu Xie, Yankai Lin, Zhiyuan Liu, Peng Li, Maosong Sun, and Jie Zhou. 2021a. Manual evaluation matters: Reviewing test protocols of distantly supervised relation extraction. In Findings.
|
| 310 |
+
Tianyu Gao, Xingcheng Yao, and Danqi Chen. 2021b. SimCSE: Simple contrastive learning of sentence embeddings. In Empirical Methods in Natural Language Processing (EMNLP).
|
| 311 |
+
Aritra Ghosh, Himanshu Kumar, and P. Shanti Sastry. 2017. Robust loss functions under label noise for deep neural networks. In AAAI Conference on Artificial Intelligence.
|
| 312 |
+
Jacob Goldberger and Ehud Ben-Reuven. 2016. Training deep neural-networks using a noise adaptation layer. In International Conference on Learning Representations.
|
| 313 |
+
Bo Han, Quanming Yao, Xingrui Yu, Gang Niu, Miao Xu, Weihua Hu, Ivor Wai-Hung Tsang, and Masashi Sugiyama. 2018a. Co-teaching: Robust training of deep neural networks with extremely noisy labels. In Neural Information Processing Systems.
|
| 314 |
+
Jiangfan Han, Ping Luo, and Xiaogang Wang. 2019. Deep self-learning from noisy labels. 2019 IEEE/CVF International Conference on Computer Vision (ICCV), pages 5137-5146.
|
| 315 |
+
Xu Han, Tianyu Gao, Yankai Lin, Hao Peng, Yaoliang Yang, Chaojun Xiao, Zhiyuan Liu, Peng Li, Maosong Sun, and Jie Zhou. 2020. More data, more relations, more context and more openness: A review and outlook for relation extraction. In AACL.
|
| 316 |
+
|
| 317 |
+
Xu Han, Zhiyuan Liu, and Maosong Sun. 2018b. Neural knowledge acquisition via mutual attention between knowledge graph and text. In AAAI Conference on Artificial Intelligence.
|
| 318 |
+
Kailong Hao, Botao Yu, and Wei Hu. 2021. Knowing false negatives: An adversarial training method for distantly supervised relation extraction. In Conference on Empirical Methods in Natural Language Processing.
|
| 319 |
+
Ahmet Iscen, Jack Valmadre, Anurag Arnab, and Cordelia Schmid. 2022. Learning with neighbor consistency for noisy labels. 2022 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 4662-4671.
|
| 320 |
+
Wei Jia, Dai Dai, Xinyan Xiao, and Hua Wu. 2019. Arnor: Attention regularization based noise reduction for distant supervision relation classification. In Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics, pages 1399-1408.
|
| 321 |
+
Zhanghan Ke, Daoye Wang, Qiong Yan, Jimmy S. J. Ren, and Rynson W. H. Lau. 2019. Dual student: Breaking the limits of the teacher in semi-supervised learning. 2019 IEEE/CVF International Conference on Computer Vision (ICCV), pages 6727-6735.
|
| 322 |
+
Diederik P. Kingma and Jimmy Ba. 2014. Adam: A method for stochastic optimization. CoRR, abs/1412.6980.
|
| 323 |
+
Kimin Lee, Sukmin Yun, Kibok Lee, Honglak Lee, Bo Li, and Jinwoo Shin. 2019. Robust inference via generative classifiers for handling noisy labels. In Proceedings of the 36th International Conference on Machine Learning, volume 97 of Proceedings of Machine Learning Research, pages 3763-3772. PMLR.
|
| 324 |
+
Dongyang Li, Taolin Zhang, Nan Hu, Chengyu Wang, and Xiaofeng He. 2022. Hic Ire: A hierarchical contrastive learning framework for distantly supervised relation extraction. In Findings.
|
| 325 |
+
Junnan Li, Richard Socher, and Steven C. H. Hoi. 2020. Dividemix: Learning with noisy labels as semi-supervised learning. ArXiv, abs/2002.07394.
|
| 326 |
+
Yankai Lin, Shiqi Shen, Zhiyuan Liu, Huanbo Luan, and Maosong Sun. 2016. Neural relation extraction with selective attention over instances. In Proceedings of the 54th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 2124-2133.
|
| 327 |
+
Ruri Liu, Shasha Mo, Jianwei Niu, and Shengda Fan. 2022. CETA: A consensus enhanced training approach for denoising in distantly supervised relation extraction. In Proceedings of the 29th International Conference on Computational Linguistics, pages 2247-2258, Gyeongju, Republic of Korea. International Committee on Computational Linguistics.
|
| 328 |
+
|
| 329 |
+
Sheng Liu, Jonathan Niles-Weed, Narges Razavian, and Carlos Fernandez-Granda. 2020. Early-learning regularization prevents memorization of noisy labels. ArXiv, abs/2007.00151.
|
| 330 |
+
Tongliang Liu and Dacheng Tao. 2014. Classification with noisy labels by importance reweighting. IEEE Transactions on Pattern Analysis and Machine Intelligence, 38:447-461.
|
| 331 |
+
Yang Liu and Hongyi Guo. 2019. Peer loss functions: Learning from noisy labels without knowing noise rates. ArXiv, abs/1910.03231.
|
| 332 |
+
Yueming Lyu and Ivor Wai-Hung Tsang. 2019. Curriculum loss: Robust learning and generalization against label corruption. ArXiv, abs/1905.10045.
|
| 333 |
+
Ruotian Ma, Tao Gui, Linyang Li, Qi Zhang, Xuan-Jing Huang, and Yaqian Zhou. 2021. Sent: Sentence-level distant relation extraction via negative training. 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 6201-6213.
|
| 334 |
+
Mike Mintz, Steven Bills, Rion Snow, and Dan Jurafsky. 2009. Distant supervision for relation extraction without labeled data. In Proceedings of the Joint Conference of the 47th Annual Meeting of the ACL and the 4th International Joint Conference on Natural Language Processing of the AFNLP, pages 1003-1011.
|
| 335 |
+
Pengda Qin, Weiran Xu, and William Yang Wang. 2018. Robust distant supervision relation extraction via deep reinforcement learning. In Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 2137-2147.
|
| 336 |
+
Vipul Rathore, Kartikeya Badola, Parag Singla, and Mausam. 2022. PARE: A simple and strong baseline for monolingual and multilingual distantly supervised relation extraction. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 2: Short Papers), pages 340-354, Dublin, Ireland. Association for Computational Linguistics.
|
| 337 |
+
Sebastian Riedel, Limin Yao, and Andrew McCallum. 2010. Modeling relations and their mentions without labeled text. In *Joint European Conference on Machine Learning and Knowledge Discovery in Databases*, pages 148-163. Springer.
|
| 338 |
+
Oscar Sainz, Oier Lopez de Lacalle, Gorka Labaka, Ander Barrena, and Eneko Agirre. 2021. Label verbalization and entailment for effective zero and few-shot relation extraction. In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing, pages 1199-1212.
|
| 339 |
+
Yu-Ming Shang and Wei Wei. 2019. Are noisy sentences useless for distant supervised relation extraction? In AAAI Conference on Artificial Intelligence.
|
| 340 |
+
|
| 341 |
+
Tao Shen, Guodong Long, Tao Shen, Tianyi Zhou, Lina Yao, Huan Huo, and Jing Jiang. 2019. Self-attention enhanced selective gate with entity-aware embedding for distantly supervised relation extraction. ArXiv, abs/1911.11899.
|
| 342 |
+
Kihyuk Sohn, David Berthelot, Chun-Liang Li, Zizhao Zhang, Nicholas Carlini, Ekin Dogus Cubuk, Alexey Kurakin, Han Zhang, and Colin Raffel. 2020. Fixmatch: Simplifying semi-supervised learning with consistency and confidence. ArXiv, abs/2001.07685.
|
| 343 |
+
Antti Tarvainen and Harri Valpola. 2017. Mean teachers are better role models: Weight-averaged consistency targets improve semi-supervised deep learning results. In NIPS.
|
| 344 |
+
Shikhar Vashishth, Rishabh Joshi, Sai Suman Prayaga, Chiranjib Bhattacharyya, and Partha Talukdar. 2018. RESIDE: Improving distantly-supervised neural relation extraction using side information. In Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing, pages 1257-1266, Brussels, Belgium. Association for Computational Linguistics.
|
| 345 |
+
Denny Vrandecic and Markus Krötzsch. 2014. Wiki-data: A free collaborative knowledge base. Communications of the ACM, 57:78-85.
|
| 346 |
+
Xudong Wang, Zhi-Li Wu, Long Lian, and Stella X. Yu. 2022. Debiased learning from naturally imbalanced pseudo-labels. 2022 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 14627-14637.
|
| 347 |
+
Pengxiang Wu, Songzhu Zheng, Mayank Goswami, Dimitris N. Metaxas, and Chao Chen. 2020. A topological filter for learning with label noise. ArXiv, abs/2012.04835.
|
| 348 |
+
Yuwei Xia, Mengqi Zhang, Qiang Liu, Shu Wu, and Xiao-Yu Zhang. 2022. MetaTKG: Learning evolutionary meta-knowledge for temporal knowledge graph reasoning. In Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing, pages 7230-7240, Abu Dhabi, United Arab Emirates. Association for Computational Linguistics.
|
| 349 |
+
Zhiquan Ye and Zhenhua Ling. 2019. Distant supervision relation extraction with intra-bag and inter-bag attentions. ArXiv, abs/1904.00143.
|
| 350 |
+
Daojian Zeng, Kang Liu, Yubo Chen, and Jun Zhao. 2015. Distant supervision for relation extraction via piecewise convolutional neural networks. In Proceedings of the 2015 conference on empirical methods in natural language processing, pages 1753-1762.
|
| 351 |
+
Bowen Zhang, Yidong Wang, Wenxin Hou, Hao Wu, Jindong Wang, Manabu Okumura, and Takahiro Shinozaki. 2021. Flexmatch: Boosting semi-supervised learning with curriculum pseudo labeling. ArXiv, abs/2110.08263.
|
| 352 |
+
|
| 353 |
+
Mengqi Zhang, Yuwei Xia, Qiang Liu, Shu Wu, and Liang Wang. 2023a. Learning latent relations for temporal knowledge graph reasoning. In Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 12617-12631, Toronto, Canada. Association for Computational Linguistics.
|
| 354 |
+
|
| 355 |
+
Mengqi Zhang, Yuwei Xia, Qiang Liu, Shu Wu, and Liang Wang. 2023b. Learning long- and short-term representations for temporal knowledge graph reasoning. In Proceedings of the ACM Web Conference 2023, WWW '23, page 2412-2422, New York, NY, USA. Association for Computing Machinery.
|
| 356 |
+
|
| 357 |
+
# A Algorithm
|
| 358 |
+
|
| 359 |
+
Algorithm 1 provides the pseudo-code of the overall framework.
|
| 360 |
+
|
| 361 |
+
# B Held-out evaluation
|
| 362 |
+
|
| 363 |
+
<table><tr><td>Models</td><td>Prec.</td><td>Rec.</td><td>F1</td></tr><tr><td>SENT</td><td>45.3</td><td>50.1</td><td>47.5</td></tr><tr><td>HiCLRE</td><td>44.3</td><td>50.6</td><td>47.2</td></tr><tr><td>SSLRE(Ours)</td><td>49.2</td><td>54.3</td><td>51.6</td></tr></table>
|
| 364 |
+
|
| 365 |
+
Table 5: Held-out evaluation on NYT10
|
| 366 |
+
|
| 367 |
+
Table 5 shows the held-out evaluation results on NYT10 dataset.
|
| 368 |
+
|
| 369 |
+
# C Evaluation Settings
|
| 370 |
+
|
| 371 |
+
Sentence-level evaluation: Different from bag-level evaluation used by MIL-based model, a sentence-level (or instance-level) evaluation accesses model performance directly on all of the individual instances in the dataset, which require the model to accurately predict the relation for each sentence. Following (Jia et al., 2019; Ma et al., 2021; Liu et al., 2022), we report micro-Precision $(\mu \mathrm{Prec.})$ , micro-Recall $(\mu \mathrm{Rec.})$ and microF1 $(\mu \mathrm{F1})$ for sentence-level evaluation.
|
| 372 |
+
|
| 373 |
+
# D Parameter Settings
|
| 374 |
+
|
| 375 |
+
Bag-level evaluation: Bag evaluation accesses the performance of bag relation label extraction. Since manually annotated data are at the sentence-level, following (Gao et al., 2021a), we construct bag-level annotations in the following way: For each bag, if one sentence in the bag has a human-labeled relation, this bag is labeled with this relation; if no sentence in the bag is annotated with any relation,
|
| 376 |
+
|
| 377 |
+

|
| 378 |
+
Figure 5: PR-curve
|
| 379 |
+
|
| 380 |
+
this bag is labeled as N/A. We report AUC, MicroF1 and Macro-F1 for bag level evaluation.
|
| 381 |
+
|
| 382 |
+
The underlying encoder for sentence are implemented by BERT-base (Devlin et al., 2019), which generates 768 hidden units for each token's context-aware representation. During the training stage, we set the learning rate of the model to $2 \times 10^{-5}$ and the batch size to 64, which was determined through a grid search over batch sizes in $\{16, 32, 64\}$ and learning rates in $\{1e-5, 2e-5, 5e-5\}$ . We train the model for 5 epochs and use Adam (Kingma and Ba, 2014) as the optimizer. The Mixup parameter $\alpha_{m}$ is set to 1, the classifier loss weight $\lambda_{c}$ is set to 0.2, the fractile alpha is set to 0.8, the unsupervised loss weight $\lambda_{u}$ is set to 1, and the CPL threshold $\tau$ is set to 0.95. We set the dropout rate for weak augmentation to 0.2 and the dropout rate for strong augmentation to 0.4. Further analysis on the strong augmentation dropout rate is presented in Section 4.7.
|
| 383 |
+
|
| 384 |
+
# E PR-curve
|
| 385 |
+
|
| 386 |
+
We report the P-R curve on NYT10m dataset as Figure 5:
|
| 387 |
+
|
| 388 |
+

|
| 389 |
+
(a) Sup
|
| 390 |
+
|
| 391 |
+

|
| 392 |
+
(b) SSL
|
| 393 |
+
Figure 6: t-SNE visualization of representations with Pseudo labeling(SSL) and without(Sup). SSL achieves a better cluster results comparing with Sup, especially on color green and light purple.
|
| 394 |
+
|
| 395 |
+
# F Additional t-SNE analysis
|
| 396 |
+
|
| 397 |
+
Figure 6 shows the t-SNE results on all classes of the sentence representation.
|
| 398 |
+
|
| 399 |
+
Algorithm 1: SSLRE Algorithm
|
| 400 |
+
input: Noisy Dataset $\tilde{\mathcal{D}}$ output:
|
| 401 |
+
1 Warm up $\theta$ and $\phi$ for one epoch using supervised contrastive learning and get $\theta^{\prime}$
|
| 402 |
+
2 Gain features: $z_{i} = \theta^{\prime}(x_{i})$
|
| 403 |
+
3 Build weighted K-NN graph using Eq. (1)
|
| 404 |
+
4 Gain $\mathcal{X}$ and $\mathcal{U}$ using Eq. (2-4)
|
| 405 |
+
5 Reinitialize $\phi$ and $\theta$
|
| 406 |
+
6 while not reach the maximum iteration do
|
| 407 |
+
7 for $c\gets 1$ to $C$ do
|
| 408 |
+
8 Calculate $\mathcal{T}(c)$ using Eq. (7) {Determine the flexible threshold for class c.}
|
| 409 |
+
9 end
|
| 410 |
+
10 for $t\gets 1$ to num_iters do
|
| 411 |
+
11 From $\mathcal{X}$ , draw a mini-batch $X^{t} = \{(x_{b},y_{b});b\in (1,\dots ,B)\}$
|
| 412 |
+
12 From $\mathcal{U}$ , draw a mini-batch $U^{t} = \{u_{b};b\in (1,\dots ,B)\}$ /\* Learning from labeled dataset X \*/
|
| 413 |
+
13 $Z^{t} = \theta_{w}(X^{t})\cup \theta_{w}(X^{t}) / /$ Get two augmented embedding views by dropout inference twice.
|
| 414 |
+
14 Calculate $L^{CLS}$ using Eq. (13).
|
| 415 |
+
15 Mixup embedding using Eq. (10), and gain $Z_{mix}^{t}$
|
| 416 |
+
16 Calculate $L_{s}$ using Eq. (11) /\* Learning from unlabeled dataset U \*/
|
| 417 |
+
17 Generate pseudo labels using Eq. (5).
|
| 418 |
+
18 Calculate unsupervised loss using Eq. (6) with $\mathcal{T}(c)$
|
| 419 |
+
19 Calculate the overall loss $L$ using Eq. (14).
|
| 420 |
+
20 end
|
| 421 |
+
21 end
|
2023/Noise-Robust Semi-Supervised Learning for Distantly Supervised Relation Extraction/images.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:020e00c36dda24176fac7a08d86b25bb3431f58da9de4f3b6ed52dabf08eb872
|
| 3 |
+
size 442400
|
2023/Noise-Robust Semi-Supervised Learning for Distantly Supervised Relation Extraction/layout.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2023/Noisy Pair Corrector for Dense Retrieval/ff6504db-4532-48dc-8468-050b9abe58d7_content_list.json
ADDED
|
@@ -0,0 +1,1978 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"type": "text",
|
| 4 |
+
"text": "Noisy Pair Corrector for Dense Retrieval",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
285,
|
| 8 |
+
90,
|
| 9 |
+
712,
|
| 10 |
+
110
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Hang Zhang $^{1}$ , Yeyun Gong, Xingwei He $^{†2}$ , Dayiheng Liu $^{1}$ , Daya Guo $^{3}$ , Jiancheng Lv $^{†1}$ , Jian Guo $^{†4}$",
|
| 17 |
+
"bbox": [
|
| 18 |
+
240,
|
| 19 |
+
124,
|
| 20 |
+
754,
|
| 21 |
+
158
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "<sup>1</sup> College of Computer Science, Sichuan University",
|
| 28 |
+
"bbox": [
|
| 29 |
+
294,
|
| 30 |
+
158,
|
| 31 |
+
709,
|
| 32 |
+
174
|
| 33 |
+
],
|
| 34 |
+
"page_idx": 0
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"type": "list",
|
| 38 |
+
"sub_type": "text",
|
| 39 |
+
"list_items": [
|
| 40 |
+
"<sup>1</sup> Engineering Research Center of Machine Learning and Industry Intelligence",
|
| 41 |
+
"<sup>2</sup> The University of Hong Kong <sup>3</sup> Sun Yat-sen University <sup>4</sup> IDEA Research, China hangzhang_scu@foxmail.com, hexingwei15@gmail.com"
|
| 42 |
+
],
|
| 43 |
+
"bbox": [
|
| 44 |
+
169,
|
| 45 |
+
174,
|
| 46 |
+
831,
|
| 47 |
+
225
|
| 48 |
+
],
|
| 49 |
+
"page_idx": 0
|
| 50 |
+
},
|
| 51 |
+
{
|
| 52 |
+
"type": "text",
|
| 53 |
+
"text": "Abstract",
|
| 54 |
+
"text_level": 1,
|
| 55 |
+
"bbox": [
|
| 56 |
+
260,
|
| 57 |
+
252,
|
| 58 |
+
339,
|
| 59 |
+
266
|
| 60 |
+
],
|
| 61 |
+
"page_idx": 0
|
| 62 |
+
},
|
| 63 |
+
{
|
| 64 |
+
"type": "text",
|
| 65 |
+
"text": "Most dense retrieval models contain an implicit assumption: the training query-document pairs are exactly matched. Since it is expensive to annotate the corpus manually, training pairs in real-world applications are usually collected automatically, which inevitably introduces mismatched-pair noise. In this paper, we explore an interesting and challenging problem in dense retrieval, how to train an effective model with mismatched-pair noise. To solve this problem, we propose a novel approach called Noisy Pair Corrector (NPC), which consists of a detection module and a correction module. The detection module estimates noise pairs by calculating the perplexity between annotated positive and easy negative documents. The correction module utilizes an exponential moving average (EMA) model to provide a soft supervised signal, aiding in mitigating the effects of noise. We conduct experiments on text-retrieval benchmarks Natural Question and TriviaQA, code-search benchmarks StaQC and SO-DS. Experimental results show that NPC achieves excellent performance in handling both synthetic and realistic noise.",
|
| 66 |
+
"bbox": [
|
| 67 |
+
141,
|
| 68 |
+
280,
|
| 69 |
+
460,
|
| 70 |
+
636
|
| 71 |
+
],
|
| 72 |
+
"page_idx": 0
|
| 73 |
+
},
|
| 74 |
+
{
|
| 75 |
+
"type": "text",
|
| 76 |
+
"text": "1 Introduction",
|
| 77 |
+
"text_level": 1,
|
| 78 |
+
"bbox": [
|
| 79 |
+
114,
|
| 80 |
+
649,
|
| 81 |
+
258,
|
| 82 |
+
664
|
| 83 |
+
],
|
| 84 |
+
"page_idx": 0
|
| 85 |
+
},
|
| 86 |
+
{
|
| 87 |
+
"type": "text",
|
| 88 |
+
"text": "With the advancements in pre-trained language models (Devlin et al., 2019; Liu et al., 2019), dense retrieval has developed rapidly in recent years. It is essential to many applications including search engine (Brickley et al., 2019), open-domain question answering (Karpukhin et al., 2020a; Zhang et al., 2021), and code intelligence (Guo et al., 2021). A typical dense retrieval model maps both queries and documents into a low-dimensional vector space and measures the relevance between them by the similarity between their respective representations (Shen et al., 2014). During training, the model utilizes query-document pairs as labelled",
|
| 89 |
+
"bbox": [
|
| 90 |
+
112,
|
| 91 |
+
675,
|
| 92 |
+
489,
|
| 93 |
+
883
|
| 94 |
+
],
|
| 95 |
+
"page_idx": 0
|
| 96 |
+
},
|
| 97 |
+
{
|
| 98 |
+
"type": "image",
|
| 99 |
+
"img_path": "images/08f56f5cf93fcf9e6b5d29530e4fe73cb11044c730ce1906f44e21f465f88049.jpg",
|
| 100 |
+
"image_caption": [
|
| 101 |
+
"Figure 1: Two examples from StaQC training set. In the bottom example, the given code is mismatched with the query, since it can not answer the query."
|
| 102 |
+
],
|
| 103 |
+
"image_footnote": [],
|
| 104 |
+
"bbox": [
|
| 105 |
+
521,
|
| 106 |
+
252,
|
| 107 |
+
875,
|
| 108 |
+
460
|
| 109 |
+
],
|
| 110 |
+
"page_idx": 0
|
| 111 |
+
},
|
| 112 |
+
{
|
| 113 |
+
"type": "text",
|
| 114 |
+
"text": "training data (Xiong et al., 2021) and samples negative documents for each pair. Then the model learns to minimize the contrastive loss for obtaining a good representation ability (Zhang et al., 2022b; Qu et al., 2021).",
|
| 115 |
+
"bbox": [
|
| 116 |
+
507,
|
| 117 |
+
532,
|
| 118 |
+
882,
|
| 119 |
+
611
|
| 120 |
+
],
|
| 121 |
+
"page_idx": 0
|
| 122 |
+
},
|
| 123 |
+
{
|
| 124 |
+
"type": "text",
|
| 125 |
+
"text": "Recent studies on dense retrieval have achieved promising results with hard negative mining (Xiong et al., 2021), pretraining (Gao and Callan, 2021a), distillation (Yang and Seo, 2020), and adversarial training (Zhang et al., 2022a). All methods contain an implicit assumption: each query is precisely aligned with the positive documents in the training set. In practical applications, this assumption becomes challenging to satisfy, particularly when the corpora is automatically collected from the internet. In such scenarios, it is inevitable that the training data will contain mismatched pairs, incorporating instances such as user mis-click noise in search engines or low-quality reply noise in Q&A communities. As shown in Fig. 1, the examples are from StaQC benchmark (Yao et al., 2018), which is automatically collected from StackOverflow. The document, i.e., code solution, can not answer the query but is incorrectly annotated as a positive doc",
|
| 126 |
+
"bbox": [
|
| 127 |
+
507,
|
| 128 |
+
613,
|
| 129 |
+
884,
|
| 130 |
+
919
|
| 131 |
+
],
|
| 132 |
+
"page_idx": 0
|
| 133 |
+
},
|
| 134 |
+
{
|
| 135 |
+
"type": "page_footnote",
|
| 136 |
+
"text": "*Work is done during internship at IDEA Research",
|
| 137 |
+
"bbox": [
|
| 138 |
+
134,
|
| 139 |
+
891,
|
| 140 |
+
447,
|
| 141 |
+
904
|
| 142 |
+
],
|
| 143 |
+
"page_idx": 0
|
| 144 |
+
},
|
| 145 |
+
{
|
| 146 |
+
"type": "page_footnote",
|
| 147 |
+
"text": "†Corresponding author",
|
| 148 |
+
"bbox": [
|
| 149 |
+
136,
|
| 150 |
+
904,
|
| 151 |
+
278,
|
| 152 |
+
917
|
| 153 |
+
],
|
| 154 |
+
"page_idx": 0
|
| 155 |
+
},
|
| 156 |
+
{
|
| 157 |
+
"type": "page_number",
|
| 158 |
+
"text": "11439",
|
| 159 |
+
"bbox": [
|
| 160 |
+
475,
|
| 161 |
+
927,
|
| 162 |
+
524,
|
| 163 |
+
940
|
| 164 |
+
],
|
| 165 |
+
"page_idx": 0
|
| 166 |
+
},
|
| 167 |
+
{
|
| 168 |
+
"type": "footer",
|
| 169 |
+
"text": "Findings of the Association for Computational Linguistics: EMNLP 2023, pages 11439-11451",
|
| 170 |
+
"bbox": [
|
| 171 |
+
210,
|
| 172 |
+
945,
|
| 173 |
+
784,
|
| 174 |
+
958
|
| 175 |
+
],
|
| 176 |
+
"page_idx": 0
|
| 177 |
+
},
|
| 178 |
+
{
|
| 179 |
+
"type": "footer",
|
| 180 |
+
"text": "December 6-10, 2023 ©2023 Association for Computational Linguistics",
|
| 181 |
+
"bbox": [
|
| 182 |
+
277,
|
| 183 |
+
958,
|
| 184 |
+
719,
|
| 185 |
+
971
|
| 186 |
+
],
|
| 187 |
+
"page_idx": 0
|
| 188 |
+
},
|
| 189 |
+
{
|
| 190 |
+
"type": "image",
|
| 191 |
+
"img_path": "images/cebbd4ae4812b6f292e3700c18d2d75a0c56e784203664521ebd64d599a63c65.jpg",
|
| 192 |
+
"image_caption": [
|
| 193 |
+
"Figure 2: Effect of matched & mismatched pair for training. Green objects refer to annotated pairs, while pentagram and triangle are actually aligned pairs. In the left case, retrieval models are required to push the query with true-positive document (TP Doc) together and pull the query with true-negative documents (TN Doc) apart. In the right case, the retrieval models are misled by the mismatched data pair, where the false-positive document (FP Doc) and the false-negative document (FN Doc) are wrongly pulled and pushed, respectively."
|
| 194 |
+
],
|
| 195 |
+
"image_footnote": [],
|
| 196 |
+
"bbox": [
|
| 197 |
+
122,
|
| 198 |
+
84,
|
| 199 |
+
480,
|
| 200 |
+
244
|
| 201 |
+
],
|
| 202 |
+
"page_idx": 1
|
| 203 |
+
},
|
| 204 |
+
{
|
| 205 |
+
"type": "text",
|
| 206 |
+
"text": "uments. Such noisy pairs are widely present in automatically constructed datasets, which ultimately impact the performance of dense retrievers.",
|
| 207 |
+
"bbox": [
|
| 208 |
+
112,
|
| 209 |
+
416,
|
| 210 |
+
489,
|
| 211 |
+
463
|
| 212 |
+
],
|
| 213 |
+
"page_idx": 1
|
| 214 |
+
},
|
| 215 |
+
{
|
| 216 |
+
"type": "text",
|
| 217 |
+
"text": "To train robust dense retrievers, previous works have explored addressing various types of noise. For example, RocketQA (Qu et al., 2021) and AR2 (Zhang et al., 2022a) mitigate the false-negative noise with a cross-encoder filter and distillation, respectively; coCondenser (Gao and Callan, 2021b) reduce the noise during fine-tuning with pre-training technique; RoDR (Chen et al., 2022) deal with query spelling noise with local ranking alignment. However, mismatched-pair noise (false positive problem) in dense retrieval has not been well studied. As shown in Fig. 2, mismatched-pair noise will mislead the retriever to update in the opposite direction.",
|
| 218 |
+
"bbox": [
|
| 219 |
+
112,
|
| 220 |
+
464,
|
| 221 |
+
489,
|
| 222 |
+
690
|
| 223 |
+
],
|
| 224 |
+
"page_idx": 1
|
| 225 |
+
},
|
| 226 |
+
{
|
| 227 |
+
"type": "text",
|
| 228 |
+
"text": "Based on these observations, we propose a Noisy Pair Corrector (NPC) framework to solve the false-positive problem. NPC consists of noise detection and correction modules. At each epoch, the detection module estimates whether a query-document pair is mismatched by the perplexity between the annotated document and easy negative documents. Then the correction module provides a soft supervised signal for both estimated noisy data and clean data via an exponential moving average (EMA) model. Both modules are plug-and-play, which means NPC is a general training paradigm that can be easily applied to almost all retrieval models.",
|
| 229 |
+
"bbox": [
|
| 230 |
+
112,
|
| 231 |
+
692,
|
| 232 |
+
489,
|
| 233 |
+
900
|
| 234 |
+
],
|
| 235 |
+
"page_idx": 1
|
| 236 |
+
},
|
| 237 |
+
{
|
| 238 |
+
"type": "text",
|
| 239 |
+
"text": "The contributions of this paper are as follows: (1)",
|
| 240 |
+
"bbox": [
|
| 241 |
+
131,
|
| 242 |
+
903,
|
| 243 |
+
487,
|
| 244 |
+
919
|
| 245 |
+
],
|
| 246 |
+
"page_idx": 1
|
| 247 |
+
},
|
| 248 |
+
{
|
| 249 |
+
"type": "text",
|
| 250 |
+
"text": "We reveal and extensively explore a long-neglected problem in dense retrieval, i.e., mismatched-pair noise, which is ubiquitous in the real world. (2) We propose a simple yet effective method for training dense retrievers with mismatched-pair noise. (3) Extensive experiments on four datasets and comprehensive analyses verify the effectiveness of our method against synthetic and realistic noise. Code is available at https://github.com/hangzhang-nlp/NPC.",
|
| 251 |
+
"bbox": [
|
| 252 |
+
507,
|
| 253 |
+
84,
|
| 254 |
+
884,
|
| 255 |
+
247
|
| 256 |
+
],
|
| 257 |
+
"page_idx": 1
|
| 258 |
+
},
|
| 259 |
+
{
|
| 260 |
+
"type": "text",
|
| 261 |
+
"text": "2 Preliminary",
|
| 262 |
+
"text_level": 1,
|
| 263 |
+
"bbox": [
|
| 264 |
+
507,
|
| 265 |
+
256,
|
| 266 |
+
650,
|
| 267 |
+
273
|
| 268 |
+
],
|
| 269 |
+
"page_idx": 1
|
| 270 |
+
},
|
| 271 |
+
{
|
| 272 |
+
"type": "text",
|
| 273 |
+
"text": "Before describing our model in detail, we first introduce the basic elements of dense retrieval, including problem definition, model architecture, and model training.",
|
| 274 |
+
"bbox": [
|
| 275 |
+
507,
|
| 276 |
+
282,
|
| 277 |
+
884,
|
| 278 |
+
344
|
| 279 |
+
],
|
| 280 |
+
"page_idx": 1
|
| 281 |
+
},
|
| 282 |
+
{
|
| 283 |
+
"type": "text",
|
| 284 |
+
"text": "Given a query $q$ , and a document collection $\\mathbb{D}$ , dense retrieval aims to find document $d^{+}$ relevant to $q$ from $\\mathbb{D}$ . The training set consists of a collection of query-document pairs, donated as $C = \\{(q_{1}, d_{1}^{+}), \\dots, (q_{N}, d_{N}^{+})\\}$ , where $N$ is the data size. Typical dense retrieval models adopt a dual encoder architecture to map queries and documents into a dense representation space. Then the relevance score $f(q, d)$ of query $q$ and document $d$ can be calculated with their dense representations:",
|
| 285 |
+
"bbox": [
|
| 286 |
+
507,
|
| 287 |
+
347,
|
| 288 |
+
884,
|
| 289 |
+
507
|
| 290 |
+
],
|
| 291 |
+
"page_idx": 1
|
| 292 |
+
},
|
| 293 |
+
{
|
| 294 |
+
"type": "equation",
|
| 295 |
+
"text": "\n$$\nf _ {\\theta} (q, d) = \\operatorname {s i m} \\left(E (q; \\theta), E (d; \\theta)\\right), \\tag {1}\n$$\n",
|
| 296 |
+
"text_format": "latex",
|
| 297 |
+
"bbox": [
|
| 298 |
+
563,
|
| 299 |
+
520,
|
| 300 |
+
880,
|
| 301 |
+
537
|
| 302 |
+
],
|
| 303 |
+
"page_idx": 1
|
| 304 |
+
},
|
| 305 |
+
{
|
| 306 |
+
"type": "text",
|
| 307 |
+
"text": "where $E(\\cdot ;\\theta)$ denotes the encoder module parameterized with $\\theta$ and sim is the similarity function, e.g., euclidean distance, cosine distance, inner-product. Existing methods generally leverage the approximate nearest neighbor technique (ANN) (Johnson et al., 2019) for efficient search.",
|
| 308 |
+
"bbox": [
|
| 309 |
+
507,
|
| 310 |
+
548,
|
| 311 |
+
884,
|
| 312 |
+
645
|
| 313 |
+
],
|
| 314 |
+
"page_idx": 1
|
| 315 |
+
},
|
| 316 |
+
{
|
| 317 |
+
"type": "text",
|
| 318 |
+
"text": "For training dense retrievers, conventional approaches leverage contrastive learning techniques (Karpukhin et al., 2020a; Zhang et al., 2022b). Given a training pair $(q_{i},d_{i}^{+})\\in C$ , these methods sample $m$ negative documents $\\{d_{i,1}^{-},\\dots,d_{i,m}^{-}\\}$ from a large document collection $\\mathbb{D}$ . The retriever's objective is to minimize the contrastive loss, pushing the similarity of positive pairs higher than negative pairs. Previous work (Xiong et al., 2021) has verified the effectiveness of the negative sampling strategy. Two commonly employed strategies are \"In-Batch Negative\" and \"Hard Negative\" (Karpukhin et al., 2020a; Qu et al., 2021).",
|
| 319 |
+
"bbox": [
|
| 320 |
+
507,
|
| 321 |
+
646,
|
| 322 |
+
885,
|
| 323 |
+
853
|
| 324 |
+
],
|
| 325 |
+
"page_idx": 1
|
| 326 |
+
},
|
| 327 |
+
{
|
| 328 |
+
"type": "text",
|
| 329 |
+
"text": "The above training paradigm assumes that the query-document pair $(q_{i},d_{i}^{+})$ in training set $C$ is correctly aligned. However, this assumption is difficult to satisfy in real-world applications (Qu et al.,",
|
| 330 |
+
"bbox": [
|
| 331 |
+
507,
|
| 332 |
+
854,
|
| 333 |
+
884,
|
| 334 |
+
919
|
| 335 |
+
],
|
| 336 |
+
"page_idx": 1
|
| 337 |
+
},
|
| 338 |
+
{
|
| 339 |
+
"type": "page_number",
|
| 340 |
+
"text": "11440",
|
| 341 |
+
"bbox": [
|
| 342 |
+
477,
|
| 343 |
+
927,
|
| 344 |
+
526,
|
| 345 |
+
940
|
| 346 |
+
],
|
| 347 |
+
"page_idx": 1
|
| 348 |
+
},
|
| 349 |
+
{
|
| 350 |
+
"type": "image",
|
| 351 |
+
"img_path": "images/cbd09a5537eb88688a21601df295fdc6babb3d9c3c18cd09702026ac1f3b093c.jpg",
|
| 352 |
+
"image_caption": [
|
| 353 |
+
"(a) Noise Detection",
|
| 354 |
+
"(b) Noise Correction",
|
| 355 |
+
"Figure 3: Overview of noise detection and noise correction. (a) Procedure of Noise Detection. At each epoch, we first calculate the perplexity of all training query-document pairs using the retriever $\\theta$ ; next fit the perplexity distribution with Gaussian Mixture Model to get the correctly matched probability of each pair; finally estimate the flag set $\\{\\hat{y}_i\\}_{i=1}^N$ by setting the threshold. (b) Framework of Noise Correction. Given a batch of data pairs, where $d_{i,1}^{-}$ is the hard negative of $q_i$ and $\\{q_3, d_3^{+}\\}$ is the estimated noisy pair, the retriever $\\theta$ and teacher $\\theta^*$ compute similarity matrices $S_\\theta$ and $S_{\\theta^*}$ for all queries and documents, respectively. The retriever learns to minimize (1) $L_{cont}$ : the negative likelihood probability of true positive documents; (2) $L_{cons}$ : the KL divergence between $S_\\theta$ and the rectified soft label $S_{\\theta^*}$ after normalization."
|
| 356 |
+
],
|
| 357 |
+
"image_footnote": [],
|
| 358 |
+
"bbox": [
|
| 359 |
+
131,
|
| 360 |
+
91,
|
| 361 |
+
868,
|
| 362 |
+
223
|
| 363 |
+
],
|
| 364 |
+
"page_idx": 2
|
| 365 |
+
},
|
| 366 |
+
{
|
| 367 |
+
"type": "text",
|
| 368 |
+
"text": "2021; Li et al., 2022; Wang et al., 2022). In practice, most training data pairs are collected automatically without manual inspection, such as inevitably leading to the inclusion of some mismatched pairs.",
|
| 369 |
+
"bbox": [
|
| 370 |
+
112,
|
| 371 |
+
397,
|
| 372 |
+
489,
|
| 373 |
+
462
|
| 374 |
+
],
|
| 375 |
+
"page_idx": 2
|
| 376 |
+
},
|
| 377 |
+
{
|
| 378 |
+
"type": "text",
|
| 379 |
+
"text": "3 Method",
|
| 380 |
+
"text_level": 1,
|
| 381 |
+
"bbox": [
|
| 382 |
+
114,
|
| 383 |
+
473,
|
| 384 |
+
216,
|
| 385 |
+
487
|
| 386 |
+
],
|
| 387 |
+
"page_idx": 2
|
| 388 |
+
},
|
| 389 |
+
{
|
| 390 |
+
"type": "text",
|
| 391 |
+
"text": "We propose NPC framework to learn retrievers with mismatched-pair noise. As shown in Fig. 3, NPC consists of two parts: (a) the noise detection module as described in Sec. 3.1, and (b) the noise correction module as described in Sec. 3.2.",
|
| 392 |
+
"bbox": [
|
| 393 |
+
112,
|
| 394 |
+
497,
|
| 395 |
+
489,
|
| 396 |
+
577
|
| 397 |
+
],
|
| 398 |
+
"page_idx": 2
|
| 399 |
+
},
|
| 400 |
+
{
|
| 401 |
+
"type": "text",
|
| 402 |
+
"text": "3.1 Noise Detection",
|
| 403 |
+
"text_level": 1,
|
| 404 |
+
"bbox": [
|
| 405 |
+
112,
|
| 406 |
+
589,
|
| 407 |
+
282,
|
| 408 |
+
602
|
| 409 |
+
],
|
| 410 |
+
"page_idx": 2
|
| 411 |
+
},
|
| 412 |
+
{
|
| 413 |
+
"type": "text",
|
| 414 |
+
"text": "The noise detection module is meant to detect mismatched pairs in the training set. We hypothesize that: dense retrievers will first learn to distinguish correctly matched pairs from easy negatives, and then gradually overfit the mismatched pairs. Therefore, we determine whether a training pair is mismatched by the perplexity between the annotated document and easy negative documents.",
|
| 415 |
+
"bbox": [
|
| 416 |
+
112,
|
| 417 |
+
609,
|
| 418 |
+
489,
|
| 419 |
+
736
|
| 420 |
+
],
|
| 421 |
+
"page_idx": 2
|
| 422 |
+
},
|
| 423 |
+
{
|
| 424 |
+
"type": "text",
|
| 425 |
+
"text": "Specifically, given a retriever $\\theta$ equipped with preliminary retrieval capabilities, and an uncertain pair $(q_{i},d_{i})$ , we calculate the perplexity as follows:",
|
| 426 |
+
"bbox": [
|
| 427 |
+
112,
|
| 428 |
+
738,
|
| 429 |
+
487,
|
| 430 |
+
785
|
| 431 |
+
],
|
| 432 |
+
"page_idx": 2
|
| 433 |
+
},
|
| 434 |
+
{
|
| 435 |
+
"type": "equation",
|
| 436 |
+
"text": "\n$$\nP P L _ {\\left(q _ {i}, d _ {i}, \\theta\\right)} = - \\log \\frac {e ^ {\\tau f _ {\\theta} \\left(q _ {i} , d _ {i}\\right)}}{e ^ {\\tau f _ {\\theta} \\left(q _ {i} , d _ {i}\\right)} + \\sum_ {j = 1} ^ {m} e ^ {\\tau f _ {\\theta} \\left(q _ {i} , d _ {i , j} ^ {-}\\right)}}, \\tag {2}\n$$\n",
|
| 437 |
+
"text_format": "latex",
|
| 438 |
+
"bbox": [
|
| 439 |
+
122,
|
| 440 |
+
808,
|
| 441 |
+
485,
|
| 442 |
+
853
|
| 443 |
+
],
|
| 444 |
+
"page_idx": 2
|
| 445 |
+
},
|
| 446 |
+
{
|
| 447 |
+
"type": "text",
|
| 448 |
+
"text": "where $\\tau$ is a hyper-parameter, $d_{i,j}^{-}$ is the negative document randomly sampled from the document collection $\\mathbb{D}$ . Note that $d_{i,j}^{-}$ is a randomly selected negative document, not a hard negative. We discuss",
|
| 449 |
+
"bbox": [
|
| 450 |
+
112,
|
| 451 |
+
854,
|
| 452 |
+
487,
|
| 453 |
+
917
|
| 454 |
+
],
|
| 455 |
+
"page_idx": 2
|
| 456 |
+
},
|
| 457 |
+
{
|
| 458 |
+
"type": "text",
|
| 459 |
+
"text": "this further in Appendix C. In practice, we adopt the \"In-Batch Negative\" strategy for efficiency.",
|
| 460 |
+
"bbox": [
|
| 461 |
+
507,
|
| 462 |
+
397,
|
| 463 |
+
880,
|
| 464 |
+
429
|
| 465 |
+
],
|
| 466 |
+
"page_idx": 2
|
| 467 |
+
},
|
| 468 |
+
{
|
| 469 |
+
"type": "text",
|
| 470 |
+
"text": "After obtaining the perplexity of each pair, an automated method is necessary to differentiate between the noise and the clean data. We note that there is a bimodal effect between the distribution of clean samples and the distribution of noisy samples. An example can be seen in Figure 4(b). Motivated by this, we fit the perplexity distribution over all training pairs with a two-component Gaussian Mixture Model (GMM):",
|
| 471 |
+
"bbox": [
|
| 472 |
+
507,
|
| 473 |
+
430,
|
| 474 |
+
884,
|
| 475 |
+
573
|
| 476 |
+
],
|
| 477 |
+
"page_idx": 2
|
| 478 |
+
},
|
| 479 |
+
{
|
| 480 |
+
"type": "equation",
|
| 481 |
+
"text": "\n$$\np (P P L \\mid \\theta) = \\sum_ {k = 1} ^ {K} \\pi_ {k} \\phi (P P L \\mid k), \\tag {3}\n$$\n",
|
| 482 |
+
"text_format": "latex",
|
| 483 |
+
"bbox": [
|
| 484 |
+
564,
|
| 485 |
+
583,
|
| 486 |
+
880,
|
| 487 |
+
627
|
| 488 |
+
],
|
| 489 |
+
"page_idx": 2
|
| 490 |
+
},
|
| 491 |
+
{
|
| 492 |
+
"type": "text",
|
| 493 |
+
"text": "where $\\pi_{k}$ and $\\phi(PPL \\mid k)$ are the mixture coefficient and the probability density of the $k$ -th component, respectively. We optimize the GMM with the Expectation-Maximization algorithm (Dempster et al., 1977).",
|
| 494 |
+
"bbox": [
|
| 495 |
+
507,
|
| 496 |
+
638,
|
| 497 |
+
882,
|
| 498 |
+
717
|
| 499 |
+
],
|
| 500 |
+
"page_idx": 2
|
| 501 |
+
},
|
| 502 |
+
{
|
| 503 |
+
"type": "text",
|
| 504 |
+
"text": "Based on the above hypothesis, we treat training pairs with higher $PPL$ as noise and those with lower $PPL$ as clean data. So the estimated clean flag can be calculated as follows:",
|
| 505 |
+
"bbox": [
|
| 506 |
+
507,
|
| 507 |
+
719,
|
| 508 |
+
880,
|
| 509 |
+
781
|
| 510 |
+
],
|
| 511 |
+
"page_idx": 2
|
| 512 |
+
},
|
| 513 |
+
{
|
| 514 |
+
"type": "equation",
|
| 515 |
+
"text": "\n$$\n\\hat {y} _ {i} = \\mathbb {I} \\left(p (\\kappa \\mid P P L _ {\\left(q _ {i}, d _ {i}, \\theta\\right)}) > \\lambda\\right), \\tag {4}\n$$\n",
|
| 516 |
+
"text_format": "latex",
|
| 517 |
+
"bbox": [
|
| 518 |
+
569,
|
| 519 |
+
797,
|
| 520 |
+
880,
|
| 521 |
+
816
|
| 522 |
+
],
|
| 523 |
+
"page_idx": 2
|
| 524 |
+
},
|
| 525 |
+
{
|
| 526 |
+
"type": "text",
|
| 527 |
+
"text": "where $\\hat{y}_i\\in \\{1,0\\}$ denotes whether we estimate the pair $(q_i,d_i)$ to be correctly matched or not, $\\kappa$ is the GMM component with the lower mean, $\\lambda$ is the threshold. $p(\\kappa \\mid PPL_{(q_i,d_i,\\theta)})$ is the posterior probability over the component $\\kappa$ , which can be intuitively understood as the correctly annotated con",
|
| 528 |
+
"bbox": [
|
| 529 |
+
507,
|
| 530 |
+
822,
|
| 531 |
+
882,
|
| 532 |
+
917
|
| 533 |
+
],
|
| 534 |
+
"page_idx": 2
|
| 535 |
+
},
|
| 536 |
+
{
|
| 537 |
+
"type": "page_number",
|
| 538 |
+
"text": "11441",
|
| 539 |
+
"bbox": [
|
| 540 |
+
477,
|
| 541 |
+
927,
|
| 542 |
+
522,
|
| 543 |
+
940
|
| 544 |
+
],
|
| 545 |
+
"page_idx": 2
|
| 546 |
+
},
|
| 547 |
+
{
|
| 548 |
+
"type": "text",
|
| 549 |
+
"text": "fidence. We set $\\lambda$ to 0.5 in all experiments. Note that before noise detection, the retriever should equip with preliminary retrieval capabilities. This can be achieved by initializing it with a strong unsupervised retriever or by pre-training it on the entire noise dataset.",
|
| 550 |
+
"bbox": [
|
| 551 |
+
112,
|
| 552 |
+
84,
|
| 553 |
+
489,
|
| 554 |
+
179
|
| 555 |
+
],
|
| 556 |
+
"page_idx": 3
|
| 557 |
+
},
|
| 558 |
+
{
|
| 559 |
+
"type": "text",
|
| 560 |
+
"text": "3.2 Noise Correction",
|
| 561 |
+
"text_level": 1,
|
| 562 |
+
"bbox": [
|
| 563 |
+
112,
|
| 564 |
+
191,
|
| 565 |
+
294,
|
| 566 |
+
205
|
| 567 |
+
],
|
| 568 |
+
"page_idx": 3
|
| 569 |
+
},
|
| 570 |
+
{
|
| 571 |
+
"type": "text",
|
| 572 |
+
"text": "Next, we will introduce how to reduce the impact of noise pairs after obtaining the estimated flag set $\\{\\hat{y}_i\\}_{i=1}^N$ . One quick fix is to discard the noise data directly, which is sub-optimal since it wastes the query data in noisy pairs. In this work, we adopt a self-ensemble teacher to provide rectified soft labels for noisy pairs. The teacher is an exponential moving average (EMA) of the retriever, and the retriever is trained with a weight-averaged consistency target on noisy data.",
|
| 573 |
+
"bbox": [
|
| 574 |
+
112,
|
| 575 |
+
212,
|
| 576 |
+
489,
|
| 577 |
+
372
|
| 578 |
+
],
|
| 579 |
+
"page_idx": 3
|
| 580 |
+
},
|
| 581 |
+
{
|
| 582 |
+
"type": "text",
|
| 583 |
+
"text": "Specifically, given a retriever $\\theta$ , the teacher $\\theta^{*}$ is updated with an exponential moving average strategy as follows:",
|
| 584 |
+
"bbox": [
|
| 585 |
+
112,
|
| 586 |
+
373,
|
| 587 |
+
487,
|
| 588 |
+
420
|
| 589 |
+
],
|
| 590 |
+
"page_idx": 3
|
| 591 |
+
},
|
| 592 |
+
{
|
| 593 |
+
"type": "equation",
|
| 594 |
+
"text": "\n$$\n\\theta_ {t} ^ {*} = \\alpha \\theta_ {t - 1} ^ {\\star} + (1 - \\alpha) \\theta_ {t}, \\tag {5}\n$$\n",
|
| 595 |
+
"text_format": "latex",
|
| 596 |
+
"bbox": [
|
| 597 |
+
203,
|
| 598 |
+
432,
|
| 599 |
+
485,
|
| 600 |
+
451
|
| 601 |
+
],
|
| 602 |
+
"page_idx": 3
|
| 603 |
+
},
|
| 604 |
+
{
|
| 605 |
+
"type": "text",
|
| 606 |
+
"text": "where $\\alpha$ is a momentum coefficient. Only the parameters $\\theta$ are updated by back-propagation.",
|
| 607 |
+
"bbox": [
|
| 608 |
+
112,
|
| 609 |
+
463,
|
| 610 |
+
489,
|
| 611 |
+
495
|
| 612 |
+
],
|
| 613 |
+
"page_idx": 3
|
| 614 |
+
},
|
| 615 |
+
{
|
| 616 |
+
"type": "text",
|
| 617 |
+
"text": "For a query $q_{i}$ and the candidate document set $D_{q_i}$ , where $D_{q_i} = \\{d_{i,j}\\}_{j = 1}^m$ could consist of annotated documents, hard negatives and in-batch negatives, we first get teacher's and retriever's similarity scores, respectively. Then, the retriever $\\theta$ is expected to keep consistent with its smooth teacher $\\theta^{*}$ . To achieve this goal, we update the retriever $\\theta$ by minimizing the KL divergence between the student's distribution and the teacher's distribution.",
|
| 618 |
+
"bbox": [
|
| 619 |
+
112,
|
| 620 |
+
495,
|
| 621 |
+
489,
|
| 622 |
+
639
|
| 623 |
+
],
|
| 624 |
+
"page_idx": 3
|
| 625 |
+
},
|
| 626 |
+
{
|
| 627 |
+
"type": "text",
|
| 628 |
+
"text": "To be concrete, the similarity scores between $q_{i}$ and $D_{q_i}$ are normalized into the following distributions:",
|
| 629 |
+
"bbox": [
|
| 630 |
+
112,
|
| 631 |
+
640,
|
| 632 |
+
487,
|
| 633 |
+
686
|
| 634 |
+
],
|
| 635 |
+
"page_idx": 3
|
| 636 |
+
},
|
| 637 |
+
{
|
| 638 |
+
"type": "equation",
|
| 639 |
+
"text": "\n$$\np _ {\\phi} \\left(d _ {i, j} \\mid q _ {i}; D _ {q _ {i}}\\right) = \\frac {e ^ {\\tau f _ {\\phi} \\left(q _ {i} , d _ {i , j}\\right)}}{\\sum_ {j = 1} ^ {m} e ^ {\\tau f _ {\\phi} \\left(q _ {i} , d _ {i , j}\\right)}}, \\phi \\in \\left\\{\\theta , \\theta^ {*} \\right\\}, \\tag {6}\n$$\n",
|
| 640 |
+
"text_format": "latex",
|
| 641 |
+
"bbox": [
|
| 642 |
+
112,
|
| 643 |
+
696,
|
| 644 |
+
489,
|
| 645 |
+
747
|
| 646 |
+
],
|
| 647 |
+
"page_idx": 3
|
| 648 |
+
},
|
| 649 |
+
{
|
| 650 |
+
"type": "text",
|
| 651 |
+
"text": "Then, the consistency loss $L_{cons}$ can be written as:",
|
| 652 |
+
"bbox": [
|
| 653 |
+
112,
|
| 654 |
+
749,
|
| 655 |
+
487,
|
| 656 |
+
764
|
| 657 |
+
],
|
| 658 |
+
"page_idx": 3
|
| 659 |
+
},
|
| 660 |
+
{
|
| 661 |
+
"type": "equation",
|
| 662 |
+
"text": "\n$$\nL _ {c o n s} = K L (p _ {\\theta} (. | q _ {i}; D _ {q _ {i}}), p _ {\\theta^ {*}} (. | q _ {i}; D _ {q _ {i}})), \\quad (7)\n$$\n",
|
| 663 |
+
"text_format": "latex",
|
| 664 |
+
"bbox": [
|
| 665 |
+
131,
|
| 666 |
+
793,
|
| 667 |
+
487,
|
| 668 |
+
810
|
| 669 |
+
],
|
| 670 |
+
"page_idx": 3
|
| 671 |
+
},
|
| 672 |
+
{
|
| 673 |
+
"type": "text",
|
| 674 |
+
"text": "where $KL(\\cdot)$ is the KL divergence, $p_{\\theta}(.|q_i;D_{q_i})$ and $p_{\\theta^*}(.|q_i;D_{q_i})$ denote the conditional probabilities of candidate documents $D_{q_i}$ by the retriever $\\theta$ and the teacher $\\theta^*$ , respectively.",
|
| 675 |
+
"bbox": [
|
| 676 |
+
112,
|
| 677 |
+
822,
|
| 678 |
+
487,
|
| 679 |
+
885
|
| 680 |
+
],
|
| 681 |
+
"page_idx": 3
|
| 682 |
+
},
|
| 683 |
+
{
|
| 684 |
+
"type": "text",
|
| 685 |
+
"text": "For the estimated noisy pair, the teacher corrects the supervised signal into a soft label. For the",
|
| 686 |
+
"bbox": [
|
| 687 |
+
112,
|
| 688 |
+
887,
|
| 689 |
+
487,
|
| 690 |
+
917
|
| 691 |
+
],
|
| 692 |
+
"page_idx": 3
|
| 693 |
+
},
|
| 694 |
+
{
|
| 695 |
+
"type": "text",
|
| 696 |
+
"text": "Algorithm 1 Noisy Pair Corrector (NPC)",
|
| 697 |
+
"text_level": 1,
|
| 698 |
+
"bbox": [
|
| 699 |
+
510,
|
| 700 |
+
83,
|
| 701 |
+
818,
|
| 702 |
+
99
|
| 703 |
+
],
|
| 704 |
+
"page_idx": 3
|
| 705 |
+
},
|
| 706 |
+
{
|
| 707 |
+
"type": "text",
|
| 708 |
+
"text": "Require: Retriever $\\theta$ ; Noisy Training dataset $C$ .",
|
| 709 |
+
"bbox": [
|
| 710 |
+
510,
|
| 711 |
+
103,
|
| 712 |
+
873,
|
| 713 |
+
118
|
| 714 |
+
],
|
| 715 |
+
"page_idx": 3
|
| 716 |
+
},
|
| 717 |
+
{
|
| 718 |
+
"type": "list",
|
| 719 |
+
"sub_type": "text",
|
| 720 |
+
"list_items": [
|
| 721 |
+
"1: Warm up the retriever $\\theta$",
|
| 722 |
+
"2: Initial EMA model $\\theta^{*}$ with $\\theta$",
|
| 723 |
+
"3: for $i = 1 :$ num_epoch do",
|
| 724 |
+
"4: Calculate PPL of training pairs with random negatives using Eq.2;",
|
| 725 |
+
"5: Fit PPL distribution with GMM;",
|
| 726 |
+
"6: Get the estimated flag set $\\{\\hat{y}_i\\}$ using Eq.4;",
|
| 727 |
+
"7: for $i = 1 :$ num_batch do",
|
| 728 |
+
"8: Sample negatives with \"In-Batch Negative\" or \"Hard Negative\" strategy;",
|
| 729 |
+
"9: Calculate rectified soft labels with EMA model $\\theta^{*}$",
|
| 730 |
+
"10: Train $\\theta$ by optimizing Eq.8;",
|
| 731 |
+
"11: Update EMA model $\\theta^{*}$ using Eq.5;",
|
| 732 |
+
"12: end for",
|
| 733 |
+
"13: end for"
|
| 734 |
+
],
|
| 735 |
+
"bbox": [
|
| 736 |
+
514,
|
| 737 |
+
120,
|
| 738 |
+
884,
|
| 739 |
+
374
|
| 740 |
+
],
|
| 741 |
+
"page_idx": 3
|
| 742 |
+
},
|
| 743 |
+
{
|
| 744 |
+
"type": "text",
|
| 745 |
+
"text": "estimated clean pair, we calculate the contrastive loss and consistency loss. So the overall loss is formalized:",
|
| 746 |
+
"bbox": [
|
| 747 |
+
507,
|
| 748 |
+
403,
|
| 749 |
+
882,
|
| 750 |
+
450
|
| 751 |
+
],
|
| 752 |
+
"page_idx": 3
|
| 753 |
+
},
|
| 754 |
+
{
|
| 755 |
+
"type": "equation",
|
| 756 |
+
"text": "\n$$\nL = \\hat {y} _ {i} L _ {\\text {c o n t}} + L _ {\\text {c o n s}}, \\tag {8}\n$$\n",
|
| 757 |
+
"text_format": "latex",
|
| 758 |
+
"bbox": [
|
| 759 |
+
611,
|
| 760 |
+
466,
|
| 761 |
+
880,
|
| 762 |
+
482
|
| 763 |
+
],
|
| 764 |
+
"page_idx": 3
|
| 765 |
+
},
|
| 766 |
+
{
|
| 767 |
+
"type": "text",
|
| 768 |
+
"text": "where $\\hat{y}_i\\in \\{1,0\\}$ is estimated by the noise detection module.",
|
| 769 |
+
"bbox": [
|
| 770 |
+
507,
|
| 771 |
+
495,
|
| 772 |
+
882,
|
| 773 |
+
526
|
| 774 |
+
],
|
| 775 |
+
"page_idx": 3
|
| 776 |
+
},
|
| 777 |
+
{
|
| 778 |
+
"type": "text",
|
| 779 |
+
"text": "3.3 Overall Procedure",
|
| 780 |
+
"text_level": 1,
|
| 781 |
+
"bbox": [
|
| 782 |
+
507,
|
| 783 |
+
539,
|
| 784 |
+
700,
|
| 785 |
+
554
|
| 786 |
+
],
|
| 787 |
+
"page_idx": 3
|
| 788 |
+
},
|
| 789 |
+
{
|
| 790 |
+
"type": "text",
|
| 791 |
+
"text": "NPC is a general training framework that can be easily applied to most retrieval methods. Under the classical training process of dense retrieval, We first warmup the retriever with the typical contrastive learning method to provide it with basic retrieval abilities, and then add the noise detection module before training each epoch and the noise correction module during training. The detail is presented in Algorithm 1.",
|
| 792 |
+
"bbox": [
|
| 793 |
+
507,
|
| 794 |
+
562,
|
| 795 |
+
882,
|
| 796 |
+
706
|
| 797 |
+
],
|
| 798 |
+
"page_idx": 3
|
| 799 |
+
},
|
| 800 |
+
{
|
| 801 |
+
"type": "text",
|
| 802 |
+
"text": "4 Experiments",
|
| 803 |
+
"text_level": 1,
|
| 804 |
+
"bbox": [
|
| 805 |
+
507,
|
| 806 |
+
719,
|
| 807 |
+
655,
|
| 808 |
+
734
|
| 809 |
+
],
|
| 810 |
+
"page_idx": 3
|
| 811 |
+
},
|
| 812 |
+
{
|
| 813 |
+
"type": "text",
|
| 814 |
+
"text": "4.1 Datasets",
|
| 815 |
+
"text_level": 1,
|
| 816 |
+
"bbox": [
|
| 817 |
+
507,
|
| 818 |
+
746,
|
| 819 |
+
623,
|
| 820 |
+
759
|
| 821 |
+
],
|
| 822 |
+
"page_idx": 3
|
| 823 |
+
},
|
| 824 |
+
{
|
| 825 |
+
"type": "text",
|
| 826 |
+
"text": "To verify the effectiveness of NPC in robust dense retrieval, we conduct experiments on four commonly-used benchmarks, including Natural Questions (Kwiatkowski et al., 2019), Trivia QA (Joshi et al., 2017), StaQC (Yao et al., 2018) and SO-DS (Heyman and Van Cutsem, 2020).",
|
| 827 |
+
"bbox": [
|
| 828 |
+
507,
|
| 829 |
+
766,
|
| 830 |
+
882,
|
| 831 |
+
863
|
| 832 |
+
],
|
| 833 |
+
"page_idx": 3
|
| 834 |
+
},
|
| 835 |
+
{
|
| 836 |
+
"type": "text",
|
| 837 |
+
"text": "StaQC is a large dataset that collects real querycode pairs from Stack Overflow*. The dataset has",
|
| 838 |
+
"bbox": [
|
| 839 |
+
507,
|
| 840 |
+
864,
|
| 841 |
+
882,
|
| 842 |
+
896
|
| 843 |
+
],
|
| 844 |
+
"page_idx": 3
|
| 845 |
+
},
|
| 846 |
+
{
|
| 847 |
+
"type": "page_footnote",
|
| 848 |
+
"text": "\\*https://stackoverflow.com/",
|
| 849 |
+
"bbox": [
|
| 850 |
+
529,
|
| 851 |
+
904,
|
| 852 |
+
776,
|
| 853 |
+
917
|
| 854 |
+
],
|
| 855 |
+
"page_idx": 3
|
| 856 |
+
},
|
| 857 |
+
{
|
| 858 |
+
"type": "page_number",
|
| 859 |
+
"text": "11442",
|
| 860 |
+
"bbox": [
|
| 861 |
+
475,
|
| 862 |
+
927,
|
| 863 |
+
524,
|
| 864 |
+
940
|
| 865 |
+
],
|
| 866 |
+
"page_idx": 3
|
| 867 |
+
},
|
| 868 |
+
{
|
| 869 |
+
"type": "table",
|
| 870 |
+
"img_path": "images/fa72da3b4f438baa439f55cc23d4578fc68d5c88c479adada14949b5f8d94c77.jpg",
|
| 871 |
+
"table_caption": [],
|
| 872 |
+
"table_footnote": [],
|
| 873 |
+
"table_body": "<table><tr><td rowspan=\"2\">Methods</td><td colspan=\"3\">StaQC</td><td colspan=\"3\">SO-DS</td></tr><tr><td>R@3</td><td>R@10</td><td>MRR</td><td>R@3</td><td>R@10</td><td>MRR</td></tr><tr><td>BM25 desc (Heyman and Van Cutsem, 2020)</td><td>8.0</td><td>13.3</td><td>7.5</td><td>23.8</td><td>32.3</td><td>21.6</td></tr><tr><td>NBOW (Heyman and Van Cutsem, 2020)</td><td>10.9</td><td>16.6</td><td>9.5</td><td>27.7</td><td>38.0</td><td>24.7</td></tr><tr><td>USE (Heyman and Van Cutsem, 2020)</td><td>12.8</td><td>20.3</td><td>11.7</td><td>33.3</td><td>48.5</td><td>30.4</td></tr><tr><td>CodeBERT (Feng et al., 2020)</td><td>-</td><td>-</td><td>23.4</td><td>-</td><td>-</td><td>23.1</td></tr><tr><td>GraphCodeBERT (Guo et al., 2021)</td><td>-</td><td>-</td><td>24.1</td><td>-</td><td>-</td><td>25.2</td></tr><tr><td>CodeRetriever (In-Batch Negative) (Li et al., 2022)</td><td>-</td><td>-</td><td>25.5</td><td>-</td><td>-</td><td>27.1</td></tr><tr><td>CodeRetriever (Hard Negative) (Li et al., 2022)</td><td>-</td><td>-</td><td>24.6</td><td>-</td><td>-</td><td>31.8</td></tr><tr><td>UniXcoder (In-Batch Negative) (Guo et al., 2022)</td><td>29.98</td><td>47.47</td><td>28.04</td><td>31.90</td><td>51.21</td><td>28.29</td></tr><tr><td>UniXcoder (Hard Negative) (Guo et al., 2022)</td><td>31.18</td><td>48.38</td><td>28.63</td><td>33.42</td><td>53.37</td><td>29.97</td></tr><tr><td>NPC (In-Batch Negative)</td><td>33.07</td><td>50.35</td><td>30.39</td><td>35.58</td><td>54.54</td><td>30.96</td></tr><tr><td>NPC (Hard Negative)</td><td>34.38</td><td>52.20</td><td>31.36</td><td>38.00</td><td>56.51</td><td>32.49</td></tr></table>",
|
| 874 |
+
"bbox": [
|
| 875 |
+
137,
|
| 876 |
+
80,
|
| 877 |
+
858,
|
| 878 |
+
296
|
| 879 |
+
],
|
| 880 |
+
"page_idx": 4
|
| 881 |
+
},
|
| 882 |
+
{
|
| 883 |
+
"type": "text",
|
| 884 |
+
"text": "Table 1: Retrieval performance on StaQC and SO-DS, which are realistic-noisy datasets. The results of the first block are mainly borrowed from published papers (Heyman and Van Cutsem, 2020; Li et al., 2022). If the results are not provided, we mark them as “-”.",
|
| 885 |
+
"bbox": [
|
| 886 |
+
112,
|
| 887 |
+
306,
|
| 888 |
+
882,
|
| 889 |
+
350
|
| 890 |
+
],
|
| 891 |
+
"page_idx": 4
|
| 892 |
+
},
|
| 893 |
+
{
|
| 894 |
+
"type": "text",
|
| 895 |
+
"text": "been widely used on code summarization (Ped-damail et al., 2018) and code search (Heyman and Van Cutsem, 2020). SO-DS mines query-code pairs from the most upvoted Stack Overflow posts, mainly focuses on the data science domain. Following previous works (Heyman and Van Cutsem, 2020; Li et al., 2022), we resort to Recall of topk $(\\mathbb{R}@\\mathbb{k})$ and Mean Reciprocal Rank (MRR) as the evaluation metric. StaQC and SO-DS are constructed automatically without human annotation. Therefore, there are numerous mismatched pairs in training data.",
|
| 896 |
+
"bbox": [
|
| 897 |
+
110,
|
| 898 |
+
367,
|
| 899 |
+
489,
|
| 900 |
+
558
|
| 901 |
+
],
|
| 902 |
+
"page_idx": 4
|
| 903 |
+
},
|
| 904 |
+
{
|
| 905 |
+
"type": "text",
|
| 906 |
+
"text": "Natural Questions (NQ) collects real queries from the Google search engine. Each question is paired with an answer span and golden passages from the Wikipedia pages. Trivia QA (TQ) is a reading comprehension dataset authored by trivia enthusiasts. During the retrieval stage of both datasets, the objective is to identify positive passages from a large collection. Positive pairs in these datasets are assessed based on strict rule, i.e., whether passages contain answers or not (Karpukhin et al., 2020a). Consequently, we consider these datasets to be of high quality. Thus, we leverage them for simulation experiments to quantitatively analyze the impact of varying proportions of noise. Drawing inspiration from the setting in the noisy classification task (Han et al., 2018), we simulate the mismatched-pair noise by randomly pairing queries with unrelated documents.",
|
| 907 |
+
"bbox": [
|
| 908 |
+
110,
|
| 909 |
+
561,
|
| 910 |
+
489,
|
| 911 |
+
851
|
| 912 |
+
],
|
| 913 |
+
"page_idx": 4
|
| 914 |
+
},
|
| 915 |
+
{
|
| 916 |
+
"type": "text",
|
| 917 |
+
"text": "4.2 Implementation Details",
|
| 918 |
+
"text_level": 1,
|
| 919 |
+
"bbox": [
|
| 920 |
+
112,
|
| 921 |
+
864,
|
| 922 |
+
346,
|
| 923 |
+
879
|
| 924 |
+
],
|
| 925 |
+
"page_idx": 4
|
| 926 |
+
},
|
| 927 |
+
{
|
| 928 |
+
"type": "text",
|
| 929 |
+
"text": "NPC is a general training paradigm that can be directly applied to almost all retrieval models. For",
|
| 930 |
+
"bbox": [
|
| 931 |
+
112,
|
| 932 |
+
887,
|
| 933 |
+
489,
|
| 934 |
+
917
|
| 935 |
+
],
|
| 936 |
+
"page_idx": 4
|
| 937 |
+
},
|
| 938 |
+
{
|
| 939 |
+
"type": "text",
|
| 940 |
+
"text": "StaQC and SO-DS, we adopt UniXcoder (Guo et al., 2022) as our backbone, which is the SoTA model for code representation. Following Guo et al. (2022), we adopt the cosine distance as a similarity function and set temperature $\\lambda$ to 20. We update model parameters using the Adam optimizer and perform early stopping on the development set. The learning rate, batch size, warmup epoch, and training epoch are set to 2e-5, 256, 5, and 10, respectively. In the \"Hard Negative\" setting, we adopt the same strategy as Li et al. (2022).",
|
| 941 |
+
"bbox": [
|
| 942 |
+
507,
|
| 943 |
+
367,
|
| 944 |
+
884,
|
| 945 |
+
543
|
| 946 |
+
],
|
| 947 |
+
"page_idx": 4
|
| 948 |
+
},
|
| 949 |
+
{
|
| 950 |
+
"type": "text",
|
| 951 |
+
"text": "For NQ and TQ, we adopt BERT (Devlin et al., 2019) as our initial model. Following Karpukhin et al. (2020a), we adopt inner-product as the similarity function and set temperature $\\lambda$ to 1. The max sequence length is 16 for query and 128 for passage. The learning rate, batch size, warmup epoch, and training epoch are set to 2e-5, 512, 10, and 40, respectively. We adopt \"BM25 Negative\" and \"Hard Negative\" strategies as described in the DPR toolkit. For a fair comparison, we implement DPR (Karpukhin et al., 2020a) with the same hyperparameters. All experiments are run on 8 NVIDIA Tesla A100 GPUs. The implementation of NPC is based on Huggingface (Wolf et al., 2020).",
|
| 952 |
+
"bbox": [
|
| 953 |
+
507,
|
| 954 |
+
545,
|
| 955 |
+
884,
|
| 956 |
+
770
|
| 957 |
+
],
|
| 958 |
+
"page_idx": 4
|
| 959 |
+
},
|
| 960 |
+
{
|
| 961 |
+
"type": "text",
|
| 962 |
+
"text": "4.3 Results",
|
| 963 |
+
"text_level": 1,
|
| 964 |
+
"bbox": [
|
| 965 |
+
507,
|
| 966 |
+
781,
|
| 967 |
+
613,
|
| 968 |
+
796
|
| 969 |
+
],
|
| 970 |
+
"page_idx": 4
|
| 971 |
+
},
|
| 972 |
+
{
|
| 973 |
+
"type": "text",
|
| 974 |
+
"text": "Results on StaQC and SO-DS: Table 1 shows the results on the realistic-noisy datasets StaQC and SO-DS. Both datasets contain a large number of real noise pairs. The first block shows the results of previous SoTA methods. BM25 desc is a traditional",
|
| 975 |
+
"bbox": [
|
| 976 |
+
507,
|
| 977 |
+
802,
|
| 978 |
+
882,
|
| 979 |
+
883
|
| 980 |
+
],
|
| 981 |
+
"page_idx": 4
|
| 982 |
+
},
|
| 983 |
+
{
|
| 984 |
+
"type": "page_footnote",
|
| 985 |
+
"text": "$\\dagger$ https://github.com/facebookresearch/DPR",
|
| 986 |
+
"bbox": [
|
| 987 |
+
509,
|
| 988 |
+
891,
|
| 989 |
+
867,
|
| 990 |
+
917
|
| 991 |
+
],
|
| 992 |
+
"page_idx": 4
|
| 993 |
+
},
|
| 994 |
+
{
|
| 995 |
+
"type": "page_number",
|
| 996 |
+
"text": "11443",
|
| 997 |
+
"bbox": [
|
| 998 |
+
475,
|
| 999 |
+
927,
|
| 1000 |
+
524,
|
| 1001 |
+
940
|
| 1002 |
+
],
|
| 1003 |
+
"page_idx": 4
|
| 1004 |
+
},
|
| 1005 |
+
{
|
| 1006 |
+
"type": "table",
|
| 1007 |
+
"img_path": "images/508d1a78b29f8358f760df53799576b37b81fd7f214792d73f9106efa010ff5a.jpg",
|
| 1008 |
+
"table_caption": [],
|
| 1009 |
+
"table_footnote": [],
|
| 1010 |
+
"table_body": "<table><tr><td rowspan=\"2\">Noisy</td><td rowspan=\"2\">Methods</td><td colspan=\"4\">Natural Questions</td><td colspan=\"4\">Trivia QA</td></tr><tr><td>R@1</td><td>R@5</td><td>R@20</td><td>R@100</td><td>R@1</td><td>R@5</td><td>R@20</td><td>R@100</td></tr><tr><td rowspan=\"2\"></td><td>BM25*</td><td>-</td><td>-</td><td>59.1</td><td>73.7</td><td>-</td><td>-</td><td>66.9</td><td>76.7</td></tr><tr><td>DPR*</td><td>-</td><td>-</td><td>78.4</td><td>85.4</td><td>-</td><td>-</td><td>79.4</td><td>85.0</td></tr><tr><td rowspan=\"11\">20</td><td>DPR (BM25 Negative)</td><td>27.07</td><td>47.79</td><td>63.36</td><td>75.69</td><td>35.73</td><td>52.88</td><td>64.05</td><td>74.16</td></tr><tr><td>coCondenser (BM25 Negative)</td><td>29.12</td><td>51.02</td><td>67.45</td><td>77.93</td><td>39.41</td><td>56.72</td><td>67.34</td><td>76.04</td></tr><tr><td>Co-teaching (BM25 Negative)</td><td>26.02</td><td>52.48</td><td>63.46</td><td>76.11</td><td>28.65</td><td>53.01</td><td>64.99</td><td>74.05</td></tr><tr><td>DPR-C (BM25 Negative)</td><td>43.69</td><td>66.62</td><td>79.07</td><td>86.12</td><td>52.10</td><td>70.52</td><td>79.05</td><td>85.08</td></tr><tr><td>NPC (BM25 Negative)</td><td>45.22</td><td>68.42</td><td>79.76</td><td>86.56</td><td>52.34</td><td>70.22</td><td>79.10</td><td>84.86</td></tr><tr><td>DPR (Hard Negative)</td><td>37.61</td><td>60.73</td><td>71.68</td><td>79.56</td><td>43.39</td><td>60.67</td><td>70.34</td><td>77.88</td></tr><tr><td>coCondenser (Hard Negative)</td><td>40.71</td><td>63.41</td><td>74.33</td><td>81.22</td><td>47.42</td><td>64.80</td><td>73.38</td><td>80.07</td></tr><tr><td>RocketQA (Hard Negative)</td><td>43.32</td><td>64.25</td><td>74.96</td><td>81.42</td><td>49.90</td><td>65.72</td><td>74.04</td><td>80.39</td></tr><tr><td>Co-teaching (Hard Negative)</td><td>31.78</td><td>56.32</td><td>66.12</td><td>77.56</td><td>33.28</td><td>57.29</td><td>66.50</td><td>75.62</td></tr><tr><td>DPR-C (Hard Negative)</td><td>51.66</td><td>72.40</td><td>81.50</td><td>87.80</td><td>55.35</td><td>72.36</td><td>80.33</td><td>85.34</td></tr><tr><td>NPC (Hard Negative)</td><td>51.85</td><td>73.06</td><td>82.47</td><td>87.80</td><td>56.03</td><td>72.54</td><td>80.59</td><td>85.58</td></tr><tr><td rowspan=\"11\">50</td><td>DPR (BM25 Negative)</td><td>16.12</td><td>33.88</td><td>49.70</td><td>63.38</td><td>20.09</td><td>34.63</td><td>47.42</td><td>61.04</td></tr><tr><td>coCondenser (BM25 Negative)</td><td>18.28</td><td>36.37</td><td>52.01</td><td>65.92</td><td>22.80</td><td>38.01</td><td>51.00</td><td>63.79</td></tr><tr><td>Co-teaching (BM25 Negative)</td><td>23.72</td><td>50.32</td><td>64.86</td><td>74.92</td><td>26.56</td><td>51.22</td><td>63.78</td><td>73.77</td></tr><tr><td>DPR-C (BM25 Negative)</td><td>41.29</td><td>65.21</td><td>78.48</td><td>85.70</td><td>49.61</td><td>68.81</td><td>78.00</td><td>84.23</td></tr><tr><td>NPC (BM25 Negative)</td><td>42.87</td><td>65.65</td><td>78.37</td><td>85.76</td><td>50.80</td><td>68.98</td><td>78.21</td><td>84.43</td></tr><tr><td>DPR (Hard Negative)</td><td>23.87</td><td>42.34</td><td>55.12</td><td>67.06</td><td>28.47</td><td>45.12</td><td>56.88</td><td>67.62</td></tr><tr><td>coCondenser (Hard Negative)</td><td>24.55</td><td>44.16</td><td>56.69</td><td>68.72</td><td>31.05</td><td>47.81</td><td>59.48</td><td>70.14</td></tr><tr><td>RocketQA (Hard Negative)</td><td>26.83</td><td>45.72</td><td>57.32</td><td>69.24</td><td>33.67</td><td>49.28</td><td>60.32</td><td>70.46</td></tr><tr><td>Co-teaching (Hard Negative)</td><td>30.12</td><td>55.94</td><td>65.81</td><td>76.90</td><td>31.85</td><td>55.37</td><td>65.29</td><td>75.02</td></tr><tr><td>DPR-C (Hard Negative)</td><td>48.87</td><td>70.52</td><td>81.44</td><td>87.17</td><td>53.07</td><td>70.36</td><td>79.02</td><td>84.69</td></tr><tr><td>NPC (Hard Negative)</td><td>48.81</td><td>70.60</td><td>81.17</td><td>87.20</td><td>53.09</td><td>70.27</td><td>79.31</td><td>84.96</td></tr></table>",
|
| 1011 |
+
"bbox": [
|
| 1012 |
+
137,
|
| 1013 |
+
80,
|
| 1014 |
+
858,
|
| 1015 |
+
461
|
| 1016 |
+
],
|
| 1017 |
+
"page_idx": 5
|
| 1018 |
+
},
|
| 1019 |
+
{
|
| 1020 |
+
"type": "text",
|
| 1021 |
+
"text": "Table 2: Retrieval performance on Natural Questions and Trivia QA under the noise ratio of $20\\%$ , and $50\\%$ , respectively. The results of BM25* and DPR* are borrowed from Karpukhin et al. (2020a). If the results are not provided, we mark them as “-”.",
|
| 1022 |
+
"bbox": [
|
| 1023 |
+
112,
|
| 1024 |
+
470,
|
| 1025 |
+
882,
|
| 1026 |
+
516
|
| 1027 |
+
],
|
| 1028 |
+
"page_idx": 5
|
| 1029 |
+
},
|
| 1030 |
+
{
|
| 1031 |
+
"type": "text",
|
| 1032 |
+
"text": "sparse retriever based on the exact term matching of queries and code descriptions. NBOW is an unsupervised retriever that leverages pre-trained word embedding of queries and code descriptions for retrieval. USE is a simple dense retriever based on transformer. CodeBERT, GraphCodeBERT are pre-trained models for code understanding using large-scale code corpus. CodeRetriever is a pretrained model dedicated to code retrieval, which is pre-trained with unimodal and bimodal contrastive learning on a large-scale corpus. UniXcoder is also a pretrained model that utilizes multi-modal data, including code, comment, and AST, for better code representation. The results are implemented by ourselves for a fair comparison with NPC. The bottom block shows the results of NPC using two negative sampling strategies.",
|
| 1033 |
+
"bbox": [
|
| 1034 |
+
110,
|
| 1035 |
+
533,
|
| 1036 |
+
487,
|
| 1037 |
+
804
|
| 1038 |
+
],
|
| 1039 |
+
"page_idx": 5
|
| 1040 |
+
},
|
| 1041 |
+
{
|
| 1042 |
+
"type": "text",
|
| 1043 |
+
"text": "From the results, we can see that our proposed NPC consistently performs better than the evaluated models across all metrics. Compared with the strong baseline UniXcoder which ignores the mismatched-pair problem, NPC achieves a significant improvement with both \"in-batch negative\" and \"hard negative\" sampling strategies. It indi",
|
| 1044 |
+
"bbox": [
|
| 1045 |
+
112,
|
| 1046 |
+
807,
|
| 1047 |
+
489,
|
| 1048 |
+
919
|
| 1049 |
+
],
|
| 1050 |
+
"page_idx": 5
|
| 1051 |
+
},
|
| 1052 |
+
{
|
| 1053 |
+
"type": "text",
|
| 1054 |
+
"text": "cates that the mismatched-pair noise greatly limits the performance of dense retrieval models, and NPC can mitigate this negative effect. We also show some noisy examples detected by NPC in Appendix A.",
|
| 1055 |
+
"bbox": [
|
| 1056 |
+
507,
|
| 1057 |
+
533,
|
| 1058 |
+
882,
|
| 1059 |
+
612
|
| 1060 |
+
],
|
| 1061 |
+
"page_idx": 5
|
| 1062 |
+
},
|
| 1063 |
+
{
|
| 1064 |
+
"type": "text",
|
| 1065 |
+
"text": "Results on NQ and TQ: Table 2 shows the results on the synthetic-noisy datasets NQ and TQ under the noise ratio of $20\\%$ , and $50\\%$ . We compare NPC with BM25 (Yang et al., 2017) and DPR (Karpukhin et al., 2020a). BM25 is an unsupervised sparse retriever that is not affected by noisy data. DPR (Karpukhin et al., 2020a) is a widely used method for training dense retrievers. coCondenser (Gao and Callan, 2021b) leverage pre-training to enhance models' robustness. RocketQA (Qu et al., 2021) adopts a cross-encoder to filter false negatives in the \"Hard Negative\" strategy. Co-teaching (Han et al., 2018) uses the samples with small loss to iteratively train two networks, which is widely used in the noisy label classification task. We implement baselines using two negative sampling strategies. Besides, we evaluate DPR on clean datasets by discarding the synthetic-noisy pairs, denoted by DPR-C. DPR-C is a strong",
|
| 1066 |
+
"bbox": [
|
| 1067 |
+
507,
|
| 1068 |
+
613,
|
| 1069 |
+
884,
|
| 1070 |
+
919
|
| 1071 |
+
],
|
| 1072 |
+
"page_idx": 5
|
| 1073 |
+
},
|
| 1074 |
+
{
|
| 1075 |
+
"type": "page_number",
|
| 1076 |
+
"text": "11444",
|
| 1077 |
+
"bbox": [
|
| 1078 |
+
477,
|
| 1079 |
+
928,
|
| 1080 |
+
524,
|
| 1081 |
+
940
|
| 1082 |
+
],
|
| 1083 |
+
"page_idx": 5
|
| 1084 |
+
},
|
| 1085 |
+
{
|
| 1086 |
+
"type": "table",
|
| 1087 |
+
"img_path": "images/3ddc2d12852bd0861ed6e90ae8e0114ab6cb391746342161c0979ddeb51d9892.jpg",
|
| 1088 |
+
"table_caption": [],
|
| 1089 |
+
"table_footnote": [],
|
| 1090 |
+
"table_body": "<table><tr><td colspan=\"3\">Methods</td><td colspan=\"2\">NQ</td><td colspan=\"2\">StaQC</td></tr><tr><td>De</td><td>Co</td><td>HN</td><td>R@20</td><td>R@100</td><td>R@1</td><td>R@3</td></tr><tr><td>-</td><td>-</td><td>-</td><td>48.22</td><td>62.31</td><td>18.08</td><td>31.09</td></tr><tr><td>-</td><td>✓</td><td>-</td><td>55.90</td><td>69.33</td><td>18.51</td><td>31.01</td></tr><tr><td>✓</td><td>-</td><td>-</td><td>75.19</td><td>83.31</td><td>20.05</td><td>32.71</td></tr><tr><td>✓</td><td>✓</td><td>-</td><td>77.50</td><td>84.79</td><td>20.70</td><td>33.55</td></tr><tr><td>-</td><td>-</td><td>✓</td><td>54.63</td><td>65.54</td><td>18.66</td><td>31.74</td></tr><tr><td>-</td><td>✓</td><td>✓</td><td>58.63</td><td>69.06</td><td>19.35</td><td>32.09</td></tr><tr><td>✓</td><td>-</td><td>✓</td><td>77.59</td><td>85.03</td><td>20.93</td><td>33.55</td></tr><tr><td>✓</td><td>✓</td><td>✓</td><td>80.07</td><td>85.89</td><td>21.93</td><td>34.51</td></tr></table>",
|
| 1091 |
+
"bbox": [
|
| 1092 |
+
119,
|
| 1093 |
+
80,
|
| 1094 |
+
497,
|
| 1095 |
+
247
|
| 1096 |
+
],
|
| 1097 |
+
"page_idx": 6
|
| 1098 |
+
},
|
| 1099 |
+
{
|
| 1100 |
+
"type": "text",
|
| 1101 |
+
"text": "baseline that is not affected by mismatched pairs.",
|
| 1102 |
+
"bbox": [
|
| 1103 |
+
112,
|
| 1104 |
+
313,
|
| 1105 |
+
478,
|
| 1106 |
+
330
|
| 1107 |
+
],
|
| 1108 |
+
"page_idx": 6
|
| 1109 |
+
},
|
| 1110 |
+
{
|
| 1111 |
+
"type": "text",
|
| 1112 |
+
"text": "We can observe that (1) As the noise ratio increases, DPR, coCondenser, and RocketQA experience a significant decrease in performance. At a noise rate of $50\\%$ , they perform worse than unsupervised BM25. (2) Despite Co-teaching having good noise resistance, its performance is still low. This indicates that methods for dealing with label noise in classification are not effective for retrieval. (3) NPC outperforms baselines by a large margin, with only a slight performance drop when the noise increases. Even comparing DPR-C, NPC still achieves competitive results.",
|
| 1113 |
+
"bbox": [
|
| 1114 |
+
112,
|
| 1115 |
+
332,
|
| 1116 |
+
489,
|
| 1117 |
+
524
|
| 1118 |
+
],
|
| 1119 |
+
"page_idx": 6
|
| 1120 |
+
},
|
| 1121 |
+
{
|
| 1122 |
+
"type": "text",
|
| 1123 |
+
"text": "4.4 Analysis",
|
| 1124 |
+
"text_level": 1,
|
| 1125 |
+
"bbox": [
|
| 1126 |
+
112,
|
| 1127 |
+
539,
|
| 1128 |
+
226,
|
| 1129 |
+
555
|
| 1130 |
+
],
|
| 1131 |
+
"page_idx": 6
|
| 1132 |
+
},
|
| 1133 |
+
{
|
| 1134 |
+
"type": "text",
|
| 1135 |
+
"text": "Ablations of Noise Detection and Noise Correction: To get a better insight into NPC, we conduct ablation studies on the realistic-noisy dataset StaQC and the synthetic-noisy dataset NQ under the noise ratio of $50\\%$ . The results are shown in Table 3. \"De\" and \"Co\" refer to noise detection and noise correction, respectively. \"HN\" indicates whether to perform \"Hard Negative\" strategy. For both synthetic noise and realistic noise, we can see that the noise detection module brings a significant gain, no matter which negative sampling strategy is used. Correction also enhances the robustness of the retriever since it provides rectified soft labels which can lead the model output to be smoother. The results show that combining the two obtains better performance compared with only using the detection module or correction module.",
|
| 1136 |
+
"bbox": [
|
| 1137 |
+
112,
|
| 1138 |
+
563,
|
| 1139 |
+
489,
|
| 1140 |
+
835
|
| 1141 |
+
],
|
| 1142 |
+
"page_idx": 6
|
| 1143 |
+
},
|
| 1144 |
+
{
|
| 1145 |
+
"type": "text",
|
| 1146 |
+
"text": "Impact of Warmup Epoch: According to the foregoing, NPC starts by warming up. In Table 4, we pre-training the retriever on the noisy dataset for warming up, and show the performance of NPC with different various epoch numbers $n$ . In this",
|
| 1147 |
+
"bbox": [
|
| 1148 |
+
112,
|
| 1149 |
+
839,
|
| 1150 |
+
489,
|
| 1151 |
+
917
|
| 1152 |
+
],
|
| 1153 |
+
"page_idx": 6
|
| 1154 |
+
},
|
| 1155 |
+
{
|
| 1156 |
+
"type": "table",
|
| 1157 |
+
"img_path": "images/aef375c9798e8d2b240b54c3c4ac14f24aa9a154520145f957590cbe3e522781.jpg",
|
| 1158 |
+
"table_caption": [
|
| 1159 |
+
"Table 3: Ablation studies on StaQC dev set and NQ dev set under noise ratio of $50\\%$ ."
|
| 1160 |
+
],
|
| 1161 |
+
"table_footnote": [],
|
| 1162 |
+
"table_body": "<table><tr><td>Setting</td><td>R@1</td><td>R@5</td><td>R@20</td><td>R@100</td></tr><tr><td>n=1</td><td>50.58</td><td>69.93</td><td>79.87</td><td>84.96</td></tr><tr><td>n=5</td><td>50.03</td><td>69.64</td><td>80.17</td><td>85.76</td></tr><tr><td>n=10</td><td>50.07</td><td>69.93</td><td>80.07</td><td>85.89</td></tr><tr><td>n=20</td><td>38.09</td><td>60.31</td><td>72.00</td><td>80.07</td></tr></table>",
|
| 1163 |
+
"bbox": [
|
| 1164 |
+
527,
|
| 1165 |
+
80,
|
| 1166 |
+
867,
|
| 1167 |
+
178
|
| 1168 |
+
],
|
| 1169 |
+
"page_idx": 6
|
| 1170 |
+
},
|
| 1171 |
+
{
|
| 1172 |
+
"type": "text",
|
| 1173 |
+
"text": "Table 4: Performance of NPC on NQ dev set with different warmup epoch number $n$ .",
|
| 1174 |
+
"bbox": [
|
| 1175 |
+
507,
|
| 1176 |
+
187,
|
| 1177 |
+
882,
|
| 1178 |
+
217
|
| 1179 |
+
],
|
| 1180 |
+
"page_idx": 6
|
| 1181 |
+
},
|
| 1182 |
+
{
|
| 1183 |
+
"type": "image",
|
| 1184 |
+
"img_path": "images/dcbc0024eec1373ac363c3fc24a44b0459ee0f3fd2ed17ccacebaf9d1af0612c.jpg",
|
| 1185 |
+
"image_caption": [
|
| 1186 |
+
"(a) Before warmup"
|
| 1187 |
+
],
|
| 1188 |
+
"image_footnote": [],
|
| 1189 |
+
"bbox": [
|
| 1190 |
+
522,
|
| 1191 |
+
221,
|
| 1192 |
+
695,
|
| 1193 |
+
313
|
| 1194 |
+
],
|
| 1195 |
+
"page_idx": 6
|
| 1196 |
+
},
|
| 1197 |
+
{
|
| 1198 |
+
"type": "image",
|
| 1199 |
+
"img_path": "images/ff0d9d101b4a5bbe04c616c134f92ae47d66262ae98438926fa3ec8100d901c4.jpg",
|
| 1200 |
+
"image_caption": [
|
| 1201 |
+
"(b) After warmup"
|
| 1202 |
+
],
|
| 1203 |
+
"image_footnote": [],
|
| 1204 |
+
"bbox": [
|
| 1205 |
+
697,
|
| 1206 |
+
221,
|
| 1207 |
+
870,
|
| 1208 |
+
313
|
| 1209 |
+
],
|
| 1210 |
+
"page_idx": 6
|
| 1211 |
+
},
|
| 1212 |
+
{
|
| 1213 |
+
"type": "image",
|
| 1214 |
+
"img_path": "images/baa431921633f57acfa52b1ff1f2b97d511463f29dc689800c8de230bbdbfa4c.jpg",
|
| 1215 |
+
"image_caption": [
|
| 1216 |
+
"(c) DPR"
|
| 1217 |
+
],
|
| 1218 |
+
"image_footnote": [],
|
| 1219 |
+
"bbox": [
|
| 1220 |
+
522,
|
| 1221 |
+
337,
|
| 1222 |
+
695,
|
| 1223 |
+
429
|
| 1224 |
+
],
|
| 1225 |
+
"page_idx": 6
|
| 1226 |
+
},
|
| 1227 |
+
{
|
| 1228 |
+
"type": "image",
|
| 1229 |
+
"img_path": "images/55b0dadef6128a055152c36cf1a1411946ef6047a5e8dac813c3bc5943bf141c.jpg",
|
| 1230 |
+
"image_caption": [
|
| 1231 |
+
"(d) NPC",
|
| 1232 |
+
"Figure 4: Perplexity distribution of training pairs under different settings."
|
| 1233 |
+
],
|
| 1234 |
+
"image_footnote": [],
|
| 1235 |
+
"bbox": [
|
| 1236 |
+
697,
|
| 1237 |
+
337,
|
| 1238 |
+
870,
|
| 1239 |
+
429
|
| 1240 |
+
],
|
| 1241 |
+
"page_idx": 6
|
| 1242 |
+
},
|
| 1243 |
+
{
|
| 1244 |
+
"type": "text",
|
| 1245 |
+
"text": "experiment, we adopt \"Hard Negative\" sampling strategy. We find that NPC achieves good results when the warmup epoch is relatively small (1 - 10). However, when the warmup epoch is too large, the performance will degrade. We believe that a prolonged warmup causes overfitting to noise samples.",
|
| 1246 |
+
"bbox": [
|
| 1247 |
+
507,
|
| 1248 |
+
510,
|
| 1249 |
+
884,
|
| 1250 |
+
607
|
| 1251 |
+
],
|
| 1252 |
+
"page_idx": 6
|
| 1253 |
+
},
|
| 1254 |
+
{
|
| 1255 |
+
"type": "text",
|
| 1256 |
+
"text": "Impact of Iterative Detection: In the training of NPC, we perform iterative noise detection every epoch. A straightforward approach is to detect the noise only once after warmup and fix the estimated flag set $\\{\\hat{y}_i\\}$ . To study the effectiveness of iterative detection, we conducted an ablation study. The results are shown in Table 5. We can see that the model performance degrades after removing iterative detection.",
|
| 1257 |
+
"bbox": [
|
| 1258 |
+
507,
|
| 1259 |
+
609,
|
| 1260 |
+
882,
|
| 1261 |
+
752
|
| 1262 |
+
],
|
| 1263 |
+
"page_idx": 6
|
| 1264 |
+
},
|
| 1265 |
+
{
|
| 1266 |
+
"type": "text",
|
| 1267 |
+
"text": "Ablations of PPL: We distinguish noise pairs according to the perplexity between the annotated positive document and easy negatives. When calculating the perplexity, \"Hard Negative\" will cause trouble for detection. We construct ablation experiments to verify this, and the results are shown in Table 5. We can see that the perplexity with \"Hard Negative\" results in performance degradation.",
|
| 1268 |
+
"bbox": [
|
| 1269 |
+
507,
|
| 1270 |
+
756,
|
| 1271 |
+
884,
|
| 1272 |
+
884
|
| 1273 |
+
],
|
| 1274 |
+
"page_idx": 6
|
| 1275 |
+
},
|
| 1276 |
+
{
|
| 1277 |
+
"type": "text",
|
| 1278 |
+
"text": "Visualization of Perplexity Distribution: In Fig. 4, we illustrate the perplexity distribution of",
|
| 1279 |
+
"bbox": [
|
| 1280 |
+
507,
|
| 1281 |
+
887,
|
| 1282 |
+
882,
|
| 1283 |
+
919
|
| 1284 |
+
],
|
| 1285 |
+
"page_idx": 6
|
| 1286 |
+
},
|
| 1287 |
+
{
|
| 1288 |
+
"type": "page_number",
|
| 1289 |
+
"text": "11445",
|
| 1290 |
+
"bbox": [
|
| 1291 |
+
477,
|
| 1292 |
+
927,
|
| 1293 |
+
524,
|
| 1294 |
+
940
|
| 1295 |
+
],
|
| 1296 |
+
"page_idx": 6
|
| 1297 |
+
},
|
| 1298 |
+
{
|
| 1299 |
+
"type": "table",
|
| 1300 |
+
"img_path": "images/e88108902edeec047ff0d601d8f3bb3885458a2b1af5f05dc6f864df4aaf0dd9.jpg",
|
| 1301 |
+
"table_caption": [],
|
| 1302 |
+
"table_footnote": [],
|
| 1303 |
+
"table_body": "<table><tr><td>Setting</td><td>R@1</td><td>R@5</td><td>R@20</td><td>R@100</td></tr><tr><td>NPC</td><td>50.07</td><td>69.93</td><td>80.07</td><td>85.89</td></tr><tr><td>-w/o iterative detection</td><td>47.29</td><td>68.39</td><td>78.79</td><td>85.38</td></tr><tr><td>-ppl with HN</td><td>42.81</td><td>65.06</td><td>75.22</td><td>83.09</td></tr></table>",
|
| 1304 |
+
"bbox": [
|
| 1305 |
+
119,
|
| 1306 |
+
80,
|
| 1307 |
+
482,
|
| 1308 |
+
147
|
| 1309 |
+
],
|
| 1310 |
+
"page_idx": 7
|
| 1311 |
+
},
|
| 1312 |
+
{
|
| 1313 |
+
"type": "text",
|
| 1314 |
+
"text": "Table 5: Ablation studies of iterative noise detection and perplexity variants",
|
| 1315 |
+
"bbox": [
|
| 1316 |
+
112,
|
| 1317 |
+
155,
|
| 1318 |
+
485,
|
| 1319 |
+
185
|
| 1320 |
+
],
|
| 1321 |
+
"page_idx": 7
|
| 1322 |
+
},
|
| 1323 |
+
{
|
| 1324 |
+
"type": "image",
|
| 1325 |
+
"img_path": "images/536d70a8d2cb88df20639cfd6d5ca8cc0333dd50b240e02dd21b4c40ea60155c.jpg",
|
| 1326 |
+
"image_caption": [
|
| 1327 |
+
"(a) w/o Hard Negative"
|
| 1328 |
+
],
|
| 1329 |
+
"image_footnote": [],
|
| 1330 |
+
"bbox": [
|
| 1331 |
+
124,
|
| 1332 |
+
193,
|
| 1333 |
+
295,
|
| 1334 |
+
282
|
| 1335 |
+
],
|
| 1336 |
+
"page_idx": 7
|
| 1337 |
+
},
|
| 1338 |
+
{
|
| 1339 |
+
"type": "image",
|
| 1340 |
+
"img_path": "images/83a8a9353639f66c54f9cffd67434fb4498a65290355222e85117a1823ac5622.jpg",
|
| 1341 |
+
"image_caption": [
|
| 1342 |
+
"(b) w/ Hard Negative",
|
| 1343 |
+
"Figure 5: Retrieval performance of DPR and NPC on NQ dev set under different noise ratios."
|
| 1344 |
+
],
|
| 1345 |
+
"image_footnote": [],
|
| 1346 |
+
"bbox": [
|
| 1347 |
+
305,
|
| 1348 |
+
192,
|
| 1349 |
+
478,
|
| 1350 |
+
282
|
| 1351 |
+
],
|
| 1352 |
+
"page_idx": 7
|
| 1353 |
+
},
|
| 1354 |
+
{
|
| 1355 |
+
"type": "text",
|
| 1356 |
+
"text": "training pairs before and after warmup, after training with DPR, and after training with NPC. The experiment is on NQ under the noise ratio of $50\\%$ . We can see that the perplexity of most noisy pairs is larger than the clean pairs after warmup, which verifies our hypothesis in Sec. 3.1. Comparing Fig. 4(c) and Fig. 4(d), we find that the retriever trained with DPR will overfit the noise pairs. However, NPC enables the retriever to correctly distinguish clean and noisy pairs because it avoids the dominant effect of noise during network optimization.",
|
| 1357 |
+
"bbox": [
|
| 1358 |
+
112,
|
| 1359 |
+
356,
|
| 1360 |
+
487,
|
| 1361 |
+
531
|
| 1362 |
+
],
|
| 1363 |
+
"page_idx": 7
|
| 1364 |
+
},
|
| 1365 |
+
{
|
| 1366 |
+
"type": "text",
|
| 1367 |
+
"text": "Analysis of Generalizability Fig. 5 shows the performance of DPR and NPC under the noise ratio ranging from $0\\%$ to $80\\%$ . We can see that as the noise ratio increases, the performance degradation of DPR is much larger than that of NPC, which demonstrates the generalizability of NPC. Furthermore, even though NPC is designed to deal with mismatched-pair noise, it achieves competitive results when used in a noise-free setting.",
|
| 1368 |
+
"bbox": [
|
| 1369 |
+
112,
|
| 1370 |
+
533,
|
| 1371 |
+
489,
|
| 1372 |
+
678
|
| 1373 |
+
],
|
| 1374 |
+
"page_idx": 7
|
| 1375 |
+
},
|
| 1376 |
+
{
|
| 1377 |
+
"type": "text",
|
| 1378 |
+
"text": "5 Related Work",
|
| 1379 |
+
"text_level": 1,
|
| 1380 |
+
"bbox": [
|
| 1381 |
+
112,
|
| 1382 |
+
692,
|
| 1383 |
+
270,
|
| 1384 |
+
707
|
| 1385 |
+
],
|
| 1386 |
+
"page_idx": 7
|
| 1387 |
+
},
|
| 1388 |
+
{
|
| 1389 |
+
"type": "text",
|
| 1390 |
+
"text": "5.1 Dense Retrieval",
|
| 1391 |
+
"text_level": 1,
|
| 1392 |
+
"bbox": [
|
| 1393 |
+
112,
|
| 1394 |
+
720,
|
| 1395 |
+
284,
|
| 1396 |
+
734
|
| 1397 |
+
],
|
| 1398 |
+
"page_idx": 7
|
| 1399 |
+
},
|
| 1400 |
+
{
|
| 1401 |
+
"type": "text",
|
| 1402 |
+
"text": "Dense retrieval has shown better performance than traditional sparse retrieval methods (Lee et al., 2019; Karpukhin et al., 2020a). The studies of dense retrieval can be divided into two categories, (1) unsupervised pre-training to get better initialization and (2) more effective fine-tuning on labeled data. In the first category, some researchers focus on how to generate contrastive pairs automatically from a large unsupervised corpus (Lee et al., 2019; Chang et al., 2019; Ma et al., 2022; Li et al., 2022). Another line of research enforces",
|
| 1403 |
+
"bbox": [
|
| 1404 |
+
112,
|
| 1405 |
+
741,
|
| 1406 |
+
489,
|
| 1407 |
+
917
|
| 1408 |
+
],
|
| 1409 |
+
"page_idx": 7
|
| 1410 |
+
},
|
| 1411 |
+
{
|
| 1412 |
+
"type": "text",
|
| 1413 |
+
"text": "the model to produce an information-rich CLS representation (Gao and Callan, 2021a,b; Lu et al., 2021). As for effective fine-tuning strategies (He et al., 2022b), recent studies show that negative sampling techniques are critical to the performance of dense retrievers. DPR (Karpukhin et al., 2020b) adopts in-batch negatives and BM25 negatives; ANCE (Xiong et al., 2021), RocketQA (Qu et al., 2021), and AR2 (Zhang et al., 2022a) improve the hard negative sampling by iterative replacement, denoising, and adversarial framework, respectively. Several works distill knowledge from ranker to retriever (Izacard and Grave, 2020; Yang and Seo, 2020; Ren et al., 2021; Zeng et al., 2022). Some studies incorporate lexical-aware sparse retrievers to convey lexical-related knowledge to dense retrievers, thereby enhancing the dense retriever's ability to recognize lexical matches (Shen et al., 2023; Zhang et al., 2023).",
|
| 1414 |
+
"bbox": [
|
| 1415 |
+
507,
|
| 1416 |
+
84,
|
| 1417 |
+
884,
|
| 1418 |
+
388
|
| 1419 |
+
],
|
| 1420 |
+
"page_idx": 7
|
| 1421 |
+
},
|
| 1422 |
+
{
|
| 1423 |
+
"type": "text",
|
| 1424 |
+
"text": "Although the above methods have achieved promising results, they are highly dependent on correctly matched data, which is difficult to satisfy in real scenes. The mismatched-pair noise problem has seldom been considered. Besides, some studies utilize large-sized generative models (He et al., 2023) to guide retrievers, which achieve impressive performance without paired data (Sachan et al., 2022, 2021; Gao et al., 2022; He et al., 2022a). Although these models exhibit some robustness to noisy data, their success depends on the availability of strong generative models. Moreover, their applicability will be limited in domains where generative models do not perform well.",
|
| 1425 |
+
"bbox": [
|
| 1426 |
+
507,
|
| 1427 |
+
392,
|
| 1428 |
+
884,
|
| 1429 |
+
617
|
| 1430 |
+
],
|
| 1431 |
+
"page_idx": 7
|
| 1432 |
+
},
|
| 1433 |
+
{
|
| 1434 |
+
"type": "text",
|
| 1435 |
+
"text": "5.2 Denoising Techniques",
|
| 1436 |
+
"text_level": 1,
|
| 1437 |
+
"bbox": [
|
| 1438 |
+
507,
|
| 1439 |
+
634,
|
| 1440 |
+
726,
|
| 1441 |
+
650
|
| 1442 |
+
],
|
| 1443 |
+
"page_idx": 7
|
| 1444 |
+
},
|
| 1445 |
+
{
|
| 1446 |
+
"type": "text",
|
| 1447 |
+
"text": "One related task to our work is Noisy Label. Numerous methods have been proposed to solve this problem, and most of them focus on the classification task (Han et al., 2020). Some works design robust loss functions to mitigate label noise (Ghosh et al., 2017; Ma et al., 2020). Another line of work aims to identify noise from the training set with the memorization effect of neural networks (Silva et al., 2022; Liang et al., 2022; Bai et al., 2021).",
|
| 1448 |
+
"bbox": [
|
| 1449 |
+
507,
|
| 1450 |
+
659,
|
| 1451 |
+
882,
|
| 1452 |
+
804
|
| 1453 |
+
],
|
| 1454 |
+
"page_idx": 7
|
| 1455 |
+
},
|
| 1456 |
+
{
|
| 1457 |
+
"type": "text",
|
| 1458 |
+
"text": "These studies mainly focus on classification. NPC studies the mismatched noise problem in dense retrieval rather than the noise in category annotations, which is more complex to handle. Several pre-training approaches noticed the problem of mismatched noisy pairs. ALIGN (Jia et al., 2021) and CLIP (Radford et al., 2021) claim that utilizing",
|
| 1459 |
+
"bbox": [
|
| 1460 |
+
507,
|
| 1461 |
+
806,
|
| 1462 |
+
882,
|
| 1463 |
+
917
|
| 1464 |
+
],
|
| 1465 |
+
"page_idx": 7
|
| 1466 |
+
},
|
| 1467 |
+
{
|
| 1468 |
+
"type": "page_number",
|
| 1469 |
+
"text": "11446",
|
| 1470 |
+
"bbox": [
|
| 1471 |
+
477,
|
| 1472 |
+
928,
|
| 1473 |
+
524,
|
| 1474 |
+
940
|
| 1475 |
+
],
|
| 1476 |
+
"page_idx": 7
|
| 1477 |
+
},
|
| 1478 |
+
{
|
| 1479 |
+
"type": "text",
|
| 1480 |
+
"text": "large-scale image-text pairs can ignore the existence of noise. E5 (Wang et al., 2022) employs a consistency-based rule to filter the pre-training data. Although they slightly realized the existence of noisy pairs during pre-train, none of them give a specialized solution to solve it and extensively explored the characteristics of noisy text pairs. Some recent works (Huang et al., 2021; Han et al., 2023) study the noisy correspondence problem in cross-modal retrieval. Although the \"mismatched-pair noisy\" problem in cross-modal retrieval and text retrieval shares similarities, the specific settings and methods used in these two areas are notably distinct. It is challenging to directly apply these cross-modal retrieval works to document and code retrieval. Our NPC is the first systematic work to explore mismatched-pair noise in document/code retrieval.",
|
| 1481 |
+
"bbox": [
|
| 1482 |
+
112,
|
| 1483 |
+
84,
|
| 1484 |
+
492,
|
| 1485 |
+
374
|
| 1486 |
+
],
|
| 1487 |
+
"page_idx": 8
|
| 1488 |
+
},
|
| 1489 |
+
{
|
| 1490 |
+
"type": "text",
|
| 1491 |
+
"text": "6 Conclusion",
|
| 1492 |
+
"text_level": 1,
|
| 1493 |
+
"bbox": [
|
| 1494 |
+
112,
|
| 1495 |
+
388,
|
| 1496 |
+
247,
|
| 1497 |
+
404
|
| 1498 |
+
],
|
| 1499 |
+
"page_idx": 8
|
| 1500 |
+
},
|
| 1501 |
+
{
|
| 1502 |
+
"type": "text",
|
| 1503 |
+
"text": "This paper explores a neglected problem in dense retrieval, i.e., mismatched-pair noise. To solve this problem, we propose a generalized Noisy Pair Corrector(NPC) framework, which iteratively detects noisy pairs per epoch based on the perplexity and then provides rectified soft labels via an EMA model. The experimental results and analysis demonstrate the effectiveness of NPC in effectively handling both synthetic and realistic mismatched-pair noise.",
|
| 1504 |
+
"bbox": [
|
| 1505 |
+
112,
|
| 1506 |
+
414,
|
| 1507 |
+
489,
|
| 1508 |
+
575
|
| 1509 |
+
],
|
| 1510 |
+
"page_idx": 8
|
| 1511 |
+
},
|
| 1512 |
+
{
|
| 1513 |
+
"type": "text",
|
| 1514 |
+
"text": "Limitations",
|
| 1515 |
+
"text_level": 1,
|
| 1516 |
+
"bbox": [
|
| 1517 |
+
112,
|
| 1518 |
+
590,
|
| 1519 |
+
220,
|
| 1520 |
+
606
|
| 1521 |
+
],
|
| 1522 |
+
"page_idx": 8
|
| 1523 |
+
},
|
| 1524 |
+
{
|
| 1525 |
+
"type": "text",
|
| 1526 |
+
"text": "This work mainly focuses on training the dense retrieval models with mismatched noise. There may be two possible limitations in our study.",
|
| 1527 |
+
"bbox": [
|
| 1528 |
+
112,
|
| 1529 |
+
618,
|
| 1530 |
+
487,
|
| 1531 |
+
665
|
| 1532 |
+
],
|
| 1533 |
+
"page_idx": 8
|
| 1534 |
+
},
|
| 1535 |
+
{
|
| 1536 |
+
"type": "list",
|
| 1537 |
+
"sub_type": "text",
|
| 1538 |
+
"list_items": [
|
| 1539 |
+
"1) Due to the limited computing infrastructure, we only verified the robustness performance of NPC based on the classical retriever training framework. We leave experiments to combine NPC with more effective retriever training methods such as distillation (Ren et al., 2021), AR2 (Zhang et al., 2022a), as future work.",
|
| 1540 |
+
"2) Mismatched-pair noise may also exist in other tasks, such as recommender systems. We will consider extending NPC to more tasks."
|
| 1541 |
+
],
|
| 1542 |
+
"bbox": [
|
| 1543 |
+
112,
|
| 1544 |
+
668,
|
| 1545 |
+
489,
|
| 1546 |
+
829
|
| 1547 |
+
],
|
| 1548 |
+
"page_idx": 8
|
| 1549 |
+
},
|
| 1550 |
+
{
|
| 1551 |
+
"type": "text",
|
| 1552 |
+
"text": "Acknowledgement",
|
| 1553 |
+
"text_level": 1,
|
| 1554 |
+
"bbox": [
|
| 1555 |
+
112,
|
| 1556 |
+
844,
|
| 1557 |
+
278,
|
| 1558 |
+
860
|
| 1559 |
+
],
|
| 1560 |
+
"page_idx": 8
|
| 1561 |
+
},
|
| 1562 |
+
{
|
| 1563 |
+
"type": "text",
|
| 1564 |
+
"text": "This work is supported by the Fundamental Research Funds for the Central Universities under Grant 1082204112364 and the Key Program of the",
|
| 1565 |
+
"bbox": [
|
| 1566 |
+
112,
|
| 1567 |
+
871,
|
| 1568 |
+
489,
|
| 1569 |
+
917
|
| 1570 |
+
],
|
| 1571 |
+
"page_idx": 8
|
| 1572 |
+
},
|
| 1573 |
+
{
|
| 1574 |
+
"type": "text",
|
| 1575 |
+
"text": "National Science Foundation of China under Grant 61836006.",
|
| 1576 |
+
"bbox": [
|
| 1577 |
+
507,
|
| 1578 |
+
84,
|
| 1579 |
+
882,
|
| 1580 |
+
115
|
| 1581 |
+
],
|
| 1582 |
+
"page_idx": 8
|
| 1583 |
+
},
|
| 1584 |
+
{
|
| 1585 |
+
"type": "text",
|
| 1586 |
+
"text": "References",
|
| 1587 |
+
"text_level": 1,
|
| 1588 |
+
"bbox": [
|
| 1589 |
+
510,
|
| 1590 |
+
143,
|
| 1591 |
+
608,
|
| 1592 |
+
156
|
| 1593 |
+
],
|
| 1594 |
+
"page_idx": 8
|
| 1595 |
+
},
|
| 1596 |
+
{
|
| 1597 |
+
"type": "list",
|
| 1598 |
+
"sub_type": "ref_text",
|
| 1599 |
+
"list_items": [
|
| 1600 |
+
"Yingbin Bai, Erkun Yang, Bo Han, Yanhua Yang, Jia-tong Li, Yinian Mao, Gang Niu, and Tongliang Liu. 2021. Understanding and improving early stopping for learning with noisy labels. In NIPS.",
|
| 1601 |
+
"Dan Brickley, Matthew Burgess, and Natasha Noy. 2019. Google dataset search: Building a search engine for datasets in an open web ecosystem. In WWW.",
|
| 1602 |
+
"Wei-Cheng Chang, X Yu Felix, Yin-Wen Chang, Yiming Yang, and Sanjiv Kumar. 2019. Pre-training tasks for embedding-based large-scale retrieval. In International Conference on Learning Representations.",
|
| 1603 |
+
"Xuanang Chen, Jian Luo, Ben He, Le Sun, and Yingfei Sun. 2022. Towards robust dense retrieval via local ranking alignment. In Proceedings of the Thirty-First International Joint Conference on Artificial Intelligence, IJCAI, pages 1980-1986.",
|
| 1604 |
+
"Arthur P Dempster, Nan M Laird, and Donald B Rubin. 1977. Maximum likelihood from incomplete data via the em algorithm. Journal of the Royal Statistical Society: Series B (Methodological), 39(1):1-22.",
|
| 1605 |
+
"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).",
|
| 1606 |
+
"Zhangyin Feng, Daya Guo, Duyu Tang, Nan Duan, Xiaocheng Feng, Ming Gong, Linjun Shou, Bing Qin, Ting Liu, Daxin Jiang, and Ming Zhou. 2020. Codebert: A pre-trained model for programming and natural languages. In *Findings of the Association for Computational Linguistics: EMNLP* 2020, Online Event, 16-20 November 2020.",
|
| 1607 |
+
"Luyu Gao and Jamie Callan. 2021a. Is your language model ready for dense representation fine-tuning? arXiv preprint arXiv:2104.08253.",
|
| 1608 |
+
"Luyu Gao and Jamie Callan. 2021b. Unsupervised corpus aware language model pre-training for dense passage retrieval. arXiv preprint arXiv:2108.05540.",
|
| 1609 |
+
"Luyu Gao, Xueguang Ma, Jimmy Lin, and Jamie Callan. 2022. Precise zero-shot dense retrieval without relevance labels. CoRR.",
|
| 1610 |
+
"Aritra Ghosh, Himanshu Kumar, and P Shanti Sastry. 2017. Robust loss functions under label noise for deep neural networks. In Proceedings of the AAAI conference on artificial intelligence.",
|
| 1611 |
+
"Daya Guo, Shuai Lu, Nan Duan, Yanlin Wang, Ming Zhou, and Jian Yin. 2022. Unixcoder: Unified cross-modal pre-training for code representation. In ACL."
|
| 1612 |
+
],
|
| 1613 |
+
"bbox": [
|
| 1614 |
+
509,
|
| 1615 |
+
164,
|
| 1616 |
+
885,
|
| 1617 |
+
917
|
| 1618 |
+
],
|
| 1619 |
+
"page_idx": 8
|
| 1620 |
+
},
|
| 1621 |
+
{
|
| 1622 |
+
"type": "page_number",
|
| 1623 |
+
"text": "11447",
|
| 1624 |
+
"bbox": [
|
| 1625 |
+
477,
|
| 1626 |
+
927,
|
| 1627 |
+
524,
|
| 1628 |
+
940
|
| 1629 |
+
],
|
| 1630 |
+
"page_idx": 8
|
| 1631 |
+
},
|
| 1632 |
+
{
|
| 1633 |
+
"type": "list",
|
| 1634 |
+
"sub_type": "ref_text",
|
| 1635 |
+
"list_items": [
|
| 1636 |
+
"Daya Guo, Shuo Ren, Shuai Lu, Zhangyin Feng, Duyu Tang, Shujie Liu, Long Zhou, Nan Duan, Alexey Svyatkovskiy, Shengyu Fu, Michele Tufano, Shao Kun Deng, Colin B. Clement, Dawn Drain, Neel Sundaresan, Jian Yin, Daxin Jiang, and Ming Zhou. 2021. Graphcodebert: Pre-training code representations with data flow. In International Conference on Learning Representations.",
|
| 1637 |
+
"Bo Han, Quanming Yao, Tongliang Liu, Gang Niu, Ivor W Tsang, James T Kwok, and Masashi Sugiyama. 2020. A survey of label-noise representation learning: Past, present and future. arXiv preprint arXiv:2011.04406.",
|
| 1638 |
+
"Bo Han, Quanming Yao, Xingrui Yu, Gang Niu, Miao Xu, Weihua Hu, Ivor Tsang, and Masashi Sugiyama. 2018. Co-teaching: Robust training of deep neural networks with extremely noisy labels. In NIPS.",
|
| 1639 |
+
"Haochen Han, Kaiyao Miao, Qinghua Zheng, and Minnan Luo. 2023. Noisy correspondence learning with meta similarity correction. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 7517-7526.",
|
| 1640 |
+
"Xingwei He, Yeyun Gong, A Jin, Weizhen Qi, Hang Zhang, Jian Jiao, Bartuer Zhou, Biao Cheng, Siu Ming Yiu, Nan Duan, et al. 2022a. Metric-guided distillation: Distilling knowledge from the metric to ranker and retriever for generative commonsense reasoning. arXiv preprint arXiv:2210.11708.",
|
| 1641 |
+
"Xingwei He, Yeyun Gong, A Jin, Hang Zhang, Anlei Dong, Jian Jiao, Siu Ming Yiu, Nan Duan, et al. 2022b. Curriculum sampling for dense retrieval with document expansion. arXiv preprint arXiv:2212.09114.",
|
| 1642 |
+
"Xingwei He, Zhenghao Lin, Yeyun Gong, Alex Jin, Hang Zhang, Chen Lin, Jian Jiao, Siu Ming Yiu, Nan Duan, Weizhu Chen, et al. 2023. Annollm: Making large language models to be better crowdsourced annotators. arXiv preprint arXiv:2303.16854.",
|
| 1643 |
+
"Geert Heyman and Tom Van Cutsem. 2020. Neural code search revisited: Enhancing code snippet retrieval through natural language intent. arXiv preprint arXiv:2008.12193.",
|
| 1644 |
+
"Zhenyu Huang, Guocheng Niu, Xiao Liu, Wenbiao Ding, Xinyan Xiao, Hua Wu, and Xi Peng. 2021. Learning with noisy correspondence for cross-modal matching. Advances in Neural Information Processing Systems, 34:29406-29419.",
|
| 1645 |
+
"Gautier Izacard and Edouard Grave. 2020. Distilling knowledge from reader to retriever for question answering. arXiv preprint arXiv:2012.04584.",
|
| 1646 |
+
"Chao Jia, Yinfei Yang, Ye Xia, Yi-Ting Chen, Zarana Parekh, Hieu Pham, Quoc V. Le, Yun-Hsuan Sung, Zhen Li, and Tom Duerig. 2021. Scaling up visual and vision-language representation learning with noisy text supervision. In International Conference on Machine Learning."
|
| 1647 |
+
],
|
| 1648 |
+
"bbox": [
|
| 1649 |
+
115,
|
| 1650 |
+
85,
|
| 1651 |
+
489,
|
| 1652 |
+
917
|
| 1653 |
+
],
|
| 1654 |
+
"page_idx": 9
|
| 1655 |
+
},
|
| 1656 |
+
{
|
| 1657 |
+
"type": "list",
|
| 1658 |
+
"sub_type": "ref_text",
|
| 1659 |
+
"list_items": [
|
| 1660 |
+
"Jeff Johnson, Matthijs Douze, and Hervé Jégou. 2019. Billion-scale similarity search with gpus. IEEE Transactions on Big Data, 7(3):535-547.",
|
| 1661 |
+
"Mandar Joshi, Eunsol Choi, Daniel S. Weld, and Luke Zettlemoyer. 2017. Triviaqa: A large scale distantly supervised challenge dataset for reading comprehension. In ACL.",
|
| 1662 |
+
"Vladimir Karpukhin, Barlas Oğuz, Sewon Min, Patrick Lewis, Ledell Wu, Sergey Edunov, Danqi Chen, and Wen-tau Yih. 2020a. Dense passage retrieval for open-domain question answering. arXiv preprint arXiv:2004.04906.",
|
| 1663 |
+
"Vladimir Karpukhin, Barlas Oguz, Sewon Min, Patrick S. H. Lewis, Ledell Wu, Sergey Edunov, Danqi Chen, and Wen-tau Yih. 2020b. Dense passage retrieval for open-domain question answering. In EMNLP.",
|
| 1664 |
+
"Tom Kwiatkowski, Jennimaria Palomaki, Olivia Redfield, Michael Collins, Ankur P. 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. Trans. Assoc. Comput. Linguistics, 7:452-466.",
|
| 1665 |
+
"Kenton Lee, Ming-Wei Chang, and Kristina Toutanova. 2019. Latent retrieval for weakly supervised open domain question answering. In Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics.",
|
| 1666 |
+
"Xiaonan Li, Yeyun Gong, Yelong Shen, Xipeng Qiu, Hang Zhang, Bolun Yao, Weizhen Qi, Daxin Jiang, Weizhu Chen, and Nan Duan. 2022. Coderetriever: Unimodal and bimodal contrastive learning. arXiv preprint arXiv:2201.10866.",
|
| 1667 |
+
"Kevin J Liang, Samrudhdhi B. Rangrej, Vladan Petrovic, and Tal Hassner. 2022. Few-shot learning with noisy labels. 2022 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 9079-9088.",
|
| 1668 |
+
"Yinhan Liu, Myle Ott, Naman Goyal, Jingfei Du, Mandar Joshi, Danqi Chen, Omer Levy, Mike Lewis, Luke Zettlemoyer, and Veselin Stoyanov. 2019. Roberta: A robustly optimized bert pretraining approach. arXiv preprint arXiv:1907.11692.",
|
| 1669 |
+
"Shuqi Lu, Di He, Chenyan Xiong, Guolin Ke, Waleed Malik, Zhicheng Dou, Paul Bennett, Tie-Yan Liu, and Arnold Overwijk. 2021. Less is more: Pretrain a strong siamese encoder for dense text retrieval using a weak decoder. In Empirical Methods in Natural Language Processing.",
|
| 1670 |
+
"Xingjun Ma, Hanxun Huang, Yisen Wang, Simone Romano, Sarah Erfani, and James Bailey. 2020. Normalized loss functions for deep learning with noisy labels. In ICML."
|
| 1671 |
+
],
|
| 1672 |
+
"bbox": [
|
| 1673 |
+
510,
|
| 1674 |
+
85,
|
| 1675 |
+
882,
|
| 1676 |
+
917
|
| 1677 |
+
],
|
| 1678 |
+
"page_idx": 9
|
| 1679 |
+
},
|
| 1680 |
+
{
|
| 1681 |
+
"type": "page_number",
|
| 1682 |
+
"text": "11448",
|
| 1683 |
+
"bbox": [
|
| 1684 |
+
477,
|
| 1685 |
+
928,
|
| 1686 |
+
524,
|
| 1687 |
+
940
|
| 1688 |
+
],
|
| 1689 |
+
"page_idx": 9
|
| 1690 |
+
},
|
| 1691 |
+
{
|
| 1692 |
+
"type": "list",
|
| 1693 |
+
"sub_type": "ref_text",
|
| 1694 |
+
"list_items": [
|
| 1695 |
+
"Xinyu Ma, Jiafeng Guo, Ruqing Zhang, Yixing Fan, and Xueqi Cheng. 2022. Pre-train a discriminative text encoder for dense retrieval via contrastive span prediction. In SIGIR '22: The 45th International ACM SIGIR Conference on Research and Development in Information Retrieval, Madrid, Spain, July 11 - 15, 2022.",
|
| 1696 |
+
"Jayavardhan Reddy Peddamail, Ziyu Yao, Zhen Wang, and Huan Sun. 2018. A comprehensive study of staqc for deep code summarization. In KDD.",
|
| 1697 |
+
"Yingqi Qu, Yuchen Ding, Jing Liu, Kai Liu, Ruiyang Ren, Wayne Xin Zhao, Daxiang Dong, Hua Wu, and Haifeng Wang. 2021. Rocketqa: An optimized training approach to dense passage retrieval for open-domain question answering. In NAACL-HLT.",
|
| 1698 |
+
"Alec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh, Gabriel Goh, Sandhini Agarwal, Girish Sastry, Amanda Askell, Pamela Mishkin, Jack Clark, Gretchen Krueger, and Ilya Sutskever. 2021. Learning transferable visual models from natural language supervision. In ICML.",
|
| 1699 |
+
"Ruiyang Ren, Yingqi Qu, Jing Liu, Wayne Xin Zhao, Qiaoqiao She, Hua Wu, Haifeng Wang, and Ji-Rong Wen. 2021. Rocketqav2: A joint training method for dense passage retrieval and passage re-ranking. In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing, pages 2825-2835.",
|
| 1700 |
+
"Devendra Singh Sachan, Mike Lewis, Dani Yogatama, Luke Zettlemoyer, Joelle Pineau, and Manzil Zaheer. 2022. Questions are all you need to train a dense passage retriever. CoRR.",
|
| 1701 |
+
"Devendra Singh Sachan, Mostofa Patwary, Mohammad Shoeybi, Neel Kant, Wei Ping, William L. Hamilton, and Bryan Catanzaro. 2021. End-to-end training of neural retrievers for open-domain question answering. In ACL/IJCNLP.",
|
| 1702 |
+
"Tao Shen, Xiubo Geng, Chongyang Tao, Can Xu, Guodong Long, Kai Zhang, and Daxin Jiang. 2023. Unifier: A unified retriever for large-scale retrieval. In Proceedings of the 29th ACM SIGKDD Conference on Knowledge Discovery and Data Mining, pages 4787-4799.",
|
| 1703 |
+
"Yelong Shen, Xiaodong He, Jianfeng Gao, Li Deng, and Grégoire Mesnil. 2014. Learning semantic representations using convolutional neural networks for web search. In Proceedings of the 23rd international conference on world wide web, pages 373-374.",
|
| 1704 |
+
"Amila Silva, Ling Luo, Shanika Karunasekera, and Christopher Leckie. 2022. Noise-robust learning from multiple unsupervised sources of inferred labels. In AAAI Conference on Artificial Intelligence.",
|
| 1705 |
+
"Liang Wang, Nan Yang, Xiaolong Huang, Binxing Jiao, Linjun Yang, Daxin Jiang, Rangan Majumder, and Furu Wei. 2022. Text embeddings by weakly-supervised contrastive pre-training. ArXiv, abs/2212.03533."
|
| 1706 |
+
],
|
| 1707 |
+
"bbox": [
|
| 1708 |
+
115,
|
| 1709 |
+
85,
|
| 1710 |
+
489,
|
| 1711 |
+
917
|
| 1712 |
+
],
|
| 1713 |
+
"page_idx": 10
|
| 1714 |
+
},
|
| 1715 |
+
{
|
| 1716 |
+
"type": "list",
|
| 1717 |
+
"sub_type": "ref_text",
|
| 1718 |
+
"list_items": [
|
| 1719 |
+
"Thomas Wolf, Lysandre Debut, Victor Sanh, Julien Chaumont, Clement Delangue, Anthony Moi, Pierric Cistac, Tim Rault, Rémi Louf, Morgan Funtowicz, Joe Davison, Sam Shleifer, Patrick von Platen, Clara Ma, Yacine Jernite, Julien Plu, Canwen Xu, Teven Le Scao, Sylvain Gugger, Mariama Drame, Quentin Lhoest, and Alexander M. Rush. 2020. Transformers: State-of-the-art natural language processing. In EMNLP.",
|
| 1720 |
+
"Lee Xiong, Chenyan Xiong, Ye Li, Kwok-Fung Tang, Jialin Liu, Paul Bennett, Junaid Ahmed, and Arnold Overwijk. 2021. Approximate nearest neighbor negative contrastive learning for dense text retrieval. In International Conference on Learning Representations.",
|
| 1721 |
+
"Peilin Yang, Hui Fang, and Jimmy Lin. 2017. Anserini: Enabling the use of lucene for information retrieval research. In Proceedings of the 40th international ACM SIGIR conference on research and development in information retrieval.",
|
| 1722 |
+
"Sohee Yang and Minjoon Seo. 2020. Is retriever merely an approximator of reader? arXiv preprint arXiv:2010.10999.",
|
| 1723 |
+
"Ziyu Yao, Daniel S Weld, Wei-Peng Chen, and Huan Sun. 2018. Staqc: A systematically mined questioncode dataset from stack overflow. In WWW.",
|
| 1724 |
+
"Hansi Zeng, Hamed Zamani, and Vishwa Vinay. 2022. Curriculum learning for dense retrieval distillation. In SIGIR '22: The 45th International ACM SIGIR Conference on Research and Development in Information Retrieval, Madrid, Spain, July 11 - 15, 2022.",
|
| 1725 |
+
"Hang Zhang, Yeyun Gong, Yelong Shen, Weisheng Li, Jiancheng Lv, Nan Duan, and Weizhu Chen. 2021. Poolingformer: Long document modeling with pooling attention. In International Conference on Machine Learning, pages 12437-12446. PMLR.",
|
| 1726 |
+
"Hang Zhang, Yeyun Gong, Yelong Shen, Jiancheng Lv, Nan Duan, and Weizhu Chen. 2022a. Adversarial retriever-ranker for dense text retrieval. In International Conference on Learning Representations.",
|
| 1727 |
+
"Kai Zhang, Chongyang Tao, Tao Shen, Can Xu, Xiubo Geng, Binxing Jiao, and Daxin Jiang. 2023. Led: Lexicon-enlightened dense retriever for large-scale retrieval. In Proceedings of the ACM Web Conference 2023, pages 3203-3213.",
|
| 1728 |
+
"Shunyu Zhang, Yaobo Liang, Ming Gong, Daxin Jiang, and Nan Duan. 2022b. Multi-view document representation learning for open-domain dense retrieval. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers)."
|
| 1729 |
+
],
|
| 1730 |
+
"bbox": [
|
| 1731 |
+
510,
|
| 1732 |
+
85,
|
| 1733 |
+
882,
|
| 1734 |
+
846
|
| 1735 |
+
],
|
| 1736 |
+
"page_idx": 10
|
| 1737 |
+
},
|
| 1738 |
+
{
|
| 1739 |
+
"type": "page_number",
|
| 1740 |
+
"text": "11449",
|
| 1741 |
+
"bbox": [
|
| 1742 |
+
477,
|
| 1743 |
+
928,
|
| 1744 |
+
524,
|
| 1745 |
+
940
|
| 1746 |
+
],
|
| 1747 |
+
"page_idx": 10
|
| 1748 |
+
},
|
| 1749 |
+
{
|
| 1750 |
+
"type": "text",
|
| 1751 |
+
"text": "A Qualitative Analysis",
|
| 1752 |
+
"text_level": 1,
|
| 1753 |
+
"bbox": [
|
| 1754 |
+
114,
|
| 1755 |
+
84,
|
| 1756 |
+
327,
|
| 1757 |
+
99
|
| 1758 |
+
],
|
| 1759 |
+
"page_idx": 11
|
| 1760 |
+
},
|
| 1761 |
+
{
|
| 1762 |
+
"type": "text",
|
| 1763 |
+
"text": "Table 9 lists some mismatched pairs detected by NPC in StaQC training set. We can see that these mismatched pairs are almost irrelevant and can be correctly detected by NPC. These examples are not well aligned, mainly due to the low-quality answers of the open community (cases 2 and 4), inappropriate data preprocessing in the collection phase (cases 2 and 3), and other reasons. It is well known that collecting and cleaning training data is expensive and complex work. Automatically constructed datasets in real-world applications often contain such mismatched-pair noise. Our method can mitigate the impact caused by such noise during training.",
|
| 1764 |
+
"bbox": [
|
| 1765 |
+
112,
|
| 1766 |
+
116,
|
| 1767 |
+
489,
|
| 1768 |
+
341
|
| 1769 |
+
],
|
| 1770 |
+
"page_idx": 11
|
| 1771 |
+
},
|
| 1772 |
+
{
|
| 1773 |
+
"type": "text",
|
| 1774 |
+
"text": "B Statistics of Datasets",
|
| 1775 |
+
"text_level": 1,
|
| 1776 |
+
"bbox": [
|
| 1777 |
+
114,
|
| 1778 |
+
362,
|
| 1779 |
+
331,
|
| 1780 |
+
378
|
| 1781 |
+
],
|
| 1782 |
+
"page_idx": 11
|
| 1783 |
+
},
|
| 1784 |
+
{
|
| 1785 |
+
"type": "text",
|
| 1786 |
+
"text": "The statistics of datasets are shown in Table 6.",
|
| 1787 |
+
"bbox": [
|
| 1788 |
+
112,
|
| 1789 |
+
395,
|
| 1790 |
+
458,
|
| 1791 |
+
410
|
| 1792 |
+
],
|
| 1793 |
+
"page_idx": 11
|
| 1794 |
+
},
|
| 1795 |
+
{
|
| 1796 |
+
"type": "table",
|
| 1797 |
+
"img_path": "images/7887df5e9a08c0bb7e0248bca0fe09db2d200870ac8ff813537c70607f42de1e.jpg",
|
| 1798 |
+
"table_caption": [],
|
| 1799 |
+
"table_footnote": [],
|
| 1800 |
+
"table_body": "<table><tr><td>Dataset</td><td>Train</td><td>Dev</td><td>Test</td><td>Corpus size</td></tr><tr><td>StaQC</td><td>203.7K</td><td>2.6K</td><td>2.7K</td><td>14.6K</td></tr><tr><td>SO-DS</td><td>12.1K</td><td>0.9K</td><td>1.1K</td><td>12.1K</td></tr><tr><td>NQ</td><td>79.2K</td><td>8,8K</td><td>3.6K</td><td>21 M</td></tr><tr><td>TQ</td><td>78.8K</td><td>8.8k</td><td>11.3K</td><td>21 M</td></tr></table>",
|
| 1801 |
+
"bbox": [
|
| 1802 |
+
131,
|
| 1803 |
+
425,
|
| 1804 |
+
470,
|
| 1805 |
+
513
|
| 1806 |
+
],
|
| 1807 |
+
"page_idx": 11
|
| 1808 |
+
},
|
| 1809 |
+
{
|
| 1810 |
+
"type": "text",
|
| 1811 |
+
"text": "C Discussion about Perplexity",
|
| 1812 |
+
"text_level": 1,
|
| 1813 |
+
"bbox": [
|
| 1814 |
+
114,
|
| 1815 |
+
596,
|
| 1816 |
+
391,
|
| 1817 |
+
614
|
| 1818 |
+
],
|
| 1819 |
+
"page_idx": 11
|
| 1820 |
+
},
|
| 1821 |
+
{
|
| 1822 |
+
"type": "text",
|
| 1823 |
+
"text": "We calculate the perplexity between the annotated document and easy negative documents during noise detection. We emphasize that the negative documents are randomly selected from the document collection $\\mathbb{D}$ . It is not suitable to adopt \"Hard Negative\" sampling strategy when calculating the perplexity. Although hard negatives are important to train a strong dense retriever, they will cause trouble during noise detection. Specifically, it is expected that the retriever is confused only between false positive and negative documents and can confidently distinguish true positive and negative documents. But if we adopt \"Hard Negative\" when calculating the perplexity, the retriever will also be confused between true positive and hard negative documents, which will affect noise detection. We construct ablation experiments to verify this, and the results are shown in Table 5.",
|
| 1824 |
+
"bbox": [
|
| 1825 |
+
112,
|
| 1826 |
+
629,
|
| 1827 |
+
489,
|
| 1828 |
+
917
|
| 1829 |
+
],
|
| 1830 |
+
"page_idx": 11
|
| 1831 |
+
},
|
| 1832 |
+
{
|
| 1833 |
+
"type": "text",
|
| 1834 |
+
"text": "D Integration with stronger methods",
|
| 1835 |
+
"text_level": 1,
|
| 1836 |
+
"bbox": [
|
| 1837 |
+
509,
|
| 1838 |
+
84,
|
| 1839 |
+
845,
|
| 1840 |
+
99
|
| 1841 |
+
],
|
| 1842 |
+
"page_idx": 11
|
| 1843 |
+
},
|
| 1844 |
+
{
|
| 1845 |
+
"type": "text",
|
| 1846 |
+
"text": "We conducted comprehensive experiments that integrated NPC into coCondenser and RocketQAv2. The subsequent experiments were conducted on the NQ dataset with a $50\\%$ noise ratio. We first combined NPC with coCondenser which is a pretrained model specialized for dense retrieval tasks. The results are shown in Table 7",
|
| 1847 |
+
"bbox": [
|
| 1848 |
+
507,
|
| 1849 |
+
109,
|
| 1850 |
+
885,
|
| 1851 |
+
219
|
| 1852 |
+
],
|
| 1853 |
+
"page_idx": 11
|
| 1854 |
+
},
|
| 1855 |
+
{
|
| 1856 |
+
"type": "table",
|
| 1857 |
+
"img_path": "images/6f0713bfef298a91afdd6eede55bf7315a19f503cab5861c447e3ec519d4d314.jpg",
|
| 1858 |
+
"table_caption": [
|
| 1859 |
+
"Table 6: The statistics of datasets. Corpus size means the size of document corpus for evaluation."
|
| 1860 |
+
],
|
| 1861 |
+
"table_footnote": [],
|
| 1862 |
+
"table_body": "<table><tr><td></td><td>R@1</td><td>R@5</td><td>R@20</td><td>R@100</td></tr><tr><td colspan=\"5\">BM25 Negative</td></tr><tr><td>coCondenser</td><td>18.28</td><td>36.37</td><td>52.01</td><td>65.92</td></tr><tr><td>coCondenser-C</td><td>44.75</td><td>68.91</td><td>80.89</td><td>87.31</td></tr><tr><td>coCondenser+NPC</td><td>47.31</td><td>70.38</td><td>81.58</td><td>87.38</td></tr><tr><td colspan=\"5\">Hard Negative</td></tr><tr><td>coCondenser</td><td>24.55</td><td>44.16</td><td>56.69</td><td>68.72</td></tr><tr><td>coCondenser-C</td><td>49.31</td><td>71.99</td><td>82.41</td><td>88.38</td></tr><tr><td>coCondenser+NPC</td><td>50.66</td><td>72.42</td><td>82.64</td><td>88.31</td></tr></table>",
|
| 1863 |
+
"bbox": [
|
| 1864 |
+
514,
|
| 1865 |
+
229,
|
| 1866 |
+
884,
|
| 1867 |
+
357
|
| 1868 |
+
],
|
| 1869 |
+
"page_idx": 11
|
| 1870 |
+
},
|
| 1871 |
+
{
|
| 1872 |
+
"type": "text",
|
| 1873 |
+
"text": "It's evident that NPC significantly enhances the robustness of coCondenser against noise associated with mismatched pairs. This observation underscores the compatibility between NPC and pretrained dense retrievers.",
|
| 1874 |
+
"bbox": [
|
| 1875 |
+
507,
|
| 1876 |
+
414,
|
| 1877 |
+
882,
|
| 1878 |
+
494
|
| 1879 |
+
],
|
| 1880 |
+
"page_idx": 11
|
| 1881 |
+
},
|
| 1882 |
+
{
|
| 1883 |
+
"type": "text",
|
| 1884 |
+
"text": "Furthermore, we combined NPC with RocketQAv2 which adopted a cross-encoder as a teacher and dynamically distilled knowledge to the dense retriever. The results are shown in Table 8:",
|
| 1885 |
+
"bbox": [
|
| 1886 |
+
507,
|
| 1887 |
+
495,
|
| 1888 |
+
882,
|
| 1889 |
+
558
|
| 1890 |
+
],
|
| 1891 |
+
"page_idx": 11
|
| 1892 |
+
},
|
| 1893 |
+
{
|
| 1894 |
+
"type": "table",
|
| 1895 |
+
"img_path": "images/c14a2b6e50fa00f68f3a969a6eada738eb54059077ab275b005b8c7a1a445dd7.jpg",
|
| 1896 |
+
"table_caption": [
|
| 1897 |
+
"Table 7: Retrieval performance on NQ after combining NPC with coCondenser."
|
| 1898 |
+
],
|
| 1899 |
+
"table_footnote": [],
|
| 1900 |
+
"table_body": "<table><tr><td></td><td>R@1</td><td>R@5</td><td>R@20</td><td>R@100</td></tr><tr><td>RocketQAv2</td><td>32.30</td><td>51.37</td><td>62.19</td><td>70.79</td></tr><tr><td>RocketQAv2-C</td><td>52.63</td><td>73.51</td><td>83.21</td><td>88.71</td></tr><tr><td>RocketQAv2+NPC</td><td>52.59</td><td>73.83</td><td>83.32</td><td>88.69</td></tr></table>",
|
| 1901 |
+
"bbox": [
|
| 1902 |
+
514,
|
| 1903 |
+
567,
|
| 1904 |
+
880,
|
| 1905 |
+
627
|
| 1906 |
+
],
|
| 1907 |
+
"page_idx": 11
|
| 1908 |
+
},
|
| 1909 |
+
{
|
| 1910 |
+
"type": "text",
|
| 1911 |
+
"text": "Table 8: Retrieval performance on NQ after combining NPC with RocketQAv2.",
|
| 1912 |
+
"bbox": [
|
| 1913 |
+
507,
|
| 1914 |
+
636,
|
| 1915 |
+
880,
|
| 1916 |
+
665
|
| 1917 |
+
],
|
| 1918 |
+
"page_idx": 11
|
| 1919 |
+
},
|
| 1920 |
+
{
|
| 1921 |
+
"type": "text",
|
| 1922 |
+
"text": "To combine NPC with RocketQAv2, we integrate the noise detection and the correction modules in each training epoch of RocketQAv2. From the table, we can find that although RocketQAv2 uses a powerful cross-encoder as a teacher, it is still limited by the noise of the training data and shows low performance. NPC can effectively harmonize with RocketQAv2 to mitigate the problems caused by mismatched pair noise. We will add these experiment results to the next version.",
|
| 1923 |
+
"bbox": [
|
| 1924 |
+
507,
|
| 1925 |
+
684,
|
| 1926 |
+
882,
|
| 1927 |
+
844
|
| 1928 |
+
],
|
| 1929 |
+
"page_idx": 11
|
| 1930 |
+
},
|
| 1931 |
+
{
|
| 1932 |
+
"type": "page_number",
|
| 1933 |
+
"text": "11450",
|
| 1934 |
+
"bbox": [
|
| 1935 |
+
477,
|
| 1936 |
+
927,
|
| 1937 |
+
524,
|
| 1938 |
+
940
|
| 1939 |
+
],
|
| 1940 |
+
"page_idx": 11
|
| 1941 |
+
},
|
| 1942 |
+
{
|
| 1943 |
+
"type": "table",
|
| 1944 |
+
"img_path": "images/013248572b5114b398641d8ed44af23db091529f116f4c49f6b702063a6f4128.jpg",
|
| 1945 |
+
"table_caption": [],
|
| 1946 |
+
"table_footnote": [],
|
| 1947 |
+
"table_body": "<table><tr><td></td><td>Question</td><td>Code</td></tr><tr><td>1</td><td>Split words in a nested list into letters</td><td>» [list(l[0]) for l in mylist]</td></tr><tr><td>2</td><td>Dictionary in python problem</td><td>» s = problem.getSuccessors( getStartState())</td></tr><tr><td>3</td><td>Find the Common first name from Django Auth user Model</td><td>» import operator</td></tr><tr><td>4</td><td>Find all text files not containing some text string</td><td>» lst = [1,2,4,6,3,8,0,5] \n» for n in lst[:]: \n» if n % 2 == 0: \n»>>> lst.remove(n) \n» lst</td></tr></table>",
|
| 1948 |
+
"bbox": [
|
| 1949 |
+
114,
|
| 1950 |
+
395,
|
| 1951 |
+
882,
|
| 1952 |
+
576
|
| 1953 |
+
],
|
| 1954 |
+
"page_idx": 12
|
| 1955 |
+
},
|
| 1956 |
+
{
|
| 1957 |
+
"type": "text",
|
| 1958 |
+
"text": "Table 9: Some noisy pairs detected by NPC in StaQC training set.",
|
| 1959 |
+
"bbox": [
|
| 1960 |
+
273,
|
| 1961 |
+
585,
|
| 1962 |
+
722,
|
| 1963 |
+
600
|
| 1964 |
+
],
|
| 1965 |
+
"page_idx": 12
|
| 1966 |
+
},
|
| 1967 |
+
{
|
| 1968 |
+
"type": "page_number",
|
| 1969 |
+
"text": "11451",
|
| 1970 |
+
"bbox": [
|
| 1971 |
+
477,
|
| 1972 |
+
928,
|
| 1973 |
+
522,
|
| 1974 |
+
940
|
| 1975 |
+
],
|
| 1976 |
+
"page_idx": 12
|
| 1977 |
+
}
|
| 1978 |
+
]
|
2023/Noisy Pair Corrector for Dense Retrieval/ff6504db-4532-48dc-8468-050b9abe58d7_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2023/Noisy Pair Corrector for Dense Retrieval/ff6504db-4532-48dc-8468-050b9abe58d7_origin.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:921869deba6db20b6db9ea4928326374e8e8b483585df1e9ef38de967e8314c9
|
| 3 |
+
size 1539262
|
2023/Noisy Pair Corrector for Dense Retrieval/full.md
ADDED
|
@@ -0,0 +1,388 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Noisy Pair Corrector for Dense Retrieval
|
| 2 |
+
|
| 3 |
+
Hang Zhang $^{1}$ , Yeyun Gong, Xingwei He $^{†2}$ , Dayiheng Liu $^{1}$ , Daya Guo $^{3}$ , Jiancheng Lv $^{†1}$ , Jian Guo $^{†4}$
|
| 4 |
+
|
| 5 |
+
<sup>1</sup> College of Computer Science, Sichuan University
|
| 6 |
+
|
| 7 |
+
<sup>1</sup> Engineering Research Center of Machine Learning and Industry Intelligence
|
| 8 |
+
<sup>2</sup> The University of Hong Kong <sup>3</sup> Sun Yat-sen University <sup>4</sup> IDEA Research, China hangzhang_scu@foxmail.com, hexingwei15@gmail.com
|
| 9 |
+
|
| 10 |
+
# Abstract
|
| 11 |
+
|
| 12 |
+
Most dense retrieval models contain an implicit assumption: the training query-document pairs are exactly matched. Since it is expensive to annotate the corpus manually, training pairs in real-world applications are usually collected automatically, which inevitably introduces mismatched-pair noise. In this paper, we explore an interesting and challenging problem in dense retrieval, how to train an effective model with mismatched-pair noise. To solve this problem, we propose a novel approach called Noisy Pair Corrector (NPC), which consists of a detection module and a correction module. The detection module estimates noise pairs by calculating the perplexity between annotated positive and easy negative documents. The correction module utilizes an exponential moving average (EMA) model to provide a soft supervised signal, aiding in mitigating the effects of noise. We conduct experiments on text-retrieval benchmarks Natural Question and TriviaQA, code-search benchmarks StaQC and SO-DS. Experimental results show that NPC achieves excellent performance in handling both synthetic and realistic noise.
|
| 13 |
+
|
| 14 |
+
# 1 Introduction
|
| 15 |
+
|
| 16 |
+
With the advancements in pre-trained language models (Devlin et al., 2019; Liu et al., 2019), dense retrieval has developed rapidly in recent years. It is essential to many applications including search engine (Brickley et al., 2019), open-domain question answering (Karpukhin et al., 2020a; Zhang et al., 2021), and code intelligence (Guo et al., 2021). A typical dense retrieval model maps both queries and documents into a low-dimensional vector space and measures the relevance between them by the similarity between their respective representations (Shen et al., 2014). During training, the model utilizes query-document pairs as labelled
|
| 17 |
+
|
| 18 |
+

|
| 19 |
+
Figure 1: Two examples from StaQC training set. In the bottom example, the given code is mismatched with the query, since it can not answer the query.
|
| 20 |
+
|
| 21 |
+
training data (Xiong et al., 2021) and samples negative documents for each pair. Then the model learns to minimize the contrastive loss for obtaining a good representation ability (Zhang et al., 2022b; Qu et al., 2021).
|
| 22 |
+
|
| 23 |
+
Recent studies on dense retrieval have achieved promising results with hard negative mining (Xiong et al., 2021), pretraining (Gao and Callan, 2021a), distillation (Yang and Seo, 2020), and adversarial training (Zhang et al., 2022a). All methods contain an implicit assumption: each query is precisely aligned with the positive documents in the training set. In practical applications, this assumption becomes challenging to satisfy, particularly when the corpora is automatically collected from the internet. In such scenarios, it is inevitable that the training data will contain mismatched pairs, incorporating instances such as user mis-click noise in search engines or low-quality reply noise in Q&A communities. As shown in Fig. 1, the examples are from StaQC benchmark (Yao et al., 2018), which is automatically collected from StackOverflow. The document, i.e., code solution, can not answer the query but is incorrectly annotated as a positive doc
|
| 24 |
+
|
| 25 |
+

|
| 26 |
+
Figure 2: Effect of matched & mismatched pair for training. Green objects refer to annotated pairs, while pentagram and triangle are actually aligned pairs. In the left case, retrieval models are required to push the query with true-positive document (TP Doc) together and pull the query with true-negative documents (TN Doc) apart. In the right case, the retrieval models are misled by the mismatched data pair, where the false-positive document (FP Doc) and the false-negative document (FN Doc) are wrongly pulled and pushed, respectively.
|
| 27 |
+
|
| 28 |
+
uments. Such noisy pairs are widely present in automatically constructed datasets, which ultimately impact the performance of dense retrievers.
|
| 29 |
+
|
| 30 |
+
To train robust dense retrievers, previous works have explored addressing various types of noise. For example, RocketQA (Qu et al., 2021) and AR2 (Zhang et al., 2022a) mitigate the false-negative noise with a cross-encoder filter and distillation, respectively; coCondenser (Gao and Callan, 2021b) reduce the noise during fine-tuning with pre-training technique; RoDR (Chen et al., 2022) deal with query spelling noise with local ranking alignment. However, mismatched-pair noise (false positive problem) in dense retrieval has not been well studied. As shown in Fig. 2, mismatched-pair noise will mislead the retriever to update in the opposite direction.
|
| 31 |
+
|
| 32 |
+
Based on these observations, we propose a Noisy Pair Corrector (NPC) framework to solve the false-positive problem. NPC consists of noise detection and correction modules. At each epoch, the detection module estimates whether a query-document pair is mismatched by the perplexity between the annotated document and easy negative documents. Then the correction module provides a soft supervised signal for both estimated noisy data and clean data via an exponential moving average (EMA) model. Both modules are plug-and-play, which means NPC is a general training paradigm that can be easily applied to almost all retrieval models.
|
| 33 |
+
|
| 34 |
+
The contributions of this paper are as follows: (1)
|
| 35 |
+
|
| 36 |
+
We reveal and extensively explore a long-neglected problem in dense retrieval, i.e., mismatched-pair noise, which is ubiquitous in the real world. (2) We propose a simple yet effective method for training dense retrievers with mismatched-pair noise. (3) Extensive experiments on four datasets and comprehensive analyses verify the effectiveness of our method against synthetic and realistic noise. Code is available at https://github.com/hangzhang-nlp/NPC.
|
| 37 |
+
|
| 38 |
+
# 2 Preliminary
|
| 39 |
+
|
| 40 |
+
Before describing our model in detail, we first introduce the basic elements of dense retrieval, including problem definition, model architecture, and model training.
|
| 41 |
+
|
| 42 |
+
Given a query $q$ , and a document collection $\mathbb{D}$ , dense retrieval aims to find document $d^{+}$ relevant to $q$ from $\mathbb{D}$ . The training set consists of a collection of query-document pairs, donated as $C = \{(q_{1}, d_{1}^{+}), \dots, (q_{N}, d_{N}^{+})\}$ , where $N$ is the data size. Typical dense retrieval models adopt a dual encoder architecture to map queries and documents into a dense representation space. Then the relevance score $f(q, d)$ of query $q$ and document $d$ can be calculated with their dense representations:
|
| 43 |
+
|
| 44 |
+
$$
|
| 45 |
+
f _ {\theta} (q, d) = \operatorname {s i m} \left(E (q; \theta), E (d; \theta)\right), \tag {1}
|
| 46 |
+
$$
|
| 47 |
+
|
| 48 |
+
where $E(\cdot ;\theta)$ denotes the encoder module parameterized with $\theta$ and sim is the similarity function, e.g., euclidean distance, cosine distance, inner-product. Existing methods generally leverage the approximate nearest neighbor technique (ANN) (Johnson et al., 2019) for efficient search.
|
| 49 |
+
|
| 50 |
+
For training dense retrievers, conventional approaches leverage contrastive learning techniques (Karpukhin et al., 2020a; Zhang et al., 2022b). Given a training pair $(q_{i},d_{i}^{+})\in C$ , these methods sample $m$ negative documents $\{d_{i,1}^{-},\dots,d_{i,m}^{-}\}$ from a large document collection $\mathbb{D}$ . The retriever's objective is to minimize the contrastive loss, pushing the similarity of positive pairs higher than negative pairs. Previous work (Xiong et al., 2021) has verified the effectiveness of the negative sampling strategy. Two commonly employed strategies are "In-Batch Negative" and "Hard Negative" (Karpukhin et al., 2020a; Qu et al., 2021).
|
| 51 |
+
|
| 52 |
+
The above training paradigm assumes that the query-document pair $(q_{i},d_{i}^{+})$ in training set $C$ is correctly aligned. However, this assumption is difficult to satisfy in real-world applications (Qu et al.,
|
| 53 |
+
|
| 54 |
+

|
| 55 |
+
(a) Noise Detection
|
| 56 |
+
(b) Noise Correction
|
| 57 |
+
Figure 3: Overview of noise detection and noise correction. (a) Procedure of Noise Detection. At each epoch, we first calculate the perplexity of all training query-document pairs using the retriever $\theta$ ; next fit the perplexity distribution with Gaussian Mixture Model to get the correctly matched probability of each pair; finally estimate the flag set $\{\hat{y}_i\}_{i=1}^N$ by setting the threshold. (b) Framework of Noise Correction. Given a batch of data pairs, where $d_{i,1}^{-}$ is the hard negative of $q_i$ and $\{q_3, d_3^{+}\}$ is the estimated noisy pair, the retriever $\theta$ and teacher $\theta^*$ compute similarity matrices $S_\theta$ and $S_{\theta^*}$ for all queries and documents, respectively. The retriever learns to minimize (1) $L_{cont}$ : the negative likelihood probability of true positive documents; (2) $L_{cons}$ : the KL divergence between $S_\theta$ and the rectified soft label $S_{\theta^*}$ after normalization.
|
| 58 |
+
|
| 59 |
+
2021; Li et al., 2022; Wang et al., 2022). In practice, most training data pairs are collected automatically without manual inspection, such as inevitably leading to the inclusion of some mismatched pairs.
|
| 60 |
+
|
| 61 |
+
# 3 Method
|
| 62 |
+
|
| 63 |
+
We propose NPC framework to learn retrievers with mismatched-pair noise. As shown in Fig. 3, NPC consists of two parts: (a) the noise detection module as described in Sec. 3.1, and (b) the noise correction module as described in Sec. 3.2.
|
| 64 |
+
|
| 65 |
+
# 3.1 Noise Detection
|
| 66 |
+
|
| 67 |
+
The noise detection module is meant to detect mismatched pairs in the training set. We hypothesize that: dense retrievers will first learn to distinguish correctly matched pairs from easy negatives, and then gradually overfit the mismatched pairs. Therefore, we determine whether a training pair is mismatched by the perplexity between the annotated document and easy negative documents.
|
| 68 |
+
|
| 69 |
+
Specifically, given a retriever $\theta$ equipped with preliminary retrieval capabilities, and an uncertain pair $(q_{i},d_{i})$ , we calculate the perplexity as follows:
|
| 70 |
+
|
| 71 |
+
$$
|
| 72 |
+
P P L _ {\left(q _ {i}, d _ {i}, \theta\right)} = - \log \frac {e ^ {\tau f _ {\theta} \left(q _ {i} , d _ {i}\right)}}{e ^ {\tau f _ {\theta} \left(q _ {i} , d _ {i}\right)} + \sum_ {j = 1} ^ {m} e ^ {\tau f _ {\theta} \left(q _ {i} , d _ {i , j} ^ {-}\right)}}, \tag {2}
|
| 73 |
+
$$
|
| 74 |
+
|
| 75 |
+
where $\tau$ is a hyper-parameter, $d_{i,j}^{-}$ is the negative document randomly sampled from the document collection $\mathbb{D}$ . Note that $d_{i,j}^{-}$ is a randomly selected negative document, not a hard negative. We discuss
|
| 76 |
+
|
| 77 |
+
this further in Appendix C. In practice, we adopt the "In-Batch Negative" strategy for efficiency.
|
| 78 |
+
|
| 79 |
+
After obtaining the perplexity of each pair, an automated method is necessary to differentiate between the noise and the clean data. We note that there is a bimodal effect between the distribution of clean samples and the distribution of noisy samples. An example can be seen in Figure 4(b). Motivated by this, we fit the perplexity distribution over all training pairs with a two-component Gaussian Mixture Model (GMM):
|
| 80 |
+
|
| 81 |
+
$$
|
| 82 |
+
p (P P L \mid \theta) = \sum_ {k = 1} ^ {K} \pi_ {k} \phi (P P L \mid k), \tag {3}
|
| 83 |
+
$$
|
| 84 |
+
|
| 85 |
+
where $\pi_{k}$ and $\phi(PPL \mid k)$ are the mixture coefficient and the probability density of the $k$ -th component, respectively. We optimize the GMM with the Expectation-Maximization algorithm (Dempster et al., 1977).
|
| 86 |
+
|
| 87 |
+
Based on the above hypothesis, we treat training pairs with higher $PPL$ as noise and those with lower $PPL$ as clean data. So the estimated clean flag can be calculated as follows:
|
| 88 |
+
|
| 89 |
+
$$
|
| 90 |
+
\hat {y} _ {i} = \mathbb {I} \left(p (\kappa \mid P P L _ {\left(q _ {i}, d _ {i}, \theta\right)}) > \lambda\right), \tag {4}
|
| 91 |
+
$$
|
| 92 |
+
|
| 93 |
+
where $\hat{y}_i\in \{1,0\}$ denotes whether we estimate the pair $(q_i,d_i)$ to be correctly matched or not, $\kappa$ is the GMM component with the lower mean, $\lambda$ is the threshold. $p(\kappa \mid PPL_{(q_i,d_i,\theta)})$ is the posterior probability over the component $\kappa$ , which can be intuitively understood as the correctly annotated con
|
| 94 |
+
|
| 95 |
+
fidence. We set $\lambda$ to 0.5 in all experiments. Note that before noise detection, the retriever should equip with preliminary retrieval capabilities. This can be achieved by initializing it with a strong unsupervised retriever or by pre-training it on the entire noise dataset.
|
| 96 |
+
|
| 97 |
+
# 3.2 Noise Correction
|
| 98 |
+
|
| 99 |
+
Next, we will introduce how to reduce the impact of noise pairs after obtaining the estimated flag set $\{\hat{y}_i\}_{i=1}^N$ . One quick fix is to discard the noise data directly, which is sub-optimal since it wastes the query data in noisy pairs. In this work, we adopt a self-ensemble teacher to provide rectified soft labels for noisy pairs. The teacher is an exponential moving average (EMA) of the retriever, and the retriever is trained with a weight-averaged consistency target on noisy data.
|
| 100 |
+
|
| 101 |
+
Specifically, given a retriever $\theta$ , the teacher $\theta^{*}$ is updated with an exponential moving average strategy as follows:
|
| 102 |
+
|
| 103 |
+
$$
|
| 104 |
+
\theta_ {t} ^ {*} = \alpha \theta_ {t - 1} ^ {\star} + (1 - \alpha) \theta_ {t}, \tag {5}
|
| 105 |
+
$$
|
| 106 |
+
|
| 107 |
+
where $\alpha$ is a momentum coefficient. Only the parameters $\theta$ are updated by back-propagation.
|
| 108 |
+
|
| 109 |
+
For a query $q_{i}$ and the candidate document set $D_{q_i}$ , where $D_{q_i} = \{d_{i,j}\}_{j = 1}^m$ could consist of annotated documents, hard negatives and in-batch negatives, we first get teacher's and retriever's similarity scores, respectively. Then, the retriever $\theta$ is expected to keep consistent with its smooth teacher $\theta^{*}$ . To achieve this goal, we update the retriever $\theta$ by minimizing the KL divergence between the student's distribution and the teacher's distribution.
|
| 110 |
+
|
| 111 |
+
To be concrete, the similarity scores between $q_{i}$ and $D_{q_i}$ are normalized into the following distributions:
|
| 112 |
+
|
| 113 |
+
$$
|
| 114 |
+
p _ {\phi} \left(d _ {i, j} \mid q _ {i}; D _ {q _ {i}}\right) = \frac {e ^ {\tau f _ {\phi} \left(q _ {i} , d _ {i , j}\right)}}{\sum_ {j = 1} ^ {m} e ^ {\tau f _ {\phi} \left(q _ {i} , d _ {i , j}\right)}}, \phi \in \left\{\theta , \theta^ {*} \right\}, \tag {6}
|
| 115 |
+
$$
|
| 116 |
+
|
| 117 |
+
Then, the consistency loss $L_{cons}$ can be written as:
|
| 118 |
+
|
| 119 |
+
$$
|
| 120 |
+
L _ {c o n s} = K L (p _ {\theta} (. | q _ {i}; D _ {q _ {i}}), p _ {\theta^ {*}} (. | q _ {i}; D _ {q _ {i}})), \quad (7)
|
| 121 |
+
$$
|
| 122 |
+
|
| 123 |
+
where $KL(\cdot)$ is the KL divergence, $p_{\theta}(.|q_i;D_{q_i})$ and $p_{\theta^*}(.|q_i;D_{q_i})$ denote the conditional probabilities of candidate documents $D_{q_i}$ by the retriever $\theta$ and the teacher $\theta^*$ , respectively.
|
| 124 |
+
|
| 125 |
+
For the estimated noisy pair, the teacher corrects the supervised signal into a soft label. For the
|
| 126 |
+
|
| 127 |
+
# Algorithm 1 Noisy Pair Corrector (NPC)
|
| 128 |
+
|
| 129 |
+
Require: Retriever $\theta$ ; Noisy Training dataset $C$ .
|
| 130 |
+
|
| 131 |
+
1: Warm up the retriever $\theta$
|
| 132 |
+
2: Initial EMA model $\theta^{*}$ with $\theta$
|
| 133 |
+
3: for $i = 1 :$ num_epoch do
|
| 134 |
+
4: Calculate PPL of training pairs with random negatives using Eq.2;
|
| 135 |
+
5: Fit PPL distribution with GMM;
|
| 136 |
+
6: Get the estimated flag set $\{\hat{y}_i\}$ using Eq.4;
|
| 137 |
+
7: for $i = 1 :$ num_batch do
|
| 138 |
+
8: Sample negatives with "In-Batch Negative" or "Hard Negative" strategy;
|
| 139 |
+
9: Calculate rectified soft labels with EMA model $\theta^{*}$
|
| 140 |
+
10: Train $\theta$ by optimizing Eq.8;
|
| 141 |
+
11: Update EMA model $\theta^{*}$ using Eq.5;
|
| 142 |
+
12: end for
|
| 143 |
+
13: end for
|
| 144 |
+
|
| 145 |
+
estimated clean pair, we calculate the contrastive loss and consistency loss. So the overall loss is formalized:
|
| 146 |
+
|
| 147 |
+
$$
|
| 148 |
+
L = \hat {y} _ {i} L _ {\text {c o n t}} + L _ {\text {c o n s}}, \tag {8}
|
| 149 |
+
$$
|
| 150 |
+
|
| 151 |
+
where $\hat{y}_i\in \{1,0\}$ is estimated by the noise detection module.
|
| 152 |
+
|
| 153 |
+
# 3.3 Overall Procedure
|
| 154 |
+
|
| 155 |
+
NPC is a general training framework that can be easily applied to most retrieval methods. Under the classical training process of dense retrieval, We first warmup the retriever with the typical contrastive learning method to provide it with basic retrieval abilities, and then add the noise detection module before training each epoch and the noise correction module during training. The detail is presented in Algorithm 1.
|
| 156 |
+
|
| 157 |
+
# 4 Experiments
|
| 158 |
+
|
| 159 |
+
# 4.1 Datasets
|
| 160 |
+
|
| 161 |
+
To verify the effectiveness of NPC in robust dense retrieval, we conduct experiments on four commonly-used benchmarks, including Natural Questions (Kwiatkowski et al., 2019), Trivia QA (Joshi et al., 2017), StaQC (Yao et al., 2018) and SO-DS (Heyman and Van Cutsem, 2020).
|
| 162 |
+
|
| 163 |
+
StaQC is a large dataset that collects real querycode pairs from Stack Overflow*. The dataset has
|
| 164 |
+
|
| 165 |
+
<table><tr><td rowspan="2">Methods</td><td colspan="3">StaQC</td><td colspan="3">SO-DS</td></tr><tr><td>R@3</td><td>R@10</td><td>MRR</td><td>R@3</td><td>R@10</td><td>MRR</td></tr><tr><td>BM25 desc (Heyman and Van Cutsem, 2020)</td><td>8.0</td><td>13.3</td><td>7.5</td><td>23.8</td><td>32.3</td><td>21.6</td></tr><tr><td>NBOW (Heyman and Van Cutsem, 2020)</td><td>10.9</td><td>16.6</td><td>9.5</td><td>27.7</td><td>38.0</td><td>24.7</td></tr><tr><td>USE (Heyman and Van Cutsem, 2020)</td><td>12.8</td><td>20.3</td><td>11.7</td><td>33.3</td><td>48.5</td><td>30.4</td></tr><tr><td>CodeBERT (Feng et al., 2020)</td><td>-</td><td>-</td><td>23.4</td><td>-</td><td>-</td><td>23.1</td></tr><tr><td>GraphCodeBERT (Guo et al., 2021)</td><td>-</td><td>-</td><td>24.1</td><td>-</td><td>-</td><td>25.2</td></tr><tr><td>CodeRetriever (In-Batch Negative) (Li et al., 2022)</td><td>-</td><td>-</td><td>25.5</td><td>-</td><td>-</td><td>27.1</td></tr><tr><td>CodeRetriever (Hard Negative) (Li et al., 2022)</td><td>-</td><td>-</td><td>24.6</td><td>-</td><td>-</td><td>31.8</td></tr><tr><td>UniXcoder (In-Batch Negative) (Guo et al., 2022)</td><td>29.98</td><td>47.47</td><td>28.04</td><td>31.90</td><td>51.21</td><td>28.29</td></tr><tr><td>UniXcoder (Hard Negative) (Guo et al., 2022)</td><td>31.18</td><td>48.38</td><td>28.63</td><td>33.42</td><td>53.37</td><td>29.97</td></tr><tr><td>NPC (In-Batch Negative)</td><td>33.07</td><td>50.35</td><td>30.39</td><td>35.58</td><td>54.54</td><td>30.96</td></tr><tr><td>NPC (Hard Negative)</td><td>34.38</td><td>52.20</td><td>31.36</td><td>38.00</td><td>56.51</td><td>32.49</td></tr></table>
|
| 166 |
+
|
| 167 |
+
Table 1: Retrieval performance on StaQC and SO-DS, which are realistic-noisy datasets. The results of the first block are mainly borrowed from published papers (Heyman and Van Cutsem, 2020; Li et al., 2022). If the results are not provided, we mark them as “-”.
|
| 168 |
+
|
| 169 |
+
been widely used on code summarization (Ped-damail et al., 2018) and code search (Heyman and Van Cutsem, 2020). SO-DS mines query-code pairs from the most upvoted Stack Overflow posts, mainly focuses on the data science domain. Following previous works (Heyman and Van Cutsem, 2020; Li et al., 2022), we resort to Recall of topk $(\mathbb{R}@\mathbb{k})$ and Mean Reciprocal Rank (MRR) as the evaluation metric. StaQC and SO-DS are constructed automatically without human annotation. Therefore, there are numerous mismatched pairs in training data.
|
| 170 |
+
|
| 171 |
+
Natural Questions (NQ) collects real queries from the Google search engine. Each question is paired with an answer span and golden passages from the Wikipedia pages. Trivia QA (TQ) is a reading comprehension dataset authored by trivia enthusiasts. During the retrieval stage of both datasets, the objective is to identify positive passages from a large collection. Positive pairs in these datasets are assessed based on strict rule, i.e., whether passages contain answers or not (Karpukhin et al., 2020a). Consequently, we consider these datasets to be of high quality. Thus, we leverage them for simulation experiments to quantitatively analyze the impact of varying proportions of noise. Drawing inspiration from the setting in the noisy classification task (Han et al., 2018), we simulate the mismatched-pair noise by randomly pairing queries with unrelated documents.
|
| 172 |
+
|
| 173 |
+
# 4.2 Implementation Details
|
| 174 |
+
|
| 175 |
+
NPC is a general training paradigm that can be directly applied to almost all retrieval models. For
|
| 176 |
+
|
| 177 |
+
StaQC and SO-DS, we adopt UniXcoder (Guo et al., 2022) as our backbone, which is the SoTA model for code representation. Following Guo et al. (2022), we adopt the cosine distance as a similarity function and set temperature $\lambda$ to 20. We update model parameters using the Adam optimizer and perform early stopping on the development set. The learning rate, batch size, warmup epoch, and training epoch are set to 2e-5, 256, 5, and 10, respectively. In the "Hard Negative" setting, we adopt the same strategy as Li et al. (2022).
|
| 178 |
+
|
| 179 |
+
For NQ and TQ, we adopt BERT (Devlin et al., 2019) as our initial model. Following Karpukhin et al. (2020a), we adopt inner-product as the similarity function and set temperature $\lambda$ to 1. The max sequence length is 16 for query and 128 for passage. The learning rate, batch size, warmup epoch, and training epoch are set to 2e-5, 512, 10, and 40, respectively. We adopt "BM25 Negative" and "Hard Negative" strategies as described in the DPR toolkit. For a fair comparison, we implement DPR (Karpukhin et al., 2020a) with the same hyperparameters. All experiments are run on 8 NVIDIA Tesla A100 GPUs. The implementation of NPC is based on Huggingface (Wolf et al., 2020).
|
| 180 |
+
|
| 181 |
+
# 4.3 Results
|
| 182 |
+
|
| 183 |
+
Results on StaQC and SO-DS: Table 1 shows the results on the realistic-noisy datasets StaQC and SO-DS. Both datasets contain a large number of real noise pairs. The first block shows the results of previous SoTA methods. BM25 desc is a traditional
|
| 184 |
+
|
| 185 |
+
<table><tr><td rowspan="2">Noisy</td><td rowspan="2">Methods</td><td colspan="4">Natural Questions</td><td colspan="4">Trivia QA</td></tr><tr><td>R@1</td><td>R@5</td><td>R@20</td><td>R@100</td><td>R@1</td><td>R@5</td><td>R@20</td><td>R@100</td></tr><tr><td rowspan="2"></td><td>BM25*</td><td>-</td><td>-</td><td>59.1</td><td>73.7</td><td>-</td><td>-</td><td>66.9</td><td>76.7</td></tr><tr><td>DPR*</td><td>-</td><td>-</td><td>78.4</td><td>85.4</td><td>-</td><td>-</td><td>79.4</td><td>85.0</td></tr><tr><td rowspan="11">20</td><td>DPR (BM25 Negative)</td><td>27.07</td><td>47.79</td><td>63.36</td><td>75.69</td><td>35.73</td><td>52.88</td><td>64.05</td><td>74.16</td></tr><tr><td>coCondenser (BM25 Negative)</td><td>29.12</td><td>51.02</td><td>67.45</td><td>77.93</td><td>39.41</td><td>56.72</td><td>67.34</td><td>76.04</td></tr><tr><td>Co-teaching (BM25 Negative)</td><td>26.02</td><td>52.48</td><td>63.46</td><td>76.11</td><td>28.65</td><td>53.01</td><td>64.99</td><td>74.05</td></tr><tr><td>DPR-C (BM25 Negative)</td><td>43.69</td><td>66.62</td><td>79.07</td><td>86.12</td><td>52.10</td><td>70.52</td><td>79.05</td><td>85.08</td></tr><tr><td>NPC (BM25 Negative)</td><td>45.22</td><td>68.42</td><td>79.76</td><td>86.56</td><td>52.34</td><td>70.22</td><td>79.10</td><td>84.86</td></tr><tr><td>DPR (Hard Negative)</td><td>37.61</td><td>60.73</td><td>71.68</td><td>79.56</td><td>43.39</td><td>60.67</td><td>70.34</td><td>77.88</td></tr><tr><td>coCondenser (Hard Negative)</td><td>40.71</td><td>63.41</td><td>74.33</td><td>81.22</td><td>47.42</td><td>64.80</td><td>73.38</td><td>80.07</td></tr><tr><td>RocketQA (Hard Negative)</td><td>43.32</td><td>64.25</td><td>74.96</td><td>81.42</td><td>49.90</td><td>65.72</td><td>74.04</td><td>80.39</td></tr><tr><td>Co-teaching (Hard Negative)</td><td>31.78</td><td>56.32</td><td>66.12</td><td>77.56</td><td>33.28</td><td>57.29</td><td>66.50</td><td>75.62</td></tr><tr><td>DPR-C (Hard Negative)</td><td>51.66</td><td>72.40</td><td>81.50</td><td>87.80</td><td>55.35</td><td>72.36</td><td>80.33</td><td>85.34</td></tr><tr><td>NPC (Hard Negative)</td><td>51.85</td><td>73.06</td><td>82.47</td><td>87.80</td><td>56.03</td><td>72.54</td><td>80.59</td><td>85.58</td></tr><tr><td rowspan="11">50</td><td>DPR (BM25 Negative)</td><td>16.12</td><td>33.88</td><td>49.70</td><td>63.38</td><td>20.09</td><td>34.63</td><td>47.42</td><td>61.04</td></tr><tr><td>coCondenser (BM25 Negative)</td><td>18.28</td><td>36.37</td><td>52.01</td><td>65.92</td><td>22.80</td><td>38.01</td><td>51.00</td><td>63.79</td></tr><tr><td>Co-teaching (BM25 Negative)</td><td>23.72</td><td>50.32</td><td>64.86</td><td>74.92</td><td>26.56</td><td>51.22</td><td>63.78</td><td>73.77</td></tr><tr><td>DPR-C (BM25 Negative)</td><td>41.29</td><td>65.21</td><td>78.48</td><td>85.70</td><td>49.61</td><td>68.81</td><td>78.00</td><td>84.23</td></tr><tr><td>NPC (BM25 Negative)</td><td>42.87</td><td>65.65</td><td>78.37</td><td>85.76</td><td>50.80</td><td>68.98</td><td>78.21</td><td>84.43</td></tr><tr><td>DPR (Hard Negative)</td><td>23.87</td><td>42.34</td><td>55.12</td><td>67.06</td><td>28.47</td><td>45.12</td><td>56.88</td><td>67.62</td></tr><tr><td>coCondenser (Hard Negative)</td><td>24.55</td><td>44.16</td><td>56.69</td><td>68.72</td><td>31.05</td><td>47.81</td><td>59.48</td><td>70.14</td></tr><tr><td>RocketQA (Hard Negative)</td><td>26.83</td><td>45.72</td><td>57.32</td><td>69.24</td><td>33.67</td><td>49.28</td><td>60.32</td><td>70.46</td></tr><tr><td>Co-teaching (Hard Negative)</td><td>30.12</td><td>55.94</td><td>65.81</td><td>76.90</td><td>31.85</td><td>55.37</td><td>65.29</td><td>75.02</td></tr><tr><td>DPR-C (Hard Negative)</td><td>48.87</td><td>70.52</td><td>81.44</td><td>87.17</td><td>53.07</td><td>70.36</td><td>79.02</td><td>84.69</td></tr><tr><td>NPC (Hard Negative)</td><td>48.81</td><td>70.60</td><td>81.17</td><td>87.20</td><td>53.09</td><td>70.27</td><td>79.31</td><td>84.96</td></tr></table>
|
| 186 |
+
|
| 187 |
+
Table 2: Retrieval performance on Natural Questions and Trivia QA under the noise ratio of $20\%$ , and $50\%$ , respectively. The results of BM25* and DPR* are borrowed from Karpukhin et al. (2020a). If the results are not provided, we mark them as “-”.
|
| 188 |
+
|
| 189 |
+
sparse retriever based on the exact term matching of queries and code descriptions. NBOW is an unsupervised retriever that leverages pre-trained word embedding of queries and code descriptions for retrieval. USE is a simple dense retriever based on transformer. CodeBERT, GraphCodeBERT are pre-trained models for code understanding using large-scale code corpus. CodeRetriever is a pretrained model dedicated to code retrieval, which is pre-trained with unimodal and bimodal contrastive learning on a large-scale corpus. UniXcoder is also a pretrained model that utilizes multi-modal data, including code, comment, and AST, for better code representation. The results are implemented by ourselves for a fair comparison with NPC. The bottom block shows the results of NPC using two negative sampling strategies.
|
| 190 |
+
|
| 191 |
+
From the results, we can see that our proposed NPC consistently performs better than the evaluated models across all metrics. Compared with the strong baseline UniXcoder which ignores the mismatched-pair problem, NPC achieves a significant improvement with both "in-batch negative" and "hard negative" sampling strategies. It indi
|
| 192 |
+
|
| 193 |
+
cates that the mismatched-pair noise greatly limits the performance of dense retrieval models, and NPC can mitigate this negative effect. We also show some noisy examples detected by NPC in Appendix A.
|
| 194 |
+
|
| 195 |
+
Results on NQ and TQ: Table 2 shows the results on the synthetic-noisy datasets NQ and TQ under the noise ratio of $20\%$ , and $50\%$ . We compare NPC with BM25 (Yang et al., 2017) and DPR (Karpukhin et al., 2020a). BM25 is an unsupervised sparse retriever that is not affected by noisy data. DPR (Karpukhin et al., 2020a) is a widely used method for training dense retrievers. coCondenser (Gao and Callan, 2021b) leverage pre-training to enhance models' robustness. RocketQA (Qu et al., 2021) adopts a cross-encoder to filter false negatives in the "Hard Negative" strategy. Co-teaching (Han et al., 2018) uses the samples with small loss to iteratively train two networks, which is widely used in the noisy label classification task. We implement baselines using two negative sampling strategies. Besides, we evaluate DPR on clean datasets by discarding the synthetic-noisy pairs, denoted by DPR-C. DPR-C is a strong
|
| 196 |
+
|
| 197 |
+
<table><tr><td colspan="3">Methods</td><td colspan="2">NQ</td><td colspan="2">StaQC</td></tr><tr><td>De</td><td>Co</td><td>HN</td><td>R@20</td><td>R@100</td><td>R@1</td><td>R@3</td></tr><tr><td>-</td><td>-</td><td>-</td><td>48.22</td><td>62.31</td><td>18.08</td><td>31.09</td></tr><tr><td>-</td><td>✓</td><td>-</td><td>55.90</td><td>69.33</td><td>18.51</td><td>31.01</td></tr><tr><td>✓</td><td>-</td><td>-</td><td>75.19</td><td>83.31</td><td>20.05</td><td>32.71</td></tr><tr><td>✓</td><td>✓</td><td>-</td><td>77.50</td><td>84.79</td><td>20.70</td><td>33.55</td></tr><tr><td>-</td><td>-</td><td>✓</td><td>54.63</td><td>65.54</td><td>18.66</td><td>31.74</td></tr><tr><td>-</td><td>✓</td><td>✓</td><td>58.63</td><td>69.06</td><td>19.35</td><td>32.09</td></tr><tr><td>✓</td><td>-</td><td>✓</td><td>77.59</td><td>85.03</td><td>20.93</td><td>33.55</td></tr><tr><td>✓</td><td>✓</td><td>✓</td><td>80.07</td><td>85.89</td><td>21.93</td><td>34.51</td></tr></table>
|
| 198 |
+
|
| 199 |
+
baseline that is not affected by mismatched pairs.
|
| 200 |
+
|
| 201 |
+
We can observe that (1) As the noise ratio increases, DPR, coCondenser, and RocketQA experience a significant decrease in performance. At a noise rate of $50\%$ , they perform worse than unsupervised BM25. (2) Despite Co-teaching having good noise resistance, its performance is still low. This indicates that methods for dealing with label noise in classification are not effective for retrieval. (3) NPC outperforms baselines by a large margin, with only a slight performance drop when the noise increases. Even comparing DPR-C, NPC still achieves competitive results.
|
| 202 |
+
|
| 203 |
+
# 4.4 Analysis
|
| 204 |
+
|
| 205 |
+
Ablations of Noise Detection and Noise Correction: To get a better insight into NPC, we conduct ablation studies on the realistic-noisy dataset StaQC and the synthetic-noisy dataset NQ under the noise ratio of $50\%$ . The results are shown in Table 3. "De" and "Co" refer to noise detection and noise correction, respectively. "HN" indicates whether to perform "Hard Negative" strategy. For both synthetic noise and realistic noise, we can see that the noise detection module brings a significant gain, no matter which negative sampling strategy is used. Correction also enhances the robustness of the retriever since it provides rectified soft labels which can lead the model output to be smoother. The results show that combining the two obtains better performance compared with only using the detection module or correction module.
|
| 206 |
+
|
| 207 |
+
Impact of Warmup Epoch: According to the foregoing, NPC starts by warming up. In Table 4, we pre-training the retriever on the noisy dataset for warming up, and show the performance of NPC with different various epoch numbers $n$ . In this
|
| 208 |
+
|
| 209 |
+
Table 3: Ablation studies on StaQC dev set and NQ dev set under noise ratio of $50\%$ .
|
| 210 |
+
|
| 211 |
+
<table><tr><td>Setting</td><td>R@1</td><td>R@5</td><td>R@20</td><td>R@100</td></tr><tr><td>n=1</td><td>50.58</td><td>69.93</td><td>79.87</td><td>84.96</td></tr><tr><td>n=5</td><td>50.03</td><td>69.64</td><td>80.17</td><td>85.76</td></tr><tr><td>n=10</td><td>50.07</td><td>69.93</td><td>80.07</td><td>85.89</td></tr><tr><td>n=20</td><td>38.09</td><td>60.31</td><td>72.00</td><td>80.07</td></tr></table>
|
| 212 |
+
|
| 213 |
+
Table 4: Performance of NPC on NQ dev set with different warmup epoch number $n$ .
|
| 214 |
+
|
| 215 |
+

|
| 216 |
+
(a) Before warmup
|
| 217 |
+
|
| 218 |
+

|
| 219 |
+
(b) After warmup
|
| 220 |
+
|
| 221 |
+

|
| 222 |
+
(c) DPR
|
| 223 |
+
|
| 224 |
+

|
| 225 |
+
(d) NPC
|
| 226 |
+
Figure 4: Perplexity distribution of training pairs under different settings.
|
| 227 |
+
|
| 228 |
+
experiment, we adopt "Hard Negative" sampling strategy. We find that NPC achieves good results when the warmup epoch is relatively small (1 - 10). However, when the warmup epoch is too large, the performance will degrade. We believe that a prolonged warmup causes overfitting to noise samples.
|
| 229 |
+
|
| 230 |
+
Impact of Iterative Detection: In the training of NPC, we perform iterative noise detection every epoch. A straightforward approach is to detect the noise only once after warmup and fix the estimated flag set $\{\hat{y}_i\}$ . To study the effectiveness of iterative detection, we conducted an ablation study. The results are shown in Table 5. We can see that the model performance degrades after removing iterative detection.
|
| 231 |
+
|
| 232 |
+
Ablations of PPL: We distinguish noise pairs according to the perplexity between the annotated positive document and easy negatives. When calculating the perplexity, "Hard Negative" will cause trouble for detection. We construct ablation experiments to verify this, and the results are shown in Table 5. We can see that the perplexity with "Hard Negative" results in performance degradation.
|
| 233 |
+
|
| 234 |
+
Visualization of Perplexity Distribution: In Fig. 4, we illustrate the perplexity distribution of
|
| 235 |
+
|
| 236 |
+
<table><tr><td>Setting</td><td>R@1</td><td>R@5</td><td>R@20</td><td>R@100</td></tr><tr><td>NPC</td><td>50.07</td><td>69.93</td><td>80.07</td><td>85.89</td></tr><tr><td>-w/o iterative detection</td><td>47.29</td><td>68.39</td><td>78.79</td><td>85.38</td></tr><tr><td>-ppl with HN</td><td>42.81</td><td>65.06</td><td>75.22</td><td>83.09</td></tr></table>
|
| 237 |
+
|
| 238 |
+
Table 5: Ablation studies of iterative noise detection and perplexity variants
|
| 239 |
+
|
| 240 |
+

|
| 241 |
+
(a) w/o Hard Negative
|
| 242 |
+
|
| 243 |
+

|
| 244 |
+
(b) w/ Hard Negative
|
| 245 |
+
Figure 5: Retrieval performance of DPR and NPC on NQ dev set under different noise ratios.
|
| 246 |
+
|
| 247 |
+
training pairs before and after warmup, after training with DPR, and after training with NPC. The experiment is on NQ under the noise ratio of $50\%$ . We can see that the perplexity of most noisy pairs is larger than the clean pairs after warmup, which verifies our hypothesis in Sec. 3.1. Comparing Fig. 4(c) and Fig. 4(d), we find that the retriever trained with DPR will overfit the noise pairs. However, NPC enables the retriever to correctly distinguish clean and noisy pairs because it avoids the dominant effect of noise during network optimization.
|
| 248 |
+
|
| 249 |
+
Analysis of Generalizability Fig. 5 shows the performance of DPR and NPC under the noise ratio ranging from $0\%$ to $80\%$ . We can see that as the noise ratio increases, the performance degradation of DPR is much larger than that of NPC, which demonstrates the generalizability of NPC. Furthermore, even though NPC is designed to deal with mismatched-pair noise, it achieves competitive results when used in a noise-free setting.
|
| 250 |
+
|
| 251 |
+
# 5 Related Work
|
| 252 |
+
|
| 253 |
+
# 5.1 Dense Retrieval
|
| 254 |
+
|
| 255 |
+
Dense retrieval has shown better performance than traditional sparse retrieval methods (Lee et al., 2019; Karpukhin et al., 2020a). The studies of dense retrieval can be divided into two categories, (1) unsupervised pre-training to get better initialization and (2) more effective fine-tuning on labeled data. In the first category, some researchers focus on how to generate contrastive pairs automatically from a large unsupervised corpus (Lee et al., 2019; Chang et al., 2019; Ma et al., 2022; Li et al., 2022). Another line of research enforces
|
| 256 |
+
|
| 257 |
+
the model to produce an information-rich CLS representation (Gao and Callan, 2021a,b; Lu et al., 2021). As for effective fine-tuning strategies (He et al., 2022b), recent studies show that negative sampling techniques are critical to the performance of dense retrievers. DPR (Karpukhin et al., 2020b) adopts in-batch negatives and BM25 negatives; ANCE (Xiong et al., 2021), RocketQA (Qu et al., 2021), and AR2 (Zhang et al., 2022a) improve the hard negative sampling by iterative replacement, denoising, and adversarial framework, respectively. Several works distill knowledge from ranker to retriever (Izacard and Grave, 2020; Yang and Seo, 2020; Ren et al., 2021; Zeng et al., 2022). Some studies incorporate lexical-aware sparse retrievers to convey lexical-related knowledge to dense retrievers, thereby enhancing the dense retriever's ability to recognize lexical matches (Shen et al., 2023; Zhang et al., 2023).
|
| 258 |
+
|
| 259 |
+
Although the above methods have achieved promising results, they are highly dependent on correctly matched data, which is difficult to satisfy in real scenes. The mismatched-pair noise problem has seldom been considered. Besides, some studies utilize large-sized generative models (He et al., 2023) to guide retrievers, which achieve impressive performance without paired data (Sachan et al., 2022, 2021; Gao et al., 2022; He et al., 2022a). Although these models exhibit some robustness to noisy data, their success depends on the availability of strong generative models. Moreover, their applicability will be limited in domains where generative models do not perform well.
|
| 260 |
+
|
| 261 |
+
# 5.2 Denoising Techniques
|
| 262 |
+
|
| 263 |
+
One related task to our work is Noisy Label. Numerous methods have been proposed to solve this problem, and most of them focus on the classification task (Han et al., 2020). Some works design robust loss functions to mitigate label noise (Ghosh et al., 2017; Ma et al., 2020). Another line of work aims to identify noise from the training set with the memorization effect of neural networks (Silva et al., 2022; Liang et al., 2022; Bai et al., 2021).
|
| 264 |
+
|
| 265 |
+
These studies mainly focus on classification. NPC studies the mismatched noise problem in dense retrieval rather than the noise in category annotations, which is more complex to handle. Several pre-training approaches noticed the problem of mismatched noisy pairs. ALIGN (Jia et al., 2021) and CLIP (Radford et al., 2021) claim that utilizing
|
| 266 |
+
|
| 267 |
+
large-scale image-text pairs can ignore the existence of noise. E5 (Wang et al., 2022) employs a consistency-based rule to filter the pre-training data. Although they slightly realized the existence of noisy pairs during pre-train, none of them give a specialized solution to solve it and extensively explored the characteristics of noisy text pairs. Some recent works (Huang et al., 2021; Han et al., 2023) study the noisy correspondence problem in cross-modal retrieval. Although the "mismatched-pair noisy" problem in cross-modal retrieval and text retrieval shares similarities, the specific settings and methods used in these two areas are notably distinct. It is challenging to directly apply these cross-modal retrieval works to document and code retrieval. Our NPC is the first systematic work to explore mismatched-pair noise in document/code retrieval.
|
| 268 |
+
|
| 269 |
+
# 6 Conclusion
|
| 270 |
+
|
| 271 |
+
This paper explores a neglected problem in dense retrieval, i.e., mismatched-pair noise. To solve this problem, we propose a generalized Noisy Pair Corrector(NPC) framework, which iteratively detects noisy pairs per epoch based on the perplexity and then provides rectified soft labels via an EMA model. The experimental results and analysis demonstrate the effectiveness of NPC in effectively handling both synthetic and realistic mismatched-pair noise.
|
| 272 |
+
|
| 273 |
+
# Limitations
|
| 274 |
+
|
| 275 |
+
This work mainly focuses on training the dense retrieval models with mismatched noise. There may be two possible limitations in our study.
|
| 276 |
+
|
| 277 |
+
1) Due to the limited computing infrastructure, we only verified the robustness performance of NPC based on the classical retriever training framework. We leave experiments to combine NPC with more effective retriever training methods such as distillation (Ren et al., 2021), AR2 (Zhang et al., 2022a), as future work.
|
| 278 |
+
2) Mismatched-pair noise may also exist in other tasks, such as recommender systems. We will consider extending NPC to more tasks.
|
| 279 |
+
|
| 280 |
+
# Acknowledgement
|
| 281 |
+
|
| 282 |
+
This work is supported by the Fundamental Research Funds for the Central Universities under Grant 1082204112364 and the Key Program of the
|
| 283 |
+
|
| 284 |
+
National Science Foundation of China under Grant 61836006.
|
| 285 |
+
|
| 286 |
+
# References
|
| 287 |
+
|
| 288 |
+
Yingbin Bai, Erkun Yang, Bo Han, Yanhua Yang, Jia-tong Li, Yinian Mao, Gang Niu, and Tongliang Liu. 2021. Understanding and improving early stopping for learning with noisy labels. In NIPS.
|
| 289 |
+
Dan Brickley, Matthew Burgess, and Natasha Noy. 2019. Google dataset search: Building a search engine for datasets in an open web ecosystem. In WWW.
|
| 290 |
+
Wei-Cheng Chang, X Yu Felix, Yin-Wen Chang, Yiming Yang, and Sanjiv Kumar. 2019. Pre-training tasks for embedding-based large-scale retrieval. In International Conference on Learning Representations.
|
| 291 |
+
Xuanang Chen, Jian Luo, Ben He, Le Sun, and Yingfei Sun. 2022. Towards robust dense retrieval via local ranking alignment. In Proceedings of the Thirty-First International Joint Conference on Artificial Intelligence, IJCAI, pages 1980-1986.
|
| 292 |
+
Arthur P Dempster, Nan M Laird, and Donald B Rubin. 1977. Maximum likelihood from incomplete data via the em algorithm. Journal of the Royal Statistical Society: Series B (Methodological), 39(1):1-22.
|
| 293 |
+
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).
|
| 294 |
+
Zhangyin Feng, Daya Guo, Duyu Tang, Nan Duan, Xiaocheng Feng, Ming Gong, Linjun Shou, Bing Qin, Ting Liu, Daxin Jiang, and Ming Zhou. 2020. Codebert: A pre-trained model for programming and natural languages. In *Findings of the Association for Computational Linguistics: EMNLP* 2020, Online Event, 16-20 November 2020.
|
| 295 |
+
Luyu Gao and Jamie Callan. 2021a. Is your language model ready for dense representation fine-tuning? arXiv preprint arXiv:2104.08253.
|
| 296 |
+
Luyu Gao and Jamie Callan. 2021b. Unsupervised corpus aware language model pre-training for dense passage retrieval. arXiv preprint arXiv:2108.05540.
|
| 297 |
+
Luyu Gao, Xueguang Ma, Jimmy Lin, and Jamie Callan. 2022. Precise zero-shot dense retrieval without relevance labels. CoRR.
|
| 298 |
+
Aritra Ghosh, Himanshu Kumar, and P Shanti Sastry. 2017. Robust loss functions under label noise for deep neural networks. In Proceedings of the AAAI conference on artificial intelligence.
|
| 299 |
+
Daya Guo, Shuai Lu, Nan Duan, Yanlin Wang, Ming Zhou, and Jian Yin. 2022. Unixcoder: Unified cross-modal pre-training for code representation. In ACL.
|
| 300 |
+
|
| 301 |
+
Daya Guo, Shuo Ren, Shuai Lu, Zhangyin Feng, Duyu Tang, Shujie Liu, Long Zhou, Nan Duan, Alexey Svyatkovskiy, Shengyu Fu, Michele Tufano, Shao Kun Deng, Colin B. Clement, Dawn Drain, Neel Sundaresan, Jian Yin, Daxin Jiang, and Ming Zhou. 2021. Graphcodebert: Pre-training code representations with data flow. In International Conference on Learning Representations.
|
| 302 |
+
Bo Han, Quanming Yao, Tongliang Liu, Gang Niu, Ivor W Tsang, James T Kwok, and Masashi Sugiyama. 2020. A survey of label-noise representation learning: Past, present and future. arXiv preprint arXiv:2011.04406.
|
| 303 |
+
Bo Han, Quanming Yao, Xingrui Yu, Gang Niu, Miao Xu, Weihua Hu, Ivor Tsang, and Masashi Sugiyama. 2018. Co-teaching: Robust training of deep neural networks with extremely noisy labels. In NIPS.
|
| 304 |
+
Haochen Han, Kaiyao Miao, Qinghua Zheng, and Minnan Luo. 2023. Noisy correspondence learning with meta similarity correction. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 7517-7526.
|
| 305 |
+
Xingwei He, Yeyun Gong, A Jin, Weizhen Qi, Hang Zhang, Jian Jiao, Bartuer Zhou, Biao Cheng, Siu Ming Yiu, Nan Duan, et al. 2022a. Metric-guided distillation: Distilling knowledge from the metric to ranker and retriever for generative commonsense reasoning. arXiv preprint arXiv:2210.11708.
|
| 306 |
+
Xingwei He, Yeyun Gong, A Jin, Hang Zhang, Anlei Dong, Jian Jiao, Siu Ming Yiu, Nan Duan, et al. 2022b. Curriculum sampling for dense retrieval with document expansion. arXiv preprint arXiv:2212.09114.
|
| 307 |
+
Xingwei He, Zhenghao Lin, Yeyun Gong, Alex Jin, Hang Zhang, Chen Lin, Jian Jiao, Siu Ming Yiu, Nan Duan, Weizhu Chen, et al. 2023. Annollm: Making large language models to be better crowdsourced annotators. arXiv preprint arXiv:2303.16854.
|
| 308 |
+
Geert Heyman and Tom Van Cutsem. 2020. Neural code search revisited: Enhancing code snippet retrieval through natural language intent. arXiv preprint arXiv:2008.12193.
|
| 309 |
+
Zhenyu Huang, Guocheng Niu, Xiao Liu, Wenbiao Ding, Xinyan Xiao, Hua Wu, and Xi Peng. 2021. Learning with noisy correspondence for cross-modal matching. Advances in Neural Information Processing Systems, 34:29406-29419.
|
| 310 |
+
Gautier Izacard and Edouard Grave. 2020. Distilling knowledge from reader to retriever for question answering. arXiv preprint arXiv:2012.04584.
|
| 311 |
+
Chao Jia, Yinfei Yang, Ye Xia, Yi-Ting Chen, Zarana Parekh, Hieu Pham, Quoc V. Le, Yun-Hsuan Sung, Zhen Li, and Tom Duerig. 2021. Scaling up visual and vision-language representation learning with noisy text supervision. In International Conference on Machine Learning.
|
| 312 |
+
|
| 313 |
+
Jeff Johnson, Matthijs Douze, and Hervé Jégou. 2019. Billion-scale similarity search with gpus. IEEE Transactions on Big Data, 7(3):535-547.
|
| 314 |
+
Mandar Joshi, Eunsol Choi, Daniel S. Weld, and Luke Zettlemoyer. 2017. Triviaqa: A large scale distantly supervised challenge dataset for reading comprehension. In ACL.
|
| 315 |
+
Vladimir Karpukhin, Barlas Oğuz, Sewon Min, Patrick Lewis, Ledell Wu, Sergey Edunov, Danqi Chen, and Wen-tau Yih. 2020a. Dense passage retrieval for open-domain question answering. arXiv preprint arXiv:2004.04906.
|
| 316 |
+
Vladimir Karpukhin, Barlas Oguz, Sewon Min, Patrick S. H. Lewis, Ledell Wu, Sergey Edunov, Danqi Chen, and Wen-tau Yih. 2020b. Dense passage retrieval for open-domain question answering. In EMNLP.
|
| 317 |
+
Tom Kwiatkowski, Jennimaria Palomaki, Olivia Redfield, Michael Collins, Ankur P. 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. Trans. Assoc. Comput. Linguistics, 7:452-466.
|
| 318 |
+
Kenton Lee, Ming-Wei Chang, and Kristina Toutanova. 2019. Latent retrieval for weakly supervised open domain question answering. In Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics.
|
| 319 |
+
Xiaonan Li, Yeyun Gong, Yelong Shen, Xipeng Qiu, Hang Zhang, Bolun Yao, Weizhen Qi, Daxin Jiang, Weizhu Chen, and Nan Duan. 2022. Coderetriever: Unimodal and bimodal contrastive learning. arXiv preprint arXiv:2201.10866.
|
| 320 |
+
Kevin J Liang, Samrudhdhi B. Rangrej, Vladan Petrovic, and Tal Hassner. 2022. Few-shot learning with noisy labels. 2022 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 9079-9088.
|
| 321 |
+
Yinhan Liu, Myle Ott, Naman Goyal, Jingfei Du, Mandar Joshi, Danqi Chen, Omer Levy, Mike Lewis, Luke Zettlemoyer, and Veselin Stoyanov. 2019. Roberta: A robustly optimized bert pretraining approach. arXiv preprint arXiv:1907.11692.
|
| 322 |
+
Shuqi Lu, Di He, Chenyan Xiong, Guolin Ke, Waleed Malik, Zhicheng Dou, Paul Bennett, Tie-Yan Liu, and Arnold Overwijk. 2021. Less is more: Pretrain a strong siamese encoder for dense text retrieval using a weak decoder. In Empirical Methods in Natural Language Processing.
|
| 323 |
+
Xingjun Ma, Hanxun Huang, Yisen Wang, Simone Romano, Sarah Erfani, and James Bailey. 2020. Normalized loss functions for deep learning with noisy labels. In ICML.
|
| 324 |
+
|
| 325 |
+
Xinyu Ma, Jiafeng Guo, Ruqing Zhang, Yixing Fan, and Xueqi Cheng. 2022. Pre-train a discriminative text encoder for dense retrieval via contrastive span prediction. In SIGIR '22: The 45th International ACM SIGIR Conference on Research and Development in Information Retrieval, Madrid, Spain, July 11 - 15, 2022.
|
| 326 |
+
Jayavardhan Reddy Peddamail, Ziyu Yao, Zhen Wang, and Huan Sun. 2018. A comprehensive study of staqc for deep code summarization. In KDD.
|
| 327 |
+
Yingqi Qu, Yuchen Ding, Jing Liu, Kai Liu, Ruiyang Ren, Wayne Xin Zhao, Daxiang Dong, Hua Wu, and Haifeng Wang. 2021. Rocketqa: An optimized training approach to dense passage retrieval for open-domain question answering. In NAACL-HLT.
|
| 328 |
+
Alec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh, Gabriel Goh, Sandhini Agarwal, Girish Sastry, Amanda Askell, Pamela Mishkin, Jack Clark, Gretchen Krueger, and Ilya Sutskever. 2021. Learning transferable visual models from natural language supervision. In ICML.
|
| 329 |
+
Ruiyang Ren, Yingqi Qu, Jing Liu, Wayne Xin Zhao, Qiaoqiao She, Hua Wu, Haifeng Wang, and Ji-Rong Wen. 2021. Rocketqav2: A joint training method for dense passage retrieval and passage re-ranking. In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing, pages 2825-2835.
|
| 330 |
+
Devendra Singh Sachan, Mike Lewis, Dani Yogatama, Luke Zettlemoyer, Joelle Pineau, and Manzil Zaheer. 2022. Questions are all you need to train a dense passage retriever. CoRR.
|
| 331 |
+
Devendra Singh Sachan, Mostofa Patwary, Mohammad Shoeybi, Neel Kant, Wei Ping, William L. Hamilton, and Bryan Catanzaro. 2021. End-to-end training of neural retrievers for open-domain question answering. In ACL/IJCNLP.
|
| 332 |
+
Tao Shen, Xiubo Geng, Chongyang Tao, Can Xu, Guodong Long, Kai Zhang, and Daxin Jiang. 2023. Unifier: A unified retriever for large-scale retrieval. In Proceedings of the 29th ACM SIGKDD Conference on Knowledge Discovery and Data Mining, pages 4787-4799.
|
| 333 |
+
Yelong Shen, Xiaodong He, Jianfeng Gao, Li Deng, and Grégoire Mesnil. 2014. Learning semantic representations using convolutional neural networks for web search. In Proceedings of the 23rd international conference on world wide web, pages 373-374.
|
| 334 |
+
Amila Silva, Ling Luo, Shanika Karunasekera, and Christopher Leckie. 2022. Noise-robust learning from multiple unsupervised sources of inferred labels. In AAAI Conference on Artificial Intelligence.
|
| 335 |
+
Liang Wang, Nan Yang, Xiaolong Huang, Binxing Jiao, Linjun Yang, Daxin Jiang, Rangan Majumder, and Furu Wei. 2022. Text embeddings by weakly-supervised contrastive pre-training. ArXiv, abs/2212.03533.
|
| 336 |
+
|
| 337 |
+
Thomas Wolf, Lysandre Debut, Victor Sanh, Julien Chaumont, Clement Delangue, Anthony Moi, Pierric Cistac, Tim Rault, Rémi Louf, Morgan Funtowicz, Joe Davison, Sam Shleifer, Patrick von Platen, Clara Ma, Yacine Jernite, Julien Plu, Canwen Xu, Teven Le Scao, Sylvain Gugger, Mariama Drame, Quentin Lhoest, and Alexander M. Rush. 2020. Transformers: State-of-the-art natural language processing. In EMNLP.
|
| 338 |
+
Lee Xiong, Chenyan Xiong, Ye Li, Kwok-Fung Tang, Jialin Liu, Paul Bennett, Junaid Ahmed, and Arnold Overwijk. 2021. Approximate nearest neighbor negative contrastive learning for dense text retrieval. In International Conference on Learning Representations.
|
| 339 |
+
Peilin Yang, Hui Fang, and Jimmy Lin. 2017. Anserini: Enabling the use of lucene for information retrieval research. In Proceedings of the 40th international ACM SIGIR conference on research and development in information retrieval.
|
| 340 |
+
Sohee Yang and Minjoon Seo. 2020. Is retriever merely an approximator of reader? arXiv preprint arXiv:2010.10999.
|
| 341 |
+
Ziyu Yao, Daniel S Weld, Wei-Peng Chen, and Huan Sun. 2018. Staqc: A systematically mined questioncode dataset from stack overflow. In WWW.
|
| 342 |
+
Hansi Zeng, Hamed Zamani, and Vishwa Vinay. 2022. Curriculum learning for dense retrieval distillation. In SIGIR '22: The 45th International ACM SIGIR Conference on Research and Development in Information Retrieval, Madrid, Spain, July 11 - 15, 2022.
|
| 343 |
+
Hang Zhang, Yeyun Gong, Yelong Shen, Weisheng Li, Jiancheng Lv, Nan Duan, and Weizhu Chen. 2021. Poolingformer: Long document modeling with pooling attention. In International Conference on Machine Learning, pages 12437-12446. PMLR.
|
| 344 |
+
Hang Zhang, Yeyun Gong, Yelong Shen, Jiancheng Lv, Nan Duan, and Weizhu Chen. 2022a. Adversarial retriever-ranker for dense text retrieval. In International Conference on Learning Representations.
|
| 345 |
+
Kai Zhang, Chongyang Tao, Tao Shen, Can Xu, Xiubo Geng, Binxing Jiao, and Daxin Jiang. 2023. Led: Lexicon-enlightened dense retriever for large-scale retrieval. In Proceedings of the ACM Web Conference 2023, pages 3203-3213.
|
| 346 |
+
Shunyu Zhang, Yaobo Liang, Ming Gong, Daxin Jiang, and Nan Duan. 2022b. Multi-view document representation learning for open-domain dense retrieval. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers).
|
| 347 |
+
|
| 348 |
+
# A Qualitative Analysis
|
| 349 |
+
|
| 350 |
+
Table 9 lists some mismatched pairs detected by NPC in StaQC training set. We can see that these mismatched pairs are almost irrelevant and can be correctly detected by NPC. These examples are not well aligned, mainly due to the low-quality answers of the open community (cases 2 and 4), inappropriate data preprocessing in the collection phase (cases 2 and 3), and other reasons. It is well known that collecting and cleaning training data is expensive and complex work. Automatically constructed datasets in real-world applications often contain such mismatched-pair noise. Our method can mitigate the impact caused by such noise during training.
|
| 351 |
+
|
| 352 |
+
# B Statistics of Datasets
|
| 353 |
+
|
| 354 |
+
The statistics of datasets are shown in Table 6.
|
| 355 |
+
|
| 356 |
+
<table><tr><td>Dataset</td><td>Train</td><td>Dev</td><td>Test</td><td>Corpus size</td></tr><tr><td>StaQC</td><td>203.7K</td><td>2.6K</td><td>2.7K</td><td>14.6K</td></tr><tr><td>SO-DS</td><td>12.1K</td><td>0.9K</td><td>1.1K</td><td>12.1K</td></tr><tr><td>NQ</td><td>79.2K</td><td>8,8K</td><td>3.6K</td><td>21 M</td></tr><tr><td>TQ</td><td>78.8K</td><td>8.8k</td><td>11.3K</td><td>21 M</td></tr></table>
|
| 357 |
+
|
| 358 |
+
# C Discussion about Perplexity
|
| 359 |
+
|
| 360 |
+
We calculate the perplexity between the annotated document and easy negative documents during noise detection. We emphasize that the negative documents are randomly selected from the document collection $\mathbb{D}$ . It is not suitable to adopt "Hard Negative" sampling strategy when calculating the perplexity. Although hard negatives are important to train a strong dense retriever, they will cause trouble during noise detection. Specifically, it is expected that the retriever is confused only between false positive and negative documents and can confidently distinguish true positive and negative documents. But if we adopt "Hard Negative" when calculating the perplexity, the retriever will also be confused between true positive and hard negative documents, which will affect noise detection. We construct ablation experiments to verify this, and the results are shown in Table 5.
|
| 361 |
+
|
| 362 |
+
# D Integration with stronger methods
|
| 363 |
+
|
| 364 |
+
We conducted comprehensive experiments that integrated NPC into coCondenser and RocketQAv2. The subsequent experiments were conducted on the NQ dataset with a $50\%$ noise ratio. We first combined NPC with coCondenser which is a pretrained model specialized for dense retrieval tasks. The results are shown in Table 7
|
| 365 |
+
|
| 366 |
+
Table 6: The statistics of datasets. Corpus size means the size of document corpus for evaluation.
|
| 367 |
+
|
| 368 |
+
<table><tr><td></td><td>R@1</td><td>R@5</td><td>R@20</td><td>R@100</td></tr><tr><td colspan="5">BM25 Negative</td></tr><tr><td>coCondenser</td><td>18.28</td><td>36.37</td><td>52.01</td><td>65.92</td></tr><tr><td>coCondenser-C</td><td>44.75</td><td>68.91</td><td>80.89</td><td>87.31</td></tr><tr><td>coCondenser+NPC</td><td>47.31</td><td>70.38</td><td>81.58</td><td>87.38</td></tr><tr><td colspan="5">Hard Negative</td></tr><tr><td>coCondenser</td><td>24.55</td><td>44.16</td><td>56.69</td><td>68.72</td></tr><tr><td>coCondenser-C</td><td>49.31</td><td>71.99</td><td>82.41</td><td>88.38</td></tr><tr><td>coCondenser+NPC</td><td>50.66</td><td>72.42</td><td>82.64</td><td>88.31</td></tr></table>
|
| 369 |
+
|
| 370 |
+
It's evident that NPC significantly enhances the robustness of coCondenser against noise associated with mismatched pairs. This observation underscores the compatibility between NPC and pretrained dense retrievers.
|
| 371 |
+
|
| 372 |
+
Furthermore, we combined NPC with RocketQAv2 which adopted a cross-encoder as a teacher and dynamically distilled knowledge to the dense retriever. The results are shown in Table 8:
|
| 373 |
+
|
| 374 |
+
Table 7: Retrieval performance on NQ after combining NPC with coCondenser.
|
| 375 |
+
|
| 376 |
+
<table><tr><td></td><td>R@1</td><td>R@5</td><td>R@20</td><td>R@100</td></tr><tr><td>RocketQAv2</td><td>32.30</td><td>51.37</td><td>62.19</td><td>70.79</td></tr><tr><td>RocketQAv2-C</td><td>52.63</td><td>73.51</td><td>83.21</td><td>88.71</td></tr><tr><td>RocketQAv2+NPC</td><td>52.59</td><td>73.83</td><td>83.32</td><td>88.69</td></tr></table>
|
| 377 |
+
|
| 378 |
+
Table 8: Retrieval performance on NQ after combining NPC with RocketQAv2.
|
| 379 |
+
|
| 380 |
+
To combine NPC with RocketQAv2, we integrate the noise detection and the correction modules in each training epoch of RocketQAv2. From the table, we can find that although RocketQAv2 uses a powerful cross-encoder as a teacher, it is still limited by the noise of the training data and shows low performance. NPC can effectively harmonize with RocketQAv2 to mitigate the problems caused by mismatched pair noise. We will add these experiment results to the next version.
|
| 381 |
+
|
| 382 |
+
<table><tr><td></td><td>Question</td><td>Code</td></tr><tr><td>1</td><td>Split words in a nested list into letters</td><td>» [list(l[0]) for l in mylist]</td></tr><tr><td>2</td><td>Dictionary in python problem</td><td>» s = problem.getSuccessors( getStartState())</td></tr><tr><td>3</td><td>Find the Common first name from Django Auth user Model</td><td>» import operator</td></tr><tr><td>4</td><td>Find all text files not containing some text string</td><td>» lst = [1,2,4,6,3,8,0,5]
|
| 383 |
+
» for n in lst[:]:
|
| 384 |
+
» if n % 2 == 0:
|
| 385 |
+
»>>> lst.remove(n)
|
| 386 |
+
» lst</td></tr></table>
|
| 387 |
+
|
| 388 |
+
Table 9: Some noisy pairs detected by NPC in StaQC training set.
|
2023/Noisy Pair Corrector for Dense Retrieval/images.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:94cb83dba96e64b17ba5ed2b2bb4a7573acdc1d14841a0d265f201c487e5443d
|
| 3 |
+
size 668527
|
2023/Noisy Pair Corrector for Dense Retrieval/layout.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2023/Noisy Self-Training with Synthetic Queries for Dense Retrieval/260bb510-850d-4d78-a651-3f79c3ed0b9d_content_list.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2023/Noisy Self-Training with Synthetic Queries for Dense Retrieval/260bb510-850d-4d78-a651-3f79c3ed0b9d_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2023/Noisy Self-Training with Synthetic Queries for Dense Retrieval/260bb510-850d-4d78-a651-3f79c3ed0b9d_origin.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:52f0571bb1c3359e795529bbde48e4a77863148edb9aaca32152ea7b574d97fa
|
| 3 |
+
size 638796
|
2023/Noisy Self-Training with Synthetic Queries for Dense Retrieval/full.md
ADDED
|
@@ -0,0 +1,391 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Noisy Self-Training with Synthetic Queries for Dense Retrieval
|
| 2 |
+
|
| 3 |
+
Fan Jiang and Tom Drummond and Trevor Cohn *
|
| 4 |
+
|
| 5 |
+
School of Computing and Information Systems
|
| 6 |
+
|
| 7 |
+
The University of Melbourne, Victoria, Australia
|
| 8 |
+
|
| 9 |
+
fan.jiang1@student.unimelb.edu.au
|
| 10 |
+
|
| 11 |
+
{tom.drummond, trevor.cohn}@unimelb.edu.au
|
| 12 |
+
|
| 13 |
+
# Abstract
|
| 14 |
+
|
| 15 |
+
Although existing neural retrieval models reveal promising results when training data is abundant and the performance keeps improving as training data increases, collecting high-quality annotated data is prohibitively costly. To this end, we introduce a novel noisy self-training framework combined with synthetic queries, showing that neural retrievers can be improved in a self-evolution manner with no reliance on any external models. Experimental results show that our method improves consistently over existing methods on both general-domain (e.g., MS-MARCO) and out-of-domain (i.e., BEIR) retrieval benchmarks. Extra analysis on low-resource settings reveals that our method is data efficient and outperforms competitive baselines, with as little as $30\%$ of labelled training data. Further extending the framework for reranker training demonstrates that the proposed method is general and yields additional gains on tasks of diverse domains. $^{1}$
|
| 16 |
+
|
| 17 |
+
# 1 Introduction
|
| 18 |
+
|
| 19 |
+
As an important task, information retrieval (IR) refers to the task of finding relevant texts from a large collection of passages or documents to satisfy the specific information needs of users. The information need is usually expressed as a short textual query, and the task is formulated as retrieving texts that are most relevant to the given query.
|
| 20 |
+
|
| 21 |
+
Recently, impressive achievements have been made in neural retrieval models through adopting large-scale pre-trained models (Devlin et al., 2019). Dual-encoders typically serve as the backbone architecture, which enables retrieving relevant knowledge from collections with millions or billions of passages in a fraction of time (Karpukhin et al., 2020). Unlike traditional term-matching-based lexical retrievers, such as TF-IDF (Manning et al.,
|
| 22 |
+
|
| 23 |
+
2008) or BM25 (Robertson and Zaragoza, 2009), which can be applied without any training, neural retrieval methods normally require training on a sufficient number of human-labelled query-passage pairs to work well. Nevertheless, due to the high cost of human annotations, the number of available query-passage pairs is way smaller compared to the size of passage collections (500k at most (Bajaj et al., 2016) v.s. 21M passages (Kwiatkowski et al., 2019)). Moreover, the situation becomes increasingly worse in out-of-domain applications, where only a few or no training examples are available. Directly applying neural retrieval models trained on high-resource datasets typically achieves low out-of-domain performance and lags behind their lexical counterparts (Thakur et al., 2021).
|
| 24 |
+
|
| 25 |
+
In this work, we aim to improve the performance of state-of-the-art neural retrieval models on both general domain and out-of-domain datasets, by using automatically synthesised queries. For this purpose, we use a query generator to automatically synthesise queries for each passage in the target dataset, which we then use for pre-training, based on a self-training objective (Scudder, 1965). More specifically, instead of directly training the model on synthetic query-passage pairs (Ma et al., 2021), we use a neural retrieval model that was trained on the labelled dataset as the teacher to generate soft labels for each synthetic query, providing a supervision signal which is more robust to noise in the generated data. This ameliorates issues with the synthetic queries which are often generic or ambiguous, meaning that the query is only weakly related to its originating passage, and accordingly, other passages may match the synthetic query equally well or better. Table 1 shows a motivating example, where the synthetic query is spuriously-related to its originating passage with only the keyword achievement matched. However, the top-2 sampled "negatives" are highly related to the query in topics and semantics, according to both human judgment
|
| 26 |
+
|
| 27 |
+
Synthetic Query: what was the major achievement of the Manhattan project?
|
| 28 |
+
|
| 29 |
+
<table><tr><td>Originating Passage</td><td>Logits</td><td>Hard</td></tr><tr><td>...The only cloud hanging over the impressive achievement of the atomic researchers and engineers is what their success truly meant; hundreds of thousands of innocent lives obliterated.</td><td>0.14</td><td>1</td></tr><tr><td colspan="3">Sampled Negatives</td></tr><tr><td>...success of the 20th century was the Manhattan Project. The Manhattan Project assimilated concepts and leaders from all scientific fields and engineering disciplines to construct the first two atomic bombs.</td><td>1.0</td><td>0</td></tr><tr><td>The Manhattan Project was an epic, secret, wartime effort to design and build the world's first nuclear weapon. ... the $20 billion project resulted in the production of the first uranium and plutonium bombs.</td><td>0.92</td><td>0</td></tr><tr><td>The Manhattan Project is an American film, released in 1986. The plot revolves around a gifted high school student who decides to construct an atomic bomb for a national science fair.</td><td>0.4</td><td>0</td></tr></table>
|
| 30 |
+
|
| 31 |
+
Table 1: A motivating example for the issue of weak-relation between synthetic query and originating passages, where top-2 sampled ‘negatives’ are way more relevant to the query than its originating passage. Negatives and associated Logits are from a dense model fine-tuned on MS-MARCO and are normalised for clarity.
|
| 32 |
+
|
| 33 |
+
and model predictions. By contrast, simply taking the originating passage as positive and equally treating all negatives with hard labels regardless of their relevance to the query will completely mislead the model, leading to poor semantic matching patterns between query and passages.
|
| 34 |
+
|
| 35 |
+
Furthermore, to prevent the student from blindly imitating the teacher's behaviour, we pollute its inputs either in the query or passage by injecting noise. This ensures that the student has a different view on inputs compared to the teacher, encouraging it to learn generalised signals from the teacher. Moreover, by polluting the inputs (e.g., shuffling), the student is encouraged to capture salient phrases in addition to semantic matching, being more robust to possible perturbed inputs (Figure 4). After completing pre-training on synthetic queries, we further finetune the model on labelled data. Through iterating the pre-training and finetuning steps by using the latest model to relabel synthetic data, the resulting model can significantly outperform the one trained only using labelled data. In summary, the contributions are as follows:
|
| 36 |
+
|
| 37 |
+
1. We proposed a novel self-training framework to make use of automatically generated data more wisely for neural retrieval models (§3).
|
| 38 |
+
2. Our experimental results on general-domain benchmarks show that the proposed framework can not only significantly boost the performance of state-of-the-art neural retrievers, but also yield superior results in low-resource settings. We further show our framework is general and can be extended to improve more powerful cross-encoder-based rerankers (§4).
|
| 39 |
+
3. Further experiments are conducted on the out-of-domain BEIR benchmark (Thakur et al.,
|
| 40 |
+
|
| 41 |
+
2021), and both neural retrievers and rerankers surpass a series of strong models (§4.6).
|
| 42 |
+
|
| 43 |
+
# 2 Preliminaries
|
| 44 |
+
|
| 45 |
+
# 2.1 Task Definition
|
| 46 |
+
|
| 47 |
+
We focus on the task of short-passage retrieval (IR) in this work. Given a query in the form of a short text, the task requires retrieving a small set of passages that can satisfy the information needs, from a collection of passages in million or billion scale. Formally, suppose we have a passage collection $\mathcal{P} = \{p_1,p_2,\dots ,p_n\}$ , the retriever is required to fetch top- $k$ passages $\mathcal{P}_q = \{p_1,p_2,\dots ,p_k\}$ from $\mathcal{P}$ that are relevant to a specific query $q$ .
|
| 48 |
+
|
| 49 |
+
# 2.2 Dense Passage Retrieval
|
| 50 |
+
|
| 51 |
+
In contrast to traditional IR methods, such as BM25 (Robertson and Zaragoza, 2009), which represent texts in high dimensional and sparse vectors with inverted index, dense retrieval methods alternatively adopt neural models to encode texts (queries or passages) in dense latent vectors with much smaller dimensions. A dense passage retrieval model (Karpukhin et al., 2020) typically adopts the dual-encoder architecture, where neural models are used to encode the query and passage into dense vectors separately. The relevance is measured by the dot product between their embeddings:
|
| 52 |
+
|
| 53 |
+
$$
|
| 54 |
+
s (q, p; \theta) = \mathbf {E} _ {q} (q; \theta) ^ {\top} \cdot \mathbf {E} _ {p} (p; \theta) \tag {1}
|
| 55 |
+
$$
|
| 56 |
+
|
| 57 |
+
where $\mathbf{E}(\cdot ;\theta)$ is an encoder parameterised by $\theta$ The adoption of this form of 'dual-encoder' architecture decouples the encoding of query and passage. At inference, all passages in $\mathcal{P}$ can be encoded offline. When a query $q$ comes in, efficient
|
| 58 |
+
|
| 59 |
+
nearest neighbour search (Johnson et al., 2021) can be performed to fetch the top- $k$ passages.
|
| 60 |
+
|
| 61 |
+
Contrastive learning is applied to train the dual-encoder. Given a query $q$ , we have a positive passage $p^+$ and a set of $n$ negative passages $\mathcal{P}_q^- = \{p_i^-\}_{i=1}^n$ . The model is being optimised by minimising the negative log likelihood of the positive passage:
|
| 62 |
+
|
| 63 |
+
$$
|
| 64 |
+
\begin{array}{l} \mathcal {L} _ {\mathrm {C L}} = - \log D (p ^ {+} | q, \mathcal {P}, \theta) \\ = - \log \frac {s (q , p ^ {+} ; \theta)}{\sum_ {p \in \{p ^ {+} \} \cup \mathcal {P} _ {q} ^ {-}} s (q , p ; \theta)} \tag {2} \\ \end{array}
|
| 65 |
+
$$
|
| 66 |
+
|
| 67 |
+
$\mathcal{P}_q^-$ is the set of irrelevant passages constructed from in-batch negatives (Chen et al., 2020) (i.e. positive passages of other queries in the same minibatch) and mined hard negatives from existing retrievers (Karpukhin et al., 2020; Xiong et al., 2021).
|
| 68 |
+
|
| 69 |
+
# 3 Method
|
| 70 |
+
|
| 71 |
+
# 3.1 Self-Training with Synthetic Queries
|
| 72 |
+
|
| 73 |
+
Self-training (Yarowsky, 1995) has been shown effective in improving model performance through using unlabelled or synthetic data. It first use labelled data to train a good teacher, then the teacher is used to generate pseudo labels on unlabelled data. Finally, an identical student model is first pre-trained on unlabelled data with soft labels and then finetuned on labelled data. Recently, it has been shown to work well for a variety of tasks, including image classification (Xie et al., 2020) and neural machine translation (He et al., 2020). However, its effectiveness has not yet been evaluated for dense passage retrieval, especially with automatically synthesised queries.
|
| 74 |
+
|
| 75 |
+
Suppose we have a well-trained query generator, which is used to generate a set of synthetic query-passage pairs $\mathcal{T}^{\prime} = \{(q^{\prime},p^{\prime +})\}$ . Moreover, we assume that a teacher dense retrieval model that is fully trained on labelled data is available. The student retriever has the same architecture as the teacher, but it only accesses the soft labels produced by the teacher during training. This ensures that all involved negatives are not treated equally but with different soft labels, and more relevant passages are more likely to be penalised less. Moreover, we assume the use of teacher supervision will make the supervision signal for problematic queries (e.g., general or ambiguous queries) much more diverse, as the teacher will have little clue and a corresponding high entropy predictive distribution. Formally,
|
| 76 |
+
|
| 77 |
+
the learning process is conducted via KL divergence by closing the distribution distance between the student and teacher:
|
| 78 |
+
|
| 79 |
+
$$
|
| 80 |
+
\mathcal {L} _ {\mathrm {S T}} = \operatorname {K L} \left(T \left(\cdot | q ^ {\prime}, \mathcal {P} _ {q ^ {\prime}} ^ {\prime}, \theta_ {T}\right), S \left(\cdot | q ^ {\prime}, \mathcal {P} _ {q ^ {\prime}} ^ {\prime}, \theta_ {S}\right)\right) \tag {3}
|
| 81 |
+
$$
|
| 82 |
+
|
| 83 |
+
where $\mathcal{P}_{q'}' = \{p'+\} \cup \mathcal{P}_{q'}'$ , which is the union of the pseudo positive passage of synthetic query $q'$ and the sampled negatives as in §2.2. $T(\cdot | q', \mathcal{P}_{q'}', \theta_T)$ and $S(\cdot | q', \mathcal{P}_{q'}', \theta_S)$ are the distributions from the teacher and student, respectively.
|
| 84 |
+
|
| 85 |
+
We further inject noises into student's inputs, hoping that it can generate more robust embeddings. Through injecting noises, the student needs to imitate the behaviour of the teacher with perturbed inputs (i.e. different views), being encouraged to learn generalised signals from the teacher (He et al., 2020). Inspired by Wu et al. (2019), we use following strategies for noise injection:
|
| 86 |
+
|
| 87 |
+
1. Shuffle: randomly choose some words in the query or passage as candidates for shuffling, then randomly shuffle these candidates.
|
| 88 |
+
2. Delete: randomly delete some words in the query or passage.
|
| 89 |
+
3. Mask: randomly mask some words in the query or passage with a [MASK] token.
|
| 90 |
+
|
| 91 |
+
Empirically, we found that applying them sequentially to both queries and passages with a probability 0.1 achieves the best results. Thus, the self-training loss of noised version becomes:
|
| 92 |
+
|
| 93 |
+
$$
|
| 94 |
+
\mathcal {L} _ {\mathrm {S T}} = \mathrm {K L} (T (\cdot | q ^ {\prime}, \mathcal {P} _ {q ^ {\prime}} ^ {\prime}, \theta_ {T}), S (\cdot | \widetilde {q} ^ {\prime}, \widetilde {\mathcal {P}} _ {q ^ {\prime}} ^ {\prime}, \theta_ {S})) \quad (4)
|
| 95 |
+
$$
|
| 96 |
+
|
| 97 |
+
where $\widetilde{q'}$ and $\widetilde{\mathcal{P}}_{q'}'$ are noised query and passages.
|
| 98 |
+
|
| 99 |
+
# 3.2 Training Pipeline
|
| 100 |
+
|
| 101 |
+
Algorithm 1 summarises the training pipeline, with an overview shown in Figure 1. More specifically:
|
| 102 |
+
|
| 103 |
+
Teacher Preparation (line 3 in Alg. 1) We first train a teacher model in labelled data using a two-stage training similar to (Gao and Callan, 2022). In the first stage, the retriever is trained with hard negatives sampled from a BM25 retriever. Then, the retriever trained in the first stage is used to discover hard negatives, which are later used to train a second-stage retriever. The resulted retriever serves as the teacher $\theta_T$ in our algorithm.
|
| 104 |
+
|
| 105 |
+
Index Building & Hard Negative Mining (lines 4-5 in Alg. 1) The teacher model $\theta_T$ encodes all passages on $\mathcal{P}$ into dense vectors, which are later used to build the ANN search index with FAISS.
|
| 106 |
+
|
| 107 |
+

|
| 108 |
+
Figure 1: The overview of noisy self-training algorithm. Line numbers in Algorithm 1 are above each arrow type.
|
| 109 |
+
|
| 110 |
+
# Algorithm 1 Noisy Self-Training with Synthetic Queries
|
| 111 |
+
|
| 112 |
+
Require: Gold query-passage pairs $\mathcal{T} = \{(q,p^{+})\}$
|
| 113 |
+
|
| 114 |
+
Require: Passage collection $\mathcal{P}$
|
| 115 |
+
|
| 116 |
+
1: Train a query generator $G$ on gold pairs $\mathcal{T}$
|
| 117 |
+
2: Generate queries from $\mathcal{P}$ and construct synthetic query-passage pairs $\mathcal{T}^{\prime} = \{(q^{\prime},p^{\prime +})\}_{1}^{\| \mathcal{P}\|\}$ .
|
| 118 |
+
3: Train a dual-encoder retriever $\theta_T$ on gold pairs $\mathcal{T}$
|
| 119 |
+
4: Use $\theta_T$ to build ANN index on $\mathcal{P}$
|
| 120 |
+
5: Retrieve negatives $\mathcal{P}_q^-$ for each $(q,p^{+})\in \mathcal{T}$ and $\mathcal{P}_{q'}^{-}$ for each $(q',p'^{+})\in \mathcal{T}'$
|
| 121 |
+
6: Use $\theta_T$ as the teacher to generate soft-labels on synthetic queries $\mathcal{T}' = \{(q',p'^{+},\mathcal{P}_{q'}^{-})\}$
|
| 122 |
+
7: Pre-train a student retriever $\theta_S$ on soft-labelled synthetic queries $\mathcal{T}'$ , with noises injected to $\theta_S$ 's inputs
|
| 123 |
+
8: Finetune $\theta_S$ on gold pairs $\mathcal{T} = \{(q,p^{+},\mathcal{P}_q^{-})\}$
|
| 124 |
+
9: Take $\theta_S$ as new teacher: $\theta_T \gets \theta_S$ and go back to line 6
|
| 125 |
+
|
| 126 |
+
Hard negatives for both labelled data $\{(q,p^{+})\}$ and synthetic data $\{(q^{\prime},p^{\prime +})\}$ are retrieved using the built index, by taking $k$ -nearest neighbours while excluding the gold passage.
|
| 127 |
+
|
| 128 |
+
Noisy Self Training & Fine-tuning (lines 6-8 in Alg. 1) A student model $\theta_{S}$ is first pre-trained on the synthetic queries with the noised self-training objective (Eq. 4), after which it is fine-tuned on labelled data according to Eq. 2.
|
| 129 |
+
|
| 130 |
+
Iterative Training (line 9 in Alg. 1) The teacher model can be replaced by the student to generate new pseudo labels and do noisy self-training and fine-tuning all over again.
|
| 131 |
+
|
| 132 |
+
# 4 General Domain Experiments
|
| 133 |
+
|
| 134 |
+
# 4.1 Datasets
|
| 135 |
+
|
| 136 |
+
We evaluate our method on two general-domain datasets: MS-MARCO passage ranking (Bajaj et al., 2016) and Natural Questions (NQ) (Kwiatkowski et al., 2019). MRR@10, Recall@50, Recall@1000 on the MS-MARCO dev set are reported, where MRR represents the Mean Reciprocal Rank, which is calculated as the sum of the reciprocal rank of the first retrieved relevant
|
| 137 |
+
|
| 138 |
+
passage for each query; and Recall@k is the proportion of relevant passages that appear in the top-k retrievals. Recall@k (k=5, 20, 100) is reported on Natural Questions, which is the proportion of top-k retrieved passages that contain the answer string to each query. The evaluation script provided by Py-serini (Lin et al., 2021) is used for all experiments.
|
| 139 |
+
|
| 140 |
+
# 4.2 Experimental Settings
|
| 141 |
+
|
| 142 |
+
We replicate the coCondenser model (Gao and Callan, 2022) using PyTorch (Paszke et al., 2019) and treat it as our baseline.
|
| 143 |
+
|
| 144 |
+
For self-training, the coCondenser model that was fully trained on labelled data serves as the teacher, which we use to train the student retriever on synthetic queries. After self-training, the student is further finetuned on labelled data, with hyperparameters following Gao and Callan (2022). The last checkpoint is selected for evaluation on test set for all experiments. More details are in Appendix A.1.
|
| 145 |
+
|
| 146 |
+
# 4.3 Main Results
|
| 147 |
+
|
| 148 |
+
Table 2 shows the results of our model compared with a range of lexical and neural retrievers. We observe that the performance of our replicated coCondenser is competitive with that of Gao and Callan (2022), achieving slightly better results on Natural Questions but slightly worse on MS-MARCO. By applying our proposed noisy self-training framework, the student coCondenser outperforms the state-of-the-art results on both datasets, resulting in significant improvements over coCondenser (1.2% MRR@10 and R@5 on MS-MARCO and Natural Questions, respectively). This also shows that although coCondenser has already been pre-trained on the target corpus, continuing pre-training it on synthetic queries with noisy self-training can still lead to further performance boost.
|
| 149 |
+
|
| 150 |
+
To test if the proposed method is general, we also combine it with various pre-trained models, includ
|
| 151 |
+
|
| 152 |
+
<table><tr><td rowspan="2">Method</td><td colspan="3">MS-MARCO</td><td colspan="3">Natural Questions</td></tr><tr><td>MRR@10</td><td>R@50</td><td>R@1k</td><td>R@5</td><td>R@20</td><td>R@100</td></tr><tr><td>BM25 (Robertson and Zaragoza, 2009)*</td><td>18.7</td><td>59.2</td><td>85.7</td><td>-</td><td>59.1</td><td></td></tr><tr><td>DeepCT (Dai and Callan, 2020)*</td><td>24.3</td><td>69.0</td><td>91.0</td><td>-</td><td>-</td><td>-</td></tr><tr><td>docT5query (Nogueira and Lin, 2019)*</td><td>27.7</td><td>75.6</td><td>94.7</td><td>-</td><td>-</td><td>-</td></tr><tr><td>GAR (Mao et al., 2021)*</td><td>-</td><td>-</td><td>-</td><td>60.9</td><td>74.4</td><td>85.3</td></tr><tr><td>DPR (Karpukhin et al., 2020)*</td><td>-</td><td>-</td><td>-</td><td>-</td><td>74.4</td><td>85.3</td></tr><tr><td>ANCE (Xiong et al., 2021)*</td><td>33.0</td><td>-</td><td>95.9</td><td>-</td><td>81.9</td><td>87.5</td></tr><tr><td>ColBERT (Khattab and Zaharia, 2020)*</td><td>36.0</td><td>82.9</td><td>96.8</td><td>-</td><td>-</td><td>-</td></tr><tr><td>DPR-PAQ (Oguz et al., 2022)*</td><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>- BERTbase</td><td>31.4</td><td>-</td><td>-</td><td>74.5</td><td>83.7</td><td>88.6</td></tr><tr><td>- RoBERTa(base)</td><td>32.3</td><td>-</td><td>-</td><td>74.2</td><td>84.0</td><td>89.2</td></tr><tr><td>Condenser (Gao and Callan, 2021)*</td><td>36.6</td><td>-</td><td>97.4</td><td>-</td><td>83.2</td><td>88.4</td></tr><tr><td>coCondenser (Gao and Callan, 2022)*</td><td>38.2</td><td>-</td><td>98.4</td><td>75.8</td><td>84.3</td><td>89.0</td></tr><tr><td>Our coCondenser (Teacher) (Gao and Callan, 2022)†</td><td>37.8</td><td>85.5</td><td>98.2</td><td>75.9</td><td>85.0</td><td>89.4</td></tr><tr><td>Student coCondenser</td><td>39.4</td><td>86.7</td><td>98.5</td><td>77.0</td><td>85.5</td><td>89.5</td></tr></table>
|
| 153 |
+
|
| 154 |
+

|
| 155 |
+
|
| 156 |
+

|
| 157 |
+
Figure 2: Results on MS-MARCO dev and SCIDOCS test sets when using different pre-trained models.
|
| 158 |
+
|
| 159 |
+
Table 2: Results on MS-MARCO dev set and Natural Questions test set. * indicates results directly copied from Gao and Callan (2022) and Khattab and Zaharia (2020). † indicates our implementation. The best results are marked bold and unavailable results are left blank.
|
| 160 |
+
|
| 161 |
+
<table><tr><td rowspan="2">Method</td><td colspan="2">MS-MARCO</td><td colspan="2">Natural Questions</td></tr><tr><td>MRR@10</td><td>R@1</td><td>R@5</td><td>R@20</td></tr><tr><td>Teacher Reranker</td><td>43.0</td><td>61.9</td><td>80.0</td><td>86.4</td></tr><tr><td>Student Reranker</td><td>43.7</td><td>62.7</td><td>80.3</td><td>86.8</td></tr></table>
|
| 162 |
+
|
| 163 |
+
ing BERT (Devlin et al., 2019), Contriever (Izacard et al., 2021), Condenser (Gao and Callan, 2021), and RetroMAE (Xiao et al., 2022). Note that all models share the same architecture and only differ in their initial weights. Figure 2 shows the results on MS-MARCO. It is observed that the student model achieves consistent improvements on all pretrained models. Moreover, for worse teachers, the benefits gained by adopting the proposed method are generally more significant (e.g., 2.3 MRR@10 on BERT vs 1.3 MRR@10 on RetroMAE).
|
| 164 |
+
|
| 165 |
+
Table 3: Compared results between the teacher and student reranker. The top-50 and top-100 predictions from student coCondenser are re-ranked on MS-MARCO and Natural Questions, respectively.
|
| 166 |
+
|
| 167 |
+
<table><tr><td rowspan="2">Method</td><td colspan="2">MS-MARCO</td><td colspan="2">NQ</td></tr><tr><td>MRR@10</td><td>R@50</td><td>R@5</td><td>R@20</td></tr><tr><td>Student coCondenser</td><td>39.4</td><td>86.7</td><td>77.0</td><td>85.5</td></tr><tr><td>w/o noises</td><td>38.8</td><td>86.6</td><td>76.7</td><td>85.5</td></tr><tr><td>w/o pseudo labels</td><td>38.8</td><td>84.5</td><td>75.9</td><td>84.2</td></tr><tr><td>consistency filtering</td><td>38.8</td><td>86.2</td><td>76.5</td><td>85.3</td></tr><tr><td>joint training</td><td>38.4</td><td>86.1</td><td>76.8</td><td>85.3</td></tr></table>
|
| 168 |
+
|
| 169 |
+
Table 4: Results of different variants compared to the student model on MS-MARCO and Natural Questions.
|
| 170 |
+
|
| 171 |
+
We also adapt the proposed framework to see if it can be applied to improve an expensive reranker. Similarly, a teacher reranker that was fully trained on labelled data $^2$ is used to generate soft labels on synthetic data, and an identical student reranker is pre-trained. A cross-encoder model is used as the backbone to jointly encode both query and passage. As shown in Table 3, we see that by reranking the student coCondenser's top- $k$ predictions, the student reranker can outperform the teacher, boosting the performance with another $0.7\%$ and $0.8\%$ gains on MRR@10 and R@1, respectively.
|
| 172 |
+
|
| 173 |
+
# 4.4 Ablation Studies
|
| 174 |
+
|
| 175 |
+
We conduct ablation studies to further understand our methods, with results reported in Table 4.
|
| 176 |
+
|
| 177 |
+
Noise Injection We remove noise injection during pre-training, and the pre-training objective changes from Eq. 4 to Eq. 3. It is observed that the noisy injection strategies show positive impacts in helping the model rank correct answers higher.
|
| 178 |
+
|
| 179 |
+
Pseudo Labels We remove line 4 in Algorithm 1 and directly use synthetic labels $\{(q', p'^+)\}$ together with hard negatives for pre-training in line 5. The results show that directly pre-training on synthetic query-passage pairs leads to inferior performance on both datasets, resulting in significant performance degradation on all metrics, especially on Natural Questions where the R@20 score is even worse than the coCondenser baseline. This indicates that synthetic query-passage pairs contain a large number of noises, and adopting our proposed method can effectively alleviate the negative impacts of noises, which validates our hypothesis.
|
| 180 |
+
|
| 181 |
+
Consistency Filtering We take the teacher as a consistency filter (Alberti et al., 2019) to remove noises contained in synthetic data. More specifically, for a given synthetic query-passage pair $(q^{\prime},p^{\prime +})$ , if $p^{\prime +}$ can be retrieved by the teacher in the top-1 position, this pair is kept; otherwise, it will be discarded. Although this strategy can effectively improve the quality of synthetic data and also yields competitive performance, taking the teacher as a pseudo-label generator leads to better results.
|
| 182 |
+
|
| 183 |
+
Joint Training We jointly train the student model on both synthetic and labelled data, where the loss becomes $\mathcal{L} = \mathcal{L}_{\mathrm{ST}} + \mathcal{L}_{\mathrm{CL}}$ . Different batch sizes are also used for synthetic and labelled data to ensure the overall update steps are roughly the same as in pre-train + finetune. We observe that joint training leads to significantly worse results on MS-MARCO but comparable performance on Natural Questions.
|
| 184 |
+
|
| 185 |
+
# 4.5 Analysis
|
| 186 |
+
|
| 187 |
+
Data Efficiency We further analyse how the size of labelled query-passage pairs used for training affects the retrieval performance of our method. Smaller datasets are randomly sampled from the full MS-MARCO training data with different sizes, ranging from $1\%$ to $70\%$ . Note that in each data size setting, all involved models are restricted to that specific amount of labelled data samples. Figure 3 compares the performance of the teacher and student model trained on labelled data with different sizes. The results reveal that the student surpasses the teacher under all data sizes, and the performance gap becomes larger as the number of
|
| 188 |
+
|
| 189 |
+

|
| 190 |
+
Figure 3: Impacts of labelled training data size on MS-MARCO dev set. Teacher refers to coCondenser.
|
| 191 |
+
|
| 192 |
+

|
| 193 |
+
Figure 4: Impacts of randomly shuffling different proportions of tokens on MS-MARCO dev queries at test time. Teacher refers to coCondenser.
|
| 194 |
+
|
| 195 |
+
labelled data samples decreases. Moreover, the student is superior in terms of data efficiency, achieving performance comparable to the teacher model using full data samples (i.e., our coCondenser in Table 2) with as little as $30\%$ of labelled data, and the performance continues to improve when more data is available.
|
| 196 |
+
|
| 197 |
+
Robustness to Shuffled Query Figure 4 compares the performance when different proportions of tokens in each test query are randomly shuffled. We observe that the student model is significantly more robust to queries with tokens in random orders. By removing noise injection during training, the performance drops become increasingly larger with more tokens shuffled, indicating that the noise injection strategy not only leads to performance gains in normal settings but also improves the robustness towards perturbed inputs. This also signifies our model learns lexical matching in capturing salient phrases to some extent, a property typically held in sparse retrievers (e.g., BM25).
|
| 198 |
+
|
| 199 |
+
# 4.6 Out-of-Domain Experiments
|
| 200 |
+
|
| 201 |
+
We further test the domain adaptation ability of our proposed method by reporting the performance on the BEIR benchmark (Thakur et al., 2021), which
|
| 202 |
+
|
| 203 |
+
<table><tr><td rowspan="2">Model (→)</td><td colspan="3">Lexical & Sparse</td><td colspan="6">Dense Retriever</td><td colspan="3">Retriever + Reranker</td></tr><tr><td>BM25*</td><td>DeepCT*</td><td>docT5- query*§</td><td>Teacher</td><td>GenQ§</td><td>GPL§</td><td>GPL-S</td><td>PTR§</td><td>Student Retriever§</td><td>PTR+§</td><td>Teacher Reranker</td><td>Student Reranker§</td></tr><tr><td>Model Size</td><td>-</td><td>-</td><td>-</td><td>110M</td><td>110M×18</td><td>66M×18</td><td>110M</td><td>110M×11</td><td>110M</td><td>110M×11</td><td>110M</td><td>110M</td></tr><tr><td>QGen. Size</td><td>-</td><td>-</td><td>220M</td><td>-</td><td>220M</td><td>220M</td><td>220M</td><td>137B</td><td>220M</td><td>137B</td><td>-</td><td>220M</td></tr><tr><td>TREC-COVID</td><td>65.6</td><td>40.6</td><td>71.3</td><td>74.1</td><td>68.4</td><td>70.0</td><td>73.6</td><td>72.7</td><td>76.7</td><td>76.0</td><td>77.6</td><td>76.5</td></tr><tr><td>BioASQ</td><td>46.5</td><td>40.7</td><td>43.1</td><td>29.5</td><td>31.0</td><td>44.2</td><td>44.7</td><td>-</td><td>35.7</td><td>-</td><td>46.8</td><td>46.8</td></tr><tr><td>NFCorpus</td><td>32.5</td><td>28.3</td><td>32.8</td><td>33.1</td><td>34.6</td><td>34.5</td><td>34.9</td><td>33.4</td><td>34.9</td><td>36.0</td><td>31.0</td><td>32.6</td></tr><tr><td>NQ</td><td>32.9</td><td>18.8</td><td>39.9</td><td>48.4</td><td>44.4</td><td>48.3</td><td>49.0</td><td>-</td><td>50.3</td><td>-</td><td>58.5</td><td>59.1</td></tr><tr><td>HotpotQA</td><td>60.3</td><td>50.3</td><td>58.0</td><td>56.9</td><td>56.5</td><td>58.2</td><td>56.3</td><td>60.4</td><td>58.4</td><td>71.2</td><td>66.6</td><td>68.4</td></tr><tr><td>FiQA-2018</td><td>23.6</td><td>19.1</td><td>29.1</td><td>30.1</td><td>33.0</td><td>34.4</td><td>34.6</td><td>40.4</td><td>33.3</td><td>45.9</td><td>39.1</td><td>39.6</td></tr><tr><td>Signal-1M (RT)</td><td>33.0</td><td>26.9</td><td>30.7</td><td>27.8</td><td>27.0</td><td>27.6</td><td>27.0</td><td>-</td><td>29.5</td><td>-</td><td>26.5</td><td>28.1</td></tr><tr><td>TREC-NEWS</td><td>39.8</td><td>22.0</td><td>42.0</td><td>40.1</td><td>40.7</td><td>42.1</td><td>42.8</td><td>-</td><td>43.8</td><td>-</td><td>43.9</td><td>44.2</td></tr><tr><td>Robust04</td><td>40.8</td><td>28.7</td><td>43.7</td><td>43.6</td><td>40.6</td><td>43.7</td><td>46.9</td><td>-</td><td>46.8</td><td>-</td><td>46.2</td><td>48.6</td></tr><tr><td>ArguAna</td><td>31.5</td><td>30.9</td><td>34.9</td><td>37.3</td><td>46.3</td><td>55.7</td><td>53.4</td><td>53.8</td><td>50.1</td><td>52.1</td><td>55.1</td><td>57.8</td></tr><tr><td>Touché-2020</td><td>36.7</td><td>15.6</td><td>34.7</td><td>30.5</td><td>17.9</td><td>25.5</td><td>24.4</td><td>26.6</td><td>30.4</td><td>27.8</td><td>33.3</td><td>35.0</td></tr><tr><td>CQADupStack</td><td>29.9</td><td>26.8</td><td>32.5</td><td>32.6</td><td>35.5</td><td>35.7</td><td>36.2</td><td>-</td><td>35.8</td><td>-</td><td>35.0</td><td>35.5</td></tr><tr><td>Quora</td><td>78.9</td><td>69.1</td><td>80.2</td><td>85.6</td><td>86.1</td><td>83.6</td><td>83.6</td><td>-</td><td>86.8</td><td>-</td><td>80.0</td><td>82.5</td></tr><tr><td>DBPedia</td><td>31.3</td><td>17.1</td><td>33.1</td><td>37.5</td><td>36.3</td><td>38.4</td><td>38.1</td><td>36.4</td><td>37.2</td><td>41.3</td><td>41.5</td><td>43.3</td></tr><tr><td>SCIDOCS</td><td>15.8</td><td>12.4</td><td>16.2</td><td>14.3</td><td>15.2</td><td>16.9</td><td>16.7</td><td>16.3</td><td>16.1</td><td>19.1</td><td>15.6</td><td>16.4</td></tr><tr><td>FEVER</td><td>75.3</td><td>35.3</td><td>71.4</td><td>71.8</td><td>69.2</td><td>75.9</td><td>75.9</td><td>76.2</td><td>72.2</td><td>83.8</td><td>82.1</td><td>82.1</td></tr><tr><td>Climate-FEVER</td><td>21.3</td><td>6.6</td><td>20.1</td><td>17.6</td><td>21.8</td><td>23.5</td><td>23.4</td><td>21.4</td><td>22.2</td><td>22.6</td><td>23.3</td><td>23.3</td></tr><tr><td>SciFact</td><td>66.5</td><td>63.0</td><td>67.5</td><td>61.0</td><td>66.2</td><td>67.4</td><td>67.6</td><td>62.3</td><td>65.1</td><td>73.2</td><td>70.8</td><td>72.1</td></tr><tr><td colspan="13">Avg. Performance</td></tr><tr><td>PTR-11 Subsets</td><td>41.8</td><td>29.0</td><td>42.6</td><td>42.2</td><td>42.3</td><td>45.5</td><td>45.4</td><td>45.5</td><td>45.2</td><td>49.9</td><td>48.7</td><td>49.7</td></tr><tr><td>All</td><td>42.3</td><td>30.7</td><td>43.4</td><td>42.9</td><td>42.8</td><td>45.9</td><td>46.1</td><td>-</td><td>45.9</td><td>-</td><td>48.5</td><td>49.6</td></tr></table>
|
| 204 |
+
|
| 205 |
+
Table 5: Results on BEIR benchmark (nDCG@10). Best results are marked bold and second best results are underlined. * indicates results copied from Thakur et al. (2021). † indicates our implementation. § means methods using synthetic queries. ¶ means methods learning from cross-encoder rerankers, thus are not directly comparable to ours. ×n means that these methods train specialised models for each datasets.
|
| 206 |
+
|
| 207 |
+
contains 18 datasets from retrieval tasks of diverse formats and domains. The average nDCG@10 score over all datasets is used for evaluation.
|
| 208 |
+
|
| 209 |
+
Implementation Details We use the coCondenser model that was fine-tuned on MS-MARCO as the teacher model in our algorithm, which we call Teacher henceforth. For synthetic queries, we directly use the publicly available ones released by Wang et al. (2022). Since labelled data is not available, the fine-tuning step is eliminated. Unlike previous methods that train specialised retrievers for each task, we train a single universal retriever on the union of synthetic queries from all tasks. We directly use the last checkpoint for evaluation on the test set of each task. To ensure fair comparison, we also re-implement GPL by following the same configurations as in Wang et al. (2022) except that
|
| 210 |
+
|
| 211 |
+
we employ the Teacher retriever for initialisation and train a single model, denoted as GPL-S.
|
| 212 |
+
|
| 213 |
+
We also investigate if the proposed method can improve the reranker's out-of-domain performance. Similarly, the reranker trained on MS-MARCO serves as the teacher: Teacher-Reranker, guided by which an indetical Student Reranker is trained. At inference, both rerankers are applied to rerank the top-100 predictions of the Student Retriever. The official evaluation script is used for experiments.6 More details are in Appendix A.2.
|
| 214 |
+
|
| 215 |
+
Main Results We compare our proposed model with a variety of models, including BM25 (Robertson and Zaragoza, 2009), DocT5query (Nogueira and Lin, 2019), DeepCT (Dai and Callan, 2020), GenQ (Thakur et al., 2021), GPL (Wang et al.,
|
| 216 |
+
|
| 217 |
+
2022) and PTR (Dai et al., 2023).<sup>7</sup> Table 5 shows the experimental results. We first notice that the Teacher model already achieves strong results compared to other baseline models. GenQ which further finetunes Teacher on synthetic data does not show positive effects, indicating that synthetic queries are extremely noisy and directly using them for training is not beneficial. By contrast, the student retriever trained using our noisy self-training framework significantly improves over Teacher, increasing the averaged nDCG@10 by $3.0\%$ . Even when being compared to GPL and GPL-S, the models that also use query generation for training data augmentation but take a prohibitively expensive reranker as a pseudo-label generator, and PTR that prompts a 137B instruction-tuned large language model for query generation, our model can still achieve competitive averaged performance and beats these task-specialised retrievers on 6 out of 18 tasks while being comparable on the rest. Note that our model does not rely on any external models, and it is improved in a self-evolution manner, managing to exhibit a high degree of efficiency. More specifically, when being compared to GPL, our method significantly diminishes training time by roughly a factor of three $(204\mathrm{h} \rightarrow 74\mathrm{h})$ and it achieves a $25\times$ speed-up in relevance labelling $(20\mathrm{ms/q} \rightarrow 0.8\mathrm{ms/q})$ . Figure 2 shows that our method achieves consistent improvements and beats GenQ across different pre-trained models on SCIDOCS, a dataset that is significantly different from MS-MARCO in retrieval needs and domain. See Table 10 for full details.
|
| 218 |
+
|
| 219 |
+
When adopting the same framework to rerankers, the student rereanker can further boost the performance with another 1.1 average points over the teacher reranker. The results again confirm that our method is general and can be extended to improve a powerful reranker in out-of-domain settings.
|
| 220 |
+
|
| 221 |
+
Discussion The adaptation of our proposed framework in out-of-domain tasks can be interpreted as a specific type of unsupervised domain adaptation (UDA) algorithm (Wang and Deng, 2018), where a model aims to maximise its performance on target domains when only labelled data from in-domain sources and unlabelled data from target domains are available. In our case, the query generator trained on in-domain data (i.e., MS-MARCO) is employed to generate synthetic queries on unlabelled target-domain data (i.e., cor
|
| 222 |
+
|
| 223 |
+
pus in BEIR datasets). Meanwhile, the retriever trained on in-domain data (i.e. Teacher) generates soft labels for these synthetic queries. As a result, the query generator fabricates distributions of potential queries that could be possibly asked in the target domain; while the teacher retriever captures prevalent patterns of correspondence between queries and passages within the target domain, by leveraging the knowledge it has acquired from the labelled in-domain data. When exposing it to such silver target-domain data during training, a new student retriever is enforced to acquire relevant knowledge that is required to complete retrieval tasks in target domains. Consequently, the exposure to pseudo target-domain data mandates the improvement of domain-specific aptitude within the student retriever, allowing it to effectively retrieve information within target domains.
|
| 224 |
+
|
| 225 |
+
# 4.7 Self-Training Iterations
|
| 226 |
+
|
| 227 |
+
Table 6 compares the models trained with varying numbers of iterations. We observe that employing a single iteration yields optimal results, while performance diminishes with more iterations. We conjecture that errors produced in relevance labelling may accumulate over successive iterations, potentially reinforcing the model's bias towards particular error types as the training process continues.
|
| 228 |
+
|
| 229 |
+
# 4.8 Quality of Pseudo Labels
|
| 230 |
+
|
| 231 |
+
To assess the quality of the generated soft labels, we randomly sampled 100 synthetic queries and verified the relatedness of the originating passage to each synthetic query through manual examination. We observed that 49 of these queries were indeed related to their source passages. Among this subset of 49 queries, we noted that, $93\%$ of the time, the soft labels effectively identified alternative passages capable of accurately responding to the query. This was indicated by the assignment of a high probability mass to these alternative passages. In contrast, for the remaining 51 query-passage pairs, where the association was found to be incorrect, soft labels can identify better-matched passages for 42 of them. This observation provides strong evidence for the effectiveness of our proposed self-training methodology.
|
| 232 |
+
|
| 233 |
+
# 5 Related Work
|
| 234 |
+
|
| 235 |
+
Neural Dense Retriever Neural retrievers adopt neural networks to encode texts into low
|
| 236 |
+
|
| 237 |
+
<table><tr><td>Iteration</td><td>MM</td><td>TC</td><td>BA</td><td>NF</td><td>NQ</td><td>HP</td><td>FQ</td><td>SG</td><td>TN</td><td>RB</td><td>AA</td><td>T2</td><td>CQ</td><td>QU</td><td>DB</td><td>SD</td><td>FE</td><td>CF</td><td>SF</td><td>Avg</td></tr><tr><td>0</td><td>37.3</td><td>74.1</td><td>29.5</td><td>33.1</td><td>48.4</td><td>56.9</td><td>30.1</td><td>27.8</td><td>40.1</td><td>43.6</td><td>37.3</td><td>30.5</td><td>32.6</td><td>85.6</td><td>37.5</td><td>14.3</td><td>71.8</td><td>17.6</td><td>61.0</td><td>42.9</td></tr><tr><td>1</td><td>39.4</td><td>76.7</td><td>35.7</td><td>34.9</td><td>50.3</td><td>58.4</td><td>33.3</td><td>29.5</td><td>43.8</td><td>46.8</td><td>50.1</td><td>30.4</td><td>35.8</td><td>86.8</td><td>37.2</td><td>16.1</td><td>72.2</td><td>22.2</td><td>65.1</td><td>45.9</td></tr><tr><td>2</td><td>39.1</td><td>75.7</td><td>36.9</td><td>34.9</td><td>49.2</td><td>57.5</td><td>33.7</td><td>28.7</td><td>42.8</td><td>46.4</td><td>50.6</td><td>29.2</td><td>36.5</td><td>86.2</td><td>35.8</td><td>16.5</td><td>70.9</td><td>22.2</td><td>66.7</td><td>45.6</td></tr></table>
|
| 238 |
+
|
| 239 |
+
Table 6: Ablations on the number of self-training iterations. Tasks are ordered as in Table 5. MM indicates MS-MARCO and is excluded when computing the average.
|
| 240 |
+
|
| 241 |
+
dimensional embeddings and show superiority over lexical retrievers when being trained on sufficient data. Karpukhin et al. (2020) adopts a dual-encoder structure to use two independent neural encoders to encode queries and passages into fix-sized vectors separately with their dot product as the relevance score. The model is trained to discriminate positive passages from randomly-sampled irrelevant ones or more informative negatives (Xiong et al., 2021). Other works adopt the poly-encoder architecture (Humeau et al., 2020), where query and documents are represented as multiple vectors to allow token-level interactions (Khattab and Zaharia, 2020). Although effective, the benefits come at the cost of increased index size and a more complex scoring function. In this work, we adopt the dual-encoder structure for its simplicity. However, our proposed method is orthogonal to model architectures, and we believe its combination with poly-encoder retrievers is worth further exploration.
|
| 242 |
+
|
| 243 |
+
Synthetic Queries for Information Retrieval Synthetic queries have been widely used in information retrieval. Early work expands passages with synthetic queries for lexical retrievers (Nogueira and Lin, 2019). Recent neural models take synthetic queries and their originating passages as positive pairs for model pre-training, resulting in boosted performance (Lu et al., 2021), better domain adaptation ability (Ma et al., 2021; Gangi Reddy et al., 2022) and promising zero-shot results (Dai et al., 2023). In order to reduce the noise in synthetic data, Wang et al. (2022) exploits a cross-encoder reranker to generate pseudo labels. It incurs expensive costs in generating soft labels and training task-customised retrievers, resulting in slow adaptation. Our work follows this direction but significantly differs in that we do not rely on any external model for synthetic data labelling and create dataset-specialised retrievers. By contrast, we empirically show that by using the retriever itself as a more efficient pseudo-label generator, it can be improved in a self-evolution manner with our introduced noisy self-training framework. Moreover, we show this framework is general and can
|
| 244 |
+
|
| 245 |
+
be extended to boost reranking performance.
|
| 246 |
+
|
| 247 |
+
Self-Training Self-training (Scudder, 1965) refers to a class of approaches that learn from unlabelled data with pseudo labels. A good teacher model is first trained on labelled data, which is later used to label unlabelled data. Another student model is then pre-trained on unlabelled data first and further finetuned on labelled data. More advanced methods train multiple teachers using features of disjoint partitions on labelled data and a student is learned from their ensembles (Blum and Mitchell, 1998). Recently, the effectiveness of self-training has been verified in a wide range of tasks, including machine translation with back translation (Wu et al., 2019) and language generation (He et al., 2020). These approaches are termed noisy self-training, as the inputs of the student are perturbed. In this work, we follow this direction to show that, for the first time, noisy self-training can be adopted to make better use of synthetic queries to improve neural retrievers in both general-domain and out-of-domain settings.
|
| 248 |
+
|
| 249 |
+
# 6 Conclusion
|
| 250 |
+
|
| 251 |
+
In this paper, we present a novel noisy self-training framework for neural retrieval models. It shows that when combined with automatically generated queries, neural retrievers can be improved in a self-evolution manner without relying on any external models. Empirical results on both general-domain and out-of-domain benchmarks confirm the superiority of our proposed method, significantly outperforming a wide range of competitive existing models. We further adapt our method to show it can be applied to improve an expensive reranker.
|
| 252 |
+
|
| 253 |
+
# Limitations
|
| 254 |
+
|
| 255 |
+
Although our proposed method does not change model architectures and the resulting models can perform as efficiently as previous models, the introduced training framework does incur the additional training cost, including query generation and the associated hard negative mining. Despite these ex
|
| 256 |
+
|
| 257 |
+
tra costs, the training of our methods has a fairly modest footprint by modern standards, taking about 3 days of a server with $4 \times \mathrm{A}100$ GPUs and 450G CPU RAM.
|
| 258 |
+
|
| 259 |
+
We mainly experiment with dual-encoder-based neural dense retrieval models and additionally adapt the method to reranker training in this work. Alternative retriever methods such as ColBERT (Khattab and Zaharia, 2020) and SPLADE (Formal et al., 2021) are compatible with our approach, and their incorporation should lead to further gains. However, they introduce extra complexity compared to the dual-encoder, e.g., requiring an index over tokens rather than complete passages. We leave their efficient integration as future work.
|
| 260 |
+
|
| 261 |
+
For out-of-domain experiments, the current method still relies on using general-domain datasets to obtain the teacher model and the query generator. How to achieve this in an unsupervised setting needs further exploration. Moreover, on tasks that have different retrieval needs from general passage retrieval, synthetic queries are normally quite different from the gold standard. For instance, some gold queries in DBPedia are general and may have multiple matching passages (e.g., Give me all people that were born in Vienna and died in Berlin.), but synthetic queries are usually only related to their originating passages (e.g., Who was Johannes Mayer). How to generate synthetic queries with high quality and similar properties to gold standard queries is the key to better retrievers.
|
| 262 |
+
|
| 263 |
+
As this work uses pre-trained language models for generating synthetic queries, it is possible that undesirable biases (e.g., gender and cultural) from the language models (Wei et al., 2022) is propagated to downstream models. This is in additional to existing biases in training and evaluation datasets (Bigdeli et al., 2021). Evaluating the extent to which biases affect the synthetic data and the resulting model is an inherently complex problem, and remains an open question for future work.
|
| 264 |
+
|
| 265 |
+
# Acknowledgements
|
| 266 |
+
|
| 267 |
+
We thank the anonymous reviewers for their helpful feedback and suggestions. The first author is supported by the Graduate Research Scholarships funded by the University of Melbourne. This work was funded by the Australian Research Council, Discovery grant DP230102775. This research was undertaken using the LIEF HPCGPGPU Facil
|
| 268 |
+
|
| 269 |
+
ity hosted at the University of Melbourne, which was established with the assistance of LIEF Grant LE170100200.
|
| 270 |
+
|
| 271 |
+
# References
|
| 272 |
+
|
| 273 |
+
Chris Alberti, Daniel Andor, Emily Pitler, Jacob Devlin, and Michael Collins. 2019. Synthetic QA corpora generation with roundtrip consistency. In Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics, pages 6168-6173, Florence, Italy. Association for Computational Linguistics.
|
| 274 |
+
Payal Bajaj, Daniel Campos, Nick Craswell, Li Deng, Jianfeng Gao, Xiaodong Liu, Rangan Majumder, Andrew McNamara, Bhaskar Mitra, Tri Nguyen, Mir Rosenberg, Xia Song, Alina Stoica, Saurabh Tiwary, and Tong Wang. 2016. Ms marco: A human generated machine reading comprehension dataset.
|
| 275 |
+
Amin Bigdeli, Negar Arabzadeh, Morteza Zihayat, and Ebrahim Bagheri. 2021. Exploring gender biases in information retrieval relevance judgement datasets. In Advances in Information Retrieval: 43rd European Conference on IR Research, ECIR 2021, Virtual Event, March 28 - April 1, 2021, Proceedings, Part II, page 216-224, Berlin, Heidelberg. Springer-Verlag.
|
| 276 |
+
Avrim Blum and Tom Mitchell. 1998. Combining labeled and unlabeled data with co-training. In Proceedings of the Eleventh Annual Conference on Computational Learning Theory, COLT'98, page 92-100, New York, NY, USA. Association for Computing Machinery.
|
| 277 |
+
Alexander Bondarenko, Maik Frobe, Meriem Beloucif, Lukas Gienapp, Yamen Ajjour, Alexander Panchenko, Chris Biemann, Benno Stein, Henning Wachsmuth, Martin Potthast, and Matthias Hagen. 2020. Overview of touche 2020: Argument retrieval. In Experimental IR Meets Multilinguality, Multimodality, and Interaction, pages 384-395, Cham. Springer International Publishing.
|
| 278 |
+
Vera Boteva, Demian Gholipour, Artem Sokolov, and Stefan Riezler. 2016. A full-text learning to rank dataset for medical information retrieval. In Advances in Information Retrieval, pages 716-722, Cham. Springer International Publishing.
|
| 279 |
+
Ting Chen, Simon Kornblith, Mohammad Norouzi, and Geoffrey Hinton. 2020. A simple framework for contrastive learning of visual representations. In Proceedings of the 37th International Conference on Machine Learning, volume 119 of Proceedings of Machine Learning Research, pages 1597-1607. PMLR.
|
| 280 |
+
Arman Cohan, Sergey Feldman, Iz Beltagy, Doug Downey, and Daniel Weld. 2020. SPECTER: Document-level representation learning using citation-informed transformers. In Proceedings of the 58th Annual Meeting of the Association
|
| 281 |
+
|
| 282 |
+
for Computational Linguistics, pages 2270-2282, Online. Association for Computational Linguistics.
|
| 283 |
+
Zhuyun Dai and Jamie Callan. 2020. Context-aware term weighting for first stage passage retrieval. In Proceedings of the 43rd International ACM SIGIR Conference on Research and Development in Information Retrieval, SIGIR '20, page 1533-1536, New York, NY, USA. Association for Computing Machinery.
|
| 284 |
+
Zhuyun Dai, Vincent Y Zhao, Ji Ma, Yi Luan, Jianmo Ni, Jing Lu, Anton Bakalov, Kelvin Guu, Keith Hall, and Ming-Wei Chang. 2023. Promptagator: Few-shot dense retrieval from 8 examples. In The Eleventh International Conference on Learning Representations.
|
| 285 |
+
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.
|
| 286 |
+
Thibault Formal, Benjamin Piwowarski, and Stéphane Clinchant. 2021. Splade: Sparse lexical and expansion model for first stage ranking. In Proceedings of the 44th International ACM SIGIR Conference on Research and Development in Information Retrieval, SIGIR '21, page 2288-2292, New York, NY, USA. Association for Computing Machinery.
|
| 287 |
+
Revanth Gangi Reddy, Vikas Yadav, Md Arafat Sultan, Martin Franz, Vittorio Castelli, Heng Ji, and Avirup Sil. 2022. Towards robust neural retrieval with source domain synthetic pre-finetuning. In Proceedings of the 29th International Conference on Computational Linguistics, pages 1065-1070, Gyeongju, Republic of Korea. International Committee on Computational Linguistics.
|
| 288 |
+
Luyu Gao and Jamie Callan. 2021. Condenser: a pretraining architecture for dense retrieval. In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing, pages 981-993, Online and Punta Cana, Dominican Republic. Association for Computational Linguistics.
|
| 289 |
+
Luyu Gao and Jamie Callan. 2022. Unsupervised corpus aware language model pre-training for dense passage retrieval. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 2843-2853, Dublin, Ireland. Association for Computational Linguistics.
|
| 290 |
+
Faegheh Hasibi, Fedor Nikolaev, Chenyan Xiong, Krisztian Balog, Svein Erik Bratsberg, Alexander Kotov, and Jamie Callan. 2017. Dbpedia-entity v2: A test collection for entity search. In Proceedings of the 40th International ACM SIGIR Conference on Research and Development in Information Retrieval,
|
| 291 |
+
|
| 292 |
+
SIGIR '17, page 1265-1268, New York, NY, USA. Association for Computing Machinery.
|
| 293 |
+
Junxian He, Jiatao Gu, Jiajun Shen, and Marc'Aurelio Ranzato. 2020. Revisiting self-training for neural sequence generation. In International Conference on Learning Representations.
|
| 294 |
+
Doris Hoogeveen, Karin M. Verspoor, and Timothy Baldwin. 2015. Cqadupstack: A benchmark data set for community question-answering research. In Proceedings of the 20th Australasian Document Computing Symposium, ADCS '15, New York, NY, USA. Association for Computing Machinery.
|
| 295 |
+
Samuel Humeau, Kurt Shuster, Marie-Anne Lachaux, and Jason Weston. 2020. Poly-encoders: Architectures and pre-training strategies for fast and accurate multi-sentence scoring. In International Conference on Learning Representations.
|
| 296 |
+
Gautier Izacard, Mathilde Caron, Lucas Hosseini, Sebastian Riedel, Piotr Bojanowski, Armand Joulin, and Edouard Grave. 2021. Unsupervised dense information retrieval with contrastive learning.
|
| 297 |
+
Jeff Johnson, Matthijs Douze, and Herve Jegou. 2021. Billion-scale similarity search with gpus. IEEE Transactions on Big Data, 7(3):535-547.
|
| 298 |
+
Vladimir Karpukhin, Barlas Oguz, Sewon Min, Patrick Lewis, Ledell Wu, Sergey Edunov, Danqi Chen, and Wen-tau Yih. 2020. Dense passage retrieval for open-domain question answering. In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP), pages 6769-6781, Online. Association for Computational Linguistics.
|
| 299 |
+
Omar Khattab and Matei Zaharia. 2020. *Colbert: Efficient and effective passage search via contextualized late interaction over bert.* In *Proceedings of the 43rd International ACM SIGIR Conference on Research and Development in Information Retrieval*, SIGIR '20, page 39-48, New York, NY, USA. Association for Computing Machinery.
|
| 300 |
+
Tom Kwiatkowski, Jennimaria Palomaki, Olivia Redfield, Michael Collins, Ankur Parikh, Chris Alberti, Danielle Epstein, Illia Polosukhin, Jacob Devlin, Kenton Lee, Kristina Toutanova, Llion Jones, Matthew Kelcey, Ming-Wei Chang, Andrew M. Dai, Jakob Uszkoreit, Quoc Le, and Slav Petrov. 2019. Natural questions: A benchmark for question answering research. Transactions of the Association for Computational Linguistics, 7:452-466.
|
| 301 |
+
Markus Leippold and Thomas Diggelmann. 2020. Climate-fever: A dataset for verification of real-world climate claims. In NeurIPS 2020 Workshop on Tackling Climate Change with Machine Learning.
|
| 302 |
+
Jimmy Lin, Xueguang Ma, Sheng-Chieh Lin, Jheng-Hong Yang, Ronak Pradeep, and Rodrigo Nogueira. 2021. Pyserini: A Python toolkit for reproducible information retrieval research with sparse and dense representations. In Proceedings of the 44th Annual
|
| 303 |
+
|
| 304 |
+
International ACM SIGIR Conference on Research and Development in Information Retrieval (SIGIR 2021), pages 2356-2362.
|
| 305 |
+
Jing Lu, Gustavo Hernandez Abrego, Ji Ma, Jianmo Ni, and Yinfei Yang. 2021. Multi-stage training with improved negative contrast for neural passage retrieval. In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing, pages 6091-6103, Online and Punta Cana, Dominican Republic. Association for Computational Linguistics.
|
| 306 |
+
Ji Ma, Ivan Korotkov, Yinfei Yang, Keith Hall, and Ryan McDonald. 2021. Zero-shot neural passage retrieval via domain-targeted synthetic question generation. In Proceedings of the 16th Conference of the European Chapter of the Association for Computational Linguistics: Main Volume, pages 1075-1088, Online. Association for Computational Linguistics.
|
| 307 |
+
Macedo Maia, Siegfried Handschuh, André Freitas, Brian Davis, Ross McDermott, Manel Zarrouk, and Alexandra Balahur. 2018. Ww'18 open challenge: Financial opinion mining and question answering. In Companion Proceedings of the The Web Conference 2018, WWW '18, page 1941-1942, Republic and Canton of Geneva, CHE. International World Wide Web Conferences Steering Committee.
|
| 308 |
+
Christopher D. Manning, Prabhakar Raghavan, and Hinrich Schütze. 2008. Introduction to Information Retrieval. Cambridge University Press, Cambridge, UK.
|
| 309 |
+
Yuning Mao, Pengcheng He, Xiaodong Liu, Yelong Shen, Jianfeng Gao, Jiawei Han, and Weizhu Chen. 2021. Generation-augmented retrieval for open-domain question answering. 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 4089-4100, Online. Association for Computational Linguistics.
|
| 310 |
+
Rodrigo Nogueira and Jimmy Lin. 2019. From doc2query to doctttttquery.
|
| 311 |
+
Barlas Oguz, Kushal Lakhotia, Anchit Gupta, Patrick Lewis, Vladimir Karpukhin, Aleksandra Piktus, Xilun Chen, Sebastian Riedel, Scott Yih, Sonal Gupta, and Yashar Mehdad. 2022. Domain-matched pre-training tasks for dense retrieval. In Findings of the Association for Computational Linguistics: NAACL 2022, pages 1524-1534, Seattle, United States. Association for Computational Linguistics.
|
| 312 |
+
Adam Paszke, Sam Gross, Francisco Massa, Adam Lerer, James Bradbury, Gregory Chanan, Trevor Killeen, Zeming Lin, Natalia Gimelshein, Luca Antiga, Alban Desmaison, Andreas Kopf, Edward Yang, Zach DeVito, Martin Raison, Alykhan Tejani, Sasank Chilamkurthy, Benoit Steiner, Lu Fang, Junjie Bai, and Soumith Chintala. 2019. PyTorch: An Imperative Style, High-Performance Deep Learning Library. Curran Associates Inc., Red Hook, NY, USA.
|
| 313 |
+
|
| 314 |
+
Stephen Robertson and Hugo Zaragoza. 2009. The probabilistic relevance framework: Bm25 and beyond. Found. Trends Inf. Retr., 3(4):333-389.
|
| 315 |
+
H. Scudder. 1965. Probability of error of some adaptive pattern-recognition machines. IEEE Transactions on Information Theory, 11(3):363-371.
|
| 316 |
+
Ian Soboroff, Shudong Huang, and Donna Harman. 2019. Trec 2019 news track overview. In TREC.
|
| 317 |
+
Axel Suarez, Dyaa Albakour, David Corney, Miguel Martinez, and José Esquivel. 2018. A data collection for evaluating the retrieval of related tweets to news articles. In Advances in Information Retrieval, pages 780-786, Cham. Springer International Publishing.
|
| 318 |
+
Nandan Thakur, Nils Reimers, Andreas Rückle, Abhishek Srivastava, and Iryna Gurevych. 2021. BEIR: A heterogeneous benchmark for zero-shot evaluation of information retrieval models. In Thirty-fifth Conference on Neural Information Processing Systems Datasets and Benchmarks Track (Round 2).
|
| 319 |
+
James Thorne, Andreas Vlachos, Christos Christodoulopoulos, and Arpit Mittal. 2018. FEVER: a large-scale dataset for fact extraction and VERIFICATION. In Proceedings of the 2018 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long Papers), pages 809-819, New Orleans, Louisiana. Association for Computational Linguistics.
|
| 320 |
+
George Tsatsaronis, Georgios Balikas, Prodromos Malakasiotis, Ioannis Partalas, Matthias Zschunke, Michael R Alvers, Dirk Weissenborn, Anastasia Krithara, Sergios Petridis, Dimitris Polychronopoulos, Yannis Almirantis, John Pavlopoulos, Nicolas Baskiotis, Patrick Gallinari, Thierry Artieres, Axel Ngonga, Norman Heino, Eric Gaussier, Liliana Barrio-Alvers, Michael Schroeder, Ion Androutsopoulos, and Georgios Paliouras. 2015. An overview of the bioasq large-scale biomedical semantic indexing and question answering competition. BMC Bioinformatics, 16:138.
|
| 321 |
+
Ellen Voorhees. 2005. Overview of the trec 2004 robust retrieval track.
|
| 322 |
+
Ellen Voorhees, Tasmeer Alam, Steven Bedrick, Dina Demner-Fushman, William R. Hersh, Kyle Lo, Kirk Roberts, Ian Soboroff, and Lucy Lu Wang. 2021. Trec-covid: Constructing a pandemic information retrieval test collection. SIGIR Forum, 54(1).
|
| 323 |
+
Henning Wachsmuth, Shahbaz Syed, and Benno Stein. 2018. Retrieval of the best counterargument without prior topic knowledge. In Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 241-251, Melbourne, Australia. Association for Computational Linguistics.
|
| 324 |
+
|
| 325 |
+
David Wadden, Shanchuan Lin, Kyle Lo, Lucy Lu Wang, Madeleine van Zuylen, Arman Cohan, and Hannaneh Hajishirzi. 2020. Fact or fiction: Verifying scientific claims. In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP), pages 7534-7550, Online. Association for Computational Linguistics.
|
| 326 |
+
Kexin Wang, Nandan Thakur, Nils Reimers, and Iryna Gurevych. 2022. GPL: Generative pseudo labeling for unsupervised domain adaptation of dense retrieval. In Proceedings of the 2022 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pages 2345-2360, Seattle, United States. Association for Computational Linguistics.
|
| 327 |
+
Mei Wang and Weihong Deng. 2018. Deep visual domain adaptation: A survey. Neurocomputing, 312:135-153.
|
| 328 |
+
Jason Wei, Maarten Bosma, Vincent Zhao, Kelvin Guu, Adams Wei Yu, Brian Lester, Nan Du, Andrew M. Dai, and Quoc V Le. 2022. Finetuned language models are zero-shot learners. In International Conference on Learning Representations.
|
| 329 |
+
Lijun Wu, Yiren Wang, Yingce Xia, Tao Qin, Jianhuang Lai, and Tie-Yan Liu. 2019. Exploiting monolingual data at scale for neural machine translation. In Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP), pages 4207-4216, Hong Kong, China. Association for Computational Linguistics.
|
| 330 |
+
Shitao Xiao, Zheng Liu, Yingxia Shao, and Zhao Cao. 2022. Retromae: Pre-training retrieval-oriented language models via masked auto-encoder.
|
| 331 |
+
Qizhe Xie, Minh-Thang Luong, Eduard Hovy, and Quoc V. Le. 2020. Self-training with noisy student improvesImagenet classification. 2020 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR).
|
| 332 |
+
Lee Xiong, Chenyan Xiong, Ye Li, Kwok-Fung Tang, Jialin Liu, Paul N. Bennett, Junaid Ahmed, and Arnold Overwijk. 2021. Approximate nearest neighbor negative contrastive learning for dense text retrieval. In International Conference on Learning Representations.
|
| 333 |
+
Zhilin Yang, Peng Qi, Saizheng Zhang, Yoshua Bengio, William Cohen, Ruslan Salakhutdinov, and Christopher D. Manning. 2018. HotpotQA: A dataset for diverse, explainable multi-hop question answering. In Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing, pages 2369-2380, Brussels, Belgium. Association for Computational Linguistics.
|
| 334 |
+
David Yarowsky. 1995. Unsupervised word sense disambiguation rivaling supervised methods. In Proceedings of the 33rd Annual Meeting on Association for Computational Linguistics, ACL '95, page
|
| 335 |
+
|
| 336 |
+
189-196, USA. Association for Computational Linguistics.
|
| 337 |
+
|
| 338 |
+
# A Implementation Details
|
| 339 |
+
|
| 340 |
+
Statistics about the datasets used in our experiments are reported in Table 7. Tables 8 and 9 show the hyperparameters used in our experiments.
|
| 341 |
+
|
| 342 |
+
# A.1 General Domain Datasets
|
| 343 |
+
|
| 344 |
+
co-condenser-marco $^{8}$ is used for model initialisation on MS-MARCO and co-condenser-wiki $^{9}$ on Natural Questions. For retrievers, the weights of dual encoders are tied. The teacher is trained using the two-stage training following the hyperparameters used in (Gao and Callan, 2022) and (Karpukhin et al., 2020). The student is pre-trained for 1 epoch for all datasets, with a learning rate $1 \times 10^{-5}$ and batch size 32. The top-100 passages retrieved by the teacher are used as hard negatives, from which 7 negatives are sampled for each query in a minibatch. We empirically find conducting the training with one iteration is enough for achieving the best result. The training takes about 48 hours on both datasets, with up to 4 A100 GPUs.
|
| 345 |
+
|
| 346 |
+
For generating synthetic queries, we use the publicly available model $^{10}$ to generate queries on MS-MARCO with top-k sampling. For Natural Questions, we first finetune a T5 model on labelled query-passage pairs for 200 epochs with learning rate $2 \times 10^{-5}$ , which takes about 10 hours on 1 A100 GPU. One query per passage is generated for all datasets, which requires approximately 7 hours on MS-MARCO and 16 hours on Natural Questions using 2 A100 GPUs.
|
| 347 |
+
|
| 348 |
+
As for the reranker described in §3, ERNIE-base $^{11}$ is used for model initialisation. The teacher reranker is trained with the teacher retriever hard negatives (Figure 1). It is trained for 2 epochs on MS-MARCO, with learning rate set to $1 \times 10^{-5}$ , batch size 12, and weight decay 0.1. Each query is paired with 40 sampled negatives; while for Natural Questions, we train it for 10 epochs with 15 sampled negatives. For pre-training the student rereanker, the batch size is set to 48 and 128 on MS-MARCO and Natural Questions, respectively, and other hyperparameters remain the same. For the finetuning stage, the settings used for training
|
| 349 |
+
|
| 350 |
+
the teacher reranker are adopted. Completing the whole training pipeline requires approximately 80 hours on MS-MARCO and 67 hours on Natural Questions with up to 4 A100 GPUs.
|
| 351 |
+
|
| 352 |
+
# A.2 Out-of-Domain Datasets
|
| 353 |
+
|
| 354 |
+
On BEIR benchmark, the Teacher retriever is used to mine hard negatives for synthetic queries on each dataset. The top-100 passages retrieved by the Teacher retriever are regarded as the hard negative pool. Student Retriever is initialised from the co-condenser-marco checkpoint. On each dataset, we train a Student Retriever for 10 epochs with learning rate $1\times 10^{-5}$ . The batch size is set to 32, and each query is paired with 7 sampled negatives. Training a single model on each dataset takes about 8 hours using 2 A100 GPUs and two iterations are used to achieve the best average performance. For GenQ, we follow Thakur et al. (2021) to further finetune the Teacher retriever on synthetic queries of each dataset for 1 epoch with batch size 64 and only in-batch negatives.
|
| 355 |
+
|
| 356 |
+
The reranker is initialised from ERNIE-base and finetuned for 5 epochs with learning rate $1 \times 10^{-5}$ and batch size 12. Each query is paired with 15 negatives sampled from the same hard negative pool as above. Training a single model takes about 18 hours using 2 A100 GPUs.
|
| 357 |
+
|
| 358 |
+
# B Baselines on BEIR
|
| 359 |
+
|
| 360 |
+
BM25 (Robertson and Zaragoza, 2009) is a lexical retriever based on token matching. DocT5query (Nogueira and Lin, 2019) uses a query generator to synthesise queries and append them to passages as expansion. DeepCT (Dai and Callan, 2020) uses BERT model trained on MS-MARCO to compute the weight of each term in the vocabulary and each passage is represented with keywords multiplied by the term weights. GenQ (Thakur et al., 2021) first trains a dense retrieval model on MS-MARCO and continues to finetune it on synthetic queries with in-batch negatives through contrastive learning. GPL (Wang et al., 2022) uses knowledge distillation to train a dense retriever by learning from a reranker trained on MS-MARCO. PTR (Dai et al., 2023) generates a large number of synthetic queries by prompting an instruction-tuned large language model and trains task-specialised retrievers.
|
| 361 |
+
|
| 362 |
+
<table><tr><td>Task</td><td>Domain</td><td>Dataset</td><td>Train</td><td>dev</td><td>test</td><td>#Passages</td></tr><tr><td>Passage Retrieval</td><td>Misc.</td><td>MS-MARCO</td><td>502,939</td><td>6,980</td><td>-</td><td>8,841,823</td></tr><tr><td>Open Domain QA</td><td>Wikipedia</td><td>Natural Questions</td><td>58,880</td><td>8,757</td><td>3,610</td><td>21,015,324</td></tr><tr><td colspan="7">BEIR Benchmark</td></tr><tr><td>Biomedical</td><td>Biomedical</td><td>TREC-COVID</td><td>-</td><td>-</td><td>50</td><td>171,332</td></tr><tr><td>Information</td><td>Biomedical</td><td>BioASQ</td><td>-</td><td>-</td><td>500</td><td>14,914,602</td></tr><tr><td>Retrieval</td><td>Biomedical</td><td>NFCorpus</td><td>-</td><td>-</td><td>323</td><td>3,633</td></tr><tr><td rowspan="3">Question Answering</td><td>Wikipedia</td><td>NQ</td><td>-</td><td>-</td><td>3,452</td><td>2,681,468</td></tr><tr><td>Wikipedia</td><td>HotpotQA</td><td>-</td><td>-</td><td>7,405</td><td>5,233,329</td></tr><tr><td>Financial</td><td>FiQA-2018</td><td>-</td><td>-</td><td>648</td><td>57,638</td></tr><tr><td>Twitter Retrieval</td><td>Twitter</td><td>Signal-1M (RT)</td><td>-</td><td>-</td><td>97</td><td>2,866,316</td></tr><tr><td rowspan="2">News Retrieval</td><td>News</td><td>TREC-NEWS</td><td>-</td><td>-</td><td>57</td><td>594,977</td></tr><tr><td>News</td><td>Robust04</td><td>-</td><td>-</td><td>249</td><td>528,155</td></tr><tr><td rowspan="2">Argument Retrieval</td><td>Misc.</td><td>ArguAna</td><td>-</td><td>-</td><td>1,406</td><td>8,674</td></tr><tr><td>Misc.</td><td>Touché-2020</td><td>-</td><td>-</td><td>49</td><td>382,545</td></tr><tr><td rowspan="2">Duplicate Question Retrieval</td><td>StackEchange</td><td>CQADupStack</td><td>-</td><td>-</td><td>13,145</td><td>457,199</td></tr><tr><td>Quora</td><td>Quora</td><td>-</td><td>-</td><td>10,000</td><td>522,931</td></tr><tr><td>Entity Retrieval</td><td>Wikipedia</td><td>DBPedia</td><td>-</td><td>-</td><td>400</td><td>4,635,922</td></tr><tr><td>Citation Prediction</td><td>Scientific</td><td>SCIDOCS</td><td>-</td><td>-</td><td>1,000</td><td>25,657</td></tr><tr><td rowspan="3">Fact Checking</td><td>Wikipedia</td><td>FEVER</td><td>-</td><td>-</td><td>6,666</td><td>5,416,568</td></tr><tr><td>Wikipedia</td><td>Climate-FEVER</td><td>-</td><td>-</td><td>1,535</td><td>5,416,593</td></tr><tr><td>Scientific</td><td>SciFact</td><td>-</td><td>-</td><td>300</td><td>5,183</td></tr></table>
|
| 363 |
+
|
| 364 |
+
Table 7: Number of query examples in Train/Dev/Test sets and passage number in each target corpus. - means unavailable data that was not used in our experiments. Datasets in BEIR benchmark are grouped according to Thakur et al. (2021), please refer to their paper for full details. TREC-COVID (Voorhees et al., 2021), BioASQ (Tsatsaronis et al., 2015), NFCorpus (Boteva et al., 2016), NQ (Kwiatkowski et al., 2019), HotpotQA (Yang et al., 2018), FiQA-2018 (Maia et al., 2018), Signal-1M (Suarez et al., 2018), TREC-NEWS (Soboroff et al., 2019), Robust04 (Voorhees, 2005), ArguAna (Wachsmuth et al., 2018), Touché (Bondarenko et al., 2020), CQADupStack (Hoogeveen et al., 2015), DBPedia (Hasibi et al., 2017), SCIDOCS (Cohan et al., 2020), FEVER (Thorne et al., 2018), ClimateFEVER (Leippold and Diggelmann, 2020), SciFact (Wadden et al., 2020).
|
| 365 |
+
|
| 366 |
+
# C Adopting Different Pre-trained Models on BEIR
|
| 367 |
+
|
| 368 |
+
We test our method on the BEIR benchmark with different pre-trained models. As Table 10 shows, the student model trained using our method achieves consistent improvements on all kinds of pre-trained models, confirming the proposed algorithm is general enough to be adapted to diverse models on out-of-domain settings. Moreover, the patterns for improvements are similar to those in MS-MARCO, with more obvious gains on less-performing teachers (e.g., $+4.0\%$ on Contriever vs $+2.6\%$ on RetroMAE). GenQ shows positive effects on less-performing pre-trained models (i.e., BERT, Condenser, and Contriever). However, it struggles with beating the teacher retriever on more advanced pre-trained models and even degrades average performance. Besides, our method can consistently surpass GenQ across all settings, again confirming its superiority.
|
| 369 |
+
|
| 370 |
+
# D License
|
| 371 |
+
|
| 372 |
+
1. MS-MARCO is licensed under the Creative Commons Attribution 4.0 International.
|
| 373 |
+
2. Natural Questions is licensed under the Apache License 2.0.
|
| 374 |
+
3. The BEIR benchmark is licensed under the Apache License 2.0.
|
| 375 |
+
|
| 376 |
+
<table><tr><td></td><td>Hyperparameters</td><td>MS-MARCO</td><td>Natural Questions</td><td>BEIR</td></tr><tr><td rowspan="7">Shared</td><td>Max query length</td><td>32</td><td>32</td><td>32</td></tr><tr><td>Max Passage length</td><td>128</td><td>128</td><td>128</td></tr><tr><td>Optimizer</td><td>AdamW</td><td>AdamW</td><td>AdamW</td></tr><tr><td>Scheduler</td><td>Linear warmup</td><td>Linear warmup</td><td>Linear Warmup</td></tr><tr><td>Warmup proportion</td><td>0.1</td><td>0.1</td><td>0.1</td></tr><tr><td>Weight Tying</td><td>Yes</td><td>Yes</td><td>Yes</td></tr><tr><td>#Params</td><td>110M</td><td>110M</td><td>110M</td></tr><tr><td colspan="5">Teacher Preparation</td></tr><tr><td rowspan="5">Teacher Stage 1</td><td>Learning rate</td><td>5 × 10-6</td><td>1 × 10-5</td><td>-</td></tr><tr><td>Batch size</td><td>8</td><td>128</td><td>-</td></tr><tr><td>#hard negatives</td><td>7</td><td>1</td><td>-</td></tr><tr><td>Hard negative source</td><td>BM25</td><td>BM25</td><td>-</td></tr><tr><td>#Epochs</td><td>3</td><td>40</td><td>-</td></tr><tr><td rowspan="5">Teacher Stage 2</td><td>Learning rate</td><td>5 × 10-6</td><td>1 × 10-5</td><td></td></tr><tr><td>Batch size</td><td>8</td><td>128</td><td>-</td></tr><tr><td>#hard negatives</td><td>7</td><td>1</td><td>-</td></tr><tr><td>Hard negative source</td><td>stage 1 teacher</td><td>stage 1 teacher</td><td>-</td></tr><tr><td>#Epochs</td><td>2</td><td>40</td><td>-</td></tr><tr><td colspan="5">Self Training</td></tr><tr><td rowspan="5">Pre-train</td><td>Learning rate</td><td>1 × 10-5</td><td>1 × 10-5</td><td>1 × 10-5</td></tr><tr><td>Batch size</td><td>32</td><td>32</td><td>32</td></tr><tr><td>#hard negatives</td><td>7</td><td>7</td><td>7</td></tr><tr><td>Hard negative source</td><td>stage 2 teacher</td><td>stage 2 teacher</td><td>stage 2 teacher</td></tr><tr><td>#Epochs</td><td>1</td><td>1</td><td>10</td></tr><tr><td rowspan="5">Finetune</td><td>Learning rate</td><td>5 × 10-6</td><td>1 × 10-5</td><td>-</td></tr><tr><td>Batch size</td><td>8</td><td>128</td><td>-</td></tr><tr><td>#hard negatives</td><td>7</td><td>1</td><td>-</td></tr><tr><td>Hard negative source</td><td>stage 2 teacher</td><td>stage 2 teacher</td><td>-</td></tr><tr><td>#Epochs</td><td>2</td><td>40</td><td>-</td></tr></table>
|
| 377 |
+
|
| 378 |
+
Table 8: Hyperparameter settings for retriever training.
|
| 379 |
+
|
| 380 |
+
<table><tr><td></td><td>Hyperparameters</td><td>MS-MARCO</td><td>Natural Questions</td><td>BEIR</td></tr><tr><td rowspan="6">Shared</td><td>Max length</td><td>156</td><td>156</td><td>351</td></tr><tr><td>Optimizer</td><td>AdamW</td><td>AdamW</td><td>AdamW</td></tr><tr><td>Scheduler</td><td>Linear warmup</td><td>Linear warmup</td><td>Linear Warmup</td></tr><tr><td>Warmup proportion</td><td>0.1</td><td>0.1</td><td>0.1</td></tr><tr><td>Weight decay</td><td>0.1</td><td>0.1</td><td>0.1</td></tr><tr><td>#Params</td><td>110M</td><td>110M</td><td>110M</td></tr><tr><td rowspan="5">Teacher Reranker</td><td>Learning rate</td><td>\( 1 \times 10^{-5} \)</td><td>\( 1 \times 10^{-5} \)</td><td>-</td></tr><tr><td>Batch size</td><td>12</td><td>12</td><td>-</td></tr><tr><td>#hard negatives</td><td>40</td><td>15</td><td>-</td></tr><tr><td>Hard negative source</td><td>stage 2 teacher retriever</td><td>stage 2 teacher retriever</td><td>-</td></tr><tr><td>#Epochs</td><td>2</td><td>10</td><td>-</td></tr><tr><td colspan="5">Self Training</td></tr><tr><td rowspan="5">Pre-train</td><td>Learning rate</td><td>\( 1 \times 10^{-5} \)</td><td>\( 1 \times 10^{-5} \)</td><td>\( 1 \times 10^{-5} \)</td></tr><tr><td>Batch size</td><td>48</td><td>128</td><td>32</td></tr><tr><td>#hard negatives</td><td>40</td><td>15</td><td>7</td></tr><tr><td>Hard negative source</td><td>stage 2 teacher retriever</td><td>stage 2 teacher retriever</td><td>stage 2 teacher retriever</td></tr><tr><td>#Epochs</td><td>1</td><td>1</td><td>5</td></tr><tr><td rowspan="5">Finetune</td><td>Learning rate</td><td>\( 1 \times 10^{-5} \)</td><td>\( 1 \times 10^{-5} \)</td><td>-</td></tr><tr><td>Batch size</td><td>12</td><td>12</td><td>-</td></tr><tr><td>#hard negatives</td><td>40</td><td>15</td><td>-</td></tr><tr><td>Hard negative source</td><td>stage 2 teacher retriever</td><td>stage 2 teacher retriever</td><td>-</td></tr><tr><td>#Epochs</td><td>2</td><td>10</td><td>- -</td></tr></table>
|
| 381 |
+
|
| 382 |
+
Table 9: Hyperparameter settings for reranker training.
|
| 383 |
+
|
| 384 |
+
<table><tr><td>Model (→)</td><td colspan="3">BERT</td><td colspan="3">Condenser</td><td colspan="3">Contrlver</td><td colspan="3">coCondenser</td><td colspan="3">RetroMAE</td></tr><tr><td>Dataset</td><td>GenQ</td><td>Tea-cher</td><td>Stu-dent</td><td>GenQ</td><td>Tea-cher</td><td>Stu-dent</td><td>GenQ</td><td>Tea-cher</td><td>Stu-dent</td><td>GenQ</td><td>Tea-cher</td><td>Stu-dent</td><td>GenQ</td><td>Tea-cher</td><td>Stu-dent</td></tr><tr><td>TREC-COVID</td><td>66.3</td><td>60.4</td><td>67.9</td><td>64.2</td><td>65.3</td><td>67.6</td><td>58.0</td><td>46.2</td><td>62.1</td><td>68.4</td><td>74.1</td><td>76.7</td><td>70.0</td><td>70.0</td><td>74.1</td></tr><tr><td>BioASQ</td><td>33.3</td><td>25.7</td><td>30.1</td><td>29.7</td><td>24.6</td><td>32.0</td><td>34.9</td><td>30.6</td><td>35.2</td><td>31.0</td><td>29.5</td><td>35.7</td><td>40.6</td><td>39.0</td><td>43.0</td></tr><tr><td>NFCorpus</td><td>28.8</td><td>26.0</td><td>30.2</td><td>31.3</td><td>26.0</td><td>30.9</td><td>33.8</td><td>32.5</td><td>34.4</td><td>34.6</td><td>33.1</td><td>34.9</td><td>34.8</td><td>34.3</td><td>35.4</td></tr><tr><td>NQ</td><td>40.8</td><td>45.1</td><td>45.9</td><td>43.2</td><td>44.6</td><td>46.9</td><td>38.6</td><td>47.1</td><td>48.4</td><td>44.4</td><td>48.4</td><td>50.3</td><td>44.2</td><td>50.3</td><td>50.5</td></tr><tr><td>HotpotQA</td><td>52.5</td><td>53.0</td><td>55.1</td><td>53.3</td><td>52.5</td><td>56.2</td><td>58.7</td><td>62.2</td><td>62.8</td><td>56.5</td><td>56.9</td><td>58.4</td><td>59.0</td><td>62.3</td><td>62.1</td></tr><tr><td>FiQA-2018</td><td>28.1</td><td>24.4</td><td>28.2</td><td>27.7</td><td>23.1</td><td>29.1</td><td>32.9</td><td>29.4</td><td>33.7</td><td>33.0</td><td>30.1</td><td>33.3</td><td>34.9</td><td>32.1</td><td>34.5</td></tr><tr><td>Signal-1M (RT)</td><td>26.2</td><td>24.8</td><td>27.0</td><td>28.3</td><td>27.3</td><td>27.3</td><td>27.3</td><td>26.7</td><td>28.4</td><td>27.0</td><td>27.8</td><td>29.5</td><td>27.8</td><td>29.0</td><td>30.5</td></tr><tr><td>TREC-NEWS</td><td>35.8</td><td>33.7</td><td>38.3</td><td>37.3</td><td>32.3</td><td>40.5</td><td>40.0</td><td>39.4</td><td>42.9</td><td>40.7</td><td>40.1</td><td>43.8</td><td>39.4</td><td>37.3</td><td>40.7</td></tr><tr><td>Robust04</td><td>35.4</td><td>35.1</td><td>38.6</td><td>37.9</td><td>35.7</td><td>40.9</td><td>36.8</td><td>41.5</td><td>44.6</td><td>40.6</td><td>43.6</td><td>46.8</td><td>40.0</td><td>42.9</td><td>44.0</td></tr><tr><td>ArguAna</td><td>43.1</td><td>32.9</td><td>42.8</td><td>44.1</td><td>31.7</td><td>45.2</td><td>42.3</td><td>31.2</td><td>49.4</td><td>46.3</td><td>37.3</td><td>50.1</td><td>40.3</td><td>32.9</td><td>43.0</td></tr><tr><td>Touché-2020</td><td>16.8</td><td>28.7</td><td>28.5</td><td>17.4</td><td>29.1</td><td>30.1</td><td>16.9</td><td>20.4</td><td>19.4</td><td>17.9</td><td>30.5</td><td>30.4</td><td>16.0</td><td>26.9</td><td>26.1</td></tr><tr><td>CQADupStack</td><td>31.9</td><td>26.0</td><td>32.3</td><td>32.7</td><td>27.7</td><td>32.3</td><td>33.2</td><td>32.4</td><td>36.1</td><td>35.5</td><td>32.6</td><td>35.8</td><td>35.5</td><td>33.8</td><td>37.2</td></tr><tr><td>Quora</td><td>83.8</td><td>82.5</td><td>84.6</td><td>85.6</td><td>84.9</td><td>85.8</td><td>84.5</td><td>84.0</td><td>86.1</td><td>86.1</td><td>85.6</td><td>86.8</td><td>85.3</td><td>85.2</td><td>86.2</td></tr><tr><td>DBPedia</td><td>32.8</td><td>32.5</td><td>32.0</td><td>34.7</td><td>34.0</td><td>33.9</td><td>37.4</td><td>40.4</td><td>38.7</td><td>36.3</td><td>37.5</td><td>37.2</td><td>35.4</td><td>37.7</td><td>35.7</td></tr><tr><td>SCIDOCS</td><td>14.1</td><td>12.4</td><td>14.6</td><td>14.3</td><td>12.6</td><td>15.5</td><td>15.8</td><td>14.8</td><td>17.0</td><td>15.2</td><td>14.3</td><td>16.1</td><td>16.1</td><td>14.7</td><td>16.9</td></tr><tr><td>FEVER</td><td>66.9</td><td>66.9</td><td>72.0</td><td>69.4</td><td>68.5</td><td>72.2</td><td>74.8</td><td>73.2</td><td>75.6</td><td>69.2</td><td>71.8</td><td>72.2</td><td>73.0</td><td>72.4</td><td>76.5</td></tr><tr><td>Climate-FEVER</td><td>22.2</td><td>18.4</td><td>22.3</td><td>20.2</td><td>14.7</td><td>22.3</td><td>23.4</td><td>17.9</td><td>23.6</td><td>21.8</td><td>17.6</td><td>22.2</td><td>19.7</td><td>17.2</td><td>23.8</td></tr><tr><td>SciFact</td><td>65.4</td><td>57.0</td><td>63.4</td><td>64.4</td><td>57.1</td><td>63.2</td><td>68.6</td><td>66.3</td><td>69.8</td><td>66.2</td><td>61.0</td><td>65.1</td><td>67.8</td><td>64.7</td><td>68.7</td></tr><tr><td>Avg. Performance</td><td>40.2</td><td>38.1</td><td>41.9</td><td>40.9</td><td>38.4</td><td>42.9</td><td>42.1</td><td>40.9</td><td>44.9</td><td>42.8</td><td>42.9</td><td>45.9</td><td>43.3</td><td>43.5</td><td>46.1</td></tr></table>
|
| 385 |
+
|
| 386 |
+
Table 10: Results on BEIR benchmark (nDCG@10) when adopting different pre-trained models. Teacher refers to the model finetuned on MS-MARCO.
|
| 387 |
+
|
| 388 |
+

|
| 389 |
+
Figure 5: The overview of adapting the self-training framework to reranker.
|
| 390 |
+
|
| 391 |
+
<table><tr><td colspan="4">Motivation</td></tr><tr><td>Practical</td><td>Cognitive</td><td>Intrinsic</td><td>Fairness</td></tr><tr><td colspan="4">Generalisation type</td></tr><tr><td rowspan="2">Compositional</td><td rowspan="2">Structural</td><td>Cross Task</td><td>Cross Language Cross Domain Robustness</td></tr><tr><td colspan="2">Shift type</td></tr><tr><td>Covariate</td><td>Label</td><td>Full</td><td>Assumed</td></tr><tr><td colspan="4">Shift source</td></tr><tr><td>Naturally occurring</td><td>Partitioned natural</td><td colspan="2">Generated shift Fully generated</td></tr><tr><td colspan="4">Shift locus</td></tr><tr><td>Train-test</td><td>Finetune train-test</td><td>Pretrain-train</td><td>Pretrain-test</td></tr></table>
|
2023/Noisy Self-Training with Synthetic Queries for Dense Retrieval/images.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6153d1ffc57841be277238e0109fd1a20499e1c40de403a5f13a3300c9471257
|
| 3 |
+
size 1179888
|
2023/Noisy Self-Training with Synthetic Queries for Dense Retrieval/layout.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2023/Non-Autoregressive Document-Level Machine Translation/6f06de2c-1532-40db-88ad-1021607cb22a_content_list.json
ADDED
|
@@ -0,0 +1,2057 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"type": "text",
|
| 4 |
+
"text": "Non-Autoregressive Document-Level Machine Translation",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
196,
|
| 8 |
+
89,
|
| 9 |
+
801,
|
| 10 |
+
109
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Guangsheng Bao $^{1,2,*}$ , Zhiyang Teng $^{3,*}$ , Hao Zhou $^{4}$ , Jianhao Yan $^{1,2}$ , and Yue Zhang $^{2,5,\\dagger}$",
|
| 17 |
+
"bbox": [
|
| 18 |
+
147,
|
| 19 |
+
124,
|
| 20 |
+
863,
|
| 21 |
+
142
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "$^{1}$ Zhejiang University $^{2}$ School of Engineering, Westlake University",
|
| 28 |
+
"bbox": [
|
| 29 |
+
216,
|
| 30 |
+
143,
|
| 31 |
+
784,
|
| 32 |
+
158
|
| 33 |
+
],
|
| 34 |
+
"page_idx": 0
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"type": "text",
|
| 38 |
+
"text": "$^{3}$ Nanyang Technological University $^{4}$ Tsinghua University",
|
| 39 |
+
"bbox": [
|
| 40 |
+
250,
|
| 41 |
+
159,
|
| 42 |
+
749,
|
| 43 |
+
175
|
| 44 |
+
],
|
| 45 |
+
"page_idx": 0
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"type": "text",
|
| 49 |
+
"text": "$^{5}$ Institute of Advanced Technology, Westlake Institute for Advanced Study",
|
| 50 |
+
"bbox": [
|
| 51 |
+
196,
|
| 52 |
+
175,
|
| 53 |
+
805,
|
| 54 |
+
191
|
| 55 |
+
],
|
| 56 |
+
"page_idx": 0
|
| 57 |
+
},
|
| 58 |
+
{
|
| 59 |
+
"type": "text",
|
| 60 |
+
"text": "2{baoguangsheng, yanjianhao, zhangyue}@westlake.edu.cn",
|
| 61 |
+
"bbox": [
|
| 62 |
+
225,
|
| 63 |
+
192,
|
| 64 |
+
774,
|
| 65 |
+
208
|
| 66 |
+
],
|
| 67 |
+
"page_idx": 0
|
| 68 |
+
},
|
| 69 |
+
{
|
| 70 |
+
"type": "text",
|
| 71 |
+
"text": "3 zhiyang.teng@ntu.edu.sg 4 zhouhao@air.tsinghua.edu.cn",
|
| 72 |
+
"bbox": [
|
| 73 |
+
221,
|
| 74 |
+
209,
|
| 75 |
+
779,
|
| 76 |
+
225
|
| 77 |
+
],
|
| 78 |
+
"page_idx": 0
|
| 79 |
+
},
|
| 80 |
+
{
|
| 81 |
+
"type": "text",
|
| 82 |
+
"text": "Abstract",
|
| 83 |
+
"text_level": 1,
|
| 84 |
+
"bbox": [
|
| 85 |
+
260,
|
| 86 |
+
252,
|
| 87 |
+
339,
|
| 88 |
+
267
|
| 89 |
+
],
|
| 90 |
+
"page_idx": 0
|
| 91 |
+
},
|
| 92 |
+
{
|
| 93 |
+
"type": "text",
|
| 94 |
+
"text": "Non-autoregressive translation (NAT) models achieve comparable performance and superior speed compared to auto-regressive translation (AT) models in the context of sentence-level machine translation (MT). However, their abilities are unexplored in document-level MT, hindering their usage in real scenarios. In this paper, we conduct a comprehensive examination of typical NAT models in the context of document-level MT and further propose a simple but effective design of sentence alignment between source and target. Experiments show that NAT models achieve high acceleration on documents, and sentence alignment significantly enhances their performance.",
|
| 95 |
+
"bbox": [
|
| 96 |
+
141,
|
| 97 |
+
282,
|
| 98 |
+
460,
|
| 99 |
+
497
|
| 100 |
+
],
|
| 101 |
+
"page_idx": 0
|
| 102 |
+
},
|
| 103 |
+
{
|
| 104 |
+
"type": "text",
|
| 105 |
+
"text": "However, current NAT models still have a significant performance gap compared to their AT counterparts. Further investigation reveals that NAT models suffer more from the multi-modality and misalignment issues in the context of document-level MT, and current NAT models struggle with exploiting document context and handling discourse phenomena. We delve into these challenges and provide our code at https://github.com/ baoguangsheng/nat-on-doc.",
|
| 106 |
+
"bbox": [
|
| 107 |
+
141,
|
| 108 |
+
502,
|
| 109 |
+
460,
|
| 110 |
+
659
|
| 111 |
+
],
|
| 112 |
+
"page_idx": 0
|
| 113 |
+
},
|
| 114 |
+
{
|
| 115 |
+
"type": "text",
|
| 116 |
+
"text": "1 Introduction",
|
| 117 |
+
"text_level": 1,
|
| 118 |
+
"bbox": [
|
| 119 |
+
114,
|
| 120 |
+
676,
|
| 121 |
+
258,
|
| 122 |
+
690
|
| 123 |
+
],
|
| 124 |
+
"page_idx": 0
|
| 125 |
+
},
|
| 126 |
+
{
|
| 127 |
+
"type": "text",
|
| 128 |
+
"text": "Non-autoregressive neural machine translation (NAT) models achieve significant acceleration on the inference, with even better translation performance, when compared to auto-regressive translation (AT) models on sentence-level MT (Gu et al., 2018, 2019; Stern et al., 2019; Ma et al., 2019; Lee et al., 2020; Huang et al., 2022; Shao and Feng, 2022). However, real applications (e.g., Google Translation and ChatGPT) typically need to understand and respond in discourse, which requires a quick process of document-level content. Different",
|
| 129 |
+
"bbox": [
|
| 130 |
+
112,
|
| 131 |
+
703,
|
| 132 |
+
490,
|
| 133 |
+
881
|
| 134 |
+
],
|
| 135 |
+
"page_idx": 0
|
| 136 |
+
},
|
| 137 |
+
{
|
| 138 |
+
"type": "text",
|
| 139 |
+
"text": "from sentence-level MT, document-level MT considers a much larger inter-sentential context and models discourse dependence, such as anaphora, ellipsis, and lexical cohesion (Voita et al., 2019). The sentence-by-sentence translation done by NAT models cannot possibly produce contextual coherent translations, hindering the usage of NAT models in real scenarios.",
|
| 140 |
+
"bbox": [
|
| 141 |
+
507,
|
| 142 |
+
252,
|
| 143 |
+
884,
|
| 144 |
+
380
|
| 145 |
+
],
|
| 146 |
+
"page_idx": 0
|
| 147 |
+
},
|
| 148 |
+
{
|
| 149 |
+
"type": "text",
|
| 150 |
+
"text": "Document-level context enhances the translation quality of AT models significantly (Werlen et al., 2018; Maruf et al., 2019; Liu et al., 2020; Bao et al., 2021; Sun et al., 2022; Bao et al., 2023). However, no precedent research explores the possibility of applying NAT models to document-level MT, which leaves open research questions including: 1) Can NAT models leverage document context to improve translation quality? 2) Can NAT models generate translations with cross-sentential cohesion and coherence? and 3) Can NAT models achieve the same performance as AT models? To address these questions, we investigate the challenges and opportunities of NAT models on document-level MT.",
|
| 151 |
+
"bbox": [
|
| 152 |
+
507,
|
| 153 |
+
385,
|
| 154 |
+
884,
|
| 155 |
+
608
|
| 156 |
+
],
|
| 157 |
+
"page_idx": 0
|
| 158 |
+
},
|
| 159 |
+
{
|
| 160 |
+
"type": "text",
|
| 161 |
+
"text": "NAT models primarily face two challenges: multi-modality (Gu et al., 2018), which causes failure when one source has multiple possible translations, and misalignment (Saharia et al., 2020; Shao and Feng, 2022), which causes repetition and disorder in translations. Previous studies reduce modalities using knowledge distillation (Zhou et al., 2019) and improve alignment using new loss (Saharia et al., 2020; Shao and Feng, 2022; Huang et al., 2022). These methods have proven effective on the sentence level, while their efficacy is uncertain on the document level. First, document-level MT necessitates the modeling of cross-sentential coherence and discourse structure. Second, the extended length of input and output sequences intensifies the potential modalities. Last, the alignment between the source and target becomes harder because the enlarged input and output sequences increase the alignment space exponentially.",
|
| 162 |
+
"bbox": [
|
| 163 |
+
507,
|
| 164 |
+
613,
|
| 165 |
+
884,
|
| 166 |
+
919
|
| 167 |
+
],
|
| 168 |
+
"page_idx": 0
|
| 169 |
+
},
|
| 170 |
+
{
|
| 171 |
+
"type": "page_footnote",
|
| 172 |
+
"text": "*Contributed equally.",
|
| 173 |
+
"bbox": [
|
| 174 |
+
134,
|
| 175 |
+
891,
|
| 176 |
+
268,
|
| 177 |
+
904
|
| 178 |
+
],
|
| 179 |
+
"page_idx": 0
|
| 180 |
+
},
|
| 181 |
+
{
|
| 182 |
+
"type": "page_footnote",
|
| 183 |
+
"text": "† Corresponding author.",
|
| 184 |
+
"bbox": [
|
| 185 |
+
134,
|
| 186 |
+
904,
|
| 187 |
+
280,
|
| 188 |
+
917
|
| 189 |
+
],
|
| 190 |
+
"page_idx": 0
|
| 191 |
+
},
|
| 192 |
+
{
|
| 193 |
+
"type": "text",
|
| 194 |
+
"text": "In this paper, we first assess recent NAT models on document-level MT tasks to understand their abilities and limitations, where we observe model failures and unstable performance. According to these observations, we further introduce sentence alignment to NAT models, which equips the encoder and decoder of the NAT models with the group-attention (Bao et al., 2021), restricting the target-to-source attention inside each target and source sentence pairs. Since each target sentence is aligned with a source sentence, we do not need to consider the possibility of aligning the target sentence with other source sentences. Therefore, the alignment space between the input and output sequences is significantly reduced.",
|
| 195 |
+
"bbox": [
|
| 196 |
+
115,
|
| 197 |
+
84,
|
| 198 |
+
485,
|
| 199 |
+
324
|
| 200 |
+
],
|
| 201 |
+
"page_idx": 1
|
| 202 |
+
},
|
| 203 |
+
{
|
| 204 |
+
"type": "text",
|
| 205 |
+
"text": "Experiments on three benchmark datasets TED, News, and Europarl show that NAT models achieve a translation speed of more than 30 times faster than their AT counterparts on document-level MT, but still lag behind on the translation performance. Sentence alignment significantly enhances the translation performance for NAT models, closing the gap from 2.59 to 1.46 d-BLEU (document-level BLEU score) compared to the best AT results. To the best of our knowledge, we are the first to discuss the challenges and opportunities of NAT models in the context of document-level MT. We release our code and data to stimulate future research.",
|
| 206 |
+
"bbox": [
|
| 207 |
+
115,
|
| 208 |
+
326,
|
| 209 |
+
485,
|
| 210 |
+
533
|
| 211 |
+
],
|
| 212 |
+
"page_idx": 1
|
| 213 |
+
},
|
| 214 |
+
{
|
| 215 |
+
"type": "text",
|
| 216 |
+
"text": "2 Related Work",
|
| 217 |
+
"text_level": 1,
|
| 218 |
+
"bbox": [
|
| 219 |
+
115,
|
| 220 |
+
551,
|
| 221 |
+
267,
|
| 222 |
+
565
|
| 223 |
+
],
|
| 224 |
+
"page_idx": 1
|
| 225 |
+
},
|
| 226 |
+
{
|
| 227 |
+
"type": "text",
|
| 228 |
+
"text": "Non-Autoregressive Machine Translation. Existing NAT models include three types: fully NAT models (Gu et al., 2018; Libovicky and Helcl, 2018; Qian et al., 2021; Huang et al., 2022), iterative NAT models (Ghazvininejad et al., 2019; Stern et al., 2019; Gu et al., 2019; Chan et al., 2020), and semi-autoregressive model (Ran et al., 2020). All these models generate tokens in parallel at some level. The fully NAT models generate tokens in a single forward pass, while the other two types generate tokens in multiple iterations or steps. In this paper, we take the fully NAT models to investigate document-level MT.",
|
| 229 |
+
"bbox": [
|
| 230 |
+
115,
|
| 231 |
+
580,
|
| 232 |
+
485,
|
| 233 |
+
787
|
| 234 |
+
],
|
| 235 |
+
"page_idx": 1
|
| 236 |
+
},
|
| 237 |
+
{
|
| 238 |
+
"type": "text",
|
| 239 |
+
"text": "NAT models face two fundamental challenges: the multi-modality issue and the misalignment issue. The multi-modality issue happens when one source has multiple possible translations, breaking the conditional independence assumption. For example, \"thank you .\" in English can be translated into \"Vielen Dank.\" or \"Danke.\" in German. The second output token could either be \"Dank\" or \". . .",
|
| 240 |
+
"bbox": [
|
| 241 |
+
115,
|
| 242 |
+
790,
|
| 243 |
+
485,
|
| 244 |
+
917
|
| 245 |
+
],
|
| 246 |
+
"page_idx": 1
|
| 247 |
+
},
|
| 248 |
+
{
|
| 249 |
+
"type": "text",
|
| 250 |
+
"text": "which cannot be determined without a condition on the first token. The multi-modality issue causes vanilla NAT models to fail on complex datasets. Previous research leverages knowledge distillation to reduce modalities of a dataset, so that the conditional independence assumption is more likely satisfied (Gu et al., 2018). They generate a translation for each training sample using an AT model and then train NAT models on this generated training set. In this paper, we compare NAT models trained on both raw and knowledge-distilled data.",
|
| 251 |
+
"bbox": [
|
| 252 |
+
512,
|
| 253 |
+
84,
|
| 254 |
+
880,
|
| 255 |
+
260
|
| 256 |
+
],
|
| 257 |
+
"page_idx": 1
|
| 258 |
+
},
|
| 259 |
+
{
|
| 260 |
+
"type": "text",
|
| 261 |
+
"text": "The misalignment issue elicits various NAT techniques. Vanilla NAT (Gu et al., 2018) uses an implicit token-alignment approach, enforcing a monotonic alignment between source and target by copy encoder outputs to decoder inputs. NAT+CTC (Libovický and Helcl, 2018) introduces connectionist temporal classification (CTC) (Graves et al., 2006) to model the monotonic alignment explicitly. Others introduce non-monotonic alignment between source and target, such as n-gram matching (Shao et al., 2020; Shao and Feng, 2022), aligned cross-entropy (AXE) (Ghazvininejad et al., 2020), and order-agnostic cross-entropy (OAXE) (Du et al., 2021). In this paper, we investigate NAT models using the first two techniques.",
|
| 262 |
+
"bbox": [
|
| 263 |
+
512,
|
| 264 |
+
266,
|
| 265 |
+
880,
|
| 266 |
+
506
|
| 267 |
+
],
|
| 268 |
+
"page_idx": 1
|
| 269 |
+
},
|
| 270 |
+
{
|
| 271 |
+
"type": "text",
|
| 272 |
+
"text": "Document-Level Machine Translation. Previous methods on document-level MT are dominated by auto-regressive models, which can be categorized into two approaches. The first approach splits a document into sentences and translates each sentence using its context as additional inputs (Zhang et al., 2018; Maruf et al., 2019; Zheng et al., 2021). The second approach takes a document as a whole translation unit and translates the document in one beam search (Liu et al., 2020; Bao et al., 2021; Sun et al., 2022; Bao et al., 2023). In this paper, we follow the second approach for our investigation of NAT models.",
|
| 273 |
+
"bbox": [
|
| 274 |
+
512,
|
| 275 |
+
512,
|
| 276 |
+
880,
|
| 277 |
+
719
|
| 278 |
+
],
|
| 279 |
+
"page_idx": 1
|
| 280 |
+
},
|
| 281 |
+
{
|
| 282 |
+
"type": "text",
|
| 283 |
+
"text": "Efficient Model for Long Sequence. Recent advances in efficient models such as Longformer (Beltagy et al., 2020), Reformer (Kitaev et al., 2020), Linformer (Wang et al., 2020), and FlashAttention (Dao et al., 2022) improve the time and space complexity of the attention mechanism, which may affect the inference speed of both the auto-regressive and non-autoregressive MT models. In this paper, we focus on the relative inference acceleration of NAT compared to AT models with standard multi-head attention, leaving advanced attention mechanisms for the future.",
|
| 284 |
+
"bbox": [
|
| 285 |
+
512,
|
| 286 |
+
726,
|
| 287 |
+
880,
|
| 288 |
+
917
|
| 289 |
+
],
|
| 290 |
+
"page_idx": 1
|
| 291 |
+
},
|
| 292 |
+
{
|
| 293 |
+
"type": "text",
|
| 294 |
+
"text": "3 Methods",
|
| 295 |
+
"text_level": 1,
|
| 296 |
+
"bbox": [
|
| 297 |
+
114,
|
| 298 |
+
84,
|
| 299 |
+
225,
|
| 300 |
+
98
|
| 301 |
+
],
|
| 302 |
+
"page_idx": 2
|
| 303 |
+
},
|
| 304 |
+
{
|
| 305 |
+
"type": "text",
|
| 306 |
+
"text": "3.1 AT Baselines for Document-Level MT",
|
| 307 |
+
"text_level": 1,
|
| 308 |
+
"bbox": [
|
| 309 |
+
112,
|
| 310 |
+
108,
|
| 311 |
+
457,
|
| 312 |
+
124
|
| 313 |
+
],
|
| 314 |
+
"page_idx": 2
|
| 315 |
+
},
|
| 316 |
+
{
|
| 317 |
+
"type": "text",
|
| 318 |
+
"text": "Document-level MT can be formulated as a seq2seq problem, where the input document $x$ and output document $y$ are represented in token sequence. The auto-regressive factorization is",
|
| 319 |
+
"bbox": [
|
| 320 |
+
112,
|
| 321 |
+
129,
|
| 322 |
+
487,
|
| 323 |
+
193
|
| 324 |
+
],
|
| 325 |
+
"page_idx": 2
|
| 326 |
+
},
|
| 327 |
+
{
|
| 328 |
+
"type": "equation",
|
| 329 |
+
"text": "\n$$\np _ {\\theta} (y | x) = \\prod_ {t = 1} ^ {T} p _ {\\theta} \\left(y _ {t} \\mid y _ {< t}, x\\right), \\tag {1}\n$$\n",
|
| 330 |
+
"text_format": "latex",
|
| 331 |
+
"bbox": [
|
| 332 |
+
191,
|
| 333 |
+
200,
|
| 334 |
+
487,
|
| 335 |
+
244
|
| 336 |
+
],
|
| 337 |
+
"page_idx": 2
|
| 338 |
+
},
|
| 339 |
+
{
|
| 340 |
+
"type": "text",
|
| 341 |
+
"text": "where $T$ denotes the number of target tokens and $y_{t}$ conditions on all previous tokens $y_{< t}$ .",
|
| 342 |
+
"bbox": [
|
| 343 |
+
112,
|
| 344 |
+
250,
|
| 345 |
+
485,
|
| 346 |
+
282
|
| 347 |
+
],
|
| 348 |
+
"page_idx": 2
|
| 349 |
+
},
|
| 350 |
+
{
|
| 351 |
+
"type": "text",
|
| 352 |
+
"text": "We choose two AT baselines.",
|
| 353 |
+
"bbox": [
|
| 354 |
+
132,
|
| 355 |
+
284,
|
| 356 |
+
352,
|
| 357 |
+
297
|
| 358 |
+
],
|
| 359 |
+
"page_idx": 2
|
| 360 |
+
},
|
| 361 |
+
{
|
| 362 |
+
"type": "text",
|
| 363 |
+
"text": "Transformer (Vaswani et al., 2017) is the standard encoder-decoder model, which is widely used as a baseline. We represent each document as a sequence of tokens and train the model to do the seq2seq mapping.",
|
| 364 |
+
"bbox": [
|
| 365 |
+
112,
|
| 366 |
+
299,
|
| 367 |
+
487,
|
| 368 |
+
380
|
| 369 |
+
],
|
| 370 |
+
"page_idx": 2
|
| 371 |
+
},
|
| 372 |
+
{
|
| 373 |
+
"type": "text",
|
| 374 |
+
"text": "G-Transformer (Bao et al., 2021) extends Transformer by separating the self-attention and cross-attention into sentence-level group-attention and document-level global-attention, as Figure 1 illustrates. The group-attention enables sentence alignment between input and output sequences.",
|
| 375 |
+
"bbox": [
|
| 376 |
+
112,
|
| 377 |
+
380,
|
| 378 |
+
487,
|
| 379 |
+
475
|
| 380 |
+
],
|
| 381 |
+
"page_idx": 2
|
| 382 |
+
},
|
| 383 |
+
{
|
| 384 |
+
"type": "text",
|
| 385 |
+
"text": "Knowledge Distillation (KD). In addition to the raw data, we also experiment with KD data for training NAT models (Zhou et al., 2019), following previous NAT studies. We use G-Transformer finetuned on sentence Transformer as the teacher to generate distilled document translations.",
|
| 386 |
+
"bbox": [
|
| 387 |
+
112,
|
| 388 |
+
476,
|
| 389 |
+
487,
|
| 390 |
+
571
|
| 391 |
+
],
|
| 392 |
+
"page_idx": 2
|
| 393 |
+
},
|
| 394 |
+
{
|
| 395 |
+
"type": "text",
|
| 396 |
+
"text": "3.2 Existing NAT Models",
|
| 397 |
+
"text_level": 1,
|
| 398 |
+
"bbox": [
|
| 399 |
+
112,
|
| 400 |
+
583,
|
| 401 |
+
327,
|
| 402 |
+
599
|
| 403 |
+
],
|
| 404 |
+
"page_idx": 2
|
| 405 |
+
},
|
| 406 |
+
{
|
| 407 |
+
"type": "text",
|
| 408 |
+
"text": "Due to the large amount of NAT models (a nonexhaustive search shows more than 60 recent NAT models proposed between 2020 and 2023), we follow the common practice (Huang et al., 2022; Qian et al., 2021) to choose representative NAT models for our investigation, leaving more complex iterative methods, semi-autoregressive methods, and pre-training settings for future. Specifically, we select representative fully NAT models for document-level experiments, where all the models are transformer-based and implemented in Fairseq (Ott et al., 2019).",
|
| 409 |
+
"bbox": [
|
| 410 |
+
112,
|
| 411 |
+
604,
|
| 412 |
+
487,
|
| 413 |
+
796
|
| 414 |
+
],
|
| 415 |
+
"page_idx": 2
|
| 416 |
+
},
|
| 417 |
+
{
|
| 418 |
+
"type": "text",
|
| 419 |
+
"text": "Vanilla NAT (Gu et al., 2018) is the earliest NAT model, which factorizes translation into two parts",
|
| 420 |
+
"bbox": [
|
| 421 |
+
112,
|
| 422 |
+
797,
|
| 423 |
+
487,
|
| 424 |
+
829
|
| 425 |
+
],
|
| 426 |
+
"page_idx": 2
|
| 427 |
+
},
|
| 428 |
+
{
|
| 429 |
+
"type": "equation",
|
| 430 |
+
"text": "\n$$\np _ {\\theta} (y | x) = p _ {\\theta} (T | x) \\cdot \\prod_ {t = 1} ^ {T} p _ {\\theta} \\left(y _ {t} | x\\right), \\tag {2}\n$$\n",
|
| 431 |
+
"text_format": "latex",
|
| 432 |
+
"bbox": [
|
| 433 |
+
171,
|
| 434 |
+
837,
|
| 435 |
+
487,
|
| 436 |
+
879
|
| 437 |
+
],
|
| 438 |
+
"page_idx": 2
|
| 439 |
+
},
|
| 440 |
+
{
|
| 441 |
+
"type": "text",
|
| 442 |
+
"text": "where the first part predicts the length $T$ of target $y$ , the second part predicts target tokens $y_{t}$ given",
|
| 443 |
+
"bbox": [
|
| 444 |
+
112,
|
| 445 |
+
887,
|
| 446 |
+
487,
|
| 447 |
+
919
|
| 448 |
+
],
|
| 449 |
+
"page_idx": 2
|
| 450 |
+
},
|
| 451 |
+
{
|
| 452 |
+
"type": "text",
|
| 453 |
+
"text": "the length, and $x$ denotes the source input. For simplicity, we take the model as a whole and use the $\\theta$ to denote all the parameters, which includes the parameters of the length model and the translation model.",
|
| 454 |
+
"bbox": [
|
| 455 |
+
507,
|
| 456 |
+
84,
|
| 457 |
+
880,
|
| 458 |
+
162
|
| 459 |
+
],
|
| 460 |
+
"page_idx": 2
|
| 461 |
+
},
|
| 462 |
+
{
|
| 463 |
+
"type": "text",
|
| 464 |
+
"text": "An implicit token alignment is used between the source and target by copying the outputs of the encoder to the inputs of the decoder, where if the source and target have different lengths, they interpolate the decoder inputs uniformly. During training, it initializes the decoder with $T$ token positions, where $T$ denotes the real number of target tokens. During inference, it first predicts a number $T$ using $p_{\\theta}(T|x)$ , and then initializes the decoder with $T$ token positions to predict target tokens.",
|
| 465 |
+
"bbox": [
|
| 466 |
+
507,
|
| 467 |
+
165,
|
| 468 |
+
882,
|
| 469 |
+
325
|
| 470 |
+
],
|
| 471 |
+
"page_idx": 2
|
| 472 |
+
},
|
| 473 |
+
{
|
| 474 |
+
"type": "text",
|
| 475 |
+
"text": "GLAT (Qian et al., 2021) improves vanilla NAT with a glancing mechanism, which adopts an adaptive glancing sampling strategy, exposing some target fragments to the decoder inputs so that the decoder can fit the training target easier. The glancing mechanism reduces the difficulty of independent training of target tokens and improves the performance on sentence-level MT significantly.",
|
| 476 |
+
"bbox": [
|
| 477 |
+
507,
|
| 478 |
+
325,
|
| 479 |
+
882,
|
| 480 |
+
454
|
| 481 |
+
],
|
| 482 |
+
"page_idx": 2
|
| 483 |
+
},
|
| 484 |
+
{
|
| 485 |
+
"type": "text",
|
| 486 |
+
"text": "Latent-GLAT (Bao et al., 2022) further improves GLAT using latent variables, where the latent variables are supposed to alleviate the multimodality problem. It represents the modality and alignment in the latent variables, dividing the learning of the target tokens into the modeling of the latent variables and the reconstruction of the target sequence.",
|
| 487 |
+
"bbox": [
|
| 488 |
+
507,
|
| 489 |
+
455,
|
| 490 |
+
882,
|
| 491 |
+
582
|
| 492 |
+
],
|
| 493 |
+
"page_idx": 2
|
| 494 |
+
},
|
| 495 |
+
{
|
| 496 |
+
"type": "text",
|
| 497 |
+
"text": "$\\mathbf{NAT} + \\mathbf{CTC}$ (Libovicky and Helcl, 2018) applies connectionist temporal classification (CTC) (Graves et al., 2006) alignment to decoder outputs",
|
| 498 |
+
"bbox": [
|
| 499 |
+
507,
|
| 500 |
+
583,
|
| 501 |
+
882,
|
| 502 |
+
632
|
| 503 |
+
],
|
| 504 |
+
"page_idx": 2
|
| 505 |
+
},
|
| 506 |
+
{
|
| 507 |
+
"type": "equation",
|
| 508 |
+
"text": "\n$$\np _ {\\theta} (y | x) = \\sum_ {a \\in \\beta (y)} \\prod_ {i = 1} ^ {M} p _ {\\theta} \\left(a _ {i} | x\\right), \\tag {3}\n$$\n",
|
| 509 |
+
"text_format": "latex",
|
| 510 |
+
"bbox": [
|
| 511 |
+
579,
|
| 512 |
+
640,
|
| 513 |
+
882,
|
| 514 |
+
686
|
| 515 |
+
],
|
| 516 |
+
"page_idx": 2
|
| 517 |
+
},
|
| 518 |
+
{
|
| 519 |
+
"type": "text",
|
| 520 |
+
"text": "where $a$ denotes an alignment between $y$ and the reserved $M$ token positions in the decoder while $\\beta(y)$ denotes all possible alignments. The alignment $a$ is assumed conditional independent given the source input $x$ . The reserved token positions are usually set as times of the length of the source input.",
|
| 521 |
+
"bbox": [
|
| 522 |
+
507,
|
| 523 |
+
694,
|
| 524 |
+
882,
|
| 525 |
+
804
|
| 526 |
+
],
|
| 527 |
+
"page_idx": 2
|
| 528 |
+
},
|
| 529 |
+
{
|
| 530 |
+
"type": "text",
|
| 531 |
+
"text": "CTC alignment in Eq. 3 requires a summation over all possible alignments, which is generally intractable. However, with conditional independence assumption for $a$ , the summation can be achieved using dynamic programming.",
|
| 532 |
+
"bbox": [
|
| 533 |
+
507,
|
| 534 |
+
806,
|
| 535 |
+
882,
|
| 536 |
+
885
|
| 537 |
+
],
|
| 538 |
+
"page_idx": 2
|
| 539 |
+
},
|
| 540 |
+
{
|
| 541 |
+
"type": "text",
|
| 542 |
+
"text": "GLAT+CTC (Qian et al., 2021) combines GLAT with CTC alignment.",
|
| 543 |
+
"bbox": [
|
| 544 |
+
507,
|
| 545 |
+
887,
|
| 546 |
+
882,
|
| 547 |
+
917
|
| 548 |
+
],
|
| 549 |
+
"page_idx": 2
|
| 550 |
+
},
|
| 551 |
+
{
|
| 552 |
+
"type": "image",
|
| 553 |
+
"img_path": "images/dbe285da9a0fdf5ef41c154a1f88b05721183927629a4d30490e0c9dda53f7b1.jpg",
|
| 554 |
+
"image_caption": [
|
| 555 |
+
"Figure 1: G-Transformer with sentence alignment between source and target documents, where the low layers use the group-attention and only the top 2 layers use the global-attention."
|
| 556 |
+
],
|
| 557 |
+
"image_footnote": [],
|
| 558 |
+
"bbox": [
|
| 559 |
+
136,
|
| 560 |
+
84,
|
| 561 |
+
463,
|
| 562 |
+
225
|
| 563 |
+
],
|
| 564 |
+
"page_idx": 3
|
| 565 |
+
},
|
| 566 |
+
{
|
| 567 |
+
"type": "text",
|
| 568 |
+
"text": "DA-Transformer (Huang et al., 2022) represents the output alignment in a directed acyclic graph (DAG), which contains vertices and edges. A path in DAG represents a possible alignment. It models translation as",
|
| 569 |
+
"bbox": [
|
| 570 |
+
112,
|
| 571 |
+
319,
|
| 572 |
+
489,
|
| 573 |
+
398
|
| 574 |
+
],
|
| 575 |
+
"page_idx": 3
|
| 576 |
+
},
|
| 577 |
+
{
|
| 578 |
+
"type": "equation",
|
| 579 |
+
"text": "\n$$\np _ {\\theta} (y | x) = \\sum_ {a \\in \\beta (y)} p _ {\\theta} (a | x) p _ {\\theta} (y | a, x), \\tag {4}\n$$\n",
|
| 580 |
+
"text_format": "latex",
|
| 581 |
+
"bbox": [
|
| 582 |
+
164,
|
| 583 |
+
409,
|
| 584 |
+
487,
|
| 585 |
+
445
|
| 586 |
+
],
|
| 587 |
+
"page_idx": 3
|
| 588 |
+
},
|
| 589 |
+
{
|
| 590 |
+
"type": "text",
|
| 591 |
+
"text": "where $a$ denotes a path represented in a sequence of vertex indexes and $\\beta (y)$ here denotes all paths having the same length as the target $y$ . The right expression in Eq. 4 can further be expanded as",
|
| 592 |
+
"bbox": [
|
| 593 |
+
112,
|
| 594 |
+
456,
|
| 595 |
+
487,
|
| 596 |
+
521
|
| 597 |
+
],
|
| 598 |
+
"page_idx": 3
|
| 599 |
+
},
|
| 600 |
+
{
|
| 601 |
+
"type": "equation",
|
| 602 |
+
"text": "\n$$\np _ {\\theta} (a | x) = \\prod_ {i = 1} ^ {M - 1} p _ {\\theta} \\left(a _ {i + 1} \\mid a _ {i}, x\\right), \\tag {5}\n$$\n",
|
| 603 |
+
"text_format": "latex",
|
| 604 |
+
"bbox": [
|
| 605 |
+
191,
|
| 606 |
+
531,
|
| 607 |
+
487,
|
| 608 |
+
574
|
| 609 |
+
],
|
| 610 |
+
"page_idx": 3
|
| 611 |
+
},
|
| 612 |
+
{
|
| 613 |
+
"type": "equation",
|
| 614 |
+
"text": "\n$$\np _ {\\theta} (y | a, x) = \\prod_ {i = 1} ^ {M} p _ {\\theta} \\left(y _ {i} \\mid a _ {i}, x\\right), \\tag {6}\n$$\n",
|
| 615 |
+
"text_format": "latex",
|
| 616 |
+
"bbox": [
|
| 617 |
+
174,
|
| 618 |
+
576,
|
| 619 |
+
487,
|
| 620 |
+
619
|
| 621 |
+
],
|
| 622 |
+
"page_idx": 3
|
| 623 |
+
},
|
| 624 |
+
{
|
| 625 |
+
"type": "text",
|
| 626 |
+
"text": "where $a_{i}$ are dependent on each other in a linear chain and $y_{i}$ are independent with each other given $a_{i}$ and $x$ .",
|
| 627 |
+
"bbox": [
|
| 628 |
+
112,
|
| 629 |
+
630,
|
| 630 |
+
487,
|
| 631 |
+
677
|
| 632 |
+
],
|
| 633 |
+
"page_idx": 3
|
| 634 |
+
},
|
| 635 |
+
{
|
| 636 |
+
"type": "text",
|
| 637 |
+
"text": "Similar to CTC alignment, DA-Transformer also adopts dynamic programming to marginalize all possible paths. The model provides three decoding strategies: greedy, lookahead, and beam search. In this paper, we choose lookahead decoding for balanced performance and inference speed.",
|
| 638 |
+
"bbox": [
|
| 639 |
+
112,
|
| 640 |
+
678,
|
| 641 |
+
487,
|
| 642 |
+
776
|
| 643 |
+
],
|
| 644 |
+
"page_idx": 3
|
| 645 |
+
},
|
| 646 |
+
{
|
| 647 |
+
"type": "text",
|
| 648 |
+
"text": "3.3 NAT Models with Sentence Alignment",
|
| 649 |
+
"text_level": 1,
|
| 650 |
+
"bbox": [
|
| 651 |
+
112,
|
| 652 |
+
785,
|
| 653 |
+
460,
|
| 654 |
+
802
|
| 655 |
+
],
|
| 656 |
+
"page_idx": 3
|
| 657 |
+
},
|
| 658 |
+
{
|
| 659 |
+
"type": "text",
|
| 660 |
+
"text": "We propose novel NAT models with sentence alignment, as shown in Figure 2. The sentence alignment is a key feature in the G-Transformer (Bao et al., 2021), which is implemented through a group-attention module. The group-attention stabilizes self-attention and cross-attention in the model over long sequences. Inspired by the success, we",
|
| 661 |
+
"bbox": [
|
| 662 |
+
112,
|
| 663 |
+
806,
|
| 664 |
+
489,
|
| 665 |
+
919
|
| 666 |
+
],
|
| 667 |
+
"page_idx": 3
|
| 668 |
+
},
|
| 669 |
+
{
|
| 670 |
+
"type": "image",
|
| 671 |
+
"img_path": "images/e460e4143e5080f776b4ff06e80cdd4a5ea08084c3ee4dee0229e8725d1c4238.jpg",
|
| 672 |
+
"image_caption": [
|
| 673 |
+
"Figure 2: NAT model with sentence alignment, where we replace NAT encoder and decoder layers with G-Transformer layers and we remove the causal mask from G-Transformer decoder layers."
|
| 674 |
+
],
|
| 675 |
+
"image_footnote": [],
|
| 676 |
+
"bbox": [
|
| 677 |
+
532,
|
| 678 |
+
84,
|
| 679 |
+
860,
|
| 680 |
+
225
|
| 681 |
+
],
|
| 682 |
+
"page_idx": 3
|
| 683 |
+
},
|
| 684 |
+
{
|
| 685 |
+
"type": "text",
|
| 686 |
+
"text": "adopt it in our NAT models to reduce the alignment space.",
|
| 687 |
+
"bbox": [
|
| 688 |
+
507,
|
| 689 |
+
319,
|
| 690 |
+
880,
|
| 691 |
+
350
|
| 692 |
+
],
|
| 693 |
+
"page_idx": 3
|
| 694 |
+
},
|
| 695 |
+
{
|
| 696 |
+
"type": "text",
|
| 697 |
+
"text": "Specifically, we adopt the G-Transformer encoder and decoder layers by removing the causal mask from self-attention in the decoder layers. We replace the encoder and decoder layers in NAT models with G-Transformer layers and redesign the initial output to include the special token of begin-of-sentence “<s>” and end-of-sentence “</s>” for each target sentence.",
|
| 698 |
+
"bbox": [
|
| 699 |
+
507,
|
| 700 |
+
351,
|
| 701 |
+
882,
|
| 702 |
+
479
|
| 703 |
+
],
|
| 704 |
+
"page_idx": 3
|
| 705 |
+
},
|
| 706 |
+
{
|
| 707 |
+
"type": "text",
|
| 708 |
+
"text": "Substituting the causal masking layer in G-Transformer is only a necessary part at the attention level to facilitate sentence alignment. Its effectiveness hinges on both model design and training loss. Specifically, we introduce new length prediction per sentence in G-Trans+GLAT, improve CTC loss for sentence alignment in G-Trans+GLAT+CTC, and improve DAG design to restrict the transition in each sentence in G-Trans+DAT as follows.",
|
| 709 |
+
"bbox": [
|
| 710 |
+
507,
|
| 711 |
+
480,
|
| 712 |
+
882,
|
| 713 |
+
623
|
| 714 |
+
],
|
| 715 |
+
"page_idx": 3
|
| 716 |
+
},
|
| 717 |
+
{
|
| 718 |
+
"type": "text",
|
| 719 |
+
"text": "G-Trans+GLAT predicts the target length per sentence instead of the whole sequence. It factorizes the translation as",
|
| 720 |
+
"bbox": [
|
| 721 |
+
507,
|
| 722 |
+
625,
|
| 723 |
+
882,
|
| 724 |
+
671
|
| 725 |
+
],
|
| 726 |
+
"page_idx": 3
|
| 727 |
+
},
|
| 728 |
+
{
|
| 729 |
+
"type": "equation",
|
| 730 |
+
"text": "\n$$\np _ {\\theta} (y | x) = \\prod_ {j = 1} ^ {K} \\left[ p _ {\\theta} \\left(T _ {j} \\mid x _ {j}\\right) \\cdot \\prod_ {t = 1} ^ {T _ {j}} p _ {\\theta} \\left(y _ {j, t} \\mid x _ {j}, x\\right) \\right], \\tag {7}\n$$\n",
|
| 731 |
+
"text_format": "latex",
|
| 732 |
+
"bbox": [
|
| 733 |
+
539,
|
| 734 |
+
677,
|
| 735 |
+
882,
|
| 736 |
+
719
|
| 737 |
+
],
|
| 738 |
+
"page_idx": 3
|
| 739 |
+
},
|
| 740 |
+
{
|
| 741 |
+
"type": "text",
|
| 742 |
+
"text": "where $K$ denotes the number of sentences. We predict the length $T_{j}$ of the $j$ -th target sentence and generate tokens $y_{j,t}$ accordingly. In addition to Eq. 2, where the corresponding source sentence of $y_{t}$ is unknown, $y_{j,t}$ also conditions on the source sentence $x_{j}$ .",
|
| 743 |
+
"bbox": [
|
| 744 |
+
507,
|
| 745 |
+
726,
|
| 746 |
+
882,
|
| 747 |
+
821
|
| 748 |
+
],
|
| 749 |
+
"page_idx": 3
|
| 750 |
+
},
|
| 751 |
+
{
|
| 752 |
+
"type": "text",
|
| 753 |
+
"text": "For each source sentence $x_{j}$ , we predict the length $T_{j}$ of the target sentence using a linear classifier based on the mean pool of output features of the source sentence tokens. Consequently, we calculate the length $T$ of the target sequence by aggregating sentence lengths $T = \\sum_{j=1}^{K} T_{j}$ .",
|
| 754 |
+
"bbox": [
|
| 755 |
+
507,
|
| 756 |
+
822,
|
| 757 |
+
882,
|
| 758 |
+
921
|
| 759 |
+
],
|
| 760 |
+
"page_idx": 3
|
| 761 |
+
},
|
| 762 |
+
{
|
| 763 |
+
"type": "table",
|
| 764 |
+
"img_path": "images/4c63ecfc31fb0ca25562e43d855fb184178afac08c75a28218c748d7a66140c1.jpg",
|
| 765 |
+
"table_caption": [],
|
| 766 |
+
"table_footnote": [],
|
| 767 |
+
"table_body": "<table><tr><td rowspan=\"2\">Method</td><td colspan=\"2\">TED (d-BLEU)</td><td colspan=\"2\">News (d-BLEU)</td><td colspan=\"2\">Europarl (d-BLEU)</td><td colspan=\"2\">Average (d-BLEU)</td><td rowspan=\"2\">Speed -up</td></tr><tr><td>Raw</td><td>KD</td><td>Raw</td><td>KD</td><td>Raw</td><td>KD</td><td>Raw</td><td>KD</td></tr><tr><td colspan=\"10\">AT Baselines</td></tr><tr><td>G-Transformer (Bao et al., 2021)</td><td>27.23</td><td>26.42</td><td>27.22</td><td>26.38</td><td>34.09</td><td>32.87</td><td>29.51</td><td>28.56</td><td>-</td></tr><tr><td>Transformer (Vaswani et al., 2017)</td><td>0.69</td><td>26.04</td><td>0.23</td><td>0.43</td><td>33.41</td><td>26.43</td><td>11.44</td><td>17.63</td><td>1.0x</td></tr><tr><td colspan=\"10\">Existing NAT Models</td></tr><tr><td>Vanilla NAT (Gu et al., 2018)</td><td>0.45</td><td>0.34</td><td>0.12</td><td>0.61</td><td>1.30</td><td>2.43</td><td>0.62</td><td>1.13</td><td>41.2x</td></tr><tr><td>GLAT (Qian et al., 2021)</td><td>1.77</td><td>0.03</td><td>0.01</td><td>2.56</td><td>2.13</td><td>8.17</td><td>1.30</td><td>3.59</td><td>40.0x</td></tr><tr><td>Latent-GLAT (Bao et al., 2022)</td><td>2.10</td><td>1.87</td><td>0.30</td><td>2.30</td><td>5.26</td><td>4.25</td><td>2.55</td><td>2.81</td><td>29.2x</td></tr><tr><td>NAT+CTC (Libovický and Helcl, 2018)</td><td>21.54</td><td>24.98</td><td>15.95</td><td>24.03</td><td>0.00</td><td>31.58</td><td>12.50</td><td>26.86</td><td>27.7x</td></tr><tr><td>GLAT+CTC (Qian et al., 2021)</td><td>18.49</td><td>25.31</td><td>10.23</td><td>20.01</td><td>0.00</td><td>29.47</td><td>9.57</td><td>24.93</td><td>26.3x</td></tr><tr><td>DA-Transformer (Huang et al., 2022)</td><td>20.47</td><td>25.02</td><td>13.99</td><td>23.37</td><td>30.34</td><td>32.14</td><td>21.60</td><td>26.84</td><td>30.8x</td></tr><tr><td colspan=\"10\">NAT Models with Sentence Alignment</td></tr><tr><td>G-Trans+GLAT (ours)</td><td>19.96*</td><td>24.23*</td><td>15.14*</td><td>23.04*</td><td>25.67*</td><td>31.45*</td><td>20.26</td><td>26.24</td><td>30.0x</td></tr><tr><td>G-Trans+GLAT+CTC (ours)</td><td>24.09*</td><td>26.31*</td><td>21.68*</td><td>25.61*</td><td>30.35*</td><td>32.24*</td><td>25.37</td><td>28.05</td><td>20.0x</td></tr><tr><td>G-Trans+DA-Trans (ours)</td><td>23.45*</td><td>25.73*</td><td>21.43*</td><td>24.70*</td><td>30.36</td><td>32.29</td><td>25.08</td><td>27.57</td><td>25.1x</td></tr></table>",
|
| 768 |
+
"bbox": [
|
| 769 |
+
114,
|
| 770 |
+
80,
|
| 771 |
+
884,
|
| 772 |
+
291
|
| 773 |
+
],
|
| 774 |
+
"page_idx": 4
|
| 775 |
+
},
|
| 776 |
+
{
|
| 777 |
+
"type": "text",
|
| 778 |
+
"text": "Table 1: Main results on raw data (Raw) and knowledge distilled data (KD), where the failures are marked and investigated in section 5.1. We use the official code from the respective papers of NAT models, except NAT+CTC, which is implemented by ourselves based on the GLAT code. “*” denotes a statistical significance at the level of $p < 0.01$ using a t-test, compared to the corresponding baseline NAT model without sentence alignment.",
|
| 779 |
+
"bbox": [
|
| 780 |
+
110,
|
| 781 |
+
299,
|
| 782 |
+
882,
|
| 783 |
+
357
|
| 784 |
+
],
|
| 785 |
+
"page_idx": 4
|
| 786 |
+
},
|
| 787 |
+
{
|
| 788 |
+
"type": "text",
|
| 789 |
+
"text": "G-Trans+GLAT+CTC integrates the sentence alignment with the CTC alignment. The default CTC algorithm aggregates all possible latent alignments across the entire sequence, which may align a source sentence to a wrong target sentence (e.g., the first source sentence to the second target sentence). Such global alignment not only slows down the training process but also causes unstable model performance. Different from the global alignment in Eq. 3, we apply CTC alignment on each sentence",
|
| 790 |
+
"bbox": [
|
| 791 |
+
112,
|
| 792 |
+
382,
|
| 793 |
+
487,
|
| 794 |
+
542
|
| 795 |
+
],
|
| 796 |
+
"page_idx": 4
|
| 797 |
+
},
|
| 798 |
+
{
|
| 799 |
+
"type": "equation",
|
| 800 |
+
"text": "\n$$\np _ {\\theta} (y | x) = \\prod_ {j = 1} ^ {K} \\left[ \\sum_ {a _ {j} \\in \\beta \\left(y _ {j}\\right)} \\prod_ {i = 1} ^ {M _ {j}} p _ {\\theta} \\left(a _ {j, i} \\mid x _ {j}, x\\right) \\right], \\tag {8}\n$$\n",
|
| 801 |
+
"text_format": "latex",
|
| 802 |
+
"bbox": [
|
| 803 |
+
154,
|
| 804 |
+
556,
|
| 805 |
+
487,
|
| 806 |
+
599
|
| 807 |
+
],
|
| 808 |
+
"page_idx": 4
|
| 809 |
+
},
|
| 810 |
+
{
|
| 811 |
+
"type": "text",
|
| 812 |
+
"text": "where $M_{j}$ denotes the reserved token positions for the $j$ -th target sentence. Since CTC alignment is restricted inside each target sentence, the alignment space $\\beta(y_{j})$ is enormously reduced compared to the $\\beta(y)$ in Eq. 3.",
|
| 813 |
+
"bbox": [
|
| 814 |
+
112,
|
| 815 |
+
611,
|
| 816 |
+
487,
|
| 817 |
+
690
|
| 818 |
+
],
|
| 819 |
+
"page_idx": 4
|
| 820 |
+
},
|
| 821 |
+
{
|
| 822 |
+
"type": "text",
|
| 823 |
+
"text": "G-Trans+DA-Trans introduces the sentence alignment into the output DAG of the DA-Transformer. The default DAG models the whole sequence, which enables the transition from a vertex in one sentence to a vertex in another sentence, making the transition space linearly increase with the enlargement of the sequence length.",
|
| 824 |
+
"bbox": [
|
| 825 |
+
112,
|
| 826 |
+
693,
|
| 827 |
+
487,
|
| 828 |
+
804
|
| 829 |
+
],
|
| 830 |
+
"page_idx": 4
|
| 831 |
+
},
|
| 832 |
+
{
|
| 833 |
+
"type": "text",
|
| 834 |
+
"text": "To address the issue, we enforce a constraint to isolate the vertex transitions of each sentence, forcing the path $a$ on each sentence starting with a special vertex $\" < s > \"$ and ending with a special vertex $\" < / s > \"$ . The transition between sentences only happens from the vertex $\" < / s > \"$ of a previous sentence to the vertex $\" < s > \"$ of the current sentence.",
|
| 835 |
+
"bbox": [
|
| 836 |
+
112,
|
| 837 |
+
806,
|
| 838 |
+
487,
|
| 839 |
+
917
|
| 840 |
+
],
|
| 841 |
+
"page_idx": 4
|
| 842 |
+
},
|
| 843 |
+
{
|
| 844 |
+
"type": "text",
|
| 845 |
+
"text": "Formally, we use the same factorization as Eq. 4 but with a different collection $\\beta(y)$ of paths. At the implementation level, we simply mask the transition matrix to disable transitions from one sentence to another sentence, so that the dynamic programming algorithm keeps unchanged.",
|
| 846 |
+
"bbox": [
|
| 847 |
+
507,
|
| 848 |
+
382,
|
| 849 |
+
882,
|
| 850 |
+
479
|
| 851 |
+
],
|
| 852 |
+
"page_idx": 4
|
| 853 |
+
},
|
| 854 |
+
{
|
| 855 |
+
"type": "text",
|
| 856 |
+
"text": "4 Experiments",
|
| 857 |
+
"text_level": 1,
|
| 858 |
+
"bbox": [
|
| 859 |
+
507,
|
| 860 |
+
489,
|
| 861 |
+
653,
|
| 862 |
+
506
|
| 863 |
+
],
|
| 864 |
+
"page_idx": 4
|
| 865 |
+
},
|
| 866 |
+
{
|
| 867 |
+
"type": "text",
|
| 868 |
+
"text": "4.1 Experimental Settings",
|
| 869 |
+
"text_level": 1,
|
| 870 |
+
"bbox": [
|
| 871 |
+
507,
|
| 872 |
+
514,
|
| 873 |
+
729,
|
| 874 |
+
530
|
| 875 |
+
],
|
| 876 |
+
"page_idx": 4
|
| 877 |
+
},
|
| 878 |
+
{
|
| 879 |
+
"type": "text",
|
| 880 |
+
"text": "We evaluate the models using document-level MT benchmark (Maruf et al., 2019), which includes three datasets TED, News, and Europarl, representing three domains and various data scales for English-German translation. More details about each dataset and the preprocessing are in Appendix A.1. We follow Liu et al. (2020), evaluating the model performance in sentence-level BLEU score $(s\\text{-BLEU})$ and document-level BLEU score $(d\\text{-BLEU})$ , which are explained in detail as Appendix A.2. We experiment on Base model (where Big model does not provide a stronger baseline) and evaluate the speedup using 1 GPU and 4 CPUs of a Tesla V100 environment as Appendix A.3.",
|
| 881 |
+
"bbox": [
|
| 882 |
+
507,
|
| 883 |
+
533,
|
| 884 |
+
882,
|
| 885 |
+
760
|
| 886 |
+
],
|
| 887 |
+
"page_idx": 4
|
| 888 |
+
},
|
| 889 |
+
{
|
| 890 |
+
"type": "text",
|
| 891 |
+
"text": "4.2 Overall Results",
|
| 892 |
+
"text_level": 1,
|
| 893 |
+
"bbox": [
|
| 894 |
+
507,
|
| 895 |
+
769,
|
| 896 |
+
678,
|
| 897 |
+
784
|
| 898 |
+
],
|
| 899 |
+
"page_idx": 4
|
| 900 |
+
},
|
| 901 |
+
{
|
| 902 |
+
"type": "text",
|
| 903 |
+
"text": "As shown in Table 1, NAT models achieve high speedup but still suffer from a significant performance gap with their AT counterparts.",
|
| 904 |
+
"bbox": [
|
| 905 |
+
507,
|
| 906 |
+
790,
|
| 907 |
+
882,
|
| 908 |
+
838
|
| 909 |
+
],
|
| 910 |
+
"page_idx": 4
|
| 911 |
+
},
|
| 912 |
+
{
|
| 913 |
+
"type": "text",
|
| 914 |
+
"text": "Speedup. The inference accelerations of NAT models on the document level are between 25x and 41x, which surpasses the accelerations on the sentence level (between 2x to 15x) by a big margin. Specifically, NAT and GLAT provide the biggest",
|
| 915 |
+
"bbox": [
|
| 916 |
+
507,
|
| 917 |
+
839,
|
| 918 |
+
882,
|
| 919 |
+
917
|
| 920 |
+
],
|
| 921 |
+
"page_idx": 4
|
| 922 |
+
},
|
| 923 |
+
{
|
| 924 |
+
"type": "text",
|
| 925 |
+
"text": "acceleration by around $40\\mathrm{x}$ . More complex models, such as Latent-GLAT, DA-Transformer, and G-Trans+GLAT, accelerate inference by approximately $30\\mathrm{x}$ . CTC-based models have lower accelerations between $20\\mathrm{x}$ and $27\\mathrm{x}$ . On average, the acceleration on the document level is about $30\\mathrm{x}$ , which means that document-level MT systems could potentially save $96\\%$ computational resources and energy consumption by using NAT models.",
|
| 926 |
+
"bbox": [
|
| 927 |
+
112,
|
| 928 |
+
84,
|
| 929 |
+
489,
|
| 930 |
+
228
|
| 931 |
+
],
|
| 932 |
+
"page_idx": 5
|
| 933 |
+
},
|
| 934 |
+
{
|
| 935 |
+
"type": "text",
|
| 936 |
+
"text": "Performance. Though NAT models underperform G-Transformer, some outpace the Transformer. The lengthy text sequence challenges both the AT models and the NAT models, resulting in exceptionally low d-BLEU scores (<10) in some settings. We treat these low scores as model failures and investigate them in section 5.1.",
|
| 937 |
+
"bbox": [
|
| 938 |
+
112,
|
| 939 |
+
230,
|
| 940 |
+
489,
|
| 941 |
+
343
|
| 942 |
+
],
|
| 943 |
+
"page_idx": 5
|
| 944 |
+
},
|
| 945 |
+
{
|
| 946 |
+
"type": "text",
|
| 947 |
+
"text": "With the help of sentence alignment, the performance gap between NAT models and AT baselines is largely reduced, especially when trained on KD data. For example, G-Trans+GLAT+CTC achieves an average d-BLEU of 28.05 on KD data, which is only 0.51 points lower than the d-BLEU of 28.56 of G-Transformer. However, its performance on Raw data is 4.14 points lower than G-Transformer, suggesting that NAT models experience severe challenges with raw data. These results demonstrate that even though knowledge distillation and sentence alignment enhance NAT models largely, there is still a gap between the NAT models and the strongest AT baseline.",
|
| 948 |
+
"bbox": [
|
| 949 |
+
115,
|
| 950 |
+
344,
|
| 951 |
+
489,
|
| 952 |
+
570
|
| 953 |
+
],
|
| 954 |
+
"page_idx": 5
|
| 955 |
+
},
|
| 956 |
+
{
|
| 957 |
+
"type": "text",
|
| 958 |
+
"text": "4.3 Breakdown Results",
|
| 959 |
+
"text_level": 1,
|
| 960 |
+
"bbox": [
|
| 961 |
+
112,
|
| 962 |
+
587,
|
| 963 |
+
314,
|
| 964 |
+
602
|
| 965 |
+
],
|
| 966 |
+
"page_idx": 5
|
| 967 |
+
},
|
| 968 |
+
{
|
| 969 |
+
"type": "text",
|
| 970 |
+
"text": "Sentence-level alignment. Sentence alignment substantially enhances the performance of NAT models. Specifically, for GLAT, sentence alignment enhances the performance on KD data from an average of 3.59 to 26.24 d-BLEU of G-Trans+GLAT. For GLAT+CTC, sentence alignment elevates the performance on KD data from 24.93 to 28.05 d-BLEU on average. This score is comparable to G-Transformer on KD data, leaving a minor gap of 0.51 d-BLEU on average. The better results of G-Trans+GLAT+CTC than G-Trans+GLAT suggest that sentence alignment complements output alignment techniques such as CTC.",
|
| 971 |
+
"bbox": [
|
| 972 |
+
112,
|
| 973 |
+
611,
|
| 974 |
+
489,
|
| 975 |
+
820
|
| 976 |
+
],
|
| 977 |
+
"page_idx": 5
|
| 978 |
+
},
|
| 979 |
+
{
|
| 980 |
+
"type": "text",
|
| 981 |
+
"text": "The sentence alignment brings more benefits to models trained on raw data. As the average scores in Table 1 show, G-Trans+GLAT+CTC outperforms GLAT+CTC by 15.80 points on raw data and 3.12 points on KD data. G-Trans+DA-Trans outperforms DA-Transformer by 3.48 points on",
|
| 982 |
+
"bbox": [
|
| 983 |
+
112,
|
| 984 |
+
822,
|
| 985 |
+
489,
|
| 986 |
+
920
|
| 987 |
+
],
|
| 988 |
+
"page_idx": 5
|
| 989 |
+
},
|
| 990 |
+
{
|
| 991 |
+
"type": "text",
|
| 992 |
+
"text": "raw data and 0.73 points on KD data. These results suggest that sentence alignment mitigates the challenge brought by more modalities in raw data.",
|
| 993 |
+
"bbox": [
|
| 994 |
+
507,
|
| 995 |
+
84,
|
| 996 |
+
884,
|
| 997 |
+
131
|
| 998 |
+
],
|
| 999 |
+
"page_idx": 5
|
| 1000 |
+
},
|
| 1001 |
+
{
|
| 1002 |
+
"type": "text",
|
| 1003 |
+
"text": "Token-level alignment. NAT models with implicit alignment such as vanilla NAT, GLAT, and Latent-GLAT fail on document-level MT, resulting in messy translations (repetitions, wrong words, and meaningless phrases). Conversely, NAT models with explicit alignments, such as NAT+CTC, GLAT+CTC, and DA-Transformer, produce superior document-level performance. DA-Transformer delivers the best overall performance among existing NAT models, even outperforming Transformer on Europarl (KD). These results suggest that token-level alignment plays an important role in NAT models to achieve good performance.",
|
| 1004 |
+
"bbox": [
|
| 1005 |
+
507,
|
| 1006 |
+
135,
|
| 1007 |
+
885,
|
| 1008 |
+
344
|
| 1009 |
+
],
|
| 1010 |
+
"page_idx": 5
|
| 1011 |
+
},
|
| 1012 |
+
{
|
| 1013 |
+
"type": "text",
|
| 1014 |
+
"text": "However, we also observe that training with CTC loss on documents is not always stable, leading to occasional failure and a high variance in their performance (e.g., +/-2.66 d-BLEU on raw data and +/-0.84 on KD data for GLAT+CTC). The failure happens more frequently on raw data than on KD data. We speculate that this instability is caused by the increased alignment space on long sequences, which can be mitigated by sentence alignment. Experiments on G-Trans+GLAT+CTC show stable training and lower variance in performance (+/- 0.19 d-BLEU). These results suggest that token-level alignment alone is not enough to achieve stable training and good performance.",
|
| 1015 |
+
"bbox": [
|
| 1016 |
+
507,
|
| 1017 |
+
347,
|
| 1018 |
+
885,
|
| 1019 |
+
571
|
| 1020 |
+
],
|
| 1021 |
+
"page_idx": 5
|
| 1022 |
+
},
|
| 1023 |
+
{
|
| 1024 |
+
"type": "text",
|
| 1025 |
+
"text": "Knowledge distillation. Intuitively, documents have more modalities because they are much longer than sentences. If it is the case, knowledge distillation will become more critical for training NAT models on document-level MT than on sentence-level MT. We compare NAT models trained with and without knowledge distillation.",
|
| 1026 |
+
"bbox": [
|
| 1027 |
+
507,
|
| 1028 |
+
575,
|
| 1029 |
+
884,
|
| 1030 |
+
688
|
| 1031 |
+
],
|
| 1032 |
+
"page_idx": 5
|
| 1033 |
+
},
|
| 1034 |
+
{
|
| 1035 |
+
"type": "text",
|
| 1036 |
+
"text": "As Table 1 shows, NAT models trained on KD data generally outperform the same model trained on raw data. The improvement is especially significant for NAT models with explicit alignment. For example, DA-Transformer obtains an average of 26.84 d-BLEU on KD data, which is 5.24 points higher than 21.60 d-BLEU on raw data. In contrast, DA-Transformer on sentence-level MT achieves similar results on raw data and on KD data (Huang et al., 2022). The results suggest that compared to sentences, documents have more severe multimodality issues.",
|
| 1037 |
+
"bbox": [
|
| 1038 |
+
507,
|
| 1039 |
+
690,
|
| 1040 |
+
885,
|
| 1041 |
+
883
|
| 1042 |
+
],
|
| 1043 |
+
"page_idx": 5
|
| 1044 |
+
},
|
| 1045 |
+
{
|
| 1046 |
+
"type": "text",
|
| 1047 |
+
"text": "Although knowledge distillation enhances the performance of NAT models, it also sets a ceiling",
|
| 1048 |
+
"bbox": [
|
| 1049 |
+
507,
|
| 1050 |
+
887,
|
| 1051 |
+
884,
|
| 1052 |
+
920
|
| 1053 |
+
],
|
| 1054 |
+
"page_idx": 5
|
| 1055 |
+
},
|
| 1056 |
+
{
|
| 1057 |
+
"type": "image",
|
| 1058 |
+
"img_path": "images/5ee81d0b79c72258487b0ab4486f91c348b87b205008822352882329a3e312bb.jpg",
|
| 1059 |
+
"image_caption": [
|
| 1060 |
+
"Figure 3: Speedup rises as long as the sequence length grows, evaluated on TED and News."
|
| 1061 |
+
],
|
| 1062 |
+
"image_footnote": [],
|
| 1063 |
+
"bbox": [
|
| 1064 |
+
171,
|
| 1065 |
+
82,
|
| 1066 |
+
421,
|
| 1067 |
+
195
|
| 1068 |
+
],
|
| 1069 |
+
"page_idx": 6
|
| 1070 |
+
},
|
| 1071 |
+
{
|
| 1072 |
+
"type": "text",
|
| 1073 |
+
"text": "to the performance on document-level MT. Comparing the performance of G-Transformer on KD data to raw data, we see that KD data downgrades the performance by about 1 d-BLEU on average (from 29.51 to 28.56). These results differ from previous results on sentence-level MT (Huang et al., 2022), where knowledge distillation maintains or even enhances the performance of AT models. The discrepancy calls for further research on techniques to reduce the modalities on the document level.",
|
| 1074 |
+
"bbox": [
|
| 1075 |
+
112,
|
| 1076 |
+
266,
|
| 1077 |
+
489,
|
| 1078 |
+
426
|
| 1079 |
+
],
|
| 1080 |
+
"page_idx": 6
|
| 1081 |
+
},
|
| 1082 |
+
{
|
| 1083 |
+
"type": "text",
|
| 1084 |
+
"text": "Speedup on different sequence lengths. We evaluate GLAT and GLAT+CTC on various sequence lengths, including the single sentence and segments with a maximum length of 64, 128, 256, and 512. As Figure 3 shows, the speedup displays consistent trends among different datasets and NAT models. The GLAT generally has a higher speedup than GLAT-CTC, especially when the segment length goes above 256. The speedups on TED and News are almost identical, which is expected because the time costs are supposed to be irrelevant to the data domains. The trends suggest that we benefit more from the inference acceleration on longer documents, where document-level MT tasks provide NAT models with the best scenario.",
|
| 1085 |
+
"bbox": [
|
| 1086 |
+
115,
|
| 1087 |
+
430,
|
| 1088 |
+
489,
|
| 1089 |
+
671
|
| 1090 |
+
],
|
| 1091 |
+
"page_idx": 6
|
| 1092 |
+
},
|
| 1093 |
+
{
|
| 1094 |
+
"type": "text",
|
| 1095 |
+
"text": "Speedup on different batch sizes. The previous study (Helcl et al., 2022) reports that NAT models have limited acceleration on the sentence-level MT in parallel inference settings. We evaluate the models in the settings with different batch sizes, including 1, 2, 4, and 8 instances per batch. Given that document-level MT sequences are much longer than sentence-level MT sequences, we do not evaluate using a batch size larger than 8.",
|
| 1096 |
+
"bbox": [
|
| 1097 |
+
112,
|
| 1098 |
+
675,
|
| 1099 |
+
489,
|
| 1100 |
+
819
|
| 1101 |
+
],
|
| 1102 |
+
"page_idx": 6
|
| 1103 |
+
},
|
| 1104 |
+
{
|
| 1105 |
+
"type": "text",
|
| 1106 |
+
"text": "As Figure 4 shows, when we increase the batch size from 1 to 8, the overall speedup of GLAT decreases from $40\\mathrm{x}$ to $9\\mathrm{x}$ . However, if we consider a more strict calculation of the speedup, excluding the time for initializing the models (which takes almost constant time) from the total evaluation time,",
|
| 1107 |
+
"bbox": [
|
| 1108 |
+
112,
|
| 1109 |
+
822,
|
| 1110 |
+
489,
|
| 1111 |
+
917
|
| 1112 |
+
],
|
| 1113 |
+
"page_idx": 6
|
| 1114 |
+
},
|
| 1115 |
+
{
|
| 1116 |
+
"type": "image",
|
| 1117 |
+
"img_path": "images/bf8650d2403274b90126466ea4a7406a816f9a9c72e32a7c5552cfde358763da.jpg",
|
| 1118 |
+
"image_caption": [
|
| 1119 |
+
"Figure 4: Speedup with various batch sizes evaluated on News, where the “/ex” conducts a strict calculation of speedup by excluding the time cost for model initialization from both the AT baseline and the NAT models."
|
| 1120 |
+
],
|
| 1121 |
+
"image_footnote": [],
|
| 1122 |
+
"bbox": [
|
| 1123 |
+
566,
|
| 1124 |
+
82,
|
| 1125 |
+
818,
|
| 1126 |
+
195
|
| 1127 |
+
],
|
| 1128 |
+
"page_idx": 6
|
| 1129 |
+
},
|
| 1130 |
+
{
|
| 1131 |
+
"type": "text",
|
| 1132 |
+
"text": "the inference speedup of GLAT is $125\\mathrm{x}$ and $44\\mathrm{x}$ for the batch size of 1 and 8, respectively. These results suggest that although the speedup ratio decreases for bigger batch sizes, NAT models on document-level MT still show significant acceleration in the parallel inference settings.",
|
| 1133 |
+
"bbox": [
|
| 1134 |
+
507,
|
| 1135 |
+
287,
|
| 1136 |
+
884,
|
| 1137 |
+
385
|
| 1138 |
+
],
|
| 1139 |
+
"page_idx": 6
|
| 1140 |
+
},
|
| 1141 |
+
{
|
| 1142 |
+
"type": "text",
|
| 1143 |
+
"text": "5 The Challenge of Long Sequence",
|
| 1144 |
+
"text_level": 1,
|
| 1145 |
+
"bbox": [
|
| 1146 |
+
507,
|
| 1147 |
+
395,
|
| 1148 |
+
826,
|
| 1149 |
+
413
|
| 1150 |
+
],
|
| 1151 |
+
"page_idx": 6
|
| 1152 |
+
},
|
| 1153 |
+
{
|
| 1154 |
+
"type": "text",
|
| 1155 |
+
"text": "The long input and output in document-level MT bring unexplored challenges to NAT models. In section 4, we learn that NAT models have a significant performance gap with their AT counterparts, and various NAT models even fail in some settings. We investigate these challenges in this section, leaving other discussions in Appendix D.",
|
| 1156 |
+
"bbox": [
|
| 1157 |
+
507,
|
| 1158 |
+
420,
|
| 1159 |
+
884,
|
| 1160 |
+
533
|
| 1161 |
+
],
|
| 1162 |
+
"page_idx": 6
|
| 1163 |
+
},
|
| 1164 |
+
{
|
| 1165 |
+
"type": "text",
|
| 1166 |
+
"text": "5.1 The Failure of NAT Models",
|
| 1167 |
+
"text_level": 1,
|
| 1168 |
+
"bbox": [
|
| 1169 |
+
507,
|
| 1170 |
+
544,
|
| 1171 |
+
769,
|
| 1172 |
+
558
|
| 1173 |
+
],
|
| 1174 |
+
"page_idx": 6
|
| 1175 |
+
},
|
| 1176 |
+
{
|
| 1177 |
+
"type": "text",
|
| 1178 |
+
"text": "Previous study (Bao et al., 2021) suggests that Transformer fails on long sequences because of local minima of loss values during the training process. We first investigate this possibility for the cause of the failure on NAT models. We evaluate GLAT, GLAT+CTC, Transformer, and GTransformer on different lengths of sequences, as shown in Figure 5a. Overall, the four models produce different patterns of trends. The d-BLEU score of the Transformer rises as long as the sequence length increases until the failure happens at the length of 512 tokens. In contrast, the d-BLEU scores of the GLAT and GLAT+CTC descend progressively as long as the sequence length increases, which suggests a performance decline instead of a training failure on NAT models.",
|
| 1179 |
+
"bbox": [
|
| 1180 |
+
507,
|
| 1181 |
+
565,
|
| 1182 |
+
884,
|
| 1183 |
+
821
|
| 1184 |
+
],
|
| 1185 |
+
"page_idx": 6
|
| 1186 |
+
},
|
| 1187 |
+
{
|
| 1188 |
+
"type": "text",
|
| 1189 |
+
"text": "Further evidence on the bigger dataset Europarl confirms that the low performance of NAT models is different from the failure of Transformer. Bao et al. (2021) suggests that the local minima encountered by Transformer can be escaped by using a bigger dataset, resulting in normal scores on Europarl.",
|
| 1190 |
+
"bbox": [
|
| 1191 |
+
507,
|
| 1192 |
+
822,
|
| 1193 |
+
885,
|
| 1194 |
+
919
|
| 1195 |
+
],
|
| 1196 |
+
"page_idx": 6
|
| 1197 |
+
},
|
| 1198 |
+
{
|
| 1199 |
+
"type": "image",
|
| 1200 |
+
"img_path": "images/d58843f75fcbc9506a34733eaa2356f44d310e8a4feeb40cdc6c84c76a17a0b4.jpg",
|
| 1201 |
+
"image_caption": [
|
| 1202 |
+
"(a) NAT and AT performance on different sequence length."
|
| 1203 |
+
],
|
| 1204 |
+
"image_footnote": [],
|
| 1205 |
+
"bbox": [
|
| 1206 |
+
115,
|
| 1207 |
+
80,
|
| 1208 |
+
349,
|
| 1209 |
+
187
|
| 1210 |
+
],
|
| 1211 |
+
"page_idx": 7
|
| 1212 |
+
},
|
| 1213 |
+
{
|
| 1214 |
+
"type": "image",
|
| 1215 |
+
"img_path": "images/9f141243d8aa4c436811c51bbc230d887438983f828d307b2059a4b74eed3174.jpg",
|
| 1216 |
+
"image_caption": [
|
| 1217 |
+
"(b) GLAT detailed BLEU scores on different sequence lengths.",
|
| 1218 |
+
"Figure 5: NAT vs. AT models on trends evaluated on News, where Transformer fails abruptly at the length of 512 while NAT models decrease progressively."
|
| 1219 |
+
],
|
| 1220 |
+
"image_footnote": [],
|
| 1221 |
+
"bbox": [
|
| 1222 |
+
381,
|
| 1223 |
+
80,
|
| 1224 |
+
613,
|
| 1225 |
+
186
|
| 1226 |
+
],
|
| 1227 |
+
"page_idx": 7
|
| 1228 |
+
},
|
| 1229 |
+
{
|
| 1230 |
+
"type": "image",
|
| 1231 |
+
"img_path": "images/9e84efc128d6b4550bae17b17f5d0bea87828d989f05db40bbf2fc78271511b6.jpg",
|
| 1232 |
+
"image_caption": [
|
| 1233 |
+
"(c) $GLAT + CTC$ detailed BLEU scores on different sequence lengths."
|
| 1234 |
+
],
|
| 1235 |
+
"image_footnote": [],
|
| 1236 |
+
"bbox": [
|
| 1237 |
+
648,
|
| 1238 |
+
80,
|
| 1239 |
+
880,
|
| 1240 |
+
186
|
| 1241 |
+
],
|
| 1242 |
+
"page_idx": 7
|
| 1243 |
+
},
|
| 1244 |
+
{
|
| 1245 |
+
"type": "text",
|
| 1246 |
+
"text": "We evaluate Transformer, GLAT, and GLAT+CTC on Europarl, obtaining d-BLEU scores of 33.41, 2.13, and 0.00, respectively. We could see that GLAT and GLAT+CTC still give low scores on the bigger dataset, suggesting a different cause from the local minima.",
|
| 1247 |
+
"bbox": [
|
| 1248 |
+
112,
|
| 1249 |
+
282,
|
| 1250 |
+
487,
|
| 1251 |
+
378
|
| 1252 |
+
],
|
| 1253 |
+
"page_idx": 7
|
| 1254 |
+
},
|
| 1255 |
+
{
|
| 1256 |
+
"type": "text",
|
| 1257 |
+
"text": "We look into the d-BLEU score details, where BLEU- $n$ ( $n \\in [1,2,3,4]$ ) denotes the precision on $n$ -gram. As the d-BLEU scores on GLAT in Figure 5b show, the BLEU-3/4 decreases rapidly, reaching almost 0.0 at the lengths of 256 and 512. The BLEU-1 remains relatively high at 27.3 on the length of 256, resulting in messy translations, where the generated tokens are related to the content but are repeated, disordered, or in the wrong collocation as shown in Table 2. In comparison, the d-BLEU scores on GLAT+CTC in Figure 5c decrease slowly, where the BLEU-1 even increases on the length of 512. We speculate the rapid decrease in BLEU-3/4 on GLAT is caused by the multi-modality and misalignment issues, which can be mitigated by explicit alignments, such as CTC.",
|
| 1258 |
+
"bbox": [
|
| 1259 |
+
112,
|
| 1260 |
+
382,
|
| 1261 |
+
489,
|
| 1262 |
+
640
|
| 1263 |
+
],
|
| 1264 |
+
"page_idx": 7
|
| 1265 |
+
},
|
| 1266 |
+
{
|
| 1267 |
+
"type": "text",
|
| 1268 |
+
"text": "The exceptional zero scores. Table 1 reveals some unexpected results. Both NAT+CTC and GLAT+CTC score a 0.00 d-BLEU on the raw Europarl dataset, a performance notably inferior to that of NAT and GLAT. This unprecedented anomaly may stem from the challenges of applying CTC loss on long sequences. The table further indicates that both combinations, NAT/GLAT+CTC and NAT/GLAT, experience training failures on the raw Europarl dataset. These failures are likely due to multi-modality and misalignment issues. These results empirically demonstrate that, while CTC loss can be effective, its application to document-level training is not consistently stable. We hypothesize that this instability arises from the expanded alignment space between lengthy input and output sequences, as detailed in the token-level alignment",
|
| 1269 |
+
"bbox": [
|
| 1270 |
+
112,
|
| 1271 |
+
645,
|
| 1272 |
+
489,
|
| 1273 |
+
919
|
| 1274 |
+
],
|
| 1275 |
+
"page_idx": 7
|
| 1276 |
+
},
|
| 1277 |
+
{
|
| 1278 |
+
"type": "text",
|
| 1279 |
+
"text": "Source: companies with a high percentage of floating rate debt stand to lose the most, Goldman said. outside pure stock plays, consumers stand to benefit as well through the rising dollar.",
|
| 1280 |
+
"bbox": [
|
| 1281 |
+
517,
|
| 1282 |
+
282,
|
| 1283 |
+
873,
|
| 1284 |
+
332
|
| 1285 |
+
],
|
| 1286 |
+
"page_idx": 7
|
| 1287 |
+
},
|
| 1288 |
+
{
|
| 1289 |
+
"type": "text",
|
| 1290 |
+
"text": "Target: Unternehmen mit einem hohen Anteil an flexiblen Zinsen werden am meisten verlieren, sagte Goldman. außerhalb der reinen Aktienspiele werden Verbraucher ebenfalls durch den steigenden Dollar profitieren.",
|
| 1291 |
+
"bbox": [
|
| 1292 |
+
517,
|
| 1293 |
+
337,
|
| 1294 |
+
875,
|
| 1295 |
+
386
|
| 1296 |
+
],
|
| 1297 |
+
"page_idx": 7
|
| 1298 |
+
},
|
| 1299 |
+
{
|
| 1300 |
+
"type": "text",
|
| 1301 |
+
"text": "GLAT: Unternehmen mit einem hohen, freiem freiem freien erverlieren die die meisten meisten, . . . te te dazu kräften profitieren profitieren profitieren profitieren durch durch steigenden steigenden profitieren profitieren.",
|
| 1302 |
+
"bbox": [
|
| 1303 |
+
517,
|
| 1304 |
+
391,
|
| 1305 |
+
873,
|
| 1306 |
+
451
|
| 1307 |
+
],
|
| 1308 |
+
"page_idx": 7
|
| 1309 |
+
},
|
| 1310 |
+
{
|
| 1311 |
+
"type": "text",
|
| 1312 |
+
"text": "GLAT+CTC: Unternehmen mit hohen der Schulden, die verlieren. außerhalb spielten Verbrauchener den profitieren.",
|
| 1313 |
+
"bbox": [
|
| 1314 |
+
517,
|
| 1315 |
+
456,
|
| 1316 |
+
873,
|
| 1317 |
+
482
|
| 1318 |
+
],
|
| 1319 |
+
"page_idx": 7
|
| 1320 |
+
},
|
| 1321 |
+
{
|
| 1322 |
+
"type": "text",
|
| 1323 |
+
"text": "Table 2: GLAT and GLAT+CTC produce good translation at the beginning but downgrade later with repetitions and missing translations.",
|
| 1324 |
+
"bbox": [
|
| 1325 |
+
507,
|
| 1326 |
+
494,
|
| 1327 |
+
884,
|
| 1328 |
+
538
|
| 1329 |
+
],
|
| 1330 |
+
"page_idx": 7
|
| 1331 |
+
},
|
| 1332 |
+
{
|
| 1333 |
+
"type": "text",
|
| 1334 |
+
"text": "discussion in Section 4.3.",
|
| 1335 |
+
"bbox": [
|
| 1336 |
+
507,
|
| 1337 |
+
564,
|
| 1338 |
+
700,
|
| 1339 |
+
579
|
| 1340 |
+
],
|
| 1341 |
+
"page_idx": 7
|
| 1342 |
+
},
|
| 1343 |
+
{
|
| 1344 |
+
"type": "text",
|
| 1345 |
+
"text": "5.2 Document Context",
|
| 1346 |
+
"text_level": 1,
|
| 1347 |
+
"bbox": [
|
| 1348 |
+
507,
|
| 1349 |
+
592,
|
| 1350 |
+
702,
|
| 1351 |
+
606
|
| 1352 |
+
],
|
| 1353 |
+
"page_idx": 7
|
| 1354 |
+
},
|
| 1355 |
+
{
|
| 1356 |
+
"type": "text",
|
| 1357 |
+
"text": "We compare AT and NAT models with document context to the Transformer baseline without document context (trained on sentence) in Appendix B. The results suggest that document context enhances AT model (G-Transformer) by 0.70 s-BLEU. However, NAT models with document context still underperform the Transformer baseline, indicating that current NAT models have a limited ability to utilize document context.",
|
| 1358 |
+
"bbox": [
|
| 1359 |
+
505,
|
| 1360 |
+
612,
|
| 1361 |
+
884,
|
| 1362 |
+
756
|
| 1363 |
+
],
|
| 1364 |
+
"page_idx": 7
|
| 1365 |
+
},
|
| 1366 |
+
{
|
| 1367 |
+
"type": "text",
|
| 1368 |
+
"text": "We further apply an ablation study on the document context to quantify its contribution. As Table 3 illustrates, the performance of G-Trans+GLAT+CTC without document context drops by approximately 0.28 s-BLEU on average over the three benchmarks. Specifically, the target-side context contributes merely 0.01, while the source-side context contributes 0.27. The context contributions in G-Trans+GLAT+CTC are less than that in G-Transformer (0.23 and 0.70 s-BLEU on",
|
| 1369 |
+
"bbox": [
|
| 1370 |
+
507,
|
| 1371 |
+
758,
|
| 1372 |
+
884,
|
| 1373 |
+
917
|
| 1374 |
+
],
|
| 1375 |
+
"page_idx": 7
|
| 1376 |
+
},
|
| 1377 |
+
{
|
| 1378 |
+
"type": "table",
|
| 1379 |
+
"img_path": "images/6ec6a5ab82f0c1eea9bef9325f6994ddb6ccdf731bf829c9011d670ce2535cb5.jpg",
|
| 1380 |
+
"table_caption": [],
|
| 1381 |
+
"table_footnote": [
|
| 1382 |
+
"Table 3: Impact of document context, evaluated in sBLEU. $\\diamond$ - the scores are from the paper report, where the model is trained on the raw datasets. The NAT models are trained on the KD datasets."
|
| 1383 |
+
],
|
| 1384 |
+
"table_body": "<table><tr><td>Method (s-BLEU)</td><td>TED</td><td>News</td><td>Europarl</td><td>Drop</td></tr><tr><td>G-Transformer◇</td><td>25.12</td><td>25.52</td><td>32.39</td><td>-</td></tr><tr><td>- target-side context</td><td>25.05</td><td>25.41</td><td>32.16</td><td>-0.14</td></tr><tr><td>- source-side context</td><td>24.56</td><td>24.58</td><td>31.39</td><td>-0.70</td></tr><tr><td>G-Trans+GLAT+CTC</td><td>24.16</td><td>24.09</td><td>30.57</td><td>-</td></tr><tr><td>- target-side context</td><td>24.31</td><td>24.00</td><td>30.47</td><td>-0.01</td></tr><tr><td>- source-side context</td><td>23.96</td><td>24.00</td><td>30.02</td><td>-0.27</td></tr></table>",
|
| 1385 |
+
"bbox": [
|
| 1386 |
+
114,
|
| 1387 |
+
80,
|
| 1388 |
+
487,
|
| 1389 |
+
168
|
| 1390 |
+
],
|
| 1391 |
+
"page_idx": 8
|
| 1392 |
+
},
|
| 1393 |
+
{
|
| 1394 |
+
"type": "text",
|
| 1395 |
+
"text": "target and source contexts, respectively). The minor contribution from the target-side context is expected, given that NAT models predict target sentences independently. The relatively low contribution of source-side context indicates that NAT models do not fully exploit the source-side contextual information.",
|
| 1396 |
+
"bbox": [
|
| 1397 |
+
112,
|
| 1398 |
+
249,
|
| 1399 |
+
487,
|
| 1400 |
+
360
|
| 1401 |
+
],
|
| 1402 |
+
"page_idx": 8
|
| 1403 |
+
},
|
| 1404 |
+
{
|
| 1405 |
+
"type": "text",
|
| 1406 |
+
"text": "Leak of source context information on adjacent sentences? We observe serious repetitions in the translations generated by NAT models without sentence alignment, raising the concern that the information in a source sentence may leak into its adjacent sentences during translation. We measure the repetitions on NAT models with sentence alignment, where the sentence boundaries are assured by the model design. We find that these models do not generate obvious cross-sentential repetitions. For example, on the TED test set, G-Trans+GLAT generates translations with repetition ratios of 0.14 and 0.02 for 1 and 2 grams, respectively, which are almost identical to the ratios of the reference.",
|
| 1407 |
+
"bbox": [
|
| 1408 |
+
112,
|
| 1409 |
+
363,
|
| 1410 |
+
487,
|
| 1411 |
+
588
|
| 1412 |
+
],
|
| 1413 |
+
"page_idx": 8
|
| 1414 |
+
},
|
| 1415 |
+
{
|
| 1416 |
+
"type": "text",
|
| 1417 |
+
"text": "5.3 Discourse Phenomena",
|
| 1418 |
+
"text_level": 1,
|
| 1419 |
+
"bbox": [
|
| 1420 |
+
112,
|
| 1421 |
+
604,
|
| 1422 |
+
332,
|
| 1423 |
+
618
|
| 1424 |
+
],
|
| 1425 |
+
"page_idx": 8
|
| 1426 |
+
},
|
| 1427 |
+
{
|
| 1428 |
+
"type": "text",
|
| 1429 |
+
"text": "We assess the discourse ability of NAT models using a human-annotated test suite in English-Russian MT (Voita et al., 2019). We train both the AT baselines and NAT models using the 1.5M document (only 4 sentences) pairs. In contrast to previous work (Bao et al., 2021), we do not use the additional 6M sentence pairs for training for the purpose of highlighting their discourse capabilities.",
|
| 1430 |
+
"bbox": [
|
| 1431 |
+
112,
|
| 1432 |
+
627,
|
| 1433 |
+
487,
|
| 1434 |
+
756
|
| 1435 |
+
],
|
| 1436 |
+
"page_idx": 8
|
| 1437 |
+
},
|
| 1438 |
+
{
|
| 1439 |
+
"type": "text",
|
| 1440 |
+
"text": "As Table 4 shows, the NAT models significantly underperform G-Transformer across the four discourse phenomena. The performance of G-Trans+GLAT+CTC matches the Transformer baseline (without document context) on deixis and lexical cohesion (lexcoh), but excels on the ellipsis of inflection (el.infl.) and ellipsis of verb phrase (el.VP). G-Trans+DA-Trans achieve relatively higher deixis than G-Trans+GLAT+CTC because its DAG link models the target-side depen",
|
| 1441 |
+
"bbox": [
|
| 1442 |
+
112,
|
| 1443 |
+
758,
|
| 1444 |
+
487,
|
| 1445 |
+
917
|
| 1446 |
+
],
|
| 1447 |
+
"page_idx": 8
|
| 1448 |
+
},
|
| 1449 |
+
{
|
| 1450 |
+
"type": "table",
|
| 1451 |
+
"img_path": "images/c4eadaa525f72c5dbf867643b01cc27a10da718e88465d6874f229f0ad9c4c9b.jpg",
|
| 1452 |
+
"table_caption": [],
|
| 1453 |
+
"table_footnote": [
|
| 1454 |
+
"Table 4: Discourse phenomena. el.infl. - ellipsis of inflection. el.VP - ellipsis of verb phrase. lexcoh - lexical cohesion. $\\diamondsuit$ - Transformer baseline trained on sentences. $\\diamondsuit$ - G-Transformer baseline trained on documents."
|
| 1455 |
+
],
|
| 1456 |
+
"table_body": "<table><tr><td>Method</td><td>deixis</td><td>el.infl.</td><td>el.VP</td><td>lexcoh</td></tr><tr><td>Transformer (sent)♥</td><td>50.0</td><td>53.0</td><td>28.4</td><td>45.9</td></tr><tr><td>G-Transformer◇</td><td>87.1</td><td>82.4</td><td>79.8</td><td>58.6</td></tr><tr><td>G-Trans+GLAT+CTC</td><td>50.0</td><td>55.2</td><td>46.6</td><td>45.9</td></tr><tr><td>G-Trans+DA-Trans</td><td>56.7</td><td>33.0</td><td>21.0</td><td>45.2</td></tr></table>",
|
| 1457 |
+
"bbox": [
|
| 1458 |
+
509,
|
| 1459 |
+
80,
|
| 1460 |
+
882,
|
| 1461 |
+
145
|
| 1462 |
+
],
|
| 1463 |
+
"page_idx": 8
|
| 1464 |
+
},
|
| 1465 |
+
{
|
| 1466 |
+
"type": "text",
|
| 1467 |
+
"text": "dence somehow. These results suggest that current NAT models have some discourse abilities but still struggle with handling discourse phenomena.",
|
| 1468 |
+
"bbox": [
|
| 1469 |
+
507,
|
| 1470 |
+
239,
|
| 1471 |
+
882,
|
| 1472 |
+
287
|
| 1473 |
+
],
|
| 1474 |
+
"page_idx": 8
|
| 1475 |
+
},
|
| 1476 |
+
{
|
| 1477 |
+
"type": "text",
|
| 1478 |
+
"text": "6 Conclusion and Future Work",
|
| 1479 |
+
"text_level": 1,
|
| 1480 |
+
"bbox": [
|
| 1481 |
+
507,
|
| 1482 |
+
299,
|
| 1483 |
+
796,
|
| 1484 |
+
313
|
| 1485 |
+
],
|
| 1486 |
+
"page_idx": 8
|
| 1487 |
+
},
|
| 1488 |
+
{
|
| 1489 |
+
"type": "text",
|
| 1490 |
+
"text": "We investigated NAT models on document-level MT, revealing more severe affections of multimodality and misalignment issues on documents than on sentences. We proposed NAT models with sentence alignment, reducing the possible alignment space, and achieving the best results across three benchmarks. Our experiments show that NAT models significantly accelerate text generation in documents while their performance still lags behind their AT counterparts. Further analysis shows that fully NAT models underutilize document context, leading to loose discourse relations.",
|
| 1491 |
+
"bbox": [
|
| 1492 |
+
507,
|
| 1493 |
+
325,
|
| 1494 |
+
882,
|
| 1495 |
+
517
|
| 1496 |
+
],
|
| 1497 |
+
"page_idx": 8
|
| 1498 |
+
},
|
| 1499 |
+
{
|
| 1500 |
+
"type": "text",
|
| 1501 |
+
"text": "As the first research of NAT models on document-level MT, we hope this work could stimulate future research on reducing the modalities, exploiting document contexts, and modeling discourse dependence.",
|
| 1502 |
+
"bbox": [
|
| 1503 |
+
507,
|
| 1504 |
+
519,
|
| 1505 |
+
882,
|
| 1506 |
+
599
|
| 1507 |
+
],
|
| 1508 |
+
"page_idx": 8
|
| 1509 |
+
},
|
| 1510 |
+
{
|
| 1511 |
+
"type": "text",
|
| 1512 |
+
"text": "Limitations",
|
| 1513 |
+
"text_level": 1,
|
| 1514 |
+
"bbox": [
|
| 1515 |
+
509,
|
| 1516 |
+
612,
|
| 1517 |
+
613,
|
| 1518 |
+
627
|
| 1519 |
+
],
|
| 1520 |
+
"page_idx": 8
|
| 1521 |
+
},
|
| 1522 |
+
{
|
| 1523 |
+
"type": "text",
|
| 1524 |
+
"text": "We do not enumerate all recent NAT models. For the purpose of our investigation, we only evaluate the pure (fully) NAT models, leaving other NAT models, such as semi-autoregressive and iterative NAT models, out of our scope.",
|
| 1525 |
+
"bbox": [
|
| 1526 |
+
507,
|
| 1527 |
+
638,
|
| 1528 |
+
880,
|
| 1529 |
+
718
|
| 1530 |
+
],
|
| 1531 |
+
"page_idx": 8
|
| 1532 |
+
},
|
| 1533 |
+
{
|
| 1534 |
+
"type": "text",
|
| 1535 |
+
"text": "Acknowledgements",
|
| 1536 |
+
"text_level": 1,
|
| 1537 |
+
"bbox": [
|
| 1538 |
+
507,
|
| 1539 |
+
732,
|
| 1540 |
+
680,
|
| 1541 |
+
747
|
| 1542 |
+
],
|
| 1543 |
+
"page_idx": 8
|
| 1544 |
+
},
|
| 1545 |
+
{
|
| 1546 |
+
"type": "text",
|
| 1547 |
+
"text": "We would like to thank the anonymous reviewers for their valuable feedback. This work is funded by the China Strategic Scientific and Technological Innovation Cooperation Project Grant No. 2022YFE0204900 (The Macao counterpart project Grant No. FDCT/0070/2022/AMJ) and the National Natural Science Foundation of China (grant NSFC No. 62161160339). Zhiyang Teng is partially supported by CAAI-Huawei MindSpore Open Fund (CAAIXSJLJJ-2021-046A).",
|
| 1548 |
+
"bbox": [
|
| 1549 |
+
507,
|
| 1550 |
+
758,
|
| 1551 |
+
882,
|
| 1552 |
+
917
|
| 1553 |
+
],
|
| 1554 |
+
"page_idx": 8
|
| 1555 |
+
},
|
| 1556 |
+
{
|
| 1557 |
+
"type": "text",
|
| 1558 |
+
"text": "References",
|
| 1559 |
+
"text_level": 1,
|
| 1560 |
+
"bbox": [
|
| 1561 |
+
115,
|
| 1562 |
+
83,
|
| 1563 |
+
213,
|
| 1564 |
+
98
|
| 1565 |
+
],
|
| 1566 |
+
"page_idx": 9
|
| 1567 |
+
},
|
| 1568 |
+
{
|
| 1569 |
+
"type": "list",
|
| 1570 |
+
"sub_type": "ref_text",
|
| 1571 |
+
"list_items": [
|
| 1572 |
+
"Guangsheng Bao, Zhiyang Teng, and Yue Zhang. 2023. Target-side augmentation for document-level machine translation. In Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 10725-10742.",
|
| 1573 |
+
"Guangsheng Bao, Yue Zhang, Zhiyang Teng, Boxing Chen, and Weihua Luo. 2021. G-transformer for document-level machine translation. In Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing (Volume 1: Long Papers), pages 3442-3455.",
|
| 1574 |
+
"Yu Bao, Hao Zhou, Shujian Huang, Dongqi Wang, Lihua Qian, Xinyu Dai, Jiajun Chen, and Lei Li. 2022. latent-glat: Glancing at latent variables for parallel text generation. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 8398-8409.",
|
| 1575 |
+
"Iz Beltagy, Matthew E. Peters, and Arman Cohan. 2020. Longformer: The long-document transformer. arXiv preprint arXiv:2004.05150.",
|
| 1576 |
+
"William Chan, Chitwan Sahara, Geoffrey Hinton, Mohammad Norouzi, and Navdeep Jaitly. 2020. Imputer: Sequence modelling via imputation and dynamic programming. In International Conference on Machine Learning, pages 1403-1413. PMLR.",
|
| 1577 |
+
"Tri Dao, Dan Fu, Stefano Ermon, Atri Rudra, and Christopher Ré. 2022. Flashattention: Fast and memory-efficient exact attention with io-awareness. Advances in Neural Information Processing Systems, 35:16344-16359.",
|
| 1578 |
+
"Cunxiao Du, Zhaopeng Tu, and Jing Jiang. 2021. Order-agnostic cross entropy for non-autoregressive machine translation. In International Conference on Machine Learning, pages 2849-2859. PMLR.",
|
| 1579 |
+
"Marjan Ghazvininejad, Vladimir Karpukhin, Luke Zettlemoyer, and Omer Levy. 2020. Aligned cross entropy for non-autoregressive machine translation. In International Conference on Machine Learning, pages 3515-3523. PMLR.",
|
| 1580 |
+
"Marjan Ghazvininejad, Omer Levy, Yinhan Liu, and Luke Zettlemoyer. 2019. Mask-predict: Parallel decoding of conditional masked language models. In Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP), pages 6112-6121.",
|
| 1581 |
+
"Alex Graves, Santiago Fernández, Faustino Gomez, and Jürgen Schmidhuber. 2006. Connectionist temporal classification: labelling unsegmented sequence data with recurrent neural networks. In Proceedings of the 23rd international conference on Machine learning, pages 369-376."
|
| 1582 |
+
],
|
| 1583 |
+
"bbox": [
|
| 1584 |
+
115,
|
| 1585 |
+
107,
|
| 1586 |
+
489,
|
| 1587 |
+
917
|
| 1588 |
+
],
|
| 1589 |
+
"page_idx": 9
|
| 1590 |
+
},
|
| 1591 |
+
{
|
| 1592 |
+
"type": "list",
|
| 1593 |
+
"sub_type": "ref_text",
|
| 1594 |
+
"list_items": [
|
| 1595 |
+
"Jiatao Gu, James Bradbury, Caiming Xiong, Victor OK Li, and Richard Socher. 2018. Non-autoregressive neural machine translation. In International Conference on Learning Representations (ICLR).",
|
| 1596 |
+
"Jiatao Gu, Changhan Wang, and Junbo Zhao. 2019. Levenshtein transformer. Advances in Neural Information Processing Systems, 32.",
|
| 1597 |
+
"Jindrich Helcl, Barry Haddow, and Alexandra Birch. 2022. Non-autoregressive machine translation: It's not as fast as it seems. In Proceedings of the 2022 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pages 1780-1790.",
|
| 1598 |
+
"Fei Huang, Hao Zhou, Yang Liu, Hang Li, and Minlie Huang. 2022. Directed acyclic transformer for nonautoregressive machine translation. In International Conference on Machine Learning, pages 9410-9428. PMLR.",
|
| 1599 |
+
"Nikita Kitaev, Łukasz Kaiser, and Anselm Levskaya. 2020. Reformer: The efficient transformer. arXiv preprint arXiv:2001.04451.",
|
| 1600 |
+
"Philipp Koehn, Hieu Hoang, Alexandra Birch, Chris Callison-Burch, Marcello Federico, Nicola Bertoldi, Brooke Cowan, Wade Shen, Christine Moran, Richard Zens, et al. 2007. Moses: Open source toolkit for statistical machine translation. In Proceedings of the 45th annual meeting of the association for computational linguistics companion volume proceedings of the demo and poster sessions, pages 177-180.",
|
| 1601 |
+
"Jason Lee, Elman Mansimov, and Kyunghyun Cho. 2020. Deterministic non-autoregressive neural sequence modeling by iterative refinement. In 2018 Conference on Empirical Methods in Natural Language Processing, EMNLP 2018, pages 1173-1182. Association for Computational Linguistics.",
|
| 1602 |
+
"Jindrich Libovický and Jindrich Helcl. 2018. End-to-end non-autoregressive neural machine translation with connectionist temporal classification. In Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing, pages 3016-3021.",
|
| 1603 |
+
"Yinhan Liu, Jiatao Gu, Naman Goyal, Xian Li, Sergey Edunov, Marjan Ghazvininejad, Mike Lewis, and Luke Zettlemoyer. 2020. Multilingual denoising pretraining for neural machine translation. Transactions of the Association for Computational Linguistics, 8:726-742.",
|
| 1604 |
+
"Xuezhe Ma, Chunting Zhou, Xian Li, Graham Neubig, and Eduard Hovy. 2019. Flowseq: Non-autoregressive conditional sequence generation with generative flow. In Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP), pages 4282-4292."
|
| 1605 |
+
],
|
| 1606 |
+
"bbox": [
|
| 1607 |
+
510,
|
| 1608 |
+
85,
|
| 1609 |
+
884,
|
| 1610 |
+
917
|
| 1611 |
+
],
|
| 1612 |
+
"page_idx": 9
|
| 1613 |
+
},
|
| 1614 |
+
{
|
| 1615 |
+
"type": "list",
|
| 1616 |
+
"sub_type": "ref_text",
|
| 1617 |
+
"list_items": [
|
| 1618 |
+
"Sameen Maruf, André FT Martins, and Gholamreza Haffari. 2019. Selective attention for context-aware neural machine translation. In Proceedings of NAACL-HLT, pages 3092-3102.",
|
| 1619 |
+
"Myle Ott, Sergey Edunov, Alexei Baevski, Angela Fan, Sam Gross, Nathan Ng, David Grangier, and Michael Auli. 2019. fairseq: A fast, extensible toolkit for sequence modeling. arXiv preprint arXiv:1904.01038.",
|
| 1620 |
+
"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.",
|
| 1621 |
+
"Lihua Qian, Hao Zhou, Yu Bao, Mingxuan Wang, Lin Qiu, Weinan Zhang, Yong Yu, and Lei Li. 2021. Glancing transformer for non-autoregressive neural machine translation. In Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing (Volume 1: Long Papers), pages 1993-2003.",
|
| 1622 |
+
"Qiu Ran, Yankai Lin, Peng Li, and Jie Zhou. 2020. Learning to recover from multi-modality errors for non-autoregressive neural machine translation. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pages 3059-3069.",
|
| 1623 |
+
"Chitwan Sahara, William Chan, Saurabh Saxena, and Mohammad Norouzi. 2020. Non-autoregressive machine translation with latent alignments. In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP), pages 1098-1108.",
|
| 1624 |
+
"Chenze Shao and Yang Feng. 2022. Non-monotonic latent alignments for ctc-based non-autoregressive machine translation. arXiv preprint arXiv:2210.03953.",
|
| 1625 |
+
"Chenze Shao, Jinchao Zhang, Yang Feng, Fandong Meng, and Jie Zhou. 2020. Minimizing the bag-of-ngrams difference for non-autoregressive neural machine translation. In Proceedings of the AAAI conference on artificial intelligence, volume 34, pages 198-205.",
|
| 1626 |
+
"Mitchell Stern, William Chan, Jamie Kiros, and Jakob Uszkoreit. 2019. Insertion transformer: Flexible sequence generation via insertion operations. In International Conference on Machine Learning, pages 5976-5985. PMLR.",
|
| 1627 |
+
"Zewei Sun, Mingxuan Wang, Hao Zhou, Chengqi Zhao, Shujian Huang, Jiajun Chen, and Lei Li. 2022. Rethinking document-level neural machine translation. In *Findings of the Association for Computational Linguistics: ACL 2022*, pages 3537-3548.",
|
| 1628 |
+
"Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N Gomez, Lukasz Kaiser, and Illia Polosukhin. 2017. Attention is all you need. Advances in neural information processing systems, 30."
|
| 1629 |
+
],
|
| 1630 |
+
"bbox": [
|
| 1631 |
+
115,
|
| 1632 |
+
85,
|
| 1633 |
+
489,
|
| 1634 |
+
917
|
| 1635 |
+
],
|
| 1636 |
+
"page_idx": 10
|
| 1637 |
+
},
|
| 1638 |
+
{
|
| 1639 |
+
"type": "list",
|
| 1640 |
+
"sub_type": "ref_text",
|
| 1641 |
+
"list_items": [
|
| 1642 |
+
"Elena Voita, Rico Sennrich, and Ivan Titov. 2019. When a good translation is wrong in context: Context-aware machine translation improves on deixis, ellipsis, and lexical cohesion. In Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics, pages 1198-1212.",
|
| 1643 |
+
"Sinong Wang, Belinda Z Li, Madian Khabsa, Han Fang, and Hao Ma. 2020. Linformer: Self-attention with linear complexity. arXiv preprint arXiv:2006.04768.",
|
| 1644 |
+
"Lesly Miculicich Werlen, Dhananjay Ram, Nikolaos Pappas, and James Henderson. 2018. Document-level neural machine translation with hierarchical attention networks. In Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing, pages 2947-2954.",
|
| 1645 |
+
"Jiacheng Zhang, Huanbo Luan, Maosong Sun, Feifei Zhai, Jingfang Xu, Min Zhang, and Yang Liu. 2018. Improving the transformer translation model with document-level context. In Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing, pages 533-542.",
|
| 1646 |
+
"Zaixiang Zheng, Xiang Yue, Shujian Huang, Jiajun Chen, and Alexandra Birch. 2021. Towards making the most of context in neural machine translation. In Proceedings of the Twenty-Ninth International Conference on International Joint Conferences on Artificial Intelligence, pages 3983-3989.",
|
| 1647 |
+
"Chunting Zhou, Graham Neubig, and Jiatao Gu. 2019. Understanding knowledge distillation in non-autoregressive machine translation. arXiv preprint arXiv:1911.02727."
|
| 1648 |
+
],
|
| 1649 |
+
"bbox": [
|
| 1650 |
+
510,
|
| 1651 |
+
85,
|
| 1652 |
+
884,
|
| 1653 |
+
542
|
| 1654 |
+
],
|
| 1655 |
+
"page_idx": 10
|
| 1656 |
+
},
|
| 1657 |
+
{
|
| 1658 |
+
"type": "table",
|
| 1659 |
+
"img_path": "images/02913b16de3919f404a40be94932820be6209e28ada085fcbc74a381c3d8bac1.jpg",
|
| 1660 |
+
"table_caption": [],
|
| 1661 |
+
"table_footnote": [],
|
| 1662 |
+
"table_body": "<table><tr><td>Dataset</td><td>Sentences train / dev / test</td><td>Documents train / dev / test</td><td>Segments train / dev / test</td><td>Sents per Segment train / dev / test</td><td>Tokens per Segment train / dev / test</td></tr><tr><td>TED</td><td>0.21M / 9K / 2.3K</td><td>1.7K / 92 / 22</td><td>11K / 483 / 123</td><td>18.3 / 18.5 / 18.3</td><td>436 / 428 / 429</td></tr><tr><td>News</td><td>0.24M / 2K / 3K</td><td>6K / 80 / 154</td><td>18.5K / 172 / 263</td><td>12.8 / 12.6 / 11.3</td><td>380 / 355 / 321</td></tr><tr><td>Europarl</td><td>1.67M / 3.6K / 5.1K</td><td>118K / 239 / 359</td><td>162K / 346 / 498</td><td>10.3 / 10.4 / 10.3</td><td>320 / 326 / 323</td></tr></table>",
|
| 1663 |
+
"bbox": [
|
| 1664 |
+
119,
|
| 1665 |
+
80,
|
| 1666 |
+
877,
|
| 1667 |
+
145
|
| 1668 |
+
],
|
| 1669 |
+
"page_idx": 11
|
| 1670 |
+
},
|
| 1671 |
+
{
|
| 1672 |
+
"type": "table",
|
| 1673 |
+
"img_path": "images/55aad8d8f7dbd45568b404a4364489cd7de380564fa52640b885f92bc0cf0f93.jpg",
|
| 1674 |
+
"table_caption": [
|
| 1675 |
+
"Table 5: English-German datasets for evaluation, where we split each document into segments with a maximum of 512 tokens."
|
| 1676 |
+
],
|
| 1677 |
+
"table_footnote": [],
|
| 1678 |
+
"table_body": "<table><tr><td rowspan=\"2\">Method (s-BLEU)</td><td colspan=\"2\">TED</td><td colspan=\"2\">News</td><td colspan=\"2\">Europarl</td><td colspan=\"2\">Average</td></tr><tr><td>Raw</td><td>KD</td><td>Raw</td><td>KD</td><td>Raw</td><td>KD</td><td>Raw</td><td>KD</td></tr><tr><td colspan=\"9\">AT Baseline</td></tr><tr><td>Transformer (sent baseline)</td><td>24.63</td><td>-</td><td>24.97</td><td>-</td><td>31.34</td><td>-</td><td>26.98</td><td>-</td></tr><tr><td>G-Transformer (doc baseline)</td><td>25.12</td><td>-</td><td>25.52</td><td>-</td><td>32.39</td><td>-</td><td>27.68</td><td>-</td></tr><tr><td colspan=\"9\">NAT Models</td></tr><tr><td>G-Trans+GLAT</td><td>17.05</td><td>21.81</td><td>13.37</td><td>21.16</td><td>23.49</td><td>29.66</td><td>17.97</td><td>24.21</td></tr><tr><td>G-Trans+GLAT+CTC</td><td>21.87</td><td>24.16</td><td>20.18</td><td>24.09</td><td>28.80</td><td>30.57</td><td>23.62</td><td>26.27</td></tr><tr><td>G-Trans+DA-Trans</td><td>21.02</td><td>23.48</td><td>19.79</td><td>23.10</td><td>28.64</td><td>30.55</td><td>23.15</td><td>25.71</td></tr></table>",
|
| 1679 |
+
"bbox": [
|
| 1680 |
+
181,
|
| 1681 |
+
195,
|
| 1682 |
+
818,
|
| 1683 |
+
309
|
| 1684 |
+
],
|
| 1685 |
+
"page_idx": 11
|
| 1686 |
+
},
|
| 1687 |
+
{
|
| 1688 |
+
"type": "text",
|
| 1689 |
+
"text": "Table 6: Sentence-level performance with and without document context.",
|
| 1690 |
+
"bbox": [
|
| 1691 |
+
248,
|
| 1692 |
+
318,
|
| 1693 |
+
744,
|
| 1694 |
+
332
|
| 1695 |
+
],
|
| 1696 |
+
"page_idx": 11
|
| 1697 |
+
},
|
| 1698 |
+
{
|
| 1699 |
+
"type": "text",
|
| 1700 |
+
"text": "A Experimental Settings",
|
| 1701 |
+
"text_level": 1,
|
| 1702 |
+
"bbox": [
|
| 1703 |
+
114,
|
| 1704 |
+
357,
|
| 1705 |
+
344,
|
| 1706 |
+
374
|
| 1707 |
+
],
|
| 1708 |
+
"page_idx": 11
|
| 1709 |
+
},
|
| 1710 |
+
{
|
| 1711 |
+
"type": "text",
|
| 1712 |
+
"text": "A.1 Datasets",
|
| 1713 |
+
"text_level": 1,
|
| 1714 |
+
"bbox": [
|
| 1715 |
+
114,
|
| 1716 |
+
384,
|
| 1717 |
+
231,
|
| 1718 |
+
398
|
| 1719 |
+
],
|
| 1720 |
+
"page_idx": 11
|
| 1721 |
+
},
|
| 1722 |
+
{
|
| 1723 |
+
"type": "text",
|
| 1724 |
+
"text": "We evaluate the models using document-level MT benchmark (Maruf et al., 2019), which includes three datasets covering three domains and various data scales for English-German translation.",
|
| 1725 |
+
"bbox": [
|
| 1726 |
+
112,
|
| 1727 |
+
404,
|
| 1728 |
+
485,
|
| 1729 |
+
467
|
| 1730 |
+
],
|
| 1731 |
+
"page_idx": 11
|
| 1732 |
+
},
|
| 1733 |
+
{
|
| 1734 |
+
"type": "text",
|
| 1735 |
+
"text": "TED is from IWSLT17, which is transcribed from TED talks that each talk forms a document. tst2016-2017 is used to test the model, and the rest for development.",
|
| 1736 |
+
"bbox": [
|
| 1737 |
+
112,
|
| 1738 |
+
468,
|
| 1739 |
+
485,
|
| 1740 |
+
532
|
| 1741 |
+
],
|
| 1742 |
+
"page_idx": 11
|
| 1743 |
+
},
|
| 1744 |
+
{
|
| 1745 |
+
"type": "text",
|
| 1746 |
+
"text": "News is from News Commentary v11 for training set. For testing and development sets, it uses newtest2016 and newtest2015, respectively.",
|
| 1747 |
+
"bbox": [
|
| 1748 |
+
112,
|
| 1749 |
+
533,
|
| 1750 |
+
487,
|
| 1751 |
+
580
|
| 1752 |
+
],
|
| 1753 |
+
"page_idx": 11
|
| 1754 |
+
},
|
| 1755 |
+
{
|
| 1756 |
+
"type": "text",
|
| 1757 |
+
"text": "Europarl is from Europarl v7, where the training, development, and testing sets are randomly split.",
|
| 1758 |
+
"bbox": [
|
| 1759 |
+
112,
|
| 1760 |
+
581,
|
| 1761 |
+
487,
|
| 1762 |
+
627
|
| 1763 |
+
],
|
| 1764 |
+
"page_idx": 11
|
| 1765 |
+
},
|
| 1766 |
+
{
|
| 1767 |
+
"type": "text",
|
| 1768 |
+
"text": "Table 5 shows the detailed statistics. We preprocess the documents by tokenizing and truecasing using MOSES (Koehn et al., 2007) and applying BPE with 30,000 merge operations. We follow Bao et al. (2021) to split each document into segments with a maximum length of 512 tokens.",
|
| 1769 |
+
"bbox": [
|
| 1770 |
+
112,
|
| 1771 |
+
629,
|
| 1772 |
+
487,
|
| 1773 |
+
726
|
| 1774 |
+
],
|
| 1775 |
+
"page_idx": 11
|
| 1776 |
+
},
|
| 1777 |
+
{
|
| 1778 |
+
"type": "text",
|
| 1779 |
+
"text": "A.2 Evaluation Metrics",
|
| 1780 |
+
"text_level": 1,
|
| 1781 |
+
"bbox": [
|
| 1782 |
+
114,
|
| 1783 |
+
737,
|
| 1784 |
+
315,
|
| 1785 |
+
751
|
| 1786 |
+
],
|
| 1787 |
+
"page_idx": 11
|
| 1788 |
+
},
|
| 1789 |
+
{
|
| 1790 |
+
"type": "text",
|
| 1791 |
+
"text": "We follow Liu et al. (2020), evaluating the model performance in $s$ -BLEU and $d$ -BLEU.",
|
| 1792 |
+
"bbox": [
|
| 1793 |
+
112,
|
| 1794 |
+
757,
|
| 1795 |
+
485,
|
| 1796 |
+
789
|
| 1797 |
+
],
|
| 1798 |
+
"page_idx": 11
|
| 1799 |
+
},
|
| 1800 |
+
{
|
| 1801 |
+
"type": "text",
|
| 1802 |
+
"text": "s-BLEU is calculated on each pair of sentences, which are obtained using the sentence alignment between source and target documents.",
|
| 1803 |
+
"bbox": [
|
| 1804 |
+
112,
|
| 1805 |
+
790,
|
| 1806 |
+
485,
|
| 1807 |
+
837
|
| 1808 |
+
],
|
| 1809 |
+
"page_idx": 11
|
| 1810 |
+
},
|
| 1811 |
+
{
|
| 1812 |
+
"type": "text",
|
| 1813 |
+
"text": "d-BLEU is calculated on each pair of segments, taking the whole segment as a translation unit to compute the BLEU score.",
|
| 1814 |
+
"bbox": [
|
| 1815 |
+
112,
|
| 1816 |
+
838,
|
| 1817 |
+
485,
|
| 1818 |
+
885
|
| 1819 |
+
],
|
| 1820 |
+
"page_idx": 11
|
| 1821 |
+
},
|
| 1822 |
+
{
|
| 1823 |
+
"type": "text",
|
| 1824 |
+
"text": "We calculate the BLEU score (Papineni et al., 2002) using sacreBLEU on the detokenized case",
|
| 1825 |
+
"bbox": [
|
| 1826 |
+
112,
|
| 1827 |
+
887,
|
| 1828 |
+
485,
|
| 1829 |
+
917
|
| 1830 |
+
],
|
| 1831 |
+
"page_idx": 11
|
| 1832 |
+
},
|
| 1833 |
+
{
|
| 1834 |
+
"type": "text",
|
| 1835 |
+
"text": "words.",
|
| 1836 |
+
"bbox": [
|
| 1837 |
+
509,
|
| 1838 |
+
359,
|
| 1839 |
+
561,
|
| 1840 |
+
372
|
| 1841 |
+
],
|
| 1842 |
+
"page_idx": 11
|
| 1843 |
+
},
|
| 1844 |
+
{
|
| 1845 |
+
"type": "text",
|
| 1846 |
+
"text": "A.3 Model Configuration",
|
| 1847 |
+
"text_level": 1,
|
| 1848 |
+
"bbox": [
|
| 1849 |
+
509,
|
| 1850 |
+
387,
|
| 1851 |
+
724,
|
| 1852 |
+
403
|
| 1853 |
+
],
|
| 1854 |
+
"page_idx": 11
|
| 1855 |
+
},
|
| 1856 |
+
{
|
| 1857 |
+
"type": "text",
|
| 1858 |
+
"text": "All the experiments are run on the Base model, which has 6 layers, 8 heads, 512 embedding dimensions, and 2048 hidden dimensions. We train the models on 4 Tesla V100/A100 GPUs for both AT and NAT. By default, we use the Tesla V100, but in case out-of-memory happens, we switch to Tesla A100 to re-train the model. We do not change the code of existing NAT models, and we obtain the default training and testing arguments from their official code. We update the arguments max-source-positions and max-target-positions to fit the enlarged input and output sequences. We run all main experiments three times and report the median.",
|
| 1859 |
+
"bbox": [
|
| 1860 |
+
507,
|
| 1861 |
+
409,
|
| 1862 |
+
882,
|
| 1863 |
+
632
|
| 1864 |
+
],
|
| 1865 |
+
"page_idx": 11
|
| 1866 |
+
},
|
| 1867 |
+
{
|
| 1868 |
+
"type": "text",
|
| 1869 |
+
"text": "We assess the speedup on the test set using a batch size of 1 within a virtual environment equipped with 1 GPU and 4 CPUs of a Tesla V100.",
|
| 1870 |
+
"bbox": [
|
| 1871 |
+
507,
|
| 1872 |
+
636,
|
| 1873 |
+
882,
|
| 1874 |
+
684
|
| 1875 |
+
],
|
| 1876 |
+
"page_idx": 11
|
| 1877 |
+
},
|
| 1878 |
+
{
|
| 1879 |
+
"type": "text",
|
| 1880 |
+
"text": "B Contribution of Document Context",
|
| 1881 |
+
"text_level": 1,
|
| 1882 |
+
"bbox": [
|
| 1883 |
+
507,
|
| 1884 |
+
697,
|
| 1885 |
+
850,
|
| 1886 |
+
713
|
| 1887 |
+
],
|
| 1888 |
+
"page_idx": 11
|
| 1889 |
+
},
|
| 1890 |
+
{
|
| 1891 |
+
"type": "text",
|
| 1892 |
+
"text": "Previous studies demonstrate that document context can significantly enhance MT performance (Zhang et al., 2018; Zheng et al., 2021; Bao et al., 2021). We evaluate its contribution as shown in Table 6. Comparing Transformer on sentence-level MT and G-Transformer on document-level MT, we can see that document context enhances S-BLEU by 0.49, 0.55, and 1.05 on TED, News, and Europarl, respectively. However, the best NAT results produced by G-Trans+GLAT+CTC on KD data are still lower than the Transformer baseline by 0.47, 0.88, and 0.77 on TED, News, and Europarl,",
|
| 1893 |
+
"bbox": [
|
| 1894 |
+
507,
|
| 1895 |
+
726,
|
| 1896 |
+
884,
|
| 1897 |
+
919
|
| 1898 |
+
],
|
| 1899 |
+
"page_idx": 11
|
| 1900 |
+
},
|
| 1901 |
+
{
|
| 1902 |
+
"type": "text",
|
| 1903 |
+
"text": "Source: companies with a high percentage of floating rate debt stand to lose the most, Goldman said. outside pure stock plays, consumers stand to benefit as well through the rising dollar. savers could see gains as well through higher yields at the, though experts differ on how quickly that will take hold.",
|
| 1904 |
+
"bbox": [
|
| 1905 |
+
122,
|
| 1906 |
+
85,
|
| 1907 |
+
870,
|
| 1908 |
+
123
|
| 1909 |
+
],
|
| 1910 |
+
"page_idx": 12
|
| 1911 |
+
},
|
| 1912 |
+
{
|
| 1913 |
+
"type": "text",
|
| 1914 |
+
"text": "Target: Unternehmen mit einem hohen Anteil an flexiblen Zinsen werden am meisten verlieren, sagte Goldman. außerhalb der reinen Aktienspiele werden Verbraucher ebenfalls durch den steigenden Dollar profitieren. Sparer konnten Gewinne durch höhere Erträge sehen, auch wenn Experten unterschiedlicher Meinung sind, wiechnell das staatfinden wird.",
|
| 1915 |
+
"bbox": [
|
| 1916 |
+
122,
|
| 1917 |
+
127,
|
| 1918 |
+
868,
|
| 1919 |
+
165
|
| 1920 |
+
],
|
| 1921 |
+
"page_idx": 12
|
| 1922 |
+
},
|
| 1923 |
+
{
|
| 1924 |
+
"type": "text",
|
| 1925 |
+
"text": "GLAT: Unternehmen mit einem hohen, freien freien freien erverlieren die die meisten meisten, . . . te te dazu kräften profitieren profitieren profitieren profitieren durch durch steigenden steigenden profitieren. die konnten konden Gewinne Erträge höhere hochere erzielen erzielen erzielen, obwohl sich sich sich sich , , schnell schnell diese diese Fuß wird wird . werden werden . . . . . der die die die , , , , , , , erzielen erzielen erzielen , , sich sich sich sich , , , sich sich sich sich , , , , die die die , , haltenephmen .",
|
| 1926 |
+
"bbox": [
|
| 1927 |
+
122,
|
| 1928 |
+
168,
|
| 1929 |
+
868,
|
| 1930 |
+
230
|
| 1931 |
+
],
|
| 1932 |
+
"page_idx": 12
|
| 1933 |
+
},
|
| 1934 |
+
{
|
| 1935 |
+
"type": "text",
|
| 1936 |
+
"text": "G-Trans+GLAT: Unternehmen mit einem hohen Prozentsatz freier Zinsen werden am am meisten verlieren, sagte Goldman Goldman. außerhalb reinreinen Aktien wurden die Verbraucher ebenso durch durch den steigenden Dollar profitieren. die Sparer konnten durch höhere Erträge Erträge Gewinne erzielen, auch sich die Experten darüber unterscheiden, wiechnel das das einnehmen wird.",
|
| 1937 |
+
"bbox": [
|
| 1938 |
+
122,
|
| 1939 |
+
234,
|
| 1940 |
+
868,
|
| 1941 |
+
282
|
| 1942 |
+
],
|
| 1943 |
+
"page_idx": 12
|
| 1944 |
+
},
|
| 1945 |
+
{
|
| 1946 |
+
"type": "text",
|
| 1947 |
+
"text": "GLAT+CTC: Unternehmen mit hohen der Schulden, die verlieren. außerhalb spiel Verbraucher den profitieren. konnten Gewinne höhere Renditen, sich Experten sich, schnell sich. Verbraucher Aktien werden wird Aktien.",
|
| 1948 |
+
"bbox": [
|
| 1949 |
+
122,
|
| 1950 |
+
288,
|
| 1951 |
+
868,
|
| 1952 |
+
313
|
| 1953 |
+
],
|
| 1954 |
+
"page_idx": 12
|
| 1955 |
+
},
|
| 1956 |
+
{
|
| 1957 |
+
"type": "text",
|
| 1958 |
+
"text": "G-Trans+GLAT+CTC: Unternehmen mit einem hohen Prozentsatz freier Zinsen wurden am meisten verlieren, sagte Goldman. reine Aktienspielen wurden die Verbraucher durch den steigenden Dollar. Sparer konnten Gewinne etwa durch höhere Renditen sehen, auch sich die Experten darüber sind, wie schnell dies haben wird.",
|
| 1959 |
+
"bbox": [
|
| 1960 |
+
122,
|
| 1961 |
+
317,
|
| 1962 |
+
868,
|
| 1963 |
+
355
|
| 1964 |
+
],
|
| 1965 |
+
"page_idx": 12
|
| 1966 |
+
},
|
| 1967 |
+
{
|
| 1968 |
+
"type": "text",
|
| 1969 |
+
"text": "Table 7: Case study. GLAT and GLAT-CTC show good translation quality at the beginning but poor quality at the end of the document. G-Trans+GLAT and G-Trans+GLAT+CTC show more consistent translation quality for sentences at different positions.",
|
| 1970 |
+
"bbox": [
|
| 1971 |
+
112,
|
| 1972 |
+
368,
|
| 1973 |
+
882,
|
| 1974 |
+
411
|
| 1975 |
+
],
|
| 1976 |
+
"page_idx": 12
|
| 1977 |
+
},
|
| 1978 |
+
{
|
| 1979 |
+
"type": "text",
|
| 1980 |
+
"text": "respectively, not to mention the G-Transformer baseline. These results indicate that NAT models have a limited ability to utilize document context.",
|
| 1981 |
+
"bbox": [
|
| 1982 |
+
112,
|
| 1983 |
+
437,
|
| 1984 |
+
485,
|
| 1985 |
+
483
|
| 1986 |
+
],
|
| 1987 |
+
"page_idx": 12
|
| 1988 |
+
},
|
| 1989 |
+
{
|
| 1990 |
+
"type": "text",
|
| 1991 |
+
"text": "C Case Study.",
|
| 1992 |
+
"text_level": 1,
|
| 1993 |
+
"bbox": [
|
| 1994 |
+
112,
|
| 1995 |
+
498,
|
| 1996 |
+
253,
|
| 1997 |
+
514
|
| 1998 |
+
],
|
| 1999 |
+
"page_idx": 12
|
| 2000 |
+
},
|
| 2001 |
+
{
|
| 2002 |
+
"type": "text",
|
| 2003 |
+
"text": "As a case in Table 7 shows, even though the source is not a lengthy document, sentence alignment enhances the translation quality significantly. Specifically, on the one hand, G-Trans+GLAT and G-Trans+GLAT+CTC estimate the target length more accurately than GLAT and GLAT+CTC because of their fine-grained length prediction on each target sentence. On the other, G-Trans+GLAT and G-Trans+GLAT+CTC show consistent translation quality between the beginning and the end of the document, while GLAT and GLAT+CTC show good quality at the beginning and poor quality at the end. This case illustrates the challenge of long text sequences to NAT models that the translation quality degrades as long as the distance to the beginning of the document increases, and demonstrates the advantage of sentence alignment to stop the degradation.",
|
| 2004 |
+
"bbox": [
|
| 2005 |
+
112,
|
| 2006 |
+
525,
|
| 2007 |
+
487,
|
| 2008 |
+
815
|
| 2009 |
+
],
|
| 2010 |
+
"page_idx": 12
|
| 2011 |
+
},
|
| 2012 |
+
{
|
| 2013 |
+
"type": "text",
|
| 2014 |
+
"text": "D More Discussion",
|
| 2015 |
+
"text_level": 1,
|
| 2016 |
+
"bbox": [
|
| 2017 |
+
112,
|
| 2018 |
+
828,
|
| 2019 |
+
294,
|
| 2020 |
+
843
|
| 2021 |
+
],
|
| 2022 |
+
"page_idx": 12
|
| 2023 |
+
},
|
| 2024 |
+
{
|
| 2025 |
+
"type": "text",
|
| 2026 |
+
"text": "Can a larger model handle longer input sequences? A larger model does not necessarily solve the longer input sequence issue given the same amount of training data. For pre-trained",
|
| 2027 |
+
"bbox": [
|
| 2028 |
+
112,
|
| 2029 |
+
854,
|
| 2030 |
+
487,
|
| 2031 |
+
917
|
| 2032 |
+
],
|
| 2033 |
+
"page_idx": 12
|
| 2034 |
+
},
|
| 2035 |
+
{
|
| 2036 |
+
"type": "text",
|
| 2037 |
+
"text": "language models, a larger model typically shows a stronger ability to handle long sequences because the increased parameters enable the model to capture more complex long-context dependencies. However, for a non-pretraining setting, a larger model does not necessarily show better performance on the current document-level MT benchmarks. The longer input makes the model more likely to overfit and a larger model will make it worse given the limited training corpus. Take the AT baseline G-Transformer as an example. When we increase the model size from Base to Big, the d-BLEU scores decline by 0.36, 1.41, and 0.10 on TED, News, and Europarl, respectively. When we further increase the model size to Large, the d-BLEU scores further decline by 16.53, 8.49, and 0.56 on TED, News, and Europarl, respectively.",
|
| 2038 |
+
"bbox": [
|
| 2039 |
+
507,
|
| 2040 |
+
437,
|
| 2041 |
+
882,
|
| 2042 |
+
709
|
| 2043 |
+
],
|
| 2044 |
+
"page_idx": 12
|
| 2045 |
+
},
|
| 2046 |
+
{
|
| 2047 |
+
"type": "text",
|
| 2048 |
+
"text": "Can the model handle more complex sentence alignments, such as one source sentence divided into multiple target simple sentences? Actually, the current model can handle the case. The sentence-level alignment between the source and target is achieved by the same group tag assigned to the source tokens and the target tokens. We can treat the multiple simple sentences as a whole translation unit, assigning them the same group tag to map them to a single complex sentence.",
|
| 2049 |
+
"bbox": [
|
| 2050 |
+
507,
|
| 2051 |
+
711,
|
| 2052 |
+
882,
|
| 2053 |
+
871
|
| 2054 |
+
],
|
| 2055 |
+
"page_idx": 12
|
| 2056 |
+
}
|
| 2057 |
+
]
|