Chelsea707 commited on
Commit
a2c64aa
·
verified ·
1 Parent(s): d9da51b

Add Batch c3bc21d9-4689-4ab6-8491-9c3f39e78182 data

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. .gitattributes +64 -0
  2. 2023/Automatic Named Entity Obfuscation in Speech/f423cca1-1aeb-43bd-8d25-5845a22e4c4c_content_list.json +1361 -0
  3. 2023/Automatic Named Entity Obfuscation in Speech/f423cca1-1aeb-43bd-8d25-5845a22e4c4c_model.json +1591 -0
  4. 2023/Automatic Named Entity Obfuscation in Speech/f423cca1-1aeb-43bd-8d25-5845a22e4c4c_origin.pdf +3 -0
  5. 2023/Automatic Named Entity Obfuscation in Speech/full.md +237 -0
  6. 2023/Automatic Named Entity Obfuscation in Speech/images.zip +3 -0
  7. 2023/Automatic Named Entity Obfuscation in Speech/layout.json +0 -0
  8. 2023/Automatic Readability Assessment for Closely Related Languages/44092f05-688c-428e-a5e8-3637a992286e_content_list.json +0 -0
  9. 2023/Automatic Readability Assessment for Closely Related Languages/44092f05-688c-428e-a5e8-3637a992286e_model.json +0 -0
  10. 2023/Automatic Readability Assessment for Closely Related Languages/44092f05-688c-428e-a5e8-3637a992286e_origin.pdf +3 -0
  11. 2023/Automatic Readability Assessment for Closely Related Languages/full.md +348 -0
  12. 2023/Automatic Readability Assessment for Closely Related Languages/images.zip +3 -0
  13. 2023/Automatic Readability Assessment for Closely Related Languages/layout.json +0 -0
  14. 2023/Automatic Table Union Search with Tabular Representation Learning/7244320a-8cb5-4ef7-87f0-c4d2dc4ad4ba_content_list.json +2013 -0
  15. 2023/Automatic Table Union Search with Tabular Representation Learning/7244320a-8cb5-4ef7-87f0-c4d2dc4ad4ba_model.json +0 -0
  16. 2023/Automatic Table Union Search with Tabular Representation Learning/7244320a-8cb5-4ef7-87f0-c4d2dc4ad4ba_origin.pdf +3 -0
  17. 2023/Automatic Table Union Search with Tabular Representation Learning/full.md +391 -0
  18. 2023/Automatic Table Union Search with Tabular Representation Learning/images.zip +3 -0
  19. 2023/Automatic Table Union Search with Tabular Representation Learning/layout.json +0 -0
  20. 2023/AxomiyaBERTa_ A Phonologically-aware Transformer Model for Assamese/86b88357-8c3a-4270-bb19-cd2104e1901b_content_list.json +0 -0
  21. 2023/AxomiyaBERTa_ A Phonologically-aware Transformer Model for Assamese/86b88357-8c3a-4270-bb19-cd2104e1901b_model.json +0 -0
  22. 2023/AxomiyaBERTa_ A Phonologically-aware Transformer Model for Assamese/86b88357-8c3a-4270-bb19-cd2104e1901b_origin.pdf +3 -0
  23. 2023/AxomiyaBERTa_ A Phonologically-aware Transformer Model for Assamese/full.md +467 -0
  24. 2023/AxomiyaBERTa_ A Phonologically-aware Transformer Model for Assamese/images.zip +3 -0
  25. 2023/AxomiyaBERTa_ A Phonologically-aware Transformer Model for Assamese/layout.json +0 -0
  26. 2023/B2T Connection_ Serving Stability and Performance in Deep Transformers/304a7eb6-4126-4acb-9ec0-8da7fd06045b_content_list.json +0 -0
  27. 2023/B2T Connection_ Serving Stability and Performance in Deep Transformers/304a7eb6-4126-4acb-9ec0-8da7fd06045b_model.json +0 -0
  28. 2023/B2T Connection_ Serving Stability and Performance in Deep Transformers/304a7eb6-4126-4acb-9ec0-8da7fd06045b_origin.pdf +3 -0
  29. 2023/B2T Connection_ Serving Stability and Performance in Deep Transformers/full.md +524 -0
  30. 2023/B2T Connection_ Serving Stability and Performance in Deep Transformers/images.zip +3 -0
  31. 2023/B2T Connection_ Serving Stability and Performance in Deep Transformers/layout.json +0 -0
  32. 2023/BLOCSUM_ Block Scope-based Source Code Summarization via Shared Block Representation/bdc012ed-0e12-4395-93e5-cef4ae1613b2_content_list.json +2227 -0
  33. 2023/BLOCSUM_ Block Scope-based Source Code Summarization via Shared Block Representation/bdc012ed-0e12-4395-93e5-cef4ae1613b2_model.json +0 -0
  34. 2023/BLOCSUM_ Block Scope-based Source Code Summarization via Shared Block Representation/bdc012ed-0e12-4395-93e5-cef4ae1613b2_origin.pdf +3 -0
  35. 2023/BLOCSUM_ Block Scope-based Source Code Summarization via Shared Block Representation/full.md +426 -0
  36. 2023/BLOCSUM_ Block Scope-based Source Code Summarization via Shared Block Representation/images.zip +3 -0
  37. 2023/BLOCSUM_ Block Scope-based Source Code Summarization via Shared Block Representation/layout.json +0 -0
  38. 2023/Balancing the Effect of Training Dataset Distribution of Multiple Styles for Multi-Style Text Transfer/e52f8ce0-4325-4d7a-9b9b-68ca012cb308_content_list.json +1767 -0
  39. 2023/Balancing the Effect of Training Dataset Distribution of Multiple Styles for Multi-Style Text Transfer/e52f8ce0-4325-4d7a-9b9b-68ca012cb308_model.json +2259 -0
  40. 2023/Balancing the Effect of Training Dataset Distribution of Multiple Styles for Multi-Style Text Transfer/e52f8ce0-4325-4d7a-9b9b-68ca012cb308_origin.pdf +3 -0
  41. 2023/Balancing the Effect of Training Dataset Distribution of Multiple Styles for Multi-Style Text Transfer/full.md +323 -0
  42. 2023/Balancing the Effect of Training Dataset Distribution of Multiple Styles for Multi-Style Text Transfer/images.zip +3 -0
  43. 2023/Balancing the Effect of Training Dataset Distribution of Multiple Styles for Multi-Style Text Transfer/layout.json +0 -0
  44. 2023/BanglaBook_ A Large-scale Bangla Dataset for Sentiment Analysis from Book Reviews/28378eaf-0a48-458e-a698-291e5038e7bf_content_list.json +1438 -0
  45. 2023/BanglaBook_ A Large-scale Bangla Dataset for Sentiment Analysis from Book Reviews/28378eaf-0a48-458e-a698-291e5038e7bf_model.json +2004 -0
  46. 2023/BanglaBook_ A Large-scale Bangla Dataset for Sentiment Analysis from Book Reviews/28378eaf-0a48-458e-a698-291e5038e7bf_origin.pdf +3 -0
  47. 2023/BanglaBook_ A Large-scale Bangla Dataset for Sentiment Analysis from Book Reviews/full.md +259 -0
  48. 2023/BanglaBook_ A Large-scale Bangla Dataset for Sentiment Analysis from Book Reviews/images.zip +3 -0
  49. 2023/BanglaBook_ A Large-scale Bangla Dataset for Sentiment Analysis from Book Reviews/layout.json +0 -0
  50. 2023/Benchmarking Diverse-Modal Entity Linking with Generative Models/6aa5cd7b-2bb5-456d-89a4-5cab0ec3e4fb_content_list.json +0 -0
.gitattributes CHANGED
@@ -5155,3 +5155,67 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
5155
  2023/AutoMoE_[[:space:]]Heterogeneous[[:space:]]Mixture-of-Experts[[:space:]]with[[:space:]]Adaptive[[:space:]]Computation[[:space:]]for[[:space:]]Efficient[[:space:]]Neural[[:space:]]Machine[[:space:]]Translation/0f885038-127c-477b-b9c4-7470ada93495_origin.pdf filter=lfs diff=lfs merge=lfs -text
5156
  2023/Automated[[:space:]]Refugee[[:space:]]Case[[:space:]]Analysis_[[:space:]]An[[:space:]]NLP[[:space:]]Pipeline[[:space:]]for[[:space:]]Supporting[[:space:]]Legal[[:space:]]Practitioners/4db6ff2d-b617-4895-898e-bf41b1329760_origin.pdf filter=lfs diff=lfs merge=lfs -text
5157
  2023/Automatic[[:space:]]Identification[[:space:]]of[[:space:]]Code-Switching[[:space:]]Functions[[:space:]]in[[:space:]]Speech[[:space:]]Transcripts/1d6ee594-ef2e-4856-b39c-4ec939a75e68_origin.pdf filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5155
  2023/AutoMoE_[[:space:]]Heterogeneous[[:space:]]Mixture-of-Experts[[:space:]]with[[:space:]]Adaptive[[:space:]]Computation[[:space:]]for[[:space:]]Efficient[[:space:]]Neural[[:space:]]Machine[[:space:]]Translation/0f885038-127c-477b-b9c4-7470ada93495_origin.pdf filter=lfs diff=lfs merge=lfs -text
5156
  2023/Automated[[:space:]]Refugee[[:space:]]Case[[:space:]]Analysis_[[:space:]]An[[:space:]]NLP[[:space:]]Pipeline[[:space:]]for[[:space:]]Supporting[[:space:]]Legal[[:space:]]Practitioners/4db6ff2d-b617-4895-898e-bf41b1329760_origin.pdf filter=lfs diff=lfs merge=lfs -text
5157
  2023/Automatic[[:space:]]Identification[[:space:]]of[[:space:]]Code-Switching[[:space:]]Functions[[:space:]]in[[:space:]]Speech[[:space:]]Transcripts/1d6ee594-ef2e-4856-b39c-4ec939a75e68_origin.pdf filter=lfs diff=lfs merge=lfs -text
5158
+ 2023/Automatic[[:space:]]Named[[:space:]]Entity[[:space:]]Obfuscation[[:space:]]in[[:space:]]Speech/f423cca1-1aeb-43bd-8d25-5845a22e4c4c_origin.pdf filter=lfs diff=lfs merge=lfs -text
5159
+ 2023/Automatic[[:space:]]Readability[[:space:]]Assessment[[:space:]]for[[:space:]]Closely[[:space:]]Related[[:space:]]Languages/44092f05-688c-428e-a5e8-3637a992286e_origin.pdf filter=lfs diff=lfs merge=lfs -text
5160
+ 2023/Automatic[[:space:]]Table[[:space:]]Union[[:space:]]Search[[:space:]]with[[:space:]]Tabular[[:space:]]Representation[[:space:]]Learning/7244320a-8cb5-4ef7-87f0-c4d2dc4ad4ba_origin.pdf filter=lfs diff=lfs merge=lfs -text
5161
+ 2023/AxomiyaBERTa_[[:space:]]A[[:space:]]Phonologically-aware[[:space:]]Transformer[[:space:]]Model[[:space:]]for[[:space:]]Assamese/86b88357-8c3a-4270-bb19-cd2104e1901b_origin.pdf filter=lfs diff=lfs merge=lfs -text
5162
+ 2023/B2T[[:space:]]Connection_[[:space:]]Serving[[:space:]]Stability[[:space:]]and[[:space:]]Performance[[:space:]]in[[:space:]]Deep[[:space:]]Transformers/304a7eb6-4126-4acb-9ec0-8da7fd06045b_origin.pdf filter=lfs diff=lfs merge=lfs -text
5163
+ 2023/BLOCSUM_[[:space:]]Block[[:space:]]Scope-based[[:space:]]Source[[:space:]]Code[[:space:]]Summarization[[:space:]]via[[:space:]]Shared[[:space:]]Block[[:space:]]Representation/bdc012ed-0e12-4395-93e5-cef4ae1613b2_origin.pdf filter=lfs diff=lfs merge=lfs -text
5164
+ 2023/Balancing[[:space:]]the[[:space:]]Effect[[:space:]]of[[:space:]]Training[[:space:]]Dataset[[:space:]]Distribution[[:space:]]of[[:space:]]Multiple[[:space:]]Styles[[:space:]]for[[:space:]]Multi-Style[[:space:]]Text[[:space:]]Transfer/e52f8ce0-4325-4d7a-9b9b-68ca012cb308_origin.pdf filter=lfs diff=lfs merge=lfs -text
5165
+ 2023/BanglaBook_[[:space:]]A[[:space:]]Large-scale[[:space:]]Bangla[[:space:]]Dataset[[:space:]]for[[:space:]]Sentiment[[:space:]]Analysis[[:space:]]from[[:space:]]Book[[:space:]]Reviews/28378eaf-0a48-458e-a698-291e5038e7bf_origin.pdf filter=lfs diff=lfs merge=lfs -text
5166
+ 2023/Benchmarking[[:space:]]Diverse-Modal[[:space:]]Entity[[:space:]]Linking[[:space:]]with[[:space:]]Generative[[:space:]]Models/6aa5cd7b-2bb5-456d-89a4-5cab0ec3e4fb_origin.pdf filter=lfs diff=lfs merge=lfs -text
5167
+ 2023/BertNet_[[:space:]]Harvesting[[:space:]]Knowledge[[:space:]]Graphs[[:space:]]with[[:space:]]Arbitrary[[:space:]]Relations[[:space:]]from[[:space:]]Pretrained[[:space:]]Language[[:space:]]Models/0bb6a8fa-b40c-4f22-8940-95411b79bc73_origin.pdf filter=lfs diff=lfs merge=lfs -text
5168
+ 2023/Better[[:space:]]Language[[:space:]]Models[[:space:]]of[[:space:]]Code[[:space:]]through[[:space:]]Self-Improvement/3f3acf36-4d5c-402e-88db-fa3521de22ad_origin.pdf filter=lfs diff=lfs merge=lfs -text
5169
+ 2023/Better[[:space:]]Zero-Shot[[:space:]]Reasoning[[:space:]]with[[:space:]]Self-Adaptive[[:space:]]Prompting/78205101-7057-4f07-9351-7773e5928f9e_origin.pdf filter=lfs diff=lfs merge=lfs -text
5170
+ 2023/Beyond[[:space:]]Positive[[:space:]]Scaling_[[:space:]]How[[:space:]]Negation[[:space:]]Impacts[[:space:]]Scaling[[:space:]]Trends[[:space:]]of[[:space:]]Language[[:space:]]Models/2f38d52d-fb68-4d9d-b74c-57bcc8239ae7_origin.pdf filter=lfs diff=lfs merge=lfs -text
5171
+ 2023/Beyond[[:space:]]Triplet_[[:space:]]Leveraging[[:space:]]the[[:space:]]Most[[:space:]]Data[[:space:]]for[[:space:]]Multimodal[[:space:]]Machine[[:space:]]Translation/a31314b6-17db-41ed-9ad1-4ca051d5085b_origin.pdf filter=lfs diff=lfs merge=lfs -text
5172
+ 2023/Bi-level[[:space:]]Finetuning[[:space:]]with[[:space:]]Task-dependent[[:space:]]Similarity[[:space:]]Structure[[:space:]]for[[:space:]]Low-resource[[:space:]]Training/88fa5869-4ead-43cd-a412-c7f83e6ce708_origin.pdf filter=lfs diff=lfs merge=lfs -text
5173
+ 2023/Bias[[:space:]]Beyond[[:space:]]English_[[:space:]]Counterfactual[[:space:]]Tests[[:space:]]for[[:space:]]Bias[[:space:]]in[[:space:]]Sentiment[[:space:]]Analysis[[:space:]]in[[:space:]]Four[[:space:]]Languages/250fd2fe-bf85-4229-81df-443c8c2ead89_origin.pdf filter=lfs diff=lfs merge=lfs -text
5174
+ 2023/Bidirectional[[:space:]]Transformer[[:space:]]Reranker[[:space:]]for[[:space:]]Grammatical[[:space:]]Error[[:space:]]Correction/298318f2-7f9a-4880-8d1c-5d7b87e9cc1f_origin.pdf filter=lfs diff=lfs merge=lfs -text
5175
+ 2023/BigVideo_[[:space:]]A[[:space:]]Large-scale[[:space:]]Video[[:space:]]Subtitle[[:space:]]Translation[[:space:]]Dataset[[:space:]]for[[:space:]]Multimodal[[:space:]]Machine[[:space:]]Translation/8e43b454-6dac-4ae4-ae8b-7a1a3668ca1f_origin.pdf filter=lfs diff=lfs merge=lfs -text
5176
+ 2023/Boost[[:space:]]Transformer-based[[:space:]]Language[[:space:]]Models[[:space:]]with[[:space:]]GPU-Friendly[[:space:]]Sparsity[[:space:]]and[[:space:]]Quantization/051f6dc0-5993-4b54-89e6-2ccd2a9db3d2_origin.pdf filter=lfs diff=lfs merge=lfs -text
5177
+ 2023/Boosting[[:space:]]Distress[[:space:]]Support[[:space:]]Dialogue[[:space:]]Responses[[:space:]]with[[:space:]]Motivational[[:space:]]Interviewing[[:space:]]Strategy/f21c65d5-325d-4c0d-a346-78b7c29673b1_origin.pdf filter=lfs diff=lfs merge=lfs -text
5178
+ 2023/Boosting[[:space:]]Event[[:space:]]Extraction[[:space:]]with[[:space:]]Denoised[[:space:]]Structure-to-Text[[:space:]]Augmentation/890bc167-f220-4d7b-a18e-e79fd295cc6d_origin.pdf filter=lfs diff=lfs merge=lfs -text
5179
+ 2023/Boosting[[:space:]]Text[[:space:]]Augmentation[[:space:]]via[[:space:]]Hybrid[[:space:]]Instance[[:space:]]Filtering[[:space:]]Framework/e810a45f-a7e6-4ce6-9568-5eb41c97d795_origin.pdf filter=lfs diff=lfs merge=lfs -text
5180
+ 2023/Boosting[[:space:]]Zero-shot[[:space:]]Cross-lingual[[:space:]]Retrieval[[:space:]]by[[:space:]]Training[[:space:]]on[[:space:]]Artificially[[:space:]]Code-Switched[[:space:]]Data/4990fc56-ddc4-4567-ad3a-7fb8257cbf3f_origin.pdf filter=lfs diff=lfs merge=lfs -text
5181
+ 2023/Bridge[[:space:]]the[[:space:]]Gap[[:space:]]Between[[:space:]]CV[[:space:]]and[[:space:]]NLP![[:space:]]A[[:space:]]Gradient-based[[:space:]]Textual[[:space:]]Adversarial[[:space:]]Attack[[:space:]]Framework/2f998aad-dc22-4c6e-a354-a4d9016ce4b2_origin.pdf filter=lfs diff=lfs merge=lfs -text
5182
+ 2023/Bridging[[:space:]]the[[:space:]]Granularity[[:space:]]Gap[[:space:]]for[[:space:]]Acoustic[[:space:]]Modeling/3592a72e-bfba-437d-9a57-57f42f3c9374_origin.pdf filter=lfs diff=lfs merge=lfs -text
5183
+ 2023/C-XNLI_[[:space:]]Croatian[[:space:]]Extension[[:space:]]of[[:space:]]XNLI[[:space:]]Dataset/89a8e5d3-fa43-4cab-acf8-a149bccc7064_origin.pdf filter=lfs diff=lfs merge=lfs -text
5184
+ 2023/CDA_[[:space:]]A[[:space:]]Contrastive[[:space:]]Data[[:space:]]Augmentation[[:space:]]Method[[:space:]]for[[:space:]]Alzheimer’s[[:space:]]Disease[[:space:]]Detection/dc0a73ce-7b3c-4548-850b-3fc4178c61d0_origin.pdf filter=lfs diff=lfs merge=lfs -text
5185
+ 2023/CFL_[[:space:]]Causally[[:space:]]Fair[[:space:]]Language[[:space:]]Models[[:space:]]Through[[:space:]]Token-level[[:space:]]Attribute[[:space:]]Controlled[[:space:]]Generation/2580b0cd-d343-42d4-b0a0-fff19849a1ac_origin.pdf filter=lfs diff=lfs merge=lfs -text
5186
+ 2023/CIF-PT_[[:space:]]Bridging[[:space:]]Speech[[:space:]]and[[:space:]]Text[[:space:]]Representations[[:space:]]for[[:space:]]Spoken[[:space:]]Language[[:space:]]Understanding[[:space:]]via[[:space:]]Continuous[[:space:]]Integrate-and-Fire[[:space:]]Pre-Training/5b364f23-a30e-4a63-8fa7-f386b2d481dd_origin.pdf filter=lfs diff=lfs merge=lfs -text
5187
+ 2023/CKDST_[[:space:]]Comprehensively[[:space:]]and[[:space:]]Effectively[[:space:]]Distill[[:space:]]Knowledge[[:space:]]from[[:space:]]Machine[[:space:]]Translation[[:space:]]to[[:space:]]End-to-End[[:space:]]Speech[[:space:]]Translation/dd472cda-57ba-4acc-ae84-ddf1f0abcd8e_origin.pdf filter=lfs diff=lfs merge=lfs -text
5188
+ 2023/CLIPText_[[:space:]]A[[:space:]]New[[:space:]]Paradigm[[:space:]]for[[:space:]]Zero-shot[[:space:]]Text[[:space:]]Classification/3e37f87f-d076-4276-aa1b-4d63541f20c2_origin.pdf filter=lfs diff=lfs merge=lfs -text
5189
+ 2023/COBRA[[:space:]]Frames_[[:space:]]Contextual[[:space:]]Reasoning[[:space:]]about[[:space:]]Effects[[:space:]]and[[:space:]]Harms[[:space:]]of[[:space:]]Offensive[[:space:]]Statements/9ccb742a-19b9-4b88-b702-444c14e42d26_origin.pdf filter=lfs diff=lfs merge=lfs -text
5190
+ 2023/COCKATIEL_[[:space:]]COntinuous[[:space:]]Concept[[:space:]]ranKed[[:space:]]ATtribution[[:space:]]with[[:space:]]Interpretable[[:space:]]ELements[[:space:]]for[[:space:]]explaining[[:space:]]neural[[:space:]]net[[:space:]]classifiers[[:space:]]on[[:space:]]NLP/40ea06fc-5506-42f5-b997-a7f63a71b447_origin.pdf filter=lfs diff=lfs merge=lfs -text
5191
+ 2023/CSS_[[:space:]]A[[:space:]]Large-scale[[:space:]]Cross-schema[[:space:]]Chinese[[:space:]]Text-to-SQL[[:space:]]Medical[[:space:]]Dataset/96628818-d3d2-4176-9368-479e0a9498c7_origin.pdf filter=lfs diff=lfs merge=lfs -text
5192
+ 2023/CaPE_[[:space:]]Contrastive[[:space:]]Parameter[[:space:]]Ensembling[[:space:]]for[[:space:]]Reducing[[:space:]]Hallucination[[:space:]]in[[:space:]]Abstractive[[:space:]]Summarization/b70d6452-fc0e-4ff3-a32b-43bc967ee1e6_origin.pdf filter=lfs diff=lfs merge=lfs -text
5193
+ 2023/Can[[:space:]]Cross-Lingual[[:space:]]Transferability[[:space:]]of[[:space:]]Multilingual[[:space:]]Transformers[[:space:]]Be[[:space:]]Activated[[:space:]]Without[[:space:]]End-Task[[:space:]]Data_/04c12e62-2e5e-460f-80b4-a7e5e372cc21_origin.pdf filter=lfs diff=lfs merge=lfs -text
5194
+ 2023/Can[[:space:]]Diffusion[[:space:]]Model[[:space:]]Achieve[[:space:]]Better[[:space:]]Performance[[:space:]]in[[:space:]]Text[[:space:]]Generation[[:space:]]_[[:space:]]Bridging[[:space:]]the[[:space:]]Gap[[:space:]]between[[:space:]]Training[[:space:]]and[[:space:]]Inference[[:space:]]!/1cf2c517-cee2-4039-be92-8f652c3aa013_origin.pdf filter=lfs diff=lfs merge=lfs -text
5195
+ 2023/Can[[:space:]]Language[[:space:]]Models[[:space:]]Be[[:space:]]Specific_[[:space:]]How_/11666e62-a18e-4fd8-86be-5f95f806edd5_origin.pdf filter=lfs diff=lfs merge=lfs -text
5196
+ 2023/Categorial[[:space:]]grammar[[:space:]]induction[[:space:]]from[[:space:]]raw[[:space:]]data/a86b65ba-dad1-4cdf-8082-5f9c61ff698a_origin.pdf filter=lfs diff=lfs merge=lfs -text
5197
+ 2023/Causal[[:space:]]Intervention[[:space:]]for[[:space:]]Mitigating[[:space:]]Name[[:space:]]Bias[[:space:]]in[[:space:]]Machine[[:space:]]Reading[[:space:]]Comprehension/46ac0eb9-d16a-4830-ab91-d0c3a0b665bb_origin.pdf filter=lfs diff=lfs merge=lfs -text
5198
+ 2023/Causal[[:space:]]Matching[[:space:]]with[[:space:]]Text[[:space:]]Embeddings_[[:space:]]A[[:space:]]Case[[:space:]]Study[[:space:]]in[[:space:]]Estimating[[:space:]]the[[:space:]]Causal[[:space:]]Effects[[:space:]]of[[:space:]]Peer[[:space:]]Review[[:space:]]Policies/e44742c5-8486-4d4b-a0f1-11ef409931e2_origin.pdf filter=lfs diff=lfs merge=lfs -text
5199
+ 2023/Causal[[:space:]]interventions[[:space:]]expose[[:space:]]implicit[[:space:]]situation[[:space:]]models[[:space:]]for[[:space:]]commonsense[[:space:]]language[[:space:]]understanding/b28bc1fb-510d-43a1-80ed-c384eaf5e03c_origin.pdf filter=lfs diff=lfs merge=lfs -text
5200
+ 2023/CausalDialogue_[[:space:]]Modeling[[:space:]]Utterance-level[[:space:]]Causality[[:space:]]in[[:space:]]Conversations/0193e320-2f62-4770-a54f-170d2f2ea127_origin.pdf filter=lfs diff=lfs merge=lfs -text
5201
+ 2023/Chain[[:space:]]of[[:space:]]Thought[[:space:]]Prompting[[:space:]]Elicits[[:space:]]Knowledge[[:space:]]Augmentation/f2164c55-344e-450f-aa2f-ca15b22eb2ef_origin.pdf filter=lfs diff=lfs merge=lfs -text
5202
+ 2023/Challenging[[:space:]]BIG-Bench[[:space:]]Tasks[[:space:]]and[[:space:]]Whether[[:space:]]Chain-of-Thought[[:space:]]Can[[:space:]]Solve[[:space:]]Them/4fe76542-c100-4864-b7aa-83c145d8d459_origin.pdf filter=lfs diff=lfs merge=lfs -text
5203
+ 2023/Character[[:space:]]Coreference[[:space:]]Resolution[[:space:]]in[[:space:]]Movie[[:space:]]Screenplays/d7de8d22-ced4-4717-bbf7-0581e70bc627_origin.pdf filter=lfs diff=lfs merge=lfs -text
5204
+ 2023/Characterizing[[:space:]]the[[:space:]]Impacts[[:space:]]of[[:space:]]Instances[[:space:]]on[[:space:]]Robustness/cc0d02cd-2829-4bb0-a7a3-5ddbea2b3bde_origin.pdf filter=lfs diff=lfs merge=lfs -text
5205
+ 2023/Check-COVID_[[:space:]]Fact-Checking[[:space:]]COVID-19[[:space:]]News[[:space:]]Claims[[:space:]]with[[:space:]]Scientific[[:space:]]Evidence/95c00212-34bf-4dae-9624-596be9689568_origin.pdf filter=lfs diff=lfs merge=lfs -text
5206
+ 2023/Claim-Dissector_[[:space:]]An[[:space:]]Interpretable[[:space:]]Fact-Checking[[:space:]]System[[:space:]]with[[:space:]]Joint[[:space:]]Re-ranking[[:space:]]and[[:space:]]Veracity[[:space:]]Prediction/740d87df-c1bb-4f26-afda-60412ea1a703_origin.pdf filter=lfs diff=lfs merge=lfs -text
5207
+ 2023/ClaimDiff_[[:space:]]Comparing[[:space:]]and[[:space:]]Contrasting[[:space:]]Claims[[:space:]]on[[:space:]]Contentious[[:space:]]Issues/8c0340a8-f0c5-4172-8831-87c221254b8d_origin.pdf filter=lfs diff=lfs merge=lfs -text
5208
+ 2023/Class[[:space:]]Lifelong[[:space:]]Learning[[:space:]]for[[:space:]]Intent[[:space:]]Detection[[:space:]]via[[:space:]]Structure[[:space:]]Consolidation[[:space:]]Networks/4ff876cf-ee47-485f-9bff-eb85c268fa46_origin.pdf filter=lfs diff=lfs merge=lfs -text
5209
+ 2023/Class-Adaptive[[:space:]]Self-Training[[:space:]]for[[:space:]]Relation[[:space:]]Extraction[[:space:]]with[[:space:]]Incompletely[[:space:]]Annotated[[:space:]]Training[[:space:]]Data/ea255dfd-3f40-4f9b-a975-d9e5bbed0c86_origin.pdf filter=lfs diff=lfs merge=lfs -text
5210
+ 2023/Click_[[:space:]]Controllable[[:space:]]Text[[:space:]]Generation[[:space:]]with[[:space:]]Sequence[[:space:]]Likelihood[[:space:]]Contrastive[[:space:]]Learning/2c3e2f31-3d5e-41f1-9026-7f296e9184ba_origin.pdf filter=lfs diff=lfs merge=lfs -text
5211
+ 2023/Client-Customized[[:space:]]Adaptation[[:space:]]for[[:space:]]Parameter-Efficient[[:space:]]Federated[[:space:]]Learning/b6fd3ae3-d337-4709-b1b6-c3c9ab4291cd_origin.pdf filter=lfs diff=lfs merge=lfs -text
5212
+ 2023/Clustering-Aware[[:space:]]Negative[[:space:]]Sampling[[:space:]]for[[:space:]]Unsupervised[[:space:]]Sentence[[:space:]]Representation/2b1bb59c-f44b-4bbe-8c18-81776afb252e_origin.pdf filter=lfs diff=lfs merge=lfs -text
5213
+ 2023/CoAug_[[:space:]]Combining[[:space:]]Augmentation[[:space:]]of[[:space:]]Labels[[:space:]]and[[:space:]]Labelling[[:space:]]Rules/a274c196-a5ab-436b-b8b9-12e6fa1704b7_origin.pdf filter=lfs diff=lfs merge=lfs -text
5214
+ 2023/CoMave_[[:space:]]Contrastive[[:space:]]Pre-training[[:space:]]with[[:space:]]Multi-scale[[:space:]]Masking[[:space:]]for[[:space:]]Attribute[[:space:]]Value[[:space:]]Extraction/dc7458c8-0c7c-4461-80a0-703f5aaf0447_origin.pdf filter=lfs diff=lfs merge=lfs -text
5215
+ 2023/CoMix_[[:space:]]Guide[[:space:]]Transformers[[:space:]]to[[:space:]]Code-Mix[[:space:]]using[[:space:]]POS[[:space:]]structure[[:space:]]and[[:space:]]Phonetics/ade88a51-a2f4-437d-9b99-c0b35a7b8046_origin.pdf filter=lfs diff=lfs merge=lfs -text
5216
+ 2023/CoRRPUS_[[:space:]]Code-based[[:space:]]Structured[[:space:]]Prompting[[:space:]]for[[:space:]]Neurosymbolic[[:space:]]Story[[:space:]]Understanding/71512c2a-8376-4e9e-aa84-ca69a8131592_origin.pdf filter=lfs diff=lfs merge=lfs -text
5217
+ 2023/Coarse-to-fine[[:space:]]Few-shot[[:space:]]Learning[[:space:]]for[[:space:]]Named[[:space:]]Entity[[:space:]]Recognition/023adf43-4de8-4cec-a35b-fc36c016008b_origin.pdf filter=lfs diff=lfs merge=lfs -text
5218
+ 2023/Code[[:space:]]Execution[[:space:]]with[[:space:]]Pre-trained[[:space:]]Language[[:space:]]Models/f84bee97-1570-4171-9ef8-11cbb58b4075_origin.pdf filter=lfs diff=lfs merge=lfs -text
5219
+ 2023/Code-Switched[[:space:]]Text[[:space:]]Synthesis[[:space:]]in[[:space:]]Unseen[[:space:]]Language[[:space:]]Pairs/b627b8b3-6d9e-49f2-a9f8-3a27be6b8015_origin.pdf filter=lfs diff=lfs merge=lfs -text
5220
+ 2023/CodePrompt_[[:space:]]Task-Agnostic[[:space:]]Prefix[[:space:]]Tuning[[:space:]]for[[:space:]]Program[[:space:]]and[[:space:]]Language[[:space:]]Generation/7f6aa9d3-5907-4e0f-8830-86a860ebc33b_origin.pdf filter=lfs diff=lfs merge=lfs -text
5221
+ 2023/Coherent[[:space:]]or[[:space:]]Not_[[:space:]]Stressing[[:space:]]a[[:space:]]Neural[[:space:]]Language[[:space:]]Model[[:space:]]for[[:space:]]Discourse[[:space:]]Coherence[[:space:]]in[[:space:]]Multiple[[:space:]]Languages/30e11dca-164c-4670-973d-dc3881674ea2_origin.pdf filter=lfs diff=lfs merge=lfs -text
2023/Automatic Named Entity Obfuscation in Speech/f423cca1-1aeb-43bd-8d25-5845a22e4c4c_content_list.json ADDED
@@ -0,0 +1,1361 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "type": "text",
4
+ "text": "Automatic Named Entity Obfuscation in Speech",
5
+ "text_level": 1,
6
+ "bbox": [
7
+ 248,
8
+ 90,
9
+ 746,
10
+ 111
11
+ ],
12
+ "page_idx": 0
13
+ },
14
+ {
15
+ "type": "text",
16
+ "text": "Judita Preiss \nUniversity of Sheffield, Information School \nThe Wave, 2 Whitham Road \nSheffield S10 2AH \njudita.preiss@sheffield.ac.uk",
17
+ "bbox": [
18
+ 324,
19
+ 131,
20
+ 680,
21
+ 214
22
+ ],
23
+ "page_idx": 0
24
+ },
25
+ {
26
+ "type": "text",
27
+ "text": "Abstract",
28
+ "text_level": 1,
29
+ "bbox": [
30
+ 260,
31
+ 252,
32
+ 339,
33
+ 268
34
+ ],
35
+ "page_idx": 0
36
+ },
37
+ {
38
+ "type": "text",
39
+ "text": "Sharing data containing personal information often requires its anonymization, even when consent for sharing was obtained from the data originator. While approaches exist for automated anonymization of text, the area is not as thoroughly explored in speech. This work focuses on identifying, replacing and inserting replacement named entities synthesized using voice cloning into original audio thereby retaining prosodic information while reducing the likelihood of deanonymization. The approach employs a novel named entity recognition (NER) system built directly on speech by training HuBERT (Hsu et al., 2021) using the English speech NER dataset (Yadav et al., 2020). Name substitutes are found using a masked language model and are synthesized using text to speech voice cloning (Eren and Team, 2021), upon which the substitute named entities are re-inserted into the original text. The approach is prototyped on a sample of the LibriSpeech corpus (Panayotov et al., 2015) with each step evaluated individually.",
40
+ "bbox": [
41
+ 144,
42
+ 280,
43
+ 460,
44
+ 607
45
+ ],
46
+ "page_idx": 0
47
+ },
48
+ {
49
+ "type": "text",
50
+ "text": "1 Introduction",
51
+ "text_level": 1,
52
+ "bbox": [
53
+ 114,
54
+ 620,
55
+ 260,
56
+ 634
57
+ ],
58
+ "page_idx": 0
59
+ },
60
+ {
61
+ "type": "text",
62
+ "text": "Privacy concerns, particularly where an individual could be identified, preclude sharing and therefore automatic exploitation of many data sources. Anonymization, the removal of identifying information, has been automated for text (Lison et al., 2021), including large scale applications such as in clinical (Hartman et al., 2020) or legal settings (Oksanen et al., 2022), with off-the-shelf systems having reported performance of $90 + \\%$ (Hartman et al., 2020). To minimize the risk of re-identification, obfuscation - replacing identifying information with a different substitute of the same type - has been explored as an alternative to replacing identifying information with a generic marker (Sousa and Kern, 2022). The main focus in speech has been on voice anonymization, which may not be a problem with speaker consent, with the removal of",
63
+ "bbox": [
64
+ 112,
65
+ 645,
66
+ 489,
67
+ 917
68
+ ],
69
+ "page_idx": 0
70
+ },
71
+ {
72
+ "type": "text",
73
+ "text": "identifying information receiving less attention. To our knowledge, this is the first prototype to perform named entity obfuscation directly, in the original speaker's voice. Aside from voice cloning, it explores a named entity recognition approach based directly on audio signal and uses language model masking to find appropriate substitutions.",
74
+ "bbox": [
75
+ 507,
76
+ 253,
77
+ 884,
78
+ 365
79
+ ],
80
+ "page_idx": 0
81
+ },
82
+ {
83
+ "type": "text",
84
+ "text": "Recent advances in speech models, particularly the inclusion of language models within the speech model itself (e.g. HuBERT (Hsu et al., 2021)) gives models greater insight into expected contexts. Previous work on named entity recognition (NER) in speech frequently employs a two step approach, transcribing speech first, followed by the application of existing named entity techniques (Yadav et al., 2020). However, this process has the potential to compound errors as errors in transcription will increase the probability of error in NER. We suggest that the addition of language models into the speech model gives these sufficient power to perform NER directly, and therefore that transcribing (automatic speech recognition, ASR) and NER can be separated, and used to provide a confidence measure in their performance. Divided, the two do not propagate errors in the same way; in fact, treating ASR and NER separately allows one to fix (some of the) errors of the other. The proposed second (final) ASR pass merely produces a confidence value in the result to decide whether a manual check should be performed.",
85
+ "bbox": [
86
+ 507,
87
+ 368,
88
+ 884,
89
+ 737
90
+ ],
91
+ "page_idx": 0
92
+ },
93
+ {
94
+ "type": "text",
95
+ "text": "The success of few shot learning, where a limited number of examples is used to generalize a pre-trained deep learning model to a new situation, for text-to-speech – and specifically voice cloning (Zhang and Lin, 2022) – enables an alternative, equivalent but different, entity to be inserted in the audio signal in place of the original while preserving the prosody information throughout. While large databases of potential replacement entities can be used to select a substitution, these may not preserve necessary properties (such as gender). Al-",
96
+ "bbox": [
97
+ 507,
98
+ 741,
99
+ 885,
100
+ 919
101
+ ],
102
+ "page_idx": 0
103
+ },
104
+ {
105
+ "type": "page_number",
106
+ "text": "615",
107
+ "bbox": [
108
+ 485,
109
+ 928,
110
+ 515,
111
+ 940
112
+ ],
113
+ "page_idx": 0
114
+ },
115
+ {
116
+ "type": "footer",
117
+ "text": "Findings of the Association for Computational Linguistics: ACL 2023, pages 615-622 July 9-14, 2023 ©2023 Association for Computational Linguistics",
118
+ "bbox": [
119
+ 236,
120
+ 945,
121
+ 759,
122
+ 972
123
+ ],
124
+ "page_idx": 0
125
+ },
126
+ {
127
+ "type": "text",
128
+ "text": "ternatively, word embeddings have been used to suggest close (in the multi-dimensional space) alternatives (Abdalla et al., 2020), however these can suffer from the same drawback. We propose using a more contextualized alternative to word embeddings, a masked language model (Devlin et al., 2019), where the model is trained by hiding (masking) words and predictions of the original word are made based on their context.",
129
+ "bbox": [
130
+ 112,
131
+ 84,
132
+ 489,
133
+ 227
134
+ ],
135
+ "page_idx": 1
136
+ },
137
+ {
138
+ "type": "text",
139
+ "text": "This work makes the following contributions: (1) a complete obfuscation pipeline for names in speech $^{1}$ , (2) a named entity recognizer built directly on speech without requiring text transcription first, (3) alternative (obfuscated) entity replacement selection via masking language model, and (4) confidence annotated system output, allowing for manual correction and / or selection of shareable instances. Section 2 contains the methodology with results in Section 3. Section 4 presents the conclusions and future work.",
140
+ "bbox": [
141
+ 115,
142
+ 230,
143
+ 489,
144
+ 405
145
+ ],
146
+ "page_idx": 1
147
+ },
148
+ {
149
+ "type": "text",
150
+ "text": "2 Methodology",
151
+ "text_level": 1,
152
+ "bbox": [
153
+ 112,
154
+ 422,
155
+ 265,
156
+ 437
157
+ ],
158
+ "page_idx": 1
159
+ },
160
+ {
161
+ "type": "text",
162
+ "text": "The steps of the overall pipeline, which takes in an audio file and produces an obfuscated audio file along with a confidence value, can be found in Figure 1. The approach comprises of three main parts: 1) identification of named entities (NEs) in the audio, 2) finding an equivalent alternative for the original NEs, and 3) reconstructing the original audio to incorporate the replacement NEs. The reconstructed audio can further be used to obtain a confidence value.",
163
+ "bbox": [
164
+ 112,
165
+ 449,
166
+ 487,
167
+ 609
168
+ ],
169
+ "page_idx": 1
170
+ },
171
+ {
172
+ "type": "text",
173
+ "text": "2.1 Identification of named entities",
174
+ "text_level": 1,
175
+ "bbox": [
176
+ 112,
177
+ 624,
178
+ 405,
179
+ 639
180
+ ],
181
+ "page_idx": 1
182
+ },
183
+ {
184
+ "type": "text",
185
+ "text": "To enable the direct use of a language model on speech input for the purpose of named entity recognition (NER), a dataset of audio recordings with annotated NEs is required. The English speech NER dataset (Yadav et al., 2020), which consists of 70,769 waveforms with transcripts annotated with person, location and organization NEs, is used for fine-tuning the Hidden-Unit BERT speech model (HuBERT) (Hsu et al., 2021). HuBERT was selected over other speech models since it learns both acoustic and language models from its inputs and therefore has an increased awareness of context. The success of language models on text NER has demonstrated how crucial context is for this",
186
+ "bbox": [
187
+ 112,
188
+ 646,
189
+ 489,
190
+ 870
191
+ ],
192
+ "page_idx": 1
193
+ },
194
+ {
195
+ "type": "text",
196
+ "text": "task, and using a model which incorporates both an acoustic and a language model (over acoustic only) allows the approach to exploit the information used in text NER, while managing to avoid the need for a transcript.",
197
+ "bbox": [
198
+ 507,
199
+ 84,
200
+ 884,
201
+ 165
202
+ ],
203
+ "page_idx": 1
204
+ },
205
+ {
206
+ "type": "text",
207
+ "text": "For training, NE annotations need to be converted to a suitable format, indicating the presence or absence of a NE in each position. Following the inside-outside(-beginning) chunking common to many NER approaches (Tjong Kim Sang and De Meulder, 2003), three formats were explored: 1) character level annotation, mapping each character to either $o$ for a character outside of a named entity, space, or $n$ , $l$ , $e$ for characters within person, location or organization entities respectively, 2) the same character level annotation with separate characters added to denote the beginning of each type of NE (mapping the sentence TELL JACK to oooo mnnn with $m$ denoting the start of a person NE), 3) and, for completeness, annotation was also explored at word level.",
208
+ "bbox": [
209
+ 507,
210
+ 167,
211
+ 884,
212
+ 423
213
+ ],
214
+ "page_idx": 1
215
+ },
216
+ {
217
+ "type": "text",
218
+ "text": "With the training parameters shown in Appendix A.1, the best NE performance was obtained from the first annotation approach, where NE beginnings were not explicitly annotated. The lower performance of the second annotation approach can be attributed to the low quantity of training data for the beginning marker annotations. While word level annotation was explored, it is likely to need a far greater quantity of data to enable mapping of different length inputs to a single label.",
219
+ "bbox": [
220
+ 507,
221
+ 426,
222
+ 885,
223
+ 586
224
+ ],
225
+ "page_idx": 1
226
+ },
227
+ {
228
+ "type": "text",
229
+ "text": "Separately, HuBERT was also fine-tuned for automatic speech recognition (ASR), i.e. for transcribing text from audio. Identical training data was used, with annotation being the transcription provided as part of the NE annotation (with NE annotation removed). The same parameters were employed for its training. Alongside the predicted (NE or ASR) annotation, prediction output also yields an offset which can be converted to a time offset. This can be used to identify the position of the NE(s) to be replaced, and after a greedy alignment of the two outputs, the original transcription of the original NE(s) can be extracted.",
230
+ "bbox": [
231
+ 507,
232
+ 589,
233
+ 885,
234
+ 797
235
+ ],
236
+ "page_idx": 1
237
+ },
238
+ {
239
+ "type": "text",
240
+ "text": "2.2 Finding an alternative NE",
241
+ "text_level": 1,
242
+ "bbox": [
243
+ 507,
244
+ 814,
245
+ 761,
246
+ 829
247
+ ],
248
+ "page_idx": 1
249
+ },
250
+ {
251
+ "type": "text",
252
+ "text": "Once a person NE is identified, a suitable equivalent substitution needs to be obtained, i.e. we want to find the word which could replace the NE in the text if the NE was hidden. This is precisely the concept behind masked language models (MLMs):",
253
+ "bbox": [
254
+ 507,
255
+ 839,
256
+ 884,
257
+ 917
258
+ ],
259
+ "page_idx": 1
260
+ },
261
+ {
262
+ "type": "page_footnote",
263
+ "text": "<sup>1</sup>The code for the obfuscation pipeline is available from: https://github.com/juditapreiss/speech_ne_obfuscation",
264
+ "bbox": [
265
+ 112,
266
+ 879,
267
+ 487,
268
+ 917
269
+ ],
270
+ "page_idx": 1
271
+ },
272
+ {
273
+ "type": "page_number",
274
+ "text": "616",
275
+ "bbox": [
276
+ 485,
277
+ 928,
278
+ 515,
279
+ 940
280
+ ],
281
+ "page_idx": 1
282
+ },
283
+ {
284
+ "type": "image",
285
+ "img_path": "images/486fcf9d398058710632011d88c10eff46b67d5226d5edf62beb14bd3d9045d1.jpg",
286
+ "image_caption": [
287
+ "Figure 1: Obfuscation pipeline"
288
+ ],
289
+ "image_footnote": [
290
+ "Speech to obfuscate as a wav file",
291
+ "Transcribed text with NEs & timings",
292
+ "Obfuscated text",
293
+ "Generated text using cloned voice",
294
+ "Extracted timings of substituted NEs",
295
+ "Inserted generated NEs into orig text",
296
+ "WER and CER based confidence"
297
+ ],
298
+ "bbox": [
299
+ 114,
300
+ 80,
301
+ 537,
302
+ 373
303
+ ],
304
+ "page_idx": 2
305
+ },
306
+ {
307
+ "type": "text",
308
+ "text": "these models learn their weights so that given a sentence with a hidden (masked) word, the model will output the complete original sentence. The (ASR extracted) original sentences with NEs (as identified by the NE tuned model) masked were passed to a MLM. Three MLM models were explored: BERT, bert-large-uncased model (Devlin et al., 2019), ALBERT, albert-xxlarge-v2, model (Lan et al., 2019) and the distilled RoBERTa base, distilroberta-base, model (Sanh et al., 2019). Each model, with no additional tuning, results in a (pre-specified) number of predictions for each NE in the sentence. Since the models used different datasets in training, their predictions are expected to be different: for example, some may suggest pronouns rather than names.",
309
+ "bbox": [
310
+ 112,
311
+ 423,
312
+ 489,
313
+ 678
314
+ ],
315
+ "page_idx": 2
316
+ },
317
+ {
318
+ "type": "text",
319
+ "text": "Given the propensity of the MLM to return substitutions which are not names (for example, for the sentence you should call Stella, the model returns you should call him, you should call them, you should call 911 etc), an external list of people names is used for the validation of the proposed suggestions<sup>2</sup> and the highest scoring substitution is returned. Heuristically, the original name is matched against the list to identify whether it is a first or a last name (where possible) and names of the same type suggested by the MLM are returned. Simple rules are employed (last of a sequence of",
320
+ "bbox": [
321
+ 112,
322
+ 682,
323
+ 489,
324
+ 875
325
+ ],
326
+ "page_idx": 2
327
+ },
328
+ {
329
+ "type": "text",
330
+ "text": "names is a last name, a single name without a title is a first name etc) to decide on a substitution when the original name does not appear in either the first or last name list. Given the nature of MLMs, suggested alternatives are likely to be more common words: as a positive side effect, this should make them easier to render with voice cloning as they may already appear in the reference speech. Should MLM fail to propose any suitable substitutions, one is selected at random from the first & last name lists, subject to the same heuristic rules.",
331
+ "bbox": [
332
+ 507,
333
+ 423,
334
+ 884,
335
+ 599
336
+ ],
337
+ "page_idx": 2
338
+ },
339
+ {
340
+ "type": "text",
341
+ "text": "2.3 Reconstruction of original audio",
342
+ "text_level": 1,
343
+ "bbox": [
344
+ 507,
345
+ 619,
346
+ 808,
347
+ 634
348
+ ],
349
+ "page_idx": 2
350
+ },
351
+ {
352
+ "type": "text",
353
+ "text": "In this work, the substitute NE is to be re-inserted into the original audio. To reduce the risk of de-identification via the extraction of entities which failed to be identified and therefore stayed in their original form, the substitute entity needs to be produced in the speaker's voice. The YourTTS (Casanova et al., 2021) model, which offers the ability for fine-tuning with less than one minute of speech while achieving good results with reasonable quality, can be used to generate the substitute sentence with all available speech of the speaker provided as reference. Note that it is not necessary to remove the original sentence from the reference data: in fact, its presence may result in more accurate rendering of the substitute sentence. The pre-trained model used in this work (tts_models/multilingual/multi-dataset/your_tts)",
354
+ "bbox": [
355
+ 505,
356
+ 645,
357
+ 882,
358
+ 917
359
+ ],
360
+ "page_idx": 2
361
+ },
362
+ {
363
+ "type": "page_footnote",
364
+ "text": "2In this work, https://github.com/dominictarr/random-name are used.",
365
+ "bbox": [
366
+ 112,
367
+ 891,
368
+ 487,
369
+ 917
370
+ ],
371
+ "page_idx": 2
372
+ },
373
+ {
374
+ "type": "page_number",
375
+ "text": "617",
376
+ "bbox": [
377
+ 484,
378
+ 928,
379
+ 515,
380
+ 940
381
+ ],
382
+ "page_idx": 2
383
+ },
384
+ {
385
+ "type": "text",
386
+ "text": "was trained on the the voice cloning toolkit (VCTK) dataset (Yamagishi et al., 2019) which contains approximately 400 sentence, selected from newspaper text, uttered by 108-110 different speakers, giving it its generalization power. Aside from the reference passed to the model on the command line, no tuning or training of the YourTTS model is done in this work.",
387
+ "bbox": [
388
+ 112,
389
+ 84,
390
+ 487,
391
+ 211
392
+ ],
393
+ "page_idx": 3
394
+ },
395
+ {
396
+ "type": "text",
397
+ "text": "The ASR transcribed text with the substituted NE is generated, rather than the substitution alone, to ensure that the intonation as closely matches the substitution's position in the sentence. The average amplitude of the generated audio is matched to that of the original segment using the Python pydub library. The generated audio is again passed through the HuBERT based NE recognizer, to identify the location of the substituted NE in the generated audio and allow its extraction (note that in this pass, it is not necessary to perform ASR - only the offsets of the replacement NE are required). Should the NE recognizer not identify the same number of NEs as were present in the original, the instance is flagged for manual review.",
398
+ "bbox": [
399
+ 115,
400
+ 212,
401
+ 489,
402
+ 453
403
+ ],
404
+ "page_idx": 3
405
+ },
406
+ {
407
+ "type": "text",
408
+ "text": "For each NE in the text, a pair of start and end offsets are available: one pair extracted by the HubERT based NE extraction from the original audio and a second pair from the audio generated from the substituted text. This allows the new NEs to be inserted in place of the original NEs. The splicing and concatenation of the waveforms is also performed using the pydub library.",
409
+ "bbox": [
410
+ 112,
411
+ 455,
412
+ 489,
413
+ 583
414
+ ],
415
+ "page_idx": 3
416
+ },
417
+ {
418
+ "type": "text",
419
+ "text": "A second HuBERT based ASR pass over the newly constructed (substituted) audio, and its comparison against the substituted text using word error rate (WER) and character error rate (CER) gives measures of confidence. Both the metrics, commonly used for evaluation of ASR, allow for sequences of different length to the target – the further the reconstructed audio is from the target sentence, the less likely it is that the substitution will go unnoticed.",
420
+ "bbox": [
421
+ 112,
422
+ 585,
423
+ 489,
424
+ 744
425
+ ],
426
+ "page_idx": 3
427
+ },
428
+ {
429
+ "type": "text",
430
+ "text": "3 Results and discussion",
431
+ "text_level": 1,
432
+ "bbox": [
433
+ 112,
434
+ 758,
435
+ 341,
436
+ 772
437
+ ],
438
+ "page_idx": 3
439
+ },
440
+ {
441
+ "type": "text",
442
+ "text": "3.1 Identification of named entities",
443
+ "text_level": 1,
444
+ "bbox": [
445
+ 112,
446
+ 785,
447
+ 403,
448
+ 799
449
+ ],
450
+ "page_idx": 3
451
+ },
452
+ {
453
+ "type": "text",
454
+ "text": "The 70,769 training corpus, sampled at $16\\mathrm{kHz}$ , is divided up into $70\\%$ for training (49,540 instances), and $15\\%$ for both validation and evaluation (10,615 examples). The hubert-base-1s960 model is used with parameters listed in Appendix A.1. The performance in training, indicated via WER and CER, is shown in Table 1 for both ASR and NER.",
455
+ "bbox": [
456
+ 112,
457
+ 806,
458
+ 489,
459
+ 917
460
+ ],
461
+ "page_idx": 3
462
+ },
463
+ {
464
+ "type": "table",
465
+ "img_path": "images/2e2c2154bd75ecf1e8b4e8c2c4b40209d9fc0e6e95660a663d6fd99ce7199f92.jpg",
466
+ "table_caption": [],
467
+ "table_footnote": [],
468
+ "table_body": "<table><tr><td></td><td>Eval WER</td><td>Eval CER</td></tr><tr><td>ASR</td><td>0.142</td><td>-</td></tr><tr><td>NE</td><td>0.199</td><td>0.063</td></tr></table>",
469
+ "bbox": [
470
+ 509,
471
+ 82,
472
+ 764,
473
+ 130
474
+ ],
475
+ "page_idx": 3
476
+ },
477
+ {
478
+ "type": "table",
479
+ "img_path": "images/6b2c6c4e139925d7de084f6ce80f57b8bc2548533026695148045bad40ac8c6b.jpg",
480
+ "table_caption": [
481
+ "Table 1: Metric results of the ASR and NE HuBERT based models"
482
+ ],
483
+ "table_footnote": [],
484
+ "table_body": "<table><tr><td>MLM</td><td>Avg ASR</td><td>NE</td><td>Avg confidence</td></tr><tr><td>ALBERT</td><td>0.980</td><td>13/20</td><td>0.109</td></tr><tr><td>BERT</td><td>0.980</td><td>13/20</td><td>0.098</td></tr><tr><td>RoBERTa</td><td>0.980</td><td>13/20</td><td>0.106</td></tr></table>",
485
+ "bbox": [
486
+ 510,
487
+ 186,
488
+ 894,
489
+ 254
490
+ ],
491
+ "page_idx": 3
492
+ },
493
+ {
494
+ "type": "text",
495
+ "text": "Table 2: Evaluation of individual steps",
496
+ "bbox": [
497
+ 561,
498
+ 263,
499
+ 826,
500
+ 277
501
+ ],
502
+ "page_idx": 3
503
+ },
504
+ {
505
+ "type": "text",
506
+ "text": "For the purpose of the demonstrating the viability of the prototype, no hyperparameter optimization was performed, and the larger HuBERT models were not employed, however improvement in performance of both models are expected should this be pursued.",
507
+ "bbox": [
508
+ 507,
509
+ 304,
510
+ 882,
511
+ 400
512
+ ],
513
+ "page_idx": 3
514
+ },
515
+ {
516
+ "type": "text",
517
+ "text": "3.2 Finding an alternative NE",
518
+ "text_level": 1,
519
+ "bbox": [
520
+ 507,
521
+ 413,
522
+ 759,
523
+ 428
524
+ ],
525
+ "page_idx": 3
526
+ },
527
+ {
528
+ "type": "text",
529
+ "text": "A small scale evaluation is performed on a sample of 20 sentences selected at random from the LibriSpeech corpus (Panayotov et al., 2015) across 6 speakers. Sentence selection was subject to them containing a person named entity. While detailed results for the individual steps can be found in Table 2, it should be noted that – for the purposes of this work – the focus is the accuracy of the extraction of the correct NE. The stated accuracy is therefore somewhat misleading: in a number of cases, such as the word Raphael, the named entity is divided into two separate words, suggesting two consecutive named entities. However, this issue is corrected when the NE output is aligned with ASR output and the two separate NE instances are (correctly) merged. Cases with NEs which cannot be aligned are flagged up for manual intervention. The average ASR and (exact match) NE identification do not vary when a different MLM is employed, as this only effects the selection of the substituted name, resulting in different average confidence values.",
530
+ "bbox": [
531
+ 507,
532
+ 435,
533
+ 884,
534
+ 785
535
+ ],
536
+ "page_idx": 3
537
+ },
538
+ {
539
+ "type": "text",
540
+ "text": "3.3 Reconstruction of original audio",
541
+ "text_level": 1,
542
+ "bbox": [
543
+ 507,
544
+ 801,
545
+ 808,
546
+ 816
547
+ ],
548
+ "page_idx": 3
549
+ },
550
+ {
551
+ "type": "text",
552
+ "text": "The voice cloning model requires some reference audio for the speaker: for the 6 selected speakers, 4 have less than 5 audio files (two having 3, and one having only 2 files) in the dataset. The quantity of data used as reference is likely to impact the quality (in terms of its similarity to the original speaker)",
553
+ "bbox": [
554
+ 507,
555
+ 822,
556
+ 882,
557
+ 917
558
+ ],
559
+ "page_idx": 3
560
+ },
561
+ {
562
+ "type": "page_number",
563
+ "text": "618",
564
+ "bbox": [
565
+ 485,
566
+ 928,
567
+ 515,
568
+ 940
569
+ ],
570
+ "page_idx": 3
571
+ },
572
+ {
573
+ "type": "text",
574
+ "text": "of the generated text. Given the likely scenarios of deployment, such as dialogues where more than 2 sentences of speech per speaker are available, this may not be representative of the results obtainable with the pipeline. However, it should be noted that even if all substituted instances can be identified as substitutions, the system is equal to a masking technique (where an entity is replaced with a fixed entity, such as a bleep).",
575
+ "bbox": [
576
+ 112,
577
+ 84,
578
+ 489,
579
+ 231
580
+ ],
581
+ "page_idx": 4
582
+ },
583
+ {
584
+ "type": "text",
585
+ "text": "4 Conclusion",
586
+ "text_level": 1,
587
+ "bbox": [
588
+ 112,
589
+ 242,
590
+ 247,
591
+ 256
592
+ ],
593
+ "page_idx": 4
594
+ },
595
+ {
596
+ "type": "text",
597
+ "text": "The prototype described shows the steps of an obfuscation pipeline for speech, which results in substituted person named entities uttered in the original speakers voice and replaced in the original audio signal. The prototype makes use of a named entity recognizer built directly on top of audio input, and employs masked language models to generate the substituted entity. It offers an end-to-end automatic solution enabling the sharing of speech with identifying information removed.",
598
+ "bbox": [
599
+ 112,
600
+ 268,
601
+ 489,
602
+ 428
603
+ ],
604
+ "page_idx": 4
605
+ },
606
+ {
607
+ "type": "text",
608
+ "text": "The resulting obfuscated speech remains in the original speaker's voice, allowing for the application of traditional speaker anonymization approaches to mask the speaker's identity. The original prosody can be protected by applying a transformation such as waveform change, offering a significant advantage over a technique which generates a complete obfuscated transcription (instead of splicing an obfuscated entity into original speech).",
609
+ "bbox": [
610
+ 112,
611
+ 429,
612
+ 489,
613
+ 576
614
+ ],
615
+ "page_idx": 4
616
+ },
617
+ {
618
+ "type": "text",
619
+ "text": "Limitations",
620
+ "text_level": 1,
621
+ "bbox": [
622
+ 114,
623
+ 586,
624
+ 220,
625
+ 602
626
+ ],
627
+ "page_idx": 4
628
+ },
629
+ {
630
+ "type": "text",
631
+ "text": "The cloning model used, YourTTS, is trained on the VCTK dataset which consists of high-quality speech signal. It is therefore unclear whether the same accuracy would be obtained with lower quality signal which may contain some background noise. (However, it should again be noted that even if all substituted instances are identifiable in the output, the system is equivalent to a masking model.)",
632
+ "bbox": [
633
+ 112,
634
+ 612,
635
+ 489,
636
+ 757
637
+ ],
638
+ "page_idx": 4
639
+ },
640
+ {
641
+ "type": "text",
642
+ "text": "The selection of a person NE replacement does not currently account for continuity: if the same person entity is referred to later, it may be substituted with a different entity to the previous occasion. In addition, the back-off strategy ignores aspects such as gender.",
643
+ "bbox": [
644
+ 112,
645
+ 758,
646
+ 489,
647
+ 853
648
+ ],
649
+ "page_idx": 4
650
+ },
651
+ {
652
+ "type": "text",
653
+ "text": "To show the approach feasible, very little optimization was performed. Further training and parameter optimization is likely to lead to improved performance for both ASR and NER models.",
654
+ "bbox": [
655
+ 112,
656
+ 854,
657
+ 489,
658
+ 919
659
+ ],
660
+ "page_idx": 4
661
+ },
662
+ {
663
+ "type": "text",
664
+ "text": "The approach is currently only implemented for person NEs but it could be extended very simply to other types of NEs. However, the degree to which other entity types require obfuscation in speech is not clear to us as mentions of organizations may well not be identifying at all.",
665
+ "bbox": [
666
+ 507,
667
+ 84,
668
+ 884,
669
+ 181
670
+ ],
671
+ "page_idx": 4
672
+ },
673
+ {
674
+ "type": "text",
675
+ "text": "Ethics Statement",
676
+ "text_level": 1,
677
+ "bbox": [
678
+ 509,
679
+ 197,
680
+ 660,
681
+ 212
682
+ ],
683
+ "page_idx": 4
684
+ },
685
+ {
686
+ "type": "text",
687
+ "text": "Aside from the ethical concerns regarding voice cloning (covered in e.g. YourTTS (Casanova et al., 2021)), deployment would require a detailed evaluation of risk of de-identification. It is believed that the final confidence and the accuracy of each step can be combined to significantly reduce this risk. The voice itself also offers options for identification: the value of yielding substitutions in the original speaker's voice (and keeping the original prosody) would need to be weighed up against approaches which anonymize voice but preserve prosodic information.",
688
+ "bbox": [
689
+ 507,
690
+ 225,
691
+ 884,
692
+ 419
693
+ ],
694
+ "page_idx": 4
695
+ },
696
+ {
697
+ "type": "text",
698
+ "text": "References",
699
+ "text_level": 1,
700
+ "bbox": [
701
+ 510,
702
+ 449,
703
+ 608,
704
+ 464
705
+ ],
706
+ "page_idx": 4
707
+ },
708
+ {
709
+ "type": "list",
710
+ "sub_type": "ref_text",
711
+ "list_items": [
712
+ "Mohamed Abdalla, Moustafa Abdalla, Frank Rudzicz, and Graeme Hirsto. 2020. Using word embeddings to improve the privacy of clinical notes. J Am Med Inform Assoc, 27(6):901-907.",
713
+ "Edresson Casanova, Julian Weber, Christopher Shulby, Arnaldo Candido Junior, Eren Gölgge, and Moacir Antonelli Ponti. 2021. YourTTS: Towards zero-shot multi-speaker TTS and zero-shot voice conversion for everyone. CoRR, abs/2112.02418.",
714
+ "Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. 2019. BERT: Pre-training of deep bidirectional transformers for language understanding. In NAACL-HLT.",
715
+ "Gölge Eren and The Coqui TTS Team. 2021. Coqui TTS. https://github.com/coqui-ai/TTS.",
716
+ "Tzvika Hartman, Michael D. Howell, Jeff Dean, Shlomo Hoory, Ronit Slyper, Itay Laish, Oren Gilon, Danny Vainstein, Greg Corrado, Katherine Chou, Ming Jack Po, Jutta Williams, Scott Ellis, Gavin Bee, Avinatan Hassidim, Rony Amira, Genady Beryozkin, Idan Szpektor, and Yossi Matias. 2020. Customization scenarios for de-identification of clinical notes. BMC Med Inform Decis Mak, 20(14).",
717
+ "Wei-Ning Hsu, Benjamin Bolte, Yao-Hung Hubert Tsai, Kushal Lakhotia, Ruslan Salakhutdinov, and Abdelrahman Mohamed. 2021. HuBERT: Self-supervised speech representation learning by masked prediction of hidden units. CoRR, abs/2106.07447."
718
+ ],
719
+ "bbox": [
720
+ 509,
721
+ 474,
722
+ 885,
723
+ 917
724
+ ],
725
+ "page_idx": 4
726
+ },
727
+ {
728
+ "type": "page_number",
729
+ "text": "619",
730
+ "bbox": [
731
+ 485,
732
+ 928,
733
+ 515,
734
+ 940
735
+ ],
736
+ "page_idx": 4
737
+ },
738
+ {
739
+ "type": "list",
740
+ "sub_type": "ref_text",
741
+ "list_items": [
742
+ "Zhenzhong Lan, Mingda Chen, Sebastian Goodman, Kevin Gimpel, Piyush Sharma, and Radu Soricut. 2019. ALBERT: A lite BERT for self-supervised learning of language representations. CoRR, abs/1909.11942.",
743
+ "Pierre Lison, Ildiko Pilán, David Sanchez, Montserrat Batet, and Lilja Øvrelid. 2021. Anonymisation models for text data: State of the art, challenges and future directions. 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 4188-4203, Online. Association for Computational Linguistics.",
744
+ "Arttu Oksanen, Eero Hyvönen, Minna Tamper, Jouni Tuominen, Henna Ylimaa, Katja Löytynoja, Matti Kokkonen, and Aki Hietanen. 2022. An anonymization tool for open data publication of legal documents. In Joint Proceedings of the 3th International Workshop on Artificial Intelligence Technologies for Legal Documents (AI4LEGAL 2022) and the 1st International Workshop on Knowledge Graph Summarization (KGSum 2022) co-located with the 21st International Semantic Web Conference (ISWC 2022), Virtual Event, Hangzhou, China, October 23-24, 2022, volume 3257 of CEUR Workshop Proceedings, pages 12-21. CEUR-WS.org.",
745
+ "Vassil Panayotov, Guoguo Chen, Daniel Povey, and Sanjeev Khudanpur. 2015. Librispeech: an ASR corpus based on public domain audio books. In Proceedings of the International Conference on Acoustics, Speech and Signal Processing (ICASSP). IEEE.",
746
+ "Victor Sanh, Lysandre Debut, Julien Chaumont, and Thomas Wolf. 2019. Distilbert, a distilled version of bert: smaller, faster, cheaper and lighter. ArXiv, abs/1910.01108.",
747
+ "Samuel Sousa and Roman Kern. 2022. How to keep text private? a systematic review of deep learning methods for privacy-preserving natural language processing. Artif Intell Rev.",
748
+ "Erik F. Tjong Kim Sang and Fien De Meulder. 2003. Introduction to the CoNLL-2003 shared task: Language-independent named entity recognition. In Proceedings of the Seventh Conference on Natural Language Learning at HLT-NAACL 2003, pages 142-147.",
749
+ "Hemant Yadav, Sreyan Ghosh, Yi Yu, and Rajiv Ratn Shah. 2020. End-to-end named entity recognition from English speech. CoRR, abs/2005.11184.",
750
+ "Junichi Yamagishi, Christophe Veaux, and Kirsten MacDonald. 2019. CSTR VCTK corpus: English multispeaker corpus for CSTR voice cloning toolkit (version 0.92).",
751
+ "Haitong Zhang and Yue Lin. 2022. Improve few-shot voice cloning using multi-modal learning. In IEEE International Conference on Acoustics, Speech and Signal Processing, pages 8317-8321."
752
+ ],
753
+ "bbox": [
754
+ 114,
755
+ 85,
756
+ 489,
757
+ 917
758
+ ],
759
+ "page_idx": 5
760
+ },
761
+ {
762
+ "type": "text",
763
+ "text": "A Model training details",
764
+ "text_level": 1,
765
+ "bbox": [
766
+ 509,
767
+ 83,
768
+ 741,
769
+ 99
770
+ ],
771
+ "page_idx": 5
772
+ },
773
+ {
774
+ "type": "text",
775
+ "text": "A.1 HuBERT parameters",
776
+ "text_level": 1,
777
+ "bbox": [
778
+ 509,
779
+ 109,
780
+ 729,
781
+ 124
782
+ ],
783
+ "page_idx": 5
784
+ },
785
+ {
786
+ "type": "text",
787
+ "text": "HubertForCTC hubert-base-1s960 model was used with frozen feature encoder, training size of 49540 examples, and validation and evaluation size of 10615, alongside the following parameters:",
788
+ "bbox": [
789
+ 507,
790
+ 130,
791
+ 884,
792
+ 193
793
+ ],
794
+ "page_idx": 5
795
+ },
796
+ {
797
+ "type": "table",
798
+ "img_path": "images/272b82f2902f3ec259fa74ede7c33c27d2e26f1b440a6e87210536b0e251be33.jpg",
799
+ "table_caption": [],
800
+ "table_footnote": [],
801
+ "table_body": "<table><tr><td>Parameter</td><td>Value</td></tr><tr><td>group_by_length</td><td>True</td></tr><tr><td>per_device_train_batch_size</td><td>8</td></tr><tr><td>per_device_eval_batch_size</td><td>batch_size</td></tr><tr><td>evaluation_strategy</td><td>&quot;steps&quot;</td></tr><tr><td>num_train_epochs</td><td>num_epochs</td></tr><tr><td>fp16</td><td>True</td></tr><tr><td>gradient_checkpointing</td><td>True</td></tr><tr><td>save_steps</td><td>500</td></tr><tr><td>eval_steps</td><td>500</td></tr><tr><td>learning_rate</td><td>1e-4</td></tr><tr><td>weight Decay</td><td>0.005</td></tr><tr><td>warmup_steps</td><td>1000</td></tr><tr><td>num_epochs</td><td>30</td></tr></table>",
802
+ "bbox": [
803
+ 529,
804
+ 196,
805
+ 875,
806
+ 423
807
+ ],
808
+ "page_idx": 5
809
+ },
810
+ {
811
+ "type": "page_number",
812
+ "text": "620",
813
+ "bbox": [
814
+ 485,
815
+ 928,
816
+ 515,
817
+ 940
818
+ ],
819
+ "page_idx": 5
820
+ },
821
+ {
822
+ "type": "text",
823
+ "text": "A For every submission:",
824
+ "bbox": [
825
+ 114,
826
+ 107,
827
+ 322,
828
+ 122
829
+ ],
830
+ "page_idx": 6
831
+ },
832
+ {
833
+ "type": "text",
834
+ "text": "A1. Did you describe the limitations of your work?",
835
+ "bbox": [
836
+ 129,
837
+ 126,
838
+ 532,
839
+ 143
840
+ ],
841
+ "page_idx": 6
842
+ },
843
+ {
844
+ "type": "text",
845
+ "text": "Unnumbered, follows conclusion",
846
+ "bbox": [
847
+ 149,
848
+ 143,
849
+ 396,
850
+ 158
851
+ ],
852
+ "page_idx": 6
853
+ },
854
+ {
855
+ "type": "text",
856
+ "text": "A2. Did you discuss any potential risks of your work?",
857
+ "bbox": [
858
+ 129,
859
+ 168,
860
+ 552,
861
+ 186
862
+ ],
863
+ "page_idx": 6
864
+ },
865
+ {
866
+ "type": "text",
867
+ "text": "Ethics Statement discusses potential risks of the work. This follows \"Limitations\".",
868
+ "bbox": [
869
+ 149,
870
+ 187,
871
+ 752,
872
+ 200
873
+ ],
874
+ "page_idx": 6
875
+ },
876
+ {
877
+ "type": "text",
878
+ "text": "A3. Do the abstract and introduction summarize the paper's main claims?",
879
+ "bbox": [
880
+ 129,
881
+ 212,
882
+ 695,
883
+ 228
884
+ ],
885
+ "page_idx": 6
886
+ },
887
+ {
888
+ "type": "text",
889
+ "text": "Section 1",
890
+ "bbox": [
891
+ 151,
892
+ 230,
893
+ 221,
894
+ 243
895
+ ],
896
+ "page_idx": 6
897
+ },
898
+ {
899
+ "type": "text",
900
+ "text": "A4. Have you used AI writing assistants when working on this paper?",
901
+ "bbox": [
902
+ 129,
903
+ 256,
904
+ 668,
905
+ 272
906
+ ],
907
+ "page_idx": 6
908
+ },
909
+ {
910
+ "type": "text",
911
+ "text": "Left blank.",
912
+ "bbox": [
913
+ 151,
914
+ 273,
915
+ 231,
916
+ 287
917
+ ],
918
+ "page_idx": 6
919
+ },
920
+ {
921
+ "type": "text",
922
+ "text": "B Did you use or create scientific artifacts?",
923
+ "bbox": [
924
+ 114,
925
+ 300,
926
+ 489,
927
+ 316
928
+ ],
929
+ "page_idx": 6
930
+ },
931
+ {
932
+ "type": "text",
933
+ "text": "Left blank.",
934
+ "bbox": [
935
+ 132,
936
+ 321,
937
+ 213,
938
+ 336
939
+ ],
940
+ "page_idx": 6
941
+ },
942
+ {
943
+ "type": "text",
944
+ "text": "B1. Did you cite the creators of artifacts you used?",
945
+ "bbox": [
946
+ 127,
947
+ 347,
948
+ 529,
949
+ 363
950
+ ],
951
+ "page_idx": 6
952
+ },
953
+ {
954
+ "type": "text",
955
+ "text": "No response.",
956
+ "bbox": [
957
+ 149,
958
+ 363,
959
+ 248,
960
+ 379
961
+ ],
962
+ "page_idx": 6
963
+ },
964
+ {
965
+ "type": "text",
966
+ "text": "B2. Did you discuss the license or terms for use and / or distribution of any artifacts?",
967
+ "bbox": [
968
+ 127,
969
+ 390,
970
+ 778,
971
+ 406
972
+ ],
973
+ "page_idx": 6
974
+ },
975
+ {
976
+ "type": "text",
977
+ "text": "No response.",
978
+ "bbox": [
979
+ 151,
980
+ 407,
981
+ 248,
982
+ 422
983
+ ],
984
+ "page_idx": 6
985
+ },
986
+ {
987
+ "type": "text",
988
+ "text": "B3. Did you discuss if your use of existing artifact(s) was consistent with their intended use, provided that it was specified? For the artifacts you create, do you specify intended use and whether that is compatible with the original access conditions (in particular, derivatives of data accessed for research purposes should not be used outside of research contexts)?",
989
+ "bbox": [
990
+ 127,
991
+ 432,
992
+ 880,
993
+ 495
994
+ ],
995
+ "page_idx": 6
996
+ },
997
+ {
998
+ "type": "text",
999
+ "text": "No response.",
1000
+ "bbox": [
1001
+ 151,
1002
+ 498,
1003
+ 248,
1004
+ 513
1005
+ ],
1006
+ "page_idx": 6
1007
+ },
1008
+ {
1009
+ "type": "text",
1010
+ "text": "B4. Did you discuss the steps taken to check whether the data that was collected / used contains any information that names or uniquely identifies individual people or offensive content, and the steps taken to protect / anonymize it?",
1011
+ "bbox": [
1012
+ 127,
1013
+ 524,
1014
+ 880,
1015
+ 571
1016
+ ],
1017
+ "page_idx": 6
1018
+ },
1019
+ {
1020
+ "type": "text",
1021
+ "text": "No response.",
1022
+ "bbox": [
1023
+ 151,
1024
+ 574,
1025
+ 248,
1026
+ 588
1027
+ ],
1028
+ "page_idx": 6
1029
+ },
1030
+ {
1031
+ "type": "text",
1032
+ "text": "B5. Did you provide documentation of the artifacts, e.g., coverage of domains, languages, and linguistic phenomena, demographic groups represented, etc.?",
1033
+ "bbox": [
1034
+ 127,
1035
+ 599,
1036
+ 880,
1037
+ 631
1038
+ ],
1039
+ "page_idx": 6
1040
+ },
1041
+ {
1042
+ "type": "text",
1043
+ "text": "No response.",
1044
+ "bbox": [
1045
+ 151,
1046
+ 633,
1047
+ 248,
1048
+ 646
1049
+ ],
1050
+ "page_idx": 6
1051
+ },
1052
+ {
1053
+ "type": "text",
1054
+ "text": "B6. Did you report relevant statistics like the number of examples, details of train / test / dev splits, etc. for the data that you used / created? Even for commonly-used benchmark datasets, include the number of examples in train / validation / test splits, as these provide necessary context for a reader to understand experimental results. For example, small differences in accuracy on large test sets may be significant, while on small test sets they may not be.",
1055
+ "bbox": [
1056
+ 127,
1057
+ 658,
1058
+ 880,
1059
+ 739
1060
+ ],
1061
+ "page_idx": 6
1062
+ },
1063
+ {
1064
+ "type": "text",
1065
+ "text": "No response.",
1066
+ "bbox": [
1067
+ 151,
1068
+ 740,
1069
+ 248,
1070
+ 753
1071
+ ],
1072
+ "page_idx": 6
1073
+ },
1074
+ {
1075
+ "type": "text",
1076
+ "text": "C Did you run computational experiments?",
1077
+ "bbox": [
1078
+ 114,
1079
+ 764,
1080
+ 494,
1081
+ 781
1082
+ ],
1083
+ "page_idx": 6
1084
+ },
1085
+ {
1086
+ "type": "text",
1087
+ "text": "Sections 2 & 3",
1088
+ "bbox": [
1089
+ 132,
1090
+ 785,
1091
+ 245,
1092
+ 800
1093
+ ],
1094
+ "page_idx": 6
1095
+ },
1096
+ {
1097
+ "type": "text",
1098
+ "text": "C1. Did you report the number of parameters in the models used, the total computational budget (e.g., GPU hours), and computing infrastructure used?",
1099
+ "bbox": [
1100
+ 129,
1101
+ 812,
1102
+ 880,
1103
+ 844
1104
+ ],
1105
+ "page_idx": 6
1106
+ },
1107
+ {
1108
+ "type": "text",
1109
+ "text": "Appendix A1. The infrastructure was chosen by the HPC and therefore wasn't known - if needed, the experiments can be rerun with this constrained.",
1110
+ "bbox": [
1111
+ 149,
1112
+ 846,
1113
+ 880,
1114
+ 876
1115
+ ],
1116
+ "page_idx": 6
1117
+ },
1118
+ {
1119
+ "type": "header",
1120
+ "text": "ACL 2023 Responsible NLP Checklist",
1121
+ "bbox": [
1122
+ 132,
1123
+ 84,
1124
+ 433,
1125
+ 99
1126
+ ],
1127
+ "page_idx": 6
1128
+ },
1129
+ {
1130
+ "type": "page_footnote",
1131
+ "text": "The Responsible NLP Checklist used at ACL 2023 is adopted from NAACL 2022, with the addition of a question on AI writing assistance.",
1132
+ "bbox": [
1133
+ 112,
1134
+ 884,
1135
+ 877,
1136
+ 908
1137
+ ],
1138
+ "page_idx": 6
1139
+ },
1140
+ {
1141
+ "type": "page_number",
1142
+ "text": "621",
1143
+ "bbox": [
1144
+ 485,
1145
+ 928,
1146
+ 512,
1147
+ 940
1148
+ ],
1149
+ "page_idx": 6
1150
+ },
1151
+ {
1152
+ "type": "text",
1153
+ "text": "C2. Did you discuss the experimental setup, including hyperparameter search and best-found hyperparameter values?",
1154
+ "bbox": [
1155
+ 129,
1156
+ 83,
1157
+ 878,
1158
+ 115
1159
+ ],
1160
+ "page_idx": 7
1161
+ },
1162
+ {
1163
+ "type": "text",
1164
+ "text": "Experimental setup discussed, hyperparameter optimization not performed as stated as the paper only checks viability.",
1165
+ "bbox": [
1166
+ 147,
1167
+ 117,
1168
+ 880,
1169
+ 148
1170
+ ],
1171
+ "page_idx": 7
1172
+ },
1173
+ {
1174
+ "type": "text",
1175
+ "text": "C3. Did you report descriptive statistics about your results (e.g., error bars around results, summary statistics from sets of experiments), and is it transparent whether you are reporting the max, mean, etc. or just a single run?",
1176
+ "bbox": [
1177
+ 129,
1178
+ 158,
1179
+ 880,
1180
+ 206
1181
+ ],
1182
+ "page_idx": 7
1183
+ },
1184
+ {
1185
+ "type": "text",
1186
+ "text": "Average used, clearly denoted. Section 3.",
1187
+ "bbox": [
1188
+ 147,
1189
+ 208,
1190
+ 455,
1191
+ 223
1192
+ ],
1193
+ "page_idx": 7
1194
+ },
1195
+ {
1196
+ "type": "text",
1197
+ "text": "C4. If you used existing packages (e.g., for preprocessing, for normalization, or for evaluation), did you report the implementation, model, and parameter settings used (e.g., NLTK, Spacy, ROUGE, etc.)?",
1198
+ "bbox": [
1199
+ 127,
1200
+ 234,
1201
+ 880,
1202
+ 281
1203
+ ],
1204
+ "page_idx": 7
1205
+ },
1206
+ {
1207
+ "type": "text",
1208
+ "text": "Not applicable. Left blank.",
1209
+ "bbox": [
1210
+ 149,
1211
+ 282,
1212
+ 349,
1213
+ 298
1214
+ ],
1215
+ "page_idx": 7
1216
+ },
1217
+ {
1218
+ "type": "text",
1219
+ "text": "D Did you use human annotators (e.g., crowdworkers) or research with human participants?",
1220
+ "text_level": 1,
1221
+ "bbox": [
1222
+ 114,
1223
+ 309,
1224
+ 877,
1225
+ 326
1226
+ ],
1227
+ "page_idx": 7
1228
+ },
1229
+ {
1230
+ "type": "text",
1231
+ "text": "Left blank.",
1232
+ "bbox": [
1233
+ 132,
1234
+ 330,
1235
+ 215,
1236
+ 346
1237
+ ],
1238
+ "page_idx": 7
1239
+ },
1240
+ {
1241
+ "type": "text",
1242
+ "text": "D1. Did you report the full text of instructions given to participants, including e.g., screenshots, disclaimers of any risks to participants or annotators, etc.?",
1243
+ "bbox": [
1244
+ 127,
1245
+ 357,
1246
+ 880,
1247
+ 388
1248
+ ],
1249
+ "page_idx": 7
1250
+ },
1251
+ {
1252
+ "type": "text",
1253
+ "text": "No response.",
1254
+ "bbox": [
1255
+ 149,
1256
+ 390,
1257
+ 248,
1258
+ 405
1259
+ ],
1260
+ "page_idx": 7
1261
+ },
1262
+ {
1263
+ "type": "text",
1264
+ "text": "D2. Did you report information about how you recruited (e.g., crowdsourcing platform, students) and paid participants, and discuss if such payment is adequate given the participants' demographic (e.g., country of residence)?",
1265
+ "bbox": [
1266
+ 127,
1267
+ 416,
1268
+ 880,
1269
+ 463
1270
+ ],
1271
+ "page_idx": 7
1272
+ },
1273
+ {
1274
+ "type": "text",
1275
+ "text": "No response.",
1276
+ "bbox": [
1277
+ 149,
1278
+ 464,
1279
+ 248,
1280
+ 480
1281
+ ],
1282
+ "page_idx": 7
1283
+ },
1284
+ {
1285
+ "type": "text",
1286
+ "text": "D3. Did you discuss whether and how consent was obtained from people whose data you're using/curating? For example, if you collected data via crowdsourcing, did your instructions to crowdworkers explain how the data would be used?",
1287
+ "bbox": [
1288
+ 127,
1289
+ 491,
1290
+ 880,
1291
+ 538
1292
+ ],
1293
+ "page_idx": 7
1294
+ },
1295
+ {
1296
+ "type": "text",
1297
+ "text": "No response.",
1298
+ "bbox": [
1299
+ 149,
1300
+ 539,
1301
+ 248,
1302
+ 555
1303
+ ],
1304
+ "page_idx": 7
1305
+ },
1306
+ {
1307
+ "type": "text",
1308
+ "text": "D4. Was the data collection protocol approved (or determined exempt) by an ethics review board?",
1309
+ "bbox": [
1310
+ 127,
1311
+ 565,
1312
+ 873,
1313
+ 581
1314
+ ],
1315
+ "page_idx": 7
1316
+ },
1317
+ {
1318
+ "type": "text",
1319
+ "text": "No response.",
1320
+ "bbox": [
1321
+ 149,
1322
+ 583,
1323
+ 248,
1324
+ 598
1325
+ ],
1326
+ "page_idx": 7
1327
+ },
1328
+ {
1329
+ "type": "text",
1330
+ "text": "D5. Did you report the basic demographic and geographic characteristics of the annotator population that is the source of the data?",
1331
+ "bbox": [
1332
+ 127,
1333
+ 609,
1334
+ 880,
1335
+ 639
1336
+ ],
1337
+ "page_idx": 7
1338
+ },
1339
+ {
1340
+ "type": "text",
1341
+ "text": "No response.",
1342
+ "bbox": [
1343
+ 149,
1344
+ 640,
1345
+ 248,
1346
+ 656
1347
+ ],
1348
+ "page_idx": 7
1349
+ },
1350
+ {
1351
+ "type": "page_number",
1352
+ "text": "622",
1353
+ "bbox": [
1354
+ 485,
1355
+ 928,
1356
+ 515,
1357
+ 940
1358
+ ],
1359
+ "page_idx": 7
1360
+ }
1361
+ ]
2023/Automatic Named Entity Obfuscation in Speech/f423cca1-1aeb-43bd-8d25-5845a22e4c4c_model.json ADDED
@@ -0,0 +1,1591 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ [
3
+ {
4
+ "type": "title",
5
+ "bbox": [
6
+ 0.25,
7
+ 0.091,
8
+ 0.747,
9
+ 0.112
10
+ ],
11
+ "angle": 0,
12
+ "content": "Automatic Named Entity Obfuscation in Speech"
13
+ },
14
+ {
15
+ "type": "text",
16
+ "bbox": [
17
+ 0.325,
18
+ 0.132,
19
+ 0.681,
20
+ 0.215
21
+ ],
22
+ "angle": 0,
23
+ "content": "Judita Preiss \nUniversity of Sheffield, Information School \nThe Wave, 2 Whitham Road \nSheffield S10 2AH \njudita.preiss@sheffield.ac.uk"
24
+ },
25
+ {
26
+ "type": "title",
27
+ "bbox": [
28
+ 0.261,
29
+ 0.253,
30
+ 0.341,
31
+ 0.269
32
+ ],
33
+ "angle": 0,
34
+ "content": "Abstract"
35
+ },
36
+ {
37
+ "type": "text",
38
+ "bbox": [
39
+ 0.145,
40
+ 0.281,
41
+ 0.461,
42
+ 0.608
43
+ ],
44
+ "angle": 0,
45
+ "content": "Sharing data containing personal information often requires its anonymization, even when consent for sharing was obtained from the data originator. While approaches exist for automated anonymization of text, the area is not as thoroughly explored in speech. This work focuses on identifying, replacing and inserting replacement named entities synthesized using voice cloning into original audio thereby retaining prosodic information while reducing the likelihood of deanonymization. The approach employs a novel named entity recognition (NER) system built directly on speech by training HuBERT (Hsu et al., 2021) using the English speech NER dataset (Yadav et al., 2020). Name substitutes are found using a masked language model and are synthesized using text to speech voice cloning (Eren and Team, 2021), upon which the substitute named entities are re-inserted into the original text. The approach is prototyped on a sample of the LibriSpeech corpus (Panayotov et al., 2015) with each step evaluated individually."
46
+ },
47
+ {
48
+ "type": "title",
49
+ "bbox": [
50
+ 0.115,
51
+ 0.621,
52
+ 0.262,
53
+ 0.636
54
+ ],
55
+ "angle": 0,
56
+ "content": "1 Introduction"
57
+ },
58
+ {
59
+ "type": "text",
60
+ "bbox": [
61
+ 0.113,
62
+ 0.646,
63
+ 0.49,
64
+ 0.919
65
+ ],
66
+ "angle": 0,
67
+ "content": "Privacy concerns, particularly where an individual could be identified, preclude sharing and therefore automatic exploitation of many data sources. Anonymization, the removal of identifying information, has been automated for text (Lison et al., 2021), including large scale applications such as in clinical (Hartman et al., 2020) or legal settings (Oksanen et al., 2022), with off-the-shelf systems having reported performance of \\(90 + \\%\\) (Hartman et al., 2020). To minimize the risk of re-identification, obfuscation - replacing identifying information with a different substitute of the same type - has been explored as an alternative to replacing identifying information with a generic marker (Sousa and Kern, 2022). The main focus in speech has been on voice anonymization, which may not be a problem with speaker consent, with the removal of"
68
+ },
69
+ {
70
+ "type": "text",
71
+ "bbox": [
72
+ 0.508,
73
+ 0.254,
74
+ 0.885,
75
+ 0.366
76
+ ],
77
+ "angle": 0,
78
+ "content": "identifying information receiving less attention. To our knowledge, this is the first prototype to perform named entity obfuscation directly, in the original speaker's voice. Aside from voice cloning, it explores a named entity recognition approach based directly on audio signal and uses language model masking to find appropriate substitutions."
79
+ },
80
+ {
81
+ "type": "text",
82
+ "bbox": [
83
+ 0.508,
84
+ 0.369,
85
+ 0.885,
86
+ 0.738
87
+ ],
88
+ "angle": 0,
89
+ "content": "Recent advances in speech models, particularly the inclusion of language models within the speech model itself (e.g. HuBERT (Hsu et al., 2021)) gives models greater insight into expected contexts. Previous work on named entity recognition (NER) in speech frequently employs a two step approach, transcribing speech first, followed by the application of existing named entity techniques (Yadav et al., 2020). However, this process has the potential to compound errors as errors in transcription will increase the probability of error in NER. We suggest that the addition of language models into the speech model gives these sufficient power to perform NER directly, and therefore that transcribing (automatic speech recognition, ASR) and NER can be separated, and used to provide a confidence measure in their performance. Divided, the two do not propagate errors in the same way; in fact, treating ASR and NER separately allows one to fix (some of the) errors of the other. The proposed second (final) ASR pass merely produces a confidence value in the result to decide whether a manual check should be performed."
90
+ },
91
+ {
92
+ "type": "text",
93
+ "bbox": [
94
+ 0.508,
95
+ 0.743,
96
+ 0.887,
97
+ 0.92
98
+ ],
99
+ "angle": 0,
100
+ "content": "The success of few shot learning, where a limited number of examples is used to generalize a pre-trained deep learning model to a new situation, for text-to-speech – and specifically voice cloning (Zhang and Lin, 2022) – enables an alternative, equivalent but different, entity to be inserted in the audio signal in place of the original while preserving the prosody information throughout. While large databases of potential replacement entities can be used to select a substitution, these may not preserve necessary properties (such as gender). Al-"
101
+ },
102
+ {
103
+ "type": "page_number",
104
+ "bbox": [
105
+ 0.486,
106
+ 0.929,
107
+ 0.516,
108
+ 0.941
109
+ ],
110
+ "angle": 0,
111
+ "content": "615"
112
+ },
113
+ {
114
+ "type": "footer",
115
+ "bbox": [
116
+ 0.237,
117
+ 0.946,
118
+ 0.761,
119
+ 0.973
120
+ ],
121
+ "angle": 0,
122
+ "content": "Findings of the Association for Computational Linguistics: ACL 2023, pages 615-622 July 9-14, 2023 ©2023 Association for Computational Linguistics"
123
+ }
124
+ ],
125
+ [
126
+ {
127
+ "type": "text",
128
+ "bbox": [
129
+ 0.113,
130
+ 0.085,
131
+ 0.49,
132
+ 0.228
133
+ ],
134
+ "angle": 0,
135
+ "content": "ternatively, word embeddings have been used to suggest close (in the multi-dimensional space) alternatives (Abdalla et al., 2020), however these can suffer from the same drawback. We propose using a more contextualized alternative to word embeddings, a masked language model (Devlin et al., 2019), where the model is trained by hiding (masking) words and predictions of the original word are made based on their context."
136
+ },
137
+ {
138
+ "type": "text",
139
+ "bbox": [
140
+ 0.117,
141
+ 0.231,
142
+ 0.49,
143
+ 0.406
144
+ ],
145
+ "angle": 0,
146
+ "content": "This work makes the following contributions: (1) a complete obfuscation pipeline for names in speech\\(^{1}\\), (2) a named entity recognizer built directly on speech without requiring text transcription first, (3) alternative (obfuscated) entity replacement selection via masking language model, and (4) confidence annotated system output, allowing for manual correction and / or selection of shareable instances. Section 2 contains the methodology with results in Section 3. Section 4 presents the conclusions and future work."
147
+ },
148
+ {
149
+ "type": "title",
150
+ "bbox": [
151
+ 0.114,
152
+ 0.423,
153
+ 0.266,
154
+ 0.438
155
+ ],
156
+ "angle": 0,
157
+ "content": "2 Methodology"
158
+ },
159
+ {
160
+ "type": "text",
161
+ "bbox": [
162
+ 0.113,
163
+ 0.45,
164
+ 0.488,
165
+ 0.61
166
+ ],
167
+ "angle": 0,
168
+ "content": "The steps of the overall pipeline, which takes in an audio file and produces an obfuscated audio file along with a confidence value, can be found in Figure 1. The approach comprises of three main parts: 1) identification of named entities (NEs) in the audio, 2) finding an equivalent alternative for the original NEs, and 3) reconstructing the original audio to incorporate the replacement NEs. The reconstructed audio can further be used to obtain a confidence value."
169
+ },
170
+ {
171
+ "type": "title",
172
+ "bbox": [
173
+ 0.114,
174
+ 0.625,
175
+ 0.406,
176
+ 0.64
177
+ ],
178
+ "angle": 0,
179
+ "content": "2.1 Identification of named entities"
180
+ },
181
+ {
182
+ "type": "text",
183
+ "bbox": [
184
+ 0.113,
185
+ 0.647,
186
+ 0.49,
187
+ 0.871
188
+ ],
189
+ "angle": 0,
190
+ "content": "To enable the direct use of a language model on speech input for the purpose of named entity recognition (NER), a dataset of audio recordings with annotated NEs is required. The English speech NER dataset (Yadav et al., 2020), which consists of 70,769 waveforms with transcripts annotated with person, location and organization NEs, is used for fine-tuning the Hidden-Unit BERT speech model (HuBERT) (Hsu et al., 2021). HuBERT was selected over other speech models since it learns both acoustic and language models from its inputs and therefore has an increased awareness of context. The success of language models on text NER has demonstrated how crucial context is for this"
191
+ },
192
+ {
193
+ "type": "text",
194
+ "bbox": [
195
+ 0.508,
196
+ 0.085,
197
+ 0.885,
198
+ 0.166
199
+ ],
200
+ "angle": 0,
201
+ "content": "task, and using a model which incorporates both an acoustic and a language model (over acoustic only) allows the approach to exploit the information used in text NER, while managing to avoid the need for a transcript."
202
+ },
203
+ {
204
+ "type": "text",
205
+ "bbox": [
206
+ 0.508,
207
+ 0.168,
208
+ 0.885,
209
+ 0.424
210
+ ],
211
+ "angle": 0,
212
+ "content": "For training, NE annotations need to be converted to a suitable format, indicating the presence or absence of a NE in each position. Following the inside-outside(-beginning) chunking common to many NER approaches (Tjong Kim Sang and De Meulder, 2003), three formats were explored: 1) character level annotation, mapping each character to either \\(o\\) for a character outside of a named entity, space, or \\(n\\), \\(l\\), \\(e\\) for characters within person, location or organization entities respectively, 2) the same character level annotation with separate characters added to denote the beginning of each type of NE (mapping the sentence TELL JACK to oooo mnnn with \\(m\\) denoting the start of a person NE), 3) and, for completeness, annotation was also explored at word level."
213
+ },
214
+ {
215
+ "type": "text",
216
+ "bbox": [
217
+ 0.508,
218
+ 0.427,
219
+ 0.887,
220
+ 0.587
221
+ ],
222
+ "angle": 0,
223
+ "content": "With the training parameters shown in Appendix A.1, the best NE performance was obtained from the first annotation approach, where NE beginnings were not explicitly annotated. The lower performance of the second annotation approach can be attributed to the low quantity of training data for the beginning marker annotations. While word level annotation was explored, it is likely to need a far greater quantity of data to enable mapping of different length inputs to a single label."
224
+ },
225
+ {
226
+ "type": "text",
227
+ "bbox": [
228
+ 0.508,
229
+ 0.59,
230
+ 0.886,
231
+ 0.798
232
+ ],
233
+ "angle": 0,
234
+ "content": "Separately, HuBERT was also fine-tuned for automatic speech recognition (ASR), i.e. for transcribing text from audio. Identical training data was used, with annotation being the transcription provided as part of the NE annotation (with NE annotation removed). The same parameters were employed for its training. Alongside the predicted (NE or ASR) annotation, prediction output also yields an offset which can be converted to a time offset. This can be used to identify the position of the NE(s) to be replaced, and after a greedy alignment of the two outputs, the original transcription of the original NE(s) can be extracted."
235
+ },
236
+ {
237
+ "type": "title",
238
+ "bbox": [
239
+ 0.509,
240
+ 0.815,
241
+ 0.762,
242
+ 0.831
243
+ ],
244
+ "angle": 0,
245
+ "content": "2.2 Finding an alternative NE"
246
+ },
247
+ {
248
+ "type": "text",
249
+ "bbox": [
250
+ 0.508,
251
+ 0.84,
252
+ 0.885,
253
+ 0.919
254
+ ],
255
+ "angle": 0,
256
+ "content": "Once a person NE is identified, a suitable equivalent substitution needs to be obtained, i.e. we want to find the word which could replace the NE in the text if the NE was hidden. This is precisely the concept behind masked language models (MLMs):"
257
+ },
258
+ {
259
+ "type": "page_footnote",
260
+ "bbox": [
261
+ 0.113,
262
+ 0.881,
263
+ 0.488,
264
+ 0.918
265
+ ],
266
+ "angle": 0,
267
+ "content": "<sup>1</sup>The code for the obfuscation pipeline is available from: https://github.com/juditapreiss/speech_ne_obfuscation"
268
+ },
269
+ {
270
+ "type": "page_number",
271
+ "bbox": [
272
+ 0.486,
273
+ 0.929,
274
+ 0.517,
275
+ 0.941
276
+ ],
277
+ "angle": 0,
278
+ "content": "616"
279
+ }
280
+ ],
281
+ [
282
+ {
283
+ "type": "image",
284
+ "bbox": [
285
+ 0.115,
286
+ 0.081,
287
+ 0.538,
288
+ 0.374
289
+ ],
290
+ "angle": 0,
291
+ "content": null
292
+ },
293
+ {
294
+ "type": "image_footnote",
295
+ "bbox": [
296
+ 0.609,
297
+ 0.085,
298
+ 0.859,
299
+ 0.101
300
+ ],
301
+ "angle": 0,
302
+ "content": "Speech to obfuscate as a wav file"
303
+ },
304
+ {
305
+ "type": "image_footnote",
306
+ "bbox": [
307
+ 0.61,
308
+ 0.152,
309
+ 0.886,
310
+ 0.169
311
+ ],
312
+ "angle": 0,
313
+ "content": "Transcribed text with NEs & timings"
314
+ },
315
+ {
316
+ "type": "image_footnote",
317
+ "bbox": [
318
+ 0.607,
319
+ 0.221,
320
+ 0.729,
321
+ 0.236
322
+ ],
323
+ "angle": 0,
324
+ "content": "Obfuscated text"
325
+ },
326
+ {
327
+ "type": "image_footnote",
328
+ "bbox": [
329
+ 0.607,
330
+ 0.254,
331
+ 0.861,
332
+ 0.27
333
+ ],
334
+ "angle": 0,
335
+ "content": "Generated text using cloned voice"
336
+ },
337
+ {
338
+ "type": "image_footnote",
339
+ "bbox": [
340
+ 0.607,
341
+ 0.287,
342
+ 0.882,
343
+ 0.303
344
+ ],
345
+ "angle": 0,
346
+ "content": "Extracted timings of substituted NEs"
347
+ },
348
+ {
349
+ "type": "image_footnote",
350
+ "bbox": [
351
+ 0.607,
352
+ 0.321,
353
+ 0.882,
354
+ 0.337
355
+ ],
356
+ "angle": 0,
357
+ "content": "Inserted generated NEs into orig text"
358
+ },
359
+ {
360
+ "type": "image_footnote",
361
+ "bbox": [
362
+ 0.607,
363
+ 0.356,
364
+ 0.853,
365
+ 0.371
366
+ ],
367
+ "angle": 0,
368
+ "content": "WER and CER based confidence"
369
+ },
370
+ {
371
+ "type": "image_caption",
372
+ "bbox": [
373
+ 0.392,
374
+ 0.383,
375
+ 0.604,
376
+ 0.398
377
+ ],
378
+ "angle": 0,
379
+ "content": "Figure 1: Obfuscation pipeline"
380
+ },
381
+ {
382
+ "type": "text",
383
+ "bbox": [
384
+ 0.113,
385
+ 0.424,
386
+ 0.49,
387
+ 0.68
388
+ ],
389
+ "angle": 0,
390
+ "content": "these models learn their weights so that given a sentence with a hidden (masked) word, the model will output the complete original sentence. The (ASR extracted) original sentences with NEs (as identified by the NE tuned model) masked were passed to a MLM. Three MLM models were explored: BERT, bert-large-uncased model (Devlin et al., 2019), ALBERT, albert-xxlarge-v2, model (Lan et al., 2019) and the distilled RoBERTa base, distilroberta-base, model (Sanh et al., 2019). Each model, with no additional tuning, results in a (pre-specified) number of predictions for each NE in the sentence. Since the models used different datasets in training, their predictions are expected to be different: for example, some may suggest pronouns rather than names."
391
+ },
392
+ {
393
+ "type": "text",
394
+ "bbox": [
395
+ 0.113,
396
+ 0.683,
397
+ 0.49,
398
+ 0.876
399
+ ],
400
+ "angle": 0,
401
+ "content": "Given the propensity of the MLM to return substitutions which are not names (for example, for the sentence you should call Stella, the model returns you should call him, you should call them, you should call 911 etc), an external list of people names is used for the validation of the proposed suggestions<sup>2</sup> and the highest scoring substitution is returned. Heuristically, the original name is matched against the list to identify whether it is a first or a last name (where possible) and names of the same type suggested by the MLM are returned. Simple rules are employed (last of a sequence of"
402
+ },
403
+ {
404
+ "type": "text",
405
+ "bbox": [
406
+ 0.508,
407
+ 0.424,
408
+ 0.885,
409
+ 0.6
410
+ ],
411
+ "angle": 0,
412
+ "content": "names is a last name, a single name without a title is a first name etc) to decide on a substitution when the original name does not appear in either the first or last name list. Given the nature of MLMs, suggested alternatives are likely to be more common words: as a positive side effect, this should make them easier to render with voice cloning as they may already appear in the reference speech. Should MLM fail to propose any suitable substitutions, one is selected at random from the first & last name lists, subject to the same heuristic rules."
413
+ },
414
+ {
415
+ "type": "title",
416
+ "bbox": [
417
+ 0.509,
418
+ 0.62,
419
+ 0.81,
420
+ 0.636
421
+ ],
422
+ "angle": 0,
423
+ "content": "2.3 Reconstruction of original audio"
424
+ },
425
+ {
426
+ "type": "text",
427
+ "bbox": [
428
+ 0.507,
429
+ 0.646,
430
+ 0.884,
431
+ 0.919
432
+ ],
433
+ "angle": 0,
434
+ "content": "In this work, the substitute NE is to be re-inserted into the original audio. To reduce the risk of de-identification via the extraction of entities which failed to be identified and therefore stayed in their original form, the substitute entity needs to be produced in the speaker's voice. The YourTTS (Casanova et al., 2021) model, which offers the ability for fine-tuning with less than one minute of speech while achieving good results with reasonable quality, can be used to generate the substitute sentence with all available speech of the speaker provided as reference. Note that it is not necessary to remove the original sentence from the reference data: in fact, its presence may result in more accurate rendering of the substitute sentence. The pre-trained model used in this work (tts_models/multilingual/multi-dataset/your_tts)"
435
+ },
436
+ {
437
+ "type": "page_footnote",
438
+ "bbox": [
439
+ 0.114,
440
+ 0.892,
441
+ 0.489,
442
+ 0.918
443
+ ],
444
+ "angle": 0,
445
+ "content": "2In this work, https://github.com/dominictarr/random-name are used."
446
+ },
447
+ {
448
+ "type": "page_number",
449
+ "bbox": [
450
+ 0.485,
451
+ 0.929,
452
+ 0.516,
453
+ 0.941
454
+ ],
455
+ "angle": 0,
456
+ "content": "617"
457
+ }
458
+ ],
459
+ [
460
+ {
461
+ "type": "text",
462
+ "bbox": [
463
+ 0.113,
464
+ 0.085,
465
+ 0.488,
466
+ 0.212
467
+ ],
468
+ "angle": 0,
469
+ "content": "was trained on the the voice cloning toolkit (VCTK) dataset (Yamagishi et al., 2019) which contains approximately 400 sentence, selected from newspaper text, uttered by 108-110 different speakers, giving it its generalization power. Aside from the reference passed to the model on the command line, no tuning or training of the YourTTS model is done in this work."
470
+ },
471
+ {
472
+ "type": "text",
473
+ "bbox": [
474
+ 0.117,
475
+ 0.214,
476
+ 0.49,
477
+ 0.454
478
+ ],
479
+ "angle": 0,
480
+ "content": "The ASR transcribed text with the substituted NE is generated, rather than the substitution alone, to ensure that the intonation as closely matches the substitution's position in the sentence. The average amplitude of the generated audio is matched to that of the original segment using the Python pydub library. The generated audio is again passed through the HuBERT based NE recognizer, to identify the location of the substituted NE in the generated audio and allow its extraction (note that in this pass, it is not necessary to perform ASR - only the offsets of the replacement NE are required). Should the NE recognizer not identify the same number of NEs as were present in the original, the instance is flagged for manual review."
481
+ },
482
+ {
483
+ "type": "text",
484
+ "bbox": [
485
+ 0.113,
486
+ 0.456,
487
+ 0.49,
488
+ 0.585
489
+ ],
490
+ "angle": 0,
491
+ "content": "For each NE in the text, a pair of start and end offsets are available: one pair extracted by the HubERT based NE extraction from the original audio and a second pair from the audio generated from the substituted text. This allows the new NEs to be inserted in place of the original NEs. The splicing and concatenation of the waveforms is also performed using the pydub library."
492
+ },
493
+ {
494
+ "type": "text",
495
+ "bbox": [
496
+ 0.113,
497
+ 0.586,
498
+ 0.49,
499
+ 0.745
500
+ ],
501
+ "angle": 0,
502
+ "content": "A second HuBERT based ASR pass over the newly constructed (substituted) audio, and its comparison against the substituted text using word error rate (WER) and character error rate (CER) gives measures of confidence. Both the metrics, commonly used for evaluation of ASR, allow for sequences of different length to the target – the further the reconstructed audio is from the target sentence, the less likely it is that the substitution will go unnoticed."
503
+ },
504
+ {
505
+ "type": "title",
506
+ "bbox": [
507
+ 0.114,
508
+ 0.759,
509
+ 0.342,
510
+ 0.773
511
+ ],
512
+ "angle": 0,
513
+ "content": "3 Results and discussion"
514
+ },
515
+ {
516
+ "type": "title",
517
+ "bbox": [
518
+ 0.114,
519
+ 0.786,
520
+ 0.405,
521
+ 0.8
522
+ ],
523
+ "angle": 0,
524
+ "content": "3.1 Identification of named entities"
525
+ },
526
+ {
527
+ "type": "text",
528
+ "bbox": [
529
+ 0.113,
530
+ 0.807,
531
+ 0.49,
532
+ 0.919
533
+ ],
534
+ "angle": 0,
535
+ "content": "The 70,769 training corpus, sampled at \\(16\\mathrm{kHz}\\), is divided up into \\(70\\%\\) for training (49,540 instances), and \\(15\\%\\) for both validation and evaluation (10,615 examples). The hubert-base-1s960 model is used with parameters listed in Appendix A.1. The performance in training, indicated via WER and CER, is shown in Table 1 for both ASR and NER."
536
+ },
537
+ {
538
+ "type": "table",
539
+ "bbox": [
540
+ 0.51,
541
+ 0.083,
542
+ 0.765,
543
+ 0.131
544
+ ],
545
+ "angle": 0,
546
+ "content": "<table><tr><td></td><td>Eval WER</td><td>Eval CER</td></tr><tr><td>ASR</td><td>0.142</td><td>-</td></tr><tr><td>NE</td><td>0.199</td><td>0.063</td></tr></table>"
547
+ },
548
+ {
549
+ "type": "table_caption",
550
+ "bbox": [
551
+ 0.509,
552
+ 0.143,
553
+ 0.883,
554
+ 0.171
555
+ ],
556
+ "angle": 0,
557
+ "content": "Table 1: Metric results of the ASR and NE HuBERT based models"
558
+ },
559
+ {
560
+ "type": "table",
561
+ "bbox": [
562
+ 0.512,
563
+ 0.187,
564
+ 0.895,
565
+ 0.255
566
+ ],
567
+ "angle": 0,
568
+ "content": "<table><tr><td>MLM</td><td>Avg ASR</td><td>NE</td><td>Avg confidence</td></tr><tr><td>ALBERT</td><td>0.980</td><td>13/20</td><td>0.109</td></tr><tr><td>BERT</td><td>0.980</td><td>13/20</td><td>0.098</td></tr><tr><td>RoBERTa</td><td>0.980</td><td>13/20</td><td>0.106</td></tr></table>"
569
+ },
570
+ {
571
+ "type": "table_caption",
572
+ "bbox": [
573
+ 0.563,
574
+ 0.264,
575
+ 0.828,
576
+ 0.278
577
+ ],
578
+ "angle": 0,
579
+ "content": "Table 2: Evaluation of individual steps"
580
+ },
581
+ {
582
+ "type": "text",
583
+ "bbox": [
584
+ 0.508,
585
+ 0.305,
586
+ 0.884,
587
+ 0.401
588
+ ],
589
+ "angle": 0,
590
+ "content": "For the purpose of the demonstrating the viability of the prototype, no hyperparameter optimization was performed, and the larger HuBERT models were not employed, however improvement in performance of both models are expected should this be pursued."
591
+ },
592
+ {
593
+ "type": "title",
594
+ "bbox": [
595
+ 0.509,
596
+ 0.414,
597
+ 0.761,
598
+ 0.429
599
+ ],
600
+ "angle": 0,
601
+ "content": "3.2 Finding an alternative NE"
602
+ },
603
+ {
604
+ "type": "text",
605
+ "bbox": [
606
+ 0.508,
607
+ 0.436,
608
+ 0.885,
609
+ 0.787
610
+ ],
611
+ "angle": 0,
612
+ "content": "A small scale evaluation is performed on a sample of 20 sentences selected at random from the LibriSpeech corpus (Panayotov et al., 2015) across 6 speakers. Sentence selection was subject to them containing a person named entity. While detailed results for the individual steps can be found in Table 2, it should be noted that – for the purposes of this work – the focus is the accuracy of the extraction of the correct NE. The stated accuracy is therefore somewhat misleading: in a number of cases, such as the word Raphael, the named entity is divided into two separate words, suggesting two consecutive named entities. However, this issue is corrected when the NE output is aligned with ASR output and the two separate NE instances are (correctly) merged. Cases with NEs which cannot be aligned are flagged up for manual intervention. The average ASR and (exact match) NE identification do not vary when a different MLM is employed, as this only effects the selection of the substituted name, resulting in different average confidence values."
613
+ },
614
+ {
615
+ "type": "title",
616
+ "bbox": [
617
+ 0.509,
618
+ 0.802,
619
+ 0.81,
620
+ 0.817
621
+ ],
622
+ "angle": 0,
623
+ "content": "3.3 Reconstruction of original audio"
624
+ },
625
+ {
626
+ "type": "text",
627
+ "bbox": [
628
+ 0.508,
629
+ 0.823,
630
+ 0.884,
631
+ 0.919
632
+ ],
633
+ "angle": 0,
634
+ "content": "The voice cloning model requires some reference audio for the speaker: for the 6 selected speakers, 4 have less than 5 audio files (two having 3, and one having only 2 files) in the dataset. The quantity of data used as reference is likely to impact the quality (in terms of its similarity to the original speaker)"
635
+ },
636
+ {
637
+ "type": "page_number",
638
+ "bbox": [
639
+ 0.486,
640
+ 0.929,
641
+ 0.516,
642
+ 0.941
643
+ ],
644
+ "angle": 0,
645
+ "content": "618"
646
+ }
647
+ ],
648
+ [
649
+ {
650
+ "type": "text",
651
+ "bbox": [
652
+ 0.113,
653
+ 0.085,
654
+ 0.49,
655
+ 0.232
656
+ ],
657
+ "angle": 0,
658
+ "content": "of the generated text. Given the likely scenarios of deployment, such as dialogues where more than 2 sentences of speech per speaker are available, this may not be representative of the results obtainable with the pipeline. However, it should be noted that even if all substituted instances can be identified as substitutions, the system is equal to a masking technique (where an entity is replaced with a fixed entity, such as a bleep)."
659
+ },
660
+ {
661
+ "type": "title",
662
+ "bbox": [
663
+ 0.114,
664
+ 0.243,
665
+ 0.248,
666
+ 0.258
667
+ ],
668
+ "angle": 0,
669
+ "content": "4 Conclusion"
670
+ },
671
+ {
672
+ "type": "text",
673
+ "bbox": [
674
+ 0.113,
675
+ 0.269,
676
+ 0.49,
677
+ 0.429
678
+ ],
679
+ "angle": 0,
680
+ "content": "The prototype described shows the steps of an obfuscation pipeline for speech, which results in substituted person named entities uttered in the original speakers voice and replaced in the original audio signal. The prototype makes use of a named entity recognizer built directly on top of audio input, and employs masked language models to generate the substituted entity. It offers an end-to-end automatic solution enabling the sharing of speech with identifying information removed."
681
+ },
682
+ {
683
+ "type": "text",
684
+ "bbox": [
685
+ 0.113,
686
+ 0.43,
687
+ 0.49,
688
+ 0.577
689
+ ],
690
+ "angle": 0,
691
+ "content": "The resulting obfuscated speech remains in the original speaker's voice, allowing for the application of traditional speaker anonymization approaches to mask the speaker's identity. The original prosody can be protected by applying a transformation such as waveform change, offering a significant advantage over a technique which generates a complete obfuscated transcription (instead of splicing an obfuscated entity into original speech)."
692
+ },
693
+ {
694
+ "type": "title",
695
+ "bbox": [
696
+ 0.115,
697
+ 0.587,
698
+ 0.221,
699
+ 0.603
700
+ ],
701
+ "angle": 0,
702
+ "content": "Limitations"
703
+ },
704
+ {
705
+ "type": "text",
706
+ "bbox": [
707
+ 0.113,
708
+ 0.613,
709
+ 0.49,
710
+ 0.758
711
+ ],
712
+ "angle": 0,
713
+ "content": "The cloning model used, YourTTS, is trained on the VCTK dataset which consists of high-quality speech signal. It is therefore unclear whether the same accuracy would be obtained with lower quality signal which may contain some background noise. (However, it should again be noted that even if all substituted instances are identifiable in the output, the system is equivalent to a masking model.)"
714
+ },
715
+ {
716
+ "type": "text",
717
+ "bbox": [
718
+ 0.113,
719
+ 0.759,
720
+ 0.49,
721
+ 0.854
722
+ ],
723
+ "angle": 0,
724
+ "content": "The selection of a person NE replacement does not currently account for continuity: if the same person entity is referred to later, it may be substituted with a different entity to the previous occasion. In addition, the back-off strategy ignores aspects such as gender."
725
+ },
726
+ {
727
+ "type": "text",
728
+ "bbox": [
729
+ 0.113,
730
+ 0.856,
731
+ 0.49,
732
+ 0.92
733
+ ],
734
+ "angle": 0,
735
+ "content": "To show the approach feasible, very little optimization was performed. Further training and parameter optimization is likely to lead to improved performance for both ASR and NER models."
736
+ },
737
+ {
738
+ "type": "text",
739
+ "bbox": [
740
+ 0.508,
741
+ 0.085,
742
+ 0.885,
743
+ 0.182
744
+ ],
745
+ "angle": 0,
746
+ "content": "The approach is currently only implemented for person NEs but it could be extended very simply to other types of NEs. However, the degree to which other entity types require obfuscation in speech is not clear to us as mentions of organizations may well not be identifying at all."
747
+ },
748
+ {
749
+ "type": "title",
750
+ "bbox": [
751
+ 0.51,
752
+ 0.198,
753
+ 0.662,
754
+ 0.213
755
+ ],
756
+ "angle": 0,
757
+ "content": "Ethics Statement"
758
+ },
759
+ {
760
+ "type": "text",
761
+ "bbox": [
762
+ 0.508,
763
+ 0.226,
764
+ 0.885,
765
+ 0.42
766
+ ],
767
+ "angle": 0,
768
+ "content": "Aside from the ethical concerns regarding voice cloning (covered in e.g. YourTTS (Casanova et al., 2021)), deployment would require a detailed evaluation of risk of de-identification. It is believed that the final confidence and the accuracy of each step can be combined to significantly reduce this risk. The voice itself also offers options for identification: the value of yielding substitutions in the original speaker's voice (and keeping the original prosody) would need to be weighed up against approaches which anonymize voice but preserve prosodic information."
769
+ },
770
+ {
771
+ "type": "title",
772
+ "bbox": [
773
+ 0.511,
774
+ 0.45,
775
+ 0.61,
776
+ 0.465
777
+ ],
778
+ "angle": 0,
779
+ "content": "References"
780
+ },
781
+ {
782
+ "type": "ref_text",
783
+ "bbox": [
784
+ 0.511,
785
+ 0.475,
786
+ 0.884,
787
+ 0.529
788
+ ],
789
+ "angle": 0,
790
+ "content": "Mohamed Abdalla, Moustafa Abdalla, Frank Rudzicz, and Graeme Hirsto. 2020. Using word embeddings to improve the privacy of clinical notes. J Am Med Inform Assoc, 27(6):901-907."
791
+ },
792
+ {
793
+ "type": "ref_text",
794
+ "bbox": [
795
+ 0.511,
796
+ 0.543,
797
+ 0.885,
798
+ 0.61
799
+ ],
800
+ "angle": 0,
801
+ "content": "Edresson Casanova, Julian Weber, Christopher Shulby, Arnaldo Candido Junior, Eren Gölgge, and Moacir Antonelli Ponti. 2021. YourTTS: Towards zero-shot multi-speaker TTS and zero-shot voice conversion for everyone. CoRR, abs/2112.02418."
802
+ },
803
+ {
804
+ "type": "ref_text",
805
+ "bbox": [
806
+ 0.511,
807
+ 0.624,
808
+ 0.884,
809
+ 0.678
810
+ ],
811
+ "angle": 0,
812
+ "content": "Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. 2019. BERT: Pre-training of deep bidirectional transformers for language understanding. In NAACL-HLT."
813
+ },
814
+ {
815
+ "type": "ref_text",
816
+ "bbox": [
817
+ 0.51,
818
+ 0.691,
819
+ 0.885,
820
+ 0.719
821
+ ],
822
+ "angle": 0,
823
+ "content": "Gölge Eren and The Coqui TTS Team. 2021. Coqui TTS. https://github.com/coqui-ai/TTS."
824
+ },
825
+ {
826
+ "type": "ref_text",
827
+ "bbox": [
828
+ 0.51,
829
+ 0.733,
830
+ 0.885,
831
+ 0.839
832
+ ],
833
+ "angle": 0,
834
+ "content": "Tzvika Hartman, Michael D. Howell, Jeff Dean, Shlomo Hoory, Ronit Slyper, Itay Laish, Oren Gilon, Danny Vainstein, Greg Corrado, Katherine Chou, Ming Jack Po, Jutta Williams, Scott Ellis, Gavin Bee, Avinatan Hassidim, Rony Amira, Genady Beryozkin, Idan Szpektor, and Yossi Matias. 2020. Customization scenarios for de-identification of clinical notes. BMC Med Inform Decis Mak, 20(14)."
835
+ },
836
+ {
837
+ "type": "ref_text",
838
+ "bbox": [
839
+ 0.51,
840
+ 0.852,
841
+ 0.887,
842
+ 0.919
843
+ ],
844
+ "angle": 0,
845
+ "content": "Wei-Ning Hsu, Benjamin Bolte, Yao-Hung Hubert Tsai, Kushal Lakhotia, Ruslan Salakhutdinov, and Abdelrahman Mohamed. 2021. HuBERT: Self-supervised speech representation learning by masked prediction of hidden units. CoRR, abs/2106.07447."
846
+ },
847
+ {
848
+ "type": "list",
849
+ "bbox": [
850
+ 0.51,
851
+ 0.475,
852
+ 0.887,
853
+ 0.919
854
+ ],
855
+ "angle": 0,
856
+ "content": null
857
+ },
858
+ {
859
+ "type": "page_number",
860
+ "bbox": [
861
+ 0.486,
862
+ 0.929,
863
+ 0.517,
864
+ 0.941
865
+ ],
866
+ "angle": 0,
867
+ "content": "619"
868
+ }
869
+ ],
870
+ [
871
+ {
872
+ "type": "ref_text",
873
+ "bbox": [
874
+ 0.115,
875
+ 0.086,
876
+ 0.49,
877
+ 0.152
878
+ ],
879
+ "angle": 0,
880
+ "content": "Zhenzhong Lan, Mingda Chen, Sebastian Goodman, Kevin Gimpel, Piyush Sharma, and Radu Soricut. 2019. ALBERT: A lite BERT for self-supervised learning of language representations. CoRR, abs/1909.11942."
881
+ },
882
+ {
883
+ "type": "ref_text",
884
+ "bbox": [
885
+ 0.115,
886
+ 0.161,
887
+ 0.49,
888
+ 0.281
889
+ ],
890
+ "angle": 0,
891
+ "content": "Pierre Lison, Ildiko Pilán, David Sanchez, Montserrat Batet, and Lilja Øvrelid. 2021. Anonymisation models for text data: State of the art, challenges and future directions. 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 4188-4203, Online. Association for Computational Linguistics."
892
+ },
893
+ {
894
+ "type": "ref_text",
895
+ "bbox": [
896
+ 0.115,
897
+ 0.288,
898
+ 0.49,
899
+ 0.46
900
+ ],
901
+ "angle": 0,
902
+ "content": "Arttu Oksanen, Eero Hyvönen, Minna Tamper, Jouni Tuominen, Henna Ylimaa, Katja Löytynoja, Matti Kokkonen, and Aki Hietanen. 2022. An anonymization tool for open data publication of legal documents. In Joint Proceedings of the 3th International Workshop on Artificial Intelligence Technologies for Legal Documents (AI4LEGAL 2022) and the 1st International Workshop on Knowledge Graph Summarization (KGSum 2022) co-located with the 21st International Semantic Web Conference (ISWC 2022), Virtual Event, Hangzhou, China, October 23-24, 2022, volume 3257 of CEUR Workshop Proceedings, pages 12-21. CEUR-WS.org."
903
+ },
904
+ {
905
+ "type": "ref_text",
906
+ "bbox": [
907
+ 0.115,
908
+ 0.467,
909
+ 0.49,
910
+ 0.534
911
+ ],
912
+ "angle": 0,
913
+ "content": "Vassil Panayotov, Guoguo Chen, Daniel Povey, and Sanjeev Khudanpur. 2015. Librispeech: an ASR corpus based on public domain audio books. In Proceedings of the International Conference on Acoustics, Speech and Signal Processing (ICASSP). IEEE."
914
+ },
915
+ {
916
+ "type": "ref_text",
917
+ "bbox": [
918
+ 0.115,
919
+ 0.542,
920
+ 0.49,
921
+ 0.595
922
+ ],
923
+ "angle": 0,
924
+ "content": "Victor Sanh, Lysandre Debut, Julien Chaumont, and Thomas Wolf. 2019. Distilbert, a distilled version of bert: smaller, faster, cheaper and lighter. ArXiv, abs/1910.01108."
925
+ },
926
+ {
927
+ "type": "ref_text",
928
+ "bbox": [
929
+ 0.115,
930
+ 0.605,
931
+ 0.49,
932
+ 0.658
933
+ ],
934
+ "angle": 0,
935
+ "content": "Samuel Sousa and Roman Kern. 2022. How to keep text private? a systematic review of deep learning methods for privacy-preserving natural language processing. Artif Intell Rev."
936
+ },
937
+ {
938
+ "type": "ref_text",
939
+ "bbox": [
940
+ 0.115,
941
+ 0.666,
942
+ 0.49,
943
+ 0.745
944
+ ],
945
+ "angle": 0,
946
+ "content": "Erik F. Tjong Kim Sang and Fien De Meulder. 2003. Introduction to the CoNLL-2003 shared task: Language-independent named entity recognition. In Proceedings of the Seventh Conference on Natural Language Learning at HLT-NAACL 2003, pages 142-147."
947
+ },
948
+ {
949
+ "type": "ref_text",
950
+ "bbox": [
951
+ 0.115,
952
+ 0.754,
953
+ 0.489,
954
+ 0.796
955
+ ],
956
+ "angle": 0,
957
+ "content": "Hemant Yadav, Sreyan Ghosh, Yi Yu, and Rajiv Ratn Shah. 2020. End-to-end named entity recognition from English speech. CoRR, abs/2005.11184."
958
+ },
959
+ {
960
+ "type": "ref_text",
961
+ "bbox": [
962
+ 0.115,
963
+ 0.804,
964
+ 0.49,
965
+ 0.856
966
+ ],
967
+ "angle": 0,
968
+ "content": "Junichi Yamagishi, Christophe Veaux, and Kirsten MacDonald. 2019. CSTR VCTK corpus: English multispeaker corpus for CSTR voice cloning toolkit (version 0.92)."
969
+ },
970
+ {
971
+ "type": "ref_text",
972
+ "bbox": [
973
+ 0.115,
974
+ 0.866,
975
+ 0.49,
976
+ 0.919
977
+ ],
978
+ "angle": 0,
979
+ "content": "Haitong Zhang and Yue Lin. 2022. Improve few-shot voice cloning using multi-modal learning. In IEEE International Conference on Acoustics, Speech and Signal Processing, pages 8317-8321."
980
+ },
981
+ {
982
+ "type": "list",
983
+ "bbox": [
984
+ 0.115,
985
+ 0.086,
986
+ 0.49,
987
+ 0.919
988
+ ],
989
+ "angle": 0,
990
+ "content": null
991
+ },
992
+ {
993
+ "type": "title",
994
+ "bbox": [
995
+ 0.51,
996
+ 0.084,
997
+ 0.742,
998
+ 0.101
999
+ ],
1000
+ "angle": 0,
1001
+ "content": "A Model training details"
1002
+ },
1003
+ {
1004
+ "type": "title",
1005
+ "bbox": [
1006
+ 0.51,
1007
+ 0.11,
1008
+ 0.73,
1009
+ 0.126
1010
+ ],
1011
+ "angle": 0,
1012
+ "content": "A.1 HuBERT parameters"
1013
+ },
1014
+ {
1015
+ "type": "text",
1016
+ "bbox": [
1017
+ 0.508,
1018
+ 0.131,
1019
+ 0.885,
1020
+ 0.195
1021
+ ],
1022
+ "angle": 0,
1023
+ "content": "HubertForCTC hubert-base-1s960 model was used with frozen feature encoder, training size of 49540 examples, and validation and evaluation size of 10615, alongside the following parameters:"
1024
+ },
1025
+ {
1026
+ "type": "table",
1027
+ "bbox": [
1028
+ 0.53,
1029
+ 0.197,
1030
+ 0.877,
1031
+ 0.424
1032
+ ],
1033
+ "angle": 0,
1034
+ "content": "<table><tr><td>Parameter</td><td>Value</td></tr><tr><td>group_by_length</td><td>True</td></tr><tr><td>per_device_train_batch_size</td><td>8</td></tr><tr><td>per_device_eval_batch_size</td><td>batch_size</td></tr><tr><td>evaluation_strategy</td><td>&quot;steps&quot;</td></tr><tr><td>num_train_epochs</td><td>num_epochs</td></tr><tr><td>fp16</td><td>True</td></tr><tr><td>gradient_checkpointing</td><td>True</td></tr><tr><td>save_steps</td><td>500</td></tr><tr><td>eval_steps</td><td>500</td></tr><tr><td>learning_rate</td><td>1e-4</td></tr><tr><td>weight Decay</td><td>0.005</td></tr><tr><td>warmup_steps</td><td>1000</td></tr><tr><td>num_epochs</td><td>30</td></tr></table>"
1035
+ },
1036
+ {
1037
+ "type": "page_number",
1038
+ "bbox": [
1039
+ 0.486,
1040
+ 0.929,
1041
+ 0.517,
1042
+ 0.941
1043
+ ],
1044
+ "angle": 0,
1045
+ "content": "620"
1046
+ }
1047
+ ],
1048
+ [
1049
+ {
1050
+ "type": "header",
1051
+ "bbox": [
1052
+ 0.133,
1053
+ 0.085,
1054
+ 0.435,
1055
+ 0.1
1056
+ ],
1057
+ "angle": 0,
1058
+ "content": "ACL 2023 Responsible NLP Checklist"
1059
+ },
1060
+ {
1061
+ "type": "text",
1062
+ "bbox": [
1063
+ 0.115,
1064
+ 0.108,
1065
+ 0.323,
1066
+ 0.123
1067
+ ],
1068
+ "angle": 0,
1069
+ "content": "A For every submission:"
1070
+ },
1071
+ {
1072
+ "type": "text",
1073
+ "bbox": [
1074
+ 0.13,
1075
+ 0.127,
1076
+ 0.533,
1077
+ 0.144
1078
+ ],
1079
+ "angle": 0,
1080
+ "content": "A1. Did you describe the limitations of your work?"
1081
+ },
1082
+ {
1083
+ "type": "text",
1084
+ "bbox": [
1085
+ 0.151,
1086
+ 0.145,
1087
+ 0.397,
1088
+ 0.159
1089
+ ],
1090
+ "angle": 0,
1091
+ "content": "Unnumbered, follows conclusion"
1092
+ },
1093
+ {
1094
+ "type": "text",
1095
+ "bbox": [
1096
+ 0.13,
1097
+ 0.17,
1098
+ 0.553,
1099
+ 0.187
1100
+ ],
1101
+ "angle": 0,
1102
+ "content": "A2. Did you discuss any potential risks of your work?"
1103
+ },
1104
+ {
1105
+ "type": "text",
1106
+ "bbox": [
1107
+ 0.15,
1108
+ 0.188,
1109
+ 0.753,
1110
+ 0.202
1111
+ ],
1112
+ "angle": 0,
1113
+ "content": "Ethics Statement discusses potential risks of the work. This follows \"Limitations\"."
1114
+ },
1115
+ {
1116
+ "type": "text",
1117
+ "bbox": [
1118
+ 0.13,
1119
+ 0.213,
1120
+ 0.697,
1121
+ 0.229
1122
+ ],
1123
+ "angle": 0,
1124
+ "content": "A3. Do the abstract and introduction summarize the paper's main claims?"
1125
+ },
1126
+ {
1127
+ "type": "text",
1128
+ "bbox": [
1129
+ 0.152,
1130
+ 0.231,
1131
+ 0.223,
1132
+ 0.244
1133
+ ],
1134
+ "angle": 0,
1135
+ "content": "Section 1"
1136
+ },
1137
+ {
1138
+ "type": "text",
1139
+ "bbox": [
1140
+ 0.13,
1141
+ 0.257,
1142
+ 0.67,
1143
+ 0.273
1144
+ ],
1145
+ "angle": 0,
1146
+ "content": "A4. Have you used AI writing assistants when working on this paper?"
1147
+ },
1148
+ {
1149
+ "type": "text",
1150
+ "bbox": [
1151
+ 0.152,
1152
+ 0.274,
1153
+ 0.233,
1154
+ 0.288
1155
+ ],
1156
+ "angle": 0,
1157
+ "content": "Left blank."
1158
+ },
1159
+ {
1160
+ "type": "text",
1161
+ "bbox": [
1162
+ 0.115,
1163
+ 0.301,
1164
+ 0.49,
1165
+ 0.317
1166
+ ],
1167
+ "angle": 0,
1168
+ "content": "B Did you use or create scientific artifacts?"
1169
+ },
1170
+ {
1171
+ "type": "text",
1172
+ "bbox": [
1173
+ 0.133,
1174
+ 0.322,
1175
+ 0.215,
1176
+ 0.337
1177
+ ],
1178
+ "angle": 0,
1179
+ "content": "Left blank."
1180
+ },
1181
+ {
1182
+ "type": "text",
1183
+ "bbox": [
1184
+ 0.129,
1185
+ 0.348,
1186
+ 0.53,
1187
+ 0.364
1188
+ ],
1189
+ "angle": 0,
1190
+ "content": "B1. Did you cite the creators of artifacts you used?"
1191
+ },
1192
+ {
1193
+ "type": "text",
1194
+ "bbox": [
1195
+ 0.151,
1196
+ 0.365,
1197
+ 0.249,
1198
+ 0.38
1199
+ ],
1200
+ "angle": 0,
1201
+ "content": "No response."
1202
+ },
1203
+ {
1204
+ "type": "text",
1205
+ "bbox": [
1206
+ 0.129,
1207
+ 0.391,
1208
+ 0.779,
1209
+ 0.407
1210
+ ],
1211
+ "angle": 0,
1212
+ "content": "B2. Did you discuss the license or terms for use and / or distribution of any artifacts?"
1213
+ },
1214
+ {
1215
+ "type": "text",
1216
+ "bbox": [
1217
+ 0.152,
1218
+ 0.408,
1219
+ 0.249,
1220
+ 0.423
1221
+ ],
1222
+ "angle": 0,
1223
+ "content": "No response."
1224
+ },
1225
+ {
1226
+ "type": "text",
1227
+ "bbox": [
1228
+ 0.129,
1229
+ 0.434,
1230
+ 0.882,
1231
+ 0.497
1232
+ ],
1233
+ "angle": 0,
1234
+ "content": "B3. Did you discuss if your use of existing artifact(s) was consistent with their intended use, provided that it was specified? For the artifacts you create, do you specify intended use and whether that is compatible with the original access conditions (in particular, derivatives of data accessed for research purposes should not be used outside of research contexts)?"
1235
+ },
1236
+ {
1237
+ "type": "text",
1238
+ "bbox": [
1239
+ 0.152,
1240
+ 0.499,
1241
+ 0.249,
1242
+ 0.514
1243
+ ],
1244
+ "angle": 0,
1245
+ "content": "No response."
1246
+ },
1247
+ {
1248
+ "type": "text",
1249
+ "bbox": [
1250
+ 0.129,
1251
+ 0.525,
1252
+ 0.882,
1253
+ 0.573
1254
+ ],
1255
+ "angle": 0,
1256
+ "content": "B4. Did you discuss the steps taken to check whether the data that was collected / used contains any information that names or uniquely identifies individual people or offensive content, and the steps taken to protect / anonymize it?"
1257
+ },
1258
+ {
1259
+ "type": "text",
1260
+ "bbox": [
1261
+ 0.152,
1262
+ 0.575,
1263
+ 0.249,
1264
+ 0.589
1265
+ ],
1266
+ "angle": 0,
1267
+ "content": "No response."
1268
+ },
1269
+ {
1270
+ "type": "text",
1271
+ "bbox": [
1272
+ 0.129,
1273
+ 0.6,
1274
+ 0.882,
1275
+ 0.632
1276
+ ],
1277
+ "angle": 0,
1278
+ "content": "B5. Did you provide documentation of the artifacts, e.g., coverage of domains, languages, and linguistic phenomena, demographic groups represented, etc.?"
1279
+ },
1280
+ {
1281
+ "type": "text",
1282
+ "bbox": [
1283
+ 0.152,
1284
+ 0.634,
1285
+ 0.249,
1286
+ 0.648
1287
+ ],
1288
+ "angle": 0,
1289
+ "content": "No response."
1290
+ },
1291
+ {
1292
+ "type": "text",
1293
+ "bbox": [
1294
+ 0.129,
1295
+ 0.659,
1296
+ 0.882,
1297
+ 0.74
1298
+ ],
1299
+ "angle": 0,
1300
+ "content": "B6. Did you report relevant statistics like the number of examples, details of train / test / dev splits, etc. for the data that you used / created? Even for commonly-used benchmark datasets, include the number of examples in train / validation / test splits, as these provide necessary context for a reader to understand experimental results. For example, small differences in accuracy on large test sets may be significant, while on small test sets they may not be."
1301
+ },
1302
+ {
1303
+ "type": "text",
1304
+ "bbox": [
1305
+ 0.152,
1306
+ 0.741,
1307
+ 0.249,
1308
+ 0.755
1309
+ ],
1310
+ "angle": 0,
1311
+ "content": "No response."
1312
+ },
1313
+ {
1314
+ "type": "text",
1315
+ "bbox": [
1316
+ 0.115,
1317
+ 0.765,
1318
+ 0.495,
1319
+ 0.782
1320
+ ],
1321
+ "angle": 0,
1322
+ "content": "C Did you run computational experiments?"
1323
+ },
1324
+ {
1325
+ "type": "text",
1326
+ "bbox": [
1327
+ 0.133,
1328
+ 0.787,
1329
+ 0.246,
1330
+ 0.801
1331
+ ],
1332
+ "angle": 0,
1333
+ "content": "Sections 2 & 3"
1334
+ },
1335
+ {
1336
+ "type": "text",
1337
+ "bbox": [
1338
+ 0.13,
1339
+ 0.813,
1340
+ 0.882,
1341
+ 0.845
1342
+ ],
1343
+ "angle": 0,
1344
+ "content": "C1. Did you report the number of parameters in the models used, the total computational budget (e.g., GPU hours), and computing infrastructure used?"
1345
+ },
1346
+ {
1347
+ "type": "text",
1348
+ "bbox": [
1349
+ 0.15,
1350
+ 0.847,
1351
+ 0.882,
1352
+ 0.877
1353
+ ],
1354
+ "angle": 0,
1355
+ "content": "Appendix A1. The infrastructure was chosen by the HPC and therefore wasn't known - if needed, the experiments can be rerun with this constrained."
1356
+ },
1357
+ {
1358
+ "type": "page_footnote",
1359
+ "bbox": [
1360
+ 0.114,
1361
+ 0.885,
1362
+ 0.878,
1363
+ 0.909
1364
+ ],
1365
+ "angle": 0,
1366
+ "content": "The Responsible NLP Checklist used at ACL 2023 is adopted from NAACL 2022, with the addition of a question on AI writing assistance."
1367
+ },
1368
+ {
1369
+ "type": "page_number",
1370
+ "bbox": [
1371
+ 0.486,
1372
+ 0.929,
1373
+ 0.514,
1374
+ 0.941
1375
+ ],
1376
+ "angle": 0,
1377
+ "content": "621"
1378
+ }
1379
+ ],
1380
+ [
1381
+ {
1382
+ "type": "text",
1383
+ "bbox": [
1384
+ 0.13,
1385
+ 0.084,
1386
+ 0.88,
1387
+ 0.116
1388
+ ],
1389
+ "angle": 0,
1390
+ "content": "C2. Did you discuss the experimental setup, including hyperparameter search and best-found hyperparameter values?"
1391
+ },
1392
+ {
1393
+ "type": "text",
1394
+ "bbox": [
1395
+ 0.148,
1396
+ 0.118,
1397
+ 0.882,
1398
+ 0.149
1399
+ ],
1400
+ "angle": 0,
1401
+ "content": "Experimental setup discussed, hyperparameter optimization not performed as stated as the paper only checks viability."
1402
+ },
1403
+ {
1404
+ "type": "text",
1405
+ "bbox": [
1406
+ 0.13,
1407
+ 0.159,
1408
+ 0.882,
1409
+ 0.207
1410
+ ],
1411
+ "angle": 0,
1412
+ "content": "C3. Did you report descriptive statistics about your results (e.g., error bars around results, summary statistics from sets of experiments), and is it transparent whether you are reporting the max, mean, etc. or just a single run?"
1413
+ },
1414
+ {
1415
+ "type": "text",
1416
+ "bbox": [
1417
+ 0.148,
1418
+ 0.209,
1419
+ 0.456,
1420
+ 0.224
1421
+ ],
1422
+ "angle": 0,
1423
+ "content": "Average used, clearly denoted. Section 3."
1424
+ },
1425
+ {
1426
+ "type": "text",
1427
+ "bbox": [
1428
+ 0.129,
1429
+ 0.235,
1430
+ 0.882,
1431
+ 0.282
1432
+ ],
1433
+ "angle": 0,
1434
+ "content": "C4. If you used existing packages (e.g., for preprocessing, for normalization, or for evaluation), did you report the implementation, model, and parameter settings used (e.g., NLTK, Spacy, ROUGE, etc.)?"
1435
+ },
1436
+ {
1437
+ "type": "text",
1438
+ "bbox": [
1439
+ 0.15,
1440
+ 0.284,
1441
+ 0.351,
1442
+ 0.299
1443
+ ],
1444
+ "angle": 0,
1445
+ "content": "Not applicable. Left blank."
1446
+ },
1447
+ {
1448
+ "type": "title",
1449
+ "bbox": [
1450
+ 0.115,
1451
+ 0.31,
1452
+ 0.878,
1453
+ 0.327
1454
+ ],
1455
+ "angle": 0,
1456
+ "content": "D Did you use human annotators (e.g., crowdworkers) or research with human participants?"
1457
+ },
1458
+ {
1459
+ "type": "text",
1460
+ "bbox": [
1461
+ 0.134,
1462
+ 0.331,
1463
+ 0.216,
1464
+ 0.347
1465
+ ],
1466
+ "angle": 0,
1467
+ "content": "Left blank."
1468
+ },
1469
+ {
1470
+ "type": "text",
1471
+ "bbox": [
1472
+ 0.129,
1473
+ 0.358,
1474
+ 0.882,
1475
+ 0.39
1476
+ ],
1477
+ "angle": 0,
1478
+ "content": "D1. Did you report the full text of instructions given to participants, including e.g., screenshots, disclaimers of any risks to participants or annotators, etc.?"
1479
+ },
1480
+ {
1481
+ "type": "text",
1482
+ "bbox": [
1483
+ 0.151,
1484
+ 0.391,
1485
+ 0.25,
1486
+ 0.406
1487
+ ],
1488
+ "angle": 0,
1489
+ "content": "No response."
1490
+ },
1491
+ {
1492
+ "type": "text",
1493
+ "bbox": [
1494
+ 0.129,
1495
+ 0.417,
1496
+ 0.882,
1497
+ 0.464
1498
+ ],
1499
+ "angle": 0,
1500
+ "content": "D2. Did you report information about how you recruited (e.g., crowdsourcing platform, students) and paid participants, and discuss if such payment is adequate given the participants' demographic (e.g., country of residence)?"
1501
+ },
1502
+ {
1503
+ "type": "text",
1504
+ "bbox": [
1505
+ 0.151,
1506
+ 0.466,
1507
+ 0.25,
1508
+ 0.481
1509
+ ],
1510
+ "angle": 0,
1511
+ "content": "No response."
1512
+ },
1513
+ {
1514
+ "type": "text",
1515
+ "bbox": [
1516
+ 0.129,
1517
+ 0.492,
1518
+ 0.882,
1519
+ 0.539
1520
+ ],
1521
+ "angle": 0,
1522
+ "content": "D3. Did you discuss whether and how consent was obtained from people whose data you're using/curating? For example, if you collected data via crowdsourcing, did your instructions to crowdworkers explain how the data would be used?"
1523
+ },
1524
+ {
1525
+ "type": "text",
1526
+ "bbox": [
1527
+ 0.151,
1528
+ 0.541,
1529
+ 0.25,
1530
+ 0.556
1531
+ ],
1532
+ "angle": 0,
1533
+ "content": "No response."
1534
+ },
1535
+ {
1536
+ "type": "text",
1537
+ "bbox": [
1538
+ 0.129,
1539
+ 0.567,
1540
+ 0.874,
1541
+ 0.582
1542
+ ],
1543
+ "angle": 0,
1544
+ "content": "D4. Was the data collection protocol approved (or determined exempt) by an ethics review board?"
1545
+ },
1546
+ {
1547
+ "type": "text",
1548
+ "bbox": [
1549
+ 0.151,
1550
+ 0.584,
1551
+ 0.25,
1552
+ 0.599
1553
+ ],
1554
+ "angle": 0,
1555
+ "content": "No response."
1556
+ },
1557
+ {
1558
+ "type": "text",
1559
+ "bbox": [
1560
+ 0.129,
1561
+ 0.61,
1562
+ 0.882,
1563
+ 0.64
1564
+ ],
1565
+ "angle": 0,
1566
+ "content": "D5. Did you report the basic demographic and geographic characteristics of the annotator population that is the source of the data?"
1567
+ },
1568
+ {
1569
+ "type": "text",
1570
+ "bbox": [
1571
+ 0.151,
1572
+ 0.642,
1573
+ 0.25,
1574
+ 0.657
1575
+ ],
1576
+ "angle": 0,
1577
+ "content": "No response."
1578
+ },
1579
+ {
1580
+ "type": "page_number",
1581
+ "bbox": [
1582
+ 0.486,
1583
+ 0.929,
1584
+ 0.516,
1585
+ 0.941
1586
+ ],
1587
+ "angle": 0,
1588
+ "content": "622"
1589
+ }
1590
+ ]
1591
+ ]
2023/Automatic Named Entity Obfuscation in Speech/f423cca1-1aeb-43bd-8d25-5845a22e4c4c_origin.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6e92712c394761baa8f0a67e53772d134c69282f9eaf3c9e01755bac6f7ac0d2
3
+ size 155223
2023/Automatic Named Entity Obfuscation in Speech/full.md ADDED
@@ -0,0 +1,237 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Automatic Named Entity Obfuscation in Speech
2
+
3
+ Judita Preiss
4
+ University of Sheffield, Information School
5
+ The Wave, 2 Whitham Road
6
+ Sheffield S10 2AH
7
+ judita.preiss@sheffield.ac.uk
8
+
9
+ # Abstract
10
+
11
+ Sharing data containing personal information often requires its anonymization, even when consent for sharing was obtained from the data originator. While approaches exist for automated anonymization of text, the area is not as thoroughly explored in speech. This work focuses on identifying, replacing and inserting replacement named entities synthesized using voice cloning into original audio thereby retaining prosodic information while reducing the likelihood of deanonymization. The approach employs a novel named entity recognition (NER) system built directly on speech by training HuBERT (Hsu et al., 2021) using the English speech NER dataset (Yadav et al., 2020). Name substitutes are found using a masked language model and are synthesized using text to speech voice cloning (Eren and Team, 2021), upon which the substitute named entities are re-inserted into the original text. The approach is prototyped on a sample of the LibriSpeech corpus (Panayotov et al., 2015) with each step evaluated individually.
12
+
13
+ # 1 Introduction
14
+
15
+ Privacy concerns, particularly where an individual could be identified, preclude sharing and therefore automatic exploitation of many data sources. Anonymization, the removal of identifying information, has been automated for text (Lison et al., 2021), including large scale applications such as in clinical (Hartman et al., 2020) or legal settings (Oksanen et al., 2022), with off-the-shelf systems having reported performance of $90 + \%$ (Hartman et al., 2020). To minimize the risk of re-identification, obfuscation - replacing identifying information with a different substitute of the same type - has been explored as an alternative to replacing identifying information with a generic marker (Sousa and Kern, 2022). The main focus in speech has been on voice anonymization, which may not be a problem with speaker consent, with the removal of
16
+
17
+ identifying information receiving less attention. To our knowledge, this is the first prototype to perform named entity obfuscation directly, in the original speaker's voice. Aside from voice cloning, it explores a named entity recognition approach based directly on audio signal and uses language model masking to find appropriate substitutions.
18
+
19
+ Recent advances in speech models, particularly the inclusion of language models within the speech model itself (e.g. HuBERT (Hsu et al., 2021)) gives models greater insight into expected contexts. Previous work on named entity recognition (NER) in speech frequently employs a two step approach, transcribing speech first, followed by the application of existing named entity techniques (Yadav et al., 2020). However, this process has the potential to compound errors as errors in transcription will increase the probability of error in NER. We suggest that the addition of language models into the speech model gives these sufficient power to perform NER directly, and therefore that transcribing (automatic speech recognition, ASR) and NER can be separated, and used to provide a confidence measure in their performance. Divided, the two do not propagate errors in the same way; in fact, treating ASR and NER separately allows one to fix (some of the) errors of the other. The proposed second (final) ASR pass merely produces a confidence value in the result to decide whether a manual check should be performed.
20
+
21
+ The success of few shot learning, where a limited number of examples is used to generalize a pre-trained deep learning model to a new situation, for text-to-speech – and specifically voice cloning (Zhang and Lin, 2022) – enables an alternative, equivalent but different, entity to be inserted in the audio signal in place of the original while preserving the prosody information throughout. While large databases of potential replacement entities can be used to select a substitution, these may not preserve necessary properties (such as gender). Al-
22
+
23
+ ternatively, word embeddings have been used to suggest close (in the multi-dimensional space) alternatives (Abdalla et al., 2020), however these can suffer from the same drawback. We propose using a more contextualized alternative to word embeddings, a masked language model (Devlin et al., 2019), where the model is trained by hiding (masking) words and predictions of the original word are made based on their context.
24
+
25
+ This work makes the following contributions: (1) a complete obfuscation pipeline for names in speech $^{1}$ , (2) a named entity recognizer built directly on speech without requiring text transcription first, (3) alternative (obfuscated) entity replacement selection via masking language model, and (4) confidence annotated system output, allowing for manual correction and / or selection of shareable instances. Section 2 contains the methodology with results in Section 3. Section 4 presents the conclusions and future work.
26
+
27
+ # 2 Methodology
28
+
29
+ The steps of the overall pipeline, which takes in an audio file and produces an obfuscated audio file along with a confidence value, can be found in Figure 1. The approach comprises of three main parts: 1) identification of named entities (NEs) in the audio, 2) finding an equivalent alternative for the original NEs, and 3) reconstructing the original audio to incorporate the replacement NEs. The reconstructed audio can further be used to obtain a confidence value.
30
+
31
+ # 2.1 Identification of named entities
32
+
33
+ To enable the direct use of a language model on speech input for the purpose of named entity recognition (NER), a dataset of audio recordings with annotated NEs is required. The English speech NER dataset (Yadav et al., 2020), which consists of 70,769 waveforms with transcripts annotated with person, location and organization NEs, is used for fine-tuning the Hidden-Unit BERT speech model (HuBERT) (Hsu et al., 2021). HuBERT was selected over other speech models since it learns both acoustic and language models from its inputs and therefore has an increased awareness of context. The success of language models on text NER has demonstrated how crucial context is for this
34
+
35
+ task, and using a model which incorporates both an acoustic and a language model (over acoustic only) allows the approach to exploit the information used in text NER, while managing to avoid the need for a transcript.
36
+
37
+ For training, NE annotations need to be converted to a suitable format, indicating the presence or absence of a NE in each position. Following the inside-outside(-beginning) chunking common to many NER approaches (Tjong Kim Sang and De Meulder, 2003), three formats were explored: 1) character level annotation, mapping each character to either $o$ for a character outside of a named entity, space, or $n$ , $l$ , $e$ for characters within person, location or organization entities respectively, 2) the same character level annotation with separate characters added to denote the beginning of each type of NE (mapping the sentence TELL JACK to oooo mnnn with $m$ denoting the start of a person NE), 3) and, for completeness, annotation was also explored at word level.
38
+
39
+ With the training parameters shown in Appendix A.1, the best NE performance was obtained from the first annotation approach, where NE beginnings were not explicitly annotated. The lower performance of the second annotation approach can be attributed to the low quantity of training data for the beginning marker annotations. While word level annotation was explored, it is likely to need a far greater quantity of data to enable mapping of different length inputs to a single label.
40
+
41
+ Separately, HuBERT was also fine-tuned for automatic speech recognition (ASR), i.e. for transcribing text from audio. Identical training data was used, with annotation being the transcription provided as part of the NE annotation (with NE annotation removed). The same parameters were employed for its training. Alongside the predicted (NE or ASR) annotation, prediction output also yields an offset which can be converted to a time offset. This can be used to identify the position of the NE(s) to be replaced, and after a greedy alignment of the two outputs, the original transcription of the original NE(s) can be extracted.
42
+
43
+ # 2.2 Finding an alternative NE
44
+
45
+ Once a person NE is identified, a suitable equivalent substitution needs to be obtained, i.e. we want to find the word which could replace the NE in the text if the NE was hidden. This is precisely the concept behind masked language models (MLMs):
46
+
47
+ Figure 1: Obfuscation pipeline
48
+ ![](images/486fcf9d398058710632011d88c10eff46b67d5226d5edf62beb14bd3d9045d1.jpg)
49
+ Speech to obfuscate as a wav file
50
+ Transcribed text with NEs & timings
51
+ Obfuscated text
52
+ Generated text using cloned voice
53
+ Extracted timings of substituted NEs
54
+ Inserted generated NEs into orig text
55
+ WER and CER based confidence
56
+
57
+ these models learn their weights so that given a sentence with a hidden (masked) word, the model will output the complete original sentence. The (ASR extracted) original sentences with NEs (as identified by the NE tuned model) masked were passed to a MLM. Three MLM models were explored: BERT, bert-large-uncased model (Devlin et al., 2019), ALBERT, albert-xxlarge-v2, model (Lan et al., 2019) and the distilled RoBERTa base, distilroberta-base, model (Sanh et al., 2019). Each model, with no additional tuning, results in a (pre-specified) number of predictions for each NE in the sentence. Since the models used different datasets in training, their predictions are expected to be different: for example, some may suggest pronouns rather than names.
58
+
59
+ Given the propensity of the MLM to return substitutions which are not names (for example, for the sentence you should call Stella, the model returns you should call him, you should call them, you should call 911 etc), an external list of people names is used for the validation of the proposed suggestions<sup>2</sup> and the highest scoring substitution is returned. Heuristically, the original name is matched against the list to identify whether it is a first or a last name (where possible) and names of the same type suggested by the MLM are returned. Simple rules are employed (last of a sequence of
60
+
61
+ names is a last name, a single name without a title is a first name etc) to decide on a substitution when the original name does not appear in either the first or last name list. Given the nature of MLMs, suggested alternatives are likely to be more common words: as a positive side effect, this should make them easier to render with voice cloning as they may already appear in the reference speech. Should MLM fail to propose any suitable substitutions, one is selected at random from the first & last name lists, subject to the same heuristic rules.
62
+
63
+ # 2.3 Reconstruction of original audio
64
+
65
+ In this work, the substitute NE is to be re-inserted into the original audio. To reduce the risk of de-identification via the extraction of entities which failed to be identified and therefore stayed in their original form, the substitute entity needs to be produced in the speaker's voice. The YourTTS (Casanova et al., 2021) model, which offers the ability for fine-tuning with less than one minute of speech while achieving good results with reasonable quality, can be used to generate the substitute sentence with all available speech of the speaker provided as reference. Note that it is not necessary to remove the original sentence from the reference data: in fact, its presence may result in more accurate rendering of the substitute sentence. The pre-trained model used in this work (tts_models/multilingual/multi-dataset/your_tts)
66
+
67
+ was trained on the the voice cloning toolkit (VCTK) dataset (Yamagishi et al., 2019) which contains approximately 400 sentence, selected from newspaper text, uttered by 108-110 different speakers, giving it its generalization power. Aside from the reference passed to the model on the command line, no tuning or training of the YourTTS model is done in this work.
68
+
69
+ The ASR transcribed text with the substituted NE is generated, rather than the substitution alone, to ensure that the intonation as closely matches the substitution's position in the sentence. The average amplitude of the generated audio is matched to that of the original segment using the Python pydub library. The generated audio is again passed through the HuBERT based NE recognizer, to identify the location of the substituted NE in the generated audio and allow its extraction (note that in this pass, it is not necessary to perform ASR - only the offsets of the replacement NE are required). Should the NE recognizer not identify the same number of NEs as were present in the original, the instance is flagged for manual review.
70
+
71
+ For each NE in the text, a pair of start and end offsets are available: one pair extracted by the HubERT based NE extraction from the original audio and a second pair from the audio generated from the substituted text. This allows the new NEs to be inserted in place of the original NEs. The splicing and concatenation of the waveforms is also performed using the pydub library.
72
+
73
+ A second HuBERT based ASR pass over the newly constructed (substituted) audio, and its comparison against the substituted text using word error rate (WER) and character error rate (CER) gives measures of confidence. Both the metrics, commonly used for evaluation of ASR, allow for sequences of different length to the target – the further the reconstructed audio is from the target sentence, the less likely it is that the substitution will go unnoticed.
74
+
75
+ # 3 Results and discussion
76
+
77
+ # 3.1 Identification of named entities
78
+
79
+ The 70,769 training corpus, sampled at $16\mathrm{kHz}$ , is divided up into $70\%$ for training (49,540 instances), and $15\%$ for both validation and evaluation (10,615 examples). The hubert-base-1s960 model is used with parameters listed in Appendix A.1. The performance in training, indicated via WER and CER, is shown in Table 1 for both ASR and NER.
80
+
81
+ <table><tr><td></td><td>Eval WER</td><td>Eval CER</td></tr><tr><td>ASR</td><td>0.142</td><td>-</td></tr><tr><td>NE</td><td>0.199</td><td>0.063</td></tr></table>
82
+
83
+ Table 1: Metric results of the ASR and NE HuBERT based models
84
+
85
+ <table><tr><td>MLM</td><td>Avg ASR</td><td>NE</td><td>Avg confidence</td></tr><tr><td>ALBERT</td><td>0.980</td><td>13/20</td><td>0.109</td></tr><tr><td>BERT</td><td>0.980</td><td>13/20</td><td>0.098</td></tr><tr><td>RoBERTa</td><td>0.980</td><td>13/20</td><td>0.106</td></tr></table>
86
+
87
+ Table 2: Evaluation of individual steps
88
+
89
+ For the purpose of the demonstrating the viability of the prototype, no hyperparameter optimization was performed, and the larger HuBERT models were not employed, however improvement in performance of both models are expected should this be pursued.
90
+
91
+ # 3.2 Finding an alternative NE
92
+
93
+ A small scale evaluation is performed on a sample of 20 sentences selected at random from the LibriSpeech corpus (Panayotov et al., 2015) across 6 speakers. Sentence selection was subject to them containing a person named entity. While detailed results for the individual steps can be found in Table 2, it should be noted that – for the purposes of this work – the focus is the accuracy of the extraction of the correct NE. The stated accuracy is therefore somewhat misleading: in a number of cases, such as the word Raphael, the named entity is divided into two separate words, suggesting two consecutive named entities. However, this issue is corrected when the NE output is aligned with ASR output and the two separate NE instances are (correctly) merged. Cases with NEs which cannot be aligned are flagged up for manual intervention. The average ASR and (exact match) NE identification do not vary when a different MLM is employed, as this only effects the selection of the substituted name, resulting in different average confidence values.
94
+
95
+ # 3.3 Reconstruction of original audio
96
+
97
+ The voice cloning model requires some reference audio for the speaker: for the 6 selected speakers, 4 have less than 5 audio files (two having 3, and one having only 2 files) in the dataset. The quantity of data used as reference is likely to impact the quality (in terms of its similarity to the original speaker)
98
+
99
+ of the generated text. Given the likely scenarios of deployment, such as dialogues where more than 2 sentences of speech per speaker are available, this may not be representative of the results obtainable with the pipeline. However, it should be noted that even if all substituted instances can be identified as substitutions, the system is equal to a masking technique (where an entity is replaced with a fixed entity, such as a bleep).
100
+
101
+ # 4 Conclusion
102
+
103
+ The prototype described shows the steps of an obfuscation pipeline for speech, which results in substituted person named entities uttered in the original speakers voice and replaced in the original audio signal. The prototype makes use of a named entity recognizer built directly on top of audio input, and employs masked language models to generate the substituted entity. It offers an end-to-end automatic solution enabling the sharing of speech with identifying information removed.
104
+
105
+ The resulting obfuscated speech remains in the original speaker's voice, allowing for the application of traditional speaker anonymization approaches to mask the speaker's identity. The original prosody can be protected by applying a transformation such as waveform change, offering a significant advantage over a technique which generates a complete obfuscated transcription (instead of splicing an obfuscated entity into original speech).
106
+
107
+ # Limitations
108
+
109
+ The cloning model used, YourTTS, is trained on the VCTK dataset which consists of high-quality speech signal. It is therefore unclear whether the same accuracy would be obtained with lower quality signal which may contain some background noise. (However, it should again be noted that even if all substituted instances are identifiable in the output, the system is equivalent to a masking model.)
110
+
111
+ The selection of a person NE replacement does not currently account for continuity: if the same person entity is referred to later, it may be substituted with a different entity to the previous occasion. In addition, the back-off strategy ignores aspects such as gender.
112
+
113
+ To show the approach feasible, very little optimization was performed. Further training and parameter optimization is likely to lead to improved performance for both ASR and NER models.
114
+
115
+ The approach is currently only implemented for person NEs but it could be extended very simply to other types of NEs. However, the degree to which other entity types require obfuscation in speech is not clear to us as mentions of organizations may well not be identifying at all.
116
+
117
+ # Ethics Statement
118
+
119
+ Aside from the ethical concerns regarding voice cloning (covered in e.g. YourTTS (Casanova et al., 2021)), deployment would require a detailed evaluation of risk of de-identification. It is believed that the final confidence and the accuracy of each step can be combined to significantly reduce this risk. The voice itself also offers options for identification: the value of yielding substitutions in the original speaker's voice (and keeping the original prosody) would need to be weighed up against approaches which anonymize voice but preserve prosodic information.
120
+
121
+ # References
122
+
123
+ Mohamed Abdalla, Moustafa Abdalla, Frank Rudzicz, and Graeme Hirsto. 2020. Using word embeddings to improve the privacy of clinical notes. J Am Med Inform Assoc, 27(6):901-907.
124
+ Edresson Casanova, Julian Weber, Christopher Shulby, Arnaldo Candido Junior, Eren Gölgge, and Moacir Antonelli Ponti. 2021. YourTTS: Towards zero-shot multi-speaker TTS and zero-shot voice conversion for everyone. CoRR, abs/2112.02418.
125
+ Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. 2019. BERT: Pre-training of deep bidirectional transformers for language understanding. In NAACL-HLT.
126
+ Gölge Eren and The Coqui TTS Team. 2021. Coqui TTS. https://github.com/coqui-ai/TTS.
127
+ Tzvika Hartman, Michael D. Howell, Jeff Dean, Shlomo Hoory, Ronit Slyper, Itay Laish, Oren Gilon, Danny Vainstein, Greg Corrado, Katherine Chou, Ming Jack Po, Jutta Williams, Scott Ellis, Gavin Bee, Avinatan Hassidim, Rony Amira, Genady Beryozkin, Idan Szpektor, and Yossi Matias. 2020. Customization scenarios for de-identification of clinical notes. BMC Med Inform Decis Mak, 20(14).
128
+ Wei-Ning Hsu, Benjamin Bolte, Yao-Hung Hubert Tsai, Kushal Lakhotia, Ruslan Salakhutdinov, and Abdelrahman Mohamed. 2021. HuBERT: Self-supervised speech representation learning by masked prediction of hidden units. CoRR, abs/2106.07447.
129
+
130
+ Zhenzhong Lan, Mingda Chen, Sebastian Goodman, Kevin Gimpel, Piyush Sharma, and Radu Soricut. 2019. ALBERT: A lite BERT for self-supervised learning of language representations. CoRR, abs/1909.11942.
131
+ Pierre Lison, Ildiko Pilán, David Sanchez, Montserrat Batet, and Lilja Øvrelid. 2021. Anonymisation models for text data: State of the art, challenges and future directions. 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 4188-4203, Online. Association for Computational Linguistics.
132
+ Arttu Oksanen, Eero Hyvönen, Minna Tamper, Jouni Tuominen, Henna Ylimaa, Katja Löytynoja, Matti Kokkonen, and Aki Hietanen. 2022. An anonymization tool for open data publication of legal documents. In Joint Proceedings of the 3th International Workshop on Artificial Intelligence Technologies for Legal Documents (AI4LEGAL 2022) and the 1st International Workshop on Knowledge Graph Summarization (KGSum 2022) co-located with the 21st International Semantic Web Conference (ISWC 2022), Virtual Event, Hangzhou, China, October 23-24, 2022, volume 3257 of CEUR Workshop Proceedings, pages 12-21. CEUR-WS.org.
133
+ Vassil Panayotov, Guoguo Chen, Daniel Povey, and Sanjeev Khudanpur. 2015. Librispeech: an ASR corpus based on public domain audio books. In Proceedings of the International Conference on Acoustics, Speech and Signal Processing (ICASSP). IEEE.
134
+ Victor Sanh, Lysandre Debut, Julien Chaumont, and Thomas Wolf. 2019. Distilbert, a distilled version of bert: smaller, faster, cheaper and lighter. ArXiv, abs/1910.01108.
135
+ Samuel Sousa and Roman Kern. 2022. How to keep text private? a systematic review of deep learning methods for privacy-preserving natural language processing. Artif Intell Rev.
136
+ Erik F. Tjong Kim Sang and Fien De Meulder. 2003. Introduction to the CoNLL-2003 shared task: Language-independent named entity recognition. In Proceedings of the Seventh Conference on Natural Language Learning at HLT-NAACL 2003, pages 142-147.
137
+ Hemant Yadav, Sreyan Ghosh, Yi Yu, and Rajiv Ratn Shah. 2020. End-to-end named entity recognition from English speech. CoRR, abs/2005.11184.
138
+ Junichi Yamagishi, Christophe Veaux, and Kirsten MacDonald. 2019. CSTR VCTK corpus: English multispeaker corpus for CSTR voice cloning toolkit (version 0.92).
139
+ Haitong Zhang and Yue Lin. 2022. Improve few-shot voice cloning using multi-modal learning. In IEEE International Conference on Acoustics, Speech and Signal Processing, pages 8317-8321.
140
+
141
+ # A Model training details
142
+
143
+ # A.1 HuBERT parameters
144
+
145
+ HubertForCTC hubert-base-1s960 model was used with frozen feature encoder, training size of 49540 examples, and validation and evaluation size of 10615, alongside the following parameters:
146
+
147
+ <table><tr><td>Parameter</td><td>Value</td></tr><tr><td>group_by_length</td><td>True</td></tr><tr><td>per_device_train_batch_size</td><td>8</td></tr><tr><td>per_device_eval_batch_size</td><td>batch_size</td></tr><tr><td>evaluation_strategy</td><td>&quot;steps&quot;</td></tr><tr><td>num_train_epochs</td><td>num_epochs</td></tr><tr><td>fp16</td><td>True</td></tr><tr><td>gradient_checkpointing</td><td>True</td></tr><tr><td>save_steps</td><td>500</td></tr><tr><td>eval_steps</td><td>500</td></tr><tr><td>learning_rate</td><td>1e-4</td></tr><tr><td>weight Decay</td><td>0.005</td></tr><tr><td>warmup_steps</td><td>1000</td></tr><tr><td>num_epochs</td><td>30</td></tr></table>
148
+
149
+ A For every submission:
150
+
151
+ A1. Did you describe the limitations of your work?
152
+
153
+ Unnumbered, follows conclusion
154
+
155
+ A2. Did you discuss any potential risks of your work?
156
+
157
+ Ethics Statement discusses potential risks of the work. This follows "Limitations".
158
+
159
+ A3. Do the abstract and introduction summarize the paper's main claims?
160
+
161
+ Section 1
162
+
163
+ A4. Have you used AI writing assistants when working on this paper?
164
+
165
+ Left blank.
166
+
167
+ B Did you use or create scientific artifacts?
168
+
169
+ Left blank.
170
+
171
+ B1. Did you cite the creators of artifacts you used?
172
+
173
+ No response.
174
+
175
+ B2. Did you discuss the license or terms for use and / or distribution of any artifacts?
176
+
177
+ No response.
178
+
179
+ B3. Did you discuss if your use of existing artifact(s) was consistent with their intended use, provided that it was specified? For the artifacts you create, do you specify intended use and whether that is compatible with the original access conditions (in particular, derivatives of data accessed for research purposes should not be used outside of research contexts)?
180
+
181
+ No response.
182
+
183
+ B4. Did you discuss the steps taken to check whether the data that was collected / used contains any information that names or uniquely identifies individual people or offensive content, and the steps taken to protect / anonymize it?
184
+
185
+ No response.
186
+
187
+ B5. Did you provide documentation of the artifacts, e.g., coverage of domains, languages, and linguistic phenomena, demographic groups represented, etc.?
188
+
189
+ No response.
190
+
191
+ B6. Did you report relevant statistics like the number of examples, details of train / test / dev splits, etc. for the data that you used / created? Even for commonly-used benchmark datasets, include the number of examples in train / validation / test splits, as these provide necessary context for a reader to understand experimental results. For example, small differences in accuracy on large test sets may be significant, while on small test sets they may not be.
192
+
193
+ No response.
194
+
195
+ C Did you run computational experiments?
196
+
197
+ Sections 2 & 3
198
+
199
+ C1. Did you report the number of parameters in the models used, the total computational budget (e.g., GPU hours), and computing infrastructure used?
200
+
201
+ Appendix A1. The infrastructure was chosen by the HPC and therefore wasn't known - if needed, the experiments can be rerun with this constrained.
202
+
203
+ C2. Did you discuss the experimental setup, including hyperparameter search and best-found hyperparameter values?
204
+
205
+ Experimental setup discussed, hyperparameter optimization not performed as stated as the paper only checks viability.
206
+
207
+ C3. Did you report descriptive statistics about your results (e.g., error bars around results, summary statistics from sets of experiments), and is it transparent whether you are reporting the max, mean, etc. or just a single run?
208
+
209
+ Average used, clearly denoted. Section 3.
210
+
211
+ C4. If you used existing packages (e.g., for preprocessing, for normalization, or for evaluation), did you report the implementation, model, and parameter settings used (e.g., NLTK, Spacy, ROUGE, etc.)?
212
+
213
+ Not applicable. Left blank.
214
+
215
+ # D Did you use human annotators (e.g., crowdworkers) or research with human participants?
216
+
217
+ Left blank.
218
+
219
+ D1. Did you report the full text of instructions given to participants, including e.g., screenshots, disclaimers of any risks to participants or annotators, etc.?
220
+
221
+ No response.
222
+
223
+ D2. Did you report information about how you recruited (e.g., crowdsourcing platform, students) and paid participants, and discuss if such payment is adequate given the participants' demographic (e.g., country of residence)?
224
+
225
+ No response.
226
+
227
+ D3. Did you discuss whether and how consent was obtained from people whose data you're using/curating? For example, if you collected data via crowdsourcing, did your instructions to crowdworkers explain how the data would be used?
228
+
229
+ No response.
230
+
231
+ D4. Was the data collection protocol approved (or determined exempt) by an ethics review board?
232
+
233
+ No response.
234
+
235
+ D5. Did you report the basic demographic and geographic characteristics of the annotator population that is the source of the data?
236
+
237
+ No response.
2023/Automatic Named Entity Obfuscation in Speech/images.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7265a1dee21a001c91fffd62a0512da87ff68ae08b9637e81da476bdeddf4f28
3
+ size 110764
2023/Automatic Named Entity Obfuscation in Speech/layout.json ADDED
The diff for this file is too large to render. See raw diff
 
2023/Automatic Readability Assessment for Closely Related Languages/44092f05-688c-428e-a5e8-3637a992286e_content_list.json ADDED
The diff for this file is too large to render. See raw diff
 
2023/Automatic Readability Assessment for Closely Related Languages/44092f05-688c-428e-a5e8-3637a992286e_model.json ADDED
The diff for this file is too large to render. See raw diff
 
2023/Automatic Readability Assessment for Closely Related Languages/44092f05-688c-428e-a5e8-3637a992286e_origin.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a0b2923b471efbf13b4f77e4b9266d373eb2edaf9ffb96e39a3f33e1a4580d4a
3
+ size 488218
2023/Automatic Readability Assessment for Closely Related Languages/full.md ADDED
@@ -0,0 +1,348 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Automatic Readability Assessment for Closely Related Languages
2
+
3
+ Joseph Marvin Imperial $\Omega, \Lambda$ Ekaterina Kochmar $^{\Upsilon}$ $\Omega$ National University, Philippines $\Lambda$ University of Bath, UK
4
+ $\Upsilon$ MBZUAI, UAE
5
+ jmri20@bath.ac.uk ekaterina.kochmar@mbzuai.ac.ae
6
+
7
+ # Abstract
8
+
9
+ In recent years, the main focus of research on automatic readability assessment (ARA) has shifted towards using expensive deep learning-based methods with the primary goal of increasing models' accuracy. This, however, is rarely applicable for low-resource languages where traditional handcrafted features are still widely used due to the lack of existing NLP tools to extract deeper linguistic representations. In this work, we take a step back from the technical component and focus on how linguistic aspects such as mutual intelligibility or degree of language relatedness can improve ARA in a low-resource setting. We collect short stories written in three languages in the Philippines – Tagalog, Bikol, and Cebuano – to train readability assessment models and explore the interaction of data and features in various cross-lingual setups. Our results show that the inclusion of CROSSNGO, a novel specialized feature exploiting n-gram overlap applied to languages with high mutual intelligibility, significantly improves the performance of ARA models compared to the use of off-the-shelf large multilingual language models alone. Consequently, when both linguistic representations are combined, we achieve state-of-the-art results for Tagalog and Cebuano, and baseline scores for ARA in Bikol.
10
+
11
+ We release our data and code at github.com/imperialite/ara-close-lang
12
+
13
+ # 1 Introduction
14
+
15
+ Automatic readability assessment (ARA) is the task that aims to approximate the difficulty level of a piece of literary material using computer-aided tools. The need for such application arises from challenges related to the misalignment of difficulty labels when humans with various domain expertise provide annotations, as well as to the difficulty of manual extraction of complex text-based features (Deutsch et al., 2020). At the same time,
16
+
17
+ readability assessment tools often use different definitions of complexity levels based on (a) age level (Vajjala and Meurers, 2012; Xia et al., 2016), (b) grade level (Imperial and Ong, 2020, 2021a), or on established frameworks such as (c) the Common European Framework of Reference for Languages (CEFR) $^{1}$ (François and Fairon, 2012; Pilán et al., 2016; Xia et al., 2016; Reynolds, 2016; Vajjala and Rama, 2018).
18
+
19
+ In recent years, deep learning methods and large language models (LLMs) have gained popularity in the research community. Often studies using these methodologies focus primarily on improving the performance across various metrics. This is particularly manifest in ARA research in languages with a high number of accessible and publicly-available readability corpora such as English (Heilman et al., 2008; Flor et al., 2013; Vajjala and Lucic, 2018) and German (Hancke et al., 2012; Weiss et al., 2021; Weiss and Meurers, 2022) to name a few. At the same time, existing studies focusing on low-resource languages such as Cebuano (Imperial et al., 2022) and Bengala (Islam et al., 2012; Islam and Rahman, 2014) are still at the stage of primarily using traditional features such as word and sentence lengths to train predictive models.
20
+
21
+ We identify two problems that are related to the use of complex neural-based approaches: the success of such models depends on (a) whether there is enough available data to train a model using a customized deep neural network, and (b) in the case of LLMs, whether there exists an available off-the-shelf pre-trained model for a low-resource language of interest. Imperial et al. (2022) have recently shown that merely integrating extracted embeddings from a multilingual BERT model as features for Cebuano, a low-resource Philippine language, does not outperform models trained with
22
+
23
+ orthographic features such as syllable patterns customized for the language. These challenges provide motivation for researchers to further explore methods that do not rely on the availability of large amounts of data or complex pre-trained models and investigate simpler, more interpretable models instead of black box architectures.
24
+
25
+ In this paper, we take a step back and focus on the data available for low-resource Philippine languages and the features extracted from them rather than on the algorithmic aspects. Specifically, we explore a scenario where small readability corpora are available for languages that are closely related or belong to one major language family tree. To the best of our knowledge, incorporating the degree of language closeness or relatedness has not been explored before in any cross-lingual ARA setup. In this study, we make the following contributions:
26
+
27
+ 1. We conduct an extensive pioneer study on readability assessment in a cross-lingual setting using three closely related Philippine languages: Tagalog, Bikolano, and Cebuano.
28
+ 2. We extract various feature sets ranging from linguistically motivated to neural embeddings, and empirically evaluate how they affect the performance of readability models in a singular, pairwise, and full cross-lingual setup.
29
+ 3. We introduce cross-lingual Character N-gram Overlap (CROSSNGO), a novel feature applicable to readability assessment in closely related languages.
30
+ 4. We also introduce and release a new readability corpus for Bikolano, one of the major languages in the Philippines.
31
+ 5. Finally, we set a baseline for ARA in Bikol and report state-of-the-art results for Tagalog and Cebuano.
32
+
33
+ # 2 Background
34
+
35
+ # 2.1 The Philippine Linguistic Profile
36
+
37
+ The Philippines is a linguistically diverse country in Southeast Asia (SEA) with over 180 languages spoken by over 100 million people. Languages in the Philippines can be best described as morphologically rich due to their free-word order structures and high number of possible inflections, full and partial duplications, and compound words (Go and
38
+
39
+ Nocon, 2017). In addition, following lexicostatistical studies, languages are divided into two subgroups, northern and central, wherein the major languages Ilokano, Pangasinan, and Kapampangan belong to the northern subgroup, and Tagalog, Bikol, Hiligaynon, and Cebuano are allocated to the central subgroup (Walton, 1979; Constantino, 1998). Figure 1 illustrates the central subgroup of the Philippine language family tree.
40
+
41
+ ![](images/4df3b8c5dd76c9525a350bf76862b13f210998216f1b4493c9b93bb7d4f2bffc.jpg)
42
+ Figure 1: The central subgroup of the Philippine language family tree highlighting the origins of Tagalog, Bikol, and Cebuano.
43
+
44
+ In this study, our readability experiments focus on three major Philippine languages, Tagalog, Cebuano, and Bikol, which we refer to further in the paper with their corresponding ISO-639-2 language codes as TGL, CEB, and BCL, respectively.
45
+
46
+ # 2.2 Mutual Intelligibility
47
+
48
+ Preliminary linguistic profiling studies of the main Philippine languages such as by McFarland (2004) show that Tagalog, Bikol, and Cebuano are more closely related to one another than any languages in the northern family tree. A language's closeness or its degree of relatedness to another language from the same family (sub)tree is commonly referred to as mutual intelligibility (Bloomfield, 1926). Such similarities can be seen across multiple aspects, including, for example (a) syllable patterns where all three languages have similar three case-marking particles - ang (En: the), ng (En: of), and sa (En: at) for Bikol and Tagalog, and ug instead of sa for Cebuano; and (b) shared words, e.g. mata (En: eye) and tubig (En: water).
49
+
50
+ For languages belonging to one greater subgroup in the case of Central Philippine for Tagalog, Bikol, and Cebuano, showing stronger quantitative evidence of mutual intelligibility may provide additional proof that these languages are indeed, at some level, closely related to each other. Thus,
51
+
52
+ to contribute towards further understanding of mutual intelligibility in the Philippines language space, we apply two linguistic similarity-based measures using character n-gram overlap and genetic distance which we discuss in the sections below.
53
+
54
+ <table><tr><td></td><td>TGL</td><td>BCL</td><td>CEB</td><td>ENG</td></tr><tr><td>TGL</td><td>1.000</td><td>0.810</td><td>0.812</td><td>0.270</td></tr><tr><td>BCL</td><td>0.810</td><td>1.000</td><td>0.789</td><td>0.263</td></tr><tr><td>CEB</td><td>0.812</td><td>0.789</td><td>1.000</td><td>0.213</td></tr><tr><td>ENG</td><td>0.270</td><td>0.263</td><td>0.213</td><td>1.000</td></tr></table>
55
+
56
+ (a) Bigram Character Overlap
57
+
58
+ <table><tr><td></td><td>TGL</td><td>BCL</td><td>CEB</td><td>ENG</td></tr><tr><td>TGL</td><td>1.000</td><td>0.588</td><td>0.628</td><td>0.121</td></tr><tr><td>BCL</td><td>0.588</td><td>1.000</td><td>0.533</td><td>0.144</td></tr><tr><td>CEB</td><td>0.628</td><td>0.533</td><td>1.000</td><td>0.090</td></tr><tr><td>ENG</td><td>0.121</td><td>0.144</td><td>0.090</td><td>1.000</td></tr></table>
59
+
60
+ Character N-Gram Overlap. For our first measure, we use the overlap in character bigrams and trigrams for every pair from the selected set of languages. To do this, we simply extract and rank the top occurring character bigrams and trigrams for a given language and calculate the Rank-Biased Overlap $(\mathrm{RBO})^2$ (Webber et al., 2010). RBO provides a measure of similarity between two lists while preserving the ranking. We also add English (ENG) as an unrelated control language not belonging to the Philippine family tree for comparison. We use the CommonCore readability dataset (Flor et al., 2013) for English as it also has three readability levels, and the level distribution is the most similar to the dataset of the three Philippine languages. Further information on the datasets in Tagalog, Bikol, and Cebuano can be found in Section 3. For all languages, we extract the top $25\%$ of the most frequently occurring bigrams and trigrams for analysis. The top 40 most frequent bigrams and trigrams can be found in the Appendix.
61
+
62
+ Table 1 presents character overlap for bigrams and trigrams in a pairwise manner. These results show that all three Philippine languages have character overlap greater than $75\%$ for bigrams among themselves while overlap with English is below $27\%$ . This pattern is observed again
63
+
64
+ in trigrams with the overlap levels of $53.3\%$ to $62.8\%$ between Tagalog, Bikol, and Cebuano and those below $15\%$ for English. These ranges of mutual intelligibility values for bigram and trigram overlap serve as an estimate of the degree of relatedness between the three Philippine languages, with the values for English serving as a baseline for an unrelated language.
65
+
66
+ Genetic Distance. As a secondary measure of mutual intelligibility, we calculate the genetic distance score (Beau and Crabbé, 2022) for each pair of languages studied in this work. Similar to the character n-gram overlap analysis, we add English for comparison purposes. Genetic distance (Beau-fils and Tomin, 2020) is an automatic measure for quantifying the distance between two languages without the need for human judgments. This metric requires a list of words and their equivalent translations for any two languages of interest and calculates the number of exact consonant matches using the following formula:
67
+
68
+ $$
69
+ \mathrm {G e n e t i c D i s t a n c e} = 1 0 0 - \left(\frac {\operatorname {m a t c h} \left(l _ {1} , l _ {2}\right)}{n}\right) (1)
70
+ $$
71
+
72
+ where $l_{1}$ and $l_{2}$ are a pair of languages, $n$ is the total number of words for analysis (usually 100), and match(·) is a function for extracting the consonant patterns for each word from the list as described in Beaufils and Tomin (2020). The metric is measured as a distance; thus, the values closer to 100 denote higher dissimilarity or non-relatedness.
73
+
74
+ (b) Trigram Character Overlap
75
+ Table 1: Mutual Intelligibility using Bigram and TriGram Character N-Gram Overlap
76
+
77
+ <table><tr><td></td><td>TGL</td><td>BCL</td><td>CEB</td><td>ENG</td></tr><tr><td>TGL</td><td>0.000</td><td>37.083</td><td>24.846</td><td>95.690</td></tr><tr><td>BCL</td><td>37.083</td><td>0.000</td><td>31.933</td><td>70.735</td></tr><tr><td>CEB</td><td>24.846</td><td>31.933</td><td>0.000</td><td>90.970</td></tr><tr><td>ENG</td><td>95.690</td><td>70.735</td><td>90.970</td><td>0.000</td></tr></table>
78
+
79
+ <table><tr><td>Range</td><td>Meaning</td></tr><tr><td>Between 1 and 30</td><td>Highly related languages</td></tr><tr><td>Between 30 and 50</td><td>Related languages</td></tr><tr><td>Between 50 and 70</td><td>Remotely related languages</td></tr><tr><td>Between 70 and 78</td><td>Very remotely related languages</td></tr><tr><td>Between 78 and 100</td><td>No recognizable relationship</td></tr></table>
80
+
81
+ Table 2: Mutual Intelligibility using Genetic Distance with Mapping from Beaufils and Tomin (2020).
82
+
83
+ Table 2 shows the calculated genetic distance scores for each pair of languages including English. The mapping provided in the table is the prescribed guide from Beaufils and Tomin (2020).
84
+
85
+ Judging by these results, the Philippine languages have genetic distance scores within the related and highly related languages range with the Tagalog-Cebuano pair showing the closest language distance of 24.846. Meanwhile, genetic distance scores between all considered Philippine languages and English fall within the very remotely related to no recognizable relationship categories, with the Tagalog-English pair showing the highest distance from each other. Similar to the character n-gram overlap, these results strengthen our initial observation and provide empirical evidence for mutual intelligibility between Tagalog, Bikol, and Cebuano languages which, beyond this study, may also be used in future linguistic research.
86
+
87
+ # 3 Readability Corpora in Philippine Languages
88
+
89
+ We have compiled open source readability datasets for Tagalog, Cebuano, and Bikol from online library websites and repositories. Each data instance in this study is a fictional short story. Table 3 shows the statistical breakdown and additional information on the levels in each readability dataset across different languages.
90
+
91
+ Tagalog and Cebuano. Datasets in these languages have already been used in previous research, including Imperial et al. (2019); Imperial and Ong (2020); Imperial (2021); Imperial and Ong (2021a); Imperial et al. (2022). We use the same datasets as in previous research and incorporate them into this study for comparison. For Tagalog, we have assembled 265 instances of children's fictional stories from Adarna House<sup>3</sup> and the Department of Education (DepED)<sup>4</sup>. For Cebuano, we use the dataset collected by Imperial et al. (2022) from Let's Read Asia<sup>5</sup> and Bloom Library<sup>6</sup>, which were funded by the Summer Institute of Linguistics (SIL International) and BookLabs to make literary materials in multiple languages available to the public.
92
+
93
+ Bikol. There are no pre-compiled datasets available for readability assessment in Bikol yet. For this, we collected all available Bikol short stories from Let's Read Asia and Bloom Library totaling 150 instances split into 68, 27, and 55 for
94
+
95
+ levels 1 to 3 respectively.
96
+
97
+ All collected data for this study follows the standard leveling scheme for early-grade learners or the first three grades from the K-12 Basic Curriculum in the Philippines. Each instance has been annotated by experts with a level from 1 to 3 as seen in Table 3. We use these annotations as target labels in our experiments. Finally, all datasets used in this study can be manually downloaded from their respective websites (see footnotes for links) under the Creative Commons BY 4.0 license.
98
+
99
+ # 4 Experimental Setup
100
+
101
+ # 4.1 ML Setup
102
+
103
+ In this study, our primary focus is on the depth of analysis of the traditional and neural features used in a cross-lingual setting applied to closely related languages. Thus, we use a vanilla Random Forest model which has been previously shown to be the best-performing monolingual-trained model for ARA in Tagalog and Cebuano (Imperial and Ong, 2021a; Imperial et al., 2022). We leave the technical breadth of exploring other supervised algorithms to future work.
104
+
105
+ We use a stratified $k$ -fold approach with $k = 5$ to have well-represented samples per class for a small-dataset scenario used in this study. We report accuracy as the main evaluation metric across all experiments for the ease of performance comparison with previous work (see Section 5). We use WEKA 3.8 (Witten et al., 1999)<sup>8</sup> for all our modeling and evaluation and set hyperparameters of the Random Forest algorithm to their default values as listed in the Appendix.
106
+
107
+ # 4.2 Linguistic Features
108
+
109
+ We extract and consider a wide variety of features inspired by: (a) handcrafted predictors from previous work, (b) representations from a multilingual Transformer-based model (mBERT), and (c) CROSSNGO, a novel feature applicable to readability assessment in closely related languages. We discuss each feature group below.
110
+
111
+ Traditional Handcrafted Features (TRAD). We integrate available traditional surface-based and
112
+
113
+ <table><tr><td>Source</td><td>Language</td><td>Level</td><td>Doc Count</td><td>Sent Count</td><td>Vocab</td></tr><tr><td rowspan="3">Adarna and DepED</td><td rowspan="3">TGL (265)</td><td>L1</td><td>72</td><td>2774</td><td>4027</td></tr><tr><td>L2</td><td>96</td><td>4520</td><td>7285</td></tr><tr><td>L3</td><td>97</td><td>10957</td><td>12130</td></tr><tr><td rowspan="3">Let&#x27;s Read Asia and Bloom Library</td><td rowspan="3">BCL (150)</td><td>L1</td><td>68</td><td>1578</td><td>2674</td></tr><tr><td>L2</td><td>27</td><td>1144</td><td>2009</td></tr><tr><td>L3</td><td>55</td><td>3347</td><td>5509</td></tr><tr><td rowspan="3">Let&#x27;s Read Asia and Bloom Library</td><td rowspan="3">CBL (349)</td><td>L1</td><td>167</td><td>1173</td><td>2184</td></tr><tr><td>L2</td><td>100</td><td>2803</td><td>4003</td></tr><tr><td>L3</td><td>82</td><td>3794</td><td>6115</td></tr></table>
114
+
115
+ Table 3: Statistics on the readability corpora in Tagalog, Cebuano, and Bikol used in this study. The numbers in the brackets provided in the second column are the total number of documents per language broken down in the third and fourth columns per grade level. Doc Count and Sent Count denote the number of short story instances and the number of sentences per story. Vocabulary is the size of the vocabulary or of the accumulated unique word lists per level.
116
+
117
+ syllable pattern-based features in this study as predictors of text complexity. These features have been widely used in previous research on ARA in Tagalog and Cebuano (Imperial and Ong, 2020; Imperial et al., 2022). For Bikol, this is the first-ever study to develop a readability assessment model. In the case of low resource languages similar to those used in this study, these predictors are still the go-to features in ARA and have been empirically proven effective for Tagalog and Cebuano (Imperial and Ong, 2021b). We have extracted a total of 18 traditional features for each language, including:
118
+
119
+ 1. The total number of words, phrases, and sentences (3).
120
+ 2. Average word length, sentence length, and the number of syllables per word (3).
121
+ 3. The total number of polysyllable words of more than 5 syllables (1).
122
+ 4. Density of consonant clusters or frequency of consonants without intervening vowels in a word (e.g. Tagalog: sastre, En: dressmaker) (1).
123
+ 5. Densities of syllable patterns using the following templates $\{\mathrm{v},\mathrm{cv},\mathrm{vc},\mathrm{cvc},\mathrm{vcc},\mathrm{ccv},\mathrm{cvcc},$ ccvc, ccvcc, ccvccc}, where v and c are vowels and consonants respectively (10).
124
+
125
+ Multilingual Neural Embeddings (mBERT). In addition to the surface-based features, we explore contextual representations from a multilingual Transformer-based large language model via mBERT (Devlin et al., 2019). Previous research on probing BERT has shown convincing evidence
126
+
127
+ that various types of linguistic information (e.g. semantic and syntactic knowledge) are distributed within its twelve layers (Tenney et al., 2019; Rogers et al., 2020). Applying this to ARA, Imperial (2021) showed that BERT embeddings could act as a substitute feature set for lower-resource languages such as Filipino, for which NLP tools like POS taggers are lacking.
128
+
129
+ For this study, we specifically chose mBERT as this particular model has been trained using Wikipedia data in 104 different languages including Tagalog and Cebuano. Bikol is not included in any available off-the-shelf Transformer-based language models due to extremely limited online resources not large enough for training. Nonetheless, we still used the representations provided by mBERT noting its high intelligibility with Tagalog and Cebuano. Feature-wise, we use the mean-pooled representations of the entire twelve layers of mBERT via the sentence-transformers library (Reimers and Gurevych, 2019). Each instance in our readability data has an mBERT embedding representation of 768 dimensions.
130
+
131
+ Cross-lingual Character N-Gram Overlap (CROSSNGO). N-gram overlap has been used previously in various NLP tasks applied to Philippine language data such as language identification (Oco et al., 2013a; Cruz et al., 2016), spell checking and correction (Cheng et al., 2007; Octaviano and Borra, 2017; Go et al., 2017), and clustering (Oco et al., 2013b). Drawing inspiration from this fact and from the quantitative evidence of mutual intelligibility between Philippine languages presented in Section 2, we posit that a new feature designed specifically for closely related language data might improve the performance of the readability assess
132
+
133
+ ment models. Thus, we introduce CROSSNGO, which quantifies linguistic similarity using character overlap from a curated list of high-frequency n-grams within languages of high mutual intelligibility. We propose the following formula for calculating this metric:
134
+
135
+ $$
136
+ \operatorname {C r o s s N G O} _ {L, n} = \frac {m (L) \cap m (d)}{\operatorname {c o u n t} (m (d))} \tag {2}
137
+ $$
138
+
139
+ where $n \in \{2,3\}$ denotes bigrams and trigrams, and $m(\cdot)$ is a function that extracts unique n-grams from a document instance $d$ and compares them to a list of top n-grams from a specific language $L$ . For each instance in a dataset, a vector containing three new features will be added representing the overlap between the text and the top n-grams from each of the three languages. We apply this calculation to both bigrams and trigrams using the n-gram lists for Tagalog, Bikol, and Cebuano obtained from the preliminary experiments, which results in a total of 6 new features.
140
+
141
+ While we presented two quantitative methods of mutual intelligibility in Section 2, only CROSS-NGO is applied as a metric and a feature for this study. Staying faithful to the work of Beaufils and Tomin (2020), we did not use Genetic Distance to generate another set of features as it was originally developed as a language-to-language metric. Thus, we use it only as additional secondary evidence of language similarity. At the same time, we note that the proposed CROSS-NGO bears certain conceptual similarities to Genetic Distance as it measures the frequency of n-gram overlap with other languages. We perform an ablation study and demonstrate the contribution of individual feature sets in Section 5.
142
+
143
+ # 5 Results and Discussion
144
+
145
+ Table 4 shows the accuracy values obtained when training Random Forest models with various combinations of feature groups for each language of interest. The experiments were divided into three setups: (a) singular cross-lingual $(l_{1}\rightarrow l_{2})$ , (b) pairwise cross-lingual $([l_{1} + l_{2}]\rightarrow l_{3})$ , and (c) full cross-lingual $([l_{1} + l_{2} + l_{3}]\rightarrow l_{1})$ , each corresponding to a separate subsection of Table 4. We use the term cross-lingual in this context when a model is trained with a readability corpus from a chosen language $l_{n}$ or a combination of languages and evaluated with a test set from another language $l_{m}$ as is demonstrated in Table 4. Similar to our preliminary experiments (Section 2), we include English using
146
+
147
+ the CommonCore dataset as counter-evidence for comparison with closely related languages.
148
+
149
+ # 5.1 Low-Resource Languages Benefit from Specialized Cross-lingual Features
150
+
151
+ For the singular cross-lingual experiments, the effectiveness of exploiting the bigram and trigram overlap via CROSSNGO is demonstrated by high scores for Bikol and Cebuano (75.862 and 78.270) and comparable performance for Tagalog (50.100). Moreover, only for this setup, there is an observed trend where traditional features combined with CROSSNGO outperform mBERT embeddings or the combination of all features for the respective language pair $l_{1} \rightarrow l_{2}$ . For Tagalog, this results in 50.100 vs. 26.921 and 23.077; for Bikol - 75.862 vs. 68.965 and 69.000; for Cebuano - 78.270 vs. 71.015 and 73.913. In terms of cross-linguality, in the case of Tagalog, using a model trained with Bikol data proves to be more effective than training with the original Tagalog data with approximately 5.8-point difference in accuracy. However, we still recommend the Tagalog model using all features with 50.000 accuracy since the 0.1 difference is not a significant improvement. Consequently, this trend is not observed in the Bikol and Cebuano experiments where the best-performing models of readability assessment are trained on the data from the same language $l_{1} \rightarrow l_{1}$ .
152
+
153
+ To further confirm if the addition of the CROSS-NGO feature statistically improves models' performance as compared to the representations from mBERT for low-resource languages, we aggregate the scores from the TRAD+CROSSNGO group and compare them with the scores obtained when we use mBERT embeddings only, conducting a $t$ -test. We did not include the scores using the combination of all types of features as it would confound the significance test. We achieve statistical significance at $\alpha = 0.01$ level ( $p = 0.006$ ) which shows that using traditional handcrafted features extended with CROSSNGO significantly improves ARA models for low-resource languages, provided the availability of data in a closely related language in the case of non-availability of multilingual LLMs (e.g., lack of mBERT model in Bikol).
154
+
155
+ # 5.2 Inclusion of a Closely Related Language in Data Produces More Confident Predictions
156
+
157
+ For pairwise cross-lingual experiments, we investigate the effect of adding a closely related language
158
+
159
+ <table><tr><td rowspan="2">Model</td><td colspan="4">TGL</td><td colspan="4">BCL</td><td colspan="4">CEB</td></tr><tr><td>TRAD</td><td>TRAD + CrossNGO</td><td>mBERT Emdlng</td><td>ALL</td><td>TRAD</td><td>TRAD + CrossNGO</td><td>mBERT Emdlng</td><td>ALL</td><td>TRAD</td><td>TRAD + CrossNGO</td><td>mBERT Emdlng</td><td>ALL</td></tr><tr><td>TGL</td><td>43.153</td><td>44.231</td><td>46.100</td><td>50.000</td><td>55.172</td><td>41.379</td><td>20.689</td><td>24.137</td><td>53.623</td><td>57.971</td><td>47.826</td><td>50.725</td></tr><tr><td>BCL</td><td>50.000</td><td>50.100</td><td>26.921</td><td>23.077</td><td>74.620</td><td>75.862</td><td>68.965</td><td>69.000</td><td>63.768</td><td>62.320</td><td>60.869</td><td>66.667</td></tr><tr><td>CEB</td><td>32.692</td><td>38.462</td><td>34.615</td><td>42.308</td><td>51.720</td><td>65.517</td><td>48.276</td><td>44.823</td><td>74.058</td><td>78.270</td><td>71.015</td><td>73.913</td></tr><tr><td>ENG*</td><td>26.923</td><td>44.230</td><td>28.846</td><td>26.923</td><td>48.275</td><td>37.681</td><td>48.250</td><td>48.275</td><td>46.375</td><td>62.018</td><td>43.478</td><td>43.376</td></tr><tr><td>TGL+BCL</td><td>51.101</td><td>51.923</td><td>40.384</td><td>57.692</td><td>72.441</td><td>69.965</td><td>69.000</td><td>68.966</td><td>56.521</td><td>60.869</td><td>62.318</td><td>69.565</td></tr><tr><td>BCL+CEB</td><td>48.077</td><td>50.000</td><td>42.307</td><td>48.076</td><td>68.956</td><td>72.414</td><td>75.611</td><td>75.862</td><td>74.400</td><td>75.362</td><td>75.362</td><td>79.710</td></tr><tr><td>CEB+TGL</td><td>44.230</td><td>36.538</td><td>48.076</td><td>48.100</td><td>52.720</td><td>55.172</td><td>41.379</td><td>34.483</td><td>77.711</td><td>76.811</td><td>73.913</td><td>74.464</td></tr><tr><td>ALL</td><td>50.000</td><td>52.910</td><td>46.153</td><td>32.692</td><td>72.413</td><td>79.113</td><td>65.517</td><td>79.328</td><td>77.710</td><td>78.000</td><td>78.261</td><td>75.630</td></tr></table>
160
+
161
+ Table 4: The accuracy of cross-lingual modeling per language with various iterations using different combinations of traditional and neural-based features. The underlined values correspond to the best model for each of the three setups while the boldfaced values correspond to the overall highest-performing model for each language across all setups. We included English as counter-evidence only for the singular cross-lingual setup.
162
+
163
+ on a model's performance using confusion matrices. As the middle section of Table 4 demonstrates, there are three possible pairwise combinations of Tagalog, Bikol, and Cebuano tested on each individual language. As there can be numerous ways to analyze the table, we highlight the results of the cross-lingual models with the top-performing pair and their utilized feature groups and compare them to their equivalent models in the singular cross-lingual experiment. Figure 2 illustrates this method of comparison for each language.
164
+
165
+ In the case of the Tagalog-Tagalog pair, most misclassifications occur between grades 1 and 2 in both training and test data using all features. This, in turn, is alleviated by incorporating the Bikol dataset in the training data, which reduces the level of confusion by approximately $7\%$ . The inclusion of Bikol also improves classification between grades 2 and 3 by three instances. In the case of the Bikol test data, the same finding is observed for the combined Bikol and Cebuano model using all features, where confusion in classifying grades 1 and 3 is reduced by two instances. Lastly, for Cebuano, the top-performing model in the pairwise cross-lingual setup includes Bikol data and uses all features. For this model, misclassifications in predicting grade 1 against the other two levels are reduced, and performance for predicting grade 3 is improved.
166
+
167
+ We further corroborate our observations that pairwise cross-lingual models outperform singular cross-lingual models by aggregating the scores from the two setups and running a $t$ -test. Further to the results reported in the previous section, we observe statistically significant difference at the $\alpha = 0.01$ level ( $p = 0.003$ ) when pairwise cross-lingual models are compared to singular cross
168
+
169
+ lingual models. Overall, our findings provide solid empirical evidence that including a closely related language in the training data for a low-resource language significantly improves performance.
170
+
171
+ # 5.3 Combining Specialized Cross-Linguial Features with Multilingual Neural Embeddings Achieves SOTA Results
172
+
173
+ While the previous sections highlight the significant increase in performance when using traditional features with CROSSNGO as compared to mBERT embeddings only, we now discuss results and contributions when both linguistic representations are combined. As is demonstrated in Table 4, the scores obtained using the combined features applied to Tagalog and Cebuano achieve state-of-the-art results for ARA in these languages. For Tagalog, our model's accuracy of 57.692 outperforms the SVM with 57.10 accuracy and the Random Forest model with 46.70 presented in Imperial (2021). For Cebuano, our model achieves 79.710 beating the Random Forest model presented in Imperial et al. (2022) with a score of 57.485 with both models utilizing the same Cebuano dataset. Lastly, as there are no automated readability assessment models yet for Bikol, we report a baseline accuracy of 79.328, which is achieved using a model with a combination of traditional features (extended with CROSSNGO) and mBERT embeddings extracted from data in all three Philippine languages.
174
+
175
+ # 5.4 Conventional Fine-Tuning of mBERT Underperforms for Low Resource Cross-Lingual ARA
176
+
177
+ While the main focus of our work is on using traditional machine learning models with Random Forest, we explore if the standard approach for fine
178
+
179
+ ![](images/f11d926050fca5af46c5a1ed854ab1b6a36cb69a0b0e953245a11cc7fa031280.jpg)
180
+ (a) TGL only trained model (left) against TGL+BCL model (right) using all features for ARA in TGL.
181
+
182
+ ![](images/717517916ba9fdeb607989f9c8c3f317959bf83387bc79c204b351447fd46671.jpg)
183
+
184
+ ![](images/04af004c677627840dde502f76e3631486bae6e86ac4ba92e30745d48d930a53.jpg)
185
+ (b) BCL only trained model (left) against BCL+CEB model (right) using all features for ARA in BCL.
186
+
187
+ ![](images/1086f871c35a42713659f025143652f1f1711efad560a46d64700a9c4ec1c8cd.jpg)
188
+
189
+ ![](images/4ea4d20192076b47a34e4ace9432cf7165a123145d278d44dd0318b49af16c13.jpg)
190
+ (c) BCL only trained model (left) against BCL+CEB model (right) using multilingual embeddings for ARA in CEB.
191
+
192
+ ![](images/e06d2504061c6da8565e4c7f78eb7d9480d939c24b3a20a7d0b29e6ce27b7410.jpg)
193
+ Figure 2: Confusion matrices for pairwise cross-lingual setup for all three languages. All models using an additional language dataset for ARA achieved an improved performance with an average of 10.131 across the board (7.692 for TGL, 6.862 for BCL, and 15.841 for CEB).
194
+
195
+ <table><tr><td>Model</td><td>TGL</td><td>BCL</td><td>CEB</td></tr><tr><td>TGL</td><td>0.420</td><td>0.500</td><td>0.333</td></tr><tr><td>BCL</td><td>0.420</td><td>0.633</td><td>0.575</td></tr><tr><td>CEB</td><td>0.520</td><td>0.500</td><td>0.697</td></tr><tr><td>TGL+BCL</td><td>0.440</td><td>0.566</td><td>0.469</td></tr><tr><td>BCL+CEB</td><td>0.400</td><td>0.637</td><td>0.666</td></tr><tr><td>CEB+TGL</td><td>0.480</td><td>0.500</td><td>0.590</td></tr><tr><td>*ALL</td><td>0.460</td><td>0.633</td><td>0.636</td></tr></table>
196
+
197
+ Table 5: The accuracy scores of the conventional finetuning strategy applied to LLMs for various methods of cross-lingual ARA using the same uncased mBERT model for the extraction of embeddings.
198
+
199
+ tuning LLMs such as mBERT can produce comparable performance. We use the same uncased mBERT model as presented in Section 4.
200
+
201
+ Table 5 shows the performance of singular, pairwise, and full cross-lingual setups formatted similarly to Table 4. These results confirm the findings of Ibañez et al. (2022), who have applied a similar setup to monolingual Tagalog ARA using a Tagalog BERT model. Judging by their results, the conventional fine-tuning approach proved to be inferior to the traditional way of extracting linguistic features from text and training a machine learning model like SVM or Random Forest. For this study, the highest-performing setups for Tagalog and Cebuano use Cebuano data only, and that for Bikol uses the combined Cebuano + Bikol datasets. None of the fine-tuned models outperform those presented in Table 4 using combinations of traditional features and CROSSNGO. While previous work in cross-lingual ARA by Lee and Vajjala (2022) and Madrazo Azpiazu and Pera (2020) achieved relatively high performance with non-closely related languages using LLMs, we obtain less promising results which we can attribute to: (a) the use of datasets of substantially smaller sizes (a total of 13,786 documents used in Azpiazu and Pera (2019) and 17,518 in Lee and Vajjala (2022) vs. only 764 in our study), and (b) lack of diverse data sources since only Wikipedia dumps were used for Tagalog and Cebuano for training the mBERT model.
202
+
203
+ # 6 Conclusion
204
+
205
+ In this work, we took a step back from the trend of exploring various technical components of the complex, deep learning models and, instead, focused on studying the potential effectiveness of linguistic characteristics such as mutual intelligibility for ARA in closely related Philippine languages – Tagalog, Bikol, and Cebuano. We implemented three cross-lingual setups to closely study the effects of interaction between the three languages and proposed a new feature utilizing n-gram overlap, CROSSNGO, which is specially developed for cross-lingual ARA using closely related languages. Our results show that: (a) using CROSSNGO combined with handcrafted features achieves significantly higher performance than using mBERT embeddings, (b) the inclusion of another closely related Philippine language reduces model confusion, and (c) using the conventional fine-tuning for LLMs like mBERT in this setup still does not
206
+
207
+ outperform models with traditional features. Consequently, we come to the conclusion that using languages with high intelligibility is more suited for cross-lingual ARA. This is demonstrated in experiments with English added as an example of a non-related language, in which we do not achieve a substantial increase in performances for Tagalog, Cebuano, and Bikol.
208
+
209
+ Our results agree with the findings of previous studies in cross-lingual ARA such as those of Madrazo Azpiazu and Pera (2020) using English, Spanish, Basque, Italian, French, Catalan, and Weiss et al. (2021) using English and German, that also showed that the inclusion of additional language data can improve ARA results on other languages. However, our work is primarily motivated by the degree of language relatedness: we show that better results can be achieved for ARA in low-resource languages if we use closely related languages rather than any language, including non-related ones like English. Our study also provides an encouragement for researchers to consider approaches grounded in linguistic theories which can potentially be used to improve the performance in NLP tasks rather than always resorting to models that are expensive to train and hard to interpret.
210
+
211
+ # 7 Limitations
212
+
213
+ We discuss some limitations of our current work which can be further explored in the future.
214
+
215
+ On Data Format. We specifically use fictional short stories as our primary data for the study since we require gold standard labels for this document classification task. Moreover, fictional short stories are easier to find as they often come with a specified grade level compared to other types of literary texts such as magazines or web articles written in any of the three Philippine languages. We do not claim that our models are able to generalize on these other types of literary materials or on other types of closely related language pairs unless a full study is conducted which is outside the scope of this work.
216
+
217
+ On Handcrafted Features. We were only able to use traditional handcrafted features covering count-based predictors such as sentence or word count and syllable pattern-based features for training the Random Forest models. We did not extract other feature sets one may find in the previous work on
218
+
219
+ English such as lexical density or discourse-based features since such features require NLP tools that are able to extract POS, named entities, relations, and discourse patterns that do not yet exist for all three Philippine languages used in this study. The work of Imperial and Ong (2021b) covered a small set of lexical features such as type-token ratio and compound word density for readability assessment in Tagalog. Still, we cannot use this approach since all languages would need to have the same number of features as is a standard practice in model training.
220
+
221
+ On Model Training. Our choice of the Random Forest algorithm for training the ARA models is based on the substantial amount of previous work supporting the application of this method to low-resource ARA, e.g., to Tagalog and Cebuano in a monolingual setup (Imperial and Ong, 2020, 2021a; Imperial, 2021; Imperial et al., 2022), where it achieved better results than other algorithms such as SVM or Logistic Regression. One can consider these algorithms for comparison but the analysis of each ARA model trained with various algorithms to the same level of depth and focus that we have given to the Random Forest classifier in the present study would require a considerable amount of time as well as a higher page limit.
222
+
223
+ On Current Measures of Mutual Intelligibility. The majority of existing literature in linguistics, specifically on the topic of mutual intelligibility in Philippine languages, discusses examples in the context of speech communication. As such, one might claim that Cebuano and Tagalog are not mutually intelligible by giving an example where a Tagalog speaker may not fully comprehend (or only recognize a few common words) another speaker if they are talking in Cebuano. While this is certainly true, in this study, we specifically focus on the mutual intelligibility of languages at a word and character level via written texts such as children's fiction books. From this, we see a substantial degree of closeness between Tagalog, Cebuano, and Bikol compared to English. Thus, based on our results, we posit that mutual intelligibility may be used as an additional feature (see CROSSNGO in Section 4) for text-based tasks such as readability assessment. We leave the exploration of our proposed novel feature in the speech communication
224
+
225
+ area to future work.
226
+
227
+ # 8 Ethical Considerations
228
+
229
+ We foresee no ethical issues related to the study.
230
+
231
+ # Acknowledgements
232
+
233
+ We thank the anonymous reviewers and area chairs for their constructive and helpful feedback. We also thank the communities and organizations behind the creation of open-source datasets in Philippine languages used in this research: DepED, Adarna House, Bloom Library, Let's Read Asia, SIL, and BookLabs. JMI is supported by the UKRI CDT in Accountable, Responsible, and Transparent AI of the University of Bath and by the Study Grant Program of the National University Philippines.
234
+
235
+ # References
236
+
237
+ Ion Madrazo Azpiazu and Maria Soledad Pera. 2019. Multiattentive recurrent neural network architecture for multilingual readability assessment. Transactions of the Association for Computational Linguistics, 7:421-436.
238
+ Nathanaël Beau and Benoit Crabbé. 2022. The impact of lexical and grammatical processing on generating code from natural language. In *Findings of the Association for Computational Linguistics: ACL* 2022, pages 2204–2214, Dublin, Ireland. Association for Computational Linguistics.
239
+ Vincent Beaufils and Johannes Tomin. 2020. Stochastic approach to worldwide language classification: the signals and the noise towards long-range exploration. SocArXiv.
240
+ Leonard Bloomfield. 1926. A set of postulates for the science of language. Language, 2(3):153-164.
241
+ Charibeth Cheng, Cedric Paul Alberto, Ian Anthony Chan, and Vazir Joshua Querol. 2007. SpellChef: spelling checker and corrector for Filipino. Journal of Research in Science, Computing and Engineering, 4(3):75-82.
242
+ Ernesto A Constantino. 1998. Current topics in Philippine linguistics. In Revised version of the paper read at the meeting of the Linguistic Society of Japan held in Yamaguchi University, Yamaguchi, Japan, on 31 October.
243
+ Angelica Dela Cruz, Nathaniel Oco, Leif Romeritch Syliongka, and Rachel Edita Roxas. 2016. Phoneme inventory, trigrams and geographic location as features for clustering different philippine languages. In 2016 Conference of The Oriental Chapter of International Committee for Coordination and Standardization of Speech Databases and Assessment Techniques (O-COCOSDA), pages 137-140. IEEE.
244
+
245
+ Tovly Deutsch, Masoud Jasbi, and Stuart Shieber. 2020. Linguistic features for readability assessment. In Proceedings of the Fifteenth Workshop on Innovative Use of NLP for Building Educational Applications, pages 1-17, Seattle, WA, USA $\rightarrow$ Online. Association for Computational Linguistics.
246
+ 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.
247
+ Michael Flor, Beata Beigman Klebanov, and Kathleen M. Sheehan. 2013. Lexical tightness and text complexity. In Proceedings of the Workshop on Natural Language Processing for Improving Textual Accessibility, pages 29-38, Atlanta, Georgia. Association for Computational Linguistics.
248
+ Thomas François and Cédrick Fairon. 2012. "AI readability" formula for French as a foreign language. In Proceedings of the 2012 Joint Conference on Empirical Methods in Natural Language Processing and Computational Natural Language Learning, pages 466-477.
249
+ Matthew Phillip Go and Nicco Nocon. 2017. Using Stanford part-of-speech tagger for the morphologically-rich Filipino language. In Proceedings of the 31st Pacific Asia Conference on Language, Information and Computation, pages 81-88. The National University (Phillippines).
250
+ Matthew Phillip Go, Nicco Nocon, and Allan Borra. 2017. Gramatika: A grammar checker for the low-resourced Filipino language. In TENCON 2017-2017 IEEE Region 10 Conference, pages 471-475. IEEE.
251
+ Julia Hancke, Sowmya Vajjala, and Detmar Meurers. 2012. Readability classification for German using lexical, syntactic, and morphological features. In Proceedings of COLING 2012, pages 1063-1080, Mumbai, India. The COLING 2012 Organizing Committee.
252
+ Michael Heilman, Kevyn Collins-Thompson, and Maxine Eskenazi. 2008. An analysis of statistical models and features for reading difficulty prediction. In Proceedings of the Third Workshop on Innovative Use of NLP for Building Educational Applications, pages 71-79, Columbus, Ohio. Association for Computational Linguistics.
253
+ Michael Ibanez, Lloyd Lois Antonie Reyes, Ranz Sapinit, Mohammed Ahmed Hussien, and Joseph Marvin Imperial. 2022. On Applicability of Neural Language Models for Readability Assessment in Filipino. In International Conference on Artificial Intelligence in Education, pages 573-576. Springer.
254
+
255
+ Joseph Marvin Imperial. 2021. BERT embeddings for automatic readability assessment. In Proceedings of the International Conference on Recent Advances in Natural Language Processing (RANLP 2021), pages 611-618, Held Online. INCOMA Ltd.
256
+ Joseph Marvin Imperial and Ethel Ong. 2020. Exploring hybrid linguistic feature sets to measure Filipino text readability. In 2020 International Conference on Asian Language Processing (IALP), pages 175-180. IEEE.
257
+ Joseph Marvin Imperial and Ethel Ong. 2021a. *Diverse linguistic features for assessing reading difficulty of educational Filipino texts*. arXiv preprint arXiv:2108.00241.
258
+ Joseph Marvin Imperial and Ethel Ong. 2021b. Under the microscope: Interpreting readability assessment models for Filipino. In Proceedings of the 35th Pacific Asia Conference on Language, Information and Computation, pages 1-10, Shanghai, China. Association for Computational Linguistics.
259
+ Joseph Marvin Imperial, Lloyd Lois Antonie Reyes, Michael Antonio Ibanez, Ranz Sapinit, and Mohammed Hussien. 2022. A baseline readability model for Cebuano. In Proceedings of the 17th Workshop on Innovative Use of NLP for Building Educational Applications (BEA 2022), pages 27-32, Seattle, Washington. Association for Computational Linguistics.
260
+ Joseph Marvin Imperial, Rachel Edita Roxas, Erica Mae Campos, Jemelee Oandasan, Reyniel Caraballo, Ferry Winsley Sabdani, and Ani Rosa Almaroi. 2019. Developing a machine learning-based grade level classifier for Filipino children's literature. In 2019 International Conference on Asian Language Processing (IALP), pages 413-418. IEEE.
261
+ Zahurul Islam, Alexander Mehler, and Rashedur Rahman. 2012. Text readability classification of textbooks of a low-resource language. In Proceedings of the 26th Pacific Asia Conference on Language, Information, and Computation, pages 545-553.
262
+ Zahurul Islam and Rashedur Rahman. 2014. Readability of Bangla news articles for children. In Proceedings of the 28th Pacific Asia Conference on Language, Information and Computing, pages 309-317.
263
+ Justin Lee and Sowmya Vajjala. 2022. A neural pairwise ranking model for readability assessment. In *Findings of the Association for Computational Linguistics: ACL* 2022, pages 3802-3813, Dublin, Ireland. Association for Computational Linguistics.
264
+ Ion Madrazo Azpiazu and Maria Soledad Pera. 2020. Is cross-lingual readability assessment possible? Journal of the Association for Information Science and Technology, 71(6):644-656.
265
+ Curtis D McFarland. 2004. The Philippine language situation. World Englishes, 23(1):59-75.
266
+
267
+ Nathaniel Oco, Joel Ilao, Rachel Edita Roxas, and Leif Romeritch Sylliongka. 2013a. Measuring language similarity using trigrams: Limitations of language identification. In 2013 International Conference on Recent Trends in Information Technology (ICRTIT), pages 478-481. IEEE.
268
+ Nathaniel Oco, Leif Romeritch Syllongka, Rachel Edita Roxas, and Joel Ilao. 2013b. Dice's coefficient on trigram profiles as metric for language similarity. In 2013 International Conference Oriental COCOSDA held jointly with 2013 Conference on Asian Spoken Language Research and Evaluation (O-COCOSDA/CASLRE), pages 1-4. IEEE.
269
+ Manolito Octaviano and Allan Borra. 2017. A spell checker for a low-resourced and morphologically rich language. In TENCON 2017-2017 IEEE Region 10 Conference, pages 1853-1856. IEEE.
270
+ Ildiko Pilán, Sowmya Vajjala, and Elena Volodina. 2016. A readable read: Automatic assessment of language learning materials based on linguistic complexity. arXiv preprint arXiv:1603.08868.
271
+ Nils Reimers and Iryna Gurevych. 2019. SentenceBERT: Sentence embeddings using Siamese BERTnetworks. 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 3982-3992, Hong Kong, China. Association for Computational Linguistics.
272
+ Robert Reynolds. 2016. Insights from Russian second language readability classification: complexity-dependent training requirements, and feature evaluation of multiple categories. In Proceedings of the 11th Workshop on Innovative Use of NLP for Building Educational Applications, pages 289-300, San Diego, CA. Association for Computational Linguistics.
273
+ Anna Rogers, Olga Kovaleva, and Anna Rumshisky. 2020. A primer in BERTology: What we know about how BERT works. Transactions of the Association for Computational Linguistics, 8:842-866.
274
+ Ian Tenney, Dipanjan Das, and Ellie Pavlick. 2019. BERT rediscovers the classical NLP pipeline. In Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics, pages 4593-4601, Florence, Italy. Association for Computational Linguistics.
275
+ Sowmya Vajjala and Ivana Lucic. 2018. OneStopEnglish corpus: A new corpus for automatic readability assessment and text simplification. In Proceedings of the Thirteenth Workshop on Innovative Use of NLP for Building Educational Applications, pages 297-304, New Orleans, Louisiana. Association for Computational Linguistics.
276
+ Sowmya Vajjala and Detmar Meurers. 2012. On improving the accuracy of readability classification using insights from second language acquisition. In
277
+
278
+ Proceedings of the seventh workshop on building educational applications using NLP, pages 163-173.
279
+
280
+ Sowmya Vajjala and Taraka Rama. 2018. Experiments with universal CEFR classification. In Proceedings of the Thirteenth Workshop on Innovative Use of NLP for Building Educational Applications, pages 147-153, New Orleans, Louisiana. Association for Computational Linguistics.
281
+
282
+ Charles Walton. 1979. A Philippine language tree. Anthropological linguistics, 21(2):70-98.
283
+
284
+ William Webber, Alistair Moffat, and Justin Zobel. 2010. A similarity measure for indefinite rankings. ACM Transactions on Information Systems (TOIS), 28(4):1-38.
285
+
286
+ Zarah Weiss, Xiaobin Chen, and Detmar Meurers. 2021. Using broad linguistic complexity modeling for crosslingual readability assessment. In Proceedings of the 10th Workshop on NLP for Computer Assisted Language Learning, pages 38-54, Online. LiU Electronic Press.
287
+
288
+ Zarah Weiss and Detmar Meurers. 2022. Assessing sentence readability for German language learners with broad linguistic modeling or readability formulas: When do linguistic insights make a difference? In Proceedings of the 17th Workshop on Innovative Use of NLP for Building Educational Applications (BEA 2022), pages 141-153, Seattle, Washington. Association for Computational Linguistics.
289
+
290
+ Ian H Witten, Eibe Frank, Leonard E Trigg, Mark A Hall, Geoffrey Holmes, and Sally Jo Cunningham. 1999. Weka: Practical machine learning tools and techniques with Java implementations.
291
+
292
+ Menglin Xia, Ekaterina Kochmar, and Ted Briscoe. 2016. Text readability assessment for second language learners. In Proceedings of the 11th Workshop on Innovative Use of NLP for Building Educational Applications, pages 12-22, San Diego, CA. Association for Computational Linguistics.
293
+
294
+ # A Appendix
295
+
296
+ <table><tr><td>Hyperparameter</td><td>Value</td></tr><tr><td>batchSize</td><td>100</td></tr><tr><td>bagSizePercent</td><td>100</td></tr><tr><td>maxDepth</td><td>unlimited</td></tr><tr><td>numIterations</td><td>100</td></tr><tr><td>numFeatures</td><td>int(log(#predictors) + 1)</td></tr><tr><td>seed</td><td>1</td></tr></table>
297
+
298
+ Table 6: Hyperparameter settings for the Random Forest algorithm used for training the models in WEKA. These are default values and the 3.8.6 version of WEKA would have these already preset.
299
+
300
+ <table><tr><td>Hyperparameter</td><td>Value</td></tr><tr><td>max seq length</td><td>300</td></tr><tr><td>batch size</td><td>8</td></tr><tr><td>dropout</td><td>0.01</td></tr><tr><td>optimizer</td><td>Adam</td></tr><tr><td>activation</td><td>ReLU</td></tr><tr><td>layer count</td><td>1 (768 x 256)</td></tr><tr><td>loss</td><td>Negative Log Likelihood</td></tr><tr><td>learning rate</td><td>0.002</td></tr><tr><td>epochs</td><td>50</td></tr></table>
301
+
302
+ Table 7: Hyperparameter settings for the mBERT model used for fine-tuning. Please refer to Ibanez et al. (2022) for more information on these values.
303
+
304
+ <table><tr><td colspan="2">TGL</td><td colspan="2">CEB</td><td colspan="2">BCL</td></tr><tr><td>bigram</td><td>count</td><td>bigram</td><td>count</td><td>bigram</td><td>count</td></tr><tr><td>ng</td><td>43215</td><td>an</td><td>15636</td><td>an</td><td>12562</td></tr><tr><td>an</td><td>39268</td><td>ng</td><td>14451</td><td>na</td><td>7315</td></tr><tr><td>na</td><td>22041</td><td>sa</td><td>8311</td><td>ng</td><td>6754</td></tr><tr><td>in</td><td>18449</td><td>na</td><td>7167</td><td>in</td><td>6138</td></tr><tr><td>ma</td><td>16501</td><td>ga</td><td>6714</td><td>sa</td><td>5753</td></tr><tr><td>sa</td><td>16037</td><td>ka</td><td>5951</td><td>ka</td><td>5176</td></tr><tr><td>la</td><td>15283</td><td>la</td><td>5638</td><td>ag</td><td>4558</td></tr><tr><td>ka</td><td>14263</td><td>ma</td><td>4889</td><td>ma</td><td>4452</td></tr><tr><td>ag</td><td>12386</td><td>ni</td><td>4701</td><td>on</td><td>3490</td></tr><tr><td>at</td><td>12380</td><td>ta</td><td>4692</td><td>ga</td><td>3462</td></tr><tr><td>pa</td><td>12171</td><td>in</td><td>4591</td><td>pa</td><td>3453</td></tr><tr><td>al</td><td>11521</td><td>pa</td><td>4333</td><td>ni</td><td>3416</td></tr><tr><td>ga</td><td>10818</td><td>ag</td><td>4247</td><td>ak</td><td>3291</td></tr><tr><td>ay</td><td>10771</td><td>on</td><td>4113</td><td>ar</td><td>3012</td></tr><tr><td>ak</td><td>10271</td><td>ay</td><td>3799</td><td>si</td><td>2957</td></tr><tr><td>ni</td><td>9814</td><td>si</td><td>3636</td><td>da</td><td>2920</td></tr><tr><td>ta</td><td>9738</td><td>ya</td><td>3603</td><td>ya</td><td>2886</td></tr><tr><td>si</td><td>9126</td><td>al</td><td>3406</td><td>ta</td><td>2796</td></tr><tr><td>ya</td><td>8724</td><td>at</td><td>3150</td><td>la</td><td>2676</td></tr><tr><td>on</td><td>8288</td><td>ba</td><td>3099</td><td>al</td><td>2658</td></tr><tr><td>ba</td><td>7402</td><td>ak</td><td>3062</td><td>ba</td><td>2613</td></tr><tr><td>it</td><td>7288</td><td>ha</td><td>2729</td><td>ra</td><td>2518</td></tr><tr><td>am</td><td>6667</td><td>iy</td><td>2634</td><td>as</td><td>2447</td></tr><tr><td>iy</td><td>6339</td><td>ug</td><td>2531</td><td>at</td><td>2315</td></tr><tr><td>as</td><td>6210</td><td>il</td><td>2511</td><td>ay</td><td>2187</td></tr><tr><td>ko</td><td>5928</td><td>un</td><td>2502</td><td>ab</td><td>1893</td></tr><tr><td>ha</td><td>5885</td><td>gi</td><td>2460</td><td>ai</td><td>1843</td></tr><tr><td>il</td><td>5857</td><td>li</td><td>2413</td><td>ko</td><td>1840</td></tr><tr><td>ar</td><td>5848</td><td>am</td><td>2327</td><td>ha</td><td>1763</td></tr><tr><td>li</td><td>5696</td><td>ah</td><td>2251</td><td>li</td><td>1697</td></tr><tr><td>ap</td><td>5190</td><td>it</td><td>2059</td><td>ad</td><td>1679</td></tr><tr><td>ab</td><td>5000</td><td>ad</td><td>1834</td><td>ro</td><td>1574</td></tr><tr><td>ra</td><td>4867</td><td>as</td><td>1801</td><td>am</td><td>1544</td></tr><tr><td>da</td><td>4777</td><td>da</td><td>1793</td><td>un</td><td>1316</td></tr><tr><td>aw</td><td>4598</td><td>us</td><td>1781</td><td>ti</td><td>1293</td></tr><tr><td>ti</td><td>4577</td><td>ko</td><td>1771</td><td>nd</td><td>1202</td></tr><tr><td>wa</td><td>4572</td><td>to</td><td>1770</td><td>ap</td><td>1172</td></tr><tr><td>ah</td><td>4410</td><td>aw</td><td>1767</td><td>mg</td><td>1165</td></tr><tr><td>um</td><td>4391</td><td>ab</td><td>1690</td><td>ah</td><td>1164</td></tr><tr><td>bi</td><td>4382</td><td>yo</td><td>1667</td><td>it</td><td>1160</td></tr><tr><td>is</td><td>4286</td><td>ki</td><td>1615</td><td>bi</td><td>1146</td></tr><tr><td>to</td><td>4248</td><td>hi</td><td>1589</td><td>ku</td><td>1140</td></tr><tr><td>mi</td><td>4179</td><td>ap</td><td>1516</td><td>aw</td><td>1139</td></tr><tr><td>un</td><td>4168</td><td>mg</td><td>1504</td><td>wa</td><td>1086</td></tr></table>
305
+
306
+ Table 8: Full list of the top $25\%$ bigrams extracted from the Tagalog, Cebuano, and Bikol datasets. The same list is used for calculating overlap via CROSSNGO.
307
+
308
+ <table><tr><td colspan="2">TGL</td><td colspan="2">CEB</td><td colspan="2">BCL</td></tr><tr><td>trigram</td><td>count</td><td>trigram</td><td>count</td><td>trigram</td><td>count</td></tr><tr><td>ang</td><td>22650</td><td>ang</td><td>7941</td><td>ang</td><td>3350</td></tr><tr><td>ala</td><td>6120</td><td>nga</td><td>3283</td><td>nag</td><td>1721</td></tr><tr><td>ing</td><td>5456</td><td>iya</td><td>2547</td><td>kan</td><td>1518</td></tr><tr><td>ong</td><td>5036</td><td>ing</td><td>1697</td><td>aka</td><td>1507</td></tr><tr><td>iya</td><td>4761</td><td>ala</td><td>1534</td><td>ing</td><td>1434</td></tr><tr><td>lan</td><td>3880</td><td>mga</td><td>1479</td><td>nin</td><td>1389</td></tr><tr><td>ina</td><td>3481</td><td>ila</td><td>1474</td><td>ong</td><td>1374</td></tr><tr><td>aka</td><td>3266</td><td>ana</td><td>1395</td><td>ara</td><td>1210</td></tr><tr><td>nan</td><td>3151</td><td>lan</td><td>1317</td><td>mga</td><td>1164</td></tr><tr><td>ama</td><td>3021</td><td>ong</td><td>1315</td><td>man</td><td>1103</td></tr><tr><td>ara</td><td>3007</td><td>ata</td><td>1306</td><td>yan</td><td>979</td></tr><tr><td>ata</td><td>2976</td><td>usa</td><td>1286</td><td>sin</td><td>947</td></tr><tr><td>ila</td><td>2965</td><td>tan</td><td>1276</td><td>ala</td><td>940</td></tr><tr><td>mga</td><td>2867</td><td>yan</td><td>1172</td><td>iya</td><td>928</td></tr><tr><td>nag</td><td>2797</td><td>han</td><td>1139</td><td>asi</td><td>897</td></tr><tr><td>niy</td><td>2795</td><td>ali</td><td>1061</td><td>sai</td><td>853</td></tr><tr><td>pag</td><td>2793</td><td>nag</td><td>1043</td><td>aba</td><td>835</td></tr><tr><td>yan</td><td>2757</td><td>pag</td><td>982</td><td>ina</td><td>833</td></tr><tr><td>apa</td><td>2716</td><td>aka</td><td>975</td><td>aga</td><td>824</td></tr><tr><td>aga</td><td>2694</td><td>ayo</td><td>933</td><td>ini</td><td>816</td></tr><tr><td>ali</td><td>2622</td><td>aha</td><td>931</td><td>mag</td><td>812</td></tr><tr><td>man</td><td>2574</td><td>nan</td><td>928</td><td>aro</td><td>730</td></tr><tr><td>aha</td><td>2450</td><td>siy</td><td>916</td><td>ako</td><td>730</td></tr><tr><td>uma</td><td>2412</td><td>ako</td><td>868</td><td>gan</td><td>718</td></tr><tr><td>aki</td><td>2376</td><td>pan</td><td>863</td><td>par</td><td>705</td></tr><tr><td>nga</td><td>2281</td><td>ama</td><td>847</td><td>nbs</td><td>702</td></tr><tr><td>mag</td><td>2269</td><td>man</td><td>831</td><td>bsp</td><td>702</td></tr><tr><td>aba</td><td>2253</td><td>ini</td><td>830</td><td>ata</td><td>683</td></tr><tr><td>awa</td><td>2249</td><td>ita</td><td>827</td><td>nga</td><td>683</td></tr><tr><td>kan</td><td>2219</td><td>una</td><td>811</td><td>pag</td><td>639</td></tr><tr><td>tin</td><td>2208</td><td>ina</td><td>763</td><td>ati</td><td>605</td></tr><tr><td>asa</td><td>2142</td><td>aba</td><td>758</td><td>lan</td><td>582</td></tr><tr><td>ako</td><td>2130</td><td>kin</td><td>744</td><td>ion</td><td>576</td></tr><tr><td>hin</td><td>2119</td><td>nak</td><td>727</td><td>nda</td><td>574</td></tr><tr><td>ito</td><td>2033</td><td>ung</td><td>718</td><td>lin</td><td>569</td></tr><tr><td>aya</td><td>2000</td><td>kan</td><td>716</td><td>sak</td><td>567</td></tr><tr><td>ana</td><td>1993</td><td>san</td><td>700</td><td>ano</td><td>553</td></tr><tr><td>gan</td><td>1973</td><td>nah</td><td>700</td><td>ban</td><td>547</td></tr><tr><td>ami</td><td>1934</td><td>ngo</td><td>679</td><td>ind</td><td>538</td></tr><tr><td>san</td><td>1913</td><td>kat</td><td>675</td><td>ron</td><td>530</td></tr><tr><td>nak</td><td>1896</td><td>gan</td><td>665</td><td>apa</td><td>527</td></tr><tr><td>abi</td><td>1878</td><td>ula</td><td>636</td><td>ana</td><td>526</td></tr><tr><td>tan</td><td>1844</td><td>ano</td><td>626</td><td>ili</td><td>524</td></tr><tr><td>siy</td><td>1835</td><td>uot</td><td>611</td><td>ent</td><td>508</td></tr><tr><td>ani</td><td>1773</td><td>ahi</td><td>605</td><td>ada</td><td>502</td></tr></table>
309
+
310
+ Table 9: Full list of the top $25\%$ trigrams extracted from the Tagalog, Cebuano, and Bikol datasets. The same list is used for calculating overlap via CROSSNGO.
311
+
312
+ A For every submission:
313
+
314
+ A1. Did you describe the limitations of your work? Section 7
315
+ A2. Did you discuss any potential risks of your work? Not applicable. Left blank.
316
+ A3. Do the abstract and introduction summarize the paper's main claims? Section 1
317
+ A4. Have you used AI writing assistants when working on this paper? Left blank.
318
+
319
+ B Did you use or create scientific artifacts?
320
+
321
+ We used WEKA as discussed in Section 4.
322
+
323
+ B1. Did you cite the creators of artifacts you used? Section 4
324
+ B2. Did you discuss the license or terms for use and / or distribution of any artifacts? Section 3 for the collected Philippine language data and Section 4 for WEKA
325
+ B3. Did you discuss if your use of existing artifact(s) was consistent with their intended use, provided that it was specified? For the artifacts you create, do you specify intended use and whether that is compatible with the original access conditions (in particular, derivatives of data accessed for research purposes should not be used outside of research contexts)? Not applicable. Left blank.
326
+ B4. Did you discuss the steps taken to check whether the data that was collected / used contains any information that names or uniquely identifies individual people or offensive content, and the steps taken to protect / anonymize it? The dataset is not scraped from social media sites.
327
+ B5. Did you provide documentation of the artifacts, e.g., coverage of domains, languages, and linguistic phenomena, demographic groups represented, etc.? Section 2-3
328
+ B6. Did you report relevant statistics like the number of examples, details of train / test / dev splits, etc. for the data that you used / created? Even for commonly-used benchmark datasets, include the number of examples in train / validation / test splits, as these provide necessary context for a reader to understand experimental results. For example, small differences in accuracy on large test sets may be significant, while on small test sets they may not be. Section 4
329
+
330
+ C Did you run computational experiments?
331
+
332
+ Left blank.
333
+
334
+ C1. Did you report the number of parameters in the models used, the total computational budget (e.g., GPU hours), and computing infrastructure used? Appendix
335
+
336
+ The Responsible NLP Checklist used at ACL 2023 is adopted from NAACL 2022, with the addition of a question on AI writing assistance.
337
+
338
+ C2. Did you discuss the experimental setup, including hyperparameter search and best-found hyperparameter values? Appendix
339
+ C3. Did you report descriptive statistics about your results (e.g., error bars around results, summary statistics from sets of experiments), and is it transparent whether you are reporting the max, mean, etc. or just a single run? Section 5
340
+ C4. If you used existing packages (e.g., for preprocessing, for normalization, or for evaluation), did you report the implementation, model, and parameter settings used (e.g., NLTK, Spacy, ROUGE, etc.)? Section 4
341
+
342
+ D Did you use human annotators (e.g., crowdworkers) or research with human participants? Left blank.
343
+
344
+ D1. Did you report the full text of instructions given to participants, including e.g., screenshots, disclaimers of any risks to participants or annotators, etc.? Not applicable. Left blank.
345
+ D2. Did you report information about how you recruited (e.g., crowdsourcing platform, students) and paid participants, and discuss if such payment is adequate given the participants' demographic (e.g., country of residence)? Not applicable. Left blank.
346
+ D3. Did you discuss whether and how consent was obtained from people whose data you're using/curating? For example, if you collected data via crowdsourcing, did your instructions to crowdworkers explain how the data would be used? Not applicable. Left blank.
347
+ D4. Was the data collection protocol approved (or determined exempt) by an ethics review board? Not applicable. Left blank.
348
+ D5. Did you report the basic demographic and geographic characteristics of the annotator population that is the source of the data? Not applicable. Left blank.
2023/Automatic Readability Assessment for Closely Related Languages/images.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ca6e57977212b923868d908e90cca2c0aae782862807c3f9dfb32ddf47ba7e58
3
+ size 648043
2023/Automatic Readability Assessment for Closely Related Languages/layout.json ADDED
The diff for this file is too large to render. See raw diff
 
2023/Automatic Table Union Search with Tabular Representation Learning/7244320a-8cb5-4ef7-87f0-c4d2dc4ad4ba_content_list.json ADDED
@@ -0,0 +1,2013 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "type": "text",
4
+ "text": "Automatic Table Union Search with Tabular Representation Learning",
5
+ "text_level": 1,
6
+ "bbox": [
7
+ 136,
8
+ 90,
9
+ 860,
10
+ 112
11
+ ],
12
+ "page_idx": 0
13
+ },
14
+ {
15
+ "type": "text",
16
+ "text": "Xuming Hu<sup>1*</sup>, Shen Wang<sup>2</sup>, Xiao Qin<sup>2</sup>, Chuan Lei<sup>2</sup>, Zhengyuan Shen<sup>2</sup>, Christos Faloutsos<sup>2</sup>, Asterios Katsifodimos<sup>2</sup>, George Karypis<sup>2</sup>, Lijie Wen<sup>1</sup>, Philip S. Yu<sup>1,3</sup>",
17
+ "bbox": [
18
+ 117,
19
+ 124,
20
+ 882,
21
+ 159
22
+ ],
23
+ "page_idx": 0
24
+ },
25
+ {
26
+ "type": "text",
27
+ "text": "$^{1}$ Tsinghua University, $^{2}$ Amazon Web Services, $^{3}$ University of Illinois at Chicago hxml9@mails.tsinghua.edu.cn, wenlj@tsinghua.edu.cn, psyu@uic.edu $\\{$ shenwa, drxqin, chuanlei, donshen\\} @amazon.com $\\{$ faloutso, akatsifo, gkarypis\\} @amazon.com",
28
+ "bbox": [
29
+ 124,
30
+ 159,
31
+ 875,
32
+ 225
33
+ ],
34
+ "page_idx": 0
35
+ },
36
+ {
37
+ "type": "text",
38
+ "text": "Abstract",
39
+ "text_level": 1,
40
+ "bbox": [
41
+ 260,
42
+ 252,
43
+ 339,
44
+ 266
45
+ ],
46
+ "page_idx": 0
47
+ },
48
+ {
49
+ "type": "text",
50
+ "text": "Given a data lake of tabular data as well as a query table, how can we retrieve all the tables in the data lake that can be unioned with the query table? Table union search constitutes an essential task in data discovery and preparation as it enables data scientists to navigate massive open data repositories. Existing methods identify uniability based on column representations (word surface forms or token embeddings) and column relation represented by column representation similarity. However, the semantic similarity obtained between column representations is often insufficient to reveal latent relational features to describe the column relation between pair of columns and not robust to the table noise. To address these issues, in this paper, we propose a multi-stage self-supervised table union search framework called AUTOTUS, which represents column relation as a vector- column relational representation and learn column relational representation in a multi-stage manner that can better describe column relation for table unionability prediction. In particular, the large language model powered contextualized column relation encoder is updated by adaptive clustering and pseudo label classification iteratively so that the better column relational representation can be learned. Moreover, to improve the robustness of the model against table noises, we propose table noise generator to add table noise to the training table data. Experiments on real-world datasets and synthetic test set augmented with table noise show that AUTOTUS achieves $5.2\\%$ performance gain over the SOTA baseline.",
51
+ "bbox": [
52
+ 141,
53
+ 275,
54
+ 460,
55
+ 774
56
+ ],
57
+ "page_idx": 0
58
+ },
59
+ {
60
+ "type": "text",
61
+ "text": "1 Introduction",
62
+ "text_level": 1,
63
+ "bbox": [
64
+ 114,
65
+ 782,
66
+ 258,
67
+ 797
68
+ ],
69
+ "page_idx": 0
70
+ },
71
+ {
72
+ "type": "text",
73
+ "text": "The growing availability of tabular data from academia and industry brings new opportunities for economic growth and social benefit, which has also attracted considerable attention in the natural language processing (NLP) community. A number of",
74
+ "bbox": [
75
+ 112,
76
+ 806,
77
+ 487,
78
+ 888
79
+ ],
80
+ "page_idx": 0
81
+ },
82
+ {
83
+ "type": "table",
84
+ "img_path": "images/f625bcd050011948e72cbcb2112ebd8b84279aee320adb0fa1a9dd6c935bf183.jpg",
85
+ "table_caption": [
86
+ "Query Table"
87
+ ],
88
+ "table_footnote": [],
89
+ "table_body": "<table><tr><td>Name</td><td>BP</td><td>Team</td><td>Jersey Number</td><td>CLG</td></tr><tr><td>Kevon Looney</td><td>Milwaukee</td><td>Warriors</td><td>5</td><td>UCUCLA</td></tr><tr><td>Anthony Davis</td><td>Chicago</td><td>Lakers</td><td>3</td><td>KentKentucky</td></tr><tr><td>Devin Booker</td><td>Moss Point</td><td>Suns</td><td>1</td><td>KentKentucky</td></tr></table>",
90
+ "bbox": [
91
+ 519,
92
+ 260,
93
+ 870,
94
+ 305
95
+ ],
96
+ "page_idx": 0
97
+ },
98
+ {
99
+ "type": "table",
100
+ "img_path": "images/71c5c01e0c7c8fbbcd1890e5fb932a8703adc76ee5e2ff059b23a52e52f53932.jpg",
101
+ "table_caption": [
102
+ "Data Lake Table (Unionable)"
103
+ ],
104
+ "table_footnote": [],
105
+ "table_body": "<table><tr><td>Player</td><td>Birth Place</td><td>TM</td><td>POS</td><td>Draft</td></tr><tr><td>Andrew Wiggins</td><td>Toronto</td><td>Golden State Warriors</td><td>Shootung Guard</td><td>R1-1</td></tr><tr><td>Shai Gilgeous-Alexander</td><td>Hamilton</td><td>Oklahoma City Thunder</td><td>Point Gusrd</td><td>R1-11</td></tr><tr><td>Dillon Brooks</td><td>Mississauga</td><td>Memphis Grizzlies</td><td>Small Forward</td><td>R2-45</td></tr></table>",
106
+ "bbox": [
107
+ 519,
108
+ 315,
109
+ 870,
110
+ 366
111
+ ],
112
+ "page_idx": 0
113
+ },
114
+ {
115
+ "type": "image",
116
+ "img_path": "images/6d62e8a5f7b52a5885cf46228c272af899dd68e4ea25ac4bc88648352c821042.jpg",
117
+ "image_caption": [
118
+ "Figure 1: The table union search example on Open Data."
119
+ ],
120
+ "image_footnote": [],
121
+ "bbox": [
122
+ 519,
123
+ 367,
124
+ 873,
125
+ 441
126
+ ],
127
+ "page_idx": 0
128
+ },
129
+ {
130
+ "type": "text",
131
+ "text": "work has been done, such as Table QA (Chen et al., 2020; Zhu et al., 2021), Table fact verification (Aly et al., 2021; Guo et al., 2022), Table summarization (Xi et al., 2023), Table understanding (Yang et al., 2022; Liu et al., 2022a, 2023), etc. More recently, table union search (Nargesian et al., 2018; Bogatu et al., 2020; Khatiwada and Fan, 2023) is proposed to facilitate tabular dataset discovery applications (Brickley et al., 2019; Galhotra and Khurana, 2020; Santos et al., 2022), which can benefit the tabular data integration and analysis. The table union search aims to find all tables in a data lake that have the columns from the same domain as the query table. With the help of the table union search, the understanding of the tabular data is largely improved and it can potentially benefit other tabular-focused NLP downstream tasks. Therefore, table union search is a non-trivial NLP research problem.",
132
+ "bbox": [
133
+ 507,
134
+ 480,
135
+ 882,
136
+ 770
137
+ ],
138
+ "page_idx": 0
139
+ },
140
+ {
141
+ "type": "text",
142
+ "text": "Recent literature shows that column representation methods are useful for table union search. The basic idea is to map the column to a latent vector space (e.g. column representations (Bogatu et al., 2020; Chepurko et al., 2020) or token embeddings (Zhang and Balog, 2017; Herzig et al., 2020; Fan et al., 2022; Yang et al., 2022)) and then compute the table unionability score based on the column relation obtained from the similarity scores of col",
143
+ "bbox": [
144
+ 507,
145
+ 774,
146
+ 884,
147
+ 917
148
+ ],
149
+ "page_idx": 0
150
+ },
151
+ {
152
+ "type": "page_footnote",
153
+ "text": "*Work done during an internship at Amazon Web Services.",
154
+ "bbox": [
155
+ 112,
156
+ 892,
157
+ 487,
158
+ 917
159
+ ],
160
+ "page_idx": 0
161
+ },
162
+ {
163
+ "type": "page_number",
164
+ "text": "3786",
165
+ "bbox": [
166
+ 480,
167
+ 927,
168
+ 521,
169
+ 940
170
+ ],
171
+ "page_idx": 0
172
+ },
173
+ {
174
+ "type": "footer",
175
+ "text": "Findings of the Association for Computational Linguistics: ACL 2023, pages 3786-3800 July 9-14, 2023 ©2023 Association for Computational Linguistics",
176
+ "bbox": [
177
+ 228,
178
+ 945,
179
+ 768,
180
+ 972
181
+ ],
182
+ "page_idx": 0
183
+ },
184
+ {
185
+ "type": "text",
186
+ "text": "unn pairs between query table and target tables. However, these methods only consider the column representation and their similarity as the column relation to compute the table unionability score, which is not enough to describe the relationship between two columns and may cause incorrect prediction. Figure 1 shows an example of the table union search with a query table and a unionable table. By looking at the second columns (in red) of two tables, the computed column similarity score (a scalar) from column embedding is low due to the dissimilar token embeddings. In this case, the column relation is not intuitive, taking only the similarity between column embeddings to describe the column relation is not enough to predict the table unionability accurately. However, if we combine each column representation and model them as an embedding (a vector), the new representation (column relational representation) is more informative and can better describe the unintuitive column relation to make the table unionability prediction more accurately. Therefore, a better approach is needed, which can make the table unionability prediction via the column relational representation.",
187
+ "bbox": [
188
+ 115,
189
+ 85,
190
+ 489,
191
+ 469
192
+ ],
193
+ "page_idx": 1
194
+ },
195
+ {
196
+ "type": "text",
197
+ "text": "On the other hand, real-world table noises widely exist (Koutras et al., 2021; Liu et al., 2022b). Taking column \"CLG\" in the query table and column \"POS\" in the data lake table as examples, both columns have abbreviated column names, tokens are repeated in column values (e.g., \"UCLA\" becomes \"UCUCLA\") and proximal characters in keyboard are replaced (e.g., \"Shooting Guard\" becomes 'Shootung Guard'). Computing column representations or column relational representations based on token embeddings with tabular noise introduces unavoidable wrong predictions. Therefore, it requires the table union search model to be robust to the table noise during optimization.",
198
+ "bbox": [
199
+ 115,
200
+ 478,
201
+ 489,
202
+ 702
203
+ ],
204
+ "page_idx": 1
205
+ },
206
+ {
207
+ "type": "text",
208
+ "text": "To address above issues, we propose a multi-stage self-supervised table union search framework called AutotUS, which represents column relation as a vector- column relational representation and learn column relational representation in a multi-stage manner that can better describe column relation for unionability prediction. In particular, the large language model powered contextualized column relation encoder is updated by adaptive clustering and pseudo label classification iteratively so that the better column relational representation can be learned. Moreover, to improve the robustness of the model against table noises, we pro",
209
+ "bbox": [
210
+ 115,
211
+ 709,
212
+ 489,
213
+ 917
214
+ ],
215
+ "page_idx": 1
216
+ },
217
+ {
218
+ "type": "text",
219
+ "text": "pose table noise generator to add table noise to the training table data. Extensive experiments are conducted on three real-world datasets and show significant performance gains compared to existing state-of-the-art methods and demonstrates the robustness of AUTOTUS against the table noise.",
220
+ "bbox": [
221
+ 512,
222
+ 84,
223
+ 882,
224
+ 179
225
+ ],
226
+ "page_idx": 1
227
+ },
228
+ {
229
+ "type": "text",
230
+ "text": "Our contributions are four-folded: 1) We propose a novel framework AUTOTUS that can leverage column relational representation for table union search instead of pairwise column similarity. 2) We propose a multi-stage self-supervised method that can update the large language model powered contextualized column relation encoder in a step by step and iterative way to learn better column relational representation. 3) We propose a table noise generator and add table noise to the training tabular data to improve the robustness of the model against the table noise. 4) We conduct extensive experiment on real-world datasets as well as synthetic test set augmented with table noise and demonstrate significant performance gain of AUTOTUS over the strong baselines and shows the robustness of AUTOTUS against the table noise.",
231
+ "bbox": [
232
+ 512,
233
+ 181,
234
+ 882,
235
+ 454
236
+ ],
237
+ "page_idx": 1
238
+ },
239
+ {
240
+ "type": "text",
241
+ "text": "2 Problem Definition",
242
+ "text_level": 1,
243
+ "bbox": [
244
+ 512,
245
+ 468,
246
+ 707,
247
+ 482
248
+ ],
249
+ "page_idx": 1
250
+ },
251
+ {
252
+ "type": "text",
253
+ "text": "Table union search discovers all tables in a set of data lake tables that are工商联able with the query table. Specifically, we focus on the automatically case where no labeled training data is available. We define a set of data lake tables as $\\mathcal{T}$ . For each table $T\\in \\mathcal{T}$ which consists of $m$ columns $\\{t_1,t_2,\\dots ,t_m\\}$ . There is a column relation $e_{ij}\\in \\mathcal{E}$ for each pairs of columns $t_i,t_j$ that describes their relationship. We employ a contextualized column relational encoder to obtain the column relational representation $\\mathbf{z}_{e_{ij}}\\in \\mathcal{Z}$ for each column relation $e_{ij}$ . The table unionability score $u_{(T_i,T_j)}\\in \\mathcal{U}$ is obtained by the table scorer that goes over all column relational representations between two tables $T_{i},T_{j}$ . Similar to previous studies (Nargesian et al., 2018; Bogatu et al., 2020; Khatiwada and Fan, 2023), given a query table $Q$ , table union search retrieves the top- $y$ 工商联able tables $\\mathcal{Q}\\subseteq \\mathcal{T}$ , where $|\\mathcal{Q}| = y$ and $\\forall T\\in \\mathcal{Q}$ and $T^{\\prime}\\in \\mathcal{T} - \\mathcal{Q}$ , we have $u_{(Q,T)}\\geq u_{(Q,T^{\\prime})}$ .",
254
+ "bbox": [
255
+ 512,
256
+ 494,
257
+ 882,
258
+ 818
259
+ ],
260
+ "page_idx": 1
261
+ },
262
+ {
263
+ "type": "text",
264
+ "text": "3 Proposed Method",
265
+ "text_level": 1,
266
+ "bbox": [
267
+ 512,
268
+ 828,
269
+ 695,
270
+ 844
271
+ ],
272
+ "page_idx": 1
273
+ },
274
+ {
275
+ "type": "text",
276
+ "text": "In this section, we introduce the proposed AU-TOTUS. The framework (as shown in Figure 2) consists of following components: Multi-stage Self-supervised Column Relational Representation",
277
+ "bbox": [
278
+ 512,
279
+ 854,
280
+ 882,
281
+ 917
282
+ ],
283
+ "page_idx": 1
284
+ },
285
+ {
286
+ "type": "page_number",
287
+ "text": "3787",
288
+ "bbox": [
289
+ 482,
290
+ 928,
291
+ 517,
292
+ 939
293
+ ],
294
+ "page_idx": 1
295
+ },
296
+ {
297
+ "type": "image",
298
+ "img_path": "images/4e07cc2860c3430a6eff1d42b3093411838d5ab2f9a7b22466d0cfe22a1f08d2.jpg",
299
+ "image_caption": [
300
+ "Figure 2: Overview of AUTOTUS framework."
301
+ ],
302
+ "image_footnote": [],
303
+ "bbox": [
304
+ 136,
305
+ 80,
306
+ 867,
307
+ 252
308
+ ],
309
+ "page_idx": 2
310
+ },
311
+ {
312
+ "type": "text",
313
+ "text": "Learning, Table Noise Generation and Table Unionability Scorer. We first illustrate the motivation for AUTOTUS: The existing column representation methods use cosine similarity to measure the unionability of column pairs. The column encoder in these methods is usually only trained with a binary classification task, i.e. whether two columns are unionable. In AUTOTUS, the table encoder can benefit from an additional task: the identification of hidden semantic types (domains, task knowledge, etc.) from the column pairs. In the absence of explicit type labels, we use adaptive clustering on column pairs and learn those hidden types. The classification step is then used to update the table encoder, so that the embeddings are generated in a way that minimizes the hidden type prediction errors. In short, the clustering and classification modules learn the hidden unionable semantic types, resulting in a better table encoder for the table union search task.",
314
+ "bbox": [
315
+ 112,
316
+ 282,
317
+ 489,
318
+ 605
319
+ ],
320
+ "page_idx": 2
321
+ },
322
+ {
323
+ "type": "text",
324
+ "text": "3.1 Multi-stage Self-supervised Column Relational Representation Learning",
325
+ "text_level": 1,
326
+ "bbox": [
327
+ 112,
328
+ 621,
329
+ 443,
330
+ 653
331
+ ],
332
+ "page_idx": 2
333
+ },
334
+ {
335
+ "type": "text",
336
+ "text": "The Multi-stage Self-supervised Column Relational Representation Learning module aims to extract column relation as column relational representation and learn column relational representation in multi-stage manner that can better describe column relation for unionability prediction. As illustrated in Figure 2, this module consists of three components: Contextualized Column Relation Encoder, Column Relation Encoder Updater via Adaptive Clustering, and Column Relation Encoder Updater via Pseudo Label Classification. The Contextualized Column Relation Encoder serializes and tokenizes the column relations as the input and leverages the pretrained BERT (Devlin et al., 2019) to generate contextualized column relation embeddings. The Column Relation Encoder Updater via",
337
+ "bbox": [
338
+ 112,
339
+ 661,
340
+ 489,
341
+ 917
342
+ ],
343
+ "page_idx": 2
344
+ },
345
+ {
346
+ "type": "text",
347
+ "text": "Adaptive Clustering optimizes Contextualized Column Relation Encoder through relaxed constraint to obtain better column relational representation and generate the cluster label as the pseudo label. The Column Relation Encoder Updater via Pseudo Label Classification uses the generated pseudo label to further update the Contextualized Column Relation Encoder via more strict constraint to generate improved column relational representation. The above two updates are performed in a bootstrapped loop that iteratively improve the language model to generate better column representations.",
348
+ "bbox": [
349
+ 507,
350
+ 282,
351
+ 884,
352
+ 476
353
+ ],
354
+ "page_idx": 2
355
+ },
356
+ {
357
+ "type": "text",
358
+ "text": "Contextualized Column Relation Encoder Contextualized Column Relation Encoder extracts the contextualized column relation embeddings to represent the relational features between two columns. We leverage a large language model, BERT (Devlin et al., 2019), to effectively encode column relations, along with their context tabular information.",
359
+ "bbox": [
360
+ 507,
361
+ 483,
362
+ 882,
363
+ 611
364
+ ],
365
+ "page_idx": 2
366
+ },
367
+ {
368
+ "type": "text",
369
+ "text": "The pre-trained large language models (such as BERT) support an input length of up to 512 tokens (Devlin et al., 2019). However, columns in a real-world table may contain thousands of tokens, and randomly discarding tokens will lead to loss of important semantics. Therefore, in this work, we score the importance of each token or cell in a column, and keep cells based on their importance. More specifically, we adopt TF-IDF score to calculate the token importance through its inverse document frequency: $\\log(|\\mathcal{Y}|)/\\{t|\\text{token} \\in t, t \\in \\mathcal{Y}\\}$ , where $t$ is a column and $|\\mathcal{Y}|$ is the number of all data lake columns. Then the cell score is calculated by averaging the TF-IDF of all tokens within the cell. After obtaining the importance score of each column-level cell, the row alignment can ensure the correctness of the table semantics, e.g.: Jimmy Butler's birthplace is aligned to the United States instead of the United Kingdom. Therefore, we cal",
370
+ "bbox": [
371
+ 507,
372
+ 613,
373
+ 884,
374
+ 917
375
+ ],
376
+ "page_idx": 2
377
+ },
378
+ {
379
+ "type": "page_number",
380
+ "text": "3788",
381
+ "bbox": [
382
+ 480,
383
+ 927,
384
+ 519,
385
+ 940
386
+ ],
387
+ "page_idx": 2
388
+ },
389
+ {
390
+ "type": "text",
391
+ "text": "culate the average score of cells in each row and sort them in descending order. Next, we select rows until the total token count reaches the input budget and obtain the table: $T = [t_{1}, t_{2}, \\dots, t_{m}]$ .",
392
+ "bbox": [
393
+ 112,
394
+ 84,
395
+ 487,
396
+ 148
397
+ ],
398
+ "page_idx": 3
399
+ },
400
+ {
401
+ "type": "text",
402
+ "text": "As shown in Figure 2, we serialize the table by column and follow the marking schema adopted in Soares et al. (2019) to augment $T$ with two reserved tokens to mark the start and the end of each column. We introduce $\\langle s \\rangle$ and $\\langle /s \\rangle$ and inject them into $T$ :",
403
+ "bbox": [
404
+ 112,
405
+ 149,
406
+ 489,
407
+ 230
408
+ ],
409
+ "page_idx": 3
410
+ },
411
+ {
412
+ "type": "equation",
413
+ "text": "\n$$\nT = \\left[ \\langle s \\rangle , t _ {1}, \\langle / s \\rangle , \\dots , \\langle s \\rangle , t _ {m}, \\langle / s \\rangle \\right], \\tag {1}\n$$\n",
414
+ "text_format": "latex",
415
+ "bbox": [
416
+ 157,
417
+ 242,
418
+ 489,
419
+ 262
420
+ ],
421
+ "page_idx": 3
422
+ },
423
+ {
424
+ "type": "text",
425
+ "text": "as the input token sequence for the encoder.",
426
+ "bbox": [
427
+ 112,
428
+ 275,
429
+ 440,
430
+ 288
431
+ ],
432
+ "page_idx": 3
433
+ },
434
+ {
435
+ "type": "text",
436
+ "text": "We denote the Contextualized Column Relation Encoder as $f_{\\theta}(T,\\langle s\\rangle ,\\langle \\langle s\\rangle \\rangle)$ . Instead of using the output of [CLS] token from BERT itself which summarizes the whole table-level semantics, we get the contextualize column relation semantics by concatenating the representations $\\langle s\\rangle$ of any two columns in different tables or in the same table, and derive a fixed-length representation $\\mathbf{z}_{e_{ij}}\\in \\mathbb{R}^{2\\cdot z_R}$ :",
437
+ "bbox": [
438
+ 112,
439
+ 290,
440
+ 487,
441
+ 420
442
+ ],
443
+ "page_idx": 3
444
+ },
445
+ {
446
+ "type": "equation",
447
+ "text": "\n$$\n\\mathbf {z} _ {e _ {i j}} = \\left[ \\mathbf {c} _ {\\langle s _ {t _ {i}} \\rangle}, \\mathbf {c} _ {\\langle s _ {t _ {j}} \\rangle} \\right]. \\tag {2}\n$$\n",
448
+ "text_format": "latex",
449
+ "bbox": [
450
+ 218,
451
+ 432,
452
+ 487,
453
+ 454
454
+ ],
455
+ "page_idx": 3
456
+ },
457
+ {
458
+ "type": "text",
459
+ "text": "Column Relation Encoder Updater via Adaptive Clustering The Column Relation Encoder Updater via Adaptive Clustering encourages each low-confidence relation label distribution to be closer to the high-confidence cluster centroids, improves the confidence of the clusters, and optimizes Contextualized Column Relation Encoder by relax-constraints to generate better column relational representations. In addition, the cluster label generated for each column relation could be treated as self-supervision signal, which serves as the pseudo label for language model update.",
460
+ "bbox": [
461
+ 112,
462
+ 466,
463
+ 489,
464
+ 658
465
+ ],
466
+ "page_idx": 3
467
+ },
468
+ {
469
+ "type": "text",
470
+ "text": "More specifically, after obtaining $N$ column relational representations $\\mathcal{Z} = \\{\\mathbf{z}_1,\\mathbf{z}_2,\\dots,\\mathbf{z}_N\\}$ , Column Relation Encoder Updater via Adaptive Clustering computes $K$ cluster centroids $\\{\\xi_k\\in \\mathbb{R}^{h_{AC}}\\}_{k = 1}^K$ , and softly assigns all $N$ column relation representations to $K$ clusters. In practice, we first adopt standard $k$ -means clustering among $N$ column relation data points $\\mathbb{R}^{h_{AC}}$ to obtain $K$ initial cluster centroids $\\{\\xi_k\\in \\mathbb{R}^{h_{AC}}\\}_{k = 1}^K$ . Inspired by Maaten and Hinton (2008); Hu et al. (2020), we leverage the Student's $t$ -distribution as the kernel to measure the similarity of the embedding point $\\mathbf{z}_n$ to each centroid $\\xi_{k}$ as:",
471
+ "bbox": [
472
+ 112,
473
+ 659,
474
+ 489,
475
+ 869
476
+ ],
477
+ "page_idx": 3
478
+ },
479
+ {
480
+ "type": "equation",
481
+ "text": "\n$$\nq _ {n k} = \\frac {\\left(1 + \\left\\| \\mathbf {z} _ {n} - \\xi_ {k} \\right\\| ^ {2} / \\alpha\\right) ^ {- \\frac {\\alpha + 1}{2}}}{\\sum_ {k ^ {\\prime} = 1} ^ {K} \\left(1 + \\left\\| \\mathbf {z} _ {n} - \\xi_ {k ^ {\\prime}} \\right\\| ^ {2} / \\alpha\\right) ^ {- \\frac {\\alpha + 1}{2}}}, \\tag {3}\n$$\n",
482
+ "text_format": "latex",
483
+ "bbox": [
484
+ 132,
485
+ 879,
486
+ 487,
487
+ 923
488
+ ],
489
+ "page_idx": 3
490
+ },
491
+ {
492
+ "type": "text",
493
+ "text": "where $q_{nk}$ can be viewed as the probability of assigning column relation embedding $\\mathbf{z}_n$ to the cluster $k$ as the soft assignment and $\\alpha$ denotes the degree of the Student's $t$ -distribution. We set $\\alpha = 1$ for all experiments.",
494
+ "bbox": [
495
+ 507,
496
+ 84,
497
+ 884,
498
+ 164
499
+ ],
500
+ "page_idx": 3
501
+ },
502
+ {
503
+ "type": "text",
504
+ "text": "We normalize each cluster by adopting the frequency as an auxiliary target distribution proposed by Xie et al. (2016) in Equation 4 and iteratively refine each cluster with the help of the auxiliary target distribution:",
505
+ "bbox": [
506
+ 507,
507
+ 165,
508
+ 884,
509
+ 244
510
+ ],
511
+ "page_idx": 3
512
+ },
513
+ {
514
+ "type": "equation",
515
+ "text": "\n$$\np _ {n k} = \\frac {q _ {n k} ^ {2} / f _ {k}}{\\sum_ {k ^ {\\prime}} q _ {n k ^ {\\prime}} ^ {2} / f _ {k ^ {\\prime}}}, \\tag {4}\n$$\n",
516
+ "text_format": "latex",
517
+ "bbox": [
518
+ 613,
519
+ 256,
520
+ 882,
521
+ 294
522
+ ],
523
+ "page_idx": 3
524
+ },
525
+ {
526
+ "type": "text",
527
+ "text": "where $f_{k} = \\sum_{n = 1}^{N}q_{nk}, k = 1,2,\\dots ,K$ is the soft cluster frequency. With the auxiliary target distribution, we could encourage each cluster to learn from its high confidence cluster assignments and simultaneously alleviating the bias caused by imbalanced clusters. We define KL divergence loss between the soft assignments $q_{n}$ and the auxiliary distribution $p_n$ to train the Contextualized Column Relation Encoder as follows:",
528
+ "bbox": [
529
+ 507,
530
+ 306,
531
+ 882,
532
+ 451
533
+ ],
534
+ "page_idx": 3
535
+ },
536
+ {
537
+ "type": "equation",
538
+ "text": "\n$$\n\\mathcal {L} _ {A C} = K L (P | | Q) = \\sum_ {n} \\sum_ {k} p _ {n k} \\log \\frac {p _ {n k}}{q _ {n k}}. \\tag {5}\n$$\n",
539
+ "text_format": "latex",
540
+ "bbox": [
541
+ 526,
542
+ 461,
543
+ 882,
544
+ 495
545
+ ],
546
+ "page_idx": 3
547
+ },
548
+ {
549
+ "type": "text",
550
+ "text": "We adopt the label associated with the largest probability as the pseudo label $\\mu_{n}$ for the $n$ -th column relation:",
551
+ "bbox": [
552
+ 507,
553
+ 507,
554
+ 882,
555
+ 552
556
+ ],
557
+ "page_idx": 3
558
+ },
559
+ {
560
+ "type": "equation",
561
+ "text": "\n$$\n\\mu_ {n} = \\underset {k \\in K} {\\operatorname {a r g m a x}} p _ {n k}. \\tag {6}\n$$\n",
562
+ "text_format": "latex",
563
+ "bbox": [
564
+ 621,
565
+ 557,
566
+ 880,
567
+ 581
568
+ ],
569
+ "page_idx": 3
570
+ },
571
+ {
572
+ "type": "text",
573
+ "text": "In summary, comparing with traditional clustering methods such as $k$ -means, Column Relation Encoder Updater via Adaptive Clustering adopts an iterative, soft-assignment learning process which encourages high-confidence assignments and uses high-confidence assignments to improve low confidence ones. Therefore, Column Relation Encoder Updater via Adaptive Clustering is robust enough to different cluster numbers $K$ , thus solving the situation that we have no prior knowledge of specific domains and the relational distributions in the column relational representations. To mitigate the possible negative impact of choosing a unideal initial centroid, Column Relation Encoder Updater via Adaptive Clustering randomly re-selects a set of $K$ initial centroids if $\\mathcal{L}_{AC}$ does not decrease after the first epoch.",
574
+ "bbox": [
575
+ 507,
576
+ 587,
577
+ 882,
578
+ 860
579
+ ],
580
+ "page_idx": 3
581
+ },
582
+ {
583
+ "type": "text",
584
+ "text": "Column Relation Encoder Updater via Pseudo Label Classification Although the clustering module forces the relational label distribution of",
585
+ "bbox": [
586
+ 507,
587
+ 871,
588
+ 882,
589
+ 917
590
+ ],
591
+ "page_idx": 3
592
+ },
593
+ {
594
+ "type": "page_number",
595
+ "text": "3789",
596
+ "bbox": [
597
+ 480,
598
+ 927,
599
+ 519,
600
+ 940
601
+ ],
602
+ "page_idx": 3
603
+ },
604
+ {
605
+ "type": "text",
606
+ "text": "low confidence to be close to the cluster centroids of high confidence to improve the confidence of clustering. However, the clusters may contain some different labels, which affects the clustering purity. Therefore, we utilize the Column Relation Encoder Updater via Pseudo Label Classification module to classify the pseudo labels, and obtain better column relational representations by improving the clustering purity. In practice, the Column Relation Encoder Updater via Adaptive Clustering generates cluster labels $M = \\{\\mu_1,\\mu_2,\\dots,\\mu_N\\}$ for all column relations as pseudo labels. Column Relation Encoder Updater via Pseudo Label Classification could adopt these pseudo labels as self-supervisions derived from the corpora themselves and use pseudo labels to guide the feature representation learning in Contextualized Column Relation Encoder as well as column relation classifier learning in Column Relation Encoder Updater via Pseudo Label Classification.",
607
+ "bbox": [
608
+ 110,
609
+ 84,
610
+ 492,
611
+ 405
612
+ ],
613
+ "page_idx": 4
614
+ },
615
+ {
616
+ "type": "text",
617
+ "text": "The Column Relation Encoder Updater via Pseudo Label Classification module learns to predict the pseudo labels as golden labels. More specifically, we have:",
618
+ "bbox": [
619
+ 112,
620
+ 406,
621
+ 489,
622
+ 470
623
+ ],
624
+ "page_idx": 4
625
+ },
626
+ {
627
+ "type": "equation",
628
+ "text": "\n$$\n\\mathbf {l} _ {n} = \\tau_ {\\phi} (f _ {\\theta} (T, \\langle s \\rangle , \\langle / s \\rangle)), \\tag {7}\n$$\n",
629
+ "text_format": "latex",
630
+ "bbox": [
631
+ 201,
632
+ 481,
633
+ 489,
634
+ 499
635
+ ],
636
+ "page_idx": 4
637
+ },
638
+ {
639
+ "type": "text",
640
+ "text": "where $\\tau_{\\phi}$ denotes the column relation classification module with parameters $\\phi$ and $\\mathbf{l}_n$ is the probability distribution for the $n$ -th sample over $K$ pseudo labels. To find the best performance parameters $\\theta$ for Contextualized Column Relation Encoder and $\\phi$ for the classifier, we optimize the classification loss:",
641
+ "bbox": [
642
+ 112,
643
+ 508,
644
+ 489,
645
+ 619
646
+ ],
647
+ "page_idx": 4
648
+ },
649
+ {
650
+ "type": "equation",
651
+ "text": "\n$$\n\\mathcal {L} _ {R C} = \\min _ {\\theta , \\phi} \\frac {1}{N} \\sum_ {n = 1} ^ {N} l o s s (\\mathbf {l} _ {n}, \\mathrm {o n e \\_ h o t} (\\mu_ {n})), (8)\n$$\n",
652
+ "text_format": "latex",
653
+ "bbox": [
654
+ 129,
655
+ 627,
656
+ 487,
657
+ 670
658
+ ],
659
+ "page_idx": 4
660
+ },
661
+ {
662
+ "type": "text",
663
+ "text": "where loss is the cross entropy loss and one-hot $(\\mu_{n})$ returns a one-hot pseudo label assignment vector.",
664
+ "bbox": [
665
+ 112,
666
+ 678,
667
+ 489,
668
+ 727
669
+ ],
670
+ "page_idx": 4
671
+ },
672
+ {
673
+ "type": "text",
674
+ "text": "3.2 Table Noise Generator",
675
+ "text_level": 1,
676
+ "bbox": [
677
+ 112,
678
+ 737,
679
+ 337,
680
+ 752
681
+ ],
682
+ "page_idx": 4
683
+ },
684
+ {
685
+ "type": "text",
686
+ "text": "The table noise generator module aims to improve the robustness of the model against the table noise. We firstly summarizes the noise types that exist in the real-world tabular data, and introduce these table noises to the column relations during the self-supervised training. Specifically, we defined two types of table noise: column value noise an column name noise. Here are some representative column value noises: 1) Replace / insert characters with proximal characters, e.g., computer $\\rightarrow$",
687
+ "bbox": [
688
+ 112,
689
+ 758,
690
+ 490,
691
+ 919
692
+ ],
693
+ "page_idx": 4
694
+ },
695
+ {
696
+ "type": "text",
697
+ "text": "computer / cocomputer. 2) Delete / repeat characters, e.g., computer $\\rightarrow$ compuer / computer. 3) Change the numeral display format like scientific notation, e.g., $12000\\to 1.2\\mathrm{e}4.$ Here are some representative column name noises: 1) Prefix column names with table name, e.g., traveldestination $\\rightarrow$ tourism_statistics_traveldestination. 2) Abbreviate column names, e.g., traveldestination $\\rightarrow$ traDest. 3) Drop vowels, e.g., traveldestination $\\rightarrow$ trvl_dstntn. 4) Synonym substitution (if exists), e.g., traveldestination $\\rightarrow$ touristdestination. 5) Acronym, e.g., traveldestination $\\rightarrow$ t_d.",
698
+ "bbox": [
699
+ 507,
700
+ 84,
701
+ 884,
702
+ 277
703
+ ],
704
+ "page_idx": 4
705
+ },
706
+ {
707
+ "type": "text",
708
+ "text": "For each table $T$ in the data lake tables $\\mathcal{T}$ , we randomly apply above noise to the training tabular data to improve the robustness of our model against the table noise.",
709
+ "bbox": [
710
+ 507,
711
+ 279,
712
+ 882,
713
+ 342
714
+ ],
715
+ "page_idx": 4
716
+ },
717
+ {
718
+ "type": "text",
719
+ "text": "3.3 Table Unionability Scorer",
720
+ "text_level": 1,
721
+ "bbox": [
722
+ 507,
723
+ 362,
724
+ 757,
725
+ 376
726
+ ],
727
+ "page_idx": 4
728
+ },
729
+ {
730
+ "type": "text",
731
+ "text": "The Table Scorer obtains the table unionability score based on the column relational representations between column relations in the query table and data lake tables, which can provide more sufficient information to clarify whether the two tables come from the same domain and have a union relation. After we obtained the Contextualized Column Relation Encoder with discriminative power to get the column relation embeddings $\\mathbf{z}_{e_{ij}} = (\\mathbf{c}_{\\langle s_{t_i}\\rangle},\\mathbf{c}_{\\langle s_{t_j}\\rangle})$ , we adopt the Column Relation Encoder Updater via Pseudo Label Classification to assign the $K$ relational labels to all $N$ column relations $\\mathbf{z}^n = (\\mathbf{z}_{e_{ij}})^n$ in the two tables:",
732
+ "bbox": [
733
+ 507,
734
+ 386,
735
+ 884,
736
+ 599
737
+ ],
738
+ "page_idx": 4
739
+ },
740
+ {
741
+ "type": "equation",
742
+ "text": "\n$$\n\\psi_ {n k} = \\underset {k \\in K, n \\in N} {\\operatorname {a r g m a x}} \\tau_ {\\phi} \\left(\\mathbf {z} ^ {n k}\\right), \\tag {9}\n$$\n",
743
+ "text_format": "latex",
744
+ "bbox": [
745
+ 600,
746
+ 615,
747
+ 882,
748
+ 644
749
+ ],
750
+ "page_idx": 4
751
+ },
752
+ {
753
+ "type": "text",
754
+ "text": "and assign the majority label $\\kappa$ as the predict relational label for the query table and data lake table. We count the number of majority labels $\\kappa$ in the all $N$ column relational representations between two tables as $M$ , so the table unionability score is $M / N$ . This score no longer depends on the calculation of cosine similarity between two column features to obtain the column unionability score, but obtains table unionability score through the column unionability scores. The higher the score, the greater the probability of these two tables being unjoinable. Instead of computational methods with insufficient column relational information, AUTO-TUS directly model the complex column relational representations, which can better address the table union search task.",
755
+ "bbox": [
756
+ 507,
757
+ 661,
758
+ 884,
759
+ 917
760
+ ],
761
+ "page_idx": 4
762
+ },
763
+ {
764
+ "type": "page_number",
765
+ "text": "3790",
766
+ "bbox": [
767
+ 480,
768
+ 927,
769
+ 521,
770
+ 940
771
+ ],
772
+ "page_idx": 4
773
+ },
774
+ {
775
+ "type": "table",
776
+ "img_path": "images/e425d1c23d5daf864c07060cb19fc652f7fe20eda06c75d63ce6fb389eb918a7.jpg",
777
+ "table_caption": [],
778
+ "table_footnote": [],
779
+ "table_body": "<table><tr><td>Test / Train</td><td># Tables</td><td># Columns</td><td>Avg. # Rows</td><td>Size (GB)</td></tr><tr><td>SANTOS Small</td><td>550</td><td>6,322</td><td>6,921</td><td>0.45</td></tr><tr><td>TUS Small</td><td>1,530</td><td>14,810</td><td>4,466</td><td>1</td></tr><tr><td>TUS Large</td><td>5,043</td><td>54,923</td><td>1,915</td><td>1.5</td></tr><tr><td>SANTOS Small</td><td>550</td><td>6,162</td><td>7,732</td><td>0.5</td></tr><tr><td>TUS Small</td><td>1,530</td><td>13,926</td><td>4,032</td><td>0.9</td></tr><tr><td>TUS Large</td><td>5,043</td><td>55,462</td><td>1,729</td><td>1.3</td></tr></table>",
780
+ "bbox": [
781
+ 117,
782
+ 80,
783
+ 485,
784
+ 175
785
+ ],
786
+ "page_idx": 5
787
+ },
788
+ {
789
+ "type": "text",
790
+ "text": "Table 1: The statistics of datasets for three benchmarks.",
791
+ "bbox": [
792
+ 112,
793
+ 186,
794
+ 485,
795
+ 200
796
+ ],
797
+ "page_idx": 5
798
+ },
799
+ {
800
+ "type": "text",
801
+ "text": "4 Experimental Evaluation",
802
+ "text_level": 1,
803
+ "bbox": [
804
+ 112,
805
+ 211,
806
+ 366,
807
+ 227
808
+ ],
809
+ "page_idx": 5
810
+ },
811
+ {
812
+ "type": "text",
813
+ "text": "We conduct extensive experiments on real-world public datasets as well as a synthetic test set augmented with table noise to show the effectiveness of our AUTOTUS on table union search task, and give a detailed analysis.",
814
+ "bbox": [
815
+ 112,
816
+ 236,
817
+ 487,
818
+ 317
819
+ ],
820
+ "page_idx": 5
821
+ },
822
+ {
823
+ "type": "text",
824
+ "text": "4.1 Experimental Setups",
825
+ "text_level": 1,
826
+ "bbox": [
827
+ 112,
828
+ 326,
829
+ 324,
830
+ 343
831
+ ],
832
+ "page_idx": 5
833
+ },
834
+ {
835
+ "type": "text",
836
+ "text": "Datasets. To evaluate our technique, three public datasets are used: SANTOS (Khatiwada and Fan, 2023), TUS small, and TUS large (Nargesian et al., 2018). These three datasets are subsets of Open Data released by authorities such as US Open Data $^{1}$ , UK Open Data $^{2}$ , and Canada Open Data $^{3}$ with manually labeled data. However, these data are usually officially filtered to remove a lot of table noise to maintain high quality. In order to verify the robustness of the model, we synthesized a test set with table noise, we added both column value and column name noises to the tabular data and obtained the synthesized SANTOS $_{N}$ and TUS large $_{N}$ . Note that although we add table noises, the human-annotated labels remain unchanged. To avoid information leakage, the manually labeled dataset is not used during the training. We randomly generated the same number of unlabeled training tables as the labeled tables from Open Data (Koutras et al., 2021; Khatiwada and Fan, 2023). We give the detailed statistics of datasets for three benchmarks in Table 1. We also give the dataset construction details in Appendix A.",
837
+ "bbox": [
838
+ 112,
839
+ 347,
840
+ 489,
841
+ 718
842
+ ],
843
+ "page_idx": 5
844
+ },
845
+ {
846
+ "type": "text",
847
+ "text": "Experimental Settings and Metrics. We adopt BERT-Base, BERT-Large (Devlin et al., 2019) and RoBERTa-Large (Liu et al., 2019) as the encoder and set max-length as 512. For Column Relation Encoder Updater via Adaptive Clustering, we adopt $k$ -means and set $K = 50$ to get the initial centroids. We stop the clustering and classification loop when the current pseudo labels differs by less than $10\\%$ from the previous epoch. For Column",
848
+ "bbox": [
849
+ 112,
850
+ 726,
851
+ 487,
852
+ 871
853
+ ],
854
+ "page_idx": 5
855
+ },
856
+ {
857
+ "type": "text",
858
+ "text": "Relation Encoder Updater via Pseudo Label Classification, we adopt the fully connected layer as $\\tau_{\\phi}$ and set dropout rate as $10\\%$ , learning rate as $1e - 5$ and warmup as 0.1. To allow fully connected layer to warm up, we fixed the parameters in $f_{\\theta}$ for the first two epochs. We add one noise of column data or column schemata to each column to obtain the training dataset. We first randomly choose whether to add noise in the column data or column schemata, and secondly, for all replacement, addition, or deletion of noise at the token level, we select $20\\%$ of all tokens in the cell of the column for modification.",
859
+ "bbox": [
860
+ 507,
861
+ 84,
862
+ 884,
863
+ 292
864
+ ],
865
+ "page_idx": 5
866
+ },
867
+ {
868
+ "type": "text",
869
+ "text": "For evaluation metrics, following the previous work (Bogatu et al., 2020; Khatiwada and Fan, 2023), we adopt the Mean Average Precision at $Y$ ( $MAP@Y$ ) and Recall at $Y$ ( $R@Y$ ) to evaluate the effectiveness of the searched top- $Y$ table results. Note that $MAP@Y$ is the average value of Precision at $y$ ( $P@y$ ), where $y = 1, 2, \\dots, Y$ . Formally, given the query table $Q$ and a set of data lake tables $\\mathcal{T}$ , we define $\\mathcal{T}_Q$ as the set of usable tables based on the ground truth and $\\mathcal{T}_Q'$ as the set of top- $Y$ 聢单table results using the searching methods. The $P@Y$ and $R@Y$ are calculated as:",
870
+ "bbox": [
871
+ 507,
872
+ 294,
873
+ 885,
874
+ 502
875
+ ],
876
+ "page_idx": 5
877
+ },
878
+ {
879
+ "type": "equation",
880
+ "text": "\n$$\nP @ Y = \\frac {\\mathcal {T} _ {Q} \\cap \\mathcal {T} _ {Q} ^ {\\prime}}{\\mathcal {T} _ {Q} ^ {\\prime}}, R @ Y = \\frac {\\mathcal {T} _ {Q} \\cap \\mathcal {T} _ {Q} ^ {\\prime}}{\\mathcal {T} _ {Q}} \\tag {10}\n$$\n",
881
+ "text_format": "latex",
882
+ "bbox": [
883
+ 537,
884
+ 513,
885
+ 882,
886
+ 555
887
+ ],
888
+ "page_idx": 5
889
+ },
890
+ {
891
+ "type": "text",
892
+ "text": "Note that perfect $R@Y$ is not possible when the ground truth contains less than $Y$ searched table results. We define the Mean Average Precision $MAP@Y$ as:",
893
+ "bbox": [
894
+ 507,
895
+ 565,
896
+ 882,
897
+ 630
898
+ ],
899
+ "page_idx": 5
900
+ },
901
+ {
902
+ "type": "equation",
903
+ "text": "\n$$\nM A P @ Y = \\frac {1}{Y} \\sum_ {y = 1} ^ {Y} P @ y \\tag {11}\n$$\n",
904
+ "text_format": "latex",
905
+ "bbox": [
906
+ 596,
907
+ 640,
908
+ 882,
909
+ 684
910
+ ],
911
+ "page_idx": 5
912
+ },
913
+ {
914
+ "type": "text",
915
+ "text": "For a fair comparison, we adopt the $Y = 10$ on the SANTOS benchmarks and $Y = 60$ on the TUS benchmarks to be consistent with Nargesian et al. (2018); Khatiwada and Fan (2023).",
916
+ "bbox": [
917
+ 507,
918
+ 699,
919
+ 884,
920
+ 763
921
+ ],
922
+ "page_idx": 5
923
+ },
924
+ {
925
+ "type": "text",
926
+ "text": "Baseline Models. We compare AUTOTUS with baseline models in two categories. The first category is table union search model that adopts various column features to calculate the table unionability score. We adopt $\\mathbf{D}^3\\mathbf{L}$ (Bogatu et al., 2020), SATO (Zhang et al., 2020), Starmie (Fan et al., 2022), and SANTOS (Khatiwada and Fan, 2023) as baselines. The second category is table pretrained model that leverages unlabeled tables for",
927
+ "bbox": [
928
+ 507,
929
+ 772,
930
+ 885,
931
+ 917
932
+ ],
933
+ "page_idx": 5
934
+ },
935
+ {
936
+ "type": "page_footnote",
937
+ "text": "'https://data.gov/",
938
+ "bbox": [
939
+ 134,
940
+ 878,
941
+ 302,
942
+ 891
943
+ ],
944
+ "page_idx": 5
945
+ },
946
+ {
947
+ "type": "page_footnote",
948
+ "text": "<sup>2</sup>https://www.data.gov.uk/",
949
+ "bbox": [
950
+ 134,
951
+ 891,
952
+ 361,
953
+ 904
954
+ ],
955
+ "page_idx": 5
956
+ },
957
+ {
958
+ "type": "page_footnote",
959
+ "text": "<sup>3</sup>https://open.canada.ca/en/open-data",
960
+ "bbox": [
961
+ 136,
962
+ 904,
963
+ 463,
964
+ 917
965
+ ],
966
+ "page_idx": 5
967
+ },
968
+ {
969
+ "type": "page_number",
970
+ "text": "3791",
971
+ "bbox": [
972
+ 480,
973
+ 927,
974
+ 517,
975
+ 940
976
+ ],
977
+ "page_idx": 5
978
+ },
979
+ {
980
+ "type": "table",
981
+ "img_path": "images/9a27ac22b02a66a461cba18922911373d342ec3b3f02b3d1622d385754ee09e3.jpg",
982
+ "table_caption": [],
983
+ "table_footnote": [],
984
+ "table_body": "<table><tr><td rowspan=\"2\">Methods</td><td colspan=\"2\">SANTOS</td><td colspan=\"2\">TUS small</td><td colspan=\"2\">TUS large</td><td colspan=\"2\">SANTOSN</td><td colspan=\"2\">TUS largeN</td></tr><tr><td>MAP@10</td><td>R@10</td><td>MAP@60</td><td>R@60</td><td>MAP@60</td><td>R@60</td><td>MAP@10</td><td>R@10</td><td>MAP@60</td><td>R@60</td></tr><tr><td>BERT-Base (Devlin et al., 2019)</td><td>79.5</td><td>53.7</td><td>74.1</td><td>16.3</td><td>63.1</td><td>13.4</td><td>69.5</td><td>46.9</td><td>55.3</td><td>9.4</td></tr><tr><td>TaBERT (Yin et al., 2020)</td><td>83.6</td><td>56.2</td><td>80.3</td><td>18.7</td><td>76.4</td><td>15.8</td><td>74.8</td><td>50.7</td><td>67.3</td><td>11.4</td></tr><tr><td>TABBIE (Iida et al., 2021)</td><td>86.3</td><td>58.5</td><td>82.4</td><td>19.2</td><td>78.7</td><td>15.3</td><td>76.9</td><td>51.6</td><td>65.2</td><td>11.8</td></tr><tr><td>TUTA (Wang et al., 2021)</td><td>86.7</td><td>59.2</td><td>84.5</td><td>20.1</td><td>80.5</td><td>16.9</td><td>77.9</td><td>52.3</td><td>71.6</td><td>13.2</td></tr><tr><td>FORTAP (Cheng et al., 2022)</td><td>88.5</td><td>60.9</td><td>87.3</td><td>20.6</td><td>81.3</td><td>17.0</td><td>78.7</td><td>52.7</td><td>72.8</td><td>12.8</td></tr><tr><td>TableFormer (Yang et al., 2022)</td><td>89.4</td><td>61.4</td><td>86.9</td><td>20.2</td><td>83.2</td><td>17.3</td><td>79.2</td><td>53.5</td><td>72.7</td><td>12.9</td></tr><tr><td>D3L (Bogatu et al., 2020)</td><td>82.8</td><td>56.3</td><td>79.5</td><td>19.7</td><td>66.3</td><td>15.2</td><td>73.5</td><td>51.0</td><td>57.8</td><td>9.7</td></tr><tr><td>SATO (Zhang et al., 2020)</td><td>92.7</td><td>68.2</td><td>91.7</td><td>21.5</td><td>86.7</td><td>18.4</td><td>80.1</td><td>54.5</td><td>77.3</td><td>14.5</td></tr><tr><td>Starmie† (Fan et al., 2022)</td><td>93.9</td><td>69.0</td><td>94.8</td><td>23.3</td><td>89.5</td><td>18.9</td><td>81.0</td><td>55.1</td><td>78.4</td><td>14.3</td></tr><tr><td>SANTOS(Khatiwada and Fan, 2023)</td><td>94.3</td><td>69.2</td><td>85.7</td><td>21.0</td><td>-</td><td>-</td><td>81.4</td><td>55.3</td><td>-</td><td>-</td></tr><tr><td>AUTOTUSBERT-Base</td><td>98.5±0.4</td><td>72.4±0.2</td><td>97.7±0.5</td><td>25.2±0.3</td><td>94.6±0.7</td><td>21.6±0.2</td><td>87.6±0.5</td><td>59.7±0.3</td><td>84.9±0.6</td><td>17.3±0.3</td></tr><tr><td>w/o Table Noise Generator</td><td>96.6±0.5</td><td>71.2±0.4</td><td>96.1±0.6</td><td>24.5±0.3</td><td>92.5±0.7</td><td>20.8±0.4</td><td>83.0±0.7</td><td>56.4±0.4</td><td>80.7±0.8</td><td>14.9±0.3</td></tr><tr><td>w/o Encoder Update via Adaptive Clustering</td><td>94.5±0.6</td><td>71.9±0.4</td><td>94.3±0.7</td><td>23.3±0.5</td><td>91.0±0.5</td><td>20.4±0.3</td><td>83.2±0.6</td><td>56.3±0.4</td><td>80.5±0.7</td><td>14.7±0.3</td></tr><tr><td>w/o Encoder Update via Pseudo Label Classification</td><td>81.8±0.6</td><td>54.7±0.4</td><td>80.9±0.9</td><td>16.8±0.4</td><td>77.3±0.7</td><td>17.0±0.4</td><td>72.1±0.8</td><td>50.2±0.6</td><td>68.5±0.7</td><td>12.2±0.2</td></tr><tr><td>AUTOTUSBERT-Large</td><td>99.1±0.5</td><td>73.8±0.2</td><td>98.3±0.5</td><td>26.0±0.2</td><td>95.8±0.6</td><td>22.5±0.3</td><td>89.4±0.6</td><td>61.0±0.3</td><td>86.1±0.7</td><td>17.9±0.2</td></tr><tr><td>AUTOTUSRoBERTa-Large</td><td>99.4±0.4</td><td>73.9±0.2</td><td>98.9±0.3</td><td>26.7±0.2</td><td>96.2±0.5</td><td>22.3±0.2</td><td>90.0±0.5</td><td>60.5±0.3</td><td>86.9±0.6</td><td>18.1±0.3</td></tr></table>",
985
+ "bbox": [
986
+ 121,
987
+ 80,
988
+ 880,
989
+ 281
990
+ ],
991
+ "page_idx": 6
992
+ },
993
+ {
994
+ "type": "text",
995
+ "text": "Table 2: MAP@Y and R@Y comparisons (%). Results of AUTOTUS are averaged over five runs. $\\dagger$ means we replace the base encoder from RoBERTa-Base to BERT-Base, and all models are based on BERT-Base for a fair comparison. Note that perfect R@Y is not possible when the ground truth contains less than Y searched tables.",
996
+ "bbox": [
997
+ 112,
998
+ 288,
999
+ 882,
1000
+ 332
1001
+ ],
1002
+ "page_idx": 6
1003
+ },
1004
+ {
1005
+ "type": "text",
1006
+ "text": "self-supervised pre-training and achieves promising results in various table related NLP tasks. We adopt TaBERT (Yin et al., 2020), TABBIE (Iida et al., 2021), TUTA (Wang et al., 2021), FORTAP (Cheng et al., 2022), and TableFormer (Yang et al., 2022) as baseline encoders to calculate the column unionability score and adopt our Table Scorer module to obtain the table unionability score. Although, there are more baseline models in this category, we just select representative and SOTA ones. The details of baselines are introduced in Appendix B.",
1007
+ "bbox": [
1008
+ 112,
1009
+ 344,
1010
+ 489,
1011
+ 521
1012
+ ],
1013
+ "page_idx": 6
1014
+ },
1015
+ {
1016
+ "type": "text",
1017
+ "text": "4.2 Results and Analysis",
1018
+ "text_level": 1,
1019
+ "bbox": [
1020
+ 112,
1021
+ 539,
1022
+ 324,
1023
+ 556
1024
+ ],
1025
+ "page_idx": 6
1026
+ },
1027
+ {
1028
+ "type": "text",
1029
+ "text": "Overall Performance. Table 2 shows the average results on five table union search benchmarks. The proposed AUTOUS consistently outperforms all baselines in MAP and R performance by leveraging column relational representation learning (with student's T test $p < 0.05$ ). More specifically, for five benchmarks, compared to the SOTA baseline, AUTOUS on average achieves $5.1\\%$ higher MAP and $3.1\\%$ higher R across various benchmarks. Compared with BERT-Base, all table pre-trained and table union search baselines could gain MAP and R performance improvements from better learned tabular representations. The table union search baselines can achieve better results than the table pre-trained baselines by optimizing the column representations specific to the table union search task. AUTOUS exploit the column relational representations and are able to beat all the table union search baselines. In addition, we study the performance changes brought about by using larger base encoders BERT-Large (Devlin et al., 2019) and RoBERTa-Large (Liu et al., 2019).",
1030
+ "bbox": [
1031
+ 112,
1032
+ 565,
1033
+ 489,
1034
+ 917
1035
+ ],
1036
+ "page_idx": 6
1037
+ },
1038
+ {
1039
+ "type": "image",
1040
+ "img_path": "images/0499b61ea36c5f2efbfdfd3e7170cbf2cd14032c9fd6e44ce96056945e46f517.jpg",
1041
+ "image_caption": [
1042
+ "(a) $P@K$ on SANTOSN"
1043
+ ],
1044
+ "image_footnote": [],
1045
+ "bbox": [
1046
+ 512,
1047
+ 341,
1048
+ 699,
1049
+ 450
1050
+ ],
1051
+ "page_idx": 6
1052
+ },
1053
+ {
1054
+ "type": "image",
1055
+ "img_path": "images/84830044b7884a84f423356c93293c564612bb0c77016960c91b2789c9f7b0c3.jpg",
1056
+ "image_caption": [
1057
+ "(b) $R@K$ on SANTOSN"
1058
+ ],
1059
+ "image_footnote": [],
1060
+ "bbox": [
1061
+ 700,
1062
+ 341,
1063
+ 880,
1064
+ 451
1065
+ ],
1066
+ "page_idx": 6
1067
+ },
1068
+ {
1069
+ "type": "image",
1070
+ "img_path": "images/55eca785b1b56006f99c2d36356e329f33382d97f16379c93efa29292cd4d785.jpg",
1071
+ "image_caption": [
1072
+ "(c) $P@K$ on TUS Small"
1073
+ ],
1074
+ "image_footnote": [],
1075
+ "bbox": [
1076
+ 512,
1077
+ 462,
1078
+ 692,
1079
+ 571
1080
+ ],
1081
+ "page_idx": 6
1082
+ },
1083
+ {
1084
+ "type": "image",
1085
+ "img_path": "images/f8c9a89fea0b3df1cdb4badc7095b352041011c75bfa6556a19a4a31e1cd09ff.jpg",
1086
+ "image_caption": [
1087
+ "(d) $R@K$ on TUS Small"
1088
+ ],
1089
+ "image_footnote": [],
1090
+ "bbox": [
1091
+ 700,
1092
+ 463,
1093
+ 880,
1094
+ 571
1095
+ ],
1096
+ "page_idx": 6
1097
+ },
1098
+ {
1099
+ "type": "image",
1100
+ "img_path": "images/94ed419558c6f3d98114b4c62557686568eade91298fbd229872bc21699a48b1.jpg",
1101
+ "image_caption": [
1102
+ "(e) $P@K$ on TUS LargeN",
1103
+ "Figure 3: $\\mathbb{P}@\\mathcal{Y}$ and $\\mathbb{R}@\\mathcal{Y}$ results on different datasets."
1104
+ ],
1105
+ "image_footnote": [],
1106
+ "bbox": [
1107
+ 512,
1108
+ 581,
1109
+ 692,
1110
+ 690
1111
+ ],
1112
+ "page_idx": 6
1113
+ },
1114
+ {
1115
+ "type": "image",
1116
+ "img_path": "images/bed15055a2cfe8be30caf286d0486fa7a211596e158b96136bc416126b186a4b.jpg",
1117
+ "image_caption": [
1118
+ "(f) $R@K$ on TUS LargeN"
1119
+ ],
1120
+ "image_footnote": [],
1121
+ "bbox": [
1122
+ 700,
1123
+ 581,
1124
+ 880,
1125
+ 690
1126
+ ],
1127
+ "page_idx": 6
1128
+ },
1129
+ {
1130
+ "type": "text",
1131
+ "text": "From Figure 2, it can be concluded that leveraging a large-scale pre-trained language model with more parameters can lead to better MAP and R, BERT-Large and RoBERTa-Large obtain an average boost of $1.1\\%$ and $1.4\\%$ , respectively.",
1132
+ "bbox": [
1133
+ 507,
1134
+ 757,
1135
+ 882,
1136
+ 835
1137
+ ],
1138
+ "page_idx": 6
1139
+ },
1140
+ {
1141
+ "type": "text",
1142
+ "text": "Another interesting finding is that, although all the models have decreased performance on the datasets with table noise, the average performance improvement of AUTOTUS compared to SOTA is consistent, and even increased to $6.6\\%$ on MAP",
1143
+ "bbox": [
1144
+ 507,
1145
+ 839,
1146
+ 882,
1147
+ 917
1148
+ ],
1149
+ "page_idx": 6
1150
+ },
1151
+ {
1152
+ "type": "page_number",
1153
+ "text": "3792",
1154
+ "bbox": [
1155
+ 480,
1156
+ 927,
1157
+ 521,
1158
+ 940
1159
+ ],
1160
+ "page_idx": 6
1161
+ },
1162
+ {
1163
+ "type": "image",
1164
+ "img_path": "images/4ce794ff664341b5f89b03f1575dab91fb6d4c58cca9241404feed09b9016e15.jpg",
1165
+ "image_caption": [
1166
+ "(a) AutoTUS w/o Column Pair Classification"
1167
+ ],
1168
+ "image_footnote": [],
1169
+ "bbox": [
1170
+ 129,
1171
+ 80,
1172
+ 314,
1173
+ 178
1174
+ ],
1175
+ "page_idx": 7
1176
+ },
1177
+ {
1178
+ "type": "image",
1179
+ "img_path": "images/17cdd72e1216f58ac79e11d54b74163a72beaf9a7886f26e323beef0bbfb8487.jpg",
1180
+ "image_caption": [
1181
+ "Figure 4: Visualizing column relational representations after t-SNE dimension reduction on TUS large $_N$ ."
1182
+ ],
1183
+ "image_footnote": [],
1184
+ "bbox": [
1185
+ 327,
1186
+ 80,
1187
+ 505,
1188
+ 178
1189
+ ],
1190
+ "page_idx": 7
1191
+ },
1192
+ {
1193
+ "type": "image",
1194
+ "img_path": "images/6d1d1ed2a151aa00d423a9d5e1d7618d325b3008b2dbb787906ab8666f09cbdb.jpg",
1195
+ "image_caption": [
1196
+ "(b) AutoTUS w/o Automatic Clustering (c)"
1197
+ ],
1198
+ "image_footnote": [],
1199
+ "bbox": [
1200
+ 512,
1201
+ 80,
1202
+ 694,
1203
+ 178
1204
+ ],
1205
+ "page_idx": 7
1206
+ },
1207
+ {
1208
+ "type": "image",
1209
+ "img_path": "images/c255849864abb4d383a01f4e6235217e9c3b634527ae4f5d83b8ca9b8b570132.jpg",
1210
+ "image_caption": [
1211
+ "AutoTUS w/o Real-world Noise Generation",
1212
+ "(d) AutoTUS"
1213
+ ],
1214
+ "image_footnote": [],
1215
+ "bbox": [
1216
+ 705,
1217
+ 80,
1218
+ 875,
1219
+ 178
1220
+ ],
1221
+ "page_idx": 7
1222
+ },
1223
+ {
1224
+ "type": "text",
1225
+ "text": "and $3.8\\%$ on R. We attribute the improvement of AUTCUS to the noisy, weak column relational representations from the large pre-trained language models are exploited and refined: we bootstrap the representations obtained from noisy tabular data via self-supervised training schema. More specifically, we give the comparison of $\\mathrm{P}@\\mathrm{Y}$ and $\\mathrm{R}@\\mathrm{Y}$ as $Y$ changes in Figure 3. We find that AUTCUS consistently outperforms all baseline models on both metrics $\\mathrm{P}@\\mathrm{Y}$ and $\\mathrm{R}@\\mathrm{Y}$ as $Y$ changes.",
1226
+ "bbox": [
1227
+ 112,
1228
+ 229,
1229
+ 489,
1230
+ 391
1231
+ ],
1232
+ "page_idx": 7
1233
+ },
1234
+ {
1235
+ "type": "text",
1236
+ "text": "Ablation Study. We conduct ablation studies to show the effectiveness of different modules of AUTOTUS. A number of variants of AUTOTUS are considered: AUTOTUS w/o Table Noise Generation removes added table noise in the training data; AUTOTUS w/o Column Relation Encoder Updater via Pseudo Label Classification is AUTOTUS without Column Relation Encoder Updater via Pseudo Label Classification and only uses the Contextualized Column Relation Encoder for Column Relation Encoder Updater via Adaptive Clustering; AUTOTUS w/o Column Relation Encoder Updater via Adaptive Clustering replaces the suggested soft-assignment clustering techniques with $k$ -means as a hard-assignment alternative.",
1237
+ "bbox": [
1238
+ 112,
1239
+ 403,
1240
+ 489,
1241
+ 643
1242
+ ],
1243
+ "page_idx": 7
1244
+ },
1245
+ {
1246
+ "type": "text",
1247
+ "text": "The general conclusion from ablation study results shown in Table 2 is that the all three modules contribute positively to improve the performance. More specifically, without table noise in training data, AUTOTUS w/o Table Noise Generation gives $2.3\\%$ less MAP and R averaged on all datasets, especially the noisy $\\mathrm{SANTOS}_N$ and TUS large, the drop reaches $3.5\\%$ . If we stop exploiting self-supervised signals for column relational features learning, AUTOTUS w/o Column Relation Encoder Updater via Pseudo Label Classification brings $12.8\\%$ less MAP and R averaged on all datasets. This huge performance drop fully demonstrates the importance of learning and refining column-pair representations. Column Relation Encoder Updater via Adaptive Clustering gives $3.0\\%$ MAP and R boost in average when comparing",
1248
+ "bbox": [
1249
+ 112,
1250
+ 645,
1251
+ 489,
1252
+ 919
1253
+ ],
1254
+ "page_idx": 7
1255
+ },
1256
+ {
1257
+ "type": "text",
1258
+ "text": "with the hard-assignment alternative (AUTOTUS w/o Column Relation Encoder Updater via Adaptive Clustering).",
1259
+ "bbox": [
1260
+ 507,
1261
+ 229,
1262
+ 884,
1263
+ 277
1264
+ ],
1265
+ "page_idx": 7
1266
+ },
1267
+ {
1268
+ "type": "text",
1269
+ "text": "Visualizing Contextualized Column Relational Embeddings. To intuitively show how clustering-enhanced self-supervised training can exploit self-supervised signals to obtain better contextualized column relational representations, we visualize the dimensionally reduced column relational representation space $\\mathbb{R}^{2\\cdot h_R}$ using t-SNE (Maaten and Hinton, 2008). We randomly choose 10 base tables from TUS large $_N$ dataset and sample all column relations that belong to the corresponding base table. We show the visualization results in Figure 4 with each column relation being colored according to their ground-truth.",
1270
+ "bbox": [
1271
+ 507,
1272
+ 291,
1273
+ 884,
1274
+ 500
1275
+ ],
1276
+ "page_idx": 7
1277
+ },
1278
+ {
1279
+ "type": "text",
1280
+ "text": "From Figure 4, we can see that AUTOTUS w/o Column Relation Encoder Updater via Pseudo Label Classification can assign meaningful semantics to column relations from different base tables, but these unrefined features cannot be tailored for the table union search task. When Column Relation Encoder Updater via Adaptive Clustering is not applied and only $k$ -means are used, AUTOTUS w/o Column Relation Encoder Updater via Adaptive Clustering performs a hard assignment of features, and the clustering results appear messy since there are no cluster centroids with high confidence. AUTOTUS w/o Table Noise Generation demonstrates that the clustered features is not tolerate to the noise samples, resulting in unclear cluster boundaries. AUTOTUS shows denser and well-separated clusters, which verifies its powerful column relational representation learning ability.",
1281
+ "bbox": [
1282
+ 507,
1283
+ 502,
1284
+ 884,
1285
+ 791
1286
+ ],
1287
+ "page_idx": 7
1288
+ },
1289
+ {
1290
+ "type": "text",
1291
+ "text": "Parameter Analysis: when $\\mathbf{K}$ is unknown. The Column Relation Encoder Updater via Adaptive Clustering provide the flexibility to explore column relational features without knowing any prior information about the number of clusters. This property is attractive when the number of target clusters is agnostic. We vary $K$ from 10 to 200 and report the",
1292
+ "bbox": [
1293
+ 507,
1294
+ 806,
1295
+ 882,
1296
+ 919
1297
+ ],
1298
+ "page_idx": 7
1299
+ },
1300
+ {
1301
+ "type": "page_number",
1302
+ "text": "3793",
1303
+ "bbox": [
1304
+ 480,
1305
+ 927,
1306
+ 519,
1307
+ 940
1308
+ ],
1309
+ "page_idx": 7
1310
+ },
1311
+ {
1312
+ "type": "image",
1313
+ "img_path": "images/f8fe6fcada3e668877d0377794b95a349dfa73ad15b264734605fae713da175f.jpg",
1314
+ "image_caption": [],
1315
+ "image_footnote": [
1316
+ "AutoTUS (TUS Small) AutoTUS w/o Automatic Clustering (TUS Small)",
1317
+ "AutoTUS (TUS Large) AutoTUS w/o Automatic Clustering (TUS Large)"
1318
+ ],
1319
+ "bbox": [
1320
+ 115,
1321
+ 108,
1322
+ 485,
1323
+ 277
1324
+ ],
1325
+ "page_idx": 8
1326
+ },
1327
+ {
1328
+ "type": "table",
1329
+ "img_path": "images/ca2422e3adb3cb13a1cbb77871d467df8c5912164ccb099d858f505146d115d6.jpg",
1330
+ "table_caption": [
1331
+ "Figure 5: MAP@60 Score with different $K$ ."
1332
+ ],
1333
+ "table_footnote": [],
1334
+ "table_body": "<table><tr><td colspan=\"3\">Table Noise</td><td colspan=\"2\">SANTOSN</td><td colspan=\"2\">TUS largeN</td></tr><tr><td>Column Name</td><td colspan=\"2\">Column Data</td><td>MAP@10</td><td>R@10</td><td>MAP@60</td><td>R@60</td></tr><tr><td>X</td><td colspan=\"2\">X</td><td>83.0</td><td>56.4</td><td>80.7</td><td>14.9</td></tr><tr><td>X</td><td colspan=\"2\">✓</td><td>85.5</td><td>57.6</td><td>82.1</td><td>15.8</td></tr><tr><td>✓</td><td colspan=\"2\">X</td><td>86.9</td><td>59.2</td><td>83.8</td><td>16.4</td></tr><tr><td>✓ or and</td><td colspan=\"2\">✓</td><td>87.6</td><td>59.7</td><td>84.9</td><td>17.3</td></tr><tr><td></td><td></td><td>88.0</td><td>60.1</td><td>84.7</td><td>17.1</td><td></td></tr></table>",
1335
+ "bbox": [
1336
+ 117,
1337
+ 306,
1338
+ 487,
1339
+ 401
1340
+ ],
1341
+ "page_idx": 8
1342
+ },
1343
+ {
1344
+ "type": "text",
1345
+ "text": "Table 3: Table Noise Analysis.",
1346
+ "bbox": [
1347
+ 194,
1348
+ 410,
1349
+ 405,
1350
+ 425
1351
+ ],
1352
+ "page_idx": 8
1353
+ },
1354
+ {
1355
+ "type": "text",
1356
+ "text": "MAP@60 score in Figure 5, the best result is obtained when $K = 25$ for TUS Small and $K = 50$ for TUS Large, slightly larger than the number of base tables in the two datasets, indicating that AUTOTUS actually exploits the number of target clusters as useful prior knowledge. Thanks to the self-supervised training for column relational features exploitation and the flexibility brought by soft-assignment clustering, when we vary $K$ from 10 to 200, AUTOTUS gets a more stable MAP@60 score than AUTOTUS w/o Column Relation Encoder Updater via Adaptive Clustering.",
1357
+ "bbox": [
1358
+ 112,
1359
+ 437,
1360
+ 489,
1361
+ 630
1362
+ ],
1363
+ "page_idx": 8
1364
+ },
1365
+ {
1366
+ "type": "text",
1367
+ "text": "Impact of Table Noise. We investigate the effect of table noise in column value and column name. As shown in Section 3.2, we randomly select a corresponding noise from two types of noises. From Table 3, we observe that adding table noise to both column value and column name help to improve the performance, whereas changing column name has a slightly larger effect (2.8% vs. 1.5%). This improvements may related to the fact that column name summarizes the entire column semantically, so adding noise to the column names can make the model more robust to table noise and thus obtain more performance gains. However, adding more noise did not consistently improve performance, suggesting that the model needs to find a trade-off between noisy data perturbation and increased robustness to noise.",
1368
+ "bbox": [
1369
+ 112,
1370
+ 645,
1371
+ 489,
1372
+ 917
1373
+ ],
1374
+ "page_idx": 8
1375
+ },
1376
+ {
1377
+ "type": "text",
1378
+ "text": "5 Related Work",
1379
+ "text_level": 1,
1380
+ "bbox": [
1381
+ 509,
1382
+ 83,
1383
+ 665,
1384
+ 98
1385
+ ],
1386
+ "page_idx": 8
1387
+ },
1388
+ {
1389
+ "type": "text",
1390
+ "text": "5.1 Table Union Search",
1391
+ "text_level": 1,
1392
+ "bbox": [
1393
+ 507,
1394
+ 111,
1395
+ 710,
1396
+ 124
1397
+ ],
1398
+ "page_idx": 8
1399
+ },
1400
+ {
1401
+ "type": "text",
1402
+ "text": "In dataset discovery, it is crucial to find related tables in data lakes. The table union search task has recently received considerable attentions (Ling et al., 2013; Lehmberg and Bizer, 2017; Khatiwada and Fan, 2023). The initial attempt is made by Nargesian et al. (2018). The $\\mathrm{D}^{3}\\mathrm{L}$ (Bogatu et al., 2020) categories columns into groups by column features. Starmie (Fan et al., 2022) obtains the column features by utilizing a contextualized pretrained language models. SANTOS (Khatiwada and Fan, 2023) leverages a knowledge base to discover the unionable relations between two tables. More recently, a number of table pre-training models have been developed to obtain the contextualized table representation (Yin et al., 2020; Gong et al., 2020; Dong et al., 2022). However, these methods are not tailored to the table union search task.",
1403
+ "bbox": [
1404
+ 505,
1405
+ 133,
1406
+ 885,
1407
+ 407
1408
+ ],
1409
+ "page_idx": 8
1410
+ },
1411
+ {
1412
+ "type": "text",
1413
+ "text": "5.2 Self-supervised Learning in NLP",
1414
+ "text_level": 1,
1415
+ "bbox": [
1416
+ 507,
1417
+ 420,
1418
+ 815,
1419
+ 436
1420
+ ],
1421
+ "page_idx": 8
1422
+ },
1423
+ {
1424
+ "type": "text",
1425
+ "text": "Self-supervised learning (SSL) is a method for building models where the output labels are already included in the input data, eliminating the need for additional labeled data (Liu et al., 2021; Hu et al., 2021a,b; Liu et al., 2022d,c). SSL has been widely used in NLP domains such as sentence generation (West et al., 2019; Yan et al., 2021), document processing (You et al., 2021; Ginzburg et al., 2021), natural language inference (Li et al., 2022, 2023), and text reasoning (Klein and Nabi, 2020; Fu et al., 2020; Chen et al., 2022). BERT (Devlin et al., 2019) is one of the most eminent SSL methods which exploit self-supervisions from corpus with next sentence prediction and masked language modeling tasks. In our work, we adopt SSL method to exploit and refine self-supervised signals from tabular data.",
1426
+ "bbox": [
1427
+ 505,
1428
+ 442,
1429
+ 885,
1430
+ 715
1431
+ ],
1432
+ "page_idx": 8
1433
+ },
1434
+ {
1435
+ "type": "text",
1436
+ "text": "6 Conclusions",
1437
+ "text_level": 1,
1438
+ "bbox": [
1439
+ 507,
1440
+ 731,
1441
+ 650,
1442
+ 746
1443
+ ],
1444
+ "page_idx": 8
1445
+ },
1446
+ {
1447
+ "type": "text",
1448
+ "text": "In this paper, we propose a multi-stage self-supervised table union search framework, which represents column relation as column relational representation and learn this representation in a multi-stage manner that can better describe column relation for unionability prediction. In additional, a table noise generator is proposed to improve the robustness of our approach against the table noise. The conducted extensive experiments demonstrate the effectiveness of the proposed approach.",
1449
+ "bbox": [
1450
+ 505,
1451
+ 758,
1452
+ 885,
1453
+ 919
1454
+ ],
1455
+ "page_idx": 8
1456
+ },
1457
+ {
1458
+ "type": "page_number",
1459
+ "text": "3794",
1460
+ "bbox": [
1461
+ 480,
1462
+ 927,
1463
+ 521,
1464
+ 940
1465
+ ],
1466
+ "page_idx": 8
1467
+ },
1468
+ {
1469
+ "type": "text",
1470
+ "text": "7 Limitations",
1471
+ "text_level": 1,
1472
+ "bbox": [
1473
+ 114,
1474
+ 84,
1475
+ 250,
1476
+ 98
1477
+ ],
1478
+ "page_idx": 9
1479
+ },
1480
+ {
1481
+ "type": "text",
1482
+ "text": "We would like to claim our limitations from two perspectives: technical-wise and application-wise.",
1483
+ "bbox": [
1484
+ 112,
1485
+ 110,
1486
+ 485,
1487
+ 141
1488
+ ],
1489
+ "page_idx": 9
1490
+ },
1491
+ {
1492
+ "type": "text",
1493
+ "text": "Technical-wise: We currently only experiment with BERT-Base, BERT-Large, and RoBERTa-Large as the basic encoders. For larger language models, due to limited resources, we have not implemented them.",
1494
+ "bbox": [
1495
+ 112,
1496
+ 142,
1497
+ 487,
1498
+ 221
1499
+ ],
1500
+ "page_idx": 9
1501
+ },
1502
+ {
1503
+ "type": "text",
1504
+ "text": "Application-wise: The experimental data comes from the Open Data repository released by governments of various countries. Although many domains are covered, some domain-specific data, such as biomedical, have not been considered. Furthermore, our tabular data are all from English, open data research in other languages can be considered as a future research direction.",
1505
+ "bbox": [
1506
+ 112,
1507
+ 223,
1508
+ 487,
1509
+ 350
1510
+ ],
1511
+ "page_idx": 9
1512
+ },
1513
+ {
1514
+ "type": "text",
1515
+ "text": "8 Acknowledgement",
1516
+ "text_level": 1,
1517
+ "bbox": [
1518
+ 112,
1519
+ 365,
1520
+ 309,
1521
+ 382
1522
+ ],
1523
+ "page_idx": 9
1524
+ },
1525
+ {
1526
+ "type": "text",
1527
+ "text": "We thank the reviewers for their valuable comments. Lijie Wen is the corresponding author. Xuming Hu and Lijie Wen were partially supported by the National Key Research and Development Program of China (No. 2019YFB1704003), the National Nature Science Foundation of China (No. 62021002), Tsinghua BNrist and Beijing Key Laboratory of Industrial Bigdata System and Application. Philip S. Yu was partially supported by the NSF under grants III-1763325, III-1909323, III-2106758, SaTC-1930941.",
1528
+ "bbox": [
1529
+ 112,
1530
+ 391,
1531
+ 489,
1532
+ 565
1533
+ ],
1534
+ "page_idx": 9
1535
+ },
1536
+ {
1537
+ "type": "text",
1538
+ "text": "References",
1539
+ "text_level": 1,
1540
+ "bbox": [
1541
+ 114,
1542
+ 596,
1543
+ 213,
1544
+ 611
1545
+ ],
1546
+ "page_idx": 9
1547
+ },
1548
+ {
1549
+ "type": "list",
1550
+ "sub_type": "ref_text",
1551
+ "list_items": [
1552
+ "Rami Aly, Zhijiang Guo, Michael Sejr Schlichtkrull, James Thorne, Andreas Vlachos, Christos Christodoulopoulos, Oana Cocarascu, and Arpit Mittal. 2021. Feverous: Fact extraction and verification over unstructured and structured information. In Proc. of NeurIPS: Datasets and Benchmarks Track.",
1553
+ "Alex Bogatu, Alvaro AA Fernandes, Norman W Paton, and Nikolaos Konstantinou. 2020. Dataset discovery in data lakes. In Proc. of ICDE, pages 709-720. IEEE.",
1554
+ "Dan Brickley, Matthew Burgess, and Natasha Noy. 2019. Google dataset search: Building a search engine for datasets in an open web ecosystem. In Proc. of WWW, pages 1365-1375.",
1555
+ "Wenhu Chen, Hanwen Zha, Zhiyu Chen, Wenhan Xiong, Hong Wang, and William Yang Wang. 2020. Hybridqa: A dataset of multi-hop question answering over tabular and textual data. In Findings of the Association for Computational Linguistics: EMNLP 2020, pages 1026-1036."
1556
+ ],
1557
+ "bbox": [
1558
+ 115,
1559
+ 619,
1560
+ 487,
1561
+ 917
1562
+ ],
1563
+ "page_idx": 9
1564
+ },
1565
+ {
1566
+ "type": "list",
1567
+ "sub_type": "ref_text",
1568
+ "list_items": [
1569
+ "Yubo Chen, Yunqi Zhang, and Yongfeng Huang. 2022. Learning reasoning patterns for relational triple extraction with mutual generation of text and graph. In *Findings of ACL*, pages 1638-1647.",
1570
+ "Zhoujun Cheng, Haoyu Dong, Ran Jia, Pengfei Wu, Shi Han, Fan Cheng, and Dongmei Zhang. 2022. Fortap: Using formulas for numerical-reasoning-aware table pretraining. In Proc. of ACL, pages 1150-1166.",
1571
+ "Nadiia Chepurko, Ryan Marcus, Emanuel Zgraggen, Raul Castro Fernandez, Tim Kraska, and David Karger. 2020. Arda: automatic relational data augmentation for machine learning. Proc. of VLDB, 13(9):1373-1387.",
1572
+ "Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. 2019. Bert: Pre-training of deep bidirectional transformers for language understanding. In Proc. of NAACL-HLT, pages 4171-4186.",
1573
+ "Haoyu Dong, Zhoujun Cheng, Xinyi He, Mengyu Zhou, Anda Zhou, Fan Zhou, Ao Liu, Shi Han, and Dongmei Zhang. 2022. Table pretraining: A survey on model architectures, pretraining objectives, and downstream tasks. arXiv preprint arXiv:2201.09745.",
1574
+ "Grace Fan, Jin Wang, Yuliang Li, Dan Zhang, and Renee Miller. 2022. Semantics-aware dataset discovery from data lakes with contextualized column-based representation learning. arXiv preprint arXiv:2210.01922.",
1575
+ "Tsu-Jui Fu, Xin Wang, Scott Grafton, Miguel Eckstein, and William Yang Wang. 2020. Sscr: Iterative language-based image editing via self-supervised counterfactual reasoning. In Proc. of EMNLP, pages 4413-4422.",
1576
+ "Sainyam Galhotra and Udayan Khurana. 2020. Semantic search over structured data. In Proc. of CIKM, pages 3381-3384.",
1577
+ "Dvir Ginzburg, Itzik Malkiel, Oren Barkan, Avi Caci-ularu, and Noam Koenigstein. 2021. Self-supervised document similarity ranking via contextualized language models and hierarchical inference. In *Findings of ACL-IJCNLP*, pages 3088-3098.",
1578
+ "Heng Gong, Yawei Sun, Xiaocheng Feng, Bing Qin, Wei Bi, Xiaojiang Liu, and Ting Liu. 2020. Tablegpt: Few-shot table-to-text generation with table structure reconstruction and content matching. In Proc. of COLING, pages 1978-1988.",
1579
+ "Zhijiang Guo, Michael Schlichtkrull, and Andreas Vlachos. 2022. A survey on automated fact-checking. Transactions of the Association for Computational Linguistics, 10:178-206.",
1580
+ "Jonathan Herzig, Pawel Krzysztof Nowak, Thomas Mueller, Francesco Piccinno, and Julian Eisenschlos. 2020. Tapas: Weakly supervised table parsing via pre-training. In Proc. of ACL, pages 4320-4333."
1581
+ ],
1582
+ "bbox": [
1583
+ 510,
1584
+ 85,
1585
+ 882,
1586
+ 917
1587
+ ],
1588
+ "page_idx": 9
1589
+ },
1590
+ {
1591
+ "type": "page_number",
1592
+ "text": "3795",
1593
+ "bbox": [
1594
+ 480,
1595
+ 928,
1596
+ 519,
1597
+ 940
1598
+ ],
1599
+ "page_idx": 9
1600
+ },
1601
+ {
1602
+ "type": "list",
1603
+ "sub_type": "ref_text",
1604
+ "list_items": [
1605
+ "Xuming Hu, Lijie Wen, Yusong Xu, Chenwei Zhang, and Philip S. Yu. 2020. Selfore: Self-supervised relational feature learning for open relation extraction. In Proc. of EMNLP, pages 3673-3682.",
1606
+ "Xuming Hu, Chenwei Zhang, Fukun Ma, Chenyao Liu, Lijie Wen, and Philip S. Yu. 2021a. Semi-supervised relation extraction via incremental meta self-training. In Findings of EMNLP, pages 487-496.",
1607
+ "Xuming Hu, Chenwei Zhang, Yawen Yang, Xiaohe Li, Li Lin, Lijie Wen, and Philip S. Yu. 2021b. Gradient imitation reinforcement learning for low resource relation extraction. In Proc. of EMNLP, pages 2737-2746.",
1608
+ "Hiroshi Iida, Dung Thai, Varun Manjunatha, and Mohit Iyyer. 2021. Tabbie: Pretrained representations of tabular data. In Proc. of NAACL-HLT, pages 3446-3456.",
1609
+ "Aamod Khatiwada and Grace Fan. 2023. Santos: Relationship-based semantic table union search. In Proc. of SIGMOD.",
1610
+ "Tassilo Klein and Moin Nabi. 2020. Contrastive self-supervised learning for commonsense reasoning. In Proc. of ACL, pages 7517-7523.",
1611
+ "Christos Koutras, George Siachamis, Andrea Ionescu, Kyriakos Psarakis, Jerry Brons, Marios Fragkoulis, Christoph Lofi, Angela Bonifati, and Asterios Katsifodimos. 2021. Valentine: Evaluating matching techniques for dataset discovery. In Proc. of ICDE, pages 468-479. IEEE.",
1612
+ "Oliver Lehmberg and Christian Bizer. 2017. Stitching web tables for improving matching quality. Proc. of VLDB, 10(11):1502-1513.",
1613
+ "Shu'ang Li, Xuming Hu, Li Lin, Aiwei Liu, Lijie Wen, and Philip S. Yu. 2023. A multi-level supervised contrastive learning framework for low-resource natural language inference. IEEE/ACM Transactions on Audio, Speech, and Language Processing, 31:1771-1783.",
1614
+ "Shu'ang Li, Xuming Hu, Li Lin, and Lijie Wen. 2022. Pair-level supervised contrastive learning for natural language inference. arXiv preprint arXiv:2201.10927.",
1615
+ "Xiao Ling, Alon Y Halevy, Fei Wu, and Cong Yu. 2013. Synthesizing union tables from the web. In Proc. of IJCAI.",
1616
+ "Aiwei Liu, Xuming Hu, Li Lin, and Lijie Wen. 2022a. Semantic enhanced text-to-sql parsing via iteratively learning schema linking graph. In Proc. of KDD, pages 1021-1030.",
1617
+ "Aiwei Liu, Xuming Hu, Lijie Wen, and Philip S Yu. 2023. A comprehensive evaluation of chatgpt's zero-shot text-to-sql capability. arXiv preprint arXiv:2303.13547."
1618
+ ],
1619
+ "bbox": [
1620
+ 115,
1621
+ 85,
1622
+ 485,
1623
+ 916
1624
+ ],
1625
+ "page_idx": 10
1626
+ },
1627
+ {
1628
+ "type": "list",
1629
+ "sub_type": "ref_text",
1630
+ "list_items": [
1631
+ "Ruixue Liu, Shaozu Yuan, Aijun Dai, Lei Shen, Tiangang Zhu, Meng Chen, and Xiaodong He. 2022b. Few-shot table understanding: A benchmark dataset and pre-training baseline. In Proc. of COLING, pages 3741-3752.",
1632
+ "Shuliang Liu, Xuming Hu, Chenwei Zhang, Shu'ang Li, Lijie Wen, and Philip S. Yu. 2022c. Hiure: Hierarchical exemplar contrastive learning for unsupervised relation extraction. In Proc. of NAACL-HLT, pages 5970-5980.",
1633
+ "Xiao Liu, Fanjin Zhang, Zhenyu Hou, Li Mian, Zhaoyu Wang, Jing Zhang, and Jie Tang. 2021. Self-supervised learning: Generative or contrastive. IEEE Transactions on Knowledge and Data Engineering.",
1634
+ "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.",
1635
+ "Yixin Liu, Ming Jin, Shirui Pan, Chuan Zhou, Yu Zheng, Feng Xia, and Philip Yu. 2022d. Graph self-supervised learning: A survey. IEEE Transactions on Knowledge and Data Engineering.",
1636
+ "Laurens van der Maaten and Geoffrey Hinton. 2008. Visualizing data using t-sne. Journal of machine learning research, 9(Nov):2579-2605.",
1637
+ "Fatemeh Nargesian, Erkang Zhu, Ken Q Pu, and Renee J Miller. 2018. Table union search on open data. Proc. of VLDB, 11(7):813-825.",
1638
+ "Aécio Santos, Aline Bessa, Christopher Musco, and Juliana Freire. 2022. A sketch-based index for correlated dataset search. In Proc. of ICDE, pages 2928-2941. IEEE.",
1639
+ "Livio Baldini Soares, Nicholas Fitzgerald, Jeffrey Ling, and Tom Kwiatkowski. 2019. Matching the blanks: Distributional similarity for relation learning. In Proc. of ACL, pages 2895-2905.",
1640
+ "Zhiruo Wang, Haoyu Dong, Ran Jia, Jia Li, Zhiyi Fu, Shi Han, and Dongmei Zhang. 2021. Tuta: tree-based transformers for generally structured table pretraining. In Proc. of SIGKDD, pages 1780-1790.",
1641
+ "Peter West, Ari Holtzman, Jan Buys, and Yejin Choi. 2019. Bottlesum: Unsupervised and self-supervised sentence summarization using the information bottleneck principle. In Proc. of EMNLP-IJCNLP, pages 3752-3761.",
1642
+ "Yihai Xi, Ning Wang, Shuang Hao, Yiyi Zhang, and Xinyu Chen. 2023. Popularity sensitive and domain-aware summarization for web tables. Information Sciences, 621:729-748.",
1643
+ "Junyuan Xie, Ross Girshick, and Ali Farhadi. 2016. Unsupervised deep embedding for clustering analysis. In Proc. of ICML, pages 478-487."
1644
+ ],
1645
+ "bbox": [
1646
+ 510,
1647
+ 85,
1648
+ 880,
1649
+ 917
1650
+ ],
1651
+ "page_idx": 10
1652
+ },
1653
+ {
1654
+ "type": "page_number",
1655
+ "text": "3796",
1656
+ "bbox": [
1657
+ 480,
1658
+ 928,
1659
+ 519,
1660
+ 940
1661
+ ],
1662
+ "page_idx": 10
1663
+ },
1664
+ {
1665
+ "type": "list",
1666
+ "sub_type": "ref_text",
1667
+ "list_items": [
1668
+ "Yuanmeng Yan, Rumei Li, Sirui Wang, Fuzheng Zhang, Wei Wu, and Weiran Xu. 2021. Consent: A contrastive framework for self-supervised sentence representation transfer. In Proc. of ACL-IJCNLP, pages 5065-5075.",
1669
+ "Jingfeng Yang, Aditya Gupta, Shyam Upadhyay, Luheng He, Rahul Goel, and Shachi Paul. 2022. Tableformer: Robust transformer modeling for table-text encoding. In Proc. of ACL, pages 528-537.",
1670
+ "Pengcheng Yin, Graham Neubig, Wen-tau Yih, and Sebastian Riedel. 2020. Tabert: Pretraining for joint understanding of textual and tabular data. In Proc. of ACL, pages 8413-8426.",
1671
+ "Chenyu You, Nuo Chen, and Yuexian Zou. 2021. Self-supervised contrastive cross-modality representation learning for spoken question answering. In *Findings of EMNLP*, pages 28-39.",
1672
+ "Dan Zhang, Madelon Hulsebos, Yoshihiko Suhara, Cagatay Demiralp, Jinfeng Li, and Wang-Chiew Tan. 2020. Sato: contextual semantic type detection in tables. Proceedings of the VLDB Endowment, 13(12):1835-1848.",
1673
+ "Shuo Zhang and Krisztian Balog. 2017. Entitables: Smart assistance for entity-focused tables. In Proc. of SIGIR, pages 255-264.",
1674
+ "Fengbin Zhu, Wenqiang Lei, Youcheng Huang, Chao Wang, Shuo Zhang, Jiancheng Lv, Fuli Feng, and Tat-Seng Chua. 2021. Tat-qa: A question answering benchmark on a hybrid of tabular and textual content in finance. In Proc. of ACL-IJCNLP, pages 3277-3287."
1675
+ ],
1676
+ "bbox": [
1677
+ 115,
1678
+ 85,
1679
+ 489,
1680
+ 552
1681
+ ],
1682
+ "page_idx": 11
1683
+ },
1684
+ {
1685
+ "type": "page_number",
1686
+ "text": "3797",
1687
+ "bbox": [
1688
+ 480,
1689
+ 928,
1690
+ 519,
1691
+ 940
1692
+ ],
1693
+ "page_idx": 11
1694
+ },
1695
+ {
1696
+ "type": "text",
1697
+ "text": "A Dataset Construction Details",
1698
+ "text_level": 1,
1699
+ "bbox": [
1700
+ 114,
1701
+ 84,
1702
+ 401,
1703
+ 98
1704
+ ],
1705
+ "page_idx": 12
1706
+ },
1707
+ {
1708
+ "type": "text",
1709
+ "text": "For test data, the SANTOS Small benchmark (Khatiwada and Fan, 2023) consists of 550 data lake tables, which are generated from 296 open datasets from Canada, the United Kingdom, the United States, and Australia. The SANTOS Small also has 50 query tables. There are two benchmarks accessible from Nargesian et al. (2018): TUS Small and TUS Large. The TUS Small consists of 1,530 data lake tables that are generated from 10 base table of Canada open data. The TUS Small also has 150 query tables. The TUS Large consists of 5,043 data lake tables that are generated from 32 base table of Canada open data. The TUS Large also has 100 query tables. The SANTOS $^{4}$ and TUS $^{5}$ benchmarks and their unionable table ground truth are publicly available. For training data, we randomly generated the same number of unlabeled training tables as the labeled tables from base tables of Open Data. Note that the public code for generating tables is publicly available $^{6}$ (Koutras et al., 2021; Khatiwada and Fan, 2023). Since table union search task is an unsupervised task, no dev data is obtained.",
1710
+ "bbox": [
1711
+ 115,
1712
+ 108,
1713
+ 489,
1714
+ 476
1715
+ ],
1716
+ "page_idx": 12
1717
+ },
1718
+ {
1719
+ "type": "text",
1720
+ "text": "B The Introduction of Baseline Models",
1721
+ "text_level": 1,
1722
+ "bbox": [
1723
+ 114,
1724
+ 489,
1725
+ 465,
1726
+ 504
1727
+ ],
1728
+ "page_idx": 12
1729
+ },
1730
+ {
1731
+ "type": "text",
1732
+ "text": "We compare AUTOTUS with two categories of baseline models. The first category of models leverage unlabeled tables for self-supervised pretraining and achieve promising results in the table understanding tasks as baseline encoders to calculate the column unionability score:",
1733
+ "bbox": [
1734
+ 112,
1735
+ 514,
1736
+ 489,
1737
+ 609
1738
+ ],
1739
+ "page_idx": 12
1740
+ },
1741
+ {
1742
+ "type": "list",
1743
+ "sub_type": "text",
1744
+ "list_items": [
1745
+ "(1) TaBERT (Yin et al., 2020) is a pretrained language model that simultaneously learns representations for (semi-)structured tables and natural language phrases. 26 million tables and their English contexts make up the vast corpus on which TaBERT was trained.",
1746
+ "(2) TABBIE (Iida et al., 2021) develops a straightforward pretraining target (corrupt cell identification) that only learns from tabular data and achieves the state-of-the-art on the table-based tasks. TABBIE offers embeddings of all table substructures (cells, rows, and columns), unlike competing techniques, and it also takes far less computing power to train."
1747
+ ],
1748
+ "bbox": [
1749
+ 112,
1750
+ 611,
1751
+ 489,
1752
+ 835
1753
+ ],
1754
+ "page_idx": 12
1755
+ },
1756
+ {
1757
+ "type": "list",
1758
+ "sub_type": "text",
1759
+ "list_items": [
1760
+ "(3) TUTA (Wang et al., 2021) is a unified pretraining architecture for comprehending typically arranged tables. TUTA improves transformers with three structure-aware techniques after realizing that understanding a table necessitates spatial, hierarchical, and semantic information.",
1761
+ "(4) FORTAP (Cheng et al., 2022) explores to leverage the spreadsheet formulas for table pretraining. FORTAP adopts two self-supervised pretraining objectives, which are derived from formulas, numerical reference prediction and numerical calculation prediction.",
1762
+ "(5) TableFormer (Yang et al., 2022) is a structurally conscious table-text encoding architecture in which learnable attention biases are used to fully include tabular structural biases."
1763
+ ],
1764
+ "bbox": [
1765
+ 507,
1766
+ 84,
1767
+ 884,
1768
+ 340
1769
+ ],
1770
+ "page_idx": 12
1771
+ },
1772
+ {
1773
+ "type": "text",
1774
+ "text": "Of course, there are more baseline models in this category, we just select representative and SOTA models. The second category of models adopt various column representations to calculate the column unionability score:",
1775
+ "bbox": [
1776
+ 507,
1777
+ 342,
1778
+ 882,
1779
+ 420
1780
+ ],
1781
+ "page_idx": 12
1782
+ },
1783
+ {
1784
+ "type": "list",
1785
+ "sub_type": "text",
1786
+ "list_items": [
1787
+ "(6) $\\mathbf{D}^3\\mathbf{L}$ (Bogatu et al., 2020) creates hash-based indexes using the features of the items in a dataset and maps those features to a uniform distance space.",
1788
+ "(7) SATO (Zhang et al., 2020) is a hybrid machine learning model that uses both the context of the table and the values of the columns to automatically identify the semantic categories of columns in tables.",
1789
+ "(8) Starmie (Fan et al., 2022) obtains the semantic information included inside tables by utilizing a contrastive multi-column pre-training technique.",
1790
+ "(9) SANTOS (Khatiwada and Fan, 2023) suggests a definition of unionability that takes connections between columns and their semantics into principled consideration."
1791
+ ],
1792
+ "bbox": [
1793
+ 507,
1794
+ 422,
1795
+ 882,
1796
+ 678
1797
+ ],
1798
+ "page_idx": 12
1799
+ },
1800
+ {
1801
+ "type": "page_footnote",
1802
+ "text": "4https://github.com/ \nnortheastern-datalab/santos \n5https://github.com/RJMillerLab/ \ntable-union-search-benchmark \n6https://delftdata.github.io/ \nvalentine/",
1803
+ "bbox": [
1804
+ 112,
1805
+ 843,
1806
+ 426,
1807
+ 917
1808
+ ],
1809
+ "page_idx": 12
1810
+ },
1811
+ {
1812
+ "type": "page_number",
1813
+ "text": "3798",
1814
+ "bbox": [
1815
+ 480,
1816
+ 928,
1817
+ 519,
1818
+ 940
1819
+ ],
1820
+ "page_idx": 12
1821
+ },
1822
+ {
1823
+ "type": "text",
1824
+ "text": "A For every submission:",
1825
+ "bbox": [
1826
+ 115,
1827
+ 107,
1828
+ 322,
1829
+ 122
1830
+ ],
1831
+ "page_idx": 13
1832
+ },
1833
+ {
1834
+ "type": "list",
1835
+ "sub_type": "text",
1836
+ "list_items": [
1837
+ "A1. Did you describe the limitations of your work? Section 7",
1838
+ "A2. Did you discuss any potential risks of your work? Section 7",
1839
+ "A3. Do the abstract and introduction summarize the paper's main claims? Abstract and Section 1",
1840
+ "A4. Have you used AI writing assistants when working on this paper? Left blank."
1841
+ ],
1842
+ "bbox": [
1843
+ 129,
1844
+ 126,
1845
+ 695,
1846
+ 287
1847
+ ],
1848
+ "page_idx": 13
1849
+ },
1850
+ {
1851
+ "type": "text",
1852
+ "text": "B Did you use or create scientific artifacts?",
1853
+ "bbox": [
1854
+ 114,
1855
+ 299,
1856
+ 487,
1857
+ 316
1858
+ ],
1859
+ "page_idx": 13
1860
+ },
1861
+ {
1862
+ "type": "text",
1863
+ "text": "Section 3 and Section 4",
1864
+ "bbox": [
1865
+ 132,
1866
+ 321,
1867
+ 310,
1868
+ 335
1869
+ ],
1870
+ "page_idx": 13
1871
+ },
1872
+ {
1873
+ "type": "list",
1874
+ "sub_type": "text",
1875
+ "list_items": [
1876
+ "B1. Did you cite the creators of artifacts you used? Section 3 and Section 4",
1877
+ "B2. Did you discuss the license or terms for use and / or distribution of any artifacts? Section 3 and Section 4",
1878
+ "B3. Did you discuss if your use of existing artifact(s) was consistent with their intended use, provided that it was specified? For the artifacts you create, do you specify intended use and whether that is compatible with the original access conditions (in particular, derivatives of data accessed for research purposes should not be used outside of research contexts)? Section 3 and Section 4",
1879
+ "B4. Did you discuss the steps taken to check whether the data that was collected / used contains any information that names or uniquely identifies individual people or offensive content, and the steps taken to protect / anonymize it? Section 3, Section 4, and Appendix A",
1880
+ "B5. Did you provide documentation of the artifacts, e.g., coverage of domains, languages, and linguistic phenomena, demographic groups represented, etc.? Not applicable. Left blank.",
1881
+ "B6. Did you report relevant statistics like the number of examples, details of train / test / dev splits, etc. for the data that you used / created? Even for commonly-used benchmark datasets, include the number of examples in train / validation / test splits, as these provide necessary context for a reader to understand experimental results. For example, small differences in accuracy on large test sets may be significant, while on small test sets they may not be. Section 4, and Appendix A"
1882
+ ],
1883
+ "bbox": [
1884
+ 129,
1885
+ 346,
1886
+ 880,
1887
+ 753
1888
+ ],
1889
+ "page_idx": 13
1890
+ },
1891
+ {
1892
+ "type": "text",
1893
+ "text": "C Did you run computational experiments?",
1894
+ "bbox": [
1895
+ 114,
1896
+ 764,
1897
+ 492,
1898
+ 781
1899
+ ],
1900
+ "page_idx": 13
1901
+ },
1902
+ {
1903
+ "type": "text",
1904
+ "text": "Section 4",
1905
+ "bbox": [
1906
+ 132,
1907
+ 787,
1908
+ 206,
1909
+ 800
1910
+ ],
1911
+ "page_idx": 13
1912
+ },
1913
+ {
1914
+ "type": "text",
1915
+ "text": "C1. Did you report the number of parameters in the models used, the total computational budget (e.g., GPU hours), and computing infrastructure used? Section 4",
1916
+ "bbox": [
1917
+ 129,
1918
+ 812,
1919
+ 880,
1920
+ 859
1921
+ ],
1922
+ "page_idx": 13
1923
+ },
1924
+ {
1925
+ "type": "text",
1926
+ "text": "The Responsible NLP Checklist used at ACL 2023 is adopted from NAACL 2022, with the addition of a question on AI writing assistance.",
1927
+ "bbox": [
1928
+ 112,
1929
+ 866,
1930
+ 877,
1931
+ 889
1932
+ ],
1933
+ "page_idx": 13
1934
+ },
1935
+ {
1936
+ "type": "header",
1937
+ "text": "ACL 2023 Responsible NLP Checklist",
1938
+ "bbox": [
1939
+ 132,
1940
+ 84,
1941
+ 433,
1942
+ 99
1943
+ ],
1944
+ "page_idx": 13
1945
+ },
1946
+ {
1947
+ "type": "page_number",
1948
+ "text": "3799",
1949
+ "bbox": [
1950
+ 480,
1951
+ 928,
1952
+ 519,
1953
+ 940
1954
+ ],
1955
+ "page_idx": 13
1956
+ },
1957
+ {
1958
+ "type": "list",
1959
+ "sub_type": "text",
1960
+ "list_items": [
1961
+ "C2. Did you discuss the experimental setup, including hyperparameter search and best-found hyperparameter values? Section 4 and Appendix A",
1962
+ "C3. Did you report descriptive statistics about your results (e.g., error bars around results, summary statistics from sets of experiments), and is it transparent whether you are reporting the max, mean, etc. or just a single run? Section 4",
1963
+ "C4. If you used existing packages (e.g., for preprocessing, for normalization, or for evaluation), did you report the implementation, model, and parameter settings used (e.g., NLTK, Spacy, ROUGE, etc.)? Not applicable. Left blank."
1964
+ ],
1965
+ "bbox": [
1966
+ 127,
1967
+ 83,
1968
+ 878,
1969
+ 282
1970
+ ],
1971
+ "page_idx": 14
1972
+ },
1973
+ {
1974
+ "type": "text",
1975
+ "text": "D Did you use human annotators (e.g., crowdworkers) or research with human participants? Left blank.",
1976
+ "bbox": [
1977
+ 112,
1978
+ 293,
1979
+ 877,
1980
+ 330
1981
+ ],
1982
+ "page_idx": 14
1983
+ },
1984
+ {
1985
+ "type": "list",
1986
+ "sub_type": "text",
1987
+ "list_items": [
1988
+ "D1. Did you report the full text of instructions given to participants, including e.g., screenshots, disclaimers of any risks to participants or annotators, etc.? No response.",
1989
+ "D2. Did you report information about how you recruited (e.g., crowdsourcing platform, students) and paid participants, and discuss if such payment is adequate given the participants' demographic (e.g., country of residence)? No response.",
1990
+ "D3. Did you discuss whether and how consent was obtained from people whose data you're using/curating? For example, if you collected data via crowdsourcing, did your instructions to crowdworkers explain how the data would be used? No response.",
1991
+ "D4. Was the data collection protocol approved (or determined exempt) by an ethics review board? No response.",
1992
+ "D5. Did you report the basic demographic and geographic characteristics of the annotator population that is the source of the data? No response."
1993
+ ],
1994
+ "bbox": [
1995
+ 127,
1996
+ 340,
1997
+ 878,
1998
+ 640
1999
+ ],
2000
+ "page_idx": 14
2001
+ },
2002
+ {
2003
+ "type": "page_number",
2004
+ "text": "3800",
2005
+ "bbox": [
2006
+ 480,
2007
+ 927,
2008
+ 521,
2009
+ 940
2010
+ ],
2011
+ "page_idx": 14
2012
+ }
2013
+ ]
2023/Automatic Table Union Search with Tabular Representation Learning/7244320a-8cb5-4ef7-87f0-c4d2dc4ad4ba_model.json ADDED
The diff for this file is too large to render. See raw diff
 
2023/Automatic Table Union Search with Tabular Representation Learning/7244320a-8cb5-4ef7-87f0-c4d2dc4ad4ba_origin.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:94618e370b9c3a6f229fc94ff6519d3a0863f6d2af6675afb72d82cab8f03de9
3
+ size 1167330
2023/Automatic Table Union Search with Tabular Representation Learning/full.md ADDED
@@ -0,0 +1,391 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Automatic Table Union Search with Tabular Representation Learning
2
+
3
+ Xuming Hu<sup>1*</sup>, Shen Wang<sup>2</sup>, Xiao Qin<sup>2</sup>, Chuan Lei<sup>2</sup>, Zhengyuan Shen<sup>2</sup>, Christos Faloutsos<sup>2</sup>, Asterios Katsifodimos<sup>2</sup>, George Karypis<sup>2</sup>, Lijie Wen<sup>1</sup>, Philip S. Yu<sup>1,3</sup>
4
+
5
+ $^{1}$ Tsinghua University, $^{2}$ Amazon Web Services, $^{3}$ University of Illinois at Chicago hxml9@mails.tsinghua.edu.cn, wenlj@tsinghua.edu.cn, psyu@uic.edu $\{$ shenwa, drxqin, chuanlei, donshen\} @amazon.com $\{$ faloutso, akatsifo, gkarypis\} @amazon.com
6
+
7
+ # Abstract
8
+
9
+ Given a data lake of tabular data as well as a query table, how can we retrieve all the tables in the data lake that can be unioned with the query table? Table union search constitutes an essential task in data discovery and preparation as it enables data scientists to navigate massive open data repositories. Existing methods identify uniability based on column representations (word surface forms or token embeddings) and column relation represented by column representation similarity. However, the semantic similarity obtained between column representations is often insufficient to reveal latent relational features to describe the column relation between pair of columns and not robust to the table noise. To address these issues, in this paper, we propose a multi-stage self-supervised table union search framework called AUTOTUS, which represents column relation as a vector- column relational representation and learn column relational representation in a multi-stage manner that can better describe column relation for table unionability prediction. In particular, the large language model powered contextualized column relation encoder is updated by adaptive clustering and pseudo label classification iteratively so that the better column relational representation can be learned. Moreover, to improve the robustness of the model against table noises, we propose table noise generator to add table noise to the training table data. Experiments on real-world datasets and synthetic test set augmented with table noise show that AUTOTUS achieves $5.2\%$ performance gain over the SOTA baseline.
10
+
11
+ # 1 Introduction
12
+
13
+ The growing availability of tabular data from academia and industry brings new opportunities for economic growth and social benefit, which has also attracted considerable attention in the natural language processing (NLP) community. A number of
14
+
15
+ Query Table
16
+
17
+ <table><tr><td>Name</td><td>BP</td><td>Team</td><td>Jersey Number</td><td>CLG</td></tr><tr><td>Kevon Looney</td><td>Milwaukee</td><td>Warriors</td><td>5</td><td>UCUCLA</td></tr><tr><td>Anthony Davis</td><td>Chicago</td><td>Lakers</td><td>3</td><td>KentKentucky</td></tr><tr><td>Devin Booker</td><td>Moss Point</td><td>Suns</td><td>1</td><td>KentKentucky</td></tr></table>
18
+
19
+ Data Lake Table (Unionable)
20
+
21
+ <table><tr><td>Player</td><td>Birth Place</td><td>TM</td><td>POS</td><td>Draft</td></tr><tr><td>Andrew Wiggins</td><td>Toronto</td><td>Golden State Warriors</td><td>Shootung Guard</td><td>R1-1</td></tr><tr><td>Shai Gilgeous-Alexander</td><td>Hamilton</td><td>Oklahoma City Thunder</td><td>Point Gusrd</td><td>R1-11</td></tr><tr><td>Dillon Brooks</td><td>Mississauga</td><td>Memphis Grizzlies</td><td>Small Forward</td><td>R2-45</td></tr></table>
22
+
23
+ ![](images/6d62e8a5f7b52a5885cf46228c272af899dd68e4ea25ac4bc88648352c821042.jpg)
24
+ Figure 1: The table union search example on Open Data.
25
+
26
+ work has been done, such as Table QA (Chen et al., 2020; Zhu et al., 2021), Table fact verification (Aly et al., 2021; Guo et al., 2022), Table summarization (Xi et al., 2023), Table understanding (Yang et al., 2022; Liu et al., 2022a, 2023), etc. More recently, table union search (Nargesian et al., 2018; Bogatu et al., 2020; Khatiwada and Fan, 2023) is proposed to facilitate tabular dataset discovery applications (Brickley et al., 2019; Galhotra and Khurana, 2020; Santos et al., 2022), which can benefit the tabular data integration and analysis. The table union search aims to find all tables in a data lake that have the columns from the same domain as the query table. With the help of the table union search, the understanding of the tabular data is largely improved and it can potentially benefit other tabular-focused NLP downstream tasks. Therefore, table union search is a non-trivial NLP research problem.
27
+
28
+ Recent literature shows that column representation methods are useful for table union search. The basic idea is to map the column to a latent vector space (e.g. column representations (Bogatu et al., 2020; Chepurko et al., 2020) or token embeddings (Zhang and Balog, 2017; Herzig et al., 2020; Fan et al., 2022; Yang et al., 2022)) and then compute the table unionability score based on the column relation obtained from the similarity scores of col
29
+
30
+ unn pairs between query table and target tables. However, these methods only consider the column representation and their similarity as the column relation to compute the table unionability score, which is not enough to describe the relationship between two columns and may cause incorrect prediction. Figure 1 shows an example of the table union search with a query table and a unionable table. By looking at the second columns (in red) of two tables, the computed column similarity score (a scalar) from column embedding is low due to the dissimilar token embeddings. In this case, the column relation is not intuitive, taking only the similarity between column embeddings to describe the column relation is not enough to predict the table unionability accurately. However, if we combine each column representation and model them as an embedding (a vector), the new representation (column relational representation) is more informative and can better describe the unintuitive column relation to make the table unionability prediction more accurately. Therefore, a better approach is needed, which can make the table unionability prediction via the column relational representation.
31
+
32
+ On the other hand, real-world table noises widely exist (Koutras et al., 2021; Liu et al., 2022b). Taking column "CLG" in the query table and column "POS" in the data lake table as examples, both columns have abbreviated column names, tokens are repeated in column values (e.g., "UCLA" becomes "UCUCLA") and proximal characters in keyboard are replaced (e.g., "Shooting Guard" becomes 'Shootung Guard'). Computing column representations or column relational representations based on token embeddings with tabular noise introduces unavoidable wrong predictions. Therefore, it requires the table union search model to be robust to the table noise during optimization.
33
+
34
+ To address above issues, we propose a multi-stage self-supervised table union search framework called AutotUS, which represents column relation as a vector- column relational representation and learn column relational representation in a multi-stage manner that can better describe column relation for unionability prediction. In particular, the large language model powered contextualized column relation encoder is updated by adaptive clustering and pseudo label classification iteratively so that the better column relational representation can be learned. Moreover, to improve the robustness of the model against table noises, we pro
35
+
36
+ pose table noise generator to add table noise to the training table data. Extensive experiments are conducted on three real-world datasets and show significant performance gains compared to existing state-of-the-art methods and demonstrates the robustness of AUTOTUS against the table noise.
37
+
38
+ Our contributions are four-folded: 1) We propose a novel framework AUTOTUS that can leverage column relational representation for table union search instead of pairwise column similarity. 2) We propose a multi-stage self-supervised method that can update the large language model powered contextualized column relation encoder in a step by step and iterative way to learn better column relational representation. 3) We propose a table noise generator and add table noise to the training tabular data to improve the robustness of the model against the table noise. 4) We conduct extensive experiment on real-world datasets as well as synthetic test set augmented with table noise and demonstrate significant performance gain of AUTOTUS over the strong baselines and shows the robustness of AUTOTUS against the table noise.
39
+
40
+ # 2 Problem Definition
41
+
42
+ Table union search discovers all tables in a set of data lake tables that are工商联able with the query table. Specifically, we focus on the automatically case where no labeled training data is available. We define a set of data lake tables as $\mathcal{T}$ . For each table $T\in \mathcal{T}$ which consists of $m$ columns $\{t_1,t_2,\dots ,t_m\}$ . There is a column relation $e_{ij}\in \mathcal{E}$ for each pairs of columns $t_i,t_j$ that describes their relationship. We employ a contextualized column relational encoder to obtain the column relational representation $\mathbf{z}_{e_{ij}}\in \mathcal{Z}$ for each column relation $e_{ij}$ . The table unionability score $u_{(T_i,T_j)}\in \mathcal{U}$ is obtained by the table scorer that goes over all column relational representations between two tables $T_{i},T_{j}$ . Similar to previous studies (Nargesian et al., 2018; Bogatu et al., 2020; Khatiwada and Fan, 2023), given a query table $Q$ , table union search retrieves the top- $y$ 工商联able tables $\mathcal{Q}\subseteq \mathcal{T}$ , where $|\mathcal{Q}| = y$ and $\forall T\in \mathcal{Q}$ and $T^{\prime}\in \mathcal{T} - \mathcal{Q}$ , we have $u_{(Q,T)}\geq u_{(Q,T^{\prime})}$ .
43
+
44
+ # 3 Proposed Method
45
+
46
+ In this section, we introduce the proposed AU-TOTUS. The framework (as shown in Figure 2) consists of following components: Multi-stage Self-supervised Column Relational Representation
47
+
48
+ ![](images/4e07cc2860c3430a6eff1d42b3093411838d5ab2f9a7b22466d0cfe22a1f08d2.jpg)
49
+ Figure 2: Overview of AUTOTUS framework.
50
+
51
+ Learning, Table Noise Generation and Table Unionability Scorer. We first illustrate the motivation for AUTOTUS: The existing column representation methods use cosine similarity to measure the unionability of column pairs. The column encoder in these methods is usually only trained with a binary classification task, i.e. whether two columns are unionable. In AUTOTUS, the table encoder can benefit from an additional task: the identification of hidden semantic types (domains, task knowledge, etc.) from the column pairs. In the absence of explicit type labels, we use adaptive clustering on column pairs and learn those hidden types. The classification step is then used to update the table encoder, so that the embeddings are generated in a way that minimizes the hidden type prediction errors. In short, the clustering and classification modules learn the hidden unionable semantic types, resulting in a better table encoder for the table union search task.
52
+
53
+ # 3.1 Multi-stage Self-supervised Column Relational Representation Learning
54
+
55
+ The Multi-stage Self-supervised Column Relational Representation Learning module aims to extract column relation as column relational representation and learn column relational representation in multi-stage manner that can better describe column relation for unionability prediction. As illustrated in Figure 2, this module consists of three components: Contextualized Column Relation Encoder, Column Relation Encoder Updater via Adaptive Clustering, and Column Relation Encoder Updater via Pseudo Label Classification. The Contextualized Column Relation Encoder serializes and tokenizes the column relations as the input and leverages the pretrained BERT (Devlin et al., 2019) to generate contextualized column relation embeddings. The Column Relation Encoder Updater via
56
+
57
+ Adaptive Clustering optimizes Contextualized Column Relation Encoder through relaxed constraint to obtain better column relational representation and generate the cluster label as the pseudo label. The Column Relation Encoder Updater via Pseudo Label Classification uses the generated pseudo label to further update the Contextualized Column Relation Encoder via more strict constraint to generate improved column relational representation. The above two updates are performed in a bootstrapped loop that iteratively improve the language model to generate better column representations.
58
+
59
+ Contextualized Column Relation Encoder Contextualized Column Relation Encoder extracts the contextualized column relation embeddings to represent the relational features between two columns. We leverage a large language model, BERT (Devlin et al., 2019), to effectively encode column relations, along with their context tabular information.
60
+
61
+ The pre-trained large language models (such as BERT) support an input length of up to 512 tokens (Devlin et al., 2019). However, columns in a real-world table may contain thousands of tokens, and randomly discarding tokens will lead to loss of important semantics. Therefore, in this work, we score the importance of each token or cell in a column, and keep cells based on their importance. More specifically, we adopt TF-IDF score to calculate the token importance through its inverse document frequency: $\log(|\mathcal{Y}|)/\{t|\text{token} \in t, t \in \mathcal{Y}\}$ , where $t$ is a column and $|\mathcal{Y}|$ is the number of all data lake columns. Then the cell score is calculated by averaging the TF-IDF of all tokens within the cell. After obtaining the importance score of each column-level cell, the row alignment can ensure the correctness of the table semantics, e.g.: Jimmy Butler's birthplace is aligned to the United States instead of the United Kingdom. Therefore, we cal
62
+
63
+ culate the average score of cells in each row and sort them in descending order. Next, we select rows until the total token count reaches the input budget and obtain the table: $T = [t_{1}, t_{2}, \dots, t_{m}]$ .
64
+
65
+ As shown in Figure 2, we serialize the table by column and follow the marking schema adopted in Soares et al. (2019) to augment $T$ with two reserved tokens to mark the start and the end of each column. We introduce $\langle s \rangle$ and $\langle /s \rangle$ and inject them into $T$ :
66
+
67
+ $$
68
+ T = \left[ \langle s \rangle , t _ {1}, \langle / s \rangle , \dots , \langle s \rangle , t _ {m}, \langle / s \rangle \right], \tag {1}
69
+ $$
70
+
71
+ as the input token sequence for the encoder.
72
+
73
+ We denote the Contextualized Column Relation Encoder as $f_{\theta}(T,\langle s\rangle ,\langle \langle s\rangle \rangle)$ . Instead of using the output of [CLS] token from BERT itself which summarizes the whole table-level semantics, we get the contextualize column relation semantics by concatenating the representations $\langle s\rangle$ of any two columns in different tables or in the same table, and derive a fixed-length representation $\mathbf{z}_{e_{ij}}\in \mathbb{R}^{2\cdot z_R}$ :
74
+
75
+ $$
76
+ \mathbf {z} _ {e _ {i j}} = \left[ \mathbf {c} _ {\langle s _ {t _ {i}} \rangle}, \mathbf {c} _ {\langle s _ {t _ {j}} \rangle} \right]. \tag {2}
77
+ $$
78
+
79
+ Column Relation Encoder Updater via Adaptive Clustering The Column Relation Encoder Updater via Adaptive Clustering encourages each low-confidence relation label distribution to be closer to the high-confidence cluster centroids, improves the confidence of the clusters, and optimizes Contextualized Column Relation Encoder by relax-constraints to generate better column relational representations. In addition, the cluster label generated for each column relation could be treated as self-supervision signal, which serves as the pseudo label for language model update.
80
+
81
+ More specifically, after obtaining $N$ column relational representations $\mathcal{Z} = \{\mathbf{z}_1,\mathbf{z}_2,\dots,\mathbf{z}_N\}$ , Column Relation Encoder Updater via Adaptive Clustering computes $K$ cluster centroids $\{\xi_k\in \mathbb{R}^{h_{AC}}\}_{k = 1}^K$ , and softly assigns all $N$ column relation representations to $K$ clusters. In practice, we first adopt standard $k$ -means clustering among $N$ column relation data points $\mathbb{R}^{h_{AC}}$ to obtain $K$ initial cluster centroids $\{\xi_k\in \mathbb{R}^{h_{AC}}\}_{k = 1}^K$ . Inspired by Maaten and Hinton (2008); Hu et al. (2020), we leverage the Student's $t$ -distribution as the kernel to measure the similarity of the embedding point $\mathbf{z}_n$ to each centroid $\xi_{k}$ as:
82
+
83
+ $$
84
+ q _ {n k} = \frac {\left(1 + \left\| \mathbf {z} _ {n} - \xi_ {k} \right\| ^ {2} / \alpha\right) ^ {- \frac {\alpha + 1}{2}}}{\sum_ {k ^ {\prime} = 1} ^ {K} \left(1 + \left\| \mathbf {z} _ {n} - \xi_ {k ^ {\prime}} \right\| ^ {2} / \alpha\right) ^ {- \frac {\alpha + 1}{2}}}, \tag {3}
85
+ $$
86
+
87
+ where $q_{nk}$ can be viewed as the probability of assigning column relation embedding $\mathbf{z}_n$ to the cluster $k$ as the soft assignment and $\alpha$ denotes the degree of the Student's $t$ -distribution. We set $\alpha = 1$ for all experiments.
88
+
89
+ We normalize each cluster by adopting the frequency as an auxiliary target distribution proposed by Xie et al. (2016) in Equation 4 and iteratively refine each cluster with the help of the auxiliary target distribution:
90
+
91
+ $$
92
+ p _ {n k} = \frac {q _ {n k} ^ {2} / f _ {k}}{\sum_ {k ^ {\prime}} q _ {n k ^ {\prime}} ^ {2} / f _ {k ^ {\prime}}}, \tag {4}
93
+ $$
94
+
95
+ where $f_{k} = \sum_{n = 1}^{N}q_{nk}, k = 1,2,\dots ,K$ is the soft cluster frequency. With the auxiliary target distribution, we could encourage each cluster to learn from its high confidence cluster assignments and simultaneously alleviating the bias caused by imbalanced clusters. We define KL divergence loss between the soft assignments $q_{n}$ and the auxiliary distribution $p_n$ to train the Contextualized Column Relation Encoder as follows:
96
+
97
+ $$
98
+ \mathcal {L} _ {A C} = K L (P | | Q) = \sum_ {n} \sum_ {k} p _ {n k} \log \frac {p _ {n k}}{q _ {n k}}. \tag {5}
99
+ $$
100
+
101
+ We adopt the label associated with the largest probability as the pseudo label $\mu_{n}$ for the $n$ -th column relation:
102
+
103
+ $$
104
+ \mu_ {n} = \underset {k \in K} {\operatorname {a r g m a x}} p _ {n k}. \tag {6}
105
+ $$
106
+
107
+ In summary, comparing with traditional clustering methods such as $k$ -means, Column Relation Encoder Updater via Adaptive Clustering adopts an iterative, soft-assignment learning process which encourages high-confidence assignments and uses high-confidence assignments to improve low confidence ones. Therefore, Column Relation Encoder Updater via Adaptive Clustering is robust enough to different cluster numbers $K$ , thus solving the situation that we have no prior knowledge of specific domains and the relational distributions in the column relational representations. To mitigate the possible negative impact of choosing a unideal initial centroid, Column Relation Encoder Updater via Adaptive Clustering randomly re-selects a set of $K$ initial centroids if $\mathcal{L}_{AC}$ does not decrease after the first epoch.
108
+
109
+ Column Relation Encoder Updater via Pseudo Label Classification Although the clustering module forces the relational label distribution of
110
+
111
+ low confidence to be close to the cluster centroids of high confidence to improve the confidence of clustering. However, the clusters may contain some different labels, which affects the clustering purity. Therefore, we utilize the Column Relation Encoder Updater via Pseudo Label Classification module to classify the pseudo labels, and obtain better column relational representations by improving the clustering purity. In practice, the Column Relation Encoder Updater via Adaptive Clustering generates cluster labels $M = \{\mu_1,\mu_2,\dots,\mu_N\}$ for all column relations as pseudo labels. Column Relation Encoder Updater via Pseudo Label Classification could adopt these pseudo labels as self-supervisions derived from the corpora themselves and use pseudo labels to guide the feature representation learning in Contextualized Column Relation Encoder as well as column relation classifier learning in Column Relation Encoder Updater via Pseudo Label Classification.
112
+
113
+ The Column Relation Encoder Updater via Pseudo Label Classification module learns to predict the pseudo labels as golden labels. More specifically, we have:
114
+
115
+ $$
116
+ \mathbf {l} _ {n} = \tau_ {\phi} (f _ {\theta} (T, \langle s \rangle , \langle / s \rangle)), \tag {7}
117
+ $$
118
+
119
+ where $\tau_{\phi}$ denotes the column relation classification module with parameters $\phi$ and $\mathbf{l}_n$ is the probability distribution for the $n$ -th sample over $K$ pseudo labels. To find the best performance parameters $\theta$ for Contextualized Column Relation Encoder and $\phi$ for the classifier, we optimize the classification loss:
120
+
121
+ $$
122
+ \mathcal {L} _ {R C} = \min _ {\theta , \phi} \frac {1}{N} \sum_ {n = 1} ^ {N} l o s s (\mathbf {l} _ {n}, \mathrm {o n e \_ h o t} (\mu_ {n})), (8)
123
+ $$
124
+
125
+ where loss is the cross entropy loss and one-hot $(\mu_{n})$ returns a one-hot pseudo label assignment vector.
126
+
127
+ # 3.2 Table Noise Generator
128
+
129
+ The table noise generator module aims to improve the robustness of the model against the table noise. We firstly summarizes the noise types that exist in the real-world tabular data, and introduce these table noises to the column relations during the self-supervised training. Specifically, we defined two types of table noise: column value noise an column name noise. Here are some representative column value noises: 1) Replace / insert characters with proximal characters, e.g., computer $\rightarrow$
130
+
131
+ computer / cocomputer. 2) Delete / repeat characters, e.g., computer $\rightarrow$ compuer / computer. 3) Change the numeral display format like scientific notation, e.g., $12000\to 1.2\mathrm{e}4.$ Here are some representative column name noises: 1) Prefix column names with table name, e.g., traveldestination $\rightarrow$ tourism_statistics_traveldestination. 2) Abbreviate column names, e.g., traveldestination $\rightarrow$ traDest. 3) Drop vowels, e.g., traveldestination $\rightarrow$ trvl_dstntn. 4) Synonym substitution (if exists), e.g., traveldestination $\rightarrow$ touristdestination. 5) Acronym, e.g., traveldestination $\rightarrow$ t_d.
132
+
133
+ For each table $T$ in the data lake tables $\mathcal{T}$ , we randomly apply above noise to the training tabular data to improve the robustness of our model against the table noise.
134
+
135
+ # 3.3 Table Unionability Scorer
136
+
137
+ The Table Scorer obtains the table unionability score based on the column relational representations between column relations in the query table and data lake tables, which can provide more sufficient information to clarify whether the two tables come from the same domain and have a union relation. After we obtained the Contextualized Column Relation Encoder with discriminative power to get the column relation embeddings $\mathbf{z}_{e_{ij}} = (\mathbf{c}_{\langle s_{t_i}\rangle},\mathbf{c}_{\langle s_{t_j}\rangle})$ , we adopt the Column Relation Encoder Updater via Pseudo Label Classification to assign the $K$ relational labels to all $N$ column relations $\mathbf{z}^n = (\mathbf{z}_{e_{ij}})^n$ in the two tables:
138
+
139
+ $$
140
+ \psi_ {n k} = \underset {k \in K, n \in N} {\operatorname {a r g m a x}} \tau_ {\phi} \left(\mathbf {z} ^ {n k}\right), \tag {9}
141
+ $$
142
+
143
+ and assign the majority label $\kappa$ as the predict relational label for the query table and data lake table. We count the number of majority labels $\kappa$ in the all $N$ column relational representations between two tables as $M$ , so the table unionability score is $M / N$ . This score no longer depends on the calculation of cosine similarity between two column features to obtain the column unionability score, but obtains table unionability score through the column unionability scores. The higher the score, the greater the probability of these two tables being unjoinable. Instead of computational methods with insufficient column relational information, AUTO-TUS directly model the complex column relational representations, which can better address the table union search task.
144
+
145
+ <table><tr><td>Test / Train</td><td># Tables</td><td># Columns</td><td>Avg. # Rows</td><td>Size (GB)</td></tr><tr><td>SANTOS Small</td><td>550</td><td>6,322</td><td>6,921</td><td>0.45</td></tr><tr><td>TUS Small</td><td>1,530</td><td>14,810</td><td>4,466</td><td>1</td></tr><tr><td>TUS Large</td><td>5,043</td><td>54,923</td><td>1,915</td><td>1.5</td></tr><tr><td>SANTOS Small</td><td>550</td><td>6,162</td><td>7,732</td><td>0.5</td></tr><tr><td>TUS Small</td><td>1,530</td><td>13,926</td><td>4,032</td><td>0.9</td></tr><tr><td>TUS Large</td><td>5,043</td><td>55,462</td><td>1,729</td><td>1.3</td></tr></table>
146
+
147
+ Table 1: The statistics of datasets for three benchmarks.
148
+
149
+ # 4 Experimental Evaluation
150
+
151
+ We conduct extensive experiments on real-world public datasets as well as a synthetic test set augmented with table noise to show the effectiveness of our AUTOTUS on table union search task, and give a detailed analysis.
152
+
153
+ # 4.1 Experimental Setups
154
+
155
+ Datasets. To evaluate our technique, three public datasets are used: SANTOS (Khatiwada and Fan, 2023), TUS small, and TUS large (Nargesian et al., 2018). These three datasets are subsets of Open Data released by authorities such as US Open Data $^{1}$ , UK Open Data $^{2}$ , and Canada Open Data $^{3}$ with manually labeled data. However, these data are usually officially filtered to remove a lot of table noise to maintain high quality. In order to verify the robustness of the model, we synthesized a test set with table noise, we added both column value and column name noises to the tabular data and obtained the synthesized SANTOS $_{N}$ and TUS large $_{N}$ . Note that although we add table noises, the human-annotated labels remain unchanged. To avoid information leakage, the manually labeled dataset is not used during the training. We randomly generated the same number of unlabeled training tables as the labeled tables from Open Data (Koutras et al., 2021; Khatiwada and Fan, 2023). We give the detailed statistics of datasets for three benchmarks in Table 1. We also give the dataset construction details in Appendix A.
156
+
157
+ Experimental Settings and Metrics. We adopt BERT-Base, BERT-Large (Devlin et al., 2019) and RoBERTa-Large (Liu et al., 2019) as the encoder and set max-length as 512. For Column Relation Encoder Updater via Adaptive Clustering, we adopt $k$ -means and set $K = 50$ to get the initial centroids. We stop the clustering and classification loop when the current pseudo labels differs by less than $10\%$ from the previous epoch. For Column
158
+
159
+ Relation Encoder Updater via Pseudo Label Classification, we adopt the fully connected layer as $\tau_{\phi}$ and set dropout rate as $10\%$ , learning rate as $1e - 5$ and warmup as 0.1. To allow fully connected layer to warm up, we fixed the parameters in $f_{\theta}$ for the first two epochs. We add one noise of column data or column schemata to each column to obtain the training dataset. We first randomly choose whether to add noise in the column data or column schemata, and secondly, for all replacement, addition, or deletion of noise at the token level, we select $20\%$ of all tokens in the cell of the column for modification.
160
+
161
+ For evaluation metrics, following the previous work (Bogatu et al., 2020; Khatiwada and Fan, 2023), we adopt the Mean Average Precision at $Y$ ( $MAP@Y$ ) and Recall at $Y$ ( $R@Y$ ) to evaluate the effectiveness of the searched top- $Y$ table results. Note that $MAP@Y$ is the average value of Precision at $y$ ( $P@y$ ), where $y = 1, 2, \dots, Y$ . Formally, given the query table $Q$ and a set of data lake tables $\mathcal{T}$ , we define $\mathcal{T}_Q$ as the set of usable tables based on the ground truth and $\mathcal{T}_Q'$ as the set of top- $Y$ 聢单table results using the searching methods. The $P@Y$ and $R@Y$ are calculated as:
162
+
163
+ $$
164
+ P @ Y = \frac {\mathcal {T} _ {Q} \cap \mathcal {T} _ {Q} ^ {\prime}}{\mathcal {T} _ {Q} ^ {\prime}}, R @ Y = \frac {\mathcal {T} _ {Q} \cap \mathcal {T} _ {Q} ^ {\prime}}{\mathcal {T} _ {Q}} \tag {10}
165
+ $$
166
+
167
+ Note that perfect $R@Y$ is not possible when the ground truth contains less than $Y$ searched table results. We define the Mean Average Precision $MAP@Y$ as:
168
+
169
+ $$
170
+ M A P @ Y = \frac {1}{Y} \sum_ {y = 1} ^ {Y} P @ y \tag {11}
171
+ $$
172
+
173
+ For a fair comparison, we adopt the $Y = 10$ on the SANTOS benchmarks and $Y = 60$ on the TUS benchmarks to be consistent with Nargesian et al. (2018); Khatiwada and Fan (2023).
174
+
175
+ Baseline Models. We compare AUTOTUS with baseline models in two categories. The first category is table union search model that adopts various column features to calculate the table unionability score. We adopt $\mathbf{D}^3\mathbf{L}$ (Bogatu et al., 2020), SATO (Zhang et al., 2020), Starmie (Fan et al., 2022), and SANTOS (Khatiwada and Fan, 2023) as baselines. The second category is table pretrained model that leverages unlabeled tables for
176
+
177
+ <table><tr><td rowspan="2">Methods</td><td colspan="2">SANTOS</td><td colspan="2">TUS small</td><td colspan="2">TUS large</td><td colspan="2">SANTOSN</td><td colspan="2">TUS largeN</td></tr><tr><td>MAP@10</td><td>R@10</td><td>MAP@60</td><td>R@60</td><td>MAP@60</td><td>R@60</td><td>MAP@10</td><td>R@10</td><td>MAP@60</td><td>R@60</td></tr><tr><td>BERT-Base (Devlin et al., 2019)</td><td>79.5</td><td>53.7</td><td>74.1</td><td>16.3</td><td>63.1</td><td>13.4</td><td>69.5</td><td>46.9</td><td>55.3</td><td>9.4</td></tr><tr><td>TaBERT (Yin et al., 2020)</td><td>83.6</td><td>56.2</td><td>80.3</td><td>18.7</td><td>76.4</td><td>15.8</td><td>74.8</td><td>50.7</td><td>67.3</td><td>11.4</td></tr><tr><td>TABBIE (Iida et al., 2021)</td><td>86.3</td><td>58.5</td><td>82.4</td><td>19.2</td><td>78.7</td><td>15.3</td><td>76.9</td><td>51.6</td><td>65.2</td><td>11.8</td></tr><tr><td>TUTA (Wang et al., 2021)</td><td>86.7</td><td>59.2</td><td>84.5</td><td>20.1</td><td>80.5</td><td>16.9</td><td>77.9</td><td>52.3</td><td>71.6</td><td>13.2</td></tr><tr><td>FORTAP (Cheng et al., 2022)</td><td>88.5</td><td>60.9</td><td>87.3</td><td>20.6</td><td>81.3</td><td>17.0</td><td>78.7</td><td>52.7</td><td>72.8</td><td>12.8</td></tr><tr><td>TableFormer (Yang et al., 2022)</td><td>89.4</td><td>61.4</td><td>86.9</td><td>20.2</td><td>83.2</td><td>17.3</td><td>79.2</td><td>53.5</td><td>72.7</td><td>12.9</td></tr><tr><td>D3L (Bogatu et al., 2020)</td><td>82.8</td><td>56.3</td><td>79.5</td><td>19.7</td><td>66.3</td><td>15.2</td><td>73.5</td><td>51.0</td><td>57.8</td><td>9.7</td></tr><tr><td>SATO (Zhang et al., 2020)</td><td>92.7</td><td>68.2</td><td>91.7</td><td>21.5</td><td>86.7</td><td>18.4</td><td>80.1</td><td>54.5</td><td>77.3</td><td>14.5</td></tr><tr><td>Starmie† (Fan et al., 2022)</td><td>93.9</td><td>69.0</td><td>94.8</td><td>23.3</td><td>89.5</td><td>18.9</td><td>81.0</td><td>55.1</td><td>78.4</td><td>14.3</td></tr><tr><td>SANTOS(Khatiwada and Fan, 2023)</td><td>94.3</td><td>69.2</td><td>85.7</td><td>21.0</td><td>-</td><td>-</td><td>81.4</td><td>55.3</td><td>-</td><td>-</td></tr><tr><td>AUTOTUSBERT-Base</td><td>98.5±0.4</td><td>72.4±0.2</td><td>97.7±0.5</td><td>25.2±0.3</td><td>94.6±0.7</td><td>21.6±0.2</td><td>87.6±0.5</td><td>59.7±0.3</td><td>84.9±0.6</td><td>17.3±0.3</td></tr><tr><td>w/o Table Noise Generator</td><td>96.6±0.5</td><td>71.2±0.4</td><td>96.1±0.6</td><td>24.5±0.3</td><td>92.5±0.7</td><td>20.8±0.4</td><td>83.0±0.7</td><td>56.4±0.4</td><td>80.7±0.8</td><td>14.9±0.3</td></tr><tr><td>w/o Encoder Update via Adaptive Clustering</td><td>94.5±0.6</td><td>71.9±0.4</td><td>94.3±0.7</td><td>23.3±0.5</td><td>91.0±0.5</td><td>20.4±0.3</td><td>83.2±0.6</td><td>56.3±0.4</td><td>80.5±0.7</td><td>14.7±0.3</td></tr><tr><td>w/o Encoder Update via Pseudo Label Classification</td><td>81.8±0.6</td><td>54.7±0.4</td><td>80.9±0.9</td><td>16.8±0.4</td><td>77.3±0.7</td><td>17.0±0.4</td><td>72.1±0.8</td><td>50.2±0.6</td><td>68.5±0.7</td><td>12.2±0.2</td></tr><tr><td>AUTOTUSBERT-Large</td><td>99.1±0.5</td><td>73.8±0.2</td><td>98.3±0.5</td><td>26.0±0.2</td><td>95.8±0.6</td><td>22.5±0.3</td><td>89.4±0.6</td><td>61.0±0.3</td><td>86.1±0.7</td><td>17.9±0.2</td></tr><tr><td>AUTOTUSRoBERTa-Large</td><td>99.4±0.4</td><td>73.9±0.2</td><td>98.9±0.3</td><td>26.7±0.2</td><td>96.2±0.5</td><td>22.3±0.2</td><td>90.0±0.5</td><td>60.5±0.3</td><td>86.9±0.6</td><td>18.1±0.3</td></tr></table>
178
+
179
+ Table 2: MAP@Y and R@Y comparisons (%). Results of AUTOTUS are averaged over five runs. $\dagger$ means we replace the base encoder from RoBERTa-Base to BERT-Base, and all models are based on BERT-Base for a fair comparison. Note that perfect R@Y is not possible when the ground truth contains less than Y searched tables.
180
+
181
+ self-supervised pre-training and achieves promising results in various table related NLP tasks. We adopt TaBERT (Yin et al., 2020), TABBIE (Iida et al., 2021), TUTA (Wang et al., 2021), FORTAP (Cheng et al., 2022), and TableFormer (Yang et al., 2022) as baseline encoders to calculate the column unionability score and adopt our Table Scorer module to obtain the table unionability score. Although, there are more baseline models in this category, we just select representative and SOTA ones. The details of baselines are introduced in Appendix B.
182
+
183
+ # 4.2 Results and Analysis
184
+
185
+ Overall Performance. Table 2 shows the average results on five table union search benchmarks. The proposed AUTOUS consistently outperforms all baselines in MAP and R performance by leveraging column relational representation learning (with student's T test $p < 0.05$ ). More specifically, for five benchmarks, compared to the SOTA baseline, AUTOUS on average achieves $5.1\%$ higher MAP and $3.1\%$ higher R across various benchmarks. Compared with BERT-Base, all table pre-trained and table union search baselines could gain MAP and R performance improvements from better learned tabular representations. The table union search baselines can achieve better results than the table pre-trained baselines by optimizing the column representations specific to the table union search task. AUTOUS exploit the column relational representations and are able to beat all the table union search baselines. In addition, we study the performance changes brought about by using larger base encoders BERT-Large (Devlin et al., 2019) and RoBERTa-Large (Liu et al., 2019).
186
+
187
+ ![](images/0499b61ea36c5f2efbfdfd3e7170cbf2cd14032c9fd6e44ce96056945e46f517.jpg)
188
+ (a) $P@K$ on SANTOSN
189
+
190
+ ![](images/84830044b7884a84f423356c93293c564612bb0c77016960c91b2789c9f7b0c3.jpg)
191
+ (b) $R@K$ on SANTOSN
192
+
193
+ ![](images/55eca785b1b56006f99c2d36356e329f33382d97f16379c93efa29292cd4d785.jpg)
194
+ (c) $P@K$ on TUS Small
195
+
196
+ ![](images/f8c9a89fea0b3df1cdb4badc7095b352041011c75bfa6556a19a4a31e1cd09ff.jpg)
197
+ (d) $R@K$ on TUS Small
198
+
199
+ ![](images/94ed419558c6f3d98114b4c62557686568eade91298fbd229872bc21699a48b1.jpg)
200
+ (e) $P@K$ on TUS LargeN
201
+ Figure 3: $\mathbb{P}@\mathcal{Y}$ and $\mathbb{R}@\mathcal{Y}$ results on different datasets.
202
+
203
+ ![](images/bed15055a2cfe8be30caf286d0486fa7a211596e158b96136bc416126b186a4b.jpg)
204
+ (f) $R@K$ on TUS LargeN
205
+
206
+ From Figure 2, it can be concluded that leveraging a large-scale pre-trained language model with more parameters can lead to better MAP and R, BERT-Large and RoBERTa-Large obtain an average boost of $1.1\%$ and $1.4\%$ , respectively.
207
+
208
+ Another interesting finding is that, although all the models have decreased performance on the datasets with table noise, the average performance improvement of AUTOTUS compared to SOTA is consistent, and even increased to $6.6\%$ on MAP
209
+
210
+ ![](images/4ce794ff664341b5f89b03f1575dab91fb6d4c58cca9241404feed09b9016e15.jpg)
211
+ (a) AutoTUS w/o Column Pair Classification
212
+
213
+ ![](images/17cdd72e1216f58ac79e11d54b74163a72beaf9a7886f26e323beef0bbfb8487.jpg)
214
+ Figure 4: Visualizing column relational representations after t-SNE dimension reduction on TUS large $_N$ .
215
+
216
+ ![](images/6d1d1ed2a151aa00d423a9d5e1d7618d325b3008b2dbb787906ab8666f09cbdb.jpg)
217
+ (b) AutoTUS w/o Automatic Clustering (c)
218
+
219
+ ![](images/c255849864abb4d383a01f4e6235217e9c3b634527ae4f5d83b8ca9b8b570132.jpg)
220
+ AutoTUS w/o Real-world Noise Generation
221
+ (d) AutoTUS
222
+
223
+ and $3.8\%$ on R. We attribute the improvement of AUTCUS to the noisy, weak column relational representations from the large pre-trained language models are exploited and refined: we bootstrap the representations obtained from noisy tabular data via self-supervised training schema. More specifically, we give the comparison of $\mathrm{P}@\mathrm{Y}$ and $\mathrm{R}@\mathrm{Y}$ as $Y$ changes in Figure 3. We find that AUTCUS consistently outperforms all baseline models on both metrics $\mathrm{P}@\mathrm{Y}$ and $\mathrm{R}@\mathrm{Y}$ as $Y$ changes.
224
+
225
+ Ablation Study. We conduct ablation studies to show the effectiveness of different modules of AUTOTUS. A number of variants of AUTOTUS are considered: AUTOTUS w/o Table Noise Generation removes added table noise in the training data; AUTOTUS w/o Column Relation Encoder Updater via Pseudo Label Classification is AUTOTUS without Column Relation Encoder Updater via Pseudo Label Classification and only uses the Contextualized Column Relation Encoder for Column Relation Encoder Updater via Adaptive Clustering; AUTOTUS w/o Column Relation Encoder Updater via Adaptive Clustering replaces the suggested soft-assignment clustering techniques with $k$ -means as a hard-assignment alternative.
226
+
227
+ The general conclusion from ablation study results shown in Table 2 is that the all three modules contribute positively to improve the performance. More specifically, without table noise in training data, AUTOTUS w/o Table Noise Generation gives $2.3\%$ less MAP and R averaged on all datasets, especially the noisy $\mathrm{SANTOS}_N$ and TUS large, the drop reaches $3.5\%$ . If we stop exploiting self-supervised signals for column relational features learning, AUTOTUS w/o Column Relation Encoder Updater via Pseudo Label Classification brings $12.8\%$ less MAP and R averaged on all datasets. This huge performance drop fully demonstrates the importance of learning and refining column-pair representations. Column Relation Encoder Updater via Adaptive Clustering gives $3.0\%$ MAP and R boost in average when comparing
228
+
229
+ with the hard-assignment alternative (AUTOTUS w/o Column Relation Encoder Updater via Adaptive Clustering).
230
+
231
+ Visualizing Contextualized Column Relational Embeddings. To intuitively show how clustering-enhanced self-supervised training can exploit self-supervised signals to obtain better contextualized column relational representations, we visualize the dimensionally reduced column relational representation space $\mathbb{R}^{2\cdot h_R}$ using t-SNE (Maaten and Hinton, 2008). We randomly choose 10 base tables from TUS large $_N$ dataset and sample all column relations that belong to the corresponding base table. We show the visualization results in Figure 4 with each column relation being colored according to their ground-truth.
232
+
233
+ From Figure 4, we can see that AUTOTUS w/o Column Relation Encoder Updater via Pseudo Label Classification can assign meaningful semantics to column relations from different base tables, but these unrefined features cannot be tailored for the table union search task. When Column Relation Encoder Updater via Adaptive Clustering is not applied and only $k$ -means are used, AUTOTUS w/o Column Relation Encoder Updater via Adaptive Clustering performs a hard assignment of features, and the clustering results appear messy since there are no cluster centroids with high confidence. AUTOTUS w/o Table Noise Generation demonstrates that the clustered features is not tolerate to the noise samples, resulting in unclear cluster boundaries. AUTOTUS shows denser and well-separated clusters, which verifies its powerful column relational representation learning ability.
234
+
235
+ Parameter Analysis: when $\mathbf{K}$ is unknown. The Column Relation Encoder Updater via Adaptive Clustering provide the flexibility to explore column relational features without knowing any prior information about the number of clusters. This property is attractive when the number of target clusters is agnostic. We vary $K$ from 10 to 200 and report the
236
+
237
+ ![](images/f8fe6fcada3e668877d0377794b95a349dfa73ad15b264734605fae713da175f.jpg)
238
+ AutoTUS (TUS Small) AutoTUS w/o Automatic Clustering (TUS Small)
239
+ AutoTUS (TUS Large) AutoTUS w/o Automatic Clustering (TUS Large)
240
+
241
+ Figure 5: MAP@60 Score with different $K$ .
242
+
243
+ <table><tr><td colspan="3">Table Noise</td><td colspan="2">SANTOSN</td><td colspan="2">TUS largeN</td></tr><tr><td>Column Name</td><td colspan="2">Column Data</td><td>MAP@10</td><td>R@10</td><td>MAP@60</td><td>R@60</td></tr><tr><td>X</td><td colspan="2">X</td><td>83.0</td><td>56.4</td><td>80.7</td><td>14.9</td></tr><tr><td>X</td><td colspan="2">✓</td><td>85.5</td><td>57.6</td><td>82.1</td><td>15.8</td></tr><tr><td>✓</td><td colspan="2">X</td><td>86.9</td><td>59.2</td><td>83.8</td><td>16.4</td></tr><tr><td>✓ or and</td><td colspan="2">✓</td><td>87.6</td><td>59.7</td><td>84.9</td><td>17.3</td></tr><tr><td></td><td></td><td>88.0</td><td>60.1</td><td>84.7</td><td>17.1</td><td></td></tr></table>
244
+
245
+ Table 3: Table Noise Analysis.
246
+
247
+ MAP@60 score in Figure 5, the best result is obtained when $K = 25$ for TUS Small and $K = 50$ for TUS Large, slightly larger than the number of base tables in the two datasets, indicating that AUTOTUS actually exploits the number of target clusters as useful prior knowledge. Thanks to the self-supervised training for column relational features exploitation and the flexibility brought by soft-assignment clustering, when we vary $K$ from 10 to 200, AUTOTUS gets a more stable MAP@60 score than AUTOTUS w/o Column Relation Encoder Updater via Adaptive Clustering.
248
+
249
+ Impact of Table Noise. We investigate the effect of table noise in column value and column name. As shown in Section 3.2, we randomly select a corresponding noise from two types of noises. From Table 3, we observe that adding table noise to both column value and column name help to improve the performance, whereas changing column name has a slightly larger effect (2.8% vs. 1.5%). This improvements may related to the fact that column name summarizes the entire column semantically, so adding noise to the column names can make the model more robust to table noise and thus obtain more performance gains. However, adding more noise did not consistently improve performance, suggesting that the model needs to find a trade-off between noisy data perturbation and increased robustness to noise.
250
+
251
+ # 5 Related Work
252
+
253
+ # 5.1 Table Union Search
254
+
255
+ In dataset discovery, it is crucial to find related tables in data lakes. The table union search task has recently received considerable attentions (Ling et al., 2013; Lehmberg and Bizer, 2017; Khatiwada and Fan, 2023). The initial attempt is made by Nargesian et al. (2018). The $\mathrm{D}^{3}\mathrm{L}$ (Bogatu et al., 2020) categories columns into groups by column features. Starmie (Fan et al., 2022) obtains the column features by utilizing a contextualized pretrained language models. SANTOS (Khatiwada and Fan, 2023) leverages a knowledge base to discover the unionable relations between two tables. More recently, a number of table pre-training models have been developed to obtain the contextualized table representation (Yin et al., 2020; Gong et al., 2020; Dong et al., 2022). However, these methods are not tailored to the table union search task.
256
+
257
+ # 5.2 Self-supervised Learning in NLP
258
+
259
+ Self-supervised learning (SSL) is a method for building models where the output labels are already included in the input data, eliminating the need for additional labeled data (Liu et al., 2021; Hu et al., 2021a,b; Liu et al., 2022d,c). SSL has been widely used in NLP domains such as sentence generation (West et al., 2019; Yan et al., 2021), document processing (You et al., 2021; Ginzburg et al., 2021), natural language inference (Li et al., 2022, 2023), and text reasoning (Klein and Nabi, 2020; Fu et al., 2020; Chen et al., 2022). BERT (Devlin et al., 2019) is one of the most eminent SSL methods which exploit self-supervisions from corpus with next sentence prediction and masked language modeling tasks. In our work, we adopt SSL method to exploit and refine self-supervised signals from tabular data.
260
+
261
+ # 6 Conclusions
262
+
263
+ In this paper, we propose a multi-stage self-supervised table union search framework, which represents column relation as column relational representation and learn this representation in a multi-stage manner that can better describe column relation for unionability prediction. In additional, a table noise generator is proposed to improve the robustness of our approach against the table noise. The conducted extensive experiments demonstrate the effectiveness of the proposed approach.
264
+
265
+ # 7 Limitations
266
+
267
+ We would like to claim our limitations from two perspectives: technical-wise and application-wise.
268
+
269
+ Technical-wise: We currently only experiment with BERT-Base, BERT-Large, and RoBERTa-Large as the basic encoders. For larger language models, due to limited resources, we have not implemented them.
270
+
271
+ Application-wise: The experimental data comes from the Open Data repository released by governments of various countries. Although many domains are covered, some domain-specific data, such as biomedical, have not been considered. Furthermore, our tabular data are all from English, open data research in other languages can be considered as a future research direction.
272
+
273
+ # 8 Acknowledgement
274
+
275
+ We thank the reviewers for their valuable comments. Lijie Wen is the corresponding author. Xuming Hu and Lijie Wen were partially supported by the National Key Research and Development Program of China (No. 2019YFB1704003), the National Nature Science Foundation of China (No. 62021002), Tsinghua BNrist and Beijing Key Laboratory of Industrial Bigdata System and Application. Philip S. Yu was partially supported by the NSF under grants III-1763325, III-1909323, III-2106758, SaTC-1930941.
276
+
277
+ # References
278
+
279
+ Rami Aly, Zhijiang Guo, Michael Sejr Schlichtkrull, James Thorne, Andreas Vlachos, Christos Christodoulopoulos, Oana Cocarascu, and Arpit Mittal. 2021. Feverous: Fact extraction and verification over unstructured and structured information. In Proc. of NeurIPS: Datasets and Benchmarks Track.
280
+ Alex Bogatu, Alvaro AA Fernandes, Norman W Paton, and Nikolaos Konstantinou. 2020. Dataset discovery in data lakes. In Proc. of ICDE, pages 709-720. IEEE.
281
+ Dan Brickley, Matthew Burgess, and Natasha Noy. 2019. Google dataset search: Building a search engine for datasets in an open web ecosystem. In Proc. of WWW, pages 1365-1375.
282
+ Wenhu Chen, Hanwen Zha, Zhiyu Chen, Wenhan Xiong, Hong Wang, and William Yang Wang. 2020. Hybridqa: A dataset of multi-hop question answering over tabular and textual data. In Findings of the Association for Computational Linguistics: EMNLP 2020, pages 1026-1036.
283
+
284
+ Yubo Chen, Yunqi Zhang, and Yongfeng Huang. 2022. Learning reasoning patterns for relational triple extraction with mutual generation of text and graph. In *Findings of ACL*, pages 1638-1647.
285
+ Zhoujun Cheng, Haoyu Dong, Ran Jia, Pengfei Wu, Shi Han, Fan Cheng, and Dongmei Zhang. 2022. Fortap: Using formulas for numerical-reasoning-aware table pretraining. In Proc. of ACL, pages 1150-1166.
286
+ Nadiia Chepurko, Ryan Marcus, Emanuel Zgraggen, Raul Castro Fernandez, Tim Kraska, and David Karger. 2020. Arda: automatic relational data augmentation for machine learning. Proc. of VLDB, 13(9):1373-1387.
287
+ Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. 2019. Bert: Pre-training of deep bidirectional transformers for language understanding. In Proc. of NAACL-HLT, pages 4171-4186.
288
+ Haoyu Dong, Zhoujun Cheng, Xinyi He, Mengyu Zhou, Anda Zhou, Fan Zhou, Ao Liu, Shi Han, and Dongmei Zhang. 2022. Table pretraining: A survey on model architectures, pretraining objectives, and downstream tasks. arXiv preprint arXiv:2201.09745.
289
+ Grace Fan, Jin Wang, Yuliang Li, Dan Zhang, and Renee Miller. 2022. Semantics-aware dataset discovery from data lakes with contextualized column-based representation learning. arXiv preprint arXiv:2210.01922.
290
+ Tsu-Jui Fu, Xin Wang, Scott Grafton, Miguel Eckstein, and William Yang Wang. 2020. Sscr: Iterative language-based image editing via self-supervised counterfactual reasoning. In Proc. of EMNLP, pages 4413-4422.
291
+ Sainyam Galhotra and Udayan Khurana. 2020. Semantic search over structured data. In Proc. of CIKM, pages 3381-3384.
292
+ Dvir Ginzburg, Itzik Malkiel, Oren Barkan, Avi Caci-ularu, and Noam Koenigstein. 2021. Self-supervised document similarity ranking via contextualized language models and hierarchical inference. In *Findings of ACL-IJCNLP*, pages 3088-3098.
293
+ Heng Gong, Yawei Sun, Xiaocheng Feng, Bing Qin, Wei Bi, Xiaojiang Liu, and Ting Liu. 2020. Tablegpt: Few-shot table-to-text generation with table structure reconstruction and content matching. In Proc. of COLING, pages 1978-1988.
294
+ Zhijiang Guo, Michael Schlichtkrull, and Andreas Vlachos. 2022. A survey on automated fact-checking. Transactions of the Association for Computational Linguistics, 10:178-206.
295
+ Jonathan Herzig, Pawel Krzysztof Nowak, Thomas Mueller, Francesco Piccinno, and Julian Eisenschlos. 2020. Tapas: Weakly supervised table parsing via pre-training. In Proc. of ACL, pages 4320-4333.
296
+
297
+ Xuming Hu, Lijie Wen, Yusong Xu, Chenwei Zhang, and Philip S. Yu. 2020. Selfore: Self-supervised relational feature learning for open relation extraction. In Proc. of EMNLP, pages 3673-3682.
298
+ Xuming Hu, Chenwei Zhang, Fukun Ma, Chenyao Liu, Lijie Wen, and Philip S. Yu. 2021a. Semi-supervised relation extraction via incremental meta self-training. In Findings of EMNLP, pages 487-496.
299
+ Xuming Hu, Chenwei Zhang, Yawen Yang, Xiaohe Li, Li Lin, Lijie Wen, and Philip S. Yu. 2021b. Gradient imitation reinforcement learning for low resource relation extraction. In Proc. of EMNLP, pages 2737-2746.
300
+ Hiroshi Iida, Dung Thai, Varun Manjunatha, and Mohit Iyyer. 2021. Tabbie: Pretrained representations of tabular data. In Proc. of NAACL-HLT, pages 3446-3456.
301
+ Aamod Khatiwada and Grace Fan. 2023. Santos: Relationship-based semantic table union search. In Proc. of SIGMOD.
302
+ Tassilo Klein and Moin Nabi. 2020. Contrastive self-supervised learning for commonsense reasoning. In Proc. of ACL, pages 7517-7523.
303
+ Christos Koutras, George Siachamis, Andrea Ionescu, Kyriakos Psarakis, Jerry Brons, Marios Fragkoulis, Christoph Lofi, Angela Bonifati, and Asterios Katsifodimos. 2021. Valentine: Evaluating matching techniques for dataset discovery. In Proc. of ICDE, pages 468-479. IEEE.
304
+ Oliver Lehmberg and Christian Bizer. 2017. Stitching web tables for improving matching quality. Proc. of VLDB, 10(11):1502-1513.
305
+ Shu'ang Li, Xuming Hu, Li Lin, Aiwei Liu, Lijie Wen, and Philip S. Yu. 2023. A multi-level supervised contrastive learning framework for low-resource natural language inference. IEEE/ACM Transactions on Audio, Speech, and Language Processing, 31:1771-1783.
306
+ Shu'ang Li, Xuming Hu, Li Lin, and Lijie Wen. 2022. Pair-level supervised contrastive learning for natural language inference. arXiv preprint arXiv:2201.10927.
307
+ Xiao Ling, Alon Y Halevy, Fei Wu, and Cong Yu. 2013. Synthesizing union tables from the web. In Proc. of IJCAI.
308
+ Aiwei Liu, Xuming Hu, Li Lin, and Lijie Wen. 2022a. Semantic enhanced text-to-sql parsing via iteratively learning schema linking graph. In Proc. of KDD, pages 1021-1030.
309
+ Aiwei Liu, Xuming Hu, Lijie Wen, and Philip S Yu. 2023. A comprehensive evaluation of chatgpt's zero-shot text-to-sql capability. arXiv preprint arXiv:2303.13547.
310
+
311
+ Ruixue Liu, Shaozu Yuan, Aijun Dai, Lei Shen, Tiangang Zhu, Meng Chen, and Xiaodong He. 2022b. Few-shot table understanding: A benchmark dataset and pre-training baseline. In Proc. of COLING, pages 3741-3752.
312
+ Shuliang Liu, Xuming Hu, Chenwei Zhang, Shu'ang Li, Lijie Wen, and Philip S. Yu. 2022c. Hiure: Hierarchical exemplar contrastive learning for unsupervised relation extraction. In Proc. of NAACL-HLT, pages 5970-5980.
313
+ Xiao Liu, Fanjin Zhang, Zhenyu Hou, Li Mian, Zhaoyu Wang, Jing Zhang, and Jie Tang. 2021. Self-supervised learning: Generative or contrastive. IEEE Transactions on Knowledge and Data Engineering.
314
+ 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.
315
+ Yixin Liu, Ming Jin, Shirui Pan, Chuan Zhou, Yu Zheng, Feng Xia, and Philip Yu. 2022d. Graph self-supervised learning: A survey. IEEE Transactions on Knowledge and Data Engineering.
316
+ Laurens van der Maaten and Geoffrey Hinton. 2008. Visualizing data using t-sne. Journal of machine learning research, 9(Nov):2579-2605.
317
+ Fatemeh Nargesian, Erkang Zhu, Ken Q Pu, and Renee J Miller. 2018. Table union search on open data. Proc. of VLDB, 11(7):813-825.
318
+ Aécio Santos, Aline Bessa, Christopher Musco, and Juliana Freire. 2022. A sketch-based index for correlated dataset search. In Proc. of ICDE, pages 2928-2941. IEEE.
319
+ Livio Baldini Soares, Nicholas Fitzgerald, Jeffrey Ling, and Tom Kwiatkowski. 2019. Matching the blanks: Distributional similarity for relation learning. In Proc. of ACL, pages 2895-2905.
320
+ Zhiruo Wang, Haoyu Dong, Ran Jia, Jia Li, Zhiyi Fu, Shi Han, and Dongmei Zhang. 2021. Tuta: tree-based transformers for generally structured table pretraining. In Proc. of SIGKDD, pages 1780-1790.
321
+ Peter West, Ari Holtzman, Jan Buys, and Yejin Choi. 2019. Bottlesum: Unsupervised and self-supervised sentence summarization using the information bottleneck principle. In Proc. of EMNLP-IJCNLP, pages 3752-3761.
322
+ Yihai Xi, Ning Wang, Shuang Hao, Yiyi Zhang, and Xinyu Chen. 2023. Popularity sensitive and domain-aware summarization for web tables. Information Sciences, 621:729-748.
323
+ Junyuan Xie, Ross Girshick, and Ali Farhadi. 2016. Unsupervised deep embedding for clustering analysis. In Proc. of ICML, pages 478-487.
324
+
325
+ Yuanmeng Yan, Rumei Li, Sirui Wang, Fuzheng Zhang, Wei Wu, and Weiran Xu. 2021. Consent: A contrastive framework for self-supervised sentence representation transfer. In Proc. of ACL-IJCNLP, pages 5065-5075.
326
+ Jingfeng Yang, Aditya Gupta, Shyam Upadhyay, Luheng He, Rahul Goel, and Shachi Paul. 2022. Tableformer: Robust transformer modeling for table-text encoding. In Proc. of ACL, pages 528-537.
327
+ Pengcheng Yin, Graham Neubig, Wen-tau Yih, and Sebastian Riedel. 2020. Tabert: Pretraining for joint understanding of textual and tabular data. In Proc. of ACL, pages 8413-8426.
328
+ Chenyu You, Nuo Chen, and Yuexian Zou. 2021. Self-supervised contrastive cross-modality representation learning for spoken question answering. In *Findings of EMNLP*, pages 28-39.
329
+ Dan Zhang, Madelon Hulsebos, Yoshihiko Suhara, Cagatay Demiralp, Jinfeng Li, and Wang-Chiew Tan. 2020. Sato: contextual semantic type detection in tables. Proceedings of the VLDB Endowment, 13(12):1835-1848.
330
+ Shuo Zhang and Krisztian Balog. 2017. Entitables: Smart assistance for entity-focused tables. In Proc. of SIGIR, pages 255-264.
331
+ Fengbin Zhu, Wenqiang Lei, Youcheng Huang, Chao Wang, Shuo Zhang, Jiancheng Lv, Fuli Feng, and Tat-Seng Chua. 2021. Tat-qa: A question answering benchmark on a hybrid of tabular and textual content in finance. In Proc. of ACL-IJCNLP, pages 3277-3287.
332
+
333
+ # A Dataset Construction Details
334
+
335
+ For test data, the SANTOS Small benchmark (Khatiwada and Fan, 2023) consists of 550 data lake tables, which are generated from 296 open datasets from Canada, the United Kingdom, the United States, and Australia. The SANTOS Small also has 50 query tables. There are two benchmarks accessible from Nargesian et al. (2018): TUS Small and TUS Large. The TUS Small consists of 1,530 data lake tables that are generated from 10 base table of Canada open data. The TUS Small also has 150 query tables. The TUS Large consists of 5,043 data lake tables that are generated from 32 base table of Canada open data. The TUS Large also has 100 query tables. The SANTOS $^{4}$ and TUS $^{5}$ benchmarks and their unionable table ground truth are publicly available. For training data, we randomly generated the same number of unlabeled training tables as the labeled tables from base tables of Open Data. Note that the public code for generating tables is publicly available $^{6}$ (Koutras et al., 2021; Khatiwada and Fan, 2023). Since table union search task is an unsupervised task, no dev data is obtained.
336
+
337
+ # B The Introduction of Baseline Models
338
+
339
+ We compare AUTOTUS with two categories of baseline models. The first category of models leverage unlabeled tables for self-supervised pretraining and achieve promising results in the table understanding tasks as baseline encoders to calculate the column unionability score:
340
+
341
+ (1) TaBERT (Yin et al., 2020) is a pretrained language model that simultaneously learns representations for (semi-)structured tables and natural language phrases. 26 million tables and their English contexts make up the vast corpus on which TaBERT was trained.
342
+ (2) TABBIE (Iida et al., 2021) develops a straightforward pretraining target (corrupt cell identification) that only learns from tabular data and achieves the state-of-the-art on the table-based tasks. TABBIE offers embeddings of all table substructures (cells, rows, and columns), unlike competing techniques, and it also takes far less computing power to train.
343
+
344
+ (3) TUTA (Wang et al., 2021) is a unified pretraining architecture for comprehending typically arranged tables. TUTA improves transformers with three structure-aware techniques after realizing that understanding a table necessitates spatial, hierarchical, and semantic information.
345
+ (4) FORTAP (Cheng et al., 2022) explores to leverage the spreadsheet formulas for table pretraining. FORTAP adopts two self-supervised pretraining objectives, which are derived from formulas, numerical reference prediction and numerical calculation prediction.
346
+ (5) TableFormer (Yang et al., 2022) is a structurally conscious table-text encoding architecture in which learnable attention biases are used to fully include tabular structural biases.
347
+
348
+ Of course, there are more baseline models in this category, we just select representative and SOTA models. The second category of models adopt various column representations to calculate the column unionability score:
349
+
350
+ (6) $\mathbf{D}^3\mathbf{L}$ (Bogatu et al., 2020) creates hash-based indexes using the features of the items in a dataset and maps those features to a uniform distance space.
351
+ (7) SATO (Zhang et al., 2020) is a hybrid machine learning model that uses both the context of the table and the values of the columns to automatically identify the semantic categories of columns in tables.
352
+ (8) Starmie (Fan et al., 2022) obtains the semantic information included inside tables by utilizing a contrastive multi-column pre-training technique.
353
+ (9) SANTOS (Khatiwada and Fan, 2023) suggests a definition of unionability that takes connections between columns and their semantics into principled consideration.
354
+
355
+ A For every submission:
356
+
357
+ A1. Did you describe the limitations of your work? Section 7
358
+ A2. Did you discuss any potential risks of your work? Section 7
359
+ A3. Do the abstract and introduction summarize the paper's main claims? Abstract and Section 1
360
+ A4. Have you used AI writing assistants when working on this paper? Left blank.
361
+
362
+ B Did you use or create scientific artifacts?
363
+
364
+ Section 3 and Section 4
365
+
366
+ B1. Did you cite the creators of artifacts you used? Section 3 and Section 4
367
+ B2. Did you discuss the license or terms for use and / or distribution of any artifacts? Section 3 and Section 4
368
+ B3. Did you discuss if your use of existing artifact(s) was consistent with their intended use, provided that it was specified? For the artifacts you create, do you specify intended use and whether that is compatible with the original access conditions (in particular, derivatives of data accessed for research purposes should not be used outside of research contexts)? Section 3 and Section 4
369
+ B4. Did you discuss the steps taken to check whether the data that was collected / used contains any information that names or uniquely identifies individual people or offensive content, and the steps taken to protect / anonymize it? Section 3, Section 4, and Appendix A
370
+ B5. Did you provide documentation of the artifacts, e.g., coverage of domains, languages, and linguistic phenomena, demographic groups represented, etc.? Not applicable. Left blank.
371
+ B6. Did you report relevant statistics like the number of examples, details of train / test / dev splits, etc. for the data that you used / created? Even for commonly-used benchmark datasets, include the number of examples in train / validation / test splits, as these provide necessary context for a reader to understand experimental results. For example, small differences in accuracy on large test sets may be significant, while on small test sets they may not be. Section 4, and Appendix A
372
+
373
+ C Did you run computational experiments?
374
+
375
+ Section 4
376
+
377
+ C1. Did you report the number of parameters in the models used, the total computational budget (e.g., GPU hours), and computing infrastructure used? Section 4
378
+
379
+ The Responsible NLP Checklist used at ACL 2023 is adopted from NAACL 2022, with the addition of a question on AI writing assistance.
380
+
381
+ C2. Did you discuss the experimental setup, including hyperparameter search and best-found hyperparameter values? Section 4 and Appendix A
382
+ C3. Did you report descriptive statistics about your results (e.g., error bars around results, summary statistics from sets of experiments), and is it transparent whether you are reporting the max, mean, etc. or just a single run? Section 4
383
+ C4. If you used existing packages (e.g., for preprocessing, for normalization, or for evaluation), did you report the implementation, model, and parameter settings used (e.g., NLTK, Spacy, ROUGE, etc.)? Not applicable. Left blank.
384
+
385
+ D Did you use human annotators (e.g., crowdworkers) or research with human participants? Left blank.
386
+
387
+ D1. Did you report the full text of instructions given to participants, including e.g., screenshots, disclaimers of any risks to participants or annotators, etc.? No response.
388
+ D2. Did you report information about how you recruited (e.g., crowdsourcing platform, students) and paid participants, and discuss if such payment is adequate given the participants' demographic (e.g., country of residence)? No response.
389
+ D3. Did you discuss whether and how consent was obtained from people whose data you're using/curating? For example, if you collected data via crowdsourcing, did your instructions to crowdworkers explain how the data would be used? No response.
390
+ D4. Was the data collection protocol approved (or determined exempt) by an ethics review board? No response.
391
+ D5. Did you report the basic demographic and geographic characteristics of the annotator population that is the source of the data? No response.
2023/Automatic Table Union Search with Tabular Representation Learning/images.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fa55852db4533ef4b283836b2866d41db2480f4410a2797eefc95348d9a87ef1
3
+ size 491069
2023/Automatic Table Union Search with Tabular Representation Learning/layout.json ADDED
The diff for this file is too large to render. See raw diff
 
2023/AxomiyaBERTa_ A Phonologically-aware Transformer Model for Assamese/86b88357-8c3a-4270-bb19-cd2104e1901b_content_list.json ADDED
The diff for this file is too large to render. See raw diff
 
2023/AxomiyaBERTa_ A Phonologically-aware Transformer Model for Assamese/86b88357-8c3a-4270-bb19-cd2104e1901b_model.json ADDED
The diff for this file is too large to render. See raw diff
 
2023/AxomiyaBERTa_ A Phonologically-aware Transformer Model for Assamese/86b88357-8c3a-4270-bb19-cd2104e1901b_origin.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a96509f0669efc0cd1badab43aded9d07837569068322749cbc2537b9cd864c8
3
+ size 844734
2023/AxomiyaBERTa_ A Phonologically-aware Transformer Model for Assamese/full.md ADDED
@@ -0,0 +1,467 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # AxomiyaBERTa: A Phonologically-aware Transformer Model for Assamese
2
+
3
+ Abhijnan Nath, Sheikh Mannan, and Nikhil Krishnaswamy
4
+
5
+ Situated Grounding and Natural Language (SIGNAL) Lab
6
+
7
+ Department of Computer Science, Colorado State University
8
+
9
+ Fort Collins, CO, USA
10
+
11
+ {abhijnan.nath, sheikh.mannan, nkrishna}@colostate.edu
12
+
13
+ # Abstract
14
+
15
+ Despite their successes in NLP, Transformer-based language models still require extensive computing resources and suffer in low-resource or low-compute settings. In this paper, we present AxomiyaBERTa, a novel BERT model for Assamese, a morphologically-rich low-resource language (LRL) of Eastern India. AxomiyaBERTa is trained only on the masked language modeling (MLM) task, without the typical additional next sentence prediction (NSP) objective, and our results show that in resource-scarce settings for very low-resource languages like Assamese, MLM alone can be successfully leveraged for a range of tasks. AxomiyaBERTa achieves SOTA on token-level tasks like Named Entity Recognition and also performs well on "longer-context" tasks like Cloze-style QA and Wiki Title Prediction, with the assistance of a novel embedding disperser and phonological signals respectively. Moreover, we show that AxomiyaBERTa can leverage phonological signals for even more challenging tasks, such as a novel cross-document coreference task on a translated version of the ECB+ corpus, where we present a new SOTA result for an LRL. Our source code and evaluation scripts may be found at https://github.com/CSU-signal/axomiyaberta.
16
+
17
+ # 1 Introduction
18
+
19
+ Transformer-based neural architectures such as BERT (Devlin et al., 2019) have revolutionized natural language processing (NLP). The ability to generate contextualized embeddings that both preserve polysemous word sense and similarity across dimensions through self-attention has contributed to significant improvements in various NLP tasks (Ethayarajh, 2019). Despite their successes, Transformers come at a high computational cost (Zhao et al., 2022) and still suffer from long-standing issues pertaining to data-hunger and
20
+
21
+ availability of training resources. One effect of the dependency on big data is the continued proliferation of sophisticated NLP for well-resourced languages while low-resourced languages (LRLs) continue to be underrepresented, and the disparities continue to grow (Joshi et al., 2020).
22
+
23
+ This is particularly true for languages of India and South Asia where English is widely spoken among the educated and urban population. Therefore, those in India most likely to use and develop NLP may freely do so in English, but sole speakers of local Indian languages may remain effectively isolated from human language technology in their native tongues. While strides have been made in NLP for widely-spoken Indian languages (e.g., Hindi, Bengali, Marathi, Tamil, etc.), India is home to about a thousand languages, over 100 of which are considered "major" but are not widely represented in NLP research. This lack of representation also precludes insights from those languages from contributing to the field (Bender, 2019).
24
+
25
+ In this paper, we present AxomiyaBERTa, a novel Transformer language model for the Assamese language.2 AxomiyaBERTa has been trained in a low-resource and limited-compute setting, using only the masked language modeling (MLM) objective. Beyond a model for a new language, our novel contributions are as follows:
26
+
27
+ - Use of a novel combined loss technique to disperse AxomiyaBERTa's embeddings;
28
+ - Addition of phonological articulatory features as an alternate performance improve
29
+
30
+ ment in the face of omitting the NSP training objective for longer-context tasks;
31
+
32
+ - Evaluation on event coreference resolution, which is novel for Assamese.
33
+
34
+ AxomiyaBERTa achieves competitive or state of the art results on multiple tasks, and demonstrates the utility of our approach for building new language models in resource-constrained settings.
35
+
36
+ # 2 Related Work
37
+
38
+ Multilingual large language models (MLLMs) trained over large Internet-sourced data, such as MBERT and XLM (Conneau et al., 2020), provide resources for approximately 100 languages, many of which are otherwise under-resourced in NLP. However, multiple publications (Virtanen et al., 2019; Scheible et al., 2020; Tanvir et al., 2021) have demonstrated that multilingual language models tend to underperform monolingual language models on common tasks; the "multilingual" quality of MLLMs may not be enough to assure performance on LRL tasks, due to language-specific phenomena not captured in the MLLM.
39
+
40
+ Since languages that share recent ancestry or a Sprachbund tend to share features, there has also been development of models and resources for languages from distinct regions of the world. South Asia is one such "language area," where even unrelated languages may share features (e.g., 4-way voice/ascpiration distinctions, SOV word order, retroflex consonants, heavy use of light verbs). As such, researchers have developed region-specific models for South Asian languages such as IndicBERT (Kakwani et al., 2020) (11 languages, 8.8 billion tokens) and MuRIL (Khanuja et al., 2021) (17 languages, 16 billion tokens).
41
+
42
+ Subword tokenization techniques like byte-pair encoding (BPE) (Sennrich et al., 2016) yield comparatively better performance on LRLs by not biasing the vocabulary toward the most common words in a specific language, but BPE tokens also further obscure morphological information not immediately apparent in the surface form of the word. Nzeyimana and Niyongabo Rubungo (2022) tackle this problem for Kinyarwanda using a morphological analyzer to help generate subwords that better capture individual morphemes. However, despite similar morphological richness of many Indian languages, and likely due to similar reasons as outlined above, the dearth of NLP technology for most Indian languages extends to a lack of morphological parsers. We hypothesize that adding
43
+
44
+ phonological features can also capture correlations between overlapping morphemes.
45
+
46
+ Previous NLP work in Assamese includes studies in corpus building (Sarma et al., 2012; Laskar et al., 2020; Pathak et al., 2022), POS tagging (Kumar and Bora, 2018), WordNet (Bharali et al., 2014; Sarmah et al., 2019) structured representations (Sarma and Chakraborty, 2012), image captioning (Nath et al., 2022c), and cognate detection (Nath et al., 2022a). There does not exist, to our knowledge, significant work on Assamese distributional semantics, or any monolingual, Transformer-based language model for the Assamese language evaluated on multiple tasks.
47
+
48
+ Our work complements these previous lines of research with a novel language model for Assamese, which further develops an initial model first used in Nath et al. (2022a). We account for the lack of an Assamese morphological analyzer with additional phonological features and task formulations that allow for strategic optimization of the embedding space before the classification layer.
49
+
50
+ # 2.1 Assamese
51
+
52
+ Assamese is an Eastern Indo-Aryan language with a speaker base centered in the Indian state of Assam. It bears similarities to Bengali and is spoken by 15 million L1 speakers (up to 23 million total speakers). Its literature dates back to the 13th c. CE. It has been written in its modern form since 1813, is one of 22 official languages of the Republic of India, and serves as a lingua franca of the Northeast Indian region (Jain and Cardona, 2004).
53
+
54
+ Despite this, Assamese data in NLP resources tends to be orders of magnitude smaller than data in other languages, even in South Asian region-specific resources (see Table 1).
55
+
56
+ <table><tr><td></td><td>as</td><td>bn</td><td>hi</td><td>en</td></tr><tr><td>CC-100</td><td>5</td><td>525</td><td>1,715</td><td>55,608</td></tr><tr><td>IndicCorp</td><td>32.6</td><td>836</td><td>1,860</td><td>1,220</td></tr></table>
57
+
58
+ Table 1: CC-100 (Conneau et al., 2020) and IndicCorp (Kakwani et al., 2020) data sizes (in millions of tokens) for Assamese, Bengali, Hindi, and English.
59
+
60
+ Assamese bears a similar level of morphological richness to other Indo-Aryan and South Asian languages, with 8 grammatical cases and a complex verbal morphology. Despite these points of comparison, Assamese has some unique phonological features among Indo-Aryan languages, such as the use of alveolar stops $/t^{(h)}/, /d^{(f)}/,$ velar
61
+
62
+ fricative $/x/$ , and approximant $/\mathrm{I}/$ . This atypical sound pattern motivates the use of phonological signals in our model. Moreover, both the pretraining and task-specific corpora we use contain a large proportion of loanwords (e.g., from English) or words cognate with words in higher-resourced languages (e.g., Bengali). These words rendered with Assamese's unique sound pattern result in distinct, information-rich phoneme sequences.
63
+
64
+ # 3 Methodology
65
+
66
+ # 3.1 Pretraining
67
+
68
+ We trained on four publicly-available Assamese datasets: Assamese Wikidumps<sup>3</sup>, OS-CAR (Suárez et al., 2019)<sup>4</sup>, PMIndia (Haddow and Kirefu, 2020)<sup>5</sup>, the Common Crawl (CC-100) Assamese corpus (Conneau et al., 2020)<sup>6</sup>, as well as a version of the ECB+ Corpus (Cybul-ska and Vossen, 2014) translated to Assamese using Microsoft Azure Translator. In total, after preprocessing, the training data amounts to approximately 26 million space-separated Assamese tokens.<sup>7</sup>
69
+
70
+ AxomiyaBERTa (66M parameters) was trained as a "light" ALBERT (specifically albert-base-v2) (Lan et al., 2019) model with only the MLM objective (Devlin et al., 2019), and no next sentence prediction (NSP), for 40 epochs (485,520 steps) with a vocabulary size of 32,000 and a SentencePiece BPE tokenizer (Kudo and Richardson, 2018). Tokenization methods like BPE can obfuscate certain morphological information. However, without a publicly-available morphological analyzer for Assamese, our motivation was to examine if phonological correlations might pick up similar information across different tasks while keeping model architecture and tokenizer consistent. We trained on 1 NVIDIA A100 80 GB device with a batch size of 32 and a sequence length of 128 for approximately 72 hours. Table 8 in Appendix A shows all specific pretraining configuration settings.
71
+
72
+ # 3.1.1 Special Token Vocabulary
73
+
74
+ The AxomiyaBERTa vocabulary includes two special trigger tokens: $\langle \mathfrak{m} \rangle$ and $\langle \mathfrak{m} \rangle$ . These act as separators $a \, la$ the BERT [SEP] token, meaning that contextualized representations of these tokens were trained into the AxomiyaBERTa embedding space. Prior to pretraining, the translated ECB+ Corpus was annotated with these tokens surrounding event mentions. Since AxomiyaBERTa was not trained using the next sentence prediction objective (see Sec. 3.2.2), its embedding space needs those special triggers as separators between segments instead of the [SEP] tokens that segregate the token type IDs.
75
+
76
+ # 3.2 Fine-tuning
77
+
78
+ AxomiyaBERTa pretraining created a task-agnostic model optimized for the grammar and structure of Assamese. This model was then fine-tuned to achieve good performance on a number of different tasks. Beyond the task-specific fine-tuning, we made use of two auxiliary techniques: an embedding disperser, that optimized the AxomiyaBERTa embedding space away from severe anisotropy, and phonological or articulatory attention that acted as a single-head attention layer attending to both token-level and candidate-option level phonological signals. We first discuss these two techniques, followed by the specific task formulations we evaluated on. Note that the embedding disperser was used at the fine-tuning stage for Cloze-QA only due to severe anisotropy of the embedding space (Fig. 1 and Fig. 4, Appendix B).
79
+
80
+ # 3.2.1 Embedding Disperser
81
+
82
+ Without a meaningful objective to force embedding vectors apart during training, they trend toward an arbitrary center in $\mathbb{R}^d$ space. This phenomenon has also been observed by Gao et al. (2018), Ethayarajh (2019), and Demeter et al. (2020), among others. In Nath et al. (2022a), evidence was presented that the effect is more pronounced in smaller models. An effect of this can be illustrated by embeddings from an example task, Cloze-style question answering (Cloze-QA):
83
+
84
+ Let a "set" of embeddings consist of representations for a question (or context) $Q$ and associated candidate answers $\{A,B,C,D\}$ . "Within-set" cosine similarities represent the cosine similarities between $(Q + i,Q + j)$ for each candidate answer $i\in \{A,B,C,D\}$ and each other candid
85
+
86
+ ![](images/45b16f4335f5e4fc57db8606164b89f59186b2287adf3833ee8cd214f443ab4f.jpg)
87
+ Figure 1: Kernel Density Estimation plots for within-set features of each component of the phonologically-aware embedding disperser (Fig. 2). option_cos is the output of the auxiliary discriminator while linear_sigmoid represents the linear layer and euc_dist represents $\mathrm{L}^2$ norm between the raw [CLS] token embeddings. See Fig. 4 in Appendix B for equivalent "beyond-set" plots.
88
+
89
+ date $j \in \{A, B, C, D\}$ where $i \neq j$ . "Beyond-set" cosine similarities represent similarities between all pairs in a candidate-plus-answers set compared to other such embedding sets from different questions. Fig. 1 shows KDE plots for various similarity metrics taken "within-set" for a random sample of 100 sets from the Cloze-QA dev set (see Sec. 3.2.3 for more details on the data). The blue spike at 1 for cls_cosine_sim shows how similar all [CLS] token embeddings are to each other, given AxomiyaBERTa's extremely anisotropic embedding space after pretraining. This makes it difficult to optimize a classification boundary during fine-tuning using standard techniques.
90
+
91
+ Therefore, to disperse the embedding space for greater discriminatory power, we used a combination of Binary Cross Entropy loss and Cosine Embedding loss to train the model. The architecture is shown in Fig. 2. The key components are: i) a cosine embedding layer that takes in arg1 (context) and arg2 (candidate) representations along with a [CLS] representation and outputs a 128D embedding into the cosine embedding loss function, and ii) an auxiliary discriminator that considers only arg2 and [CLS] representations.
92
+
93
+ Mathematically,
94
+
95
+ $$
96
+ L _ {B C E} = - \frac {1}{n} \sum_ {i = 1} ^ {n} \left(Y _ {i} \cdot \log \hat {Y} _ {i} + (1 - Y _ {i}) \cdot \log \left(1 - \hat {Y} _ {i}\right)\right)
97
+ $$
98
+
99
+ $$
100
+ L _ {C O S} (x, y) = \left\{ \begin{array}{l l} 1 - \cos \left(x _ {1}, x _ {2}\right), & \text {i f} y = 1 \\ \max \left(0, \cos \left(x _ {1}, x _ {2}\right) - \mathrm {m}\right), & \text {i f} y = - 1 \end{array} \right.
101
+ $$
102
+
103
+ $$
104
+ L _ {C O M B} = \alpha L _ {B C E} + L _ {C O S} (x, y)
105
+ $$
106
+
107
+ where $m$ represents the margin for the cosine loss and $\alpha$ is 0.01. $x_{1}$ corresponds to $\arg 1$ and $x_{2}$ corresponds to $\arg 2$ . $y = 1$ if $x_{2}$ is the correct answer and $y = -1$ if not. At inference, we computed Euclidean distance between the embedding outputs of the auxiliary discriminator and the cosine embedding layer with a threshold $T$ of 4.45, found through hyperparameter search.
108
+
109
+ option_cosine_sim in Fig. 1 shows the outputs of the embedding disperser's cosine embedding layer while option.cos shows the outputs of the auxiliary discriminator. In both cases we see distinct distributions that separate correct and incorrect answers. Works such as Cai et al. (2021) present evidence of such cases of global token anisotropy in other Transformer models and suggest that creating such local isotropic spaces leads to better results in downstream tasks.
110
+
111
+ # 3.2.2 Phonological/Articulatory Attention
112
+
113
+ While the NSP objective is effective at training LLMs to encode long-range semantic coherence (Shi and Demberg, 2019), it comes at a significant additional computational cost. Moreover, for very low-resource languages like Assamese, a lack of available long document or paragraph data means there may not exist a sufficient volume of coherent consecutive sentences in the training data.
114
+
115
+ We hypothesize that when fine-tuning a smaller model like AxomiyaBERTa in a resource-constrained setting, adding phonological signals to the latent representations of text samples allows us to achieve a balanced trade-off between possible information loss due to reduced supervision (no NSP objective) and improved task-specific performance, at a lower compute cost.
116
+
117
+ Previous works (e.g., Mortensen et al. (2016); Rijhwani et al. (2019); Nath et al. (2022b)) have shown that phonological features are useful for both token-level "short-context" tasks like NER or loanword detection as well as "longer-context" tasks like entity linking. We fine-tune for longer-context tasks by encoding candidate answers as phonological features and the pooled embedding of the context, and computing the relative difference in mutual information between each candidate answer and the context. High variance in cosine similarities within pairs in a context-candidate set is due to the phonological signals.
118
+
119
+ ![](images/286385357a94f434079fede8d3f9164134b46d801948542a90d5bf985ac5adc9.jpg)
120
+ Figure 2: Embedding disperser architecture with Cosine Embedding and Binary Cross Entropy (BCE) Loss. ClozeQA data used as example.
121
+
122
+ Table 2 shows that the mean, standard deviation, and variances of [CLS] token cosine similarities for pretrained AxomiyaBERTa are much smaller than those extracted from XLM, but fine-tuning with phonological signals brings AxomiyaBERTa's values much closer XLM's.
123
+
124
+ <table><tr><td></td><td>AxB</td><td>XLM</td><td>AxB + Phon</td></tr><tr><td>Mean</td><td>.998</td><td>.82</td><td>.67</td></tr><tr><td>Variance</td><td>5e-6</td><td>.08</td><td>.06</td></tr><tr><td>Stdev</td><td>.002</td><td>.28</td><td>.25</td></tr><tr><td>Min</td><td>.993</td><td>.13</td><td>.17</td></tr></table>
125
+
126
+ Table 2: Statistics of AxomiyaBERTa (AxB) and XLM's [CLS] token cosine similarities compared to those of the pooled output of AxomiyaBERTa with phonological signals (AxB + Phon) over 100 random samples of within-set pairs of Cloze-QA dev set.
127
+
128
+ To extract phonological features, we used the Assamese grapheme-to-phoneme mapping from Nath et al. (2022a), written for the Epitran library (Mortensen et al., 2018)<sup>8</sup> to convert all text into the International Phonetic Alphabet (IPA). We then used the PanPhon library (Mortensen et al., 2016) to convert the IPA transcriptions into 24 subsegmental features such as place and manner of articulation, voicing, etc.
129
+
130
+ These feature vectors are padded to the maximum length (across train, test, and dev sets), and then concatenated to either the pooled context embedding (for long-context tasks) or the named-entity token embedding (for NER tasks).
131
+
132
+ # 3.2.3 Cloze-style multiple-choice QA
133
+
134
+ We fine-tuned AxomiyaBERTa on the Cloze-style Wiki question answering task from the IndicGLUE dataset (Kakwani et al., 2020). We surrounded both the masked text segment as well as the four candidate answers with the special tokens $(<\mathfrak{m}>)$ and $\langle \mathfrak{m} \rangle$ and then fed them into the pretrained AxomiyaBERTa model to get pairwise scores with BCE loss. Positive samples were labeled as 1 and negatives as 0. The encoded representation for each sample was a concatenation of the pooled ([CLS]) token output, the averaged embedding for the masked text segment ( $\arg 1$ ), that of the candidate answer ( $\arg 2$ ), and the element-wise multiplication of $\arg 1$ and $\arg 2$ . This was input into a pairwise scorer $a la Caci-ularu$ et al. (2021). We fine-tuned our model (with and without phonological attention) with the pairwise scorer head for 5 iterations with a batch size of 80, a scorer head learning rate of $1e-4$ and a model learning rate of $2e-5$ .
135
+
136
+ # 3.2.4 Named Entity Recognition (NER)
137
+
138
+ For NER, we fine-tuned and evaluated AxomiyaBERTa on two datasets: WikiNER (Pan et al., 2017) and AsNER (Pathak et al., 2022). For both datasets, we fed in the tokenized sentence while masking out all sub-word tokens except the first of each word. We used a token-classification head fine-tuned using a multi-class cross-entropy loss for the label set of the respective datasets. For our model without phonological signals, we fine-tuned for 10 epochs with a learning rate of 2e-5 with a linear LR scheduler and a batch size of 20. For our phonological attention-based model, we fine-tuned for 20 epochs with a batch size of 40 while keeping all other hyperparameters the same.
139
+
140
+ # 3.2.5 Wikipedia Section Title Prediction
141
+
142
+ Like Cloze-QA, this task comes from IndicGLUE (Kakwani et al., 2020). Fine-tuning for this task was quite similar to that of Cloze-QA, except we did not surround the candidates or the contexts with the trigger tokens. We fed in the Wikipedia section text and candidate title and optimized the multi-class cross entropy loss with a multiple choice head. We fine-tuned for 20 epochs with a batch size of 40. For the phonologically-aware model, we concatenated the articulatory signals to the pooled embedding output for each sample and fine-tuned our model for 200 iterations with a batch size of 40. We used a smaller model learning rate of 1e-6 and a classifier head learning rate of 9.5e-4 for both these models.
143
+
144
+ # 3.2.6 Pairwise Scorer for Assamese CDCR
145
+
146
+ Coreference resolution in a cross-document setting (DCRC) involves identifying and clustering together mentions of the same entity across a set of documents (Lu and Ng, 2018). Following CDCR approaches in Cattan et al. (2021) and Caciularu et al. (2021), we trained a pairwise scorer with BCE loss over all antecedent spans for each sentence containing an event (across all documents) while ignoring identical pairs. We generated concatenated token representations from Transformer-based LMs by joining the two paired sentences after surrounding the event mentions with the special trigger tokens. These representations were input to the pairwise scorer (PS) to calculate affinity scores between all those pairs. Mathematically,
147
+
148
+ $$
149
+ \operatorname {S c o r e s} (i, j) = P S ([ C L S ], f (x), f (y), f (x) * f (y)),
150
+ $$
151
+
152
+ where $[CLS]$ represents the pooled output of the entire sentence pair, $f(x)$ and $f(y)$ are the representations of the two events (in context) and $*$ represents element-wise multiplication.
153
+
154
+ We trained the Pairwise Scorer for 10 epochs for all baseline models as well as AxomiyaBERTa. At inference, we used a connected-components clustering technique with a tuned threshold to find coreferent links. For baselines and ablation tasks, we calculated coreference scores using a lemmabased heuristic, and fine-tuned four other popular MLLMs using the same hyperparameters. More details and analysis are in Appendix D.
155
+
156
+ # 4 Evaluation
157
+
158
+ Table 3 shows the number of samples in the train, dev, and test splits, and the padding length, for all
159
+
160
+ tasks we evaluated on. For Cloze-QA and WikiTitles, we evaluated on IndicGLUE. For NER, we evaluated on AsNER and WikiNER. For our novel coreference task, we evaluated on the translated $\mathrm{ECB + }$ corpus, where the ratio of coreferent to noncoreferent pairs in the test set is approximately 1:35. We conducted exhaustive ablations between native and the phonologically-aware models for each task, and compared to previously-published baselines where available. For Cloze-QA, we created a train/test split of approximately 4.5:1. We fine-tuned off-the-shelf IndicBERT and MBERT on AsNER for 10 epochs on 1 NVIDIA RTX A6000 48 GB device with a batch size of 20.
161
+
162
+ <table><tr><td>Features</td><td>Train</td><td>Dev</td><td>Test</td><td>Pad-Len</td></tr><tr><td>Cloze-QA</td><td>8,000</td><td>2,000</td><td>1,768</td><td>360</td></tr><tr><td>Wiki-Titles</td><td>5,000</td><td>625</td><td>626</td><td>1,848</td></tr><tr><td>AsNER</td><td>21,458</td><td>767</td><td>1,798</td><td>744</td></tr><tr><td>WikiNER</td><td>1,022</td><td>157</td><td>160</td><td>480</td></tr><tr><td>T-ECB+</td><td>3,808</td><td>1,245</td><td>1,780</td><td>552</td></tr></table>
163
+
164
+ Table 3: Table showing distribution of train/dev/test splits for all tasks. T-ECB+ signifies number of event mentions in the translated ECB+ corpus, keeping special trigger tokens in place. "Pad-Len" represents the maximum padded length of the articulatory feature embeddings generated from PanPhon for all three splits.
165
+
166
+ # 5 Results and Discussion
167
+
168
+ Table 4 shows Test F1 Scores/Accuracy for AxomiyaBERTa for the various short-context (classification) and long-context (multiple-choice) tasks. We compared baselines from previous works and newly fine-tuned baselines for certain tasks. We used the same pretrained model for all experiments with task fine-tuning heads consistent with previous benchmarks (Kakwani et al., 2020). One exception is the Cloze-QA task where we dealt with task-specific severe anisotropy with embedding dispersal.
169
+
170
+ # 5.1 Short-context: AsNER and WikiNER
171
+
172
+ AxomiyaBERTa achieved SOTA performance on the AsNER task and outperformed most other Transformer-based LMs on WikiNER.
173
+
174
+ Phonologically-aware AxomiyaBERTa Our experiments suggest that phonological signals are informative additional features for short-context tasks like NER for low-resourced, smaller models like AxomiyaBERTa. Table 4 shows that phonologically-aware AxomiyaBERTa outperformed non-phonological (hereafter "native")
175
+
176
+ <table><tr><td>Models</td><td>Cloze-QA</td><td>Wiki-Titles</td><td>AsNER (F1)</td><td>WikiNER (F1)</td></tr><tr><td>XLM-R</td><td>27.11</td><td>56.96</td><td>69.42</td><td>66.67</td></tr><tr><td>MBERT</td><td>29.42</td><td>73.42</td><td>68.02*</td><td>92.31</td></tr><tr><td>IndicBERT-BASE</td><td>40.49</td><td>65.82</td><td>68.37*</td><td>41.67</td></tr><tr><td>MuRIL</td><td>-</td><td>-</td><td>80.69</td><td>-</td></tr><tr><td>AxomiyaBERTa</td><td>46.66</td><td>26.19</td><td>81.50</td><td>72.78</td></tr><tr><td>AxomiyaBERTa + Phon</td><td>47.40</td><td>59.26</td><td>86.90</td><td>81.71</td></tr></table>
177
+
178
+ Table 4: Test F1 Scores/Accuracy for AxomiyaBERTa on all evaluation tasks, compared to previous baselines and our fine-tuned baselines. "AxomiyaBERTa + Phon" shows results for phonologically-aware AxomiyaBERTa. AsNER scores with a * represent versions we fine-tuned for this task. For Cloze-QA, Wiki-Titles and WikiNER, other model performances are from Kakwani et al. (2020). Bold indicates best performance.
179
+
180
+ ![](images/a4249c28cefc5e7d5f7947d3eb42b82111f84b983ba0ec3b084453797e1a4607.jpg)
181
+
182
+ ![](images/c236f6c1180aa188e13b9b9b84d0710b189bc7749b41f252aa5851eaabd0f7cf.jpg)
183
+
184
+ ![](images/7fa811159dfaf661969e0a06d32f06c8525761f5d9d78ebb6cb705559ee9c7e4.jpg)
185
+ Figure 3: Top: Confusion matrices showing AxomiyaBERTa performance on AsNER without [L] and with [R] phonological awareness. Bottom: IndicBERT [L] and MBERT [R] performance on AsNER.
186
+
187
+ ![](images/36e794983c1fc5e3c73affa2dd2285bc449320eecc9bbe5a9aa595dd5e1c16f1.jpg)
188
+
189
+ AxomiyaBERTa by $>5$ F1 points on AsNER, with an even greater improvement (10 F1 points) on WikiNER. AxomiyaBERTa also outperformed other baselines for both tasks, with the exception of MBERT on Wiki-based tasks. $^{9}$ Fig. 3 shows confusion matrices of performance on AsNER.
190
+
191
+ IndicBERT and MBERT misclassified ORG tokens as LOC 16 times as much as AxomiyaBERTa. Specific cases include sub-tokens like निकागूर्थ ( /ni-ujɔːk/, “New York”) or निकागूर्थ ( /singapuːr/, “Singapore”), that are actually parts of entities like निकागूर्थ ( /e staɪ singapuːr/, “A-Star Singapore”) or निकागूर्थ रागूर्थ चन्देश निकागूर्थ ( /niujɔːk blad sentaːr/, “New York Blood Center”). This suggests that smaller, monolingual models like AxomiyaBERTa with a
192
+
193
+ reduced sequence length and no NSP training objective are optimized for NE classification tasks with greater attention to local context (since the average sentence containing NEs is $\sim 6$ tokens).
194
+
195
+ Better overall performance on AsNER than on WikiNER can be partially attributed to having one fewer class and a more balanced distribution between categories. AsNER performance likely benefited from a greater phonological signal and more data to tune on (Table 3) whereas WikiNER text samples are, on average, longer than 128 tokens (AxomiyaBERTa's maximum token length) possibly causing a performance loss due to truncated context.
196
+
197
+ Phonological Signals: A Disambiguation Tool Even though phonologically-aware AxomiyaBERTa took a hit on identifying $O$ tokens, it compensated with improved results across other classes. Phonologically-aware AxomiyaBERTa also reduced misclassifications of $ORG$ tokens as $PER$ compared to all other models, including native AxomiyaBERTa. Specific cases include tokens that imply persons, e.g., $\text{रावलीतान्यत}$ or $\text{िकार्त},$ but are actually part of $ORG$ NEs, e.g., $\text{रावलीतान्यत}$ $\text{किकार्त्}$ ("Swaminathan Commission") or $\text{िकार्त्}$ $\text{िकार्त्}$ "Saha Institute of Physics"). Similarly, in the WikiNER task, phonological attention reduced misclassification of $B-ORG$ and $I-ORG$ tokens as $B-PER$ and $I-PER$ respectively (see Appendix C). These results suggest phonological inputs help enrich embeddings of smaller-sized LMs to distinguish such ambiguous tokens.
198
+
199
+ # 5.2 Long-context: Multiple Choice
200
+
201
+ On Wiki-Titles, phonological AxomiyaBERTa does better with semantically harder multiple-choice sets, which have a higher average cosine similarity between the candidate options. Native AxomiyaBERTa fails on these samples. As shown
202
+
203
+ in Table 5, $\mathbf{P} + \mathbf{N}$ has the highest average cosine similarity between the sample sets, suggesting that there are cases where phonological signals compensate for low semantic variation among candidate options. On the other hand, native AxomiyaBERTa tends to do better with multiple-choice sets that have wider (relative) semantic variation within that set, on average. Since the overall distribution of embeddings in this task is still extremely close, this suggests that phonological signals are doing for Wiki-Titles what the embedding disperser did for Cloze-QA (see Sec. 3.2.1).
204
+
205
+ <table><tr><td></td><td>P+N-</td><td>P-N+</td><td>P+N+</td><td>P-N-</td></tr><tr><td>Cos-sim</td><td>.98844</td><td>.98829</td><td>.98824</td><td>.98838</td></tr></table>
206
+
207
+ Table 5: Average cosine similarities between within-set samples on the Wiki-Titles test set for native (N) and phonological (P) AxomiyaBERTa. “+” and “-” represent correct and incorrect samples respectively, e.g., $\mathbf{P} + \mathbf{N}$ - shows samples phonological AxomiyaBERTa answered correctly that the native variant did not.
208
+
209
+ # 5.3 Novel Task: Event Coreference on Translated ECB+
210
+
211
+ Table 6 shows event coreference resolution results on the translated ECB+ test set using a tuned affinity-threshold $(T)$ . These results include both within- and cross-document system outputs from AxomiyaBERTa, other Transformer-based LMs, and a lemma-based heuristic.10
212
+
213
+ AxomiyaBERTa often outperformed the lemmasimilarity baseline and other LMs. Native and phonological AxomiyaBERTa have the best MUC and BCUB F1 scores, respectively, while also outperforming all other Transformer-based LMs on BLANC and CoNLL F1. Phonologically-aware AxomiyaBERTa also outperforms native AxomiyaBERTa by almost 2 F1 points on CoNLL F1. More importantly, the phonological signals help detect more challenging coreferent links where mere surface-level lemma similarity can fail. While native and phonological AxomiyaBERTa performed comparably, the true positives retrieved by the phonological version contained a higher proportion of non-similar lemmas, which were usually missed by the lemma heuristic. Meanwhile, native AxomiyaBERTa retrieved results
214
+
215
+ with more similar lemmas, labeling more nonsimilar lemma pairs as false negatives (Table 7). Compared to the other Transformer models, this also had the effect of increasing precision according to most metrics, though at the cost of decreasing recall. However, the increased precision was usually enough to increase F1 overall, pointing to the utility of phonological signals in detecting more challenging cases. We hypothesize that this is because these challenging pairs may consist of synonyms and/or loanwords, and phonological signals helped correlate these different surface forms, which in addition to the semantic information at the embedding level helps create coreference links.
216
+
217
+ For instance, $\text{क्वत्तालिकू}$ (/konsalti/, "consulting") and $\text{रेमिकालिकू}$ (/indzinijai/, "engineering") denote two coreferent events pertaining to the same company (EYP Mission Critical Facilities). Since both are borrowed words that maintain the original phonological form, phonological signals can help pick out unique articulation beyond surface-level lemma similarity. Similarly, in cases of synonyms like $\text{मुधान्यू}$ (/mittu/, "(of) death") and $\text{मुधान्यू}$ ("killing"), which do not share surface-level similarity yet are coreferent, phonological signals can help. Where lemmas are already similar, phonological signals provide little extra information.
218
+
219
+ We should note that for coreference, the specific metric used matters a lot. For instance, almost $33\%$ of the $\mathrm{ECB + }$ dataset across all three splits consists of singleton mentions. Since MUC score is not as sensitive to the presence of singletons as BCUB (Kubler and Zhekova, 2011), this could explain AxomiyaBERTa's (and XLM's) relative drop in performance on the BCUB metric. On the other hand, the lower CEAF-e F1 score may be due to CEAF-e's alignment algorithm, which tends to ignore correct coreference decisions when response entities are misaligned (Moosavi and Strube, 2016).
220
+
221
+ Ablations between native and phonological AxomiyaBERTa showed that where lemmas for a pair of potentially coreferent events are identical (e.g., अयावर्ष - /aɪmb⁶o/, “start”), non-phonological representations primarily determine the pairwise scores and the coreference decision. Table 7 shows that even though phonological signals tend to disambiguate harder event pairs, decreased performance (e.g., MUC F1 phonological vs. native
222
+
223
+ <table><tr><td rowspan="2">CDCR Models</td><td colspan="3">BCUB</td><td colspan="3">MUC</td><td colspan="3">CEAF-e</td><td colspan="3">BLANC</td><td>C-F1</td></tr><tr><td>P</td><td>R</td><td>F1</td><td>P</td><td>R</td><td>F1</td><td>P</td><td>R</td><td>F1</td><td>P</td><td>R</td><td>F1</td><td></td></tr><tr><td>Lemma Baseline</td><td>75.81</td><td>60.24</td><td>67.14</td><td>64.59</td><td>54.25</td><td>58.97</td><td>61.36</td><td>73.25</td><td>66.78</td><td>74.97</td><td>60.40</td><td>64.66</td><td>64.29</td></tr><tr><td>XLM-100†</td><td>5.31</td><td>97.55</td><td>10.08</td><td>54.17</td><td>97.84</td><td>69.73</td><td>30.99</td><td>0.73</td><td>1.42</td><td>49.78</td><td>50.00</td><td>49.89</td><td>27.07</td></tr><tr><td>IndicBERT-BASE</td><td>74.48</td><td>51.93</td><td>61.19</td><td>44.03</td><td>21.94</td><td>29.29</td><td>40.80</td><td>65.59</td><td>50.31</td><td>52.09</td><td>55.41</td><td>52.93</td><td>46.93</td></tr><tr><td>MuRIL</td><td>93.53</td><td>48.33</td><td>63.73</td><td>68.18</td><td>9.23</td><td>16.26</td><td>41.56</td><td>85.09</td><td>55.85</td><td>54.78</td><td>53.31</td><td>53.91</td><td>45.28</td></tr><tr><td>AxomiyaBERTa</td><td>34.68</td><td>85.98</td><td>49.42</td><td>62.40</td><td>80.51</td><td>70.30</td><td>67.63</td><td>43.85</td><td>53.20</td><td>53.00</td><td>87.75</td><td>54.23</td><td>57.64</td></tr><tr><td>AxomiyaBERTa + Phon</td><td>70.00</td><td>64.58</td><td>67.18</td><td>64.11</td><td>44.71</td><td>52.68</td><td>50.18</td><td>68.57</td><td>50.18</td><td>56.22</td><td>68.65</td><td>59.19</td><td>59.27</td></tr></table>
224
+
225
+ Table 6: Event coreference results on Assamese (translated) ECB+ test set from pairwise scorer using AxomiyaBERTa, compared with other Transformer-based LMs and the lemma-based heuristic. Bold indicates best overall performance per metric. "C-F1" is CoNLL F1. ${}^{ \dagger }$ We evaluate XLM-100 to compare performance on this task of a slightly larger model than XLM-R where most other major design factors remain the same.
226
+
227
+ AxomiyaBERTa) could be due to native representations of the same-lemma pair being weakly correlated with the pairwise scores, a possibility when a coreferent event pair has high contextual dissimilarity. Phonological signals may add noise here.
228
+
229
+ We also see that the lemma-based heuristic baseline is overall a very good performer. While this may be a property of the nature of coreference tasks in general or specific to a dataset (as a high percentage of coreferent events use the same lemma), we must also allow for the possibility that this may also be an artifact of translation noise. Since we used an automatically-translated version of the $\mathrm{ECB + }$ corpus (albeit with some native speaker verification), and since Assamese is still a low-resource language, the decoder vocabulary of the translator may be limited, meaning that synonymous different-lemma pairs in the original corpus may well have been collapsed into same-lemma pairs in the translation, artificially raising the performance of the lemma heuristic.
230
+
231
+ <table><tr><td>Models</td><td>TP</td><td>L1</td><td>L2</td><td>Diff-Rate</td></tr><tr><td>XLM-100</td><td>6,361</td><td>1,441</td><td>4,920</td><td>.773</td></tr><tr><td>IndicBERT</td><td>101</td><td>46</td><td>55</td><td>.545</td></tr><tr><td>MuRIL</td><td>62</td><td>21</td><td>41</td><td>.661</td></tr><tr><td>AxB</td><td>1,833</td><td>466</td><td>1,367</td><td>.746 (.98)</td></tr><tr><td>AxB + Phon</td><td>956</td><td>81</td><td>875</td><td>.915 (.93)</td></tr></table>
232
+
233
+ Table 7: Distribution of same (L1) and different (L2) event lemma samples in the true positive (TP) distribution of the T-ECB+ test set. "Diff-Rate" is the percentage of different lemma samples within TPs $(= L2 / TP)$ . Values in parentheses show the equivalent distribution within false negatives for comparison.
234
+
235
+ # 6 Conclusion and Future Work
236
+
237
+ In this paper, we presented a novel Transformer model for Assamese that optionally includes phonological signals. We evaluated on multiple tasks using novel training techniques and have
238
+
239
+ demonstrated SOTA or comparable results, showing that phonological signals can be leveraged for greater performance and disambiguation for a low-resourced language. AxomiyaBERTa achieves SOTA performance on short-context tasks like AsNER and long-context tasks like Cloze-QA while also outperforming most other Transformer-based LMs on WikiNER, with additional improvement resulting from the phonologically-aware model. For challenging tasks like CDCR, we have shown that both AxomiyaBERTa outperformed other Transformer-based LMs on popular metrics like BCUB, MUC, and CoNLL F1.
240
+
241
+ More generally, we have shown that strategic techniques for optimizing the embedding space and language-specific features like phonological information can lower the barrier to entry for training language models for LRLs, making it more feasible than before with lower amounts of data and a ceiling on compute power. Our experiments suggest phonological awareness boosts performance on many tasks in low-resource settings. Future models for other LRLs can leverage our ideas to train or fine-tune their own models. Since smaller models tend toward anisotropy, embedding dispersal may pave the way for more such performant LRL models.
242
+
243
+ Future work may include incorporating phonological signals during pretraining instead of finetuning, carrying out evaluations against semantically harder tasks like paraphrasing or emotion detection, zero-shot transfer to similar languages, and a contrastive learning framework with a triplet loss objective for CDCR.
244
+
245
+ Our trained checkpoints are available on HuggingFace at https://huggingface.co/Abhijnan/AxomiyaBERTa. We hope this resource will accelerate NLP research for encoding language-specific properties in LRLs.
246
+
247
+ # Limitations
248
+
249
+ Let us begin with the obvious limitation: AxiomiyaBERTa only works on Assamese. In addition, since Assamese comprises a number of dialects and we trained on internet-sourced data, we have no clear evidence regarding which dialects AxiomiyaBERTa is most suited to or if it performs as well on non-standard dialects.
250
+
251
+ AxomiyaBERTa did not perform all that well on Wikipedia Title Selection, compared to other Transformer-based models. Our best result is on par with XLM-R and close to IndicBERT-BASE, but well below MBERT performance. We hypothesize that the amount of Wikipedia training data in MBERT is a cause of this, but we find that phonological attention makes a big difference in AxomiyaBERTa's performance (increasing accuracy from $26\%$ to $59\%$ ). Nonetheless, the reasons behind this subpar performance, and whether AxomiyaBERTa can be improved for this task without, say, overfitting to Wikipedia, need further investigation.
252
+
253
+ # Ethics Statement
254
+
255
+ Data Usage Because of the publicly-available, internet-sourced nature of our training data, we cannot definitively state that the current version of AxomiyaBERTa is free of bias, both in terms of outputs nor, as mentioned in the limitations section, if there are dialect-level biases toward or against certain varieties of Assamese that may be trained into the model. Such investigations are the topic of future research.
256
+
257
+ # Resource Usage and Environmental Impact
258
+
259
+ At 66M parameters, AxomiyaBERTa is a smaller language model that is relatively quick to train and run. Training was conducted on single GPU devices. Pretraining AxomiyaBERTa took approximately 3 days, and task-level fine-tuning took roughly 30 minutes for non-phonological AxomiyaBERTa and 1-2 hours for phonological AxomiyaBERTa (depending on the task). Training the pairwise scorer for CDCR took 12-19 minutes. Training and fine-tuning took place on the same hardware. For comparison, fine-tuning IndicBERT and MBERT on the AsNER dataset for evaluation took roughly 20-30 minutes each. These figures indicate that relative to work on other Transformer models, training and evaluating AxomiyaBERTa (including running other base
260
+
261
+ lines for comparison) comes with a comparatively lower resource usage and concomitant environmental impact. This lower resource usage also has implications for the "democratization" of NLP, in that we have demonstrated ways to train a perform- mant model with fewer local resources, meaning less reliance on large infrastructures available to only the biggest corporations and universities.
262
+
263
+ Human Subjects This research did not involve human subjects.
264
+
265
+ # Acknowledgments
266
+
267
+ We would like to thank the anonymous reviewers whose feedback helped improve the final copy of this paper. Special thanks to Ibrahim Khebour for helping with the phonological feature extraction process for the Wikipedia Section Title Prediction task.
268
+
269
+ # References
270
+
271
+ Shafiuddin Rehan Ahmed, Abhijnan Nath, James H. Martin, and Nikhil Krishnaswamy. 2023. $2^{*}\mathfrak{n}$ is better than $\mathfrak{n}^2$ : Decomposing Event Coreference Resolution into Two Tractable Problems. In *Findings of the Association for Computational Linguistics: ACL* 2023. ACL.
272
+ Emily Bender. 2019. The #benderrule: On naming the languages we study and why it matters. *The Gradient*, 14.
273
+ Himadri Bharali, Mayashree Mahanta, Shikhar Kumar Sarma, Utpal Saikia, and Dibyajyoti Sarmah. 2014. An analytical study of synonymy in Assamese language using WorldNet: Classification and structure. In Proceedings of the Seventh Global Wordnet Conference, pages 250-255.
274
+ Avi Caciularu, Arman Cohan, Iz Beltagy, Matthew Peters, Arie Cattan, and Ido Dagan. 2021. CDLM: Cross-document language modeling. In *Findings of the Association for Computational Linguistics: EMNLP* 2021, pages 2648-2662, Punta Cana, Dominican Republic. Association for Computational Linguistics.
275
+ Xingyu Cai, Jiaji Huang, Yuchen Bian, and Kenneth Church. 2021. Isotropy in the Contextual Embedding Space: Clusters and Manifolds. In International Conference on Learning Representations.
276
+ Oralie Cattan, Sophie Rosset, and Christophe Servan. 2021. On the cross-lingual transferability of multilingual prototypical models across NLU tasks. In Proceedings of the 1st Workshop on Meta Learning and Its Applications to Natural Language Processing, pages 36-43, Online. Association for Computational Linguistics.
277
+
278
+ Alexis Conneau, Kartikay Khandelwal, Naman Goyal, Vishrav Chaudhary, Guillaume Wenzek, Francisco Guzmán, Edouard Grave, Myle Ott, Luke Zettle-moyer, and Veselin Stoyanov. 2020. Unsupervised cross-lingual representation learning at scale. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pages 8440-8451, Online. Association for Computational Linguistics.
279
+ Agata Cybulska and Piek Vossen. 2014. Using a sledgehammer to crack a nut? lexical diversity and event coreference resolution. In Proceedings of the Ninth International Conference on Language Resources and Evaluation (LREC'14), pages 4545-4552, Reykjavik, Iceland. European Language Resources Association (ELRA).
280
+ David Demeter, Gregory Kimmel, and Doug Downey. 2020. Stolen probability: A structural weakness of neural language models. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pages 2191-2197, Online. Association for Computational Linguistics.
281
+ 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.
282
+ Kawin Ethayarajh. 2019. How contextual are contextualized word representations? Comparing the geometry of BERT, ELMo, and GPT-2 embeddings. 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 55–65, Hong Kong, China. Association for Computational Linguistics.
283
+ Jun Gao, Di He, Xu Tan, Tao Qin, Liwei Wang, and Tieyan Liu. 2018. Representation Degeneration Problem in Training Natural Language Generation Models. In International Conference on Learning Representations.
284
+ Barry Haddow and Faheem Kirefu. 2020. PMIndia-A Collection of Parallel Corpora of Languages of India. arXiv preprint arXiv:2001.09907.
285
+ Danesh Jain and George Cardona. 2004. The Indo-Aryan Languages. Routledge.
286
+ Pratik Joshi, Sebastin Santy, Amar Budhiraja, Kalika Bali, and Monojit Choudhury. 2020. The state and fate of linguistic diversity and inclusion in the NLP world. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pages 6282-6293, Online. Association for Computational Linguistics.
287
+
288
+ Divyanshu Kakwani, Anoop Kunchukuttan, Satish Golla, Gokul N.C., Avik Bhattacharyya, Mitesh M. Khapra, and Pratyush Kumar. 2020. IndicNLPSuite: Monolingual corpora, evaluation benchmarks and pre-trained multilingual language models for Indian languages. In Findings of the Association for Computational Linguistics: EMNLP 2020, pages 4948-4961, Online. Association for Computational Linguistics.
289
+ Simran Khanuja, Diksha Bansal, Sarvesh Mehtani, Savya Khosla, Atreyee Dey, Balaji Gopalan, Dilip Kumar Margam, Pooja Aggarwal, Rajiv Teja Nagipogu, Shachi Dave, Shruti Gupta, Subhash Chandra Bose Gali, Vish Subramanian, and Partha P. Talukdar. 2021. MuRIL: Multilingual Representations for Indian Languages. CoRR, abs/2103.10730.
290
+ Sandra Kübler and Desislava Zhekova. 2011. Singletons and coreference resolution evaluation. In Proceedings of the International Conference Recent Advances in Natural Language Processing 2011, pages 261-267.
291
+ Taku Kudo and John Richardson. 2018. SentencePiece: A simple and language independent subword tokenizer and detokenizer for neural text processing. In Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing: System Demonstrations, pages 66-71, Brussels, Belgium. Association for Computational Linguistics.
292
+ Ritesh Kumar and Manas Jyoti Bora. 2018. Part-of-speech annotation of English-Assamese code-mixed texts: Two approaches. In Proceedings of the First International Workshop on Language Cognition and Computational Models, pages 94-103, Santa Fe, New Mexico, USA. Association for Computational Linguistics.
293
+ Zhenzhong Lan, Mingda Chen, Sebastian Goodman, Kevin Gimpel, Piyush Sharma, and Radu Soricut. 2019. ALBERT: A Lite BERT for Self-supervised Learning of Language Representations. In International Conference on Learning Representations.
294
+ Sahinur Rahman Laskar, Abdullah Faiz Ur Rahman Khilji, Partha Pakray, and Sivaji Bandyopadhyay. 2020. EnAsCorp1.0: English-Assamese corpus. In Proceedings of the 3rd Workshop on Technologies for MT of Low Resource Languages, pages 62-68, Suzhou, China. Association for Computational Linguistics.
295
+ Jing Lu and Vincent Ng. 2018. Event coreference resolution: A survey of two decades of research. In *IJCAI*, pages 5479-5486.
296
+ Nafise Sadat Moosavi and Michael Strube. 2016. Which coreference evaluation metric do you trust? a proposal for a link-based entity aware metric. In Proceedings of the 54th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 632-642, Berlin, Germany. Association for Computational Linguistics.
297
+
298
+ David R. Mortensen, Siddharth Dalmia, and Patrick Littell. 2018. Epitran: Precision G2P for many languages. In Proceedings of the Eleventh International Conference on Language Resources and Evaluation (LREC 2018), Miyazaki, Japan. European Language Resources Association (ELRA).
299
+ David R. Mortensen, Patrick Littell, Akash Bharadwaj, Kartik Goyal, Chris Dyer, and Lori Levin. 2016. PanPhon: A resource for mapping IPA segments to articulatory feature vectors. In Proceedings of COLING 2016, the 26th International Conference on Computational Linguistics: Technical Papers, pages 3475-3484, Osaka, Japan. The COLING 2016 Organizing Committee.
300
+ Abhijnan Nath, Rahul Ghosh, and Nikhil Krishnaswamy. 2022a. Phonetic, semantic, and articulatory features in Assamese-Bengali cognate detection. In Proceedings of the Ninth Workshop on NLP for Similar Languages, Varieties and Dialects, pages 41-53, Gyeongju, Republic of Korea. Association for Computational Linguistics.
301
+ Abhijnan Nath, Sina Mahdipour Saravani, Ibrahim Khebour, Sheikh Mannan, Zihui Li, and Nikhil Krishnaswamy. 2022b. A generalized method for automated multilingual loanword detection. In Proceedings of the 29th International Conference on Computational Linguistics, pages 4996-5013, Gyeongju, Republic of Korea. International Committee on Computational Linguistics.
302
+ Prachurya Nath, Prottay Kumar Adhikary, Pankaj Dadure, Partha Pakray, Riyanka Manna, and Sivaji Bandyopadhyay. 2022c. Image Caption Generation for Low-Resource Assamese Language. In Proceedings of the 34th Conference on Computational Linguistics and Speech Processing (ROCLING 2022), pages 263–272, Taipei, Taiwan. The Association for Computational Linguistics and Chinese Language Processing (ACLCLP).
303
+ Antoine Nzeyimana and Andre Niyongabo Rubungo. 2022. KinyaBERT: a morphology-aware Kinyarwanda language model. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 5347-5363, Dublin, Ireland. Association for Computational Linguistics.
304
+ Kelechi Ogueji, Yuxin Zhu, and Jimmy Lin. 2021. Small data? no problem! exploring the viability of pretrained multilingual language models for low-resourced languages. In Proceedings of the 1st Workshop on Multilingual Representation Learning, pages 116-126, Punta Cana, Dominican Republic. Association for Computational Linguistics.
305
+ Xiaoman Pan, Boliang Zhang, Jonathan May, Joel Nothman, Kevin Knight, and Heng Ji. 2017. Cross-lingual name tagging and linking for 282 languages. In Proceedings of the 55th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 1946-1958, Vancouver, Canada. Association for Computational Linguistics.
306
+
307
+ Dhrubajyoti Pathak, Sukumar Nandi, and Priyankoo Sarmah. 2022. AsNER - annotated dataset and baseline for Assamese named entity recognition. In Proceedings of the Thirteenth Language Resources and Evaluation Conference, pages 6571-6577, Marseille, France. European Language Resources Association.
308
+ Shruti Rijhwani, Jiateng Xie, Graham Neubig, and Jaime Carbonell. 2019. Zero-shot neural transfer for cross-lingual entity linking. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 33, pages 6924-6931.
309
+ Shikhar Kr. Sarma, Himadri Bharali, Ambeswar Gogoi, Ratul Deka, and Anup Kr. Barman. 2012. A structured approach for building Assamese corpus: Insights, applications and challenges. In Proceedings of the 10th Workshop on Asian Language Resources, pages 21-28, Mumbai, India. The COLING 2012 Organizing Committee.
310
+ Shikhar Kumar Sarma and Rita Chakraborty. 2012. Structured and Logical Representations of Assamese Text for Question-Answering System. In Proceedings of the Workshop on Question Answering for Complex Domains, pages 27-38.
311
+ Jumi Sarmah, Shikhar Kumar Sarma, and Anup Kumar Barman. 2019. Development of Assamese rule based stemmer using WordNet. In Proceedings of the 10th Global WordNet Conference, pages 135-139.
312
+ Raphael Scheible, Fabian Thomczyk, Patric Tippmann, Victor Jaravine, and Martin Boeker. 2020. Gottbert: a pure German language model. arXiv preprint arXiv:2012.02110.
313
+ Rico Sennrich, Barry Haddow, and Alexandra Birch. 2016. Neural machine translation of rare words with subword units. In Proceedings of the 54th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 1715-1725, Berlin, Germany. Association for Computational Linguistics.
314
+ Wei Shi and Vera Demberg. 2019. Next sentence prediction helps implicit discourse relation classification within and across domains. 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 5790-5796, Hong Kong, China. Association for Computational Linguistics.
315
+ Pedro Javier Ortiz Suárez, Benoit Sagot, and Laurent Romary. 2019. Asynchronous pipeline for processing huge corpora on medium to low resource infrastructures. In 7th Workshop on the Challenges in the Management of Large Corpora (CMLC-7). Leibniz-Institut für Deutsche Sprache.
316
+ Hasan Tanvir, Claudia Kittask, Sandra Eiche, and Kairit Sirts. 2021. EstBERT: A Pretrained
317
+
318
+ Language-Specific BERT for Estonian. NoDaLiDa 2021, page 11.
319
+
320
+ Antti Virtanen, Jenna Kanerva, Rami Ilo, Jouni Luoma, Juhani Luotolahti, Tapio Salakoski, Filip Ginter, and Sampo Pyysalo. 2019. Multilingual is not enough: BERT for Finnish. arXiv preprint arXiv:1912.07076.
321
+
322
+ Jing Zhao, Yifan Wang, Junwei Bao, Youzheng Wu, and Xiaodong He. 2022. Fine- and coarse-granularity hybrid self-attention for efficient BERT. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 4811–4820, Dublin, Ireland. Association for Computational Linguistics.
323
+
324
+ # A Training Configuration
325
+
326
+ Table 8 shows the pretraining configuration for AxomiyaBERTa.
327
+
328
+ # B Further Details on Embedding Disperser
329
+
330
+ Fig. 4 shows KDE plots for outputs of different components of the embedding disperser, showing the contrast between features within-set and beyond-set for Cloze-QA samples, and showing the difference between AxomiyaBERTa with phonological awareness and without. The option_cos label (brown) shows an interesting phenomenon. This is the output of the embedding disperser at inference (Auxiliary Discriminator in Fig. 2) and represents a 128-dimensional embedding output from the [CLS] token concatenated with arg2 or the candidate answer input. We see a distinct shift in cosine similarity scores between within-set and beyond-set with one peak very close to 1 in the case of the within-set pairs while getting clearly dispersed to a lower cosine similarity score in the case of beyond-set pairs. This phenomenon is even further accentuated by feeding phonological signals to the disperser. In this case, as shown in the top right plot, the cosine similarity peak for option.cos has a much higher density compared to the non-phonological disperser while the overall distribution is shifted to a higher cosine similarity.
331
+
332
+ Another interesting trend is the linear_sigmoid label (red) which is the sigmoidal output of the linear layer of the disperser, trained with a combination of cosine embedding loss and BCE loss when fed an input of the combined arg1 and arg2 representations generated with the special trigger tokens. In this
333
+
334
+ case, feeding phonological signals to the model reduces dispersion (an inverse trend) in the cosine similarities between within-set and beyond-set pairs (as seen in the top-left plot where this label has a narrower top with a wider bottom). However, this reverse effect is less pronounced than that seen in the option_cos cosine similarity plot, perhaps due to richer contextual information carried by the trigger token representations (the inputs to this layer). In other words, and as shown in the arg_cos_sim plot, its dispersion between the within- and beyond-set pairs suggests why such an effect is less-pronounced.
335
+
336
+ Works such as Cai et al. (2021) present evidence of such global token anisotropy in other BERT and GPT-model variants while also suggesting ways to locate/create local isotropic spaces more susceptible for NLP tasks. Interestingly, cosine similarities of output embeddings from our Auxiliary Discriminator (option_cos in Fig. 1) show a marked difference in the extent of anisotropy between within-set and beyond-set pairs, a phenomenon further accentuated with additional phonological signals (top right plot in Fig. 4). These experiments suggest that a combination of our embedding disperser architecture together with phonological signals (Sec. 3.2.2 for more details) can effect a shift towards local spaces of isotropy in the embedding space of the fine-tuned AxomiyaBERTa model for Cloze-QA and potentially other tasks.
337
+
338
+ # C Further Discussion on Short-Context Results
339
+
340
+ Fig. 5 shows native and phonological AxomiyaBERTa performance on WikiNER. We see comparative performance, but with phonological signals there are fewer confusions of $B-ORG$ with $B-PER$ and $I-ORG$ with $I-PER$ . Specific examples are similar to those seen in Sec. 5.1, e.g., "रागल्तार्वत (रागल्तार्वत)" ("Swaminathan [Commission]") or "सार्या (सिन्या अधिक शिलयो कृपि सिन्या)" ("Saha [Institute of Physics]"). Being organizations named after people, this is a case where phonological signals actually help. Interestingly, phonological signals also help with NER even when the NEs are broken down into BIO chunks, which was not the case in AsNER. We should observe that with phonological signals, there is an increase in $B-LOC$ tokens classified as $B-PER$ tokens, which is the topic of future investigation.
341
+
342
+ ![](images/5578b745139719e26530edd34fe0aaa65af9e2eec37e4e6c7c57344930da282f.jpg)
343
+
344
+ ![](images/572dbbee3d75b008905b991ceaf8aec5801a25caf1e07fcd5ba0093162d40a22.jpg)
345
+
346
+ ![](images/bcb6b3b86742109e70c98cefd6cd5c17b559ff6ed3452e12fc1fec2dd4738afa.jpg)
347
+ Figure 4: Kernel density estimation plots from various feature sets of the embedding disperser model. The figure on the top left represents "within set": cosine similarities between each set of candidate answers plus context and the remaining three pairs in that set, e.g., if $Q$ is the question/context and $A / B / C / D$ are the candidate answers, $S_{C}(Q + A, Q + i)$ , where $i$ represents one of the remaining three candidates $B, C, D$ . The figure on the bottom left represents "beyond-set" cosine similarities: all pairs in a candidate-plus-answers set are compared to other such sets with the cosine similarity metric. We run our experiments for 100 randomly selected sets from the Cloze-QA dev set. The top right (within-set) and bottom right (beyond-set) figures are equivalent figures for our models with phonological awareness.
348
+
349
+ ![](images/f6bb3ce2db93eb8380e0ea1da34790f4c2a815d136d9dbc680a2ad1d9fae7489.jpg)
350
+
351
+ <table><tr><td>Parameters</td><td>Config</td></tr><tr><td>architecture</td><td>AlbertForMaskedLM</td></tr><tr><td>attention_probs_dropoutprob</td><td>0.1</td></tr><tr><td>bos_token_id</td><td>2</td></tr><tr><td>classifier_dropoutprob</td><td>0.1</td></tr><tr><td>embedding_size</td><td>128</td></tr><tr><td>eos_token_id</td><td>3</td></tr><tr><td>hidden_ACT</td><td>gelu</td></tr><tr><td>hidden_dropoutprob</td><td>0.1</td></tr><tr><td>hidden_size</td><td>768</td></tr><tr><td>initializer_range</td><td>0.02</td></tr><tr><td>inner_group_num</td><td>1</td></tr><tr><td>intermediate_size</td><td>3072</td></tr><tr><td>layer_normnano</td><td>1e-05</td></tr><tr><td>max_position_embeddings</td><td>514</td></tr><tr><td>num attentive_heads</td><td>12</td></tr><tr><td>num_hidden_groups</td><td>1</td></tr><tr><td>num_hidden_layers</td><td>6</td></tr><tr><td>position_embedding_type</td><td>“absolute”</td></tr><tr><td>transformers_version</td><td>“4.18.0”</td></tr><tr><td>vocab_size</td><td>32001</td></tr></table>
352
+
353
+ Table 8: AxomiyaBERTa Model configuration trained on a monolingual Assamese corpus.
354
+
355
+ ![](images/33adaceb5f8e6f8e94062e3c2b55ea9f6bd278a176855425eb196e7aef805ba3.jpg)
356
+ Figure 5: Confusion matrices showing AxomiyaBERTa performance on WikiNER without [L] and with [R] phonological awareness.
357
+
358
+ ![](images/cc9b13ce7e24184a179cd856ee44b0e36d191fcc23f757450597839d6f5cf080.jpg)
359
+
360
+ # D Further Discussion on Pairwise Scorer for CDCR on Assamese ECB+
361
+
362
+ The lemma-based heuristic comes from the fact that a large proportion of coreferent mention pairs can be identified simply because they use the same lemma. These "easy" cases give coreference a very high baseline even when this naive heuristic is used. The long tail of "harder" pairs require more sophisticated approaches (Ahmed et al., 2023).
363
+
364
+ Fig. 6 shows the affinity scores from the pairwise scorer using various model outputs. AxomiyaBERTa is shown in the top left, followed by (left-to-right, top-to-bottom) XLM-100, MuRIL, and IndicBERT. We see that AxomiyaBERTa clearly has a more defined separation between the labels, with positive/coreferent samples having
365
+
366
+ higher affinity scores (accounting for the imbalanced distribution of coreferent vs. non-coreferent pairs) compared to the other models. In particular, XLM-100 shows almost identical ranges of scores for coreferent and non-coreferent pairs, with the only significant difference being the number of each kind of sample, which results in the spike around $T = -1.94$ (cf. Sec. 3.2.6).
367
+
368
+ ![](images/05bb066e454aacc0cd1a76ea0bd25bfbc2177183686a10e3c9d507e947ffbbd3.jpg)
369
+
370
+ ![](images/2313d64ea1df619030ec92e6d071e1e609f2a8e7dc6a5f820e48b0887dc81ef7.jpg)
371
+
372
+ ![](images/ab5115846402f459822d1ec93840a460f14c813bad42be047a824b8740a4c3b0.jpg)
373
+ Figure 6: Kernel density estimation plots of affinity scores from the pairwise scorer for native AxomiyaBERTa compared to baselines from other Transformer-based LMs.
374
+
375
+ ![](images/73d11d11155a8f26a4a4ee6368c0665bd34891607111f7b45279ee8dff4a1aab.jpg)
376
+
377
+ A For every submission:
378
+
379
+ A1. Did you describe the limitations of your work?
380
+
381
+ Required limitations section after conclusion
382
+
383
+ A2. Did you discuss any potential risks of your work?
384
+
385
+ Ethics section (end of paper)
386
+
387
+ A3. Do the abstract and introduction summarize the paper's main claims?
388
+
389
+ Abstract and introduction
390
+
391
+ A4. Have you used AI writing assistants when working on this paper?
392
+
393
+ Left blank.
394
+
395
+ B Did you use or create scientific artifacts?
396
+
397
+ The paper results in a new language model, datasets used in training are discussed in Section 3.1. Other artifacts (e.g., preprocessing packages) are discussed in Section 3 and subsections
398
+
399
+ B1. Did you cite the creators of artifacts you used?
400
+
401
+ Section 3.*
402
+
403
+ B2. Did you discuss the license or terms for use and / or distribution of any artifacts?
404
+
405
+ Section 6. AxomiyaBERTa will be made freely available upon publication.
406
+
407
+ B3. Did you discuss if your use of existing artifact(s) was consistent with their intended use, provided that it was specified? For the artifacts you create, do you specify intended use and whether that is compatible with the original access conditions (in particular, derivatives of data accessed for research purposes should not be used outside of research contexts)?
408
+
409
+ Section 6. AxomiyaBERTa will be made freely available for use upon publication. Since the artifacts we used in training and evaluation are popularly used in the AI/NLP/CL domain (both academia and industry) with proper citations, we have taken all measures to ensure that our usage is consistent with their intended use.
410
+
411
+ B4. Did you discuss the steps taken to check whether the data that was collected / used contains any information that names or uniquely identifies individual people or offensive content, and the steps taken to protect / anonymize it?
412
+
413
+ We use publicly-available datasets like and discuss the risks in the ethics statement.
414
+
415
+ B5. Did you provide documentation of the artifacts, e.g., coverage of domains, languages, and linguistic phenomena, demographic groups represented, etc.?
416
+
417
+ Section 1, and limitations and ethics section
418
+
419
+ B6. Did you report relevant statistics like the number of examples, details of train / test / dev splits, etc. for the data that you used / created? Even for commonly-used benchmark datasets, include the number of examples in train / validation / test splits, as these provide necessary context for a reader to understand experimental results. For example, small differences in accuracy on large test sets may be significant, while on small test sets they may not be.
420
+
421
+ Section 4
422
+
423
+ The Responsible NLP Checklist used at ACL 2023 is adopted from NAACL 2022, with the addition of a question on AI writing assistance.
424
+
425
+ # C Did you run computational experiments?
426
+
427
+ Section 4
428
+
429
+ C1. Did you report the number of parameters in the models used, the total computational budget (e.g., GPU hours), and computing infrastructure used?
430
+
431
+ Section 3, Section 4
432
+
433
+ C2. Did you discuss the experimental setup, including hyperparameter search and best-found hyperparameter values?
434
+
435
+ Section 3 and subsections on fine-tuning
436
+
437
+ C3. Did you report descriptive statistics about your results (e.g., error bars around results, summary statistics from sets of experiments), and is it transparent whether you are reporting the max, mean, etc. or just a single run?
438
+
439
+ Section 5
440
+
441
+ C4. If you used existing packages (e.g., for preprocessing, for normalization, or for evaluation), did you report the implementation, model, and parameter settings used (e.g., NLTK, Spacy, ROUGE, etc.)?
442
+
443
+ Section 3. These details are reported where available but some packages used (e.g., PanPhon) do not have different versions available.
444
+
445
+ # D Did you use human annotators (e.g., crowdworkers) or research with human participants?
446
+
447
+ Left blank.
448
+
449
+ D1. Did you report the full text of instructions given to participants, including e.g., screenshots, disclaimers of any risks to participants or annotators, etc.?
450
+
451
+ No response.
452
+
453
+ D2. Did you report information about how you recruited (e.g., crowdsourcing platform, students) and paid participants, and discuss if such payment is adequate given the participants' demographic (e.g., country of residence)?
454
+
455
+ No response.
456
+
457
+ D3. Did you discuss whether and how consent was obtained from people whose data you're using/curating? For example, if you collected data via crowdsourcing, did your instructions to crowdworkers explain how the data would be used?
458
+
459
+ No response.
460
+
461
+ D4. Was the data collection protocol approved (or determined exempt) by an ethics review board?
462
+
463
+ No response.
464
+
465
+ D5. Did you report the basic demographic and geographic characteristics of the annotator population that is the source of the data?
466
+
467
+ No response.
2023/AxomiyaBERTa_ A Phonologically-aware Transformer Model for Assamese/images.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ad42da8686c5fea47185b38bcfdbc980c85954c5151aba1bd650922974581275
3
+ size 522719
2023/AxomiyaBERTa_ A Phonologically-aware Transformer Model for Assamese/layout.json ADDED
The diff for this file is too large to render. See raw diff
 
2023/B2T Connection_ Serving Stability and Performance in Deep Transformers/304a7eb6-4126-4acb-9ec0-8da7fd06045b_content_list.json ADDED
The diff for this file is too large to render. See raw diff
 
2023/B2T Connection_ Serving Stability and Performance in Deep Transformers/304a7eb6-4126-4acb-9ec0-8da7fd06045b_model.json ADDED
The diff for this file is too large to render. See raw diff
 
2023/B2T Connection_ Serving Stability and Performance in Deep Transformers/304a7eb6-4126-4acb-9ec0-8da7fd06045b_origin.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f33dee1e084e01613347c76b2247adc04bfc463fb3a0924751659eb1f190f2b0
3
+ size 803868
2023/B2T Connection_ Serving Stability and Performance in Deep Transformers/full.md ADDED
@@ -0,0 +1,524 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # B2T Connection: Serving Stability and Performance in Deep Transformers
2
+
3
+ Sho Takase†* Shun Kiyono† Sosuke Kobayashi‡ Jun Suzuki‡
4
+ †LINE Corporation ‡Tohoku University
5
+ {sho.takase, shun.kiyono}@linecorp.com
6
+ sosk@preferred.jp
7
+ jun.suzuki@tohoku.ac.jp
8
+
9
+ # Abstract
10
+
11
+ From the perspective of the layer normalization (LN) positions, the architectures of Transformers can be categorized into two types: Post-LN and Pre-LN. Recent Transformers tend to be Pre-LN because, in Post-LN with deep Transformers (e.g., those with ten or more layers), the training is often unstable, resulting in useless models. However, Post-LN has consistently achieved better performance than Pre-LN in relatively shallow Transformers (e.g., those with six or fewer layers). This study first investigates the reason for these discrepant observations empirically and theoretically and made the following discoveries: 1, the LN in Post-LN is the main source of the vanishing gradient problem that leads to unstable training, whereas Pre-LN prevents it, and 2, Post-LN tends to preserve larger gradient norms in higher layers during the back-propagation, which may lead to effective training. Exploiting the new findings, we propose a method that can provide both high stability and effective training by a simple modification of Post-LN. We conduct experiments on a wide range of text generation tasks. The experimental results demonstrate that our method outperforms Pre-LN, and enables stable training regardless of the shallow or deep layer settings. Our code is publicly available at https://github.com/takase/b2t_Connection.
12
+
13
+ # 1 Introduction
14
+
15
+ To prevent the vanishing (or exploding) gradient problem in the training of a deep neural network (DNN), various techniques, such as batch normalization (Ioffe and Szegedy, 2015) and residual connection (Srivastava et al., 2015; He et al., 2016a), have been proposed and widely used in almost all recent DNNs. Transformer (Vaswani et al., 2017) employs the layer normalization (Ba et al., 2016) for this purpose. Transformer is currently the most successful model architecture
16
+
17
+ ![](images/eaaa224b18e85f74e1a38e1a2f30afc3bc0cc45231ba2096cf8bae2913417e88.jpg)
18
+ (a) Train loss
19
+ Figure 1: Loss values of 18 layered Transformer-based encoder-decoder architectures.
20
+
21
+ ![](images/2645a67aa2b6b33d79dcc8bb4817f817e6b9feffa7582c568abac5d36df3d216.jpg)
22
+ (b) Valid loss
23
+
24
+ in DNNs. It was firstly developed for applying sequence-to-sequence tasks, such as machine translation (Vaswani et al., 2017), summarization (Takase and Okazaki, 2019), and automatic speech recognition (ASR) (Wang et al., 2020), and is currently used in speech, vision, and many other information processing research fields.
25
+
26
+ As reported in the batch normalization literature (He et al., 2016b), the position of the normalization layers primarily affects both the stability and resultant performance of a trained model. In Transformers, some previous studies have investigated the impact of the layer normalization positions (Wang et al., 2019; Xiong et al., 2020). There are currently two major layer normalization positions in Transformers: Pre-Layer Normalization (Pre-LN) and Post-Layer Normalization (PostLN). Pre-LN applies the layer normalization to an input for each sub-layer, and Post-LN places the layer normalization after each residual connection. The original Transformer (Vaswani et al., 2017) employs Post-LN. However, many recent studies have suggested using Pre-LN (Wang et al., 2019; Baevski and Auli, 2019; Brown et al., 2020) because the training of deep Transformers (e.g., those with ten or more layers) using Post-LN is often unstable, resulting in useless models. Figure 1
27
+
28
+ shows loss curves for an actual example; the training of 18 layered Transformer encoder-decoders (18L-18L) on a widely used WMT English-to-German machine translation dataset. These figures clearly show that the Post-LN Transformer encoder-decoders fail to train the model. However, in contrast, Liu et al. (2020) reported that Post-LN consistently achieved better performance than Pre-LN on a machine translation task when they used 6 layered (relatively shallow, 6L-6L) Transformers.
29
+
30
+ This paper focuses specifically on such discrepancies between Pre-LN and Post-LN in configurations with various number of layers. We investigate the sources of the instability of training in deep configurations and the superior performance in shallow configurations for Post-LN, compared with that for Pre-LN, to understand the essentials of the differences between Pre-LN and Post-LN. We discover that the layer normalization in Post-LN is the main source of the vanishing gradient problem that leads to unstable training, whereas Pre-LN prevents it, as shown in Figure 1. In particular, we clarify that the layer normalization is a significant factor of the vanishing gradient problem by comparing the input/output vector norms of gradient flows for each layer normalization during back-propagation. These analyses bring us a novel idea that can satisfy higher stability by skipping over layer normalizations and provide better performance than Pre-LN regardless of their layer sizes. Consequently, we propose a method that is based on Post-LN Transformers but has additional residual connections to enable stable training.
31
+
32
+ We conduct experiments on a wide range of text generation tasks, namely machine translation, summarization, language modeling, and ASR. The experimental results lead to the following three new major findings:
33
+
34
+ 1. Post-LN Transformers achieve better performance than Pre-LN Transformers on text generation tasks (not only machine translation (Liu et al., 2020) but also other tasks). Thus, Post-LN is superior to Pre-LN if the problem of its unstable training can be solved.
35
+ 2. Our modification enables Post-LN Transformers to stack many layers.
36
+ 3. Our method can maintain the performance advantage of Post-LN and mitigate its unstable training property, thus providing better performance than Pre-LN.
37
+
38
+ # 2 Post-LN and Pre-LN Transformers
39
+
40
+ We briefly describe Post-LN and Pre-LN Transformers in this section. The original Transformer (Vaswani et al., 2017) uses Post-LN, in which layer normalizations are located after each residual connection. Let $x$ be an input of a sublayer, and $\mathcal{F}(\cdot)$ be a sub-layer of a Transformer, such as a feed-forward network or multi-head attention. Post-LN is defined as follows:
41
+
42
+ $$
43
+ \operatorname {P o s t L N} (x) = \operatorname {L N} (x + \mathcal {F} (x)), \tag {1}
44
+ $$
45
+
46
+ where $\mathrm{LN}(\cdot)$ is the layer normalization function.
47
+
48
+ In contrast, Pre-LN places the layer normalization before an input of each sub-layer:
49
+
50
+ $$
51
+ \operatorname {P r e L N} (x) = x + \mathcal {F} (\operatorname {L N} (x)). \tag {2}
52
+ $$
53
+
54
+ Figure 2 (a) and (b) illustrate Post-LN and Pre-LN Transformer architectures, respectively.
55
+
56
+ # 3 Gradients of Transformer Layers
57
+
58
+ As described in Liu et al. (2020), the vanishing gradient problem often occurs in Post-LN Transformers. Figure 3 shows the gradient norms of each layer for the (a) encoder-side and (b) decoder-side at the beginning of training, when 18L-18L Transformer encoder-decoders are trained on a widely used machine translation dataset (the WMT English-to-German dataset). Focus on the decoder-side of Post-LN as illustrated in Figure 3 (b). This figure shows that shallower layers have smaller gradient norms. In other words, the vanishing gradient occurs in the decoder-side of Post-LN because its gradient norms exponentially decay as they are back-propagated to shallower layers. This result is consistent with the previous study (Liu et al., 2020). We consider that this vanishing gradient causes the difficulty of stacking many layers with the Post-LN setting, as shown in Figure 1.
59
+
60
+ To investigate the vanishing gradient empirically in more detail, we measure the gradient norms of parts (1) - (5) of Figure 2 (a). Figure 4 shows the gradient norms of each part in the 18th layer<sup>1</sup>. This figure shows that the gradient norms decrease drastically from (4) to (3) and (2) to (1). These parts correspond to layer normalizations, as shown in Figure 4. This suggests that layer normalizations in Post-LN Transformers are probably the cause of the vanishing gradient problem.
61
+
62
+ ![](images/15e081236e829149b336a1550bc65eb3c4caaaa0be7ee92d62d4ccf5dd7533fc.jpg)
63
+ (a) Post-LN
64
+
65
+ ![](images/cbf418b7b8681a696c5f61e111e62eabf4ffcd4a99e9e8cb174a1cf2f9a1559e.jpg)
66
+ (b) Pre-LN
67
+
68
+ ![](images/0f365fd87ce4366b3ac4c20bc02df3868b7defbc58708c74e2a2b85b5e3a2d69.jpg)
69
+ (c) Post-LN with B2T connection
70
+ Figure 2: Transformer-based encoder-decoder architectures for (a) Post-LN, (b) Pre-LN, and (c) Post-LN with our proposed B2T connection.
71
+
72
+ ![](images/c1ad4392d8334c00fffb187dbde919488073a4488228d8a61936a02cd4867fcb.jpg)
73
+ (a) Encoder side
74
+
75
+ ![](images/9a479426a0a23a207bdc6482f3b3fb02d7589a16eca5f5220624c2f9fc876d59.jpg)
76
+ (b) Decoder side
77
+
78
+ To investigate the difference between the gradient flows of Post-LN and those of Pre-LN theoretically, we calculate the derivatives of Equations (1) and (2), as follows:
79
+
80
+ $$
81
+ \frac {\partial \operatorname {P o s t L N} (x)}{\partial x} = \frac {\partial \operatorname {L N} (x + \mathcal {F} (x))}{\partial (x + \mathcal {F} (x))} \left(I + \frac {\partial \mathcal {F} (x)}{\partial x}\right), \tag {3}
82
+ $$
83
+
84
+ $$
85
+ \frac {\partial \operatorname {P r e L N} (x)}{\partial x} = I + \frac {\partial \mathcal {F} (\mathrm {L N} (x))}{\partial \mathrm {L N} (x)} \frac {\partial \mathrm {L N} (x)}{\partial x}, \tag {4}
86
+ $$
87
+
88
+ where $I$ is the identity matrix. As Equation (3), the derivative of Post-LN is equal to the product of two derivatives: one is the layer normalization, and the other consists of the residual connection and sub-layer $\mathcal{F}$ . In contrast, in Pre-LN, the derivative of the residual connection is isolated from the term related to the derivative of the layer normalization.
89
+
90
+ ![](images/0b4655451db07243b417ec52b72a03b403a1aa9fe0931fa19e581b152b80df8f.jpg)
91
+ Figure 3: Gradient norms of 18 layered Transformer-based encoder-decoder architectures.
92
+
93
+ ![](images/6893798d7338f995ef00220c71fda66f8f7ac1c7ecefb62c285f79ea43d70af6.jpg)
94
+ Figure 4: Gradient norms of each location in the 18th decoder for the 18 layered Post-LN Transformer encoder-decoder on WMT English-to-German translation training data.
95
+
96
+ The difference between these equations implies that the residual connection in Pre-LN prevents the vanishing gradient because it retains the gradients of upper layers even if the derivative of the layer normalization decreases gradients drastically.
97
+
98
+ # 4 Transformations by Each Layer
99
+
100
+ As described, it is difficult to stack many layers in Post-LN Transformers because the vanishing gra
101
+
102
+ ![](images/d84aed36075a16cb95c31e68cc59cf5c70652ac63e34ff6be27d49b76e55ad95.jpg)
103
+
104
+ ![](images/5453b285a5d5ded6046bd1097e35be822dad2b3cea2e038669012fd2b133d928.jpg)
105
+
106
+ ![](images/92c57287f673ef44fd16a32f839e627b176fdf05d5a5afcddef7051c5a730d0f.jpg)
107
+
108
+ ![](images/e7bbe43fc4cbffc617530b5cd7f9f144672d4e400b21e37a59e3b72dc050e80b.jpg)
109
+ (a) Post-LN
110
+
111
+ ![](images/466cc0fd8a27420c65eb2aca6af3a8d3447fe92fb8b6073f5c3395aa9964c138.jpg)
112
+ (b) Pre-LN
113
+
114
+ ![](images/c15bbe3943e935f6d27126aa7ee27069dcf0525ccb2d3990cb9f574a99052279.jpg)
115
+ (c) B2T connection
116
+ Figure 5: Cosine similarities between the outputs of each pair of layers.
117
+
118
+ dient problem occurs. Although Pre-LN is more stable in training, Post-LN can achieve better performance if training succeeds (see Section 6). In this section, we explore the reason for this difference in performance.
119
+
120
+ Focus Pre-LN in Figure 3. In contrast to PostLN, in Pre-LN, a deeper (higher) layer has a smaller gradient norm. Thus, the parameters of higher layers are not required to change dramatically from their initial values. This implies that higher layers in Pre-LN are not sufficiently effective.
121
+
122
+ To investigate the effectiveness of higher layers, we focus on the transformations by each layer. Figure 5 shows the average cosine similarities between the outputs of each pair of layers for 6L-6L Transformer encoder-decoders trained on the WMT dataset when several sequences are input. This figure indicates that the lower-left similarities of Pre-LN are higher than those of Post-LN. This result means that the outputs of shallow layers are similar to the output of the final layer in Pre-LN, but not in Post-LN. Consequently, higher layers in Pre-LN are less effective than those in Post-LN if training succeeds.
123
+
124
+ We consider that the residual connection in Pre-LN causes this phenomenon. As Equation (2) shows, in Pre-LN, an input $x$ skips over the sublayer $\mathcal{F}(\cdot)$ by the residual connection. Thus, the input $x$ is directly connected to the final layer output. This property makes the training stable, as described in Section 3, but causes high similarities between the outputs of the various layers. Therefore, we consider that Pre-LN underperforms Post-LN because the residual connection in Pre-LN reduces the effectiveness of its higher layers. In contrast, in Post-LN, larger gradient norms in higher layers (as shown in Figure 3) make higher layers more ef
125
+
126
+ fective (as shown in Figure 5) but it is necessary to prevent the vanishing gradient problem in shallow layers when we stack many layers.
127
+
128
+ # 5 Modification for Stable Training in Post-LN: Bottom-to-Top Connection
129
+
130
+ This section introduces a modification that makes the training of Post-LN more stable while preserving its high performance. This modification comprises an additional residual connection to mitigate the vanishing gradient in Post-LN by enabling many layers to be stacked.
131
+
132
+ As discussed in the previous sections, we need a term that retains gradients in the derivatives, as in Equation (4), to prevent the vanishing gradient. To satisfy this requirement, we propose a residual connection that skips over all layer normalizations except the final one in each layer. Our introduced connection ties an input of a layer to the result of the feed-forward network (FFN), as illustrated by the red arrows in Figure 2 (c). We call this connection Bottom-to-Top (B2T) connection, which is formalized in the following equation:
133
+
134
+ $$
135
+ x _ {i n p} + x _ {f f n} + \operatorname {F F N} \left(x _ {f f n}\right), \tag {5}
136
+ $$
137
+
138
+ where $x_{inp}$ is an input of a layer, $\mathrm{FFN}(\cdot)$ is an FFN, and $x_{ffn}$ is an input of the FFN. In short, $x_{inp}$ skips the layer normalizations after the self-attention and encoder-decoder cross-attention. Because the derivative of $x_{inp}$ is isolated from the terms related to the derivatives of the layer normalizations just behind the attention sub-layers, it retains gradients, as in Pre-LN. For example, in an encoder-side, $x_{ffn}$ is as follows:
139
+
140
+ $$
141
+ x _ {f f n} = \operatorname {L N} (\operatorname {S e l f A t t n} (x _ {i n p}) + x _ {i n p}), \tag {6}
142
+ $$
143
+
144
+ where SelfAttn(·) is a self-attention network. Thus, Equation (5) can be written as follows:
145
+
146
+ $$
147
+ \begin{array}{l} x _ {i n p} + \mathrm {L N} (\mathrm {S e l f A t t n} (x _ {i n p}) + x _ {i n p}) \\ + \operatorname {F F N} (\operatorname {L N} (\operatorname {S e l f A t t n} (x _ {i n p}) + x _ {i n p})), \tag {7} \\ \end{array}
148
+ $$
149
+
150
+ The derivative of this equation is the following equation:
151
+
152
+ $$
153
+ \begin{array}{l} I + \frac {\partial (\mathrm {L N} (\operatorname {S e l f A t t n} (x _ {i n p}) + x _ {i n p}))}{\partial x _ {i n p}} \\ + \frac {\partial (\mathrm {F F N} (\mathrm {L N} (\text {S e l f A t t n} (x _ {i n p}) + x _ {i n p})))}{\partial x _ {i n p}}, \tag {8} \\ \end{array}
154
+ $$
155
+
156
+ Because this derivative contains $I$ , which is unrelated to the derivatives of internal layer normalizations, our B2T connection (i.e., $x_{inp}$ ) helps to propagate gradients. For a decoder-side, we can prove this property in the same manner.
157
+
158
+ Figure 3 (b) indicates that B2T connection mitigates the vanishing gradient of 18L-18L encoder-decoders. Moreover, we locate B2T connection before the final layer normalization in each layer to avoid a direct connection to the final layer output based on the discussion in Section 4. Thus, B2T connection preserves the property of Post-LN with respect to the transformations performed by each layer, as illustrated in Figure 5 (c) $^2$ .
159
+
160
+ # 6 Experiments
161
+
162
+ Through experiments, we indicate following three findings.
163
+
164
+ - Post-LN Transformers achieve better performance than Pre-LN Transformers if their training succeeds.
165
+ - B2T connection enables the training of deep Transformers with the Post-LN configuration.
166
+ - Our modification preserves the performance advantage of Post-LN Transformers, which therefore outperform Pre-LN Transformers.
167
+
168
+ We describe the essential experimental configurations in this section. Appendix A presents more details, such as the hyper-parameters and computational budgets.
169
+
170
+ # 6.1 Machine Translation
171
+
172
+ # 6.1.1 Dataset
173
+
174
+ The machine translation task has been widely used to investigate the performance of Transformer-based methods since the original Transformer (Vaswani et al., 2017; Ott et al., 2018; Wang et al., 2019; Xiong et al., 2020; Liu et al., 2020). We adopted the widely used WMT English-to-German training dataset (Vaswani et al., 2017; Ott et al., 2018), which contains 4.5M
175
+
176
+ sentence pairs. We applied the byte-pair-encoding (BPE) algorithm (Sennrich et al., 2016) to construct a vocabulary set in the same manner as previous studies. We set the number of BPE merge operations to $32\mathrm{K}$ and shared the vocabulary between the source and target languages. We used newstest2010-2016 to investigate the performance, following Takase and Kiyono (2021).
177
+
178
+ # 6.1.2 Methods
179
+
180
+ We compare Post-LN, Pre-LN, and Post-LN with our B2T connection (B2T connection) Transformers. We used $\text{fairseq}^3$ (Ott et al., 2019) as an implementation of Transformers. We stacked 6 and 18 layers for the encoders and decoders (6L-6L and 18L-18L) as the widely used configuration and deep configuration, respectively. We used the Transformer (base) setting for dimension sizes of internal layers. In addition to the above methods, we evaluate the following five methods, which are recent approaches that enable the training of deep Transformers. We used the same hyper-parameters for all methods except T-Fixup. For T-Fixup, we used the hyper-parameters reported in Huang et al. (2020) to prevent divergence.
181
+
182
+ DLCL To make Transformers deep, Wang et al. (2019) proposed dynamic linear combination of layers (DLCL), which uses the weighted sum of the lower layers as an input of a layer. In contrast to our B2T connection, which is an additional connection within each layer, DLCL uses a connection among layers. We apply DLCL to Post-LN Transformers. We used the official implementation<sup>4</sup>.
183
+
184
+ Admin Liu et al. (2020) proposed adaptive model initialization (Admin), which uses additional parameters to stabilize the training of Post-LN Transformers. This method requires the variances of internal layers to initialize the additional parameters. Thus, this method first processes several forward steps for the initialization, and then conducts the actual training. In a nutshell, this method incurs additional computational costs. We used the official implementation<sup>5</sup>.
185
+
186
+ T-Fixup Huang et al. (2020) proposed an initialization scheme for Transformers, T-Fixup, to perform stable training without the learning rate warm-up and layer normalizations. Because this method can remove the cause of the vanishing gradient, we can
187
+
188
+ <table><tr><td>Method</td><td>2010</td><td>2011</td><td>2012</td><td>2013</td><td>2014</td><td>2015</td><td>2016</td><td>Average</td></tr><tr><td colspan="9">Enc-Dec: 6L-6L</td></tr><tr><td>Post-LN</td><td>24.27</td><td>22.06</td><td>22.43</td><td>26.11</td><td>27.13</td><td>29.70</td><td>34.40</td><td>26.59</td></tr><tr><td>Pre-LN</td><td>24.03</td><td>21.77</td><td>22.08</td><td>25.63</td><td>26.27</td><td>29.07</td><td>33.84</td><td>26.10</td></tr><tr><td>DLCL (Wang et al., 2019)</td><td>23.94</td><td>22.00</td><td>22.24</td><td>26.11</td><td>27.37</td><td>29.71</td><td>34.26</td><td>26.52</td></tr><tr><td>Admin (Liu et al., 2020)</td><td>24.32</td><td>21.79</td><td>22.17</td><td>26.26</td><td>27.14</td><td>29.61</td><td>34.12</td><td>26.49</td></tr><tr><td>T-Fixup (Huang et al., 2020)</td><td>24.09</td><td>21.98</td><td>22.04</td><td>25.96</td><td>26.92</td><td>29.45</td><td>34.56</td><td>26.43</td></tr><tr><td>RealFormer (He et al., 2021)</td><td>24.18</td><td>22.02</td><td>22.17</td><td>26.02</td><td>26.98</td><td>29.36</td><td>34.15</td><td>26.41</td></tr><tr><td>DeepNet (Wang et al., 2022)</td><td>24.08</td><td>21.76</td><td>22.09</td><td>25.90</td><td>26.85</td><td>29.62</td><td>34.39</td><td>26.38</td></tr><tr><td>B2T connection</td><td>24.12</td><td>21.93</td><td>22.29</td><td>26.31</td><td>26.84</td><td>29.48</td><td>34.73</td><td>26.53</td></tr></table>
189
+
190
+ <table><tr><td colspan="9">Enc-Dec: 18L-18L</td></tr><tr><td>Post-LN</td><td colspan="7">Training failed (See Figure 1)</td><td>N/A</td></tr><tr><td>Pre-LN</td><td>24.07</td><td>21.98</td><td>22.40</td><td>26.28</td><td>27.36</td><td>29.74</td><td>34.16</td><td>26.57</td></tr><tr><td>DLCL (Wang et al., 2019)</td><td>24.20</td><td>22.51</td><td>22.83</td><td>26.59</td><td>27.97</td><td>30.24</td><td>33.98</td><td>26.90</td></tr><tr><td>Admin (Liu et al., 2020)</td><td>24.56</td><td>22.17</td><td>22.62</td><td>26.48</td><td>27.99</td><td>30.35</td><td>33.88</td><td>26.86</td></tr><tr><td>T-Fixup (Huang et al., 2020)</td><td>24.45</td><td>22.29</td><td>22.76</td><td>26.57</td><td>27.71</td><td>30.13</td><td>34.69</td><td>26.94</td></tr><tr><td>RealFormer (He et al., 2021)</td><td>24.32</td><td>22.42</td><td>22.68</td><td>26.59</td><td>28.58</td><td>30.36</td><td>33.71</td><td>26.95</td></tr><tr><td>DeepNet (Wang et al., 2022)</td><td>24.70</td><td>22.40</td><td>22.92</td><td>26.85</td><td>28.21</td><td>30.60</td><td>34.25</td><td>27.13</td></tr><tr><td>B2T connection</td><td>24.62</td><td>22.51</td><td>22.86</td><td>26.74</td><td>28.48</td><td>30.99</td><td>34.93</td><td>27.30</td></tr></table>
191
+
192
+ Table 1: BLEU scores of each method on WMT newstest2010-2016 and their averages.
193
+
194
+ stack many layers. We used the official implementation<sup>6</sup>.
195
+
196
+ RealFormer To improve the performance of Transformers, He et al. (2021) proposed RealFormer, which introduces additional connections into attention sub-layers. Although their motivation is not addressing the vanishing gradient problem, their method is similar to ours with respect to the use of additional connections.
197
+
198
+ DeepNet Wang et al. (2022) proposed DeepNorm, which uses a weight that corresponds to the number of layers in a residual connection before layer normalizations to stabilize Post-LN based Transformers. They also provided the combination of the initialization scheme and DeepNorm as DeepNet.
199
+
200
+ # 6.1.3 Results
201
+
202
+ We measured case-sensitive detokenized BLEU scores with SacreBLEU (Post, 2018). Table 1 shows BLEU scores of each method on newstest2010-2016 and the averaged scores of them. Since the BLEU score is precision-based n-gram overlapping between the model output and correct examples, a higher score represents better performance.
203
+
204
+ ![](images/3eb1e6ad9a2703dfa266754c794e4e9e70a6932623135c2b2989db195bb0a3ff.jpg)
205
+ Figure 6: Negative Log-Likelihood (NLL) on validation data (newstest2013) when we stack 18 layers.
206
+
207
+ The upper part of Table 1 shows results in the 6L-6L configuration. This part indicates that Post-LN achieved better scores than Pre-LN on all test sets. In addition, B2T connection outperformed Pre-LN on all test sets. Thus, these methods are superior to Pre-LN when the total number of layers is small.
208
+
209
+ The lower part of Table 1 shows results in the 18L-18L configuration. This part shows that the training of Post-LN failed, and thus we cannot successfully stack 18L-18L in the vanilla Post-LN. With the B2T connection, its training succeeded and it outperformed Pre-LN in the 18L-18L configuration. Figure 6 shows the negative log-likelihood (NLL) values of all methods when we regard newstest2013 as validation data. This figure indicates that the NLLs of Pre-LN are worse than those of the other methods. These results demonstrate that our modification enabled the stacking of many layers
210
+
211
+ <table><tr><td>Method</td><td>2010</td><td>2011</td><td>2012</td><td>2013</td><td>2014</td><td>2015</td><td>2016</td><td>Average</td></tr><tr><td colspan="9">Enc-Dec: 100L-100L</td></tr><tr><td>Post-LN</td><td colspan="7">Training failed</td><td>N/A</td></tr><tr><td>Pre-LN</td><td>24.81</td><td>22.67</td><td>23.15</td><td>26.98</td><td>28.42</td><td>30.50</td><td>34.53</td><td>27.29</td></tr><tr><td>B2T connection</td><td>25.26</td><td>23.27</td><td>23.72</td><td>27.50</td><td>29.33</td><td>31.57</td><td>35.37</td><td>28.00</td></tr></table>
212
+
213
+ without harm to its performance such as Pre-LN.
214
+
215
+ In the comparison with the recent methods, B2T connection outperformed them with respect to the averaged BLEU score. This result implies that our modification is superior to the recent methods. To make our findings more reliable, we also conduct a comparison with the recent methods on the summarization task.
216
+
217
+ Table 2 shows results in a much deeper configuration: 100L-100L. This table also indicates that B2T connection stabilized the training and outperformed Pre-LN. Appendix C describes the details of this 100L-100L configuration and shows a comparison with the latest method, DeepNet (Wang et al., 2022).
218
+
219
+ # 6.2 Abstractive Summarization
220
+
221
+ # 6.2.1 Dataset
222
+
223
+ The abstractive summarization task is one of the most famous sequence-to-sequence problems in NLP. In this study, we conduct the experiment on the headline generation task, which is the task of generating a headline from a given sentence (Rush et al., 2015). We used headline-sentence pairs extracted from Annotated English Gigaword (Napoles et al., 2012) by Rush et al. (2015). This dataset contains 3.8M headline-sentence pairs as the training set and 1951 pairs as the test set. In addition, we used 13M additional headline-sentence pairs extracted from REALNEWS (Zellers et al., 2019) and NewsCrawl (Barrault et al., 2019) for training deep Transformers, following Takase and Kiyono (2021). We applied BPE (Sennrich et al., 2016) to construct a vocabulary set. As in the machine translation experiments, we set the number of BPE merge operations to 32K and shared the vocabulary between the encoder and decoder sides.
224
+
225
+ # 6.2.2 Methods
226
+
227
+ We compare Post-LN, Pre-LN, and B2T connection Transformers in the same manner as in Section 6.1. In addition, we compare DLCL, Admin, T-Fixup, RealFormer, and DeepNet because it
228
+
229
+ Table 2: BLEU scores on WMT newestest2010-2016 and their averages in the 100L-100L configuration.
230
+
231
+ <table><tr><td>Method</td><td>R-1</td><td>R-2</td><td>R-L</td></tr><tr><td colspan="4">Enc-Dec: 6L-6L</td></tr><tr><td>Post-LN</td><td>38.57</td><td>19.37</td><td>35.79</td></tr><tr><td>Pre-LN</td><td>38.27</td><td>19.29</td><td>35.39</td></tr><tr><td>DLCL (Wang et al., 2019)</td><td>38.13</td><td>18.49</td><td>35.00</td></tr><tr><td>Admin (Liu et al., 2020)</td><td>37.96</td><td>18.93</td><td>35.05</td></tr><tr><td>T-Fixup (Huang et al., 2020)</td><td>38.11</td><td>19.13</td><td>35.32</td></tr><tr><td>RealFormer (He et al., 2021)</td><td>38.30</td><td>19.32</td><td>35.46</td></tr><tr><td>DeepNet (Wang et al., 2022)</td><td>38.27</td><td>18.89</td><td>35.34</td></tr><tr><td>B2T connection</td><td>38.43</td><td>19.37</td><td>35.72</td></tr><tr><td colspan="4">Enc-Dec: 18L-18L</td></tr><tr><td>Post-LN</td><td colspan="3">Training failed</td></tr><tr><td>Pre-LN</td><td>38.97</td><td>19.94</td><td>35.99</td></tr><tr><td>DLCL (Wang et al., 2019)</td><td>38.25</td><td>19.44</td><td>35.57</td></tr><tr><td>Admin (Liu et al., 2020)</td><td>39.10</td><td>20.08</td><td>36.30</td></tr><tr><td>T-Fixup (Huang et al., 2020)</td><td>39.15</td><td>19.97</td><td>36.34</td></tr><tr><td>RealFormer (He et al., 2021)</td><td>39.22</td><td>20.12</td><td>36.49</td></tr><tr><td>DeepNet (Wang et al., 2022)</td><td>39.27</td><td>19.97</td><td>36.41</td></tr><tr><td>B2T connection</td><td>39.61</td><td>20.28</td><td>36.66</td></tr></table>
232
+
233
+ Table 3: F1 based ROUGE-1, 2, and L scores (columns headed R-1, R-2, and R-L, respectively) on headline generation (Rush et al., 2015).
234
+
235
+ would be premature to conclude that our modification is more effective than those methods from the results of experiments on the machine translation task alone. We set the numbers of layers of encoders and decoders to 6L-6L and 18L-18L as the base and deep configurations, respectively.
236
+
237
+ # 6.2.3 Results
238
+
239
+ Table 3 shows the ROUGE-1, 2, and L scores achieved by each method on the test set. Since these scores are computed by n-gram overlapping between the generated and correct headlines, a higher score represents better performance.
240
+
241
+ In the 6L-6L configuration, Post-LN achieved better performance than Pre-LN. Thus, Post-LN outperformed Pre-LN on the headline generation task if training succeeded. Moreover, B2T connection achieved scores comparable to those of Post-LN.
242
+
243
+ In the 18L-18L configuration, the training of Post-LN failed. In contrast, the training of B2T connection succeeded, and this method outperformed Pre-LN. Thus, our modification is more suitable than Pre-LN for training deep Transformers to perform the headline generation task.
244
+
245
+ B2T connection outperformed the recent methods in the 6L-6L configuration and achieved the best ROUGE scores in the 18L-18L configuration. According to the results on both the machine translation and headline generation tasks, B2T connection achieved performance that was better than, or comparable to, that of previous methods. It is worth emphasizing that, in addition to the performance, our modification does not incur additional computational costs, such as those incurred by DLCL and Admin.
246
+
247
+ # 6.3 Language Model
248
+
249
+ In addition to encoder-decoders, we investigate the effect of our B2T connection when used in the decoder side only, i.e., a neural language model. Because recent pre-trained models, such as the GPT series, are language models trained on a large amount of training data, experimental results in this section give an insight for pre-trained models.
250
+
251
+ # 6.3.1 Dataset
252
+
253
+ We used WikiText-103 (Merit et al., 2017), which consists of a large number of tokens. The training, validation, and test sets contain 103M, 0.2M, and 0.2M tokens, respectively. The vocabulary set contains 0.3M words.
254
+
255
+ # 6.3.2 Methods
256
+
257
+ We used a Transformer with adaptive input representations (Baevski and Auli, 2019), which is implemented in fair seq, as the base architecture in this experiment. For the base configuration, we stacked 6 layers, in the same manner as in the machine translation and summarization experiments. For the deep configuration, we used 16 layers, following Baevski and Auli (2019). For the dimensions of internal layers, we used the same values as those used by Baevski and Auli (2019). We compare Post-LN, Pre-LN, and B2T connection.
258
+
259
+ # 6.3.3 Results
260
+
261
+ Table 4 shows perplexities of each method on the validation and test sets of WikiText-103. Since the perplexity is computed based on the negative log-likelihood, a smaller value corresponds to better performance. The upper part of this table indicates that, with 6 layers, Post-LN and our B2T connection outperformed Pre-LN. When we stacked 16 layers, the training of Post-LN failed, but B2T connection achieved better performance than Pre-LN. These results are consistent with results on
262
+
263
+ <table><tr><td>Method</td><td>Valid</td><td>Test</td></tr><tr><td colspan="3">Dec: 6L</td></tr><tr><td>Post-LN</td><td>20.24</td><td>21.22</td></tr><tr><td>Pre-LN</td><td>20.98</td><td>21.93</td></tr><tr><td>B2T connection</td><td>20.50</td><td>21.47</td></tr><tr><td colspan="3">Dec: 16L</td></tr><tr><td>Post-LN</td><td colspan="2">Training failed</td></tr><tr><td>Pre-LN</td><td>18.53</td><td>19.24</td></tr><tr><td>B2T connection</td><td>18.38</td><td>19.20</td></tr></table>
264
+
265
+ Table 4: Perplexities on WikiText-103 (Merit et al., 2017).
266
+
267
+ <table><tr><td rowspan="2">Method</td><td colspan="2">Dev</td><td colspan="2">Test</td></tr><tr><td>Clean</td><td>Other</td><td>Clean</td><td>Other</td></tr><tr><td colspan="5">Enc-Dec: 6L-6L</td></tr><tr><td>Post-LN</td><td>3.78</td><td>8.76</td><td>4.19</td><td>8.74</td></tr><tr><td>Pre-LN</td><td>3.89</td><td>9.69</td><td>4.22</td><td>9.65</td></tr><tr><td>B2T connection</td><td>3.69</td><td>8.97</td><td>3.86</td><td>8.94</td></tr><tr><td colspan="5">Enc-Dec: 12L-6L</td></tr><tr><td>Post-LN</td><td></td><td colspan="3">Training failed</td></tr><tr><td>Pre-LN</td><td>3.21</td><td>7.91</td><td>3.49</td><td>8.22</td></tr><tr><td>B2T connection</td><td>3.26</td><td>7.74</td><td>3.48</td><td>7.68</td></tr></table>
268
+
269
+ Table 5: Word error rates of each method on LibriSpeech.
270
+
271
+ the machine translation and summarization tasks. Thus, our modification enables the training of deep Transformers for language modeling, and it is more effective than Transformers with Pre-LN.
272
+
273
+ # 6.4 Automatic Speech Recognition
274
+
275
+ In addition to experiments on natural language processing tasks, we conduct an experiment on another modality, ASR.
276
+
277
+ # 6.4.1 Dataset
278
+
279
+ We used LibriSpeech (Panayotov et al., 2015), which is the standard English ASR benchmark dataset. The dataset contains 1,000 hours of English speech extracted from audiobooks. We used the standard splits of LibriSpeech: we used all available training data for training and two configurations ('clean' and 'other') of development sets and test sets for evaluation. We applied the same pre-processing as that used by Wang et al. (2020). We constructed a vocabulary set for the decoder-side with SentencePiece (Kudo and Richardson, 2018) by setting the vocabulary size to 10,000. To obtain speech features, we used torchaudio<sup>9</sup>.
280
+
281
+ # 6.4.2 Methods
282
+
283
+ We used the Transformer-based speech-to-text model described in Wang et al. (2020) as the base
284
+
285
+ architecture in this experiment. This model contains a convolutional layer to construct an embedding for the encoder-side but the other parts are identical to the Transformers used on the machine translation and summarization tasks. We used the same dimensions as those of T-Md, described in Wang et al. (2020). We set the numbers of layers to 6L-6L and 12L-6L as the base and deep configurations, respectively, because Wang et al. (2020) stacked many layers on the encoder-side only. We compare Post-LN, Pre-LN, and B2T connection.
286
+
287
+ # 6.4.3 Results
288
+
289
+ Table 5 shows the word error rates (WERs) of each method on each set. A smaller value of WER corresponds to better performance. The upper part of this table indicates that Post-LN and B2T connection outperformed Pre-LN on all sets in the 6L-6L configuration. The lower part of the table shows that B2T connection succeeded in training and achieved performance that was better than (or comparable to) that of Pre-LN in the 12L-6L configuration<sup>10</sup>. These results are consistent with those of the other experiments in this study.
290
+
291
+ # 7 Related Work
292
+
293
+ Layer normalization (Ba et al., 2016) is a useful technique for training neural networks but its mechanism has been unclear (Xu et al., 2019). The Transformer, which is the standard architecture for various tasks, also contains layer normalizations. The original Transformer architecture adopted the Post-LN configuration (Vaswani et al., 2017). However, recent Transformer implementations have adopted Pre-LN configurations (Klein et al., 2017; Vaswani et al., 2018; Ott et al., 2019; Baevski and Auli, 2019).
294
+
295
+ To construct deep Transformers that achieve better performance, recent studies have focused on the behavior of layer normalizations. Wang et al. (2019) indicated the difficulty of training deep Transformers with Post-LN due to the vanishing gradient problem, and demonstrated that Pre-LN enables the stacking of many layers through machine translation experiments. In addition, they proposed a method to connect all layers to increase the effectiveness of deep Transformers. Bapna
296
+
297
+ et al. (2018) and Dou et al. (2018) also proposed such connection methods to stack many layers. He et al. (2021) introduced additional connections into attention sub-layers to improve the performance. Xiong et al. (2020) explored the relation between the warm-up strategy and layer normalizations in Transformers. Through theoretical and empirical analyses, they indicated that Post-LN requires the warm-up strategy to stabilize the training.
298
+
299
+ Liu et al. (2020) analyzed the training dynamics of Post-LN and Pre-LN Transformers. They then proposed Admin, which consists of additional weight parameters to control the variances of outputs from each sub-layer. In contrast, we indicated that we can stabilize the training of Post-LN Transformers by adding only a residual connection that skips over layer normalizations that cause the vanishing gradient.
300
+
301
+ Some studies have proposed initialization methods to make the training of deep neural networks stable (Zhang et al., 2019a,b; Huang et al., 2020). Zhang et al. (2019a) proposed the depth-scaled initialization to prevent the vanishing gradient problem in Transformers. Zhang et al. (2019b) proposed the fixed-update initialization to remove normalizations in neural networks. Inspired by these studies, Huang et al. (2020) proposed T-Fixup, which enables both warm-up and layer normalizations to be removed from Transformers. In addition to the initialization scheme, Wang et al. (2022) introduced weights into residual connections before layer normalizations, following Liu et al. (2020).
302
+
303
+ # 8 Conclusion
304
+
305
+ In this study, we addressed the stability of training Post-LN Transformers. Through theoretical and empirical analyses, we indicated that layer normalizations cause the unstable training when many layers are stacked. In addition, we investigated the reason for the different performance of Pre-LN and Post-LN by transformations of each layer. We introduced B2T connection to prevent the vanishing gradient while preserving the advantage of Post-LN. We conducted experiments on various tasks. The experimental results led to the following three findings; 1, Post-LN achieved better performance than Pre-LN if its training succeeded. 2, Our modification enabled the training of deep Transformers (e.g., those with ten or more layers). 3, Our modification preserved the benefit of Post-LN, and therefore outperformed Pre-LN.
306
+
307
+ # Limitations
308
+
309
+ In this paper, we indicated that the vanishing gradient problem, caused by layer normalizations, makes the training of deep Post-LN Transformers unstable. We proposed the B2T connection to mitigate this vanishing gradient problem. However, the proposed B2T connection does not perfectly prevent the vanishing gradient, as shown in Figure 3. Therefore, the vanishing gradient might harm the training in extremely deep Transformers even if our B2T connection is used.
310
+
311
+ In addition, this study depends on empirical observations. In particular, we provided little theoretical justification of the reason for Post-LN outperforming Pre-LN when training succeeds. However, as discussed in Appendix C, the method with a theoretical justification often collapses in some situations. Because the behavior of deep Transformers in various situations is not fully understood, we believe that it is important to provide empirical findings for our research field to progress.
312
+
313
+ Although Appendix C includes a comparison between our B2T connection and the latest method, DeepNet (Wang et al., 2022), we could not investigate the behavior of all methods in the 100L-100L configuration because of our limited computational budgets. However, we are confident that we conducted sufficient experiments to verify our contributions.
314
+
315
+ # Ethics Statement
316
+
317
+ The proposed method helps to construct deep Transformers. As discussed in Strubell et al. (2019) and Schwartz et al. (2019), such deep neural networks consume substantial amounts of energy. In fact, as discussed in Appendix A.2, we spent a large amount of computational resources on our experiments. Therefore, we also need to explore methods of improving energy efficiency while maintaining the good performance achieved by stacking many layers.
318
+
319
+ With respect to ethical considerations, the datasets used in our experiments are publicly available. LibriSpeech (Panayotov et al., 2015) is derived from audiobooks. The other datasets are mainly constructed from newswire texts and Wikipedia. Thus, in our understanding, our used datasets do not contain any personally identifiable information or offensive contents.
320
+
321
+ # Acknowledgements
322
+
323
+ We thank the anonymous reviewers for their useful suggestions. A part of this work was supported by JSPS KAKENHI Grant Number JP21K17800 and JST ACT-X Grant Number JPMJAX200I. The work of Jun Suzuki was partly supported by JST Moonshot R&D Grant Number JPMJMS2011 (fundamental research). We thank Edanz for editing a draft of this manuscript.
324
+
325
+ # References
326
+
327
+ Jimmy Lei Ba, Jamie Ryan Kiros, and Geoffrey E. Hinton. 2016. Layer normalization.
328
+ Alexei Baevski and Michael Auli. 2019. Adaptive input representations for neural language modeling. In Proceedings of the 7th International Conference on Learning Representations (ICLR).
329
+ Ankur Bapna, Mia Chen, Orhan First, Yuan Cao, and Yonghui Wu. 2018. Training deeper neural machine translation models with transparent attention. In Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing (EMNLP), pages 3028-3033.
330
+ Loic Barrault, Ondrej Bojar, Marta R. Costa-jussa, Christian Federmann, Mark Fishel, Yvette Graham, Barry Haddow, Matthias Huck, Philipp Koehn, Shervin Malmasi, Christof Monz, Mathias Muller, Santanu Pal, Matt Post, and Marcos Zampieri. 2019. Findings of the 2019 conference on machine translation (WMT19). In Proceedings of the Fourth Conference on Machine Translation (WMT), pages 1-61.
331
+ Tom Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah, Jared D Kaplan, Prafulla Dhariwal, Arvind Neelakantan, Pranav Shyam, Girish Sastry, Amanda Askell, Sandhini Agarwal, Ariel Herbert-Voss, Gretchen Krueger, Tom Henighan, Rewon Child, Aditya Ramesh, Daniel Ziegler, Jeffrey Wu, Clemens Winter, Chris Hesse, Mark Chen, Eric Sigler, Mateusz Litwin, Scott Gray, Benjamin Chess, Jack Clark, Christopher Berner, Sam McCandlish, Alec Radford, Ilya Sutskever, and Dario Amodei. 2020. Language models are few-shot learners. In Advances in Neural Information Processing Systems 33 (NeurIPS), pages 1877-1901.
332
+ Zi-Yi Dou, Zhaopeng Tu, Xing Wang, Shuming Shi, and Tong Zhang. 2018. Exploiting deep representations for neural machine translation. In Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing (EMNLP), pages 4253-4262.
333
+ Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. 2016a. Deep residual learning for image recognition. In 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pages 770-778.
334
+
335
+ Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. 2016b. Identity mappings in deep residual networks. In 14th European Conference on Computer Vision, pages 630-645.
336
+ Ruining He, Anirudh Ravula, Bhargav Kanagal, and Joshua Ainslie. 2021. RealFormer: Transformer likes residual attention. In *Findings of the Association for Computational Linguistics: ACL-IJCNLP* 2021, pages 929-943.
337
+ Xiao Shi Huang, Felipe Perez, Jimmy Ba, and Maksims Volkovs. 2020. Improving transformer optimization through better initialization. In Proceedings of the 37th International Conference on Machine Learning, volume 119, pages 4475-4483.
338
+ Sergey Ioffe and Christian Szegedy. 2015. Batch normalization: Accelerating deep network training by reducing internal covariate shift. In Proceedings of the 32nd International Conference on Machine Learning (ICML), volume 37, pages 448-456.
339
+ Guillaume Klein, Yoon Kim, Yuntian Deng, Jean Senellart, and Alexander Rush. 2017. OpenNMT: Open-source toolkit for neural machine translation. In Proceedings of the 55th Annual Meeting of the Association for Computational Linguistics (ACL), pages 67-72.
340
+ Taku Kudo and John Richardson. 2018. SentencePiece: A simple and language independent subword tokenizer and tokenizer for neural text processing. In Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing (EMNLP), pages 66-71.
341
+ Liyuan Liu, Xiaodong Liu, Jianfeng Gao, Weizhu Chen, and Jiawei Han. 2020. Understanding the difficulty of training transformers. In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP), pages 5747-5763.
342
+ Stephen Merity, Caiming Xiong, James Bradbury, and Richard Socher. 2017. Pointer Sentinel Mixture Models. In Proceedings of the 5th International Conference on Learning Representations (ICLR).
343
+ Courtney Naples, Matthew Gormley, and Benjamin Van Durme. 2012. Annotated Gigaword. In Proceedings of the Joint Workshop on Automatic Knowledge Base Construction and Web-scale Knowledge Extraction (AKBC-WEKEX), pages 95-100.
344
+ Myle Ott, Sergey Edunov, Alexei Baevski, Angela Fan, Sam Gross, Nathan Ng, David Grangier, and Michael Auli. 2019. *fairoseq: A fast, extensible toolkit for sequence modeling*. In *Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics (NAACL)*, pages 48-53.
345
+ Myle Ott, Sergey Edunov, David Grangier, and Michael Auli. 2018. Scaling neural machine translation. In Proceedings of the Third Conference on Machine Translation (WMT), pages 1-9.
346
+
347
+ Vassil Panayotov, Guoguo Chen, Daniel Povey, and Sanjeev Khudanpur. 2015. Librispeech: An asr corpus based on public domain audio books. In 2015 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pages 5206-5210.
348
+ Matt Post. 2018. A call for clarity in reporting BLEU scores. In Proceedings of the Third Conference on Machine Translation (WMT), pages 186-191.
349
+ Alexander M. Rush, Sumit Chopra, and Jason Weston. 2015. A Neural Attention Model for Abstractive Sentence Summarization. In Proceedings of the 2015 Conference on Empirical Methods in Natural Language Processing (EMNLP), pages 379-389.
350
+ Roy Schwartz, Jesse Dodge, Noah A. Smith, and Oren Etzioni. 2019. Green AI. CoRR, abs/1907.10597.
351
+ Rico Sennrich, Barry Haddow, and Alexandra Birch. 2016. Neural machine translation of rare words with subword units. In Proceedings of the 54th Annual Meeting of the Association for Computational Linguistics (ACL), pages 1715-1725.
352
+ Rupesh K Srivastava, Klaus Greff, and Jürgen Schmidhuber. 2015. Training very deep networks. In Advances in Neural Information Processing Systems 28 (NIPS), pages 2377-2385.
353
+ Emma Strubell, Ananya Ganesh, and Andrew McCallum. 2019. Energy and policy considerations for deep learning in NLP. In Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics (ACL), pages 3645-3650.
354
+ Sho Takase and Shun Kiyono. 2021. Rethinking perturbations in encoder-decoders for fast training. In Proceedings of the 2021 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (NAACL-HLT), pages 5767-5780.
355
+ Sho Takase and Naoaki Okazaki. 2019. Positional encoding to control output sequence length. In Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (NAACL), pages 3999-4004.
356
+ Ashish Vaswani, Samy Bengio, Eugene Brevdo, Francois Chollet, Aidan Gomez, Stephan Gouws, Llion Jones, Lukasz Kaiser, Nal Kalchbrenner, Niki Parmar, Ryan Sepassi, Noam Shazeer, and Jakob Uszkoreit. 2018. Tensor2Tensor for neural machine translation. In Proceedings of the 13th Conference of the Association for Machine Translation in the Americas, pages 193-199.
357
+ Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N Gomez, Lukasz Kaiser, and Illia Polosukhin. 2017. Attention is all you need. In Advances in Neural Information Processing Systems 30 (NIPS), pages 5998-6008.
358
+
359
+ Changhan Wang, Yun Tang, Xutai Ma, Anne Wu, Dmytro Okhonko, and Juan Pino. 2020. Fairseq S2T: Fast speech-to-text modeling with fairseq. In Proceedings of the 1st Conference of the Asia-Pacific Chapter of the Association for Computational Linguistics and the 10th International Joint Conference on Natural Language Processing (AACL-IJCNLP), pages 33-39.
360
+ Hongyu Wang, Shuming Ma, Li Dong, Shaohan Huang, Dongdong Zhang, and Furu Wei. 2022. Deepnet: Scaling transformers to 1,000 layers.
361
+ Qiang Wang, Bei Li, Tong Xiao, Jingbo Zhu, Changliang Li, Derek F. Wong, and Lidia S. Chao. 2019. Learning deep transformer models for machine translation. In Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics (ACL), pages 1810-1822.
362
+ Ruibin Xiong, Yunchang Yang, Di He, Kai Zheng, Shuxin Zheng, Chen Xing, Huishuai Zhang, Yanyan Lan, Liwei Wang, and Tie-Yan Liu. 2020. On layer normalization in the transformer architecture. In Proceedings of the 37th International Conference on Machine Learning (ICML), pages 10524-10533.
363
+ Jingjing Xu, Xu Sun, Zhiyuan Zhang, Guangxiang Zhao, and Junyang Lin. 2019. Understanding and improving layer normalization. In Advances in Neural Information Processing Systems (NeurIPS), volume 32.
364
+ Rowan Zellers, Ari Holtzman, Hannah Rashkin, Yonatan Bisk, Ali Farhadi, Franziska Roesner, and Yejin Choi. 2019. Defending against neural fake news. In Advances in Neural Information Processing Systems 32 (NeurIPS), pages 9054-9065.
365
+ Biao Zhang, Ivan Titov, and Rico Sennrich. 2019a. Improving deep transformer with depth-scaled initialization and merged attention. 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 898-909.
366
+ Hongyi Zhang, Yann N. Dauphin, and Tengyu Ma. 2019b. Fixup initialization: Residual learning without normalization. In Proceedings of the 7th International Conference on Learning Representations (ICLR).
367
+
368
+ # A Details of Experimental Settings
369
+
370
+ # A.1 Hyper-parameters
371
+
372
+ As described in Section 6, our hyper-parameters follow those used in previous studies. Table 6 shows hyper-parameters used for each experiment. For fair comparisons, we used the same hyperparameters for all methods except T-Fixup. For T-Fixup, we used hyper-parameters reported in Huang et al. (2020) to prevent divergence.
373
+
374
+ # A.2 Computational Resources
375
+
376
+ We mainly used NVIDIA Tesla P100 GPUs for most of our experiments. Table 7 shows the number of GPUs and the computational time used to construct one model in our experiments. For the 100L-100L configuration, described in Section 6.1, we used 24 Tesla V100 GPUs and spent approximately 120 hours to train one model.
377
+
378
+ # B Supplementary of Gradient Norms of Each Location
379
+
380
+ For gradient norms of each part in a layer, we check 1st and 9th decoders in addition to the 18th decoder for the 18L-18L Post-LN Transformer encoder-decoder as shown in Figure 4. Figure 7 shows the gradient norms of each part. This figure shows that the gradient norms decrease drastically through layer normalizations in the same manner as they do in the 18th decoder (Figure 4). Therefore, the vanishing gradient problem in Post-LN Transformers is probably caused by layer normalizations.
381
+
382
+ # C Details of the 100L-100L Configuration
383
+
384
+ # C.1 Regularizations during the Training
385
+
386
+ As reported in Section 1, we constructed 100L-100L Transformers with widely-used WMT English-to-German dataset. In the preliminary experiments, we found that regularization is the key to preventing overfitting and achieving high performance in this situation. Figure 8 shows the NLL values of Pre-LN and B2T connection on validation data in the 36L-36L configuration when we used the same hyper-parameters as those used in 6L-6L and 18L-18L configurations. As this figure shows, the NLL values began to increase from the middle of training, and thus the overfitting occurred. In addition, the use of the same hyper-parameters as 6L-6L and 18L-18L makes it difficult to improve the performance of deeper configurations. Figure 9 shows the best NLL values on validation data when
387
+
388
+ we varied the number of layers: 6L-6L, 12L-12L, 18L-18L, 36L-36L, and $50\mathrm{L} - 50\mathrm{L}^{11}$ . This figure indicates that adding more layers to the 18L-18L configuration did not improve the performance.
389
+
390
+ To prevent overfitting during the training of 100L-100L Transformers, we increased the dropout rate from 0.3 to 0.5. In addition, we used word dropout, as described in Takase and Kiyono (2021). We set the word dropout rate to 0.1 for the encoder and decoder. We multiplied the initial parameter values, except those for embeddings, by 0.1. We set the gradient clipping to 0.1. Finally, we decreased the number of updates from 50K to 25K. These regularization techniques prevented overfitting and achieved better performance than 18L-18L, as described in Section 6.1.
391
+
392
+ # C.2 Comparison with DeepNet
393
+
394
+ As described in Section 7, various studies have attempted to stabilize the training of deep Transformers. Each study indicated the effectiveness of their proposed method empirically, and some have provided theoretical justifications. However, Wang et al. (2022) demonstrated that the training of previous methods except DeepNet failed in a much deeper configuration than normally used, i.e., 100L-100L. Then, can we conclude that DeepNet is a silver bullet for deep Transformers? It is difficult to reach this conclusion because the training of DeepNet also fails in some configurations. For example, when we train deep Transformers, we might decrease the batch size because the trainable parameters occupy most of the GPU memories. When we tried this, the NLL value of DeepNet on validation data diverged, as shown in Figure 10. In other words, the training of DeepNet failed. In contrast, the training of our B2T connection succeeded in this situation. This result implies that there are problems in the training of deep Transformers that have not been solved in previous studies. Therefore, we believe that we should continue to add the empirical findings about new techniques, including B2T connection, to those of previous studies.
395
+
396
+ # D B2T Connection without Layer Normalization
397
+
398
+ In addition to B2T connection, we also consider a further modification to prevent the vanishing gra
399
+
400
+ <table><tr><td>Params</td><td>Machine Translation</td><td>Abstractive Summarization</td><td>Language Model</td><td>ASR</td></tr><tr><td>Hidden dim size</td><td>512</td><td>512</td><td>1024</td><td>512</td></tr><tr><td>FFN dim size</td><td>2048</td><td>2048</td><td>4096</td><td>2048</td></tr><tr><td>Attention heads</td><td>8</td><td>8</td><td>8</td><td>8</td></tr><tr><td>Learning rate</td><td>0.001</td><td>0.001</td><td>0.001</td><td>0.001</td></tr><tr><td>Scheduler</td><td>inverse sqrt</td><td>inverse sqrt</td><td>inverse sqrt</td><td>inverse sqrt</td></tr><tr><td>Adam β</td><td>(0.9, 0.98)</td><td>(0.9, 0.98)</td><td>(0.9, 0.98)</td><td>(0.9, 0.98)</td></tr><tr><td>Warmup updates</td><td>4K</td><td>4K</td><td>2K</td><td>4K</td></tr><tr><td>Max updates</td><td>50K</td><td>50K</td><td>50K</td><td>150K</td></tr><tr><td>Max tokens / GPU</td><td>3584</td><td>3584</td><td>1024</td><td>40K</td></tr></table>
401
+
402
+ Table 6: Hyper-parameters used in our experiments.
403
+
404
+ <table><tr><td></td><td colspan="2">Machine Translation</td><td colspan="2">Abstractive Summarization</td><td colspan="2">Language Model</td><td colspan="2">ASR</td></tr><tr><td></td><td>6L-6L</td><td>18L-18L</td><td>6L-6L</td><td>18L-18L</td><td>6L</td><td>16L</td><td>6L-6L</td><td>12L-6L</td></tr><tr><td>#GPU</td><td>128</td><td>128</td><td>64</td><td>144</td><td>128</td><td>192</td><td>32</td><td>32</td></tr><tr><td>Time (hour)</td><td>5</td><td>13</td><td>4</td><td>17</td><td>4</td><td>7</td><td>22</td><td>34</td></tr></table>
405
+
406
+ Table 7: The number of GPUs and computational time used to construct one model in our experiments.
407
+
408
+ ![](images/e6aa8afb8448c37bc093ae71567e9f6ebb5c319875060e35efda841937ba0b80.jpg)
409
+ (a) 1st decoder
410
+
411
+ ![](images/237364754199b31a7f01235f43aaeb4770481f077aecc49d064530b9b4360b09.jpg)
412
+ (b) 9th decoder
413
+
414
+ ![](images/5665a345c318451161d547321d683d85e922ef4e2cd2bbc252d134a794dcb91c.jpg)
415
+ Figure 7: Gradient norms of each part in the (a) 1st decoder and (b) 9th decoder of the 18L-18L Post-LN Transformer encoder-decoder on WMT English-to-German translation training data.
416
+
417
+ ![](images/936d275dc7f447d2e5f946bb734a1f1b976a415ea9ea21e386a89c045e4feac1.jpg)
418
+ Figure 8: Negative Log-Likelihood (NLL) values of PreLN and our proposed B2T connection on validation data (newstest2013) in 36L-36L. We used the same hyperparameters as those used in 6L-6L and 18L-18L.
419
+ Figure 9: The best Negative Log-Likelihood (NLL) values on validation data (newstest2013) when the total number of layers is varied. The total number of layers is divided equally between the encoder and decoder.
420
+
421
+ dient problem. Because layer normalizations decrease gradients drastically, as described in Section
422
+
423
+ 3, removing layer normalizations may provide stable gradients during back-propagation. However,
424
+
425
+ ![](images/c6ec098e9b0bb89b04b3533e6c57d00a9ca4c746dd22a09f22a66b291c329302.jpg)
426
+ Figure 10: Negative Log-Likelihood (NLL) values of DeepNet and our proposed B2T connection on validation data (newstest2013) in 100L-100L with a small batch size.
427
+
428
+ the values in the forward pass increase exponentially if layer normalizations are removed. Therefore, we introduce weights that prevent the explosive increase in the forward pass while mitigating the decreasing gradients in back-propagation, as an alternative to the layer normalization. To use this alternative, we replace Equation (5) with the following equation:
429
+
430
+ $$
431
+ \alpha x _ {i n p} + \beta \left(x _ {f f n} + \operatorname {F F N} \left(x _ {f f n}\right)\right). \tag {9}
432
+ $$
433
+
434
+ Through several experiments $^{12}$ , we found that the following values of $\alpha$ and $\beta$ are suitable:
435
+
436
+ $$
437
+ \alpha = \min \left(\frac {N}{1 2}, N ^ {- 0. 1 5}\right), \tag {10}
438
+ $$
439
+
440
+ $$
441
+ \beta = d ^ {- 0. 2}, \tag {11}
442
+ $$
443
+
444
+ where $N$ is the number of layers and $d$ is the dimension of the input vectors $x_{inp}$ . For example, $N$ is set to 12 and 6 in the encoder and decoder, respectively, in the 12L-6L configuration. Therefore, as the number of layers increases, the value of $\alpha$ increases while $N$ remains small (until $N = 9$ ), and then $\alpha$ starts to decrease. In short, $\alpha$ prevents an explosive increase in the forward pass when we stack many layers. $\beta$ decreases as the dimension $d$ increases, and thus it prevents an explosive increase when a large dimension is used. By using Equation (9), we can remove all layer normalizations in internal layers. This solves the vanishing gradient problem caused by layer normalizations.
445
+
446
+ Tables 8 and 9 shows the results of B2T connection without layer normalizations ("w/o LN") on
447
+
448
+ the machine translation and summarization tasks. These results indicate that B2T connection without layer normalizations achieved scores comparable to those of B2T connection with layer normalizations. However, because the results of B2T connection without layer normalizations are slightly worse than those with layer normalizations, we recommend the use of B2T connection with layer normalizations.
449
+
450
+ <table><tr><td>Method</td><td>2010</td><td>2011</td><td>2012</td><td>2013</td><td>2014</td><td>2015</td><td>2016</td><td>Average</td></tr><tr><td colspan="9">Enc-Dec: 6L-6L</td></tr><tr><td rowspan="2">B2T connection + w/o LN</td><td>24.12</td><td>21.93</td><td>22.29</td><td>26.31</td><td>26.84</td><td>29.48</td><td>34.73</td><td>26.53</td></tr><tr><td>24.17</td><td>22.07</td><td>22.24</td><td>25.83</td><td>26.96</td><td>29.70</td><td>34.42</td><td>26.48</td></tr><tr><td colspan="9">Enc-Dec: 18L-18L</td></tr><tr><td rowspan="2">B2T connection + w/o LN</td><td>24.75</td><td>22.88</td><td>23.09</td><td>27.12</td><td>28.82</td><td>30.99</td><td>33.64</td><td>27.33</td></tr><tr><td>24.47</td><td>22.37</td><td>22.58</td><td>27.04</td><td>28.34</td><td>30.49</td><td>34.38</td><td>27.10</td></tr></table>
451
+
452
+ Table 8: BLEU scores of our modifications on WMT newstest2010-2016 and their averages.
453
+
454
+ <table><tr><td>Method</td><td>R-1</td><td>R-2</td><td>R-L</td></tr><tr><td colspan="4">Enc-Dec: 6L-6L</td></tr><tr><td rowspan="2">B2T connection + w/o LN</td><td>38.43</td><td>19.37</td><td>35.72</td></tr><tr><td>38.63</td><td>19.75</td><td>35.77</td></tr><tr><td colspan="4">Enc-Dec: 18L-18L</td></tr><tr><td rowspan="2">B2T connection + w/o LN</td><td>39.61</td><td>20.28</td><td>36.66</td></tr><tr><td>39.29</td><td>20.01</td><td>36.48</td></tr></table>
455
+
456
+ Table 9: F1 based ROUGE scores of our modifications on headline generation.
457
+
458
+ A For every submission:
459
+
460
+ A1. Did you describe the limitations of your work?
461
+
462
+ Limitations section, after Conclusion section
463
+
464
+ A2. Did you discuss any potential risks of your work?
465
+
466
+ Ethics Statement section, after Conclusion section
467
+
468
+ A3. Do the abstract and introduction summarize the paper's main claims?
469
+
470
+ Sections 1 and 8
471
+
472
+ A4. Have you used AI writing assistants when working on this paper?
473
+
474
+ Left blank.
475
+
476
+ B Did you use or create scientific artifacts?
477
+
478
+ Section 5
479
+
480
+ B1. Did you cite the creators of artifacts you used?
481
+
482
+ Sections 6 and 7
483
+
484
+ B2. Did you discuss the license or terms for use and / or distribution of any artifacts?
485
+
486
+ Ethics Statement section
487
+
488
+ B3. Did you discuss if your use of existing artifact(s) was consistent with their intended use, provided that it was specified? For the artifacts you create, do you specify intended use and whether that is compatible with the original access conditions (in particular, derivatives of data accessed for research purposes should not be used outside of research contexts)?
489
+
490
+ Not applicable. Left blank.
491
+
492
+ B4. Did you discuss the steps taken to check whether the data that was collected / used contains any information that names or uniquely identifies individual people or offensive content, and the steps taken to protect / anonymize it?
493
+
494
+ Ethics Statement section
495
+
496
+ B5. Did you provide documentation of the artifacts, e.g., coverage of domains, languages, and linguistic phenomena, demographic groups represented, etc.?
497
+
498
+ Section 6
499
+
500
+ B6. Did you report relevant statistics like the number of examples, details of train / test / dev splits, etc. for the data that you used / created? Even for commonly-used benchmark datasets, include the number of examples in train / validation / test splits, as these provide necessary context for a reader to understand experimental results. For example, small differences in accuracy on large test sets may be significant, while on small test sets they may not be.
501
+
502
+ Section 6
503
+
504
+ C Did you run computational experiments?
505
+
506
+ Section 6 and Appendices A, B, C, and D
507
+
508
+ C1. Did you report the number of parameters in the models used, the total computational budget (e.g., GPU hours), and computing infrastructure used?
509
+
510
+ Appendices A and C
511
+
512
+ The Responsible NLP Checklist used at ACL 2023 is adopted from NAACL 2022, with the addition of a question on AI writing assistance.
513
+
514
+ C2. Did you discuss the experimental setup, including hyperparameter search and best-found hyperparameter values? Appendix A
515
+ C3. Did you report descriptive statistics about your results (e.g., error bars around results, summary statistics from sets of experiments), and is it transparent whether you are reporting the max, mean, etc. or just a single run? Not applicable. Left blank.
516
+ C4. If you used existing packages (e.g., for preprocessing, for normalization, or for evaluation), did you report the implementation, model, and parameter settings used (e.g., NLTK, Spacy, ROUGE, etc.)? Section 6 and Appendices A
517
+
518
+ D Did you use human annotators (e.g., crowdworkers) or research with human participants? Left blank.
519
+
520
+ D1. Did you report the full text of instructions given to participants, including e.g., screenshots, disclaimers of any risks to participants or annotators, etc.? Not applicable. Left blank.
521
+ D2. Did you report information about how you recruited (e.g., crowdsourcing platform, students) and paid participants, and discuss if such payment is adequate given the participants' demographic (e.g., country of residence)? Not applicable. Left blank.
522
+ D3. Did you discuss whether and how consent was obtained from people whose data you're using/curating? For example, if you collected data via crowdsourcing, did your instructions to crowdworkers explain how the data would be used? Not applicable. Left blank.
523
+ D4. Was the data collection protocol approved (or determined exempt) by an ethics review board? Not applicable. Left blank.
524
+ D5. Did you report the basic demographic and geographic characteristics of the annotator population that is the source of the data? Not applicable. Left blank.
2023/B2T Connection_ Serving Stability and Performance in Deep Transformers/images.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f3cf33a894692fc28133032acf2cc4f9cc869aae64c3d96ded1ceb5343fe36e0
3
+ size 794492
2023/B2T Connection_ Serving Stability and Performance in Deep Transformers/layout.json ADDED
The diff for this file is too large to render. See raw diff
 
2023/BLOCSUM_ Block Scope-based Source Code Summarization via Shared Block Representation/bdc012ed-0e12-4395-93e5-cef4ae1613b2_content_list.json ADDED
@@ -0,0 +1,2227 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "type": "text",
4
+ "text": "BLOCSUM: Block Scope-based Source Code Summarization via Shared Block Representation",
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": "YunSeok Choi, Hyojun Kim, Jee-Hyong Lee",
17
+ "bbox": [
18
+ 309,
19
+ 142,
20
+ 692,
21
+ 160
22
+ ],
23
+ "page_idx": 0
24
+ },
25
+ {
26
+ "type": "text",
27
+ "text": "College of Computing and Informatics",
28
+ "bbox": [
29
+ 341,
30
+ 161,
31
+ 658,
32
+ 175
33
+ ],
34
+ "page_idx": 0
35
+ },
36
+ {
37
+ "type": "text",
38
+ "text": "Sungkyunkwan University",
39
+ "bbox": [
40
+ 391,
41
+ 177,
42
+ 608,
43
+ 192
44
+ ],
45
+ "page_idx": 0
46
+ },
47
+ {
48
+ "type": "text",
49
+ "text": "Suwon, South Korea",
50
+ "bbox": [
51
+ 415,
52
+ 193,
53
+ 586,
54
+ 208
55
+ ],
56
+ "page_idx": 0
57
+ },
58
+ {
59
+ "type": "text",
60
+ "text": "{ys.choi, rlagywns0213, john}@skku.edu",
61
+ "bbox": [
62
+ 307,
63
+ 210,
64
+ 694,
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
+ 268
78
+ ],
79
+ "page_idx": 0
80
+ },
81
+ {
82
+ "type": "text",
83
+ "text": "Code summarization, which aims to automatically generate natural language descriptions of the source code, has become an essential task in software development for better program understanding. Abstract Syntax Tree (AST), which represents the syntax structure of the source code, is helpful when utilized together with the sequence of code tokens to improve the quality of code summaries. Recent works on code summarization attempted to capture the sequential and structural information of the source code, but they considered less the property that source code consists of multiple code blocks. In this paper, we propose BLOCSUM, BLOck scope-based source Code SUMmarization via shared block representation that utilizes block-scope information by representing various structures of the code block. We propose a shared block position embedding to effectively represent the structure of code blocks and merge both code and AST. Furthermore, we develop variant ASTs to learn rich information such as block and global dependencies of the source code. To prove our approach, we perform experiments on two real-world datasets, the Java dataset and the Python dataset. We demonstrate the effectiveness of BLOCSUM through various experiments, including ablation studies and a human evaluation.",
84
+ "bbox": [
85
+ 144,
86
+ 278,
87
+ 460,
88
+ 689
89
+ ],
90
+ "page_idx": 0
91
+ },
92
+ {
93
+ "type": "text",
94
+ "text": "1 Introduction",
95
+ "text_level": 1,
96
+ "bbox": [
97
+ 114,
98
+ 701,
99
+ 258,
100
+ 715
101
+ ],
102
+ "page_idx": 0
103
+ },
104
+ {
105
+ "type": "text",
106
+ "text": "A description of source code is very important in software development because it helps developers better understand programs. Advances in deep learning have enabled automatic code summarization and increased software maintenance efficiency. Previous approaches on automatic source code summarization can be categorized into sequence-based, structure-based, and hybrid approaches. Sequence-based approaches generated summaries by capturing the sequential information of source code (Iyer et al., 2016; Allamanis et al., 2016; Liang and Zhu, 2018; Hu et al., 2018b; Wei et al., 2019; Ye et al.,",
107
+ "bbox": [
108
+ 112,
109
+ 726,
110
+ 489,
111
+ 917
112
+ ],
113
+ "page_idx": 0
114
+ },
115
+ {
116
+ "type": "text",
117
+ "text": "2020; Ahmad et al., 2020). They tokenized source code into a sequence of code tokens and encoded them using seq2seq models. Meanwhile, structure-based approaches used Abstract Syntax Tree (AST) to capture the structural information of code (Hu et al., 2018a; Fernandes et al., 2019; Shido et al., 2019; Harer et al., 2019; Zhang et al., 2019; LeClair et al., 2020; Liu et al., 2021; Lin et al., 2021; Allamanis et al., 2018; Wang and Li, 2021; Wu et al., 2021). They parsed the source code into the AST and utilized graph models such as Graph Neural Networks (GNNs). Some works flattened AST into a pre-order traversal sequence (Alon et al., 2019, 2018; LeClair et al., 2019; Wang and Li, 2021; Choi et al., 2021). Hybrid approaches utilized both the token sequence and the ASTs of codes (Wan et al., 2018; Wei et al., 2020; Zhang et al., 2020; Shi et al., 2021). They parallelly processed token sequences and ASTs with independent encoders and tried to merge them in the decoder.",
118
+ "bbox": [
119
+ 507,
120
+ 252,
121
+ 884,
122
+ 574
123
+ ],
124
+ "page_idx": 0
125
+ },
126
+ {
127
+ "type": "text",
128
+ "text": "However, the existing approaches have some limitations. Sequence-based approaches treated the source code as a single statement, so they incorporated only the sequence information of the code without any structural information such as code blocks. Structural information is very important to understand code because a snippet of code can be considered as a hierarchy of blocks.",
129
+ "bbox": [
130
+ 507,
131
+ 577,
132
+ 884,
133
+ 706
134
+ ],
135
+ "page_idx": 0
136
+ },
137
+ {
138
+ "type": "text",
139
+ "text": "Structure-based approaches tried to catch such structural information of code, but they considered less sequential information of code. A snippet of code is a sequence, so sequential information is also important to understand code. Another problem is that they depended only ASTs to capture structural information of code. However, ASTs are not suitable for capturing structural information because they are syntax trees for grammatical purpose. Since the AST is a tree, there is only one path between every pair of nodes. Any two nodes in ASTs are connected, but with a relatively long path, which hinders capturing the structural rela",
140
+ "bbox": [
141
+ 507,
142
+ 709,
143
+ 884,
144
+ 917
145
+ ],
146
+ "page_idx": 0
147
+ },
148
+ {
149
+ "type": "page_number",
150
+ "text": "11427",
151
+ "bbox": [
152
+ 475,
153
+ 927,
154
+ 524,
155
+ 940
156
+ ],
157
+ "page_idx": 0
158
+ },
159
+ {
160
+ "type": "footer",
161
+ "text": "Findings of the Association for Computational Linguistics: ACL 2023, pages 11427-11441",
162
+ "bbox": [
163
+ 220,
164
+ 945,
165
+ 774,
166
+ 958
167
+ ],
168
+ "page_idx": 0
169
+ },
170
+ {
171
+ "type": "footer",
172
+ "text": "July 9-14, 2023 ©2023 Association for Computational Linguistics",
173
+ "bbox": [
174
+ 295,
175
+ 959,
176
+ 700,
177
+ 971
178
+ ],
179
+ "page_idx": 0
180
+ },
181
+ {
182
+ "type": "image",
183
+ "img_path": "images/2422250e06caa6d720fdf4d3b70133bba8410b8201061567976c51650d2c4f81.jpg",
184
+ "image_caption": [
185
+ "(a) Source code"
186
+ ],
187
+ "image_footnote": [],
188
+ "bbox": [
189
+ 126,
190
+ 86,
191
+ 389,
192
+ 268
193
+ ],
194
+ "page_idx": 1
195
+ },
196
+ {
197
+ "type": "image",
198
+ "img_path": "images/b31eba5f051d5d0451bca247d96cd52f89d3395601994eb0d7d2007145119628.jpg",
199
+ "image_caption": [
200
+ "(b) Abstract Syntax Tree",
201
+ "Figure 1: An example of code snippet and its AST in the Java language. (a) The orange box denotes the code block and the number means the index of the code block. (b) The nodes in the orange rectangular box belong to the same block in the AST."
202
+ ],
203
+ "image_footnote": [],
204
+ "bbox": [
205
+ 405,
206
+ 86,
207
+ 873,
208
+ 269
209
+ ],
210
+ "page_idx": 1
211
+ },
212
+ {
213
+ "type": "text",
214
+ "text": "tions of nodes. It causes difficulties in propagating structural information to distant nodes in the AST. Some structure-based approaches tried to alleviate these problems by providing additional graphs such as Control Flow Graph (CFG) and Program Dependence Graph (PDG), but the cost and time required to produce these graphs and integrate them into one graph are not negligible.",
215
+ "bbox": [
216
+ 112,
217
+ 367,
218
+ 487,
219
+ 495
220
+ ],
221
+ "page_idx": 1
222
+ },
223
+ {
224
+ "type": "text",
225
+ "text": "Hybrid approaches utilized both code and its AST. Since both sequential and structural information of code is necessary to understand code, the approaches showed higher performances than the previous ones. However, they failed to effectively merge two different types of information. They simply adopted independent encoders for each of them and tried to merge them in the decoder. Due to independent encoders, their representations are easy to be independent. It will make it hard to effectively merge both sequential information of code and structural information. Since the token sequence and the AST of code are just different descriptions of the same code, they need to be encoded so that they are correlated with each other.",
226
+ "bbox": [
227
+ 112,
228
+ 499,
229
+ 487,
230
+ 739
231
+ ],
232
+ "page_idx": 1
233
+ },
234
+ {
235
+ "type": "text",
236
+ "text": "To address these limitations mentioned above, we exploit the fact that the source code is a set of blocks consisting of multiple statements for a specific purpose. The code tokens in one code block are configured for the same purpose. As shown in Figure 1a, the code block if $\\{\\dots\\}$ (orange) consists of statements that are executed when a certain condition is true. So, it needs to consider the information on which block each code token belongs to. To better capture structural information, we need to give each token not only positional",
237
+ "bbox": [
238
+ 112,
239
+ 741,
240
+ 487,
241
+ 917
242
+ ],
243
+ "page_idx": 1
244
+ },
245
+ {
246
+ "type": "text",
247
+ "text": "information but also block positional information when encoding.",
248
+ "bbox": [
249
+ 507,
250
+ 367,
251
+ 880,
252
+ 398
253
+ ],
254
+ "page_idx": 1
255
+ },
256
+ {
257
+ "type": "text",
258
+ "text": "Since ASTs do not have enough information to capture the structural information of code, we need to modify ASTs. The additional information we try to add is block dependency and global dependency between nodes. For example, as shown in Figure 1b, the node \"max\" in the orange block of AST is only connected to its parent node, \"Statement\", but there exists implicit block dependency that the node \"max\" belongs to the same orange block as the node \"data\" in the purple dashed line. Furthermore, there exists implicit global dependency between nodes. For example, the node \"max\" in the orange box is the same variable as the nodes in the green dashed line. We need to add such information to ASTs.",
259
+ "bbox": [
260
+ 507,
261
+ 401,
262
+ 882,
263
+ 640
264
+ ],
265
+ "page_idx": 1
266
+ },
267
+ {
268
+ "type": "text",
269
+ "text": "Also, we need to match blocks in the token sequence with blocks in the AST. For example, code tokens (\"if\", \"({\", \"data\", ..., \"})\" (orange) in Figure 1a can be mapped to its corresponding nodes in the AST (\"If\", \"data\", ..., \"println\") (orange) in Figure 1b. Here, the block in the code and the block in the AST are the same part with an equal role, so we will utilize information on which block of code corresponds to which block of AST. Such information can make the code and AST correlated, and assist effective merging of two kinds of information.",
270
+ "bbox": [
271
+ 505,
272
+ 644,
273
+ 882,
274
+ 835
275
+ ],
276
+ "page_idx": 1
277
+ },
278
+ {
279
+ "type": "text",
280
+ "text": "In this paper, we propose BLOCSUM, BLOck scope-based source Code SUMmarization via shared block representation that utilizes blockscope information of token sequences and ASTs. First, we propose the shared block position em",
281
+ "bbox": [
282
+ 507,
283
+ 839,
284
+ 884,
285
+ 917
286
+ ],
287
+ "page_idx": 1
288
+ },
289
+ {
290
+ "type": "page_number",
291
+ "text": "11428",
292
+ "bbox": [
293
+ 477,
294
+ 927,
295
+ 524,
296
+ 940
297
+ ],
298
+ "page_idx": 1
299
+ },
300
+ {
301
+ "type": "image",
302
+ "img_path": "images/abe0afa0053a5cf3dc04cdd783ca1d6e7c83350114a2b1e4ddb223c2118ebe8e.jpg",
303
+ "image_caption": [
304
+ "Figure 2: Overview of our proposed approach, BLOCSUM."
305
+ ],
306
+ "image_footnote": [],
307
+ "bbox": [
308
+ 122,
309
+ 92,
310
+ 884,
311
+ 374
312
+ ],
313
+ "page_idx": 2
314
+ },
315
+ {
316
+ "type": "text",
317
+ "text": "beddings for effectively representing the structure of the code block and combining a correlation between the code and the AST encoders. Furthermore, we develop simple yet effective variants of ASTs to learn rich information such as block and global dependencies of the source code. To validate our approach, we perform experiments on the Java dataset and the Python dataset. We prove the superiority of BLOCSUM through various experiments including ablation studies and a human evaluation.",
318
+ "bbox": [
319
+ 112,
320
+ 428,
321
+ 489,
322
+ 587
323
+ ],
324
+ "page_idx": 2
325
+ },
326
+ {
327
+ "type": "text",
328
+ "text": "2 BLOCSUM",
329
+ "text_level": 1,
330
+ "bbox": [
331
+ 112,
332
+ 601,
333
+ 252,
334
+ 615
335
+ ],
336
+ "page_idx": 2
337
+ },
338
+ {
339
+ "type": "text",
340
+ "text": "In this section, we present the details of our model. Figure 2 shows the overall architecture of BLOCSUM. We first introduce the shared block position embedding and the abstract syntax tree variants and explain the architecture of BLOCSUM in detail.",
341
+ "bbox": [
342
+ 112,
343
+ 627,
344
+ 489,
345
+ 708
346
+ ],
347
+ "page_idx": 2
348
+ },
349
+ {
350
+ "type": "text",
351
+ "text": "2.1 Shared Block Position Embedding",
352
+ "text_level": 1,
353
+ "bbox": [
354
+ 112,
355
+ 720,
356
+ 430,
357
+ 736
358
+ ],
359
+ "page_idx": 2
360
+ },
361
+ {
362
+ "type": "text",
363
+ "text": "We suppose that there are code tokens $c_{i}$ in a code snippet $\\mathbf{C} = \\{c_1, c_2, \\ldots\\}$ and AST nodes $n_{i}$ in its AST sequence $\\mathbf{N} = \\{n_1, n_2, \\ldots\\}$ . We aim to predict a summary given the code tokens and the AST nodes.",
364
+ "bbox": [
365
+ 112,
366
+ 741,
367
+ 487,
368
+ 820
369
+ ],
370
+ "page_idx": 2
371
+ },
372
+ {
373
+ "type": "text",
374
+ "text": "Code blocks are the basic structural components of source code. Usually, code tokens in a block are gathered for a certain purpose, so the tokens need to be identified that they are in the same block. To distinguish which blocks are, we assign indexes to each block in the order of blocks in the code. Then",
375
+ "bbox": [
376
+ 112,
377
+ 822,
378
+ 487,
379
+ 917
380
+ ],
381
+ "page_idx": 2
382
+ },
383
+ {
384
+ "type": "text",
385
+ "text": "each token has a block position with an index of the block it belongs to. If the code token is in nested blocks, we choose the innermost block index as the block position.",
386
+ "bbox": [
387
+ 507,
388
+ 428,
389
+ 882,
390
+ 491
391
+ ],
392
+ "page_idx": 2
393
+ },
394
+ {
395
+ "type": "text",
396
+ "text": "In order to utilize the block information of each token, we develop the block position embedding layer. Tokens in the same block have the same block position embedding. The code token embedding for the code encoder, $E_{c}$ , is defined as follows:",
397
+ "bbox": [
398
+ 507,
399
+ 492,
400
+ 882,
401
+ 571
402
+ ],
403
+ "page_idx": 2
404
+ },
405
+ {
406
+ "type": "equation",
407
+ "text": "\n$$\nE _ {c} (t) = W _ {c} (t) + P _ {c} (t) + B _ {c} (t) \\tag {1}\n$$\n",
408
+ "text_format": "latex",
409
+ "bbox": [
410
+ 574,
411
+ 583,
412
+ 880,
413
+ 601
414
+ ],
415
+ "page_idx": 2
416
+ },
417
+ {
418
+ "type": "text",
419
+ "text": "for code token $t$ . In the equation 1, $W_{c}$ , $P_{c}$ , and $B_{c}$ are the word, position, and block position embedding layers for the code encoder, respectively. Two position embeddings, $P_{c}$ and $B_{c}$ , are learnable positional encoding.",
420
+ "bbox": [
421
+ 507,
422
+ 612,
423
+ 882,
424
+ 692
425
+ ],
426
+ "page_idx": 2
427
+ },
428
+ {
429
+ "type": "text",
430
+ "text": "We also combine the AST nodes with block position embeddings to ensure that nodes in the same block have identical block information when node representations are learned by the AST encoder. As with the block position of the code tokens, each node is assigned a block position value. Since the block in the AST is a sub-tree structure in the AST, the node has an index of the sub-tree to which it belongs. Nodes in the same block have the same block positional embedding as code tokens. The AST node embedding for the AST encoder, $E_{s}$ , is defined as follows:",
431
+ "bbox": [
432
+ 507,
433
+ 693,
434
+ 884,
435
+ 885
436
+ ],
437
+ "page_idx": 2
438
+ },
439
+ {
440
+ "type": "equation",
441
+ "text": "\n$$\nE _ {s} (n) = W _ {s} (n) + P _ {s} (n) + B _ {s} (n) \\tag {2}\n$$\n",
442
+ "text_format": "latex",
443
+ "bbox": [
444
+ 564,
445
+ 897,
446
+ 880,
447
+ 914
448
+ ],
449
+ "page_idx": 2
450
+ },
451
+ {
452
+ "type": "page_number",
453
+ "text": "11429",
454
+ "bbox": [
455
+ 477,
456
+ 927,
457
+ 524,
458
+ 940
459
+ ],
460
+ "page_idx": 2
461
+ },
462
+ {
463
+ "type": "image",
464
+ "img_path": "images/3976b24a222534e207b3671b0fe020cadc8f8e2dc90d1d4d7fd593b10db397b2.jpg",
465
+ "image_caption": [
466
+ "(a) AST-original"
467
+ ],
468
+ "image_footnote": [],
469
+ "bbox": [
470
+ 129,
471
+ 84,
472
+ 225,
473
+ 137
474
+ ],
475
+ "page_idx": 3
476
+ },
477
+ {
478
+ "type": "image",
479
+ "img_path": "images/92b79d1e047e4112dcd20804f097201b9a35a88eb80f3651f69679d95502c3d3.jpg",
480
+ "image_caption": [
481
+ "(b) AST-block"
482
+ ],
483
+ "image_footnote": [],
484
+ "bbox": [
485
+ 252,
486
+ 84,
487
+ 344,
488
+ 142
489
+ ],
490
+ "page_idx": 3
491
+ },
492
+ {
493
+ "type": "image",
494
+ "img_path": "images/5d60ee75777c12d2ca60f0bc860850fad1f6c2196e07b3fbd9abb821e469f8ef.jpg",
495
+ "image_caption": [
496
+ "(c) AST-global",
497
+ "Figure 3: We introduce three different types of the AST: (a) AST-original referred as the original AST, (b) AST-block connected by edges between two nodes which are in the same code block, (c) AST-global connected by edges between all the nodes in the AST."
498
+ ],
499
+ "image_footnote": [],
500
+ "bbox": [
501
+ 364,
502
+ 83,
503
+ 478,
504
+ 148
505
+ ],
506
+ "page_idx": 3
507
+ },
508
+ {
509
+ "type": "text",
510
+ "text": "for node $n$ . In Equation 2, $W_{s}$ , $P_{s}$ , and $B_{s}$ are the word, position, and block position embedding layers for the AST encoder, respectively. The position of a node is defined as the position in the pre-order traversal sequence of the AST. Two position embeddings, $P_{s}$ and $B_{s}$ , are also learnable.",
511
+ "bbox": [
512
+ 112,
513
+ 273,
514
+ 487,
515
+ 368
516
+ ],
517
+ "page_idx": 3
518
+ },
519
+ {
520
+ "type": "text",
521
+ "text": "There are two different types of inputs, code and AST, but they are just different descriptions for the same snippet. If two encoders for code and AST learn representations for code tokens and AST nodes separately, their representations will be easy to be independent and very hard to effectively combine both sequential and structural information.",
522
+ "bbox": [
523
+ 112,
524
+ 370,
525
+ 487,
526
+ 480
527
+ ],
528
+ "page_idx": 3
529
+ },
530
+ {
531
+ "type": "text",
532
+ "text": "In order to correlate the representations learned by two encoders, we allow the encoders to share the block position embedding layer. If the code token and the AST node belong to the same block, they will have the same block position embedding value. That is, we utilize additional information on which parts of the code correspond to which parts of the AST to generate better representations. If the block position embedding layers are shared, the embeddings for a token, $t$ , and a node, $n$ are as follows:",
533
+ "bbox": [
534
+ 112,
535
+ 483,
536
+ 487,
537
+ 657
538
+ ],
539
+ "page_idx": 3
540
+ },
541
+ {
542
+ "type": "equation",
543
+ "text": "\n$$\nE _ {c} (t) = W _ {c} (t) + P _ {c} (t) + B (t) \\tag {3}\n$$\n",
544
+ "text_format": "latex",
545
+ "bbox": [
546
+ 179,
547
+ 667,
548
+ 485,
549
+ 683
550
+ ],
551
+ "page_idx": 3
552
+ },
553
+ {
554
+ "type": "equation",
555
+ "text": "\n$$\nE _ {s} (n) = W _ {s} (n) + P _ {s} (n) + B (n) \\tag {4}\n$$\n",
556
+ "text_format": "latex",
557
+ "bbox": [
558
+ 174,
559
+ 687,
560
+ 485,
561
+ 703
562
+ ],
563
+ "page_idx": 3
564
+ },
565
+ {
566
+ "type": "text",
567
+ "text": "where $B$ is the shared block position embedding layer.",
568
+ "bbox": [
569
+ 112,
570
+ 711,
571
+ 485,
572
+ 741
573
+ ],
574
+ "page_idx": 3
575
+ },
576
+ {
577
+ "type": "text",
578
+ "text": "Shared block position embedding can effectively merge the information from two encoders. Also, it helps the code and the AST encoders to capture the structure of source code by providing block information.",
579
+ "bbox": [
580
+ 112,
581
+ 744,
582
+ 487,
583
+ 822
584
+ ],
585
+ "page_idx": 3
586
+ },
587
+ {
588
+ "type": "text",
589
+ "text": "2.2 Abstract Syntax Tree Variants",
590
+ "text_level": 1,
591
+ "bbox": [
592
+ 112,
593
+ 834,
594
+ 398,
595
+ 848
596
+ ],
597
+ "page_idx": 3
598
+ },
599
+ {
600
+ "type": "text",
601
+ "text": "The original AST is a structure in which a node is connected only to its parent and children nodes. It contains local information, but it does not include the entire structure information of the code.",
602
+ "bbox": [
603
+ 112,
604
+ 854,
605
+ 487,
606
+ 917
607
+ ],
608
+ "page_idx": 3
609
+ },
610
+ {
611
+ "type": "text",
612
+ "text": "Two nodes in the same block have implicit block dependency. There is also global dependency that two nodes have the same meaning even if their hop distance is very long. To utilize rich structural information such as block and global dependencies, we develop a simple yet effective method to reconstruct variants of AST. We define three variants of the AST: AST- original, AST-block, and AST-global.",
613
+ "bbox": [
614
+ 507,
615
+ 84,
616
+ 882,
617
+ 212
618
+ ],
619
+ "page_idx": 3
620
+ },
621
+ {
622
+ "type": "text",
623
+ "text": "AST-original is the original AST, which contains information on the local dependency between nodes, as shown in Figure 3a. The variants of AST are graphs of which nodes are the same as those of AST, but of which links are different.",
624
+ "bbox": [
625
+ 507,
626
+ 214,
627
+ 882,
628
+ 292
629
+ ],
630
+ "page_idx": 3
631
+ },
632
+ {
633
+ "type": "text",
634
+ "text": "AST-block is the first variant of AST. We obtain it by removing the edges in AST-original, and adding new edges between the nodes belonging to the same block to represent the block structure information, as shown in Figure 3b. It represents information on the block dependency between nodes in the AST.",
635
+ "bbox": [
636
+ 507,
637
+ 294,
638
+ 882,
639
+ 390
640
+ ],
641
+ "page_idx": 3
642
+ },
643
+ {
644
+ "type": "text",
645
+ "text": "AST-global is the second variant of AST. As shown in Figure 3c, we fully connect all the nodes in the AST. It represents the global and complete dependency between nodes in the AST. If the pre-order sequence of AST-global is learned by graph model, the node representations in the sequence represent context information of the AST.",
646
+ "bbox": [
647
+ 507,
648
+ 392,
649
+ 882,
650
+ 502
651
+ ],
652
+ "page_idx": 3
653
+ },
654
+ {
655
+ "type": "text",
656
+ "text": "Each of the three AST variants represents local, block, and global dependencies between nodes in the AST. When they are learned organically by the AST encoder, node representations will contain rich structural information of the AST.",
657
+ "bbox": [
658
+ 507,
659
+ 504,
660
+ 882,
661
+ 583
662
+ ],
663
+ "page_idx": 3
664
+ },
665
+ {
666
+ "type": "text",
667
+ "text": "2.3 BLOCSUM Architecture",
668
+ "text_level": 1,
669
+ "bbox": [
670
+ 507,
671
+ 596,
672
+ 752,
673
+ 611
674
+ ],
675
+ "page_idx": 3
676
+ },
677
+ {
678
+ "type": "text",
679
+ "text": "Code Encoder Our code transformer encoder consists of 6 transformer layers (Vaswani et al., 2017). Each layer of the code transformer encoder is composed of two layers: multi-head self-attention (Vaswani et al., 2017) and feed-forward network. And residual connection (He et al., 2016) and layer normalization (Ba et al., 2016) are performed on each two sub-layers. The transformer encoder captures the sequential and block information of the code tokens to which the shared block position embedding is added.",
680
+ "bbox": [
681
+ 507,
682
+ 619,
683
+ 882,
684
+ 795
685
+ ],
686
+ "page_idx": 3
687
+ },
688
+ {
689
+ "type": "text",
690
+ "text": "AST Encoder We use Graph Attention Networks (GATs) (Velickovic et al., 2018) for learning three different AST variants defined above: AST-original, AST-block, and AST-global. Our AST encoder consists of 6 multiple GAT encoder layers. Each layer of the AST multiple GAT encoder consists of three GATs for each variant AST. Each GAT captures",
691
+ "bbox": [
692
+ 507,
693
+ 806,
694
+ 882,
695
+ 917
696
+ ],
697
+ "page_idx": 3
698
+ },
699
+ {
700
+ "type": "page_number",
701
+ "text": "11430",
702
+ "bbox": [
703
+ 477,
704
+ 927,
705
+ 524,
706
+ 940
707
+ ],
708
+ "page_idx": 3
709
+ },
710
+ {
711
+ "type": "text",
712
+ "text": "local dependencies for AST-original, block dependencies for AST-block, and global dependencies for AST-global, respectively.",
713
+ "bbox": [
714
+ 112,
715
+ 84,
716
+ 487,
717
+ 131
718
+ ],
719
+ "page_idx": 4
720
+ },
721
+ {
722
+ "type": "text",
723
+ "text": "For the $l$ -th layer of the AST encoder, the process is performed as follows:",
724
+ "bbox": [
725
+ 112,
726
+ 133,
727
+ 485,
728
+ 162
729
+ ],
730
+ "page_idx": 4
731
+ },
732
+ {
733
+ "type": "equation",
734
+ "text": "\n$$\nh _ {l n} ^ {l} = G A T _ {l n} \\left(A _ {l n}, h _ {n} ^ {l - 1}\\right)\n$$\n",
735
+ "text_format": "latex",
736
+ "bbox": [
737
+ 206,
738
+ 172,
739
+ 391,
740
+ 189
741
+ ],
742
+ "page_idx": 4
743
+ },
744
+ {
745
+ "type": "equation",
746
+ "text": "\n$$\nh _ {b n} ^ {l} = G A T _ {b n} \\left(A _ {b n}, h _ {n} ^ {l - 1}\\right) \\tag {5}\n$$\n",
747
+ "text_format": "latex",
748
+ "bbox": [
749
+ 205,
750
+ 193,
751
+ 485,
752
+ 211
753
+ ],
754
+ "page_idx": 4
755
+ },
756
+ {
757
+ "type": "equation",
758
+ "text": "\n$$\nh _ {g n} ^ {l} = G A T _ {g n} (A _ {g n}, h _ {n} ^ {l - 1})\n$$\n",
759
+ "text_format": "latex",
760
+ "bbox": [
761
+ 203,
762
+ 215,
763
+ 396,
764
+ 234
765
+ ],
766
+ "page_idx": 4
767
+ },
768
+ {
769
+ "type": "text",
770
+ "text": "where $GAT_{ln}, GAT_{bn}, GAT_{gn}$ and $A_{ln}, A_{bn}, A_{gn}$ denote the GAT layers for three variant ASTs and the adjacency matrices in the AST-original, AST-block, and AST-global, respectively. Especially, the GAT for AST-global is the same as self-attention for learning the context of all nodes in the AST.",
771
+ "bbox": [
772
+ 112,
773
+ 240,
774
+ 485,
775
+ 336
776
+ ],
777
+ "page_idx": 4
778
+ },
779
+ {
780
+ "type": "text",
781
+ "text": "Finally, the three representations are combined and performed from residual connection and layer normalization by the following equation:",
782
+ "bbox": [
783
+ 112,
784
+ 337,
785
+ 485,
786
+ 385
787
+ ],
788
+ "page_idx": 4
789
+ },
790
+ {
791
+ "type": "equation",
792
+ "text": "\n$$\nh _ {n} ^ {l} = L N \\left(h _ {n} ^ {l - 1} + F F N \\left(h _ {l n} ^ {l}, h _ {b n} ^ {l}, h _ {g n} ^ {l}\\right)\\right) \\tag {6}\n$$\n",
793
+ "text_format": "latex",
794
+ "bbox": [
795
+ 139,
796
+ 393,
797
+ 485,
798
+ 412
799
+ ],
800
+ "page_idx": 4
801
+ },
802
+ {
803
+ "type": "text",
804
+ "text": "where $h_n^l$ is the concatenated node embedding in the $l$ -th layer of AST GAT encoder, $LN$ denotes layer normalization, and $FFN$ is a feed-forward network.",
805
+ "bbox": [
806
+ 112,
807
+ 419,
808
+ 485,
809
+ 482
810
+ ],
811
+ "page_idx": 4
812
+ },
813
+ {
814
+ "type": "text",
815
+ "text": "With the deep AST encoder layers, the node representations combine and propagate the local, block, and global information of the AST.",
816
+ "bbox": [
817
+ 112,
818
+ 483,
819
+ 487,
820
+ 532
821
+ ],
822
+ "page_idx": 4
823
+ },
824
+ {
825
+ "type": "text",
826
+ "text": "Summary Decoder The summary transformer decoder consists of 6 transformer decoder layers (Vaswani et al., 2017). Code token representations are learned with sequence and block information in the code transformer encoder and node representations are learned with local, block, and global dependencies of the code in the AST encoder. Given the code and node representations learned from each encoder, the summary transformer decoder learns to predict the summary of the original code token by fusion of the code and the AST representations. The multi-head self-attention in the decoder is performed sequentially on the code representations and node representations.",
827
+ "bbox": [
828
+ 112,
829
+ 541,
830
+ 487,
831
+ 765
832
+ ],
833
+ "page_idx": 4
834
+ },
835
+ {
836
+ "type": "text",
837
+ "text": "Finally, when the summary transformer decoder predicts the $t$ -th words, the copy mechanism (See et al., 2017) is applied to directly use the code tokens and AST nodes.",
838
+ "bbox": [
839
+ 112,
840
+ 766,
841
+ 487,
842
+ 829
843
+ ],
844
+ "page_idx": 4
845
+ },
846
+ {
847
+ "type": "text",
848
+ "text": "3 Experiment Results",
849
+ "text_level": 1,
850
+ "bbox": [
851
+ 112,
852
+ 841,
853
+ 317,
854
+ 857
855
+ ],
856
+ "page_idx": 4
857
+ },
858
+ {
859
+ "type": "text",
860
+ "text": "3.1 Setup",
861
+ "text_level": 1,
862
+ "bbox": [
863
+ 112,
864
+ 866,
865
+ 206,
866
+ 881
867
+ ],
868
+ "page_idx": 4
869
+ },
870
+ {
871
+ "type": "text",
872
+ "text": "Datasets We evaluate using the benchmarks of the two real-world datasets, the Java dataset (Hu",
873
+ "bbox": [
874
+ 112,
875
+ 887,
876
+ 487,
877
+ 917
878
+ ],
879
+ "page_idx": 4
880
+ },
881
+ {
882
+ "type": "text",
883
+ "text": "et al., 2018b) and the Python dataset (Wan et al., 2018). The experiment datasets are divided into 69,708/8,714/8,714 and 55,538/18,505/18,502 for train-valid/test, respectively. For extracting the AST of each dataset, we used a java parser javalang in the Java dataset and a python parser ast in the Python dataset used by Wan et al. (2018). Refer to Appendix A for the statistics of the datasets in detail.",
884
+ "bbox": [
885
+ 507,
886
+ 84,
887
+ 882,
888
+ 227
889
+ ],
890
+ "page_idx": 4
891
+ },
892
+ {
893
+ "type": "text",
894
+ "text": "Hyper-parameters We set the maximum length of code, AST, and summary to be 200, 200, and 50, respectively. For training the model, we use Adam optimizer (Kingma and Ba, 2015). We set the minibatch size as 80. The maximum training epoch is 100, and if the performance does not improve for 5 epochs, we stop early. Refer to Appendix C for the implementation details.",
895
+ "bbox": [
896
+ 507,
897
+ 239,
898
+ 882,
899
+ 367
900
+ ],
901
+ "page_idx": 4
902
+ },
903
+ {
904
+ "type": "text",
905
+ "text": "Evaluation Metrics We use BLEU (Papineni et al., 2002), METEOR (Banerjee and Lavie, 2005), and ROUGE-L (Lin, 2004) as metrics. We adopt S-BLEU, which indicates the average sentence-level BLEU score. Refer to Appendix B in detail.",
906
+ "bbox": [
907
+ 507,
908
+ 376,
909
+ 882,
910
+ 458
911
+ ],
912
+ "page_idx": 4
913
+ },
914
+ {
915
+ "type": "text",
916
+ "text": "Baselines We adopt seq2seq models (Iyer et al., 2016; Hu et al., 2018a,b; Wei et al., 2019; Ahmad et al., 2020), graph2seq models (Eriguchi et al., 2016; Wan et al., 2018; Wu et al., 2021), hybrid models (Choi et al., 2021; Shi et al., 2021; Wu et al., 2021; Gong et al., 2022), and a pre-trained model CodeBERT (Feng et al., 2020) as the baselines. We fine-tuned the pre-trained model CodeBERT for code summarization.",
917
+ "bbox": [
918
+ 507,
919
+ 467,
920
+ 882,
921
+ 611
922
+ ],
923
+ "page_idx": 4
924
+ },
925
+ {
926
+ "type": "text",
927
+ "text": "3.2 Quantitative Result",
928
+ "text_level": 1,
929
+ "bbox": [
930
+ 507,
931
+ 624,
932
+ 709,
933
+ 639
934
+ ],
935
+ "page_idx": 4
936
+ },
937
+ {
938
+ "type": "text",
939
+ "text": "Overall Result Table 1 shows the overall performance of BLOCSUM and baselines on the Java and Python benchmark datasets. First, we can see that BLOCSUM improves the performance by 4.47 and 2.64 BLEU, 5.68 and 4.66 METEOR, and 4.63 and 3.85 ROUGE-L on the Java and Python datasets compared to the sequence-based approach, TransRel. In comparison with the structure-based approach, SITTransformer, the performance of BLOCSUM improves by 3.29 and 1.05 BLEU, 4.53 and 2.11 METEOR, and 3.84 and 2.23 ROUGE-L on the two datasets. The result shows that it is effective to capture the overall structure of code when AST is utilized together with the sequence of code tokens. Moreover, BLOCSUM performs better than hybrid approaches. Compared to GCNTransformer, the result shows that it",
940
+ "bbox": [
941
+ 507,
942
+ 645,
943
+ 882,
944
+ 917
945
+ ],
946
+ "page_idx": 4
947
+ },
948
+ {
949
+ "type": "page_number",
950
+ "text": "11431",
951
+ "bbox": [
952
+ 477,
953
+ 927,
954
+ 522,
955
+ 940
956
+ ],
957
+ "page_idx": 4
958
+ },
959
+ {
960
+ "type": "table",
961
+ "img_path": "images/eaee703ce4d7d3470df257816010dff289de95be1b1c3f14d5c8e835803872dc.jpg",
962
+ "table_caption": [],
963
+ "table_footnote": [],
964
+ "table_body": "<table><tr><td rowspan=\"2\">Methods</td><td colspan=\"3\">Java</td><td colspan=\"3\">Python</td></tr><tr><td>BLEU</td><td>METEOR</td><td>ROUGE-L</td><td>BLEU</td><td>METEOR</td><td>ROUGE-L</td></tr><tr><td>CODE-NN (Iyer et al., 2016)</td><td>27.60</td><td>12.61</td><td>41.10</td><td>17.36</td><td>09.29</td><td>37.81</td></tr><tr><td>Tree2Seq (Eriguchi et al., 2016)</td><td>37.88</td><td>22.55</td><td>51.50</td><td>20.07</td><td>08.96</td><td>35.64</td></tr><tr><td>RL+Hybrid2Seq (Wan et al., 2018)</td><td>38.22</td><td>22.75</td><td>51.91</td><td>19.28</td><td>09.75</td><td>39.34</td></tr><tr><td>DeepCom (Hu et al., 2018a)</td><td>39.75</td><td>23.06</td><td>52.67</td><td>20.78</td><td>09.98</td><td>37.35</td></tr><tr><td>TL-CodeSum (Hu et al., 2018b)</td><td>41.31</td><td>23.73</td><td>52.25</td><td>15.36</td><td>08.57</td><td>33.65</td></tr><tr><td>Dual Model (Wei et al., 2019)</td><td>42.39</td><td>25.77</td><td>53.61</td><td>21.80</td><td>11.14</td><td>39.45</td></tr><tr><td>Transformer (Ahmad et al., 2020)</td><td>44.58</td><td>26.43</td><td>54.76</td><td>32.52</td><td>19.77</td><td>46.73</td></tr><tr><td>CodeBERT* (Feng et al., 2020)</td><td>41.32</td><td>27.42</td><td>55.33</td><td>30.72</td><td>21.53</td><td>49.93</td></tr><tr><td>GCNTransformer (Choi et al., 2021)</td><td>45.49</td><td>27.17</td><td>54.82</td><td>32.82</td><td>20.12</td><td>46.81</td></tr><tr><td>SiTTransformer (Wu et al., 2021)</td><td>45.76</td><td>27.58</td><td>55.58</td><td>34.11</td><td>21.11</td><td>48.35</td></tr><tr><td>CAST (Shi et al., 2021)</td><td>45.19</td><td>27.88</td><td>55.08</td><td>-</td><td>-</td><td>-</td></tr><tr><td>SCRIPT (Gong et al., 2022)</td><td>46.89</td><td>28.48</td><td>56.69</td><td>34.00</td><td>20.84</td><td>48.15</td></tr><tr><td>BLOCSUM</td><td>49.05</td><td>32.11</td><td>59.42</td><td>35.16</td><td>23.22</td><td>50.58</td></tr></table>",
965
+ "bbox": [
966
+ 137,
967
+ 82,
968
+ 858,
969
+ 287
970
+ ],
971
+ "page_idx": 5
972
+ },
973
+ {
974
+ "type": "text",
975
+ "text": "is more effective to capture both the sequential and structural information of the code considering the local, block, and global dependencies of AST rather than a flattened AST. Also, BLOCSUM considering the correlation between code and node representations performs better than Tripletopos using two independent encoders for the code and AST. Finally, we compared our approach with CodeBERT, a strong pre-trained program language model. BLOCSUM performs significantly better than CodeBERT trained on large code data. The result shows that our approach is more appropriate for code modeling than the pre-trained model in the code summarization task.",
976
+ "bbox": [
977
+ 112,
978
+ 351,
979
+ 489,
980
+ 575
981
+ ],
982
+ "page_idx": 5
983
+ },
984
+ {
985
+ "type": "text",
986
+ "text": "3.3 Qualitative Result",
987
+ "text_level": 1,
988
+ "bbox": [
989
+ 112,
990
+ 589,
991
+ 302,
992
+ 606
993
+ ],
994
+ "page_idx": 5
995
+ },
996
+ {
997
+ "type": "text",
998
+ "text": "Ablation Study we perform ablation studies to validate the effectiveness of shared block position embedding and AST variants on the Java and Python datasets.",
999
+ "bbox": [
1000
+ 112,
1001
+ 611,
1002
+ 487,
1003
+ 674
1004
+ ],
1005
+ "page_idx": 5
1006
+ },
1007
+ {
1008
+ "type": "text",
1009
+ "text": "First, we design five models for comparison to verify the shared block position embedding: 1) not use block position embedding (unuse) 2) only use code block position embedding (code block emb) 3) only use AST block position embedding (ast block emb) 4) use separate block position embedding for code and AST (separate) 5) use shared block position embedding (share).",
1010
+ "bbox": [
1011
+ 112,
1012
+ 677,
1013
+ 487,
1014
+ 804
1015
+ ],
1016
+ "page_idx": 5
1017
+ },
1018
+ {
1019
+ "type": "text",
1020
+ "text": "In Table 2, code block emb and ast block emb have better performance than unuse. This result shows that block position embedding is effective in capturing the block information in each encoder. Also when both code and AST encoder use each separate block position embedding, we can see that it is more effective than only using one block po",
1021
+ "bbox": [
1022
+ 112,
1023
+ 806,
1024
+ 489,
1025
+ 919
1026
+ ],
1027
+ "page_idx": 5
1028
+ },
1029
+ {
1030
+ "type": "table",
1031
+ "img_path": "images/4194577a5effab64e8865e43061c769f68033c582d5efa2d5f81304202ef5233.jpg",
1032
+ "table_caption": [
1033
+ "Table 1: Comparison of our proposed model with the baseline models on the Java and Python datasets. We fine-tuned CodeBERT* with an input length of 200 and an output length of 50 for the two datasets."
1034
+ ],
1035
+ "table_footnote": [],
1036
+ "table_body": "<table><tr><td>Block Pos Emb</td><td>BLEU</td><td>METEOR</td><td>ROUGE-L</td></tr><tr><td colspan=\"4\">Java Dataset</td></tr><tr><td>unused</td><td>48.46</td><td>31.47</td><td>58.65</td></tr><tr><td>code block emb</td><td>48.53</td><td>31.56</td><td>58.63</td></tr><tr><td>ast block emb</td><td>48.54</td><td>31.77</td><td>58.92</td></tr><tr><td>separate</td><td>48.83</td><td>32.06</td><td>59.13</td></tr><tr><td>share</td><td>49.05</td><td>32.11</td><td>59.42</td></tr><tr><td colspan=\"4\">Python Dataset</td></tr><tr><td>unused</td><td>34.33</td><td>22.74</td><td>49.98</td></tr><tr><td>code block emb</td><td>34.50</td><td>22.84</td><td>50.10</td></tr><tr><td>ast block emb</td><td>34.56</td><td>22.83</td><td>50.08</td></tr><tr><td>separate</td><td>34.79</td><td>23.10</td><td>50.33</td></tr><tr><td>share</td><td>35.16</td><td>23.22</td><td>50.58</td></tr></table>",
1037
+ "bbox": [
1038
+ 515,
1039
+ 348,
1040
+ 878,
1041
+ 539
1042
+ ],
1043
+ "page_idx": 5
1044
+ },
1045
+ {
1046
+ "type": "text",
1047
+ "text": "Table 2: Ablation study on shared block position embedding.",
1048
+ "bbox": [
1049
+ 507,
1050
+ 548,
1051
+ 882,
1052
+ 577
1053
+ ],
1054
+ "page_idx": 5
1055
+ },
1056
+ {
1057
+ "type": "text",
1058
+ "text": "sition embedding. Moreover, share has the best performance in comparison with other models. The shared block position embedding can learn the correlation between the code and AST encoders through the block-scope information rather than each separate block position embedding. Shared block position embedding not only effectively captures the structure of the code block, but also helps connect both the code and AST.",
1059
+ "bbox": [
1060
+ 505,
1061
+ 608,
1062
+ 882,
1063
+ 751
1064
+ ],
1065
+ "page_idx": 5
1066
+ },
1067
+ {
1068
+ "type": "text",
1069
+ "text": "Second, we compare our approach with other combinations for verifying the effectiveness of variant ASTs: 1) AST-original (o) 2) AST-block (b), 3) AST-global (g).",
1070
+ "bbox": [
1071
+ 505,
1072
+ 755,
1073
+ 882,
1074
+ 820
1075
+ ],
1076
+ "page_idx": 5
1077
+ },
1078
+ {
1079
+ "type": "text",
1080
+ "text": "As illustrated in Table 3, the results show that leveraging more structural information, such as block or global dependencies, performs better than modeling AST-original with only local dependency. Also, combining AST-original, AST-block, and AST-global has the best performance in comparison with",
1081
+ "bbox": [
1082
+ 507,
1083
+ 822,
1084
+ 884,
1085
+ 917
1086
+ ],
1087
+ "page_idx": 5
1088
+ },
1089
+ {
1090
+ "type": "page_number",
1091
+ "text": "11432",
1092
+ "bbox": [
1093
+ 477,
1094
+ 927,
1095
+ 524,
1096
+ 940
1097
+ ],
1098
+ "page_idx": 5
1099
+ },
1100
+ {
1101
+ "type": "table",
1102
+ "img_path": "images/3d52032c664be3dd03269180d6db5c52b35895ae4a5283b865e7fda63f78a232.jpg",
1103
+ "table_caption": [],
1104
+ "table_footnote": [],
1105
+ "table_body": "<table><tr><td>Combination</td><td>BLEU</td><td>METEOR</td><td>ROUGE-L</td></tr><tr><td colspan=\"4\">Java Dataset</td></tr><tr><td>o</td><td>48.39</td><td>31.73</td><td>58.98</td></tr><tr><td>g</td><td>48.41</td><td>31.63</td><td>58.40</td></tr><tr><td>o + g</td><td>48.76</td><td>31.87</td><td>59.00</td></tr><tr><td>o + b + g</td><td>49.05</td><td>32.11</td><td>59.42</td></tr><tr><td colspan=\"4\">Python Dataset</td></tr><tr><td>o</td><td>34.58</td><td>22.76</td><td>50.14</td></tr><tr><td>g</td><td>34.41</td><td>22.84</td><td>50.01</td></tr><tr><td>o + g</td><td>34.64</td><td>22.87</td><td>50.11</td></tr><tr><td>o + b + g</td><td>35.16</td><td>23.22</td><td>50.58</td></tr></table>",
1106
+ "bbox": [
1107
+ 126,
1108
+ 80,
1109
+ 475,
1110
+ 249
1111
+ ],
1112
+ "page_idx": 6
1113
+ },
1114
+ {
1115
+ "type": "text",
1116
+ "text": "combining other combinations. We demonstrate that utilizing AST variants helps learn rich information such as block and global dependencies of the source code.",
1117
+ "bbox": [
1118
+ 112,
1119
+ 298,
1120
+ 489,
1121
+ 362
1122
+ ],
1123
+ "page_idx": 6
1124
+ },
1125
+ {
1126
+ "type": "text",
1127
+ "text": "Human Evaluation We performed a human evaluation on the Python dataset to demonstrate the quality of generated summaries. We randomly select 100 code snippets and ask three people with knowledge of the Python language to evaluate the summaries. They are CS graduate students with many years of experience in Python languages. Following the human evaluation metrics of (Choi et al., 2021), we ask them to evaluate the 3 following metrics: 1) Fluency (Quality of the summary & grammatically correct), 2) Relevance (Selection of the consistent content in source code), 3) Coverage (Selection of the important content in source code). We show pairs of summaries generated from BLOCSUM and the baseline fine-tuned (Feng et al., 2020) to the evaluators, and they select one of win, tie, and loss in three metrics for both results.",
1128
+ "bbox": [
1129
+ 115,
1130
+ 370,
1131
+ 489,
1132
+ 643
1133
+ ],
1134
+ "page_idx": 6
1135
+ },
1136
+ {
1137
+ "type": "text",
1138
+ "text": "Table 4 shows the results of human evaluation on the generated summaries on the Python dataset. The scores of fluency is lower, but the relevance and coverage are very higher than the baseline, CodeBERT. We analyzed the generated summaries of the two models and identified that BLOCSUM generates it similarly to the ground truth, reflecting the keyword of the code. CodeBERT, a pretrained language model, can generate more fluent and grammatical summaries, but the length is relatively short and a very plain summary with no keywords. The average tokens in the ground truth are 10.14, while the average tokens in summaries generated by BLOCSUM and CodeBERT are 9.91 and 8.16, respectively. We think that short sentences are more grammatically advantageous than long sentences. BLOCSUM has the highest tie in terms",
1139
+ "bbox": [
1140
+ 112,
1141
+ 645,
1142
+ 489,
1143
+ 917
1144
+ ],
1145
+ "page_idx": 6
1146
+ },
1147
+ {
1148
+ "type": "table",
1149
+ "img_path": "images/b0ee04bce0d4002c443a7a2449423f755e6ebf72db4c707cd5be4287afbd8152.jpg",
1150
+ "table_caption": [
1151
+ "Table 3: Ablation study on combination of AST variants."
1152
+ ],
1153
+ "table_footnote": [],
1154
+ "table_body": "<table><tr><td></td><td>Fluency</td><td>Relevance</td><td>Coverage</td></tr><tr><td>Win</td><td>76</td><td>143</td><td>125</td></tr><tr><td>Tie</td><td>114</td><td>64</td><td>80</td></tr><tr><td>Loss</td><td>110</td><td>93</td><td>95</td></tr></table>",
1155
+ "bbox": [
1156
+ 549,
1157
+ 80,
1158
+ 842,
1159
+ 146
1160
+ ],
1161
+ "page_idx": 6
1162
+ },
1163
+ {
1164
+ "type": "text",
1165
+ "text": "Table 4: Human evaluation of the appropriateness of the generated adversarial example on the Python dataset.",
1166
+ "bbox": [
1167
+ 507,
1168
+ 155,
1169
+ 880,
1170
+ 185
1171
+ ],
1172
+ "page_idx": 6
1173
+ },
1174
+ {
1175
+ "type": "text",
1176
+ "text": "of fluency but the highest win in terms of relevance and coverage. The result means that BLOCSUM reflects more the core characteristic of the code than CodeBERT.",
1177
+ "bbox": [
1178
+ 507,
1179
+ 216,
1180
+ 882,
1181
+ 279
1182
+ ],
1183
+ "page_idx": 6
1184
+ },
1185
+ {
1186
+ "type": "text",
1187
+ "text": "Comparison with the baselines Table 5 shows the summary examples generated from our proposed model on the Python dataset. The result on the Python dataset example shows BLOCSUM predicts the keywords \"wsgi\" and \"request\" by reflecting block-scope information. Although there is no dependency between two words in the code and the original AST, BLOCSUM utilizes three different types of AST variants and jointly learns structural dependency in three aspects to improve the performance of the model. Refer to Appendix D for more summary examples on the Java and Python datasets.",
1188
+ "bbox": [
1189
+ 507,
1190
+ 300,
1191
+ 884,
1192
+ 508
1193
+ ],
1194
+ "page_idx": 6
1195
+ },
1196
+ {
1197
+ "type": "text",
1198
+ "text": "4 Related Work",
1199
+ "text_level": 1,
1200
+ "bbox": [
1201
+ 507,
1202
+ 532,
1203
+ 665,
1204
+ 546
1205
+ ],
1206
+ "page_idx": 6
1207
+ },
1208
+ {
1209
+ "type": "text",
1210
+ "text": "Sequence-based Approaches Iyer et al. (2016) and Allamanis et al. (2016) proposed to use Long Short Term Memory (LSTM) and Convolutional Neural Networks (CNNs) for the source code summarization. Liang and Zhu (2018) proposed a tree-based recursive neural network to represent the syntax tree of code. Hu et al. (2018b) and Chen et al. (2021) summarized the source code with the APIs knowledge. Wei et al. (2019) used a dual training framework by training code summarization and code generation tasks. Also, Ye et al. (2020) considered the probabilistic correlation between the two tasks. Choi et al. (2020) proposed attention-based keyword memory networks for code summarization. Ahmad et al. (2020) proposed a Transformer model using a relative position. However, these approaches have limitations in that they did not explicitly incorporate the structural information of the source code, which is just as crucial as capturing the code semantics. Also, they did not learn the code block information because they learned the code as a sequence of tokens.",
1211
+ "bbox": [
1212
+ 507,
1213
+ 565,
1214
+ 884,
1215
+ 917
1216
+ ],
1217
+ "page_idx": 6
1218
+ },
1219
+ {
1220
+ "type": "page_number",
1221
+ "text": "11433",
1222
+ "bbox": [
1223
+ 477,
1224
+ 927,
1225
+ 524,
1226
+ 940
1227
+ ],
1228
+ "page_idx": 6
1229
+ },
1230
+ {
1231
+ "type": "table",
1232
+ "img_path": "images/c9de8851c7fdc3e9b273dea54dac3a1b81ebc719df53e860afaac0a2292c1f0a.jpg",
1233
+ "table_caption": [],
1234
+ "table_footnote": [],
1235
+ "table_body": "<table><tr><td>Python Code</td><td>def simulate_request(app, method=&#x27;GET&#x27;, path=&#x27;/&#x27;, query_string=None, headers=None, body=None, fileRIAWRER=None, params=None, params_csv=True): if (not path.startswith(&#x27;/&#x27;)) : raise ValueError(&quot;path must start with &#x27;/&quot;) if (query_string and query_string.startswith(&#x27;?&#x27;)) : raise ValueError(&quot;query_string should not start with &#x27;?&#x27;) if (&#x27;?&#x27; in path): raise ValueError(&#x27;path may not contain a query string. Please use the query_string parameter instead.&#x27;) if (query_string is None): query_string = to_query_str(parms, comma delimitedLists=params_csv, prefix=False) env = helpers.create_environ(method=method, path=path, query_string=(query_string or ), headers=headers, body=body, file wraps=file wraps) srmock = StartResponseMock( ) validator = wsgirefvalidate_validator(app) iterable = validator(env, smock) result = Result(iterable, smock.status, smockHeaders) return result</td></tr><tr><td>Ground Truth CodeBERT BLOCSUM</td><td>simulate a request to a wsgi application . simulate a wsgi environment . simulate a request to a wsgi request .</td></tr></table>",
1236
+ "bbox": [
1237
+ 127,
1238
+ 82,
1239
+ 872,
1240
+ 349
1241
+ ],
1242
+ "page_idx": 7
1243
+ },
1244
+ {
1245
+ "type": "text",
1246
+ "text": "Table 5: A qualitative example on the Python dataset.",
1247
+ "bbox": [
1248
+ 315,
1249
+ 357,
1250
+ 678,
1251
+ 373
1252
+ ],
1253
+ "page_idx": 7
1254
+ },
1255
+ {
1256
+ "type": "text",
1257
+ "text": "Structure-based Approaches Hu et al. (2018a) proposed an RNN-based model using the pre-order traversal sequence as input. Shido et al. (2019); Harer et al. (2019) adopted Tree-LSTM, TreeTransformer to encode tree-based inputs. LeClair et al. (2020) proposed encoded AST using graph neural networks and trained LSTM. Liu et al. (2021) proposed a retrieval augmented method with Graph Neural Network (GNN). Zhang et al. (2019) proposed AST-based Neural Network (ASTNN) for encoding the subtree. Lin et al. (2021) proposed Tree-LSTM to represent the split AST for code summarization. Li et al. (2021) leverage the retrieve-and-edit framework to improve the performance for code summarization. Allamanis et al. (2018), Wang and Li (2021), and Wu et al. (2021) tried to capture rich information using additional graphs such as CFG and PDG. But, these approaches considered only the structural information of the AST without considering the sequential information of the code token.",
1258
+ "bbox": [
1259
+ 112,
1260
+ 398,
1261
+ 489,
1262
+ 734
1263
+ ],
1264
+ "page_idx": 7
1265
+ },
1266
+ {
1267
+ "type": "text",
1268
+ "text": "Hybrid Approaches Alon et al. (2019) leveraged the unique syntactic structure of programming languages by sampling paths in the AST of a code snippet. LeClair et al. (2019) proposed ast-attendgru model that combines code with structure from AST Also, Choi et al. (2021) proposed a model that combines Graph Convolution Network and Transformer using AST. Wu et al. (2021) incorporated a multiview graph matrix into the transformer model. Shi et al. (2021) tried to hierarchically split and",
1269
+ "bbox": [
1270
+ 112,
1271
+ 758,
1272
+ 489,
1273
+ 917
1274
+ ],
1275
+ "page_idx": 7
1276
+ },
1277
+ {
1278
+ "type": "text",
1279
+ "text": "reconstruct ASTs using Recursive Neural Network for learning the representation of the complete AST. Wan et al. (2018) used a deep reinforcement learning framework to consider an AST structure and code snippets. Gong et al. (2022) proposed a structural position method to augment the structural correlations between code tokens. But, they encoded two types of representations independently without correlation and did not consider merging them.",
1280
+ "bbox": [
1281
+ 507,
1282
+ 398,
1283
+ 884,
1284
+ 543
1285
+ ],
1286
+ "page_idx": 7
1287
+ },
1288
+ {
1289
+ "type": "text",
1290
+ "text": "Zhang et al. (2020) proposed a retrieval-based approach using syntactic and semantic similarity for source code summarization. Liu et al. (2021) proposed a hybrid GNN using a retrieval augmented graph method. Wei et al. (2020) proposed a comment generation framework using AST, similar code, and exemplar from code. Choi et al. (2023) proposed a self-attention network that adaptively learns the structural and sequential information of code. But, they tried to model the code using more code information through retrieval methods.",
1291
+ "bbox": [
1292
+ 507,
1293
+ 543,
1294
+ 884,
1295
+ 719
1296
+ ],
1297
+ "page_idx": 7
1298
+ },
1299
+ {
1300
+ "type": "text",
1301
+ "text": "5 Conclusion",
1302
+ "text_level": 1,
1303
+ "bbox": [
1304
+ 507,
1305
+ 732,
1306
+ 640,
1307
+ 747
1308
+ ],
1309
+ "page_idx": 7
1310
+ },
1311
+ {
1312
+ "type": "text",
1313
+ "text": "In this paper, we proposed BLOCSUM, BLOck scope-based source Code SUMmarization via shared block representation that utilizes blockscope information by representing various structures of the code block. We designed two methods using the fact that a code block is a fundamental structural component of the source code. We propose the first method, the shared block position embedding, for effectively representing the structure of the code block and merging a correlation",
1314
+ "bbox": [
1315
+ 507,
1316
+ 758,
1317
+ 884,
1318
+ 917
1319
+ ],
1320
+ "page_idx": 7
1321
+ },
1322
+ {
1323
+ "type": "page_number",
1324
+ "text": "11434",
1325
+ "bbox": [
1326
+ 477,
1327
+ 927,
1328
+ 524,
1329
+ 940
1330
+ ],
1331
+ "page_idx": 7
1332
+ },
1333
+ {
1334
+ "type": "text",
1335
+ "text": "between the code and the AST encoders. Furthermore, we developed to reconstruct simple yet effective AST variants to learn rich information such as block and global dependencies of the source code. Experimental results demonstrated the effectiveness of BLOCSUM and confirmed the importance of block-scope information in the code.",
1336
+ "bbox": [
1337
+ 112,
1338
+ 84,
1339
+ 490,
1340
+ 197
1341
+ ],
1342
+ "page_idx": 8
1343
+ },
1344
+ {
1345
+ "type": "text",
1346
+ "text": "Limitations",
1347
+ "text_level": 1,
1348
+ "bbox": [
1349
+ 114,
1350
+ 218,
1351
+ 220,
1352
+ 233
1353
+ ],
1354
+ "page_idx": 8
1355
+ },
1356
+ {
1357
+ "type": "text",
1358
+ "text": "In this paper, we conducted an experiment on code summarization using two benchmark datasets, the Java dataset (Hu et al., 2018b) and the Python dataset (Wan et al., 2018). BLOCSUM may need to be tested for its generalizability to other program languages. We chose two program languages (Java and Python) that were easily parsed to map the block position of Code and AST. We believe that since other programming languages have similar syntactic structures, BLOCSUM should be able to achieve similar performance on them as well.",
1359
+ "bbox": [
1360
+ 112,
1361
+ 250,
1362
+ 489,
1363
+ 428
1364
+ ],
1365
+ "page_idx": 8
1366
+ },
1367
+ {
1368
+ "type": "text",
1369
+ "text": "Ethics Statement",
1370
+ "text_level": 1,
1371
+ "bbox": [
1372
+ 114,
1373
+ 448,
1374
+ 265,
1375
+ 462
1376
+ ],
1377
+ "page_idx": 8
1378
+ },
1379
+ {
1380
+ "type": "text",
1381
+ "text": "This paper proposes block scope-based source code summarization via shared block representation that utilizes block-scope information by representing various structures of the code block, which is beneficial to increase the efficiency of developers. The research conducted in this paper will not cause any ethical issues or have any negative social effects. The data used is all publicly accessible and is commonly used by researchers as a benchmark for program and language generation tasks. Our proposed method does not introduce any ethical or social bias or worsen any existing bias in the data.",
1382
+ "bbox": [
1383
+ 112,
1384
+ 480,
1385
+ 489,
1386
+ 674
1387
+ ],
1388
+ "page_idx": 8
1389
+ },
1390
+ {
1391
+ "type": "text",
1392
+ "text": "Acknowledgements",
1393
+ "text_level": 1,
1394
+ "bbox": [
1395
+ 114,
1396
+ 694,
1397
+ 285,
1398
+ 709
1399
+ ],
1400
+ "page_idx": 8
1401
+ },
1402
+ {
1403
+ "type": "text",
1404
+ "text": "This work was supported by Institute of Information & communications Technology Planning & Evaluation(IITP) grant funded by the Korea government(MSIT) (No.2019-0-00421, AI Graduate School Support Program(Sungkyunkwan University)) This research was supported by the MSIT(Ministry of Science and ICT), Korea, under the ICT Creative Consilience Program(IITP-2023-2020-0-01821) supervised by the IITP(Institute for Information & communications Technology Planning & Evaluation)",
1405
+ "bbox": [
1406
+ 112,
1407
+ 726,
1408
+ 490,
1409
+ 903
1410
+ ],
1411
+ "page_idx": 8
1412
+ },
1413
+ {
1414
+ "type": "text",
1415
+ "text": "References",
1416
+ "text_level": 1,
1417
+ "bbox": [
1418
+ 510,
1419
+ 83,
1420
+ 608,
1421
+ 98
1422
+ ],
1423
+ "page_idx": 8
1424
+ },
1425
+ {
1426
+ "type": "list",
1427
+ "sub_type": "ref_text",
1428
+ "list_items": [
1429
+ "Wasi Ahmad, Saikat Chakraborty, Baishakhi Ray, and Kai-Wei Chang. 2020. A transformer-based approach for source code summarization. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pages 4998-5007, Online. Association for Computational Linguistics.",
1430
+ "Miltiadis Allamanis, Marc Brockschmidt, and Mahmoud Khademi. 2018. Learning to represent programs with graphs. In 6th International Conference on Learning Representations, ICLR 2018, Vancouver, BC, Canada, April 30 - May 3, 2018, Conference Track Proceedings. OpenReview.net.",
1431
+ "Miltiadis Allamanis, Hao Peng, and Charles Sutton. 2016. A convolutional attention network for extreme summarization of source code. In Proceedings of the 33nd International Conference on Machine Learning, ICML 2016, New York City, NY, USA, June 19-24, 2016, volume 48 of JMLR Workshop and Conference Proceedings, pages 2091-2100. JMLR.org.",
1432
+ "Uri Alon, Shaked Brody, Omer Levy, and Eran Yahav. 2019. code2seq: Generating sequences from structured representations of code. In 7th International Conference on Learning Representations, ICLR 2019, New Orleans, LA, USA, May 6-9, 2019. OpenReview.net.",
1433
+ "Uri Alon, Meital Zilberstein, Omer Levy, and Eran Yahav. 2018. code2vec: Learning distributed representations of code.",
1434
+ "Jimmy Lei Ba, Jamie Ryan Kiros, and Geoffrey E Hinton. 2016. Layer normalization. *ArXiv preprint*, abs/1607.06450.",
1435
+ "Satanjeev Banerjee and Alon Lavie. 2005. METEOR: An automatic metric for MT evaluation with improved correlation with human judgments. In Proceedings of the ACL Workshop on Intrinsic and Extrinsic Evaluation Measures for Machine Translation and/or Summarization, pages 65-72, Ann Arbor, Michigan. Association for Computational Linguistics.",
1436
+ "Fuxiang Chen, Mijung Kim, and Jaegul Choo. 2021. Novel natural language summarization of program code via leveraging multiple input representations. In *Findings of the Association for Computational Linguistics: EMNLP* 2021, pages 2510-2520, Punta Cana, Dominican Republic. Association for Computational Linguistics.",
1437
+ "YunSeok Choi, JinYeong Bak, CheolWon Na, and JeeHyong Lee. 2021. Learning sequential and structural information for source code summarization. In *Findings of the Association for Computational Linguistics: ACL-IJCNLP* 2021, pages 2842–2851, Online. Association for Computational Linguistics.",
1438
+ "YunSeok Choi, Suah Kim, and Jee-Hyong Lee. 2020. Source code summarization using attention-based"
1439
+ ],
1440
+ "bbox": [
1441
+ 510,
1442
+ 107,
1443
+ 885,
1444
+ 917
1445
+ ],
1446
+ "page_idx": 8
1447
+ },
1448
+ {
1449
+ "type": "page_number",
1450
+ "text": "11435",
1451
+ "bbox": [
1452
+ 477,
1453
+ 927,
1454
+ 524,
1455
+ 940
1456
+ ],
1457
+ "page_idx": 8
1458
+ },
1459
+ {
1460
+ "type": "list",
1461
+ "sub_type": "ref_text",
1462
+ "list_items": [
1463
+ "keyword memory networks. In 2020 IEEE International Conference on Big Data and Smart Computing (BigComp), pages 564-570. IEEE.",
1464
+ "YunSeok Choi, CheolWon Na, Hyojun Kim, and JeeHyong Lee. 2023. Readsum: Retrieval-augmented adaptive transformer for source code summarization. IEEE Access.",
1465
+ "Akiko Eriguchi, Kazuma Hashimoto, and Yoshimasa Tsuruoka. 2016. Tree-to-sequence attentional neural machine translation. In Proceedings of the 54th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 823-833, Berlin, Germany. Association for Computational Linguistics.",
1466
+ "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, pages 1536-1547, Online. Association for Computational Linguistics.",
1467
+ "Patrick Fernandes, Miltiadis Allamanis, and Marc Brockschmidt. 2019. Structured neural summarization. In 7th International Conference on Learning Representations, ICLR 2019, New Orleans, LA, USA, May 6-9, 2019. OpenReview.net.",
1468
+ "Zi Gong, Cuiyun Gao, Yasheng Wang, Wenchao Gu, Yun Peng, and Zenglin Xu. 2022. Source code summarization with structural relative position guided transformer. arXiv preprint arXiv:2202.06521.",
1469
+ "Jacob Harer, Chris Reale, and Peter Chin. 2019. Tree-transformer: A transformer-based method for correction of tree-structured data. ArXiv preprint, abs/1908.00449.",
1470
+ "Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. 2016. Deep residual learning for image recognition. In 2016 IEEE Conference on Computer Vision and Pattern Recognition, CVPR 2016, Las Vegas, NV, USA, June 27-30, 2016, pages 770-778. IEEE Computer Society.",
1471
+ "Xing Hu, Ge Li, Xin Xia, David Lo, and Zhi Jin. 2018a. Deep code comment generation. In 2018 IEEE/ACM 26th International Conference on Program Comprehension (ICPC), pages 200-20010. IEEE.",
1472
+ "Xing Hu, Ge Li, Xin Xia, David Lo, Shuai Lu, and Zhi Jin. 2018b. Summarizing source code with transferred API knowledge. In Proceedings of the Twenty-Seventh International Joint Conference on Artificial Intelligence, IJCAI 2018, July 13-19, 2018, Stockholm, Sweden, pages 2269-2275. ijcai.org.",
1473
+ "Srinivasan Iyer, Ioannis Konstas, Alvin Cheung, and Luke Zettlemoyer. 2016. Summarizing source code using a neural attention model. In Proceedings of the 54th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages"
1474
+ ],
1475
+ "bbox": [
1476
+ 115,
1477
+ 85,
1478
+ 489,
1479
+ 917
1480
+ ],
1481
+ "page_idx": 9
1482
+ },
1483
+ {
1484
+ "type": "list",
1485
+ "sub_type": "ref_text",
1486
+ "list_items": [
1487
+ "2073-2083, Berlin, Germany. Association for Computational Linguistics.",
1488
+ "Diederik P. Kingma and Jimmy Ba. 2015. Adam: A method for stochastic optimization. In 3rd International Conference on Learning Representations, ICLR 2015, San Diego, CA, USA, May 7-9, 2015, Conference Track Proceedings.",
1489
+ "Alexander LeClair, Sakib Haque, Lingfei Wu, and Collin McMillan. 2020. Improved code summarization via a graph neural network. volume abs/2004.02843.",
1490
+ "Alexander LeClair, Siyuan Jiang, and Collin McMillan. 2019. A neural model for generating natural language summaries of program subroutines. In 2019 IEEE/ACM 41st International Conference on Software Engineering (ICSE), pages 795-806. IEEE.",
1491
+ "Jia Li, Yongmin Li, Ge Li, Xing Hu, Xin Xia, and Zhi Jin. 2021. Editsum: A retrieve-and-edit framework for source code summarization. In 2021 36th IEEE/ACM International Conference on Automated Software Engineering (ASE), pages 155-166. IEEE.",
1492
+ "Yuding Liang and Kenny Qili Zhu. 2018. Automatic generation of text descriptive comments for code blocks. In Proceedings of the Thirty-Second AAAI Conference on Artificial Intelligence, (AAAI-18), the 30th innovative Applications of Artificial Intelligence (IAAI-18), and the 8th AAAI Symposium on Educational Advances in Artificial Intelligence (EAAI-18), New Orleans, Louisiana, USA, February 2-7, 2018, pages 5229-5236. AAAI Press.",
1493
+ "Chen Lin, Zhichao Ouyang, Junqing Zhuang, Jianqiang Chen, Hui Li, and Rongxin Wu. 2021. Improving code summarization with block-wise abstract syntax tree splitting. In 2021 IEEE/ACM 29th International Conference on Program Comprehension (ICPC), pages 184-195. IEEE.",
1494
+ "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.",
1495
+ "Shangqing Liu, Yu Chen, Xiaofei Xie, Jing Kai Siow, and Yang Liu. 2021. Retrieval-augmented generation for code summarization via hybrid GNN. In 9th International Conference on Learning Representations, ICLR 2021, Virtual Event, Austria, May 3-7, 2021. OpenReview.net.",
1496
+ "Kishore Papineni, Salim Roukos, Todd Ward, and Wei Jing Zhu. 2002. Bleu: a method for automatic evaluation of machine translation. In Proceedings of the 40th Annual Meeting of the Association for Computational Linguistics, pages 311-318, Philadelphia, Pennsylvania, USA. Association for Computational Linguistics.",
1497
+ "Abigail See, Peter J. Liu, and Christopher D. Manning. 2017. Get to the point: Summarization with pointer-generator networks. In Proceedings of the 55th Annual Meeting of the Association for Computational"
1498
+ ],
1499
+ "bbox": [
1500
+ 510,
1501
+ 85,
1502
+ 882,
1503
+ 917
1504
+ ],
1505
+ "page_idx": 9
1506
+ },
1507
+ {
1508
+ "type": "page_number",
1509
+ "text": "11436",
1510
+ "bbox": [
1511
+ 477,
1512
+ 928,
1513
+ 524,
1514
+ 940
1515
+ ],
1516
+ "page_idx": 9
1517
+ },
1518
+ {
1519
+ "type": "list",
1520
+ "sub_type": "ref_text",
1521
+ "list_items": [
1522
+ "Linguistics (Volume 1: Long Papers), pages 1073-1083, Vancouver, Canada. Association for Computational Linguistics.",
1523
+ "Ensheng Shi, Yanlin Wang, Lun Du, Hongyu Zhang, Shi Han, Dongmei Zhang, and Hongbin Sun. 2021. CAST: Enhancing code summarization with hierarchical splitting and reconstruction of abstract syntax trees. In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing, pages 4053-4062, Online and Punta Cana, Dominican Republic. Association for Computational Linguistics.",
1524
+ "Yusuke Shido, Yasuaki Kobayashi, Akihiro Yamamoto, Atsushi Miyamoto, and Tadayuki Matsumura. 2019. Automatic source code summarization with extended tree-lstm. volume abs/1906.08094.",
1525
+ "Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N. Gomez, Lukasz Kaiser, and Illia Polosukhin. 2017. Attention is all you need. In Advances in Neural Information Processing Systems 30: Annual Conference on Neural Information Processing Systems 2017, December 4-9, 2017, Long Beach, CA, USA, pages 5998-6008.",
1526
+ "Petar Velickovic, Guillem Cucurull, Arantxa Casanova, Adriana Romero, Pietro Liò, and Yoshua Bengio. 2018. Graph attention networks. In 6th International Conference on Learning Representations, ICLR 2018, Vancouver, BC, Canada, April 30 - May 3, 2018, Conference Track Proceedings. OpenReview.net.",
1527
+ "Yao Wan, Zhou Zhao, Min Yang, Guandong Xu, Haochao Ying, Jian Wu, and Philip S Yu. 2018. Improving automatic source code summarization via deep reinforcement learning. In Proceedings of the 33rd ACM/IEEE International Conference on Automated Software Engineering, pages 397-407.",
1528
+ "Yanlin Wang and Hui Li. 2021. Code completion by modeling flattened abstract syntax trees as graphs. In AAAI.",
1529
+ "Bolin Wei, Ge Li, Xin Xia, Zhiyi Fu, and Zhi Jin. 2019. Code generation as a dual task of code summarization. In Advances in Neural Information Processing Systems 32: Annual Conference on Neural Information Processing Systems 2019, NeurIPS 2019, December 8-14, 2019, Vancouver, BC, Canada, pages 6559-6569.",
1530
+ "Bolin Wei, Yongmin Li, Ge Li, Xin Xia, and Zhi Jin. 2020. Retrieve and refine: exemplar-based neural comment generation. In 2020 35th IEEE/ACM International Conference on Automated Software Engineering (ASE), pages 349-360. IEEE.",
1531
+ "Hongqiu Wu, Hai Zhao, and Min Zhang. 2021. Code summarization with structure-induced transformer. In *Findings of the Association for Computational Linguistics: ACL-IJCNLP* 2021, pages 1078-1090, Online. Association for Computational Linguistics."
1532
+ ],
1533
+ "bbox": [
1534
+ 115,
1535
+ 85,
1536
+ 489,
1537
+ 917
1538
+ ],
1539
+ "page_idx": 10
1540
+ },
1541
+ {
1542
+ "type": "list",
1543
+ "sub_type": "ref_text",
1544
+ "list_items": [
1545
+ "Wei Ye, Rui Xie, Jinglei Zhang, Tianxiang Hu, Xiaoyin Wang, and Shikun Zhang. 2020. Leveraging code generation to improve code retrieval and summarization via dual learning. In WWW '20: The Web Conference 2020, Taipei, Taiwan, April 20-24, 2020, pages 2309-2319. ACM / IW3C2.",
1546
+ "Jian Zhang, Xu Wang, Hongyu Zhang, Hailong Sun, and Xudong Liu. 2020. Retrieval-based neural source code summarization. In 2020 IEEE/ACM 42nd International Conference on Software Engineering (ICSE), pages 1385-1397. IEEE.",
1547
+ "Jian Zhang, Xu Wang, Hongyu Zhang, Hailong Sun, Kaixuan Wang, and Xudong Liu. 2019. A novel neural source code representation based on abstract syntax tree. In 2019 IEEE/ACM 41st International Conference on Software Engineering (ICSE), pages 783-794. IEEE."
1548
+ ],
1549
+ "bbox": [
1550
+ 510,
1551
+ 85,
1552
+ 882,
1553
+ 326
1554
+ ],
1555
+ "page_idx": 10
1556
+ },
1557
+ {
1558
+ "type": "page_number",
1559
+ "text": "11437",
1560
+ "bbox": [
1561
+ 477,
1562
+ 928,
1563
+ 524,
1564
+ 940
1565
+ ],
1566
+ "page_idx": 10
1567
+ },
1568
+ {
1569
+ "type": "text",
1570
+ "text": "A Statistics of Experiment Datasets",
1571
+ "text_level": 1,
1572
+ "bbox": [
1573
+ 112,
1574
+ 84,
1575
+ 436,
1576
+ 99
1577
+ ],
1578
+ "page_idx": 11
1579
+ },
1580
+ {
1581
+ "type": "text",
1582
+ "text": "For obtaining ASTs of the Java and Python dataset, we use the javalang<sup>1</sup> and ast<sup>2</sup> library, respectively. Also, we tokenize the source code and the AST to subtokens as the form CamelCase and snake-case.",
1583
+ "bbox": [
1584
+ 112,
1585
+ 109,
1586
+ 489,
1587
+ 172
1588
+ ],
1589
+ "page_idx": 11
1590
+ },
1591
+ {
1592
+ "type": "table",
1593
+ "img_path": "images/d71f66b9431d4561fad8989bfa23c73e6895962ef0b32a99c398df872bf42114.jpg",
1594
+ "table_caption": [],
1595
+ "table_footnote": [],
1596
+ "table_body": "<table><tr><td>Dataset</td><td>Java</td><td>Python</td></tr><tr><td>Train</td><td>69,708</td><td>55,538</td></tr><tr><td>Valid</td><td>8,714</td><td>18,505</td></tr><tr><td>Test</td><td>8,714</td><td>18,502</td></tr><tr><td>Unique non-leaf nodes in ASTs</td><td>106</td><td>54</td></tr><tr><td>Unique leaf nodes in ASTs</td><td>57,372</td><td>101,229</td></tr><tr><td>Unique tokens in summaries</td><td>46,895</td><td>56,189</td></tr><tr><td>Avg. nodes in AST</td><td>131.72</td><td>104.11</td></tr><tr><td>Avg. tokens in summary</td><td>17.73</td><td>9.48</td></tr></table>",
1597
+ "bbox": [
1598
+ 127,
1599
+ 181,
1600
+ 475,
1601
+ 319
1602
+ ],
1603
+ "page_idx": 11
1604
+ },
1605
+ {
1606
+ "type": "text",
1607
+ "text": "Table 6: Statistics of Java dataset (Hu et al., 2018b) and Python dataset (Wan et al., 2018). For obtaining their corresponding ASTs, we use the javalang and ast libraries, respectively.",
1608
+ "bbox": [
1609
+ 112,
1610
+ 328,
1611
+ 489,
1612
+ 387
1613
+ ],
1614
+ "page_idx": 11
1615
+ },
1616
+ {
1617
+ "type": "text",
1618
+ "text": "B Evaluation Metrics",
1619
+ "text_level": 1,
1620
+ "bbox": [
1621
+ 112,
1622
+ 414,
1623
+ 317,
1624
+ 430
1625
+ ],
1626
+ "page_idx": 11
1627
+ },
1628
+ {
1629
+ "type": "text",
1630
+ "text": "BLEU(Papineni et al., 2002) is a Bilingual Evaluation Understudy to measure the quality of generated code summaries. The formula for computing BLEU is as follows:",
1631
+ "bbox": [
1632
+ 112,
1633
+ 439,
1634
+ 489,
1635
+ 502
1636
+ ],
1637
+ "page_idx": 11
1638
+ },
1639
+ {
1640
+ "type": "equation",
1641
+ "text": "\n$$\nB L E U = B P \\cdot \\exp \\sum_ {n = 1} ^ {N} \\omega_ {n} \\log p _ {n}\n$$\n",
1642
+ "text_format": "latex",
1643
+ "bbox": [
1644
+ 189,
1645
+ 524,
1646
+ 411,
1647
+ 560
1648
+ ],
1649
+ "page_idx": 11
1650
+ },
1651
+ {
1652
+ "type": "text",
1653
+ "text": "where $p_n$ is the geometric average of the modified n-gram precisions, $\\omega_{n}$ is uniform weights $1 / N$ and BP is the brevity penalty.",
1654
+ "bbox": [
1655
+ 112,
1656
+ 570,
1657
+ 487,
1658
+ 617
1659
+ ],
1660
+ "page_idx": 11
1661
+ },
1662
+ {
1663
+ "type": "text",
1664
+ "text": "METEOR(Banerjee and Lavie, 2005) is used to measure how closely the metric scores match the human judgments about the quality of the translation. So unigram precision $(P)$ and unigram recall $(R)$ are computed and combined via a harmonic mean. The METEOR score is computed as follows:",
1665
+ "bbox": [
1666
+ 112,
1667
+ 618,
1668
+ 489,
1669
+ 715
1670
+ ],
1671
+ "page_idx": 11
1672
+ },
1673
+ {
1674
+ "type": "equation",
1675
+ "text": "\n$$\nM E T E O R = (1 - \\gamma \\cdot f r a g ^ {\\beta}) \\cdot \\frac {P \\cdot R}{\\alpha \\cdot P + (1 - \\alpha) \\cdot P}\n$$\n",
1676
+ "text_format": "latex",
1677
+ "bbox": [
1678
+ 129,
1679
+ 733,
1680
+ 472,
1681
+ 762
1682
+ ],
1683
+ "page_idx": 11
1684
+ },
1685
+ {
1686
+ "type": "text",
1687
+ "text": "where $\\text{frag}$ is the fragmentation fraction. $\\alpha$ , $\\beta$ , and $\\gamma$ are three penalty parameters whose default values are 0.9, 3.0, and 0.5, respectively.",
1688
+ "bbox": [
1689
+ 112,
1690
+ 771,
1691
+ 487,
1692
+ 819
1693
+ ],
1694
+ "page_idx": 11
1695
+ },
1696
+ {
1697
+ "type": "text",
1698
+ "text": "ROUGE-L(Lin, 2004) is used to apply Longest Common Subsequence in summarization evaluation. ROUGE-L used LCS-based F-measure to estimate the similarity between two summaries $X$",
1699
+ "bbox": [
1700
+ 112,
1701
+ 819,
1702
+ 489,
1703
+ 883
1704
+ ],
1705
+ "page_idx": 11
1706
+ },
1707
+ {
1708
+ "type": "text",
1709
+ "text": "of length $m$ and $Y$ of length $n$ , assuming $X$ is a reference summary sentence, and $Y$ is a candidate summary sentence, as follows:",
1710
+ "bbox": [
1711
+ 507,
1712
+ 84,
1713
+ 882,
1714
+ 131
1715
+ ],
1716
+ "page_idx": 11
1717
+ },
1718
+ {
1719
+ "type": "equation",
1720
+ "text": "\n$$\n\\begin{array}{l} R _ {l c s} = \\frac {L C S (X , Y)}{m}, P _ {l c s} = \\frac {L C S (X , Y)}{n} \\\\ F _ {l c s} = \\frac {\\left(1 + \\beta^ {2}\\right) R _ {l c s} P _ {l c s}}{R _ {l c s} + \\beta^ {2} P _ {l c s}} \\\\ \\end{array}\n$$\n",
1721
+ "text_format": "latex",
1722
+ "bbox": [
1723
+ 559,
1724
+ 151,
1725
+ 828,
1726
+ 208
1727
+ ],
1728
+ "page_idx": 11
1729
+ },
1730
+ {
1731
+ "type": "text",
1732
+ "text": "where $\\beta = P_{lcs} / R_{lcs}$ and $F_{lcs}$ is the value of ROUGE-L.",
1733
+ "bbox": [
1734
+ 507,
1735
+ 218,
1736
+ 882,
1737
+ 249
1738
+ ],
1739
+ "page_idx": 11
1740
+ },
1741
+ {
1742
+ "type": "text",
1743
+ "text": "C Implementation Detail",
1744
+ "text_level": 1,
1745
+ "bbox": [
1746
+ 507,
1747
+ 262,
1748
+ 742,
1749
+ 279
1750
+ ],
1751
+ "page_idx": 11
1752
+ },
1753
+ {
1754
+ "type": "text",
1755
+ "text": "We conducted experiments on Ubuntu 18.04 with 4 2080 Ti GPUs. The environment of the sever supports python 3.9, Cuda 10.2, pytorch 1.9, and pytorch geometric 1.7.",
1756
+ "bbox": [
1757
+ 507,
1758
+ 287,
1759
+ 882,
1760
+ 351
1761
+ ],
1762
+ "page_idx": 11
1763
+ },
1764
+ {
1765
+ "type": "text",
1766
+ "text": "The average training and inference time for BLOCSUM takes about 40 and 0.5 hours, respectively. BLOCSUM has about 76 million parameters.",
1767
+ "bbox": [
1768
+ 507,
1769
+ 351,
1770
+ 882,
1771
+ 414
1772
+ ],
1773
+ "page_idx": 11
1774
+ },
1775
+ {
1776
+ "type": "table",
1777
+ "img_path": "images/dd4666d556971846a08388928df89e4a93c2dc477da95bbea377893b9a742536.jpg",
1778
+ "table_caption": [],
1779
+ "table_footnote": [],
1780
+ "table_body": "<table><tr><td>Hyper-parameter</td><td>Size</td></tr><tr><td>the maximum length of code tokens</td><td>200</td></tr><tr><td>the maximum length of AST nodes</td><td>200</td></tr><tr><td>the maximum length of summary tokens</td><td>50</td></tr><tr><td>Embedding dimension</td><td>512</td></tr><tr><td>The number of Code Encoder layers</td><td>6</td></tr><tr><td>The number of AST Encoder layers</td><td>6</td></tr><tr><td>The number of Code Decoder layers</td><td>6</td></tr><tr><td>Head of Attention</td><td>8</td></tr><tr><td>batch size</td><td>80</td></tr><tr><td>train epoch</td><td>100</td></tr><tr><td>early stop</td><td>5</td></tr><tr><td>learning rate</td><td>0.0005</td></tr><tr><td>learning decay</td><td>0.99</td></tr><tr><td>beam size</td><td>5</td></tr></table>",
1781
+ "bbox": [
1782
+ 531,
1783
+ 425,
1784
+ 860,
1785
+ 633
1786
+ ],
1787
+ "page_idx": 11
1788
+ },
1789
+ {
1790
+ "type": "text",
1791
+ "text": "Table 7: Hyper-parameters of BLOCSUM.",
1792
+ "bbox": [
1793
+ 549,
1794
+ 642,
1795
+ 840,
1796
+ 657
1797
+ ],
1798
+ "page_idx": 11
1799
+ },
1800
+ {
1801
+ "type": "page_footnote",
1802
+ "text": "<sup>1</sup>https://github.com/c2nes/javalang",
1803
+ "bbox": [
1804
+ 134,
1805
+ 890,
1806
+ 349,
1807
+ 904
1808
+ ],
1809
+ "page_idx": 11
1810
+ },
1811
+ {
1812
+ "type": "page_footnote",
1813
+ "text": "$^{2}$ https://github.com/python/cpython/blob/master/Lib/ast.py",
1814
+ "bbox": [
1815
+ 134,
1816
+ 904,
1817
+ 485,
1818
+ 917
1819
+ ],
1820
+ "page_idx": 11
1821
+ },
1822
+ {
1823
+ "type": "page_number",
1824
+ "text": "11438",
1825
+ "bbox": [
1826
+ 477,
1827
+ 927,
1828
+ 524,
1829
+ 940
1830
+ ],
1831
+ "page_idx": 11
1832
+ },
1833
+ {
1834
+ "type": "text",
1835
+ "text": "D Examples of Java and Python Datasets",
1836
+ "text_level": 1,
1837
+ "bbox": [
1838
+ 114,
1839
+ 83,
1840
+ 485,
1841
+ 99
1842
+ ],
1843
+ "page_idx": 12
1844
+ },
1845
+ {
1846
+ "type": "code",
1847
+ "sub_type": "code",
1848
+ "code_caption": [],
1849
+ "code_body": "Java Code @ Override public String toString() { String result; result=super.toString(); if (m_CapabilitiesFilter != null) { initCapabilities(); if (m_Capabilities != null) { if (m_CapabilitiessupportsMaybe(m_CapabilitiesFilter) &&! m_Capabilitiessupports(m_CapabilitiesFilter)) { result=\"<html><font color $\\equiv$ \"\" + MAYBE.'<sup>+</sup> + result + </font></i><html>\"; } else if(!m_Capabilitiessupports(m_CapabilitiesFilter)) { result=\"<html><font color $\\equiv$ \"\" + NO.'<sup>+</sup> + result+ </font></i><html>\"; } } return result; \n} \nGround Truth return a string representation of this tree node . \nCodeBERT build a string representation of the buff . \nBLOCSUM return a string representation of the capability . \nPython Code def _getcodon_list(codonseq): full_rf_table = codonseq.get_full_rf_table) codon_lst = [] for (i, k) in enumerate(full_rf_table): if isinstance(k, int): start $=$ k try: end $=$ int(full_rf_table[(i+1)]) except IndexError: end $=$ (start + 3) this_codon = str(codonseq[ start:end]) if (len(this_codon) == 3: codon_lst.append(this_codon) else: codon_lst.append(str(this_codon.ungap())) elif (str(codonseq[int(k):(int(k) + 3)) == '---'): codon_lst.append('---') else: codon_lst.append(codonseq[int(k):(int(k) + 3))) return codon_lst \nGround Truth list of codon accord to full rf table for count . \nCodeBERT get cod ne . \nBLOCSUM get list that contain the codon in list .",
1850
+ "guess_lang": "txt",
1851
+ "bbox": [
1852
+ 115,
1853
+ 118,
1854
+ 860,
1855
+ 640
1856
+ ],
1857
+ "page_idx": 12
1858
+ },
1859
+ {
1860
+ "type": "page_number",
1861
+ "text": "11439",
1862
+ "bbox": [
1863
+ 477,
1864
+ 927,
1865
+ 524,
1866
+ 940
1867
+ ],
1868
+ "page_idx": 12
1869
+ },
1870
+ {
1871
+ "type": "text",
1872
+ "text": "A For every submission:",
1873
+ "bbox": [
1874
+ 115,
1875
+ 107,
1876
+ 322,
1877
+ 122
1878
+ ],
1879
+ "page_idx": 13
1880
+ },
1881
+ {
1882
+ "type": "list",
1883
+ "sub_type": "text",
1884
+ "list_items": [
1885
+ "A1. Did you describe the limitations of your work? Limitations",
1886
+ "A2. Did you discuss any potential risks of your work? Limitations",
1887
+ "A3. Do the abstract and introduction summarize the paper's main claims? Abstract and 1. Introduction",
1888
+ "A4. Have you used AI writing assistants when working on this paper? Left blank."
1889
+ ],
1890
+ "bbox": [
1891
+ 129,
1892
+ 126,
1893
+ 695,
1894
+ 287
1895
+ ],
1896
+ "page_idx": 13
1897
+ },
1898
+ {
1899
+ "type": "text",
1900
+ "text": "B Did you use or create scientific artifacts?",
1901
+ "bbox": [
1902
+ 114,
1903
+ 299,
1904
+ 487,
1905
+ 316
1906
+ ],
1907
+ "page_idx": 13
1908
+ },
1909
+ {
1910
+ "type": "text",
1911
+ "text": "3. Experiment Results",
1912
+ "bbox": [
1913
+ 132,
1914
+ 321,
1915
+ 299,
1916
+ 336
1917
+ ],
1918
+ "page_idx": 13
1919
+ },
1920
+ {
1921
+ "type": "list",
1922
+ "sub_type": "text",
1923
+ "list_items": [
1924
+ "B1. Did you cite the creators of artifacts you used? 3. Experiment Results",
1925
+ "B2. Did you discuss the license or terms for use and / or distribution of any artifacts? 3. Experiment Results"
1926
+ ],
1927
+ "bbox": [
1928
+ 129,
1929
+ 346,
1930
+ 778,
1931
+ 422
1932
+ ],
1933
+ "page_idx": 13
1934
+ },
1935
+ {
1936
+ "type": "list",
1937
+ "sub_type": "text",
1938
+ "list_items": [
1939
+ "B3. Did you discuss if your use of existing artifact(s) was consistent with their intended use, provided that it was specified? For the artifacts you create, do you specify intended use and whether that is compatible with the original access conditions (in particular, derivatives of data accessed for research purposes should not be used outside of research contexts)? Not applicable. Left blank.",
1940
+ "B4. Did you discuss the steps taken to check whether the data that was collected / used contains any information that names or uniquely identifies individual people or offensive content, and the steps taken to protect / anonymize it? Not applicable. Left blank.",
1941
+ "B5. Did you provide documentation of the artifacts, e.g., coverage of domains, languages, and linguistic phenomena, demographic groups represented, etc.? Not applicable. Left blank.",
1942
+ "B6. Did you report relevant statistics like the number of examples, details of train / test / dev splits, etc. for the data that you used / created? Even for commonly-used benchmark datasets, include the number of examples in train / validation / test splits, as these provide necessary context for a reader to understand experimental results. For example, small differences in accuracy on large test sets may be significant, while on small test sets they may not be. 3. Experiment Results and Appendix A"
1943
+ ],
1944
+ "bbox": [
1945
+ 127,
1946
+ 432,
1947
+ 880,
1948
+ 753
1949
+ ],
1950
+ "page_idx": 13
1951
+ },
1952
+ {
1953
+ "type": "text",
1954
+ "text": "C Did you run computational experiments?",
1955
+ "bbox": [
1956
+ 114,
1957
+ 764,
1958
+ 492,
1959
+ 781
1960
+ ],
1961
+ "page_idx": 13
1962
+ },
1963
+ {
1964
+ "type": "text",
1965
+ "text": "3. Experiment Results and Appendix C",
1966
+ "bbox": [
1967
+ 132,
1968
+ 785,
1969
+ 423,
1970
+ 802
1971
+ ],
1972
+ "page_idx": 13
1973
+ },
1974
+ {
1975
+ "type": "text",
1976
+ "text": "C1. Did you report the number of parameters in the models used, the total computational budget (e.g., GPU hours), and computing infrastructure used? 3. Experiment Results and Appendix C",
1977
+ "bbox": [
1978
+ 129,
1979
+ 812,
1980
+ 880,
1981
+ 860
1982
+ ],
1983
+ "page_idx": 13
1984
+ },
1985
+ {
1986
+ "type": "text",
1987
+ "text": "The Responsible NLP Checklist used at ACL 2023 is adopted from NAACL 2022, with the addition of a question on AI writing assistance.",
1988
+ "bbox": [
1989
+ 112,
1990
+ 868,
1991
+ 877,
1992
+ 892
1993
+ ],
1994
+ "page_idx": 13
1995
+ },
1996
+ {
1997
+ "type": "header",
1998
+ "text": "ACL 2023 Responsible NLP Checklist",
1999
+ "bbox": [
2000
+ 132,
2001
+ 84,
2002
+ 433,
2003
+ 99
2004
+ ],
2005
+ "page_idx": 13
2006
+ },
2007
+ {
2008
+ "type": "page_number",
2009
+ "text": "11440",
2010
+ "bbox": [
2011
+ 477,
2012
+ 928,
2013
+ 524,
2014
+ 940
2015
+ ],
2016
+ "page_idx": 13
2017
+ },
2018
+ {
2019
+ "type": "text",
2020
+ "text": "C2. Did you discuss the experimental setup, including hyperparameter search and best-found hyperparameter values?",
2021
+ "bbox": [
2022
+ 129,
2023
+ 84,
2024
+ 878,
2025
+ 115
2026
+ ],
2027
+ "page_idx": 14
2028
+ },
2029
+ {
2030
+ "type": "text",
2031
+ "text": "We used the same hyperparameter as the previous study.",
2032
+ "bbox": [
2033
+ 149,
2034
+ 117,
2035
+ 564,
2036
+ 131
2037
+ ],
2038
+ "page_idx": 14
2039
+ },
2040
+ {
2041
+ "type": "text",
2042
+ "text": "C3. Did you report descriptive statistics about your results (e.g., error bars around results, summary statistics from sets of experiments), and is it transparent whether you are reporting the max, mean, etc. or just a single run?",
2043
+ "bbox": [
2044
+ 129,
2045
+ 143,
2046
+ 880,
2047
+ 190
2048
+ ],
2049
+ "page_idx": 14
2050
+ },
2051
+ {
2052
+ "type": "text",
2053
+ "text": "We adopted the median value among the 3 models.",
2054
+ "bbox": [
2055
+ 149,
2056
+ 192,
2057
+ 522,
2058
+ 206
2059
+ ],
2060
+ "page_idx": 14
2061
+ },
2062
+ {
2063
+ "type": "text",
2064
+ "text": "C4. If you used existing packages (e.g., for preprocessing, for normalization, or for evaluation), did you report the implementation, model, and parameter settings used (e.g., NLTK, Spacy, ROUGE, etc.)?",
2065
+ "bbox": [
2066
+ 129,
2067
+ 217,
2068
+ 880,
2069
+ 265
2070
+ ],
2071
+ "page_idx": 14
2072
+ },
2073
+ {
2074
+ "type": "text",
2075
+ "text": "3. Experiment Results and Appendix B, C",
2076
+ "bbox": [
2077
+ 149,
2078
+ 267,
2079
+ 460,
2080
+ 282
2081
+ ],
2082
+ "page_idx": 14
2083
+ },
2084
+ {
2085
+ "type": "text",
2086
+ "text": "D Did you use human annotators (e.g., crowdworkers) or research with human participants?",
2087
+ "bbox": [
2088
+ 112,
2089
+ 293,
2090
+ 877,
2091
+ 309
2092
+ ],
2093
+ "page_idx": 14
2094
+ },
2095
+ {
2096
+ "type": "text",
2097
+ "text": "Left blank.",
2098
+ "bbox": [
2099
+ 132,
2100
+ 313,
2101
+ 213,
2102
+ 329
2103
+ ],
2104
+ "page_idx": 14
2105
+ },
2106
+ {
2107
+ "type": "text",
2108
+ "text": "D1. Did you report the full text of instructions given to participants, including e.g., screenshots, disclaimers of any risks to participants or annotators, etc.?",
2109
+ "bbox": [
2110
+ 127,
2111
+ 340,
2112
+ 880,
2113
+ 372
2114
+ ],
2115
+ "page_idx": 14
2116
+ },
2117
+ {
2118
+ "type": "text",
2119
+ "text": "Not applicable. Left blank.",
2120
+ "bbox": [
2121
+ 149,
2122
+ 373,
2123
+ 349,
2124
+ 388
2125
+ ],
2126
+ "page_idx": 14
2127
+ },
2128
+ {
2129
+ "type": "text",
2130
+ "text": "D2. Did you report information about how you recruited (e.g., crowdsourcing platform, students) and paid participants, and discuss if such payment is adequate given the participants' demographic (e.g., country of residence)?",
2131
+ "bbox": [
2132
+ 127,
2133
+ 399,
2134
+ 880,
2135
+ 447
2136
+ ],
2137
+ "page_idx": 14
2138
+ },
2139
+ {
2140
+ "type": "text",
2141
+ "text": "Not applicable. Left blank.",
2142
+ "bbox": [
2143
+ 149,
2144
+ 448,
2145
+ 349,
2146
+ 463
2147
+ ],
2148
+ "page_idx": 14
2149
+ },
2150
+ {
2151
+ "type": "text",
2152
+ "text": "D3. Did you discuss whether and how consent was obtained from people whose data you're using/curating? For example, if you collected data via crowdsourcing, did your instructions to crowdworkers explain how the data would be used?",
2153
+ "bbox": [
2154
+ 127,
2155
+ 475,
2156
+ 880,
2157
+ 521
2158
+ ],
2159
+ "page_idx": 14
2160
+ },
2161
+ {
2162
+ "type": "text",
2163
+ "text": "Not applicable. Left blank.",
2164
+ "bbox": [
2165
+ 149,
2166
+ 523,
2167
+ 349,
2168
+ 539
2169
+ ],
2170
+ "page_idx": 14
2171
+ },
2172
+ {
2173
+ "type": "text",
2174
+ "text": "D4. Was the data collection protocol approved (or determined exempt) by an ethics review board?",
2175
+ "bbox": [
2176
+ 127,
2177
+ 549,
2178
+ 872,
2179
+ 565
2180
+ ],
2181
+ "page_idx": 14
2182
+ },
2183
+ {
2184
+ "type": "text",
2185
+ "text": "Not applicable. Left blank.",
2186
+ "bbox": [
2187
+ 149,
2188
+ 565,
2189
+ 349,
2190
+ 581
2191
+ ],
2192
+ "page_idx": 14
2193
+ },
2194
+ {
2195
+ "type": "text",
2196
+ "text": "D5. Did you report the basic demographic and geographic characteristics of the annotator population that is the source of the data?",
2197
+ "bbox": [
2198
+ 127,
2199
+ 592,
2200
+ 880,
2201
+ 623
2202
+ ],
2203
+ "page_idx": 14
2204
+ },
2205
+ {
2206
+ "type": "text",
2207
+ "text": "Not applicable. Left blank.",
2208
+ "bbox": [
2209
+ 149,
2210
+ 625,
2211
+ 349,
2212
+ 640
2213
+ ],
2214
+ "page_idx": 14
2215
+ },
2216
+ {
2217
+ "type": "page_number",
2218
+ "text": "11441",
2219
+ "bbox": [
2220
+ 477,
2221
+ 927,
2222
+ 522,
2223
+ 940
2224
+ ],
2225
+ "page_idx": 14
2226
+ }
2227
+ ]
2023/BLOCSUM_ Block Scope-based Source Code Summarization via Shared Block Representation/bdc012ed-0e12-4395-93e5-cef4ae1613b2_model.json ADDED
The diff for this file is too large to render. See raw diff
 
2023/BLOCSUM_ Block Scope-based Source Code Summarization via Shared Block Representation/bdc012ed-0e12-4395-93e5-cef4ae1613b2_origin.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:be487ba1edb8533cb6a08b905cb15c8e0a2337dfbdfa8319514446396529c0a8
3
+ size 568595
2023/BLOCSUM_ Block Scope-based Source Code Summarization via Shared Block Representation/full.md ADDED
@@ -0,0 +1,426 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # BLOCSUM: Block Scope-based Source Code Summarization via Shared Block Representation
2
+
3
+ YunSeok Choi, Hyojun Kim, Jee-Hyong Lee
4
+
5
+ College of Computing and Informatics
6
+
7
+ Sungkyunkwan University
8
+
9
+ Suwon, South Korea
10
+
11
+ {ys.choi, rlagywns0213, john}@skku.edu
12
+
13
+ # Abstract
14
+
15
+ Code summarization, which aims to automatically generate natural language descriptions of the source code, has become an essential task in software development for better program understanding. Abstract Syntax Tree (AST), which represents the syntax structure of the source code, is helpful when utilized together with the sequence of code tokens to improve the quality of code summaries. Recent works on code summarization attempted to capture the sequential and structural information of the source code, but they considered less the property that source code consists of multiple code blocks. In this paper, we propose BLOCSUM, BLOck scope-based source Code SUMmarization via shared block representation that utilizes block-scope information by representing various structures of the code block. We propose a shared block position embedding to effectively represent the structure of code blocks and merge both code and AST. Furthermore, we develop variant ASTs to learn rich information such as block and global dependencies of the source code. To prove our approach, we perform experiments on two real-world datasets, the Java dataset and the Python dataset. We demonstrate the effectiveness of BLOCSUM through various experiments, including ablation studies and a human evaluation.
16
+
17
+ # 1 Introduction
18
+
19
+ A description of source code is very important in software development because it helps developers better understand programs. Advances in deep learning have enabled automatic code summarization and increased software maintenance efficiency. Previous approaches on automatic source code summarization can be categorized into sequence-based, structure-based, and hybrid approaches. Sequence-based approaches generated summaries by capturing the sequential information of source code (Iyer et al., 2016; Allamanis et al., 2016; Liang and Zhu, 2018; Hu et al., 2018b; Wei et al., 2019; Ye et al.,
20
+
21
+ 2020; Ahmad et al., 2020). They tokenized source code into a sequence of code tokens and encoded them using seq2seq models. Meanwhile, structure-based approaches used Abstract Syntax Tree (AST) to capture the structural information of code (Hu et al., 2018a; Fernandes et al., 2019; Shido et al., 2019; Harer et al., 2019; Zhang et al., 2019; LeClair et al., 2020; Liu et al., 2021; Lin et al., 2021; Allamanis et al., 2018; Wang and Li, 2021; Wu et al., 2021). They parsed the source code into the AST and utilized graph models such as Graph Neural Networks (GNNs). Some works flattened AST into a pre-order traversal sequence (Alon et al., 2019, 2018; LeClair et al., 2019; Wang and Li, 2021; Choi et al., 2021). Hybrid approaches utilized both the token sequence and the ASTs of codes (Wan et al., 2018; Wei et al., 2020; Zhang et al., 2020; Shi et al., 2021). They parallelly processed token sequences and ASTs with independent encoders and tried to merge them in the decoder.
22
+
23
+ However, the existing approaches have some limitations. Sequence-based approaches treated the source code as a single statement, so they incorporated only the sequence information of the code without any structural information such as code blocks. Structural information is very important to understand code because a snippet of code can be considered as a hierarchy of blocks.
24
+
25
+ Structure-based approaches tried to catch such structural information of code, but they considered less sequential information of code. A snippet of code is a sequence, so sequential information is also important to understand code. Another problem is that they depended only ASTs to capture structural information of code. However, ASTs are not suitable for capturing structural information because they are syntax trees for grammatical purpose. Since the AST is a tree, there is only one path between every pair of nodes. Any two nodes in ASTs are connected, but with a relatively long path, which hinders capturing the structural rela
26
+
27
+ ![](images/2422250e06caa6d720fdf4d3b70133bba8410b8201061567976c51650d2c4f81.jpg)
28
+ (a) Source code
29
+
30
+ ![](images/b31eba5f051d5d0451bca247d96cd52f89d3395601994eb0d7d2007145119628.jpg)
31
+ (b) Abstract Syntax Tree
32
+ Figure 1: An example of code snippet and its AST in the Java language. (a) The orange box denotes the code block and the number means the index of the code block. (b) The nodes in the orange rectangular box belong to the same block in the AST.
33
+
34
+ tions of nodes. It causes difficulties in propagating structural information to distant nodes in the AST. Some structure-based approaches tried to alleviate these problems by providing additional graphs such as Control Flow Graph (CFG) and Program Dependence Graph (PDG), but the cost and time required to produce these graphs and integrate them into one graph are not negligible.
35
+
36
+ Hybrid approaches utilized both code and its AST. Since both sequential and structural information of code is necessary to understand code, the approaches showed higher performances than the previous ones. However, they failed to effectively merge two different types of information. They simply adopted independent encoders for each of them and tried to merge them in the decoder. Due to independent encoders, their representations are easy to be independent. It will make it hard to effectively merge both sequential information of code and structural information. Since the token sequence and the AST of code are just different descriptions of the same code, they need to be encoded so that they are correlated with each other.
37
+
38
+ To address these limitations mentioned above, we exploit the fact that the source code is a set of blocks consisting of multiple statements for a specific purpose. The code tokens in one code block are configured for the same purpose. As shown in Figure 1a, the code block if $\{\dots\}$ (orange) consists of statements that are executed when a certain condition is true. So, it needs to consider the information on which block each code token belongs to. To better capture structural information, we need to give each token not only positional
39
+
40
+ information but also block positional information when encoding.
41
+
42
+ Since ASTs do not have enough information to capture the structural information of code, we need to modify ASTs. The additional information we try to add is block dependency and global dependency between nodes. For example, as shown in Figure 1b, the node "max" in the orange block of AST is only connected to its parent node, "Statement", but there exists implicit block dependency that the node "max" belongs to the same orange block as the node "data" in the purple dashed line. Furthermore, there exists implicit global dependency between nodes. For example, the node "max" in the orange box is the same variable as the nodes in the green dashed line. We need to add such information to ASTs.
43
+
44
+ Also, we need to match blocks in the token sequence with blocks in the AST. For example, code tokens ("if", "({", "data", ..., "})" (orange) in Figure 1a can be mapped to its corresponding nodes in the AST ("If", "data", ..., "println") (orange) in Figure 1b. Here, the block in the code and the block in the AST are the same part with an equal role, so we will utilize information on which block of code corresponds to which block of AST. Such information can make the code and AST correlated, and assist effective merging of two kinds of information.
45
+
46
+ In this paper, we propose BLOCSUM, BLOck scope-based source Code SUMmarization via shared block representation that utilizes blockscope information of token sequences and ASTs. First, we propose the shared block position em
47
+
48
+ ![](images/abe0afa0053a5cf3dc04cdd783ca1d6e7c83350114a2b1e4ddb223c2118ebe8e.jpg)
49
+ Figure 2: Overview of our proposed approach, BLOCSUM.
50
+
51
+ beddings for effectively representing the structure of the code block and combining a correlation between the code and the AST encoders. Furthermore, we develop simple yet effective variants of ASTs to learn rich information such as block and global dependencies of the source code. To validate our approach, we perform experiments on the Java dataset and the Python dataset. We prove the superiority of BLOCSUM through various experiments including ablation studies and a human evaluation.
52
+
53
+ # 2 BLOCSUM
54
+
55
+ In this section, we present the details of our model. Figure 2 shows the overall architecture of BLOCSUM. We first introduce the shared block position embedding and the abstract syntax tree variants and explain the architecture of BLOCSUM in detail.
56
+
57
+ # 2.1 Shared Block Position Embedding
58
+
59
+ We suppose that there are code tokens $c_{i}$ in a code snippet $\mathbf{C} = \{c_1, c_2, \ldots\}$ and AST nodes $n_{i}$ in its AST sequence $\mathbf{N} = \{n_1, n_2, \ldots\}$ . We aim to predict a summary given the code tokens and the AST nodes.
60
+
61
+ Code blocks are the basic structural components of source code. Usually, code tokens in a block are gathered for a certain purpose, so the tokens need to be identified that they are in the same block. To distinguish which blocks are, we assign indexes to each block in the order of blocks in the code. Then
62
+
63
+ each token has a block position with an index of the block it belongs to. If the code token is in nested blocks, we choose the innermost block index as the block position.
64
+
65
+ In order to utilize the block information of each token, we develop the block position embedding layer. Tokens in the same block have the same block position embedding. The code token embedding for the code encoder, $E_{c}$ , is defined as follows:
66
+
67
+ $$
68
+ E _ {c} (t) = W _ {c} (t) + P _ {c} (t) + B _ {c} (t) \tag {1}
69
+ $$
70
+
71
+ for code token $t$ . In the equation 1, $W_{c}$ , $P_{c}$ , and $B_{c}$ are the word, position, and block position embedding layers for the code encoder, respectively. Two position embeddings, $P_{c}$ and $B_{c}$ , are learnable positional encoding.
72
+
73
+ We also combine the AST nodes with block position embeddings to ensure that nodes in the same block have identical block information when node representations are learned by the AST encoder. As with the block position of the code tokens, each node is assigned a block position value. Since the block in the AST is a sub-tree structure in the AST, the node has an index of the sub-tree to which it belongs. Nodes in the same block have the same block positional embedding as code tokens. The AST node embedding for the AST encoder, $E_{s}$ , is defined as follows:
74
+
75
+ $$
76
+ E _ {s} (n) = W _ {s} (n) + P _ {s} (n) + B _ {s} (n) \tag {2}
77
+ $$
78
+
79
+ ![](images/3976b24a222534e207b3671b0fe020cadc8f8e2dc90d1d4d7fd593b10db397b2.jpg)
80
+ (a) AST-original
81
+
82
+ ![](images/92b79d1e047e4112dcd20804f097201b9a35a88eb80f3651f69679d95502c3d3.jpg)
83
+ (b) AST-block
84
+
85
+ ![](images/5d60ee75777c12d2ca60f0bc860850fad1f6c2196e07b3fbd9abb821e469f8ef.jpg)
86
+ (c) AST-global
87
+ Figure 3: We introduce three different types of the AST: (a) AST-original referred as the original AST, (b) AST-block connected by edges between two nodes which are in the same code block, (c) AST-global connected by edges between all the nodes in the AST.
88
+
89
+ for node $n$ . In Equation 2, $W_{s}$ , $P_{s}$ , and $B_{s}$ are the word, position, and block position embedding layers for the AST encoder, respectively. The position of a node is defined as the position in the pre-order traversal sequence of the AST. Two position embeddings, $P_{s}$ and $B_{s}$ , are also learnable.
90
+
91
+ There are two different types of inputs, code and AST, but they are just different descriptions for the same snippet. If two encoders for code and AST learn representations for code tokens and AST nodes separately, their representations will be easy to be independent and very hard to effectively combine both sequential and structural information.
92
+
93
+ In order to correlate the representations learned by two encoders, we allow the encoders to share the block position embedding layer. If the code token and the AST node belong to the same block, they will have the same block position embedding value. That is, we utilize additional information on which parts of the code correspond to which parts of the AST to generate better representations. If the block position embedding layers are shared, the embeddings for a token, $t$ , and a node, $n$ are as follows:
94
+
95
+ $$
96
+ E _ {c} (t) = W _ {c} (t) + P _ {c} (t) + B (t) \tag {3}
97
+ $$
98
+
99
+ $$
100
+ E _ {s} (n) = W _ {s} (n) + P _ {s} (n) + B (n) \tag {4}
101
+ $$
102
+
103
+ where $B$ is the shared block position embedding layer.
104
+
105
+ Shared block position embedding can effectively merge the information from two encoders. Also, it helps the code and the AST encoders to capture the structure of source code by providing block information.
106
+
107
+ # 2.2 Abstract Syntax Tree Variants
108
+
109
+ The original AST is a structure in which a node is connected only to its parent and children nodes. It contains local information, but it does not include the entire structure information of the code.
110
+
111
+ Two nodes in the same block have implicit block dependency. There is also global dependency that two nodes have the same meaning even if their hop distance is very long. To utilize rich structural information such as block and global dependencies, we develop a simple yet effective method to reconstruct variants of AST. We define three variants of the AST: AST- original, AST-block, and AST-global.
112
+
113
+ AST-original is the original AST, which contains information on the local dependency between nodes, as shown in Figure 3a. The variants of AST are graphs of which nodes are the same as those of AST, but of which links are different.
114
+
115
+ AST-block is the first variant of AST. We obtain it by removing the edges in AST-original, and adding new edges between the nodes belonging to the same block to represent the block structure information, as shown in Figure 3b. It represents information on the block dependency between nodes in the AST.
116
+
117
+ AST-global is the second variant of AST. As shown in Figure 3c, we fully connect all the nodes in the AST. It represents the global and complete dependency between nodes in the AST. If the pre-order sequence of AST-global is learned by graph model, the node representations in the sequence represent context information of the AST.
118
+
119
+ Each of the three AST variants represents local, block, and global dependencies between nodes in the AST. When they are learned organically by the AST encoder, node representations will contain rich structural information of the AST.
120
+
121
+ # 2.3 BLOCSUM Architecture
122
+
123
+ Code Encoder Our code transformer encoder consists of 6 transformer layers (Vaswani et al., 2017). Each layer of the code transformer encoder is composed of two layers: multi-head self-attention (Vaswani et al., 2017) and feed-forward network. And residual connection (He et al., 2016) and layer normalization (Ba et al., 2016) are performed on each two sub-layers. The transformer encoder captures the sequential and block information of the code tokens to which the shared block position embedding is added.
124
+
125
+ AST Encoder We use Graph Attention Networks (GATs) (Velickovic et al., 2018) for learning three different AST variants defined above: AST-original, AST-block, and AST-global. Our AST encoder consists of 6 multiple GAT encoder layers. Each layer of the AST multiple GAT encoder consists of three GATs for each variant AST. Each GAT captures
126
+
127
+ local dependencies for AST-original, block dependencies for AST-block, and global dependencies for AST-global, respectively.
128
+
129
+ For the $l$ -th layer of the AST encoder, the process is performed as follows:
130
+
131
+ $$
132
+ h _ {l n} ^ {l} = G A T _ {l n} \left(A _ {l n}, h _ {n} ^ {l - 1}\right)
133
+ $$
134
+
135
+ $$
136
+ h _ {b n} ^ {l} = G A T _ {b n} \left(A _ {b n}, h _ {n} ^ {l - 1}\right) \tag {5}
137
+ $$
138
+
139
+ $$
140
+ h _ {g n} ^ {l} = G A T _ {g n} (A _ {g n}, h _ {n} ^ {l - 1})
141
+ $$
142
+
143
+ where $GAT_{ln}, GAT_{bn}, GAT_{gn}$ and $A_{ln}, A_{bn}, A_{gn}$ denote the GAT layers for three variant ASTs and the adjacency matrices in the AST-original, AST-block, and AST-global, respectively. Especially, the GAT for AST-global is the same as self-attention for learning the context of all nodes in the AST.
144
+
145
+ Finally, the three representations are combined and performed from residual connection and layer normalization by the following equation:
146
+
147
+ $$
148
+ h _ {n} ^ {l} = L N \left(h _ {n} ^ {l - 1} + F F N \left(h _ {l n} ^ {l}, h _ {b n} ^ {l}, h _ {g n} ^ {l}\right)\right) \tag {6}
149
+ $$
150
+
151
+ where $h_n^l$ is the concatenated node embedding in the $l$ -th layer of AST GAT encoder, $LN$ denotes layer normalization, and $FFN$ is a feed-forward network.
152
+
153
+ With the deep AST encoder layers, the node representations combine and propagate the local, block, and global information of the AST.
154
+
155
+ Summary Decoder The summary transformer decoder consists of 6 transformer decoder layers (Vaswani et al., 2017). Code token representations are learned with sequence and block information in the code transformer encoder and node representations are learned with local, block, and global dependencies of the code in the AST encoder. Given the code and node representations learned from each encoder, the summary transformer decoder learns to predict the summary of the original code token by fusion of the code and the AST representations. The multi-head self-attention in the decoder is performed sequentially on the code representations and node representations.
156
+
157
+ Finally, when the summary transformer decoder predicts the $t$ -th words, the copy mechanism (See et al., 2017) is applied to directly use the code tokens and AST nodes.
158
+
159
+ # 3 Experiment Results
160
+
161
+ # 3.1 Setup
162
+
163
+ Datasets We evaluate using the benchmarks of the two real-world datasets, the Java dataset (Hu
164
+
165
+ et al., 2018b) and the Python dataset (Wan et al., 2018). The experiment datasets are divided into 69,708/8,714/8,714 and 55,538/18,505/18,502 for train-valid/test, respectively. For extracting the AST of each dataset, we used a java parser javalang in the Java dataset and a python parser ast in the Python dataset used by Wan et al. (2018). Refer to Appendix A for the statistics of the datasets in detail.
166
+
167
+ Hyper-parameters We set the maximum length of code, AST, and summary to be 200, 200, and 50, respectively. For training the model, we use Adam optimizer (Kingma and Ba, 2015). We set the minibatch size as 80. The maximum training epoch is 100, and if the performance does not improve for 5 epochs, we stop early. Refer to Appendix C for the implementation details.
168
+
169
+ Evaluation Metrics We use BLEU (Papineni et al., 2002), METEOR (Banerjee and Lavie, 2005), and ROUGE-L (Lin, 2004) as metrics. We adopt S-BLEU, which indicates the average sentence-level BLEU score. Refer to Appendix B in detail.
170
+
171
+ Baselines We adopt seq2seq models (Iyer et al., 2016; Hu et al., 2018a,b; Wei et al., 2019; Ahmad et al., 2020), graph2seq models (Eriguchi et al., 2016; Wan et al., 2018; Wu et al., 2021), hybrid models (Choi et al., 2021; Shi et al., 2021; Wu et al., 2021; Gong et al., 2022), and a pre-trained model CodeBERT (Feng et al., 2020) as the baselines. We fine-tuned the pre-trained model CodeBERT for code summarization.
172
+
173
+ # 3.2 Quantitative Result
174
+
175
+ Overall Result Table 1 shows the overall performance of BLOCSUM and baselines on the Java and Python benchmark datasets. First, we can see that BLOCSUM improves the performance by 4.47 and 2.64 BLEU, 5.68 and 4.66 METEOR, and 4.63 and 3.85 ROUGE-L on the Java and Python datasets compared to the sequence-based approach, TransRel. In comparison with the structure-based approach, SITTransformer, the performance of BLOCSUM improves by 3.29 and 1.05 BLEU, 4.53 and 2.11 METEOR, and 3.84 and 2.23 ROUGE-L on the two datasets. The result shows that it is effective to capture the overall structure of code when AST is utilized together with the sequence of code tokens. Moreover, BLOCSUM performs better than hybrid approaches. Compared to GCNTransformer, the result shows that it
176
+
177
+ <table><tr><td rowspan="2">Methods</td><td colspan="3">Java</td><td colspan="3">Python</td></tr><tr><td>BLEU</td><td>METEOR</td><td>ROUGE-L</td><td>BLEU</td><td>METEOR</td><td>ROUGE-L</td></tr><tr><td>CODE-NN (Iyer et al., 2016)</td><td>27.60</td><td>12.61</td><td>41.10</td><td>17.36</td><td>09.29</td><td>37.81</td></tr><tr><td>Tree2Seq (Eriguchi et al., 2016)</td><td>37.88</td><td>22.55</td><td>51.50</td><td>20.07</td><td>08.96</td><td>35.64</td></tr><tr><td>RL+Hybrid2Seq (Wan et al., 2018)</td><td>38.22</td><td>22.75</td><td>51.91</td><td>19.28</td><td>09.75</td><td>39.34</td></tr><tr><td>DeepCom (Hu et al., 2018a)</td><td>39.75</td><td>23.06</td><td>52.67</td><td>20.78</td><td>09.98</td><td>37.35</td></tr><tr><td>TL-CodeSum (Hu et al., 2018b)</td><td>41.31</td><td>23.73</td><td>52.25</td><td>15.36</td><td>08.57</td><td>33.65</td></tr><tr><td>Dual Model (Wei et al., 2019)</td><td>42.39</td><td>25.77</td><td>53.61</td><td>21.80</td><td>11.14</td><td>39.45</td></tr><tr><td>Transformer (Ahmad et al., 2020)</td><td>44.58</td><td>26.43</td><td>54.76</td><td>32.52</td><td>19.77</td><td>46.73</td></tr><tr><td>CodeBERT* (Feng et al., 2020)</td><td>41.32</td><td>27.42</td><td>55.33</td><td>30.72</td><td>21.53</td><td>49.93</td></tr><tr><td>GCNTransformer (Choi et al., 2021)</td><td>45.49</td><td>27.17</td><td>54.82</td><td>32.82</td><td>20.12</td><td>46.81</td></tr><tr><td>SiTTransformer (Wu et al., 2021)</td><td>45.76</td><td>27.58</td><td>55.58</td><td>34.11</td><td>21.11</td><td>48.35</td></tr><tr><td>CAST (Shi et al., 2021)</td><td>45.19</td><td>27.88</td><td>55.08</td><td>-</td><td>-</td><td>-</td></tr><tr><td>SCRIPT (Gong et al., 2022)</td><td>46.89</td><td>28.48</td><td>56.69</td><td>34.00</td><td>20.84</td><td>48.15</td></tr><tr><td>BLOCSUM</td><td>49.05</td><td>32.11</td><td>59.42</td><td>35.16</td><td>23.22</td><td>50.58</td></tr></table>
178
+
179
+ is more effective to capture both the sequential and structural information of the code considering the local, block, and global dependencies of AST rather than a flattened AST. Also, BLOCSUM considering the correlation between code and node representations performs better than Tripletopos using two independent encoders for the code and AST. Finally, we compared our approach with CodeBERT, a strong pre-trained program language model. BLOCSUM performs significantly better than CodeBERT trained on large code data. The result shows that our approach is more appropriate for code modeling than the pre-trained model in the code summarization task.
180
+
181
+ # 3.3 Qualitative Result
182
+
183
+ Ablation Study we perform ablation studies to validate the effectiveness of shared block position embedding and AST variants on the Java and Python datasets.
184
+
185
+ First, we design five models for comparison to verify the shared block position embedding: 1) not use block position embedding (unuse) 2) only use code block position embedding (code block emb) 3) only use AST block position embedding (ast block emb) 4) use separate block position embedding for code and AST (separate) 5) use shared block position embedding (share).
186
+
187
+ In Table 2, code block emb and ast block emb have better performance than unuse. This result shows that block position embedding is effective in capturing the block information in each encoder. Also when both code and AST encoder use each separate block position embedding, we can see that it is more effective than only using one block po
188
+
189
+ Table 1: Comparison of our proposed model with the baseline models on the Java and Python datasets. We fine-tuned CodeBERT* with an input length of 200 and an output length of 50 for the two datasets.
190
+
191
+ <table><tr><td>Block Pos Emb</td><td>BLEU</td><td>METEOR</td><td>ROUGE-L</td></tr><tr><td colspan="4">Java Dataset</td></tr><tr><td>unused</td><td>48.46</td><td>31.47</td><td>58.65</td></tr><tr><td>code block emb</td><td>48.53</td><td>31.56</td><td>58.63</td></tr><tr><td>ast block emb</td><td>48.54</td><td>31.77</td><td>58.92</td></tr><tr><td>separate</td><td>48.83</td><td>32.06</td><td>59.13</td></tr><tr><td>share</td><td>49.05</td><td>32.11</td><td>59.42</td></tr><tr><td colspan="4">Python Dataset</td></tr><tr><td>unused</td><td>34.33</td><td>22.74</td><td>49.98</td></tr><tr><td>code block emb</td><td>34.50</td><td>22.84</td><td>50.10</td></tr><tr><td>ast block emb</td><td>34.56</td><td>22.83</td><td>50.08</td></tr><tr><td>separate</td><td>34.79</td><td>23.10</td><td>50.33</td></tr><tr><td>share</td><td>35.16</td><td>23.22</td><td>50.58</td></tr></table>
192
+
193
+ Table 2: Ablation study on shared block position embedding.
194
+
195
+ sition embedding. Moreover, share has the best performance in comparison with other models. The shared block position embedding can learn the correlation between the code and AST encoders through the block-scope information rather than each separate block position embedding. Shared block position embedding not only effectively captures the structure of the code block, but also helps connect both the code and AST.
196
+
197
+ Second, we compare our approach with other combinations for verifying the effectiveness of variant ASTs: 1) AST-original (o) 2) AST-block (b), 3) AST-global (g).
198
+
199
+ As illustrated in Table 3, the results show that leveraging more structural information, such as block or global dependencies, performs better than modeling AST-original with only local dependency. Also, combining AST-original, AST-block, and AST-global has the best performance in comparison with
200
+
201
+ <table><tr><td>Combination</td><td>BLEU</td><td>METEOR</td><td>ROUGE-L</td></tr><tr><td colspan="4">Java Dataset</td></tr><tr><td>o</td><td>48.39</td><td>31.73</td><td>58.98</td></tr><tr><td>g</td><td>48.41</td><td>31.63</td><td>58.40</td></tr><tr><td>o + g</td><td>48.76</td><td>31.87</td><td>59.00</td></tr><tr><td>o + b + g</td><td>49.05</td><td>32.11</td><td>59.42</td></tr><tr><td colspan="4">Python Dataset</td></tr><tr><td>o</td><td>34.58</td><td>22.76</td><td>50.14</td></tr><tr><td>g</td><td>34.41</td><td>22.84</td><td>50.01</td></tr><tr><td>o + g</td><td>34.64</td><td>22.87</td><td>50.11</td></tr><tr><td>o + b + g</td><td>35.16</td><td>23.22</td><td>50.58</td></tr></table>
202
+
203
+ combining other combinations. We demonstrate that utilizing AST variants helps learn rich information such as block and global dependencies of the source code.
204
+
205
+ Human Evaluation We performed a human evaluation on the Python dataset to demonstrate the quality of generated summaries. We randomly select 100 code snippets and ask three people with knowledge of the Python language to evaluate the summaries. They are CS graduate students with many years of experience in Python languages. Following the human evaluation metrics of (Choi et al., 2021), we ask them to evaluate the 3 following metrics: 1) Fluency (Quality of the summary & grammatically correct), 2) Relevance (Selection of the consistent content in source code), 3) Coverage (Selection of the important content in source code). We show pairs of summaries generated from BLOCSUM and the baseline fine-tuned (Feng et al., 2020) to the evaluators, and they select one of win, tie, and loss in three metrics for both results.
206
+
207
+ Table 4 shows the results of human evaluation on the generated summaries on the Python dataset. The scores of fluency is lower, but the relevance and coverage are very higher than the baseline, CodeBERT. We analyzed the generated summaries of the two models and identified that BLOCSUM generates it similarly to the ground truth, reflecting the keyword of the code. CodeBERT, a pretrained language model, can generate more fluent and grammatical summaries, but the length is relatively short and a very plain summary with no keywords. The average tokens in the ground truth are 10.14, while the average tokens in summaries generated by BLOCSUM and CodeBERT are 9.91 and 8.16, respectively. We think that short sentences are more grammatically advantageous than long sentences. BLOCSUM has the highest tie in terms
208
+
209
+ Table 3: Ablation study on combination of AST variants.
210
+
211
+ <table><tr><td></td><td>Fluency</td><td>Relevance</td><td>Coverage</td></tr><tr><td>Win</td><td>76</td><td>143</td><td>125</td></tr><tr><td>Tie</td><td>114</td><td>64</td><td>80</td></tr><tr><td>Loss</td><td>110</td><td>93</td><td>95</td></tr></table>
212
+
213
+ Table 4: Human evaluation of the appropriateness of the generated adversarial example on the Python dataset.
214
+
215
+ of fluency but the highest win in terms of relevance and coverage. The result means that BLOCSUM reflects more the core characteristic of the code than CodeBERT.
216
+
217
+ Comparison with the baselines Table 5 shows the summary examples generated from our proposed model on the Python dataset. The result on the Python dataset example shows BLOCSUM predicts the keywords "wsgi" and "request" by reflecting block-scope information. Although there is no dependency between two words in the code and the original AST, BLOCSUM utilizes three different types of AST variants and jointly learns structural dependency in three aspects to improve the performance of the model. Refer to Appendix D for more summary examples on the Java and Python datasets.
218
+
219
+ # 4 Related Work
220
+
221
+ Sequence-based Approaches Iyer et al. (2016) and Allamanis et al. (2016) proposed to use Long Short Term Memory (LSTM) and Convolutional Neural Networks (CNNs) for the source code summarization. Liang and Zhu (2018) proposed a tree-based recursive neural network to represent the syntax tree of code. Hu et al. (2018b) and Chen et al. (2021) summarized the source code with the APIs knowledge. Wei et al. (2019) used a dual training framework by training code summarization and code generation tasks. Also, Ye et al. (2020) considered the probabilistic correlation between the two tasks. Choi et al. (2020) proposed attention-based keyword memory networks for code summarization. Ahmad et al. (2020) proposed a Transformer model using a relative position. However, these approaches have limitations in that they did not explicitly incorporate the structural information of the source code, which is just as crucial as capturing the code semantics. Also, they did not learn the code block information because they learned the code as a sequence of tokens.
222
+
223
+ <table><tr><td>Python Code</td><td>def simulate_request(app, method=&#x27;GET&#x27;, path=&#x27;/&#x27;, query_string=None, headers=None, body=None, fileRIAWRER=None, params=None, params_csv=True): if (not path.startswith(&#x27;/&#x27;)) : raise ValueError(&quot;path must start with &#x27;/&quot;) if (query_string and query_string.startswith(&#x27;?&#x27;)) : raise ValueError(&quot;query_string should not start with &#x27;?&#x27;) if (&#x27;?&#x27; in path): raise ValueError(&#x27;path may not contain a query string. Please use the query_string parameter instead.&#x27;) if (query_string is None): query_string = to_query_str(parms, comma delimitedLists=params_csv, prefix=False) env = helpers.create_environ(method=method, path=path, query_string=(query_string or ), headers=headers, body=body, file wraps=file wraps) srmock = StartResponseMock( ) validator = wsgirefvalidate_validator(app) iterable = validator(env, smock) result = Result(iterable, smock.status, smockHeaders) return result</td></tr><tr><td>Ground Truth CodeBERT BLOCSUM</td><td>simulate a request to a wsgi application . simulate a wsgi environment . simulate a request to a wsgi request .</td></tr></table>
224
+
225
+ Table 5: A qualitative example on the Python dataset.
226
+
227
+ Structure-based Approaches Hu et al. (2018a) proposed an RNN-based model using the pre-order traversal sequence as input. Shido et al. (2019); Harer et al. (2019) adopted Tree-LSTM, TreeTransformer to encode tree-based inputs. LeClair et al. (2020) proposed encoded AST using graph neural networks and trained LSTM. Liu et al. (2021) proposed a retrieval augmented method with Graph Neural Network (GNN). Zhang et al. (2019) proposed AST-based Neural Network (ASTNN) for encoding the subtree. Lin et al. (2021) proposed Tree-LSTM to represent the split AST for code summarization. Li et al. (2021) leverage the retrieve-and-edit framework to improve the performance for code summarization. Allamanis et al. (2018), Wang and Li (2021), and Wu et al. (2021) tried to capture rich information using additional graphs such as CFG and PDG. But, these approaches considered only the structural information of the AST without considering the sequential information of the code token.
228
+
229
+ Hybrid Approaches Alon et al. (2019) leveraged the unique syntactic structure of programming languages by sampling paths in the AST of a code snippet. LeClair et al. (2019) proposed ast-attendgru model that combines code with structure from AST Also, Choi et al. (2021) proposed a model that combines Graph Convolution Network and Transformer using AST. Wu et al. (2021) incorporated a multiview graph matrix into the transformer model. Shi et al. (2021) tried to hierarchically split and
230
+
231
+ reconstruct ASTs using Recursive Neural Network for learning the representation of the complete AST. Wan et al. (2018) used a deep reinforcement learning framework to consider an AST structure and code snippets. Gong et al. (2022) proposed a structural position method to augment the structural correlations between code tokens. But, they encoded two types of representations independently without correlation and did not consider merging them.
232
+
233
+ Zhang et al. (2020) proposed a retrieval-based approach using syntactic and semantic similarity for source code summarization. Liu et al. (2021) proposed a hybrid GNN using a retrieval augmented graph method. Wei et al. (2020) proposed a comment generation framework using AST, similar code, and exemplar from code. Choi et al. (2023) proposed a self-attention network that adaptively learns the structural and sequential information of code. But, they tried to model the code using more code information through retrieval methods.
234
+
235
+ # 5 Conclusion
236
+
237
+ In this paper, we proposed BLOCSUM, BLOck scope-based source Code SUMmarization via shared block representation that utilizes blockscope information by representing various structures of the code block. We designed two methods using the fact that a code block is a fundamental structural component of the source code. We propose the first method, the shared block position embedding, for effectively representing the structure of the code block and merging a correlation
238
+
239
+ between the code and the AST encoders. Furthermore, we developed to reconstruct simple yet effective AST variants to learn rich information such as block and global dependencies of the source code. Experimental results demonstrated the effectiveness of BLOCSUM and confirmed the importance of block-scope information in the code.
240
+
241
+ # Limitations
242
+
243
+ In this paper, we conducted an experiment on code summarization using two benchmark datasets, the Java dataset (Hu et al., 2018b) and the Python dataset (Wan et al., 2018). BLOCSUM may need to be tested for its generalizability to other program languages. We chose two program languages (Java and Python) that were easily parsed to map the block position of Code and AST. We believe that since other programming languages have similar syntactic structures, BLOCSUM should be able to achieve similar performance on them as well.
244
+
245
+ # Ethics Statement
246
+
247
+ This paper proposes block scope-based source code summarization via shared block representation that utilizes block-scope information by representing various structures of the code block, which is beneficial to increase the efficiency of developers. The research conducted in this paper will not cause any ethical issues or have any negative social effects. The data used is all publicly accessible and is commonly used by researchers as a benchmark for program and language generation tasks. Our proposed method does not introduce any ethical or social bias or worsen any existing bias in the data.
248
+
249
+ # Acknowledgements
250
+
251
+ This work was supported by Institute of Information & communications Technology Planning & Evaluation(IITP) grant funded by the Korea government(MSIT) (No.2019-0-00421, AI Graduate School Support Program(Sungkyunkwan University)) This research was supported by the MSIT(Ministry of Science and ICT), Korea, under the ICT Creative Consilience Program(IITP-2023-2020-0-01821) supervised by the IITP(Institute for Information & communications Technology Planning & Evaluation)
252
+
253
+ # References
254
+
255
+ Wasi Ahmad, Saikat Chakraborty, Baishakhi Ray, and Kai-Wei Chang. 2020. A transformer-based approach for source code summarization. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pages 4998-5007, Online. Association for Computational Linguistics.
256
+ Miltiadis Allamanis, Marc Brockschmidt, and Mahmoud Khademi. 2018. Learning to represent programs with graphs. In 6th International Conference on Learning Representations, ICLR 2018, Vancouver, BC, Canada, April 30 - May 3, 2018, Conference Track Proceedings. OpenReview.net.
257
+ Miltiadis Allamanis, Hao Peng, and Charles Sutton. 2016. A convolutional attention network for extreme summarization of source code. In Proceedings of the 33nd International Conference on Machine Learning, ICML 2016, New York City, NY, USA, June 19-24, 2016, volume 48 of JMLR Workshop and Conference Proceedings, pages 2091-2100. JMLR.org.
258
+ Uri Alon, Shaked Brody, Omer Levy, and Eran Yahav. 2019. code2seq: Generating sequences from structured representations of code. In 7th International Conference on Learning Representations, ICLR 2019, New Orleans, LA, USA, May 6-9, 2019. OpenReview.net.
259
+ Uri Alon, Meital Zilberstein, Omer Levy, and Eran Yahav. 2018. code2vec: Learning distributed representations of code.
260
+ Jimmy Lei Ba, Jamie Ryan Kiros, and Geoffrey E Hinton. 2016. Layer normalization. *ArXiv preprint*, abs/1607.06450.
261
+ Satanjeev Banerjee and Alon Lavie. 2005. METEOR: An automatic metric for MT evaluation with improved correlation with human judgments. In Proceedings of the ACL Workshop on Intrinsic and Extrinsic Evaluation Measures for Machine Translation and/or Summarization, pages 65-72, Ann Arbor, Michigan. Association for Computational Linguistics.
262
+ Fuxiang Chen, Mijung Kim, and Jaegul Choo. 2021. Novel natural language summarization of program code via leveraging multiple input representations. In *Findings of the Association for Computational Linguistics: EMNLP* 2021, pages 2510-2520, Punta Cana, Dominican Republic. Association for Computational Linguistics.
263
+ YunSeok Choi, JinYeong Bak, CheolWon Na, and JeeHyong Lee. 2021. Learning sequential and structural information for source code summarization. In *Findings of the Association for Computational Linguistics: ACL-IJCNLP* 2021, pages 2842–2851, Online. Association for Computational Linguistics.
264
+ YunSeok Choi, Suah Kim, and Jee-Hyong Lee. 2020. Source code summarization using attention-based
265
+
266
+ keyword memory networks. In 2020 IEEE International Conference on Big Data and Smart Computing (BigComp), pages 564-570. IEEE.
267
+ YunSeok Choi, CheolWon Na, Hyojun Kim, and JeeHyong Lee. 2023. Readsum: Retrieval-augmented adaptive transformer for source code summarization. IEEE Access.
268
+ Akiko Eriguchi, Kazuma Hashimoto, and Yoshimasa Tsuruoka. 2016. Tree-to-sequence attentional neural machine translation. In Proceedings of the 54th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 823-833, Berlin, Germany. Association for Computational Linguistics.
269
+ 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, pages 1536-1547, Online. Association for Computational Linguistics.
270
+ Patrick Fernandes, Miltiadis Allamanis, and Marc Brockschmidt. 2019. Structured neural summarization. In 7th International Conference on Learning Representations, ICLR 2019, New Orleans, LA, USA, May 6-9, 2019. OpenReview.net.
271
+ Zi Gong, Cuiyun Gao, Yasheng Wang, Wenchao Gu, Yun Peng, and Zenglin Xu. 2022. Source code summarization with structural relative position guided transformer. arXiv preprint arXiv:2202.06521.
272
+ Jacob Harer, Chris Reale, and Peter Chin. 2019. Tree-transformer: A transformer-based method for correction of tree-structured data. ArXiv preprint, abs/1908.00449.
273
+ Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. 2016. Deep residual learning for image recognition. In 2016 IEEE Conference on Computer Vision and Pattern Recognition, CVPR 2016, Las Vegas, NV, USA, June 27-30, 2016, pages 770-778. IEEE Computer Society.
274
+ Xing Hu, Ge Li, Xin Xia, David Lo, and Zhi Jin. 2018a. Deep code comment generation. In 2018 IEEE/ACM 26th International Conference on Program Comprehension (ICPC), pages 200-20010. IEEE.
275
+ Xing Hu, Ge Li, Xin Xia, David Lo, Shuai Lu, and Zhi Jin. 2018b. Summarizing source code with transferred API knowledge. In Proceedings of the Twenty-Seventh International Joint Conference on Artificial Intelligence, IJCAI 2018, July 13-19, 2018, Stockholm, Sweden, pages 2269-2275. ijcai.org.
276
+ Srinivasan Iyer, Ioannis Konstas, Alvin Cheung, and Luke Zettlemoyer. 2016. Summarizing source code using a neural attention model. In Proceedings of the 54th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages
277
+
278
+ 2073-2083, Berlin, Germany. Association for Computational Linguistics.
279
+ Diederik P. Kingma and Jimmy Ba. 2015. Adam: A method for stochastic optimization. In 3rd International Conference on Learning Representations, ICLR 2015, San Diego, CA, USA, May 7-9, 2015, Conference Track Proceedings.
280
+ Alexander LeClair, Sakib Haque, Lingfei Wu, and Collin McMillan. 2020. Improved code summarization via a graph neural network. volume abs/2004.02843.
281
+ Alexander LeClair, Siyuan Jiang, and Collin McMillan. 2019. A neural model for generating natural language summaries of program subroutines. In 2019 IEEE/ACM 41st International Conference on Software Engineering (ICSE), pages 795-806. IEEE.
282
+ Jia Li, Yongmin Li, Ge Li, Xing Hu, Xin Xia, and Zhi Jin. 2021. Editsum: A retrieve-and-edit framework for source code summarization. In 2021 36th IEEE/ACM International Conference on Automated Software Engineering (ASE), pages 155-166. IEEE.
283
+ Yuding Liang and Kenny Qili Zhu. 2018. Automatic generation of text descriptive comments for code blocks. In Proceedings of the Thirty-Second AAAI Conference on Artificial Intelligence, (AAAI-18), the 30th innovative Applications of Artificial Intelligence (IAAI-18), and the 8th AAAI Symposium on Educational Advances in Artificial Intelligence (EAAI-18), New Orleans, Louisiana, USA, February 2-7, 2018, pages 5229-5236. AAAI Press.
284
+ Chen Lin, Zhichao Ouyang, Junqing Zhuang, Jianqiang Chen, Hui Li, and Rongxin Wu. 2021. Improving code summarization with block-wise abstract syntax tree splitting. In 2021 IEEE/ACM 29th International Conference on Program Comprehension (ICPC), pages 184-195. IEEE.
285
+ 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.
286
+ Shangqing Liu, Yu Chen, Xiaofei Xie, Jing Kai Siow, and Yang Liu. 2021. Retrieval-augmented generation for code summarization via hybrid GNN. In 9th International Conference on Learning Representations, ICLR 2021, Virtual Event, Austria, May 3-7, 2021. OpenReview.net.
287
+ Kishore Papineni, Salim Roukos, Todd Ward, and Wei Jing Zhu. 2002. Bleu: a method for automatic evaluation of machine translation. In Proceedings of the 40th Annual Meeting of the Association for Computational Linguistics, pages 311-318, Philadelphia, Pennsylvania, USA. Association for Computational Linguistics.
288
+ Abigail See, Peter J. Liu, and Christopher D. Manning. 2017. Get to the point: Summarization with pointer-generator networks. In Proceedings of the 55th Annual Meeting of the Association for Computational
289
+
290
+ Linguistics (Volume 1: Long Papers), pages 1073-1083, Vancouver, Canada. Association for Computational Linguistics.
291
+ Ensheng Shi, Yanlin Wang, Lun Du, Hongyu Zhang, Shi Han, Dongmei Zhang, and Hongbin Sun. 2021. CAST: Enhancing code summarization with hierarchical splitting and reconstruction of abstract syntax trees. In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing, pages 4053-4062, Online and Punta Cana, Dominican Republic. Association for Computational Linguistics.
292
+ Yusuke Shido, Yasuaki Kobayashi, Akihiro Yamamoto, Atsushi Miyamoto, and Tadayuki Matsumura. 2019. Automatic source code summarization with extended tree-lstm. volume abs/1906.08094.
293
+ Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N. Gomez, Lukasz Kaiser, and Illia Polosukhin. 2017. Attention is all you need. In Advances in Neural Information Processing Systems 30: Annual Conference on Neural Information Processing Systems 2017, December 4-9, 2017, Long Beach, CA, USA, pages 5998-6008.
294
+ Petar Velickovic, Guillem Cucurull, Arantxa Casanova, Adriana Romero, Pietro Liò, and Yoshua Bengio. 2018. Graph attention networks. In 6th International Conference on Learning Representations, ICLR 2018, Vancouver, BC, Canada, April 30 - May 3, 2018, Conference Track Proceedings. OpenReview.net.
295
+ Yao Wan, Zhou Zhao, Min Yang, Guandong Xu, Haochao Ying, Jian Wu, and Philip S Yu. 2018. Improving automatic source code summarization via deep reinforcement learning. In Proceedings of the 33rd ACM/IEEE International Conference on Automated Software Engineering, pages 397-407.
296
+ Yanlin Wang and Hui Li. 2021. Code completion by modeling flattened abstract syntax trees as graphs. In AAAI.
297
+ Bolin Wei, Ge Li, Xin Xia, Zhiyi Fu, and Zhi Jin. 2019. Code generation as a dual task of code summarization. In Advances in Neural Information Processing Systems 32: Annual Conference on Neural Information Processing Systems 2019, NeurIPS 2019, December 8-14, 2019, Vancouver, BC, Canada, pages 6559-6569.
298
+ Bolin Wei, Yongmin Li, Ge Li, Xin Xia, and Zhi Jin. 2020. Retrieve and refine: exemplar-based neural comment generation. In 2020 35th IEEE/ACM International Conference on Automated Software Engineering (ASE), pages 349-360. IEEE.
299
+ Hongqiu Wu, Hai Zhao, and Min Zhang. 2021. Code summarization with structure-induced transformer. In *Findings of the Association for Computational Linguistics: ACL-IJCNLP* 2021, pages 1078-1090, Online. Association for Computational Linguistics.
300
+
301
+ Wei Ye, Rui Xie, Jinglei Zhang, Tianxiang Hu, Xiaoyin Wang, and Shikun Zhang. 2020. Leveraging code generation to improve code retrieval and summarization via dual learning. In WWW '20: The Web Conference 2020, Taipei, Taiwan, April 20-24, 2020, pages 2309-2319. ACM / IW3C2.
302
+ Jian Zhang, Xu Wang, Hongyu Zhang, Hailong Sun, and Xudong Liu. 2020. Retrieval-based neural source code summarization. In 2020 IEEE/ACM 42nd International Conference on Software Engineering (ICSE), pages 1385-1397. IEEE.
303
+ Jian Zhang, Xu Wang, Hongyu Zhang, Hailong Sun, Kaixuan Wang, and Xudong Liu. 2019. A novel neural source code representation based on abstract syntax tree. In 2019 IEEE/ACM 41st International Conference on Software Engineering (ICSE), pages 783-794. IEEE.
304
+
305
+ # A Statistics of Experiment Datasets
306
+
307
+ For obtaining ASTs of the Java and Python dataset, we use the javalang<sup>1</sup> and ast<sup>2</sup> library, respectively. Also, we tokenize the source code and the AST to subtokens as the form CamelCase and snake-case.
308
+
309
+ <table><tr><td>Dataset</td><td>Java</td><td>Python</td></tr><tr><td>Train</td><td>69,708</td><td>55,538</td></tr><tr><td>Valid</td><td>8,714</td><td>18,505</td></tr><tr><td>Test</td><td>8,714</td><td>18,502</td></tr><tr><td>Unique non-leaf nodes in ASTs</td><td>106</td><td>54</td></tr><tr><td>Unique leaf nodes in ASTs</td><td>57,372</td><td>101,229</td></tr><tr><td>Unique tokens in summaries</td><td>46,895</td><td>56,189</td></tr><tr><td>Avg. nodes in AST</td><td>131.72</td><td>104.11</td></tr><tr><td>Avg. tokens in summary</td><td>17.73</td><td>9.48</td></tr></table>
310
+
311
+ Table 6: Statistics of Java dataset (Hu et al., 2018b) and Python dataset (Wan et al., 2018). For obtaining their corresponding ASTs, we use the javalang and ast libraries, respectively.
312
+
313
+ # B Evaluation Metrics
314
+
315
+ BLEU(Papineni et al., 2002) is a Bilingual Evaluation Understudy to measure the quality of generated code summaries. The formula for computing BLEU is as follows:
316
+
317
+ $$
318
+ B L E U = B P \cdot \exp \sum_ {n = 1} ^ {N} \omega_ {n} \log p _ {n}
319
+ $$
320
+
321
+ where $p_n$ is the geometric average of the modified n-gram precisions, $\omega_{n}$ is uniform weights $1 / N$ and BP is the brevity penalty.
322
+
323
+ METEOR(Banerjee and Lavie, 2005) is used to measure how closely the metric scores match the human judgments about the quality of the translation. So unigram precision $(P)$ and unigram recall $(R)$ are computed and combined via a harmonic mean. The METEOR score is computed as follows:
324
+
325
+ $$
326
+ M E T E O R = (1 - \gamma \cdot f r a g ^ {\beta}) \cdot \frac {P \cdot R}{\alpha \cdot P + (1 - \alpha) \cdot P}
327
+ $$
328
+
329
+ where $\text{frag}$ is the fragmentation fraction. $\alpha$ , $\beta$ , and $\gamma$ are three penalty parameters whose default values are 0.9, 3.0, and 0.5, respectively.
330
+
331
+ ROUGE-L(Lin, 2004) is used to apply Longest Common Subsequence in summarization evaluation. ROUGE-L used LCS-based F-measure to estimate the similarity between two summaries $X$
332
+
333
+ of length $m$ and $Y$ of length $n$ , assuming $X$ is a reference summary sentence, and $Y$ is a candidate summary sentence, as follows:
334
+
335
+ $$
336
+ \begin{array}{l} R _ {l c s} = \frac {L C S (X , Y)}{m}, P _ {l c s} = \frac {L C S (X , Y)}{n} \\ F _ {l c s} = \frac {\left(1 + \beta^ {2}\right) R _ {l c s} P _ {l c s}}{R _ {l c s} + \beta^ {2} P _ {l c s}} \\ \end{array}
337
+ $$
338
+
339
+ where $\beta = P_{lcs} / R_{lcs}$ and $F_{lcs}$ is the value of ROUGE-L.
340
+
341
+ # C Implementation Detail
342
+
343
+ We conducted experiments on Ubuntu 18.04 with 4 2080 Ti GPUs. The environment of the sever supports python 3.9, Cuda 10.2, pytorch 1.9, and pytorch geometric 1.7.
344
+
345
+ The average training and inference time for BLOCSUM takes about 40 and 0.5 hours, respectively. BLOCSUM has about 76 million parameters.
346
+
347
+ <table><tr><td>Hyper-parameter</td><td>Size</td></tr><tr><td>the maximum length of code tokens</td><td>200</td></tr><tr><td>the maximum length of AST nodes</td><td>200</td></tr><tr><td>the maximum length of summary tokens</td><td>50</td></tr><tr><td>Embedding dimension</td><td>512</td></tr><tr><td>The number of Code Encoder layers</td><td>6</td></tr><tr><td>The number of AST Encoder layers</td><td>6</td></tr><tr><td>The number of Code Decoder layers</td><td>6</td></tr><tr><td>Head of Attention</td><td>8</td></tr><tr><td>batch size</td><td>80</td></tr><tr><td>train epoch</td><td>100</td></tr><tr><td>early stop</td><td>5</td></tr><tr><td>learning rate</td><td>0.0005</td></tr><tr><td>learning decay</td><td>0.99</td></tr><tr><td>beam size</td><td>5</td></tr></table>
348
+
349
+ Table 7: Hyper-parameters of BLOCSUM.
350
+
351
+ # D Examples of Java and Python Datasets
352
+
353
+ ```txt
354
+ Java Code @ Override public String toString() { String result; result=super.toString(); if (m_CapabilitiesFilter != null) { initCapabilities(); if (m_Capabilities != null) { if (m_CapabilitiessupportsMaybe(m_CapabilitiesFilter) &&! m_Capabilitiessupports(m_CapabilitiesFilter)) { result="<html><font color $\equiv$ "" + MAYBE.'<sup>+</sup> + result + </font></i><html>"; } else if(!m_Capabilitiessupports(m_CapabilitiesFilter)) { result="<html><font color $\equiv$ "" + NO.'<sup>+</sup> + result+ </font></i><html>"; } } return result;
355
+ }
356
+ Ground Truth return a string representation of this tree node .
357
+ CodeBERT build a string representation of the buff .
358
+ BLOCSUM return a string representation of the capability .
359
+ Python Code def _getcodon_list(codonseq): full_rf_table = codonseq.get_full_rf_table) codon_lst = [] for (i, k) in enumerate(full_rf_table): if isinstance(k, int): start $=$ k try: end $=$ int(full_rf_table[(i+1)]) except IndexError: end $=$ (start + 3) this_codon = str(codonseq[ start:end]) if (len(this_codon) == 3: codon_lst.append(this_codon) else: codon_lst.append(str(this_codon.ungap())) elif (str(codonseq[int(k):(int(k) + 3)) == '---'): codon_lst.append('---') else: codon_lst.append(codonseq[int(k):(int(k) + 3))) return codon_lst
360
+ Ground Truth list of codon accord to full rf table for count .
361
+ CodeBERT get cod ne .
362
+ BLOCSUM get list that contain the codon in list .
363
+ ```
364
+
365
+ A For every submission:
366
+
367
+ A1. Did you describe the limitations of your work? Limitations
368
+ A2. Did you discuss any potential risks of your work? Limitations
369
+ A3. Do the abstract and introduction summarize the paper's main claims? Abstract and 1. Introduction
370
+ A4. Have you used AI writing assistants when working on this paper? Left blank.
371
+
372
+ B Did you use or create scientific artifacts?
373
+
374
+ 3. Experiment Results
375
+
376
+ B1. Did you cite the creators of artifacts you used? 3. Experiment Results
377
+ B2. Did you discuss the license or terms for use and / or distribution of any artifacts? 3. Experiment Results
378
+
379
+ B3. Did you discuss if your use of existing artifact(s) was consistent with their intended use, provided that it was specified? For the artifacts you create, do you specify intended use and whether that is compatible with the original access conditions (in particular, derivatives of data accessed for research purposes should not be used outside of research contexts)? Not applicable. Left blank.
380
+ B4. Did you discuss the steps taken to check whether the data that was collected / used contains any information that names or uniquely identifies individual people or offensive content, and the steps taken to protect / anonymize it? Not applicable. Left blank.
381
+ B5. Did you provide documentation of the artifacts, e.g., coverage of domains, languages, and linguistic phenomena, demographic groups represented, etc.? Not applicable. Left blank.
382
+ B6. Did you report relevant statistics like the number of examples, details of train / test / dev splits, etc. for the data that you used / created? Even for commonly-used benchmark datasets, include the number of examples in train / validation / test splits, as these provide necessary context for a reader to understand experimental results. For example, small differences in accuracy on large test sets may be significant, while on small test sets they may not be. 3. Experiment Results and Appendix A
383
+
384
+ C Did you run computational experiments?
385
+
386
+ 3. Experiment Results and Appendix C
387
+
388
+ C1. Did you report the number of parameters in the models used, the total computational budget (e.g., GPU hours), and computing infrastructure used? 3. Experiment Results and Appendix C
389
+
390
+ The Responsible NLP Checklist used at ACL 2023 is adopted from NAACL 2022, with the addition of a question on AI writing assistance.
391
+
392
+ C2. Did you discuss the experimental setup, including hyperparameter search and best-found hyperparameter values?
393
+
394
+ We used the same hyperparameter as the previous study.
395
+
396
+ C3. Did you report descriptive statistics about your results (e.g., error bars around results, summary statistics from sets of experiments), and is it transparent whether you are reporting the max, mean, etc. or just a single run?
397
+
398
+ We adopted the median value among the 3 models.
399
+
400
+ C4. If you used existing packages (e.g., for preprocessing, for normalization, or for evaluation), did you report the implementation, model, and parameter settings used (e.g., NLTK, Spacy, ROUGE, etc.)?
401
+
402
+ 3. Experiment Results and Appendix B, C
403
+
404
+ D Did you use human annotators (e.g., crowdworkers) or research with human participants?
405
+
406
+ Left blank.
407
+
408
+ D1. Did you report the full text of instructions given to participants, including e.g., screenshots, disclaimers of any risks to participants or annotators, etc.?
409
+
410
+ Not applicable. Left blank.
411
+
412
+ D2. Did you report information about how you recruited (e.g., crowdsourcing platform, students) and paid participants, and discuss if such payment is adequate given the participants' demographic (e.g., country of residence)?
413
+
414
+ Not applicable. Left blank.
415
+
416
+ D3. Did you discuss whether and how consent was obtained from people whose data you're using/curating? For example, if you collected data via crowdsourcing, did your instructions to crowdworkers explain how the data would be used?
417
+
418
+ Not applicable. Left blank.
419
+
420
+ D4. Was the data collection protocol approved (or determined exempt) by an ethics review board?
421
+
422
+ Not applicable. Left blank.
423
+
424
+ D5. Did you report the basic demographic and geographic characteristics of the annotator population that is the source of the data?
425
+
426
+ Not applicable. Left blank.
2023/BLOCSUM_ Block Scope-based Source Code Summarization via Shared Block Representation/images.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:56047c5ecc5733662d502bd13d55bfb566c94dfcf8dc339bbc0a44e6a9eb3b78
3
+ size 577577
2023/BLOCSUM_ Block Scope-based Source Code Summarization via Shared Block Representation/layout.json ADDED
The diff for this file is too large to render. See raw diff
 
2023/Balancing the Effect of Training Dataset Distribution of Multiple Styles for Multi-Style Text Transfer/e52f8ce0-4325-4d7a-9b9b-68ca012cb308_content_list.json ADDED
@@ -0,0 +1,1767 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "type": "text",
4
+ "text": "Balancing Effect of Training Dataset Distribution of Multiple Styles for Multi-Style Text Transfer",
5
+ "text_level": 1,
6
+ "bbox": [
7
+ 132,
8
+ 89,
9
+ 867,
10
+ 130
11
+ ],
12
+ "page_idx": 0
13
+ },
14
+ {
15
+ "type": "text",
16
+ "text": "Debarati Das David Ma Dongyeop Kang",
17
+ "bbox": [
18
+ 305,
19
+ 155,
20
+ 697,
21
+ 172
22
+ ],
23
+ "page_idx": 0
24
+ },
25
+ {
26
+ "type": "text",
27
+ "text": "Department of Computer Science, University of Minnesota",
28
+ "bbox": [
29
+ 260,
30
+ 173,
31
+ 739,
32
+ 187
33
+ ],
34
+ "page_idx": 0
35
+ },
36
+ {
37
+ "type": "text",
38
+ "text": "{das00015, maxxx818, dongyeop}@umn.edu",
39
+ "bbox": [
40
+ 305,
41
+ 189,
42
+ 697,
43
+ 204
44
+ ],
45
+ "page_idx": 0
46
+ },
47
+ {
48
+ "type": "text",
49
+ "text": "Abstract",
50
+ "text_level": 1,
51
+ "bbox": [
52
+ 260,
53
+ 252,
54
+ 339,
55
+ 268
56
+ ],
57
+ "page_idx": 0
58
+ },
59
+ {
60
+ "type": "text",
61
+ "text": "Text style transfer is an exciting task within the field of natural language generation that is often plagued by the need for high-quality paired datasets. Furthermore, training a model for multi-attribute text style transfer requires datasets with sufficient support across all combinations of the considered stylistic attributes, adding to the challenges of training a style transfer model. This paper explores the impact of training data input diversity on the quality of the generated text from the multi-style transfer model. We construct a pseudo-parallel dataset by devising heuristics to adjust the style distribution in the training samples. We balance our training dataset using marginal and joint distributions to train our style transfer models. We observe that a balanced dataset produces more effective control effects over multiple styles than an imbalanced or skewed one. Through quantitative analysis, we explore the impact of multiple style distributions in training data on style-transferred output. These findings will better inform the design of style-transfer datasets.",
62
+ "bbox": [
63
+ 141,
64
+ 280,
65
+ 460,
66
+ 621
67
+ ],
68
+ "page_idx": 0
69
+ },
70
+ {
71
+ "type": "text",
72
+ "text": "1 Introduction",
73
+ "text_level": 1,
74
+ "bbox": [
75
+ 114,
76
+ 634,
77
+ 258,
78
+ 651
79
+ ],
80
+ "page_idx": 0
81
+ },
82
+ {
83
+ "type": "text",
84
+ "text": "Multi-style text transfer is a challenging task today with applications such as automatic domain-appropriate, style-conformant writing (Fu et al., 2018) and AI-assisted stylistic language editing. Text style transfer is an intricate task as all language has a specific context, and those contexts influence the attributes of the language (Hovy and Yang, 2021). Text style transfer is challenging because it involves dealing with the aspects of style coupled with the textual content (Hu et al., 2017; Shen et al., 2017; Lample et al., 2018). This domain's other obstacles include the need for parallel corpus (Jhamtani et al., 2017) and quality training data. As the number of style dimensions increases with multi-style text transfer, not only is the requirement of a jointly annotated corpus across all the",
85
+ "bbox": [
86
+ 112,
87
+ 661,
88
+ 489,
89
+ 919
90
+ ],
91
+ "page_idx": 0
92
+ },
93
+ {
94
+ "type": "image",
95
+ "img_path": "images/2794bbad8e426aa268b19892248a0e6d7b2378e8b55fe42f584182a0884f29f0.jpg",
96
+ "image_caption": [
97
+ "Figure 1: When an input sentence is passed to the multi-style transfer model, to increase formality and decrease arousal, we hypothesize that when the model is trained on a balanced joint distribution of formality and arousal (all four style combinations have a $25\\%$ representation) - the style transfer is more successful as opposed to when the model is trained on a skewed joint distribution (there is no representation of the \"informal unaroused\" style combination) of styles in the training data."
98
+ ],
99
+ "image_footnote": [],
100
+ "bbox": [
101
+ 536,
102
+ 255,
103
+ 884,
104
+ 394
105
+ ],
106
+ "page_idx": 0
107
+ },
108
+ {
109
+ "type": "text",
110
+ "text": "stylistic dimensions problematic, but the different styles are not necessarily independent.",
111
+ "bbox": [
112
+ 507,
113
+ 577,
114
+ 880,
115
+ 609
116
+ ],
117
+ "page_idx": 0
118
+ },
119
+ {
120
+ "type": "text",
121
+ "text": "While \"style\" can also refer to authorial or domain-specific style, in this paper, we focus on \"microstyles\" as defined by (Kang and Hovy, 2021) where they define \"micro-style\" as a complex combination of different factors such as formality markers, emotions, and metaphors. People intentionally (Troiano et al., 2021) tune these styles in writing differently based on their mood, the person they are addressing, the content of the message, or the platform. Multiple microstyles can jointly describe a text; for example, a given text could simultaneously be formal and sad. Microstyles also more easily lend themselves to being represented as spectra with varying degrees of intensity. These points align with our vision of an application where users can edit micro-style aspects of their writing.",
122
+ "bbox": [
123
+ 507,
124
+ 611,
125
+ 882,
126
+ 868
127
+ ],
128
+ "page_idx": 0
129
+ },
130
+ {
131
+ "type": "text",
132
+ "text": "Much research exists on models implementing multi-style text transfer and interdependency of micro-styles (Kang and Hovy, 2019; Goyal et al.,",
133
+ "bbox": [
134
+ 507,
135
+ 870,
136
+ 882,
137
+ 919
138
+ ],
139
+ "page_idx": 0
140
+ },
141
+ {
142
+ "type": "page_number",
143
+ "text": "3932",
144
+ "bbox": [
145
+ 480,
146
+ 927,
147
+ 519,
148
+ 940
149
+ ],
150
+ "page_idx": 0
151
+ },
152
+ {
153
+ "type": "footer",
154
+ "text": "Findings of the Association for Computational Linguistics: ACL 2023, pages 3932-3943",
155
+ "bbox": [
156
+ 228,
157
+ 945,
158
+ 768,
159
+ 957
160
+ ],
161
+ "page_idx": 0
162
+ },
163
+ {
164
+ "type": "footer",
165
+ "text": "July 9-14, 2023 ©2023 Association for Computational Linguistics",
166
+ "bbox": [
167
+ 295,
168
+ 958,
169
+ 699,
170
+ 971
171
+ ],
172
+ "page_idx": 0
173
+ },
174
+ {
175
+ "type": "image",
176
+ "img_path": "images/8fb69b8365f1aa2b8a81111b213cfabf68d9acec2e6d93d651dc5ce7fa6ff820.jpg",
177
+ "image_caption": [
178
+ "Figure 2: The input sentence transitions through every step in our multi-style text style transfer pipeline. The box in red indicates our main contribution to the pipeline, which helps us explore the effects of joint micro-style combinations on style-transferred output."
179
+ ],
180
+ "image_footnote": [],
181
+ "bbox": [
182
+ 196,
183
+ 85,
184
+ 801,
185
+ 303
186
+ ],
187
+ "page_idx": 1
188
+ },
189
+ {
190
+ "type": "text",
191
+ "text": "2020; Subramanian et al., 2018). However, there needs to be more exploration of the joint distribution of inherent micro-styles in the style transfer training dataset and how these micro-style distributions are related. Therefore, we pose a question - Can a dataset with minimal variance across multiple micro-style combinations, such that it experiences a \"balancing effect\", lead to a better style transferred output? Figure 1 illustrates our intuition that a dataset that experiences a \"balancing effect\" will have more control over the multi-style transferred output than a \"skewed\" dataset. Suppose the style transfer model sees examples of every style combination that can exist - this could aid in the style generation of even unlikely combinations of styles compared to a skewed distribution of these joint micro-styles.",
192
+ "bbox": [
193
+ 115,
194
+ 382,
195
+ 489,
196
+ 657
197
+ ],
198
+ "page_idx": 1
199
+ },
200
+ {
201
+ "type": "text",
202
+ "text": "In this research, we consider a multi-style text style transfer pipeline assuming that the user has no access to parallel data or the style of the original text that he wishes to transfer, as would seem natural for a style language editing application. We introduce the changing of the training dataset micro-style joint distributions in such a pipeline and quantitatively explore the impact of this modification on the style transferred output. We perform a set of empirical analyses to demonstrate the influence of joint distributions on style-transferred output and show how this trend varies as the number of micro-styles considered changes. The 'balancing effect' on a training dataset leads to style transferred sentences from even the joint style combinations that are typically rare (\"informal unbiased and",
203
+ "bbox": [
204
+ 112,
205
+ 661,
206
+ 489,
207
+ 917
208
+ ],
209
+ "page_idx": 1
210
+ },
211
+ {
212
+ "type": "text",
213
+ "text": "unaroused\"). Our study is the first of its kind on the distribution of micro styles in training datasets for multi-style text style transfer and is likely to have implications for designing datasets for multi-style transfer model training and fall within the context of and align with recent work on characterizing datasets and factors impacting style transfer (Bender and Friedman, 2018; Schoch et al., 2021; Li et al., 2019; Zhang et al., 2020; Gururangan et al., 2018).",
214
+ "bbox": [
215
+ 507,
216
+ 382,
217
+ 884,
218
+ 544
219
+ ],
220
+ "page_idx": 1
221
+ },
222
+ {
223
+ "type": "text",
224
+ "text": "2 Multi Style Transfer Pipeline",
225
+ "text_level": 1,
226
+ "bbox": [
227
+ 507,
228
+ 556,
229
+ 794,
230
+ 571
231
+ ],
232
+ "page_idx": 1
233
+ },
234
+ {
235
+ "type": "text",
236
+ "text": "Datasets: We chose four micro-styles from the style hierarchy defined in Troiano et al.: Formality, Arousal, Sentiment, and Bias, for our study and used publicly available NLP datasets built by other researchers (Rao and Tetreault, 2018; Buechel and Hahn, 2022; Go et al., 2009; Pryzant et al., 2020; Kang and Hovy, 2019) to develop and test our models. Appendix A mentions the details of the datasets and their usage.",
237
+ "bbox": [
238
+ 507,
239
+ 581,
240
+ 882,
241
+ 725
242
+ ],
243
+ "page_idx": 1
244
+ },
245
+ {
246
+ "type": "text",
247
+ "text": "Pipeline Overview: Our experimental setup for multi-style transfer is inspired by the work of (Krishna et al., 2020). Like them, we first generate a \"diverse\" paraphrase of the input sentence, and then the paraphrased sentence is rewritten in the style of choice. Towards this end, we train a paraphrasing model (separately on a parallel paraphrase dataset). Then, the trained paraphrase model is used to create \"pseudo-gold\" parallel data for training style models.",
248
+ "bbox": [
249
+ 505,
250
+ 726,
251
+ 884,
252
+ 885
253
+ ],
254
+ "page_idx": 1
255
+ },
256
+ {
257
+ "type": "text",
258
+ "text": "First, we adopted a pre-trained T5 model (Raffel et al., 2020) to generate paraphrases. This model",
259
+ "bbox": [
260
+ 507,
261
+ 887,
262
+ 882,
263
+ 917
264
+ ],
265
+ "page_idx": 1
266
+ },
267
+ {
268
+ "type": "page_number",
269
+ "text": "3933",
270
+ "bbox": [
271
+ 480,
272
+ 927,
273
+ 519,
274
+ 940
275
+ ],
276
+ "page_idx": 1
277
+ },
278
+ {
279
+ "type": "text",
280
+ "text": "was trained for the task of paraphrase generation on the ParaNMT-filtered dataset provided by (Krishna et al., 2020). Once we had this trained paraphrase model, we used diverse beam search (Vijayakumar et al., 2016) to generate diverse fluent paraphrased outputs. An important assumption is that the paraphrase is stripped of its original style and does not leak into the training.",
281
+ "bbox": [
282
+ 112,
283
+ 84,
284
+ 487,
285
+ 212
286
+ ],
287
+ "page_idx": 2
288
+ },
289
+ {
290
+ "type": "text",
291
+ "text": "We address this potential issue by training classifiers (Sanh et al., 2019) to predict style on the original and paraphrased datasets and find that all our micro-style classifiers have a classification accuracy of higher than $80\\%$ F1, which is acceptable for pseudo-label creation. After we generate diverse paraphrases, we choose the most diverse paraphrase and then derive micro-style classifications for the paraphrased sentence using our trained micro-style classifiers. Therefore each sentence is assigned a classification score for each micro-style label and can form a \"pseudo parallel\" dataset for training the T5-based joint transfer model. Thus, our approach does not need a parallel dataset.",
292
+ "bbox": [
293
+ 115,
294
+ 217,
295
+ 489,
296
+ 443
297
+ ],
298
+ "page_idx": 2
299
+ },
300
+ {
301
+ "type": "text",
302
+ "text": "We then converted the classifier predictions into buckets of style (ranging from \"very low\" to \"very high\") based on the chosen style of the original and then paraphrased sentences. The bucketing process is described in Appendix B. After this step, we introduce our contribution of \"constructing style distributions\" into the pipeline, as illustrated in Figure 2. Following that, we perform multi-style text style transfer. We appended the \"bucket\" information to the paraphrased sentence to achieve the necessary intensity transfers, as motivated by the original T5 paper (Raffel et al., 2020). We train T5-based style transfer models, where the paraphrased sentence and its style buckets are used as input parameters, while the style buckets assigned to the anchor sentence are used as proxy levels of output style transfer. All model-specific details are provided in Appendix B. For generating sentences from our trained models, we used beam search (Vijayakumar et al., 2016) and nucleus sampling (Holtzman et al., 2019) and chose the top 3 sentences from the generations. The following is an example of the input to the joint style transfer model and the expected output.",
303
+ "bbox": [
304
+ 115,
305
+ 448,
306
+ 489,
307
+ 834
308
+ ],
309
+ "page_idx": 2
310
+ },
311
+ {
312
+ "type": "text",
313
+ "text": "Goal - Highly increase the formality of the sentence, slightly increase the arousal of the sentence",
314
+ "bbox": [
315
+ 112,
316
+ 854,
317
+ 487,
318
+ 901
319
+ ],
320
+ "page_idx": 2
321
+ },
322
+ {
323
+ "type": "text",
324
+ "text": "Input - transfer: I'm sad you're going | input",
325
+ "bbox": [
326
+ 112,
327
+ 903,
328
+ 487,
329
+ 919
330
+ ],
331
+ "page_idx": 2
332
+ },
333
+ {
334
+ "type": "text",
335
+ "text": "formality: low | input arousal: low | output formality: high | output arousal: mid Output - I am sorry you are going to go.",
336
+ "bbox": [
337
+ 507,
338
+ 84,
339
+ 882,
340
+ 133
341
+ ],
342
+ "page_idx": 2
343
+ },
344
+ {
345
+ "type": "text",
346
+ "text": "Thus, we implemented a multi-style transfer pipeline to test our hypothesis without any finicky modeling paradigms popular in style transfer research, such as variational inference or autoregressive sampling (He et al., 2020; Subramanian et al., 2018).",
347
+ "bbox": [
348
+ 507,
349
+ 148,
350
+ 884,
351
+ 244
352
+ ],
353
+ "page_idx": 2
354
+ },
355
+ {
356
+ "type": "table",
357
+ "img_path": "images/dfdde98d5d8560c139e427a8ce9d1f9665065c0ac37a7a82be3df80fc0245e10.jpg",
358
+ "table_caption": [],
359
+ "table_footnote": [],
360
+ "table_body": "<table><tr><td>Style Combination</td><td>Balanced</td><td>Skewed</td></tr><tr><td>Formal Aroused</td><td>3395</td><td>8685</td></tr><tr><td>Formal Unaroused</td><td>3395</td><td>2792</td></tr><tr><td>Informal Aroused</td><td>3395</td><td>1275</td></tr><tr><td>Informal Unaroused</td><td>3395</td><td>828</td></tr></table>",
361
+ "bbox": [
362
+ 521,
363
+ 256,
364
+ 873,
365
+ 350
366
+ ],
367
+ "page_idx": 2
368
+ },
369
+ {
370
+ "type": "text",
371
+ "text": "Table 1: Training data statistics (number of samples) for the balanced and skewed settings, when considering the micro-styles of Formality and Arousal.",
372
+ "bbox": [
373
+ 507,
374
+ 359,
375
+ 882,
376
+ 401
377
+ ],
378
+ "page_idx": 2
379
+ },
380
+ {
381
+ "type": "text",
382
+ "text": "Constructing Micro-style Distributions We define a \"style combination\" as a possible combination of the states that the micro-styles can take together - such as 'informal biased negative.' Since there are three micro-styles, each having binary states, the total possible number of style combinations, in this case, is given by $N_{c} = 2 \\times 2 \\times 2 = 2^{3}$ . Therefore to generalize, if $|m_{i}|$ indicates the cardinality of each micro-style and $n$ indicates the number of micro-styles considered, the total possible number of style combinations $(N_{c})$ possible is given by:",
383
+ "bbox": [
384
+ 507,
385
+ 422,
386
+ 884,
387
+ 613
388
+ ],
389
+ "page_idx": 2
390
+ },
391
+ {
392
+ "type": "equation",
393
+ "text": "\n$$\nN _ {c} = \\prod_ {i = 1} ^ {n} | m _ {i} | \\tag {1}\n$$\n",
394
+ "text_format": "latex",
395
+ "bbox": [
396
+ 640,
397
+ 615,
398
+ 882,
399
+ 655
400
+ ],
401
+ "page_idx": 2
402
+ },
403
+ {
404
+ "type": "text",
405
+ "text": "To create the balanced joint distribution of styles, we ensure the standard deviation across the style combinations is close to 0. We do this by down-sampling each style combination, such that the number of samples in each style combination is the same as the least represented style combination. As we increase micro-styles, some micro-style combinations do not occur naturally together, so their representation is close to 0. In such cases, we assume that the least represented style combination is at least $5\\%$ of the total dataset. To ensure our comparison across the \"balanced\" and \"skew\" settings is fair, we construct a skewed dataset with a total sample size that is the same as that of the balanced dataset. Thus, the balanced dataset has a uniform distribution, while the skewed dataset",
406
+ "bbox": [
407
+ 507,
408
+ 661,
409
+ 884,
410
+ 917
411
+ ],
412
+ "page_idx": 2
413
+ },
414
+ {
415
+ "type": "page_number",
416
+ "text": "3934",
417
+ "bbox": [
418
+ 480,
419
+ 927,
420
+ 519,
421
+ 940
422
+ ],
423
+ "page_idx": 2
424
+ },
425
+ {
426
+ "type": "text",
427
+ "text": "has a non-uniform distribution. Table 1 shows the number of samples in each style combination of Formality and Arousal, given a \"balanced\" and \"skewed\" setting.",
428
+ "bbox": [
429
+ 112,
430
+ 84,
431
+ 487,
432
+ 148
433
+ ],
434
+ "page_idx": 3
435
+ },
436
+ {
437
+ "type": "text",
438
+ "text": "3 Experimental Results and Discussion",
439
+ "text_level": 1,
440
+ "bbox": [
441
+ 112,
442
+ 164,
443
+ 467,
444
+ 181
445
+ ],
446
+ "page_idx": 3
447
+ },
448
+ {
449
+ "type": "text",
450
+ "text": "Evaluation Metrics: Style transfer accuracy metrics quantify how nicely output texts match the desired style. However, more than this metric is required. Motivated by Jin et al., we evaluate style transfer across the three main properties of text style transfer: style transfer accuracy, content preservation, and fluency. We use our custom joint sequence classification models, implemented using HuggingFace libraries (Wolf et al., 2020) to evaluate the style transfer success ratio. Our definition for the Style Transfer Success $S_{c}$ is the total number of matches between intended and transferred style buckets, divided by the total number of samples. To judge content preserved in style transferred text, we use three metrics: BLEU (Papineni et al., 2002), embedding-based similarity (Wieting et al., 2019) using cosine similarity of two sentence embeddings (Reimers and Gurevych, 2019), and Word Mover's Distance (WMD) (Mir et al., 2019). For fluency, we use measures like perplexity using GPT2 (Radford et al., 2019) and an adversarial classifier using the cross-aligned autoencoder model (Mir et al., 2019).",
451
+ "bbox": [
452
+ 115,
453
+ 192,
454
+ 489,
455
+ 561
456
+ ],
457
+ "page_idx": 3
458
+ },
459
+ {
460
+ "type": "text",
461
+ "text": "Experimental Setup: In this paper, we illustrate different micro-style combinations in the training data, for a randomly selected case, with each combination in both the \"balanced\" and \"skewed settings. Therefore, we consider 6 cases respectively: 1) Formality and Arousal in a balanced setting (FA balanced) 2) Formality and Arousal in a skewed setting (FA skewed) 3) Formality, Arousal and Bias in a balanced setting (FAB balanced) 4) Formality, Arousal and Bias in skewed setting (FAB skewed) 5) Formality, Arousal, Bias and Sentiment in the balanced setting (FABS balanced) 6) Formality, Arousal, Bias and Sentiment in skewed setting (FABS skewed). We construct the training data with the appropriate settings and then pass them through our experimental pipeline (illustrated in Figure 2) and quantitatively evaluate the style transfer results.",
462
+ "bbox": [
463
+ 115,
464
+ 564,
465
+ 489,
466
+ 837
467
+ ],
468
+ "page_idx": 3
469
+ },
470
+ {
471
+ "type": "text",
472
+ "text": "Discussion: Table 2 shows examples of style-transferred sentences, given a style-transfer goal from our experimental pipeline for both balanced and skewed settings. E.g., given the objective is to decrease Formality but increase arousal, the sen",
473
+ "bbox": [
474
+ 112,
475
+ 838,
476
+ 489,
477
+ 917
478
+ ],
479
+ "page_idx": 3
480
+ },
481
+ {
482
+ "type": "image",
483
+ "img_path": "images/1e9d114957a6fb214469fb38dffc5def353c5f7ec421f695d58efbfe4690f83e.jpg",
484
+ "image_caption": [
485
+ "Figure 3: Balancing micro-style distributions leads to a higher multi-style transfer percentage than in the Skewed setting in all the cases."
486
+ ],
487
+ "image_footnote": [],
488
+ "bbox": [
489
+ 522,
490
+ 80,
491
+ 870,
492
+ 189
493
+ ],
494
+ "page_idx": 3
495
+ },
496
+ {
497
+ "type": "image",
498
+ "img_path": "images/34aaafb919848ec80a940e533a924f4347a57f86c667d381a9bd298128a21add.jpg",
499
+ "image_caption": [
500
+ "Figure 4: Considering the micro-style combinations such that, Formality [formal = f, informal = i], Bias [biased = b, unbiased = u], and Arousal [aroused = e, un-aroused = n], we observe that the micro-style combinations that are rarer (e.g., informal unbiased neutral (iun)) have more representation in the \"balanced\" setting than the \"skewed\" setting."
501
+ ],
502
+ "image_footnote": [],
503
+ "bbox": [
504
+ 521,
505
+ 259,
506
+ 870,
507
+ 370
508
+ ],
509
+ "page_idx": 3
510
+ },
511
+ {
512
+ "type": "text",
513
+ "text": "tence “Did you hear about the soldier with 8 limbs? He was army” transforms to “He’s an army soldier with 8 legs?”. Here, the contraction “He’s” indicates a formality decrease, and the replacement of limbs with legs indicates a decrease. The overall arousal of this sentence is higher when it transforms into a question.",
514
+ "bbox": [
515
+ 505,
516
+ 512,
517
+ 882,
518
+ 625
519
+ ],
520
+ "page_idx": 3
521
+ },
522
+ {
523
+ "type": "text",
524
+ "text": "Figure 3 illustrates that the balanced setup always has a higher success percentage of style transfer $(S_{c})$ than the skewed setup. We cannot compare the success percentage across cases because matching the exact target and transferred style buckets becomes difficult as the number of micro-styles increases. We can also observe through Table 2 that the quality of the balanced transferred text aligns better with the style transfer goal than the skewed transferred text.",
525
+ "bbox": [
526
+ 505,
527
+ 627,
528
+ 882,
529
+ 788
530
+ ],
531
+ "page_idx": 3
532
+ },
533
+ {
534
+ "type": "text",
535
+ "text": "In Figure 4, we compare the difference in representation percentage of specific style combinations in the test sample for a specific case where we consider Formality, Arousal, and Bias micro-styles. We observe that a balanced joint distribution leads to more representation in the style combinations that are less likely to occur. This is further accentuated as micro-styles increase, as reported in",
536
+ "bbox": [
537
+ 507,
538
+ 790,
539
+ 884,
540
+ 917
541
+ ],
542
+ "page_idx": 3
543
+ },
544
+ {
545
+ "type": "page_number",
546
+ "text": "3935",
547
+ "bbox": [
548
+ 480,
549
+ 927,
550
+ 519,
551
+ 940
552
+ ],
553
+ "page_idx": 3
554
+ },
555
+ {
556
+ "type": "table",
557
+ "img_path": "images/c48ab5e0b9d5fd962040c10d371cd5beaaf8080af50b6d848531a4ca52b61713.jpg",
558
+ "table_caption": [],
559
+ "table_footnote": [],
560
+ "table_body": "<table><tr><td>Style Transfer Goal</td><td>Input Text</td><td>Balanced Transferred Text</td><td>Skewed Transferred Text</td></tr><tr><td>↑ Formality ↑ Arousal</td><td>Wouldn’t it be great if Trump went 3rd party and sucked away millions of Republican votes lol</td><td>It wouldn’t be nice if Trump went to the third party and swooped millions of Repub-lican votes.</td><td>Would it not be great if Trump went 3rd party and sucked away millions of Republican votes?</td></tr><tr><td>↑ Formality ↓ Arousal</td><td>I didn’t know what happiness was until I got married. But by then it was too late.</td><td>Until I got married, I didn’t even know what happiness was.</td><td>I did not know what happiness was till I got married and it was too late.</td></tr><tr><td>↓ Formality ↑ Arousal</td><td>Did you hear about the soldier with 8 limbs? He was army</td><td>He’s an army soldier with 8 legs?</td><td>Did you hear about the soldier with 8 limbs in the army?</td></tr><tr><td>↓ Formality ↓ Arousal</td><td>Yeah, I don’t understand all the hate.</td><td>Yeah I’m not gonna understand the hate.</td><td>Yeah I do not understand all the hate.</td></tr></table>",
561
+ "bbox": [
562
+ 114,
563
+ 80,
564
+ 885,
565
+ 183
566
+ ],
567
+ "page_idx": 4
568
+ },
569
+ {
570
+ "type": "text",
571
+ "text": "Appendix C. In Figure 4, we see that rarer style combinations [ibn, fun, iun] show more representation in the balanced case as compared to the skewed case. This supports our intuition that the style transfer model benefits from learning the representation of all possible style combinations that can occur together.",
572
+ "bbox": [
573
+ 110,
574
+ 246,
575
+ 487,
576
+ 357
577
+ ],
578
+ "page_idx": 4
579
+ },
580
+ {
581
+ "type": "text",
582
+ "text": "When we consider Formality, Arousal, and Bias micro styles together, the most represented category (30% of samples) is \"formal unbiased aroused\" (fue). The least represented category (as unlikely to occur together) is \"informal unbiased unaroused\" (iun) with 1%. We observe that the quantitative evaluation metrics are quite indicative when compared across style combinations. For instance, in Table 3, we observe that perplexity increases in categories that are unlikely to occur together (iun). This indicates that the style transfer model is confused by the style distributions present for this style combination.",
583
+ "bbox": [
584
+ 110,
585
+ 359,
586
+ 489,
587
+ 567
588
+ ],
589
+ "page_idx": 4
590
+ },
591
+ {
592
+ "type": "text",
593
+ "text": "We do not claim that our method of balancing multiple styles will work even for entangled micro-style combinations, as that is out of the scope of the current paper. However, balancing considerably affects the multi-style transfer output for the range of micro-style combinations we considered, and that has an application in many NLP tasks. This result could hugely influence future studies exploring better ways to balance even the entangled micro-styles.",
594
+ "bbox": [
595
+ 112,
596
+ 569,
597
+ 489,
598
+ 731
599
+ ],
600
+ "page_idx": 4
601
+ },
602
+ {
603
+ "type": "text",
604
+ "text": "4 Conclusion",
605
+ "text_level": 1,
606
+ "bbox": [
607
+ 112,
608
+ 746,
609
+ 247,
610
+ 762
611
+ ],
612
+ "page_idx": 4
613
+ },
614
+ {
615
+ "type": "text",
616
+ "text": "Multi-style text style transfer is a challenging problem predominantly plagued by the need for jointly annotated high-quality datasets. There is a clear need for more research about the marginal and joint distribution of inherent micro-styles present in the training dataset used for style transfer. Multi-style text-style transfer typically requires access to large, jointly labeled datasets and many computational resources under typical implementations. More",
617
+ "bbox": [
618
+ 112,
619
+ 774,
620
+ 489,
621
+ 919
622
+ ],
623
+ "page_idx": 4
624
+ },
625
+ {
626
+ "type": "table",
627
+ "img_path": "images/e03ae57b2e65e4ddf26286d83ccac12ad2dfc11ca76829c89dc2406a648fbf8a.jpg",
628
+ "table_caption": [
629
+ "Table 2: The table shows the style transferred sentences, given an input sentence and the intended style transfer goal, for both the balanced setting as well as the skewed setting."
630
+ ],
631
+ "table_footnote": [],
632
+ "table_body": "<table><tr><td>Setting</td><td>Styles</td><td>Perp</td><td>Adv</td><td>BLEU</td><td>Cos</td><td>WMD</td></tr><tr><td rowspan=\"2\">Balanced</td><td>fue</td><td>115.16</td><td>0.90</td><td>0.77</td><td>0.92</td><td>0.32</td></tr><tr><td>iun*</td><td>598.58</td><td>0.86</td><td>0.78</td><td>0.92</td><td>0.36</td></tr><tr><td rowspan=\"2\">Skewed</td><td>fue</td><td>116.02</td><td>0.90</td><td>0.78</td><td>0.92</td><td>0.32</td></tr><tr><td>iun*</td><td>650.47</td><td>0.82</td><td>0.77</td><td>0.93</td><td>0.37</td></tr></table>",
633
+ "bbox": [
634
+ 515,
635
+ 243,
636
+ 878,
637
+ 315
638
+ ],
639
+ "page_idx": 4
640
+ },
641
+ {
642
+ "type": "text",
643
+ "text": "Table 3: Comparison of the evaluation metrics for the most represented style combination (fue - formal unbiased aroused) vs the least represented style combination (iun* - informal unbiased unaroused). One key observation is that perplexity increases when the style combinations are unlikely to occur together.",
644
+ "bbox": [
645
+ 507,
646
+ 324,
647
+ 882,
648
+ 411
649
+ ],
650
+ "page_idx": 4
651
+ },
652
+ {
653
+ "type": "text",
654
+ "text": "importantly, we would not be able to conveniently tweak the input data distributions in other multi-style text style transfer methods.",
655
+ "bbox": [
656
+ 507,
657
+ 438,
658
+ 882,
659
+ 485
660
+ ],
661
+ "page_idx": 4
662
+ },
663
+ {
664
+ "type": "text",
665
+ "text": "In this paper, we implement a multi-style transfer pipeline that subverts the requirement of a jointly annotated dataset of multiple styles by constructing a pseudo-parallel dataset to which we introduce our contribution of constructing style distributions. We then use the modified pseudo-parallel datasets for multi-style transfer. Our modified pipeline effectively allows us to understand the importance of the joint distribution of micro styles in training data and is a substantial contribution.",
666
+ "bbox": [
667
+ 507,
668
+ 487,
669
+ 882,
670
+ 646
671
+ ],
672
+ "page_idx": 4
673
+ },
674
+ {
675
+ "type": "text",
676
+ "text": "We quantitatively explore the impact of joint micro-style distributions in the training dataset on the style-transferred output sentences. When the joint micro-style distributions are balanced, there is more control over style-transferred output than with a skewed distribution. These findings will likely inform the design of multi-style transfer datasets and encourage us to explore the micro-style relationships in our datasets.",
677
+ "bbox": [
678
+ 507,
679
+ 649,
680
+ 884,
681
+ 794
682
+ ],
683
+ "page_idx": 4
684
+ },
685
+ {
686
+ "type": "text",
687
+ "text": "Limitations",
688
+ "text_level": 1,
689
+ "bbox": [
690
+ 509,
691
+ 810,
692
+ 613,
693
+ 824
694
+ ],
695
+ "page_idx": 4
696
+ },
697
+ {
698
+ "type": "text",
699
+ "text": "In this research, though we employed automatic evaluation of our multi-style transferred text, we acknowledge that multi-style transfer is challenging to observe with the existing metrics for style transfer evaluation, and human evaluation should",
700
+ "bbox": [
701
+ 507,
702
+ 839,
703
+ 882,
704
+ 917
705
+ ],
706
+ "page_idx": 4
707
+ },
708
+ {
709
+ "type": "page_number",
710
+ "text": "3936",
711
+ "bbox": [
712
+ 480,
713
+ 927,
714
+ 519,
715
+ 940
716
+ ],
717
+ "page_idx": 4
718
+ },
719
+ {
720
+ "type": "text",
721
+ "text": "be done as well. As this research paper focuses on exploring the impact of style distributions in the training data on style-transferred output rather than developing a superior multi-style text transfer model, we use quantitative evaluation in this iteration of our paper. We hope that the large sample size and the consistency of applied metrics make our automated approach a reasonable way of evaluating the style transfer output.",
722
+ "bbox": [
723
+ 112,
724
+ 84,
725
+ 489,
726
+ 228
727
+ ],
728
+ "page_idx": 5
729
+ },
730
+ {
731
+ "type": "text",
732
+ "text": "This iteration of our paper aims to achieve multi-style transfer across multiple micro styles taken into consideration together as our contribution would aid in constructing a training dataset for multiple micro-style style transfers. We did not explore another exciting question of how balancing multiple micro styles in the training dataset might influence individual style transfer, which could be a promising future direction for our study.",
733
+ "bbox": [
734
+ 112,
735
+ 230,
736
+ 489,
737
+ 374
738
+ ],
739
+ "page_idx": 5
740
+ },
741
+ {
742
+ "type": "text",
743
+ "text": "We acknowledge that the classifier's quality sets an upper bound on the best style transfer accuracy that is obtainable. However, the target task is quite complicated without a parallel dataset. Our objective was not to have the most accurate classification of micro styles but to find a means to get acceptable pseudo labels for the micro styles. Individually, all our micro style classifiers had a classification accuracy of $80\\%$ F1 and higher, and we deemed this good enough for pseudo-label creation.",
744
+ "bbox": [
745
+ 112,
746
+ 375,
747
+ 489,
748
+ 535
749
+ ],
750
+ "page_idx": 5
751
+ },
752
+ {
753
+ "type": "text",
754
+ "text": "We also focused on utilizing the present styles in the training data and classifying them to derive inherent training style distributions instead of dynamically tuning the proportion of styles present in the training dataset. However, tuning these style proportions using techniques such as PPLM (Dathathri et al., 2019) would give us greater control over our experimental pipeline and is an appropriate next step.",
755
+ "bbox": [
756
+ 112,
757
+ 536,
758
+ 489,
759
+ 681
760
+ ],
761
+ "page_idx": 5
762
+ },
763
+ {
764
+ "type": "text",
765
+ "text": "Acknowledgement",
766
+ "text_level": 1,
767
+ "bbox": [
768
+ 114,
769
+ 694,
770
+ 278,
771
+ 709
772
+ ],
773
+ "page_idx": 5
774
+ },
775
+ {
776
+ "type": "text",
777
+ "text": "We thank Vivek Aithal, Priyam Srivastava and Daniel McAndrew for their initial work on the pipeline for multi-style transfer. This was instrumental to our project and helped us get a kickstart on our research.",
778
+ "bbox": [
779
+ 112,
780
+ 720,
781
+ 489,
782
+ 800
783
+ ],
784
+ "page_idx": 5
785
+ },
786
+ {
787
+ "type": "text",
788
+ "text": "References",
789
+ "text_level": 1,
790
+ "bbox": [
791
+ 114,
792
+ 828,
793
+ 213,
794
+ 843
795
+ ],
796
+ "page_idx": 5
797
+ },
798
+ {
799
+ "type": "ref_text",
800
+ "text": "Emily M Bender and Batya Friedman. 2018. Data statements for natural language processing: Toward mitigating system bias and enabling better science. Transactions of the Association for Computational Linguistics, 6:587-604.",
801
+ "bbox": [
802
+ 114,
803
+ 851,
804
+ 489,
805
+ 917
806
+ ],
807
+ "page_idx": 5
808
+ },
809
+ {
810
+ "type": "list",
811
+ "sub_type": "ref_text",
812
+ "list_items": [
813
+ "Sven Buechel and Udo Hahn. 2022. Emobank: Studying the impact of annotation perspective and representation format on dimensional emotion analysis. arXiv preprint arXiv:2205.01996.",
814
+ "Sumanth Dathathri, Andrea Madotto, Janice Lan, Jane Hung, Eric Frank, Piero Molino, Jason Yosinski, and Rosanne Liu. 2019. Plug and play language models: A simple approach to controlled text generation. arXiv preprint arXiv:1912.02164.",
815
+ "Zhenxin Fu, Xiaoye Tan, Nanyun Peng, Dongyan Zhao, and Rui Yan. 2018. Style transfer in text: Exploration and evaluation. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 32.",
816
+ "Alec Go, Richa Bhayani, and Lei Huang. 2009. Twitter sentiment classification using distant supervision. CS224N project report, Stanford, 1(12):2009.",
817
+ "Navita Goyal, Balaji Vasan Srinivasan, Anandhavelu Natarajan, and Abhilasha Sancheti. 2020. Multi-style transfer with discriminative feedback on disjoint corpus. arXiv preprint arXiv:2010.11578.",
818
+ "Suchin Gururangan, Swabha Swayamdipta, Omer Levy, Roy Schwartz, Samuel R Bowman, and Noah A Smith. 2018. Annotation artifacts in natural language inference data. arXiv preprint arXiv:1803.02324.",
819
+ "Junxian He, Xinyi Wang, Graham Neubig, and Taylor Berg-Kirkpatrick. 2020. A probabilistic formulation of unsupervised text style transfer. arXiv preprint arXiv:2002.03912.",
820
+ "Ari Holtzman, Jan Buys, Li Du, Maxwell Forbes, and Yejin Choi. 2019. The curious case of neural text degeneration. arXiv preprint arXiv:1904.09751.",
821
+ "Dirk Hovy and Diyi Yang. 2021. The importance of modeling social factors of language: Theory and practice. In *The 2021 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies*. Association for Computational Linguistics.",
822
+ "Zhiting Hu, Zichao Yang, Xiaodan Liang, Ruslan Salakhutdinov, and Eric P Xing. 2017. Toward controlled generation of text. In International conference on machine learning, pages 1587-1596. PMLR.",
823
+ "Harsh Jhamtani, Varun Gangal, Eduard Hovy, and Eric Nyberg. 2017. Shakespearizing modern language using copy-enriched sequence-to-sequence models. arXiv preprint arXiv:1707.01161.",
824
+ "Di Jin, Zhijing Jin, Zhiting Hu, Olga Vechtomova, and Rada Mihalcea. 2022. Deep learning for text style transfer: A survey. Computational Linguistics, 48(1):155-205.",
825
+ "Dongyeop Kang and Eduard Hovy. 2019. xslue: A benchmark and analysis platform for cross-style language understanding and evaluation. arXiv preprint arXiv:1911.03663."
826
+ ],
827
+ "bbox": [
828
+ 510,
829
+ 85,
830
+ 884,
831
+ 917
832
+ ],
833
+ "page_idx": 5
834
+ },
835
+ {
836
+ "type": "page_number",
837
+ "text": "3937",
838
+ "bbox": [
839
+ 480,
840
+ 927,
841
+ 519,
842
+ 940
843
+ ],
844
+ "page_idx": 5
845
+ },
846
+ {
847
+ "type": "list",
848
+ "sub_type": "ref_text",
849
+ "list_items": [
850
+ "Dongyeop Kang and Eduard Hovy. 2021. Style is not a single variable: Case studies for cross-stylistic language understanding. 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 2376-2387.",
851
+ "Kalpesh Krishna, John Wieting, and Mohit Iyyer. 2020. Reformulating unsupervised style transfer as paraphrase generation. arXiv preprint arXiv:2010.05700.",
852
+ "Guillaume Lample, Sandeep Subramanian, Eric Smith, Ludovic Denoyer, Marc'Aurelio Ranzato, and Y-Lan Boureau. 2018. Multiple-attribute text rewriting. In International Conference on Learning Representations.",
853
+ "Dianqi Li, Yizhe Zhang, Zhe Gan, Yu Cheng, Chris Brockett, Ming-Ting Sun, and Bill Dolan. 2019. Domain adaptive text style transfer. arXiv preprint arXiv:1908.09395.",
854
+ "Remi Mir, Bjarke Felbo, Nick Obradovich, and Iyad Rahwan. 2019. Evaluating style transfer for text. CoRR, abs/1904.02295.",
855
+ "Kishore Papineni, Salim Roukos, Todd Ward, and Wei-Jing Zhu. 2002. Bleu: a method for automatic evaluation of machine translation. In Proceedings of the 40th Annual Meeting of the Association for Computational Linguistics, pages 311-318, Philadelphia, Pennsylvania, USA. Association for Computational Linguistics.",
856
+ "Reid Pryzant, Richard Diehl Martinez, Nathan Dass, Sadao Kurohashi, Dan Jurafsky, and Diyi Yang. 2020. Automatically neutralizing subjective bias in text. In Proceedings of the aaai conference on artificial intelligence, volume 34, pages 480-489.",
857
+ "Alec Radford, Jeffrey Wu, Rewon Child, David Luan, Dario Amodei, Ilya Sutskever, et al. 2019. Language models are unsupervised multitask learners. OpenAI blog, 1(8):9.",
858
+ "Colin Raffel, Noam Shazeer, Adam Roberts, Katherine Lee, Sharan Narang, Michael Matena, Yanqi Zhou, Wei Li, Peter J Liu, et al. 2020. Exploring the limits of transfer learning with a unified text-to-text transformer. J. Mach. Learn. Res., 21(140):1-67.",
859
+ "Sudha Rao and Joel Tetreault. 2018. Dear sir or madam, may i introduce the gyafc dataset: Corpus, benchmarks and metrics for formality style transfer. arXiv preprint arXiv:1803.06535.",
860
+ "Nils Reimers and Iryna Gurevych. 2019. Sentence-bert: Sentence embeddings using siamese bert-networks.",
861
+ "Victor Sanh, Lysandre Debut, Julien Chaumont, and Thomas Wolf. 2019. Distilbert, a distilled version of bert: smaller, faster, cheaper and lighter. arXiv preprint arXiv:1910.01108."
862
+ ],
863
+ "bbox": [
864
+ 115,
865
+ 85,
866
+ 489,
867
+ 917
868
+ ],
869
+ "page_idx": 6
870
+ },
871
+ {
872
+ "type": "list",
873
+ "sub_type": "ref_text",
874
+ "list_items": [
875
+ "Stephanie Schoch, Wanyu Du, and Yangfeng Ji. 2021. Contextualizing variation in text style transfer datasets. arXiv preprint arXiv:2108.07871.",
876
+ "Tianxiao Shen, Tao Lei, Regina Barzilay, and Tommi Jaakkola. 2017. Style transfer from non-parallel text by cross-alignment. Advances in neural information processing systems, 30.",
877
+ "Sandeep Subramanian, Guillaume Lample, Eric Michael Smith, Ludovic Denoyer, Marc'Aurelio Ranzato, and Y-Lan Boureau. 2018. Multiple-attribute text style transfer. arXiv preprint arXiv:1811.00552.",
878
+ "Enrica Troiano, Aswathy Velutharambath, et al. 2021. From theories on styles to their transfer in text: Bridging the gap with a hierarchical survey. arXiv preprint arXiv:2110.15871.",
879
+ "Ashwin K Vijayakumar, Michael Cogswell, Ramprasath R Selvaraju, Qing Sun, Stefan Lee, David Crandall, and Dhruv Batra. 2016. Diverse beam search: Decoding diverse solutions from neural sequence models. arXiv preprint arXiv:1610.02424.",
880
+ "Amy Beth Warriner, Victor Kuperman, and Marc Brysbaert. 2013. Norms of valence, arousal, and dominance for 13,915 english lemmas. Behavior research methods, 45(4):1191-1207.",
881
+ "Sean Welleck, Ilia Kulikov, Stephen Roller, Emily Dinan, Kyunghyun Cho, and Jason Weston. 2019. Neural text generation with unlikelihood training. arXiv preprint arXiv:1908.04319.",
882
+ "John Wieting, Taylor Berg-Kirkpatrick, Kevin Gimpel, and Graham Neubig. 2019. Beyond bleu: training neural machine translation with semantic similarity. arXiv preprint arXiv:1909.06694.",
883
+ "Thomas Wolf, Lysandre Debut, Victor Sanh, Julien Chaumond, Clement Delangue, Anthony Moi, Pierric Cistac, Tim Rault, Remi 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.",
884
+ "Yi Zhang, Tao Ge, and Xu Sun. 2020. Parallel data augmentation for formality style transfer. arXiv preprint arXiv:2005.07522."
885
+ ],
886
+ "bbox": [
887
+ 510,
888
+ 85,
889
+ 882,
890
+ 737
891
+ ],
892
+ "page_idx": 6
893
+ },
894
+ {
895
+ "type": "text",
896
+ "text": "A Dataset Information",
897
+ "text_level": 1,
898
+ "bbox": [
899
+ 510,
900
+ 749,
901
+ 722,
902
+ 764
903
+ ],
904
+ "page_idx": 6
905
+ },
906
+ {
907
+ "type": "text",
908
+ "text": "We choose four micro-styles from both intended and unintended style categories, based on the style hierarchy as defined in Troiano et al. - Formality, Arousal, Sentiment, and Bias. While formality is considered a \"non-targeted intended\" micro-style, arousal and sentiment are \"targeted intended\" micro-styles. We also include subjective bias, an \"unintended\" micro-style, to ensure we include styles from all hierarchy branches. We built",
909
+ "bbox": [
910
+ 509,
911
+ 774,
912
+ 884,
913
+ 917
914
+ ],
915
+ "page_idx": 6
916
+ },
917
+ {
918
+ "type": "page_number",
919
+ "text": "3938",
920
+ "bbox": [
921
+ 480,
922
+ 928,
923
+ 519,
924
+ 940
925
+ ],
926
+ "page_idx": 6
927
+ },
928
+ {
929
+ "type": "text",
930
+ "text": "our micro-style joint classification and style transfer models from multiple publicly available NLP datasets built by other researchers, and we detail these below.",
931
+ "bbox": [
932
+ 112,
933
+ 84,
934
+ 487,
935
+ 148
936
+ ],
937
+ "page_idx": 7
938
+ },
939
+ {
940
+ "type": "text",
941
+ "text": "Formality. We use Grammarly's Yahoo Answers Formality Corpus (Rao and Tetreault, 2018), which consists of $105\\mathrm{k}$ sentences from two styles: \"formal\" and \"informal\" sentences written either in formal or informal modern English. Unlike formal sentences, informal sentences tend to have more misspellings, short forms (\"u\" instead of \"you\"), and non-standard usage of punctuation.",
942
+ "bbox": [
943
+ 110,
944
+ 168,
945
+ 489,
946
+ 297
947
+ ],
948
+ "page_idx": 7
949
+ },
950
+ {
951
+ "type": "text",
952
+ "text": "Arousal. We use the emotion annotated Emobank dataset (Buechel and Hahn, 2022) based on the three-dimensional VAD model developed by (Warriner et al., 2013). In particular, we transform the Arousal dimension into binary categories such as \"arousal\" and \"non-arousal.\"",
953
+ "bbox": [
954
+ 112,
955
+ 317,
956
+ 487,
957
+ 413
958
+ ],
959
+ "page_idx": 7
960
+ },
961
+ {
962
+ "type": "text",
963
+ "text": "Sentiment. We use the famous Sentiment140 dataset (Go et al., 2009), which consists of automatically annotated tweets, where the tweets containing positive emoticons are assumed as positive. In contrast, those with negative emoticons are assumed to be negative. The training dataset consisted of 1.6M tweets, and the test dataset consisted of 359 tweets. The tweets were preprocessed using NLTK to remove special Twitter-specific symbols like hashtags, usernames, and URLs.",
964
+ "bbox": [
965
+ 112,
966
+ 432,
967
+ 489,
968
+ 594
969
+ ],
970
+ "page_idx": 7
971
+ },
972
+ {
973
+ "type": "text",
974
+ "text": "Bias. We use the Wiki Neutrality Corpus by (Pryzant et al., 2020). This is a new parallel corpus of 180,000 biased and neutralized sentence pairs. In order to train our joint classifier models, we used the training dataset from the appropriate micro-style datasets mentioned above. To implement our style distribution hypothesis, we used random samples for training and testing, from the combination of all the dev datasets from the benchmarks corpus by (Kang and Hovy, 2019). This consists of 15 different styles coupled to both content and domain by varying degrees. We wanted to ensure that the dataset used for training our style transfer model and verifying our hypothesis has sufficient indicators of the appropriate micro-styles. This could be done best by using a sample consisting of datasets curated for each individual micro-style (since a jointly annotated dataset with so many styles is not available).",
975
+ "bbox": [
976
+ 112,
977
+ 613,
978
+ 489,
979
+ 917
980
+ ],
981
+ "page_idx": 7
982
+ },
983
+ {
984
+ "type": "text",
985
+ "text": "B Multi Style Transfer Pipeline",
986
+ "text_level": 1,
987
+ "bbox": [
988
+ 509,
989
+ 83,
990
+ 798,
991
+ 101
992
+ ],
993
+ "page_idx": 7
994
+ },
995
+ {
996
+ "type": "text",
997
+ "text": "B.1 Resources used for Training",
998
+ "text_level": 1,
999
+ "bbox": [
1000
+ 509,
1001
+ 122,
1002
+ 781,
1003
+ 139
1004
+ ],
1005
+ "page_idx": 7
1006
+ },
1007
+ {
1008
+ "type": "text",
1009
+ "text": "All models were trained using cloud GPUs on Google Colab Pro and Pro+. We used 1 V100 GPU in its \"High-RAM\" (52GB) GPU run-time setting to train the paraphrase generation model, while for other models we used 1 P100 GPU at the \"standard RAM\" setting (32GB).",
1010
+ "bbox": [
1011
+ 507,
1012
+ 154,
1013
+ 884,
1014
+ 250
1015
+ ],
1016
+ "page_idx": 7
1017
+ },
1018
+ {
1019
+ "type": "text",
1020
+ "text": "B.2 Diverse Paraphrase Generation",
1021
+ "text_level": 1,
1022
+ "bbox": [
1023
+ 509,
1024
+ 280,
1025
+ 806,
1026
+ 294
1027
+ ],
1028
+ "page_idx": 7
1029
+ },
1030
+ {
1031
+ "type": "text",
1032
+ "text": "We adopted a pre-trained T5 model (Raffel et al., 2020), to generate paraphrases. We trained the model on the ParaNMT-filtered dataset provided by (Krishna et al., 2020). This is a subset of the ParaNMT dataset with filters applied to promote lexical diversity, syntactic diversity, and semantic similarity. This model was then used to generate the pseudo-parallel training data for transfer. We selected the t5-small architecture (60 million parameters) as this is approximately 10x smaller than the GPT-2 large model used in (Krishna et al., 2020). We used the hyper-parameters given in Table 4. Based on the recommendation in the appendix of Raffel et al, we used the \"paraphrase:\" prefix to train the paraphrase model. Once we had this trained paraphrase model, we used diverse beam search (Vijayakumar et al., 2016) to generate diverse paraphrased outputs. The hyper-parameters used for diverse beam search are mentioned in Table 5. We preferred beam search over top-p sampling in order to prioritize fluent paraphrases (Welleck et al., 2019) over unique paraphrases.",
1033
+ "bbox": [
1034
+ 507,
1035
+ 311,
1036
+ 884,
1037
+ 667
1038
+ ],
1039
+ "page_idx": 7
1040
+ },
1041
+ {
1042
+ "type": "text",
1043
+ "text": "Input - paraphrase: I love to play my guitar and I do not know why",
1044
+ "bbox": [
1045
+ 507,
1046
+ 687,
1047
+ 882,
1048
+ 719
1049
+ ],
1050
+ "page_idx": 7
1051
+ },
1052
+ {
1053
+ "type": "text",
1054
+ "text": "Output - I love playing my guitar and I'm not sure why",
1055
+ "bbox": [
1056
+ 507,
1057
+ 719,
1058
+ 882,
1059
+ 751
1060
+ ],
1061
+ "page_idx": 7
1062
+ },
1063
+ {
1064
+ "type": "table",
1065
+ "img_path": "images/457e58d4c10105bed3065841e9366d945fc9db54ce56da44dfad2c2d5b74ccea.jpg",
1066
+ "table_caption": [],
1067
+ "table_footnote": [],
1068
+ "table_body": "<table><tr><td>Hyperparameters</td><td>Value</td></tr><tr><td>batch size</td><td>8</td></tr><tr><td>number of epochs</td><td>12</td></tr><tr><td>learning rate</td><td>1e-4</td></tr><tr><td>max sequence length</td><td>64</td></tr></table>",
1069
+ "bbox": [
1070
+ 531,
1071
+ 774,
1072
+ 863,
1073
+ 876
1074
+ ],
1075
+ "page_idx": 7
1076
+ },
1077
+ {
1078
+ "type": "text",
1079
+ "text": "Table 4: Hyper parameters for T5 training for paraphrase generation",
1080
+ "bbox": [
1081
+ 507,
1082
+ 885,
1083
+ 884,
1084
+ 914
1085
+ ],
1086
+ "page_idx": 7
1087
+ },
1088
+ {
1089
+ "type": "page_number",
1090
+ "text": "3939",
1091
+ "bbox": [
1092
+ 480,
1093
+ 927,
1094
+ 519,
1095
+ 940
1096
+ ],
1097
+ "page_idx": 7
1098
+ },
1099
+ {
1100
+ "type": "table",
1101
+ "img_path": "images/177f9cc965e5eeb3eaba89e0f9592e09cf414ceb98af591b4a007a89e9380008.jpg",
1102
+ "table_caption": [],
1103
+ "table_footnote": [],
1104
+ "table_body": "<table><tr><td>Hyperparameters</td><td>Value</td></tr><tr><td>max length</td><td>70</td></tr><tr><td>early stopping</td><td>True</td></tr><tr><td>no repeat ngram size</td><td>5</td></tr><tr><td>num beams</td><td>9</td></tr><tr><td>num beam groups</td><td>3</td></tr><tr><td>diversity penalty</td><td>0.5</td></tr></table>",
1105
+ "bbox": [
1106
+ 136,
1107
+ 80,
1108
+ 467,
1109
+ 214
1110
+ ],
1111
+ "page_idx": 8
1112
+ },
1113
+ {
1114
+ "type": "text",
1115
+ "text": "B.3 Micro-style Classification",
1116
+ "text_level": 1,
1117
+ "bbox": [
1118
+ 112,
1119
+ 256,
1120
+ 363,
1121
+ 273
1122
+ ],
1123
+ "page_idx": 8
1124
+ },
1125
+ {
1126
+ "type": "text",
1127
+ "text": "We trained a joint sentence classification model to classify the sentence on multiple axes inspired by the approach in Kang and Hovy, which uses an encoder-decoder-based model that learns cross-style patterns with the shared internal representation across styles. Our joint model comprises fully connected layers attached to a DistilBERT model (Sanh et al., 2019), which acts as an encoder. The hyperparameters for this joint model are given in Table 6. This single model effectively replaces the need for a different model for each classification task, significantly reducing the need for computing resources for training and inference. Our joint classifier is essential for downstream tasks like training style transfer models and evaluation. Say we first perform a joint classification of both formality and arousal micro-styles on our datasets, considering we want a multiple-style transfer along the axes of formality and arousal. This results in both formality and arousal pseudo-labels for the sentences. Since these labels are generated algorithmically rather than by hand, we refer to them as pseudo-labels. Pseudo-labeled sentences can then be used to generate the pseudo-parallel dataset for training joint style transfer models and directly measure the variation of a style along the axis of interest.",
1128
+ "bbox": [
1129
+ 112,
1130
+ 278,
1131
+ 489,
1132
+ 713
1133
+ ],
1134
+ "page_idx": 8
1135
+ },
1136
+ {
1137
+ "type": "table",
1138
+ "img_path": "images/84e6a5473622553be525963f7214c012dd73171272645d4a7685538ae29d2169.jpg",
1139
+ "table_caption": [
1140
+ "Table 5: Hyperparameters for Beam Search"
1141
+ ],
1142
+ "table_footnote": [],
1143
+ "table_body": "<table><tr><td>Hyperparameters</td><td>Value</td></tr><tr><td>train batch size</td><td>256</td></tr><tr><td>test batch size</td><td>512</td></tr><tr><td>number of epochs</td><td>3</td></tr><tr><td>learning rate</td><td>1e-4</td></tr></table>",
1144
+ "bbox": [
1145
+ 136,
1146
+ 738,
1147
+ 467,
1148
+ 822
1149
+ ],
1150
+ "page_idx": 8
1151
+ },
1152
+ {
1153
+ "type": "text",
1154
+ "text": "B.4 Pseudo Parallel Data Generation",
1155
+ "text_level": 1,
1156
+ "bbox": [
1157
+ 112,
1158
+ 866,
1159
+ 421,
1160
+ 881
1161
+ ],
1162
+ "page_idx": 8
1163
+ },
1164
+ {
1165
+ "type": "text",
1166
+ "text": "We then selected the best paraphrase (most stylistically different from the anchor sentence) based",
1167
+ "bbox": [
1168
+ 112,
1169
+ 887,
1170
+ 489,
1171
+ 917
1172
+ ],
1173
+ "page_idx": 8
1174
+ },
1175
+ {
1176
+ "type": "text",
1177
+ "text": "on the cosine distance between the anchor and the paraphrased sentence's style vectors. To enable the transfer model to transfer to specified levels of a particular style, we defined 'very low', 'low', 'mid', 'high', and 'very high' buckets for each micro-style. In the following, we describe the bucket boundaries for our style scores.",
1178
+ "bbox": [
1179
+ 507,
1180
+ 84,
1181
+ 884,
1182
+ 195
1183
+ ],
1184
+ "page_idx": 8
1185
+ },
1186
+ {
1187
+ "type": "text",
1188
+ "text": "Buckets: Very Low = [0, 0.2] Low = [0.2, 0.4] \nMid = [0.4, 0.6] High = [0.6, 0.95] Very High = [0.95,1]",
1189
+ "bbox": [
1190
+ 507,
1191
+ 197,
1192
+ 882,
1193
+ 244
1194
+ ],
1195
+ "page_idx": 8
1196
+ },
1197
+ {
1198
+ "type": "text",
1199
+ "text": "Using the absolute difference between original text style scores and their best-paraphrased text style scores, we find paraphrasing successfully stripped away both formality and arousal aspects of the text. The same phenomenon has been observed in previous studies, such as (Krishna et al., 2020). To ensure a diverse pseudo-parallel dataset, we retain only anchor-paraphrase pairs that do not match in terms of their style bucket. For example, if an anchor-paraphrase sentence pair is assigned style buckets for formality and arousal, as [very high, low] and [very high, very low], this pair will be retained. However, if both style buckets match, the sentence pair will not be considered diverse enough to remain in the pseudo-parallel dataset. In style transfer models, the paraphrased sentence and its style buckets are used as input parameters, while the style buckets assigned to the anchor sentence are used as proxy levels of output style transfer. The following is an example of the input to the joint style transfer model and the expected output.",
1200
+ "bbox": [
1201
+ 507,
1202
+ 246,
1203
+ 884,
1204
+ 600
1205
+ ],
1206
+ "page_idx": 8
1207
+ },
1208
+ {
1209
+ "type": "text",
1210
+ "text": "Goal - Highly increase the formality of the sentence, slightly increase the arousal of the sentence \nInput - transfer: I'm sad you're going | input formality: low | input arousal: low | output formality: high | output arousal: mid",
1211
+ "bbox": [
1212
+ 507,
1213
+ 615,
1214
+ 884,
1215
+ 695
1216
+ ],
1217
+ "page_idx": 8
1218
+ },
1219
+ {
1220
+ "type": "text",
1221
+ "text": "Output - I am sorry you are going to go.",
1222
+ "bbox": [
1223
+ 507,
1224
+ 697,
1225
+ 811,
1226
+ 713
1227
+ ],
1228
+ "page_idx": 8
1229
+ },
1230
+ {
1231
+ "type": "table",
1232
+ "img_path": "images/8ae93d21788a5678f8d3268bcba99794e8f25c858a9bed15c636c5a21c5f1299.jpg",
1233
+ "table_caption": [
1234
+ "Table 6: Hyperparameters for Joint Classifier"
1235
+ ],
1236
+ "table_footnote": [],
1237
+ "table_body": "<table><tr><td>Hyperparameters</td><td>Value</td></tr><tr><td>train batch size</td><td>8</td></tr><tr><td>test batch size</td><td>8</td></tr><tr><td>number of epochs</td><td>5</td></tr><tr><td>learning rate</td><td>1e-4</td></tr></table>",
1238
+ "bbox": [
1239
+ 531,
1240
+ 725,
1241
+ 863,
1242
+ 810
1243
+ ],
1244
+ "page_idx": 8
1245
+ },
1246
+ {
1247
+ "type": "text",
1248
+ "text": "Table 7: Hyperparameters for T5 for Style Transfer",
1249
+ "bbox": [
1250
+ 519,
1251
+ 820,
1252
+ 870,
1253
+ 834
1254
+ ],
1255
+ "page_idx": 8
1256
+ },
1257
+ {
1258
+ "type": "text",
1259
+ "text": "B.5 Style Transfer Training",
1260
+ "text_level": 1,
1261
+ "bbox": [
1262
+ 507,
1263
+ 866,
1264
+ 742,
1265
+ 881
1266
+ ],
1267
+ "page_idx": 8
1268
+ },
1269
+ {
1270
+ "type": "text",
1271
+ "text": "Our T5 models were trained on pseudo-parallel datasets created and filtered as described earlier.",
1272
+ "bbox": [
1273
+ 507,
1274
+ 887,
1275
+ 882,
1276
+ 917
1277
+ ],
1278
+ "page_idx": 8
1279
+ },
1280
+ {
1281
+ "type": "page_number",
1282
+ "text": "3940",
1283
+ "bbox": [
1284
+ 480,
1285
+ 927,
1286
+ 521,
1287
+ 940
1288
+ ],
1289
+ "page_idx": 8
1290
+ },
1291
+ {
1292
+ "type": "image",
1293
+ "img_path": "images/77c2fdd4393c5fcea492bfe16dcec1804e4b64e23d60a0c3a02891931353a5f8.jpg",
1294
+ "image_caption": [
1295
+ "Figure 5: Considering the micro-style combinations such that, Formality [formal = f, informal = i], Bias [biased = b, unbiased = u], Arousal [aroused = e, un-aroused = u], and Sentiment [negative = n, positive = p]; we observe that the micro-style combinations that are rarer have more representation in the \"balanced\" setting than the \"skewed\" setting. The categories fbnp, funp and iben have more representation for balanced setting vs skewed setting."
1296
+ ],
1297
+ "image_footnote": [],
1298
+ "bbox": [
1299
+ 191,
1300
+ 82,
1301
+ 803,
1302
+ 275
1303
+ ],
1304
+ "page_idx": 9
1305
+ },
1306
+ {
1307
+ "type": "text",
1308
+ "text": "According to the task, we converted the classifier predictions into buckets of style based on the chosen style of the original and then paraphrased sentences. To achieve the necessary intensity transfers, we appended this information to the paraphrased sentence, as motivated by the original T5 paper (Raffel et al., 2020). Hyperparameters are mentioned in Table 7. For generating sentences from our trained models, we used a combination of both beam search (Vijayakumar et al., 2016) and nucleus sampling (Holtzman et al., 2019) and chose the top 3 sentences from the generations.",
1309
+ "bbox": [
1310
+ 112,
1311
+ 370,
1312
+ 489,
1313
+ 565
1314
+ ],
1315
+ "page_idx": 9
1316
+ },
1317
+ {
1318
+ "type": "text",
1319
+ "text": "C Some Additional Results",
1320
+ "text_level": 1,
1321
+ "bbox": [
1322
+ 112,
1323
+ 577,
1324
+ 366,
1325
+ 593
1326
+ ],
1327
+ "page_idx": 9
1328
+ },
1329
+ {
1330
+ "type": "text",
1331
+ "text": "C.1 Impact of Fluency filter on input training data",
1332
+ "text_level": 1,
1333
+ "bbox": [
1334
+ 112,
1335
+ 605,
1336
+ 485,
1337
+ 634
1338
+ ],
1339
+ "page_idx": 9
1340
+ },
1341
+ {
1342
+ "type": "text",
1343
+ "text": "We find that filtering the original dataset based on fluency metrics always results in better style transferred output as compared to the transferred output when the input dataset is not filtered. This is intuitive, as better quality input prevents confusion in the style transfer model and leads to better quality output. As a result of this finding, we use a fluency filter (adversarial classifier $>0.1$ and perplexity $< 365$ ), before we conduct any of the rest of our experiments with micro-style distributions.",
1344
+ "bbox": [
1345
+ 112,
1346
+ 643,
1347
+ 489,
1348
+ 803
1349
+ ],
1350
+ "page_idx": 9
1351
+ },
1352
+ {
1353
+ "type": "text",
1354
+ "text": "C.2 Balancing effect on lesser represented style combinations",
1355
+ "text_level": 1,
1356
+ "bbox": [
1357
+ 112,
1358
+ 816,
1359
+ 460,
1360
+ 848
1361
+ ],
1362
+ "page_idx": 9
1363
+ },
1364
+ {
1365
+ "type": "text",
1366
+ "text": "In Figure 6, we consider the case where we examine Formality [formal = f, informal = i] and Arousal [aroused = e, un-aroused = u] micro-styles and compare the percentage of specific style combinations",
1367
+ "bbox": [
1368
+ 112,
1369
+ 854,
1370
+ 489,
1371
+ 917
1372
+ ],
1373
+ "page_idx": 9
1374
+ },
1375
+ {
1376
+ "type": "image",
1377
+ "img_path": "images/924bd3451ecd9865043c114d2e82e26722acaff2ce9606d5513b4898241e5448.jpg",
1378
+ "image_caption": [
1379
+ "Figure 6: Considering the micro-style combinations such that, Formality [formal = f, informal = i] and Arousal [aroused = e, un-aroused = u]; we observe that the micro-style combinations that are rare (ie, in) have more representation in the \"balanced\" setting than the \"skewed\" setting."
1380
+ ],
1381
+ "image_footnote": [],
1382
+ "bbox": [
1383
+ 522,
1384
+ 368,
1385
+ 870,
1386
+ 479
1387
+ ],
1388
+ "page_idx": 9
1389
+ },
1390
+ {
1391
+ "type": "text",
1392
+ "text": "in the test sample. We observe that as the number of micro styles increases, a balanced joint distribution leads to more representation in combinations that are less likely to occur such as in or 'informal and neutral'.",
1393
+ "bbox": [
1394
+ 507,
1395
+ 601,
1396
+ 882,
1397
+ 678
1398
+ ],
1399
+ "page_idx": 9
1400
+ },
1401
+ {
1402
+ "type": "text",
1403
+ "text": "Figure 5 shows a similarly pronounced effect. Here the number of micro styles is increased, and we can observe that the balanced setting shows higher representation than the skewed setting. An example of an unlikely style combination is fbnp, or \"formal biased neutral and positive\". We also observe that as the number of micro-style increases, there is no representation in some combinations in both settings [ibnp, iunn, iuen, iunp]. This is a natural result as some micro-style combinations cannot exist in nature.",
1404
+ "bbox": [
1405
+ 507,
1406
+ 681,
1407
+ 884,
1408
+ 857
1409
+ ],
1410
+ "page_idx": 9
1411
+ },
1412
+ {
1413
+ "type": "page_number",
1414
+ "text": "3941",
1415
+ "bbox": [
1416
+ 480,
1417
+ 928,
1418
+ 517,
1419
+ 940
1420
+ ],
1421
+ "page_idx": 9
1422
+ },
1423
+ {
1424
+ "type": "text",
1425
+ "text": "A For every submission:",
1426
+ "bbox": [
1427
+ 115,
1428
+ 107,
1429
+ 322,
1430
+ 122
1431
+ ],
1432
+ "page_idx": 10
1433
+ },
1434
+ {
1435
+ "type": "list",
1436
+ "sub_type": "text",
1437
+ "list_items": [
1438
+ "A1. Did you describe the limitations of your work? 5",
1439
+ "A2. Did you discuss any potential risks of your work? 5",
1440
+ "A3. Do the abstract and introduction summarize the paper's main claims?",
1441
+ "A4. Have you used AI writing assistants when working on this paper? Left blank."
1442
+ ],
1443
+ "bbox": [
1444
+ 129,
1445
+ 126,
1446
+ 695,
1447
+ 288
1448
+ ],
1449
+ "page_idx": 10
1450
+ },
1451
+ {
1452
+ "type": "text",
1453
+ "text": "B Did you use or create scientific artifacts?",
1454
+ "bbox": [
1455
+ 114,
1456
+ 298,
1457
+ 489,
1458
+ 316
1459
+ ],
1460
+ "page_idx": 10
1461
+ },
1462
+ {
1463
+ "type": "text",
1464
+ "text": "2,3",
1465
+ "bbox": [
1466
+ 132,
1467
+ 321,
1468
+ 159,
1469
+ 334
1470
+ ],
1471
+ "page_idx": 10
1472
+ },
1473
+ {
1474
+ "type": "list",
1475
+ "sub_type": "text",
1476
+ "list_items": [
1477
+ "B1. Did you cite the creators of artifacts you used? 2,3",
1478
+ "B2. Did you discuss the license or terms for use and / or distribution of any artifacts? Not applicable. Left blank.",
1479
+ "B3. Did you discuss if your use of existing artifact(s) was consistent with their intended use, provided that it was specified? For the artifacts you create, do you specify intended use and whether that is compatible with the original access conditions (in particular, derivatives of data accessed for research purposes should not be used outside of research contexts)? Not applicable. Left blank.",
1480
+ "B4. Did you discuss the steps taken to check whether the data that was collected / used contains any information that names or uniquely identifies individual people or offensive content, and the steps taken to protect / anonymize it? Not applicable. Left blank.",
1481
+ "B5. Did you provide documentation of the artifacts, e.g., coverage of domains, languages, and linguistic phenomena, demographic groups represented, etc.? Not applicable. Left blank.",
1482
+ "B6. Did you report relevant statistics like the number of examples, details of train / test / dev splits, etc. for the data that you used / created? Even for commonly-used benchmark datasets, include the number of examples in train / validation / test splits, as these provide necessary context for a reader to understand experimental results. For example, small differences in accuracy on large test sets may be significant, while on small test sets they may not be."
1483
+ ],
1484
+ "bbox": [
1485
+ 127,
1486
+ 346,
1487
+ 880,
1488
+ 752
1489
+ ],
1490
+ "page_idx": 10
1491
+ },
1492
+ {
1493
+ "type": "text",
1494
+ "text": "C Did you run computational experiments?",
1495
+ "bbox": [
1496
+ 114,
1497
+ 764,
1498
+ 492,
1499
+ 781
1500
+ ],
1501
+ "page_idx": 10
1502
+ },
1503
+ {
1504
+ "type": "text",
1505
+ "text": "3,B, C",
1506
+ "bbox": [
1507
+ 132,
1508
+ 785,
1509
+ 184,
1510
+ 800
1511
+ ],
1512
+ "page_idx": 10
1513
+ },
1514
+ {
1515
+ "type": "text",
1516
+ "text": "C1. Did you report the number of parameters in the models used, the total computational budget (e.g., GPU hours), and computing infrastructure used? B.1",
1517
+ "bbox": [
1518
+ 129,
1519
+ 810,
1520
+ 880,
1521
+ 859
1522
+ ],
1523
+ "page_idx": 10
1524
+ },
1525
+ {
1526
+ "type": "text",
1527
+ "text": "The Responsible NLP Checklist used at ACL 2023 is adopted from NAACL 2022, with the addition of a question on AI writing assistance.",
1528
+ "bbox": [
1529
+ 112,
1530
+ 866,
1531
+ 877,
1532
+ 889
1533
+ ],
1534
+ "page_idx": 10
1535
+ },
1536
+ {
1537
+ "type": "header",
1538
+ "text": "ACL 2023 Responsible NLP Checklist",
1539
+ "bbox": [
1540
+ 132,
1541
+ 84,
1542
+ 433,
1543
+ 99
1544
+ ],
1545
+ "page_idx": 10
1546
+ },
1547
+ {
1548
+ "type": "page_number",
1549
+ "text": "3942",
1550
+ "bbox": [
1551
+ 480,
1552
+ 928,
1553
+ 519,
1554
+ 940
1555
+ ],
1556
+ "page_idx": 10
1557
+ },
1558
+ {
1559
+ "type": "text",
1560
+ "text": "C2. Did you discuss the experimental setup, including hyperparameter search and best-found hyperparameter values?",
1561
+ "bbox": [
1562
+ 129,
1563
+ 83,
1564
+ 878,
1565
+ 115
1566
+ ],
1567
+ "page_idx": 11
1568
+ },
1569
+ {
1570
+ "type": "text",
1571
+ "text": "B",
1572
+ "bbox": [
1573
+ 151,
1574
+ 117,
1575
+ 166,
1576
+ 129
1577
+ ],
1578
+ "page_idx": 11
1579
+ },
1580
+ {
1581
+ "type": "text",
1582
+ "text": "C3. Did you report descriptive statistics about your results (e.g., error bars around results, summary statistics from sets of experiments), and is it transparent whether you are reporting the max, mean, etc. or just a single run?",
1583
+ "bbox": [
1584
+ 129,
1585
+ 142,
1586
+ 880,
1587
+ 190
1588
+ ],
1589
+ "page_idx": 11
1590
+ },
1591
+ {
1592
+ "type": "text",
1593
+ "text": "B",
1594
+ "bbox": [
1595
+ 151,
1596
+ 192,
1597
+ 166,
1598
+ 204
1599
+ ],
1600
+ "page_idx": 11
1601
+ },
1602
+ {
1603
+ "type": "text",
1604
+ "text": "C4. If you used existing packages (e.g., for preprocessing, for normalization, or for evaluation), did you report the implementation, model, and parameter settings used (e.g., NLTK, Spacy, ROUGE, etc.)?",
1605
+ "bbox": [
1606
+ 129,
1607
+ 217,
1608
+ 880,
1609
+ 265
1610
+ ],
1611
+ "page_idx": 11
1612
+ },
1613
+ {
1614
+ "type": "text",
1615
+ "text": "A",
1616
+ "bbox": [
1617
+ 149,
1618
+ 268,
1619
+ 166,
1620
+ 280
1621
+ ],
1622
+ "page_idx": 11
1623
+ },
1624
+ {
1625
+ "type": "text",
1626
+ "text": "D Did you use human annotators (e.g., crowdworkers) or research with human participants?",
1627
+ "bbox": [
1628
+ 112,
1629
+ 293,
1630
+ 877,
1631
+ 309
1632
+ ],
1633
+ "page_idx": 11
1634
+ },
1635
+ {
1636
+ "type": "text",
1637
+ "text": "Left blank.",
1638
+ "bbox": [
1639
+ 132,
1640
+ 313,
1641
+ 213,
1642
+ 329
1643
+ ],
1644
+ "page_idx": 11
1645
+ },
1646
+ {
1647
+ "type": "text",
1648
+ "text": "D1. Did you report the full text of instructions given to participants, including e.g., screenshots, disclaimers of any risks to participants or annotators, etc.?",
1649
+ "bbox": [
1650
+ 127,
1651
+ 340,
1652
+ 880,
1653
+ 372
1654
+ ],
1655
+ "page_idx": 11
1656
+ },
1657
+ {
1658
+ "type": "text",
1659
+ "text": "Not applicable. Left blank.",
1660
+ "bbox": [
1661
+ 149,
1662
+ 373,
1663
+ 349,
1664
+ 388
1665
+ ],
1666
+ "page_idx": 11
1667
+ },
1668
+ {
1669
+ "type": "text",
1670
+ "text": "D2. Did you report information about how you recruited (e.g., crowdsourcing platform, students) and paid participants, and discuss if such payment is adequate given the participants' demographic (e.g., country of residence)?",
1671
+ "bbox": [
1672
+ 127,
1673
+ 399,
1674
+ 880,
1675
+ 447
1676
+ ],
1677
+ "page_idx": 11
1678
+ },
1679
+ {
1680
+ "type": "text",
1681
+ "text": "Not applicable. Left blank.",
1682
+ "bbox": [
1683
+ 149,
1684
+ 448,
1685
+ 349,
1686
+ 463
1687
+ ],
1688
+ "page_idx": 11
1689
+ },
1690
+ {
1691
+ "type": "text",
1692
+ "text": "D3. Did you discuss whether and how consent was obtained from people whose data you're using/curating? For example, if you collected data via crowdsourcing, did your instructions to crowdworkers explain how the data would be used?",
1693
+ "bbox": [
1694
+ 127,
1695
+ 475,
1696
+ 880,
1697
+ 521
1698
+ ],
1699
+ "page_idx": 11
1700
+ },
1701
+ {
1702
+ "type": "text",
1703
+ "text": "Not applicable. Left blank.",
1704
+ "bbox": [
1705
+ 149,
1706
+ 523,
1707
+ 349,
1708
+ 539
1709
+ ],
1710
+ "page_idx": 11
1711
+ },
1712
+ {
1713
+ "type": "text",
1714
+ "text": "D4. Was the data collection protocol approved (or determined exempt) by an ethics review board?",
1715
+ "bbox": [
1716
+ 127,
1717
+ 549,
1718
+ 873,
1719
+ 564
1720
+ ],
1721
+ "page_idx": 11
1722
+ },
1723
+ {
1724
+ "type": "text",
1725
+ "text": "Not applicable. Left blank.",
1726
+ "bbox": [
1727
+ 149,
1728
+ 565,
1729
+ 349,
1730
+ 581
1731
+ ],
1732
+ "page_idx": 11
1733
+ },
1734
+ {
1735
+ "type": "text",
1736
+ "text": "D5. Did you report the basic demographic and geographic characteristics of the annotator population that is the source of the data?",
1737
+ "bbox": [
1738
+ 127,
1739
+ 592,
1740
+ 880,
1741
+ 623
1742
+ ],
1743
+ "page_idx": 11
1744
+ },
1745
+ {
1746
+ "type": "text",
1747
+ "text": "Not applicable. Left blank.",
1748
+ "bbox": [
1749
+ 149,
1750
+ 625,
1751
+ 349,
1752
+ 640
1753
+ ],
1754
+ "page_idx": 11
1755
+ },
1756
+ {
1757
+ "type": "page_number",
1758
+ "text": "3943",
1759
+ "bbox": [
1760
+ 480,
1761
+ 927,
1762
+ 519,
1763
+ 940
1764
+ ],
1765
+ "page_idx": 11
1766
+ }
1767
+ ]
2023/Balancing the Effect of Training Dataset Distribution of Multiple Styles for Multi-Style Text Transfer/e52f8ce0-4325-4d7a-9b9b-68ca012cb308_model.json ADDED
@@ -0,0 +1,2259 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ [
3
+ {
4
+ "type": "title",
5
+ "bbox": [
6
+ 0.134,
7
+ 0.09,
8
+ 0.868,
9
+ 0.131
10
+ ],
11
+ "angle": 0,
12
+ "content": "Balancing Effect of Training Dataset Distribution of Multiple Styles for Multi-Style Text Transfer"
13
+ },
14
+ {
15
+ "type": "text",
16
+ "bbox": [
17
+ 0.306,
18
+ 0.156,
19
+ 0.699,
20
+ 0.173
21
+ ],
22
+ "angle": 0,
23
+ "content": "Debarati Das David Ma Dongyeop Kang"
24
+ },
25
+ {
26
+ "type": "text",
27
+ "bbox": [
28
+ 0.262,
29
+ 0.174,
30
+ 0.74,
31
+ 0.189
32
+ ],
33
+ "angle": 0,
34
+ "content": "Department of Computer Science, University of Minnesota"
35
+ },
36
+ {
37
+ "type": "text",
38
+ "bbox": [
39
+ 0.306,
40
+ 0.19,
41
+ 0.698,
42
+ 0.205
43
+ ],
44
+ "angle": 0,
45
+ "content": "{das00015, maxxx818, dongyeop}@umn.edu"
46
+ },
47
+ {
48
+ "type": "title",
49
+ "bbox": [
50
+ 0.261,
51
+ 0.253,
52
+ 0.341,
53
+ 0.269
54
+ ],
55
+ "angle": 0,
56
+ "content": "Abstract"
57
+ },
58
+ {
59
+ "type": "text",
60
+ "bbox": [
61
+ 0.142,
62
+ 0.281,
63
+ 0.461,
64
+ 0.622
65
+ ],
66
+ "angle": 0,
67
+ "content": "Text style transfer is an exciting task within the field of natural language generation that is often plagued by the need for high-quality paired datasets. Furthermore, training a model for multi-attribute text style transfer requires datasets with sufficient support across all combinations of the considered stylistic attributes, adding to the challenges of training a style transfer model. This paper explores the impact of training data input diversity on the quality of the generated text from the multi-style transfer model. We construct a pseudo-parallel dataset by devising heuristics to adjust the style distribution in the training samples. We balance our training dataset using marginal and joint distributions to train our style transfer models. We observe that a balanced dataset produces more effective control effects over multiple styles than an imbalanced or skewed one. Through quantitative analysis, we explore the impact of multiple style distributions in training data on style-transferred output. These findings will better inform the design of style-transfer datasets."
68
+ },
69
+ {
70
+ "type": "title",
71
+ "bbox": [
72
+ 0.115,
73
+ 0.636,
74
+ 0.26,
75
+ 0.652
76
+ ],
77
+ "angle": 0,
78
+ "content": "1 Introduction"
79
+ },
80
+ {
81
+ "type": "text",
82
+ "bbox": [
83
+ 0.113,
84
+ 0.662,
85
+ 0.49,
86
+ 0.92
87
+ ],
88
+ "angle": 0,
89
+ "content": "Multi-style text transfer is a challenging task today with applications such as automatic domain-appropriate, style-conformant writing (Fu et al., 2018) and AI-assisted stylistic language editing. Text style transfer is an intricate task as all language has a specific context, and those contexts influence the attributes of the language (Hovy and Yang, 2021). Text style transfer is challenging because it involves dealing with the aspects of style coupled with the textual content (Hu et al., 2017; Shen et al., 2017; Lample et al., 2018). This domain's other obstacles include the need for parallel corpus (Jhamtani et al., 2017) and quality training data. As the number of style dimensions increases with multi-style text transfer, not only is the requirement of a jointly annotated corpus across all the"
90
+ },
91
+ {
92
+ "type": "image",
93
+ "bbox": [
94
+ 0.537,
95
+ 0.256,
96
+ 0.885,
97
+ 0.395
98
+ ],
99
+ "angle": 0,
100
+ "content": null
101
+ },
102
+ {
103
+ "type": "image_caption",
104
+ "bbox": [
105
+ 0.508,
106
+ 0.421,
107
+ 0.886,
108
+ 0.55
109
+ ],
110
+ "angle": 0,
111
+ "content": "Figure 1: When an input sentence is passed to the multi-style transfer model, to increase formality and decrease arousal, we hypothesize that when the model is trained on a balanced joint distribution of formality and arousal (all four style combinations have a \\(25\\%\\) representation) - the style transfer is more successful as opposed to when the model is trained on a skewed joint distribution (there is no representation of the \"informal unaroused\" style combination) of styles in the training data."
112
+ },
113
+ {
114
+ "type": "text",
115
+ "bbox": [
116
+ 0.508,
117
+ 0.579,
118
+ 0.882,
119
+ 0.611
120
+ ],
121
+ "angle": 0,
122
+ "content": "stylistic dimensions problematic, but the different styles are not necessarily independent."
123
+ },
124
+ {
125
+ "type": "text",
126
+ "bbox": [
127
+ 0.508,
128
+ 0.612,
129
+ 0.884,
130
+ 0.869
131
+ ],
132
+ "angle": 0,
133
+ "content": "While \"style\" can also refer to authorial or domain-specific style, in this paper, we focus on \"microstyles\" as defined by (Kang and Hovy, 2021) where they define \"micro-style\" as a complex combination of different factors such as formality markers, emotions, and metaphors. People intentionally (Troiano et al., 2021) tune these styles in writing differently based on their mood, the person they are addressing, the content of the message, or the platform. Multiple microstyles can jointly describe a text; for example, a given text could simultaneously be formal and sad. Microstyles also more easily lend themselves to being represented as spectra with varying degrees of intensity. These points align with our vision of an application where users can edit micro-style aspects of their writing."
134
+ },
135
+ {
136
+ "type": "text",
137
+ "bbox": [
138
+ 0.508,
139
+ 0.871,
140
+ 0.884,
141
+ 0.92
142
+ ],
143
+ "angle": 0,
144
+ "content": "Much research exists on models implementing multi-style text transfer and interdependency of micro-styles (Kang and Hovy, 2019; Goyal et al.,"
145
+ },
146
+ {
147
+ "type": "page_number",
148
+ "bbox": [
149
+ 0.481,
150
+ 0.928,
151
+ 0.521,
152
+ 0.941
153
+ ],
154
+ "angle": 0,
155
+ "content": "3932"
156
+ },
157
+ {
158
+ "type": "footer",
159
+ "bbox": [
160
+ 0.229,
161
+ 0.946,
162
+ 0.769,
163
+ 0.958
164
+ ],
165
+ "angle": 0,
166
+ "content": "Findings of the Association for Computational Linguistics: ACL 2023, pages 3932-3943"
167
+ },
168
+ {
169
+ "type": "footer",
170
+ "bbox": [
171
+ 0.297,
172
+ 0.959,
173
+ 0.7,
174
+ 0.972
175
+ ],
176
+ "angle": 0,
177
+ "content": "July 9-14, 2023 ©2023 Association for Computational Linguistics"
178
+ }
179
+ ],
180
+ [
181
+ {
182
+ "type": "image",
183
+ "bbox": [
184
+ 0.198,
185
+ 0.086,
186
+ 0.803,
187
+ 0.304
188
+ ],
189
+ "angle": 0,
190
+ "content": null
191
+ },
192
+ {
193
+ "type": "image_caption",
194
+ "bbox": [
195
+ 0.113,
196
+ 0.316,
197
+ 0.884,
198
+ 0.361
199
+ ],
200
+ "angle": 0,
201
+ "content": "Figure 2: The input sentence transitions through every step in our multi-style text style transfer pipeline. The box in red indicates our main contribution to the pipeline, which helps us explore the effects of joint micro-style combinations on style-transferred output."
202
+ },
203
+ {
204
+ "type": "text",
205
+ "bbox": [
206
+ 0.117,
207
+ 0.384,
208
+ 0.49,
209
+ 0.658
210
+ ],
211
+ "angle": 0,
212
+ "content": "2020; Subramanian et al., 2018). However, there needs to be more exploration of the joint distribution of inherent micro-styles in the style transfer training dataset and how these micro-style distributions are related. Therefore, we pose a question - Can a dataset with minimal variance across multiple micro-style combinations, such that it experiences a \"balancing effect\", lead to a better style transferred output? Figure 1 illustrates our intuition that a dataset that experiences a \"balancing effect\" will have more control over the multi-style transferred output than a \"skewed\" dataset. Suppose the style transfer model sees examples of every style combination that can exist - this could aid in the style generation of even unlikely combinations of styles compared to a skewed distribution of these joint micro-styles."
213
+ },
214
+ {
215
+ "type": "text",
216
+ "bbox": [
217
+ 0.113,
218
+ 0.662,
219
+ 0.49,
220
+ 0.919
221
+ ],
222
+ "angle": 0,
223
+ "content": "In this research, we consider a multi-style text style transfer pipeline assuming that the user has no access to parallel data or the style of the original text that he wishes to transfer, as would seem natural for a style language editing application. We introduce the changing of the training dataset micro-style joint distributions in such a pipeline and quantitatively explore the impact of this modification on the style transferred output. We perform a set of empirical analyses to demonstrate the influence of joint distributions on style-transferred output and show how this trend varies as the number of micro-styles considered changes. The 'balancing effect' on a training dataset leads to style transferred sentences from even the joint style combinations that are typically rare (\"informal unbiased and"
224
+ },
225
+ {
226
+ "type": "text",
227
+ "bbox": [
228
+ 0.508,
229
+ 0.384,
230
+ 0.885,
231
+ 0.545
232
+ ],
233
+ "angle": 0,
234
+ "content": "unaroused\"). Our study is the first of its kind on the distribution of micro styles in training datasets for multi-style text style transfer and is likely to have implications for designing datasets for multi-style transfer model training and fall within the context of and align with recent work on characterizing datasets and factors impacting style transfer (Bender and Friedman, 2018; Schoch et al., 2021; Li et al., 2019; Zhang et al., 2020; Gururangan et al., 2018)."
235
+ },
236
+ {
237
+ "type": "title",
238
+ "bbox": [
239
+ 0.509,
240
+ 0.557,
241
+ 0.795,
242
+ 0.573
243
+ ],
244
+ "angle": 0,
245
+ "content": "2 Multi Style Transfer Pipeline"
246
+ },
247
+ {
248
+ "type": "text",
249
+ "bbox": [
250
+ 0.508,
251
+ 0.582,
252
+ 0.884,
253
+ 0.726
254
+ ],
255
+ "angle": 0,
256
+ "content": "Datasets: We chose four micro-styles from the style hierarchy defined in Troiano et al.: Formality, Arousal, Sentiment, and Bias, for our study and used publicly available NLP datasets built by other researchers (Rao and Tetreault, 2018; Buechel and Hahn, 2022; Go et al., 2009; Pryzant et al., 2020; Kang and Hovy, 2019) to develop and test our models. Appendix A mentions the details of the datasets and their usage."
257
+ },
258
+ {
259
+ "type": "text",
260
+ "bbox": [
261
+ 0.507,
262
+ 0.727,
263
+ 0.885,
264
+ 0.886
265
+ ],
266
+ "angle": 0,
267
+ "content": "Pipeline Overview: Our experimental setup for multi-style transfer is inspired by the work of (Krishna et al., 2020). Like them, we first generate a \"diverse\" paraphrase of the input sentence, and then the paraphrased sentence is rewritten in the style of choice. Towards this end, we train a paraphrasing model (separately on a parallel paraphrase dataset). Then, the trained paraphrase model is used to create \"pseudo-gold\" parallel data for training style models."
268
+ },
269
+ {
270
+ "type": "text",
271
+ "bbox": [
272
+ 0.509,
273
+ 0.888,
274
+ 0.884,
275
+ 0.919
276
+ ],
277
+ "angle": 0,
278
+ "content": "First, we adopted a pre-trained T5 model (Raffel et al., 2020) to generate paraphrases. This model"
279
+ },
280
+ {
281
+ "type": "page_number",
282
+ "bbox": [
283
+ 0.481,
284
+ 0.928,
285
+ 0.521,
286
+ 0.941
287
+ ],
288
+ "angle": 0,
289
+ "content": "3933"
290
+ }
291
+ ],
292
+ [
293
+ {
294
+ "type": "text",
295
+ "bbox": [
296
+ 0.113,
297
+ 0.085,
298
+ 0.489,
299
+ 0.213
300
+ ],
301
+ "angle": 0,
302
+ "content": "was trained for the task of paraphrase generation on the ParaNMT-filtered dataset provided by (Krishna et al., 2020). Once we had this trained paraphrase model, we used diverse beam search (Vijayakumar et al., 2016) to generate diverse fluent paraphrased outputs. An important assumption is that the paraphrase is stripped of its original style and does not leak into the training."
303
+ },
304
+ {
305
+ "type": "text",
306
+ "bbox": [
307
+ 0.117,
308
+ 0.218,
309
+ 0.49,
310
+ 0.444
311
+ ],
312
+ "angle": 0,
313
+ "content": "We address this potential issue by training classifiers (Sanh et al., 2019) to predict style on the original and paraphrased datasets and find that all our micro-style classifiers have a classification accuracy of higher than \\(80\\%\\) F1, which is acceptable for pseudo-label creation. After we generate diverse paraphrases, we choose the most diverse paraphrase and then derive micro-style classifications for the paraphrased sentence using our trained micro-style classifiers. Therefore each sentence is assigned a classification score for each micro-style label and can form a \"pseudo parallel\" dataset for training the T5-based joint transfer model. Thus, our approach does not need a parallel dataset."
314
+ },
315
+ {
316
+ "type": "text",
317
+ "bbox": [
318
+ 0.117,
319
+ 0.449,
320
+ 0.49,
321
+ 0.835
322
+ ],
323
+ "angle": 0,
324
+ "content": "We then converted the classifier predictions into buckets of style (ranging from \"very low\" to \"very high\") based on the chosen style of the original and then paraphrased sentences. The bucketing process is described in Appendix B. After this step, we introduce our contribution of \"constructing style distributions\" into the pipeline, as illustrated in Figure 2. Following that, we perform multi-style text style transfer. We appended the \"bucket\" information to the paraphrased sentence to achieve the necessary intensity transfers, as motivated by the original T5 paper (Raffel et al., 2020). We train T5-based style transfer models, where the paraphrased sentence and its style buckets are used as input parameters, while the style buckets assigned to the anchor sentence are used as proxy levels of output style transfer. All model-specific details are provided in Appendix B. For generating sentences from our trained models, we used beam search (Vijayakumar et al., 2016) and nucleus sampling (Holtzman et al., 2019) and chose the top 3 sentences from the generations. The following is an example of the input to the joint style transfer model and the expected output."
325
+ },
326
+ {
327
+ "type": "text",
328
+ "bbox": [
329
+ 0.113,
330
+ 0.855,
331
+ 0.488,
332
+ 0.902
333
+ ],
334
+ "angle": 0,
335
+ "content": "Goal - Highly increase the formality of the sentence, slightly increase the arousal of the sentence"
336
+ },
337
+ {
338
+ "type": "text",
339
+ "bbox": [
340
+ 0.114,
341
+ 0.904,
342
+ 0.488,
343
+ 0.92
344
+ ],
345
+ "angle": 0,
346
+ "content": "Input - transfer: I'm sad you're going | input"
347
+ },
348
+ {
349
+ "type": "text",
350
+ "bbox": [
351
+ 0.508,
352
+ 0.085,
353
+ 0.883,
354
+ 0.134
355
+ ],
356
+ "angle": 0,
357
+ "content": "formality: low | input arousal: low | output formality: high | output arousal: mid Output - I am sorry you are going to go."
358
+ },
359
+ {
360
+ "type": "text",
361
+ "bbox": [
362
+ 0.508,
363
+ 0.149,
364
+ 0.885,
365
+ 0.246
366
+ ],
367
+ "angle": 0,
368
+ "content": "Thus, we implemented a multi-style transfer pipeline to test our hypothesis without any finicky modeling paradigms popular in style transfer research, such as variational inference or autoregressive sampling (He et al., 2020; Subramanian et al., 2018)."
369
+ },
370
+ {
371
+ "type": "table",
372
+ "bbox": [
373
+ 0.522,
374
+ 0.258,
375
+ 0.875,
376
+ 0.351
377
+ ],
378
+ "angle": 0,
379
+ "content": "<table><tr><td>Style Combination</td><td>Balanced</td><td>Skewed</td></tr><tr><td>Formal Aroused</td><td>3395</td><td>8685</td></tr><tr><td>Formal Unaroused</td><td>3395</td><td>2792</td></tr><tr><td>Informal Aroused</td><td>3395</td><td>1275</td></tr><tr><td>Informal Unaroused</td><td>3395</td><td>828</td></tr></table>"
380
+ },
381
+ {
382
+ "type": "table_caption",
383
+ "bbox": [
384
+ 0.508,
385
+ 0.36,
386
+ 0.884,
387
+ 0.403
388
+ ],
389
+ "angle": 0,
390
+ "content": "Table 1: Training data statistics (number of samples) for the balanced and skewed settings, when considering the micro-styles of Formality and Arousal."
391
+ },
392
+ {
393
+ "type": "text",
394
+ "bbox": [
395
+ 0.508,
396
+ 0.423,
397
+ 0.885,
398
+ 0.614
399
+ ],
400
+ "angle": 0,
401
+ "content": "Constructing Micro-style Distributions We define a \"style combination\" as a possible combination of the states that the micro-styles can take together - such as 'informal biased negative.' Since there are three micro-styles, each having binary states, the total possible number of style combinations, in this case, is given by \\( N_{c} = 2 \\times 2 \\times 2 = 2^{3} \\). Therefore to generalize, if \\( |m_{i}| \\) indicates the cardinality of each micro-style and \\( n \\) indicates the number of micro-styles considered, the total possible number of style combinations \\( (N_{c}) \\) possible is given by:"
402
+ },
403
+ {
404
+ "type": "equation",
405
+ "bbox": [
406
+ 0.641,
407
+ 0.616,
408
+ 0.884,
409
+ 0.656
410
+ ],
411
+ "angle": 0,
412
+ "content": "\\[\nN _ {c} = \\prod_ {i = 1} ^ {n} | m _ {i} | \\tag {1}\n\\]"
413
+ },
414
+ {
415
+ "type": "text",
416
+ "bbox": [
417
+ 0.508,
418
+ 0.662,
419
+ 0.885,
420
+ 0.919
421
+ ],
422
+ "angle": 0,
423
+ "content": "To create the balanced joint distribution of styles, we ensure the standard deviation across the style combinations is close to 0. We do this by down-sampling each style combination, such that the number of samples in each style combination is the same as the least represented style combination. As we increase micro-styles, some micro-style combinations do not occur naturally together, so their representation is close to 0. In such cases, we assume that the least represented style combination is at least \\(5\\%\\) of the total dataset. To ensure our comparison across the \"balanced\" and \"skew\" settings is fair, we construct a skewed dataset with a total sample size that is the same as that of the balanced dataset. Thus, the balanced dataset has a uniform distribution, while the skewed dataset"
424
+ },
425
+ {
426
+ "type": "page_number",
427
+ "bbox": [
428
+ 0.481,
429
+ 0.928,
430
+ 0.521,
431
+ 0.941
432
+ ],
433
+ "angle": 0,
434
+ "content": "3934"
435
+ }
436
+ ],
437
+ [
438
+ {
439
+ "type": "text",
440
+ "bbox": [
441
+ 0.113,
442
+ 0.085,
443
+ 0.488,
444
+ 0.149
445
+ ],
446
+ "angle": 0,
447
+ "content": "has a non-uniform distribution. Table 1 shows the number of samples in each style combination of Formality and Arousal, given a \"balanced\" and \"skewed\" setting."
448
+ },
449
+ {
450
+ "type": "title",
451
+ "bbox": [
452
+ 0.114,
453
+ 0.165,
454
+ 0.468,
455
+ 0.182
456
+ ],
457
+ "angle": 0,
458
+ "content": "3 Experimental Results and Discussion"
459
+ },
460
+ {
461
+ "type": "text",
462
+ "bbox": [
463
+ 0.117,
464
+ 0.193,
465
+ 0.49,
466
+ 0.562
467
+ ],
468
+ "angle": 0,
469
+ "content": "Evaluation Metrics: Style transfer accuracy metrics quantify how nicely output texts match the desired style. However, more than this metric is required. Motivated by Jin et al., we evaluate style transfer across the three main properties of text style transfer: style transfer accuracy, content preservation, and fluency. We use our custom joint sequence classification models, implemented using HuggingFace libraries (Wolf et al., 2020) to evaluate the style transfer success ratio. Our definition for the Style Transfer Success \\( S_{c} \\) is the total number of matches between intended and transferred style buckets, divided by the total number of samples. To judge content preserved in style transferred text, we use three metrics: BLEU (Papineni et al., 2002), embedding-based similarity (Wieting et al., 2019) using cosine similarity of two sentence embeddings (Reimers and Gurevych, 2019), and Word Mover's Distance (WMD) (Mir et al., 2019). For fluency, we use measures like perplexity using GPT2 (Radford et al., 2019) and an adversarial classifier using the cross-aligned autoencoder model (Mir et al., 2019)."
470
+ },
471
+ {
472
+ "type": "text",
473
+ "bbox": [
474
+ 0.117,
475
+ 0.565,
476
+ 0.49,
477
+ 0.838
478
+ ],
479
+ "angle": 0,
480
+ "content": "Experimental Setup: In this paper, we illustrate different micro-style combinations in the training data, for a randomly selected case, with each combination in both the \"balanced\" and \"skewed settings. Therefore, we consider 6 cases respectively: 1) Formality and Arousal in a balanced setting (FA balanced) 2) Formality and Arousal in a skewed setting (FA skewed) 3) Formality, Arousal and Bias in a balanced setting (FAB balanced) 4) Formality, Arousal and Bias in skewed setting (FAB skewed) 5) Formality, Arousal, Bias and Sentiment in the balanced setting (FABS balanced) 6) Formality, Arousal, Bias and Sentiment in skewed setting (FABS skewed). We construct the training data with the appropriate settings and then pass them through our experimental pipeline (illustrated in Figure 2) and quantitatively evaluate the style transfer results."
481
+ },
482
+ {
483
+ "type": "text",
484
+ "bbox": [
485
+ 0.113,
486
+ 0.839,
487
+ 0.49,
488
+ 0.919
489
+ ],
490
+ "angle": 0,
491
+ "content": "Discussion: Table 2 shows examples of style-transferred sentences, given a style-transfer goal from our experimental pipeline for both balanced and skewed settings. E.g., given the objective is to decrease Formality but increase arousal, the sen"
492
+ },
493
+ {
494
+ "type": "image",
495
+ "bbox": [
496
+ 0.523,
497
+ 0.082,
498
+ 0.871,
499
+ 0.19
500
+ ],
501
+ "angle": 0,
502
+ "content": null
503
+ },
504
+ {
505
+ "type": "image_caption",
506
+ "bbox": [
507
+ 0.508,
508
+ 0.2,
509
+ 0.883,
510
+ 0.243
511
+ ],
512
+ "angle": 0,
513
+ "content": "Figure 3: Balancing micro-style distributions leads to a higher multi-style transfer percentage than in the Skewed setting in all the cases."
514
+ },
515
+ {
516
+ "type": "image",
517
+ "bbox": [
518
+ 0.522,
519
+ 0.26,
520
+ 0.871,
521
+ 0.372
522
+ ],
523
+ "angle": 0,
524
+ "content": null
525
+ },
526
+ {
527
+ "type": "image_caption",
528
+ "bbox": [
529
+ 0.508,
530
+ 0.383,
531
+ 0.885,
532
+ 0.483
533
+ ],
534
+ "angle": 0,
535
+ "content": "Figure 4: Considering the micro-style combinations such that, Formality [formal = f, informal = i], Bias [biased = b, unbiased = u], and Arousal [aroused = e, un-aroused = n], we observe that the micro-style combinations that are rarer (e.g., informal unbiased neutral (iun)) have more representation in the \"balanced\" setting than the \"skewed\" setting."
536
+ },
537
+ {
538
+ "type": "text",
539
+ "bbox": [
540
+ 0.507,
541
+ 0.513,
542
+ 0.884,
543
+ 0.626
544
+ ],
545
+ "angle": 0,
546
+ "content": "tence “Did you hear about the soldier with 8 limbs? He was army” transforms to “He’s an army soldier with 8 legs?”. Here, the contraction “He’s” indicates a formality decrease, and the replacement of limbs with legs indicates a decrease. The overall arousal of this sentence is higher when it transforms into a question."
547
+ },
548
+ {
549
+ "type": "text",
550
+ "bbox": [
551
+ 0.507,
552
+ 0.628,
553
+ 0.884,
554
+ 0.789
555
+ ],
556
+ "angle": 0,
557
+ "content": "Figure 3 illustrates that the balanced setup always has a higher success percentage of style transfer \\((S_{c})\\) than the skewed setup. We cannot compare the success percentage across cases because matching the exact target and transferred style buckets becomes difficult as the number of micro-styles increases. We can also observe through Table 2 that the quality of the balanced transferred text aligns better with the style transfer goal than the skewed transferred text."
558
+ },
559
+ {
560
+ "type": "text",
561
+ "bbox": [
562
+ 0.508,
563
+ 0.791,
564
+ 0.885,
565
+ 0.919
566
+ ],
567
+ "angle": 0,
568
+ "content": "In Figure 4, we compare the difference in representation percentage of specific style combinations in the test sample for a specific case where we consider Formality, Arousal, and Bias micro-styles. We observe that a balanced joint distribution leads to more representation in the style combinations that are less likely to occur. This is further accentuated as micro-styles increase, as reported in"
569
+ },
570
+ {
571
+ "type": "page_number",
572
+ "bbox": [
573
+ 0.481,
574
+ 0.928,
575
+ 0.521,
576
+ 0.941
577
+ ],
578
+ "angle": 0,
579
+ "content": "3935"
580
+ }
581
+ ],
582
+ [
583
+ {
584
+ "type": "table",
585
+ "bbox": [
586
+ 0.115,
587
+ 0.081,
588
+ 0.887,
589
+ 0.184
590
+ ],
591
+ "angle": 0,
592
+ "content": "<table><tr><td>Style Transfer Goal</td><td>Input Text</td><td>Balanced Transferred Text</td><td>Skewed Transferred Text</td></tr><tr><td>↑ Formality ↑ Arousal</td><td>Wouldn’t it be great if Trump went 3rd party and sucked away millions of Republican votes lol</td><td>It wouldn’t be nice if Trump went to the third party and swooped millions of Repub-lican votes.</td><td>Would it not be great if Trump went 3rd party and sucked away millions of Republican votes?</td></tr><tr><td>↑ Formality ↓ Arousal</td><td>I didn’t know what happiness was until I got married. But by then it was too late.</td><td>Until I got married, I didn’t even know what happiness was.</td><td>I did not know what happiness was till I got married and it was too late.</td></tr><tr><td>↓ Formality ↑ Arousal</td><td>Did you hear about the soldier with 8 limbs? He was army</td><td>He’s an army soldier with 8 legs?</td><td>Did you hear about the soldier with 8 limbs in the army?</td></tr><tr><td>↓ Formality ↓ Arousal</td><td>Yeah, I don’t understand all the hate.</td><td>Yeah I’m not gonna understand the hate.</td><td>Yeah I do not understand all the hate.</td></tr></table>"
593
+ },
594
+ {
595
+ "type": "table_caption",
596
+ "bbox": [
597
+ 0.113,
598
+ 0.192,
599
+ 0.884,
600
+ 0.222
601
+ ],
602
+ "angle": 0,
603
+ "content": "Table 2: The table shows the style transferred sentences, given an input sentence and the intended style transfer goal, for both the balanced setting as well as the skewed setting."
604
+ },
605
+ {
606
+ "type": "text",
607
+ "bbox": [
608
+ 0.112,
609
+ 0.247,
610
+ 0.489,
611
+ 0.358
612
+ ],
613
+ "angle": 0,
614
+ "content": "Appendix C. In Figure 4, we see that rarer style combinations [ibn, fun, iun] show more representation in the balanced case as compared to the skewed case. This supports our intuition that the style transfer model benefits from learning the representation of all possible style combinations that can occur together."
615
+ },
616
+ {
617
+ "type": "text",
618
+ "bbox": [
619
+ 0.112,
620
+ 0.36,
621
+ 0.49,
622
+ 0.568
623
+ ],
624
+ "angle": 0,
625
+ "content": "When we consider Formality, Arousal, and Bias micro styles together, the most represented category (30% of samples) is \"formal unbiased aroused\" (fue). The least represented category (as unlikely to occur together) is \"informal unbiased unaroused\" (iun) with 1%. We observe that the quantitative evaluation metrics are quite indicative when compared across style combinations. For instance, in Table 3, we observe that perplexity increases in categories that are unlikely to occur together (iun). This indicates that the style transfer model is confused by the style distributions present for this style combination."
626
+ },
627
+ {
628
+ "type": "text",
629
+ "bbox": [
630
+ 0.113,
631
+ 0.57,
632
+ 0.49,
633
+ 0.732
634
+ ],
635
+ "angle": 0,
636
+ "content": "We do not claim that our method of balancing multiple styles will work even for entangled micro-style combinations, as that is out of the scope of the current paper. However, balancing considerably affects the multi-style transfer output for the range of micro-style combinations we considered, and that has an application in many NLP tasks. This result could hugely influence future studies exploring better ways to balance even the entangled micro-styles."
637
+ },
638
+ {
639
+ "type": "title",
640
+ "bbox": [
641
+ 0.114,
642
+ 0.747,
643
+ 0.248,
644
+ 0.763
645
+ ],
646
+ "angle": 0,
647
+ "content": "4 Conclusion"
648
+ },
649
+ {
650
+ "type": "text",
651
+ "bbox": [
652
+ 0.113,
653
+ 0.775,
654
+ 0.49,
655
+ 0.92
656
+ ],
657
+ "angle": 0,
658
+ "content": "Multi-style text style transfer is a challenging problem predominantly plagued by the need for jointly annotated high-quality datasets. There is a clear need for more research about the marginal and joint distribution of inherent micro-styles present in the training dataset used for style transfer. Multi-style text-style transfer typically requires access to large, jointly labeled datasets and many computational resources under typical implementations. More"
659
+ },
660
+ {
661
+ "type": "table",
662
+ "bbox": [
663
+ 0.516,
664
+ 0.244,
665
+ 0.88,
666
+ 0.316
667
+ ],
668
+ "angle": 0,
669
+ "content": "<table><tr><td>Setting</td><td>Styles</td><td>Perp</td><td>Adv</td><td>BLEU</td><td>Cos</td><td>WMD</td></tr><tr><td rowspan=\"2\">Balanced</td><td>fue</td><td>115.16</td><td>0.90</td><td>0.77</td><td>0.92</td><td>0.32</td></tr><tr><td>iun*</td><td>598.58</td><td>0.86</td><td>0.78</td><td>0.92</td><td>0.36</td></tr><tr><td rowspan=\"2\">Skewed</td><td>fue</td><td>116.02</td><td>0.90</td><td>0.78</td><td>0.92</td><td>0.32</td></tr><tr><td>iun*</td><td>650.47</td><td>0.82</td><td>0.77</td><td>0.93</td><td>0.37</td></tr></table>"
670
+ },
671
+ {
672
+ "type": "table_caption",
673
+ "bbox": [
674
+ 0.508,
675
+ 0.325,
676
+ 0.884,
677
+ 0.412
678
+ ],
679
+ "angle": 0,
680
+ "content": "Table 3: Comparison of the evaluation metrics for the most represented style combination (fue - formal unbiased aroused) vs the least represented style combination (iun* - informal unbiased unaroused). One key observation is that perplexity increases when the style combinations are unlikely to occur together."
681
+ },
682
+ {
683
+ "type": "text",
684
+ "bbox": [
685
+ 0.508,
686
+ 0.439,
687
+ 0.884,
688
+ 0.486
689
+ ],
690
+ "angle": 0,
691
+ "content": "importantly, we would not be able to conveniently tweak the input data distributions in other multi-style text style transfer methods."
692
+ },
693
+ {
694
+ "type": "text",
695
+ "bbox": [
696
+ 0.508,
697
+ 0.488,
698
+ 0.884,
699
+ 0.648
700
+ ],
701
+ "angle": 0,
702
+ "content": "In this paper, we implement a multi-style transfer pipeline that subverts the requirement of a jointly annotated dataset of multiple styles by constructing a pseudo-parallel dataset to which we introduce our contribution of constructing style distributions. We then use the modified pseudo-parallel datasets for multi-style transfer. Our modified pipeline effectively allows us to understand the importance of the joint distribution of micro styles in training data and is a substantial contribution."
703
+ },
704
+ {
705
+ "type": "text",
706
+ "bbox": [
707
+ 0.508,
708
+ 0.65,
709
+ 0.885,
710
+ 0.795
711
+ ],
712
+ "angle": 0,
713
+ "content": "We quantitatively explore the impact of joint micro-style distributions in the training dataset on the style-transferred output sentences. When the joint micro-style distributions are balanced, there is more control over style-transferred output than with a skewed distribution. These findings will likely inform the design of multi-style transfer datasets and encourage us to explore the micro-style relationships in our datasets."
714
+ },
715
+ {
716
+ "type": "title",
717
+ "bbox": [
718
+ 0.51,
719
+ 0.811,
720
+ 0.615,
721
+ 0.825
722
+ ],
723
+ "angle": 0,
724
+ "content": "Limitations"
725
+ },
726
+ {
727
+ "type": "text",
728
+ "bbox": [
729
+ 0.508,
730
+ 0.84,
731
+ 0.884,
732
+ 0.919
733
+ ],
734
+ "angle": 0,
735
+ "content": "In this research, though we employed automatic evaluation of our multi-style transferred text, we acknowledge that multi-style transfer is challenging to observe with the existing metrics for style transfer evaluation, and human evaluation should"
736
+ },
737
+ {
738
+ "type": "page_number",
739
+ "bbox": [
740
+ 0.481,
741
+ 0.928,
742
+ 0.521,
743
+ 0.941
744
+ ],
745
+ "angle": 0,
746
+ "content": "3936"
747
+ }
748
+ ],
749
+ [
750
+ {
751
+ "type": "text",
752
+ "bbox": [
753
+ 0.113,
754
+ 0.085,
755
+ 0.49,
756
+ 0.229
757
+ ],
758
+ "angle": 0,
759
+ "content": "be done as well. As this research paper focuses on exploring the impact of style distributions in the training data on style-transferred output rather than developing a superior multi-style text transfer model, we use quantitative evaluation in this iteration of our paper. We hope that the large sample size and the consistency of applied metrics make our automated approach a reasonable way of evaluating the style transfer output."
760
+ },
761
+ {
762
+ "type": "text",
763
+ "bbox": [
764
+ 0.113,
765
+ 0.231,
766
+ 0.49,
767
+ 0.375
768
+ ],
769
+ "angle": 0,
770
+ "content": "This iteration of our paper aims to achieve multi-style transfer across multiple micro styles taken into consideration together as our contribution would aid in constructing a training dataset for multiple micro-style style transfers. We did not explore another exciting question of how balancing multiple micro styles in the training dataset might influence individual style transfer, which could be a promising future direction for our study."
771
+ },
772
+ {
773
+ "type": "text",
774
+ "bbox": [
775
+ 0.113,
776
+ 0.376,
777
+ 0.49,
778
+ 0.536
779
+ ],
780
+ "angle": 0,
781
+ "content": "We acknowledge that the classifier's quality sets an upper bound on the best style transfer accuracy that is obtainable. However, the target task is quite complicated without a parallel dataset. Our objective was not to have the most accurate classification of micro styles but to find a means to get acceptable pseudo labels for the micro styles. Individually, all our micro style classifiers had a classification accuracy of \\(80\\%\\) F1 and higher, and we deemed this good enough for pseudo-label creation."
782
+ },
783
+ {
784
+ "type": "text",
785
+ "bbox": [
786
+ 0.113,
787
+ 0.537,
788
+ 0.49,
789
+ 0.682
790
+ ],
791
+ "angle": 0,
792
+ "content": "We also focused on utilizing the present styles in the training data and classifying them to derive inherent training style distributions instead of dynamically tuning the proportion of styles present in the training dataset. However, tuning these style proportions using techniques such as PPLM (Dathathri et al., 2019) would give us greater control over our experimental pipeline and is an appropriate next step."
793
+ },
794
+ {
795
+ "type": "title",
796
+ "bbox": [
797
+ 0.115,
798
+ 0.695,
799
+ 0.279,
800
+ 0.71
801
+ ],
802
+ "angle": 0,
803
+ "content": "Acknowledgement"
804
+ },
805
+ {
806
+ "type": "text",
807
+ "bbox": [
808
+ 0.113,
809
+ 0.721,
810
+ 0.49,
811
+ 0.801
812
+ ],
813
+ "angle": 0,
814
+ "content": "We thank Vivek Aithal, Priyam Srivastava and Daniel McAndrew for their initial work on the pipeline for multi-style transfer. This was instrumental to our project and helped us get a kickstart on our research."
815
+ },
816
+ {
817
+ "type": "title",
818
+ "bbox": [
819
+ 0.115,
820
+ 0.829,
821
+ 0.214,
822
+ 0.844
823
+ ],
824
+ "angle": 0,
825
+ "content": "References"
826
+ },
827
+ {
828
+ "type": "ref_text",
829
+ "bbox": [
830
+ 0.115,
831
+ 0.852,
832
+ 0.49,
833
+ 0.919
834
+ ],
835
+ "angle": 0,
836
+ "content": "Emily M Bender and Batya Friedman. 2018. Data statements for natural language processing: Toward mitigating system bias and enabling better science. Transactions of the Association for Computational Linguistics, 6:587-604."
837
+ },
838
+ {
839
+ "type": "ref_text",
840
+ "bbox": [
841
+ 0.511,
842
+ 0.086,
843
+ 0.885,
844
+ 0.14
845
+ ],
846
+ "angle": 0,
847
+ "content": "Sven Buechel and Udo Hahn. 2022. Emobank: Studying the impact of annotation perspective and representation format on dimensional emotion analysis. arXiv preprint arXiv:2205.01996."
848
+ },
849
+ {
850
+ "type": "ref_text",
851
+ "bbox": [
852
+ 0.511,
853
+ 0.15,
854
+ 0.885,
855
+ 0.216
856
+ ],
857
+ "angle": 0,
858
+ "content": "Sumanth Dathathri, Andrea Madotto, Janice Lan, Jane Hung, Eric Frank, Piero Molino, Jason Yosinski, and Rosanne Liu. 2019. Plug and play language models: A simple approach to controlled text generation. arXiv preprint arXiv:1912.02164."
859
+ },
860
+ {
861
+ "type": "ref_text",
862
+ "bbox": [
863
+ 0.511,
864
+ 0.227,
865
+ 0.885,
866
+ 0.28
867
+ ],
868
+ "angle": 0,
869
+ "content": "Zhenxin Fu, Xiaoye Tan, Nanyun Peng, Dongyan Zhao, and Rui Yan. 2018. Style transfer in text: Exploration and evaluation. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 32."
870
+ },
871
+ {
872
+ "type": "ref_text",
873
+ "bbox": [
874
+ 0.511,
875
+ 0.291,
876
+ 0.885,
877
+ 0.331
878
+ ],
879
+ "angle": 0,
880
+ "content": "Alec Go, Richa Bhayani, and Lei Huang. 2009. Twitter sentiment classification using distant supervision. CS224N project report, Stanford, 1(12):2009."
881
+ },
882
+ {
883
+ "type": "ref_text",
884
+ "bbox": [
885
+ 0.511,
886
+ 0.342,
887
+ 0.885,
888
+ 0.395
889
+ ],
890
+ "angle": 0,
891
+ "content": "Navita Goyal, Balaji Vasan Srinivasan, Anandhavelu Natarajan, and Abhilasha Sancheti. 2020. Multi-style transfer with discriminative feedback on disjoint corpus. arXiv preprint arXiv:2010.11578."
892
+ },
893
+ {
894
+ "type": "ref_text",
895
+ "bbox": [
896
+ 0.511,
897
+ 0.405,
898
+ 0.885,
899
+ 0.459
900
+ ],
901
+ "angle": 0,
902
+ "content": "Suchin Gururangan, Swabha Swayamdipta, Omer Levy, Roy Schwartz, Samuel R Bowman, and Noah A Smith. 2018. Annotation artifacts in natural language inference data. arXiv preprint arXiv:1803.02324."
903
+ },
904
+ {
905
+ "type": "ref_text",
906
+ "bbox": [
907
+ 0.511,
908
+ 0.47,
909
+ 0.885,
910
+ 0.522
911
+ ],
912
+ "angle": 0,
913
+ "content": "Junxian He, Xinyi Wang, Graham Neubig, and Taylor Berg-Kirkpatrick. 2020. A probabilistic formulation of unsupervised text style transfer. arXiv preprint arXiv:2002.03912."
914
+ },
915
+ {
916
+ "type": "ref_text",
917
+ "bbox": [
918
+ 0.511,
919
+ 0.533,
920
+ 0.885,
921
+ 0.574
922
+ ],
923
+ "angle": 0,
924
+ "content": "Ari Holtzman, Jan Buys, Li Du, Maxwell Forbes, and Yejin Choi. 2019. The curious case of neural text degeneration. arXiv preprint arXiv:1904.09751."
925
+ },
926
+ {
927
+ "type": "ref_text",
928
+ "bbox": [
929
+ 0.511,
930
+ 0.584,
931
+ 0.885,
932
+ 0.663
933
+ ],
934
+ "angle": 0,
935
+ "content": "Dirk Hovy and Diyi Yang. 2021. The importance of modeling social factors of language: Theory and practice. In *The 2021 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies*. Association for Computational Linguistics."
936
+ },
937
+ {
938
+ "type": "ref_text",
939
+ "bbox": [
940
+ 0.511,
941
+ 0.674,
942
+ 0.885,
943
+ 0.728
944
+ ],
945
+ "angle": 0,
946
+ "content": "Zhiting Hu, Zichao Yang, Xiaodan Liang, Ruslan Salakhutdinov, and Eric P Xing. 2017. Toward controlled generation of text. In International conference on machine learning, pages 1587-1596. PMLR."
947
+ },
948
+ {
949
+ "type": "ref_text",
950
+ "bbox": [
951
+ 0.511,
952
+ 0.738,
953
+ 0.885,
954
+ 0.791
955
+ ],
956
+ "angle": 0,
957
+ "content": "Harsh Jhamtani, Varun Gangal, Eduard Hovy, and Eric Nyberg. 2017. Shakespearizing modern language using copy-enriched sequence-to-sequence models. arXiv preprint arXiv:1707.01161."
958
+ },
959
+ {
960
+ "type": "ref_text",
961
+ "bbox": [
962
+ 0.511,
963
+ 0.802,
964
+ 0.885,
965
+ 0.854
966
+ ],
967
+ "angle": 0,
968
+ "content": "Di Jin, Zhijing Jin, Zhiting Hu, Olga Vechtomova, and Rada Mihalcea. 2022. Deep learning for text style transfer: A survey. Computational Linguistics, 48(1):155-205."
969
+ },
970
+ {
971
+ "type": "ref_text",
972
+ "bbox": [
973
+ 0.511,
974
+ 0.866,
975
+ 0.885,
976
+ 0.918
977
+ ],
978
+ "angle": 0,
979
+ "content": "Dongyeop Kang and Eduard Hovy. 2019. xslue: A benchmark and analysis platform for cross-style language understanding and evaluation. arXiv preprint arXiv:1911.03663."
980
+ },
981
+ {
982
+ "type": "list",
983
+ "bbox": [
984
+ 0.511,
985
+ 0.086,
986
+ 0.885,
987
+ 0.918
988
+ ],
989
+ "angle": 0,
990
+ "content": null
991
+ },
992
+ {
993
+ "type": "page_number",
994
+ "bbox": [
995
+ 0.481,
996
+ 0.928,
997
+ 0.521,
998
+ 0.941
999
+ ],
1000
+ "angle": 0,
1001
+ "content": "3937"
1002
+ }
1003
+ ],
1004
+ [
1005
+ {
1006
+ "type": "ref_text",
1007
+ "bbox": [
1008
+ 0.117,
1009
+ 0.086,
1010
+ 0.49,
1011
+ 0.179
1012
+ ],
1013
+ "angle": 0,
1014
+ "content": "Dongyeop Kang and Eduard Hovy. 2021. Style is not a single variable: Case studies for cross-stylistic language understanding. 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 2376-2387."
1015
+ },
1016
+ {
1017
+ "type": "ref_text",
1018
+ "bbox": [
1019
+ 0.117,
1020
+ 0.19,
1021
+ 0.49,
1022
+ 0.231
1023
+ ],
1024
+ "angle": 0,
1025
+ "content": "Kalpesh Krishna, John Wieting, and Mohit Iyyer. 2020. Reformulating unsupervised style transfer as paraphrase generation. arXiv preprint arXiv:2010.05700."
1026
+ },
1027
+ {
1028
+ "type": "ref_text",
1029
+ "bbox": [
1030
+ 0.117,
1031
+ 0.242,
1032
+ 0.488,
1033
+ 0.307
1034
+ ],
1035
+ "angle": 0,
1036
+ "content": "Guillaume Lample, Sandeep Subramanian, Eric Smith, Ludovic Denoyer, Marc'Aurelio Ranzato, and Y-Lan Boureau. 2018. Multiple-attribute text rewriting. In International Conference on Learning Representations."
1037
+ },
1038
+ {
1039
+ "type": "ref_text",
1040
+ "bbox": [
1041
+ 0.117,
1042
+ 0.32,
1043
+ 0.488,
1044
+ 0.372
1045
+ ],
1046
+ "angle": 0,
1047
+ "content": "Dianqi Li, Yizhe Zhang, Zhe Gan, Yu Cheng, Chris Brockett, Ming-Ting Sun, and Bill Dolan. 2019. Domain adaptive text style transfer. arXiv preprint arXiv:1908.09395."
1048
+ },
1049
+ {
1050
+ "type": "ref_text",
1051
+ "bbox": [
1052
+ 0.117,
1053
+ 0.385,
1054
+ 0.488,
1055
+ 0.424
1056
+ ],
1057
+ "angle": 0,
1058
+ "content": "Remi Mir, Bjarke Felbo, Nick Obradovich, and Iyad Rahwan. 2019. Evaluating style transfer for text. CoRR, abs/1904.02295."
1059
+ },
1060
+ {
1061
+ "type": "ref_text",
1062
+ "bbox": [
1063
+ 0.117,
1064
+ 0.437,
1065
+ 0.488,
1066
+ 0.529
1067
+ ],
1068
+ "angle": 0,
1069
+ "content": "Kishore Papineni, Salim Roukos, Todd Ward, and Wei-Jing Zhu. 2002. Bleu: a method for automatic evaluation of machine translation. In Proceedings of the 40th Annual Meeting of the Association for Computational Linguistics, pages 311-318, Philadelphia, Pennsylvania, USA. Association for Computational Linguistics."
1070
+ },
1071
+ {
1072
+ "type": "ref_text",
1073
+ "bbox": [
1074
+ 0.117,
1075
+ 0.541,
1076
+ 0.488,
1077
+ 0.607
1078
+ ],
1079
+ "angle": 0,
1080
+ "content": "Reid Pryzant, Richard Diehl Martinez, Nathan Dass, Sadao Kurohashi, Dan Jurafsky, and Diyi Yang. 2020. Automatically neutralizing subjective bias in text. In Proceedings of the aaai conference on artificial intelligence, volume 34, pages 480-489."
1081
+ },
1082
+ {
1083
+ "type": "ref_text",
1084
+ "bbox": [
1085
+ 0.117,
1086
+ 0.619,
1087
+ 0.488,
1088
+ 0.672
1089
+ ],
1090
+ "angle": 0,
1091
+ "content": "Alec Radford, Jeffrey Wu, Rewon Child, David Luan, Dario Amodei, Ilya Sutskever, et al. 2019. Language models are unsupervised multitask learners. OpenAI blog, 1(8):9."
1092
+ },
1093
+ {
1094
+ "type": "ref_text",
1095
+ "bbox": [
1096
+ 0.117,
1097
+ 0.684,
1098
+ 0.488,
1099
+ 0.749
1100
+ ],
1101
+ "angle": 0,
1102
+ "content": "Colin Raffel, Noam Shazeer, Adam Roberts, Katherine Lee, Sharan Narang, Michael Matena, Yanqi Zhou, Wei Li, Peter J Liu, et al. 2020. Exploring the limits of transfer learning with a unified text-to-text transformer. J. Mach. Learn. Res., 21(140):1-67."
1103
+ },
1104
+ {
1105
+ "type": "ref_text",
1106
+ "bbox": [
1107
+ 0.117,
1108
+ 0.762,
1109
+ 0.488,
1110
+ 0.815
1111
+ ],
1112
+ "angle": 0,
1113
+ "content": "Sudha Rao and Joel Tetreault. 2018. Dear sir or madam, may i introduce the gyafc dataset: Corpus, benchmarks and metrics for formality style transfer. arXiv preprint arXiv:1803.06535."
1114
+ },
1115
+ {
1116
+ "type": "ref_text",
1117
+ "bbox": [
1118
+ 0.117,
1119
+ 0.827,
1120
+ 0.488,
1121
+ 0.854
1122
+ ],
1123
+ "angle": 0,
1124
+ "content": "Nils Reimers and Iryna Gurevych. 2019. Sentence-bert: Sentence embeddings using siamese bert-networks."
1125
+ },
1126
+ {
1127
+ "type": "ref_text",
1128
+ "bbox": [
1129
+ 0.117,
1130
+ 0.866,
1131
+ 0.488,
1132
+ 0.919
1133
+ ],
1134
+ "angle": 0,
1135
+ "content": "Victor Sanh, Lysandre Debut, Julien Chaumont, and Thomas Wolf. 2019. Distilbert, a distilled version of bert: smaller, faster, cheaper and lighter. arXiv preprint arXiv:1910.01108."
1136
+ },
1137
+ {
1138
+ "type": "list",
1139
+ "bbox": [
1140
+ 0.117,
1141
+ 0.086,
1142
+ 0.49,
1143
+ 0.919
1144
+ ],
1145
+ "angle": 0,
1146
+ "content": null
1147
+ },
1148
+ {
1149
+ "type": "ref_text",
1150
+ "bbox": [
1151
+ 0.511,
1152
+ 0.086,
1153
+ 0.883,
1154
+ 0.126
1155
+ ],
1156
+ "angle": 0,
1157
+ "content": "Stephanie Schoch, Wanyu Du, and Yangfeng Ji. 2021. Contextualizing variation in text style transfer datasets. arXiv preprint arXiv:2108.07871."
1158
+ },
1159
+ {
1160
+ "type": "ref_text",
1161
+ "bbox": [
1162
+ 0.511,
1163
+ 0.135,
1164
+ 0.883,
1165
+ 0.189
1166
+ ],
1167
+ "angle": 0,
1168
+ "content": "Tianxiao Shen, Tao Lei, Regina Barzilay, and Tommi Jaakkola. 2017. Style transfer from non-parallel text by cross-alignment. Advances in neural information processing systems, 30."
1169
+ },
1170
+ {
1171
+ "type": "ref_text",
1172
+ "bbox": [
1173
+ 0.511,
1174
+ 0.198,
1175
+ 0.883,
1176
+ 0.263
1177
+ ],
1178
+ "angle": 0,
1179
+ "content": "Sandeep Subramanian, Guillaume Lample, Eric Michael Smith, Ludovic Denoyer, Marc'Aurelio Ranzato, and Y-Lan Boureau. 2018. Multiple-attribute text style transfer. arXiv preprint arXiv:1811.00552."
1180
+ },
1181
+ {
1182
+ "type": "ref_text",
1183
+ "bbox": [
1184
+ 0.511,
1185
+ 0.273,
1186
+ 0.883,
1187
+ 0.325
1188
+ ],
1189
+ "angle": 0,
1190
+ "content": "Enrica Troiano, Aswathy Velutharambath, et al. 2021. From theories on styles to their transfer in text: Bridging the gap with a hierarchical survey. arXiv preprint arXiv:2110.15871."
1191
+ },
1192
+ {
1193
+ "type": "ref_text",
1194
+ "bbox": [
1195
+ 0.511,
1196
+ 0.335,
1197
+ 0.883,
1198
+ 0.401
1199
+ ],
1200
+ "angle": 0,
1201
+ "content": "Ashwin K Vijayakumar, Michael Cogswell, Ramprasath R Selvaraju, Qing Sun, Stefan Lee, David Crandall, and Dhruv Batra. 2016. Diverse beam search: Decoding diverse solutions from neural sequence models. arXiv preprint arXiv:1610.02424."
1202
+ },
1203
+ {
1204
+ "type": "ref_text",
1205
+ "bbox": [
1206
+ 0.511,
1207
+ 0.41,
1208
+ 0.883,
1209
+ 0.463
1210
+ ],
1211
+ "angle": 0,
1212
+ "content": "Amy Beth Warriner, Victor Kuperman, and Marc Brysbaert. 2013. Norms of valence, arousal, and dominance for 13,915 english lemmas. Behavior research methods, 45(4):1191-1207."
1213
+ },
1214
+ {
1215
+ "type": "ref_text",
1216
+ "bbox": [
1217
+ 0.511,
1218
+ 0.472,
1219
+ 0.883,
1220
+ 0.526
1221
+ ],
1222
+ "angle": 0,
1223
+ "content": "Sean Welleck, Ilia Kulikov, Stephen Roller, Emily Dinan, Kyunghyun Cho, and Jason Weston. 2019. Neural text generation with unlikelihood training. arXiv preprint arXiv:1908.04319."
1224
+ },
1225
+ {
1226
+ "type": "ref_text",
1227
+ "bbox": [
1228
+ 0.511,
1229
+ 0.535,
1230
+ 0.883,
1231
+ 0.588
1232
+ ],
1233
+ "angle": 0,
1234
+ "content": "John Wieting, Taylor Berg-Kirkpatrick, Kevin Gimpel, and Graham Neubig. 2019. Beyond bleu: training neural machine translation with semantic similarity. arXiv preprint arXiv:1909.06694."
1235
+ },
1236
+ {
1237
+ "type": "ref_text",
1238
+ "bbox": [
1239
+ 0.511,
1240
+ 0.597,
1241
+ 0.883,
1242
+ 0.689
1243
+ ],
1244
+ "angle": 0,
1245
+ "content": "Thomas Wolf, Lysandre Debut, Victor Sanh, Julien Chaumond, Clement Delangue, Anthony Moi, Pierric Cistac, Tim Rault, Remi 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."
1246
+ },
1247
+ {
1248
+ "type": "ref_text",
1249
+ "bbox": [
1250
+ 0.511,
1251
+ 0.698,
1252
+ 0.883,
1253
+ 0.738
1254
+ ],
1255
+ "angle": 0,
1256
+ "content": "Yi Zhang, Tao Ge, and Xu Sun. 2020. Parallel data augmentation for formality style transfer. arXiv preprint arXiv:2005.07522."
1257
+ },
1258
+ {
1259
+ "type": "list",
1260
+ "bbox": [
1261
+ 0.511,
1262
+ 0.086,
1263
+ 0.883,
1264
+ 0.738
1265
+ ],
1266
+ "angle": 0,
1267
+ "content": null
1268
+ },
1269
+ {
1270
+ "type": "title",
1271
+ "bbox": [
1272
+ 0.511,
1273
+ 0.75,
1274
+ 0.724,
1275
+ 0.765
1276
+ ],
1277
+ "angle": 0,
1278
+ "content": "A Dataset Information"
1279
+ },
1280
+ {
1281
+ "type": "text",
1282
+ "bbox": [
1283
+ 0.51,
1284
+ 0.775,
1285
+ 0.885,
1286
+ 0.919
1287
+ ],
1288
+ "angle": 0,
1289
+ "content": "We choose four micro-styles from both intended and unintended style categories, based on the style hierarchy as defined in Troiano et al. - Formality, Arousal, Sentiment, and Bias. While formality is considered a \"non-targeted intended\" micro-style, arousal and sentiment are \"targeted intended\" micro-styles. We also include subjective bias, an \"unintended\" micro-style, to ensure we include styles from all hierarchy branches. We built"
1290
+ },
1291
+ {
1292
+ "type": "page_number",
1293
+ "bbox": [
1294
+ 0.481,
1295
+ 0.929,
1296
+ 0.521,
1297
+ 0.941
1298
+ ],
1299
+ "angle": 0,
1300
+ "content": "3938"
1301
+ }
1302
+ ],
1303
+ [
1304
+ {
1305
+ "type": "text",
1306
+ "bbox": [
1307
+ 0.113,
1308
+ 0.085,
1309
+ 0.488,
1310
+ 0.149
1311
+ ],
1312
+ "angle": 0,
1313
+ "content": "our micro-style joint classification and style transfer models from multiple publicly available NLP datasets built by other researchers, and we detail these below."
1314
+ },
1315
+ {
1316
+ "type": "text",
1317
+ "bbox": [
1318
+ 0.112,
1319
+ 0.169,
1320
+ 0.49,
1321
+ 0.298
1322
+ ],
1323
+ "angle": 0,
1324
+ "content": "Formality. We use Grammarly's Yahoo Answers Formality Corpus (Rao and Tetreault, 2018), which consists of \\(105\\mathrm{k}\\) sentences from two styles: \"formal\" and \"informal\" sentences written either in formal or informal modern English. Unlike formal sentences, informal sentences tend to have more misspellings, short forms (\"u\" instead of \"you\"), and non-standard usage of punctuation."
1325
+ },
1326
+ {
1327
+ "type": "text",
1328
+ "bbox": [
1329
+ 0.113,
1330
+ 0.318,
1331
+ 0.489,
1332
+ 0.414
1333
+ ],
1334
+ "angle": 0,
1335
+ "content": "Arousal. We use the emotion annotated Emobank dataset (Buechel and Hahn, 2022) based on the three-dimensional VAD model developed by (Warriner et al., 2013). In particular, we transform the Arousal dimension into binary categories such as \"arousal\" and \"non-arousal.\""
1336
+ },
1337
+ {
1338
+ "type": "text",
1339
+ "bbox": [
1340
+ 0.113,
1341
+ 0.433,
1342
+ 0.49,
1343
+ 0.595
1344
+ ],
1345
+ "angle": 0,
1346
+ "content": "Sentiment. We use the famous Sentiment140 dataset (Go et al., 2009), which consists of automatically annotated tweets, where the tweets containing positive emoticons are assumed as positive. In contrast, those with negative emoticons are assumed to be negative. The training dataset consisted of 1.6M tweets, and the test dataset consisted of 359 tweets. The tweets were preprocessed using NLTK to remove special Twitter-specific symbols like hashtags, usernames, and URLs."
1347
+ },
1348
+ {
1349
+ "type": "text",
1350
+ "bbox": [
1351
+ 0.113,
1352
+ 0.614,
1353
+ 0.49,
1354
+ 0.919
1355
+ ],
1356
+ "angle": 0,
1357
+ "content": "Bias. We use the Wiki Neutrality Corpus by (Pryzant et al., 2020). This is a new parallel corpus of 180,000 biased and neutralized sentence pairs. In order to train our joint classifier models, we used the training dataset from the appropriate micro-style datasets mentioned above. To implement our style distribution hypothesis, we used random samples for training and testing, from the combination of all the dev datasets from the benchmarks corpus by (Kang and Hovy, 2019). This consists of 15 different styles coupled to both content and domain by varying degrees. We wanted to ensure that the dataset used for training our style transfer model and verifying our hypothesis has sufficient indicators of the appropriate micro-styles. This could be done best by using a sample consisting of datasets curated for each individual micro-style (since a jointly annotated dataset with so many styles is not available)."
1358
+ },
1359
+ {
1360
+ "type": "title",
1361
+ "bbox": [
1362
+ 0.51,
1363
+ 0.084,
1364
+ 0.799,
1365
+ 0.102
1366
+ ],
1367
+ "angle": 0,
1368
+ "content": "B Multi Style Transfer Pipeline"
1369
+ },
1370
+ {
1371
+ "type": "title",
1372
+ "bbox": [
1373
+ 0.51,
1374
+ 0.123,
1375
+ 0.782,
1376
+ 0.14
1377
+ ],
1378
+ "angle": 0,
1379
+ "content": "B.1 Resources used for Training"
1380
+ },
1381
+ {
1382
+ "type": "text",
1383
+ "bbox": [
1384
+ 0.508,
1385
+ 0.155,
1386
+ 0.885,
1387
+ 0.252
1388
+ ],
1389
+ "angle": 0,
1390
+ "content": "All models were trained using cloud GPUs on Google Colab Pro and Pro+. We used 1 V100 GPU in its \"High-RAM\" (52GB) GPU run-time setting to train the paraphrase generation model, while for other models we used 1 P100 GPU at the \"standard RAM\" setting (32GB)."
1391
+ },
1392
+ {
1393
+ "type": "title",
1394
+ "bbox": [
1395
+ 0.51,
1396
+ 0.281,
1397
+ 0.807,
1398
+ 0.296
1399
+ ],
1400
+ "angle": 0,
1401
+ "content": "B.2 Diverse Paraphrase Generation"
1402
+ },
1403
+ {
1404
+ "type": "text",
1405
+ "bbox": [
1406
+ 0.508,
1407
+ 0.312,
1408
+ 0.885,
1409
+ 0.668
1410
+ ],
1411
+ "angle": 0,
1412
+ "content": "We adopted a pre-trained T5 model (Raffel et al., 2020), to generate paraphrases. We trained the model on the ParaNMT-filtered dataset provided by (Krishna et al., 2020). This is a subset of the ParaNMT dataset with filters applied to promote lexical diversity, syntactic diversity, and semantic similarity. This model was then used to generate the pseudo-parallel training data for transfer. We selected the t5-small architecture (60 million parameters) as this is approximately 10x smaller than the GPT-2 large model used in (Krishna et al., 2020). We used the hyper-parameters given in Table 4. Based on the recommendation in the appendix of Raffel et al, we used the \"paraphrase:\" prefix to train the paraphrase model. Once we had this trained paraphrase model, we used diverse beam search (Vijayakumar et al., 2016) to generate diverse paraphrased outputs. The hyper-parameters used for diverse beam search are mentioned in Table 5. We preferred beam search over top-p sampling in order to prioritize fluent paraphrases (Welleck et al., 2019) over unique paraphrases."
1413
+ },
1414
+ {
1415
+ "type": "text",
1416
+ "bbox": [
1417
+ 0.508,
1418
+ 0.688,
1419
+ 0.883,
1420
+ 0.72
1421
+ ],
1422
+ "angle": 0,
1423
+ "content": "Input - paraphrase: I love to play my guitar and I do not know why"
1424
+ },
1425
+ {
1426
+ "type": "text",
1427
+ "bbox": [
1428
+ 0.508,
1429
+ 0.72,
1430
+ 0.883,
1431
+ 0.752
1432
+ ],
1433
+ "angle": 0,
1434
+ "content": "Output - I love playing my guitar and I'm not sure why"
1435
+ },
1436
+ {
1437
+ "type": "table",
1438
+ "bbox": [
1439
+ 0.532,
1440
+ 0.775,
1441
+ 0.864,
1442
+ 0.877
1443
+ ],
1444
+ "angle": 0,
1445
+ "content": "<table><tr><td>Hyperparameters</td><td>Value</td></tr><tr><td>batch size</td><td>8</td></tr><tr><td>number of epochs</td><td>12</td></tr><tr><td>learning rate</td><td>1e-4</td></tr><tr><td>max sequence length</td><td>64</td></tr></table>"
1446
+ },
1447
+ {
1448
+ "type": "table_caption",
1449
+ "bbox": [
1450
+ 0.508,
1451
+ 0.886,
1452
+ 0.885,
1453
+ 0.915
1454
+ ],
1455
+ "angle": 0,
1456
+ "content": "Table 4: Hyper parameters for T5 training for paraphrase generation"
1457
+ },
1458
+ {
1459
+ "type": "page_number",
1460
+ "bbox": [
1461
+ 0.481,
1462
+ 0.928,
1463
+ 0.521,
1464
+ 0.941
1465
+ ],
1466
+ "angle": 0,
1467
+ "content": "3939"
1468
+ }
1469
+ ],
1470
+ [
1471
+ {
1472
+ "type": "table",
1473
+ "bbox": [
1474
+ 0.137,
1475
+ 0.082,
1476
+ 0.468,
1477
+ 0.215
1478
+ ],
1479
+ "angle": 0,
1480
+ "content": "<table><tr><td>Hyperparameters</td><td>Value</td></tr><tr><td>max length</td><td>70</td></tr><tr><td>early stopping</td><td>True</td></tr><tr><td>no repeat ngram size</td><td>5</td></tr><tr><td>num beams</td><td>9</td></tr><tr><td>num beam groups</td><td>3</td></tr><tr><td>diversity penalty</td><td>0.5</td></tr></table>"
1481
+ },
1482
+ {
1483
+ "type": "table_caption",
1484
+ "bbox": [
1485
+ 0.152,
1486
+ 0.224,
1487
+ 0.45,
1488
+ 0.24
1489
+ ],
1490
+ "angle": 0,
1491
+ "content": "Table 5: Hyperparameters for Beam Search"
1492
+ },
1493
+ {
1494
+ "type": "title",
1495
+ "bbox": [
1496
+ 0.114,
1497
+ 0.258,
1498
+ 0.364,
1499
+ 0.274
1500
+ ],
1501
+ "angle": 0,
1502
+ "content": "B.3 Micro-style Classification"
1503
+ },
1504
+ {
1505
+ "type": "text",
1506
+ "bbox": [
1507
+ 0.113,
1508
+ 0.279,
1509
+ 0.49,
1510
+ 0.714
1511
+ ],
1512
+ "angle": 0,
1513
+ "content": "We trained a joint sentence classification model to classify the sentence on multiple axes inspired by the approach in Kang and Hovy, which uses an encoder-decoder-based model that learns cross-style patterns with the shared internal representation across styles. Our joint model comprises fully connected layers attached to a DistilBERT model (Sanh et al., 2019), which acts as an encoder. The hyperparameters for this joint model are given in Table 6. This single model effectively replaces the need for a different model for each classification task, significantly reducing the need for computing resources for training and inference. Our joint classifier is essential for downstream tasks like training style transfer models and evaluation. Say we first perform a joint classification of both formality and arousal micro-styles on our datasets, considering we want a multiple-style transfer along the axes of formality and arousal. This results in both formality and arousal pseudo-labels for the sentences. Since these labels are generated algorithmically rather than by hand, we refer to them as pseudo-labels. Pseudo-labeled sentences can then be used to generate the pseudo-parallel dataset for training joint style transfer models and directly measure the variation of a style along the axis of interest."
1514
+ },
1515
+ {
1516
+ "type": "table",
1517
+ "bbox": [
1518
+ 0.137,
1519
+ 0.739,
1520
+ 0.468,
1521
+ 0.824
1522
+ ],
1523
+ "angle": 0,
1524
+ "content": "<table><tr><td>Hyperparameters</td><td>Value</td></tr><tr><td>train batch size</td><td>256</td></tr><tr><td>test batch size</td><td>512</td></tr><tr><td>number of epochs</td><td>3</td></tr><tr><td>learning rate</td><td>1e-4</td></tr></table>"
1525
+ },
1526
+ {
1527
+ "type": "table_caption",
1528
+ "bbox": [
1529
+ 0.146,
1530
+ 0.833,
1531
+ 0.456,
1532
+ 0.849
1533
+ ],
1534
+ "angle": 0,
1535
+ "content": "Table 6: Hyperparameters for Joint Classifier"
1536
+ },
1537
+ {
1538
+ "type": "title",
1539
+ "bbox": [
1540
+ 0.114,
1541
+ 0.867,
1542
+ 0.422,
1543
+ 0.882
1544
+ ],
1545
+ "angle": 0,
1546
+ "content": "B.4 Pseudo Parallel Data Generation"
1547
+ },
1548
+ {
1549
+ "type": "text",
1550
+ "bbox": [
1551
+ 0.113,
1552
+ 0.888,
1553
+ 0.49,
1554
+ 0.919
1555
+ ],
1556
+ "angle": 0,
1557
+ "content": "We then selected the best paraphrase (most stylistically different from the anchor sentence) based"
1558
+ },
1559
+ {
1560
+ "type": "text",
1561
+ "bbox": [
1562
+ 0.508,
1563
+ 0.085,
1564
+ 0.885,
1565
+ 0.196
1566
+ ],
1567
+ "angle": 0,
1568
+ "content": "on the cosine distance between the anchor and the paraphrased sentence's style vectors. To enable the transfer model to transfer to specified levels of a particular style, we defined 'very low', 'low', 'mid', 'high', and 'very high' buckets for each micro-style. In the following, we describe the bucket boundaries for our style scores."
1569
+ },
1570
+ {
1571
+ "type": "text",
1572
+ "bbox": [
1573
+ 0.508,
1574
+ 0.198,
1575
+ 0.884,
1576
+ 0.246
1577
+ ],
1578
+ "angle": 0,
1579
+ "content": "Buckets: Very Low = [0, 0.2] Low = [0.2, 0.4] \nMid = [0.4, 0.6] High = [0.6, 0.95] Very High = [0.95,1]"
1580
+ },
1581
+ {
1582
+ "type": "text",
1583
+ "bbox": [
1584
+ 0.508,
1585
+ 0.247,
1586
+ 0.885,
1587
+ 0.601
1588
+ ],
1589
+ "angle": 0,
1590
+ "content": "Using the absolute difference between original text style scores and their best-paraphrased text style scores, we find paraphrasing successfully stripped away both formality and arousal aspects of the text. The same phenomenon has been observed in previous studies, such as (Krishna et al., 2020). To ensure a diverse pseudo-parallel dataset, we retain only anchor-paraphrase pairs that do not match in terms of their style bucket. For example, if an anchor-paraphrase sentence pair is assigned style buckets for formality and arousal, as [very high, low] and [very high, very low], this pair will be retained. However, if both style buckets match, the sentence pair will not be considered diverse enough to remain in the pseudo-parallel dataset. In style transfer models, the paraphrased sentence and its style buckets are used as input parameters, while the style buckets assigned to the anchor sentence are used as proxy levels of output style transfer. The following is an example of the input to the joint style transfer model and the expected output."
1591
+ },
1592
+ {
1593
+ "type": "text",
1594
+ "bbox": [
1595
+ 0.508,
1596
+ 0.617,
1597
+ 0.885,
1598
+ 0.696
1599
+ ],
1600
+ "angle": 0,
1601
+ "content": "Goal - Highly increase the formality of the sentence, slightly increase the arousal of the sentence \nInput - transfer: I'm sad you're going | input formality: low | input arousal: low | output formality: high | output arousal: mid"
1602
+ },
1603
+ {
1604
+ "type": "text",
1605
+ "bbox": [
1606
+ 0.509,
1607
+ 0.698,
1608
+ 0.813,
1609
+ 0.714
1610
+ ],
1611
+ "angle": 0,
1612
+ "content": "Output - I am sorry you are going to go."
1613
+ },
1614
+ {
1615
+ "type": "table",
1616
+ "bbox": [
1617
+ 0.532,
1618
+ 0.726,
1619
+ 0.864,
1620
+ 0.812
1621
+ ],
1622
+ "angle": 0,
1623
+ "content": "<table><tr><td>Hyperparameters</td><td>Value</td></tr><tr><td>train batch size</td><td>8</td></tr><tr><td>test batch size</td><td>8</td></tr><tr><td>number of epochs</td><td>5</td></tr><tr><td>learning rate</td><td>1e-4</td></tr></table>"
1624
+ },
1625
+ {
1626
+ "type": "table_caption",
1627
+ "bbox": [
1628
+ 0.521,
1629
+ 0.821,
1630
+ 0.871,
1631
+ 0.835
1632
+ ],
1633
+ "angle": 0,
1634
+ "content": "Table 7: Hyperparameters for T5 for Style Transfer"
1635
+ },
1636
+ {
1637
+ "type": "title",
1638
+ "bbox": [
1639
+ 0.509,
1640
+ 0.867,
1641
+ 0.744,
1642
+ 0.882
1643
+ ],
1644
+ "angle": 0,
1645
+ "content": "B.5 Style Transfer Training"
1646
+ },
1647
+ {
1648
+ "type": "text",
1649
+ "bbox": [
1650
+ 0.508,
1651
+ 0.888,
1652
+ 0.884,
1653
+ 0.919
1654
+ ],
1655
+ "angle": 0,
1656
+ "content": "Our T5 models were trained on pseudo-parallel datasets created and filtered as described earlier."
1657
+ },
1658
+ {
1659
+ "type": "page_number",
1660
+ "bbox": [
1661
+ 0.481,
1662
+ 0.928,
1663
+ 0.522,
1664
+ 0.941
1665
+ ],
1666
+ "angle": 0,
1667
+ "content": "3940"
1668
+ }
1669
+ ],
1670
+ [
1671
+ {
1672
+ "type": "image",
1673
+ "bbox": [
1674
+ 0.192,
1675
+ 0.083,
1676
+ 0.805,
1677
+ 0.277
1678
+ ],
1679
+ "angle": 0,
1680
+ "content": null
1681
+ },
1682
+ {
1683
+ "type": "image_caption",
1684
+ "bbox": [
1685
+ 0.113,
1686
+ 0.289,
1687
+ 0.885,
1688
+ 0.349
1689
+ ],
1690
+ "angle": 0,
1691
+ "content": "Figure 5: Considering the micro-style combinations such that, Formality [formal = f, informal = i], Bias [biased = b, unbiased = u], Arousal [aroused = e, un-aroused = u], and Sentiment [negative = n, positive = p]; we observe that the micro-style combinations that are rarer have more representation in the \"balanced\" setting than the \"skewed\" setting. The categories fbnp, funp and iben have more representation for balanced setting vs skewed setting."
1692
+ },
1693
+ {
1694
+ "type": "text",
1695
+ "bbox": [
1696
+ 0.113,
1697
+ 0.372,
1698
+ 0.49,
1699
+ 0.566
1700
+ ],
1701
+ "angle": 0,
1702
+ "content": "According to the task, we converted the classifier predictions into buckets of style based on the chosen style of the original and then paraphrased sentences. To achieve the necessary intensity transfers, we appended this information to the paraphrased sentence, as motivated by the original T5 paper (Raffel et al., 2020). Hyperparameters are mentioned in Table 7. For generating sentences from our trained models, we used a combination of both beam search (Vijayakumar et al., 2016) and nucleus sampling (Holtzman et al., 2019) and chose the top 3 sentences from the generations."
1703
+ },
1704
+ {
1705
+ "type": "title",
1706
+ "bbox": [
1707
+ 0.114,
1708
+ 0.578,
1709
+ 0.367,
1710
+ 0.594
1711
+ ],
1712
+ "angle": 0,
1713
+ "content": "C Some Additional Results"
1714
+ },
1715
+ {
1716
+ "type": "title",
1717
+ "bbox": [
1718
+ 0.114,
1719
+ 0.606,
1720
+ 0.487,
1721
+ 0.636
1722
+ ],
1723
+ "angle": 0,
1724
+ "content": "C.1 Impact of Fluency filter on input training data"
1725
+ },
1726
+ {
1727
+ "type": "text",
1728
+ "bbox": [
1729
+ 0.113,
1730
+ 0.644,
1731
+ 0.49,
1732
+ 0.804
1733
+ ],
1734
+ "angle": 0,
1735
+ "content": "We find that filtering the original dataset based on fluency metrics always results in better style transferred output as compared to the transferred output when the input dataset is not filtered. This is intuitive, as better quality input prevents confusion in the style transfer model and leads to better quality output. As a result of this finding, we use a fluency filter (adversarial classifier \\(>0.1\\) and perplexity \\(< 365\\)), before we conduct any of the rest of our experiments with micro-style distributions."
1736
+ },
1737
+ {
1738
+ "type": "title",
1739
+ "bbox": [
1740
+ 0.114,
1741
+ 0.817,
1742
+ 0.462,
1743
+ 0.849
1744
+ ],
1745
+ "angle": 0,
1746
+ "content": "C.2 Balancing effect on lesser represented style combinations"
1747
+ },
1748
+ {
1749
+ "type": "text",
1750
+ "bbox": [
1751
+ 0.113,
1752
+ 0.856,
1753
+ 0.49,
1754
+ 0.919
1755
+ ],
1756
+ "angle": 0,
1757
+ "content": "In Figure 6, we consider the case where we examine Formality [formal = f, informal = i] and Arousal [aroused = e, un-aroused = u] micro-styles and compare the percentage of specific style combinations"
1758
+ },
1759
+ {
1760
+ "type": "image",
1761
+ "bbox": [
1762
+ 0.523,
1763
+ 0.369,
1764
+ 0.871,
1765
+ 0.48
1766
+ ],
1767
+ "angle": 0,
1768
+ "content": null
1769
+ },
1770
+ {
1771
+ "type": "image_caption",
1772
+ "bbox": [
1773
+ 0.508,
1774
+ 0.491,
1775
+ 0.883,
1776
+ 0.577
1777
+ ],
1778
+ "angle": 0,
1779
+ "content": "Figure 6: Considering the micro-style combinations such that, Formality [formal = f, informal = i] and Arousal [aroused = e, un-aroused = u]; we observe that the micro-style combinations that are rare (ie, in) have more representation in the \"balanced\" setting than the \"skewed\" setting."
1780
+ },
1781
+ {
1782
+ "type": "text",
1783
+ "bbox": [
1784
+ 0.508,
1785
+ 0.602,
1786
+ 0.884,
1787
+ 0.68
1788
+ ],
1789
+ "angle": 0,
1790
+ "content": "in the test sample. We observe that as the number of micro styles increases, a balanced joint distribution leads to more representation in combinations that are less likely to occur such as in or 'informal and neutral'."
1791
+ },
1792
+ {
1793
+ "type": "text",
1794
+ "bbox": [
1795
+ 0.508,
1796
+ 0.682,
1797
+ 0.885,
1798
+ 0.858
1799
+ ],
1800
+ "angle": 0,
1801
+ "content": "Figure 5 shows a similarly pronounced effect. Here the number of micro styles is increased, and we can observe that the balanced setting shows higher representation than the skewed setting. An example of an unlikely style combination is fbnp, or \"formal biased neutral and positive\". We also observe that as the number of micro-style increases, there is no representation in some combinations in both settings [ibnp, iunn, iuen, iunp]. This is a natural result as some micro-style combinations cannot exist in nature."
1802
+ },
1803
+ {
1804
+ "type": "page_number",
1805
+ "bbox": [
1806
+ 0.481,
1807
+ 0.929,
1808
+ 0.519,
1809
+ 0.941
1810
+ ],
1811
+ "angle": 0,
1812
+ "content": "3941"
1813
+ }
1814
+ ],
1815
+ [
1816
+ {
1817
+ "type": "header",
1818
+ "bbox": [
1819
+ 0.133,
1820
+ 0.085,
1821
+ 0.435,
1822
+ 0.1
1823
+ ],
1824
+ "angle": 0,
1825
+ "content": "ACL 2023 Responsible NLP Checklist"
1826
+ },
1827
+ {
1828
+ "type": "text",
1829
+ "bbox": [
1830
+ 0.116,
1831
+ 0.108,
1832
+ 0.323,
1833
+ 0.123
1834
+ ],
1835
+ "angle": 0,
1836
+ "content": "A For every submission:"
1837
+ },
1838
+ {
1839
+ "type": "text",
1840
+ "bbox": [
1841
+ 0.131,
1842
+ 0.127,
1843
+ 0.533,
1844
+ 0.158
1845
+ ],
1846
+ "angle": 0,
1847
+ "content": "A1. Did you describe the limitations of your work? 5"
1848
+ },
1849
+ {
1850
+ "type": "text",
1851
+ "bbox": [
1852
+ 0.131,
1853
+ 0.169,
1854
+ 0.554,
1855
+ 0.201
1856
+ ],
1857
+ "angle": 0,
1858
+ "content": "A2. Did you discuss any potential risks of your work? 5"
1859
+ },
1860
+ {
1861
+ "type": "text",
1862
+ "bbox": [
1863
+ 0.131,
1864
+ 0.212,
1865
+ 0.697,
1866
+ 0.244
1867
+ ],
1868
+ "angle": 0,
1869
+ "content": "A3. Do the abstract and introduction summarize the paper's main claims?"
1870
+ },
1871
+ {
1872
+ "type": "text",
1873
+ "bbox": [
1874
+ 0.13,
1875
+ 0.256,
1876
+ 0.67,
1877
+ 0.289
1878
+ ],
1879
+ "angle": 0,
1880
+ "content": "A4. Have you used AI writing assistants when working on this paper? Left blank."
1881
+ },
1882
+ {
1883
+ "type": "list",
1884
+ "bbox": [
1885
+ 0.13,
1886
+ 0.127,
1887
+ 0.697,
1888
+ 0.289
1889
+ ],
1890
+ "angle": 0,
1891
+ "content": null
1892
+ },
1893
+ {
1894
+ "type": "text",
1895
+ "bbox": [
1896
+ 0.115,
1897
+ 0.299,
1898
+ 0.49,
1899
+ 0.317
1900
+ ],
1901
+ "angle": 0,
1902
+ "content": "B Did you use or create scientific artifacts?"
1903
+ },
1904
+ {
1905
+ "type": "text",
1906
+ "bbox": [
1907
+ 0.134,
1908
+ 0.322,
1909
+ 0.161,
1910
+ 0.335
1911
+ ],
1912
+ "angle": 0,
1913
+ "content": "2,3"
1914
+ },
1915
+ {
1916
+ "type": "text",
1917
+ "bbox": [
1918
+ 0.131,
1919
+ 0.347,
1920
+ 0.531,
1921
+ 0.378
1922
+ ],
1923
+ "angle": 0,
1924
+ "content": "B1. Did you cite the creators of artifacts you used? 2,3"
1925
+ },
1926
+ {
1927
+ "type": "text",
1928
+ "bbox": [
1929
+ 0.129,
1930
+ 0.391,
1931
+ 0.779,
1932
+ 0.423
1933
+ ],
1934
+ "angle": 0,
1935
+ "content": "B2. Did you discuss the license or terms for use and / or distribution of any artifacts? Not applicable. Left blank."
1936
+ },
1937
+ {
1938
+ "type": "text",
1939
+ "bbox": [
1940
+ 0.129,
1941
+ 0.434,
1942
+ 0.882,
1943
+ 0.514
1944
+ ],
1945
+ "angle": 0,
1946
+ "content": "B3. Did you discuss if your use of existing artifact(s) was consistent with their intended use, provided that it was specified? For the artifacts you create, do you specify intended use and whether that is compatible with the original access conditions (in particular, derivatives of data accessed for research purposes should not be used outside of research contexts)? Not applicable. Left blank."
1947
+ },
1948
+ {
1949
+ "type": "text",
1950
+ "bbox": [
1951
+ 0.129,
1952
+ 0.525,
1953
+ 0.882,
1954
+ 0.589
1955
+ ],
1956
+ "angle": 0,
1957
+ "content": "B4. Did you discuss the steps taken to check whether the data that was collected / used contains any information that names or uniquely identifies individual people or offensive content, and the steps taken to protect / anonymize it? Not applicable. Left blank."
1958
+ },
1959
+ {
1960
+ "type": "text",
1961
+ "bbox": [
1962
+ 0.129,
1963
+ 0.6,
1964
+ 0.882,
1965
+ 0.648
1966
+ ],
1967
+ "angle": 0,
1968
+ "content": "B5. Did you provide documentation of the artifacts, e.g., coverage of domains, languages, and linguistic phenomena, demographic groups represented, etc.? Not applicable. Left blank."
1969
+ },
1970
+ {
1971
+ "type": "text",
1972
+ "bbox": [
1973
+ 0.13,
1974
+ 0.658,
1975
+ 0.882,
1976
+ 0.753
1977
+ ],
1978
+ "angle": 0,
1979
+ "content": "B6. Did you report relevant statistics like the number of examples, details of train / test / dev splits, etc. for the data that you used / created? Even for commonly-used benchmark datasets, include the number of examples in train / validation / test splits, as these provide necessary context for a reader to understand experimental results. For example, small differences in accuracy on large test sets may be significant, while on small test sets they may not be."
1980
+ },
1981
+ {
1982
+ "type": "list",
1983
+ "bbox": [
1984
+ 0.129,
1985
+ 0.347,
1986
+ 0.882,
1987
+ 0.753
1988
+ ],
1989
+ "angle": 0,
1990
+ "content": null
1991
+ },
1992
+ {
1993
+ "type": "text",
1994
+ "bbox": [
1995
+ 0.115,
1996
+ 0.765,
1997
+ 0.494,
1998
+ 0.782
1999
+ ],
2000
+ "angle": 0,
2001
+ "content": "C Did you run computational experiments?"
2002
+ },
2003
+ {
2004
+ "type": "text",
2005
+ "bbox": [
2006
+ 0.134,
2007
+ 0.787,
2008
+ 0.186,
2009
+ 0.801
2010
+ ],
2011
+ "angle": 0,
2012
+ "content": "3,B, C"
2013
+ },
2014
+ {
2015
+ "type": "text",
2016
+ "bbox": [
2017
+ 0.13,
2018
+ 0.812,
2019
+ 0.882,
2020
+ 0.86
2021
+ ],
2022
+ "angle": 0,
2023
+ "content": "C1. Did you report the number of parameters in the models used, the total computational budget (e.g., GPU hours), and computing infrastructure used? B.1"
2024
+ },
2025
+ {
2026
+ "type": "text",
2027
+ "bbox": [
2028
+ 0.114,
2029
+ 0.867,
2030
+ 0.878,
2031
+ 0.89
2032
+ ],
2033
+ "angle": 0,
2034
+ "content": "The Responsible NLP Checklist used at ACL 2023 is adopted from NAACL 2022, with the addition of a question on AI writing assistance."
2035
+ },
2036
+ {
2037
+ "type": "page_number",
2038
+ "bbox": [
2039
+ 0.481,
2040
+ 0.929,
2041
+ 0.521,
2042
+ 0.941
2043
+ ],
2044
+ "angle": 0,
2045
+ "content": "3942"
2046
+ }
2047
+ ],
2048
+ [
2049
+ {
2050
+ "type": "text",
2051
+ "bbox": [
2052
+ 0.13,
2053
+ 0.084,
2054
+ 0.88,
2055
+ 0.116
2056
+ ],
2057
+ "angle": 0,
2058
+ "content": "C2. Did you discuss the experimental setup, including hyperparameter search and best-found hyperparameter values?"
2059
+ },
2060
+ {
2061
+ "type": "text",
2062
+ "bbox": [
2063
+ 0.152,
2064
+ 0.118,
2065
+ 0.167,
2066
+ 0.13
2067
+ ],
2068
+ "angle": 0,
2069
+ "content": "B"
2070
+ },
2071
+ {
2072
+ "type": "text",
2073
+ "bbox": [
2074
+ 0.13,
2075
+ 0.143,
2076
+ 0.882,
2077
+ 0.191
2078
+ ],
2079
+ "angle": 0,
2080
+ "content": "C3. Did you report descriptive statistics about your results (e.g., error bars around results, summary statistics from sets of experiments), and is it transparent whether you are reporting the max, mean, etc. or just a single run?"
2081
+ },
2082
+ {
2083
+ "type": "text",
2084
+ "bbox": [
2085
+ 0.152,
2086
+ 0.193,
2087
+ 0.167,
2088
+ 0.205
2089
+ ],
2090
+ "angle": 0,
2091
+ "content": "B"
2092
+ },
2093
+ {
2094
+ "type": "text",
2095
+ "bbox": [
2096
+ 0.13,
2097
+ 0.218,
2098
+ 0.882,
2099
+ 0.266
2100
+ ],
2101
+ "angle": 0,
2102
+ "content": "C4. If you used existing packages (e.g., for preprocessing, for normalization, or for evaluation), did you report the implementation, model, and parameter settings used (e.g., NLTK, Spacy, ROUGE, etc.)?"
2103
+ },
2104
+ {
2105
+ "type": "text",
2106
+ "bbox": [
2107
+ 0.151,
2108
+ 0.269,
2109
+ 0.167,
2110
+ 0.281
2111
+ ],
2112
+ "angle": 0,
2113
+ "content": "A"
2114
+ },
2115
+ {
2116
+ "type": "text",
2117
+ "bbox": [
2118
+ 0.114,
2119
+ 0.294,
2120
+ 0.878,
2121
+ 0.31
2122
+ ],
2123
+ "angle": 0,
2124
+ "content": "D Did you use human annotators (e.g., crowdworkers) or research with human participants?"
2125
+ },
2126
+ {
2127
+ "type": "text",
2128
+ "bbox": [
2129
+ 0.133,
2130
+ 0.315,
2131
+ 0.215,
2132
+ 0.33
2133
+ ],
2134
+ "angle": 0,
2135
+ "content": "Left blank."
2136
+ },
2137
+ {
2138
+ "type": "text",
2139
+ "bbox": [
2140
+ 0.128,
2141
+ 0.341,
2142
+ 0.882,
2143
+ 0.373
2144
+ ],
2145
+ "angle": 0,
2146
+ "content": "D1. Did you report the full text of instructions given to participants, including e.g., screenshots, disclaimers of any risks to participants or annotators, etc.?"
2147
+ },
2148
+ {
2149
+ "type": "text",
2150
+ "bbox": [
2151
+ 0.151,
2152
+ 0.374,
2153
+ 0.351,
2154
+ 0.389
2155
+ ],
2156
+ "angle": 0,
2157
+ "content": "Not applicable. Left blank."
2158
+ },
2159
+ {
2160
+ "type": "text",
2161
+ "bbox": [
2162
+ 0.128,
2163
+ 0.4,
2164
+ 0.882,
2165
+ 0.448
2166
+ ],
2167
+ "angle": 0,
2168
+ "content": "D2. Did you report information about how you recruited (e.g., crowdsourcing platform, students) and paid participants, and discuss if such payment is adequate given the participants' demographic (e.g., country of residence)?"
2169
+ },
2170
+ {
2171
+ "type": "text",
2172
+ "bbox": [
2173
+ 0.151,
2174
+ 0.449,
2175
+ 0.351,
2176
+ 0.464
2177
+ ],
2178
+ "angle": 0,
2179
+ "content": "Not applicable. Left blank."
2180
+ },
2181
+ {
2182
+ "type": "text",
2183
+ "bbox": [
2184
+ 0.128,
2185
+ 0.476,
2186
+ 0.882,
2187
+ 0.523
2188
+ ],
2189
+ "angle": 0,
2190
+ "content": "D3. Did you discuss whether and how consent was obtained from people whose data you're using/curating? For example, if you collected data via crowdsourcing, did your instructions to crowdworkers explain how the data would be used?"
2191
+ },
2192
+ {
2193
+ "type": "text",
2194
+ "bbox": [
2195
+ 0.151,
2196
+ 0.524,
2197
+ 0.351,
2198
+ 0.54
2199
+ ],
2200
+ "angle": 0,
2201
+ "content": "Not applicable. Left blank."
2202
+ },
2203
+ {
2204
+ "type": "text",
2205
+ "bbox": [
2206
+ 0.128,
2207
+ 0.55,
2208
+ 0.875,
2209
+ 0.565
2210
+ ],
2211
+ "angle": 0,
2212
+ "content": "D4. Was the data collection protocol approved (or determined exempt) by an ethics review board?"
2213
+ },
2214
+ {
2215
+ "type": "text",
2216
+ "bbox": [
2217
+ 0.151,
2218
+ 0.567,
2219
+ 0.351,
2220
+ 0.582
2221
+ ],
2222
+ "angle": 0,
2223
+ "content": "Not applicable. Left blank."
2224
+ },
2225
+ {
2226
+ "type": "text",
2227
+ "bbox": [
2228
+ 0.128,
2229
+ 0.593,
2230
+ 0.882,
2231
+ 0.624
2232
+ ],
2233
+ "angle": 0,
2234
+ "content": "D5. Did you report the basic demographic and geographic characteristics of the annotator population that is the source of the data?"
2235
+ },
2236
+ {
2237
+ "type": "text",
2238
+ "bbox": [
2239
+ 0.151,
2240
+ 0.626,
2241
+ 0.351,
2242
+ 0.642
2243
+ ],
2244
+ "angle": 0,
2245
+ "content": "Not applicable. Left blank."
2246
+ },
2247
+ {
2248
+ "type": "page_number",
2249
+ "bbox": [
2250
+ 0.481,
2251
+ 0.928,
2252
+ 0.521,
2253
+ 0.941
2254
+ ],
2255
+ "angle": 0,
2256
+ "content": "3943"
2257
+ }
2258
+ ]
2259
+ ]
2023/Balancing the Effect of Training Dataset Distribution of Multiple Styles for Multi-Style Text Transfer/e52f8ce0-4325-4d7a-9b9b-68ca012cb308_origin.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:12fa759d3aca63f35808467e85c1245f4d0bc651c1eab99279c19acc4a93b85c
3
+ size 761284
2023/Balancing the Effect of Training Dataset Distribution of Multiple Styles for Multi-Style Text Transfer/full.md ADDED
@@ -0,0 +1,323 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Balancing Effect of Training Dataset Distribution of Multiple Styles for Multi-Style Text Transfer
2
+
3
+ Debarati Das David Ma Dongyeop Kang
4
+
5
+ Department of Computer Science, University of Minnesota
6
+
7
+ {das00015, maxxx818, dongyeop}@umn.edu
8
+
9
+ # Abstract
10
+
11
+ Text style transfer is an exciting task within the field of natural language generation that is often plagued by the need for high-quality paired datasets. Furthermore, training a model for multi-attribute text style transfer requires datasets with sufficient support across all combinations of the considered stylistic attributes, adding to the challenges of training a style transfer model. This paper explores the impact of training data input diversity on the quality of the generated text from the multi-style transfer model. We construct a pseudo-parallel dataset by devising heuristics to adjust the style distribution in the training samples. We balance our training dataset using marginal and joint distributions to train our style transfer models. We observe that a balanced dataset produces more effective control effects over multiple styles than an imbalanced or skewed one. Through quantitative analysis, we explore the impact of multiple style distributions in training data on style-transferred output. These findings will better inform the design of style-transfer datasets.
12
+
13
+ # 1 Introduction
14
+
15
+ Multi-style text transfer is a challenging task today with applications such as automatic domain-appropriate, style-conformant writing (Fu et al., 2018) and AI-assisted stylistic language editing. Text style transfer is an intricate task as all language has a specific context, and those contexts influence the attributes of the language (Hovy and Yang, 2021). Text style transfer is challenging because it involves dealing with the aspects of style coupled with the textual content (Hu et al., 2017; Shen et al., 2017; Lample et al., 2018). This domain's other obstacles include the need for parallel corpus (Jhamtani et al., 2017) and quality training data. As the number of style dimensions increases with multi-style text transfer, not only is the requirement of a jointly annotated corpus across all the
16
+
17
+ ![](images/2794bbad8e426aa268b19892248a0e6d7b2378e8b55fe42f584182a0884f29f0.jpg)
18
+ Figure 1: When an input sentence is passed to the multi-style transfer model, to increase formality and decrease arousal, we hypothesize that when the model is trained on a balanced joint distribution of formality and arousal (all four style combinations have a $25\%$ representation) - the style transfer is more successful as opposed to when the model is trained on a skewed joint distribution (there is no representation of the "informal unaroused" style combination) of styles in the training data.
19
+
20
+ stylistic dimensions problematic, but the different styles are not necessarily independent.
21
+
22
+ While "style" can also refer to authorial or domain-specific style, in this paper, we focus on "microstyles" as defined by (Kang and Hovy, 2021) where they define "micro-style" as a complex combination of different factors such as formality markers, emotions, and metaphors. People intentionally (Troiano et al., 2021) tune these styles in writing differently based on their mood, the person they are addressing, the content of the message, or the platform. Multiple microstyles can jointly describe a text; for example, a given text could simultaneously be formal and sad. Microstyles also more easily lend themselves to being represented as spectra with varying degrees of intensity. These points align with our vision of an application where users can edit micro-style aspects of their writing.
23
+
24
+ Much research exists on models implementing multi-style text transfer and interdependency of micro-styles (Kang and Hovy, 2019; Goyal et al.,
25
+
26
+ ![](images/8fb69b8365f1aa2b8a81111b213cfabf68d9acec2e6d93d651dc5ce7fa6ff820.jpg)
27
+ Figure 2: The input sentence transitions through every step in our multi-style text style transfer pipeline. The box in red indicates our main contribution to the pipeline, which helps us explore the effects of joint micro-style combinations on style-transferred output.
28
+
29
+ 2020; Subramanian et al., 2018). However, there needs to be more exploration of the joint distribution of inherent micro-styles in the style transfer training dataset and how these micro-style distributions are related. Therefore, we pose a question - Can a dataset with minimal variance across multiple micro-style combinations, such that it experiences a "balancing effect", lead to a better style transferred output? Figure 1 illustrates our intuition that a dataset that experiences a "balancing effect" will have more control over the multi-style transferred output than a "skewed" dataset. Suppose the style transfer model sees examples of every style combination that can exist - this could aid in the style generation of even unlikely combinations of styles compared to a skewed distribution of these joint micro-styles.
30
+
31
+ In this research, we consider a multi-style text style transfer pipeline assuming that the user has no access to parallel data or the style of the original text that he wishes to transfer, as would seem natural for a style language editing application. We introduce the changing of the training dataset micro-style joint distributions in such a pipeline and quantitatively explore the impact of this modification on the style transferred output. We perform a set of empirical analyses to demonstrate the influence of joint distributions on style-transferred output and show how this trend varies as the number of micro-styles considered changes. The 'balancing effect' on a training dataset leads to style transferred sentences from even the joint style combinations that are typically rare ("informal unbiased and
32
+
33
+ unaroused"). Our study is the first of its kind on the distribution of micro styles in training datasets for multi-style text style transfer and is likely to have implications for designing datasets for multi-style transfer model training and fall within the context of and align with recent work on characterizing datasets and factors impacting style transfer (Bender and Friedman, 2018; Schoch et al., 2021; Li et al., 2019; Zhang et al., 2020; Gururangan et al., 2018).
34
+
35
+ # 2 Multi Style Transfer Pipeline
36
+
37
+ Datasets: We chose four micro-styles from the style hierarchy defined in Troiano et al.: Formality, Arousal, Sentiment, and Bias, for our study and used publicly available NLP datasets built by other researchers (Rao and Tetreault, 2018; Buechel and Hahn, 2022; Go et al., 2009; Pryzant et al., 2020; Kang and Hovy, 2019) to develop and test our models. Appendix A mentions the details of the datasets and their usage.
38
+
39
+ Pipeline Overview: Our experimental setup for multi-style transfer is inspired by the work of (Krishna et al., 2020). Like them, we first generate a "diverse" paraphrase of the input sentence, and then the paraphrased sentence is rewritten in the style of choice. Towards this end, we train a paraphrasing model (separately on a parallel paraphrase dataset). Then, the trained paraphrase model is used to create "pseudo-gold" parallel data for training style models.
40
+
41
+ First, we adopted a pre-trained T5 model (Raffel et al., 2020) to generate paraphrases. This model
42
+
43
+ was trained for the task of paraphrase generation on the ParaNMT-filtered dataset provided by (Krishna et al., 2020). Once we had this trained paraphrase model, we used diverse beam search (Vijayakumar et al., 2016) to generate diverse fluent paraphrased outputs. An important assumption is that the paraphrase is stripped of its original style and does not leak into the training.
44
+
45
+ We address this potential issue by training classifiers (Sanh et al., 2019) to predict style on the original and paraphrased datasets and find that all our micro-style classifiers have a classification accuracy of higher than $80\%$ F1, which is acceptable for pseudo-label creation. After we generate diverse paraphrases, we choose the most diverse paraphrase and then derive micro-style classifications for the paraphrased sentence using our trained micro-style classifiers. Therefore each sentence is assigned a classification score for each micro-style label and can form a "pseudo parallel" dataset for training the T5-based joint transfer model. Thus, our approach does not need a parallel dataset.
46
+
47
+ We then converted the classifier predictions into buckets of style (ranging from "very low" to "very high") based on the chosen style of the original and then paraphrased sentences. The bucketing process is described in Appendix B. After this step, we introduce our contribution of "constructing style distributions" into the pipeline, as illustrated in Figure 2. Following that, we perform multi-style text style transfer. We appended the "bucket" information to the paraphrased sentence to achieve the necessary intensity transfers, as motivated by the original T5 paper (Raffel et al., 2020). We train T5-based style transfer models, where the paraphrased sentence and its style buckets are used as input parameters, while the style buckets assigned to the anchor sentence are used as proxy levels of output style transfer. All model-specific details are provided in Appendix B. For generating sentences from our trained models, we used beam search (Vijayakumar et al., 2016) and nucleus sampling (Holtzman et al., 2019) and chose the top 3 sentences from the generations. The following is an example of the input to the joint style transfer model and the expected output.
48
+
49
+ Goal - Highly increase the formality of the sentence, slightly increase the arousal of the sentence
50
+
51
+ Input - transfer: I'm sad you're going | input
52
+
53
+ formality: low | input arousal: low | output formality: high | output arousal: mid Output - I am sorry you are going to go.
54
+
55
+ Thus, we implemented a multi-style transfer pipeline to test our hypothesis without any finicky modeling paradigms popular in style transfer research, such as variational inference or autoregressive sampling (He et al., 2020; Subramanian et al., 2018).
56
+
57
+ <table><tr><td>Style Combination</td><td>Balanced</td><td>Skewed</td></tr><tr><td>Formal Aroused</td><td>3395</td><td>8685</td></tr><tr><td>Formal Unaroused</td><td>3395</td><td>2792</td></tr><tr><td>Informal Aroused</td><td>3395</td><td>1275</td></tr><tr><td>Informal Unaroused</td><td>3395</td><td>828</td></tr></table>
58
+
59
+ Table 1: Training data statistics (number of samples) for the balanced and skewed settings, when considering the micro-styles of Formality and Arousal.
60
+
61
+ Constructing Micro-style Distributions We define a "style combination" as a possible combination of the states that the micro-styles can take together - such as 'informal biased negative.' Since there are three micro-styles, each having binary states, the total possible number of style combinations, in this case, is given by $N_{c} = 2 \times 2 \times 2 = 2^{3}$ . Therefore to generalize, if $|m_{i}|$ indicates the cardinality of each micro-style and $n$ indicates the number of micro-styles considered, the total possible number of style combinations $(N_{c})$ possible is given by:
62
+
63
+ $$
64
+ N _ {c} = \prod_ {i = 1} ^ {n} | m _ {i} | \tag {1}
65
+ $$
66
+
67
+ To create the balanced joint distribution of styles, we ensure the standard deviation across the style combinations is close to 0. We do this by down-sampling each style combination, such that the number of samples in each style combination is the same as the least represented style combination. As we increase micro-styles, some micro-style combinations do not occur naturally together, so their representation is close to 0. In such cases, we assume that the least represented style combination is at least $5\%$ of the total dataset. To ensure our comparison across the "balanced" and "skew" settings is fair, we construct a skewed dataset with a total sample size that is the same as that of the balanced dataset. Thus, the balanced dataset has a uniform distribution, while the skewed dataset
68
+
69
+ has a non-uniform distribution. Table 1 shows the number of samples in each style combination of Formality and Arousal, given a "balanced" and "skewed" setting.
70
+
71
+ # 3 Experimental Results and Discussion
72
+
73
+ Evaluation Metrics: Style transfer accuracy metrics quantify how nicely output texts match the desired style. However, more than this metric is required. Motivated by Jin et al., we evaluate style transfer across the three main properties of text style transfer: style transfer accuracy, content preservation, and fluency. We use our custom joint sequence classification models, implemented using HuggingFace libraries (Wolf et al., 2020) to evaluate the style transfer success ratio. Our definition for the Style Transfer Success $S_{c}$ is the total number of matches between intended and transferred style buckets, divided by the total number of samples. To judge content preserved in style transferred text, we use three metrics: BLEU (Papineni et al., 2002), embedding-based similarity (Wieting et al., 2019) using cosine similarity of two sentence embeddings (Reimers and Gurevych, 2019), and Word Mover's Distance (WMD) (Mir et al., 2019). For fluency, we use measures like perplexity using GPT2 (Radford et al., 2019) and an adversarial classifier using the cross-aligned autoencoder model (Mir et al., 2019).
74
+
75
+ Experimental Setup: In this paper, we illustrate different micro-style combinations in the training data, for a randomly selected case, with each combination in both the "balanced" and "skewed settings. Therefore, we consider 6 cases respectively: 1) Formality and Arousal in a balanced setting (FA balanced) 2) Formality and Arousal in a skewed setting (FA skewed) 3) Formality, Arousal and Bias in a balanced setting (FAB balanced) 4) Formality, Arousal and Bias in skewed setting (FAB skewed) 5) Formality, Arousal, Bias and Sentiment in the balanced setting (FABS balanced) 6) Formality, Arousal, Bias and Sentiment in skewed setting (FABS skewed). We construct the training data with the appropriate settings and then pass them through our experimental pipeline (illustrated in Figure 2) and quantitatively evaluate the style transfer results.
76
+
77
+ Discussion: Table 2 shows examples of style-transferred sentences, given a style-transfer goal from our experimental pipeline for both balanced and skewed settings. E.g., given the objective is to decrease Formality but increase arousal, the sen
78
+
79
+ ![](images/1e9d114957a6fb214469fb38dffc5def353c5f7ec421f695d58efbfe4690f83e.jpg)
80
+ Figure 3: Balancing micro-style distributions leads to a higher multi-style transfer percentage than in the Skewed setting in all the cases.
81
+
82
+ ![](images/34aaafb919848ec80a940e533a924f4347a57f86c667d381a9bd298128a21add.jpg)
83
+ Figure 4: Considering the micro-style combinations such that, Formality [formal = f, informal = i], Bias [biased = b, unbiased = u], and Arousal [aroused = e, un-aroused = n], we observe that the micro-style combinations that are rarer (e.g., informal unbiased neutral (iun)) have more representation in the "balanced" setting than the "skewed" setting.
84
+
85
+ tence “Did you hear about the soldier with 8 limbs? He was army” transforms to “He’s an army soldier with 8 legs?”. Here, the contraction “He’s” indicates a formality decrease, and the replacement of limbs with legs indicates a decrease. The overall arousal of this sentence is higher when it transforms into a question.
86
+
87
+ Figure 3 illustrates that the balanced setup always has a higher success percentage of style transfer $(S_{c})$ than the skewed setup. We cannot compare the success percentage across cases because matching the exact target and transferred style buckets becomes difficult as the number of micro-styles increases. We can also observe through Table 2 that the quality of the balanced transferred text aligns better with the style transfer goal than the skewed transferred text.
88
+
89
+ In Figure 4, we compare the difference in representation percentage of specific style combinations in the test sample for a specific case where we consider Formality, Arousal, and Bias micro-styles. We observe that a balanced joint distribution leads to more representation in the style combinations that are less likely to occur. This is further accentuated as micro-styles increase, as reported in
90
+
91
+ <table><tr><td>Style Transfer Goal</td><td>Input Text</td><td>Balanced Transferred Text</td><td>Skewed Transferred Text</td></tr><tr><td>↑ Formality ↑ Arousal</td><td>Wouldn’t it be great if Trump went 3rd party and sucked away millions of Republican votes lol</td><td>It wouldn’t be nice if Trump went to the third party and swooped millions of Repub-lican votes.</td><td>Would it not be great if Trump went 3rd party and sucked away millions of Republican votes?</td></tr><tr><td>↑ Formality ↓ Arousal</td><td>I didn’t know what happiness was until I got married. But by then it was too late.</td><td>Until I got married, I didn’t even know what happiness was.</td><td>I did not know what happiness was till I got married and it was too late.</td></tr><tr><td>↓ Formality ↑ Arousal</td><td>Did you hear about the soldier with 8 limbs? He was army</td><td>He’s an army soldier with 8 legs?</td><td>Did you hear about the soldier with 8 limbs in the army?</td></tr><tr><td>↓ Formality ↓ Arousal</td><td>Yeah, I don’t understand all the hate.</td><td>Yeah I’m not gonna understand the hate.</td><td>Yeah I do not understand all the hate.</td></tr></table>
92
+
93
+ Appendix C. In Figure 4, we see that rarer style combinations [ibn, fun, iun] show more representation in the balanced case as compared to the skewed case. This supports our intuition that the style transfer model benefits from learning the representation of all possible style combinations that can occur together.
94
+
95
+ When we consider Formality, Arousal, and Bias micro styles together, the most represented category (30% of samples) is "formal unbiased aroused" (fue). The least represented category (as unlikely to occur together) is "informal unbiased unaroused" (iun) with 1%. We observe that the quantitative evaluation metrics are quite indicative when compared across style combinations. For instance, in Table 3, we observe that perplexity increases in categories that are unlikely to occur together (iun). This indicates that the style transfer model is confused by the style distributions present for this style combination.
96
+
97
+ We do not claim that our method of balancing multiple styles will work even for entangled micro-style combinations, as that is out of the scope of the current paper. However, balancing considerably affects the multi-style transfer output for the range of micro-style combinations we considered, and that has an application in many NLP tasks. This result could hugely influence future studies exploring better ways to balance even the entangled micro-styles.
98
+
99
+ # 4 Conclusion
100
+
101
+ Multi-style text style transfer is a challenging problem predominantly plagued by the need for jointly annotated high-quality datasets. There is a clear need for more research about the marginal and joint distribution of inherent micro-styles present in the training dataset used for style transfer. Multi-style text-style transfer typically requires access to large, jointly labeled datasets and many computational resources under typical implementations. More
102
+
103
+ Table 2: The table shows the style transferred sentences, given an input sentence and the intended style transfer goal, for both the balanced setting as well as the skewed setting.
104
+
105
+ <table><tr><td>Setting</td><td>Styles</td><td>Perp</td><td>Adv</td><td>BLEU</td><td>Cos</td><td>WMD</td></tr><tr><td rowspan="2">Balanced</td><td>fue</td><td>115.16</td><td>0.90</td><td>0.77</td><td>0.92</td><td>0.32</td></tr><tr><td>iun*</td><td>598.58</td><td>0.86</td><td>0.78</td><td>0.92</td><td>0.36</td></tr><tr><td rowspan="2">Skewed</td><td>fue</td><td>116.02</td><td>0.90</td><td>0.78</td><td>0.92</td><td>0.32</td></tr><tr><td>iun*</td><td>650.47</td><td>0.82</td><td>0.77</td><td>0.93</td><td>0.37</td></tr></table>
106
+
107
+ Table 3: Comparison of the evaluation metrics for the most represented style combination (fue - formal unbiased aroused) vs the least represented style combination (iun* - informal unbiased unaroused). One key observation is that perplexity increases when the style combinations are unlikely to occur together.
108
+
109
+ importantly, we would not be able to conveniently tweak the input data distributions in other multi-style text style transfer methods.
110
+
111
+ In this paper, we implement a multi-style transfer pipeline that subverts the requirement of a jointly annotated dataset of multiple styles by constructing a pseudo-parallel dataset to which we introduce our contribution of constructing style distributions. We then use the modified pseudo-parallel datasets for multi-style transfer. Our modified pipeline effectively allows us to understand the importance of the joint distribution of micro styles in training data and is a substantial contribution.
112
+
113
+ We quantitatively explore the impact of joint micro-style distributions in the training dataset on the style-transferred output sentences. When the joint micro-style distributions are balanced, there is more control over style-transferred output than with a skewed distribution. These findings will likely inform the design of multi-style transfer datasets and encourage us to explore the micro-style relationships in our datasets.
114
+
115
+ # Limitations
116
+
117
+ In this research, though we employed automatic evaluation of our multi-style transferred text, we acknowledge that multi-style transfer is challenging to observe with the existing metrics for style transfer evaluation, and human evaluation should
118
+
119
+ be done as well. As this research paper focuses on exploring the impact of style distributions in the training data on style-transferred output rather than developing a superior multi-style text transfer model, we use quantitative evaluation in this iteration of our paper. We hope that the large sample size and the consistency of applied metrics make our automated approach a reasonable way of evaluating the style transfer output.
120
+
121
+ This iteration of our paper aims to achieve multi-style transfer across multiple micro styles taken into consideration together as our contribution would aid in constructing a training dataset for multiple micro-style style transfers. We did not explore another exciting question of how balancing multiple micro styles in the training dataset might influence individual style transfer, which could be a promising future direction for our study.
122
+
123
+ We acknowledge that the classifier's quality sets an upper bound on the best style transfer accuracy that is obtainable. However, the target task is quite complicated without a parallel dataset. Our objective was not to have the most accurate classification of micro styles but to find a means to get acceptable pseudo labels for the micro styles. Individually, all our micro style classifiers had a classification accuracy of $80\%$ F1 and higher, and we deemed this good enough for pseudo-label creation.
124
+
125
+ We also focused on utilizing the present styles in the training data and classifying them to derive inherent training style distributions instead of dynamically tuning the proportion of styles present in the training dataset. However, tuning these style proportions using techniques such as PPLM (Dathathri et al., 2019) would give us greater control over our experimental pipeline and is an appropriate next step.
126
+
127
+ # Acknowledgement
128
+
129
+ We thank Vivek Aithal, Priyam Srivastava and Daniel McAndrew for their initial work on the pipeline for multi-style transfer. This was instrumental to our project and helped us get a kickstart on our research.
130
+
131
+ # References
132
+
133
+ Emily M Bender and Batya Friedman. 2018. Data statements for natural language processing: Toward mitigating system bias and enabling better science. Transactions of the Association for Computational Linguistics, 6:587-604.
134
+
135
+ Sven Buechel and Udo Hahn. 2022. Emobank: Studying the impact of annotation perspective and representation format on dimensional emotion analysis. arXiv preprint arXiv:2205.01996.
136
+ Sumanth Dathathri, Andrea Madotto, Janice Lan, Jane Hung, Eric Frank, Piero Molino, Jason Yosinski, and Rosanne Liu. 2019. Plug and play language models: A simple approach to controlled text generation. arXiv preprint arXiv:1912.02164.
137
+ Zhenxin Fu, Xiaoye Tan, Nanyun Peng, Dongyan Zhao, and Rui Yan. 2018. Style transfer in text: Exploration and evaluation. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 32.
138
+ Alec Go, Richa Bhayani, and Lei Huang. 2009. Twitter sentiment classification using distant supervision. CS224N project report, Stanford, 1(12):2009.
139
+ Navita Goyal, Balaji Vasan Srinivasan, Anandhavelu Natarajan, and Abhilasha Sancheti. 2020. Multi-style transfer with discriminative feedback on disjoint corpus. arXiv preprint arXiv:2010.11578.
140
+ Suchin Gururangan, Swabha Swayamdipta, Omer Levy, Roy Schwartz, Samuel R Bowman, and Noah A Smith. 2018. Annotation artifacts in natural language inference data. arXiv preprint arXiv:1803.02324.
141
+ Junxian He, Xinyi Wang, Graham Neubig, and Taylor Berg-Kirkpatrick. 2020. A probabilistic formulation of unsupervised text style transfer. arXiv preprint arXiv:2002.03912.
142
+ Ari Holtzman, Jan Buys, Li Du, Maxwell Forbes, and Yejin Choi. 2019. The curious case of neural text degeneration. arXiv preprint arXiv:1904.09751.
143
+ Dirk Hovy and Diyi Yang. 2021. The importance of modeling social factors of language: Theory and practice. In *The 2021 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies*. Association for Computational Linguistics.
144
+ Zhiting Hu, Zichao Yang, Xiaodan Liang, Ruslan Salakhutdinov, and Eric P Xing. 2017. Toward controlled generation of text. In International conference on machine learning, pages 1587-1596. PMLR.
145
+ Harsh Jhamtani, Varun Gangal, Eduard Hovy, and Eric Nyberg. 2017. Shakespearizing modern language using copy-enriched sequence-to-sequence models. arXiv preprint arXiv:1707.01161.
146
+ Di Jin, Zhijing Jin, Zhiting Hu, Olga Vechtomova, and Rada Mihalcea. 2022. Deep learning for text style transfer: A survey. Computational Linguistics, 48(1):155-205.
147
+ Dongyeop Kang and Eduard Hovy. 2019. xslue: A benchmark and analysis platform for cross-style language understanding and evaluation. arXiv preprint arXiv:1911.03663.
148
+
149
+ Dongyeop Kang and Eduard Hovy. 2021. Style is not a single variable: Case studies for cross-stylistic language understanding. 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 2376-2387.
150
+ Kalpesh Krishna, John Wieting, and Mohit Iyyer. 2020. Reformulating unsupervised style transfer as paraphrase generation. arXiv preprint arXiv:2010.05700.
151
+ Guillaume Lample, Sandeep Subramanian, Eric Smith, Ludovic Denoyer, Marc'Aurelio Ranzato, and Y-Lan Boureau. 2018. Multiple-attribute text rewriting. In International Conference on Learning Representations.
152
+ Dianqi Li, Yizhe Zhang, Zhe Gan, Yu Cheng, Chris Brockett, Ming-Ting Sun, and Bill Dolan. 2019. Domain adaptive text style transfer. arXiv preprint arXiv:1908.09395.
153
+ Remi Mir, Bjarke Felbo, Nick Obradovich, and Iyad Rahwan. 2019. Evaluating style transfer for text. CoRR, abs/1904.02295.
154
+ Kishore Papineni, Salim Roukos, Todd Ward, and Wei-Jing Zhu. 2002. Bleu: a method for automatic evaluation of machine translation. In Proceedings of the 40th Annual Meeting of the Association for Computational Linguistics, pages 311-318, Philadelphia, Pennsylvania, USA. Association for Computational Linguistics.
155
+ Reid Pryzant, Richard Diehl Martinez, Nathan Dass, Sadao Kurohashi, Dan Jurafsky, and Diyi Yang. 2020. Automatically neutralizing subjective bias in text. In Proceedings of the aaai conference on artificial intelligence, volume 34, pages 480-489.
156
+ Alec Radford, Jeffrey Wu, Rewon Child, David Luan, Dario Amodei, Ilya Sutskever, et al. 2019. Language models are unsupervised multitask learners. OpenAI blog, 1(8):9.
157
+ Colin Raffel, Noam Shazeer, Adam Roberts, Katherine Lee, Sharan Narang, Michael Matena, Yanqi Zhou, Wei Li, Peter J Liu, et al. 2020. Exploring the limits of transfer learning with a unified text-to-text transformer. J. Mach. Learn. Res., 21(140):1-67.
158
+ Sudha Rao and Joel Tetreault. 2018. Dear sir or madam, may i introduce the gyafc dataset: Corpus, benchmarks and metrics for formality style transfer. arXiv preprint arXiv:1803.06535.
159
+ Nils Reimers and Iryna Gurevych. 2019. Sentence-bert: Sentence embeddings using siamese bert-networks.
160
+ Victor Sanh, Lysandre Debut, Julien Chaumont, and Thomas Wolf. 2019. Distilbert, a distilled version of bert: smaller, faster, cheaper and lighter. arXiv preprint arXiv:1910.01108.
161
+
162
+ Stephanie Schoch, Wanyu Du, and Yangfeng Ji. 2021. Contextualizing variation in text style transfer datasets. arXiv preprint arXiv:2108.07871.
163
+ Tianxiao Shen, Tao Lei, Regina Barzilay, and Tommi Jaakkola. 2017. Style transfer from non-parallel text by cross-alignment. Advances in neural information processing systems, 30.
164
+ Sandeep Subramanian, Guillaume Lample, Eric Michael Smith, Ludovic Denoyer, Marc'Aurelio Ranzato, and Y-Lan Boureau. 2018. Multiple-attribute text style transfer. arXiv preprint arXiv:1811.00552.
165
+ Enrica Troiano, Aswathy Velutharambath, et al. 2021. From theories on styles to their transfer in text: Bridging the gap with a hierarchical survey. arXiv preprint arXiv:2110.15871.
166
+ Ashwin K Vijayakumar, Michael Cogswell, Ramprasath R Selvaraju, Qing Sun, Stefan Lee, David Crandall, and Dhruv Batra. 2016. Diverse beam search: Decoding diverse solutions from neural sequence models. arXiv preprint arXiv:1610.02424.
167
+ Amy Beth Warriner, Victor Kuperman, and Marc Brysbaert. 2013. Norms of valence, arousal, and dominance for 13,915 english lemmas. Behavior research methods, 45(4):1191-1207.
168
+ Sean Welleck, Ilia Kulikov, Stephen Roller, Emily Dinan, Kyunghyun Cho, and Jason Weston. 2019. Neural text generation with unlikelihood training. arXiv preprint arXiv:1908.04319.
169
+ John Wieting, Taylor Berg-Kirkpatrick, Kevin Gimpel, and Graham Neubig. 2019. Beyond bleu: training neural machine translation with semantic similarity. arXiv preprint arXiv:1909.06694.
170
+ Thomas Wolf, Lysandre Debut, Victor Sanh, Julien Chaumond, Clement Delangue, Anthony Moi, Pierric Cistac, Tim Rault, Remi 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.
171
+ Yi Zhang, Tao Ge, and Xu Sun. 2020. Parallel data augmentation for formality style transfer. arXiv preprint arXiv:2005.07522.
172
+
173
+ # A Dataset Information
174
+
175
+ We choose four micro-styles from both intended and unintended style categories, based on the style hierarchy as defined in Troiano et al. - Formality, Arousal, Sentiment, and Bias. While formality is considered a "non-targeted intended" micro-style, arousal and sentiment are "targeted intended" micro-styles. We also include subjective bias, an "unintended" micro-style, to ensure we include styles from all hierarchy branches. We built
176
+
177
+ our micro-style joint classification and style transfer models from multiple publicly available NLP datasets built by other researchers, and we detail these below.
178
+
179
+ Formality. We use Grammarly's Yahoo Answers Formality Corpus (Rao and Tetreault, 2018), which consists of $105\mathrm{k}$ sentences from two styles: "formal" and "informal" sentences written either in formal or informal modern English. Unlike formal sentences, informal sentences tend to have more misspellings, short forms ("u" instead of "you"), and non-standard usage of punctuation.
180
+
181
+ Arousal. We use the emotion annotated Emobank dataset (Buechel and Hahn, 2022) based on the three-dimensional VAD model developed by (Warriner et al., 2013). In particular, we transform the Arousal dimension into binary categories such as "arousal" and "non-arousal."
182
+
183
+ Sentiment. We use the famous Sentiment140 dataset (Go et al., 2009), which consists of automatically annotated tweets, where the tweets containing positive emoticons are assumed as positive. In contrast, those with negative emoticons are assumed to be negative. The training dataset consisted of 1.6M tweets, and the test dataset consisted of 359 tweets. The tweets were preprocessed using NLTK to remove special Twitter-specific symbols like hashtags, usernames, and URLs.
184
+
185
+ Bias. We use the Wiki Neutrality Corpus by (Pryzant et al., 2020). This is a new parallel corpus of 180,000 biased and neutralized sentence pairs. In order to train our joint classifier models, we used the training dataset from the appropriate micro-style datasets mentioned above. To implement our style distribution hypothesis, we used random samples for training and testing, from the combination of all the dev datasets from the benchmarks corpus by (Kang and Hovy, 2019). This consists of 15 different styles coupled to both content and domain by varying degrees. We wanted to ensure that the dataset used for training our style transfer model and verifying our hypothesis has sufficient indicators of the appropriate micro-styles. This could be done best by using a sample consisting of datasets curated for each individual micro-style (since a jointly annotated dataset with so many styles is not available).
186
+
187
+ # B Multi Style Transfer Pipeline
188
+
189
+ # B.1 Resources used for Training
190
+
191
+ All models were trained using cloud GPUs on Google Colab Pro and Pro+. We used 1 V100 GPU in its "High-RAM" (52GB) GPU run-time setting to train the paraphrase generation model, while for other models we used 1 P100 GPU at the "standard RAM" setting (32GB).
192
+
193
+ # B.2 Diverse Paraphrase Generation
194
+
195
+ We adopted a pre-trained T5 model (Raffel et al., 2020), to generate paraphrases. We trained the model on the ParaNMT-filtered dataset provided by (Krishna et al., 2020). This is a subset of the ParaNMT dataset with filters applied to promote lexical diversity, syntactic diversity, and semantic similarity. This model was then used to generate the pseudo-parallel training data for transfer. We selected the t5-small architecture (60 million parameters) as this is approximately 10x smaller than the GPT-2 large model used in (Krishna et al., 2020). We used the hyper-parameters given in Table 4. Based on the recommendation in the appendix of Raffel et al, we used the "paraphrase:" prefix to train the paraphrase model. Once we had this trained paraphrase model, we used diverse beam search (Vijayakumar et al., 2016) to generate diverse paraphrased outputs. The hyper-parameters used for diverse beam search are mentioned in Table 5. We preferred beam search over top-p sampling in order to prioritize fluent paraphrases (Welleck et al., 2019) over unique paraphrases.
196
+
197
+ Input - paraphrase: I love to play my guitar and I do not know why
198
+
199
+ Output - I love playing my guitar and I'm not sure why
200
+
201
+ <table><tr><td>Hyperparameters</td><td>Value</td></tr><tr><td>batch size</td><td>8</td></tr><tr><td>number of epochs</td><td>12</td></tr><tr><td>learning rate</td><td>1e-4</td></tr><tr><td>max sequence length</td><td>64</td></tr></table>
202
+
203
+ Table 4: Hyper parameters for T5 training for paraphrase generation
204
+
205
+ <table><tr><td>Hyperparameters</td><td>Value</td></tr><tr><td>max length</td><td>70</td></tr><tr><td>early stopping</td><td>True</td></tr><tr><td>no repeat ngram size</td><td>5</td></tr><tr><td>num beams</td><td>9</td></tr><tr><td>num beam groups</td><td>3</td></tr><tr><td>diversity penalty</td><td>0.5</td></tr></table>
206
+
207
+ # B.3 Micro-style Classification
208
+
209
+ We trained a joint sentence classification model to classify the sentence on multiple axes inspired by the approach in Kang and Hovy, which uses an encoder-decoder-based model that learns cross-style patterns with the shared internal representation across styles. Our joint model comprises fully connected layers attached to a DistilBERT model (Sanh et al., 2019), which acts as an encoder. The hyperparameters for this joint model are given in Table 6. This single model effectively replaces the need for a different model for each classification task, significantly reducing the need for computing resources for training and inference. Our joint classifier is essential for downstream tasks like training style transfer models and evaluation. Say we first perform a joint classification of both formality and arousal micro-styles on our datasets, considering we want a multiple-style transfer along the axes of formality and arousal. This results in both formality and arousal pseudo-labels for the sentences. Since these labels are generated algorithmically rather than by hand, we refer to them as pseudo-labels. Pseudo-labeled sentences can then be used to generate the pseudo-parallel dataset for training joint style transfer models and directly measure the variation of a style along the axis of interest.
210
+
211
+ Table 5: Hyperparameters for Beam Search
212
+
213
+ <table><tr><td>Hyperparameters</td><td>Value</td></tr><tr><td>train batch size</td><td>256</td></tr><tr><td>test batch size</td><td>512</td></tr><tr><td>number of epochs</td><td>3</td></tr><tr><td>learning rate</td><td>1e-4</td></tr></table>
214
+
215
+ # B.4 Pseudo Parallel Data Generation
216
+
217
+ We then selected the best paraphrase (most stylistically different from the anchor sentence) based
218
+
219
+ on the cosine distance between the anchor and the paraphrased sentence's style vectors. To enable the transfer model to transfer to specified levels of a particular style, we defined 'very low', 'low', 'mid', 'high', and 'very high' buckets for each micro-style. In the following, we describe the bucket boundaries for our style scores.
220
+
221
+ Buckets: Very Low = [0, 0.2] Low = [0.2, 0.4]
222
+ Mid = [0.4, 0.6] High = [0.6, 0.95] Very High = [0.95,1]
223
+
224
+ Using the absolute difference between original text style scores and their best-paraphrased text style scores, we find paraphrasing successfully stripped away both formality and arousal aspects of the text. The same phenomenon has been observed in previous studies, such as (Krishna et al., 2020). To ensure a diverse pseudo-parallel dataset, we retain only anchor-paraphrase pairs that do not match in terms of their style bucket. For example, if an anchor-paraphrase sentence pair is assigned style buckets for formality and arousal, as [very high, low] and [very high, very low], this pair will be retained. However, if both style buckets match, the sentence pair will not be considered diverse enough to remain in the pseudo-parallel dataset. In style transfer models, the paraphrased sentence and its style buckets are used as input parameters, while the style buckets assigned to the anchor sentence are used as proxy levels of output style transfer. The following is an example of the input to the joint style transfer model and the expected output.
225
+
226
+ Goal - Highly increase the formality of the sentence, slightly increase the arousal of the sentence
227
+ Input - transfer: I'm sad you're going | input formality: low | input arousal: low | output formality: high | output arousal: mid
228
+
229
+ Output - I am sorry you are going to go.
230
+
231
+ Table 6: Hyperparameters for Joint Classifier
232
+
233
+ <table><tr><td>Hyperparameters</td><td>Value</td></tr><tr><td>train batch size</td><td>8</td></tr><tr><td>test batch size</td><td>8</td></tr><tr><td>number of epochs</td><td>5</td></tr><tr><td>learning rate</td><td>1e-4</td></tr></table>
234
+
235
+ Table 7: Hyperparameters for T5 for Style Transfer
236
+
237
+ # B.5 Style Transfer Training
238
+
239
+ Our T5 models were trained on pseudo-parallel datasets created and filtered as described earlier.
240
+
241
+ ![](images/77c2fdd4393c5fcea492bfe16dcec1804e4b64e23d60a0c3a02891931353a5f8.jpg)
242
+ Figure 5: Considering the micro-style combinations such that, Formality [formal = f, informal = i], Bias [biased = b, unbiased = u], Arousal [aroused = e, un-aroused = u], and Sentiment [negative = n, positive = p]; we observe that the micro-style combinations that are rarer have more representation in the "balanced" setting than the "skewed" setting. The categories fbnp, funp and iben have more representation for balanced setting vs skewed setting.
243
+
244
+ According to the task, we converted the classifier predictions into buckets of style based on the chosen style of the original and then paraphrased sentences. To achieve the necessary intensity transfers, we appended this information to the paraphrased sentence, as motivated by the original T5 paper (Raffel et al., 2020). Hyperparameters are mentioned in Table 7. For generating sentences from our trained models, we used a combination of both beam search (Vijayakumar et al., 2016) and nucleus sampling (Holtzman et al., 2019) and chose the top 3 sentences from the generations.
245
+
246
+ # C Some Additional Results
247
+
248
+ # C.1 Impact of Fluency filter on input training data
249
+
250
+ We find that filtering the original dataset based on fluency metrics always results in better style transferred output as compared to the transferred output when the input dataset is not filtered. This is intuitive, as better quality input prevents confusion in the style transfer model and leads to better quality output. As a result of this finding, we use a fluency filter (adversarial classifier $>0.1$ and perplexity $< 365$ ), before we conduct any of the rest of our experiments with micro-style distributions.
251
+
252
+ # C.2 Balancing effect on lesser represented style combinations
253
+
254
+ In Figure 6, we consider the case where we examine Formality [formal = f, informal = i] and Arousal [aroused = e, un-aroused = u] micro-styles and compare the percentage of specific style combinations
255
+
256
+ ![](images/924bd3451ecd9865043c114d2e82e26722acaff2ce9606d5513b4898241e5448.jpg)
257
+ Figure 6: Considering the micro-style combinations such that, Formality [formal = f, informal = i] and Arousal [aroused = e, un-aroused = u]; we observe that the micro-style combinations that are rare (ie, in) have more representation in the "balanced" setting than the "skewed" setting.
258
+
259
+ in the test sample. We observe that as the number of micro styles increases, a balanced joint distribution leads to more representation in combinations that are less likely to occur such as in or 'informal and neutral'.
260
+
261
+ Figure 5 shows a similarly pronounced effect. Here the number of micro styles is increased, and we can observe that the balanced setting shows higher representation than the skewed setting. An example of an unlikely style combination is fbnp, or "formal biased neutral and positive". We also observe that as the number of micro-style increases, there is no representation in some combinations in both settings [ibnp, iunn, iuen, iunp]. This is a natural result as some micro-style combinations cannot exist in nature.
262
+
263
+ A For every submission:
264
+
265
+ A1. Did you describe the limitations of your work? 5
266
+ A2. Did you discuss any potential risks of your work? 5
267
+ A3. Do the abstract and introduction summarize the paper's main claims?
268
+ A4. Have you used AI writing assistants when working on this paper? Left blank.
269
+
270
+ B Did you use or create scientific artifacts?
271
+
272
+ 2,3
273
+
274
+ B1. Did you cite the creators of artifacts you used? 2,3
275
+ B2. Did you discuss the license or terms for use and / or distribution of any artifacts? Not applicable. Left blank.
276
+ B3. Did you discuss if your use of existing artifact(s) was consistent with their intended use, provided that it was specified? For the artifacts you create, do you specify intended use and whether that is compatible with the original access conditions (in particular, derivatives of data accessed for research purposes should not be used outside of research contexts)? Not applicable. Left blank.
277
+ B4. Did you discuss the steps taken to check whether the data that was collected / used contains any information that names or uniquely identifies individual people or offensive content, and the steps taken to protect / anonymize it? Not applicable. Left blank.
278
+ B5. Did you provide documentation of the artifacts, e.g., coverage of domains, languages, and linguistic phenomena, demographic groups represented, etc.? Not applicable. Left blank.
279
+ B6. Did you report relevant statistics like the number of examples, details of train / test / dev splits, etc. for the data that you used / created? Even for commonly-used benchmark datasets, include the number of examples in train / validation / test splits, as these provide necessary context for a reader to understand experimental results. For example, small differences in accuracy on large test sets may be significant, while on small test sets they may not be.
280
+
281
+ C Did you run computational experiments?
282
+
283
+ 3,B, C
284
+
285
+ C1. Did you report the number of parameters in the models used, the total computational budget (e.g., GPU hours), and computing infrastructure used? B.1
286
+
287
+ The Responsible NLP Checklist used at ACL 2023 is adopted from NAACL 2022, with the addition of a question on AI writing assistance.
288
+
289
+ C2. Did you discuss the experimental setup, including hyperparameter search and best-found hyperparameter values?
290
+
291
+ B
292
+
293
+ C3. Did you report descriptive statistics about your results (e.g., error bars around results, summary statistics from sets of experiments), and is it transparent whether you are reporting the max, mean, etc. or just a single run?
294
+
295
+ B
296
+
297
+ C4. If you used existing packages (e.g., for preprocessing, for normalization, or for evaluation), did you report the implementation, model, and parameter settings used (e.g., NLTK, Spacy, ROUGE, etc.)?
298
+
299
+ A
300
+
301
+ D Did you use human annotators (e.g., crowdworkers) or research with human participants?
302
+
303
+ Left blank.
304
+
305
+ D1. Did you report the full text of instructions given to participants, including e.g., screenshots, disclaimers of any risks to participants or annotators, etc.?
306
+
307
+ Not applicable. Left blank.
308
+
309
+ D2. Did you report information about how you recruited (e.g., crowdsourcing platform, students) and paid participants, and discuss if such payment is adequate given the participants' demographic (e.g., country of residence)?
310
+
311
+ Not applicable. Left blank.
312
+
313
+ D3. Did you discuss whether and how consent was obtained from people whose data you're using/curating? For example, if you collected data via crowdsourcing, did your instructions to crowdworkers explain how the data would be used?
314
+
315
+ Not applicable. Left blank.
316
+
317
+ D4. Was the data collection protocol approved (or determined exempt) by an ethics review board?
318
+
319
+ Not applicable. Left blank.
320
+
321
+ D5. Did you report the basic demographic and geographic characteristics of the annotator population that is the source of the data?
322
+
323
+ Not applicable. Left blank.
2023/Balancing the Effect of Training Dataset Distribution of Multiple Styles for Multi-Style Text Transfer/images.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2f268d75df631f2039e67263b8c1ff032de114ca44c5a32f1753c98e17678863
3
+ size 311155
2023/Balancing the Effect of Training Dataset Distribution of Multiple Styles for Multi-Style Text Transfer/layout.json ADDED
The diff for this file is too large to render. See raw diff
 
2023/BanglaBook_ A Large-scale Bangla Dataset for Sentiment Analysis from Book Reviews/28378eaf-0a48-458e-a698-291e5038e7bf_content_list.json ADDED
@@ -0,0 +1,1438 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "type": "text",
4
+ "text": "BANGLABOOK: A Large-scale Bangla Dataset for Sentiment Analysis from Book Reviews",
5
+ "text_level": 1,
6
+ "bbox": [
7
+ 139,
8
+ 82,
9
+ 860,
10
+ 120
11
+ ],
12
+ "page_idx": 0
13
+ },
14
+ {
15
+ "type": "text",
16
+ "text": "Mohsinul Kabir*, Obayed Bin Mahfuz*, Syed Rifat Raiyan*, Hasan Mahmud, Md Kamrul Hasan",
17
+ "bbox": [
18
+ 240,
19
+ 130,
20
+ 763,
21
+ 164
22
+ ],
23
+ "page_idx": 0
24
+ },
25
+ {
26
+ "type": "text",
27
+ "text": "Systems and Software Lab (SSL)",
28
+ "bbox": [
29
+ 364,
30
+ 165,
31
+ 638,
32
+ 181
33
+ ],
34
+ "page_idx": 0
35
+ },
36
+ {
37
+ "type": "text",
38
+ "text": "Department of Computer Science and Engineering",
39
+ "bbox": [
40
+ 295,
41
+ 181,
42
+ 707,
43
+ 198
44
+ ],
45
+ "page_idx": 0
46
+ },
47
+ {
48
+ "type": "text",
49
+ "text": "Islamic University of Technology, Dhaka, Bangladesh",
50
+ "bbox": [
51
+ 280,
52
+ 198,
53
+ 719,
54
+ 214
55
+ ],
56
+ "page_idx": 0
57
+ },
58
+ {
59
+ "type": "text",
60
+ "text": "{mohsinulkabir, siam, rifatraiyan, hasan, hasank}@iut-dhaka.edu",
61
+ "bbox": [
62
+ 184,
63
+ 215,
64
+ 820,
65
+ 231
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": "The analysis of consumer sentiment, as expressed through reviews, can provide a wealth of insight regarding the quality of a product. While the study of sentiment analysis has been widely explored in many popular languages, relatively less attention has been given to the Bangla language, mostly due to a lack of relevant data and cross-domain adaptability. To address this limitation, we present BANGLABOOK, a large-scale dataset of Bangla book reviews consisting of 158,065 samples classified into three broad categories: positive, negative, and neutral. We provide a detailed statistical analysis of the dataset and employ a range of machine learning models to establish baselines including SVM, LSTM, and Bangla-BERT. Our findings demonstrate a substantial performance advantage of pretrained models over models that rely on manually crafted features, emphasizing the necessity for additional training resources in this domain. Additionally, we conduct an in-depth error analysis by examining sentiment unigrams, which may provide insight into common classification errors in under-resourced languages like Bangla. Our codes and data are publicly available at https://github.com/mohsinulkabir14/BanglaBook.",
84
+ "bbox": [
85
+ 144,
86
+ 280,
87
+ 460,
88
+ 677
89
+ ],
90
+ "page_idx": 0
91
+ },
92
+ {
93
+ "type": "text",
94
+ "text": "1 Introduction",
95
+ "text_level": 1,
96
+ "bbox": [
97
+ 114,
98
+ 689,
99
+ 258,
100
+ 703
101
+ ],
102
+ "page_idx": 0
103
+ },
104
+ {
105
+ "type": "text",
106
+ "text": "The resources publicly available for scholarly investigation in the realm of Sentiment Analysis (SA) for the Bangla language are scarce and limited in quantity (Khatun and Rabeya, 2022; Sazzed, 2021; Rahman et al., 2019) despite its literary gravitas as the $6^{\\text{th}}$ most spoken language $^{1}$ in the world with approximately 200 million speakers. In the existing literature on Bangla Text SA, as shown in Table 5, the largest dataset consists",
107
+ "bbox": [
108
+ 112,
109
+ 714,
110
+ 489,
111
+ 859
112
+ ],
113
+ "page_idx": 0
114
+ },
115
+ {
116
+ "type": "text",
117
+ "text": "of 20,468 samples (Islam et al., 2022) while the smallest has a mere 1,050 samples (Tabassum and Khan, 2019). Besides these, Islam et al. (2020) created a dataset consisting of 17,852 samples and Islam et al. (2021) utilized a dataset of 15,728 samples. All other datasets apart from these either have $< 15,000$ samples or are publicly unavailable. Another limitation of the existing research works in Bangla Text SA is the deficiency of datasets having product-specific review samples. Most of the available Bangla SA datasets are focused on user-generated textual content from cyberspace. The insights derived from these may not accurately represent sentiment in the context of product reviews, thus hindering their usefulness for businesses. The tonal and linguistic analysis of reviews from product-specific datasets can aid businesses to gain valuable insights into customer attitudes, preferences, and experiences which can then be leveraged to improve products and services, design targeted marketing campaigns, and make more informed business decisions. In this paper, we introduce a large-scale dataset, BANGLABOOK, consisting of 158,065 samples of book reviews collected from online bookshops written in the Bangla language. This is the largest dataset for Bangla sentiment analysis to the best of our knowledge. We perform an analysis of the dataset's statistical characteristics, employ various ML techniques to establish a performance benchmark for validating the dataset, and also conduct a thorough evaluation of the classification errors.",
118
+ "bbox": [
119
+ 507,
120
+ 252,
121
+ 885,
122
+ 766
123
+ ],
124
+ "page_idx": 0
125
+ },
126
+ {
127
+ "type": "text",
128
+ "text": "2 Dataset Construction",
129
+ "text_level": 1,
130
+ "bbox": [
131
+ 507,
132
+ 778,
133
+ 727,
134
+ 793
135
+ ],
136
+ "page_idx": 0
137
+ },
138
+ {
139
+ "type": "text",
140
+ "text": "In order to create this dataset, we collect a total of 204,659 book reviews from two online bookshops (Rokomari² and Wafilife³) using a web scraper developed with several Python libraries, including BeautifulSoup, Selenium, Pandas, Openpyxl,",
141
+ "bbox": [
142
+ 507,
143
+ 804,
144
+ 884,
145
+ 884
146
+ ],
147
+ "page_idx": 0
148
+ },
149
+ {
150
+ "type": "list",
151
+ "sub_type": "text",
152
+ "list_items": [
153
+ "$^{2}$ https://www.rokomari.com/",
154
+ "<sup>3</sup>https://www.wafilife.com/"
155
+ ],
156
+ "bbox": [
157
+ 529,
158
+ 890,
159
+ 731,
160
+ 917
161
+ ],
162
+ "page_idx": 0
163
+ },
164
+ {
165
+ "type": "page_footnote",
166
+ "text": "*These authors contributed equally to this work. Author names are in alphabetic order.",
167
+ "bbox": [
168
+ 112,
169
+ 866,
170
+ 487,
171
+ 892
172
+ ],
173
+ "page_idx": 0
174
+ },
175
+ {
176
+ "type": "page_footnote",
177
+ "text": "1https://en.wikipedia.org/wiki/List_of_",
178
+ "bbox": [
179
+ 112,
180
+ 892,
181
+ 433,
182
+ 904
183
+ ],
184
+ "page_idx": 0
185
+ },
186
+ {
187
+ "type": "page_footnote",
188
+ "text": "languages_by_total_number_of-speakers",
189
+ "bbox": [
190
+ 112,
191
+ 904,
192
+ 400,
193
+ 917
194
+ ],
195
+ "page_idx": 0
196
+ },
197
+ {
198
+ "type": "page_number",
199
+ "text": "1237",
200
+ "bbox": [
201
+ 480,
202
+ 927,
203
+ 519,
204
+ 940
205
+ ],
206
+ "page_idx": 0
207
+ },
208
+ {
209
+ "type": "footer",
210
+ "text": "Findings of the Association for Computational Linguistics: ACL 2023, pages 1237-1247",
211
+ "bbox": [
212
+ 228,
213
+ 945,
214
+ 768,
215
+ 958
216
+ ],
217
+ "page_idx": 0
218
+ },
219
+ {
220
+ "type": "footer",
221
+ "text": "July 9-14, 2023 ©2023 Association for Computational Linguistics",
222
+ "bbox": [
223
+ 295,
224
+ 959,
225
+ 700,
226
+ 972
227
+ ],
228
+ "page_idx": 0
229
+ },
230
+ {
231
+ "type": "table",
232
+ "img_path": "images/62698ed0ca6e74df8be7fb792b84e37f3a455aae8358ce543d4ad9b2bb9e52c9.jpg",
233
+ "table_caption": [],
234
+ "table_footnote": [],
235
+ "table_body": "<table><tr><td>Source</td><td>Language</td><td>Annotated</td><td>Unannotated</td><td>Total</td></tr><tr><td rowspan=\"4\">Rokomari</td><td>Bangla</td><td>84,672</td><td>24,806</td><td>109,478</td></tr><tr><td>Bangla† + English</td><td>56,485</td><td>15,408</td><td>71,893</td></tr><tr><td>Bangla + Bangla† + English</td><td>13,144</td><td>4,114</td><td>17,258</td></tr><tr><td>Total</td><td>154,301</td><td>44,328</td><td>198,629</td></tr><tr><td rowspan=\"4\">Wafilife</td><td>Bangla</td><td>4,699</td><td>59</td><td>4,758</td></tr><tr><td>Bangla† + English</td><td>370</td><td>3</td><td>373</td></tr><tr><td>Bangla + Bangla† + English</td><td>896</td><td>3</td><td>899</td></tr><tr><td>Total</td><td>5,965</td><td>65</td><td>6,030</td></tr><tr><td rowspan=\"4\"></td><td>Bangla</td><td>89,371</td><td>24,865</td><td>114,237</td></tr><tr><td>Bangla† + English</td><td>56,855</td><td>15,411</td><td>72,266</td></tr><tr><td>Bangla + Bangla† + English</td><td>14,040</td><td>4,117</td><td>18,157</td></tr><tr><td>Total</td><td>160,266</td><td>44,393</td><td>204,659</td></tr><tr><td></td><td>Untranslated Data (Removed)</td><td>2,201</td><td></td><td></td></tr><tr><td></td><td>Final Dataset Size</td><td>158,065</td><td></td><td></td></tr></table>",
236
+ "bbox": [
237
+ 273,
238
+ 80,
239
+ 724,
240
+ 234
241
+ ],
242
+ "page_idx": 1
243
+ },
244
+ {
245
+ "type": "text",
246
+ "text": "and Webdriver, to collect and process the raw data.",
247
+ "bbox": [
248
+ 112,
249
+ 266,
250
+ 485,
251
+ 296
252
+ ],
253
+ "page_idx": 1
254
+ },
255
+ {
256
+ "type": "text",
257
+ "text": "For the data collection and preparation process of the BANGLABOOK dataset, we first compile a list of URLs for authors from online bookstores. From there, we procure URLs for the books. We meticulously scrape information such as book titles, author names, book categories, review texts, reviewer names, review dates, and ratings by utilizing these book URLs.",
258
+ "bbox": [
259
+ 112,
260
+ 299,
261
+ 489,
262
+ 426
263
+ ],
264
+ "page_idx": 1
265
+ },
266
+ {
267
+ "type": "table",
268
+ "img_path": "images/9d8c467f457468d5165e196ef021af7e1c68badfd132dbc41fd6caf2a205b023.jpg",
269
+ "table_caption": [
270
+ "Table 1: Summary statistics of our dataset. Bangla† denotes Romanized Bangla text."
271
+ ],
272
+ "table_footnote": [],
273
+ "table_body": "<table><tr><td rowspan=\"5\">General Properties</td><td># of Reviews</td><td>158,065</td></tr><tr><td># of Books</td><td>30,253</td></tr><tr><td># of Reviewers</td><td>44,616</td></tr><tr><td># of Categories</td><td>1,573</td></tr><tr><td>Total Review Words</td><td>44,429,201</td></tr><tr><td rowspan=\"3\">Single Review</td><td>max. Word length</td><td>765</td></tr><tr><td>min. Word length</td><td>1</td></tr><tr><td>avg. Word length</td><td>281.08</td></tr></table>",
274
+ "bbox": [
275
+ 161,
276
+ 439,
277
+ 442,
278
+ 539
279
+ ],
280
+ "page_idx": 1
281
+ },
282
+ {
283
+ "type": "text",
284
+ "text": "Table 2: General overview of BANGLABOOK.",
285
+ "bbox": [
286
+ 142,
287
+ 542,
288
+ 455,
289
+ 555
290
+ ],
291
+ "page_idx": 1
292
+ },
293
+ {
294
+ "type": "text",
295
+ "text": "2.1 Labeling & Translation",
296
+ "text_level": 1,
297
+ "bbox": [
298
+ 112,
299
+ 575,
300
+ 344,
301
+ 590
302
+ ],
303
+ "page_idx": 1
304
+ },
305
+ {
306
+ "type": "text",
307
+ "text": "If a review does not have a rating, we deem it unannotated. Reviews with a rating of 1 or 2 are classified as negative, a rating of 3 is considered neutral, and a rating of 4 or 5 is classified as positive. Two manual experiments are carried out to validate the use of ratings as a measure of sentiment in product reviews. In the first experiment, around $10\\%$ of the reviews are randomly selected and annotated manually. The annotated labels are cross-checked with the original labels, resulting in a $96.7\\%$ accuracy in the corresponding labels. In addition, we consult the work of Wang et al. (2020) that explored the issue of incongruous sentiment expressions with regard to ratings. Specifically, the study scrutinized two categories of reviews: high ratings lacking a positive sentiment, and low ratings lacking a negative sentiment. We perform an analysis to identify such inconsistencies within our dataset and discovered that only a minuscule $3.41\\%$ of the samples exhibited this pattern. This figure is rela",
308
+ "bbox": [
309
+ 112,
310
+ 596,
311
+ 489,
312
+ 919
313
+ ],
314
+ "page_idx": 1
315
+ },
316
+ {
317
+ "type": "text",
318
+ "text": "tively insignificant when considering the substantially large scale of our dataset.",
319
+ "bbox": [
320
+ 507,
321
+ 266,
322
+ 882,
323
+ 298
324
+ ],
325
+ "page_idx": 1
326
+ },
327
+ {
328
+ "type": "image",
329
+ "img_path": "images/76550d660072eace8cce26377b4dcae393302544a68c254e887f398292922d2d.jpg",
330
+ "image_caption": [
331
+ "(a) Sentiment Distribution"
332
+ ],
333
+ "image_footnote": [],
334
+ "bbox": [
335
+ 515,
336
+ 310,
337
+ 678,
338
+ 431
339
+ ],
340
+ "page_idx": 1
341
+ },
342
+ {
343
+ "type": "image",
344
+ "img_path": "images/21e6fd1cf1fee406816d2a9d897267b82959eb266caa2730ad1e1353cc05df59.jpg",
345
+ "image_caption": [
346
+ "(b) Rating Distribution",
347
+ "Figure 1: Class Distribution of BANGLABOOK."
348
+ ],
349
+ "image_footnote": [],
350
+ "bbox": [
351
+ 680,
352
+ 318,
353
+ 875,
354
+ 432
355
+ ],
356
+ "page_idx": 1
357
+ },
358
+ {
359
+ "type": "text",
360
+ "text": "After discarding the unannotated reviews, we curate a final dataset of 158,065 annotated reviews. Of these, 89,371 are written entirely in Bangla. The remaining 68,694 reviews were written in Romanized Bangla, English, or a mix of languages. They are translated into Bangla with Google Translator and a custom Python program using the googletrans library. The translations are subsequently subjected to manual review and scrutiny to confirm their accuracy. The majority of inaccurate translations primarily comprise spelling errors and instances where English words remain untranslated within samples containing a combination of Bangla and English text. The meticulous evaluation process of untranslated samples involves a thorough assessment by post-graduate native Bangla speakers, who critically compare the translated text against the original untranslated text to ascertain the correctness of the translation.",
361
+ "bbox": [
362
+ 507,
363
+ 475,
364
+ 884,
365
+ 781
366
+ ],
367
+ "page_idx": 1
368
+ },
369
+ {
370
+ "type": "text",
371
+ "text": "3 Statistical Analysis",
372
+ "text_level": 1,
373
+ "bbox": [
374
+ 507,
375
+ 795,
376
+ 707,
377
+ 812
378
+ ],
379
+ "page_idx": 1
380
+ },
381
+ {
382
+ "type": "text",
383
+ "text": "Tables 1 and 2 provide an overview of the statistical properties of the BANGLABOOK dataset. The sentiment doughnut chart in Figure-1a illustrates the proportion of positive, neutral, and negative reviews, while the rating doughnut chart in Figure-1b displays the percentage of reviews that corre",
384
+ "bbox": [
385
+ 507,
386
+ 822,
387
+ 884,
388
+ 917
389
+ ],
390
+ "page_idx": 1
391
+ },
392
+ {
393
+ "type": "page_number",
394
+ "text": "1238",
395
+ "bbox": [
396
+ 482,
397
+ 927,
398
+ 519,
399
+ 940
400
+ ],
401
+ "page_idx": 1
402
+ },
403
+ {
404
+ "type": "table",
405
+ "img_path": "images/6dc46aea45371fb8cc968d77fc94c0d854d073eeb330e7a5a9281f385b6618d6.jpg",
406
+ "table_caption": [],
407
+ "table_footnote": [],
408
+ "table_body": "<table><tr><td>Method</td><td>Negative</td><td>Neutral</td><td>Positive</td><td>Weighted Avg.</td></tr><tr><td>Random Forest (word 2-gram + word 3-gram)</td><td>0.56</td><td>0.34</td><td>0.96</td><td>0.9106</td></tr><tr><td>SVM (word 2-gram + word 3-gram)</td><td>0.40</td><td>0.15</td><td>1.00</td><td>0.9053</td></tr><tr><td>Random Forest (word 1-gram)</td><td>0.48</td><td>0.35</td><td>0.96</td><td>0.9043</td></tr><tr><td>Logistic Regression (char 2-gram + char 3-gram)</td><td>0.55</td><td>0.13</td><td>0.96</td><td>0.8978</td></tr><tr><td>Bangla-BERT (base-uncased)</td><td>0.60</td><td>0.22</td><td>0.96</td><td>0.9064</td></tr><tr><td>Logistic Regression (word 2-gram + word 3-gram)</td><td>0.53</td><td>0.13</td><td>0.96</td><td>0.8964</td></tr><tr><td>Bangla-BERT (large)</td><td>0.72</td><td>0.40</td><td>0.97</td><td>0.9331</td></tr><tr><td>XGBoost (char 2-gram + char 3-gram)</td><td>0.31</td><td>0.02</td><td>0.95</td><td>0.8723</td></tr><tr><td>Multinomial NB (word 2-gram + word 3-gram)</td><td>0.23</td><td>0.03</td><td>0.95</td><td>0.8663</td></tr><tr><td>LSTM (GloVe)</td><td>0.11</td><td>0.00</td><td>0.10</td><td>0.0991</td></tr><tr><td>XGBoost (word 2-gram + word 3-gram)</td><td>0.23</td><td>0.01</td><td>0.95</td><td>0.8651</td></tr><tr><td>Multinomial NB (BoW)</td><td>0.18</td><td>0.05</td><td>0.94</td><td>0.8564</td></tr><tr><td>SVM (word 1-gram)</td><td>0.08</td><td>0.04</td><td>0.94</td><td>0.8519</td></tr></table>",
409
+ "bbox": [
410
+ 129,
411
+ 80,
412
+ 870,
413
+ 231
414
+ ],
415
+ "page_idx": 2
416
+ },
417
+ {
418
+ "type": "text",
419
+ "text": "Table 3: Catergory-wise Binary Task F1-score and Weighted Average F1-score of each method on BANGLABOOK.",
420
+ "bbox": [
421
+ 112,
422
+ 235,
423
+ 880,
424
+ 250
425
+ ],
426
+ "page_idx": 2
427
+ },
428
+ {
429
+ "type": "text",
430
+ "text": "spond to each rating on a scale of 1 to 5.",
431
+ "bbox": [
432
+ 112,
433
+ 263,
434
+ 413,
435
+ 278
436
+ ],
437
+ "page_idx": 2
438
+ },
439
+ {
440
+ "type": "text",
441
+ "text": "Upon analyzing the sentiment chart, it appears that the majority of the reviews $(124,084 + 17,503 = 141,587$ samples) are positive, with a significant portion also being negative $(2,728 + 6,946 = 9,674$ samples). A relatively small fraction of the reviews are neutral (6,804 samples). This suggests that overall, the books have been well received by the readers, with the majority expressing favorable opinions. The distribution of the dataset is representative of real-world scenarios and it tessellates well with previous content analysis works on book reviews (Lin et al., 2005; Sorensen and Rasmussen, 2004). In Figure-2, we can visualize an illustration of the sentiment distribution among the 5 most frequently reviewed categories of books. We can gain some salient insights from the popularity of these genres. Contemporary novels are bestsellers as they reflect current events, social issues, and trends, making them relatable and thought-provoking for the readers while self-help and religious books provide guidance, inspiration, and a sense of purpose, catering to individuals' quest for personal growth and spiritual fulfillment.",
442
+ "bbox": [
443
+ 112,
444
+ 279,
445
+ 489,
446
+ 650
447
+ ],
448
+ "page_idx": 2
449
+ },
450
+ {
451
+ "type": "text",
452
+ "text": "4 Developing Benchmark for BANGLABOOK",
453
+ "text_level": 1,
454
+ "bbox": [
455
+ 112,
456
+ 662,
457
+ 381,
458
+ 693
459
+ ],
460
+ "page_idx": 2
461
+ },
462
+ {
463
+ "type": "text",
464
+ "text": "A series of baseline models with combinations of different lexical and semantic features are chosen to evaluate the BANGLABOOK dataset. An overview of the models, evaluation metrics, results, and analysis of the experimental results are provided in this section.",
465
+ "bbox": [
466
+ 112,
467
+ 699,
468
+ 489,
469
+ 794
470
+ ],
471
+ "page_idx": 2
472
+ },
473
+ {
474
+ "type": "text",
475
+ "text": "4.1 Baseline Models & Features",
476
+ "text_level": 1,
477
+ "bbox": [
478
+ 112,
479
+ 807,
480
+ 379,
481
+ 821
482
+ ],
483
+ "page_idx": 2
484
+ },
485
+ {
486
+ "type": "text",
487
+ "text": "For the lexical features, we extract bag-of-words (BoW), char $n$ -grams (1-3), and word $n$ -grams (1-3) from the reviews as these representations have performed well in different classification tasks (Islam et al., 2022). After extracting the features, they are vectorized using TF-IDF and count vec",
488
+ "bbox": [
489
+ 112,
490
+ 822,
491
+ 489,
492
+ 917
493
+ ],
494
+ "page_idx": 2
495
+ },
496
+ {
497
+ "type": "image",
498
+ "img_path": "images/801e495ea340c69d691c05085acf634158a1c49e822d0ae50a93be87c223f433.jpg",
499
+ "image_caption": [
500
+ "Figure 2: Sentiment Distribution of top 5 most popular genres. In clockwise order, वस्थकालीन अप्रति स (Contemporary Novel), वस्थकालीन अप्रति तूधोत्तिक तूधोत्तिक तूधोत्तिक तूधोत्तिक तूधोत्तिक (Islamic Ideals and Doctrines), वस्थकालीन वर्षेहि तूधोत्तिक तूधोत्तिक तूधोत्तिक (Islamic Books: Self-Development), वस्थकालीन वर्षेहि तूधोत्तिक तूधोत्तिक (Student Life Development), वस्थकालीन वर्षेहि तूधोत्तिक तूधोत्तिक (Translated Books: Self-Development and Meditation)."
501
+ ],
502
+ "image_footnote": [],
503
+ "bbox": [
504
+ 524,
505
+ 275,
506
+ 873,
507
+ 495
508
+ ],
509
+ "page_idx": 2
510
+ },
511
+ {
512
+ "type": "text",
513
+ "text": "torizer and trained on a series of ML models such as Random Forest (Breiman, 2001), XGBoost (Chen and Guestrin, 2016), linear SVM (Cortes and Vapnik, 1995), Logistic Regression (le Cessie and van Houwelingen, 1992) and Multinomial Naive Bayes (John and Langley, 1995). We choose LSTM (Hochreiter and Schmidhuber, 1997) with GloVe (Pennington et al., 2014) embedding for its ability to understand context along with recent dependency. We also fine-tuned two available transformer-based models in Bangla: Bangla-BERT (base-uncased) (110M parameters) (Sarker, 2020) and Bangla-BERT (large) (2.5B parameters) (Bhattacharjee et al., 2022), due to the recent success of BERT (Devlin et al., 2019) in various downstream NLP tasks. We select F1-score and weighted average F1-score to evaluate the models because the dataset has an un",
514
+ "bbox": [
515
+ 507,
516
+ 629,
517
+ 884,
518
+ 917
519
+ ],
520
+ "page_idx": 2
521
+ },
522
+ {
523
+ "type": "page_number",
524
+ "text": "1239",
525
+ "bbox": [
526
+ 482,
527
+ 927,
528
+ 519,
529
+ 940
530
+ ],
531
+ "page_idx": 2
532
+ },
533
+ {
534
+ "type": "table",
535
+ "img_path": "images/94ccfbba47717f6cbdfacbfacdb6db65defabf5cc1984a315d1b94240c5530af.jpg",
536
+ "table_caption": [],
537
+ "table_footnote": [],
538
+ "table_body": "<table><tr><td>Class</td><td>10 Most Frequent Words</td></tr><tr><td>Positive</td><td>बालेला (good), शन्तर (nice), अस्थान्यारुँ (extraordinary), दूपाकोँ (splendid), वर्णा (best), सहानुँ (facile), धनाकोर (beautiful), अश्थि (hope), वन्तर्यादित (gratefulness), अलामान्यारुँ, वल्तर्यादित (gratitude)</td></tr><tr><td>Neutral</td><td>बालेला (good), शन्तर (nice), अशरागोँ (bad), वन्तार्यादित (average), वल (fault), वर्णारेम (hope), सहानुँ (facile), धनाकोर (extraordinary), कम्ज (low), वन्तर्यादित (splendid)</td></tr><tr><td>Negative</td><td>बालेला (good), वल्तर (trash), अशरागोँ (bad), वल (fault), वर्णारेम (nice), वर्णारेम (hope), वति (waste), कम्ज (useless), वन्तर्यादित (disappointment), कम्ज (low)</td></tr></table>",
539
+ "bbox": [
540
+ 115,
541
+ 80,
542
+ 884,
543
+ 223
544
+ ],
545
+ "page_idx": 3
546
+ },
547
+ {
548
+ "type": "text",
549
+ "text": "Table 4: Most frequent word unigrams conveying the strongest sentiments of each class with English translation. The colors respectively denote Positive, Neutral and Negative sentiments.",
550
+ "bbox": [
551
+ 112,
552
+ 225,
553
+ 882,
554
+ 258
555
+ ],
556
+ "page_idx": 3
557
+ },
558
+ {
559
+ "type": "image",
560
+ "img_path": "images/e56d3518d85c08bfa6d3d061bdfe7945c590061f3d16e56b768f41c191a92c4f.jpg",
561
+ "image_caption": [
562
+ "Figure 3: Confusion Matrix for Bangla-BERT"
563
+ ],
564
+ "image_footnote": [],
565
+ "bbox": [
566
+ 194,
567
+ 269,
568
+ 411,
569
+ 418
570
+ ],
571
+ "page_idx": 3
572
+ },
573
+ {
574
+ "type": "text",
575
+ "text": "even class distribution. F1-score is the harmonic mean of precision and recall and it helps balance the metric across the imbalanced positive/negative samples (Sokolova et al., 2006). All our experiments are done using scikit-learn, pytorch, and transformers (Vaswani et al., 2017) and run on Google Colaboratory. The training, testing, and validation split of the entire dataset was 70-20-10 with previously unseen samples in the test and validation set.",
576
+ "bbox": [
577
+ 112,
578
+ 451,
579
+ 489,
580
+ 609
581
+ ],
582
+ "page_idx": 3
583
+ },
584
+ {
585
+ "type": "text",
586
+ "text": "4.2 Results & Findings",
587
+ "text_level": 1,
588
+ "bbox": [
589
+ 112,
590
+ 624,
591
+ 310,
592
+ 639
593
+ ],
594
+ "page_idx": 3
595
+ },
596
+ {
597
+ "type": "text",
598
+ "text": "Table 3 summarizes the experimental results for BANGLABOOK. Results show that BanglaBERT (large) outperforms all other models by a clear margin. Also, the combination of word/char 2-gram and word/char 3-gram perform exceptionally well with respective classifiers. Our hypothesis is that these two features result in a large number of unique word and character combinations, aiding the models' ability to generalize effectively across categories. Islam et al. (2022, 2021); Taher et al. (2018) concur on the same verdict by implying that the task predominantly relies on word units, with minimal dependence on subword level information and the nature of the Bangla language itself. Furthermore, Majumder et al. (2002) outlined the suitability of $n$ -gram approaches in generating language profiles for Indo",
599
+ "bbox": [
600
+ 112,
601
+ 645,
602
+ 489,
603
+ 919
604
+ ],
605
+ "page_idx": 3
606
+ },
607
+ {
608
+ "type": "text",
609
+ "text": "European languages in their work. The bag-of-words (BoW) feature is inept at classifying the corresponding categories because of its inability to capture critical contextual information and nuance (Zheng and Casari, 2018). Although word 1-gram does not outperform word 2-gram and word 3-gram, it does predict the 'Neutral' class well. Both the pre-trained Bangla-BERT models perform fairly consistently across all categories on the BANGLABOOK dataset, demonstrating the usefulness of contextual understanding and transfer learning in classification tasks even in low-resource languages like Bangla. The LSTM model with GloVe embedding recognizes the 'Negative' and 'Positive' classes very marginally and fails completely to identify the 'Neutral' category. It is also notable that, SVM with bigram and trigram achieves perfect scores in the 'Positive' class.",
610
+ "bbox": [
611
+ 507,
612
+ 269,
613
+ 884,
614
+ 558
615
+ ],
616
+ "page_idx": 3
617
+ },
618
+ {
619
+ "type": "text",
620
+ "text": "To summarize, the utilization of pre-trained models (i.e. Bangla-BERT) that undergo training on extensive corpora, leading to exposure to extensive general language knowledge, has significantly contributed to their superior classification performance compared to other models and word embeddings. Additionally, models trained on handcrafted features also perform significantly well. It should be noted that Bangla pre-trained models are currently undergoing development, and further training on expansive corpora has the potential to enhance their ability to generalize and achieve even more impressive results.",
621
+ "bbox": [
622
+ 507,
623
+ 560,
624
+ 882,
625
+ 769
626
+ ],
627
+ "page_idx": 3
628
+ },
629
+ {
630
+ "type": "text",
631
+ "text": "4.3 Error Analysis",
632
+ "text_level": 1,
633
+ "bbox": [
634
+ 507,
635
+ 784,
636
+ 672,
637
+ 799
638
+ ],
639
+ "page_idx": 3
640
+ },
641
+ {
642
+ "type": "text",
643
+ "text": "In the 'Positive' class, all the models produce excellent classification results. While some models perform reasonably well on the 'Negative' class, nearly all of the models perform poorly on the 'Neutral' class. The class imbalance of the dataset, as shown in Figure 1, is one obvious cause of this fluctuation in results. The confusion matrix for",
644
+ "bbox": [
645
+ 507,
646
+ 806,
647
+ 884,
648
+ 917
649
+ ],
650
+ "page_idx": 3
651
+ },
652
+ {
653
+ "type": "page_number",
654
+ "text": "1240",
655
+ "bbox": [
656
+ 482,
657
+ 928,
658
+ 521,
659
+ 940
660
+ ],
661
+ "page_idx": 3
662
+ },
663
+ {
664
+ "type": "text",
665
+ "text": "Bangla-BERT on our dataset, presented in Figure3, reveals that most of the 'Negative' and 'Neutral' samples are misclassified as 'Positive' samples by our classifiers. To further analyze the misclassifications, we examine the W1 (word unigrams) of these three classes. We find 124,796 unique W1 for the 'Positive' class, 20,714 unique W1 for the 'Negative' class, and 19,096 unique W1 for the 'Neutral' class. $77.57\\%$ of the W1 from the 'Neutral' class and $79.83\\%$ of the W1 from the 'Negative' class are found in the 'Positive' class. Table 4 depicts the most frequent W1 conveying the strongest sentiments for each class. With only one distinct 'Neutral' W1 and even the 'Negative' class having multiple positive W1, the dominance of 'Positive' sentiment W1 over the other two classes is evident. This may have contributed to the lack of distinctive words in the 'Negative' and 'Neutral' classes, which inevitably prevented the feature-based models from generalizing.",
666
+ "bbox": [
667
+ 110,
668
+ 84,
669
+ 492,
670
+ 407
671
+ ],
672
+ "page_idx": 4
673
+ },
674
+ {
675
+ "type": "text",
676
+ "text": "5 Morphology and Negation Patterns of Bangla",
677
+ "text_level": 1,
678
+ "bbox": [
679
+ 112,
680
+ 417,
681
+ 478,
682
+ 450
683
+ ],
684
+ "page_idx": 4
685
+ },
686
+ {
687
+ "type": "text",
688
+ "text": "Understanding the morphology and negation patterns of a language holds paramount importance in the realm of sentiment analysis because negation can alter the meaning of words and phrases, thereby affecting the overall sentiment conveyed by a text. We provide a concise yet insightful recapitulation of the topic in the case of Bangla accompanied by review samples from our dataset BANGLABOOK as the respective examples. From the linguistic typological standpoint, Bangla is categorized as a subject-object-verb (SOV) language because the subject, object, and verb generally adhere to said order in its sentential structure (Ramchand, 2004). The most common juxtaposition of polarity from positive to negative is the use of $n_i$ ( $\\widehat{n}$ ) as a tensed negative. For example,",
689
+ "bbox": [
690
+ 110,
691
+ 458,
692
+ 489,
693
+ 715
694
+ ],
695
+ "page_idx": 4
696
+ },
697
+ {
698
+ "type": "text",
699
+ "text": "Aaannn aonnnnnae ananrnnnnae ananrnnnnae ananrnnnnae ananrnnnnae ananrnnnnae ananrnnnnae ananrnnnnae ananrnnnnae ananrnnnnae ananrnnnnae ananrnnnnae ananrnnnnae ananrnnnnae ananrnnnnae ananrnnnae ananrnnnnae ananrnnnnae ananrnnnnae ananrnnnnae ananrnnnnae ananrnnnnae ananrnnnnae ananrnnnnae ananrnnnnae ananrnnnnae ananrnnnnae ananrnnnnae ananrnnnnae ananrnnnnaee",
700
+ "bbox": [
701
+ 163,
702
+ 718,
703
+ 438,
704
+ 777
705
+ ],
706
+ "page_idx": 4
707
+ },
708
+ {
709
+ "type": "text",
710
+ "text": "Another negational feature is expressed by placing na (nata) prior to the non-finite verb and after the finite verb in a sentence (although there are some exceptions). For example,",
711
+ "bbox": [
712
+ 112,
713
+ 785,
714
+ 487,
715
+ 850
716
+ ],
717
+ "page_idx": 4
718
+ },
719
+ {
720
+ "type": "text",
721
+ "text": "AeBnBnBn BnBnBnBn BnBnBnBn BnBnBn BnBnBn BnBnBn BnBnBn BnBnBn BnBnBn BnBnBn BnBnBn BnBnBn BnBnBn BnBnBn BnBnBn BnBnBn BnBnBn BnBnBn BnBnBn BnBn BnBn BnBn BnBn BnBn BnBn BnBn BnBn BnBn BnBn BnBn BnBn BnBn BnBn BnBn BnBn BnBn BnBn BnBn BnBn BnBn BnBn BnBn BnBn BnBn",
722
+ "bbox": [
723
+ 154,
724
+ 851,
725
+ 445,
726
+ 917
727
+ ],
728
+ "page_idx": 4
729
+ },
730
+ {
731
+ "type": "text",
732
+ "text": "The Bangla language consists of no negative adverbs or pronouns (Thompson, 2006). This is why the negative element responsible for the reversal of polarity transcends from the word-level to the sentence-level rendering the occurrences of almost all negations in Bangla manifest on the syntactic level (Thompson, 2006).",
733
+ "bbox": [
734
+ 507,
735
+ 84,
736
+ 884,
737
+ 197
738
+ ],
739
+ "page_idx": 4
740
+ },
741
+ {
742
+ "type": "text",
743
+ "text": "In the cases of double negatives, we see the involvement of lexical negation, a morphological feature that works with negative affixes (prefixes and suffixes) attached to a root word. The prefixes in Bangla have two different phonetic variations or allophones depending on whether the prefix precedes a vowel or a consonant. The same is true for prefixes that imbue a negative connotation to a root word, e.g. $o$ (ə) and $on$ (ən). For example,",
744
+ "bbox": [
745
+ 507,
746
+ 198,
747
+ 884,
748
+ 341
749
+ ],
750
+ "page_idx": 4
751
+ },
752
+ {
753
+ "type": "text",
754
+ "text": "Kekc 8e 8e 8e 8e 8e 8e 8e 8e 8e 8e 8e 8e 8e 8e 8e 8e 8e 8e 8e 8e 8e 8e 8e 8e 8e 8e 8e 8e 8e 8e 8e 8e 8e 8e",
755
+ "bbox": [
756
+ 551,
757
+ 341,
758
+ 840,
759
+ 464
760
+ ],
761
+ "page_idx": 4
762
+ },
763
+ {
764
+ "type": "text",
765
+ "text": "Another negative prefix that precedes a root word to invert its polarity is $nir$ (NIR). For example,",
766
+ "bbox": [
767
+ 507,
768
+ 474,
769
+ 882,
770
+ 505
771
+ ],
772
+ "page_idx": 4
773
+ },
774
+ {
775
+ "type": "text",
776
+ "text": "Leye 1",
777
+ "bbox": [
778
+ 566,
779
+ 507,
780
+ 823,
781
+ 551
782
+ ],
783
+ "page_idx": 4
784
+ },
785
+ {
786
+ "type": "text",
787
+ "text": "On the contrary, the suffix $hin$ (रिन) succeeds a root word to convert it to the corresponding negative form. For example,",
788
+ "bbox": [
789
+ 507,
790
+ 558,
791
+ 882,
792
+ 606
793
+ ],
794
+ "page_idx": 4
795
+ },
796
+ {
797
+ "type": "text",
798
+ "text": "Arnrkrn m n knnnck gne nna pae aen",
799
+ "bbox": [
800
+ 546,
801
+ 613,
802
+ 858,
803
+ 652
804
+ ],
805
+ "page_idx": 4
806
+ },
807
+ {
808
+ "type": "text",
809
+ "text": "The expression of negative sentiment is, therefore, very nuanced in the Bangla language as every occurrence of negative is intertwined with features like the tense, hierarchy of syntax, verb status, case-specific issues, and sequential arrangement of words (Thompson, 2006).",
810
+ "bbox": [
811
+ 507,
812
+ 658,
813
+ 884,
814
+ 753
815
+ ],
816
+ "page_idx": 4
817
+ },
818
+ {
819
+ "type": "text",
820
+ "text": "6 Conclusion",
821
+ "text_level": 1,
822
+ "bbox": [
823
+ 507,
824
+ 766,
825
+ 640,
826
+ 780
827
+ ],
828
+ "page_idx": 4
829
+ },
830
+ {
831
+ "type": "text",
832
+ "text": "This paper introduces BANGLABOOK, the largest Bangla book review dataset with 158,065 samples, each labeled with 1 of 3 user sentiments. We provide extensive statistical analysis and strong baselines facilitating the utility of the dataset. Given its massive size and fine-grained sentiment distribution, BANGLABOOK has the potential to alleviate the resource scarcity in Bangla language research.",
833
+ "bbox": [
834
+ 507,
835
+ 790,
836
+ 884,
837
+ 919
838
+ ],
839
+ "page_idx": 4
840
+ },
841
+ {
842
+ "type": "page_number",
843
+ "text": "1241",
844
+ "bbox": [
845
+ 482,
846
+ 928,
847
+ 517,
848
+ 940
849
+ ],
850
+ "page_idx": 4
851
+ },
852
+ {
853
+ "type": "text",
854
+ "text": "7 Limitations",
855
+ "text_level": 1,
856
+ "bbox": [
857
+ 114,
858
+ 84,
859
+ 250,
860
+ 98
861
+ ],
862
+ "page_idx": 5
863
+ },
864
+ {
865
+ "type": "text",
866
+ "text": "Many of the reviews that were gathered for constructing BANGLABOOK are discarded because they lack a corresponding rating. A manual annotation process would have yielded a much larger dataset, which was not feasible due to resource constraints. Moreover, one of the challenges for validating the dataset is the lack of statistical models and word-embeddings pre-trained on the Bangla language. Some pre-trained Bangla-BERT models, yet to be trained on extensive corpora, have only recently been proposed. Improving transformer-based models for Bangla can enhance sub-word level contextual understanding which will consequently help in more accurate identification of the sentiments in BANGLABOOK (Islam et al., 2022).",
867
+ "bbox": [
868
+ 112,
869
+ 109,
870
+ 492,
871
+ 367
872
+ ],
873
+ "page_idx": 5
874
+ },
875
+ {
876
+ "type": "text",
877
+ "text": "References",
878
+ "text_level": 1,
879
+ "bbox": [
880
+ 510,
881
+ 84,
882
+ 608,
883
+ 98
884
+ ],
885
+ "page_idx": 5
886
+ },
887
+ {
888
+ "type": "list",
889
+ "sub_type": "ref_text",
890
+ "list_items": [
891
+ "Mst Tuhin Akter, Manoara Begum, and Rashed Mustafa. 2021. Bengali sentiment analysis of e-commerce product reviews using k-nearest neighbors. In 2021 International Conference on Information and Communication Technology for Sustainable Development (ICICT4SD), pages 40-44. IEEE.",
892
+ "Sanjida Akter and Muhammad Tareq Aziz. 2016. Sentiment analysis on facebook group using lexicon based approach. In 2016 3rd International Conference on Electrical Engineering and Information Communication Technology (ICEEICT), pages 1-4. IEEE.",
893
+ "Shad Al Kaiser, Sudipta Mandal, Ashraful Kalam Abid, Ekhfa Hossain, Ferdous Bin Ali, and Intisar Tahmid Naheen. 2021. Social media opinion mining based on bangla public post of facebook. In 2021 24th International Conference on Computer and Information Technology (ICCIT), pages 1-6. IEEE.",
894
+ "Abhik Bhattacharjee, Tahmid Hasan, Wasi Ahmad, Kazi Samin Mubasshir, Md Saiful Islam, Anindya Iqbal, M. Sohel Rahman, and Rifat Shahriyar. 2022. BanglaBERT: Language model pretraining and benchmarks for low-resource language understanding evaluation in Bangla. In Findings of the Association for Computational Linguistics: NAACL 2022, pages 1318-1327, Seattle, United States. Association for Computational Linguistics.",
895
+ "L. Breiman. 2001. Random forests. Machine Learning, 45:5-32.",
896
+ "Tianqi Chen and Carlos Guestrin. 2016. Xgboost: A scalable tree boosting system. Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining.",
897
+ "Shaika Chowdhury and Wasifa Chowdhury. 2014. Performing sentiment analysis in bangla microblog posts. In 2014 International Conference on Informatics, Electronics & Vision (ICIEV), pages 1-6. IEEE.",
898
+ "Corinna Cortes and Vladimir Naumovich Vapnik. 1995. Support-vector networks. Machine Learning, 20:273-297.",
899
+ "Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. 2019. Bert: Pre-training of deep bidirectional transformers for language understanding. ArXiv, abs/1810.04805.",
900
+ "Rajib Chandra Dey and Orvila Sarker. 2019. Sentiment analysis on bengali text using lexicon based approach. In 2019 22nd International Conference on Computer and Information Technology (ICCIT), pages 1-5. IEEE.",
901
+ "Asif Hassan, Mohammad Rashedul Amin, Abul Kalam Al Azad, and Nabeel Mohammed. 2016. Sentiment analysis on bangla and romanized bangla text using"
902
+ ],
903
+ "bbox": [
904
+ 510,
905
+ 107,
906
+ 885,
907
+ 919
908
+ ],
909
+ "page_idx": 5
910
+ },
911
+ {
912
+ "type": "page_number",
913
+ "text": "1242",
914
+ "bbox": [
915
+ 482,
916
+ 928,
917
+ 521,
918
+ 940
919
+ ],
920
+ "page_idx": 5
921
+ },
922
+ {
923
+ "type": "list",
924
+ "sub_type": "ref_text",
925
+ "list_items": [
926
+ "deep recurrent models. In 2016 International Workshop on Computational Intelligence (IWCI), pages 51-56. IEEE.",
927
+ "Sepp Hochreiter and Jürgen Schmidhuber. 1997. Long short-term memory. *Neural Computation*, 9:1735-1780.",
928
+ "MD Iqbal, Avishek Das, Omar Sharif, Mohammed Moshiul Hoque, and Iqbal H Sarker. 2022. Bemoc: A corpus for identifying emotion in bengali texts. SN Computer Science, 3(2):1-17.",
929
+ "Khondoker Ittehadul Islam, Md Saiful Islam, and Md Ruhul Amin. 2020. Sentiment analysis in bengali via transfer learning using multi-lingual bert. In 2020 23rd International Conference on Computer and Information Technology (ICCIIT), pages 1-5. IEEE.",
930
+ "Khondoker Ittehadul Islam, Sadipta Kar, Md Saiful Islam, and Mohammad Ruhul Amin. 2021. Sentnob: A dataset for analysing sentiment on noisy bangla texts. In Findings of the Association for Computational Linguistics: EMNLP 2021, pages 3265-3271.",
931
+ "Khondoker Ittehadul Islam, Tanvir Yuvraz, Md Saiful Islam, and Enamul Hassan. 2022. Emonoba: A dataset for analyzing fine-grained emotions on noisy bangla texts. In Proceedings of the 2nd Conference of the Asia-Pacific Chapter of the Association for Computational Linguistics and the 12th International Joint Conference on Natural Language Processing, pages 128-134.",
932
+ "George H. John and Pat Langley. 1995. Estimating continuous distributions in bayesian classifiers. In _Conference on Uncertainty in Artificial Intelligence_.",
933
+ "Mst Eshita Khatun and Tapasy Rabeya. 2022. A machine learning approach for sentiment analysis of book reviews in bangla language. In 2022 6th International Conference on Trends in Electronics and Informatics (ICOEI), pages 1178-1182. IEEE.",
934
+ "Saskia le Cessie and J. C. van Houwelingen. 1992. Ridge estimators in logistic regression. Applied statistics, 41:191-201.",
935
+ "Tom MY Lin, Pin Luarn, and Yun Kuei Huang. 2005. Effect of internet book reviews on purchase intention: A focus group study. The Journal of Academic Librarianship, 31(5):461-468.",
936
+ "Shamsul Arafin Mahtab, Nazmul Islam, and Md Mahfuzur Rahaman. 2018. Sentiment analysis on bangladesh cricket with support vector machine. In 2018 international conference on Bangla speech and language processing (ICBSLP), pages 1-4. IEEE.",
937
+ "P Majumder, M Mitra, and BB Chaudhuri. 2002. Ngram: a language independent approach to ir and nlp. In International conference on universal knowledge and language, volume 2."
938
+ ],
939
+ "bbox": [
940
+ 115,
941
+ 85,
942
+ 487,
943
+ 917
944
+ ],
945
+ "page_idx": 6
946
+ },
947
+ {
948
+ "type": "list",
949
+ "sub_type": "ref_text",
950
+ "list_items": [
951
+ "Muhammad Mahmudun Nabi, Md Tanzir Altaf, and Sabir Ismail. 2016. Detecting sentiment from bangla text using machine learning technique and feature analysis. International Journal of Computer Applications, 153(11):28-34.",
952
+ "Jeffrey Pennington, Richard Socher, and Christopher D. Manning. 2014. Glove: Global vectors for word representation. In Conference on Empirical Methods in Natural Language Processing.",
953
+ "Md Rahib, Rumman Hussain Khan, Amzad Hussain Tamim, Mohammad Zawad Tahmeed, and Mohammad Jaber Hossain. 2022. Emotion detection based on bangladeshi peoples social media response on Covid-19. SN Computer Science, 3(2):1-6.",
954
+ "Fuad Rahman, Habibur Khan, Zakir Hossain, Mahfuza Begum, Sadia Mahanaz, Ashraful Islam, and Aminul Islam. 2019. An annotated bangla sentiment analysis corpus. In 2019 International Conference on Bangla Speech and Language Processing (ICBSLP), pages 1-5. IEEE.",
955
+ "Md Atikur Rahman and Emon Kumar Dey. 2018. Datasets for aspect-based sentiment analysis in bangla and its baseline evaluation. Data, 3(2):15.",
956
+ "Gillian Catriona Ramchand. 2004. Two types of negation in bengali. *Clause structure in South Asian languages*, pages 39-66.",
957
+ "Sagor Sarker. 2020. Banglabert: Bengali mask language model for bengali language understanding.",
958
+ "Salim Sazzed. 2020a. Cross-lingual sentiment classification in low-resource bengali language. In Proceedings of the sixth workshop on noisy user-generated text (W-NUT 2020), pages 50–60.",
959
+ "Salim Sazzed. 2020b. Development of sentiment lexicon in bengali utilizing corpus and cross-lingual resources. In 2020 IEEE 21st International conference on information reuse and integration for data science (IRI), pages 237-244. IEEE.",
960
+ "Salim Sazzed. 2021. Bengsentilex and bengswear-lex: creating lexicons for sentiment analysis and profanity detection in low-resource bengali language. PeerJ Computer Science, 7:e681.",
961
+ "Marina Sokolova, Nathalie Japkowicz, and S. Szpakowicz. 2006. Beyond accuracy, f-score and roc: A family of discriminant measures for performance evaluation. In Australian Conference on Artificial Intelligence.",
962
+ "Alan T Sorensen and Scott J Rasmussen. 2004. Is any publicity good publicity? a note on the impact of book reviews. NBER Working paper, Stanford University.",
963
+ "Nusrath Tabassum and Muhammad Ibrahim Khan. 2019. Design an empirical framework for sentiment analysis from bangla text using machine learning. In 2019 International Conference on Electrical, Computer and Communication Engineering (ECCE), pages 1-5. IEEE."
964
+ ],
965
+ "bbox": [
966
+ 510,
967
+ 85,
968
+ 882,
969
+ 917
970
+ ],
971
+ "page_idx": 6
972
+ },
973
+ {
974
+ "type": "page_number",
975
+ "text": "1243",
976
+ "bbox": [
977
+ 482,
978
+ 928,
979
+ 519,
980
+ 940
981
+ ],
982
+ "page_idx": 6
983
+ },
984
+ {
985
+ "type": "list",
986
+ "sub_type": "ref_text",
987
+ "list_items": [
988
+ "SM Abu Taher, Kazi Afsana Akhter, and KM Azharul Hasan. 2018. N-gram based sentiment mining for bangla text using support vector machine. In 2018 international conference on Bangla speech and language processing (ICBSLP), pages 1-5. IEEE.",
989
+ "Hanne-Ruth Thompson. 2006. Negation patterns in bengali. Bulletin of the School of Oriental and African Studies, 69(2):243-265.",
990
+ "Rashedul Amin Tuhin, Bechitra Kumar Paul, Faria Nawrine, Mahbuba Akter, and Amit Kumar Das. 2019. An automated system of sentiment analysis from bangla text using supervised learning techniques. In 2019 IEEE 4th International Conference on Computer and Communication Systems (ICCCS), pages 360-364. IEEE.",
991
+ "Ashish Vaswani, Noam M. Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N. Gomez, Lukasz Kaiser, and Illia Polosukhin. 2017. Attention is all you need. ArXiv, abs/1706.03762.",
992
+ "Anning Wang, Qiang Zhang, Shuangyao Zhao, Xiaonong Lu, and Zhanglin Peng. 2020. A review-driven customer preference measurement model for product improvement: sentiment-based importance performance analysis. Information Systems and e-Business Management, 18:61-88.",
993
+ "Alice Zheng and Amanda Casari. 2018. Feature engineering for machine learning: principles and techniques for data scientists. \"O'Reilly Media, Inc.\""
994
+ ],
995
+ "bbox": [
996
+ 115,
997
+ 85,
998
+ 489,
999
+ 504
1000
+ ],
1001
+ "page_idx": 7
1002
+ },
1003
+ {
1004
+ "type": "text",
1005
+ "text": "A Appendix",
1006
+ "bbox": [
1007
+ 115,
1008
+ 517,
1009
+ 236,
1010
+ 533
1011
+ ],
1012
+ "page_idx": 7
1013
+ },
1014
+ {
1015
+ "type": "page_number",
1016
+ "text": "1244",
1017
+ "bbox": [
1018
+ 482,
1019
+ 928,
1020
+ 519,
1021
+ 940
1022
+ ],
1023
+ "page_idx": 7
1024
+ },
1025
+ {
1026
+ "type": "table",
1027
+ "img_path": "images/ce284ac3f938bb54ce76e1b58041e5f88ea2dac95ca89db7651aeb616a5cfbb1.jpg",
1028
+ "table_caption": [],
1029
+ "table_footnote": [
1030
+ "Table 5: Comparison of notable Bangla Sentiment Analysis datasets sorted in ascending order of size. The abbreviations respectively denote, Random Forest (RF), Support Vector Machine (SVM), Decision Tree (DT), Naive Bayes (NB), Logistic Regression (LR), K-Nearest Neighbors (KNN), Long Short-term Memory (LSTM), Convolutional Neural Network (CNN), Extreme Gradient Boost (XGB), Multinomial Naive Bayes (MNB), Radial Basis Function (RBF), Extreme Random Tree (ET), Recurrent Neural Network (RNN), Bidirectional Encoder Representations from Transformers (BERT), Gated Recurrent Unit (GRU), Bi-LSTM (Bidirectional LSTM). All the publicly available datasets are hyperlinked. Open† denotes the redaction of the link for anonymity."
1031
+ ],
1032
+ "table_body": "<table><tr><td>Dataset</td><td colspan=\"2\">Sentiment Classification</td><td colspan=\"2\">Sentiment Distribution</td><td>Total # of Samples</td><td>Availability</td><td>Type of Content</td><td>Source(s)</td><td>Baseline Models</td></tr><tr><td>(Tabassum and Khan, 2019)</td><td colspan=\"2\">Positive Negative</td><td colspan=\"2\">- -</td><td>1,050</td><td>Closed</td><td>Posts, comments</td><td>Facebook, Twitter</td><td>RF</td></tr><tr><td>(Chowdhury and Chowdhury, 2014)</td><td colspan=\"2\">Positive Negative</td><td colspan=\"2\">- -</td><td>1,300</td><td>Closed</td><td>Posts, comments</td><td>Twitter</td><td>-</td></tr><tr><td>(Nabi et al., 2016)</td><td colspan=\"2\">Positive Negative</td><td colspan=\"2\">- -</td><td>1,500</td><td>Closed</td><td>Posts, comments</td><td>Social Media</td><td>-</td></tr><tr><td>(Mahtab et al., 2018)</td><td colspan=\"2\">Praise Criticism Sadness</td><td colspan=\"2\">513 604 484</td><td>1,601</td><td>Closed</td><td>Comments</td><td>Prothom Alo Online News Portal</td><td>SVM, DT, NB</td></tr><tr><td>(Akter and Aziz, 2016)</td><td colspan=\"2\">Positive Negative Neutral</td><td colspan=\"2\">- -</td><td>3,600</td><td>Closed</td><td>Posts, comments</td><td>Facebook</td><td>NB</td></tr><tr><td>(Rahman and Kumar Dey, 2018)</td><td colspan=\"2\">Positive Negative Neutral</td><td colspan=\"2\">- -</td><td>4,700</td><td>Open</td><td>Comments</td><td>Facebook pages: BBC Bangla, Prothom Alo</td><td>SVM, LR, KNN, DT, LSTM NB, CNN</td></tr><tr><td>(Dey and Sarker, 2019)</td><td colspan=\"2\">Positive Negative</td><td colspan=\"2\">2,600 2,600</td><td>5,200</td><td>Closed</td><td>Comments, reviews</td><td>Facebook, Twitter, YouTube, News Portals</td><td>DT, NB, SVM</td></tr><tr><td>(Khatun and Rabeya, 2022)</td><td colspan=\"2\">Positive Negative</td><td colspan=\"2\">- -</td><td>5,500</td><td>Closed</td><td>Comments, reviews</td><td>Social Media</td><td>-</td></tr><tr><td>BEMOC (Iqbal et al., 2022)</td><td colspan=\"2\">AngerFearSadJoyDisgust</td><td colspan=\"2\">- -</td><td>7,000</td><td>Open</td><td>Posts, comments</td><td>Facebook, YouTube, Online blogs, Bangla story books, novels, newspapers, discourse</td><td>-</td></tr><tr><td>(Tuhin et al., 2019)</td><td colspan=\"2\">Happy Tender Excited Sad Angry Scared</td><td>- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -</td><td>- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -</td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>(Akter et al., 2021)</td><td colspan=\"2\">Positive Negative Neutral</td><td>- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -</td><td>7,905</td><td>Closed</td><td>Product reviews</td><td>Daraz</td><td>RF, LR, SVM, KNN, XGB</td><td></td></tr><tr><td>(Hassan et al., 2016)</td><td colspan=\"2\">Positive Negative Ambiguous</td><td>- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -</td><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>(Rahib et al., 2022)</td><td colspan=\"2\">Insightful Curious Gratitude</td><td colspan=\"2\">3,800 3,549 3,232</td><td>10,581</td><td>Closed</td><td>Comments</td><td>Social Media</td><td>SVM, RF, CNN, LSTM</td></tr><tr><td rowspan=\"2\">(Al Kaiser et al., 2021)</td><td rowspan=\"2\">Positive Negative Neutral</td><td>Wishful Thinking Appreciation</td><td>967 942</td><td>1,909</td><td rowspan=\"2\">11,006</td><td rowspan=\"2\">Closed</td><td rowspan=\"2\">Comments</td><td rowspan=\"2\">Facebook</td><td rowspan=\"2\">LR, DT, RF, MNB, KNN, Linear SVM, RBF SVM, XGB</td></tr><tr><td>Gender-based hate Religious hate Political hate Personal hate Sarcasm</td><td>525 731 572 1,995 1,414 3,860</td><td>5,237 3,860</td></tr><tr><td>(Sazzed, 2020a)</td><td colspan=\"2\">Positive Negative</td><td colspan=\"2\">8,500 3,307</td><td>11,807</td><td>Open</td><td>Comments</td><td>YouTube</td><td>SVM, ET, RF, LR, VADER, TextBlob</td></tr><tr><td>(Sazzed, 2020b)</td><td colspan=\"2\">Positive Negative</td><td colspan=\"2\">- -</td><td>12,000</td><td>Closed</td><td>Comments</td><td>YouTube</td><td>-</td></tr><tr><td rowspan=\"2\">SENTNoB (Islam et al., 2021)</td><td rowspan=\"2\" colspan=\"2\">Positive Negative</td><td rowspan=\"2\" colspan=\"2\">6,410 5,709 3,609</td><td rowspan=\"2\">15,728</td><td rowspan=\"2\">Open</td><td rowspan=\"2\">Comments</td><td rowspan=\"2\">Prothom Alo Online Newspaper, YouTube</td><td rowspan=\"2\">RNN</td></tr><tr></tr><tr><td>(Islam et al., 2020)</td><td colspan=\"2\">Positive Negative Neutral</td><td colspan=\"2\">4,769 8,351 4,732</td><td>17,852</td><td>Open</td><td>Comments</td><td>Prothom Alo Online Newspaper</td><td>CNN, LSTM, BERT, GRU, fastText</td></tr><tr><td>EMONOBA (Islam et al., 2022)</td><td colspan=\"2\">Love Joy Surprise Anger Sadness Fear</td><td colspan=\"2\">4,202 9,249 939 3,905 5,109 307</td><td>20,468</td><td>Open</td><td>Comments</td><td>YouTube, Facebook, Twitter, Prothom Alo</td><td>Bi-LSTM, fastText, Bangla-BERT-base</td></tr><tr><td>BANGLABOOK (ours)</td><td colspan=\"2\">Positive Negative Neutral</td><td colspan=\"2\">141,587 9,674 6,804</td><td>158,065</td><td>\\( Open^† \\)</td><td>Book reviews</td><td>Rokomari, Wafilife</td><td>RF, LSTM, LR, GRU MNB, SVM, XGB Bangla-BERT</td></tr></table>",
1033
+ "bbox": [
1034
+ 114,
1035
+ 142,
1036
+ 931,
1037
+ 758
1038
+ ],
1039
+ "page_idx": 8
1040
+ },
1041
+ {
1042
+ "type": "page_number",
1043
+ "text": "1245",
1044
+ "bbox": [
1045
+ 482,
1046
+ 928,
1047
+ 521,
1048
+ 940
1049
+ ],
1050
+ "page_idx": 8
1051
+ },
1052
+ {
1053
+ "type": "text",
1054
+ "text": "A For every submission:",
1055
+ "bbox": [
1056
+ 114,
1057
+ 107,
1058
+ 322,
1059
+ 122
1060
+ ],
1061
+ "page_idx": 9
1062
+ },
1063
+ {
1064
+ "type": "text",
1065
+ "text": "A1. Did you describe the limitations of your work?",
1066
+ "bbox": [
1067
+ 129,
1068
+ 126,
1069
+ 532,
1070
+ 143
1071
+ ],
1072
+ "page_idx": 9
1073
+ },
1074
+ {
1075
+ "type": "text",
1076
+ "text": "Left blank.",
1077
+ "bbox": [
1078
+ 149,
1079
+ 143,
1080
+ 231,
1081
+ 159
1082
+ ],
1083
+ "page_idx": 9
1084
+ },
1085
+ {
1086
+ "type": "text",
1087
+ "text": "A2. Did you discuss any potential risks of your work?",
1088
+ "bbox": [
1089
+ 127,
1090
+ 170,
1091
+ 552,
1092
+ 186
1093
+ ],
1094
+ "page_idx": 9
1095
+ },
1096
+ {
1097
+ "type": "text",
1098
+ "text": "Not applicable. Left blank.",
1099
+ "bbox": [
1100
+ 149,
1101
+ 187,
1102
+ 349,
1103
+ 200
1104
+ ],
1105
+ "page_idx": 9
1106
+ },
1107
+ {
1108
+ "type": "text",
1109
+ "text": "A3. Do the abstract and introduction summarize the paper's main claims?",
1110
+ "bbox": [
1111
+ 129,
1112
+ 212,
1113
+ 695,
1114
+ 229
1115
+ ],
1116
+ "page_idx": 9
1117
+ },
1118
+ {
1119
+ "type": "text",
1120
+ "text": "Left blank.",
1121
+ "bbox": [
1122
+ 151,
1123
+ 230,
1124
+ 231,
1125
+ 244
1126
+ ],
1127
+ "page_idx": 9
1128
+ },
1129
+ {
1130
+ "type": "text",
1131
+ "text": "A4. Have you used AI writing assistants when working on this paper?",
1132
+ "bbox": [
1133
+ 129,
1134
+ 256,
1135
+ 668,
1136
+ 272
1137
+ ],
1138
+ "page_idx": 9
1139
+ },
1140
+ {
1141
+ "type": "text",
1142
+ "text": "Left blank.",
1143
+ "bbox": [
1144
+ 151,
1145
+ 273,
1146
+ 231,
1147
+ 287
1148
+ ],
1149
+ "page_idx": 9
1150
+ },
1151
+ {
1152
+ "type": "text",
1153
+ "text": "B Did you use or create scientific artifacts?",
1154
+ "bbox": [
1155
+ 114,
1156
+ 300,
1157
+ 489,
1158
+ 316
1159
+ ],
1160
+ "page_idx": 9
1161
+ },
1162
+ {
1163
+ "type": "text",
1164
+ "text": "Left blank.",
1165
+ "bbox": [
1166
+ 132,
1167
+ 321,
1168
+ 213,
1169
+ 336
1170
+ ],
1171
+ "page_idx": 9
1172
+ },
1173
+ {
1174
+ "type": "text",
1175
+ "text": "B1. Did you cite the creators of artifacts you used?",
1176
+ "bbox": [
1177
+ 127,
1178
+ 347,
1179
+ 529,
1180
+ 363
1181
+ ],
1182
+ "page_idx": 9
1183
+ },
1184
+ {
1185
+ "type": "text",
1186
+ "text": "Not applicable. Left blank.",
1187
+ "bbox": [
1188
+ 149,
1189
+ 363,
1190
+ 349,
1191
+ 379
1192
+ ],
1193
+ "page_idx": 9
1194
+ },
1195
+ {
1196
+ "type": "text",
1197
+ "text": "B2. Did you discuss the license or terms for use and / or distribution of any artifacts?",
1198
+ "bbox": [
1199
+ 127,
1200
+ 390,
1201
+ 778,
1202
+ 406
1203
+ ],
1204
+ "page_idx": 9
1205
+ },
1206
+ {
1207
+ "type": "text",
1208
+ "text": "Not applicable. Left blank.",
1209
+ "bbox": [
1210
+ 149,
1211
+ 407,
1212
+ 349,
1213
+ 422
1214
+ ],
1215
+ "page_idx": 9
1216
+ },
1217
+ {
1218
+ "type": "text",
1219
+ "text": "B3. Did you discuss if your use of existing artifact(s) was consistent with their intended use, provided that it was specified? For the artifacts you create, do you specify intended use and whether that is compatible with the original access conditions (in particular, derivatives of data accessed for research purposes should not be used outside of research contexts)?",
1220
+ "bbox": [
1221
+ 127,
1222
+ 432,
1223
+ 880,
1224
+ 495
1225
+ ],
1226
+ "page_idx": 9
1227
+ },
1228
+ {
1229
+ "type": "text",
1230
+ "text": "Not applicable. Left blank.",
1231
+ "bbox": [
1232
+ 149,
1233
+ 497,
1234
+ 349,
1235
+ 513
1236
+ ],
1237
+ "page_idx": 9
1238
+ },
1239
+ {
1240
+ "type": "text",
1241
+ "text": "B4. Did you discuss the steps taken to check whether the data that was collected / used contains any information that names or uniquely identifies individual people or offensive content, and the steps taken to protect / anonymize it?",
1242
+ "bbox": [
1243
+ 127,
1244
+ 524,
1245
+ 880,
1246
+ 571
1247
+ ],
1248
+ "page_idx": 9
1249
+ },
1250
+ {
1251
+ "type": "text",
1252
+ "text": "Not applicable. Left blank.",
1253
+ "bbox": [
1254
+ 149,
1255
+ 573,
1256
+ 349,
1257
+ 588
1258
+ ],
1259
+ "page_idx": 9
1260
+ },
1261
+ {
1262
+ "type": "text",
1263
+ "text": "B5. Did you provide documentation of the artifacts, e.g., coverage of domains, languages, and linguistic phenomena, demographic groups represented, etc.?",
1264
+ "bbox": [
1265
+ 127,
1266
+ 599,
1267
+ 880,
1268
+ 631
1269
+ ],
1270
+ "page_idx": 9
1271
+ },
1272
+ {
1273
+ "type": "text",
1274
+ "text": "Not applicable. Left blank.",
1275
+ "bbox": [
1276
+ 149,
1277
+ 632,
1278
+ 349,
1279
+ 646
1280
+ ],
1281
+ "page_idx": 9
1282
+ },
1283
+ {
1284
+ "type": "text",
1285
+ "text": "B6. Did you report relevant statistics like the number of examples, details of train / test / dev splits, etc. for the data that you used / created? Even for commonly-used benchmark datasets, include the number of examples in train / validation / test splits, as these provide necessary context for a reader to understand experimental results. For example, small differences in accuracy on large test sets may be significant, while on small test sets they may not be.",
1286
+ "bbox": [
1287
+ 129,
1288
+ 657,
1289
+ 880,
1290
+ 739
1291
+ ],
1292
+ "page_idx": 9
1293
+ },
1294
+ {
1295
+ "type": "text",
1296
+ "text": "Left blank.",
1297
+ "bbox": [
1298
+ 149,
1299
+ 740,
1300
+ 231,
1301
+ 753
1302
+ ],
1303
+ "page_idx": 9
1304
+ },
1305
+ {
1306
+ "type": "text",
1307
+ "text": "C Did you run computational experiments?",
1308
+ "bbox": [
1309
+ 114,
1310
+ 764,
1311
+ 492,
1312
+ 781
1313
+ ],
1314
+ "page_idx": 9
1315
+ },
1316
+ {
1317
+ "type": "text",
1318
+ "text": "Left blank.",
1319
+ "bbox": [
1320
+ 132,
1321
+ 785,
1322
+ 213,
1323
+ 801
1324
+ ],
1325
+ "page_idx": 9
1326
+ },
1327
+ {
1328
+ "type": "text",
1329
+ "text": "C1. Did you report the number of parameters in the models used, the total computational budget (e.g., GPU hours), and computing infrastructure used?",
1330
+ "bbox": [
1331
+ 129,
1332
+ 813,
1333
+ 880,
1334
+ 845
1335
+ ],
1336
+ "page_idx": 9
1337
+ },
1338
+ {
1339
+ "type": "text",
1340
+ "text": "Left blank.",
1341
+ "bbox": [
1342
+ 151,
1343
+ 846,
1344
+ 231,
1345
+ 860
1346
+ ],
1347
+ "page_idx": 9
1348
+ },
1349
+ {
1350
+ "type": "text",
1351
+ "text": "The Responsible NLP Checklist used at ACL 2023 is adopted from NAACL 2022, with the addition of a question on AI writing assistance.",
1352
+ "bbox": [
1353
+ 112,
1354
+ 868,
1355
+ 877,
1356
+ 892
1357
+ ],
1358
+ "page_idx": 9
1359
+ },
1360
+ {
1361
+ "type": "header",
1362
+ "text": "ACL 2023 Responsible NLP Checklist",
1363
+ "bbox": [
1364
+ 132,
1365
+ 84,
1366
+ 433,
1367
+ 99
1368
+ ],
1369
+ "page_idx": 9
1370
+ },
1371
+ {
1372
+ "type": "page_number",
1373
+ "text": "1246",
1374
+ "bbox": [
1375
+ 482,
1376
+ 928,
1377
+ 521,
1378
+ 940
1379
+ ],
1380
+ "page_idx": 9
1381
+ },
1382
+ {
1383
+ "type": "list",
1384
+ "sub_type": "text",
1385
+ "list_items": [
1386
+ "C2. Did you discuss the experimental setup, including hyperparameter search and best-found hyperparameter values? Left blank.",
1387
+ "C3. Did you report descriptive statistics about your results (e.g., error bars around results, summary statistics from sets of experiments), and is it transparent whether you are reporting the max, mean, etc. or just a single run? Left blank.",
1388
+ "C4. If you used existing packages (e.g., for preprocessing, for normalization, or for evaluation), did you report the implementation, model, and parameter settings used (e.g., NLTK, Spacy, ROUGE, etc.)? Left blank."
1389
+ ],
1390
+ "bbox": [
1391
+ 129,
1392
+ 84,
1393
+ 880,
1394
+ 282
1395
+ ],
1396
+ "page_idx": 10
1397
+ },
1398
+ {
1399
+ "type": "text",
1400
+ "text": "D Did you use human annotators (e.g., crowdworkers) or research with human participants? Left blank.",
1401
+ "bbox": [
1402
+ 112,
1403
+ 293,
1404
+ 877,
1405
+ 330
1406
+ ],
1407
+ "page_idx": 10
1408
+ },
1409
+ {
1410
+ "type": "list",
1411
+ "sub_type": "text",
1412
+ "list_items": [
1413
+ "D1. Did you report the full text of instructions given to participants, including e.g., screenshots, disclaimers of any risks to participants or annotators, etc.? Not applicable. Left blank.",
1414
+ "D2. Did you report information about how you recruited (e.g., crowdsourcing platform, students) and paid participants, and discuss if such payment is adequate given the participants' demographic (e.g., country of residence)? Not applicable. Left blank.",
1415
+ "D3. Did you discuss whether and how consent was obtained from people whose data you're using/curating? For example, if you collected data via crowdsourcing, did your instructions to crowdworkers explain how the data would be used? Not applicable. Left blank.",
1416
+ "D4. Was the data collection protocol approved (or determined exempt) by an ethics review board? Not applicable. Left blank.",
1417
+ "D5. Did you report the basic demographic and geographic characteristics of the annotator population that is the source of the data? Not applicable. Left blank."
1418
+ ],
1419
+ "bbox": [
1420
+ 127,
1421
+ 340,
1422
+ 880,
1423
+ 640
1424
+ ],
1425
+ "page_idx": 10
1426
+ },
1427
+ {
1428
+ "type": "page_number",
1429
+ "text": "1247",
1430
+ "bbox": [
1431
+ 482,
1432
+ 928,
1433
+ 519,
1434
+ 940
1435
+ ],
1436
+ "page_idx": 10
1437
+ }
1438
+ ]
2023/BanglaBook_ A Large-scale Bangla Dataset for Sentiment Analysis from Book Reviews/28378eaf-0a48-458e-a698-291e5038e7bf_model.json ADDED
@@ -0,0 +1,2004 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ [
3
+ {
4
+ "type": "title",
5
+ "bbox": [
6
+ 0.14,
7
+ 0.083,
8
+ 0.861,
9
+ 0.121
10
+ ],
11
+ "angle": 0,
12
+ "content": "BANGLABOOK: A Large-scale Bangla Dataset for Sentiment Analysis from Book Reviews"
13
+ },
14
+ {
15
+ "type": "text",
16
+ "bbox": [
17
+ 0.241,
18
+ 0.131,
19
+ 0.764,
20
+ 0.165
21
+ ],
22
+ "angle": 0,
23
+ "content": "Mohsinul Kabir*, Obayed Bin Mahfuz*, Syed Rifat Raiyan*, Hasan Mahmud, Md Kamrul Hasan"
24
+ },
25
+ {
26
+ "type": "text",
27
+ "bbox": [
28
+ 0.365,
29
+ 0.166,
30
+ 0.639,
31
+ 0.182
32
+ ],
33
+ "angle": 0,
34
+ "content": "Systems and Software Lab (SSL)"
35
+ },
36
+ {
37
+ "type": "text",
38
+ "bbox": [
39
+ 0.297,
40
+ 0.183,
41
+ 0.708,
42
+ 0.199
43
+ ],
44
+ "angle": 0,
45
+ "content": "Department of Computer Science and Engineering"
46
+ },
47
+ {
48
+ "type": "text",
49
+ "bbox": [
50
+ 0.282,
51
+ 0.199,
52
+ 0.721,
53
+ 0.215
54
+ ],
55
+ "angle": 0,
56
+ "content": "Islamic University of Technology, Dhaka, Bangladesh"
57
+ },
58
+ {
59
+ "type": "text",
60
+ "bbox": [
61
+ 0.185,
62
+ 0.216,
63
+ 0.821,
64
+ 0.232
65
+ ],
66
+ "angle": 0,
67
+ "content": "{mohsinulkabir, siam, rifatraiyan, hasan, hasank}@iut-dhaka.edu"
68
+ },
69
+ {
70
+ "type": "title",
71
+ "bbox": [
72
+ 0.261,
73
+ 0.253,
74
+ 0.341,
75
+ 0.268
76
+ ],
77
+ "angle": 0,
78
+ "content": "Abstract"
79
+ },
80
+ {
81
+ "type": "text",
82
+ "bbox": [
83
+ 0.145,
84
+ 0.281,
85
+ 0.461,
86
+ 0.678
87
+ ],
88
+ "angle": 0,
89
+ "content": "The analysis of consumer sentiment, as expressed through reviews, can provide a wealth of insight regarding the quality of a product. While the study of sentiment analysis has been widely explored in many popular languages, relatively less attention has been given to the Bangla language, mostly due to a lack of relevant data and cross-domain adaptability. To address this limitation, we present BANGLABOOK, a large-scale dataset of Bangla book reviews consisting of 158,065 samples classified into three broad categories: positive, negative, and neutral. We provide a detailed statistical analysis of the dataset and employ a range of machine learning models to establish baselines including SVM, LSTM, and Bangla-BERT. Our findings demonstrate a substantial performance advantage of pretrained models over models that rely on manually crafted features, emphasizing the necessity for additional training resources in this domain. Additionally, we conduct an in-depth error analysis by examining sentiment unigrams, which may provide insight into common classification errors in under-resourced languages like Bangla. Our codes and data are publicly available at https://github.com/mohsinulkabir14/BanglaBook."
90
+ },
91
+ {
92
+ "type": "title",
93
+ "bbox": [
94
+ 0.115,
95
+ 0.69,
96
+ 0.26,
97
+ 0.705
98
+ ],
99
+ "angle": 0,
100
+ "content": "1 Introduction"
101
+ },
102
+ {
103
+ "type": "text",
104
+ "bbox": [
105
+ 0.113,
106
+ 0.715,
107
+ 0.49,
108
+ 0.86
109
+ ],
110
+ "angle": 0,
111
+ "content": "The resources publicly available for scholarly investigation in the realm of Sentiment Analysis (SA) for the Bangla language are scarce and limited in quantity (Khatun and Rabeya, 2022; Sazzed, 2021; Rahman et al., 2019) despite its literary gravitas as the \\(6^{\\text{th}}\\) most spoken language\\(^{1}\\) in the world with approximately 200 million speakers. In the existing literature on Bangla Text SA, as shown in Table 5, the largest dataset consists"
112
+ },
113
+ {
114
+ "type": "text",
115
+ "bbox": [
116
+ 0.508,
117
+ 0.253,
118
+ 0.886,
119
+ 0.768
120
+ ],
121
+ "angle": 0,
122
+ "content": "of 20,468 samples (Islam et al., 2022) while the smallest has a mere 1,050 samples (Tabassum and Khan, 2019). Besides these, Islam et al. (2020) created a dataset consisting of 17,852 samples and Islam et al. (2021) utilized a dataset of 15,728 samples. All other datasets apart from these either have \\(< 15,000\\) samples or are publicly unavailable. Another limitation of the existing research works in Bangla Text SA is the deficiency of datasets having product-specific review samples. Most of the available Bangla SA datasets are focused on user-generated textual content from cyberspace. The insights derived from these may not accurately represent sentiment in the context of product reviews, thus hindering their usefulness for businesses. The tonal and linguistic analysis of reviews from product-specific datasets can aid businesses to gain valuable insights into customer attitudes, preferences, and experiences which can then be leveraged to improve products and services, design targeted marketing campaigns, and make more informed business decisions. In this paper, we introduce a large-scale dataset, BANGLABOOK, consisting of 158,065 samples of book reviews collected from online bookshops written in the Bangla language. This is the largest dataset for Bangla sentiment analysis to the best of our knowledge. We perform an analysis of the dataset's statistical characteristics, employ various ML techniques to establish a performance benchmark for validating the dataset, and also conduct a thorough evaluation of the classification errors."
123
+ },
124
+ {
125
+ "type": "title",
126
+ "bbox": [
127
+ 0.509,
128
+ 0.78,
129
+ 0.729,
130
+ 0.794
131
+ ],
132
+ "angle": 0,
133
+ "content": "2 Dataset Construction"
134
+ },
135
+ {
136
+ "type": "text",
137
+ "bbox": [
138
+ 0.508,
139
+ 0.805,
140
+ 0.885,
141
+ 0.885
142
+ ],
143
+ "angle": 0,
144
+ "content": "In order to create this dataset, we collect a total of 204,659 book reviews from two online bookshops (Rokomari² and Wafilife³) using a web scraper developed with several Python libraries, including BeautifulSoup, Selenium, Pandas, Openpyxl,"
145
+ },
146
+ {
147
+ "type": "text",
148
+ "bbox": [
149
+ 0.53,
150
+ 0.891,
151
+ 0.732,
152
+ 0.905
153
+ ],
154
+ "angle": 0,
155
+ "content": "\\(^{2}\\)https://www.rokomari.com/"
156
+ },
157
+ {
158
+ "type": "text",
159
+ "bbox": [
160
+ 0.53,
161
+ 0.905,
162
+ 0.732,
163
+ 0.918
164
+ ],
165
+ "angle": 0,
166
+ "content": "<sup>3</sup>https://www.wafilife.com/"
167
+ },
168
+ {
169
+ "type": "list",
170
+ "bbox": [
171
+ 0.53,
172
+ 0.891,
173
+ 0.732,
174
+ 0.918
175
+ ],
176
+ "angle": 0,
177
+ "content": null
178
+ },
179
+ {
180
+ "type": "page_footnote",
181
+ "bbox": [
182
+ 0.114,
183
+ 0.868,
184
+ 0.488,
185
+ 0.894
186
+ ],
187
+ "angle": 0,
188
+ "content": "*These authors contributed equally to this work. Author names are in alphabetic order."
189
+ },
190
+ {
191
+ "type": "page_footnote",
192
+ "bbox": [
193
+ 0.114,
194
+ 0.894,
195
+ 0.434,
196
+ 0.906
197
+ ],
198
+ "angle": 0,
199
+ "content": "1https://en.wikipedia.org/wiki/List_of_"
200
+ },
201
+ {
202
+ "type": "page_footnote",
203
+ "bbox": [
204
+ 0.114,
205
+ 0.906,
206
+ 0.4,
207
+ 0.919
208
+ ],
209
+ "angle": 0,
210
+ "content": "languages_by_total_number_of-speakers"
211
+ },
212
+ {
213
+ "type": "list",
214
+ "bbox": [
215
+ 0.114,
216
+ 0.868,
217
+ 0.488,
218
+ 0.919
219
+ ],
220
+ "angle": 0,
221
+ "content": null
222
+ },
223
+ {
224
+ "type": "page_number",
225
+ "bbox": [
226
+ 0.482,
227
+ 0.928,
228
+ 0.521,
229
+ 0.941
230
+ ],
231
+ "angle": 0,
232
+ "content": "1237"
233
+ },
234
+ {
235
+ "type": "footer",
236
+ "bbox": [
237
+ 0.229,
238
+ 0.946,
239
+ 0.769,
240
+ 0.959
241
+ ],
242
+ "angle": 0,
243
+ "content": "Findings of the Association for Computational Linguistics: ACL 2023, pages 1237-1247"
244
+ },
245
+ {
246
+ "type": "footer",
247
+ "bbox": [
248
+ 0.297,
249
+ 0.96,
250
+ 0.702,
251
+ 0.973
252
+ ],
253
+ "angle": 0,
254
+ "content": "July 9-14, 2023 ©2023 Association for Computational Linguistics"
255
+ }
256
+ ],
257
+ [
258
+ {
259
+ "type": "table",
260
+ "bbox": [
261
+ 0.274,
262
+ 0.082,
263
+ 0.725,
264
+ 0.235
265
+ ],
266
+ "angle": 0,
267
+ "content": "<table><tr><td>Source</td><td>Language</td><td>Annotated</td><td>Unannotated</td><td>Total</td></tr><tr><td rowspan=\"4\">Rokomari</td><td>Bangla</td><td>84,672</td><td>24,806</td><td>109,478</td></tr><tr><td>Bangla† + English</td><td>56,485</td><td>15,408</td><td>71,893</td></tr><tr><td>Bangla + Bangla† + English</td><td>13,144</td><td>4,114</td><td>17,258</td></tr><tr><td>Total</td><td>154,301</td><td>44,328</td><td>198,629</td></tr><tr><td rowspan=\"4\">Wafilife</td><td>Bangla</td><td>4,699</td><td>59</td><td>4,758</td></tr><tr><td>Bangla† + English</td><td>370</td><td>3</td><td>373</td></tr><tr><td>Bangla + Bangla† + English</td><td>896</td><td>3</td><td>899</td></tr><tr><td>Total</td><td>5,965</td><td>65</td><td>6,030</td></tr><tr><td rowspan=\"4\"></td><td>Bangla</td><td>89,371</td><td>24,865</td><td>114,237</td></tr><tr><td>Bangla† + English</td><td>56,855</td><td>15,411</td><td>72,266</td></tr><tr><td>Bangla + Bangla† + English</td><td>14,040</td><td>4,117</td><td>18,157</td></tr><tr><td>Total</td><td>160,266</td><td>44,393</td><td>204,659</td></tr><tr><td></td><td>Untranslated Data (Removed)</td><td>2,201</td><td></td><td></td></tr><tr><td></td><td>Final Dataset Size</td><td>158,065</td><td></td><td></td></tr></table>"
268
+ },
269
+ {
270
+ "type": "table_caption",
271
+ "bbox": [
272
+ 0.212,
273
+ 0.238,
274
+ 0.782,
275
+ 0.253
276
+ ],
277
+ "angle": 0,
278
+ "content": "Table 1: Summary statistics of our dataset. Bangla† denotes Romanized Bangla text."
279
+ },
280
+ {
281
+ "type": "text",
282
+ "bbox": [
283
+ 0.113,
284
+ 0.267,
285
+ 0.486,
286
+ 0.297
287
+ ],
288
+ "angle": 0,
289
+ "content": "and Webdriver, to collect and process the raw data."
290
+ },
291
+ {
292
+ "type": "text",
293
+ "bbox": [
294
+ 0.113,
295
+ 0.3,
296
+ 0.49,
297
+ 0.428
298
+ ],
299
+ "angle": 0,
300
+ "content": "For the data collection and preparation process of the BANGLABOOK dataset, we first compile a list of URLs for authors from online bookstores. From there, we procure URLs for the books. We meticulously scrape information such as book titles, author names, book categories, review texts, reviewer names, review dates, and ratings by utilizing these book URLs."
301
+ },
302
+ {
303
+ "type": "table",
304
+ "bbox": [
305
+ 0.162,
306
+ 0.44,
307
+ 0.443,
308
+ 0.54
309
+ ],
310
+ "angle": 0,
311
+ "content": "<table><tr><td rowspan=\"5\">General Properties</td><td># of Reviews</td><td>158,065</td></tr><tr><td># of Books</td><td>30,253</td></tr><tr><td># of Reviewers</td><td>44,616</td></tr><tr><td># of Categories</td><td>1,573</td></tr><tr><td>Total Review Words</td><td>44,429,201</td></tr><tr><td rowspan=\"3\">Single Review</td><td>max. Word length</td><td>765</td></tr><tr><td>min. Word length</td><td>1</td></tr><tr><td>avg. Word length</td><td>281.08</td></tr></table>"
312
+ },
313
+ {
314
+ "type": "table_caption",
315
+ "bbox": [
316
+ 0.143,
317
+ 0.543,
318
+ 0.457,
319
+ 0.556
320
+ ],
321
+ "angle": 0,
322
+ "content": "Table 2: General overview of BANGLABOOK."
323
+ },
324
+ {
325
+ "type": "title",
326
+ "bbox": [
327
+ 0.114,
328
+ 0.576,
329
+ 0.345,
330
+ 0.591
331
+ ],
332
+ "angle": 0,
333
+ "content": "2.1 Labeling & Translation"
334
+ },
335
+ {
336
+ "type": "text",
337
+ "bbox": [
338
+ 0.113,
339
+ 0.598,
340
+ 0.49,
341
+ 0.92
342
+ ],
343
+ "angle": 0,
344
+ "content": "If a review does not have a rating, we deem it unannotated. Reviews with a rating of 1 or 2 are classified as negative, a rating of 3 is considered neutral, and a rating of 4 or 5 is classified as positive. Two manual experiments are carried out to validate the use of ratings as a measure of sentiment in product reviews. In the first experiment, around \\(10\\%\\) of the reviews are randomly selected and annotated manually. The annotated labels are cross-checked with the original labels, resulting in a \\(96.7\\%\\) accuracy in the corresponding labels. In addition, we consult the work of Wang et al. (2020) that explored the issue of incongruous sentiment expressions with regard to ratings. Specifically, the study scrutinized two categories of reviews: high ratings lacking a positive sentiment, and low ratings lacking a negative sentiment. We perform an analysis to identify such inconsistencies within our dataset and discovered that only a minuscule \\(3.41\\%\\) of the samples exhibited this pattern. This figure is rela"
345
+ },
346
+ {
347
+ "type": "text",
348
+ "bbox": [
349
+ 0.509,
350
+ 0.267,
351
+ 0.884,
352
+ 0.299
353
+ ],
354
+ "angle": 0,
355
+ "content": "tively insignificant when considering the substantially large scale of our dataset."
356
+ },
357
+ {
358
+ "type": "image",
359
+ "bbox": [
360
+ 0.517,
361
+ 0.311,
362
+ 0.679,
363
+ 0.432
364
+ ],
365
+ "angle": 0,
366
+ "content": null
367
+ },
368
+ {
369
+ "type": "image_caption",
370
+ "bbox": [
371
+ 0.518,
372
+ 0.439,
373
+ 0.678,
374
+ 0.451
375
+ ],
376
+ "angle": 0,
377
+ "content": "(a) Sentiment Distribution"
378
+ },
379
+ {
380
+ "type": "image",
381
+ "bbox": [
382
+ 0.682,
383
+ 0.319,
384
+ 0.876,
385
+ 0.433
386
+ ],
387
+ "angle": 0,
388
+ "content": null
389
+ },
390
+ {
391
+ "type": "image_caption",
392
+ "bbox": [
393
+ 0.708,
394
+ 0.439,
395
+ 0.848,
396
+ 0.451
397
+ ],
398
+ "angle": 0,
399
+ "content": "(b) Rating Distribution"
400
+ },
401
+ {
402
+ "type": "image_caption",
403
+ "bbox": [
404
+ 0.533,
405
+ 0.457,
406
+ 0.857,
407
+ 0.471
408
+ ],
409
+ "angle": 0,
410
+ "content": "Figure 1: Class Distribution of BANGLABOOK."
411
+ },
412
+ {
413
+ "type": "text",
414
+ "bbox": [
415
+ 0.508,
416
+ 0.476,
417
+ 0.885,
418
+ 0.782
419
+ ],
420
+ "angle": 0,
421
+ "content": "After discarding the unannotated reviews, we curate a final dataset of 158,065 annotated reviews. Of these, 89,371 are written entirely in Bangla. The remaining 68,694 reviews were written in Romanized Bangla, English, or a mix of languages. They are translated into Bangla with Google Translator and a custom Python program using the googletrans library. The translations are subsequently subjected to manual review and scrutiny to confirm their accuracy. The majority of inaccurate translations primarily comprise spelling errors and instances where English words remain untranslated within samples containing a combination of Bangla and English text. The meticulous evaluation process of untranslated samples involves a thorough assessment by post-graduate native Bangla speakers, who critically compare the translated text against the original untranslated text to ascertain the correctness of the translation."
422
+ },
423
+ {
424
+ "type": "title",
425
+ "bbox": [
426
+ 0.509,
427
+ 0.796,
428
+ 0.709,
429
+ 0.813
430
+ ],
431
+ "angle": 0,
432
+ "content": "3 Statistical Analysis"
433
+ },
434
+ {
435
+ "type": "text",
436
+ "bbox": [
437
+ 0.508,
438
+ 0.823,
439
+ 0.885,
440
+ 0.919
441
+ ],
442
+ "angle": 0,
443
+ "content": "Tables 1 and 2 provide an overview of the statistical properties of the BANGLABOOK dataset. The sentiment doughnut chart in Figure-1a illustrates the proportion of positive, neutral, and negative reviews, while the rating doughnut chart in Figure-1b displays the percentage of reviews that corre"
444
+ },
445
+ {
446
+ "type": "page_number",
447
+ "bbox": [
448
+ 0.483,
449
+ 0.928,
450
+ 0.521,
451
+ 0.941
452
+ ],
453
+ "angle": 0,
454
+ "content": "1238"
455
+ }
456
+ ],
457
+ [
458
+ {
459
+ "type": "table",
460
+ "bbox": [
461
+ 0.131,
462
+ 0.082,
463
+ 0.871,
464
+ 0.232
465
+ ],
466
+ "angle": 0,
467
+ "content": "<table><tr><td>Method</td><td>Negative</td><td>Neutral</td><td>Positive</td><td>Weighted Avg.</td></tr><tr><td>Random Forest (word 2-gram + word 3-gram)</td><td>0.56</td><td>0.34</td><td>0.96</td><td>0.9106</td></tr><tr><td>SVM (word 2-gram + word 3-gram)</td><td>0.40</td><td>0.15</td><td>1.00</td><td>0.9053</td></tr><tr><td>Random Forest (word 1-gram)</td><td>0.48</td><td>0.35</td><td>0.96</td><td>0.9043</td></tr><tr><td>Logistic Regression (char 2-gram + char 3-gram)</td><td>0.55</td><td>0.13</td><td>0.96</td><td>0.8978</td></tr><tr><td>Bangla-BERT (base-uncased)</td><td>0.60</td><td>0.22</td><td>0.96</td><td>0.9064</td></tr><tr><td>Logistic Regression (word 2-gram + word 3-gram)</td><td>0.53</td><td>0.13</td><td>0.96</td><td>0.8964</td></tr><tr><td>Bangla-BERT (large)</td><td>0.72</td><td>0.40</td><td>0.97</td><td>0.9331</td></tr><tr><td>XGBoost (char 2-gram + char 3-gram)</td><td>0.31</td><td>0.02</td><td>0.95</td><td>0.8723</td></tr><tr><td>Multinomial NB (word 2-gram + word 3-gram)</td><td>0.23</td><td>0.03</td><td>0.95</td><td>0.8663</td></tr><tr><td>LSTM (GloVe)</td><td>0.11</td><td>0.00</td><td>0.10</td><td>0.0991</td></tr><tr><td>XGBoost (word 2-gram + word 3-gram)</td><td>0.23</td><td>0.01</td><td>0.95</td><td>0.8651</td></tr><tr><td>Multinomial NB (BoW)</td><td>0.18</td><td>0.05</td><td>0.94</td><td>0.8564</td></tr><tr><td>SVM (word 1-gram)</td><td>0.08</td><td>0.04</td><td>0.94</td><td>0.8519</td></tr></table>"
468
+ },
469
+ {
470
+ "type": "table_caption",
471
+ "bbox": [
472
+ 0.114,
473
+ 0.236,
474
+ 0.882,
475
+ 0.251
476
+ ],
477
+ "angle": 0,
478
+ "content": "Table 3: Catergory-wise Binary Task F1-score and Weighted Average F1-score of each method on BANGLABOOK."
479
+ },
480
+ {
481
+ "type": "text",
482
+ "bbox": [
483
+ 0.114,
484
+ 0.265,
485
+ 0.415,
486
+ 0.279
487
+ ],
488
+ "angle": 0,
489
+ "content": "spond to each rating on a scale of 1 to 5."
490
+ },
491
+ {
492
+ "type": "text",
493
+ "bbox": [
494
+ 0.113,
495
+ 0.28,
496
+ 0.49,
497
+ 0.651
498
+ ],
499
+ "angle": 0,
500
+ "content": "Upon analyzing the sentiment chart, it appears that the majority of the reviews \\((124,084 + 17,503 = 141,587\\) samples) are positive, with a significant portion also being negative \\((2,728 + 6,946 = 9,674\\) samples). A relatively small fraction of the reviews are neutral (6,804 samples). This suggests that overall, the books have been well received by the readers, with the majority expressing favorable opinions. The distribution of the dataset is representative of real-world scenarios and it tessellates well with previous content analysis works on book reviews (Lin et al., 2005; Sorensen and Rasmussen, 2004). In Figure-2, we can visualize an illustration of the sentiment distribution among the 5 most frequently reviewed categories of books. We can gain some salient insights from the popularity of these genres. Contemporary novels are bestsellers as they reflect current events, social issues, and trends, making them relatable and thought-provoking for the readers while self-help and religious books provide guidance, inspiration, and a sense of purpose, catering to individuals' quest for personal growth and spiritual fulfillment."
501
+ },
502
+ {
503
+ "type": "title",
504
+ "bbox": [
505
+ 0.114,
506
+ 0.663,
507
+ 0.383,
508
+ 0.694
509
+ ],
510
+ "angle": 0,
511
+ "content": "4 Developing Benchmark for BANGLABOOK"
512
+ },
513
+ {
514
+ "type": "text",
515
+ "bbox": [
516
+ 0.113,
517
+ 0.7,
518
+ 0.49,
519
+ 0.795
520
+ ],
521
+ "angle": 0,
522
+ "content": "A series of baseline models with combinations of different lexical and semantic features are chosen to evaluate the BANGLABOOK dataset. An overview of the models, evaluation metrics, results, and analysis of the experimental results are provided in this section."
523
+ },
524
+ {
525
+ "type": "title",
526
+ "bbox": [
527
+ 0.114,
528
+ 0.808,
529
+ 0.38,
530
+ 0.822
531
+ ],
532
+ "angle": 0,
533
+ "content": "4.1 Baseline Models & Features"
534
+ },
535
+ {
536
+ "type": "text",
537
+ "bbox": [
538
+ 0.113,
539
+ 0.824,
540
+ 0.49,
541
+ 0.919
542
+ ],
543
+ "angle": 0,
544
+ "content": "For the lexical features, we extract bag-of-words (BoW), char \\( n \\)-grams (1-3), and word \\( n \\)-grams (1-3) from the reviews as these representations have performed well in different classification tasks (Islam et al., 2022). After extracting the features, they are vectorized using TF-IDF and count vec"
545
+ },
546
+ {
547
+ "type": "image",
548
+ "bbox": [
549
+ 0.526,
550
+ 0.277,
551
+ 0.875,
552
+ 0.497
553
+ ],
554
+ "angle": 0,
555
+ "content": null
556
+ },
557
+ {
558
+ "type": "image_caption",
559
+ "bbox": [
560
+ 0.508,
561
+ 0.51,
562
+ 0.885,
563
+ 0.61
564
+ ],
565
+ "angle": 0,
566
+ "content": "Figure 2: Sentiment Distribution of top 5 most popular genres. In clockwise order, वस्थकालीन अप्रति स (Contemporary Novel), वस्थकालीन अप्रति तूधोत्तिक तूधोत्तिक तूधोत्तिक तूधोत्तिक तूधोत्तिक (Islamic Ideals and Doctrines), वस्थकालीन वर्षेहि तूधोत्तिक तूधोत्तिक तूधोत्तिक (Islamic Books: Self-Development), वस्थकालीन वर्षेहि तूधोत्तिक तूधोत्तिक (Student Life Development), वस्थकालीन वर्षेहि तूधोत्तिक तूधोत्तिक (Translated Books: Self-Development and Meditation)."
567
+ },
568
+ {
569
+ "type": "text",
570
+ "bbox": [
571
+ 0.508,
572
+ 0.63,
573
+ 0.885,
574
+ 0.919
575
+ ],
576
+ "angle": 0,
577
+ "content": "torizer and trained on a series of ML models such as Random Forest (Breiman, 2001), XGBoost (Chen and Guestrin, 2016), linear SVM (Cortes and Vapnik, 1995), Logistic Regression (le Cessie and van Houwelingen, 1992) and Multinomial Naive Bayes (John and Langley, 1995). We choose LSTM (Hochreiter and Schmidhuber, 1997) with GloVe (Pennington et al., 2014) embedding for its ability to understand context along with recent dependency. We also fine-tuned two available transformer-based models in Bangla: Bangla-BERT (base-uncased) (110M parameters) (Sarker, 2020) and Bangla-BERT (large) (2.5B parameters) (Bhattacharjee et al., 2022), due to the recent success of BERT (Devlin et al., 2019) in various downstream NLP tasks. We select F1-score and weighted average F1-score to evaluate the models because the dataset has an un"
578
+ },
579
+ {
580
+ "type": "page_number",
581
+ "bbox": [
582
+ 0.483,
583
+ 0.928,
584
+ 0.521,
585
+ 0.941
586
+ ],
587
+ "angle": 0,
588
+ "content": "1239"
589
+ }
590
+ ],
591
+ [
592
+ {
593
+ "type": "table",
594
+ "bbox": [
595
+ 0.117,
596
+ 0.081,
597
+ 0.885,
598
+ 0.224
599
+ ],
600
+ "angle": 0,
601
+ "content": "<table><tr><td>Class</td><td>10 Most Frequent Words</td></tr><tr><td>Positive</td><td>बालेला (good), शन्तर (nice), अस्थान्यारुँ (extraordinary), दूपाकोँ (splendid), वर्णा (best), सहानुँ (facile), धनाकोर (beautiful), अश्थि (hope), वन्तर्यादित (gratefulness), अलामान्यारुँ, वल्तर्यादित (gratitude)</td></tr><tr><td>Neutral</td><td>बालेला (good), शन्तर (nice), अशरागोँ (bad), वन्तार्यादित (average), वल (fault), वर्णारेम (hope), सहानुँ (facile), धनाकोर (extraordinary), कम्ज (low), वन्तर्यादित (splendid)</td></tr><tr><td>Negative</td><td>बालेला (good), वल्तर (trash), अशरागोँ (bad), वल (fault), वर्णारेम (nice), वर्णारेम (hope), वति (waste), कम्ज (useless), वन्तर्यादित (disappointment), कम्ज (low)</td></tr></table>"
602
+ },
603
+ {
604
+ "type": "table_caption",
605
+ "bbox": [
606
+ 0.113,
607
+ 0.226,
608
+ 0.884,
609
+ 0.259
610
+ ],
611
+ "angle": 0,
612
+ "content": "Table 4: Most frequent word unigrams conveying the strongest sentiments of each class with English translation. The colors respectively denote Positive, Neutral and Negative sentiments."
613
+ },
614
+ {
615
+ "type": "image",
616
+ "bbox": [
617
+ 0.195,
618
+ 0.27,
619
+ 0.413,
620
+ 0.419
621
+ ],
622
+ "angle": 0,
623
+ "content": null
624
+ },
625
+ {
626
+ "type": "image_caption",
627
+ "bbox": [
628
+ 0.129,
629
+ 0.422,
630
+ 0.473,
631
+ 0.437
632
+ ],
633
+ "angle": 0,
634
+ "content": "Figure 3: Confusion Matrix for Bangla-BERT"
635
+ },
636
+ {
637
+ "type": "text",
638
+ "bbox": [
639
+ 0.113,
640
+ 0.452,
641
+ 0.49,
642
+ 0.611
643
+ ],
644
+ "angle": 0,
645
+ "content": "even class distribution. F1-score is the harmonic mean of precision and recall and it helps balance the metric across the imbalanced positive/negative samples (Sokolova et al., 2006). All our experiments are done using scikit-learn, pytorch, and transformers (Vaswani et al., 2017) and run on Google Colaboratory. The training, testing, and validation split of the entire dataset was 70-20-10 with previously unseen samples in the test and validation set."
646
+ },
647
+ {
648
+ "type": "title",
649
+ "bbox": [
650
+ 0.114,
651
+ 0.625,
652
+ 0.312,
653
+ 0.64
654
+ ],
655
+ "angle": 0,
656
+ "content": "4.2 Results & Findings"
657
+ },
658
+ {
659
+ "type": "text",
660
+ "bbox": [
661
+ 0.113,
662
+ 0.646,
663
+ 0.49,
664
+ 0.92
665
+ ],
666
+ "angle": 0,
667
+ "content": "Table 3 summarizes the experimental results for BANGLABOOK. Results show that BanglaBERT (large) outperforms all other models by a clear margin. Also, the combination of word/char 2-gram and word/char 3-gram perform exceptionally well with respective classifiers. Our hypothesis is that these two features result in a large number of unique word and character combinations, aiding the models' ability to generalize effectively across categories. Islam et al. (2022, 2021); Taher et al. (2018) concur on the same verdict by implying that the task predominantly relies on word units, with minimal dependence on subword level information and the nature of the Bangla language itself. Furthermore, Majumder et al. (2002) outlined the suitability of \\( n \\)-gram approaches in generating language profiles for Indo"
668
+ },
669
+ {
670
+ "type": "text",
671
+ "bbox": [
672
+ 0.508,
673
+ 0.27,
674
+ 0.885,
675
+ 0.559
676
+ ],
677
+ "angle": 0,
678
+ "content": "European languages in their work. The bag-of-words (BoW) feature is inept at classifying the corresponding categories because of its inability to capture critical contextual information and nuance (Zheng and Casari, 2018). Although word 1-gram does not outperform word 2-gram and word 3-gram, it does predict the 'Neutral' class well. Both the pre-trained Bangla-BERT models perform fairly consistently across all categories on the BANGLABOOK dataset, demonstrating the usefulness of contextual understanding and transfer learning in classification tasks even in low-resource languages like Bangla. The LSTM model with GloVe embedding recognizes the 'Negative' and 'Positive' classes very marginally and fails completely to identify the 'Neutral' category. It is also notable that, SVM with bigram and trigram achieves perfect scores in the 'Positive' class."
679
+ },
680
+ {
681
+ "type": "text",
682
+ "bbox": [
683
+ 0.508,
684
+ 0.561,
685
+ 0.884,
686
+ 0.77
687
+ ],
688
+ "angle": 0,
689
+ "content": "To summarize, the utilization of pre-trained models (i.e. Bangla-BERT) that undergo training on extensive corpora, leading to exposure to extensive general language knowledge, has significantly contributed to their superior classification performance compared to other models and word embeddings. Additionally, models trained on handcrafted features also perform significantly well. It should be noted that Bangla pre-trained models are currently undergoing development, and further training on expansive corpora has the potential to enhance their ability to generalize and achieve even more impressive results."
690
+ },
691
+ {
692
+ "type": "title",
693
+ "bbox": [
694
+ 0.509,
695
+ 0.785,
696
+ 0.673,
697
+ 0.8
698
+ ],
699
+ "angle": 0,
700
+ "content": "4.3 Error Analysis"
701
+ },
702
+ {
703
+ "type": "text",
704
+ "bbox": [
705
+ 0.508,
706
+ 0.807,
707
+ 0.885,
708
+ 0.919
709
+ ],
710
+ "angle": 0,
711
+ "content": "In the 'Positive' class, all the models produce excellent classification results. While some models perform reasonably well on the 'Negative' class, nearly all of the models perform poorly on the 'Neutral' class. The class imbalance of the dataset, as shown in Figure 1, is one obvious cause of this fluctuation in results. The confusion matrix for"
712
+ },
713
+ {
714
+ "type": "page_number",
715
+ "bbox": [
716
+ 0.483,
717
+ 0.929,
718
+ 0.522,
719
+ 0.941
720
+ ],
721
+ "angle": 0,
722
+ "content": "1240"
723
+ }
724
+ ],
725
+ [
726
+ {
727
+ "type": "text",
728
+ "bbox": [
729
+ 0.112,
730
+ 0.085,
731
+ 0.493,
732
+ 0.409
733
+ ],
734
+ "angle": 0,
735
+ "content": "Bangla-BERT on our dataset, presented in Figure3, reveals that most of the 'Negative' and 'Neutral' samples are misclassified as 'Positive' samples by our classifiers. To further analyze the misclassifications, we examine the W1 (word unigrams) of these three classes. We find 124,796 unique W1 for the 'Positive' class, 20,714 unique W1 for the 'Negative' class, and 19,096 unique W1 for the 'Neutral' class. \\(77.57\\%\\) of the W1 from the 'Neutral' class and \\(79.83\\%\\) of the W1 from the 'Negative' class are found in the 'Positive' class. Table 4 depicts the most frequent W1 conveying the strongest sentiments for each class. With only one distinct 'Neutral' W1 and even the 'Negative' class having multiple positive W1, the dominance of 'Positive' sentiment W1 over the other two classes is evident. This may have contributed to the lack of distinctive words in the 'Negative' and 'Neutral' classes, which inevitably prevented the feature-based models from generalizing."
736
+ },
737
+ {
738
+ "type": "title",
739
+ "bbox": [
740
+ 0.114,
741
+ 0.418,
742
+ 0.479,
743
+ 0.451
744
+ ],
745
+ "angle": 0,
746
+ "content": "5 Morphology and Negation Patterns of Bangla"
747
+ },
748
+ {
749
+ "type": "text",
750
+ "bbox": [
751
+ 0.112,
752
+ 0.459,
753
+ 0.49,
754
+ 0.717
755
+ ],
756
+ "angle": 0,
757
+ "content": "Understanding the morphology and negation patterns of a language holds paramount importance in the realm of sentiment analysis because negation can alter the meaning of words and phrases, thereby affecting the overall sentiment conveyed by a text. We provide a concise yet insightful recapitulation of the topic in the case of Bangla accompanied by review samples from our dataset BANGLABOOK as the respective examples. From the linguistic typological standpoint, Bangla is categorized as a subject-object-verb (SOV) language because the subject, object, and verb generally adhere to said order in its sentential structure (Ramchand, 2004). The most common juxtaposition of polarity from positive to negative is the use of \\( n_i \\) (\\( \\widehat{n} \\)) as a tensed negative. For example,"
758
+ },
759
+ {
760
+ "type": "text",
761
+ "bbox": [
762
+ 0.164,
763
+ 0.719,
764
+ 0.44,
765
+ 0.778
766
+ ],
767
+ "angle": 0,
768
+ "content": "Aaannn aonnnnnae ananrnnnnae ananrnnnnae ananrnnnnae ananrnnnnae ananrnnnnae ananrnnnnae ananrnnnnae ananrnnnnae ananrnnnnae ananrnnnnae ananrnnnnae ananrnnnnae ananrnnnnae ananrnnnnae ananrnnnae ananrnnnnae ananrnnnnae ananrnnnnae ananrnnnnae ananrnnnnae ananrnnnnae ananrnnnnae ananrnnnnae ananrnnnnae ananrnnnnae ananrnnnnae ananrnnnnae ananrnnnnae ananrnnnnaee"
769
+ },
770
+ {
771
+ "type": "text",
772
+ "bbox": [
773
+ 0.113,
774
+ 0.787,
775
+ 0.489,
776
+ 0.851
777
+ ],
778
+ "angle": 0,
779
+ "content": "Another negational feature is expressed by placing na (nata) prior to the non-finite verb and after the finite verb in a sentence (although there are some exceptions). For example,"
780
+ },
781
+ {
782
+ "type": "text",
783
+ "bbox": [
784
+ 0.156,
785
+ 0.852,
786
+ 0.446,
787
+ 0.918
788
+ ],
789
+ "angle": 0,
790
+ "content": "AeBnBnBn BnBnBnBn BnBnBnBn BnBnBn BnBnBn BnBnBn BnBnBn BnBnBn BnBnBn BnBnBn BnBnBn BnBnBn BnBnBn BnBnBn BnBnBn BnBnBn BnBnBn BnBnBn BnBnBn BnBn BnBn BnBn BnBn BnBn BnBn BnBn BnBn BnBn BnBn BnBn BnBn BnBn BnBn BnBn BnBn BnBn BnBn BnBn BnBn BnBn BnBn BnBn BnBn BnBn"
791
+ },
792
+ {
793
+ "type": "text",
794
+ "bbox": [
795
+ 0.508,
796
+ 0.085,
797
+ 0.885,
798
+ 0.198
799
+ ],
800
+ "angle": 0,
801
+ "content": "The Bangla language consists of no negative adverbs or pronouns (Thompson, 2006). This is why the negative element responsible for the reversal of polarity transcends from the word-level to the sentence-level rendering the occurrences of almost all negations in Bangla manifest on the syntactic level (Thompson, 2006)."
802
+ },
803
+ {
804
+ "type": "text",
805
+ "bbox": [
806
+ 0.508,
807
+ 0.199,
808
+ 0.885,
809
+ 0.342
810
+ ],
811
+ "angle": 0,
812
+ "content": "In the cases of double negatives, we see the involvement of lexical negation, a morphological feature that works with negative affixes (prefixes and suffixes) attached to a root word. The prefixes in Bangla have two different phonetic variations or allophones depending on whether the prefix precedes a vowel or a consonant. The same is true for prefixes that imbue a negative connotation to a root word, e.g. \\(o\\) (ə) and \\(on\\) (ən). For example,"
813
+ },
814
+ {
815
+ "type": "text",
816
+ "bbox": [
817
+ 0.552,
818
+ 0.342,
819
+ 0.842,
820
+ 0.466
821
+ ],
822
+ "angle": 0,
823
+ "content": "Kekc 8e 8e 8e 8e 8e 8e 8e 8e 8e 8e 8e 8e 8e 8e 8e 8e 8e 8e 8e 8e 8e 8e 8e 8e 8e 8e 8e 8e 8e 8e 8e 8e 8e 8e"
824
+ },
825
+ {
826
+ "type": "text",
827
+ "bbox": [
828
+ 0.508,
829
+ 0.475,
830
+ 0.883,
831
+ 0.506
832
+ ],
833
+ "angle": 0,
834
+ "content": "Another negative prefix that precedes a root word to invert its polarity is \\(nir\\) (NIR). For example,"
835
+ },
836
+ {
837
+ "type": "text",
838
+ "bbox": [
839
+ 0.567,
840
+ 0.508,
841
+ 0.825,
842
+ 0.552
843
+ ],
844
+ "angle": 0,
845
+ "content": "Leye 1"
846
+ },
847
+ {
848
+ "type": "text",
849
+ "bbox": [
850
+ 0.508,
851
+ 0.56,
852
+ 0.884,
853
+ 0.607
854
+ ],
855
+ "angle": 0,
856
+ "content": "On the contrary, the suffix \\(hin\\) (रिन) succeeds a root word to convert it to the corresponding negative form. For example,"
857
+ },
858
+ {
859
+ "type": "text",
860
+ "bbox": [
861
+ 0.547,
862
+ 0.614,
863
+ 0.86,
864
+ 0.653
865
+ ],
866
+ "angle": 0,
867
+ "content": "Arnrkrn m n knnnck gne nna pae aen"
868
+ },
869
+ {
870
+ "type": "text",
871
+ "bbox": [
872
+ 0.508,
873
+ 0.659,
874
+ 0.885,
875
+ 0.755
876
+ ],
877
+ "angle": 0,
878
+ "content": "The expression of negative sentiment is, therefore, very nuanced in the Bangla language as every occurrence of negative is intertwined with features like the tense, hierarchy of syntax, verb status, case-specific issues, and sequential arrangement of words (Thompson, 2006)."
879
+ },
880
+ {
881
+ "type": "title",
882
+ "bbox": [
883
+ 0.509,
884
+ 0.767,
885
+ 0.642,
886
+ 0.781
887
+ ],
888
+ "angle": 0,
889
+ "content": "6 Conclusion"
890
+ },
891
+ {
892
+ "type": "text",
893
+ "bbox": [
894
+ 0.508,
895
+ 0.791,
896
+ 0.885,
897
+ 0.92
898
+ ],
899
+ "angle": 0,
900
+ "content": "This paper introduces BANGLABOOK, the largest Bangla book review dataset with 158,065 samples, each labeled with 1 of 3 user sentiments. We provide extensive statistical analysis and strong baselines facilitating the utility of the dataset. Given its massive size and fine-grained sentiment distribution, BANGLABOOK has the potential to alleviate the resource scarcity in Bangla language research."
901
+ },
902
+ {
903
+ "type": "page_number",
904
+ "bbox": [
905
+ 0.483,
906
+ 0.929,
907
+ 0.519,
908
+ 0.941
909
+ ],
910
+ "angle": 0,
911
+ "content": "1241"
912
+ }
913
+ ],
914
+ [
915
+ {
916
+ "type": "title",
917
+ "bbox": [
918
+ 0.115,
919
+ 0.085,
920
+ 0.251,
921
+ 0.099
922
+ ],
923
+ "angle": 0,
924
+ "content": "7 Limitations"
925
+ },
926
+ {
927
+ "type": "text",
928
+ "bbox": [
929
+ 0.113,
930
+ 0.11,
931
+ 0.493,
932
+ 0.368
933
+ ],
934
+ "angle": 0,
935
+ "content": "Many of the reviews that were gathered for constructing BANGLABOOK are discarded because they lack a corresponding rating. A manual annotation process would have yielded a much larger dataset, which was not feasible due to resource constraints. Moreover, one of the challenges for validating the dataset is the lack of statistical models and word-embeddings pre-trained on the Bangla language. Some pre-trained Bangla-BERT models, yet to be trained on extensive corpora, have only recently been proposed. Improving transformer-based models for Bangla can enhance sub-word level contextual understanding which will consequently help in more accurate identification of the sentiments in BANGLABOOK (Islam et al., 2022)."
936
+ },
937
+ {
938
+ "type": "title",
939
+ "bbox": [
940
+ 0.512,
941
+ 0.085,
942
+ 0.61,
943
+ 0.099
944
+ ],
945
+ "angle": 0,
946
+ "content": "References"
947
+ },
948
+ {
949
+ "type": "ref_text",
950
+ "bbox": [
951
+ 0.511,
952
+ 0.108,
953
+ 0.885,
954
+ 0.189
955
+ ],
956
+ "angle": 0,
957
+ "content": "Mst Tuhin Akter, Manoara Begum, and Rashed Mustafa. 2021. Bengali sentiment analysis of e-commerce product reviews using k-nearest neighbors. In 2021 International Conference on Information and Communication Technology for Sustainable Development (ICICT4SD), pages 40-44. IEEE."
958
+ },
959
+ {
960
+ "type": "ref_text",
961
+ "bbox": [
962
+ 0.511,
963
+ 0.198,
964
+ 0.887,
965
+ 0.277
966
+ ],
967
+ "angle": 0,
968
+ "content": "Sanjida Akter and Muhammad Tareq Aziz. 2016. Sentiment analysis on facebook group using lexicon based approach. In 2016 3rd International Conference on Electrical Engineering and Information Communication Technology (ICEEICT), pages 1-4. IEEE."
969
+ },
970
+ {
971
+ "type": "ref_text",
972
+ "bbox": [
973
+ 0.511,
974
+ 0.288,
975
+ 0.887,
976
+ 0.368
977
+ ],
978
+ "angle": 0,
979
+ "content": "Shad Al Kaiser, Sudipta Mandal, Ashraful Kalam Abid, Ekhfa Hossain, Ferdous Bin Ali, and Intisar Tahmid Naheen. 2021. Social media opinion mining based on bangla public post of facebook. In 2021 24th International Conference on Computer and Information Technology (ICCIT), pages 1-6. IEEE."
980
+ },
981
+ {
982
+ "type": "ref_text",
983
+ "bbox": [
984
+ 0.512,
985
+ 0.378,
986
+ 0.886,
987
+ 0.497
988
+ ],
989
+ "angle": 0,
990
+ "content": "Abhik Bhattacharjee, Tahmid Hasan, Wasi Ahmad, Kazi Samin Mubasshir, Md Saiful Islam, Anindya Iqbal, M. Sohel Rahman, and Rifat Shahriyar. 2022. BanglaBERT: Language model pretraining and benchmarks for low-resource language understanding evaluation in Bangla. In Findings of the Association for Computational Linguistics: NAACL 2022, pages 1318-1327, Seattle, United States. Association for Computational Linguistics."
991
+ },
992
+ {
993
+ "type": "ref_text",
994
+ "bbox": [
995
+ 0.511,
996
+ 0.508,
997
+ 0.885,
998
+ 0.534
999
+ ],
1000
+ "angle": 0,
1001
+ "content": "L. Breiman. 2001. Random forests. Machine Learning, 45:5-32."
1002
+ },
1003
+ {
1004
+ "type": "ref_text",
1005
+ "bbox": [
1006
+ 0.511,
1007
+ 0.545,
1008
+ 0.885,
1009
+ 0.6
1010
+ ],
1011
+ "angle": 0,
1012
+ "content": "Tianqi Chen and Carlos Guestrin. 2016. Xgboost: A scalable tree boosting system. Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining."
1013
+ },
1014
+ {
1015
+ "type": "ref_text",
1016
+ "bbox": [
1017
+ 0.511,
1018
+ 0.609,
1019
+ 0.885,
1020
+ 0.675
1021
+ ],
1022
+ "angle": 0,
1023
+ "content": "Shaika Chowdhury and Wasifa Chowdhury. 2014. Performing sentiment analysis in bangla microblog posts. In 2014 International Conference on Informatics, Electronics & Vision (ICIEV), pages 1-6. IEEE."
1024
+ },
1025
+ {
1026
+ "type": "ref_text",
1027
+ "bbox": [
1028
+ 0.511,
1029
+ 0.686,
1030
+ 0.885,
1031
+ 0.726
1032
+ ],
1033
+ "angle": 0,
1034
+ "content": "Corinna Cortes and Vladimir Naumovich Vapnik. 1995. Support-vector networks. Machine Learning, 20:273-297."
1035
+ },
1036
+ {
1037
+ "type": "ref_text",
1038
+ "bbox": [
1039
+ 0.511,
1040
+ 0.737,
1041
+ 0.885,
1042
+ 0.791
1043
+ ],
1044
+ "angle": 0,
1045
+ "content": "Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. 2019. Bert: Pre-training of deep bidirectional transformers for language understanding. ArXiv, abs/1810.04805."
1046
+ },
1047
+ {
1048
+ "type": "ref_text",
1049
+ "bbox": [
1050
+ 0.511,
1051
+ 0.801,
1052
+ 0.885,
1053
+ 0.869
1054
+ ],
1055
+ "angle": 0,
1056
+ "content": "Rajib Chandra Dey and Orvila Sarker. 2019. Sentiment analysis on bengali text using lexicon based approach. In 2019 22nd International Conference on Computer and Information Technology (ICCIT), pages 1-5. IEEE."
1057
+ },
1058
+ {
1059
+ "type": "ref_text",
1060
+ "bbox": [
1061
+ 0.511,
1062
+ 0.878,
1063
+ 0.885,
1064
+ 0.92
1065
+ ],
1066
+ "angle": 0,
1067
+ "content": "Asif Hassan, Mohammad Rashedul Amin, Abul Kalam Al Azad, and Nabeel Mohammed. 2016. Sentiment analysis on bangla and romanized bangla text using"
1068
+ },
1069
+ {
1070
+ "type": "list",
1071
+ "bbox": [
1072
+ 0.511,
1073
+ 0.108,
1074
+ 0.887,
1075
+ 0.92
1076
+ ],
1077
+ "angle": 0,
1078
+ "content": null
1079
+ },
1080
+ {
1081
+ "type": "page_number",
1082
+ "bbox": [
1083
+ 0.483,
1084
+ 0.929,
1085
+ 0.522,
1086
+ 0.941
1087
+ ],
1088
+ "angle": 0,
1089
+ "content": "1242"
1090
+ }
1091
+ ],
1092
+ [
1093
+ {
1094
+ "type": "ref_text",
1095
+ "bbox": [
1096
+ 0.135,
1097
+ 0.086,
1098
+ 0.489,
1099
+ 0.125
1100
+ ],
1101
+ "angle": 0,
1102
+ "content": "deep recurrent models. In 2016 International Workshop on Computational Intelligence (IWCI), pages 51-56. IEEE."
1103
+ },
1104
+ {
1105
+ "type": "ref_text",
1106
+ "bbox": [
1107
+ 0.117,
1108
+ 0.138,
1109
+ 0.489,
1110
+ 0.177
1111
+ ],
1112
+ "angle": 0,
1113
+ "content": "Sepp Hochreiter and Jürgen Schmidhuber. 1997. Long short-term memory. *Neural Computation*, 9:1735-1780."
1114
+ },
1115
+ {
1116
+ "type": "ref_text",
1117
+ "bbox": [
1118
+ 0.117,
1119
+ 0.19,
1120
+ 0.489,
1121
+ 0.243
1122
+ ],
1123
+ "angle": 0,
1124
+ "content": "MD Iqbal, Avishek Das, Omar Sharif, Mohammed Moshiul Hoque, and Iqbal H Sarker. 2022. Bemoc: A corpus for identifying emotion in bengali texts. SN Computer Science, 3(2):1-17."
1125
+ },
1126
+ {
1127
+ "type": "ref_text",
1128
+ "bbox": [
1129
+ 0.117,
1130
+ 0.255,
1131
+ 0.489,
1132
+ 0.333
1133
+ ],
1134
+ "angle": 0,
1135
+ "content": "Khondoker Ittehadul Islam, Md Saiful Islam, and Md Ruhul Amin. 2020. Sentiment analysis in bengali via transfer learning using multi-lingual bert. In 2020 23rd International Conference on Computer and Information Technology (ICCIIT), pages 1-5. IEEE."
1136
+ },
1137
+ {
1138
+ "type": "ref_text",
1139
+ "bbox": [
1140
+ 0.117,
1141
+ 0.346,
1142
+ 0.489,
1143
+ 0.412
1144
+ ],
1145
+ "angle": 0,
1146
+ "content": "Khondoker Ittehadul Islam, Sadipta Kar, Md Saiful Islam, and Mohammad Ruhul Amin. 2021. Sentnob: A dataset for analysing sentiment on noisy bangla texts. In Findings of the Association for Computational Linguistics: EMNLP 2021, pages 3265-3271."
1147
+ },
1148
+ {
1149
+ "type": "ref_text",
1150
+ "bbox": [
1151
+ 0.117,
1152
+ 0.424,
1153
+ 0.489,
1154
+ 0.53
1155
+ ],
1156
+ "angle": 0,
1157
+ "content": "Khondoker Ittehadul Islam, Tanvir Yuvraz, Md Saiful Islam, and Enamul Hassan. 2022. Emonoba: A dataset for analyzing fine-grained emotions on noisy bangla texts. In Proceedings of the 2nd Conference of the Asia-Pacific Chapter of the Association for Computational Linguistics and the 12th International Joint Conference on Natural Language Processing, pages 128-134."
1158
+ },
1159
+ {
1160
+ "type": "ref_text",
1161
+ "bbox": [
1162
+ 0.117,
1163
+ 0.541,
1164
+ 0.489,
1165
+ 0.581
1166
+ ],
1167
+ "angle": 0,
1168
+ "content": "George H. John and Pat Langley. 1995. Estimating continuous distributions in bayesian classifiers. In _Conference on Uncertainty in Artificial Intelligence_."
1169
+ },
1170
+ {
1171
+ "type": "ref_text",
1172
+ "bbox": [
1173
+ 0.117,
1174
+ 0.593,
1175
+ 0.489,
1176
+ 0.659
1177
+ ],
1178
+ "angle": 0,
1179
+ "content": "Mst Eshita Khatun and Tapasy Rabeya. 2022. A machine learning approach for sentiment analysis of book reviews in bangla language. In 2022 6th International Conference on Trends in Electronics and Informatics (ICOEI), pages 1178-1182. IEEE."
1180
+ },
1181
+ {
1182
+ "type": "ref_text",
1183
+ "bbox": [
1184
+ 0.117,
1185
+ 0.671,
1186
+ 0.489,
1187
+ 0.71
1188
+ ],
1189
+ "angle": 0,
1190
+ "content": "Saskia le Cessie and J. C. van Houwelingen. 1992. Ridge estimators in logistic regression. Applied statistics, 41:191-201."
1191
+ },
1192
+ {
1193
+ "type": "ref_text",
1194
+ "bbox": [
1195
+ 0.117,
1196
+ 0.722,
1197
+ 0.489,
1198
+ 0.776
1199
+ ],
1200
+ "angle": 0,
1201
+ "content": "Tom MY Lin, Pin Luarn, and Yun Kuei Huang. 2005. Effect of internet book reviews on purchase intention: A focus group study. The Journal of Academic Librarianship, 31(5):461-468."
1202
+ },
1203
+ {
1204
+ "type": "ref_text",
1205
+ "bbox": [
1206
+ 0.117,
1207
+ 0.787,
1208
+ 0.489,
1209
+ 0.854
1210
+ ],
1211
+ "angle": 0,
1212
+ "content": "Shamsul Arafin Mahtab, Nazmul Islam, and Md Mahfuzur Rahaman. 2018. Sentiment analysis on bangladesh cricket with support vector machine. In 2018 international conference on Bangla speech and language processing (ICBSLP), pages 1-4. IEEE."
1213
+ },
1214
+ {
1215
+ "type": "ref_text",
1216
+ "bbox": [
1217
+ 0.117,
1218
+ 0.866,
1219
+ 0.489,
1220
+ 0.919
1221
+ ],
1222
+ "angle": 0,
1223
+ "content": "P Majumder, M Mitra, and BB Chaudhuri. 2002. Ngram: a language independent approach to ir and nlp. In International conference on universal knowledge and language, volume 2."
1224
+ },
1225
+ {
1226
+ "type": "list",
1227
+ "bbox": [
1228
+ 0.117,
1229
+ 0.086,
1230
+ 0.489,
1231
+ 0.919
1232
+ ],
1233
+ "angle": 0,
1234
+ "content": null
1235
+ },
1236
+ {
1237
+ "type": "ref_text",
1238
+ "bbox": [
1239
+ 0.512,
1240
+ 0.086,
1241
+ 0.882,
1242
+ 0.152
1243
+ ],
1244
+ "angle": 0,
1245
+ "content": "Muhammad Mahmudun Nabi, Md Tanzir Altaf, and Sabir Ismail. 2016. Detecting sentiment from bangla text using machine learning technique and feature analysis. International Journal of Computer Applications, 153(11):28-34."
1246
+ },
1247
+ {
1248
+ "type": "ref_text",
1249
+ "bbox": [
1250
+ 0.512,
1251
+ 0.16,
1252
+ 0.883,
1253
+ 0.213
1254
+ ],
1255
+ "angle": 0,
1256
+ "content": "Jeffrey Pennington, Richard Socher, and Christopher D. Manning. 2014. Glove: Global vectors for word representation. In Conference on Empirical Methods in Natural Language Processing."
1257
+ },
1258
+ {
1259
+ "type": "ref_text",
1260
+ "bbox": [
1261
+ 0.512,
1262
+ 0.221,
1263
+ 0.883,
1264
+ 0.286
1265
+ ],
1266
+ "angle": 0,
1267
+ "content": "Md Rahib, Rumman Hussain Khan, Amzad Hussain Tamim, Mohammad Zawad Tahmeed, and Mohammad Jaber Hossain. 2022. Emotion detection based on bangladeshi peoples social media response on Covid-19. SN Computer Science, 3(2):1-6."
1268
+ },
1269
+ {
1270
+ "type": "ref_text",
1271
+ "bbox": [
1272
+ 0.512,
1273
+ 0.295,
1274
+ 0.883,
1275
+ 0.373
1276
+ ],
1277
+ "angle": 0,
1278
+ "content": "Fuad Rahman, Habibur Khan, Zakir Hossain, Mahfuza Begum, Sadia Mahanaz, Ashraful Islam, and Aminul Islam. 2019. An annotated bangla sentiment analysis corpus. In 2019 International Conference on Bangla Speech and Language Processing (ICBSLP), pages 1-5. IEEE."
1279
+ },
1280
+ {
1281
+ "type": "ref_text",
1282
+ "bbox": [
1283
+ 0.512,
1284
+ 0.381,
1285
+ 0.883,
1286
+ 0.42
1287
+ ],
1288
+ "angle": 0,
1289
+ "content": "Md Atikur Rahman and Emon Kumar Dey. 2018. Datasets for aspect-based sentiment analysis in bangla and its baseline evaluation. Data, 3(2):15."
1290
+ },
1291
+ {
1292
+ "type": "ref_text",
1293
+ "bbox": [
1294
+ 0.512,
1295
+ 0.429,
1296
+ 0.883,
1297
+ 0.469
1298
+ ],
1299
+ "angle": 0,
1300
+ "content": "Gillian Catriona Ramchand. 2004. Two types of negation in bengali. *Clause structure in South Asian languages*, pages 39-66."
1301
+ },
1302
+ {
1303
+ "type": "ref_text",
1304
+ "bbox": [
1305
+ 0.512,
1306
+ 0.476,
1307
+ 0.883,
1308
+ 0.504
1309
+ ],
1310
+ "angle": 0,
1311
+ "content": "Sagor Sarker. 2020. Banglabert: Bengali mask language model for bengali language understanding."
1312
+ },
1313
+ {
1314
+ "type": "ref_text",
1315
+ "bbox": [
1316
+ 0.512,
1317
+ 0.511,
1318
+ 0.883,
1319
+ 0.564
1320
+ ],
1321
+ "angle": 0,
1322
+ "content": "Salim Sazzed. 2020a. Cross-lingual sentiment classification in low-resource bengali language. In Proceedings of the sixth workshop on noisy user-generated text (W-NUT 2020), pages 50–60."
1323
+ },
1324
+ {
1325
+ "type": "ref_text",
1326
+ "bbox": [
1327
+ 0.512,
1328
+ 0.572,
1329
+ 0.883,
1330
+ 0.637
1331
+ ],
1332
+ "angle": 0,
1333
+ "content": "Salim Sazzed. 2020b. Development of sentiment lexicon in bengali utilizing corpus and cross-lingual resources. In 2020 IEEE 21st International conference on information reuse and integration for data science (IRI), pages 237-244. IEEE."
1334
+ },
1335
+ {
1336
+ "type": "ref_text",
1337
+ "bbox": [
1338
+ 0.512,
1339
+ 0.645,
1340
+ 0.883,
1341
+ 0.698
1342
+ ],
1343
+ "angle": 0,
1344
+ "content": "Salim Sazzed. 2021. Bengsentilex and bengswear-lex: creating lexicons for sentiment analysis and profanity detection in low-resource bengali language. PeerJ Computer Science, 7:e681."
1345
+ },
1346
+ {
1347
+ "type": "ref_text",
1348
+ "bbox": [
1349
+ 0.512,
1350
+ 0.706,
1351
+ 0.883,
1352
+ 0.771
1353
+ ],
1354
+ "angle": 0,
1355
+ "content": "Marina Sokolova, Nathalie Japkowicz, and S. Szpakowicz. 2006. Beyond accuracy, f-score and roc: A family of discriminant measures for performance evaluation. In Australian Conference on Artificial Intelligence."
1356
+ },
1357
+ {
1358
+ "type": "ref_text",
1359
+ "bbox": [
1360
+ 0.512,
1361
+ 0.779,
1362
+ 0.883,
1363
+ 0.832
1364
+ ],
1365
+ "angle": 0,
1366
+ "content": "Alan T Sorensen and Scott J Rasmussen. 2004. Is any publicity good publicity? a note on the impact of book reviews. NBER Working paper, Stanford University."
1367
+ },
1368
+ {
1369
+ "type": "ref_text",
1370
+ "bbox": [
1371
+ 0.512,
1372
+ 0.84,
1373
+ 0.883,
1374
+ 0.919
1375
+ ],
1376
+ "angle": 0,
1377
+ "content": "Nusrath Tabassum and Muhammad Ibrahim Khan. 2019. Design an empirical framework for sentiment analysis from bangla text using machine learning. In 2019 International Conference on Electrical, Computer and Communication Engineering (ECCE), pages 1-5. IEEE."
1378
+ },
1379
+ {
1380
+ "type": "list",
1381
+ "bbox": [
1382
+ 0.512,
1383
+ 0.086,
1384
+ 0.883,
1385
+ 0.919
1386
+ ],
1387
+ "angle": 0,
1388
+ "content": null
1389
+ },
1390
+ {
1391
+ "type": "page_number",
1392
+ "bbox": [
1393
+ 0.483,
1394
+ 0.929,
1395
+ 0.521,
1396
+ 0.941
1397
+ ],
1398
+ "angle": 0,
1399
+ "content": "1243"
1400
+ }
1401
+ ],
1402
+ [
1403
+ {
1404
+ "type": "ref_text",
1405
+ "bbox": [
1406
+ 0.117,
1407
+ 0.086,
1408
+ 0.49,
1409
+ 0.152
1410
+ ],
1411
+ "angle": 0,
1412
+ "content": "SM Abu Taher, Kazi Afsana Akhter, and KM Azharul Hasan. 2018. N-gram based sentiment mining for bangla text using support vector machine. In 2018 international conference on Bangla speech and language processing (ICBSLP), pages 1-5. IEEE."
1413
+ },
1414
+ {
1415
+ "type": "ref_text",
1416
+ "bbox": [
1417
+ 0.117,
1418
+ 0.162,
1419
+ 0.487,
1420
+ 0.201
1421
+ ],
1422
+ "angle": 0,
1423
+ "content": "Hanne-Ruth Thompson. 2006. Negation patterns in bengali. Bulletin of the School of Oriental and African Studies, 69(2):243-265."
1424
+ },
1425
+ {
1426
+ "type": "ref_text",
1427
+ "bbox": [
1428
+ 0.117,
1429
+ 0.212,
1430
+ 0.487,
1431
+ 0.303
1432
+ ],
1433
+ "angle": 0,
1434
+ "content": "Rashedul Amin Tuhin, Bechitra Kumar Paul, Faria Nawrine, Mahbuba Akter, and Amit Kumar Das. 2019. An automated system of sentiment analysis from bangla text using supervised learning techniques. In 2019 IEEE 4th International Conference on Computer and Communication Systems (ICCCS), pages 360-364. IEEE."
1435
+ },
1436
+ {
1437
+ "type": "ref_text",
1438
+ "bbox": [
1439
+ 0.117,
1440
+ 0.313,
1441
+ 0.487,
1442
+ 0.365
1443
+ ],
1444
+ "angle": 0,
1445
+ "content": "Ashish Vaswani, Noam M. Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N. Gomez, Lukasz Kaiser, and Illia Polosukhin. 2017. Attention is all you need. ArXiv, abs/1706.03762."
1446
+ },
1447
+ {
1448
+ "type": "ref_text",
1449
+ "bbox": [
1450
+ 0.117,
1451
+ 0.376,
1452
+ 0.487,
1453
+ 0.454
1454
+ ],
1455
+ "angle": 0,
1456
+ "content": "Anning Wang, Qiang Zhang, Shuangyao Zhao, Xiaonong Lu, and Zhanglin Peng. 2020. A review-driven customer preference measurement model for product improvement: sentiment-based importance performance analysis. Information Systems and e-Business Management, 18:61-88."
1457
+ },
1458
+ {
1459
+ "type": "ref_text",
1460
+ "bbox": [
1461
+ 0.117,
1462
+ 0.465,
1463
+ 0.487,
1464
+ 0.505
1465
+ ],
1466
+ "angle": 0,
1467
+ "content": "Alice Zheng and Amanda Casari. 2018. Feature engineering for machine learning: principles and techniques for data scientists. \"O'Reilly Media, Inc.\""
1468
+ },
1469
+ {
1470
+ "type": "list",
1471
+ "bbox": [
1472
+ 0.117,
1473
+ 0.086,
1474
+ 0.49,
1475
+ 0.505
1476
+ ],
1477
+ "angle": 0,
1478
+ "content": null
1479
+ },
1480
+ {
1481
+ "type": "text",
1482
+ "bbox": [
1483
+ 0.117,
1484
+ 0.518,
1485
+ 0.237,
1486
+ 0.534
1487
+ ],
1488
+ "angle": 0,
1489
+ "content": "A Appendix"
1490
+ },
1491
+ {
1492
+ "type": "page_number",
1493
+ "bbox": [
1494
+ 0.483,
1495
+ 0.929,
1496
+ 0.521,
1497
+ 0.941
1498
+ ],
1499
+ "angle": 0,
1500
+ "content": "1244"
1501
+ }
1502
+ ],
1503
+ [
1504
+ {
1505
+ "type": "table",
1506
+ "bbox": [
1507
+ 0.115,
1508
+ 0.143,
1509
+ 0.932,
1510
+ 0.759
1511
+ ],
1512
+ "angle": 0,
1513
+ "content": "<table><tr><td>Dataset</td><td colspan=\"2\">Sentiment Classification</td><td colspan=\"2\">Sentiment Distribution</td><td>Total # of Samples</td><td>Availability</td><td>Type of Content</td><td>Source(s)</td><td>Baseline Models</td></tr><tr><td>(Tabassum and Khan, 2019)</td><td colspan=\"2\">Positive Negative</td><td colspan=\"2\">- -</td><td>1,050</td><td>Closed</td><td>Posts, comments</td><td>Facebook, Twitter</td><td>RF</td></tr><tr><td>(Chowdhury and Chowdhury, 2014)</td><td colspan=\"2\">Positive Negative</td><td colspan=\"2\">- -</td><td>1,300</td><td>Closed</td><td>Posts, comments</td><td>Twitter</td><td>-</td></tr><tr><td>(Nabi et al., 2016)</td><td colspan=\"2\">Positive Negative</td><td colspan=\"2\">- -</td><td>1,500</td><td>Closed</td><td>Posts, comments</td><td>Social Media</td><td>-</td></tr><tr><td>(Mahtab et al., 2018)</td><td colspan=\"2\">Praise Criticism Sadness</td><td colspan=\"2\">513 604 484</td><td>1,601</td><td>Closed</td><td>Comments</td><td>Prothom Alo Online News Portal</td><td>SVM, DT, NB</td></tr><tr><td>(Akter and Aziz, 2016)</td><td colspan=\"2\">Positive Negative Neutral</td><td colspan=\"2\">- -</td><td>3,600</td><td>Closed</td><td>Posts, comments</td><td>Facebook</td><td>NB</td></tr><tr><td>(Rahman and Kumar Dey, 2018)</td><td colspan=\"2\">Positive Negative Neutral</td><td colspan=\"2\">- -</td><td>4,700</td><td>Open</td><td>Comments</td><td>Facebook pages: BBC Bangla, Prothom Alo</td><td>SVM, LR, KNN, DT, LSTM NB, CNN</td></tr><tr><td>(Dey and Sarker, 2019)</td><td colspan=\"2\">Positive Negative</td><td colspan=\"2\">2,600 2,600</td><td>5,200</td><td>Closed</td><td>Comments, reviews</td><td>Facebook, Twitter, YouTube, News Portals</td><td>DT, NB, SVM</td></tr><tr><td>(Khatun and Rabeya, 2022)</td><td colspan=\"2\">Positive Negative</td><td colspan=\"2\">- -</td><td>5,500</td><td>Closed</td><td>Comments, reviews</td><td>Social Media</td><td>-</td></tr><tr><td>BEMOC (Iqbal et al., 2022)</td><td colspan=\"2\">AngerFearSadJoyDisgust</td><td colspan=\"2\">- -</td><td>7,000</td><td>Open</td><td>Posts, comments</td><td>Facebook, YouTube, Online blogs, Bangla story books, novels, newspapers, discourse</td><td>-</td></tr><tr><td>(Tuhin et al., 2019)</td><td colspan=\"2\">Happy Tender Excited Sad Angry Scared</td><td>- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -</td><td>- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -</td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>(Akter et al., 2021)</td><td colspan=\"2\">Positive Negative Neutral</td><td>- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -</td><td>7,905</td><td>Closed</td><td>Product reviews</td><td>Daraz</td><td>RF, LR, SVM, KNN, XGB</td><td></td></tr><tr><td>(Hassan et al., 2016)</td><td colspan=\"2\">Positive Negative Ambiguous</td><td>- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -</td><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>(Rahib et al., 2022)</td><td colspan=\"2\">Insightful Curious Gratitude</td><td colspan=\"2\">3,800 3,549 3,232</td><td>10,581</td><td>Closed</td><td>Comments</td><td>Social Media</td><td>SVM, RF, CNN, LSTM</td></tr><tr><td rowspan=\"2\">(Al Kaiser et al., 2021)</td><td rowspan=\"2\">Positive Negative Neutral</td><td>Wishful Thinking Appreciation</td><td>967 942</td><td>1,909</td><td rowspan=\"2\">11,006</td><td rowspan=\"2\">Closed</td><td rowspan=\"2\">Comments</td><td rowspan=\"2\">Facebook</td><td rowspan=\"2\">LR, DT, RF, MNB, KNN, Linear SVM, RBF SVM, XGB</td></tr><tr><td>Gender-based hate Religious hate Political hate Personal hate Sarcasm</td><td>525 731 572 1,995 1,414 3,860</td><td>5,237 3,860</td></tr><tr><td>(Sazzed, 2020a)</td><td colspan=\"2\">Positive Negative</td><td colspan=\"2\">8,500 3,307</td><td>11,807</td><td>Open</td><td>Comments</td><td>YouTube</td><td>SVM, ET, RF, LR, VADER, TextBlob</td></tr><tr><td>(Sazzed, 2020b)</td><td colspan=\"2\">Positive Negative</td><td colspan=\"2\">- -</td><td>12,000</td><td>Closed</td><td>Comments</td><td>YouTube</td><td>-</td></tr><tr><td rowspan=\"2\">SENTNoB (Islam et al., 2021)</td><td rowspan=\"2\" colspan=\"2\">Positive Negative</td><td rowspan=\"2\" colspan=\"2\">6,410 5,709 3,609</td><td rowspan=\"2\">15,728</td><td rowspan=\"2\">Open</td><td rowspan=\"2\">Comments</td><td rowspan=\"2\">Prothom Alo Online Newspaper, YouTube</td><td rowspan=\"2\">RNN</td></tr><tr></tr><tr><td>(Islam et al., 2020)</td><td colspan=\"2\">Positive Negative Neutral</td><td colspan=\"2\">4,769 8,351 4,732</td><td>17,852</td><td>Open</td><td>Comments</td><td>Prothom Alo Online Newspaper</td><td>CNN, LSTM, BERT, GRU, fastText</td></tr><tr><td>EMONOBA (Islam et al., 2022)</td><td colspan=\"2\">Love Joy Surprise Anger Sadness Fear</td><td colspan=\"2\">4,202 9,249 939 3,905 5,109 307</td><td>20,468</td><td>Open</td><td>Comments</td><td>YouTube, Facebook, Twitter, Prothom Alo</td><td>Bi-LSTM, fastText, Bangla-BERT-base</td></tr><tr><td>BANGLABOOK (ours)</td><td colspan=\"2\">Positive Negative Neutral</td><td colspan=\"2\">141,587 9,674 6,804</td><td>158,065</td><td>\\( Open^† \\)</td><td>Book reviews</td><td>Rokomari, Wafilife</td><td>RF, LSTM, LR, GRU MNB, SVM, XGB Bangla-BERT</td></tr></table>"
1514
+ },
1515
+ {
1516
+ "type": "table_footnote",
1517
+ "bbox": [
1518
+ 0.113,
1519
+ 0.761,
1520
+ 0.885,
1521
+ 0.863
1522
+ ],
1523
+ "angle": 0,
1524
+ "content": "Table 5: Comparison of notable Bangla Sentiment Analysis datasets sorted in ascending order of size. The abbreviations respectively denote, Random Forest (RF), Support Vector Machine (SVM), Decision Tree (DT), Naive Bayes (NB), Logistic Regression (LR), K-Nearest Neighbors (KNN), Long Short-term Memory (LSTM), Convolutional Neural Network (CNN), Extreme Gradient Boost (XGB), Multinomial Naive Bayes (MNB), Radial Basis Function (RBF), Extreme Random Tree (ET), Recurrent Neural Network (RNN), Bidirectional Encoder Representations from Transformers (BERT), Gated Recurrent Unit (GRU), Bi-LSTM (Bidirectional LSTM). All the publicly available datasets are hyperlinked. Open† denotes the redaction of the link for anonymity."
1525
+ },
1526
+ {
1527
+ "type": "page_number",
1528
+ "bbox": [
1529
+ 0.483,
1530
+ 0.929,
1531
+ 0.522,
1532
+ 0.941
1533
+ ],
1534
+ "angle": 0,
1535
+ "content": "1245"
1536
+ }
1537
+ ],
1538
+ [
1539
+ {
1540
+ "type": "header",
1541
+ "bbox": [
1542
+ 0.133,
1543
+ 0.085,
1544
+ 0.435,
1545
+ 0.1
1546
+ ],
1547
+ "angle": 0,
1548
+ "content": "ACL 2023 Responsible NLP Checklist"
1549
+ },
1550
+ {
1551
+ "type": "text",
1552
+ "bbox": [
1553
+ 0.115,
1554
+ 0.108,
1555
+ 0.323,
1556
+ 0.123
1557
+ ],
1558
+ "angle": 0,
1559
+ "content": "A For every submission:"
1560
+ },
1561
+ {
1562
+ "type": "text",
1563
+ "bbox": [
1564
+ 0.13,
1565
+ 0.127,
1566
+ 0.533,
1567
+ 0.144
1568
+ ],
1569
+ "angle": 0,
1570
+ "content": "A1. Did you describe the limitations of your work?"
1571
+ },
1572
+ {
1573
+ "type": "text",
1574
+ "bbox": [
1575
+ 0.151,
1576
+ 0.145,
1577
+ 0.233,
1578
+ 0.16
1579
+ ],
1580
+ "angle": 0,
1581
+ "content": "Left blank."
1582
+ },
1583
+ {
1584
+ "type": "text",
1585
+ "bbox": [
1586
+ 0.129,
1587
+ 0.171,
1588
+ 0.553,
1589
+ 0.187
1590
+ ],
1591
+ "angle": 0,
1592
+ "content": "A2. Did you discuss any potential risks of your work?"
1593
+ },
1594
+ {
1595
+ "type": "text",
1596
+ "bbox": [
1597
+ 0.151,
1598
+ 0.188,
1599
+ 0.351,
1600
+ 0.202
1601
+ ],
1602
+ "angle": 0,
1603
+ "content": "Not applicable. Left blank."
1604
+ },
1605
+ {
1606
+ "type": "text",
1607
+ "bbox": [
1608
+ 0.13,
1609
+ 0.213,
1610
+ 0.696,
1611
+ 0.23
1612
+ ],
1613
+ "angle": 0,
1614
+ "content": "A3. Do the abstract and introduction summarize the paper's main claims?"
1615
+ },
1616
+ {
1617
+ "type": "text",
1618
+ "bbox": [
1619
+ 0.152,
1620
+ 0.231,
1621
+ 0.233,
1622
+ 0.246
1623
+ ],
1624
+ "angle": 0,
1625
+ "content": "Left blank."
1626
+ },
1627
+ {
1628
+ "type": "text",
1629
+ "bbox": [
1630
+ 0.13,
1631
+ 0.257,
1632
+ 0.669,
1633
+ 0.273
1634
+ ],
1635
+ "angle": 0,
1636
+ "content": "A4. Have you used AI writing assistants when working on this paper?"
1637
+ },
1638
+ {
1639
+ "type": "text",
1640
+ "bbox": [
1641
+ 0.152,
1642
+ 0.274,
1643
+ 0.233,
1644
+ 0.288
1645
+ ],
1646
+ "angle": 0,
1647
+ "content": "Left blank."
1648
+ },
1649
+ {
1650
+ "type": "text",
1651
+ "bbox": [
1652
+ 0.115,
1653
+ 0.301,
1654
+ 0.49,
1655
+ 0.317
1656
+ ],
1657
+ "angle": 0,
1658
+ "content": "B Did you use or create scientific artifacts?"
1659
+ },
1660
+ {
1661
+ "type": "text",
1662
+ "bbox": [
1663
+ 0.133,
1664
+ 0.322,
1665
+ 0.215,
1666
+ 0.337
1667
+ ],
1668
+ "angle": 0,
1669
+ "content": "Left blank."
1670
+ },
1671
+ {
1672
+ "type": "text",
1673
+ "bbox": [
1674
+ 0.129,
1675
+ 0.348,
1676
+ 0.53,
1677
+ 0.364
1678
+ ],
1679
+ "angle": 0,
1680
+ "content": "B1. Did you cite the creators of artifacts you used?"
1681
+ },
1682
+ {
1683
+ "type": "text",
1684
+ "bbox": [
1685
+ 0.151,
1686
+ 0.365,
1687
+ 0.351,
1688
+ 0.38
1689
+ ],
1690
+ "angle": 0,
1691
+ "content": "Not applicable. Left blank."
1692
+ },
1693
+ {
1694
+ "type": "text",
1695
+ "bbox": [
1696
+ 0.129,
1697
+ 0.391,
1698
+ 0.779,
1699
+ 0.407
1700
+ ],
1701
+ "angle": 0,
1702
+ "content": "B2. Did you discuss the license or terms for use and / or distribution of any artifacts?"
1703
+ },
1704
+ {
1705
+ "type": "text",
1706
+ "bbox": [
1707
+ 0.151,
1708
+ 0.408,
1709
+ 0.351,
1710
+ 0.423
1711
+ ],
1712
+ "angle": 0,
1713
+ "content": "Not applicable. Left blank."
1714
+ },
1715
+ {
1716
+ "type": "text",
1717
+ "bbox": [
1718
+ 0.129,
1719
+ 0.434,
1720
+ 0.882,
1721
+ 0.497
1722
+ ],
1723
+ "angle": 0,
1724
+ "content": "B3. Did you discuss if your use of existing artifact(s) was consistent with their intended use, provided that it was specified? For the artifacts you create, do you specify intended use and whether that is compatible with the original access conditions (in particular, derivatives of data accessed for research purposes should not be used outside of research contexts)?"
1725
+ },
1726
+ {
1727
+ "type": "text",
1728
+ "bbox": [
1729
+ 0.151,
1730
+ 0.498,
1731
+ 0.351,
1732
+ 0.514
1733
+ ],
1734
+ "angle": 0,
1735
+ "content": "Not applicable. Left blank."
1736
+ },
1737
+ {
1738
+ "type": "text",
1739
+ "bbox": [
1740
+ 0.129,
1741
+ 0.525,
1742
+ 0.882,
1743
+ 0.573
1744
+ ],
1745
+ "angle": 0,
1746
+ "content": "B4. Did you discuss the steps taken to check whether the data that was collected / used contains any information that names or uniquely identifies individual people or offensive content, and the steps taken to protect / anonymize it?"
1747
+ },
1748
+ {
1749
+ "type": "text",
1750
+ "bbox": [
1751
+ 0.151,
1752
+ 0.574,
1753
+ 0.351,
1754
+ 0.589
1755
+ ],
1756
+ "angle": 0,
1757
+ "content": "Not applicable. Left blank."
1758
+ },
1759
+ {
1760
+ "type": "text",
1761
+ "bbox": [
1762
+ 0.129,
1763
+ 0.6,
1764
+ 0.881,
1765
+ 0.632
1766
+ ],
1767
+ "angle": 0,
1768
+ "content": "B5. Did you provide documentation of the artifacts, e.g., coverage of domains, languages, and linguistic phenomena, demographic groups represented, etc.?"
1769
+ },
1770
+ {
1771
+ "type": "text",
1772
+ "bbox": [
1773
+ 0.151,
1774
+ 0.633,
1775
+ 0.351,
1776
+ 0.648
1777
+ ],
1778
+ "angle": 0,
1779
+ "content": "Not applicable. Left blank."
1780
+ },
1781
+ {
1782
+ "type": "text",
1783
+ "bbox": [
1784
+ 0.13,
1785
+ 0.658,
1786
+ 0.882,
1787
+ 0.74
1788
+ ],
1789
+ "angle": 0,
1790
+ "content": "B6. Did you report relevant statistics like the number of examples, details of train / test / dev splits, etc. for the data that you used / created? Even for commonly-used benchmark datasets, include the number of examples in train / validation / test splits, as these provide necessary context for a reader to understand experimental results. For example, small differences in accuracy on large test sets may be significant, while on small test sets they may not be."
1791
+ },
1792
+ {
1793
+ "type": "text",
1794
+ "bbox": [
1795
+ 0.151,
1796
+ 0.741,
1797
+ 0.233,
1798
+ 0.755
1799
+ ],
1800
+ "angle": 0,
1801
+ "content": "Left blank."
1802
+ },
1803
+ {
1804
+ "type": "text",
1805
+ "bbox": [
1806
+ 0.115,
1807
+ 0.765,
1808
+ 0.494,
1809
+ 0.782
1810
+ ],
1811
+ "angle": 0,
1812
+ "content": "C Did you run computational experiments?"
1813
+ },
1814
+ {
1815
+ "type": "text",
1816
+ "bbox": [
1817
+ 0.133,
1818
+ 0.787,
1819
+ 0.215,
1820
+ 0.802
1821
+ ],
1822
+ "angle": 0,
1823
+ "content": "Left blank."
1824
+ },
1825
+ {
1826
+ "type": "text",
1827
+ "bbox": [
1828
+ 0.13,
1829
+ 0.814,
1830
+ 0.882,
1831
+ 0.846
1832
+ ],
1833
+ "angle": 0,
1834
+ "content": "C1. Did you report the number of parameters in the models used, the total computational budget (e.g., GPU hours), and computing infrastructure used?"
1835
+ },
1836
+ {
1837
+ "type": "text",
1838
+ "bbox": [
1839
+ 0.152,
1840
+ 0.847,
1841
+ 0.233,
1842
+ 0.861
1843
+ ],
1844
+ "angle": 0,
1845
+ "content": "Left blank."
1846
+ },
1847
+ {
1848
+ "type": "text",
1849
+ "bbox": [
1850
+ 0.114,
1851
+ 0.869,
1852
+ 0.878,
1853
+ 0.893
1854
+ ],
1855
+ "angle": 0,
1856
+ "content": "The Responsible NLP Checklist used at ACL 2023 is adopted from NAACL 2022, with the addition of a question on AI writing assistance."
1857
+ },
1858
+ {
1859
+ "type": "page_number",
1860
+ "bbox": [
1861
+ 0.483,
1862
+ 0.929,
1863
+ 0.522,
1864
+ 0.941
1865
+ ],
1866
+ "angle": 0,
1867
+ "content": "1246"
1868
+ }
1869
+ ],
1870
+ [
1871
+ {
1872
+ "type": "text",
1873
+ "bbox": [
1874
+ 0.13,
1875
+ 0.085,
1876
+ 0.88,
1877
+ 0.133
1878
+ ],
1879
+ "angle": 0,
1880
+ "content": "C2. Did you discuss the experimental setup, including hyperparameter search and best-found hyperparameter values? Left blank."
1881
+ },
1882
+ {
1883
+ "type": "text",
1884
+ "bbox": [
1885
+ 0.13,
1886
+ 0.144,
1887
+ 0.881,
1888
+ 0.207
1889
+ ],
1890
+ "angle": 0,
1891
+ "content": "C3. Did you report descriptive statistics about your results (e.g., error bars around results, summary statistics from sets of experiments), and is it transparent whether you are reporting the max, mean, etc. or just a single run? Left blank."
1892
+ },
1893
+ {
1894
+ "type": "text",
1895
+ "bbox": [
1896
+ 0.13,
1897
+ 0.218,
1898
+ 0.881,
1899
+ 0.283
1900
+ ],
1901
+ "angle": 0,
1902
+ "content": "C4. If you used existing packages (e.g., for preprocessing, for normalization, or for evaluation), did you report the implementation, model, and parameter settings used (e.g., NLTK, Spacy, ROUGE, etc.)? Left blank."
1903
+ },
1904
+ {
1905
+ "type": "list",
1906
+ "bbox": [
1907
+ 0.13,
1908
+ 0.085,
1909
+ 0.881,
1910
+ 0.283
1911
+ ],
1912
+ "angle": 0,
1913
+ "content": null
1914
+ },
1915
+ {
1916
+ "type": "text",
1917
+ "bbox": [
1918
+ 0.114,
1919
+ 0.294,
1920
+ 0.878,
1921
+ 0.331
1922
+ ],
1923
+ "angle": 0,
1924
+ "content": "D Did you use human annotators (e.g., crowdworkers) or research with human participants? Left blank."
1925
+ },
1926
+ {
1927
+ "type": "text",
1928
+ "bbox": [
1929
+ 0.128,
1930
+ 0.341,
1931
+ 0.881,
1932
+ 0.388
1933
+ ],
1934
+ "angle": 0,
1935
+ "content": "D1. Did you report the full text of instructions given to participants, including e.g., screenshots, disclaimers of any risks to participants or annotators, etc.? Not applicable. Left blank."
1936
+ },
1937
+ {
1938
+ "type": "text",
1939
+ "bbox": [
1940
+ 0.128,
1941
+ 0.4,
1942
+ 0.881,
1943
+ 0.464
1944
+ ],
1945
+ "angle": 0,
1946
+ "content": "D2. Did you report information about how you recruited (e.g., crowdsourcing platform, students) and paid participants, and discuss if such payment is adequate given the participants' demographic (e.g., country of residence)? Not applicable. Left blank."
1947
+ },
1948
+ {
1949
+ "type": "text",
1950
+ "bbox": [
1951
+ 0.128,
1952
+ 0.476,
1953
+ 0.881,
1954
+ 0.54
1955
+ ],
1956
+ "angle": 0,
1957
+ "content": "D3. Did you discuss whether and how consent was obtained from people whose data you're using/curating? For example, if you collected data via crowdsourcing, did your instructions to crowdworkers explain how the data would be used? Not applicable. Left blank."
1958
+ },
1959
+ {
1960
+ "type": "text",
1961
+ "bbox": [
1962
+ 0.128,
1963
+ 0.55,
1964
+ 0.873,
1965
+ 0.582
1966
+ ],
1967
+ "angle": 0,
1968
+ "content": "D4. Was the data collection protocol approved (or determined exempt) by an ethics review board? Not applicable. Left blank."
1969
+ },
1970
+ {
1971
+ "type": "text",
1972
+ "bbox": [
1973
+ 0.128,
1974
+ 0.593,
1975
+ 0.881,
1976
+ 0.642
1977
+ ],
1978
+ "angle": 0,
1979
+ "content": "D5. Did you report the basic demographic and geographic characteristics of the annotator population that is the source of the data? Not applicable. Left blank."
1980
+ },
1981
+ {
1982
+ "type": "list",
1983
+ "bbox": [
1984
+ 0.128,
1985
+ 0.341,
1986
+ 0.881,
1987
+ 0.642
1988
+ ],
1989
+ "angle": 0,
1990
+ "content": null
1991
+ },
1992
+ {
1993
+ "type": "page_number",
1994
+ "bbox": [
1995
+ 0.483,
1996
+ 0.929,
1997
+ 0.521,
1998
+ 0.941
1999
+ ],
2000
+ "angle": 0,
2001
+ "content": "1247"
2002
+ }
2003
+ ]
2004
+ ]
2023/BanglaBook_ A Large-scale Bangla Dataset for Sentiment Analysis from Book Reviews/28378eaf-0a48-458e-a698-291e5038e7bf_origin.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:59c4837a19f13dfb34918e4f519caeba735bc74c7870acad9b087e833130451c
3
+ size 502758
2023/BanglaBook_ A Large-scale Bangla Dataset for Sentiment Analysis from Book Reviews/full.md ADDED
@@ -0,0 +1,259 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # BANGLABOOK: A Large-scale Bangla Dataset for Sentiment Analysis from Book Reviews
2
+
3
+ Mohsinul Kabir*, Obayed Bin Mahfuz*, Syed Rifat Raiyan*, Hasan Mahmud, Md Kamrul Hasan
4
+
5
+ Systems and Software Lab (SSL)
6
+
7
+ Department of Computer Science and Engineering
8
+
9
+ Islamic University of Technology, Dhaka, Bangladesh
10
+
11
+ {mohsinulkabir, siam, rifatraiyan, hasan, hasank}@iut-dhaka.edu
12
+
13
+ # Abstract
14
+
15
+ The analysis of consumer sentiment, as expressed through reviews, can provide a wealth of insight regarding the quality of a product. While the study of sentiment analysis has been widely explored in many popular languages, relatively less attention has been given to the Bangla language, mostly due to a lack of relevant data and cross-domain adaptability. To address this limitation, we present BANGLABOOK, a large-scale dataset of Bangla book reviews consisting of 158,065 samples classified into three broad categories: positive, negative, and neutral. We provide a detailed statistical analysis of the dataset and employ a range of machine learning models to establish baselines including SVM, LSTM, and Bangla-BERT. Our findings demonstrate a substantial performance advantage of pretrained models over models that rely on manually crafted features, emphasizing the necessity for additional training resources in this domain. Additionally, we conduct an in-depth error analysis by examining sentiment unigrams, which may provide insight into common classification errors in under-resourced languages like Bangla. Our codes and data are publicly available at https://github.com/mohsinulkabir14/BanglaBook.
16
+
17
+ # 1 Introduction
18
+
19
+ The resources publicly available for scholarly investigation in the realm of Sentiment Analysis (SA) for the Bangla language are scarce and limited in quantity (Khatun and Rabeya, 2022; Sazzed, 2021; Rahman et al., 2019) despite its literary gravitas as the $6^{\text{th}}$ most spoken language $^{1}$ in the world with approximately 200 million speakers. In the existing literature on Bangla Text SA, as shown in Table 5, the largest dataset consists
20
+
21
+ of 20,468 samples (Islam et al., 2022) while the smallest has a mere 1,050 samples (Tabassum and Khan, 2019). Besides these, Islam et al. (2020) created a dataset consisting of 17,852 samples and Islam et al. (2021) utilized a dataset of 15,728 samples. All other datasets apart from these either have $< 15,000$ samples or are publicly unavailable. Another limitation of the existing research works in Bangla Text SA is the deficiency of datasets having product-specific review samples. Most of the available Bangla SA datasets are focused on user-generated textual content from cyberspace. The insights derived from these may not accurately represent sentiment in the context of product reviews, thus hindering their usefulness for businesses. The tonal and linguistic analysis of reviews from product-specific datasets can aid businesses to gain valuable insights into customer attitudes, preferences, and experiences which can then be leveraged to improve products and services, design targeted marketing campaigns, and make more informed business decisions. In this paper, we introduce a large-scale dataset, BANGLABOOK, consisting of 158,065 samples of book reviews collected from online bookshops written in the Bangla language. This is the largest dataset for Bangla sentiment analysis to the best of our knowledge. We perform an analysis of the dataset's statistical characteristics, employ various ML techniques to establish a performance benchmark for validating the dataset, and also conduct a thorough evaluation of the classification errors.
22
+
23
+ # 2 Dataset Construction
24
+
25
+ In order to create this dataset, we collect a total of 204,659 book reviews from two online bookshops (Rokomari² and Wafilife³) using a web scraper developed with several Python libraries, including BeautifulSoup, Selenium, Pandas, Openpyxl,
26
+
27
+ $^{2}$ https://www.rokomari.com/
28
+ <sup>3</sup>https://www.wafilife.com/
29
+
30
+ <table><tr><td>Source</td><td>Language</td><td>Annotated</td><td>Unannotated</td><td>Total</td></tr><tr><td rowspan="4">Rokomari</td><td>Bangla</td><td>84,672</td><td>24,806</td><td>109,478</td></tr><tr><td>Bangla† + English</td><td>56,485</td><td>15,408</td><td>71,893</td></tr><tr><td>Bangla + Bangla† + English</td><td>13,144</td><td>4,114</td><td>17,258</td></tr><tr><td>Total</td><td>154,301</td><td>44,328</td><td>198,629</td></tr><tr><td rowspan="4">Wafilife</td><td>Bangla</td><td>4,699</td><td>59</td><td>4,758</td></tr><tr><td>Bangla† + English</td><td>370</td><td>3</td><td>373</td></tr><tr><td>Bangla + Bangla† + English</td><td>896</td><td>3</td><td>899</td></tr><tr><td>Total</td><td>5,965</td><td>65</td><td>6,030</td></tr><tr><td rowspan="4"></td><td>Bangla</td><td>89,371</td><td>24,865</td><td>114,237</td></tr><tr><td>Bangla† + English</td><td>56,855</td><td>15,411</td><td>72,266</td></tr><tr><td>Bangla + Bangla† + English</td><td>14,040</td><td>4,117</td><td>18,157</td></tr><tr><td>Total</td><td>160,266</td><td>44,393</td><td>204,659</td></tr><tr><td></td><td>Untranslated Data (Removed)</td><td>2,201</td><td></td><td></td></tr><tr><td></td><td>Final Dataset Size</td><td>158,065</td><td></td><td></td></tr></table>
31
+
32
+ and Webdriver, to collect and process the raw data.
33
+
34
+ For the data collection and preparation process of the BANGLABOOK dataset, we first compile a list of URLs for authors from online bookstores. From there, we procure URLs for the books. We meticulously scrape information such as book titles, author names, book categories, review texts, reviewer names, review dates, and ratings by utilizing these book URLs.
35
+
36
+ Table 1: Summary statistics of our dataset. Bangla† denotes Romanized Bangla text.
37
+
38
+ <table><tr><td rowspan="5">General Properties</td><td># of Reviews</td><td>158,065</td></tr><tr><td># of Books</td><td>30,253</td></tr><tr><td># of Reviewers</td><td>44,616</td></tr><tr><td># of Categories</td><td>1,573</td></tr><tr><td>Total Review Words</td><td>44,429,201</td></tr><tr><td rowspan="3">Single Review</td><td>max. Word length</td><td>765</td></tr><tr><td>min. Word length</td><td>1</td></tr><tr><td>avg. Word length</td><td>281.08</td></tr></table>
39
+
40
+ Table 2: General overview of BANGLABOOK.
41
+
42
+ # 2.1 Labeling & Translation
43
+
44
+ If a review does not have a rating, we deem it unannotated. Reviews with a rating of 1 or 2 are classified as negative, a rating of 3 is considered neutral, and a rating of 4 or 5 is classified as positive. Two manual experiments are carried out to validate the use of ratings as a measure of sentiment in product reviews. In the first experiment, around $10\%$ of the reviews are randomly selected and annotated manually. The annotated labels are cross-checked with the original labels, resulting in a $96.7\%$ accuracy in the corresponding labels. In addition, we consult the work of Wang et al. (2020) that explored the issue of incongruous sentiment expressions with regard to ratings. Specifically, the study scrutinized two categories of reviews: high ratings lacking a positive sentiment, and low ratings lacking a negative sentiment. We perform an analysis to identify such inconsistencies within our dataset and discovered that only a minuscule $3.41\%$ of the samples exhibited this pattern. This figure is rela
45
+
46
+ tively insignificant when considering the substantially large scale of our dataset.
47
+
48
+ ![](images/76550d660072eace8cce26377b4dcae393302544a68c254e887f398292922d2d.jpg)
49
+ (a) Sentiment Distribution
50
+
51
+ ![](images/21e6fd1cf1fee406816d2a9d897267b82959eb266caa2730ad1e1353cc05df59.jpg)
52
+ (b) Rating Distribution
53
+ Figure 1: Class Distribution of BANGLABOOK.
54
+
55
+ After discarding the unannotated reviews, we curate a final dataset of 158,065 annotated reviews. Of these, 89,371 are written entirely in Bangla. The remaining 68,694 reviews were written in Romanized Bangla, English, or a mix of languages. They are translated into Bangla with Google Translator and a custom Python program using the googletrans library. The translations are subsequently subjected to manual review and scrutiny to confirm their accuracy. The majority of inaccurate translations primarily comprise spelling errors and instances where English words remain untranslated within samples containing a combination of Bangla and English text. The meticulous evaluation process of untranslated samples involves a thorough assessment by post-graduate native Bangla speakers, who critically compare the translated text against the original untranslated text to ascertain the correctness of the translation.
56
+
57
+ # 3 Statistical Analysis
58
+
59
+ Tables 1 and 2 provide an overview of the statistical properties of the BANGLABOOK dataset. The sentiment doughnut chart in Figure-1a illustrates the proportion of positive, neutral, and negative reviews, while the rating doughnut chart in Figure-1b displays the percentage of reviews that corre
60
+
61
+ <table><tr><td>Method</td><td>Negative</td><td>Neutral</td><td>Positive</td><td>Weighted Avg.</td></tr><tr><td>Random Forest (word 2-gram + word 3-gram)</td><td>0.56</td><td>0.34</td><td>0.96</td><td>0.9106</td></tr><tr><td>SVM (word 2-gram + word 3-gram)</td><td>0.40</td><td>0.15</td><td>1.00</td><td>0.9053</td></tr><tr><td>Random Forest (word 1-gram)</td><td>0.48</td><td>0.35</td><td>0.96</td><td>0.9043</td></tr><tr><td>Logistic Regression (char 2-gram + char 3-gram)</td><td>0.55</td><td>0.13</td><td>0.96</td><td>0.8978</td></tr><tr><td>Bangla-BERT (base-uncased)</td><td>0.60</td><td>0.22</td><td>0.96</td><td>0.9064</td></tr><tr><td>Logistic Regression (word 2-gram + word 3-gram)</td><td>0.53</td><td>0.13</td><td>0.96</td><td>0.8964</td></tr><tr><td>Bangla-BERT (large)</td><td>0.72</td><td>0.40</td><td>0.97</td><td>0.9331</td></tr><tr><td>XGBoost (char 2-gram + char 3-gram)</td><td>0.31</td><td>0.02</td><td>0.95</td><td>0.8723</td></tr><tr><td>Multinomial NB (word 2-gram + word 3-gram)</td><td>0.23</td><td>0.03</td><td>0.95</td><td>0.8663</td></tr><tr><td>LSTM (GloVe)</td><td>0.11</td><td>0.00</td><td>0.10</td><td>0.0991</td></tr><tr><td>XGBoost (word 2-gram + word 3-gram)</td><td>0.23</td><td>0.01</td><td>0.95</td><td>0.8651</td></tr><tr><td>Multinomial NB (BoW)</td><td>0.18</td><td>0.05</td><td>0.94</td><td>0.8564</td></tr><tr><td>SVM (word 1-gram)</td><td>0.08</td><td>0.04</td><td>0.94</td><td>0.8519</td></tr></table>
62
+
63
+ Table 3: Catergory-wise Binary Task F1-score and Weighted Average F1-score of each method on BANGLABOOK.
64
+
65
+ spond to each rating on a scale of 1 to 5.
66
+
67
+ Upon analyzing the sentiment chart, it appears that the majority of the reviews $(124,084 + 17,503 = 141,587$ samples) are positive, with a significant portion also being negative $(2,728 + 6,946 = 9,674$ samples). A relatively small fraction of the reviews are neutral (6,804 samples). This suggests that overall, the books have been well received by the readers, with the majority expressing favorable opinions. The distribution of the dataset is representative of real-world scenarios and it tessellates well with previous content analysis works on book reviews (Lin et al., 2005; Sorensen and Rasmussen, 2004). In Figure-2, we can visualize an illustration of the sentiment distribution among the 5 most frequently reviewed categories of books. We can gain some salient insights from the popularity of these genres. Contemporary novels are bestsellers as they reflect current events, social issues, and trends, making them relatable and thought-provoking for the readers while self-help and religious books provide guidance, inspiration, and a sense of purpose, catering to individuals' quest for personal growth and spiritual fulfillment.
68
+
69
+ # 4 Developing Benchmark for BANGLABOOK
70
+
71
+ A series of baseline models with combinations of different lexical and semantic features are chosen to evaluate the BANGLABOOK dataset. An overview of the models, evaluation metrics, results, and analysis of the experimental results are provided in this section.
72
+
73
+ # 4.1 Baseline Models & Features
74
+
75
+ For the lexical features, we extract bag-of-words (BoW), char $n$ -grams (1-3), and word $n$ -grams (1-3) from the reviews as these representations have performed well in different classification tasks (Islam et al., 2022). After extracting the features, they are vectorized using TF-IDF and count vec
76
+
77
+ ![](images/801e495ea340c69d691c05085acf634158a1c49e822d0ae50a93be87c223f433.jpg)
78
+ Figure 2: Sentiment Distribution of top 5 most popular genres. In clockwise order, वस्थकालीन अप्रति स (Contemporary Novel), वस्थकालीन अप्रति तूधोत्तिक तूधोत्तिक तूधोत्तिक तूधोत्तिक तूधोत्तिक (Islamic Ideals and Doctrines), वस्थकालीन वर्षेहि तूधोत्तिक तूधोत्तिक तूधोत्तिक (Islamic Books: Self-Development), वस्थकालीन वर्षेहि तूधोत्तिक तूधोत्तिक (Student Life Development), वस्थकालीन वर्षेहि तूधोत्तिक तूधोत्तिक (Translated Books: Self-Development and Meditation).
79
+
80
+ torizer and trained on a series of ML models such as Random Forest (Breiman, 2001), XGBoost (Chen and Guestrin, 2016), linear SVM (Cortes and Vapnik, 1995), Logistic Regression (le Cessie and van Houwelingen, 1992) and Multinomial Naive Bayes (John and Langley, 1995). We choose LSTM (Hochreiter and Schmidhuber, 1997) with GloVe (Pennington et al., 2014) embedding for its ability to understand context along with recent dependency. We also fine-tuned two available transformer-based models in Bangla: Bangla-BERT (base-uncased) (110M parameters) (Sarker, 2020) and Bangla-BERT (large) (2.5B parameters) (Bhattacharjee et al., 2022), due to the recent success of BERT (Devlin et al., 2019) in various downstream NLP tasks. We select F1-score and weighted average F1-score to evaluate the models because the dataset has an un
81
+
82
+ <table><tr><td>Class</td><td>10 Most Frequent Words</td></tr><tr><td>Positive</td><td>बालेला (good), शन्तर (nice), अस्थान्यारुँ (extraordinary), दूपाकोँ (splendid), वर्णा (best), सहानुँ (facile), धनाकोर (beautiful), अश्थि (hope), वन्तर्यादित (gratefulness), अलामान्यारुँ, वल्तर्यादित (gratitude)</td></tr><tr><td>Neutral</td><td>बालेला (good), शन्तर (nice), अशरागोँ (bad), वन्तार्यादित (average), वल (fault), वर्णारेम (hope), सहानुँ (facile), धनाकोर (extraordinary), कम्ज (low), वन्तर्यादित (splendid)</td></tr><tr><td>Negative</td><td>बालेला (good), वल्तर (trash), अशरागोँ (bad), वल (fault), वर्णारेम (nice), वर्णारेम (hope), वति (waste), कम्ज (useless), वन्तर्यादित (disappointment), कम्ज (low)</td></tr></table>
83
+
84
+ Table 4: Most frequent word unigrams conveying the strongest sentiments of each class with English translation. The colors respectively denote Positive, Neutral and Negative sentiments.
85
+
86
+ ![](images/e56d3518d85c08bfa6d3d061bdfe7945c590061f3d16e56b768f41c191a92c4f.jpg)
87
+ Figure 3: Confusion Matrix for Bangla-BERT
88
+
89
+ even class distribution. F1-score is the harmonic mean of precision and recall and it helps balance the metric across the imbalanced positive/negative samples (Sokolova et al., 2006). All our experiments are done using scikit-learn, pytorch, and transformers (Vaswani et al., 2017) and run on Google Colaboratory. The training, testing, and validation split of the entire dataset was 70-20-10 with previously unseen samples in the test and validation set.
90
+
91
+ # 4.2 Results & Findings
92
+
93
+ Table 3 summarizes the experimental results for BANGLABOOK. Results show that BanglaBERT (large) outperforms all other models by a clear margin. Also, the combination of word/char 2-gram and word/char 3-gram perform exceptionally well with respective classifiers. Our hypothesis is that these two features result in a large number of unique word and character combinations, aiding the models' ability to generalize effectively across categories. Islam et al. (2022, 2021); Taher et al. (2018) concur on the same verdict by implying that the task predominantly relies on word units, with minimal dependence on subword level information and the nature of the Bangla language itself. Furthermore, Majumder et al. (2002) outlined the suitability of $n$ -gram approaches in generating language profiles for Indo
94
+
95
+ European languages in their work. The bag-of-words (BoW) feature is inept at classifying the corresponding categories because of its inability to capture critical contextual information and nuance (Zheng and Casari, 2018). Although word 1-gram does not outperform word 2-gram and word 3-gram, it does predict the 'Neutral' class well. Both the pre-trained Bangla-BERT models perform fairly consistently across all categories on the BANGLABOOK dataset, demonstrating the usefulness of contextual understanding and transfer learning in classification tasks even in low-resource languages like Bangla. The LSTM model with GloVe embedding recognizes the 'Negative' and 'Positive' classes very marginally and fails completely to identify the 'Neutral' category. It is also notable that, SVM with bigram and trigram achieves perfect scores in the 'Positive' class.
96
+
97
+ To summarize, the utilization of pre-trained models (i.e. Bangla-BERT) that undergo training on extensive corpora, leading to exposure to extensive general language knowledge, has significantly contributed to their superior classification performance compared to other models and word embeddings. Additionally, models trained on handcrafted features also perform significantly well. It should be noted that Bangla pre-trained models are currently undergoing development, and further training on expansive corpora has the potential to enhance their ability to generalize and achieve even more impressive results.
98
+
99
+ # 4.3 Error Analysis
100
+
101
+ In the 'Positive' class, all the models produce excellent classification results. While some models perform reasonably well on the 'Negative' class, nearly all of the models perform poorly on the 'Neutral' class. The class imbalance of the dataset, as shown in Figure 1, is one obvious cause of this fluctuation in results. The confusion matrix for
102
+
103
+ Bangla-BERT on our dataset, presented in Figure3, reveals that most of the 'Negative' and 'Neutral' samples are misclassified as 'Positive' samples by our classifiers. To further analyze the misclassifications, we examine the W1 (word unigrams) of these three classes. We find 124,796 unique W1 for the 'Positive' class, 20,714 unique W1 for the 'Negative' class, and 19,096 unique W1 for the 'Neutral' class. $77.57\%$ of the W1 from the 'Neutral' class and $79.83\%$ of the W1 from the 'Negative' class are found in the 'Positive' class. Table 4 depicts the most frequent W1 conveying the strongest sentiments for each class. With only one distinct 'Neutral' W1 and even the 'Negative' class having multiple positive W1, the dominance of 'Positive' sentiment W1 over the other two classes is evident. This may have contributed to the lack of distinctive words in the 'Negative' and 'Neutral' classes, which inevitably prevented the feature-based models from generalizing.
104
+
105
+ # 5 Morphology and Negation Patterns of Bangla
106
+
107
+ Understanding the morphology and negation patterns of a language holds paramount importance in the realm of sentiment analysis because negation can alter the meaning of words and phrases, thereby affecting the overall sentiment conveyed by a text. We provide a concise yet insightful recapitulation of the topic in the case of Bangla accompanied by review samples from our dataset BANGLABOOK as the respective examples. From the linguistic typological standpoint, Bangla is categorized as a subject-object-verb (SOV) language because the subject, object, and verb generally adhere to said order in its sentential structure (Ramchand, 2004). The most common juxtaposition of polarity from positive to negative is the use of $n_i$ ( $\widehat{n}$ ) as a tensed negative. For example,
108
+
109
+ Aaannn aonnnnnae ananrnnnnae ananrnnnnae ananrnnnnae ananrnnnnae ananrnnnnae ananrnnnnae ananrnnnnae ananrnnnnae ananrnnnnae ananrnnnnae ananrnnnnae ananrnnnnae ananrnnnnae ananrnnnnae ananrnnnae ananrnnnnae ananrnnnnae ananrnnnnae ananrnnnnae ananrnnnnae ananrnnnnae ananrnnnnae ananrnnnnae ananrnnnnae ananrnnnnae ananrnnnnae ananrnnnnae ananrnnnnae ananrnnnnaee
110
+
111
+ Another negational feature is expressed by placing na (nata) prior to the non-finite verb and after the finite verb in a sentence (although there are some exceptions). For example,
112
+
113
+ AeBnBnBn BnBnBnBn BnBnBnBn BnBnBn BnBnBn BnBnBn BnBnBn BnBnBn BnBnBn BnBnBn BnBnBn BnBnBn BnBnBn BnBnBn BnBnBn BnBnBn BnBnBn BnBnBn BnBnBn BnBn BnBn BnBn BnBn BnBn BnBn BnBn BnBn BnBn BnBn BnBn BnBn BnBn BnBn BnBn BnBn BnBn BnBn BnBn BnBn BnBn BnBn BnBn BnBn BnBn
114
+
115
+ The Bangla language consists of no negative adverbs or pronouns (Thompson, 2006). This is why the negative element responsible for the reversal of polarity transcends from the word-level to the sentence-level rendering the occurrences of almost all negations in Bangla manifest on the syntactic level (Thompson, 2006).
116
+
117
+ In the cases of double negatives, we see the involvement of lexical negation, a morphological feature that works with negative affixes (prefixes and suffixes) attached to a root word. The prefixes in Bangla have two different phonetic variations or allophones depending on whether the prefix precedes a vowel or a consonant. The same is true for prefixes that imbue a negative connotation to a root word, e.g. $o$ (ə) and $on$ (ən). For example,
118
+
119
+ Kekc 8e 8e 8e 8e 8e 8e 8e 8e 8e 8e 8e 8e 8e 8e 8e 8e 8e 8e 8e 8e 8e 8e 8e 8e 8e 8e 8e 8e 8e 8e 8e 8e 8e 8e
120
+
121
+ Another negative prefix that precedes a root word to invert its polarity is $nir$ (NIR). For example,
122
+
123
+ Leye 1
124
+
125
+ On the contrary, the suffix $hin$ (रिन) succeeds a root word to convert it to the corresponding negative form. For example,
126
+
127
+ Arnrkrn m n knnnck gne nna pae aen
128
+
129
+ The expression of negative sentiment is, therefore, very nuanced in the Bangla language as every occurrence of negative is intertwined with features like the tense, hierarchy of syntax, verb status, case-specific issues, and sequential arrangement of words (Thompson, 2006).
130
+
131
+ # 6 Conclusion
132
+
133
+ This paper introduces BANGLABOOK, the largest Bangla book review dataset with 158,065 samples, each labeled with 1 of 3 user sentiments. We provide extensive statistical analysis and strong baselines facilitating the utility of the dataset. Given its massive size and fine-grained sentiment distribution, BANGLABOOK has the potential to alleviate the resource scarcity in Bangla language research.
134
+
135
+ # 7 Limitations
136
+
137
+ Many of the reviews that were gathered for constructing BANGLABOOK are discarded because they lack a corresponding rating. A manual annotation process would have yielded a much larger dataset, which was not feasible due to resource constraints. Moreover, one of the challenges for validating the dataset is the lack of statistical models and word-embeddings pre-trained on the Bangla language. Some pre-trained Bangla-BERT models, yet to be trained on extensive corpora, have only recently been proposed. Improving transformer-based models for Bangla can enhance sub-word level contextual understanding which will consequently help in more accurate identification of the sentiments in BANGLABOOK (Islam et al., 2022).
138
+
139
+ # References
140
+
141
+ Mst Tuhin Akter, Manoara Begum, and Rashed Mustafa. 2021. Bengali sentiment analysis of e-commerce product reviews using k-nearest neighbors. In 2021 International Conference on Information and Communication Technology for Sustainable Development (ICICT4SD), pages 40-44. IEEE.
142
+ Sanjida Akter and Muhammad Tareq Aziz. 2016. Sentiment analysis on facebook group using lexicon based approach. In 2016 3rd International Conference on Electrical Engineering and Information Communication Technology (ICEEICT), pages 1-4. IEEE.
143
+ Shad Al Kaiser, Sudipta Mandal, Ashraful Kalam Abid, Ekhfa Hossain, Ferdous Bin Ali, and Intisar Tahmid Naheen. 2021. Social media opinion mining based on bangla public post of facebook. In 2021 24th International Conference on Computer and Information Technology (ICCIT), pages 1-6. IEEE.
144
+ Abhik Bhattacharjee, Tahmid Hasan, Wasi Ahmad, Kazi Samin Mubasshir, Md Saiful Islam, Anindya Iqbal, M. Sohel Rahman, and Rifat Shahriyar. 2022. BanglaBERT: Language model pretraining and benchmarks for low-resource language understanding evaluation in Bangla. In Findings of the Association for Computational Linguistics: NAACL 2022, pages 1318-1327, Seattle, United States. Association for Computational Linguistics.
145
+ L. Breiman. 2001. Random forests. Machine Learning, 45:5-32.
146
+ Tianqi Chen and Carlos Guestrin. 2016. Xgboost: A scalable tree boosting system. Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining.
147
+ Shaika Chowdhury and Wasifa Chowdhury. 2014. Performing sentiment analysis in bangla microblog posts. In 2014 International Conference on Informatics, Electronics & Vision (ICIEV), pages 1-6. IEEE.
148
+ Corinna Cortes and Vladimir Naumovich Vapnik. 1995. Support-vector networks. Machine Learning, 20:273-297.
149
+ Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. 2019. Bert: Pre-training of deep bidirectional transformers for language understanding. ArXiv, abs/1810.04805.
150
+ Rajib Chandra Dey and Orvila Sarker. 2019. Sentiment analysis on bengali text using lexicon based approach. In 2019 22nd International Conference on Computer and Information Technology (ICCIT), pages 1-5. IEEE.
151
+ Asif Hassan, Mohammad Rashedul Amin, Abul Kalam Al Azad, and Nabeel Mohammed. 2016. Sentiment analysis on bangla and romanized bangla text using
152
+
153
+ deep recurrent models. In 2016 International Workshop on Computational Intelligence (IWCI), pages 51-56. IEEE.
154
+ Sepp Hochreiter and Jürgen Schmidhuber. 1997. Long short-term memory. *Neural Computation*, 9:1735-1780.
155
+ MD Iqbal, Avishek Das, Omar Sharif, Mohammed Moshiul Hoque, and Iqbal H Sarker. 2022. Bemoc: A corpus for identifying emotion in bengali texts. SN Computer Science, 3(2):1-17.
156
+ Khondoker Ittehadul Islam, Md Saiful Islam, and Md Ruhul Amin. 2020. Sentiment analysis in bengali via transfer learning using multi-lingual bert. In 2020 23rd International Conference on Computer and Information Technology (ICCIIT), pages 1-5. IEEE.
157
+ Khondoker Ittehadul Islam, Sadipta Kar, Md Saiful Islam, and Mohammad Ruhul Amin. 2021. Sentnob: A dataset for analysing sentiment on noisy bangla texts. In Findings of the Association for Computational Linguistics: EMNLP 2021, pages 3265-3271.
158
+ Khondoker Ittehadul Islam, Tanvir Yuvraz, Md Saiful Islam, and Enamul Hassan. 2022. Emonoba: A dataset for analyzing fine-grained emotions on noisy bangla texts. In Proceedings of the 2nd Conference of the Asia-Pacific Chapter of the Association for Computational Linguistics and the 12th International Joint Conference on Natural Language Processing, pages 128-134.
159
+ George H. John and Pat Langley. 1995. Estimating continuous distributions in bayesian classifiers. In _Conference on Uncertainty in Artificial Intelligence_.
160
+ Mst Eshita Khatun and Tapasy Rabeya. 2022. A machine learning approach for sentiment analysis of book reviews in bangla language. In 2022 6th International Conference on Trends in Electronics and Informatics (ICOEI), pages 1178-1182. IEEE.
161
+ Saskia le Cessie and J. C. van Houwelingen. 1992. Ridge estimators in logistic regression. Applied statistics, 41:191-201.
162
+ Tom MY Lin, Pin Luarn, and Yun Kuei Huang. 2005. Effect of internet book reviews on purchase intention: A focus group study. The Journal of Academic Librarianship, 31(5):461-468.
163
+ Shamsul Arafin Mahtab, Nazmul Islam, and Md Mahfuzur Rahaman. 2018. Sentiment analysis on bangladesh cricket with support vector machine. In 2018 international conference on Bangla speech and language processing (ICBSLP), pages 1-4. IEEE.
164
+ P Majumder, M Mitra, and BB Chaudhuri. 2002. Ngram: a language independent approach to ir and nlp. In International conference on universal knowledge and language, volume 2.
165
+
166
+ Muhammad Mahmudun Nabi, Md Tanzir Altaf, and Sabir Ismail. 2016. Detecting sentiment from bangla text using machine learning technique and feature analysis. International Journal of Computer Applications, 153(11):28-34.
167
+ Jeffrey Pennington, Richard Socher, and Christopher D. Manning. 2014. Glove: Global vectors for word representation. In Conference on Empirical Methods in Natural Language Processing.
168
+ Md Rahib, Rumman Hussain Khan, Amzad Hussain Tamim, Mohammad Zawad Tahmeed, and Mohammad Jaber Hossain. 2022. Emotion detection based on bangladeshi peoples social media response on Covid-19. SN Computer Science, 3(2):1-6.
169
+ Fuad Rahman, Habibur Khan, Zakir Hossain, Mahfuza Begum, Sadia Mahanaz, Ashraful Islam, and Aminul Islam. 2019. An annotated bangla sentiment analysis corpus. In 2019 International Conference on Bangla Speech and Language Processing (ICBSLP), pages 1-5. IEEE.
170
+ Md Atikur Rahman and Emon Kumar Dey. 2018. Datasets for aspect-based sentiment analysis in bangla and its baseline evaluation. Data, 3(2):15.
171
+ Gillian Catriona Ramchand. 2004. Two types of negation in bengali. *Clause structure in South Asian languages*, pages 39-66.
172
+ Sagor Sarker. 2020. Banglabert: Bengali mask language model for bengali language understanding.
173
+ Salim Sazzed. 2020a. Cross-lingual sentiment classification in low-resource bengali language. In Proceedings of the sixth workshop on noisy user-generated text (W-NUT 2020), pages 50–60.
174
+ Salim Sazzed. 2020b. Development of sentiment lexicon in bengali utilizing corpus and cross-lingual resources. In 2020 IEEE 21st International conference on information reuse and integration for data science (IRI), pages 237-244. IEEE.
175
+ Salim Sazzed. 2021. Bengsentilex and bengswear-lex: creating lexicons for sentiment analysis and profanity detection in low-resource bengali language. PeerJ Computer Science, 7:e681.
176
+ Marina Sokolova, Nathalie Japkowicz, and S. Szpakowicz. 2006. Beyond accuracy, f-score and roc: A family of discriminant measures for performance evaluation. In Australian Conference on Artificial Intelligence.
177
+ Alan T Sorensen and Scott J Rasmussen. 2004. Is any publicity good publicity? a note on the impact of book reviews. NBER Working paper, Stanford University.
178
+ Nusrath Tabassum and Muhammad Ibrahim Khan. 2019. Design an empirical framework for sentiment analysis from bangla text using machine learning. In 2019 International Conference on Electrical, Computer and Communication Engineering (ECCE), pages 1-5. IEEE.
179
+
180
+ SM Abu Taher, Kazi Afsana Akhter, and KM Azharul Hasan. 2018. N-gram based sentiment mining for bangla text using support vector machine. In 2018 international conference on Bangla speech and language processing (ICBSLP), pages 1-5. IEEE.
181
+ Hanne-Ruth Thompson. 2006. Negation patterns in bengali. Bulletin of the School of Oriental and African Studies, 69(2):243-265.
182
+ Rashedul Amin Tuhin, Bechitra Kumar Paul, Faria Nawrine, Mahbuba Akter, and Amit Kumar Das. 2019. An automated system of sentiment analysis from bangla text using supervised learning techniques. In 2019 IEEE 4th International Conference on Computer and Communication Systems (ICCCS), pages 360-364. IEEE.
183
+ Ashish Vaswani, Noam M. Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N. Gomez, Lukasz Kaiser, and Illia Polosukhin. 2017. Attention is all you need. ArXiv, abs/1706.03762.
184
+ Anning Wang, Qiang Zhang, Shuangyao Zhao, Xiaonong Lu, and Zhanglin Peng. 2020. A review-driven customer preference measurement model for product improvement: sentiment-based importance performance analysis. Information Systems and e-Business Management, 18:61-88.
185
+ Alice Zheng and Amanda Casari. 2018. Feature engineering for machine learning: principles and techniques for data scientists. "O'Reilly Media, Inc."
186
+
187
+ A Appendix
188
+
189
+ <table><tr><td>Dataset</td><td colspan="2">Sentiment Classification</td><td colspan="2">Sentiment Distribution</td><td>Total # of Samples</td><td>Availability</td><td>Type of Content</td><td>Source(s)</td><td>Baseline Models</td></tr><tr><td>(Tabassum and Khan, 2019)</td><td colspan="2">Positive Negative</td><td colspan="2">- -</td><td>1,050</td><td>Closed</td><td>Posts, comments</td><td>Facebook, Twitter</td><td>RF</td></tr><tr><td>(Chowdhury and Chowdhury, 2014)</td><td colspan="2">Positive Negative</td><td colspan="2">- -</td><td>1,300</td><td>Closed</td><td>Posts, comments</td><td>Twitter</td><td>-</td></tr><tr><td>(Nabi et al., 2016)</td><td colspan="2">Positive Negative</td><td colspan="2">- -</td><td>1,500</td><td>Closed</td><td>Posts, comments</td><td>Social Media</td><td>-</td></tr><tr><td>(Mahtab et al., 2018)</td><td colspan="2">Praise Criticism Sadness</td><td colspan="2">513 604 484</td><td>1,601</td><td>Closed</td><td>Comments</td><td>Prothom Alo Online News Portal</td><td>SVM, DT, NB</td></tr><tr><td>(Akter and Aziz, 2016)</td><td colspan="2">Positive Negative Neutral</td><td colspan="2">- -</td><td>3,600</td><td>Closed</td><td>Posts, comments</td><td>Facebook</td><td>NB</td></tr><tr><td>(Rahman and Kumar Dey, 2018)</td><td colspan="2">Positive Negative Neutral</td><td colspan="2">- -</td><td>4,700</td><td>Open</td><td>Comments</td><td>Facebook pages: BBC Bangla, Prothom Alo</td><td>SVM, LR, KNN, DT, LSTM NB, CNN</td></tr><tr><td>(Dey and Sarker, 2019)</td><td colspan="2">Positive Negative</td><td colspan="2">2,600 2,600</td><td>5,200</td><td>Closed</td><td>Comments, reviews</td><td>Facebook, Twitter, YouTube, News Portals</td><td>DT, NB, SVM</td></tr><tr><td>(Khatun and Rabeya, 2022)</td><td colspan="2">Positive Negative</td><td colspan="2">- -</td><td>5,500</td><td>Closed</td><td>Comments, reviews</td><td>Social Media</td><td>-</td></tr><tr><td>BEMOC (Iqbal et al., 2022)</td><td colspan="2">AngerFearSadJoyDisgust</td><td colspan="2">- -</td><td>7,000</td><td>Open</td><td>Posts, comments</td><td>Facebook, YouTube, Online blogs, Bangla story books, novels, newspapers, discourse</td><td>-</td></tr><tr><td>(Tuhin et al., 2019)</td><td colspan="2">Happy Tender Excited Sad Angry Scared</td><td>- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -</td><td>- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -</td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>(Akter et al., 2021)</td><td colspan="2">Positive Negative Neutral</td><td>- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -</td><td>7,905</td><td>Closed</td><td>Product reviews</td><td>Daraz</td><td>RF, LR, SVM, KNN, XGB</td><td></td></tr><tr><td>(Hassan et al., 2016)</td><td colspan="2">Positive Negative Ambiguous</td><td>- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -</td><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>(Rahib et al., 2022)</td><td colspan="2">Insightful Curious Gratitude</td><td colspan="2">3,800 3,549 3,232</td><td>10,581</td><td>Closed</td><td>Comments</td><td>Social Media</td><td>SVM, RF, CNN, LSTM</td></tr><tr><td rowspan="2">(Al Kaiser et al., 2021)</td><td rowspan="2">Positive Negative Neutral</td><td>Wishful Thinking Appreciation</td><td>967 942</td><td>1,909</td><td rowspan="2">11,006</td><td rowspan="2">Closed</td><td rowspan="2">Comments</td><td rowspan="2">Facebook</td><td rowspan="2">LR, DT, RF, MNB, KNN, Linear SVM, RBF SVM, XGB</td></tr><tr><td>Gender-based hate Religious hate Political hate Personal hate Sarcasm</td><td>525 731 572 1,995 1,414 3,860</td><td>5,237 3,860</td></tr><tr><td>(Sazzed, 2020a)</td><td colspan="2">Positive Negative</td><td colspan="2">8,500 3,307</td><td>11,807</td><td>Open</td><td>Comments</td><td>YouTube</td><td>SVM, ET, RF, LR, VADER, TextBlob</td></tr><tr><td>(Sazzed, 2020b)</td><td colspan="2">Positive Negative</td><td colspan="2">- -</td><td>12,000</td><td>Closed</td><td>Comments</td><td>YouTube</td><td>-</td></tr><tr><td rowspan="2">SENTNoB (Islam et al., 2021)</td><td rowspan="2" colspan="2">Positive Negative</td><td rowspan="2" colspan="2">6,410 5,709 3,609</td><td rowspan="2">15,728</td><td rowspan="2">Open</td><td rowspan="2">Comments</td><td rowspan="2">Prothom Alo Online Newspaper, YouTube</td><td rowspan="2">RNN</td></tr><tr></tr><tr><td>(Islam et al., 2020)</td><td colspan="2">Positive Negative Neutral</td><td colspan="2">4,769 8,351 4,732</td><td>17,852</td><td>Open</td><td>Comments</td><td>Prothom Alo Online Newspaper</td><td>CNN, LSTM, BERT, GRU, fastText</td></tr><tr><td>EMONOBA (Islam et al., 2022)</td><td colspan="2">Love Joy Surprise Anger Sadness Fear</td><td colspan="2">4,202 9,249 939 3,905 5,109 307</td><td>20,468</td><td>Open</td><td>Comments</td><td>YouTube, Facebook, Twitter, Prothom Alo</td><td>Bi-LSTM, fastText, Bangla-BERT-base</td></tr><tr><td>BANGLABOOK (ours)</td><td colspan="2">Positive Negative Neutral</td><td colspan="2">141,587 9,674 6,804</td><td>158,065</td><td>\( Open^† \)</td><td>Book reviews</td><td>Rokomari, Wafilife</td><td>RF, LSTM, LR, GRU MNB, SVM, XGB Bangla-BERT</td></tr></table>
190
+
191
+ Table 5: Comparison of notable Bangla Sentiment Analysis datasets sorted in ascending order of size. The abbreviations respectively denote, Random Forest (RF), Support Vector Machine (SVM), Decision Tree (DT), Naive Bayes (NB), Logistic Regression (LR), K-Nearest Neighbors (KNN), Long Short-term Memory (LSTM), Convolutional Neural Network (CNN), Extreme Gradient Boost (XGB), Multinomial Naive Bayes (MNB), Radial Basis Function (RBF), Extreme Random Tree (ET), Recurrent Neural Network (RNN), Bidirectional Encoder Representations from Transformers (BERT), Gated Recurrent Unit (GRU), Bi-LSTM (Bidirectional LSTM). All the publicly available datasets are hyperlinked. Open† denotes the redaction of the link for anonymity.
192
+
193
+ A For every submission:
194
+
195
+ A1. Did you describe the limitations of your work?
196
+
197
+ Left blank.
198
+
199
+ A2. Did you discuss any potential risks of your work?
200
+
201
+ Not applicable. Left blank.
202
+
203
+ A3. Do the abstract and introduction summarize the paper's main claims?
204
+
205
+ Left blank.
206
+
207
+ A4. Have you used AI writing assistants when working on this paper?
208
+
209
+ Left blank.
210
+
211
+ B Did you use or create scientific artifacts?
212
+
213
+ Left blank.
214
+
215
+ B1. Did you cite the creators of artifacts you used?
216
+
217
+ Not applicable. Left blank.
218
+
219
+ B2. Did you discuss the license or terms for use and / or distribution of any artifacts?
220
+
221
+ Not applicable. Left blank.
222
+
223
+ B3. Did you discuss if your use of existing artifact(s) was consistent with their intended use, provided that it was specified? For the artifacts you create, do you specify intended use and whether that is compatible with the original access conditions (in particular, derivatives of data accessed for research purposes should not be used outside of research contexts)?
224
+
225
+ Not applicable. Left blank.
226
+
227
+ B4. Did you discuss the steps taken to check whether the data that was collected / used contains any information that names or uniquely identifies individual people or offensive content, and the steps taken to protect / anonymize it?
228
+
229
+ Not applicable. Left blank.
230
+
231
+ B5. Did you provide documentation of the artifacts, e.g., coverage of domains, languages, and linguistic phenomena, demographic groups represented, etc.?
232
+
233
+ Not applicable. Left blank.
234
+
235
+ B6. Did you report relevant statistics like the number of examples, details of train / test / dev splits, etc. for the data that you used / created? Even for commonly-used benchmark datasets, include the number of examples in train / validation / test splits, as these provide necessary context for a reader to understand experimental results. For example, small differences in accuracy on large test sets may be significant, while on small test sets they may not be.
236
+
237
+ Left blank.
238
+
239
+ C Did you run computational experiments?
240
+
241
+ Left blank.
242
+
243
+ C1. Did you report the number of parameters in the models used, the total computational budget (e.g., GPU hours), and computing infrastructure used?
244
+
245
+ Left blank.
246
+
247
+ The Responsible NLP Checklist used at ACL 2023 is adopted from NAACL 2022, with the addition of a question on AI writing assistance.
248
+
249
+ C2. Did you discuss the experimental setup, including hyperparameter search and best-found hyperparameter values? Left blank.
250
+ C3. Did you report descriptive statistics about your results (e.g., error bars around results, summary statistics from sets of experiments), and is it transparent whether you are reporting the max, mean, etc. or just a single run? Left blank.
251
+ C4. If you used existing packages (e.g., for preprocessing, for normalization, or for evaluation), did you report the implementation, model, and parameter settings used (e.g., NLTK, Spacy, ROUGE, etc.)? Left blank.
252
+
253
+ D Did you use human annotators (e.g., crowdworkers) or research with human participants? Left blank.
254
+
255
+ D1. Did you report the full text of instructions given to participants, including e.g., screenshots, disclaimers of any risks to participants or annotators, etc.? Not applicable. Left blank.
256
+ D2. Did you report information about how you recruited (e.g., crowdsourcing platform, students) and paid participants, and discuss if such payment is adequate given the participants' demographic (e.g., country of residence)? Not applicable. Left blank.
257
+ D3. Did you discuss whether and how consent was obtained from people whose data you're using/curating? For example, if you collected data via crowdsourcing, did your instructions to crowdworkers explain how the data would be used? Not applicable. Left blank.
258
+ D4. Was the data collection protocol approved (or determined exempt) by an ethics review board? Not applicable. Left blank.
259
+ D5. Did you report the basic demographic and geographic characteristics of the annotator population that is the source of the data? Not applicable. Left blank.
2023/BanglaBook_ A Large-scale Bangla Dataset for Sentiment Analysis from Book Reviews/images.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:363792c1d34d82035d241a58b36d86ccc119adf4e86fd3ad4d6976a0f75480c4
3
+ size 470369
2023/BanglaBook_ A Large-scale Bangla Dataset for Sentiment Analysis from Book Reviews/layout.json ADDED
The diff for this file is too large to render. See raw diff
 
2023/Benchmarking Diverse-Modal Entity Linking with Generative Models/6aa5cd7b-2bb5-456d-89a4-5cab0ec3e4fb_content_list.json ADDED
The diff for this file is too large to render. See raw diff