Add Batch 57b40db0-d3fc-4c93-8baa-83758a97f5c8 data
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- .gitattributes +64 -0
- 2024/POSIX_ A Prompt Sensitivity Index For Large Language Models/d5c9bcff-4081-4091-9c5f-3246ca4ba1a8_content_list.json +0 -0
- 2024/POSIX_ A Prompt Sensitivity Index For Large Language Models/d5c9bcff-4081-4091-9c5f-3246ca4ba1a8_model.json +0 -0
- 2024/POSIX_ A Prompt Sensitivity Index For Large Language Models/d5c9bcff-4081-4091-9c5f-3246ca4ba1a8_origin.pdf +3 -0
- 2024/POSIX_ A Prompt Sensitivity Index For Large Language Models/full.md +432 -0
- 2024/POSIX_ A Prompt Sensitivity Index For Large Language Models/images.zip +3 -0
- 2024/POSIX_ A Prompt Sensitivity Index For Large Language Models/layout.json +0 -0
- 2024/PPTC-R benchmark_ Towards Evaluating the Robustness of Large Language Models for PowerPoint Task Completion/62237dd5-3d0b-4e64-9f2e-c9dcea29d023_content_list.json +0 -0
- 2024/PPTC-R benchmark_ Towards Evaluating the Robustness of Large Language Models for PowerPoint Task Completion/62237dd5-3d0b-4e64-9f2e-c9dcea29d023_model.json +0 -0
- 2024/PPTC-R benchmark_ Towards Evaluating the Robustness of Large Language Models for PowerPoint Task Completion/62237dd5-3d0b-4e64-9f2e-c9dcea29d023_origin.pdf +3 -0
- 2024/PPTC-R benchmark_ Towards Evaluating the Robustness of Large Language Models for PowerPoint Task Completion/full.md +493 -0
- 2024/PPTC-R benchmark_ Towards Evaluating the Robustness of Large Language Models for PowerPoint Task Completion/images.zip +3 -0
- 2024/PPTC-R benchmark_ Towards Evaluating the Robustness of Large Language Models for PowerPoint Task Completion/layout.json +0 -0
- 2024/PRESTO_ Progressive Pretraining Enhances Synthetic Chemistry Outcomes/654c9376-60f2-4660-a9a7-b6207c8902cc_content_list.json +0 -0
- 2024/PRESTO_ Progressive Pretraining Enhances Synthetic Chemistry Outcomes/654c9376-60f2-4660-a9a7-b6207c8902cc_model.json +0 -0
- 2024/PRESTO_ Progressive Pretraining Enhances Synthetic Chemistry Outcomes/654c9376-60f2-4660-a9a7-b6207c8902cc_origin.pdf +3 -0
- 2024/PRESTO_ Progressive Pretraining Enhances Synthetic Chemistry Outcomes/full.md +0 -0
- 2024/PRESTO_ Progressive Pretraining Enhances Synthetic Chemistry Outcomes/images.zip +3 -0
- 2024/PRESTO_ Progressive Pretraining Enhances Synthetic Chemistry Outcomes/layout.json +0 -0
- 2024/PRoDeliberation_ Parallel Robust Deliberation for End-to-End Spoken Language Understanding/d5bac4e5-cc08-4dad-9e44-6c546b68d3f5_content_list.json +1739 -0
- 2024/PRoDeliberation_ Parallel Robust Deliberation for End-to-End Spoken Language Understanding/d5bac4e5-cc08-4dad-9e44-6c546b68d3f5_model.json +2204 -0
- 2024/PRoDeliberation_ Parallel Robust Deliberation for End-to-End Spoken Language Understanding/d5bac4e5-cc08-4dad-9e44-6c546b68d3f5_origin.pdf +3 -0
- 2024/PRoDeliberation_ Parallel Robust Deliberation for End-to-End Spoken Language Understanding/full.md +329 -0
- 2024/PRoDeliberation_ Parallel Robust Deliberation for End-to-End Spoken Language Understanding/images.zip +3 -0
- 2024/PRoDeliberation_ Parallel Robust Deliberation for End-to-End Spoken Language Understanding/layout.json +0 -0
- 2024/PSLM_ Parallel Generation of Text and Speech with LLMs for Low-Latency Spoken Dialogue Systems/474679cb-bdee-4524-83e9-3d933e8e0915_content_list.json +1482 -0
- 2024/PSLM_ Parallel Generation of Text and Speech with LLMs for Low-Latency Spoken Dialogue Systems/474679cb-bdee-4524-83e9-3d933e8e0915_model.json +1945 -0
- 2024/PSLM_ Parallel Generation of Text and Speech with LLMs for Low-Latency Spoken Dialogue Systems/474679cb-bdee-4524-83e9-3d933e8e0915_origin.pdf +3 -0
- 2024/PSLM_ Parallel Generation of Text and Speech with LLMs for Low-Latency Spoken Dialogue Systems/full.md +277 -0
- 2024/PSLM_ Parallel Generation of Text and Speech with LLMs for Low-Latency Spoken Dialogue Systems/images.zip +3 -0
- 2024/PSLM_ Parallel Generation of Text and Speech with LLMs for Low-Latency Spoken Dialogue Systems/layout.json +0 -0
- 2024/PSST_ A Benchmark for Evaluation-driven Text Public-Speaking Style Transfer/66c3e847-5615-4f18-b251-ee7c324e485a_content_list.json +0 -0
- 2024/PSST_ A Benchmark for Evaluation-driven Text Public-Speaking Style Transfer/66c3e847-5615-4f18-b251-ee7c324e485a_model.json +0 -0
- 2024/PSST_ A Benchmark for Evaluation-driven Text Public-Speaking Style Transfer/66c3e847-5615-4f18-b251-ee7c324e485a_origin.pdf +3 -0
- 2024/PSST_ A Benchmark for Evaluation-driven Text Public-Speaking Style Transfer/full.md +0 -0
- 2024/PSST_ A Benchmark for Evaluation-driven Text Public-Speaking Style Transfer/images.zip +3 -0
- 2024/PSST_ A Benchmark for Evaluation-driven Text Public-Speaking Style Transfer/layout.json +0 -0
- 2024/PURE_ Aligning LLM via Pluggable Query Reformulation for Enhanced Helpfulness/666f491b-e407-4410-9d6b-0125c2ee8de1_content_list.json +0 -0
- 2024/PURE_ Aligning LLM via Pluggable Query Reformulation for Enhanced Helpfulness/666f491b-e407-4410-9d6b-0125c2ee8de1_model.json +0 -0
- 2024/PURE_ Aligning LLM via Pluggable Query Reformulation for Enhanced Helpfulness/666f491b-e407-4410-9d6b-0125c2ee8de1_origin.pdf +3 -0
- 2024/PURE_ Aligning LLM via Pluggable Query Reformulation for Enhanced Helpfulness/full.md +0 -0
- 2024/PURE_ Aligning LLM via Pluggable Query Reformulation for Enhanced Helpfulness/images.zip +3 -0
- 2024/PURE_ Aligning LLM via Pluggable Query Reformulation for Enhanced Helpfulness/layout.json +0 -0
- 2024/PaCoST_ Paired Confidence Significance Testing for Benchmark Contamination Detection in Large Language Models/b243468b-646e-46c8-9aa0-d21151227d75_content_list.json +0 -0
- 2024/PaCoST_ Paired Confidence Significance Testing for Benchmark Contamination Detection in Large Language Models/b243468b-646e-46c8-9aa0-d21151227d75_model.json +0 -0
- 2024/PaCoST_ Paired Confidence Significance Testing for Benchmark Contamination Detection in Large Language Models/b243468b-646e-46c8-9aa0-d21151227d75_origin.pdf +3 -0
- 2024/PaCoST_ Paired Confidence Significance Testing for Benchmark Contamination Detection in Large Language Models/full.md +530 -0
- 2024/PaCoST_ Paired Confidence Significance Testing for Benchmark Contamination Detection in Large Language Models/images.zip +3 -0
- 2024/PaCoST_ Paired Confidence Significance Testing for Benchmark Contamination Detection in Large Language Models/layout.json +0 -0
- 2024/PclGPT_ A Large Language Model for Patronizing and Condescending Language Detection/481b98fd-0730-4f0f-84ba-3f0f9890191f_content_list.json +1935 -0
.gitattributes
CHANGED
|
@@ -3697,3 +3697,67 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 3697 |
2024/PE_[[:space:]]A[[:space:]]Poincare[[:space:]]Explanation[[:space:]]Method[[:space:]]for[[:space:]]Fast[[:space:]]Text[[:space:]]Hierarchy[[:space:]]Generation/a0ad26e8-ebf7-4bc4-ba47-a12992e6ea3d_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 3698 |
2024/PFA-ERC_[[:space:]]Psuedo-Future[[:space:]]Augmented[[:space:]]Dynamic[[:space:]]Emotion[[:space:]]Recognition[[:space:]]in[[:space:]]Conversations/700b4ffc-3557-4a86-82fc-60be2e0f1f06_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 3699 |
2024/PKAD_[[:space:]]Pretrained[[:space:]]Knowledge[[:space:]]is[[:space:]]All[[:space:]]You[[:space:]]Need[[:space:]]to[[:space:]]Detect[[:space:]]and[[:space:]]Mitigate[[:space:]]Textual[[:space:]]Backdoor[[:space:]]Attacks/3e14a699-33a9-4d1a-98b5-db52a4bddcf8_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3697 |
2024/PE_[[:space:]]A[[:space:]]Poincare[[:space:]]Explanation[[:space:]]Method[[:space:]]for[[:space:]]Fast[[:space:]]Text[[:space:]]Hierarchy[[:space:]]Generation/a0ad26e8-ebf7-4bc4-ba47-a12992e6ea3d_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 3698 |
2024/PFA-ERC_[[:space:]]Psuedo-Future[[:space:]]Augmented[[:space:]]Dynamic[[:space:]]Emotion[[:space:]]Recognition[[:space:]]in[[:space:]]Conversations/700b4ffc-3557-4a86-82fc-60be2e0f1f06_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 3699 |
2024/PKAD_[[:space:]]Pretrained[[:space:]]Knowledge[[:space:]]is[[:space:]]All[[:space:]]You[[:space:]]Need[[:space:]]to[[:space:]]Detect[[:space:]]and[[:space:]]Mitigate[[:space:]]Textual[[:space:]]Backdoor[[:space:]]Attacks/3e14a699-33a9-4d1a-98b5-db52a4bddcf8_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 3700 |
+
2024/POSIX_[[:space:]]A[[:space:]]Prompt[[:space:]]Sensitivity[[:space:]]Index[[:space:]]For[[:space:]]Large[[:space:]]Language[[:space:]]Models/d5c9bcff-4081-4091-9c5f-3246ca4ba1a8_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 3701 |
+
2024/PPTC-R[[:space:]]benchmark_[[:space:]]Towards[[:space:]]Evaluating[[:space:]]the[[:space:]]Robustness[[:space:]]of[[:space:]]Large[[:space:]]Language[[:space:]]Models[[:space:]]for[[:space:]]PowerPoint[[:space:]]Task[[:space:]]Completion/62237dd5-3d0b-4e64-9f2e-c9dcea29d023_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 3702 |
+
2024/PRESTO_[[:space:]]Progressive[[:space:]]Pretraining[[:space:]]Enhances[[:space:]]Synthetic[[:space:]]Chemistry[[:space:]]Outcomes/654c9376-60f2-4660-a9a7-b6207c8902cc_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 3703 |
+
2024/PRoDeliberation_[[:space:]]Parallel[[:space:]]Robust[[:space:]]Deliberation[[:space:]]for[[:space:]]End-to-End[[:space:]]Spoken[[:space:]]Language[[:space:]]Understanding/d5bac4e5-cc08-4dad-9e44-6c546b68d3f5_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 3704 |
+
2024/PSLM_[[:space:]]Parallel[[:space:]]Generation[[:space:]]of[[:space:]]Text[[:space:]]and[[:space:]]Speech[[:space:]]with[[:space:]]LLMs[[:space:]]for[[:space:]]Low-Latency[[:space:]]Spoken[[:space:]]Dialogue[[:space:]]Systems/474679cb-bdee-4524-83e9-3d933e8e0915_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 3705 |
+
2024/PSST_[[:space:]]A[[:space:]]Benchmark[[:space:]]for[[:space:]]Evaluation-driven[[:space:]]Text[[:space:]]Public-Speaking[[:space:]]Style[[:space:]]Transfer/66c3e847-5615-4f18-b251-ee7c324e485a_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 3706 |
+
2024/PURE_[[:space:]]Aligning[[:space:]]LLM[[:space:]]via[[:space:]]Pluggable[[:space:]]Query[[:space:]]Reformulation[[:space:]]for[[:space:]]Enhanced[[:space:]]Helpfulness/666f491b-e407-4410-9d6b-0125c2ee8de1_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 3707 |
+
2024/PaCoST_[[:space:]]Paired[[:space:]]Confidence[[:space:]]Significance[[:space:]]Testing[[:space:]]for[[:space:]]Benchmark[[:space:]]Contamination[[:space:]]Detection[[:space:]]in[[:space:]]Large[[:space:]]Language[[:space:]]Models/b243468b-646e-46c8-9aa0-d21151227d75_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 3708 |
+
2024/PclGPT_[[:space:]]A[[:space:]]Large[[:space:]]Language[[:space:]]Model[[:space:]]for[[:space:]]Patronizing[[:space:]]and[[:space:]]Condescending[[:space:]]Language[[:space:]]Detection/481b98fd-0730-4f0f-84ba-3f0f9890191f_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 3709 |
+
2024/Pedagogical[[:space:]]Alignment[[:space:]]of[[:space:]]Large[[:space:]]Language[[:space:]]Models/ae30bf6b-42ff-4fe5-b4f4-f5f6c115134d_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 3710 |
+
2024/Personalized[[:space:]]Video[[:space:]]Comment[[:space:]]Generation/cbcd5858-4e95-4d88-a9ee-50abacd1ba1a_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 3711 |
+
2024/Persuasiveness[[:space:]]of[[:space:]]Generated[[:space:]]Free-Text[[:space:]]Rationales[[:space:]]in[[:space:]]Subjective[[:space:]]Decisions_[[:space:]]A[[:space:]]Case[[:space:]]Study[[:space:]]on[[:space:]]Pairwise[[:space:]]Argument[[:space:]]Ranking/0602d12c-e579-4017-9f3b-605a46e8e9f0_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 3712 |
+
2024/Phonetic[[:space:]]and[[:space:]]Lexical[[:space:]]Discovery[[:space:]]of[[:space:]]Canine[[:space:]]Vocalization/055b6a52-a109-4cd8-b5dd-8aef332887b6_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 3713 |
+
2024/Pioneering[[:space:]]Reliable[[:space:]]Assessment[[:space:]]in[[:space:]]Text-to-Image[[:space:]]Knowledge[[:space:]]Editing_[[:space:]]Leveraging[[:space:]]a[[:space:]]Fine-Grained[[:space:]]Dataset[[:space:]]and[[:space:]]an[[:space:]]Innovative[[:space:]]Criterion/4df6a6b8-1546-4258-8e11-4ccfe8243ed6_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 3714 |
+
2024/PizzaCommonSense_[[:space:]]A[[:space:]]Dataset[[:space:]]for[[:space:]]Commonsense[[:space:]]Reasoning[[:space:]]about[[:space:]]Intermediate[[:space:]]Steps[[:space:]]in[[:space:]]Cooking[[:space:]]Recipes/c837ed00-17d6-4923-a7be-61bbc632e25d_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 3715 |
+
2024/Platform-Invariant[[:space:]]Topic[[:space:]]Modeling[[:space:]]via[[:space:]]Contrastive[[:space:]]Learning[[:space:]]to[[:space:]]Mitigate[[:space:]]Platform-Induced[[:space:]]Bias/851987ee-6c5e-4977-bbdf-9191271860a9_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 3716 |
+
2024/Plausibly[[:space:]]Problematic[[:space:]]Questions[[:space:]]in[[:space:]]Multiple-Choice[[:space:]]Benchmarks[[:space:]]for[[:space:]]Commonsense[[:space:]]Reasoning/5f461c20-b851-4e67-8f2d-ac4746563acf_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 3717 |
+
2024/Plot[[:space:]]Twist_[[:space:]]Multimodal[[:space:]]Models[[:space:]]Don’t[[:space:]]Comprehend[[:space:]]Simple[[:space:]]Chart[[:space:]]Details/d42f43fd-da68-4b14-84a3-cfe4df33dc59_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 3718 |
+
2024/PolyWER_[[:space:]]A[[:space:]]Holistic[[:space:]]Evaluation[[:space:]]Framework[[:space:]]for[[:space:]]Code-Switched[[:space:]]Speech[[:space:]]Recognition/f19b30d7-1ae0-4f43-bdd0-4cab235ec866_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 3719 |
+
2024/Position[[:space:]]Paper_[[:space:]]Data-Centric[[:space:]]AI[[:space:]]in[[:space:]]the[[:space:]]Age[[:space:]]of[[:space:]]Large[[:space:]]Language[[:space:]]Models/d56b3442-7676-4a55-a572-1bdd9228b005_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 3720 |
+
2024/PositionID_[[:space:]]LLMs[[:space:]]can[[:space:]]Control[[:space:]]Lengths,[[:space:]]Copy[[:space:]]and[[:space:]]Paste[[:space:]]with[[:space:]]Explicit[[:space:]]Positional[[:space:]]Awareness/c77fec0d-ec94-4460-8981-e178dfa84797_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 3721 |
+
2024/Pre-trained[[:space:]]Language[[:space:]]Models[[:space:]]Return[[:space:]]Distinguishable[[:space:]]Probability[[:space:]]Distributions[[:space:]]to[[:space:]]Unfaithfully[[:space:]]Hallucinated[[:space:]]Texts/eefe5004-d881-49a0-8ba0-6b17732fcf65_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 3722 |
+
2024/Precision[[:space:]]or[[:space:]]Recall_[[:space:]]An[[:space:]]Analysis[[:space:]]of[[:space:]]Image[[:space:]]Captions[[:space:]]for[[:space:]]Training[[:space:]]Text-to-Image[[:space:]]Generation[[:space:]]Model/9ec7250c-4dff-4807-8983-783fc07f2613_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 3723 |
+
2024/Predicting[[:space:]]generalization[[:space:]]performance[[:space:]]with[[:space:]]correctness[[:space:]]discriminators/e17095cf-75ae-4cef-b7f1-b96e315689c8_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 3724 |
+
2024/Predictive[[:space:]]Multiplicity[[:space:]]of[[:space:]]Knowledge[[:space:]]Graph[[:space:]]Embeddings[[:space:]]in[[:space:]]Link[[:space:]]Prediction/b46c7f9c-ae77-4c83-a021-ada525af214e_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 3725 |
+
2024/Preference[[:space:]]Tuning[[:space:]]For[[:space:]]Toxicity[[:space:]]Mitigation[[:space:]]Generalizes[[:space:]]Across[[:space:]]Languages/d8fee160-35d3-4985-92f5-35bf99631cda_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 3726 |
+
2024/Presentations[[:space:]]are[[:space:]]not[[:space:]]always[[:space:]]linear![[:space:]]GNN[[:space:]]meets[[:space:]]LLM[[:space:]]for[[:space:]]Text[[:space:]]Document-to-Presentation[[:space:]]Transformation[[:space:]]with[[:space:]]Attribution/effd99fd-9142-4c8b-b185-cbe6e0ec1c1e_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 3727 |
+
2024/Preserving[[:space:]]Pre-trained[[:space:]]Representation[[:space:]]Space_[[:space:]]On[[:space:]]Effectiveness[[:space:]]of[[:space:]]Prefix-tuning[[:space:]]for[[:space:]]Large[[:space:]]Multi-modal[[:space:]]Models/95a7d1cd-3a68-4d42-9924-36b2d92a6f48_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 3728 |
+
2024/Privacy[[:space:]]Evaluation[[:space:]]Benchmarks[[:space:]]for[[:space:]]NLP[[:space:]]Models/76f0ba67-32f9-4607-b888-b5ba7f5d5aae_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 3729 |
+
2024/Private[[:space:]]prediction[[:space:]]for[[:space:]]large-scale[[:space:]]synthetic[[:space:]]text[[:space:]]generation/039f0bd4-b461-4227-a847-917c0c756af7_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 3730 |
+
2024/ProSA_[[:space:]]Assessing[[:space:]]and[[:space:]]Understanding[[:space:]]the[[:space:]]Prompt[[:space:]]Sensitivity[[:space:]]of[[:space:]]LLMs/f3c15eba-5dfe-49f5-a6ea-d3362e1bc991_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 3731 |
+
2024/ProTrix_[[:space:]]Building[[:space:]]Models[[:space:]]for[[:space:]]Planning[[:space:]]and[[:space:]]Reasoning[[:space:]]over[[:space:]]Tables[[:space:]]with[[:space:]]Sentence[[:space:]]Context/5397d852-522e-49d3-97fe-ff1f82ac1743_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 3732 |
+
2024/Probing[[:space:]]the[[:space:]]Capacity[[:space:]]of[[:space:]]Language[[:space:]]Model[[:space:]]Agents[[:space:]]to[[:space:]]Operationalize[[:space:]]Disparate[[:space:]]Experiential[[:space:]]Context[[:space:]]Despite[[:space:]]Distraction/0db2e37f-1a2c-46f5-a947-a0396fa34103_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 3733 |
+
2024/Problem-Oriented[[:space:]]Segmentation[[:space:]]and[[:space:]]Retrieval_[[:space:]]Case[[:space:]]Study[[:space:]]on[[:space:]]Tutoring[[:space:]]Conversations/f9f5b0ff-8f51-4acc-8442-d1dfa3393129_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 3734 |
+
2024/Promoting[[:space:]]Constructive[[:space:]]Deliberation_[[:space:]]Reframing[[:space:]]for[[:space:]]Receptiveness/8ededb88-1c8f-46ec-b7be-a314e45453c2_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 3735 |
+
2024/Promoting[[:space:]]Data[[:space:]]and[[:space:]]Model[[:space:]]Privacy[[:space:]]in[[:space:]]Federated[[:space:]]Learning[[:space:]]through[[:space:]]Quantized[[:space:]]LoRA/0194b1d5-8a41-4223-9dbf-270ba3f2e38f_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 3736 |
+
2024/Prompt-Based[[:space:]]Bias[[:space:]]Calibration[[:space:]]for[[:space:]]Better[[:space:]]Zero_Few-Shot[[:space:]]Learning[[:space:]]of[[:space:]]Language[[:space:]]Models/90c24f56-b17a-445e-9979-8ec7eefe3c69_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 3737 |
+
2024/PromptIntern_[[:space:]]Saving[[:space:]]Inference[[:space:]]Costs[[:space:]]by[[:space:]]Internalizing[[:space:]]Recurrent[[:space:]]Prompt[[:space:]]during[[:space:]]Large[[:space:]]Language[[:space:]]Model[[:space:]]Fine-tuning/779f9985-9013-47cc-a6ae-a3260a0ff008_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 3738 |
+
2024/PromptKD_[[:space:]]Distilling[[:space:]]Student-Friendly[[:space:]]Knowledge[[:space:]]for[[:space:]]Generative[[:space:]]Language[[:space:]]Models[[:space:]]via[[:space:]]Prompt[[:space:]]Tuning/534976e9-7ef7-423c-a1f7-28d9f0cf7fa9_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 3739 |
+
2024/PropTest_[[:space:]]Automatic[[:space:]]Property[[:space:]]Testing[[:space:]]for[[:space:]]Improved[[:space:]]Visual[[:space:]]Programming/4a01c0dd-a9e7-4b62-9eca-e147eec4747f_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 3740 |
+
2024/Prospector_[[:space:]]Improving[[:space:]]LLM[[:space:]]Agents[[:space:]]with[[:space:]]Self-Asking[[:space:]]and[[:space:]]Trajectory[[:space:]]Ranking/932e5e77-5571-43fc-b200-f438d45c7798_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 3741 |
+
2024/Pruning[[:space:]]Foundation[[:space:]]Models[[:space:]]for[[:space:]]High[[:space:]]Accuracy[[:space:]]without[[:space:]]Retraining/4f9288b8-f5e1-47ae-94ed-11c317447646_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 3742 |
+
2024/Pruning[[:space:]]Multilingual[[:space:]]Large[[:space:]]Language[[:space:]]Models[[:space:]]for[[:space:]]Multilingual[[:space:]]Inference/7f55b63e-8384-423b-9928-54b1ce3523f1_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 3743 |
+
2024/Pseudo-Label[[:space:]]Enhanced[[:space:]]Prototypical[[:space:]]Contrastive[[:space:]]Learning[[:space:]]for[[:space:]]Uniformed[[:space:]]Intent[[:space:]]Discovery/bd131c00-33a3-4a7e-a0ec-ed65753c8739_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 3744 |
+
2024/PyramidCodec_[[:space:]]Hierarchical[[:space:]]Codec[[:space:]]for[[:space:]]Long-form[[:space:]]Music[[:space:]]Generation[[:space:]]in[[:space:]]Audio[[:space:]]Domain/19b140b4-c363-4cd9-8cff-ffe86952850d_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 3745 |
+
2024/PythonSaga_[[:space:]]Redefining[[:space:]]the[[:space:]]Benchmark[[:space:]]to[[:space:]]Evaluate[[:space:]]Code[[:space:]]Generating[[:space:]]LLMs/d9697b70-70fb-42c9-b939-e83c3b1719e3_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 3746 |
+
2024/QEFT_[[:space:]]Quantization[[:space:]]for[[:space:]]Efficient[[:space:]]Fine-Tuning[[:space:]]of[[:space:]]LLMs/bc3d15e3-de92-4e6e-994a-f42a5f3f42fa_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 3747 |
+
2024/QPaug_[[:space:]]Question[[:space:]]and[[:space:]]Passage[[:space:]]Augmentation[[:space:]]for[[:space:]]Open-Domain[[:space:]]Question[[:space:]]Answering[[:space:]]of[[:space:]]LLMs/ab301677-20f8-4d87-b56f-31322962ff0f_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 3748 |
+
2024/QRMeM_[[:space:]]Unleash[[:space:]]the[[:space:]]Length[[:space:]]Limitation[[:space:]]through[[:space:]]Question[[:space:]]then[[:space:]]Reflection[[:space:]]Memory[[:space:]]Mechanism/da53c8a6-42ff-4fc9-a03f-a7c884cb0fe6_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 3749 |
+
2024/QUEST_[[:space:]]Efficient[[:space:]]Extreme[[:space:]]Multi-Label[[:space:]]Text[[:space:]]Classification[[:space:]]with[[:space:]]Large[[:space:]]Language[[:space:]]Models[[:space:]]on[[:space:]]Commodity[[:space:]]Hardware/194ae3bf-078d-40fb-85ed-abc4b18b6d30_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 3750 |
+
2024/Quantifying[[:space:]]Generative[[:space:]]Media[[:space:]]Bias[[:space:]]with[[:space:]]a[[:space:]]Corpus[[:space:]]of[[:space:]]Real-world[[:space:]]and[[:space:]]Generated[[:space:]]News[[:space:]]Articles/b515f437-d06e-45ff-b7f0-26a3f20882a0_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 3751 |
+
2024/Quantifying[[:space:]]and[[:space:]]Mitigating[[:space:]]Unimodal[[:space:]]Biases[[:space:]]in[[:space:]]Multimodal[[:space:]]Large[[:space:]]Language[[:space:]]Models_[[:space:]]A[[:space:]]Causal[[:space:]]Perspective/1aa97262-35eb-49fb-80b9-1a085b284987_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 3752 |
+
2024/Query[[:space:]]Routing[[:space:]]for[[:space:]]Homogeneous[[:space:]]Tools_[[:space:]]An[[:space:]]Instantiation[[:space:]]in[[:space:]]the[[:space:]]RAG[[:space:]]Scenario/ee5aaf6b-7398-4e10-aef8-8fae368a886c_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 3753 |
+
2024/Query-based[[:space:]]Cross-Modal[[:space:]]Projector[[:space:]]Bolstering[[:space:]]Mamba[[:space:]]Multimodal[[:space:]]LLM/5c58838d-25c8-4921-8bdc-7dc6ae396403_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 3754 |
+
2024/Question-guided[[:space:]]Knowledge[[:space:]]Graph[[:space:]]Re-scoring[[:space:]]and[[:space:]]Injection[[:space:]]for[[:space:]]Knowledge[[:space:]]Graph[[:space:]]Question[[:space:]]Answering/51d9595e-ddf8-4d4e-837a-a9fb2e8b1eb7_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 3755 |
+
2024/R-Judge_[[:space:]]Benchmarking[[:space:]]Safety[[:space:]]Risk[[:space:]]Awareness[[:space:]]for[[:space:]]LLM[[:space:]]Agents/b77b312a-c0b7-4d82-b81a-68e3741c6d9c_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 3756 |
+
2024/R2AG_[[:space:]]Incorporating[[:space:]]Retrieval[[:space:]]Information[[:space:]]into[[:space:]]Retrieval[[:space:]]Augmented[[:space:]]Generation/97a3f5c5-3923-4c32-bae8-f329683b1cac_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 3757 |
+
2024/R3-NL2GQL_[[:space:]]A[[:space:]]Model[[:space:]]Coordination[[:space:]]and[[:space:]]Knowledge[[:space:]]Graph[[:space:]]Alignment[[:space:]]Approach[[:space:]]for[[:space:]]NL2GQL/727ce79c-184f-4669-9c5c-3f427dd23fa3_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 3758 |
+
2024/RAG-Studio_[[:space:]]Towards[[:space:]]In-Domain[[:space:]]Adaptation[[:space:]]of[[:space:]]Retrieval[[:space:]]Augmented[[:space:]]Generation[[:space:]]Through[[:space:]]Self-Alignment/a91855f2-c2a5-4da4-9313-c896c711c4d2_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 3759 |
+
2024/README_[[:space:]]Bridging[[:space:]]Medical[[:space:]]Jargon[[:space:]]and[[:space:]]Lay[[:space:]]Understanding[[:space:]]for[[:space:]]Patient[[:space:]]Education[[:space:]]through[[:space:]]Data-Centric[[:space:]]NLP/98559b21-91b2-4cce-b821-0dd58713a4e8_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 3760 |
+
2024/RaFe_[[:space:]]Ranking[[:space:]]Feedback[[:space:]]Improves[[:space:]]Query[[:space:]]Rewriting[[:space:]]for[[:space:]]RAG/ee5bc2f6-0800-4d6f-9e70-c1a22d4be0b3_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 3761 |
+
2024/Random[[:space:]]Label[[:space:]]Forests_[[:space:]]An[[:space:]]Ensemble[[:space:]]Method[[:space:]]with[[:space:]]Label[[:space:]]Subsampling[[:space:]]For[[:space:]]Extreme[[:space:]]Multi-Label[[:space:]]Problems/440cda9f-0139-40fd-bf18-3310ed839aca_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 3762 |
+
2024/Rater[[:space:]]Cohesion[[:space:]]and[[:space:]]Quality[[:space:]]from[[:space:]]a[[:space:]]Vicarious[[:space:]]Perspective/b605664c-9b3e-445a-8f24-33902abbadfe_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 3763 |
+
2024/Re-Invoke_[[:space:]]Tool[[:space:]]Invocation[[:space:]]Rewriting[[:space:]]for[[:space:]]Zero-Shot[[:space:]]Tool[[:space:]]Retrieval/a83334e1-34bf-4c63-b8b9-3c692ebec31c_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
2024/POSIX_ A Prompt Sensitivity Index For Large Language Models/d5c9bcff-4081-4091-9c5f-3246ca4ba1a8_content_list.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2024/POSIX_ A Prompt Sensitivity Index For Large Language Models/d5c9bcff-4081-4091-9c5f-3246ca4ba1a8_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2024/POSIX_ A Prompt Sensitivity Index For Large Language Models/d5c9bcff-4081-4091-9c5f-3246ca4ba1a8_origin.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f86c8106cf95312298b767bfb6c2792e772299bda7d0d750b67289b7b98b1f5b
|
| 3 |
+
size 1285680
|
2024/POSIX_ A Prompt Sensitivity Index For Large Language Models/full.md
ADDED
|
@@ -0,0 +1,432 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# POSIX: A Prompt Sensitivity Index For Large Language Models
|
| 2 |
+
|
| 3 |
+
Anwoy Chatterjee*†
|
| 4 |
+
|
| 5 |
+
Dept. of Electrical Engineering Indian Institute of Technology Delhi anwoy.chatterjee@ee.iitd.ac.in
|
| 6 |
+
|
| 7 |
+
# Sumit Bhatia
|
| 8 |
+
|
| 9 |
+
Media and Data Science Research Adobe Inc., India sumit.bhatia@adobe.com
|
| 10 |
+
|
| 11 |
+
# Abstract
|
| 12 |
+
|
| 13 |
+
Despite their remarkable capabilities, Large Language Models (LLMs) are found to be surprisingly sensitive to minor variations in prompts, often generating significantly divergent outputs in response to minor variations in the prompts, such as spelling errors, alteration of wording or the prompt template. However, while assessing the quality of an LLM, the focus often tends to be solely on its performance on downstream tasks, while very little to no attention is paid to prompt sensitivity. To fill this gap, we propose POSIX – a novel *PrOmt Sensitivity Index* as a reliable measure of prompt sensitivity, thereby offering a more comprehensive evaluation of LLM performance. The key idea behind POSIX is to capture the relative change in log-likelihood of a given response upon replacing the corresponding prompt with a different intent-preserving prompt. We provide thorough empirical evidence demonstrating the efficacy of POSIX in capturing prompt sensitivity and subsequently use it to measure and thereby compare prompt sensitivity of various open-source LLMs. We find that merely increasing the parameter count or instruction tuning does not necessarily reduce prompt sensitivity whereas adding some few-shot exemplars, even just one, almost always leads to significant decrease in prompt sensitivity. We also find that alterations to prompt template lead to the highest sensitivity in the case of MCQ-type tasks, whereas paraphrasing results in the highest sensitivity in open-ended generation tasks. The code for reproducing our results is open-sourced at https://github.com/kowndinya-renduchintala/POSIX.
|
| 14 |
+
|
| 15 |
+
# 1 Introduction
|
| 16 |
+
|
| 17 |
+
Large Language Models (LLMs) are pre-trained on enormous amounts of text data using the next-
|
| 18 |
+
|
| 19 |
+
$^{\dagger}$ These two authors contributed equally to this work. $^{\ast}$ Work done during internship at Media and Data Science Research (MDSR) Lab, Adobe Inc.
|
| 20 |
+
|
| 21 |
+
# H S V N S Kowndinya Renduchintala†
|
| 22 |
+
|
| 23 |
+
Media and Data Science Research Adobe Inc., India rharisrikowndinya333@gmail.com
|
| 24 |
+
|
| 25 |
+
# Tanmoy Chakraborty
|
| 26 |
+
|
| 27 |
+
Dept. of Electrical Engineering Indian Institute of Technology Delhi tanchak@iitd.ac.in
|
| 28 |
+
|
| 29 |
+
token-prediction objective and they can perform a variety of NLP tasks via "prompting" (Brown et al., 2020; Kojima et al., 2022; Almazrouei et al., 2023; Liu et al., 2023; Touvron et al., 2023). However, LLMs have been found to be surprisingly sensitive even to the smallest of variations in prompts that do not significantly alter its meaning – such as wording, prompt template or even minor spelling errors – so much so that prompt engineering, which is a process of iteratively tuning prompts to elicit desired responses, has become a widespread practice (Reynolds and McDonell, 2021).
|
| 30 |
+
|
| 31 |
+
Despite prompt sensitivity being a crucial aspect for assessing the usability of an LLM, standard evaluation benchmarks such as MMLU (Hendrycks et al., 2021) or BBH (Suzgun et al., 2022) focus predominantly on performance metrics like exact match, leaving prompt sensitivity sidelined. Similarly, the model cards and blog posts announcing the most commonly used LLMs often do not contain prompt sensitivity analysis at all (AI@Meta, 2024). However, from a user-centric perspective, models with low prompt sensitivity are generally preferred over highly prompt-sensitive ones, even if both perform similarly on standard benchmarks. This is largely because a real-world user may not always be able to formulate the "optimal" prompt every time. Moreover, a universally applicable optimal prompt that can work across different model architectures may not even exist. Therefore, it becomes essential to develop a dedicated procedure to systematically evaluate and quantify the sensitivity of LLMs towards intent-preserving (or, intentional) variations in prompts.
|
| 32 |
+
|
| 33 |
+
While the exploration of the topic of quantifying prompt sensitivity is limited, there exist a few works which study prompt sensitivity and attempt to quantify it. For instance, the HELM benchmark (Liang et al., 2023) implements various kinds of perturbations to the prompts, such as typos and misspellings, and reports the exact match score of
|
| 34 |
+
|
| 35 |
+
responses obtained using the perturbed prompts. Sclar et al. (2023) studied the sensitivity to variations in prompt templates. They introduced the concept of performance spread – defined as the difference between the highest and lowest average performances observed across a wide range of prompt templates – and used this as a surrogate for prompt sensitivity. Likewise, Lu et al. (2023) first generated responses using variations of the same prompt and then used variation-ratio (Freeman, 1965) as the surrogate for sensitivity.
|
| 36 |
+
|
| 37 |
+
Despite being in the right direction, the existing efforts to quantify prompt sensitivity lack nuance. Relying on variations in model accuracy as a proxy for sensitivity ignores the model's behavior in case of incorrect responses, failing to distinguish between a model that consistently generates the same incorrect response every time (low sensitivity) and one that generates a different incorrect response with each prompt variation (high sensitivity). Additionally, response distribution matters: a model producing a consistent response in all but one case is less sensitive than one generating two different responses - each equally frequent. The exact match score is also brittle, heavily penalizing minor wording differences in correct responses. Furthermore, models might show significant variance in the log-likelihoods of responses for different prompt variations even when the responses are identical. Finally, the existing studies are also limited to deterministic responses, like multiple-choice questions or short answers (Kwiatkowski et al., 2019) and do not consider the sensitivity in the case of open-ended generative tasks.
|
| 38 |
+
|
| 39 |
+
With this context, in this work, we focus on the following research question: given a prompt along with its intent-preserving variations and the corresponding set of responses generated by a language model, how do we measure the sensitivity of the LLM on the given set of prompts such that the measure incorporates the following four key factors?
|
| 40 |
+
|
| 41 |
+
- Response Diversity: A higher number of unique responses generated for a given set of intent-preserving prompts should indicate higher sensitivity.
|
| 42 |
+
- Response Distribution Entropy: Higher entropy of the distribution of response frequencies (how often each unique response appears) should indicate higher sensitivity.
|
| 43 |
+
- Semantic Coherence: Lower semantic similarity among generated responses should contribute to higher sensitivity.
|
| 44 |
+
|
| 45 |
+
- Variance in Confidence: Higher variance in the log-likelihood of the same response should contribute to higher sensitivity.
|
| 46 |
+
|
| 47 |
+
To the best of our knowledge, ours is the first attempt towards developing a prompt sensitivity index that takes all of the above four factors into account and that works across different kinds of prompt variations and different kinds of tasks, including open-ended generation with arbitrary response lengths.
|
| 48 |
+
|
| 49 |
+
As a first step towards addressing the research question, we identify the key property that should hold for an ideal LLM that is not sensitive to variations in prompts, provided the underlying intent is unchanged. For this LLM, the probability of generating a certain response should remain almost the same even if minor changes are introduced in the prompt. For instance, let $x_{1}$ and $x_{2}$ be two prompts such that one is an intent-preserving variant of the other and let $y_{1}$ and $y_{2}$ be the corresponding responses generated by the LLM under consideration. Then the assumption, which turns out to be the cornerstone of our index, is that for an LLM that is not sensitive, $\mathbb{P}(y_1|x_1)$ should not change much if $x_{1}$ is replaced by its intent-preserving variant, $x_{2}$ , i.e., $\mathbb{P}(y_1|x_1)\approx \mathbb{P}(y_1|x_2)$ . Similarly the other way round — $\mathbb{P}(y_2|x_2)\approx \mathbb{P}(y_2|x_1)$ .
|
| 50 |
+
|
| 51 |
+
We emphasize that this notion of sensitivity does not consider the ground-truth response for quantifying sensitivity; instead, it compares the likelihood of generating various responses with different intent-preserving variants of the same prompt. In that sense, it is completely orthogonal to metrics like exact match (which are purely performance-based) and adds a new dimension altogether for evaluating LLMs.
|
| 52 |
+
|
| 53 |
+
The main contributions of our work can be summarized as follows:
|
| 54 |
+
|
| 55 |
+
- We introduce POSIX - a novel prompt sensitivity index that can act as a reliable measure of sensitivity of LLMs towards intent-preserving variations of prompts (Section 3). We empirically show in Section 5.1 that POSIX incorporates all the four factors listed above.
|
| 56 |
+
- We use POSIX to compute prompt sensitivity of different models and variation types, and show the effect of various aspects on the prompt sensitivity of LLMs, e.g., that increase in parameter count or instruction tuning do not necessarily decrease prompt sensitivity, and incorporating few-shot exemplars, even just a single exemplar, makes a huge difference in
|
| 57 |
+
|
| 58 |
+
reducing prompt sensitivity (Section 5).
|
| 59 |
+
|
| 60 |
+
- We reveal an interesting observation based on POSIX computation — variations in template bring about maximum sensitivity in the case of MCQ-type tasks while variations in wording lead to maximum effect in the case of open-ended generation tasks (Section 5).
|
| 61 |
+
|
| 62 |
+
# 2 Related Work
|
| 63 |
+
|
| 64 |
+
Sensitivity of LLMs to Prompt Variations. The in-context learning ability of LLMs (Brown et al., 2020) makes them highly versatile, enabling them to perform a wide range of tasks through prompting, often without the need for further fine-tuning (Radford et al., 2019; Raffel et al., 2020; Gao et al., 2021). However, the robustness of in-context learning is often questioned (Weber et al., 2023), with many studies showing that the output from LLMs is heavily dependent on aspects like the selection and ordering of in-context examples (Liu et al., 2022; Su et al., 2022; Lu et al., 2022; Zhao et al., 2021), choice of input labels (Min et al., 2022), or the phrasing of instruction given in the prompt (Gu et al., 2023; Sun et al., 2024). Apart from these aspects, LLMs are also observed to be highly sensitive to slight modifications in the structure or wordings of the prompts, even though their semantic meaning remains the same. Many prior works (Arora et al., 2022; Leidinger et al., 2023; Sclar et al., 2023; Voronov et al., 2024; Mizrahi et al., 2024) have studied this issue of sensitivity of LLMs to minor alterations in the input prompt.
|
| 65 |
+
|
| 66 |
+
Few of these works (Leidinger et al., 2023; Mizrahi et al., 2024; Voronov et al., 2024) have also called for extending the evaluation benchmarks - they argue that instead of evaluating on a single instance of a prompt, the benchmarks should include multiple variants for each prompt to account for the divergence in behaviour of the models to prompt variations. While for most existing benchmarks like MMLU (Hendrycks et al., 2021) or BIG-bench (Srivastava et al., 2022; Suzgun et al., 2022), the performance is reported for a single template of the prompts, the LMentry (Efrat et al., 2023) benchmark uses three templates for each task in it and reports the average performance over them. Also, recently, Polo et al. (2024) proposed PromptEval, a method to facilitate efficient evaluation of LLMs on any benchmark with multiple prompt templates under a limited budget. Zhu et al. (2023) introduced Promptbench for evalu
|
| 67 |
+
|
| 68 |
+
ating the robustness of LLMs to variations done in prompts with adversarial intent – they observed that almost all LLMs lack robustness towards adversarial prompts. They quantified robustness using Performance Drop Rate, which measures the relative drop in performance when perturbations are introduced into the prompt.
|
| 69 |
+
|
| 70 |
+
In this work, we also advocate for benchmarks with multiple variations of the same prompt. However, instead of relying on measures based on performance alone for measuring sensitivity or robustness, we argue the need for a comprehensive measure that can capture the prompt sensitivity of LLMs effectively.
|
| 71 |
+
|
| 72 |
+
Prompt Engineering. Due to such extensive variation in the performance of LLMs on slight modifications in input prompt, it is crucial to query LLMs with the optimal prompt to get the desired output. Prompt engineering is the practice of crafting tailored prompts for input to the LLMs to guide them towards the intended responses. Though for real-world use cases, users often perform prompt engineering manually, prior studies have also proposed ways to automate this process (Deng et al., 2022). Another method for obtaining a better input prompt is Meta-prompting (Reynolds and McDonell, 2021; Zhou et al., 2023; Ye et al., 2024), which aims to improve a prompt iteratively with the help of an LLM itself through further prompting. Furthermore, for tasks involving reasoning, Chain-of-Thought prompting (Wei et al., 2023) has been observed to be very effective.
|
| 73 |
+
|
| 74 |
+
For designing a few-shot prompt, the choice of in-context examples plays a crucial role in the performance of LLMs. While existing studies (Liu et al., 2022; Min et al., 2022) show that examples which are semantically similar to the input work the best, in some cases selecting diverse examples can be beneficial (Su et al., 2022; Min et al., 2022). To maximize the potential of LLMs, it is therefore crucial to be aware of the best practices for prompting.
|
| 75 |
+
|
| 76 |
+
# 3 POSIX: Prompt Sensitivity Index
|
| 77 |
+
|
| 78 |
+
Based on the notion of sensitivity introduced in Section 1, we will first define which intent-preserving variations we consider in this work and describe POSIX in detail, including a brief description of the design choices involved.
|
| 79 |
+
|
| 80 |
+
# 3.1 Preliminaries
|
| 81 |
+
|
| 82 |
+
Definition 3.1 Any two prompts $x_{1}$ and $x_{2}$ are said to be intent-aligned despite variations in their wording or template or inclusion of minor spelling errors, if they are designed to elicit responses from a language model based on the same underlying goal, intent or meaning.
|
| 83 |
+
|
| 84 |
+
Definition 3.2 A set of prompts $\mathbf{X} = \{x_{i}\}_{i = 1}^{N}$ is said to be an intent-aligned prompt set if and only if for all $1\leq i\neq j\leq N$ $x_{i}\in \mathbf{X}$ and $x_{j}\in \mathbf{X}$ are intent-aligned.
|
| 85 |
+
|
| 86 |
+
# 3.2 Defining the Prompt Sensitivity Index
|
| 87 |
+
|
| 88 |
+
Definition 3.3 Let $\mathbf{X} = \{x_{i}\}_{i = 1}^{N}$ be an intenta-aligned prompt set and $\mathbf{Y} = \{y_{i}\}_{i = 1}^{N}$ be the set of corresponding responses generated by a language model $\mathcal{M}$ , i.e., $y_{i}$ is the response generated by $\mathcal{M}$ when prompted using $x_{i}$ . The sensitivity of the model $\mathcal{M}$ on $\mathbf{X}$ is defined as
|
| 89 |
+
|
| 90 |
+
$$
|
| 91 |
+
\psi_ {\mathcal {M}, \mathbf {X}} = \frac {1}{N (N - 1)} \sum_ {i = 1} ^ {N} \sum_ {j = 1} ^ {N} \frac {1}{L _ {y _ {j}}} \left| \log \frac {\mathbb {P} _ {\mathcal {M}} (y _ {j} | x _ {i})}{\mathbb {P} _ {\mathcal {M}} (y _ {j} | x _ {j})} \right|
|
| 92 |
+
$$
|
| 93 |
+
|
| 94 |
+
where $N$ is the cardinality of $\mathbf{X}$ , $L_{y_j}$ is the number of tokens in $y_j$ , $\mathbb{P}_{\mathcal{M}}(y_j|x_i)$ is the probability of the model $\mathcal{M}$ generating the response $y_j$ given the prompt $x_i$ , and $\mathbb{P}_{\mathcal{M}}(y_j|x_j)$ is the probability of the model $\mathcal{M}$ generating the response $y_j$ given the prompt $x_j$ .
|
| 95 |
+
|
| 96 |
+
Definition 3.4 (POSIX) Given a language model $\mathcal{M}$ and a dataset $\mathcal{D} = \{\mathbf{X}_i\}_{i=1}^M$ of $M$ intent-aligned prompt sets ( $X_i$ 's), the prompt sensitivity index (POSIX) for the language model $\mathcal{M}$ on the dataset $\mathcal{D}$ is defined as
|
| 97 |
+
|
| 98 |
+
$$
|
| 99 |
+
\mathsf {P O S I X} _ {\mathcal {D}, \mathcal {M}} = \frac {1}{M} \sum_ {i = 1} ^ {M} \psi_ {\mathcal {M}, \mathbf {X} _ {i}}
|
| 100 |
+
$$
|
| 101 |
+
|
| 102 |
+
# 3.3 What does $\psi_{\mathcal{M},\mathrm{X}}$ Capture?
|
| 103 |
+
|
| 104 |
+
As mentioned briefly in Section 1, if we have two intent-aligned prompts $x_{i}$ and $x_{j}$ and the corresponding responses $y_{i}$ and $y_{j}$ generated by an LLM $\mathcal{M}$ , we would essentially like to capture how different are $\mathbb{P}_{\mathcal{M}}(y_i|x_i)$ and $\mathbb{P}_{\mathcal{M}}(y_i|x_j)$ (and also similarly for $\mathbb{P}_{\mathcal{M}}(y_j|x_j)$ and $\mathbb{P}_{\mathcal{M}}(y_j|x_i)$ ). In order to make the sensitivity measure comparable across different intent-aligned prompt sets as well as across models, we need to remove the dependence on the overall scale of the model's probability distributions. Therefore, we consider the ratios $\frac{\mathbb{P}_{\mathcal{M}}(y_j|x_i)}{\mathbb{P}_{\mathcal{M}}(y_j|x_j)}$ .
|
| 105 |
+
|
| 106 |
+
which are immune to scale. And, since we only need to look at relative change in probabilities by replacing $x_{i}$ with $x_{j}$ or vice-versa, we convert the probability ratio to the logarithmic scale and also use the absolute value on top of it. Furthermore, in order to accommodate for arbitrary response lengths, we use length normalization for each term in the summation.
|
| 107 |
+
|
| 108 |
+
We now look at conceptual explanations for why $\psi_{\mathcal{M},\mathbf{X}}$ incorporates four properties listed in Section 1 while deferring the empirical evidence of the same to Section 5.1.
|
| 109 |
+
|
| 110 |
+
# 3.3.1 POSIX and Response Diversity
|
| 111 |
+
|
| 112 |
+
While not explicitly evident in the expression of $\psi_{\mathcal{M},\mathbf{X}}$ , response diversity contributes indirectly to higher $\psi_{\mathcal{M},\mathbf{X}}$ . Say if two responses, $y_{i}$ and $y_{j}$ , are significantly different, then their log-likelihoods (given a prompt) are likely to be significantly different i.e., the terms in summation, $\left|\log \frac{\mathbb{P}_{\mathcal{M}}(y_j|x_i)}{\mathbb{P}_{\mathcal{M}}(y_j|x_j)}\right|$ , become large, thereby leading to greater $\psi_{\mathcal{M},\mathbf{X}}$ overall.
|
| 113 |
+
|
| 114 |
+
# 3.3.2 POSIX and Response Distribution Entropy
|
| 115 |
+
|
| 116 |
+
By response distribution entropy, we mean the entropy of the distribution of response frequencies, i.e., how many times each unique response appears in $\mathbf{Y}$ . A higher entropy indicates the tendency of the model to generate divergent responses more often - consequently, the magnitude of the log-likelihood ratios in the summation of Definition 3.3 will tend to be high, resulting in an uptick in the value of $\psi_{\mathcal{M},\mathbf{X}}$ with increase in response distribution entropy.
|
| 117 |
+
|
| 118 |
+
# 3.3.3 POSIX and Semantic Coherence
|
| 119 |
+
|
| 120 |
+
When the responses to intent-aligned prompts are semantically similar, i.e., the average cosine similarity between their embeddings is high, then intuitively the model is less sensitive. This is also captured by $\psi_{\mathcal{M},\mathbf{X}}$ because if $x_{i}$ and $x_{j}$ both generate semantically similar responses $y_{i}$ and $y_{j}$ , then the probability of generating $y_{j}$ typically does not differ significantly for the two intent-aligned prompts $x_{i}$ and $x_{j}$ and so in such cases, the individual terms in the summation are low, leading to a lower $\psi_{\mathcal{M},\mathbf{X}}$ overall.
|
| 121 |
+
|
| 122 |
+
Remark: It may so happen that the responses to two intent-aligned prompts $x_{i}$ and $x_{j}$ are semantically equivalent but involve very different word choices and still $\mathbb{P}_{\mathcal{M}}(y_j|x_j)$ and $\mathbb{P}_{\mathcal{M}}(y_j|x_i)$ can
|
| 123 |
+
|
| 124 |
+

|
| 125 |
+
(a)
|
| 126 |
+
|
| 127 |
+

|
| 128 |
+
(b)
|
| 129 |
+
|
| 130 |
+

|
| 131 |
+
(c)
|
| 132 |
+
|
| 133 |
+

|
| 134 |
+
(d)
|
| 135 |
+
Figure 1: Correlation plots of $\psi$ with each of the four factors described in Section 3.3 in the case of MMLU: (a) Response Diversity; (b) Response Distribution Entropy; (c) Semantic Coherence; (d) Variance in Confidence.
|
| 136 |
+
|
| 137 |
+
be significantly different. In fact, depending on the model and input prompts, this can happen even if $y_{i}$ and $y_{j}$ are the exact same strings! Therefore, in Section 3.3.4, we also consider the variance in probabilities even if the strings are exactly the same. This is also a reason why average cosine similarity between the generated responses cannot by itself be employed as a prompt sensitivity metric.
|
| 138 |
+
|
| 139 |
+
# 3.3.4 POSIX and Variance in Confidence
|
| 140 |
+
|
| 141 |
+
Consider the case where all responses to the prompts in $\mathbf{X}$ are exactly the same, i.e., all $y_{j}$ 's are the same. In such a case, should we call the model to be not sensitive at all? Upon a closer look, we can realize that the model would still be considered as sensitive if there is a notable variation in the likelihood of generating the response with a change in the input prompt. As evident from Definition 3.3, our proposed index $\psi_{\mathcal{M},\mathbf{X}}$ directly measures how divergent the log-likelihoods are for
|
| 142 |
+
|
| 143 |
+
different intent-aligned prompts, thereby capturing the subtle nuances in response generation which contribute towards the sensitivity of the models.
|
| 144 |
+
|
| 145 |
+
# 4 Experimental Setup
|
| 146 |
+
|
| 147 |
+
To analyse the effectiveness of POSIX in capturing various facets of sensitivity as described in Section 3 and to quantify and compare the prompt sensitivity of various LLMs using it, we experiment on Massive Multitask Language Understanding benchmark, or MMLU (Hendrycks et al., 2021), for classification tasks (posed as MCQ questions), and on Alpaca (Taori et al., 2023) for open-ended generation tasks. We also include Big Bench Hard, or BBH (Suzgun et al., 2022) as an additional dataset in Appendix E. MMLU contains about 14,000 prompt-response pairs from 57 different domains. For open-ended generation task, we sample 5,000 questions from Alpaca.
|
| 148 |
+
|
| 149 |
+
We consider a total of eight LLMs from three
|
| 150 |
+
|
| 151 |
+
<table><tr><td rowspan="2">Model</td><td colspan="4">MMLU-ZeroShot</td><td colspan="4">Alpaca-ZeroShot</td></tr><tr><td>Spelling Errors</td><td>Prompt Templates</td><td>Paraphrases</td><td>Mixture</td><td>Spelling Errors</td><td>Prompt Templates</td><td>Paraphrases</td><td>Mixture</td></tr><tr><td>Llama-2-7b</td><td>0.083±0.073</td><td>1.12±0.377</td><td>0.160±0.160</td><td>0.821±0.272</td><td>0.146±0.115</td><td>0.202±0.103</td><td>0.252±0.192</td><td>0.271±0.158</td></tr><tr><td>Llama-2-7b-chat</td><td>0.082±0.103</td><td>0.809±0.283</td><td>0.135±0.189</td><td>0.444±0.258</td><td>0.246±0.175</td><td>0.164±0.139</td><td>0.66±0.33</td><td>0.500±0.229</td></tr><tr><td>Llama-3-8b</td><td>0.086±0.097</td><td>1.106±0.612</td><td>0.11±0.109</td><td>0.641±0.383</td><td>0.123±0.091</td><td>0.150±0.107</td><td>0.249±0.175</td><td>0.239±0.136</td></tr><tr><td>Llama-3-8b-chat</td><td>0.087±0.09</td><td>1.048±0.612</td><td>0.134±0.126</td><td>0.650±0.421</td><td>0.184±0.152</td><td>0.15±0.13</td><td>0.413±0.259</td><td>0.357±0.201</td></tr><tr><td>Mistral-7B</td><td>0.065±0.06</td><td>1.222±0.571</td><td>0.108±0.114</td><td>0.672±0.303</td><td>0.18±0.14</td><td>0.217±0.148</td><td>0.242±0.181</td><td>0.295±0.181</td></tr><tr><td>Mistral-7B-Instruct</td><td>0.105±0.098</td><td>1.464±0.528</td><td>0.126±0.112</td><td>0.886±0.328</td><td>0.195±0.130</td><td>0.124±0.069</td><td>0.296±0.236</td><td>0.272±0.152</td></tr><tr><td>OLMo-7B-Base</td><td>0.197±0.207</td><td>1.672±0.383</td><td>0.189±0.164</td><td>1.134±0.286</td><td>0.355±0.305</td><td>0.369±0.095</td><td>0.281±0.199</td><td>0.448±0.227</td></tr><tr><td>OLMo-7B-Instruct</td><td>0.527±0.485</td><td>1.499±0.384</td><td>0.831±0.595</td><td>1.413±0.474</td><td>0.646±0.378</td><td>0.192±0.113</td><td>0.633±0.382</td><td>0.62±0.312</td></tr></table>
|
| 152 |
+
|
| 153 |
+
Table 1: POSIX computed for 8 different models and 4 different prompt variation types on both MCQs (MMLU) and open-ended generation (Alpaca). The mixture variant consists of equal proportion of the other three variations.
|
| 154 |
+
|
| 155 |
+
families: LLaMA, Mistral, and OLMo. These models include LLaMA-2 7B (base and chat variants) (Touvron et al., 2023), LLaMA-3 8B (base and instruct variants), Mistral 7B (base and instruct variants) (Jiang et al., 2023) and OLMo 7B (base and instruct variants) (Groeneveld et al., 2024). All our experiments were run on 8 NVIDIA A100-SXM4-80GB GPUs.
|
| 156 |
+
|
| 157 |
+
For each prompt, we generate 60 variants such that they are intent-aligned with each other and also with the original prompt. These 60 variants are composed of equal proportion of three types of variations — introduction of minor spelling errors, alteration of the prompt template and paraphrasing/re-wording of the prompt. To study the effect of variation type on sensitivity, each prompt variant is generated using one of these three possible alterations. The variation types are discussed in detail below:
|
| 158 |
+
|
| 159 |
+
Spelling Errors: To introduce spelling errors, we randomly select one, two, four or eight tokens from the question in the prompt and introduce one of four possible spelling errors: (i) Insertion, in which a random letter is added within the token; (ii) Omission, in which a letter at a randomly chosen position is deleted; (iii) Transposition, in which two adjacent letters are swapped; or (iv) Substitution, in which a letter at a randomly chosen position is replaced with one of its adjacent letters on the keyboard. The specific error to be applied to each token is chosen randomly.
|
| 160 |
+
|
| 161 |
+
The 20 variations for spelling errors are derived from the combinations of the number of tokens with errors (one, two, four, eight) and five different seeds to control randomness. These types of spelling errors are based on the study by Brooks et al. (1993).
|
| 162 |
+
|
| 163 |
+
Prompt Templates: For altering the prompt template, we design 20 different templates based on
|
| 164 |
+
|
| 165 |
+
the grammar defined by Sclar et al. (2023). These templates are designed to maintain the core meaning of the prompt while altering its structure. The prompt templates used in our study are listed in Appendix B.
|
| 166 |
+
|
| 167 |
+
- Paraphrases: To create paraphrased variations of the prompts, we use GPT-3.5-Turbo to generate 20 paraphrases for each original prompt (The full dataset of generated paraphrases is open-sourced however a few examples of generated paraphrases are also present in Appendix F for reference). These paraphrases are such that they rephrase the question while preserving its original intent and meaning.
|
| 168 |
+
|
| 169 |
+
For each prompt, we compute POSIX for each type of variation, based on Definition 3.3, using an intent-aligned prompt set that includes the original prompt and its 20 corresponding variants. Additionally, for the Mixture category, we calculate POSIX using a set of 21 prompt variants sampled uniformly from the three variation categories.
|
| 170 |
+
|
| 171 |
+
For experiments on MMLU, we generate five tokens as output, as the tasks are of multiple-choice question-answering format; whereas for the open-ended questions in Alpaca, 30 tokens are generated. POSIX is, however, comparable for arbitrary response lengths as it is normalized by the number of tokens in the response.
|
| 172 |
+
|
| 173 |
+
# 5 Results and Analysis
|
| 174 |
+
|
| 175 |
+
# 5.1 Evaluating the Efficacy of POSIX
|
| 176 |
+
|
| 177 |
+
We now empirically investigate if POSIX incorporates the four factors described in Section 3 by looking at correlation plots of POSIX with those factors. For the plots, we combine data from all types of prompt variations and all models listed in Section 4. Additionally, for computing the cosine similarity between generated responses, we use an off-the
|
| 178 |
+
|
| 179 |
+

|
| 180 |
+
(a) MMLU (MCQs)
|
| 181 |
+
|
| 182 |
+

|
| 183 |
+
(b) Alpaca (Open-ended generation)
|
| 184 |
+
Figure 2: Box plots depicting the distribution of $\psi_{\mathcal{M},\mathbf{X}}$ for different instances of $\mathcal{M}$ . The first plot corresponds to $\mathbf{X}$ 's from MMLU dataset (MCQs) and the second plot corresponds to $\mathbf{X}$ 's from the Alpaca dataset (open-ended generation).
|
| 185 |
+
|
| 186 |
+
shelf Sentence Transformer model (GTE-large). Figure 1 shows the correlation plots between POSIX and each of the four properties described in Section 3. For response distribution entropy, average cosine similarity and the log-probability variance, to observe the trend, we first bin the x-axes and corresponding average $\psi$ of the bins are plotted. The number of unique responses, the response distribution entropy and the log-probability variance (in case all responses are identical) — all have positive correlation with POSIX and the average cosine similarity between the responses is negatively correlated with POSIX. Thus, the plots serve as an empirical validation for the fact that POSIX incorporates each of the factors described in Section 3. Please refer to Appendix G for the correlation plots of open-ended generation (Alpaca).
|
| 187 |
+
|
| 188 |
+
# 5.2 Effect of Instruction Tuning on Sensitivity
|
| 189 |
+
|
| 190 |
+
Table 1 presents the POSIX values of various models obtained for different variation types on MMLU and Alpaca (Please refer to Appendix E for results on BBH). We observe that chat or instruct versions of the models are generally less sensitive than the corresponding base models in the case of template variations on MMLU, with Mistral being the only exception. However, in the other categories of variations, the instruct versions tend to be more sensitive than their base models. Especially for open-ended generation tasks, i.e., on Alpaca, the
|
| 191 |
+
|
| 192 |
+
higher sensitivity of instruct versions is even more pronounced. Note that this implies that instruction tuning does not necessarily improve model sensitivity. Figure 2 shows the distribution of POSIX values of all models for the Mixture of variation types (please refer to Appendix H for the other variation types). We clearly observe the instruct models to have higher sensitivity than the base ones, more so on Alpaca. Furthermore, the Mistral models seem to have the least divergence in sensitivity between the base and instruct variants whereas the OLMo models have the most disparity.
|
| 193 |
+
|
| 194 |
+
As the base models undergo both instruction tuning and alignment on human preferences to obtain the instruct versions, the above observations are a cumulative effect of instruction tuning and alignment procedures. To disentangle their consequences and study the effect of only instruction tuning on sensitivity, we separately fine-tune LLaMA2 7B and Mistral 7B base models on the entire FLAN dataset (Wei et al., 2022). We call these fine-tuned models Llama-2-7b-FLAN and Mistral-7B-FLAN, respectively. Their POSIX values are reported in Table 3. In most cases, the chat version is better than FLAN-only models in terms of sensitivity, except in case of prompt template for MMLU, where FLAN-only models significantly outperform the chat versions. We hypothesize that this is due to the nature of the FLAN dataset, which contains a huge focus on MCQs and various prompt
|
| 195 |
+
|
| 196 |
+
<table><tr><td>n_shot</td><td>Variation Type</td><td>Llama-2-7b</td><td>Llama-2-7b-chat</td><td>Mistral-7B</td><td>Mistral-7B-Instruct</td></tr><tr><td rowspan="3">0-shot</td><td>Spelling Errors</td><td>0.083±0.073</td><td>0.082±0.103</td><td>0.065±0.06</td><td>0.105±0.098</td></tr><tr><td>Prompt Templates</td><td>1.12±0.377</td><td>0.809±0.283</td><td>1.222±0.571</td><td>1.464±0.0.528</td></tr><tr><td>Paraphrases</td><td>0.16±0.16</td><td>0.135±0.189</td><td>0.108±0.115</td><td>0.126±0.112</td></tr><tr><td rowspan="3">1-shot</td><td>Spelling Errors</td><td>0.026±0.021</td><td>0.048±0.066</td><td>0.042±0.039</td><td>0.087±0.065</td></tr><tr><td>Prompt Templates</td><td>0.513±0.347</td><td>0.357±0.169</td><td>0.2±0.244</td><td>1.387±0.707</td></tr><tr><td>Paraphrases</td><td>0.035±0.031</td><td>0.064±0.0.07</td><td>0.046±0.045</td><td>0.085±0.081</td></tr><tr><td rowspan="3">2-shot</td><td>Spelling Errors</td><td>0.027±0.024</td><td>0.049±0.07</td><td>0.042±0.041</td><td>0.085±0.072</td></tr><tr><td>Prompt Templates</td><td>0.482±0.38</td><td>0.272±0.117</td><td>0.225±0.247</td><td>1.128±0.773</td></tr><tr><td>Paraphrases</td><td>0.036±0.035</td><td>0.065±0.074</td><td>0.047±0.047</td><td>0.085±0.09</td></tr><tr><td rowspan="3">3-shot</td><td>Spelling Errors</td><td>0.028±0.024</td><td>0.051±0.073</td><td>0.043±0.041</td><td>0.088±0.073</td></tr><tr><td>Prompt Templates</td><td>0.554±0.433</td><td>0.249±0.091</td><td>0.23±0.247</td><td>1.101±0.775</td></tr><tr><td>Paraphrases</td><td>0.039±0.039</td><td>0.068±0.077</td><td>0.047±0.047</td><td>0.086±0.0.98</td></tr></table>
|
| 197 |
+
|
| 198 |
+
Table 2: POSIX computed for Llama-2 and Mistral models on the MMLU dataset in few-shot settings.
|
| 199 |
+
|
| 200 |
+
<table><tr><td>Dataset</td><td>Variation Type</td><td>Llama-2-7b-FLAN</td><td>Mistral-7B-FLAN</td></tr><tr><td rowspan="3">MMLU</td><td>Spelling Errors</td><td>0.113±0.116</td><td>0.14±0.143</td></tr><tr><td>Prompt Templates</td><td>0.229±0.0169</td><td>0.668±0.614</td></tr><tr><td>Paraphrases</td><td>0.163±0.136</td><td>0.187±0.162</td></tr><tr><td rowspan="3">Alpaca</td><td>Spelling Errors</td><td>0.317±0.177</td><td>0.284±0.177</td></tr><tr><td>Prompt Templates</td><td>0.166±0.129</td><td>0.163±0.145</td></tr><tr><td>Paraphrases</td><td>0.267±0.192</td><td>0.278±0.2</td></tr></table>
|
| 201 |
+
|
| 202 |
+
Table 3: POSIX computed for Llama-2-7b-FLAN and Mistral-7B-FLAN (unlike the chat versions, these are only instruction-tuned on the FLAN dataset without any further RLHF).
|
| 203 |
+
|
| 204 |
+
templates. This might have given the FLAN-only models an edge over the chat versions.
|
| 205 |
+
|
| 206 |
+
# 5.3 Impact of Model Scale on Sensitivity
|
| 207 |
+
|
| 208 |
+
To study the effect of model scale on prompt sensitivity, we experiment with 1B and 7B variants of OLMo as well as 7B and 13B variants of Llama2. Figure 3 and Figure 4 show the variations in the value of POSIX with model scale for prompt variants from Mixture of variation types, on both MMLU and Alpaca (Please refer to Appendix E for results on BBH). We observe that the 7B model is significantly more sensitive compared to the 1B model on the MMLU dataset; however, they are comparable in the case of the Alpaca dataset, in the case of OLMo. Similarly, even in the case of Llama-2, a 13B model is not guaranteed to always have lesser prompt sensitivity than a 7B model. This only re-emphasizes the fact that accuracy and sensitivity are two separate aspects — and higher accuracy does not necessarily imply better sensitivity and vice-versa. The POSIX values of OLMo-1B for all variation types are reported in Table 6 of Appendix C, and that of Llama-2-13B (base and chat) models are reported in Table 7 (for MMLU) and Table 8 (for Alpaca) of Appendix D.
|
| 209 |
+
|
| 210 |
+

|
| 211 |
+
Figure 3: Box plots depicting distribution of $\psi_{\mathcal{M},\mathbf{X}}$ for two differently sized OLMo models (1B and 7B).
|
| 212 |
+
|
| 213 |
+
# 5.4 Few-shot Exemplars and Sensitivity
|
| 214 |
+
|
| 215 |
+
Table 2 consists of POSIX values computed for the few-shot setting in the case of the MMLU dataset. The key finding is that adding few-shot exemplars, even if it just a single example can significantly boost the robustness of LLMs towards variations in prompts. Although, adding even more few-shot examples might yield diminishing gains, i.e., when compared to the value that a single example adds, the additional value of a second or third few-shot exemplar is not that much — prompt sensitivity either remains about the same or slightly decreases.
|
| 216 |
+
|
| 217 |
+
# 5.5 Impact of Various Variation Categories
|
| 218 |
+
|
| 219 |
+
From Table 1, it can be observed that prompt template is the most sensitive variation type in the case of MCQs, and paraphrases are almost always the most sensitive variation type in the case of Alpaca (OLMo being the only exception). Moreover, the
|
| 220 |
+
|
| 221 |
+

|
| 222 |
+
(a) MMLU (MCQs)
|
| 223 |
+
|
| 224 |
+

|
| 225 |
+
(b) Alpaca (Open-ended generation)
|
| 226 |
+
Figure 4: Box plots depicting distribution of $\psi_{\mathcal{M},\mathbf{X}}$ for two differently sized Llama-2 models (7B and 13B).
|
| 227 |
+
|
| 228 |
+
sensitivity of the prompt template is more sensitive than any other perturbation in the case of Alpaca, thus making MCQ more sensitive overall (please refer to the mixture column in Table 1). Based on this prompt sensitivity analysis, we could offer some insights while performing prompt engineering as well — for MCQs, it is better to invest efforts in getting the proper prompt template while for open-ended questions, it is crucial to re-phrase the query properly.
|
| 229 |
+
|
| 230 |
+
# 6 Conclusions
|
| 231 |
+
|
| 232 |
+
We introduced POSIX - a novel prompt sensitivity index, as a reliable measure of sensitivity of LLMs towards intent-preserving variations in prompts such as spelling errors, prompt templates, and alterations in the wording. We presented thorough empirical analysis for the efficacy of POSIX in capturing prompt sensitivity and subsequently used it to measure and compare multiple open-source LLMs, revealing some interesting observations such as prompt template is the most sensitive variant type for MCQ tasks and paraphrasing is the most sensitive variant type for open-ended generation tasks, and also that parameter count or instruction tuning do not necessarily decrease prompt sensitivity of the models. These findings highlight the nuanced behaviour of LLMs towards prompt variations, underscoring the importance of considering prompt sensitivity index for their holistic evaluation.
|
| 233 |
+
|
| 234 |
+
# Limitations
|
| 235 |
+
|
| 236 |
+
While POSIX has its own advantages, like the ability to work across different kinds of prompt variations and tasks, including open-ended generation with arbitrary response lengths, one of the main limitations of POSIX is its computational complexity. POSIX needs $\mathcal{O}(MN^2)$ log-likelihood comparisons if $M$ is the total number of prompts in a dataset under consideration and $N$ is the number of variations per prompt. Nevertheless, POSIX is very effective in incorporating various facets of prompt sensitivity.
|
| 237 |
+
|
| 238 |
+
# Ethical Considerations
|
| 239 |
+
|
| 240 |
+
Since we use open-source large language models and open-source datasets like MMLU and Alpaca, our work encompasses all the corresponding considerations of those works. Although, our method would be expected to largely benefit the community by providing a reliable way to evaluate sensitivity of large language models towards variations in prompts. While attempting to paraphrase the prompts in MMLU using GPT-3.5-Turbo, quite a few prompts have been flagged as either violent or biased, etc. Most of them were from the moral(scenarios) split of MMLU. We made sure to remove these from our analyses.
|
| 241 |
+
|
| 242 |
+
# Acknowledgments
|
| 243 |
+
|
| 244 |
+
Tanmoy Chakraborty acknowledges the financial support of Adobe Faculty Award.
|
| 245 |
+
|
| 246 |
+
# References
|
| 247 |
+
|
| 248 |
+
AI@Meta. 2024. Llama 3 model card.
|
| 249 |
+
Ebtesam Almazrouei, Hamza Alobeidli, Abdulaziz Alshamsi, Alessandro Cappelli, Ruxandra Cojocaru, Mérouane Debbah, Étienne Goffinet, Daniel Hesslow, Julien Launay, Quentin Malartic, et al. 2023. The falcon series of open language models. ArXiv preprint, abs/2311.16867.
|
| 250 |
+
Simran Arora, Avanika Narayan, Mayee F. Chen, Laurel Orr, Neel Guha, Kush Bhatia, Ines Chami, Frederic Sala, and Christopher Ré. 2022. Ask me anything: A simple strategy for prompting language models. Preprint, arXiv:2210.02441.
|
| 251 |
+
Greg Brooks, Tom Gorman, and Lesley Kendall. 1993. Spelling it out: the spelling abilities of 11- and 15-year-olds. Technical report, National Foundation for Educational Research (NFER), Slough.
|
| 252 |
+
Tom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah, Jared Kaplan, Prafulla Dhariwal, Arvind Neelakantan, Pranav Shyam, Girish Sastry, Amanda Askell, Sandhini Agarwal, Ariel Herbert-Voss, Gretchen Krueger, Tom Henighan, Rewon Child, Aditya Ramesh, Daniel M. Ziegler, Jeffrey Wu, Clemens Winter, Christopher Hesse, Mark Chen, Eric Sigler, Mateusz Litwin, Scott Gray, Benjamin Chess, Jack Clark, Christopher Berner, Sam McCandlish, Alec Radford, Ilya Sutskever, and Dario Amodei. 2020. Language models are few-shot learners. In Advances in Neural Information Processing Systems 33: Annual Conference on Neural Information Processing Systems 2020, NeurIPS 2020, December 6-12, 2020, virtual.
|
| 253 |
+
Mingkai Deng, Jianyu Wang, Cheng-Ping Hsieh, Yihan Wang, Han Guo, Tianmin Shu, Meng Song, Eric Xing, and Zhiting Hu. 2022. RLPrompt: Optimizing discrete text prompts with reinforcement learning. In Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing, pages 3369-3391, Abu Dhabi, United Arab Emirates. Association for Computational Linguistics.
|
| 254 |
+
Avia Efrat, Or Honovich, and Omer Levy. 2023. LMentry: A language model benchmark of elementary language tasks. In *Findings of the Association for Computational Linguistics: ACL* 2023, pages 10476-10501, Toronto, Canada. Association for Computational Linguistics.
|
| 255 |
+
Linton C Freeman. 1965. Elementary applied statistics: for students in behavioral science. (No Title).
|
| 256 |
+
Tianyu Gao, Adam Fisch, and Danqi Chen. 2021. Making pre-trained language models better few-shot learners. 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 3816-3830, Online. Association for Computational Linguistics.
|
| 257 |
+
|
| 258 |
+
Dirk Groeneveld, Iz Beltagy, Pete Walsh, Akshitla Bhagia, Rodney Kinney, Oyvind Tafjord, Ananya Harsh Jha, Hamish Ivison, Ian Magnusson, Yizhong Wang, Shane Arora, David Atkinson, Russell Authur, Khyathi Raghavi Chandu, Arman Cohan, Jennifer Dumas, Yanai Elazar, Yuling Gu, Jack Hessel, Tushar Khot, William Merrill, Jacob Morrison, Niklas Muenighoff, Aakanksha Naik, Crystal Nam, Matthew E. Peters, Valentina Pyatkin, Abhilasha Ravichander, Dustin Schwenk, Saurabh Shah, Will Smith, Emma Strubell, Nishant Subramani, Mitchell Wortsman, Pradeep Dasigi, Nathan Lambert, Kyle Richardson, Luke Zettlemoyer, Jesse Dodge, Kyle Lo, Luca Soldaini, Noah A. Smith, and Hannaneh Hajishirzi. 2024. Olmo: Accelerating the science of language models. Preprint, arXiv:2402.00838.
|
| 259 |
+
Jiasheng Gu, Hongyu Zhao, Hanzi Xu, Liangyu Nie, Hongyuan Mei, and Wenpeng Yin. 2023. Robustness of learning from task instructions. In *Findings of the Association for Computational Linguistics: ACL* 2023, pages 13935-13948, Toronto, Canada. Association for Computational Linguistics.
|
| 260 |
+
Dan Hendrycks, Collin Burns, Steven Basart, Andy Zou, Mantas Mazeika, Dawn Song, and Jacob Steinhardt. 2021. Measuring massive multitask language understanding. In 9th International Conference on Learning Representations, ICLR 2021, Virtual Event, Austria, May 3-7, 2021. OpenReview.net.
|
| 261 |
+
Albert Q. Jiang, Alexandre Sablayrolles, Arthur Mensch, Chris Bamford, Devendra Singh Chaplot, Diego de las Casas, Florian Bressand, Gianna Lengyel, Guillaume Lample, Lucile Saulnier, Lélio Renard Lavaud, Marie-Anne Lachaux, Pierre Stock, Teven Le Scao, Thibaut Lavril, Thomas Wang, Timothée Lacroix, and William El Sayed. 2023. Mistral 7b. Preprint, arXiv:2310.06825.
|
| 262 |
+
Takeshi Kojima, Shixiang Shane Gu, Machel Reid, Yutaka Matsuo, and Yusuke Iwasawa. 2022. Large language models are zero-shot reasoners. Advances in neural information processing systems, 35:22199-22213.
|
| 263 |
+
Tom Kwiatkowski, Jennimaria Palomaki, Olivia Redfield, Michael Collins, Ankur Parikh, Chris Alberti, Danielle Epstein, Illia Polosukhin, Jacob Devlin, Kenton Lee, Kristina Toutanova, Llion Jones, Matthew Kelcey, Ming-Wei Chang, Andrew M. Dai, Jakob Uszkoreit, Quoc Le, and Slav Petrov. 2019. Natural questions: A benchmark for question answering research. Transactions of the Association for Computational Linguistics, 7:452-466.
|
| 264 |
+
Alina Leidinger, Robert van Rooij, and Ekaterina Shutova. 2023. The language of prompting: What linguistic properties make a prompt successful? Preprint, arXiv:2311.01967.
|
| 265 |
+
Percy Liang, Rishi Bommasani, Tony Lee, Dimitris Tsipras, Dilara Soylu, Michihiro Yasunaga, Yian Zhang, Deepak Narayanan, Yuhuai Wu, Ananya Kumar, Benjamin Newman, Binhang Yuan, Bobby
|
| 266 |
+
|
| 267 |
+
Yan, Ce Zhang, Christian Cosgrove, Christopher D. Manning, Christopher Re, Diana Acosta-Navas, Drew A. Hudson, Eric Zelikman, Esin Durmus, Faisal Ladhak, Frieda Rong, Hongyu Ren, Huaxiu Yao, Jue Wang, Keshav Santhanam, Laurel Orr, Lucia Zheng, Mert Yuksekgonul, Mirac Suzgun, Nathan Kim, Neel Guha, Niladri Chatterji, Omar Khattab, Peter Henderson, Qian Huang, Ryan Chi, Sang Michael Xie, Shibani Santurkar, Surya Ganguli, Tatsunori Hashimoto, Thomas Icard, Tianyi Zhang, Vishrav Chaudhary, William Wang, Xuechen Li, Yifan Mai, Yuhui Zhang, and Yuta Koreeda. 2023. Holistic evaluation of language models. Preprint, arXiv:2211.09110.
|
| 268 |
+
Jiachang Liu, Dinghan Shen, Yizhe Zhang, Bill Dolan, Lawrence Carin, and Weizhu Chen. 2022. What makes good in-context examples for GPT-3? In Proceedings of Deep Learning Inside Out (DeeLIO 2022): The 3rd Workshop on Knowledge Extraction and Integration for Deep Learning Architectures, pages 100–114, Dublin, Ireland and Online. Association for Computational Linguistics.
|
| 269 |
+
Pengfei Liu, Weizhe Yuan, Jinlan Fu, Zhengbao Jiang, Hiroaki Hayashi, and Graham Neubig. 2023. Pretrain, prompt, and predict: A systematic survey of prompting methods in natural language processing. ACM Computing Surveys, 55(9):1-35.
|
| 270 |
+
Sheng Lu, Hendrik Schuff, and Iryna Gurevych. 2023. How are prompts different in terms of sensitivity? Preprint, arXiv:2311.07230.
|
| 271 |
+
Yao Lu, Max Bartolo, Alastair Moore, Sebastian Riedel, and Pontus Stenetorp. 2022. Fantastically ordered prompts and where to find them: Overcoming few-shot prompt order sensitivity. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 8086-8098, Dublin, Ireland. Association for Computational Linguistics.
|
| 272 |
+
Sewon Min, Xinxi Lyu, Ari Holtzman, Mikel Artetxe, Mike Lewis, Hannaneh Hajishirzi, and Luke Zettlemoyer. 2022. Rethinking the role of demonstrations: What makes in-context learning work? In Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing, pages 11048-11064, Abu Dhabi, United Arab Emirates. Association for Computational Linguistics.
|
| 273 |
+
Moran Mizrahi, Guy Kaplan, Dan Malkin, Rotem Dror, Dafna Shahaf, and Gabriel Stanovsky. 2024. State of what art? a call for multi-prompt llm evaluation. Preprint, arXiv:2401.00595.
|
| 274 |
+
Felipe Maia Polo, Ronald Xu, Lucas Weber, Mirian Silva, Onkar Bhardwaj, Leshem Choshen, Allysson Flavio Melo de Oliveira, Yuekai Sun, and Mikhail Yurochkin. 2024. Efficient multi-prompt evaluation of llms. Preprint, arXiv:2405.17202.
|
| 275 |
+
Alec Radford, Jeff Wu, Rewon Child, David Luan, Dario Amodei, and Ilya Sutskever. 2019. Language models are unsupervised multitask learners.
|
| 276 |
+
|
| 277 |
+
Colin Raffel, Noam Shazeer, Adam Roberts, Katherine Lee, Sharan Narang, Michael Matena, Yanqi Zhou, Wei Li, and Peter J. Liu. 2020. Exploring the limits of transfer learning with a unified text-to-text transformer. J. Mach. Learn. Res., 21:140:1-140:67.
|
| 278 |
+
Laria Reynolds and Kyle McDonell. 2021. Prompt programming for large language models: Beyond the few-shot paradigm. In *Extended Abstracts of the 2021 CHI Conference on Human Factors in Computing Systems*, CHI EA '21, New York, NY, USA. Association for Computing Machinery.
|
| 279 |
+
Melanie Sclar, Yejin Choi, Yulia Tsvetkov, and Alane Suhr. 2023. Quantifying language models' sensitivity to spurious features in prompt design or: How i learned to start worrying about prompt formatting. ArXiv preprint, abs/2310.11324.
|
| 280 |
+
Aarohi Srivastava, Abhinav Rastogi, Abhishek Rao, Abu Awal Md Shoeb, Abubakar Abid, Adam Fisch, Adam R Brown, Adam Santoro, Aditya Gupta, Adrià Garriga-Alonso, et al. 2022. Beyond the imitation game: Quantifying and extrapolating the capabilities of language models. ArXiv preprint, abs/2206.04615.
|
| 281 |
+
Hongjin Su, Jungo Kasai, Chen Henry Wu, Weijia Shi, Tianlu Wang, Jiayi Xin, Rui Zhang, Mari Ostendorf, Luke Zettlemoyer, Noah A. Smith, and Tao Yu. 2022. Selective annotation makes language models better few-shot learners. Preprint, arXiv:2209.01975.
|
| 282 |
+
Jiuding Sun, Chantal Shaib, and Byron C Wallace. 2024. Evaluating the zero-shot robustness of instruction-tuned language models. In *The Twelfth International Conference on Learning Representations*.
|
| 283 |
+
Mirac Suzgun, Nathan Scales, Nathanael Schärli, Sebastian Gehrmann, Yi Tay, Hyung Won Chung, Aakanksha Chowdhery, Quoc V Le, Ed H Chi, Denny Zhou, et al. 2022. Challenging big-bench tasks and whether chain-of-thought can solve them. ArXiv preprint, abs/2210.09261.
|
| 284 |
+
Rohan Taori, Ishaan Gulrajani, Tianyi Zhang, Yann Dubois, Xuechen Li, Carlos Guestrin, Percy Liang, and Tatsunori B. Hashimoto. 2023. Stanford alpaca: An instruction-following llama model. https://github.com/tatsu-lab/stanford_alpaca.
|
| 285 |
+
Hugo Touvron, Thibaut Lavril, Gautier Izacard, Xavier Martinet, Marie-Anne Lachaux, Timothee Lacroix, Baptiste Roziere, Naman Goyal, Eric Hambro, Faisal Azhar, et al. 2023. Llama: Open and efficient foundation language models. ArXiv preprint, abs/2302.13971.
|
| 286 |
+
Anton Voronov, Lena Wolf, and Max Ryabinin. 2024. Mind your format: Towards consistent evaluation of in-context learning improvements. Preprint, arXiv:2401.06766.
|
| 287 |
+
Lucas Weber, Elia Bruni, and Dieuwke Hupkes. 2023. The icl consistency test. Preprint, arXiv:2312.04945.
|
| 288 |
+
|
| 289 |
+
Jason Wei, Maarten Bosma, Vincent Y. Zhao, Kelvin Guu, Adams Wei Yu, Brian Lester, Nan Du, Andrew M. Dai, and Quoc V. Le. 2022. Finetuned language models are zero-shot learners. In The Tenth International Conference on Learning Representations, ICLR 2022, Virtual Event, April 25-29, 2022. OpenReview.net.
|
| 290 |
+
|
| 291 |
+
Jason Wei, Xuezhi Wang, Dale Schuurmans, Maarten Bosma, Brian Ichter, Fei Xia, Ed Chi, Quoc Le, and Denny Zhou. 2023. Chain-of-thought prompting elicits reasoning in large language models. Preprint, arXiv:2201.11903.
|
| 292 |
+
|
| 293 |
+
Qinyuan Ye, Maxamed Axmed, Reid Pryzant, and Fereshte Khani. 2024. Prompt engineering a prompt engineer. Preprint, arXiv:2311.05661.
|
| 294 |
+
|
| 295 |
+
Zihao Zhao, Eric Wallace, Shi Feng, Dan Klein, and Sameer Singh. 2021. Calibrate before use: Improving few-shot performance of language models. In Proceedings of the 38th International Conference on Machine Learning, ICML 2021, 18-24 July 2021, Virtual Event, volume 139 of Proceedings of Machine Learning Research, pages 12697-12706. PMLR.
|
| 296 |
+
|
| 297 |
+
Yongchao Zhou, Andrei Ioan Muresanu, Ziwen Han, Keiran Paster, Silviu Pitis, Harris Chan, and Jimmy Ba. 2023. Large language models are human-level prompt engineers. Preprint, arXiv:2211.01910.
|
| 298 |
+
|
| 299 |
+
Kaijie Zhu, Jindong Wang, Jiaheng Zhou, Zichen Wang, Hao Chen, Yidong Wang, Linyi Yang, Wei Ye, Yue Zhang, Neil Zhenqiang Gong, and Xing Xie. 2023. Promptbench: Towards evaluating the robustness of large language models on adversarial prompts. Preprint, arXiv:2306.04528.
|
| 300 |
+
|
| 301 |
+
# A Code and Data
|
| 302 |
+
|
| 303 |
+
Our code that we used for generating the variants of prompts and computing the sensitivity metric is open-sourced at https://github.com/kowndinya-renduchintala/POSIX. The code development utilized open-source tools, primarily relying on the HuggingFace library for inference, with PyTorch as the underlying framework. Both PyTorch and HuggingFace are licensed under permissive licenses, with PyTorch under the BSD license and HuggingFace under the Apache 2.0 license.
|
| 304 |
+
|
| 305 |
+
# B Prompt Templates
|
| 306 |
+
|
| 307 |
+
The original template used for experiments on MMLU is:
|
| 308 |
+
|
| 309 |
+
$$
|
| 310 |
+
Q: \{\} \backslash n (A) \{\} (B) \{\} (C) \{\} (D) \{\} \backslash n A:
|
| 311 |
+
$$
|
| 312 |
+
|
| 313 |
+
The other 20 prompt templates used for the experiments with template variations on MMLU are listed in Table 4.
|
| 314 |
+
|
| 315 |
+
For experiments on the Alpaca dataset which contains open-ended questions, the default template used is: $\mathsf{Q}:\{\} \backslash \mathsf{nA}$ : . The other 20 prompt templates used for the experiments with template variations on Alpaca are listed in Table 5.
|
| 316 |
+
|
| 317 |
+
<table><tr><td>Seed</td><td>Prompt Template</td></tr><tr><td>0</td><td>q:{} \n(A){} (B){} (C){} (D){} \na:</td></tr><tr><td>1</td><td>Q:{} \n(A){} (B){} (C){} (D){} \nA::</td></tr><tr><td>2</td><td>Q: {} \n(A){} (B){} (C){} (D){} \nA:</td></tr><tr><td>3</td><td>q:{} \n(A){} (B){} (C){} (D){} \na::</td></tr><tr><td>4</td><td>Q:{} \n(A){} (B){} (C){} (D){} \nA:::</td></tr><tr><td>5</td><td>Q: {} || (A){} (B){} (C){} (D){} || A:</td></tr><tr><td>6</td><td>q:{} \n(A){} (B){} (C){} (D){} \na:::</td></tr><tr><td>7</td><td>Q: {} \n(A){} (B){} (C){} (D){} \nAnswer:</td></tr><tr><td>8</td><td>QUESTION:{} \n(A){} (B){} (C){} (D){} \nA:</td></tr><tr><td>9</td><td>Question:{} \n(A){} (B){} (C){} (D){} \nAnswer:</td></tr><tr><td>10</td><td>QUESTION:{} \n(A){} (B){} (C){} (D){} \nANSWER:</td></tr><tr><td>11</td><td>Question: {} \n(A){} (B){} (C){} (D){} \nAnswer:</td></tr><tr><td>12</td><td>Question::{} \n(A){} (B){} (C){} (D){} \nAnswer:::</td></tr><tr><td>13</td><td>QUESTION: {} \n(A){} (B){} (C){} (D){} \nAnswer:</td></tr><tr><td>14</td><td>Question - { } \n(A){} (B){} (C){} (D){} \nAnswer -</td></tr><tr><td>15</td><td>question::{} \n(A){} (B){} (C){} (D){} \nanswer::</td></tr><tr><td>16</td><td>question: {} \n(A){} (B){} (C){} (D){} \nanswer:</td></tr><tr><td>17</td><td>Question: {} || (A){} (B){} (C){} (D){} || Answer:</td></tr><tr><td>18</td><td>QUESTION\t{ } \n(A){} (B){} (C){} (D){} \nANSWER\t</td></tr><tr><td>19</td><td>Question: {}, (A){} (B){} (C){} (D){} , Answer:</td></tr></table>
|
| 318 |
+
|
| 319 |
+
Table 4: Prompt Templates used for MMLU.
|
| 320 |
+
|
| 321 |
+
Also, for experiments on MMLU, weptides the following instruction before the template:
|
| 322 |
+
|
| 323 |
+
The following are multiple choice questions (with answers) about {subject}.\n\n
|
| 324 |
+
|
| 325 |
+
The $\{\mathrm{subject}\}$ is filled with the corresponding topic name from MMLU.
|
| 326 |
+
|
| 327 |
+
<table><tr><td>Seed</td><td>Prompt Template</td></tr><tr><td>0</td><td>q: {}\na:</td></tr><tr><td>1</td><td>Q: {}\nA::</td></tr><tr><td>2</td><td>Q: {}\nA:</td></tr><tr><td>3</td><td>q: {}\na::</td></tr><tr><td>4</td><td>Q: {}\nA::</td></tr><tr><td>5</td><td>Q: {} || A:</td></tr><tr><td>6</td><td>q: {}\na::</td></tr><tr><td>7</td><td>Q: {}\nAnswer:</td></tr><tr><td>8</td><td>QUESTION: {}\nA:</td></tr><tr><td>9</td><td>Question: {}\nAnswer:</td></tr><tr><td>10</td><td>QUESTION: {}\nANSWER:</td></tr><tr><td>11</td><td>Question: {}\nAnswer:</td></tr><tr><td>12</td><td>Question: {}\nAnswer::</td></tr><tr><td>13</td><td>QUESTION: {}\nAnswer:</td></tr><tr><td>14</td><td>Question - {}\nAnswer -</td></tr><tr><td>15</td><td>question:: {}\nanswer::</td></tr><tr><td>16</td><td>question: {}\nanswer:</td></tr><tr><td>17</td><td>Question: {} || Answer:</td></tr><tr><td>18</td><td>QUESTION\t{}\nANSWER\t</td></tr><tr><td>19</td><td>Question: {}, Answer:</td></tr></table>
|
| 328 |
+
|
| 329 |
+
# C Sensitivity of OLMo-1B
|
| 330 |
+
|
| 331 |
+
Table 6 reports the POSIX values of OLMo-1B model for different variation types on MMLU and Alpaca.
|
| 332 |
+
|
| 333 |
+
Table 5: Prompt Templates used for Alpaca.
|
| 334 |
+
|
| 335 |
+
<table><tr><td>Variation Type</td><td>MMLU-ZeroShot</td><td>Alpaca-ZeroShot</td></tr><tr><td>Spelling Errors</td><td>0.089±0.099</td><td>0.257±0.229</td></tr><tr><td>Prompt Templates</td><td>0.896±0.205</td><td>0.355±0.069</td></tr><tr><td>Paraphrases</td><td>0.102±0.082</td><td>0.185±0.128</td></tr><tr><td>Mixture</td><td>0.602±0.17</td><td>0.358±0.139</td></tr></table>
|
| 336 |
+
|
| 337 |
+
# D Sensitivity of Llama-2-13B
|
| 338 |
+
|
| 339 |
+
Table 7 reports the POSIX values of Llama-2-13B models (base and chat variants) for different variation types on MMLU and Table 8 reports it for Alpaca dataset.
|
| 340 |
+
|
| 341 |
+
Table 6: Sensitivity of OLMo-1B.
|
| 342 |
+
|
| 343 |
+
<table><tr><td>Variation Type</td><td>Llama-2-13B</td><td>Llama-2-Chat-13B</td></tr><tr><td>Spelling Errors</td><td>0.057±0.073</td><td>0.072±0.086</td></tr><tr><td>Prompt Templates</td><td>1.16±0.518</td><td>0.858±0.324</td></tr><tr><td>Paraphrases</td><td>0.093±0.106</td><td>0.095±0.102</td></tr><tr><td>Mixture</td><td>0.677±0.349</td><td>0.438±0.248</td></tr></table>
|
| 344 |
+
|
| 345 |
+
# E Sensitivity on the BBH dataset
|
| 346 |
+
|
| 347 |
+
Table 9 reports the POSIX values on the Big-Bench Hard (BBH) dataset. Additionally, Figure 5 depicts prompt sensitivity of various models on BBH dataset in the form of box plots and Figure 6 depicts
|
| 348 |
+
|
| 349 |
+
Table 7: Sensitivity of Llama-2-13B (MMLU-ZeroShot)
|
| 350 |
+
|
| 351 |
+
<table><tr><td>Variation Type</td><td>Llama-2-13B</td><td>Llama-2-Chat-13B</td></tr><tr><td>Spelling Errors</td><td>0.141±0.126</td><td>0.222±0.172</td></tr><tr><td>Prompt Templates</td><td>0.177±0.109</td><td>0.134±0.135</td></tr><tr><td>Paraphrases</td><td>0.225±0.173</td><td>0.592±0.3</td></tr><tr><td>Mixture</td><td>0.249±0.148</td><td>0.461±0.213</td></tr></table>
|
| 352 |
+
|
| 353 |
+

|
| 354 |
+
Figure 5: Box plots depicting distribution of $\psi_{\mathcal{M},\mathbf{X}}$ for various 7B models on Big Bench Hard (BBH) dataset
|
| 355 |
+
|
| 356 |
+
the effect of varying model scale on prompt sensitivity for BBH dataset. Please note that we only consider one kind of variation - prompt template - for this dataset. This is because in the case of BBH, many tasks like booleanExpressions, date understanding, geometric_shapes or dycklanguages, even minor spelling errors are not intent-preserving and paraphrasing would not be possible in many cases such as numerical expressions. For this dataset, we sample 2700 samples randomly from 23 tasks.
|
| 357 |
+
|
| 358 |
+
Table 8: Sensitivity of Llama-2-13B (Alpaca-ZeroShot)
|
| 359 |
+
|
| 360 |
+
<table><tr><td>Model</td><td>BBH-ZeroShot</td></tr><tr><td>Llama-2-7b</td><td>0.729±0.295</td></tr><tr><td>Llama-2-7b-chat</td><td>0.989±0.351</td></tr><tr><td>Llama-3-8b</td><td>0.58±0.385</td></tr><tr><td>Llama-3-8b-chat</td><td>0.745±0.35</td></tr><tr><td>Mistral-7B</td><td>0.966±0.447</td></tr><tr><td>Mistral-7B-Instruct</td><td>0.542±0.239</td></tr><tr><td>OLMo-7B-Base</td><td>1.029±0.427</td></tr><tr><td>OLMo-7B-Instruct</td><td>1.304±0.47</td></tr><tr><td>OLMo-1B</td><td>1.021±0.292</td></tr><tr><td>Llama-2-13b</td><td>0.851±0.357</td></tr><tr><td>Llama-2-13b-chat</td><td>0.972±0.388</td></tr></table>
|
| 361 |
+
|
| 362 |
+
Table 9: Sensitivity of various models on the BBH dataset
|
| 363 |
+
|
| 364 |
+

|
| 365 |
+
Figure 6: Box plots depicting distribution of $\psi_{\mathcal{M},\mathbf{X}}$ when varying model scale, for OLMo (1B and 7B) and Llama-2 (7B and 13B) - both base and chat variants.
|
| 366 |
+
|
| 367 |
+
# F Examples of generated paraphrases
|
| 368 |
+
|
| 369 |
+
Please note that we open source all the data at https://github.com/kowndinya-renduchintala/POSIX. Although, following are some examples of generated paraphrases for few open-ended questions from alpaca data:
|
| 370 |
+
|
| 371 |
+
- Original Question: How much do you know about Buddhism?
|
| 372 |
+
- What is your awareness of Buddhism?
|
| 373 |
+
- What is your level of expertise on Buddhism?
|
| 374 |
+
- Are you familiar with the principles of Buddhism?
|
| 375 |
+
- What is your level of familiarity with Buddhism?
|
| 376 |
+
- Can you share your knowledge of Buddhism with me?
|
| 377 |
+
|
| 378 |
+
- Original Question: Explain the concept of cognitive biases.
|
| 379 |
+
|
| 380 |
+
- Interpret the idea of cognitive biases
|
| 381 |
+
- Expound on the concept of cognitive biases
|
| 382 |
+
- Elaborate on the concept of cognitive biases
|
| 383 |
+
- Explicate the concept of cognitive biases
|
| 384 |
+
- Spell out the notion of cognitive biases
|
| 385 |
+
|
| 386 |
+
- Original Question: Describe the best way to store fresh berries.
|
| 387 |
+
|
| 388 |
+
- Provide instructions on how to store fresh berries for maximum freshness.
|
| 389 |
+
- Offer advice on how to best store fresh berries.
|
| 390 |
+
|
| 391 |
+
- Elaborate on the best way to store fresh berries to maintain their freshness.
|
| 392 |
+
- Detail the optimal way to keep fresh berries fresh for longer.
|
| 393 |
+
- Elaborate on the proper way to store a bunch of fresh berries.
|
| 394 |
+
|
| 395 |
+
# G Efficacy of POSIX for Open-ended Generation
|
| 396 |
+
|
| 397 |
+
Figure 7 shows the correlation of POSIX with the four factors listed in Section 1 for a combination of all types of prompt variations in Alpaca, depicting the effectiveness of POSIX in successfully capturing the nuances of prompt sensitivity.
|
| 398 |
+
|
| 399 |
+
# H Distribution of POSIX Values for All Variation Types
|
| 400 |
+
|
| 401 |
+
Figure 8 and Figure 9 depict the distribution of the values of POSIX for all models and variation types in MMLU and Alpaca, respectively.
|
| 402 |
+
|
| 403 |
+

|
| 404 |
+
(a)
|
| 405 |
+
|
| 406 |
+

|
| 407 |
+
(b)
|
| 408 |
+
|
| 409 |
+

|
| 410 |
+
(c)
|
| 411 |
+
|
| 412 |
+

|
| 413 |
+
(d)
|
| 414 |
+
Figure 7: Correlation plots of $\psi$ with each of the four factors described in Section 3.3 in the case of Alpaca: (a) Response Diversity; (b) Response Distribution Entropy; (c) Semantic Coherence; (d) Variance in Confidence.
|
| 415 |
+
|
| 416 |
+

|
| 417 |
+
|
| 418 |
+

|
| 419 |
+
|
| 420 |
+

|
| 421 |
+
|
| 422 |
+

|
| 423 |
+
|
| 424 |
+

|
| 425 |
+
|
| 426 |
+

|
| 427 |
+
|
| 428 |
+

|
| 429 |
+
Figure 8: Box Plots depicting variation of $\psi$ for different prompt variations in case of MMLU.
|
| 430 |
+
|
| 431 |
+

|
| 432 |
+
Figure 9: Box Plots depicting variation of $\psi$ for different prompt variations in case of Alpaca.
|
2024/POSIX_ A Prompt Sensitivity Index For Large Language Models/images.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e441206206c2dea0438568a5ee2802902978b0ce67e60152ff7d89411edd2e58
|
| 3 |
+
size 971555
|
2024/POSIX_ A Prompt Sensitivity Index For Large Language Models/layout.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2024/PPTC-R benchmark_ Towards Evaluating the Robustness of Large Language Models for PowerPoint Task Completion/62237dd5-3d0b-4e64-9f2e-c9dcea29d023_content_list.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2024/PPTC-R benchmark_ Towards Evaluating the Robustness of Large Language Models for PowerPoint Task Completion/62237dd5-3d0b-4e64-9f2e-c9dcea29d023_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2024/PPTC-R benchmark_ Towards Evaluating the Robustness of Large Language Models for PowerPoint Task Completion/62237dd5-3d0b-4e64-9f2e-c9dcea29d023_origin.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:57a1c2cb9b95aac6b928ae8fa79f61b1be42b04fe6e3419c347f7ee29318d5bd
|
| 3 |
+
size 1079132
|
2024/PPTC-R benchmark_ Towards Evaluating the Robustness of Large Language Models for PowerPoint Task Completion/full.md
ADDED
|
@@ -0,0 +1,493 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# PPTC-R benchmark: Towards Evaluating the Robustness of Large Language Models for PowerPoint Task Completion
|
| 2 |
+
|
| 3 |
+
Zekai Zhang $^{1*}$ , Yiduo Guo $^{1*}$ , Yaobo Liang $^{2}$ , Dongyan Zhao $^{1,3,4}$ , Nan Duan $^{2}$
|
| 4 |
+
|
| 5 |
+
$^{1}$ Peking University
|
| 6 |
+
|
| 7 |
+
$^{2}$ Microsoft Research Asia
|
| 8 |
+
|
| 9 |
+
$^{3}$ State Key Laboratory of Media Convergence Production Technology and Systems
|
| 10 |
+
|
| 11 |
+
$^{4}$ Artificial Intelligence Institute of Peking University
|
| 12 |
+
|
| 13 |
+
{justinzzk,yiduo}@stu.pku.edu.cn,{yaobo.liang,nanduan}@microsoft.com
|
| 14 |
+
|
| 15 |
+
zhaody@pku.edu.cn
|
| 16 |
+
|
| 17 |
+
# Abstract
|
| 18 |
+
|
| 19 |
+
The growing dependence on Large Language Models (LLMs) for completing user instructions necessitates a comprehensive understanding of their robustness in real-world situations. To address this need, we introduce the PowerPoint Task Completion-Robustness (PPTC-R) benchmark, designed to evaluate LLMs' robustness to user task instructions and different software versions (PowerPoint versions). Specifically, we create adversarial user instructions by manipulating instructions at the sentence, semantic, and language levels. To assess robustness across software versions, we vary the number of available APIs to simulate both the latest and earlier version environments. We benchmark 3 closed-source and 4 open-source LLMs against these robustness settings to evaluate how variations affect their API calls for task completion. Our findings reveal that GPT-4 demonstrates the highest performance and strong robustness, especially in version updates and multilingual settings. However, all LLMs show a significant decline in robustness when faced with multiple simultaneous challenges (e.g., multi-turn interactions), resulting in notable performance drops. We further analyze the robustness behavior and error patterns of LLMs in our benchmark, providing valuable insights for researchers to understand LLM robustness in task completion and to develop more resilient LLMs and agents. The code and data are available at https://github.com/ZekaiGalaxy/PPTCR.
|
| 20 |
+
|
| 21 |
+
# 1 Introduction
|
| 22 |
+
|
| 23 |
+
Large Language Models (LLMs) like GPT-4 (OpenAI, 2023) exhibit strong performance on a variety of basic natural language tasks and human examinations (Qin et al., 2023a; Jiao et al., 2023; Zhong et al., 2023; Wang et al., 2023d; Liang et al., 2023). This has spurred hope for their potential to assist humans in completing tasks in complex
|
| 24 |
+
|
| 25 |
+

|
| 26 |
+
Figure 1: We illustrate the turn-based multilingual results of closed-source LLMs.
|
| 27 |
+
|
| 28 |
+
environments, such as purchasing items in WebShop (Yao et al., 2022), creating and editing PowerPoint slides in PPTC (Guo et al., 2023), and navigating computers in MiniWob++ (Liu et al., 2018). Recent works (Zhu et al., 2023; Liu et al., 2023d; Wang et al., 2023c), such as PromptBench (Zhu et al., 2023), have studied the robustness of LLMs to task prompts for basic natural language tasks. However, there remains a lack of benchmarks for evaluating LLM robustness in complex task completion, a critical factor for their performance in real-world scenarios. To address this gap, we introduce PowerPoint Task Completion-Robustness (PPTC-R), a benchmark designed to measure and analyze the robustness of LLMs to user instructions and software versions in the context of PowerPoint task completion. Our benchmark has two distinct features: (1) Previous robustness evaluations have focused on traditional natural language tasks, where the model's output is typically limited to generating text strings or options. In contrast, our benchmark evaluates how adversarial perturbation
|
| 29 |
+
|
| 30 |
+

|
| 31 |
+
|
| 32 |
+
1. Make the title of the new slide "Marking Standard" and a body part "Direct Assessment" and "Relative Ranking".
|
| 33 |
+
|
| 34 |
+

|
| 35 |
+
|
| 36 |
+
Relocate the title section to the lower corner and insert ext "Human Assessment".
|
| 37 |
+
|
| 38 |
+
<code>
|
| 39 |
+
|
| 40 |
+
choose_title();
|
| 41 |
+
|
| 42 |
+
insert_text("Making Standard");
|
| 43 |
+
|
| 44 |
+
choose_content();
|
| 45 |
+
|
| 46 |
+
insert_text("Direct Assessment");
|
| 47 |
+
|
| 48 |
+
insert_text("Relative Ranking");
|
| 49 |
+
|
| 50 |
+
</code>
|
| 51 |
+
|
| 52 |
+

|
| 53 |
+
|
| 54 |
+

|
| 55 |
+
|
| 56 |
+
# Sentence-level perturbation
|
| 57 |
+
|
| 58 |
+

|
| 59 |
+
Figure 2: We illustrate two examples for constructing our robustness benchmark. The perturbations correctly distract the LLM from completing the user instruction (Left) and mislead the LLM into generating the wrong API sequence (Right), which underscores the importance of evaluating and analyzing LLMs' task completion robustness.
|
| 60 |
+
|
| 61 |
+
What a lovely day it is today! Make the title of the new "Marking Standard" and the body part "Direct
|
| 62 |
+
|
| 63 |
+
Assessment" and "Relative Ranking". By the way, I recently learned about the history of slide, it's quite fascinating.
|
| 64 |
+
|
| 65 |
+
Yes, it's a nice day!
|
| 66 |
+
|
| 67 |
+

|
| 68 |
+
|
| 69 |
+

|
| 70 |
+
|
| 71 |
+
Position the title element in the bottom corner and input "man Assessment" as its content.
|
| 72 |
+
|
| 73 |
+
<code>
|
| 74 |
+
|
| 75 |
+

|
| 76 |
+
|
| 77 |
+
choose_title();
|
| 78 |
+
|
| 79 |
+
insert_text("Human Assessment");
|
| 80 |
+
|
| 81 |
+
choose_content();
|
| 82 |
+
|
| 83 |
+
insert_text("Human Assessment");
|
| 84 |
+
|
| 85 |
+
</code>
|
| 86 |
+
|
| 87 |
+
tions affect LLMs' API calls for complex PowerPoint task completion. (2) While prior studies have mainly constructed benchmarks by attacking the task prompt or input text, we consider how shifts in software versions impact LLM performance, offering a new perspective on robustness evaluation.
|
| 88 |
+
|
| 89 |
+
To measure the robustness of LLMs to user instructions, we construct adversarial user instructions through various perturbations. These include: 1) (Language Level) translating the original English instructions into 14 non-English languages (Figure 1), 2) (Sentence Level) adding GPT-4-generated chitchat sentences to the original instructions as noise, and 3) (Semantic Level) prompting GPT-4 to rephrase the original instructions in four different ways while preserving the same meaning (Figure 2). These perturbations mimic typical variations encountered by users and developers in daily PowerPoint use with an AI agent. Our LLM-based sentence and semantic perturbation methods efficiently generate large quantities of high-quality, novel adversarial data.
|
| 90 |
+
|
| 91 |
+
Additionally, we assess the impact of software versions on PPT task completion by varying the number of available APIs. We simulate version updates by: (1) introducing many new APIs to the existing list, which may affect the LLM's API selection, and (2) removing several APIs from the existing list, simulating scenarios where the current software version lacks capabilities to fully address
|
| 92 |
+
|
| 93 |
+
user instructions, requiring the LLM to find alternative solutions. These perturbations (three for user instructions and two for APIs) form our PPTC-R benchmarks, encompassing a total of five settings.
|
| 94 |
+
|
| 95 |
+
We evaluate 3 closed-source LLMs (e.g. GPT-4 and ChatGPT) and 4 representative open-source LLMs (e.g. Llama-2 and WizardLM) using our benchmarks. GPT-4 demonstrates the highest performance and robustness across all five settings (Sec.4.3). For instance, GPT-4 maintains high turn-based performance even with the introduction of 97 new APIs, whereas other LLMs experience greater performance drops (e.g. ChatGPT) or sustain low performance levels (e.g. Llama-2). Notably, we observe a unique robustness degradation in all LLMs: their robustness significantly decreases when task difficulty increases or when transitioning to more complex environments. We identify three primary error causes for LLMs: distraction by chitchat (see the bottom of Figure 2), invoking unavailable APIs, and misinterpreting instructions with new expressions (Sec.5.1). We also explore LLM behavior with varying numbers of new APIs (Sec5.3). In summary, our paper's contributions are:
|
| 96 |
+
|
| 97 |
+
(1) We introduce the PowerPoint Task Completion Robustness (PPTC-R) benchmark, the first to measure LLM robustness in API-based task completion for user instructions. Our LLM-based perturbation methods can easily generate adversarial data for future datasets.
|
| 98 |
+
|
| 99 |
+
(2) We test 7 LLMs with our benchmark, finding that GPT-4 achieves the best performance and robustness. However, robustness degrades for all LLMs as task difficulty increases, highlighting the challenge posed by our benchmark.
|
| 100 |
+
(3) We analyze the error reasons and robustness behaviors of LLMs within our benchmark, providing valuable insights for researchers to understand LLM robustness in task completion settings and to develop more resilient AI agents.
|
| 101 |
+
|
| 102 |
+
# 2 Related Works
|
| 103 |
+
|
| 104 |
+
Large Language Models (LLMs) such as GPT-4 (Bubeck et al., 2023; OpenAI, 2023), and PaLM-2 (Anil et al., 2023) exhibit excellent performance for various traditional natural language tasks (Kim et al., 2023; Jiao et al., 2023; Zhong et al., 2023; Wang et al., 2023d) and can do complex logic reasoning (Feng et al., 2023; Liu et al., 2023a), pass human-level examination (Zhong et al., 2023; Gilson et al., 2023; Katz et al., 2023), and write code (Li et al., 2022; Liu et al., 2023b) after instruction fine-tuning. Open-source LLMs like LLaMa-2 (Touvron et al., 2023), Mistral 7b (Jiang et al., 2023), and Baichuan-2 (Yang et al., 2023) and their fine-tuned versions also show promising performance on public benchmarks. Recent survey (Chen et al., 2023) finds that they usually still have a performance gap when compared to their closed-source counterparts like GPT-4.
|
| 105 |
+
|
| 106 |
+
Task completion benchmarks for LLM-based Agents. LLMs and multi-modal models (e.g., GPT-4Vision) raise the hope of designing LLM-based agents to help humans finish complex tasks in complex environments. To test agents, Saycan (Brohan et al., 2023), Behavior (Srivastava et al., 2022; Li et al., 2023) and VirtualHome (Puig et al., 2018) benchmarks ask the agent to negative a series of physical actions to finish the user instruction in simulated physical environments. WebShop (Yao et al., 2022), AgentBench (Liu et al., 2023c) and Android in the wild (Rawles et al., 2023) require the agent conduct actions (e.g., click and search) in website environment to meet the user requirement. Tool-Bench (Xu et al., 2023b; Qin et al., 2023b) needs the agent to select proper APIs from thousands of candidate APIs.
|
| 107 |
+
|
| 108 |
+
Robustness in Natural Language Processing. Traditional natural language robustness evaluation focuses on constructing the adversarial dataset of basic natural language tasks, such as the adversarial
|
| 109 |
+
|
| 110 |
+
natural inference task (Nie et al., 2019) via human attacks, adversarial BLUE tasks (Wang et al., 2021) via word-level, sentence-level, and human attacks, and adversarial dialogue tasks (Yu and Rieser, 2023) via question and dialogue history Attack. Then they analyze models' (e.g., RoBERT (Liu et al., 2019)) behavior on these datasets. Recent robustness evaluations for LLMs try to measure their robustness to LLM's version (Liu et al., 2023d), search engine version (Kasai et al., 2024), basic task's prompt (Zhu et al., 2023; Sun et al., 2023; Hu et al., 2024) and specific adversarial samples (Wang et al., 2023c,a,b).
|
| 111 |
+
|
| 112 |
+
# 3 PPTC-R Benchmark
|
| 113 |
+
|
| 114 |
+
In this section, we introduce our PowerPoint Task Completion-Robustness (PPTC-R) benchmark, detailing its dataset components, design principles, and the collection and validation process.
|
| 115 |
+
|
| 116 |
+
# 3.1 Introduction to the PowerPoint Task Completion Benchmark
|
| 117 |
+
|
| 118 |
+
We developed our robustness benchmark based on the open-source PowerPoint Task Completion (PPTC) benchmark, utilizing its dataset, PPT tasks, and evaluation system. Here is a brief introduction:
|
| 119 |
+
|
| 120 |
+
Dataset. PPTC simulates a multi-turn dialogue between the user and LLM, comprising 279 multi-turn sessions. Each turn within a session includes a user instruction, a feasible API sequence for the instruction, and the labeled PPT file representing the correct result. To assist the LLM in completing the PPT task, the benchmark provides an API reference file containing all feasible APIs and their descriptions. Additionally, there is a PPT reader function that converts the PPT file into a text-format representation and an API executor that executes the LLM's generated API sequence to produce the PPT prediction file.
|
| 121 |
+
|
| 122 |
+
PPT Task description. PPTC includes tasks for both creating new slides and editing existing PPT templates, with each task containing its own set of sessions. To complete a session's turn instruction, we prompt the LLM with the current instruction, previous instructions (dialogue history), the PPT file content, and the reference API file to generate an API sequence as the solution. The executor then executes the API sequence to produce the prediction file.
|
| 123 |
+
|
| 124 |
+
Evaluation system. We use PPTX-evaluation system provided in PPTC to assess the correctness
|
| 125 |
+
|
| 126 |
+
of the LLM's prediction file. The system evaluates whether the objects and their positional relationships in the prediction file match those in the labeled PPT file.
|
| 127 |
+
|
| 128 |
+
# 3.2 Design principles
|
| 129 |
+
|
| 130 |
+
The construction of adversarial user instructions aims to simulate possible perturbations that naturally occur in real task-completion situations. We follow three principles to construct our robustness benchmark: (1) Realistic: We only consider common and daily perturbations that occur in the real world. (2) Preserve Semantic Integrity: We avoid perturbations that would alter the original semantics of the instruction (e.g., randomly deleting sentences). We also refrain from adding new instructions to PPTC. (3) Diverse: We aim to create various perturbations to prevent the LLM from solving them by simply identifying patterns.
|
| 131 |
+
|
| 132 |
+
# 3.3 Dataset collection and validation
|
| 133 |
+
|
| 134 |
+
We construct our adversarial instructions for three levels: sentence, semantic, and language levels. We do not consider character and word level perturbations as (Zhu et al., 2023) has shown the LLM's strong robustness to these simple manipulations.
|
| 135 |
+
|
| 136 |
+
Sentence-level perturbation: We add irrelevant chitchat sentences to the original user instruction to confuse the LLM's understanding. For each instruction, we prompt GPT-4 to generate 1-3 chitchat sentences, such as "Hey there! I hope you're having a great day. It's pretty amazing how colors can make a presentation more engaging, right?" These sentences are then incorporated around the original user instruction (the left part of Figure 3). The LLM needs to complete the user instruction while ignoring the chitchat sentences, ensuring that the semantics remain unchanged. We compare our perturbation approach with traditional sentence perturbation in Section 5.2.
|
| 137 |
+
|
| 138 |
+
Semantic-level perturbation: For each original instruction, we prompt GPT-4 to paraphrase it in four different expressions (the right part of Figure 3). The paraphrased instructions are used to test the LLM's performance, and we report the average performance across the different expressions, ensuring the semantics remain consistent.
|
| 139 |
+
|
| 140 |
+
Language-level perturbation: To test the LLM's ability to complete instructions written in non-English languages, we follow the XNLI (Connéau et al., 2018) dataset and select 14 target languages: French, Spanish, German, Greek, Bulgar
|
| 141 |
+
|
| 142 |
+
ian, Russian, Turkish, Arabic, Vietnamese, Thai, Chinese, Hindi, Swahili, and Urdu. We use the Google Translation API to translate all user instructions from English into these languages, also translating the text input content in the feasible API sequence (e.g., English $\rightarrow$ German: insert_text ("Hello!") $\rightarrow$ insert_text("Hallo!"). The translation maintains the original semantics while expressing them in various languages.
|
| 143 |
+
|
| 144 |
+
The change in software version often influences the available functions, which can be simplified as APIs. We consider two API number perturbations to measure the LLM's robustness to software version changes:
|
| 145 |
+
|
| 146 |
+
API update perturbation: To simulate a version update scenario, we introduce 97 new APIs along with their descriptions into the existing API file, keeping all previous APIs unchanged*. These new APIs, selected from PowerPoint keyboard functions, are unnecessary for completing original user instructions but may impact the LLM's API selection. We set the execution result of these new APIs in the API executor to a meaningless string, making calling them lead to incorrect predictions.
|
| 147 |
+
|
| 148 |
+
API lack perturbation: To simulate an earlier software environment with fewer advanced functions, we provide only 24 basic PowerPoint APIs and the "Seek for assistance" API to the LLM. Some parts of the user instruction may remain unfinished with the provided APIs. When the LLM encounters an unsolvable part, it must call the "Seek for assistance" API to bypass this part. When it finds one part of the instruction can be solved, it needs to call the corresponding correct APIs. In nature, our objective is to measure LLMs' ability to identify whether they can complete one part of the instruction and call the correct APIs for the given situation, so we set the execution result of the API "Seek for assistance" in the API executor as empty. For the label file, we filter out APIs not in the 24 basic APIs and execute the filtered sequence to obtain the label file. We list these APIs in Appendix A.
|
| 149 |
+
|
| 150 |
+
We conduct these five perturbations separately on the original PPTC benchmark to construct five different robustness settings, forming our robustness benchmark.
|
| 151 |
+
|
| 152 |
+
Validation: To guarantee the quality of our robustness benchmark, we verify that each adversarial instruction adheres to the design principles.
|
| 153 |
+
|
| 154 |
+
<table><tr><td>Sentence-level perturbation</td><td>Semantic-level perturbation</td></tr><tr><td>Prompt for irrelevant chitchat sentences:
|
| 155 |
+
Add 1~3 irrelevant chitchat non-instruction sentences into the following instruction. Do not add a new question. Instruction: {inst}.</td><td>Prompt for paraphrasing instructions:
|
| 156 |
+
Rephrase the following instruction into {num} different ways: {inst}.</td></tr></table>
|
| 157 |
+
|
| 158 |
+
Figure 3: The prompts we used to create the sentence and semantic level perturbations. {inst} refers to the original instruction. {num} refers to the number of paraphrased instructions.
|
| 159 |
+
|
| 160 |
+
(1) Realistic Testing LLMs with reversed user instructions may be interesting but unrealistic, so we do not include such an approach. Also, our sentence and semantic perturbation approach can online generate rich real and adversarial data for robustness tests. Then the LLM can not improve the robustness performance cheatingly by pre-training on these adversarial data.
|
| 161 |
+
|
| 162 |
+
(2) Preserve semantic integrity If the paraphrased instruction or the translated instruction changes the original meaning and thus violates the second principle, we discard the instruction and regenerate or use Bing to translate the original instruction until the paraphrased/translated instruction maintains semantic integrity. If the chitchat sentence contains new PPT task instruction and thus violates the second principle, we discard it and re-generate chitchat sentences.
|
| 163 |
+
(3) Diverse If the paraphrased instruction is too similar to other paraphrased instructions, we reparaphrase it. To assess the diversity of these perturbed instructions, we initially calculate their average n-gram similarity to the original instruction $(n = 2$ , cosine similarity): I. For each original instruction, we compute the average n-gram similarity between it and its four perturbed instructions. II. We then report the average value of each original instruction's similarity. The obtained result is 0.82, indicating that these perturbed instructions are clearly distinct from the original instruction.
|
| 164 |
+
|
| 165 |
+
Subsequently, we calculate the average n-gram similarity between the perturbed instructions: I. For the four perturbed instructions belonging to the same original instruction, we calculate the n-gram similarity for each pair and record the average value. II. We report the average value of each original instruction's similarity. The result is 0.76, signifying that the four perturbed instructions exhibit significant expression diversity among themselves.
|
| 166 |
+
|
| 167 |
+
# 4 Experiments
|
| 168 |
+
|
| 169 |
+
# 4.1 Large Language Models Selected for Evaluation
|
| 170 |
+
|
| 171 |
+
We follow PPTC (Guo et al., 2023) and select 3 closed-source LLMs: GPT-4 (OpenAI, 2023), ChatGPT, Text-Davinci-003 and 4 strong open-source LLMs: $LLaMa$ -2-Chat (Touvron et al., 2023), Code-LLaMa-instruct (Chiang et al., 2023), WizardLM v1.2 (Xu et al., 2023a), and Baichuan-2-Chat (Yang et al., 2023) as our LLMs for evaluation. We select them as they have shown strong performance on the original PPTC benchmark. For ChatGPT and GPT-4, we use the 0613 version (azure). For open-source LLMs, we use their chat/instruct version with 13 billion parameters.
|
| 172 |
+
|
| 173 |
+
# 4.1.1 Evaluation Approaches and Metrics
|
| 174 |
+
|
| 175 |
+
Following PPTC (Guo et al., 2023), we use two evaluation approaches: (1) Turn-based evaluation measures the LLM's ability to complete a single turn, assuming that previous turns have been correctly completed. (2) Session-based evaluation tests the LLM's ability to complete an entire session containing multiple turns, without assuming that previous turns were correctly completed. For turn-based evaluation, we report the turn-based accuracy, calculated as the ratio of successfully completed turns to the total number of turns. For session-based evaluation, we report the session-based accuracy, calculated as the ratio of successfully completed sessions to the total number of sessions.
|
| 176 |
+
|
| 177 |
+
# 4.2 Implementation Details
|
| 178 |
+
|
| 179 |
+
To ensure fair comparison and reproducibility, we adhere to PPTC guidelines by using the respective language models' APIs provided by Azure OpenAI Service for closed-source LLMs. For open-source LLMs, we download them from their official websites. More details are provided in Appendix B.
|
| 180 |
+
|
| 181 |
+
<table><tr><td rowspan="3">Models</td><td colspan="6">Creating new slides</td><td colspan="6">Editing PPT template</td></tr><tr><td colspan="3">Turn-based</td><td colspan="3">Session-based</td><td colspan="3">Turn-based</td><td colspan="3">Session-based</td></tr><tr><td>Original</td><td>Sentence</td><td>Semantic</td><td>Original</td><td>Sentence</td><td>Semantic</td><td>Original</td><td>Sentence</td><td>Semantic</td><td>Original</td><td>Sentence</td><td>Semantic</td></tr><tr><td>Davinci-003</td><td>72.6</td><td>64.8 (-7.8)</td><td>67.4 (-5.2)</td><td>12.7</td><td>11.7 (-1.0)</td><td>9.5 (-3.2)</td><td>24.4</td><td>26.3 (+1.9)</td><td>25.8 (+1.4)</td><td>4.0</td><td>0.0 (-4.0)</td><td>0.5 (-3.5)</td></tr><tr><td>ChatGPT</td><td>70.6</td><td>61.3 (-9.3)</td><td>65.0 (-5.6)</td><td>12.7</td><td>9.7 (-3.0)</td><td>8.7 (-4.0)</td><td>26.3</td><td>28.8 (+2.5)</td><td>27.0 (+0.3)</td><td>2.0</td><td>2.0 (+0.0)</td><td>2.0 (+0.0)</td></tr><tr><td>GPT-4</td><td>75.1</td><td>72.3 (-2.8)</td><td>72.0 (-3.1)</td><td>22.7</td><td>12.3 (-10.4)</td><td>14.2 (-8.5)</td><td>38.1</td><td>36.9 (-1.2)</td><td>35.8 (-6.3)</td><td>6.0</td><td>4.0 (-2.0)</td><td>4.0 (-2.0)</td></tr><tr><td>Llama-2</td><td>16.4</td><td>16.3 (-0.1)</td><td>16.1 (-0.3)</td><td>3.4</td><td>1.7 (-1.7)</td><td>1.0 (-2.4)</td><td>8.8</td><td>8.8 (+0.0)</td><td>7.6 (-1.2)</td><td>0.0</td><td>2.0 (+2.0)</td><td>0.0 (+0.0)</td></tr><tr><td>WizardLM</td><td>23.9</td><td>23.8 (-0.1)</td><td>23.8 (-0.1)</td><td>4.3</td><td>1.0 (-3.3)</td><td>0.0 (-4.3)</td><td>10.0</td><td>10.0 (+0.0)</td><td>10.0 (+0.0)</td><td>0.0</td><td>0.0 (+0.0)</td><td>0.0 (+0.0)</td></tr><tr><td>Baichuan</td><td>15.5</td><td>15.5 (+0.0)</td><td>15.0 (-0.5)</td><td>0.0</td><td>1.4 (+1.4)</td><td>1.7 (+1.7)</td><td>4.3</td><td>4.3 (+0.0)</td><td>2.5 (-1.8)</td><td>0.0</td><td>0.0 (+0.0)</td><td>0.0 (+0.0)</td></tr><tr><td>CodeLlama</td><td>36.8</td><td>36.2 (-0.6)</td><td>36.8 (-0.0)</td><td>0.0</td><td>0.0 (+0.0)</td><td>0.0 (+0.0)</td><td>18.7</td><td>18.8 (+0.1)</td><td>18.7 (+0.0)</td><td>2.0</td><td>2.0 (+0.0)</td><td>0.0 (-2.0)</td></tr></table>
|
| 182 |
+
|
| 183 |
+
Table 1: We report the robustness results of LLMs in both sentence-level and semantic-level settings in this table. "Original" is the original accuracy from the original PPTC benchmark. "Sentence" and "Semantic" are the LLM's accuracy in the sentence-level and semantic-level settings, respectively. The value in "(.)" represents the range of change from the original performance to the robustness performance.
|
| 184 |
+
|
| 185 |
+

|
| 186 |
+
Figure 4: We present the turn-based results of closed-source LLMs for the task of creating new slides, where the instructions are translated into 14 non-English languages. Each bar in the graph corresponds to the LLM's accuracy in the respective language setting. The dotted line indicates the LLM's accuracy when tested in the English setting.
|
| 187 |
+
|
| 188 |
+
# 4.3 Main Results
|
| 189 |
+
|
| 190 |
+
In this section, we present the accuracy results of LLMs on our benchmark, shown in Tables 1 and 2, and Figures 4, 9 and 10. The cost measurement results are provided in Appendix C. We then analyze the results from the perspectives of LLM performance and perturbation types.
|
| 191 |
+
|
| 192 |
+
Sentence-level and semantic-level robustness: We present the robustness performance of LLMs for sentence-level and semantic-level settings in Table 1. Key findings from the results include: (1) GPT-4 demonstrates the strongest performance under both sentence-level and semantic-level perturbations, with minimal performance degradation compared to other closed-source LLMs. (2) While open-source LLMs show lower overall performance, they exhibit less performance decline than their closed-source counterparts, with CodeLlama leading in robustness and performance among open-source options. (3) LLMs generally find sentence-level perturbations more challenging than semantic-level perturbations, experiencing more significant performance drops in the former across both turn-based and session-based evaluations.
|
| 193 |
+
|
| 194 |
+
Language-level robustness: Turn-based results of closed-source LLMs† in the language-level ro
|
| 195 |
+
|
| 196 |
+
bustness setting are illustrated in Figure 4. Due to space constraints, additional multilingual results are provided in Appendix D. Key observations include: (1) GPT-4 outperforms other LLMs in turn-based evaluations (see Figure 4 and 10) and experiences less performance drop, indicating strong multilingual understanding capabilities. (2) However, GPT-4, along with other LLMs like ChatGPT and Davinci, performs poorly in low-resource languages such as Swahili, Urdu, and Arabic, highlighting the ongoing challenge of improving LLM performance in low-resource language settings.
|
| 197 |
+
|
| 198 |
+
API lack and API update robustness: We report the results of the API lack and update settings in Table 2. Key findings include: (1) GPT-4 shows good robustness to API-update perturbations, with only a slight performance drop of $2 - 4\%$ . In contrast, other closed-source LLMs experience significant performance declines when new APIs are introduced, underscoring GPT-4's unique capability in handling API calls. (2) In the creating slide task, LLMs suffer greater performance drops in the API-lack setting compared to the API-update setting, indicating difficulty in recognizing unavailable APIs. Analysis of errors reveals that LLMs
|
| 199 |
+
|
| 200 |
+
<table><tr><td rowspan="3">Models</td><td colspan="6">Creating new slides</td><td colspan="6">Editing PPT template</td></tr><tr><td colspan="3">Turn-based</td><td colspan="3">Session-based</td><td colspan="3">Turn-based</td><td colspan="3">Session-based</td></tr><tr><td>Original</td><td>Lack</td><td>Update</td><td>Original</td><td>Lack</td><td>Update</td><td>Original</td><td>Lack</td><td>Update</td><td>Original</td><td>Lack</td><td>Update</td></tr><tr><td>Davinci-003</td><td>72.6</td><td>55.1 (-17.5)</td><td>44.5 (-28.1)</td><td>12.7</td><td>5.2 (-7.5)</td><td>1.3 (-11.4)</td><td>24.4</td><td>33.7 (+9.3)</td><td>17.5 (-6.9)</td><td>4.0</td><td>0.0 (-4.0)</td><td>0.0 (-4.0)</td></tr><tr><td>ChatGPT</td><td>70.6</td><td>55.4 (-15.2)</td><td>55.4 (-15.2)</td><td>12.7</td><td>3.9 (-8.8)</td><td>5.3 (-7.4)</td><td>26.3</td><td>27.5 (+1.2)</td><td>15.0 (-11.3)</td><td>2.0</td><td>0.0 (-2.0)</td><td>0.0 (-2.0)</td></tr><tr><td>GPT-4</td><td>75.1</td><td>62.5 (-12.6)</td><td>75.7 (+0.6)</td><td>22.7</td><td>5.2 (-17.5)</td><td>18.8 (-3.9)</td><td>38.1</td><td>39.4 (+1.3)</td><td>35.6 (-2.5)</td><td>6.0</td><td>0.0 (-6.0)</td><td>2.0 (-4.0)</td></tr><tr><td>Llama-2</td><td>16.4</td><td>16.5 (+0.1)</td><td>7.8 (-8.6)</td><td>3.4</td><td>0.0 (-3.4)</td><td>3.4 (-0.0)</td><td>8.8</td><td>12.0 (+4.0)</td><td>7.5 (-1.3)</td><td>0.0</td><td>0.0 (+0.0)</td><td>2.0 (+2.0)</td></tr><tr><td>WizardLM</td><td>23.9</td><td>18.9 (-5.0)</td><td>11.3 (-12.6)</td><td>4.3</td><td>0.0 (-4.3)</td><td>0.0 (-4.3)</td><td>10.0</td><td>14.4 (+4.4)</td><td>6.9 (-3.1)</td><td>0.0</td><td>0.0 (+0.0)</td><td>0.0 (+0.0)</td></tr><tr><td>Baichuan</td><td>15.5</td><td>18.7 (+3.2)</td><td>13.2 (-2.3)</td><td>0.0</td><td>0.0 (+0.0)</td><td>1.0 (+1.0)</td><td>4.3</td><td>10.6 (+6.3)</td><td>2.5 (+1.8)</td><td>0.0</td><td>6.0 (+6.0)</td><td>0.0 (+0.0)</td></tr><tr><td>CodeLlama</td><td>36.8</td><td>26.3 (-10.5)</td><td>22.4 (-14.4)</td><td>0.0</td><td>0.0 (+0.0)</td><td>1.0 (+2.0)</td><td>18.7</td><td>13.6 (-5.1)</td><td>12.6 (-6.1)</td><td>2.0</td><td>2.0 (+0.0)</td><td>2.0 (+0.0)</td></tr></table>
|
| 201 |
+
|
| 202 |
+
Table 2: We report the robustness results of LLMs in the API-lack and API-update settings. "Original" is the original accuracy from the PPTC benchmark. "Lack" and "Update" are the LLM's accuracy in the API-lack and API-update settings, respectively.
|
| 203 |
+
|
| 204 |
+
<table><tr><td rowspan="2">Models</td><td colspan="2">Creating new slides</td><td>Editing PPT template</td></tr><tr><td>Turn-based</td><td>Session-based</td><td>Turn-based</td></tr><tr><td>ChatGPT</td><td>16.3</td><td>54.7</td><td>19.7</td></tr><tr><td>GPT-4</td><td>9.4</td><td>54.1</td><td>17.7</td></tr><tr><td>Llama-2</td><td>13.6</td><td>55.2</td><td>9.4</td></tr><tr><td>WizardLM</td><td>18.5</td><td>94.2</td><td>10.3</td></tr></table>
|
| 205 |
+
|
| 206 |
+
Table 3: This table presents Average Performance Drop Rate (APDR) results for LLMs. For the "creating new slides" task's turn-based column, we compute LLMs' PDR rates using their turn-based accuracy of the creating new slides task in each robustness setting. The average is reported as APDR. The same calculation is applied to the other columns. Note that we exclude the multilingual setting for open-source LLMs.
|
| 207 |
+
|
| 208 |
+
often call unavailable APIs instead of seeking assistance. (3) Interestingly, in the editing task, the turn-based performance of nearly all LLMs improves under the API-lack perturbation. This improvement is attributed to the design of the editing task in PPTC, which emphasizes using high-frequency basic APIs, making the task easier by removing low-frequency APIs in the API-lack setting.
|
| 209 |
+
|
| 210 |
+
LLMs' robustness varies with the difficulty of the task and the complexity of the environment: To measure the variation in LLMs' robustness, we use the Average Performance Drop Rate (APDR) metric proposed in (Zhu et al., 2023) $\ddagger$ , which quantifies the average relative performance decline of LLMs under perturbation attacks $\S$ . The APDR rate of LLMs is reported in Table 3. We observe a decrease in LLM robustness with increasing task difficulty (e.g. turn-based to session-based evaluation) or when moving to more complex environments (e.g. creating 1-2 slides to editing a long template with many slides), even for GPT-4. For example, in the task of creating new slides, GPT-4's APDR rate
|
| 211 |
+
|
| 212 |
+
increases from 9.4 to 54.1 (where a higher value indicates poorer robustness) when transitioning from turn-based to session-based evaluation. The table also indicates that completing multi-turn (session-based) evaluations is more challenging than editing templates, as evidenced by higher APDR rates in the former, although open-source LLMs occasionally show a slight drop in APDR rates in the latter.
|
| 213 |
+
|
| 214 |
+
# 5 Analysis
|
| 215 |
+
|
| 216 |
+
# 5.1 Error analysis for LLMs
|
| 217 |
+
|
| 218 |
+
To conduct error analysis in PPTC-R, we randomly collected 25 examples for each robustness setting where PPTC-R failed but the original PPTC succeeded. This process was done separately for ChatGPT and GPT-4. Based on these examples, we identified the following error types: (1) Being Distracted by Chitchat Sentences: In the sentence-level robustness setting, LLMs sometimes engage in chitchat with the user and neglect to generate API sequences, accounting for $61\%$ of all errors. (2) Calling Unavailable or New APIs: In the API lack and multilingual settings, GPT-4 and ChatGPT often generate new APIs like 'select_column' that seem plausible but are non-executable. In the API update setting, ChatGPT uses new, executable APIs provided by our setting, but these APIs are unnecessary. (3) Misunderstanding Instructions: In the sentence and semantic-level robustness settings, GPT-4 and ChatGPT occasionally misinterpret instructions, resulting in incorrect API calls. Detailed examples are provided in Appendix E.
|
| 219 |
+
|
| 220 |
+
# 5.2 Chitchat vs Traditional perturbations
|
| 221 |
+
|
| 222 |
+
Traditional sentence-level perturbations typically involve inserting "True or False" (StressTest (Naik et al., 2018)) or a randomly generated string like "KjPJJ2a7RB" (Checklist (Ribeiro et al., 2020)) into the original input. Our sentence-level perturba
|
| 223 |
+
|
| 224 |
+
<table><tr><td rowspan="3">Models</td><td colspan="6">Creating new slides</td><td colspan="6">Editing PPT template</td></tr><tr><td colspan="3">Turn-based</td><td colspan="3">Session-based</td><td colspan="3">Turn-based</td><td colspan="3">Session-based</td></tr><tr><td>Original</td><td>ChitChat</td><td>Checklist</td><td>Original</td><td>ChitChat</td><td>Checklist</td><td>Original</td><td>ChitChat</td><td>Checklist</td><td>Original</td><td>ChitChat</td><td>Checklist</td></tr><tr><td>GPT-4</td><td>75.1</td><td>72.3 (-2.8)</td><td>73.2 (-1.9)</td><td>22.7</td><td>12.3 (-10.4)</td><td>14.8 (-7.9)</td><td>38.1</td><td>36.9 (-1.2)</td><td>37.5 (-0.6)</td><td>6.0</td><td>4.0 (-2.0)</td><td>6.0 (+0.0)</td></tr></table>
|
| 225 |
+
|
| 226 |
+
Table 4: We report the robustness results of GPT-4 in the sentence-level setting by adding chitchat sentences ("Chitchat") and randomly generated strings as checklist ("Checklist"), respectively.
|
| 227 |
+
|
| 228 |
+

|
| 229 |
+
Figure 5: We report the results of three LLMs with different numbers of new APIs in sub-figures. The dotted line represents the performance trend.
|
| 230 |
+
|
| 231 |
+

|
| 232 |
+
|
| 233 |
+

|
| 234 |
+
|
| 235 |
+
tion introduces various chitchat sentences, making it more challenging for LLMs nowadays. Empirically, we tested GPT-4 in a robustness setting by following (Ribeiro et al., 2020) to pretend random generated checklist to each instruction. As shown in Table 4, our perturbation causes a greater performance drop in GPT-4, indicating its deviation due to chitchat.
|
| 236 |
+
|
| 237 |
+
# 5.3 How does the number of new APIs influence LLM's performance?
|
| 238 |
+
|
| 239 |
+
We examined the influence of varying numbers of new APIs on LLMs' performance, as illustrated in Figure 5. ChatGPT's performance gradually decreases with an increasing number of APIs. For the open-source WizardLM, performance drops significantly when 25 new APIs are added to its reference list, then stabilizes at a low level, suggesting a lack of robustness in selecting the correct APIs from a larger pool. Conversely, GPT-4 maintains high turn-based performance, demonstrating strong robustness in the API update setting. However, its session-based performance drops notably when faced with both an increasing number of new APIs and the need to complete a multi-turn session.
|
| 240 |
+
|
| 241 |
+
# 6 Conclusion
|
| 242 |
+
|
| 243 |
+
Deploying LLMs and LLM-based agents to complete users' task instructions is becoming increasingly important. However, there is still a lack of evaluation and analysis of LLMs' robustness in complex task completions. We introduce the PowerPoint Task Completion-Robustness benchmark
|
| 244 |
+
|
| 245 |
+
to assess LLM robustness in handling adversarial instructions and adapting to different software versions in complex PPT task completion. Our benchmark results for seven LLMs show that GPT-4 is the strongest, though all LLMs' robustness degrades as task difficulty increases. We further conduct a detailed analysis of error reasons and robustness behaviors to gain a deeper understanding.
|
| 246 |
+
|
| 247 |
+
# 7 Limitations and potential risks
|
| 248 |
+
|
| 249 |
+
Investigating the LLM's robustness to the PPT file (environment) may be interesting. A simple way is to vary the number of shapes in the PPT file. For example, slides containing more figures may pose a greater challenge for LLMs when completing figure-related instructions. However, we do not consider this perturbation as it is hard to control in specific slides. For example, some slides may allow the addition of more figures, while others can not as they are completely fulfilled. On the other hand, our benchmark does not consider creating harder instructions by further asking experts to write and edit the instructions. But current LLMs have already dropped their performance obviously in our setting. So we leave the further creation work in the future.
|
| 250 |
+
|
| 251 |
+
We do not see any potential physical risk in our benchmark as we just test the LLM's robustness to do virtual PPT tasks under perturbations. We also do not see any societal risk.
|
| 252 |
+
|
| 253 |
+
# References
|
| 254 |
+
|
| 255 |
+
Rohan Anil, Andrew M Dai, Orhan Firat, Melvin Johnson, Dmitry Lepikhin, Alexandre Passos, Siamak Shakeri, Emanuel Taropa, Paige Bailey, Zhifeng Chen, et al. 2023. Palm 2 technical report. arXiv preprint arXiv:2305.10403.
|
| 256 |
+
Anthony Brohan, Yevgen Chebotar, Chelsea Finn, Karol Hausman, Alexander Herzog, Daniel Ho, Julian Ibarz, Alex Irpan, Eric Jang, Ryan Julian, et al. 2023. Do as i can, not as i say: Grounding language in robotic affordances. In Conference on Robot Learning, pages 287-318. PMLR.
|
| 257 |
+
Sebastien Bubeck, Varun Chandrasekaran, Ronen Eldan, Johannes Gehrke, Eric Horvitz, Ece Kamar, Peter Lee, Yin Tat Lee, Yuanzhi Li, Scott Lundberg, et al. 2023. Sparks of artificial general intelligence: Early experiments with gpt-4. arXiv preprint arXiv:2303.12712.
|
| 258 |
+
Hailin Chen, Fangkai Jiao, Xingxuan Li, Chengwei Qin, Mathieu Ravaut, Ruochen Zhao, Caiming Xiong, and Shafiq Joty. 2023. Chatgpt's one-year anniversary: Are open-source large language models catching up? arXiv preprint arXiv:2311.16989.
|
| 259 |
+
Wei-Lin Chiang, Zhuohan Li, Zi Lin, Ying Sheng, Zhanghao Wu, Hao Zhang, Lianmin Zheng, Siyuan Zhuang, Yonghao Zhuang, Joseph E Gonzalez, et al. 2023. Vicuna: An open-source chatbot impressing gpt-4 with $90\%$ chatgpt quality. See https://vicuna.lmsys.org (accessed 14 April 2023).
|
| 260 |
+
Alexis Conneau, Rudy Rinott, Guillaume Lample, Adina Williams, Samuel R. Bowman, Holger Schwenk, and Veselin Stoyanov. 2018. Xnli: Evaluating crosslingual sentence representations. In Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing. Association for Computational Linguistics.
|
| 261 |
+
Jiazhan Feng, Ruochen Xu, Junheng Hao, Hiteshi Sharma, Yelong Shen, Dongyan Zhao, and Weizhu Chen. 2023. Language models can be logical solvers. arXiv preprint arXiv:2311.06158.
|
| 262 |
+
Aidan Gilson, Conrad W Safranek, Thomas Huang, Vimig Socrates, Ling Chi, Richard Andrew Taylor, David Chartash, et al. 2023. How does chatgpt perform on the united states medical licensing examination? the implications of large language models for medical education and knowledge assessment. JMIR Medical Education, 9(1):e45312.
|
| 263 |
+
Yiduo Guo, Zekai Zhang, Yaobo Liang, Dongyan Zhao, and Duan Nan. 2023. Pptc benchmark: Evaluating large language models for powerpoint task completion.
|
| 264 |
+
Zhibo Hu, Chen Wang, Yanfeng Shu, Liming Zhu, et al. 2024. Prompt perturbation in retrieval-augmented generation based large language models. arXiv preprint arXiv:2402.07179.
|
| 265 |
+
|
| 266 |
+
Albert Q Jiang, Alexandre Sablayrolles, Arthur Mensch, Chris Bamford, Devendra Singh Chaplot, Diego de las Casas, Florian Bressand, Gianna Lengyel, Guillaume Lample, Lucile Saulnier, et al. 2023. Mistral 7b. arXiv preprint arXiv:2310.06825.
|
| 267 |
+
Wenxiang Jiao, Wenxuan Wang, Jen-tse Huang, Xing Wang, and Zhaopeng Tu. 2023. Is chatgpt a good translator? a preliminary study. arXiv preprint arXiv:2301.08745.
|
| 268 |
+
Jungo Kasai, Keisuke Sakaguchi, Ronan Le Bras, Akari Asai, Xinyan Yu, Dragomir Radev, Noah A Smith, Yejin Choi, Kentaro Inui, et al. 2024. Realtime qa: What's the answer right now? Advances in Neural Information Processing Systems, 36.
|
| 269 |
+
Daniel Martin Katz, Michael James Bommarito, Shang Gao, and Pablo Arredondo. 2023. Gpt-4 passes the bar exam. Available at SSRN 4389233.
|
| 270 |
+
Geunwoo Kim, Pierre Baldi, and Stephen McAleer. 2023. Language models can solve computer tasks. arXiv preprint arXiv:2303.17491.
|
| 271 |
+
Chengshu Li, Ruohan Zhang, Josiah Wong, Cem Gokmen, Sanjana Srivastava, Roberto Martin-Martin, Chen Wang, Gabrael Levine, Michael Lingelbach, Jankai Sun, et al. 2023. Behavior-1k: A benchmark for embodied ai with 1,000 everyday activities and realistic simulation. In Conference on Robot Learning, pages 80–93. PMLR.
|
| 272 |
+
Yujia Li, David Choi, Junyoung Chung, Nate Kushman, Julian Schrittwieser, Rémi Leblond, Tom Eccles, James Keeling, Felix Gimeno, Agustin Dal Lago, et al. 2022. Competition-level code generation with alphabet. Science, 378(6624):1092-1097.
|
| 273 |
+
Yaobo Liang, Chenfei Wu, Ting Song, Wenshan Wu, Yan Xia, Yu Liu, Yang Ou, Shuai Lu, Lei Ji, Shaoguang Mao, et al. 2023. Taskmatrix.ai: Completing tasks by connecting foundation models with millions of apis. arXiv preprint arXiv:2303.16434.
|
| 274 |
+
Evan Zheran Liu, Kelvin Guu, Panupong Pasupat, Tianlin Shi, and Percy Liang. 2018. Reinforcement learning on web interfaces using workflow-guided exploration. In International Conference on Learning Representations (ICLR).
|
| 275 |
+
Hanmeng Liu, Ruoxi Ning, Zhiyang Teng, Jian Liu, Qiji Zhou, and Yue Zhang. 2023a. Evaluating the logical reasoning ability of chatgpt and gpt-4. arXiv preprint arXiv:2304.03439.
|
| 276 |
+
Jiawei Liu, Chunqiu Steven Xia, Yuyao Wang, and Lingming Zhang. 2023b. Is your code generated by chatgpt really correct? rigorous evaluation of large language models for code generation. arXiv preprint arXiv:2305.01210.
|
| 277 |
+
Xiao Liu, Hao Yu, Hanchen Zhang, Yifan Xu, Xuanyu Lei, Hanyu Lai, Yu Gu, Hangliang Ding, Kaiwen Men, Kejuan Yang, et al. 2023c. Agentbench: Evaluating llms as agents. arXiv preprint arXiv:2308.03688.
|
| 278 |
+
|
| 279 |
+
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.
|
| 280 |
+
Yugeng Liu, Tianshuo Cong, Zhengyu Zhao, Michael Backes, Yun Shen, and Yang Zhang. 2023d. Robustness over time: Understanding adversarial examples' effectiveness on longitudinal versions of large language models. arXiv preprint arXiv:2308.07847.
|
| 281 |
+
Aakanksha Naik, Abhilasha Ravichander, Norman Sadeh, Carolyn Rose, and Graham Neubig. 2018. Stress test evaluation for natural language inference. arXiv preprint arXiv:1806.00692.
|
| 282 |
+
Yixin Nie, Adina Williams, Emily Dinan, Mohit Bansal, Jason Weston, and Douwe Kiela. 2019. Adversarial nli: A new benchmark for natural language understanding. arXiv preprint arXiv:1910.14599.
|
| 283 |
+
OpenAI. 2023. Gpt-4 technical report. arXiv preprint arXiv:2303.08774.
|
| 284 |
+
Xavier Puig, Kevin Ra, Marko Boben, Jiaman Li, Tingwu Wang, Sanja Fidler, and Antonio Torralba. 2018. Virtualhome: Simulating household activities via programs. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 8494-8502.
|
| 285 |
+
Chengwei Qin, Aston Zhang, Zhuosheng Zhang, Jiao Chen, Michihiro Yasunaga, and Diyi Yang. 2023a. Is chatgpt a general-purpose natural language processing task solver? arXiv preprint arXiv:2302.06476.
|
| 286 |
+
Yujia Qin, Shengding Hu, Yankai Lin, Weize Chen, Ning Ding, Ganqu Cui, Zheni Zeng, Yufei Huang, Chaojun Xiao, Chi Han, Yi Ren Fung, Yusheng Su, Huadong Wang, Cheng Qian, Runchu Tian, Kunlun Zhu, Shihao Liang, Xingyu Shen, Bokai Xu, Zhen Zhang, Yining Ye, Bowen Li, Ziwei Tang, Jing Yi, Yuzhang Zhu, Zhenning Dai, Lan Yan, Xin Cong, Yaxi Lu, Weilin Zhao, Yuxiang Huang, Junxi Yan, Xu Han, Xian Sun, Dahai Li, Jason Phang, Cheng Yang, Tongshuang Wu, Heng Ji, Zhiyuan Liu, and Maosong Sun. 2023b. Tool learning with foundation models.
|
| 287 |
+
Christopher Rawles, Alice Li, Daniel Rodriguez, Oriana Riva, and Timothy Lillicrap. 2023. Android in the wild: A large-scale dataset for android device control. arXiv preprint arXiv:2307.10088.
|
| 288 |
+
Marco Tulio Ribeiro, Tongshuang Wu, Carlos Guestrin, and Sameer Singh. 2020. Beyond accuracy: Behavioral testing of nlp models with checklist. arXiv preprint arXiv:2005.04118.
|
| 289 |
+
Sanjana Srivastava, Chengshu Li, Michael Lingelbach, Roberto Martin-Martin, Fei Xia, Kent Elliott Vainio, Zheng Lian, Cem Gokmen, Shyamal Buch, Karen Liu, et al. 2022. Behavior: Benchmark for everyday household activities in virtual, interactive, and ecological environments. In Conference on Robot Learning, pages 477-490. PMLR.
|
| 290 |
+
|
| 291 |
+
Hao Sun, Zhexin Zhang, Jiawen Deng, Jiale Cheng, and Minlie Huang. 2023. Safety assessment of chinese large language models. arXiv preprint arXiv:2304.10436.
|
| 292 |
+
Hugo Touvron, Thibaut Lavril, Gautier Izacard, Xavier Martinet, Marie-Anne Lachaux, Timothee Lacroix, Baptiste Roziere, Naman Goyal, Eric Hambro, Faisal Azhar, et al. 2023. Llama: Open and efficient foundation language models. arXiv preprint arXiv:2302.13971.
|
| 293 |
+
Boxin Wang, Weixin Chen, Hengzhi Pei, Chulin Xie, Mintong Kang, Chenhui Zhang, Chejian Xu, Zidi Xiong, Ritik Dutta, Ryan Schaeffer, et al. 2023a. Decodingtrust: A comprehensive assessment of trustworthiness in gpt models. arXiv preprint arXiv:2306.11698.
|
| 294 |
+
Boxin Wang, Chejian Xu, Shuohang Wang, Zhe Gan, Yu Cheng, Jianfeng Gao, Ahmed Hassan Awadallah, and Bo Li. 2021. Adversarial glue: A multitask benchmark for robustness evaluation of language models. arXiv preprint arXiv:2111.02840.
|
| 295 |
+
Haoyu Wang, Guozheng Ma, Cong Yu, Ning Gui, Linrui Zhang, Zhiqi Huang, Suwei Ma, Yongzhe Chang, Sen Zhang, Li Shen, et al. 2023b. Are large language models really robust to word-level perturbations? arXiv preprint arXiv:2309.11166.
|
| 296 |
+
Jindong Wang, Xixu Hu, Wenxin Hou, Hao Chen, Runkai Zheng, Yidong Wang, Linyi Yang, Haojun Huang, Wei Ye, Xiubo Geng, et al. 2023c. On the robustness of chatgpt: An adversarial and out-of-distribution perspective. arXiv preprint arXiv:2302.12095.
|
| 297 |
+
Zengzhi Wang, Qiming Xie, Zixiang Ding, Yi Feng, and Rui Xia. 2023d. Is chatgpt a good sentiment analyzer? a preliminary study. arXiv preprint arXiv:2304.04339.
|
| 298 |
+
Can Xu, Qingfeng Sun, Kai Zheng, Xiubo Geng, Pu Zhao, Jiazhan Feng, Chongyang Tao, and Daxin Jiang. 2023a. Wizardlm: Empowering large language models to follow complex instructions. arXiv preprint arXiv:2304.12244.
|
| 299 |
+
Qiantong Xu, Fenglu Hong, Bo Li, Changran Hu, Zhengyu Chen, and Jian Zhang. 2023b. On the tool manipulation capability of open-source large language models. arXiv preprint arXiv:2305.16504.
|
| 300 |
+
Aiyuan Yang, Bin Xiao, Bingning Wang, Borong Zhang, Chao Yin, Chenxu Lv, Da Pan, Dian Wang, Dong Yan, Fan Yang, et al. 2023. Baichuan 2: Open large-scale language models. arXiv preprint arXiv:2309.10305.
|
| 301 |
+
Shunyu Yao, Howard Chen, John Yang, and Karthik Narasimhan. 2022. Webshop: Towards scalable real-world web interaction with grounded language agents. Advances in Neural Information Processing Systems, 35:20744-20757.
|
| 302 |
+
|
| 303 |
+
Lu Yu and Verena Rieser. 2023. Adversarial textual robustness on visual dialog. In *Findings of the Association for Computational Linguistics: ACL* 2023, pages 3422-3438.
|
| 304 |
+
|
| 305 |
+
Wanjun Zhong, Ruixiang Cui, Yiduo Guo, Yaobo Liang, Shuai Lu, Yanlin Wang, Amin Saied, Weizhu Chen, and Nan Duan. 2023. Agieval: A human-centric benchmark for evaluating foundation models. arXiv preprint arXiv:2304.06364.
|
| 306 |
+
|
| 307 |
+
Kaijie Zhu, Jindong Wang, Jiaheng Zhou, Zichen Wang, Hao Chen, Yidong Wang, Linyi Yang, Wei Ye, Neil Zhenqiang Gong, Yue Zhang, et al. 2023. Promptbench: Towards evaluating the robustness of large language models on adversarial prompts. arXiv preprint arXiv:2306.04528.
|
| 308 |
+
|
| 309 |
+
# A Basic APIs in the API lack setting
|
| 310 |
+
|
| 311 |
+
We list the APIs used in the API lack setting in Figure 6 & 7. We select them as they provide basic functions in PowerPoint software with high usage frequency in the benchmark.
|
| 312 |
+
|
| 313 |
+
# B Experimental details
|
| 314 |
+
|
| 315 |
+
For closed-source LLMs, Azure OpenAI services offer two API types: completion and chat completion. Completion API generates text from prompts, while chat completion API responds based on conversation history and new input. We use the completion API for Text-Davinci-003 and the chat completion API for ChatGPT and GPT-4. We set a temperature of zero for deterministic output and a max token limit of 2048. Frequency penalty and top p are kept at their default values of zero and 1, respectively. For open-source LLMs, we choose the chat version of Llama-2, the v1.2 version of WizardLM, and the chat version of Baichuan as our open-source LLMs. We choose the 13 billion parameters model of the three LLMs. If the token number of the input prompt is beyond the token limit, we cut the PPT content to reduce the token number of the prompt.
|
| 316 |
+
|
| 317 |
+
We authors volunteered to perform validation checks on our dataset. This included assessing the quality of each perturbation, with a particular focus on the performance of the Google Translation API in language-level perturbations. Additionally, we ensured that the dataset did not contain any harmful content and that our use of it was consistent with the intended purposes of the PPTC dataset.
|
| 318 |
+
|
| 319 |
+
The inference prompts in the turn-based evaluation and session-based evaluation have two differences: the API solutions for previous turns in dialogue history are the correct API sequences in the turn-based evaluation and the outputs of the LLM in the session-based evaluation. (2) The PPT content is parsed from the PPT file. The PPT file is obtained by executing the label API sequences in the turn-based evaluation and the previous outputs of the LLM in the session-based evaluation. That means the error made by LLMs in previous turns would influence subsequent turns in the session-based evaluation. We copy the inference prompt we used from PPTC and illustrate it in Figure 8.
|
| 320 |
+
|
| 321 |
+
# C Detailed Results of LLMs on PPTC-R benchmark
|
| 322 |
+
|
| 323 |
+
In turn-based evaluation, we report the average token number of the input of one turn and the average API number for finishing one turn as the cost measurement. In session-based evaluation, we report the average value of the token number of all inputs in one session and the average API number required to complete one session as the cost measurement. We return the accuracy and the cost measurement in both two evaluations in Table 5, 6, 7, and 8.
|
| 324 |
+
|
| 325 |
+
# D Closed-source LLM's Multilingual Results in the Editing Template Task
|
| 326 |
+
|
| 327 |
+
We report the session-based performance of the creating new slides task in Figure 9. For the editing template task, we report the turn-based accuracy of 3 LLMs for it in Figure 10. We find that all LLM's session-based accuracy in this task is smaller than 4 percent. So we do not further report and analyze the session-based result.
|
| 328 |
+
|
| 329 |
+
# E Detailed Wrong Examples Made by LLMs
|
| 330 |
+
|
| 331 |
+
We provide 4 typical wrong examples with their explanations in Figure 11.
|
| 332 |
+
|
| 333 |
+
# F Data Statistics
|
| 334 |
+
|
| 335 |
+
We developed our robustness benchmark using the PPTC dataset (Guo et al., 2023). For each instance in the PPTC benchmark, we created one sentence-level perturbation, four semantic-level perturbations, one API lack perturbation, one API update perturbation, and fourteen language-level variations. Consequently, our testing benchmark is
|
| 336 |
+
|
| 337 |
+
# API reference file
|
| 338 |
+
|
| 339 |
+
create Slide(): This API creates a new slide.
|
| 340 |
+
|
| 341 |
+
set Background color(color): This API sets the background color of the slide. It takes one parameter 'color', the color name to set as a string, such as 'red', 'purple'.
|
| 342 |
+
|
| 343 |
+
choose_title(): This API selects the title on the slide. You should first call choose_title() before inserting text to or changing font attributes of the title.
|
| 344 |
+
|
| 345 |
+
choose_content(): This API select the content on the slide. You should first call choose_content() before inserting text to or changing font attributes of the content.
|
| 346 |
+
|
| 347 |
+
choose_textbox(idx): This API selects the textbox element on the slide. It takes one parameter, the index of textbox as integer. idx is set to 0 by default, meaning the first textbox. You should first call choose_textbox() before inserting text to or changing font attributes of the textbox element.
|
| 348 |
+
|
| 349 |
+
choose_picture(idx): This API selects the picture element on the slide. It takes one parameter, the index of textbox as integer. idx is set to 0 by default, meaning the first textbox. You should first call choose_picture() before changing height, width, rotation of the picture element. You should not call choose_picture() before inserting picture element.
|
| 350 |
+
|
| 351 |
+
choose_shape(shape_name): This API selects a specific shape by shape name on the slide. It takes one parameter 'shape_name', the name of the shape to select as a string. shape_name can be chosen from ['rectangle', 'rightarrow', 'rounded Rectangle', 'triangle', 'callout', 'cloud', 'star', 'circle'] You should first call choose_shape(shape_name) before you can do operations on the shape. You should not call choose_shape(shape_name) before inserting shape element.
|
| 352 |
+
|
| 353 |
+
choose_table(): This API selects the table element on the slide. You should first call choose_table() before changing the table. You should not call choose_table() before inserting table element.
|
| 354 |
+
|
| 355 |
+
choose_table_cell(row_id, column_id): This API selects a specific cell in the table by giving row_id and column_id. It takes two parameters, the row id and column id of the cell to select as integers (id starts from 0). Remember the first parameter is row id, the second parameter is column id. You should first call choose_table_cell(row_id, column_id) before inserting text into a specific cell of the table.
|
| 356 |
+
|
| 357 |
+
set_width(width): This API sets the width of the selected object. It takes one parameter 'width', the width of an object in centimeters as float. You should first choose an object before you can change the width of it.
|
| 358 |
+
|
| 359 |
+
set_height(width): This API sets the height of the selected object. It takes one parameter 'width', the height of an object in centimeters as float. You should first choose an object before you can change the height of it
|
| 360 |
+
|
| 361 |
+
set_left(left): This API moves and changes the object's position. It sets the x position of the selected object's leftmost point. It takes one parameter, the x position to set. You should first choose an object before you can change the left of it
|
| 362 |
+
|
| 363 |
+
set_top(top): This API moves and changes the object's position. It sets the y position of the selected object's upmost point. It takes one parameter, the y position to set. You should first choose an object before you can change the top of it
|
| 364 |
+
|
| 365 |
+
insert_text(text): This API inserts text into a text frame ( textbox, title, content, table).
|
| 366 |
+
|
| 367 |
+
set.Font_size(font_size): This API sets the size of the font It can take one argument 'font_size', the font size to set as an integer.
|
| 368 |
+
|
| 369 |
+
set_font_color(color): This API sets the color of the font. It takes one parameter 'color', the color name to set as a string, such as 'red', 'purple'.
|
| 370 |
+
|
| 371 |
+
set.Font.Bold(): This API sets the font to be bold.
|
| 372 |
+
|
| 373 |
+
Figure 6: The reference API file in the API-lack setting.
|
| 374 |
+
|
| 375 |
+
# API reference file
|
| 376 |
+
|
| 377 |
+
insert_picture picture_name): This API inserts a picture onto the slide. It takes one parameter 'picture_name', the name or description of picture as a string
|
| 378 |
+
|
| 379 |
+
insert_rectangle(): This API inserts a rectangle or square shape onto the slide.
|
| 380 |
+
|
| 381 |
+
insert_rightarrow(): This API inserts an arrow shape onto the slide.
|
| 382 |
+
|
| 383 |
+
insert_table(row_num, col_num): This API inserts a table of row_num rows and col_num columns onto the current slide. It takes two arguments, the row number and the column number of the inserted table as integer. Remember the first parameter is row number and the second parameter is column number.
|
| 384 |
+
|
| 385 |
+
insert_line chart(data, series): This API inserts a line chart onto the slide. It takes two arguments, 'data' is a list of numbers and 'series' is a list of strings.
|
| 386 |
+
|
| 387 |
+
insert_bar.chart(data, series): This API inserts a bar chart onto the slide. It takes two arguments, 'data' is a list of numbers and 'series' is a list of strings.
|
| 388 |
+
|
| 389 |
+
insert_pie.chart(data, series): This API inserts a pie chart onto the slide. It takes two arguments, 'data' is a list of numbers and 'series' is a list of strings.
|
| 390 |
+
|
| 391 |
+
seek Assistance(): This API requests human help when the computer is unsure about the result or lacks the necessary API to fulfill the user's instruction.
|
| 392 |
+
|
| 393 |
+
Figure 7: The reference API file in the API-lack setting.
|
| 394 |
+
|
| 395 |
+
# Inference prompt in PPTC
|
| 396 |
+
|
| 397 |
+
(Task instruction) You are an AI assistant to help the user to operate PowerPoint and edit the contents.
|
| 398 |
+
|
| 399 |
+
Give you the user instruction: <Current user instruction>, you can complete it based on the following APIs and PPT file content. Current you are at page <Page id>. Please finish the user instruction with the functions you have. Don't generate instructions beyond what the user has instructed. Don't guess what the user may instruct in the next step and generate API for them. Don't use python loop to call API. You can only call API once in one line. If the user does not specify the page to be modified, you can directly start using the APIs without having to navigate to other pages.
|
| 400 |
+
|
| 401 |
+
You need to generate code which can finish the user instruction. The multiple lines of code should be surrounded by <code> and </code> such as: <code> API(); API(); </code>
|
| 402 |
+
|
| 403 |
+
For example, if the user instruction is "create a slide", then the answer should be:
|
| 404 |
+
|
| 405 |
+
<code> create Slide(); </code>
|
| 406 |
+
|
| 407 |
+
(API file) Now, you have access to a list of PowerPoint APIs with the following functions: <APIs and their descriptions>
|
| 408 |
+
|
| 409 |
+
(e.g., API(name="set_width", parameters="width")
|
| 410 |
+
|
| 411 |
+
description="This API sets the width of the selected object.",
|
| 412 |
+
|
| 413 |
+
parameter_description="It takes one parameter 'width', the width of an object in centimeters as float.",
|
| 414 |
+
|
| 415 |
+
compositionInstruction="You should first choose an object before you can change the width of it.",
|
| 416 |
+
|
| 417 |
+
api_desc="width of picture and shapes")
|
| 418 |
+
|
| 419 |
+
(PPT file content) All the PPT contents are:
|
| 420 |
+
|
| 421 |
+
<Begin of PPT>
|
| 422 |
+
|
| 423 |
+
Turn-based: <Parsing PPT file content of the label PPT file of the previous turns>
|
| 424 |
+
|
| 425 |
+
Session-based: <Parsing PPT file content of the LLM prediction file of the previous turns>
|
| 426 |
+
|
| 427 |
+
<End of PPT>
|
| 428 |
+
|
| 429 |
+
(Dialogue history)
|
| 430 |
+
|
| 431 |
+
-User:Hello!
|
| 432 |
+
|
| 433 |
+
AI: Hi there! How can I help you?
|
| 434 |
+
|
| 435 |
+
-User: <the first instruction>
|
| 436 |
+
|
| 437 |
+
AI:
|
| 438 |
+
|
| 439 |
+
Turn-based: <the correct feasible API sequence>,
|
| 440 |
+
|
| 441 |
+
Session-based: <the LLM-generated API sequence>
|
| 442 |
+
|
| 443 |
+
···
|
| 444 |
+
|
| 445 |
+
-User: <Current user instruction>. Surrounding your answer with <code> and </code>.
|
| 446 |
+
|
| 447 |
+
AI:
|
| 448 |
+
|
| 449 |
+
Figure 8: The inference prompt we used in both turn-based and session-based evaluation settings.
|
| 450 |
+
|
| 451 |
+
<table><tr><td rowspan="3">Models and Methods</td><td colspan="6">Creating new slides</td><td colspan="6">Editing PPT template</td></tr><tr><td colspan="3">Turn-based</td><td colspan="3">Session-based</td><td colspan="3">Turn-based</td><td colspan="3">Session-based</td></tr><tr><td>Accuracy</td><td>Avg token</td><td>Avg API</td><td>Accuracy</td><td>Avg token</td><td>Avg API</td><td>Accuracy</td><td>Avg token</td><td>Avg API</td><td>Accuracy</td><td>Avg token</td><td>Avg API</td></tr><tr><td>Davinci-003</td><td>64.8</td><td>2872.2</td><td>3.1</td><td>11.7</td><td>20716.8</td><td>24.2</td><td>26.3</td><td>2915.8</td><td>8.3</td><td>0.0</td><td>9321.1</td><td>23.6</td></tr><tr><td>ChatGPT</td><td>61.3</td><td>3106.6</td><td>3.4</td><td>9.7</td><td>22611.1</td><td>26.0</td><td>28.8</td><td>4140.9</td><td>8.1</td><td>2.0</td><td>13240.0</td><td>26.8</td></tr><tr><td>GPT-4</td><td>72.3</td><td>3111.2</td><td>3.0</td><td>12.3</td><td>22438.0</td><td>21.6</td><td>36.9</td><td>7565.9</td><td>7.7</td><td>4.0</td><td>24185.0</td><td>24.0</td></tr><tr><td>Llama-2</td><td>16.3</td><td>2822.6</td><td>4.3</td><td>1.7</td><td>11018.5</td><td>60.3</td><td>8.8</td><td>4124.5</td><td>7.6</td><td>2.0</td><td>4173.0</td><td>15.4</td></tr><tr><td>WizardLM</td><td>23.8</td><td>1327.1</td><td>3.3</td><td>1.0</td><td>11494.4</td><td>22.8</td><td>10.0</td><td>1328.4</td><td>5.7</td><td>0.0</td><td>4303.7</td><td>9.5</td></tr><tr><td>Baichuan</td><td>15.5</td><td>1327.1</td><td>9.8</td><td>1.4</td><td>10548.9</td><td>56.1</td><td>4.3</td><td>1328.0</td><td>9.6</td><td>0.0</td><td>4256.4</td><td>25.0</td></tr><tr><td>CodeLlama</td><td>36.2</td><td>2814.3</td><td>3.5</td><td>0.0</td><td>20720.9</td><td>32.1</td><td>18.8</td><td>2061.7</td><td>7.5</td><td>2.0</td><td>9566.9</td><td>22.58</td></tr></table>
|
| 452 |
+
|
| 453 |
+
Table 5: We report the results of LLMs in the sentence-level robustness setting in this table. 'Davinci-003' is the Text-Davinci-003 model.
|
| 454 |
+
|
| 455 |
+
<table><tr><td rowspan="3">Models and Methods</td><td colspan="6">Creating new slides</td><td colspan="6">Editing PPT template</td></tr><tr><td colspan="3">Turn-based</td><td colspan="3">Session-based</td><td colspan="3">Turn-based</td><td colspan="3">Session-based</td></tr><tr><td>Accuracy</td><td>Avg token</td><td>Avg API</td><td>Accuracy</td><td>Avg token</td><td>Avg API</td><td>Accuracy</td><td>Avg token</td><td>Avg API</td><td>Accuracy</td><td>Avg token</td><td>Avg API</td></tr><tr><td>Davinci-003</td><td>67.4</td><td>2781.3</td><td>2.4</td><td>9.5</td><td>20065.9</td><td>25.0</td><td>25.8</td><td>2892.9</td><td>7.8</td><td>0.5</td><td>9247.9</td><td>23.3</td></tr><tr><td>ChatGPT</td><td>65.0</td><td>2887.1</td><td>3.3</td><td>8.7</td><td>20865.0</td><td>25.3</td><td>27.0</td><td>4127.8</td><td>8.1</td><td>2.0</td><td>13207.0</td><td>26.3</td></tr><tr><td>GPT-4</td><td>72.0</td><td>2887.7</td><td>3.0</td><td>14.2</td><td>20817.7</td><td>22.2</td><td>35.8</td><td>7538.3</td><td>7.8</td><td>4.0</td><td>24103.1</td><td>24.4</td></tr><tr><td>Llama-2</td><td>16.1</td><td>2822.6</td><td>4.3</td><td>1.0</td><td>9777.9</td><td>16.6</td><td>7.6</td><td>2983.8</td><td>6.4</td><td>0.0</td><td>9550.7</td><td>22.8</td></tr><tr><td>WizardLM</td><td>23.8</td><td>1327.1</td><td>3.4</td><td>0.0</td><td>11494.4</td><td>22.8</td><td>10.0</td><td>1328.5</td><td>5.8</td><td>0.0</td><td>4303.7</td><td>9.5</td></tr><tr><td>Baichuan</td><td>15.0</td><td>1327.1</td><td>10.0</td><td>0.0</td><td>10112.3</td><td>24.1</td><td>2.5</td><td>1328.5</td><td>12.2</td><td>0.0</td><td>4256.4</td><td>17.0</td></tr><tr><td>CodeLlama</td><td>36.8</td><td>2819.7</td><td>3.4</td><td>0.0</td><td>20720.9</td><td>32.1</td><td>18.8</td><td>2983.1</td><td>7.3</td><td>0.0</td><td>10351.1</td><td>25.0</td></tr></table>
|
| 456 |
+
|
| 457 |
+
Table 6: We report the results of LLMs in the semantic-level robustness setting in this table. Each result is the average performance in finishing four different paraphrased instructions.
|
| 458 |
+
|
| 459 |
+
<table><tr><td rowspan="3">Models and Methods</td><td colspan="6">Creating new slides</td><td colspan="6">Editing PPT template</td></tr><tr><td colspan="3">Turn-based</td><td colspan="3">Session-based</td><td colspan="3">Turn-based</td><td colspan="3">Session-based</td></tr><tr><td>Accuracy</td><td>Avg token</td><td>Avg API</td><td>Accuracy</td><td>Avg token</td><td>Avg API</td><td>Accuracy</td><td>Avg token</td><td>Avg API</td><td>Accuracy</td><td>Avg token</td><td>Avg API</td></tr><tr><td>Davinci-003</td><td>55.1</td><td>2125.0</td><td>3.4</td><td>5.2</td><td>15527.1</td><td>25.2</td><td>33.75</td><td>2720.7</td><td>8.0</td><td>0.0</td><td>8720.3</td><td>25.0</td></tr><tr><td>ChatGPT</td><td>55.4</td><td>2138.9</td><td>3.6</td><td>3.9</td><td>15631.6</td><td>26.3</td><td>27.5</td><td>3925.5</td><td>8.8</td><td>0.0</td><td>12567.9</td><td>26.9</td></tr><tr><td>GPT-4</td><td>62.5</td><td>2138.9</td><td>3.0</td><td>5.2</td><td>15572.4</td><td>22.2</td><td>39.4</td><td>7265.1</td><td>7.6</td><td>0.0</td><td>23251.6</td><td>24.9</td></tr><tr><td>Llama-2</td><td>16.5</td><td>2070.4</td><td>5.7</td><td>0.0</td><td>17322.6</td><td>49.5</td><td>12.0</td><td>2787.8</td><td>7.8</td><td>0.0</td><td>8993.0</td><td>20.8</td></tr><tr><td>WizardLM</td><td>18.9</td><td>1308.8</td><td>3.2</td><td>0.0</td><td>15885.4</td><td>121.5</td><td>14.4</td><td>1306.7</td><td>5.6</td><td>0.0</td><td>13508.7</td><td>29.5</td></tr><tr><td>Baichuan</td><td>18.7</td><td>1310.0</td><td>10.1</td><td>0.0</td><td>11335.2</td><td>66.4</td><td>10.6</td><td>1308</td><td>8.5</td><td>6.0</td><td>4209.6</td><td>22.5</td></tr><tr><td>CodeLlama</td><td>26.3</td><td>2061.7</td><td>4.4</td><td>0.0</td><td>14448.1</td><td>34.7</td><td>13.6</td><td>2791.8</td><td>7.6</td><td>2.0</td><td>10001.8</td><td>13.3</td></tr></table>
|
| 460 |
+
|
| 461 |
+
Table 7: We report the results of LLMs in the API lack setting in this table. In this setting, we only maintain the 24 basic APIs. LLMs only need to finish the content that can be finished by the 24 APIs.
|
| 462 |
+
|
| 463 |
+
<table><tr><td rowspan="3">Models and Methods</td><td colspan="6">Creating new slides</td><td colspan="6">Editing PPT template</td></tr><tr><td colspan="3">Turn-based</td><td colspan="3">Session-based</td><td colspan="3">Turn-based</td><td colspan="3">Session-based</td></tr><tr><td>Accuracy</td><td>Avg token</td><td>Avg API</td><td>Accuracy</td><td>Avg token</td><td>Avg API</td><td>Accuracy</td><td>Avg token</td><td>Avg API</td><td>Accuracy</td><td>Avg token</td><td>Avg API</td></tr><tr><td>Davinci-003</td><td>44.5</td><td>2938.8</td><td>2.8</td><td>1.3</td><td>21178.7</td><td>21.1</td><td>17.5</td><td>2942.6</td><td>6.6</td><td>0.0</td><td>9419.1</td><td>18.9</td></tr><tr><td>ChatGPT</td><td>55.4</td><td>4603.6</td><td>2.9</td><td>5.2</td><td>33166.4</td><td>23.2</td><td>15.0</td><td>4605.9</td><td>7.1</td><td>0.0</td><td>14724.6</td><td>20.3</td></tr><tr><td>GPT-4</td><td>75.7</td><td>6495.9</td><td>2.8</td><td>18.8</td><td>46747.9</td><td>20.7</td><td>35.6</td><td>8511.7</td><td>7.5</td><td>2.0</td><td>27211.5</td><td>23.4</td></tr><tr><td>Llama-2</td><td>7.8</td><td>2318.8</td><td>10.0</td><td>3.4</td><td>10073.8</td><td>17.2</td><td>7.5</td><td>2137.8</td><td>8.7</td><td>2.0</td><td>9910</td><td>13.7</td></tr><tr><td>WizardLM</td><td>11.3</td><td>1317.3</td><td>2.5</td><td>0.0</td><td>10285.4</td><td>11.8</td><td>6.9</td><td>1321.0</td><td>5.4</td><td>0.0</td><td>10406.5</td><td>33.3</td></tr><tr><td>Baichuan</td><td>13.2</td><td>1325.7</td><td>5.8</td><td>1.0</td><td>12018.5</td><td>60.3</td><td>2.5</td><td>1320.7</td><td>10.2</td><td>0.0</td><td>9818.0</td><td>22.8</td></tr><tr><td>CodeLlamA</td><td>22.4</td><td>3134.6</td><td>2.3</td><td>1.0</td><td>22536.2</td><td>17.2</td><td>12.6</td><td>3137.1</td><td>5.4</td><td>2.0</td><td>10001.1</td><td>13.3</td></tr></table>
|
| 464 |
+
|
| 465 |
+
Table 8: We report the results of LLMs in the API update setting in this table. In this setting, we add 97 new APIs into the prompt to simulate the version update.
|
| 466 |
+
|
| 467 |
+
20 times larger than the original PPTC benchmark. This comprehensive approach is designed to thoroughly evaluate the robustness of large language models (LLMs) in task completion.
|
| 468 |
+
|
| 469 |
+

|
| 470 |
+
Figure 9: We illustrate the session-based results of closed-source LLMs in the creating new slides task, where the instructions are translated into 14 non-English languages. The bar for each language represents the LLM's accuracy in the corresponding language setting. The dotted line is the LLM's accuracy when tested in the English setting.
|
| 471 |
+
|
| 472 |
+

|
| 473 |
+
Figure 10: We illustrate the turn-based results of closed-source LLMs in the editing template task, where the instructions are translated into 14 non-English languages. The bar for each language represents the LLM's accuracy in the corresponding language setting. The dotted line is the LLM's accuracy when tested in the English setting.
|
| 474 |
+
|
| 475 |
+
<table><tr><td>Calling unavailable APIs or new APIs</td><td>Misunderstanding the instruction</td></tr><tr><td>Example 1 (GPT-4 in API update setting):
|
| 476 |
+
Instruction: Fill the star with blue color.</td><td rowspan="2">Example 1 (ChatGPT in sentence-level robustness setting):
|
| 477 |
+
Instruction: You know, I've always admired the creativity and innovation behind successful business plans. Anyway, go ahead and create a slide and insert the title “Business Plan”. By the way, have you ever noticed how soothing the color blue can be? It's one of my favorites.</td></tr><tr><td>Generated API sequence:
|
| 478 |
+
choose_shape("star")
|
| 479 |
+
set_shape_gradient("star", "radial", ["blue", "light blue)])</td></tr><tr><td>Explanation: We don't provide the set_shape_gradient API in API reference file.</td><td rowspan="2">Generated API sequence:
|
| 480 |
+
create Slide()
|
| 481 |
+
choose_title()
|
| 482 |
+
insert_text("Business Plan")
|
| 483 |
+
setbackground_color("blue")</td></tr><tr><td>Example 2 (ChatGPT in API update setting):
|
| 484 |
+
Instruction: Insert one clock. Make it on the right side.</td></tr><tr><td>Generated API sequence:
|
| 485 |
+
insert_date_time("h:mm AM/PM", "right")</td><td rowspan="2">Explanation: The LLM misunderstands the instruction and generates extra ‘setbackground_color("blue')’ API action, which leads to the wrong prediction.</td></tr><tr><td>Label API sequence:
|
| 486 |
+
insert_picture("clock")
|
| 487 |
+
alignslide_right()</td></tr><tr><td rowspan="3">Explanation: The new API insert_date_time provided in the reference file is related to the clock (time). But it's not the right API.</td><td>Example 2 (GPT-4 in sentence-level robustness setting):
|
| 488 |
+
Instruction: I hope you're having a great day! By the way, the height of the picture should be 2 on slide 6, and it's incredible how technology can help us with these tasks. While you're at it, the font size of all textboxes should be 10 on slide 11. Time flies when you're working on presentations, doesn't it?</td></tr><tr><td>Generated API sequence:
|
| 489 |
+
move_to_slide(6)
|
| 490 |
+
choose_picture(0)
|
| 491 |
+
set_height(2)</td></tr><tr><td>Explanation: The LLM misunderstands the instruction and forgets to set the font size of all textboxes to be 10 on slide 11.</td></tr></table>
|
| 492 |
+
|
| 493 |
+
Figure 11: The detailed wrong examples with their explanations.
|
2024/PPTC-R benchmark_ Towards Evaluating the Robustness of Large Language Models for PowerPoint Task Completion/images.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d6f3fde3e17a08a87c472be341a79bef2c735801e17fdad2bea083d61d035626
|
| 3 |
+
size 893660
|
2024/PPTC-R benchmark_ Towards Evaluating the Robustness of Large Language Models for PowerPoint Task Completion/layout.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2024/PRESTO_ Progressive Pretraining Enhances Synthetic Chemistry Outcomes/654c9376-60f2-4660-a9a7-b6207c8902cc_content_list.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2024/PRESTO_ Progressive Pretraining Enhances Synthetic Chemistry Outcomes/654c9376-60f2-4660-a9a7-b6207c8902cc_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2024/PRESTO_ Progressive Pretraining Enhances Synthetic Chemistry Outcomes/654c9376-60f2-4660-a9a7-b6207c8902cc_origin.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4833f973d2ab1750cce1af76c6cec26d5176bf4d8db3a0b3acc76a4c621c90d7
|
| 3 |
+
size 1909452
|
2024/PRESTO_ Progressive Pretraining Enhances Synthetic Chemistry Outcomes/full.md
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2024/PRESTO_ Progressive Pretraining Enhances Synthetic Chemistry Outcomes/images.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0cadd01934bf2759edeb6fe354d3b66a9738944d26d3125ee0dead0a86f19364
|
| 3 |
+
size 1863676
|
2024/PRESTO_ Progressive Pretraining Enhances Synthetic Chemistry Outcomes/layout.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2024/PRoDeliberation_ Parallel Robust Deliberation for End-to-End Spoken Language Understanding/d5bac4e5-cc08-4dad-9e44-6c546b68d3f5_content_list.json
ADDED
|
@@ -0,0 +1,1739 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"type": "text",
|
| 4 |
+
"text": "PRoDeliberation: Parallel Robust Deliberation for End-to-End Spoken Language Understanding",
|
| 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": "Trang Le* Daniel Lazar $^{1\\dagger}$ Suyoun Kim Shan Jiang Duc Le Adithya Sagar Aleksandr Livshits Ahmed Aly Akshit Shrivastava $^{\\dagger}$ Meta, Coldrays $^{1}$ trangleminh@meta.com, daniel@coldrays.com, akshitsh77@gmail.com",
|
| 17 |
+
"bbox": [
|
| 18 |
+
169,
|
| 19 |
+
149,
|
| 20 |
+
873,
|
| 21 |
+
219
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "Abstract",
|
| 28 |
+
"text_level": 1,
|
| 29 |
+
"bbox": [
|
| 30 |
+
260,
|
| 31 |
+
260,
|
| 32 |
+
339,
|
| 33 |
+
275
|
| 34 |
+
],
|
| 35 |
+
"page_idx": 0
|
| 36 |
+
},
|
| 37 |
+
{
|
| 38 |
+
"type": "text",
|
| 39 |
+
"text": "Spoken Language Understanding (SLU) is a critical component of voice assistants; it consists of converting speech to semantic parses for task execution. Previous works have explored end-to-end models to improve the quality and robustness of SLU models with Deliberation, however these models have remained autoregressive, resulting in higher latencies. In this work we introduce PRoDeliberation, a novel method leveraging a Connectionist Temporal Classification-based decoding strategy as well as a denoising objective to train robust non-autoregressive deliberation models. We show that PRoDeliberation achieves the latency reduction of parallel decoding (2-10x improvement over autoregressive models) while retaining the ability to correct Automatic Speech Recognition (ASR) mistranscriptions of autoregressive deliberation systems. We further show that the design of the denoising training allows PRoDeliberation to overcome the limitations of small ASR devices, and we provide analysis on the necessity of each component of the system.",
|
| 40 |
+
"bbox": [
|
| 41 |
+
144,
|
| 42 |
+
290,
|
| 43 |
+
460,
|
| 44 |
+
617
|
| 45 |
+
],
|
| 46 |
+
"page_idx": 0
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"type": "text",
|
| 50 |
+
"text": "1 Introduction",
|
| 51 |
+
"text_level": 1,
|
| 52 |
+
"bbox": [
|
| 53 |
+
114,
|
| 54 |
+
632,
|
| 55 |
+
258,
|
| 56 |
+
646
|
| 57 |
+
],
|
| 58 |
+
"page_idx": 0
|
| 59 |
+
},
|
| 60 |
+
{
|
| 61 |
+
"type": "text",
|
| 62 |
+
"text": "Traditionally, Spoken Language Understanding (SLU) systems are pipelined systems of 1) an Automatic Speech Recognition (ASR) model, which transcribes audio to text, and 2) a semantic parsing model to convert text into structured frames. This results in some inherent limitations, such as cascading errors from ASR mistranscriptions, larger overall systems size from having two models with redundant capabilities, and the inability to use audio cues for semantic parse generation.",
|
| 63 |
+
"bbox": [
|
| 64 |
+
112,
|
| 65 |
+
659,
|
| 66 |
+
489,
|
| 67 |
+
818
|
| 68 |
+
],
|
| 69 |
+
"page_idx": 0
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"type": "text",
|
| 73 |
+
"text": "End-to-end (E2E) models hold promise of overcoming these limitations by removing the barrier between these two models and allowing audio information to be used in the semantic parse generation.",
|
| 74 |
+
"bbox": [
|
| 75 |
+
112,
|
| 76 |
+
820,
|
| 77 |
+
489,
|
| 78 |
+
885
|
| 79 |
+
],
|
| 80 |
+
"page_idx": 0
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"type": "text",
|
| 84 |
+
"text": "In particular, deliberation-based E2E SLU models (Le et al., 2022; Hu et al., 2020) improve explainability (transcript is produced by first-pass ASR), support of complex compositional structure (via the general decoder), and quality (allows rewriting the ASR transcriptions based on audio information).",
|
| 85 |
+
"bbox": [
|
| 86 |
+
507,
|
| 87 |
+
261,
|
| 88 |
+
884,
|
| 89 |
+
357
|
| 90 |
+
],
|
| 91 |
+
"page_idx": 0
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"type": "text",
|
| 95 |
+
"text": "However, one downside of the existing deliberation-based E2E SLU models is that they use an autoregressive (AR) decoder for generation, which yields high latency, especially for longer outputs. This precludes them from being used in the on-device setting, which requires low latency. Previous semantic parsing models can yield very low latency with non-autoregressive (NAR) decoders (Shrivastava et al., 2023, 2021; Babu et al., 2021; Zhu et al., 2020), however, these systems use extractive decoders and are therefore unable to correct mistranscriptions from ASR systems.",
|
| 96 |
+
"bbox": [
|
| 97 |
+
507,
|
| 98 |
+
357,
|
| 99 |
+
884,
|
| 100 |
+
550
|
| 101 |
+
],
|
| 102 |
+
"page_idx": 0
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"type": "text",
|
| 106 |
+
"text": "Our study targets improving Deliberation based SLU systems to adapt them for on-device streaming use cases. In this work we present PRoDeliberation (Parallel Robust Deliberation), a novel Connectionist Temporal Classification (CTC) decoder-based E2E SLU model. CTC decoders are commonly used for ASR (Graves et al., 2006) and have successfully been adapted for machine translation (Libovický and Helcl, 2018; Sahara et al., 2020), but to the best of our knowledge, have never been used for semantic parsing. To further improve the rewrite capabilities of this model we introduce a denoising training regimen inspired by masked language modeling (Devlin et al., 2019; Lewis et al., 2020) in which we corrupt the transcription text, requiring the model to correct the corruptions by relying on audio. The denoising training applies beyond SLU and can be used with any downstream task which consumes ASR transcriptions.",
|
| 107 |
+
"bbox": [
|
| 108 |
+
507,
|
| 109 |
+
551,
|
| 110 |
+
884,
|
| 111 |
+
854
|
| 112 |
+
],
|
| 113 |
+
"page_idx": 0
|
| 114 |
+
},
|
| 115 |
+
{
|
| 116 |
+
"type": "text",
|
| 117 |
+
"text": "We study PRoDeliberation and find that PRoDeliberation retains the quality of autoregressive parsers while achieving a 2-10x latency reduction across different ASR model sizes. We compare",
|
| 118 |
+
"bbox": [
|
| 119 |
+
507,
|
| 120 |
+
857,
|
| 121 |
+
882,
|
| 122 |
+
920
|
| 123 |
+
],
|
| 124 |
+
"page_idx": 0
|
| 125 |
+
},
|
| 126 |
+
{
|
| 127 |
+
"type": "page_footnote",
|
| 128 |
+
"text": "* Equal contribution",
|
| 129 |
+
"bbox": [
|
| 130 |
+
139,
|
| 131 |
+
894,
|
| 132 |
+
268,
|
| 133 |
+
906
|
| 134 |
+
],
|
| 135 |
+
"page_idx": 0
|
| 136 |
+
},
|
| 137 |
+
{
|
| 138 |
+
"type": "page_footnote",
|
| 139 |
+
"text": "† Work done while at Meta",
|
| 140 |
+
"bbox": [
|
| 141 |
+
139,
|
| 142 |
+
906,
|
| 143 |
+
309,
|
| 144 |
+
919
|
| 145 |
+
],
|
| 146 |
+
"page_idx": 0
|
| 147 |
+
},
|
| 148 |
+
{
|
| 149 |
+
"type": "page_number",
|
| 150 |
+
"text": "14027",
|
| 151 |
+
"bbox": [
|
| 152 |
+
475,
|
| 153 |
+
927,
|
| 154 |
+
524,
|
| 155 |
+
940
|
| 156 |
+
],
|
| 157 |
+
"page_idx": 0
|
| 158 |
+
},
|
| 159 |
+
{
|
| 160 |
+
"type": "footer",
|
| 161 |
+
"text": "Findings of the Association for Computational Linguistics: EMNLP 2024, pages 14027-14038 November 12-16, 2024 ©2024 Association for Computational Linguistics",
|
| 162 |
+
"bbox": [
|
| 163 |
+
210,
|
| 164 |
+
945,
|
| 165 |
+
786,
|
| 166 |
+
972
|
| 167 |
+
],
|
| 168 |
+
"page_idx": 0
|
| 169 |
+
},
|
| 170 |
+
{
|
| 171 |
+
"type": "image",
|
| 172 |
+
"img_path": "images/57d07c3c1ad5187da216a038f2d1a872e8bf6e0eb8ba95bbe6f99e1a87b58bd0.jpg",
|
| 173 |
+
"image_caption": [
|
| 174 |
+
"Deliberation-based Autoregressive SLU"
|
| 175 |
+
],
|
| 176 |
+
"image_footnote": [],
|
| 177 |
+
"bbox": [
|
| 178 |
+
169,
|
| 179 |
+
83,
|
| 180 |
+
823,
|
| 181 |
+
156
|
| 182 |
+
],
|
| 183 |
+
"page_idx": 1
|
| 184 |
+
},
|
| 185 |
+
{
|
| 186 |
+
"type": "image",
|
| 187 |
+
"img_path": "images/de742e5a3de53e0fc375572d9cc90cab75ebced26e350c31cd73418e93ddf7d5.jpg",
|
| 188 |
+
"image_caption": [
|
| 189 |
+
"ProDeliberation: Proposed Non Autoregressive SLU"
|
| 190 |
+
],
|
| 191 |
+
"image_footnote": [],
|
| 192 |
+
"bbox": [
|
| 193 |
+
169,
|
| 194 |
+
187,
|
| 195 |
+
800,
|
| 196 |
+
253
|
| 197 |
+
],
|
| 198 |
+
"page_idx": 1
|
| 199 |
+
},
|
| 200 |
+
{
|
| 201 |
+
"type": "image",
|
| 202 |
+
"img_path": "images/7a9e8050a943d8159e6af6b038535529d93f324aa1a3c03605ef4b124958046a.jpg",
|
| 203 |
+
"image_caption": [
|
| 204 |
+
"Figure 1: Overview of the proposed method, compared to the previous state of the art for end-to-end Spoken Language Understanding. The proposed method adds two crucial components: a CTC non-autoregressive decoder and a text noising mechanism for training. We label the two passes for the Deliberation architecture (both methods)."
|
| 205 |
+
],
|
| 206 |
+
"image_footnote": [],
|
| 207 |
+
"bbox": [
|
| 208 |
+
263,
|
| 209 |
+
278,
|
| 210 |
+
719,
|
| 211 |
+
306
|
| 212 |
+
],
|
| 213 |
+
"page_idx": 1
|
| 214 |
+
},
|
| 215 |
+
{
|
| 216 |
+
"type": "text",
|
| 217 |
+
"text": "ProDeliberation to Mask Predict-based approaches (Ghazvininejad et al., 2019; Babu et al., 2021) and confirm that PRoDeliberation overcomes the quality shortcomings of Mask Predict. Finally, we show that the denoising objective further boosts ASR robustness by approximately $0.3\\%$ , thereby exceeding the quality of autoregressive models.",
|
| 218 |
+
"bbox": [
|
| 219 |
+
112,
|
| 220 |
+
385,
|
| 221 |
+
487,
|
| 222 |
+
495
|
| 223 |
+
],
|
| 224 |
+
"page_idx": 1
|
| 225 |
+
},
|
| 226 |
+
{
|
| 227 |
+
"type": "text",
|
| 228 |
+
"text": "We provide a summary of our approach in Figure 1; concretely, our contributions are:",
|
| 229 |
+
"bbox": [
|
| 230 |
+
112,
|
| 231 |
+
498,
|
| 232 |
+
489,
|
| 233 |
+
529
|
| 234 |
+
],
|
| 235 |
+
"page_idx": 1
|
| 236 |
+
},
|
| 237 |
+
{
|
| 238 |
+
"type": "list",
|
| 239 |
+
"sub_type": "text",
|
| 240 |
+
"list_items": [
|
| 241 |
+
"1. We propose the first non-autoregressive deliberation model, PRoDeliberation. Our model leverages CTC decoding and a denoising objective; both of which have not been applied to Spoken Language Understanding before.",
|
| 242 |
+
"2. Our model shows significant latency improvement while preserving quality of autoregressive SLU models, which is a challenging but important task.",
|
| 243 |
+
"3. We provide ablations for PRoDeliberation to understand the impact of each component."
|
| 244 |
+
],
|
| 245 |
+
"bbox": [
|
| 246 |
+
127,
|
| 247 |
+
539,
|
| 248 |
+
489,
|
| 249 |
+
734
|
| 250 |
+
],
|
| 251 |
+
"page_idx": 1
|
| 252 |
+
},
|
| 253 |
+
{
|
| 254 |
+
"type": "text",
|
| 255 |
+
"text": "2 Related work",
|
| 256 |
+
"text_level": 1,
|
| 257 |
+
"bbox": [
|
| 258 |
+
112,
|
| 259 |
+
746,
|
| 260 |
+
265,
|
| 261 |
+
762
|
| 262 |
+
],
|
| 263 |
+
"page_idx": 1
|
| 264 |
+
},
|
| 265 |
+
{
|
| 266 |
+
"type": "text",
|
| 267 |
+
"text": "2.1 Spoken Language Understanding",
|
| 268 |
+
"text_level": 1,
|
| 269 |
+
"bbox": [
|
| 270 |
+
112,
|
| 271 |
+
771,
|
| 272 |
+
423,
|
| 273 |
+
788
|
| 274 |
+
],
|
| 275 |
+
"page_idx": 1
|
| 276 |
+
},
|
| 277 |
+
{
|
| 278 |
+
"type": "text",
|
| 279 |
+
"text": "Datasets Semantic parsing is a critical piece of traditional voice assistants, however text-based semantic parsing benchmarks assume gold text, disregarding errors propagating from speech understanding in the full SLU pipeline. Recently new SLU benchmarks have been introduced such as SLURP (Bastianelli et al., 2020), a multidomain SLU benchmark, and STOP (Tomasello et al., 2023),",
|
| 280 |
+
"bbox": [
|
| 281 |
+
112,
|
| 282 |
+
791,
|
| 283 |
+
489,
|
| 284 |
+
920
|
| 285 |
+
],
|
| 286 |
+
"page_idx": 1
|
| 287 |
+
},
|
| 288 |
+
{
|
| 289 |
+
"type": "text",
|
| 290 |
+
"text": "a multidomain and compositional SLU benchmark. In this work we study the STOP dataset as it is the largest dataset, includes more speakers, and contains compositionality, making it the most diverse and complex dataset.",
|
| 291 |
+
"bbox": [
|
| 292 |
+
507,
|
| 293 |
+
385,
|
| 294 |
+
884,
|
| 295 |
+
464
|
| 296 |
+
],
|
| 297 |
+
"page_idx": 1
|
| 298 |
+
},
|
| 299 |
+
{
|
| 300 |
+
"type": "text",
|
| 301 |
+
"text": "Models Tomasello et al. (2023) propose leveraging fully E2E models pre-trained on the ASR task and fine-tuned on the parsing task to produce a series of models based on HuBERT (Hsu et al., 2021) and Wav2Vec 2.0 (Baevski et al., 2020). However such E2E systems remain too large for on-device processing and lack the modularity and interpretability often required to deploy SLU systems. FANS (Radfar et al., 2021) explore on-device SLU systems leveraging SLU specific decoders and Kashiwagi et al. (2023) explore distilling E2E models, but both lack interpretability. Neural interfaces (Rao et al., 2020) have been used to retain the modularity of transcription in E2E models, and the Deliberation SLU system (Le et al., 2022) further the neural interfaces into the on-device space. In this work we study further optimizing efficiency and robustness of deliberation SLU systems with non-autoregressive decoding and denoising.",
|
| 302 |
+
"bbox": [
|
| 303 |
+
507,
|
| 304 |
+
476,
|
| 305 |
+
884,
|
| 306 |
+
782
|
| 307 |
+
],
|
| 308 |
+
"page_idx": 1
|
| 309 |
+
},
|
| 310 |
+
{
|
| 311 |
+
"type": "text",
|
| 312 |
+
"text": "Robustness Recently Kim et al. (2023) have explored improving the robustness of Deliberation-based SLU by incorporating confidence signals from ASR models and shown promising results $(+0.1\\% - 0.4\\%)$ . Sharma et al. (2023) augmented Deliberation SLU robustness with extra data through generating text data with LLMs and generating audio data with Joint-Audio-Text and Text-to-Speech",
|
| 313 |
+
"bbox": [
|
| 314 |
+
507,
|
| 315 |
+
791,
|
| 316 |
+
885,
|
| 317 |
+
921
|
| 318 |
+
],
|
| 319 |
+
"page_idx": 1
|
| 320 |
+
},
|
| 321 |
+
{
|
| 322 |
+
"type": "page_number",
|
| 323 |
+
"text": "14028",
|
| 324 |
+
"bbox": [
|
| 325 |
+
477,
|
| 326 |
+
927,
|
| 327 |
+
524,
|
| 328 |
+
940
|
| 329 |
+
],
|
| 330 |
+
"page_idx": 1
|
| 331 |
+
},
|
| 332 |
+
{
|
| 333 |
+
"type": "text",
|
| 334 |
+
"text": "techniques. In this work we take a complimentary direction to improve robustness through denoising training. We focus on denoising as we can scale denoising training to directly influence the difficulty of the robustness training. Our method can be combined with Kim et al. (2023) and Sharma et al. (2023)'s strategies to achieve a highly robust deliberation system.",
|
| 335 |
+
"bbox": [
|
| 336 |
+
112,
|
| 337 |
+
84,
|
| 338 |
+
489,
|
| 339 |
+
212
|
| 340 |
+
],
|
| 341 |
+
"page_idx": 2
|
| 342 |
+
},
|
| 343 |
+
{
|
| 344 |
+
"type": "text",
|
| 345 |
+
"text": "2.2 Non-autoregressive Parsing",
|
| 346 |
+
"text_level": 1,
|
| 347 |
+
"bbox": [
|
| 348 |
+
112,
|
| 349 |
+
227,
|
| 350 |
+
376,
|
| 351 |
+
242
|
| 352 |
+
],
|
| 353 |
+
"page_idx": 2
|
| 354 |
+
},
|
| 355 |
+
{
|
| 356 |
+
"type": "text",
|
| 357 |
+
"text": "The semantic parsing community has shifted towards the seq2seq paradigm (Sutskever et al., 2014) to improve quality and align with the larger NLP community (Lewis et al., 2020; Raffel et al., 2020). With this shift, semantic parsers require low latency due to their real time nature. Non-autoregressive semantic parsing has taken off due to its sub-linear decoding time leading to strong latency improvements. Prior work in this space (Babu et al., 2021) has shown that non-autoregressive algorithms can lead to lower latency systems at similar accuracy gains. To further improve latency and quality, prior works aim to build an inductive bias regarding semantic parsing systems: Zhu et al. (2020) rely on insertion transformers to build a semantic parse around the text, Shrivastava et al. (2021) rely on span based prediction to extract slot text, and Shrivastava et al. (2023) retrieve defined semantic frames and fill in the slots with span prediction.",
|
| 358 |
+
"bbox": [
|
| 359 |
+
112,
|
| 360 |
+
249,
|
| 361 |
+
489,
|
| 362 |
+
555
|
| 363 |
+
],
|
| 364 |
+
"page_idx": 2
|
| 365 |
+
},
|
| 366 |
+
{
|
| 367 |
+
"type": "text",
|
| 368 |
+
"text": "Our work continues in this direction, critically extending efficient parsing into end-to-end SLU systems which do not take for granted the truth of the ASR transcriptions but rather operate on both audio input and text hypotheses. The shift away from a gold text input space introduces nuances around robustness and text generation that prior work cannot support due to the focus on extractive decoders. We introduce a CTC loss function (Graves et al., 2006) for non-autoregressive decoding to reduce the reliance on length prediction, a key bottleneck even in non-end-to-end systems, but even more so for end-to-end SLU.",
|
| 369 |
+
"bbox": [
|
| 370 |
+
112,
|
| 371 |
+
557,
|
| 372 |
+
489,
|
| 373 |
+
765
|
| 374 |
+
],
|
| 375 |
+
"page_idx": 2
|
| 376 |
+
},
|
| 377 |
+
{
|
| 378 |
+
"type": "text",
|
| 379 |
+
"text": "3 PRoDeliberation",
|
| 380 |
+
"text_level": 1,
|
| 381 |
+
"bbox": [
|
| 382 |
+
112,
|
| 383 |
+
780,
|
| 384 |
+
294,
|
| 385 |
+
795
|
| 386 |
+
],
|
| 387 |
+
"page_idx": 2
|
| 388 |
+
},
|
| 389 |
+
{
|
| 390 |
+
"type": "text",
|
| 391 |
+
"text": "In this work we extend Deliberation with two critical components: First we introduce CTC decoding, which utilizes parallel decoding to optimize latency. However, we notice an increased error rate due to parallel decoding. In order to combat this we add the second key component: denoising, which improve model robustness during training.",
|
| 392 |
+
"bbox": [
|
| 393 |
+
112,
|
| 394 |
+
808,
|
| 395 |
+
489,
|
| 396 |
+
921
|
| 397 |
+
],
|
| 398 |
+
"page_idx": 2
|
| 399 |
+
},
|
| 400 |
+
{
|
| 401 |
+
"type": "text",
|
| 402 |
+
"text": "Figure 2 shows the architecture of PRoDeliberation in comparison to the architecture of Autoregressive Deliberation.",
|
| 403 |
+
"bbox": [
|
| 404 |
+
507,
|
| 405 |
+
84,
|
| 406 |
+
882,
|
| 407 |
+
131
|
| 408 |
+
],
|
| 409 |
+
"page_idx": 2
|
| 410 |
+
},
|
| 411 |
+
{
|
| 412 |
+
"type": "text",
|
| 413 |
+
"text": "3.1 Deliberation",
|
| 414 |
+
"text_level": 1,
|
| 415 |
+
"bbox": [
|
| 416 |
+
507,
|
| 417 |
+
143,
|
| 418 |
+
653,
|
| 419 |
+
156
|
| 420 |
+
],
|
| 421 |
+
"page_idx": 2
|
| 422 |
+
},
|
| 423 |
+
{
|
| 424 |
+
"type": "text",
|
| 425 |
+
"text": "Le et al. (2022) introduced the deliberation-based E2E SLU system, shown in the upper part of Figure 1. Deliberation was introduced in Hu et al. (2020) as a two-pass ASR system to improve transcription quality. We describe these two passes in detail in the following.",
|
| 426 |
+
"bbox": [
|
| 427 |
+
507,
|
| 428 |
+
162,
|
| 429 |
+
884,
|
| 430 |
+
260
|
| 431 |
+
],
|
| 432 |
+
"page_idx": 2
|
| 433 |
+
},
|
| 434 |
+
{
|
| 435 |
+
"type": "text",
|
| 436 |
+
"text": "First Pass: Speech Recognition with RNN-T",
|
| 437 |
+
"text_level": 1,
|
| 438 |
+
"bbox": [
|
| 439 |
+
507,
|
| 440 |
+
268,
|
| 441 |
+
884,
|
| 442 |
+
282
|
| 443 |
+
],
|
| 444 |
+
"page_idx": 2
|
| 445 |
+
},
|
| 446 |
+
{
|
| 447 |
+
"type": "text",
|
| 448 |
+
"text": "The first pass of the system uses the recurrent neural network transducer (RNN-T) (Graves, 2012), which is the most popular streaming ASR architecture. RNN-T is built on three core components: (1) Acoustic encoder which consumes the raw audio and produces an audio encoding $emb_{\\mathrm{aud}} \\in \\mathbb{R}^{A \\times D}$ (2) Predictor (internal language model) that consumes the text predicted so far and produces a language encoding $emb_{\\mathrm{text}} \\in \\mathbb{R}^{T \\times D}$ and (3) Joiner which combines these two embeddings $emb_{\\mathrm{text}}$ and $emb_{\\mathrm{aud}}$ to produce a probability output for the currently predicted token. Each component of RNN-T is streamable, allowing the full model to decode text as the user speaks.",
|
| 449 |
+
"bbox": [
|
| 450 |
+
505,
|
| 451 |
+
285,
|
| 452 |
+
882,
|
| 453 |
+
510
|
| 454 |
+
],
|
| 455 |
+
"page_idx": 2
|
| 456 |
+
},
|
| 457 |
+
{
|
| 458 |
+
"type": "text",
|
| 459 |
+
"text": "Second Pass: Deliberation Decoder The deliberation decoder conducts a second pass over the RNN-T hidden states using the language embedding $emb_{\\mathrm{text}}$ and the audio embedding $emb_{\\mathrm{aud}}$ that have been cached during the first pass. The deliberation decoder fuses the embedding:",
|
| 460 |
+
"bbox": [
|
| 461 |
+
507,
|
| 462 |
+
518,
|
| 463 |
+
882,
|
| 464 |
+
615
|
| 465 |
+
],
|
| 466 |
+
"page_idx": 2
|
| 467 |
+
},
|
| 468 |
+
{
|
| 469 |
+
"type": "equation",
|
| 470 |
+
"text": "\n$$\n\\begin{array}{l} e m b _ {\\text {a t t n}} = \\mathrm {M H A} (e m b _ {\\text {t e x t}}, e m b _ {\\text {a u d}}, e m b _ {\\text {a u d}}) \\\\ e m b _ {\\text {s t a c k}} = \\text {S t a c k} \\left(e m b _ {\\text {t e x t}}, e m b _ {\\text {a t t n}}\\right) \\\\ e m b _ {\\text {f u s e d}} = \\text {L i n e a r} (e m b _ {\\text {s t a c k}}) \\\\ e m b _ {\\text {p o o l}} = \\text {T r a n s f o r m e r} \\left(e m b _ {\\text {f u s e d}}\\right), \\\\ \\end{array}\n$$\n",
|
| 471 |
+
"text_format": "latex",
|
| 472 |
+
"bbox": [
|
| 473 |
+
546,
|
| 474 |
+
627,
|
| 475 |
+
847,
|
| 476 |
+
701
|
| 477 |
+
],
|
| 478 |
+
"page_idx": 2
|
| 479 |
+
},
|
| 480 |
+
{
|
| 481 |
+
"type": "text",
|
| 482 |
+
"text": "where MHA indicates multi-headed attention. The fused embeddings are then passed to a series of transformer encoder layers to pool the embedding, denoted $emb_{\\mathrm{pool}}$ . Finally the pooled layers are passed to an autoregressive pointer generator decoder which produces tokens which are either 'pointers' to input tokens or newly 'generated' tokens (Aghajanyan et al., 2020; See et al., 2017).",
|
| 483 |
+
"bbox": [
|
| 484 |
+
505,
|
| 485 |
+
713,
|
| 486 |
+
882,
|
| 487 |
+
841
|
| 488 |
+
],
|
| 489 |
+
"page_idx": 2
|
| 490 |
+
},
|
| 491 |
+
{
|
| 492 |
+
"type": "text",
|
| 493 |
+
"text": "3.2 Nonautoregressive Decoding with CTC",
|
| 494 |
+
"text_level": 1,
|
| 495 |
+
"bbox": [
|
| 496 |
+
507,
|
| 497 |
+
852,
|
| 498 |
+
862,
|
| 499 |
+
866
|
| 500 |
+
],
|
| 501 |
+
"page_idx": 2
|
| 502 |
+
},
|
| 503 |
+
{
|
| 504 |
+
"type": "text",
|
| 505 |
+
"text": "The latency of autoregressive decoders suffers as sequence length grows due to the linear relationship between latency and sequence length, a result",
|
| 506 |
+
"bbox": [
|
| 507 |
+
507,
|
| 508 |
+
873,
|
| 509 |
+
882,
|
| 510 |
+
921
|
| 511 |
+
],
|
| 512 |
+
"page_idx": 2
|
| 513 |
+
},
|
| 514 |
+
{
|
| 515 |
+
"type": "page_number",
|
| 516 |
+
"text": "14029",
|
| 517 |
+
"bbox": [
|
| 518 |
+
477,
|
| 519 |
+
927,
|
| 520 |
+
524,
|
| 521 |
+
940
|
| 522 |
+
],
|
| 523 |
+
"page_idx": 2
|
| 524 |
+
},
|
| 525 |
+
{
|
| 526 |
+
"type": "image",
|
| 527 |
+
"img_path": "images/62e164b780f4c59b67359379a86431e58b076ac45ce3e51ccce341215b278a43.jpg",
|
| 528 |
+
"image_caption": [
|
| 529 |
+
"A)",
|
| 530 |
+
"Figure 2: A comparison between (A) Autoregressive Deliberation Decoders and (B) PRoDeliberation architecture. PRoDeliberation extends Deliberation (A) with a fuzzy length prediction module and a CTC based decoder. Both (A) and (B) can correct ASR errors ('john' to 'jake' in the figure)."
|
| 531 |
+
],
|
| 532 |
+
"image_footnote": [],
|
| 533 |
+
"bbox": [
|
| 534 |
+
132,
|
| 535 |
+
116,
|
| 536 |
+
433,
|
| 537 |
+
346
|
| 538 |
+
],
|
| 539 |
+
"page_idx": 3
|
| 540 |
+
},
|
| 541 |
+
{
|
| 542 |
+
"type": "image",
|
| 543 |
+
"img_path": "images/14d743272791c3cbc5881619761d225cab2c8b24465a80c1b4f525a8c4bf2e44.jpg",
|
| 544 |
+
"image_caption": [
|
| 545 |
+
"B)"
|
| 546 |
+
],
|
| 547 |
+
"image_footnote": [],
|
| 548 |
+
"bbox": [
|
| 549 |
+
497,
|
| 550 |
+
87,
|
| 551 |
+
830,
|
| 552 |
+
346
|
| 553 |
+
],
|
| 554 |
+
"page_idx": 3
|
| 555 |
+
},
|
| 556 |
+
{
|
| 557 |
+
"type": "text",
|
| 558 |
+
"text": "of the conditional dependence of each token output on the preceding tokens. To alleviate this, and following text-based semantic parsing work, we extend deliberation to leverage non-autoregressive decoders (Zhu et al., 2020; Babu et al., 2021; Shrivastava et al., 2021). However we find that prior work relies on Mask Predict (Ghazvininejad et al., 2019) which introduces a bottleneck in the form of length prediction of the output sequence. In this section we introduce our CTC-based non-autoregressive decoder which overcomes this limitation of length prediction. Our decoder is composed of 2 steps: (1) Length Prediction and (2) Parallel Decoding.",
|
| 559 |
+
"bbox": [
|
| 560 |
+
110,
|
| 561 |
+
434,
|
| 562 |
+
487,
|
| 563 |
+
643
|
| 564 |
+
],
|
| 565 |
+
"page_idx": 3
|
| 566 |
+
},
|
| 567 |
+
{
|
| 568 |
+
"type": "text",
|
| 569 |
+
"text": "Length Prediction A critical component of non-autoregressive networks is length prediction for output sequence $(l)$ . Prior work implements a length prediction module to determine the output length (Babu et al., 2021; Ghazvininejad et al., 2019).",
|
| 570 |
+
"bbox": [
|
| 571 |
+
112,
|
| 572 |
+
645,
|
| 573 |
+
489,
|
| 574 |
+
726
|
| 575 |
+
],
|
| 576 |
+
"page_idx": 3
|
| 577 |
+
},
|
| 578 |
+
{
|
| 579 |
+
"type": "text",
|
| 580 |
+
"text": "In the extractive setting such as pipelined SLU, where the semantic parse contains either 1) ontology tokens (intent and slot labels) or 2) spans of transcribed text, this does not pose a problem (Shrivastava et al., 2021). However, a major advantage of E2E SLU is the ability to correct ASR errors. This changes the simple extractive function of the decoder into a more complex one, one which may change the length of a span of tokens in a slot from the length of the span predicted by ASR. Because of this, we propose using a CTC decoder which allows for more flexibility in the decoding process",
|
| 581 |
+
"bbox": [
|
| 582 |
+
112,
|
| 583 |
+
728,
|
| 584 |
+
489,
|
| 585 |
+
921
|
| 586 |
+
],
|
| 587 |
+
"page_idx": 3
|
| 588 |
+
},
|
| 589 |
+
{
|
| 590 |
+
"type": "text",
|
| 591 |
+
"text": "than Mask Predict.",
|
| 592 |
+
"bbox": [
|
| 593 |
+
507,
|
| 594 |
+
434,
|
| 595 |
+
653,
|
| 596 |
+
449
|
| 597 |
+
],
|
| 598 |
+
"page_idx": 3
|
| 599 |
+
},
|
| 600 |
+
{
|
| 601 |
+
"type": "text",
|
| 602 |
+
"text": "Instead of an equality constraint between the predicted length and the final output length, our use of the CTC decoder enforces the constraint that the predicted target length has to be strictly greater than the true target length. In semantic parsing the relation between input and output length depends on the semantics and ontology $^{1}$ unlike Machine Translation (Libovický and Helcl, 2018; Sahara et al., 2020) or ASR (Graves et al., 2006), which rely on heuristics based on input length. Accordingly, we introduce a fuzzy length predictor, an extension to the length prediction module that multiplies the output by a fuzzy constant $\\alpha > 1$ to account for an upper bound. The number of tokens predicted by the decoder, $l$ , is then",
|
| 603 |
+
"bbox": [
|
| 604 |
+
505,
|
| 605 |
+
451,
|
| 606 |
+
882,
|
| 607 |
+
692
|
| 608 |
+
],
|
| 609 |
+
"page_idx": 3
|
| 610 |
+
},
|
| 611 |
+
{
|
| 612 |
+
"type": "equation",
|
| 613 |
+
"text": "\n$$\nl = \\alpha \\times \\text {L e n g t h M o d u l e} \\left(\\text {e m b} _ {\\text {p o o l}}\\right).\n$$\n",
|
| 614 |
+
"text_format": "latex",
|
| 615 |
+
"bbox": [
|
| 616 |
+
563,
|
| 617 |
+
706,
|
| 618 |
+
823,
|
| 619 |
+
724
|
| 620 |
+
],
|
| 621 |
+
"page_idx": 3
|
| 622 |
+
},
|
| 623 |
+
{
|
| 624 |
+
"type": "text",
|
| 625 |
+
"text": "This constant helps ensure that even if the length prediction is smaller than the true target length, the decoder is able to output enough tokens for the full semantic parse.",
|
| 626 |
+
"bbox": [
|
| 627 |
+
507,
|
| 628 |
+
737,
|
| 629 |
+
882,
|
| 630 |
+
802
|
| 631 |
+
],
|
| 632 |
+
"page_idx": 3
|
| 633 |
+
},
|
| 634 |
+
{
|
| 635 |
+
"type": "text",
|
| 636 |
+
"text": "Parallel Decoding with CTC The use of CTC loss creates the flexibility in length prediction by enabling the decoder to produce blank tokens, al",
|
| 637 |
+
"bbox": [
|
| 638 |
+
507,
|
| 639 |
+
812,
|
| 640 |
+
882,
|
| 641 |
+
860
|
| 642 |
+
],
|
| 643 |
+
"page_idx": 3
|
| 644 |
+
},
|
| 645 |
+
{
|
| 646 |
+
"type": "page_footnote",
|
| 647 |
+
"text": "1An example: \"Remind me to call Samantha\" -> [IN:CREATE_REMINDER [SL:TODO call Samantha ]] vs [IN:CREATE_REMINDER [SL:TODO [IN:CALL [SL:CONTACT Samantha ]]]]",
|
| 648 |
+
"bbox": [
|
| 649 |
+
507,
|
| 650 |
+
870,
|
| 651 |
+
882,
|
| 652 |
+
921
|
| 653 |
+
],
|
| 654 |
+
"page_idx": 3
|
| 655 |
+
},
|
| 656 |
+
{
|
| 657 |
+
"type": "page_number",
|
| 658 |
+
"text": "14030",
|
| 659 |
+
"bbox": [
|
| 660 |
+
477,
|
| 661 |
+
927,
|
| 662 |
+
524,
|
| 663 |
+
940
|
| 664 |
+
],
|
| 665 |
+
"page_idx": 3
|
| 666 |
+
},
|
| 667 |
+
{
|
| 668 |
+
"type": "text",
|
| 669 |
+
"text": "lowing it to decode any sequence length that is shorter than the fuzzy predicted length.",
|
| 670 |
+
"bbox": [
|
| 671 |
+
112,
|
| 672 |
+
84,
|
| 673 |
+
485,
|
| 674 |
+
116
|
| 675 |
+
],
|
| 676 |
+
"page_idx": 4
|
| 677 |
+
},
|
| 678 |
+
{
|
| 679 |
+
"type": "text",
|
| 680 |
+
"text": "Our decoder leverages the deliberation encoder's hidden states and length module's [MASK] tokens to decode a semantic parse non-autoregressively:",
|
| 681 |
+
"bbox": [
|
| 682 |
+
112,
|
| 683 |
+
117,
|
| 684 |
+
485,
|
| 685 |
+
165
|
| 686 |
+
],
|
| 687 |
+
"page_idx": 4
|
| 688 |
+
},
|
| 689 |
+
{
|
| 690 |
+
"type": "equation",
|
| 691 |
+
"text": "\n$$\ny _ {1 \\dots l} = \\operatorname {D e c o d e r} ([ \\mathrm {M A S K} ] _ {1 \\dots l}, e m b _ {\\text {p o o l}}),\n$$\n",
|
| 692 |
+
"text_format": "latex",
|
| 693 |
+
"bbox": [
|
| 694 |
+
147,
|
| 695 |
+
179,
|
| 696 |
+
450,
|
| 697 |
+
197
|
| 698 |
+
],
|
| 699 |
+
"page_idx": 4
|
| 700 |
+
},
|
| 701 |
+
{
|
| 702 |
+
"type": "text",
|
| 703 |
+
"text": "where the decoder is a randomly-initialized Transformer decoder. As a result of CTC loss, the predicted parse $y_{1}, \\ldots, y_{l}$ can have repeating tokens and blank tokens. We then apply the CTC alignment procedure (Graves et al., 2006), which merges repeating tokens and removes blank tokens to produce the final prediction.",
|
| 704 |
+
"bbox": [
|
| 705 |
+
112,
|
| 706 |
+
210,
|
| 707 |
+
489,
|
| 708 |
+
323
|
| 709 |
+
],
|
| 710 |
+
"page_idx": 4
|
| 711 |
+
},
|
| 712 |
+
{
|
| 713 |
+
"type": "text",
|
| 714 |
+
"text": "3.3 Denoising",
|
| 715 |
+
"text_level": 1,
|
| 716 |
+
"bbox": [
|
| 717 |
+
112,
|
| 718 |
+
335,
|
| 719 |
+
238,
|
| 720 |
+
350
|
| 721 |
+
],
|
| 722 |
+
"page_idx": 4
|
| 723 |
+
},
|
| 724 |
+
{
|
| 725 |
+
"type": "text",
|
| 726 |
+
"text": "While the CTC decoder gives the model the ability to rewrite transcription errors, we wish to specialize training to specifically encourage the model to rely on both audio and text signals. Inspired by the success of Masked Language Modeling (Devlin et al., 2019; Lewis et al., 2020) as well as SpecAugment for ASR training (Park et al., 2019) we add additional text corruptions to the ASR hypotheses to add an implicit denoising objective during training. Unlike SpecAugment, the noise impacts the text in order to force the model to rely on audio representations in order to correct transcription errors. We use two noisng methods, deletion and substitution noise, along with two meta operations: sequential noisng and sampling noisng, summarized in Figure 3.",
|
| 727 |
+
"bbox": [
|
| 728 |
+
112,
|
| 729 |
+
356,
|
| 730 |
+
489,
|
| 731 |
+
613
|
| 732 |
+
],
|
| 733 |
+
"page_idx": 4
|
| 734 |
+
},
|
| 735 |
+
{
|
| 736 |
+
"type": "text",
|
| 737 |
+
"text": "Deletion Inspired by the BART MLM Objective (Lewis et al., 2020), we implement a noisng function which randomly deletes tokens from the input. Critically, this deletion noise does not insert a MASK token; instead the model must rely on the audio modality to find the corruption and find an appropriate replacement. We choose this approach to mirror the impact of ASR deletions. To implement the noise we employ a binomial distribution where the number of trials is the sequence length, and we introduce a hyper parameter $P$ that controls the probability at each trial to determine the number of tokens $(N)$ corrupted from the input. We then uniformly select $N$ tokens from the input and delete them.",
|
| 738 |
+
"bbox": [
|
| 739 |
+
112,
|
| 740 |
+
615,
|
| 741 |
+
489,
|
| 742 |
+
854
|
| 743 |
+
],
|
| 744 |
+
"page_idx": 4
|
| 745 |
+
},
|
| 746 |
+
{
|
| 747 |
+
"type": "text",
|
| 748 |
+
"text": "Substitution We also noise input words via word substitution. To find word substitution pairs which emulate true ASR errors we build a dictionary of word confusion pairs from inference of the 10M",
|
| 749 |
+
"bbox": [
|
| 750 |
+
112,
|
| 751 |
+
857,
|
| 752 |
+
487,
|
| 753 |
+
920
|
| 754 |
+
],
|
| 755 |
+
"page_idx": 4
|
| 756 |
+
},
|
| 757 |
+
{
|
| 758 |
+
"type": "text",
|
| 759 |
+
"text": "ASR model over the STOP train set. Similar to deletion noise, we use a binomial distribution to select words for substitution. A word only has substitution applied if it appears in the substitution dictionary. If it does, we sample a replacement word according to the frequency each replacement has appeared for it in the ASR output.",
|
| 760 |
+
"bbox": [
|
| 761 |
+
507,
|
| 762 |
+
84,
|
| 763 |
+
882,
|
| 764 |
+
197
|
| 765 |
+
],
|
| 766 |
+
"page_idx": 4
|
| 767 |
+
},
|
| 768 |
+
{
|
| 769 |
+
"type": "text",
|
| 770 |
+
"text": "Meta Operations With the different noising functions we implemented above, we introduce two meta noising functions that allow us to combine them. 1) Sequential Noise: This mechanism applies $R$ different noise types sequentially, each following the parameterization above. In other words, all samples have each noise type applied in series. 2) Sampling Noise: This mechanism uniformly samples amongst the $R$ different noise types following the parameterization above.",
|
| 771 |
+
"bbox": [
|
| 772 |
+
507,
|
| 773 |
+
198,
|
| 774 |
+
884,
|
| 775 |
+
359
|
| 776 |
+
],
|
| 777 |
+
"page_idx": 4
|
| 778 |
+
},
|
| 779 |
+
{
|
| 780 |
+
"type": "text",
|
| 781 |
+
"text": "3.4 Training",
|
| 782 |
+
"text_level": 1,
|
| 783 |
+
"bbox": [
|
| 784 |
+
507,
|
| 785 |
+
372,
|
| 786 |
+
626,
|
| 787 |
+
388
|
| 788 |
+
],
|
| 789 |
+
"page_idx": 4
|
| 790 |
+
},
|
| 791 |
+
{
|
| 792 |
+
"type": "text",
|
| 793 |
+
"text": "We jointly optimize for training the decoder and length prediction module with a label loss and length loss, respectively. The length loss is negative log likelihood between predicted lengths and target lengths:",
|
| 794 |
+
"bbox": [
|
| 795 |
+
507,
|
| 796 |
+
395,
|
| 797 |
+
882,
|
| 798 |
+
475
|
| 799 |
+
],
|
| 800 |
+
"page_idx": 4
|
| 801 |
+
},
|
| 802 |
+
{
|
| 803 |
+
"type": "equation",
|
| 804 |
+
"text": "\n$$\n\\mathcal {L} _ {l e n g t h} = - l o g P (l _ {t a r g e t} | l _ {p r e d}).\n$$\n",
|
| 805 |
+
"text_format": "latex",
|
| 806 |
+
"bbox": [
|
| 807 |
+
571,
|
| 808 |
+
491,
|
| 809 |
+
818,
|
| 810 |
+
508
|
| 811 |
+
],
|
| 812 |
+
"page_idx": 4
|
| 813 |
+
},
|
| 814 |
+
{
|
| 815 |
+
"type": "text",
|
| 816 |
+
"text": "The label loss is a CTC loss between decoder predictions and target labels:",
|
| 817 |
+
"bbox": [
|
| 818 |
+
507,
|
| 819 |
+
525,
|
| 820 |
+
882,
|
| 821 |
+
556
|
| 822 |
+
],
|
| 823 |
+
"page_idx": 4
|
| 824 |
+
},
|
| 825 |
+
{
|
| 826 |
+
"type": "equation",
|
| 827 |
+
"text": "\n$$\n\\mathcal {L} _ {\\text {l a b e l}} = - \\log P (Y | X).\n$$\n",
|
| 828 |
+
"text_format": "latex",
|
| 829 |
+
"bbox": [
|
| 830 |
+
601,
|
| 831 |
+
571,
|
| 832 |
+
786,
|
| 833 |
+
589
|
| 834 |
+
],
|
| 835 |
+
"page_idx": 4
|
| 836 |
+
},
|
| 837 |
+
{
|
| 838 |
+
"type": "text",
|
| 839 |
+
"text": "where $Y$ is the target labels and $X$ is the decoder predictions before removing blanks and repeated tokens. The conditional likelihood $P(Y|X)$ is the sum of probabilities of all possible valid alignments between $X$ and $Y$ . Let $\\pi$ denote an alignment, $\\mathcal{B}$ be the set of all valid alignments, and $y_{k}^{t}$ denote the probability of observing label $k$ at time $t$ . Then,",
|
| 840 |
+
"bbox": [
|
| 841 |
+
507,
|
| 842 |
+
605,
|
| 843 |
+
882,
|
| 844 |
+
717
|
| 845 |
+
],
|
| 846 |
+
"page_idx": 4
|
| 847 |
+
},
|
| 848 |
+
{
|
| 849 |
+
"type": "equation",
|
| 850 |
+
"text": "\n$$\nP (Y | X) = \\sum_ {\\pi \\in \\mathcal {B}} p (\\pi | X),\n$$\n",
|
| 851 |
+
"text_format": "latex",
|
| 852 |
+
"bbox": [
|
| 853 |
+
596,
|
| 854 |
+
731,
|
| 855 |
+
789,
|
| 856 |
+
764
|
| 857 |
+
],
|
| 858 |
+
"page_idx": 4
|
| 859 |
+
},
|
| 860 |
+
{
|
| 861 |
+
"type": "equation",
|
| 862 |
+
"text": "\n$$\np (\\pi | X) = \\prod_ {t = 1} ^ {T} y _ {\\pi_ {t}} ^ {t}.\n$$\n",
|
| 863 |
+
"text_format": "latex",
|
| 864 |
+
"bbox": [
|
| 865 |
+
596,
|
| 866 |
+
768,
|
| 867 |
+
744,
|
| 868 |
+
810
|
| 869 |
+
],
|
| 870 |
+
"page_idx": 4
|
| 871 |
+
},
|
| 872 |
+
{
|
| 873 |
+
"type": "text",
|
| 874 |
+
"text": "We add label smoothing to both label loss and length loss to control for over-confident predictions. The overall loss is a weighted sum of these two losses:",
|
| 875 |
+
"bbox": [
|
| 876 |
+
507,
|
| 877 |
+
825,
|
| 878 |
+
882,
|
| 879 |
+
887
|
| 880 |
+
],
|
| 881 |
+
"page_idx": 4
|
| 882 |
+
},
|
| 883 |
+
{
|
| 884 |
+
"type": "equation",
|
| 885 |
+
"text": "\n$$\n\\mathcal {L} = \\mathcal {L} _ {\\text {l a b e l}} + \\lambda \\times \\mathcal {L} _ {\\text {l e n g t h}}.\n$$\n",
|
| 886 |
+
"text_format": "latex",
|
| 887 |
+
"bbox": [
|
| 888 |
+
593,
|
| 889 |
+
904,
|
| 890 |
+
796,
|
| 891 |
+
922
|
| 892 |
+
],
|
| 893 |
+
"page_idx": 4
|
| 894 |
+
},
|
| 895 |
+
{
|
| 896 |
+
"type": "page_number",
|
| 897 |
+
"text": "14031",
|
| 898 |
+
"bbox": [
|
| 899 |
+
477,
|
| 900 |
+
927,
|
| 901 |
+
522,
|
| 902 |
+
940
|
| 903 |
+
],
|
| 904 |
+
"page_idx": 4
|
| 905 |
+
},
|
| 906 |
+
{
|
| 907 |
+
"type": "image",
|
| 908 |
+
"img_path": "images/938b372ec447f18ff04a98e7ad809c959b4f25ca3ce9eb7a3d7f61979d7742c5.jpg",
|
| 909 |
+
"image_caption": [
|
| 910 |
+
"Figure 3: The text noising process. We proposed two noise processes, deletion and substitution noise, as well as two meta-operations, sequential and sampling noising."
|
| 911 |
+
],
|
| 912 |
+
"image_footnote": [],
|
| 913 |
+
"bbox": [
|
| 914 |
+
211,
|
| 915 |
+
80,
|
| 916 |
+
783,
|
| 917 |
+
280
|
| 918 |
+
],
|
| 919 |
+
"page_idx": 5
|
| 920 |
+
},
|
| 921 |
+
{
|
| 922 |
+
"type": "text",
|
| 923 |
+
"text": "4 Experiments",
|
| 924 |
+
"text_level": 1,
|
| 925 |
+
"bbox": [
|
| 926 |
+
112,
|
| 927 |
+
343,
|
| 928 |
+
260,
|
| 929 |
+
359
|
| 930 |
+
],
|
| 931 |
+
"page_idx": 5
|
| 932 |
+
},
|
| 933 |
+
{
|
| 934 |
+
"type": "text",
|
| 935 |
+
"text": "4.1 STOP Dataset",
|
| 936 |
+
"text_level": 1,
|
| 937 |
+
"bbox": [
|
| 938 |
+
112,
|
| 939 |
+
370,
|
| 940 |
+
272,
|
| 941 |
+
384
|
| 942 |
+
],
|
| 943 |
+
"page_idx": 5
|
| 944 |
+
},
|
| 945 |
+
{
|
| 946 |
+
"type": "text",
|
| 947 |
+
"text": "We leverage the STOP dataset (Spoken Task Oriented Parsing) (Tomasello et al., 2023) to evaluate our proposed approach. STOP is based on the TOPv2 dataset (Chen et al., 2020), a compositional multi-domain semantic parsing benchmark that has been well-studied in text parsing. STOP consists of 8 different domains: alarm, messaging, music, navigation, timer, weather, reminder, and event. Each data point contains an audio clip from Amazon Mechanical Turk workers, where their names and information remain anonymous. The dataset is split into three subsets: 120k training samples, 33k validation samples, and 76k test samples.",
|
| 948 |
+
"bbox": [
|
| 949 |
+
112,
|
| 950 |
+
392,
|
| 951 |
+
489,
|
| 952 |
+
602
|
| 953 |
+
],
|
| 954 |
+
"page_idx": 5
|
| 955 |
+
},
|
| 956 |
+
{
|
| 957 |
+
"type": "text",
|
| 958 |
+
"text": "4.2 Baselines",
|
| 959 |
+
"text_level": 1,
|
| 960 |
+
"bbox": [
|
| 961 |
+
112,
|
| 962 |
+
614,
|
| 963 |
+
233,
|
| 964 |
+
627
|
| 965 |
+
],
|
| 966 |
+
"page_idx": 5
|
| 967 |
+
},
|
| 968 |
+
{
|
| 969 |
+
"type": "text",
|
| 970 |
+
"text": "Our study targets improving Deliberation based SLU systems (Le et al., 2022) for on-device streaming use cases. We align our baselines with Le et al. (2022) to study our contributions.",
|
| 971 |
+
"bbox": [
|
| 972 |
+
112,
|
| 973 |
+
636,
|
| 974 |
+
489,
|
| 975 |
+
701
|
| 976 |
+
],
|
| 977 |
+
"page_idx": 5
|
| 978 |
+
},
|
| 979 |
+
{
|
| 980 |
+
"type": "text",
|
| 981 |
+
"text": "Base ASR Model Our studies leverage two ondevice-sized ASR models containing 10M and 25M RNNT (Graves, 2012) variants. These models use an acoustic encoder-based conformer encoder (Gulati et al., 2020; Shi et al., 2022) (3L for 10M parameter model and 13L for 25M model), a predictor with a 1-layer LSTM, and a 1-layer Joiner network. We used a 4-stride, 40ms lookahead, 120ms segment size audio input features, and 4000 sentence piece targets (Kudo and Richardson, 2018). We employed the same training recipe as proposed originally for E2E deliberation-based SLU (Le et al., 2022). The Word Error Rates (WER) for each split",
|
| 982 |
+
"bbox": [
|
| 983 |
+
112,
|
| 984 |
+
711,
|
| 985 |
+
489,
|
| 986 |
+
921
|
| 987 |
+
],
|
| 988 |
+
"page_idx": 5
|
| 989 |
+
},
|
| 990 |
+
{
|
| 991 |
+
"type": "text",
|
| 992 |
+
"text": "of the STOP datasets, using ASRs of two different sizes (10M and 25M), are presented in Table 1.",
|
| 993 |
+
"bbox": [
|
| 994 |
+
507,
|
| 995 |
+
343,
|
| 996 |
+
880,
|
| 997 |
+
375
|
| 998 |
+
],
|
| 999 |
+
"page_idx": 5
|
| 1000 |
+
},
|
| 1001 |
+
{
|
| 1002 |
+
"type": "table",
|
| 1003 |
+
"img_path": "images/dd953d40cf0713ae573397715f13ba70b3064948feedcb7dda97851c3c041b26.jpg",
|
| 1004 |
+
"table_caption": [
|
| 1005 |
+
"Table 1: The WER for each split of the STOP datasets, using the frozen RNNT ASR of two different sizes."
|
| 1006 |
+
],
|
| 1007 |
+
"table_footnote": [],
|
| 1008 |
+
"table_body": "<table><tr><td>Frozen ASR (RNNT)</td><td>train</td><td>WER valid</td><td>test</td></tr><tr><td>10M</td><td>7.68</td><td>6.99</td><td>6.54</td></tr><tr><td>25M</td><td>4.19</td><td>3.83</td><td>3.54</td></tr></table>",
|
| 1009 |
+
"bbox": [
|
| 1010 |
+
512,
|
| 1011 |
+
428,
|
| 1012 |
+
873,
|
| 1013 |
+
511
|
| 1014 |
+
],
|
| 1015 |
+
"page_idx": 5
|
| 1016 |
+
},
|
| 1017 |
+
{
|
| 1018 |
+
"type": "text",
|
| 1019 |
+
"text": "Autoregressive (AR) Deliberation Following Le et al. (2022), we constrain all our model architectures to leverage 5M parameters to enable an iso-size comparison. All models also use the same decoding vocabulary, consisting of 4095 unigram WordPieces plus the vocabulary of ontology tokens built from training data. The 5M AR deliberation model leverages 2 pooling (encoder) layers, 1 decoder layers, with hidden dimension of 224. This AR deliberation model has the best quality and latency performance across various encoder and decoder depths (Table 7 in Appendix A).",
|
| 1020 |
+
"bbox": [
|
| 1021 |
+
507,
|
| 1022 |
+
539,
|
| 1023 |
+
884,
|
| 1024 |
+
733
|
| 1025 |
+
],
|
| 1026 |
+
"page_idx": 5
|
| 1027 |
+
},
|
| 1028 |
+
{
|
| 1029 |
+
"type": "text",
|
| 1030 |
+
"text": "Mask Predict Deliberation Our first non-autoregressive architecture extends the AR decoder with the Mask Predict formulation. We introduce a length module after the AR deliberation encoder to predict the output length for non-autoregressive decoding. During training, golden length is used as input, while during testing, predicted length from length module is used. Iterative refinement is not employed in order to focus on efficient one-shot decoding with minimal latency. Our 5M Mask Predict Deliberation model leverages 4 pooling (encoder)",
|
| 1031 |
+
"bbox": [
|
| 1032 |
+
507,
|
| 1033 |
+
744,
|
| 1034 |
+
884,
|
| 1035 |
+
921
|
| 1036 |
+
],
|
| 1037 |
+
"page_idx": 5
|
| 1038 |
+
},
|
| 1039 |
+
{
|
| 1040 |
+
"type": "page_number",
|
| 1041 |
+
"text": "14032",
|
| 1042 |
+
"bbox": [
|
| 1043 |
+
477,
|
| 1044 |
+
927,
|
| 1045 |
+
524,
|
| 1046 |
+
940
|
| 1047 |
+
],
|
| 1048 |
+
"page_idx": 5
|
| 1049 |
+
},
|
| 1050 |
+
{
|
| 1051 |
+
"type": "table",
|
| 1052 |
+
"img_path": "images/d8a98ef6a222f67af54174c7ee1ebf7f69a981b700dd3925e17dd07de66013ef.jpg",
|
| 1053 |
+
"table_caption": [
|
| 1054 |
+
"Table 2: Evaluation on the STOP test split. PRoDeliberation outperforms Mask Predict, is on par with AR model for 10M ASR, and outperforms for 25M ASR."
|
| 1055 |
+
],
|
| 1056 |
+
"table_footnote": [],
|
| 1057 |
+
"table_body": "<table><tr><td>ASR</td><td>NLU</td><td>EM</td></tr><tr><td rowspan=\"5\">10M</td><td>Deliberation AR (Le et al., 2022)</td><td>67.90</td></tr><tr><td>Deliberation AR (Kim et al., 2023)</td><td>68.37</td></tr><tr><td>Deliberation AR (Sharma et al., 2023)</td><td>67.37</td></tr><tr><td>Mask Predict (Ghazvininejad et al., 2019)</td><td>67.23</td></tr><tr><td>ProDeliberation (ours)</td><td>68.31</td></tr><tr><td rowspan=\"4\">25M</td><td>Deliberation AR (Le et al., 2022)</td><td>73.87</td></tr><tr><td>Deliberation AR (Kim et al., 2023)</td><td>74.05</td></tr><tr><td>Mask Predict (Ghazvininejad et al., 2019)</td><td>72.17</td></tr><tr><td>ProDeliberation (ours)</td><td>74.27</td></tr></table>",
|
| 1058 |
+
"bbox": [
|
| 1059 |
+
115,
|
| 1060 |
+
149,
|
| 1061 |
+
507,
|
| 1062 |
+
336
|
| 1063 |
+
],
|
| 1064 |
+
"page_idx": 6
|
| 1065 |
+
},
|
| 1066 |
+
{
|
| 1067 |
+
"type": "text",
|
| 1068 |
+
"text": "layers, 3 decoder layers, with hidden dimension of 200.",
|
| 1069 |
+
"bbox": [
|
| 1070 |
+
112,
|
| 1071 |
+
360,
|
| 1072 |
+
487,
|
| 1073 |
+
391
|
| 1074 |
+
],
|
| 1075 |
+
"page_idx": 6
|
| 1076 |
+
},
|
| 1077 |
+
{
|
| 1078 |
+
"type": "text",
|
| 1079 |
+
"text": "PRoDeliberation We introduce a fuzzy length prediction and replaces the Mask Predict loss with a CTC loss to mitigate the length bottleneck. To optimize for latency reduction, iterative refinement is not utilized. Our 5M ProDeliberation model leverages 4 pooling (encoder) layers, 3 decoder layers, with hidden dimension of 200.",
|
| 1080 |
+
"bbox": [
|
| 1081 |
+
112,
|
| 1082 |
+
404,
|
| 1083 |
+
485,
|
| 1084 |
+
516
|
| 1085 |
+
],
|
| 1086 |
+
"page_idx": 6
|
| 1087 |
+
},
|
| 1088 |
+
{
|
| 1089 |
+
"type": "text",
|
| 1090 |
+
"text": "4.3 Training Hyperparameters",
|
| 1091 |
+
"text_level": 1,
|
| 1092 |
+
"bbox": [
|
| 1093 |
+
112,
|
| 1094 |
+
532,
|
| 1095 |
+
374,
|
| 1096 |
+
548
|
| 1097 |
+
],
|
| 1098 |
+
"page_idx": 6
|
| 1099 |
+
},
|
| 1100 |
+
{
|
| 1101 |
+
"type": "text",
|
| 1102 |
+
"text": "All baseline and proposed models are trained with 8 GPUs of 32GB memory each, using AdamW optimizer and tri-stage learning rate scheduler. All training is done with SpecAugment enabled (Park et al., 2019).",
|
| 1103 |
+
"bbox": [
|
| 1104 |
+
112,
|
| 1105 |
+
554,
|
| 1106 |
+
487,
|
| 1107 |
+
633
|
| 1108 |
+
],
|
| 1109 |
+
"page_idx": 6
|
| 1110 |
+
},
|
| 1111 |
+
{
|
| 1112 |
+
"type": "text",
|
| 1113 |
+
"text": "Hyperparameters, including warmup steps, hold steps, decay steps, learning rate, encoder and decoder dropouts, scaling factors in loss, and denoising probabilities, are obtained through hyperparameter sweeps using Bayesian optimization to maximize Exact Match (EM) accuracy on the eval split of STOP dataset. These hyperparameter values can be found in Table 8, Appendix A.",
|
| 1114 |
+
"bbox": [
|
| 1115 |
+
112,
|
| 1116 |
+
636,
|
| 1117 |
+
487,
|
| 1118 |
+
765
|
| 1119 |
+
],
|
| 1120 |
+
"page_idx": 6
|
| 1121 |
+
},
|
| 1122 |
+
{
|
| 1123 |
+
"type": "text",
|
| 1124 |
+
"text": "5 Results",
|
| 1125 |
+
"text_level": 1,
|
| 1126 |
+
"bbox": [
|
| 1127 |
+
112,
|
| 1128 |
+
780,
|
| 1129 |
+
213,
|
| 1130 |
+
795
|
| 1131 |
+
],
|
| 1132 |
+
"page_idx": 6
|
| 1133 |
+
},
|
| 1134 |
+
{
|
| 1135 |
+
"type": "text",
|
| 1136 |
+
"text": "Quality Analysis On the 10M ASR model, PRoDeliberation achieves better performance than Mask Predict deliberation model and has similar performance to the AR deliberation model. For 25M ASR model, PRoDeliberation outperforms both Mask Predict and AR (Table 2). All models are trained on the STOP train split, optimized",
|
| 1137 |
+
"bbox": [
|
| 1138 |
+
112,
|
| 1139 |
+
808,
|
| 1140 |
+
487,
|
| 1141 |
+
921
|
| 1142 |
+
],
|
| 1143 |
+
"page_idx": 6
|
| 1144 |
+
},
|
| 1145 |
+
{
|
| 1146 |
+
"type": "image",
|
| 1147 |
+
"img_path": "images/faeded0f3c308cab7161b09ff961a7187acf43ab4e3c42afe9675e2706ecd34a.jpg",
|
| 1148 |
+
"image_caption": [
|
| 1149 |
+
"Figure 4: Latency by output length of AR, Mask Predict and ProDeliberation. AR latency increases linearly with output length, while the NAR models (Mask Predict and ProDeliberation) are approximately constant."
|
| 1150 |
+
],
|
| 1151 |
+
"image_footnote": [],
|
| 1152 |
+
"bbox": [
|
| 1153 |
+
512,
|
| 1154 |
+
80,
|
| 1155 |
+
884,
|
| 1156 |
+
268
|
| 1157 |
+
],
|
| 1158 |
+
"page_idx": 6
|
| 1159 |
+
},
|
| 1160 |
+
{
|
| 1161 |
+
"type": "text",
|
| 1162 |
+
"text": "through hyperparameter sweeps on the STOP validation split, and the best run is evaluated on the STOP test split. The metric used is Exact Match, which is the sample-level accuracy for exactly predicting the target tokens.",
|
| 1163 |
+
"bbox": [
|
| 1164 |
+
507,
|
| 1165 |
+
360,
|
| 1166 |
+
882,
|
| 1167 |
+
441
|
| 1168 |
+
],
|
| 1169 |
+
"page_idx": 6
|
| 1170 |
+
},
|
| 1171 |
+
{
|
| 1172 |
+
"type": "text",
|
| 1173 |
+
"text": "Latency Analysis To measure the latency of the models, we first use Torchscript to export the NLU-equivalent module of the baselines and proposed model, each of which consists of fusion layers and an AR decoder or a CTC decoder. We run the Torchscript modules on an X86-64 CPU with 224 GB RAM with various output sequence lengths ranging from 5 to 50 tokens. For each output sequence length, latency is reported by averaging latency measurements of 50 runs.",
|
| 1174 |
+
"bbox": [
|
| 1175 |
+
507,
|
| 1176 |
+
451,
|
| 1177 |
+
882,
|
| 1178 |
+
612
|
| 1179 |
+
],
|
| 1180 |
+
"page_idx": 6
|
| 1181 |
+
},
|
| 1182 |
+
{
|
| 1183 |
+
"type": "text",
|
| 1184 |
+
"text": "The PRoDeliberation model has significantly lower latency than AR deliberation model; as shown in Figure 4, it is $\\sim 2\\mathrm{x}$ faster for short output sequences (<10 tokens) and $\\sim 10\\mathrm{x}$ faster for long output sequences ( $>45$ tokens). PRoDeliberation has similar latency to Mask Predict deliberation, which is expected as both models have non-autoregressive decoders. Due to their non-autoregressive decoding nature, their latency is largely unaffected by the output length, while AR deliberation latency scales linearly with the output length.",
|
| 1185 |
+
"bbox": [
|
| 1186 |
+
507,
|
| 1187 |
+
614,
|
| 1188 |
+
882,
|
| 1189 |
+
808
|
| 1190 |
+
],
|
| 1191 |
+
"page_idx": 6
|
| 1192 |
+
},
|
| 1193 |
+
{
|
| 1194 |
+
"type": "text",
|
| 1195 |
+
"text": "6 Analysis",
|
| 1196 |
+
"text_level": 1,
|
| 1197 |
+
"bbox": [
|
| 1198 |
+
509,
|
| 1199 |
+
822,
|
| 1200 |
+
618,
|
| 1201 |
+
838
|
| 1202 |
+
],
|
| 1203 |
+
"page_idx": 6
|
| 1204 |
+
},
|
| 1205 |
+
{
|
| 1206 |
+
"type": "text",
|
| 1207 |
+
"text": "6.1 Architecture Ablation",
|
| 1208 |
+
"text_level": 1,
|
| 1209 |
+
"bbox": [
|
| 1210 |
+
507,
|
| 1211 |
+
850,
|
| 1212 |
+
727,
|
| 1213 |
+
864
|
| 1214 |
+
],
|
| 1215 |
+
"page_idx": 6
|
| 1216 |
+
},
|
| 1217 |
+
{
|
| 1218 |
+
"type": "text",
|
| 1219 |
+
"text": "Encoder vs Decoder Size We study the importance of encoder and decoder depths in ProDeliberation by varying these depths while keeping model",
|
| 1220 |
+
"bbox": [
|
| 1221 |
+
507,
|
| 1222 |
+
873,
|
| 1223 |
+
882,
|
| 1224 |
+
921
|
| 1225 |
+
],
|
| 1226 |
+
"page_idx": 6
|
| 1227 |
+
},
|
| 1228 |
+
{
|
| 1229 |
+
"type": "page_number",
|
| 1230 |
+
"text": "14033",
|
| 1231 |
+
"bbox": [
|
| 1232 |
+
477,
|
| 1233 |
+
927,
|
| 1234 |
+
524,
|
| 1235 |
+
940
|
| 1236 |
+
],
|
| 1237 |
+
"page_idx": 6
|
| 1238 |
+
},
|
| 1239 |
+
{
|
| 1240 |
+
"type": "text",
|
| 1241 |
+
"text": "size constant (5M parameters) by adjusting the hidden dimension accordingly. Increasing encoder depth up to 4 encoder layers leads to better performance, but more than 4 encoder layers do not further improve the model performance (Table 3). We observe similar trend for decoder depth, where 3 decoder layers results in the best performance, but deeper decoder than 3 layers does not lead to further improvement (Table 4). Given the same number of parameters, optimal PRoDeliberation model (4 encoder layers, 3 decoder layers, 200 hidden dimension) requires deeper and narrower architecture than optimal AR Deliberation (2 encoder layers, 1 decoder layer, 224 hidden dimension, Table 7).",
|
| 1242 |
+
"bbox": [
|
| 1243 |
+
112,
|
| 1244 |
+
84,
|
| 1245 |
+
492,
|
| 1246 |
+
325
|
| 1247 |
+
],
|
| 1248 |
+
"page_idx": 7
|
| 1249 |
+
},
|
| 1250 |
+
{
|
| 1251 |
+
"type": "table",
|
| 1252 |
+
"img_path": "images/7564cbe082d01033ae100ce9b03c55dea51455f9535ee8198b939d83eea2e004.jpg",
|
| 1253 |
+
"table_caption": [
|
| 1254 |
+
"Table 3: Exact Match of ProDeliberation on STOP test set, with varying encoder depths at 5M parameters."
|
| 1255 |
+
],
|
| 1256 |
+
"table_footnote": [],
|
| 1257 |
+
"table_body": "<table><tr><td>Enc. layers</td><td>Dec. layers</td><td>Hidden dim.</td><td>Total params</td><td>EM</td></tr><tr><td>2</td><td>3</td><td>224</td><td>5M</td><td>66.45</td></tr><tr><td>3</td><td>3</td><td>208</td><td>5M</td><td>67.84</td></tr><tr><td>4</td><td>3</td><td>200</td><td>5M</td><td>68.31</td></tr><tr><td>5</td><td>3</td><td>184</td><td>5M</td><td>67.93</td></tr><tr><td>6</td><td>3</td><td>176</td><td>5M</td><td>68.12</td></tr></table>",
|
| 1258 |
+
"bbox": [
|
| 1259 |
+
121,
|
| 1260 |
+
376,
|
| 1261 |
+
478,
|
| 1262 |
+
507
|
| 1263 |
+
],
|
| 1264 |
+
"page_idx": 7
|
| 1265 |
+
},
|
| 1266 |
+
{
|
| 1267 |
+
"type": "table",
|
| 1268 |
+
"img_path": "images/a7c57c92177fc72b493fc98de27b133d16e98c06f8da1b0439e63b69471ca302.jpg",
|
| 1269 |
+
"table_caption": [
|
| 1270 |
+
"Table 4: Exact Match of ProDeliberation on STOP test set, with varying decoder depths at 5M parameters."
|
| 1271 |
+
],
|
| 1272 |
+
"table_footnote": [],
|
| 1273 |
+
"table_body": "<table><tr><td>Enc. layers</td><td>Dec. layers</td><td>Hidden dim.</td><td>Total params</td><td>EM</td></tr><tr><td>4</td><td>1</td><td>216</td><td>5M</td><td>67.18</td></tr><tr><td>4</td><td>2</td><td>208</td><td>5M</td><td>67.73</td></tr><tr><td>4</td><td>3</td><td>200</td><td>5M</td><td>68.31</td></tr><tr><td>4</td><td>4</td><td>184</td><td>5M</td><td>68.05</td></tr><tr><td>4</td><td>5</td><td>176</td><td>5M</td><td>68.06</td></tr></table>",
|
| 1274 |
+
"bbox": [
|
| 1275 |
+
121,
|
| 1276 |
+
573,
|
| 1277 |
+
478,
|
| 1278 |
+
705
|
| 1279 |
+
],
|
| 1280 |
+
"page_idx": 7
|
| 1281 |
+
},
|
| 1282 |
+
{
|
| 1283 |
+
"type": "text",
|
| 1284 |
+
"text": "Impact of Target length scale As mentioned in Section 3.2, we scale the predicted output length by a factor $\\alpha$ to ensure the sequence length for the CTC loss is greater than or equal to the true output length. Here we investigate how this scale factor $\\alpha$ affects the latency and quality of ProDeliberation.",
|
| 1285 |
+
"bbox": [
|
| 1286 |
+
112,
|
| 1287 |
+
728,
|
| 1288 |
+
487,
|
| 1289 |
+
824
|
| 1290 |
+
],
|
| 1291 |
+
"page_idx": 7
|
| 1292 |
+
},
|
| 1293 |
+
{
|
| 1294 |
+
"type": "text",
|
| 1295 |
+
"text": "Figure 5 shows a minimal impact on latency when we vary target length scale $\\alpha$ . This is expected as ProDeliberation decodes all output tokens at the same time, so output sequence length does not significantly effect inference latency.",
|
| 1296 |
+
"bbox": [
|
| 1297 |
+
112,
|
| 1298 |
+
824,
|
| 1299 |
+
487,
|
| 1300 |
+
904
|
| 1301 |
+
],
|
| 1302 |
+
"page_idx": 7
|
| 1303 |
+
},
|
| 1304 |
+
{
|
| 1305 |
+
"type": "text",
|
| 1306 |
+
"text": "We observe that $\\alpha$ being too small (<1.8) leads",
|
| 1307 |
+
"bbox": [
|
| 1308 |
+
131,
|
| 1309 |
+
904,
|
| 1310 |
+
487,
|
| 1311 |
+
921
|
| 1312 |
+
],
|
| 1313 |
+
"page_idx": 7
|
| 1314 |
+
},
|
| 1315 |
+
{
|
| 1316 |
+
"type": "image",
|
| 1317 |
+
"img_path": "images/0b6daee1723767ac86e53d855e6bdceba3e6f9dd1cebd4d0eceae26f30b467c8.jpg",
|
| 1318 |
+
"image_caption": [
|
| 1319 |
+
"Figure 5: Latency by output length with different target length scale factor $\\alpha$ ."
|
| 1320 |
+
],
|
| 1321 |
+
"image_footnote": [],
|
| 1322 |
+
"bbox": [
|
| 1323 |
+
526,
|
| 1324 |
+
91,
|
| 1325 |
+
875,
|
| 1326 |
+
288
|
| 1327 |
+
],
|
| 1328 |
+
"page_idx": 7
|
| 1329 |
+
},
|
| 1330 |
+
{
|
| 1331 |
+
"type": "text",
|
| 1332 |
+
"text": "to very poor performance, while large $\\alpha (>2)$ does not affect performance nearly as much, and $\\alpha = 2$ results in the best performance (Table 9, Appendix A).",
|
| 1333 |
+
"bbox": [
|
| 1334 |
+
507,
|
| 1335 |
+
363,
|
| 1336 |
+
884,
|
| 1337 |
+
429
|
| 1338 |
+
],
|
| 1339 |
+
"page_idx": 7
|
| 1340 |
+
},
|
| 1341 |
+
{
|
| 1342 |
+
"type": "text",
|
| 1343 |
+
"text": "6.2 Denoising ablation",
|
| 1344 |
+
"text_level": 1,
|
| 1345 |
+
"bbox": [
|
| 1346 |
+
507,
|
| 1347 |
+
444,
|
| 1348 |
+
702,
|
| 1349 |
+
458
|
| 1350 |
+
],
|
| 1351 |
+
"page_idx": 7
|
| 1352 |
+
},
|
| 1353 |
+
{
|
| 1354 |
+
"type": "text",
|
| 1355 |
+
"text": "We perform an ablation study on the denoising, investigating the relative importance of substitution and deletion noise, as well as the relative performance of the meta noising strategies. The results are summarized in Table 5. For each setting, we sweep to find the optimal denoising parameter(s).",
|
| 1356 |
+
"bbox": [
|
| 1357 |
+
507,
|
| 1358 |
+
467,
|
| 1359 |
+
882,
|
| 1360 |
+
564
|
| 1361 |
+
],
|
| 1362 |
+
"page_idx": 7
|
| 1363 |
+
},
|
| 1364 |
+
{
|
| 1365 |
+
"type": "text",
|
| 1366 |
+
"text": "Sampling between deletion and substitution noise shows the best performance for both 10M and 25M ASR. The sampling denoise strategy requires higher substitution probability than deletion probability in both 10M and 25M models. The substitution-only denoise model also performs better than the deletion-only denoise model with 10M ASR and is on-par with the deletion-only denoise model with 25M ASR. 10M ASR requires lower substitution probability but slightly higher deletion probability than 25M ASR. All models with denoising perform better than models with no noise. Moreover, performance without denoising is on par with the autoregressive model; denoising improves performance further.",
|
| 1367 |
+
"bbox": [
|
| 1368 |
+
507,
|
| 1369 |
+
565,
|
| 1370 |
+
884,
|
| 1371 |
+
806
|
| 1372 |
+
],
|
| 1373 |
+
"page_idx": 7
|
| 1374 |
+
},
|
| 1375 |
+
{
|
| 1376 |
+
"type": "text",
|
| 1377 |
+
"text": "From the error breakdown in Table 6 we see that when the ASR model is smaller (and therefore more error prone) a greater share of the improvement from denoising comes from the samples with ASR errors. Moreover, there is greater overall improvement with a smaller ASR model. This indicates that the denoising works as expected: by",
|
| 1378 |
+
"bbox": [
|
| 1379 |
+
507,
|
| 1380 |
+
808,
|
| 1381 |
+
885,
|
| 1382 |
+
921
|
| 1383 |
+
],
|
| 1384 |
+
"page_idx": 7
|
| 1385 |
+
},
|
| 1386 |
+
{
|
| 1387 |
+
"type": "page_number",
|
| 1388 |
+
"text": "14034",
|
| 1389 |
+
"bbox": [
|
| 1390 |
+
477,
|
| 1391 |
+
927,
|
| 1392 |
+
524,
|
| 1393 |
+
940
|
| 1394 |
+
],
|
| 1395 |
+
"page_idx": 7
|
| 1396 |
+
},
|
| 1397 |
+
{
|
| 1398 |
+
"type": "table",
|
| 1399 |
+
"img_path": "images/3a3aaa40450daa21ce6b75ee947aad1739db1556895bcd0a2041a9096c075fe1.jpg",
|
| 1400 |
+
"table_caption": [
|
| 1401 |
+
"Table 5: Denoising ablation study. For each ASR model size, we compare denoising strategies."
|
| 1402 |
+
],
|
| 1403 |
+
"table_footnote": [],
|
| 1404 |
+
"table_body": "<table><tr><td rowspan=\"2\">Denoise strategy</td><td colspan=\"3\">10M ASR</td><td colspan=\"3\">25M ASR</td></tr><tr><td>Subs prob</td><td>Del prob</td><td>EM</td><td>Subs prob</td><td>Del prob</td><td>EM</td></tr><tr><td>samp(del, subs)</td><td>0.088</td><td>0.003</td><td>68.31</td><td>0.026</td><td>0.007</td><td>74.27</td></tr><tr><td>del</td><td>-</td><td>0.012</td><td>67.8</td><td>-</td><td>0.024</td><td>74.07</td></tr><tr><td>subs</td><td>0.069</td><td>-</td><td>68.02</td><td>0.04</td><td>-</td><td>74.02</td></tr><tr><td>no noise</td><td>-</td><td>-</td><td>67.95</td><td>-</td><td>-</td><td>73.96</td></tr></table>",
|
| 1405 |
+
"bbox": [
|
| 1406 |
+
183,
|
| 1407 |
+
107,
|
| 1408 |
+
811,
|
| 1409 |
+
222
|
| 1410 |
+
],
|
| 1411 |
+
"page_idx": 8
|
| 1412 |
+
},
|
| 1413 |
+
{
|
| 1414 |
+
"type": "table",
|
| 1415 |
+
"img_path": "images/63a97cf04bdd9e3f21bc190e63a1e22738e4346edd11deced5df3331caa60af1.jpg",
|
| 1416 |
+
"table_caption": [
|
| 1417 |
+
"Table 6: Exact Match of E2E models with different ASR model sizes. We break down EM into samples with ASR errors and samples without ASR errors."
|
| 1418 |
+
],
|
| 1419 |
+
"table_footnote": [],
|
| 1420 |
+
"table_body": "<table><tr><td></td><td colspan=\"2\">10M ASR</td><td colspan=\"2\">25M ASR</td></tr><tr><td>EM</td><td>CTC</td><td>CTC+D</td><td>CTC</td><td>CTC+D</td></tr><tr><td>total</td><td>67.95</td><td>68.31</td><td>73.96</td><td>74.27</td></tr><tr><td>no ASR error</td><td>85.18</td><td>85.14</td><td>82.95</td><td>83.14</td></tr><tr><td>ASR error</td><td>25.70</td><td>27.00</td><td>54.36</td><td>54.73</td></tr></table>",
|
| 1421 |
+
"bbox": [
|
| 1422 |
+
115,
|
| 1423 |
+
297,
|
| 1424 |
+
485,
|
| 1425 |
+
395
|
| 1426 |
+
],
|
| 1427 |
+
"page_idx": 8
|
| 1428 |
+
},
|
| 1429 |
+
{
|
| 1430 |
+
"type": "text",
|
| 1431 |
+
"text": "improving robustness to ASR errors.",
|
| 1432 |
+
"bbox": [
|
| 1433 |
+
112,
|
| 1434 |
+
420,
|
| 1435 |
+
386,
|
| 1436 |
+
435
|
| 1437 |
+
],
|
| 1438 |
+
"page_idx": 8
|
| 1439 |
+
},
|
| 1440 |
+
{
|
| 1441 |
+
"type": "text",
|
| 1442 |
+
"text": "7 Conclusion",
|
| 1443 |
+
"text_level": 1,
|
| 1444 |
+
"bbox": [
|
| 1445 |
+
112,
|
| 1446 |
+
447,
|
| 1447 |
+
245,
|
| 1448 |
+
462
|
| 1449 |
+
],
|
| 1450 |
+
"page_idx": 8
|
| 1451 |
+
},
|
| 1452 |
+
{
|
| 1453 |
+
"type": "text",
|
| 1454 |
+
"text": "We presented a novel SLU model, PRoDeliberation, which uses a CTC decoder and noise augmentation to train a parallelized and robust E2E SLU model. This model achieves much lower latency than the state-of-the-art models while maintaining the ability to correct errors in the ASR transcript. Further, we analyzed the system's performance across two ASR model sizes and provided ablations guiding the decisions made when designing PRoDeliberation. We also show that the denoising training for PRoDeliberation allows it to overcome the limitations of very small ASR models. This represents a significant step forward in building E2E SLU systems that are small enough and have low enough latency to run on edge devices.",
|
| 1455 |
+
"bbox": [
|
| 1456 |
+
112,
|
| 1457 |
+
473,
|
| 1458 |
+
489,
|
| 1459 |
+
715
|
| 1460 |
+
],
|
| 1461 |
+
"page_idx": 8
|
| 1462 |
+
},
|
| 1463 |
+
{
|
| 1464 |
+
"type": "text",
|
| 1465 |
+
"text": "8 Limitations",
|
| 1466 |
+
"text_level": 1,
|
| 1467 |
+
"bbox": [
|
| 1468 |
+
112,
|
| 1469 |
+
726,
|
| 1470 |
+
248,
|
| 1471 |
+
740
|
| 1472 |
+
],
|
| 1473 |
+
"page_idx": 8
|
| 1474 |
+
},
|
| 1475 |
+
{
|
| 1476 |
+
"type": "text",
|
| 1477 |
+
"text": "Even though PRoDeliberation shows significant latency reduction compared to autoregressive deliberation while retaining the model quality, PRoDeliberation still has its own limitations.",
|
| 1478 |
+
"bbox": [
|
| 1479 |
+
112,
|
| 1480 |
+
751,
|
| 1481 |
+
487,
|
| 1482 |
+
814
|
| 1483 |
+
],
|
| 1484 |
+
"page_idx": 8
|
| 1485 |
+
},
|
| 1486 |
+
{
|
| 1487 |
+
"type": "text",
|
| 1488 |
+
"text": "Lack of beam search support Autoregressive deliberation model can use beam search with larger beam size to improve the model's generation quality, at the cost of added latency. PRoDeliberation, on the other hand, has a non-autoregressive decoder and cannot directly use beam search to fur",
|
| 1489 |
+
"bbox": [
|
| 1490 |
+
112,
|
| 1491 |
+
825,
|
| 1492 |
+
489,
|
| 1493 |
+
920
|
| 1494 |
+
],
|
| 1495 |
+
"page_idx": 8
|
| 1496 |
+
},
|
| 1497 |
+
{
|
| 1498 |
+
"type": "text",
|
| 1499 |
+
"text": "ther augment the model performance. We can extend PRoDeliberation to allow for beam search in a couple of ways. Similar to (Xiao et al., 2023), we can use multiple candidate lengths from the length prediction module and decode according to each in parallel. Another possibility is to look into fusion mechanisms with language models similar to (Futami et al., 2022). However, one thing to note is that in the on-device space which deliberation models target (Le et al., 2022), the added latency from larger beam size is rarely tolerated and beam size of 1 is often used.",
|
| 1500 |
+
"bbox": [
|
| 1501 |
+
507,
|
| 1502 |
+
244,
|
| 1503 |
+
884,
|
| 1504 |
+
437
|
| 1505 |
+
],
|
| 1506 |
+
"page_idx": 8
|
| 1507 |
+
},
|
| 1508 |
+
{
|
| 1509 |
+
"type": "text",
|
| 1510 |
+
"text": "Data requirements This approach requires access to pairs of audio data with semantic parse labels. Though this is a common requirement for end-to-end SLU models, it does pose a more difficult data requirement than cascaded systems, which require audio samples with text labels and text samples with semantic parse labels, the combination of which is easier to generate than the audio data with semantic parse labels.",
|
| 1511 |
+
"bbox": [
|
| 1512 |
+
507,
|
| 1513 |
+
447,
|
| 1514 |
+
884,
|
| 1515 |
+
592
|
| 1516 |
+
],
|
| 1517 |
+
"page_idx": 8
|
| 1518 |
+
},
|
| 1519 |
+
{
|
| 1520 |
+
"type": "text",
|
| 1521 |
+
"text": "While this paper focused on methods which minimize latency, there are other mechanisms for further improving quality at the expense of increased latency. Iterative refinement is an approach that would have this trade-off, which can be used for both ProDeliberation as well as the Mask Predict baseline. Future work may explore this approach to offer approaches with different balances between latency and quality.",
|
| 1522 |
+
"bbox": [
|
| 1523 |
+
507,
|
| 1524 |
+
599,
|
| 1525 |
+
882,
|
| 1526 |
+
744
|
| 1527 |
+
],
|
| 1528 |
+
"page_idx": 8
|
| 1529 |
+
},
|
| 1530 |
+
{
|
| 1531 |
+
"type": "text",
|
| 1532 |
+
"text": "References",
|
| 1533 |
+
"text_level": 1,
|
| 1534 |
+
"bbox": [
|
| 1535 |
+
510,
|
| 1536 |
+
770,
|
| 1537 |
+
608,
|
| 1538 |
+
785
|
| 1539 |
+
],
|
| 1540 |
+
"page_idx": 8
|
| 1541 |
+
},
|
| 1542 |
+
{
|
| 1543 |
+
"type": "text",
|
| 1544 |
+
"text": "Armen Aghajanyan, Jean Maillard, Akshit Shrivastava, Keith Diedrick, Michael Haeger, Haoran Li, Yashar Mehdad, Veselin Stoyanov, Anuj Kumar, Mike Lewis, and Sonal Gupta. 2020. Conversational Semantic Parsing. In Proceedings of the Conference on Empirical Methods in Natural Language Processing and the International Joint Conference on Natural Language Processing (EMNLP-IJCNLP).",
|
| 1545 |
+
"bbox": [
|
| 1546 |
+
510,
|
| 1547 |
+
793,
|
| 1548 |
+
884,
|
| 1549 |
+
898
|
| 1550 |
+
],
|
| 1551 |
+
"page_idx": 8
|
| 1552 |
+
},
|
| 1553 |
+
{
|
| 1554 |
+
"type": "text",
|
| 1555 |
+
"text": "Arun Babu, Akshit Shrivastava, Armen Aghajanyan,",
|
| 1556 |
+
"bbox": [
|
| 1557 |
+
509,
|
| 1558 |
+
906,
|
| 1559 |
+
882,
|
| 1560 |
+
921
|
| 1561 |
+
],
|
| 1562 |
+
"page_idx": 8
|
| 1563 |
+
},
|
| 1564 |
+
{
|
| 1565 |
+
"type": "page_number",
|
| 1566 |
+
"text": "14035",
|
| 1567 |
+
"bbox": [
|
| 1568 |
+
477,
|
| 1569 |
+
927,
|
| 1570 |
+
524,
|
| 1571 |
+
940
|
| 1572 |
+
],
|
| 1573 |
+
"page_idx": 8
|
| 1574 |
+
},
|
| 1575 |
+
{
|
| 1576 |
+
"type": "list",
|
| 1577 |
+
"sub_type": "ref_text",
|
| 1578 |
+
"list_items": [
|
| 1579 |
+
"Ahmed Aly, Angela Fan, and Marjan Ghazvininej. 2021. Non-Autoregressive Semantic Parsing for Compositional Task-Oriented Dialog. In Proceedings of the Annual Conference of the North American Chapter of the Association for Computational Linguistics (NAACL).",
|
| 1580 |
+
"Alexei Baevski, Henry Zhou, Abdelrahman Mohamed, and Michael Auli. 2020. wav2vec 2.0: A framework for self-supervised learning of speech representations. CoRR, abs/2006.11477.",
|
| 1581 |
+
"Emanuele Bastianelli, Andrea Vanzo, Pawel Swietojanski, and Verena Rieser. 2020. SLURP: A spoken language understanding resource package. CoRR, abs/2011.13205.",
|
| 1582 |
+
"Xilun Chen, Ashish Ghoshal, Yashar Mehdad, Luke Zettlemoyer, and Sonal Gupta. 2020. Low-Resource Domain Adaptation for Compositional Task-Oriented Semantic Parsing. In Proceedings of the Conference on Empirical Methods in Natural Language Processing (EMNLP).",
|
| 1583 |
+
"Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. 2019. Bert: Pre-training of deep bidirectional transformers for language understanding.",
|
| 1584 |
+
"Hayato Futami, Hirofumi Inaguma, Sei Ueno, Masato Mimura, Shinsuke Sakai, and Tatsuya Kawahara. 2022. Non-autoregressive error correction for ctc-based asr with phone-conditioned masked lm. arXiv preprint arXiv:2209.04062.",
|
| 1585 |
+
"Marjan Ghazvininejad, Omer Levy, Yinhan Liu, and Luke Zettlemoyer. 2019. Mask-Predict: Parallel Decoding of Conditional Masked Language Models. In Proceedings of the Conference on Empirical Methods in Natural Language Processing and the International Joint Conference on Natural Language Processing (EMNLP-IJCNLP).",
|
| 1586 |
+
"A. Graves. 2012. Sequence transduction with recurrent neural networks. In ICML Representation Learning Workshop.",
|
| 1587 |
+
"Alex Graves, Santiago Fernández, Faustino J. Gomez, and Jürgen Schmidhuber. 2006. Connectionist temporal classification: labelling unsegmented sequence data with recurrent neural networks. Proceedings of the 23rd international conference on Machine learning.",
|
| 1588 |
+
"Anmol Gulati, James Qin, Chung-Cheng Chiu, Niki Parmar, Yu Zhang, Jiahui Yu, Wei Han, Shibo Wang, Zhengdong Zhang, Yonghui Wu, et al. 2020. Conformer: Convolution-augmented transformer for speech recognition. arXiv preprint arXiv:2005.08100.",
|
| 1589 |
+
"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."
|
| 1590 |
+
],
|
| 1591 |
+
"bbox": [
|
| 1592 |
+
115,
|
| 1593 |
+
85,
|
| 1594 |
+
489,
|
| 1595 |
+
919
|
| 1596 |
+
],
|
| 1597 |
+
"page_idx": 9
|
| 1598 |
+
},
|
| 1599 |
+
{
|
| 1600 |
+
"type": "list",
|
| 1601 |
+
"sub_type": "ref_text",
|
| 1602 |
+
"list_items": [
|
| 1603 |
+
"Kevin Hu, Rohit Prabhavalkar, Ruoming Pang, and Tara Sainath. 2020. Deliberation Model Based Two-Pass End-to-End Speech Recognition. In Proc. ICASSP.",
|
| 1604 |
+
"Yosuke Kashiwagi, Siddhant Arora, Hayato Futami, Jessica Huynh, Shih-Lun Wu, Yifan Peng, Brian Yan, Emiru Tsunoo, and Shinji Watanabe. 2023. Ebranchformer-based e2e slu toward stop on-device challenge. In ICASSP 2023 - 2023 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pages 1-2.",
|
| 1605 |
+
"Suyoun Kim, Akshit Shrivastava, Duc Le, Ju Lin, Ozlem Kalinli, and Michael L. Seltzer. 2023. Modality confidence aware training for robust end-to-end spoken language understanding. ArXiv, abs/2307.12134.",
|
| 1606 |
+
"Taku Kudo and John Richardson. 2018. SentencePiece: A simple and language independent subword tokenizer and tokenizer for neural text processing. In Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing: System Demonstrations, pages 66-71, Brussels, Belgium. Association for Computational Linguistics.",
|
| 1607 |
+
"Duc Le, Akshat Shrivastava, Paden Tomasello, Suyoun Kim, Aleksandr Livshits, Ozlem Kalinli, and Michael L Seltzer. 2022. Deliberation model for ondevice spoken language understanding. Interspeech.",
|
| 1608 |
+
"Mike Lewis, Yinhan Liu, Naman Goyal, Marjan Ghazvininejad, Abdelrahman Mohamed, Omer Levy, Ves Stoyanov, and Luke Zettlemoyer. 2020. BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehension. In Proceedings of the Annual Meeting of the Association for Computational Linguistics (ACL).",
|
| 1609 |
+
"Jindrich Libovicky and Jindrich Helcl. 2018. End-to-end non-autoregressive neural machine translation with connectionist temporal classification. In Conference on Empirical Methods in Natural Language Processing.",
|
| 1610 |
+
"Daniel S Park, William Chan, Yu Zhang, Chung-Cheng Chiu, Barret Zoph, Ekin D Cubuk, and Quoc V Le. 2019. Specaugment: A simple data augmentation method for automatic speech recognition. arXiv preprint arXiv:1904.08779.",
|
| 1611 |
+
"Martin H. Radfar, Athanasios Mouchtaris, Siegfried Kunzmann, and Ariya Rastrow. 2021. Fans: Fusing asr and nlu for on-device slu. In *Interspeech*.",
|
| 1612 |
+
"Colin Raffel, Noam Shazeer, Adam Roberts, Katherine Lee, Sharan Narang, Michael Matena, Yanqi Zhou, Wei Li, and Peter J Liu. 2020. Exploring the limits of transfer learning with a unified text-to-text transformer. The Journal of Machine Learning Research, 21(1):5485-5551.",
|
| 1613 |
+
"Milind Rao, Anirudh Raju, Pranav Dheram, Bach Bui, and Ariya Rastrow. 2020. Speech to semantics: Improve asr and nlu jointly via all-neural interfaces. In Proc. INTERSPEECH."
|
| 1614 |
+
],
|
| 1615 |
+
"bbox": [
|
| 1616 |
+
510,
|
| 1617 |
+
85,
|
| 1618 |
+
882,
|
| 1619 |
+
919
|
| 1620 |
+
],
|
| 1621 |
+
"page_idx": 9
|
| 1622 |
+
},
|
| 1623 |
+
{
|
| 1624 |
+
"type": "page_number",
|
| 1625 |
+
"text": "14036",
|
| 1626 |
+
"bbox": [
|
| 1627 |
+
477,
|
| 1628 |
+
928,
|
| 1629 |
+
524,
|
| 1630 |
+
940
|
| 1631 |
+
],
|
| 1632 |
+
"page_idx": 9
|
| 1633 |
+
},
|
| 1634 |
+
{
|
| 1635 |
+
"type": "list",
|
| 1636 |
+
"sub_type": "ref_text",
|
| 1637 |
+
"list_items": [
|
| 1638 |
+
"Chitwan Sahara, William Chan, Saurabh Saxena, and Mohammad Norouzi. 2020. Non-autoregressive machine translation with latent alignments. *ArXiv*, abs/2004.07437.",
|
| 1639 |
+
"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 Linguistics (Volume 1: Long Papers).",
|
| 1640 |
+
"Roshan Sharma, Suyoun Kim, Daniel Lazar, Trang Le, Akshit Shrivastava, Kwanghoon Ahn, Piyush Kansal, Leda Sari, Ozlem Kalinli, and Michael Seltzer. 2023. Augmenting text for spoken language understanding with large language models. arXiv preprint arXiv:2309.09390.",
|
| 1641 |
+
"Yangyang Shi, Chunyang Wu, Dilin Wang, Alex Xiao, Jay Mahadeokar, Xiaohui Zhang, Chunxi Liu, Ke Li, Yuan Shangguan, Varun Nagaraja, et al. 2022. Streaming transformer transducer based speech recognition using non-causal convolution. Proc. ICASSP.",
|
| 1642 |
+
"Akshat Shrivastava, Pierce Chuang, Arun Babu, Shrey Desai, Abhinav Arora, Alexander Zotov, and Ahmed Aly. 2021. Span Pointer Networks for Non-Autoregressive Task-Oriented Semantic Parsing. In Proceedings of the Findings of the Conference on Empirical Methods in Natural Language Processing (EMNLP).",
|
| 1643 |
+
"Akshat Shrivastava, Shrey Desai, Anchit Gupta, Ali Elkahky, Aleksandr Livshits, Alexander Zotov, and Ahmed Aly. 2023. Retrieve-and-fill for scenario-based task-oriented semantic parsing. In Proceedings of the 17th Conference of the European Chapter of the Association for Computational Linguistics, pages 430-447, Dubrovnik, Croatia. Association for Computational Linguistics.",
|
| 1644 |
+
"Ilya Sutskever, Oriol Vinyals, and Quoc V Le. 2014. Sequence to sequence learning with neural networks. Advances in neural information processing systems, 27.",
|
| 1645 |
+
"Paden Tomasello, Akshit Shrivastava, Daniel Lazar, Po-Chun Hsu, Duc Le, Adithya Sagar, Ali Elkahky, Jade Copet, Wei-Ning Hsu, Yossef Mordechay, Robin Algayres, Tu Anh Nguyen, Emmanuel Dupoux, Luke Zettlemoyer, and Abdelrahman Mohamed. 2023. STOP: A dataset for Spoken Task Oriented Semantic Parsing. In CoRR.",
|
| 1646 |
+
"Yisheng Xiao, Lijun Wu, Junliang Guo, Juntao Li, Min Zhang, Tao Qin, and Tie-yan Liu. 2023. A survey on non-autoregressive generation for neural machine translation and beyond. IEEE Transactions on Pattern Analysis and Machine Intelligence.",
|
| 1647 |
+
"Qile Zhu, Haidar Khan, Saleh Soltan, Stephen Rawls, and Wael Hamza. 2020. Don’t Parse, Insert: Multilingual Semantic Parsing with Insertion Based Decoding. In Proceedings of the Conference on Computational Natural Language Learning (CoNLL)."
|
| 1648 |
+
],
|
| 1649 |
+
"bbox": [
|
| 1650 |
+
115,
|
| 1651 |
+
85,
|
| 1652 |
+
489,
|
| 1653 |
+
920
|
| 1654 |
+
],
|
| 1655 |
+
"page_idx": 10
|
| 1656 |
+
},
|
| 1657 |
+
{
|
| 1658 |
+
"type": "text",
|
| 1659 |
+
"text": "A Appendix",
|
| 1660 |
+
"text_level": 1,
|
| 1661 |
+
"bbox": [
|
| 1662 |
+
510,
|
| 1663 |
+
83,
|
| 1664 |
+
633,
|
| 1665 |
+
101
|
| 1666 |
+
],
|
| 1667 |
+
"page_idx": 10
|
| 1668 |
+
},
|
| 1669 |
+
{
|
| 1670 |
+
"type": "page_number",
|
| 1671 |
+
"text": "14037",
|
| 1672 |
+
"bbox": [
|
| 1673 |
+
477,
|
| 1674 |
+
928,
|
| 1675 |
+
524,
|
| 1676 |
+
940
|
| 1677 |
+
],
|
| 1678 |
+
"page_idx": 10
|
| 1679 |
+
},
|
| 1680 |
+
{
|
| 1681 |
+
"type": "table",
|
| 1682 |
+
"img_path": "images/dbe96f09b0a51c26a45a3753f6f24f9df798ce57809383ed19d7d8bd6702d493.jpg",
|
| 1683 |
+
"table_caption": [
|
| 1684 |
+
"Table 7: Exact Match and Latency at output length $= {10}$ and output length $= {50}$ of AR Deliberation on STOP eval set, with varying encoder and decoder depths at $5\\mathrm{M}$ parameters."
|
| 1685 |
+
],
|
| 1686 |
+
"table_footnote": [],
|
| 1687 |
+
"table_body": "<table><tr><td>Enc. layers</td><td>Dec. layers</td><td>Hidden dim.</td><td>Total params</td><td>EM</td><td>Latency @ output_len=10</td><td>Latency @ output_len=20</td></tr><tr><td>2</td><td>1</td><td>224</td><td>5M</td><td>68.37</td><td>58</td><td>267</td></tr><tr><td>3</td><td>1</td><td>200</td><td>5M</td><td>67.85</td><td>62</td><td>273</td></tr><tr><td>4</td><td>1</td><td>192</td><td>5M</td><td>67.86</td><td>63</td><td>271</td></tr><tr><td>5</td><td>1</td><td>176</td><td>5M</td><td>68.11</td><td>71</td><td>301</td></tr><tr><td>2</td><td>2</td><td>200</td><td>5M</td><td>68.27</td><td>98</td><td>365</td></tr><tr><td>2</td><td>3</td><td>176</td><td>5M</td><td>68.39</td><td>124</td><td>510</td></tr><tr><td>2</td><td>4</td><td>168</td><td>5M</td><td>68.02</td><td>157</td><td>771</td></tr><tr><td>2</td><td>5</td><td>152</td><td>5M</td><td>68.37</td><td>294</td><td>953</td></tr></table>",
|
| 1688 |
+
"bbox": [
|
| 1689 |
+
184,
|
| 1690 |
+
173,
|
| 1691 |
+
808,
|
| 1692 |
+
353
|
| 1693 |
+
],
|
| 1694 |
+
"page_idx": 11
|
| 1695 |
+
},
|
| 1696 |
+
{
|
| 1697 |
+
"type": "table",
|
| 1698 |
+
"img_path": "images/bed070594417d3263ca4fdf8f9b698412541ac3fdeaeb561cb202fe24ca82fb5.jpg",
|
| 1699 |
+
"table_caption": [
|
| 1700 |
+
"Table 8: Hyperparameter values of PRoDeliberation."
|
| 1701 |
+
],
|
| 1702 |
+
"table_footnote": [],
|
| 1703 |
+
"table_body": "<table><tr><td>Hyperparameter</td><td>10M ASR</td><td>25M ASR</td></tr><tr><td>Length loss scaling factor (λ)</td><td>0.2504</td><td>0.1260</td></tr><tr><td>Target length scale (α)</td><td>2</td><td>2</td></tr><tr><td>Decoder attention dropout</td><td>0.1784</td><td>0.4991</td></tr><tr><td>Encoder dropout</td><td>0.1697</td><td>0.2646</td></tr><tr><td>Deletion probability</td><td>0.0026</td><td>0.0070</td></tr><tr><td>Substitution probability</td><td>0.0882</td><td>0.0256</td></tr><tr><td>Learning rate</td><td>0.00085</td><td>0.00053</td></tr><tr><td>Warm up epochs</td><td>10</td><td>10</td></tr><tr><td>Hold epochs</td><td>40</td><td>90</td></tr><tr><td>Decay epochs</td><td>95</td><td>105</td></tr></table>",
|
| 1704 |
+
"bbox": [
|
| 1705 |
+
278,
|
| 1706 |
+
486,
|
| 1707 |
+
712,
|
| 1708 |
+
682
|
| 1709 |
+
],
|
| 1710 |
+
"page_idx": 11
|
| 1711 |
+
},
|
| 1712 |
+
{
|
| 1713 |
+
"type": "table",
|
| 1714 |
+
"img_path": "images/25eae9bdcf660d104da925b2a51c9f99cf60db8c079a3e503af9a5a8a3c2e449.jpg",
|
| 1715 |
+
"table_caption": [
|
| 1716 |
+
"Table 9: Exact Match of PRoDeliberation on STOP test set, with varying target length scale."
|
| 1717 |
+
],
|
| 1718 |
+
"table_footnote": [],
|
| 1719 |
+
"table_body": "<table><tr><td>Target length scale</td><td>1.3</td><td>1.5</td><td>1.8</td><td>2</td><td>2.5</td><td>3</td><td>4</td></tr><tr><td>Exact Match</td><td>49.50</td><td>49.95</td><td>62.44</td><td>68.31</td><td>66.48</td><td>67.33</td><td>68.08</td></tr></table>",
|
| 1720 |
+
"bbox": [
|
| 1721 |
+
196,
|
| 1722 |
+
816,
|
| 1723 |
+
798,
|
| 1724 |
+
866
|
| 1725 |
+
],
|
| 1726 |
+
"page_idx": 11
|
| 1727 |
+
},
|
| 1728 |
+
{
|
| 1729 |
+
"type": "page_number",
|
| 1730 |
+
"text": "14038",
|
| 1731 |
+
"bbox": [
|
| 1732 |
+
477,
|
| 1733 |
+
927,
|
| 1734 |
+
524,
|
| 1735 |
+
940
|
| 1736 |
+
],
|
| 1737 |
+
"page_idx": 11
|
| 1738 |
+
}
|
| 1739 |
+
]
|
2024/PRoDeliberation_ Parallel Robust Deliberation for End-to-End Spoken Language Understanding/d5bac4e5-cc08-4dad-9e44-6c546b68d3f5_model.json
ADDED
|
@@ -0,0 +1,2204 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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": "PRoDeliberation: Parallel Robust Deliberation for End-to-End Spoken Language Understanding"
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"bbox": [
|
| 17 |
+
0.171,
|
| 18 |
+
0.151,
|
| 19 |
+
0.874,
|
| 20 |
+
0.221
|
| 21 |
+
],
|
| 22 |
+
"angle": 0,
|
| 23 |
+
"content": "Trang Le* Daniel Lazar\\(^{1\\dagger}\\) Suyoun Kim Shan Jiang Duc Le Adithya Sagar Aleksandr Livshits Ahmed Aly Akshit Shrivastava\\(^{\\dagger}\\) Meta, Coldrays\\(^{1}\\) trangleminh@meta.com, daniel@coldrays.com, akshitsh77@gmail.com"
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "title",
|
| 27 |
+
"bbox": [
|
| 28 |
+
0.261,
|
| 29 |
+
0.261,
|
| 30 |
+
0.341,
|
| 31 |
+
0.277
|
| 32 |
+
],
|
| 33 |
+
"angle": 0,
|
| 34 |
+
"content": "Abstract"
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"type": "text",
|
| 38 |
+
"bbox": [
|
| 39 |
+
0.145,
|
| 40 |
+
0.291,
|
| 41 |
+
0.461,
|
| 42 |
+
0.618
|
| 43 |
+
],
|
| 44 |
+
"angle": 0,
|
| 45 |
+
"content": "Spoken Language Understanding (SLU) is a critical component of voice assistants; it consists of converting speech to semantic parses for task execution. Previous works have explored end-to-end models to improve the quality and robustness of SLU models with Deliberation, however these models have remained autoregressive, resulting in higher latencies. In this work we introduce PRoDeliberation, a novel method leveraging a Connectionist Temporal Classification-based decoding strategy as well as a denoising objective to train robust non-autoregressive deliberation models. We show that PRoDeliberation achieves the latency reduction of parallel decoding (2-10x improvement over autoregressive models) while retaining the ability to correct Automatic Speech Recognition (ASR) mistranscriptions of autoregressive deliberation systems. We further show that the design of the denoising training allows PRoDeliberation to overcome the limitations of small ASR devices, and we provide analysis on the necessity of each component of the system."
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"type": "title",
|
| 49 |
+
"bbox": [
|
| 50 |
+
0.115,
|
| 51 |
+
0.633,
|
| 52 |
+
0.26,
|
| 53 |
+
0.648
|
| 54 |
+
],
|
| 55 |
+
"angle": 0,
|
| 56 |
+
"content": "1 Introduction"
|
| 57 |
+
},
|
| 58 |
+
{
|
| 59 |
+
"type": "text",
|
| 60 |
+
"bbox": [
|
| 61 |
+
0.113,
|
| 62 |
+
0.66,
|
| 63 |
+
0.49,
|
| 64 |
+
0.819
|
| 65 |
+
],
|
| 66 |
+
"angle": 0,
|
| 67 |
+
"content": "Traditionally, Spoken Language Understanding (SLU) systems are pipelined systems of 1) an Automatic Speech Recognition (ASR) model, which transcribes audio to text, and 2) a semantic parsing model to convert text into structured frames. This results in some inherent limitations, such as cascading errors from ASR mistranscriptions, larger overall systems size from having two models with redundant capabilities, and the inability to use audio cues for semantic parse generation."
|
| 68 |
+
},
|
| 69 |
+
{
|
| 70 |
+
"type": "text",
|
| 71 |
+
"bbox": [
|
| 72 |
+
0.113,
|
| 73 |
+
0.821,
|
| 74 |
+
0.49,
|
| 75 |
+
0.886
|
| 76 |
+
],
|
| 77 |
+
"angle": 0,
|
| 78 |
+
"content": "End-to-end (E2E) models hold promise of overcoming these limitations by removing the barrier between these two models and allowing audio information to be used in the semantic parse generation."
|
| 79 |
+
},
|
| 80 |
+
{
|
| 81 |
+
"type": "text",
|
| 82 |
+
"bbox": [
|
| 83 |
+
0.508,
|
| 84 |
+
0.262,
|
| 85 |
+
0.885,
|
| 86 |
+
0.358
|
| 87 |
+
],
|
| 88 |
+
"angle": 0,
|
| 89 |
+
"content": "In particular, deliberation-based E2E SLU models (Le et al., 2022; Hu et al., 2020) improve explainability (transcript is produced by first-pass ASR), support of complex compositional structure (via the general decoder), and quality (allows rewriting the ASR transcriptions based on audio information)."
|
| 90 |
+
},
|
| 91 |
+
{
|
| 92 |
+
"type": "text",
|
| 93 |
+
"bbox": [
|
| 94 |
+
0.508,
|
| 95 |
+
0.359,
|
| 96 |
+
0.885,
|
| 97 |
+
0.551
|
| 98 |
+
],
|
| 99 |
+
"angle": 0,
|
| 100 |
+
"content": "However, one downside of the existing deliberation-based E2E SLU models is that they use an autoregressive (AR) decoder for generation, which yields high latency, especially for longer outputs. This precludes them from being used in the on-device setting, which requires low latency. Previous semantic parsing models can yield very low latency with non-autoregressive (NAR) decoders (Shrivastava et al., 2023, 2021; Babu et al., 2021; Zhu et al., 2020), however, these systems use extractive decoders and are therefore unable to correct mistranscriptions from ASR systems."
|
| 101 |
+
},
|
| 102 |
+
{
|
| 103 |
+
"type": "text",
|
| 104 |
+
"bbox": [
|
| 105 |
+
0.508,
|
| 106 |
+
0.552,
|
| 107 |
+
0.885,
|
| 108 |
+
0.856
|
| 109 |
+
],
|
| 110 |
+
"angle": 0,
|
| 111 |
+
"content": "Our study targets improving Deliberation based SLU systems to adapt them for on-device streaming use cases. In this work we present PRoDeliberation (Parallel Robust Deliberation), a novel Connectionist Temporal Classification (CTC) decoder-based E2E SLU model. CTC decoders are commonly used for ASR (Graves et al., 2006) and have successfully been adapted for machine translation (Libovický and Helcl, 2018; Sahara et al., 2020), but to the best of our knowledge, have never been used for semantic parsing. To further improve the rewrite capabilities of this model we introduce a denoising training regimen inspired by masked language modeling (Devlin et al., 2019; Lewis et al., 2020) in which we corrupt the transcription text, requiring the model to correct the corruptions by relying on audio. The denoising training applies beyond SLU and can be used with any downstream task which consumes ASR transcriptions."
|
| 112 |
+
},
|
| 113 |
+
{
|
| 114 |
+
"type": "text",
|
| 115 |
+
"bbox": [
|
| 116 |
+
0.508,
|
| 117 |
+
0.858,
|
| 118 |
+
0.884,
|
| 119 |
+
0.921
|
| 120 |
+
],
|
| 121 |
+
"angle": 0,
|
| 122 |
+
"content": "We study PRoDeliberation and find that PRoDeliberation retains the quality of autoregressive parsers while achieving a 2-10x latency reduction across different ASR model sizes. We compare"
|
| 123 |
+
},
|
| 124 |
+
{
|
| 125 |
+
"type": "page_footnote",
|
| 126 |
+
"bbox": [
|
| 127 |
+
0.141,
|
| 128 |
+
0.895,
|
| 129 |
+
0.269,
|
| 130 |
+
0.907
|
| 131 |
+
],
|
| 132 |
+
"angle": 0,
|
| 133 |
+
"content": "* Equal contribution"
|
| 134 |
+
},
|
| 135 |
+
{
|
| 136 |
+
"type": "page_footnote",
|
| 137 |
+
"bbox": [
|
| 138 |
+
0.141,
|
| 139 |
+
0.907,
|
| 140 |
+
0.31,
|
| 141 |
+
0.92
|
| 142 |
+
],
|
| 143 |
+
"angle": 0,
|
| 144 |
+
"content": "† Work done while at Meta"
|
| 145 |
+
},
|
| 146 |
+
{
|
| 147 |
+
"type": "list",
|
| 148 |
+
"bbox": [
|
| 149 |
+
0.141,
|
| 150 |
+
0.895,
|
| 151 |
+
0.31,
|
| 152 |
+
0.92
|
| 153 |
+
],
|
| 154 |
+
"angle": 0,
|
| 155 |
+
"content": null
|
| 156 |
+
},
|
| 157 |
+
{
|
| 158 |
+
"type": "page_number",
|
| 159 |
+
"bbox": [
|
| 160 |
+
0.477,
|
| 161 |
+
0.928,
|
| 162 |
+
0.526,
|
| 163 |
+
0.941
|
| 164 |
+
],
|
| 165 |
+
"angle": 0,
|
| 166 |
+
"content": "14027"
|
| 167 |
+
},
|
| 168 |
+
{
|
| 169 |
+
"type": "footer",
|
| 170 |
+
"bbox": [
|
| 171 |
+
0.211,
|
| 172 |
+
0.946,
|
| 173 |
+
0.788,
|
| 174 |
+
0.973
|
| 175 |
+
],
|
| 176 |
+
"angle": 0,
|
| 177 |
+
"content": "Findings of the Association for Computational Linguistics: EMNLP 2024, pages 14027-14038 November 12-16, 2024 ©2024 Association for Computational Linguistics"
|
| 178 |
+
}
|
| 179 |
+
],
|
| 180 |
+
[
|
| 181 |
+
{
|
| 182 |
+
"type": "image",
|
| 183 |
+
"bbox": [
|
| 184 |
+
0.171,
|
| 185 |
+
0.084,
|
| 186 |
+
0.825,
|
| 187 |
+
0.158
|
| 188 |
+
],
|
| 189 |
+
"angle": 0,
|
| 190 |
+
"content": null
|
| 191 |
+
},
|
| 192 |
+
{
|
| 193 |
+
"type": "image_caption",
|
| 194 |
+
"bbox": [
|
| 195 |
+
0.355,
|
| 196 |
+
0.166,
|
| 197 |
+
0.632,
|
| 198 |
+
0.18
|
| 199 |
+
],
|
| 200 |
+
"angle": 0,
|
| 201 |
+
"content": "Deliberation-based Autoregressive SLU"
|
| 202 |
+
},
|
| 203 |
+
{
|
| 204 |
+
"type": "image",
|
| 205 |
+
"bbox": [
|
| 206 |
+
0.171,
|
| 207 |
+
0.189,
|
| 208 |
+
0.8,
|
| 209 |
+
0.254
|
| 210 |
+
],
|
| 211 |
+
"angle": 0,
|
| 212 |
+
"content": null
|
| 213 |
+
},
|
| 214 |
+
{
|
| 215 |
+
"type": "image_caption",
|
| 216 |
+
"bbox": [
|
| 217 |
+
0.31,
|
| 218 |
+
0.26,
|
| 219 |
+
0.674,
|
| 220 |
+
0.274
|
| 221 |
+
],
|
| 222 |
+
"angle": 0,
|
| 223 |
+
"content": "ProDeliberation: Proposed Non Autoregressive SLU"
|
| 224 |
+
},
|
| 225 |
+
{
|
| 226 |
+
"type": "image",
|
| 227 |
+
"bbox": [
|
| 228 |
+
0.264,
|
| 229 |
+
0.279,
|
| 230 |
+
0.72,
|
| 231 |
+
0.307
|
| 232 |
+
],
|
| 233 |
+
"angle": 0,
|
| 234 |
+
"content": null
|
| 235 |
+
},
|
| 236 |
+
{
|
| 237 |
+
"type": "image_caption",
|
| 238 |
+
"bbox": [
|
| 239 |
+
0.113,
|
| 240 |
+
0.318,
|
| 241 |
+
0.884,
|
| 242 |
+
0.361
|
| 243 |
+
],
|
| 244 |
+
"angle": 0,
|
| 245 |
+
"content": "Figure 1: Overview of the proposed method, compared to the previous state of the art for end-to-end Spoken Language Understanding. The proposed method adds two crucial components: a CTC non-autoregressive decoder and a text noising mechanism for training. We label the two passes for the Deliberation architecture (both methods)."
|
| 246 |
+
},
|
| 247 |
+
{
|
| 248 |
+
"type": "text",
|
| 249 |
+
"bbox": [
|
| 250 |
+
0.113,
|
| 251 |
+
0.386,
|
| 252 |
+
0.489,
|
| 253 |
+
0.497
|
| 254 |
+
],
|
| 255 |
+
"angle": 0,
|
| 256 |
+
"content": "ProDeliberation to Mask Predict-based approaches (Ghazvininejad et al., 2019; Babu et al., 2021) and confirm that PRoDeliberation overcomes the quality shortcomings of Mask Predict. Finally, we show that the denoising objective further boosts ASR robustness by approximately \\(0.3\\%\\), thereby exceeding the quality of autoregressive models."
|
| 257 |
+
},
|
| 258 |
+
{
|
| 259 |
+
"type": "text",
|
| 260 |
+
"bbox": [
|
| 261 |
+
0.114,
|
| 262 |
+
0.499,
|
| 263 |
+
0.49,
|
| 264 |
+
0.53
|
| 265 |
+
],
|
| 266 |
+
"angle": 0,
|
| 267 |
+
"content": "We provide a summary of our approach in Figure 1; concretely, our contributions are:"
|
| 268 |
+
},
|
| 269 |
+
{
|
| 270 |
+
"type": "text",
|
| 271 |
+
"bbox": [
|
| 272 |
+
0.13,
|
| 273 |
+
0.54,
|
| 274 |
+
0.489,
|
| 275 |
+
0.62
|
| 276 |
+
],
|
| 277 |
+
"angle": 0,
|
| 278 |
+
"content": "1. We propose the first non-autoregressive deliberation model, PRoDeliberation. Our model leverages CTC decoding and a denoising objective; both of which have not been applied to Spoken Language Understanding before."
|
| 279 |
+
},
|
| 280 |
+
{
|
| 281 |
+
"type": "text",
|
| 282 |
+
"bbox": [
|
| 283 |
+
0.129,
|
| 284 |
+
0.63,
|
| 285 |
+
0.49,
|
| 286 |
+
0.693
|
| 287 |
+
],
|
| 288 |
+
"angle": 0,
|
| 289 |
+
"content": "2. Our model shows significant latency improvement while preserving quality of autoregressive SLU models, which is a challenging but important task."
|
| 290 |
+
},
|
| 291 |
+
{
|
| 292 |
+
"type": "text",
|
| 293 |
+
"bbox": [
|
| 294 |
+
0.129,
|
| 295 |
+
0.704,
|
| 296 |
+
0.487,
|
| 297 |
+
0.736
|
| 298 |
+
],
|
| 299 |
+
"angle": 0,
|
| 300 |
+
"content": "3. We provide ablations for PRoDeliberation to understand the impact of each component."
|
| 301 |
+
},
|
| 302 |
+
{
|
| 303 |
+
"type": "list",
|
| 304 |
+
"bbox": [
|
| 305 |
+
0.129,
|
| 306 |
+
0.54,
|
| 307 |
+
0.49,
|
| 308 |
+
0.736
|
| 309 |
+
],
|
| 310 |
+
"angle": 0,
|
| 311 |
+
"content": null
|
| 312 |
+
},
|
| 313 |
+
{
|
| 314 |
+
"type": "title",
|
| 315 |
+
"bbox": [
|
| 316 |
+
0.114,
|
| 317 |
+
0.747,
|
| 318 |
+
0.266,
|
| 319 |
+
0.763
|
| 320 |
+
],
|
| 321 |
+
"angle": 0,
|
| 322 |
+
"content": "2 Related work"
|
| 323 |
+
},
|
| 324 |
+
{
|
| 325 |
+
"type": "title",
|
| 326 |
+
"bbox": [
|
| 327 |
+
0.114,
|
| 328 |
+
0.772,
|
| 329 |
+
0.424,
|
| 330 |
+
0.789
|
| 331 |
+
],
|
| 332 |
+
"angle": 0,
|
| 333 |
+
"content": "2.1 Spoken Language Understanding"
|
| 334 |
+
},
|
| 335 |
+
{
|
| 336 |
+
"type": "text",
|
| 337 |
+
"bbox": [
|
| 338 |
+
0.113,
|
| 339 |
+
0.793,
|
| 340 |
+
0.49,
|
| 341 |
+
0.921
|
| 342 |
+
],
|
| 343 |
+
"angle": 0,
|
| 344 |
+
"content": "Datasets Semantic parsing is a critical piece of traditional voice assistants, however text-based semantic parsing benchmarks assume gold text, disregarding errors propagating from speech understanding in the full SLU pipeline. Recently new SLU benchmarks have been introduced such as SLURP (Bastianelli et al., 2020), a multidomain SLU benchmark, and STOP (Tomasello et al., 2023),"
|
| 345 |
+
},
|
| 346 |
+
{
|
| 347 |
+
"type": "text",
|
| 348 |
+
"bbox": [
|
| 349 |
+
0.508,
|
| 350 |
+
0.386,
|
| 351 |
+
0.885,
|
| 352 |
+
0.466
|
| 353 |
+
],
|
| 354 |
+
"angle": 0,
|
| 355 |
+
"content": "a multidomain and compositional SLU benchmark. In this work we study the STOP dataset as it is the largest dataset, includes more speakers, and contains compositionality, making it the most diverse and complex dataset."
|
| 356 |
+
},
|
| 357 |
+
{
|
| 358 |
+
"type": "text",
|
| 359 |
+
"bbox": [
|
| 360 |
+
0.508,
|
| 361 |
+
0.477,
|
| 362 |
+
0.885,
|
| 363 |
+
0.783
|
| 364 |
+
],
|
| 365 |
+
"angle": 0,
|
| 366 |
+
"content": "Models Tomasello et al. (2023) propose leveraging fully E2E models pre-trained on the ASR task and fine-tuned on the parsing task to produce a series of models based on HuBERT (Hsu et al., 2021) and Wav2Vec 2.0 (Baevski et al., 2020). However such E2E systems remain too large for on-device processing and lack the modularity and interpretability often required to deploy SLU systems. FANS (Radfar et al., 2021) explore on-device SLU systems leveraging SLU specific decoders and Kashiwagi et al. (2023) explore distilling E2E models, but both lack interpretability. Neural interfaces (Rao et al., 2020) have been used to retain the modularity of transcription in E2E models, and the Deliberation SLU system (Le et al., 2022) further the neural interfaces into the on-device space. In this work we study further optimizing efficiency and robustness of deliberation SLU systems with non-autoregressive decoding and denoising."
|
| 367 |
+
},
|
| 368 |
+
{
|
| 369 |
+
"type": "text",
|
| 370 |
+
"bbox": [
|
| 371 |
+
0.508,
|
| 372 |
+
0.793,
|
| 373 |
+
0.887,
|
| 374 |
+
0.922
|
| 375 |
+
],
|
| 376 |
+
"angle": 0,
|
| 377 |
+
"content": "Robustness Recently Kim et al. (2023) have explored improving the robustness of Deliberation-based SLU by incorporating confidence signals from ASR models and shown promising results \\((+0.1\\% - 0.4\\%)\\). Sharma et al. (2023) augmented Deliberation SLU robustness with extra data through generating text data with LLMs and generating audio data with Joint-Audio-Text and Text-to-Speech"
|
| 378 |
+
},
|
| 379 |
+
{
|
| 380 |
+
"type": "page_number",
|
| 381 |
+
"bbox": [
|
| 382 |
+
0.478,
|
| 383 |
+
0.928,
|
| 384 |
+
0.526,
|
| 385 |
+
0.941
|
| 386 |
+
],
|
| 387 |
+
"angle": 0,
|
| 388 |
+
"content": "14028"
|
| 389 |
+
}
|
| 390 |
+
],
|
| 391 |
+
[
|
| 392 |
+
{
|
| 393 |
+
"type": "text",
|
| 394 |
+
"bbox": [
|
| 395 |
+
0.113,
|
| 396 |
+
0.085,
|
| 397 |
+
0.49,
|
| 398 |
+
0.214
|
| 399 |
+
],
|
| 400 |
+
"angle": 0,
|
| 401 |
+
"content": "techniques. In this work we take a complimentary direction to improve robustness through denoising training. We focus on denoising as we can scale denoising training to directly influence the difficulty of the robustness training. Our method can be combined with Kim et al. (2023) and Sharma et al. (2023)'s strategies to achieve a highly robust deliberation system."
|
| 402 |
+
},
|
| 403 |
+
{
|
| 404 |
+
"type": "title",
|
| 405 |
+
"bbox": [
|
| 406 |
+
0.114,
|
| 407 |
+
0.228,
|
| 408 |
+
0.378,
|
| 409 |
+
0.243
|
| 410 |
+
],
|
| 411 |
+
"angle": 0,
|
| 412 |
+
"content": "2.2 Non-autoregressive Parsing"
|
| 413 |
+
},
|
| 414 |
+
{
|
| 415 |
+
"type": "text",
|
| 416 |
+
"bbox": [
|
| 417 |
+
0.113,
|
| 418 |
+
0.25,
|
| 419 |
+
0.49,
|
| 420 |
+
0.556
|
| 421 |
+
],
|
| 422 |
+
"angle": 0,
|
| 423 |
+
"content": "The semantic parsing community has shifted towards the seq2seq paradigm (Sutskever et al., 2014) to improve quality and align with the larger NLP community (Lewis et al., 2020; Raffel et al., 2020). With this shift, semantic parsers require low latency due to their real time nature. Non-autoregressive semantic parsing has taken off due to its sub-linear decoding time leading to strong latency improvements. Prior work in this space (Babu et al., 2021) has shown that non-autoregressive algorithms can lead to lower latency systems at similar accuracy gains. To further improve latency and quality, prior works aim to build an inductive bias regarding semantic parsing systems: Zhu et al. (2020) rely on insertion transformers to build a semantic parse around the text, Shrivastava et al. (2021) rely on span based prediction to extract slot text, and Shrivastava et al. (2023) retrieve defined semantic frames and fill in the slots with span prediction."
|
| 424 |
+
},
|
| 425 |
+
{
|
| 426 |
+
"type": "text",
|
| 427 |
+
"bbox": [
|
| 428 |
+
0.113,
|
| 429 |
+
0.558,
|
| 430 |
+
0.49,
|
| 431 |
+
0.766
|
| 432 |
+
],
|
| 433 |
+
"angle": 0,
|
| 434 |
+
"content": "Our work continues in this direction, critically extending efficient parsing into end-to-end SLU systems which do not take for granted the truth of the ASR transcriptions but rather operate on both audio input and text hypotheses. The shift away from a gold text input space introduces nuances around robustness and text generation that prior work cannot support due to the focus on extractive decoders. We introduce a CTC loss function (Graves et al., 2006) for non-autoregressive decoding to reduce the reliance on length prediction, a key bottleneck even in non-end-to-end systems, but even more so for end-to-end SLU."
|
| 435 |
+
},
|
| 436 |
+
{
|
| 437 |
+
"type": "title",
|
| 438 |
+
"bbox": [
|
| 439 |
+
0.114,
|
| 440 |
+
0.781,
|
| 441 |
+
0.295,
|
| 442 |
+
0.796
|
| 443 |
+
],
|
| 444 |
+
"angle": 0,
|
| 445 |
+
"content": "3 PRoDeliberation"
|
| 446 |
+
},
|
| 447 |
+
{
|
| 448 |
+
"type": "text",
|
| 449 |
+
"bbox": [
|
| 450 |
+
0.113,
|
| 451 |
+
0.809,
|
| 452 |
+
0.49,
|
| 453 |
+
0.922
|
| 454 |
+
],
|
| 455 |
+
"angle": 0,
|
| 456 |
+
"content": "In this work we extend Deliberation with two critical components: First we introduce CTC decoding, which utilizes parallel decoding to optimize latency. However, we notice an increased error rate due to parallel decoding. In order to combat this we add the second key component: denoising, which improve model robustness during training."
|
| 457 |
+
},
|
| 458 |
+
{
|
| 459 |
+
"type": "text",
|
| 460 |
+
"bbox": [
|
| 461 |
+
0.508,
|
| 462 |
+
0.085,
|
| 463 |
+
0.883,
|
| 464 |
+
0.132
|
| 465 |
+
],
|
| 466 |
+
"angle": 0,
|
| 467 |
+
"content": "Figure 2 shows the architecture of PRoDeliberation in comparison to the architecture of Autoregressive Deliberation."
|
| 468 |
+
},
|
| 469 |
+
{
|
| 470 |
+
"type": "title",
|
| 471 |
+
"bbox": [
|
| 472 |
+
0.509,
|
| 473 |
+
0.144,
|
| 474 |
+
0.655,
|
| 475 |
+
0.158
|
| 476 |
+
],
|
| 477 |
+
"angle": 0,
|
| 478 |
+
"content": "3.1 Deliberation"
|
| 479 |
+
},
|
| 480 |
+
{
|
| 481 |
+
"type": "text",
|
| 482 |
+
"bbox": [
|
| 483 |
+
0.508,
|
| 484 |
+
0.164,
|
| 485 |
+
0.885,
|
| 486 |
+
0.261
|
| 487 |
+
],
|
| 488 |
+
"angle": 0,
|
| 489 |
+
"content": "Le et al. (2022) introduced the deliberation-based E2E SLU system, shown in the upper part of Figure 1. Deliberation was introduced in Hu et al. (2020) as a two-pass ASR system to improve transcription quality. We describe these two passes in detail in the following."
|
| 490 |
+
},
|
| 491 |
+
{
|
| 492 |
+
"type": "title",
|
| 493 |
+
"bbox": [
|
| 494 |
+
0.508,
|
| 495 |
+
0.269,
|
| 496 |
+
0.885,
|
| 497 |
+
0.284
|
| 498 |
+
],
|
| 499 |
+
"angle": 0,
|
| 500 |
+
"content": "First Pass: Speech Recognition with RNN-T"
|
| 501 |
+
},
|
| 502 |
+
{
|
| 503 |
+
"type": "text",
|
| 504 |
+
"bbox": [
|
| 505 |
+
0.507,
|
| 506 |
+
0.286,
|
| 507 |
+
0.884,
|
| 508 |
+
0.511
|
| 509 |
+
],
|
| 510 |
+
"angle": 0,
|
| 511 |
+
"content": "The first pass of the system uses the recurrent neural network transducer (RNN-T) (Graves, 2012), which is the most popular streaming ASR architecture. RNN-T is built on three core components: (1) Acoustic encoder which consumes the raw audio and produces an audio encoding \\(emb_{\\mathrm{aud}} \\in \\mathbb{R}^{A \\times D}\\) (2) Predictor (internal language model) that consumes the text predicted so far and produces a language encoding \\(emb_{\\mathrm{text}} \\in \\mathbb{R}^{T \\times D}\\) and (3) Joiner which combines these two embeddings \\(emb_{\\mathrm{text}}\\) and \\(emb_{\\mathrm{aud}}\\) to produce a probability output for the currently predicted token. Each component of RNN-T is streamable, allowing the full model to decode text as the user speaks."
|
| 512 |
+
},
|
| 513 |
+
{
|
| 514 |
+
"type": "text",
|
| 515 |
+
"bbox": [
|
| 516 |
+
0.508,
|
| 517 |
+
0.519,
|
| 518 |
+
0.884,
|
| 519 |
+
0.616
|
| 520 |
+
],
|
| 521 |
+
"angle": 0,
|
| 522 |
+
"content": "Second Pass: Deliberation Decoder The deliberation decoder conducts a second pass over the RNN-T hidden states using the language embedding \\(emb_{\\mathrm{text}}\\) and the audio embedding \\(emb_{\\mathrm{aud}}\\) that have been cached during the first pass. The deliberation decoder fuses the embedding:"
|
| 523 |
+
},
|
| 524 |
+
{
|
| 525 |
+
"type": "equation",
|
| 526 |
+
"bbox": [
|
| 527 |
+
0.547,
|
| 528 |
+
0.629,
|
| 529 |
+
0.848,
|
| 530 |
+
0.702
|
| 531 |
+
],
|
| 532 |
+
"angle": 0,
|
| 533 |
+
"content": "\\[\n\\begin{array}{l} e m b _ {\\text {a t t n}} = \\mathrm {M H A} (e m b _ {\\text {t e x t}}, e m b _ {\\text {a u d}}, e m b _ {\\text {a u d}}) \\\\ e m b _ {\\text {s t a c k}} = \\text {S t a c k} \\left(e m b _ {\\text {t e x t}}, e m b _ {\\text {a t t n}}\\right) \\\\ e m b _ {\\text {f u s e d}} = \\text {L i n e a r} (e m b _ {\\text {s t a c k}}) \\\\ e m b _ {\\text {p o o l}} = \\text {T r a n s f o r m e r} \\left(e m b _ {\\text {f u s e d}}\\right), \\\\ \\end{array}\n\\]"
|
| 534 |
+
},
|
| 535 |
+
{
|
| 536 |
+
"type": "text",
|
| 537 |
+
"bbox": [
|
| 538 |
+
0.507,
|
| 539 |
+
0.714,
|
| 540 |
+
0.884,
|
| 541 |
+
0.843
|
| 542 |
+
],
|
| 543 |
+
"angle": 0,
|
| 544 |
+
"content": "where MHA indicates multi-headed attention. The fused embeddings are then passed to a series of transformer encoder layers to pool the embedding, denoted \\(emb_{\\mathrm{pool}}\\). Finally the pooled layers are passed to an autoregressive pointer generator decoder which produces tokens which are either 'pointers' to input tokens or newly 'generated' tokens (Aghajanyan et al., 2020; See et al., 2017)."
|
| 545 |
+
},
|
| 546 |
+
{
|
| 547 |
+
"type": "title",
|
| 548 |
+
"bbox": [
|
| 549 |
+
0.509,
|
| 550 |
+
0.853,
|
| 551 |
+
0.863,
|
| 552 |
+
0.868
|
| 553 |
+
],
|
| 554 |
+
"angle": 0,
|
| 555 |
+
"content": "3.2 Nonautoregressive Decoding with CTC"
|
| 556 |
+
},
|
| 557 |
+
{
|
| 558 |
+
"type": "text",
|
| 559 |
+
"bbox": [
|
| 560 |
+
0.508,
|
| 561 |
+
0.874,
|
| 562 |
+
0.884,
|
| 563 |
+
0.922
|
| 564 |
+
],
|
| 565 |
+
"angle": 0,
|
| 566 |
+
"content": "The latency of autoregressive decoders suffers as sequence length grows due to the linear relationship between latency and sequence length, a result"
|
| 567 |
+
},
|
| 568 |
+
{
|
| 569 |
+
"type": "page_number",
|
| 570 |
+
"bbox": [
|
| 571 |
+
0.478,
|
| 572 |
+
0.928,
|
| 573 |
+
0.526,
|
| 574 |
+
0.941
|
| 575 |
+
],
|
| 576 |
+
"angle": 0,
|
| 577 |
+
"content": "14029"
|
| 578 |
+
}
|
| 579 |
+
],
|
| 580 |
+
[
|
| 581 |
+
{
|
| 582 |
+
"type": "image",
|
| 583 |
+
"bbox": [
|
| 584 |
+
0.134,
|
| 585 |
+
0.117,
|
| 586 |
+
0.434,
|
| 587 |
+
0.347
|
| 588 |
+
],
|
| 589 |
+
"angle": 0,
|
| 590 |
+
"content": null
|
| 591 |
+
},
|
| 592 |
+
{
|
| 593 |
+
"type": "image_caption",
|
| 594 |
+
"bbox": [
|
| 595 |
+
0.286,
|
| 596 |
+
0.35,
|
| 597 |
+
0.302,
|
| 598 |
+
0.361
|
| 599 |
+
],
|
| 600 |
+
"angle": 0,
|
| 601 |
+
"content": "A)"
|
| 602 |
+
},
|
| 603 |
+
{
|
| 604 |
+
"type": "image",
|
| 605 |
+
"bbox": [
|
| 606 |
+
0.499,
|
| 607 |
+
0.089,
|
| 608 |
+
0.831,
|
| 609 |
+
0.347
|
| 610 |
+
],
|
| 611 |
+
"angle": 0,
|
| 612 |
+
"content": null
|
| 613 |
+
},
|
| 614 |
+
{
|
| 615 |
+
"type": "image_caption",
|
| 616 |
+
"bbox": [
|
| 617 |
+
0.665,
|
| 618 |
+
0.35,
|
| 619 |
+
0.681,
|
| 620 |
+
0.361
|
| 621 |
+
],
|
| 622 |
+
"angle": 0,
|
| 623 |
+
"content": "B)"
|
| 624 |
+
},
|
| 625 |
+
{
|
| 626 |
+
"type": "image_caption",
|
| 627 |
+
"bbox": [
|
| 628 |
+
0.113,
|
| 629 |
+
0.367,
|
| 630 |
+
0.884,
|
| 631 |
+
0.41
|
| 632 |
+
],
|
| 633 |
+
"angle": 0,
|
| 634 |
+
"content": "Figure 2: A comparison between (A) Autoregressive Deliberation Decoders and (B) PRoDeliberation architecture. PRoDeliberation extends Deliberation (A) with a fuzzy length prediction module and a CTC based decoder. Both (A) and (B) can correct ASR errors ('john' to 'jake' in the figure)."
|
| 635 |
+
},
|
| 636 |
+
{
|
| 637 |
+
"type": "text",
|
| 638 |
+
"bbox": [
|
| 639 |
+
0.112,
|
| 640 |
+
0.435,
|
| 641 |
+
0.489,
|
| 642 |
+
0.644
|
| 643 |
+
],
|
| 644 |
+
"angle": 0,
|
| 645 |
+
"content": "of the conditional dependence of each token output on the preceding tokens. To alleviate this, and following text-based semantic parsing work, we extend deliberation to leverage non-autoregressive decoders (Zhu et al., 2020; Babu et al., 2021; Shrivastava et al., 2021). However we find that prior work relies on Mask Predict (Ghazvininejad et al., 2019) which introduces a bottleneck in the form of length prediction of the output sequence. In this section we introduce our CTC-based non-autoregressive decoder which overcomes this limitation of length prediction. Our decoder is composed of 2 steps: (1) Length Prediction and (2) Parallel Decoding."
|
| 646 |
+
},
|
| 647 |
+
{
|
| 648 |
+
"type": "text",
|
| 649 |
+
"bbox": [
|
| 650 |
+
0.113,
|
| 651 |
+
0.646,
|
| 652 |
+
0.49,
|
| 653 |
+
0.727
|
| 654 |
+
],
|
| 655 |
+
"angle": 0,
|
| 656 |
+
"content": "Length Prediction A critical component of non-autoregressive networks is length prediction for output sequence \\((l)\\). Prior work implements a length prediction module to determine the output length (Babu et al., 2021; Ghazvininejad et al., 2019)."
|
| 657 |
+
},
|
| 658 |
+
{
|
| 659 |
+
"type": "text",
|
| 660 |
+
"bbox": [
|
| 661 |
+
0.113,
|
| 662 |
+
0.729,
|
| 663 |
+
0.49,
|
| 664 |
+
0.922
|
| 665 |
+
],
|
| 666 |
+
"angle": 0,
|
| 667 |
+
"content": "In the extractive setting such as pipelined SLU, where the semantic parse contains either 1) ontology tokens (intent and slot labels) or 2) spans of transcribed text, this does not pose a problem (Shrivastava et al., 2021). However, a major advantage of E2E SLU is the ability to correct ASR errors. This changes the simple extractive function of the decoder into a more complex one, one which may change the length of a span of tokens in a slot from the length of the span predicted by ASR. Because of this, we propose using a CTC decoder which allows for more flexibility in the decoding process"
|
| 668 |
+
},
|
| 669 |
+
{
|
| 670 |
+
"type": "text",
|
| 671 |
+
"bbox": [
|
| 672 |
+
0.509,
|
| 673 |
+
0.435,
|
| 674 |
+
0.654,
|
| 675 |
+
0.45
|
| 676 |
+
],
|
| 677 |
+
"angle": 0,
|
| 678 |
+
"content": "than Mask Predict."
|
| 679 |
+
},
|
| 680 |
+
{
|
| 681 |
+
"type": "text",
|
| 682 |
+
"bbox": [
|
| 683 |
+
0.507,
|
| 684 |
+
0.452,
|
| 685 |
+
0.884,
|
| 686 |
+
0.693
|
| 687 |
+
],
|
| 688 |
+
"angle": 0,
|
| 689 |
+
"content": "Instead of an equality constraint between the predicted length and the final output length, our use of the CTC decoder enforces the constraint that the predicted target length has to be strictly greater than the true target length. In semantic parsing the relation between input and output length depends on the semantics and ontology\\(^{1}\\) unlike Machine Translation (Libovický and Helcl, 2018; Sahara et al., 2020) or ASR (Graves et al., 2006), which rely on heuristics based on input length. Accordingly, we introduce a fuzzy length predictor, an extension to the length prediction module that multiplies the output by a fuzzy constant \\(\\alpha > 1\\) to account for an upper bound. The number of tokens predicted by the decoder, \\(l\\), is then"
|
| 690 |
+
},
|
| 691 |
+
{
|
| 692 |
+
"type": "equation",
|
| 693 |
+
"bbox": [
|
| 694 |
+
0.564,
|
| 695 |
+
0.707,
|
| 696 |
+
0.825,
|
| 697 |
+
0.725
|
| 698 |
+
],
|
| 699 |
+
"angle": 0,
|
| 700 |
+
"content": "\\[\nl = \\alpha \\times \\text {L e n g t h M o d u l e} \\left(\\text {e m b} _ {\\text {p o o l}}\\right).\n\\]"
|
| 701 |
+
},
|
| 702 |
+
{
|
| 703 |
+
"type": "text",
|
| 704 |
+
"bbox": [
|
| 705 |
+
0.508,
|
| 706 |
+
0.738,
|
| 707 |
+
0.883,
|
| 708 |
+
0.803
|
| 709 |
+
],
|
| 710 |
+
"angle": 0,
|
| 711 |
+
"content": "This constant helps ensure that even if the length prediction is smaller than the true target length, the decoder is able to output enough tokens for the full semantic parse."
|
| 712 |
+
},
|
| 713 |
+
{
|
| 714 |
+
"type": "text",
|
| 715 |
+
"bbox": [
|
| 716 |
+
0.508,
|
| 717 |
+
0.813,
|
| 718 |
+
0.884,
|
| 719 |
+
0.861
|
| 720 |
+
],
|
| 721 |
+
"angle": 0,
|
| 722 |
+
"content": "Parallel Decoding with CTC The use of CTC loss creates the flexibility in length prediction by enabling the decoder to produce blank tokens, al"
|
| 723 |
+
},
|
| 724 |
+
{
|
| 725 |
+
"type": "page_footnote",
|
| 726 |
+
"bbox": [
|
| 727 |
+
0.509,
|
| 728 |
+
0.871,
|
| 729 |
+
0.884,
|
| 730 |
+
0.922
|
| 731 |
+
],
|
| 732 |
+
"angle": 0,
|
| 733 |
+
"content": "1An example: \"Remind me to call Samantha\" -> [IN:CREATE_REMINDER [SL:TODO call Samantha ]] vs [IN:CREATE_REMINDER [SL:TODO [IN:CALL [SL:CONTACT Samantha ]]]]"
|
| 734 |
+
},
|
| 735 |
+
{
|
| 736 |
+
"type": "page_number",
|
| 737 |
+
"bbox": [
|
| 738 |
+
0.478,
|
| 739 |
+
0.928,
|
| 740 |
+
0.526,
|
| 741 |
+
0.941
|
| 742 |
+
],
|
| 743 |
+
"angle": 0,
|
| 744 |
+
"content": "14030"
|
| 745 |
+
}
|
| 746 |
+
],
|
| 747 |
+
[
|
| 748 |
+
{
|
| 749 |
+
"type": "text",
|
| 750 |
+
"bbox": [
|
| 751 |
+
0.113,
|
| 752 |
+
0.085,
|
| 753 |
+
0.486,
|
| 754 |
+
0.117
|
| 755 |
+
],
|
| 756 |
+
"angle": 0,
|
| 757 |
+
"content": "lowing it to decode any sequence length that is shorter than the fuzzy predicted length."
|
| 758 |
+
},
|
| 759 |
+
{
|
| 760 |
+
"type": "text",
|
| 761 |
+
"bbox": [
|
| 762 |
+
0.113,
|
| 763 |
+
0.118,
|
| 764 |
+
0.486,
|
| 765 |
+
0.166
|
| 766 |
+
],
|
| 767 |
+
"angle": 0,
|
| 768 |
+
"content": "Our decoder leverages the deliberation encoder's hidden states and length module's [MASK] tokens to decode a semantic parse non-autoregressively:"
|
| 769 |
+
},
|
| 770 |
+
{
|
| 771 |
+
"type": "equation",
|
| 772 |
+
"bbox": [
|
| 773 |
+
0.148,
|
| 774 |
+
0.18,
|
| 775 |
+
0.452,
|
| 776 |
+
0.198
|
| 777 |
+
],
|
| 778 |
+
"angle": 0,
|
| 779 |
+
"content": "\\[\ny _ {1 \\dots l} = \\operatorname {D e c o d e r} ([ \\mathrm {M A S K} ] _ {1 \\dots l}, e m b _ {\\text {p o o l}}),\n\\]"
|
| 780 |
+
},
|
| 781 |
+
{
|
| 782 |
+
"type": "text",
|
| 783 |
+
"bbox": [
|
| 784 |
+
0.113,
|
| 785 |
+
0.211,
|
| 786 |
+
0.49,
|
| 787 |
+
0.324
|
| 788 |
+
],
|
| 789 |
+
"angle": 0,
|
| 790 |
+
"content": "where the decoder is a randomly-initialized Transformer decoder. As a result of CTC loss, the predicted parse \\( y_{1}, \\ldots, y_{l} \\) can have repeating tokens and blank tokens. We then apply the CTC alignment procedure (Graves et al., 2006), which merges repeating tokens and removes blank tokens to produce the final prediction."
|
| 791 |
+
},
|
| 792 |
+
{
|
| 793 |
+
"type": "title",
|
| 794 |
+
"bbox": [
|
| 795 |
+
0.114,
|
| 796 |
+
0.336,
|
| 797 |
+
0.24,
|
| 798 |
+
0.351
|
| 799 |
+
],
|
| 800 |
+
"angle": 0,
|
| 801 |
+
"content": "3.3 Denoising"
|
| 802 |
+
},
|
| 803 |
+
{
|
| 804 |
+
"type": "text",
|
| 805 |
+
"bbox": [
|
| 806 |
+
0.113,
|
| 807 |
+
0.357,
|
| 808 |
+
0.49,
|
| 809 |
+
0.614
|
| 810 |
+
],
|
| 811 |
+
"angle": 0,
|
| 812 |
+
"content": "While the CTC decoder gives the model the ability to rewrite transcription errors, we wish to specialize training to specifically encourage the model to rely on both audio and text signals. Inspired by the success of Masked Language Modeling (Devlin et al., 2019; Lewis et al., 2020) as well as SpecAugment for ASR training (Park et al., 2019) we add additional text corruptions to the ASR hypotheses to add an implicit denoising objective during training. Unlike SpecAugment, the noise impacts the text in order to force the model to rely on audio representations in order to correct transcription errors. We use two noisng methods, deletion and substitution noise, along with two meta operations: sequential noisng and sampling noisng, summarized in Figure 3."
|
| 813 |
+
},
|
| 814 |
+
{
|
| 815 |
+
"type": "text",
|
| 816 |
+
"bbox": [
|
| 817 |
+
0.113,
|
| 818 |
+
0.616,
|
| 819 |
+
0.49,
|
| 820 |
+
0.855
|
| 821 |
+
],
|
| 822 |
+
"angle": 0,
|
| 823 |
+
"content": "Deletion Inspired by the BART MLM Objective (Lewis et al., 2020), we implement a noisng function which randomly deletes tokens from the input. Critically, this deletion noise does not insert a MASK token; instead the model must rely on the audio modality to find the corruption and find an appropriate replacement. We choose this approach to mirror the impact of ASR deletions. To implement the noise we employ a binomial distribution where the number of trials is the sequence length, and we introduce a hyper parameter \\(P\\) that controls the probability at each trial to determine the number of tokens \\((N)\\) corrupted from the input. We then uniformly select \\(N\\) tokens from the input and delete them."
|
| 824 |
+
},
|
| 825 |
+
{
|
| 826 |
+
"type": "text",
|
| 827 |
+
"bbox": [
|
| 828 |
+
0.113,
|
| 829 |
+
0.858,
|
| 830 |
+
0.489,
|
| 831 |
+
0.921
|
| 832 |
+
],
|
| 833 |
+
"angle": 0,
|
| 834 |
+
"content": "Substitution We also noise input words via word substitution. To find word substitution pairs which emulate true ASR errors we build a dictionary of word confusion pairs from inference of the 10M"
|
| 835 |
+
},
|
| 836 |
+
{
|
| 837 |
+
"type": "text",
|
| 838 |
+
"bbox": [
|
| 839 |
+
0.508,
|
| 840 |
+
0.085,
|
| 841 |
+
0.883,
|
| 842 |
+
0.198
|
| 843 |
+
],
|
| 844 |
+
"angle": 0,
|
| 845 |
+
"content": "ASR model over the STOP train set. Similar to deletion noise, we use a binomial distribution to select words for substitution. A word only has substitution applied if it appears in the substitution dictionary. If it does, we sample a replacement word according to the frequency each replacement has appeared for it in the ASR output."
|
| 846 |
+
},
|
| 847 |
+
{
|
| 848 |
+
"type": "text",
|
| 849 |
+
"bbox": [
|
| 850 |
+
0.508,
|
| 851 |
+
0.199,
|
| 852 |
+
0.885,
|
| 853 |
+
0.36
|
| 854 |
+
],
|
| 855 |
+
"angle": 0,
|
| 856 |
+
"content": "Meta Operations With the different noising functions we implemented above, we introduce two meta noising functions that allow us to combine them. 1) Sequential Noise: This mechanism applies \\( R \\) different noise types sequentially, each following the parameterization above. In other words, all samples have each noise type applied in series. 2) Sampling Noise: This mechanism uniformly samples amongst the \\( R \\) different noise types following the parameterization above."
|
| 857 |
+
},
|
| 858 |
+
{
|
| 859 |
+
"type": "title",
|
| 860 |
+
"bbox": [
|
| 861 |
+
0.509,
|
| 862 |
+
0.373,
|
| 863 |
+
0.627,
|
| 864 |
+
0.389
|
| 865 |
+
],
|
| 866 |
+
"angle": 0,
|
| 867 |
+
"content": "3.4 Training"
|
| 868 |
+
},
|
| 869 |
+
{
|
| 870 |
+
"type": "text",
|
| 871 |
+
"bbox": [
|
| 872 |
+
0.508,
|
| 873 |
+
0.396,
|
| 874 |
+
0.884,
|
| 875 |
+
0.476
|
| 876 |
+
],
|
| 877 |
+
"angle": 0,
|
| 878 |
+
"content": "We jointly optimize for training the decoder and length prediction module with a label loss and length loss, respectively. The length loss is negative log likelihood between predicted lengths and target lengths:"
|
| 879 |
+
},
|
| 880 |
+
{
|
| 881 |
+
"type": "equation",
|
| 882 |
+
"bbox": [
|
| 883 |
+
0.573,
|
| 884 |
+
0.492,
|
| 885 |
+
0.819,
|
| 886 |
+
0.51
|
| 887 |
+
],
|
| 888 |
+
"angle": 0,
|
| 889 |
+
"content": "\\[\n\\mathcal {L} _ {l e n g t h} = - l o g P (l _ {t a r g e t} | l _ {p r e d}).\n\\]"
|
| 890 |
+
},
|
| 891 |
+
{
|
| 892 |
+
"type": "text",
|
| 893 |
+
"bbox": [
|
| 894 |
+
0.508,
|
| 895 |
+
0.526,
|
| 896 |
+
0.883,
|
| 897 |
+
0.557
|
| 898 |
+
],
|
| 899 |
+
"angle": 0,
|
| 900 |
+
"content": "The label loss is a CTC loss between decoder predictions and target labels:"
|
| 901 |
+
},
|
| 902 |
+
{
|
| 903 |
+
"type": "equation",
|
| 904 |
+
"bbox": [
|
| 905 |
+
0.603,
|
| 906 |
+
0.573,
|
| 907 |
+
0.788,
|
| 908 |
+
0.59
|
| 909 |
+
],
|
| 910 |
+
"angle": 0,
|
| 911 |
+
"content": "\\[\n\\mathcal {L} _ {\\text {l a b e l}} = - \\log P (Y | X).\n\\]"
|
| 912 |
+
},
|
| 913 |
+
{
|
| 914 |
+
"type": "text",
|
| 915 |
+
"bbox": [
|
| 916 |
+
0.508,
|
| 917 |
+
0.606,
|
| 918 |
+
0.884,
|
| 919 |
+
0.718
|
| 920 |
+
],
|
| 921 |
+
"angle": 0,
|
| 922 |
+
"content": "where \\( Y \\) is the target labels and \\( X \\) is the decoder predictions before removing blanks and repeated tokens. The conditional likelihood \\( P(Y|X) \\) is the sum of probabilities of all possible valid alignments between \\( X \\) and \\( Y \\). Let \\( \\pi \\) denote an alignment, \\( \\mathcal{B} \\) be the set of all valid alignments, and \\( y_{k}^{t} \\) denote the probability of observing label \\( k \\) at time \\( t \\). Then,"
|
| 923 |
+
},
|
| 924 |
+
{
|
| 925 |
+
"type": "equation",
|
| 926 |
+
"bbox": [
|
| 927 |
+
0.598,
|
| 928 |
+
0.732,
|
| 929 |
+
0.791,
|
| 930 |
+
0.765
|
| 931 |
+
],
|
| 932 |
+
"angle": 0,
|
| 933 |
+
"content": "\\[\nP (Y | X) = \\sum_ {\\pi \\in \\mathcal {B}} p (\\pi | X),\n\\]"
|
| 934 |
+
},
|
| 935 |
+
{
|
| 936 |
+
"type": "equation",
|
| 937 |
+
"bbox": [
|
| 938 |
+
0.598,
|
| 939 |
+
0.769,
|
| 940 |
+
0.745,
|
| 941 |
+
0.811
|
| 942 |
+
],
|
| 943 |
+
"angle": 0,
|
| 944 |
+
"content": "\\[\np (\\pi | X) = \\prod_ {t = 1} ^ {T} y _ {\\pi_ {t}} ^ {t}.\n\\]"
|
| 945 |
+
},
|
| 946 |
+
{
|
| 947 |
+
"type": "text",
|
| 948 |
+
"bbox": [
|
| 949 |
+
0.508,
|
| 950 |
+
0.826,
|
| 951 |
+
0.884,
|
| 952 |
+
0.888
|
| 953 |
+
],
|
| 954 |
+
"angle": 0,
|
| 955 |
+
"content": "We add label smoothing to both label loss and length loss to control for over-confident predictions. The overall loss is a weighted sum of these two losses:"
|
| 956 |
+
},
|
| 957 |
+
{
|
| 958 |
+
"type": "equation",
|
| 959 |
+
"bbox": [
|
| 960 |
+
0.594,
|
| 961 |
+
0.906,
|
| 962 |
+
0.797,
|
| 963 |
+
0.923
|
| 964 |
+
],
|
| 965 |
+
"angle": 0,
|
| 966 |
+
"content": "\\[\n\\mathcal {L} = \\mathcal {L} _ {\\text {l a b e l}} + \\lambda \\times \\mathcal {L} _ {\\text {l e n g t h}}.\n\\]"
|
| 967 |
+
},
|
| 968 |
+
{
|
| 969 |
+
"type": "page_number",
|
| 970 |
+
"bbox": [
|
| 971 |
+
0.478,
|
| 972 |
+
0.928,
|
| 973 |
+
0.524,
|
| 974 |
+
0.941
|
| 975 |
+
],
|
| 976 |
+
"angle": 0,
|
| 977 |
+
"content": "14031"
|
| 978 |
+
}
|
| 979 |
+
],
|
| 980 |
+
[
|
| 981 |
+
{
|
| 982 |
+
"type": "image",
|
| 983 |
+
"bbox": [
|
| 984 |
+
0.212,
|
| 985 |
+
0.081,
|
| 986 |
+
0.784,
|
| 987 |
+
0.281
|
| 988 |
+
],
|
| 989 |
+
"angle": 0,
|
| 990 |
+
"content": null
|
| 991 |
+
},
|
| 992 |
+
{
|
| 993 |
+
"type": "image_caption",
|
| 994 |
+
"bbox": [
|
| 995 |
+
0.113,
|
| 996 |
+
0.29,
|
| 997 |
+
0.88,
|
| 998 |
+
0.319
|
| 999 |
+
],
|
| 1000 |
+
"angle": 0,
|
| 1001 |
+
"content": "Figure 3: The text noising process. We proposed two noise processes, deletion and substitution noise, as well as two meta-operations, sequential and sampling noising."
|
| 1002 |
+
},
|
| 1003 |
+
{
|
| 1004 |
+
"type": "title",
|
| 1005 |
+
"bbox": [
|
| 1006 |
+
0.114,
|
| 1007 |
+
0.344,
|
| 1008 |
+
0.262,
|
| 1009 |
+
0.36
|
| 1010 |
+
],
|
| 1011 |
+
"angle": 0,
|
| 1012 |
+
"content": "4 Experiments"
|
| 1013 |
+
},
|
| 1014 |
+
{
|
| 1015 |
+
"type": "title",
|
| 1016 |
+
"bbox": [
|
| 1017 |
+
0.114,
|
| 1018 |
+
0.371,
|
| 1019 |
+
0.273,
|
| 1020 |
+
0.385
|
| 1021 |
+
],
|
| 1022 |
+
"angle": 0,
|
| 1023 |
+
"content": "4.1 STOP Dataset"
|
| 1024 |
+
},
|
| 1025 |
+
{
|
| 1026 |
+
"type": "text",
|
| 1027 |
+
"bbox": [
|
| 1028 |
+
0.113,
|
| 1029 |
+
0.393,
|
| 1030 |
+
0.49,
|
| 1031 |
+
0.603
|
| 1032 |
+
],
|
| 1033 |
+
"angle": 0,
|
| 1034 |
+
"content": "We leverage the STOP dataset (Spoken Task Oriented Parsing) (Tomasello et al., 2023) to evaluate our proposed approach. STOP is based on the TOPv2 dataset (Chen et al., 2020), a compositional multi-domain semantic parsing benchmark that has been well-studied in text parsing. STOP consists of 8 different domains: alarm, messaging, music, navigation, timer, weather, reminder, and event. Each data point contains an audio clip from Amazon Mechanical Turk workers, where their names and information remain anonymous. The dataset is split into three subsets: 120k training samples, 33k validation samples, and 76k test samples."
|
| 1035 |
+
},
|
| 1036 |
+
{
|
| 1037 |
+
"type": "title",
|
| 1038 |
+
"bbox": [
|
| 1039 |
+
0.114,
|
| 1040 |
+
0.615,
|
| 1041 |
+
0.235,
|
| 1042 |
+
0.629
|
| 1043 |
+
],
|
| 1044 |
+
"angle": 0,
|
| 1045 |
+
"content": "4.2 Baselines"
|
| 1046 |
+
},
|
| 1047 |
+
{
|
| 1048 |
+
"type": "text",
|
| 1049 |
+
"bbox": [
|
| 1050 |
+
0.113,
|
| 1051 |
+
0.637,
|
| 1052 |
+
0.49,
|
| 1053 |
+
0.702
|
| 1054 |
+
],
|
| 1055 |
+
"angle": 0,
|
| 1056 |
+
"content": "Our study targets improving Deliberation based SLU systems (Le et al., 2022) for on-device streaming use cases. We align our baselines with Le et al. (2022) to study our contributions."
|
| 1057 |
+
},
|
| 1058 |
+
{
|
| 1059 |
+
"type": "text",
|
| 1060 |
+
"bbox": [
|
| 1061 |
+
0.113,
|
| 1062 |
+
0.712,
|
| 1063 |
+
0.49,
|
| 1064 |
+
0.922
|
| 1065 |
+
],
|
| 1066 |
+
"angle": 0,
|
| 1067 |
+
"content": "Base ASR Model Our studies leverage two ondevice-sized ASR models containing 10M and 25M RNNT (Graves, 2012) variants. These models use an acoustic encoder-based conformer encoder (Gulati et al., 2020; Shi et al., 2022) (3L for 10M parameter model and 13L for 25M model), a predictor with a 1-layer LSTM, and a 1-layer Joiner network. We used a 4-stride, 40ms lookahead, 120ms segment size audio input features, and 4000 sentence piece targets (Kudo and Richardson, 2018). We employed the same training recipe as proposed originally for E2E deliberation-based SLU (Le et al., 2022). The Word Error Rates (WER) for each split"
|
| 1068 |
+
},
|
| 1069 |
+
{
|
| 1070 |
+
"type": "text",
|
| 1071 |
+
"bbox": [
|
| 1072 |
+
0.509,
|
| 1073 |
+
0.344,
|
| 1074 |
+
0.882,
|
| 1075 |
+
0.376
|
| 1076 |
+
],
|
| 1077 |
+
"angle": 0,
|
| 1078 |
+
"content": "of the STOP datasets, using ASRs of two different sizes (10M and 25M), are presented in Table 1."
|
| 1079 |
+
},
|
| 1080 |
+
{
|
| 1081 |
+
"type": "table_caption",
|
| 1082 |
+
"bbox": [
|
| 1083 |
+
0.509,
|
| 1084 |
+
0.39,
|
| 1085 |
+
0.884,
|
| 1086 |
+
0.419
|
| 1087 |
+
],
|
| 1088 |
+
"angle": 0,
|
| 1089 |
+
"content": "Table 1: The WER for each split of the STOP datasets, using the frozen RNNT ASR of two different sizes."
|
| 1090 |
+
},
|
| 1091 |
+
{
|
| 1092 |
+
"type": "table",
|
| 1093 |
+
"bbox": [
|
| 1094 |
+
0.514,
|
| 1095 |
+
0.429,
|
| 1096 |
+
0.875,
|
| 1097 |
+
0.512
|
| 1098 |
+
],
|
| 1099 |
+
"angle": 0,
|
| 1100 |
+
"content": "<table><tr><td>Frozen ASR (RNNT)</td><td>train</td><td>WER valid</td><td>test</td></tr><tr><td>10M</td><td>7.68</td><td>6.99</td><td>6.54</td></tr><tr><td>25M</td><td>4.19</td><td>3.83</td><td>3.54</td></tr></table>"
|
| 1101 |
+
},
|
| 1102 |
+
{
|
| 1103 |
+
"type": "text",
|
| 1104 |
+
"bbox": [
|
| 1105 |
+
0.508,
|
| 1106 |
+
0.54,
|
| 1107 |
+
0.885,
|
| 1108 |
+
0.734
|
| 1109 |
+
],
|
| 1110 |
+
"angle": 0,
|
| 1111 |
+
"content": "Autoregressive (AR) Deliberation Following Le et al. (2022), we constrain all our model architectures to leverage 5M parameters to enable an iso-size comparison. All models also use the same decoding vocabulary, consisting of 4095 unigram WordPieces plus the vocabulary of ontology tokens built from training data. The 5M AR deliberation model leverages 2 pooling (encoder) layers, 1 decoder layers, with hidden dimension of 224. This AR deliberation model has the best quality and latency performance across various encoder and decoder depths (Table 7 in Appendix A)."
|
| 1112 |
+
},
|
| 1113 |
+
{
|
| 1114 |
+
"type": "text",
|
| 1115 |
+
"bbox": [
|
| 1116 |
+
0.508,
|
| 1117 |
+
0.745,
|
| 1118 |
+
0.885,
|
| 1119 |
+
0.922
|
| 1120 |
+
],
|
| 1121 |
+
"angle": 0,
|
| 1122 |
+
"content": "Mask Predict Deliberation Our first non-autoregressive architecture extends the AR decoder with the Mask Predict formulation. We introduce a length module after the AR deliberation encoder to predict the output length for non-autoregressive decoding. During training, golden length is used as input, while during testing, predicted length from length module is used. Iterative refinement is not employed in order to focus on efficient one-shot decoding with minimal latency. Our 5M Mask Predict Deliberation model leverages 4 pooling (encoder)"
|
| 1123 |
+
},
|
| 1124 |
+
{
|
| 1125 |
+
"type": "page_number",
|
| 1126 |
+
"bbox": [
|
| 1127 |
+
0.478,
|
| 1128 |
+
0.928,
|
| 1129 |
+
0.526,
|
| 1130 |
+
0.941
|
| 1131 |
+
],
|
| 1132 |
+
"angle": 0,
|
| 1133 |
+
"content": "14032"
|
| 1134 |
+
}
|
| 1135 |
+
],
|
| 1136 |
+
[
|
| 1137 |
+
{
|
| 1138 |
+
"type": "table_caption",
|
| 1139 |
+
"bbox": [
|
| 1140 |
+
0.114,
|
| 1141 |
+
0.097,
|
| 1142 |
+
0.49,
|
| 1143 |
+
0.14
|
| 1144 |
+
],
|
| 1145 |
+
"angle": 0,
|
| 1146 |
+
"content": "Table 2: Evaluation on the STOP test split. PRoDeliberation outperforms Mask Predict, is on par with AR model for 10M ASR, and outperforms for 25M ASR."
|
| 1147 |
+
},
|
| 1148 |
+
{
|
| 1149 |
+
"type": "table",
|
| 1150 |
+
"bbox": [
|
| 1151 |
+
0.116,
|
| 1152 |
+
0.15,
|
| 1153 |
+
0.508,
|
| 1154 |
+
0.337
|
| 1155 |
+
],
|
| 1156 |
+
"angle": 0,
|
| 1157 |
+
"content": "<table><tr><td>ASR</td><td>NLU</td><td>EM</td></tr><tr><td rowspan=\"5\">10M</td><td>Deliberation AR (Le et al., 2022)</td><td>67.90</td></tr><tr><td>Deliberation AR (Kim et al., 2023)</td><td>68.37</td></tr><tr><td>Deliberation AR (Sharma et al., 2023)</td><td>67.37</td></tr><tr><td>Mask Predict (Ghazvininejad et al., 2019)</td><td>67.23</td></tr><tr><td>ProDeliberation (ours)</td><td>68.31</td></tr><tr><td rowspan=\"4\">25M</td><td>Deliberation AR (Le et al., 2022)</td><td>73.87</td></tr><tr><td>Deliberation AR (Kim et al., 2023)</td><td>74.05</td></tr><tr><td>Mask Predict (Ghazvininejad et al., 2019)</td><td>72.17</td></tr><tr><td>ProDeliberation (ours)</td><td>74.27</td></tr></table>"
|
| 1158 |
+
},
|
| 1159 |
+
{
|
| 1160 |
+
"type": "text",
|
| 1161 |
+
"bbox": [
|
| 1162 |
+
0.113,
|
| 1163 |
+
0.361,
|
| 1164 |
+
0.489,
|
| 1165 |
+
0.392
|
| 1166 |
+
],
|
| 1167 |
+
"angle": 0,
|
| 1168 |
+
"content": "layers, 3 decoder layers, with hidden dimension of 200."
|
| 1169 |
+
},
|
| 1170 |
+
{
|
| 1171 |
+
"type": "text",
|
| 1172 |
+
"bbox": [
|
| 1173 |
+
0.113,
|
| 1174 |
+
0.405,
|
| 1175 |
+
0.487,
|
| 1176 |
+
0.517
|
| 1177 |
+
],
|
| 1178 |
+
"angle": 0,
|
| 1179 |
+
"content": "PRoDeliberation We introduce a fuzzy length prediction and replaces the Mask Predict loss with a CTC loss to mitigate the length bottleneck. To optimize for latency reduction, iterative refinement is not utilized. Our 5M ProDeliberation model leverages 4 pooling (encoder) layers, 3 decoder layers, with hidden dimension of 200."
|
| 1180 |
+
},
|
| 1181 |
+
{
|
| 1182 |
+
"type": "title",
|
| 1183 |
+
"bbox": [
|
| 1184 |
+
0.114,
|
| 1185 |
+
0.533,
|
| 1186 |
+
0.375,
|
| 1187 |
+
0.549
|
| 1188 |
+
],
|
| 1189 |
+
"angle": 0,
|
| 1190 |
+
"content": "4.3 Training Hyperparameters"
|
| 1191 |
+
},
|
| 1192 |
+
{
|
| 1193 |
+
"type": "text",
|
| 1194 |
+
"bbox": [
|
| 1195 |
+
0.113,
|
| 1196 |
+
0.555,
|
| 1197 |
+
0.488,
|
| 1198 |
+
0.634
|
| 1199 |
+
],
|
| 1200 |
+
"angle": 0,
|
| 1201 |
+
"content": "All baseline and proposed models are trained with 8 GPUs of 32GB memory each, using AdamW optimizer and tri-stage learning rate scheduler. All training is done with SpecAugment enabled (Park et al., 2019)."
|
| 1202 |
+
},
|
| 1203 |
+
{
|
| 1204 |
+
"type": "text",
|
| 1205 |
+
"bbox": [
|
| 1206 |
+
0.113,
|
| 1207 |
+
0.637,
|
| 1208 |
+
0.489,
|
| 1209 |
+
0.766
|
| 1210 |
+
],
|
| 1211 |
+
"angle": 0,
|
| 1212 |
+
"content": "Hyperparameters, including warmup steps, hold steps, decay steps, learning rate, encoder and decoder dropouts, scaling factors in loss, and denoising probabilities, are obtained through hyperparameter sweeps using Bayesian optimization to maximize Exact Match (EM) accuracy on the eval split of STOP dataset. These hyperparameter values can be found in Table 8, Appendix A."
|
| 1213 |
+
},
|
| 1214 |
+
{
|
| 1215 |
+
"type": "title",
|
| 1216 |
+
"bbox": [
|
| 1217 |
+
0.114,
|
| 1218 |
+
0.781,
|
| 1219 |
+
0.214,
|
| 1220 |
+
0.796
|
| 1221 |
+
],
|
| 1222 |
+
"angle": 0,
|
| 1223 |
+
"content": "5 Results"
|
| 1224 |
+
},
|
| 1225 |
+
{
|
| 1226 |
+
"type": "text",
|
| 1227 |
+
"bbox": [
|
| 1228 |
+
0.113,
|
| 1229 |
+
0.809,
|
| 1230 |
+
0.489,
|
| 1231 |
+
0.922
|
| 1232 |
+
],
|
| 1233 |
+
"angle": 0,
|
| 1234 |
+
"content": "Quality Analysis On the 10M ASR model, PRoDeliberation achieves better performance than Mask Predict deliberation model and has similar performance to the AR deliberation model. For 25M ASR model, PRoDeliberation outperforms both Mask Predict and AR (Table 2). All models are trained on the STOP train split, optimized"
|
| 1235 |
+
},
|
| 1236 |
+
{
|
| 1237 |
+
"type": "image",
|
| 1238 |
+
"bbox": [
|
| 1239 |
+
0.513,
|
| 1240 |
+
0.082,
|
| 1241 |
+
0.885,
|
| 1242 |
+
0.269
|
| 1243 |
+
],
|
| 1244 |
+
"angle": 0,
|
| 1245 |
+
"content": null
|
| 1246 |
+
},
|
| 1247 |
+
{
|
| 1248 |
+
"type": "image_caption",
|
| 1249 |
+
"bbox": [
|
| 1250 |
+
0.51,
|
| 1251 |
+
0.278,
|
| 1252 |
+
0.884,
|
| 1253 |
+
0.337
|
| 1254 |
+
],
|
| 1255 |
+
"angle": 0,
|
| 1256 |
+
"content": "Figure 4: Latency by output length of AR, Mask Predict and ProDeliberation. AR latency increases linearly with output length, while the NAR models (Mask Predict and ProDeliberation) are approximately constant."
|
| 1257 |
+
},
|
| 1258 |
+
{
|
| 1259 |
+
"type": "text",
|
| 1260 |
+
"bbox": [
|
| 1261 |
+
0.508,
|
| 1262 |
+
0.361,
|
| 1263 |
+
0.884,
|
| 1264 |
+
0.442
|
| 1265 |
+
],
|
| 1266 |
+
"angle": 0,
|
| 1267 |
+
"content": "through hyperparameter sweeps on the STOP validation split, and the best run is evaluated on the STOP test split. The metric used is Exact Match, which is the sample-level accuracy for exactly predicting the target tokens."
|
| 1268 |
+
},
|
| 1269 |
+
{
|
| 1270 |
+
"type": "text",
|
| 1271 |
+
"bbox": [
|
| 1272 |
+
0.508,
|
| 1273 |
+
0.453,
|
| 1274 |
+
0.884,
|
| 1275 |
+
0.613
|
| 1276 |
+
],
|
| 1277 |
+
"angle": 0,
|
| 1278 |
+
"content": "Latency Analysis To measure the latency of the models, we first use Torchscript to export the NLU-equivalent module of the baselines and proposed model, each of which consists of fusion layers and an AR decoder or a CTC decoder. We run the Torchscript modules on an X86-64 CPU with 224 GB RAM with various output sequence lengths ranging from 5 to 50 tokens. For each output sequence length, latency is reported by averaging latency measurements of 50 runs."
|
| 1279 |
+
},
|
| 1280 |
+
{
|
| 1281 |
+
"type": "text",
|
| 1282 |
+
"bbox": [
|
| 1283 |
+
0.508,
|
| 1284 |
+
0.615,
|
| 1285 |
+
0.884,
|
| 1286 |
+
0.809
|
| 1287 |
+
],
|
| 1288 |
+
"angle": 0,
|
| 1289 |
+
"content": "The PRoDeliberation model has significantly lower latency than AR deliberation model; as shown in Figure 4, it is \\(\\sim 2\\mathrm{x}\\) faster for short output sequences (<10 tokens) and \\(\\sim 10\\mathrm{x}\\) faster for long output sequences (\\(>45\\) tokens). PRoDeliberation has similar latency to Mask Predict deliberation, which is expected as both models have non-autoregressive decoders. Due to their non-autoregressive decoding nature, their latency is largely unaffected by the output length, while AR deliberation latency scales linearly with the output length."
|
| 1290 |
+
},
|
| 1291 |
+
{
|
| 1292 |
+
"type": "title",
|
| 1293 |
+
"bbox": [
|
| 1294 |
+
0.51,
|
| 1295 |
+
0.823,
|
| 1296 |
+
0.619,
|
| 1297 |
+
0.839
|
| 1298 |
+
],
|
| 1299 |
+
"angle": 0,
|
| 1300 |
+
"content": "6 Analysis"
|
| 1301 |
+
},
|
| 1302 |
+
{
|
| 1303 |
+
"type": "title",
|
| 1304 |
+
"bbox": [
|
| 1305 |
+
0.509,
|
| 1306 |
+
0.851,
|
| 1307 |
+
0.729,
|
| 1308 |
+
0.865
|
| 1309 |
+
],
|
| 1310 |
+
"angle": 0,
|
| 1311 |
+
"content": "6.1 Architecture Ablation"
|
| 1312 |
+
},
|
| 1313 |
+
{
|
| 1314 |
+
"type": "text",
|
| 1315 |
+
"bbox": [
|
| 1316 |
+
0.508,
|
| 1317 |
+
0.874,
|
| 1318 |
+
0.884,
|
| 1319 |
+
0.922
|
| 1320 |
+
],
|
| 1321 |
+
"angle": 0,
|
| 1322 |
+
"content": "Encoder vs Decoder Size We study the importance of encoder and decoder depths in ProDeliberation by varying these depths while keeping model"
|
| 1323 |
+
},
|
| 1324 |
+
{
|
| 1325 |
+
"type": "page_number",
|
| 1326 |
+
"bbox": [
|
| 1327 |
+
0.478,
|
| 1328 |
+
0.928,
|
| 1329 |
+
0.525,
|
| 1330 |
+
0.941
|
| 1331 |
+
],
|
| 1332 |
+
"angle": 0,
|
| 1333 |
+
"content": "14033"
|
| 1334 |
+
}
|
| 1335 |
+
],
|
| 1336 |
+
[
|
| 1337 |
+
{
|
| 1338 |
+
"type": "text",
|
| 1339 |
+
"bbox": [
|
| 1340 |
+
0.113,
|
| 1341 |
+
0.085,
|
| 1342 |
+
0.493,
|
| 1343 |
+
0.326
|
| 1344 |
+
],
|
| 1345 |
+
"angle": 0,
|
| 1346 |
+
"content": "size constant (5M parameters) by adjusting the hidden dimension accordingly. Increasing encoder depth up to 4 encoder layers leads to better performance, but more than 4 encoder layers do not further improve the model performance (Table 3). We observe similar trend for decoder depth, where 3 decoder layers results in the best performance, but deeper decoder than 3 layers does not lead to further improvement (Table 4). Given the same number of parameters, optimal PRoDeliberation model (4 encoder layers, 3 decoder layers, 200 hidden dimension) requires deeper and narrower architecture than optimal AR Deliberation (2 encoder layers, 1 decoder layer, 224 hidden dimension, Table 7)."
|
| 1347 |
+
},
|
| 1348 |
+
{
|
| 1349 |
+
"type": "table_caption",
|
| 1350 |
+
"bbox": [
|
| 1351 |
+
0.114,
|
| 1352 |
+
0.338,
|
| 1353 |
+
0.49,
|
| 1354 |
+
0.368
|
| 1355 |
+
],
|
| 1356 |
+
"angle": 0,
|
| 1357 |
+
"content": "Table 3: Exact Match of ProDeliberation on STOP test set, with varying encoder depths at 5M parameters."
|
| 1358 |
+
},
|
| 1359 |
+
{
|
| 1360 |
+
"type": "table",
|
| 1361 |
+
"bbox": [
|
| 1362 |
+
0.122,
|
| 1363 |
+
0.377,
|
| 1364 |
+
0.48,
|
| 1365 |
+
0.508
|
| 1366 |
+
],
|
| 1367 |
+
"angle": 0,
|
| 1368 |
+
"content": "<table><tr><td>Enc. layers</td><td>Dec. layers</td><td>Hidden dim.</td><td>Total params</td><td>EM</td></tr><tr><td>2</td><td>3</td><td>224</td><td>5M</td><td>66.45</td></tr><tr><td>3</td><td>3</td><td>208</td><td>5M</td><td>67.84</td></tr><tr><td>4</td><td>3</td><td>200</td><td>5M</td><td>68.31</td></tr><tr><td>5</td><td>3</td><td>184</td><td>5M</td><td>67.93</td></tr><tr><td>6</td><td>3</td><td>176</td><td>5M</td><td>68.12</td></tr></table>"
|
| 1369 |
+
},
|
| 1370 |
+
{
|
| 1371 |
+
"type": "table_caption",
|
| 1372 |
+
"bbox": [
|
| 1373 |
+
0.114,
|
| 1374 |
+
0.534,
|
| 1375 |
+
0.489,
|
| 1376 |
+
0.566
|
| 1377 |
+
],
|
| 1378 |
+
"angle": 0,
|
| 1379 |
+
"content": "Table 4: Exact Match of ProDeliberation on STOP test set, with varying decoder depths at 5M parameters."
|
| 1380 |
+
},
|
| 1381 |
+
{
|
| 1382 |
+
"type": "table",
|
| 1383 |
+
"bbox": [
|
| 1384 |
+
0.122,
|
| 1385 |
+
0.574,
|
| 1386 |
+
0.48,
|
| 1387 |
+
0.706
|
| 1388 |
+
],
|
| 1389 |
+
"angle": 0,
|
| 1390 |
+
"content": "<table><tr><td>Enc. layers</td><td>Dec. layers</td><td>Hidden dim.</td><td>Total params</td><td>EM</td></tr><tr><td>4</td><td>1</td><td>216</td><td>5M</td><td>67.18</td></tr><tr><td>4</td><td>2</td><td>208</td><td>5M</td><td>67.73</td></tr><tr><td>4</td><td>3</td><td>200</td><td>5M</td><td>68.31</td></tr><tr><td>4</td><td>4</td><td>184</td><td>5M</td><td>68.05</td></tr><tr><td>4</td><td>5</td><td>176</td><td>5M</td><td>68.06</td></tr></table>"
|
| 1391 |
+
},
|
| 1392 |
+
{
|
| 1393 |
+
"type": "text",
|
| 1394 |
+
"bbox": [
|
| 1395 |
+
0.113,
|
| 1396 |
+
0.729,
|
| 1397 |
+
0.489,
|
| 1398 |
+
0.825
|
| 1399 |
+
],
|
| 1400 |
+
"angle": 0,
|
| 1401 |
+
"content": "Impact of Target length scale As mentioned in Section 3.2, we scale the predicted output length by a factor \\(\\alpha\\) to ensure the sequence length for the CTC loss is greater than or equal to the true output length. Here we investigate how this scale factor \\(\\alpha\\) affects the latency and quality of ProDeliberation."
|
| 1402 |
+
},
|
| 1403 |
+
{
|
| 1404 |
+
"type": "text",
|
| 1405 |
+
"bbox": [
|
| 1406 |
+
0.113,
|
| 1407 |
+
0.825,
|
| 1408 |
+
0.489,
|
| 1409 |
+
0.905
|
| 1410 |
+
],
|
| 1411 |
+
"angle": 0,
|
| 1412 |
+
"content": "Figure 5 shows a minimal impact on latency when we vary target length scale \\(\\alpha\\). This is expected as ProDeliberation decodes all output tokens at the same time, so output sequence length does not significantly effect inference latency."
|
| 1413 |
+
},
|
| 1414 |
+
{
|
| 1415 |
+
"type": "text",
|
| 1416 |
+
"bbox": [
|
| 1417 |
+
0.132,
|
| 1418 |
+
0.906,
|
| 1419 |
+
0.488,
|
| 1420 |
+
0.922
|
| 1421 |
+
],
|
| 1422 |
+
"angle": 0,
|
| 1423 |
+
"content": "We observe that \\(\\alpha\\) being too small (<1.8) leads"
|
| 1424 |
+
},
|
| 1425 |
+
{
|
| 1426 |
+
"type": "image",
|
| 1427 |
+
"bbox": [
|
| 1428 |
+
0.527,
|
| 1429 |
+
0.092,
|
| 1430 |
+
0.877,
|
| 1431 |
+
0.289
|
| 1432 |
+
],
|
| 1433 |
+
"angle": 0,
|
| 1434 |
+
"content": null
|
| 1435 |
+
},
|
| 1436 |
+
{
|
| 1437 |
+
"type": "image_caption",
|
| 1438 |
+
"bbox": [
|
| 1439 |
+
0.509,
|
| 1440 |
+
0.308,
|
| 1441 |
+
0.884,
|
| 1442 |
+
0.339
|
| 1443 |
+
],
|
| 1444 |
+
"angle": 0,
|
| 1445 |
+
"content": "Figure 5: Latency by output length with different target length scale factor \\(\\alpha\\)."
|
| 1446 |
+
},
|
| 1447 |
+
{
|
| 1448 |
+
"type": "text",
|
| 1449 |
+
"bbox": [
|
| 1450 |
+
0.508,
|
| 1451 |
+
0.365,
|
| 1452 |
+
0.885,
|
| 1453 |
+
0.43
|
| 1454 |
+
],
|
| 1455 |
+
"angle": 0,
|
| 1456 |
+
"content": "to very poor performance, while large \\(\\alpha (>2)\\) does not affect performance nearly as much, and \\(\\alpha = 2\\) results in the best performance (Table 9, Appendix A)."
|
| 1457 |
+
},
|
| 1458 |
+
{
|
| 1459 |
+
"type": "title",
|
| 1460 |
+
"bbox": [
|
| 1461 |
+
0.509,
|
| 1462 |
+
0.445,
|
| 1463 |
+
0.704,
|
| 1464 |
+
0.46
|
| 1465 |
+
],
|
| 1466 |
+
"angle": 0,
|
| 1467 |
+
"content": "6.2 Denoising ablation"
|
| 1468 |
+
},
|
| 1469 |
+
{
|
| 1470 |
+
"type": "text",
|
| 1471 |
+
"bbox": [
|
| 1472 |
+
0.508,
|
| 1473 |
+
0.468,
|
| 1474 |
+
0.884,
|
| 1475 |
+
0.565
|
| 1476 |
+
],
|
| 1477 |
+
"angle": 0,
|
| 1478 |
+
"content": "We perform an ablation study on the denoising, investigating the relative importance of substitution and deletion noise, as well as the relative performance of the meta noising strategies. The results are summarized in Table 5. For each setting, we sweep to find the optimal denoising parameter(s)."
|
| 1479 |
+
},
|
| 1480 |
+
{
|
| 1481 |
+
"type": "text",
|
| 1482 |
+
"bbox": [
|
| 1483 |
+
0.508,
|
| 1484 |
+
0.567,
|
| 1485 |
+
0.885,
|
| 1486 |
+
0.807
|
| 1487 |
+
],
|
| 1488 |
+
"angle": 0,
|
| 1489 |
+
"content": "Sampling between deletion and substitution noise shows the best performance for both 10M and 25M ASR. The sampling denoise strategy requires higher substitution probability than deletion probability in both 10M and 25M models. The substitution-only denoise model also performs better than the deletion-only denoise model with 10M ASR and is on-par with the deletion-only denoise model with 25M ASR. 10M ASR requires lower substitution probability but slightly higher deletion probability than 25M ASR. All models with denoising perform better than models with no noise. Moreover, performance without denoising is on par with the autoregressive model; denoising improves performance further."
|
| 1490 |
+
},
|
| 1491 |
+
{
|
| 1492 |
+
"type": "text",
|
| 1493 |
+
"bbox": [
|
| 1494 |
+
0.508,
|
| 1495 |
+
0.809,
|
| 1496 |
+
0.886,
|
| 1497 |
+
0.922
|
| 1498 |
+
],
|
| 1499 |
+
"angle": 0,
|
| 1500 |
+
"content": "From the error breakdown in Table 6 we see that when the ASR model is smaller (and therefore more error prone) a greater share of the improvement from denoising comes from the samples with ASR errors. Moreover, there is greater overall improvement with a smaller ASR model. This indicates that the denoising works as expected: by"
|
| 1501 |
+
},
|
| 1502 |
+
{
|
| 1503 |
+
"type": "page_number",
|
| 1504 |
+
"bbox": [
|
| 1505 |
+
0.478,
|
| 1506 |
+
0.928,
|
| 1507 |
+
0.526,
|
| 1508 |
+
0.941
|
| 1509 |
+
],
|
| 1510 |
+
"angle": 0,
|
| 1511 |
+
"content": "14034"
|
| 1512 |
+
}
|
| 1513 |
+
],
|
| 1514 |
+
[
|
| 1515 |
+
{
|
| 1516 |
+
"type": "table_caption",
|
| 1517 |
+
"bbox": [
|
| 1518 |
+
0.178,
|
| 1519 |
+
0.083,
|
| 1520 |
+
0.817,
|
| 1521 |
+
0.098
|
| 1522 |
+
],
|
| 1523 |
+
"angle": 0,
|
| 1524 |
+
"content": "Table 5: Denoising ablation study. For each ASR model size, we compare denoising strategies."
|
| 1525 |
+
},
|
| 1526 |
+
{
|
| 1527 |
+
"type": "table",
|
| 1528 |
+
"bbox": [
|
| 1529 |
+
0.184,
|
| 1530 |
+
0.108,
|
| 1531 |
+
0.812,
|
| 1532 |
+
0.223
|
| 1533 |
+
],
|
| 1534 |
+
"angle": 0,
|
| 1535 |
+
"content": "<table><tr><td rowspan=\"2\">Denoise strategy</td><td colspan=\"3\">10M ASR</td><td colspan=\"3\">25M ASR</td></tr><tr><td>Subs prob</td><td>Del prob</td><td>EM</td><td>Subs prob</td><td>Del prob</td><td>EM</td></tr><tr><td>samp(del, subs)</td><td>0.088</td><td>0.003</td><td>68.31</td><td>0.026</td><td>0.007</td><td>74.27</td></tr><tr><td>del</td><td>-</td><td>0.012</td><td>67.8</td><td>-</td><td>0.024</td><td>74.07</td></tr><tr><td>subs</td><td>0.069</td><td>-</td><td>68.02</td><td>0.04</td><td>-</td><td>74.02</td></tr><tr><td>no noise</td><td>-</td><td>-</td><td>67.95</td><td>-</td><td>-</td><td>73.96</td></tr></table>"
|
| 1536 |
+
},
|
| 1537 |
+
{
|
| 1538 |
+
"type": "table_caption",
|
| 1539 |
+
"bbox": [
|
| 1540 |
+
0.113,
|
| 1541 |
+
0.243,
|
| 1542 |
+
0.486,
|
| 1543 |
+
0.287
|
| 1544 |
+
],
|
| 1545 |
+
"angle": 0,
|
| 1546 |
+
"content": "Table 6: Exact Match of E2E models with different ASR model sizes. We break down EM into samples with ASR errors and samples without ASR errors."
|
| 1547 |
+
},
|
| 1548 |
+
{
|
| 1549 |
+
"type": "table",
|
| 1550 |
+
"bbox": [
|
| 1551 |
+
0.117,
|
| 1552 |
+
0.298,
|
| 1553 |
+
0.487,
|
| 1554 |
+
0.396
|
| 1555 |
+
],
|
| 1556 |
+
"angle": 0,
|
| 1557 |
+
"content": "<table><tr><td></td><td colspan=\"2\">10M ASR</td><td colspan=\"2\">25M ASR</td></tr><tr><td>EM</td><td>CTC</td><td>CTC+D</td><td>CTC</td><td>CTC+D</td></tr><tr><td>total</td><td>67.95</td><td>68.31</td><td>73.96</td><td>74.27</td></tr><tr><td>no ASR error</td><td>85.18</td><td>85.14</td><td>82.95</td><td>83.14</td></tr><tr><td>ASR error</td><td>25.70</td><td>27.00</td><td>54.36</td><td>54.73</td></tr></table>"
|
| 1558 |
+
},
|
| 1559 |
+
{
|
| 1560 |
+
"type": "text",
|
| 1561 |
+
"bbox": [
|
| 1562 |
+
0.114,
|
| 1563 |
+
0.421,
|
| 1564 |
+
0.388,
|
| 1565 |
+
0.436
|
| 1566 |
+
],
|
| 1567 |
+
"angle": 0,
|
| 1568 |
+
"content": "improving robustness to ASR errors."
|
| 1569 |
+
},
|
| 1570 |
+
{
|
| 1571 |
+
"type": "title",
|
| 1572 |
+
"bbox": [
|
| 1573 |
+
0.114,
|
| 1574 |
+
0.448,
|
| 1575 |
+
0.247,
|
| 1576 |
+
0.463
|
| 1577 |
+
],
|
| 1578 |
+
"angle": 0,
|
| 1579 |
+
"content": "7 Conclusion"
|
| 1580 |
+
},
|
| 1581 |
+
{
|
| 1582 |
+
"type": "text",
|
| 1583 |
+
"bbox": [
|
| 1584 |
+
0.113,
|
| 1585 |
+
0.474,
|
| 1586 |
+
0.49,
|
| 1587 |
+
0.716
|
| 1588 |
+
],
|
| 1589 |
+
"angle": 0,
|
| 1590 |
+
"content": "We presented a novel SLU model, PRoDeliberation, which uses a CTC decoder and noise augmentation to train a parallelized and robust E2E SLU model. This model achieves much lower latency than the state-of-the-art models while maintaining the ability to correct errors in the ASR transcript. Further, we analyzed the system's performance across two ASR model sizes and provided ablations guiding the decisions made when designing PRoDeliberation. We also show that the denoising training for PRoDeliberation allows it to overcome the limitations of very small ASR models. This represents a significant step forward in building E2E SLU systems that are small enough and have low enough latency to run on edge devices."
|
| 1591 |
+
},
|
| 1592 |
+
{
|
| 1593 |
+
"type": "title",
|
| 1594 |
+
"bbox": [
|
| 1595 |
+
0.114,
|
| 1596 |
+
0.727,
|
| 1597 |
+
0.25,
|
| 1598 |
+
0.741
|
| 1599 |
+
],
|
| 1600 |
+
"angle": 0,
|
| 1601 |
+
"content": "8 Limitations"
|
| 1602 |
+
},
|
| 1603 |
+
{
|
| 1604 |
+
"type": "text",
|
| 1605 |
+
"bbox": [
|
| 1606 |
+
0.113,
|
| 1607 |
+
0.752,
|
| 1608 |
+
0.489,
|
| 1609 |
+
0.815
|
| 1610 |
+
],
|
| 1611 |
+
"angle": 0,
|
| 1612 |
+
"content": "Even though PRoDeliberation shows significant latency reduction compared to autoregressive deliberation while retaining the model quality, PRoDeliberation still has its own limitations."
|
| 1613 |
+
},
|
| 1614 |
+
{
|
| 1615 |
+
"type": "text",
|
| 1616 |
+
"bbox": [
|
| 1617 |
+
0.113,
|
| 1618 |
+
0.826,
|
| 1619 |
+
0.49,
|
| 1620 |
+
0.921
|
| 1621 |
+
],
|
| 1622 |
+
"angle": 0,
|
| 1623 |
+
"content": "Lack of beam search support Autoregressive deliberation model can use beam search with larger beam size to improve the model's generation quality, at the cost of added latency. PRoDeliberation, on the other hand, has a non-autoregressive decoder and cannot directly use beam search to fur"
|
| 1624 |
+
},
|
| 1625 |
+
{
|
| 1626 |
+
"type": "text",
|
| 1627 |
+
"bbox": [
|
| 1628 |
+
0.508,
|
| 1629 |
+
0.246,
|
| 1630 |
+
0.885,
|
| 1631 |
+
0.438
|
| 1632 |
+
],
|
| 1633 |
+
"angle": 0,
|
| 1634 |
+
"content": "ther augment the model performance. We can extend PRoDeliberation to allow for beam search in a couple of ways. Similar to (Xiao et al., 2023), we can use multiple candidate lengths from the length prediction module and decode according to each in parallel. Another possibility is to look into fusion mechanisms with language models similar to (Futami et al., 2022). However, one thing to note is that in the on-device space which deliberation models target (Le et al., 2022), the added latency from larger beam size is rarely tolerated and beam size of 1 is often used."
|
| 1635 |
+
},
|
| 1636 |
+
{
|
| 1637 |
+
"type": "text",
|
| 1638 |
+
"bbox": [
|
| 1639 |
+
0.508,
|
| 1640 |
+
0.448,
|
| 1641 |
+
0.885,
|
| 1642 |
+
0.593
|
| 1643 |
+
],
|
| 1644 |
+
"angle": 0,
|
| 1645 |
+
"content": "Data requirements This approach requires access to pairs of audio data with semantic parse labels. Though this is a common requirement for end-to-end SLU models, it does pose a more difficult data requirement than cascaded systems, which require audio samples with text labels and text samples with semantic parse labels, the combination of which is easier to generate than the audio data with semantic parse labels."
|
| 1646 |
+
},
|
| 1647 |
+
{
|
| 1648 |
+
"type": "text",
|
| 1649 |
+
"bbox": [
|
| 1650 |
+
0.508,
|
| 1651 |
+
0.6,
|
| 1652 |
+
0.884,
|
| 1653 |
+
0.745
|
| 1654 |
+
],
|
| 1655 |
+
"angle": 0,
|
| 1656 |
+
"content": "While this paper focused on methods which minimize latency, there are other mechanisms for further improving quality at the expense of increased latency. Iterative refinement is an approach that would have this trade-off, which can be used for both ProDeliberation as well as the Mask Predict baseline. Future work may explore this approach to offer approaches with different balances between latency and quality."
|
| 1657 |
+
},
|
| 1658 |
+
{
|
| 1659 |
+
"type": "title",
|
| 1660 |
+
"bbox": [
|
| 1661 |
+
0.511,
|
| 1662 |
+
0.771,
|
| 1663 |
+
0.61,
|
| 1664 |
+
0.787
|
| 1665 |
+
],
|
| 1666 |
+
"angle": 0,
|
| 1667 |
+
"content": "References"
|
| 1668 |
+
},
|
| 1669 |
+
{
|
| 1670 |
+
"type": "text",
|
| 1671 |
+
"bbox": [
|
| 1672 |
+
0.511,
|
| 1673 |
+
0.794,
|
| 1674 |
+
0.885,
|
| 1675 |
+
0.9
|
| 1676 |
+
],
|
| 1677 |
+
"angle": 0,
|
| 1678 |
+
"content": "Armen Aghajanyan, Jean Maillard, Akshit Shrivastava, Keith Diedrick, Michael Haeger, Haoran Li, Yashar Mehdad, Veselin Stoyanov, Anuj Kumar, Mike Lewis, and Sonal Gupta. 2020. Conversational Semantic Parsing. In Proceedings of the Conference on Empirical Methods in Natural Language Processing and the International Joint Conference on Natural Language Processing (EMNLP-IJCNLP)."
|
| 1679 |
+
},
|
| 1680 |
+
{
|
| 1681 |
+
"type": "text",
|
| 1682 |
+
"bbox": [
|
| 1683 |
+
0.51,
|
| 1684 |
+
0.907,
|
| 1685 |
+
0.883,
|
| 1686 |
+
0.922
|
| 1687 |
+
],
|
| 1688 |
+
"angle": 0,
|
| 1689 |
+
"content": "Arun Babu, Akshit Shrivastava, Armen Aghajanyan,"
|
| 1690 |
+
},
|
| 1691 |
+
{
|
| 1692 |
+
"type": "page_number",
|
| 1693 |
+
"bbox": [
|
| 1694 |
+
0.478,
|
| 1695 |
+
0.928,
|
| 1696 |
+
0.526,
|
| 1697 |
+
0.941
|
| 1698 |
+
],
|
| 1699 |
+
"angle": 0,
|
| 1700 |
+
"content": "14035"
|
| 1701 |
+
}
|
| 1702 |
+
],
|
| 1703 |
+
[
|
| 1704 |
+
{
|
| 1705 |
+
"type": "ref_text",
|
| 1706 |
+
"bbox": [
|
| 1707 |
+
0.135,
|
| 1708 |
+
0.086,
|
| 1709 |
+
0.489,
|
| 1710 |
+
0.166
|
| 1711 |
+
],
|
| 1712 |
+
"angle": 0,
|
| 1713 |
+
"content": "Ahmed Aly, Angela Fan, and Marjan Ghazvininej. 2021. Non-Autoregressive Semantic Parsing for Compositional Task-Oriented Dialog. In Proceedings of the Annual Conference of the North American Chapter of the Association for Computational Linguistics (NAACL)."
|
| 1714 |
+
},
|
| 1715 |
+
{
|
| 1716 |
+
"type": "ref_text",
|
| 1717 |
+
"bbox": [
|
| 1718 |
+
0.117,
|
| 1719 |
+
0.175,
|
| 1720 |
+
0.49,
|
| 1721 |
+
0.227
|
| 1722 |
+
],
|
| 1723 |
+
"angle": 0,
|
| 1724 |
+
"content": "Alexei Baevski, Henry Zhou, Abdelrahman Mohamed, and Michael Auli. 2020. wav2vec 2.0: A framework for self-supervised learning of speech representations. CoRR, abs/2006.11477."
|
| 1725 |
+
},
|
| 1726 |
+
{
|
| 1727 |
+
"type": "ref_text",
|
| 1728 |
+
"bbox": [
|
| 1729 |
+
0.117,
|
| 1730 |
+
0.238,
|
| 1731 |
+
0.489,
|
| 1732 |
+
0.289
|
| 1733 |
+
],
|
| 1734 |
+
"angle": 0,
|
| 1735 |
+
"content": "Emanuele Bastianelli, Andrea Vanzo, Pawel Swietojanski, and Verena Rieser. 2020. SLURP: A spoken language understanding resource package. CoRR, abs/2011.13205."
|
| 1736 |
+
},
|
| 1737 |
+
{
|
| 1738 |
+
"type": "ref_text",
|
| 1739 |
+
"bbox": [
|
| 1740 |
+
0.117,
|
| 1741 |
+
0.3,
|
| 1742 |
+
0.489,
|
| 1743 |
+
0.378
|
| 1744 |
+
],
|
| 1745 |
+
"angle": 0,
|
| 1746 |
+
"content": "Xilun Chen, Ashish Ghoshal, Yashar Mehdad, Luke Zettlemoyer, and Sonal Gupta. 2020. Low-Resource Domain Adaptation for Compositional Task-Oriented Semantic Parsing. In Proceedings of the Conference on Empirical Methods in Natural Language Processing (EMNLP)."
|
| 1747 |
+
},
|
| 1748 |
+
{
|
| 1749 |
+
"type": "ref_text",
|
| 1750 |
+
"bbox": [
|
| 1751 |
+
0.117,
|
| 1752 |
+
0.389,
|
| 1753 |
+
0.489,
|
| 1754 |
+
0.441
|
| 1755 |
+
],
|
| 1756 |
+
"angle": 0,
|
| 1757 |
+
"content": "Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. 2019. Bert: Pre-training of deep bidirectional transformers for language understanding."
|
| 1758 |
+
},
|
| 1759 |
+
{
|
| 1760 |
+
"type": "ref_text",
|
| 1761 |
+
"bbox": [
|
| 1762 |
+
0.117,
|
| 1763 |
+
0.452,
|
| 1764 |
+
0.489,
|
| 1765 |
+
0.516
|
| 1766 |
+
],
|
| 1767 |
+
"angle": 0,
|
| 1768 |
+
"content": "Hayato Futami, Hirofumi Inaguma, Sei Ueno, Masato Mimura, Shinsuke Sakai, and Tatsuya Kawahara. 2022. Non-autoregressive error correction for ctc-based asr with phone-conditioned masked lm. arXiv preprint arXiv:2209.04062."
|
| 1769 |
+
},
|
| 1770 |
+
{
|
| 1771 |
+
"type": "ref_text",
|
| 1772 |
+
"bbox": [
|
| 1773 |
+
0.117,
|
| 1774 |
+
0.526,
|
| 1775 |
+
0.489,
|
| 1776 |
+
0.618
|
| 1777 |
+
],
|
| 1778 |
+
"angle": 0,
|
| 1779 |
+
"content": "Marjan Ghazvininejad, Omer Levy, Yinhan Liu, and Luke Zettlemoyer. 2019. Mask-Predict: Parallel Decoding of Conditional Masked Language Models. In Proceedings of the Conference on Empirical Methods in Natural Language Processing and the International Joint Conference on Natural Language Processing (EMNLP-IJCNLP)."
|
| 1780 |
+
},
|
| 1781 |
+
{
|
| 1782 |
+
"type": "ref_text",
|
| 1783 |
+
"bbox": [
|
| 1784 |
+
0.117,
|
| 1785 |
+
0.629,
|
| 1786 |
+
0.489,
|
| 1787 |
+
0.668
|
| 1788 |
+
],
|
| 1789 |
+
"angle": 0,
|
| 1790 |
+
"content": "A. Graves. 2012. Sequence transduction with recurrent neural networks. In ICML Representation Learning Workshop."
|
| 1791 |
+
},
|
| 1792 |
+
{
|
| 1793 |
+
"type": "ref_text",
|
| 1794 |
+
"bbox": [
|
| 1795 |
+
0.117,
|
| 1796 |
+
0.678,
|
| 1797 |
+
0.49,
|
| 1798 |
+
0.757
|
| 1799 |
+
],
|
| 1800 |
+
"angle": 0,
|
| 1801 |
+
"content": "Alex Graves, Santiago Fernández, Faustino J. Gomez, and Jürgen Schmidhuber. 2006. Connectionist temporal classification: labelling unsegmented sequence data with recurrent neural networks. Proceedings of the 23rd international conference on Machine learning."
|
| 1802 |
+
},
|
| 1803 |
+
{
|
| 1804 |
+
"type": "ref_text",
|
| 1805 |
+
"bbox": [
|
| 1806 |
+
0.117,
|
| 1807 |
+
0.766,
|
| 1808 |
+
0.49,
|
| 1809 |
+
0.844
|
| 1810 |
+
],
|
| 1811 |
+
"angle": 0,
|
| 1812 |
+
"content": "Anmol Gulati, James Qin, Chung-Cheng Chiu, Niki Parmar, Yu Zhang, Jiahui Yu, Wei Han, Shibo Wang, Zhengdong Zhang, Yonghui Wu, et al. 2020. Conformer: Convolution-augmented transformer for speech recognition. arXiv preprint arXiv:2005.08100."
|
| 1813 |
+
},
|
| 1814 |
+
{
|
| 1815 |
+
"type": "ref_text",
|
| 1816 |
+
"bbox": [
|
| 1817 |
+
0.117,
|
| 1818 |
+
0.855,
|
| 1819 |
+
0.489,
|
| 1820 |
+
0.92
|
| 1821 |
+
],
|
| 1822 |
+
"angle": 0,
|
| 1823 |
+
"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."
|
| 1824 |
+
},
|
| 1825 |
+
{
|
| 1826 |
+
"type": "list",
|
| 1827 |
+
"bbox": [
|
| 1828 |
+
0.117,
|
| 1829 |
+
0.086,
|
| 1830 |
+
0.49,
|
| 1831 |
+
0.92
|
| 1832 |
+
],
|
| 1833 |
+
"angle": 0,
|
| 1834 |
+
"content": null
|
| 1835 |
+
},
|
| 1836 |
+
{
|
| 1837 |
+
"type": "ref_text",
|
| 1838 |
+
"bbox": [
|
| 1839 |
+
0.512,
|
| 1840 |
+
0.086,
|
| 1841 |
+
0.882,
|
| 1842 |
+
0.126
|
| 1843 |
+
],
|
| 1844 |
+
"angle": 0,
|
| 1845 |
+
"content": "Kevin Hu, Rohit Prabhavalkar, Ruoming Pang, and Tara Sainath. 2020. Deliberation Model Based Two-Pass End-to-End Speech Recognition. In Proc. ICASSP."
|
| 1846 |
+
},
|
| 1847 |
+
{
|
| 1848 |
+
"type": "ref_text",
|
| 1849 |
+
"bbox": [
|
| 1850 |
+
0.512,
|
| 1851 |
+
0.136,
|
| 1852 |
+
0.883,
|
| 1853 |
+
0.228
|
| 1854 |
+
],
|
| 1855 |
+
"angle": 0,
|
| 1856 |
+
"content": "Yosuke Kashiwagi, Siddhant Arora, Hayato Futami, Jessica Huynh, Shih-Lun Wu, Yifan Peng, Brian Yan, Emiru Tsunoo, and Shinji Watanabe. 2023. Ebranchformer-based e2e slu toward stop on-device challenge. In ICASSP 2023 - 2023 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pages 1-2."
|
| 1857 |
+
},
|
| 1858 |
+
{
|
| 1859 |
+
"type": "ref_text",
|
| 1860 |
+
"bbox": [
|
| 1861 |
+
0.512,
|
| 1862 |
+
0.238,
|
| 1863 |
+
0.883,
|
| 1864 |
+
0.303
|
| 1865 |
+
],
|
| 1866 |
+
"angle": 0,
|
| 1867 |
+
"content": "Suyoun Kim, Akshit Shrivastava, Duc Le, Ju Lin, Ozlem Kalinli, and Michael L. Seltzer. 2023. Modality confidence aware training for robust end-to-end spoken language understanding. ArXiv, abs/2307.12134."
|
| 1868 |
+
},
|
| 1869 |
+
{
|
| 1870 |
+
"type": "ref_text",
|
| 1871 |
+
"bbox": [
|
| 1872 |
+
0.512,
|
| 1873 |
+
0.313,
|
| 1874 |
+
0.883,
|
| 1875 |
+
0.405
|
| 1876 |
+
],
|
| 1877 |
+
"angle": 0,
|
| 1878 |
+
"content": "Taku Kudo and John Richardson. 2018. SentencePiece: A simple and language independent subword tokenizer and tokenizer for neural text processing. In Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing: System Demonstrations, pages 66-71, Brussels, Belgium. Association for Computational Linguistics."
|
| 1879 |
+
},
|
| 1880 |
+
{
|
| 1881 |
+
"type": "ref_text",
|
| 1882 |
+
"bbox": [
|
| 1883 |
+
0.512,
|
| 1884 |
+
0.415,
|
| 1885 |
+
0.883,
|
| 1886 |
+
0.468
|
| 1887 |
+
],
|
| 1888 |
+
"angle": 0,
|
| 1889 |
+
"content": "Duc Le, Akshat Shrivastava, Paden Tomasello, Suyoun Kim, Aleksandr Livshits, Ozlem Kalinli, and Michael L Seltzer. 2022. Deliberation model for ondevice spoken language understanding. Interspeech."
|
| 1890 |
+
},
|
| 1891 |
+
{
|
| 1892 |
+
"type": "ref_text",
|
| 1893 |
+
"bbox": [
|
| 1894 |
+
0.512,
|
| 1895 |
+
0.477,
|
| 1896 |
+
0.883,
|
| 1897 |
+
0.569
|
| 1898 |
+
],
|
| 1899 |
+
"angle": 0,
|
| 1900 |
+
"content": "Mike Lewis, Yinhan Liu, Naman Goyal, Marjan Ghazvininejad, Abdelrahman Mohamed, Omer Levy, Ves Stoyanov, and Luke Zettlemoyer. 2020. BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehension. In Proceedings of the Annual Meeting of the Association for Computational Linguistics (ACL)."
|
| 1901 |
+
},
|
| 1902 |
+
{
|
| 1903 |
+
"type": "ref_text",
|
| 1904 |
+
"bbox": [
|
| 1905 |
+
0.512,
|
| 1906 |
+
0.579,
|
| 1907 |
+
0.883,
|
| 1908 |
+
0.644
|
| 1909 |
+
],
|
| 1910 |
+
"angle": 0,
|
| 1911 |
+
"content": "Jindrich Libovicky and Jindrich Helcl. 2018. End-to-end non-autoregressive neural machine translation with connectionist temporal classification. In Conference on Empirical Methods in Natural Language Processing."
|
| 1912 |
+
},
|
| 1913 |
+
{
|
| 1914 |
+
"type": "ref_text",
|
| 1915 |
+
"bbox": [
|
| 1916 |
+
0.512,
|
| 1917 |
+
0.655,
|
| 1918 |
+
0.883,
|
| 1919 |
+
0.72
|
| 1920 |
+
],
|
| 1921 |
+
"angle": 0,
|
| 1922 |
+
"content": "Daniel S Park, William Chan, Yu Zhang, Chung-Cheng Chiu, Barret Zoph, Ekin D Cubuk, and Quoc V Le. 2019. Specaugment: A simple data augmentation method for automatic speech recognition. arXiv preprint arXiv:1904.08779."
|
| 1923 |
+
},
|
| 1924 |
+
{
|
| 1925 |
+
"type": "ref_text",
|
| 1926 |
+
"bbox": [
|
| 1927 |
+
0.512,
|
| 1928 |
+
0.73,
|
| 1929 |
+
0.883,
|
| 1930 |
+
0.77
|
| 1931 |
+
],
|
| 1932 |
+
"angle": 0,
|
| 1933 |
+
"content": "Martin H. Radfar, Athanasios Mouchtaris, Siegfried Kunzmann, and Ariya Rastrow. 2021. Fans: Fusing asr and nlu for on-device slu. In *Interspeech*."
|
| 1934 |
+
},
|
| 1935 |
+
{
|
| 1936 |
+
"type": "ref_text",
|
| 1937 |
+
"bbox": [
|
| 1938 |
+
0.512,
|
| 1939 |
+
0.779,
|
| 1940 |
+
0.883,
|
| 1941 |
+
0.857
|
| 1942 |
+
],
|
| 1943 |
+
"angle": 0,
|
| 1944 |
+
"content": "Colin Raffel, Noam Shazeer, Adam Roberts, Katherine Lee, Sharan Narang, Michael Matena, Yanqi Zhou, Wei Li, and Peter J Liu. 2020. Exploring the limits of transfer learning with a unified text-to-text transformer. The Journal of Machine Learning Research, 21(1):5485-5551."
|
| 1945 |
+
},
|
| 1946 |
+
{
|
| 1947 |
+
"type": "ref_text",
|
| 1948 |
+
"bbox": [
|
| 1949 |
+
0.512,
|
| 1950 |
+
0.868,
|
| 1951 |
+
0.883,
|
| 1952 |
+
0.92
|
| 1953 |
+
],
|
| 1954 |
+
"angle": 0,
|
| 1955 |
+
"content": "Milind Rao, Anirudh Raju, Pranav Dheram, Bach Bui, and Ariya Rastrow. 2020. Speech to semantics: Improve asr and nlu jointly via all-neural interfaces. In Proc. INTERSPEECH."
|
| 1956 |
+
},
|
| 1957 |
+
{
|
| 1958 |
+
"type": "list",
|
| 1959 |
+
"bbox": [
|
| 1960 |
+
0.512,
|
| 1961 |
+
0.086,
|
| 1962 |
+
0.883,
|
| 1963 |
+
0.92
|
| 1964 |
+
],
|
| 1965 |
+
"angle": 0,
|
| 1966 |
+
"content": null
|
| 1967 |
+
},
|
| 1968 |
+
{
|
| 1969 |
+
"type": "page_number",
|
| 1970 |
+
"bbox": [
|
| 1971 |
+
0.478,
|
| 1972 |
+
0.929,
|
| 1973 |
+
0.526,
|
| 1974 |
+
0.941
|
| 1975 |
+
],
|
| 1976 |
+
"angle": 0,
|
| 1977 |
+
"content": "14036"
|
| 1978 |
+
}
|
| 1979 |
+
],
|
| 1980 |
+
[
|
| 1981 |
+
{
|
| 1982 |
+
"type": "ref_text",
|
| 1983 |
+
"bbox": [
|
| 1984 |
+
0.117,
|
| 1985 |
+
0.086,
|
| 1986 |
+
0.49,
|
| 1987 |
+
0.138
|
| 1988 |
+
],
|
| 1989 |
+
"angle": 0,
|
| 1990 |
+
"content": "Chitwan Sahara, William Chan, Saurabh Saxena, and Mohammad Norouzi. 2020. Non-autoregressive machine translation with latent alignments. *ArXiv*, abs/2004.07437."
|
| 1991 |
+
},
|
| 1992 |
+
{
|
| 1993 |
+
"type": "ref_text",
|
| 1994 |
+
"bbox": [
|
| 1995 |
+
0.117,
|
| 1996 |
+
0.149,
|
| 1997 |
+
0.49,
|
| 1998 |
+
0.215
|
| 1999 |
+
],
|
| 2000 |
+
"angle": 0,
|
| 2001 |
+
"content": "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 Linguistics (Volume 1: Long Papers)."
|
| 2002 |
+
},
|
| 2003 |
+
{
|
| 2004 |
+
"type": "ref_text",
|
| 2005 |
+
"bbox": [
|
| 2006 |
+
0.117,
|
| 2007 |
+
0.224,
|
| 2008 |
+
0.49,
|
| 2009 |
+
0.302
|
| 2010 |
+
],
|
| 2011 |
+
"angle": 0,
|
| 2012 |
+
"content": "Roshan Sharma, Suyoun Kim, Daniel Lazar, Trang Le, Akshit Shrivastava, Kwanghoon Ahn, Piyush Kansal, Leda Sari, Ozlem Kalinli, and Michael Seltzer. 2023. Augmenting text for spoken language understanding with large language models. arXiv preprint arXiv:2309.09390."
|
| 2013 |
+
},
|
| 2014 |
+
{
|
| 2015 |
+
"type": "ref_text",
|
| 2016 |
+
"bbox": [
|
| 2017 |
+
0.117,
|
| 2018 |
+
0.312,
|
| 2019 |
+
0.49,
|
| 2020 |
+
0.39
|
| 2021 |
+
],
|
| 2022 |
+
"angle": 0,
|
| 2023 |
+
"content": "Yangyang Shi, Chunyang Wu, Dilin Wang, Alex Xiao, Jay Mahadeokar, Xiaohui Zhang, Chunxi Liu, Ke Li, Yuan Shangguan, Varun Nagaraja, et al. 2022. Streaming transformer transducer based speech recognition using non-causal convolution. Proc. ICASSP."
|
| 2024 |
+
},
|
| 2025 |
+
{
|
| 2026 |
+
"type": "ref_text",
|
| 2027 |
+
"bbox": [
|
| 2028 |
+
0.117,
|
| 2029 |
+
0.4,
|
| 2030 |
+
0.49,
|
| 2031 |
+
0.492
|
| 2032 |
+
],
|
| 2033 |
+
"angle": 0,
|
| 2034 |
+
"content": "Akshat Shrivastava, Pierce Chuang, Arun Babu, Shrey Desai, Abhinav Arora, Alexander Zotov, and Ahmed Aly. 2021. Span Pointer Networks for Non-Autoregressive Task-Oriented Semantic Parsing. In Proceedings of the Findings of the Conference on Empirical Methods in Natural Language Processing (EMNLP)."
|
| 2035 |
+
},
|
| 2036 |
+
{
|
| 2037 |
+
"type": "ref_text",
|
| 2038 |
+
"bbox": [
|
| 2039 |
+
0.117,
|
| 2040 |
+
0.501,
|
| 2041 |
+
0.49,
|
| 2042 |
+
0.607
|
| 2043 |
+
],
|
| 2044 |
+
"angle": 0,
|
| 2045 |
+
"content": "Akshat Shrivastava, Shrey Desai, Anchit Gupta, Ali Elkahky, Aleksandr Livshits, Alexander Zotov, and Ahmed Aly. 2023. Retrieve-and-fill for scenario-based task-oriented semantic parsing. In Proceedings of the 17th Conference of the European Chapter of the Association for Computational Linguistics, pages 430-447, Dubrovnik, Croatia. Association for Computational Linguistics."
|
| 2046 |
+
},
|
| 2047 |
+
{
|
| 2048 |
+
"type": "ref_text",
|
| 2049 |
+
"bbox": [
|
| 2050 |
+
0.117,
|
| 2051 |
+
0.616,
|
| 2052 |
+
0.49,
|
| 2053 |
+
0.668
|
| 2054 |
+
],
|
| 2055 |
+
"angle": 0,
|
| 2056 |
+
"content": "Ilya Sutskever, Oriol Vinyals, and Quoc V Le. 2014. Sequence to sequence learning with neural networks. Advances in neural information processing systems, 27."
|
| 2057 |
+
},
|
| 2058 |
+
{
|
| 2059 |
+
"type": "ref_text",
|
| 2060 |
+
"bbox": [
|
| 2061 |
+
0.117,
|
| 2062 |
+
0.678,
|
| 2063 |
+
0.49,
|
| 2064 |
+
0.77
|
| 2065 |
+
],
|
| 2066 |
+
"angle": 0,
|
| 2067 |
+
"content": "Paden Tomasello, Akshit Shrivastava, Daniel Lazar, Po-Chun Hsu, Duc Le, Adithya Sagar, Ali Elkahky, Jade Copet, Wei-Ning Hsu, Yossef Mordechay, Robin Algayres, Tu Anh Nguyen, Emmanuel Dupoux, Luke Zettlemoyer, and Abdelrahman Mohamed. 2023. STOP: A dataset for Spoken Task Oriented Semantic Parsing. In CoRR."
|
| 2068 |
+
},
|
| 2069 |
+
{
|
| 2070 |
+
"type": "ref_text",
|
| 2071 |
+
"bbox": [
|
| 2072 |
+
0.117,
|
| 2073 |
+
0.779,
|
| 2074 |
+
0.49,
|
| 2075 |
+
0.846
|
| 2076 |
+
],
|
| 2077 |
+
"angle": 0,
|
| 2078 |
+
"content": "Yisheng Xiao, Lijun Wu, Junliang Guo, Juntao Li, Min Zhang, Tao Qin, and Tie-yan Liu. 2023. A survey on non-autoregressive generation for neural machine translation and beyond. IEEE Transactions on Pattern Analysis and Machine Intelligence."
|
| 2079 |
+
},
|
| 2080 |
+
{
|
| 2081 |
+
"type": "ref_text",
|
| 2082 |
+
"bbox": [
|
| 2083 |
+
0.117,
|
| 2084 |
+
0.854,
|
| 2085 |
+
0.49,
|
| 2086 |
+
0.921
|
| 2087 |
+
],
|
| 2088 |
+
"angle": 0,
|
| 2089 |
+
"content": "Qile Zhu, Haidar Khan, Saleh Soltan, Stephen Rawls, and Wael Hamza. 2020. Don’t Parse, Insert: Multilingual Semantic Parsing with Insertion Based Decoding. In Proceedings of the Conference on Computational Natural Language Learning (CoNLL)."
|
| 2090 |
+
},
|
| 2091 |
+
{
|
| 2092 |
+
"type": "list",
|
| 2093 |
+
"bbox": [
|
| 2094 |
+
0.117,
|
| 2095 |
+
0.086,
|
| 2096 |
+
0.49,
|
| 2097 |
+
0.921
|
| 2098 |
+
],
|
| 2099 |
+
"angle": 0,
|
| 2100 |
+
"content": null
|
| 2101 |
+
},
|
| 2102 |
+
{
|
| 2103 |
+
"type": "title",
|
| 2104 |
+
"bbox": [
|
| 2105 |
+
0.512,
|
| 2106 |
+
0.084,
|
| 2107 |
+
0.635,
|
| 2108 |
+
0.102
|
| 2109 |
+
],
|
| 2110 |
+
"angle": 0,
|
| 2111 |
+
"content": "A Appendix"
|
| 2112 |
+
},
|
| 2113 |
+
{
|
| 2114 |
+
"type": "page_number",
|
| 2115 |
+
"bbox": [
|
| 2116 |
+
0.478,
|
| 2117 |
+
0.929,
|
| 2118 |
+
0.526,
|
| 2119 |
+
0.941
|
| 2120 |
+
],
|
| 2121 |
+
"angle": 0,
|
| 2122 |
+
"content": "14037"
|
| 2123 |
+
}
|
| 2124 |
+
],
|
| 2125 |
+
[
|
| 2126 |
+
{
|
| 2127 |
+
"type": "table_caption",
|
| 2128 |
+
"bbox": [
|
| 2129 |
+
0.113,
|
| 2130 |
+
0.134,
|
| 2131 |
+
0.885,
|
| 2132 |
+
0.163
|
| 2133 |
+
],
|
| 2134 |
+
"angle": 0,
|
| 2135 |
+
"content": "Table 7: Exact Match and Latency at output length \\( = {10} \\) and output length \\( = {50} \\) of AR Deliberation on STOP eval set, with varying encoder and decoder depths at \\( 5\\mathrm{M} \\) parameters."
|
| 2136 |
+
},
|
| 2137 |
+
{
|
| 2138 |
+
"type": "table",
|
| 2139 |
+
"bbox": [
|
| 2140 |
+
0.185,
|
| 2141 |
+
0.174,
|
| 2142 |
+
0.809,
|
| 2143 |
+
0.354
|
| 2144 |
+
],
|
| 2145 |
+
"angle": 0,
|
| 2146 |
+
"content": "<table><tr><td>Enc. layers</td><td>Dec. layers</td><td>Hidden dim.</td><td>Total params</td><td>EM</td><td>Latency @ output_len=10</td><td>Latency @ output_len=20</td></tr><tr><td>2</td><td>1</td><td>224</td><td>5M</td><td>68.37</td><td>58</td><td>267</td></tr><tr><td>3</td><td>1</td><td>200</td><td>5M</td><td>67.85</td><td>62</td><td>273</td></tr><tr><td>4</td><td>1</td><td>192</td><td>5M</td><td>67.86</td><td>63</td><td>271</td></tr><tr><td>5</td><td>1</td><td>176</td><td>5M</td><td>68.11</td><td>71</td><td>301</td></tr><tr><td>2</td><td>2</td><td>200</td><td>5M</td><td>68.27</td><td>98</td><td>365</td></tr><tr><td>2</td><td>3</td><td>176</td><td>5M</td><td>68.39</td><td>124</td><td>510</td></tr><tr><td>2</td><td>4</td><td>168</td><td>5M</td><td>68.02</td><td>157</td><td>771</td></tr><tr><td>2</td><td>5</td><td>152</td><td>5M</td><td>68.37</td><td>294</td><td>953</td></tr></table>"
|
| 2147 |
+
},
|
| 2148 |
+
{
|
| 2149 |
+
"type": "table_caption",
|
| 2150 |
+
"bbox": [
|
| 2151 |
+
0.319,
|
| 2152 |
+
0.462,
|
| 2153 |
+
0.677,
|
| 2154 |
+
0.477
|
| 2155 |
+
],
|
| 2156 |
+
"angle": 0,
|
| 2157 |
+
"content": "Table 8: Hyperparameter values of PRoDeliberation."
|
| 2158 |
+
},
|
| 2159 |
+
{
|
| 2160 |
+
"type": "table",
|
| 2161 |
+
"bbox": [
|
| 2162 |
+
0.28,
|
| 2163 |
+
0.487,
|
| 2164 |
+
0.714,
|
| 2165 |
+
0.683
|
| 2166 |
+
],
|
| 2167 |
+
"angle": 0,
|
| 2168 |
+
"content": "<table><tr><td>Hyperparameter</td><td>10M ASR</td><td>25M ASR</td></tr><tr><td>Length loss scaling factor (λ)</td><td>0.2504</td><td>0.1260</td></tr><tr><td>Target length scale (α)</td><td>2</td><td>2</td></tr><tr><td>Decoder attention dropout</td><td>0.1784</td><td>0.4991</td></tr><tr><td>Encoder dropout</td><td>0.1697</td><td>0.2646</td></tr><tr><td>Deletion probability</td><td>0.0026</td><td>0.0070</td></tr><tr><td>Substitution probability</td><td>0.0882</td><td>0.0256</td></tr><tr><td>Learning rate</td><td>0.00085</td><td>0.00053</td></tr><tr><td>Warm up epochs</td><td>10</td><td>10</td></tr><tr><td>Hold epochs</td><td>40</td><td>90</td></tr><tr><td>Decay epochs</td><td>95</td><td>105</td></tr></table>"
|
| 2169 |
+
},
|
| 2170 |
+
{
|
| 2171 |
+
"type": "table_caption",
|
| 2172 |
+
"bbox": [
|
| 2173 |
+
0.186,
|
| 2174 |
+
0.792,
|
| 2175 |
+
0.809,
|
| 2176 |
+
0.807
|
| 2177 |
+
],
|
| 2178 |
+
"angle": 0,
|
| 2179 |
+
"content": "Table 9: Exact Match of PRoDeliberation on STOP test set, with varying target length scale."
|
| 2180 |
+
},
|
| 2181 |
+
{
|
| 2182 |
+
"type": "table",
|
| 2183 |
+
"bbox": [
|
| 2184 |
+
0.197,
|
| 2185 |
+
0.818,
|
| 2186 |
+
0.799,
|
| 2187 |
+
0.868
|
| 2188 |
+
],
|
| 2189 |
+
"angle": 0,
|
| 2190 |
+
"content": "<table><tr><td>Target length scale</td><td>1.3</td><td>1.5</td><td>1.8</td><td>2</td><td>2.5</td><td>3</td><td>4</td></tr><tr><td>Exact Match</td><td>49.50</td><td>49.95</td><td>62.44</td><td>68.31</td><td>66.48</td><td>67.33</td><td>68.08</td></tr></table>"
|
| 2191 |
+
},
|
| 2192 |
+
{
|
| 2193 |
+
"type": "page_number",
|
| 2194 |
+
"bbox": [
|
| 2195 |
+
0.478,
|
| 2196 |
+
0.928,
|
| 2197 |
+
0.526,
|
| 2198 |
+
0.941
|
| 2199 |
+
],
|
| 2200 |
+
"angle": 0,
|
| 2201 |
+
"content": "14038"
|
| 2202 |
+
}
|
| 2203 |
+
]
|
| 2204 |
+
]
|
2024/PRoDeliberation_ Parallel Robust Deliberation for End-to-End Spoken Language Understanding/d5bac4e5-cc08-4dad-9e44-6c546b68d3f5_origin.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b572dd8e6a928e8518e6551b4752c426696b66a19a37e24f05c6a3d171776a72
|
| 3 |
+
size 716807
|
2024/PRoDeliberation_ Parallel Robust Deliberation for End-to-End Spoken Language Understanding/full.md
ADDED
|
@@ -0,0 +1,329 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# PRoDeliberation: Parallel Robust Deliberation for End-to-End Spoken Language Understanding
|
| 2 |
+
|
| 3 |
+
Trang Le* Daniel Lazar $^{1\dagger}$ Suyoun Kim Shan Jiang Duc Le Adithya Sagar Aleksandr Livshits Ahmed Aly Akshit Shrivastava $^{\dagger}$ Meta, Coldrays $^{1}$ trangleminh@meta.com, daniel@coldrays.com, akshitsh77@gmail.com
|
| 4 |
+
|
| 5 |
+
# Abstract
|
| 6 |
+
|
| 7 |
+
Spoken Language Understanding (SLU) is a critical component of voice assistants; it consists of converting speech to semantic parses for task execution. Previous works have explored end-to-end models to improve the quality and robustness of SLU models with Deliberation, however these models have remained autoregressive, resulting in higher latencies. In this work we introduce PRoDeliberation, a novel method leveraging a Connectionist Temporal Classification-based decoding strategy as well as a denoising objective to train robust non-autoregressive deliberation models. We show that PRoDeliberation achieves the latency reduction of parallel decoding (2-10x improvement over autoregressive models) while retaining the ability to correct Automatic Speech Recognition (ASR) mistranscriptions of autoregressive deliberation systems. We further show that the design of the denoising training allows PRoDeliberation to overcome the limitations of small ASR devices, and we provide analysis on the necessity of each component of the system.
|
| 8 |
+
|
| 9 |
+
# 1 Introduction
|
| 10 |
+
|
| 11 |
+
Traditionally, Spoken Language Understanding (SLU) systems are pipelined systems of 1) an Automatic Speech Recognition (ASR) model, which transcribes audio to text, and 2) a semantic parsing model to convert text into structured frames. This results in some inherent limitations, such as cascading errors from ASR mistranscriptions, larger overall systems size from having two models with redundant capabilities, and the inability to use audio cues for semantic parse generation.
|
| 12 |
+
|
| 13 |
+
End-to-end (E2E) models hold promise of overcoming these limitations by removing the barrier between these two models and allowing audio information to be used in the semantic parse generation.
|
| 14 |
+
|
| 15 |
+
In particular, deliberation-based E2E SLU models (Le et al., 2022; Hu et al., 2020) improve explainability (transcript is produced by first-pass ASR), support of complex compositional structure (via the general decoder), and quality (allows rewriting the ASR transcriptions based on audio information).
|
| 16 |
+
|
| 17 |
+
However, one downside of the existing deliberation-based E2E SLU models is that they use an autoregressive (AR) decoder for generation, which yields high latency, especially for longer outputs. This precludes them from being used in the on-device setting, which requires low latency. Previous semantic parsing models can yield very low latency with non-autoregressive (NAR) decoders (Shrivastava et al., 2023, 2021; Babu et al., 2021; Zhu et al., 2020), however, these systems use extractive decoders and are therefore unable to correct mistranscriptions from ASR systems.
|
| 18 |
+
|
| 19 |
+
Our study targets improving Deliberation based SLU systems to adapt them for on-device streaming use cases. In this work we present PRoDeliberation (Parallel Robust Deliberation), a novel Connectionist Temporal Classification (CTC) decoder-based E2E SLU model. CTC decoders are commonly used for ASR (Graves et al., 2006) and have successfully been adapted for machine translation (Libovický and Helcl, 2018; Sahara et al., 2020), but to the best of our knowledge, have never been used for semantic parsing. To further improve the rewrite capabilities of this model we introduce a denoising training regimen inspired by masked language modeling (Devlin et al., 2019; Lewis et al., 2020) in which we corrupt the transcription text, requiring the model to correct the corruptions by relying on audio. The denoising training applies beyond SLU and can be used with any downstream task which consumes ASR transcriptions.
|
| 20 |
+
|
| 21 |
+
We study PRoDeliberation and find that PRoDeliberation retains the quality of autoregressive parsers while achieving a 2-10x latency reduction across different ASR model sizes. We compare
|
| 22 |
+
|
| 23 |
+

|
| 24 |
+
Deliberation-based Autoregressive SLU
|
| 25 |
+
|
| 26 |
+

|
| 27 |
+
ProDeliberation: Proposed Non Autoregressive SLU
|
| 28 |
+
|
| 29 |
+

|
| 30 |
+
Figure 1: Overview of the proposed method, compared to the previous state of the art for end-to-end Spoken Language Understanding. The proposed method adds two crucial components: a CTC non-autoregressive decoder and a text noising mechanism for training. We label the two passes for the Deliberation architecture (both methods).
|
| 31 |
+
|
| 32 |
+
ProDeliberation to Mask Predict-based approaches (Ghazvininejad et al., 2019; Babu et al., 2021) and confirm that PRoDeliberation overcomes the quality shortcomings of Mask Predict. Finally, we show that the denoising objective further boosts ASR robustness by approximately $0.3\%$ , thereby exceeding the quality of autoregressive models.
|
| 33 |
+
|
| 34 |
+
We provide a summary of our approach in Figure 1; concretely, our contributions are:
|
| 35 |
+
|
| 36 |
+
1. We propose the first non-autoregressive deliberation model, PRoDeliberation. Our model leverages CTC decoding and a denoising objective; both of which have not been applied to Spoken Language Understanding before.
|
| 37 |
+
2. Our model shows significant latency improvement while preserving quality of autoregressive SLU models, which is a challenging but important task.
|
| 38 |
+
3. We provide ablations for PRoDeliberation to understand the impact of each component.
|
| 39 |
+
|
| 40 |
+
# 2 Related work
|
| 41 |
+
|
| 42 |
+
# 2.1 Spoken Language Understanding
|
| 43 |
+
|
| 44 |
+
Datasets Semantic parsing is a critical piece of traditional voice assistants, however text-based semantic parsing benchmarks assume gold text, disregarding errors propagating from speech understanding in the full SLU pipeline. Recently new SLU benchmarks have been introduced such as SLURP (Bastianelli et al., 2020), a multidomain SLU benchmark, and STOP (Tomasello et al., 2023),
|
| 45 |
+
|
| 46 |
+
a multidomain and compositional SLU benchmark. In this work we study the STOP dataset as it is the largest dataset, includes more speakers, and contains compositionality, making it the most diverse and complex dataset.
|
| 47 |
+
|
| 48 |
+
Models Tomasello et al. (2023) propose leveraging fully E2E models pre-trained on the ASR task and fine-tuned on the parsing task to produce a series of models based on HuBERT (Hsu et al., 2021) and Wav2Vec 2.0 (Baevski et al., 2020). However such E2E systems remain too large for on-device processing and lack the modularity and interpretability often required to deploy SLU systems. FANS (Radfar et al., 2021) explore on-device SLU systems leveraging SLU specific decoders and Kashiwagi et al. (2023) explore distilling E2E models, but both lack interpretability. Neural interfaces (Rao et al., 2020) have been used to retain the modularity of transcription in E2E models, and the Deliberation SLU system (Le et al., 2022) further the neural interfaces into the on-device space. In this work we study further optimizing efficiency and robustness of deliberation SLU systems with non-autoregressive decoding and denoising.
|
| 49 |
+
|
| 50 |
+
Robustness Recently Kim et al. (2023) have explored improving the robustness of Deliberation-based SLU by incorporating confidence signals from ASR models and shown promising results $(+0.1\% - 0.4\%)$ . Sharma et al. (2023) augmented Deliberation SLU robustness with extra data through generating text data with LLMs and generating audio data with Joint-Audio-Text and Text-to-Speech
|
| 51 |
+
|
| 52 |
+
techniques. In this work we take a complimentary direction to improve robustness through denoising training. We focus on denoising as we can scale denoising training to directly influence the difficulty of the robustness training. Our method can be combined with Kim et al. (2023) and Sharma et al. (2023)'s strategies to achieve a highly robust deliberation system.
|
| 53 |
+
|
| 54 |
+
# 2.2 Non-autoregressive Parsing
|
| 55 |
+
|
| 56 |
+
The semantic parsing community has shifted towards the seq2seq paradigm (Sutskever et al., 2014) to improve quality and align with the larger NLP community (Lewis et al., 2020; Raffel et al., 2020). With this shift, semantic parsers require low latency due to their real time nature. Non-autoregressive semantic parsing has taken off due to its sub-linear decoding time leading to strong latency improvements. Prior work in this space (Babu et al., 2021) has shown that non-autoregressive algorithms can lead to lower latency systems at similar accuracy gains. To further improve latency and quality, prior works aim to build an inductive bias regarding semantic parsing systems: Zhu et al. (2020) rely on insertion transformers to build a semantic parse around the text, Shrivastava et al. (2021) rely on span based prediction to extract slot text, and Shrivastava et al. (2023) retrieve defined semantic frames and fill in the slots with span prediction.
|
| 57 |
+
|
| 58 |
+
Our work continues in this direction, critically extending efficient parsing into end-to-end SLU systems which do not take for granted the truth of the ASR transcriptions but rather operate on both audio input and text hypotheses. The shift away from a gold text input space introduces nuances around robustness and text generation that prior work cannot support due to the focus on extractive decoders. We introduce a CTC loss function (Graves et al., 2006) for non-autoregressive decoding to reduce the reliance on length prediction, a key bottleneck even in non-end-to-end systems, but even more so for end-to-end SLU.
|
| 59 |
+
|
| 60 |
+
# 3 PRoDeliberation
|
| 61 |
+
|
| 62 |
+
In this work we extend Deliberation with two critical components: First we introduce CTC decoding, which utilizes parallel decoding to optimize latency. However, we notice an increased error rate due to parallel decoding. In order to combat this we add the second key component: denoising, which improve model robustness during training.
|
| 63 |
+
|
| 64 |
+
Figure 2 shows the architecture of PRoDeliberation in comparison to the architecture of Autoregressive Deliberation.
|
| 65 |
+
|
| 66 |
+
# 3.1 Deliberation
|
| 67 |
+
|
| 68 |
+
Le et al. (2022) introduced the deliberation-based E2E SLU system, shown in the upper part of Figure 1. Deliberation was introduced in Hu et al. (2020) as a two-pass ASR system to improve transcription quality. We describe these two passes in detail in the following.
|
| 69 |
+
|
| 70 |
+
# First Pass: Speech Recognition with RNN-T
|
| 71 |
+
|
| 72 |
+
The first pass of the system uses the recurrent neural network transducer (RNN-T) (Graves, 2012), which is the most popular streaming ASR architecture. RNN-T is built on three core components: (1) Acoustic encoder which consumes the raw audio and produces an audio encoding $emb_{\mathrm{aud}} \in \mathbb{R}^{A \times D}$ (2) Predictor (internal language model) that consumes the text predicted so far and produces a language encoding $emb_{\mathrm{text}} \in \mathbb{R}^{T \times D}$ and (3) Joiner which combines these two embeddings $emb_{\mathrm{text}}$ and $emb_{\mathrm{aud}}$ to produce a probability output for the currently predicted token. Each component of RNN-T is streamable, allowing the full model to decode text as the user speaks.
|
| 73 |
+
|
| 74 |
+
Second Pass: Deliberation Decoder The deliberation decoder conducts a second pass over the RNN-T hidden states using the language embedding $emb_{\mathrm{text}}$ and the audio embedding $emb_{\mathrm{aud}}$ that have been cached during the first pass. The deliberation decoder fuses the embedding:
|
| 75 |
+
|
| 76 |
+
$$
|
| 77 |
+
\begin{array}{l} e m b _ {\text {a t t n}} = \mathrm {M H A} (e m b _ {\text {t e x t}}, e m b _ {\text {a u d}}, e m b _ {\text {a u d}}) \\ e m b _ {\text {s t a c k}} = \text {S t a c k} \left(e m b _ {\text {t e x t}}, e m b _ {\text {a t t n}}\right) \\ e m b _ {\text {f u s e d}} = \text {L i n e a r} (e m b _ {\text {s t a c k}}) \\ e m b _ {\text {p o o l}} = \text {T r a n s f o r m e r} \left(e m b _ {\text {f u s e d}}\right), \\ \end{array}
|
| 78 |
+
$$
|
| 79 |
+
|
| 80 |
+
where MHA indicates multi-headed attention. The fused embeddings are then passed to a series of transformer encoder layers to pool the embedding, denoted $emb_{\mathrm{pool}}$ . Finally the pooled layers are passed to an autoregressive pointer generator decoder which produces tokens which are either 'pointers' to input tokens or newly 'generated' tokens (Aghajanyan et al., 2020; See et al., 2017).
|
| 81 |
+
|
| 82 |
+
# 3.2 Nonautoregressive Decoding with CTC
|
| 83 |
+
|
| 84 |
+
The latency of autoregressive decoders suffers as sequence length grows due to the linear relationship between latency and sequence length, a result
|
| 85 |
+
|
| 86 |
+

|
| 87 |
+
A)
|
| 88 |
+
Figure 2: A comparison between (A) Autoregressive Deliberation Decoders and (B) PRoDeliberation architecture. PRoDeliberation extends Deliberation (A) with a fuzzy length prediction module and a CTC based decoder. Both (A) and (B) can correct ASR errors ('john' to 'jake' in the figure).
|
| 89 |
+
|
| 90 |
+

|
| 91 |
+
B)
|
| 92 |
+
|
| 93 |
+
of the conditional dependence of each token output on the preceding tokens. To alleviate this, and following text-based semantic parsing work, we extend deliberation to leverage non-autoregressive decoders (Zhu et al., 2020; Babu et al., 2021; Shrivastava et al., 2021). However we find that prior work relies on Mask Predict (Ghazvininejad et al., 2019) which introduces a bottleneck in the form of length prediction of the output sequence. In this section we introduce our CTC-based non-autoregressive decoder which overcomes this limitation of length prediction. Our decoder is composed of 2 steps: (1) Length Prediction and (2) Parallel Decoding.
|
| 94 |
+
|
| 95 |
+
Length Prediction A critical component of non-autoregressive networks is length prediction for output sequence $(l)$ . Prior work implements a length prediction module to determine the output length (Babu et al., 2021; Ghazvininejad et al., 2019).
|
| 96 |
+
|
| 97 |
+
In the extractive setting such as pipelined SLU, where the semantic parse contains either 1) ontology tokens (intent and slot labels) or 2) spans of transcribed text, this does not pose a problem (Shrivastava et al., 2021). However, a major advantage of E2E SLU is the ability to correct ASR errors. This changes the simple extractive function of the decoder into a more complex one, one which may change the length of a span of tokens in a slot from the length of the span predicted by ASR. Because of this, we propose using a CTC decoder which allows for more flexibility in the decoding process
|
| 98 |
+
|
| 99 |
+
than Mask Predict.
|
| 100 |
+
|
| 101 |
+
Instead of an equality constraint between the predicted length and the final output length, our use of the CTC decoder enforces the constraint that the predicted target length has to be strictly greater than the true target length. In semantic parsing the relation between input and output length depends on the semantics and ontology $^{1}$ unlike Machine Translation (Libovický and Helcl, 2018; Sahara et al., 2020) or ASR (Graves et al., 2006), which rely on heuristics based on input length. Accordingly, we introduce a fuzzy length predictor, an extension to the length prediction module that multiplies the output by a fuzzy constant $\alpha > 1$ to account for an upper bound. The number of tokens predicted by the decoder, $l$ , is then
|
| 102 |
+
|
| 103 |
+
$$
|
| 104 |
+
l = \alpha \times \text {L e n g t h M o d u l e} \left(\text {e m b} _ {\text {p o o l}}\right).
|
| 105 |
+
$$
|
| 106 |
+
|
| 107 |
+
This constant helps ensure that even if the length prediction is smaller than the true target length, the decoder is able to output enough tokens for the full semantic parse.
|
| 108 |
+
|
| 109 |
+
Parallel Decoding with CTC The use of CTC loss creates the flexibility in length prediction by enabling the decoder to produce blank tokens, al
|
| 110 |
+
|
| 111 |
+
lowing it to decode any sequence length that is shorter than the fuzzy predicted length.
|
| 112 |
+
|
| 113 |
+
Our decoder leverages the deliberation encoder's hidden states and length module's [MASK] tokens to decode a semantic parse non-autoregressively:
|
| 114 |
+
|
| 115 |
+
$$
|
| 116 |
+
y _ {1 \dots l} = \operatorname {D e c o d e r} ([ \mathrm {M A S K} ] _ {1 \dots l}, e m b _ {\text {p o o l}}),
|
| 117 |
+
$$
|
| 118 |
+
|
| 119 |
+
where the decoder is a randomly-initialized Transformer decoder. As a result of CTC loss, the predicted parse $y_{1}, \ldots, y_{l}$ can have repeating tokens and blank tokens. We then apply the CTC alignment procedure (Graves et al., 2006), which merges repeating tokens and removes blank tokens to produce the final prediction.
|
| 120 |
+
|
| 121 |
+
# 3.3 Denoising
|
| 122 |
+
|
| 123 |
+
While the CTC decoder gives the model the ability to rewrite transcription errors, we wish to specialize training to specifically encourage the model to rely on both audio and text signals. Inspired by the success of Masked Language Modeling (Devlin et al., 2019; Lewis et al., 2020) as well as SpecAugment for ASR training (Park et al., 2019) we add additional text corruptions to the ASR hypotheses to add an implicit denoising objective during training. Unlike SpecAugment, the noise impacts the text in order to force the model to rely on audio representations in order to correct transcription errors. We use two noisng methods, deletion and substitution noise, along with two meta operations: sequential noisng and sampling noisng, summarized in Figure 3.
|
| 124 |
+
|
| 125 |
+
Deletion Inspired by the BART MLM Objective (Lewis et al., 2020), we implement a noisng function which randomly deletes tokens from the input. Critically, this deletion noise does not insert a MASK token; instead the model must rely on the audio modality to find the corruption and find an appropriate replacement. We choose this approach to mirror the impact of ASR deletions. To implement the noise we employ a binomial distribution where the number of trials is the sequence length, and we introduce a hyper parameter $P$ that controls the probability at each trial to determine the number of tokens $(N)$ corrupted from the input. We then uniformly select $N$ tokens from the input and delete them.
|
| 126 |
+
|
| 127 |
+
Substitution We also noise input words via word substitution. To find word substitution pairs which emulate true ASR errors we build a dictionary of word confusion pairs from inference of the 10M
|
| 128 |
+
|
| 129 |
+
ASR model over the STOP train set. Similar to deletion noise, we use a binomial distribution to select words for substitution. A word only has substitution applied if it appears in the substitution dictionary. If it does, we sample a replacement word according to the frequency each replacement has appeared for it in the ASR output.
|
| 130 |
+
|
| 131 |
+
Meta Operations With the different noising functions we implemented above, we introduce two meta noising functions that allow us to combine them. 1) Sequential Noise: This mechanism applies $R$ different noise types sequentially, each following the parameterization above. In other words, all samples have each noise type applied in series. 2) Sampling Noise: This mechanism uniformly samples amongst the $R$ different noise types following the parameterization above.
|
| 132 |
+
|
| 133 |
+
# 3.4 Training
|
| 134 |
+
|
| 135 |
+
We jointly optimize for training the decoder and length prediction module with a label loss and length loss, respectively. The length loss is negative log likelihood between predicted lengths and target lengths:
|
| 136 |
+
|
| 137 |
+
$$
|
| 138 |
+
\mathcal {L} _ {l e n g t h} = - l o g P (l _ {t a r g e t} | l _ {p r e d}).
|
| 139 |
+
$$
|
| 140 |
+
|
| 141 |
+
The label loss is a CTC loss between decoder predictions and target labels:
|
| 142 |
+
|
| 143 |
+
$$
|
| 144 |
+
\mathcal {L} _ {\text {l a b e l}} = - \log P (Y | X).
|
| 145 |
+
$$
|
| 146 |
+
|
| 147 |
+
where $Y$ is the target labels and $X$ is the decoder predictions before removing blanks and repeated tokens. The conditional likelihood $P(Y|X)$ is the sum of probabilities of all possible valid alignments between $X$ and $Y$ . Let $\pi$ denote an alignment, $\mathcal{B}$ be the set of all valid alignments, and $y_{k}^{t}$ denote the probability of observing label $k$ at time $t$ . Then,
|
| 148 |
+
|
| 149 |
+
$$
|
| 150 |
+
P (Y | X) = \sum_ {\pi \in \mathcal {B}} p (\pi | X),
|
| 151 |
+
$$
|
| 152 |
+
|
| 153 |
+
$$
|
| 154 |
+
p (\pi | X) = \prod_ {t = 1} ^ {T} y _ {\pi_ {t}} ^ {t}.
|
| 155 |
+
$$
|
| 156 |
+
|
| 157 |
+
We add label smoothing to both label loss and length loss to control for over-confident predictions. The overall loss is a weighted sum of these two losses:
|
| 158 |
+
|
| 159 |
+
$$
|
| 160 |
+
\mathcal {L} = \mathcal {L} _ {\text {l a b e l}} + \lambda \times \mathcal {L} _ {\text {l e n g t h}}.
|
| 161 |
+
$$
|
| 162 |
+
|
| 163 |
+

|
| 164 |
+
Figure 3: The text noising process. We proposed two noise processes, deletion and substitution noise, as well as two meta-operations, sequential and sampling noising.
|
| 165 |
+
|
| 166 |
+
# 4 Experiments
|
| 167 |
+
|
| 168 |
+
# 4.1 STOP Dataset
|
| 169 |
+
|
| 170 |
+
We leverage the STOP dataset (Spoken Task Oriented Parsing) (Tomasello et al., 2023) to evaluate our proposed approach. STOP is based on the TOPv2 dataset (Chen et al., 2020), a compositional multi-domain semantic parsing benchmark that has been well-studied in text parsing. STOP consists of 8 different domains: alarm, messaging, music, navigation, timer, weather, reminder, and event. Each data point contains an audio clip from Amazon Mechanical Turk workers, where their names and information remain anonymous. The dataset is split into three subsets: 120k training samples, 33k validation samples, and 76k test samples.
|
| 171 |
+
|
| 172 |
+
# 4.2 Baselines
|
| 173 |
+
|
| 174 |
+
Our study targets improving Deliberation based SLU systems (Le et al., 2022) for on-device streaming use cases. We align our baselines with Le et al. (2022) to study our contributions.
|
| 175 |
+
|
| 176 |
+
Base ASR Model Our studies leverage two ondevice-sized ASR models containing 10M and 25M RNNT (Graves, 2012) variants. These models use an acoustic encoder-based conformer encoder (Gulati et al., 2020; Shi et al., 2022) (3L for 10M parameter model and 13L for 25M model), a predictor with a 1-layer LSTM, and a 1-layer Joiner network. We used a 4-stride, 40ms lookahead, 120ms segment size audio input features, and 4000 sentence piece targets (Kudo and Richardson, 2018). We employed the same training recipe as proposed originally for E2E deliberation-based SLU (Le et al., 2022). The Word Error Rates (WER) for each split
|
| 177 |
+
|
| 178 |
+
of the STOP datasets, using ASRs of two different sizes (10M and 25M), are presented in Table 1.
|
| 179 |
+
|
| 180 |
+
Table 1: The WER for each split of the STOP datasets, using the frozen RNNT ASR of two different sizes.
|
| 181 |
+
|
| 182 |
+
<table><tr><td>Frozen ASR (RNNT)</td><td>train</td><td>WER valid</td><td>test</td></tr><tr><td>10M</td><td>7.68</td><td>6.99</td><td>6.54</td></tr><tr><td>25M</td><td>4.19</td><td>3.83</td><td>3.54</td></tr></table>
|
| 183 |
+
|
| 184 |
+
Autoregressive (AR) Deliberation Following Le et al. (2022), we constrain all our model architectures to leverage 5M parameters to enable an iso-size comparison. All models also use the same decoding vocabulary, consisting of 4095 unigram WordPieces plus the vocabulary of ontology tokens built from training data. The 5M AR deliberation model leverages 2 pooling (encoder) layers, 1 decoder layers, with hidden dimension of 224. This AR deliberation model has the best quality and latency performance across various encoder and decoder depths (Table 7 in Appendix A).
|
| 185 |
+
|
| 186 |
+
Mask Predict Deliberation Our first non-autoregressive architecture extends the AR decoder with the Mask Predict formulation. We introduce a length module after the AR deliberation encoder to predict the output length for non-autoregressive decoding. During training, golden length is used as input, while during testing, predicted length from length module is used. Iterative refinement is not employed in order to focus on efficient one-shot decoding with minimal latency. Our 5M Mask Predict Deliberation model leverages 4 pooling (encoder)
|
| 187 |
+
|
| 188 |
+
Table 2: Evaluation on the STOP test split. PRoDeliberation outperforms Mask Predict, is on par with AR model for 10M ASR, and outperforms for 25M ASR.
|
| 189 |
+
|
| 190 |
+
<table><tr><td>ASR</td><td>NLU</td><td>EM</td></tr><tr><td rowspan="5">10M</td><td>Deliberation AR (Le et al., 2022)</td><td>67.90</td></tr><tr><td>Deliberation AR (Kim et al., 2023)</td><td>68.37</td></tr><tr><td>Deliberation AR (Sharma et al., 2023)</td><td>67.37</td></tr><tr><td>Mask Predict (Ghazvininejad et al., 2019)</td><td>67.23</td></tr><tr><td>ProDeliberation (ours)</td><td>68.31</td></tr><tr><td rowspan="4">25M</td><td>Deliberation AR (Le et al., 2022)</td><td>73.87</td></tr><tr><td>Deliberation AR (Kim et al., 2023)</td><td>74.05</td></tr><tr><td>Mask Predict (Ghazvininejad et al., 2019)</td><td>72.17</td></tr><tr><td>ProDeliberation (ours)</td><td>74.27</td></tr></table>
|
| 191 |
+
|
| 192 |
+
layers, 3 decoder layers, with hidden dimension of 200.
|
| 193 |
+
|
| 194 |
+
PRoDeliberation We introduce a fuzzy length prediction and replaces the Mask Predict loss with a CTC loss to mitigate the length bottleneck. To optimize for latency reduction, iterative refinement is not utilized. Our 5M ProDeliberation model leverages 4 pooling (encoder) layers, 3 decoder layers, with hidden dimension of 200.
|
| 195 |
+
|
| 196 |
+
# 4.3 Training Hyperparameters
|
| 197 |
+
|
| 198 |
+
All baseline and proposed models are trained with 8 GPUs of 32GB memory each, using AdamW optimizer and tri-stage learning rate scheduler. All training is done with SpecAugment enabled (Park et al., 2019).
|
| 199 |
+
|
| 200 |
+
Hyperparameters, including warmup steps, hold steps, decay steps, learning rate, encoder and decoder dropouts, scaling factors in loss, and denoising probabilities, are obtained through hyperparameter sweeps using Bayesian optimization to maximize Exact Match (EM) accuracy on the eval split of STOP dataset. These hyperparameter values can be found in Table 8, Appendix A.
|
| 201 |
+
|
| 202 |
+
# 5 Results
|
| 203 |
+
|
| 204 |
+
Quality Analysis On the 10M ASR model, PRoDeliberation achieves better performance than Mask Predict deliberation model and has similar performance to the AR deliberation model. For 25M ASR model, PRoDeliberation outperforms both Mask Predict and AR (Table 2). All models are trained on the STOP train split, optimized
|
| 205 |
+
|
| 206 |
+

|
| 207 |
+
Figure 4: Latency by output length of AR, Mask Predict and ProDeliberation. AR latency increases linearly with output length, while the NAR models (Mask Predict and ProDeliberation) are approximately constant.
|
| 208 |
+
|
| 209 |
+
through hyperparameter sweeps on the STOP validation split, and the best run is evaluated on the STOP test split. The metric used is Exact Match, which is the sample-level accuracy for exactly predicting the target tokens.
|
| 210 |
+
|
| 211 |
+
Latency Analysis To measure the latency of the models, we first use Torchscript to export the NLU-equivalent module of the baselines and proposed model, each of which consists of fusion layers and an AR decoder or a CTC decoder. We run the Torchscript modules on an X86-64 CPU with 224 GB RAM with various output sequence lengths ranging from 5 to 50 tokens. For each output sequence length, latency is reported by averaging latency measurements of 50 runs.
|
| 212 |
+
|
| 213 |
+
The PRoDeliberation model has significantly lower latency than AR deliberation model; as shown in Figure 4, it is $\sim 2\mathrm{x}$ faster for short output sequences (<10 tokens) and $\sim 10\mathrm{x}$ faster for long output sequences ( $>45$ tokens). PRoDeliberation has similar latency to Mask Predict deliberation, which is expected as both models have non-autoregressive decoders. Due to their non-autoregressive decoding nature, their latency is largely unaffected by the output length, while AR deliberation latency scales linearly with the output length.
|
| 214 |
+
|
| 215 |
+
# 6 Analysis
|
| 216 |
+
|
| 217 |
+
# 6.1 Architecture Ablation
|
| 218 |
+
|
| 219 |
+
Encoder vs Decoder Size We study the importance of encoder and decoder depths in ProDeliberation by varying these depths while keeping model
|
| 220 |
+
|
| 221 |
+
size constant (5M parameters) by adjusting the hidden dimension accordingly. Increasing encoder depth up to 4 encoder layers leads to better performance, but more than 4 encoder layers do not further improve the model performance (Table 3). We observe similar trend for decoder depth, where 3 decoder layers results in the best performance, but deeper decoder than 3 layers does not lead to further improvement (Table 4). Given the same number of parameters, optimal PRoDeliberation model (4 encoder layers, 3 decoder layers, 200 hidden dimension) requires deeper and narrower architecture than optimal AR Deliberation (2 encoder layers, 1 decoder layer, 224 hidden dimension, Table 7).
|
| 222 |
+
|
| 223 |
+
Table 3: Exact Match of ProDeliberation on STOP test set, with varying encoder depths at 5M parameters.
|
| 224 |
+
|
| 225 |
+
<table><tr><td>Enc. layers</td><td>Dec. layers</td><td>Hidden dim.</td><td>Total params</td><td>EM</td></tr><tr><td>2</td><td>3</td><td>224</td><td>5M</td><td>66.45</td></tr><tr><td>3</td><td>3</td><td>208</td><td>5M</td><td>67.84</td></tr><tr><td>4</td><td>3</td><td>200</td><td>5M</td><td>68.31</td></tr><tr><td>5</td><td>3</td><td>184</td><td>5M</td><td>67.93</td></tr><tr><td>6</td><td>3</td><td>176</td><td>5M</td><td>68.12</td></tr></table>
|
| 226 |
+
|
| 227 |
+
Table 4: Exact Match of ProDeliberation on STOP test set, with varying decoder depths at 5M parameters.
|
| 228 |
+
|
| 229 |
+
<table><tr><td>Enc. layers</td><td>Dec. layers</td><td>Hidden dim.</td><td>Total params</td><td>EM</td></tr><tr><td>4</td><td>1</td><td>216</td><td>5M</td><td>67.18</td></tr><tr><td>4</td><td>2</td><td>208</td><td>5M</td><td>67.73</td></tr><tr><td>4</td><td>3</td><td>200</td><td>5M</td><td>68.31</td></tr><tr><td>4</td><td>4</td><td>184</td><td>5M</td><td>68.05</td></tr><tr><td>4</td><td>5</td><td>176</td><td>5M</td><td>68.06</td></tr></table>
|
| 230 |
+
|
| 231 |
+
Impact of Target length scale As mentioned in Section 3.2, we scale the predicted output length by a factor $\alpha$ to ensure the sequence length for the CTC loss is greater than or equal to the true output length. Here we investigate how this scale factor $\alpha$ affects the latency and quality of ProDeliberation.
|
| 232 |
+
|
| 233 |
+
Figure 5 shows a minimal impact on latency when we vary target length scale $\alpha$ . This is expected as ProDeliberation decodes all output tokens at the same time, so output sequence length does not significantly effect inference latency.
|
| 234 |
+
|
| 235 |
+
We observe that $\alpha$ being too small (<1.8) leads
|
| 236 |
+
|
| 237 |
+

|
| 238 |
+
Figure 5: Latency by output length with different target length scale factor $\alpha$ .
|
| 239 |
+
|
| 240 |
+
to very poor performance, while large $\alpha (>2)$ does not affect performance nearly as much, and $\alpha = 2$ results in the best performance (Table 9, Appendix A).
|
| 241 |
+
|
| 242 |
+
# 6.2 Denoising ablation
|
| 243 |
+
|
| 244 |
+
We perform an ablation study on the denoising, investigating the relative importance of substitution and deletion noise, as well as the relative performance of the meta noising strategies. The results are summarized in Table 5. For each setting, we sweep to find the optimal denoising parameter(s).
|
| 245 |
+
|
| 246 |
+
Sampling between deletion and substitution noise shows the best performance for both 10M and 25M ASR. The sampling denoise strategy requires higher substitution probability than deletion probability in both 10M and 25M models. The substitution-only denoise model also performs better than the deletion-only denoise model with 10M ASR and is on-par with the deletion-only denoise model with 25M ASR. 10M ASR requires lower substitution probability but slightly higher deletion probability than 25M ASR. All models with denoising perform better than models with no noise. Moreover, performance without denoising is on par with the autoregressive model; denoising improves performance further.
|
| 247 |
+
|
| 248 |
+
From the error breakdown in Table 6 we see that when the ASR model is smaller (and therefore more error prone) a greater share of the improvement from denoising comes from the samples with ASR errors. Moreover, there is greater overall improvement with a smaller ASR model. This indicates that the denoising works as expected: by
|
| 249 |
+
|
| 250 |
+
Table 5: Denoising ablation study. For each ASR model size, we compare denoising strategies.
|
| 251 |
+
|
| 252 |
+
<table><tr><td rowspan="2">Denoise strategy</td><td colspan="3">10M ASR</td><td colspan="3">25M ASR</td></tr><tr><td>Subs prob</td><td>Del prob</td><td>EM</td><td>Subs prob</td><td>Del prob</td><td>EM</td></tr><tr><td>samp(del, subs)</td><td>0.088</td><td>0.003</td><td>68.31</td><td>0.026</td><td>0.007</td><td>74.27</td></tr><tr><td>del</td><td>-</td><td>0.012</td><td>67.8</td><td>-</td><td>0.024</td><td>74.07</td></tr><tr><td>subs</td><td>0.069</td><td>-</td><td>68.02</td><td>0.04</td><td>-</td><td>74.02</td></tr><tr><td>no noise</td><td>-</td><td>-</td><td>67.95</td><td>-</td><td>-</td><td>73.96</td></tr></table>
|
| 253 |
+
|
| 254 |
+
Table 6: Exact Match of E2E models with different ASR model sizes. We break down EM into samples with ASR errors and samples without ASR errors.
|
| 255 |
+
|
| 256 |
+
<table><tr><td></td><td colspan="2">10M ASR</td><td colspan="2">25M ASR</td></tr><tr><td>EM</td><td>CTC</td><td>CTC+D</td><td>CTC</td><td>CTC+D</td></tr><tr><td>total</td><td>67.95</td><td>68.31</td><td>73.96</td><td>74.27</td></tr><tr><td>no ASR error</td><td>85.18</td><td>85.14</td><td>82.95</td><td>83.14</td></tr><tr><td>ASR error</td><td>25.70</td><td>27.00</td><td>54.36</td><td>54.73</td></tr></table>
|
| 257 |
+
|
| 258 |
+
improving robustness to ASR errors.
|
| 259 |
+
|
| 260 |
+
# 7 Conclusion
|
| 261 |
+
|
| 262 |
+
We presented a novel SLU model, PRoDeliberation, which uses a CTC decoder and noise augmentation to train a parallelized and robust E2E SLU model. This model achieves much lower latency than the state-of-the-art models while maintaining the ability to correct errors in the ASR transcript. Further, we analyzed the system's performance across two ASR model sizes and provided ablations guiding the decisions made when designing PRoDeliberation. We also show that the denoising training for PRoDeliberation allows it to overcome the limitations of very small ASR models. This represents a significant step forward in building E2E SLU systems that are small enough and have low enough latency to run on edge devices.
|
| 263 |
+
|
| 264 |
+
# 8 Limitations
|
| 265 |
+
|
| 266 |
+
Even though PRoDeliberation shows significant latency reduction compared to autoregressive deliberation while retaining the model quality, PRoDeliberation still has its own limitations.
|
| 267 |
+
|
| 268 |
+
Lack of beam search support Autoregressive deliberation model can use beam search with larger beam size to improve the model's generation quality, at the cost of added latency. PRoDeliberation, on the other hand, has a non-autoregressive decoder and cannot directly use beam search to fur
|
| 269 |
+
|
| 270 |
+
ther augment the model performance. We can extend PRoDeliberation to allow for beam search in a couple of ways. Similar to (Xiao et al., 2023), we can use multiple candidate lengths from the length prediction module and decode according to each in parallel. Another possibility is to look into fusion mechanisms with language models similar to (Futami et al., 2022). However, one thing to note is that in the on-device space which deliberation models target (Le et al., 2022), the added latency from larger beam size is rarely tolerated and beam size of 1 is often used.
|
| 271 |
+
|
| 272 |
+
Data requirements This approach requires access to pairs of audio data with semantic parse labels. Though this is a common requirement for end-to-end SLU models, it does pose a more difficult data requirement than cascaded systems, which require audio samples with text labels and text samples with semantic parse labels, the combination of which is easier to generate than the audio data with semantic parse labels.
|
| 273 |
+
|
| 274 |
+
While this paper focused on methods which minimize latency, there are other mechanisms for further improving quality at the expense of increased latency. Iterative refinement is an approach that would have this trade-off, which can be used for both ProDeliberation as well as the Mask Predict baseline. Future work may explore this approach to offer approaches with different balances between latency and quality.
|
| 275 |
+
|
| 276 |
+
# References
|
| 277 |
+
|
| 278 |
+
Armen Aghajanyan, Jean Maillard, Akshit Shrivastava, Keith Diedrick, Michael Haeger, Haoran Li, Yashar Mehdad, Veselin Stoyanov, Anuj Kumar, Mike Lewis, and Sonal Gupta. 2020. Conversational Semantic Parsing. In Proceedings of the Conference on Empirical Methods in Natural Language Processing and the International Joint Conference on Natural Language Processing (EMNLP-IJCNLP).
|
| 279 |
+
|
| 280 |
+
Arun Babu, Akshit Shrivastava, Armen Aghajanyan,
|
| 281 |
+
|
| 282 |
+
Ahmed Aly, Angela Fan, and Marjan Ghazvininej. 2021. Non-Autoregressive Semantic Parsing for Compositional Task-Oriented Dialog. In Proceedings of the Annual Conference of the North American Chapter of the Association for Computational Linguistics (NAACL).
|
| 283 |
+
Alexei Baevski, Henry Zhou, Abdelrahman Mohamed, and Michael Auli. 2020. wav2vec 2.0: A framework for self-supervised learning of speech representations. CoRR, abs/2006.11477.
|
| 284 |
+
Emanuele Bastianelli, Andrea Vanzo, Pawel Swietojanski, and Verena Rieser. 2020. SLURP: A spoken language understanding resource package. CoRR, abs/2011.13205.
|
| 285 |
+
Xilun Chen, Ashish Ghoshal, Yashar Mehdad, Luke Zettlemoyer, and Sonal Gupta. 2020. Low-Resource Domain Adaptation for Compositional Task-Oriented Semantic Parsing. In Proceedings of the Conference on Empirical Methods in Natural Language Processing (EMNLP).
|
| 286 |
+
Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. 2019. Bert: Pre-training of deep bidirectional transformers for language understanding.
|
| 287 |
+
Hayato Futami, Hirofumi Inaguma, Sei Ueno, Masato Mimura, Shinsuke Sakai, and Tatsuya Kawahara. 2022. Non-autoregressive error correction for ctc-based asr with phone-conditioned masked lm. arXiv preprint arXiv:2209.04062.
|
| 288 |
+
Marjan Ghazvininejad, Omer Levy, Yinhan Liu, and Luke Zettlemoyer. 2019. Mask-Predict: Parallel Decoding of Conditional Masked Language Models. In Proceedings of the Conference on Empirical Methods in Natural Language Processing and the International Joint Conference on Natural Language Processing (EMNLP-IJCNLP).
|
| 289 |
+
A. Graves. 2012. Sequence transduction with recurrent neural networks. In ICML Representation Learning Workshop.
|
| 290 |
+
Alex Graves, Santiago Fernández, Faustino J. Gomez, and Jürgen Schmidhuber. 2006. Connectionist temporal classification: labelling unsegmented sequence data with recurrent neural networks. Proceedings of the 23rd international conference on Machine learning.
|
| 291 |
+
Anmol Gulati, James Qin, Chung-Cheng Chiu, Niki Parmar, Yu Zhang, Jiahui Yu, Wei Han, Shibo Wang, Zhengdong Zhang, Yonghui Wu, et al. 2020. Conformer: Convolution-augmented transformer for speech recognition. arXiv preprint arXiv:2005.08100.
|
| 292 |
+
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.
|
| 293 |
+
|
| 294 |
+
Kevin Hu, Rohit Prabhavalkar, Ruoming Pang, and Tara Sainath. 2020. Deliberation Model Based Two-Pass End-to-End Speech Recognition. In Proc. ICASSP.
|
| 295 |
+
Yosuke Kashiwagi, Siddhant Arora, Hayato Futami, Jessica Huynh, Shih-Lun Wu, Yifan Peng, Brian Yan, Emiru Tsunoo, and Shinji Watanabe. 2023. Ebranchformer-based e2e slu toward stop on-device challenge. In ICASSP 2023 - 2023 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pages 1-2.
|
| 296 |
+
Suyoun Kim, Akshit Shrivastava, Duc Le, Ju Lin, Ozlem Kalinli, and Michael L. Seltzer. 2023. Modality confidence aware training for robust end-to-end spoken language understanding. ArXiv, abs/2307.12134.
|
| 297 |
+
Taku Kudo and John Richardson. 2018. SentencePiece: A simple and language independent subword tokenizer and tokenizer for neural text processing. In Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing: System Demonstrations, pages 66-71, Brussels, Belgium. Association for Computational Linguistics.
|
| 298 |
+
Duc Le, Akshat Shrivastava, Paden Tomasello, Suyoun Kim, Aleksandr Livshits, Ozlem Kalinli, and Michael L Seltzer. 2022. Deliberation model for ondevice spoken language understanding. Interspeech.
|
| 299 |
+
Mike Lewis, Yinhan Liu, Naman Goyal, Marjan Ghazvininejad, Abdelrahman Mohamed, Omer Levy, Ves Stoyanov, and Luke Zettlemoyer. 2020. BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehension. In Proceedings of the Annual Meeting of the Association for Computational Linguistics (ACL).
|
| 300 |
+
Jindrich Libovicky and Jindrich Helcl. 2018. End-to-end non-autoregressive neural machine translation with connectionist temporal classification. In Conference on Empirical Methods in Natural Language Processing.
|
| 301 |
+
Daniel S Park, William Chan, Yu Zhang, Chung-Cheng Chiu, Barret Zoph, Ekin D Cubuk, and Quoc V Le. 2019. Specaugment: A simple data augmentation method for automatic speech recognition. arXiv preprint arXiv:1904.08779.
|
| 302 |
+
Martin H. Radfar, Athanasios Mouchtaris, Siegfried Kunzmann, and Ariya Rastrow. 2021. Fans: Fusing asr and nlu for on-device slu. In *Interspeech*.
|
| 303 |
+
Colin Raffel, Noam Shazeer, Adam Roberts, Katherine Lee, Sharan Narang, Michael Matena, Yanqi Zhou, Wei Li, and Peter J Liu. 2020. Exploring the limits of transfer learning with a unified text-to-text transformer. The Journal of Machine Learning Research, 21(1):5485-5551.
|
| 304 |
+
Milind Rao, Anirudh Raju, Pranav Dheram, Bach Bui, and Ariya Rastrow. 2020. Speech to semantics: Improve asr and nlu jointly via all-neural interfaces. In Proc. INTERSPEECH.
|
| 305 |
+
|
| 306 |
+
Chitwan Sahara, William Chan, Saurabh Saxena, and Mohammad Norouzi. 2020. Non-autoregressive machine translation with latent alignments. *ArXiv*, abs/2004.07437.
|
| 307 |
+
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 Linguistics (Volume 1: Long Papers).
|
| 308 |
+
Roshan Sharma, Suyoun Kim, Daniel Lazar, Trang Le, Akshit Shrivastava, Kwanghoon Ahn, Piyush Kansal, Leda Sari, Ozlem Kalinli, and Michael Seltzer. 2023. Augmenting text for spoken language understanding with large language models. arXiv preprint arXiv:2309.09390.
|
| 309 |
+
Yangyang Shi, Chunyang Wu, Dilin Wang, Alex Xiao, Jay Mahadeokar, Xiaohui Zhang, Chunxi Liu, Ke Li, Yuan Shangguan, Varun Nagaraja, et al. 2022. Streaming transformer transducer based speech recognition using non-causal convolution. Proc. ICASSP.
|
| 310 |
+
Akshat Shrivastava, Pierce Chuang, Arun Babu, Shrey Desai, Abhinav Arora, Alexander Zotov, and Ahmed Aly. 2021. Span Pointer Networks for Non-Autoregressive Task-Oriented Semantic Parsing. In Proceedings of the Findings of the Conference on Empirical Methods in Natural Language Processing (EMNLP).
|
| 311 |
+
Akshat Shrivastava, Shrey Desai, Anchit Gupta, Ali Elkahky, Aleksandr Livshits, Alexander Zotov, and Ahmed Aly. 2023. Retrieve-and-fill for scenario-based task-oriented semantic parsing. In Proceedings of the 17th Conference of the European Chapter of the Association for Computational Linguistics, pages 430-447, Dubrovnik, Croatia. Association for Computational Linguistics.
|
| 312 |
+
Ilya Sutskever, Oriol Vinyals, and Quoc V Le. 2014. Sequence to sequence learning with neural networks. Advances in neural information processing systems, 27.
|
| 313 |
+
Paden Tomasello, Akshit Shrivastava, Daniel Lazar, Po-Chun Hsu, Duc Le, Adithya Sagar, Ali Elkahky, Jade Copet, Wei-Ning Hsu, Yossef Mordechay, Robin Algayres, Tu Anh Nguyen, Emmanuel Dupoux, Luke Zettlemoyer, and Abdelrahman Mohamed. 2023. STOP: A dataset for Spoken Task Oriented Semantic Parsing. In CoRR.
|
| 314 |
+
Yisheng Xiao, Lijun Wu, Junliang Guo, Juntao Li, Min Zhang, Tao Qin, and Tie-yan Liu. 2023. A survey on non-autoregressive generation for neural machine translation and beyond. IEEE Transactions on Pattern Analysis and Machine Intelligence.
|
| 315 |
+
Qile Zhu, Haidar Khan, Saleh Soltan, Stephen Rawls, and Wael Hamza. 2020. Don’t Parse, Insert: Multilingual Semantic Parsing with Insertion Based Decoding. In Proceedings of the Conference on Computational Natural Language Learning (CoNLL).
|
| 316 |
+
|
| 317 |
+
# A Appendix
|
| 318 |
+
|
| 319 |
+
Table 7: Exact Match and Latency at output length $= {10}$ and output length $= {50}$ of AR Deliberation on STOP eval set, with varying encoder and decoder depths at $5\mathrm{M}$ parameters.
|
| 320 |
+
|
| 321 |
+
<table><tr><td>Enc. layers</td><td>Dec. layers</td><td>Hidden dim.</td><td>Total params</td><td>EM</td><td>Latency @ output_len=10</td><td>Latency @ output_len=20</td></tr><tr><td>2</td><td>1</td><td>224</td><td>5M</td><td>68.37</td><td>58</td><td>267</td></tr><tr><td>3</td><td>1</td><td>200</td><td>5M</td><td>67.85</td><td>62</td><td>273</td></tr><tr><td>4</td><td>1</td><td>192</td><td>5M</td><td>67.86</td><td>63</td><td>271</td></tr><tr><td>5</td><td>1</td><td>176</td><td>5M</td><td>68.11</td><td>71</td><td>301</td></tr><tr><td>2</td><td>2</td><td>200</td><td>5M</td><td>68.27</td><td>98</td><td>365</td></tr><tr><td>2</td><td>3</td><td>176</td><td>5M</td><td>68.39</td><td>124</td><td>510</td></tr><tr><td>2</td><td>4</td><td>168</td><td>5M</td><td>68.02</td><td>157</td><td>771</td></tr><tr><td>2</td><td>5</td><td>152</td><td>5M</td><td>68.37</td><td>294</td><td>953</td></tr></table>
|
| 322 |
+
|
| 323 |
+
Table 8: Hyperparameter values of PRoDeliberation.
|
| 324 |
+
|
| 325 |
+
<table><tr><td>Hyperparameter</td><td>10M ASR</td><td>25M ASR</td></tr><tr><td>Length loss scaling factor (λ)</td><td>0.2504</td><td>0.1260</td></tr><tr><td>Target length scale (α)</td><td>2</td><td>2</td></tr><tr><td>Decoder attention dropout</td><td>0.1784</td><td>0.4991</td></tr><tr><td>Encoder dropout</td><td>0.1697</td><td>0.2646</td></tr><tr><td>Deletion probability</td><td>0.0026</td><td>0.0070</td></tr><tr><td>Substitution probability</td><td>0.0882</td><td>0.0256</td></tr><tr><td>Learning rate</td><td>0.00085</td><td>0.00053</td></tr><tr><td>Warm up epochs</td><td>10</td><td>10</td></tr><tr><td>Hold epochs</td><td>40</td><td>90</td></tr><tr><td>Decay epochs</td><td>95</td><td>105</td></tr></table>
|
| 326 |
+
|
| 327 |
+
Table 9: Exact Match of PRoDeliberation on STOP test set, with varying target length scale.
|
| 328 |
+
|
| 329 |
+
<table><tr><td>Target length scale</td><td>1.3</td><td>1.5</td><td>1.8</td><td>2</td><td>2.5</td><td>3</td><td>4</td></tr><tr><td>Exact Match</td><td>49.50</td><td>49.95</td><td>62.44</td><td>68.31</td><td>66.48</td><td>67.33</td><td>68.08</td></tr></table>
|
2024/PRoDeliberation_ Parallel Robust Deliberation for End-to-End Spoken Language Understanding/images.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bbd4642e05a1189fc5fa7708051ec090cecf81200afff293eaa6940343a3f540
|
| 3 |
+
size 467082
|
2024/PRoDeliberation_ Parallel Robust Deliberation for End-to-End Spoken Language Understanding/layout.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2024/PSLM_ Parallel Generation of Text and Spe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
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Kentaro Mitsui, Koh Mitsuda, Toshiaki Wakatsuki, Yukiya Hono, Kei Sawada",
|
| 17 |
+
"bbox": [
|
| 18 |
+
163,
|
| 19 |
+
155,
|
| 20 |
+
838,
|
| 21 |
+
172
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "rinna Co., Ltd., Tokyo, Japan {kemits,kohmi,towaka,yuhono,keisawada}@rinna.co.jp",
|
| 28 |
+
"bbox": [
|
| 29 |
+
243,
|
| 30 |
+
183,
|
| 31 |
+
752,
|
| 32 |
+
212
|
| 33 |
+
],
|
| 34 |
+
"page_idx": 0
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"type": "text",
|
| 38 |
+
"text": "Abstract",
|
| 39 |
+
"text_level": 1,
|
| 40 |
+
"bbox": [
|
| 41 |
+
260,
|
| 42 |
+
260,
|
| 43 |
+
341,
|
| 44 |
+
275
|
| 45 |
+
],
|
| 46 |
+
"page_idx": 0
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"type": "text",
|
| 50 |
+
"text": "Multimodal language models that process both text and speech have a potential for applications in spoken dialogue systems. However, current models face two major challenges in response generation latency: (1) generating a spoken response requires the prior generation of a written response, and (2) speech sequences are significantly longer than text sequences. This study addresses these issues by extending the input and output sequences of the language model to support the parallel generation of text and speech. Our experiments on spoken question answering tasks demonstrate that our approach improves latency while maintaining the quality of response content. Additionally, we show that latency can be further reduced by generating speech in multiple sequences. Demo samples are available at https://rinnakk.github.io/research/publications/PSLM.",
|
| 51 |
+
"bbox": [
|
| 52 |
+
141,
|
| 53 |
+
288,
|
| 54 |
+
460,
|
| 55 |
+
574
|
| 56 |
+
],
|
| 57 |
+
"page_idx": 0
|
| 58 |
+
},
|
| 59 |
+
{
|
| 60 |
+
"type": "text",
|
| 61 |
+
"text": "1 Introduction",
|
| 62 |
+
"text_level": 1,
|
| 63 |
+
"bbox": [
|
| 64 |
+
114,
|
| 65 |
+
588,
|
| 66 |
+
260,
|
| 67 |
+
602
|
| 68 |
+
],
|
| 69 |
+
"page_idx": 0
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"type": "text",
|
| 73 |
+
"text": "Spoken dialogue systems have been developed for many years to achieve natural human-computer interaction (McTear, 2002; Jokinen and McTear, 2009; Chen et al., 2017). Traditionally, these systems consist of several components: Automatic Speech Recognition (ASR), Response Generation (RG), and Text-to-Speech (TTS). Various methods for RG have been proposed with the advancements in Large Language Models (LLMs) (Wang et al., 2023a; Yi et al., 2024). More recently, the application of LLMs to ASR (e.g., Wang et al. 2023b; Hono et al. 2024; Fathullah et al. 2024) and TTS (Wang et al., 2023b; Hao et al., 2023) has attracted much attention, leading to the development of multimodal LLMs capable of end-to-end spoken language communication (Zhang et al., 2023; Nachmani et al., 2024).",
|
| 74 |
+
"bbox": [
|
| 75 |
+
112,
|
| 76 |
+
614,
|
| 77 |
+
489,
|
| 78 |
+
887
|
| 79 |
+
],
|
| 80 |
+
"page_idx": 0
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"type": "text",
|
| 84 |
+
"text": "Zhang et al. (2023) proposed SpeechGPT, an LLM that receives speech questions (SQ) as speech",
|
| 85 |
+
"bbox": [
|
| 86 |
+
112,
|
| 87 |
+
889,
|
| 88 |
+
487,
|
| 89 |
+
921
|
| 90 |
+
],
|
| 91 |
+
"page_idx": 0
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"type": "image",
|
| 95 |
+
"img_path": "images/ca2a8f5ea66ef860baf9db75cabadeabeec79c866a5ddb4b42818dc14bd09a15.jpg",
|
| 96 |
+
"image_caption": [],
|
| 97 |
+
"image_footnote": [],
|
| 98 |
+
"bbox": [
|
| 99 |
+
512,
|
| 100 |
+
260,
|
| 101 |
+
878,
|
| 102 |
+
325
|
| 103 |
+
],
|
| 104 |
+
"page_idx": 0
|
| 105 |
+
},
|
| 106 |
+
{
|
| 107 |
+
"type": "image",
|
| 108 |
+
"img_path": "images/38f509f003bb48bd5100f1754173bec50cbd789ef6219319685bdafc8f57db88.jpg",
|
| 109 |
+
"image_caption": [
|
| 110 |
+
"(b) Parallel text and speech decoding"
|
| 111 |
+
],
|
| 112 |
+
"image_footnote": [],
|
| 113 |
+
"bbox": [
|
| 114 |
+
510,
|
| 115 |
+
326,
|
| 116 |
+
752,
|
| 117 |
+
411
|
| 118 |
+
],
|
| 119 |
+
"page_idx": 0
|
| 120 |
+
},
|
| 121 |
+
{
|
| 122 |
+
"type": "image",
|
| 123 |
+
"img_path": "images/665e31b0d1095d6542dc438d5e019e84c5c6a7397509cd46599a916ce3018b29.jpg",
|
| 124 |
+
"image_caption": [
|
| 125 |
+
"(c) Multiple speech streams",
|
| 126 |
+
"Figure 1: (a) Chain-of-Modality prompting necessitates generating text questions (TQ) and text answers (TA) from speech questions (SQ) before producing speech answers (SA). (b) Our Parallel Speech Language Model (PSLM) enables the parallel decoding of TA and SA, reducing overall latency. (c) Introducing multiple speech streams further accelerates the generation of SA."
|
| 127 |
+
],
|
| 128 |
+
"image_footnote": [],
|
| 129 |
+
"bbox": [
|
| 130 |
+
757,
|
| 131 |
+
326,
|
| 132 |
+
882,
|
| 133 |
+
420
|
| 134 |
+
],
|
| 135 |
+
"page_idx": 0
|
| 136 |
+
},
|
| 137 |
+
{
|
| 138 |
+
"type": "text",
|
| 139 |
+
"text": "tokens, which are discrete representations extracted from raw waveforms, and sequentially generates text questions (TQ), text answers (TA), and speech answers (SA). Figure 1 (a) illustrates their approach called Chain-of-Modality (CoM) prompting. Spectron (Nachmani et al., 2024) follows this prompting style but directly handles speech spectrograms. Although these methods can generate high-quality responses, they face two major challenges in terms of response latency. First, generating SA requires the prior generation of TQ and TA. Second, speech sequences are much longer than text sequences<sup>1</sup>.",
|
| 140 |
+
"bbox": [
|
| 141 |
+
507,
|
| 142 |
+
571,
|
| 143 |
+
882,
|
| 144 |
+
764
|
| 145 |
+
],
|
| 146 |
+
"page_idx": 0
|
| 147 |
+
},
|
| 148 |
+
{
|
| 149 |
+
"type": "text",
|
| 150 |
+
"text": "In this study, we propose Parallel Speech Language Model (PSLM), an LLM with multiple input-output sequences to handle both text and speech tokens, enabling their parallel generation. To emphasize their parallel processing capabilities, we will refer to these sequences as \"streams\". As described in Figure 1 (b), PSLM begins to generate SA immediately after the end of SQ tokens,",
|
| 151 |
+
"bbox": [
|
| 152 |
+
507,
|
| 153 |
+
766,
|
| 154 |
+
884,
|
| 155 |
+
892
|
| 156 |
+
],
|
| 157 |
+
"page_idx": 0
|
| 158 |
+
},
|
| 159 |
+
{
|
| 160 |
+
"type": "page_footnote",
|
| 161 |
+
"text": "1Actual sequence lengths are provided in Appendix A.",
|
| 162 |
+
"bbox": [
|
| 163 |
+
529,
|
| 164 |
+
906,
|
| 165 |
+
862,
|
| 166 |
+
921
|
| 167 |
+
],
|
| 168 |
+
"page_idx": 0
|
| 169 |
+
},
|
| 170 |
+
{
|
| 171 |
+
"type": "page_number",
|
| 172 |
+
"text": "2692",
|
| 173 |
+
"bbox": [
|
| 174 |
+
480,
|
| 175 |
+
927,
|
| 176 |
+
519,
|
| 177 |
+
940
|
| 178 |
+
],
|
| 179 |
+
"page_idx": 0
|
| 180 |
+
},
|
| 181 |
+
{
|
| 182 |
+
"type": "footer",
|
| 183 |
+
"text": "Findings of the Association for Computational Linguistics: EMNLP 2024, pages 2692-2700 November 12-16, 2024 ©2024 Association for Computational Linguistics",
|
| 184 |
+
"bbox": [
|
| 185 |
+
216,
|
| 186 |
+
945,
|
| 187 |
+
779,
|
| 188 |
+
972
|
| 189 |
+
],
|
| 190 |
+
"page_idx": 0
|
| 191 |
+
},
|
| 192 |
+
{
|
| 193 |
+
"type": "text",
|
| 194 |
+
"text": "which can reduce overall latency. This leads to our first research question (RQ1): Can PSLM improve latency while maintaining the response quality achieved by CoM prompting? Additionally, we address the second challenge by introducing multiple speech streams to decode multiple speech tokens in a single step, as described in Figure 1 (c). This brings us to the second research question (RQ2): Do multiple speech streams sacrifice the response quality? Addressing these questions will pave the way for more advanced and responsive applications of spoken dialogue systems.",
|
| 195 |
+
"bbox": [
|
| 196 |
+
112,
|
| 197 |
+
84,
|
| 198 |
+
489,
|
| 199 |
+
277
|
| 200 |
+
],
|
| 201 |
+
"page_idx": 1
|
| 202 |
+
},
|
| 203 |
+
{
|
| 204 |
+
"type": "text",
|
| 205 |
+
"text": "2 PSLM",
|
| 206 |
+
"text_level": 1,
|
| 207 |
+
"bbox": [
|
| 208 |
+
112,
|
| 209 |
+
288,
|
| 210 |
+
206,
|
| 211 |
+
304
|
| 212 |
+
],
|
| 213 |
+
"page_idx": 1
|
| 214 |
+
},
|
| 215 |
+
{
|
| 216 |
+
"type": "text",
|
| 217 |
+
"text": "2.1 Speech Discretization",
|
| 218 |
+
"text_level": 1,
|
| 219 |
+
"bbox": [
|
| 220 |
+
112,
|
| 221 |
+
313,
|
| 222 |
+
329,
|
| 223 |
+
329
|
| 224 |
+
],
|
| 225 |
+
"page_idx": 1
|
| 226 |
+
},
|
| 227 |
+
{
|
| 228 |
+
"type": "text",
|
| 229 |
+
"text": "Speech Tokenization Extracting discrete speech tokens from raw waveforms enables language models to handle speech in the same manner as text tokens. Self-supervised learning has been widely used for speech tokenization due to its ability to extract spoken content from raw waveforms (e.g., Rubenstein et al. 2023; Chou et al. 2023; Hassid et al. 2023). Following Zhang et al. (2023), we employ Hidden-Unit BERT (HuBERT) (Hsu et al., 2021) for speech tokenization.",
|
| 230 |
+
"bbox": [
|
| 231 |
+
112,
|
| 232 |
+
334,
|
| 233 |
+
489,
|
| 234 |
+
495
|
| 235 |
+
],
|
| 236 |
+
"page_idx": 1
|
| 237 |
+
},
|
| 238 |
+
{
|
| 239 |
+
"type": "text",
|
| 240 |
+
"text": "Speech Detokenization In contrast to text tokenization, which is uniquely recoverable, speech tokenization largely discards the information of raw waveforms. Two major approaches have been proposed to solve this problem. The first approach uses a neural vocoder for directly reconstructing raw waveforms from speech tokens (e.g., Zhang et al. 2023; Chou et al. 2023; Hassid et al. 2023). The second approach uses a pretrained neural audio codec, which requires an additional module to predict the codec's tokens (e.g., Rubenstein et al. 2023; Zhang et al. 2024). We adopt the first approach to reduce overall latency using HiFi-GAN (Kong et al., 2020), a non-autoregressive neural vocoder that efficiently generates high-fidelity waveforms.",
|
| 241 |
+
"bbox": [
|
| 242 |
+
112,
|
| 243 |
+
504,
|
| 244 |
+
489,
|
| 245 |
+
745
|
| 246 |
+
],
|
| 247 |
+
"page_idx": 1
|
| 248 |
+
},
|
| 249 |
+
{
|
| 250 |
+
"type": "text",
|
| 251 |
+
"text": "2.2 Integrating LMs with a Speech Stream",
|
| 252 |
+
"text_level": 1,
|
| 253 |
+
"bbox": [
|
| 254 |
+
112,
|
| 255 |
+
755,
|
| 256 |
+
465,
|
| 257 |
+
771
|
| 258 |
+
],
|
| 259 |
+
"page_idx": 1
|
| 260 |
+
},
|
| 261 |
+
{
|
| 262 |
+
"type": "text",
|
| 263 |
+
"text": "PSLM is built on top of a pretrained decoder-only Transformer (Vaswani et al., 2017). An overview of the PSLM architecture is provided in Figure 2. We add new input embedding and output projection layers to process speech tokens, while the structure of the intermediate Transformer layers remains unchanged. The embeddings of text and speech tokens are summed before being fed to the Transformer layers. The hidden features from the",
|
| 264 |
+
"bbox": [
|
| 265 |
+
112,
|
| 266 |
+
776,
|
| 267 |
+
489,
|
| 268 |
+
920
|
| 269 |
+
],
|
| 270 |
+
"page_idx": 1
|
| 271 |
+
},
|
| 272 |
+
{
|
| 273 |
+
"type": "image",
|
| 274 |
+
"img_path": "images/30209f680e7a15a130bd65449669f1f9802ae18854e2964ab2c2d6c767a56711.jpg",
|
| 275 |
+
"image_caption": [
|
| 276 |
+
"Figure 2: Architecture of PSLM."
|
| 277 |
+
],
|
| 278 |
+
"image_footnote": [],
|
| 279 |
+
"bbox": [
|
| 280 |
+
521,
|
| 281 |
+
85,
|
| 282 |
+
867,
|
| 283 |
+
259
|
| 284 |
+
],
|
| 285 |
+
"page_idx": 1
|
| 286 |
+
},
|
| 287 |
+
{
|
| 288 |
+
"type": "text",
|
| 289 |
+
"text": "final Transformer layer are passed to two output projection layers to calculate the logits of the next text and speech tokens. We randomly initialize the weights of new embedding and projection layers.",
|
| 290 |
+
"bbox": [
|
| 291 |
+
507,
|
| 292 |
+
294,
|
| 293 |
+
880,
|
| 294 |
+
357
|
| 295 |
+
],
|
| 296 |
+
"page_idx": 1
|
| 297 |
+
},
|
| 298 |
+
{
|
| 299 |
+
"type": "text",
|
| 300 |
+
"text": "A challenge of joint text-speech modeling lies in the mismatch in their lengths. In this study, we simply right-pad TQ and TA sequences with special [TEXT-PAD] tokens to align their lengths with those of the SQ and SA sequences, respectively. In a preliminary experiment on the CoM-based architecture, we attempted to generate text tokens and their corresponding speech tokens alternatively in a similar manner to ELLA-V (Song et al., 2024); however, this approach led to frequent mispronunciation. This is mainly because, in our case, the text is represented by tokens rather than phonemes; in some languages, the pronunciation of a character often changes according to subsequent characters, and a certain amount of lookahead is necessary to achieve accurate pronunciation. In contrast, our alignment strategy allows the model to focus on text token generation initially and then refer to the generated text when producing the majority of speech tokens, leading to more accurate pronunciation.",
|
| 301 |
+
"bbox": [
|
| 302 |
+
507,
|
| 303 |
+
359,
|
| 304 |
+
882,
|
| 305 |
+
696
|
| 306 |
+
],
|
| 307 |
+
"page_idx": 1
|
| 308 |
+
},
|
| 309 |
+
{
|
| 310 |
+
"type": "text",
|
| 311 |
+
"text": "Our PSLM is trained by minimizing the sum of cross entropy losses for each stream. We include prompt tokens, comprising TQ and SQ, in the loss calculation. During inference, PSLM receives these prompt tokens and generates TA and SA in parallel. Text and speech tokens are sampled independently from their respective distributions.",
|
| 312 |
+
"bbox": [
|
| 313 |
+
507,
|
| 314 |
+
697,
|
| 315 |
+
882,
|
| 316 |
+
809
|
| 317 |
+
],
|
| 318 |
+
"page_idx": 1
|
| 319 |
+
},
|
| 320 |
+
{
|
| 321 |
+
"type": "text",
|
| 322 |
+
"text": "2.3 Introducing Multiple Speech Streams",
|
| 323 |
+
"text_level": 1,
|
| 324 |
+
"bbox": [
|
| 325 |
+
507,
|
| 326 |
+
820,
|
| 327 |
+
850,
|
| 328 |
+
835
|
| 329 |
+
],
|
| 330 |
+
"page_idx": 1
|
| 331 |
+
},
|
| 332 |
+
{
|
| 333 |
+
"type": "text",
|
| 334 |
+
"text": "For further acceleration, we introduce multiple speech streams to PSLM. Assume that PSLM has $1 + S$ streams, one for text tokens and $S$ for speech tokens. Given the original speech token sequence of length $N$ , the $s$ -th speech stream consists of the",
|
| 335 |
+
"bbox": [
|
| 336 |
+
507,
|
| 337 |
+
841,
|
| 338 |
+
880,
|
| 339 |
+
920
|
| 340 |
+
],
|
| 341 |
+
"page_idx": 1
|
| 342 |
+
},
|
| 343 |
+
{
|
| 344 |
+
"type": "page_number",
|
| 345 |
+
"text": "2693",
|
| 346 |
+
"bbox": [
|
| 347 |
+
480,
|
| 348 |
+
928,
|
| 349 |
+
519,
|
| 350 |
+
940
|
| 351 |
+
],
|
| 352 |
+
"page_idx": 1
|
| 353 |
+
},
|
| 354 |
+
{
|
| 355 |
+
"type": "text",
|
| 356 |
+
"text": "speech tokens with indices $s, s + S, s + 2S, \\dots, s + MS$ , where $s \\in \\{1, \\dots, S\\}$ and $M = \\lfloor N / S \\rfloor - 1$ . Compared to simply increasing the batch size, where the system's throughput improves but the latency for each instance remains unchanged, our approach reduces the sequence length handled by the Transformer layers to $1 / S$ , leading to an approximate $S$ -fold speedup even in the single-instance scenario.",
|
| 357 |
+
"bbox": [
|
| 358 |
+
112,
|
| 359 |
+
84,
|
| 360 |
+
489,
|
| 361 |
+
227
|
| 362 |
+
],
|
| 363 |
+
"page_idx": 2
|
| 364 |
+
},
|
| 365 |
+
{
|
| 366 |
+
"type": "text",
|
| 367 |
+
"text": "During training, simply summing the cross entropy losses for each stream makes the loss of text tokens less dominant, leading to poor text generation quality. Therefore, we introduce a weighted loss, where we multiply the loss for speech streams by $1 / S$ to balance the weight of losses for text and speech streams.",
|
| 368 |
+
"bbox": [
|
| 369 |
+
112,
|
| 370 |
+
229,
|
| 371 |
+
489,
|
| 372 |
+
343
|
| 373 |
+
],
|
| 374 |
+
"page_idx": 2
|
| 375 |
+
},
|
| 376 |
+
{
|
| 377 |
+
"type": "text",
|
| 378 |
+
"text": "2.4 Streaming Inference with HiFi-GAN",
|
| 379 |
+
"text_level": 1,
|
| 380 |
+
"bbox": [
|
| 381 |
+
112,
|
| 382 |
+
353,
|
| 383 |
+
448,
|
| 384 |
+
369
|
| 385 |
+
],
|
| 386 |
+
"page_idx": 2
|
| 387 |
+
},
|
| 388 |
+
{
|
| 389 |
+
"type": "text",
|
| 390 |
+
"text": "Following Chen et al. (2022), we use HiFi-GAN for streaming inference; specifically, we provide partial speech tokens to generate waveform fragments. In this study, we use non-causal convolution to maintain high speech quality. Therefore, the first speech fragment can be generated once $N_{\\mathrm{offset}} = \\lfloor R / 2 \\rfloor + 1$ tokens are decoded, where $R$ denotes the receptive field of HiFi-GAN. Implementation details can be found in Appendix B.",
|
| 391 |
+
"bbox": [
|
| 392 |
+
112,
|
| 393 |
+
374,
|
| 394 |
+
489,
|
| 395 |
+
519
|
| 396 |
+
],
|
| 397 |
+
"page_idx": 2
|
| 398 |
+
},
|
| 399 |
+
{
|
| 400 |
+
"type": "text",
|
| 401 |
+
"text": "2.5 Overall Latency",
|
| 402 |
+
"text_level": 1,
|
| 403 |
+
"bbox": [
|
| 404 |
+
112,
|
| 405 |
+
532,
|
| 406 |
+
287,
|
| 407 |
+
546
|
| 408 |
+
],
|
| 409 |
+
"page_idx": 2
|
| 410 |
+
},
|
| 411 |
+
{
|
| 412 |
+
"type": "text",
|
| 413 |
+
"text": "We define latency as the delay between the end of the user's utterance and the system's initial response. The latency of conventional CoM-based systems $L_{\\mathrm{CoM}}$ can be represented as follows:",
|
| 414 |
+
"bbox": [
|
| 415 |
+
112,
|
| 416 |
+
552,
|
| 417 |
+
487,
|
| 418 |
+
617
|
| 419 |
+
],
|
| 420 |
+
"page_idx": 2
|
| 421 |
+
},
|
| 422 |
+
{
|
| 423 |
+
"type": "equation",
|
| 424 |
+
"text": "\n$$\nL _ {\\mathrm {C o M}} = D _ {\\mathrm {s} 2 \\mathrm {t}} + D _ {\\mathrm {S Q}} + \\frac {N _ {\\mathrm {d e c}}}{P} + D _ {\\mathrm {t} 2 \\mathrm {s}} \\tag {1}\n$$\n",
|
| 425 |
+
"text_format": "latex",
|
| 426 |
+
"bbox": [
|
| 427 |
+
163,
|
| 428 |
+
620,
|
| 429 |
+
487,
|
| 430 |
+
650
|
| 431 |
+
],
|
| 432 |
+
"page_idx": 2
|
| 433 |
+
},
|
| 434 |
+
{
|
| 435 |
+
"type": "equation",
|
| 436 |
+
"text": "\n$$\nN _ {\\mathrm {d e c}} = N _ {\\mathrm {T Q}} + N _ {\\mathrm {T A}} + N _ {\\text {o f f s e t}} \\tag {2}\n$$\n",
|
| 437 |
+
"text_format": "latex",
|
| 438 |
+
"bbox": [
|
| 439 |
+
171,
|
| 440 |
+
653,
|
| 441 |
+
485,
|
| 442 |
+
670
|
| 443 |
+
],
|
| 444 |
+
"page_idx": 2
|
| 445 |
+
},
|
| 446 |
+
{
|
| 447 |
+
"type": "text",
|
| 448 |
+
"text": "where $D_{\\mathrm{s2t}}$ , $D_{\\mathrm{SQ}}$ , and $D_{\\mathrm{t2s}}$ denote the delays of speech tokenization, the prefetch phase in LMs, and speech detokenization, respectively; $N_{\\mathrm{TQ}}$ and $N_{\\mathrm{TA}}$ denote the number of tokens in TQ and TA, respectively; and $P$ denotes the tokens per second (TPS) during the decode phase in LMs.",
|
| 449 |
+
"bbox": [
|
| 450 |
+
112,
|
| 451 |
+
675,
|
| 452 |
+
487,
|
| 453 |
+
771
|
| 454 |
+
],
|
| 455 |
+
"page_idx": 2
|
| 456 |
+
},
|
| 457 |
+
{
|
| 458 |
+
"type": "text",
|
| 459 |
+
"text": "Our PSLM eliminates the need for generating TQ and TA beforehand, although it requires to run external ASR to obtain TQ. Hence, its latency $L_{\\mathrm{PSLM}}$ can be represented as follows:",
|
| 460 |
+
"bbox": [
|
| 461 |
+
112,
|
| 462 |
+
772,
|
| 463 |
+
487,
|
| 464 |
+
835
|
| 465 |
+
],
|
| 466 |
+
"page_idx": 2
|
| 467 |
+
},
|
| 468 |
+
{
|
| 469 |
+
"type": "equation",
|
| 470 |
+
"text": "\n$$\nL _ {\\mathrm {P S L M}} = D _ {\\mathrm {A S R}} + D _ {\\mathrm {S Q}} + \\frac {N _ {\\text {o f f s e t}}}{P \\cdot S} + D _ {\\mathrm {t 2 s}} \\tag {3}\n$$\n",
|
| 471 |
+
"text_format": "latex",
|
| 472 |
+
"bbox": [
|
| 473 |
+
139,
|
| 474 |
+
839,
|
| 475 |
+
487,
|
| 476 |
+
870
|
| 477 |
+
],
|
| 478 |
+
"page_idx": 2
|
| 479 |
+
},
|
| 480 |
+
{
|
| 481 |
+
"type": "text",
|
| 482 |
+
"text": "where $D_{\\mathrm{ASR}}$ denotes the ASR delay. Here $D_{\\mathrm{s2t}}$ is omitted because speech tokenization can be performed in parallel with ASR.",
|
| 483 |
+
"bbox": [
|
| 484 |
+
112,
|
| 485 |
+
873,
|
| 486 |
+
489,
|
| 487 |
+
921
|
| 488 |
+
],
|
| 489 |
+
"page_idx": 2
|
| 490 |
+
},
|
| 491 |
+
{
|
| 492 |
+
"type": "text",
|
| 493 |
+
"text": "3 Experimental Setup",
|
| 494 |
+
"text_level": 1,
|
| 495 |
+
"bbox": [
|
| 496 |
+
507,
|
| 497 |
+
83,
|
| 498 |
+
717,
|
| 499 |
+
101
|
| 500 |
+
],
|
| 501 |
+
"page_idx": 2
|
| 502 |
+
},
|
| 503 |
+
{
|
| 504 |
+
"type": "text",
|
| 505 |
+
"text": "3.1 Dataset",
|
| 506 |
+
"text_level": 1,
|
| 507 |
+
"bbox": [
|
| 508 |
+
507,
|
| 509 |
+
109,
|
| 510 |
+
616,
|
| 511 |
+
123
|
| 512 |
+
],
|
| 513 |
+
"page_idx": 2
|
| 514 |
+
},
|
| 515 |
+
{
|
| 516 |
+
"type": "text",
|
| 517 |
+
"text": "We used an internal dataset comprising 1.8M written QA pairs for training all models. Since some of these samples, which were primarily crawled from the internet, were deemed unsuitable for evaluation, we used a publicly available Japanese dataset (Hayashibe, 2023) for evaluation. This dataset was manually reviewed and consists of 669 diverse written QA pairs. We further filtered the evaluation set by excluding samples whose TQ or TA exceeded 140 characters, the maximum number of characters observed in the training set. The final evaluation set contained 396 samples. For both the training and evaluation sets, we constructed a spoken question answering (SQA) dataset by synthesizing SQ and SA using a well-trained single-speaker TTS system based on VITS (Kim et al., 2021).",
|
| 518 |
+
"bbox": [
|
| 519 |
+
505,
|
| 520 |
+
129,
|
| 521 |
+
884,
|
| 522 |
+
401
|
| 523 |
+
],
|
| 524 |
+
"page_idx": 2
|
| 525 |
+
},
|
| 526 |
+
{
|
| 527 |
+
"type": "text",
|
| 528 |
+
"text": "3.2 Configuration",
|
| 529 |
+
"text_level": 1,
|
| 530 |
+
"bbox": [
|
| 531 |
+
507,
|
| 532 |
+
414,
|
| 533 |
+
665,
|
| 534 |
+
429
|
| 535 |
+
],
|
| 536 |
+
"page_idx": 2
|
| 537 |
+
},
|
| 538 |
+
{
|
| 539 |
+
"type": "text",
|
| 540 |
+
"text": "Tokenization and Detokenization For text tokenization, we used the tokenizer with a vocabulary size of 151,936 from rinna/nekomata-7b². For speech tokenization, we applied $k$ -means clustering with $k = 512$ to 12-th layer features from rinna/japanese-hubert-base³ (Sawada et al., 2024), obtaining 50 speech tokens per second. For speech detokenization, we trained discrete unit-based HiFiGAN (Polyak et al., 2021) using pairs of synthesized speech waveforms of SQ and SA and their corresponding speech tokens. For ASR, Whisper large-v3 (Radford et al., 2023) with faster-whisper⁴ was used throughout our experiments.",
|
| 541 |
+
"bbox": [
|
| 542 |
+
507,
|
| 543 |
+
434,
|
| 544 |
+
884,
|
| 545 |
+
643
|
| 546 |
+
],
|
| 547 |
+
"page_idx": 2
|
| 548 |
+
},
|
| 549 |
+
{
|
| 550 |
+
"type": "text",
|
| 551 |
+
"text": "Language Modeling We used rinna/nekomata-7b, a 32-layer 4096-hidden-size Transformer LM that was continuously pretrained from Qwen-7B (Bai et al., 2023) on Japanese text, as the backbone of our models. We implemented our models using the GPT-NeoX library (Aidonian et al., 2023). Unless otherwise noted, models were trained for $50\\mathrm{k}$ steps with a batch size of 16 on 8 NVIDIA A100 GPUs using an Adam optimizer (Kingma and Ba, 2015) with a peak learning rate set to 1e-5. During inference, we set the temperature to 0.8 and applied top- $k$ and top- $p$ sampling with $k = 60$ and $p = 0.8$ .",
|
| 552 |
+
"bbox": [
|
| 553 |
+
507,
|
| 554 |
+
652,
|
| 555 |
+
885,
|
| 556 |
+
860
|
| 557 |
+
],
|
| 558 |
+
"page_idx": 2
|
| 559 |
+
},
|
| 560 |
+
{
|
| 561 |
+
"type": "list",
|
| 562 |
+
"sub_type": "ref_text",
|
| 563 |
+
"list_items": [
|
| 564 |
+
"2https://huggingface.co/rinna/nekomata-7b",
|
| 565 |
+
"3https://huggingface.co/rinna/",
|
| 566 |
+
"japanese-hubert-base",
|
| 567 |
+
"4https://github.com/SYSTRAN/faster-whisper"
|
| 568 |
+
],
|
| 569 |
+
"bbox": [
|
| 570 |
+
507,
|
| 571 |
+
868,
|
| 572 |
+
850,
|
| 573 |
+
920
|
| 574 |
+
],
|
| 575 |
+
"page_idx": 2
|
| 576 |
+
},
|
| 577 |
+
{
|
| 578 |
+
"type": "page_number",
|
| 579 |
+
"text": "2694",
|
| 580 |
+
"bbox": [
|
| 581 |
+
480,
|
| 582 |
+
927,
|
| 583 |
+
519,
|
| 584 |
+
940
|
| 585 |
+
],
|
| 586 |
+
"page_idx": 2
|
| 587 |
+
},
|
| 588 |
+
{
|
| 589 |
+
"type": "text",
|
| 590 |
+
"text": "3.3 Baselines",
|
| 591 |
+
"text_level": 1,
|
| 592 |
+
"bbox": [
|
| 593 |
+
114,
|
| 594 |
+
84,
|
| 595 |
+
233,
|
| 596 |
+
98
|
| 597 |
+
],
|
| 598 |
+
"page_idx": 3
|
| 599 |
+
},
|
| 600 |
+
{
|
| 601 |
+
"type": "text",
|
| 602 |
+
"text": "We involved three CoM-based baselines, which share the model weights but differ in their prompts during decoding: (1) CoM-SQ receives only SQ, (2) CoM-ASR receives SQ and transcribed TQ, and (3) CoM receives SQ and gold TQ. In our preliminary experiments, the three-stage training (Zhang et al., 2023) was not effective in our configuration; thus, we trained the model using the same configuration as described in Section 3.2.",
|
| 603 |
+
"bbox": [
|
| 604 |
+
112,
|
| 605 |
+
105,
|
| 606 |
+
489,
|
| 607 |
+
250
|
| 608 |
+
],
|
| 609 |
+
"page_idx": 3
|
| 610 |
+
},
|
| 611 |
+
{
|
| 612 |
+
"type": "text",
|
| 613 |
+
"text": "3.4 Evaluation Metrics",
|
| 614 |
+
"text_level": 1,
|
| 615 |
+
"bbox": [
|
| 616 |
+
112,
|
| 617 |
+
263,
|
| 618 |
+
312,
|
| 619 |
+
277
|
| 620 |
+
],
|
| 621 |
+
"page_idx": 3
|
| 622 |
+
},
|
| 623 |
+
{
|
| 624 |
+
"type": "text",
|
| 625 |
+
"text": "ChatGPT Scores We used OpenAI's GPT-3.5 Turbo API to evaluate response quality on a 5-point scale from 1 (bad) to 5 (excellent). The prompt is described in Appendix C. We report the scores for TA and the transcription of SA as T-score and S-score, respectively.",
|
| 626 |
+
"bbox": [
|
| 627 |
+
112,
|
| 628 |
+
284,
|
| 629 |
+
487,
|
| 630 |
+
381
|
| 631 |
+
],
|
| 632 |
+
"page_idx": 3
|
| 633 |
+
},
|
| 634 |
+
{
|
| 635 |
+
"type": "text",
|
| 636 |
+
"text": "Character Error Rate (CER) We calculated the character error rate between the generated TA and the transcription of SA to assess their alignment.",
|
| 637 |
+
"bbox": [
|
| 638 |
+
112,
|
| 639 |
+
391,
|
| 640 |
+
485,
|
| 641 |
+
439
|
| 642 |
+
],
|
| 643 |
+
"page_idx": 3
|
| 644 |
+
},
|
| 645 |
+
{
|
| 646 |
+
"type": "text",
|
| 647 |
+
"text": "Failure Rate (FR) We counted failure cases such as (1) no [EOS] token was generated before the total sequence length reached 2048, or (2) tokens were generated in the wrong modality, i.e., speech tokens in TQ and TA, or text tokens in SA.",
|
| 648 |
+
"bbox": [
|
| 649 |
+
112,
|
| 650 |
+
450,
|
| 651 |
+
485,
|
| 652 |
+
529
|
| 653 |
+
],
|
| 654 |
+
"page_idx": 3
|
| 655 |
+
},
|
| 656 |
+
{
|
| 657 |
+
"type": "text",
|
| 658 |
+
"text": "Latency We simulated latency according to Equations 2 and 3 for each sample in the evaluation set, and reported the median values. We set $D_{\\mathrm{s2t}} = 0.05$ , $D_{\\mathrm{SQ}} = 0.05$ , $D_{\\mathrm{ASR}} = 0.2$ , and $D_{\\mathrm{t2s}} = 0.01$ based on measurements taken on a single NVIDIA A100 GPU. For the TPS value $P$ , the actual TPS varies depending on computing resources and optimization; 70 TPS was achieved with vLLM (Kwon et al., 2023) optimization, and 25 TPS without it. Meanwhile, for streaming inference with HiFi-GAN, LMs need to generate 50 speech tokens per second. Therefore, we set $P$ to 50 in our simulations to match this requirement.",
|
| 659 |
+
"bbox": [
|
| 660 |
+
112,
|
| 661 |
+
541,
|
| 662 |
+
489,
|
| 663 |
+
750
|
| 664 |
+
],
|
| 665 |
+
"page_idx": 3
|
| 666 |
+
},
|
| 667 |
+
{
|
| 668 |
+
"type": "text",
|
| 669 |
+
"text": "Human Rating We also conducted two subjective evaluations: one for text and the other for speech. In the text evaluation, we presented pairs of gold TQ and generated TA, and raters evaluated the naturalness of TA based on the same criteria used in the ChatGPT-based evaluation (Text Naturalness). In the speech evaluation, we presented gold SQ and generated SA successively, along with their TQ and TA, and asked the raters to evaluate (1) how natural the SA is as the speech of the",
|
| 670 |
+
"bbox": [
|
| 671 |
+
112,
|
| 672 |
+
760,
|
| 673 |
+
489,
|
| 674 |
+
920
|
| 675 |
+
],
|
| 676 |
+
"page_idx": 3
|
| 677 |
+
},
|
| 678 |
+
{
|
| 679 |
+
"type": "text",
|
| 680 |
+
"text": "TA (Speech Naturalness), and (2) whether the response is fast enough (Speed Score). For better reproducibility, we provide the actual instruction used for speech evaluation in Appendix D. The duration of silence between SQ and SA was simulated in the manner described in Section 2.5, except for the Ground Truth where the silence duration was set to $200\\mathrm{ms}$ , the average turn-taking gap in human conversation (Levinson and Torreira, 2015). Scores were rated on a 5-point scale. Fifty samples were randomly chosen from the evaluation set, and twenty in-house workers rated twenty samples each.",
|
| 681 |
+
"bbox": [
|
| 682 |
+
507,
|
| 683 |
+
84,
|
| 684 |
+
884,
|
| 685 |
+
292
|
| 686 |
+
],
|
| 687 |
+
"page_idx": 3
|
| 688 |
+
},
|
| 689 |
+
{
|
| 690 |
+
"type": "text",
|
| 691 |
+
"text": "4 Results and Discussion",
|
| 692 |
+
"text_level": 1,
|
| 693 |
+
"bbox": [
|
| 694 |
+
507,
|
| 695 |
+
304,
|
| 696 |
+
741,
|
| 697 |
+
319
|
| 698 |
+
],
|
| 699 |
+
"page_idx": 3
|
| 700 |
+
},
|
| 701 |
+
{
|
| 702 |
+
"type": "text",
|
| 703 |
+
"text": "4.1 Automatic Evaluation",
|
| 704 |
+
"text_level": 1,
|
| 705 |
+
"bbox": [
|
| 706 |
+
507,
|
| 707 |
+
329,
|
| 708 |
+
727,
|
| 709 |
+
343
|
| 710 |
+
],
|
| 711 |
+
"page_idx": 3
|
| 712 |
+
},
|
| 713 |
+
{
|
| 714 |
+
"type": "text",
|
| 715 |
+
"text": "Comparison with Baselines To answer RQ1, we compared the proposed method in two conditions, PSLM and PSLM-ASR, with the baselines described in Section 3.3. PSLM receives SQ and gold TQ, while PSLM-ASR receives SQ and transcribed TQ. Table 1 summarizes the results. When gold TQ was given, PSLM achieved comparable scores to CoM and significantly improved latency. A similar trend was observed under more practical conditions where gold TQ was not available (PSLM-ASR vs. CoM-ASR). However, their scores were lower than those with gold TQ, and CoM-SQ faced greater degradation. These results suggest that ASR performance is crucial for response quality, and CoM-SQ seems to have produced more ASR errors than Whisper. Nevertheless, we conclude that PSLM maintains the response quality of CoM (RQ1). We also found that PSLM-based methods achieved lower FRs than CoM-based ones. Each stream of PSLM is dedicated to a single modality, which could have reduced the failures in generation. Furthermore, methods other than CoM-SQ marked lower CERs than Ground Truth. From this result, we confirmed that both CoM and PSLM can generate appropriate SA corresponding to TA.",
|
| 716 |
+
"bbox": [
|
| 717 |
+
507,
|
| 718 |
+
349,
|
| 719 |
+
884,
|
| 720 |
+
751
|
| 721 |
+
],
|
| 722 |
+
"page_idx": 3
|
| 723 |
+
},
|
| 724 |
+
{
|
| 725 |
+
"type": "text",
|
| 726 |
+
"text": "Multiple Speech Streams To answer RQ2, we trained PSLM variants with two (-2x) or three (-3x) speech streams<sup>5</sup>. PSLM-2x achieved comparable scores to PSLM, whereas PSLM-3x demonstrated significant degradation. From these results, we conclude that speech tokens can be decoded in up to two streams without quality degradation (RQ2). An ablation study can be found in Appendix E.",
|
| 727 |
+
"bbox": [
|
| 728 |
+
507,
|
| 729 |
+
760,
|
| 730 |
+
882,
|
| 731 |
+
888
|
| 732 |
+
],
|
| 733 |
+
"page_idx": 3
|
| 734 |
+
},
|
| 735 |
+
{
|
| 736 |
+
"type": "page_footnote",
|
| 737 |
+
"text": "PSLM-3x was trained with a batch size of 4 due to the increased number of parameters.",
|
| 738 |
+
"bbox": [
|
| 739 |
+
507,
|
| 740 |
+
894,
|
| 741 |
+
882,
|
| 742 |
+
920
|
| 743 |
+
],
|
| 744 |
+
"page_idx": 3
|
| 745 |
+
},
|
| 746 |
+
{
|
| 747 |
+
"type": "page_number",
|
| 748 |
+
"text": "2695",
|
| 749 |
+
"bbox": [
|
| 750 |
+
480,
|
| 751 |
+
928,
|
| 752 |
+
519,
|
| 753 |
+
940
|
| 754 |
+
],
|
| 755 |
+
"page_idx": 3
|
| 756 |
+
},
|
| 757 |
+
{
|
| 758 |
+
"type": "table",
|
| 759 |
+
"img_path": "images/d480c48a0df6b353577a459c47225cf8a45eb9c0aba14678cf4c55688c88bdf5.jpg",
|
| 760 |
+
"table_caption": [
|
| 761 |
+
"Table 1: Automatic evaluation results. T-score and S-score represent the ChatGPT-based score for TA and transcribed SA, respectively. FR denotes the failure rate. Latency values in parentheses represent inputs involving gold TQ."
|
| 762 |
+
],
|
| 763 |
+
"table_footnote": [],
|
| 764 |
+
"table_body": "<table><tr><td>Method</td><td>Input modality</td><td>Output Modality</td><td>T-score↑</td><td>S-score↑</td><td>FR↓</td><td>CER↓</td><td>Latency [s]↓</td></tr><tr><td>Ground Truth</td><td>—</td><td>—</td><td>4.00±0.02</td><td>3.58±0.06</td><td>—</td><td>7.35</td><td>—</td></tr><tr><td>CoM</td><td>SQ → TQ (Gold)</td><td>TA → SA</td><td>3.50±0.09</td><td>3.27±0.09</td><td>12.12</td><td>6.28</td><td>(0.67)</td></tr><tr><td>PSLM</td><td>SQ, TQ (Gold)</td><td>TA, SA</td><td>3.50±0.08</td><td>3.22±0.09</td><td>5.05</td><td>5.25</td><td>(0.34)</td></tr><tr><td>CoM-SQ</td><td>SQ</td><td>TQ → TA → SA</td><td>3.12±0.11</td><td>2.94±0.10</td><td>15.91</td><td>7.83</td><td>1.03</td></tr><tr><td>CoM-ASR</td><td>SQ → TQ (ASR)</td><td>TA → SA</td><td>3.27±0.10</td><td>3.07±0.09</td><td>13.13</td><td>6.18</td><td>0.92</td></tr><tr><td>PSLM-ASR</td><td>SQ, TQ (ASR)</td><td>TA, SA</td><td>3.34±0.09</td><td>3.05±0.10</td><td>6.31</td><td>6.05</td><td>0.54</td></tr><tr><td>PSLM-2x</td><td>SQ, TQ (Gold)</td><td>TA, SA</td><td>3.50±0.08</td><td>3.20±0.09</td><td>4.29</td><td>6.39</td><td>(0.20)</td></tr><tr><td>PSLM-3x</td><td>SQ, TQ (Gold)</td><td>TA, SA</td><td>3.28±0.10</td><td>2.99±0.10</td><td>7.07</td><td>6.09</td><td>(0.15)</td></tr></table>",
|
| 765 |
+
"bbox": [
|
| 766 |
+
122,
|
| 767 |
+
122,
|
| 768 |
+
873,
|
| 769 |
+
252
|
| 770 |
+
],
|
| 771 |
+
"page_idx": 4
|
| 772 |
+
},
|
| 773 |
+
{
|
| 774 |
+
"type": "table",
|
| 775 |
+
"img_path": "images/92f58c375b945f661040981122de6b08bf22df04bfcf478ae10cf6a458462535.jpg",
|
| 776 |
+
"table_caption": [
|
| 777 |
+
"Table 2: Human evaluation results."
|
| 778 |
+
],
|
| 779 |
+
"table_footnote": [],
|
| 780 |
+
"table_body": "<table><tr><td>Method</td><td>Text↑</td><td>Speech↑</td><td>Speed↑</td></tr><tr><td>Ground Truth</td><td>4.08±0.26</td><td>3.74±0.19</td><td>4.73±0.11</td></tr><tr><td>CoM-SQ</td><td>2.44±0.29</td><td>4.04±0.20</td><td>4.07±0.23</td></tr><tr><td>CoM-ASR</td><td>2.90±0.30</td><td>3.94±0.20</td><td>4.17±0.22</td></tr><tr><td>PSLM-ASR</td><td>3.08±0.27</td><td>4.08±0.20</td><td>4.57±0.13</td></tr></table>",
|
| 781 |
+
"bbox": [
|
| 782 |
+
119,
|
| 783 |
+
297,
|
| 784 |
+
482,
|
| 785 |
+
366
|
| 786 |
+
],
|
| 787 |
+
"page_idx": 4
|
| 788 |
+
},
|
| 789 |
+
{
|
| 790 |
+
"type": "text",
|
| 791 |
+
"text": "4.2 Human Evaluation",
|
| 792 |
+
"text_level": 1,
|
| 793 |
+
"bbox": [
|
| 794 |
+
112,
|
| 795 |
+
384,
|
| 796 |
+
310,
|
| 797 |
+
398
|
| 798 |
+
],
|
| 799 |
+
"page_idx": 4
|
| 800 |
+
},
|
| 801 |
+
{
|
| 802 |
+
"type": "text",
|
| 803 |
+
"text": "Considering practical applicability to SQA, we manually evaluated three methods: CoM-SQ, CoM-ASR, and PSLM-ASR, which do not rely on gold TQ, along with Ground-Truth. Table 2 shows the results. The text response naturalness of PSLM-ASR was comparable to CoM-ASR and higher than CoM-SQ, which is consistent with the automatic evaluation results. For speech naturalness, all methods achieved higher scores than Ground-Truth. This result can be attributed to two reasons: (1) SA of Ground-Truth are synthetic speech, which may include errors in pronunciation, intonation, and pauses, and (2) SA of Ground-Truth are typically longer than those of other methods, incurring that one or two unnatural parts lowered the entire score. Nevertheless, we confirmed that our approach can generate natural and faithful speech responses. For response speed evaluation, PSLM-ASR achieved a significantly higher score than CoM-ASR and CoM-SQ. This finding verifies that the proposed method reduces latency both numerically and perceptibly. Detailed analysis can be found in the next subsection.",
|
| 804 |
+
"bbox": [
|
| 805 |
+
112,
|
| 806 |
+
405,
|
| 807 |
+
489,
|
| 808 |
+
775
|
| 809 |
+
],
|
| 810 |
+
"page_idx": 4
|
| 811 |
+
},
|
| 812 |
+
{
|
| 813 |
+
"type": "text",
|
| 814 |
+
"text": "4.3 Detailed Latency Analysis",
|
| 815 |
+
"text_level": 1,
|
| 816 |
+
"bbox": [
|
| 817 |
+
112,
|
| 818 |
+
787,
|
| 819 |
+
364,
|
| 820 |
+
803
|
| 821 |
+
],
|
| 822 |
+
"page_idx": 4
|
| 823 |
+
},
|
| 824 |
+
{
|
| 825 |
+
"type": "text",
|
| 826 |
+
"text": "The sequence length of TA, or $N_{\\mathrm{TA}}$ , is the most influential factor in overall latency of CoM-based systems, as TA must be generated before SA. Thus, we investigated the overall latency by varying $N_{\\mathrm{TA}}$ . Figure 3 shows the results. Due to the need for prior generation of TA, the latency of CoM-SQ and CoM-ASR increases linearly as TA length in",
|
| 827 |
+
"bbox": [
|
| 828 |
+
112,
|
| 829 |
+
808,
|
| 830 |
+
489,
|
| 831 |
+
921
|
| 832 |
+
],
|
| 833 |
+
"page_idx": 4
|
| 834 |
+
},
|
| 835 |
+
{
|
| 836 |
+
"type": "image",
|
| 837 |
+
"img_path": "images/706506f70c354ffe5037d26d2a99432c6754ddafe4de918d5121cab9cdc0e961.jpg",
|
| 838 |
+
"image_caption": [
|
| 839 |
+
"Figure 3: Latency vs. TA length for different methods and tokens per second (TPS). PSLM-2x-ASR (50 TPS) is omitted because its latency is identical to PSLM-ASR (100 TPS)."
|
| 840 |
+
],
|
| 841 |
+
"image_footnote": [],
|
| 842 |
+
"bbox": [
|
| 843 |
+
522,
|
| 844 |
+
279,
|
| 845 |
+
870,
|
| 846 |
+
439
|
| 847 |
+
],
|
| 848 |
+
"page_idx": 4
|
| 849 |
+
},
|
| 850 |
+
{
|
| 851 |
+
"type": "text",
|
| 852 |
+
"text": "creases. In contrast, the latency of PSLM-ASR is constant because Equation 3 does not include $N_{\\mathrm{TA}}$ , and PSLM-2x-ASR further reduces the latency. The gap between CoM-based and PSLM-based systems is remarkable when generating long TA, highlighting the effectiveness of generating text and speech tokens in parallel.",
|
| 853 |
+
"bbox": [
|
| 854 |
+
507,
|
| 855 |
+
531,
|
| 856 |
+
882,
|
| 857 |
+
644
|
| 858 |
+
],
|
| 859 |
+
"page_idx": 4
|
| 860 |
+
},
|
| 861 |
+
{
|
| 862 |
+
"type": "text",
|
| 863 |
+
"text": "5 Conclusion",
|
| 864 |
+
"text_level": 1,
|
| 865 |
+
"bbox": [
|
| 866 |
+
507,
|
| 867 |
+
664,
|
| 868 |
+
640,
|
| 869 |
+
678
|
| 870 |
+
],
|
| 871 |
+
"page_idx": 4
|
| 872 |
+
},
|
| 873 |
+
{
|
| 874 |
+
"type": "text",
|
| 875 |
+
"text": "In this study, we proposed the Parallel Speech Language Model (PSLM), an LLM capable of generating text and speech tokens in parallel with multiple input-output streams, and investigated its impact on response quality and overall latency. The experimental evaluations on spoken question answering demonstrated that the proposed method significantly reduces latency compared to existing methods while maintaining response quality. Future work includes verifying the effectiveness of the proposed method on larger datasets and real speech data. Additionally, extending the proposed method to multi-turn dialogues is an important research direction.",
|
| 876 |
+
"bbox": [
|
| 877 |
+
505,
|
| 878 |
+
696,
|
| 879 |
+
884,
|
| 880 |
+
920
|
| 881 |
+
],
|
| 882 |
+
"page_idx": 4
|
| 883 |
+
},
|
| 884 |
+
{
|
| 885 |
+
"type": "page_number",
|
| 886 |
+
"text": "2696",
|
| 887 |
+
"bbox": [
|
| 888 |
+
480,
|
| 889 |
+
928,
|
| 890 |
+
519,
|
| 891 |
+
940
|
| 892 |
+
],
|
| 893 |
+
"page_idx": 4
|
| 894 |
+
},
|
| 895 |
+
{
|
| 896 |
+
"type": "text",
|
| 897 |
+
"text": "6 Limitations",
|
| 898 |
+
"text_level": 1,
|
| 899 |
+
"bbox": [
|
| 900 |
+
114,
|
| 901 |
+
84,
|
| 902 |
+
250,
|
| 903 |
+
98
|
| 904 |
+
],
|
| 905 |
+
"page_idx": 5
|
| 906 |
+
},
|
| 907 |
+
{
|
| 908 |
+
"type": "text",
|
| 909 |
+
"text": "We recognize several limitations of this study. First, PSLM sacrifices ASR capability for faster response, requiring an external ASR module to serve as a spoken dialogue system. Although this dependency can complicate the system structure, it does not degrade the system's performance, provided that an appropriate ASR module is selected. This is supported by the fact that CoM-ASR outperformed CoM-SQ, as described in Section 4.1. Nevertheless, enabling ASR with the PSLM architecture can be an interesting research direction. Second, we used single-speaker synthetic speech for SQ and SA, which lacks diversity in several aspects of speech such as accent, rhythm, emotion, and timbre. Practical applications may require to accept voices of arbitrary speakers, which we will address in future work. Finally, multi-turn dialogue settings were not investigated in our experiments. While SpeechGPT (Zhang et al., 2023) was not applied to multi-turn dialogue due to sequence length limitations, our models with multiple speech streams have the potential to perform multi-turn dialogue.",
|
| 910 |
+
"bbox": [
|
| 911 |
+
115,
|
| 912 |
+
110,
|
| 913 |
+
489,
|
| 914 |
+
464
|
| 915 |
+
],
|
| 916 |
+
"page_idx": 5
|
| 917 |
+
},
|
| 918 |
+
{
|
| 919 |
+
"type": "text",
|
| 920 |
+
"text": "References",
|
| 921 |
+
"text_level": 1,
|
| 922 |
+
"bbox": [
|
| 923 |
+
115,
|
| 924 |
+
493,
|
| 925 |
+
213,
|
| 926 |
+
507
|
| 927 |
+
],
|
| 928 |
+
"page_idx": 5
|
| 929 |
+
},
|
| 930 |
+
{
|
| 931 |
+
"type": "list",
|
| 932 |
+
"sub_type": "ref_text",
|
| 933 |
+
"list_items": [
|
| 934 |
+
"Alex Andonian, Quentin Anthony, Stella Biderman, Sid Black, Preetham Gali, Leo Gao, Eric Hallahan, Josh Levy-Kramer, Connor Leahy, Lucas Nestler, Kip Parker, Michael Pieler, Jason Phang, Shivanshu Purohit, Hailey Schoelkopf, Dashiell Stander, Tri Songz, Curt Tiggs, Benjamin Therien, Phil Wang, and Samuel Weinbach. 2023. GPT-NeoX: Large Scale Autoregressive Language Modeling in PyTorch.",
|
| 935 |
+
"Jinze Bai, Shuai Bai, Yunfei Chu, Zeyu Cui, Kai Dang, Xiaodong Deng, Yang Fan, Wenbin Ge, Yu Han, Fei Huang, Binyuan Hui, Luo Ji, Mei Li, Junyang Lin, Runji Lin, Dayiheng Liu, Gao Liu, Chengqiang Lu, Keming Lu, Jianxin Ma, Rui Men, Xingzhang Ren, Xuancheng Ren, Chuanqi Tan, Sinan Tan, Jianhong Tu, Peng Wang, Shijie Wang, Wei Wang, Shengguang Wu, Benfeng Xu, Jin Xu, An Yang, Hao Yang, Jian Yang, Shusheng Yang, Yang Yao, Bowen Yu, Hongyi Yuan, Zheng Yuan, Jianwei Zhang, Xingxuan Zhang, Yichang Zhang, Zhenru Zhang, Chang Zhou, Jingren Zhou, Xiaohuan Zhou, and Tianhang Zhu. 2023. Qwen technical report. Computing Research Repository, arxiv:2309.16609.",
|
| 936 |
+
"Hongshen Chen, Xiaorui Liu, Dawei Yin, and Jiliang Tang. 2017. A survey on dialogue systems: Recent advances and new frontiers. SIGKDD Explorations Newsletter, 19(2):25-35.",
|
| 937 |
+
"Ziyi Chen, Haoran Miao, and Pengyuan Zhang. 2022. Streaming non-autoregressive model for any-to-many"
|
| 938 |
+
],
|
| 939 |
+
"bbox": [
|
| 940 |
+
115,
|
| 941 |
+
516,
|
| 942 |
+
489,
|
| 943 |
+
920
|
| 944 |
+
],
|
| 945 |
+
"page_idx": 5
|
| 946 |
+
},
|
| 947 |
+
{
|
| 948 |
+
"type": "list",
|
| 949 |
+
"sub_type": "ref_text",
|
| 950 |
+
"list_items": [
|
| 951 |
+
"voice conversion. Computing Research Repository, arXiv:2206.07288.",
|
| 952 |
+
"Ju-Chieh Chou, Chung-Ming Chien, Wei-Ning Hsu, Karen Livescu, Arun Babu, Alexis Conneau, Alexei Baevski, and Michael Auli. 2023. Toward joint language modeling for speech units and text. In *Findings of the Association for Computational Linguistics: EMNLP* 2023, pages 6582-6593, Singapore. Association for Computational Linguistics.",
|
| 953 |
+
"Yassir Fathullah, Chunyang Wu, Egor Lakomkin, Jun-teng Jia, Yuan Shangguan, Ke Li, Jinxi Guo, Wenhan Xiong, Jay Mahadeokar, Ozlem Kalinli, Christian Fuegen, and Mike Seltzer. 2024. Prompting large language models with speech recognition abilities. In Proceedings of the 2024 IEEE International Conference on Acoustics, Speech, and Signal Processing, pages 13351-13355, Seoul, Korea.",
|
| 954 |
+
"Hongkun Hao, Long Zhou, Shujie Liu, Jinyu Li, Shujie Hu, Rui Wang, and Furu Wei. 2023. Boosting large language model for speech synthesis: An empirical study. Computing Research Repository, arXiv:2401.00246.",
|
| 955 |
+
"Michael Hassid, Tal Remez, Tu Anh Nguyen, Itai Gat, Alexis Conneau, Felix Kreuk, Jade Copet, Alexandre Defossez, Gabriel Synnaeve, Emmanuel Dupoux, Roy Schwartz, and Yossi Adi. 2023. Textually pretrained speech language models. In Proceedings of the 37th International Conference on Neural Information Processing Systems, pages 63483-63501, New Orleans, LA, U.S.A.",
|
| 956 |
+
"Yuta Hayashibe. 2023. megagonlabs/instruction_ja: Japanese instructions data for LLM.",
|
| 957 |
+
"Yukiya Hono, Koh Mitsuda, Tianyu Zhao, Kentaro Mitsui, Toshiaki Wakatsuki, and Kei Sawada. 2024. Integrating pre-trained speech and language models for end-to-end speech recognition. In *Findings of the Association for Computational Linguistics* ACL 2024, pages 13289-13305, Bangkok, Thailand and virtual meeting. Association for Computational Linguistics.",
|
| 958 |
+
"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. IEEE/ACM Transactions on Audio, Speech, and Language Processing, 29:3451-3460.",
|
| 959 |
+
"Kristiina Jokinen and Michael McTear. 2009. Spoken Dialogue Systems. Synthesis Lectures on Human Language Technologies. Morgan & Claypool publishers, U.S.A.",
|
| 960 |
+
"Jaehyeon Kim, Jungil Kong, and Juhee Son. 2021. Conditional variational autoencoder with adversarial learning for end-to-end text-to-speech. In Proceedings of the 38th International Conference on Machine Learning, pages 5530-5540, online.",
|
| 961 |
+
"Diederik P Kingma and Jimmy Ba. 2015. Adam: A method for stochastic optimization. In Proceedings"
|
| 962 |
+
],
|
| 963 |
+
"bbox": [
|
| 964 |
+
510,
|
| 965 |
+
85,
|
| 966 |
+
884,
|
| 967 |
+
920
|
| 968 |
+
],
|
| 969 |
+
"page_idx": 5
|
| 970 |
+
},
|
| 971 |
+
{
|
| 972 |
+
"type": "page_number",
|
| 973 |
+
"text": "2697",
|
| 974 |
+
"bbox": [
|
| 975 |
+
480,
|
| 976 |
+
928,
|
| 977 |
+
519,
|
| 978 |
+
940
|
| 979 |
+
],
|
| 980 |
+
"page_idx": 5
|
| 981 |
+
},
|
| 982 |
+
{
|
| 983 |
+
"type": "list",
|
| 984 |
+
"sub_type": "ref_text",
|
| 985 |
+
"list_items": [
|
| 986 |
+
"of the 3rd International Conference on Learning Representations, San Diego, CA, U.S.A.",
|
| 987 |
+
"Jungil Kong, Jaehyeon Kim, and Jaekyoung Bae. 2020. HiFi-GAN: Generative adversarial networks for efficient and high fidelity speech synthesis. In Proceedings of the 34th International Conference on Neural Information Processing Systems, pages 17022-17033, online.",
|
| 988 |
+
"Woosuk Kwon, Zhuohan Li, Siyuan Zhuang, Ying Sheng, Lianmin Zheng, Cody Hao Yu, Joseph Gonzalez, Hao Zhang, and Ion Stoica. 2023. Efficient memory management for large language model serving with pagedattention. In Proceedings of the 29th Symposium on Operating Systems Principles, pages 611-626, New York, NY, U.S.A.",
|
| 989 |
+
"Stephen C Levinson and Francisco Torreira. 2015. Timing in turn-taking and its implications for processing models of language. Frontiers in psychology, 6.",
|
| 990 |
+
"Michael F. McTear. 2002. Spoken dialogue technology: enabling the conversational user interface. ACM Computing Surveys, 34(1):90-169.",
|
| 991 |
+
"Eliya Nachmani, Alon Levkovitch, Roy Hirsch, Julian Salazar, Chulayuth Asawaroengchai, Soroosh Mariooryad, Ehud Rivlin, RJ Skerry-Ryan, and Michelle Tadmor Ramanovich. 2024. Spoken question answering and speech continuation using spectrogram-powered LLM. In *In Proceedings of the 12th International Conference on Learning Representations*, Vienna, Austria.",
|
| 992 |
+
"Adam Polyak, Yossi Adi, Jade Copet, Eugene Kharitonov, Kushal Lakhotia, Wei-Ning Hsu, Abdelrahman Mohamed, and Emmanuel Dupoux. 2021. Speech resynthesis from discrete disentangled self-supervised representations. In Proceedings of INTERSPEECH 2021, pages 3615-3619, online.",
|
| 993 |
+
"Alec Radford, Jong Wook Kim, Tao Xu, Greg Brockman, Christine McLeavey, and Ilya Sutskever. 2023. Robust speech recognition via large-scale weak supervision. In Proceedings of the 40th International Conference on Machine Learning, pages 28492-28518, Honolulu, Hawaii, U.S.A.",
|
| 994 |
+
"Paul K. Rubenstein, Chulayuth Asawaroengchai, Duc Dung Nguyen, Ankur Bapna, Zalán Borsos, Félix de Chaumont Quiry, Peter Chen, Dalia El Badawy, Wei Han, Eugene Kharitonov, Hannah Muckenhirn, Dirk Padfield, James Qin, Danny Rozenberg, Tara Sainath, Johan Schalkwyk, Matt Sharifi, Michelle Tadmor Ramanovich, Marco Tagliasacchi, Alexandru Tudor, Mihajlo Velimirović, Damien Vincent, Jiahui Yu, Yongqiang Wang, Vicky Zayats, Neil Zeghidour, Yu Zhang, Zhishuai Zhang, Lukas Zilka, and Christian Frank. 2023. AudioPaLM: A large language model that can speak and listen. Computing Research Repository, arXiv:2306.12925.",
|
| 995 |
+
"Kei Sawada, Tianyu Zhao, Makoto Shing, Kentaro Mitsui, Akio Kaga, Yukiya Hono, Toshiaki Wakatsuki,"
|
| 996 |
+
],
|
| 997 |
+
"bbox": [
|
| 998 |
+
115,
|
| 999 |
+
85,
|
| 1000 |
+
489,
|
| 1001 |
+
920
|
| 1002 |
+
],
|
| 1003 |
+
"page_idx": 6
|
| 1004 |
+
},
|
| 1005 |
+
{
|
| 1006 |
+
"type": "list",
|
| 1007 |
+
"sub_type": "ref_text",
|
| 1008 |
+
"list_items": [
|
| 1009 |
+
"and Koh Mitsuda. 2024. Release of pre-trained models for the Japanese language. In Proceedings of the 2024 Joint International Conference on Computational Linguistics, Language Resources and Evaluation, pages 13898-13905, Torino, Italia. ELRA and ICCL.",
|
| 1010 |
+
"Yakun Song, Zhuo Chen, Xiaofei Wang, Ziyang Ma, and Xie Chen. 2024. ELLA-V: Stable neural codec language modeling with alignment-guided sequence reordering. Computing Research Repository, arXiv:2401.07333.",
|
| 1011 |
+
"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 Proceedings of the 31st International Conference on Neural Information Processing Systems, pages 5998-6008, Long Beach, CA, U.S.A.",
|
| 1012 |
+
"Hongru Wang, Lingzhi Wang, Yiming Du, Liang Chen, Jingyan Zhou, Yufei Wang, and Kam-Fai Wong. 2023a. A survey of the evolution of language model-based dialogue systems. Computing Research Repository, arxiv:2311.16789.",
|
| 1013 |
+
"Tianrui Wang, Long Zhou, Ziqiang Zhang, Yu Wu, Shujie Liu, Yashesh Gaur, Zhuo Chen, Jinyu Li, and Furu Wei. 2023b. VioLA: Unified codec language models for speech recognition, synthesis, and translation. Computing Research Repository, arXiv:2305.16107.",
|
| 1014 |
+
"Zihao Yi, Jiarui Ouyang, Yuwen Liu, Tianhao Liao, Zhe Xu, and Ying Shen. 2024. A survey on recent advances in llm-based multi-turn dialogue systems. Computing Research Repository, arxiv:2402.18013.",
|
| 1015 |
+
"Dong Zhang, Shimin Li, Xin Zhang, Jun Zhan, Pengyu Wang, Yaqian Zhou, and Xipeng Qiu. 2023. SpeechGPT: Empowering large language models with intrinsic cross-modal conversational abilities. In Findings of the Association for Computational Linguistics: EMNLP 2023, pages 15757-15773, Singapore. Association for Computational Linguistics.",
|
| 1016 |
+
"Dong Zhang, Xin Zhang, Jun Zhan, Shimin Li, Yaqian Zhou, and Xipeng Qiu. 2024. SpeechGPT-Gen: Scaling chain-of-information speech generation. Computing Research Repository, arXiv:2401.13527."
|
| 1017 |
+
],
|
| 1018 |
+
"bbox": [
|
| 1019 |
+
510,
|
| 1020 |
+
85,
|
| 1021 |
+
882,
|
| 1022 |
+
708
|
| 1023 |
+
],
|
| 1024 |
+
"page_idx": 6
|
| 1025 |
+
},
|
| 1026 |
+
{
|
| 1027 |
+
"type": "page_number",
|
| 1028 |
+
"text": "2698",
|
| 1029 |
+
"bbox": [
|
| 1030 |
+
480,
|
| 1031 |
+
928,
|
| 1032 |
+
519,
|
| 1033 |
+
940
|
| 1034 |
+
],
|
| 1035 |
+
"page_idx": 6
|
| 1036 |
+
},
|
| 1037 |
+
{
|
| 1038 |
+
"type": "text",
|
| 1039 |
+
"text": "A Sequence Length Distributions",
|
| 1040 |
+
"text_level": 1,
|
| 1041 |
+
"bbox": [
|
| 1042 |
+
114,
|
| 1043 |
+
84,
|
| 1044 |
+
418,
|
| 1045 |
+
99
|
| 1046 |
+
],
|
| 1047 |
+
"page_idx": 7
|
| 1048 |
+
},
|
| 1049 |
+
{
|
| 1050 |
+
"type": "text",
|
| 1051 |
+
"text": "We calculated the sequence length distributions of SQ, TQ, TA, and SA in the training set. The results are listed in Table 3. On average, CoM prompting requires to generate $36.5\\mathrm{(TQ)} + 33.8\\mathrm{(TA)}\\approx 70$ text tokens before generating SA. Eliminating the need for generating these tokens can greatly reduce overall latency. In addition, speech tokens are more than 11 times longer than text tokens, highlighting the need for efficient generation of speech tokens.",
|
| 1052 |
+
"bbox": [
|
| 1053 |
+
112,
|
| 1054 |
+
109,
|
| 1055 |
+
487,
|
| 1056 |
+
254
|
| 1057 |
+
],
|
| 1058 |
+
"page_idx": 7
|
| 1059 |
+
},
|
| 1060 |
+
{
|
| 1061 |
+
"type": "text",
|
| 1062 |
+
"text": "B Implementation Details of HiFi-GAN",
|
| 1063 |
+
"text_level": 1,
|
| 1064 |
+
"bbox": [
|
| 1065 |
+
112,
|
| 1066 |
+
266,
|
| 1067 |
+
472,
|
| 1068 |
+
282
|
| 1069 |
+
],
|
| 1070 |
+
"page_idx": 7
|
| 1071 |
+
},
|
| 1072 |
+
{
|
| 1073 |
+
"type": "text",
|
| 1074 |
+
"text": "The HiFi-GAN generator comprises convolution layers. Therefore, a waveform fragment corresponding to the $i$ -th token depends only on tokens with indices $[i - \\lfloor R / 2\\rfloor ,i + \\lfloor R / 2\\rfloor ]$ . This allows waveform generation to start before the entire SA is generated. As described in Figure 4, HiFi-GAN first generates a waveform fragment once the LM generates $N_{\\mathrm{offset}} = \\lfloor R / 2\\rfloor +1$ tokens, then generates subsequent fragments by shifting input tokens one by one.",
|
| 1075 |
+
"bbox": [
|
| 1076 |
+
112,
|
| 1077 |
+
292,
|
| 1078 |
+
489,
|
| 1079 |
+
451
|
| 1080 |
+
],
|
| 1081 |
+
"page_idx": 7
|
| 1082 |
+
},
|
| 1083 |
+
{
|
| 1084 |
+
"type": "text",
|
| 1085 |
+
"text": "In our experiments, we trained HiFi-GAN to generate $24\\mathrm{kHz}$ waveform from $50\\mathrm{Hz}$ tokens, which results in $R = 26$ . Following Polyak et al. (2021), we embedded input speech tokens into 256-dimensional features and fed them to HiFi-GAN. We modified the upsampling rates to [8,6,5,2], the number of total iterations to $300\\mathrm{k}$ , and kept the other configuration the same as the original work (Kong et al., 2020).",
|
| 1086 |
+
"bbox": [
|
| 1087 |
+
112,
|
| 1088 |
+
454,
|
| 1089 |
+
489,
|
| 1090 |
+
598
|
| 1091 |
+
],
|
| 1092 |
+
"page_idx": 7
|
| 1093 |
+
},
|
| 1094 |
+
{
|
| 1095 |
+
"type": "text",
|
| 1096 |
+
"text": "C ChatGPT Evaluation Prompt",
|
| 1097 |
+
"text_level": 1,
|
| 1098 |
+
"bbox": [
|
| 1099 |
+
112,
|
| 1100 |
+
609,
|
| 1101 |
+
408,
|
| 1102 |
+
627
|
| 1103 |
+
],
|
| 1104 |
+
"page_idx": 7
|
| 1105 |
+
},
|
| 1106 |
+
{
|
| 1107 |
+
"type": "text",
|
| 1108 |
+
"text": "We used the prompt in Figure 5 for ChatGPT-based evaluation. The original prompt was written in Japanese, but a translated version is presented here.",
|
| 1109 |
+
"bbox": [
|
| 1110 |
+
112,
|
| 1111 |
+
636,
|
| 1112 |
+
489,
|
| 1113 |
+
684
|
| 1114 |
+
],
|
| 1115 |
+
"page_idx": 7
|
| 1116 |
+
},
|
| 1117 |
+
{
|
| 1118 |
+
"type": "text",
|
| 1119 |
+
"text": "D Speech Evaluation Instruction",
|
| 1120 |
+
"text_level": 1,
|
| 1121 |
+
"bbox": [
|
| 1122 |
+
112,
|
| 1123 |
+
696,
|
| 1124 |
+
415,
|
| 1125 |
+
713
|
| 1126 |
+
],
|
| 1127 |
+
"page_idx": 7
|
| 1128 |
+
},
|
| 1129 |
+
{
|
| 1130 |
+
"type": "text",
|
| 1131 |
+
"text": "We used the instruction in Figure 6 for speech evaluation. The original instruction was written in Japanese, but a translated version is presented here.",
|
| 1132 |
+
"bbox": [
|
| 1133 |
+
112,
|
| 1134 |
+
722,
|
| 1135 |
+
487,
|
| 1136 |
+
785
|
| 1137 |
+
],
|
| 1138 |
+
"page_idx": 7
|
| 1139 |
+
},
|
| 1140 |
+
{
|
| 1141 |
+
"type": "text",
|
| 1142 |
+
"text": "E Ablation Study",
|
| 1143 |
+
"text_level": 1,
|
| 1144 |
+
"bbox": [
|
| 1145 |
+
112,
|
| 1146 |
+
799,
|
| 1147 |
+
284,
|
| 1148 |
+
815
|
| 1149 |
+
],
|
| 1150 |
+
"page_idx": 7
|
| 1151 |
+
},
|
| 1152 |
+
{
|
| 1153 |
+
"type": "text",
|
| 1154 |
+
"text": "We trained three PSLM variants, one from scratch (-no-pretrain), one without TQ (-no-TQ), and one without SQ (-no-SQ). In addition, we trained PSLM-2x and PSLM-3x without weighted loss (- no-WL). Table 4 shows the automatic evaluation results. PSLM-no-pretrain exhibited significant",
|
| 1155 |
+
"bbox": [
|
| 1156 |
+
112,
|
| 1157 |
+
825,
|
| 1158 |
+
489,
|
| 1159 |
+
921
|
| 1160 |
+
],
|
| 1161 |
+
"page_idx": 7
|
| 1162 |
+
},
|
| 1163 |
+
{
|
| 1164 |
+
"type": "table",
|
| 1165 |
+
"img_path": "images/206bb587af41e8c52e73b76d8a71abc8a30cdca4fdb6b1de7f455d972e8f4160.jpg",
|
| 1166 |
+
"table_caption": [
|
| 1167 |
+
"Table 3: Sequence length distributions in the training set (in tokens)."
|
| 1168 |
+
],
|
| 1169 |
+
"table_footnote": [],
|
| 1170 |
+
"table_body": "<table><tr><td></td><td>SQ</td><td>TQ</td><td>TA</td><td>SA</td></tr><tr><td>Mean</td><td>406.6</td><td>36.5</td><td>33.8</td><td>386.5</td></tr><tr><td>Min</td><td>34</td><td>2</td><td>1</td><td>27</td></tr><tr><td>25%</td><td>214</td><td>19</td><td>15</td><td>179</td></tr><tr><td>50%</td><td>354</td><td>32</td><td>29</td><td>340</td></tr><tr><td>75%</td><td>577</td><td>51</td><td>50</td><td>563</td></tr><tr><td>Max</td><td>1861</td><td>148</td><td>147</td><td>1697</td></tr></table>",
|
| 1171 |
+
"bbox": [
|
| 1172 |
+
564,
|
| 1173 |
+
115,
|
| 1174 |
+
828,
|
| 1175 |
+
212
|
| 1176 |
+
],
|
| 1177 |
+
"page_idx": 7
|
| 1178 |
+
},
|
| 1179 |
+
{
|
| 1180 |
+
"type": "image",
|
| 1181 |
+
"img_path": "images/3c6102f02a6fd2dd41cdc0723791f58d4dd6ec45344acb87cc4d9794cdb2316e.jpg",
|
| 1182 |
+
"image_caption": [
|
| 1183 |
+
"Figure 4: Streaming inference using HiFi-GAN with receptive field size $R = 5$ and SA length $N_{\\mathrm{SA}} = 6$ . Waveform generation begins once $N_{\\mathrm{offset}} = \\lfloor R / 2 \\rfloor + 1 = 3$ tokens are generated. Text tokens are omitted."
|
| 1184 |
+
],
|
| 1185 |
+
"image_footnote": [],
|
| 1186 |
+
"bbox": [
|
| 1187 |
+
512,
|
| 1188 |
+
231,
|
| 1189 |
+
880,
|
| 1190 |
+
379
|
| 1191 |
+
],
|
| 1192 |
+
"page_idx": 7
|
| 1193 |
+
},
|
| 1194 |
+
{
|
| 1195 |
+
"type": "text",
|
| 1196 |
+
"text": "degradation in all metrics, indicating the necessity of pretrained LM's text capability. PSLM-noTQ also showed large degradation, highlighting the importance of TQ in response quality. In contrast, PSLM-no-SQ achieved comparable scores to PSLM. This result implies that the speech-specific information such as intonation, rhythm, and emotion is not essential in the current SQA task due to the use of synthetic speech. We also found that PSLM-2x-no-WL achieved almost comparable scores to PSLM, whereas PSLM-3x-no-WL showed significant degradation. From these results, we conclude that the weighted loss is especially effective as the number of speech streams increases.",
|
| 1197 |
+
"bbox": [
|
| 1198 |
+
507,
|
| 1199 |
+
474,
|
| 1200 |
+
885,
|
| 1201 |
+
700
|
| 1202 |
+
],
|
| 1203 |
+
"page_idx": 7
|
| 1204 |
+
},
|
| 1205 |
+
{
|
| 1206 |
+
"type": "page_number",
|
| 1207 |
+
"text": "2699",
|
| 1208 |
+
"bbox": [
|
| 1209 |
+
480,
|
| 1210 |
+
928,
|
| 1211 |
+
519,
|
| 1212 |
+
940
|
| 1213 |
+
],
|
| 1214 |
+
"page_idx": 7
|
| 1215 |
+
},
|
| 1216 |
+
{
|
| 1217 |
+
"type": "text",
|
| 1218 |
+
"text": "A conversation between two individuals will be provided. The conversation follows a format where one asks a question and the other responds. Based on the following evaluation criteria, rate the response quality on a scale from 1 (bad) to 5 (excellent).",
|
| 1219 |
+
"bbox": [
|
| 1220 |
+
211,
|
| 1221 |
+
120,
|
| 1222 |
+
771,
|
| 1223 |
+
159
|
| 1224 |
+
],
|
| 1225 |
+
"page_idx": 8
|
| 1226 |
+
},
|
| 1227 |
+
{
|
| 1228 |
+
"type": "text",
|
| 1229 |
+
"text": "[Evaluation Criteria]",
|
| 1230 |
+
"text_level": 1,
|
| 1231 |
+
"bbox": [
|
| 1232 |
+
213,
|
| 1233 |
+
171,
|
| 1234 |
+
339,
|
| 1235 |
+
183
|
| 1236 |
+
],
|
| 1237 |
+
"page_idx": 8
|
| 1238 |
+
},
|
| 1239 |
+
{
|
| 1240 |
+
"type": "list",
|
| 1241 |
+
"sub_type": "text",
|
| 1242 |
+
"list_items": [
|
| 1243 |
+
"1. Bad - The response is completely off-topic and difficult to understand.",
|
| 1244 |
+
"2. Poor - The response is somewhat related to the question but contains grammatical or semantic errors, making it somewhat difficult to understand.",
|
| 1245 |
+
"3. Fair - The response mostly aligns with the question, with few grammatical or semantic errors, and provides somewhat adequate information.",
|
| 1246 |
+
"4. Good - The response aligns with the question, contains few grammatical or semantic errors, and provides adequate information.",
|
| 1247 |
+
"5. Excellent - The response aligns with the question, contains almost no grammatical or semantic errors, provides adequate and appropriate information."
|
| 1248 |
+
],
|
| 1249 |
+
"bbox": [
|
| 1250 |
+
213,
|
| 1251 |
+
184,
|
| 1252 |
+
757,
|
| 1253 |
+
297
|
| 1254 |
+
],
|
| 1255 |
+
"page_idx": 8
|
| 1256 |
+
},
|
| 1257 |
+
{
|
| 1258 |
+
"type": "text",
|
| 1259 |
+
"text": "Output the evaluation score in the following format:",
|
| 1260 |
+
"bbox": [
|
| 1261 |
+
213,
|
| 1262 |
+
310,
|
| 1263 |
+
527,
|
| 1264 |
+
323
|
| 1265 |
+
],
|
| 1266 |
+
"page_idx": 8
|
| 1267 |
+
},
|
| 1268 |
+
{
|
| 1269 |
+
"type": "text",
|
| 1270 |
+
"text": "[Example Evaluation 1]",
|
| 1271 |
+
"bbox": [
|
| 1272 |
+
213,
|
| 1273 |
+
323,
|
| 1274 |
+
357,
|
| 1275 |
+
335
|
| 1276 |
+
],
|
| 1277 |
+
"page_idx": 8
|
| 1278 |
+
},
|
| 1279 |
+
{
|
| 1280 |
+
"type": "text",
|
| 1281 |
+
"text": "Question: Can you recommend an easy-to-write pen?",
|
| 1282 |
+
"bbox": [
|
| 1283 |
+
213,
|
| 1284 |
+
336,
|
| 1285 |
+
534,
|
| 1286 |
+
348
|
| 1287 |
+
],
|
| 1288 |
+
"page_idx": 8
|
| 1289 |
+
},
|
| 1290 |
+
{
|
| 1291 |
+
"type": "text",
|
| 1292 |
+
"text": "Answer: I recommend Mitsubishi Pencil Jetstream Standard.",
|
| 1293 |
+
"bbox": [
|
| 1294 |
+
213,
|
| 1295 |
+
349,
|
| 1296 |
+
576,
|
| 1297 |
+
359
|
| 1298 |
+
],
|
| 1299 |
+
"page_idx": 8
|
| 1300 |
+
},
|
| 1301 |
+
{
|
| 1302 |
+
"type": "text",
|
| 1303 |
+
"text": "Score: 5",
|
| 1304 |
+
"bbox": [
|
| 1305 |
+
213,
|
| 1306 |
+
361,
|
| 1307 |
+
265,
|
| 1308 |
+
370
|
| 1309 |
+
],
|
| 1310 |
+
"page_idx": 8
|
| 1311 |
+
},
|
| 1312 |
+
{
|
| 1313 |
+
"type": "text",
|
| 1314 |
+
"text": "[Example Evaluation 2]",
|
| 1315 |
+
"bbox": [
|
| 1316 |
+
213,
|
| 1317 |
+
374,
|
| 1318 |
+
357,
|
| 1319 |
+
385
|
| 1320 |
+
],
|
| 1321 |
+
"page_idx": 8
|
| 1322 |
+
},
|
| 1323 |
+
{
|
| 1324 |
+
"type": "text",
|
| 1325 |
+
"text": "Question: What is the highest mountain in the world?",
|
| 1326 |
+
"bbox": [
|
| 1327 |
+
213,
|
| 1328 |
+
386,
|
| 1329 |
+
534,
|
| 1330 |
+
398
|
| 1331 |
+
],
|
| 1332 |
+
"page_idx": 8
|
| 1333 |
+
},
|
| 1334 |
+
{
|
| 1335 |
+
"type": "text",
|
| 1336 |
+
"text": "Answer: I guess 3141010059.",
|
| 1337 |
+
"bbox": [
|
| 1338 |
+
213,
|
| 1339 |
+
399,
|
| 1340 |
+
393,
|
| 1341 |
+
410
|
| 1342 |
+
],
|
| 1343 |
+
"page_idx": 8
|
| 1344 |
+
},
|
| 1345 |
+
{
|
| 1346 |
+
"type": "text",
|
| 1347 |
+
"text": "Score: 1",
|
| 1348 |
+
"bbox": [
|
| 1349 |
+
213,
|
| 1350 |
+
411,
|
| 1351 |
+
265,
|
| 1352 |
+
422
|
| 1353 |
+
],
|
| 1354 |
+
"page_idx": 8
|
| 1355 |
+
},
|
| 1356 |
+
{
|
| 1357 |
+
"type": "text",
|
| 1358 |
+
"text": "[Evaluation Target]",
|
| 1359 |
+
"bbox": [
|
| 1360 |
+
213,
|
| 1361 |
+
424,
|
| 1362 |
+
329,
|
| 1363 |
+
435
|
| 1364 |
+
],
|
| 1365 |
+
"page_idx": 8
|
| 1366 |
+
},
|
| 1367 |
+
{
|
| 1368 |
+
"type": "text",
|
| 1369 |
+
"text": "Question: {Question}",
|
| 1370 |
+
"bbox": [
|
| 1371 |
+
213,
|
| 1372 |
+
437,
|
| 1373 |
+
344,
|
| 1374 |
+
448
|
| 1375 |
+
],
|
| 1376 |
+
"page_idx": 8
|
| 1377 |
+
},
|
| 1378 |
+
{
|
| 1379 |
+
"type": "text",
|
| 1380 |
+
"text": "Answer: {Answer}",
|
| 1381 |
+
"bbox": [
|
| 1382 |
+
213,
|
| 1383 |
+
450,
|
| 1384 |
+
327,
|
| 1385 |
+
461
|
| 1386 |
+
],
|
| 1387 |
+
"page_idx": 8
|
| 1388 |
+
},
|
| 1389 |
+
{
|
| 1390 |
+
"type": "text",
|
| 1391 |
+
"text": "Score:",
|
| 1392 |
+
"bbox": [
|
| 1393 |
+
213,
|
| 1394 |
+
463,
|
| 1395 |
+
253,
|
| 1396 |
+
473
|
| 1397 |
+
],
|
| 1398 |
+
"page_idx": 8
|
| 1399 |
+
},
|
| 1400 |
+
{
|
| 1401 |
+
"type": "text",
|
| 1402 |
+
"text": "Figure 5: Prompt for ChatGPT evaluation.",
|
| 1403 |
+
"bbox": [
|
| 1404 |
+
352,
|
| 1405 |
+
494,
|
| 1406 |
+
640,
|
| 1407 |
+
508
|
| 1408 |
+
],
|
| 1409 |
+
"page_idx": 8
|
| 1410 |
+
},
|
| 1411 |
+
{
|
| 1412 |
+
"type": "text",
|
| 1413 |
+
"text": "At the top of the screen, you will see the \"Reference Text,\" and at the bottom of the screen, you will hear the audio of a conversation between two people. The conversation is in a QA format, with one person asking questions and the other responds. Please listen to the audio file with a headphone and evaluate it on a scale of 1 (poor) to 5 (good) based on the following two criteria:",
|
| 1414 |
+
"bbox": [
|
| 1415 |
+
203,
|
| 1416 |
+
565,
|
| 1417 |
+
779,
|
| 1418 |
+
627
|
| 1419 |
+
],
|
| 1420 |
+
"page_idx": 8
|
| 1421 |
+
},
|
| 1422 |
+
{
|
| 1423 |
+
"type": "text",
|
| 1424 |
+
"text": "(1) How natural is the system's response audio as a reading of the response text (the part after \"A:\" in the reference text)?",
|
| 1425 |
+
"bbox": [
|
| 1426 |
+
206,
|
| 1427 |
+
630,
|
| 1428 |
+
684,
|
| 1429 |
+
653
|
| 1430 |
+
],
|
| 1431 |
+
"page_idx": 8
|
| 1432 |
+
},
|
| 1433 |
+
{
|
| 1434 |
+
"type": "text",
|
| 1435 |
+
"text": "(2) Is the system's response speed sufficiently fast? Please do not include the naturalness of the text content or the naturalness of the question audio in the score.",
|
| 1436 |
+
"bbox": [
|
| 1437 |
+
206,
|
| 1438 |
+
656,
|
| 1439 |
+
779,
|
| 1440 |
+
692
|
| 1441 |
+
],
|
| 1442 |
+
"page_idx": 8
|
| 1443 |
+
},
|
| 1444 |
+
{
|
| 1445 |
+
"type": "text",
|
| 1446 |
+
"text": "Figure 6: Instruction for speech evaluation.",
|
| 1447 |
+
"bbox": [
|
| 1448 |
+
349,
|
| 1449 |
+
709,
|
| 1450 |
+
643,
|
| 1451 |
+
722
|
| 1452 |
+
],
|
| 1453 |
+
"page_idx": 8
|
| 1454 |
+
},
|
| 1455 |
+
{
|
| 1456 |
+
"type": "table",
|
| 1457 |
+
"img_path": "images/bde01533d13b8ab8f5d5f459be7828a2aa33d95eaa6150dc6baef8cc63f14b29.jpg",
|
| 1458 |
+
"table_caption": [
|
| 1459 |
+
"Table 4: Ablation study. The suffix no-WL denotes weighted loss was not applied."
|
| 1460 |
+
],
|
| 1461 |
+
"table_footnote": [],
|
| 1462 |
+
"table_body": "<table><tr><td>Method</td><td>Input modality</td><td>Output Modality</td><td>T-score↑</td><td>S-score↑</td><td>FR↓</td><td>CER↓</td></tr><tr><td>PSLM</td><td>SQ, TQ (Gold)</td><td>TA, SA</td><td>3.50±0.08</td><td>3.22±0.09</td><td>5.05</td><td>5.25</td></tr><tr><td>PSLM-2x</td><td>SQ, TQ (Gold)</td><td>TA, SA</td><td>3.50±0.08</td><td>3.20±0.09</td><td>4.29</td><td>6.39</td></tr><tr><td>PSLM-3x</td><td>SQ, TQ (Gold)</td><td>TA, SA</td><td>3.28±0.10</td><td>2.99±0.10</td><td>7.07</td><td>6.09</td></tr><tr><td>PSLM-no-pretrain</td><td>SQ, TQ (Gold)</td><td>TA, SA</td><td>2.22±0.07</td><td>2.12±0.07</td><td>18.18</td><td>10.13</td></tr><tr><td>PSLM-no-TQ</td><td>SQ</td><td>TA, SA</td><td>2.34±0.09</td><td>2.19±0.09</td><td>8.84</td><td>6.38</td></tr><tr><td>PSLM-no-SQ</td><td>TQ (Gold)</td><td>TA, SA</td><td>3.54±0.08</td><td>3.17±0.09</td><td>6.31</td><td>8.99</td></tr><tr><td>PSLM-2x-no-WL</td><td>SQ, TQ (Gold)</td><td>TA, SA</td><td>3.42±0.08</td><td>3.17±0.08</td><td>8.84</td><td>4.99</td></tr><tr><td>PSLM-3x-no-WL</td><td>SQ, TQ (Gold)</td><td>TA, SA</td><td>2.67±0.10</td><td>2.46±0.10</td><td>11.36</td><td>6.94</td></tr></table>",
|
| 1463 |
+
"bbox": [
|
| 1464 |
+
164,
|
| 1465 |
+
787,
|
| 1466 |
+
831,
|
| 1467 |
+
903
|
| 1468 |
+
],
|
| 1469 |
+
"page_idx": 8
|
| 1470 |
+
},
|
| 1471 |
+
{
|
| 1472 |
+
"type": "page_number",
|
| 1473 |
+
"text": "2700",
|
| 1474 |
+
"bbox": [
|
| 1475 |
+
480,
|
| 1476 |
+
928,
|
| 1477 |
+
521,
|
| 1478 |
+
940
|
| 1479 |
+
],
|
| 1480 |
+
"page_idx": 8
|
| 1481 |
+
}
|
| 1482 |
+
]
|
2024/PSLM_ Parallel Generation of Text and Speech with LLMs for Low-Latency Spoken Dialogue Systems/474679cb-bdee-4524-83e9-3d933e8e0915_model.json
ADDED
|
@@ -0,0 +1,1945 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"bbox": [
|
| 17 |
+
0.164,
|
| 18 |
+
0.156,
|
| 19 |
+
0.84,
|
| 20 |
+
0.173
|
| 21 |
+
],
|
| 22 |
+
"angle": 0,
|
| 23 |
+
"content": "Kentaro Mitsui, Koh Mitsuda, Toshiaki Wakatsuki, Yukiya Hono, Kei Sawada"
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"bbox": [
|
| 28 |
+
0.245,
|
| 29 |
+
0.184,
|
| 30 |
+
0.754,
|
| 31 |
+
0.214
|
| 32 |
+
],
|
| 33 |
+
"angle": 0,
|
| 34 |
+
"content": "rinna Co., Ltd., Tokyo, Japan {kemits,kohmi,towaka,yuhono,keisawada}@rinna.co.jp"
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"type": "title",
|
| 38 |
+
"bbox": [
|
| 39 |
+
0.261,
|
| 40 |
+
0.261,
|
| 41 |
+
0.342,
|
| 42 |
+
0.277
|
| 43 |
+
],
|
| 44 |
+
"angle": 0,
|
| 45 |
+
"content": "Abstract"
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"type": "text",
|
| 49 |
+
"bbox": [
|
| 50 |
+
0.142,
|
| 51 |
+
0.29,
|
| 52 |
+
0.461,
|
| 53 |
+
0.575
|
| 54 |
+
],
|
| 55 |
+
"angle": 0,
|
| 56 |
+
"content": "Multimodal language models that process both text and speech have a potential for applications in spoken dialogue systems. However, current models face two major challenges in response generation latency: (1) generating a spoken response requires the prior generation of a written response, and (2) speech sequences are significantly longer than text sequences. This study addresses these issues by extending the input and output sequences of the language model to support the parallel generation of text and speech. Our experiments on spoken question answering tasks demonstrate that our approach improves latency while maintaining the quality of response content. Additionally, we show that latency can be further reduced by generating speech in multiple sequences. Demo samples are available at https://rinnakk.github.io/research/publications/PSLM."
|
| 57 |
+
},
|
| 58 |
+
{
|
| 59 |
+
"type": "title",
|
| 60 |
+
"bbox": [
|
| 61 |
+
0.115,
|
| 62 |
+
0.589,
|
| 63 |
+
0.262,
|
| 64 |
+
0.604
|
| 65 |
+
],
|
| 66 |
+
"angle": 0,
|
| 67 |
+
"content": "1 Introduction"
|
| 68 |
+
},
|
| 69 |
+
{
|
| 70 |
+
"type": "text",
|
| 71 |
+
"bbox": [
|
| 72 |
+
0.113,
|
| 73 |
+
0.615,
|
| 74 |
+
0.49,
|
| 75 |
+
0.888
|
| 76 |
+
],
|
| 77 |
+
"angle": 0,
|
| 78 |
+
"content": "Spoken dialogue systems have been developed for many years to achieve natural human-computer interaction (McTear, 2002; Jokinen and McTear, 2009; Chen et al., 2017). Traditionally, these systems consist of several components: Automatic Speech Recognition (ASR), Response Generation (RG), and Text-to-Speech (TTS). Various methods for RG have been proposed with the advancements in Large Language Models (LLMs) (Wang et al., 2023a; Yi et al., 2024). More recently, the application of LLMs to ASR (e.g., Wang et al. 2023b; Hono et al. 2024; Fathullah et al. 2024) and TTS (Wang et al., 2023b; Hao et al., 2023) has attracted much attention, leading to the development of multimodal LLMs capable of end-to-end spoken language communication (Zhang et al., 2023; Nachmani et al., 2024)."
|
| 79 |
+
},
|
| 80 |
+
{
|
| 81 |
+
"type": "text",
|
| 82 |
+
"bbox": [
|
| 83 |
+
0.114,
|
| 84 |
+
0.89,
|
| 85 |
+
0.489,
|
| 86 |
+
0.922
|
| 87 |
+
],
|
| 88 |
+
"angle": 0,
|
| 89 |
+
"content": "Zhang et al. (2023) proposed SpeechGPT, an LLM that receives speech questions (SQ) as speech"
|
| 90 |
+
},
|
| 91 |
+
{
|
| 92 |
+
"type": "image",
|
| 93 |
+
"bbox": [
|
| 94 |
+
0.514,
|
| 95 |
+
0.261,
|
| 96 |
+
0.88,
|
| 97 |
+
0.326
|
| 98 |
+
],
|
| 99 |
+
"angle": 0,
|
| 100 |
+
"content": null
|
| 101 |
+
},
|
| 102 |
+
{
|
| 103 |
+
"type": "image",
|
| 104 |
+
"bbox": [
|
| 105 |
+
0.512,
|
| 106 |
+
0.328,
|
| 107 |
+
0.753,
|
| 108 |
+
0.412
|
| 109 |
+
],
|
| 110 |
+
"angle": 0,
|
| 111 |
+
"content": null
|
| 112 |
+
},
|
| 113 |
+
{
|
| 114 |
+
"type": "image_caption",
|
| 115 |
+
"bbox": [
|
| 116 |
+
0.538,
|
| 117 |
+
0.424,
|
| 118 |
+
0.726,
|
| 119 |
+
0.436
|
| 120 |
+
],
|
| 121 |
+
"angle": 0,
|
| 122 |
+
"content": "(b) Parallel text and speech decoding"
|
| 123 |
+
},
|
| 124 |
+
{
|
| 125 |
+
"type": "image",
|
| 126 |
+
"bbox": [
|
| 127 |
+
0.759,
|
| 128 |
+
0.327,
|
| 129 |
+
0.883,
|
| 130 |
+
0.421
|
| 131 |
+
],
|
| 132 |
+
"angle": 0,
|
| 133 |
+
"content": null
|
| 134 |
+
},
|
| 135 |
+
{
|
| 136 |
+
"type": "image_caption",
|
| 137 |
+
"bbox": [
|
| 138 |
+
0.739,
|
| 139 |
+
0.424,
|
| 140 |
+
0.881,
|
| 141 |
+
0.436
|
| 142 |
+
],
|
| 143 |
+
"angle": 0,
|
| 144 |
+
"content": "(c) Multiple speech streams"
|
| 145 |
+
},
|
| 146 |
+
{
|
| 147 |
+
"type": "image_caption",
|
| 148 |
+
"bbox": [
|
| 149 |
+
0.509,
|
| 150 |
+
0.456,
|
| 151 |
+
0.884,
|
| 152 |
+
0.557
|
| 153 |
+
],
|
| 154 |
+
"angle": 0,
|
| 155 |
+
"content": "Figure 1: (a) Chain-of-Modality prompting necessitates generating text questions (TQ) and text answers (TA) from speech questions (SQ) before producing speech answers (SA). (b) Our Parallel Speech Language Model (PSLM) enables the parallel decoding of TA and SA, reducing overall latency. (c) Introducing multiple speech streams further accelerates the generation of SA."
|
| 156 |
+
},
|
| 157 |
+
{
|
| 158 |
+
"type": "text",
|
| 159 |
+
"bbox": [
|
| 160 |
+
0.508,
|
| 161 |
+
0.572,
|
| 162 |
+
0.884,
|
| 163 |
+
0.765
|
| 164 |
+
],
|
| 165 |
+
"angle": 0,
|
| 166 |
+
"content": "tokens, which are discrete representations extracted from raw waveforms, and sequentially generates text questions (TQ), text answers (TA), and speech answers (SA). Figure 1 (a) illustrates their approach called Chain-of-Modality (CoM) prompting. Spectron (Nachmani et al., 2024) follows this prompting style but directly handles speech spectrograms. Although these methods can generate high-quality responses, they face two major challenges in terms of response latency. First, generating SA requires the prior generation of TQ and TA. Second, speech sequences are much longer than text sequences<sup>1</sup>."
|
| 167 |
+
},
|
| 168 |
+
{
|
| 169 |
+
"type": "text",
|
| 170 |
+
"bbox": [
|
| 171 |
+
0.508,
|
| 172 |
+
0.767,
|
| 173 |
+
0.885,
|
| 174 |
+
0.894
|
| 175 |
+
],
|
| 176 |
+
"angle": 0,
|
| 177 |
+
"content": "In this study, we propose Parallel Speech Language Model (PSLM), an LLM with multiple input-output sequences to handle both text and speech tokens, enabling their parallel generation. To emphasize their parallel processing capabilities, we will refer to these sequences as \"streams\". As described in Figure 1 (b), PSLM begins to generate SA immediately after the end of SQ tokens,"
|
| 178 |
+
},
|
| 179 |
+
{
|
| 180 |
+
"type": "page_footnote",
|
| 181 |
+
"bbox": [
|
| 182 |
+
0.531,
|
| 183 |
+
0.907,
|
| 184 |
+
0.863,
|
| 185 |
+
0.922
|
| 186 |
+
],
|
| 187 |
+
"angle": 0,
|
| 188 |
+
"content": "1Actual sequence lengths are provided in Appendix A."
|
| 189 |
+
},
|
| 190 |
+
{
|
| 191 |
+
"type": "page_number",
|
| 192 |
+
"bbox": [
|
| 193 |
+
0.481,
|
| 194 |
+
0.928,
|
| 195 |
+
0.521,
|
| 196 |
+
0.941
|
| 197 |
+
],
|
| 198 |
+
"angle": 0,
|
| 199 |
+
"content": "2692"
|
| 200 |
+
},
|
| 201 |
+
{
|
| 202 |
+
"type": "footer",
|
| 203 |
+
"bbox": [
|
| 204 |
+
0.218,
|
| 205 |
+
0.946,
|
| 206 |
+
0.78,
|
| 207 |
+
0.973
|
| 208 |
+
],
|
| 209 |
+
"angle": 0,
|
| 210 |
+
"content": "Findings of the Association for Computational Linguistics: EMNLP 2024, pages 2692-2700 November 12-16, 2024 ©2024 Association for Computational Linguistics"
|
| 211 |
+
}
|
| 212 |
+
],
|
| 213 |
+
[
|
| 214 |
+
{
|
| 215 |
+
"type": "text",
|
| 216 |
+
"bbox": [
|
| 217 |
+
0.113,
|
| 218 |
+
0.085,
|
| 219 |
+
0.49,
|
| 220 |
+
0.278
|
| 221 |
+
],
|
| 222 |
+
"angle": 0,
|
| 223 |
+
"content": "which can reduce overall latency. This leads to our first research question (RQ1): Can PSLM improve latency while maintaining the response quality achieved by CoM prompting? Additionally, we address the second challenge by introducing multiple speech streams to decode multiple speech tokens in a single step, as described in Figure 1 (c). This brings us to the second research question (RQ2): Do multiple speech streams sacrifice the response quality? Addressing these questions will pave the way for more advanced and responsive applications of spoken dialogue systems."
|
| 224 |
+
},
|
| 225 |
+
{
|
| 226 |
+
"type": "title",
|
| 227 |
+
"bbox": [
|
| 228 |
+
0.114,
|
| 229 |
+
0.289,
|
| 230 |
+
0.208,
|
| 231 |
+
0.305
|
| 232 |
+
],
|
| 233 |
+
"angle": 0,
|
| 234 |
+
"content": "2 PSLM"
|
| 235 |
+
},
|
| 236 |
+
{
|
| 237 |
+
"type": "title",
|
| 238 |
+
"bbox": [
|
| 239 |
+
0.114,
|
| 240 |
+
0.315,
|
| 241 |
+
0.33,
|
| 242 |
+
0.33
|
| 243 |
+
],
|
| 244 |
+
"angle": 0,
|
| 245 |
+
"content": "2.1 Speech Discretization"
|
| 246 |
+
},
|
| 247 |
+
{
|
| 248 |
+
"type": "text",
|
| 249 |
+
"bbox": [
|
| 250 |
+
0.113,
|
| 251 |
+
0.335,
|
| 252 |
+
0.49,
|
| 253 |
+
0.496
|
| 254 |
+
],
|
| 255 |
+
"angle": 0,
|
| 256 |
+
"content": "Speech Tokenization Extracting discrete speech tokens from raw waveforms enables language models to handle speech in the same manner as text tokens. Self-supervised learning has been widely used for speech tokenization due to its ability to extract spoken content from raw waveforms (e.g., Rubenstein et al. 2023; Chou et al. 2023; Hassid et al. 2023). Following Zhang et al. (2023), we employ Hidden-Unit BERT (HuBERT) (Hsu et al., 2021) for speech tokenization."
|
| 257 |
+
},
|
| 258 |
+
{
|
| 259 |
+
"type": "text",
|
| 260 |
+
"bbox": [
|
| 261 |
+
0.113,
|
| 262 |
+
0.505,
|
| 263 |
+
0.49,
|
| 264 |
+
0.746
|
| 265 |
+
],
|
| 266 |
+
"angle": 0,
|
| 267 |
+
"content": "Speech Detokenization In contrast to text tokenization, which is uniquely recoverable, speech tokenization largely discards the information of raw waveforms. Two major approaches have been proposed to solve this problem. The first approach uses a neural vocoder for directly reconstructing raw waveforms from speech tokens (e.g., Zhang et al. 2023; Chou et al. 2023; Hassid et al. 2023). The second approach uses a pretrained neural audio codec, which requires an additional module to predict the codec's tokens (e.g., Rubenstein et al. 2023; Zhang et al. 2024). We adopt the first approach to reduce overall latency using HiFi-GAN (Kong et al., 2020), a non-autoregressive neural vocoder that efficiently generates high-fidelity waveforms."
|
| 268 |
+
},
|
| 269 |
+
{
|
| 270 |
+
"type": "title",
|
| 271 |
+
"bbox": [
|
| 272 |
+
0.114,
|
| 273 |
+
0.756,
|
| 274 |
+
0.466,
|
| 275 |
+
0.772
|
| 276 |
+
],
|
| 277 |
+
"angle": 0,
|
| 278 |
+
"content": "2.2 Integrating LMs with a Speech Stream"
|
| 279 |
+
},
|
| 280 |
+
{
|
| 281 |
+
"type": "text",
|
| 282 |
+
"bbox": [
|
| 283 |
+
0.113,
|
| 284 |
+
0.777,
|
| 285 |
+
0.49,
|
| 286 |
+
0.921
|
| 287 |
+
],
|
| 288 |
+
"angle": 0,
|
| 289 |
+
"content": "PSLM is built on top of a pretrained decoder-only Transformer (Vaswani et al., 2017). An overview of the PSLM architecture is provided in Figure 2. We add new input embedding and output projection layers to process speech tokens, while the structure of the intermediate Transformer layers remains unchanged. The embeddings of text and speech tokens are summed before being fed to the Transformer layers. The hidden features from the"
|
| 290 |
+
},
|
| 291 |
+
{
|
| 292 |
+
"type": "image",
|
| 293 |
+
"bbox": [
|
| 294 |
+
0.522,
|
| 295 |
+
0.086,
|
| 296 |
+
0.868,
|
| 297 |
+
0.26
|
| 298 |
+
],
|
| 299 |
+
"angle": 0,
|
| 300 |
+
"content": null
|
| 301 |
+
},
|
| 302 |
+
{
|
| 303 |
+
"type": "image_caption",
|
| 304 |
+
"bbox": [
|
| 305 |
+
0.583,
|
| 306 |
+
0.268,
|
| 307 |
+
0.808,
|
| 308 |
+
0.282
|
| 309 |
+
],
|
| 310 |
+
"angle": 0,
|
| 311 |
+
"content": "Figure 2: Architecture of PSLM."
|
| 312 |
+
},
|
| 313 |
+
{
|
| 314 |
+
"type": "text",
|
| 315 |
+
"bbox": [
|
| 316 |
+
0.508,
|
| 317 |
+
0.295,
|
| 318 |
+
0.882,
|
| 319 |
+
0.359
|
| 320 |
+
],
|
| 321 |
+
"angle": 0,
|
| 322 |
+
"content": "final Transformer layer are passed to two output projection layers to calculate the logits of the next text and speech tokens. We randomly initialize the weights of new embedding and projection layers."
|
| 323 |
+
},
|
| 324 |
+
{
|
| 325 |
+
"type": "text",
|
| 326 |
+
"bbox": [
|
| 327 |
+
0.508,
|
| 328 |
+
0.36,
|
| 329 |
+
0.884,
|
| 330 |
+
0.697
|
| 331 |
+
],
|
| 332 |
+
"angle": 0,
|
| 333 |
+
"content": "A challenge of joint text-speech modeling lies in the mismatch in their lengths. In this study, we simply right-pad TQ and TA sequences with special [TEXT-PAD] tokens to align their lengths with those of the SQ and SA sequences, respectively. In a preliminary experiment on the CoM-based architecture, we attempted to generate text tokens and their corresponding speech tokens alternatively in a similar manner to ELLA-V (Song et al., 2024); however, this approach led to frequent mispronunciation. This is mainly because, in our case, the text is represented by tokens rather than phonemes; in some languages, the pronunciation of a character often changes according to subsequent characters, and a certain amount of lookahead is necessary to achieve accurate pronunciation. In contrast, our alignment strategy allows the model to focus on text token generation initially and then refer to the generated text when producing the majority of speech tokens, leading to more accurate pronunciation."
|
| 334 |
+
},
|
| 335 |
+
{
|
| 336 |
+
"type": "text",
|
| 337 |
+
"bbox": [
|
| 338 |
+
0.508,
|
| 339 |
+
0.698,
|
| 340 |
+
0.884,
|
| 341 |
+
0.81
|
| 342 |
+
],
|
| 343 |
+
"angle": 0,
|
| 344 |
+
"content": "Our PSLM is trained by minimizing the sum of cross entropy losses for each stream. We include prompt tokens, comprising TQ and SQ, in the loss calculation. During inference, PSLM receives these prompt tokens and generates TA and SA in parallel. Text and speech tokens are sampled independently from their respective distributions."
|
| 345 |
+
},
|
| 346 |
+
{
|
| 347 |
+
"type": "title",
|
| 348 |
+
"bbox": [
|
| 349 |
+
0.509,
|
| 350 |
+
0.821,
|
| 351 |
+
0.851,
|
| 352 |
+
0.837
|
| 353 |
+
],
|
| 354 |
+
"angle": 0,
|
| 355 |
+
"content": "2.3 Introducing Multiple Speech Streams"
|
| 356 |
+
},
|
| 357 |
+
{
|
| 358 |
+
"type": "text",
|
| 359 |
+
"bbox": [
|
| 360 |
+
0.508,
|
| 361 |
+
0.842,
|
| 362 |
+
0.882,
|
| 363 |
+
0.921
|
| 364 |
+
],
|
| 365 |
+
"angle": 0,
|
| 366 |
+
"content": "For further acceleration, we introduce multiple speech streams to PSLM. Assume that PSLM has \\(1 + S\\) streams, one for text tokens and \\(S\\) for speech tokens. Given the original speech token sequence of length \\(N\\), the \\(s\\)-th speech stream consists of the"
|
| 367 |
+
},
|
| 368 |
+
{
|
| 369 |
+
"type": "page_number",
|
| 370 |
+
"bbox": [
|
| 371 |
+
0.481,
|
| 372 |
+
0.929,
|
| 373 |
+
0.52,
|
| 374 |
+
0.941
|
| 375 |
+
],
|
| 376 |
+
"angle": 0,
|
| 377 |
+
"content": "2693"
|
| 378 |
+
}
|
| 379 |
+
],
|
| 380 |
+
[
|
| 381 |
+
{
|
| 382 |
+
"type": "text",
|
| 383 |
+
"bbox": [
|
| 384 |
+
0.113,
|
| 385 |
+
0.085,
|
| 386 |
+
0.49,
|
| 387 |
+
0.228
|
| 388 |
+
],
|
| 389 |
+
"angle": 0,
|
| 390 |
+
"content": "speech tokens with indices \\( s, s + S, s + 2S, \\dots, s + MS \\), where \\( s \\in \\{1, \\dots, S\\} \\) and \\( M = \\lfloor N / S \\rfloor - 1 \\). Compared to simply increasing the batch size, where the system's throughput improves but the latency for each instance remains unchanged, our approach reduces the sequence length handled by the Transformer layers to \\( 1 / S \\), leading to an approximate \\( S \\)-fold speedup even in the single-instance scenario."
|
| 391 |
+
},
|
| 392 |
+
{
|
| 393 |
+
"type": "text",
|
| 394 |
+
"bbox": [
|
| 395 |
+
0.113,
|
| 396 |
+
0.23,
|
| 397 |
+
0.49,
|
| 398 |
+
0.344
|
| 399 |
+
],
|
| 400 |
+
"angle": 0,
|
| 401 |
+
"content": "During training, simply summing the cross entropy losses for each stream makes the loss of text tokens less dominant, leading to poor text generation quality. Therefore, we introduce a weighted loss, where we multiply the loss for speech streams by \\(1 / S\\) to balance the weight of losses for text and speech streams."
|
| 402 |
+
},
|
| 403 |
+
{
|
| 404 |
+
"type": "title",
|
| 405 |
+
"bbox": [
|
| 406 |
+
0.114,
|
| 407 |
+
0.354,
|
| 408 |
+
0.449,
|
| 409 |
+
0.37
|
| 410 |
+
],
|
| 411 |
+
"angle": 0,
|
| 412 |
+
"content": "2.4 Streaming Inference with HiFi-GAN"
|
| 413 |
+
},
|
| 414 |
+
{
|
| 415 |
+
"type": "text",
|
| 416 |
+
"bbox": [
|
| 417 |
+
0.113,
|
| 418 |
+
0.375,
|
| 419 |
+
0.49,
|
| 420 |
+
0.52
|
| 421 |
+
],
|
| 422 |
+
"angle": 0,
|
| 423 |
+
"content": "Following Chen et al. (2022), we use HiFi-GAN for streaming inference; specifically, we provide partial speech tokens to generate waveform fragments. In this study, we use non-causal convolution to maintain high speech quality. Therefore, the first speech fragment can be generated once \\( N_{\\mathrm{offset}} = \\lfloor R / 2 \\rfloor + 1 \\) tokens are decoded, where \\( R \\) denotes the receptive field of HiFi-GAN. Implementation details can be found in Appendix B."
|
| 424 |
+
},
|
| 425 |
+
{
|
| 426 |
+
"type": "title",
|
| 427 |
+
"bbox": [
|
| 428 |
+
0.114,
|
| 429 |
+
0.533,
|
| 430 |
+
0.289,
|
| 431 |
+
0.547
|
| 432 |
+
],
|
| 433 |
+
"angle": 0,
|
| 434 |
+
"content": "2.5 Overall Latency"
|
| 435 |
+
},
|
| 436 |
+
{
|
| 437 |
+
"type": "text",
|
| 438 |
+
"bbox": [
|
| 439 |
+
0.113,
|
| 440 |
+
0.553,
|
| 441 |
+
0.489,
|
| 442 |
+
0.618
|
| 443 |
+
],
|
| 444 |
+
"angle": 0,
|
| 445 |
+
"content": "We define latency as the delay between the end of the user's utterance and the system's initial response. The latency of conventional CoM-based systems \\( L_{\\mathrm{CoM}} \\) can be represented as follows:"
|
| 446 |
+
},
|
| 447 |
+
{
|
| 448 |
+
"type": "equation",
|
| 449 |
+
"bbox": [
|
| 450 |
+
0.164,
|
| 451 |
+
0.621,
|
| 452 |
+
0.488,
|
| 453 |
+
0.651
|
| 454 |
+
],
|
| 455 |
+
"angle": 0,
|
| 456 |
+
"content": "\\[\nL _ {\\mathrm {C o M}} = D _ {\\mathrm {s} 2 \\mathrm {t}} + D _ {\\mathrm {S Q}} + \\frac {N _ {\\mathrm {d e c}}}{P} + D _ {\\mathrm {t} 2 \\mathrm {s}} \\tag {1}\n\\]"
|
| 457 |
+
},
|
| 458 |
+
{
|
| 459 |
+
"type": "equation",
|
| 460 |
+
"bbox": [
|
| 461 |
+
0.172,
|
| 462 |
+
0.654,
|
| 463 |
+
0.487,
|
| 464 |
+
0.671
|
| 465 |
+
],
|
| 466 |
+
"angle": 0,
|
| 467 |
+
"content": "\\[\nN _ {\\mathrm {d e c}} = N _ {\\mathrm {T Q}} + N _ {\\mathrm {T A}} + N _ {\\text {o f f s e t}} \\tag {2}\n\\]"
|
| 468 |
+
},
|
| 469 |
+
{
|
| 470 |
+
"type": "text",
|
| 471 |
+
"bbox": [
|
| 472 |
+
0.113,
|
| 473 |
+
0.676,
|
| 474 |
+
0.489,
|
| 475 |
+
0.772
|
| 476 |
+
],
|
| 477 |
+
"angle": 0,
|
| 478 |
+
"content": "where \\(D_{\\mathrm{s2t}}\\), \\(D_{\\mathrm{SQ}}\\), and \\(D_{\\mathrm{t2s}}\\) denote the delays of speech tokenization, the prefetch phase in LMs, and speech detokenization, respectively; \\(N_{\\mathrm{TQ}}\\) and \\(N_{\\mathrm{TA}}\\) denote the number of tokens in TQ and TA, respectively; and \\(P\\) denotes the tokens per second (TPS) during the decode phase in LMs."
|
| 479 |
+
},
|
| 480 |
+
{
|
| 481 |
+
"type": "text",
|
| 482 |
+
"bbox": [
|
| 483 |
+
0.113,
|
| 484 |
+
0.773,
|
| 485 |
+
0.489,
|
| 486 |
+
0.837
|
| 487 |
+
],
|
| 488 |
+
"angle": 0,
|
| 489 |
+
"content": "Our PSLM eliminates the need for generating TQ and TA beforehand, although it requires to run external ASR to obtain TQ. Hence, its latency \\( L_{\\mathrm{PSLM}} \\) can be represented as follows:"
|
| 490 |
+
},
|
| 491 |
+
{
|
| 492 |
+
"type": "equation",
|
| 493 |
+
"bbox": [
|
| 494 |
+
0.14,
|
| 495 |
+
0.84,
|
| 496 |
+
0.488,
|
| 497 |
+
0.871
|
| 498 |
+
],
|
| 499 |
+
"angle": 0,
|
| 500 |
+
"content": "\\[\nL _ {\\mathrm {P S L M}} = D _ {\\mathrm {A S R}} + D _ {\\mathrm {S Q}} + \\frac {N _ {\\text {o f f s e t}}}{P \\cdot S} + D _ {\\mathrm {t 2 s}} \\tag {3}\n\\]"
|
| 501 |
+
},
|
| 502 |
+
{
|
| 503 |
+
"type": "text",
|
| 504 |
+
"bbox": [
|
| 505 |
+
0.113,
|
| 506 |
+
0.874,
|
| 507 |
+
0.49,
|
| 508 |
+
0.922
|
| 509 |
+
],
|
| 510 |
+
"angle": 0,
|
| 511 |
+
"content": "where \\(D_{\\mathrm{ASR}}\\) denotes the ASR delay. Here \\(D_{\\mathrm{s2t}}\\) is omitted because speech tokenization can be performed in parallel with ASR."
|
| 512 |
+
},
|
| 513 |
+
{
|
| 514 |
+
"type": "title",
|
| 515 |
+
"bbox": [
|
| 516 |
+
0.509,
|
| 517 |
+
0.084,
|
| 518 |
+
0.719,
|
| 519 |
+
0.102
|
| 520 |
+
],
|
| 521 |
+
"angle": 0,
|
| 522 |
+
"content": "3 Experimental Setup"
|
| 523 |
+
},
|
| 524 |
+
{
|
| 525 |
+
"type": "title",
|
| 526 |
+
"bbox": [
|
| 527 |
+
0.509,
|
| 528 |
+
0.11,
|
| 529 |
+
0.617,
|
| 530 |
+
0.124
|
| 531 |
+
],
|
| 532 |
+
"angle": 0,
|
| 533 |
+
"content": "3.1 Dataset"
|
| 534 |
+
},
|
| 535 |
+
{
|
| 536 |
+
"type": "text",
|
| 537 |
+
"bbox": [
|
| 538 |
+
0.507,
|
| 539 |
+
0.13,
|
| 540 |
+
0.885,
|
| 541 |
+
0.403
|
| 542 |
+
],
|
| 543 |
+
"angle": 0,
|
| 544 |
+
"content": "We used an internal dataset comprising 1.8M written QA pairs for training all models. Since some of these samples, which were primarily crawled from the internet, were deemed unsuitable for evaluation, we used a publicly available Japanese dataset (Hayashibe, 2023) for evaluation. This dataset was manually reviewed and consists of 669 diverse written QA pairs. We further filtered the evaluation set by excluding samples whose TQ or TA exceeded 140 characters, the maximum number of characters observed in the training set. The final evaluation set contained 396 samples. For both the training and evaluation sets, we constructed a spoken question answering (SQA) dataset by synthesizing SQ and SA using a well-trained single-speaker TTS system based on VITS (Kim et al., 2021)."
|
| 545 |
+
},
|
| 546 |
+
{
|
| 547 |
+
"type": "title",
|
| 548 |
+
"bbox": [
|
| 549 |
+
0.509,
|
| 550 |
+
0.415,
|
| 551 |
+
0.667,
|
| 552 |
+
0.43
|
| 553 |
+
],
|
| 554 |
+
"angle": 0,
|
| 555 |
+
"content": "3.2 Configuration"
|
| 556 |
+
},
|
| 557 |
+
{
|
| 558 |
+
"type": "text",
|
| 559 |
+
"bbox": [
|
| 560 |
+
0.508,
|
| 561 |
+
0.435,
|
| 562 |
+
0.885,
|
| 563 |
+
0.644
|
| 564 |
+
],
|
| 565 |
+
"angle": 0,
|
| 566 |
+
"content": "Tokenization and Detokenization For text tokenization, we used the tokenizer with a vocabulary size of 151,936 from rinna/nekomata-7b². For speech tokenization, we applied \\( k \\)-means clustering with \\( k = 512 \\) to 12-th layer features from rinna/japanese-hubert-base³ (Sawada et al., 2024), obtaining 50 speech tokens per second. For speech detokenization, we trained discrete unit-based HiFiGAN (Polyak et al., 2021) using pairs of synthesized speech waveforms of SQ and SA and their corresponding speech tokens. For ASR, Whisper large-v3 (Radford et al., 2023) with faster-whisper⁴ was used throughout our experiments."
|
| 567 |
+
},
|
| 568 |
+
{
|
| 569 |
+
"type": "text",
|
| 570 |
+
"bbox": [
|
| 571 |
+
0.508,
|
| 572 |
+
0.653,
|
| 573 |
+
0.886,
|
| 574 |
+
0.862
|
| 575 |
+
],
|
| 576 |
+
"angle": 0,
|
| 577 |
+
"content": "Language Modeling We used rinna/nekomata-7b, a 32-layer 4096-hidden-size Transformer LM that was continuously pretrained from Qwen-7B (Bai et al., 2023) on Japanese text, as the backbone of our models. We implemented our models using the GPT-NeoX library (Aidonian et al., 2023). Unless otherwise noted, models were trained for \\(50\\mathrm{k}\\) steps with a batch size of 16 on 8 NVIDIA A100 GPUs using an Adam optimizer (Kingma and Ba, 2015) with a peak learning rate set to 1e-5. During inference, we set the temperature to 0.8 and applied top-\\(k\\) and top-\\(p\\) sampling with \\(k = 60\\) and \\(p = 0.8\\)."
|
| 578 |
+
},
|
| 579 |
+
{
|
| 580 |
+
"type": "ref_text",
|
| 581 |
+
"bbox": [
|
| 582 |
+
0.509,
|
| 583 |
+
0.869,
|
| 584 |
+
0.852,
|
| 585 |
+
0.882
|
| 586 |
+
],
|
| 587 |
+
"angle": 0,
|
| 588 |
+
"content": "2https://huggingface.co/rinna/nekomata-7b"
|
| 589 |
+
},
|
| 590 |
+
{
|
| 591 |
+
"type": "ref_text",
|
| 592 |
+
"bbox": [
|
| 593 |
+
0.511,
|
| 594 |
+
0.884,
|
| 595 |
+
0.762,
|
| 596 |
+
0.895
|
| 597 |
+
],
|
| 598 |
+
"angle": 0,
|
| 599 |
+
"content": "3https://huggingface.co/rinna/"
|
| 600 |
+
},
|
| 601 |
+
{
|
| 602 |
+
"type": "ref_text",
|
| 603 |
+
"bbox": [
|
| 604 |
+
0.512,
|
| 605 |
+
0.896,
|
| 606 |
+
0.668,
|
| 607 |
+
0.907
|
| 608 |
+
],
|
| 609 |
+
"angle": 0,
|
| 610 |
+
"content": "japanese-hubert-base"
|
| 611 |
+
},
|
| 612 |
+
{
|
| 613 |
+
"type": "ref_text",
|
| 614 |
+
"bbox": [
|
| 615 |
+
0.534,
|
| 616 |
+
0.908,
|
| 617 |
+
0.851,
|
| 618 |
+
0.921
|
| 619 |
+
],
|
| 620 |
+
"angle": 0,
|
| 621 |
+
"content": "4https://github.com/SYSTRAN/faster-whisper"
|
| 622 |
+
},
|
| 623 |
+
{
|
| 624 |
+
"type": "list",
|
| 625 |
+
"bbox": [
|
| 626 |
+
0.509,
|
| 627 |
+
0.869,
|
| 628 |
+
0.852,
|
| 629 |
+
0.921
|
| 630 |
+
],
|
| 631 |
+
"angle": 0,
|
| 632 |
+
"content": null
|
| 633 |
+
},
|
| 634 |
+
{
|
| 635 |
+
"type": "page_number",
|
| 636 |
+
"bbox": [
|
| 637 |
+
0.481,
|
| 638 |
+
0.928,
|
| 639 |
+
0.521,
|
| 640 |
+
0.941
|
| 641 |
+
],
|
| 642 |
+
"angle": 0,
|
| 643 |
+
"content": "2694"
|
| 644 |
+
}
|
| 645 |
+
],
|
| 646 |
+
[
|
| 647 |
+
{
|
| 648 |
+
"type": "title",
|
| 649 |
+
"bbox": [
|
| 650 |
+
0.115,
|
| 651 |
+
0.085,
|
| 652 |
+
0.235,
|
| 653 |
+
0.099
|
| 654 |
+
],
|
| 655 |
+
"angle": 0,
|
| 656 |
+
"content": "3.3 Baselines"
|
| 657 |
+
},
|
| 658 |
+
{
|
| 659 |
+
"type": "text",
|
| 660 |
+
"bbox": [
|
| 661 |
+
0.113,
|
| 662 |
+
0.107,
|
| 663 |
+
0.49,
|
| 664 |
+
0.251
|
| 665 |
+
],
|
| 666 |
+
"angle": 0,
|
| 667 |
+
"content": "We involved three CoM-based baselines, which share the model weights but differ in their prompts during decoding: (1) CoM-SQ receives only SQ, (2) CoM-ASR receives SQ and transcribed TQ, and (3) CoM receives SQ and gold TQ. In our preliminary experiments, the three-stage training (Zhang et al., 2023) was not effective in our configuration; thus, we trained the model using the same configuration as described in Section 3.2."
|
| 668 |
+
},
|
| 669 |
+
{
|
| 670 |
+
"type": "title",
|
| 671 |
+
"bbox": [
|
| 672 |
+
0.114,
|
| 673 |
+
0.264,
|
| 674 |
+
0.313,
|
| 675 |
+
0.278
|
| 676 |
+
],
|
| 677 |
+
"angle": 0,
|
| 678 |
+
"content": "3.4 Evaluation Metrics"
|
| 679 |
+
},
|
| 680 |
+
{
|
| 681 |
+
"type": "text",
|
| 682 |
+
"bbox": [
|
| 683 |
+
0.113,
|
| 684 |
+
0.285,
|
| 685 |
+
0.488,
|
| 686 |
+
0.382
|
| 687 |
+
],
|
| 688 |
+
"angle": 0,
|
| 689 |
+
"content": "ChatGPT Scores We used OpenAI's GPT-3.5 Turbo API to evaluate response quality on a 5-point scale from 1 (bad) to 5 (excellent). The prompt is described in Appendix C. We report the scores for TA and the transcription of SA as T-score and S-score, respectively."
|
| 690 |
+
},
|
| 691 |
+
{
|
| 692 |
+
"type": "text",
|
| 693 |
+
"bbox": [
|
| 694 |
+
0.114,
|
| 695 |
+
0.392,
|
| 696 |
+
0.487,
|
| 697 |
+
0.44
|
| 698 |
+
],
|
| 699 |
+
"angle": 0,
|
| 700 |
+
"content": "Character Error Rate (CER) We calculated the character error rate between the generated TA and the transcription of SA to assess their alignment."
|
| 701 |
+
},
|
| 702 |
+
{
|
| 703 |
+
"type": "text",
|
| 704 |
+
"bbox": [
|
| 705 |
+
0.113,
|
| 706 |
+
0.451,
|
| 707 |
+
0.487,
|
| 708 |
+
0.53
|
| 709 |
+
],
|
| 710 |
+
"angle": 0,
|
| 711 |
+
"content": "Failure Rate (FR) We counted failure cases such as (1) no [EOS] token was generated before the total sequence length reached 2048, or (2) tokens were generated in the wrong modality, i.e., speech tokens in TQ and TA, or text tokens in SA."
|
| 712 |
+
},
|
| 713 |
+
{
|
| 714 |
+
"type": "text",
|
| 715 |
+
"bbox": [
|
| 716 |
+
0.113,
|
| 717 |
+
0.542,
|
| 718 |
+
0.49,
|
| 719 |
+
0.751
|
| 720 |
+
],
|
| 721 |
+
"angle": 0,
|
| 722 |
+
"content": "Latency We simulated latency according to Equations 2 and 3 for each sample in the evaluation set, and reported the median values. We set \\( D_{\\mathrm{s2t}} = 0.05 \\), \\( D_{\\mathrm{SQ}} = 0.05 \\), \\( D_{\\mathrm{ASR}} = 0.2 \\), and \\( D_{\\mathrm{t2s}} = 0.01 \\) based on measurements taken on a single NVIDIA A100 GPU. For the TPS value \\( P \\), the actual TPS varies depending on computing resources and optimization; 70 TPS was achieved with vLLM (Kwon et al., 2023) optimization, and 25 TPS without it. Meanwhile, for streaming inference with HiFi-GAN, LMs need to generate 50 speech tokens per second. Therefore, we set \\( P \\) to 50 in our simulations to match this requirement."
|
| 723 |
+
},
|
| 724 |
+
{
|
| 725 |
+
"type": "text",
|
| 726 |
+
"bbox": [
|
| 727 |
+
0.113,
|
| 728 |
+
0.761,
|
| 729 |
+
0.49,
|
| 730 |
+
0.921
|
| 731 |
+
],
|
| 732 |
+
"angle": 0,
|
| 733 |
+
"content": "Human Rating We also conducted two subjective evaluations: one for text and the other for speech. In the text evaluation, we presented pairs of gold TQ and generated TA, and raters evaluated the naturalness of TA based on the same criteria used in the ChatGPT-based evaluation (Text Naturalness). In the speech evaluation, we presented gold SQ and generated SA successively, along with their TQ and TA, and asked the raters to evaluate (1) how natural the SA is as the speech of the"
|
| 734 |
+
},
|
| 735 |
+
{
|
| 736 |
+
"type": "text",
|
| 737 |
+
"bbox": [
|
| 738 |
+
0.508,
|
| 739 |
+
0.085,
|
| 740 |
+
0.885,
|
| 741 |
+
0.293
|
| 742 |
+
],
|
| 743 |
+
"angle": 0,
|
| 744 |
+
"content": "TA (Speech Naturalness), and (2) whether the response is fast enough (Speed Score). For better reproducibility, we provide the actual instruction used for speech evaluation in Appendix D. The duration of silence between SQ and SA was simulated in the manner described in Section 2.5, except for the Ground Truth where the silence duration was set to \\(200\\mathrm{ms}\\), the average turn-taking gap in human conversation (Levinson and Torreira, 2015). Scores were rated on a 5-point scale. Fifty samples were randomly chosen from the evaluation set, and twenty in-house workers rated twenty samples each."
|
| 745 |
+
},
|
| 746 |
+
{
|
| 747 |
+
"type": "title",
|
| 748 |
+
"bbox": [
|
| 749 |
+
0.509,
|
| 750 |
+
0.305,
|
| 751 |
+
0.742,
|
| 752 |
+
0.32
|
| 753 |
+
],
|
| 754 |
+
"angle": 0,
|
| 755 |
+
"content": "4 Results and Discussion"
|
| 756 |
+
},
|
| 757 |
+
{
|
| 758 |
+
"type": "title",
|
| 759 |
+
"bbox": [
|
| 760 |
+
0.509,
|
| 761 |
+
0.33,
|
| 762 |
+
0.729,
|
| 763 |
+
0.344
|
| 764 |
+
],
|
| 765 |
+
"angle": 0,
|
| 766 |
+
"content": "4.1 Automatic Evaluation"
|
| 767 |
+
},
|
| 768 |
+
{
|
| 769 |
+
"type": "text",
|
| 770 |
+
"bbox": [
|
| 771 |
+
0.508,
|
| 772 |
+
0.35,
|
| 773 |
+
0.885,
|
| 774 |
+
0.752
|
| 775 |
+
],
|
| 776 |
+
"angle": 0,
|
| 777 |
+
"content": "Comparison with Baselines To answer RQ1, we compared the proposed method in two conditions, PSLM and PSLM-ASR, with the baselines described in Section 3.3. PSLM receives SQ and gold TQ, while PSLM-ASR receives SQ and transcribed TQ. Table 1 summarizes the results. When gold TQ was given, PSLM achieved comparable scores to CoM and significantly improved latency. A similar trend was observed under more practical conditions where gold TQ was not available (PSLM-ASR vs. CoM-ASR). However, their scores were lower than those with gold TQ, and CoM-SQ faced greater degradation. These results suggest that ASR performance is crucial for response quality, and CoM-SQ seems to have produced more ASR errors than Whisper. Nevertheless, we conclude that PSLM maintains the response quality of CoM (RQ1). We also found that PSLM-based methods achieved lower FRs than CoM-based ones. Each stream of PSLM is dedicated to a single modality, which could have reduced the failures in generation. Furthermore, methods other than CoM-SQ marked lower CERs than Ground Truth. From this result, we confirmed that both CoM and PSLM can generate appropriate SA corresponding to TA."
|
| 778 |
+
},
|
| 779 |
+
{
|
| 780 |
+
"type": "text",
|
| 781 |
+
"bbox": [
|
| 782 |
+
0.508,
|
| 783 |
+
0.761,
|
| 784 |
+
0.884,
|
| 785 |
+
0.889
|
| 786 |
+
],
|
| 787 |
+
"angle": 0,
|
| 788 |
+
"content": "Multiple Speech Streams To answer RQ2, we trained PSLM variants with two (-2x) or three (-3x) speech streams<sup>5</sup>. PSLM-2x achieved comparable scores to PSLM, whereas PSLM-3x demonstrated significant degradation. From these results, we conclude that speech tokens can be decoded in up to two streams without quality degradation (RQ2). An ablation study can be found in Appendix E."
|
| 789 |
+
},
|
| 790 |
+
{
|
| 791 |
+
"type": "page_footnote",
|
| 792 |
+
"bbox": [
|
| 793 |
+
0.509,
|
| 794 |
+
0.895,
|
| 795 |
+
0.883,
|
| 796 |
+
0.921
|
| 797 |
+
],
|
| 798 |
+
"angle": 0,
|
| 799 |
+
"content": "PSLM-3x was trained with a batch size of 4 due to the increased number of parameters."
|
| 800 |
+
},
|
| 801 |
+
{
|
| 802 |
+
"type": "page_number",
|
| 803 |
+
"bbox": [
|
| 804 |
+
0.481,
|
| 805 |
+
0.929,
|
| 806 |
+
0.521,
|
| 807 |
+
0.941
|
| 808 |
+
],
|
| 809 |
+
"angle": 0,
|
| 810 |
+
"content": "2695"
|
| 811 |
+
}
|
| 812 |
+
],
|
| 813 |
+
[
|
| 814 |
+
{
|
| 815 |
+
"type": "table_caption",
|
| 816 |
+
"bbox": [
|
| 817 |
+
0.114,
|
| 818 |
+
0.083,
|
| 819 |
+
0.882,
|
| 820 |
+
0.111
|
| 821 |
+
],
|
| 822 |
+
"angle": 0,
|
| 823 |
+
"content": "Table 1: Automatic evaluation results. T-score and S-score represent the ChatGPT-based score for TA and transcribed SA, respectively. FR denotes the failure rate. Latency values in parentheses represent inputs involving gold TQ."
|
| 824 |
+
},
|
| 825 |
+
{
|
| 826 |
+
"type": "table",
|
| 827 |
+
"bbox": [
|
| 828 |
+
0.124,
|
| 829 |
+
0.123,
|
| 830 |
+
0.875,
|
| 831 |
+
0.253
|
| 832 |
+
],
|
| 833 |
+
"angle": 0,
|
| 834 |
+
"content": "<table><tr><td>Method</td><td>Input modality</td><td>Output Modality</td><td>T-score↑</td><td>S-score↑</td><td>FR↓</td><td>CER↓</td><td>Latency [s]↓</td></tr><tr><td>Ground Truth</td><td>—</td><td>—</td><td>4.00±0.02</td><td>3.58±0.06</td><td>—</td><td>7.35</td><td>—</td></tr><tr><td>CoM</td><td>SQ → TQ (Gold)</td><td>TA → SA</td><td>3.50±0.09</td><td>3.27±0.09</td><td>12.12</td><td>6.28</td><td>(0.67)</td></tr><tr><td>PSLM</td><td>SQ, TQ (Gold)</td><td>TA, SA</td><td>3.50±0.08</td><td>3.22±0.09</td><td>5.05</td><td>5.25</td><td>(0.34)</td></tr><tr><td>CoM-SQ</td><td>SQ</td><td>TQ → TA → SA</td><td>3.12±0.11</td><td>2.94±0.10</td><td>15.91</td><td>7.83</td><td>1.03</td></tr><tr><td>CoM-ASR</td><td>SQ → TQ (ASR)</td><td>TA → SA</td><td>3.27±0.10</td><td>3.07±0.09</td><td>13.13</td><td>6.18</td><td>0.92</td></tr><tr><td>PSLM-ASR</td><td>SQ, TQ (ASR)</td><td>TA, SA</td><td>3.34±0.09</td><td>3.05±0.10</td><td>6.31</td><td>6.05</td><td>0.54</td></tr><tr><td>PSLM-2x</td><td>SQ, TQ (Gold)</td><td>TA, SA</td><td>3.50±0.08</td><td>3.20±0.09</td><td>4.29</td><td>6.39</td><td>(0.20)</td></tr><tr><td>PSLM-3x</td><td>SQ, TQ (Gold)</td><td>TA, SA</td><td>3.28±0.10</td><td>2.99±0.10</td><td>7.07</td><td>6.09</td><td>(0.15)</td></tr></table>"
|
| 835 |
+
},
|
| 836 |
+
{
|
| 837 |
+
"type": "table_caption",
|
| 838 |
+
"bbox": [
|
| 839 |
+
0.181,
|
| 840 |
+
0.273,
|
| 841 |
+
0.419,
|
| 842 |
+
0.286
|
| 843 |
+
],
|
| 844 |
+
"angle": 0,
|
| 845 |
+
"content": "Table 2: Human evaluation results."
|
| 846 |
+
},
|
| 847 |
+
{
|
| 848 |
+
"type": "table",
|
| 849 |
+
"bbox": [
|
| 850 |
+
0.12,
|
| 851 |
+
0.298,
|
| 852 |
+
0.484,
|
| 853 |
+
0.367
|
| 854 |
+
],
|
| 855 |
+
"angle": 0,
|
| 856 |
+
"content": "<table><tr><td>Method</td><td>Text↑</td><td>Speech↑</td><td>Speed↑</td></tr><tr><td>Ground Truth</td><td>4.08±0.26</td><td>3.74±0.19</td><td>4.73±0.11</td></tr><tr><td>CoM-SQ</td><td>2.44±0.29</td><td>4.04±0.20</td><td>4.07±0.23</td></tr><tr><td>CoM-ASR</td><td>2.90±0.30</td><td>3.94±0.20</td><td>4.17±0.22</td></tr><tr><td>PSLM-ASR</td><td>3.08±0.27</td><td>4.08±0.20</td><td>4.57±0.13</td></tr></table>"
|
| 857 |
+
},
|
| 858 |
+
{
|
| 859 |
+
"type": "title",
|
| 860 |
+
"bbox": [
|
| 861 |
+
0.114,
|
| 862 |
+
0.385,
|
| 863 |
+
0.311,
|
| 864 |
+
0.399
|
| 865 |
+
],
|
| 866 |
+
"angle": 0,
|
| 867 |
+
"content": "4.2 Human Evaluation"
|
| 868 |
+
},
|
| 869 |
+
{
|
| 870 |
+
"type": "text",
|
| 871 |
+
"bbox": [
|
| 872 |
+
0.113,
|
| 873 |
+
0.406,
|
| 874 |
+
0.49,
|
| 875 |
+
0.776
|
| 876 |
+
],
|
| 877 |
+
"angle": 0,
|
| 878 |
+
"content": "Considering practical applicability to SQA, we manually evaluated three methods: CoM-SQ, CoM-ASR, and PSLM-ASR, which do not rely on gold TQ, along with Ground-Truth. Table 2 shows the results. The text response naturalness of PSLM-ASR was comparable to CoM-ASR and higher than CoM-SQ, which is consistent with the automatic evaluation results. For speech naturalness, all methods achieved higher scores than Ground-Truth. This result can be attributed to two reasons: (1) SA of Ground-Truth are synthetic speech, which may include errors in pronunciation, intonation, and pauses, and (2) SA of Ground-Truth are typically longer than those of other methods, incurring that one or two unnatural parts lowered the entire score. Nevertheless, we confirmed that our approach can generate natural and faithful speech responses. For response speed evaluation, PSLM-ASR achieved a significantly higher score than CoM-ASR and CoM-SQ. This finding verifies that the proposed method reduces latency both numerically and perceptibly. Detailed analysis can be found in the next subsection."
|
| 879 |
+
},
|
| 880 |
+
{
|
| 881 |
+
"type": "title",
|
| 882 |
+
"bbox": [
|
| 883 |
+
0.114,
|
| 884 |
+
0.788,
|
| 885 |
+
0.365,
|
| 886 |
+
0.804
|
| 887 |
+
],
|
| 888 |
+
"angle": 0,
|
| 889 |
+
"content": "4.3 Detailed Latency Analysis"
|
| 890 |
+
},
|
| 891 |
+
{
|
| 892 |
+
"type": "text",
|
| 893 |
+
"bbox": [
|
| 894 |
+
0.113,
|
| 895 |
+
0.809,
|
| 896 |
+
0.49,
|
| 897 |
+
0.922
|
| 898 |
+
],
|
| 899 |
+
"angle": 0,
|
| 900 |
+
"content": "The sequence length of TA, or \\( N_{\\mathrm{TA}} \\), is the most influential factor in overall latency of CoM-based systems, as TA must be generated before SA. Thus, we investigated the overall latency by varying \\( N_{\\mathrm{TA}} \\). Figure 3 shows the results. Due to the need for prior generation of TA, the latency of CoM-SQ and CoM-ASR increases linearly as TA length in"
|
| 901 |
+
},
|
| 902 |
+
{
|
| 903 |
+
"type": "image",
|
| 904 |
+
"bbox": [
|
| 905 |
+
0.523,
|
| 906 |
+
0.28,
|
| 907 |
+
0.872,
|
| 908 |
+
0.44
|
| 909 |
+
],
|
| 910 |
+
"angle": 0,
|
| 911 |
+
"content": null
|
| 912 |
+
},
|
| 913 |
+
{
|
| 914 |
+
"type": "image_caption",
|
| 915 |
+
"bbox": [
|
| 916 |
+
0.508,
|
| 917 |
+
0.45,
|
| 918 |
+
0.883,
|
| 919 |
+
0.507
|
| 920 |
+
],
|
| 921 |
+
"angle": 0,
|
| 922 |
+
"content": "Figure 3: Latency vs. TA length for different methods and tokens per second (TPS). PSLM-2x-ASR (50 TPS) is omitted because its latency is identical to PSLM-ASR (100 TPS)."
|
| 923 |
+
},
|
| 924 |
+
{
|
| 925 |
+
"type": "text",
|
| 926 |
+
"bbox": [
|
| 927 |
+
0.508,
|
| 928 |
+
0.532,
|
| 929 |
+
0.884,
|
| 930 |
+
0.645
|
| 931 |
+
],
|
| 932 |
+
"angle": 0,
|
| 933 |
+
"content": "creases. In contrast, the latency of PSLM-ASR is constant because Equation 3 does not include \\( N_{\\mathrm{TA}} \\), and PSLM-2x-ASR further reduces the latency. The gap between CoM-based and PSLM-based systems is remarkable when generating long TA, highlighting the effectiveness of generating text and speech tokens in parallel."
|
| 934 |
+
},
|
| 935 |
+
{
|
| 936 |
+
"type": "title",
|
| 937 |
+
"bbox": [
|
| 938 |
+
0.509,
|
| 939 |
+
0.665,
|
| 940 |
+
0.642,
|
| 941 |
+
0.68
|
| 942 |
+
],
|
| 943 |
+
"angle": 0,
|
| 944 |
+
"content": "5 Conclusion"
|
| 945 |
+
},
|
| 946 |
+
{
|
| 947 |
+
"type": "text",
|
| 948 |
+
"bbox": [
|
| 949 |
+
0.507,
|
| 950 |
+
0.697,
|
| 951 |
+
0.885,
|
| 952 |
+
0.921
|
| 953 |
+
],
|
| 954 |
+
"angle": 0,
|
| 955 |
+
"content": "In this study, we proposed the Parallel Speech Language Model (PSLM), an LLM capable of generating text and speech tokens in parallel with multiple input-output streams, and investigated its impact on response quality and overall latency. The experimental evaluations on spoken question answering demonstrated that the proposed method significantly reduces latency compared to existing methods while maintaining response quality. Future work includes verifying the effectiveness of the proposed method on larger datasets and real speech data. Additionally, extending the proposed method to multi-turn dialogues is an important research direction."
|
| 956 |
+
},
|
| 957 |
+
{
|
| 958 |
+
"type": "page_number",
|
| 959 |
+
"bbox": [
|
| 960 |
+
0.481,
|
| 961 |
+
0.929,
|
| 962 |
+
0.521,
|
| 963 |
+
0.941
|
| 964 |
+
],
|
| 965 |
+
"angle": 0,
|
| 966 |
+
"content": "2696"
|
| 967 |
+
}
|
| 968 |
+
],
|
| 969 |
+
[
|
| 970 |
+
{
|
| 971 |
+
"type": "title",
|
| 972 |
+
"bbox": [
|
| 973 |
+
0.115,
|
| 974 |
+
0.085,
|
| 975 |
+
0.251,
|
| 976 |
+
0.099
|
| 977 |
+
],
|
| 978 |
+
"angle": 0,
|
| 979 |
+
"content": "6 Limitations"
|
| 980 |
+
},
|
| 981 |
+
{
|
| 982 |
+
"type": "text",
|
| 983 |
+
"bbox": [
|
| 984 |
+
0.117,
|
| 985 |
+
0.111,
|
| 986 |
+
0.49,
|
| 987 |
+
0.465
|
| 988 |
+
],
|
| 989 |
+
"angle": 0,
|
| 990 |
+
"content": "We recognize several limitations of this study. First, PSLM sacrifices ASR capability for faster response, requiring an external ASR module to serve as a spoken dialogue system. Although this dependency can complicate the system structure, it does not degrade the system's performance, provided that an appropriate ASR module is selected. This is supported by the fact that CoM-ASR outperformed CoM-SQ, as described in Section 4.1. Nevertheless, enabling ASR with the PSLM architecture can be an interesting research direction. Second, we used single-speaker synthetic speech for SQ and SA, which lacks diversity in several aspects of speech such as accent, rhythm, emotion, and timbre. Practical applications may require to accept voices of arbitrary speakers, which we will address in future work. Finally, multi-turn dialogue settings were not investigated in our experiments. While SpeechGPT (Zhang et al., 2023) was not applied to multi-turn dialogue due to sequence length limitations, our models with multiple speech streams have the potential to perform multi-turn dialogue."
|
| 991 |
+
},
|
| 992 |
+
{
|
| 993 |
+
"type": "title",
|
| 994 |
+
"bbox": [
|
| 995 |
+
0.116,
|
| 996 |
+
0.494,
|
| 997 |
+
0.214,
|
| 998 |
+
0.508
|
| 999 |
+
],
|
| 1000 |
+
"angle": 0,
|
| 1001 |
+
"content": "References"
|
| 1002 |
+
},
|
| 1003 |
+
{
|
| 1004 |
+
"type": "ref_text",
|
| 1005 |
+
"bbox": [
|
| 1006 |
+
0.117,
|
| 1007 |
+
0.517,
|
| 1008 |
+
0.488,
|
| 1009 |
+
0.623
|
| 1010 |
+
],
|
| 1011 |
+
"angle": 0,
|
| 1012 |
+
"content": "Alex Andonian, Quentin Anthony, Stella Biderman, Sid Black, Preetham Gali, Leo Gao, Eric Hallahan, Josh Levy-Kramer, Connor Leahy, Lucas Nestler, Kip Parker, Michael Pieler, Jason Phang, Shivanshu Purohit, Hailey Schoelkopf, Dashiell Stander, Tri Songz, Curt Tiggs, Benjamin Therien, Phil Wang, and Samuel Weinbach. 2023. GPT-NeoX: Large Scale Autoregressive Language Modeling in PyTorch."
|
| 1013 |
+
},
|
| 1014 |
+
{
|
| 1015 |
+
"type": "ref_text",
|
| 1016 |
+
"bbox": [
|
| 1017 |
+
0.117,
|
| 1018 |
+
0.634,
|
| 1019 |
+
0.49,
|
| 1020 |
+
0.817
|
| 1021 |
+
],
|
| 1022 |
+
"angle": 0,
|
| 1023 |
+
"content": "Jinze Bai, Shuai Bai, Yunfei Chu, Zeyu Cui, Kai Dang, Xiaodong Deng, Yang Fan, Wenbin Ge, Yu Han, Fei Huang, Binyuan Hui, Luo Ji, Mei Li, Junyang Lin, Runji Lin, Dayiheng Liu, Gao Liu, Chengqiang Lu, Keming Lu, Jianxin Ma, Rui Men, Xingzhang Ren, Xuancheng Ren, Chuanqi Tan, Sinan Tan, Jianhong Tu, Peng Wang, Shijie Wang, Wei Wang, Shengguang Wu, Benfeng Xu, Jin Xu, An Yang, Hao Yang, Jian Yang, Shusheng Yang, Yang Yao, Bowen Yu, Hongyi Yuan, Zheng Yuan, Jianwei Zhang, Xingxuan Zhang, Yichang Zhang, Zhenru Zhang, Chang Zhou, Jingren Zhou, Xiaohuan Zhou, and Tianhang Zhu. 2023. Qwen technical report. Computing Research Repository, arxiv:2309.16609."
|
| 1024 |
+
},
|
| 1025 |
+
{
|
| 1026 |
+
"type": "ref_text",
|
| 1027 |
+
"bbox": [
|
| 1028 |
+
0.117,
|
| 1029 |
+
0.829,
|
| 1030 |
+
0.488,
|
| 1031 |
+
0.882
|
| 1032 |
+
],
|
| 1033 |
+
"angle": 0,
|
| 1034 |
+
"content": "Hongshen Chen, Xiaorui Liu, Dawei Yin, and Jiliang Tang. 2017. A survey on dialogue systems: Recent advances and new frontiers. SIGKDD Explorations Newsletter, 19(2):25-35."
|
| 1035 |
+
},
|
| 1036 |
+
{
|
| 1037 |
+
"type": "ref_text",
|
| 1038 |
+
"bbox": [
|
| 1039 |
+
0.117,
|
| 1040 |
+
0.894,
|
| 1041 |
+
0.488,
|
| 1042 |
+
0.921
|
| 1043 |
+
],
|
| 1044 |
+
"angle": 0,
|
| 1045 |
+
"content": "Ziyi Chen, Haoran Miao, and Pengyuan Zhang. 2022. Streaming non-autoregressive model for any-to-many"
|
| 1046 |
+
},
|
| 1047 |
+
{
|
| 1048 |
+
"type": "list",
|
| 1049 |
+
"bbox": [
|
| 1050 |
+
0.117,
|
| 1051 |
+
0.517,
|
| 1052 |
+
0.49,
|
| 1053 |
+
0.921
|
| 1054 |
+
],
|
| 1055 |
+
"angle": 0,
|
| 1056 |
+
"content": null
|
| 1057 |
+
},
|
| 1058 |
+
{
|
| 1059 |
+
"type": "ref_text",
|
| 1060 |
+
"bbox": [
|
| 1061 |
+
0.529,
|
| 1062 |
+
0.086,
|
| 1063 |
+
0.883,
|
| 1064 |
+
0.112
|
| 1065 |
+
],
|
| 1066 |
+
"angle": 0,
|
| 1067 |
+
"content": "voice conversion. Computing Research Repository, arXiv:2206.07288."
|
| 1068 |
+
},
|
| 1069 |
+
{
|
| 1070 |
+
"type": "ref_text",
|
| 1071 |
+
"bbox": [
|
| 1072 |
+
0.512,
|
| 1073 |
+
0.123,
|
| 1074 |
+
0.885,
|
| 1075 |
+
0.215
|
| 1076 |
+
],
|
| 1077 |
+
"angle": 0,
|
| 1078 |
+
"content": "Ju-Chieh Chou, Chung-Ming Chien, Wei-Ning Hsu, Karen Livescu, Arun Babu, Alexis Conneau, Alexei Baevski, and Michael Auli. 2023. Toward joint language modeling for speech units and text. In *Findings of the Association for Computational Linguistics: EMNLP* 2023, pages 6582-6593, Singapore. Association for Computational Linguistics."
|
| 1079 |
+
},
|
| 1080 |
+
{
|
| 1081 |
+
"type": "ref_text",
|
| 1082 |
+
"bbox": [
|
| 1083 |
+
0.512,
|
| 1084 |
+
0.224,
|
| 1085 |
+
0.885,
|
| 1086 |
+
0.33
|
| 1087 |
+
],
|
| 1088 |
+
"angle": 0,
|
| 1089 |
+
"content": "Yassir Fathullah, Chunyang Wu, Egor Lakomkin, Jun-teng Jia, Yuan Shangguan, Ke Li, Jinxi Guo, Wenhan Xiong, Jay Mahadeokar, Ozlem Kalinli, Christian Fuegen, and Mike Seltzer. 2024. Prompting large language models with speech recognition abilities. In Proceedings of the 2024 IEEE International Conference on Acoustics, Speech, and Signal Processing, pages 13351-13355, Seoul, Korea."
|
| 1090 |
+
},
|
| 1091 |
+
{
|
| 1092 |
+
"type": "ref_text",
|
| 1093 |
+
"bbox": [
|
| 1094 |
+
0.512,
|
| 1095 |
+
0.339,
|
| 1096 |
+
0.885,
|
| 1097 |
+
0.404
|
| 1098 |
+
],
|
| 1099 |
+
"angle": 0,
|
| 1100 |
+
"content": "Hongkun Hao, Long Zhou, Shujie Liu, Jinyu Li, Shujie Hu, Rui Wang, and Furu Wei. 2023. Boosting large language model for speech synthesis: An empirical study. Computing Research Repository, arXiv:2401.00246."
|
| 1101 |
+
},
|
| 1102 |
+
{
|
| 1103 |
+
"type": "ref_text",
|
| 1104 |
+
"bbox": [
|
| 1105 |
+
0.512,
|
| 1106 |
+
0.414,
|
| 1107 |
+
0.885,
|
| 1108 |
+
0.519
|
| 1109 |
+
],
|
| 1110 |
+
"angle": 0,
|
| 1111 |
+
"content": "Michael Hassid, Tal Remez, Tu Anh Nguyen, Itai Gat, Alexis Conneau, Felix Kreuk, Jade Copet, Alexandre Defossez, Gabriel Synnaeve, Emmanuel Dupoux, Roy Schwartz, and Yossi Adi. 2023. Textually pretrained speech language models. In Proceedings of the 37th International Conference on Neural Information Processing Systems, pages 63483-63501, New Orleans, LA, U.S.A."
|
| 1112 |
+
},
|
| 1113 |
+
{
|
| 1114 |
+
"type": "ref_text",
|
| 1115 |
+
"bbox": [
|
| 1116 |
+
0.512,
|
| 1117 |
+
0.529,
|
| 1118 |
+
0.883,
|
| 1119 |
+
0.556
|
| 1120 |
+
],
|
| 1121 |
+
"angle": 0,
|
| 1122 |
+
"content": "Yuta Hayashibe. 2023. megagonlabs/instruction_ja: Japanese instructions data for LLM."
|
| 1123 |
+
},
|
| 1124 |
+
{
|
| 1125 |
+
"type": "ref_text",
|
| 1126 |
+
"bbox": [
|
| 1127 |
+
0.512,
|
| 1128 |
+
0.566,
|
| 1129 |
+
0.885,
|
| 1130 |
+
0.658
|
| 1131 |
+
],
|
| 1132 |
+
"angle": 0,
|
| 1133 |
+
"content": "Yukiya Hono, Koh Mitsuda, Tianyu Zhao, Kentaro Mitsui, Toshiaki Wakatsuki, and Kei Sawada. 2024. Integrating pre-trained speech and language models for end-to-end speech recognition. In *Findings of the Association for Computational Linguistics* ACL 2024, pages 13289-13305, Bangkok, Thailand and virtual meeting. Association for Computational Linguistics."
|
| 1134 |
+
},
|
| 1135 |
+
{
|
| 1136 |
+
"type": "ref_text",
|
| 1137 |
+
"bbox": [
|
| 1138 |
+
0.512,
|
| 1139 |
+
0.667,
|
| 1140 |
+
0.885,
|
| 1141 |
+
0.747
|
| 1142 |
+
],
|
| 1143 |
+
"angle": 0,
|
| 1144 |
+
"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. IEEE/ACM Transactions on Audio, Speech, and Language Processing, 29:3451-3460."
|
| 1145 |
+
},
|
| 1146 |
+
{
|
| 1147 |
+
"type": "ref_text",
|
| 1148 |
+
"bbox": [
|
| 1149 |
+
0.512,
|
| 1150 |
+
0.756,
|
| 1151 |
+
0.883,
|
| 1152 |
+
0.809
|
| 1153 |
+
],
|
| 1154 |
+
"angle": 0,
|
| 1155 |
+
"content": "Kristiina Jokinen and Michael McTear. 2009. Spoken Dialogue Systems. Synthesis Lectures on Human Language Technologies. Morgan & Claypool publishers, U.S.A."
|
| 1156 |
+
},
|
| 1157 |
+
{
|
| 1158 |
+
"type": "ref_text",
|
| 1159 |
+
"bbox": [
|
| 1160 |
+
0.512,
|
| 1161 |
+
0.818,
|
| 1162 |
+
0.883,
|
| 1163 |
+
0.884
|
| 1164 |
+
],
|
| 1165 |
+
"angle": 0,
|
| 1166 |
+
"content": "Jaehyeon Kim, Jungil Kong, and Juhee Son. 2021. Conditional variational autoencoder with adversarial learning for end-to-end text-to-speech. In Proceedings of the 38th International Conference on Machine Learning, pages 5530-5540, online."
|
| 1167 |
+
},
|
| 1168 |
+
{
|
| 1169 |
+
"type": "ref_text",
|
| 1170 |
+
"bbox": [
|
| 1171 |
+
0.512,
|
| 1172 |
+
0.894,
|
| 1173 |
+
0.883,
|
| 1174 |
+
0.921
|
| 1175 |
+
],
|
| 1176 |
+
"angle": 0,
|
| 1177 |
+
"content": "Diederik P Kingma and Jimmy Ba. 2015. Adam: A method for stochastic optimization. In Proceedings"
|
| 1178 |
+
},
|
| 1179 |
+
{
|
| 1180 |
+
"type": "list",
|
| 1181 |
+
"bbox": [
|
| 1182 |
+
0.512,
|
| 1183 |
+
0.086,
|
| 1184 |
+
0.885,
|
| 1185 |
+
0.921
|
| 1186 |
+
],
|
| 1187 |
+
"angle": 0,
|
| 1188 |
+
"content": null
|
| 1189 |
+
},
|
| 1190 |
+
{
|
| 1191 |
+
"type": "page_number",
|
| 1192 |
+
"bbox": [
|
| 1193 |
+
0.481,
|
| 1194 |
+
0.929,
|
| 1195 |
+
0.521,
|
| 1196 |
+
0.941
|
| 1197 |
+
],
|
| 1198 |
+
"angle": 0,
|
| 1199 |
+
"content": "2697"
|
| 1200 |
+
}
|
| 1201 |
+
],
|
| 1202 |
+
[
|
| 1203 |
+
{
|
| 1204 |
+
"type": "ref_text",
|
| 1205 |
+
"bbox": [
|
| 1206 |
+
0.135,
|
| 1207 |
+
0.086,
|
| 1208 |
+
0.49,
|
| 1209 |
+
0.113
|
| 1210 |
+
],
|
| 1211 |
+
"angle": 0,
|
| 1212 |
+
"content": "of the 3rd International Conference on Learning Representations, San Diego, CA, U.S.A."
|
| 1213 |
+
},
|
| 1214 |
+
{
|
| 1215 |
+
"type": "ref_text",
|
| 1216 |
+
"bbox": [
|
| 1217 |
+
0.117,
|
| 1218 |
+
0.124,
|
| 1219 |
+
0.49,
|
| 1220 |
+
0.203
|
| 1221 |
+
],
|
| 1222 |
+
"angle": 0,
|
| 1223 |
+
"content": "Jungil Kong, Jaehyeon Kim, and Jaekyoung Bae. 2020. HiFi-GAN: Generative adversarial networks for efficient and high fidelity speech synthesis. In Proceedings of the 34th International Conference on Neural Information Processing Systems, pages 17022-17033, online."
|
| 1224 |
+
},
|
| 1225 |
+
{
|
| 1226 |
+
"type": "ref_text",
|
| 1227 |
+
"bbox": [
|
| 1228 |
+
0.117,
|
| 1229 |
+
0.214,
|
| 1230 |
+
0.488,
|
| 1231 |
+
0.305
|
| 1232 |
+
],
|
| 1233 |
+
"angle": 0,
|
| 1234 |
+
"content": "Woosuk Kwon, Zhuohan Li, Siyuan Zhuang, Ying Sheng, Lianmin Zheng, Cody Hao Yu, Joseph Gonzalez, Hao Zhang, and Ion Stoica. 2023. Efficient memory management for large language model serving with pagedattention. In Proceedings of the 29th Symposium on Operating Systems Principles, pages 611-626, New York, NY, U.S.A."
|
| 1235 |
+
},
|
| 1236 |
+
{
|
| 1237 |
+
"type": "ref_text",
|
| 1238 |
+
"bbox": [
|
| 1239 |
+
0.117,
|
| 1240 |
+
0.317,
|
| 1241 |
+
0.488,
|
| 1242 |
+
0.357
|
| 1243 |
+
],
|
| 1244 |
+
"angle": 0,
|
| 1245 |
+
"content": "Stephen C Levinson and Francisco Torreira. 2015. Timing in turn-taking and its implications for processing models of language. Frontiers in psychology, 6."
|
| 1246 |
+
},
|
| 1247 |
+
{
|
| 1248 |
+
"type": "ref_text",
|
| 1249 |
+
"bbox": [
|
| 1250 |
+
0.117,
|
| 1251 |
+
0.367,
|
| 1252 |
+
0.488,
|
| 1253 |
+
0.407
|
| 1254 |
+
],
|
| 1255 |
+
"angle": 0,
|
| 1256 |
+
"content": "Michael F. McTear. 2002. Spoken dialogue technology: enabling the conversational user interface. ACM Computing Surveys, 34(1):90-169."
|
| 1257 |
+
},
|
| 1258 |
+
{
|
| 1259 |
+
"type": "ref_text",
|
| 1260 |
+
"bbox": [
|
| 1261 |
+
0.117,
|
| 1262 |
+
0.418,
|
| 1263 |
+
0.488,
|
| 1264 |
+
0.522
|
| 1265 |
+
],
|
| 1266 |
+
"angle": 0,
|
| 1267 |
+
"content": "Eliya Nachmani, Alon Levkovitch, Roy Hirsch, Julian Salazar, Chulayuth Asawaroengchai, Soroosh Mariooryad, Ehud Rivlin, RJ Skerry-Ryan, and Michelle Tadmor Ramanovich. 2024. Spoken question answering and speech continuation using spectrogram-powered LLM. In *In Proceedings of the 12th International Conference on Learning Representations*, Vienna, Austria."
|
| 1268 |
+
},
|
| 1269 |
+
{
|
| 1270 |
+
"type": "ref_text",
|
| 1271 |
+
"bbox": [
|
| 1272 |
+
0.117,
|
| 1273 |
+
0.534,
|
| 1274 |
+
0.488,
|
| 1275 |
+
0.613
|
| 1276 |
+
],
|
| 1277 |
+
"angle": 0,
|
| 1278 |
+
"content": "Adam Polyak, Yossi Adi, Jade Copet, Eugene Kharitonov, Kushal Lakhotia, Wei-Ning Hsu, Abdelrahman Mohamed, and Emmanuel Dupoux. 2021. Speech resynthesis from discrete disentangled self-supervised representations. In Proceedings of INTERSPEECH 2021, pages 3615-3619, online."
|
| 1279 |
+
},
|
| 1280 |
+
{
|
| 1281 |
+
"type": "ref_text",
|
| 1282 |
+
"bbox": [
|
| 1283 |
+
0.117,
|
| 1284 |
+
0.624,
|
| 1285 |
+
0.488,
|
| 1286 |
+
0.702
|
| 1287 |
+
],
|
| 1288 |
+
"angle": 0,
|
| 1289 |
+
"content": "Alec Radford, Jong Wook Kim, Tao Xu, Greg Brockman, Christine McLeavey, and Ilya Sutskever. 2023. Robust speech recognition via large-scale weak supervision. In Proceedings of the 40th International Conference on Machine Learning, pages 28492-28518, Honolulu, Hawaii, U.S.A."
|
| 1290 |
+
},
|
| 1291 |
+
{
|
| 1292 |
+
"type": "ref_text",
|
| 1293 |
+
"bbox": [
|
| 1294 |
+
0.117,
|
| 1295 |
+
0.713,
|
| 1296 |
+
0.488,
|
| 1297 |
+
0.883
|
| 1298 |
+
],
|
| 1299 |
+
"angle": 0,
|
| 1300 |
+
"content": "Paul K. Rubenstein, Chulayuth Asawaroengchai, Duc Dung Nguyen, Ankur Bapna, Zalán Borsos, Félix de Chaumont Quiry, Peter Chen, Dalia El Badawy, Wei Han, Eugene Kharitonov, Hannah Muckenhirn, Dirk Padfield, James Qin, Danny Rozenberg, Tara Sainath, Johan Schalkwyk, Matt Sharifi, Michelle Tadmor Ramanovich, Marco Tagliasacchi, Alexandru Tudor, Mihajlo Velimirović, Damien Vincent, Jiahui Yu, Yongqiang Wang, Vicky Zayats, Neil Zeghidour, Yu Zhang, Zhishuai Zhang, Lukas Zilka, and Christian Frank. 2023. AudioPaLM: A large language model that can speak and listen. Computing Research Repository, arXiv:2306.12925."
|
| 1301 |
+
},
|
| 1302 |
+
{
|
| 1303 |
+
"type": "ref_text",
|
| 1304 |
+
"bbox": [
|
| 1305 |
+
0.117,
|
| 1306 |
+
0.894,
|
| 1307 |
+
0.488,
|
| 1308 |
+
0.921
|
| 1309 |
+
],
|
| 1310 |
+
"angle": 0,
|
| 1311 |
+
"content": "Kei Sawada, Tianyu Zhao, Makoto Shing, Kentaro Mitsui, Akio Kaga, Yukiya Hono, Toshiaki Wakatsuki,"
|
| 1312 |
+
},
|
| 1313 |
+
{
|
| 1314 |
+
"type": "list",
|
| 1315 |
+
"bbox": [
|
| 1316 |
+
0.117,
|
| 1317 |
+
0.086,
|
| 1318 |
+
0.49,
|
| 1319 |
+
0.921
|
| 1320 |
+
],
|
| 1321 |
+
"angle": 0,
|
| 1322 |
+
"content": null
|
| 1323 |
+
},
|
| 1324 |
+
{
|
| 1325 |
+
"type": "ref_text",
|
| 1326 |
+
"bbox": [
|
| 1327 |
+
0.529,
|
| 1328 |
+
0.086,
|
| 1329 |
+
0.883,
|
| 1330 |
+
0.165
|
| 1331 |
+
],
|
| 1332 |
+
"angle": 0,
|
| 1333 |
+
"content": "and Koh Mitsuda. 2024. Release of pre-trained models for the Japanese language. In Proceedings of the 2024 Joint International Conference on Computational Linguistics, Language Resources and Evaluation, pages 13898-13905, Torino, Italia. ELRA and ICCL."
|
| 1334 |
+
},
|
| 1335 |
+
{
|
| 1336 |
+
"type": "ref_text",
|
| 1337 |
+
"bbox": [
|
| 1338 |
+
0.512,
|
| 1339 |
+
0.175,
|
| 1340 |
+
0.883,
|
| 1341 |
+
0.24
|
| 1342 |
+
],
|
| 1343 |
+
"angle": 0,
|
| 1344 |
+
"content": "Yakun Song, Zhuo Chen, Xiaofei Wang, Ziyang Ma, and Xie Chen. 2024. ELLA-V: Stable neural codec language modeling with alignment-guided sequence reordering. Computing Research Repository, arXiv:2401.07333."
|
| 1345 |
+
},
|
| 1346 |
+
{
|
| 1347 |
+
"type": "ref_text",
|
| 1348 |
+
"bbox": [
|
| 1349 |
+
0.512,
|
| 1350 |
+
0.251,
|
| 1351 |
+
0.883,
|
| 1352 |
+
0.33
|
| 1353 |
+
],
|
| 1354 |
+
"angle": 0,
|
| 1355 |
+
"content": "Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N Gomez, Lukasz Kaiser, and Illia Polosukhin. 2017. Attention is all you need. In Proceedings of the 31st International Conference on Neural Information Processing Systems, pages 5998-6008, Long Beach, CA, U.S.A."
|
| 1356 |
+
},
|
| 1357 |
+
{
|
| 1358 |
+
"type": "ref_text",
|
| 1359 |
+
"bbox": [
|
| 1360 |
+
0.512,
|
| 1361 |
+
0.34,
|
| 1362 |
+
0.883,
|
| 1363 |
+
0.405
|
| 1364 |
+
],
|
| 1365 |
+
"angle": 0,
|
| 1366 |
+
"content": "Hongru Wang, Lingzhi Wang, Yiming Du, Liang Chen, Jingyan Zhou, Yufei Wang, and Kam-Fai Wong. 2023a. A survey of the evolution of language model-based dialogue systems. Computing Research Repository, arxiv:2311.16789."
|
| 1367 |
+
},
|
| 1368 |
+
{
|
| 1369 |
+
"type": "ref_text",
|
| 1370 |
+
"bbox": [
|
| 1371 |
+
0.512,
|
| 1372 |
+
0.416,
|
| 1373 |
+
0.883,
|
| 1374 |
+
0.482
|
| 1375 |
+
],
|
| 1376 |
+
"angle": 0,
|
| 1377 |
+
"content": "Tianrui Wang, Long Zhou, Ziqiang Zhang, Yu Wu, Shujie Liu, Yashesh Gaur, Zhuo Chen, Jinyu Li, and Furu Wei. 2023b. VioLA: Unified codec language models for speech recognition, synthesis, and translation. Computing Research Repository, arXiv:2305.16107."
|
| 1378 |
+
},
|
| 1379 |
+
{
|
| 1380 |
+
"type": "ref_text",
|
| 1381 |
+
"bbox": [
|
| 1382 |
+
0.512,
|
| 1383 |
+
0.491,
|
| 1384 |
+
0.883,
|
| 1385 |
+
0.544
|
| 1386 |
+
],
|
| 1387 |
+
"angle": 0,
|
| 1388 |
+
"content": "Zihao Yi, Jiarui Ouyang, Yuwen Liu, Tianhao Liao, Zhe Xu, and Ying Shen. 2024. A survey on recent advances in llm-based multi-turn dialogue systems. Computing Research Repository, arxiv:2402.18013."
|
| 1389 |
+
},
|
| 1390 |
+
{
|
| 1391 |
+
"type": "ref_text",
|
| 1392 |
+
"bbox": [
|
| 1393 |
+
0.512,
|
| 1394 |
+
0.554,
|
| 1395 |
+
0.883,
|
| 1396 |
+
0.646
|
| 1397 |
+
],
|
| 1398 |
+
"angle": 0,
|
| 1399 |
+
"content": "Dong Zhang, Shimin Li, Xin Zhang, Jun Zhan, Pengyu Wang, Yaqian Zhou, and Xipeng Qiu. 2023. SpeechGPT: Empowering large language models with intrinsic cross-modal conversational abilities. In Findings of the Association for Computational Linguistics: EMNLP 2023, pages 15757-15773, Singapore. Association for Computational Linguistics."
|
| 1400 |
+
},
|
| 1401 |
+
{
|
| 1402 |
+
"type": "ref_text",
|
| 1403 |
+
"bbox": [
|
| 1404 |
+
0.512,
|
| 1405 |
+
0.656,
|
| 1406 |
+
0.883,
|
| 1407 |
+
0.709
|
| 1408 |
+
],
|
| 1409 |
+
"angle": 0,
|
| 1410 |
+
"content": "Dong Zhang, Xin Zhang, Jun Zhan, Shimin Li, Yaqian Zhou, and Xipeng Qiu. 2024. SpeechGPT-Gen: Scaling chain-of-information speech generation. Computing Research Repository, arXiv:2401.13527."
|
| 1411 |
+
},
|
| 1412 |
+
{
|
| 1413 |
+
"type": "list",
|
| 1414 |
+
"bbox": [
|
| 1415 |
+
0.512,
|
| 1416 |
+
0.086,
|
| 1417 |
+
0.883,
|
| 1418 |
+
0.709
|
| 1419 |
+
],
|
| 1420 |
+
"angle": 0,
|
| 1421 |
+
"content": null
|
| 1422 |
+
},
|
| 1423 |
+
{
|
| 1424 |
+
"type": "page_number",
|
| 1425 |
+
"bbox": [
|
| 1426 |
+
0.481,
|
| 1427 |
+
0.929,
|
| 1428 |
+
0.521,
|
| 1429 |
+
0.941
|
| 1430 |
+
],
|
| 1431 |
+
"angle": 0,
|
| 1432 |
+
"content": "2698"
|
| 1433 |
+
}
|
| 1434 |
+
],
|
| 1435 |
+
[
|
| 1436 |
+
{
|
| 1437 |
+
"type": "title",
|
| 1438 |
+
"bbox": [
|
| 1439 |
+
0.115,
|
| 1440 |
+
0.085,
|
| 1441 |
+
0.42,
|
| 1442 |
+
0.101
|
| 1443 |
+
],
|
| 1444 |
+
"angle": 0,
|
| 1445 |
+
"content": "A Sequence Length Distributions"
|
| 1446 |
+
},
|
| 1447 |
+
{
|
| 1448 |
+
"type": "text",
|
| 1449 |
+
"bbox": [
|
| 1450 |
+
0.113,
|
| 1451 |
+
0.11,
|
| 1452 |
+
0.489,
|
| 1453 |
+
0.255
|
| 1454 |
+
],
|
| 1455 |
+
"angle": 0,
|
| 1456 |
+
"content": "We calculated the sequence length distributions of SQ, TQ, TA, and SA in the training set. The results are listed in Table 3. On average, CoM prompting requires to generate \\(36.5\\mathrm{(TQ)} + 33.8\\mathrm{(TA)}\\approx 70\\) text tokens before generating SA. Eliminating the need for generating these tokens can greatly reduce overall latency. In addition, speech tokens are more than 11 times longer than text tokens, highlighting the need for efficient generation of speech tokens."
|
| 1457 |
+
},
|
| 1458 |
+
{
|
| 1459 |
+
"type": "title",
|
| 1460 |
+
"bbox": [
|
| 1461 |
+
0.114,
|
| 1462 |
+
0.267,
|
| 1463 |
+
0.473,
|
| 1464 |
+
0.284
|
| 1465 |
+
],
|
| 1466 |
+
"angle": 0,
|
| 1467 |
+
"content": "B Implementation Details of HiFi-GAN"
|
| 1468 |
+
},
|
| 1469 |
+
{
|
| 1470 |
+
"type": "text",
|
| 1471 |
+
"bbox": [
|
| 1472 |
+
0.113,
|
| 1473 |
+
0.293,
|
| 1474 |
+
0.49,
|
| 1475 |
+
0.452
|
| 1476 |
+
],
|
| 1477 |
+
"angle": 0,
|
| 1478 |
+
"content": "The HiFi-GAN generator comprises convolution layers. Therefore, a waveform fragment corresponding to the \\(i\\)-th token depends only on tokens with indices \\([i - \\lfloor R / 2\\rfloor ,i + \\lfloor R / 2\\rfloor ]\\) . This allows waveform generation to start before the entire SA is generated. As described in Figure 4, HiFi-GAN first generates a waveform fragment once the LM generates \\(N_{\\mathrm{offset}} = \\lfloor R / 2\\rfloor +1\\) tokens, then generates subsequent fragments by shifting input tokens one by one."
|
| 1479 |
+
},
|
| 1480 |
+
{
|
| 1481 |
+
"type": "text",
|
| 1482 |
+
"bbox": [
|
| 1483 |
+
0.113,
|
| 1484 |
+
0.455,
|
| 1485 |
+
0.49,
|
| 1486 |
+
0.599
|
| 1487 |
+
],
|
| 1488 |
+
"angle": 0,
|
| 1489 |
+
"content": "In our experiments, we trained HiFi-GAN to generate \\(24\\mathrm{kHz}\\) waveform from \\(50\\mathrm{Hz}\\) tokens, which results in \\(R = 26\\). Following Polyak et al. (2021), we embedded input speech tokens into 256-dimensional features and fed them to HiFi-GAN. We modified the upsampling rates to [8,6,5,2], the number of total iterations to \\(300\\mathrm{k}\\), and kept the other configuration the same as the original work (Kong et al., 2020)."
|
| 1490 |
+
},
|
| 1491 |
+
{
|
| 1492 |
+
"type": "title",
|
| 1493 |
+
"bbox": [
|
| 1494 |
+
0.114,
|
| 1495 |
+
0.611,
|
| 1496 |
+
0.409,
|
| 1497 |
+
0.628
|
| 1498 |
+
],
|
| 1499 |
+
"angle": 0,
|
| 1500 |
+
"content": "C ChatGPT Evaluation Prompt"
|
| 1501 |
+
},
|
| 1502 |
+
{
|
| 1503 |
+
"type": "text",
|
| 1504 |
+
"bbox": [
|
| 1505 |
+
0.113,
|
| 1506 |
+
0.637,
|
| 1507 |
+
0.49,
|
| 1508 |
+
0.685
|
| 1509 |
+
],
|
| 1510 |
+
"angle": 0,
|
| 1511 |
+
"content": "We used the prompt in Figure 5 for ChatGPT-based evaluation. The original prompt was written in Japanese, but a translated version is presented here."
|
| 1512 |
+
},
|
| 1513 |
+
{
|
| 1514 |
+
"type": "title",
|
| 1515 |
+
"bbox": [
|
| 1516 |
+
0.114,
|
| 1517 |
+
0.697,
|
| 1518 |
+
0.416,
|
| 1519 |
+
0.714
|
| 1520 |
+
],
|
| 1521 |
+
"angle": 0,
|
| 1522 |
+
"content": "D Speech Evaluation Instruction"
|
| 1523 |
+
},
|
| 1524 |
+
{
|
| 1525 |
+
"type": "text",
|
| 1526 |
+
"bbox": [
|
| 1527 |
+
0.113,
|
| 1528 |
+
0.723,
|
| 1529 |
+
0.489,
|
| 1530 |
+
0.786
|
| 1531 |
+
],
|
| 1532 |
+
"angle": 0,
|
| 1533 |
+
"content": "We used the instruction in Figure 6 for speech evaluation. The original instruction was written in Japanese, but a translated version is presented here."
|
| 1534 |
+
},
|
| 1535 |
+
{
|
| 1536 |
+
"type": "title",
|
| 1537 |
+
"bbox": [
|
| 1538 |
+
0.114,
|
| 1539 |
+
0.8,
|
| 1540 |
+
0.285,
|
| 1541 |
+
0.816
|
| 1542 |
+
],
|
| 1543 |
+
"angle": 0,
|
| 1544 |
+
"content": "E Ablation Study"
|
| 1545 |
+
},
|
| 1546 |
+
{
|
| 1547 |
+
"type": "text",
|
| 1548 |
+
"bbox": [
|
| 1549 |
+
0.113,
|
| 1550 |
+
0.826,
|
| 1551 |
+
0.49,
|
| 1552 |
+
0.922
|
| 1553 |
+
],
|
| 1554 |
+
"angle": 0,
|
| 1555 |
+
"content": "We trained three PSLM variants, one from scratch (-no-pretrain), one without TQ (-no-TQ), and one without SQ (-no-SQ). In addition, we trained PSLM-2x and PSLM-3x without weighted loss (- no-WL). Table 4 shows the automatic evaluation results. PSLM-no-pretrain exhibited significant"
|
| 1556 |
+
},
|
| 1557 |
+
{
|
| 1558 |
+
"type": "table_caption",
|
| 1559 |
+
"bbox": [
|
| 1560 |
+
0.509,
|
| 1561 |
+
0.083,
|
| 1562 |
+
0.882,
|
| 1563 |
+
0.111
|
| 1564 |
+
],
|
| 1565 |
+
"angle": 0,
|
| 1566 |
+
"content": "Table 3: Sequence length distributions in the training set (in tokens)."
|
| 1567 |
+
},
|
| 1568 |
+
{
|
| 1569 |
+
"type": "table",
|
| 1570 |
+
"bbox": [
|
| 1571 |
+
0.566,
|
| 1572 |
+
0.116,
|
| 1573 |
+
0.83,
|
| 1574 |
+
0.213
|
| 1575 |
+
],
|
| 1576 |
+
"angle": 0,
|
| 1577 |
+
"content": "<table><tr><td></td><td>SQ</td><td>TQ</td><td>TA</td><td>SA</td></tr><tr><td>Mean</td><td>406.6</td><td>36.5</td><td>33.8</td><td>386.5</td></tr><tr><td>Min</td><td>34</td><td>2</td><td>1</td><td>27</td></tr><tr><td>25%</td><td>214</td><td>19</td><td>15</td><td>179</td></tr><tr><td>50%</td><td>354</td><td>32</td><td>29</td><td>340</td></tr><tr><td>75%</td><td>577</td><td>51</td><td>50</td><td>563</td></tr><tr><td>Max</td><td>1861</td><td>148</td><td>147</td><td>1697</td></tr></table>"
|
| 1578 |
+
},
|
| 1579 |
+
{
|
| 1580 |
+
"type": "image",
|
| 1581 |
+
"bbox": [
|
| 1582 |
+
0.513,
|
| 1583 |
+
0.233,
|
| 1584 |
+
0.882,
|
| 1585 |
+
0.38
|
| 1586 |
+
],
|
| 1587 |
+
"angle": 0,
|
| 1588 |
+
"content": null
|
| 1589 |
+
},
|
| 1590 |
+
{
|
| 1591 |
+
"type": "image_caption",
|
| 1592 |
+
"bbox": [
|
| 1593 |
+
0.509,
|
| 1594 |
+
0.398,
|
| 1595 |
+
0.886,
|
| 1596 |
+
0.456
|
| 1597 |
+
],
|
| 1598 |
+
"angle": 0,
|
| 1599 |
+
"content": "Figure 4: Streaming inference using HiFi-GAN with receptive field size \\( R = 5 \\) and SA length \\( N_{\\mathrm{SA}} = 6 \\). Waveform generation begins once \\( N_{\\mathrm{offset}} = \\lfloor R / 2 \\rfloor + 1 = 3 \\) tokens are generated. Text tokens are omitted."
|
| 1600 |
+
},
|
| 1601 |
+
{
|
| 1602 |
+
"type": "text",
|
| 1603 |
+
"bbox": [
|
| 1604 |
+
0.508,
|
| 1605 |
+
0.475,
|
| 1606 |
+
0.886,
|
| 1607 |
+
0.701
|
| 1608 |
+
],
|
| 1609 |
+
"angle": 0,
|
| 1610 |
+
"content": "degradation in all metrics, indicating the necessity of pretrained LM's text capability. PSLM-noTQ also showed large degradation, highlighting the importance of TQ in response quality. In contrast, PSLM-no-SQ achieved comparable scores to PSLM. This result implies that the speech-specific information such as intonation, rhythm, and emotion is not essential in the current SQA task due to the use of synthetic speech. We also found that PSLM-2x-no-WL achieved almost comparable scores to PSLM, whereas PSLM-3x-no-WL showed significant degradation. From these results, we conclude that the weighted loss is especially effective as the number of speech streams increases."
|
| 1611 |
+
},
|
| 1612 |
+
{
|
| 1613 |
+
"type": "page_number",
|
| 1614 |
+
"bbox": [
|
| 1615 |
+
0.481,
|
| 1616 |
+
0.929,
|
| 1617 |
+
0.521,
|
| 1618 |
+
0.941
|
| 1619 |
+
],
|
| 1620 |
+
"angle": 0,
|
| 1621 |
+
"content": "2699"
|
| 1622 |
+
}
|
| 1623 |
+
],
|
| 1624 |
+
[
|
| 1625 |
+
{
|
| 1626 |
+
"type": "text",
|
| 1627 |
+
"bbox": [
|
| 1628 |
+
0.212,
|
| 1629 |
+
0.121,
|
| 1630 |
+
0.773,
|
| 1631 |
+
0.16
|
| 1632 |
+
],
|
| 1633 |
+
"angle": 0,
|
| 1634 |
+
"content": "A conversation between two individuals will be provided. The conversation follows a format where one asks a question and the other responds. Based on the following evaluation criteria, rate the response quality on a scale from 1 (bad) to 5 (excellent)."
|
| 1635 |
+
},
|
| 1636 |
+
{
|
| 1637 |
+
"type": "title",
|
| 1638 |
+
"bbox": [
|
| 1639 |
+
0.214,
|
| 1640 |
+
0.172,
|
| 1641 |
+
0.341,
|
| 1642 |
+
0.184
|
| 1643 |
+
],
|
| 1644 |
+
"angle": 0,
|
| 1645 |
+
"content": "[Evaluation Criteria]"
|
| 1646 |
+
},
|
| 1647 |
+
{
|
| 1648 |
+
"type": "text",
|
| 1649 |
+
"bbox": [
|
| 1650 |
+
0.214,
|
| 1651 |
+
0.185,
|
| 1652 |
+
0.66,
|
| 1653 |
+
0.197
|
| 1654 |
+
],
|
| 1655 |
+
"angle": 0,
|
| 1656 |
+
"content": "1. Bad - The response is completely off-topic and difficult to understand."
|
| 1657 |
+
},
|
| 1658 |
+
{
|
| 1659 |
+
"type": "text",
|
| 1660 |
+
"bbox": [
|
| 1661 |
+
0.214,
|
| 1662 |
+
0.198,
|
| 1663 |
+
0.746,
|
| 1664 |
+
0.222
|
| 1665 |
+
],
|
| 1666 |
+
"angle": 0,
|
| 1667 |
+
"content": "2. Poor - The response is somewhat related to the question but contains grammatical or semantic errors, making it somewhat difficult to understand."
|
| 1668 |
+
},
|
| 1669 |
+
{
|
| 1670 |
+
"type": "text",
|
| 1671 |
+
"bbox": [
|
| 1672 |
+
0.214,
|
| 1673 |
+
0.223,
|
| 1674 |
+
0.758,
|
| 1675 |
+
0.247
|
| 1676 |
+
],
|
| 1677 |
+
"angle": 0,
|
| 1678 |
+
"content": "3. Fair - The response mostly aligns with the question, with few grammatical or semantic errors, and provides somewhat adequate information."
|
| 1679 |
+
},
|
| 1680 |
+
{
|
| 1681 |
+
"type": "text",
|
| 1682 |
+
"bbox": [
|
| 1683 |
+
0.214,
|
| 1684 |
+
0.248,
|
| 1685 |
+
0.746,
|
| 1686 |
+
0.272
|
| 1687 |
+
],
|
| 1688 |
+
"angle": 0,
|
| 1689 |
+
"content": "4. Good - The response aligns with the question, contains few grammatical or semantic errors, and provides adequate information."
|
| 1690 |
+
},
|
| 1691 |
+
{
|
| 1692 |
+
"type": "text",
|
| 1693 |
+
"bbox": [
|
| 1694 |
+
0.214,
|
| 1695 |
+
0.273,
|
| 1696 |
+
0.75,
|
| 1697 |
+
0.298
|
| 1698 |
+
],
|
| 1699 |
+
"angle": 0,
|
| 1700 |
+
"content": "5. Excellent - The response aligns with the question, contains almost no grammatical or semantic errors, provides adequate and appropriate information."
|
| 1701 |
+
},
|
| 1702 |
+
{
|
| 1703 |
+
"type": "list",
|
| 1704 |
+
"bbox": [
|
| 1705 |
+
0.214,
|
| 1706 |
+
0.185,
|
| 1707 |
+
0.758,
|
| 1708 |
+
0.298
|
| 1709 |
+
],
|
| 1710 |
+
"angle": 0,
|
| 1711 |
+
"content": null
|
| 1712 |
+
},
|
| 1713 |
+
{
|
| 1714 |
+
"type": "text",
|
| 1715 |
+
"bbox": [
|
| 1716 |
+
0.214,
|
| 1717 |
+
0.311,
|
| 1718 |
+
0.528,
|
| 1719 |
+
0.324
|
| 1720 |
+
],
|
| 1721 |
+
"angle": 0,
|
| 1722 |
+
"content": "Output the evaluation score in the following format:"
|
| 1723 |
+
},
|
| 1724 |
+
{
|
| 1725 |
+
"type": "text",
|
| 1726 |
+
"bbox": [
|
| 1727 |
+
0.214,
|
| 1728 |
+
0.324,
|
| 1729 |
+
0.359,
|
| 1730 |
+
0.336
|
| 1731 |
+
],
|
| 1732 |
+
"angle": 0,
|
| 1733 |
+
"content": "[Example Evaluation 1]"
|
| 1734 |
+
},
|
| 1735 |
+
{
|
| 1736 |
+
"type": "text",
|
| 1737 |
+
"bbox": [
|
| 1738 |
+
0.214,
|
| 1739 |
+
0.337,
|
| 1740 |
+
0.535,
|
| 1741 |
+
0.349
|
| 1742 |
+
],
|
| 1743 |
+
"angle": 0,
|
| 1744 |
+
"content": "Question: Can you recommend an easy-to-write pen?"
|
| 1745 |
+
},
|
| 1746 |
+
{
|
| 1747 |
+
"type": "text",
|
| 1748 |
+
"bbox": [
|
| 1749 |
+
0.214,
|
| 1750 |
+
0.35,
|
| 1751 |
+
0.578,
|
| 1752 |
+
0.36
|
| 1753 |
+
],
|
| 1754 |
+
"angle": 0,
|
| 1755 |
+
"content": "Answer: I recommend Mitsubishi Pencil Jetstream Standard."
|
| 1756 |
+
},
|
| 1757 |
+
{
|
| 1758 |
+
"type": "text",
|
| 1759 |
+
"bbox": [
|
| 1760 |
+
0.214,
|
| 1761 |
+
0.362,
|
| 1762 |
+
0.266,
|
| 1763 |
+
0.372
|
| 1764 |
+
],
|
| 1765 |
+
"angle": 0,
|
| 1766 |
+
"content": "Score: 5"
|
| 1767 |
+
},
|
| 1768 |
+
{
|
| 1769 |
+
"type": "text",
|
| 1770 |
+
"bbox": [
|
| 1771 |
+
0.214,
|
| 1772 |
+
0.375,
|
| 1773 |
+
0.359,
|
| 1774 |
+
0.386
|
| 1775 |
+
],
|
| 1776 |
+
"angle": 0,
|
| 1777 |
+
"content": "[Example Evaluation 2]"
|
| 1778 |
+
},
|
| 1779 |
+
{
|
| 1780 |
+
"type": "text",
|
| 1781 |
+
"bbox": [
|
| 1782 |
+
0.214,
|
| 1783 |
+
0.387,
|
| 1784 |
+
0.535,
|
| 1785 |
+
0.399
|
| 1786 |
+
],
|
| 1787 |
+
"angle": 0,
|
| 1788 |
+
"content": "Question: What is the highest mountain in the world?"
|
| 1789 |
+
},
|
| 1790 |
+
{
|
| 1791 |
+
"type": "text",
|
| 1792 |
+
"bbox": [
|
| 1793 |
+
0.214,
|
| 1794 |
+
0.4,
|
| 1795 |
+
0.394,
|
| 1796 |
+
0.411
|
| 1797 |
+
],
|
| 1798 |
+
"angle": 0,
|
| 1799 |
+
"content": "Answer: I guess 3141010059."
|
| 1800 |
+
},
|
| 1801 |
+
{
|
| 1802 |
+
"type": "text",
|
| 1803 |
+
"bbox": [
|
| 1804 |
+
0.214,
|
| 1805 |
+
0.412,
|
| 1806 |
+
0.266,
|
| 1807 |
+
0.423
|
| 1808 |
+
],
|
| 1809 |
+
"angle": 0,
|
| 1810 |
+
"content": "Score: 1"
|
| 1811 |
+
},
|
| 1812 |
+
{
|
| 1813 |
+
"type": "text",
|
| 1814 |
+
"bbox": [
|
| 1815 |
+
0.214,
|
| 1816 |
+
0.425,
|
| 1817 |
+
0.331,
|
| 1818 |
+
0.436
|
| 1819 |
+
],
|
| 1820 |
+
"angle": 0,
|
| 1821 |
+
"content": "[Evaluation Target]"
|
| 1822 |
+
},
|
| 1823 |
+
{
|
| 1824 |
+
"type": "text",
|
| 1825 |
+
"bbox": [
|
| 1826 |
+
0.214,
|
| 1827 |
+
0.438,
|
| 1828 |
+
0.345,
|
| 1829 |
+
0.449
|
| 1830 |
+
],
|
| 1831 |
+
"angle": 0,
|
| 1832 |
+
"content": "Question: {Question}"
|
| 1833 |
+
},
|
| 1834 |
+
{
|
| 1835 |
+
"type": "text",
|
| 1836 |
+
"bbox": [
|
| 1837 |
+
0.214,
|
| 1838 |
+
0.451,
|
| 1839 |
+
0.329,
|
| 1840 |
+
0.462
|
| 1841 |
+
],
|
| 1842 |
+
"angle": 0,
|
| 1843 |
+
"content": "Answer: {Answer}"
|
| 1844 |
+
},
|
| 1845 |
+
{
|
| 1846 |
+
"type": "text",
|
| 1847 |
+
"bbox": [
|
| 1848 |
+
0.214,
|
| 1849 |
+
0.464,
|
| 1850 |
+
0.254,
|
| 1851 |
+
0.474
|
| 1852 |
+
],
|
| 1853 |
+
"angle": 0,
|
| 1854 |
+
"content": "Score:"
|
| 1855 |
+
},
|
| 1856 |
+
{
|
| 1857 |
+
"type": "image_caption",
|
| 1858 |
+
"bbox": [
|
| 1859 |
+
0.354,
|
| 1860 |
+
0.495,
|
| 1861 |
+
0.642,
|
| 1862 |
+
0.51
|
| 1863 |
+
],
|
| 1864 |
+
"angle": 0,
|
| 1865 |
+
"content": "Figure 5: Prompt for ChatGPT evaluation."
|
| 1866 |
+
},
|
| 1867 |
+
{
|
| 1868 |
+
"type": "text",
|
| 1869 |
+
"bbox": [
|
| 1870 |
+
0.205,
|
| 1871 |
+
0.567,
|
| 1872 |
+
0.781,
|
| 1873 |
+
0.629
|
| 1874 |
+
],
|
| 1875 |
+
"angle": 0,
|
| 1876 |
+
"content": "At the top of the screen, you will see the \"Reference Text,\" and at the bottom of the screen, you will hear the audio of a conversation between two people. The conversation is in a QA format, with one person asking questions and the other responds. Please listen to the audio file with a headphone and evaluate it on a scale of 1 (poor) to 5 (good) based on the following two criteria:"
|
| 1877 |
+
},
|
| 1878 |
+
{
|
| 1879 |
+
"type": "text",
|
| 1880 |
+
"bbox": [
|
| 1881 |
+
0.207,
|
| 1882 |
+
0.631,
|
| 1883 |
+
0.685,
|
| 1884 |
+
0.655
|
| 1885 |
+
],
|
| 1886 |
+
"angle": 0,
|
| 1887 |
+
"content": "(1) How natural is the system's response audio as a reading of the response text (the part after \"A:\" in the reference text)?"
|
| 1888 |
+
},
|
| 1889 |
+
{
|
| 1890 |
+
"type": "text",
|
| 1891 |
+
"bbox": [
|
| 1892 |
+
0.207,
|
| 1893 |
+
0.657,
|
| 1894 |
+
0.781,
|
| 1895 |
+
0.693
|
| 1896 |
+
],
|
| 1897 |
+
"angle": 0,
|
| 1898 |
+
"content": "(2) Is the system's response speed sufficiently fast? Please do not include the naturalness of the text content or the naturalness of the question audio in the score."
|
| 1899 |
+
},
|
| 1900 |
+
{
|
| 1901 |
+
"type": "image_caption",
|
| 1902 |
+
"bbox": [
|
| 1903 |
+
0.351,
|
| 1904 |
+
0.71,
|
| 1905 |
+
0.645,
|
| 1906 |
+
0.724
|
| 1907 |
+
],
|
| 1908 |
+
"angle": 0,
|
| 1909 |
+
"content": "Figure 6: Instruction for speech evaluation."
|
| 1910 |
+
},
|
| 1911 |
+
{
|
| 1912 |
+
"type": "table_caption",
|
| 1913 |
+
"bbox": [
|
| 1914 |
+
0.22,
|
| 1915 |
+
0.769,
|
| 1916 |
+
0.776,
|
| 1917 |
+
0.784
|
| 1918 |
+
],
|
| 1919 |
+
"angle": 0,
|
| 1920 |
+
"content": "Table 4: Ablation study. The suffix no-WL denotes weighted loss was not applied."
|
| 1921 |
+
},
|
| 1922 |
+
{
|
| 1923 |
+
"type": "table",
|
| 1924 |
+
"bbox": [
|
| 1925 |
+
0.166,
|
| 1926 |
+
0.788,
|
| 1927 |
+
0.833,
|
| 1928 |
+
0.904
|
| 1929 |
+
],
|
| 1930 |
+
"angle": 0,
|
| 1931 |
+
"content": "<table><tr><td>Method</td><td>Input modality</td><td>Output Modality</td><td>T-score↑</td><td>S-score↑</td><td>FR↓</td><td>CER↓</td></tr><tr><td>PSLM</td><td>SQ, TQ (Gold)</td><td>TA, SA</td><td>3.50±0.08</td><td>3.22±0.09</td><td>5.05</td><td>5.25</td></tr><tr><td>PSLM-2x</td><td>SQ, TQ (Gold)</td><td>TA, SA</td><td>3.50±0.08</td><td>3.20±0.09</td><td>4.29</td><td>6.39</td></tr><tr><td>PSLM-3x</td><td>SQ, TQ (Gold)</td><td>TA, SA</td><td>3.28±0.10</td><td>2.99±0.10</td><td>7.07</td><td>6.09</td></tr><tr><td>PSLM-no-pretrain</td><td>SQ, TQ (Gold)</td><td>TA, SA</td><td>2.22±0.07</td><td>2.12±0.07</td><td>18.18</td><td>10.13</td></tr><tr><td>PSLM-no-TQ</td><td>SQ</td><td>TA, SA</td><td>2.34±0.09</td><td>2.19±0.09</td><td>8.84</td><td>6.38</td></tr><tr><td>PSLM-no-SQ</td><td>TQ (Gold)</td><td>TA, SA</td><td>3.54±0.08</td><td>3.17±0.09</td><td>6.31</td><td>8.99</td></tr><tr><td>PSLM-2x-no-WL</td><td>SQ, TQ (Gold)</td><td>TA, SA</td><td>3.42±0.08</td><td>3.17±0.08</td><td>8.84</td><td>4.99</td></tr><tr><td>PSLM-3x-no-WL</td><td>SQ, TQ (Gold)</td><td>TA, SA</td><td>2.67±0.10</td><td>2.46±0.10</td><td>11.36</td><td>6.94</td></tr></table>"
|
| 1932 |
+
},
|
| 1933 |
+
{
|
| 1934 |
+
"type": "page_number",
|
| 1935 |
+
"bbox": [
|
| 1936 |
+
0.481,
|
| 1937 |
+
0.929,
|
| 1938 |
+
0.522,
|
| 1939 |
+
0.941
|
| 1940 |
+
],
|
| 1941 |
+
"angle": 0,
|
| 1942 |
+
"content": "2700"
|
| 1943 |
+
}
|
| 1944 |
+
]
|
| 1945 |
+
]
|
2024/PSLM_ Parallel Generation of Text and Speech with LLMs for Low-Latency Spoken Dialogue Systems/474679cb-bdee-4524-83e9-3d933e8e0915_origin.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f890e2252b48cfba5a1498c8817874d5dc8d082936843a5455a16d11433f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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# PSLM: Parallel Generation of Text and Speech with LLMs for Low-Latency Spoken Dialogue Systems
|
| 2 |
+
|
| 3 |
+
Kentaro Mitsui, Koh Mitsuda, Toshiaki Wakatsuki, Yukiya Hono, Kei Sawada
|
| 4 |
+
|
| 5 |
+
rinna Co., Ltd., Tokyo, Japan {kemits,kohmi,towaka,yuhono,keisawada}@rinna.co.jp
|
| 6 |
+
|
| 7 |
+
# Abstract
|
| 8 |
+
|
| 9 |
+
Multimodal language models that process both text and speech have a potential for applications in spoken dialogue systems. However, current models face two major challenges in response generation latency: (1) generating a spoken response requires the prior generation of a written response, and (2) speech sequences are significantly longer than text sequences. This study addresses these issues by extending the input and output sequences of the language model to support the parallel generation of text and speech. Our experiments on spoken question answering tasks demonstrate that our approach improves latency while maintaining the quality of response content. Additionally, we show that latency can be further reduced by generating speech in multiple sequences. Demo samples are available at https://rinnakk.github.io/research/publications/PSLM.
|
| 10 |
+
|
| 11 |
+
# 1 Introduction
|
| 12 |
+
|
| 13 |
+
Spoken dialogue systems have been developed for many years to achieve natural human-computer interaction (McTear, 2002; Jokinen and McTear, 2009; Chen et al., 2017). Traditionally, these systems consist of several components: Automatic Speech Recognition (ASR), Response Generation (RG), and Text-to-Speech (TTS). Various methods for RG have been proposed with the advancements in Large Language Models (LLMs) (Wang et al., 2023a; Yi et al., 2024). More recently, the application of LLMs to ASR (e.g., Wang et al. 2023b; Hono et al. 2024; Fathullah et al. 2024) and TTS (Wang et al., 2023b; Hao et al., 2023) has attracted much attention, leading to the development of multimodal LLMs capable of end-to-end spoken language communication (Zhang et al., 2023; Nachmani et al., 2024).
|
| 14 |
+
|
| 15 |
+
Zhang et al. (2023) proposed SpeechGPT, an LLM that receives speech questions (SQ) as speech
|
| 16 |
+
|
| 17 |
+

|
| 18 |
+
|
| 19 |
+

|
| 20 |
+
(b) Parallel text and speech decoding
|
| 21 |
+
|
| 22 |
+

|
| 23 |
+
(c) Multiple speech streams
|
| 24 |
+
Figure 1: (a) Chain-of-Modality prompting necessitates generating text questions (TQ) and text answers (TA) from speech questions (SQ) before producing speech answers (SA). (b) Our Parallel Speech Language Model (PSLM) enables the parallel decoding of TA and SA, reducing overall latency. (c) Introducing multiple speech streams further accelerates the generation of SA.
|
| 25 |
+
|
| 26 |
+
tokens, which are discrete representations extracted from raw waveforms, and sequentially generates text questions (TQ), text answers (TA), and speech answers (SA). Figure 1 (a) illustrates their approach called Chain-of-Modality (CoM) prompting. Spectron (Nachmani et al., 2024) follows this prompting style but directly handles speech spectrograms. Although these methods can generate high-quality responses, they face two major challenges in terms of response latency. First, generating SA requires the prior generation of TQ and TA. Second, speech sequences are much longer than text sequences<sup>1</sup>.
|
| 27 |
+
|
| 28 |
+
In this study, we propose Parallel Speech Language Model (PSLM), an LLM with multiple input-output sequences to handle both text and speech tokens, enabling their parallel generation. To emphasize their parallel processing capabilities, we will refer to these sequences as "streams". As described in Figure 1 (b), PSLM begins to generate SA immediately after the end of SQ tokens,
|
| 29 |
+
|
| 30 |
+
which can reduce overall latency. This leads to our first research question (RQ1): Can PSLM improve latency while maintaining the response quality achieved by CoM prompting? Additionally, we address the second challenge by introducing multiple speech streams to decode multiple speech tokens in a single step, as described in Figure 1 (c). This brings us to the second research question (RQ2): Do multiple speech streams sacrifice the response quality? Addressing these questions will pave the way for more advanced and responsive applications of spoken dialogue systems.
|
| 31 |
+
|
| 32 |
+
# 2 PSLM
|
| 33 |
+
|
| 34 |
+
# 2.1 Speech Discretization
|
| 35 |
+
|
| 36 |
+
Speech Tokenization Extracting discrete speech tokens from raw waveforms enables language models to handle speech in the same manner as text tokens. Self-supervised learning has been widely used for speech tokenization due to its ability to extract spoken content from raw waveforms (e.g., Rubenstein et al. 2023; Chou et al. 2023; Hassid et al. 2023). Following Zhang et al. (2023), we employ Hidden-Unit BERT (HuBERT) (Hsu et al., 2021) for speech tokenization.
|
| 37 |
+
|
| 38 |
+
Speech Detokenization In contrast to text tokenization, which is uniquely recoverable, speech tokenization largely discards the information of raw waveforms. Two major approaches have been proposed to solve this problem. The first approach uses a neural vocoder for directly reconstructing raw waveforms from speech tokens (e.g., Zhang et al. 2023; Chou et al. 2023; Hassid et al. 2023). The second approach uses a pretrained neural audio codec, which requires an additional module to predict the codec's tokens (e.g., Rubenstein et al. 2023; Zhang et al. 2024). We adopt the first approach to reduce overall latency using HiFi-GAN (Kong et al., 2020), a non-autoregressive neural vocoder that efficiently generates high-fidelity waveforms.
|
| 39 |
+
|
| 40 |
+
# 2.2 Integrating LMs with a Speech Stream
|
| 41 |
+
|
| 42 |
+
PSLM is built on top of a pretrained decoder-only Transformer (Vaswani et al., 2017). An overview of the PSLM architecture is provided in Figure 2. We add new input embedding and output projection layers to process speech tokens, while the structure of the intermediate Transformer layers remains unchanged. The embeddings of text and speech tokens are summed before being fed to the Transformer layers. The hidden features from the
|
| 43 |
+
|
| 44 |
+

|
| 45 |
+
Figure 2: Architecture of PSLM.
|
| 46 |
+
|
| 47 |
+
final Transformer layer are passed to two output projection layers to calculate the logits of the next text and speech tokens. We randomly initialize the weights of new embedding and projection layers.
|
| 48 |
+
|
| 49 |
+
A challenge of joint text-speech modeling lies in the mismatch in their lengths. In this study, we simply right-pad TQ and TA sequences with special [TEXT-PAD] tokens to align their lengths with those of the SQ and SA sequences, respectively. In a preliminary experiment on the CoM-based architecture, we attempted to generate text tokens and their corresponding speech tokens alternatively in a similar manner to ELLA-V (Song et al., 2024); however, this approach led to frequent mispronunciation. This is mainly because, in our case, the text is represented by tokens rather than phonemes; in some languages, the pronunciation of a character often changes according to subsequent characters, and a certain amount of lookahead is necessary to achieve accurate pronunciation. In contrast, our alignment strategy allows the model to focus on text token generation initially and then refer to the generated text when producing the majority of speech tokens, leading to more accurate pronunciation.
|
| 50 |
+
|
| 51 |
+
Our PSLM is trained by minimizing the sum of cross entropy losses for each stream. We include prompt tokens, comprising TQ and SQ, in the loss calculation. During inference, PSLM receives these prompt tokens and generates TA and SA in parallel. Text and speech tokens are sampled independently from their respective distributions.
|
| 52 |
+
|
| 53 |
+
# 2.3 Introducing Multiple Speech Streams
|
| 54 |
+
|
| 55 |
+
For further acceleration, we introduce multiple speech streams to PSLM. Assume that PSLM has $1 + S$ streams, one for text tokens and $S$ for speech tokens. Given the original speech token sequence of length $N$ , the $s$ -th speech stream consists of the
|
| 56 |
+
|
| 57 |
+
speech tokens with indices $s, s + S, s + 2S, \dots, s + MS$ , where $s \in \{1, \dots, S\}$ and $M = \lfloor N / S \rfloor - 1$ . Compared to simply increasing the batch size, where the system's throughput improves but the latency for each instance remains unchanged, our approach reduces the sequence length handled by the Transformer layers to $1 / S$ , leading to an approximate $S$ -fold speedup even in the single-instance scenario.
|
| 58 |
+
|
| 59 |
+
During training, simply summing the cross entropy losses for each stream makes the loss of text tokens less dominant, leading to poor text generation quality. Therefore, we introduce a weighted loss, where we multiply the loss for speech streams by $1 / S$ to balance the weight of losses for text and speech streams.
|
| 60 |
+
|
| 61 |
+
# 2.4 Streaming Inference with HiFi-GAN
|
| 62 |
+
|
| 63 |
+
Following Chen et al. (2022), we use HiFi-GAN for streaming inference; specifically, we provide partial speech tokens to generate waveform fragments. In this study, we use non-causal convolution to maintain high speech quality. Therefore, the first speech fragment can be generated once $N_{\mathrm{offset}} = \lfloor R / 2 \rfloor + 1$ tokens are decoded, where $R$ denotes the receptive field of HiFi-GAN. Implementation details can be found in Appendix B.
|
| 64 |
+
|
| 65 |
+
# 2.5 Overall Latency
|
| 66 |
+
|
| 67 |
+
We define latency as the delay between the end of the user's utterance and the system's initial response. The latency of conventional CoM-based systems $L_{\mathrm{CoM}}$ can be represented as follows:
|
| 68 |
+
|
| 69 |
+
$$
|
| 70 |
+
L _ {\mathrm {C o M}} = D _ {\mathrm {s} 2 \mathrm {t}} + D _ {\mathrm {S Q}} + \frac {N _ {\mathrm {d e c}}}{P} + D _ {\mathrm {t} 2 \mathrm {s}} \tag {1}
|
| 71 |
+
$$
|
| 72 |
+
|
| 73 |
+
$$
|
| 74 |
+
N _ {\mathrm {d e c}} = N _ {\mathrm {T Q}} + N _ {\mathrm {T A}} + N _ {\text {o f f s e t}} \tag {2}
|
| 75 |
+
$$
|
| 76 |
+
|
| 77 |
+
where $D_{\mathrm{s2t}}$ , $D_{\mathrm{SQ}}$ , and $D_{\mathrm{t2s}}$ denote the delays of speech tokenization, the prefetch phase in LMs, and speech detokenization, respectively; $N_{\mathrm{TQ}}$ and $N_{\mathrm{TA}}$ denote the number of tokens in TQ and TA, respectively; and $P$ denotes the tokens per second (TPS) during the decode phase in LMs.
|
| 78 |
+
|
| 79 |
+
Our PSLM eliminates the need for generating TQ and TA beforehand, although it requires to run external ASR to obtain TQ. Hence, its latency $L_{\mathrm{PSLM}}$ can be represented as follows:
|
| 80 |
+
|
| 81 |
+
$$
|
| 82 |
+
L _ {\mathrm {P S L M}} = D _ {\mathrm {A S R}} + D _ {\mathrm {S Q}} + \frac {N _ {\text {o f f s e t}}}{P \cdot S} + D _ {\mathrm {t 2 s}} \tag {3}
|
| 83 |
+
$$
|
| 84 |
+
|
| 85 |
+
where $D_{\mathrm{ASR}}$ denotes the ASR delay. Here $D_{\mathrm{s2t}}$ is omitted because speech tokenization can be performed in parallel with ASR.
|
| 86 |
+
|
| 87 |
+
# 3 Experimental Setup
|
| 88 |
+
|
| 89 |
+
# 3.1 Dataset
|
| 90 |
+
|
| 91 |
+
We used an internal dataset comprising 1.8M written QA pairs for training all models. Since some of these samples, which were primarily crawled from the internet, were deemed unsuitable for evaluation, we used a publicly available Japanese dataset (Hayashibe, 2023) for evaluation. This dataset was manually reviewed and consists of 669 diverse written QA pairs. We further filtered the evaluation set by excluding samples whose TQ or TA exceeded 140 characters, the maximum number of characters observed in the training set. The final evaluation set contained 396 samples. For both the training and evaluation sets, we constructed a spoken question answering (SQA) dataset by synthesizing SQ and SA using a well-trained single-speaker TTS system based on VITS (Kim et al., 2021).
|
| 92 |
+
|
| 93 |
+
# 3.2 Configuration
|
| 94 |
+
|
| 95 |
+
Tokenization and Detokenization For text tokenization, we used the tokenizer with a vocabulary size of 151,936 from rinna/nekomata-7b². For speech tokenization, we applied $k$ -means clustering with $k = 512$ to 12-th layer features from rinna/japanese-hubert-base³ (Sawada et al., 2024), obtaining 50 speech tokens per second. For speech detokenization, we trained discrete unit-based HiFiGAN (Polyak et al., 2021) using pairs of synthesized speech waveforms of SQ and SA and their corresponding speech tokens. For ASR, Whisper large-v3 (Radford et al., 2023) with faster-whisper⁴ was used throughout our experiments.
|
| 96 |
+
|
| 97 |
+
Language Modeling We used rinna/nekomata-7b, a 32-layer 4096-hidden-size Transformer LM that was continuously pretrained from Qwen-7B (Bai et al., 2023) on Japanese text, as the backbone of our models. We implemented our models using the GPT-NeoX library (Aidonian et al., 2023). Unless otherwise noted, models were trained for $50\mathrm{k}$ steps with a batch size of 16 on 8 NVIDIA A100 GPUs using an Adam optimizer (Kingma and Ba, 2015) with a peak learning rate set to 1e-5. During inference, we set the temperature to 0.8 and applied top- $k$ and top- $p$ sampling with $k = 60$ and $p = 0.8$ .
|
| 98 |
+
|
| 99 |
+
2https://huggingface.co/rinna/nekomata-7b
|
| 100 |
+
3https://huggingface.co/rinna/
|
| 101 |
+
japanese-hubert-base
|
| 102 |
+
4https://github.com/SYSTRAN/faster-whisper
|
| 103 |
+
|
| 104 |
+
# 3.3 Baselines
|
| 105 |
+
|
| 106 |
+
We involved three CoM-based baselines, which share the model weights but differ in their prompts during decoding: (1) CoM-SQ receives only SQ, (2) CoM-ASR receives SQ and transcribed TQ, and (3) CoM receives SQ and gold TQ. In our preliminary experiments, the three-stage training (Zhang et al., 2023) was not effective in our configuration; thus, we trained the model using the same configuration as described in Section 3.2.
|
| 107 |
+
|
| 108 |
+
# 3.4 Evaluation Metrics
|
| 109 |
+
|
| 110 |
+
ChatGPT Scores We used OpenAI's GPT-3.5 Turbo API to evaluate response quality on a 5-point scale from 1 (bad) to 5 (excellent). The prompt is described in Appendix C. We report the scores for TA and the transcription of SA as T-score and S-score, respectively.
|
| 111 |
+
|
| 112 |
+
Character Error Rate (CER) We calculated the character error rate between the generated TA and the transcription of SA to assess their alignment.
|
| 113 |
+
|
| 114 |
+
Failure Rate (FR) We counted failure cases such as (1) no [EOS] token was generated before the total sequence length reached 2048, or (2) tokens were generated in the wrong modality, i.e., speech tokens in TQ and TA, or text tokens in SA.
|
| 115 |
+
|
| 116 |
+
Latency We simulated latency according to Equations 2 and 3 for each sample in the evaluation set, and reported the median values. We set $D_{\mathrm{s2t}} = 0.05$ , $D_{\mathrm{SQ}} = 0.05$ , $D_{\mathrm{ASR}} = 0.2$ , and $D_{\mathrm{t2s}} = 0.01$ based on measurements taken on a single NVIDIA A100 GPU. For the TPS value $P$ , the actual TPS varies depending on computing resources and optimization; 70 TPS was achieved with vLLM (Kwon et al., 2023) optimization, and 25 TPS without it. Meanwhile, for streaming inference with HiFi-GAN, LMs need to generate 50 speech tokens per second. Therefore, we set $P$ to 50 in our simulations to match this requirement.
|
| 117 |
+
|
| 118 |
+
Human Rating We also conducted two subjective evaluations: one for text and the other for speech. In the text evaluation, we presented pairs of gold TQ and generated TA, and raters evaluated the naturalness of TA based on the same criteria used in the ChatGPT-based evaluation (Text Naturalness). In the speech evaluation, we presented gold SQ and generated SA successively, along with their TQ and TA, and asked the raters to evaluate (1) how natural the SA is as the speech of the
|
| 119 |
+
|
| 120 |
+
TA (Speech Naturalness), and (2) whether the response is fast enough (Speed Score). For better reproducibility, we provide the actual instruction used for speech evaluation in Appendix D. The duration of silence between SQ and SA was simulated in the manner described in Section 2.5, except for the Ground Truth where the silence duration was set to $200\mathrm{ms}$ , the average turn-taking gap in human conversation (Levinson and Torreira, 2015). Scores were rated on a 5-point scale. Fifty samples were randomly chosen from the evaluation set, and twenty in-house workers rated twenty samples each.
|
| 121 |
+
|
| 122 |
+
# 4 Results and Discussion
|
| 123 |
+
|
| 124 |
+
# 4.1 Automatic Evaluation
|
| 125 |
+
|
| 126 |
+
Comparison with Baselines To answer RQ1, we compared the proposed method in two conditions, PSLM and PSLM-ASR, with the baselines described in Section 3.3. PSLM receives SQ and gold TQ, while PSLM-ASR receives SQ and transcribed TQ. Table 1 summarizes the results. When gold TQ was given, PSLM achieved comparable scores to CoM and significantly improved latency. A similar trend was observed under more practical conditions where gold TQ was not available (PSLM-ASR vs. CoM-ASR). However, their scores were lower than those with gold TQ, and CoM-SQ faced greater degradation. These results suggest that ASR performance is crucial for response quality, and CoM-SQ seems to have produced more ASR errors than Whisper. Nevertheless, we conclude that PSLM maintains the response quality of CoM (RQ1). We also found that PSLM-based methods achieved lower FRs than CoM-based ones. Each stream of PSLM is dedicated to a single modality, which could have reduced the failures in generation. Furthermore, methods other than CoM-SQ marked lower CERs than Ground Truth. From this result, we confirmed that both CoM and PSLM can generate appropriate SA corresponding to TA.
|
| 127 |
+
|
| 128 |
+
Multiple Speech Streams To answer RQ2, we trained PSLM variants with two (-2x) or three (-3x) speech streams<sup>5</sup>. PSLM-2x achieved comparable scores to PSLM, whereas PSLM-3x demonstrated significant degradation. From these results, we conclude that speech tokens can be decoded in up to two streams without quality degradation (RQ2). An ablation study can be found in Appendix E.
|
| 129 |
+
|
| 130 |
+
Table 1: Automatic evaluation results. T-score and S-score represent the ChatGPT-based score for TA and transcribed SA, respectively. FR denotes the failure rate. Latency values in parentheses represent inputs involving gold TQ.
|
| 131 |
+
|
| 132 |
+
<table><tr><td>Method</td><td>Input modality</td><td>Output Modality</td><td>T-score↑</td><td>S-score↑</td><td>FR↓</td><td>CER↓</td><td>Latency [s]↓</td></tr><tr><td>Ground Truth</td><td>—</td><td>—</td><td>4.00±0.02</td><td>3.58±0.06</td><td>—</td><td>7.35</td><td>—</td></tr><tr><td>CoM</td><td>SQ → TQ (Gold)</td><td>TA → SA</td><td>3.50±0.09</td><td>3.27±0.09</td><td>12.12</td><td>6.28</td><td>(0.67)</td></tr><tr><td>PSLM</td><td>SQ, TQ (Gold)</td><td>TA, SA</td><td>3.50±0.08</td><td>3.22±0.09</td><td>5.05</td><td>5.25</td><td>(0.34)</td></tr><tr><td>CoM-SQ</td><td>SQ</td><td>TQ → TA → SA</td><td>3.12±0.11</td><td>2.94±0.10</td><td>15.91</td><td>7.83</td><td>1.03</td></tr><tr><td>CoM-ASR</td><td>SQ → TQ (ASR)</td><td>TA → SA</td><td>3.27±0.10</td><td>3.07±0.09</td><td>13.13</td><td>6.18</td><td>0.92</td></tr><tr><td>PSLM-ASR</td><td>SQ, TQ (ASR)</td><td>TA, SA</td><td>3.34±0.09</td><td>3.05±0.10</td><td>6.31</td><td>6.05</td><td>0.54</td></tr><tr><td>PSLM-2x</td><td>SQ, TQ (Gold)</td><td>TA, SA</td><td>3.50±0.08</td><td>3.20±0.09</td><td>4.29</td><td>6.39</td><td>(0.20)</td></tr><tr><td>PSLM-3x</td><td>SQ, TQ (Gold)</td><td>TA, SA</td><td>3.28±0.10</td><td>2.99±0.10</td><td>7.07</td><td>6.09</td><td>(0.15)</td></tr></table>
|
| 133 |
+
|
| 134 |
+
Table 2: Human evaluation results.
|
| 135 |
+
|
| 136 |
+
<table><tr><td>Method</td><td>Text↑</td><td>Speech↑</td><td>Speed↑</td></tr><tr><td>Ground Truth</td><td>4.08±0.26</td><td>3.74±0.19</td><td>4.73±0.11</td></tr><tr><td>CoM-SQ</td><td>2.44±0.29</td><td>4.04±0.20</td><td>4.07±0.23</td></tr><tr><td>CoM-ASR</td><td>2.90±0.30</td><td>3.94±0.20</td><td>4.17±0.22</td></tr><tr><td>PSLM-ASR</td><td>3.08±0.27</td><td>4.08±0.20</td><td>4.57±0.13</td></tr></table>
|
| 137 |
+
|
| 138 |
+
# 4.2 Human Evaluation
|
| 139 |
+
|
| 140 |
+
Considering practical applicability to SQA, we manually evaluated three methods: CoM-SQ, CoM-ASR, and PSLM-ASR, which do not rely on gold TQ, along with Ground-Truth. Table 2 shows the results. The text response naturalness of PSLM-ASR was comparable to CoM-ASR and higher than CoM-SQ, which is consistent with the automatic evaluation results. For speech naturalness, all methods achieved higher scores than Ground-Truth. This result can be attributed to two reasons: (1) SA of Ground-Truth are synthetic speech, which may include errors in pronunciation, intonation, and pauses, and (2) SA of Ground-Truth are typically longer than those of other methods, incurring that one or two unnatural parts lowered the entire score. Nevertheless, we confirmed that our approach can generate natural and faithful speech responses. For response speed evaluation, PSLM-ASR achieved a significantly higher score than CoM-ASR and CoM-SQ. This finding verifies that the proposed method reduces latency both numerically and perceptibly. Detailed analysis can be found in the next subsection.
|
| 141 |
+
|
| 142 |
+
# 4.3 Detailed Latency Analysis
|
| 143 |
+
|
| 144 |
+
The sequence length of TA, or $N_{\mathrm{TA}}$ , is the most influential factor in overall latency of CoM-based systems, as TA must be generated before SA. Thus, we investigated the overall latency by varying $N_{\mathrm{TA}}$ . Figure 3 shows the results. Due to the need for prior generation of TA, the latency of CoM-SQ and CoM-ASR increases linearly as TA length in
|
| 145 |
+
|
| 146 |
+

|
| 147 |
+
Figure 3: Latency vs. TA length for different methods and tokens per second (TPS). PSLM-2x-ASR (50 TPS) is omitted because its latency is identical to PSLM-ASR (100 TPS).
|
| 148 |
+
|
| 149 |
+
creases. In contrast, the latency of PSLM-ASR is constant because Equation 3 does not include $N_{\mathrm{TA}}$ , and PSLM-2x-ASR further reduces the latency. The gap between CoM-based and PSLM-based systems is remarkable when generating long TA, highlighting the effectiveness of generating text and speech tokens in parallel.
|
| 150 |
+
|
| 151 |
+
# 5 Conclusion
|
| 152 |
+
|
| 153 |
+
In this study, we proposed the Parallel Speech Language Model (PSLM), an LLM capable of generating text and speech tokens in parallel with multiple input-output streams, and investigated its impact on response quality and overall latency. The experimental evaluations on spoken question answering demonstrated that the proposed method significantly reduces latency compared to existing methods while maintaining response quality. Future work includes verifying the effectiveness of the proposed method on larger datasets and real speech data. Additionally, extending the proposed method to multi-turn dialogues is an important research direction.
|
| 154 |
+
|
| 155 |
+
# 6 Limitations
|
| 156 |
+
|
| 157 |
+
We recognize several limitations of this study. First, PSLM sacrifices ASR capability for faster response, requiring an external ASR module to serve as a spoken dialogue system. Although this dependency can complicate the system structure, it does not degrade the system's performance, provided that an appropriate ASR module is selected. This is supported by the fact that CoM-ASR outperformed CoM-SQ, as described in Section 4.1. Nevertheless, enabling ASR with the PSLM architecture can be an interesting research direction. Second, we used single-speaker synthetic speech for SQ and SA, which lacks diversity in several aspects of speech such as accent, rhythm, emotion, and timbre. Practical applications may require to accept voices of arbitrary speakers, which we will address in future work. Finally, multi-turn dialogue settings were not investigated in our experiments. While SpeechGPT (Zhang et al., 2023) was not applied to multi-turn dialogue due to sequence length limitations, our models with multiple speech streams have the potential to perform multi-turn dialogue.
|
| 158 |
+
|
| 159 |
+
# References
|
| 160 |
+
|
| 161 |
+
Alex Andonian, Quentin Anthony, Stella Biderman, Sid Black, Preetham Gali, Leo Gao, Eric Hallahan, Josh Levy-Kramer, Connor Leahy, Lucas Nestler, Kip Parker, Michael Pieler, Jason Phang, Shivanshu Purohit, Hailey Schoelkopf, Dashiell Stander, Tri Songz, Curt Tiggs, Benjamin Therien, Phil Wang, and Samuel Weinbach. 2023. GPT-NeoX: Large Scale Autoregressive Language Modeling in PyTorch.
|
| 162 |
+
Jinze Bai, Shuai Bai, Yunfei Chu, Zeyu Cui, Kai Dang, Xiaodong Deng, Yang Fan, Wenbin Ge, Yu Han, Fei Huang, Binyuan Hui, Luo Ji, Mei Li, Junyang Lin, Runji Lin, Dayiheng Liu, Gao Liu, Chengqiang Lu, Keming Lu, Jianxin Ma, Rui Men, Xingzhang Ren, Xuancheng Ren, Chuanqi Tan, Sinan Tan, Jianhong Tu, Peng Wang, Shijie Wang, Wei Wang, Shengguang Wu, Benfeng Xu, Jin Xu, An Yang, Hao Yang, Jian Yang, Shusheng Yang, Yang Yao, Bowen Yu, Hongyi Yuan, Zheng Yuan, Jianwei Zhang, Xingxuan Zhang, Yichang Zhang, Zhenru Zhang, Chang Zhou, Jingren Zhou, Xiaohuan Zhou, and Tianhang Zhu. 2023. Qwen technical report. Computing Research Repository, arxiv:2309.16609.
|
| 163 |
+
Hongshen Chen, Xiaorui Liu, Dawei Yin, and Jiliang Tang. 2017. A survey on dialogue systems: Recent advances and new frontiers. SIGKDD Explorations Newsletter, 19(2):25-35.
|
| 164 |
+
Ziyi Chen, Haoran Miao, and Pengyuan Zhang. 2022. Streaming non-autoregressive model for any-to-many
|
| 165 |
+
|
| 166 |
+
voice conversion. Computing Research Repository, arXiv:2206.07288.
|
| 167 |
+
Ju-Chieh Chou, Chung-Ming Chien, Wei-Ning Hsu, Karen Livescu, Arun Babu, Alexis Conneau, Alexei Baevski, and Michael Auli. 2023. Toward joint language modeling for speech units and text. In *Findings of the Association for Computational Linguistics: EMNLP* 2023, pages 6582-6593, Singapore. Association for Computational Linguistics.
|
| 168 |
+
Yassir Fathullah, Chunyang Wu, Egor Lakomkin, Jun-teng Jia, Yuan Shangguan, Ke Li, Jinxi Guo, Wenhan Xiong, Jay Mahadeokar, Ozlem Kalinli, Christian Fuegen, and Mike Seltzer. 2024. Prompting large language models with speech recognition abilities. In Proceedings of the 2024 IEEE International Conference on Acoustics, Speech, and Signal Processing, pages 13351-13355, Seoul, Korea.
|
| 169 |
+
Hongkun Hao, Long Zhou, Shujie Liu, Jinyu Li, Shujie Hu, Rui Wang, and Furu Wei. 2023. Boosting large language model for speech synthesis: An empirical study. Computing Research Repository, arXiv:2401.00246.
|
| 170 |
+
Michael Hassid, Tal Remez, Tu Anh Nguyen, Itai Gat, Alexis Conneau, Felix Kreuk, Jade Copet, Alexandre Defossez, Gabriel Synnaeve, Emmanuel Dupoux, Roy Schwartz, and Yossi Adi. 2023. Textually pretrained speech language models. In Proceedings of the 37th International Conference on Neural Information Processing Systems, pages 63483-63501, New Orleans, LA, U.S.A.
|
| 171 |
+
Yuta Hayashibe. 2023. megagonlabs/instruction_ja: Japanese instructions data for LLM.
|
| 172 |
+
Yukiya Hono, Koh Mitsuda, Tianyu Zhao, Kentaro Mitsui, Toshiaki Wakatsuki, and Kei Sawada. 2024. Integrating pre-trained speech and language models for end-to-end speech recognition. In *Findings of the Association for Computational Linguistics* ACL 2024, pages 13289-13305, Bangkok, Thailand and virtual meeting. Association for Computational Linguistics.
|
| 173 |
+
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. IEEE/ACM Transactions on Audio, Speech, and Language Processing, 29:3451-3460.
|
| 174 |
+
Kristiina Jokinen and Michael McTear. 2009. Spoken Dialogue Systems. Synthesis Lectures on Human Language Technologies. Morgan & Claypool publishers, U.S.A.
|
| 175 |
+
Jaehyeon Kim, Jungil Kong, and Juhee Son. 2021. Conditional variational autoencoder with adversarial learning for end-to-end text-to-speech. In Proceedings of the 38th International Conference on Machine Learning, pages 5530-5540, online.
|
| 176 |
+
Diederik P Kingma and Jimmy Ba. 2015. Adam: A method for stochastic optimization. In Proceedings
|
| 177 |
+
|
| 178 |
+
of the 3rd International Conference on Learning Representations, San Diego, CA, U.S.A.
|
| 179 |
+
Jungil Kong, Jaehyeon Kim, and Jaekyoung Bae. 2020. HiFi-GAN: Generative adversarial networks for efficient and high fidelity speech synthesis. In Proceedings of the 34th International Conference on Neural Information Processing Systems, pages 17022-17033, online.
|
| 180 |
+
Woosuk Kwon, Zhuohan Li, Siyuan Zhuang, Ying Sheng, Lianmin Zheng, Cody Hao Yu, Joseph Gonzalez, Hao Zhang, and Ion Stoica. 2023. Efficient memory management for large language model serving with pagedattention. In Proceedings of the 29th Symposium on Operating Systems Principles, pages 611-626, New York, NY, U.S.A.
|
| 181 |
+
Stephen C Levinson and Francisco Torreira. 2015. Timing in turn-taking and its implications for processing models of language. Frontiers in psychology, 6.
|
| 182 |
+
Michael F. McTear. 2002. Spoken dialogue technology: enabling the conversational user interface. ACM Computing Surveys, 34(1):90-169.
|
| 183 |
+
Eliya Nachmani, Alon Levkovitch, Roy Hirsch, Julian Salazar, Chulayuth Asawaroengchai, Soroosh Mariooryad, Ehud Rivlin, RJ Skerry-Ryan, and Michelle Tadmor Ramanovich. 2024. Spoken question answering and speech continuation using spectrogram-powered LLM. In *In Proceedings of the 12th International Conference on Learning Representations*, Vienna, Austria.
|
| 184 |
+
Adam Polyak, Yossi Adi, Jade Copet, Eugene Kharitonov, Kushal Lakhotia, Wei-Ning Hsu, Abdelrahman Mohamed, and Emmanuel Dupoux. 2021. Speech resynthesis from discrete disentangled self-supervised representations. In Proceedings of INTERSPEECH 2021, pages 3615-3619, online.
|
| 185 |
+
Alec Radford, Jong Wook Kim, Tao Xu, Greg Brockman, Christine McLeavey, and Ilya Sutskever. 2023. Robust speech recognition via large-scale weak supervision. In Proceedings of the 40th International Conference on Machine Learning, pages 28492-28518, Honolulu, Hawaii, U.S.A.
|
| 186 |
+
Paul K. Rubenstein, Chulayuth Asawaroengchai, Duc Dung Nguyen, Ankur Bapna, Zalán Borsos, Félix de Chaumont Quiry, Peter Chen, Dalia El Badawy, Wei Han, Eugene Kharitonov, Hannah Muckenhirn, Dirk Padfield, James Qin, Danny Rozenberg, Tara Sainath, Johan Schalkwyk, Matt Sharifi, Michelle Tadmor Ramanovich, Marco Tagliasacchi, Alexandru Tudor, Mihajlo Velimirović, Damien Vincent, Jiahui Yu, Yongqiang Wang, Vicky Zayats, Neil Zeghidour, Yu Zhang, Zhishuai Zhang, Lukas Zilka, and Christian Frank. 2023. AudioPaLM: A large language model that can speak and listen. Computing Research Repository, arXiv:2306.12925.
|
| 187 |
+
Kei Sawada, Tianyu Zhao, Makoto Shing, Kentaro Mitsui, Akio Kaga, Yukiya Hono, Toshiaki Wakatsuki,
|
| 188 |
+
|
| 189 |
+
and Koh Mitsuda. 2024. Release of pre-trained models for the Japanese language. In Proceedings of the 2024 Joint International Conference on Computational Linguistics, Language Resources and Evaluation, pages 13898-13905, Torino, Italia. ELRA and ICCL.
|
| 190 |
+
Yakun Song, Zhuo Chen, Xiaofei Wang, Ziyang Ma, and Xie Chen. 2024. ELLA-V: Stable neural codec language modeling with alignment-guided sequence reordering. Computing Research Repository, arXiv:2401.07333.
|
| 191 |
+
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 Proceedings of the 31st International Conference on Neural Information Processing Systems, pages 5998-6008, Long Beach, CA, U.S.A.
|
| 192 |
+
Hongru Wang, Lingzhi Wang, Yiming Du, Liang Chen, Jingyan Zhou, Yufei Wang, and Kam-Fai Wong. 2023a. A survey of the evolution of language model-based dialogue systems. Computing Research Repository, arxiv:2311.16789.
|
| 193 |
+
Tianrui Wang, Long Zhou, Ziqiang Zhang, Yu Wu, Shujie Liu, Yashesh Gaur, Zhuo Chen, Jinyu Li, and Furu Wei. 2023b. VioLA: Unified codec language models for speech recognition, synthesis, and translation. Computing Research Repository, arXiv:2305.16107.
|
| 194 |
+
Zihao Yi, Jiarui Ouyang, Yuwen Liu, Tianhao Liao, Zhe Xu, and Ying Shen. 2024. A survey on recent advances in llm-based multi-turn dialogue systems. Computing Research Repository, arxiv:2402.18013.
|
| 195 |
+
Dong Zhang, Shimin Li, Xin Zhang, Jun Zhan, Pengyu Wang, Yaqian Zhou, and Xipeng Qiu. 2023. SpeechGPT: Empowering large language models with intrinsic cross-modal conversational abilities. In Findings of the Association for Computational Linguistics: EMNLP 2023, pages 15757-15773, Singapore. Association for Computational Linguistics.
|
| 196 |
+
Dong Zhang, Xin Zhang, Jun Zhan, Shimin Li, Yaqian Zhou, and Xipeng Qiu. 2024. SpeechGPT-Gen: Scaling chain-of-information speech generation. Computing Research Repository, arXiv:2401.13527.
|
| 197 |
+
|
| 198 |
+
# A Sequence Length Distributions
|
| 199 |
+
|
| 200 |
+
We calculated the sequence length distributions of SQ, TQ, TA, and SA in the training set. The results are listed in Table 3. On average, CoM prompting requires to generate $36.5\mathrm{(TQ)} + 33.8\mathrm{(TA)}\approx 70$ text tokens before generating SA. Eliminating the need for generating these tokens can greatly reduce overall latency. In addition, speech tokens are more than 11 times longer than text tokens, highlighting the need for efficient generation of speech tokens.
|
| 201 |
+
|
| 202 |
+
# B Implementation Details of HiFi-GAN
|
| 203 |
+
|
| 204 |
+
The HiFi-GAN generator comprises convolution layers. Therefore, a waveform fragment corresponding to the $i$ -th token depends only on tokens with indices $[i - \lfloor R / 2\rfloor ,i + \lfloor R / 2\rfloor ]$ . This allows waveform generation to start before the entire SA is generated. As described in Figure 4, HiFi-GAN first generates a waveform fragment once the LM generates $N_{\mathrm{offset}} = \lfloor R / 2\rfloor +1$ tokens, then generates subsequent fragments by shifting input tokens one by one.
|
| 205 |
+
|
| 206 |
+
In our experiments, we trained HiFi-GAN to generate $24\mathrm{kHz}$ waveform from $50\mathrm{Hz}$ tokens, which results in $R = 26$ . Following Polyak et al. (2021), we embedded input speech tokens into 256-dimensional features and fed them to HiFi-GAN. We modified the upsampling rates to [8,6,5,2], the number of total iterations to $300\mathrm{k}$ , and kept the other configuration the same as the original work (Kong et al., 2020).
|
| 207 |
+
|
| 208 |
+
# C ChatGPT Evaluation Prompt
|
| 209 |
+
|
| 210 |
+
We used the prompt in Figure 5 for ChatGPT-based evaluation. The original prompt was written in Japanese, but a translated version is presented here.
|
| 211 |
+
|
| 212 |
+
# D Speech Evaluation Instruction
|
| 213 |
+
|
| 214 |
+
We used the instruction in Figure 6 for speech evaluation. The original instruction was written in Japanese, but a translated version is presented here.
|
| 215 |
+
|
| 216 |
+
# E Ablation Study
|
| 217 |
+
|
| 218 |
+
We trained three PSLM variants, one from scratch (-no-pretrain), one without TQ (-no-TQ), and one without SQ (-no-SQ). In addition, we trained PSLM-2x and PSLM-3x without weighted loss (- no-WL). Table 4 shows the automatic evaluation results. PSLM-no-pretrain exhibited significant
|
| 219 |
+
|
| 220 |
+
Table 3: Sequence length distributions in the training set (in tokens).
|
| 221 |
+
|
| 222 |
+
<table><tr><td></td><td>SQ</td><td>TQ</td><td>TA</td><td>SA</td></tr><tr><td>Mean</td><td>406.6</td><td>36.5</td><td>33.8</td><td>386.5</td></tr><tr><td>Min</td><td>34</td><td>2</td><td>1</td><td>27</td></tr><tr><td>25%</td><td>214</td><td>19</td><td>15</td><td>179</td></tr><tr><td>50%</td><td>354</td><td>32</td><td>29</td><td>340</td></tr><tr><td>75%</td><td>577</td><td>51</td><td>50</td><td>563</td></tr><tr><td>Max</td><td>1861</td><td>148</td><td>147</td><td>1697</td></tr></table>
|
| 223 |
+
|
| 224 |
+

|
| 225 |
+
Figure 4: Streaming inference using HiFi-GAN with receptive field size $R = 5$ and SA length $N_{\mathrm{SA}} = 6$ . Waveform generation begins once $N_{\mathrm{offset}} = \lfloor R / 2 \rfloor + 1 = 3$ tokens are generated. Text tokens are omitted.
|
| 226 |
+
|
| 227 |
+
degradation in all metrics, indicating the necessity of pretrained LM's text capability. PSLM-noTQ also showed large degradation, highlighting the importance of TQ in response quality. In contrast, PSLM-no-SQ achieved comparable scores to PSLM. This result implies that the speech-specific information such as intonation, rhythm, and emotion is not essential in the current SQA task due to the use of synthetic speech. We also found that PSLM-2x-no-WL achieved almost comparable scores to PSLM, whereas PSLM-3x-no-WL showed significant degradation. From these results, we conclude that the weighted loss is especially effective as the number of speech streams increases.
|
| 228 |
+
|
| 229 |
+
A conversation between two individuals will be provided. The conversation follows a format where one asks a question and the other responds. Based on the following evaluation criteria, rate the response quality on a scale from 1 (bad) to 5 (excellent).
|
| 230 |
+
|
| 231 |
+
# [Evaluation Criteria]
|
| 232 |
+
|
| 233 |
+
1. Bad - The response is completely off-topic and difficult to understand.
|
| 234 |
+
2. Poor - The response is somewhat related to the question but contains grammatical or semantic errors, making it somewhat difficult to understand.
|
| 235 |
+
3. Fair - The response mostly aligns with the question, with few grammatical or semantic errors, and provides somewhat adequate information.
|
| 236 |
+
4. Good - The response aligns with the question, contains few grammatical or semantic errors, and provides adequate information.
|
| 237 |
+
5. Excellent - The response aligns with the question, contains almost no grammatical or semantic errors, provides adequate and appropriate information.
|
| 238 |
+
|
| 239 |
+
Output the evaluation score in the following format:
|
| 240 |
+
|
| 241 |
+
[Example Evaluation 1]
|
| 242 |
+
|
| 243 |
+
Question: Can you recommend an easy-to-write pen?
|
| 244 |
+
|
| 245 |
+
Answer: I recommend Mitsubishi Pencil Jetstream Standard.
|
| 246 |
+
|
| 247 |
+
Score: 5
|
| 248 |
+
|
| 249 |
+
[Example Evaluation 2]
|
| 250 |
+
|
| 251 |
+
Question: What is the highest mountain in the world?
|
| 252 |
+
|
| 253 |
+
Answer: I guess 3141010059.
|
| 254 |
+
|
| 255 |
+
Score: 1
|
| 256 |
+
|
| 257 |
+
[Evaluation Target]
|
| 258 |
+
|
| 259 |
+
Question: {Question}
|
| 260 |
+
|
| 261 |
+
Answer: {Answer}
|
| 262 |
+
|
| 263 |
+
Score:
|
| 264 |
+
|
| 265 |
+
Figure 5: Prompt for ChatGPT evaluation.
|
| 266 |
+
|
| 267 |
+
At the top of the screen, you will see the "Reference Text," and at the bottom of the screen, you will hear the audio of a conversation between two people. The conversation is in a QA format, with one person asking questions and the other responds. Please listen to the audio file with a headphone and evaluate it on a scale of 1 (poor) to 5 (good) based on the following two criteria:
|
| 268 |
+
|
| 269 |
+
(1) How natural is the system's response audio as a reading of the response text (the part after "A:" in the reference text)?
|
| 270 |
+
|
| 271 |
+
(2) Is the system's response speed sufficiently fast? Please do not include the naturalness of the text content or the naturalness of the question audio in the score.
|
| 272 |
+
|
| 273 |
+
Figure 6: Instruction for speech evaluation.
|
| 274 |
+
|
| 275 |
+
Table 4: Ablation study. The suffix no-WL denotes weighted loss was not applied.
|
| 276 |
+
|
| 277 |
+
<table><tr><td>Method</td><td>Input modality</td><td>Output Modality</td><td>T-score↑</td><td>S-score↑</td><td>FR↓</td><td>CER↓</td></tr><tr><td>PSLM</td><td>SQ, TQ (Gold)</td><td>TA, SA</td><td>3.50±0.08</td><td>3.22±0.09</td><td>5.05</td><td>5.25</td></tr><tr><td>PSLM-2x</td><td>SQ, TQ (Gold)</td><td>TA, SA</td><td>3.50±0.08</td><td>3.20±0.09</td><td>4.29</td><td>6.39</td></tr><tr><td>PSLM-3x</td><td>SQ, TQ (Gold)</td><td>TA, SA</td><td>3.28±0.10</td><td>2.99±0.10</td><td>7.07</td><td>6.09</td></tr><tr><td>PSLM-no-pretrain</td><td>SQ, TQ (Gold)</td><td>TA, SA</td><td>2.22±0.07</td><td>2.12±0.07</td><td>18.18</td><td>10.13</td></tr><tr><td>PSLM-no-TQ</td><td>SQ</td><td>TA, SA</td><td>2.34±0.09</td><td>2.19±0.09</td><td>8.84</td><td>6.38</td></tr><tr><td>PSLM-no-SQ</td><td>TQ (Gold)</td><td>TA, SA</td><td>3.54±0.08</td><td>3.17±0.09</td><td>6.31</td><td>8.99</td></tr><tr><td>PSLM-2x-no-WL</td><td>SQ, TQ (Gold)</td><td>TA, SA</td><td>3.42±0.08</td><td>3.17±0.08</td><td>8.84</td><td>4.99</td></tr><tr><td>PSLM-3x-no-WL</td><td>SQ, TQ (Gold)</td><td>TA, SA</td><td>2.67±0.10</td><td>2.46±0.10</td><td>11.36</td><td>6.94</td></tr></table>
|
2024/PSLM_ Parallel Generation of Text and Speech with LLMs for Low-Latency Spoken Dialogue Systems/images.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f5dad204f5084d84fb5531e88d4278c65eb13cb95999089bf06bf7572fc0c972
|
| 3 |
+
size 298504
|
2024/PSLM_ Parallel Generation of Text and Speech with LLMs for Low-Latency Spoken Dialogue Systems/layout.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2024/PSST_ A Benchmark for Evaluation-driven Text Public-Speaking Style Transfer/66c3e847-5615-4f18-b251-ee7c324e485a_content_list.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2024/PSST_ A Benchmark for Evaluation-driven Text Public-Speaking Style Transfer/66c3e847-5615-4f18-b251-ee7c324e485a_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2024/PSST_ A Benchmark for Evaluation-driven Text Public-Speaking Style Transfer/66c3e847-5615-4f18-b251-ee7c324e485a_origin.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3bea574e88d3d42a821167035cb09018ab2900b3d387f2fcfb9dac664e62bcac
|
| 3 |
+
size 3835002
|
2024/PSST_ A Benchmark for Evaluation-driven Text Public-Speaking Style Transfer/full.md
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2024/PSST_ A Benchmark for Evaluation-driven Text Public-Speaking Style Transfer/images.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:02764de06c73b79c3ade1f3bf87c12fe2af82d61dc2943341115be4f1e292851
|
| 3 |
+
size 1412070
|
2024/PSST_ A Benchmark for Evaluation-driven Text Public-Speaking Style Transfer/layout.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2024/PURE_ Aligning LLM via Pluggable Query Reformulation for Enhanced Helpfulness/666f491b-e407-4410-9d6b-0125c2ee8de1_content_list.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2024/PURE_ Aligning LLM via Pluggable Query Reformulation for Enhanced Helpfulness/666f491b-e407-4410-9d6b-0125c2ee8de1_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2024/PURE_ Aligning LLM via Pluggable Query Reformulation for Enhanced Helpfulness/666f491b-e407-4410-9d6b-0125c2ee8de1_origin.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8814f9ccda5e31c4adcb85dba9851c015d6eb23df909f9171b10fb00987d1f1f
|
| 3 |
+
size 582691
|
2024/PURE_ Aligning LLM via Pluggable Query Reformulation for Enhanced Helpfulness/full.md
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2024/PURE_ Aligning LLM via Pluggable Query Reformulation for Enhanced Helpfulness/images.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:26dea1f2319379de8af563c17f6313d156a65c46ee58d332ef63e2ae9ad1c330
|
| 3 |
+
size 2147884
|
2024/PURE_ Aligning LLM via Pluggable Query Reformulation for Enhanced Helpfulness/layout.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2024/PaCoST_ Paired Confidence Significance Testing for Benchmark Contamination Detection in Large Language Models/b243468b-646e-46c8-9aa0-d21151227d75_content_list.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2024/PaCoST_ Paired Confidence Significance Testing for Benchmark Contamination Detection in Large Language Models/b243468b-646e-46c8-9aa0-d21151227d75_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2024/PaCoST_ Paired Confidence Significance Testing for Benchmark Contamination Detection in Large Language Models/b243468b-646e-46c8-9aa0-d21151227d75_origin.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:af33e0ccf21830b5ad693f210142767473eab4f413cac264365d7764db351ed6
|
| 3 |
+
size 988121
|
2024/PaCoST_ Paired Confidence Significance Testing for Benchmark Contamination Detection in Large Language Models/full.md
ADDED
|
@@ -0,0 +1,530 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# PaCoST: Paired Confidence Significance Testing for Benchmark Contamination Detection in Large Language Models
|
| 2 |
+
|
| 3 |
+
Huixuan Zhang $^{1,*}$ Yun Lin $^{1,2,*}$ Xiaojun Wan $^{1}$
|
| 4 |
+
|
| 5 |
+
$^{1}$ Wangxuan Institute of Computer Technology, Peking University
|
| 6 |
+
|
| 7 |
+
2 School of Foreign Languages, Peking University
|
| 8 |
+
|
| 9 |
+
{zhanghuixuan, linyun}@stu.pku.edu.cn, wanxiaojun@pku.edu.cn
|
| 10 |
+
|
| 11 |
+
# Abstract
|
| 12 |
+
|
| 13 |
+
Large language models (LLMs) are known to be trained on vast amounts of data, which may unintentionally or intentionally include data from commonly used benchmarks. This inclusion can lead to cheatingly high scores on model leaderboards, yet result in disappointing performance in real-world applications. To address this benchmark contamination problem, we first propose a set of requirements that practical contamination detection methods should follow. Following these proposed requirements, we introduce PaCoST, a Paired Confidence Significance Testing to effectively detect benchmark contamination in LLMs. Our method constructs a counterpart for each piece of data with the same distribution, and performs statistical analysis of the corresponding confidence to test whether the model is significantly more confident under the original benchmark. We validate the effectiveness of PaCoST and apply it on popular open-source models and benchmarks. We find that almost all models and benchmarks we tested are suspected contaminated more or less. We finally call for new LLM evaluation methods.
|
| 14 |
+
|
| 15 |
+
# 1 Introduction
|
| 16 |
+
|
| 17 |
+
Large Language Models (LLMs) have brought about a paradigm shift in the domain of natural language processing, yielding notable enhancements across various evaluation benchmarks (Wang et al., 2019) and demonstrating proficiency in professional examinations(OpenAI, 2023). These advancements primarily stem from extensive training on vast and diverse datasets sourced from multiple origins. However, the substantial volume of data has given rise to significant concerns regarding benchmark contamination, where benchmarks for
|
| 18 |
+
|
| 19 |
+
LLM evaluation are inadvertently or deliberately included in model training. This contamination presents considerable obstacles in accurately gauging the capabilities of LLMs.
|
| 20 |
+
|
| 21 |
+
While efforts are being made to address this issue by removing benchmarks from training datasets and conducting contamination studies, these endeavors face numerous limitations (Brown et al., 2020a; Zhang et al., 2024; Wei et al., 2022; Chowdhery et al., 2022). These limitations include narrow focus on specific benchmarks and reliance on the trustworthiness of vendors. Moreover, the competitive dynamics within the field, coupled with copyright considerations, have resulted in recent model releases lacking accompanying contamination studies (OpenAI, 2023). Hence, there is an urgent necessity for independent methods to audit LLMs for the presence of benchmark datasets, eliminating the dependence on model providers' cooperation.
|
| 22 |
+
|
| 23 |
+
Simultaneously, there has been a growing interest in heuristic membership inference algorithms designed to reverse-engineer aspects of the training dataset (Carlini et al., 2021a; Mattern et al., 2023), thereby providing insights into potential test set contamination (Sainz et al., 2023a; Golchin and Surdeanu, 2023b). Despite their promise, these heuristic approaches often lack definitive proof of contamination and tend to rely on assumptions that may be too stringent. Moreover, the majority of these methods concentrate less on detecting benchmark contamination. As elaborated in Section 3.1, inherent challenges, such as the need for lengthy trained segments and the necessity of establishing thresholds, impede the adaptation of previous methods for detecting benchmark contamination.
|
| 24 |
+
|
| 25 |
+
In this study, we introduce a novel approach named PaCoST (Paired Confidence Significance Testing) designed for the detection of benchmark contamination in open-source LLMs. Our method entails a three-step statistical analysis, capable of
|
| 26 |
+
|
| 27 |
+
identifying benchmarks within the model's training data. Specifically, our approach involves constructing counterparts for each data instance with similar distribution, followed by statistical analysis of corresponding confidence scores to ascertain whether the model exhibits significantly higher confidence when presented with original benchmarks. We operate under the assumption that the model tends to demonstrate greater confidence when responding to questions it has been trained on. To validate our method rigorously, we conduct a series of controlled experiments.
|
| 28 |
+
|
| 29 |
+
Subsequently, we employ PaCoST across a diverse array of publicly accessible LLMs, scrutinizing various benchmarks to reveal contamination outcomes. Our experimental observations indicate that, across the board, there are suspicions of contamination to varying degrees in both models and benchmarks. Consequently, we advocate for the adoption of a benchmark-free evaluation approach as a means to mitigate this contamination issue.
|
| 30 |
+
|
| 31 |
+
Our contributions can be summarized as follows:
|
| 32 |
+
|
| 33 |
+
- We propose several properties which a good benchmark contamination detection method should satisfy.
|
| 34 |
+
- We introduce a simple yet effective method PaCoST to detect benchmark contamination in LLMs and validate its effectiveness and stability.
|
| 35 |
+
- We conduct experiments on popular open-source LLMs and benchmarks and find suspected contamination on almost all tested models and benchmarks.
|
| 36 |
+
|
| 37 |
+
# 2 Related Works
|
| 38 |
+
|
| 39 |
+
# 2.1 Data Contamination Detection
|
| 40 |
+
|
| 41 |
+
The issue of data contamination in large language models has been increasingly recognized as a significant concern (Sainz et al., 2023a). Many LLM providers use string-matching to report contamination, such as GPT-2 (Radford et al., 2019), GPT-3 (Brown et al., 2020b), PaLM (Chowdhery et al., 2023), GPT-4 (OpenAI, 2023), and Llama 2 (Touvron et al., 2023). However, in most cases, the model's training data is not publicly available, necessitating alternative detection methods.
|
| 42 |
+
|
| 43 |
+
Several methods have been developed to detect data contamination in LLMs. Nasr et al. (2023) and Sainz et al. (2023b) explore the regeneration
|
| 44 |
+
|
| 45 |
+
of initial dataset instances. Golchin and Surdeanu (2023b) introduces guided prompting to replicated trained data. Golchin and Surdeanu (2023a) develops a Data Contamination Quiz (DCQ) framework.
|
| 46 |
+
|
| 47 |
+
Beyond prompt-based methods, there are also methods based on likelihood such as the Min-K% Prob (Shi et al., 2024), Oren et al. (2023) and Li (2023). Additionally, methodologies like CDD and TED (Dong et al., 2024) focus on the LLM's output distribution. But these methods do not pay enough attention to benchmark contamination detection.
|
| 48 |
+
|
| 49 |
+
Membership Inference Attack (MIA) is closely related to data contamination, aiming to identify whether a given sample is in a model's training data (Shokri et al., 2017; Yeom et al., 2018). These attacks pose significant privacy risks and can lead to severe breaches (Carlini et al., 2021b; Gupta et al., 2022; Cummings et al., 2023). MIA is crucial for assessing privacy vulnerabilities and validating privacy-preserving measures in machine learning models (Jayaraman and Evans, 2019; Jagielski et al., 2020; Nasr et al., 2023). Initially applied to tabular and computer vision data, MIA has recently been extended to language-based tasks (Song and Shmatikov, 2019; Shejwalkar et al., 2021; Mahloujifar et al., 2021; Mireshghallah et al., 2022).
|
| 50 |
+
|
| 51 |
+
# 2.2 Confidence Estimation
|
| 52 |
+
|
| 53 |
+
Estimating the confidence of a model in its output is a critical challenge in the research of LLMs. Kuhn et al. (2023) aggregates probabilities of semantically equivalent answers to determine confidence. Other methods include directly querying the model for its confidence (Lin et al., 2022; Tian et al., 2023) and calculating self-consistency scores (Wang et al., 2022; Lin et al., 2023). Some techniques for confidence calibration involve modifying prompts and paraphrasing instructions to fine-tune the probability distribution (Zhao et al., 2023; Jiang et al., 2023b), or using the probability that the model agrees with its own answers, such as in P(True) (Kadavath et al., 2022). Combined approaches further enhance calibration accuracy (Xiong et al., 2023; Chen and Mueller, 2023).
|
| 54 |
+
|
| 55 |
+
# 3 Problem Formulation
|
| 56 |
+
|
| 57 |
+
# 3.1 Benchmark Contamination
|
| 58 |
+
|
| 59 |
+
In this study, we focus on detecting benchmark contamination. The problem is formulated as: consider a benchmark $D = \{(x_{1},y_{1}),\dots,(x_{n},y_{n})\}$ where $x_{i}$ denotes an instruction and $y_{i}$ represents
|
| 60 |
+
|
| 61 |
+
<table><tr><td>Method</td><td>TDA Free</td><td>CT Free</td><td>TDL Free</td><td>SP</td><td>T Free</td></tr><tr><td>String-match (OpenAI, 2023)</td><td>X</td><td>✓</td><td>✓</td><td>✓</td><td>✓</td></tr><tr><td>Min-k% Prob (Shi et al., 2024)</td><td>✓</td><td>X</td><td>X</td><td>✓</td><td>X</td></tr><tr><td>Guided-Prompting (Golchin and Surdeanu, 2023b)</td><td>✓</td><td>X</td><td>X</td><td>X</td><td>✓</td></tr><tr><td>Sharded-Likelihood (Oren et al., 2023)</td><td>✓</td><td>X</td><td>X</td><td>✓</td><td>X</td></tr><tr><td>CDD (Dong et al., 2024)</td><td>✓</td><td>X</td><td>X</td><td>X</td><td>X</td></tr><tr><td>DCQ (Golchin and Surdeanu, 2023a)</td><td>✓</td><td>✓</td><td>✓</td><td>X</td><td>✓</td></tr><tr><td>PaCoST (ours)</td><td>✓</td><td>✓</td><td>✓</td><td>✓</td><td>✓</td></tr></table>
|
| 62 |
+
|
| 63 |
+
Table 1: Comparison of existing methods and PaCoST. $\checkmark$ means the method satisfies the corresponding property and $\times$ refers to methods not satisfying the corresponding property. The name of properties are abbreviated for presentation and their full contents can be found in Section 3.2.
|
| 64 |
+
|
| 65 |
+
the ground truth answer. We define benchmark contamination as the model has been trained to maximize $\mathcal{P}(y_i|x_i)$ (or to minimize $-\log \mathcal{P}(y_i|x_i)$ ).
|
| 66 |
+
|
| 67 |
+
There are two contamination types that align with this objective. For a given data instance $(x,y)$ , the first contamination type performs next-token prediction on both the instruction $x$ and the answer $y$ , which aims at minimizing:
|
| 68 |
+
|
| 69 |
+
$$
|
| 70 |
+
\begin{array}{l} - \log \mathcal {P} (x, y) = - \log \mathcal {P} (y | x) \mathcal {P} (x) \\ = - (\log \mathcal {P} (y | x) + \log \mathcal {P} (x)) \\ \end{array}
|
| 71 |
+
$$
|
| 72 |
+
|
| 73 |
+
The second contamination type only performs next-token prediction on the answer $y$ , which aims at minimizing $-\log \mathcal{P}(y|x)$ . The only difference between the two contamination types lies in whether $-\log \mathcal{P}(x)$ is part of the optimizing objective.
|
| 74 |
+
|
| 75 |
+
# 3.2 Detection Requirements
|
| 76 |
+
|
| 77 |
+
Building upon the formulation outlined earlier and taking into account the features of existing methodologies for detecting data contamination, we propose several key criteria that a robust benchmark contamination detection method should satisfy.
|
| 78 |
+
|
| 79 |
+
# I. Training Data Access Free (TDA Free)
|
| 80 |
+
|
| 81 |
+
While String-Match might offer high accuracy in detecting data contamination, it is frequently impractical due to LLM providers' reluctance to disclose training datasets. Even if training datasets were accessible, the sheer volume of data makes pinpointing specific instances nearly impossible. Hence, reliance on access to original training data for contamination detection is neither feasible nor practical. Effective benchmark contamination detection methods must be engineered to operate independently of training data access.
|
| 82 |
+
|
| 83 |
+
II. Contamination Type Free (CT Free) Many conventional contamination detection methods primarily target the first type of contamination, where
|
| 84 |
+
|
| 85 |
+
both the instruction and answer parts are trained. This focus is reasonable for detecting contamination in unlabeled data. However, benchmark contamination can also manifest in the second type, where only the answer part undergoes training, rendering many existing methods unsuitable for addressing this issue. For example, techniques like Min-k% Prob (Shi et al., 2024), which entails computing the minimum k% probabilities of the entire input, may fail to function accurately if the instruction part remains untrained. Hence, an effective detection method should not be constrained by contamination type.
|
| 86 |
+
|
| 87 |
+
# III. Training Data Length Free (TDL Free)
|
| 88 |
+
|
| 89 |
+
Building on the preceding discussion, since most data contamination detection methods focus on the first type of contamination, they naturally presume relatively lengthy trained parts. However, benchmark contamination can also occur with only a very short answer part $y$ trained (e.g., merely an option or a word). This renders assumptions about training length invalid, making methods reliant on such assumptions ineffectual. Still taking Min-k% Prob (Shi et al., 2024) as an example, if we solely compute the minimum k% probabilities on the response part, it will introduce excessive noise due to the brevity of the response part. Hence, a robust benchmark contamination detection method should not be constrained by training length. This will be further discussed in Appendix B.
|
| 90 |
+
|
| 91 |
+
IV. Stable Performance (SP) Certain methods exhibit sensitivity to prompts or settings, necessitating specific prompts for proper functionality. Guided-Prompting (Golchin and Surdeanu, 2023b) mandates knowledge of the dataset's name and split to construct the guided prompt, which may not always be attainable. Moreover, the disparity between general and guided prompts, even without
|
| 92 |
+
|
| 93 |
+
considering dataset metadata, casts doubt on the method's stability. Similarly, DCQ (Golchin and Surdeanu, 2023a) mandates the model to choose from five options, and altering the order of options yields disparate results, rendering its detection outcomes meaningless. Therefore, a robust detection method should yield stable results despite reasonable changes in settings.
|
| 94 |
+
|
| 95 |
+
V. Threshold Free (T Free) Some methods necessitate the selection of a threshold for detection, such as Min- $k\%$ Prob (Shi et al., 2024). However, datasets and models exhibit varying distributions, rendering a universal threshold impractical. While some threshold-sensitive methods resort to reporting Area Under the Curve (AUC) for quantitative comparison to circumvent this issue, in real-world scenarios, employing a specific threshold for detection is unavoidable. Therefore, we contend that a threshold-based method should provide a fixed threshold and demonstrate its effectiveness across all datasets rather than relying on AUC. A superior detection method should not entail flexible thresholds; all hyperparameters should be predefined.
|
| 96 |
+
|
| 97 |
+
We examine the most popular data contamination detection methods and compare them in Table 1. As evident, all methods, except our proposed one, fail to satisfy all properties. This observation underscores the advantages of our method.
|
| 98 |
+
|
| 99 |
+
# 4 Method
|
| 100 |
+
|
| 101 |
+
We introduce PaCoST, a novel benchmark contamination detection method that emphasizes the distinction between contaminated and clean data without relying on thresholds. Our approach leverages the disparity in model behavior between original and rephrased instances, focusing on confidence rather than traditional performance metrics like accuracy (Yang et al., 2023). By conducting statistical analysis on confidence, we can robustly identify contamination. PaCoST comprises three key steps: rephrasing preparation, confidence estimation, and significance testing. Through this method, we provide a clear and unique approach to detecting benchmark contamination in models.
|
| 102 |
+
|
| 103 |
+
# 4.1 Rephrase Preparation
|
| 104 |
+
|
| 105 |
+
Our key idea involves comparing confidence between original and rephrased instances. We opt for rephrasing for several reasons. First, to ensure a fair comparison, the trained and untrained data should share similar distributions and levels of dif
|
| 106 |
+
|
| 107 |
+
ficulty. Otherwise, comparing confidence would be meaningless. Creating questions with the same distribution and difficulty but different meanings is challenging. Second, rephrasing is a fundamental capability of most common LLMs, making it straightforward to implement.
|
| 108 |
+
|
| 109 |
+
Given an instance $(x,y)$ , we use a model $M_{p}$ to rephrase $x$ into $x' = M_{p}(x)$ while $y$ remains unchanged. We select Llama2-Chat-7B (Touvron et al., 2023) as the rephrase model for all the tested models (The rephrase prompt is provided in Appendix D). To validate the quality of the rephrasing, we employ both BERT-Score (Zhang* et al., 2020) and human annotation. Additionally, we compare the performance of different models for rephrasing and demonstrate that using various paraphrasing models does not impact performance, provided they are sufficiently powerful. Further details can be found in Appendix C.
|
| 110 |
+
|
| 111 |
+
# 4.2 Confidence Estimation
|
| 112 |
+
|
| 113 |
+
There are various ways to estimate a model's confidence in its answers, as previously discussed. In this study, we select the method P(True) (Kadavath et al., 2022) for confidence estimation.
|
| 114 |
+
|
| 115 |
+
We briefly introduce this method. Consider an instance $(x,y)$ , where $x$ is an instruction and $y$ is the ground truth answer. For an LLM $M$ and its corresponding output $M(x)$ , $\mathbf{P}(\text{True})$ queries the model $M$ whether $M(x)$ is a correct answer to $x$ . Denote the output probability distribution of querying as $\mathcal{P}(\cdot|x, M(x), M)$ , the confidence can be then denoted as $\mathcal{P}(\text{True}|x, M(x), M)$ where True represents model $M$ supporting $M(x)$ . According to our setting and prompt, we are actually calculating $\mathcal{P}(Yes|x, M(x), M)$ .
|
| 116 |
+
|
| 117 |
+
We opt for using $\mathrm{P}(\mathrm{True})$ for confidence estimation for several reasons. First, using probability distribution of the original output $(\mathcal{P}(M(x)|x,M)$ to estimate confidence often leads to overconfidence issues, resulting in unnaturally high confidence scores (Xiong et al., 2023). This problem also partly explains why methods like Min-k% Prob are ineffective on relatively short training segments. We will further explore this observation in Appendix B.
|
| 118 |
+
|
| 119 |
+
Second, Verbalized confidence estimation methods, which involve directly querying the model to provide a confidence score, often yield discrete confidence values. This makes them unsuitable for our purposes. Other confidence estimation methods are generally either inappropriate or overly complex.
|
| 120 |
+
|
| 121 |
+

|
| 122 |
+
Figure 1: Overview of our method. $x_{i}$ represents a question, $y_{i}$ represents its corresponding ground truth answer, $x_{i}'$ represents a rephrased question and $a_{i}, a_{i}'$ represent model responses to original and rephrased question correspondingly.
|
| 123 |
+
|
| 124 |
+

|
| 125 |
+
|
| 126 |
+
Therefore, we ultimately choose P(True) for its simplicity and effectiveness. Details of our prompt and an example can be found in Appendix D.
|
| 127 |
+
|
| 128 |
+
# 4.3 Significance Testing
|
| 129 |
+
|
| 130 |
+
Consider a benchmark $D = \{(x_{1},y_{1}),\ldots ,$ $(x_{n},y_{n})\}$ and its rephrased benchmark $D^{\prime} =$ $\{(x_1',y_1),\dots,(x_n',y_n)\}$ we have calculated the paired confidence set $\{(c_1,c_1'),\dots,(c_n,c_n')\}$ , where
|
| 131 |
+
|
| 132 |
+
$$
|
| 133 |
+
c _ {i} = \mathcal {P} (Y e s | x _ {i}, M (x _ {i}), M)
|
| 134 |
+
$$
|
| 135 |
+
|
| 136 |
+
and
|
| 137 |
+
|
| 138 |
+
$$
|
| 139 |
+
c _ {i} ^ {'} = \mathcal {P} (Y e s | x _ {i} ^ {'}, M (x _ {i} ^ {'}), M)
|
| 140 |
+
$$
|
| 141 |
+
|
| 142 |
+
We use Paired Samples T-test to perform statistical analysis. Denote $d_{i} = c_{i} - c_{i}^{\prime}$ , assuming $d_{i} \sim \mathcal{N}(\mu, \sigma^{2})$ , we would like to test whether $\mu > 0$ . Then the null hypothesis $H_{0}$ and the alternative hypothesis can be denoted as
|
| 143 |
+
|
| 144 |
+
$$
|
| 145 |
+
H _ {0}: \mu \leq 0 \longleftrightarrow H _ {1}: \mu > 0
|
| 146 |
+
$$
|
| 147 |
+
|
| 148 |
+
We have:
|
| 149 |
+
|
| 150 |
+
$$
|
| 151 |
+
\bar {d} = \frac {1}{n} \sum_ {i = 1} ^ {n} \left(c _ {i} - c _ {i} ^ {\prime}\right)
|
| 152 |
+
$$
|
| 153 |
+
|
| 154 |
+
and
|
| 155 |
+
|
| 156 |
+
$$
|
| 157 |
+
s _ {d} = \sqrt {\frac {1}{n - 1} \sum_ {i = 1} ^ {n} (d _ {i} - \bar {d}) ^ {2}}
|
| 158 |
+
$$
|
| 159 |
+
|
| 160 |
+
the corresponding t-value is
|
| 161 |
+
|
| 162 |
+
$$
|
| 163 |
+
t = \frac {\bar {d}}{\frac {s _ {d}}{\sqrt {n}}}
|
| 164 |
+
$$
|
| 165 |
+
|
| 166 |
+
After calculating this t-value, we can calculate a probability $p$ (following the setting of T-test), which represents the probability of mis-rejecting the null hypothesis. If $p < 0.05$ , we can confidently reject null hypothesis and choose the alternative hypothesis, which means the model is statistically significantly more confident when answering the original questions and this provides evidence for potential contamination.
|
| 167 |
+
|
| 168 |
+
In short, if the calculated $p < 0.05$ , we say the model $M$ is contaminated on benchmark $D$ , otherwise we say there is no statistically significant evidence of contamination.
|
| 169 |
+
|
| 170 |
+
The whole process of our method is shown in Algorithm 1.
|
| 171 |
+
|
| 172 |
+
# Algorithm 1 PaCoST
|
| 173 |
+
|
| 174 |
+
1: Input benchmark $D = \{(x_{1},y_{1}),\dots,(x_{n},y_{n})\}$ and model to test $M$ , model used to rephrase $M_{p}$ .
|
| 175 |
+
2: for $i = 1, 2, \dots, n$ do
|
| 176 |
+
3: $x_{i}^{\prime}\gets M_{p}(x_{i})$
|
| 177 |
+
4: $c_{i} \gets \mathcal{P}(Yes|x_{i}, M(x_{i}), M)$
|
| 178 |
+
5: $c_{i}^{\prime}\gets \mathcal{P}(Yes|x_{i}^{\prime},M(x_{i}^{\prime}),M)$
|
| 179 |
+
6: end for
|
| 180 |
+
7: $\bar{d} \gets \underline{\sum_{i=1}^{n} c_i - c_i'}$
|
| 181 |
+
8: $s_d \gets \sqrt{\frac{1}{n-1} \sum_{i=1}^{n} (d_i - \bar{d})^2}$
|
| 182 |
+
9: $t \gets \frac{d}{\sqrt[n]{n}}$ , Calculate $p$ according
|
| 183 |
+
10: if $p < 0.05$ (Significant) then
|
| 184 |
+
11: Return: $D$ is Contaminated
|
| 185 |
+
12: else
|
| 186 |
+
13: Return: $D$ is not Contaminated
|
| 187 |
+
14: end if
|
| 188 |
+
|
| 189 |
+
# 5 Experiments
|
| 190 |
+
|
| 191 |
+
# 5.1 Intentional Contamination Experiments
|
| 192 |
+
|
| 193 |
+
First, to validate the effectiveness of our method, we conduct intentional contamination experiments.
|
| 194 |
+
|
| 195 |
+
Experiment Settings For these experiments, we select Mistral-7B-Instruct-v0.2(Jiang et al., 2023a) and Llama-2-7B-Chat(Touvron et al., 2023) as the target models and utilize a newly released dataset WMDP (Li et al., 2024) for intentional contamination. This dataset, including 3,668 multiple-choice questions about knowledge in biology, chemistry and cyber, is released in May 2024, ensuring that the selected models have not been contaminated on this data before.
|
| 196 |
+
|
| 197 |
+
We conduct supervised fine-tuning (following the second contamination type) on two models. Though there are two contamination types as we introduced in Section 3.2, we mainly conduct intentional contamination experiments following the second contamination type because it is less discussed and somehow more difficult to detect because it has less trained parts. It is worth mentioning that our method works properly under the first contamination type, as is shown in Appendix C.
|
| 198 |
+
|
| 199 |
+
We sample 1000 samples from biology split from the WMDP dataset to produce contaminated versions of Llama and Mistral. 400 samples are sampled from the remaining data in the WMDP dataset to form "clean" (untrained) data. The choice of
|
| 200 |
+
|
| 201 |
+
number of samples are just for simplicity and does not affect the final results as we will show later.
|
| 202 |
+
|
| 203 |
+
For baseline comparisons, given the limited availability of benchmark-level contamination detection methods, we selected Guided-Prompting (Golchin and Surdeanu, 2023b) as our baseline. Since Guided-Prompting also utilizes p-values as an indicator of contamination, this allows for a fair comparison between our method and theirs.
|
| 204 |
+
|
| 205 |
+
We also compare the performance of our method with a simplified version that directly uses ground truth answer to calculate confidence instead of the model's generated reponse. Details of the simplified version will be discussed in Appendix A.
|
| 206 |
+
|
| 207 |
+
Additionally, we conduct experiments to evaluate the performance of DCQ (Golchin and Surdeanu, 2023a) and Min-k% Prob (Shi et al., 2024) and find that they do not perform well for detecting benchmark contamination. A detailed discussion of these findings can be found in Appendix B.
|
| 208 |
+
|
| 209 |
+
Results and Analysis The results are presented in Table 2. Our method successfully identifies contaminated datasets in contaminated models, demonstrated by significant results on trained data in these models. Importantly, our method avoids false positives, as it does not return significant results on uncontaminated datasets, even when applied to contaminated models. For original models, which are free from contamination, all results are insignificant. These findings underscore the effectiveness of our method in accurately detecting data contamination.
|
| 210 |
+
|
| 211 |
+
In contrast, Guided-Prompting fails to identify contamination in contaminated models, likely because the instruction part was not included in the training parts, preventing Guided-Prompting from replicating the original data accurately. Similarly, the simplified version of our method performs much better than Guided-Prompting, but it still suffers from false negative problems. These comparisons further reveal the effectiveness of our method. Some detailed discussions about this result can be found in Appendix A.
|
| 212 |
+
|
| 213 |
+
Stability under Different Number of Samples Different datasets vary in the amount of data they contain, and for very large datasets, it is more practical to sample a subset for contamination detection. Therefore, it is crucial to validate that our method performs well with varying sample sizes. To test this, we conducted experiments under the same
|
| 214 |
+
|
| 215 |
+
<table><tr><td>Model</td><td>Method</td><td>Trained Data</td><td>Untrained Data</td></tr><tr><td rowspan="3">Llama (Contaminated)</td><td>Guided-Promoting</td><td>0.99</td><td>0.62</td></tr><tr><td>PaCoST(simplified)</td><td>0.94</td><td>0.99</td></tr><tr><td>PaCoST(ours)</td><td>6e-8</td><td>0.92</td></tr><tr><td rowspan="3">Mistral (Contaminated)</td><td>Guided-Promoting</td><td>0.99</td><td>0.99</td></tr><tr><td>PaCoST(simplified)</td><td>0.02</td><td>0.36</td></tr><tr><td>PaCoST(ours)</td><td>2e-4</td><td>0.75</td></tr><tr><td rowspan="3">Llama (Original)</td><td>Guided-Promoting</td><td>1e-10</td><td>1e-9</td></tr><tr><td>PaCoST(simplified)</td><td>0.78</td><td>0.87</td></tr><tr><td>PaCoST(ours)</td><td>0.12</td><td>0.92</td></tr><tr><td rowspan="3">Mistral (Original)</td><td>Guided-Promoting</td><td>7e-5</td><td>1e-3</td></tr><tr><td>PaCoST(simplified)</td><td>0.18</td><td>0.46</td></tr><tr><td>PaCoST(ours)</td><td>0.46</td><td>0.72</td></tr></table>
|
| 216 |
+
|
| 217 |
+
settings as above but with different numbers of samples. The results are presented in Table 3.
|
| 218 |
+
|
| 219 |
+
Table 2: Main results of intentional contamination. The values are p-value of the methods, where $p < 0.05$ represents statistically significant and probably contaminated and $p \geq 0.05$ represents un-contaminated. The bold p-values represent significant results. The underlined values represent false positive or false negative results.
|
| 220 |
+
|
| 221 |
+
<table><tr><td>Data</td><td>#Sample</td><td>Llama / Mistral (Contaminated)</td><td>Llama / Mistral (Original)</td></tr><tr><td rowspan="3">Trained Data</td><td>1000</td><td>6e-8 / 2e-4</td><td>0.12 / 0.46</td></tr><tr><td>500</td><td>1e-5 / 7e-8</td><td>0.41 / 0.55</td></tr><tr><td>100</td><td>0.02 / 1e-3</td><td>0.81 / 0.38</td></tr><tr><td rowspan="3">Untrained Data</td><td>400</td><td>0.92 / 0.75</td><td>0.92 / 0.72</td></tr><tr><td>200</td><td>0.54 / 0.84</td><td>0.83 / 0.56</td></tr><tr><td>100</td><td>0.88 / 0.62</td><td>0.59 / 0.27</td></tr></table>
|
| 222 |
+
|
| 223 |
+
Table 3: p-value of different number of samples. The significant results are in bold.
|
| 224 |
+
|
| 225 |
+
As indicated by the results, our method works properly with sample sizes ranging from 100 to 1000, without generating any false positives or false negatives. This demonstrates the stability of our method across different sample sizes and highlights that it only requires a subset of the dataset to effectively detect contamination, thereby reducing the cost of processing entire datasets.
|
| 226 |
+
|
| 227 |
+
We do not discuss samples with fewer than 100 instances for two reasons. First, because our method relies on statistical analysis, a small sample size can introduce significant randomness, which could interfere with accurate contamination detection. Second, datasets with fewer than 100 samples are rare, making the analysis of such scenarios less relevant and meaningful.
|
| 228 |
+
|
| 229 |
+
We also conducted additional studies to assess the behavior of our method under various conditions. We demonstrated that our method maintains stable performance when using different rephrase models $M_p$ . It is also robust to reasonable randomness, as it delivers consistent performance under
|
| 230 |
+
|
| 231 |
+
different random seeds. Furthermore, our method effectively handles various types of contamination. These findings collectively highlight the superiority of our method. Detailed discussions can be found in Appendix C.
|
| 232 |
+
|
| 233 |
+
# 5.2 Tests on Existing LLMs and Benchmarks
|
| 234 |
+
|
| 235 |
+
After showing the feasibility of our proposed method, we apply it to a variety of existing popular LLMs and benchmarks to assess their contamination status. In this section, we introduce the tested benchmarks, models, and present the experimental results and discussions. Since some benchmarks are extremely large, we randomly sample 400 samples in each benchmark for detection.
|
| 236 |
+
|
| 237 |
+
Datasets We conduct benchmark contamination detection experiments on some popular benchmarks, including MMLU (Hendrycks et al., 2020), HellaSwag (Zellers et al., 2019), Arc-E, Arc-C (Clark et al., 2018), TruthfulQA (Lin et al., 2021), WinoGrande (Sakaguchi et al., 2021).
|
| 238 |
+
|
| 239 |
+
Models We select the following open-source LLMs for experiments: Llama-2-Chat (7B, 13B) (Touvron et al., 2023), Llama-3-Instruct (8B) (AI@Meta, 2024), Mistral-Instruct (7B) (Jiang et al., 2023a), Phi-3 (3.8B) (Abdin et al., 2024), Qwen1.5 (0.5B, 7B), Qwen2 (7B) (Bai et al., 2023), Yi (6B) (AI et al., 2024), DeepSeek (7B) (DeepSeek-AI, 2024).
|
| 240 |
+
|
| 241 |
+
Evaluation Results We show the evaluation results in Table 4. To avoid potential harmful effects, we do not show the names of the models in the results and represent them as Model I to Model X. Some observations can be drawn from the results.
|
| 242 |
+
|
| 243 |
+
<table><tr><td>Model</td><td>Arc-c</td><td>Arc-e</td><td>MMLU</td><td>HellaS</td><td>WinoG</td><td>T-QA</td></tr><tr><td>Model I</td><td>0.46</td><td>0.53</td><td>2e-3</td><td>3e-8</td><td>0.78</td><td>0.57</td></tr><tr><td>Model II</td><td>0.18</td><td>0.30</td><td>3e-7</td><td>7e-3</td><td>0.59</td><td>0.82</td></tr><tr><td>Model III</td><td>1e-3</td><td>1e-3</td><td>0.30</td><td>0.37</td><td>2e-3</td><td>0.04</td></tr><tr><td>Model IV</td><td>0.02</td><td>0.28</td><td>0.09</td><td>0.59</td><td>0.25</td><td>2e-3</td></tr><tr><td>Model V</td><td>4e-4</td><td>7e-4</td><td>0.71</td><td>0.63</td><td>0.10</td><td>0.20</td></tr><tr><td>Model VI</td><td>1e-3</td><td>0.01</td><td>0.02</td><td>0.15</td><td>3e-8</td><td>0.24</td></tr><tr><td>Model VII</td><td>0.11</td><td>5e-3</td><td>0.73</td><td>0.03</td><td>0.11</td><td>0.82</td></tr><tr><td>Model VIII</td><td>0.09</td><td>0.04</td><td>0.02</td><td>0.10</td><td>0.26</td><td>0.44</td></tr><tr><td>Model IX</td><td>0.44</td><td>0.02</td><td>0.54</td><td>3e-13</td><td>4e-3</td><td>2e-8</td></tr><tr><td>Model X</td><td>0.95</td><td>0.38</td><td>0.17</td><td>0.61</td><td>0.65</td><td>0.46</td></tr></table>
|
| 244 |
+
|
| 245 |
+
Table 4: p-values of open-source models on widely tested benchmarks. (HellaS: HellaSwag, WinoG: WinoGrande, T-QA: TruthfulQA)
|
| 246 |
+
|
| 247 |
+
First of all, all benchmarks are suspected contaminated more or less on different models. Some benchmarks, like Arc-e, is suspected severely contaminated. Other benchmarks are also suspected contaminated and we do not find a benchmark that is "clean" on all models.
|
| 248 |
+
|
| 249 |
+
Secondly, almost all models are suspected contaminated more or less on different benchmarks. Some models, like Model VI, Model IX, are suspected contaminated on 4 benchmarks out of 6 we tested. Other models are also suspected contaminated on 2 or 3 benchmarks out of 6 we tested. Model X is perhaps the "cleanest" model as we do not find significant evidence of contamination.
|
| 250 |
+
|
| 251 |
+
# 5.3 Discussion
|
| 252 |
+
|
| 253 |
+
This result further underscores the urgency of addressing the benchmark contamination problem in LLM evaluation. As evidenced, almost all models and benchmarks exhibit varying degrees of suspected contamination. This contamination undermines the trustworthiness of evaluation results on popular benchmarks, posing significant challenges for both users and developers.
|
| 254 |
+
|
| 255 |
+
It is important to note that we do not intend to accuse any LLM provider of intentional contamination. As previously discussed, given the vast amount of data required to train LLMs, excluding or even simply detecting benchmark data within training datasets is an exceedingly difficult task. We must acknowledge that benchmark contamination may be inevitable due to these constraints.
|
| 256 |
+
|
| 257 |
+
Instead, we would like to propose two key insights. First, detecting benchmark contamination is crucial because it allows us to assess whether evaluation results are trustworthy. While contamination does not inherently imply that a model is ineffective, recognizing its presence can prompt us to seek alternative evaluation metrics. This ensures
|
| 258 |
+
|
| 259 |
+
that we are not misled by artificially high scores, and helps maintain the integrity and reliability of model evaluations.
|
| 260 |
+
|
| 261 |
+
Secondly, using specific benchmarks for evaluation may not be suitable. As our findings reveal, all benchmarks are suspected contaminated to some degree. As soon as a new benchmark is made public, it quickly becomes susceptible to contamination because LLMs require large-scale, high-quality data for training, and benchmarks naturally fit this criterion. However, if a benchmark is not released publicly, its quality and the evaluation results derived from it cannot be fully trusted, leading to a dilemma.
|
| 262 |
+
|
| 263 |
+
Therefore, we advocate for a new LLM evaluation approach that does not rely on static benchmarks but rather on flexible and dynamic data sources. For instance, evaluating LLMs based on user feedback data, could provide a dynamic and resilient measure of model performance. Further, quantitative LLM evaluation can also be made public - everyone can build his own benchmark for evaluation. If the results of this large-scale benchmarks could be combined, the evaluation of LLMs will be more trustworthy and comprehensive.
|
| 264 |
+
|
| 265 |
+
# 6 Conclusion
|
| 266 |
+
|
| 267 |
+
In this work, we introduce the issue of benchmark contamination in LLMs and propose several essential criteria that an effective benchmark contamination detection method should meet. We highlight that all existing detection methods fall short of satisfying all of these requirements. We then propose a benchmark contamination detection method named PaCoST, which uses significantly higher confidence scores as an indicator of contamination. We conduct various experiments to demonstrate the effectiveness of our method. Additionally, we ap
|
| 268 |
+
|
| 269 |
+
ply our method to popular LLMs and benchmarks and reveal a significant problem of benchmark contamination across almost all benchmarks and LLMs we examined.
|
| 270 |
+
|
| 271 |
+
# Limitations
|
| 272 |
+
|
| 273 |
+
Our method focuses on detecting benchmark-level contamination and is not suitable for identifying instance-level contamination. Additionally, our method involves multiple interactions with the LLM, including one for paraphrasing, two for answer generation, and two for confidence estimation. This can result in lower efficiency compared to other approaches.
|
| 274 |
+
|
| 275 |
+
Moreover, our method requires access to the probability distribution for confidence estimation, which is not available in black-box LLMs. As a result, our approach cannot be used to detect benchmark contamination in black-box LLMs where internal outputs like probability distributions are not accessible.
|
| 276 |
+
|
| 277 |
+
# Ethics Statement
|
| 278 |
+
|
| 279 |
+
We honestly report the p-values for various open-source LLMs and benchmarks without any alteration to enhance or detract from the results. The intentionally contaminated checkpoints used in our research are for academic purposes only and will not be released because WMDP is a "dangerous" dataset that should be forgotten instead of memorized by models. The aim of this work is to highlight and address the issue of benchmark contamination, not to promote contamination or criticize any parties involved. We deeply respect the contributions of LLM and benchmark providers and believe that the problem of benchmark contamination will be effectively addressed in due course. ChatGPT is used only to assist writing.
|
| 280 |
+
|
| 281 |
+
# Acknowledgement
|
| 282 |
+
|
| 283 |
+
This work was supported by Beijing Science and Technology Program (Z231100007423011), National Science Foundation of China (No. 62161160339) and Key Laboratory of Science, Technology and Standard in Press Industry (Key Laboratory of Intelligent Press Media Technology). We appreciate the anonymous reviewers for their helpful comments. Xiaojun Wan is the corresponding author.
|
| 284 |
+
|
| 285 |
+
# References
|
| 286 |
+
|
| 287 |
+
Marah Abdin, Sam Ade Jacobs, Ammar Ahmad Awan, Jyoti Aneja, Ahmed Awadallah, Hany Awadalla, Nguyen Bach, Amit Bahree, Arash Bakhtiari, Jianmin Bao, Harkirat Behl, Alon Benhaim, Misha Bilenko, Johan Bjorck, Sebastien Bubeck, Qin Cai, Martin Cai, Caio Cesar Teodoro Mendes, Weizhu Chen, Vishrav Chaudhary, Dong Chen, Dongdong Chen, Yen-Chun Chen, Yi-Ling Chen, Parul Chopra, Xiyang Dai, Allie Del Giorno, Gustavo de Rosa, Matthew Dixon, Ronen Eldan, Victor Fragoso, Dan Iter, Mei Gao, Min Gao, Jianfeng Gao, Amit Garg, Abhishek Goswami, Suriya Gunasekar, Emman Haider, Junheng Hao, Russell J. Hewett, Jamie Huynh, Mojan Javaheripi, Xin Jin, Piero Kauffmann, Nikos Karampatziakis, Dongwoo Kim, Mahoud Khademi, Lev Kurilenko, James R. Lee, Yin Tat Lee, Yuanzhi Li, Yunsheng Li, Chen Liang, Lars Linden, Ce Liu, Mengchen Liu, Weishung Liu, Eric Lin, Zeqi Lin, Chong Luo, Piyush Madan, Matt Mazzola, Arindam Mitra, Hardik Modi, Anh Nguyen, Brandon Norick, Barun Patra, Daniel Perez-Becker, Thomas Portet, Reid Pryzant, Heyang Qin, Marko Radmilac, Corby Rosset, Sambudha Roy, Olatunj Ruwase, Olli Saarikivi, Amin Saied, Adil Salim, Michael Santacroce, Shital Shah, Ning Shang, Hiteshi Sharma, Swadheen Shukla, Xia Song, Masahiro Tanaka, Andrea Tupini, Xin Wang, Lijuan Wang, Chunyu Wang, Yu Wang, Rachel Ward, Guanhua Wang, Philipp Witte, Haiping Wu, Michael Wyatt, Bin Xiao, Can Xu, Jiahang Xu, Weijian Xu, Sonali Yadav, Fan Yang, Jianwei Yang, Ziyi Yang, Yifan Yang, Donghan Yu Lu Yuan, Chengruidong Zhang, Cyril Zhang, Jianwen Zhang, Li Lyna Zhang, Yi Zhang, Yue Zhang. Yunan Zhang and Xiren Zhou. 2024. Phi-3 technical report: A highly capable language model locally on your phone. Preprint. arXiv:2404.14219.
|
| 288 |
+
|
| 289 |
+
01. AI, :, Alex Young, Bei Chen, Chao Li, Chengen Huang, Ge Zhang, Guanwei Zhang, Heng Li, Jiangcheng Zhu, Jianqun Chen, Jing Chang, Kaidong Yu, Peng Liu, Qiang Liu, Shawn Yue, Senbin Yang, Shiming Yang, Tao Yu, Wen Xie, Wenhao Huang, Xiaohui Hu, Xiaoyi Ren, Xinyao Niu, Pengcheng Nie, Yuchi Xu, Yudong Liu, Yue Wang, Yuxuan Cai, Zhenyu Gu, Zhiyuan Liu, and Zonghong Dai. 2024. Yi: Open foundation models by 01.ai. Preprint, arXiv:2403.04652.
|
| 290 |
+
|
| 291 |
+
AI@Meta. 2024. Llama 3 model card.
|
| 292 |
+
|
| 293 |
+
Jinze Bai, Shuai Bai, Yunfei Chu, Zeyu Cui, Kai Dang, Xiaodong Deng, Yang Fan, Wenbin Ge, Yu Han, Fei Huang, Binyuan Hui, Luo Ji, Mei Li, Junyang Lin, Runji Lin, Dayiheng Liu, Gao Liu, Chengqiang Lu, Keming Lu, Jianxin Ma, Rui Men, Xingzhang Ren, Xuancheng Ren, Chuanqi Tan, Sinan Tan, Jianhong Tu, Peng Wang, Shijie Wang, Wei Wang, Shengguang Wu, Benfeng Xu, Jin Xu, An Yang, Hao Yang, Jian Yang, Shusheng Yang, Yang Yao, Bowen Yu, Hongyi Yuan, Zheng Yuan, Jianwei Zhang, Xingxuan Zhang, Yichang Zhang, Zhenru Zhang, Chang Zhou, Jingren Zhou, Xiaohuan Zhou, and Tianhang
|
| 294 |
+
|
| 295 |
+
Zhu. 2023. Qwen technical report. arXiv preprint arXiv:2309.16609.
|
| 296 |
+
Tom Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah, Jared D Kaplan, Prafulla Dhariwal, Arvind Neelakantan, Pranav Shyam, Girish Sastry, Amanda Askell, et al. 2020a. Language models are few-shot learners. Advances in neural information processing systems, 33:1877-1901.
|
| 297 |
+
Tom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah, Jared Kaplan, Prafulla Dhariwal, Arvind Neelakantan, Pranav Shyam, Girish Sastry, Amanda Askell, Sandhini Agarwal, Ariel Herbert-Voss, Gretchen Krueger, Tom Henighan, Rewon Child, Aditya Ramesh, Daniel M. Ziegler, Jeffrey Wu, Clemens Winter, Christopher Hesse, Mark Chen, Eric Sigler, Mateusz Litwin, Scott Gray, Benjamin Chess, Jack Clark, Christopher Berner, Sam McCandlish, Alec Radford, Ilya Sutskever, and Dario Amodei. 2020b. Language models are few-shot learners. In Proceedings of the 34th International Conference on Neural Information Processing Systems, NIPS '20, Red Hook, NY, USA. Curran Associates Inc.
|
| 298 |
+
Nicholas Carlini, Florian Tramer, Eric Wallace, Matthew Jagielski, Ariel Herbert-Voss, Katherine Lee, Adam Roberts, Tom Brown, Dawn Song, Ulfar Erlingsson, Alina Oprea, and Colin Raffel. 2021a. Extracting training data from large language models. Preprint, arXiv:2012.07805.
|
| 299 |
+
Nicholas Carlini, Florian Tramer, Eric Wallace, Matthew Jagielski, Ariel Herbert-Voss, Katherine Lee, Adam Roberts, Tom Brown, Dawn Song, Ulfar Erlingsson, and others. 2021b. Extracting training data from large language models. In 30th USENIX Security Symposium (USENIX Security 21), pages 2633-2650.
|
| 300 |
+
Jiuhai Chen and Jonas Mueller. 2023. Quantifying uncertainty in answers from any language model via intrinsic and extrinsic confidence assessment. arXiv preprint arXiv:2308.16175.
|
| 301 |
+
Aakanksha Chowdhery, Sharan Narang, Jacob Devlin, Maarten Bosma, Gaurav Mishra, Adam Roberts, Paul Barham, Hyung Won Chung, Charles Sutton, Sebastian Gehrmann, et al. 2022. Palm: Scaling language modeling with pathways. arXiv preprint arXiv:2204.02311.
|
| 302 |
+
Aakanksha Chowdhery, Sharan Narang, Jacob Devlin, Maarten Bosma, Gaurav Mishra, Adam Roberts, Paul Barham, Hyung Won Chung, Charles Sutton, Sebastian Gehrmann, et al. 2023. Palm: Scaling language modeling with pathways. Journal of Machine Learning Research, 24(240):1-113.
|
| 303 |
+
Peter Clark, Isaac Cowhey, Oren Etzioni, Tushar Khot, Ashish Sabharwal, Carissa Schoenick, and Oyvind Tafjord. 2018. Think you have solved question answering? try arc, the ai2 reasoning challenge. arXiv preprint arXiv:1803.05457.
|
| 304 |
+
|
| 305 |
+
Rachel Cummings, Damien Desfontaines, David Evans, Roxana Geambasu, Matthew Jagielski, Yangsibo Huang, Peter Kairouz, Gautam Kamath, Sewoong Oh, Olga Ohrimenko, and others. 2023. Challenges towards the next frontier in privacy.
|
| 306 |
+
DeepSeek-AI. 2024. Deepseek llm: Scaling open-source language models with longtermism. arXiv preprint arXiv:2401.02954.
|
| 307 |
+
Yihong Dong, Xue Jiang, Huanyu Liu, Zhi Jin, and Ge Li. 2024. Generalization or memorization: Data contamination and trustworthy evaluation for large language models. arXiv preprint arXiv:2402.15938.
|
| 308 |
+
Shahriar Golchin and Mihai Surdeanu. 2023a. Data contamination quiz: A tool to detect and estimate contamination in large language models. arXiv preprint arXiv:2311.06233.
|
| 309 |
+
Shahriar Golchin and Mihai Surdeanu. 2023b. Time travel in llms: Tracing data contamination in large language models. arXiv preprint arXiv:2308.08493.
|
| 310 |
+
Samyak Gupta, Yangsibo Huang, Zexuan Zhong, Tianyu Gao, Kai Li, and Danqi Chen. 2022. Recovering private text in federated learning of language models. 35:8130-8143.
|
| 311 |
+
Dan Hendrycks, Collin Burns, Steven Basart, Andy Zou, Mantas Mazeika, Dawn Song, and Jacob Steinhardt. 2020. Measuring massive multitask language understanding. arXiv preprint arXiv:2009.03300.
|
| 312 |
+
Matthew Jagielski, Jonathan Ullman, and Alina Oprea. 2020. Auditing differentially private machine learning: How private is private sgd? 33:22205-22216.
|
| 313 |
+
Bargav Jayaraman and David Evans. 2019. Evaluating differentially private machine learning in practice. In 28th USENIX Security Symposium (USENIX Security 19), pages 1895-1912.
|
| 314 |
+
Albert Q Jiang, Alexandre Sablayrolles, Arthur Mensch, Chris Bamford, Devendra Singh Chaplot, Diego de las Casas, Florian Bressand, Gianna Lengyel, Guillaume Lample, Lucile Saulnier, et al. 2023a. Mistral 7b. arXiv preprint arXiv:2310.06825.
|
| 315 |
+
Mingjian Jiang, Yangjun Ruan, Sicong Huang, Saifei Liao, Silviu Pitis, Roger Baker Grosse, and Jimmy Ba. 2023b. Calibrating language models via augmented prompt ensembles.
|
| 316 |
+
Saurav Kadavath, Tom Conerly, Amanda Askell, Tom Henighan, Dawn Drain, Ethan Perez, Nicholas Schiefer, Zac Hatfield-Dodds, Nova DasSarma, Eli Tran-Johnson, et al. 2022. Language models (mostly) know what they know. arXiv preprint arXiv:2207.05221.
|
| 317 |
+
Lorenz Kuhn, Yarin Gal, and Sebastian Farquhar. 2023. Semantic uncertainty: Linguistic invariances for uncertainty estimation in natural language generation. arXiv preprint arXiv:2302.09664.
|
| 318 |
+
|
| 319 |
+
Nathaniel Li, Alexander Pan, Anjali Gopal, Summer Yue, Daniel Berrios, Alice Gatti, Justin D. Li, Ann-Kathrin Dombrowski, Shashwat Goel, Long Phan, Gabriel Mukobi, Nathan Helm-Burger, Rassin Lababidi, Lennart Justen, Andrew B. Liu, Michael Chen, Isabelle Barrass, Oliver Zhang, Xiaoyuan Zhu, Rishub Tamirisa, Bhrugu Bharathi, Adam Khoja, Zhenqi Zhao, Ariel Herbert-Voss, Cort B. Breuer, Samuel Marks, Oam Patel, Andy Zou, Mantas Mazeika, Zifan Wang, Palash Oswal, Weiran Liu, Adam A. Hunt, Justin Tienken-Harder, Kevin Y. Shih, Kemper Talley, John Guan, Russell Kaplan, Ian Steneker, David Campbell, Brad Jokubaitis, Alex Levinson, Jean Wang, William Qian, Kallol Krishna Karmakar, Steven Basart, Stephen Fitz, Mindy Levine, Ponnurangam Kumaraguru, Uday Tupakula, Vijay Varadharajan, Yan Shoshitaishvili, Jimmy Ba, Kevin M. Esvelt, Alexandr Wang, and Dan Hendrycks. 2024. The wmdp benchmark: Measuring and reducing malicious use with unlearning. Preprint, arXiv:2403.03218.
|
| 320 |
+
Yucheng Li. 2023. Estimating contamination via perplexity: Quantifying memorisation in language model evaluation. arXiv preprint arXiv:2309.10677.
|
| 321 |
+
Stephanie Lin, Jacob Hilton, and Owain Evans. 2021. Truthfulqa: Measuring how models mimic human falsehoods. arXiv preprint arXiv:2109.07958.
|
| 322 |
+
Stephanie Lin, Jacob Hilton, and Owain Evans. 2022. Teaching models to express their uncertainty in words. arXiv preprint arXiv:2205.14334.
|
| 323 |
+
Zhen Lin, Shubhendu Trivedi, and Jimeng Sun. 2023. Generating with confidence: Uncertainty quantification for black-box large language models. arXiv preprint arXiv:2305.19187.
|
| 324 |
+
Saeed Mahloujifar, Huseyin A Inan, Melissa Chase, Esha Ghosh, and Marcello Hasegawa. 2021. Membership inference on word embedding and beyond.
|
| 325 |
+
Justus Mattern, Fatemehsadat Mireshghallah, Zhijing Jin, Bernhard Schoelkopf, Minmaya Sachan, and Taylor Berg-Kirkpatrick. 2023. Membership inference attacks against language models via neighbourhood comparison. In Findings of the Association for Computational Linguistics: ACL 2023, pages 11330-11343, Toronto, Canada. Association for Computational Linguistics.
|
| 326 |
+
Fatemehsadat Mireshghallah, Kartik Goyal, Archit Uniyal, Taylor Berg-Kirkpatrick, and Reza Shokri. 2022. Quantifying privacy risks of masked language models using membership inference attacks. In Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing, pages 8332-8347. Association for Computational Linguistics.
|
| 327 |
+
Milad Nasr, Nicholas Carlini, Jonathan Hayase, Matthew Jagielski, A Feder Cooper, Daphne Ippolito, Christopher A Choquette-Choo, Eric Wallace, Florian Tramér, and Katherine Lee. 2023. Scalable extraction of training data from (production) language models. arXiv preprint arXiv:2311.17035.
|
| 328 |
+
|
| 329 |
+
OpenAI. 2023. Gpt-4 technical report. Preprint, arXiv:2303.08774.
|
| 330 |
+
Yonatan Oren, Nicole Meister, Niladri Chatterji, Faisal Ladhak, and Tatsunori B Hashimoto. 2023. Proving test set contamination in black box language models. arXiv preprint arXiv:2310.17623.
|
| 331 |
+
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.
|
| 332 |
+
Oscar Sainz, Jon Ander Campos, Iker Garcia-Ferrero, Julien Etxaniz, Oier Lopez de Lacalle, and Eneko Agirre. 2023a. Nlp evaluation in trouble: On the need to measure llm data contamination for each benchmark. arXiv preprint arXiv:2310.18018.
|
| 333 |
+
Oscar Sainz, Jon Ander Campos, Iker Garcia-Ferrero, Julien Etxaniz, and Eneko Agirre. 2023b. Did chatgpt cheat on your test? https://hitz-zentroa.github.io/lm-contamination/blog/. Accessed: 2023-07-06.
|
| 334 |
+
Keisuke Sakaguchi, Ronan Le Bras, Chandra Bhagavatula, and Yejin Choi. 2021. Winogrande: An adversarial winograd schema challenge at scale. Communications of the ACM, 64(9):99-106.
|
| 335 |
+
Virat Shejwalkar, Huseyin A. Inan, Amir Houmansadr, and Robert Sim. 2021. Membership inference attacks against NLP classification models. In NeurIPS 2021 Workshop Privacy in Machine Learning.
|
| 336 |
+
Weijia Shi, Anirudh Ajith, Mengzhou Xia, Yangsibo Huang, Daogao Liu, Terra Blevins, Danqi Chen, and Luke Zettlemoyer. 2024. Detecting pretraining data from large language models. In The Twelfth International Conference on Learning Representations.
|
| 337 |
+
Reza Shokri, Marco Stronati, Congzheng Song, and Vitaly Shmatikov. 2017. Membership inference attacks against machine learning models. In 2017 IEEE symposium on security and privacy (SP), pages 3-18. IEEE.
|
| 338 |
+
Congzheng Song and Vitaly Shmatikov. 2019. Auditing data provenance in text-generation models. In Proceedings of the 25th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining, pages 196-206.
|
| 339 |
+
Katherine Tian, Eric Mitchell, Allan Zhou, Archit Sharma, Rafael Rafailov, Huaxiu Yao, Chelsea Finn, and Christopher D Manning. 2023. Just ask for calibration: Strategies for eliciting calibrated confidence scores from language models fine-tuned with human feedback. arXiv preprint arXiv:2305.14975.
|
| 340 |
+
Hugo Touvron, Louis Martin, Kevin Stone, Peter Albert, Amjad Almahairi, Yasmine Babaei, Nikolay Bashlykov, Soumya Batra, Prajjwal Bhargava, Shruti Bhosale, Dan Bikel, Lukas Blecher, Cristian Canton Ferrer, Moya Chen, Guillem Cucurull, David Esiobu, Jude Fernandes, Jeremy Fu, Wenyin Fu, Brian Fuller,
|
| 341 |
+
|
| 342 |
+
Cynthia Gao, Vedanuj Goswami, Naman Goyal, Anthony Hartshorn, Saghar Hosseini, Rui Hou, Hakan Inan, Marcin Kardas, Viktor Kerkez, Madian Khabsa, Isabel Kloumann, Artem Korenev, Punit Singh Koura, Marie-Anne Lachaux, Thibaut Lavril, Jenya Lee, Diana Liskovich, Yinghai Lu, Yuning Mao, Xavier Martinet, Todor Mihaylov, Pushkar Mishra, Igor Molybog, Yixin Nie, Andrew Poulton, Jeremy Reizenstein, Rashi Rungta, Kalyan Saladi, Alan Schelten, Ruan Silva, Eric Michael Smith, Ranjan Subramanian, Xiaoqing Ellen Tan, Binh Tang, Ross Taylor, Adina Williams, Jian Xiang Kuan, Puxin Xu, Zheng Yan, Iliyan Zarov, Yuchen Zhang, Angela Fan, Melanie Kambadur, Sharan Narang, Aurelien Rodriguez, Robert Stojnic, Sergey Edunov, and Thomas Scialom. 2023. Llama 2: Open foundation and finetuned chat models. Preprint, arXiv:2307.09288.
|
| 343 |
+
|
| 344 |
+
Alex Wang, Yada Pruksachatkun, Nikita Nangia, Amanpreet Singh, Julian Michael, Felix Hill, Omer Levy, and Samuel R Bowman. 2019. Superglue: A stickier benchmark for general-purpose language understanding systems. arXiv preprint arXiv:1905.00537.
|
| 345 |
+
|
| 346 |
+
Xuezhi Wang, Jason Wei, Dale Schuurmans, Quoc Le, Ed Chi, Sharan Narang, Aakanksha Chowdhery, and Denny Zhou. 2022. Self-consistency improves chain of thought reasoning in language models. arXiv preprint arXiv:2203.11171.
|
| 347 |
+
|
| 348 |
+
Jason Wei, Maarten Bosma, Vincent Y. Zhao, Kelvin Guu, Adams Wei Yu, Brian Lester, Nan Du, Andrew M. Dai, and Quoc V. Le. 2022. Finetuned language models are zero-shot learners. Preprint, arXiv:2109.01652.
|
| 349 |
+
|
| 350 |
+
Miao Xiong, Zhiyuan Hu, Xinyang Lu, Yifei Li, Jie Fu, Junxian He, and Bryan Hooi. 2023. Can llms express their uncertainty? an empirical evaluation of confidence elicitation in llms. arXiv preprint arXiv:2306.13063.
|
| 351 |
+
|
| 352 |
+
Shuo Yang, Wei-Lin Chiang, Lianmin Zheng, Joseph E Gonzalez, and Ion Stoica. 2023. Rethinking benchmark and contamination for language models with rephrased samples. arXiv preprint arXiv:2311.04850.
|
| 353 |
+
|
| 354 |
+
Samuel Yeom, Irene Giacomelli, Matt Fredrikson, and Somesh Jha. 2018. Privacy risk in machine learning: Analyzing the connection to overfitting. In 2018 IEEE 31st Computer Security Foundations Symposium (CSF), pages 268-282.
|
| 355 |
+
|
| 356 |
+
Rowan Zellers, Ari Holtzman, Yonatan Bisk, Ali Farhadi, and Yejin Choi. 2019. Hellaswag: Can a machine really finish your sentence? In Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics.
|
| 357 |
+
|
| 358 |
+
Hugh Zhang, Jeff Da, Dean Lee, Vaughn Robinson, Catherine Wu, Will Song, Tiffany Zhao, Pranav Raja, Dylan Slack, Qin Lyu, Sean Hendryx, Russell Kaplan, Michele Lunati, and Summer Yue. 2024. A
|
| 359 |
+
|
| 360 |
+
careful examination of large language model performance on grade school arithmetic. Preprint, arXiv:2405.00332.
|
| 361 |
+
|
| 362 |
+
Tianyi Zhang*, Varsha Kishore*, Felix Wu*, Kilian Q. Weinberger, and Yoav Artzi. 2020. Bertscore: Evaluating text generation with bert. In International Conference on Learning Representations.
|
| 363 |
+
|
| 364 |
+
Yukun Zhao, Lingyong Yan, Weiwei Sun, Guoliang Xing, Chong Meng, Shuaiqiang Wang, Zhicong Cheng, Zhaochun Ren, and Dawei Yin. 2023. Knowing what llms do not know: A simple yet effective self-detection method. arXiv preprint arXiv:2310.17918.
|
| 365 |
+
|
| 366 |
+
# A Discussions about Intentional Contamination Experiment
|
| 367 |
+
|
| 368 |
+
Details about Simplified Version of Our Method We briefly introduce the simplified version of our method. Recall that our method calculates confidence $c_{i} = \mathcal{P}(Yes|x_{i},M(x_{i}),M)$ for a given instance $(x_{i},y_{i})$ . But it is natural to question whether it is possible to use $\widetilde{c}_i = \mathcal{P}(Yes|x_i,y_i,M)$ , that is, to directly calculate model's "confidence" towards the ground truth answer. So we design a simplified version of our method in Algorithm 2.
|
| 369 |
+
|
| 370 |
+
# Algorithm 2 PaCoST(Simplified)
|
| 371 |
+
|
| 372 |
+
1: Input benchmark
|
| 373 |
+
$D = \{(x_{1},y_{1}),\dots,(x_{n},y_{n})\}$ and model to test $M$ , model used to rephrase $M_p$
|
| 374 |
+
2: for $i = 1, 2, \dots, n$ do
|
| 375 |
+
3: $x^{\prime}\gets M_{p}(x_{i})$
|
| 376 |
+
4: $\widetilde{c}_i\gets \mathcal{P}(Yes|x_i,y_i,M)$
|
| 377 |
+
5: $\widetilde{c}_i^{\prime}\gets \mathcal{P}(Yes|x_i^{\prime},y_i,M)$
|
| 378 |
+
6: end for
|
| 379 |
+
7: $\bar{d}\gets \frac{\sum_{i = 1}^{n}\widetilde{c}_i - \widetilde{c}_i'}{n}$
|
| 380 |
+
8: $s_d \gets \sqrt{\frac{1}{n-1} \sum_{i=1}^{n} (d_i - \bar{d})^2}$
|
| 381 |
+
9: $t\gets \frac{a}{\frac{s_d}{\sqrt{n}}}$ Calculate $p$ according to $t$ and $n$
|
| 382 |
+
10: if $p < 0.05$ (Significant) then
|
| 383 |
+
11: Return: $D$ is Contaminated
|
| 384 |
+
12: else
|
| 385 |
+
13: Return: $D$ is not Contaminated
|
| 386 |
+
14: end if
|
| 387 |
+
|
| 388 |
+
Discussion about Guided-Prompting Surprisingly, we find that Guided-Prompting generates numerous false-positive results on uncontaminated models. Since the WMDP dataset was released after the model checkpoints were created, and given
|
| 389 |
+
|
| 390 |
+
that WMDP was authored by human experts (Li et al., 2024), it is highly unlikely that WMDP was initially contaminated. Even if it were initially contaminated, Guided-Prompting should have been able to detect this in the subsequently contaminated checkpoints, which it failed to do. This observation further supports our assertion that Guided-Prompting is unstable across different prompts. The significance indicated by Guided-Prompting may stem from this instability rather than from genuine contamination.
|
| 391 |
+
|
| 392 |
+
Discussion about Simplified Version The simplified version of our method works much better than Guided-Prompting, as it correctly identifies one contaminated case and all un-contaminated cases. However, it makes a false negative mistake on contaminated Llama, making it less effective compared with the original version of PaCoST.
|
| 393 |
+
|
| 394 |
+
We would like to attribute this false negative to the same reason mentioned in Yang et al. (2023), which argues that contaminated models would bear similar high performance even on rephrased samples. Therefore, using ground-truth answer may result in contaminated model behaving similarly on original samples and rephrased samples, leading to false negative mistakes. In contrast, our focus is that model will be more confident when answering the question instead of towards the correct answer. As can be seen from results in Table 2, this assumption is more accurate and works better. Though the simplified version works well under some circumstances, our whole PaCoST performs better.
|
| 395 |
+
|
| 396 |
+
# B Comparison with Other Methods
|
| 397 |
+
|
| 398 |
+
There are also many methods aiming at detecting contamination that are worth discussing. We mainly discuss two of them: DCQ (Golchin and Surdeanu, 2023a) and Min-k% Prob (Shi et al., 2024).
|
| 399 |
+
|
| 400 |
+
Discussion of DCQ DCQ is a replication-based method which posits that models can distinguish between data they have been trained on and similar data they have not encountered during training. This method employs a multiple-choice quiz to detect contamination. We apply this method in our experiments and reported the accuracy in Table 5.
|
| 401 |
+
|
| 402 |
+
As evident from the results, the accuracy is even worse than random guessing—random guessing would yield an accuracy of approximately 0.5. We
|
| 403 |
+
|
| 404 |
+
<table><tr><td>Model</td><td>Trained Data</td><td>Untrained Data</td></tr><tr><td>Llama (Cont.)</td><td>0.5</td><td>0.39</td></tr></table>
|
| 405 |
+
|
| 406 |
+
Table 5: Accuracy of DCQ. Cont. represents contaminated.
|
| 407 |
+
|
| 408 |
+
believe this outcome is due to the following reasons.
|
| 409 |
+
|
| 410 |
+
First of all, the contaminated Llama follows the second contamination type, where only the answer part, not the instruction part, is trained. However, DCQ requires the model to identify the exact instruction part from multiple choices, which is particularly challenging given that the instruction part was not part of the training. This mismatch likely contributes to the method's poor performance in our experiments.
|
| 411 |
+
|
| 412 |
+
Secondly, numerous studies have demonstrated that LLMs are highly sensitive to prompts, and the order of choices in a multiple-choice question can significantly influence the outcome. This sensitivity leads to considerable variability in the method's performance, making it unreliable. As a result, users cannot draw definitive conclusions from its results due to this inherent instability.
|
| 413 |
+
|
| 414 |
+
Discussion of Min-k% Prob Min-k% Prob focuses on the k% tokens with the smallest probabilities and $k$ is set to 20 to achieve the best performance according to Shi et al. (2024). This method has two problems. The first one is, traditional Mink% Prob also requires the instruction to be trained. However, we do can adapt this method to only work on the answer part of a piece of data. But for relatively short trained parts (like an answer), $20\%$ tokens are simply one or two tokens, which may introduce too much randomness. The second one is, it requires a pre-defined threshold to determine contamination, but this threshold is hard to choose.
|
| 415 |
+
|
| 416 |
+
We report the accuracy of Min-k% Prob in Table 6. We select $k = 20$ and threshold $\epsilon = 0.1$ . Specifically, if and only if the average probability of the min-20% tokens is larger than 0.1, we classify the instance as contaminated. We present the accuracy results for both the original Min-k% Prob and our adapted version of Min-k% Prob.
|
| 417 |
+
|
| 418 |
+
There are several interesting observations based on the results. First, the original Min-k% Prob fails to determine contamination in the contaminated model because the instruction part is not trained. This aligns with our previous discussion.
|
| 419 |
+
|
| 420 |
+
The adapted Min-k% Prob performs much better
|
| 421 |
+
|
| 422 |
+
<table><tr><td>Method</td><td>Model</td><td>Trained</td><td>Untrained</td></tr><tr><td rowspan="2">Min-k% Prob (Original)</td><td>Llama(Cont.)</td><td>0.02</td><td>0.97</td></tr><tr><td>Llama(Original)</td><td>0.94</td><td>0.98</td></tr><tr><td rowspan="2">Min-k% Prob (Adapted)</td><td>Llama(Cont.)</td><td>0.86</td><td>0.6</td></tr><tr><td>Llama(Original)</td><td>1.0</td><td>1.0</td></tr></table>
|
| 423 |
+
|
| 424 |
+
Table 6: Accuracy of Min-k% Prob. Cont. represents contaminated.
|
| 425 |
+
|
| 426 |
+
on both datasets. However, we observe an interesting phenomenon: for uncontaminated Llama, the model tends to output a relatively long response, causing the answer itself to have a relatively small probability, which leads to high detection accuracy. For contaminated Llama, the model outputs a single choice as response, but the probability of this choice is very high (e.g., 0.99999) no matter it is correct or not.
|
| 427 |
+
|
| 428 |
+
As a result, the contamination detection accuracy essentially becomes the accuracy of question answering. For contaminated data, if the model correctly answers a question, it outputs a very high probability, leading Min-k% Prob to classify it as contaminated. Similarly, for uncontaminated data, if the model correctly answers a question, it also outputs a very high probability, still causing Min-k% Prob to classify it as contaminated. Thus, in this case, Min-k% Prob is effectively detecting whether the question is correctly answered, rather than whether the question is contaminated.
|
| 429 |
+
|
| 430 |
+
This observation also highlights the problems of using answer probabilities as a confidence score or using perplexity to determine contamination. Simple probabilities are easily influenced by various factors, including formatting, leading to unreliable results.
|
| 431 |
+
|
| 432 |
+
# C Discussions of Our Method
|
| 433 |
+
|
| 434 |
+
In this part, we would like to make some detailed discussions about our method to show that our method provides stable and trustworthy results. For simplicity, the following experiments are conducted on Llama only.
|
| 435 |
+
|
| 436 |
+
Quality of Rephrasing Though LLMs are known to handle various tasks effectively, it is still reasonable to question their proficiency at rephrasing. If the rephrasing model $M_p$ fails to correctly rephrase a question, the results of our method would become meaningless. Therefore, we aim to investigate the quality of rephrasing.
|
| 437 |
+
|
| 438 |
+
Since we primarily use Llama-2-Chat-7B for
|
| 439 |
+
|
| 440 |
+
rephrasing, we focus on evaluating its rephrasing quality. We use the same dataset split mentioned in Section 5 and randomly sample 100 instances from each split to evaluate the quality of rephrasing. We use two evaluation methods: BERT-Score (Zhang* et al., 2020) and human study. We employ two human annotators to check whether each rephrasing result is correct (i.e., it does not change the original meaning and is not exactly the same as the original instance) and annotate each as 0 (incorrect) or 1 (correct). The results are shown in Table 8.
|
| 441 |
+
|
| 442 |
+
As can be seen from the results, the rephrasing outputs have relatively high BERT-Score and human evaluation scores. This observation clearly demonstrates that using Llama-2-Chat-7B for rephrasing is suitable and does not interfere with contamination detection.
|
| 443 |
+
|
| 444 |
+
Performance Stability: Rephrasing We choose Llama-2-Chat-7B for rephrasing because it is a powerful model. However, the rephrasing model $M_{p}$ does not affect the final result as long as the model is capable enough. To validate our method provides stable results using different rephrasing models, we use another model, Mistral-v0.2-Instruct-7B (Jiang et al., 2023a), for rephrasing. Other settings remain the same as in the previous experiments. The results are shown in Table 9.
|
| 445 |
+
|
| 446 |
+
Using either Llama or Mistral for rephrasing does not affect the outcomes, confirming that we can select any sufficiently powerful model for rephrasing. We use Llama-2-Chat-7B for rephrasing in our other experiments as mentioned earlier.
|
| 447 |
+
|
| 448 |
+
Performance Stability: Contamination Types As is discussed, there are two types of benchmark contamination. Our previous experiments primarily focus on the second type, as it involves shorter trained parts and is somewhat harder to detect. However, our method is also capable of detecting the first type. The results are shown in Table 10.
|
| 449 |
+
|
| 450 |
+
As can be seen from the results, our method still works properly under the first contamination type. This result shows that our method is able to detect contamination with different types, which further proves its effectiveness.
|
| 451 |
+
|
| 452 |
+
Performance Stability: Randomness Paraphrasing unavoidably introduces randomness into contamination detection, so it is necessary to investigate the stability of our method under such conditions. We conduct this experiment using the same settings as above but randomly select five
|
| 453 |
+
|
| 454 |
+
<table><tr><td rowspan="2">Model</td><td colspan="5">Trained Data</td><td colspan="5">Untrained Data</td></tr><tr><td>0</td><td>42</td><td>302</td><td>3407</td><td>9056</td><td>0</td><td>42</td><td>302</td><td>3407</td><td>9056</td></tr><tr><td>Llama (Contaminated)</td><td>6e-4</td><td>4e-5</td><td>9e-6</td><td>4e-8</td><td>0.01</td><td>0.94</td><td>0.96</td><td>0.97</td><td>0.63</td><td>0.97</td></tr><tr><td>Llama (Original)</td><td>0.73</td><td>0.98</td><td>0.98</td><td>0.83</td><td>0.77</td><td>0.99</td><td>0.92</td><td>0.99</td><td>0.99</td><td>0.99</td></tr></table>
|
| 455 |
+
|
| 456 |
+
Table 7: p-value of different random seeds. The significant results are in bold.
|
| 457 |
+
|
| 458 |
+
<table><tr><td>Data</td><td>BERT-Score</td><td>Human Evaluation</td></tr><tr><td>Trained</td><td>0.95</td><td>0.89</td></tr><tr><td>Untrained</td><td>0.94</td><td>0.91</td></tr></table>
|
| 459 |
+
|
| 460 |
+
Table 8: Rephrasing quality evaluation average results.
|
| 461 |
+
|
| 462 |
+
<table><tr><td>Data</td><td>Rephrase Model</td><td>Llama (Contaminated)</td><td>Llama (Original)</td></tr><tr><td rowspan="2">Trained Data</td><td>Llama</td><td>6e-8</td><td>0.12</td></tr><tr><td>Mistral</td><td>2e-3</td><td>0.99</td></tr><tr><td rowspan="2">Untrained Data</td><td>Llama</td><td>0.92</td><td>0.92</td></tr><tr><td>Mistral</td><td>0.23</td><td>0.99</td></tr></table>
|
| 463 |
+
|
| 464 |
+
seeds to explicitly introduce randomness. The results are listed in Table 7.
|
| 465 |
+
|
| 466 |
+
With the random seed changing, the corresponding p-value changes, but the significance (or insignificance) remains unchanged. This observation clearly demonstrates the stability of our method under randomness.
|
| 467 |
+
|
| 468 |
+
# D Prompt
|
| 469 |
+
|
| 470 |
+
Table 9: p-value of different rephrase models. The significant results are in bold.
|
| 471 |
+
|
| 472 |
+
<table><tr><td>Data</td><td>Llama (Cont. I)</td><td>Llama (Cont. II)</td></tr><tr><td>Trained</td><td>4e-15</td><td>6e-8</td></tr><tr><td>Untrained</td><td>0.75</td><td>0.92</td></tr></table>
|
| 473 |
+
|
| 474 |
+
Table 10: p-value of different contamination types. The significant results are in bold. Cont. represents contaminated.
|
| 475 |
+
|
| 476 |
+
# Rephrase Prompt
|
| 477 |
+
|
| 478 |
+
Instruction: You are provided with a question. Your task is to rephrase this question into another question with the same meaning. When rephrasing the question, you must ensure that you follow the following rules:
|
| 479 |
+
|
| 480 |
+
(1). You must ensure that you generate a rephrased question as your response.
|
| 481 |
+
(2). You must ensure that the rephrased question bears the same meaning with the original question. Do not miss any information.
|
| 482 |
+
(3). You must only generate a rephrased question. Any other information should not appear in your response.
|
| 483 |
+
(4). Do not output any explanation.
|
| 484 |
+
(5). Do not modify the numbers or quantities in the question. You should remain them unchanged
|
| 485 |
+
|
| 486 |
+
# Example:
|
| 487 |
+
|
| 488 |
+
{In-Context Examples}
|
| 489 |
+
|
| 490 |
+
Input:
|
| 491 |
+
|
| 492 |
+
{input}
|
| 493 |
+
|
| 494 |
+
Output:
|
| 495 |
+
|
| 496 |
+
# Confidence Estimation Prompt
|
| 497 |
+
|
| 498 |
+
Instruction: You are an expert in judging whether the answer is correct. You will be given a question and a corresponding answer. Your job is to determine whether this answer is correct. You should only respond with Yes or No.
|
| 499 |
+
|
| 500 |
+
Example:
|
| 501 |
+
|
| 502 |
+
{In-Context Examples}
|
| 503 |
+
|
| 504 |
+
Input:
|
| 505 |
+
|
| 506 |
+
{input}
|
| 507 |
+
|
| 508 |
+
Output:
|
| 509 |
+
|
| 510 |
+
# Confidence Estimation Example
|
| 511 |
+
|
| 512 |
+
Instruction: You are an expert in judging whether the answer is correct. You will be given a question and a corresponding answer. Your job is to determine whether this answer is correct. You should only respond with Yes or No.
|
| 513 |
+
|
| 514 |
+
Example:
|
| 515 |
+
|
| 516 |
+
{In-Context Examples}
|
| 517 |
+
|
| 518 |
+
Input:
|
| 519 |
+
|
| 520 |
+
The question is: At what concentration does prolonged exposure to phosgene become dangerous? A. 100 ppm B. 25 ppm C. 1 ppm D. 10 ppm
|
| 521 |
+
|
| 522 |
+
The answer is B.
|
| 523 |
+
|
| 524 |
+
Is the answer correct according to the given question?
|
| 525 |
+
|
| 526 |
+
Output:
|
| 527 |
+
|
| 528 |
+
Yes.
|
| 529 |
+
|
| 530 |
+
Output Distribution: $P(Yes) = 0.92$ , which means confidence $c = 0.92$ .
|
2024/PaCoST_ Paired Confidence Significance Testing for Benchmark Contamination Detection in Large Language Models/images.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2880a4727ef3db563607c98aaa75147ad05192e798dc3d6dff8cbbce3bcd41a3
|
| 3 |
+
size 413936
|
2024/PaCoST_ Paired Confidence Significance Testing for Benchmark Contamination Detection in Large Language Models/layout.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2024/PclGPT_ A Large Language Model for Patronizing and Condescending Language Detection/481b98fd-0730-4f0f-84ba-3f0f9890191f_content_list.json
ADDED
|
@@ -0,0 +1,1935 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"type": "text",
|
| 4 |
+
"text": "PclGPT: A Large Language Model for Patronizing and Condescending Language Detection",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
132,
|
| 8 |
+
78,
|
| 9 |
+
867,
|
| 10 |
+
118
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Hongbo Wang $^{1}$ , Mingda Li $^{1}$ , Junyu Lu $^{1}$ , Hebin Xia $^{1}$ , Liang Yang $^{1}$ , Bo Xu $^{1}$ , Ruizhu Liu $^{2}$ , Hongfei Lin $^{1*}$",
|
| 17 |
+
"bbox": [
|
| 18 |
+
273,
|
| 19 |
+
124,
|
| 20 |
+
731,
|
| 21 |
+
158
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "$^{1}$ School of Computer Science and Technology,",
|
| 28 |
+
"bbox": [
|
| 29 |
+
312,
|
| 30 |
+
159,
|
| 31 |
+
689,
|
| 32 |
+
175
|
| 33 |
+
],
|
| 34 |
+
"page_idx": 0
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"type": "text",
|
| 38 |
+
"text": "Key Laboratory of Social Computing and Cognitive Intelligence,",
|
| 39 |
+
"bbox": [
|
| 40 |
+
238,
|
| 41 |
+
177,
|
| 42 |
+
763,
|
| 43 |
+
192
|
| 44 |
+
],
|
| 45 |
+
"page_idx": 0
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"type": "text",
|
| 49 |
+
"text": "Dalian University of Technology, China",
|
| 50 |
+
"bbox": [
|
| 51 |
+
337,
|
| 52 |
+
193,
|
| 53 |
+
663,
|
| 54 |
+
208
|
| 55 |
+
],
|
| 56 |
+
"page_idx": 0
|
| 57 |
+
},
|
| 58 |
+
{
|
| 59 |
+
"type": "text",
|
| 60 |
+
"text": "$^{2}$ Computer Science and Engineering College, Dalian Minzu University, China {dutlaowang,dutljy}@mail.dlut.edu.cn {liang,hflin}@dlut.edu.cn",
|
| 61 |
+
"bbox": [
|
| 62 |
+
127,
|
| 63 |
+
209,
|
| 64 |
+
878,
|
| 65 |
+
241
|
| 66 |
+
],
|
| 67 |
+
"page_idx": 0
|
| 68 |
+
},
|
| 69 |
+
{
|
| 70 |
+
"type": "text",
|
| 71 |
+
"text": "Abstract",
|
| 72 |
+
"text_level": 1,
|
| 73 |
+
"bbox": [
|
| 74 |
+
260,
|
| 75 |
+
252,
|
| 76 |
+
339,
|
| 77 |
+
266
|
| 78 |
+
],
|
| 79 |
+
"page_idx": 0
|
| 80 |
+
},
|
| 81 |
+
{
|
| 82 |
+
"type": "text",
|
| 83 |
+
"text": "Disclaimer: Samples in this paper may be harmful and cause discomfort!",
|
| 84 |
+
"bbox": [
|
| 85 |
+
141,
|
| 86 |
+
277,
|
| 87 |
+
458,
|
| 88 |
+
306
|
| 89 |
+
],
|
| 90 |
+
"page_idx": 0
|
| 91 |
+
},
|
| 92 |
+
{
|
| 93 |
+
"type": "text",
|
| 94 |
+
"text": "Patronizing and condescending language (PCL) is a form of speech directed at vulnerable groups. As an essential branch of toxic language, this type of language exacerbates conflicts and confrontations among Internet communities and detrimentally impacts disadvantaged groups. Traditional pre-trained language models (PLMs) perform poorly in detecting PCL due to its implicit toxicity traits like hypocrisy and false sympathy. With the rise of large language models (LLMs), we can harness their rich emotional semantics to establish a paradigm for exploring implicit toxicity. In this paper, we introduce PclGPT<sup>1</sup>, a comprehensive LLM benchmark designed specifically for PCL. We collect, annotate, and integrate the Pcl-PT/SFT dataset, and then develop a bilingual PclGPT-EN/CN model group through a comprehensive pre-training and supervised fine-tuning staircase process to facilitate implicit toxic detection. Group detection results and fine-grained detection from PclGPT and other models reveal significant variations in the degree of bias in PCL towards different vulnerable groups, necessitating increased societal attention to protect them.",
|
| 95 |
+
"bbox": [
|
| 96 |
+
141,
|
| 97 |
+
311,
|
| 98 |
+
460,
|
| 99 |
+
680
|
| 100 |
+
],
|
| 101 |
+
"page_idx": 0
|
| 102 |
+
},
|
| 103 |
+
{
|
| 104 |
+
"type": "text",
|
| 105 |
+
"text": "1 Introduction",
|
| 106 |
+
"text_level": 1,
|
| 107 |
+
"bbox": [
|
| 108 |
+
114,
|
| 109 |
+
702,
|
| 110 |
+
258,
|
| 111 |
+
717
|
| 112 |
+
],
|
| 113 |
+
"page_idx": 0
|
| 114 |
+
},
|
| 115 |
+
{
|
| 116 |
+
"type": "text",
|
| 117 |
+
"text": "Patronizing and condescending language (PCL) specifically targets vulnerable groups. As an important but underexplored branch of toxic language, timely detection of PCL is crucial for protecting disadvantaged communities from further exclusion and inequality. Unlike traditional toxic languages such as hate speech (Cao and Lee, 2020; Caselli et al., 2020) and offensive language (Fortuna et al., 2020; Zampieri et al., 2019; Deng et al., 2022), PCL",
|
| 118 |
+
"bbox": [
|
| 119 |
+
112,
|
| 120 |
+
727,
|
| 121 |
+
489,
|
| 122 |
+
872
|
| 123 |
+
],
|
| 124 |
+
"page_idx": 0
|
| 125 |
+
},
|
| 126 |
+
{
|
| 127 |
+
"type": "text",
|
| 128 |
+
"text": "expressions are more subtle and implicit (e.g., \"These poor children! It's truly admirable how they keep striving despite their humble beginnings.\") This example is interesting because the original intention of PCL might have been to positively describe efforts to improve the lives of disadvantaged groups. However, it ultimately conveys subtle arrogance and discrimination, harming the individuals being sympathized with.",
|
| 129 |
+
"bbox": [
|
| 130 |
+
507,
|
| 131 |
+
253,
|
| 132 |
+
884,
|
| 133 |
+
397
|
| 134 |
+
],
|
| 135 |
+
"page_idx": 0
|
| 136 |
+
},
|
| 137 |
+
{
|
| 138 |
+
"type": "image",
|
| 139 |
+
"img_path": "images/fb55bf5a4bbfb302d087e1c51938865b5fa5a491a9355b21a0a8f745a2b830aa.jpg",
|
| 140 |
+
"image_caption": [
|
| 141 |
+
"Figure 1: Scatter plots for the scores using the Perspective API (Jigsaw, 2021) on the hate and PCL datasets. The left plot shows the English datasets SemEval-19 (HATE) and SemEval-22 (PCL), while the right plot shows the Chinese datasets COLD (HATE) and CCPC (PCL). The toxicity score ranges from 0 to 1, with increasing toxicity as discrete values."
|
| 142 |
+
],
|
| 143 |
+
"image_footnote": [],
|
| 144 |
+
"bbox": [
|
| 145 |
+
495,
|
| 146 |
+
409,
|
| 147 |
+
875,
|
| 148 |
+
552
|
| 149 |
+
],
|
| 150 |
+
"page_idx": 0
|
| 151 |
+
},
|
| 152 |
+
{
|
| 153 |
+
"type": "text",
|
| 154 |
+
"text": "The subtle toxicity of PCL is further illustrated through toxicity scores. We compared the PCL and HATE datasets in both English and Chinese domains. As shown in Figure 1, in both Chinese and English corpora, the toxicity scores of PCL are much lower than those of hate speech. This is due to the ambiguous toxic semantic features of PCL, which often lack explicit attacking vocabulary, leading to PLMs struggling to achieve optimal detection performance. The absence of high-quality data further constrains this field (Wang et al., 2023). Large language models (LLMs) offer new opportunities with their extensive pre-trained knowledge and enhanced capability in revealing toxicity (Wen et al., 2023). However, they still",
|
| 155 |
+
"bbox": [
|
| 156 |
+
505,
|
| 157 |
+
677,
|
| 158 |
+
884,
|
| 159 |
+
919
|
| 160 |
+
],
|
| 161 |
+
"page_idx": 0
|
| 162 |
+
},
|
| 163 |
+
{
|
| 164 |
+
"type": "page_footnote",
|
| 165 |
+
"text": "<sup>1</sup>The data and code in this paper are available at https://github.com/dut-laowang/emnlp24-PclGPT.",
|
| 166 |
+
"bbox": [
|
| 167 |
+
112,
|
| 168 |
+
879,
|
| 169 |
+
487,
|
| 170 |
+
904
|
| 171 |
+
],
|
| 172 |
+
"page_idx": 0
|
| 173 |
+
},
|
| 174 |
+
{
|
| 175 |
+
"type": "page_footnote",
|
| 176 |
+
"text": "$^{1}$ Corresponding author.",
|
| 177 |
+
"bbox": [
|
| 178 |
+
137,
|
| 179 |
+
904,
|
| 180 |
+
292,
|
| 181 |
+
917
|
| 182 |
+
],
|
| 183 |
+
"page_idx": 0
|
| 184 |
+
},
|
| 185 |
+
{
|
| 186 |
+
"type": "table",
|
| 187 |
+
"img_path": "images/c90170997d36c3e188b1923597dda91f3d0aa73644a8fbc4fec62e241f8c5c26.jpg",
|
| 188 |
+
"table_caption": [],
|
| 189 |
+
"table_footnote": [],
|
| 190 |
+
"table_body": "<table><tr><td>English Task</td><td>PCL Category</td><td>PLMs</td><td>GPT4.0</td><td>PclGPT-EN</td></tr><tr><td>Since the elderly have been placed in a nursing home, they are undoubtedly left unattended most of the time.</td><td>Unbalanced-Power-Relations</td><td>×</td><td>×</td><td>✓</td></tr><tr><td>Chinese Task</td><td>PCL Category</td><td>PLMs</td><td>GPT4.0</td><td>PclGPT-CN</td></tr><tr><td>战斗在火焰中激烈进行:茫然、饥饿的非洲难民在燃烧的大门中迷失方向。The fighting raged among the flames: Dazed, starving African refugees wandered lost through the burning portals.</td><td>Compassion</td><td>×</td><td>×</td><td>✓</td></tr></table>",
|
| 191 |
+
"bbox": [
|
| 192 |
+
122,
|
| 193 |
+
80,
|
| 194 |
+
877,
|
| 195 |
+
307
|
| 196 |
+
],
|
| 197 |
+
"page_idx": 1
|
| 198 |
+
},
|
| 199 |
+
{
|
| 200 |
+
"type": "text",
|
| 201 |
+
"text": "Table 1: PclGPT and other models' detection examples for ambiguous PCL. $\\pmb{x}$ indicates incorrect prediction results, $\\nu$ indicates correct prediction results.",
|
| 202 |
+
"bbox": [
|
| 203 |
+
112,
|
| 204 |
+
316,
|
| 205 |
+
882,
|
| 206 |
+
344
|
| 207 |
+
],
|
| 208 |
+
"page_idx": 1
|
| 209 |
+
},
|
| 210 |
+
{
|
| 211 |
+
"type": "text",
|
| 212 |
+
"text": "lack essential domain-specific knowledge for condescending language and effective guidance, leading to incomplete development for implicit toxic detection.",
|
| 213 |
+
"bbox": [
|
| 214 |
+
112,
|
| 215 |
+
376,
|
| 216 |
+
487,
|
| 217 |
+
441
|
| 218 |
+
],
|
| 219 |
+
"page_idx": 1
|
| 220 |
+
},
|
| 221 |
+
{
|
| 222 |
+
"type": "text",
|
| 223 |
+
"text": "To address these challenges, we focus on three main questions: (1) How can we efficiently construct high-quality pre-training and supervised finetuning (SFT) datasets? (2) How can we design a new LLM benchmark that incorporates pre-training and SFT to enhance recognition of implicit toxicity? (3) Can we build a model group for other multilingual tasks like Chinese PCL detection to support vulnerable non-English-speaking communities?",
|
| 224 |
+
"bbox": [
|
| 225 |
+
112,
|
| 226 |
+
445,
|
| 227 |
+
487,
|
| 228 |
+
606
|
| 229 |
+
],
|
| 230 |
+
"page_idx": 1
|
| 231 |
+
},
|
| 232 |
+
{
|
| 233 |
+
"type": "text",
|
| 234 |
+
"text": "To solve these issues, we introduce PclGPT, a comprehensive LLM benchmark for PCL detection, exploring the LLM's understanding of implicit toxicity. First, we collect community data from mainstream internet platforms (Reddit for English and Sina Weibo for Chinese) and process it to construct the Pcl-PT dataset for domain-adaptive pre-training. Next, we annotate, restructure, and filter high-quality data to construct the Pcl-SFT dataset, employing the instruction data paradigm to impose additional constraints on both input and output. Subsequently, we undertake the complete process of pre-training and SFT to construct our bilingual model, PclGPT-EN/CN. This model represents the first known LLM designed explicitly for PCL detection. Our results, shown in Table 1, illustrate the testing results on difficult-to-distinguish ambiguous examples. The model demonstrates superior performance compared to other PLMs and",
|
| 235 |
+
"bbox": [
|
| 236 |
+
112,
|
| 237 |
+
613,
|
| 238 |
+
489,
|
| 239 |
+
919
|
| 240 |
+
],
|
| 241 |
+
"page_idx": 1
|
| 242 |
+
},
|
| 243 |
+
{
|
| 244 |
+
"type": "text",
|
| 245 |
+
"text": "LLMs in both English and Chinese tasks. Further group detection and fine-grained toxicity analysis reveal significant differences in the degree of bias in PCL towards various vulnerable groups. The ambiguity of bias also varies among different PCL subcategories. These findings necessitate increased societal attention to effectively protect vulnerable groups.",
|
| 246 |
+
"bbox": [
|
| 247 |
+
507,
|
| 248 |
+
376,
|
| 249 |
+
882,
|
| 250 |
+
504
|
| 251 |
+
],
|
| 252 |
+
"page_idx": 1
|
| 253 |
+
},
|
| 254 |
+
{
|
| 255 |
+
"type": "text",
|
| 256 |
+
"text": "The main contributions of this paper are summarized as follows:",
|
| 257 |
+
"bbox": [
|
| 258 |
+
507,
|
| 259 |
+
507,
|
| 260 |
+
882,
|
| 261 |
+
538
|
| 262 |
+
],
|
| 263 |
+
"page_idx": 1
|
| 264 |
+
},
|
| 265 |
+
{
|
| 266 |
+
"type": "list",
|
| 267 |
+
"sub_type": "text",
|
| 268 |
+
"list_items": [
|
| 269 |
+
"- We construct the Pcl-PT/SFT datasets to enhance domain-specific knowledge for PCL. Pcl-PT is used for pre-training, covering over 1.4 million data entries from vulnerable communities. Pcl-SFT is used for fine-tuning, with high-quality bilingual instruction samples.",
|
| 270 |
+
"- We propose a pre-training and SFT framework to build our bilingual model, PclGPT-EN/CN. PclGPT is the first LLM designed to detect PCL and other implicit toxic languages, surpassing advanced PLMs and LLMs on four public datasets.",
|
| 271 |
+
"- Through group detection and fine-grained toxicity analysis, we demonstrate the differentiated nature of group biases in PCL, which means that biases against certain vulnerable groups require urgent attention, with PclGPT laying a foundation for managing these biases and protecting those groups."
|
| 272 |
+
],
|
| 273 |
+
"bbox": [
|
| 274 |
+
527,
|
| 275 |
+
560,
|
| 276 |
+
884,
|
| 277 |
+
919
|
| 278 |
+
],
|
| 279 |
+
"page_idx": 1
|
| 280 |
+
},
|
| 281 |
+
{
|
| 282 |
+
"type": "text",
|
| 283 |
+
"text": "2 Related Work",
|
| 284 |
+
"text_level": 1,
|
| 285 |
+
"bbox": [
|
| 286 |
+
114,
|
| 287 |
+
83,
|
| 288 |
+
268,
|
| 289 |
+
98
|
| 290 |
+
],
|
| 291 |
+
"page_idx": 2
|
| 292 |
+
},
|
| 293 |
+
{
|
| 294 |
+
"type": "text",
|
| 295 |
+
"text": "Toxic Language. Toxic language is perceived as an impolite, disrespectful, or irrational statement that may prompt someone to withdraw from a discussion (Dixon et al., 2018). Most existing research has concentrated on its largest subset — hate speech detection (Deng et al., 2022; Caselli et al., 2020; Mathew et al., 2021; Ocampo et al., 2023; Bourgeade et al., 2023; Lu et al., 2023; El-Sayed and Nasr, 2024). However, hate speech typically focuses on direct attacks against specific groups based on religion, race, or ethnicity, while often neglecting other victims of toxicity, such as single-parent families, child laborers, and people with disabilities. Meanwhile, existing research equates toxic language with hate speech, focusing only on direct and explicit offenses and insults, while overlooking implicit forms of toxicity such as stereotypes and irony (ElSherief et al., 2021). These gaps led to the emergence of PCL.",
|
| 296 |
+
"bbox": [
|
| 297 |
+
115,
|
| 298 |
+
112,
|
| 299 |
+
489,
|
| 300 |
+
417
|
| 301 |
+
],
|
| 302 |
+
"page_idx": 2
|
| 303 |
+
},
|
| 304 |
+
{
|
| 305 |
+
"type": "text",
|
| 306 |
+
"text": "Implicit Toxic - PCL. Pérez-Almendros et al. (2020) integrated categories of vulnerable groups and introduced PCL. This type of toxic language conveys a superior attitude or depicts vulnerable communities with pity or as needing help. Unlike traditional hate speech, PCL focuses on implicit toxicity aimed at marginalized and vulnerable groups. Such ambiguous implicit toxicity is less aggressive and has lower toxicity scores, which makes detection more challenging (Figure 1). Wong et al. (2014) noted that PCL is often unconscious, driven by good intentions, and uses embellished language. Xu (2022) identified that such unjust treatment of vulnerable groups can exacerbate societal exclusion and inequality, causing users to leave communities or reduce online participation. While progress has been made in constructing PCL corpora (Wang and Potts, 2019; Wang et al., 2023) and establishing specialized evaluation tracks, further research through improved deep learning networks continues (Pérez-Almendros et al., 2022), yet PCL detection still lacks comprehensive world knowledge. Their efficacy is significantly compromised by inadequate pre-training and the implicit nature of toxicity within PCL.",
|
| 307 |
+
"bbox": [
|
| 308 |
+
115,
|
| 309 |
+
419,
|
| 310 |
+
489,
|
| 311 |
+
820
|
| 312 |
+
],
|
| 313 |
+
"page_idx": 2
|
| 314 |
+
},
|
| 315 |
+
{
|
| 316 |
+
"type": "text",
|
| 317 |
+
"text": "LLM for Toxicity Detection. In recent years, decoder-only LLMs, such as ChatGPT (OpenAI, 2022), GPT-4 (OpenAI, 2023), and LLaMA (Touvron et al., 2023), have revolutionized text generation. LLMs have increasingly been applied in toxic language detection and prevention. Shaikh",
|
| 318 |
+
"bbox": [
|
| 319 |
+
112,
|
| 320 |
+
822,
|
| 321 |
+
489,
|
| 322 |
+
919
|
| 323 |
+
],
|
| 324 |
+
"page_idx": 2
|
| 325 |
+
},
|
| 326 |
+
{
|
| 327 |
+
"type": "text",
|
| 328 |
+
"text": "et al. (2022) demonstrated that zero-shot CoT significantly increases LLMs' toxic output. Wen et al. (2023) proved that SFT and reinforcement learning further induce toxic outputs. Zhu et al. (2023); Huang et al. (2023) used ChatGPT to map answers to binary labels through prompt engineering for hate detection. Roy et al. (2023) enhanced hate speech classification accuracy by including additional victim information. However, no systematic LLM engineering is currently used to detect PCL or other discriminatory texts. Additionally, LLMs' fine-grained discrimination of implicit toxicity remains vague. To address these gaps, we introduce PclGPT, a dedicated LLM benchmark for PCL detection, which leverages pre-training and SFT to surpass existing models on four public datasets.",
|
| 329 |
+
"bbox": [
|
| 330 |
+
507,
|
| 331 |
+
83,
|
| 332 |
+
885,
|
| 333 |
+
342
|
| 334 |
+
],
|
| 335 |
+
"page_idx": 2
|
| 336 |
+
},
|
| 337 |
+
{
|
| 338 |
+
"type": "text",
|
| 339 |
+
"text": "3 PclGPT",
|
| 340 |
+
"text_level": 1,
|
| 341 |
+
"bbox": [
|
| 342 |
+
509,
|
| 343 |
+
356,
|
| 344 |
+
613,
|
| 345 |
+
370
|
| 346 |
+
],
|
| 347 |
+
"page_idx": 2
|
| 348 |
+
},
|
| 349 |
+
{
|
| 350 |
+
"type": "text",
|
| 351 |
+
"text": "The overall approach is illustrated in Figure 2. Our PclGPT model group consists of two sub-models: PclGPT-EN and PclGPT-CN, using LLaMA-2-7B and ChatGLM-3-6B (Du et al., 2022) as their base architectures, respectively. LLaMA, one of the foremost English open-source LLMs today, has been pre-trained on over 20 trillion tokens. ChatGLM, among the most advanced Chinese LLMs, is built upon the Generalized Linear Model (GLM) architecture and has been extensively optimized for Chinese question-answering and dialogue tasks, exhibiting outstanding performance in the Chinese domain. LLaMA-2-7B has a context length of up to 4096 tokens and ChatGLM-3-6B with 8192 tokens, ensuring a thorough understanding of the context. Detailed descriptions of the pre-training and fine-tuning stages will be provided in the subsequent sections.",
|
| 352 |
+
"bbox": [
|
| 353 |
+
507,
|
| 354 |
+
382,
|
| 355 |
+
885,
|
| 356 |
+
671
|
| 357 |
+
],
|
| 358 |
+
"page_idx": 2
|
| 359 |
+
},
|
| 360 |
+
{
|
| 361 |
+
"type": "text",
|
| 362 |
+
"text": "3.1 Pre-training",
|
| 363 |
+
"text_level": 1,
|
| 364 |
+
"bbox": [
|
| 365 |
+
509,
|
| 366 |
+
687,
|
| 367 |
+
653,
|
| 368 |
+
703
|
| 369 |
+
],
|
| 370 |
+
"page_idx": 2
|
| 371 |
+
},
|
| 372 |
+
{
|
| 373 |
+
"type": "text",
|
| 374 |
+
"text": "To facilitate the pre-training process, we introduced the Pcl-PT dataset, comprising the RAL-P and WEB-C datasets. Specifically, we employed separate corpora in English and Chinese to pre-train our PclGPT-EN/CN model group. Our pre-training followed a standard paradigm, where the model predicted the next token based on existing input history. For both PclGPT-EN and PclGPT-CN, we utilized the same vocabulary as the base models and employed AdamW as the optimizer. The initial learning rate was set to $2 \\times 10^{-4}$ with a weight decay of 0.1. We also employed efficient training strategies, including mixed precision training with",
|
| 375 |
+
"bbox": [
|
| 376 |
+
507,
|
| 377 |
+
709,
|
| 378 |
+
884,
|
| 379 |
+
919
|
| 380 |
+
],
|
| 381 |
+
"page_idx": 2
|
| 382 |
+
},
|
| 383 |
+
{
|
| 384 |
+
"type": "image",
|
| 385 |
+
"img_path": "images/66be00ed53a7e2c7bc8f31797ea9232fe40aab4c19b11d9444f8aa69cfa172b1.jpg",
|
| 386 |
+
"image_caption": [
|
| 387 |
+
"Figure 2: An illustration of the overall PclGPT. We establish Pcl-PT/SFT datasets and build a bilingual model group through pre-training and SFT. Instruction Data Format demonstrates the data construction format for SFT."
|
| 388 |
+
],
|
| 389 |
+
"image_footnote": [],
|
| 390 |
+
"bbox": [
|
| 391 |
+
154,
|
| 392 |
+
80,
|
| 393 |
+
842,
|
| 394 |
+
353
|
| 395 |
+
],
|
| 396 |
+
"page_idx": 3
|
| 397 |
+
},
|
| 398 |
+
{
|
| 399 |
+
"type": "text",
|
| 400 |
+
"text": "bf16 (Micikevicius et al., 2017). The specific parameters are detailed in Appendix A. Below, we provide detailed insights into the datasets. The design of our dataset follows the hierarchical format of Tian et al. (2023), with more details shown in Table 2.",
|
| 401 |
+
"bbox": [
|
| 402 |
+
112,
|
| 403 |
+
417,
|
| 404 |
+
489,
|
| 405 |
+
512
|
| 406 |
+
],
|
| 407 |
+
"page_idx": 3
|
| 408 |
+
},
|
| 409 |
+
{
|
| 410 |
+
"type": "text",
|
| 411 |
+
"text": "- RAL-P is derived from the RAL-E dataset. The RAL-E dataset (Caselli et al., 2020) includes offensive, abusive, and hateful content from the Reddit community, comprising 43M tokens collected from December 2005 to March 2017. However, RAL-E predominantly features explicit hate speech, which hinders the accurate identification of PCL, as the toxicity of PCL is often not directly correlated with explicit intensity, positive samples may also convey biased intentions. Therefore, based on the criteria established by Pérez-Almendros et al. (2020), we used LLM to generate a dictionary of over 500 condescending English terms, which was manually calibrated by three proofreaders who collaboratively filtered out terms unrelated to PCL, ultimately retaining 379 relevant terms. We used this dictionary to match RAL-E with data more closely related to PCL, while retaining $30\\%$ of non-PCL entries to ensure balanced pre-training data. RAL-P ultimately retained 1091945 data entries. Detailed processes are presented in Appendix B.",
|
| 412 |
+
"bbox": [
|
| 413 |
+
132,
|
| 414 |
+
532,
|
| 415 |
+
490,
|
| 416 |
+
919
|
| 417 |
+
],
|
| 418 |
+
"page_idx": 3
|
| 419 |
+
},
|
| 420 |
+
{
|
| 421 |
+
"type": "text",
|
| 422 |
+
"text": "- WEB-C. The scarcity of data in the Chinese domain constrains the task of PCL detection. To address this, we designed a framework to systematically gather bullying, violent, and discriminatory content from marginalized communities on Sina Weibo, a mainstream Chinese media platform. We initially limited the search scope to eight major disadvantaged group categories based on PCL criteria (Wang et al., 2023), and expanded the keyword list accordingly. We then crawled Weibo posts from July 2022 to January 2024 using these keywords and performed data filtering and user-sensitive information replacement. Ultimately, we collected 315074 instances. The detailed keyword list and data collection process are presented in Appendix B.",
|
| 423 |
+
"bbox": [
|
| 424 |
+
529,
|
| 425 |
+
417,
|
| 426 |
+
884,
|
| 427 |
+
690
|
| 428 |
+
],
|
| 429 |
+
"page_idx": 3
|
| 430 |
+
},
|
| 431 |
+
{
|
| 432 |
+
"type": "text",
|
| 433 |
+
"text": "3.2 Instruction Data Format",
|
| 434 |
+
"text_level": 1,
|
| 435 |
+
"bbox": [
|
| 436 |
+
507,
|
| 437 |
+
719,
|
| 438 |
+
749,
|
| 439 |
+
734
|
| 440 |
+
],
|
| 441 |
+
"page_idx": 3
|
| 442 |
+
},
|
| 443 |
+
{
|
| 444 |
+
"type": "text",
|
| 445 |
+
"text": "Recent studies have underscored the critical role of SFT in shaping the cognitive capabilities of LLMs, with properly formatted instruction data aiding in fully leveraging the knowledge potential of LLMs (Taori et al., 2023; Chiang et al., 2023; Ouyang et al., 2022). It has been pointed out that incorporating fine-grained toxicity intensity can further enhance the robustness of PCL recognition (Wang et al., 2023). The instruction templates we constructed include both PCL Description Instruction and Toxicity Intensity Instruction, designed",
|
| 446 |
+
"bbox": [
|
| 447 |
+
505,
|
| 448 |
+
741,
|
| 449 |
+
884,
|
| 450 |
+
919
|
| 451 |
+
],
|
| 452 |
+
"page_idx": 3
|
| 453 |
+
},
|
| 454 |
+
{
|
| 455 |
+
"type": "table",
|
| 456 |
+
"img_path": "images/f7e952c79a8c504280f2bdab9d9bdbc7454929dd6299a1b03a57852bd33d1f09.jpg",
|
| 457 |
+
"table_caption": [],
|
| 458 |
+
"table_footnote": [],
|
| 459 |
+
"table_body": "<table><tr><td>Stage</td><td>Dataset</td><td>Language</td><td>Method</td><td>#Instances</td></tr><tr><td rowspan=\"2\">Pcl-PT</td><td>RAL-P</td><td>EN</td><td>Self-built</td><td>1091945</td></tr><tr><td>WEB-C</td><td>CN</td><td>Self-built</td><td>315074</td></tr><tr><td rowspan=\"3\">Pcl-SFT</td><td>Don’t Patronize Me (DPM)</td><td>EN</td><td>Public</td><td>10469</td></tr><tr><td>TalkDown (TD)</td><td>EN</td><td>Public</td><td>74865</td></tr><tr><td>CPCL</td><td>CN</td><td>Self-built</td><td>18253</td></tr><tr><td>Test</td><td>DPM/TD/CPCL/CCPC</td><td>EN,CN</td><td>Public</td><td>N/A</td></tr></table>",
|
| 460 |
+
"bbox": [
|
| 461 |
+
206,
|
| 462 |
+
80,
|
| 463 |
+
794,
|
| 464 |
+
227
|
| 465 |
+
],
|
| 466 |
+
"page_idx": 4
|
| 467 |
+
},
|
| 468 |
+
{
|
| 469 |
+
"type": "text",
|
| 470 |
+
"text": "Table 2: Statistics of the datasets used in training PclGPT under different stages. Pcl-PT is used in the pre-training stage, and Pcl-SFT is used in the SFT stage. \"Method\" means we construct our own dataset / modify a public corpus. \"Instances\" represents the number of sentences or texts.",
|
| 471 |
+
"bbox": [
|
| 472 |
+
112,
|
| 473 |
+
236,
|
| 474 |
+
882,
|
| 475 |
+
280
|
| 476 |
+
],
|
| 477 |
+
"page_idx": 4
|
| 478 |
+
},
|
| 479 |
+
{
|
| 480 |
+
"type": "text",
|
| 481 |
+
"text": "to more accurately capture the implicit semantic characteristics of PCL, as shown in Figure 3.",
|
| 482 |
+
"bbox": [
|
| 483 |
+
112,
|
| 484 |
+
305,
|
| 485 |
+
485,
|
| 486 |
+
336
|
| 487 |
+
],
|
| 488 |
+
"page_idx": 4
|
| 489 |
+
},
|
| 490 |
+
{
|
| 491 |
+
"type": "text",
|
| 492 |
+
"text": "PCL Description Instruction. Since PCL is a subjective toxic category, first, we need a complete description of PCL to guide the model to respond in a standardized format. The description includes the definition and subcategories. This part of the content is fixed and descriptive.",
|
| 493 |
+
"bbox": [
|
| 494 |
+
112,
|
| 495 |
+
338,
|
| 496 |
+
485,
|
| 497 |
+
434
|
| 498 |
+
],
|
| 499 |
+
"page_idx": 4
|
| 500 |
+
},
|
| 501 |
+
{
|
| 502 |
+
"type": "text",
|
| 503 |
+
"text": "(PCL Description Instruction)",
|
| 504 |
+
"text_level": 1,
|
| 505 |
+
"bbox": [
|
| 506 |
+
137,
|
| 507 |
+
454,
|
| 508 |
+
371,
|
| 509 |
+
469
|
| 510 |
+
],
|
| 511 |
+
"page_idx": 4
|
| 512 |
+
},
|
| 513 |
+
{
|
| 514 |
+
"type": "text",
|
| 515 |
+
"text": "Suppose you are a linguist and you are asked to judge whether a given text is patronizing and condescending.<definition of $PCL>$ # Main Subcategories (Optional): <definition of Subcategories1><definition of Subcategories2>...",
|
| 516 |
+
"bbox": [
|
| 517 |
+
134,
|
| 518 |
+
473,
|
| 519 |
+
463,
|
| 520 |
+
579
|
| 521 |
+
],
|
| 522 |
+
"page_idx": 4
|
| 523 |
+
},
|
| 524 |
+
{
|
| 525 |
+
"type": "text",
|
| 526 |
+
"text": "(Toxicity Intensity Instruction) (Optional)",
|
| 527 |
+
"text_level": 1,
|
| 528 |
+
"bbox": [
|
| 529 |
+
136,
|
| 530 |
+
599,
|
| 531 |
+
457,
|
| 532 |
+
615
|
| 533 |
+
],
|
| 534 |
+
"page_idx": 4
|
| 535 |
+
},
|
| 536 |
+
{
|
| 537 |
+
"type": "text",
|
| 538 |
+
"text": "The toxicity intensity of this sentence is mild/moderate/severe",
|
| 539 |
+
"bbox": [
|
| 540 |
+
136,
|
| 541 |
+
618,
|
| 542 |
+
426,
|
| 543 |
+
650
|
| 544 |
+
],
|
| 545 |
+
"page_idx": 4
|
| 546 |
+
},
|
| 547 |
+
{
|
| 548 |
+
"type": "text",
|
| 549 |
+
"text": "Your return: Based on the following conversation, make a decision and return your choice.",
|
| 550 |
+
"bbox": [
|
| 551 |
+
136,
|
| 552 |
+
671,
|
| 553 |
+
433,
|
| 554 |
+
722
|
| 555 |
+
],
|
| 556 |
+
"page_idx": 4
|
| 557 |
+
},
|
| 558 |
+
{
|
| 559 |
+
"type": "text",
|
| 560 |
+
"text": "Here is the text: input text",
|
| 561 |
+
"bbox": [
|
| 562 |
+
137,
|
| 563 |
+
726,
|
| 564 |
+
326,
|
| 565 |
+
741
|
| 566 |
+
],
|
| 567 |
+
"page_idx": 4
|
| 568 |
+
},
|
| 569 |
+
{
|
| 570 |
+
"type": "text",
|
| 571 |
+
"text": "Output: label",
|
| 572 |
+
"bbox": [
|
| 573 |
+
137,
|
| 574 |
+
762,
|
| 575 |
+
236,
|
| 576 |
+
778
|
| 577 |
+
],
|
| 578 |
+
"page_idx": 4
|
| 579 |
+
},
|
| 580 |
+
{
|
| 581 |
+
"type": "text",
|
| 582 |
+
"text": "Figure 3: A template for SFT instructions, including definitions of PCL and its subcategories, as well as toxicity intensity.",
|
| 583 |
+
"bbox": [
|
| 584 |
+
112,
|
| 585 |
+
793,
|
| 586 |
+
485,
|
| 587 |
+
837
|
| 588 |
+
],
|
| 589 |
+
"page_idx": 4
|
| 590 |
+
},
|
| 591 |
+
{
|
| 592 |
+
"type": "text",
|
| 593 |
+
"text": "Toxicity Intensity Instruction (Optional). Next, we focus on the potential influence of the intensity of toxicity on implicit emotions. We used the open-source Perspective API to score the text",
|
| 594 |
+
"bbox": [
|
| 595 |
+
112,
|
| 596 |
+
854,
|
| 597 |
+
489,
|
| 598 |
+
917
|
| 599 |
+
],
|
| 600 |
+
"page_idx": 4
|
| 601 |
+
},
|
| 602 |
+
{
|
| 603 |
+
"type": "text",
|
| 604 |
+
"text": "for toxicity and based on these scores, we integrated toxicity intensity labels into the original data, categorizing them as mild, moderate, and severe.",
|
| 605 |
+
"bbox": [
|
| 606 |
+
507,
|
| 607 |
+
305,
|
| 608 |
+
882,
|
| 609 |
+
351
|
| 610 |
+
],
|
| 611 |
+
"page_idx": 4
|
| 612 |
+
},
|
| 613 |
+
{
|
| 614 |
+
"type": "text",
|
| 615 |
+
"text": "3.3 Supervised Fine-tuning",
|
| 616 |
+
"text_level": 1,
|
| 617 |
+
"bbox": [
|
| 618 |
+
507,
|
| 619 |
+
363,
|
| 620 |
+
741,
|
| 621 |
+
378
|
| 622 |
+
],
|
| 623 |
+
"page_idx": 4
|
| 624 |
+
},
|
| 625 |
+
{
|
| 626 |
+
"type": "text",
|
| 627 |
+
"text": "Following the instruction format outlined in Section 3.2, we constructed the Pcl-SFT dataset for the SFT process, comprising English datasets: Don't Patronize Me! (Pérez-Almendros et al., 2020) and TalkDown (Wang and Potts, 2019), as well as the Chinese dataset CPCL. We adhered to the same bilingual training rules described in 3.1 to ensure the multilingual detection capability of PclGPT. In the following sections, we present detailed information regarding the Pcl-SFT dataset. More details are shown in Table 2.",
|
| 628 |
+
"bbox": [
|
| 629 |
+
507,
|
| 630 |
+
384,
|
| 631 |
+
882,
|
| 632 |
+
558
|
| 633 |
+
],
|
| 634 |
+
"page_idx": 4
|
| 635 |
+
},
|
| 636 |
+
{
|
| 637 |
+
"type": "list",
|
| 638 |
+
"sub_type": "text",
|
| 639 |
+
"list_items": [
|
| 640 |
+
"- Don't Patronize Me! (DPM) contains 10,469 English paragraphs about potentially vulnerable groups, extracted from the News on the Web (NoW). The dataset was annotated hierarchically with numerical labels ranging from 0 to 4, indicating the toxic intensity of PCL. In SFT, we only utilized information from community texts and their corresponding labels.",
|
| 641 |
+
"- TalkDown (TD) is a Reddit community dataset containing 74K English comment-reply pairs. The collected information comes from disadvantaged groups from 2006 to 2018. Each pair is marked as one of three categories: PCL, non-PCL, and unsure. In SFT, we concatenated comment-reply pairs and manually filtered a subset for training. An offensive language dictionary was applied to remove aggressive pairs, aligning with PCL's less offensive nature. To ensure model fairness, data exceeding the input limitations for long texts were discarded."
|
| 642 |
+
],
|
| 643 |
+
"bbox": [
|
| 644 |
+
527,
|
| 645 |
+
565,
|
| 646 |
+
884,
|
| 647 |
+
917
|
| 648 |
+
],
|
| 649 |
+
"page_idx": 4
|
| 650 |
+
},
|
| 651 |
+
{
|
| 652 |
+
"type": "table",
|
| 653 |
+
"img_path": "images/f08ce0a5e1f23af226cb68db4610b166bdaddeed8dd089b1f32d904e69a5e35f.jpg",
|
| 654 |
+
"table_caption": [],
|
| 655 |
+
"table_footnote": [],
|
| 656 |
+
"table_body": "<table><tr><td></td><td>Disabled</td><td>Women</td><td>Elderly</td><td>Children</td><td>Single-parents</td><td>Ordinary.</td><td>Disadv. groups</td><td>Total</td></tr><tr><td>zhihu</td><td>1208</td><td>1147</td><td>1131</td><td>1619</td><td>1113</td><td>1093</td><td>1959</td><td>9270</td></tr><tr><td>zhihup</td><td>338</td><td>248</td><td>294</td><td>374</td><td>264</td><td>263</td><td>354</td><td>2135</td></tr><tr><td>prop.(%)</td><td>28.0</td><td>21.6</td><td>26.0</td><td>23.1</td><td>23.7</td><td>24.1</td><td>18.1</td><td>23.0</td></tr><tr><td>weibo</td><td>1102</td><td>974</td><td>1247</td><td>1588</td><td>1077</td><td>944</td><td>2051</td><td>8983</td></tr><tr><td>weibop</td><td>310</td><td>241</td><td>267</td><td>592</td><td>389</td><td>123</td><td>533</td><td>2455</td></tr><tr><td>prop.(%)</td><td>28.1</td><td>24.7</td><td>21.4</td><td>37.3</td><td>36.1</td><td>13.0</td><td>26.0</td><td>27.3</td></tr><tr><td>Total</td><td>2310</td><td>2121</td><td>2378</td><td>3207</td><td>2190</td><td>2037</td><td>4010</td><td>18253</td></tr></table>",
|
| 657 |
+
"bbox": [
|
| 658 |
+
132,
|
| 659 |
+
71,
|
| 660 |
+
867,
|
| 661 |
+
247
|
| 662 |
+
],
|
| 663 |
+
"page_idx": 5
|
| 664 |
+
},
|
| 665 |
+
{
|
| 666 |
+
"type": "text",
|
| 667 |
+
"text": "Table 3: Statistical Results of CPCL from different Platforms. $\\mathrm{Platform_p}$ represents samples marked as PCL, whereas prop.(%) represents a percentage.",
|
| 668 |
+
"bbox": [
|
| 669 |
+
115,
|
| 670 |
+
256,
|
| 671 |
+
880,
|
| 672 |
+
287
|
| 673 |
+
],
|
| 674 |
+
"page_idx": 5
|
| 675 |
+
},
|
| 676 |
+
{
|
| 677 |
+
"type": "text",
|
| 678 |
+
"text": "- CPCL is a Chinese dataset we manually collected and annotated from Chinese social media platforms. We conducted hierarchical structured annotations on the data according to the toxicity definition of PCL (Pérez-Almendros et al., 2020; Wang et al., 2023). The annotations include toxicity existence, fine-grained PCL categories, and considerations for vulnerable groups. The corpus now has more than 18K two-level structured annotations. Detailed statistics of the CPCL dataset, categorized by media platform and targeted towards vulnerable communities, are shown in Table 3. For toxicity categories, we used Wang's standard (Wang et al., 2023) to categorize Chinese PCL statements into the following subcategories: \"Unbalanced Power Relations\", \"Spectator\", \"Prejudice\", \"Appeal\", and \"Elicit Compassion\". The annotation process involved specialized training, with two annotators for the initial annotation and one annotator for proofreading, to minimize subjective errors in marginal cases. Additionally, we performed a subjective consistency review on the annotation results to ensure the reliability of our annotated data. Appendix C describes a more detailed annotation process.",
|
| 679 |
+
"bbox": [
|
| 680 |
+
134,
|
| 681 |
+
323,
|
| 682 |
+
489,
|
| 683 |
+
774
|
| 684 |
+
],
|
| 685 |
+
"page_idx": 5
|
| 686 |
+
},
|
| 687 |
+
{
|
| 688 |
+
"type": "text",
|
| 689 |
+
"text": "We transformed the union of the original datasets into the SFT data format, combining PCL descriptions with toxicity intensity as described in Section 3.2. We connected pairs of Enhancement-Response to form long input texts, maximizing the sequence length of LLMs. During training, we used sequence-to-sequence loss exclusively and map the final generated output to binary label pairs.",
|
| 690 |
+
"bbox": [
|
| 691 |
+
115,
|
| 692 |
+
790,
|
| 693 |
+
487,
|
| 694 |
+
917
|
| 695 |
+
],
|
| 696 |
+
"page_idx": 5
|
| 697 |
+
},
|
| 698 |
+
{
|
| 699 |
+
"type": "text",
|
| 700 |
+
"text": "We performed SFT on 8 RTX 4090 GPUs, conducting 5 epochs of full-parameter tuning with the AdamW optimizer at a learning rate of 2e-5. The specific parameters are detailed in Appendix A.",
|
| 701 |
+
"bbox": [
|
| 702 |
+
510,
|
| 703 |
+
323,
|
| 704 |
+
880,
|
| 705 |
+
388
|
| 706 |
+
],
|
| 707 |
+
"page_idx": 5
|
| 708 |
+
},
|
| 709 |
+
{
|
| 710 |
+
"type": "text",
|
| 711 |
+
"text": "3.4 Bias Detection for PCL",
|
| 712 |
+
"text_level": 1,
|
| 713 |
+
"bbox": [
|
| 714 |
+
510,
|
| 715 |
+
400,
|
| 716 |
+
736,
|
| 717 |
+
414
|
| 718 |
+
],
|
| 719 |
+
"page_idx": 5
|
| 720 |
+
},
|
| 721 |
+
{
|
| 722 |
+
"type": "text",
|
| 723 |
+
"text": "Inspired by Zhang et al. (2023), we further investigated the effectiveness and fairness of our PclGPT model through group detection and fine-grained classification tasks.",
|
| 724 |
+
"bbox": [
|
| 725 |
+
510,
|
| 726 |
+
422,
|
| 727 |
+
880,
|
| 728 |
+
483
|
| 729 |
+
],
|
| 730 |
+
"page_idx": 5
|
| 731 |
+
},
|
| 732 |
+
{
|
| 733 |
+
"type": "text",
|
| 734 |
+
"text": "Group Detection. Group detection helps us address bias issues in the model against different demographics. We conducted experiments using the DPM dataset, which balances coverage across various minority groups. We compared fine-tuned BERT series models with PclGPT-EN in these experiments.",
|
| 735 |
+
"bbox": [
|
| 736 |
+
510,
|
| 737 |
+
486,
|
| 738 |
+
880,
|
| 739 |
+
598
|
| 740 |
+
],
|
| 741 |
+
"page_idx": 5
|
| 742 |
+
},
|
| 743 |
+
{
|
| 744 |
+
"type": "text",
|
| 745 |
+
"text": "Fine-Grained Analysis. Fine-grained analysis of toxicity categories is crucial for understanding implicit toxic sentiments (Tang et al., 2019). Our Chinese CPCL dataset divides PCL into five subcategories. We split the CPCL dataset into five subsets based on these categories to test the sensitivity of PclGPT-CN to different toxicity types. We compared PclGPT-CN with Chinese-BERT (Sun et al., 2021) and ChatGLM in these experiments.",
|
| 746 |
+
"bbox": [
|
| 747 |
+
510,
|
| 748 |
+
600,
|
| 749 |
+
880,
|
| 750 |
+
744
|
| 751 |
+
],
|
| 752 |
+
"page_idx": 5
|
| 753 |
+
},
|
| 754 |
+
{
|
| 755 |
+
"type": "text",
|
| 756 |
+
"text": "4 Result and Analysis",
|
| 757 |
+
"text_level": 1,
|
| 758 |
+
"bbox": [
|
| 759 |
+
510,
|
| 760 |
+
758,
|
| 761 |
+
712,
|
| 762 |
+
774
|
| 763 |
+
],
|
| 764 |
+
"page_idx": 5
|
| 765 |
+
},
|
| 766 |
+
{
|
| 767 |
+
"type": "text",
|
| 768 |
+
"text": "4.1 Baselines and Settings",
|
| 769 |
+
"text_level": 1,
|
| 770 |
+
"bbox": [
|
| 771 |
+
510,
|
| 772 |
+
785,
|
| 773 |
+
727,
|
| 774 |
+
800
|
| 775 |
+
],
|
| 776 |
+
"page_idx": 5
|
| 777 |
+
},
|
| 778 |
+
{
|
| 779 |
+
"type": "text",
|
| 780 |
+
"text": "To validate the performance of PclGPT, we extensively tested various PLMs and LLMs with our PclGPT model group on four public datasets (two in English and two in Chinese). To ensure our model demonstrates the best performance on bilingual PCL detection, we used PclGPT-EN to detect the English datasets and PclGPT-CN for Chinese.",
|
| 781 |
+
"bbox": [
|
| 782 |
+
510,
|
| 783 |
+
806,
|
| 784 |
+
880,
|
| 785 |
+
917
|
| 786 |
+
],
|
| 787 |
+
"page_idx": 5
|
| 788 |
+
},
|
| 789 |
+
{
|
| 790 |
+
"type": "table",
|
| 791 |
+
"img_path": "images/f92e8bb1f9e61f96623066d75ef667d2644190c8208fe16200fe1a91a3af0841.jpg",
|
| 792 |
+
"table_caption": [],
|
| 793 |
+
"table_footnote": [],
|
| 794 |
+
"table_body": "<table><tr><td rowspan=\"2\">LM</td><td rowspan=\"2\">Model</td><td colspan=\"3\">DPM</td><td colspan=\"3\">TD</td><td colspan=\"3\">CPCL</td><td>CCPC</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>F1</td></tr><tr><td rowspan=\"4\">PLMs</td><td>RoBERTa</td><td>76.3</td><td>78.7</td><td>77.4</td><td>88.4</td><td>86.7</td><td>86.5</td><td>61.2</td><td>61.3</td><td>61.3</td><td>55.4</td></tr><tr><td>RoBERTa-L</td><td>80.2</td><td>74.9</td><td>77.2</td><td>88.1</td><td>86.0</td><td>85.9</td><td>62.5</td><td>61.6</td><td>62.0</td><td>55.3</td></tr><tr><td>Chinese-BERT</td><td>71.2</td><td>63.5</td><td>66.2</td><td>76.7</td><td>74.7</td><td>74.2</td><td>66.6</td><td>71.0</td><td>67.3</td><td>57.1</td></tr><tr><td>M-BERT</td><td>69.2</td><td>76.0</td><td>71.8</td><td>87.6</td><td>87.4</td><td>87.4</td><td>65.8</td><td>67.8</td><td>66.6</td><td>56.0</td></tr><tr><td rowspan=\"5\">Base-LLMs</td><td>ChatGPT</td><td>50.8</td><td>52.3</td><td>46.9</td><td>59.2</td><td>58.1</td><td>56.7</td><td>53.1</td><td>54.2</td><td>53.6</td><td>53.3</td></tr><tr><td>GPT-4.0</td><td>51.5</td><td>57.5</td><td>54.3</td><td>60.8</td><td>60.3</td><td>60.5</td><td>55.4</td><td>56.3</td><td>55.7</td><td>56.3</td></tr><tr><td>Claude-3</td><td>52.3</td><td>52.5</td><td>52.3</td><td>61.6</td><td>64.1</td><td>63.2</td><td>57.2</td><td>57.7</td><td>57.3</td><td>57.6</td></tr><tr><td>LLaMA-2-7B</td><td>50.9</td><td>52.6</td><td>51.4</td><td>49.9</td><td>49.9</td><td>49.7</td><td>45.2</td><td>47.5</td><td>46.3</td><td>42.5</td></tr><tr><td>ChatGLM-3-6B</td><td>N/A</td><td>N/A</td><td>N/A</td><td>N/A</td><td>N/A</td><td>N/A</td><td>51.9</td><td>50.2</td><td>51.0</td><td>49.1</td></tr><tr><td rowspan=\"4\">LLMs(Ours)</td><td>PclGPT-EN</td><td>80.4</td><td>81.8</td><td>81.1</td><td>89.9</td><td>89.0</td><td>88.9</td><td>N/A</td><td>N/A</td><td>N/A</td><td>N/A</td></tr><tr><td>-TII</td><td>79.5</td><td>80.3</td><td>79.9</td><td>88.5</td><td>88.0</td><td>88.2</td><td>N/A</td><td>N/A</td><td>N/A</td><td>N/A</td></tr><tr><td>PclGPT-CN</td><td>N/A</td><td>N/A</td><td>N/A</td><td>N/A</td><td>N/A</td><td>N/A</td><td>69.1</td><td>72.0</td><td>70.2</td><td>60.2</td></tr><tr><td>-TII</td><td>N/A</td><td>N/A</td><td>N/A</td><td>N/A</td><td>N/A</td><td>N/A</td><td>68.1</td><td>71.0</td><td>69.5</td><td>57.2</td></tr></table>",
|
| 795 |
+
"bbox": [
|
| 796 |
+
114,
|
| 797 |
+
80,
|
| 798 |
+
857,
|
| 799 |
+
368
|
| 800 |
+
],
|
| 801 |
+
"page_idx": 6
|
| 802 |
+
},
|
| 803 |
+
{
|
| 804 |
+
"type": "text",
|
| 805 |
+
"text": "Table 4: The results indicate the macro-average precision (P), recall (R), and F1-score, calculated by weighting the F1 of positive and negative samples. Optimal and suboptimal scores are denoted in bold and underlined, respectively. For optimal performance, we used the model test data for each language, with \"N/A\" for non-applicable segments. CPCL is our new Chinese dataset, while CCPC (Wang et al., 2023) serves as a comparative experiment to validate the generalization ability of CPCL. - TII is the result of removing the Toxicity Intensity Instruction template.",
|
| 806 |
+
"bbox": [
|
| 807 |
+
112,
|
| 808 |
+
376,
|
| 809 |
+
882,
|
| 810 |
+
450
|
| 811 |
+
],
|
| 812 |
+
"page_idx": 6
|
| 813 |
+
},
|
| 814 |
+
{
|
| 815 |
+
"type": "text",
|
| 816 |
+
"text": "PLMs. Pre-trained language models have consistently been the most important types of models in traditional toxicity detection tasks. We employed BERT and its relevant variants within the PLM category, such as RoBERTa (Liu et al., 2019), Chinese-BERT, and Multilingual-BERT (M-BERT) (Pires et al., 2019). To ensure the optimal performance of PLMs on the test set, we used the standard training and fine-tuning workflow. The training portions of three public datasets were used for training the PLMs (For CCPC, we continued using the training set of CPCL). Additionally, both PLMs and LLMs were evaluated using the same test set to ensure comparability. Detailed parameters are shown in Appendix A, providing comprehensive insights into our experimental setup.",
|
| 817 |
+
"bbox": [
|
| 818 |
+
112,
|
| 819 |
+
474,
|
| 820 |
+
489,
|
| 821 |
+
733
|
| 822 |
+
],
|
| 823 |
+
"page_idx": 6
|
| 824 |
+
},
|
| 825 |
+
{
|
| 826 |
+
"type": "text",
|
| 827 |
+
"text": "Base-LLMs. The use of LLMs is divided into two parts. For advanced but non-open-source LLMs, such as ChatGPT and Claude-3 (Anthropic, 2024), we accessed them via API calls. Meanwhile, we used the original versions of LLaMA-2-7B and ChatGLM-3-6B without any parameter fine-tuning as part of the PclGPT ablation study to evaluate the performance improvements. To ensure experimental consistency, we used the same instruction format for other LLMs as used for PclGPT. Given that PCL represents implicit toxicity, and the perfor",
|
| 828 |
+
"bbox": [
|
| 829 |
+
112,
|
| 830 |
+
741,
|
| 831 |
+
489,
|
| 832 |
+
919
|
| 833 |
+
],
|
| 834 |
+
"page_idx": 6
|
| 835 |
+
},
|
| 836 |
+
{
|
| 837 |
+
"type": "text",
|
| 838 |
+
"text": "mance of base LLMs with few-shot setups remains limited, we employed zero-shot testing for a clearer comparison.",
|
| 839 |
+
"bbox": [
|
| 840 |
+
507,
|
| 841 |
+
474,
|
| 842 |
+
882,
|
| 843 |
+
521
|
| 844 |
+
],
|
| 845 |
+
"page_idx": 6
|
| 846 |
+
},
|
| 847 |
+
{
|
| 848 |
+
"type": "text",
|
| 849 |
+
"text": "For the results of both PLMs and LLMs, we evaluated the models using macro-average precision (P), recall (R), and F1-score (F1).",
|
| 850 |
+
"bbox": [
|
| 851 |
+
507,
|
| 852 |
+
523,
|
| 853 |
+
882,
|
| 854 |
+
570
|
| 855 |
+
],
|
| 856 |
+
"page_idx": 6
|
| 857 |
+
},
|
| 858 |
+
{
|
| 859 |
+
"type": "text",
|
| 860 |
+
"text": "4.2 Overall Performance",
|
| 861 |
+
"text_level": 1,
|
| 862 |
+
"bbox": [
|
| 863 |
+
507,
|
| 864 |
+
583,
|
| 865 |
+
721,
|
| 866 |
+
598
|
| 867 |
+
],
|
| 868 |
+
"page_idx": 6
|
| 869 |
+
},
|
| 870 |
+
{
|
| 871 |
+
"type": "text",
|
| 872 |
+
"text": "Table 4 compares the performance of PclGPT with PLMs and other LLMs on four test sets.",
|
| 873 |
+
"bbox": [
|
| 874 |
+
507,
|
| 875 |
+
605,
|
| 876 |
+
880,
|
| 877 |
+
634
|
| 878 |
+
],
|
| 879 |
+
"page_idx": 6
|
| 880 |
+
},
|
| 881 |
+
{
|
| 882 |
+
"type": "list",
|
| 883 |
+
"sub_type": "text",
|
| 884 |
+
"list_items": [
|
| 885 |
+
"- PLM still holds significant importance in the field of toxicity detection, but the disadvantages are apparent. From the perspective of subjective ambiguity, PLM performs well on the Talkdown (English) dataset, which has a uniform data distribution and clear definitions. However, it performs poorly on the DPM (English) and CPCL (Chinese) datasets, where the definition of condescension is more ambiguous.",
|
| 886 |
+
"- PclGPT has achieved outstanding results in both English and Chinese domains, with particularly noticeable improvements in detecting ambiguous data. Specifically, PclGPT improved by $3.7\\%$ on the DPM dataset compared to the best RoBERTa model, and by"
|
| 887 |
+
],
|
| 888 |
+
"bbox": [
|
| 889 |
+
527,
|
| 890 |
+
649,
|
| 891 |
+
884,
|
| 892 |
+
917
|
| 893 |
+
],
|
| 894 |
+
"page_idx": 6
|
| 895 |
+
},
|
| 896 |
+
{
|
| 897 |
+
"type": "image",
|
| 898 |
+
"img_path": "images/e9b478fab3db4e2f6125caf67799eec6a8bc64461221feeb9d7333e8dec6c616.jpg",
|
| 899 |
+
"image_caption": [
|
| 900 |
+
"Figure 4: Group detection for different models. The test group consists of 10 different disadvantaged communities."
|
| 901 |
+
],
|
| 902 |
+
"image_footnote": [],
|
| 903 |
+
"bbox": [
|
| 904 |
+
154,
|
| 905 |
+
84,
|
| 906 |
+
842,
|
| 907 |
+
382
|
| 908 |
+
],
|
| 909 |
+
"page_idx": 7
|
| 910 |
+
},
|
| 911 |
+
{
|
| 912 |
+
"type": "text",
|
| 913 |
+
"text": "$2.9\\%$ on the CPCL dataset compared to the best Chinese-BERT model.",
|
| 914 |
+
"bbox": [
|
| 915 |
+
149,
|
| 916 |
+
432,
|
| 917 |
+
485,
|
| 918 |
+
464
|
| 919 |
+
],
|
| 920 |
+
"page_idx": 7
|
| 921 |
+
},
|
| 922 |
+
{
|
| 923 |
+
"type": "text",
|
| 924 |
+
"text": "- Base-LLMs, without parameter adjustments, have not realized their potential in subjective toxicity detection. Due to insufficient emphasis on toxic texts, unadjusted LLMs show low performance in detecting implicit toxic texts like PCL. Compared to PLMs, LLMs' average performance drops by about $20.49\\%$ in precision, $18.87\\%$ in recall, and $19.66\\%$ in F1 score. This drop is intriguing as PCL samples often contain positive expressions and goodwill, interfering with LLMs' pre-trained features. PclGPT effectively guides LLMs in understanding PCL toxicity definitions and subcategories, providing essential guidelines for future LLM safety regulations.",
|
| 925 |
+
"bbox": [
|
| 926 |
+
132,
|
| 927 |
+
473,
|
| 928 |
+
489,
|
| 929 |
+
715
|
| 930 |
+
],
|
| 931 |
+
"page_idx": 7
|
| 932 |
+
},
|
| 933 |
+
{
|
| 934 |
+
"type": "text",
|
| 935 |
+
"text": "4.3 Result for PCL Group Detection",
|
| 936 |
+
"text_level": 1,
|
| 937 |
+
"bbox": [
|
| 938 |
+
112,
|
| 939 |
+
721,
|
| 940 |
+
415,
|
| 941 |
+
738
|
| 942 |
+
],
|
| 943 |
+
"page_idx": 7
|
| 944 |
+
},
|
| 945 |
+
{
|
| 946 |
+
"type": "text",
|
| 947 |
+
"text": "In Figure 4, we compared the performance of PclGPT-EN and other models in detecting PCL across different vulnerable groups. The test set had an even distribution of various vulnerable groups and positive samples. However, the models showed a clear preference for identifying poor-families and homeless individuals, indicating that these groups exhibit more identifiable semantic features. Expressions of sympathy and pity towards these groups are more likely to be perceived as condescending. PclGPT further enhanced the detection capability",
|
| 948 |
+
"bbox": [
|
| 949 |
+
112,
|
| 950 |
+
741,
|
| 951 |
+
489,
|
| 952 |
+
919
|
| 953 |
+
],
|
| 954 |
+
"page_idx": 7
|
| 955 |
+
},
|
| 956 |
+
{
|
| 957 |
+
"type": "text",
|
| 958 |
+
"text": "for these groups. In contrast, ambiguous discriminatory attitudes towards migrants and immigrants remain challenging to identify, suggesting that additional measures are necessary to protect these groups.",
|
| 959 |
+
"bbox": [
|
| 960 |
+
507,
|
| 961 |
+
432,
|
| 962 |
+
884,
|
| 963 |
+
513
|
| 964 |
+
],
|
| 965 |
+
"page_idx": 7
|
| 966 |
+
},
|
| 967 |
+
{
|
| 968 |
+
"type": "table",
|
| 969 |
+
"img_path": "images/4dcf14b17ea6d75f0f3a09b6ce31c9e5a79ecfbe316196b6ed764463da9a97e7.jpg",
|
| 970 |
+
"table_caption": [],
|
| 971 |
+
"table_footnote": [],
|
| 972 |
+
"table_body": "<table><tr><td>Category</td><td>Chat-GLM</td><td>Chinese-BERT</td><td>PclGPT-CN</td></tr><tr><td>Unb.</td><td>52.1</td><td>66.5</td><td>69.4 ↑ 2.9</td></tr><tr><td>Spectators</td><td>44.3</td><td>71.3</td><td>72.1 ↑ 0.8</td></tr><tr><td>Prejudice</td><td>49.7</td><td>64.3</td><td>67.5 ↑ 3.2</td></tr><tr><td>Appeal</td><td>24.5</td><td>59.0</td><td>65.0 ↑ 6.0</td></tr><tr><td>Compassion</td><td>44.2</td><td>52.3</td><td>57.4 ↑ 5.1</td></tr></table>",
|
| 973 |
+
"bbox": [
|
| 974 |
+
510,
|
| 975 |
+
527,
|
| 976 |
+
882,
|
| 977 |
+
646
|
| 978 |
+
],
|
| 979 |
+
"page_idx": 7
|
| 980 |
+
},
|
| 981 |
+
{
|
| 982 |
+
"type": "text",
|
| 983 |
+
"text": "Table 5: Experimental results for fine-grained PCL Detection. We evaluated our model using the macro-average F1-score as the metric.",
|
| 984 |
+
"bbox": [
|
| 985 |
+
507,
|
| 986 |
+
653,
|
| 987 |
+
882,
|
| 988 |
+
697
|
| 989 |
+
],
|
| 990 |
+
"page_idx": 7
|
| 991 |
+
},
|
| 992 |
+
{
|
| 993 |
+
"type": "text",
|
| 994 |
+
"text": "4.4 Result for Fine-grained PCL Detection",
|
| 995 |
+
"text_level": 1,
|
| 996 |
+
"bbox": [
|
| 997 |
+
507,
|
| 998 |
+
734,
|
| 999 |
+
858,
|
| 1000 |
+
749
|
| 1001 |
+
],
|
| 1002 |
+
"page_idx": 7
|
| 1003 |
+
},
|
| 1004 |
+
{
|
| 1005 |
+
"type": "text",
|
| 1006 |
+
"text": "Table 5 presents the results of our fine-grained PCL testing. Our experiment indicated that models still exhibit varying degrees of bias in detecting different subcategories of PCL. In the \"Appeal\" and \"Compassion\" subcategories, subjective and ambiguous expressions effectively evade the recognizer's correct functioning. Notably, our PclGPTCN showed improved performance across all subcategories, with the most significant improvement in the ambiguous \"Appeal\" subcategory.",
|
| 1007 |
+
"bbox": [
|
| 1008 |
+
505,
|
| 1009 |
+
757,
|
| 1010 |
+
884,
|
| 1011 |
+
919
|
| 1012 |
+
],
|
| 1013 |
+
"page_idx": 7
|
| 1014 |
+
},
|
| 1015 |
+
{
|
| 1016 |
+
"type": "text",
|
| 1017 |
+
"text": "5 Conclusion",
|
| 1018 |
+
"text_level": 1,
|
| 1019 |
+
"bbox": [
|
| 1020 |
+
114,
|
| 1021 |
+
83,
|
| 1022 |
+
247,
|
| 1023 |
+
98
|
| 1024 |
+
],
|
| 1025 |
+
"page_idx": 8
|
| 1026 |
+
},
|
| 1027 |
+
{
|
| 1028 |
+
"type": "text",
|
| 1029 |
+
"text": "In this paper, we introduce PclGPT, a large language model group designed to detect PCL targeting vulnerable groups. As a subset of the toxic language, PCL harms vulnerable groups through discriminatory language. Traditional PLMs struggle with PCL detection due to its implicit harmful features. PclGPT significantly improves detection performance by leveraging the emotional semantic capabilities of LLMs. We collect, annotate, and merge the Pcl-PT/SFT dataset, and establish the PclGPT-EN/CN through comprehensive pretraining and SFT process to detect PCL in both Chinese and English communities. PclGPT outperforms existing models on four public datasets, demonstrating its strong capability in handling implicit harmful language. Additionally, group detection and fine-grained toxicity analysis reveal significant bias differences against various vulnerable groups, highlighting the urgent need for societal protection. PclGPT's development enhances PCL recognition and provides new directions and tools for future implicit toxic language research.",
|
| 1030 |
+
"bbox": [
|
| 1031 |
+
115,
|
| 1032 |
+
111,
|
| 1033 |
+
490,
|
| 1034 |
+
464
|
| 1035 |
+
],
|
| 1036 |
+
"page_idx": 8
|
| 1037 |
+
},
|
| 1038 |
+
{
|
| 1039 |
+
"type": "text",
|
| 1040 |
+
"text": "6 Limitation",
|
| 1041 |
+
"text_level": 1,
|
| 1042 |
+
"bbox": [
|
| 1043 |
+
112,
|
| 1044 |
+
479,
|
| 1045 |
+
240,
|
| 1046 |
+
494
|
| 1047 |
+
],
|
| 1048 |
+
"page_idx": 8
|
| 1049 |
+
},
|
| 1050 |
+
{
|
| 1051 |
+
"type": "text",
|
| 1052 |
+
"text": "PCL is a subclass of microaggressions within toxic language. Due to the limited research in this area, further linguistic foundation is needed to refine the standardized definition of this type of speech. Our current study lacks an examination of \"false positive\" cases, such as insincere benevolence and superficial compliments directed at marginalized communities. Moreover, because of its implicit toxic nature, research on PCL can substantially contribute to the study of other forms of implicit toxicity or aggression, such as implicit hate speech, sarcasm, and stereotypes, guiding our future research. Considering the potential for toxic optimization and value-based controversies when using reinforcement learning from human feedback (RLHF) in training models, we did not apply RLHF in this paper. For further details, please refer to Appendix G.",
|
| 1053 |
+
"bbox": [
|
| 1054 |
+
115,
|
| 1055 |
+
507,
|
| 1056 |
+
489,
|
| 1057 |
+
796
|
| 1058 |
+
],
|
| 1059 |
+
"page_idx": 8
|
| 1060 |
+
},
|
| 1061 |
+
{
|
| 1062 |
+
"type": "text",
|
| 1063 |
+
"text": "Acknowledgments",
|
| 1064 |
+
"text_level": 1,
|
| 1065 |
+
"bbox": [
|
| 1066 |
+
114,
|
| 1067 |
+
810,
|
| 1068 |
+
278,
|
| 1069 |
+
828
|
| 1070 |
+
],
|
| 1071 |
+
"page_idx": 8
|
| 1072 |
+
},
|
| 1073 |
+
{
|
| 1074 |
+
"type": "text",
|
| 1075 |
+
"text": "This research is supported by the Natural Science Foundation of China (No. 62376051, 62076046, 62076051), the National Language Commission Key Program (No. ZDI145-80), the Liaoning Province Applied Basic Research Program (No.",
|
| 1076 |
+
"bbox": [
|
| 1077 |
+
112,
|
| 1078 |
+
838,
|
| 1079 |
+
490,
|
| 1080 |
+
919
|
| 1081 |
+
],
|
| 1082 |
+
"page_idx": 8
|
| 1083 |
+
},
|
| 1084 |
+
{
|
| 1085 |
+
"type": "text",
|
| 1086 |
+
"text": "2022JH2/101300270), the Liaoning Provincial Natural Science Foundation Joint Fund Program (2023-MSBA-003), and the Fundamental Research Funds for the Central Universities (DUT24MS003). We would like to thank all reviewers for their constructive comments.",
|
| 1087 |
+
"bbox": [
|
| 1088 |
+
507,
|
| 1089 |
+
83,
|
| 1090 |
+
885,
|
| 1091 |
+
179
|
| 1092 |
+
],
|
| 1093 |
+
"page_idx": 8
|
| 1094 |
+
},
|
| 1095 |
+
{
|
| 1096 |
+
"type": "text",
|
| 1097 |
+
"text": "References",
|
| 1098 |
+
"text_level": 1,
|
| 1099 |
+
"bbox": [
|
| 1100 |
+
509,
|
| 1101 |
+
197,
|
| 1102 |
+
608,
|
| 1103 |
+
211
|
| 1104 |
+
],
|
| 1105 |
+
"page_idx": 8
|
| 1106 |
+
},
|
| 1107 |
+
{
|
| 1108 |
+
"type": "list",
|
| 1109 |
+
"sub_type": "ref_text",
|
| 1110 |
+
"list_items": [
|
| 1111 |
+
"Anthropic. 2024. Claude 3. Large Language Model developed by Anthropic.",
|
| 1112 |
+
"Tom Bourgeade, Patricia Chiril, Farah Benamara, and Véronique Moriceau. 2023. What did you learn to hate? a topic-oriented analysis of generalization in hate speech detection. In Proceedings of the 17th Conference of the European Chapter of the Association for Computational Linguistics, pages 3495-3508.",
|
| 1113 |
+
"Rui Cao and Roy Ka-Wei Lee. 2020. Hategan: Adversarial generative-based data augmentation for hate speech detection. In Proceedings of the 28th International Conference on Computational Linguistics, pages 6327-6338.",
|
| 1114 |
+
"Tommaso Caselli, Valerio Basile, Jelena Mitrovic, and Michael Granitzer. 2020. Hatebert: Retraining bert for abusive language detection in english. arXiv preprint arXiv:2010.12472.",
|
| 1115 |
+
"Wei-Lin Chiang, Zhuohan Li, Zi Lin, Ying Sheng, Zhanghao Wu, Hao Zhang, Lianmin Zheng, Siyuan Zhuang, Yonghao Zhuang, Joseph E Gonzalez, et al. 2023. Vicuna: An open-source chatbot impressing gpt-4 with $90\\%$ * chatgpt quality. See https://vicuna.lmsys.org (accessed 14 April 2023).",
|
| 1116 |
+
"Jiawen Deng, Jingyan Zhou, Hao Sun, Chujie Zheng, Fei Mi, Helen Meng, and Minlie Huang. 2022. Cold: A benchmark for chinese offensive language detection. arXiv preprint arXiv:2201.06025.",
|
| 1117 |
+
"Lucas Dixon, John Li, Jeffrey Sorensen, Nithum Thain, and Lucy Vasserman. 2018. Measuring and mitigating unintended bias in text classification. In Proceedings of the 2018 AAAI/ACM Conference on AI, Ethics, and Society, pages 67-73.",
|
| 1118 |
+
"Zhengxiao Du, Yujie Qian, Xiao Liu, Ming Ding, Jiezhong Qiu, Zhilin Yang, and Jie Tang. 2022. Glm: General language model pretraining with autoregressive blank infilling. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 320-335.",
|
| 1119 |
+
"Ahmed El-Sayed and Omar Nasr. 2024. AAST-NLP at multimodal hate speech event detection 2024: A multimodal approach for classification of text-embedded images based on CLIP and BERT-based models. In Proceedings of the 7th Workshop on Challenges and Applications of Automated Extraction of Sociopolitical Events from Text (CASE 2024), pages 139-144, St. Julians, Malta. Association for Computational Linguistics."
|
| 1120 |
+
],
|
| 1121 |
+
"bbox": [
|
| 1122 |
+
509,
|
| 1123 |
+
218,
|
| 1124 |
+
885,
|
| 1125 |
+
919
|
| 1126 |
+
],
|
| 1127 |
+
"page_idx": 8
|
| 1128 |
+
},
|
| 1129 |
+
{
|
| 1130 |
+
"type": "list",
|
| 1131 |
+
"sub_type": "ref_text",
|
| 1132 |
+
"list_items": [
|
| 1133 |
+
"Mai ElSherief, Caleb Ziems, David Muchlinski, Vaishnavi Anupindi, Jordyn Seybolt, Munmun De Choudhury, and Diyi Yang. 2021. Latent hatred: A benchmark for understanding implicit hate speech. arXiv preprint arXiv:2109.05322.",
|
| 1134 |
+
"Paula Fortuna, Juan Soler, and Leo Wanner. 2020. Toxic, hateful, offensive or abusive? what are we really classifying? an empirical analysis of hate speech datasets. In Proceedings of the Twelfth Language Resources and Evaluation Conference, pages 6786-6794.",
|
| 1135 |
+
"Fan Huang, Haewoon Kwak, and Jisun An. 2023. Is chatgpt better than human annotators? potential and limitations of chatgpt in explaining implicit hate speech. In Companion proceedings of the ACM web conference 2023, pages 294-297.",
|
| 1136 |
+
"Jigsaw. 2021. Perspective api.",
|
| 1137 |
+
"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.",
|
| 1138 |
+
"Junyu Lu, Bo Xu, Xiaokun Zhang, Changrong Min, Liang Yang, and Hongfei Lin. 2023. Facilitating fine-grained detection of Chinese toxic language: Hierarchical taxonomy, resources, and benchmarks. In Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), ACL 2023, Toronto, Canada, July 9-14, 2023, pages 16235-16250. Association for Computational Linguistics.",
|
| 1139 |
+
"Binny Mathew, Punyajoy Saha, Seid Muhie Yimam, Chris Biemann, Pawan Goyal, and Animesh Mukherjee. 2021. Hatexplain: A benchmark dataset for explainable hate speech detection. In Proceedings of the AAAI conference on artificial intelligence, volume 35, pages 14867-14875.",
|
| 1140 |
+
"Paulius Micikevicius, Sharan Narang, Jonah Alben, Gregory Diamos, Erich Elsen, David Garcia, Boris Ginsburg, Michael Houston, Oleksii Kuchaiev, Ganesh Venkatesh, et al. 2017. Mixed precision training. arXiv preprint arXiv:1710.03740.",
|
| 1141 |
+
"Nicolas Benjamin Ocampo, Ekaterina Sviridova, Elena Cabrio, and Serena Villata. 2023. An in-depth analysis of implicit and subtle hate speech messages. In Proceedings of the 17th Conference of the European Chapter of the Association for Computational Linguistics, pages 1997-2013. Association for Computational Linguistics.",
|
| 1142 |
+
"OpenAI. 2022. Introducing chatgpt.",
|
| 1143 |
+
"R OpenAI. 2023. Gpt-4 technical report. arxiv 2303.08774. View in Article, 2:13.",
|
| 1144 |
+
"Long Ouyang, Jeffrey Wu, Xu Jiang, Diogo Almeida, Carroll Wainwright, Pamela Mishkin, Chong Zhang, Sandhini Agarwal, Katarina Slama, Alex Ray, et al."
|
| 1145 |
+
],
|
| 1146 |
+
"bbox": [
|
| 1147 |
+
115,
|
| 1148 |
+
85,
|
| 1149 |
+
485,
|
| 1150 |
+
917
|
| 1151 |
+
],
|
| 1152 |
+
"page_idx": 9
|
| 1153 |
+
},
|
| 1154 |
+
{
|
| 1155 |
+
"type": "list",
|
| 1156 |
+
"sub_type": "ref_text",
|
| 1157 |
+
"list_items": [
|
| 1158 |
+
"2022. Training language models to follow instructions with human feedback. Advances in neural information processing systems, 35:27730-27744.",
|
| 1159 |
+
"Carla Pérez-Almendros, Luis Espinosa Anke, and Steven Schockaert. 2022. Semeval-2022 task 4: Patronizing and condescending language detection. In Proceedings of the 16th International Workshop on Semantic Evaluation (SemEval-2022), pages 298-307.",
|
| 1160 |
+
"Carla Pérez-Almendros, Luis Espinosa-Anke, and Steven Schockaert. 2020. Don't patronize me! an annotated dataset with patronizing and condescending language towards vulnerable communities. arXiv preprint arXiv:2011.08320.",
|
| 1161 |
+
"Telmo Pires, Eva Schlinger, and Dan Garrette. 2019. How multilingual is multilingual BERT? In Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics, pages 4996-5001, Florence, Italy. Association for Computational Linguistics.",
|
| 1162 |
+
"Sarthak Roy, Ashish Harshavardhan, Animesh Mukherjee, and Punyajoy Saha. 2023. Probing llms for hate speech detection: strengths and vulnerabilities. arXiv preprint arXiv:2310.12860.",
|
| 1163 |
+
"Omar Shaikh, Hongxin Zhang, William Held, Michael Bernstein, and Diyi Yang. 2022. On second thought, let's not think step by step! bias and toxicity in zero-shot reasoning. arXiv preprint arXiv:2212.08061.",
|
| 1164 |
+
"Zijun Sun, Xiaoya Li, Xiaofei Sun, Yuxian Meng, Xiang Ao, Qing He, Fei Wu, and Jiwei Li. 2021. Chinesebert: Chinese pretraining enhanced by glyph and pinyin information. arXiv preprint arXiv:2106.16038.",
|
| 1165 |
+
"Feilong Tang, Luoyi Fu, Bin Yao, and Wenchao Xu. 2019. Aspect based fine-grained sentiment analysis for online reviews. Information Sciences, 488:190-204.",
|
| 1166 |
+
"Rohan Taori, Ishaan Gulrajani, Tianyi Zhang, Yann Dubois, Xuechen Li, Carlos Guestrin, Percy Liang, and Tatsunori B Hashimoto. 2023. Stanford alpaca: An instruction-following llama model.",
|
| 1167 |
+
"Yuanhe Tian, Ruyi Gan, Yan Song, Jiaxing Zhang, and Yongdong Zhang. 2023. Chimed-gpt: A chinese medical large language model with full training regime and better alignment to human preferences.",
|
| 1168 |
+
"Hugo Touvron, Louis Martin, Kevin Stone, Peter Albert, Amjad Almahairi, Yasmine Babaei, Nikolay Bashlykov, Soumya Batra, Prajjwal Bhargava, Shruti Bhosale, et al. 2023. Llama 2: Open foundation and fine-tuned chat models. arXiv preprint arXiv:2307.09288.",
|
| 1169 |
+
"Hongbo Wang, Mingda Li, Junyu Lu, Liang Yang, Hebin Xia, and Hongfei Lin. 2023. Ccpc: A hierarchical chinese corpus for patronizing and condescending language detection. In CCF International"
|
| 1170 |
+
],
|
| 1171 |
+
"bbox": [
|
| 1172 |
+
510,
|
| 1173 |
+
85,
|
| 1174 |
+
880,
|
| 1175 |
+
917
|
| 1176 |
+
],
|
| 1177 |
+
"page_idx": 9
|
| 1178 |
+
},
|
| 1179 |
+
{
|
| 1180 |
+
"type": "text",
|
| 1181 |
+
"text": "Conference on Natural Language Processing and Chinese Computing, pages 640-652. Springer.",
|
| 1182 |
+
"bbox": [
|
| 1183 |
+
131,
|
| 1184 |
+
85,
|
| 1185 |
+
487,
|
| 1186 |
+
112
|
| 1187 |
+
],
|
| 1188 |
+
"page_idx": 10
|
| 1189 |
+
},
|
| 1190 |
+
{
|
| 1191 |
+
"type": "text",
|
| 1192 |
+
"text": "Zijian Wang and Christopher Potts. 2019. Talkdown: A corpus for condescension detection in context. arXiv preprint arXiv:1909.11272.",
|
| 1193 |
+
"bbox": [
|
| 1194 |
+
114,
|
| 1195 |
+
120,
|
| 1196 |
+
485,
|
| 1197 |
+
162
|
| 1198 |
+
],
|
| 1199 |
+
"page_idx": 10
|
| 1200 |
+
},
|
| 1201 |
+
{
|
| 1202 |
+
"type": "text",
|
| 1203 |
+
"text": "Jiaxin Wen, Pei Ke, Hao Sun, Zhexin Zhang, Chengfei Li, Jinfeng Bai, and Minlie Huang. 2023. Unveiling the implicit toxicity in large language models. arXiv preprint arXiv:2311.17391.",
|
| 1204 |
+
"bbox": [
|
| 1205 |
+
114,
|
| 1206 |
+
170,
|
| 1207 |
+
485,
|
| 1208 |
+
223
|
| 1209 |
+
],
|
| 1210 |
+
"page_idx": 10
|
| 1211 |
+
},
|
| 1212 |
+
{
|
| 1213 |
+
"type": "text",
|
| 1214 |
+
"text": "Gloria Wong, Annie O Derthick, EJR David, Anne Saw, and Sumie Okazaki. 2014. The what, the why, and the how: A review of racial microaggressions research in psychology. *Race and social problems*, 6:181-200.",
|
| 1215 |
+
"bbox": [
|
| 1216 |
+
114,
|
| 1217 |
+
231,
|
| 1218 |
+
487,
|
| 1219 |
+
298
|
| 1220 |
+
],
|
| 1221 |
+
"page_idx": 10
|
| 1222 |
+
},
|
| 1223 |
+
{
|
| 1224 |
+
"type": "text",
|
| 1225 |
+
"text": "Jinghua Xu. 2022. Xu at semeval-2022 task 4: Prebert neural network methods vs post-bert roberta approach for patronizing and condescending language detection. arXiv preprint arXiv:2211.06874.",
|
| 1226 |
+
"bbox": [
|
| 1227 |
+
114,
|
| 1228 |
+
307,
|
| 1229 |
+
487,
|
| 1230 |
+
361
|
| 1231 |
+
],
|
| 1232 |
+
"page_idx": 10
|
| 1233 |
+
},
|
| 1234 |
+
{
|
| 1235 |
+
"type": "text",
|
| 1236 |
+
"text": "Marcos Zampieri, Shervin Malmasi, Preslav Nakov, Sara Rosenthal, Noura Farra, and Ritesh Kumar. 2019. Semeval-2019 task 6: Identifying and categorizing offensive language in social media (offenseval). arXiv preprint arXiv:1903.08983.",
|
| 1237 |
+
"bbox": [
|
| 1238 |
+
114,
|
| 1239 |
+
370,
|
| 1240 |
+
487,
|
| 1241 |
+
436
|
| 1242 |
+
],
|
| 1243 |
+
"page_idx": 10
|
| 1244 |
+
},
|
| 1245 |
+
{
|
| 1246 |
+
"type": "text",
|
| 1247 |
+
"text": "Boyu Zhang, Hongyang Yang, and Xiao-Yang Liu. 2023. Instruct-fingpt: Financial sentiment analysis by instruction tuning of general-purpose large language models. arXiv preprint arXiv:2306.12659.",
|
| 1248 |
+
"bbox": [
|
| 1249 |
+
114,
|
| 1250 |
+
445,
|
| 1251 |
+
487,
|
| 1252 |
+
498
|
| 1253 |
+
],
|
| 1254 |
+
"page_idx": 10
|
| 1255 |
+
},
|
| 1256 |
+
{
|
| 1257 |
+
"type": "text",
|
| 1258 |
+
"text": "Yiming Zhu, Peixian Zhang, Ehsan-Ul Haq, Pan Hui, and Gareth Tyson. 2023. Can chatgpt reproduce human-generated labels? a study of social computing tasks. arXiv preprint arXiv:2304.10145.",
|
| 1259 |
+
"bbox": [
|
| 1260 |
+
114,
|
| 1261 |
+
507,
|
| 1262 |
+
487,
|
| 1263 |
+
561
|
| 1264 |
+
],
|
| 1265 |
+
"page_idx": 10
|
| 1266 |
+
},
|
| 1267 |
+
{
|
| 1268 |
+
"type": "text",
|
| 1269 |
+
"text": "A Parameter Settings",
|
| 1270 |
+
"text_level": 1,
|
| 1271 |
+
"bbox": [
|
| 1272 |
+
114,
|
| 1273 |
+
571,
|
| 1274 |
+
317,
|
| 1275 |
+
588
|
| 1276 |
+
],
|
| 1277 |
+
"page_idx": 10
|
| 1278 |
+
},
|
| 1279 |
+
{
|
| 1280 |
+
"type": "text",
|
| 1281 |
+
"text": "A.1 PLM Settings",
|
| 1282 |
+
"text_level": 1,
|
| 1283 |
+
"bbox": [
|
| 1284 |
+
114,
|
| 1285 |
+
596,
|
| 1286 |
+
272,
|
| 1287 |
+
613
|
| 1288 |
+
],
|
| 1289 |
+
"page_idx": 10
|
| 1290 |
+
},
|
| 1291 |
+
{
|
| 1292 |
+
"type": "text",
|
| 1293 |
+
"text": "To compare our PclGPT, we fine-tuned our PLMs using the same size training and test sets as those used for PclGPT. Specifically, we conducted finetuning experiments for 5 epochs on 2 A100 GPUs and used the best epoch model weights for test set predictions. We tested RoBERTa, Chinese-BERT, and M-BERT models on four datasets. The specific parameters are as shown in Table 7.",
|
| 1294 |
+
"bbox": [
|
| 1295 |
+
112,
|
| 1296 |
+
618,
|
| 1297 |
+
487,
|
| 1298 |
+
746
|
| 1299 |
+
],
|
| 1300 |
+
"page_idx": 10
|
| 1301 |
+
},
|
| 1302 |
+
{
|
| 1303 |
+
"type": "table",
|
| 1304 |
+
"img_path": "images/db39be3146003362947391778731e5ce3385c6a3497b32e57767bf7e5a53d8fb.jpg",
|
| 1305 |
+
"table_caption": [],
|
| 1306 |
+
"table_footnote": [],
|
| 1307 |
+
"table_body": "<table><tr><td>Parameter_for_PLM</td><td>Value</td></tr><tr><td>Lr</td><td>1e-2</td></tr><tr><td>Max_len</td><td>1024</td></tr><tr><td>Batchsize</td><td>16</td></tr><tr><td>Training Epochs</td><td>5</td></tr><tr><td>warmup_steps</td><td>500</td></tr><tr><td>GPUs</td><td>A100_PCIE*2 (40G)</td></tr></table>",
|
| 1308 |
+
"bbox": [
|
| 1309 |
+
115,
|
| 1310 |
+
758,
|
| 1311 |
+
487,
|
| 1312 |
+
876
|
| 1313 |
+
],
|
| 1314 |
+
"page_idx": 10
|
| 1315 |
+
},
|
| 1316 |
+
{
|
| 1317 |
+
"type": "text",
|
| 1318 |
+
"text": "Table 7: Detailed parameter settings for the fine-tuning and testing phases of PLMs.",
|
| 1319 |
+
"bbox": [
|
| 1320 |
+
112,
|
| 1321 |
+
885,
|
| 1322 |
+
485,
|
| 1323 |
+
914
|
| 1324 |
+
],
|
| 1325 |
+
"page_idx": 10
|
| 1326 |
+
},
|
| 1327 |
+
{
|
| 1328 |
+
"type": "text",
|
| 1329 |
+
"text": "A.2 PclGPT Settings",
|
| 1330 |
+
"text_level": 1,
|
| 1331 |
+
"bbox": [
|
| 1332 |
+
509,
|
| 1333 |
+
84,
|
| 1334 |
+
690,
|
| 1335 |
+
99
|
| 1336 |
+
],
|
| 1337 |
+
"page_idx": 10
|
| 1338 |
+
},
|
| 1339 |
+
{
|
| 1340 |
+
"type": "text",
|
| 1341 |
+
"text": "For PclGPT, due to the scale effect of the pretraining corpus, we set a higher learning rate and batch size than SFT. Both the pre-training and SFT were conducted on 8 RTX 4090 GPUs. We accomplished this procedure and guaranteed the consistency of the pertinent training parameters in both Chinese and English models. During the inference phase, to control for a single variable, we used the same configuration of 2 A100 GPUs as in the PLM fine-tuning, as shown in Table 6. This inference setup is also applicable to the zero-shot inference process for non-API Base-LLMs, like LLaMA-2-7B and ChatGLM-3-6B.",
|
| 1342 |
+
"bbox": [
|
| 1343 |
+
507,
|
| 1344 |
+
105,
|
| 1345 |
+
882,
|
| 1346 |
+
313
|
| 1347 |
+
],
|
| 1348 |
+
"page_idx": 10
|
| 1349 |
+
},
|
| 1350 |
+
{
|
| 1351 |
+
"type": "text",
|
| 1352 |
+
"text": "B Detailed Construction of the Pcl-PT Dataset",
|
| 1353 |
+
"text_level": 1,
|
| 1354 |
+
"bbox": [
|
| 1355 |
+
509,
|
| 1356 |
+
324,
|
| 1357 |
+
855,
|
| 1358 |
+
356
|
| 1359 |
+
],
|
| 1360 |
+
"page_idx": 10
|
| 1361 |
+
},
|
| 1362 |
+
{
|
| 1363 |
+
"type": "text",
|
| 1364 |
+
"text": "RAL-P. In the process of transforming RAL-E, we used LLM to construct a PCL dictionary. Specifically, we had the LLM generate over 500 words that best reflect patronizing semantics based on confidence levels, which were then manually verified. Part of the word cloud information sorted by confidence levels is shown in Figure 5. For sentences in RAL-E that did not contain any dictionary information, we retained only $30\\%$ as non-patronizing corpus, while all sentences containing any dictionary information were retained. The original text corpus consisted of 1,476,472 sentences, and the filtered corpus contained 1,091,945 sentences, which were used as RAL-P pre-training data.",
|
| 1365 |
+
"bbox": [
|
| 1366 |
+
507,
|
| 1367 |
+
365,
|
| 1368 |
+
882,
|
| 1369 |
+
592
|
| 1370 |
+
],
|
| 1371 |
+
"page_idx": 10
|
| 1372 |
+
},
|
| 1373 |
+
{
|
| 1374 |
+
"type": "image",
|
| 1375 |
+
"img_path": "images/9870561de6cd359ce1d50aff533885aa740d5364e7f34cf1ba130f8aae278385.jpg",
|
| 1376 |
+
"image_caption": [
|
| 1377 |
+
"Figure 5: Word cloud statistics of the condescending dictionary."
|
| 1378 |
+
],
|
| 1379 |
+
"image_footnote": [],
|
| 1380 |
+
"bbox": [
|
| 1381 |
+
547,
|
| 1382 |
+
611,
|
| 1383 |
+
850,
|
| 1384 |
+
816
|
| 1385 |
+
],
|
| 1386 |
+
"page_idx": 10
|
| 1387 |
+
},
|
| 1388 |
+
{
|
| 1389 |
+
"type": "text",
|
| 1390 |
+
"text": "WEB-C. We uniformly collected data from eight common vulnerable groups on the Weibo platform",
|
| 1391 |
+
"bbox": [
|
| 1392 |
+
507,
|
| 1393 |
+
887,
|
| 1394 |
+
880,
|
| 1395 |
+
917
|
| 1396 |
+
],
|
| 1397 |
+
"page_idx": 10
|
| 1398 |
+
},
|
| 1399 |
+
{
|
| 1400 |
+
"type": "table",
|
| 1401 |
+
"img_path": "images/b320d2708430140fd18fdb2a9e847b0ddf870e448ae579f53512498ecc89fa2b.jpg",
|
| 1402 |
+
"table_caption": [],
|
| 1403 |
+
"table_footnote": [],
|
| 1404 |
+
"table_body": "<table><tr><td>Parameter_for_PT</td><td>Value</td><td>Parameter_for_SFT</td><td>Value</td></tr><tr><td>Lr</td><td>2e-4</td><td>Lr</td><td>2e-5</td></tr><tr><td>Batchsize</td><td>32</td><td>Batchsize</td><td>16</td></tr><tr><td>Training Epochs</td><td>5</td><td>Training Epochs</td><td>5</td></tr><tr><td>Max Source Len</td><td>512</td><td>Block Size</td><td>1024</td></tr><tr><td>Max Target Len</td><td>512</td><td>-</td><td>-</td></tr><tr><td>GPUs</td><td>RTX 4090*8 (24G)</td><td>GPUs</td><td>RTX 4090*8 (24G)</td></tr><tr><td>-</td><td>-</td><td>GPUs_inference</td><td>A100_PCIE*2 (40G)</td></tr></table>",
|
| 1405 |
+
"bbox": [
|
| 1406 |
+
115,
|
| 1407 |
+
80,
|
| 1408 |
+
884,
|
| 1409 |
+
215
|
| 1410 |
+
],
|
| 1411 |
+
"page_idx": 11
|
| 1412 |
+
},
|
| 1413 |
+
{
|
| 1414 |
+
"type": "text",
|
| 1415 |
+
"text": "as our WEB-C Chinese pre-training corpus. The annotation team added 20 of the most commonly used search terms for each group, resulting in the final search list. Detailed information on community categories can be found in Table 8. For filtering, we removed duplicate and irrelevant samples (including common fixed tags on Weibo such as \"#话题内容\" and \"#评论日期\"), and we replaced user information with #USER to comply with the community privacy agreement. We retained the emojis in the samples and converted them to the corresponding Chinese text specified by the platform to preserve as much of the emotional semantic information conveyed by the emojis as possible.",
|
| 1416 |
+
"bbox": [
|
| 1417 |
+
110,
|
| 1418 |
+
278,
|
| 1419 |
+
489,
|
| 1420 |
+
505
|
| 1421 |
+
],
|
| 1422 |
+
"page_idx": 11
|
| 1423 |
+
},
|
| 1424 |
+
{
|
| 1425 |
+
"type": "table",
|
| 1426 |
+
"img_path": "images/baa3ac5deee596bb380e79bf587e219bf03b91948aec850c7c8662db79850fab.jpg",
|
| 1427 |
+
"table_caption": [
|
| 1428 |
+
"Table 6: Detailed configuration parameters for the pre-training and SFT phases of PclGPT. The inference phase uses the same GPU configuration as the PLM test."
|
| 1429 |
+
],
|
| 1430 |
+
"table_footnote": [],
|
| 1431 |
+
"table_body": "<table><tr><td>Community</td><td>Total</td></tr><tr><td># Disabled</td><td>38981</td></tr><tr><td># Women</td><td>40256</td></tr><tr><td># Elderly</td><td>39385</td></tr><tr><td># Children</td><td>38475</td></tr><tr><td># Single-parent</td><td>40689</td></tr><tr><td># Ordinary People</td><td>37589</td></tr><tr><td># Disadvantaged</td><td>40324</td></tr><tr><td># Others</td><td>39375</td></tr></table>",
|
| 1432 |
+
"bbox": [
|
| 1433 |
+
132,
|
| 1434 |
+
514,
|
| 1435 |
+
470,
|
| 1436 |
+
665
|
| 1437 |
+
],
|
| 1438 |
+
"page_idx": 11
|
| 1439 |
+
},
|
| 1440 |
+
{
|
| 1441 |
+
"type": "text",
|
| 1442 |
+
"text": "C Detailed Construction of the Pcl-SFT Dataset",
|
| 1443 |
+
"text_level": 1,
|
| 1444 |
+
"bbox": [
|
| 1445 |
+
112,
|
| 1446 |
+
731,
|
| 1447 |
+
473,
|
| 1448 |
+
764
|
| 1449 |
+
],
|
| 1450 |
+
"page_idx": 11
|
| 1451 |
+
},
|
| 1452 |
+
{
|
| 1453 |
+
"type": "text",
|
| 1454 |
+
"text": "CPCL. We adopted the same method as WEB-C described in Appendix B for data selection and filtering, and manually annotated the high-quality texts. This section provides a detailed description of the annotation and statistics of our constructed CPCL dataset. Due to the subjective nature of PCL speech, we abandoned the automatic annotation method by LLM and continued to use manual annotation. We recruited four annotators with diverse",
|
| 1455 |
+
"bbox": [
|
| 1456 |
+
112,
|
| 1457 |
+
774,
|
| 1458 |
+
489,
|
| 1459 |
+
917
|
| 1460 |
+
],
|
| 1461 |
+
"page_idx": 11
|
| 1462 |
+
},
|
| 1463 |
+
{
|
| 1464 |
+
"type": "text",
|
| 1465 |
+
"text": "gender, age, and educational backgrounds (two primary annotators and two proofreaders) (50% female, 50% male; age 25±5 years; two master's degree holders, two PhD holders). We adopted the standard proposed by Wang et al. (2023) and conducted detailed training on test samples before annotation to ensure that annotators understood the subtle toxicity differences of PCL. The annotation was uniformly conducted using the annotation template as shown in Figure 7. To ensure annotation consistency, we calculated the Kappa inter-annotator agreement (IAA) for binary and multiclass annotations. The IAA results are shown in Table 9. If we ignore all annotations marked as low toxicity intensity by at least one annotator, the IAA improves. This indicates that PCL with weak toxicity intensity has higher ambiguity.",
|
| 1466 |
+
"bbox": [
|
| 1467 |
+
507,
|
| 1468 |
+
278,
|
| 1469 |
+
884,
|
| 1470 |
+
552
|
| 1471 |
+
],
|
| 1472 |
+
"page_idx": 11
|
| 1473 |
+
},
|
| 1474 |
+
{
|
| 1475 |
+
"type": "table",
|
| 1476 |
+
"img_path": "images/7f598f9a83b0ab65c812076623b94a33c2949ce638397f8e43124e484ddd2665.jpg",
|
| 1477 |
+
"table_caption": [
|
| 1478 |
+
"Table 8: The final collection status of different PCL communities."
|
| 1479 |
+
],
|
| 1480 |
+
"table_footnote": [],
|
| 1481 |
+
"table_body": "<table><tr><td>Binary-classification</td><td>Kappa IAA</td></tr><tr><td>All labels</td><td>0.62</td></tr><tr><td>Remove Weak level</td><td>0.67</td></tr><tr><td>Multi-classification</td><td>Kappa IAA</td></tr><tr><td>Unbalanced Power Rel.</td><td>0.65</td></tr><tr><td>Spectators</td><td>0.54</td></tr><tr><td>Prejudice</td><td>0.61</td></tr><tr><td>Appeal</td><td>0.48</td></tr><tr><td>Sympathy</td><td>0.71</td></tr></table>",
|
| 1482 |
+
"bbox": [
|
| 1483 |
+
527,
|
| 1484 |
+
564,
|
| 1485 |
+
865,
|
| 1486 |
+
741
|
| 1487 |
+
],
|
| 1488 |
+
"page_idx": 11
|
| 1489 |
+
},
|
| 1490 |
+
{
|
| 1491 |
+
"type": "text",
|
| 1492 |
+
"text": "Table 9: Kappa IAA scores of CPCL binary and multiclass annotations.",
|
| 1493 |
+
"bbox": [
|
| 1494 |
+
507,
|
| 1495 |
+
750,
|
| 1496 |
+
882,
|
| 1497 |
+
778
|
| 1498 |
+
],
|
| 1499 |
+
"page_idx": 11
|
| 1500 |
+
},
|
| 1501 |
+
{
|
| 1502 |
+
"type": "text",
|
| 1503 |
+
"text": "D Case Study for PclGPT",
|
| 1504 |
+
"text_level": 1,
|
| 1505 |
+
"bbox": [
|
| 1506 |
+
507,
|
| 1507 |
+
810,
|
| 1508 |
+
749,
|
| 1509 |
+
828
|
| 1510 |
+
],
|
| 1511 |
+
"page_idx": 11
|
| 1512 |
+
},
|
| 1513 |
+
{
|
| 1514 |
+
"type": "text",
|
| 1515 |
+
"text": "To further illustrate the rationales of PclGPT, and to determine whether the model can effectively identify the fuzzy subcategory of PCL. We selected samples from the Chinese and English test results respectively for case testing. The results are de",
|
| 1516 |
+
"bbox": [
|
| 1517 |
+
507,
|
| 1518 |
+
838,
|
| 1519 |
+
884,
|
| 1520 |
+
919
|
| 1521 |
+
],
|
| 1522 |
+
"page_idx": 11
|
| 1523 |
+
},
|
| 1524 |
+
{
|
| 1525 |
+
"type": "table",
|
| 1526 |
+
"img_path": "images/f528c2d37090b667a44901b711a5426faae00d0d6d006d072db972e781ac2835.jpg",
|
| 1527 |
+
"table_caption": [],
|
| 1528 |
+
"table_footnote": [
|
| 1529 |
+
"Table 10: Illustration of case study. We selected typical PCL samples from the English and Chinese test sets respectively. \"Category\" represents the fine-grained toxicity category of PCL, \"Explanation\" is a manual annotation analysis, and the key information is marked in red. $\\checkmark$ indicates that the model has made a correct judgment, $X$ indicates a wrong judgment."
|
| 1530 |
+
],
|
| 1531 |
+
"table_body": "<table><tr><td>EN</td><td>Case A(i)</td><td>Case B(i)</td></tr><tr><td>Text</td><td>After already receiving relief funds, what else do these so-called 'poor' families think they deserve?</td><td>For some of these male prostitutes, the 'clients' they picked up on this corner were their only means of survival.</td></tr><tr><td>Category</td><td>"Unbalanced Power Relations","Prejudice"</td><td>"Spectator","Elicit Compassion"</td></tr><tr><td>Explanation</td><td>The phrase "so-called 'poor' families" suggests a condescending attitude towards impoverished households, reflecting an unbalanced power relationship, where those with more resources view those with less through a biased perspective. The tone is dismissive and judgmental.</td><td>The phrasing of this sentence suggests a spectator's indifferent attitude towards male prostitutes. It implies that these men have no other choice but to engage in sex work for survival. Spectators elicit compassion for their plight while maintaining a superior stance. The toxicity of such descriptive statements is often complex to detect.</td></tr><tr><td>Recognition Difficulty</td><td>Middle</td><td>High</td></tr><tr><td>Prediction</td><td>M-BERT:✓, RoBERTa:✓, GPT-4.0:X, Claude-3:✓, LLaMA-2:X, PclGPT-EN:✓</td><td>M-BERT:X, RoBERTa:X, GPT-4.0:X, Claude-3:✓, LLaMA-2:X, PclGPT-EN:✓</td></tr><tr><td>CN</td><td>Case A(ii)</td><td>Case B(ii)</td></tr><tr><td>Text</td><td>单亲的小孩大概率很难相处。Translation: Children from single-parent families often face difficulties in getting along with others.</td><td>农民工挣钱不容易的,确保工资该发就发吧。Translation: Making a living as a migrant worker is no easy task, let's make sure they receive their rightful wages.</td></tr><tr><td>Category</td><td>"Unbalanced Power Relations","Prejudice"</td><td>"Appeal","Elicit Compassion"</td></tr><tr><td>Explanation</td><td>This statement reflects an unbalanced power relation and prejudice against single-parent families. It assumes that children from such backgrounds inherently face social difficulties, ignoring the complexity of individual experiences and the diverse support systems that may exist.</td><td>This superficial appeal for fairness to migrant workers hides implicit bias. It simplifies their fight and focuses solely on the wage situation. Due to the lack of offensive intent, this condescending attitude is difficult to detect without deeper analysis.</td></tr><tr><td>Recognition Difficulty</td><td>Middle</td><td>High</td></tr><tr><td>Prediction</td><td>RoBERTa:X, Chinese-BERT:✓, GPT-4.0:X, Claude-3:✓, ChatGLM-3:✓, PclGPT-CN:✓</td><td>RoBERTa:X, Chinese-BERT:X, GPT-4.0:X, Claude-3:X, ChatGLM-3:✓, PclGPT-CN:✓</td></tr></table>",
|
| 1532 |
+
"bbox": [
|
| 1533 |
+
142,
|
| 1534 |
+
83,
|
| 1535 |
+
853,
|
| 1536 |
+
860
|
| 1537 |
+
],
|
| 1538 |
+
"page_idx": 12
|
| 1539 |
+
},
|
| 1540 |
+
{
|
| 1541 |
+
"type": "text",
|
| 1542 |
+
"text": "tailed in Table 10. Regarding the English part, we selected M-BERT, RoBERTa, GPT-4.0, Claude3, LLaMA-2-7B and PclGPT-EN for comparative analysis. For Chinese data, we choose Chinese pre-trained Chinese-BERT, ChatGLM-3-6B and PclGPT-CN for comparison.",
|
| 1543 |
+
"bbox": [
|
| 1544 |
+
115,
|
| 1545 |
+
84,
|
| 1546 |
+
485,
|
| 1547 |
+
179
|
| 1548 |
+
],
|
| 1549 |
+
"page_idx": 13
|
| 1550 |
+
},
|
| 1551 |
+
{
|
| 1552 |
+
"type": "text",
|
| 1553 |
+
"text": "- Case A generally selects cases with \"Unbalanced Power Relations\" and \"Prejudice\" labels in PCL. In these examples, advantaged groups place themselves in a higher social status and display strong discriminatory characteristics against disadvantaged groups. For example, \"so-called\" in A(i) satirizes that poor communities should not receive subsidies, a severe expression of prejudice. A(ii) expresses the stereotype that \"children from single-parent families are difficult to get along with\". The toxicity of this type of speech is apparent. Although there is no precise attack vocabulary, the models can detect it effectively. In A(i), most models can effectively identify the result. Similar results were obtained in A(ii), indicating that the Chinese domain also uses the semantic information of PCL.",
|
| 1554 |
+
"bbox": [
|
| 1555 |
+
137,
|
| 1556 |
+
193,
|
| 1557 |
+
485,
|
| 1558 |
+
480
|
| 1559 |
+
],
|
| 1560 |
+
"page_idx": 13
|
| 1561 |
+
},
|
| 1562 |
+
{
|
| 1563 |
+
"type": "text",
|
| 1564 |
+
"text": "- The cases selected in Case B are mostly subcategories of \"Spectator\" and \"Elicit Compassion\". These categories place advantaged groups as bystanders, offering superficial opinions to solve problems or expressing sympathy for disadvantaged groups. In B(i), people's sympathy for the \"client\" is aroused through descriptive sentences, and in B(ii), people's concern for the \"migrant worker\" is aroused, and people are called for guaranteed wages. The PCL toxicity of these remarks is hidden in vague expressions, and it is difficult for the model to detect the implicit toxicity. For B(i), only Claude-3 and PclGPT-EN correctly identified the result, while for B(ii), only ChatGLM-3 and PclGPT-CN correctly identified the result. This demonstrates the importance of PclGPT for implicit toxicity detection.",
|
| 1565 |
+
"bbox": [
|
| 1566 |
+
137,
|
| 1567 |
+
494,
|
| 1568 |
+
485,
|
| 1569 |
+
797
|
| 1570 |
+
],
|
| 1571 |
+
"page_idx": 13
|
| 1572 |
+
},
|
| 1573 |
+
{
|
| 1574 |
+
"type": "text",
|
| 1575 |
+
"text": "E Add Implicit Interference Samples",
|
| 1576 |
+
"text_level": 1,
|
| 1577 |
+
"bbox": [
|
| 1578 |
+
115,
|
| 1579 |
+
813,
|
| 1580 |
+
448,
|
| 1581 |
+
829
|
| 1582 |
+
],
|
| 1583 |
+
"page_idx": 13
|
| 1584 |
+
},
|
| 1585 |
+
{
|
| 1586 |
+
"type": "text",
|
| 1587 |
+
"text": "We conducted additional experiments to assess PclGPT's detection capabilities for implicit toxicity. As a subjective sentiment, the ambiguous part of PCL's semantic information often results in interference samples during annotation. These sam",
|
| 1588 |
+
"bbox": [
|
| 1589 |
+
115,
|
| 1590 |
+
840,
|
| 1591 |
+
485,
|
| 1592 |
+
917
|
| 1593 |
+
],
|
| 1594 |
+
"page_idx": 13
|
| 1595 |
+
},
|
| 1596 |
+
{
|
| 1597 |
+
"type": "table",
|
| 1598 |
+
"img_path": "images/829499c2fd83a171d932c071b1fccf194ee8d6f581526b15b140b12f40e5a34f.jpg",
|
| 1599 |
+
"table_caption": [],
|
| 1600 |
+
"table_footnote": [
|
| 1601 |
+
"Table 11: The test results of each model after gradually adding fuzzy samples. The percentage in parentheses indicates the change after addition compared with before addition."
|
| 1602 |
+
],
|
| 1603 |
+
"table_body": "<table><tr><td>Model</td><td>S-None</td><td>S-Few</td><td>S-All</td></tr><tr><td>BERT</td><td>67.1 (0)</td><td>67.2 (+0.1)</td><td>67.1 (-0.6)</td></tr><tr><td>ChatGLM</td><td>48.1 (0)</td><td>48.8 (+0.7)</td><td>48.3 (-0.5)</td></tr><tr><td>ChatGPT</td><td>64.3 (0)</td><td>61.3 (-3.0)</td><td>52.4 (-8.9)</td></tr><tr><td>GPT-4.0</td><td>65.5 (0)</td><td>63.2 (-2.3)</td><td>54.5 (-8.7)</td></tr><tr><td>PclGPT</td><td>67.7 (0)</td><td>71.5 (+3.8)</td><td>72.8 (+1.3)</td></tr></table>",
|
| 1604 |
+
"bbox": [
|
| 1605 |
+
512,
|
| 1606 |
+
82,
|
| 1607 |
+
890,
|
| 1608 |
+
181
|
| 1609 |
+
],
|
| 1610 |
+
"page_idx": 13
|
| 1611 |
+
},
|
| 1612 |
+
{
|
| 1613 |
+
"type": "text",
|
| 1614 |
+
"text": "plies have more marginal condescending attributes, hindering the model's ability to distinguish positive samples effectively. We experimented with three dataset scenarios: without any interference samples, with a limited number of interference samples, and with all interference samples included.",
|
| 1615 |
+
"bbox": [
|
| 1616 |
+
512,
|
| 1617 |
+
275,
|
| 1618 |
+
882,
|
| 1619 |
+
370
|
| 1620 |
+
],
|
| 1621 |
+
"page_idx": 13
|
| 1622 |
+
},
|
| 1623 |
+
{
|
| 1624 |
+
"type": "text",
|
| 1625 |
+
"text": "Result. Identifying interference samples encompassing complex and implicit emotions is a difficult objective in toxicity analysis. Table 11 displays the following test results. It is evident that when the number of interference intermediate examples increases, both the BERT model and the GPT baseline model experience a decrease in performance. Notably, ChatGPT and GPT-4 decline over $8\\%$ , suggesting that they inadequately capture the condescending traits of these fuzzy cases. PclGPT is the only model that can effectively detect these interference samples in the S-Few and S-All datasets, which fully demonstrates the robust testing capabilities of our model.",
|
| 1626 |
+
"bbox": [
|
| 1627 |
+
512,
|
| 1628 |
+
373,
|
| 1629 |
+
882,
|
| 1630 |
+
595
|
| 1631 |
+
],
|
| 1632 |
+
"page_idx": 13
|
| 1633 |
+
},
|
| 1634 |
+
{
|
| 1635 |
+
"type": "text",
|
| 1636 |
+
"text": "F Toxicity Scores and Implicit Features",
|
| 1637 |
+
"text_level": 1,
|
| 1638 |
+
"bbox": [
|
| 1639 |
+
512,
|
| 1640 |
+
612,
|
| 1641 |
+
863,
|
| 1642 |
+
626
|
| 1643 |
+
],
|
| 1644 |
+
"page_idx": 13
|
| 1645 |
+
},
|
| 1646 |
+
{
|
| 1647 |
+
"type": "text",
|
| 1648 |
+
"text": "Figure 6 uses a scatter plot to show the toxicity scores of the PCL test sets. The TD dataset has a smooth distribution across the entire range, while the DPM and CCPC datasets have lower average toxicity scores, with samples concentrated in low or zero-score regions. This correlates with the weaker F1 scores in the DPM and CCPC data, indicating that lower toxicity scores often align with higher implicit features, suggesting more exploration is needed for implicit toxicity. The scatter plot also shows that sentiment scores (vertical axis) have a limited impact on PCL detection, as the sentiment scores do not exhibit distinct distribution patterns.",
|
| 1649 |
+
"bbox": [
|
| 1650 |
+
512,
|
| 1651 |
+
638,
|
| 1652 |
+
880,
|
| 1653 |
+
844
|
| 1654 |
+
],
|
| 1655 |
+
"page_idx": 13
|
| 1656 |
+
},
|
| 1657 |
+
{
|
| 1658 |
+
"type": "text",
|
| 1659 |
+
"text": "G Discussion on RLHF technology",
|
| 1660 |
+
"text_level": 1,
|
| 1661 |
+
"bbox": [
|
| 1662 |
+
512,
|
| 1663 |
+
860,
|
| 1664 |
+
823,
|
| 1665 |
+
876
|
| 1666 |
+
],
|
| 1667 |
+
"page_idx": 13
|
| 1668 |
+
},
|
| 1669 |
+
{
|
| 1670 |
+
"type": "text",
|
| 1671 |
+
"text": "In the early stages of the experiment, we established a Pcl-RLHF feedback dataset after the PT",
|
| 1672 |
+
"bbox": [
|
| 1673 |
+
512,
|
| 1674 |
+
888,
|
| 1675 |
+
882,
|
| 1676 |
+
917
|
| 1677 |
+
],
|
| 1678 |
+
"page_idx": 13
|
| 1679 |
+
},
|
| 1680 |
+
{
|
| 1681 |
+
"type": "image",
|
| 1682 |
+
"img_path": "images/5e4fc3347aa26fdc5164772b5038721815a407c6ca7a68b44335c9d8364bba16.jpg",
|
| 1683 |
+
"image_caption": [
|
| 1684 |
+
"Figure 6: Toxicity score scatter plots for three PCL datasets."
|
| 1685 |
+
],
|
| 1686 |
+
"image_footnote": [],
|
| 1687 |
+
"bbox": [
|
| 1688 |
+
200,
|
| 1689 |
+
82,
|
| 1690 |
+
489,
|
| 1691 |
+
281
|
| 1692 |
+
],
|
| 1693 |
+
"page_idx": 14
|
| 1694 |
+
},
|
| 1695 |
+
{
|
| 1696 |
+
"type": "image",
|
| 1697 |
+
"img_path": "images/c81b869d39e783786480191d4ad0545a7f1abd467c697e9ffb300c64eb0d3bab.jpg",
|
| 1698 |
+
"image_caption": [],
|
| 1699 |
+
"image_footnote": [],
|
| 1700 |
+
"bbox": [
|
| 1701 |
+
492,
|
| 1702 |
+
82,
|
| 1703 |
+
769,
|
| 1704 |
+
282
|
| 1705 |
+
],
|
| 1706 |
+
"page_idx": 14
|
| 1707 |
+
},
|
| 1708 |
+
{
|
| 1709 |
+
"type": "text",
|
| 1710 |
+
"text": "stage to achieve a more accurate understanding and description of toxic content. However, due to the unclear boundaries of toxicity in PCL, the model erroneously reinforced certain toxic statements during feedback ranking, leading to an increase in toxicity scores after the experiment (the average score rose from 0.37 to 0.41). Moreover, since our experiment focused more on evaluating the existing PCL classification rather than generating output, RLHF may have impacted the model's original judgment. Therefore, RLHF was ultimately not used in this study.",
|
| 1711 |
+
"bbox": [
|
| 1712 |
+
112,
|
| 1713 |
+
332,
|
| 1714 |
+
489,
|
| 1715 |
+
525
|
| 1716 |
+
],
|
| 1717 |
+
"page_idx": 14
|
| 1718 |
+
},
|
| 1719 |
+
{
|
| 1720 |
+
"type": "text",
|
| 1721 |
+
"text": "Patronizing and Condescending Language (PCL) is a form of implicitly toxic speech aimed at vulnerable groups with the potential to cause them long-term harm. Please determine if the following text is PCL. If it is, further assess the toxicity level and classify it into the appropriate categories.",
|
| 1722 |
+
"bbox": [
|
| 1723 |
+
176,
|
| 1724 |
+
193,
|
| 1725 |
+
801,
|
| 1726 |
+
265
|
| 1727 |
+
],
|
| 1728 |
+
"page_idx": 15
|
| 1729 |
+
},
|
| 1730 |
+
{
|
| 1731 |
+
"type": "text",
|
| 1732 |
+
"text": "Tips:",
|
| 1733 |
+
"text_level": 1,
|
| 1734 |
+
"bbox": [
|
| 1735 |
+
179,
|
| 1736 |
+
285,
|
| 1737 |
+
218,
|
| 1738 |
+
299
|
| 1739 |
+
],
|
| 1740 |
+
"page_idx": 15
|
| 1741 |
+
},
|
| 1742 |
+
{
|
| 1743 |
+
"type": "list",
|
| 1744 |
+
"sub_type": "text",
|
| 1745 |
+
"list_items": [
|
| 1746 |
+
"(1) The PCL text itself is less aggressive, and a clear characteristic is that the speaker is expressing their views from a position evidently different from that of the disadvantaged group.",
|
| 1747 |
+
"(2) Statements with clear insulting vocabulary and hate/offensive language targeting specific individuals are not considered PCL; they are categorized as non-PCL.",
|
| 1748 |
+
"(3) To reduce subjective errors, please indicate the toxicity level when annotating PCL: Weak, Middle, or Strong. No further labeling is required for non-PCL statements."
|
| 1749 |
+
],
|
| 1750 |
+
"bbox": [
|
| 1751 |
+
176,
|
| 1752 |
+
302,
|
| 1753 |
+
801,
|
| 1754 |
+
461
|
| 1755 |
+
],
|
| 1756 |
+
"page_idx": 15
|
| 1757 |
+
},
|
| 1758 |
+
{
|
| 1759 |
+
"type": "text",
|
| 1760 |
+
"text": "Text:",
|
| 1761 |
+
"text_level": 1,
|
| 1762 |
+
"bbox": [
|
| 1763 |
+
178,
|
| 1764 |
+
502,
|
| 1765 |
+
223,
|
| 1766 |
+
514
|
| 1767 |
+
],
|
| 1768 |
+
"page_idx": 15
|
| 1769 |
+
},
|
| 1770 |
+
{
|
| 1771 |
+
"type": "text",
|
| 1772 |
+
"text": "You can't always blame your incompatibility on her being from a single-parent family.",
|
| 1773 |
+
"bbox": [
|
| 1774 |
+
174,
|
| 1775 |
+
520,
|
| 1776 |
+
801,
|
| 1777 |
+
554
|
| 1778 |
+
],
|
| 1779 |
+
"page_idx": 15
|
| 1780 |
+
},
|
| 1781 |
+
{
|
| 1782 |
+
"type": "text",
|
| 1783 |
+
"text": "1. Is this text patronizing or condescending? (Skip (2) and (3) if No' is selected)",
|
| 1784 |
+
"bbox": [
|
| 1785 |
+
178,
|
| 1786 |
+
592,
|
| 1787 |
+
756,
|
| 1788 |
+
607
|
| 1789 |
+
],
|
| 1790 |
+
"page_idx": 15
|
| 1791 |
+
},
|
| 1792 |
+
{
|
| 1793 |
+
"type": "text",
|
| 1794 |
+
"text": "Yes",
|
| 1795 |
+
"bbox": [
|
| 1796 |
+
179,
|
| 1797 |
+
617,
|
| 1798 |
+
248,
|
| 1799 |
+
631
|
| 1800 |
+
],
|
| 1801 |
+
"page_idx": 15
|
| 1802 |
+
},
|
| 1803 |
+
{
|
| 1804 |
+
"type": "text",
|
| 1805 |
+
"text": "No",
|
| 1806 |
+
"bbox": [
|
| 1807 |
+
364,
|
| 1808 |
+
617,
|
| 1809 |
+
433,
|
| 1810 |
+
631
|
| 1811 |
+
],
|
| 1812 |
+
"page_idx": 15
|
| 1813 |
+
},
|
| 1814 |
+
{
|
| 1815 |
+
"type": "text",
|
| 1816 |
+
"text": "2. Please determine the subcategory of PCL. (multiple choices)",
|
| 1817 |
+
"bbox": [
|
| 1818 |
+
178,
|
| 1819 |
+
650,
|
| 1820 |
+
636,
|
| 1821 |
+
665
|
| 1822 |
+
],
|
| 1823 |
+
"page_idx": 15
|
| 1824 |
+
},
|
| 1825 |
+
{
|
| 1826 |
+
"type": "text",
|
| 1827 |
+
"text": "Unbalanced Power Relations",
|
| 1828 |
+
"bbox": [
|
| 1829 |
+
179,
|
| 1830 |
+
678,
|
| 1831 |
+
428,
|
| 1832 |
+
695
|
| 1833 |
+
],
|
| 1834 |
+
"page_idx": 15
|
| 1835 |
+
},
|
| 1836 |
+
{
|
| 1837 |
+
"type": "text",
|
| 1838 |
+
"text": "Spectators",
|
| 1839 |
+
"bbox": [
|
| 1840 |
+
455,
|
| 1841 |
+
678,
|
| 1842 |
+
573,
|
| 1843 |
+
695
|
| 1844 |
+
],
|
| 1845 |
+
"page_idx": 15
|
| 1846 |
+
},
|
| 1847 |
+
{
|
| 1848 |
+
"type": "text",
|
| 1849 |
+
"text": "Prejudice Impression",
|
| 1850 |
+
"bbox": [
|
| 1851 |
+
635,
|
| 1852 |
+
678,
|
| 1853 |
+
828,
|
| 1854 |
+
695
|
| 1855 |
+
],
|
| 1856 |
+
"page_idx": 15
|
| 1857 |
+
},
|
| 1858 |
+
{
|
| 1859 |
+
"type": "text",
|
| 1860 |
+
"text": "Appeal",
|
| 1861 |
+
"bbox": [
|
| 1862 |
+
179,
|
| 1863 |
+
705,
|
| 1864 |
+
273,
|
| 1865 |
+
720
|
| 1866 |
+
],
|
| 1867 |
+
"page_idx": 15
|
| 1868 |
+
},
|
| 1869 |
+
{
|
| 1870 |
+
"type": "text",
|
| 1871 |
+
"text": "Elicit Sympathy",
|
| 1872 |
+
"bbox": [
|
| 1873 |
+
457,
|
| 1874 |
+
705,
|
| 1875 |
+
613,
|
| 1876 |
+
721
|
| 1877 |
+
],
|
| 1878 |
+
"page_idx": 15
|
| 1879 |
+
},
|
| 1880 |
+
{
|
| 1881 |
+
"type": "text",
|
| 1882 |
+
"text": "3. Please further assess the toxicity level of PCL.",
|
| 1883 |
+
"bbox": [
|
| 1884 |
+
178,
|
| 1885 |
+
734,
|
| 1886 |
+
537,
|
| 1887 |
+
751
|
| 1888 |
+
],
|
| 1889 |
+
"page_idx": 15
|
| 1890 |
+
},
|
| 1891 |
+
{
|
| 1892 |
+
"type": "text",
|
| 1893 |
+
"text": "Weak",
|
| 1894 |
+
"bbox": [
|
| 1895 |
+
179,
|
| 1896 |
+
765,
|
| 1897 |
+
263,
|
| 1898 |
+
778
|
| 1899 |
+
],
|
| 1900 |
+
"page_idx": 15
|
| 1901 |
+
},
|
| 1902 |
+
{
|
| 1903 |
+
"type": "text",
|
| 1904 |
+
"text": "Middle",
|
| 1905 |
+
"bbox": [
|
| 1906 |
+
364,
|
| 1907 |
+
765,
|
| 1908 |
+
457,
|
| 1909 |
+
778
|
| 1910 |
+
],
|
| 1911 |
+
"page_idx": 15
|
| 1912 |
+
},
|
| 1913 |
+
{
|
| 1914 |
+
"type": "text",
|
| 1915 |
+
"text": "Strong",
|
| 1916 |
+
"bbox": [
|
| 1917 |
+
547,
|
| 1918 |
+
765,
|
| 1919 |
+
643,
|
| 1920 |
+
780
|
| 1921 |
+
],
|
| 1922 |
+
"page_idx": 15
|
| 1923 |
+
},
|
| 1924 |
+
{
|
| 1925 |
+
"type": "text",
|
| 1926 |
+
"text": "Figure 7: We used a web-based layered annotation questionnaire, which includes the definitions of annotations, annotation tips, and input texts. Every time we changed the text, we performed batch annotation.",
|
| 1927 |
+
"bbox": [
|
| 1928 |
+
112,
|
| 1929 |
+
791,
|
| 1930 |
+
884,
|
| 1931 |
+
821
|
| 1932 |
+
],
|
| 1933 |
+
"page_idx": 15
|
| 1934 |
+
}
|
| 1935 |
+
]
|