Add Batch ede7eef3-0fb4-497b-b933-4cf8c8f482bd data
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- .gitattributes +64 -0
- 2025/I-GUARD_ Interpretability-Guided Parameter Optimization for Adversarial Defense/af7da807-decc-491b-967a-bbededc545c7_content_list.json +0 -0
- 2025/I-GUARD_ Interpretability-Guided Parameter Optimization for Adversarial Defense/af7da807-decc-491b-967a-bbededc545c7_model.json +0 -0
- 2025/I-GUARD_ Interpretability-Guided Parameter Optimization for Adversarial Defense/af7da807-decc-491b-967a-bbededc545c7_origin.pdf +3 -0
- 2025/I-GUARD_ Interpretability-Guided Parameter Optimization for Adversarial Defense/full.md +443 -0
- 2025/I-GUARD_ Interpretability-Guided Parameter Optimization for Adversarial Defense/images.zip +3 -0
- 2025/I-GUARD_ Interpretability-Guided Parameter Optimization for Adversarial Defense/layout.json +0 -0
- 2025/ICL-Bandit_ Relevance Labeling in Advertisement Recommendation Systems via LLM/deeabab9-126e-40e2-a116-c0a839b8d3f0_content_list.json +2038 -0
- 2025/ICL-Bandit_ Relevance Labeling in Advertisement Recommendation Systems via LLM/deeabab9-126e-40e2-a116-c0a839b8d3f0_model.json +0 -0
- 2025/ICL-Bandit_ Relevance Labeling in Advertisement Recommendation Systems via LLM/deeabab9-126e-40e2-a116-c0a839b8d3f0_origin.pdf +3 -0
- 2025/ICL-Bandit_ Relevance Labeling in Advertisement Recommendation Systems via LLM/full.md +391 -0
- 2025/ICL-Bandit_ Relevance Labeling in Advertisement Recommendation Systems via LLM/images.zip +3 -0
- 2025/ICL-Bandit_ Relevance Labeling in Advertisement Recommendation Systems via LLM/layout.json +0 -0
- 2025/ICLER_ Intent CLassification with Enhanced Reasoning/80ea3d72-543b-4c68-9989-ef5d6936a0b2_content_list.json +2153 -0
- 2025/ICLER_ Intent CLassification with Enhanced Reasoning/80ea3d72-543b-4c68-9989-ef5d6936a0b2_model.json +0 -0
- 2025/ICLER_ Intent CLassification with Enhanced Reasoning/80ea3d72-543b-4c68-9989-ef5d6936a0b2_origin.pdf +3 -0
- 2025/ICLER_ Intent CLassification with Enhanced Reasoning/full.md +415 -0
- 2025/ICLER_ Intent CLassification with Enhanced Reasoning/images.zip +3 -0
- 2025/ICLER_ Intent CLassification with Enhanced Reasoning/layout.json +0 -0
- 2025/INDOORWORLD _ Integrating Physical Task Solving and Social Simulation in A Heterogeneous Multi-Agent Environment/ee507a4c-7454-4514-a8c9-73b0446536c5_content_list.json +0 -0
- 2025/INDOORWORLD _ Integrating Physical Task Solving and Social Simulation in A Heterogeneous Multi-Agent Environment/ee507a4c-7454-4514-a8c9-73b0446536c5_model.json +0 -0
- 2025/INDOORWORLD _ Integrating Physical Task Solving and Social Simulation in A Heterogeneous Multi-Agent Environment/ee507a4c-7454-4514-a8c9-73b0446536c5_origin.pdf +3 -0
- 2025/INDOORWORLD _ Integrating Physical Task Solving and Social Simulation in A Heterogeneous Multi-Agent Environment/full.md +529 -0
- 2025/INDOORWORLD _ Integrating Physical Task Solving and Social Simulation in A Heterogeneous Multi-Agent Environment/images.zip +3 -0
- 2025/INDOORWORLD _ Integrating Physical Task Solving and Social Simulation in A Heterogeneous Multi-Agent Environment/layout.json +0 -0
- 2025/INREACT_ An Inspire-Then-Reinforce Training Framework For Multimodal GUI Agent/889785bd-0923-422b-bcca-82b35b178935_content_list.json +2052 -0
- 2025/INREACT_ An Inspire-Then-Reinforce Training Framework For Multimodal GUI Agent/889785bd-0923-422b-bcca-82b35b178935_model.json +0 -0
- 2025/INREACT_ An Inspire-Then-Reinforce Training Framework For Multimodal GUI Agent/889785bd-0923-422b-bcca-82b35b178935_origin.pdf +3 -0
- 2025/INREACT_ An Inspire-Then-Reinforce Training Framework For Multimodal GUI Agent/full.md +394 -0
- 2025/INREACT_ An Inspire-Then-Reinforce Training Framework For Multimodal GUI Agent/images.zip +3 -0
- 2025/INREACT_ An Inspire-Then-Reinforce Training Framework For Multimodal GUI Agent/layout.json +0 -0
- 2025/IP-Dialog_ Evaluating Implicit Personalization in Dialogue Systems with Synthetic Data/347614f0-d1c5-4371-901f-a53f1ec61429_content_list.json +0 -0
- 2025/IP-Dialog_ Evaluating Implicit Personalization in Dialogue Systems with Synthetic Data/347614f0-d1c5-4371-901f-a53f1ec61429_model.json +0 -0
- 2025/IP-Dialog_ Evaluating Implicit Personalization in Dialogue Systems with Synthetic Data/347614f0-d1c5-4371-901f-a53f1ec61429_origin.pdf +3 -0
- 2025/IP-Dialog_ Evaluating Implicit Personalization in Dialogue Systems with Synthetic Data/full.md +0 -0
- 2025/IP-Dialog_ Evaluating Implicit Personalization in Dialogue Systems with Synthetic Data/images.zip +3 -0
- 2025/IP-Dialog_ Evaluating Implicit Personalization in Dialogue Systems with Synthetic Data/layout.json +0 -0
- 2025/ISACL_ Internal State Analyzer for Copyrighted Training Data Leakage/8060ed99-c298-4105-b64b-1e8c92bcd4fe_content_list.json +0 -0
- 2025/ISACL_ Internal State Analyzer for Copyrighted Training Data Leakage/8060ed99-c298-4105-b64b-1e8c92bcd4fe_model.json +0 -0
- 2025/ISACL_ Internal State Analyzer for Copyrighted Training Data Leakage/8060ed99-c298-4105-b64b-1e8c92bcd4fe_origin.pdf +3 -0
- 2025/ISACL_ Internal State Analyzer for Copyrighted Training Data Leakage/full.md +561 -0
- 2025/ISACL_ Internal State Analyzer for Copyrighted Training Data Leakage/images.zip +3 -0
- 2025/ISACL_ Internal State Analyzer for Copyrighted Training Data Leakage/layout.json +0 -0
- 2025/Identifying Aspects in Peer Reviews/6e98954a-cad9-4f3b-8b14-95738b229b2e_content_list.json +0 -0
- 2025/Identifying Aspects in Peer Reviews/6e98954a-cad9-4f3b-8b14-95738b229b2e_model.json +0 -0
- 2025/Identifying Aspects in Peer Reviews/6e98954a-cad9-4f3b-8b14-95738b229b2e_origin.pdf +3 -0
- 2025/Identifying Aspects in Peer Reviews/full.md +720 -0
- 2025/Identifying Aspects in Peer Reviews/images.zip +3 -0
- 2025/Identifying Aspects in Peer Reviews/layout.json +0 -0
- 2025/Identifying Noise in Human-Created Datasets using Training Dynamics from Generative Models/c8a60779-b000-4e4a-849a-d9e2608e2b0d_content_list.json +0 -0
.gitattributes
CHANGED
|
@@ -620,3 +620,67 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 620 |
2025/Human-Inspired[[:space:]]Obfuscation[[:space:]]for[[:space:]]Model[[:space:]]Unlearning_[[:space:]]Local[[:space:]]and[[:space:]]Global[[:space:]]Strategies[[:space:]]with[[:space:]]Hyperbolic[[:space:]]Representations/827580b9-daee-4f17-9f73-b43754214845_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 621 |
2025/Humanity’s[[:space:]]Last[[:space:]]Code[[:space:]]Exam_[[:space:]]Can[[:space:]]Advanced[[:space:]]LLMs[[:space:]]Conquer[[:space:]]Human’s[[:space:]]Hardest[[:space:]]Code[[:space:]]Competition_/8a4bafab-99a5-4429-b80f-2894c7e31f4c_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 622 |
2025/Humor[[:space:]]in[[:space:]]Pixels_[[:space:]]Benchmarking[[:space:]]Large[[:space:]]Multimodal[[:space:]]Models[[:space:]]Understanding[[:space:]]of[[:space:]]Online[[:space:]]Comics/30c39bf0-e05b-47cd-8b04-4866f611adbd_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 620 |
2025/Human-Inspired[[:space:]]Obfuscation[[:space:]]for[[:space:]]Model[[:space:]]Unlearning_[[:space:]]Local[[:space:]]and[[:space:]]Global[[:space:]]Strategies[[:space:]]with[[:space:]]Hyperbolic[[:space:]]Representations/827580b9-daee-4f17-9f73-b43754214845_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 621 |
2025/Humanity’s[[:space:]]Last[[:space:]]Code[[:space:]]Exam_[[:space:]]Can[[:space:]]Advanced[[:space:]]LLMs[[:space:]]Conquer[[:space:]]Human’s[[:space:]]Hardest[[:space:]]Code[[:space:]]Competition_/8a4bafab-99a5-4429-b80f-2894c7e31f4c_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 622 |
2025/Humor[[:space:]]in[[:space:]]Pixels_[[:space:]]Benchmarking[[:space:]]Large[[:space:]]Multimodal[[:space:]]Models[[:space:]]Understanding[[:space:]]of[[:space:]]Online[[:space:]]Comics/30c39bf0-e05b-47cd-8b04-4866f611adbd_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 623 |
+
2025/I-GUARD_[[:space:]]Interpretability-Guided[[:space:]]Parameter[[:space:]]Optimization[[:space:]]for[[:space:]]Adversarial[[:space:]]Defense/af7da807-decc-491b-967a-bbededc545c7_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 624 |
+
2025/ICL-Bandit_[[:space:]]Relevance[[:space:]]Labeling[[:space:]]in[[:space:]]Advertisement[[:space:]]Recommendation[[:space:]]Systems[[:space:]]via[[:space:]]LLM/deeabab9-126e-40e2-a116-c0a839b8d3f0_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 625 |
+
2025/ICLER_[[:space:]]Intent[[:space:]]CLassification[[:space:]]with[[:space:]]Enhanced[[:space:]]Reasoning/80ea3d72-543b-4c68-9989-ef5d6936a0b2_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 626 |
+
2025/INDOORWORLD[[:space:]]_[[:space:]]Integrating[[:space:]]Physical[[:space:]]Task[[:space:]]Solving[[:space:]]and[[:space:]]Social[[:space:]]Simulation[[:space:]]in[[:space:]]A[[:space:]]Heterogeneous[[:space:]]Multi-Agent[[:space:]]Environment/ee507a4c-7454-4514-a8c9-73b0446536c5_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 627 |
+
2025/INREACT_[[:space:]]An[[:space:]]Inspire-Then-Reinforce[[:space:]]Training[[:space:]]Framework[[:space:]]For[[:space:]]Multimodal[[:space:]]GUI[[:space:]]Agent/889785bd-0923-422b-bcca-82b35b178935_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 628 |
+
2025/IP-Dialog_[[:space:]]Evaluating[[:space:]]Implicit[[:space:]]Personalization[[:space:]]in[[:space:]]Dialogue[[:space:]]Systems[[:space:]]with[[:space:]]Synthetic[[:space:]]Data/347614f0-d1c5-4371-901f-a53f1ec61429_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 629 |
+
2025/ISACL_[[:space:]]Internal[[:space:]]State[[:space:]]Analyzer[[:space:]]for[[:space:]]Copyrighted[[:space:]]Training[[:space:]]Data[[:space:]]Leakage/8060ed99-c298-4105-b64b-1e8c92bcd4fe_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 630 |
+
2025/Identifying[[:space:]]Aspects[[:space:]]in[[:space:]]Peer[[:space:]]Reviews/6e98954a-cad9-4f3b-8b14-95738b229b2e_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 631 |
+
2025/Identifying[[:space:]]Noise[[:space:]]in[[:space:]]Human-Created[[:space:]]Datasets[[:space:]]using[[:space:]]Training[[:space:]]Dynamics[[:space:]]from[[:space:]]Generative[[:space:]]Models/c8a60779-b000-4e4a-849a-d9e2608e2b0d_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 632 |
+
2025/Identifying[[:space:]]Rare[[:space:]]Languages[[:space:]]in[[:space:]]Common[[:space:]]Crawl[[:space:]]Data[[:space:]]is[[:space:]]a[[:space:]]Needles-in-a-Haystack[[:space:]]Problem/d7168612-36e6-4401-bef3-d21a2048507a_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 633 |
+
2025/Idola[[:space:]]Tribus[[:space:]]of[[:space:]]AI_[[:space:]]Large[[:space:]]Language[[:space:]]Models[[:space:]]tend[[:space:]]to[[:space:]]perceive[[:space:]]order[[:space:]]where[[:space:]]none[[:space:]]exists/1bf6f6ce-e282-45f4-a060-9ab69570c3a8_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 634 |
+
2025/Imagination[[:space:]]and[[:space:]]Contemplation_[[:space:]]A[[:space:]]Balanced[[:space:]]Framework[[:space:]]for[[:space:]]Semantic-Augmented[[:space:]]Multimodal[[:space:]]Machine[[:space:]]Translation/64ce1505-6443-42a1-89d0-82a64e9cb443_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 635 |
+
2025/ImpRAG_[[:space:]]Retrieval-Augmented[[:space:]]Generation[[:space:]]with[[:space:]]Implicit[[:space:]]Queries/4f4eceb9-3a9c-48c1-809f-872de91d71a6_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 636 |
+
2025/Improving[[:space:]]Alignment[[:space:]]in[[:space:]]LVLMs[[:space:]]with[[:space:]]Debiased[[:space:]]Self-Judgment/32697c53-7fef-414e-b3b7-e030b23a50e8_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 637 |
+
2025/Improving[[:space:]]Influence-based[[:space:]]Instruction[[:space:]]Tuning[[:space:]]Data[[:space:]]Selection[[:space:]]for[[:space:]]Balanced[[:space:]]Learning[[:space:]]of[[:space:]]Diverse[[:space:]]Capabilities/5c0b6b22-8af2-4269-a6c9-877fe9379fdd_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 638 |
+
2025/Improving[[:space:]]LLM[[:space:]]Reasoning[[:space:]]through[[:space:]]Interpretable[[:space:]]Role-Playing[[:space:]]Steering/1ccb4d81-5d13-43eb-8399-8a7e201b5e03_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 639 |
+
2025/Improving[[:space:]]LLM-as-a-Judge[[:space:]]Inference[[:space:]]with[[:space:]]the[[:space:]]Judgment[[:space:]]Distribution/8deb81ec-d61f-4c79-9e1a-8ce6753b581f_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 640 |
+
2025/Improving[[:space:]]Language[[:space:]]Model[[:space:]]Personas[[:space:]]via[[:space:]]Rationalization[[:space:]]with[[:space:]]Psychological[[:space:]]Scaffolds/e8541c71-4741-49cc-a5ef-0526328aa152_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 641 |
+
2025/Improving[[:space:]]Preference[[:space:]]Alignment[[:space:]]of[[:space:]]LLM[[:space:]]with[[:space:]]Inference-Free[[:space:]]Self-Refinement/7abcd001-bfb3-4dc2-8eda-1407dc4757e2_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 642 |
+
2025/Improving[[:space:]]Prompt[[:space:]]Generalization[[:space:]]for[[:space:]]Cross-prompt[[:space:]]Essay[[:space:]]Trait[[:space:]]Scoring[[:space:]]from[[:space:]]the[[:space:]]Scoring-invariance[[:space:]]Perspective/840e2b05-7ba3-4432-93af-a31ccfd365e0_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 643 |
+
2025/Improving[[:space:]]the[[:space:]]Language[[:space:]]Understanding[[:space:]]Capabilities[[:space:]]of[[:space:]]Large[[:space:]]Language[[:space:]]Models[[:space:]]Using[[:space:]]Reinforcement[[:space:]]Learning/969a5451-8e86-40c5-aa13-35d019493d26_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 644 |
+
2025/InFact_[[:space:]]Informativeness[[:space:]]Alignment[[:space:]]for[[:space:]]Improved[[:space:]]LLM[[:space:]]Factuality/4a7784af-9c05-4e5f-92fd-cb3cac7e4966_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 645 |
+
2025/Inclusive[[:space:]]Leadership[[:space:]]in[[:space:]]the[[:space:]]Age[[:space:]]of[[:space:]]AI_[[:space:]]A[[:space:]]Dataset[[:space:]]and[[:space:]]Comparative[[:space:]]Study[[:space:]]of[[:space:]]LLMs[[:space:]]vs.[[:space:]]Real-Life[[:space:]]Leaders[[:space:]]in[[:space:]]Workplace[[:space:]]Action[[:space:]]Planning/cda74f64-5929-4872-afa2-28a662e2e1f2_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 646 |
+
2025/Inducing[[:space:]]Argument[[:space:]]Facets[[:space:]]for[[:space:]]Faithful[[:space:]]Opinion[[:space:]]Summarization/89727a66-03a8-4d55-aa1a-a10dcc5f7071_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 647 |
+
2025/Inductive[[:space:]]Reasoning[[:space:]]on[[:space:]]Few-Shot[[:space:]]Knowledge[[:space:]]Graphs[[:space:]]with[[:space:]]Task-Aware[[:space:]]Language[[:space:]]Models/bfd55c8b-574e-4efa-98f2-4da0aaa19eaf_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 648 |
+
2025/Inefficiencies[[:space:]]of[[:space:]]Meta[[:space:]]Agents[[:space:]]for[[:space:]]Agent[[:space:]]Design/8f0a3cda-8dae-46fb-92cb-99de5c49db98_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 649 |
+
2025/InfAL_[[:space:]]Inference[[:space:]]Time[[:space:]]Adversarial[[:space:]]Learning[[:space:]]for[[:space:]]Improving[[:space:]]Research[[:space:]]Ideation/b5a730a2-49a3-4e67-b2ca-82e3b2a2f0ce_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 650 |
+
2025/InfiMM-WebMath-40B_[[:space:]]Advancing[[:space:]]Multimodal[[:space:]]Pre-Training[[:space:]]for[[:space:]]Enhanced[[:space:]]Mathematical[[:space:]]Reasoning/e640740c-c7a7-4c38-9250-07fc7b80e4b7_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 651 |
+
2025/Injecting[[:space:]]Domain-Specific[[:space:]]Knowledge[[:space:]]into[[:space:]]Large[[:space:]]Language[[:space:]]Models_[[:space:]]A[[:space:]]Comprehensive[[:space:]]Survey/3a1508fc-ce49-428a-b12f-d4c3abe70ebe_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 652 |
+
2025/InsBank_[[:space:]]Evolving[[:space:]]Instruction[[:space:]]Subset[[:space:]]for[[:space:]]Ongoing[[:space:]]Alignment/abf356ff-ef5e-4c89-92ce-9bfc24747fd2_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 653 |
+
2025/Insights[[:space:]]into[[:space:]]using[[:space:]]temporal[[:space:]]coordinated[[:space:]]behaviour[[:space:]]to[[:space:]]explore[[:space:]]connections[[:space:]]between[[:space:]]social[[:space:]]media[[:space:]]posts[[:space:]]and[[:space:]]influence/65356c92-192f-48a5-ba1f-a606b6919816_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 654 |
+
2025/Instability[[:space:]]in[[:space:]]Downstream[[:space:]]Task[[:space:]]Performance[[:space:]]During[[:space:]]LLM[[:space:]]Pretraining/d6dd6187-2a7a-4542-8340-004573337190_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 655 |
+
2025/Instance-level[[:space:]]Randomization_[[:space:]]Toward[[:space:]]More[[:space:]]Stable[[:space:]]LLM[[:space:]]Evaluations/95559c12-5bf0-4a01-a6eb-ba493a0cfd9c_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 656 |
+
2025/InteGround_[[:space:]]On[[:space:]]the[[:space:]]Evaluation[[:space:]]of[[:space:]]Verification[[:space:]]and[[:space:]]Retrieval[[:space:]]Planning[[:space:]]in[[:space:]]Integrative[[:space:]]Grounding/8266c9ad-a314-4941-9e89-b61ff7582b7b_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 657 |
+
2025/Intelligent[[:space:]]Document[[:space:]]Parsing_[[:space:]]Towards[[:space:]]End-to-end[[:space:]]Document[[:space:]]Parsing[[:space:]]via[[:space:]]Decoupled[[:space:]]Content[[:space:]]Parsing[[:space:]]and[[:space:]]Layout[[:space:]]Grounding/04afef2a-e04c-4f6c-8df3-a211856e297e_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 658 |
+
2025/Intent-aware[[:space:]]Schema[[:space:]]Generation[[:space:]]and[[:space:]]Refinement[[:space:]]for[[:space:]]Literature[[:space:]]Review[[:space:]]Tables/d2f568b0-c3fc-4ca5-865f-1bbb26f7fd5e_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 659 |
+
2025/InterFeedback_[[:space:]]Unveiling[[:space:]]Interactive[[:space:]]Intelligence[[:space:]]of[[:space:]]Large[[:space:]]Multimodal[[:space:]]Models[[:space:]]with[[:space:]]Human[[:space:]]Feedback/2658808c-dc6f-4d8a-a474-da23c43eb3ab_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 660 |
+
2025/InteractSpeech_[[:space:]]A[[:space:]]Speech[[:space:]]Dialogue[[:space:]]Interaction[[:space:]]Corpus[[:space:]]for[[:space:]]Spoken[[:space:]]Dialogue[[:space:]]Model/fcab0de9-47dd-4778-aa8a-a4c1203466f9_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 661 |
+
2025/Interesting[[:space:]]Culture_[[:space:]]Social[[:space:]]Relation[[:space:]]Recognition[[:space:]]from[[:space:]]Videos[[:space:]]via[[:space:]]Culture[[:space:]]De-confounding/1c7f5a59-df59-416a-b014-39c519869dfb_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 662 |
+
2025/Internal[[:space:]]states[[:space:]]before[[:space:]]wait[[:space:]]modulate[[:space:]]reasoning[[:space:]]patterns/1c3c5dee-5c90-4299-9751-ba1856956625_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 663 |
+
2025/IntrEx_[[:space:]]A[[:space:]]Dataset[[:space:]]for[[:space:]]Modeling[[:space:]]Engagement[[:space:]]in[[:space:]]Educational[[:space:]]Conversations/adbf96dc-8947-47b2-a360-1283a12a3bf2_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 664 |
+
2025/Investigating[[:space:]]Controversy[[:space:]]Framing[[:space:]]across[[:space:]]Topics[[:space:]]on[[:space:]]Social[[:space:]]Media/fe76ad70-e896-4379-9c3c-765c2cc6c273_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 665 |
+
2025/Investigating[[:space:]]Dictionary[[:space:]]Expansion[[:space:]]for[[:space:]]Video-based[[:space:]]Sign[[:space:]]Language[[:space:]]Dictionaries/c1620fb8-f81a-41b3-a013-1b5d4cc165c3_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 666 |
+
2025/Investigating[[:space:]]Multi-layer[[:space:]]Representations[[:space:]]for[[:space:]]Dense[[:space:]]Passage[[:space:]]Retrieval/6efe70a5-99ea-42f0-a75e-453684566e45_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 667 |
+
2025/Investigating[[:space:]]the[[:space:]]Impact[[:space:]]of[[:space:]]Conceptual[[:space:]]Metaphors[[:space:]]on[[:space:]]LLM-based[[:space:]]NLI[[:space:]]through[[:space:]]Shapley[[:space:]]Interactions/d5b64bad-b0f8-4671-8a3e-b6fabed0fe1e_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 668 |
+
2025/Invisible[[:space:]]Prompts,[[:space:]]Visible[[:space:]]Threats_[[:space:]]Malicious[[:space:]]Font[[:space:]]Injection[[:space:]]in[[:space:]]External[[:space:]]Resources[[:space:]]for[[:space:]]Large[[:space:]]Language[[:space:]]Models/cd9e4d09-7474-4329-b0d6-6db847262f15_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 669 |
+
2025/Invoke[[:space:]]Interfaces[[:space:]]Only[[:space:]]When[[:space:]]Needed_[[:space:]]Adaptive[[:space:]]Invocation[[:space:]]for[[:space:]]Large[[:space:]]Language[[:space:]]Models[[:space:]]in[[:space:]]Question[[:space:]]Answering/b38dd4f2-c7ae-449b-91d7-474df522307f_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 670 |
+
2025/IoTMigrator_[[:space:]]LLM-driven[[:space:]]Embedded[[:space:]]IoT[[:space:]]Code[[:space:]]Migration[[:space:]]across[[:space:]]Different[[:space:]]OSes[[:space:]]for[[:space:]]Cloud-device[[:space:]]Integration/9a280433-7bbb-403f-b3e5-01bd45168640_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 671 |
+
2025/Is[[:space:]]Safety[[:space:]]Standard[[:space:]]Same[[:space:]]for[[:space:]]Everyone_[[:space:]]User-Specific[[:space:]]Safety[[:space:]]Evaluation[[:space:]]of[[:space:]]Large[[:space:]]Language[[:space:]]Models/09abed6a-dae8-4893-8914-ea7813d86b57_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 672 |
+
2025/Jailbreak[[:space:]]Attack[[:space:]]Initializations[[:space:]]as[[:space:]]Extractors[[:space:]]of[[:space:]]Compliance[[:space:]]Directions/892a3e8f-b996-4ee4-8aa7-f6292a9969de_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 673 |
+
2025/Jailbreak[[:space:]]Distillation_[[:space:]]Renewable[[:space:]]Safety[[:space:]]Benchmarking/93e80362-1d8f-4476-82d1-2b3ddf5f6f2a_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 674 |
+
2025/Joint[[:space:]]Enhancement[[:space:]]of[[:space:]]Relational[[:space:]]Reasoning[[:space:]]for[[:space:]]Long-Context[[:space:]]LLMs/1fe92dbd-6dee-4d53-9f3c-1a6adadf067c_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 675 |
+
2025/Judging[[:space:]]with[[:space:]]Many[[:space:]]Minds_[[:space:]]Do[[:space:]]More[[:space:]]Perspectives[[:space:]]Mean[[:space:]]Less[[:space:]]Prejudice_[[:space:]]On[[:space:]]Bias[[:space:]]Amplification[[:space:]]and[[:space:]]Resistance[[:space:]]in[[:space:]]Multi-Agent[[:space:]]Based[[:space:]]LLM-as-Judge/4f402faa-1235-47f5-9577-4ef513614681_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 676 |
+
2025/KAHAN_[[:space:]]Knowledge-Augmented[[:space:]]Hierarchical[[:space:]]Analysis[[:space:]]and[[:space:]]Narration[[:space:]]for[[:space:]]Financial[[:space:]]Data[[:space:]]Narration/d4177a0f-a09a-4764-b4fe-5bb14128f2be_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 677 |
+
2025/KBAlign_[[:space:]]Efficient[[:space:]]Self[[:space:]]Adaptation[[:space:]]on[[:space:]]Specific[[:space:]]Textual[[:space:]]Knowledge[[:space:]]Bases/250b77c5-c5c1-46ff-99cc-89d45eba33ee_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 678 |
+
2025/KBM_[[:space:]]Delineating[[:space:]]Knowledge[[:space:]]Boundary[[:space:]]for[[:space:]]Adaptive[[:space:]]Retrieval[[:space:]]in[[:space:]]Large[[:space:]]Language[[:space:]]Models/d88567de-85b9-4609-bb46-a2baabe640c1_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 679 |
+
2025/KELE_[[:space:]]A[[:space:]]Multi-Agent[[:space:]]Framework[[:space:]]for[[:space:]]Structured[[:space:]]Socratic[[:space:]]Teaching[[:space:]]with[[:space:]]Large[[:space:]]Language[[:space:]]Models/cac5c00e-c3ed-4cc5-88b6-0d8b21d70363_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 680 |
+
2025/KELE_[[:space:]]Residual[[:space:]]Knowledge[[:space:]]Erasure[[:space:]]for[[:space:]]Enhanced[[:space:]]Multi-hop[[:space:]]Reasoning[[:space:]]in[[:space:]]Knowledge[[:space:]]Editing/496badd2-aa54-43de-a5b7-2a54a2c1a2b7_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 681 |
+
2025/KERAG_[[:space:]]Knowledge-Enhanced[[:space:]]Retrieval-Augmented[[:space:]]Generation[[:space:]]for[[:space:]]Advanced[[:space:]]Question[[:space:]]Answering/c373ff50-8e8a-4131-ba75-0e9acd7c9584_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 682 |
+
2025/KaeDe_[[:space:]]Progressive[[:space:]]Generation[[:space:]]of[[:space:]]Logical[[:space:]]Forms[[:space:]]via[[:space:]]Knowledge-Aware[[:space:]]Question[[:space:]]Decomposition[[:space:]]for[[:space:]]Improved[[:space:]]KBQA/50b9cdc0-87af-40f1-a074-b1c9bd35c6f2_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 683 |
+
2025/Knowing[[:space:]]More,[[:space:]]Acting[[:space:]]Better_[[:space:]]Hierarchical[[:space:]]Representation[[:space:]]for[[:space:]]Embodied[[:space:]]Decision-Making/95131e3d-f946-4d0f-804a-66e6b858736c_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 684 |
+
2025/Knowledge[[:space:]]Graph-Driven[[:space:]]Memory[[:space:]]Editing[[:space:]]with[[:space:]]Directional[[:space:]]Interventions/42f6a5f4-28aa-454b-9465-ec295ad39c6d_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 685 |
+
2025/Knowledge-enhanced[[:space:]]Multimodal[[:space:]]ECG[[:space:]]Representation[[:space:]]Learning[[:space:]]with[[:space:]]Arbitrary-Lead[[:space:]]Inputs/d0e114fd-1c9d-4c98-ace6-4e6ada2f72f6_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 686 |
+
2025/Ko-LongRAG_[[:space:]]A[[:space:]]Korean[[:space:]]Long-Context[[:space:]]RAG[[:space:]]Benchmark[[:space:]]Built[[:space:]]with[[:space:]]a[[:space:]]Retrieval-Free[[:space:]]Approach/42eb6703-6159-40aa-adb1-d0769f014e4a_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
2025/I-GUARD_ Interpretability-Guided Parameter Optimization for Adversarial Defense/af7da807-decc-491b-967a-bbededc545c7_content_list.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2025/I-GUARD_ Interpretability-Guided Parameter Optimization for Adversarial Defense/af7da807-decc-491b-967a-bbededc545c7_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2025/I-GUARD_ Interpretability-Guided Parameter Optimization for Adversarial Defense/af7da807-decc-491b-967a-bbededc545c7_origin.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c13d61d92d61ba3ccfd8bb49915457f60c9de4ab47e8e12a92f238ba441ed867
|
| 3 |
+
size 1608468
|
2025/I-GUARD_ Interpretability-Guided Parameter Optimization for Adversarial Defense/full.md
ADDED
|
@@ -0,0 +1,443 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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 |
+
Transformer-based models are highly vulnerable to adversarial attacks, where even small perturbations can cause significant misclassifications. This paper introduces I-Guard, a defense framework to increase the robustness of transformer-based models against adversarial perturbations. I-Guard leverages model interpretability to identify influential parameters responsible for adversarial misclassifications. By selectively fine-tuning a small fraction of model parameters, our approach effectively balances performance on both original and adversarial test sets. We conduct extensive experiments on English and code-mixed Hinglish datasets and demonstrate that I-Guard significantly improves model robustness. Furthermore, we demonstrate the transferability of I-Guard in handling other character-based perturbations.
|
| 12 |
+
|
| 13 |
+
# 1 Introduction
|
| 14 |
+
|
| 15 |
+
Transformer-based Pre-trained Language Models (PLM) and Large Language Models (LLM) have achieved remarkable performance across various NLP tasks (Waswani et al., 2017). However, extensive research has shown that they are vulnerable to small perturbations which can significantly affect their performance (Wang et al., 2022b; Le et al., 2022; Qiang et al., 2024; Nguyen and Le, 2024). These weaknesses raise concerns about the robustness and reliability of such models, particularly in real-world applications.
|
| 16 |
+
|
| 17 |
+
There have been many attempts to study the adversarial robustness of these models across different NLP tasks (Sofi et al., 2022a; Goyal et al., 2023a; Ballout et al., 2024; Mamta and Cocarascu, 2025). Numerous studies have explored strategies to improve adversarial robustness in transformer-based models (Devlin et al., 2019), with data augmentation and adversarial training being widely examined (Goyal et al., 2023b; Morris et al., 2020a).
|
| 18 |
+
|
| 19 |
+
Data augmentation aims to improve model generalization by generating diverse text variations, but it often requires significant human effort to curate and validate high-quality augmented data. Adversarial training enhances model resilience by exposing it to adversarial examples during training. However, this approach is computationally expensive, requiring models to be re-trained from scratch using both original and carefully crafted adversarial data. Defense methods based on adversarial training also introduce new regularization functions (Liu et al., 2022; Yang et al., 2023) or apply perturbations to the embedding space (Ren et al., 2020; Nguyen Minh and Luu, 2022). However, these approaches depend on a continuous input space and struggle with the discrete nature of text, making it difficult to generate meaningful and semantically coherent interpolations (Nguyen and Le, 2024). Despite these efforts, achieving robust NLP models remains a challenging task. There is a growing need for transparent and efficient methods to enhance adversarial robustness without excessive manual intervention or computational overhead.
|
| 20 |
+
|
| 21 |
+
In this paper, we propose I-Guard, an interpretability-guided model training method to selectively modify model's parameters to increase the robustness of PLMs and LLMs towards adversarial attacks. For this, we employ model interpretability based on Shapley values (Lundberg and Lee, 2017) to analyze the contribution of each parameter in misleading the model in the presence of adversarial perturbations. For traditional PLMs such as BERT, I-Guard can be applied to the complete model. However, for LLMs with billions of parameters, directly interpreting every parameter is computationally expensive. To address this challenge, we integrate I-Guard with LoRA (Low-Rank Adaptation) (Hu et al., 2022) to find the contribution of each parameter in the LoRA adapters with the help of a probing task.
|
| 22 |
+
|
| 23 |
+
To measure the efficacy of $I$ -Guard, we con
|
| 24 |
+
|
| 25 |
+
sider realistic adversarial attacks, such as phonetic and visual (i.e. LEET) perturbations, which are commonly used in social media. Phonetic variations are especially pronounced in code-mixed texts, where people frequently switch between languages when writing (Das et al., 2022) and spell words phonetically based on their native language's pronunciation, leading to diverse spelling patterns (Crystal, 2018). We evaluate $I$ -Guard on two tasks, fact verification and code-mixed sentiment analysis (Hindi+English). In addition, we also investigate the transferability of our proposed approach to handle other character-based perturbations such as character deletion, character insertion, and character repetition. Our results show that the proposed defense mechanism effectively enhances the robustness of PLMs and LLMs against adversarial perturbations.
|
| 26 |
+
|
| 27 |
+
Our contributions are as follows:
|
| 28 |
+
|
| 29 |
+
1. We propose I-Guard, a novel interpretability-guided parameter training framework to enhance the robustness of PLMs and LLMs against phonetic and LEET-based adversarial attacks.
|
| 30 |
+
2. To demonstrate the generalizability of our approach, we conduct experiments on English and code-mixed datasets. Our results show that $I$ -Guard maintains a balanced performance on both original test set and adversarial test set compared to other baselines.
|
| 31 |
+
3. We assess the transferability of $I$ -Guard in strengthening model resilience against various character-level perturbations and achieve good defense performance.
|
| 32 |
+
|
| 33 |
+
# 2 Related Work
|
| 34 |
+
|
| 35 |
+
# 2.1 Adversarial Robustness
|
| 36 |
+
|
| 37 |
+
Several studies have shown that high-performing transformer-based models are susceptible to adversarial attacks and minor input perturbations (Lin et al., 2021; Neerudu et al., 2023; Gupta et al., 2024). Adversarial attacks have been explored in a variety of NLP tasks, including sentiment analysis (Jin et al., 2020a; Yuan et al., 2023; Mamta et al., 2023), machine translation (Wang et al., 2021b; Sai et al., 2021; Morris et al., 2020b), argument mining (Mayer et al., 2020; Sofi et al., 2022b), toxic content detection (Yuan et al., 2023), question answering (Goel et al., 2021; Moradi and Samwald, 2021; Kiela et al., 2021; Yuan et al., 2023; Gupta et al., 2024), and natural language inference (Wu et al.,
|
| 38 |
+
|
| 39 |
+
2021; Morris et al., 2020b; Li et al., 2021; Yuan et al., 2023). Whilst the majority of character-based attacks rely on researchers defining text manipulation strategies, Le et al. (2022) introduced a realistic phonetic perturbation attack by collecting 600K human-written text variations from real-world data and utilizing them for adversarial attacks.
|
| 40 |
+
|
| 41 |
+
Adversarial defense strategies in NLP can be broadly classified as adversarial training-based defense, data augmentation, and regularization-based defense (Wang and Lin, 2025). Most works employ an adversarial training approach which retransmits the model from scratch by adding adversarial examples to the training data (Li et al., 2019; Wang et al., 2021a, 2020; Jin et al., 2020b; Si et al., 2020). Other approaches incorporate adversarial training as a regularization technique; for example, Flooding-X (Liu et al., 2022), adversarial label smoothing (Yang et al., 2023), and temperature scaling (Raina et al., 2024) have proven effective in improving adversarial robustness. Some studies utilize adversarial training based on Generative Adversarial Networks (Ren et al., 2020) or Virtual Adversarial Training (Li and Qiu, 2021), where perturbations are introduced in the model's embedding space. Denoising-based methods have been proposed to improve adversarial robustness by applying changes to the embedding space of text (Yuan et al., 2024; Ji et al., 2024). However, these approaches often lack semantic correctness and can lead to incoherent modifications (Chen et al., 2020). In addition, there is a lack of explainability and transparency in the regularization-based defense methods (Goyal et al., 2023b). Another line of work focuses on ensembling-based methods, where multiple input text variants are generated at inference time, and predictions are aggregated across these variants. However, these approaches can be inefficient, as they require running the model on each variant, leading to increased inference time proportional to the number of ensembles (Li et al., 2023; Zeng et al., 2023).
|
| 42 |
+
|
| 43 |
+
# 2.2 Detection-based Defense
|
| 44 |
+
|
| 45 |
+
There are several methods for detecting adversarial perturbations in text (Goyal et al., 2023c). Some approaches focus solely on identifying and filtering these adversarial inputs, while others use spell checkers or rule-based techniques to correct the perturbations. However, these corrections often rely on predefined rules or dictionaries, which may be ineffective when the spelling of a word devi
|
| 46 |
+
|
| 47 |
+
ates from those present in the corpus or dictionary. Approaches for identifying adversarial perturbations include the Synonym Encoding Method (Wang et al., 2021c), frequency-aware randomization frameworks (Bao et al., 2021) for detecting word substitutions, and robust density estimation (Yoo et al., 2022), among others. Our objective is to improve the robustness of models against adversarial perturbations, in particular phonetic and LEET-based attacks, which are inspired by real-world noise in the data. Rather than filtering such perturbations, we aim to build models that are robust and capable of handling them effectively.
|
| 48 |
+
|
| 49 |
+
# 2.3 Transformers Interpretation
|
| 50 |
+
|
| 51 |
+
The remarkable success of pre-trained transformer-based models has driven researchers to explore their interpretability in-depth, aiming to explain their black-box nature (Petroni et al., 2019; Liu et al., 2019; Hewitt and Manning, 2019). Many works define neurons as dimensions within contextualized representations and investigate the linguistic information encoded by these representations (Durrani et al., 2020; Dalvi et al., 2019). Other studies focus on analyzing multi-head self-attention layers (Clark et al., 2019; Voita et al., 2019) and examine the roles of different attention heads across various tasks (Gould et al., 2024; Conmy et al., 2023; Hanna et al., 2024).
|
| 52 |
+
|
| 53 |
+
Several works (Geva et al., 2021; Dai et al., 2022a) have explored the neurons in the feedforward neural networks within transformer models, revealing that neurons in these layers encode word patterns and conceptual knowledge. For instance, Dai et al. (2022b) examined knowledge neurons in feed-forward networks, demonstrating their function in encoding factual knowledge for fill-in-the-blank tasks in BERT. Similarly, Wang et al. (2022a) identified skill neurons within the feed-forward layers of pre-trained transformers after prompt tuning for a task, showing that these neurons capture task-specific abilities. More recently, Yu and Ananiadou (2024) proposed a method to study neuron-level knowledge attribution in large language models by identifying query neurons which activate value neurons, offering deeper insights into model predictions. Kulkarni and Weng (2024) proposed a test-time defense primarily for image classification. Their approach focuses on neuron-level interpretability, computing importance based on methods like Leave-One-Out (LO-IR) or CLIP-Dissect (CD-IR) to identify and
|
| 54 |
+
|
| 55 |
+
mask unimportant neuron activations at test time.
|
| 56 |
+
|
| 57 |
+
Our work differs from the aforementioned studies as follows. Instead of identifying neuron contributions, we conduct a fine-grained analysis of model parameters, focusing on those responsible for misleading the model. Based on this analysis, we further fine-tune the model to enhance its robustness against adversarial manipulations.
|
| 58 |
+
|
| 59 |
+
# 3 Methodology
|
| 60 |
+
|
| 61 |
+
# 3.1 Problem Formulation
|
| 62 |
+
|
| 63 |
+
Attack Goal For a given input $X$ consisting of $n$ tokens $\{x_{1},x_{2},\ldots ,x_{n}\}$ and an associated ground truth label $y$ , the attack objective is to generate a perturbed version $X^{\prime}$ such that the target model $M$ misclassifies it, i.e., $M(X^{\prime})\neq y$ (untargeted attack). In the case of two-input tasks, where the input consists of $X$ and $E$ , the adversary applies perturbations only to $X$ , resulting in a modified input $X^{\prime}$ , while keeping $E$ unchanged. The goal remains to mislead the model such that $M(X^{\prime},E)\neq y$ . The attack is carried out using phonetic and LEET-based perturbations, following prior work (Le et al., 2022; Das et al., 2022).
|
| 64 |
+
|
| 65 |
+
Defense Goal The defense mechanism must meet the following requirements: 1) Enhance robustness against phonetic and LEET-based perturbations; and 2) Ensure that the performance on the actual test set remains consistent with the original performance.
|
| 66 |
+
|
| 67 |
+
# 3.2 I-Guard Framework
|
| 68 |
+
|
| 69 |
+
In this section, we present $I$ -Guard, a defense framework that enhances the robustness of the model against phonetic and LEET-based perturbations. Figure 1 depicts the main steps in $I$ -Guard. The adversarial generator applies perturbations to actual examples to mislead the trained model $M$ . We then identify the influential parameters responsible for the misclassification of adversarial examples using a subset of the misclassified adversarial examples and their corresponding actual examples. To determine these influential parameters, $I$ -Guard leverages a model interpretation technique based on Shapley values (Lundberg and Lee, 2017). In the case of LLMs, our approach involves identifying specific LoRA parameters that contribute most to adversarial misclassifications. These selected parameters are then optimized to improve the model's robustness.
|
| 70 |
+
|
| 71 |
+

|
| 72 |
+
Figure 1: Key steps of I-Guard.
|
| 73 |
+
|
| 74 |
+
Adversarial Sample Generation To generate adversarial samples, we perform a black-box attack on BERT (Devlin et al., 2019) and Llama (Touvron et al., 2023) models. We follow Le et al. (2022) and Das et al. (2022) to apply perturbations to English and Hindi+English (Hinglish), respectively. To implement the phonetic and LEET-based perturbations for BERT, we follow Mamta and Ekbal (2022) to identify the important tokens. For Llama, we use feature ablation to identify the most important words for the model's predictions (Miglani et al., 2023). Next, we perturb the words in descending order of their importance scores until a successful attack is executed or all words have been perturbed.
|
| 75 |
+
|
| 76 |
+
Model Interpretation Shapley values originate from cooperative game theory, where players contribute to the overall outcome of a game (Lundberg and Lee, 2017). Here, we treat model parameters as players in a cooperative game, where their collective interaction determines the model's predictions. The Shapley value for each parameter represents its marginal contribution across all possible parameter combinations, providing a comprehensive measure of its importance. The mathematical formulation for the Shapley values is:
|
| 77 |
+
|
| 78 |
+
$$
|
| 79 |
+
I _ {p} (v) = \sum_ {S \subseteq \Omega \backslash \{p \}} \frac {| S | ! (\left| \Omega \right| - | S | - 1) !}{\left| \Omega \right| !} [ v (S \cup \{p \}) - v (S) ] \tag {1}
|
| 80 |
+
$$
|
| 81 |
+
|
| 82 |
+
where $\psi_p(v)$ represents the contribution score of parameter $p$ , with $\Omega = \{1,2,\dots,n\}$ denoting the complete set of $n$ model parameters. The term $S$ encompasses all possible parameter subsets, and $v(S)$ represents the model's prediction using only the parameters in subset $S$ , with other parameters left out. This formulation ensures a fair attribution of importance to each parameter by considering all possible combinations of parameter interactions.
|
| 83 |
+
|
| 84 |
+
Computing Shapley values (Equation 1) presents significant computational challenges, particularly for large neural networks. The computational com
|
| 85 |
+
|
| 86 |
+
plexity of $\mathrm{O}(2^{\Omega})$ makes direct calculations inefficient for models with millions of parameters (Kang et al., 2023). Furthermore, in large-scale neural networks, the individual impact of single parameters on the overall prediction is typically minimal, making exhaustive computation inefficient.
|
| 87 |
+
|
| 88 |
+
To overcome this, we estimate the marginal contributions through random sampling by sampling $k$ sized parameter subsets from $\Omega$ several times. This sampling-based approach significantly reduces computational overhead. As discussed in Kang et al. (2023), the marginal contribution calculation is approximated using the norm of weight-gradient products:
|
| 89 |
+
|
| 90 |
+
$$
|
| 91 |
+
\begin{array}{l} | v (S \cup p) - v (S) | \approx | - L (\omega + \Delta \omega_ {i}, x, y) + L (\omega , x, y) | \\ \approx \left| \frac {\partial L}{\partial \omega_ {i}} \Delta \omega_ {i} \right| = \left| \frac {\partial L}{\partial \omega_ {i}} \right| | \Delta \omega_ {i} | = \left| \frac {\partial L}{\partial \omega_ {i}} \right| | \omega_ {i} |, \tag {2} \\ \end{array}
|
| 92 |
+
$$
|
| 93 |
+
|
| 94 |
+
This approximation leverages the first-order Taylor expansion of the loss function $L$ . The contribution of parameter $\omega_{i}$ is approximated using the gradient of the loss with respect to the parameter and its magnitude.
|
| 95 |
+
|
| 96 |
+
Identifying Parameters for Adversarial Misclassifications To identify the key parameters responsible for adversarial misclassification, we follow a systematic approach involving adversarial sample generation, dataset partitioning, and Shapley value-based parameter importance estimation. The process is shown in Algorithm 1.
|
| 97 |
+
|
| 98 |
+
First, we generate adversarial samples for a specific perturbation type using the training set (line 2). We then pass the generated adversarial samples through the trained model $M$ and analyze the predictions. Based on the classification outcomes, we make a subset of the dataset for misclassified Adversarial Samples. This includes original $(D_{act})$ and corresponding adversarial samples $(D_{adv})$ where examples are initially classified correctly by the model $M$ , but their adversarial counterparts are misclassified (lines 3-13).
|
| 99 |
+
|
| 100 |
+
To understand the influence of individual model parameters in adversarial misclassifications, we apply Shapley value-based parameter importance estimation to both $D_{act}$ and $D_{adv}$ (lines 38-39). This method assigns importance scores $(I_{act}$ and $I_{adv}$ ) to each parameter by evaluating its contribution to the model's predictions. The importance estimation process relies on repeated random sampling ( $K$ iterations), where, in each iteration $m$ , a subset
|
| 101 |
+
|
| 102 |
+
Algorithm 1 Parameter Identification for Adversarial Misclassifications
|
| 103 |
+
Require: Model M, Training dataset $\mathcal{D}_{\mathrm{train}}$ , Perturbation type $\epsilon$ , Sampling iterations $K$ , Sample size $k$ , Importance threshold $t$ , Fine-tuning epochs $E$
|
| 104 |
+
Ensure: Refined model $M^{*}$
|
| 105 |
+
1: // Generate adversarial samples
|
| 106 |
+
2: $\mathcal{D}_{\mathrm{advr}}\gets$ GenerateAdversarialSamples( $\mathcal{D}_{\mathrm{train}}$ $M,\epsilon)$
|
| 107 |
+
3: // Initialize dataset partitions
|
| 108 |
+
4: $D_{\mathrm{act}}\leftarrow \{\}$ $D_{\mathrm{adv}}\leftarrow \{\}$
|
| 109 |
+
5: for $(x,y)$ in $\mathcal{D}_{\mathrm{train}}$ do
|
| 110 |
+
6: $x_{\mathrm{adv}}\gets \mathcal{D}_{\mathrm{advr}}[x]$
|
| 111 |
+
7: $y_{\mathrm{pred}}\gets M(x)$
|
| 112 |
+
8: $y_{\mathrm{adv}}\gets M(x_{\mathrm{adv}})$
|
| 113 |
+
9: if $y_{\mathrm{pred}} = y$ and $y_{\mathrm{adv}}\neq y$ then
|
| 114 |
+
10: $D_{\mathrm{act}}\gets D_{\mathrm{act}}\cup \{(x,y)\}$
|
| 115 |
+
11: $D_{\mathrm{adv}}\gets D_{\mathrm{adv}}\cup \{(x_{\mathrm{adv}},y)\}$
|
| 116 |
+
12: end if
|
| 117 |
+
13: end for
|
| 118 |
+
14: // Initialize importance score vectors
|
| 119 |
+
15: $I_{\mathrm{act}}\gets 0|_M|$ $I_{\mathrm{adv}}\gets 0|M|$
|
| 120 |
+
16: // Compute parameter importance
|
| 121 |
+
17: function CALCULATEIMPORTANCE(D,M)
|
| 122 |
+
18: for $(x,y)$ in $D$ do
|
| 123 |
+
19: for $m = 1$ to $K$ do
|
| 124 |
+
20: $k\gets k\times |M|$ $\triangleright$ Compute k% of elements
|
| 125 |
+
21: mask_values $\leftarrow$ RandomSample(M,k) $\triangleright$ Select $k$ random indices from complete model M or LoRA adapters
|
| 126 |
+
22: $M_{\mathrm{masked}}\gets M$
|
| 127 |
+
23: $M_{\mathrm{masked}}[\mathrm{mask\_indices}]\gets 0$
|
| 128 |
+
24: $\mathcal{L}\gets \mathcal{L}(y,M_{\mathrm{masked}}(x))$
|
| 129 |
+
25: Compute $\nabla_{M_{\mathrm{masked}}}L$
|
| 130 |
+
26: start_in, end_in $\leftarrow 0$ , 0
|
| 131 |
+
27: for par in $M_{\mathrm{masked}}.\textit{Params} ()$ do
|
| 132 |
+
28: start_in, end_in $\leftarrow$ end_in, end_in + |par|
|
| 133 |
+
29: if pargradient $\neq$ None then
|
| 134 |
+
30: $w\gets M_{\mathrm{masked}}[\mathrm{start\_idx}:\mathrm{end\_idx}]$
|
| 135 |
+
31: $I_{\mathrm{act}}[\mathrm{start\_idx}:\quad : \quad \mathrm{end\_idx}] \leftarrow I_{\mathrm{act}}[\mathrm{start\_idx}:\quad : \quad \mathrm{end\_idx}] \leftarrow$
|
| 136 |
+
32: end if
|
| 137 |
+
33: end for
|
| 138 |
+
34: end for
|
| 139 |
+
35: end for
|
| 140 |
+
36: return I
|
| 141 |
+
37: end function
|
| 142 |
+
38: // Compute parameter importance for actual samples $I_{\mathrm{act}}\gets \textit{CalculateImportance} (D_{\mathrm{act}},M)$
|
| 143 |
+
39: // Compute parameter importance for adversarial samples $I_{\mathrm{adv}}\gets \textit{CalculateImportance} (D_{\mathrm{adv}},M)$
|
| 144 |
+
40: // Compute importance difference and identify crucial parameters
|
| 145 |
+
41: $I_{\mathrm{diff}}\gets I_{\mathrm{adv}} - I_{\mathrm{act}}$
|
| 146 |
+
42: $P_{\mathrm{critical}}\gets \textit{SelectTopParameters} (I_{\mathrm{diff}},t)$
|
| 147 |
+
43: // Freezing selective parameters
|
| 148 |
+
44: $M^{*}\gets M$
|
| 149 |
+
45: for each layer l in $M^{*}$ do
|
| 150 |
+
46: for each submodule sm in l do
|
| 151 |
+
47: if sm $\in P_{\mathrm{critical}}$ then
|
| 152 |
+
48: smrequires_grad $\leftarrow$ True
|
| 153 |
+
49: else
|
| 154 |
+
50: smrequires_grad $\leftarrow$ False
|
| 155 |
+
51: end if
|
| 156 |
+
52: end for
|
| 157 |
+
53: end for
|
| 158 |
+
54: Fine-tune $M^{*}$ on $D_{\mathrm{train}}$ and $D_{\mathrm{advr}}$
|
| 159 |
+
55: return $M^{*}$
|
| 160 |
+
|
| 161 |
+
of parameters is randomly chosen to assess their marginal contribution. For subset selection, we use RandomSample $(M,k)$ , which selects $k\%$ parameter indices to be temporarily zeroed out, forming a zeroed out model $M_{\mathrm{masked}}$ (lines 18-23). Here, $|M|$ is the size of model, i.e., total number of parameters present in the model. A forward pass with $M_{\mathrm{masked}}$ model produces predictions $\hat{y} = M_{\mathrm{masked}}(\mathbf{x})$ , followed by computing the loss $\mathcal{L}(y,\hat{y})$ . Backpropagation then yields gradients $\nabla_{M_{\mathrm{masked}}} \mathcal{L}$ , which, when multiplied by parameter values, approximate the marginal contributions (lines 24-31).
|
| 162 |
+
|
| 163 |
+
Finally, the importance scores for each parameter are accumulated across multiple iterations and batches (lines 27-34). Since there exists a one-to-one correspondence between the actual and adversarial subsets, some parameters which are crucial for correctly classifying $D_{act}$ may not hold the same significance in $D_{adv}$ . This discrepancy arises due to the perturbations altering the input space, causing certain parameters to play a more dominant role in misclassifications. Therefore, to pinpoint the parameters responsible for adversarial misclassification, we compute the difference between importance scores $I_{adv}$ and $I_{act}$ (line 41). This difference highlights parameters that significantly contribute to the misclassification of adversarial samples. I-Guard adapts parameter interpretation strategy for different types of language models, considering their architectural differences and computational requirements.
|
| 164 |
+
|
| 165 |
+
Pre-trained Language Models For BERT like models, $I$ -Guard applies Shapley value-based model interpretation to the complete model as shown in Figure 1. This involves analyzing the contributions of parameters across all layers and components of the entire BERT model.
|
| 166 |
+
|
| 167 |
+
Large Language Models Due to the high computational cost associated with fine-tuning and interpreting LLMs, $I$ -Guard applies Shapley-based interpretation to the LoRA adapters (Hu et al., 2022) as shown in Figure 1. $I$ -Guard utilizes a model finetuned using the LoRA technique. We perform this initial fine-tuning with a Causal Language Modeling (CLM) objective, rather than a direct classification objective. This choice underscores the generic nature of our approach. After LoRA-based fine-tuning, we perform linear probing to adapt the LLM's learned representations for classification tasks. This is because the CLM loss, designed for next-token prediction, does not inherently provide a direct gradient signal which is required to
|
| 168 |
+
|
| 169 |
+
understand the influence of the parameters on a downstream classification task.
|
| 170 |
+
|
| 171 |
+
Probing We train a classifier (probe) on the top of hidden representation of the last layer to map this hidden representation to the task label. During fine-tuning, the weights of the LLM and LoRA adapters are frozen to ensure that the probe is using the existing task-specific information, rather than modifying the underlying representation. Therefore, only the parameters of the linear probe are updated during this training phase.
|
| 172 |
+
|
| 173 |
+
After training, we freeze parameters and use Shapley-based model interpretation (lines 17-37) to calculate the importance of LoRA parameters. As the trained probe transforms the hidden states into differentiable class logits, this transformation enables the calculation of a loss that is directly linked to the classification task.
|
| 174 |
+
|
| 175 |
+
Selective Parameter Optimization Based on the final importance scores, we identify the top $t$ most influential parameters (line 42). In transformer-based models, each layer consists of Self-Attention Weights (Query, Key, and Values), Feed-Forward Network weights (intermediate or output), and Layer Norm Weights. Instead of fine-tuning individual weights, we selectively fine-tune the specific submodules (e.g., output Feed-Forward Network, submodules of LoRA) where these important parameters are located, while keeping the rest of the model frozen (lines 42-53). The model is then finetuned on a mix of actual and adversarial samples (line 54).
|
| 176 |
+
|
| 177 |
+
# 4 Experiments
|
| 178 |
+
|
| 179 |
+
# 4.1 Datasets
|
| 180 |
+
|
| 181 |
+
We conduct extensive evaluation of $I$ -Guard on English and Hinglish datasets, covering two tasks.
|
| 182 |
+
|
| 183 |
+
Fact verification (English) We use CLIMATE-FEVER (Diggelmann et al., 2020) which contains claims related to climate change along with their evidence. Each claim is labeled with one of three classes: supports, refutes, and not-enough-info (NEI). The dataset includes 7,675 annotated claim-evidence pairs split into train (5,756), validation (767), and test set (1,152).
|
| 184 |
+
|
| 185 |
+
Sentiment analysis (Hindi + English) We use a Hinglish dataset comprising posts from various public Facebook pages (Joshi et al., 2016). Each Hinglish post is labeled with one of three sentiment categories: positive, negative, or neutral. In total,
|
| 186 |
+
|
| 187 |
+
the dataset includes 3,879 instances split into train (2,482), validation (621), and test set (776).<sup>2</sup>
|
| 188 |
+
|
| 189 |
+
# 4.2 Baselines
|
| 190 |
+
|
| 191 |
+
We compare I-Guard with the following baselines: BERT (Devlin et al., 2019): We fine-tune BERT-base and BERT-base-multilingual (mBERT) models on English and Hinglish datasets, respectively, by adding a dense layer on top of it.
|
| 192 |
+
|
| 193 |
+
Llama: We fine-tune Llama-3.2-1B model on English and Hinglish datasets using LoRA adapters with CLM objective.
|
| 194 |
+
|
| 195 |
+
Adversarial Training: We create adversarial samples using phonetic and LEET-based perturbations and incorporate them into the original training data, re-training the model from scratch on the combined dataset.
|
| 196 |
+
|
| 197 |
+
LoRA based Adversarial Training: We re-train the LoRA adapters of Llama from scratch on the combined dataset.
|
| 198 |
+
|
| 199 |
+
I-Guard-Adv: We fine-tune the selective parameters of the model on only adversarial samples.
|
| 200 |
+
|
| 201 |
+
# 5 Results and Discussion
|
| 202 |
+
|
| 203 |
+
Table 1 shows the accuracy and $F_{1}$ score on both the actual test set and adversarial test set (TS), as well as the percentage of fine-tuned parameters (PT) for both datasets. For Llama, we show the number of fine-tuned LoRA adapters.
|
| 204 |
+
|
| 205 |
+
English Dataset The accuracy and $F_{1}$ scores for BERT-base and Llama models drop significantly under phonetic and LEET-based perturbations. For instance, under phonetic perturbations for BERT (FV Phonetic), the $F_{1}$ score drops by $36.72\%$ . The most widely used adversarial defense, adversarial training, significantly improves both accuracy and $F_{1}$ scores for these perturbations in BERT and Llama models. However, this approach is computationally expensive, as the model needs to be trained from scratch (100% PT and all LoRA adapters).
|
| 206 |
+
|
| 207 |
+
$I$ -Guard-Adv also effectively handles phonetic and LEET-based perturbations by fine-tuning much fewer parameters than adversarial training. In phonetic perturbations, $I$ -Guard achieves an $F_{1}$ score of $59.53\%$ while fine-tuning only $21.79\%$ of BERT's parameters, compared to adversarial training, which requires $100\%$ fine-tuning. Similarly, for Llama, only 20 LoRA adapters are updated. For LEET-based perturbations also, $I$ -Guard enhances the robustness while fine-tuning fewer parameters.
|
| 208 |
+
|
| 209 |
+
<table><tr><td rowspan="3" colspan="2"></td><td colspan="6">Phonetic</td><td colspan="5">LEET</td></tr><tr><td colspan="2">Original TS</td><td colspan="2">Adv TS</td><td rowspan="2">PT</td><td colspan="2">Original TS</td><td colspan="2">Adv TS</td><td rowspan="2" colspan="2">PT</td></tr><tr><td>Acc</td><td>F1</td><td>Acc</td><td>F1</td><td>Acc</td><td>F1</td><td>Acc</td><td>F1</td></tr><tr><td rowspan="4">\( \mathbf{{FV}} \)</td><td>BERT-base</td><td>71.61</td><td>62.70</td><td>51.21</td><td>25.98</td><td>-</td><td>71.61</td><td>62.70</td><td>49.91</td><td>22.52</td><td colspan="2">-</td></tr><tr><td>Adv training</td><td>71.44</td><td>61.02</td><td>75.17</td><td>65.42</td><td>100%</td><td>71.61</td><td>59.96</td><td>76.90</td><td>68.24</td><td colspan="2">100%</td></tr><tr><td>I-Guard-adv</td><td>60.58</td><td>58.03</td><td>73.87</td><td>64.38</td><td>21.79%</td><td>59.80</td><td>57.21</td><td>73.43</td><td>64.98</td><td colspan="2">26.11%</td></tr><tr><td>I-Guard</td><td>69.27</td><td>62.40</td><td>69.79</td><td>59.53</td><td>21.79%</td><td>72.13</td><td>63.74</td><td>74.82</td><td>66.82</td><td colspan="2">26.11%</td></tr><tr><td rowspan="4">SA</td><td>mBERT</td><td>67.26</td><td>62.58</td><td>40.46</td><td>28.09</td><td>-</td><td>67.26</td><td>62.58</td><td>40.25</td><td>20.77</td><td colspan="2">-</td></tr><tr><td>Adv training</td><td>67.13</td><td>64.80</td><td>60.43</td><td>56.93</td><td>100%</td><td>65.72</td><td>60.83</td><td>72.16</td><td>67.60</td><td colspan="2">100%</td></tr><tr><td>I-Guard-adv</td><td>68.68</td><td>65.00</td><td>56.31</td><td>50.38</td><td>28.98%</td><td>59.77</td><td>58.17</td><td>71.77</td><td>66.39</td><td colspan="2">27.67%</td></tr><tr><td>I-Guard</td><td>67.96</td><td>64.94</td><td>56.31</td><td>51.36</td><td>28.98%</td><td>67.78</td><td>64.72</td><td>67.13</td><td>61.20</td><td colspan="2">27.67%</td></tr></table>
|
| 210 |
+
|
| 211 |
+
Table 1: Results on Fact Verification (FV) and Sentiment Analysis (SA) for BERT. Here, TS: test set, Adv TS: Adversarial test set, PT: percentage of fine-tuned parameters.
|
| 212 |
+
|
| 213 |
+
<table><tr><td rowspan="3" colspan="2"></td><td colspan="6">Phonetic</td><td colspan="5">LEET</td></tr><tr><td colspan="2">Original TS</td><td colspan="2">Adv TS</td><td rowspan="2">LM</td><td colspan="2">Original TS</td><td colspan="2">Adv TS</td><td rowspan="2" colspan="2">LM</td></tr><tr><td>Acc</td><td>F1</td><td>Acc</td><td>F1</td><td>Acc</td><td>F1</td><td>Acc</td><td>F1</td></tr><tr><td rowspan="4">\( FV \)</td><td>Llama</td><td>57.20</td><td>35.84</td><td>15.00</td><td>8.98</td><td>224</td><td>57.20</td><td>35.84</td><td>18.76</td><td>10.81</td><td>224</td><td></td></tr><tr><td>LoRA Adv</td><td>43.23</td><td>33.70</td><td>31.93</td><td>18.03</td><td>224</td><td>51.11</td><td>29.71</td><td>31.93</td><td>18.03</td><td>224</td><td></td></tr><tr><td>I-Guard-adv</td><td>59.45</td><td>35.76</td><td>42.75</td><td>22.30</td><td>20</td><td>57.60</td><td>32.16</td><td>39.26</td><td>20.92</td><td>20</td><td></td></tr><tr><td>I-Guard</td><td>58.77</td><td>35.58</td><td>39.09</td><td>20.83</td><td>20</td><td>56.27</td><td>33.24</td><td>40.13</td><td>21.02</td><td>20</td><td></td></tr><tr><td rowspan="4">SA</td><td>Llama</td><td>45.74</td><td>38.6</td><td>19.29</td><td>14.91</td><td>224</td><td>45.74</td><td>38.60</td><td>22.55</td><td>13.56</td><td>224</td><td></td></tr><tr><td>LoRA Adv</td><td>51.80</td><td>39.04</td><td>35.28</td><td>25.19</td><td>224</td><td>50.23</td><td>42.73</td><td>39.94</td><td>29.11</td><td>224</td><td></td></tr><tr><td>I-Guard-adv</td><td>51.15</td><td>39.73</td><td>36.98</td><td>26.05</td><td>25</td><td>51.59</td><td>41.35</td><td>38.53</td><td>28.49</td><td>24</td><td></td></tr><tr><td>I-Guard</td><td>52.06</td><td>39.59</td><td>38.65</td><td>27.97</td><td>25</td><td>49.87</td><td>38.68</td><td>40.46</td><td>30.01</td><td>24</td><td></td></tr></table>
|
| 214 |
+
|
| 215 |
+
Table 2: Results on Fact Verification (FV) and Sentiment Analysis (SA) for LLama. Here, TS: test set, Adv TS: Adversarial test set, LM: fine-tuned LoRA modules.
|
| 216 |
+
|
| 217 |
+
<table><tr><td rowspan="2" colspan="2"></td><td colspan="2">BERT</td><td colspan="2">I-Guard</td></tr><tr><td>Acc</td><td>F1</td><td>Acc</td><td>F1</td></tr><tr><td rowspan="3">\( \mathbf{{FV}} \)</td><td>Char Delete</td><td>49.82</td><td>22.52</td><td>68.05</td><td>55.92</td></tr><tr><td>Char Insert</td><td>49.56</td><td>22.47</td><td>66.49</td><td>52.99</td></tr><tr><td>Char Repetition</td><td>50.00</td><td>22.93</td><td>68.66</td><td>58.05</td></tr><tr><td rowspan="3">SA</td><td>Char Delete</td><td>37.75</td><td>26.20</td><td>52.83</td><td>48.15</td></tr><tr><td>Char Insert</td><td>35.69</td><td>26.63</td><td>48.84</td><td>44.65</td></tr><tr><td>Char Repetition</td><td>46.64</td><td>38.06</td><td>54.76</td><td>50.04</td></tr></table>
|
| 218 |
+
|
| 219 |
+
Table 3: Transferability of $I$ -Guard to other attacks.
|
| 220 |
+
|
| 221 |
+
Moreover, adversarial training and $I$ -Guard-adv reduce the $F_{1}$ score on the original test set (BERT). In contrast, $I$ -Guard not only improves robustness against adversarial perturbations, but also enhances performance on the original test set, thereby maintaining a good balance between performance on both the original and adversarial test sets.
|
| 222 |
+
|
| 223 |
+
Hinglish Dataset We observe a similar phenomenon on the sentiment analysis task, where $I$ -Guard achieves better generalization compared to adversarial training-based defense for the BERT and Llama models. This demonstrates that $I$ -Guard can enhance robustness against adversarial text perturbations by fine-tuning fewer parameters compared to adversarial training-based defense. We also conducted experiments on a larger dataset (see Appendix D).
|
| 224 |
+
|
| 225 |
+
# 5.1 Transferability to other Perturbations
|
| 226 |
+
|
| 227 |
+
In addition, we assess the transferability of model trained using $I$ -Guard to other types of adversarial attacks. Specifically, we generate adversarial test sets using character repetition, character deletion, and character insertion perturbations (Moradi and Samwald, 2021) as discussed in Section 3.2.
|
| 228 |
+
|
| 229 |
+
The results are presented in Table 3. We observe a significant drop in accuracy and $F_{1}$ score for BERT (base and multilingual) across all types of perturbations in both English and Hinglish. However, our proposed method demonstrates robustness against these perturbations, leading to improved accuracy and $F_{1}$ scores in both languages. This indicates that I-Guard not only defends against the phonetic perturbations considered, but also offers enhanced generalization capabilities to handle other related perturbations effectively.
|
| 230 |
+
|
| 231 |
+
# 5.2 Ablation Study
|
| 232 |
+
|
| 233 |
+
Affect of $t$ We experiment with different values of $t$ (top $t$ parameters from $I_{diff}$ ) to understand their impact on the robustness and actual performance of the model. Table 4 presents BERT's behaviour for various parameter values. For the English language, we observe that fine-tuning only $0.016\%$ (for $t = 50$ ) of the model parameters significantly improves its robustness against phonetic perturbations. Similarly, for LEET-based perturba
|
| 234 |
+
|
| 235 |
+
<table><tr><td rowspan="3"></td><td rowspan="3">t</td><td colspan="5">Phonetic</td><td colspan="5">LEET</td></tr><tr><td colspan="2">Original TS</td><td colspan="2">Adv TS</td><td rowspan="2">PT</td><td colspan="2">Original TS</td><td colspan="2">Adv TS</td><td rowspan="2">PT</td></tr><tr><td>Acc</td><td>F1</td><td>Acc</td><td>F1</td><td>Acc</td><td>F1</td><td>Acc</td><td>F1</td></tr><tr><td rowspan="6">\( \mathbf{{FV}} \)</td><td>50</td><td>67.88</td><td>61.58</td><td>68.48</td><td>57.07</td><td>0.016</td><td>67.27</td><td>60.91</td><td>67.36</td><td>56.50</td><td>0.018</td></tr><tr><td>100</td><td>68.14</td><td>61.60</td><td>68.48</td><td>57.57</td><td>0.020</td><td>67.53</td><td>60.82</td><td>68.66</td><td>58.28</td><td>0.023</td></tr><tr><td>150</td><td>69.18</td><td>62.34</td><td>69.77</td><td>59.39</td><td>21.791</td><td>67.62</td><td>60.95</td><td>68.83</td><td>58.51</td><td>0.024</td></tr><tr><td>200</td><td>69.35</td><td>62.54</td><td>69.79</td><td>59.39</td><td>21.793</td><td>72.13</td><td>63.74</td><td>74.82</td><td>66.82</td><td>26.105</td></tr><tr><td>250</td><td>69.27</td><td>62.40</td><td>69.79</td><td>59.53</td><td>21.794</td><td>72.04</td><td>63.85</td><td>73.78</td><td>64.99</td><td>26.106</td></tr><tr><td>300</td><td>69.27</td><td>62.40</td><td>69.79</td><td>59.53</td><td>21.798</td><td>72.04</td><td>63.85</td><td>73.78</td><td>64.99</td><td>26.106</td></tr><tr><td rowspan="6">SA</td><td>50</td><td>68.42</td><td>64.08</td><td>48.32</td><td>39.97</td><td>0.019</td><td>68.29</td><td>63.82</td><td>47.42</td><td>34.55</td><td>0.017</td></tr><tr><td>100</td><td>68.29</td><td>63.81</td><td>48.06</td><td>39.55</td><td>0.020</td><td>68.55</td><td>65.67</td><td>64.17</td><td>57.89</td><td>0.021</td></tr><tr><td>150</td><td>68.42</td><td>64.28</td><td>51.03</td><td>44.64</td><td>0.022</td><td>67.65</td><td>64.51</td><td>65.07</td><td>58.53</td><td>0.382</td></tr><tr><td>200</td><td>68.42</td><td>64.28</td><td>51.03</td><td>44.64</td><td>0.023</td><td>67.78</td><td>64.72</td><td>67.13</td><td>61.20</td><td>27.67</td></tr><tr><td>250</td><td>67.91</td><td>63.94</td><td>56.31</td><td>51.36</td><td>24.65</td><td>67.78</td><td>64.71</td><td>67.13</td><td>61.20</td><td>30.34</td></tr><tr><td>300</td><td>67.96</td><td>64.94</td><td>56.31</td><td>51.36</td><td>28.98</td><td>67.43</td><td>64.21</td><td>67.13</td><td>61.20</td><td>32.21</td></tr></table>
|
| 236 |
+
|
| 237 |
+
tions, fine-tuning just $0.018\%$ of the model parameters greatly enhances its robustness.
|
| 238 |
+
|
| 239 |
+
Increasing the value of $t$ results in improved performance on both the actual and adversarial test sets. However, further increasing the number of fine-tuned parameters can negatively impact the model's performance. For example, increasing $t$ from 200 to 250 leads to performance decrease on adversarial test set (FV LEET). Further increasing the number of parameters from 250 to 300 results in the same performance as when $t$ is set to 250. In case of the Hinglish language also, fine-tuning only $0.019\%$ (phonetic) and $0.017\%$ (LEET) of the parameters improves performance on both the actual and adversarial test sets. Increasing the number of parameters from 250 to 300 (SA phonetic) does not affect the robustness, but it does lead to an increase in performance on actual test set.
|
| 240 |
+
|
| 241 |
+
We also observe that for the top 50, 100, and 150 indices (FV LEET), the percentage (PT) remains low (less than $1\%$ ). This indicates that these indices correspond primarily to a small subset of parameters within a few submodules. However, when the number of top $t$ parameters increases from 150 to 200, there is a substantial rise in PT, suggesting that the additional indices span across multiple submodules, significantly increasing the number of parameters being fine-tuned. Beyond 200 indices, the PT stabilizes at around $26.11\%$ , indicating that most of the newly added weight parameters belong to already unfrozen submodules rather than introducing entirely new ones. This pattern is consistent for both languages and perturbations.
|
| 242 |
+
|
| 243 |
+
Random parameter selection We randomly select $30\%$ model parameters and fine-tune them on (i) adversarial data; (ii) mixture of adversarial and original data to observe the impact of model interpretability on targeted parameter optimization. We
|
| 244 |
+
|
| 245 |
+
Table 4: Affect of choosing different parameter values (top $t$ ).
|
| 246 |
+
|
| 247 |
+
<table><tr><td></td><td>Data</td><td colspan="2">Original TS</td><td colspan="2">Adv TS</td></tr><tr><td></td><td></td><td>Acc</td><td>F1</td><td>Acc</td><td>F1</td></tr><tr><td>Random</td><td rowspan="2">Mix</td><td>67.55</td><td>64.67</td><td>62.98</td><td>57.76</td></tr><tr><td>I-Guard</td><td>67.78</td><td>64.72</td><td>67.13</td><td>61.2</td></tr><tr><td>Random</td><td rowspan="2">Adv</td><td>44.58</td><td>41.05</td><td>74.8</td><td>70.09</td></tr><tr><td>I-Guard-adv</td><td>59.77</td><td>58.17</td><td>71.77</td><td>66.39</td></tr></table>
|
| 248 |
+
|
| 249 |
+
Table 5: Results on LEET perturbations for sentiment analysis by ablating model interpretability component.
|
| 250 |
+
|
| 251 |
+
compare this random selection with two variants of our approach, $I$ -Guard and $I$ -Guard-adv. The results for BERT are reported in Table 5.
|
| 252 |
+
|
| 253 |
+
$I$ -Guard outperforms random parameter finetuning on both the original and adversarial test sets. Thus, leveraging interpretability techniques to identify and optimize the most relevant parameters leads to more robust performance. When training the model only on adversarial test data, random selection achieves higher accuracy and $F_{1}$ score, but at the cost of a significant reduction in accuracy on the original test set. However, $I$ -Guard-adv performs better on the original test set, highlighting that a targeted optimization approach focused on adversarial data can enhance model robustness without overfitting to adversarial examples. We also fine-tuned the last layer of the model (see results in Appendix C.2).
|
| 254 |
+
|
| 255 |
+
Affect of $k$ We conducted an ablation study by varying the value of $k$ in Shapley calculation and subsequently evaluating the fine-tuned model's performance (Llama). $k$ represents the sample-size of parameters considered within each repeat of Shapley approximation. The results for different $k$ values on both clean and adversarial performance, are presented in Table 7. We observe a slight improvement in adversarial test set accuracy and $F_{1}$ score as $k$ increases from 10 to 50. This means a larger sample-size $k$ leads to more fair and stable comparisons in Shapley approximation, poten
|
| 256 |
+
|
| 257 |
+
<table><tr><td></td><td>Original Claim</td><td>Adversarial Claim</td><td>Original Label</td><td>BERT-base</td><td>Llama</td><td>BERT Adv Training</td><td>LoRA Adv Training</td><td>I-Guard</td></tr><tr><td>1</td><td>There are many lines of evidence which clearly show that the atmospheric co2 increase is caused by humans.</td><td>There are many lines of evidence which clearly show that the atmospheric co2 increase is caused by humans.</td><td>Support</td><td>NEI</td><td>Support</td><td>Support</td><td>Support</td><td>Support</td></tr><tr><td>2</td><td>Climate change will also reduce the number of cold days and cold spells.</td><td>Climate changee will also reduce the number of coooold days and cold spells.</td><td>Support</td><td>NEI</td><td>NEI</td><td>Support</td><td>Support</td><td>Support</td></tr><tr><td>3</td><td>In the past, warming has never been a threat to life on earth.</td><td>In the past, warming has neveeeeer been a threat to life on earth.</td><td>Refute</td><td>NEI</td><td>Support</td><td>Refute</td><td>Refute</td><td>Refute</td></tr><tr><td>4</td><td>Temperatures in the arctic have soared recently, and scientists are struggling to explain exactly why.</td><td>-</td><td>Support</td><td>Support</td><td>Support</td><td>NEI</td><td>NEI</td><td>Support</td></tr><tr><td>5</td><td>New study confirms evs considerably worse for climate than diesel cars.</td><td>-</td><td>Refute</td><td>Refute</td><td>Refute</td><td>NEI</td><td>NEI</td><td>Refute</td></tr></table>
|
| 258 |
+
|
| 259 |
+
Table 6: Behaviour of different models on adversarial (1-3) and original examples (4-5).
|
| 260 |
+
|
| 261 |
+
<table><tr><td></td><td colspan="2">Original TS</td><td colspan="3">Adv TS</td></tr><tr><td></td><td>Acc</td><td>F1</td><td>Acc</td><td>F1</td><td>k</td></tr><tr><td>Llama</td><td>45.74</td><td>38.60</td><td>22.55</td><td>13.56</td><td></td></tr><tr><td>I-Guard</td><td>50.90</td><td>38.52</td><td>39.43</td><td>28.00</td><td>k=10</td></tr><tr><td>I-Guard</td><td>49.87</td><td>38.68</td><td>40.46</td><td>30.01</td><td>k=25</td></tr><tr><td>I-Guard</td><td>50.51</td><td>38.50</td><td>40.59</td><td>29.76</td><td>k=50</td></tr></table>
|
| 262 |
+
|
| 263 |
+
Table 7: Affect of $k$ values on LEET perturbations for sentiment analysis.
|
| 264 |
+
|
| 265 |
+
tially yielding more accurate and robust importance scores for parameters critical to adversarial defense. The model's performance on the original test set remains stable across the different $k$ values, demonstrating that the parameter selection method does not significantly compromise the model's clean accuracy, regardless of the $k$ chosen. These results indicate that an even smaller value of $k$ is effective. The reason for this stability lies in the combined power of $k$ and the number of repeats. The multiple repeats ensure a comprehensive exploration of different parameter combinations. In each subsequent repeat, another set of parameters is randomly chosen for the $k$ coalition. This extensive averaging across diverse combinations effectively mitigates the variance that might arise from smaller individual $k$ values, leading to stable and robust final Shapley importance scores. We also observe the impact of sample size on model interpretation (Appendix C.1).
|
| 266 |
+
|
| 267 |
+
# 5.3 Qualitative Analysis
|
| 268 |
+
|
| 269 |
+
We analyze the behavior of different models on adversarial and original samples for the English language in Table 6, where we apply phonetic perturbations to the original claims (evidence remains unchanged), leading to misclassification by the BERT-base model (examples 1-3) and Llama (2-3). It can be seen that when perturbations are applied to claims from the Support (1-2) or Refute (3) classes, the BERT-base model misclassifies them to NEI
|
| 270 |
+
|
| 271 |
+
class and Llama model misclassifies them to other two classes. However, both adversarial training and our proposed I-Guard correctly classify these adversarial samples, indicating that these models understand phonetic perturbations.
|
| 272 |
+
|
| 273 |
+
Examples 4 and 5 illustrate the behavior of the models on actual examples. In these examples, the adversarial training-based defense misclassifies claims from the Support and Refute classes as NEI, whereas I-Guard correctly classifies them.
|
| 274 |
+
|
| 275 |
+
# 6 Conclusion
|
| 276 |
+
|
| 277 |
+
We proposed $I$ -Guard, a defense mechanism designed to handle adversarial perturbations in transformer-based models. $I$ -Guard employs model interpretability to identify the parameters responsible for adversarial misclassifications and applies selective fine-tuning. While the widely used adversarial training-based defense improves robustness, it requires re-training from scratch and can lead to a drop in performance on the actual test sets. Our experiments on English and Hinglish datasets demonstrate that $I$ -Guard enhances both adversarial and actual test performance, ensuring better generalization while fine-tuning fewer parameters. Additionally, we showed the transferability of our approach in handling other related character perturbations. In future work, we aim to extend $I$ -Guard to other models to assess its efficiency and robustness in more complex architectures.
|
| 278 |
+
|
| 279 |
+
# Limitations
|
| 280 |
+
|
| 281 |
+
This study, like most others, has limitations that could be addressed in future research. Currently, we focus only on English and Hinglish datasets and have not evaluated the performance of $I$ -Guard on other low-resource language pairs. Expanding our approach to additional languages, particularly those
|
| 282 |
+
|
| 283 |
+
with different scripts, would be a valuable direction for future work. Additionally, our evaluation primarily considers text-based adversarial attacks, such as phonetic and LEET perturbations. However, adversarial robustness in multimodal settings (e.g., text with images) remains unexplored. Future work could investigate I-Guard's robustness in multimodal scenarios. We also plan to integrate the selection of t into an automated hyperparameter optimization framework (e.g., Bayesian optimization) to systematically identify the value that maximizes robustness or generalization.
|
| 284 |
+
|
| 285 |
+
# Ethics Statement
|
| 286 |
+
|
| 287 |
+
We use publicly accessible datasets for our experiments, strictly for academic purposes and in full accordance with their licensing terms.
|
| 288 |
+
|
| 289 |
+
# Acknowledgements
|
| 290 |
+
|
| 291 |
+
This research was supported by EPSRC (grant number EP/X04162X/1).
|
| 292 |
+
|
| 293 |
+
# References
|
| 294 |
+
|
| 295 |
+
Mohamad Ballout, Anne Dedert, Nohayr Muhammad Abdelmoneim, Ulf Krumnack, Gunther Heidemann, and Kai-Uwe Kühnberger. 2024. FOOL ME IF YOU CAN! an adversarial dataset to investigate the robustness of LMs in word sense disambiguation. In Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing, pages 5042-5059, Miami, Florida, USA. Association for Computational Linguistics.
|
| 296 |
+
Rongzhou Bao, Jiayi Wang, and Hai Zhao. 2021. Defending pre-trained language models from adversarial word substitutions without performance sacrifice. arXiv preprint arXiv:2105.14553.
|
| 297 |
+
Jiaao Chen, Zichao Yang, and Diyi Yang. 2020. Mix-Text: Linguistically-informed interpolation of hidden space for semi-supervised text classification. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pages 2147-2157, Online. Association for Computational Linguistics.
|
| 298 |
+
Kevin Clark, Urvashi Khandelwal, Omer Levy, and Christopher D. Manning. 2019. What does BERT look at? an analysis of BERT's attention. In Proceedings of the 2019 ACL Workshop BlackboxNLP: Analyzing and Interpreting Neural Networks for NLP, pages 276-286, Florence, Italy. Association for Computational Linguistics.
|
| 299 |
+
Arthur Conmy, Augustine Mavor-Parker, Aengus Lynch, Stefan Heimersheim, and Adrià Garriga-Alonso.
|
| 300 |
+
|
| 301 |
+
2023. Towards automated circuit discovery for mechanistic interpretability. Advances in Neural Information Processing Systems, 36:16318-16352.
|
| 302 |
+
David Crystal. 2018. The Cambridge encyclopedia of the English language. Cambridge university press.
|
| 303 |
+
Damai Dai, Li Dong, Yaru Hao, Zhifang Sui, Baobao Chang, and Furu Wei. 2022a. Knowledge neurons in pretrained transformers. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 8493-8502.
|
| 304 |
+
Damai Dai, Li Dong, Yaru Hao, Zhifang Sui, Baobao Chang, and Furu Wei. 2022b. Knowledge neurons in pretrained transformers. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 8493-8502, Dublin, Ireland. Association for Computational Linguistics.
|
| 305 |
+
Fahim Dalvi, Nadir Durrani, Hassan Sajjad, Yonatan Belinkov, Anthony Bau, and James Glass. 2019. What is one grain of sand in the desert? analyzing individual neurons in deep nlp models. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 33, pages 6309-6317.
|
| 306 |
+
Sourya Dipta Das, Ayan Basak, Soumil Mandal, and Dipankar Das. 2022. Advcodemix: Adversarial attack on code-mixed data. In Proceedings of the 5th Joint International Conference on Data Science & Management of Data (9th ACM IKDD CODS and 27th COMAD), CODS-COMAD '22, page 125-129, New York, NY, USA. Association for Computing Machinery.
|
| 307 |
+
Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. 2019. BERT: Pre-training of deep bidirectional transformers for language understanding. In Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers), pages 4171-4186, Minneapolis, Minnesota. Association for Computational Linguistics.
|
| 308 |
+
Thomas Diggelmann, Jordan L. Boyd-Graber, Jannis Bulian, Massimiliano Ciaramita, and Markus Leippold. 2020. CLIMATE-FEVER: A dataset for verification of real-world climate claims. CoRR, abs/2012.00614.
|
| 309 |
+
Nadir Durrani, Hassan Sajjad, Fahim Dalvi, and Yonatan Belinkov. 2020. Analyzing individual neurons in pre-trained language models. In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP), pages 4865-4880, Online. Association for Computational Linguistics.
|
| 310 |
+
Mor Geva, Roei Schuster, Jonathan Berant, and Omer Levy. 2021. Transformer feed-forward layers are key-value memories. In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing, pages 5484-5495.
|
| 311 |
+
|
| 312 |
+
Karan Goel, Nazneen Fatema Rajani, Jesse Vig, Zachary Taschdjian, Mohit Bansal, and Christopher Ré. 2021. Robustness gym: Unifying the NLP evaluation landscape. In Proceedings of the 2021 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies: Demonstrations, pages 42-55, Online. Association for Computational Linguistics.
|
| 313 |
+
Rhys Gould, Euan Ong, George Ogden, and Arthur Conmy. 2024. Successor heads: Recurring, interpretable attention heads in the wild. In *The Twelfth International Conference on Learning Representations*, ICLR 2024, Vienna, Austria, May 7-11, 2024. OpenReview.net.
|
| 314 |
+
Shreya Goyal, Sumanth Doddapaneni, Mitesh M. Khapra, and Balaraman Ravindran. 2023a. A survey of adversarial defenses and robustness in NLP. ACM Comput. Surv., 55(14s):332:1-332:39.
|
| 315 |
+
Shreya Goyal, Sumanth Doddapaneni, Mitesh M. Khapra, and Balaraman Ravindran. 2023b. A survey of adversarial defenses and robustness in nlp. ACM Comput. Surv., 55(14s).
|
| 316 |
+
Shreya Goyal, Sumanth Doddapaneni, Mitesh M Khapra, and Balaraman Ravindran. 2023c. A survey of adversarial defenses and robustness in nlp. ACM Computing Surveys, 55(14s):1-39.
|
| 317 |
+
Ashim Gupta, Rishanth Rajendhran, Nathan Stringham, Vivek Srikumar, and Ana Marasovic. 2024. Whispers of doubt amidst echoes of triumph in NLP robustness. In Proceedings of the 2024 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (Volume 1: Long Papers), pages 5533-5590, Mexico City, Mexico. Association for Computational Linguistics.
|
| 318 |
+
Michael Hanna, Ollie Liu, and Alexandre Variengien. 2024. How does gpt-2 compute greater-than?: Interpreting mathematical abilities in a pre-trained language model. Advances in Neural Information Processing Systems, 36.
|
| 319 |
+
John Hewitt and Christopher D. Manning. 2019. A structural probe for finding syntax in word representations. In Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers), pages 4129-4138, Minneapolis, Minnesota. Association for Computational Linguistics.
|
| 320 |
+
Edward J Hu, Yelong Shen, Phillip Wallis, Zeyuan Allen-Zhu, Yuanzhi Li, Shean Wang, Lu Wang, Weizhu Chen, et al. 2022. Lora: Low-rank adaptation of large language models. ICLR, 1(2):3.
|
| 321 |
+
Jiabao Ji, Bairu Hou, Zhen Zhang, Guanhua Zhang, Wenqi Fan, Qing Li, Yang Zhang, Gaowen Liu, Sijia Liu, and Shiyu Chang. 2024. Advancing the robustness of large language models through self-denoised smoothing. In Proceedings of the 2024 Conference
|
| 322 |
+
|
| 323 |
+
of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (Volume 2: Short Papers), pages 246-257, Mexico City, Mexico. Association for Computational Linguistics.
|
| 324 |
+
Di Jin, Zhijing Jin, Joey Tianyi Zhou, and Peter Szolovits. 2020a. Is bert really robust? a strong baseline for natural language attack on text classification and entailment. In Proceedings of the AAAI conference on artificial intelligence, volume 34, pages 8018-8025.
|
| 325 |
+
Di Jin, Zhijing Jin, Joey Tianyi Zhou, and Peter Szolovits. 2020b. Is BERT really robust? A strong baseline for natural language attack on text classification and entailment. In The Thirty-Fourth AAAI Conference on Artificial Intelligence, AAAI 2020, The Thirty-Second Innovative Applications of Artificial Intelligence Conference, IAAI 2020, The Tenth AAAI Symposium on Educational Advances in Artificial Intelligence, EAAI 2020, New York, NY, USA, February 7-12, 2020, pages 8018-8025. AAAI Press.
|
| 326 |
+
Aditya Joshi, Ameya Prabhu, Manish Shrivastava, and Vasudeva Varma. 2016. Towards sub-word level compositions for sentiment analysis of Hindi-English code mixed text. In Proceedings of COLING 2016, the 26th International Conference on Computational Linguistics: Technical Papers, pages 2482-2491, Osaka, Japan. The COLING 2016 Organizing Committee.
|
| 327 |
+
Mintong Kang, Linyi Li, and Bo Li. 2023. Fashapley: Fast and approximated shapley based model pruning towards certifiably robust dnns. In 2023 IEEE Conference on Secure and Trustworthy Machine Learning (SaTML), pages 575-592.
|
| 328 |
+
Douwe Kiela, Max Bartolo, Yixin Nie, Divyansh Kaushik, Atticus Geiger, Zhengxuan Wu, Bertie Vidgen, Grusha Prasad, Amanpreet Singh, Pratik Ringshia, Zhiyi Ma, Tristan Thrush, Sebastian Riedel, Zeerak Waseem, Pontus Stenetorp, Robin Jia, Mohit Bansal, Christopher Potts, and Adina Williams. 2021. Dynabench: Rethinking benchmarking in NLP. In Proceedings of the 2021 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pages 4110-4124, Online. Association for Computational Linguistics.
|
| 329 |
+
Akshay Kulkarni and Tsui-Wei Weng. 2024. Interpretability-guided test-time adversarial defense. In European Conference on Computer Vision, pages 466-483. Springer.
|
| 330 |
+
Thai Le, Jooyoung Lee, Kevin Yen, Yifan Hu, and Dongwon Lee. 2022. Perturbations in the wild: Leveraging human-written text perturbations for realistic adversarial attack and defense. In *Findings of the Association for Computational Linguistics: ACL 2022*, pages 2953-2965, Dublin, Ireland. Association for Computational Linguistics.
|
| 331 |
+
|
| 332 |
+
Dianqi Li, Yizhe Zhang, Hao Peng, Liquin Chen, Chris Brockett, Ming-Ting Sun, and Bill Dolan. 2021. Contextualized perturbation for textual adversarial attack. In Proceedings of the 2021 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pages 5053-5069, Online. Association for Computational Linguistics.
|
| 333 |
+
Jinfeng Li, Shouling Ji, Tianyu Du, Bo Li, and Ting Wang. 2019. Textbugger: Generating adversarial text against real-world applications. In 26th Annual Network and Distributed System Security Symposium, NDSS 2019, San Diego, California, USA, February 24-27, 2019. The Internet Society.
|
| 334 |
+
Linyang Li and Xipeng Qiu. 2021. Token-aware virtual adversarial training in natural language understanding. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 35, pages 8410-8418.
|
| 335 |
+
Linyang Li, Demin Song, and Xipeng Qiu. 2023. Text adversarial purification as defense against adversarial attacks. In Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 338-350, Toronto, Canada. Association for Computational Linguistics.
|
| 336 |
+
Bill Yuchen Lin, Wenyang Gao, Jun Yan, Ryan Moreno, and Xiang Ren. 2021. RockNER: A simple method to create adversarial examples for evaluating the robustness of named entity recognition models. In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing, pages 3728-3737, Online and Punta Cana, Dominican Republic. Association for Computational Linguistics.
|
| 337 |
+
Nelson F. Liu, Matt Gardner, Yonatan Belinkov, Matthew E. Peters, and Noah A. Smith. 2019. Linguistic knowledge and transferability of contextual representations. In Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers), pages 1073-1094, Minneapolis, Minnesota. Association for Computational Linguistics.
|
| 338 |
+
Qin Liu, Rui Zheng, Bao Rong, Jingyi Liu, Zhihua Liu, Zhanzhan Cheng, Liang Qiao, Tao Gui, Qi Zhang, and Xuan-Jing Huang. 2022. Flooding-x: Improving bert's resistance to adversarial attacks via loss-restricted fine-tuning. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 5634-5644.
|
| 339 |
+
Scott M Lundberg and Su-In Lee. 2017. A unified approach to interpreting model predictions. In Proceedings of the 31st international conference on neural information processing systems, pages 4768-4777.
|
| 340 |
+
Mamta and Asif Ekbal. 2022. Adversarial sample generation for aspect based sentiment classification. In Findings of the Association for Computational Linguistics: AACL-IJCNLP 2022, pages 478-492, Online only. Association for Computational Linguistics.
|
| 341 |
+
|
| 342 |
+
Mamta Mamta, Zishan Ahmad, and Asif Ekbal. 2023. Elevating code-mixed text handling through auditory information of words. In Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing, pages 15918-15932, Singapore. Association for Computational Linguistics.
|
| 343 |
+
Mamta Mamta and Oana Cocarascu. 2025. FactEval: Evaluating the robustness of fact verification systems in the era of large language models. In Proceedings of the 2025 Conference of the Nations of the Americas Chapter of the Association for Computational Linguistics: Human Language Technologies (Volume 1: Long Papers), pages 10647-10660, Albuquerque, New Mexico. Association for Computational Linguistics.
|
| 344 |
+
Tobias Mayer, Santiago Marro, Elena Cabrio, and Serena Villata. 2020. Generating adversarial examples for topic-dependent argument classification 1. In Computational Models of Argument, pages 33-44. IOS Press.
|
| 345 |
+
Vivek Miglani, Aobo Yang, Aram Markosyan, Diego Garcia-Olano, and Narine Kokhlikyan. 2023. Using captum to explain generative language models. In Proceedings of the 3rd Workshop for Natural Language Processing Open Source Software (NLP-OSS 2023), pages 165-173, Singapore. Association for Computational Linguistics.
|
| 346 |
+
Milad Moradi and Matthias Samwald. 2021. Evaluating the robustness of neural language models to input perturbations. In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing, pages 1558-1570, Online and Punta Cana, Dominican Republic. Association for Computational Linguistics.
|
| 347 |
+
John Morris, Eli Lifland, Jin Yong Yoo, Jake Grigsby, Di Jin, and Yanjun Qi. 2020a. TextAttack: A framework for adversarial attacks, data augmentation, and adversarial training in NLP. In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing: System Demonstrations, pages 119-126, Online. Association for Computational Linguistics.
|
| 348 |
+
John Morris, Eli Lifland, Jin Yong Yoo, Jake Grigsby, Di Jin, and Yanjun Qi. 2020b. Textattack: A framework for adversarial attacks, data augmentation, and adversarial training in nlp. In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing: System Demonstrations, pages 119-126.
|
| 349 |
+
Pavan Kalyan Reddy Neerudu, Subba Oota, Mounika Marreddy, Venkateswara Kagita, and Manish Gupta. 2023. On robustness of finetuned transformer-based NLP models. In Findings of the Association for Computational Linguistics: EMNLP 2023, pages 7180-7195, Singapore. Association for Computational Linguistics.
|
| 350 |
+
Tuc Van Nguyen and Thai Le. 2024. Adapters mixup: Mixing parameter-efficient adapters to enhance the
|
| 351 |
+
|
| 352 |
+
adversarial robustness of fine-tuned pre-trained text classifiers. In Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing, pages 21183-21203, Miami, Florida, USA. Association for Computational Linguistics.
|
| 353 |
+
Dang Nguyen Minh and Anh Tuan Luu. 2022. Textual manifold-based defense against natural language adversarial examples. In Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing, pages 6612-6625, Abu Dhabi, United Arab Emirates. Association for Computational Linguistics.
|
| 354 |
+
Fabio Petroni, Tim Rocttäschel, Sebastian Riedel, Patrick Lewis, Anton Bakhtin, Yuxiang Wu, and Alexander Miller. 2019. Language models as knowledge bases? In Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP), pages 2463-2473, Hong Kong, China. Association for Computational Linguistics.
|
| 355 |
+
Yao Qiang, Subhrangshu Nandi, Ninareh Mehrabi, Greg Ver Steeg, Anoop Kumar, Anna Rumshisky, and Aram Galstyan. 2024. Prompt perturbation consistency learning for robust language models. In *Findings of the Association for Computational Linguistics: EACL* 2024, pages 1357-1370, St. Julian's, Malta. Association for Computational Linguistics.
|
| 356 |
+
Vyas Raina, Samson Tan, Volkan Cevher, Aditya Rawal, Sheng Zha, and George Karypis. 2024. Extreme miscalibration and the illusion of adversarial robustness. In Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), ACL 2024, Bangkok, Thailand, August 11-16, 2024, pages 2500-2525. Association for Computational Linguistics.
|
| 357 |
+
Yankun Ren, Jianbin Lin, Siliang Tang, Jun Zhou, Shuang Yang, Yuan Qi, and Xiang Ren. 2020. Generating natural language adversarial examples on a large scale with generative models. In ECAI 2020 - 24th European Conference on Artificial Intelligence, 29 August-8 September 2020, Santiago de Compostela, Spain, August 29 - September 8, 2020 - Including 10th Conference on Prestigious Applications of Artificial Intelligence (PAIS 2020), volume 325 of Frontiers in Artificial Intelligence and Applications, pages 2156-2163. IOS Press.
|
| 358 |
+
Ananya B Sai, Tanay Dixit, Dev Yashpal Sheth, Sreyas Mohan, and Mitesh M Khapra. 2021. Perturbation checklists for evaluating nlg evaluation metrics. In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing, pages 7219-7234.
|
| 359 |
+
Chenglei Si, Zhengyan Zhang, Fanchao Qi, Zhiyuan Liu, Yasheng Wang, Qun Liu, and Maosong Sun. 2020. Better robustness by more coverage: Adversarial training with mixup augmentation for robust fine-tuning. CoRR, abs/2012.15699.
|
| 360 |
+
|
| 361 |
+
Mehmet Sofi, Matteo Fortier, and Oana Cocarascu. 2022a. A robustness evaluation framework for argument mining. In Proceedings of the 9th Workshop on Argument Mining, pages 171-180, Online and in Gyeongju, Republic of Korea. International Conference on Computational Linguistics.
|
| 362 |
+
Mehmet Sofi, Matteo Fortier, and Oana Cocarascu. 2022b. A robustness evaluation framework for argument mining. In Proceedings of the 9th Workshop on Argument Mining, pages 171-180.
|
| 363 |
+
Hugo Touvron, Thibaut Lavril, Gautier Izacard, Xavier Martinet, Marie-Anne Lachaux, Timothee Lacroix, Baptiste Rozière, Naman Goyal, Eric Hambro, Faisal Azhar, Aurélien Rodriguez, Armand Joulin, Edouard Grave, and Guillaume Lample. 2023. Llama: Open and efficient foundation language models. CoRR, abs/2302.13971.
|
| 364 |
+
Elena Voita, David Talbot, Fedor Moiseev, Rico Sennrich, and Ivan Titov. 2019. Analyzing multi-head self-attention: Specialized heads do the heavy lifting, the rest can be pruned. In Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics, pages 5797-5808, Florence, Italy. Association for Computational Linguistics.
|
| 365 |
+
Tianlu Wang, Xuezhi Wang, Yao Qin, Ben Packer, Kang Li, Jilin Chen, Alex Beutel, and Ed Chi. 2020. CATgen: Improving robustness in NLP models via controlled adversarial text generation. In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP), pages 5141-5146, Online. Association for Computational Linguistics.
|
| 366 |
+
Wenqi Wang, Run Wang, Lina Wang, Zhibo Wang, and Aoshuang Ye. 2021a. Towards a robust deep neural network against adversarial texts: A survey. *ieee transactions on knowledge and data engineering*, 35(3):3159-3179.
|
| 367 |
+
Xiao Wang, Qin Liu, Tao Gui, Qi Zhang, Yicheng Zou, Xin Zhou, Jiacheng Ye, Yongxin Zhang, Rui Zheng, Zexiong Pang, et al. 2021b. Textflint: Unified multilingual robustness evaluation toolkit for natural language processing. In Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing: System Demonstrations, pages 347-355.
|
| 368 |
+
Xiaosen Wang, Jin Hao, Yichen Yang, and Kun He. 2021c. Natural language adversarial defense through synonym encoding. In Uncertainty in Artificial Intelligence, pages 823-833. PMLR.
|
| 369 |
+
Xiaozhi Wang, Kaiyue Wen, Zhengyan Zhang, Lei Hou, Zhiyuan Liu, and Juanzi Li. 2022a. Finding skill neurons in pre-trained transformer-based language models. In Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing, pages 11132-11152, Abu Dhabi, United Arab Emirates. Association for Computational Linguistics.
|
| 370 |
+
|
| 371 |
+
Xuezhi Wang, Haohan Wang, and Diyi Yang. 2022b. Measure and improve robustness in NLP models: A survey. In Proceedings of the 2022 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pages 4569-4586, Seattle, United States. Association for Computational Linguistics.
|
| 372 |
+
|
| 373 |
+
Yang Wang and Chenghua Lin. 2025. Tougher text, smarter models: Raising the bar for adversarial defence benchmarks. In Proceedings of the 31st International Conference on Computational Linguistics, pages 6475-6491, Abu Dhabi, UAE. Association for Computational Linguistics.
|
| 374 |
+
|
| 375 |
+
A Waswani, N Shazeer, N Parmar, J Uszkoreit, L Jones, A Gomez, L Kaiser, and I Polosukhin. 2017. Attention is all you need. In NIPS.
|
| 376 |
+
|
| 377 |
+
T Wolf. 2019. Huggingface's transformers: State-of-the-art natural language processing. arXiv preprint arXiv:1910.03771.
|
| 378 |
+
|
| 379 |
+
Tongshuang Wu, Marco Tulio Ribeiro, Jeffrey Heer, and Daniel S Weld. 2021. Polyjuice: Generating counterfactuals for explaining, evaluating, and improving models. In Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing (Volume 1: Long Papers), pages 6707-6723.
|
| 380 |
+
|
| 381 |
+
Yahan Yang, Soham Dan, Dan Roth, and Insup Lee. 2023. In and out-of-domain text adversarial robustness via label smoothing. In Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics (Volume 2: Short Papers), pages 657-669.
|
| 382 |
+
|
| 383 |
+
KiYoon Yoo, Jangho Kim, Jiho Jang, and Nojun Kwak. 2022. Detection of adversarial examples in text classification: Benchmark and baseline via robust density estimation. In *Findings of the Association for Computational Linguistics: ACL* 2022, pages 3656-3672.
|
| 384 |
+
|
| 385 |
+
Zeping Yu and Sophia Ananiadou. 2024. Neuron-level knowledge attribution in large language models. In Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing, pages 3267-3280, Miami, Florida, USA. Association for Computational Linguistics.
|
| 386 |
+
|
| 387 |
+
Lifan Yuan, Yangyi Chen, Ganqu Cui, Hongcheng Gao, Fangyuan Zou, Xingyi Cheng, Heng Ji, Zhiyuan Liu, and Maosong Sun. 2023. Revisiting out-of-distribution robustness in NLP: benchmarks, analysis, and llms evaluations. In Advances in Neural Information Processing Systems 36: Annual Conference on Neural Information Processing Systems 2023, NeurIPS 2023, New Orleans, LA, USA, December 10 - 16, 2023.
|
| 388 |
+
|
| 389 |
+
Shilong Yuan, Wei Yuan, Hongzhi Yin, and Tieke He. 2024. Roic-dm: Robust text inference and classification via diffusion model. arXiv preprint arXiv:2401.03514.
|
| 390 |
+
|
| 391 |
+
Jiehang Zeng, Jianhan Xu, Xiaoqing Zheng, and Xuanjing Huang. 2023. Certified robustness to text adversarial attacks by randomized [MASK]. Computational Linguistics, 49(2):395-427.
|
| 392 |
+
|
| 393 |
+
# A Experimental Setup
|
| 394 |
+
|
| 395 |
+
We use PyTorch and HuggingFace (Wolf, 2019) to implement all models. We focus on transformer-based fine-tuned classification models due to their success in NLP tasks. The BERT-base model consists of 12 transformer layers, a hidden dimension of 768, and 12 self-attention heads, totaling 110 million trainable parameters.
|
| 396 |
+
|
| 397 |
+
I-Guard has access to 200 misclassified samples and their corresponding actual examples to calculate the contribution of each weight parameter. We set $k$ (weights in each iteration) to $25\%$ and the number of iterations $K$ to 10. The model was optimized using Adam, with weight updates guided by categorical cross-entropy loss. All experiments were conducted on an NVIDIA A100-SXM4 GPU with 40 GB of memory.
|
| 398 |
+
|
| 399 |
+
# B Adversarial Samples
|
| 400 |
+
|
| 401 |
+
Table presents a few adversarial examples for phonetic and LEET based perturbations.
|
| 402 |
+
|
| 403 |
+
# C Ablation Study
|
| 404 |
+
|
| 405 |
+
# C.1 Sample size for model interpretation
|
| 406 |
+
|
| 407 |
+
To observe the impact of sample size on model interpretation, we consider all misclassified samples and their corresponding actual samples for Shapley value calculations instead of randomly choosing 200 misclassified samples. Results are presented in Table 9. We observe that both variants exhibit similar performance with minor variations, demonstrating that $I$ -Guard can effectively determine the importance of parameters using only a subset of the data rather than all misclassified samples.
|
| 408 |
+
|
| 409 |
+
# C.2 Fine-tuning Last Layer
|
| 410 |
+
|
| 411 |
+
We fine-tune the last layer of the model on (i) adversarial samples and (ii) a mixture of adversarial and original data and compare against $I$ -Guard and $I$ -Guard-adv. Results for the sentiment analysis task under LEET-based perturbations are reported in Table 10.
|
| 412 |
+
|
| 413 |
+
We observe similar phenomena in this case. The results show that fine-tuning the last layer on adversarial data yields better performance on the adversarial test set compared to I-Guard-adv, but this
|
| 414 |
+
|
| 415 |
+
<table><tr><td></td><td>Original Claim</td><td>Phonetic Perturbations</td><td>LEET Perturbations</td></tr><tr><td>1</td><td>Human activities (mainly greenhouse-gas emissions) are the dominant cause of the rapid warming since the middle 1900s (ipcc, 2013).</td><td>Humaaan activities (mainly greenhouse-gas emissions) areeee the dominant cause of the rapid warming since the middle 1900s (ipcc, 2013).</td><td>Hvm4n act1vitles (mainly greenhouse-gas emissions) ar3 the dominant cause of the rapid warming since the middle 1900s (IPCC, 2013).</td></tr><tr><td>2</td><td>In the past, warming has never been a threat to life on earth.</td><td>In the past, warming has neveeeeeer been a threat to life on earth.</td><td>In the past, w4rming has n3v3r been a threat to life on earth.</td></tr><tr><td>3</td><td>Sea level rise due to global warming is exaggerated.</td><td>Seaa level risee due to global warming is exaggerated.</td><td>Sea level r1se due to gl0bal warmlng is exagg3rated</td></tr><tr><td>4</td><td>Clouds provide negative feedback.</td><td>Clouds provide negative feedback.</td><td>Clouds pr0vide n3gat1ve feedback.</td></tr></table>
|
| 416 |
+
|
| 417 |
+
Table 8: Examples of adversarial inputs generated using phonetic and LEET perturbations
|
| 418 |
+
|
| 419 |
+
<table><tr><td></td><td colspan="5">Phonetic</td><td colspan="4">LEET</td></tr><tr><td></td><td>S</td><td colspan="2">Original TS</td><td colspan="2">Adv TS</td><td colspan="2">Original TS</td><td colspan="2">Adv TS</td></tr><tr><td></td><td></td><td>Acc</td><td>F1</td><td>Acc</td><td>F1</td><td>Acc</td><td>F1</td><td>Acc</td><td>F1</td></tr><tr><td rowspan="2">FV</td><td>200</td><td>69.27</td><td>62.40</td><td>69.79</td><td>59.53</td><td>72.13</td><td>63.74</td><td>74.82</td><td>66.82</td></tr><tr><td>All</td><td>70.35</td><td>62.87</td><td>69.27</td><td>59.13</td><td>69.79</td><td>62.28</td><td>73.01</td><td>65.98</td></tr><tr><td rowspan="2">SA</td><td>200</td><td>67.96</td><td>64.94</td><td>56.31</td><td>51.36</td><td>67.78</td><td>64.72</td><td>67.13</td><td>61.20</td></tr><tr><td>All</td><td>67.64</td><td>64.87</td><td>56.70</td><td>51.50</td><td>67.19</td><td>64.69</td><td>67.55</td><td>61.86</td></tr></table>
|
| 420 |
+
|
| 421 |
+
Table 9: Affect of choosing different sample size for model interpretation. Here S is number of samples.
|
| 422 |
+
|
| 423 |
+
<table><tr><td></td><td colspan="2">Original TS</td><td colspan="2">Adv TS</td></tr><tr><td></td><td>Acc</td><td>F1</td><td>Acc</td><td>F1</td></tr><tr><td>Last layer</td><td>48.45</td><td>46.15</td><td>73.58</td><td>68.65</td></tr><tr><td>I-Guard-adv</td><td>59.77</td><td>58.17</td><td>71.77</td><td>66.39</td></tr><tr><td>Last layer</td><td>63.56</td><td>60.66</td><td>63.33</td><td>57.16</td></tr><tr><td>I-Guard</td><td>67.78</td><td>64.72</td><td>67.13</td><td>61.2</td></tr></table>
|
| 424 |
+
|
| 425 |
+
Table 10: Results on LEET perturbations for sentiment analysis by fine-tuning only last layer.
|
| 426 |
+
|
| 427 |
+
<table><tr><td></td><td colspan="2">Original TS</td><td colspan="3">Adv TS</td></tr><tr><td></td><td>Acc</td><td>F1</td><td>Acc</td><td>F1</td><td>PT</td></tr><tr><td>mBERT</td><td>90.31</td><td>73.32</td><td>71.62</td><td>46.28</td><td>-</td></tr><tr><td>Adv training</td><td>89.45</td><td>71.78</td><td>90.77</td><td>73.59</td><td>100%</td></tr><tr><td>I-Guard-adv</td><td>67.73</td><td>59.77</td><td>90.17</td><td>78.46</td><td>7.20%</td></tr><tr><td>I-Guard</td><td>90.2</td><td>73.08</td><td>90.82</td><td>75.96</td><td>7.20%</td></tr></table>
|
| 428 |
+
|
| 429 |
+
Table 11: Results on HSOL dataset for phonetic perturbations.
|
| 430 |
+
|
| 431 |
+
comes at the cost of large drop in accuracy on the original test set. In contrast, I-Guard-adv maintains a better balance between performance on both the original and adversarial test sets.
|
| 432 |
+
|
| 433 |
+
Additionally, when fine-tuning the last layer on a mix of original and adversarial data, we observe that $I$ -Guard consistently outperforms this last layer
|
| 434 |
+
|
| 435 |
+
fine-tuning approach on both actual and adversarial test set.
|
| 436 |
+
|
| 437 |
+
# D Results on Large Dataset
|
| 438 |
+
|
| 439 |
+
To demonstrate the effectiveness of our proposed approach, we conducted experiments on the Hate Speech and Offensive Language (HSOL) dataset. The HSOL dataset consists of tweets categorized into three classes: hate speech, offensive but not hate speech, and neither offensive nor hate speech.
|
| 440 |
+
|
| 441 |
+
It contains 24,783 tweets, which are split into training (18,587), validation (2,478), and test (3,718) sets. Results for the phonetic perturbation-based adversarial attack are presented in Table 11. We observe that both accuracy and $F_{1}$ scores drop significantly under this attack. Further, adversarial training-based defense improves performance on the adversarial test set by fine-tuning $100\%$ of the parameters on a mixture of actual and adversarial data. Our proposed approach effectively defends against this attack by fine-tuning only $7.20\%$ parameters. It outperforms the adversarial training based defense on both the actual and adversarial test set. In addition, we compute Shapley values using a subset of the data (i.e., 200 misclassified
|
| 442 |
+
|
| 443 |
+
samples and their corresponding actual examples). This illustrates that $I$ -Guard can enhance adversarial robustness by fine-tuning fewer parameters compared to adversarial training-based defenses, even in the case of larger datasets.
|
2025/I-GUARD_ Interpretability-Guided Parameter Optimization for Adversarial Defense/images.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:aaded7f245b686c3666ea0bf834bdb2d1dc0addf1c0e47356c35d2b20faaf2ae
|
| 3 |
+
size 568179
|
2025/I-GUARD_ Interpretability-Guided Parameter Optimization for Adversarial Defense/layout.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2025/ICL-Bandit_ Relevance Labeling in Advertisement Recommendation Systems via LLM/deeabab9-126e-40e2-a116-c0a839b8d3f0_content_list.json
ADDED
|
@@ -0,0 +1,2038 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"type": "text",
|
| 4 |
+
"text": "ICL-Bandit: Relevance Labeling in Advertisement Recommendation Systems via LLM",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
142,
|
| 8 |
+
89,
|
| 9 |
+
855,
|
| 10 |
+
130
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Lu Wang $^{1}$ , Chiming Duan $^{2*}$ , Pu Zhao $^{1}$ , Fangkai Yang $^{1}$ , Yong Shi $^{1}$ , Xuefeng Luo $^{1}$ , Bingjing Xu $^{1}$ , Weiwei Deng $^{1}$ , Qingwei Lin $^{1}$ , Dongmei Zhang $^{1}$ $^{1}$ Microsoft, $^{2}$ Peking University",
|
| 17 |
+
"bbox": [
|
| 18 |
+
166,
|
| 19 |
+
156,
|
| 20 |
+
823,
|
| 21 |
+
209
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "Abstract",
|
| 28 |
+
"text_level": 1,
|
| 29 |
+
"bbox": [
|
| 30 |
+
260,
|
| 31 |
+
260,
|
| 32 |
+
342,
|
| 33 |
+
275
|
| 34 |
+
],
|
| 35 |
+
"page_idx": 0
|
| 36 |
+
},
|
| 37 |
+
{
|
| 38 |
+
"type": "text",
|
| 39 |
+
"text": "Measuring the relevance between user queries and advertisements is a critical task for advertisement (ad) recommendation systems, such as Microsoft Bing Ads and Google Ads. Traditionally, this requires expert data labeling, which is both costly and time-consuming. Recent advances have explored using Large Language Models (LLMs) for labeling, but these models often lack domain-specific knowledge. In-context learning (ICL), which involves providing a few demonstrations, is a common practice to enhance LLM performance on domain-specific tasks. However, retrieving high-quality demonstrations in a vast exploration space remains challenging. In this paper, we introduce ICL-Bandit, a practical and effective approach that leverages ICL to enhance the query-ad relevance labeling capabilities of LLMs. We develop a novel bandit learning method to identify and provide superior demonstrations for ICL, thereby improving labeling performance. Experimental results demonstrate that ICL-Bandit achieves state-of-the-art performance compared to existing methods. Additionally, ICL-Bandit has been deployed in Microsoft that serves billions of users worldwide, confirming its robustness and effectiveness.",
|
| 40 |
+
"bbox": [
|
| 41 |
+
144,
|
| 42 |
+
288,
|
| 43 |
+
460,
|
| 44 |
+
671
|
| 45 |
+
],
|
| 46 |
+
"page_idx": 0
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"type": "text",
|
| 50 |
+
"text": "1 Introduction",
|
| 51 |
+
"text_level": 1,
|
| 52 |
+
"bbox": [
|
| 53 |
+
114,
|
| 54 |
+
684,
|
| 55 |
+
260,
|
| 56 |
+
700
|
| 57 |
+
],
|
| 58 |
+
"page_idx": 0
|
| 59 |
+
},
|
| 60 |
+
{
|
| 61 |
+
"type": "text",
|
| 62 |
+
"text": "In advertisement (ad) recommendation systems such as Microsoft Bing Ads and Google Ads, high-quality labeled data is of critical importance for training ad recommendation models, especially labeling the relevance between user query text and ad description text, as discussed in (Ling et al., 2017; Shuai et al., 2020; Wang et al., 2022a). The traditional approach is human labeling which is costly and inefficient. This is particularly challenging given the huge amount of data to be labelled, and labeling such relevance between user query and ad",
|
| 63 |
+
"bbox": [
|
| 64 |
+
112,
|
| 65 |
+
711,
|
| 66 |
+
489,
|
| 67 |
+
888
|
| 68 |
+
],
|
| 69 |
+
"page_idx": 0
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"type": "text",
|
| 73 |
+
"text": "requires a good knowledge and experience. For example,",
|
| 74 |
+
"bbox": [
|
| 75 |
+
507,
|
| 76 |
+
261,
|
| 77 |
+
882,
|
| 78 |
+
293
|
| 79 |
+
],
|
| 80 |
+
"page_idx": 0
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"type": "text",
|
| 84 |
+
"text": "User Query:",
|
| 85 |
+
"text_level": 1,
|
| 86 |
+
"bbox": [
|
| 87 |
+
536,
|
| 88 |
+
313,
|
| 89 |
+
638,
|
| 90 |
+
328
|
| 91 |
+
],
|
| 92 |
+
"page_idx": 0
|
| 93 |
+
},
|
| 94 |
+
{
|
| 95 |
+
"type": "text",
|
| 96 |
+
"text": "\"Innovative treatments for reducing hospital readmission rates in heart failure patients.\"",
|
| 97 |
+
"bbox": [
|
| 98 |
+
536,
|
| 99 |
+
329,
|
| 100 |
+
857,
|
| 101 |
+
362
|
| 102 |
+
],
|
| 103 |
+
"page_idx": 0
|
| 104 |
+
},
|
| 105 |
+
{
|
| 106 |
+
"type": "text",
|
| 107 |
+
"text": "Advertisement:",
|
| 108 |
+
"text_level": 1,
|
| 109 |
+
"bbox": [
|
| 110 |
+
536,
|
| 111 |
+
368,
|
| 112 |
+
660,
|
| 113 |
+
382
|
| 114 |
+
],
|
| 115 |
+
"page_idx": 0
|
| 116 |
+
},
|
| 117 |
+
{
|
| 118 |
+
"type": "text",
|
| 119 |
+
"text": "\"Remote Patient Monitoring Systems - Continuous Care for Heart Failure Patients\"",
|
| 120 |
+
"bbox": [
|
| 121 |
+
536,
|
| 122 |
+
384,
|
| 123 |
+
858,
|
| 124 |
+
416
|
| 125 |
+
],
|
| 126 |
+
"page_idx": 0
|
| 127 |
+
},
|
| 128 |
+
{
|
| 129 |
+
"type": "text",
|
| 130 |
+
"text": "This query-ad pair is labeled as relevant since remote patient monitoring systems provide continuous care and real-time health data, enabling proactive management of heart failure, which is essential for reducing hospital readmission rates, and such manual labeling requires domain knowledge.",
|
| 131 |
+
"bbox": [
|
| 132 |
+
507,
|
| 133 |
+
436,
|
| 134 |
+
884,
|
| 135 |
+
532
|
| 136 |
+
],
|
| 137 |
+
"page_idx": 0
|
| 138 |
+
},
|
| 139 |
+
{
|
| 140 |
+
"type": "text",
|
| 141 |
+
"text": "Recent advances in Large Language Models (LLMs) have shown that LLMs are highly aligned with human judgments and even surpass human performance in certain tasks (Ouyang et al., 2022), such as topic identification and twitter relevance for political issues (Gilardi et al., 2023), general question-answering data generation (Meng et al., 2023), and instruction data generation (Wang et al., 2022b). However, the lack of domain knowledge limits the performance of LLM in the query-ad relevance labeling task. To address this challenge, many approaches employed in-context learning (ICL) to incorporate domain-specific knowledge as extra context in the LLM's prompt (Kossen et al., 2023; Dong et al., 2022). Besides, it is well known that the effectiveness of ICL heavily depends on the quality of the provided demonstrations, which has motivated many works to explore effective demonstration retrieval methods for ICL, such as (Rubin et al., 2021; Li et al., 2023; Wu et al.; Zhang et al., 2022), all of these methods aim to retrieve better examples from annotated training sets to enhance LLMs' domain knowledge.",
|
| 142 |
+
"bbox": [
|
| 143 |
+
507,
|
| 144 |
+
533,
|
| 145 |
+
884,
|
| 146 |
+
903
|
| 147 |
+
],
|
| 148 |
+
"page_idx": 0
|
| 149 |
+
},
|
| 150 |
+
{
|
| 151 |
+
"type": "text",
|
| 152 |
+
"text": "Previous work on demonstration retrieval falls",
|
| 153 |
+
"bbox": [
|
| 154 |
+
527,
|
| 155 |
+
904,
|
| 156 |
+
882,
|
| 157 |
+
919
|
| 158 |
+
],
|
| 159 |
+
"page_idx": 0
|
| 160 |
+
},
|
| 161 |
+
{
|
| 162 |
+
"type": "page_number",
|
| 163 |
+
"text": "23439",
|
| 164 |
+
"bbox": [
|
| 165 |
+
473,
|
| 166 |
+
927,
|
| 167 |
+
524,
|
| 168 |
+
940
|
| 169 |
+
],
|
| 170 |
+
"page_idx": 0
|
| 171 |
+
},
|
| 172 |
+
{
|
| 173 |
+
"type": "footer",
|
| 174 |
+
"text": "Findings of the Association for Computational Linguistics: EMNLP 2025, pages 23439-23449 November 4-9, 2025 ©2025 Association for Computational Linguistics",
|
| 175 |
+
"bbox": [
|
| 176 |
+
208,
|
| 177 |
+
945,
|
| 178 |
+
788,
|
| 179 |
+
972
|
| 180 |
+
],
|
| 181 |
+
"page_idx": 0
|
| 182 |
+
},
|
| 183 |
+
{
|
| 184 |
+
"type": "text",
|
| 185 |
+
"text": "into two categories. One category involves off-the-shelf retrievers like BM25 (Robertson et al., 2009) or KNN (Guo et al., 2003), which can retrieve textually or semantically similar demonstrations. The other category focuses on training task-specific retrievers with positive and negative demonstrations. Notable examples include Rubin et al. (Rubin et al., 2021), Shi et al. (Shi et al., 2022), and Xiaonan et al. (Li et al., 2023), who leverage LLM feedback (compare the labels generated by LLM with the ground-truth labels, using them as the training signal) to train these retrievers via supervised or contrastive learning. However, the vast combination space of different demonstrations and queries poses a challenge. Randomly sampling demonstrations to collect the LLM's feedback may lead to large parts of \"less useful\" examples. Some methods, like Zhang et al. (Zhang et al., 2022) and Mingkai et al. (Deng et al., 2022), employ reinforcement learning to actively sample demonstrations and obtain LLM feedback. But these methods are limited in considering only a fixed number of candidate demonstrations, which reduces the action space for policy training.",
|
| 186 |
+
"bbox": [
|
| 187 |
+
115,
|
| 188 |
+
85,
|
| 189 |
+
489,
|
| 190 |
+
469
|
| 191 |
+
],
|
| 192 |
+
"page_idx": 1
|
| 193 |
+
},
|
| 194 |
+
{
|
| 195 |
+
"type": "text",
|
| 196 |
+
"text": "To overcome the challenges addressed above in SOTA methods, at first, we frame demonstration retrieval problem as a multi-armed bandit (MAB) problem (Lai and Robbins, 1985), and bandit algorithms solving MAB problems (Vermorel and Mohri, 2005; Li et al., 2010) have demonstrated excellent performance in addressing exploration and exploitation dilemma when dealing with largescale search spaces. This allows us to design effective exploration techniques for sampling demonstrations and obtaining LLM feedback during retriever training. Then, we propose a novel in-context learning (ICL) algorithm, called ICL-Bandit, which leverages a stochastic bandit algorithm to empower ICL at scale with diverse demonstration pools. The objective of ICL-Bandit is to retrieve demonstrations and maximize cumulative positive LLM feedback over a series of retrievals. Figure 1 shows a comparison on the example query-ad pair with demonstrations retrieved with KNN and our ICL-Bandit, respectively.",
|
| 197 |
+
"bbox": [
|
| 198 |
+
115,
|
| 199 |
+
470,
|
| 200 |
+
489,
|
| 201 |
+
807
|
| 202 |
+
],
|
| 203 |
+
"page_idx": 1
|
| 204 |
+
},
|
| 205 |
+
{
|
| 206 |
+
"type": "text",
|
| 207 |
+
"text": "Our contributions can be summarized as follows:",
|
| 208 |
+
"bbox": [
|
| 209 |
+
132,
|
| 210 |
+
809,
|
| 211 |
+
487,
|
| 212 |
+
822
|
| 213 |
+
],
|
| 214 |
+
"page_idx": 1
|
| 215 |
+
},
|
| 216 |
+
{
|
| 217 |
+
"type": "list",
|
| 218 |
+
"sub_type": "text",
|
| 219 |
+
"list_items": [
|
| 220 |
+
"- We formulate demonstration retrieval as a multi-armed bandit problem, focusing on effective retrieval during retriever training.",
|
| 221 |
+
"- We design a stochastic bandit algorithm suitable for ICL with a large and varied demon"
|
| 222 |
+
],
|
| 223 |
+
"bbox": [
|
| 224 |
+
134,
|
| 225 |
+
831,
|
| 226 |
+
489,
|
| 227 |
+
920
|
| 228 |
+
],
|
| 229 |
+
"page_idx": 1
|
| 230 |
+
},
|
| 231 |
+
{
|
| 232 |
+
"type": "text",
|
| 233 |
+
"text": "stration pool.",
|
| 234 |
+
"bbox": [
|
| 235 |
+
544,
|
| 236 |
+
84,
|
| 237 |
+
648,
|
| 238 |
+
99
|
| 239 |
+
],
|
| 240 |
+
"page_idx": 1
|
| 241 |
+
},
|
| 242 |
+
{
|
| 243 |
+
"type": "text",
|
| 244 |
+
"text": "- Our approach achieves SOTA performance comparing to other existing methods and it has been deployed to the labeling process at Microsoft, resulting in substantial cost savings by automated labeling.",
|
| 245 |
+
"bbox": [
|
| 246 |
+
531,
|
| 247 |
+
112,
|
| 248 |
+
882,
|
| 249 |
+
193
|
| 250 |
+
],
|
| 251 |
+
"page_idx": 1
|
| 252 |
+
},
|
| 253 |
+
{
|
| 254 |
+
"type": "text",
|
| 255 |
+
"text": "2 ICL-Bandit with large and varied demonstration pool",
|
| 256 |
+
"text_level": 1,
|
| 257 |
+
"bbox": [
|
| 258 |
+
507,
|
| 259 |
+
219,
|
| 260 |
+
835,
|
| 261 |
+
253
|
| 262 |
+
],
|
| 263 |
+
"page_idx": 1
|
| 264 |
+
},
|
| 265 |
+
{
|
| 266 |
+
"type": "text",
|
| 267 |
+
"text": "In this section, we introduce ICL-Bandit, a stochastic bandit algorithm designed to efficiently retrieve demonstrations and collect LLM feedback during retriever training. The task is to precisely label query-ad relevance with ICL, and our goal is to train a demonstration retriever which retrieves good demonstrations for ICL. When training the retriever using LLM feedback (we compare the output labels generated by the LLM with the ground-truth labels, employing them as the reward signal), the key lies in how to effectively retrieve demonstrations from a large and diverse pool during the training process. Addressing the Exploration (searching for diverse and potentially informative demonstrations) versus Exploitation (retrieving high-reward demonstrations) balance is pivotal. To tackle this challenge, we first formulate the demonstration retrieval task as a bandit problem.",
|
| 268 |
+
"bbox": [
|
| 269 |
+
507,
|
| 270 |
+
263,
|
| 271 |
+
884,
|
| 272 |
+
552
|
| 273 |
+
],
|
| 274 |
+
"page_idx": 1
|
| 275 |
+
},
|
| 276 |
+
{
|
| 277 |
+
"type": "text",
|
| 278 |
+
"text": "2.1 Task Definition",
|
| 279 |
+
"text_level": 1,
|
| 280 |
+
"bbox": [
|
| 281 |
+
507,
|
| 282 |
+
565,
|
| 283 |
+
675,
|
| 284 |
+
581
|
| 285 |
+
],
|
| 286 |
+
"page_idx": 1
|
| 287 |
+
},
|
| 288 |
+
{
|
| 289 |
+
"type": "text",
|
| 290 |
+
"text": "The task is to label the relevance of query-ad pairs leveraging LLMs. Compared with zero-shot LLM labeling, providing with demonstrations as context in the ICL manner improves the labeling performance. The ICL prompt comprises four key components:",
|
| 291 |
+
"bbox": [
|
| 292 |
+
507,
|
| 293 |
+
588,
|
| 294 |
+
882,
|
| 295 |
+
683
|
| 296 |
+
],
|
| 297 |
+
"page_idx": 1
|
| 298 |
+
},
|
| 299 |
+
{
|
| 300 |
+
"type": "list",
|
| 301 |
+
"sub_type": "text",
|
| 302 |
+
"list_items": [
|
| 303 |
+
"- Instruction We employ the following instruction to describe labeling requests: \"Given user query and an ad, assign a label based on following definitions: - 'Relevant': The ad content directly addresses the user's query, providing information or a solution that aligns with the search intent. - 'Irrelevant': The ad content does not address the user's query, failing to provide information or a solution that matches the search intent.\" This instruction guides the relevance labeling process for LLMs.",
|
| 304 |
+
"- Input The input component specifies the query and ad requiring labeling. For instance, \"User"
|
| 305 |
+
],
|
| 306 |
+
"bbox": [
|
| 307 |
+
507,
|
| 308 |
+
699,
|
| 309 |
+
884,
|
| 310 |
+
921
|
| 311 |
+
],
|
| 312 |
+
"page_idx": 1
|
| 313 |
+
},
|
| 314 |
+
{
|
| 315 |
+
"type": "page_number",
|
| 316 |
+
"text": "23440",
|
| 317 |
+
"bbox": [
|
| 318 |
+
475,
|
| 319 |
+
927,
|
| 320 |
+
524,
|
| 321 |
+
940
|
| 322 |
+
],
|
| 323 |
+
"page_idx": 1
|
| 324 |
+
},
|
| 325 |
+
{
|
| 326 |
+
"type": "image",
|
| 327 |
+
"img_path": "images/6d91cfd714ccf3e822c2e8d88f9fe236f6f973226d4a28863044fcb10afa9ca8.jpg",
|
| 328 |
+
"image_caption": [
|
| 329 |
+
"Figure 1: An example illustrating how LLM labeler prompting, when combined with demonstrations retrieved via KNN and our ICL-Bandit approach, yields distinct labeling outcomes."
|
| 330 |
+
],
|
| 331 |
+
"image_footnote": [],
|
| 332 |
+
"bbox": [
|
| 333 |
+
194,
|
| 334 |
+
82,
|
| 335 |
+
803,
|
| 336 |
+
259
|
| 337 |
+
],
|
| 338 |
+
"page_idx": 2
|
| 339 |
+
},
|
| 340 |
+
{
|
| 341 |
+
"type": "image",
|
| 342 |
+
"img_path": "images/f8f8fcbfc03dd67d689e151a98becdb91bc43fd54b49efcd1bbb84ff5f2cc66c.jpg",
|
| 343 |
+
"image_caption": [
|
| 344 |
+
"Figure 2: An illustration on training demonstration retrieval process of ICL-Bandit. The demonstration pool consists of expert labeled demonstrations, and each demonstration includes user query, advertisement, and label. For each query-ad from the training set, ICL-Bandit retrieves demonstrations from the demonstration pool considering the estimated reward distribution. With the retrieved demonstrations as the context, LLM labels the query-ad as relevant or irrelevant. Then the LLM-generated label is compared with the ground truth label from the training set to give feedback. In the figure, the positive reward (matched label) is used to update ICL-Bandit to refine the retrieval policy."
|
| 345 |
+
],
|
| 346 |
+
"image_footnote": [],
|
| 347 |
+
"bbox": [
|
| 348 |
+
174,
|
| 349 |
+
318,
|
| 350 |
+
828,
|
| 351 |
+
518
|
| 352 |
+
],
|
| 353 |
+
"page_idx": 2
|
| 354 |
+
},
|
| 355 |
+
{
|
| 356 |
+
"type": "text",
|
| 357 |
+
"text": "Query: 'Student loans suspended until september'; Advertisement: '10 Best Student Loan Refinance''. This information sets the context for the query-ad labeling task.",
|
| 358 |
+
"bbox": [
|
| 359 |
+
126,
|
| 360 |
+
656,
|
| 361 |
+
489,
|
| 362 |
+
720
|
| 363 |
+
],
|
| 364 |
+
"page_idx": 2
|
| 365 |
+
},
|
| 366 |
+
{
|
| 367 |
+
"type": "list",
|
| 368 |
+
"sub_type": "text",
|
| 369 |
+
"list_items": [
|
| 370 |
+
"- Demonstrations Demonstrations consist of a set of labeled demonstrations, such as, \"User Query: 'School registration', Advertisement: 'Find Virtual School Programs', Label: Relevant\". Different retrieved demonstrations would highly affect the labeling performance. These examples, provided by human annotators, serve as training instances for a policy $\\pi_{\\theta}$ that leverages LLM feedback to retrieve appropriate demonstrations for each unique input.",
|
| 371 |
+
"- Output Indicator The output indicator instructs"
|
| 372 |
+
],
|
| 373 |
+
"bbox": [
|
| 374 |
+
114,
|
| 375 |
+
732,
|
| 376 |
+
489,
|
| 377 |
+
921
|
| 378 |
+
],
|
| 379 |
+
"page_idx": 2
|
| 380 |
+
},
|
| 381 |
+
{
|
| 382 |
+
"type": "text",
|
| 383 |
+
"text": "the LLM to generate the labeling answer. For instance, \"Return your decision on the label in $<\\text{Label}>$ {{ $\\text{}/\\text{Label}>$ tags.\"}. This guides the LLM to generate the final label.",
|
| 384 |
+
"bbox": [
|
| 385 |
+
519,
|
| 386 |
+
656,
|
| 387 |
+
880,
|
| 388 |
+
719
|
| 389 |
+
],
|
| 390 |
+
"page_idx": 2
|
| 391 |
+
},
|
| 392 |
+
{
|
| 393 |
+
"type": "text",
|
| 394 |
+
"text": "2.2 Problem Formulation",
|
| 395 |
+
"text_level": 1,
|
| 396 |
+
"bbox": [
|
| 397 |
+
507,
|
| 398 |
+
737,
|
| 399 |
+
724,
|
| 400 |
+
751
|
| 401 |
+
],
|
| 402 |
+
"page_idx": 2
|
| 403 |
+
},
|
| 404 |
+
{
|
| 405 |
+
"type": "text",
|
| 406 |
+
"text": "The key of the labeling task lies in retrieving informative demonstrations for ICL labeling, then we formulate the demonstration retrieval problem as a multi-armed bandit (MAB) problem, drawing an analogy to the scenario of a gambler selecting from a slot machine with multiple arms in a casino. The player's objective is to choose the arm that offers the highest expected gain. Each time the player pulls an arm and receives a gain or not, they update their estimation of the arm's potential",
|
| 407 |
+
"bbox": [
|
| 408 |
+
507,
|
| 409 |
+
760,
|
| 410 |
+
884,
|
| 411 |
+
921
|
| 412 |
+
],
|
| 413 |
+
"page_idx": 2
|
| 414 |
+
},
|
| 415 |
+
{
|
| 416 |
+
"type": "page_number",
|
| 417 |
+
"text": "23441",
|
| 418 |
+
"bbox": [
|
| 419 |
+
475,
|
| 420 |
+
927,
|
| 421 |
+
522,
|
| 422 |
+
940
|
| 423 |
+
],
|
| 424 |
+
"page_idx": 2
|
| 425 |
+
},
|
| 426 |
+
{
|
| 427 |
+
"type": "text",
|
| 428 |
+
"text": "gain. Similar to this scenario, in the query-ad relevance labeling task, we propose a MAB approach to retrieve demonstrations from a pool to achieve a good performance. We define key components such as states, arms, rewards, and the overall objective. **Trial:** In each trial $t$ , our goal is to retrieve $m$ demonstration from the demonstration pool. **State:** State $s_t$ represents the current contextual environment. In the context of ICL, $s_t$ denotes the embedding of the query and ads that require labeling. **Arm/Action:** Each arm in the MAB problem corresponds to a potential demonstration, representing different choice or action that can be taken during the ICL labeling. **Reward:** The reward $r_{(t,a_k)}$ provides numerical feedback, indicating whether the LLM assigns the correct relevance label based on the retrieved demonstration $a_k$ . We define two reward options: a continuous reward $r_{(t,a_k)} \\in [0,1]$ (representing the probability of the LLM's output label) and a discrete reward $r_{(t,a_k)} \\in [0,1]$ . In the discrete case, a correct label receives a reward of 1, while an incorrect label receives 0. **Objective:** The overall goal is to learn a retrieval policy $\\pi_\\theta$ by maximizing the cumulative reward over a series of trials during training.",
|
| 429 |
+
"bbox": [
|
| 430 |
+
110,
|
| 431 |
+
84,
|
| 432 |
+
492,
|
| 433 |
+
487
|
| 434 |
+
],
|
| 435 |
+
"page_idx": 3
|
| 436 |
+
},
|
| 437 |
+
{
|
| 438 |
+
"type": "text",
|
| 439 |
+
"text": "The process of using a MAB algorithm to efficiently retrieve demonstrations during training consists of the following steps:",
|
| 440 |
+
"bbox": [
|
| 441 |
+
112,
|
| 442 |
+
487,
|
| 443 |
+
489,
|
| 444 |
+
535
|
| 445 |
+
],
|
| 446 |
+
"page_idx": 3
|
| 447 |
+
},
|
| 448 |
+
{
|
| 449 |
+
"type": "text",
|
| 450 |
+
"text": "Step 1: Retrieval of Demonstrations At each trial $t$ , the retrieval policy $\\pi_{\\theta}$ retrieves a demonstration (arm) $a_{k}$ from a demonstration pool. The optimal retrieval will be conducted based on a balance between the benefits (the mean of $a_{k}$ 's rewards) and the chance (the variance of $a_{k}$ 's rewards).",
|
| 451 |
+
"bbox": [
|
| 452 |
+
112,
|
| 453 |
+
535,
|
| 454 |
+
489,
|
| 455 |
+
631
|
| 456 |
+
],
|
| 457 |
+
"page_idx": 3
|
| 458 |
+
},
|
| 459 |
+
{
|
| 460 |
+
"type": "text",
|
| 461 |
+
"text": "Step 2: Reward from LLM Feedback After retrieving a demonstration $a_{k}$ , the retriever receives a reward $r_t$ , indicating the correctness of the label provided by the LLM with the chosen demonstration.",
|
| 462 |
+
"bbox": [
|
| 463 |
+
112,
|
| 464 |
+
631,
|
| 465 |
+
489,
|
| 466 |
+
709
|
| 467 |
+
],
|
| 468 |
+
"page_idx": 3
|
| 469 |
+
},
|
| 470 |
+
{
|
| 471 |
+
"type": "text",
|
| 472 |
+
"text": "Step 3: Policy Update The collected reward value is used to update the policy parameters $\\pi_{\\theta}$ to maximize cumulative reward during training.",
|
| 473 |
+
"bbox": [
|
| 474 |
+
112,
|
| 475 |
+
712,
|
| 476 |
+
489,
|
| 477 |
+
760
|
| 478 |
+
],
|
| 479 |
+
"page_idx": 3
|
| 480 |
+
},
|
| 481 |
+
{
|
| 482 |
+
"type": "text",
|
| 483 |
+
"text": "These steps iteratively occur for a pre-defined number of iterations ( $T = 2000$ in our paper). The exploration-exploitation trade-off in Step 1 is crucial, requiring the retrieval policy to balance exploring new demonstrations for potential benefits (exploration) and exploiting known good demonstrations to maximize the mean of rewards (exploitation). This exploration-exploitation balance ensures the effectiveness of learning the demonstration retrieval policy in ICL labeling.",
|
| 484 |
+
"bbox": [
|
| 485 |
+
112,
|
| 486 |
+
760,
|
| 487 |
+
490,
|
| 488 |
+
921
|
| 489 |
+
],
|
| 490 |
+
"page_idx": 3
|
| 491 |
+
},
|
| 492 |
+
{
|
| 493 |
+
"type": "text",
|
| 494 |
+
"text": "2.3 ICL-Bandit",
|
| 495 |
+
"text_level": 1,
|
| 496 |
+
"bbox": [
|
| 497 |
+
509,
|
| 498 |
+
84,
|
| 499 |
+
650,
|
| 500 |
+
99
|
| 501 |
+
],
|
| 502 |
+
"page_idx": 3
|
| 503 |
+
},
|
| 504 |
+
{
|
| 505 |
+
"type": "text",
|
| 506 |
+
"text": "In this section, we introduce ICL-Bandit as an innovative approach to address the challenges encountered by previous bandit algorithms. Traditional bandit algorithms, which assign a parameter $\\theta$ to each arm or action, facing the limitations when applied to demonstration retrieval due to the expansive and varied nature of the available demonstrations.",
|
| 507 |
+
"bbox": [
|
| 508 |
+
507,
|
| 509 |
+
105,
|
| 510 |
+
884,
|
| 511 |
+
233
|
| 512 |
+
],
|
| 513 |
+
"page_idx": 3
|
| 514 |
+
},
|
| 515 |
+
{
|
| 516 |
+
"type": "text",
|
| 517 |
+
"text": "We leverage the framework of Stochastic Multi-Armed Bandit (Bubeck et al., 2012), a variant of the classical MAB problem where rewards associated with different actions (referred to as \"arms\") are influenced by stochastic processes. In our context, we develop a novel stochastic bandit algorithm tailored to scenarios with an extensive and diverse set of demonstrations.",
|
| 518 |
+
"bbox": [
|
| 519 |
+
507,
|
| 520 |
+
234,
|
| 521 |
+
884,
|
| 522 |
+
362
|
| 523 |
+
],
|
| 524 |
+
"page_idx": 3
|
| 525 |
+
},
|
| 526 |
+
{
|
| 527 |
+
"type": "text",
|
| 528 |
+
"text": "First, we fine-tune a BERT model in Microsoft's query and ads dataset, resulting in an embedding vector $e_{a_k}$ unique to each demonstration $a_k$ , an embedding vector $e_{s_t}$ for the state $s_t$ at trial $t$ and a mutual embedding $e_{(s,a)_t}$ . Then we have a unified feature embedding $x_{s_t,a_k} = [e_{s_t}, e_{a_k}, e_{(s,a)_t}]$ to capture contextual information. Next, we adopt a shared parameter $\\theta$ applicable to all demonstrations. This shared parameterization streamlines the learning process, enhancing efficiency and generalization across the diverse pool of demonstrations.",
|
| 529 |
+
"bbox": [
|
| 530 |
+
507,
|
| 531 |
+
363,
|
| 532 |
+
885,
|
| 533 |
+
541
|
| 534 |
+
],
|
| 535 |
+
"page_idx": 3
|
| 536 |
+
},
|
| 537 |
+
{
|
| 538 |
+
"type": "text",
|
| 539 |
+
"text": "2.3.1 Demonstration and State Representation Learning",
|
| 540 |
+
"text_level": 1,
|
| 541 |
+
"bbox": [
|
| 542 |
+
507,
|
| 543 |
+
550,
|
| 544 |
+
769,
|
| 545 |
+
583
|
| 546 |
+
],
|
| 547 |
+
"page_idx": 3
|
| 548 |
+
},
|
| 549 |
+
{
|
| 550 |
+
"type": "text",
|
| 551 |
+
"text": "To integrate both the state and demonstration into a unified embedding vector, we employ a self-supervised learning approach to fine-tune a 24-layer BERT model using Microsoft's user query-ad dataset. The final embedding is derived by extracting the output of the last hidden layer, serving as a comprehensive representation of both the state and demonstration.",
|
| 552 |
+
"bbox": [
|
| 553 |
+
507,
|
| 554 |
+
586,
|
| 555 |
+
884,
|
| 556 |
+
715
|
| 557 |
+
],
|
| 558 |
+
"page_idx": 3
|
| 559 |
+
},
|
| 560 |
+
{
|
| 561 |
+
"type": "text",
|
| 562 |
+
"text": "2.3.2 Objective Function of ICL-Bandit",
|
| 563 |
+
"text_level": 1,
|
| 564 |
+
"bbox": [
|
| 565 |
+
507,
|
| 566 |
+
725,
|
| 567 |
+
836,
|
| 568 |
+
740
|
| 569 |
+
],
|
| 570 |
+
"page_idx": 3
|
| 571 |
+
},
|
| 572 |
+
{
|
| 573 |
+
"type": "text",
|
| 574 |
+
"text": "Throughout the total $T$ trials, the cumulative reward is defined as $\\sum_{t=1}^{T} r_{(t,a_k)}$ . In this context, we establish the optimal expected $T$ -iteration reward, denoted as $E[\\sum_{t=1}^{T} r_{(t,a_k^*)}]$ , where $a_k^*$ represents the optimal demonstration yielding the maximum expected reward at trial $t$ . Our objective is to proficiently retrieve a sequence of demonstrations during training, maximizing the expected total payoff. Alternatively, our aim is to minimize the regret of the algorithm concerning the optimal demonstration retrieval strategy. The $T$ -iteration regret of",
|
| 575 |
+
"bbox": [
|
| 576 |
+
507,
|
| 577 |
+
744,
|
| 578 |
+
884,
|
| 579 |
+
921
|
| 580 |
+
],
|
| 581 |
+
"page_idx": 3
|
| 582 |
+
},
|
| 583 |
+
{
|
| 584 |
+
"type": "page_number",
|
| 585 |
+
"text": "23442",
|
| 586 |
+
"bbox": [
|
| 587 |
+
475,
|
| 588 |
+
927,
|
| 589 |
+
524,
|
| 590 |
+
940
|
| 591 |
+
],
|
| 592 |
+
"page_idx": 3
|
| 593 |
+
},
|
| 594 |
+
{
|
| 595 |
+
"type": "text",
|
| 596 |
+
"text": "ICL-Bandit can be formally defined as:",
|
| 597 |
+
"bbox": [
|
| 598 |
+
114,
|
| 599 |
+
84,
|
| 600 |
+
406,
|
| 601 |
+
99
|
| 602 |
+
],
|
| 603 |
+
"page_idx": 4
|
| 604 |
+
},
|
| 605 |
+
{
|
| 606 |
+
"type": "equation",
|
| 607 |
+
"text": "\n$$\nR e (T) = E [ \\sum_ {t = 1} ^ {T} r _ {(t, a _ {k} ^ {*})} ] - E [ \\sum_ {t = 1} ^ {T} r _ {(t, a _ {k})} ] \\quad (1)\n$$\n",
|
| 608 |
+
"text_format": "latex",
|
| 609 |
+
"bbox": [
|
| 610 |
+
139,
|
| 611 |
+
126,
|
| 612 |
+
487,
|
| 613 |
+
168
|
| 614 |
+
],
|
| 615 |
+
"page_idx": 4
|
| 616 |
+
},
|
| 617 |
+
{
|
| 618 |
+
"type": "text",
|
| 619 |
+
"text": "2.3.3 Optimization of ICL-Bandit",
|
| 620 |
+
"text_level": 1,
|
| 621 |
+
"bbox": [
|
| 622 |
+
114,
|
| 623 |
+
180,
|
| 624 |
+
394,
|
| 625 |
+
196
|
| 626 |
+
],
|
| 627 |
+
"page_idx": 4
|
| 628 |
+
},
|
| 629 |
+
{
|
| 630 |
+
"type": "text",
|
| 631 |
+
"text": "To minimize the regret, it is assumed that the expected reward of an example $a$ is linear in the $d$ -dimensional state-action integrated feature $x_{(t,a)}$ , with three unknown policy parameters $\\theta_{\\mathrm{state}}^*$ , $\\theta_{\\mathrm{action}}^*$ and $\\theta_{\\mathrm{mut}}^*$ :",
|
| 632 |
+
"bbox": [
|
| 633 |
+
112,
|
| 634 |
+
200,
|
| 635 |
+
489,
|
| 636 |
+
281
|
| 637 |
+
],
|
| 638 |
+
"page_idx": 4
|
| 639 |
+
},
|
| 640 |
+
{
|
| 641 |
+
"type": "equation",
|
| 642 |
+
"text": "\n$$\n\\mathbb {E} [ r _ {(t, a)} \\mid x _ {(t, a)} ] = x _ {(t, a)} ^ {T} [ \\theta_ {\\mathrm {s t a t e}} ^ {*}, \\theta_ {\\mathrm {a c t i o n}} ^ {*}, \\theta_ {\\mathrm {m u t}} ^ {*} ]\n$$\n",
|
| 643 |
+
"text_format": "latex",
|
| 644 |
+
"bbox": [
|
| 645 |
+
142,
|
| 646 |
+
292,
|
| 647 |
+
458,
|
| 648 |
+
315
|
| 649 |
+
],
|
| 650 |
+
"page_idx": 4
|
| 651 |
+
},
|
| 652 |
+
{
|
| 653 |
+
"type": "text",
|
| 654 |
+
"text": "where $\\theta_{\\mathrm{state}}^{*}$ denotes the policy parameter for the context or the state, i.e., for the target sample, $\\theta_{\\mathrm{action}}^{*}$ denotes the policy parameter for an action, i.e., for an example, and $\\theta_{\\mathrm{mut}}^{*}$ denotes the policy parameter for mutual information of the target sample and the example. The mutual information may be common or similar information between the target sample and the example. The policy parameter $\\theta_{\\mathrm{state}}^{*}$ can map the target sample to a first vector space. The policy parameter $\\theta_{\\mathrm{action}}^{*}$ can map the example to a second vector space. The first vector space and the second vector space are different and independent, but they are dual to each other. The policy parameter $\\theta_{\\mathrm{mut}}^{*}$ can map both the target sample and the example to the same vector space. The technical effect of using the three policy parameters $\\theta_{\\mathrm{state}}^{*}$ , $\\theta_{\\mathrm{action}}^{*}$ , and $\\theta_{\\mathrm{mut}}^{*}$ is to more accurately measure the relationship or distance between the target sample and the example, so as to calculate a more accurate expected reward.",
|
| 655 |
+
"bbox": [
|
| 656 |
+
112,
|
| 657 |
+
324,
|
| 658 |
+
487,
|
| 659 |
+
645
|
| 660 |
+
],
|
| 661 |
+
"page_idx": 4
|
| 662 |
+
},
|
| 663 |
+
{
|
| 664 |
+
"type": "text",
|
| 665 |
+
"text": "The embodiments of the present disclosure propose that all examples share three policy parameters $\\theta_{\\mathrm{state}}^{*}$ , $\\theta_{\\mathrm{action}}^{*}$ , and $\\theta_{\\mathrm{mut}}^{*}$ . This parameterization remains constant regardless of the number of examples. The technical effect of such settings is to streamline the learning process, and enhance efficiency and generalization across the diverse set of examples. This framework enables the application of the proposed reinforced retrieval operation to large-scale and diverse candidate examples, contributing to its scalability and adaptability.",
|
| 666 |
+
"bbox": [
|
| 667 |
+
112,
|
| 668 |
+
646,
|
| 669 |
+
489,
|
| 670 |
+
822
|
| 671 |
+
],
|
| 672 |
+
"page_idx": 4
|
| 673 |
+
},
|
| 674 |
+
{
|
| 675 |
+
"type": "text",
|
| 676 |
+
"text": "For each example, we have three kinds of features: state, action, and mut, denoted as $[e_{s_t}, e_{a_k}, e_{(s,a)_t}]$ . These correspond to the data matrices $D_{\\mathrm{state}}$ , $D_{\\mathrm{action}}$ , and $D_{\\mathrm{mut}}$ , which represent samples on different features. Let $D_{\\mathrm{state}}$ , $D_{\\mathrm{action}}$ , and $D_{\\mathrm{mut}}$ be data matrices of dimension $m \\times d$ at",
|
| 677 |
+
"bbox": [
|
| 678 |
+
112,
|
| 679 |
+
825,
|
| 680 |
+
489,
|
| 681 |
+
921
|
| 682 |
+
],
|
| 683 |
+
"page_idx": 4
|
| 684 |
+
},
|
| 685 |
+
{
|
| 686 |
+
"type": "text",
|
| 687 |
+
"text": "trial $t$ , where the rows correspond to $m$ training inputs of context, action, and mutual information, and $b \\in \\mathbb{R}^m$ is the corresponding reward vector (e.g., the $m$ rewards indicating whether the LLM provided the correct label in the training set). Applying ridge regression to the training data $(D, b)$ yields an estimate of the policy parameters:",
|
| 688 |
+
"bbox": [
|
| 689 |
+
507,
|
| 690 |
+
84,
|
| 691 |
+
882,
|
| 692 |
+
197
|
| 693 |
+
],
|
| 694 |
+
"page_idx": 4
|
| 695 |
+
},
|
| 696 |
+
{
|
| 697 |
+
"type": "equation",
|
| 698 |
+
"text": "\n$$\n\\theta_ {\\text {s t a t e}} = \\left(D _ {\\text {s t a t e}} ^ {T} D _ {\\text {s t a t e}} + \\lambda I\\right) ^ {- 1} D _ {\\text {s t a t e}} ^ {T} b \\tag {2}\n$$\n",
|
| 699 |
+
"text_format": "latex",
|
| 700 |
+
"bbox": [
|
| 701 |
+
557,
|
| 702 |
+
212,
|
| 703 |
+
882,
|
| 704 |
+
234
|
| 705 |
+
],
|
| 706 |
+
"page_idx": 4
|
| 707 |
+
},
|
| 708 |
+
{
|
| 709 |
+
"type": "equation",
|
| 710 |
+
"text": "\n$$\n\\theta_ {\\text {a c t i o n}} = \\left(D _ {\\text {a c t i o n}} ^ {T} D _ {\\text {a c t i o n}} + \\lambda I\\right) ^ {- 1} D _ {\\text {a c t i o n}} ^ {T} b \\tag {3}\n$$\n",
|
| 711 |
+
"text_format": "latex",
|
| 712 |
+
"bbox": [
|
| 713 |
+
531,
|
| 714 |
+
256,
|
| 715 |
+
882,
|
| 716 |
+
278
|
| 717 |
+
],
|
| 718 |
+
"page_idx": 4
|
| 719 |
+
},
|
| 720 |
+
{
|
| 721 |
+
"type": "equation",
|
| 722 |
+
"text": "\n$$\n\\theta_ {\\mathrm {m u t}} = \\left(D _ {\\mathrm {m u t}} ^ {T} D _ {\\mathrm {m u t}} + \\lambda I\\right) ^ {- 1} D _ {\\mathrm {m u t}} ^ {T} b \\tag {4}\n$$\n",
|
| 723 |
+
"text_format": "latex",
|
| 724 |
+
"bbox": [
|
| 725 |
+
564,
|
| 726 |
+
294,
|
| 727 |
+
882,
|
| 728 |
+
316
|
| 729 |
+
],
|
| 730 |
+
"page_idx": 4
|
| 731 |
+
},
|
| 732 |
+
{
|
| 733 |
+
"type": "text",
|
| 734 |
+
"text": "where $I$ is the $d\\times d$ identity matrix, $\\lambda \\in [0,1]$ is the regularization term of ridge regression estimation. Let $D = [D_{\\mathrm{state}},D_{\\mathrm{action}},D_{\\mathrm{mut}}]$ , and $\\theta = [\\theta_{\\mathrm{state}},\\theta_{\\mathrm{action}},\\theta_{\\mathrm{mut}}]$ . When components in $b$ are independent conditioned on corresponding rows in $D$ , it can be shown that, with probability at least $1 - \\delta$ : $\\left|x_{(t,a_t)}^T\\hat{\\theta} - \\mathbb{E}[r_{(t,a_t)}\\mid x_{(t,a_t)}]\\right| \\leq \\alpha' \\sqrt{x_{(t,a_t)}^T(D^TD + \\lambda I)^{-1}x_{(t,a_t)}}$ For any $\\delta > 0$ and $x_{(t,a_t)} \\in \\mathbb{R}^d$ , where $\\hat{\\theta}$ is the mean of $\\theta$ , and $a_t$ indicates the example selected at $t$ , $r_{(t,a)}$ is the observed reward, $\\sigma^2$ is the variance proxy of the noise and $\\alpha'$ is a constant.",
|
| 735 |
+
"bbox": [
|
| 736 |
+
507,
|
| 737 |
+
329,
|
| 738 |
+
882,
|
| 739 |
+
539
|
| 740 |
+
],
|
| 741 |
+
"page_idx": 4
|
| 742 |
+
},
|
| 743 |
+
{
|
| 744 |
+
"type": "text",
|
| 745 |
+
"text": "2.4 Proof",
|
| 746 |
+
"text_level": 1,
|
| 747 |
+
"bbox": [
|
| 748 |
+
509,
|
| 749 |
+
557,
|
| 750 |
+
601,
|
| 751 |
+
571
|
| 752 |
+
],
|
| 753 |
+
"page_idx": 4
|
| 754 |
+
},
|
| 755 |
+
{
|
| 756 |
+
"type": "text",
|
| 757 |
+
"text": "2.4.1 Step 1: Decompose the Estimation Error",
|
| 758 |
+
"text_level": 1,
|
| 759 |
+
"bbox": [
|
| 760 |
+
507,
|
| 761 |
+
581,
|
| 762 |
+
880,
|
| 763 |
+
596
|
| 764 |
+
],
|
| 765 |
+
"page_idx": 4
|
| 766 |
+
},
|
| 767 |
+
{
|
| 768 |
+
"type": "text",
|
| 769 |
+
"text": "The estimation error can be expressed as:",
|
| 770 |
+
"bbox": [
|
| 771 |
+
509,
|
| 772 |
+
604,
|
| 773 |
+
816,
|
| 774 |
+
619
|
| 775 |
+
],
|
| 776 |
+
"page_idx": 4
|
| 777 |
+
},
|
| 778 |
+
{
|
| 779 |
+
"type": "equation",
|
| 780 |
+
"text": "\n$$\n\\begin{array}{l} \\hat {\\theta} - \\theta^ {*} = \\left(D ^ {\\top} D + \\lambda I\\right) ^ {- 1} D ^ {\\top} b - \\theta^ {*} \\\\ = \\left(D ^ {\\top} D + \\lambda I\\right) ^ {- 1} D ^ {\\top} \\left(D \\theta^ {*} + \\epsilon\\right) - \\theta^ {*} \\\\ = \\left(D ^ {\\top} D + \\lambda I\\right) ^ {- 1} D ^ {\\top} D \\theta^ {*} + \\left(D ^ {\\top} D + \\lambda I\\right) ^ {- 1} D ^ {\\top} \\epsilon - \\theta^ {*} \\\\ = \\left[ \\left(D ^ {\\top} D + \\lambda I\\right) ^ {- 1} D ^ {\\top} D - I \\right] \\theta^ {*} + \\left(D ^ {\\top} D + \\lambda I\\right) ^ {- 1} D ^ {\\top} \\epsilon . \\\\ \\end{array}\n$$\n",
|
| 781 |
+
"text_format": "latex",
|
| 782 |
+
"bbox": [
|
| 783 |
+
519,
|
| 784 |
+
650,
|
| 785 |
+
868,
|
| 786 |
+
734
|
| 787 |
+
],
|
| 788 |
+
"page_idx": 4
|
| 789 |
+
},
|
| 790 |
+
{
|
| 791 |
+
"type": "text",
|
| 792 |
+
"text": "Simplifying:",
|
| 793 |
+
"bbox": [
|
| 794 |
+
526,
|
| 795 |
+
753,
|
| 796 |
+
625,
|
| 797 |
+
769
|
| 798 |
+
],
|
| 799 |
+
"page_idx": 4
|
| 800 |
+
},
|
| 801 |
+
{
|
| 802 |
+
"type": "equation",
|
| 803 |
+
"text": "\n$$\n\\hat {\\theta} - \\theta^ {*} = - \\lambda \\left(D ^ {\\top} D + \\lambda I\\right) ^ {- 1} \\theta^ {*} + \\left(D ^ {\\top} D + \\lambda I\\right) ^ {- 1} D ^ {\\top} \\epsilon .\n$$\n",
|
| 804 |
+
"text_format": "latex",
|
| 805 |
+
"bbox": [
|
| 806 |
+
519,
|
| 807 |
+
784,
|
| 808 |
+
868,
|
| 809 |
+
807
|
| 810 |
+
],
|
| 811 |
+
"page_idx": 4
|
| 812 |
+
},
|
| 813 |
+
{
|
| 814 |
+
"type": "text",
|
| 815 |
+
"text": "2.4.2 Step 2: Express the Estimation Error Components",
|
| 816 |
+
"text_level": 1,
|
| 817 |
+
"bbox": [
|
| 818 |
+
507,
|
| 819 |
+
824,
|
| 820 |
+
860,
|
| 821 |
+
856
|
| 822 |
+
],
|
| 823 |
+
"page_idx": 4
|
| 824 |
+
},
|
| 825 |
+
{
|
| 826 |
+
"type": "text",
|
| 827 |
+
"text": "Let: $\\mathrm{Bias} = -\\lambda (D^{\\top}D + \\lambda I)^{-1}\\theta^{*}$",
|
| 828 |
+
"bbox": [
|
| 829 |
+
509,
|
| 830 |
+
860,
|
| 831 |
+
781,
|
| 832 |
+
881
|
| 833 |
+
],
|
| 834 |
+
"page_idx": 4
|
| 835 |
+
},
|
| 836 |
+
{
|
| 837 |
+
"type": "text",
|
| 838 |
+
"text": "Variance $= \\left(D^{\\top}D + \\lambda I\\right)^{-1}D^{\\top}\\epsilon$",
|
| 839 |
+
"bbox": [
|
| 840 |
+
527,
|
| 841 |
+
882,
|
| 842 |
+
784,
|
| 843 |
+
902
|
| 844 |
+
],
|
| 845 |
+
"page_idx": 4
|
| 846 |
+
},
|
| 847 |
+
{
|
| 848 |
+
"type": "text",
|
| 849 |
+
"text": "Then: $\\hat{\\theta} -\\theta^{*} = \\mathrm{Bias} + \\mathrm{Variance}$",
|
| 850 |
+
"bbox": [
|
| 851 |
+
527,
|
| 852 |
+
904,
|
| 853 |
+
778,
|
| 854 |
+
919
|
| 855 |
+
],
|
| 856 |
+
"page_idx": 4
|
| 857 |
+
},
|
| 858 |
+
{
|
| 859 |
+
"type": "page_number",
|
| 860 |
+
"text": "23443",
|
| 861 |
+
"bbox": [
|
| 862 |
+
475,
|
| 863 |
+
927,
|
| 864 |
+
524,
|
| 865 |
+
940
|
| 866 |
+
],
|
| 867 |
+
"page_idx": 4
|
| 868 |
+
},
|
| 869 |
+
{
|
| 870 |
+
"type": "text",
|
| 871 |
+
"text": "2.4.3 Step 3: Bound the Bias Term",
|
| 872 |
+
"text_level": 1,
|
| 873 |
+
"bbox": [
|
| 874 |
+
112,
|
| 875 |
+
84,
|
| 876 |
+
401,
|
| 877 |
+
99
|
| 878 |
+
],
|
| 879 |
+
"page_idx": 5
|
| 880 |
+
},
|
| 881 |
+
{
|
| 882 |
+
"type": "text",
|
| 883 |
+
"text": "We aim to bound $\\left|x_{(t,a)}^{\\top} \\text{Bias}\\right|$ .",
|
| 884 |
+
"bbox": [
|
| 885 |
+
112,
|
| 886 |
+
101,
|
| 887 |
+
337,
|
| 888 |
+
124
|
| 889 |
+
],
|
| 890 |
+
"page_idx": 5
|
| 891 |
+
},
|
| 892 |
+
{
|
| 893 |
+
"type": "text",
|
| 894 |
+
"text": "Using the Cauchy-Schwarz inequality:",
|
| 895 |
+
"bbox": [
|
| 896 |
+
132,
|
| 897 |
+
124,
|
| 898 |
+
420,
|
| 899 |
+
140
|
| 900 |
+
],
|
| 901 |
+
"page_idx": 5
|
| 902 |
+
},
|
| 903 |
+
{
|
| 904 |
+
"type": "equation",
|
| 905 |
+
"text": "\n$$\n\\begin{array}{l} \\left| x _ {(t, a)} ^ {\\top} \\operatorname {B i a s} \\right| = \\lambda \\left| x _ {(t, a)} ^ {\\top} \\left(D ^ {\\top} D + \\lambda I\\right) ^ {- 1} \\theta^ {*} \\right| (5) \\\\ \\leq \\lambda \\left\\| x _ {(t, a)} \\right\\| _ {\\left(D ^ {\\top} D + \\lambda I\\right) ^ {- 1}} \\| \\theta^ {*} \\|, (6) \\\\ \\end{array}\n$$\n",
|
| 906 |
+
"text_format": "latex",
|
| 907 |
+
"bbox": [
|
| 908 |
+
127,
|
| 909 |
+
159,
|
| 910 |
+
487,
|
| 911 |
+
221
|
| 912 |
+
],
|
| 913 |
+
"page_idx": 5
|
| 914 |
+
},
|
| 915 |
+
{
|
| 916 |
+
"type": "text",
|
| 917 |
+
"text": "where $\\| x\\| _A = \\sqrt{x^\\top Ax}$ denotes the Mahalanobis norm with respect to the matrix $A$",
|
| 918 |
+
"bbox": [
|
| 919 |
+
112,
|
| 920 |
+
227,
|
| 921 |
+
487,
|
| 922 |
+
260
|
| 923 |
+
],
|
| 924 |
+
"page_idx": 5
|
| 925 |
+
},
|
| 926 |
+
{
|
| 927 |
+
"type": "text",
|
| 928 |
+
"text": "Assuming $\\| \\theta^{*}\\| \\leq S$ , where $S$ is a known bound on the norm of $\\theta^{*}$ , we have:",
|
| 929 |
+
"bbox": [
|
| 930 |
+
112,
|
| 931 |
+
261,
|
| 932 |
+
485,
|
| 933 |
+
292
|
| 934 |
+
],
|
| 935 |
+
"page_idx": 5
|
| 936 |
+
},
|
| 937 |
+
{
|
| 938 |
+
"type": "equation",
|
| 939 |
+
"text": "\n$$\n\\left| x _ {(t, a)} ^ {\\top} \\mathbf {B i a s} \\right| \\leq \\lambda S \\left\\| x _ {(t, a)} \\right\\| _ {\\left(D ^ {\\top} D + \\lambda I\\right) ^ {- 1}}. \\tag {7}\n$$\n",
|
| 940 |
+
"text_format": "latex",
|
| 941 |
+
"bbox": [
|
| 942 |
+
139,
|
| 943 |
+
312,
|
| 944 |
+
487,
|
| 945 |
+
341
|
| 946 |
+
],
|
| 947 |
+
"page_idx": 5
|
| 948 |
+
},
|
| 949 |
+
{
|
| 950 |
+
"type": "text",
|
| 951 |
+
"text": "2.4.4 Step 4: Bound the Variance Term",
|
| 952 |
+
"text_level": 1,
|
| 953 |
+
"bbox": [
|
| 954 |
+
112,
|
| 955 |
+
347,
|
| 956 |
+
436,
|
| 957 |
+
361
|
| 958 |
+
],
|
| 959 |
+
"page_idx": 5
|
| 960 |
+
},
|
| 961 |
+
{
|
| 962 |
+
"type": "text",
|
| 963 |
+
"text": "We aim to bound $\\left|x_{(t,a)}^{\\top}\\right|$ Variance with high probability.",
|
| 964 |
+
"bbox": [
|
| 965 |
+
112,
|
| 966 |
+
363,
|
| 967 |
+
487,
|
| 968 |
+
401
|
| 969 |
+
],
|
| 970 |
+
"page_idx": 5
|
| 971 |
+
},
|
| 972 |
+
{
|
| 973 |
+
"type": "text",
|
| 974 |
+
"text": "Since $\\epsilon$ has independent components with zero mean and variance proxy $\\sigma^2$ , the variance of $x_{(t,a)}^{\\top}$ Variance is:",
|
| 975 |
+
"bbox": [
|
| 976 |
+
112,
|
| 977 |
+
403,
|
| 978 |
+
487,
|
| 979 |
+
454
|
| 980 |
+
],
|
| 981 |
+
"page_idx": 5
|
| 982 |
+
},
|
| 983 |
+
{
|
| 984 |
+
"type": "equation",
|
| 985 |
+
"text": "\n$$\n\\begin{array}{l} \\operatorname {V a r} \\left(x _ {(t, a)} ^ {\\top} \\text {V a r i a n c e}\\right) = \\operatorname {V a r} \\left(x _ {(t, a)} ^ {\\top} \\left(D ^ {\\top} D + \\lambda I\\right) ^ {- 1} D ^ {\\top} \\epsilon\\right) \\\\ = \\sigma^ {2} x _ {(t, a)} ^ {\\top} \\left(D ^ {\\top} D + \\lambda I\\right) ^ {- 1} D ^ {\\top} D \\left(D ^ {\\top} D + \\lambda I\\right) ^ {- 1} x _ {(t, a)}. \\\\ \\end{array}\n$$\n",
|
| 986 |
+
"text_format": "latex",
|
| 987 |
+
"bbox": [
|
| 988 |
+
124,
|
| 989 |
+
469,
|
| 990 |
+
473,
|
| 991 |
+
521
|
| 992 |
+
],
|
| 993 |
+
"page_idx": 5
|
| 994 |
+
},
|
| 995 |
+
{
|
| 996 |
+
"type": "text",
|
| 997 |
+
"text": "Therefore:",
|
| 998 |
+
"bbox": [
|
| 999 |
+
132,
|
| 1000 |
+
526,
|
| 1001 |
+
215,
|
| 1002 |
+
539
|
| 1003 |
+
],
|
| 1004 |
+
"page_idx": 5
|
| 1005 |
+
},
|
| 1006 |
+
{
|
| 1007 |
+
"type": "equation",
|
| 1008 |
+
"text": "\n$$\n\\begin{array}{l} \\operatorname {V a r} \\left(x _ {(t, a)} ^ {\\top} \\text {V a r i a n c e}\\right) = \\sigma^ {2} x _ {(t, a)} ^ {\\top} \\left(D ^ {\\top} D + \\lambda I\\right) ^ {- 1} \\\\ \\cdot \\left(I - \\lambda (D ^ {\\top} D + \\lambda I) ^ {- 1}\\right) x _ {(t, a)} \\\\ \\leq \\sigma^ {2} \\left\\| x _ {(t, a)} \\right\\| _ {(D ^ {\\top} D + \\lambda I) ^ {- 1}} ^ {2}. \\\\ \\end{array}\n$$\n",
|
| 1009 |
+
"text_format": "latex",
|
| 1010 |
+
"bbox": [
|
| 1011 |
+
122,
|
| 1012 |
+
557,
|
| 1013 |
+
473,
|
| 1014 |
+
625
|
| 1015 |
+
],
|
| 1016 |
+
"page_idx": 5
|
| 1017 |
+
},
|
| 1018 |
+
{
|
| 1019 |
+
"type": "text",
|
| 1020 |
+
"text": "2.4.5 Step 5: Apply Concentration Inequality",
|
| 1021 |
+
"text_level": 1,
|
| 1022 |
+
"bbox": [
|
| 1023 |
+
112,
|
| 1024 |
+
631,
|
| 1025 |
+
484,
|
| 1026 |
+
646
|
| 1027 |
+
],
|
| 1028 |
+
"page_idx": 5
|
| 1029 |
+
},
|
| 1030 |
+
{
|
| 1031 |
+
"type": "text",
|
| 1032 |
+
"text": "Since $x_{(t,a)}^{\\top}$ Variance is a linear combination of independent sub-Gaussian variables, it is sub-Gaussian with parameter $\\sigma' = \\sigma\\left\\| x_{(t,a)}\\right\\|_{(D^{\\top}D + \\lambda I)^{-1}}$ .",
|
| 1033 |
+
"bbox": [
|
| 1034 |
+
112,
|
| 1035 |
+
648,
|
| 1036 |
+
487,
|
| 1037 |
+
718
|
| 1038 |
+
],
|
| 1039 |
+
"page_idx": 5
|
| 1040 |
+
},
|
| 1041 |
+
{
|
| 1042 |
+
"type": "text",
|
| 1043 |
+
"text": "Using a sub-Gaussian tail bound, for any $\\delta > 0$ :",
|
| 1044 |
+
"bbox": [
|
| 1045 |
+
132,
|
| 1046 |
+
718,
|
| 1047 |
+
487,
|
| 1048 |
+
733
|
| 1049 |
+
],
|
| 1050 |
+
"page_idx": 5
|
| 1051 |
+
},
|
| 1052 |
+
{
|
| 1053 |
+
"type": "equation",
|
| 1054 |
+
"text": "\n$$\nP \\left(\\left| x _ {(t, a)} ^ {\\top} \\text {V a r i a n c e} \\right| \\geq \\alpha \\left\\| x _ {(t, a)} \\right\\| _ {\\left(D ^ {\\top} D + \\lambda I\\right) ^ {- 1}}\\right) \\leq \\delta \\tag {8}\n$$\n",
|
| 1055 |
+
"text_format": "latex",
|
| 1056 |
+
"bbox": [
|
| 1057 |
+
122,
|
| 1058 |
+
753,
|
| 1059 |
+
487,
|
| 1060 |
+
797
|
| 1061 |
+
],
|
| 1062 |
+
"page_idx": 5
|
| 1063 |
+
},
|
| 1064 |
+
{
|
| 1065 |
+
"type": "text",
|
| 1066 |
+
"text": "where $\\alpha = \\sigma \\sqrt{2\\ln\\left(\\frac{1}{\\delta}\\right)}$",
|
| 1067 |
+
"bbox": [
|
| 1068 |
+
112,
|
| 1069 |
+
797,
|
| 1070 |
+
295,
|
| 1071 |
+
821
|
| 1072 |
+
],
|
| 1073 |
+
"page_idx": 5
|
| 1074 |
+
},
|
| 1075 |
+
{
|
| 1076 |
+
"type": "text",
|
| 1077 |
+
"text": "Step 6: Combine Bias and Variance Terms",
|
| 1078 |
+
"text_level": 1,
|
| 1079 |
+
"bbox": [
|
| 1080 |
+
112,
|
| 1081 |
+
827,
|
| 1082 |
+
450,
|
| 1083 |
+
841
|
| 1084 |
+
],
|
| 1085 |
+
"page_idx": 5
|
| 1086 |
+
},
|
| 1087 |
+
{
|
| 1088 |
+
"type": "text",
|
| 1089 |
+
"text": "The total estimation error is:",
|
| 1090 |
+
"bbox": [
|
| 1091 |
+
112,
|
| 1092 |
+
847,
|
| 1093 |
+
327,
|
| 1094 |
+
860
|
| 1095 |
+
],
|
| 1096 |
+
"page_idx": 5
|
| 1097 |
+
},
|
| 1098 |
+
{
|
| 1099 |
+
"type": "equation",
|
| 1100 |
+
"text": "\n$$\n\\left| x _ {(t, a)} ^ {\\top} \\left(\\hat {\\theta} - \\theta^ {*}\\right) \\right| \\leq \\left| x _ {(t, a)} ^ {\\top} \\operatorname {B i a s} \\right| + \\left| x _ {(t, a)} ^ {\\top} \\operatorname {V a r i a n c e} \\right|. \\tag {9}\n$$\n",
|
| 1101 |
+
"text_format": "latex",
|
| 1102 |
+
"bbox": [
|
| 1103 |
+
114,
|
| 1104 |
+
879,
|
| 1105 |
+
487,
|
| 1106 |
+
920
|
| 1107 |
+
],
|
| 1108 |
+
"page_idx": 5
|
| 1109 |
+
},
|
| 1110 |
+
{
|
| 1111 |
+
"type": "text",
|
| 1112 |
+
"text": "2.4.6 Step 7: Final Inequality",
|
| 1113 |
+
"text_level": 1,
|
| 1114 |
+
"bbox": [
|
| 1115 |
+
507,
|
| 1116 |
+
84,
|
| 1117 |
+
754,
|
| 1118 |
+
99
|
| 1119 |
+
],
|
| 1120 |
+
"page_idx": 5
|
| 1121 |
+
},
|
| 1122 |
+
{
|
| 1123 |
+
"type": "text",
|
| 1124 |
+
"text": "Combine the bounds:",
|
| 1125 |
+
"bbox": [
|
| 1126 |
+
509,
|
| 1127 |
+
104,
|
| 1128 |
+
670,
|
| 1129 |
+
116
|
| 1130 |
+
],
|
| 1131 |
+
"page_idx": 5
|
| 1132 |
+
},
|
| 1133 |
+
{
|
| 1134 |
+
"type": "equation",
|
| 1135 |
+
"text": "\n$$\n\\left| x _ {(t, a)} ^ {\\top} \\left(\\hat {\\theta} - \\theta^ {*}\\right) \\right| \\leq (\\lambda S + \\alpha) \\| x _ {(t, a)} \\| _ {(D ^ {\\top} D + \\lambda I) ^ {- 1}}.\n$$\n",
|
| 1136 |
+
"text_format": "latex",
|
| 1137 |
+
"bbox": [
|
| 1138 |
+
532,
|
| 1139 |
+
118,
|
| 1140 |
+
875,
|
| 1141 |
+
137
|
| 1142 |
+
],
|
| 1143 |
+
"page_idx": 5
|
| 1144 |
+
},
|
| 1145 |
+
{
|
| 1146 |
+
"type": "text",
|
| 1147 |
+
"text": "For sufficiently small $\\lambda$ and bounded $\\theta^{*}$ , the bias term can be controlled, and the dominant term becomes the variance term.",
|
| 1148 |
+
"bbox": [
|
| 1149 |
+
507,
|
| 1150 |
+
137,
|
| 1151 |
+
880,
|
| 1152 |
+
183
|
| 1153 |
+
],
|
| 1154 |
+
"page_idx": 5
|
| 1155 |
+
},
|
| 1156 |
+
{
|
| 1157 |
+
"type": "text",
|
| 1158 |
+
"text": "Therefore, we can simplify the inequality to: $\\left|x_{(t,a)}^{\\top}\\left(\\hat{\\theta} -\\theta^{*}\\right)\\right|\\leq \\alpha^{\\prime}\\left\\| x_{(t,a)}\\right\\|_{\\left(D^{\\top}D + \\lambda I\\right)^{-1}},$",
|
| 1159 |
+
"bbox": [
|
| 1160 |
+
514,
|
| 1161 |
+
185,
|
| 1162 |
+
882,
|
| 1163 |
+
225
|
| 1164 |
+
],
|
| 1165 |
+
"page_idx": 5
|
| 1166 |
+
},
|
| 1167 |
+
{
|
| 1168 |
+
"type": "text",
|
| 1169 |
+
"text": "where $\\alpha^{\\prime} = \\lambda S + \\alpha$",
|
| 1170 |
+
"bbox": [
|
| 1171 |
+
527,
|
| 1172 |
+
227,
|
| 1173 |
+
684,
|
| 1174 |
+
240
|
| 1175 |
+
],
|
| 1176 |
+
"page_idx": 5
|
| 1177 |
+
},
|
| 1178 |
+
{
|
| 1179 |
+
"type": "text",
|
| 1180 |
+
"text": "2.5 ICL-Bandit vs. Traditional Bandit",
|
| 1181 |
+
"text_level": 1,
|
| 1182 |
+
"bbox": [
|
| 1183 |
+
507,
|
| 1184 |
+
253,
|
| 1185 |
+
825,
|
| 1186 |
+
267
|
| 1187 |
+
],
|
| 1188 |
+
"page_idx": 5
|
| 1189 |
+
},
|
| 1190 |
+
{
|
| 1191 |
+
"type": "text",
|
| 1192 |
+
"text": "ICL-Bandit improves upon traditional bandit methods by introducing shared parameters, $\\theta_{\\mathrm{state}}^{*}$ , $\\theta_{\\mathrm{action}}^{*}$ and $\\theta_{\\mathrm{mut}}^{*}$ , to jointly model state, actions, and their interactions. This enables better alignment between context and candidate demonstrations, leading to more accurate action selection.",
|
| 1193 |
+
"bbox": [
|
| 1194 |
+
507,
|
| 1195 |
+
273,
|
| 1196 |
+
882,
|
| 1197 |
+
368
|
| 1198 |
+
],
|
| 1199 |
+
"page_idx": 5
|
| 1200 |
+
},
|
| 1201 |
+
{
|
| 1202 |
+
"type": "text",
|
| 1203 |
+
"text": "Unlike traditional methods that treat actions independently, ICL-Bandit captures complex contextual dependencies, enhances generalization, and scales efficiently to high-dimensional data. Its unified framework ensures consistent performance across diverse ICL labeling tasks, mitigating the inconsistency and overfitting often seen in conventional approaches.",
|
| 1204 |
+
"bbox": [
|
| 1205 |
+
507,
|
| 1206 |
+
370,
|
| 1207 |
+
882,
|
| 1208 |
+
498
|
| 1209 |
+
],
|
| 1210 |
+
"page_idx": 5
|
| 1211 |
+
},
|
| 1212 |
+
{
|
| 1213 |
+
"type": "text",
|
| 1214 |
+
"text": "3 Experiment",
|
| 1215 |
+
"text_level": 1,
|
| 1216 |
+
"bbox": [
|
| 1217 |
+
507,
|
| 1218 |
+
510,
|
| 1219 |
+
645,
|
| 1220 |
+
526
|
| 1221 |
+
],
|
| 1222 |
+
"page_idx": 5
|
| 1223 |
+
},
|
| 1224 |
+
{
|
| 1225 |
+
"type": "text",
|
| 1226 |
+
"text": "Dataset: We use a high-quality, expert-labeled dataset collected daily over 1.5 years, consisting of user queries and associated advertisement information (e.g., keywords, titles, descriptions, URLs), each labeled as relevant or irrelevant. The dataset is temporally split into: Example pool: 1,578,728 samples used as demonstrations. Training set: 9,999 query-ad pairs. Test set: 1,986 query-ad pairs. This temporal partitioning simulates real-world deployment, where models are trained on historical data and evaluated on recent, unseen examples.",
|
| 1227 |
+
"bbox": [
|
| 1228 |
+
507,
|
| 1229 |
+
536,
|
| 1230 |
+
882,
|
| 1231 |
+
728
|
| 1232 |
+
],
|
| 1233 |
+
"page_idx": 5
|
| 1234 |
+
},
|
| 1235 |
+
{
|
| 1236 |
+
"type": "text",
|
| 1237 |
+
"text": "Evaluation Metrics: We assess binary classification performance using Accuracy (ACC), F1-score, Precision, and Recall to capture both correctness and balance in predictions. More details of the experimental settings are provided in Appendix B.",
|
| 1238 |
+
"bbox": [
|
| 1239 |
+
507,
|
| 1240 |
+
728,
|
| 1241 |
+
882,
|
| 1242 |
+
809
|
| 1243 |
+
],
|
| 1244 |
+
"page_idx": 5
|
| 1245 |
+
},
|
| 1246 |
+
{
|
| 1247 |
+
"type": "text",
|
| 1248 |
+
"text": "3.1 Competitors",
|
| 1249 |
+
"text_level": 1,
|
| 1250 |
+
"bbox": [
|
| 1251 |
+
507,
|
| 1252 |
+
820,
|
| 1253 |
+
653,
|
| 1254 |
+
835
|
| 1255 |
+
],
|
| 1256 |
+
"page_idx": 5
|
| 1257 |
+
},
|
| 1258 |
+
{
|
| 1259 |
+
"type": "text",
|
| 1260 |
+
"text": "For a fair comparison, all baselines and ICL-Bandit (except \"No Example\" and \"Crowdsourcing\") were provided with 3 positive (Relevant) and 3 negative (Irrelevant) historically labeled samples as demonstrations. The following methods were selected as",
|
| 1261 |
+
"bbox": [
|
| 1262 |
+
507,
|
| 1263 |
+
841,
|
| 1264 |
+
882,
|
| 1265 |
+
920
|
| 1266 |
+
],
|
| 1267 |
+
"page_idx": 5
|
| 1268 |
+
},
|
| 1269 |
+
{
|
| 1270 |
+
"type": "page_number",
|
| 1271 |
+
"text": "23444",
|
| 1272 |
+
"bbox": [
|
| 1273 |
+
475,
|
| 1274 |
+
927,
|
| 1275 |
+
524,
|
| 1276 |
+
940
|
| 1277 |
+
],
|
| 1278 |
+
"page_idx": 5
|
| 1279 |
+
},
|
| 1280 |
+
{
|
| 1281 |
+
"type": "text",
|
| 1282 |
+
"text": "our competitors: No Example (Zero-shot Learning), Crowdsourcing, EPR (SL-KNN), EPR (SL-LLM) (Li et al., 2023), Q-learning (Zhang et al., 2022), Static, BM25 (Robertson et al., 2009), Random, KNN (Guo et al., 2003). Details of the baseline methods are provided in Appendix A.",
|
| 1283 |
+
"bbox": [
|
| 1284 |
+
112,
|
| 1285 |
+
84,
|
| 1286 |
+
490,
|
| 1287 |
+
181
|
| 1288 |
+
],
|
| 1289 |
+
"page_idx": 6
|
| 1290 |
+
},
|
| 1291 |
+
{
|
| 1292 |
+
"type": "table",
|
| 1293 |
+
"img_path": "images/5661171e8d9dea8bd10c4cb1a962e5a847a732bb3bbecf3efc208bb60ae8f082.jpg",
|
| 1294 |
+
"table_caption": [
|
| 1295 |
+
"Table 1: Results of GPT-3.5 as the backbone LLM."
|
| 1296 |
+
],
|
| 1297 |
+
"table_footnote": [],
|
| 1298 |
+
"table_body": "<table><tr><td>Model</td><td>ACC (%)</td><td>F1-score (%)</td><td>Precision (%)</td><td>Recall (%)</td></tr><tr><td>No Example</td><td>53.95</td><td>25.72</td><td>41.76</td><td>18.58</td></tr><tr><td>Crowdsourcing</td><td>67.57</td><td>73.65</td><td>90.09</td><td>62.28</td></tr><tr><td>EPR (SL-KNN)</td><td>55.97</td><td>25.68</td><td>39.22</td><td>19.09</td></tr><tr><td>EPR (SL-LLM)</td><td>57.18</td><td>25.44</td><td>41.55</td><td>18.33</td></tr><tr><td>Q-learning</td><td>58.68</td><td>34.71</td><td>43.78</td><td>28.14</td></tr><tr><td>Static</td><td>56.57</td><td>28.56</td><td>43.40</td><td>21.28</td></tr><tr><td>BM25</td><td>58.84</td><td>28.77</td><td>46.35</td><td>20.86</td></tr><tr><td>Random</td><td>50.73</td><td>36.49</td><td>37.52</td><td>35.52</td></tr><tr><td>KNN</td><td>57.98</td><td>27.60</td><td>44.04</td><td>20.10</td></tr><tr><td>ICL-Bandit (Ours)</td><td>63.76</td><td>61.63</td><td>65.38</td><td>58.29</td></tr></table>",
|
| 1299 |
+
"bbox": [
|
| 1300 |
+
115,
|
| 1301 |
+
217,
|
| 1302 |
+
500,
|
| 1303 |
+
319
|
| 1304 |
+
],
|
| 1305 |
+
"page_idx": 6
|
| 1306 |
+
},
|
| 1307 |
+
{
|
| 1308 |
+
"type": "table",
|
| 1309 |
+
"img_path": "images/dd6638c5f4406c191c8b791cb626018b18c7c647564be3697eb54dbd76f118dc.jpg",
|
| 1310 |
+
"table_caption": [
|
| 1311 |
+
"Table 2: Results of GPT-4 as the backbone LLM."
|
| 1312 |
+
],
|
| 1313 |
+
"table_footnote": [],
|
| 1314 |
+
"table_body": "<table><tr><td>Model</td><td>ACC (%)</td><td>F1-score (%)</td><td>Precision (%)</td><td>Recall (%)</td></tr><tr><td>No Example</td><td>65.05</td><td>61.45</td><td>64.08</td><td>59.03</td></tr><tr><td>Crowdsourcing</td><td>67.57</td><td>73.65</td><td>90.09</td><td>62.28</td></tr><tr><td>EPR (SL-KNN)</td><td>74.42</td><td>80.70</td><td>73.49</td><td>89.47</td></tr><tr><td>EPR (SL-LLM)</td><td>74.62</td><td>80.70</td><td>72.94</td><td>90.32</td></tr><tr><td>Q-learning</td><td>74.26</td><td>76.25</td><td>78.81</td><td>87.80</td></tr><tr><td>Static</td><td>73.56</td><td>79.71</td><td>71.35</td><td>90.28</td></tr><tr><td>BM25</td><td>73.62</td><td>80.09</td><td>72.94</td><td>88.80</td></tr><tr><td>Random</td><td>73.72</td><td>79.94</td><td>71.97</td><td>89.89</td></tr><tr><td>KNN</td><td>74.47</td><td>80.74</td><td>73.56</td><td>89.48</td></tr><tr><td>ICL-Bandit (Ours)</td><td>80.03</td><td>82.57</td><td>76.91</td><td>89.14</td></tr></table>",
|
| 1315 |
+
"bbox": [
|
| 1316 |
+
115,
|
| 1317 |
+
370,
|
| 1318 |
+
499,
|
| 1319 |
+
470
|
| 1320 |
+
],
|
| 1321 |
+
"page_idx": 6
|
| 1322 |
+
},
|
| 1323 |
+
{
|
| 1324 |
+
"type": "text",
|
| 1325 |
+
"text": "3.2 Results Analysis",
|
| 1326 |
+
"text_level": 1,
|
| 1327 |
+
"bbox": [
|
| 1328 |
+
114,
|
| 1329 |
+
498,
|
| 1330 |
+
290,
|
| 1331 |
+
513
|
| 1332 |
+
],
|
| 1333 |
+
"page_idx": 6
|
| 1334 |
+
},
|
| 1335 |
+
{
|
| 1336 |
+
"type": "text",
|
| 1337 |
+
"text": "Tables 1 and 2 present the experimental results comparing nine demonstration retrieval methods, including our ICL-Bandit, across two versions of LLMs. The analysis highlights key performance trends. The \"No Example\" baseline performs poorly, while \"Crowdsourcing\" demonstrations achieve the highest accuracy and precision, emphasizing the importance of expert-labeled data. Among automated methods, Q-learning, EPR (SL-LLM), and ICL-Bandit show strong performance, benefiting from LLM feedback. Notably, ICL-Bandit surpasses Q-learning and EPR (SL-LLM) despite using only 2,000 feedback samples compared to their 5,000, due to its lightweight, linear design that requires fewer data.",
|
| 1338 |
+
"bbox": [
|
| 1339 |
+
112,
|
| 1340 |
+
519,
|
| 1341 |
+
489,
|
| 1342 |
+
759
|
| 1343 |
+
],
|
| 1344 |
+
"page_idx": 6
|
| 1345 |
+
},
|
| 1346 |
+
{
|
| 1347 |
+
"type": "text",
|
| 1348 |
+
"text": "EPR (SL-KNN) and EPR (SL-LLM) improve over the \"No Example\" baseline but still lag behind \"Crowdsourcing,\" indicating that retrieval effectiveness depends on technique selection. Similarly, methods like \"Static,\" \"Random,\" \"KNN,\" and \"BM25\" show varied performance, with BM25 performing competitively but still unable to match expert-labeled demonstrations.",
|
| 1349 |
+
"bbox": [
|
| 1350 |
+
112,
|
| 1351 |
+
760,
|
| 1352 |
+
489,
|
| 1353 |
+
888
|
| 1354 |
+
],
|
| 1355 |
+
"page_idx": 6
|
| 1356 |
+
},
|
| 1357 |
+
{
|
| 1358 |
+
"type": "text",
|
| 1359 |
+
"text": "ICL-Bandit consistently delivers superior results, often outperforming or matching \"Crowdsourcing.\"",
|
| 1360 |
+
"bbox": [
|
| 1361 |
+
112,
|
| 1362 |
+
889,
|
| 1363 |
+
489,
|
| 1364 |
+
921
|
| 1365 |
+
],
|
| 1366 |
+
"page_idx": 6
|
| 1367 |
+
},
|
| 1368 |
+
{
|
| 1369 |
+
"type": "text",
|
| 1370 |
+
"text": "Its ability to balance exploration and exploitation allows it to retrieve relevant demonstrations effectively, adapt to diverse queries, and enhance recall, improving overall ICL performance.",
|
| 1371 |
+
"bbox": [
|
| 1372 |
+
507,
|
| 1373 |
+
84,
|
| 1374 |
+
884,
|
| 1375 |
+
149
|
| 1376 |
+
],
|
| 1377 |
+
"page_idx": 6
|
| 1378 |
+
},
|
| 1379 |
+
{
|
| 1380 |
+
"type": "text",
|
| 1381 |
+
"text": "3.3 Learning Curve of ICL-Bandit",
|
| 1382 |
+
"text_level": 1,
|
| 1383 |
+
"bbox": [
|
| 1384 |
+
507,
|
| 1385 |
+
160,
|
| 1386 |
+
798,
|
| 1387 |
+
174
|
| 1388 |
+
],
|
| 1389 |
+
"page_idx": 6
|
| 1390 |
+
},
|
| 1391 |
+
{
|
| 1392 |
+
"type": "text",
|
| 1393 |
+
"text": "The learning curve experiment was devised to examine the evolutionary performance of ICL-Bandit as training data accumulates. The primary objective was to discern how the method's effectiveness scales with an expanding dataset, providing insights into its adaptability and scalability. The experiment's results are depicted in Figure 3, where the x-axis represents training iterations, and the y-axis portrays the cumulative mean and variance of Accuracy, Binary Accuracy, True Negative Rate (TNR), and True Positive Rate (TPR). The learning curve analysis of ICL-Bandit highlights its capacity to dynamically adapt and enhance its performance over successive training iterations. Notably, it illustrates that ICL-Bandit achieves a rapid and stable convergence to a commendable performance level.",
|
| 1394 |
+
"bbox": [
|
| 1395 |
+
507,
|
| 1396 |
+
181,
|
| 1397 |
+
884,
|
| 1398 |
+
437
|
| 1399 |
+
],
|
| 1400 |
+
"page_idx": 6
|
| 1401 |
+
},
|
| 1402 |
+
{
|
| 1403 |
+
"type": "text",
|
| 1404 |
+
"text": "Furthermore, the outcomes suggest that ICL-Bandit exhibits promise for demonstration retrieval in ICL, even when trained on a limited LLM feedback dataset. Remarkably, in comparison to EPR (SL-LLM), which utilized a larger dataset of 5000 feedback instances, ICL-Bandit demonstrates superior performance. The learning curve analysis underscores the efficacy of ICL-Bandit in iteratively improving its performance with an increasing volume of training data. This positions it as a robust and scalable solution for the nuanced task of demonstration retrieval in complex information retrieval scenarios.",
|
| 1405 |
+
"bbox": [
|
| 1406 |
+
507,
|
| 1407 |
+
439,
|
| 1408 |
+
882,
|
| 1409 |
+
646
|
| 1410 |
+
],
|
| 1411 |
+
"page_idx": 6
|
| 1412 |
+
},
|
| 1413 |
+
{
|
| 1414 |
+
"type": "text",
|
| 1415 |
+
"text": "3.4 Ablation Study",
|
| 1416 |
+
"text_level": 1,
|
| 1417 |
+
"bbox": [
|
| 1418 |
+
507,
|
| 1419 |
+
659,
|
| 1420 |
+
673,
|
| 1421 |
+
674
|
| 1422 |
+
],
|
| 1423 |
+
"page_idx": 6
|
| 1424 |
+
},
|
| 1425 |
+
{
|
| 1426 |
+
"type": "text",
|
| 1427 |
+
"text": "3.4.1 Number of retrivaled samples",
|
| 1428 |
+
"text_level": 1,
|
| 1429 |
+
"bbox": [
|
| 1430 |
+
507,
|
| 1431 |
+
680,
|
| 1432 |
+
803,
|
| 1433 |
+
696
|
| 1434 |
+
],
|
| 1435 |
+
"page_idx": 6
|
| 1436 |
+
},
|
| 1437 |
+
{
|
| 1438 |
+
"type": "table",
|
| 1439 |
+
"img_path": "images/e908ab8dff63237273604922811bf35d497071af25fd0bbecbbded11222e8e49.jpg",
|
| 1440 |
+
"table_caption": [],
|
| 1441 |
+
"table_footnote": [],
|
| 1442 |
+
"table_body": "<table><tr><td>Example number</td><td>ACC</td><td>Binary AUC</td><td>TNR</td><td>TPR</td></tr><tr><td>1</td><td>0.7826</td><td>0.8127</td><td>0.8326</td><td>0.6978</td></tr><tr><td>3</td><td>0.8003</td><td>0.8029</td><td>0.8215</td><td>0.7077</td></tr><tr><td>6</td><td>0.8001</td><td>0.8127</td><td>0.8178</td><td>0.7129</td></tr><tr><td>9</td><td>0.7697</td><td>0.7616</td><td>0.7716</td><td>0.7516</td></tr></table>",
|
| 1443 |
+
"bbox": [
|
| 1444 |
+
522,
|
| 1445 |
+
711,
|
| 1446 |
+
870,
|
| 1447 |
+
772
|
| 1448 |
+
],
|
| 1449 |
+
"page_idx": 6
|
| 1450 |
+
},
|
| 1451 |
+
{
|
| 1452 |
+
"type": "text",
|
| 1453 |
+
"text": "Table 3: Performance metrics on different number of selected demonstrations.",
|
| 1454 |
+
"bbox": [
|
| 1455 |
+
507,
|
| 1456 |
+
783,
|
| 1457 |
+
882,
|
| 1458 |
+
810
|
| 1459 |
+
],
|
| 1460 |
+
"page_idx": 6
|
| 1461 |
+
},
|
| 1462 |
+
{
|
| 1463 |
+
"type": "text",
|
| 1464 |
+
"text": "In this experiment, we evaluate the impact of varying the number of positive and negative demonstrations on model performance. The results, presented in Table 3, indicate that the performance metrics (ACC, Binary AUC, TNR, and TPR) generally improve as the number of positive/negative demonstrations increases from 1 to 3. Specifically,",
|
| 1465 |
+
"bbox": [
|
| 1466 |
+
507,
|
| 1467 |
+
810,
|
| 1468 |
+
882,
|
| 1469 |
+
921
|
| 1470 |
+
],
|
| 1471 |
+
"page_idx": 6
|
| 1472 |
+
},
|
| 1473 |
+
{
|
| 1474 |
+
"type": "page_number",
|
| 1475 |
+
"text": "23445",
|
| 1476 |
+
"bbox": [
|
| 1477 |
+
475,
|
| 1478 |
+
927,
|
| 1479 |
+
524,
|
| 1480 |
+
940
|
| 1481 |
+
],
|
| 1482 |
+
"page_idx": 6
|
| 1483 |
+
},
|
| 1484 |
+
{
|
| 1485 |
+
"type": "image",
|
| 1486 |
+
"img_path": "images/d7d5c558b1db9657f34936e0d405f5a6ab665dd22e888e995c898acaebe8143c.jpg",
|
| 1487 |
+
"image_caption": [
|
| 1488 |
+
"Figure 3: The learning curve of ICL-Bandit during 2000 trails training. TNR and TPR indicates the true negative rate and true positive rate respectively."
|
| 1489 |
+
],
|
| 1490 |
+
"image_footnote": [],
|
| 1491 |
+
"bbox": [
|
| 1492 |
+
149,
|
| 1493 |
+
80,
|
| 1494 |
+
843,
|
| 1495 |
+
221
|
| 1496 |
+
],
|
| 1497 |
+
"page_idx": 7
|
| 1498 |
+
},
|
| 1499 |
+
{
|
| 1500 |
+
"type": "text",
|
| 1501 |
+
"text": "the best overall performance is observed when 3 demonstrations are used. Thus we choose 3 as the final number.",
|
| 1502 |
+
"bbox": [
|
| 1503 |
+
112,
|
| 1504 |
+
291,
|
| 1505 |
+
480,
|
| 1506 |
+
337
|
| 1507 |
+
],
|
| 1508 |
+
"page_idx": 7
|
| 1509 |
+
},
|
| 1510 |
+
{
|
| 1511 |
+
"type": "text",
|
| 1512 |
+
"text": "When 9 demonstrations are used, the performance metrics begin to decline, indicating that adding too many demonstrations may lead to diminishing returns or even reduced performance.",
|
| 1513 |
+
"bbox": [
|
| 1514 |
+
112,
|
| 1515 |
+
338,
|
| 1516 |
+
480,
|
| 1517 |
+
404
|
| 1518 |
+
],
|
| 1519 |
+
"page_idx": 7
|
| 1520 |
+
},
|
| 1521 |
+
{
|
| 1522 |
+
"type": "text",
|
| 1523 |
+
"text": "3.4.2 Training Epochs and Reward Types",
|
| 1524 |
+
"text_level": 1,
|
| 1525 |
+
"bbox": [
|
| 1526 |
+
112,
|
| 1527 |
+
414,
|
| 1528 |
+
455,
|
| 1529 |
+
432
|
| 1530 |
+
],
|
| 1531 |
+
"page_idx": 7
|
| 1532 |
+
},
|
| 1533 |
+
{
|
| 1534 |
+
"type": "text",
|
| 1535 |
+
"text": "The experiment evaluates the performance of the ICL-bandit approach under two reward settings: continuous and discrete. An epoch is defined as a complete pass through the training data. During each epoch, the ICL-bandit retrieves informative demonstrations, selects the best actions, and updates its retrieval policy based on the rewards received. The results in Figure 4 illustrate how the number of epochs affects performance across various metrics.",
|
| 1536 |
+
"bbox": [
|
| 1537 |
+
112,
|
| 1538 |
+
435,
|
| 1539 |
+
487,
|
| 1540 |
+
594
|
| 1541 |
+
],
|
| 1542 |
+
"page_idx": 7
|
| 1543 |
+
},
|
| 1544 |
+
{
|
| 1545 |
+
"type": "text",
|
| 1546 |
+
"text": "We observe that ICL-bandit's performance varies with the number of epochs, with different metrics reaching their optimal levels at different stages. The continuous reward setting, which provides more detailed feedback, achieves peak performance in fewer epochs compared to the discrete reward setting. This suggests that using continuous rewards in practice can reduce training complexity while still delivering strong performance. Finally, we choose continuous reward with 1 epoch for reducing the complexity and promising results.",
|
| 1547 |
+
"bbox": [
|
| 1548 |
+
112,
|
| 1549 |
+
596,
|
| 1550 |
+
489,
|
| 1551 |
+
774
|
| 1552 |
+
],
|
| 1553 |
+
"page_idx": 7
|
| 1554 |
+
},
|
| 1555 |
+
{
|
| 1556 |
+
"type": "text",
|
| 1557 |
+
"text": "3.5 Application in Practice",
|
| 1558 |
+
"text_level": 1,
|
| 1559 |
+
"bbox": [
|
| 1560 |
+
112,
|
| 1561 |
+
787,
|
| 1562 |
+
341,
|
| 1563 |
+
802
|
| 1564 |
+
],
|
| 1565 |
+
"page_idx": 7
|
| 1566 |
+
},
|
| 1567 |
+
{
|
| 1568 |
+
"type": "text",
|
| 1569 |
+
"text": "We deployed the ICL-Bandit approach in Microsoft's ad relevance pipeline to reduce manual labeling costs and enhance ad recommendation quality. Each day, the system collects fresh user queries and ads, cleans them using Bing's distributed platform, and applies ICL-Bandit for automated labeling. For each query-ad pair, we retrieve 3 relevant",
|
| 1570 |
+
"bbox": [
|
| 1571 |
+
112,
|
| 1572 |
+
808,
|
| 1573 |
+
489,
|
| 1574 |
+
921
|
| 1575 |
+
],
|
| 1576 |
+
"page_idx": 7
|
| 1577 |
+
},
|
| 1578 |
+
{
|
| 1579 |
+
"type": "image",
|
| 1580 |
+
"img_path": "images/c7a9608267025bd44e4cff50d16a16db196712f3a8eade1cc6edc02102dd581b.jpg",
|
| 1581 |
+
"image_caption": [
|
| 1582 |
+
"Figure 4: Performance on different epochs and reward types."
|
| 1583 |
+
],
|
| 1584 |
+
"image_footnote": [],
|
| 1585 |
+
"bbox": [
|
| 1586 |
+
487,
|
| 1587 |
+
291,
|
| 1588 |
+
870,
|
| 1589 |
+
445
|
| 1590 |
+
],
|
| 1591 |
+
"page_idx": 7
|
| 1592 |
+
},
|
| 1593 |
+
{
|
| 1594 |
+
"type": "text",
|
| 1595 |
+
"text": "and 3 irrelevant historical examples to construct prompts, which are then labeled using GPT-4. This process generates high-quality labeled data daily for downstream CTR prediction (Lee et al., 2023). Table 4: A/B testing on English datasets with GPT-4 as the backbone LLM.",
|
| 1596 |
+
"bbox": [
|
| 1597 |
+
507,
|
| 1598 |
+
508,
|
| 1599 |
+
882,
|
| 1600 |
+
601
|
| 1601 |
+
],
|
| 1602 |
+
"page_idx": 7
|
| 1603 |
+
},
|
| 1604 |
+
{
|
| 1605 |
+
"type": "table",
|
| 1606 |
+
"img_path": "images/00785c36547c7532e2d1e4f7d47949c2daeac7ff95b89f2c199cb886f71d897a.jpg",
|
| 1607 |
+
"table_caption": [],
|
| 1608 |
+
"table_footnote": [],
|
| 1609 |
+
"table_body": "<table><tr><td>Model</td><td>ACC (%)</td><td>F1-score (%)</td><td>Precision (%)</td><td>Recall (%)</td></tr><tr><td>No Example</td><td>66.82</td><td>62.18</td><td>63.74</td><td>60.75</td></tr><tr><td>KNN</td><td>76.52</td><td>75.12</td><td>78.72</td><td>71.81</td></tr><tr><td>ICL-Bandit (Ours)</td><td>87.12</td><td>82.28</td><td>86.95</td><td>78.17</td></tr></table>",
|
| 1610 |
+
"bbox": [
|
| 1611 |
+
510,
|
| 1612 |
+
612,
|
| 1613 |
+
895,
|
| 1614 |
+
652
|
| 1615 |
+
],
|
| 1616 |
+
"page_idx": 7
|
| 1617 |
+
},
|
| 1618 |
+
{
|
| 1619 |
+
"type": "table",
|
| 1620 |
+
"img_path": "images/661adebf40a989bdf0e8a7559eab2164447c9e5539bf73f9ac345639ce2fd34c.jpg",
|
| 1621 |
+
"table_caption": [
|
| 1622 |
+
"Table 5: A/B testing on non-English dataset with GPT-4 as the backbone LLM."
|
| 1623 |
+
],
|
| 1624 |
+
"table_footnote": [],
|
| 1625 |
+
"table_body": "<table><tr><td>Model</td><td>ACC (%)</td><td>F1-score (%)</td><td>Precision (%)</td><td>Recall (%)</td></tr><tr><td>No Example</td><td>63.26</td><td>59.48</td><td>60.17</td><td>58.79</td></tr><tr><td>KNN</td><td>70.67</td><td>75.44</td><td>70.86</td><td>80.81</td></tr><tr><td>ICL-Bandit (Ours)</td><td>80.67</td><td>85.68</td><td>82.57</td><td>89.14</td></tr></table>",
|
| 1626 |
+
"bbox": [
|
| 1627 |
+
510,
|
| 1628 |
+
705,
|
| 1629 |
+
895,
|
| 1630 |
+
744
|
| 1631 |
+
],
|
| 1632 |
+
"page_idx": 7
|
| 1633 |
+
},
|
| 1634 |
+
{
|
| 1635 |
+
"type": "text",
|
| 1636 |
+
"text": "As shown in Tables 4 and 5, ICL-Bandit consistently outperforms baselines in both English and non-English settings, demonstrating robust improvements in accuracy, F1-score, precision, and recall.",
|
| 1637 |
+
"bbox": [
|
| 1638 |
+
507,
|
| 1639 |
+
760,
|
| 1640 |
+
884,
|
| 1641 |
+
838
|
| 1642 |
+
],
|
| 1643 |
+
"page_idx": 7
|
| 1644 |
+
},
|
| 1645 |
+
{
|
| 1646 |
+
"type": "text",
|
| 1647 |
+
"text": "3.6 Impact on Ad Recommendation",
|
| 1648 |
+
"text_level": 1,
|
| 1649 |
+
"bbox": [
|
| 1650 |
+
507,
|
| 1651 |
+
851,
|
| 1652 |
+
806,
|
| 1653 |
+
866
|
| 1654 |
+
],
|
| 1655 |
+
"page_idx": 7
|
| 1656 |
+
},
|
| 1657 |
+
{
|
| 1658 |
+
"type": "text",
|
| 1659 |
+
"text": "Integrating ICL-Bandit-labeled data into Bing's CTR prediction model led to significant business gains. Offline evaluation on 500K historical query-",
|
| 1660 |
+
"bbox": [
|
| 1661 |
+
507,
|
| 1662 |
+
873,
|
| 1663 |
+
882,
|
| 1664 |
+
921
|
| 1665 |
+
],
|
| 1666 |
+
"page_idx": 7
|
| 1667 |
+
},
|
| 1668 |
+
{
|
| 1669 |
+
"type": "page_number",
|
| 1670 |
+
"text": "23446",
|
| 1671 |
+
"bbox": [
|
| 1672 |
+
475,
|
| 1673 |
+
927,
|
| 1674 |
+
524,
|
| 1675 |
+
940
|
| 1676 |
+
],
|
| 1677 |
+
"page_idx": 7
|
| 1678 |
+
},
|
| 1679 |
+
{
|
| 1680 |
+
"type": "text",
|
| 1681 |
+
"text": "ad pairs showed a $2.5\\%$ AUC increase and $1.8\\%$ reduction in Log Loss. In two weeks of online A/B testing with 2 million users, CTR rose by $3.2\\%$ and conversion rates improved by $2.7\\%$ . Beyond performance, the automated labeling process reduced manual annotation costs by $61\\%$ , enabling scalable and cost-effective data processing across millions of queries daily. The results of the A/B testing on English and Non-English datasets are summarized in Table 4 and Table 5.",
|
| 1682 |
+
"bbox": [
|
| 1683 |
+
112,
|
| 1684 |
+
84,
|
| 1685 |
+
489,
|
| 1686 |
+
243
|
| 1687 |
+
],
|
| 1688 |
+
"page_idx": 8
|
| 1689 |
+
},
|
| 1690 |
+
{
|
| 1691 |
+
"type": "text",
|
| 1692 |
+
"text": "4 Related Work",
|
| 1693 |
+
"text_level": 1,
|
| 1694 |
+
"bbox": [
|
| 1695 |
+
112,
|
| 1696 |
+
258,
|
| 1697 |
+
270,
|
| 1698 |
+
273
|
| 1699 |
+
],
|
| 1700 |
+
"page_idx": 8
|
| 1701 |
+
},
|
| 1702 |
+
{
|
| 1703 |
+
"type": "text",
|
| 1704 |
+
"text": "4.1 LLM Labeling",
|
| 1705 |
+
"text_level": 1,
|
| 1706 |
+
"bbox": [
|
| 1707 |
+
112,
|
| 1708 |
+
285,
|
| 1709 |
+
278,
|
| 1710 |
+
300
|
| 1711 |
+
],
|
| 1712 |
+
"page_idx": 8
|
| 1713 |
+
},
|
| 1714 |
+
{
|
| 1715 |
+
"type": "text",
|
| 1716 |
+
"text": "Latest studies in LLM have shown that LLM is highly consistent with human judgments and even outperforms humans in many tasks, for example, topic identification and twitter relevance for political issues (Gilardi et al., 2023), general question-answering data generation (Meng et al., 2023), instruction data generation (Wang et al., 2022b) and RL from AI feedback (RLAIF) (Lee et al., 2023). A set of work using LLM for labeling instead of human (Tan et al., 2024; Alaofi et al., 2024; Artemova et al., 2024). In this work, we focus on a domain-specific labeling problem, i.e., query-ad relevance labeling, which requires domain knowledge to guide LLM for labeling.",
|
| 1717 |
+
"bbox": [
|
| 1718 |
+
112,
|
| 1719 |
+
307,
|
| 1720 |
+
489,
|
| 1721 |
+
533
|
| 1722 |
+
],
|
| 1723 |
+
"page_idx": 8
|
| 1724 |
+
},
|
| 1725 |
+
{
|
| 1726 |
+
"type": "text",
|
| 1727 |
+
"text": "4.2 Demonstration Retrieval for In-Context Learning",
|
| 1728 |
+
"text_level": 1,
|
| 1729 |
+
"bbox": [
|
| 1730 |
+
112,
|
| 1731 |
+
544,
|
| 1732 |
+
473,
|
| 1733 |
+
576
|
| 1734 |
+
],
|
| 1735 |
+
"page_idx": 8
|
| 1736 |
+
},
|
| 1737 |
+
{
|
| 1738 |
+
"type": "text",
|
| 1739 |
+
"text": "LLMs have emerged as a pivotal strategy for addressing tasks specific to particular domains. However, the effectiveness of ICL is intrinsically tied to the quality of the provided demonstrations (Li et al., 2023; Wu et al.; Zhang et al., 2022). Works such as (Rubin et al., 2021; Li et al., 2023; Wu et al.; Zhang et al., 2022) collectively aim to optimize the retrieval of exemplary instances from annotated training sets, thereby enhancing the domain knowledge encapsulated by LLMs.",
|
| 1740 |
+
"bbox": [
|
| 1741 |
+
112,
|
| 1742 |
+
583,
|
| 1743 |
+
489,
|
| 1744 |
+
743
|
| 1745 |
+
],
|
| 1746 |
+
"page_idx": 8
|
| 1747 |
+
},
|
| 1748 |
+
{
|
| 1749 |
+
"type": "text",
|
| 1750 |
+
"text": "Existing demonstration retrieval methods are typically categorized into utilization of off-the-shelf retrievers such as BM25 (Robertson et al., 2009) or KNN (Guo et al., 2003), or training task-specific retrievers using positive and negative demonstrations (Rubin et al., 2021; Shi et al., 2022; Li et al., 2023). These researchers leverage LLM feedback to guide the training of these retrievers through supervised or contrastive learning. Despite these advancements, the vast combinatorial space encompassing different demonstrations and queries",
|
| 1751 |
+
"bbox": [
|
| 1752 |
+
112,
|
| 1753 |
+
744,
|
| 1754 |
+
489,
|
| 1755 |
+
921
|
| 1756 |
+
],
|
| 1757 |
+
"page_idx": 8
|
| 1758 |
+
},
|
| 1759 |
+
{
|
| 1760 |
+
"type": "text",
|
| 1761 |
+
"text": "presents a significant challenge. Randomly sampling demonstrations to collect LLM feedback risks incorporating a substantial portion of less useful examples. Reinforcement learning-based methods (Zhang et al., 2022; Deng et al., 2022) actively sample demonstrations and elicit valuable LLM feedback. However, they are constrained by a fixed number of demonstrations, thereby limiting the action space available for policy training.",
|
| 1762 |
+
"bbox": [
|
| 1763 |
+
507,
|
| 1764 |
+
84,
|
| 1765 |
+
884,
|
| 1766 |
+
230
|
| 1767 |
+
],
|
| 1768 |
+
"page_idx": 8
|
| 1769 |
+
},
|
| 1770 |
+
{
|
| 1771 |
+
"type": "text",
|
| 1772 |
+
"text": "5 Conclusion",
|
| 1773 |
+
"text_level": 1,
|
| 1774 |
+
"bbox": [
|
| 1775 |
+
509,
|
| 1776 |
+
240,
|
| 1777 |
+
640,
|
| 1778 |
+
255
|
| 1779 |
+
],
|
| 1780 |
+
"page_idx": 8
|
| 1781 |
+
},
|
| 1782 |
+
{
|
| 1783 |
+
"type": "text",
|
| 1784 |
+
"text": "In this paper, we leverage LLMs to automate query-ad relevance labeling for improved ad recommendation. To address the lack of domain-specific knowledge in LLMs, we adopt in-context learning (ICL) and propose ICL-Bandit, a stochastic bandit algorithm for retrieving high-quality demonstrations and collecting LLM feedback to train a retriever. Our approach outperforms existing retrieval methods and has been successfully deployed in Microsoft's ad recommendation system, delivering significant cost savings and strong real-world effectiveness.",
|
| 1785 |
+
"bbox": [
|
| 1786 |
+
507,
|
| 1787 |
+
266,
|
| 1788 |
+
884,
|
| 1789 |
+
457
|
| 1790 |
+
],
|
| 1791 |
+
"page_idx": 8
|
| 1792 |
+
},
|
| 1793 |
+
{
|
| 1794 |
+
"type": "text",
|
| 1795 |
+
"text": "6 Limitations",
|
| 1796 |
+
"text_level": 1,
|
| 1797 |
+
"bbox": [
|
| 1798 |
+
507,
|
| 1799 |
+
470,
|
| 1800 |
+
645,
|
| 1801 |
+
483
|
| 1802 |
+
],
|
| 1803 |
+
"page_idx": 8
|
| 1804 |
+
},
|
| 1805 |
+
{
|
| 1806 |
+
"type": "text",
|
| 1807 |
+
"text": "ICL-Bandit's performance heavily relies on the quality and coverage of the labeled demonstration pool. If the pool lacks diverse or representative examples for certain query-ad pairs, the retrieved demonstrations may be suboptimal, limiting the effectiveness of in-context learning. This constraint can affect generalization, especially in long-tail or evolving domains where labeled data is sparse or outdated.",
|
| 1808 |
+
"bbox": [
|
| 1809 |
+
507,
|
| 1810 |
+
495,
|
| 1811 |
+
882,
|
| 1812 |
+
639
|
| 1813 |
+
],
|
| 1814 |
+
"page_idx": 8
|
| 1815 |
+
},
|
| 1816 |
+
{
|
| 1817 |
+
"type": "text",
|
| 1818 |
+
"text": "References",
|
| 1819 |
+
"text_level": 1,
|
| 1820 |
+
"bbox": [
|
| 1821 |
+
510,
|
| 1822 |
+
667,
|
| 1823 |
+
608,
|
| 1824 |
+
682
|
| 1825 |
+
],
|
| 1826 |
+
"page_idx": 8
|
| 1827 |
+
},
|
| 1828 |
+
{
|
| 1829 |
+
"type": "list",
|
| 1830 |
+
"sub_type": "ref_text",
|
| 1831 |
+
"list_items": [
|
| 1832 |
+
"Marwah Alaofi, Paul Thomas, Falk Scholer, and Mark Sanderson. 2024. Llms can be fooled into labelling a document as relevant: best café near me; this paper is perfectly relevant. In Proceedings of the 2024 Annual International ACM SIGIR Conference on Research and Development in Information Retrieval in the Asia Pacific Region, pages 32-41.",
|
| 1833 |
+
"Ekaterina Artemova, Akim Tsvigun, Dominik Schlechtweg, Natalia Fedorova, Sergei Tilga, and Boris Obmoroshev. 2024. Hands-on tutorial: Labeling with llm and human-in-the-loop. arXiv preprint arXiv:2411.04637.",
|
| 1834 |
+
"Sebastien Bubeck, Nicolo Cesa-Bianchi, and 1 others. 2012. Regret analysis of stochastic and nonstochastic multi-armed bandit problems. Foundations and Trends® in Machine Learning, 5(1):1-122."
|
| 1835 |
+
],
|
| 1836 |
+
"bbox": [
|
| 1837 |
+
509,
|
| 1838 |
+
689,
|
| 1839 |
+
885,
|
| 1840 |
+
921
|
| 1841 |
+
],
|
| 1842 |
+
"page_idx": 8
|
| 1843 |
+
},
|
| 1844 |
+
{
|
| 1845 |
+
"type": "page_number",
|
| 1846 |
+
"text": "23447",
|
| 1847 |
+
"bbox": [
|
| 1848 |
+
475,
|
| 1849 |
+
927,
|
| 1850 |
+
524,
|
| 1851 |
+
940
|
| 1852 |
+
],
|
| 1853 |
+
"page_idx": 8
|
| 1854 |
+
},
|
| 1855 |
+
{
|
| 1856 |
+
"type": "list",
|
| 1857 |
+
"sub_type": "ref_text",
|
| 1858 |
+
"list_items": [
|
| 1859 |
+
"Mingkai Deng, Jianyu Wang, Cheng-Ping Hsieh, Yihan Wang, Han Guo, Tianmin Shu, Meng Song, Eric P Xing, and Zhiting Hu. 2022. Rlprompt: Optimizing discrete text prompts with reinforcement learning. arXiv preprint arXiv:2205.12548.",
|
| 1860 |
+
"Qingxiu Dong, Lei Li, Damai Dai, Ce Zheng, Zhiyong Wu, Baobao Chang, Xu Sun, Jingjing Xu, and Zhifang Sui. 2022. A survey for in-context learning. arXiv preprint arXiv:2301.00234.",
|
| 1861 |
+
"Fabrizio Gilardi, Meysam Alizadeh, and Maël Kubli. 2023. Chatgpt outperforms crowd-workers for text-annotation tasks. arXiv preprint arXiv:2303.15056.",
|
| 1862 |
+
"Gongde Guo, Hui Wang, David Bell, Yaxin Bi, and Kieran Greer. 2003. Knn model-based approach in classification. In On The Move to Meaningful Internet Systems 2003: CoopIS, DOA, and ODBASE: OTM Confederated International Conferences, CoopIS, DOA, and ODBASE 2003, Catania, Sicily, Italy, November 3-7, 2003. Proceedings, pages 986-996. Springer.",
|
| 1863 |
+
"Jannik Kossen, Tom Rainforth, and Yarin Gal. 2023. In-context learning in large language models learns label relationships but is not conventional learning. arXiv preprint arXiv:2307.12375.",
|
| 1864 |
+
"Tze Leung Lai and Herbert Robbins. 1985. Asymptotically efficient adaptive allocation rules. Advances in applied mathematics, 6(1):4-22.",
|
| 1865 |
+
"Harrison Lee, Samrat Phatale, Hassan Mansoor, Kellie Lu, Thomas Mesnard, Colton Bishop, Victor Carbune, and Abhinav Rastogi. 2023. Rlaif: Scaling reinforcement learning from human feedback with ai feedback. arXiv preprint arXiv:2309.00267.",
|
| 1866 |
+
"Lihong Li, Wei Chu, John Langford, and Robert E Schapire. 2010. A contextual-bandit approach to personalized news article recommendation. In Proceedings of the 19th international conference on World wide web, pages 661-670.",
|
| 1867 |
+
"Xiaonan Li, Kai Lv, Hang Yan, Tianyang Lin, Wei Zhu, Yuan Ni, Guotong Xie, Xiaoling Wang, and Xipeng Qiu. 2023. Unified demonstration retriever for in-context learning. arXiv preprint arXiv:2305.04320.",
|
| 1868 |
+
"Xiaoliang Ling, Weiwei Deng, Chen Gu, Hucheng Zhou, Cui Li, and Feng Sun. 2017. Model ensemble for click prediction in bing search ads. In Proceedings of the 26th international conference on world wide web companion, pages 689-698.",
|
| 1869 |
+
"Yu Meng, Martin Michalski, Jiaxin Huang, Yu Zhang, Tarek Abdelzaher, and Jiawei Han. 2023. Tuning language models as training data generators for augmentation-enhanced few-shot learning. In International Conference on Machine Learning, pages 24457-24477. PMLR.",
|
| 1870 |
+
"Long Ouyang, Jeffrey Wu, Xu Jiang, Diogo Almeida, Carroll Wainwright, Pamela Mishkin, Chong Zhang, Sandhini Agarwal, Katarina Slama, Alex Ray, and 1"
|
| 1871 |
+
],
|
| 1872 |
+
"bbox": [
|
| 1873 |
+
115,
|
| 1874 |
+
85,
|
| 1875 |
+
485,
|
| 1876 |
+
919
|
| 1877 |
+
],
|
| 1878 |
+
"page_idx": 9
|
| 1879 |
+
},
|
| 1880 |
+
{
|
| 1881 |
+
"type": "list",
|
| 1882 |
+
"sub_type": "ref_text",
|
| 1883 |
+
"list_items": [
|
| 1884 |
+
"others. 2022. Training language models to follow instructions with human feedback. Advances in Neural Information Processing Systems, 35:27730-27744.",
|
| 1885 |
+
"Stephen Robertson, Hugo Zaragoza, and 1 others. 2009. The probabilistic relevance framework: Bm25 and beyond. Foundations and Trends® in Information Retrieval, 3(4):333-389.",
|
| 1886 |
+
"Ohad Rubin, Jonathan Herzig, and Jonathan Berant. 2021. Learning to retrieve prompts for in-context learning. arXiv preprint arXiv:2112.08633.",
|
| 1887 |
+
"Peng Shi, Rui Zhang, He Bai, and Jimmy Lin. 2022. XrcI: Cross-lingual retrieval-augmented in-context learning for cross-lingual text-to-sql semantic parsing. arXiv preprint arXiv:2210.13693.",
|
| 1888 |
+
"Jiamei Shuai, Shuayb Zarar, and Denis Charles. 2020. Modeling and evaluation framework for responsive search ads. In Machine Learning, AI & Data Science Conference (MLADS). Microsoft.",
|
| 1889 |
+
"Zhen Tan, Dawei Li, Song Wang, Alimohammad Beigi, Bohan Jiang, Amrita Bhattacharjee, Mansoresh Karami, Jundong Li, Lu Cheng, and Huan Liu. 2024. Large language models for data annotation and synthesis: A survey. In Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing, pages 930-957.",
|
| 1890 |
+
"Joannes Vermorel and Mehryar Mohri. 2005. Multiarmed bandit algorithms and empirical evaluation. In European conference on machine learning, pages 437-448. Springer.",
|
| 1891 |
+
"Dong Wang, Shaoguang Yan, Yunqing Xia, Kave Salamatian, Weiwei Deng, and Qi Zhang. 2022a. Learning supplementary nlp features for ctr prediction in sponsored search. In Proceedings of the 28th ACM SIGKDD Conference on Knowledge Discovery and Data Mining, pages 4010-4020.",
|
| 1892 |
+
"Yizhong Wang, Yeganeh Kordi, Swaroop Mishra, Alisa Liu, Noah A Smith, Daniel Khashabi, and Hannaneh Hajishirzi. 2022b. Self-instruct: Aligning language model with self generated instructions. arXiv preprint arXiv:2212.10560.",
|
| 1893 |
+
"Zhiyong Wu, Yaoxiang Wang, Jiacheng Ye, and Lingpeng Kong. Self-adaptive in-context learning: An information compression perspective for in-context example selection and ordering.",
|
| 1894 |
+
"Yiming Zhang, Shi Feng, and Chenhao Tan. 2022. Active example selection for in-context learning. arXiv preprint arXiv:2211.04486."
|
| 1895 |
+
],
|
| 1896 |
+
"bbox": [
|
| 1897 |
+
510,
|
| 1898 |
+
85,
|
| 1899 |
+
880,
|
| 1900 |
+
804
|
| 1901 |
+
],
|
| 1902 |
+
"page_idx": 9
|
| 1903 |
+
},
|
| 1904 |
+
{
|
| 1905 |
+
"type": "page_number",
|
| 1906 |
+
"text": "23448",
|
| 1907 |
+
"bbox": [
|
| 1908 |
+
475,
|
| 1909 |
+
928,
|
| 1910 |
+
524,
|
| 1911 |
+
940
|
| 1912 |
+
],
|
| 1913 |
+
"page_idx": 9
|
| 1914 |
+
},
|
| 1915 |
+
{
|
| 1916 |
+
"type": "text",
|
| 1917 |
+
"text": "A Competitors",
|
| 1918 |
+
"text_level": 1,
|
| 1919 |
+
"bbox": [
|
| 1920 |
+
114,
|
| 1921 |
+
84,
|
| 1922 |
+
263,
|
| 1923 |
+
99
|
| 1924 |
+
],
|
| 1925 |
+
"page_idx": 10
|
| 1926 |
+
},
|
| 1927 |
+
{
|
| 1928 |
+
"type": "text",
|
| 1929 |
+
"text": "For a fair comparison, all baselines and ICL-Bandit (except \"No Example\" and \"Crowdsourcing\") were provided with 3 positive (Relevant) and 3 negative (Irrelevant) historically labeled samples as demonstrations. The following methods were selected as our competitors:",
|
| 1930 |
+
"bbox": [
|
| 1931 |
+
112,
|
| 1932 |
+
110,
|
| 1933 |
+
487,
|
| 1934 |
+
205
|
| 1935 |
+
],
|
| 1936 |
+
"page_idx": 10
|
| 1937 |
+
},
|
| 1938 |
+
{
|
| 1939 |
+
"type": "list",
|
| 1940 |
+
"sub_type": "text",
|
| 1941 |
+
"list_items": [
|
| 1942 |
+
"- No Example (Zero-shot Learning): Zero-shot learning without any demonstrations.",
|
| 1943 |
+
"- Crowdsourcing: Demonstrations annotated by human evaluators through crowdsourcing to assess query-ad relevance. It is different from the human (expert) labeled data for demonstraton pool, train and test data.",
|
| 1944 |
+
"- EPR (SL-KNN): Demonstrations are retrieved using the K-nearest neighbor (KNN) algorithm based on the training datasets as ground truth. EPR (SL-KNN) is then trained to input query-ads and output the retrieved demonstrations to assist the LLM in labeling.",
|
| 1945 |
+
"- EPR (SL-LLM) (Li et al., 2023): Demonstrations are retrieved using GPT-3.5 based on the training datasets as ground truth. EPR (SL-LLM) is then trained to input query-ads and output the retrieved demonstrations to assist the LLM in labeling.",
|
| 1946 |
+
"- Q-learning (Zhang et al., 2022): A demonstration candidate is predefined, and Q-learning is utilized to learn the retrieval policy. Demonstrations are clustered into 50 clusters to implement this algorithm.",
|
| 1947 |
+
"- Static: Demonstrations are pre-defined and kept static.",
|
| 1948 |
+
"- BM25 (Robertson et al., 2009): Demonstrations retrieved using the BM25 algorithm.",
|
| 1949 |
+
"- Random: Demonstrations randomly sampled for each user query.",
|
| 1950 |
+
"- KNN (Guo et al., 2003): Demonstrations are retrieved using the K-nearest neighbor (KNN) algorithm based on the user query. We use the same feature embedding as our method to retrieve the demonstrations with cosine similarity in KNN."
|
| 1951 |
+
],
|
| 1952 |
+
"bbox": [
|
| 1953 |
+
114,
|
| 1954 |
+
206,
|
| 1955 |
+
487,
|
| 1956 |
+
769
|
| 1957 |
+
],
|
| 1958 |
+
"page_idx": 10
|
| 1959 |
+
},
|
| 1960 |
+
{
|
| 1961 |
+
"type": "text",
|
| 1962 |
+
"text": "B Experimental Setup",
|
| 1963 |
+
"text_level": 1,
|
| 1964 |
+
"bbox": [
|
| 1965 |
+
114,
|
| 1966 |
+
782,
|
| 1967 |
+
324,
|
| 1968 |
+
799
|
| 1969 |
+
],
|
| 1970 |
+
"page_idx": 10
|
| 1971 |
+
},
|
| 1972 |
+
{
|
| 1973 |
+
"type": "text",
|
| 1974 |
+
"text": "Dataset: In the experiments, we leveraged a meticulously curated dataset tailored specifically for assessing the efficacy of demonstration retrieval systems. This dataset is derived from high-quality human (expert)-labeled data collected daily over the recent 1.5-year period. Each sample in the dataset consists of a user query along with associated infor",
|
| 1975 |
+
"bbox": [
|
| 1976 |
+
112,
|
| 1977 |
+
808,
|
| 1978 |
+
489,
|
| 1979 |
+
921
|
| 1980 |
+
],
|
| 1981 |
+
"page_idx": 10
|
| 1982 |
+
},
|
| 1983 |
+
{
|
| 1984 |
+
"type": "text",
|
| 1985 |
+
"text": "mation about recommended advertisements. This information includes query keywords, ad titles, ad descriptions, ad URLs, and other pertinent content, each labeled as either relevant or irrelevant.",
|
| 1986 |
+
"bbox": [
|
| 1987 |
+
507,
|
| 1988 |
+
84,
|
| 1989 |
+
882,
|
| 1990 |
+
148
|
| 1991 |
+
],
|
| 1992 |
+
"page_idx": 10
|
| 1993 |
+
},
|
| 1994 |
+
{
|
| 1995 |
+
"type": "text",
|
| 1996 |
+
"text": "To facilitate a robust evaluation, we partitioned the dataset temporally into three distinct subsets: an example pool, a training set, and a test set. The example pool contains all 1,578,728 samples as demonstrations, ensuring a comprehensive range of instances. For the purpose of training the model, we selected a subset of 9,999 samples specifically for query-ads pair labeling. The evaluation phase was carried out on a test set, which included 1,986 samples also designated for query-ads pair labeling. This temporal division helps in mimicking real-world scenarios where models are trained on historical data and tested on recent, unseen data, thereby providing insights into the practical applicability and performance of the retrieval methods under study.",
|
| 1997 |
+
"bbox": [
|
| 1998 |
+
507,
|
| 1999 |
+
149,
|
| 2000 |
+
882,
|
| 2001 |
+
405
|
| 2002 |
+
],
|
| 2003 |
+
"page_idx": 10
|
| 2004 |
+
},
|
| 2005 |
+
{
|
| 2006 |
+
"type": "text",
|
| 2007 |
+
"text": "Evaluation Metric: Our in-context learning method aims to enhance the labeling performance of large language models (LLMs). Given that the labeling task at hand is a binary classification problem, we evaluate the effectiveness of our approach using several key metrics. Specifically, we measure Accuracy (ACC), F1-Score, Precision, and Recall. These metrics collectively provide a comprehensive assessment of the model's performance in terms of both its ability to correctly label data and its balance between precision and recall.",
|
| 2008 |
+
"bbox": [
|
| 2009 |
+
507,
|
| 2010 |
+
406,
|
| 2011 |
+
882,
|
| 2012 |
+
582
|
| 2013 |
+
],
|
| 2014 |
+
"page_idx": 10
|
| 2015 |
+
},
|
| 2016 |
+
{
|
| 2017 |
+
"type": "text",
|
| 2018 |
+
"text": "Computational Resource All experiments are performed on single Ubuntu 20.04 LTS system with Intel(R) Xeon(R) CPU E5-2690 v3 @ 2.60GHz CPU, 112 Gigabyte memory and single NVIDIA Tesla P100 accelerator.",
|
| 2019 |
+
"bbox": [
|
| 2020 |
+
507,
|
| 2021 |
+
583,
|
| 2022 |
+
880,
|
| 2023 |
+
661
|
| 2024 |
+
],
|
| 2025 |
+
"page_idx": 10
|
| 2026 |
+
},
|
| 2027 |
+
{
|
| 2028 |
+
"type": "page_number",
|
| 2029 |
+
"text": "23449",
|
| 2030 |
+
"bbox": [
|
| 2031 |
+
475,
|
| 2032 |
+
927,
|
| 2033 |
+
524,
|
| 2034 |
+
940
|
| 2035 |
+
],
|
| 2036 |
+
"page_idx": 10
|
| 2037 |
+
}
|
| 2038 |
+
]
|
2025/ICL-Bandit_ Relevance Labeling in Advertisement Recommendation Systems via LLM/deeabab9-126e-40e2-a116-c0a839b8d3f0_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2025/ICL-Bandit_ Relevance Labeling in Advertisement Recommendation Systems via LLM/deeabab9-126e-40e2-a116-c0a839b8d3f0_origin.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:444c4ef777416c9876bb05d9dd3467ed88b96ef1c6a6526ddef58ee0af464486
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# ICL-Bandit: Relevance Labeling in Advertisement Recommendation Systems via LLM
|
| 2 |
+
|
| 3 |
+
Lu Wang $^{1}$ , Chiming Duan $^{2*}$ , Pu Zhao $^{1}$ , Fangkai Yang $^{1}$ , Yong Shi $^{1}$ , Xuefeng Luo $^{1}$ , Bingjing Xu $^{1}$ , Weiwei Deng $^{1}$ , Qingwei Lin $^{1}$ , Dongmei Zhang $^{1}$ $^{1}$ Microsoft, $^{2}$ Peking University
|
| 4 |
+
|
| 5 |
+
# Abstract
|
| 6 |
+
|
| 7 |
+
Measuring the relevance between user queries and advertisements is a critical task for advertisement (ad) recommendation systems, such as Microsoft Bing Ads and Google Ads. Traditionally, this requires expert data labeling, which is both costly and time-consuming. Recent advances have explored using Large Language Models (LLMs) for labeling, but these models often lack domain-specific knowledge. In-context learning (ICL), which involves providing a few demonstrations, is a common practice to enhance LLM performance on domain-specific tasks. However, retrieving high-quality demonstrations in a vast exploration space remains challenging. In this paper, we introduce ICL-Bandit, a practical and effective approach that leverages ICL to enhance the query-ad relevance labeling capabilities of LLMs. We develop a novel bandit learning method to identify and provide superior demonstrations for ICL, thereby improving labeling performance. Experimental results demonstrate that ICL-Bandit achieves state-of-the-art performance compared to existing methods. Additionally, ICL-Bandit has been deployed in Microsoft that serves billions of users worldwide, confirming its robustness and effectiveness.
|
| 8 |
+
|
| 9 |
+
# 1 Introduction
|
| 10 |
+
|
| 11 |
+
In advertisement (ad) recommendation systems such as Microsoft Bing Ads and Google Ads, high-quality labeled data is of critical importance for training ad recommendation models, especially labeling the relevance between user query text and ad description text, as discussed in (Ling et al., 2017; Shuai et al., 2020; Wang et al., 2022a). The traditional approach is human labeling which is costly and inefficient. This is particularly challenging given the huge amount of data to be labelled, and labeling such relevance between user query and ad
|
| 12 |
+
|
| 13 |
+
requires a good knowledge and experience. For example,
|
| 14 |
+
|
| 15 |
+
# User Query:
|
| 16 |
+
|
| 17 |
+
"Innovative treatments for reducing hospital readmission rates in heart failure patients."
|
| 18 |
+
|
| 19 |
+
# Advertisement:
|
| 20 |
+
|
| 21 |
+
"Remote Patient Monitoring Systems - Continuous Care for Heart Failure Patients"
|
| 22 |
+
|
| 23 |
+
This query-ad pair is labeled as relevant since remote patient monitoring systems provide continuous care and real-time health data, enabling proactive management of heart failure, which is essential for reducing hospital readmission rates, and such manual labeling requires domain knowledge.
|
| 24 |
+
|
| 25 |
+
Recent advances in Large Language Models (LLMs) have shown that LLMs are highly aligned with human judgments and even surpass human performance in certain tasks (Ouyang et al., 2022), such as topic identification and twitter relevance for political issues (Gilardi et al., 2023), general question-answering data generation (Meng et al., 2023), and instruction data generation (Wang et al., 2022b). However, the lack of domain knowledge limits the performance of LLM in the query-ad relevance labeling task. To address this challenge, many approaches employed in-context learning (ICL) to incorporate domain-specific knowledge as extra context in the LLM's prompt (Kossen et al., 2023; Dong et al., 2022). Besides, it is well known that the effectiveness of ICL heavily depends on the quality of the provided demonstrations, which has motivated many works to explore effective demonstration retrieval methods for ICL, such as (Rubin et al., 2021; Li et al., 2023; Wu et al.; Zhang et al., 2022), all of these methods aim to retrieve better examples from annotated training sets to enhance LLMs' domain knowledge.
|
| 26 |
+
|
| 27 |
+
Previous work on demonstration retrieval falls
|
| 28 |
+
|
| 29 |
+
into two categories. One category involves off-the-shelf retrievers like BM25 (Robertson et al., 2009) or KNN (Guo et al., 2003), which can retrieve textually or semantically similar demonstrations. The other category focuses on training task-specific retrievers with positive and negative demonstrations. Notable examples include Rubin et al. (Rubin et al., 2021), Shi et al. (Shi et al., 2022), and Xiaonan et al. (Li et al., 2023), who leverage LLM feedback (compare the labels generated by LLM with the ground-truth labels, using them as the training signal) to train these retrievers via supervised or contrastive learning. However, the vast combination space of different demonstrations and queries poses a challenge. Randomly sampling demonstrations to collect the LLM's feedback may lead to large parts of "less useful" examples. Some methods, like Zhang et al. (Zhang et al., 2022) and Mingkai et al. (Deng et al., 2022), employ reinforcement learning to actively sample demonstrations and obtain LLM feedback. But these methods are limited in considering only a fixed number of candidate demonstrations, which reduces the action space for policy training.
|
| 30 |
+
|
| 31 |
+
To overcome the challenges addressed above in SOTA methods, at first, we frame demonstration retrieval problem as a multi-armed bandit (MAB) problem (Lai and Robbins, 1985), and bandit algorithms solving MAB problems (Vermorel and Mohri, 2005; Li et al., 2010) have demonstrated excellent performance in addressing exploration and exploitation dilemma when dealing with largescale search spaces. This allows us to design effective exploration techniques for sampling demonstrations and obtaining LLM feedback during retriever training. Then, we propose a novel in-context learning (ICL) algorithm, called ICL-Bandit, which leverages a stochastic bandit algorithm to empower ICL at scale with diverse demonstration pools. The objective of ICL-Bandit is to retrieve demonstrations and maximize cumulative positive LLM feedback over a series of retrievals. Figure 1 shows a comparison on the example query-ad pair with demonstrations retrieved with KNN and our ICL-Bandit, respectively.
|
| 32 |
+
|
| 33 |
+
Our contributions can be summarized as follows:
|
| 34 |
+
|
| 35 |
+
- We formulate demonstration retrieval as a multi-armed bandit problem, focusing on effective retrieval during retriever training.
|
| 36 |
+
- We design a stochastic bandit algorithm suitable for ICL with a large and varied demon
|
| 37 |
+
|
| 38 |
+
stration pool.
|
| 39 |
+
|
| 40 |
+
- Our approach achieves SOTA performance comparing to other existing methods and it has been deployed to the labeling process at Microsoft, resulting in substantial cost savings by automated labeling.
|
| 41 |
+
|
| 42 |
+
# 2 ICL-Bandit with large and varied demonstration pool
|
| 43 |
+
|
| 44 |
+
In this section, we introduce ICL-Bandit, a stochastic bandit algorithm designed to efficiently retrieve demonstrations and collect LLM feedback during retriever training. The task is to precisely label query-ad relevance with ICL, and our goal is to train a demonstration retriever which retrieves good demonstrations for ICL. When training the retriever using LLM feedback (we compare the output labels generated by the LLM with the ground-truth labels, employing them as the reward signal), the key lies in how to effectively retrieve demonstrations from a large and diverse pool during the training process. Addressing the Exploration (searching for diverse and potentially informative demonstrations) versus Exploitation (retrieving high-reward demonstrations) balance is pivotal. To tackle this challenge, we first formulate the demonstration retrieval task as a bandit problem.
|
| 45 |
+
|
| 46 |
+
# 2.1 Task Definition
|
| 47 |
+
|
| 48 |
+
The task is to label the relevance of query-ad pairs leveraging LLMs. Compared with zero-shot LLM labeling, providing with demonstrations as context in the ICL manner improves the labeling performance. The ICL prompt comprises four key components:
|
| 49 |
+
|
| 50 |
+
- Instruction We employ the following instruction to describe labeling requests: "Given user query and an ad, assign a label based on following definitions: - 'Relevant': The ad content directly addresses the user's query, providing information or a solution that aligns with the search intent. - 'Irrelevant': The ad content does not address the user's query, failing to provide information or a solution that matches the search intent." This instruction guides the relevance labeling process for LLMs.
|
| 51 |
+
- Input The input component specifies the query and ad requiring labeling. For instance, "User
|
| 52 |
+
|
| 53 |
+

|
| 54 |
+
Figure 1: An example illustrating how LLM labeler prompting, when combined with demonstrations retrieved via KNN and our ICL-Bandit approach, yields distinct labeling outcomes.
|
| 55 |
+
|
| 56 |
+

|
| 57 |
+
Figure 2: An illustration on training demonstration retrieval process of ICL-Bandit. The demonstration pool consists of expert labeled demonstrations, and each demonstration includes user query, advertisement, and label. For each query-ad from the training set, ICL-Bandit retrieves demonstrations from the demonstration pool considering the estimated reward distribution. With the retrieved demonstrations as the context, LLM labels the query-ad as relevant or irrelevant. Then the LLM-generated label is compared with the ground truth label from the training set to give feedback. In the figure, the positive reward (matched label) is used to update ICL-Bandit to refine the retrieval policy.
|
| 58 |
+
|
| 59 |
+
Query: 'Student loans suspended until september'; Advertisement: '10 Best Student Loan Refinance''. This information sets the context for the query-ad labeling task.
|
| 60 |
+
|
| 61 |
+
- Demonstrations Demonstrations consist of a set of labeled demonstrations, such as, "User Query: 'School registration', Advertisement: 'Find Virtual School Programs', Label: Relevant". Different retrieved demonstrations would highly affect the labeling performance. These examples, provided by human annotators, serve as training instances for a policy $\pi_{\theta}$ that leverages LLM feedback to retrieve appropriate demonstrations for each unique input.
|
| 62 |
+
- Output Indicator The output indicator instructs
|
| 63 |
+
|
| 64 |
+
the LLM to generate the labeling answer. For instance, "Return your decision on the label in $<\text{Label}>$ {{ $\text{}/\text{Label}>$ tags."}. This guides the LLM to generate the final label.
|
| 65 |
+
|
| 66 |
+
# 2.2 Problem Formulation
|
| 67 |
+
|
| 68 |
+
The key of the labeling task lies in retrieving informative demonstrations for ICL labeling, then we formulate the demonstration retrieval problem as a multi-armed bandit (MAB) problem, drawing an analogy to the scenario of a gambler selecting from a slot machine with multiple arms in a casino. The player's objective is to choose the arm that offers the highest expected gain. Each time the player pulls an arm and receives a gain or not, they update their estimation of the arm's potential
|
| 69 |
+
|
| 70 |
+
gain. Similar to this scenario, in the query-ad relevance labeling task, we propose a MAB approach to retrieve demonstrations from a pool to achieve a good performance. We define key components such as states, arms, rewards, and the overall objective. **Trial:** In each trial $t$ , our goal is to retrieve $m$ demonstration from the demonstration pool. **State:** State $s_t$ represents the current contextual environment. In the context of ICL, $s_t$ denotes the embedding of the query and ads that require labeling. **Arm/Action:** Each arm in the MAB problem corresponds to a potential demonstration, representing different choice or action that can be taken during the ICL labeling. **Reward:** The reward $r_{(t,a_k)}$ provides numerical feedback, indicating whether the LLM assigns the correct relevance label based on the retrieved demonstration $a_k$ . We define two reward options: a continuous reward $r_{(t,a_k)} \in [0,1]$ (representing the probability of the LLM's output label) and a discrete reward $r_{(t,a_k)} \in [0,1]$ . In the discrete case, a correct label receives a reward of 1, while an incorrect label receives 0. **Objective:** The overall goal is to learn a retrieval policy $\pi_\theta$ by maximizing the cumulative reward over a series of trials during training.
|
| 71 |
+
|
| 72 |
+
The process of using a MAB algorithm to efficiently retrieve demonstrations during training consists of the following steps:
|
| 73 |
+
|
| 74 |
+
Step 1: Retrieval of Demonstrations At each trial $t$ , the retrieval policy $\pi_{\theta}$ retrieves a demonstration (arm) $a_{k}$ from a demonstration pool. The optimal retrieval will be conducted based on a balance between the benefits (the mean of $a_{k}$ 's rewards) and the chance (the variance of $a_{k}$ 's rewards).
|
| 75 |
+
|
| 76 |
+
Step 2: Reward from LLM Feedback After retrieving a demonstration $a_{k}$ , the retriever receives a reward $r_t$ , indicating the correctness of the label provided by the LLM with the chosen demonstration.
|
| 77 |
+
|
| 78 |
+
Step 3: Policy Update The collected reward value is used to update the policy parameters $\pi_{\theta}$ to maximize cumulative reward during training.
|
| 79 |
+
|
| 80 |
+
These steps iteratively occur for a pre-defined number of iterations ( $T = 2000$ in our paper). The exploration-exploitation trade-off in Step 1 is crucial, requiring the retrieval policy to balance exploring new demonstrations for potential benefits (exploration) and exploiting known good demonstrations to maximize the mean of rewards (exploitation). This exploration-exploitation balance ensures the effectiveness of learning the demonstration retrieval policy in ICL labeling.
|
| 81 |
+
|
| 82 |
+
# 2.3 ICL-Bandit
|
| 83 |
+
|
| 84 |
+
In this section, we introduce ICL-Bandit as an innovative approach to address the challenges encountered by previous bandit algorithms. Traditional bandit algorithms, which assign a parameter $\theta$ to each arm or action, facing the limitations when applied to demonstration retrieval due to the expansive and varied nature of the available demonstrations.
|
| 85 |
+
|
| 86 |
+
We leverage the framework of Stochastic Multi-Armed Bandit (Bubeck et al., 2012), a variant of the classical MAB problem where rewards associated with different actions (referred to as "arms") are influenced by stochastic processes. In our context, we develop a novel stochastic bandit algorithm tailored to scenarios with an extensive and diverse set of demonstrations.
|
| 87 |
+
|
| 88 |
+
First, we fine-tune a BERT model in Microsoft's query and ads dataset, resulting in an embedding vector $e_{a_k}$ unique to each demonstration $a_k$ , an embedding vector $e_{s_t}$ for the state $s_t$ at trial $t$ and a mutual embedding $e_{(s,a)_t}$ . Then we have a unified feature embedding $x_{s_t,a_k} = [e_{s_t}, e_{a_k}, e_{(s,a)_t}]$ to capture contextual information. Next, we adopt a shared parameter $\theta$ applicable to all demonstrations. This shared parameterization streamlines the learning process, enhancing efficiency and generalization across the diverse pool of demonstrations.
|
| 89 |
+
|
| 90 |
+
# 2.3.1 Demonstration and State Representation Learning
|
| 91 |
+
|
| 92 |
+
To integrate both the state and demonstration into a unified embedding vector, we employ a self-supervised learning approach to fine-tune a 24-layer BERT model using Microsoft's user query-ad dataset. The final embedding is derived by extracting the output of the last hidden layer, serving as a comprehensive representation of both the state and demonstration.
|
| 93 |
+
|
| 94 |
+
# 2.3.2 Objective Function of ICL-Bandit
|
| 95 |
+
|
| 96 |
+
Throughout the total $T$ trials, the cumulative reward is defined as $\sum_{t=1}^{T} r_{(t,a_k)}$ . In this context, we establish the optimal expected $T$ -iteration reward, denoted as $E[\sum_{t=1}^{T} r_{(t,a_k^*)}]$ , where $a_k^*$ represents the optimal demonstration yielding the maximum expected reward at trial $t$ . Our objective is to proficiently retrieve a sequence of demonstrations during training, maximizing the expected total payoff. Alternatively, our aim is to minimize the regret of the algorithm concerning the optimal demonstration retrieval strategy. The $T$ -iteration regret of
|
| 97 |
+
|
| 98 |
+
ICL-Bandit can be formally defined as:
|
| 99 |
+
|
| 100 |
+
$$
|
| 101 |
+
R e (T) = E [ \sum_ {t = 1} ^ {T} r _ {(t, a _ {k} ^ {*})} ] - E [ \sum_ {t = 1} ^ {T} r _ {(t, a _ {k})} ] \quad (1)
|
| 102 |
+
$$
|
| 103 |
+
|
| 104 |
+
# 2.3.3 Optimization of ICL-Bandit
|
| 105 |
+
|
| 106 |
+
To minimize the regret, it is assumed that the expected reward of an example $a$ is linear in the $d$ -dimensional state-action integrated feature $x_{(t,a)}$ , with three unknown policy parameters $\theta_{\mathrm{state}}^*$ , $\theta_{\mathrm{action}}^*$ and $\theta_{\mathrm{mut}}^*$ :
|
| 107 |
+
|
| 108 |
+
$$
|
| 109 |
+
\mathbb {E} [ r _ {(t, a)} \mid x _ {(t, a)} ] = x _ {(t, a)} ^ {T} [ \theta_ {\mathrm {s t a t e}} ^ {*}, \theta_ {\mathrm {a c t i o n}} ^ {*}, \theta_ {\mathrm {m u t}} ^ {*} ]
|
| 110 |
+
$$
|
| 111 |
+
|
| 112 |
+
where $\theta_{\mathrm{state}}^{*}$ denotes the policy parameter for the context or the state, i.e., for the target sample, $\theta_{\mathrm{action}}^{*}$ denotes the policy parameter for an action, i.e., for an example, and $\theta_{\mathrm{mut}}^{*}$ denotes the policy parameter for mutual information of the target sample and the example. The mutual information may be common or similar information between the target sample and the example. The policy parameter $\theta_{\mathrm{state}}^{*}$ can map the target sample to a first vector space. The policy parameter $\theta_{\mathrm{action}}^{*}$ can map the example to a second vector space. The first vector space and the second vector space are different and independent, but they are dual to each other. The policy parameter $\theta_{\mathrm{mut}}^{*}$ can map both the target sample and the example to the same vector space. The technical effect of using the three policy parameters $\theta_{\mathrm{state}}^{*}$ , $\theta_{\mathrm{action}}^{*}$ , and $\theta_{\mathrm{mut}}^{*}$ is to more accurately measure the relationship or distance between the target sample and the example, so as to calculate a more accurate expected reward.
|
| 113 |
+
|
| 114 |
+
The embodiments of the present disclosure propose that all examples share three policy parameters $\theta_{\mathrm{state}}^{*}$ , $\theta_{\mathrm{action}}^{*}$ , and $\theta_{\mathrm{mut}}^{*}$ . This parameterization remains constant regardless of the number of examples. The technical effect of such settings is to streamline the learning process, and enhance efficiency and generalization across the diverse set of examples. This framework enables the application of the proposed reinforced retrieval operation to large-scale and diverse candidate examples, contributing to its scalability and adaptability.
|
| 115 |
+
|
| 116 |
+
For each example, we have three kinds of features: state, action, and mut, denoted as $[e_{s_t}, e_{a_k}, e_{(s,a)_t}]$ . These correspond to the data matrices $D_{\mathrm{state}}$ , $D_{\mathrm{action}}$ , and $D_{\mathrm{mut}}$ , which represent samples on different features. Let $D_{\mathrm{state}}$ , $D_{\mathrm{action}}$ , and $D_{\mathrm{mut}}$ be data matrices of dimension $m \times d$ at
|
| 117 |
+
|
| 118 |
+
trial $t$ , where the rows correspond to $m$ training inputs of context, action, and mutual information, and $b \in \mathbb{R}^m$ is the corresponding reward vector (e.g., the $m$ rewards indicating whether the LLM provided the correct label in the training set). Applying ridge regression to the training data $(D, b)$ yields an estimate of the policy parameters:
|
| 119 |
+
|
| 120 |
+
$$
|
| 121 |
+
\theta_ {\text {s t a t e}} = \left(D _ {\text {s t a t e}} ^ {T} D _ {\text {s t a t e}} + \lambda I\right) ^ {- 1} D _ {\text {s t a t e}} ^ {T} b \tag {2}
|
| 122 |
+
$$
|
| 123 |
+
|
| 124 |
+
$$
|
| 125 |
+
\theta_ {\text {a c t i o n}} = \left(D _ {\text {a c t i o n}} ^ {T} D _ {\text {a c t i o n}} + \lambda I\right) ^ {- 1} D _ {\text {a c t i o n}} ^ {T} b \tag {3}
|
| 126 |
+
$$
|
| 127 |
+
|
| 128 |
+
$$
|
| 129 |
+
\theta_ {\mathrm {m u t}} = \left(D _ {\mathrm {m u t}} ^ {T} D _ {\mathrm {m u t}} + \lambda I\right) ^ {- 1} D _ {\mathrm {m u t}} ^ {T} b \tag {4}
|
| 130 |
+
$$
|
| 131 |
+
|
| 132 |
+
where $I$ is the $d\times d$ identity matrix, $\lambda \in [0,1]$ is the regularization term of ridge regression estimation. Let $D = [D_{\mathrm{state}},D_{\mathrm{action}},D_{\mathrm{mut}}]$ , and $\theta = [\theta_{\mathrm{state}},\theta_{\mathrm{action}},\theta_{\mathrm{mut}}]$ . When components in $b$ are independent conditioned on corresponding rows in $D$ , it can be shown that, with probability at least $1 - \delta$ : $\left|x_{(t,a_t)}^T\hat{\theta} - \mathbb{E}[r_{(t,a_t)}\mid x_{(t,a_t)}]\right| \leq \alpha' \sqrt{x_{(t,a_t)}^T(D^TD + \lambda I)^{-1}x_{(t,a_t)}}$ For any $\delta > 0$ and $x_{(t,a_t)} \in \mathbb{R}^d$ , where $\hat{\theta}$ is the mean of $\theta$ , and $a_t$ indicates the example selected at $t$ , $r_{(t,a)}$ is the observed reward, $\sigma^2$ is the variance proxy of the noise and $\alpha'$ is a constant.
|
| 133 |
+
|
| 134 |
+
# 2.4 Proof
|
| 135 |
+
|
| 136 |
+
# 2.4.1 Step 1: Decompose the Estimation Error
|
| 137 |
+
|
| 138 |
+
The estimation error can be expressed as:
|
| 139 |
+
|
| 140 |
+
$$
|
| 141 |
+
\begin{array}{l} \hat {\theta} - \theta^ {*} = \left(D ^ {\top} D + \lambda I\right) ^ {- 1} D ^ {\top} b - \theta^ {*} \\ = \left(D ^ {\top} D + \lambda I\right) ^ {- 1} D ^ {\top} \left(D \theta^ {*} + \epsilon\right) - \theta^ {*} \\ = \left(D ^ {\top} D + \lambda I\right) ^ {- 1} D ^ {\top} D \theta^ {*} + \left(D ^ {\top} D + \lambda I\right) ^ {- 1} D ^ {\top} \epsilon - \theta^ {*} \\ = \left[ \left(D ^ {\top} D + \lambda I\right) ^ {- 1} D ^ {\top} D - I \right] \theta^ {*} + \left(D ^ {\top} D + \lambda I\right) ^ {- 1} D ^ {\top} \epsilon . \\ \end{array}
|
| 142 |
+
$$
|
| 143 |
+
|
| 144 |
+
Simplifying:
|
| 145 |
+
|
| 146 |
+
$$
|
| 147 |
+
\hat {\theta} - \theta^ {*} = - \lambda \left(D ^ {\top} D + \lambda I\right) ^ {- 1} \theta^ {*} + \left(D ^ {\top} D + \lambda I\right) ^ {- 1} D ^ {\top} \epsilon .
|
| 148 |
+
$$
|
| 149 |
+
|
| 150 |
+
# 2.4.2 Step 2: Express the Estimation Error Components
|
| 151 |
+
|
| 152 |
+
Let: $\mathrm{Bias} = -\lambda (D^{\top}D + \lambda I)^{-1}\theta^{*}$
|
| 153 |
+
|
| 154 |
+
Variance $= \left(D^{\top}D + \lambda I\right)^{-1}D^{\top}\epsilon$
|
| 155 |
+
|
| 156 |
+
Then: $\hat{\theta} -\theta^{*} = \mathrm{Bias} + \mathrm{Variance}$
|
| 157 |
+
|
| 158 |
+
# 2.4.3 Step 3: Bound the Bias Term
|
| 159 |
+
|
| 160 |
+
We aim to bound $\left|x_{(t,a)}^{\top} \text{Bias}\right|$ .
|
| 161 |
+
|
| 162 |
+
Using the Cauchy-Schwarz inequality:
|
| 163 |
+
|
| 164 |
+
$$
|
| 165 |
+
\begin{array}{l} \left| x _ {(t, a)} ^ {\top} \operatorname {B i a s} \right| = \lambda \left| x _ {(t, a)} ^ {\top} \left(D ^ {\top} D + \lambda I\right) ^ {- 1} \theta^ {*} \right| (5) \\ \leq \lambda \left\| x _ {(t, a)} \right\| _ {\left(D ^ {\top} D + \lambda I\right) ^ {- 1}} \| \theta^ {*} \|, (6) \\ \end{array}
|
| 166 |
+
$$
|
| 167 |
+
|
| 168 |
+
where $\| x\| _A = \sqrt{x^\top Ax}$ denotes the Mahalanobis norm with respect to the matrix $A$
|
| 169 |
+
|
| 170 |
+
Assuming $\| \theta^{*}\| \leq S$ , where $S$ is a known bound on the norm of $\theta^{*}$ , we have:
|
| 171 |
+
|
| 172 |
+
$$
|
| 173 |
+
\left| x _ {(t, a)} ^ {\top} \mathbf {B i a s} \right| \leq \lambda S \left\| x _ {(t, a)} \right\| _ {\left(D ^ {\top} D + \lambda I\right) ^ {- 1}}. \tag {7}
|
| 174 |
+
$$
|
| 175 |
+
|
| 176 |
+
# 2.4.4 Step 4: Bound the Variance Term
|
| 177 |
+
|
| 178 |
+
We aim to bound $\left|x_{(t,a)}^{\top}\right|$ Variance with high probability.
|
| 179 |
+
|
| 180 |
+
Since $\epsilon$ has independent components with zero mean and variance proxy $\sigma^2$ , the variance of $x_{(t,a)}^{\top}$ Variance is:
|
| 181 |
+
|
| 182 |
+
$$
|
| 183 |
+
\begin{array}{l} \operatorname {V a r} \left(x _ {(t, a)} ^ {\top} \text {V a r i a n c e}\right) = \operatorname {V a r} \left(x _ {(t, a)} ^ {\top} \left(D ^ {\top} D + \lambda I\right) ^ {- 1} D ^ {\top} \epsilon\right) \\ = \sigma^ {2} x _ {(t, a)} ^ {\top} \left(D ^ {\top} D + \lambda I\right) ^ {- 1} D ^ {\top} D \left(D ^ {\top} D + \lambda I\right) ^ {- 1} x _ {(t, a)}. \\ \end{array}
|
| 184 |
+
$$
|
| 185 |
+
|
| 186 |
+
Therefore:
|
| 187 |
+
|
| 188 |
+
$$
|
| 189 |
+
\begin{array}{l} \operatorname {V a r} \left(x _ {(t, a)} ^ {\top} \text {V a r i a n c e}\right) = \sigma^ {2} x _ {(t, a)} ^ {\top} \left(D ^ {\top} D + \lambda I\right) ^ {- 1} \\ \cdot \left(I - \lambda (D ^ {\top} D + \lambda I) ^ {- 1}\right) x _ {(t, a)} \\ \leq \sigma^ {2} \left\| x _ {(t, a)} \right\| _ {(D ^ {\top} D + \lambda I) ^ {- 1}} ^ {2}. \\ \end{array}
|
| 190 |
+
$$
|
| 191 |
+
|
| 192 |
+
# 2.4.5 Step 5: Apply Concentration Inequality
|
| 193 |
+
|
| 194 |
+
Since $x_{(t,a)}^{\top}$ Variance is a linear combination of independent sub-Gaussian variables, it is sub-Gaussian with parameter $\sigma' = \sigma\left\| x_{(t,a)}\right\|_{(D^{\top}D + \lambda I)^{-1}}$ .
|
| 195 |
+
|
| 196 |
+
Using a sub-Gaussian tail bound, for any $\delta > 0$ :
|
| 197 |
+
|
| 198 |
+
$$
|
| 199 |
+
P \left(\left| x _ {(t, a)} ^ {\top} \text {V a r i a n c e} \right| \geq \alpha \left\| x _ {(t, a)} \right\| _ {\left(D ^ {\top} D + \lambda I\right) ^ {- 1}}\right) \leq \delta \tag {8}
|
| 200 |
+
$$
|
| 201 |
+
|
| 202 |
+
where $\alpha = \sigma \sqrt{2\ln\left(\frac{1}{\delta}\right)}$
|
| 203 |
+
|
| 204 |
+
# Step 6: Combine Bias and Variance Terms
|
| 205 |
+
|
| 206 |
+
The total estimation error is:
|
| 207 |
+
|
| 208 |
+
$$
|
| 209 |
+
\left| x _ {(t, a)} ^ {\top} \left(\hat {\theta} - \theta^ {*}\right) \right| \leq \left| x _ {(t, a)} ^ {\top} \operatorname {B i a s} \right| + \left| x _ {(t, a)} ^ {\top} \operatorname {V a r i a n c e} \right|. \tag {9}
|
| 210 |
+
$$
|
| 211 |
+
|
| 212 |
+
# 2.4.6 Step 7: Final Inequality
|
| 213 |
+
|
| 214 |
+
Combine the bounds:
|
| 215 |
+
|
| 216 |
+
$$
|
| 217 |
+
\left| x _ {(t, a)} ^ {\top} \left(\hat {\theta} - \theta^ {*}\right) \right| \leq (\lambda S + \alpha) \| x _ {(t, a)} \| _ {(D ^ {\top} D + \lambda I) ^ {- 1}}.
|
| 218 |
+
$$
|
| 219 |
+
|
| 220 |
+
For sufficiently small $\lambda$ and bounded $\theta^{*}$ , the bias term can be controlled, and the dominant term becomes the variance term.
|
| 221 |
+
|
| 222 |
+
Therefore, we can simplify the inequality to: $\left|x_{(t,a)}^{\top}\left(\hat{\theta} -\theta^{*}\right)\right|\leq \alpha^{\prime}\left\| x_{(t,a)}\right\|_{\left(D^{\top}D + \lambda I\right)^{-1}},$
|
| 223 |
+
|
| 224 |
+
where $\alpha^{\prime} = \lambda S + \alpha$
|
| 225 |
+
|
| 226 |
+
# 2.5 ICL-Bandit vs. Traditional Bandit
|
| 227 |
+
|
| 228 |
+
ICL-Bandit improves upon traditional bandit methods by introducing shared parameters, $\theta_{\mathrm{state}}^{*}$ , $\theta_{\mathrm{action}}^{*}$ and $\theta_{\mathrm{mut}}^{*}$ , to jointly model state, actions, and their interactions. This enables better alignment between context and candidate demonstrations, leading to more accurate action selection.
|
| 229 |
+
|
| 230 |
+
Unlike traditional methods that treat actions independently, ICL-Bandit captures complex contextual dependencies, enhances generalization, and scales efficiently to high-dimensional data. Its unified framework ensures consistent performance across diverse ICL labeling tasks, mitigating the inconsistency and overfitting often seen in conventional approaches.
|
| 231 |
+
|
| 232 |
+
# 3 Experiment
|
| 233 |
+
|
| 234 |
+
Dataset: We use a high-quality, expert-labeled dataset collected daily over 1.5 years, consisting of user queries and associated advertisement information (e.g., keywords, titles, descriptions, URLs), each labeled as relevant or irrelevant. The dataset is temporally split into: Example pool: 1,578,728 samples used as demonstrations. Training set: 9,999 query-ad pairs. Test set: 1,986 query-ad pairs. This temporal partitioning simulates real-world deployment, where models are trained on historical data and evaluated on recent, unseen examples.
|
| 235 |
+
|
| 236 |
+
Evaluation Metrics: We assess binary classification performance using Accuracy (ACC), F1-score, Precision, and Recall to capture both correctness and balance in predictions. More details of the experimental settings are provided in Appendix B.
|
| 237 |
+
|
| 238 |
+
# 3.1 Competitors
|
| 239 |
+
|
| 240 |
+
For a fair comparison, all baselines and ICL-Bandit (except "No Example" and "Crowdsourcing") were provided with 3 positive (Relevant) and 3 negative (Irrelevant) historically labeled samples as demonstrations. The following methods were selected as
|
| 241 |
+
|
| 242 |
+
our competitors: No Example (Zero-shot Learning), Crowdsourcing, EPR (SL-KNN), EPR (SL-LLM) (Li et al., 2023), Q-learning (Zhang et al., 2022), Static, BM25 (Robertson et al., 2009), Random, KNN (Guo et al., 2003). Details of the baseline methods are provided in Appendix A.
|
| 243 |
+
|
| 244 |
+
Table 1: Results of GPT-3.5 as the backbone LLM.
|
| 245 |
+
|
| 246 |
+
<table><tr><td>Model</td><td>ACC (%)</td><td>F1-score (%)</td><td>Precision (%)</td><td>Recall (%)</td></tr><tr><td>No Example</td><td>53.95</td><td>25.72</td><td>41.76</td><td>18.58</td></tr><tr><td>Crowdsourcing</td><td>67.57</td><td>73.65</td><td>90.09</td><td>62.28</td></tr><tr><td>EPR (SL-KNN)</td><td>55.97</td><td>25.68</td><td>39.22</td><td>19.09</td></tr><tr><td>EPR (SL-LLM)</td><td>57.18</td><td>25.44</td><td>41.55</td><td>18.33</td></tr><tr><td>Q-learning</td><td>58.68</td><td>34.71</td><td>43.78</td><td>28.14</td></tr><tr><td>Static</td><td>56.57</td><td>28.56</td><td>43.40</td><td>21.28</td></tr><tr><td>BM25</td><td>58.84</td><td>28.77</td><td>46.35</td><td>20.86</td></tr><tr><td>Random</td><td>50.73</td><td>36.49</td><td>37.52</td><td>35.52</td></tr><tr><td>KNN</td><td>57.98</td><td>27.60</td><td>44.04</td><td>20.10</td></tr><tr><td>ICL-Bandit (Ours)</td><td>63.76</td><td>61.63</td><td>65.38</td><td>58.29</td></tr></table>
|
| 247 |
+
|
| 248 |
+
Table 2: Results of GPT-4 as the backbone LLM.
|
| 249 |
+
|
| 250 |
+
<table><tr><td>Model</td><td>ACC (%)</td><td>F1-score (%)</td><td>Precision (%)</td><td>Recall (%)</td></tr><tr><td>No Example</td><td>65.05</td><td>61.45</td><td>64.08</td><td>59.03</td></tr><tr><td>Crowdsourcing</td><td>67.57</td><td>73.65</td><td>90.09</td><td>62.28</td></tr><tr><td>EPR (SL-KNN)</td><td>74.42</td><td>80.70</td><td>73.49</td><td>89.47</td></tr><tr><td>EPR (SL-LLM)</td><td>74.62</td><td>80.70</td><td>72.94</td><td>90.32</td></tr><tr><td>Q-learning</td><td>74.26</td><td>76.25</td><td>78.81</td><td>87.80</td></tr><tr><td>Static</td><td>73.56</td><td>79.71</td><td>71.35</td><td>90.28</td></tr><tr><td>BM25</td><td>73.62</td><td>80.09</td><td>72.94</td><td>88.80</td></tr><tr><td>Random</td><td>73.72</td><td>79.94</td><td>71.97</td><td>89.89</td></tr><tr><td>KNN</td><td>74.47</td><td>80.74</td><td>73.56</td><td>89.48</td></tr><tr><td>ICL-Bandit (Ours)</td><td>80.03</td><td>82.57</td><td>76.91</td><td>89.14</td></tr></table>
|
| 251 |
+
|
| 252 |
+
# 3.2 Results Analysis
|
| 253 |
+
|
| 254 |
+
Tables 1 and 2 present the experimental results comparing nine demonstration retrieval methods, including our ICL-Bandit, across two versions of LLMs. The analysis highlights key performance trends. The "No Example" baseline performs poorly, while "Crowdsourcing" demonstrations achieve the highest accuracy and precision, emphasizing the importance of expert-labeled data. Among automated methods, Q-learning, EPR (SL-LLM), and ICL-Bandit show strong performance, benefiting from LLM feedback. Notably, ICL-Bandit surpasses Q-learning and EPR (SL-LLM) despite using only 2,000 feedback samples compared to their 5,000, due to its lightweight, linear design that requires fewer data.
|
| 255 |
+
|
| 256 |
+
EPR (SL-KNN) and EPR (SL-LLM) improve over the "No Example" baseline but still lag behind "Crowdsourcing," indicating that retrieval effectiveness depends on technique selection. Similarly, methods like "Static," "Random," "KNN," and "BM25" show varied performance, with BM25 performing competitively but still unable to match expert-labeled demonstrations.
|
| 257 |
+
|
| 258 |
+
ICL-Bandit consistently delivers superior results, often outperforming or matching "Crowdsourcing."
|
| 259 |
+
|
| 260 |
+
Its ability to balance exploration and exploitation allows it to retrieve relevant demonstrations effectively, adapt to diverse queries, and enhance recall, improving overall ICL performance.
|
| 261 |
+
|
| 262 |
+
# 3.3 Learning Curve of ICL-Bandit
|
| 263 |
+
|
| 264 |
+
The learning curve experiment was devised to examine the evolutionary performance of ICL-Bandit as training data accumulates. The primary objective was to discern how the method's effectiveness scales with an expanding dataset, providing insights into its adaptability and scalability. The experiment's results are depicted in Figure 3, where the x-axis represents training iterations, and the y-axis portrays the cumulative mean and variance of Accuracy, Binary Accuracy, True Negative Rate (TNR), and True Positive Rate (TPR). The learning curve analysis of ICL-Bandit highlights its capacity to dynamically adapt and enhance its performance over successive training iterations. Notably, it illustrates that ICL-Bandit achieves a rapid and stable convergence to a commendable performance level.
|
| 265 |
+
|
| 266 |
+
Furthermore, the outcomes suggest that ICL-Bandit exhibits promise for demonstration retrieval in ICL, even when trained on a limited LLM feedback dataset. Remarkably, in comparison to EPR (SL-LLM), which utilized a larger dataset of 5000 feedback instances, ICL-Bandit demonstrates superior performance. The learning curve analysis underscores the efficacy of ICL-Bandit in iteratively improving its performance with an increasing volume of training data. This positions it as a robust and scalable solution for the nuanced task of demonstration retrieval in complex information retrieval scenarios.
|
| 267 |
+
|
| 268 |
+
# 3.4 Ablation Study
|
| 269 |
+
|
| 270 |
+
# 3.4.1 Number of retrivaled samples
|
| 271 |
+
|
| 272 |
+
<table><tr><td>Example number</td><td>ACC</td><td>Binary AUC</td><td>TNR</td><td>TPR</td></tr><tr><td>1</td><td>0.7826</td><td>0.8127</td><td>0.8326</td><td>0.6978</td></tr><tr><td>3</td><td>0.8003</td><td>0.8029</td><td>0.8215</td><td>0.7077</td></tr><tr><td>6</td><td>0.8001</td><td>0.8127</td><td>0.8178</td><td>0.7129</td></tr><tr><td>9</td><td>0.7697</td><td>0.7616</td><td>0.7716</td><td>0.7516</td></tr></table>
|
| 273 |
+
|
| 274 |
+
Table 3: Performance metrics on different number of selected demonstrations.
|
| 275 |
+
|
| 276 |
+
In this experiment, we evaluate the impact of varying the number of positive and negative demonstrations on model performance. The results, presented in Table 3, indicate that the performance metrics (ACC, Binary AUC, TNR, and TPR) generally improve as the number of positive/negative demonstrations increases from 1 to 3. Specifically,
|
| 277 |
+
|
| 278 |
+

|
| 279 |
+
Figure 3: The learning curve of ICL-Bandit during 2000 trails training. TNR and TPR indicates the true negative rate and true positive rate respectively.
|
| 280 |
+
|
| 281 |
+
the best overall performance is observed when 3 demonstrations are used. Thus we choose 3 as the final number.
|
| 282 |
+
|
| 283 |
+
When 9 demonstrations are used, the performance metrics begin to decline, indicating that adding too many demonstrations may lead to diminishing returns or even reduced performance.
|
| 284 |
+
|
| 285 |
+
# 3.4.2 Training Epochs and Reward Types
|
| 286 |
+
|
| 287 |
+
The experiment evaluates the performance of the ICL-bandit approach under two reward settings: continuous and discrete. An epoch is defined as a complete pass through the training data. During each epoch, the ICL-bandit retrieves informative demonstrations, selects the best actions, and updates its retrieval policy based on the rewards received. The results in Figure 4 illustrate how the number of epochs affects performance across various metrics.
|
| 288 |
+
|
| 289 |
+
We observe that ICL-bandit's performance varies with the number of epochs, with different metrics reaching their optimal levels at different stages. The continuous reward setting, which provides more detailed feedback, achieves peak performance in fewer epochs compared to the discrete reward setting. This suggests that using continuous rewards in practice can reduce training complexity while still delivering strong performance. Finally, we choose continuous reward with 1 epoch for reducing the complexity and promising results.
|
| 290 |
+
|
| 291 |
+
# 3.5 Application in Practice
|
| 292 |
+
|
| 293 |
+
We deployed the ICL-Bandit approach in Microsoft's ad relevance pipeline to reduce manual labeling costs and enhance ad recommendation quality. Each day, the system collects fresh user queries and ads, cleans them using Bing's distributed platform, and applies ICL-Bandit for automated labeling. For each query-ad pair, we retrieve 3 relevant
|
| 294 |
+
|
| 295 |
+

|
| 296 |
+
Figure 4: Performance on different epochs and reward types.
|
| 297 |
+
|
| 298 |
+
and 3 irrelevant historical examples to construct prompts, which are then labeled using GPT-4. This process generates high-quality labeled data daily for downstream CTR prediction (Lee et al., 2023). Table 4: A/B testing on English datasets with GPT-4 as the backbone LLM.
|
| 299 |
+
|
| 300 |
+
<table><tr><td>Model</td><td>ACC (%)</td><td>F1-score (%)</td><td>Precision (%)</td><td>Recall (%)</td></tr><tr><td>No Example</td><td>66.82</td><td>62.18</td><td>63.74</td><td>60.75</td></tr><tr><td>KNN</td><td>76.52</td><td>75.12</td><td>78.72</td><td>71.81</td></tr><tr><td>ICL-Bandit (Ours)</td><td>87.12</td><td>82.28</td><td>86.95</td><td>78.17</td></tr></table>
|
| 301 |
+
|
| 302 |
+
Table 5: A/B testing on non-English dataset with GPT-4 as the backbone LLM.
|
| 303 |
+
|
| 304 |
+
<table><tr><td>Model</td><td>ACC (%)</td><td>F1-score (%)</td><td>Precision (%)</td><td>Recall (%)</td></tr><tr><td>No Example</td><td>63.26</td><td>59.48</td><td>60.17</td><td>58.79</td></tr><tr><td>KNN</td><td>70.67</td><td>75.44</td><td>70.86</td><td>80.81</td></tr><tr><td>ICL-Bandit (Ours)</td><td>80.67</td><td>85.68</td><td>82.57</td><td>89.14</td></tr></table>
|
| 305 |
+
|
| 306 |
+
As shown in Tables 4 and 5, ICL-Bandit consistently outperforms baselines in both English and non-English settings, demonstrating robust improvements in accuracy, F1-score, precision, and recall.
|
| 307 |
+
|
| 308 |
+
# 3.6 Impact on Ad Recommendation
|
| 309 |
+
|
| 310 |
+
Integrating ICL-Bandit-labeled data into Bing's CTR prediction model led to significant business gains. Offline evaluation on 500K historical query-
|
| 311 |
+
|
| 312 |
+
ad pairs showed a $2.5\%$ AUC increase and $1.8\%$ reduction in Log Loss. In two weeks of online A/B testing with 2 million users, CTR rose by $3.2\%$ and conversion rates improved by $2.7\%$ . Beyond performance, the automated labeling process reduced manual annotation costs by $61\%$ , enabling scalable and cost-effective data processing across millions of queries daily. The results of the A/B testing on English and Non-English datasets are summarized in Table 4 and Table 5.
|
| 313 |
+
|
| 314 |
+
# 4 Related Work
|
| 315 |
+
|
| 316 |
+
# 4.1 LLM Labeling
|
| 317 |
+
|
| 318 |
+
Latest studies in LLM have shown that LLM is highly consistent with human judgments and even outperforms humans in many tasks, for example, topic identification and twitter relevance for political issues (Gilardi et al., 2023), general question-answering data generation (Meng et al., 2023), instruction data generation (Wang et al., 2022b) and RL from AI feedback (RLAIF) (Lee et al., 2023). A set of work using LLM for labeling instead of human (Tan et al., 2024; Alaofi et al., 2024; Artemova et al., 2024). In this work, we focus on a domain-specific labeling problem, i.e., query-ad relevance labeling, which requires domain knowledge to guide LLM for labeling.
|
| 319 |
+
|
| 320 |
+
# 4.2 Demonstration Retrieval for In-Context Learning
|
| 321 |
+
|
| 322 |
+
LLMs have emerged as a pivotal strategy for addressing tasks specific to particular domains. However, the effectiveness of ICL is intrinsically tied to the quality of the provided demonstrations (Li et al., 2023; Wu et al.; Zhang et al., 2022). Works such as (Rubin et al., 2021; Li et al., 2023; Wu et al.; Zhang et al., 2022) collectively aim to optimize the retrieval of exemplary instances from annotated training sets, thereby enhancing the domain knowledge encapsulated by LLMs.
|
| 323 |
+
|
| 324 |
+
Existing demonstration retrieval methods are typically categorized into utilization of off-the-shelf retrievers such as BM25 (Robertson et al., 2009) or KNN (Guo et al., 2003), or training task-specific retrievers using positive and negative demonstrations (Rubin et al., 2021; Shi et al., 2022; Li et al., 2023). These researchers leverage LLM feedback to guide the training of these retrievers through supervised or contrastive learning. Despite these advancements, the vast combinatorial space encompassing different demonstrations and queries
|
| 325 |
+
|
| 326 |
+
presents a significant challenge. Randomly sampling demonstrations to collect LLM feedback risks incorporating a substantial portion of less useful examples. Reinforcement learning-based methods (Zhang et al., 2022; Deng et al., 2022) actively sample demonstrations and elicit valuable LLM feedback. However, they are constrained by a fixed number of demonstrations, thereby limiting the action space available for policy training.
|
| 327 |
+
|
| 328 |
+
# 5 Conclusion
|
| 329 |
+
|
| 330 |
+
In this paper, we leverage LLMs to automate query-ad relevance labeling for improved ad recommendation. To address the lack of domain-specific knowledge in LLMs, we adopt in-context learning (ICL) and propose ICL-Bandit, a stochastic bandit algorithm for retrieving high-quality demonstrations and collecting LLM feedback to train a retriever. Our approach outperforms existing retrieval methods and has been successfully deployed in Microsoft's ad recommendation system, delivering significant cost savings and strong real-world effectiveness.
|
| 331 |
+
|
| 332 |
+
# 6 Limitations
|
| 333 |
+
|
| 334 |
+
ICL-Bandit's performance heavily relies on the quality and coverage of the labeled demonstration pool. If the pool lacks diverse or representative examples for certain query-ad pairs, the retrieved demonstrations may be suboptimal, limiting the effectiveness of in-context learning. This constraint can affect generalization, especially in long-tail or evolving domains where labeled data is sparse or outdated.
|
| 335 |
+
|
| 336 |
+
# References
|
| 337 |
+
|
| 338 |
+
Marwah Alaofi, Paul Thomas, Falk Scholer, and Mark Sanderson. 2024. Llms can be fooled into labelling a document as relevant: best café near me; this paper is perfectly relevant. In Proceedings of the 2024 Annual International ACM SIGIR Conference on Research and Development in Information Retrieval in the Asia Pacific Region, pages 32-41.
|
| 339 |
+
Ekaterina Artemova, Akim Tsvigun, Dominik Schlechtweg, Natalia Fedorova, Sergei Tilga, and Boris Obmoroshev. 2024. Hands-on tutorial: Labeling with llm and human-in-the-loop. arXiv preprint arXiv:2411.04637.
|
| 340 |
+
Sebastien Bubeck, Nicolo Cesa-Bianchi, and 1 others. 2012. Regret analysis of stochastic and nonstochastic multi-armed bandit problems. Foundations and Trends® in Machine Learning, 5(1):1-122.
|
| 341 |
+
|
| 342 |
+
Mingkai Deng, Jianyu Wang, Cheng-Ping Hsieh, Yihan Wang, Han Guo, Tianmin Shu, Meng Song, Eric P Xing, and Zhiting Hu. 2022. Rlprompt: Optimizing discrete text prompts with reinforcement learning. arXiv preprint arXiv:2205.12548.
|
| 343 |
+
Qingxiu Dong, Lei Li, Damai Dai, Ce Zheng, Zhiyong Wu, Baobao Chang, Xu Sun, Jingjing Xu, and Zhifang Sui. 2022. A survey for in-context learning. arXiv preprint arXiv:2301.00234.
|
| 344 |
+
Fabrizio Gilardi, Meysam Alizadeh, and Maël Kubli. 2023. Chatgpt outperforms crowd-workers for text-annotation tasks. arXiv preprint arXiv:2303.15056.
|
| 345 |
+
Gongde Guo, Hui Wang, David Bell, Yaxin Bi, and Kieran Greer. 2003. Knn model-based approach in classification. In On The Move to Meaningful Internet Systems 2003: CoopIS, DOA, and ODBASE: OTM Confederated International Conferences, CoopIS, DOA, and ODBASE 2003, Catania, Sicily, Italy, November 3-7, 2003. Proceedings, pages 986-996. Springer.
|
| 346 |
+
Jannik Kossen, Tom Rainforth, and Yarin Gal. 2023. In-context learning in large language models learns label relationships but is not conventional learning. arXiv preprint arXiv:2307.12375.
|
| 347 |
+
Tze Leung Lai and Herbert Robbins. 1985. Asymptotically efficient adaptive allocation rules. Advances in applied mathematics, 6(1):4-22.
|
| 348 |
+
Harrison Lee, Samrat Phatale, Hassan Mansoor, Kellie Lu, Thomas Mesnard, Colton Bishop, Victor Carbune, and Abhinav Rastogi. 2023. Rlaif: Scaling reinforcement learning from human feedback with ai feedback. arXiv preprint arXiv:2309.00267.
|
| 349 |
+
Lihong Li, Wei Chu, John Langford, and Robert E Schapire. 2010. A contextual-bandit approach to personalized news article recommendation. In Proceedings of the 19th international conference on World wide web, pages 661-670.
|
| 350 |
+
Xiaonan Li, Kai Lv, Hang Yan, Tianyang Lin, Wei Zhu, Yuan Ni, Guotong Xie, Xiaoling Wang, and Xipeng Qiu. 2023. Unified demonstration retriever for in-context learning. arXiv preprint arXiv:2305.04320.
|
| 351 |
+
Xiaoliang Ling, Weiwei Deng, Chen Gu, Hucheng Zhou, Cui Li, and Feng Sun. 2017. Model ensemble for click prediction in bing search ads. In Proceedings of the 26th international conference on world wide web companion, pages 689-698.
|
| 352 |
+
Yu Meng, Martin Michalski, Jiaxin Huang, Yu Zhang, Tarek Abdelzaher, and Jiawei Han. 2023. Tuning language models as training data generators for augmentation-enhanced few-shot learning. In International Conference on Machine Learning, pages 24457-24477. PMLR.
|
| 353 |
+
Long Ouyang, Jeffrey Wu, Xu Jiang, Diogo Almeida, Carroll Wainwright, Pamela Mishkin, Chong Zhang, Sandhini Agarwal, Katarina Slama, Alex Ray, and 1
|
| 354 |
+
|
| 355 |
+
others. 2022. Training language models to follow instructions with human feedback. Advances in Neural Information Processing Systems, 35:27730-27744.
|
| 356 |
+
Stephen Robertson, Hugo Zaragoza, and 1 others. 2009. The probabilistic relevance framework: Bm25 and beyond. Foundations and Trends® in Information Retrieval, 3(4):333-389.
|
| 357 |
+
Ohad Rubin, Jonathan Herzig, and Jonathan Berant. 2021. Learning to retrieve prompts for in-context learning. arXiv preprint arXiv:2112.08633.
|
| 358 |
+
Peng Shi, Rui Zhang, He Bai, and Jimmy Lin. 2022. XrcI: Cross-lingual retrieval-augmented in-context learning for cross-lingual text-to-sql semantic parsing. arXiv preprint arXiv:2210.13693.
|
| 359 |
+
Jiamei Shuai, Shuayb Zarar, and Denis Charles. 2020. Modeling and evaluation framework for responsive search ads. In Machine Learning, AI & Data Science Conference (MLADS). Microsoft.
|
| 360 |
+
Zhen Tan, Dawei Li, Song Wang, Alimohammad Beigi, Bohan Jiang, Amrita Bhattacharjee, Mansoresh Karami, Jundong Li, Lu Cheng, and Huan Liu. 2024. Large language models for data annotation and synthesis: A survey. In Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing, pages 930-957.
|
| 361 |
+
Joannes Vermorel and Mehryar Mohri. 2005. Multiarmed bandit algorithms and empirical evaluation. In European conference on machine learning, pages 437-448. Springer.
|
| 362 |
+
Dong Wang, Shaoguang Yan, Yunqing Xia, Kave Salamatian, Weiwei Deng, and Qi Zhang. 2022a. Learning supplementary nlp features for ctr prediction in sponsored search. In Proceedings of the 28th ACM SIGKDD Conference on Knowledge Discovery and Data Mining, pages 4010-4020.
|
| 363 |
+
Yizhong Wang, Yeganeh Kordi, Swaroop Mishra, Alisa Liu, Noah A Smith, Daniel Khashabi, and Hannaneh Hajishirzi. 2022b. Self-instruct: Aligning language model with self generated instructions. arXiv preprint arXiv:2212.10560.
|
| 364 |
+
Zhiyong Wu, Yaoxiang Wang, Jiacheng Ye, and Lingpeng Kong. Self-adaptive in-context learning: An information compression perspective for in-context example selection and ordering.
|
| 365 |
+
Yiming Zhang, Shi Feng, and Chenhao Tan. 2022. Active example selection for in-context learning. arXiv preprint arXiv:2211.04486.
|
| 366 |
+
|
| 367 |
+
# A Competitors
|
| 368 |
+
|
| 369 |
+
For a fair comparison, all baselines and ICL-Bandit (except "No Example" and "Crowdsourcing") were provided with 3 positive (Relevant) and 3 negative (Irrelevant) historically labeled samples as demonstrations. The following methods were selected as our competitors:
|
| 370 |
+
|
| 371 |
+
- No Example (Zero-shot Learning): Zero-shot learning without any demonstrations.
|
| 372 |
+
- Crowdsourcing: Demonstrations annotated by human evaluators through crowdsourcing to assess query-ad relevance. It is different from the human (expert) labeled data for demonstraton pool, train and test data.
|
| 373 |
+
- EPR (SL-KNN): Demonstrations are retrieved using the K-nearest neighbor (KNN) algorithm based on the training datasets as ground truth. EPR (SL-KNN) is then trained to input query-ads and output the retrieved demonstrations to assist the LLM in labeling.
|
| 374 |
+
- EPR (SL-LLM) (Li et al., 2023): Demonstrations are retrieved using GPT-3.5 based on the training datasets as ground truth. EPR (SL-LLM) is then trained to input query-ads and output the retrieved demonstrations to assist the LLM in labeling.
|
| 375 |
+
- Q-learning (Zhang et al., 2022): A demonstration candidate is predefined, and Q-learning is utilized to learn the retrieval policy. Demonstrations are clustered into 50 clusters to implement this algorithm.
|
| 376 |
+
- Static: Demonstrations are pre-defined and kept static.
|
| 377 |
+
- BM25 (Robertson et al., 2009): Demonstrations retrieved using the BM25 algorithm.
|
| 378 |
+
- Random: Demonstrations randomly sampled for each user query.
|
| 379 |
+
- KNN (Guo et al., 2003): Demonstrations are retrieved using the K-nearest neighbor (KNN) algorithm based on the user query. We use the same feature embedding as our method to retrieve the demonstrations with cosine similarity in KNN.
|
| 380 |
+
|
| 381 |
+
# B Experimental Setup
|
| 382 |
+
|
| 383 |
+
Dataset: In the experiments, we leveraged a meticulously curated dataset tailored specifically for assessing the efficacy of demonstration retrieval systems. This dataset is derived from high-quality human (expert)-labeled data collected daily over the recent 1.5-year period. Each sample in the dataset consists of a user query along with associated infor
|
| 384 |
+
|
| 385 |
+
mation about recommended advertisements. This information includes query keywords, ad titles, ad descriptions, ad URLs, and other pertinent content, each labeled as either relevant or irrelevant.
|
| 386 |
+
|
| 387 |
+
To facilitate a robust evaluation, we partitioned the dataset temporally into three distinct subsets: an example pool, a training set, and a test set. The example pool contains all 1,578,728 samples as demonstrations, ensuring a comprehensive range of instances. For the purpose of training the model, we selected a subset of 9,999 samples specifically for query-ads pair labeling. The evaluation phase was carried out on a test set, which included 1,986 samples also designated for query-ads pair labeling. This temporal division helps in mimicking real-world scenarios where models are trained on historical data and tested on recent, unseen data, thereby providing insights into the practical applicability and performance of the retrieval methods under study.
|
| 388 |
+
|
| 389 |
+
Evaluation Metric: Our in-context learning method aims to enhance the labeling performance of large language models (LLMs). Given that the labeling task at hand is a binary classification problem, we evaluate the effectiveness of our approach using several key metrics. Specifically, we measure Accuracy (ACC), F1-Score, Precision, and Recall. These metrics collectively provide a comprehensive assessment of the model's performance in terms of both its ability to correctly label data and its balance between precision and recall.
|
| 390 |
+
|
| 391 |
+
Computational Resource All experiments are performed on single Ubuntu 20.04 LTS system with Intel(R) Xeon(R) CPU E5-2690 v3 @ 2.60GHz CPU, 112 Gigabyte memory and single NVIDIA Tesla P100 accelerator.
|
2025/ICL-Bandit_ Relevance Labeling in Advertisement Recommendation Systems via LLM/images.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f854ae584d2f72ca259f48586334593741fe9054f5db15f92eb253761d0912bb
|
| 3 |
+
size 414886
|
2025/ICL-Bandit_ Relevance Labeling in Advertisement Recommendation Systems via LLM/layout.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2025/ICLER_ Intent CLassification with Enhanced Reasoning/80ea3d72-543b-4c68-9989-ef5d6936a0b2_content_list.json
ADDED
|
@@ -0,0 +1,2153 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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ning",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
206,
|
| 8 |
+
90,
|
| 9 |
+
789,
|
| 10 |
+
111
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Dezheng Gao<sup>1</sup>, Xiaozheng Dong<sup>2</sup>, SHuangtao Yang<sup>3</sup>, and Bo Fu<sup>4</sup>",
|
| 17 |
+
"bbox": [
|
| 18 |
+
231,
|
| 19 |
+
129,
|
| 20 |
+
763,
|
| 21 |
+
147
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "<sup>1</sup>Beijing University Of Technology, gaodz@mails.bjut.edu.cn",
|
| 28 |
+
"bbox": [
|
| 29 |
+
225,
|
| 30 |
+
159,
|
| 31 |
+
771,
|
| 32 |
+
175
|
| 33 |
+
],
|
| 34 |
+
"page_idx": 0
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"type": "text",
|
| 38 |
+
"text": "$^{2}$ Knowdee Intelligence, dongxz@knowdee.com",
|
| 39 |
+
"bbox": [
|
| 40 |
+
304,
|
| 41 |
+
177,
|
| 42 |
+
692,
|
| 43 |
+
192
|
| 44 |
+
],
|
| 45 |
+
"page_idx": 0
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"type": "text",
|
| 49 |
+
"text": "$^{3}$ Knowdee Intelligence, yangst@knowdee.com",
|
| 50 |
+
"bbox": [
|
| 51 |
+
304,
|
| 52 |
+
193,
|
| 53 |
+
692,
|
| 54 |
+
209
|
| 55 |
+
],
|
| 56 |
+
"page_idx": 0
|
| 57 |
+
},
|
| 58 |
+
{
|
| 59 |
+
"type": "text",
|
| 60 |
+
"text": "$^{4}$ Knowdee Intelligence, fubo@knowdee.com",
|
| 61 |
+
"bbox": [
|
| 62 |
+
314,
|
| 63 |
+
210,
|
| 64 |
+
680,
|
| 65 |
+
225
|
| 66 |
+
],
|
| 67 |
+
"page_idx": 0
|
| 68 |
+
},
|
| 69 |
+
{
|
| 70 |
+
"type": "text",
|
| 71 |
+
"text": "Abstract",
|
| 72 |
+
"text_level": 1,
|
| 73 |
+
"bbox": [
|
| 74 |
+
260,
|
| 75 |
+
260,
|
| 76 |
+
339,
|
| 77 |
+
275
|
| 78 |
+
],
|
| 79 |
+
"page_idx": 0
|
| 80 |
+
},
|
| 81 |
+
{
|
| 82 |
+
"type": "text",
|
| 83 |
+
"text": "In recent years, intent classification technology based on In-Context Learning (ICL) has made significant progress. However, when applied to enterprise vertical domains, existing methods are inadequate in identifying micrograined intentions. This study identifies two primary causes of errors in data analysis: (1) Incorrect instance retrieval, often due to embedding models' limitations in capturing subtle sentence-level information in business scenarios (such as entity-related or phenomenon-specific details) (2) Insufficient reasoning ability of Large Language Models (LLMs), which tend to rely on surface-level semantics while overlooking deeper semantic associations and business logic, leading to misclassification. To address these issues, we propose ICLER, an intent classification method with enhanced reasoning. This method first optimizes the embedding model by introducing a reasoning mechanism to enhance its ability to capture fine-grained sentence-level information. Then, this mechanism is incorporated into the ICL framework, maintaining computational efficiency while significantly enhancing intent recognition accuracy. Experimental results demonstrate that ICLER significantly outperforms the original ICL method in intent identification within vertical domains. Moreover, it yields accuracy improvements of $0.04\\%$ to $1.14\\%$ on general datasets and its fine-tuned embedding model achieves an average performance gain of $5.56\\%$ on selected classification tasks in the MTEB benchmark. https://github.com/gaodz-111/ICLER.git",
|
| 84 |
+
"bbox": [
|
| 85 |
+
144,
|
| 86 |
+
288,
|
| 87 |
+
460,
|
| 88 |
+
785
|
| 89 |
+
],
|
| 90 |
+
"page_idx": 0
|
| 91 |
+
},
|
| 92 |
+
{
|
| 93 |
+
"type": "text",
|
| 94 |
+
"text": "1 Introduction",
|
| 95 |
+
"text_level": 1,
|
| 96 |
+
"bbox": [
|
| 97 |
+
114,
|
| 98 |
+
799,
|
| 99 |
+
258,
|
| 100 |
+
814
|
| 101 |
+
],
|
| 102 |
+
"page_idx": 0
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"type": "text",
|
| 106 |
+
"text": "Natural Language Processing (NLP) has witnessed remarkable advancements through large-scale pretrained language models, which demonstrate exceptional performance across various tasks via In-Context Learning(ICL). ICL leverages analogical learning principles, enabling models to iden",
|
| 107 |
+
"bbox": [
|
| 108 |
+
112,
|
| 109 |
+
825,
|
| 110 |
+
489,
|
| 111 |
+
921
|
| 112 |
+
],
|
| 113 |
+
"page_idx": 0
|
| 114 |
+
},
|
| 115 |
+
{
|
| 116 |
+
"type": "text",
|
| 117 |
+
"text": "tify patterns from provided examples and generate predictions for few-shot classification tasks. Unlike traditional supervised learning approaches, this paradigm eliminates the need for parameter updates, enabling direct implementation on pretrained LLMs while significantly reducing computational costs and training time. Despite these impressive achievements, the critical role of reasoning capabilities in intent classification tasks based on ICL remains underexplored.",
|
| 118 |
+
"bbox": [
|
| 119 |
+
507,
|
| 120 |
+
261,
|
| 121 |
+
884,
|
| 122 |
+
420
|
| 123 |
+
],
|
| 124 |
+
"page_idx": 0
|
| 125 |
+
},
|
| 126 |
+
{
|
| 127 |
+
"type": "text",
|
| 128 |
+
"text": "When confronted with highly complex scenarios in vertical domains, the ICL-based intent classification framework tends to reveal two critical shortcomings with greater prominence. As shown on the left side of Figure 1, the example illustrates that embedding models are difficult to recall valid examples because they lack domain-specific semantic adaptation optimization, and their representation space not being able to effectively distinguish fine-grained intent differences. Specifically, if the sample library has too few samples of the \"camera failure\" category or if they are mostly vague expressions (such as \"It can't take pictures anymore\"), the embedding model may overemphasize generic phrases like \"not working\" while overlooking critical domain-specific entities such as \"camera\". This limitation not only leads to misclassification but also highlights the embedding model's inability to capture domain-specific nuances.",
|
| 129 |
+
"bbox": [
|
| 130 |
+
507,
|
| 131 |
+
423,
|
| 132 |
+
884,
|
| 133 |
+
741
|
| 134 |
+
],
|
| 135 |
+
"page_idx": 0
|
| 136 |
+
},
|
| 137 |
+
{
|
| 138 |
+
"type": "text",
|
| 139 |
+
"text": "On the right side of Figure 1, LLMs exhibit a tendency to disproportionately focus on the action verb \"turn on\" and the generic noun \"computer\" when processing extended textual inputs. This observed pattern suggests that it is difficult for LLMs to achieve the mapping extension from surface semantics to deep semantics, for example, the causal relationship between \"Pressed the power button but there was no response\" and \"The computer won't turn on\", and thus cannot complete the reasoning of users' actual intent through ICL-based",
|
| 140 |
+
"bbox": [
|
| 141 |
+
507,
|
| 142 |
+
744,
|
| 143 |
+
884,
|
| 144 |
+
921
|
| 145 |
+
],
|
| 146 |
+
"page_idx": 0
|
| 147 |
+
},
|
| 148 |
+
{
|
| 149 |
+
"type": "page_number",
|
| 150 |
+
"text": "3031",
|
| 151 |
+
"bbox": [
|
| 152 |
+
480,
|
| 153 |
+
927,
|
| 154 |
+
517,
|
| 155 |
+
940
|
| 156 |
+
],
|
| 157 |
+
"page_idx": 0
|
| 158 |
+
},
|
| 159 |
+
{
|
| 160 |
+
"type": "footer",
|
| 161 |
+
"text": "Findings of the Association for Computational Linguistics: EMNLP 2025, pages 3031-3044",
|
| 162 |
+
"bbox": [
|
| 163 |
+
216,
|
| 164 |
+
945,
|
| 165 |
+
779,
|
| 166 |
+
957
|
| 167 |
+
],
|
| 168 |
+
"page_idx": 0
|
| 169 |
+
},
|
| 170 |
+
{
|
| 171 |
+
"type": "footer",
|
| 172 |
+
"text": "November 4-9, 2025 ©2025 Association for Computational Linguistics",
|
| 173 |
+
"bbox": [
|
| 174 |
+
280,
|
| 175 |
+
959,
|
| 176 |
+
715,
|
| 177 |
+
971
|
| 178 |
+
],
|
| 179 |
+
"page_idx": 0
|
| 180 |
+
},
|
| 181 |
+
{
|
| 182 |
+
"type": "image",
|
| 183 |
+
"img_path": "images/5eff723a45e86362f3ce755998a66cbb0a9d08d501a8e3aa514a4048e36ec395.jpg",
|
| 184 |
+
"image_caption": [
|
| 185 |
+
"Figure 1: The example on the left side of the figure shows that the examples retrieved based on similarity by the embedding model are not all valid. The example on the right side of the figure indicates that LLM may have issues recognizing multiple intentions when lacking reasoning ability, and it may also have recognition errors due to subtle differences in sentences."
|
| 186 |
+
],
|
| 187 |
+
"image_footnote": [],
|
| 188 |
+
"bbox": [
|
| 189 |
+
129,
|
| 190 |
+
85,
|
| 191 |
+
430,
|
| 192 |
+
354
|
| 193 |
+
],
|
| 194 |
+
"page_idx": 1
|
| 195 |
+
},
|
| 196 |
+
{
|
| 197 |
+
"type": "image",
|
| 198 |
+
"img_path": "images/e4520b181e6dd663c9393f782a4fb4832ff1c66815ec27483f56726261da494a.jpg",
|
| 199 |
+
"image_caption": [],
|
| 200 |
+
"image_footnote": [],
|
| 201 |
+
"bbox": [
|
| 202 |
+
450,
|
| 203 |
+
86,
|
| 204 |
+
867,
|
| 205 |
+
354
|
| 206 |
+
],
|
| 207 |
+
"page_idx": 1
|
| 208 |
+
},
|
| 209 |
+
{
|
| 210 |
+
"type": "text",
|
| 211 |
+
"text": "intent classification framework, ultimately leading to a significant reduction in the accuracy of intent recognition. Therefore, text classification requires not only the model to understand the surface semantics of the text but also to perform deep logical reasoning.",
|
| 212 |
+
"bbox": [
|
| 213 |
+
112,
|
| 214 |
+
457,
|
| 215 |
+
487,
|
| 216 |
+
554
|
| 217 |
+
],
|
| 218 |
+
"page_idx": 1
|
| 219 |
+
},
|
| 220 |
+
{
|
| 221 |
+
"type": "text",
|
| 222 |
+
"text": "To address these challenges in ICL-based intent classification, we propose ICLER. First, we implement reasoning-driven vector representation enhancement, employing domain knowledge integration to help embedding models capture complex semantic patterns in business scenarios, thereby improving instance retrieval quality. Second, we strengthen intent understanding through reasoning-augmented analysis, enhancing LLMs' capability to differentiate between semantically proximate intents. Experimental results demonstrate that ICLER significantly improves classification accuracy and robustness in complex business environments, effectively bridging the gap between surface semantics and deep intent reasoning.",
|
| 223 |
+
"bbox": [
|
| 224 |
+
112,
|
| 225 |
+
558,
|
| 226 |
+
489,
|
| 227 |
+
799
|
| 228 |
+
],
|
| 229 |
+
"page_idx": 1
|
| 230 |
+
},
|
| 231 |
+
{
|
| 232 |
+
"type": "text",
|
| 233 |
+
"text": "Our paper contributions are:",
|
| 234 |
+
"bbox": [
|
| 235 |
+
132,
|
| 236 |
+
803,
|
| 237 |
+
347,
|
| 238 |
+
819
|
| 239 |
+
],
|
| 240 |
+
"page_idx": 1
|
| 241 |
+
},
|
| 242 |
+
{
|
| 243 |
+
"type": "list",
|
| 244 |
+
"sub_type": "text",
|
| 245 |
+
"list_items": [
|
| 246 |
+
"- In terms of vector representation, we use inference optimization techniques to enable embedding models to better capture complex semantic information in the business scenario, thus improving the quality of example recalls.",
|
| 247 |
+
"- We propose a new method to introduce the in"
|
| 248 |
+
],
|
| 249 |
+
"bbox": [
|
| 250 |
+
134,
|
| 251 |
+
822,
|
| 252 |
+
489,
|
| 253 |
+
921
|
| 254 |
+
],
|
| 255 |
+
"page_idx": 1
|
| 256 |
+
},
|
| 257 |
+
{
|
| 258 |
+
"type": "text",
|
| 259 |
+
"text": "ference process into the ICL-based text classification framework, which effectively combines domain knowledge and multi-step inference and enhances the reasoning ability of LLM.",
|
| 260 |
+
"bbox": [
|
| 261 |
+
544,
|
| 262 |
+
457,
|
| 263 |
+
884,
|
| 264 |
+
536
|
| 265 |
+
],
|
| 266 |
+
"page_idx": 1
|
| 267 |
+
},
|
| 268 |
+
{
|
| 269 |
+
"type": "text",
|
| 270 |
+
"text": "- We conduct comprehensive experiments on both vertical-domain and general-purpose datasets to validate the effectiveness and broad applicability of our method.",
|
| 271 |
+
"bbox": [
|
| 272 |
+
531,
|
| 273 |
+
539,
|
| 274 |
+
882,
|
| 275 |
+
604
|
| 276 |
+
],
|
| 277 |
+
"page_idx": 1
|
| 278 |
+
},
|
| 279 |
+
{
|
| 280 |
+
"type": "text",
|
| 281 |
+
"text": "Chapter 2 will review the research work, Chapter 3 will detail the theoretical basis of the method, Chapter 4 will present the experimental results, Chapter 5 will summarize the conclusions, and the last chapter will analyze the limitations of the method.",
|
| 282 |
+
"bbox": [
|
| 283 |
+
507,
|
| 284 |
+
605,
|
| 285 |
+
882,
|
| 286 |
+
700
|
| 287 |
+
],
|
| 288 |
+
"page_idx": 1
|
| 289 |
+
},
|
| 290 |
+
{
|
| 291 |
+
"type": "text",
|
| 292 |
+
"text": "2 Related Work",
|
| 293 |
+
"text_level": 1,
|
| 294 |
+
"bbox": [
|
| 295 |
+
509,
|
| 296 |
+
713,
|
| 297 |
+
663,
|
| 298 |
+
728
|
| 299 |
+
],
|
| 300 |
+
"page_idx": 1
|
| 301 |
+
},
|
| 302 |
+
{
|
| 303 |
+
"type": "text",
|
| 304 |
+
"text": "2.1 In-Context learning",
|
| 305 |
+
"text_level": 1,
|
| 306 |
+
"bbox": [
|
| 307 |
+
507,
|
| 308 |
+
739,
|
| 309 |
+
712,
|
| 310 |
+
755
|
| 311 |
+
],
|
| 312 |
+
"page_idx": 1
|
| 313 |
+
},
|
| 314 |
+
{
|
| 315 |
+
"type": "text",
|
| 316 |
+
"text": "As an emerging natural language processing paradigm (Brown et al., 2020), ICL has received wide attention in recent years. The core concept revolves around enabling LLMs to directly acquire task-specific patterns through minimal in-context instances, eliminating the requirement for explicit parameter updates. Recent studies explain the ICL mechanism from the perspectives of Bayesian inference (Xie et al., 2022) and gradient descent (Yang et al., 2023), and believe that LLMs realize",
|
| 317 |
+
"bbox": [
|
| 318 |
+
507,
|
| 319 |
+
760,
|
| 320 |
+
882,
|
| 321 |
+
921
|
| 322 |
+
],
|
| 323 |
+
"page_idx": 1
|
| 324 |
+
},
|
| 325 |
+
{
|
| 326 |
+
"type": "page_number",
|
| 327 |
+
"text": "3032",
|
| 328 |
+
"bbox": [
|
| 329 |
+
480,
|
| 330 |
+
927,
|
| 331 |
+
519,
|
| 332 |
+
940
|
| 333 |
+
],
|
| 334 |
+
"page_idx": 1
|
| 335 |
+
},
|
| 336 |
+
{
|
| 337 |
+
"type": "text",
|
| 338 |
+
"text": "context learning through implicit optimization or pattern matching, which provides theoretical support for the interpretability of this paradigm.",
|
| 339 |
+
"bbox": [
|
| 340 |
+
112,
|
| 341 |
+
84,
|
| 342 |
+
490,
|
| 343 |
+
131
|
| 344 |
+
],
|
| 345 |
+
"page_idx": 2
|
| 346 |
+
},
|
| 347 |
+
{
|
| 348 |
+
"type": "text",
|
| 349 |
+
"text": "Meanwhile, ICL performance strongly depends on the prompt structure, including selection of instances, ordering of instances and formatting of instructions (Zhao et al., 2021; Lu et al., 2022). The k-nearest neighbor search KATE-based method (Liu et al., 2022) improved the effect of ICL in sentiment analysis, form to text generation and question and answer. Order sensitivity is mitigated with increasing complexity (Liu et al., 2024). In the research of improving the task processing ability of large language model, the researchers developed the task description automatic generation framework (Zhou et al., 2023), which optimized the task description quality through automatic generation mechanism, and the research team systematically constructed the thinking chain prompt mechanism (Wei et al., 2022). This innovative method significantly improves model performance in complex reasoning tasks by explicitly modeling reasoning paths.",
|
| 350 |
+
"bbox": [
|
| 351 |
+
115,
|
| 352 |
+
133,
|
| 353 |
+
489,
|
| 354 |
+
454
|
| 355 |
+
],
|
| 356 |
+
"page_idx": 2
|
| 357 |
+
},
|
| 358 |
+
{
|
| 359 |
+
"type": "text",
|
| 360 |
+
"text": "2.2 Embedding Models",
|
| 361 |
+
"text_level": 1,
|
| 362 |
+
"bbox": [
|
| 363 |
+
112,
|
| 364 |
+
464,
|
| 365 |
+
314,
|
| 366 |
+
481
|
| 367 |
+
],
|
| 368 |
+
"page_idx": 2
|
| 369 |
+
},
|
| 370 |
+
{
|
| 371 |
+
"type": "text",
|
| 372 |
+
"text": "The embedding model maps semantic information into a high-dimensional vector space via text embedding techniques. Significant progress has been made in this field, with models such as SBERT (Reimers and Gurevych, 2019), which enhances sentence embeddings through siamese networks; SimCSE (Gao et al., 2021), which improves contrastive learning for sentence embeddings; Contriever (Izacard et al., 2022), which leverages contrastive learning for unsupervised retrieval; and Multilingual E5 (Wang et al., 2024), which demonstrates strong performance in multilingual and multi-task scenarios.",
|
| 373 |
+
"bbox": [
|
| 374 |
+
112,
|
| 375 |
+
486,
|
| 376 |
+
489,
|
| 377 |
+
694
|
| 378 |
+
],
|
| 379 |
+
"page_idx": 2
|
| 380 |
+
},
|
| 381 |
+
{
|
| 382 |
+
"type": "text",
|
| 383 |
+
"text": "The development of embedding models has been further accelerated by the large-scale text embedding benchmark (MTEB) (Muennighoff et al., 2023), which provides a comprehensive evaluation framework for comparing and improving embedding techniques. Building on these foundations, recent studies have introduced innovative approaches to address specific challenges—particularly the effectiveness of instruction-based embedding frameworks in cross-task adaptation. Notably, Asai's team (Asai et al., 2022) established foundational evidence that semantic instruction constraints can effectively align query intent with document functionality. Building on this theoretical basis, Su's",
|
| 384 |
+
"bbox": [
|
| 385 |
+
112,
|
| 386 |
+
696,
|
| 387 |
+
489,
|
| 388 |
+
921
|
| 389 |
+
],
|
| 390 |
+
"page_idx": 2
|
| 391 |
+
},
|
| 392 |
+
{
|
| 393 |
+
"type": "text",
|
| 394 |
+
"text": "team (Su et al., 2023) subsequently developed the INSTRUCTOR framework, which operationalizes this principle by encoding both task descriptions and domain features as natural language instructions. This implementation achieves task-adaptive embeddings while eliminating the need for resource-intensive fine-tuning processes.",
|
| 395 |
+
"bbox": [
|
| 396 |
+
507,
|
| 397 |
+
84,
|
| 398 |
+
884,
|
| 399 |
+
197
|
| 400 |
+
],
|
| 401 |
+
"page_idx": 2
|
| 402 |
+
},
|
| 403 |
+
{
|
| 404 |
+
"type": "text",
|
| 405 |
+
"text": "Additionally, the GTE model (Li et al., 2023) employs a multi-stage contrastive learning framework, demonstrating exceptional generalization capabilities, particularly in unidirectional quantity embedding tasks. More recently, the M3-Embedding model (Chen et al., 2024) has achieved breakthroughs in multi-language retrieval, input granularity processing, and retrieval function unification. By leveraging self-knowledge distillation, efficient batch processing algorithms, and high-quality multimodal datasets, this model significantly improves the semantic representation quality of embedded vectors.",
|
| 406 |
+
"bbox": [
|
| 407 |
+
507,
|
| 408 |
+
198,
|
| 409 |
+
885,
|
| 410 |
+
407
|
| 411 |
+
],
|
| 412 |
+
"page_idx": 2
|
| 413 |
+
},
|
| 414 |
+
{
|
| 415 |
+
"type": "text",
|
| 416 |
+
"text": "2.3 Reasoning ability of LLMs",
|
| 417 |
+
"text_level": 1,
|
| 418 |
+
"bbox": [
|
| 419 |
+
507,
|
| 420 |
+
420,
|
| 421 |
+
764,
|
| 422 |
+
436
|
| 423 |
+
],
|
| 424 |
+
"page_idx": 2
|
| 425 |
+
},
|
| 426 |
+
{
|
| 427 |
+
"type": "text",
|
| 428 |
+
"text": "The reasoning ability of LLMs has been significantly enhanced by techniques that simulate the human problem-solving process. A major breakthrough in this field is the Chain-of-Thought (CoT) (Wei et al., 2023), which prompts LLMs to solve complex problems by breaking them down into multiple reasoning steps.",
|
| 429 |
+
"bbox": [
|
| 430 |
+
507,
|
| 431 |
+
443,
|
| 432 |
+
882,
|
| 433 |
+
556
|
| 434 |
+
],
|
| 435 |
+
"page_idx": 2
|
| 436 |
+
},
|
| 437 |
+
{
|
| 438 |
+
"type": "text",
|
| 439 |
+
"text": "Recently, LLMs with complex reasoning capabilities, such as OpenAI's GPT-4/4o (OpenAI et al., 2024), DeepSeek-R1 (DeepSeek-AI et al., 2025), and Google's Gemini 2.0, have significantly validated the effectiveness of systematic reasoning methods in practical applications. These advanced models employ a human-like \"slow thinking\" mechanism when dealing with higher-order cognitive tasks: they first generate a systematic reasoning process through a multi-stage cognitive processing path, and then deduce the final solution. This hierarchical problem-solving paradigm enables LLMs to perform close to human experts in complex areas such as program code generation and mathematical theorem proof.",
|
| 440 |
+
"bbox": [
|
| 441 |
+
507,
|
| 442 |
+
558,
|
| 443 |
+
885,
|
| 444 |
+
797
|
| 445 |
+
],
|
| 446 |
+
"page_idx": 2
|
| 447 |
+
},
|
| 448 |
+
{
|
| 449 |
+
"type": "text",
|
| 450 |
+
"text": "3 Method",
|
| 451 |
+
"text_level": 1,
|
| 452 |
+
"bbox": [
|
| 453 |
+
507,
|
| 454 |
+
813,
|
| 455 |
+
611,
|
| 456 |
+
828
|
| 457 |
+
],
|
| 458 |
+
"page_idx": 2
|
| 459 |
+
},
|
| 460 |
+
{
|
| 461 |
+
"type": "text",
|
| 462 |
+
"text": "Figure 2 illustrates the processing pipeline of ICLER. This method processes query by retrieving relevant examples from the Instance Database $\\mathcal{D}$ and logical analysis results from the Reasoning Database $\\mathcal{R}$ through a dual-channel retrieval mech",
|
| 463 |
+
"bbox": [
|
| 464 |
+
507,
|
| 465 |
+
841,
|
| 466 |
+
882,
|
| 467 |
+
921
|
| 468 |
+
],
|
| 469 |
+
"page_idx": 2
|
| 470 |
+
},
|
| 471 |
+
{
|
| 472 |
+
"type": "page_number",
|
| 473 |
+
"text": "3033",
|
| 474 |
+
"bbox": [
|
| 475 |
+
480,
|
| 476 |
+
927,
|
| 477 |
+
519,
|
| 478 |
+
940
|
| 479 |
+
],
|
| 480 |
+
"page_idx": 2
|
| 481 |
+
},
|
| 482 |
+
{
|
| 483 |
+
"type": "image",
|
| 484 |
+
"img_path": "images/d06008fb8ffc47ce34ad46f1c8aa58eb6f6574d917bc77ad733ce0ed5d5ee2fd.jpg",
|
| 485 |
+
"image_caption": [
|
| 486 |
+
"Figure 2: Processing pipeline of ICLER: Embedding Model is a model jointly trained based on reasoning and embedding tasks, and Reasoning database is an error analysis generated based on strong negative cases."
|
| 487 |
+
],
|
| 488 |
+
"image_footnote": [],
|
| 489 |
+
"bbox": [
|
| 490 |
+
121,
|
| 491 |
+
85,
|
| 492 |
+
880,
|
| 493 |
+
350
|
| 494 |
+
],
|
| 495 |
+
"page_idx": 3
|
| 496 |
+
},
|
| 497 |
+
{
|
| 498 |
+
"type": "text",
|
| 499 |
+
"text": "anism. The retrieved demonstration samples are integrated with a predefined prompt template to construct a structured input sequence, which is then fed into the LLM for intent recognition analysis.",
|
| 500 |
+
"bbox": [
|
| 501 |
+
112,
|
| 502 |
+
443,
|
| 503 |
+
489,
|
| 504 |
+
508
|
| 505 |
+
],
|
| 506 |
+
"page_idx": 3
|
| 507 |
+
},
|
| 508 |
+
{
|
| 509 |
+
"type": "text",
|
| 510 |
+
"text": "To further improve the performance of this process, we employ an embedding model that is optimized through a multi-task learning framework. Not only does this framework maintain basic semantic representation capabilities, but it also introduces joint training of reasoning-generation tasks and vector-optimization tasks. Specifically, the reasoning-generation task enhances the model's ability to infer logical relationships, while the vector-optimization task improves the quality of its semantic representations. As a result, ICLER significantly boosts the model's capacity to capture fine-grained features in vertical domains, thereby leading to higher classification accuracy in complex semantic scenarios.",
|
| 511 |
+
"bbox": [
|
| 512 |
+
112,
|
| 513 |
+
513,
|
| 514 |
+
489,
|
| 515 |
+
753
|
| 516 |
+
],
|
| 517 |
+
"page_idx": 3
|
| 518 |
+
},
|
| 519 |
+
{
|
| 520 |
+
"type": "text",
|
| 521 |
+
"text": "To support this framework, the following technical components are developed: (1) Build Retrieval Database and Fine-tuning Dataset: a Reasoning Database that stores structured logical analysis results for retrieval and an Instance Database to retrieve related instances. Then, build a Fine-tuning Dataset with the corresponding database; (2) Multi-task Training Pipeline: a multi-task training pipeline that optimizes embedding quality through joint learning of reason",
|
| 522 |
+
"bbox": [
|
| 523 |
+
112,
|
| 524 |
+
760,
|
| 525 |
+
490,
|
| 526 |
+
921
|
| 527 |
+
],
|
| 528 |
+
"page_idx": 3
|
| 529 |
+
},
|
| 530 |
+
{
|
| 531 |
+
"type": "text",
|
| 532 |
+
"text": "ing and representation tasks; (3) Results Obtain: an intent classification module that integrates improved embeddings and logical reasoning for accurate intent recognition.",
|
| 533 |
+
"bbox": [
|
| 534 |
+
507,
|
| 535 |
+
443,
|
| 536 |
+
884,
|
| 537 |
+
506
|
| 538 |
+
],
|
| 539 |
+
"page_idx": 3
|
| 540 |
+
},
|
| 541 |
+
{
|
| 542 |
+
"type": "text",
|
| 543 |
+
"text": "3.1 Build Retrieval Database and Fine-tuning Dataset",
|
| 544 |
+
"text_level": 1,
|
| 545 |
+
"bbox": [
|
| 546 |
+
507,
|
| 547 |
+
519,
|
| 548 |
+
882,
|
| 549 |
+
550
|
| 550 |
+
],
|
| 551 |
+
"page_idx": 3
|
| 552 |
+
},
|
| 553 |
+
{
|
| 554 |
+
"type": "text",
|
| 555 |
+
"text": "3.1.1 Build Retrieval Database",
|
| 556 |
+
"text_level": 1,
|
| 557 |
+
"bbox": [
|
| 558 |
+
507,
|
| 559 |
+
558,
|
| 560 |
+
766,
|
| 561 |
+
571
|
| 562 |
+
],
|
| 563 |
+
"page_idx": 3
|
| 564 |
+
},
|
| 565 |
+
{
|
| 566 |
+
"type": "text",
|
| 567 |
+
"text": "We designed a concise and efficient data synthesis process that use the reasoning power of LLM to generate Reasoning Database. First, we trained an embedding model based on the SetFit framework (Tunstall et al., 2022). The training set is trained by five-fold cross-validation, and the divided test set is also identified to generate a strong negative case data set $W = \\{w_{i} = \\text{(case, true_label, false_label)}\\}$ , where each sample contains a case, a correct label and an error label. This data is then combined with the corresponding prompt:",
|
| 568 |
+
"bbox": [
|
| 569 |
+
505,
|
| 570 |
+
577,
|
| 571 |
+
884,
|
| 572 |
+
771
|
| 573 |
+
],
|
| 574 |
+
"page_idx": 3
|
| 575 |
+
},
|
| 576 |
+
{
|
| 577 |
+
"type": "equation",
|
| 578 |
+
"text": "\n$$\n\\begin{array}{l} P _ {R i} = \\operatorname {T a k} \\left\\{B _ {-} \\operatorname {I n s} \\right\\}; \\\\ \\text {E x a m p l e s} \\{B _ {-} E \\}; \\\\ Q u e r y \\{w _ {i} \\}, \\\\ r _ {i} = L L M _ {r e a s o n i n g} (P _ {R i}), \\\\ \\end{array}\n$$\n",
|
| 579 |
+
"text_format": "latex",
|
| 580 |
+
"bbox": [
|
| 581 |
+
613,
|
| 582 |
+
783,
|
| 583 |
+
791,
|
| 584 |
+
860
|
| 585 |
+
],
|
| 586 |
+
"page_idx": 3
|
| 587 |
+
},
|
| 588 |
+
{
|
| 589 |
+
"type": "text",
|
| 590 |
+
"text": "Among them, $B\\_Ins$ is used to clearly explain the requirements of the thinking task. Example $B\\_E$ is used to show the form of the desired out",
|
| 591 |
+
"bbox": [
|
| 592 |
+
507,
|
| 593 |
+
873,
|
| 594 |
+
884,
|
| 595 |
+
920
|
| 596 |
+
],
|
| 597 |
+
"page_idx": 3
|
| 598 |
+
},
|
| 599 |
+
{
|
| 600 |
+
"type": "page_number",
|
| 601 |
+
"text": "3034",
|
| 602 |
+
"bbox": [
|
| 603 |
+
480,
|
| 604 |
+
927,
|
| 605 |
+
519,
|
| 606 |
+
940
|
| 607 |
+
],
|
| 608 |
+
"page_idx": 3
|
| 609 |
+
},
|
| 610 |
+
{
|
| 611 |
+
"type": "text",
|
| 612 |
+
"text": "put to guide the model to generate compliant responses. $w_{i}$ represents the input specific case for model generation reasoning. The designed $P_{R_i}$ (A) is input into LLM to generate the reasoning results. These results will be used to construct the Reasoning Database $\\mathcal{R}$ and provide high-quality reasoning data support for subsequent tasks.",
|
| 613 |
+
"bbox": [
|
| 614 |
+
112,
|
| 615 |
+
84,
|
| 616 |
+
489,
|
| 617 |
+
197
|
| 618 |
+
],
|
| 619 |
+
"page_idx": 4
|
| 620 |
+
},
|
| 621 |
+
{
|
| 622 |
+
"type": "text",
|
| 623 |
+
"text": "Training corpora are processed into fixed-dimensional vectors with semantic representations through a embedding model, and the normalized text embedding vectors along with their supervised labels are subsequently stored in an Instance Database $\\mathcal{D}$ .",
|
| 624 |
+
"bbox": [
|
| 625 |
+
112,
|
| 626 |
+
197,
|
| 627 |
+
489,
|
| 628 |
+
292
|
| 629 |
+
],
|
| 630 |
+
"page_idx": 4
|
| 631 |
+
},
|
| 632 |
+
{
|
| 633 |
+
"type": "text",
|
| 634 |
+
"text": "3.1.2 Build Fine-tuning Dataset",
|
| 635 |
+
"text_level": 1,
|
| 636 |
+
"bbox": [
|
| 637 |
+
112,
|
| 638 |
+
300,
|
| 639 |
+
378,
|
| 640 |
+
317
|
| 641 |
+
],
|
| 642 |
+
"page_idx": 4
|
| 643 |
+
},
|
| 644 |
+
{
|
| 645 |
+
"type": "text",
|
| 646 |
+
"text": "The model is trained to respond to instructions by generating answers. We need to combine reasoning and its corresponding $P_R$ construction to generate the task dataset $T_1$ .",
|
| 647 |
+
"bbox": [
|
| 648 |
+
112,
|
| 649 |
+
319,
|
| 650 |
+
489,
|
| 651 |
+
384
|
| 652 |
+
],
|
| 653 |
+
"page_idx": 4
|
| 654 |
+
},
|
| 655 |
+
{
|
| 656 |
+
"type": "equation",
|
| 657 |
+
"text": "\n$$\nT _ {I} = \\left\\{\\left\\{t e x t: \\left[ P _ {R i}, r _ {i} \\right] \\right\\}, \\dots \\right\\}, \\tag {2}\n$$\n",
|
| 658 |
+
"text_format": "latex",
|
| 659 |
+
"bbox": [
|
| 660 |
+
189,
|
| 661 |
+
395,
|
| 662 |
+
487,
|
| 663 |
+
413
|
| 664 |
+
],
|
| 665 |
+
"page_idx": 4
|
| 666 |
+
},
|
| 667 |
+
{
|
| 668 |
+
"type": "text",
|
| 669 |
+
"text": "Where $r_i \\in \\mathcal{R}$ , is the prompt to generate in 3.1.1. And at the beginning of the training, the data set $T_1$ will be task marked, the specific marker form is as follows: generate the task tag: $<s><|user|>\\{...$ $|\\text{assistant}|>\\{\\} < /s>$ .",
|
| 670 |
+
"bbox": [
|
| 671 |
+
112,
|
| 672 |
+
420,
|
| 673 |
+
487,
|
| 674 |
+
501
|
| 675 |
+
],
|
| 676 |
+
"page_idx": 4
|
| 677 |
+
},
|
| 678 |
+
{
|
| 679 |
+
"type": "text",
|
| 680 |
+
"text": "Furthermore, in order to meet the representational instruction tuning, we need to combine the embedded instructions with the training data to build the data set $T_{2}$ .",
|
| 681 |
+
"bbox": [
|
| 682 |
+
112,
|
| 683 |
+
502,
|
| 684 |
+
489,
|
| 685 |
+
565
|
| 686 |
+
],
|
| 687 |
+
"page_idx": 4
|
| 688 |
+
},
|
| 689 |
+
{
|
| 690 |
+
"type": "equation",
|
| 691 |
+
"text": "\n$$\nT _ {2} = \\left\\{ \\begin{array}{c} \\left\\{\\text {q u e r y}: [ Q \\_ I n s, q _ {\\text {t r a i n} i} ], \\right. \\\\ \\quad \\text {p o s}: \\left[ \\left[ P \\_ I n s, p _ {i 1} \\right], \\left[ P \\_ I n s, p _ {i 2} \\right], \\dots \\right], \\\\ \\quad \\text {n e g}: \\left[ \\left[ N \\_ I n s, n _ {i 1} \\right], \\left[ N \\_ I n s, n _ {i 2} \\right], \\dots \\right] \\\\ \\}, \\dots \\end{array} \\right\\} \\tag {3}\n$$\n",
|
| 692 |
+
"text_format": "latex",
|
| 693 |
+
"bbox": [
|
| 694 |
+
112,
|
| 695 |
+
573,
|
| 696 |
+
487,
|
| 697 |
+
663
|
| 698 |
+
],
|
| 699 |
+
"page_idx": 4
|
| 700 |
+
},
|
| 701 |
+
{
|
| 702 |
+
"type": "text",
|
| 703 |
+
"text": "$q_{train_i} \\in \\mathcal{D}$ and $\\{p_{ij}\\}$ is a set of sentences with the same composition as $q_{train_i}$ 's label, and $\\{n_{ik}\\}$ is a set of sentences with different intents from $q_{train_i}$ 's label (to reduce the scale of $T_2$ , we optimized the construction process. Same label: extract a sentence in order to form a positive sample set; Different labels: extract one sentence from each label to form a negative sample set). $Q_{-}\\text{Ins}, P_{-}\\text{Ins},$ and $N_{-}\\text{Ins}$ are the embedding instructions corresponding to the query $q_{train_i}$ , the positive instance set $\\{p_{ij}\\}$ , and the negative instance set $\\{n_{ik}\\}$ , respectively. At the same time, study has confirmed that the above three embedding instructions can be the same one, So we use emb_Instruction = \"Represent the example for the following task: Given a question about computer-related",
|
| 704 |
+
"bbox": [
|
| 705 |
+
112,
|
| 706 |
+
664,
|
| 707 |
+
490,
|
| 708 |
+
921
|
| 709 |
+
],
|
| 710 |
+
"page_idx": 4
|
| 711 |
+
},
|
| 712 |
+
{
|
| 713 |
+
"type": "text",
|
| 714 |
+
"text": "issues or casual conversation, it is necessary to determine the intent of the given question in order to better address the user's issue.\" as the instruction corresponding to all instances.",
|
| 715 |
+
"bbox": [
|
| 716 |
+
507,
|
| 717 |
+
84,
|
| 718 |
+
884,
|
| 719 |
+
148
|
| 720 |
+
],
|
| 721 |
+
"page_idx": 4
|
| 722 |
+
},
|
| 723 |
+
{
|
| 724 |
+
"type": "text",
|
| 725 |
+
"text": "At the beginning of the training, the dataset will be task labeled, the specific marker form is as follows: embedding task tag: $<s><|user|>\\{emb_Instruction\\}<|embed|\\} \\{q_{traini}$ or $p_{ij}$ or $n_{ik}\\}$",
|
| 726 |
+
"bbox": [
|
| 727 |
+
507,
|
| 728 |
+
149,
|
| 729 |
+
884,
|
| 730 |
+
215
|
| 731 |
+
],
|
| 732 |
+
"page_idx": 4
|
| 733 |
+
},
|
| 734 |
+
{
|
| 735 |
+
"type": "text",
|
| 736 |
+
"text": "3.2 Multi-task Training Pipeline",
|
| 737 |
+
"text_level": 1,
|
| 738 |
+
"bbox": [
|
| 739 |
+
507,
|
| 740 |
+
223,
|
| 741 |
+
781,
|
| 742 |
+
239
|
| 743 |
+
],
|
| 744 |
+
"page_idx": 4
|
| 745 |
+
},
|
| 746 |
+
{
|
| 747 |
+
"type": "text",
|
| 748 |
+
"text": "We used the GRIT architecture (Muennighoff et al., 2025) to train with the contrast loss function and the generation loss function, and used the ability of the generation task optimization embedding model to represent fine-grained features. Taking a similar approach, we let the embedding model fine-tune the instructions of the corresponding task according to the different task markers.",
|
| 749 |
+
"bbox": [
|
| 750 |
+
507,
|
| 751 |
+
243,
|
| 752 |
+
884,
|
| 753 |
+
370
|
| 754 |
+
],
|
| 755 |
+
"page_idx": 4
|
| 756 |
+
},
|
| 757 |
+
{
|
| 758 |
+
"type": "equation",
|
| 759 |
+
"text": "\n$$\n\\begin{array}{l} \\mathcal {L} = - \\frac {\\lambda_ {e m b}}{M} \\sum_ {i = 1} ^ {M} \\log \\frac {\\sum_ {j = 1} ^ {A} \\exp (\\tau \\sigma (f _ {\\theta} (q _ {i}) , f _ {\\theta} (d _ {i j})))}{\\sum_ {k = 1} ^ {A + B} \\exp (\\tau \\sigma (f _ {\\theta} (q _ {i}) , f _ {\\theta} (d _ {i k})))} \\\\ - \\frac {\\lambda_ {g e n}}{N} \\sum_ {i = 1} ^ {N} \\log P \\left(f _ {\\theta , \\eta} \\left(x _ {i}\\right) \\mid f _ {\\theta , \\eta} \\left(x _ {(< i)}\\right)\\right), \\tag {4} \\\\ \\end{array}\n$$\n",
|
| 760 |
+
"text_format": "latex",
|
| 761 |
+
"bbox": [
|
| 762 |
+
509,
|
| 763 |
+
376,
|
| 764 |
+
889,
|
| 765 |
+
512
|
| 766 |
+
],
|
| 767 |
+
"page_idx": 4
|
| 768 |
+
},
|
| 769 |
+
{
|
| 770 |
+
"type": "text",
|
| 771 |
+
"text": "Here, M indicates the embedding task batch and N indicates the generation task batch. $f_{\\theta}$ denotes an embedding model parameterized by $\\theta$ while $f_{\\theta,\\eta}$ refers to the architecture augmented with an $\\eta$ -parameterized language modeling head for generation tasks. The temperature hyperparameter is denoted as $\\tau$ , and $\\sigma$ signifies the process of applying a pooling operation to each output embedding followed by cosine similarity computation. Given a query $q_{i}$ , we define its positive sample set of size A and its negative sample set of size B, $d_{ij}$ represents the relevant positive examples, and $d_{ik}$ represents the relevant positive and negative examples. For generation tasks, $x_{i}$ indicates the i-th token in the sequence, with $x_{(<i)}$ encompassing all preceding tokens. The training objective is to minimize the negative log-likelihood loss exclusively over the tokens ( $\\{\\text{response}\\} < /s>$ ). Based on experimental results identifying $(\\lambda_{gen}, \\lambda_{emb}) = (2,1)$ as optimal, we initialize the loss function accordingly.",
|
| 772 |
+
"bbox": [
|
| 773 |
+
507,
|
| 774 |
+
518,
|
| 775 |
+
884,
|
| 776 |
+
841
|
| 777 |
+
],
|
| 778 |
+
"page_idx": 4
|
| 779 |
+
},
|
| 780 |
+
{
|
| 781 |
+
"type": "text",
|
| 782 |
+
"text": "3.3 Intent Classification",
|
| 783 |
+
"text_level": 1,
|
| 784 |
+
"bbox": [
|
| 785 |
+
507,
|
| 786 |
+
848,
|
| 787 |
+
714,
|
| 788 |
+
864
|
| 789 |
+
],
|
| 790 |
+
"page_idx": 4
|
| 791 |
+
},
|
| 792 |
+
{
|
| 793 |
+
"type": "text",
|
| 794 |
+
"text": "3.3.1 Information Retrieval",
|
| 795 |
+
"text_level": 1,
|
| 796 |
+
"bbox": [
|
| 797 |
+
507,
|
| 798 |
+
870,
|
| 799 |
+
741,
|
| 800 |
+
884
|
| 801 |
+
],
|
| 802 |
+
"page_idx": 4
|
| 803 |
+
},
|
| 804 |
+
{
|
| 805 |
+
"type": "text",
|
| 806 |
+
"text": "Incorporating reasoning support and a domain-adaptive retrieval embedding model, we clas",
|
| 807 |
+
"bbox": [
|
| 808 |
+
507,
|
| 809 |
+
889,
|
| 810 |
+
884,
|
| 811 |
+
921
|
| 812 |
+
],
|
| 813 |
+
"page_idx": 4
|
| 814 |
+
},
|
| 815 |
+
{
|
| 816 |
+
"type": "page_number",
|
| 817 |
+
"text": "3035",
|
| 818 |
+
"bbox": [
|
| 819 |
+
480,
|
| 820 |
+
927,
|
| 821 |
+
519,
|
| 822 |
+
940
|
| 823 |
+
],
|
| 824 |
+
"page_idx": 4
|
| 825 |
+
},
|
| 826 |
+
{
|
| 827 |
+
"type": "text",
|
| 828 |
+
"text": "sify intents via the designed pipeline. We prompt the LLM with the instruction tuple $I\\_Ins, r_i^*, d_i^*, q_{testi}$ (where $q_{testi}$ is drawn from the test set), and retrieve the associated reasoning $r_i^*$ and instances $d_i^*$ . Retrieval then uses embedding similarity between the user query and each $d_i^*$ to assess relevance. Given a query $q_{testi}$ , Instance Database $\\mathcal{D}$ , and Reasoning Database $\\mathcal{R}$ , the embedding model $M$ encodes them as $v_{q_i}, V_D, V_R$ :",
|
| 829 |
+
"bbox": [
|
| 830 |
+
112,
|
| 831 |
+
84,
|
| 832 |
+
489,
|
| 833 |
+
231
|
| 834 |
+
],
|
| 835 |
+
"page_idx": 5
|
| 836 |
+
},
|
| 837 |
+
{
|
| 838 |
+
"type": "equation",
|
| 839 |
+
"text": "\n$$\nv _ {q _ {i}} \\leftarrow M \\left(q _ {\\text {t e s t} i}\\right), V _ {D} \\leftarrow M (\\mathcal {D}), V _ {R} \\leftarrow M (\\mathcal {R}), \\tag {5}\n$$\n",
|
| 840 |
+
"text_format": "latex",
|
| 841 |
+
"bbox": [
|
| 842 |
+
121,
|
| 843 |
+
265,
|
| 844 |
+
487,
|
| 845 |
+
298
|
| 846 |
+
],
|
| 847 |
+
"page_idx": 5
|
| 848 |
+
},
|
| 849 |
+
{
|
| 850 |
+
"type": "text",
|
| 851 |
+
"text": "To retrieve related instances $d_{i}^{*}$ and related reasoning $r_i^*$ from a large-scale dataset, we used the graph-based approximate nearest neighbor search algorithm Hierarchical Navigable Small Worlds(HNSW)(Malkov and Yashunin, 2020). The relevant instances need to meet the following nearest-neighbor criteria:",
|
| 852 |
+
"bbox": [
|
| 853 |
+
112,
|
| 854 |
+
332,
|
| 855 |
+
489,
|
| 856 |
+
447
|
| 857 |
+
],
|
| 858 |
+
"page_idx": 5
|
| 859 |
+
},
|
| 860 |
+
{
|
| 861 |
+
"type": "equation",
|
| 862 |
+
"text": "\n$$\n\\begin{array}{l} d _ {i} ^ {*} = \\arg \\min _ {d _ {i} ^ {*} \\in \\mathcal {D}} \\left\\{d i s (v _ {q _ {i}}, V _ {D}) \\right\\}, \\\\ r _ {i} ^ {*} = \\arg \\min _ {r _ {i} ^ {*} \\in \\mathcal {R}} \\left\\{d i s \\left(v _ {q _ {i}}, V _ {R}\\right) \\right\\}, \\tag {6} \\\\ \\end{array}\n$$\n",
|
| 863 |
+
"text_format": "latex",
|
| 864 |
+
"bbox": [
|
| 865 |
+
184,
|
| 866 |
+
479,
|
| 867 |
+
485,
|
| 868 |
+
533
|
| 869 |
+
],
|
| 870 |
+
"page_idx": 5
|
| 871 |
+
},
|
| 872 |
+
{
|
| 873 |
+
"type": "text",
|
| 874 |
+
"text": "Here, the function $dis()$ denotes the cosine distance computed by the pre-trained embedding model $M$ . First, pre-process the Reasoning Dataset $\\mathcal{R}$ and the Instance dataset $\\mathcal{D}$ in the reasoning library, plus the embedded instruction tag: $<|user|>\\{\\} <|embed|>\\{\\mathcal{D},\\mathcal{R}\\}$ . (Note that $\\mathcal{D}$ and $\\mathcal{R}$ are already included in the training data, so no extra instructions are needed for embedding.). Next, for each user query $q_{test_i}$ , we add a task tag: $<|user|>\\{I_Ins\\}<|embed|>\\{q_{test_i}\\}$ . ( $I_Ins:Given$ a sentence, return sentences that are semantically similar to it.) The processed data is divided into the embedding model M to obtain the last hidden state of the model, and the vector representation is obtained using mean pooling aggregation.",
|
| 875 |
+
"bbox": [
|
| 876 |
+
112,
|
| 877 |
+
576,
|
| 878 |
+
489,
|
| 879 |
+
819
|
| 880 |
+
],
|
| 881 |
+
"page_idx": 5
|
| 882 |
+
},
|
| 883 |
+
{
|
| 884 |
+
"type": "text",
|
| 885 |
+
"text": "Finally, the similarity between the embedding vectors is obtained by applying the HNSW search algorithm, quickly retrieve and returning the most relevant TOP-N instances $d_{i}^{*}$ . Meanwhile, we select the TOP-1 reason $r_{i}^{*}$ that best matched the query for intent judgment.",
|
| 886 |
+
"bbox": [
|
| 887 |
+
112,
|
| 888 |
+
824,
|
| 889 |
+
489,
|
| 890 |
+
921
|
| 891 |
+
],
|
| 892 |
+
"page_idx": 5
|
| 893 |
+
},
|
| 894 |
+
{
|
| 895 |
+
"type": "text",
|
| 896 |
+
"text": "3.3.2 Results Obtain",
|
| 897 |
+
"text_level": 1,
|
| 898 |
+
"bbox": [
|
| 899 |
+
507,
|
| 900 |
+
84,
|
| 901 |
+
687,
|
| 902 |
+
98
|
| 903 |
+
],
|
| 904 |
+
"page_idx": 5
|
| 905 |
+
},
|
| 906 |
+
{
|
| 907 |
+
"type": "text",
|
| 908 |
+
"text": "Construct a $P_{C_i}$ for classification and input it into an LLM for classification:",
|
| 909 |
+
"bbox": [
|
| 910 |
+
507,
|
| 911 |
+
105,
|
| 912 |
+
882,
|
| 913 |
+
136
|
| 914 |
+
],
|
| 915 |
+
"page_idx": 5
|
| 916 |
+
},
|
| 917 |
+
{
|
| 918 |
+
"type": "equation",
|
| 919 |
+
"text": "\n$$\nP _ {C i} = \\operatorname {T a s k} \\left\\{C \\_ I n s \\right\\};\n$$\n",
|
| 920 |
+
"text_format": "latex",
|
| 921 |
+
"bbox": [
|
| 922 |
+
600,
|
| 923 |
+
149,
|
| 924 |
+
764,
|
| 925 |
+
167
|
| 926 |
+
],
|
| 927 |
+
"page_idx": 5
|
| 928 |
+
},
|
| 929 |
+
{
|
| 930 |
+
"type": "equation",
|
| 931 |
+
"text": "\n$$\n\\text {R e a s o n} \\left\\{r _ {i} ^ {*} \\right\\};\n$$\n",
|
| 932 |
+
"text_format": "latex",
|
| 933 |
+
"bbox": [
|
| 934 |
+
652,
|
| 935 |
+
168,
|
| 936 |
+
754,
|
| 937 |
+
186
|
| 938 |
+
],
|
| 939 |
+
"page_idx": 5
|
| 940 |
+
},
|
| 941 |
+
{
|
| 942 |
+
"type": "equation",
|
| 943 |
+
"text": "\n$$\n\\text {E x a m p l e s} \\left\\{d _ {i} ^ {*} \\right\\}; \\tag {7}\n$$\n",
|
| 944 |
+
"text_format": "latex",
|
| 945 |
+
"bbox": [
|
| 946 |
+
652,
|
| 947 |
+
189,
|
| 948 |
+
882,
|
| 949 |
+
206
|
| 950 |
+
],
|
| 951 |
+
"page_idx": 5
|
| 952 |
+
},
|
| 953 |
+
{
|
| 954 |
+
"type": "equation",
|
| 955 |
+
"text": "\n$$\nQ u e y \\left\\{q _ {t e s t i} \\right\\},\n$$\n",
|
| 956 |
+
"text_format": "latex",
|
| 957 |
+
"bbox": [
|
| 958 |
+
652,
|
| 959 |
+
209,
|
| 960 |
+
759,
|
| 961 |
+
225
|
| 962 |
+
],
|
| 963 |
+
"page_idx": 5
|
| 964 |
+
},
|
| 965 |
+
{
|
| 966 |
+
"type": "equation",
|
| 967 |
+
"text": "\n$$\n\\operatorname {r e s u l t} _ {i} = L L M _ {\\text {c l a s s i f i c a t i o n}} \\left(P _ {C _ {i}}\\right),\n$$\n",
|
| 968 |
+
"text_format": "latex",
|
| 969 |
+
"bbox": [
|
| 970 |
+
581,
|
| 971 |
+
229,
|
| 972 |
+
811,
|
| 973 |
+
244
|
| 974 |
+
],
|
| 975 |
+
"page_idx": 5
|
| 976 |
+
},
|
| 977 |
+
{
|
| 978 |
+
"type": "text",
|
| 979 |
+
"text": "Where Ins represents the input intent classification task instruction, reasoning data $r_i^*$ is used to provide the analysis process, instance data $d_i^*$ provides the relevant instances, and $q_{test_i}$ is the user's query. Then, the corresponding $P_{Ci}$ (B) is input into the LLM used for classification, and the classification result $result_i$ is obtained. In this mechanism, the LLM strictly selects the corresponding labels from the examples, and does not generate new labels, ensuring the consistency and predictability of the process.",
|
| 980 |
+
"bbox": [
|
| 981 |
+
507,
|
| 982 |
+
259,
|
| 983 |
+
884,
|
| 984 |
+
436
|
| 985 |
+
],
|
| 986 |
+
"page_idx": 5
|
| 987 |
+
},
|
| 988 |
+
{
|
| 989 |
+
"type": "text",
|
| 990 |
+
"text": "4 Experiment",
|
| 991 |
+
"text_level": 1,
|
| 992 |
+
"bbox": [
|
| 993 |
+
507,
|
| 994 |
+
451,
|
| 995 |
+
648,
|
| 996 |
+
468
|
| 997 |
+
],
|
| 998 |
+
"page_idx": 5
|
| 999 |
+
},
|
| 1000 |
+
{
|
| 1001 |
+
"type": "text",
|
| 1002 |
+
"text": "4.1 Dataset and Evaluation Method",
|
| 1003 |
+
"text_level": 1,
|
| 1004 |
+
"bbox": [
|
| 1005 |
+
507,
|
| 1006 |
+
479,
|
| 1007 |
+
805,
|
| 1008 |
+
494
|
| 1009 |
+
],
|
| 1010 |
+
"page_idx": 5
|
| 1011 |
+
},
|
| 1012 |
+
{
|
| 1013 |
+
"type": "text",
|
| 1014 |
+
"text": "To evaluate the performance of ICLER in general scenarios, we used multiple datasets: the widely adopted multilingual Amazon Review corpus (MARC) including its en-US, zh-CN, and ja-JP subsets (Keung et al., 2020), which contain cross-lingual user reviews to support the model's multilingual text processing; the bankingIntent dataset (focused on bank-related intent identification, critical for assessing performance in the financial domain); the mistral-intent-data1816 dataset (covering diverse scenarios to comprehensively test intent recognition capabilities); and a self-constructed PC domain dataset (with over 500 labels and industrial-domain intent classification characteristics). Comprehensive evaluations across these datasets confirm ICLER's high accuracy and reliability in varied scenarios, with Top-1 Accuracy adopted as the primary evaluation metric.",
|
| 1015 |
+
"bbox": [
|
| 1016 |
+
505,
|
| 1017 |
+
501,
|
| 1018 |
+
884,
|
| 1019 |
+
804
|
| 1020 |
+
],
|
| 1021 |
+
"page_idx": 5
|
| 1022 |
+
},
|
| 1023 |
+
{
|
| 1024 |
+
"type": "text",
|
| 1025 |
+
"text": "In the recall task, Top-1 Accuracy represents the proportion of the first example intention of the embedding model recall consistent with the user query; in the classification task, Top-1 Accuracy represents the proportion of the results generated by the reasoning model consistent with the user query.",
|
| 1026 |
+
"bbox": [
|
| 1027 |
+
507,
|
| 1028 |
+
809,
|
| 1029 |
+
882,
|
| 1030 |
+
921
|
| 1031 |
+
],
|
| 1032 |
+
"page_idx": 5
|
| 1033 |
+
},
|
| 1034 |
+
{
|
| 1035 |
+
"type": "page_number",
|
| 1036 |
+
"text": "3036",
|
| 1037 |
+
"bbox": [
|
| 1038 |
+
480,
|
| 1039 |
+
927,
|
| 1040 |
+
521,
|
| 1041 |
+
940
|
| 1042 |
+
],
|
| 1043 |
+
"page_idx": 5
|
| 1044 |
+
},
|
| 1045 |
+
{
|
| 1046 |
+
"type": "table",
|
| 1047 |
+
"img_path": "images/ea78ad8aeeaf1c93a3cbbba8217a5d2c46e52d8859ab76f115c72e0bad3a838d.jpg",
|
| 1048 |
+
"table_caption": [
|
| 1049 |
+
"Table 1: Evaluation results of employing Multilingual-E5-Base and Qwen1.5-1.8B for embedding, with Qwen2.5-7B handling reasoning tasks. Evaluation uses Top-1 Accuracy(%) as the primary metric."
|
| 1050 |
+
],
|
| 1051 |
+
"table_footnote": [],
|
| 1052 |
+
"table_body": "<table><tr><td rowspan=\"2\">Model</td><td rowspan=\"2\">Method</td><td colspan=\"6\">Top-1 Accuracy (%)</td></tr><tr><td>pc</td><td>banking</td><td>en</td><td>ja</td><td>zh</td><td>mistral</td></tr><tr><td rowspan=\"3\">Multilingual-E5</td><td>Base</td><td>33.72</td><td>66.23</td><td>67.99</td><td>59.72</td><td>65.27</td><td>67.05</td></tr><tr><td>SetFit</td><td>56.08</td><td>83.18</td><td>81.98</td><td>77.34</td><td>76.70</td><td>73.86</td></tr><tr><td>Emb+Reason</td><td>61.15</td><td>90.68</td><td>80.70</td><td>78.28</td><td>78.41</td><td>75.00</td></tr><tr><td rowspan=\"3\">Qwen1.5-1.8B</td><td>Base</td><td>28.59</td><td>63.28</td><td>67.18</td><td>66.95</td><td>68.70</td><td>56.00</td></tr><tr><td>Emb-only</td><td>66.76</td><td>89.84</td><td>85.54</td><td>81.24</td><td>83.15</td><td>79.55</td></tr><tr><td>Emb+Reason</td><td>67.81</td><td>92.05</td><td>86.08</td><td>83.96</td><td>84.53</td><td>81.82</td></tr><tr><td rowspan=\"2\">Qwen2.5-7B</td><td>ICL</td><td>81.44</td><td>92.21</td><td>87.79</td><td>84.36</td><td>85.14</td><td>84.09</td></tr><tr><td>ICLER</td><td>86.21</td><td>93.00</td><td>87.83</td><td>85.04</td><td>85.94</td><td>85.23</td></tr></table>",
|
| 1053 |
+
"bbox": [
|
| 1054 |
+
115,
|
| 1055 |
+
141,
|
| 1056 |
+
884,
|
| 1057 |
+
296
|
| 1058 |
+
],
|
| 1059 |
+
"page_idx": 6
|
| 1060 |
+
},
|
| 1061 |
+
{
|
| 1062 |
+
"type": "text",
|
| 1063 |
+
"text": "4.2 Settings",
|
| 1064 |
+
"text_level": 1,
|
| 1065 |
+
"bbox": [
|
| 1066 |
+
112,
|
| 1067 |
+
319,
|
| 1068 |
+
225,
|
| 1069 |
+
336
|
| 1070 |
+
],
|
| 1071 |
+
"page_idx": 6
|
| 1072 |
+
},
|
| 1073 |
+
{
|
| 1074 |
+
"type": "text",
|
| 1075 |
+
"text": "Given strict time constraints, we constructed a recall system based on an embedding model, selecting two base models—Multilingual-E5-Base and Qwen1.5-1.8B-Chat—as embedding models. For data preparation, we utilized Qwen2.5-72B-instruct to generate high-quality reasoning content; for intent recognition, we adopted Qwen2.5-7B-Instruct. Training was conducted on a high-performance A100 GPU, with a batch size of 4 to balance data throughput and computational efficiency, a learning rate of 1e-5, and a fixed temperature parameter of 0.02 (the latter maintains high certainty in text generation to reduce stochastic noise). We also set maximum lengths of 256 for both queries and paragraphs to optimize long-text processing and avoid computational waste from overly long inputs. For classification, we reference the Top-5 instances and Top-1 reasoning.",
|
| 1076 |
+
"bbox": [
|
| 1077 |
+
112,
|
| 1078 |
+
340,
|
| 1079 |
+
490,
|
| 1080 |
+
630
|
| 1081 |
+
],
|
| 1082 |
+
"page_idx": 6
|
| 1083 |
+
},
|
| 1084 |
+
{
|
| 1085 |
+
"type": "text",
|
| 1086 |
+
"text": "4.3 Main Result",
|
| 1087 |
+
"text_level": 1,
|
| 1088 |
+
"bbox": [
|
| 1089 |
+
112,
|
| 1090 |
+
640,
|
| 1091 |
+
258,
|
| 1092 |
+
653
|
| 1093 |
+
],
|
| 1094 |
+
"page_idx": 6
|
| 1095 |
+
},
|
| 1096 |
+
{
|
| 1097 |
+
"type": "text",
|
| 1098 |
+
"text": "4.3.1 Validation Results",
|
| 1099 |
+
"text_level": 1,
|
| 1100 |
+
"bbox": [
|
| 1101 |
+
112,
|
| 1102 |
+
661,
|
| 1103 |
+
317,
|
| 1104 |
+
674
|
| 1105 |
+
],
|
| 1106 |
+
"page_idx": 6
|
| 1107 |
+
},
|
| 1108 |
+
{
|
| 1109 |
+
"type": "text",
|
| 1110 |
+
"text": "As shown in Figure 3, we addressed the issue of insufficient LLM reasoning ability proposed in the Introduction section. By introducing the reasoning mechanism, ICLER achieves a significant performance improvement in the intention classification task.",
|
| 1111 |
+
"bbox": [
|
| 1112 |
+
112,
|
| 1113 |
+
678,
|
| 1114 |
+
487,
|
| 1115 |
+
774
|
| 1116 |
+
],
|
| 1117 |
+
"page_idx": 6
|
| 1118 |
+
},
|
| 1119 |
+
{
|
| 1120 |
+
"type": "text",
|
| 1121 |
+
"text": "Simultaneously, Figure 4 reveals the key pathways to improving the embedding model's fine-grained intent recognition capabilities: Conventional training strategies yield nearly identical attention weights for domain-critical entities (camera) and generic descriptors (not working), resulting in confused semantic representations. However, our joint training paradigm integrating reasoning generation and vector optimization tasks re",
|
| 1122 |
+
"bbox": [
|
| 1123 |
+
112,
|
| 1124 |
+
776,
|
| 1125 |
+
489,
|
| 1126 |
+
921
|
| 1127 |
+
],
|
| 1128 |
+
"page_idx": 6
|
| 1129 |
+
},
|
| 1130 |
+
{
|
| 1131 |
+
"type": "image",
|
| 1132 |
+
"img_path": "images/e42afce435356ac0f2aca8dbc33f6dcb49ef44c06f85599c78ef3284b315b14f.jpg",
|
| 1133 |
+
"image_caption": [
|
| 1134 |
+
"Figure 3: Results of the ICLER. The picture shows that through the given analysis process related to the user query."
|
| 1135 |
+
],
|
| 1136 |
+
"image_footnote": [],
|
| 1137 |
+
"bbox": [
|
| 1138 |
+
512,
|
| 1139 |
+
318,
|
| 1140 |
+
882,
|
| 1141 |
+
577
|
| 1142 |
+
],
|
| 1143 |
+
"page_idx": 6
|
| 1144 |
+
},
|
| 1145 |
+
{
|
| 1146 |
+
"type": "text",
|
| 1147 |
+
"text": "calibrates this attention distribution, amplifying focus on technical entities (camera: 0.73 attention weight) while suppressing generic terms. This optimized attention mechanism enables precise mapping of user queries to specialized technical scenarios.",
|
| 1148 |
+
"bbox": [
|
| 1149 |
+
507,
|
| 1150 |
+
652,
|
| 1151 |
+
884,
|
| 1152 |
+
747
|
| 1153 |
+
],
|
| 1154 |
+
"page_idx": 6
|
| 1155 |
+
},
|
| 1156 |
+
{
|
| 1157 |
+
"type": "text",
|
| 1158 |
+
"text": "4.3.2 Experimental Results",
|
| 1159 |
+
"text_level": 1,
|
| 1160 |
+
"bbox": [
|
| 1161 |
+
507,
|
| 1162 |
+
757,
|
| 1163 |
+
741,
|
| 1164 |
+
772
|
| 1165 |
+
],
|
| 1166 |
+
"page_idx": 6
|
| 1167 |
+
},
|
| 1168 |
+
{
|
| 1169 |
+
"type": "text",
|
| 1170 |
+
"text": "In the evaluation, the performance of the embedding models is summarized in Table 1.",
|
| 1171 |
+
"bbox": [
|
| 1172 |
+
507,
|
| 1173 |
+
776,
|
| 1174 |
+
882,
|
| 1175 |
+
808
|
| 1176 |
+
],
|
| 1177 |
+
"page_idx": 6
|
| 1178 |
+
},
|
| 1179 |
+
{
|
| 1180 |
+
"type": "text",
|
| 1181 |
+
"text": "All experimental results in Table 1 are \"domain evaluations\"—specifically, the model is fine-tuned on one dataset (e.g., PC, Banking, Amazon Reviews) and then evaluated on the test set of the same dataset. As shown, multi-task fine-tuning of the embedding model yields absolute accuracy improvements of 2.72 points on ja-JP and 1.38",
|
| 1182 |
+
"bbox": [
|
| 1183 |
+
507,
|
| 1184 |
+
809,
|
| 1185 |
+
884,
|
| 1186 |
+
921
|
| 1187 |
+
],
|
| 1188 |
+
"page_idx": 6
|
| 1189 |
+
},
|
| 1190 |
+
{
|
| 1191 |
+
"type": "page_number",
|
| 1192 |
+
"text": "3037",
|
| 1193 |
+
"bbox": [
|
| 1194 |
+
480,
|
| 1195 |
+
927,
|
| 1196 |
+
519,
|
| 1197 |
+
940
|
| 1198 |
+
],
|
| 1199 |
+
"page_idx": 6
|
| 1200 |
+
},
|
| 1201 |
+
{
|
| 1202 |
+
"type": "image",
|
| 1203 |
+
"img_path": "images/f8f867a1a67b5381889de814dd1eb2282fa5a26c746eef2228f0c8225be39270.jpg",
|
| 1204 |
+
"image_caption": [
|
| 1205 |
+
"Figure 4: Attention-heatmap. The Qwen1.5-1.8B-Chat model is trained based on the pc dataset, and the attention mechanism visualization is studied for the user query \"camera is not working.\""
|
| 1206 |
+
],
|
| 1207 |
+
"image_footnote": [],
|
| 1208 |
+
"bbox": [
|
| 1209 |
+
117,
|
| 1210 |
+
83,
|
| 1211 |
+
487,
|
| 1212 |
+
149
|
| 1213 |
+
],
|
| 1214 |
+
"page_idx": 7
|
| 1215 |
+
},
|
| 1216 |
+
{
|
| 1217 |
+
"type": "table",
|
| 1218 |
+
"img_path": "images/a76d2c30d5652da7e8c10e84b5c710be8bd220ee57591f50a38a6fd92ad380e8.jpg",
|
| 1219 |
+
"table_caption": [
|
| 1220 |
+
"Table 2: Top1-Accuracy(‰) of GTE-Qwen2-1.5B-Instruct Model on MTEB Classification Tasks after Multi-task Fine-tuning"
|
| 1221 |
+
],
|
| 1222 |
+
"table_footnote": [],
|
| 1223 |
+
"table_body": "<table><tr><td>Classification Task</td><td>Base</td><td>Emb+ Reason</td></tr><tr><td>ToxicConversationsClassification</td><td>82.30</td><td>82.04↓</td></tr><tr><td>MTOPDomainClassification</td><td>97.54</td><td>98.39↑</td></tr><tr><td>MassiveIntentClassification</td><td>82.41</td><td>84.05↑</td></tr><tr><td>MTOPIntentClassification</td><td>88.71</td><td>87.44↓</td></tr><tr><td>AmazonPolarityClassification</td><td>96.60</td><td>96.33↓</td></tr><tr><td>TweetSentimentExtractionClassification</td><td>72.55</td><td>71.55↓</td></tr><tr><td>MassiveScenarioClassification</td><td>84.38</td><td>89.09↑</td></tr><tr><td>Banking77Classification</td><td>87.33</td><td>88.44↑</td></tr><tr><td>AmazonCounterfactualClassification</td><td>84.04</td><td>90.12↑</td></tr><tr><td>AmazonReviewsClassification</td><td>55.24</td><td>54.70↓</td></tr><tr><td>ImdbClassification</td><td>95.71</td><td>95.22↓</td></tr><tr><td>EmotionClassification</td><td>61.05</td><td>80.43↑</td></tr></table>",
|
| 1224 |
+
"bbox": [
|
| 1225 |
+
115,
|
| 1226 |
+
319,
|
| 1227 |
+
497,
|
| 1228 |
+
501
|
| 1229 |
+
],
|
| 1230 |
+
"page_idx": 7
|
| 1231 |
+
},
|
| 1232 |
+
{
|
| 1233 |
+
"type": "text",
|
| 1234 |
+
"text": "points on zh-CN over single-task embedding-only fine-tuning. Among the tested models, Qwen1.5-1.8B achieves the highest Top-1 recall accuracy under joint optimization of embedding and generation tasks, and is selected as the backbone embedding model. These gains reflect the effectiveness of multi-task supervision in enhancing embedding representations.",
|
| 1235 |
+
"bbox": [
|
| 1236 |
+
112,
|
| 1237 |
+
530,
|
| 1238 |
+
489,
|
| 1239 |
+
657
|
| 1240 |
+
],
|
| 1241 |
+
"page_idx": 7
|
| 1242 |
+
},
|
| 1243 |
+
{
|
| 1244 |
+
"type": "text",
|
| 1245 |
+
"text": "In addition, we evaluate our proposed ICLER framework, which integrates reasoning into the ICL-based intent classification process. Compared to the best-performing embedding-only baseline, ICLER achieves an absolute accuracy gain of 4.77 points on PC-related domain datasets. For general-domain evaluations, the maximum absolute accuracy improvement is 1.14 points, and this gain only occurs on the Mistral dataset (the improvement range of other general datasets is $0.04\\% - 0.89\\%$ ). It is important to note that all \"performance improvements\" reported in this study refer to absolute accuracy differences, not relative percentage changes.",
|
| 1246 |
+
"bbox": [
|
| 1247 |
+
112,
|
| 1248 |
+
661,
|
| 1249 |
+
489,
|
| 1250 |
+
869
|
| 1251 |
+
],
|
| 1252 |
+
"page_idx": 7
|
| 1253 |
+
},
|
| 1254 |
+
{
|
| 1255 |
+
"type": "text",
|
| 1256 |
+
"text": "To further assess the effectiveness of our approach, we select six classification tasks from the MTEB benchmark: MTOPDomainClassification,",
|
| 1257 |
+
"bbox": [
|
| 1258 |
+
112,
|
| 1259 |
+
873,
|
| 1260 |
+
489,
|
| 1261 |
+
919
|
| 1262 |
+
],
|
| 1263 |
+
"page_idx": 7
|
| 1264 |
+
},
|
| 1265 |
+
{
|
| 1266 |
+
"type": "text",
|
| 1267 |
+
"text": "MassiveIntentClassification, MassiveScenarioClassification, Banking77Classification, AmazonCounterfactualClassification, and EmotionClassification. These tasks are chosen because they involve short-text classification, which aligns well with the nature of user queries in intent recognition scenarios. For each task, corresponding reasoning traces are generated to support multi-task fine-tuning of the embedding model. We then fine-tune the GteQwen2-1.5B-instruct model with both generation and embedding objectives.",
|
| 1268 |
+
"bbox": [
|
| 1269 |
+
507,
|
| 1270 |
+
84,
|
| 1271 |
+
884,
|
| 1272 |
+
261
|
| 1273 |
+
],
|
| 1274 |
+
"page_idx": 7
|
| 1275 |
+
},
|
| 1276 |
+
{
|
| 1277 |
+
"type": "text",
|
| 1278 |
+
"text": "As shown in Table2, our approach achieves consistent improvements on the target tasks. Although a slight performance drop is observed on out-of-domain tasks not included in the fine-tuning data (average absolute decrease of 0.63 points), this is outweighed by substantial gains on the target tasks (average absolute increase of 5.56 points). Overall, the multi-task fine-tuned embedding model achieves an average improvement of 2.50 points in accuracy across all evaluated MTEB classification tasks compared to the baseline.",
|
| 1279 |
+
"bbox": [
|
| 1280 |
+
507,
|
| 1281 |
+
262,
|
| 1282 |
+
884,
|
| 1283 |
+
438
|
| 1284 |
+
],
|
| 1285 |
+
"page_idx": 7
|
| 1286 |
+
},
|
| 1287 |
+
{
|
| 1288 |
+
"type": "text",
|
| 1289 |
+
"text": "4.3.3 Ablation Studies",
|
| 1290 |
+
"text_level": 1,
|
| 1291 |
+
"bbox": [
|
| 1292 |
+
507,
|
| 1293 |
+
449,
|
| 1294 |
+
699,
|
| 1295 |
+
463
|
| 1296 |
+
],
|
| 1297 |
+
"page_idx": 7
|
| 1298 |
+
},
|
| 1299 |
+
{
|
| 1300 |
+
"type": "text",
|
| 1301 |
+
"text": "To verify the impact of key parameters and design choices on model performance, we conducted ablation experiments focusing on three core aspects: the number of retrieved examples, the relevance of reasoning samples, and the decoupling strategy of reasoning and instances. The results are as follows:",
|
| 1302 |
+
"bbox": [
|
| 1303 |
+
507,
|
| 1304 |
+
469,
|
| 1305 |
+
882,
|
| 1306 |
+
565
|
| 1307 |
+
],
|
| 1308 |
+
"page_idx": 7
|
| 1309 |
+
},
|
| 1310 |
+
{
|
| 1311 |
+
"type": "text",
|
| 1312 |
+
"text": "(1) Number of Retrieved Examples: When retrieving the Top-5 instances, over $97\\%$ of test samples included the correct intent in the retrieval results. Continuing to increase the number of retrieved examples (e.g., Top-10) only improved the accuracy by $0.12\\%$ , while increasing the computational overhead of the retrieval module by $23\\%$ . Considering the balance between performance and efficiency, we fixed the number of retrieved examples at $\\mathrm{N} = 5$ in the final framework.",
|
| 1313 |
+
"bbox": [
|
| 1314 |
+
507,
|
| 1315 |
+
567,
|
| 1316 |
+
884,
|
| 1317 |
+
726
|
| 1318 |
+
],
|
| 1319 |
+
"page_idx": 7
|
| 1320 |
+
},
|
| 1321 |
+
{
|
| 1322 |
+
"type": "text",
|
| 1323 |
+
"text": "(2)Relevance of Reasoning Samples: We tested the effect of adding 2-3 weakly relevant reasoning samples (i.e., reasoning content not strongly associated with the user query intent) to the prompt. The results showed that the model accuracy decreased by $0.3\\% - 0.5\\%$ compared to using only strongly relevant samples. We speculate this is due to the \"hallucination\" phenomenon of LLMs—weakly relevant reasoning content interferes with the model's judgment of core intent. Additionally, the increase in reasoning samples extended the input sequence length by $40\\%$ , leading to a $15\\%$ rise in inference",
|
| 1324 |
+
"bbox": [
|
| 1325 |
+
507,
|
| 1326 |
+
728,
|
| 1327 |
+
884,
|
| 1328 |
+
920
|
| 1329 |
+
],
|
| 1330 |
+
"page_idx": 7
|
| 1331 |
+
},
|
| 1332 |
+
{
|
| 1333 |
+
"type": "page_number",
|
| 1334 |
+
"text": "3038",
|
| 1335 |
+
"bbox": [
|
| 1336 |
+
480,
|
| 1337 |
+
927,
|
| 1338 |
+
519,
|
| 1339 |
+
940
|
| 1340 |
+
],
|
| 1341 |
+
"page_idx": 7
|
| 1342 |
+
},
|
| 1343 |
+
{
|
| 1344 |
+
"type": "text",
|
| 1345 |
+
"text": "time. Therefore, we ultimately chose to use only the Top-1 strongly relevant reasoning sample for intent classification.",
|
| 1346 |
+
"bbox": [
|
| 1347 |
+
112,
|
| 1348 |
+
84,
|
| 1349 |
+
487,
|
| 1350 |
+
131
|
| 1351 |
+
],
|
| 1352 |
+
"page_idx": 8
|
| 1353 |
+
},
|
| 1354 |
+
{
|
| 1355 |
+
"type": "text",
|
| 1356 |
+
"text": "Reason for Decoupling Reasoning and Instances: In real business scenarios, the instance retrieval module (responsible for recalling similar cases) and the reasoning generation module (responsible for generating logical analysis) usually belong to different system components, and their data sources and update cycles are independent. If the two modules are strongly bound (e.g., generating reasoning content specifically for each retrieved instance), the system design complexity increases by $60\\%$ , and the iteration cycle of the framework is extended by 1.8 times. The decoupling design (generating reasoning data independently and combining it with retrieved instances during classification) reduces the system deployment complexity by $30\\%$ while ensuring no significant loss in classification accuracy.",
|
| 1357 |
+
"bbox": [
|
| 1358 |
+
115,
|
| 1359 |
+
133,
|
| 1360 |
+
489,
|
| 1361 |
+
405
|
| 1362 |
+
],
|
| 1363 |
+
"page_idx": 8
|
| 1364 |
+
},
|
| 1365 |
+
{
|
| 1366 |
+
"type": "text",
|
| 1367 |
+
"text": "These ablation results provide experimental basis for the parameter setting and framework design of ICLER, confirming that the selected key parameters and decoupling strategy are optimal for balancing performance, efficiency, and practical deployability.",
|
| 1368 |
+
"bbox": [
|
| 1369 |
+
112,
|
| 1370 |
+
407,
|
| 1371 |
+
489,
|
| 1372 |
+
502
|
| 1373 |
+
],
|
| 1374 |
+
"page_idx": 8
|
| 1375 |
+
},
|
| 1376 |
+
{
|
| 1377 |
+
"type": "text",
|
| 1378 |
+
"text": "5 Conclusion",
|
| 1379 |
+
"text_level": 1,
|
| 1380 |
+
"bbox": [
|
| 1381 |
+
112,
|
| 1382 |
+
516,
|
| 1383 |
+
245,
|
| 1384 |
+
532
|
| 1385 |
+
],
|
| 1386 |
+
"page_idx": 8
|
| 1387 |
+
},
|
| 1388 |
+
{
|
| 1389 |
+
"type": "text",
|
| 1390 |
+
"text": "In conclusion, ICLER successfully improves the performance of ICL in the intention classification task. In the evaluation, our method achieves better results on all the datasets tested, demonstrating its validity and utility. We look forward to continuing to explore and optimize these methods to make a greater contribution to the development of the field of natural language processing.",
|
| 1391 |
+
"bbox": [
|
| 1392 |
+
112,
|
| 1393 |
+
543,
|
| 1394 |
+
487,
|
| 1395 |
+
671
|
| 1396 |
+
],
|
| 1397 |
+
"page_idx": 8
|
| 1398 |
+
},
|
| 1399 |
+
{
|
| 1400 |
+
"type": "text",
|
| 1401 |
+
"text": "Limitations",
|
| 1402 |
+
"text_level": 1,
|
| 1403 |
+
"bbox": [
|
| 1404 |
+
112,
|
| 1405 |
+
684,
|
| 1406 |
+
220,
|
| 1407 |
+
700
|
| 1408 |
+
],
|
| 1409 |
+
"page_idx": 8
|
| 1410 |
+
},
|
| 1411 |
+
{
|
| 1412 |
+
"type": "text",
|
| 1413 |
+
"text": "Although ICLER shows significant advantages in each dataset, there are still three limitations. First, the domain generalization ability of this method has not been fully validated, the current experiments mainly focus on PC related fields and general datasets, and the migration effect in other professional fields still needs to be further explored. Secondly, the joint optimization process requires the simultaneous maintenance of generative tasks and embedding tasks, leading to increased memory usage during training. Finally, the model performance improvement still depends on the scale effect of the base model, and how to achieve a sim",
|
| 1414 |
+
"bbox": [
|
| 1415 |
+
112,
|
| 1416 |
+
712,
|
| 1417 |
+
489,
|
| 1418 |
+
920
|
| 1419 |
+
],
|
| 1420 |
+
"page_idx": 8
|
| 1421 |
+
},
|
| 1422 |
+
{
|
| 1423 |
+
"type": "text",
|
| 1424 |
+
"text": "ilar optimization path in the model with a smaller number of parameters will be an important future research direction.",
|
| 1425 |
+
"bbox": [
|
| 1426 |
+
507,
|
| 1427 |
+
84,
|
| 1428 |
+
882,
|
| 1429 |
+
131
|
| 1430 |
+
],
|
| 1431 |
+
"page_idx": 8
|
| 1432 |
+
},
|
| 1433 |
+
{
|
| 1434 |
+
"type": "text",
|
| 1435 |
+
"text": "References",
|
| 1436 |
+
"text_level": 1,
|
| 1437 |
+
"bbox": [
|
| 1438 |
+
510,
|
| 1439 |
+
162,
|
| 1440 |
+
606,
|
| 1441 |
+
177
|
| 1442 |
+
],
|
| 1443 |
+
"page_idx": 8
|
| 1444 |
+
},
|
| 1445 |
+
{
|
| 1446 |
+
"type": "list",
|
| 1447 |
+
"sub_type": "ref_text",
|
| 1448 |
+
"list_items": [
|
| 1449 |
+
"Akari Asai, Timo Schick, Patrick Lewis, Xilun Chen, Gautier Izacard, Sebastian Riedel, Hannaneh Hajishirzi, and Wen tau Yih. 2022. Task-aware retrieval with instructions. Preprint, arXiv:2211.09260.",
|
| 1450 |
+
"Tom Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah, Jared D Kaplan, Prafulla Dhariwal, Arvind Neelakantan, Pranav Shyam, Girish Sastry, Amanda Askell, Sandhini Agarwal, Ariel Herbert-Voss, Gretchen Krueger, Tom Henighan, Rewon Child, Aditya Ramesh, Daniel Ziegler, Jeffrey Wu, Clemens Winter, and 12 others. 2020. Language models are few-shot learners. In Advances in Neural Information Processing Systems, volume 33, pages 1877-1901. Curran Associates, Inc.",
|
| 1451 |
+
"Jianlv Chen, Shitao Xiao, Peitian Zhang, Kun Luo, Defu Lian, and Zheng Liu. 2024. Bge m3-embedding: Multi-lingual, multi-functionality, multi-granularity text embeddings through self-knowledge distillation. Preprint, arXiv:2402.03216.",
|
| 1452 |
+
"DeepSeek-AI, Daya Guo, Dejian Yang, Haowei Zhang, Junxiao Song, Ruoyu Zhang, Runxin Xu, Qihao Zhu, Shirong Ma, Peiyi Wang, Xiao Bi, Xiaokang Zhang, Xingkai Yu, Yu Wu, Z. F. Wu, Zhibin Gou, Zhihong Shao, Zhuoshu Li, Ziyi Gao, and 181 others. 2025. Deepseek-r1: Incentivizing reasoning capability in llms via reinforcement learning. Preprint, arXiv:2501.12948.",
|
| 1453 |
+
"Tianyu Gao, Xingcheng Yao, and Danqi Chen. 2021. SimCSE: Simple contrastive learning of sentence embeddings. In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing, pages 6894-6910, Online and Punta Cana, Dominican Republic. Association for Computational Linguistics.",
|
| 1454 |
+
"Gautier Izacard, Mathilde Caron, Lucas Hosseini, Sebastian Riedel, Piotr Bojanowski, Armand Joulin, and Edouard Grave. 2022. Unsupervised dense information retrieval with contrastive learning. Preprint, arXiv:2112.09118.",
|
| 1455 |
+
"Phillip Keung, Yichao Lu, György Szarvas, and Noah A. Smith. 2020. The multilingual Amazon reviews corpus. In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP), pages 4563-4568, Online. Association for Computational Linguistics.",
|
| 1456 |
+
"Zehan Li, Xin Zhang, Yanzhao Zhang, Dingkun Long, Pengjun Xie, and Meishan Zhang. 2023. Towards general text embeddings with multi-stage contrastive learning. Preprint, arXiv:2308.03281."
|
| 1457 |
+
],
|
| 1458 |
+
"bbox": [
|
| 1459 |
+
510,
|
| 1460 |
+
186,
|
| 1461 |
+
884,
|
| 1462 |
+
920
|
| 1463 |
+
],
|
| 1464 |
+
"page_idx": 8
|
| 1465 |
+
},
|
| 1466 |
+
{
|
| 1467 |
+
"type": "page_number",
|
| 1468 |
+
"text": "3039",
|
| 1469 |
+
"bbox": [
|
| 1470 |
+
480,
|
| 1471 |
+
927,
|
| 1472 |
+
519,
|
| 1473 |
+
940
|
| 1474 |
+
],
|
| 1475 |
+
"page_idx": 8
|
| 1476 |
+
},
|
| 1477 |
+
{
|
| 1478 |
+
"type": "list",
|
| 1479 |
+
"sub_type": "ref_text",
|
| 1480 |
+
"list_items": [
|
| 1481 |
+
"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.",
|
| 1482 |
+
"Sheng Liu, Haotian Ye, Lei Xing, and James Zou. 2024. In-context vectors: Making in context learning more effective and controllable through latent space steering. Preprint, arXiv:2311.06668.",
|
| 1483 |
+
"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.",
|
| 1484 |
+
"Yu A. Malkov and D. A. Yashunin. 2020. Efficient and robust approximate nearest neighbor search using hierarchical navigable small world graphs. IEEE Transactions on Pattern Analysis and Machine Intelligence, 42(4):824-836.",
|
| 1485 |
+
"Niklas Muennighoff, Hongjin Su, Liang Wang, Nan Yang, Furu Wei, Tao Yu, Amanpreet Singh, and Douwe Kiela. 2025. Generative representational instruction tuning. Preprint, arXiv:2402.09906.",
|
| 1486 |
+
"Niklas Muennighoff, Nouamane Tazi, Loïc Magne, and Nils Reimers. 2023. Mteb: Massive text embedding benchmark. Preprint, arXiv:2210.07316.",
|
| 1487 |
+
"OpenAI, Josh Achiam, Steven Adler, Sandhini Agarwal, Lama Ahmad, Ilge Akkaya, Florencia Leoni Aleman, Diogo Almeida, Janko Altenschmidt, Sam Altman, Shyamal Anadkat, Red Avila, Igor Babuschkin, Suchir Balaji, Valerie Balcom, Paul Baltescu, Haiming Bao, Mohammad Bavarian, Jeff Belgium, and 262 others. 2024. Gpt-4 technical report. Preprint, arXiv:2303.08774.",
|
| 1488 |
+
"Nils Reimers and Iryna Gurevych. 2019. SentenceBERT: Sentence embeddings using Siamese BERTnetworks. In Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP), pages 3982-3992, Hong Kong, China. Association for Computational Linguistics.",
|
| 1489 |
+
"Hongjin Su, Weijia Shi, Jungo Kasai, Yizhong Wang, Yushi Hu, Mari Ostendorf, Wen-tau Yih, Noah A. Smith, Luke Zettlemoyer, and Tao Yu. 2023. One embedder, any task: Instruction-finetuned text embeddings. In Findings of the Association for Computational Linguistics: ACL 2023, pages 1102-1121, Toronto, Canada. Association for Computational Linguistics."
|
| 1490 |
+
],
|
| 1491 |
+
"bbox": [
|
| 1492 |
+
115,
|
| 1493 |
+
85,
|
| 1494 |
+
489,
|
| 1495 |
+
919
|
| 1496 |
+
],
|
| 1497 |
+
"page_idx": 9
|
| 1498 |
+
},
|
| 1499 |
+
{
|
| 1500 |
+
"type": "list",
|
| 1501 |
+
"sub_type": "ref_text",
|
| 1502 |
+
"list_items": [
|
| 1503 |
+
"Lewis Tunstall, Nils Reimers, Unso Eun Seo Jo, Luke Bates, Daniel Korat, Moshe Wasserblat, and Oren Pereg. 2022. Efficient few-shot learning without prompts. Preprint, arXiv:2209.11055.",
|
| 1504 |
+
"Liang Wang, Nan Yang, Xiaolong Huang, Linjun Yang, Rangan Majumder, and Furu Wei. 2024. Multilingual e5 text embeddings: A technical report. Preprint, arXiv:2402.05672.",
|
| 1505 |
+
"Jason Wei, Yi Tay, Rishi Bommasani, Colin Raffel, Barret Zoph, Sebastian Borgeaud, Dani Yogatama, Maarten Bosma, Denny Zhou, Donald Metzler, Ed H. Chi, Tatsunori Hashimoto, Oriol Vinyals, Percy Liang, Jeff Dean, and William Fedus. 2022. Emergent abilities of large language models. Transactions on Machine Learning Research. Survey Certification.",
|
| 1506 |
+
"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.",
|
| 1507 |
+
"Sang Michael Xie, Aditi Raghunathan, Percy Liang, and Tengyu Ma. 2022. An explanation of in-context learning as implicit bayesian inference. In International Conference on Learning Representations.",
|
| 1508 |
+
"Zhe Yang, Damai Dai, Peiyi Wang, and Zhifang Sui. 2023. Not all demonstration examples are equally beneficial: Reweighting demonstration examples for in-context learning. In Findings of the Association for Computational Linguistics: EMNLP 2023, pages 13209-13221, Singapore. Association for Computational Linguistics.",
|
| 1509 |
+
"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, volume 139 of Proceedings of Machine Learning Research, pages 12697-12706. PMLR.",
|
| 1510 |
+
"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."
|
| 1511 |
+
],
|
| 1512 |
+
"bbox": [
|
| 1513 |
+
510,
|
| 1514 |
+
85,
|
| 1515 |
+
882,
|
| 1516 |
+
720
|
| 1517 |
+
],
|
| 1518 |
+
"page_idx": 9
|
| 1519 |
+
},
|
| 1520 |
+
{
|
| 1521 |
+
"type": "page_number",
|
| 1522 |
+
"text": "3040",
|
| 1523 |
+
"bbox": [
|
| 1524 |
+
480,
|
| 1525 |
+
928,
|
| 1526 |
+
519,
|
| 1527 |
+
940
|
| 1528 |
+
],
|
| 1529 |
+
"page_idx": 9
|
| 1530 |
+
},
|
| 1531 |
+
{
|
| 1532 |
+
"type": "text",
|
| 1533 |
+
"text": "System Prompt",
|
| 1534 |
+
"text_level": 1,
|
| 1535 |
+
"bbox": [
|
| 1536 |
+
147,
|
| 1537 |
+
124,
|
| 1538 |
+
278,
|
| 1539 |
+
141
|
| 1540 |
+
],
|
| 1541 |
+
"page_idx": 10
|
| 1542 |
+
},
|
| 1543 |
+
{
|
| 1544 |
+
"type": "text",
|
| 1545 |
+
"text": "You are Qwen, created by Alibaba Cloud. You are a helpful assistant.",
|
| 1546 |
+
"bbox": [
|
| 1547 |
+
152,
|
| 1548 |
+
147,
|
| 1549 |
+
665,
|
| 1550 |
+
164
|
| 1551 |
+
],
|
| 1552 |
+
"page_idx": 10
|
| 1553 |
+
},
|
| 1554 |
+
{
|
| 1555 |
+
"type": "text",
|
| 1556 |
+
"text": "User Prompt",
|
| 1557 |
+
"text_level": 1,
|
| 1558 |
+
"bbox": [
|
| 1559 |
+
152,
|
| 1560 |
+
170,
|
| 1561 |
+
258,
|
| 1562 |
+
186
|
| 1563 |
+
],
|
| 1564 |
+
"page_idx": 10
|
| 1565 |
+
},
|
| 1566 |
+
{
|
| 1567 |
+
"type": "text",
|
| 1568 |
+
"text": "Task Specification",
|
| 1569 |
+
"text_level": 1,
|
| 1570 |
+
"bbox": [
|
| 1571 |
+
152,
|
| 1572 |
+
193,
|
| 1573 |
+
309,
|
| 1574 |
+
208
|
| 1575 |
+
],
|
| 1576 |
+
"page_idx": 10
|
| 1577 |
+
},
|
| 1578 |
+
{
|
| 1579 |
+
"type": "text",
|
| 1580 |
+
"text": "Given a specific case and two labels (a correct label and a wrong label), analyze the reason why the case is a correct label and why it is not a false label.",
|
| 1581 |
+
"bbox": [
|
| 1582 |
+
152,
|
| 1583 |
+
209,
|
| 1584 |
+
843,
|
| 1585 |
+
240
|
| 1586 |
+
],
|
| 1587 |
+
"page_idx": 10
|
| 1588 |
+
},
|
| 1589 |
+
{
|
| 1590 |
+
"type": "text",
|
| 1591 |
+
"text": "Requirements",
|
| 1592 |
+
"text_level": 1,
|
| 1593 |
+
"bbox": [
|
| 1594 |
+
152,
|
| 1595 |
+
241,
|
| 1596 |
+
275,
|
| 1597 |
+
256
|
| 1598 |
+
],
|
| 1599 |
+
"page_idx": 10
|
| 1600 |
+
},
|
| 1601 |
+
{
|
| 1602 |
+
"type": "text",
|
| 1603 |
+
"text": "The reason for analysis is given and must be marked with $\\langle \\text{reason} \\rangle$",
|
| 1604 |
+
"bbox": [
|
| 1605 |
+
152,
|
| 1606 |
+
256,
|
| 1607 |
+
737,
|
| 1608 |
+
272
|
| 1609 |
+
],
|
| 1610 |
+
"page_idx": 10
|
| 1611 |
+
},
|
| 1612 |
+
{
|
| 1613 |
+
"type": "text",
|
| 1614 |
+
"text": "Examples",
|
| 1615 |
+
"text_level": 1,
|
| 1616 |
+
"bbox": [
|
| 1617 |
+
152,
|
| 1618 |
+
274,
|
| 1619 |
+
243,
|
| 1620 |
+
288
|
| 1621 |
+
],
|
| 1622 |
+
"page_idx": 10
|
| 1623 |
+
},
|
| 1624 |
+
{
|
| 1625 |
+
"type": "text",
|
| 1626 |
+
"text": "case: \"I am still waiting on my card?\"",
|
| 1627 |
+
"bbox": [
|
| 1628 |
+
152,
|
| 1629 |
+
288,
|
| 1630 |
+
435,
|
| 1631 |
+
305
|
| 1632 |
+
],
|
| 1633 |
+
"page_idx": 10
|
| 1634 |
+
},
|
| 1635 |
+
{
|
| 1636 |
+
"type": "text",
|
| 1637 |
+
"text": "True_label: card Arrival",
|
| 1638 |
+
"bbox": [
|
| 1639 |
+
152,
|
| 1640 |
+
306,
|
| 1641 |
+
337,
|
| 1642 |
+
319
|
| 1643 |
+
],
|
| 1644 |
+
"page_idx": 10
|
| 1645 |
+
},
|
| 1646 |
+
{
|
| 1647 |
+
"type": "text",
|
| 1648 |
+
"text": "False_label: carddelivery Estimate",
|
| 1649 |
+
"bbox": [
|
| 1650 |
+
152,
|
| 1651 |
+
322,
|
| 1652 |
+
421,
|
| 1653 |
+
337
|
| 1654 |
+
],
|
| 1655 |
+
"page_idx": 10
|
| 1656 |
+
},
|
| 1657 |
+
{
|
| 1658 |
+
"type": "text",
|
| 1659 |
+
"text": "Output Examples",
|
| 1660 |
+
"text_level": 1,
|
| 1661 |
+
"bbox": [
|
| 1662 |
+
152,
|
| 1663 |
+
338,
|
| 1664 |
+
305,
|
| 1665 |
+
354
|
| 1666 |
+
],
|
| 1667 |
+
"page_idx": 10
|
| 1668 |
+
},
|
| 1669 |
+
{
|
| 1670 |
+
"type": "text",
|
| 1671 |
+
"text": "<reason>The case \"I am still waiting on my card?\" belongs to \"card Arrival\" because the speaker expresses they're still waiting for the card, indicating a concern about the card's arrival. It's not \"card Delivery Estimate\" as there's no mention of estimating delivery time.</reason>",
|
| 1672 |
+
"bbox": [
|
| 1673 |
+
152,
|
| 1674 |
+
354,
|
| 1675 |
+
845,
|
| 1676 |
+
401
|
| 1677 |
+
],
|
| 1678 |
+
"page_idx": 10
|
| 1679 |
+
},
|
| 1680 |
+
{
|
| 1681 |
+
"type": "text",
|
| 1682 |
+
"text": "Candidate Intent And The Corresponding Examples",
|
| 1683 |
+
"text_level": 1,
|
| 1684 |
+
"bbox": [
|
| 1685 |
+
152,
|
| 1686 |
+
403,
|
| 1687 |
+
576,
|
| 1688 |
+
418
|
| 1689 |
+
],
|
| 1690 |
+
"page_idx": 10
|
| 1691 |
+
},
|
| 1692 |
+
{
|
| 1693 |
+
"type": "text",
|
| 1694 |
+
"text": "case: {query}",
|
| 1695 |
+
"bbox": [
|
| 1696 |
+
152,
|
| 1697 |
+
419,
|
| 1698 |
+
258,
|
| 1699 |
+
435
|
| 1700 |
+
],
|
| 1701 |
+
"page_idx": 10
|
| 1702 |
+
},
|
| 1703 |
+
{
|
| 1704 |
+
"type": "text",
|
| 1705 |
+
"text": "True_label: {true_label}",
|
| 1706 |
+
"bbox": [
|
| 1707 |
+
152,
|
| 1708 |
+
435,
|
| 1709 |
+
337,
|
| 1710 |
+
450
|
| 1711 |
+
],
|
| 1712 |
+
"page_idx": 10
|
| 1713 |
+
},
|
| 1714 |
+
{
|
| 1715 |
+
"type": "text",
|
| 1716 |
+
"text": "False_label: {false_label}",
|
| 1717 |
+
"bbox": [
|
| 1718 |
+
152,
|
| 1719 |
+
451,
|
| 1720 |
+
346,
|
| 1721 |
+
466
|
| 1722 |
+
],
|
| 1723 |
+
"page_idx": 10
|
| 1724 |
+
},
|
| 1725 |
+
{
|
| 1726 |
+
"type": "text",
|
| 1727 |
+
"text": "Analyze The Reasons",
|
| 1728 |
+
"bbox": [
|
| 1729 |
+
152,
|
| 1730 |
+
467,
|
| 1731 |
+
334,
|
| 1732 |
+
482
|
| 1733 |
+
],
|
| 1734 |
+
"page_idx": 10
|
| 1735 |
+
},
|
| 1736 |
+
{
|
| 1737 |
+
"type": "header",
|
| 1738 |
+
"text": "A $P_{R}$",
|
| 1739 |
+
"bbox": [
|
| 1740 |
+
114,
|
| 1741 |
+
83,
|
| 1742 |
+
179,
|
| 1743 |
+
99
|
| 1744 |
+
],
|
| 1745 |
+
"page_idx": 10
|
| 1746 |
+
},
|
| 1747 |
+
{
|
| 1748 |
+
"type": "page_number",
|
| 1749 |
+
"text": "3041",
|
| 1750 |
+
"bbox": [
|
| 1751 |
+
480,
|
| 1752 |
+
927,
|
| 1753 |
+
519,
|
| 1754 |
+
940
|
| 1755 |
+
],
|
| 1756 |
+
"page_idx": 10
|
| 1757 |
+
},
|
| 1758 |
+
{
|
| 1759 |
+
"type": "text",
|
| 1760 |
+
"text": "System Prompt",
|
| 1761 |
+
"text_level": 1,
|
| 1762 |
+
"bbox": [
|
| 1763 |
+
151,
|
| 1764 |
+
124,
|
| 1765 |
+
278,
|
| 1766 |
+
141
|
| 1767 |
+
],
|
| 1768 |
+
"page_idx": 11
|
| 1769 |
+
},
|
| 1770 |
+
{
|
| 1771 |
+
"type": "text",
|
| 1772 |
+
"text": "You are Qwen, created by Alibaba Cloud. You are a helpful assistant.",
|
| 1773 |
+
"bbox": [
|
| 1774 |
+
152,
|
| 1775 |
+
147,
|
| 1776 |
+
665,
|
| 1777 |
+
164
|
| 1778 |
+
],
|
| 1779 |
+
"page_idx": 11
|
| 1780 |
+
},
|
| 1781 |
+
{
|
| 1782 |
+
"type": "text",
|
| 1783 |
+
"text": "User Prompt",
|
| 1784 |
+
"text_level": 1,
|
| 1785 |
+
"bbox": [
|
| 1786 |
+
152,
|
| 1787 |
+
170,
|
| 1788 |
+
258,
|
| 1789 |
+
186
|
| 1790 |
+
],
|
| 1791 |
+
"page_idx": 11
|
| 1792 |
+
},
|
| 1793 |
+
{
|
| 1794 |
+
"type": "text",
|
| 1795 |
+
"text": "Based on the given intents and one of its examples, you need to determine which intent the user input Content belongs to. Additional, Context is the historical user input.",
|
| 1796 |
+
"bbox": [
|
| 1797 |
+
151,
|
| 1798 |
+
193,
|
| 1799 |
+
845,
|
| 1800 |
+
224
|
| 1801 |
+
],
|
| 1802 |
+
"page_idx": 11
|
| 1803 |
+
},
|
| 1804 |
+
{
|
| 1805 |
+
"type": "text",
|
| 1806 |
+
"text": "Examples of analysis for other cases",
|
| 1807 |
+
"text_level": 1,
|
| 1808 |
+
"bbox": [
|
| 1809 |
+
151,
|
| 1810 |
+
225,
|
| 1811 |
+
447,
|
| 1812 |
+
240
|
| 1813 |
+
],
|
| 1814 |
+
"page_idx": 11
|
| 1815 |
+
},
|
| 1816 |
+
{
|
| 1817 |
+
"type": "text",
|
| 1818 |
+
"text": "The case \"wake me up at this time\" belongs to \"alarm_set\" because the speaker is requesting to set an alarm for a specific time. It's not \"alarm_query\" as there's no indication of the speaker asking about the current alarm settings or status.",
|
| 1819 |
+
"bbox": [
|
| 1820 |
+
151,
|
| 1821 |
+
241,
|
| 1822 |
+
843,
|
| 1823 |
+
288
|
| 1824 |
+
],
|
| 1825 |
+
"page_idx": 11
|
| 1826 |
+
},
|
| 1827 |
+
{
|
| 1828 |
+
"type": "text",
|
| 1829 |
+
"text": "Requirements",
|
| 1830 |
+
"text_level": 1,
|
| 1831 |
+
"bbox": [
|
| 1832 |
+
152,
|
| 1833 |
+
290,
|
| 1834 |
+
275,
|
| 1835 |
+
305
|
| 1836 |
+
],
|
| 1837 |
+
"page_idx": 11
|
| 1838 |
+
},
|
| 1839 |
+
{
|
| 1840 |
+
"type": "list",
|
| 1841 |
+
"sub_type": "text",
|
| 1842 |
+
"list_items": [
|
| 1843 |
+
"- DO NOT create new intent on your own, you must strictly use the intents in the examples.",
|
| 1844 |
+
"- Give you with some other cases for the analysis process of determining intent, but you do not need to offer analysis in the round of intent.",
|
| 1845 |
+
"- If no examples match the targeted Content, Output -1.",
|
| 1846 |
+
"- Only output all index numbers of the matched intent for the targeted Content.",
|
| 1847 |
+
"- IF there are multiple intents that match the targeted Content, output these index and use ’, to separate them.",
|
| 1848 |
+
"- Consider the context from previous messages if the targeted Content is unclear."
|
| 1849 |
+
],
|
| 1850 |
+
"bbox": [
|
| 1851 |
+
151,
|
| 1852 |
+
306,
|
| 1853 |
+
843,
|
| 1854 |
+
434
|
| 1855 |
+
],
|
| 1856 |
+
"page_idx": 11
|
| 1857 |
+
},
|
| 1858 |
+
{
|
| 1859 |
+
"type": "text",
|
| 1860 |
+
"text": "Examples",
|
| 1861 |
+
"text_level": 1,
|
| 1862 |
+
"bbox": [
|
| 1863 |
+
152,
|
| 1864 |
+
435,
|
| 1865 |
+
243,
|
| 1866 |
+
450
|
| 1867 |
+
],
|
| 1868 |
+
"page_idx": 11
|
| 1869 |
+
},
|
| 1870 |
+
{
|
| 1871 |
+
"type": "text",
|
| 1872 |
+
"text": "[case] wake me at daybreak [label] alarm_set [Index] 1",
|
| 1873 |
+
"bbox": [
|
| 1874 |
+
188,
|
| 1875 |
+
470,
|
| 1876 |
+
601,
|
| 1877 |
+
487
|
| 1878 |
+
],
|
| 1879 |
+
"page_idx": 11
|
| 1880 |
+
},
|
| 1881 |
+
{
|
| 1882 |
+
"type": "text",
|
| 1883 |
+
"text": "[case] tell me when the next alarms are for [label] alarm_query [Index] 2",
|
| 1884 |
+
"bbox": [
|
| 1885 |
+
189,
|
| 1886 |
+
497,
|
| 1887 |
+
734,
|
| 1888 |
+
514
|
| 1889 |
+
],
|
| 1890 |
+
"page_idx": 11
|
| 1891 |
+
},
|
| 1892 |
+
{
|
| 1893 |
+
"type": "text",
|
| 1894 |
+
"text": "[case] i need to set an alarm how many do i have set [label] alarm_query [Index] 3",
|
| 1895 |
+
"bbox": [
|
| 1896 |
+
188,
|
| 1897 |
+
524,
|
| 1898 |
+
801,
|
| 1899 |
+
541
|
| 1900 |
+
],
|
| 1901 |
+
"page_idx": 11
|
| 1902 |
+
},
|
| 1903 |
+
{
|
| 1904 |
+
"type": "text",
|
| 1905 |
+
"text": "[case] can you set my alarm [label] alarm_set [Index] 4",
|
| 1906 |
+
"bbox": [
|
| 1907 |
+
189,
|
| 1908 |
+
551,
|
| 1909 |
+
605,
|
| 1910 |
+
567
|
| 1911 |
+
],
|
| 1912 |
+
"page_idx": 11
|
| 1913 |
+
},
|
| 1914 |
+
{
|
| 1915 |
+
"type": "text",
|
| 1916 |
+
"text": "[case] then tap ok [label] alarm_query [Index] 5",
|
| 1917 |
+
"bbox": [
|
| 1918 |
+
189,
|
| 1919 |
+
577,
|
| 1920 |
+
552,
|
| 1921 |
+
594
|
| 1922 |
+
],
|
| 1923 |
+
"page_idx": 11
|
| 1924 |
+
},
|
| 1925 |
+
{
|
| 1926 |
+
"type": "text",
|
| 1927 |
+
"text": "#Content",
|
| 1928 |
+
"text_level": 1,
|
| 1929 |
+
"bbox": [
|
| 1930 |
+
152,
|
| 1931 |
+
606,
|
| 1932 |
+
230,
|
| 1933 |
+
619
|
| 1934 |
+
],
|
| 1935 |
+
"page_idx": 11
|
| 1936 |
+
},
|
| 1937 |
+
{
|
| 1938 |
+
"type": "text",
|
| 1939 |
+
"text": "alarm settings",
|
| 1940 |
+
"bbox": [
|
| 1941 |
+
152,
|
| 1942 |
+
623,
|
| 1943 |
+
258,
|
| 1944 |
+
638
|
| 1945 |
+
],
|
| 1946 |
+
"page_idx": 11
|
| 1947 |
+
},
|
| 1948 |
+
{
|
| 1949 |
+
"type": "text",
|
| 1950 |
+
"text": "Output",
|
| 1951 |
+
"text_level": 1,
|
| 1952 |
+
"bbox": [
|
| 1953 |
+
152,
|
| 1954 |
+
639,
|
| 1955 |
+
223,
|
| 1956 |
+
653
|
| 1957 |
+
],
|
| 1958 |
+
"page_idx": 11
|
| 1959 |
+
},
|
| 1960 |
+
{
|
| 1961 |
+
"type": "text",
|
| 1962 |
+
"text": "2",
|
| 1963 |
+
"bbox": [
|
| 1964 |
+
154,
|
| 1965 |
+
656,
|
| 1966 |
+
166,
|
| 1967 |
+
668
|
| 1968 |
+
],
|
| 1969 |
+
"page_idx": 11
|
| 1970 |
+
},
|
| 1971 |
+
{
|
| 1972 |
+
"type": "header",
|
| 1973 |
+
"text": "B $P_{C}$",
|
| 1974 |
+
"bbox": [
|
| 1975 |
+
114,
|
| 1976 |
+
83,
|
| 1977 |
+
179,
|
| 1978 |
+
99
|
| 1979 |
+
],
|
| 1980 |
+
"page_idx": 11
|
| 1981 |
+
},
|
| 1982 |
+
{
|
| 1983 |
+
"type": "page_number",
|
| 1984 |
+
"text": "3042",
|
| 1985 |
+
"bbox": [
|
| 1986 |
+
480,
|
| 1987 |
+
927,
|
| 1988 |
+
521,
|
| 1989 |
+
940
|
| 1990 |
+
],
|
| 1991 |
+
"page_idx": 11
|
| 1992 |
+
},
|
| 1993 |
+
{
|
| 1994 |
+
"type": "code",
|
| 1995 |
+
"sub_type": "algorithm",
|
| 1996 |
+
"code_caption": [
|
| 1997 |
+
"Algorithm 1 Build Reasoning Database"
|
| 1998 |
+
],
|
| 1999 |
+
"code_body": "Query dataset $Q_{train} = \\{q_{traini}\\}$ \nDocument dataset $D = \\{d_i\\}$ \nModel for generating reasonings $M_1$ \nModel for embedding $M_2$ \nModel for classification $M_3$ \nPrompt template: $P_R, P_C$ \nSimilarity score function of Retrieval: $dis()$ \n1. Initialize: $\\mathcal{R} \\gets \\emptyset, V_D \\gets M_2(D)$ \n2. for each $q_{traini} \\in Q_{train}$ : \n3. $V_q^i \\gets M_2(q_{traini})$ \n4. $\\mathcal{D}_i^* = \\{d_j^*\\}_i \\gets \\arg \\min_{d_j \\in \\mathcal{D}} \\text{dis}(V_q^i, V_D^j)$ \n5. $P_{Ci} \\gets (q_{traini}, \\mathcal{D}_i^*, \\mathcal{R}_i^* = \\emptyset)$ \n6. labelresulti $\\gets M_3(P_{Ci})$ \n7. If labelresulti == true_label_qi: \n8. Continue \n9. else: \n10. $P_{Ri} \\gets (qi, \\text{true_label}_i, \\text{labelresult})$ \n11. $r_i \\gets M_1(P_{Ri})$ \n12. $\\mathcal{R} \\gets r_i$ \n13. end for \n14. return $\\mathcal{R}$",
|
| 2000 |
+
"bbox": [
|
| 2001 |
+
129,
|
| 2002 |
+
141,
|
| 2003 |
+
477,
|
| 2004 |
+
494
|
| 2005 |
+
],
|
| 2006 |
+
"page_idx": 12
|
| 2007 |
+
},
|
| 2008 |
+
{
|
| 2009 |
+
"type": "header",
|
| 2010 |
+
"text": "C Algorithm",
|
| 2011 |
+
"bbox": [
|
| 2012 |
+
115,
|
| 2013 |
+
83,
|
| 2014 |
+
243,
|
| 2015 |
+
99
|
| 2016 |
+
],
|
| 2017 |
+
"page_idx": 12
|
| 2018 |
+
},
|
| 2019 |
+
{
|
| 2020 |
+
"type": "page_number",
|
| 2021 |
+
"text": "3043",
|
| 2022 |
+
"bbox": [
|
| 2023 |
+
480,
|
| 2024 |
+
928,
|
| 2025 |
+
519,
|
| 2026 |
+
940
|
| 2027 |
+
],
|
| 2028 |
+
"page_idx": 12
|
| 2029 |
+
},
|
| 2030 |
+
{
|
| 2031 |
+
"type": "text",
|
| 2032 |
+
"text": "Algorithm 2 Results Obtain",
|
| 2033 |
+
"text_level": 1,
|
| 2034 |
+
"bbox": [
|
| 2035 |
+
115,
|
| 2036 |
+
83,
|
| 2037 |
+
326,
|
| 2038 |
+
98
|
| 2039 |
+
],
|
| 2040 |
+
"page_idx": 13
|
| 2041 |
+
},
|
| 2042 |
+
{
|
| 2043 |
+
"type": "text",
|
| 2044 |
+
"text": "Query dataset $Q_{test} = \\{q_{testj}\\}$",
|
| 2045 |
+
"bbox": [
|
| 2046 |
+
134,
|
| 2047 |
+
104,
|
| 2048 |
+
374,
|
| 2049 |
+
120
|
| 2050 |
+
],
|
| 2051 |
+
"page_idx": 13
|
| 2052 |
+
},
|
| 2053 |
+
{
|
| 2054 |
+
"type": "text",
|
| 2055 |
+
"text": "Document dataset $\\mathcal{D} = \\{d_k\\}$",
|
| 2056 |
+
"bbox": [
|
| 2057 |
+
134,
|
| 2058 |
+
120,
|
| 2059 |
+
356,
|
| 2060 |
+
135
|
| 2061 |
+
],
|
| 2062 |
+
"page_idx": 13
|
| 2063 |
+
},
|
| 2064 |
+
{
|
| 2065 |
+
"type": "text",
|
| 2066 |
+
"text": "Reasoning dataset $\\mathcal{R} = \\{r_l\\}$",
|
| 2067 |
+
"bbox": [
|
| 2068 |
+
136,
|
| 2069 |
+
136,
|
| 2070 |
+
352,
|
| 2071 |
+
152
|
| 2072 |
+
],
|
| 2073 |
+
"page_idx": 13
|
| 2074 |
+
},
|
| 2075 |
+
{
|
| 2076 |
+
"type": "text",
|
| 2077 |
+
"text": "Model for embedding $M_{1}$",
|
| 2078 |
+
"bbox": [
|
| 2079 |
+
134,
|
| 2080 |
+
153,
|
| 2081 |
+
334,
|
| 2082 |
+
167
|
| 2083 |
+
],
|
| 2084 |
+
"page_idx": 13
|
| 2085 |
+
},
|
| 2086 |
+
{
|
| 2087 |
+
"type": "text",
|
| 2088 |
+
"text": "Model for classification $M_2$",
|
| 2089 |
+
"bbox": [
|
| 2090 |
+
134,
|
| 2091 |
+
168,
|
| 2092 |
+
347,
|
| 2093 |
+
183
|
| 2094 |
+
],
|
| 2095 |
+
"page_idx": 13
|
| 2096 |
+
},
|
| 2097 |
+
{
|
| 2098 |
+
"type": "text",
|
| 2099 |
+
"text": "Prompt template: $P_{C}$",
|
| 2100 |
+
"bbox": [
|
| 2101 |
+
134,
|
| 2102 |
+
185,
|
| 2103 |
+
302,
|
| 2104 |
+
199
|
| 2105 |
+
],
|
| 2106 |
+
"page_idx": 13
|
| 2107 |
+
},
|
| 2108 |
+
{
|
| 2109 |
+
"type": "text",
|
| 2110 |
+
"text": "Similarity score function of Retrieval: $dis()$",
|
| 2111 |
+
"bbox": [
|
| 2112 |
+
134,
|
| 2113 |
+
200,
|
| 2114 |
+
475,
|
| 2115 |
+
216
|
| 2116 |
+
],
|
| 2117 |
+
"page_idx": 13
|
| 2118 |
+
},
|
| 2119 |
+
{
|
| 2120 |
+
"type": "list",
|
| 2121 |
+
"sub_type": "text",
|
| 2122 |
+
"list_items": [
|
| 2123 |
+
"1. Initialize: Result $\\leftarrow \\emptyset$ , $V_{D} \\gets M_{1}(D)$ , $V_{R} \\gets M_{1}(R)$",
|
| 2124 |
+
"2. for each $q_{test_i} \\in Q_{test}$ :",
|
| 2125 |
+
"3. $V_{q}^{i}\\gets M_{1}(q_{test_{i}})$",
|
| 2126 |
+
"4. $\\mathcal{D}_i^* = \\{d_j^*\\}_{i}\\gets \\underset {d_j^*\\in \\mathcal{D}}{\\arg \\min}dis(V_q^i,V_D^j)$",
|
| 2127 |
+
"5. $r_i^*\\gets \\arg \\min_{r_i^*\\in \\mathcal{R}}dis(V_q^i,V_R)$",
|
| 2128 |
+
"6. $P_{C_i} \\gets (q_{test_i}, \\mathcal{D}_i^*, r_i^*)$",
|
| 2129 |
+
"7. resulti $\\leftarrow M_2(P_{C_i})$",
|
| 2130 |
+
"8. Result $\\leftarrow$ resulti",
|
| 2131 |
+
"9. end for",
|
| 2132 |
+
"10. return Result"
|
| 2133 |
+
],
|
| 2134 |
+
"bbox": [
|
| 2135 |
+
134,
|
| 2136 |
+
217,
|
| 2137 |
+
559,
|
| 2138 |
+
395
|
| 2139 |
+
],
|
| 2140 |
+
"page_idx": 13
|
| 2141 |
+
},
|
| 2142 |
+
{
|
| 2143 |
+
"type": "page_number",
|
| 2144 |
+
"text": "3044",
|
| 2145 |
+
"bbox": [
|
| 2146 |
+
480,
|
| 2147 |
+
928,
|
| 2148 |
+
519,
|
| 2149 |
+
940
|
| 2150 |
+
],
|
| 2151 |
+
"page_idx": 13
|
| 2152 |
+
}
|
| 2153 |
+
]
|
2025/ICLER_ Intent CLassification with Enhanced Reasoning/80ea3d72-543b-4c68-9989-ef5d6936a0b2_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2025/ICLER_ Intent CLassification with Enhanced Reasoning/80ea3d72-543b-4c68-9989-ef5d6936a0b2_origin.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:88124c23dff0fb67c14c63f5b4002a8a71bd9c51610376b5edfcb87baf82eb12
|
| 3 |
+
size 930554
|
2025/ICLER_ Intent CLassification with Enhanced Reasoning/full.md
ADDED
|
@@ -0,0 +1,415 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# ICLER: Intent Classification with Enhanced Reasoning
|
| 2 |
+
|
| 3 |
+
Dezheng Gao<sup>1</sup>, Xiaozheng Dong<sup>2</sup>, SHuangtao Yang<sup>3</sup>, and Bo Fu<sup>4</sup>
|
| 4 |
+
|
| 5 |
+
<sup>1</sup>Beijing University Of Technology, gaodz@mails.bjut.edu.cn
|
| 6 |
+
|
| 7 |
+
$^{2}$ Knowdee Intelligence, dongxz@knowdee.com
|
| 8 |
+
|
| 9 |
+
$^{3}$ Knowdee Intelligence, yangst@knowdee.com
|
| 10 |
+
|
| 11 |
+
$^{4}$ Knowdee Intelligence, fubo@knowdee.com
|
| 12 |
+
|
| 13 |
+
# Abstract
|
| 14 |
+
|
| 15 |
+
In recent years, intent classification technology based on In-Context Learning (ICL) has made significant progress. However, when applied to enterprise vertical domains, existing methods are inadequate in identifying micrograined intentions. This study identifies two primary causes of errors in data analysis: (1) Incorrect instance retrieval, often due to embedding models' limitations in capturing subtle sentence-level information in business scenarios (such as entity-related or phenomenon-specific details) (2) Insufficient reasoning ability of Large Language Models (LLMs), which tend to rely on surface-level semantics while overlooking deeper semantic associations and business logic, leading to misclassification. To address these issues, we propose ICLER, an intent classification method with enhanced reasoning. This method first optimizes the embedding model by introducing a reasoning mechanism to enhance its ability to capture fine-grained sentence-level information. Then, this mechanism is incorporated into the ICL framework, maintaining computational efficiency while significantly enhancing intent recognition accuracy. Experimental results demonstrate that ICLER significantly outperforms the original ICL method in intent identification within vertical domains. Moreover, it yields accuracy improvements of $0.04\%$ to $1.14\%$ on general datasets and its fine-tuned embedding model achieves an average performance gain of $5.56\%$ on selected classification tasks in the MTEB benchmark. https://github.com/gaodz-111/ICLER.git
|
| 16 |
+
|
| 17 |
+
# 1 Introduction
|
| 18 |
+
|
| 19 |
+
Natural Language Processing (NLP) has witnessed remarkable advancements through large-scale pretrained language models, which demonstrate exceptional performance across various tasks via In-Context Learning(ICL). ICL leverages analogical learning principles, enabling models to iden
|
| 20 |
+
|
| 21 |
+
tify patterns from provided examples and generate predictions for few-shot classification tasks. Unlike traditional supervised learning approaches, this paradigm eliminates the need for parameter updates, enabling direct implementation on pretrained LLMs while significantly reducing computational costs and training time. Despite these impressive achievements, the critical role of reasoning capabilities in intent classification tasks based on ICL remains underexplored.
|
| 22 |
+
|
| 23 |
+
When confronted with highly complex scenarios in vertical domains, the ICL-based intent classification framework tends to reveal two critical shortcomings with greater prominence. As shown on the left side of Figure 1, the example illustrates that embedding models are difficult to recall valid examples because they lack domain-specific semantic adaptation optimization, and their representation space not being able to effectively distinguish fine-grained intent differences. Specifically, if the sample library has too few samples of the "camera failure" category or if they are mostly vague expressions (such as "It can't take pictures anymore"), the embedding model may overemphasize generic phrases like "not working" while overlooking critical domain-specific entities such as "camera". This limitation not only leads to misclassification but also highlights the embedding model's inability to capture domain-specific nuances.
|
| 24 |
+
|
| 25 |
+
On the right side of Figure 1, LLMs exhibit a tendency to disproportionately focus on the action verb "turn on" and the generic noun "computer" when processing extended textual inputs. This observed pattern suggests that it is difficult for LLMs to achieve the mapping extension from surface semantics to deep semantics, for example, the causal relationship between "Pressed the power button but there was no response" and "The computer won't turn on", and thus cannot complete the reasoning of users' actual intent through ICL-based
|
| 26 |
+
|
| 27 |
+

|
| 28 |
+
Figure 1: The example on the left side of the figure shows that the examples retrieved based on similarity by the embedding model are not all valid. The example on the right side of the figure indicates that LLM may have issues recognizing multiple intentions when lacking reasoning ability, and it may also have recognition errors due to subtle differences in sentences.
|
| 29 |
+
|
| 30 |
+

|
| 31 |
+
|
| 32 |
+
intent classification framework, ultimately leading to a significant reduction in the accuracy of intent recognition. Therefore, text classification requires not only the model to understand the surface semantics of the text but also to perform deep logical reasoning.
|
| 33 |
+
|
| 34 |
+
To address these challenges in ICL-based intent classification, we propose ICLER. First, we implement reasoning-driven vector representation enhancement, employing domain knowledge integration to help embedding models capture complex semantic patterns in business scenarios, thereby improving instance retrieval quality. Second, we strengthen intent understanding through reasoning-augmented analysis, enhancing LLMs' capability to differentiate between semantically proximate intents. Experimental results demonstrate that ICLER significantly improves classification accuracy and robustness in complex business environments, effectively bridging the gap between surface semantics and deep intent reasoning.
|
| 35 |
+
|
| 36 |
+
Our paper contributions are:
|
| 37 |
+
|
| 38 |
+
- In terms of vector representation, we use inference optimization techniques to enable embedding models to better capture complex semantic information in the business scenario, thus improving the quality of example recalls.
|
| 39 |
+
- We propose a new method to introduce the in
|
| 40 |
+
|
| 41 |
+
ference process into the ICL-based text classification framework, which effectively combines domain knowledge and multi-step inference and enhances the reasoning ability of LLM.
|
| 42 |
+
|
| 43 |
+
- We conduct comprehensive experiments on both vertical-domain and general-purpose datasets to validate the effectiveness and broad applicability of our method.
|
| 44 |
+
|
| 45 |
+
Chapter 2 will review the research work, Chapter 3 will detail the theoretical basis of the method, Chapter 4 will present the experimental results, Chapter 5 will summarize the conclusions, and the last chapter will analyze the limitations of the method.
|
| 46 |
+
|
| 47 |
+
# 2 Related Work
|
| 48 |
+
|
| 49 |
+
# 2.1 In-Context learning
|
| 50 |
+
|
| 51 |
+
As an emerging natural language processing paradigm (Brown et al., 2020), ICL has received wide attention in recent years. The core concept revolves around enabling LLMs to directly acquire task-specific patterns through minimal in-context instances, eliminating the requirement for explicit parameter updates. Recent studies explain the ICL mechanism from the perspectives of Bayesian inference (Xie et al., 2022) and gradient descent (Yang et al., 2023), and believe that LLMs realize
|
| 52 |
+
|
| 53 |
+
context learning through implicit optimization or pattern matching, which provides theoretical support for the interpretability of this paradigm.
|
| 54 |
+
|
| 55 |
+
Meanwhile, ICL performance strongly depends on the prompt structure, including selection of instances, ordering of instances and formatting of instructions (Zhao et al., 2021; Lu et al., 2022). The k-nearest neighbor search KATE-based method (Liu et al., 2022) improved the effect of ICL in sentiment analysis, form to text generation and question and answer. Order sensitivity is mitigated with increasing complexity (Liu et al., 2024). In the research of improving the task processing ability of large language model, the researchers developed the task description automatic generation framework (Zhou et al., 2023), which optimized the task description quality through automatic generation mechanism, and the research team systematically constructed the thinking chain prompt mechanism (Wei et al., 2022). This innovative method significantly improves model performance in complex reasoning tasks by explicitly modeling reasoning paths.
|
| 56 |
+
|
| 57 |
+
# 2.2 Embedding Models
|
| 58 |
+
|
| 59 |
+
The embedding model maps semantic information into a high-dimensional vector space via text embedding techniques. Significant progress has been made in this field, with models such as SBERT (Reimers and Gurevych, 2019), which enhances sentence embeddings through siamese networks; SimCSE (Gao et al., 2021), which improves contrastive learning for sentence embeddings; Contriever (Izacard et al., 2022), which leverages contrastive learning for unsupervised retrieval; and Multilingual E5 (Wang et al., 2024), which demonstrates strong performance in multilingual and multi-task scenarios.
|
| 60 |
+
|
| 61 |
+
The development of embedding models has been further accelerated by the large-scale text embedding benchmark (MTEB) (Muennighoff et al., 2023), which provides a comprehensive evaluation framework for comparing and improving embedding techniques. Building on these foundations, recent studies have introduced innovative approaches to address specific challenges—particularly the effectiveness of instruction-based embedding frameworks in cross-task adaptation. Notably, Asai's team (Asai et al., 2022) established foundational evidence that semantic instruction constraints can effectively align query intent with document functionality. Building on this theoretical basis, Su's
|
| 62 |
+
|
| 63 |
+
team (Su et al., 2023) subsequently developed the INSTRUCTOR framework, which operationalizes this principle by encoding both task descriptions and domain features as natural language instructions. This implementation achieves task-adaptive embeddings while eliminating the need for resource-intensive fine-tuning processes.
|
| 64 |
+
|
| 65 |
+
Additionally, the GTE model (Li et al., 2023) employs a multi-stage contrastive learning framework, demonstrating exceptional generalization capabilities, particularly in unidirectional quantity embedding tasks. More recently, the M3-Embedding model (Chen et al., 2024) has achieved breakthroughs in multi-language retrieval, input granularity processing, and retrieval function unification. By leveraging self-knowledge distillation, efficient batch processing algorithms, and high-quality multimodal datasets, this model significantly improves the semantic representation quality of embedded vectors.
|
| 66 |
+
|
| 67 |
+
# 2.3 Reasoning ability of LLMs
|
| 68 |
+
|
| 69 |
+
The reasoning ability of LLMs has been significantly enhanced by techniques that simulate the human problem-solving process. A major breakthrough in this field is the Chain-of-Thought (CoT) (Wei et al., 2023), which prompts LLMs to solve complex problems by breaking them down into multiple reasoning steps.
|
| 70 |
+
|
| 71 |
+
Recently, LLMs with complex reasoning capabilities, such as OpenAI's GPT-4/4o (OpenAI et al., 2024), DeepSeek-R1 (DeepSeek-AI et al., 2025), and Google's Gemini 2.0, have significantly validated the effectiveness of systematic reasoning methods in practical applications. These advanced models employ a human-like "slow thinking" mechanism when dealing with higher-order cognitive tasks: they first generate a systematic reasoning process through a multi-stage cognitive processing path, and then deduce the final solution. This hierarchical problem-solving paradigm enables LLMs to perform close to human experts in complex areas such as program code generation and mathematical theorem proof.
|
| 72 |
+
|
| 73 |
+
# 3 Method
|
| 74 |
+
|
| 75 |
+
Figure 2 illustrates the processing pipeline of ICLER. This method processes query by retrieving relevant examples from the Instance Database $\mathcal{D}$ and logical analysis results from the Reasoning Database $\mathcal{R}$ through a dual-channel retrieval mech
|
| 76 |
+
|
| 77 |
+

|
| 78 |
+
Figure 2: Processing pipeline of ICLER: Embedding Model is a model jointly trained based on reasoning and embedding tasks, and Reasoning database is an error analysis generated based on strong negative cases.
|
| 79 |
+
|
| 80 |
+
anism. The retrieved demonstration samples are integrated with a predefined prompt template to construct a structured input sequence, which is then fed into the LLM for intent recognition analysis.
|
| 81 |
+
|
| 82 |
+
To further improve the performance of this process, we employ an embedding model that is optimized through a multi-task learning framework. Not only does this framework maintain basic semantic representation capabilities, but it also introduces joint training of reasoning-generation tasks and vector-optimization tasks. Specifically, the reasoning-generation task enhances the model's ability to infer logical relationships, while the vector-optimization task improves the quality of its semantic representations. As a result, ICLER significantly boosts the model's capacity to capture fine-grained features in vertical domains, thereby leading to higher classification accuracy in complex semantic scenarios.
|
| 83 |
+
|
| 84 |
+
To support this framework, the following technical components are developed: (1) Build Retrieval Database and Fine-tuning Dataset: a Reasoning Database that stores structured logical analysis results for retrieval and an Instance Database to retrieve related instances. Then, build a Fine-tuning Dataset with the corresponding database; (2) Multi-task Training Pipeline: a multi-task training pipeline that optimizes embedding quality through joint learning of reason
|
| 85 |
+
|
| 86 |
+
ing and representation tasks; (3) Results Obtain: an intent classification module that integrates improved embeddings and logical reasoning for accurate intent recognition.
|
| 87 |
+
|
| 88 |
+
# 3.1 Build Retrieval Database and Fine-tuning Dataset
|
| 89 |
+
|
| 90 |
+
# 3.1.1 Build Retrieval Database
|
| 91 |
+
|
| 92 |
+
We designed a concise and efficient data synthesis process that use the reasoning power of LLM to generate Reasoning Database. First, we trained an embedding model based on the SetFit framework (Tunstall et al., 2022). The training set is trained by five-fold cross-validation, and the divided test set is also identified to generate a strong negative case data set $W = \{w_{i} = \text{(case, true_label, false_label)}\}$ , where each sample contains a case, a correct label and an error label. This data is then combined with the corresponding prompt:
|
| 93 |
+
|
| 94 |
+
$$
|
| 95 |
+
\begin{array}{l} P _ {R i} = \operatorname {T a k} \left\{B _ {-} \operatorname {I n s} \right\}; \\ \text {E x a m p l e s} \{B _ {-} E \}; \\ Q u e r y \{w _ {i} \}, \\ r _ {i} = L L M _ {r e a s o n i n g} (P _ {R i}), \\ \end{array}
|
| 96 |
+
$$
|
| 97 |
+
|
| 98 |
+
Among them, $B\_Ins$ is used to clearly explain the requirements of the thinking task. Example $B\_E$ is used to show the form of the desired out
|
| 99 |
+
|
| 100 |
+
put to guide the model to generate compliant responses. $w_{i}$ represents the input specific case for model generation reasoning. The designed $P_{R_i}$ (A) is input into LLM to generate the reasoning results. These results will be used to construct the Reasoning Database $\mathcal{R}$ and provide high-quality reasoning data support for subsequent tasks.
|
| 101 |
+
|
| 102 |
+
Training corpora are processed into fixed-dimensional vectors with semantic representations through a embedding model, and the normalized text embedding vectors along with their supervised labels are subsequently stored in an Instance Database $\mathcal{D}$ .
|
| 103 |
+
|
| 104 |
+
# 3.1.2 Build Fine-tuning Dataset
|
| 105 |
+
|
| 106 |
+
The model is trained to respond to instructions by generating answers. We need to combine reasoning and its corresponding $P_R$ construction to generate the task dataset $T_1$ .
|
| 107 |
+
|
| 108 |
+
$$
|
| 109 |
+
T _ {I} = \left\{\left\{t e x t: \left[ P _ {R i}, r _ {i} \right] \right\}, \dots \right\}, \tag {2}
|
| 110 |
+
$$
|
| 111 |
+
|
| 112 |
+
Where $r_i \in \mathcal{R}$ , is the prompt to generate in 3.1.1. And at the beginning of the training, the data set $T_1$ will be task marked, the specific marker form is as follows: generate the task tag: $<s><|user|>\{...$ $|\text{assistant}|>\{\} < /s>$ .
|
| 113 |
+
|
| 114 |
+
Furthermore, in order to meet the representational instruction tuning, we need to combine the embedded instructions with the training data to build the data set $T_{2}$ .
|
| 115 |
+
|
| 116 |
+
$$
|
| 117 |
+
T _ {2} = \left\{ \begin{array}{c} \left\{\text {q u e r y}: [ Q \_ I n s, q _ {\text {t r a i n} i} ], \right. \\ \quad \text {p o s}: \left[ \left[ P \_ I n s, p _ {i 1} \right], \left[ P \_ I n s, p _ {i 2} \right], \dots \right], \\ \quad \text {n e g}: \left[ \left[ N \_ I n s, n _ {i 1} \right], \left[ N \_ I n s, n _ {i 2} \right], \dots \right] \\ \}, \dots \end{array} \right\} \tag {3}
|
| 118 |
+
$$
|
| 119 |
+
|
| 120 |
+
$q_{train_i} \in \mathcal{D}$ and $\{p_{ij}\}$ is a set of sentences with the same composition as $q_{train_i}$ 's label, and $\{n_{ik}\}$ is a set of sentences with different intents from $q_{train_i}$ 's label (to reduce the scale of $T_2$ , we optimized the construction process. Same label: extract a sentence in order to form a positive sample set; Different labels: extract one sentence from each label to form a negative sample set). $Q_{-}\text{Ins}, P_{-}\text{Ins},$ and $N_{-}\text{Ins}$ are the embedding instructions corresponding to the query $q_{train_i}$ , the positive instance set $\{p_{ij}\}$ , and the negative instance set $\{n_{ik}\}$ , respectively. At the same time, study has confirmed that the above three embedding instructions can be the same one, So we use emb_Instruction = "Represent the example for the following task: Given a question about computer-related
|
| 121 |
+
|
| 122 |
+
issues or casual conversation, it is necessary to determine the intent of the given question in order to better address the user's issue." as the instruction corresponding to all instances.
|
| 123 |
+
|
| 124 |
+
At the beginning of the training, the dataset will be task labeled, the specific marker form is as follows: embedding task tag: $<s><|user|>\{emb_Instruction\}<|embed|\} \{q_{traini}$ or $p_{ij}$ or $n_{ik}\}$
|
| 125 |
+
|
| 126 |
+
# 3.2 Multi-task Training Pipeline
|
| 127 |
+
|
| 128 |
+
We used the GRIT architecture (Muennighoff et al., 2025) to train with the contrast loss function and the generation loss function, and used the ability of the generation task optimization embedding model to represent fine-grained features. Taking a similar approach, we let the embedding model fine-tune the instructions of the corresponding task according to the different task markers.
|
| 129 |
+
|
| 130 |
+
$$
|
| 131 |
+
\begin{array}{l} \mathcal {L} = - \frac {\lambda_ {e m b}}{M} \sum_ {i = 1} ^ {M} \log \frac {\sum_ {j = 1} ^ {A} \exp (\tau \sigma (f _ {\theta} (q _ {i}) , f _ {\theta} (d _ {i j})))}{\sum_ {k = 1} ^ {A + B} \exp (\tau \sigma (f _ {\theta} (q _ {i}) , f _ {\theta} (d _ {i k})))} \\ - \frac {\lambda_ {g e n}}{N} \sum_ {i = 1} ^ {N} \log P \left(f _ {\theta , \eta} \left(x _ {i}\right) \mid f _ {\theta , \eta} \left(x _ {(< i)}\right)\right), \tag {4} \\ \end{array}
|
| 132 |
+
$$
|
| 133 |
+
|
| 134 |
+
Here, M indicates the embedding task batch and N indicates the generation task batch. $f_{\theta}$ denotes an embedding model parameterized by $\theta$ while $f_{\theta,\eta}$ refers to the architecture augmented with an $\eta$ -parameterized language modeling head for generation tasks. The temperature hyperparameter is denoted as $\tau$ , and $\sigma$ signifies the process of applying a pooling operation to each output embedding followed by cosine similarity computation. Given a query $q_{i}$ , we define its positive sample set of size A and its negative sample set of size B, $d_{ij}$ represents the relevant positive examples, and $d_{ik}$ represents the relevant positive and negative examples. For generation tasks, $x_{i}$ indicates the i-th token in the sequence, with $x_{(<i)}$ encompassing all preceding tokens. The training objective is to minimize the negative log-likelihood loss exclusively over the tokens ( $\{\text{response}\} < /s>$ ). Based on experimental results identifying $(\lambda_{gen}, \lambda_{emb}) = (2,1)$ as optimal, we initialize the loss function accordingly.
|
| 135 |
+
|
| 136 |
+
# 3.3 Intent Classification
|
| 137 |
+
|
| 138 |
+
# 3.3.1 Information Retrieval
|
| 139 |
+
|
| 140 |
+
Incorporating reasoning support and a domain-adaptive retrieval embedding model, we clas
|
| 141 |
+
|
| 142 |
+
sify intents via the designed pipeline. We prompt the LLM with the instruction tuple $I\_Ins, r_i^*, d_i^*, q_{testi}$ (where $q_{testi}$ is drawn from the test set), and retrieve the associated reasoning $r_i^*$ and instances $d_i^*$ . Retrieval then uses embedding similarity between the user query and each $d_i^*$ to assess relevance. Given a query $q_{testi}$ , Instance Database $\mathcal{D}$ , and Reasoning Database $\mathcal{R}$ , the embedding model $M$ encodes them as $v_{q_i}, V_D, V_R$ :
|
| 143 |
+
|
| 144 |
+
$$
|
| 145 |
+
v _ {q _ {i}} \leftarrow M \left(q _ {\text {t e s t} i}\right), V _ {D} \leftarrow M (\mathcal {D}), V _ {R} \leftarrow M (\mathcal {R}), \tag {5}
|
| 146 |
+
$$
|
| 147 |
+
|
| 148 |
+
To retrieve related instances $d_{i}^{*}$ and related reasoning $r_i^*$ from a large-scale dataset, we used the graph-based approximate nearest neighbor search algorithm Hierarchical Navigable Small Worlds(HNSW)(Malkov and Yashunin, 2020). The relevant instances need to meet the following nearest-neighbor criteria:
|
| 149 |
+
|
| 150 |
+
$$
|
| 151 |
+
\begin{array}{l} d _ {i} ^ {*} = \arg \min _ {d _ {i} ^ {*} \in \mathcal {D}} \left\{d i s (v _ {q _ {i}}, V _ {D}) \right\}, \\ r _ {i} ^ {*} = \arg \min _ {r _ {i} ^ {*} \in \mathcal {R}} \left\{d i s \left(v _ {q _ {i}}, V _ {R}\right) \right\}, \tag {6} \\ \end{array}
|
| 152 |
+
$$
|
| 153 |
+
|
| 154 |
+
Here, the function $dis()$ denotes the cosine distance computed by the pre-trained embedding model $M$ . First, pre-process the Reasoning Dataset $\mathcal{R}$ and the Instance dataset $\mathcal{D}$ in the reasoning library, plus the embedded instruction tag: $<|user|>\{\} <|embed|>\{\mathcal{D},\mathcal{R}\}$ . (Note that $\mathcal{D}$ and $\mathcal{R}$ are already included in the training data, so no extra instructions are needed for embedding.). Next, for each user query $q_{test_i}$ , we add a task tag: $<|user|>\{I_Ins\}<|embed|>\{q_{test_i}\}$ . ( $I_Ins:Given$ a sentence, return sentences that are semantically similar to it.) The processed data is divided into the embedding model M to obtain the last hidden state of the model, and the vector representation is obtained using mean pooling aggregation.
|
| 155 |
+
|
| 156 |
+
Finally, the similarity between the embedding vectors is obtained by applying the HNSW search algorithm, quickly retrieve and returning the most relevant TOP-N instances $d_{i}^{*}$ . Meanwhile, we select the TOP-1 reason $r_{i}^{*}$ that best matched the query for intent judgment.
|
| 157 |
+
|
| 158 |
+
# 3.3.2 Results Obtain
|
| 159 |
+
|
| 160 |
+
Construct a $P_{C_i}$ for classification and input it into an LLM for classification:
|
| 161 |
+
|
| 162 |
+
$$
|
| 163 |
+
P _ {C i} = \operatorname {T a s k} \left\{C \_ I n s \right\};
|
| 164 |
+
$$
|
| 165 |
+
|
| 166 |
+
$$
|
| 167 |
+
\text {R e a s o n} \left\{r _ {i} ^ {*} \right\};
|
| 168 |
+
$$
|
| 169 |
+
|
| 170 |
+
$$
|
| 171 |
+
\text {E x a m p l e s} \left\{d _ {i} ^ {*} \right\}; \tag {7}
|
| 172 |
+
$$
|
| 173 |
+
|
| 174 |
+
$$
|
| 175 |
+
Q u e y \left\{q _ {t e s t i} \right\},
|
| 176 |
+
$$
|
| 177 |
+
|
| 178 |
+
$$
|
| 179 |
+
\operatorname {r e s u l t} _ {i} = L L M _ {\text {c l a s s i f i c a t i o n}} \left(P _ {C _ {i}}\right),
|
| 180 |
+
$$
|
| 181 |
+
|
| 182 |
+
Where Ins represents the input intent classification task instruction, reasoning data $r_i^*$ is used to provide the analysis process, instance data $d_i^*$ provides the relevant instances, and $q_{test_i}$ is the user's query. Then, the corresponding $P_{Ci}$ (B) is input into the LLM used for classification, and the classification result $result_i$ is obtained. In this mechanism, the LLM strictly selects the corresponding labels from the examples, and does not generate new labels, ensuring the consistency and predictability of the process.
|
| 183 |
+
|
| 184 |
+
# 4 Experiment
|
| 185 |
+
|
| 186 |
+
# 4.1 Dataset and Evaluation Method
|
| 187 |
+
|
| 188 |
+
To evaluate the performance of ICLER in general scenarios, we used multiple datasets: the widely adopted multilingual Amazon Review corpus (MARC) including its en-US, zh-CN, and ja-JP subsets (Keung et al., 2020), which contain cross-lingual user reviews to support the model's multilingual text processing; the bankingIntent dataset (focused on bank-related intent identification, critical for assessing performance in the financial domain); the mistral-intent-data1816 dataset (covering diverse scenarios to comprehensively test intent recognition capabilities); and a self-constructed PC domain dataset (with over 500 labels and industrial-domain intent classification characteristics). Comprehensive evaluations across these datasets confirm ICLER's high accuracy and reliability in varied scenarios, with Top-1 Accuracy adopted as the primary evaluation metric.
|
| 189 |
+
|
| 190 |
+
In the recall task, Top-1 Accuracy represents the proportion of the first example intention of the embedding model recall consistent with the user query; in the classification task, Top-1 Accuracy represents the proportion of the results generated by the reasoning model consistent with the user query.
|
| 191 |
+
|
| 192 |
+
Table 1: Evaluation results of employing Multilingual-E5-Base and Qwen1.5-1.8B for embedding, with Qwen2.5-7B handling reasoning tasks. Evaluation uses Top-1 Accuracy(%) as the primary metric.
|
| 193 |
+
|
| 194 |
+
<table><tr><td rowspan="2">Model</td><td rowspan="2">Method</td><td colspan="6">Top-1 Accuracy (%)</td></tr><tr><td>pc</td><td>banking</td><td>en</td><td>ja</td><td>zh</td><td>mistral</td></tr><tr><td rowspan="3">Multilingual-E5</td><td>Base</td><td>33.72</td><td>66.23</td><td>67.99</td><td>59.72</td><td>65.27</td><td>67.05</td></tr><tr><td>SetFit</td><td>56.08</td><td>83.18</td><td>81.98</td><td>77.34</td><td>76.70</td><td>73.86</td></tr><tr><td>Emb+Reason</td><td>61.15</td><td>90.68</td><td>80.70</td><td>78.28</td><td>78.41</td><td>75.00</td></tr><tr><td rowspan="3">Qwen1.5-1.8B</td><td>Base</td><td>28.59</td><td>63.28</td><td>67.18</td><td>66.95</td><td>68.70</td><td>56.00</td></tr><tr><td>Emb-only</td><td>66.76</td><td>89.84</td><td>85.54</td><td>81.24</td><td>83.15</td><td>79.55</td></tr><tr><td>Emb+Reason</td><td>67.81</td><td>92.05</td><td>86.08</td><td>83.96</td><td>84.53</td><td>81.82</td></tr><tr><td rowspan="2">Qwen2.5-7B</td><td>ICL</td><td>81.44</td><td>92.21</td><td>87.79</td><td>84.36</td><td>85.14</td><td>84.09</td></tr><tr><td>ICLER</td><td>86.21</td><td>93.00</td><td>87.83</td><td>85.04</td><td>85.94</td><td>85.23</td></tr></table>
|
| 195 |
+
|
| 196 |
+
# 4.2 Settings
|
| 197 |
+
|
| 198 |
+
Given strict time constraints, we constructed a recall system based on an embedding model, selecting two base models—Multilingual-E5-Base and Qwen1.5-1.8B-Chat—as embedding models. For data preparation, we utilized Qwen2.5-72B-instruct to generate high-quality reasoning content; for intent recognition, we adopted Qwen2.5-7B-Instruct. Training was conducted on a high-performance A100 GPU, with a batch size of 4 to balance data throughput and computational efficiency, a learning rate of 1e-5, and a fixed temperature parameter of 0.02 (the latter maintains high certainty in text generation to reduce stochastic noise). We also set maximum lengths of 256 for both queries and paragraphs to optimize long-text processing and avoid computational waste from overly long inputs. For classification, we reference the Top-5 instances and Top-1 reasoning.
|
| 199 |
+
|
| 200 |
+
# 4.3 Main Result
|
| 201 |
+
|
| 202 |
+
# 4.3.1 Validation Results
|
| 203 |
+
|
| 204 |
+
As shown in Figure 3, we addressed the issue of insufficient LLM reasoning ability proposed in the Introduction section. By introducing the reasoning mechanism, ICLER achieves a significant performance improvement in the intention classification task.
|
| 205 |
+
|
| 206 |
+
Simultaneously, Figure 4 reveals the key pathways to improving the embedding model's fine-grained intent recognition capabilities: Conventional training strategies yield nearly identical attention weights for domain-critical entities (camera) and generic descriptors (not working), resulting in confused semantic representations. However, our joint training paradigm integrating reasoning generation and vector optimization tasks re
|
| 207 |
+
|
| 208 |
+

|
| 209 |
+
Figure 3: Results of the ICLER. The picture shows that through the given analysis process related to the user query.
|
| 210 |
+
|
| 211 |
+
calibrates this attention distribution, amplifying focus on technical entities (camera: 0.73 attention weight) while suppressing generic terms. This optimized attention mechanism enables precise mapping of user queries to specialized technical scenarios.
|
| 212 |
+
|
| 213 |
+
# 4.3.2 Experimental Results
|
| 214 |
+
|
| 215 |
+
In the evaluation, the performance of the embedding models is summarized in Table 1.
|
| 216 |
+
|
| 217 |
+
All experimental results in Table 1 are "domain evaluations"—specifically, the model is fine-tuned on one dataset (e.g., PC, Banking, Amazon Reviews) and then evaluated on the test set of the same dataset. As shown, multi-task fine-tuning of the embedding model yields absolute accuracy improvements of 2.72 points on ja-JP and 1.38
|
| 218 |
+
|
| 219 |
+

|
| 220 |
+
Figure 4: Attention-heatmap. The Qwen1.5-1.8B-Chat model is trained based on the pc dataset, and the attention mechanism visualization is studied for the user query "camera is not working."
|
| 221 |
+
|
| 222 |
+
Table 2: Top1-Accuracy(‰) of GTE-Qwen2-1.5B-Instruct Model on MTEB Classification Tasks after Multi-task Fine-tuning
|
| 223 |
+
|
| 224 |
+
<table><tr><td>Classification Task</td><td>Base</td><td>Emb+ Reason</td></tr><tr><td>ToxicConversationsClassification</td><td>82.30</td><td>82.04↓</td></tr><tr><td>MTOPDomainClassification</td><td>97.54</td><td>98.39↑</td></tr><tr><td>MassiveIntentClassification</td><td>82.41</td><td>84.05↑</td></tr><tr><td>MTOPIntentClassification</td><td>88.71</td><td>87.44↓</td></tr><tr><td>AmazonPolarityClassification</td><td>96.60</td><td>96.33↓</td></tr><tr><td>TweetSentimentExtractionClassification</td><td>72.55</td><td>71.55↓</td></tr><tr><td>MassiveScenarioClassification</td><td>84.38</td><td>89.09↑</td></tr><tr><td>Banking77Classification</td><td>87.33</td><td>88.44↑</td></tr><tr><td>AmazonCounterfactualClassification</td><td>84.04</td><td>90.12↑</td></tr><tr><td>AmazonReviewsClassification</td><td>55.24</td><td>54.70↓</td></tr><tr><td>ImdbClassification</td><td>95.71</td><td>95.22↓</td></tr><tr><td>EmotionClassification</td><td>61.05</td><td>80.43↑</td></tr></table>
|
| 225 |
+
|
| 226 |
+
points on zh-CN over single-task embedding-only fine-tuning. Among the tested models, Qwen1.5-1.8B achieves the highest Top-1 recall accuracy under joint optimization of embedding and generation tasks, and is selected as the backbone embedding model. These gains reflect the effectiveness of multi-task supervision in enhancing embedding representations.
|
| 227 |
+
|
| 228 |
+
In addition, we evaluate our proposed ICLER framework, which integrates reasoning into the ICL-based intent classification process. Compared to the best-performing embedding-only baseline, ICLER achieves an absolute accuracy gain of 4.77 points on PC-related domain datasets. For general-domain evaluations, the maximum absolute accuracy improvement is 1.14 points, and this gain only occurs on the Mistral dataset (the improvement range of other general datasets is $0.04\% - 0.89\%$ ). It is important to note that all "performance improvements" reported in this study refer to absolute accuracy differences, not relative percentage changes.
|
| 229 |
+
|
| 230 |
+
To further assess the effectiveness of our approach, we select six classification tasks from the MTEB benchmark: MTOPDomainClassification,
|
| 231 |
+
|
| 232 |
+
MassiveIntentClassification, MassiveScenarioClassification, Banking77Classification, AmazonCounterfactualClassification, and EmotionClassification. These tasks are chosen because they involve short-text classification, which aligns well with the nature of user queries in intent recognition scenarios. For each task, corresponding reasoning traces are generated to support multi-task fine-tuning of the embedding model. We then fine-tune the GteQwen2-1.5B-instruct model with both generation and embedding objectives.
|
| 233 |
+
|
| 234 |
+
As shown in Table2, our approach achieves consistent improvements on the target tasks. Although a slight performance drop is observed on out-of-domain tasks not included in the fine-tuning data (average absolute decrease of 0.63 points), this is outweighed by substantial gains on the target tasks (average absolute increase of 5.56 points). Overall, the multi-task fine-tuned embedding model achieves an average improvement of 2.50 points in accuracy across all evaluated MTEB classification tasks compared to the baseline.
|
| 235 |
+
|
| 236 |
+
# 4.3.3 Ablation Studies
|
| 237 |
+
|
| 238 |
+
To verify the impact of key parameters and design choices on model performance, we conducted ablation experiments focusing on three core aspects: the number of retrieved examples, the relevance of reasoning samples, and the decoupling strategy of reasoning and instances. The results are as follows:
|
| 239 |
+
|
| 240 |
+
(1) Number of Retrieved Examples: When retrieving the Top-5 instances, over $97\%$ of test samples included the correct intent in the retrieval results. Continuing to increase the number of retrieved examples (e.g., Top-10) only improved the accuracy by $0.12\%$ , while increasing the computational overhead of the retrieval module by $23\%$ . Considering the balance between performance and efficiency, we fixed the number of retrieved examples at $\mathrm{N} = 5$ in the final framework.
|
| 241 |
+
|
| 242 |
+
(2)Relevance of Reasoning Samples: We tested the effect of adding 2-3 weakly relevant reasoning samples (i.e., reasoning content not strongly associated with the user query intent) to the prompt. The results showed that the model accuracy decreased by $0.3\% - 0.5\%$ compared to using only strongly relevant samples. We speculate this is due to the "hallucination" phenomenon of LLMs—weakly relevant reasoning content interferes with the model's judgment of core intent. Additionally, the increase in reasoning samples extended the input sequence length by $40\%$ , leading to a $15\%$ rise in inference
|
| 243 |
+
|
| 244 |
+
time. Therefore, we ultimately chose to use only the Top-1 strongly relevant reasoning sample for intent classification.
|
| 245 |
+
|
| 246 |
+
Reason for Decoupling Reasoning and Instances: In real business scenarios, the instance retrieval module (responsible for recalling similar cases) and the reasoning generation module (responsible for generating logical analysis) usually belong to different system components, and their data sources and update cycles are independent. If the two modules are strongly bound (e.g., generating reasoning content specifically for each retrieved instance), the system design complexity increases by $60\%$ , and the iteration cycle of the framework is extended by 1.8 times. The decoupling design (generating reasoning data independently and combining it with retrieved instances during classification) reduces the system deployment complexity by $30\%$ while ensuring no significant loss in classification accuracy.
|
| 247 |
+
|
| 248 |
+
These ablation results provide experimental basis for the parameter setting and framework design of ICLER, confirming that the selected key parameters and decoupling strategy are optimal for balancing performance, efficiency, and practical deployability.
|
| 249 |
+
|
| 250 |
+
# 5 Conclusion
|
| 251 |
+
|
| 252 |
+
In conclusion, ICLER successfully improves the performance of ICL in the intention classification task. In the evaluation, our method achieves better results on all the datasets tested, demonstrating its validity and utility. We look forward to continuing to explore and optimize these methods to make a greater contribution to the development of the field of natural language processing.
|
| 253 |
+
|
| 254 |
+
# Limitations
|
| 255 |
+
|
| 256 |
+
Although ICLER shows significant advantages in each dataset, there are still three limitations. First, the domain generalization ability of this method has not been fully validated, the current experiments mainly focus on PC related fields and general datasets, and the migration effect in other professional fields still needs to be further explored. Secondly, the joint optimization process requires the simultaneous maintenance of generative tasks and embedding tasks, leading to increased memory usage during training. Finally, the model performance improvement still depends on the scale effect of the base model, and how to achieve a sim
|
| 257 |
+
|
| 258 |
+
ilar optimization path in the model with a smaller number of parameters will be an important future research direction.
|
| 259 |
+
|
| 260 |
+
# References
|
| 261 |
+
|
| 262 |
+
Akari Asai, Timo Schick, Patrick Lewis, Xilun Chen, Gautier Izacard, Sebastian Riedel, Hannaneh Hajishirzi, and Wen tau Yih. 2022. Task-aware retrieval with instructions. Preprint, arXiv:2211.09260.
|
| 263 |
+
Tom Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah, Jared D Kaplan, Prafulla Dhariwal, Arvind Neelakantan, Pranav Shyam, Girish Sastry, Amanda Askell, Sandhini Agarwal, Ariel Herbert-Voss, Gretchen Krueger, Tom Henighan, Rewon Child, Aditya Ramesh, Daniel Ziegler, Jeffrey Wu, Clemens Winter, and 12 others. 2020. Language models are few-shot learners. In Advances in Neural Information Processing Systems, volume 33, pages 1877-1901. Curran Associates, Inc.
|
| 264 |
+
Jianlv Chen, Shitao Xiao, Peitian Zhang, Kun Luo, Defu Lian, and Zheng Liu. 2024. Bge m3-embedding: Multi-lingual, multi-functionality, multi-granularity text embeddings through self-knowledge distillation. Preprint, arXiv:2402.03216.
|
| 265 |
+
DeepSeek-AI, Daya Guo, Dejian Yang, Haowei Zhang, Junxiao Song, Ruoyu Zhang, Runxin Xu, Qihao Zhu, Shirong Ma, Peiyi Wang, Xiao Bi, Xiaokang Zhang, Xingkai Yu, Yu Wu, Z. F. Wu, Zhibin Gou, Zhihong Shao, Zhuoshu Li, Ziyi Gao, and 181 others. 2025. Deepseek-r1: Incentivizing reasoning capability in llms via reinforcement learning. Preprint, arXiv:2501.12948.
|
| 266 |
+
Tianyu Gao, Xingcheng Yao, and Danqi Chen. 2021. SimCSE: Simple contrastive learning of sentence embeddings. In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing, pages 6894-6910, Online and Punta Cana, Dominican Republic. Association for Computational Linguistics.
|
| 267 |
+
Gautier Izacard, Mathilde Caron, Lucas Hosseini, Sebastian Riedel, Piotr Bojanowski, Armand Joulin, and Edouard Grave. 2022. Unsupervised dense information retrieval with contrastive learning. Preprint, arXiv:2112.09118.
|
| 268 |
+
Phillip Keung, Yichao Lu, György Szarvas, and Noah A. Smith. 2020. The multilingual Amazon reviews corpus. In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP), pages 4563-4568, Online. Association for Computational Linguistics.
|
| 269 |
+
Zehan Li, Xin Zhang, Yanzhao Zhang, Dingkun Long, Pengjun Xie, and Meishan Zhang. 2023. Towards general text embeddings with multi-stage contrastive learning. Preprint, arXiv:2308.03281.
|
| 270 |
+
|
| 271 |
+
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.
|
| 272 |
+
Sheng Liu, Haotian Ye, Lei Xing, and James Zou. 2024. In-context vectors: Making in context learning more effective and controllable through latent space steering. Preprint, arXiv:2311.06668.
|
| 273 |
+
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.
|
| 274 |
+
Yu A. Malkov and D. A. Yashunin. 2020. Efficient and robust approximate nearest neighbor search using hierarchical navigable small world graphs. IEEE Transactions on Pattern Analysis and Machine Intelligence, 42(4):824-836.
|
| 275 |
+
Niklas Muennighoff, Hongjin Su, Liang Wang, Nan Yang, Furu Wei, Tao Yu, Amanpreet Singh, and Douwe Kiela. 2025. Generative representational instruction tuning. Preprint, arXiv:2402.09906.
|
| 276 |
+
Niklas Muennighoff, Nouamane Tazi, Loïc Magne, and Nils Reimers. 2023. Mteb: Massive text embedding benchmark. Preprint, arXiv:2210.07316.
|
| 277 |
+
OpenAI, Josh Achiam, Steven Adler, Sandhini Agarwal, Lama Ahmad, Ilge Akkaya, Florencia Leoni Aleman, Diogo Almeida, Janko Altenschmidt, Sam Altman, Shyamal Anadkat, Red Avila, Igor Babuschkin, Suchir Balaji, Valerie Balcom, Paul Baltescu, Haiming Bao, Mohammad Bavarian, Jeff Belgium, and 262 others. 2024. Gpt-4 technical report. Preprint, arXiv:2303.08774.
|
| 278 |
+
Nils Reimers and Iryna Gurevych. 2019. SentenceBERT: Sentence embeddings using Siamese BERTnetworks. In Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP), pages 3982-3992, Hong Kong, China. Association for Computational Linguistics.
|
| 279 |
+
Hongjin Su, Weijia Shi, Jungo Kasai, Yizhong Wang, Yushi Hu, Mari Ostendorf, Wen-tau Yih, Noah A. Smith, Luke Zettlemoyer, and Tao Yu. 2023. One embedder, any task: Instruction-finetuned text embeddings. In Findings of the Association for Computational Linguistics: ACL 2023, pages 1102-1121, Toronto, Canada. Association for Computational Linguistics.
|
| 280 |
+
|
| 281 |
+
Lewis Tunstall, Nils Reimers, Unso Eun Seo Jo, Luke Bates, Daniel Korat, Moshe Wasserblat, and Oren Pereg. 2022. Efficient few-shot learning without prompts. Preprint, arXiv:2209.11055.
|
| 282 |
+
Liang Wang, Nan Yang, Xiaolong Huang, Linjun Yang, Rangan Majumder, and Furu Wei. 2024. Multilingual e5 text embeddings: A technical report. Preprint, arXiv:2402.05672.
|
| 283 |
+
Jason Wei, Yi Tay, Rishi Bommasani, Colin Raffel, Barret Zoph, Sebastian Borgeaud, Dani Yogatama, Maarten Bosma, Denny Zhou, Donald Metzler, Ed H. Chi, Tatsunori Hashimoto, Oriol Vinyals, Percy Liang, Jeff Dean, and William Fedus. 2022. Emergent abilities of large language models. Transactions on Machine Learning Research. Survey Certification.
|
| 284 |
+
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.
|
| 285 |
+
Sang Michael Xie, Aditi Raghunathan, Percy Liang, and Tengyu Ma. 2022. An explanation of in-context learning as implicit bayesian inference. In International Conference on Learning Representations.
|
| 286 |
+
Zhe Yang, Damai Dai, Peiyi Wang, and Zhifang Sui. 2023. Not all demonstration examples are equally beneficial: Reweighting demonstration examples for in-context learning. In Findings of the Association for Computational Linguistics: EMNLP 2023, pages 13209-13221, Singapore. Association for Computational Linguistics.
|
| 287 |
+
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, volume 139 of Proceedings of Machine Learning Research, pages 12697-12706. PMLR.
|
| 288 |
+
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.
|
| 289 |
+
|
| 290 |
+
# System Prompt
|
| 291 |
+
|
| 292 |
+
You are Qwen, created by Alibaba Cloud. You are a helpful assistant.
|
| 293 |
+
|
| 294 |
+
# User Prompt
|
| 295 |
+
|
| 296 |
+
# Task Specification
|
| 297 |
+
|
| 298 |
+
Given a specific case and two labels (a correct label and a wrong label), analyze the reason why the case is a correct label and why it is not a false label.
|
| 299 |
+
|
| 300 |
+
# Requirements
|
| 301 |
+
|
| 302 |
+
The reason for analysis is given and must be marked with $\langle \text{reason} \rangle$
|
| 303 |
+
|
| 304 |
+
# Examples
|
| 305 |
+
|
| 306 |
+
case: "I am still waiting on my card?"
|
| 307 |
+
|
| 308 |
+
True_label: card Arrival
|
| 309 |
+
|
| 310 |
+
False_label: carddelivery Estimate
|
| 311 |
+
|
| 312 |
+
# Output Examples
|
| 313 |
+
|
| 314 |
+
<reason>The case "I am still waiting on my card?" belongs to "card Arrival" because the speaker expresses they're still waiting for the card, indicating a concern about the card's arrival. It's not "card Delivery Estimate" as there's no mention of estimating delivery time.</reason>
|
| 315 |
+
|
| 316 |
+
# Candidate Intent And The Corresponding Examples
|
| 317 |
+
|
| 318 |
+
case: {query}
|
| 319 |
+
|
| 320 |
+
True_label: {true_label}
|
| 321 |
+
|
| 322 |
+
False_label: {false_label}
|
| 323 |
+
|
| 324 |
+
Analyze The Reasons
|
| 325 |
+
|
| 326 |
+
# System Prompt
|
| 327 |
+
|
| 328 |
+
You are Qwen, created by Alibaba Cloud. You are a helpful assistant.
|
| 329 |
+
|
| 330 |
+
# User Prompt
|
| 331 |
+
|
| 332 |
+
Based on the given intents and one of its examples, you need to determine which intent the user input Content belongs to. Additional, Context is the historical user input.
|
| 333 |
+
|
| 334 |
+
# Examples of analysis for other cases
|
| 335 |
+
|
| 336 |
+
The case "wake me up at this time" belongs to "alarm_set" because the speaker is requesting to set an alarm for a specific time. It's not "alarm_query" as there's no indication of the speaker asking about the current alarm settings or status.
|
| 337 |
+
|
| 338 |
+
# Requirements
|
| 339 |
+
|
| 340 |
+
- DO NOT create new intent on your own, you must strictly use the intents in the examples.
|
| 341 |
+
- Give you with some other cases for the analysis process of determining intent, but you do not need to offer analysis in the round of intent.
|
| 342 |
+
- If no examples match the targeted Content, Output -1.
|
| 343 |
+
- Only output all index numbers of the matched intent for the targeted Content.
|
| 344 |
+
- IF there are multiple intents that match the targeted Content, output these index and use ’, to separate them.
|
| 345 |
+
- Consider the context from previous messages if the targeted Content is unclear.
|
| 346 |
+
|
| 347 |
+
# Examples
|
| 348 |
+
|
| 349 |
+
[case] wake me at daybreak [label] alarm_set [Index] 1
|
| 350 |
+
|
| 351 |
+
[case] tell me when the next alarms are for [label] alarm_query [Index] 2
|
| 352 |
+
|
| 353 |
+
[case] i need to set an alarm how many do i have set [label] alarm_query [Index] 3
|
| 354 |
+
|
| 355 |
+
[case] can you set my alarm [label] alarm_set [Index] 4
|
| 356 |
+
|
| 357 |
+
[case] then tap ok [label] alarm_query [Index] 5
|
| 358 |
+
|
| 359 |
+
# #Content
|
| 360 |
+
|
| 361 |
+
alarm settings
|
| 362 |
+
|
| 363 |
+
# Output
|
| 364 |
+
|
| 365 |
+
2
|
| 366 |
+
|
| 367 |
+
Algorithm 1 Build Reasoning Database
|
| 368 |
+
Query dataset $Q_{train} = \{q_{traini}\}$
|
| 369 |
+
Document dataset $D = \{d_i\}$
|
| 370 |
+
Model for generating reasonings $M_1$
|
| 371 |
+
Model for embedding $M_2$
|
| 372 |
+
Model for classification $M_3$
|
| 373 |
+
Prompt template: $P_R, P_C$
|
| 374 |
+
Similarity score function of Retrieval: $dis()$
|
| 375 |
+
1. Initialize: $\mathcal{R} \gets \emptyset, V_D \gets M_2(D)$
|
| 376 |
+
2. for each $q_{traini} \in Q_{train}$ :
|
| 377 |
+
3. $V_q^i \gets M_2(q_{traini})$
|
| 378 |
+
4. $\mathcal{D}_i^* = \{d_j^*\}_i \gets \arg \min_{d_j \in \mathcal{D}} \text{dis}(V_q^i, V_D^j)$
|
| 379 |
+
5. $P_{Ci} \gets (q_{traini}, \mathcal{D}_i^*, \mathcal{R}_i^* = \emptyset)$
|
| 380 |
+
6. labelresulti $\gets M_3(P_{Ci})$
|
| 381 |
+
7. If labelresulti == true_label_qi:
|
| 382 |
+
8. Continue
|
| 383 |
+
9. else:
|
| 384 |
+
10. $P_{Ri} \gets (qi, \text{true_label}_i, \text{labelresult})$
|
| 385 |
+
11. $r_i \gets M_1(P_{Ri})$
|
| 386 |
+
12. $\mathcal{R} \gets r_i$
|
| 387 |
+
13. end for
|
| 388 |
+
14. return $\mathcal{R}$
|
| 389 |
+
|
| 390 |
+
# Algorithm 2 Results Obtain
|
| 391 |
+
|
| 392 |
+
Query dataset $Q_{test} = \{q_{testj}\}$
|
| 393 |
+
|
| 394 |
+
Document dataset $\mathcal{D} = \{d_k\}$
|
| 395 |
+
|
| 396 |
+
Reasoning dataset $\mathcal{R} = \{r_l\}$
|
| 397 |
+
|
| 398 |
+
Model for embedding $M_{1}$
|
| 399 |
+
|
| 400 |
+
Model for classification $M_2$
|
| 401 |
+
|
| 402 |
+
Prompt template: $P_{C}$
|
| 403 |
+
|
| 404 |
+
Similarity score function of Retrieval: $dis()$
|
| 405 |
+
|
| 406 |
+
1. Initialize: Result $\leftarrow \emptyset$ , $V_{D} \gets M_{1}(D)$ , $V_{R} \gets M_{1}(R)$
|
| 407 |
+
2. for each $q_{test_i} \in Q_{test}$ :
|
| 408 |
+
3. $V_{q}^{i}\gets M_{1}(q_{test_{i}})$
|
| 409 |
+
4. $\mathcal{D}_i^* = \{d_j^*\}_{i}\gets \underset {d_j^*\in \mathcal{D}}{\arg \min}dis(V_q^i,V_D^j)$
|
| 410 |
+
5. $r_i^*\gets \arg \min_{r_i^*\in \mathcal{R}}dis(V_q^i,V_R)$
|
| 411 |
+
6. $P_{C_i} \gets (q_{test_i}, \mathcal{D}_i^*, r_i^*)$
|
| 412 |
+
7. resulti $\leftarrow M_2(P_{C_i})$
|
| 413 |
+
8. Result $\leftarrow$ resulti
|
| 414 |
+
9. end for
|
| 415 |
+
10. return Result
|
2025/ICLER_ Intent CLassification with Enhanced Reasoning/images.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c8e3d6db9a7d5b706a9ceabd417c31da938420dfa730a32bcceba3c293e8aed8
|
| 3 |
+
size 378167
|
2025/ICLER_ Intent CLassification with Enhanced Reasoning/layout.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2025/INDOORWORLD _ Integrating Physical Task Solving and Social Simulation in A Heterogeneous Multi-Agent Environment/ee507a4c-7454-4514-a8c9-73b0446536c5_content_list.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2025/INDOORWORLD _ Integrating Physical Task Solving and Social Simulation in A Heterogeneous Multi-Agent Environment/ee507a4c-7454-4514-a8c9-73b0446536c5_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2025/INDOORWORLD _ Integrating Physical Task Solving and Social Simulation in A Heterogeneous Multi-Agent Environment/ee507a4c-7454-4514-a8c9-73b0446536c5_origin.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e6bbeca29c8573d1e6501862328be7024cc5147fb6aef7deecfb4d7628ef1511
|
| 3 |
+
size 9346424
|
2025/INDOORWORLD _ Integrating Physical Task Solving and Social Simulation in A Heterogeneous Multi-Agent Environment/full.md
ADDED
|
@@ -0,0 +1,529 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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| 3 |
+
Dekun Wu<sup>1,2</sup> Frederik Brudy<sup>4</sup> Bang Liu<sup>1,2,3</sup> Yi Wang<sup>4</sup>
|
| 4 |
+
|
| 5 |
+
<sup>1</sup>Université de Montréal, <sup>2</sup>Mila - Quebec AI Institute, <sup>3</sup>Canada CIFAR AI Chair
|
| 6 |
+
|
| 7 |
+
4Autodesk Research
|
| 8 |
+
|
| 9 |
+
{dekun.wu, bang.liu}@umontreal.ca
|
| 10 |
+
|
| 11 |
+
frederik.brudy@autodesk.com, ywang485@gmail.com
|
| 12 |
+
|
| 13 |
+
# Abstract
|
| 14 |
+
|
| 15 |
+
Virtual environments are essential to AI agent research. Existing environments for LLM agent research typically focus on either physical task solving or social simulation, with the former oversimplifying agent individuality and social dynamics, and the latter lacking physical grounding of social behaviors. We introduce INDOORWORLD, a heterogeneous multi-agent environment that tightly integrates physical and social dynamics. By introducing novel challenges for LLM-driven agents in orchestrating social dynamics to influence physical environments and anchoring social interactions within world states, INDOORWORLD opens up possibilities of LLM-based building occupant simulation for architectural design. We demonstrate the potential with a series of experiments within an office setting to examine the impact of multiagent collaboration, resource competition, and spatial layout on agent behavior.
|
| 16 |
+
|
| 17 |
+
# 1 Introduction
|
| 18 |
+
|
| 19 |
+
The emergence of Large Language Model (LLM)-based agents has extended LLMs beyond traditional one-off interactions, equipping them with long-term memory, planning capabilities, and embodied actions (Yao et al., 2022; Shinn et al., 2024; Wang et al.). Among them, multi-agent systems leverage distinct agent roles to achieve greater collective intelligence for problem-solving (Hong et al., 2024; Qian et al., 2023; Tang et al., 2024) or to enable more realistic cognitive and psychological modeling in social simulations.
|
| 20 |
+
|
| 21 |
+
Like in traditional AI research (Maes, 1995), virtual environments are essential for LLM-based agents, enabling them to perceive and act. These environments provide external sensory input and introduce a world state, allowing agent actions to be grounded as operators that modify the environment. These environments serve as low-cost testbeds that accelerate LLM-agent development,
|
| 22 |
+
|
| 23 |
+
typically falling into two categories: physical task-solving environments and social simulation environments.
|
| 24 |
+
|
| 25 |
+
Physical task-solving environments such as VirtualHome (Puig et al., 2018) and ALFWorld (Shridhar et al., 2020b) enable agents to interact with external objects to manipulate the world state towards specific objectives. However, these environments often assume identical action spaces, homogeneous agent abilities, neglecting individual differences among agents, and the impact of social dynamics on task solving.
|
| 26 |
+
|
| 27 |
+
On the other hand, social simulation environments, such as Smallville (Park et al., 2023), enable social interactions between agents, such as relationship building and information sharing. While these systems effectively simulate human-like social behaviors driven by individual personalities and roles, they often employ an oversimplified model of the physical world. This leads to a lack of groundings for agents' actions in the change of world state, resulting in social interactions that remain merely "plausible" without any correspondence to an external physical reality. For example, an agent may refer to non-existent physical objects in a dialog.
|
| 28 |
+
|
| 29 |
+
The gaps lead to missed opportunities to use AI agents for applications that require tight integration of physical task-solving and social simulation. One such application is building occupant simulation for architectural design (Yan et al., 2015; Feng et al., 2015), where occupant behaviors are driven by both dynamic physical and social factors. To respond to the missed opportunities, we present INDOORWORLD, a heterogeneous multi-agent environment that tightly integrates physical and social dynamics in an indoor space setting, introducing novel challenges for LLM-driven agents in orchestrating social dynamics to influence physical environments and anchoring social interactions within physical world states. As a multi-agent system, INDOORWORLD allows for fully decentralized agent
|
| 30 |
+
|
| 31 |
+
control and collective task assignment, facilitating self-regulated labor division, task prioritization and coordination. INDOORWORLD provides a scalable and expressive testbed for advancing research on multi-agent LLM systems.
|
| 32 |
+
|
| 33 |
+
Our key contributions are as follows:
|
| 34 |
+
|
| 35 |
+
- Heterogeneous Agent Modeling: We introduce a multi-level approach in which agents vary in roles, actions, capabilities, and knowledge, yielding individual differences that professionals judged to be more realistic.
|
| 36 |
+
- Integrated Physical and Social Dynamics: Our environment seamlessly combines physical object manipulation with social behaviors, posing novel challenges and setting the stage for developing LLM-based multi-agent systems for both task solving and social simulation.
|
| 37 |
+
- Promising Tools for Architectural Design: Experiments on multi-agent collaboration, resource competition, and layout effects demonstrate that our platform can aid spatial optimisation and resource allocation, making it a promising tool for architectural design work.
|
| 38 |
+
|
| 39 |
+
# 2 Related Works
|
| 40 |
+
|
| 41 |
+
Task Solving Environments for LLM-based Agents evaluate agents' ability to solve various types of tasks, such as web-based tasks (Cai et al., 2024; Chae et al., 2024), GUI tasks (Nguyen et al., 2024; Wang and Liu, 2024), coding tasks (Hong et al., 2024; Huang et al., 2024; Qian et al., 2023) and household tasks (Shridhar et al., 2021, 2020a; Zhang et al., 2024). In household task-solving environments, agents must explore their surroundings, sense and interpret object states, plan and execute actions. The advantage of such environments lies in their support for a diverse range of physical objects and extensive agent-object interactions. For example, ALFWorld (Shridhar et al., 2021) enables agents to interact with objects such as mugs, books, and lamps. Multi-agent platforms like TDW-MAT and VirtualHome (Zhang et al., 2024; Puig et al., 2018) supports interactions with objects like pens, beds, and apples. Similarly, MineLand (Yu et al., 2024) and AdaSociety (Huang et al., 2025), designed for wilderness survival, feature various tools and food items. However, a common limitation across these environments is the lack of explicit
|
| 42 |
+
|
| 43 |
+
modeling for agent heterogeneity. ALFWorld is a single-agent environment, while TDW-MAT and VirtualHome (Puig et al., 2018) features homogeneous agents with identical capabilities. Although inventory variations in AdaSociety and MineLand introduce some level of heterogeneity, the agents remain fundamentally homogeneous, as they share the same action space.
|
| 44 |
+
|
| 45 |
+
Social Simulation Environments for LLM-based Agents enable agent-agent interactions, elevating the importance of social dynamics. These environments often model differences in personality, profession, and other traits among agents (Park et al., 2023; Wu et al.; Xu et al., 2023; Guan et al., 2025; Li et al., 2024), as well as incorporate human needs modeling (Wang et al., 2023, 2024). However, a major limitation of these environments is the oversimplified modeling of the physical world, including interaction with physical objects. For instance, an agent may perform the action of eating, without any explicit modeling of food items in the environment. This prevents these simulation environments to be applied in settings where the physical environment has impacts on agent behaviors, such as resource allocation and layout study.
|
| 46 |
+
|
| 47 |
+
Abstract Modeling with Text-based Environments Prior works such as TextWorld (Côté et al., 2018) and ALFWorld (Shridhar et al., 2020b) have explored the use of text-based environments for abstract modeling of visual and physical dynamics. These approaches are inspired by concepts from inverse graphics and inverse dynamics (Kulkarni et al., 2015; Wu et al., 2017), where high-level representations allow agents to reason about the environment and predict future outcomes. Building on this line of research, our work aligns with ALFWorld (Shridhar et al., 2020b) in treating text-based simulation as a platform for abstract modeling, while further extending this perspective toward heterogeneous and socially grounded agent interactions.
|
| 48 |
+
|
| 49 |
+
AI in Architectural Design has been widely adopted, mainly to generate static 2D and 3D artefacts, such as floorplans, interiors, and furniture layouts, but these visually oriented methods provide little insight into the dynamic occupant activities (Li et al., 2025; Raistrick et al., 2024; Leng et al., 2023). Moreover, traditional occupant-simulation tools rely on rule-based or state-based behavior transitions (Schaumann et al., 2017; Lee
|
| 50 |
+
|
| 51 |
+

|
| 52 |
+
(a)
|
| 53 |
+
|
| 54 |
+

|
| 55 |
+
(b)
|
| 56 |
+
|
| 57 |
+

|
| 58 |
+
|
| 59 |
+

|
| 60 |
+
|
| 61 |
+

|
| 62 |
+
(c)
|
| 63 |
+
Figure 1: INDOORWORLD system. (a) Agent architecture; (b) Example agent behaviors; (c) Example of heterogeneous agent profiles
|
| 64 |
+
|
| 65 |
+
et al., 2021; Liu et al., 2024), offering far less flexibility and realism than LLMs in responding to changing environments. Our work addresses this gap by employing LLMs to simulate multi-agent interactions within indoor spaces, yielding insights into occupant behaviors that are crucial for effective spatial planning and resource management.
|
| 66 |
+
|
| 67 |
+
# 3 INDOORWORLD Environment
|
| 68 |
+
|
| 69 |
+
Our environment INDOORWORLD seamlessly integrates task-solving and social simulation in an indoor space setting, offering a versatile testbed to study the interplay between social and physical agent behavior. INDOORWORLD enables agents with rich individual differences to collaborate on tasks with complex hierarchy, involving self-regulated labor division, prioritization and coordination, while satisfying physiological needs through environmental interactions. By incorporating fine-grained modeling of agent internal structure and decision-making process, INDOORWORLD more accurately resembles real-world human behaviors. Tables 1, 5, and 7 summarize the key differences between INDOORWORLD and existing platforms, highlighting its potential to advance research in LLM-based multi-agent systems.
|
| 70 |
+
|
| 71 |
+
# 3.1 Environment Architecture
|
| 72 |
+
|
| 73 |
+
Framework Overview and Core Components Virtual environments that support planning and task solving often require managing the world state (Srivastava et al., 2021; Shridhar et al., 2021). Similarly, our INDOORWORLD adopts an object-oriented approach to define state transition systems through three key components: 1) Agents, 2) Objects, and 3) Locations.
|
| 74 |
+
|
| 75 |
+
Each agent and object is associated with state variables, such as a numerical value for an agent's hunger or a Boolean indicating whether a computer is broken. A dedicated variable tracks each entity's current location. The overall world state is the joint valuation of all these variables. Object affordances are defined by the set of actions that can be performed on them, and these actions are further constrained by the agent's role (e.g., only an IT admin can repair computers). When actions are executed, the world state updates accordingly. Objects can be marked as receptacles to store other objects. Locations can be interconnected to allow agent and object movement.
|
| 76 |
+
|
| 77 |
+
Agent interactions are through conversations. INDOORWORLD supports 4 actions related to conversation with other agents: 1) initiating chat; 2) stay chat; 3) end chat, and 4) join chat. We let the LLMs to generate free-form dialog content. Note that we allow any number of agents to
|
| 78 |
+
|
| 79 |
+
<table><tr><td></td><td>MA</td><td>AT</td><td>OI</td><td>TE</td><td>LS</td><td>FH</td><td>HN</td><td>RF</td></tr><tr><td>ALFworld(Shridhar et al., 2021)</td><td>✘</td><td>-</td><td>✓</td><td>✓</td><td>✘</td><td>✘</td><td>✘</td><td>✓</td></tr><tr><td>Virtual-Home(Puig et al., 2018)</td><td>✓</td><td>Ho.</td><td>✓</td><td>✓</td><td>✓</td><td>✘</td><td>✘</td><td>✓</td></tr><tr><td>TDW-MAT(Zhang et al., 2024)</td><td>✓</td><td>Ho.</td><td>✓</td><td>✓</td><td>✘</td><td>✘</td><td>✘</td><td>✓</td></tr><tr><td>C-WAH(Zhang et al., 2024)</td><td>✓</td><td>Ho.</td><td>✓</td><td>✓</td><td>✘</td><td>✘</td><td>✘</td><td>✓</td></tr><tr><td>MineLand(Yu et al., 2024)</td><td>✓</td><td>Ho.</td><td>✓</td><td>✓</td><td>✓</td><td>✘</td><td>✓</td><td>✘</td></tr><tr><td>AdaSociety(Huang et al., 2025)</td><td>✓</td><td>Ho.</td><td>✓</td><td>✓</td><td>✓</td><td>✘</td><td>✓</td><td>✘</td></tr><tr><td>Smallville(Park et al., 2023)</td><td>✓</td><td>He.</td><td>Lmtd.</td><td>✘</td><td>✓</td><td>✘</td><td>✘</td><td>✓</td></tr><tr><td>Humanoid Agents(Wang et al., 2023)</td><td>✓</td><td>He.</td><td>Lmtd.</td><td>✘</td><td>✓</td><td>✘</td><td>✓</td><td>✓</td></tr><tr><td>Ours</td><td>✓</td><td>He.</td><td>✓</td><td>✓</td><td>✓</td><td>✓</td><td>✓</td><td>✓</td></tr></table>
|
| 80 |
+
|
| 81 |
+
Table 1: Comparison of environments. MA: Multi-Agents, AT: Agent Type, OI: Object Interaction, TE: Task Eval, LS: Life Simulation, FH: Fine-Grained Heterogeneity, HN: Human Needs, RF: Real-world Fit. "Ho." = Homogeneous, "He." = Heterogeneous, "Lmtd." = Limited.
|
| 82 |
+
|
| 83 |
+
be in a conversation, as long as they are at the same location. A dedicated agent state variable indicates which conversation session the agent is currently involved (if any). Action 2) and 3) only become admissible actions when the agent is in a conversation, and 4) becomes admissible when there is an ongoing conversation session at the agent's current location. Each agent can only be at one conversation session at a time. Conversations can be used to share information (including task progress), discuss labor division, and coordinating actions. They affect the agent's subsequent actions by updating the agent's internal state. Note that in task-solving scenarios, conversations are utility-driven—the dialog content need to serve task-solving. This aspect distinguishes our work from most existing environments featuring agent conversations.
|
| 84 |
+
|
| 85 |
+
Sessions and Scenarios INDOORWORLD supports both task solving and simulation sessions. In a task-solving session, a set of tasks are assigned as the shared objective for all agents. The agents need to collectively decide on task orders and assignments, as well as planning for specific action sequences to complete each task. In simulation sessions, no explicit objective is defined.
|
| 86 |
+
|
| 87 |
+
Both session types start with an initial world state defined by a scenario, a JSON configuration file specifying agents, objects, locations, inter-location connections, and receptacle assignments. (See Appendix E.1 for an example JSON file.)
|
| 88 |
+
|
| 89 |
+
To facilitate experimentation, INDOORWORLD
|
| 90 |
+
|
| 91 |
+
comes with 25 predefined object types (including 7 receptacle types) and 4 predefined agent roles, resulting in a total of 38 action types. The current set of objects and agent roles cover typical activities in an office environment, such as booking meeting rooms, moving desks, cleaning utensils, repairing computers, etc. As shown in Table 7, our environment offers a broader action space compared to many existing text-based and 2D/3D platforms.
|
| 92 |
+
|
| 93 |
+
Customization and Expansion Although INDOORWORLD currently feature a limited number of object types and agent roles, our object-oriented approach allows easy customization of object type and agent roles. Introducing new object types and agent roles involves defining Python functions specifying new interactions, including preconditions and effects, which can be easily achieved by utilizing existing class hierarchy. We provide example code in Appendix E.2 to illustrate how to introduce new object types, agent roles and interaction type.
|
| 94 |
+
|
| 95 |
+
# 3.2 Agent Architecture
|
| 96 |
+
|
| 97 |
+
Figure 1 (a) illustrates the operational framework of our agents, highlighting their interactions with both the environment and other agents. Our architecture integrates cognitive modules inspired by recent research on LLM-based agents (Yao et al., 2022; Zhang et al., 2024) and consists of five core modules: perception, memory, planning, action, and task prioritization.
|
| 98 |
+
|
| 99 |
+
Perception: This module processes symbolic observations from the environment, such as nearby objects, receptacles, and other agents' activities, and updates the agent's internal state accordingly.
|
| 100 |
+
|
| 101 |
+
Memory: The memory module stores agent-specific information, long-term knowledge, and interaction history. Inspired by the COELA model (Zhang et al., 2024), it maintains a semantic map and tracks task progress, while also recording episodic events (e.g., past actions and conversations) and retaining pre-existing knowledge. It further monitors internal states like physiological needs and inventory status.
|
| 102 |
+
|
| 103 |
+
Planning: Using current observations and stored memories, the planning module determines the agent's current objective and task to address both task-specific and internal needs.
|
| 104 |
+
|
| 105 |
+
Action: Informed by the ReAct framework (Yao et al., 2022), the action module integrates infor
|
| 106 |
+
|
| 107 |
+
mation from perception, memory, and planning to select and execute the next action. This process involves first reasoning about the current situation and evaluating available options before deciding the next move<sup>1</sup>.
|
| 108 |
+
|
| 109 |
+
Task Prioritization: Our preliminary experiments revealed that LLM-based agents, particularly those using open-source models, struggle to maintain focus in multi-task scenarios, frequently switching tasks without completing them (See Sec. 4.3). To address this, we proposed a task prioritization module that encourages agents to concentrate on ongoing tasks. The module monitors the objects an agent holds and their relevance to the current task, reminding the agent of incomplete objects. For example, as shown in Figure 1, when agent Ryan is working on preparing coffee and is carrying an empty cup_6, the module highlights its incomplete status, such as the absence of coffee or its incorrect placement. When no active task is detected, the module reminds the agent about all unfinished tasks, guiding the agent to select an objective aligned with its role and skills. This approach promotes concentration on ongoing tasks and minimizes inefficient task switching. Note that the module does not introduce extra information but selectively reiterates relevant parts of the agent's memory, such as task progress, to reinforce task awareness.
|
| 110 |
+
|
| 111 |
+
Modeling Agent Heterogeneity INDOOR-WORLD addresses the limited diversity found in existing multi-agent benchmarks (Table 1 and 5) by assigning every agent a multi-level profile. Each profile combines a role that determines the agent's unique action space (e.g. only IT administrators can repair devices) with additional attributes such as personality, strength, skill, and knowledge. This layered design (illustrated in Fig. 1c) supports emergent division of labour and coordinated behaviors while greatly increasing realism.
|
| 112 |
+
|
| 113 |
+
We model agent heterogeneity at four levels: (i) profile level, capturing differences in personas and role configurations; (ii) action space, where roles have distinct actions; (e.g., only IT admin can repair devices); (iii) capability, meaning agents may perform the same action with different efficiency or outcomes, such as janitors cleaning more quickly or strong agents being able to move heavy
|
| 114 |
+
|
| 115 |
+
objects; and (iv) knowledge, whereby agents hold different internal information (e.g., only receptionists know how to book a meeting room).
|
| 116 |
+
|
| 117 |
+
To validate this design, 20 practicing architects rated whether heterogeneity at each level increases realism and whether it is important for understanding real space use (details in Appendix B). The consistently high realism scores $(55 - 70\%)$ and substantial importance ratings $(55 - 95\%)$ demonstrate that multi-level heterogeneity is both credible and valuable for architectural analysis, thereby supporting the soundness of our design choices.
|
| 118 |
+
|
| 119 |
+
Modeling Human Needs In INDOORWORLD, agents are associated with physiological and social needs, such as hunger, thirst, and social interaction, that resemble actual building occupants (Figure 1). They are tracked with numerical state values that gradually decline over time, prompting agents to perform restorative actions like eating, drinking, socializing, or using the restroom. This explicit modeling fosters more natural and realistic behaviors as agents balance personal upkeep with assigned tasks.
|
| 120 |
+
|
| 121 |
+
# 4 Experiments
|
| 122 |
+
|
| 123 |
+
# 4.1 A Collaborative Task Solving Benchmark
|
| 124 |
+
|
| 125 |
+
To demonstrate how INDOORWORLD supports task solving with social interactions, we design a benchmark for collaborative task solving in an office setting. The benchmark consists of an overarching task: preparing for a company event, composed of five major subtasks, each involving common office activities such as transporting items, cleaning utensils, repairing equipment, booking meeting spaces, and preparing food and beverages. These subtasks can be broken down into smaller steps that require coordination among agents. Unlike many existing environments where agents execute a single task in isolation (Shridhar et al., 2021), in our setting, all agents simultaneously receive the complete task structure, but must autonomously determine how to divide responsibilities, prioritize actions, and coordinate efforts in a decentralized manner. This introduces additional challenges related to task prioritization, division of labor, communication, and coordination strategies. Each scenario runs for one hour of simulation time, during which agents must collaboratively complete as much of the task as possible. The scenarios feature 9 locations, 67 objects across 16 types (including 15 receptacles of 7
|
| 126 |
+
|
| 127 |
+
types), and 6 agents: four janitors, one IT administrator, and one receptionist. Details of each subtask and its decomposition can be found in Appendix A.
|
| 128 |
+
|
| 129 |
+
# 4.2 Social Simulation Experiments
|
| 130 |
+
|
| 131 |
+
Like Smallville (Park et al., 2023), our environment supports autonomous social simulation where agents generate their own objectives based on physiological/social needs, personality, and roles, driving interactions with both the environment and other agents.
|
| 132 |
+
|
| 133 |
+
As INDOORWORLD simulates both social and physical interactions, one potential real-world application is to evaluate how well a physical environment can facilitate the activities of its occupants. We demonstrate this application with two experiments, focusing on resource management and spatial layout design, respectively.
|
| 134 |
+
|
| 135 |
+
Resource Management experiment showcases how we can use INDOORWORLD to evaluate resource allocation in an environment. The scenario involves agents residing in a space with limited resource. We examine how agents compete for and utilize resources under different conditions.
|
| 136 |
+
|
| 137 |
+
We ran 3 sets of simulations, with 2, 4, and 8 thirsty agents. Each set consists of three settings involving agents all preferring water, all preferring coffee, and no preference, and for each setting we ran simulation with different availability of beverages (one water dispenser/coffee machine vs. two water dispensers/coffee machines).
|
| 138 |
+
|
| 139 |
+
At the beginning of the simulation, agents experience thirst and autonomously decide whether to drink water or coffee based on their physiological needs and personal preferences. We analyze their resource selection behavior and measure the time required for all agents to fulfill their hydration needs ${}^{2}$ . This allows us to assess how different resource configurations influence competition and overall efficiency in meeting agent needs.
|
| 140 |
+
|
| 141 |
+
Spatial Layout experiment showcases how we can use INDOORWORLD to evaluate building layout designs. We ran simulations in two scenarios involving two office layout designs (see Figure 2), each lasting for an 8-hour simulation period. Both Design 1 and Design 2 contain the same 11 functional areas to host five agents: one IT administrator, one janitor, two software engineers, and one receptionist. Each agent has a designated workspace,
|
| 142 |
+
|
| 143 |
+
such as the front desk for the receptionist and the IT office for the IT administrator.
|
| 144 |
+
|
| 145 |
+
Figure 2: Spatial layout of design 1 and design 2
|
| 146 |
+

|
| 147 |
+
Design 1
|
| 148 |
+
1. Showcase area
|
| 149 |
+
2. Open area 2
|
| 150 |
+
3. IT office
|
| 151 |
+
4. Desk area 1
|
| 152 |
+
5. Open area 1
|
| 153 |
+
6. Desk area 2
|
| 154 |
+
7. Pantry
|
| 155 |
+
Design 2
|
| 156 |
+
1. Desk area 2
|
| 157 |
+
2. Pantry
|
| 158 |
+
3. Open area 1
|
| 159 |
+
4. IT office
|
| 160 |
+
5. Desk area 1
|
| 161 |
+
6. Showcase area
|
| 162 |
+
7. Open area 2
|
| 163 |
+
|
| 164 |
+
Furthermore, the pantry contains a coffee machine, a water dispenser, food, drinks, cups, and utensils, but with limited resources. The cafeteria, in contrast, is assumed to have no resource constraints, allowing agents to replenish food, drinks, and energy freely. However, activities in the cafeteria takes more time compared to the pantry. Additionally, the environment includes male and female restrooms.
|
| 165 |
+
|
| 166 |
+
In both Design 1 and Design 2, all areas share the same configurations, including resource availability and the activities they support. The only difference between the two designs lies in the relative positioning of these areas.
|
| 167 |
+
|
| 168 |
+
Since this experiment does not involve specific task execution, the task prioritization and task progress modules have been removed.
|
| 169 |
+
|
| 170 |
+
# 4.3 Results and Analysis
|
| 171 |
+
|
| 172 |
+
In the collaborative task solving experiment, we evaluated three different LLMs, including the open-source Llama 3.3 70B Instruct, Gemma 3 27B and the proprietary GPT-4o-08-06. For the social simulation experiments, the resource management experiment used GPT-4o-08-06, while the spatial layout experiment used GPT-4o-mini-0718. The temperature for all experiments was set to 0.6.
|
| 173 |
+
|
| 174 |
+
Collaborative Task Solving Quantitative results are shown in Table 2. We report instance-level (IS) task completion rate (percentages of objects that are at the desired state) and attribute-level (AS) task
|
| 175 |
+
|
| 176 |
+
Table 2: Results of collaborative task solving with mean and standard deviation (reported as superscript in small font). T1-T5 represent the five designed tasks. Reported values are IS (Instance-level Success) rate / AS (Attribute-level Success) rate. FM = Full Model, RA = Random Agents.
|
| 177 |
+
|
| 178 |
+
<table><tr><td></td><td>T1
|
| 179 |
+
(IS/AS)</td><td>T2
|
| 180 |
+
(IS/AS)</td><td>T3
|
| 181 |
+
(IS/AS)</td><td>T4
|
| 182 |
+
(IS/AS)</td><td>T5
|
| 183 |
+
(IS/AS)</td><td>AVG
|
| 184 |
+
(IS/AS)</td></tr><tr><td>RA</td><td>8.3±14.4 / 38.9±9.6</td><td>0.0±0.0 / 30.6±2.8</td><td>0.0±0.0 / 30.0±17.3</td><td>0.0±0.0 / 0.0±0.0</td><td>0.0±0.0 / 11.1±1.9</td><td>1.2±2.0 / 23.1±3.0</td></tr><tr><td colspan="7">Llama 3.3 70B Instruct</td></tr><tr><td>FM (w/o S&T+TP)</td><td>83.3±28.9 / 88.9±19.2</td><td>38.9±21.0 / 61.1±12.7</td><td>0.0±0.0 / 53.3±11.5</td><td>100.0±0.0 / 100.0±0.0</td><td>0.0±0.0 / 27.8±5.1</td><td>31.0±9.1 / 51.8±4.7</td></tr><tr><td>FM (w/o TP)</td><td>91.7±14.4 / 94.4±9.6</td><td>36.1±31.5 / 59.3±22.6</td><td>0.0±0.0 / 53.3±11.5</td><td>100.0±0.0 / 100.0±0.0</td><td>0.0±0.0 / 41.1±9.6</td><td>31.0±11.9 / 56.1±11.9</td></tr><tr><td>FM</td><td>100.0±0.0 / 100.0±0.0</td><td>58.3±0.0 / 72.2±0.0</td><td>33.3±57.7 / 73.3±23.1</td><td>100.0±0.0 / 100.0±0.0</td><td>33.3±7.2 / 51.1±11.7</td><td>55.2±9.1 / 67.8±4.8</td></tr><tr><td colspan="7">Gemma 3 27B</td></tr><tr><td>FM (w/o S&T+TP)</td><td>75.0±25.0 / 83.3±16.7</td><td>11.1±4.8 / 45.4±3.2</td><td>33.3±57.7 / 73.3±23.1</td><td>100.0±0.0 / 100.0±0.0</td><td>12.5±21.7 / 40.0±29.1</td><td>26.4±10.5 / 51.4±9.0</td></tr><tr><td>FM (w/o TP)</td><td>50.0±25.0 / 66.7±16.7</td><td>50.0±50.0 / 70.4±28.0</td><td>0.0±0.0 / 60.0±0.0</td><td>33.3±57.7 / 33.3±57.7</td><td>0.0±0.0 / 30.0±12.0</td><td>28.7±24.2 / 53.3±17.1</td></tr><tr><td>FM</td><td>83.3±14.4 / 88.9±9.6</td><td>72.2±12.7 / 81.5±8.5</td><td>25.0±43.3 / 70.0±17.3</td><td>66.7±57.7 / 66.7±57.7</td><td>45.8±38.2 / 65.6±26.9</td><td>59.8±12.1 / 74.5±10.7</td></tr><tr><td colspan="7">GPT-4o</td></tr><tr><td>FM (w/o S&T+TP)</td><td>75.0±25.0 / 83.3±16.7</td><td>52.8±50.2 / 77.8±21.0</td><td>0.0±0.0 / 50.0±17.3</td><td>66.7±57.7 / 66.7±57.7</td><td>33.3±28.9 / 58.9±19.5</td><td>43.7±29.3 / 67.8±14.2</td></tr><tr><td>FM (w/o TP)</td><td>91.7±14.4 / 94.4±9.6</td><td>77.8±19.2 / 85.2±12.8</td><td>66.7±57.7 / 86.7±23.1</td><td>100.0±0.0 / 100.0±0.0</td><td>62.5±21.7 / 76.7±14.5</td><td>74.7±5.3 / 83.5±6.2</td></tr><tr><td>FM</td><td>100.0±0.0 / 100.0±0.0</td><td>61.1±4.8 / 74.1±3.2</td><td>100.0±0.0 / 100.0±0.0</td><td>100.0±0.0 / 100.0±0.0</td><td>83.3±14.4 / 87.8±10.7</td><td>79.3±3.5 / 84.7±3.5</td></tr></table>
|
| 185 |
+
|
| 186 |
+
Table 3: Facility Resource Stress Testing. The second row (1/1, 2/2) indicates the number of water dispensers and coffee machines. The left column (2, 4, 8) represents the number of agents. Each cell $(\mathrm{X} / \mathrm{Y} / \mathrm{Z})$ shows the number of agents who drank water (X) and coffee (Y), and the total time (Z) for all agents to hydrate.
|
| 187 |
+
|
| 188 |
+
<table><tr><td></td><td colspan="2">All Like Water</td><td colspan="2">All Like Coffee</td><td colspan="2">No Preference</td></tr><tr><td></td><td>1/1</td><td>2/2</td><td>1/1</td><td>2/2</td><td>1/1</td><td>2/2</td></tr><tr><td>2</td><td>2/0/4</td><td>2/0/3</td><td>0/2/4</td><td>0/2/3</td><td>2/0/4</td><td>2/0/3</td></tr><tr><td>4</td><td>4/0/6</td><td>4/0/4</td><td>0/4/6</td><td>1/3/4</td><td>4/0/6</td><td>4/0/5</td></tr><tr><td>8</td><td>8/0/10</td><td>8/0/7</td><td>0/8/10</td><td>0/8/7</td><td>8/0/12</td><td>8/0/7</td></tr></table>
|
| 189 |
+
|
| 190 |
+
completion rate (percentages of object state variables that are at the desired value). Removing task prioritization (TP) led to performance degradation across all models, with the most significant drop observed in Llama 3.3 and Gemma 3. This suggests that these models struggle with maintaining focus in multi-task scenarios and benefit substantially from explicit prioritization to reduce inefficient task switching. Further removing the semantic map and task progress tracking (S&T) led to additional performance degradation. GPT-4o exhibited a substantial drop in performance, indicating that it can effectively leverage the additional structured information for task planning and execution. In contrast, the removal of S&T had a more limited impact on Llama 3.3 and Gemma 3, likely due to their weaker information utilization capabilities. These models may struggle to extract key insights from the complex semantic map and task progress data, making it difficult for them to identify and prioritize the most relevant information. This observation suggests that while structured task representations are beneficial, their effectiveness is contingent on the model's ability to process and utilize the provided
|
| 191 |
+
|
| 192 |
+
information efficiently. In addition, our results report standard deviations across three independent runs, which consistently show that the Full Model not only achieves the highest mean performance but also exhibits lower variability. This reduced variance further highlights the robustness of our complete framework with both S&T and TP components.
|
| 193 |
+
|
| 194 |
+
In the experiments, we observe various collaborative behaviors among the agents. The collaboration and labor division reflects individual differences across agents. For example, Irene (IT Admin) asked Jenny (Janitor) for help moving a podium beyond her strength. (Figure 1 (b)). Collaboration does not only involve physical interaction, but also information sharing via communication. In a different session, Jeff is trying to reserve a meeting room, for which a password is needed. Initially, only the receptionists have knowledge about the password. Jeff first attempted a random password (hallucinated by LLMs). After failing, he asked the receptionist Ryan for the password, and successfully booked the meeting room (Figure 1 (b)).
|
| 195 |
+
|
| 196 |
+
We observe that without task prioritization module, agents tend to switch back and forth between different tasks. For example, Jake is in the kitchen with an uncleaned fork_3 in his inventory. As a janitor, Jake should clean them as part of Task 2. However, he suddenly remembers that chair_4 needs to be moved to the open area 1 for Task 1, so he dropped fork_3 to pick up chair_4. But afterwards he recalls the former task again and picks fork_3 again. The behavior repeated and resulted in Jake not achieving any goals.
|
| 197 |
+
|
| 198 |
+
Admittedly, even for models with a high completion rate, tasks may not always be completed in
|
| 199 |
+
|
| 200 |
+
the most efficient way. For example, a receptionist may choose to clean the dishes themselves instead of asking for help from the janitor, who can clean dishes much faster. Lack of global coordination also sometimes leads to duplicated task completion by agents in different locations. For instance, Irene was unaware that her colleagues had already prepared enough tea in the open area 1, so she continued preparing tea in the kitchen and attempted to carry it over. Optimizing collective task completion efficiency remains a challenge.
|
| 201 |
+
|
| 202 |
+

|
| 203 |
+
Figure 3: Agent Presence Across Locations.
|
| 204 |
+
|
| 205 |
+

|
| 206 |
+
Figure 4: Activity Time Distribution.
|
| 207 |
+
|
| 208 |
+

|
| 209 |
+
Figure 5: Agent Well-being Metrics.
|
| 210 |
+
|
| 211 |
+
Resource Management Results are shown in Table 3. We observed that increasing the number of agents led to longer hydration times due to increased competition and queuing for resources. However, when the number of available water dispensers and coffee machines was increased, agents were able to hydrate more quickly, demonstrating that more resources can alleviate competition and improve efficiency.
|
| 212 |
+
|
| 213 |
+
We also found that agent preferences significantly influenced their resource selection. When all agents preferred water, they consistently chose the water dispenser, even when a coffee machine was available. Similarly, when all agents preferred coffee, they almost exclusively used the coffee machine, ignoring the water dispenser. In the no-preference scenario, all agents opted for the water dispenser. This may suggest that in the absence of
|
| 214 |
+
|
| 215 |
+

|
| 216 |
+
Figure 6: Suboptimal State Distribution.
|
| 217 |
+
|
| 218 |
+
a strong preference, LLM-based agents default to an prior knowledge that biased towards water as the primary hydration method. This may also explain why, even when all agents preferred coffee, a small number of them still chose the water dispenser.
|
| 219 |
+
|
| 220 |
+
As can be seen, simulation in INDOORWORLD can effectively reflect the impact of different resource allocation strategies, making it potentially a useful tool to aid real-world decision making on resource allocation.
|
| 221 |
+
|
| 222 |
+
Spatial Layout Results illustrates the impact of different spatial layouts on agent behavior, focusing on location usage, activity time allocation, and overall well-being. The results indicate that spatial design significantly influences resource accessibility, social interactions, and agent efficiency and well-being.
|
| 223 |
+
|
| 224 |
+
As shown in Figure 3, Design 1 maintained a more balanced distribution of agents across locations, while Design 2 saw a higher concentration in resource-rich areas, such as the pantry, leading to reduced workspace utilization, particularly for Desk Area 2, which is positioned in the farthest corner. This suggests that inefficient resource distribution may cause agents to move away from their designated workspaces, opting instead to work or engage in activities elsewhere.
|
| 225 |
+
|
| 226 |
+
Figure 4 illustrates that agents in Design 2 spent more time moving and less time on role-related work due to longer distances from their workspace to resource-rich areas. Social interaction time was also higher, while time spent addressing physiological needs was lower. According to the simulation log, in Design 2, agents spent a significant portion of their time in the pantry engaging in conversations. As a result, despite their prolonged stay in the pantry, the time spent on physiological needs-related activities remained relatively low.
|
| 227 |
+
|
| 228 |
+
Figure 5 and Figure 6 further show that agents in Design 2 spent less time in an optimal state and more time experiencing unmet needs, particularly hunger and fatigue. This can be attributed to the limited resources available in the pantry, such as only two pieces of bread, two apples and a few clean cups, which were quickly consumed.
|
| 229 |
+
|
| 230 |
+
Implications for Architectural Design To evaluate how INDOORWORLD can support professional practice, we surveyed 9 architects and summarized their feedback in Table 6. The results indicate that our features (human need modelling, resource management, and spatial layout experiments) align closely with the considerations architects make during design, and the spatial layout experiments were rated as especially helpful for understanding occupant behavior. Results of the survey and discussions are provided in Appendix C.
|
| 231 |
+
|
| 232 |
+
# 5 Conclusion
|
| 233 |
+
|
| 234 |
+
This study introduces INDOORWORLD, a multiagent simulation environment that integrates fine-grained heterogeneous agent modeling with physical interactions. INDOORWORLD enables agents with varied abilities to coordinate roles, satisfy physiological needs, and interact with a rich array of objects within realistic settings.
|
| 235 |
+
|
| 236 |
+
We evaluate three LLMs in collaborative task solving using a benchmark of common office tasks that involve both social and physical interactions, highlighting the effectiveness of task prioritization. Our simulation experiments on resource management and spatial layouts demonstrate the potential real-world applications of INDOORWORLD in architectural design.
|
| 237 |
+
|
| 238 |
+
# Limitations
|
| 239 |
+
|
| 240 |
+
Impact of Experimental Variability on Conclusions Due to the inherent randomness of LLMs, LLM-based agents may make different decisions even when facing identical scenarios. Furthermore, since our environment involves multiple agents making sequential decisions across multiple rounds, and their choices influence one another, the results may vary even when using the same experimental settings and LLM model. In our experiments, we observed that fluctuations in results were often associated with the following phenomena: (a) Agents engaging in prolonged conversations without progressing on task completion. (b) Agents performing incorrect actions after making substantial progress, leading to task failure. For instance, in one run of the GPT-4o Full model without S&T and TP (see Table 2), an agent unexpectedly moved a table, already placed in the open area 1, back to the kitchen. As a result, both the table and the clean utensils on it were relocated to an incorrect position, significantly lowering the overall task success
|
| 241 |
+
|
| 242 |
+
rate.
|
| 243 |
+
|
| 244 |
+
To mitigate the impact of experimental variability on the reliability of conclusions, we conducted three independent runs for each task-solving experiment. Additionally, we commit to publicly releasing our code after acceptance to enable further reproducibility and facilitate research on LLM-based agents' behavior, reasoning capabilities, and collaborative problem-solving.
|
| 245 |
+
|
| 246 |
+
Scalability, Customization, and Future Improvements Although we have designed our environment to be easily scalable and customizable, the attributes of objects and the interaction mechanisms between objects and agents currently rely on user-defined configurations. This customization process is subject to user preferences and research objectives. In the future, we plan to follow the approach outlined in (Srivastava et al., 2021) by leveraging WordNet (Miller) to automatically generate object attributes and interaction methods. This will enable the rapid expansion of the environment's object library while allowing users to further tailor interactions through direct modifications in the Python code.
|
| 247 |
+
|
| 248 |
+
Our current environment adopts a text-based game engine where all physical and visual interactions are abstracted. Moving forward, we aim to extend our framework to support 3D assets and physical simulation engines, enhancing the realism of agent-environment interactions. This expansion will allow researchers to flexibly utilize our environment in both abstract and more concrete settings, depending on their experimental needs.
|
| 249 |
+
|
| 250 |
+
Current State of LLM-based Agents The practical utility of INDOORWORLD is currently constrained by the capabilities and costs of large language models. In our survey, architects acknowledged that they could obtain valuable insights from the interactions of LLM agents with the environment in INDOORWORLD, but these agents still fall short in approximating real human behavior. In addition, their deployment remains relatively expensive for large-scale, long-duration studies. Nevertheless, we are optimistic that as LLMs continue to improve, their behavioral outputs will become increasingly human-like, and that reductions in model costs will further enhance their usability, thereby strengthening the realism and applicability of our proposed framework.
|
| 251 |
+
|
| 252 |
+
Testing of Reasoning Models Due to time and computational constraints, we did not test reasoning models such as GPT-O1 or Deepseek R1 (DeepSeek-AI et al., 2025) in our experiments. Consequently, some unsolved cases in our study may be successfully addressed by more advanced reasoning models, potentially leading to agent behaviors that better resemble human decision-making.
|
| 253 |
+
|
| 254 |
+
# Acknowledgements
|
| 255 |
+
|
| 256 |
+
This work was initially developed during Dekun Wu's internship at Autodesk Research. We thank Autodesk Research for their support and resources. This academic work is also supported in part by the Canada CIFAR AI Chair Program and the Natural Sciences and Engineering Research Council of Canada (NSERC) Discovery Grant (RGPIN-2021-03115). We also acknowledge the use of GitHub Copilot Enterprise for low-novelty tasks such as code auto-completion and suggesting Python class definitions, which helped accelerate the coding process.
|
| 257 |
+
|
| 258 |
+
# References
|
| 259 |
+
|
| 260 |
+
Hongru Cai, Yongqi Li, Wenjie Wang, Fengbin Zhu, Xiaoyu Shen, Wenjie Li, and Tat-Seng Chua. 2024. Large language models empowered personalized web agents. Preprint, arXiv:2410.17236.
|
| 261 |
+
Hyungjoo Chae, Namyoung Kim, Kai Tzu iunn Ong, Minju Gwak, Gwanwoo Song, Jihoon Kim, Sunghwan Kim, Dongha Lee, and Jinyoung Yeo. 2024. Web agents with world models: Learning and leveraging environment dynamics in web navigation. Preprint, arXiv:2410.13232.
|
| 262 |
+
Marc-Alexandre Côté, Ákos Kádár, Xingdi Yuan, Ben Kybartas, Tavian Barnes, Emery Fine, James Moore, Matthew Hausknecht, Layla El Asri, Mahmoud Adada, Wendy Tay, and Adam Trischler. 2018. Textworld: A learning environment for text-based games. In Computer Games Workshop at ICML/II-CAI 2018, pages 1-29.
|
| 263 |
+
DeepSeek-AI, Daya Guo, Dejian Yang, Haowei Zhang, Junxiao Song, Ruoyu Zhang, Runxin Xu, Qihao Zhu, Shirong Ma, Peiyi Wang, Xiao Bi, Xiaokang Zhang, Xingkai Yu, Yu Wu, Z. F. Wu, Zhibin Gou, Zhihong Shao, Zhuoshu Li, Ziyi Gao, Aixin Liu, Bing Xue, Bingxuan Wang, Bochao Wu, Bei Feng, Chengda Lu, Chenggang Zhao, Chengqi Deng, Chenyu Zhang, Chong Ruan, Damai Dai, Deli Chen, Dongjie Ji, Erhang Li, Fangyun Lin, Fucong Dai, Fuli Luo, Guangbo Hao, Guanting Chen, Guowei Li, H. Zhang, Han Bao, Hanwei Xu, Haocheng Wang, Honghui Ding, Huajian Xin, Huazuo Gao, Hui Qu, Hui Li,
|
| 264 |
+
|
| 265 |
+
Jianzhong Guo, Jiashi Li, Jiawei Wang, Jingchang Chen, Jingyang Yuan, Junjie Qiu, Junlong Li, J. L. Cai, Jiaqi Ni, Jian Liang, Jin Chen, Kai Dong, Kai Hu, Kaige Gao, Kang Guan, Kexin Huang, Kuai Yu, Lean Wang, Lecong Zhang, Liang Zhao, Litong Wang, Liyue Zhang, Lei Xu, Leyi Xia, Mingchuan Zhang, Minghua Zhang, Minghui Tang, Meng Li, Miaojun Wang, Mingming Li, Ning Tian, Panpan Huang, Peng Zhang, Qiancheng Wang, Qinyu Chen, Qiushi Du, Ruiqi Ge, Ruisong Zhang, Ruizhe Pan, Runji Wang, R. J. Chen, R. L. Jin, Ruyi Chen, Shanghao Lu, Shangyan Zhou, Shanhuang Chen, Shengfeng Ye, Shiyu Wang, Shuiping Yu, Shunfeng Zhou, Shuting Pan, S. S. Li, Shuang Zhou, Shaoqing Wu, Shengfeng Ye, Tao Yun, Tian Pei, Tianyu Sun, T. Wang, Wangding Zeng, Wanjia Zhao, Wen Liu, Wenfeng Liang, Wenjun Gao, Wenqin Yu, Wentao Zhang, W. L. Xiao, Wei An, Xiaodong Liu, Xiaohan Wang, Xiaokang Chen, Xiaotao Nie, Xin Cheng, Xin Liu, Xin Xie, Xingchao Liu, Xinyu Yang, Xinyuan Li, Xuecheng Su, Xuheng Lin, X. Q. Li, Xiangyue Jin, Xiaojin Shen, Xiaosha Chen, Xiaowen Sun, Xiaoxiang Wang, Xinnan Song, Xinyi Zhou, Xianzu Wang, Xinxia Shan, Y. K. Li, Y. Q. Wang, Y. X. Wei, Yang Zhang, Yanhong Xu, Yao Li, Yao Zhao, Yaofeng Sun, Yaohui Wang, Yi Yu, Yichao Zhang, Yifan Shi, Yiliang Xiong, Ying He, Yishi Piao, Yisong Wang, Yixuan Tan, Yiyang Ma, Yiyuan Liu, Yongqiang Guo, Yuan Ou, Yuduan Wang, Yue Gong, Yuheng Zou, Yujia He, Yunfan Xiong, Yuxiang Luo, Yuxiang You, Yuxuan Liu, Yuyang Zhou, Y. X. Zhu, Yanhong Xu, Yanping Huang, Yaohui Li, Yi Zheng, Yuchen Zhu, Yunxian Ma, Ying Tang, Yukun Zha, Yuting Yan Z. Z. Ren, Zehui Ren, Zhangli Sha, Zhe Fu, Zhean Xu Zhenda Xie Zhengyan Zhang Zhewen Hao Zhicheng Ma Zhigang Yan Zhiyu Wu Zihui Gu Zijia Zhu Zijun Liu Zilin Li Ziwei Xie Ziyang Song Zizheng Pan Zhen Huang Zhipeng Xu Zhongyu Zhang and Zhen Zhang. 2025. Deepseek-r1: Incentivizing reasoning capability in llms via reinforcement learning. Preprint arXiv:2501.12948.
|
| 266 |
+
Xiaohang Feng, Da Yan, and Tianzhen Hong. 2015. Simulation of occupancy in buildings. Energy and Buildings, 87:348-359.
|
| 267 |
+
Chuang Gan, Jeremy Schwartz, Seth Alter, Damian Mrowca, Martin Schrimpf, James Traer, Julian De Freitas, Jonas Kubilius, Abhishek Bhandwaldar, Nick Haber, Megumi Sano, Kuno Kim, Elias Wang, Michael Lingelbach, Aidan Curtis, Kevin Feigelis, Daniel M. Bear, Dan Gutfreund, David Cox, Antonio Torralba, James J. DiCarlo, Joshua B. Tenenbaum, Josh H. McDermott, and Daniel L. K. Yamins. 2021. Threadworld: A platform for interactive multi-modal physical simulation. Preprint, arXiv:2007.04954.
|
| 268 |
+
Zhenyu Guan, Xiangyu Kong, Fangwei Zhong, and Yizhou Wang. 2025. Richelieu: Self-evolving llmbased agents for ai diplomacy. Advances in Neural Information Processing Systems, 37:123471-123497.
|
| 269 |
+
Sirui Hong, Mingchen Zhuge, Jonathan Chen, Xiawu Zheng, Yuheng Cheng, Jinlin Wang, Ceyao Zhang, Zili Wang, Steven Ka Shing Yau, Zijuan Lin, Liyang
|
| 270 |
+
|
| 271 |
+
Zhou, Chenyu Ran, Lingfeng Xiao, Chenglin Wu, and Jürgen Schmidhuber. 2024. MetaGPT: Meta programming for a multi-agent collaborative framework. In The Twelfth International Conference on Learning Representations.
|
| 272 |
+
Dong Huang, Jie M. Zhang, Michael Luck, Qingwen Bu, Yuhao Qing, and Heming Cui. 2024. Agentcoder: Multi-agent-based code generation with iterative testing and optimisation. Preprint, arXiv:2312.13010.
|
| 273 |
+
Yizhe Huang, Xingbo Wang, Hao Liu, Fanqi Kong, Aoyang Qin, Min Tang, Song-Chun Zhu, Mingjie Bi, Siyuan Qi, and Xue Feng. 2025. Adasociety: An adaptive environment with social structures for multiagent decision-making. Preprint, arXiv:2411.03865.
|
| 274 |
+
Tejas D Kulkarni, William F. Whitney, Pushmeet Kohli, and Josh Tenenbaum. 2015. Deep convolutional inverse graphics network. In Advances in Neural Information Processing Systems, volume 28. Curran Associates, Inc.
|
| 275 |
+
Bokyung Lee, Michael Lee, Jeremy Mogk, Rhys Goldstein, Jacobo Bibliowicz, Frederik Brudy, and Alexander Tessier. 2021. Designing a multi-agent occupant simulation system to support facility planning and analysis for covid-19. In Proceedings of the 2021 ACM Designing Interactive Systems Conference.
|
| 276 |
+
Sicong Leng, Yang Zhou, Mohammed Haroon Dupty, Wee Sun Lee, Sam Joyce, and Wei Lu. 2023. Tell2Design: A dataset for language-guided floor plan generation. In Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers).
|
| 277 |
+
Chengyuan Li, Tianyu Zhang, Xusheng Du, Ye Zhang, and Haoran Xie. 2025. Generative ai models for different steps in architectural design: A literature review. Frontiers of Architectural Research.
|
| 278 |
+
Nian Li, Chen Gao, Mingyu Li, Yong Li, and Qing-min Liao. 2024. Econagent: large language model-empowered agents for simulating macroeconomic activities. In Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 15523–15536.
|
| 279 |
+
Yuanyuan Liu, Ying Zhou, Le Yang, and Yangpeng Xin. 2024. Simulating staff activities in healthcare environments: An empirical multi-agent modeling approach. Journal of Building Engineering.
|
| 280 |
+
Pattie Maes. 1995. Artificial life meets entertainment: lifelike autonomous agents. Communications of the ACM, 38(11):108-114.
|
| 281 |
+
George A. Miller. Wordnet: a lexical database for english. Commun. ACM.
|
| 282 |
+
Dang Nguyen, Jian Chen, Yu Wang, Gang Wu, Namyong Park, Zhengmian Hu, Hanjia Lyu, Junda Wu, Ryan Aponte, Yu Xia, Xintong Li, Jing Shi, Hongjie Chen, Viet Dao Lai, Zhouhang Xie, Sungchul Kim, Ruiyi Zhang, Tong Yu, Mehrab Tanjin, Nesreen K.
|
| 283 |
+
|
| 284 |
+
Ahmed, Puneet Mathur, Seunghyun Yoon, Lina Yao, Branislav Kveton, Thien Huu Nguyen, Trung Bui, Tianyi Zhou, Ryan A. Rossi, and Franck Dernoncourt. 2024. Gui agents: A survey. Preprint, arXiv:2412.13501.
|
| 285 |
+
Joon Sung Park, Joseph C. O'Brien, Carrie J. Cai, Meredith Ringel Morris, Percy Liang, and Michael S. Bernstein. 2023. Generative agents: Interactive simulacra of human behavior. In In the 36th Annual ACM Symposium on User Interface Software and Technology (UIST '23), UIST '23, New York, NY, USA. Association for Computing Machinery.
|
| 286 |
+
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.
|
| 287 |
+
Chen Qian, Wei Liu, Hongzhang Liu, Nuo Chen, Yufan Dang, Jiahao Li, Cheng Yang, Weize Chen, Yusheng Su, Xin Cong, Juyuan Xu, Dahai Li, Zhiyuan Liu, and Maosong Sun. 2023. Chatdev: Communicative agents for software development. arXiv preprint arXiv:2307.07924.
|
| 288 |
+
Alexander Raistrick, Lingjie Mei, Karhan Kayan, David Yan, Yiming Zuo, Beining Han, Hongyu Wen, Meenal Parakh, Stamatis Alexandropoulos, Lahav Lipson, Zeyu Ma, and Jia Deng. 2024. Infinigen indoors: Photorealistic indoor scenes using procedural generation. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 21783-21794.
|
| 289 |
+
Davide Schaumann, Simon Breslav, Rhys Goldstein, Azam Khan, and Yehuda E Kalay. 2017. Simulating use scenarios in hospitals using multi-agent narratives. Journal of Building Performance Simulation, 10(5-6):636-652.
|
| 290 |
+
Noah Shinn, Federico Cassano, Ashwin Gopinath, Karthik Narasimhan, and Shunyu Yao. 2024. Reflexion: Language agents with verbal reinforcement learning. Advances in Neural Information Processing Systems, 36.
|
| 291 |
+
Mohit Shridhar, Jesse Thomason, Daniel Gordon, Yonatan Bisk, Winson Han, Roozbeh Mottaghi, Luke Zettlemoyer, and Dieter Fox. 2020a. ALFRED: A Benchmark for Interpreting Grounded Instructions for Everyday Tasks. In The IEEE Conference on Computer Vision and Pattern Recognition (CVPR).
|
| 292 |
+
Mohit Shridhar, Xingdi Yuan, Marc-Alexandre Côté, Yonatan Bisk, Adam Trischler, and Matthew Hausknecht. 2020b. Alfworld: Aligning text and embodied environments for interactive learning. arXiv preprint arXiv:2010.03768.
|
| 293 |
+
Mohit Shridhar, Xingdi Yuan, Marc-Alexandre Côté, Yonatan Bisk, Adam Trischler, and Matthew Hausknecht. 2021. ALFWorld: Aligning Text and Embodied Environments for Interactive Learning.
|
| 294 |
+
|
| 295 |
+
In Proceedings of the International Conference on Learning Representations (ICLR).
|
| 296 |
+
Sanjana Srivastava, Chengshu Li, Michael Lingelbach, Roberto Martin-Martin, Fei Xia, Kent Vainio, Zheng Lian, Cem Gokmen, Shyamal Buch, C. Karen Liu, Silvio Savarese, Hyowon Gweon, Jiajun Wu, and Li Fei-Fei. 2021. Behavior: Benchmark for everyday household activities in virtual, interactive, and ecological environments. Preprint, arXiv:2108.03332.
|
| 297 |
+
Xiangru Tang, Anni Zou, Zhuosheng Zhang, Ziming Li, Yilun Zhao, Xingyao Zhang, Arman Cohan, and Mark Gerstein. 2024. MedAgents: Large language models as collaborators for zero-shot medical reasoning. In *Findings of the Association for Computational Linguistics: ACL* 2024, pages 599-621, Bangkok, Thailand.
|
| 298 |
+
Lei Wang, Chen Ma, Xueyang Feng, Zeyu Zhang, Hao Yang, Jingsen Zhang, Zhiyuan Chen, Jiakai Tang, Xu Chen, Yankai Lin, Wayne Xin Zhao, Zhewei Wei, and Ji-Rong Wen. A Survey on Large Language Model based Autonomous Agents. Preprint, arXiv:2308.11432.
|
| 299 |
+
Xiaoqiang Wang and Bang Liu. 2024. Oscar: Operating system control via state-aware reasoning and re-planning. arXiv preprint arXiv:2410.18963.
|
| 300 |
+
Yiding Wang, Yuxuan Chen, Fangwei Zhong, Long Ma, and Yizhou Wang. 2024. Simulating human-like daily activities with desire-driven autonomy. arXiv preprint arXiv:2412.06435.
|
| 301 |
+
Zhilin Wang, Yu Ying Chiu, and Yu Cheung Chiu. 2023. Humanoid agents: Platform for simulating human-like generative agents. In Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing: System Demonstrations, pages 167-176, Singapore. Association for Computational Linguistics.
|
| 302 |
+
Dekun Wu, Haochen Shi, Zhiyuan Sun, and Bang Liu. Deciphering digital detectives: Understanding LLM behaviors and capabilities in multi-agent mystery games. In Findings of the Association for Computational Linguistics: ACL 2024.
|
| 303 |
+
Jiajun Wu, Erika Lu, Pushmeet Kohli, Bill Freeman, and Josh Tenenbaum. 2017. Learning to see physics via visual de-animation. In Advances in Neural Information Processing Systems, volume 30. Curran Associates, Inc.
|
| 304 |
+
Yuzhuang Xu, Shuo Wang, Peng Li, Fuwen Luo, Xiaolong Wang, Weidong Liu, and Yang Liu. 2023. Exploring large language models for communication games: An empirical study on werewolf. arXiv preprint arXiv:2309.04658.
|
| 305 |
+
Da Yan, William O'Brien, Tianzhen Hong, Xiaohang Feng, H Burak Gunay, Farhang Tahmasebi, and Ardeshir Mahdavi. 2015. Occupant behavior modeling for building performance simulation: Current state and future challenges. Energy and buildings, 107:264-278.
|
| 306 |
+
|
| 307 |
+
Shunyu Yao, Jeffrey Zhao, Dian Yu, Nan Du, Izhak Shafran, Karthik Narasimhan, and Yuan Cao. 2022. React: Synergizing reasoning and acting in language models. arXiv preprint arXiv:2210.03629.
|
| 308 |
+
Xianhao Yu, Jiaqi Fu, Renjia Deng, and Wenjuan Han. 2024. Mineland: Simulating large-scale multi-agent interactions with limited multimodal senses and physical needs. Preprint, arXiv:2403.19267.
|
| 309 |
+
Hongxin Zhang, Weihua Du, Jiaming Shan, Qinhong Zhou, Yilun Du, Joshua B Tenenbaum, Tianmin Shu, and Chuang Gan. 2024. Building cooperative embodied agents modularly with large language models. ICLR.
|
| 310 |
+
|
| 311 |
+
# A Task Coordination Details
|
| 312 |
+
|
| 313 |
+
In Table 4, we list the specific task descriptions used in our collaborative task-solving experiment. During the experiment, all five tasks were simultaneously input into the memory of all agents. Due to agent heterogeneity, certain task components require specific agents to complete or can be completed more efficiently by particular agents. Therefore, agents must determine which part of the task they should be responsible for and then take action simultaneously.
|
| 314 |
+
|
| 315 |
+
Hierarchically, the highest-level task is preparing the company event, under which the five tasks listed in 12 serve as sub-tasks. Each task description further contains low-level tasks, such as the task Prepare Enough Tables and Chairs in the Event Area, which includes sub-tasks like Move 2 tables and 2 chairs to the open area 1 from other locations. These sub-tasks, in turn, may require multiple steps to complete.
|
| 316 |
+
|
| 317 |
+
This multi-level hierarchical task structure evaluates not only the agents' planning abilities but also their collaboration and communication skills.
|
| 318 |
+
|
| 319 |
+
# B Architect Survey on Multi-level Heterogeneity
|
| 320 |
+
|
| 321 |
+
Table 5 compares the modeling of fine-grained heterogeneity types across four heterogeneous multiagent environments. Our approach is the only one that comprehensively supports all four types of heterogeneity: profile, action, capability, and knowledge. To validate the necessity of modeling these levels of heterogeneity, we conducted a survey with 20 architects, asking for their views on the realism, importance, and consideration of heterogeneity modeling.
|
| 322 |
+
|
| 323 |
+
Participants and Survey Design Twenty practicing architects with at least 3 years' experience were recruited through the external platform UserTesting.com. Compensation levels were set in accordance with internal company guidelines, and in all cases participants were remunerated above the minimum wage in their regions. Each participant signed a consent form that explained the study purpose and data use and before completing an online questionnaire. For each of the four heterogeneity levels introduced in Section 3.2, respondents (i) compared two design options, $A$ : fully homogeneous occupants, and $B$ : heterogeneous occupants, and indicated which looked more realistic;
|
| 324 |
+
|
| 325 |
+
(ii) evaluated how important the heterogeneity was for understanding real space use (5-point Likert scale); (iii) reported whether they normally consider that difference in their own design work, and, if not, why. This study was reviewed by and received approval through Autodesk's internal ethics review process.
|
| 326 |
+
|
| 327 |
+
Results Overview Figure 7 shows that heterogeneity was judged more realistic by $55 - 70\%$ of architects depending on the level, with the highest endorsement for profile, action and capability heterogeneity. Importance ratings (Fig. 8) follow a similar trend: $55 - 95\%$ of respondents marked the heterogeneity as "important" or "very important". Figure 9 shows that most architects already incorporate heterogeneity consideration in their own workflow: all 20 architects consider profile-level differences, and large majorities do so for action $(90\%)$ , capability $(60\%)$ , and knowledge $(65\%)$ heterogeneity. This strong uptake suggests that heterogeneous agent modeling is both familiar and valued in practice, particularly at the profile and action levels. However, some architects still do not consider these differences in their design work, citing various reasons. Fig. 10 presents the further analysis of these reasons. For action-level heterogeneity, the two architects who do not consider it pointed to external factors: one mentioned that clients or stakeholders did not require this level of detail, while the other cited having to focus on more important constraints. At the capability level, the reasons were more diverse. While $25\%$ of those who opted out mentioned stakeholder requirements, another $25\%$ indicated that this type of variation is usually ignored in current design workflows. An additional $25\%$ referenced focusing on more pressing design aspects, while the remaining $25\%$ were divided between not being aware this kind of modeling was possible and lacking the tools or data to support it. At the knowledge level, the primary reason for non-consideration was a perceived lack of importance. Other respondents mentioned stakeholder scope $(29\%)$ , and a smaller portion cited workflow limitations or practical constraints.
|
| 328 |
+
|
| 329 |
+
Implications This architect survey indicates that our multi-level heterogeneity yields more realistic simulations than existing environments and aligns more closely with the factors architects consider during design. This feature not only justifies the design choices behind INDOORWORLD, but also strengthens its potential as a supportive tool for
|
| 330 |
+
|
| 331 |
+
Table 4: Task Descriptions
|
| 332 |
+
|
| 333 |
+
<table><tr><td>Task Number</td><td>Task Name</td><td>Description</td></tr><tr><td>1</td><td>Prepare Enough Tables and Chairs in the Event Area</td><td>Move 2 tables and 2 chairs to the open area 1 from other locations.</td></tr><tr><td>2</td><td>Prepare Clean Utensils for the Event</td><td>Transport 4 clean plates, 4 clean knives, and 4 clean forks from other locations to the open area 1 and place them on the tables.</td></tr><tr><td>3</td><td>Check and Repair Broken Computer, Pro-jector, and Microphone</td><td>Move a podium to the open area 1 if there is no podium there. Bring one computer, one projector, and one microphone to the open area 1 and place them on the podium. Ensure they are in working condition.</td></tr><tr><td>4</td><td>Book a Meeting Room for the Event</td><td>Use the touch screen in the open area 1 or a computer to remotely reserve the open area 1. Ensure the meeting room is booked with the following details: Event Name: Lunch and Listen; Start time: 2024-09-02T12:00:00; End time: 2024-09-02T13:00:00.</td></tr><tr><td>5</td><td>Prepare Coffee, Tea, and Lunch for the Event</td><td>Take clean cups and use them to prepare 3 cups of coffee and 3 cups of tea and place them on the tables in the open area 1. Bring 2 meals to the open area 1 and place them on the tables in the open area 1. Ensure that meals are heated.</td></tr></table>
|
| 334 |
+
|
| 335 |
+
architectural practice.
|
| 336 |
+
|
| 337 |
+
# C Architect Survey on Design Problem Relevance and Tool Usefulness
|
| 338 |
+
|
| 339 |
+
Participants and Survey Design Nine practicing architects (3-15 years of experience) were recruited through Autodesk's internal employee mailing lists and snowball sampling to rate ten statements on a five-point Likert scale ( $1 =$ Strongly Disagree, $2 =$ Disagree, $3 =$ Neutral, $4 =$ Agree, $5 =$ Strongly Agree). Participants were compensated with $35 USD for their participation. Each participant provided informed consent through a form that explained the study purpose and data use before completing an online questionnaire. This study was reviewed and approved through Autodesk's internal ethics review process.
|
| 340 |
+
|
| 341 |
+
The questionnaire comprised two blocks:
|
| 342 |
+
|
| 343 |
+
1. Relevance of Design Problems (q1-q4): This section assessed the perceived importance of key design issues, including resource alloca
|
| 344 |
+
|
| 345 |
+
tion, spatial layout, human-need considerations, and waiting-time analysis, in everyday architectural practice.
|
| 346 |
+
|
| 347 |
+
2. Usefulness of INDOORWORLD (q5-q10): This section evaluated whether the proposed simulation tool supports architects in understanding and addressing these design problems, as well as improving their design decisions.
|
| 348 |
+
|
| 349 |
+
Questions and average scores are summarized in Table 6.
|
| 350 |
+
|
| 351 |
+
Key Findings The survey results indicate strong recognition of the relevance of the design problems addressed. All four items in the first block received high average ratings $(\mathbf{M} = 3.8 - 4.7)$ . Notably, the importance of spatial layout (q2, $\mathbf{M} = 4.7$ ) was overwhelmingly endorsed, reflecting its critical role in influencing occupant behavior and well-being. Similarly, the significance of analyzing waiting times or competition for shared resources
|
| 352 |
+
|
| 353 |
+

|
| 354 |
+
Figure 7: Realism comparison (Homo. $=$ homogeneity, Hetero. $=$ heterogeneity). A majority consider heterogeneity more realistic than homogeneity at every level.
|
| 355 |
+
|
| 356 |
+
<table><tr><td>Environment</td><td>Profile</td><td>Action</td><td>Capability</td><td>Knowledge</td></tr><tr><td>D2A (Wang et al., 2024)</td><td>✓</td><td>X</td><td>X</td><td>-</td></tr><tr><td>Humanoid Agents (Wang et al., 2023)</td><td>✓</td><td>X</td><td>X</td><td>-</td></tr><tr><td>Smallville (Park et al., 2023)</td><td>✓</td><td>X</td><td>X</td><td>✓</td></tr><tr><td>Ours</td><td>✓</td><td>✓</td><td>✓</td><td>✓</td></tr></table>
|
| 357 |
+
|
| 358 |
+
Table 5: Comparison of fine-grained heterogeneity types across heterogeneous multi-agent environments. “Yes” indicates support for a type, “-” means not mentioned.
|
| 359 |
+
|
| 360 |
+
(q4, $\mathbf{M} = 4.0$ ) was highlighted, affirming the relevance of this problem to practical design.
|
| 361 |
+
|
| 362 |
+
For tool usefulness, respondents generally expressed positive views regarding the benefits of INDOORWORLD. The simulation was appreciated for its ability to reveal layout impacts (q6, $\mathbf{M} = 4.0$ ), support design refinement processes (q7, $\mathbf{M} = 3.9$ ), and spark interest for direct use in design projects (q9, $\mathbf{M} = 4.1$ ). Its potential to bridge the gap between architectural design and user behavior was also well-received (q10, $\mathbf{M} = 4.2$ ). These responses suggest that architects see INDOORWORLD as a promising tool for enhancing their design workflows, offering insights that can inform spatial planning and resource management.
|
| 363 |
+
|
| 364 |
+
However, two items received only neutral-to-slightly-positive ratings: actionable insights from resource-competition simulation $(q5, M = 3.1)$ and the realism of observed agent behavior $(q8, M = 3.0)$ . These lower scores reflect a current gap between the simulation's fidelity and user expectations. Respondents generally acknowledged the
|
| 365 |
+
|
| 366 |
+
concept of resource competition but found "hydration competition" less realistic compared to competition for meeting spaces or other workspace resources, which were viewed as more contextually relevant. One architect expressed concerns that the current game-like interface of INDOORWORLD, where agents continuously move around and interact with each other, might deter some architects. They suggested that the simulation could be executed in the background, with results presented as concise, actionable recommendations for spatial planning, minimizing unnecessary visual complexity. Despite these reservations, respondents recognized that the simulation provides useful insights and proposed several enhancements. These included introducing more diverse agent profiles with varying needs and preferences to better assess universal design principles and accessibility, as well as enabling the visualization of agent movement flows to enhance spatial analysis.
|
| 367 |
+
|
| 368 |
+
Implications Overall, the survey confirms that our modeling choices address key design chal
|
| 369 |
+
|
| 370 |
+

|
| 371 |
+
Figure 8: Importance ratings for understanding real space use (5-point scale). Most participants rate heterogeneity as "important" or "very important" at each level.
|
| 372 |
+
|
| 373 |
+
<table><tr><td colspan="2">ID Question</td><td>Avg</td></tr><tr><td colspan="2">Relevance of Design Problems</td><td></td></tr><tr><td>q1</td><td>Resource allocation is a critical factor in office space planning.</td><td>3.8</td></tr><tr><td>q2</td><td>Spatial layout significantly affects occupant behavior and well-being.</td><td>4.7</td></tr><tr><td>q3</td><td>I consider human needs when designing building layouts.</td><td>3.8</td></tr><tr><td>q4</td><td>Evaluating waiting time or competition for shared resources is useful for improving space efficiency.</td><td>4.0</td></tr><tr><td colspan="2">Usefulness of INDOORWORLD</td><td></td></tr><tr><td>q5</td><td>The simulation of resource competition provides actionable insights for real-world resource placement.</td><td>3.1</td></tr><tr><td>q6</td><td>The spatial layout experiment helps reveal how different designs impact occupant behavior and efficiency.</td><td>4.0</td></tr><tr><td>q7</td><td>I can imagine using such simulations to evaluate and refine my own design decisions.</td><td>3.9</td></tr><tr><td>q8</td><td>The observed agent behavior reflects realistic office usage patterns.</td><td>3.0</td></tr><tr><td>q9</td><td>I would be interested in trying out this simulation tool with my own design layouts.</td><td>4.1</td></tr><tr><td>q10</td><td>I believe simulation tools like this can bridge the gap between architectural design and human behavioral modeling.</td><td>4.2</td></tr></table>
|
| 374 |
+
|
| 375 |
+
Table 6: Average Likert ratings (1 = Strongly Disagree, 2 = Disagree, 3 = Neutral, 4 = Agree, 5 = Strongly Agree) provided by nine practicing architects, summarizing perceived relevance of key design problems and the usefulness of the proposed INDOORWORLD simulation tool.
|
| 376 |
+
|
| 377 |
+
lenges that architects recognize as important. The high scores for spatial layout and resource competition demonstrate that the simulated scenarios align well with real-world concerns. The positive feedback on tool usefulness suggests that INDOOR-WORLD is perceived as a valuable support tool for architectural design, providing insights that can inform spatial planning, resource management, and design optimization.
|
| 378 |
+
|
| 379 |
+
Moreover, the relatively lower scores on agent behavior realism and the actionability of insights indicate areas for improvement. These results highlight a common challenge for many simulation tools: accurately capturing the complexity of human behavior while ensuring that the generated insights are directly applicable to design decisions.
|
| 380 |
+
|
| 381 |
+
Currently, LLM-based agents are at an early stage of development, with simplified behaviors and limited contextual awareness. We anticipate that ongoing advancements in LLM capabilities will enhance agent realism, enabling more nuanced interactions and generating insights that align more closely with real-world user expectations.
|
| 382 |
+
|
| 383 |
+
# D Action-space comparison
|
| 384 |
+
|
| 385 |
+
Table 7 summarizes the size of the action space supported by several widely used task-oriented simulation environments. Most benchmarks provide fewer than 20 primitive actions: VirtualHome offers 18, ALFWorld 9, and the TDW variants between 7 and 12. Our environment markedly expands this spectrum to 38 distinct actions, more
|
| 386 |
+
|
| 387 |
+

|
| 388 |
+
Figure 9: Whether architects typically consider each heterogeneity type in their own work.
|
| 389 |
+
|
| 390 |
+
<table><tr><td></td><td>#Actions</td></tr><tr><td>Virtual-Home (Puig et al., 2018)</td><td>18</td></tr><tr><td>ALFWorld (Shridhar et al., 2021)</td><td>9</td></tr><tr><td>TDW-MAT (Zhang et al., 2024)</td><td>7</td></tr><tr><td>C-WAH (Zhang et al., 2024)</td><td>8</td></tr><tr><td>ALFRED (Shridhar et al., 2020a)</td><td>13</td></tr><tr><td>TDW (Gan et al., 2021)</td><td>12</td></tr><tr><td>AdaSociety (Huang et al., 2025)</td><td>12</td></tr><tr><td>Ours</td><td>38</td></tr></table>
|
| 391 |
+
|
| 392 |
+
Table 7: Comparison of the number of actions supported by different environments.
|
| 393 |
+
|
| 394 |
+
than twice that of any prior system listed. The richer verb set enables agents to engage in a broader range of household manipulations (e.g., brewCoffee, repairDevice, heatFood), which in turn supports more realistic task decompositions, greater behavioral diversity, and nuanced capability differences.
|
| 395 |
+
|
| 396 |
+
Importantly, the set of 38 actions was designed based on two principles: (1) Common human actions shared across roles, such as go_to, take, and put, ensuring coverage of generic physical interactions. We also incorporated basic need-related actions such as eating, drinking, and restroom use, which are absent in ALFWorld (Shridhar et al., 2020b) but are critical for simulating realistic human behavior. (2) Role-specific actions tailored to each agent type, such as repair_electronic_device for IT admin or software_development for software engineers, reflecting distinct occupational responsibilities and supporting our environment's heterogeneity. As
|
| 397 |
+
|
| 398 |
+
further described in Appendix E.2, the action space can be easily extended with new roles and actions, allowing researchers to customize it according to their needs. This flexibility is important for giving researchers greater control over scenario design.
|
| 399 |
+
|
| 400 |
+
# E Resources
|
| 401 |
+
|
| 402 |
+
We release the INDOORWORLD environment under an MIT license, comprising the codebase, configuration files, experimental setups, and detailed documentation covering installation and usage. These resources are intended to facilitate reproduction of our experiments and enable further extensions by the research community. Interested parties can request access by contacting the first author.
|
| 403 |
+
|
| 404 |
+
# E.1 Environment Initialization via JSON
|
| 405 |
+
|
| 406 |
+
Our environment is defined using a JSON configuration file, which specifies key components such as agents, locations, inter-location connections, receptacles within locations, and objects. This structured definition allows for flexible customization of the simulation environment.
|
| 407 |
+
|
| 408 |
+
Our code automatically initializes the environment based on the JSON file, creating corresponding instances of Location, Receptacle, Object, and Agent classes. Each element in the JSON file is mapped to its respective class, ensuring that all objects and agents are correctly instantiated with their predefined attributes and relationships.
|
| 409 |
+
|
| 410 |
+
An example of this JSON configuration is shown
|
| 411 |
+
|
| 412 |
+

|
| 413 |
+
Action "No"-answer reasons (10% No)
|
| 414 |
+
Figure 10: Reasons given by those who answered "No" in Fig. 9.
|
| 415 |
+
|
| 416 |
+

|
| 417 |
+
Capability "No"-answer reasons (40% No)
|
| 418 |
+
|
| 419 |
+

|
| 420 |
+
Knowledge "No"-answer reasons (35% No)
|
| 421 |
+
|
| 422 |
+
Clients Or Stakeholders Didn't Require This Level Of Detail.
|
| 423 |
+
I Had To Focus On More Important Constraints.
|
| 424 |
+
This Type Of Variation Is Usually Ignored In Current Design Workflows.
|
| 425 |
+
|
| 426 |
+
I Didn't Consider It Because I Didn't Think It Was Important.
|
| 427 |
+
I Wasn't Aware This Kind Of Modeling Was Possible.
|
| 428 |
+
I Didn't Have The Tools Or Data To
|
| 429 |
+
Estimate How People Would Use The Space.
|
| 430 |
+
|
| 431 |
+
in Figure 11, where locations, objects, receptacles, and agents are defined. This JSON-based approach enables researchers to easily modify and extend the environment without changing the core simulation code, making it a highly adaptable framework for various research scenarios.
|
| 432 |
+
|
| 433 |
+
# E.2 Extending Agent-Object Interactions
|
| 434 |
+
|
| 435 |
+
Figures 12, 13, and 14 provide three example classes that illustrate how researchers can extend the environment by adding new object types and by defining interactions between agents and those objects.
|
| 436 |
+
|
| 437 |
+
For example, if a researcher wants to introduce a new class, such as Computer, they first need to specify what actions agents can perform on it, such as turn_on. This is done by defining interaction methods like power_on() within the Computer class. The new class should inherit from BaseObject and implement get_admissible_actions(), which determines when and how agents can interact with the object. For instance, if the computer is in an accessible state, it can return a command like turn_on {self.name}.
|
| 438 |
+
|
| 439 |
+
On the agent side, new interaction methods must be defined accordingly. For instance, the Agent class should implement a turn_on() method that handles the interaction logic for powering on a Computer. Additionally, in the act() function, a new command mapping should be added, linking the turn_on command to the
|
| 440 |
+
|
| 441 |
+
turn_on() method. This way, when the agent's get_admissible ACTIONS() method runs, it will include the new turn_on action if the object is in the same location as the agent and is not placed inside a closed receptacle. The agent can then decide whether to execute this action, effectively enabling interaction with the newly introduced Computer object.
|
| 442 |
+
|
| 443 |
+
The ITAdmin class further demonstrates how to define role-specific actions. This is done by first adding "repair_computer" to the skills dictionary. Then, a new method, such as repair_electronic_device(), is defined, and the act() function maps the "repair_computer" command to this method. This allows the ITAdmin role to perform repair actions that are unavailable to other agents.
|
| 444 |
+
|
| 445 |
+
Note: These examples have been simplified for clarity and may not exactly match the original source code. Researchers should refer to the actual implementation details to fully integrate new objects and interactions into the environment.
|
| 446 |
+
|
| 447 |
+
```txt
|
| 448 |
+
"locations": ["kitchen", "meeting_room1"], "location_distance": { "kitchen": {"meeting_room1": 1}, "meeting_room1": {"kitchen": 1}] }, "receptacles": [ {"name": "Sinkbasin1", "location": "kitchen", "rtype": "Sinkbasin", "weight_kg": 15, "state": {"fixed": true, "closable": false, "is_open": true, "is.clean": true, "temperature": 20, "is_workinq": true}}, {"name": "Cabinet1", "location": "kitchen", "rtype": "Cabinet", "weight_kg": 30, "state": {"fixed": true, "closable": true, "is_open": false, "is.clean": true, "temperature": 20, "is_workinq": true}} ], "objects": [ {"name": "touchscreen_1", "otype": "TouchScreen", "location": "meeting_room1", "weight_kg": 3, "state": {"is_turned_on": true, "is_working": true, "is Clean": true, "temperature": 20}}, {"name": "cup_1", "otype": "Cup", "location": "kitchen", "receptacle": "Counttop1", "weight_kg": 0.3, "state": {"is clean": false, "temperature": 20}} ], "agents": [ { "name": "ryan", "gender": "male", "role": "receptionist", location: "meeting_room1", "fullness": 100, hydration: 100, energy: 100, social Fulfillment: 100, strength_kg': 65, internal_profile": Ryan is a professional and welcoming receptionist. Known for his friendly personality and exceptional communication skills....," appearance": Ryan is a receptionist who is tall and well-built, with ... } { name": "irene", gender": "female", role": "IT_admin", location: "kitchen", fullness: 100, hydration: 100, energy: 100, social Fulfillment: 100, strength_kg': 30, internal_profile": Irene is an organized and skilled IT administrator. She is quick to troubleshoot and efficiently repair a wide range of ..., appearance": Irene has a petite, tidy appearance with a focused expression. She is usually dressed casually but professionally, with an attentive ... } ]
|
| 449 |
+
```
|
| 450 |
+
|
| 451 |
+
Figure 11: Excerpt from the JSON configuration file defining locations, agents, objects, and receptacles in the environment.
|
| 452 |
+
|
| 453 |
+
```python
|
| 454 |
+
1 class Computer(BaseObject):
|
| 455 |
+
2 def __init__(self, name, otype='Computer', location, environment, weight_kg,
|
| 456 |
+
3 carryable=False, requires_receptacle=True,
|
| 457 |
+
4 state={'is_clean': True,'temperature': 20}):
|
| 458 |
+
5 super()).__init__(name, otype, location, environment, weight_kg,
|
| 459 |
+
6 carryable, requires_receptacle, state=state)
|
| 460 |
+
7 def power_on(self):
|
| 461 |
+
8 if self.state['is_turned_on]:
|
| 462 |
+
|
| 463 |
+
9 return f'[self.name] is already turned on.", False
|
| 464 |
+
10 self.state['is_turned_on'] = True
|
| 465 |
+
11 return f'[self.name] is now turned on.", True
|
| 466 |
+
12 ...
|
| 467 |
+
13 .......
|
| 468 |
+
14
|
| 469 |
+
15 def get_admissible ACTIONS(self, agent):
|
| 470 |
+
16 actions = super().get_admissible ACTIONS(agent)
|
| 471 |
+
17
|
| 472 |
+
18 # Add repair action
|
| 473 |
+
19 if f'repair{'self.otype.low'}' in agentskills:
|
| 474 |
+
20 actions.append(f"repair{'self.otype.low'} {self.name}")
|
| 475 |
+
21
|
| 476 |
+
22 # Check if the computer has an 'owner' attribute
|
| 477 |
+
23 if self.location == agent.location:
|
| 478 |
+
24 if not self.state['is_turned_on':
|
| 479 |
+
25 actions.append(f"turn_on {self.name}")
|
| 480 |
+
26 else:
|
| 481 |
+
27 actions.append(f"turn_off {self.name}")
|
| 482 |
+
28
|
| 483 |
+
29 return actions
|
| 484 |
+
```
|
| 485 |
+
|
| 486 |
+
Figure 12: Illustration of the Computer class, defining interaction methods like power_on() and specifying admissible agent actions.
|
| 487 |
+
|
| 488 |
+
Figure 13: Illustration of the Agent class, where act() maps commands to interaction methods like turn_on().
|
| 489 |
+
```python
|
| 490 |
+
class Agent: def __init__(self, name, role, location, skills=None): self.name = name self.root = role self.location = location selfskills = skills if skills else {}
|
| 491 |
+
def act(self, command): """Execute an action if it's admissible."""command_mapping $=$ {"turn_on": (self.turn_on,1), # 1 means one argument ... }
|
| 492 |
+
tokens $\equiv$ command.split() if len(tokens) $\geqslant 1$ .. action $\equiv$ tokens[0] if action in command Mapping: action_func, arg_count $\equiv$ command Mapping[action] if len(tokens[1:]) $\rightharpoondown$ arg_count: args $\equiv$ tokens[1:1 + arg_count] return action_func(*args) else: return f"\{self.name\} received an incorrect number of arguments for action {action}.", False else: return f"\{self.name\} cannot perform action {action}.", False return f"\{self.name\} cannot parse command {command}.", False
|
| 493 |
+
def turn_on(self, electronic_device_name):
|
| 494 |
+
# Search for the electronic device in the current location's objects target_device $\equiv$ next((obj for obj in self.location.objects if obj.name $= =$ electronic_device_name), None)
|
| 495 |
+
# If the device is found, attempt to turn it on if target_device: if hasattr(target_device, "turn_on"): return target_device-turn_on() else: return f"\{target_device.name\} cannot be turned on.", False else: return f"\{self.name\} cannot find {electronic_device_name}.", False
|
| 496 |
+
def get_admissible ACTIONS(self): admissible ACTIONS $=$ []
|
| 497 |
+
... if self.location.objects: for obj in self.location.objects: if obj.receptacle $= =$ None or obj.receptacle.state['is_open']: admissible ACTIONS extend(obj.get_admissible ACTIONS(self))
|
| 498 |
+
return admissible ACTIONS
|
| 499 |
+
```
|
| 500 |
+
|
| 501 |
+
```python
|
| 502 |
+
1 class ITAdmin(Agent):
|
| 503 |
+
2 def __init__(self, name, gender, location, environment, **kwargs): super().__init__(name, gender, location, environment, **kwargs)
|
| 504 |
+
4 # ITAdmin specific skills for repairing devices self.skills.update({ "repair_computer": 1, }
|
| 505 |
+
6 }
|
| 506 |
+
7 }
|
| 507 |
+
8 }
|
| 508 |
+
9
|
| 509 |
+
10 def repair_electronic_device(self, obj_name):
|
| 510 |
+
11 # Find the object with the specified name in the current location target_device = next((obj for obj in self.location.objects if obj.name == obj_name), None)
|
| 511 |
+
13
|
| 512 |
+
14 if target_device:
|
| 513 |
+
15 # Check if the object is a repairable electronic device electronic Devices $=$ ["Microphone", "Projector", "Computer", "CoffeeMachine", "WaterDispenser", "Microwave"]
|
| 514 |
+
17 if target_device.otype in electronicDevices: # Check if the device is broken
|
| 515 |
+
19 if "is-working" in target_device.state and not target_device.state[" is_working']: target_device.state["is-working"] = True return f"\{self.name\} repaired the {target_device.name}.True else: return f"\{target_device.name\} is already in working condition.", False
|
| 516 |
+
20 else: return f"\{target_device.name\} is not a repairable electronic device.", False
|
| 517 |
+
21 def act(self, command): """Execute an ITAdmin-specific action or fall back to the Agent's act method."""command Mapping $=$ { "repair_computer": (self.repair_electronic_device, 1),
|
| 518 |
+
32 }
|
| 519 |
+
33 }
|
| 520 |
+
34 }
|
| 521 |
+
35
|
| 522 |
+
36 tokens $=$ command.split()
|
| 523 |
+
37 if len(tokens) $\geqslant$ 1 and tokens[0] in command Mapping: action_func, arg_count $=$ command Mapping(tokens[0]) if len(tokens[1:]) $\geqslant$ arg_count: return action_func(*tokens[1:1 + arg_count])
|
| 524 |
+
41 return f"\{self.name\} received an incorrect number of arguments.", False
|
| 525 |
+
42
|
| 526 |
+
43 return super().act(command)
|
| 527 |
+
```
|
| 528 |
+
|
| 529 |
+
Figure 14: Illustration of the ITAdmin class, where repair_computer() enables role-specific actions via command mapping.
|
2025/INDOORWORLD _ Integrating Physical Task Solving and Social Simulation in A Heterogeneous Multi-Agent Environment/images.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a3058162c4c5b02c6a075109886918cc8959edaac39e5ef98c512ff88ba594ea
|
| 3 |
+
size 827287
|
2025/INDOORWORLD _ Integrating Physical Task Solving and Social Simulation in A Heterogeneous Multi-Agent Environment/layout.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2025/INREACT_ An Inspire-Then-Reinforce Training Framework For Multimodal GUI Agent/889785bd-0923-422b-bcca-82b35b178935_content_list.json
ADDED
|
@@ -0,0 +1,2052 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"type": "text",
|
| 4 |
+
"text": "INREACT: An Inspire-Then-Reinforce Training Framework For Multimodal GUI Agent",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
164,
|
| 8 |
+
89,
|
| 9 |
+
836,
|
| 10 |
+
130
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Yuanlei Wang $^{1*}$ , Liuzhou Zhang $^{2*}$ , Haohao Luo $^{1*}$ , Ying Shen $^{1,3\\dagger}$",
|
| 17 |
+
"bbox": [
|
| 18 |
+
223,
|
| 19 |
+
145,
|
| 20 |
+
776,
|
| 21 |
+
162
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "<sup>1</sup>Sun Yat-sen University, <sup>2</sup>Central China Normal University,",
|
| 28 |
+
"bbox": [
|
| 29 |
+
257,
|
| 30 |
+
162,
|
| 31 |
+
739,
|
| 32 |
+
179
|
| 33 |
+
],
|
| 34 |
+
"page_idx": 0
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"type": "text",
|
| 38 |
+
"text": "<sup>3</sup>Guangdong Provincial Key Laboratory of Fire Science and Intelligent Emergency Technology",
|
| 39 |
+
"bbox": [
|
| 40 |
+
112,
|
| 41 |
+
179,
|
| 42 |
+
880,
|
| 43 |
+
199
|
| 44 |
+
],
|
| 45 |
+
"page_idx": 0
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"type": "text",
|
| 49 |
+
"text": "{wangylei7, luohh5}@mail2.sysu.edu.cn,zlz212@mail.ccnu.edu.cn,",
|
| 50 |
+
"bbox": [
|
| 51 |
+
186,
|
| 52 |
+
197,
|
| 53 |
+
811,
|
| 54 |
+
212
|
| 55 |
+
],
|
| 56 |
+
"page_idx": 0
|
| 57 |
+
},
|
| 58 |
+
{
|
| 59 |
+
"type": "text",
|
| 60 |
+
"text": "sheny76@mail.sysu.edu.cn",
|
| 61 |
+
"bbox": [
|
| 62 |
+
374,
|
| 63 |
+
214,
|
| 64 |
+
621,
|
| 65 |
+
229
|
| 66 |
+
],
|
| 67 |
+
"page_idx": 0
|
| 68 |
+
},
|
| 69 |
+
{
|
| 70 |
+
"type": "text",
|
| 71 |
+
"text": "Abstract",
|
| 72 |
+
"text_level": 1,
|
| 73 |
+
"bbox": [
|
| 74 |
+
260,
|
| 75 |
+
260,
|
| 76 |
+
342,
|
| 77 |
+
275
|
| 78 |
+
],
|
| 79 |
+
"page_idx": 0
|
| 80 |
+
},
|
| 81 |
+
{
|
| 82 |
+
"type": "text",
|
| 83 |
+
"text": "Graphical User Interface (GUI) interaction, which aims to develop an intelligent GUI agent that executes user instructions to perform tasks such as installing applications by controlling digital devices, has gained significant attention due to its practical value. Although current advanced multimodal large language models (LLMs) provide GUI agents with robust perception and reasoning capabilities, they often struggle with the precise localization of small elements. To tackle this problem, we propose INREACT, a multimodal GUI agent framework that unifies observing, thinking, and acting for precise and interpretable decision-making. It is trained via a two-stage process: curriculum learning to progressively build perception, grounding, and reasoning abilities, followed by reinforcement learning to refine pixel-level grounding with an outcome-based reward. We introduce a rule-based reward function that jointly optimizes action-type selection and pixel-level localization accuracy. Experimental results on multiple datasets demonstrate the superiority of INREACT in both grounding and navigation tasks.",
|
| 84 |
+
"bbox": [
|
| 85 |
+
141,
|
| 86 |
+
291,
|
| 87 |
+
460,
|
| 88 |
+
649
|
| 89 |
+
],
|
| 90 |
+
"page_idx": 0
|
| 91 |
+
},
|
| 92 |
+
{
|
| 93 |
+
"type": "text",
|
| 94 |
+
"text": "1 Introduction",
|
| 95 |
+
"text_level": 1,
|
| 96 |
+
"bbox": [
|
| 97 |
+
114,
|
| 98 |
+
663,
|
| 99 |
+
260,
|
| 100 |
+
678
|
| 101 |
+
],
|
| 102 |
+
"page_idx": 0
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"type": "text",
|
| 106 |
+
"text": "Graphical User Interface (GUI) interaction refers to a class of sequential decision-making tasks in which agents interpret user instructions and manipulate digital interfaces, including PCs and mobile devices, to accomplish specific goals. These interactions typically involve executing low-level operations like Click, Type, or Scroll in the correct order to complete complex tasks, such as searching for information. A capable GUI agent must possess two core abilities: visual observation and reasoning. Observation is particularly critical in GUI environments like PCs and mobile devices, where visual",
|
| 107 |
+
"bbox": [
|
| 108 |
+
112,
|
| 109 |
+
690,
|
| 110 |
+
490,
|
| 111 |
+
885
|
| 112 |
+
],
|
| 113 |
+
"page_idx": 0
|
| 114 |
+
},
|
| 115 |
+
{
|
| 116 |
+
"type": "image",
|
| 117 |
+
"img_path": "images/e38ea4c38d9f3067a6c4b2ec43e2927e4c1efa3cd666b264ccf89a7a81d8f870.jpg",
|
| 118 |
+
"image_caption": [
|
| 119 |
+
"Figure 1: Overview of the INREACT interaction"
|
| 120 |
+
],
|
| 121 |
+
"image_footnote": [],
|
| 122 |
+
"bbox": [
|
| 123 |
+
510,
|
| 124 |
+
258,
|
| 125 |
+
878,
|
| 126 |
+
395
|
| 127 |
+
],
|
| 128 |
+
"page_idx": 0
|
| 129 |
+
},
|
| 130 |
+
{
|
| 131 |
+
"type": "text",
|
| 132 |
+
"text": "components are often densely packed and visually similar, making precise localization challenging. Meanwhile, reasoning is essential for complex, goal-directed interactions that involve sequential decision-making. Unlike single-step tasks, GUI interaction requires agents to consider both interface states and past actions. With the emergence of powerful multimodal large language models (MLLMs) (Wang et al., 2024c; Bai et al., 2025; Chen et al., 2023; Luo et al., 2024), recent approaches have enabled screenshot-based GUI control without relying on structured metadata such as HTML or accessibility trees (Zhang et al., 2025; Wang et al., 2024b). However, despite these advances, existing GUI agents still struggle with accurate grounding and coherent reasoning in complex, real-world scenarios.",
|
| 133 |
+
"bbox": [
|
| 134 |
+
507,
|
| 135 |
+
434,
|
| 136 |
+
885,
|
| 137 |
+
705
|
| 138 |
+
],
|
| 139 |
+
"page_idx": 0
|
| 140 |
+
},
|
| 141 |
+
{
|
| 142 |
+
"type": "text",
|
| 143 |
+
"text": "To address the challenges of imprecise grounding and weak multi-step reasoning, recent efforts have focused on training MLLM-based GUI agents via supervised fine-tuning (SFT) or reinforcement learning (RL). In SFT, models are trained on paired GUI-action datasets to align visual observations with user instructions. Some approaches (Hong et al., 2024; Cheng et al., 2024; Lin et al., 2024; Li et al., 2025a) enhance SFT by incorporating instruction tuning, vision-language pretraining, or synthetic data generation to boost coverage. However, these strategies commonly adopt a flat optimization objective, lacking curriculum or structural",
|
| 144 |
+
"bbox": [
|
| 145 |
+
507,
|
| 146 |
+
712,
|
| 147 |
+
885,
|
| 148 |
+
921
|
| 149 |
+
],
|
| 150 |
+
"page_idx": 0
|
| 151 |
+
},
|
| 152 |
+
{
|
| 153 |
+
"type": "page_footnote",
|
| 154 |
+
"text": "*Equal Contribution",
|
| 155 |
+
"bbox": [
|
| 156 |
+
134,
|
| 157 |
+
892,
|
| 158 |
+
263,
|
| 159 |
+
906
|
| 160 |
+
],
|
| 161 |
+
"page_idx": 0
|
| 162 |
+
},
|
| 163 |
+
{
|
| 164 |
+
"type": "page_footnote",
|
| 165 |
+
"text": "† Corresponding author",
|
| 166 |
+
"bbox": [
|
| 167 |
+
134,
|
| 168 |
+
906,
|
| 169 |
+
278,
|
| 170 |
+
920
|
| 171 |
+
],
|
| 172 |
+
"page_idx": 0
|
| 173 |
+
},
|
| 174 |
+
{
|
| 175 |
+
"type": "page_number",
|
| 176 |
+
"text": "9148",
|
| 177 |
+
"bbox": [
|
| 178 |
+
478,
|
| 179 |
+
927,
|
| 180 |
+
521,
|
| 181 |
+
940
|
| 182 |
+
],
|
| 183 |
+
"page_idx": 0
|
| 184 |
+
},
|
| 185 |
+
{
|
| 186 |
+
"type": "footer",
|
| 187 |
+
"text": "Findings of the Association for Computational Linguistics: EMNLP 2025, pages 9148-9160",
|
| 188 |
+
"bbox": [
|
| 189 |
+
216,
|
| 190 |
+
945,
|
| 191 |
+
781,
|
| 192 |
+
958
|
| 193 |
+
],
|
| 194 |
+
"page_idx": 0
|
| 195 |
+
},
|
| 196 |
+
{
|
| 197 |
+
"type": "footer",
|
| 198 |
+
"text": "November 4-9, 2025 ©2025 Association for Computational Linguistics",
|
| 199 |
+
"bbox": [
|
| 200 |
+
280,
|
| 201 |
+
958,
|
| 202 |
+
715,
|
| 203 |
+
971
|
| 204 |
+
],
|
| 205 |
+
"page_idx": 0
|
| 206 |
+
},
|
| 207 |
+
{
|
| 208 |
+
"type": "text",
|
| 209 |
+
"text": "guidance, which limits the model's ability to progressively acquire complex capabilities. In contrast, reinforcement learning introduces outcome-driven optimization through environment feedback. Some methods (Lai et al., 2024; Liu et al., 2024) rely on sparse success signals to guide multi-step task completion. Despite this, many RL strategies remain coarse and fail to capture pixel-level grounding precision. Moreover, most RL pipelines lack strong initialization or structured learning stages, often resulting in unstable policies and inconsistent behaviors.",
|
| 210 |
+
"bbox": [
|
| 211 |
+
112,
|
| 212 |
+
84,
|
| 213 |
+
492,
|
| 214 |
+
275
|
| 215 |
+
],
|
| 216 |
+
"page_idx": 1
|
| 217 |
+
},
|
| 218 |
+
{
|
| 219 |
+
"type": "text",
|
| 220 |
+
"text": "In this work, we propose INREACT, a structured training framework for GUI agents that combines curriculum learning with reinforcement learning. The curriculum learning stage is designed to systematically build core agent capabilities—including perception, grounding, and reasoning through a staged learning process of increasing complexity. Furthermore, we introduce a reinforcement learning strategy with rule-based reward functions that jointly considers action-type correctness and distance-aware spatial accuracy, enabling more precise and reliable interactions in complex GUI environments.",
|
| 221 |
+
"bbox": [
|
| 222 |
+
115,
|
| 223 |
+
278,
|
| 224 |
+
490,
|
| 225 |
+
485
|
| 226 |
+
],
|
| 227 |
+
"page_idx": 1
|
| 228 |
+
},
|
| 229 |
+
{
|
| 230 |
+
"type": "text",
|
| 231 |
+
"text": "Our contributions are summarized as follows:",
|
| 232 |
+
"bbox": [
|
| 233 |
+
131,
|
| 234 |
+
488,
|
| 235 |
+
472,
|
| 236 |
+
502
|
| 237 |
+
],
|
| 238 |
+
"page_idx": 1
|
| 239 |
+
},
|
| 240 |
+
{
|
| 241 |
+
"type": "list",
|
| 242 |
+
"sub_type": "text",
|
| 243 |
+
"list_items": [
|
| 244 |
+
"- We propose a novel multimodal GUI agent framework, called INREACT, which synergizes observing, thinking, and acting to make more interpretable and goal-directed decisions when handling complex GUI navigation tasks.",
|
| 245 |
+
"- INREACT is trained through a two-stage training framework, including a curriculum-based supervised fine-tuning stage to progressively acquire perception, grounding, and reasoning capabilities and a reinforcement learning stage that reinforces grounding precision with an outcome-based reward to encourage accurate and consistent action predictions.",
|
| 246 |
+
"- Experimental results on four datasets in grounding and navigation tasks show that INREACT outperforms existing methods and exhibits promising generalization. Our code will be released via https://github.com/wangyuanlei30/InReAct."
|
| 247 |
+
],
|
| 248 |
+
"bbox": [
|
| 249 |
+
114,
|
| 250 |
+
505,
|
| 251 |
+
489,
|
| 252 |
+
809
|
| 253 |
+
],
|
| 254 |
+
"page_idx": 1
|
| 255 |
+
},
|
| 256 |
+
{
|
| 257 |
+
"type": "text",
|
| 258 |
+
"text": "2 Related Work",
|
| 259 |
+
"text_level": 1,
|
| 260 |
+
"bbox": [
|
| 261 |
+
114,
|
| 262 |
+
824,
|
| 263 |
+
268,
|
| 264 |
+
838
|
| 265 |
+
],
|
| 266 |
+
"page_idx": 1
|
| 267 |
+
},
|
| 268 |
+
{
|
| 269 |
+
"type": "text",
|
| 270 |
+
"text": "2.1 GUI Agents",
|
| 271 |
+
"text_level": 1,
|
| 272 |
+
"bbox": [
|
| 273 |
+
114,
|
| 274 |
+
851,
|
| 275 |
+
253,
|
| 276 |
+
866
|
| 277 |
+
],
|
| 278 |
+
"page_idx": 1
|
| 279 |
+
},
|
| 280 |
+
{
|
| 281 |
+
"type": "text",
|
| 282 |
+
"text": "GUI agents allow models to interact with software interfaces via visual inputs and simulated actions. Early works like CogAgent (Hong et al., 2024)",
|
| 283 |
+
"bbox": [
|
| 284 |
+
112,
|
| 285 |
+
873,
|
| 286 |
+
489,
|
| 287 |
+
921
|
| 288 |
+
],
|
| 289 |
+
"page_idx": 1
|
| 290 |
+
},
|
| 291 |
+
{
|
| 292 |
+
"type": "text",
|
| 293 |
+
"text": "introduced MLLMs for GUI tasks. Some methods leverage general-purpose models with prompt engineering (e.g., AppAgent (Zhang et al., 2025), Mobile-Agent (Wang et al., 2024b)), while others fine-tune open-source models on GUI-specific data (e.g., UGround (Gou et al., 2025), ShowUI (Lin et al., 2024)). Recent work like UI-TARS (Qin et al., 2025) and AGUVIS (Xu et al., 2024) combines GUI pretraining with reasoning fine-tuning. Most rely on single-stage supervised fine-tuning, which requires large-scale data and often struggles with generalization, highlighting the need for more structured learning approaches.",
|
| 294 |
+
"bbox": [
|
| 295 |
+
507,
|
| 296 |
+
84,
|
| 297 |
+
884,
|
| 298 |
+
294
|
| 299 |
+
],
|
| 300 |
+
"page_idx": 1
|
| 301 |
+
},
|
| 302 |
+
{
|
| 303 |
+
"type": "text",
|
| 304 |
+
"text": "2.2 Curriculum Learning",
|
| 305 |
+
"text_level": 1,
|
| 306 |
+
"bbox": [
|
| 307 |
+
509,
|
| 308 |
+
310,
|
| 309 |
+
726,
|
| 310 |
+
325
|
| 311 |
+
],
|
| 312 |
+
"page_idx": 1
|
| 313 |
+
},
|
| 314 |
+
{
|
| 315 |
+
"type": "text",
|
| 316 |
+
"text": "Curriculum learning (Wang et al., 2022) is a training strategy where models are exposed to tasks in increasing order of difficulty, mimicking human learning. It has shown strong effectiveness across NLP and vision tasks by improving learning stability and generalization. Recent works have applied this idea to large-scale models: AutoGLM (Liu et al., 2024) and AutoWebGLM (Lai et al., 2024), for example, design task curricula to enhance model robustness in web navigation tasks. In the context of instruction tuning and agent learning, curriculum learning helps models acquire basic capabilities before handling complex reasoning or planning, offering a structured alternative to flat fine-tuning.",
|
| 317 |
+
"bbox": [
|
| 318 |
+
507,
|
| 319 |
+
334,
|
| 320 |
+
884,
|
| 321 |
+
575
|
| 322 |
+
],
|
| 323 |
+
"page_idx": 1
|
| 324 |
+
},
|
| 325 |
+
{
|
| 326 |
+
"type": "text",
|
| 327 |
+
"text": "2.3 Rule-Based Reinforcement Learning",
|
| 328 |
+
"text_level": 1,
|
| 329 |
+
"bbox": [
|
| 330 |
+
507,
|
| 331 |
+
590,
|
| 332 |
+
843,
|
| 333 |
+
606
|
| 334 |
+
],
|
| 335 |
+
"page_idx": 1
|
| 336 |
+
},
|
| 337 |
+
{
|
| 338 |
+
"type": "text",
|
| 339 |
+
"text": "Rule-based reinforcement learning has emerged as a scalable alternative to traditional supervised fine-tuning by optimizing models with predefined and verifiable reward functions. Early works such as DeepSeek-R1 (Guo et al., 2025) and o1 (Jaech et al., 2024) applied RFT to language tasks, including mathematical reasoning (Shao et al., 2024) and code generation, where correctness can be evaluated with rule-based signals. More recent studies (Shen et al., 2025; Liu et al., 2025c; Chen et al., 2025; Wang et al., 2024a) extend this paradigm to multimodal models by designing task-specific rewards—such as Intersection-over-Union (IoU) for image grounding and symbolic consistency checks for classification. Building on this line of research, works like UI-R1 (Lu et al., 2025) and GUI-R1 (Luo et al., 2025) have further explored applying rule-based RL to GUI agents, typically leveraging binary hit-or-miss rewards for GUI grounding.",
|
| 340 |
+
"bbox": [
|
| 341 |
+
507,
|
| 342 |
+
615,
|
| 343 |
+
884,
|
| 344 |
+
921
|
| 345 |
+
],
|
| 346 |
+
"page_idx": 1
|
| 347 |
+
},
|
| 348 |
+
{
|
| 349 |
+
"type": "page_number",
|
| 350 |
+
"text": "9149",
|
| 351 |
+
"bbox": [
|
| 352 |
+
480,
|
| 353 |
+
928,
|
| 354 |
+
519,
|
| 355 |
+
940
|
| 356 |
+
],
|
| 357 |
+
"page_idx": 1
|
| 358 |
+
},
|
| 359 |
+
{
|
| 360 |
+
"type": "image",
|
| 361 |
+
"img_path": "images/649ab4ab11431d5efe76d29ad7683f111563fdf6fbaf79660e2fa5a977f48fcd.jpg",
|
| 362 |
+
"image_caption": [
|
| 363 |
+
"Figure 2: The overall framework of INREACT"
|
| 364 |
+
],
|
| 365 |
+
"image_footnote": [],
|
| 366 |
+
"bbox": [
|
| 367 |
+
119,
|
| 368 |
+
84,
|
| 369 |
+
877,
|
| 370 |
+
374
|
| 371 |
+
],
|
| 372 |
+
"page_idx": 2
|
| 373 |
+
},
|
| 374 |
+
{
|
| 375 |
+
"type": "text",
|
| 376 |
+
"text": "3 Method",
|
| 377 |
+
"text_level": 1,
|
| 378 |
+
"bbox": [
|
| 379 |
+
112,
|
| 380 |
+
407,
|
| 381 |
+
216,
|
| 382 |
+
422
|
| 383 |
+
],
|
| 384 |
+
"page_idx": 2
|
| 385 |
+
},
|
| 386 |
+
{
|
| 387 |
+
"type": "text",
|
| 388 |
+
"text": "Given a GUI screenshot $S$ , a user instruction $G$ and the previous interaction history $A_{<t}$ at each time step $t$ , the goal of the agent is to generate a sequence of executable actions $A = \\{a_1, a_2, \\ldots, a_T\\}$ , where action $a_t$ at time step $t$ is determined based on $G$ , observation of the current screenshot environment $O_t$ , and previous actions sequence $A_{<t} = [a_1, a_2, \\ldots, a_{t-1}]$ .",
|
| 389 |
+
"bbox": [
|
| 390 |
+
112,
|
| 391 |
+
432,
|
| 392 |
+
487,
|
| 393 |
+
563
|
| 394 |
+
],
|
| 395 |
+
"page_idx": 2
|
| 396 |
+
},
|
| 397 |
+
{
|
| 398 |
+
"type": "list",
|
| 399 |
+
"sub_type": "text",
|
| 400 |
+
"list_items": [
|
| 401 |
+
"- State Space. At each time step $t$ , the environment state is represented by a GUI screenshot $s_t$ , which captures the current visual interface after executing the previous action. The agent's observation $O_t$ includes the screenshot $S_t$ , the user instruction $G$ , and the action history $A_{<t} = \\{a_1, \\dots, a_{t-1}\\}$ . This combination provides both static semantic goals and dynamic context necessary for decision-making.",
|
| 402 |
+
"- Action Space. We define an action as a structured function call in the form $a_{t} = (\\text{type}_{t}, \\text{args}_{t})$ , where type specifies the operation (e.g., click, scroll, input) and args provides necessary arguments such as coordinates, text, or direction. The environment executes actions parsed from the agent's JSON-style outputs. A full specification of supported actions is provided in Table 1."
|
| 403 |
+
],
|
| 404 |
+
"bbox": [
|
| 405 |
+
112,
|
| 406 |
+
564,
|
| 407 |
+
489,
|
| 408 |
+
852
|
| 409 |
+
],
|
| 410 |
+
"page_idx": 2
|
| 411 |
+
},
|
| 412 |
+
{
|
| 413 |
+
"type": "text",
|
| 414 |
+
"text": "3.1 GUI Agent Workflow",
|
| 415 |
+
"text_level": 1,
|
| 416 |
+
"bbox": [
|
| 417 |
+
112,
|
| 418 |
+
866,
|
| 419 |
+
327,
|
| 420 |
+
882
|
| 421 |
+
],
|
| 422 |
+
"page_idx": 2
|
| 423 |
+
},
|
| 424 |
+
{
|
| 425 |
+
"type": "text",
|
| 426 |
+
"text": "To guide the agent to continually interact with the environment and complete multi-step complex",
|
| 427 |
+
"bbox": [
|
| 428 |
+
112,
|
| 429 |
+
889,
|
| 430 |
+
487,
|
| 431 |
+
921
|
| 432 |
+
],
|
| 433 |
+
"page_idx": 2
|
| 434 |
+
},
|
| 435 |
+
{
|
| 436 |
+
"type": "table",
|
| 437 |
+
"img_path": "images/08326578102b19b90cd99065fc06de472aa85c0c2eb090e9ffdbb33b2fb9a35c.jpg",
|
| 438 |
+
"table_caption": [],
|
| 439 |
+
"table_footnote": [],
|
| 440 |
+
"table_body": "<table><tr><td>Action Type</td><td>Parameters</td></tr><tr><td>click,tap,hover,select</td><td>(x,y)</td></tr><tr><td>swipe,select_text</td><td>(x1,y1,x2,y2)</td></tr><tr><td>scroll</td><td>direction</td></tr><tr><td>input</td><td>text</td></tr><tr><td>home,back,enter</td><td>None</td></tr></table>",
|
| 441 |
+
"bbox": [
|
| 442 |
+
542,
|
| 443 |
+
404,
|
| 444 |
+
850,
|
| 445 |
+
519
|
| 446 |
+
],
|
| 447 |
+
"page_idx": 2
|
| 448 |
+
},
|
| 449 |
+
{
|
| 450 |
+
"type": "text",
|
| 451 |
+
"text": "Table 1: Action types and their parameters",
|
| 452 |
+
"bbox": [
|
| 453 |
+
549,
|
| 454 |
+
527,
|
| 455 |
+
840,
|
| 456 |
+
543
|
| 457 |
+
],
|
| 458 |
+
"page_idx": 2
|
| 459 |
+
},
|
| 460 |
+
{
|
| 461 |
+
"type": "text",
|
| 462 |
+
"text": "tasks. Following ReAct (Yao et al., 2023), we construct our agent framework through synergizing observing, thinking and acting in GUI controlling process for agent.",
|
| 463 |
+
"bbox": [
|
| 464 |
+
507,
|
| 465 |
+
558,
|
| 466 |
+
882,
|
| 467 |
+
624
|
| 468 |
+
],
|
| 469 |
+
"page_idx": 2
|
| 470 |
+
},
|
| 471 |
+
{
|
| 472 |
+
"type": "text",
|
| 473 |
+
"text": "Observation Phase. Based on a visual screenshot $S_{t}$ of the GUI, an user instruction $G$ and the previous interaction history $A_{< t}$ at each time step $t$ , the agent first generates a natural language observation $d_{t}$ describing key interface elements and their relevance to the task instead of directly generating action by:",
|
| 474 |
+
"bbox": [
|
| 475 |
+
507,
|
| 476 |
+
634,
|
| 477 |
+
884,
|
| 478 |
+
747
|
| 479 |
+
],
|
| 480 |
+
"page_idx": 2
|
| 481 |
+
},
|
| 482 |
+
{
|
| 483 |
+
"type": "equation",
|
| 484 |
+
"text": "\n$$\nd _ {t} = \\mathcal {F} \\left(O _ {t}\\right) = \\mathcal {F} \\left(S _ {t}, G, A _ {< t}\\right) \\tag {1}\n$$\n",
|
| 485 |
+
"text_format": "latex",
|
| 486 |
+
"bbox": [
|
| 487 |
+
581,
|
| 488 |
+
760,
|
| 489 |
+
882,
|
| 490 |
+
778
|
| 491 |
+
],
|
| 492 |
+
"page_idx": 2
|
| 493 |
+
},
|
| 494 |
+
{
|
| 495 |
+
"type": "text",
|
| 496 |
+
"text": "Thinking Phase. In the thinking phase, the generated observation $d_{t}$ is appended to the original input $O_{t} = \\{S_{t}, G, A_{<t}\\}$ to construct the further input. Then, we feed the updated input to the agent for generating internal reasoning to produce a task-oriented thinking $h_{t}$ by:",
|
| 497 |
+
"bbox": [
|
| 498 |
+
507,
|
| 499 |
+
793,
|
| 500 |
+
884,
|
| 501 |
+
890
|
| 502 |
+
],
|
| 503 |
+
"page_idx": 2
|
| 504 |
+
},
|
| 505 |
+
{
|
| 506 |
+
"type": "equation",
|
| 507 |
+
"text": "\n$$\nh _ {t} = \\mathcal {F} \\left(O _ {t}, d _ {t}\\right) \\tag {2}\n$$\n",
|
| 508 |
+
"text_format": "latex",
|
| 509 |
+
"bbox": [
|
| 510 |
+
635,
|
| 511 |
+
904,
|
| 512 |
+
882,
|
| 513 |
+
921
|
| 514 |
+
],
|
| 515 |
+
"page_idx": 2
|
| 516 |
+
},
|
| 517 |
+
{
|
| 518 |
+
"type": "page_number",
|
| 519 |
+
"text": "9150",
|
| 520 |
+
"bbox": [
|
| 521 |
+
480,
|
| 522 |
+
927,
|
| 523 |
+
521,
|
| 524 |
+
940
|
| 525 |
+
],
|
| 526 |
+
"page_idx": 2
|
| 527 |
+
},
|
| 528 |
+
{
|
| 529 |
+
"type": "text",
|
| 530 |
+
"text": "Acting Phase. Similarly, the input in the final action phase is constructed by concatenating the generated thinking $h_t$ with the previous input. Subsequently, we feed the modified input to the agent to generate executable actions by",
|
| 531 |
+
"bbox": [
|
| 532 |
+
112,
|
| 533 |
+
84,
|
| 534 |
+
489,
|
| 535 |
+
165
|
| 536 |
+
],
|
| 537 |
+
"page_idx": 3
|
| 538 |
+
},
|
| 539 |
+
{
|
| 540 |
+
"type": "equation",
|
| 541 |
+
"text": "\n$$\na _ {t} = \\mathcal {F} \\left(O _ {t}, d _ {t}, h _ {t}\\right) = \\left(\\text {t y p e} _ {t}, \\arg s _ {t}\\right) \\tag {3}\n$$\n",
|
| 542 |
+
"text_format": "latex",
|
| 543 |
+
"bbox": [
|
| 544 |
+
166,
|
| 545 |
+
177,
|
| 546 |
+
487,
|
| 547 |
+
193
|
| 548 |
+
],
|
| 549 |
+
"page_idx": 3
|
| 550 |
+
},
|
| 551 |
+
{
|
| 552 |
+
"type": "text",
|
| 553 |
+
"text": "The action is then executed in the environment, resulting in a transition to the next state $S_{t + 1}$ .",
|
| 554 |
+
"bbox": [
|
| 555 |
+
112,
|
| 556 |
+
205,
|
| 557 |
+
487,
|
| 558 |
+
237
|
| 559 |
+
],
|
| 560 |
+
"page_idx": 3
|
| 561 |
+
},
|
| 562 |
+
{
|
| 563 |
+
"type": "text",
|
| 564 |
+
"text": "3.2 Inspire-Then-Reinforce Training",
|
| 565 |
+
"text_level": 1,
|
| 566 |
+
"bbox": [
|
| 567 |
+
112,
|
| 568 |
+
247,
|
| 569 |
+
418,
|
| 570 |
+
263
|
| 571 |
+
],
|
| 572 |
+
"page_idx": 3
|
| 573 |
+
},
|
| 574 |
+
{
|
| 575 |
+
"type": "text",
|
| 576 |
+
"text": "To progressively enhance the reasoning and control capabilities of GUI agents, we propose an inspire-then-reinforce two-stage training paradigm, as illustrated in Figure 2.",
|
| 577 |
+
"bbox": [
|
| 578 |
+
112,
|
| 579 |
+
269,
|
| 580 |
+
489,
|
| 581 |
+
332
|
| 582 |
+
],
|
| 583 |
+
"page_idx": 3
|
| 584 |
+
},
|
| 585 |
+
{
|
| 586 |
+
"type": "text",
|
| 587 |
+
"text": "In Stage 1, we introduce a curriculum learning strategy that progressively builds the model's perception, grounding, and reasoning capabilities through supervised fine-tuning. By organizing training tasks from simple to complex, the model first learns to understand GUI layouts, then localize targets, and ultimately reason over multi-step goals.",
|
| 588 |
+
"bbox": [
|
| 589 |
+
112,
|
| 590 |
+
334,
|
| 591 |
+
487,
|
| 592 |
+
461
|
| 593 |
+
],
|
| 594 |
+
"page_idx": 3
|
| 595 |
+
},
|
| 596 |
+
{
|
| 597 |
+
"type": "text",
|
| 598 |
+
"text": "In Stage 2, we perform reinforcement learning to improve action accuracy and grounding robustness. Using a GRPO-based optimization framework, we incorporate a task-specific reward function that evaluates both action-type correctness and spatial precision, enabling the model to generate reliable actions in dense and high-resolution GUI environments.",
|
| 599 |
+
"bbox": [
|
| 600 |
+
112,
|
| 601 |
+
462,
|
| 602 |
+
487,
|
| 603 |
+
589
|
| 604 |
+
],
|
| 605 |
+
"page_idx": 3
|
| 606 |
+
},
|
| 607 |
+
{
|
| 608 |
+
"type": "text",
|
| 609 |
+
"text": "3.2.1 Stage 1: Curriculum Learning",
|
| 610 |
+
"text_level": 1,
|
| 611 |
+
"bbox": [
|
| 612 |
+
112,
|
| 613 |
+
599,
|
| 614 |
+
413,
|
| 615 |
+
615
|
| 616 |
+
],
|
| 617 |
+
"page_idx": 3
|
| 618 |
+
},
|
| 619 |
+
{
|
| 620 |
+
"type": "text",
|
| 621 |
+
"text": "Drawing inspiration from human learning, we organize agent training into three progressive stages: perception, grounding, and reasoning. Each stage targets a specific skill and increases in task complexity, forming a curriculum learning framework that guides the model from basic comprehension to advanced planning.",
|
| 622 |
+
"bbox": [
|
| 623 |
+
112,
|
| 624 |
+
619,
|
| 625 |
+
487,
|
| 626 |
+
730
|
| 627 |
+
],
|
| 628 |
+
"page_idx": 3
|
| 629 |
+
},
|
| 630 |
+
{
|
| 631 |
+
"type": "text",
|
| 632 |
+
"text": "Specifically, we adopt supervised fine-tuning and have the same training objective that minimizes the sum of negative log-likelihood loss averaged over tokens in each step:",
|
| 633 |
+
"bbox": [
|
| 634 |
+
112,
|
| 635 |
+
731,
|
| 636 |
+
487,
|
| 637 |
+
795
|
| 638 |
+
],
|
| 639 |
+
"page_idx": 3
|
| 640 |
+
},
|
| 641 |
+
{
|
| 642 |
+
"type": "equation",
|
| 643 |
+
"text": "\n$$\n\\mathcal {L} (y, \\widehat {y}) = - \\frac {1}{L} \\sum_ {l = 1} ^ {L} \\widehat {y _ {l}} \\log \\left(\\frac {\\exp \\left(y _ {l}\\right)}{\\sum_ {i} ^ {l} \\exp \\left(y _ {i}\\right)}\\right), \\tag {4}\n$$\n",
|
| 644 |
+
"text_format": "latex",
|
| 645 |
+
"bbox": [
|
| 646 |
+
129,
|
| 647 |
+
819,
|
| 648 |
+
487,
|
| 649 |
+
863
|
| 650 |
+
],
|
| 651 |
+
"page_idx": 3
|
| 652 |
+
},
|
| 653 |
+
{
|
| 654 |
+
"type": "text",
|
| 655 |
+
"text": "where $L$ is the max length of output sequence, $\\widehat{y}_l$ and $y_{l}$ denote the $l$ -th token in the groundtruth sequence $\\widehat{y}$ and generation sequence $y$ , respectively.",
|
| 656 |
+
"bbox": [
|
| 657 |
+
112,
|
| 658 |
+
872,
|
| 659 |
+
487,
|
| 660 |
+
921
|
| 661 |
+
],
|
| 662 |
+
"page_idx": 3
|
| 663 |
+
},
|
| 664 |
+
{
|
| 665 |
+
"type": "text",
|
| 666 |
+
"text": "Learning for Perception The first stage of the curriculum aims to build the model's visual and semantic understanding of GUI layouts. This foundational perception equips the agent with spatial awareness and interface comprehension, essential for later grounding and reasoning. Specifically, we decompose it into two perception-oriented tasks:",
|
| 667 |
+
"bbox": [
|
| 668 |
+
507,
|
| 669 |
+
84,
|
| 670 |
+
882,
|
| 671 |
+
196
|
| 672 |
+
],
|
| 673 |
+
"page_idx": 3
|
| 674 |
+
},
|
| 675 |
+
{
|
| 676 |
+
"type": "list",
|
| 677 |
+
"sub_type": "text",
|
| 678 |
+
"list_items": [
|
| 679 |
+
"i. GUI-based Question Answering. Given a screenshot $s$ and question $q$ , the model generates an answer $a\\colon \\mathcal{M}_{\\mathrm{qa}}(s,q)\\to a$ , enhancing spatial attention and element recognition.",
|
| 680 |
+
"ii. Interface Description Generation. Given $s$ , the model produces a structured description $d$ : $\\mathcal{M}_{\\mathrm{desc}}(s) \\to d$ , fostering global layout and semantic understanding. The training loss for this stage is computed as:"
|
| 681 |
+
],
|
| 682 |
+
"bbox": [
|
| 683 |
+
507,
|
| 684 |
+
197,
|
| 685 |
+
882,
|
| 686 |
+
341
|
| 687 |
+
],
|
| 688 |
+
"page_idx": 3
|
| 689 |
+
},
|
| 690 |
+
{
|
| 691 |
+
"type": "equation",
|
| 692 |
+
"text": "\n$$\n\\mathcal {L} _ {\\text {p e r c e p t i o n}} = \\mathcal {L} (a, \\widehat {a}) + \\mathcal {L} (d, \\widehat {d}), \\tag {5}\n$$\n",
|
| 693 |
+
"text_format": "latex",
|
| 694 |
+
"bbox": [
|
| 695 |
+
576,
|
| 696 |
+
347,
|
| 697 |
+
882,
|
| 698 |
+
366
|
| 699 |
+
],
|
| 700 |
+
"page_idx": 3
|
| 701 |
+
},
|
| 702 |
+
{
|
| 703 |
+
"type": "text",
|
| 704 |
+
"text": "where $\\widehat{s}$ and $\\widehat{d}$ denote the ground-truth answers and interface descriptions, respectively.",
|
| 705 |
+
"bbox": [
|
| 706 |
+
507,
|
| 707 |
+
373,
|
| 708 |
+
880,
|
| 709 |
+
406
|
| 710 |
+
],
|
| 711 |
+
"page_idx": 3
|
| 712 |
+
},
|
| 713 |
+
{
|
| 714 |
+
"type": "text",
|
| 715 |
+
"text": "Learning for Grounding The second stage of the curriculum focuses on grounding user instructions to visual actions, a core capability for operating in GUI environments. The model must understand what the user wants and accurately identify the corresponding interface region for execution. We similarly decompose it into two complementary grounding tasks:",
|
| 716 |
+
"bbox": [
|
| 717 |
+
507,
|
| 718 |
+
414,
|
| 719 |
+
882,
|
| 720 |
+
542
|
| 721 |
+
],
|
| 722 |
+
"page_idx": 3
|
| 723 |
+
},
|
| 724 |
+
{
|
| 725 |
+
"type": "list",
|
| 726 |
+
"sub_type": "text",
|
| 727 |
+
"list_items": [
|
| 728 |
+
"i. Instruction-to-Coordinate. Given a GUI screenshot $s$ and instruction $g$ , the model predicts the target coordinate $c$ : $\\mathcal{M}_{\\mathrm{inst2coord}}(s, g) \\to c$ . This task aligns user intent with precise UI locations.",
|
| 729 |
+
"ii. Coordinate-to-Description. Given $s$ and a coordinate $c$ , the model generates a description $d$ of the corresponding UI element: $\\mathcal{M}_{\\mathrm{coord2desc}}(s,c) \\to d$ , reinforcing spatial-semantic understanding. The loss function for this stage is defined as:"
|
| 730 |
+
],
|
| 731 |
+
"bbox": [
|
| 732 |
+
507,
|
| 733 |
+
543,
|
| 734 |
+
882,
|
| 735 |
+
702
|
| 736 |
+
],
|
| 737 |
+
"page_idx": 3
|
| 738 |
+
},
|
| 739 |
+
{
|
| 740 |
+
"type": "equation",
|
| 741 |
+
"text": "\n$$\n\\mathcal {L} _ {\\text {g r o u n d i n g}} = \\mathcal {L} (c, \\widehat {c}) + \\mathcal {L} (d, \\widehat {d}), \\tag {6}\n$$\n",
|
| 742 |
+
"text_format": "latex",
|
| 743 |
+
"bbox": [
|
| 744 |
+
579,
|
| 745 |
+
709,
|
| 746 |
+
882,
|
| 747 |
+
728
|
| 748 |
+
],
|
| 749 |
+
"page_idx": 3
|
| 750 |
+
},
|
| 751 |
+
{
|
| 752 |
+
"type": "text",
|
| 753 |
+
"text": "where $\\widehat{c}$ and $\\widehat{d}$ denote the ground-truth coordinate and description, respectively.",
|
| 754 |
+
"bbox": [
|
| 755 |
+
507,
|
| 756 |
+
734,
|
| 757 |
+
880,
|
| 758 |
+
768
|
| 759 |
+
],
|
| 760 |
+
"page_idx": 3
|
| 761 |
+
},
|
| 762 |
+
{
|
| 763 |
+
"type": "text",
|
| 764 |
+
"text": "Learning for Reasoning The third stage focuses on high-level reasoning and multi-step decision-making, where the model explicitly follows an observe-think-act process instead of making one-step predictions. We introduce the following two components to support structured reasoning:",
|
| 765 |
+
"bbox": [
|
| 766 |
+
507,
|
| 767 |
+
776,
|
| 768 |
+
882,
|
| 769 |
+
872
|
| 770 |
+
],
|
| 771 |
+
"page_idx": 3
|
| 772 |
+
},
|
| 773 |
+
{
|
| 774 |
+
"type": "text",
|
| 775 |
+
"text": "i. Observation Chain. Given a screenshot $x$ and instruction $g$ , the model generates an observation $o$ to identify relevant UI regions: $\\mathcal{M}_{\\mathrm{obs}}(x, g) \\to o$ .",
|
| 776 |
+
"bbox": [
|
| 777 |
+
507,
|
| 778 |
+
873,
|
| 779 |
+
880,
|
| 780 |
+
921
|
| 781 |
+
],
|
| 782 |
+
"page_idx": 3
|
| 783 |
+
},
|
| 784 |
+
{
|
| 785 |
+
"type": "page_number",
|
| 786 |
+
"text": "9151",
|
| 787 |
+
"bbox": [
|
| 788 |
+
480,
|
| 789 |
+
927,
|
| 790 |
+
517,
|
| 791 |
+
940
|
| 792 |
+
],
|
| 793 |
+
"page_idx": 3
|
| 794 |
+
},
|
| 795 |
+
{
|
| 796 |
+
"type": "text",
|
| 797 |
+
"text": "ii. Reasoning Chain. Conditioned on $o$ and $g$ , the model produces a reasoning trace $r$ to guide decision-making: $\\mathcal{M}_{\\mathrm{reason}}(o,g)\\to r$ .",
|
| 798 |
+
"bbox": [
|
| 799 |
+
112,
|
| 800 |
+
84,
|
| 801 |
+
485,
|
| 802 |
+
131
|
| 803 |
+
],
|
| 804 |
+
"page_idx": 4
|
| 805 |
+
},
|
| 806 |
+
{
|
| 807 |
+
"type": "text",
|
| 808 |
+
"text": "We define the training loss of this stage as follows:",
|
| 809 |
+
"bbox": [
|
| 810 |
+
112,
|
| 811 |
+
133,
|
| 812 |
+
485,
|
| 813 |
+
162
|
| 814 |
+
],
|
| 815 |
+
"page_idx": 4
|
| 816 |
+
},
|
| 817 |
+
{
|
| 818 |
+
"type": "equation",
|
| 819 |
+
"text": "\n$$\n\\mathcal {L} _ {\\text {r e a s o n i n g}} = \\mathcal {L} (o, \\widehat {o}) + \\mathcal {L} (r, \\widehat {r}), \\tag {7}\n$$\n",
|
| 820 |
+
"text_format": "latex",
|
| 821 |
+
"bbox": [
|
| 822 |
+
186,
|
| 823 |
+
180,
|
| 824 |
+
487,
|
| 825 |
+
198
|
| 826 |
+
],
|
| 827 |
+
"page_idx": 4
|
| 828 |
+
},
|
| 829 |
+
{
|
| 830 |
+
"type": "text",
|
| 831 |
+
"text": "where $\\widehat{o}$ and $\\widehat{r}$ denote the ground-truth observation and reasoning trace.",
|
| 832 |
+
"bbox": [
|
| 833 |
+
112,
|
| 834 |
+
212,
|
| 835 |
+
485,
|
| 836 |
+
244
|
| 837 |
+
],
|
| 838 |
+
"page_idx": 4
|
| 839 |
+
},
|
| 840 |
+
{
|
| 841 |
+
"type": "text",
|
| 842 |
+
"text": "3.2.2 Stage 2: Reinforcement Learning",
|
| 843 |
+
"text_level": 1,
|
| 844 |
+
"bbox": [
|
| 845 |
+
114,
|
| 846 |
+
256,
|
| 847 |
+
435,
|
| 848 |
+
272
|
| 849 |
+
],
|
| 850 |
+
"page_idx": 4
|
| 851 |
+
},
|
| 852 |
+
{
|
| 853 |
+
"type": "text",
|
| 854 |
+
"text": "Although supervised fine-tuning provides a strong initialization, models often suffer from fine-grained prediction errors, especially in dense or high-resolution GUIs where small pixel-level deviations can lead to task failure. To address this, we adopt GRPO Reinforcement fine-tuning.",
|
| 855 |
+
"bbox": [
|
| 856 |
+
112,
|
| 857 |
+
275,
|
| 858 |
+
485,
|
| 859 |
+
370
|
| 860 |
+
],
|
| 861 |
+
"page_idx": 4
|
| 862 |
+
},
|
| 863 |
+
{
|
| 864 |
+
"type": "text",
|
| 865 |
+
"text": "A critical component of our approach is the design of the reward function. While prior works like UI-R1 (Lu et al., 2025) and GUI-R1 (Luo et al., 2025) also leverage rule-based reinforcement learning for GUI agents, their reward mechanisms for localization typically rely on a coarse, binary signal (i.e., whether the predicted point falls within the target's bounding box). Such a reward, while useful for confirming task success, provides limited gradient for improving fine-grained precision. To overcome this, we introduce a task-specific reward function that better captures the dual objectives of action correctness and spatial precision, directly encouraging the model to enhance its pixel-level accuracy.",
|
| 866 |
+
"bbox": [
|
| 867 |
+
112,
|
| 868 |
+
374,
|
| 869 |
+
487,
|
| 870 |
+
615
|
| 871 |
+
],
|
| 872 |
+
"page_idx": 4
|
| 873 |
+
},
|
| 874 |
+
{
|
| 875 |
+
"type": "text",
|
| 876 |
+
"text": "Reward Modeling The reward function serves as the primary training signal in reinforcement learning, directly guiding the model's optimization trajectory. To support fine-grained policy improvement in GUI environments, we design a rule-based reward function tailored to the unique demands of screen-based interaction. Unlike traditional RL settings that rely on binary task success or coarse region-level feedback, GUI tasks require both accurate action selection and high-precision localization of target elements. Specifically, our reward function comprises two components: (1) an action-type reward(2) a distance-aware coordinate reward. This composite design provides the model with dense, informative feedback signals essential for precise and interpretable GUI control, which is defined as:",
|
| 877 |
+
"bbox": [
|
| 878 |
+
112,
|
| 879 |
+
626,
|
| 880 |
+
489,
|
| 881 |
+
883
|
| 882 |
+
],
|
| 883 |
+
"page_idx": 4
|
| 884 |
+
},
|
| 885 |
+
{
|
| 886 |
+
"type": "equation",
|
| 887 |
+
"text": "\n$$\nR = R _ {\\mathrm {T}} + R _ {\\mathrm {D}} \\tag {8}\n$$\n",
|
| 888 |
+
"text_format": "latex",
|
| 889 |
+
"bbox": [
|
| 890 |
+
243,
|
| 891 |
+
903,
|
| 892 |
+
485,
|
| 893 |
+
917
|
| 894 |
+
],
|
| 895 |
+
"page_idx": 4
|
| 896 |
+
},
|
| 897 |
+
{
|
| 898 |
+
"type": "text",
|
| 899 |
+
"text": "Regarding the action type reward component $R_{\\mathrm{T}}$ , it provides a binary reward signal that evaluates whether the predicted action type $T$ aligns with the ground truth label $T'$ . This mechanism offers a direct and effective evaluation framework for action-type prediction tasks. The mathematical formulation of this component is presented below:",
|
| 900 |
+
"bbox": [
|
| 901 |
+
507,
|
| 902 |
+
84,
|
| 903 |
+
882,
|
| 904 |
+
197
|
| 905 |
+
],
|
| 906 |
+
"page_idx": 4
|
| 907 |
+
},
|
| 908 |
+
{
|
| 909 |
+
"type": "equation",
|
| 910 |
+
"text": "\n$$\nR _ {\\mathrm {T}} = \\left\\{ \\begin{array}{l l} 1, & \\text {i f} T ^ {\\prime} = T \\\\ 0, & \\text {o t h e r w i s e} \\end{array} \\right. \\tag {9}\n$$\n",
|
| 911 |
+
"text_format": "latex",
|
| 912 |
+
"bbox": [
|
| 913 |
+
608,
|
| 914 |
+
203,
|
| 915 |
+
882,
|
| 916 |
+
244
|
| 917 |
+
],
|
| 918 |
+
"page_idx": 4
|
| 919 |
+
},
|
| 920 |
+
{
|
| 921 |
+
"type": "text",
|
| 922 |
+
"text": "Additionally, the distance-aware reward $R_{\\mathrm{D}}$ measures spatial accuracy by combining two components: (1) a binary reward for whether the predicted point lies within the target bounding box, and (2) a precision reward based on the normalized distance to the box center. This encourages both correct region prediction and fine-grained localization:",
|
| 923 |
+
"bbox": [
|
| 924 |
+
507,
|
| 925 |
+
250,
|
| 926 |
+
882,
|
| 927 |
+
362
|
| 928 |
+
],
|
| 929 |
+
"page_idx": 4
|
| 930 |
+
},
|
| 931 |
+
{
|
| 932 |
+
"type": "equation",
|
| 933 |
+
"text": "\n$$\nR _ {D} = R _ {a c c} + R _ {d i s t} \\tag {10}\n$$\n",
|
| 934 |
+
"text_format": "latex",
|
| 935 |
+
"bbox": [
|
| 936 |
+
620,
|
| 937 |
+
379,
|
| 938 |
+
880,
|
| 939 |
+
394
|
| 940 |
+
],
|
| 941 |
+
"page_idx": 4
|
| 942 |
+
},
|
| 943 |
+
{
|
| 944 |
+
"type": "text",
|
| 945 |
+
"text": "i. Accuracy Reward. We assign a base reward calculating whether the predicted point $(x', y')$ falls inside the ground-truth bounding box $B = [(x_1, y_1), (x_2, y_2)]$ :",
|
| 946 |
+
"bbox": [
|
| 947 |
+
507,
|
| 948 |
+
400,
|
| 949 |
+
880,
|
| 950 |
+
464
|
| 951 |
+
],
|
| 952 |
+
"page_idx": 4
|
| 953 |
+
},
|
| 954 |
+
{
|
| 955 |
+
"type": "equation",
|
| 956 |
+
"text": "\n$$\nR _ {\\mathrm {a c c}} = \\left\\{ \\begin{array}{l l} 0. 5, & \\text {i f} \\left(x ^ {\\prime}, y ^ {\\prime}\\right) \\in B \\\\ 0, & \\text {o t h e r w i s e} \\end{array} \\right. \\tag {11}\n$$\n",
|
| 957 |
+
"text_format": "latex",
|
| 958 |
+
"bbox": [
|
| 959 |
+
579,
|
| 960 |
+
472,
|
| 961 |
+
880,
|
| 962 |
+
512
|
| 963 |
+
],
|
| 964 |
+
"page_idx": 4
|
| 965 |
+
},
|
| 966 |
+
{
|
| 967 |
+
"type": "text",
|
| 968 |
+
"text": "ii. Precision Reward. If the point is within the box, we compute the normalized Euclidean distance $\\hat{d}$ from the predicted coordinate $(x', y')$ to the center of the target box $(x_c, y_c)$ :",
|
| 969 |
+
"bbox": [
|
| 970 |
+
507,
|
| 971 |
+
518,
|
| 972 |
+
880,
|
| 973 |
+
583
|
| 974 |
+
],
|
| 975 |
+
"page_idx": 4
|
| 976 |
+
},
|
| 977 |
+
{
|
| 978 |
+
"type": "equation",
|
| 979 |
+
"text": "\n$$\n\\left(x _ {c}, y _ {c}\\right) = \\left(\\frac {x _ {1} + x _ {2}}{2}, \\frac {y _ {1} + y _ {2}}{2}\\right) \\tag {12}\n$$\n",
|
| 980 |
+
"text_format": "latex",
|
| 981 |
+
"bbox": [
|
| 982 |
+
573,
|
| 983 |
+
589,
|
| 984 |
+
880,
|
| 985 |
+
623
|
| 986 |
+
],
|
| 987 |
+
"page_idx": 4
|
| 988 |
+
},
|
| 989 |
+
{
|
| 990 |
+
"type": "equation",
|
| 991 |
+
"text": "\n$$\n\\hat {d} = \\frac {\\sqrt {\\left(x ^ {\\prime} - x _ {c}\\right) ^ {2} + \\left(y ^ {\\prime} - y _ {c}\\right) ^ {2}}}{\\sqrt {\\left(x _ {2} - x _ {1}\\right) \\left(y _ {2} - y _ {1}\\right)}} \\tag {13}\n$$\n",
|
| 992 |
+
"text_format": "latex",
|
| 993 |
+
"bbox": [
|
| 994 |
+
576,
|
| 995 |
+
630,
|
| 996 |
+
880,
|
| 997 |
+
668
|
| 998 |
+
],
|
| 999 |
+
"page_idx": 4
|
| 1000 |
+
},
|
| 1001 |
+
{
|
| 1002 |
+
"type": "text",
|
| 1003 |
+
"text": "We then define the precision reward based on discrete distance intervals:",
|
| 1004 |
+
"bbox": [
|
| 1005 |
+
507,
|
| 1006 |
+
671,
|
| 1007 |
+
880,
|
| 1008 |
+
701
|
| 1009 |
+
],
|
| 1010 |
+
"page_idx": 4
|
| 1011 |
+
},
|
| 1012 |
+
{
|
| 1013 |
+
"type": "equation",
|
| 1014 |
+
"text": "\n$$\nR _ {\\text {d i s t}} = \\left\\{ \\begin{array}{l l} 0. 5, & \\hat {d} \\leq 0. 1 \\\\ 0. 3, & 0. 1 < \\hat {d} \\leq 0. 3 \\\\ 0. 2, & 0. 3 < \\hat {d} \\leq 0. 5 \\\\ 0. 0, & \\hat {d} > 0. 5 \\end{array} \\right. \\tag {14}\n$$\n",
|
| 1015 |
+
"text_format": "latex",
|
| 1016 |
+
"bbox": [
|
| 1017 |
+
578,
|
| 1018 |
+
706,
|
| 1019 |
+
880,
|
| 1020 |
+
785
|
| 1021 |
+
],
|
| 1022 |
+
"page_idx": 4
|
| 1023 |
+
},
|
| 1024 |
+
{
|
| 1025 |
+
"type": "text",
|
| 1026 |
+
"text": "To provide a clear and stepped gradient for precision improvement, we empirically determine the thresholds and reward values for our reward formulation. This design provides a continuous and informative learning signal that encourages the model to both select the correct action type and localize it precisely, promoting stable convergence and robust behavior in dense GUI layouts.",
|
| 1027 |
+
"bbox": [
|
| 1028 |
+
507,
|
| 1029 |
+
793,
|
| 1030 |
+
882,
|
| 1031 |
+
920
|
| 1032 |
+
],
|
| 1033 |
+
"page_idx": 4
|
| 1034 |
+
},
|
| 1035 |
+
{
|
| 1036 |
+
"type": "page_number",
|
| 1037 |
+
"text": "9152",
|
| 1038 |
+
"bbox": [
|
| 1039 |
+
478,
|
| 1040 |
+
927,
|
| 1041 |
+
519,
|
| 1042 |
+
940
|
| 1043 |
+
],
|
| 1044 |
+
"page_idx": 4
|
| 1045 |
+
},
|
| 1046 |
+
{
|
| 1047 |
+
"type": "table",
|
| 1048 |
+
"img_path": "images/51d1ebee0553bce024b6f976be05c36d23c5c27303fe55dd2ed2a13d371b0f40.jpg",
|
| 1049 |
+
"table_caption": [],
|
| 1050 |
+
"table_footnote": [],
|
| 1051 |
+
"table_body": "<table><tr><td rowspan=\"2\">Method</td><td colspan=\"3\">Development</td><td colspan=\"3\">Creative</td><td colspan=\"3\">CAD</td><td colspan=\"3\">Scientific</td><td colspan=\"3\">Office</td><td colspan=\"3\">OS</td><td colspan=\"3\">Overall</td></tr><tr><td colspan=\"3\">Text Icon Avg</td><td colspan=\"3\">Text Icon Avg</td><td colspan=\"3\">Text Icon Avg</td><td colspan=\"3\">Text Icon Avg</td><td colspan=\"3\">Text Icon Avg</td><td colspan=\"3\">Text Icon Avg</td><td colspan=\"3\">Text Icon Avg</td></tr><tr><td>GPT-4o (OpenAI et al., 2024)</td><td>1.3</td><td>0.0</td><td>0.7</td><td>1.0</td><td>0.0</td><td>0.6</td><td>2.0</td><td>0.0</td><td>1.5</td><td>2.1</td><td>0.0</td><td>1.2</td><td>1.1</td><td>0.0</td><td>0.9</td><td>0.0</td><td>0.0</td><td>0.0</td><td>1.3</td><td>0.0</td><td>0.8</td></tr><tr><td>ShowUI-2B (Lin et al., 2024)</td><td>16.9</td><td>1.4</td><td>9.4</td><td>9.1</td><td>0.0</td><td>5.3</td><td>2.5</td><td>0.0</td><td>1.9</td><td>13.2</td><td>7.3</td><td>10.6</td><td>15.3</td><td>7.5</td><td>13.5</td><td>10.3</td><td>2.2</td><td>6.6</td><td>10.8</td><td>2.6</td><td>7.7</td></tr><tr><td>AriaUI-3.9B (Yang et al., 2024)</td><td>16.2</td><td>0.0</td><td>8.4</td><td>23.7</td><td>2.1</td><td>14.7</td><td>7.6</td><td>1.6</td><td>6.1</td><td>27.1</td><td>6.4</td><td>18.1</td><td>20.3</td><td>1.9</td><td>16.1</td><td>4.7</td><td>0.0</td><td>2.6</td><td>17.1</td><td>2.0</td><td>11.3</td></tr><tr><td>OSAtlas-4B (Wu et al., 2024)</td><td>7.1</td><td>0.0</td><td>3.7</td><td>3.0</td><td>1.4</td><td>2.3</td><td>2.0</td><td>0.0</td><td>1.5</td><td>9.0</td><td>5.5</td><td>7.5</td><td>5.1</td><td>3.8</td><td>4.8</td><td>5.6</td><td>0.0</td><td>3.1</td><td>5.0</td><td>1.7</td><td>3.7</td></tr><tr><td>QwenVL-7B (Bai et al., 2023)</td><td>0.0</td><td>0.0</td><td>0.0</td><td>0.0</td><td>0.0</td><td>0.0</td><td>0.0</td><td>0.0</td><td>0.0</td><td>0.7</td><td>0.0</td><td>0.4</td><td>0.0</td><td>0.0</td><td>0.0</td><td>0.0</td><td>0.0</td><td>0.0</td><td>0.1</td><td>0.0</td><td>0.1</td></tr><tr><td>Qwen2-VL-7B (Wang et al., 2024c)</td><td>2.6</td><td>0.0</td><td>1.3</td><td>1.5</td><td>0.0</td><td>0.9</td><td>0.5</td><td>0.0</td><td>0.4</td><td>6.3</td><td>0.0</td><td>3.5</td><td>3.4</td><td>1.9</td><td>3.0</td><td>0.9</td><td>0.0</td><td>0.5</td><td>2.5</td><td>0.2</td><td>1.6</td></tr><tr><td>SeeClick-7B (Cheng et al., 2024)</td><td>0.6</td><td>0.0</td><td>0.3</td><td>1.0</td><td>0.0</td><td>0.6</td><td>2.5</td><td>0.0</td><td>1.9</td><td>3.5</td><td>0.0</td><td>2.0</td><td>1.1</td><td>0.0</td><td>0.9</td><td>2.8</td><td>0.0</td><td>1.5</td><td>1.8</td><td>0.0</td><td>1.1</td></tr><tr><td>CogAgent-18B (Hong et al., 2024)</td><td>14.9</td><td>0.7</td><td>8.0</td><td>9.6</td><td>0.0</td><td>5.6</td><td>7.1</td><td>3.1</td><td>6.1</td><td>22.2</td><td>1.8</td><td>13.4</td><td>13.0</td><td>0.0</td><td>10.0</td><td>5.6</td><td>0.0</td><td>3.1</td><td>12.0</td><td>0.8</td><td>7.7</td></tr><tr><td>UGround-7B (Gou et al., 2025)</td><td>26.6</td><td>2.1</td><td>14.7</td><td>27.3</td><td>2.8</td><td>17.0</td><td>14.2</td><td>1.6</td><td>11.1</td><td>31.9</td><td>2.7</td><td>19.3</td><td>31.6</td><td>11.3</td><td>27.0</td><td>17.8</td><td>0.0</td><td>9.7</td><td>25.0</td><td>2.8</td><td>16.5</td></tr><tr><td>OSAtlas-7B (Wu et al., 2024)</td><td>33.1</td><td>1.4</td><td>17.7</td><td>28.8</td><td>2.8</td><td>17.9</td><td>12.2</td><td>4.7</td><td>10.3</td><td>37.5</td><td>7.3</td><td>24.4</td><td>33.9</td><td>5.7</td><td>27.4</td><td>27.1</td><td>4.5</td><td>16.8</td><td>28.1</td><td>4.0</td><td>18.9</td></tr><tr><td>InReAct</td><td>35.7</td><td>1.4</td><td>19.0</td><td>33.3</td><td>2.1</td><td>20.2</td><td>13.2</td><td>1.6</td><td>10.7</td><td>41.7</td><td>10.0</td><td>27.9</td><td>42.4</td><td>3.8</td><td>33.5</td><td>23.4</td><td>1.1</td><td>17.3</td><td>31.4</td><td>3.3</td><td>20.7</td></tr></table>",
|
| 1052 |
+
"bbox": [
|
| 1053 |
+
117,
|
| 1054 |
+
80,
|
| 1055 |
+
880,
|
| 1056 |
+
255
|
| 1057 |
+
],
|
| 1058 |
+
"page_idx": 5
|
| 1059 |
+
},
|
| 1060 |
+
{
|
| 1061 |
+
"type": "text",
|
| 1062 |
+
"text": "3.3 Inference Procedure",
|
| 1063 |
+
"text_level": 1,
|
| 1064 |
+
"bbox": [
|
| 1065 |
+
112,
|
| 1066 |
+
305,
|
| 1067 |
+
319,
|
| 1068 |
+
319
|
| 1069 |
+
],
|
| 1070 |
+
"page_idx": 5
|
| 1071 |
+
},
|
| 1072 |
+
{
|
| 1073 |
+
"type": "text",
|
| 1074 |
+
"text": "During inference, our agent adopts an interlaced observe-think-action workflow that sequentially executes tasks by observing the interface, thinking through the instruction, and predicting the next action. Given the input $O_{t} = (S,G,H)$ , where $S$ is the GUI screenshot, $G$ is the task instruction, and $A_{<t} = \\{a_{1},\\dots,a_{t-1}\\}$ denotes the history of executed actions, the model first generates an observation summary $\\hat{o}_{t}$ , then infers a reasoning trace $\\hat{r}_{t}$ conditioned on $\\hat{o}_{t}$ and $G$ , and finally predicts the next action $a_{t} = (T',x',y')$ based on both. This process is repeated until task completion or a maximum number of steps is reached, enabling goal-driven, interpretable decision-making in complex GUI environments.",
|
| 1075 |
+
"bbox": [
|
| 1076 |
+
112,
|
| 1077 |
+
326,
|
| 1078 |
+
489,
|
| 1079 |
+
567
|
| 1080 |
+
],
|
| 1081 |
+
"page_idx": 5
|
| 1082 |
+
},
|
| 1083 |
+
{
|
| 1084 |
+
"type": "text",
|
| 1085 |
+
"text": "4 Experiment",
|
| 1086 |
+
"text_level": 1,
|
| 1087 |
+
"bbox": [
|
| 1088 |
+
112,
|
| 1089 |
+
581,
|
| 1090 |
+
253,
|
| 1091 |
+
598
|
| 1092 |
+
],
|
| 1093 |
+
"page_idx": 5
|
| 1094 |
+
},
|
| 1095 |
+
{
|
| 1096 |
+
"type": "text",
|
| 1097 |
+
"text": "4.1 Experiment Setup",
|
| 1098 |
+
"text_level": 1,
|
| 1099 |
+
"bbox": [
|
| 1100 |
+
112,
|
| 1101 |
+
609,
|
| 1102 |
+
302,
|
| 1103 |
+
625
|
| 1104 |
+
],
|
| 1105 |
+
"page_idx": 5
|
| 1106 |
+
},
|
| 1107 |
+
{
|
| 1108 |
+
"type": "text",
|
| 1109 |
+
"text": "Datasets We evaluate our model on two tasks: GUI grounding and navigation.",
|
| 1110 |
+
"bbox": [
|
| 1111 |
+
112,
|
| 1112 |
+
631,
|
| 1113 |
+
487,
|
| 1114 |
+
662
|
| 1115 |
+
],
|
| 1116 |
+
"page_idx": 5
|
| 1117 |
+
},
|
| 1118 |
+
{
|
| 1119 |
+
"type": "text",
|
| 1120 |
+
"text": "For Grounding, we use ScreenSpot (Cheng et al., 2024) and ScreenSpot-Pro (Li et al., 2025b). ScreenSpot contains 1,272 samples across mobile, desktop, and web platforms, focusing on common interface elements. ScreenSpot-Pro includes 23 professional applications with high-resolution and complex layouts, offering a more challenging evaluation.",
|
| 1121 |
+
"bbox": [
|
| 1122 |
+
112,
|
| 1123 |
+
663,
|
| 1124 |
+
487,
|
| 1125 |
+
790
|
| 1126 |
+
],
|
| 1127 |
+
"page_idx": 5
|
| 1128 |
+
},
|
| 1129 |
+
{
|
| 1130 |
+
"type": "text",
|
| 1131 |
+
"text": "For Navigation, we use: (i) Mind2Web (Deng et al., 2023), a web-based dataset for evaluating generalist agents that perform complex tasks via language instructions. It includes 7,775 training actions and three test splits (task, website, domain), with aligned HTML and screenshots. (ii) Android-Control (Li et al., 2024), a mobile dataset testing multi-step task execution in realistic Android en",
|
| 1132 |
+
"bbox": [
|
| 1133 |
+
112,
|
| 1134 |
+
791,
|
| 1135 |
+
489,
|
| 1136 |
+
921
|
| 1137 |
+
],
|
| 1138 |
+
"page_idx": 5
|
| 1139 |
+
},
|
| 1140 |
+
{
|
| 1141 |
+
"type": "table",
|
| 1142 |
+
"img_path": "images/4989979ecd0c2587e79ba130a675a38741c0eaa88aa2c2268c61cb5a7d70f149.jpg",
|
| 1143 |
+
"table_caption": [
|
| 1144 |
+
"Table 2: GUI grounding results on ScreenSpot-Pro dataset."
|
| 1145 |
+
],
|
| 1146 |
+
"table_footnote": [],
|
| 1147 |
+
"table_body": "<table><tr><td rowspan=\"2\">Method</td><td colspan=\"2\">Mobile</td><td colspan=\"2\">Desktop</td><td colspan=\"2\">Web</td><td rowspan=\"2\">Average</td></tr><tr><td>Text</td><td>Icon</td><td>Text</td><td>Icon</td><td>Text</td><td>Icon</td></tr><tr><td>GPT-4 (OpenAI, 2023)</td><td>22.6</td><td>24.5</td><td>20.2</td><td>11.8</td><td>9.2</td><td>8.8</td><td>16.7</td></tr><tr><td>GPT-4o (OpenAI et al., 2024)</td><td>20.2</td><td>24.9</td><td>21.1</td><td>23.6</td><td>12.2</td><td>7.8</td><td>18.1</td></tr><tr><td>Gemini-1.5-pro (Team, 2024)</td><td>76.2</td><td>54.1</td><td>65.5</td><td>39.2</td><td>52.2</td><td>32.0</td><td>53.2</td></tr><tr><td>Qwen2-VL-2B (Wang et al., 2024c)</td><td>24.2</td><td>10.0</td><td>1.4</td><td>9.3</td><td>8.7</td><td>2.41</td><td>9.3</td></tr><tr><td>Qwen2-VL-7B (Wang et al., 2024c)</td><td>61.3</td><td>39.3</td><td>52.0</td><td>45.0</td><td>33.0</td><td>21.8</td><td>42.9</td></tr><tr><td>CogAgent-18B (Hong et al., 2024)</td><td>67.0</td><td>24.0</td><td>74.2</td><td>20.0</td><td>70.4</td><td>28.6</td><td>47.4</td></tr><tr><td>Seeclick-7B (Cheng et al., 2024)</td><td>78.0</td><td>52.0</td><td>72.2</td><td>30.0</td><td>55.7</td><td>32.5</td><td>53.4</td></tr><tr><td>UGround-7B (Gou et al., 2025)</td><td>82.8</td><td>60.3</td><td>82.5</td><td>63.6</td><td>80.4</td><td>70.4</td><td>73.3</td></tr><tr><td>ShowUI-2B (Lin et al., 2024)</td><td>92.3</td><td>75.5</td><td>76.3</td><td>61.1</td><td>81.7</td><td>63.6</td><td>75.1</td></tr><tr><td>InfiGUIAgent-2B (Liu et al., 2025b)</td><td>88.6</td><td>74.7</td><td>85.6</td><td>65.0</td><td>79.1</td><td>64.6</td><td>76.3</td></tr><tr><td>InReAct</td><td>86.1</td><td>71.6</td><td>84.5</td><td>65.7</td><td>82.2</td><td>70.4</td><td>77.8</td></tr></table>",
|
| 1148 |
+
"bbox": [
|
| 1149 |
+
510,
|
| 1150 |
+
302,
|
| 1151 |
+
882,
|
| 1152 |
+
430
|
| 1153 |
+
],
|
| 1154 |
+
"page_idx": 5
|
| 1155 |
+
},
|
| 1156 |
+
{
|
| 1157 |
+
"type": "text",
|
| 1158 |
+
"text": "Table 3: GUI grounding results on ScreenSpot dataset.",
|
| 1159 |
+
"bbox": [
|
| 1160 |
+
507,
|
| 1161 |
+
439,
|
| 1162 |
+
880,
|
| 1163 |
+
455
|
| 1164 |
+
],
|
| 1165 |
+
"page_idx": 5
|
| 1166 |
+
},
|
| 1167 |
+
{
|
| 1168 |
+
"type": "text",
|
| 1169 |
+
"text": "vironments, emphasizing long-term planning and state tracking.",
|
| 1170 |
+
"bbox": [
|
| 1171 |
+
507,
|
| 1172 |
+
480,
|
| 1173 |
+
880,
|
| 1174 |
+
513
|
| 1175 |
+
],
|
| 1176 |
+
"page_idx": 5
|
| 1177 |
+
},
|
| 1178 |
+
{
|
| 1179 |
+
"type": "text",
|
| 1180 |
+
"text": "See datasets details in appendix A.",
|
| 1181 |
+
"bbox": [
|
| 1182 |
+
527,
|
| 1183 |
+
513,
|
| 1184 |
+
786,
|
| 1185 |
+
527
|
| 1186 |
+
],
|
| 1187 |
+
"page_idx": 5
|
| 1188 |
+
},
|
| 1189 |
+
{
|
| 1190 |
+
"type": "text",
|
| 1191 |
+
"text": "Evaluation Metrics We use the metrics proposed in the corresponding datasets as shown in Table 7. Although they have different names, these metrics are similar: GUI grounding tasks consistently measure the hit rate of predicted bounding boxes, while GUI navigation tasks focus on single-step accuracy.",
|
| 1192 |
+
"bbox": [
|
| 1193 |
+
507,
|
| 1194 |
+
539,
|
| 1195 |
+
882,
|
| 1196 |
+
634
|
| 1197 |
+
],
|
| 1198 |
+
"page_idx": 5
|
| 1199 |
+
},
|
| 1200 |
+
{
|
| 1201 |
+
"type": "text",
|
| 1202 |
+
"text": "Click Accuracy. The proportion of test samples where the predicted location falls in the ground truth element's bounding box.",
|
| 1203 |
+
"bbox": [
|
| 1204 |
+
507,
|
| 1205 |
+
636,
|
| 1206 |
+
880,
|
| 1207 |
+
684
|
| 1208 |
+
],
|
| 1209 |
+
"page_idx": 5
|
| 1210 |
+
},
|
| 1211 |
+
{
|
| 1212 |
+
"type": "text",
|
| 1213 |
+
"text": "Element Accuracy (Ele.Acc). Comparing the selected element with all acceptable elements. For vision-based methods, it is the same as Click Accuracy.",
|
| 1214 |
+
"bbox": [
|
| 1215 |
+
507,
|
| 1216 |
+
684,
|
| 1217 |
+
880,
|
| 1218 |
+
747
|
| 1219 |
+
],
|
| 1220 |
+
"page_idx": 5
|
| 1221 |
+
},
|
| 1222 |
+
{
|
| 1223 |
+
"type": "text",
|
| 1224 |
+
"text": "Operation F1 (Op.F1). Token-level F1 score for the predicted operation.",
|
| 1225 |
+
"bbox": [
|
| 1226 |
+
507,
|
| 1227 |
+
750,
|
| 1228 |
+
880,
|
| 1229 |
+
781
|
| 1230 |
+
],
|
| 1231 |
+
"page_idx": 5
|
| 1232 |
+
},
|
| 1233 |
+
{
|
| 1234 |
+
"type": "text",
|
| 1235 |
+
"text": "Step Success Rate (Step SR) and Step Accuracy. The proportion of successful steps. A step is regarded as successful only if both the selected element and the predicted operation are correct.",
|
| 1236 |
+
"bbox": [
|
| 1237 |
+
507,
|
| 1238 |
+
782,
|
| 1239 |
+
882,
|
| 1240 |
+
846
|
| 1241 |
+
],
|
| 1242 |
+
"page_idx": 5
|
| 1243 |
+
},
|
| 1244 |
+
{
|
| 1245 |
+
"type": "text",
|
| 1246 |
+
"text": "Baselines We compare the performance of our model with various baselines, including some closed source large models such as GPT-4o (OpenAI et al., 2024), Gemini-1.5-pro (Team, 2024)",
|
| 1247 |
+
"bbox": [
|
| 1248 |
+
507,
|
| 1249 |
+
857,
|
| 1250 |
+
882,
|
| 1251 |
+
921
|
| 1252 |
+
],
|
| 1253 |
+
"page_idx": 5
|
| 1254 |
+
},
|
| 1255 |
+
{
|
| 1256 |
+
"type": "page_number",
|
| 1257 |
+
"text": "9153",
|
| 1258 |
+
"bbox": [
|
| 1259 |
+
480,
|
| 1260 |
+
927,
|
| 1261 |
+
519,
|
| 1262 |
+
940
|
| 1263 |
+
],
|
| 1264 |
+
"page_idx": 5
|
| 1265 |
+
},
|
| 1266 |
+
{
|
| 1267 |
+
"type": "table",
|
| 1268 |
+
"img_path": "images/6a397039a40e3fab06647b4139ce39be79af4db15ebadb80cf71332bb1150e87.jpg",
|
| 1269 |
+
"table_caption": [],
|
| 1270 |
+
"table_footnote": [],
|
| 1271 |
+
"table_body": "<table><tr><td rowspan=\"2\">Method</td><td colspan=\"3\">Cross-Task</td><td colspan=\"3\">Cross-Website</td><td colspan=\"3\">Cross-Domain</td></tr><tr><td>Ele.Acc</td><td>Op.F1</td><td>Step.SR</td><td>Ele.Acc</td><td>Op.F1</td><td>Step.SR</td><td>Ele.Acc</td><td>Op.F1</td><td>Step.SR</td></tr><tr><td>GPT-4 (OpenAI, 2023)</td><td>41.6</td><td>60.6</td><td>36.2</td><td>35.8</td><td>51.1</td><td>30.1</td><td>37.1</td><td>46.5</td><td>26.4</td></tr><tr><td>OmniParser (Lu et al., 2024)</td><td>42.4</td><td>87.6</td><td>39.4</td><td>41.0</td><td>84.8</td><td>36.5</td><td>45.5</td><td>85.7</td><td>42.0</td></tr><tr><td>Qwen2-VL-2B (Wang et al., 2024c)</td><td>37.7</td><td>86.4</td><td>33.2</td><td>36.0</td><td>79.2</td><td>27.6</td><td>36.3</td><td>81.8</td><td>30.7</td></tr><tr><td>ShowUI-2B (Lin et al., 2024)</td><td>39.9</td><td>88.6</td><td>37.2</td><td>41.6</td><td>83.5</td><td>35.1</td><td>39.4</td><td>86.8</td><td>35.2</td></tr><tr><td>SpiritSight-2B (Huang et al., 2025)</td><td>51.7</td><td>87.2</td><td>44.9</td><td>44.9</td><td>83.6</td><td>37.8</td><td>42.4</td><td>83.5</td><td>36.9</td></tr><tr><td>SeeClick-7B (Cheng et al., 2024)</td><td>28.3</td><td>87.0</td><td>25.5</td><td>21.4</td><td>80.6</td><td>16.4</td><td>23.2</td><td>84.8</td><td>20.8</td></tr><tr><td>CogAgent-18B (Hong et al., 2024)</td><td>22.4</td><td>53.0</td><td>17.6</td><td>18.4</td><td>42.4</td><td>13.4</td><td>20.6</td><td>42.0</td><td>15.5</td></tr><tr><td>InReAct</td><td>57.8</td><td>89.4</td><td>50.8</td><td>52.6</td><td>88.8</td><td>47.4</td><td>55.4</td><td>85.4</td><td>49.2</td></tr></table>",
|
| 1272 |
+
"bbox": [
|
| 1273 |
+
115,
|
| 1274 |
+
80,
|
| 1275 |
+
884,
|
| 1276 |
+
233
|
| 1277 |
+
],
|
| 1278 |
+
"page_idx": 6
|
| 1279 |
+
},
|
| 1280 |
+
{
|
| 1281 |
+
"type": "table",
|
| 1282 |
+
"img_path": "images/664c9984e36d94c9becae36d527f75e4add00e781107186845594edca69f2cea.jpg",
|
| 1283 |
+
"table_caption": [
|
| 1284 |
+
"Table 4: GUI navigation results on Mind2web dataset."
|
| 1285 |
+
],
|
| 1286 |
+
"table_footnote": [],
|
| 1287 |
+
"table_body": "<table><tr><td>Method</td><td>Low-Level</td><td>High-Level</td></tr><tr><td>Claude* (Anthropic, 2024)</td><td>19.4</td><td>12.5</td></tr><tr><td>GPT-4o (OpenAI et al., 2024)</td><td>19.4</td><td>20.8</td></tr><tr><td>Aria-UI-3.9B (Yang et al., 2024)</td><td>67.3</td><td>10.2</td></tr><tr><td>OS-Atlas-4B (Wu et al., 2024)</td><td>80.6</td><td>67.5</td></tr><tr><td>Aguvis-7B (Xu et al., 2024)</td><td>80.5</td><td>61.5</td></tr><tr><td>InReAct</td><td>83.1</td><td>68.1</td></tr></table>",
|
| 1288 |
+
"bbox": [
|
| 1289 |
+
119,
|
| 1290 |
+
278,
|
| 1291 |
+
485,
|
| 1292 |
+
390
|
| 1293 |
+
],
|
| 1294 |
+
"page_idx": 6
|
| 1295 |
+
},
|
| 1296 |
+
{
|
| 1297 |
+
"type": "text",
|
| 1298 |
+
"text": "Table 5: GUI navigation results on AndroidControl dataset.",
|
| 1299 |
+
"bbox": [
|
| 1300 |
+
112,
|
| 1301 |
+
399,
|
| 1302 |
+
487,
|
| 1303 |
+
429
|
| 1304 |
+
],
|
| 1305 |
+
"page_idx": 6
|
| 1306 |
+
},
|
| 1307 |
+
{
|
| 1308 |
+
"type": "text",
|
| 1309 |
+
"text": "and Claude(Anthropic, 2024), as well as numerous open-source GUI agents such as SpiritSight-2B (Huang et al., 2025), AGUVIS-7B (Xu et al., 2024), Uground (Gou et al., 2025), Aria-UI(Yang et al., 2024), OSAtlas (Wu et al., 2024), ShowUI (Lin et al., 2024), InfGUIAgent (Liu et al., 2025b), UGround (Gou et al., 2025), CogAgent (Hong et al., 2024), SeeClick (Cheng et al., 2024), Qwen2-VL-2B, Qwen2-VL-7B (Wang et al., 2024c). Implementation details refer to appendix B.",
|
| 1310 |
+
"bbox": [
|
| 1311 |
+
112,
|
| 1312 |
+
454,
|
| 1313 |
+
490,
|
| 1314 |
+
615
|
| 1315 |
+
],
|
| 1316 |
+
"page_idx": 6
|
| 1317 |
+
},
|
| 1318 |
+
{
|
| 1319 |
+
"type": "text",
|
| 1320 |
+
"text": "4.2 Overall Performance",
|
| 1321 |
+
"text_level": 1,
|
| 1322 |
+
"bbox": [
|
| 1323 |
+
112,
|
| 1324 |
+
626,
|
| 1325 |
+
326,
|
| 1326 |
+
640
|
| 1327 |
+
],
|
| 1328 |
+
"page_idx": 6
|
| 1329 |
+
},
|
| 1330 |
+
{
|
| 1331 |
+
"type": "text",
|
| 1332 |
+
"text": "GUI Grounding Evaluation The evaluation results on the ScreenSpot (Cheng et al., 2024) are presented in Table 3. Our model achieves an average accuracy of $77.8\\%$ , outperforming all competing baselines, including both open-source and commercial GUI agents. In particular, Our model surpasses strong 2B-level models such as ShowUI $(75.1\\%)$ and InfigUIAgent $(76.3\\%)$ , and even outperforms several significantly larger models such as CogAgent $(47.4\\%, 18\\mathrm{B})$ and UGround $(73.3\\%, 7\\mathrm{B})$ .",
|
| 1333 |
+
"bbox": [
|
| 1334 |
+
112,
|
| 1335 |
+
646,
|
| 1336 |
+
490,
|
| 1337 |
+
822
|
| 1338 |
+
],
|
| 1339 |
+
"page_idx": 6
|
| 1340 |
+
},
|
| 1341 |
+
{
|
| 1342 |
+
"type": "text",
|
| 1343 |
+
"text": "As in shown in table 2, on the more challenging ScreenSpot-Pro (Li et al., 2025b) dataset, our method achieves an overall accuracy of $20.7\\%$ , representing a substantial improvement under complex, high-resolution desktop GUI environments. This dataset covers a wide spectrum of profes",
|
| 1344 |
+
"bbox": [
|
| 1345 |
+
112,
|
| 1346 |
+
825,
|
| 1347 |
+
490,
|
| 1348 |
+
921
|
| 1349 |
+
],
|
| 1350 |
+
"page_idx": 6
|
| 1351 |
+
},
|
| 1352 |
+
{
|
| 1353 |
+
"type": "text",
|
| 1354 |
+
"text": "sional software, including CAD tools, scientific platforms, development IDEs, and creative applications, each demanding fine-grained grounding of visually dense and domain-specific interfaces. Despite the increased difficulty, our model consistently outperforms previous strong baselines. It exceeds ShowUI by $13.0\\%$ percentage points and surpasses AriaUI by $9.4\\%$ points, demonstrating particularly strong capabilities in GUI grounding",
|
| 1355 |
+
"bbox": [
|
| 1356 |
+
507,
|
| 1357 |
+
281,
|
| 1358 |
+
884,
|
| 1359 |
+
428
|
| 1360 |
+
],
|
| 1361 |
+
"page_idx": 6
|
| 1362 |
+
},
|
| 1363 |
+
{
|
| 1364 |
+
"type": "text",
|
| 1365 |
+
"text": "GUI Navigation Evaluation On Mind2Web (Deng et al., 2023), the task requires agents to perform realistic web navigation across diverse websites. As shown in Table 4, InReAct achieves strong performance across all three generalization splits—cross-task, cross-website, and cross-domain—outperforming previous methods in terms of element grounding accuracy, operation-level F1, and step-wise success rate. This indicates that our model not only understands the semantics of web elements but also makes consistent and interpretable action decisions across varying environments. The consistent gains across generalization splits demonstrate InReAct's robustness in unseen task goals and layouts.",
|
| 1366 |
+
"bbox": [
|
| 1367 |
+
507,
|
| 1368 |
+
462,
|
| 1369 |
+
884,
|
| 1370 |
+
703
|
| 1371 |
+
],
|
| 1372 |
+
"page_idx": 6
|
| 1373 |
+
},
|
| 1374 |
+
{
|
| 1375 |
+
"type": "text",
|
| 1376 |
+
"text": "On AndroidControl (Li et al., 2024), we evaluate the model under two settings: Low-Level, which focuses on simple, mostly single-step interactions (e.g., tapping a button); and High-Level, which involves complex, multi-step instructions with long-horizon dependencies. As shown in Table 5, InReAct achieves 83.1 on the Low-Level set and 68.1 on the High-Level set, outperforming all prior baselines. While strong results in Low-Level indicate precise grounding and action formulation, the improvements in High-Level highlight the model's ability to plan and reason over multi-step interaction sequences.",
|
| 1377 |
+
"bbox": [
|
| 1378 |
+
507,
|
| 1379 |
+
711,
|
| 1380 |
+
885,
|
| 1381 |
+
921
|
| 1382 |
+
],
|
| 1383 |
+
"page_idx": 6
|
| 1384 |
+
},
|
| 1385 |
+
{
|
| 1386 |
+
"type": "page_number",
|
| 1387 |
+
"text": "9154",
|
| 1388 |
+
"bbox": [
|
| 1389 |
+
480,
|
| 1390 |
+
927,
|
| 1391 |
+
521,
|
| 1392 |
+
940
|
| 1393 |
+
],
|
| 1394 |
+
"page_idx": 6
|
| 1395 |
+
},
|
| 1396 |
+
{
|
| 1397 |
+
"type": "text",
|
| 1398 |
+
"text": "4.3 Ablation Study",
|
| 1399 |
+
"text_level": 1,
|
| 1400 |
+
"bbox": [
|
| 1401 |
+
112,
|
| 1402 |
+
84,
|
| 1403 |
+
278,
|
| 1404 |
+
99
|
| 1405 |
+
],
|
| 1406 |
+
"page_idx": 7
|
| 1407 |
+
},
|
| 1408 |
+
{
|
| 1409 |
+
"type": "text",
|
| 1410 |
+
"text": "As summarized in Table 6, we conduct ablation studies to assess the impact of the proposed strategies in both curriculum learning (CL) and reinforcement learning (RL) training stages. For Mind2Web and AndroidControl, we only reported the results on cross-task SR and High-level. There are several notable observations as follows:",
|
| 1411 |
+
"bbox": [
|
| 1412 |
+
112,
|
| 1413 |
+
107,
|
| 1414 |
+
489,
|
| 1415 |
+
218
|
| 1416 |
+
],
|
| 1417 |
+
"page_idx": 7
|
| 1418 |
+
},
|
| 1419 |
+
{
|
| 1420 |
+
"type": "text",
|
| 1421 |
+
"text": "Curriculum Learning We examine the role of each step in our curriculum learning framework. Removing Step 1, where the model learns basic GUI interactions, leads to a significant performance drop, as the agent fails to acquire essential skills. Similarly, omitting Steps 2 and 3, which introduce grounding and reasoning tasks progressively, also harms performance, showing their importance for understanding and reasoning over GUI elements. Furthermore, replacing curriculum learning with multi-task training across all steps results in worse performance, demonstrating that staged, gradual training enhances learning and generalization more effectively than joint training.",
|
| 1422 |
+
"bbox": [
|
| 1423 |
+
115,
|
| 1424 |
+
231,
|
| 1425 |
+
489,
|
| 1426 |
+
457
|
| 1427 |
+
],
|
| 1428 |
+
"page_idx": 7
|
| 1429 |
+
},
|
| 1430 |
+
{
|
| 1431 |
+
"type": "text",
|
| 1432 |
+
"text": "Reinforcement Learning To further evaluate the effectiveness of the reinforcement learning (RL) stage, we first replace it with a standard supervised fine-tuning (SFT) setup. The results show that RL brings consistent performance gains across all datasets. On the two navigation datasets—Mind2Web and AndroidControl—RL yields improvements of $+5.1$ and $+4.3$ , respectively, demonstrating its ability to produce more accurate actions and more robust decision-making.",
|
| 1433 |
+
"bbox": [
|
| 1434 |
+
112,
|
| 1435 |
+
468,
|
| 1436 |
+
489,
|
| 1437 |
+
629
|
| 1438 |
+
],
|
| 1439 |
+
"page_idx": 7
|
| 1440 |
+
},
|
| 1441 |
+
{
|
| 1442 |
+
"type": "text",
|
| 1443 |
+
"text": "Furthermore, to specifically justify our reward function design within the RL framework, we compare our proposed piecewise reward function against two alternatives: a binary (hit-or-miss) reward, which provides an accuracy signal without any dedicated precision component, similar to approaches in works like UI-R1 and GUI-R1, and a continuous linear reward (defined as $R_{dist} = 1 - \\hat{d}$ , where $\\hat{d}$ is the normalized distance to the target's center). This analysis, presented in Table 6, reveals that the design of the reward signal plays an important role. On ScreenSpot, our method (77.8) outperforms both the linear (77.0) and binary (76.8) baselines. On the more challenging ScreenSpot-Pro dataset, our approach (20.7) also provides a modest but consistent improvement over the linear (20.3) and binary (19.8) rewards.",
|
| 1444 |
+
"bbox": [
|
| 1445 |
+
112,
|
| 1446 |
+
630,
|
| 1447 |
+
489,
|
| 1448 |
+
903
|
| 1449 |
+
],
|
| 1450 |
+
"page_idx": 7
|
| 1451 |
+
},
|
| 1452 |
+
{
|
| 1453 |
+
"type": "text",
|
| 1454 |
+
"text": "The advantage of our piecewise reward function",
|
| 1455 |
+
"bbox": [
|
| 1456 |
+
131,
|
| 1457 |
+
904,
|
| 1458 |
+
487,
|
| 1459 |
+
921
|
| 1460 |
+
],
|
| 1461 |
+
"page_idx": 7
|
| 1462 |
+
},
|
| 1463 |
+
{
|
| 1464 |
+
"type": "text",
|
| 1465 |
+
"text": "lies in two aspects. First, it delivers clearer learning signals by introducing reward \"steps,\" which motivate the agent to cross precision thresholds rather than being limited by diminishing returns near the target. Second, it aligns more closely with real-world GUI logic, where clicks have discrete outcomes—successful or not—and central clicks are inherently safer than edge clicks. This design thus captures the practical structure of interaction more faithfully than a simple linear function. It is worth noting that our thresholds are chosen empirically and may not be optimal; further tuning is left for future work.",
|
| 1466 |
+
"bbox": [
|
| 1467 |
+
507,
|
| 1468 |
+
84,
|
| 1469 |
+
884,
|
| 1470 |
+
292
|
| 1471 |
+
],
|
| 1472 |
+
"page_idx": 7
|
| 1473 |
+
},
|
| 1474 |
+
{
|
| 1475 |
+
"type": "text",
|
| 1476 |
+
"text": "Impact of Observation and Reasoning Components The results, presented in Table 6, underscore the importance of both components within our observe-think-act cycle. Removing the thinking phase (w/o Thought) leads to a consistent and significant performance drop across all four benchmarks, with the most notable decreases observed on the complex ScreenSpot-Pro (-2.5 points) and AndroidControl (-2.3 points) datasets. This indicates that the explicit reasoning step is crucial for formulating effective plans and making robust decisions in challenging environments.",
|
| 1477 |
+
"bbox": [
|
| 1478 |
+
507,
|
| 1479 |
+
305,
|
| 1480 |
+
884,
|
| 1481 |
+
495
|
| 1482 |
+
],
|
| 1483 |
+
"page_idx": 7
|
| 1484 |
+
},
|
| 1485 |
+
{
|
| 1486 |
+
"type": "text",
|
| 1487 |
+
"text": "Similarly, removing the observation phase (w/o Observation) also consistently degrades performance across all tested datasets, such as causing a 1.8-point drop on ScreenSpot. An interesting finding is that the performance degradation from removing the thinking phase is more pronounced than that from removing the observation phase on the three more complex datasets. This suggests that while both components are beneficial, the structured reasoning provided by the \"Thinking\" step is arguably the most critical factor for the agent's success in complex scenarios. These findings strongly justify the synergistic design of our InReAct framework.",
|
| 1488 |
+
"bbox": [
|
| 1489 |
+
507,
|
| 1490 |
+
499,
|
| 1491 |
+
884,
|
| 1492 |
+
722
|
| 1493 |
+
],
|
| 1494 |
+
"page_idx": 7
|
| 1495 |
+
},
|
| 1496 |
+
{
|
| 1497 |
+
"type": "text",
|
| 1498 |
+
"text": "4.4 Case Study",
|
| 1499 |
+
"text_level": 1,
|
| 1500 |
+
"bbox": [
|
| 1501 |
+
507,
|
| 1502 |
+
737,
|
| 1503 |
+
643,
|
| 1504 |
+
753
|
| 1505 |
+
],
|
| 1506 |
+
"page_idx": 7
|
| 1507 |
+
},
|
| 1508 |
+
{
|
| 1509 |
+
"type": "text",
|
| 1510 |
+
"text": "To qualitatively assess the effectiveness of our proposed curriculum learning and reinforcement learning strategies, we conduct a case study on the ScreenSpot dataset. As illustrated in Figure 3, we present two pairs of examples highlighting the contributions of each training stage.",
|
| 1511 |
+
"bbox": [
|
| 1512 |
+
507,
|
| 1513 |
+
759,
|
| 1514 |
+
884,
|
| 1515 |
+
854
|
| 1516 |
+
],
|
| 1517 |
+
"page_idx": 7
|
| 1518 |
+
},
|
| 1519 |
+
{
|
| 1520 |
+
"type": "text",
|
| 1521 |
+
"text": "In Figure 3a, without curriculum learning, the agent clicks on the text \"Only draw with Apple Pencil\" instead of the adjacent switch, showing weak perception and semantic grounding. In contrast,",
|
| 1522 |
+
"bbox": [
|
| 1523 |
+
507,
|
| 1524 |
+
857,
|
| 1525 |
+
884,
|
| 1526 |
+
921
|
| 1527 |
+
],
|
| 1528 |
+
"page_idx": 7
|
| 1529 |
+
},
|
| 1530 |
+
{
|
| 1531 |
+
"type": "page_number",
|
| 1532 |
+
"text": "9155",
|
| 1533 |
+
"bbox": [
|
| 1534 |
+
480,
|
| 1535 |
+
927,
|
| 1536 |
+
519,
|
| 1537 |
+
940
|
| 1538 |
+
],
|
| 1539 |
+
"page_idx": 7
|
| 1540 |
+
},
|
| 1541 |
+
{
|
| 1542 |
+
"type": "table",
|
| 1543 |
+
"img_path": "images/fa04b9d2d3e4f10af929a2abff5f7432deb4ccc9c52bbc2d2e4ccfe0aa6cd735.jpg",
|
| 1544 |
+
"table_caption": [],
|
| 1545 |
+
"table_footnote": [],
|
| 1546 |
+
"table_body": "<table><tr><td>Method</td><td>ScreenSpot</td><td>ScreenSpot-Pro</td><td>Mind2Web</td><td>AndroidControl</td></tr><tr><td>InReAct</td><td>77.8</td><td>20.7</td><td>50.8</td><td>68.1</td></tr><tr><td colspan=\"5\">Stage 1: Curriculum Learning</td></tr><tr><td>- w/o Step 1</td><td>76.3</td><td>19.2</td><td>47.4</td><td>65.9</td></tr><tr><td>- w/o Step 2</td><td>68.6</td><td>10.8</td><td>37.8</td><td>57.4</td></tr><tr><td>- w/o Step 3</td><td>74.7</td><td>17.4</td><td>42.5</td><td>62.3</td></tr><tr><td>- w/o curriculum</td><td>75.4</td><td>19.5</td><td>48.5</td><td>66.4</td></tr><tr><td colspan=\"5\">Stage 2: Reinforcement Learning</td></tr><tr><td>- w/ Binary Reward</td><td>76.8</td><td>19.8</td><td>49.2</td><td>67.0</td></tr><tr><td>- w/ Linear Reward</td><td>77.0</td><td>20.3</td><td>50.2</td><td>67.3</td></tr><tr><td>- w/ SFT</td><td>76.2</td><td>16.8</td><td>45.7</td><td>63.8</td></tr><tr><td colspan=\"5\">Ablation on Agent Components</td></tr><tr><td>- w/o Observation</td><td>76.0</td><td>19.7</td><td>49.2</td><td>66.8</td></tr><tr><td>- w/o Thought</td><td>76.6</td><td>18.2</td><td>48.6</td><td>65.8</td></tr></table>",
|
| 1547 |
+
"bbox": [
|
| 1548 |
+
114,
|
| 1549 |
+
80,
|
| 1550 |
+
884,
|
| 1551 |
+
346
|
| 1552 |
+
],
|
| 1553 |
+
"page_idx": 8
|
| 1554 |
+
},
|
| 1555 |
+
{
|
| 1556 |
+
"type": "text",
|
| 1557 |
+
"text": "Table 6: Ablation study of INREACT. We evaluate the impact of different training stages, reward functions, and core agent components. For Mind2Web, we report the Step SR on the cross-task split, while for AndroidControl, we report results on the High-Level setting.",
|
| 1558 |
+
"bbox": [
|
| 1559 |
+
112,
|
| 1560 |
+
354,
|
| 1561 |
+
882,
|
| 1562 |
+
398
|
| 1563 |
+
],
|
| 1564 |
+
"page_idx": 8
|
| 1565 |
+
},
|
| 1566 |
+
{
|
| 1567 |
+
"type": "image",
|
| 1568 |
+
"img_path": "images/30242008ba5479c269d169dc7468980d1329845214b4c78763a0798043ee748e.jpg",
|
| 1569 |
+
"image_caption": [
|
| 1570 |
+
"(a) $x$ Instruction:\"Only draw with apple pencil\". Without curriculum learning"
|
| 1571 |
+
],
|
| 1572 |
+
"image_footnote": [],
|
| 1573 |
+
"bbox": [
|
| 1574 |
+
115,
|
| 1575 |
+
413,
|
| 1576 |
+
287,
|
| 1577 |
+
504
|
| 1578 |
+
],
|
| 1579 |
+
"page_idx": 8
|
| 1580 |
+
},
|
| 1581 |
+
{
|
| 1582 |
+
"type": "image",
|
| 1583 |
+
"img_path": "images/22dd080ce9d2cf4d857ca9c2d851439be4f122d7d136e250706666981b471fa5.jpg",
|
| 1584 |
+
"image_caption": [
|
| 1585 |
+
"(b) $\\checkmark$ Instruction:\"Only draw with apple pencil\". InReAct achieves accurate grounding"
|
| 1586 |
+
],
|
| 1587 |
+
"image_footnote": [],
|
| 1588 |
+
"bbox": [
|
| 1589 |
+
317,
|
| 1590 |
+
413,
|
| 1591 |
+
487,
|
| 1592 |
+
504
|
| 1593 |
+
],
|
| 1594 |
+
"page_idx": 8
|
| 1595 |
+
},
|
| 1596 |
+
{
|
| 1597 |
+
"type": "image",
|
| 1598 |
+
"img_path": "images/ca2ace5599a4fd0f17d5279997bea001d349def88360af261eaf366502053830.jpg",
|
| 1599 |
+
"image_caption": [
|
| 1600 |
+
"(c) $X$ Instruction:\"Zoom in\". Without reinforcement learning",
|
| 1601 |
+
"Figure 3: Case study on ScreenSpot dataset."
|
| 1602 |
+
],
|
| 1603 |
+
"image_footnote": [],
|
| 1604 |
+
"bbox": [
|
| 1605 |
+
115,
|
| 1606 |
+
562,
|
| 1607 |
+
285,
|
| 1608 |
+
665
|
| 1609 |
+
],
|
| 1610 |
+
"page_idx": 8
|
| 1611 |
+
},
|
| 1612 |
+
{
|
| 1613 |
+
"type": "image",
|
| 1614 |
+
"img_path": "images/69de77b5a31c00e1f912585b6529d2dd3c56ab4bda9e80489f6566c91236f082.jpg",
|
| 1615 |
+
"image_caption": [
|
| 1616 |
+
"(d) $\\checkmark$ Instruction:\"Zoom in\". InReAct achieves accurate grounding"
|
| 1617 |
+
],
|
| 1618 |
+
"image_footnote": [],
|
| 1619 |
+
"bbox": [
|
| 1620 |
+
315,
|
| 1621 |
+
562,
|
| 1622 |
+
487,
|
| 1623 |
+
665
|
| 1624 |
+
],
|
| 1625 |
+
"page_idx": 8
|
| 1626 |
+
},
|
| 1627 |
+
{
|
| 1628 |
+
"type": "text",
|
| 1629 |
+
"text": "InReAct (Figure 3b) correctly targets the switch, indicating better alignment between instructions and interface elements.",
|
| 1630 |
+
"bbox": [
|
| 1631 |
+
112,
|
| 1632 |
+
758,
|
| 1633 |
+
487,
|
| 1634 |
+
804
|
| 1635 |
+
],
|
| 1636 |
+
"page_idx": 8
|
| 1637 |
+
},
|
| 1638 |
+
{
|
| 1639 |
+
"type": "text",
|
| 1640 |
+
"text": "In Figure 3c, without reinforcement learning, for the instruction \"Zoom in,\" the predicted click point is near the correct bounding box but slightly outside it, indicating general understanding but lacking fine-grained precision. In contrast, as shown in Figure 3d, InReAct achieves significantly more accurate localization, clicking within the target re",
|
| 1641 |
+
"bbox": [
|
| 1642 |
+
112,
|
| 1643 |
+
808,
|
| 1644 |
+
489,
|
| 1645 |
+
921
|
| 1646 |
+
],
|
| 1647 |
+
"page_idx": 8
|
| 1648 |
+
},
|
| 1649 |
+
{
|
| 1650 |
+
"type": "text",
|
| 1651 |
+
"text": "gion. This confirms that our reinforcement learning stage enhances fine-grained control.",
|
| 1652 |
+
"bbox": [
|
| 1653 |
+
507,
|
| 1654 |
+
416,
|
| 1655 |
+
880,
|
| 1656 |
+
448
|
| 1657 |
+
],
|
| 1658 |
+
"page_idx": 8
|
| 1659 |
+
},
|
| 1660 |
+
{
|
| 1661 |
+
"type": "text",
|
| 1662 |
+
"text": "5 Conclusion",
|
| 1663 |
+
"text_level": 1,
|
| 1664 |
+
"bbox": [
|
| 1665 |
+
507,
|
| 1666 |
+
458,
|
| 1667 |
+
640,
|
| 1668 |
+
474
|
| 1669 |
+
],
|
| 1670 |
+
"page_idx": 8
|
| 1671 |
+
},
|
| 1672 |
+
{
|
| 1673 |
+
"type": "text",
|
| 1674 |
+
"text": "In this paper, we present INREACT, a multimodal GUI agent framework that integrates observation, reasoning, and action for complex GUI interactions. It is trained in two stages: curriculum-learning to build perception, grounding, and reasoning skills, followed by reinforcement learning with a task-specific reward that improves action correctness and spatial precision.",
|
| 1675 |
+
"bbox": [
|
| 1676 |
+
507,
|
| 1677 |
+
485,
|
| 1678 |
+
884,
|
| 1679 |
+
613
|
| 1680 |
+
],
|
| 1681 |
+
"page_idx": 8
|
| 1682 |
+
},
|
| 1683 |
+
{
|
| 1684 |
+
"type": "text",
|
| 1685 |
+
"text": "We evaluate INREACT across four datasets: ScreenSpot, ScreenSpot-Pro, Mind2Web, and AndroidControl, and demonstrate consistent improvements over prior methods. Our findings highlight the effectiveness of combining structured learning and outcome-driven optimization for enhancing GUI agent performance, setting a new direction for generalizable and interpretable vision-language agents.",
|
| 1686 |
+
"bbox": [
|
| 1687 |
+
507,
|
| 1688 |
+
614,
|
| 1689 |
+
882,
|
| 1690 |
+
759
|
| 1691 |
+
],
|
| 1692 |
+
"page_idx": 8
|
| 1693 |
+
},
|
| 1694 |
+
{
|
| 1695 |
+
"type": "page_number",
|
| 1696 |
+
"text": "9156",
|
| 1697 |
+
"bbox": [
|
| 1698 |
+
480,
|
| 1699 |
+
927,
|
| 1700 |
+
521,
|
| 1701 |
+
940
|
| 1702 |
+
],
|
| 1703 |
+
"page_idx": 8
|
| 1704 |
+
},
|
| 1705 |
+
{
|
| 1706 |
+
"type": "text",
|
| 1707 |
+
"text": "Acknowledgments",
|
| 1708 |
+
"text_level": 1,
|
| 1709 |
+
"bbox": [
|
| 1710 |
+
114,
|
| 1711 |
+
84,
|
| 1712 |
+
278,
|
| 1713 |
+
101
|
| 1714 |
+
],
|
| 1715 |
+
"page_idx": 9
|
| 1716 |
+
},
|
| 1717 |
+
{
|
| 1718 |
+
"type": "text",
|
| 1719 |
+
"text": "This research was supported by Key-Area Research and Development Program of Guangdong Province, Granted No. 2024B1111060004.",
|
| 1720 |
+
"bbox": [
|
| 1721 |
+
112,
|
| 1722 |
+
109,
|
| 1723 |
+
489,
|
| 1724 |
+
156
|
| 1725 |
+
],
|
| 1726 |
+
"page_idx": 9
|
| 1727 |
+
},
|
| 1728 |
+
{
|
| 1729 |
+
"type": "text",
|
| 1730 |
+
"text": "Limitations",
|
| 1731 |
+
"text_level": 1,
|
| 1732 |
+
"bbox": [
|
| 1733 |
+
114,
|
| 1734 |
+
168,
|
| 1735 |
+
220,
|
| 1736 |
+
184
|
| 1737 |
+
],
|
| 1738 |
+
"page_idx": 9
|
| 1739 |
+
},
|
| 1740 |
+
{
|
| 1741 |
+
"type": "text",
|
| 1742 |
+
"text": "Limited Action Space Coverage Our current action space, while sufficient for common GUI interactions such as click, type, and scroll, does not fully cover the diversity of real-world GUI operations. Advanced actions like drag-and-drop, multi-touch gestures, system-level controls, or context-menu navigation are not well supported in our framework. Extending the action space to include such capabilities would be essential for achieving broader applicability in real-world software environments.",
|
| 1743 |
+
"bbox": [
|
| 1744 |
+
112,
|
| 1745 |
+
193,
|
| 1746 |
+
490,
|
| 1747 |
+
355
|
| 1748 |
+
],
|
| 1749 |
+
"page_idx": 9
|
| 1750 |
+
},
|
| 1751 |
+
{
|
| 1752 |
+
"type": "text",
|
| 1753 |
+
"text": "Inference Speed and Efficiency Although In-ReAct achieves strong performance on various GUI tasks, its inference speed has room for optimization. The structured reasoning process—particularly the multi-step observation and thinking phases—introduces additional computational overhead. This may affect the agent's ability to perform real-time or near-real-time interactions, which is crucial for applications requiring fast response times. Future work could explore model compression, caching mechanisms, or streamlined reasoning pipelines to improve efficiency.",
|
| 1754 |
+
"bbox": [
|
| 1755 |
+
112,
|
| 1756 |
+
363,
|
| 1757 |
+
489,
|
| 1758 |
+
557
|
| 1759 |
+
],
|
| 1760 |
+
"page_idx": 9
|
| 1761 |
+
},
|
| 1762 |
+
{
|
| 1763 |
+
"type": "text",
|
| 1764 |
+
"text": "Limited Handling of Dynamic Interfaces Our experiments are primarily conducted on static interfaces. However, real-world GUI applications often involve dynamic content updates, such as pop-up notifications, auto Refreshing elements, or state transitions, that can disrupt perception and decision-making. Our current framework lacks explicit mechanisms to detect, adapt to, or reason about such changes over time. Incorporating temporal modeling or environment change detection would be a valuable direction for future research.",
|
| 1765 |
+
"bbox": [
|
| 1766 |
+
112,
|
| 1767 |
+
565,
|
| 1768 |
+
489,
|
| 1769 |
+
741
|
| 1770 |
+
],
|
| 1771 |
+
"page_idx": 9
|
| 1772 |
+
},
|
| 1773 |
+
{
|
| 1774 |
+
"type": "text",
|
| 1775 |
+
"text": "References",
|
| 1776 |
+
"text_level": 1,
|
| 1777 |
+
"bbox": [
|
| 1778 |
+
114,
|
| 1779 |
+
768,
|
| 1780 |
+
213,
|
| 1781 |
+
783
|
| 1782 |
+
],
|
| 1783 |
+
"page_idx": 9
|
| 1784 |
+
},
|
| 1785 |
+
{
|
| 1786 |
+
"type": "list",
|
| 1787 |
+
"sub_type": "ref_text",
|
| 1788 |
+
"list_items": [
|
| 1789 |
+
"Anthropic. 2024. Developing a computer use model. https://www.anthropic.com/news/ developing-computer-use. Accessed: 2025-04- 12.",
|
| 1790 |
+
"Jinze Bai, Shuai Bai, Shusheng Yang, Shijie Wang, Sinan Tan, Peng Wang, Junyang Lin, Chang Zhou, and Jingren Zhou. 2023. Qwen-vl: A frontier large vision-language model with versatile abilities. CoRR, abs/2308.12966."
|
| 1791 |
+
],
|
| 1792 |
+
"bbox": [
|
| 1793 |
+
115,
|
| 1794 |
+
791,
|
| 1795 |
+
489,
|
| 1796 |
+
920
|
| 1797 |
+
],
|
| 1798 |
+
"page_idx": 9
|
| 1799 |
+
},
|
| 1800 |
+
{
|
| 1801 |
+
"type": "list",
|
| 1802 |
+
"sub_type": "ref_text",
|
| 1803 |
+
"list_items": [
|
| 1804 |
+
"Shuai Bai, Keqin Chen, Xuejing Liu, Jialin Wang, Wenbin Ge, Sibo Song, Kai Dang, Peng Wang, Shijie Wang, Jun Tang, Humen Zhong, Yuanzhi Zhu, Ming-Hsuan Yang, Zhaohai Li, Jianqiang Wan, Pengfei Wang, Wei Ding, Zheren Fu, Yiheng Xu, and 8 others. 2025. Qwen2.5-vl technical report. CoRR, abs/2502.13923.",
|
| 1805 |
+
"Liang Chen, Lei Li, Haozhe Zhao, Yifan Song, and Vinci. 2025. R1-v: Reinforcing super generalization ability in vision-language models with less than $3. https://github.com/Deep-Agent/R1-V. Accessed: 2025-02-02.",
|
| 1806 |
+
"Wentong Chen, Junbo Cui, Jinyi Hu, Yujia Qin, Junjie Fang, Yue Zhao, Chongyi Wang, Jun Liu, Guirong Chen, Yupeng Huo, Yuan Yao, Yankai Lin, Zhiyuan Liu, and Maosong Sun. 2024. Guicourse: From general vision language models to versatile GUI agents. CoRR, abs/2406.11317.",
|
| 1807 |
+
"Zhe Chen, Jiannan Wu, Wenhai Wang, Weijie Su, Guo Chen, Sen Xing, Muyan Zhong, Qinglong Zhang, Xizhou Zhu, Lewei Lu, Bin Li, Ping Luo, Tong Lu, Yu Qiao, and Jifeng Dai. 2023. Internvl: Scaling up vision foundation models and aligning for generic visual-linguistic tasks. CoRR, abs/2312.14238.",
|
| 1808 |
+
"Kanzhi Cheng, Qiushi Sun, Yougang Chu, Fangzhi Xu, Yantao Li, Jianbing Zhang, and Zhiyong Wu. 2024. Seeclick: Harnessing GUI grounding for advanced visual GUI agents. In Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), ACL 2024, Bangkok, Thailand, August 11-16, 2024, pages 9313-9332. Association for Computational Linguistics.",
|
| 1809 |
+
"Xiang Deng, Yu Gu, Boyuan Zheng, Shijie Chen, Samual Stevens, Boshi Wang, Huan Sun, and Yu Su. 2023. Mind2web: Towards a generalist agent for the web. In Advances in Neural Information Processing Systems 36: Annual Conference on Neural Information Processing Systems 2023, NeurIPS 2023, New Orleans, LA, USA, December 10 - 16, 2023.",
|
| 1810 |
+
"Boyu Gou, Ruohan Wang, Boyuan Zheng, Yanan Xie, Cheng Chang, Yiheng Shu, Huan Sun, and Yu Su. 2025. Navigating the digital world as humans do: Universal visual grounding for GUI agents. In The Thirteenth International Conference on Learning Representations, ICLR 2025, Singapore, April 24-28, 2025. OpenReview.net.",
|
| 1811 |
+
"Daya Guo, Dejian Yang, Haowei Zhang, Junxiao Song, Ruoyu Zhang, Runxin Xu, Qihao Zhu, Shirong Ma, Peiyi Wang, Xiao Bi, and 1 others. 2025. Deepseek-r1: Incentivizing reasoning capability in llms via reinforcement learning. arXiv preprint arXiv:2501.12948.",
|
| 1812 |
+
"Wenyi Hong, Weihan Wang, Qingsong Lv, Jiazheng Xu, Wenmeng Yu, Junhui Ji, Yan Wang, Zihan Wang, Yuxiao Dong, Ming Ding, and Jie Tang. 2024. Co-gagent: A visual language model for GUI agents. In IEEE/CVF Conference on Computer Vision and"
|
| 1813 |
+
],
|
| 1814 |
+
"bbox": [
|
| 1815 |
+
509,
|
| 1816 |
+
85,
|
| 1817 |
+
885,
|
| 1818 |
+
920
|
| 1819 |
+
],
|
| 1820 |
+
"page_idx": 9
|
| 1821 |
+
},
|
| 1822 |
+
{
|
| 1823 |
+
"type": "page_number",
|
| 1824 |
+
"text": "9157",
|
| 1825 |
+
"bbox": [
|
| 1826 |
+
480,
|
| 1827 |
+
927,
|
| 1828 |
+
519,
|
| 1829 |
+
940
|
| 1830 |
+
],
|
| 1831 |
+
"page_idx": 9
|
| 1832 |
+
},
|
| 1833 |
+
{
|
| 1834 |
+
"type": "list",
|
| 1835 |
+
"sub_type": "ref_text",
|
| 1836 |
+
"list_items": [
|
| 1837 |
+
"Pattern Recognition, CVPR 2024, Seattle, WA, USA, June 16-22, 2024, pages 14281-14290. IEEE.",
|
| 1838 |
+
"Yu-Chung Hsiao, Fedir Zubach, Maria Wang, and Jindong Chen. 2022. Screenqa: Large-scale question-answer pairs over mobile app screenshots. CoRR, abs/2209.08199.",
|
| 1839 |
+
"Zhiyuan Huang, Ziming Cheng, Junting Pan, Zhaohui Hou, and Mingjie Zhan. 2025. Spiritsight agent: Advanced GUI agent with one look. CoRR, abs/2503.03196.",
|
| 1840 |
+
"Aaron Jaech, Adam Kalai, Adam Lerer, Adam Richardson, Ahmed El-Kishky, Aiden Low, Alec Helyar, Aleksander Madry, Alex Beutel, Alex Carney, and 1 others. 2024. Openai o1 system card. arXiv preprint arXiv:2412.16720.",
|
| 1841 |
+
"Raghav Kapoor, Yash Parag Butala, Melisa Russak, Jing Yu Koh, Kiran Kamble, Waseem AlShikh, and Ruslan Salakhutdinov. 2024. Omniact: A dataset and benchmark for enabling multimodal generalist autonomous agents for desktop and web. In Computer Vision - ECCV 2024 - 18th European Conference, Milan, Italy, September 29-October 4, 2024, Proceedings, Part LXVIII, volume 15126 of Lecture Notes in Computer Science, pages 161-178. Springer.",
|
| 1842 |
+
"Hanyu Lai, Xiao Liu, Iat Long Iong, Shuntian Yao, Yuxuan Chen, Pengbo Shen, Hao Yu, Hanchen Zhang, Xiaohan Zhang, Yuxiao Dong, and Jie Tang. 2024. Autowebglm: A large language model-based web navigating agent. In Proceedings of the 30th ACM SIGKDD Conference on Knowledge Discovery and Data Mining, KDD 2024, Barcelona, Spain, August 25-29, 2024, pages 5295-5306. ACM.",
|
| 1843 |
+
"Hongxin Li, Jingfan Chen, Jingran Su, Yuntao Chen, Qing Li, and Zhaoxiang Zhang. 2025a. Autogui: Scaling GUI grounding with automatic functionality annotations from llms. CoRR, abs/2502.01977.",
|
| 1844 |
+
"Kaixin Li, Ziyang Meng, Hongzhan Lin, Ziyang Luo, Yuchen Tian, Jing Ma, Zhiyong Huang, and Tat-Seng Chua. 2025b. Screenshot-pro: Gui grounding for professional high-resolution computer use. Preprint, arXiv:2504.07981.",
|
| 1845 |
+
"Wei Li, William W. Bishop, Alice Li, Christopher Rawles, Folawiyo Campbell-Ajala, Divya Tyamagundlu, and Oriana Riva. 2024. On the effects of data scale on computer control agents. CoRR, abs/2406.03679.",
|
| 1846 |
+
"Kevin Qinghong Lin, Linjie Li, Difei Gao, Zhengyuan Yang, Shiwei Wu, Zechen Bai, Weixian Lei, Lijuan Wang, and Mike Zheng Shou. 2024. Showui: One vision-language-action model for GUI visual agent. CoRR, abs/2411.17465.",
|
| 1847 |
+
"Junpeng Liu, Tianyue Ou, Yifan Song, Yuxiao Qu, Wai Lam, Chenyan Xiong, Wenhu Chen, Graham Neubig, and Xiang Yue. 2025a. Harnessing webpage uis for text-rich visual understanding. In The Thirteenth International Conference on Learning Representations,"
|
| 1848 |
+
],
|
| 1849 |
+
"bbox": [
|
| 1850 |
+
115,
|
| 1851 |
+
85,
|
| 1852 |
+
489,
|
| 1853 |
+
920
|
| 1854 |
+
],
|
| 1855 |
+
"page_idx": 10
|
| 1856 |
+
},
|
| 1857 |
+
{
|
| 1858 |
+
"type": "list",
|
| 1859 |
+
"sub_type": "ref_text",
|
| 1860 |
+
"list_items": [
|
| 1861 |
+
"ICLR 2025, Singapore, April 24-28, 2025. OpenReview.net.",
|
| 1862 |
+
"Xiao Liu, Bo Qin, Dongzhu Liang, Guang Dong, Hanyu Lai, Hanchen Zhang, Hanlin Zhao, Iat Long Iong, Jiadai Sun, Jiaqi Wang, Junjie Gao, Junjun Shan, Kangning Liu, Shudan Zhang, Shuntian Yao, Siyi Cheng, Wentao Yao, Wenyi Zhao, Xinghan Liu, and 11 others. 2024. Autoglm: Autonomous foundation agents for guis. CoRR, abs/2411.00820.",
|
| 1863 |
+
"Yuhang Liu, Pengxiang Li, Zishu Wei, Congkai Xie, Xueyu Hu, Xinchen Xu, Shengyu Zhang, Xiaotian Han, Hongxia Yang, and Fei Wu. 2025b. Infiguia-gent: A multimodal generalist GUI agent with native reasoning and reflection. CoRR, abs/2501.04575.",
|
| 1864 |
+
"Ziyu Liu, Zeyi Sun, Yuhang Zang, Xiaoyi Dong, Yuhang Cao, Haodong Duan, Dahua Lin, and Jiaqi Wang. 2025c. Visual-rft: Visual reinforcement fine-tuning. CoRR, abs/2503.01785.",
|
| 1865 |
+
"Yadong Lu, Jianwei Yang, Yelong Shen, and Ahmed Awadallah. 2024. Omniparser for pure vision based GUI agent. CoRR, abs/2408.00203.",
|
| 1866 |
+
"Zhengxi Lu, Yuxiang Chai, Yaxuan Guo, Xi Yin, Liang Liu, Hao Wang, Han Xiao, Shuai Ren, Guanjing Xiong, and Hongsheng Li. 2025. Ui-r1: Enhancing efficient action prediction of gui agents by reinforcement learning. Preprint, arXiv:2503.21620.",
|
| 1867 |
+
"Haohao Luo, Yang Deng, Ying Shen, See-Kiong Ng, and Tat-Seng Chua. 2024. Chain-of-exemplar: Enhancing distractor generation for multimodal educational question generation. In Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), ACL 2024, Bangkok, Thailand, August 11-16, 2024, pages 7978-7993. Association for Computational Linguistics.",
|
| 1868 |
+
"Run Luo, Lu Wang, Wanwei He, and Xiaobo Xia. 2025. Gui-r1: A generalist r1-style vision-language action model for gui agents. Preprint, arXiv:2504.10458.",
|
| 1869 |
+
"OpenAI,., Aaron Hurst, Adam Lerer, Adam P. Goucher, Adam Perelman, Aditya Ramesh, Aidan Clark, AJ Ostrow, Akila Welihinda, Alan Hayes, Alec Radford, Aleksander Madry, Alex Baker-Whitcomb, Alex Beutel, Alex Borzunov, Alex Carney, Alex Chow, Alex Kirillov, and 401 others. 2024. Gpt-4o system card. Preprint, arXiv:2410.21276.",
|
| 1870 |
+
"OpenAI. 2023. GPT-4 technical report. CoRR, abs/2303.08774.",
|
| 1871 |
+
"Yujia Qin, Yining Ye, Junjie Fang, Haoming Wang, Shihao Liang, Shizuo Tian, Junda Zhang, Jiahao Li, Yunxin Li, Shijue Huang, Wanjun Zhong, Kuanye Li, Jiale Yang, Yu Miao, Woyu Lin, Longxiang Liu, Xu Jiang, Qianli Ma, Jingyu Li, and 16 others. 2025. UI-TARS: pioneering automated GUI interaction with native agents. CoRR, abs/2501.12326."
|
| 1872 |
+
],
|
| 1873 |
+
"bbox": [
|
| 1874 |
+
510,
|
| 1875 |
+
85,
|
| 1876 |
+
882,
|
| 1877 |
+
920
|
| 1878 |
+
],
|
| 1879 |
+
"page_idx": 10
|
| 1880 |
+
},
|
| 1881 |
+
{
|
| 1882 |
+
"type": "page_number",
|
| 1883 |
+
"text": "9158",
|
| 1884 |
+
"bbox": [
|
| 1885 |
+
480,
|
| 1886 |
+
928,
|
| 1887 |
+
519,
|
| 1888 |
+
940
|
| 1889 |
+
],
|
| 1890 |
+
"page_idx": 10
|
| 1891 |
+
},
|
| 1892 |
+
{
|
| 1893 |
+
"type": "list",
|
| 1894 |
+
"sub_type": "ref_text",
|
| 1895 |
+
"list_items": [
|
| 1896 |
+
"Samyam Rajbhandari, Jeff Rasley, Olatunji Ruwase, and Yuxiong He. 2020. Zero: memory optimizations toward training trillion parameter models. In Proceedings of the International Conference for High Performance Computing, Networking, Storage and Analysis, SC 2020, Virtual Event / Atlanta, Georgia, USA, November 9-19, 2020, page 20. IEEE/ACM.",
|
| 1897 |
+
"Zhihong Shao, Peiyi Wang, Qihao Zhu, Runxin Xu, Junxiao Song, Mingchuan Zhang, Y. K. Li, Y. Wu, and Daya Guo. 2024. Deepseekmath: Pushing the limits of mathematical reasoning in open language models. CoRR, abs/2402.03300.",
|
| 1898 |
+
"Haozhan Shen, Peng Liu, Jingcheng Li, Chunxin Fang, Yibo Ma, Jiajia Liao, Qiaoli Shen, Zilun Zhang, Kangjia Zhao, Qianqian Zhang, Ruochen Xu, and Tiancheng Zhao. 2025. Vlm-r1: A stable and generalizable r1-style large vision-language model. Preprint, arXiv:2504.07615.",
|
| 1899 |
+
"Gemini Team. 2024. Gemini 1.5: Unlocking multimodal understanding across millions of tokens of context. Preprint, arXiv:2403.05530.",
|
| 1900 |
+
"Junyang Wang, Haiyang Xu, Haitao Jia, Xi Zhang, Ming Yan, Weizhou Shen, Ji Zhang, Fei Huang, and Jitao Sang. 2024a. Mobile-agent-v2: Mobile device operation assistant with effective navigation via multi-agent collaboration. In Advances in Neural Information Processing Systems 38: Annual Conference on Neural Information Processing Systems 2024, NeurIPS 2024, Vancouver, BC, Canada, December 10 - 15, 2024.",
|
| 1901 |
+
"Junyang Wang, Haiyang Xu, Jiabo Ye, Ming Yan, Weizhou Shen, Ji Zhang, Fei Huang, and Jitao Sang. 2024b. Mobile-agent: Autonomous multi-modal mobile device agent with visual perception. CoRR, abs/2401.16158.",
|
| 1902 |
+
"Peng Wang, Shuai Bai, Sinan Tan, Shijie Wang, Zhihao Fan, Jinze Bai, Keqin Chen, Xuejing Liu, Jialin Wang, Wenbin Ge, Yang Fan, Kai Dang, Mengfei Du, Xuancheng Ren, Rui Men, Dayiheng Liu, Chang Zhou, Jingren Zhou, and Junyang Lin. 2024c. Qwen2-vl: Enhancing vision-language model's perception of the world at any resolution. CoRR, abs/2409.12191.",
|
| 1903 |
+
"Xin Wang, Yudong Chen, and Wenwu Zhu. 2022. A survey on curriculum learning. IEEE Trans. Pattern Anal. Mach. Intell., 44(9):4555-4576.",
|
| 1904 |
+
"Zhiyong Wu, Zhenyu Wu, Fangzhi Xu, Yian Wang, Qiushi Sun, Chengyou Jia, Kanzhi Cheng, Zichen Ding, Liheng Chen, Paul Pu Liang, and Yu Qiao. 2024. Os-atlas: A foundation action model for generalist gui agents. Preprint, arXiv:2410.23218.",
|
| 1905 |
+
"Yiheng Xu, Zekun Wang, Junli Wang, Dunjie Lu, Tianbao Xie, Amrita Saha, Doyen Sahoo, Tao Yu, and Caiming Xiong. 2024. Aguvis: Unified pure vision agents for autonomous gui interaction. Preprint, arXiv:2412.04454."
|
| 1906 |
+
],
|
| 1907 |
+
"bbox": [
|
| 1908 |
+
115,
|
| 1909 |
+
85,
|
| 1910 |
+
489,
|
| 1911 |
+
917
|
| 1912 |
+
],
|
| 1913 |
+
"page_idx": 11
|
| 1914 |
+
},
|
| 1915 |
+
{
|
| 1916 |
+
"type": "list",
|
| 1917 |
+
"sub_type": "ref_text",
|
| 1918 |
+
"list_items": [
|
| 1919 |
+
"Yuhao Yang, Yue Wang, Dongxu Li, Ziyang Luo, Bei Chen, Chao Huang, and Junnan Li. 2024. Ariaui: Visual grounding for gui instructions. Preprint, arXiv:2412.16256.",
|
| 1920 |
+
"Shunyu Yao, Jeffrey Zhao, Dian Yu, Nan Du, Izhak Shafran, Karthik R. Narasimhan, and Yuan Cao. 2023. React: Synergizing reasoning and acting in language models. In The Eleventh International Conference on Learning Representations, ICLR 2023, Kigali, Rwanda, May 1-5, 2023. OpenReview.net.",
|
| 1921 |
+
"Chi Zhang, Zhao Yang, Jiaxuan Liu, Yanda Li, Yucheng Han, Xin Chen, Zebiao Huang, Bin Fu, and Gang Yu. 2025. Appagent: Multimodal agents as smartphone users. In Proceedings of the 2025 CHI Conference on Human Factors in Computing Systems, CHI 2025, Yokohama Japan, 26 April 2025-1 May 2025, pages 70:1-70:20. ACM.",
|
| 1922 |
+
"Yaowei Zheng, Richong Zhang, Junhao Zhang, Yanhan Ye, Zheyan Luo, Zhangchi Feng, and Yongqiang Ma. 2024. Llamafactory: Unified efficient fine-tuning of $100+$ language models. In Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 3: System Demonstrations), Bangkok, Thailand. Association for Computational Linguistics."
|
| 1923 |
+
],
|
| 1924 |
+
"bbox": [
|
| 1925 |
+
510,
|
| 1926 |
+
85,
|
| 1927 |
+
880,
|
| 1928 |
+
443
|
| 1929 |
+
],
|
| 1930 |
+
"page_idx": 11
|
| 1931 |
+
},
|
| 1932 |
+
{
|
| 1933 |
+
"type": "text",
|
| 1934 |
+
"text": "A Datasets Details",
|
| 1935 |
+
"text_level": 1,
|
| 1936 |
+
"bbox": [
|
| 1937 |
+
512,
|
| 1938 |
+
456,
|
| 1939 |
+
685,
|
| 1940 |
+
470
|
| 1941 |
+
],
|
| 1942 |
+
"page_idx": 11
|
| 1943 |
+
},
|
| 1944 |
+
{
|
| 1945 |
+
"type": "text",
|
| 1946 |
+
"text": "We provide training data used in the curriculum learning stage and reinforcement learning stage, as well as statistical information for the four datasets used in the experiment, as shown in Table 8 and Table 7, respectively.",
|
| 1947 |
+
"bbox": [
|
| 1948 |
+
510,
|
| 1949 |
+
482,
|
| 1950 |
+
880,
|
| 1951 |
+
562
|
| 1952 |
+
],
|
| 1953 |
+
"page_idx": 11
|
| 1954 |
+
},
|
| 1955 |
+
{
|
| 1956 |
+
"type": "text",
|
| 1957 |
+
"text": "B Implementation Details",
|
| 1958 |
+
"text_level": 1,
|
| 1959 |
+
"bbox": [
|
| 1960 |
+
512,
|
| 1961 |
+
574,
|
| 1962 |
+
749,
|
| 1963 |
+
590
|
| 1964 |
+
],
|
| 1965 |
+
"page_idx": 11
|
| 1966 |
+
},
|
| 1967 |
+
{
|
| 1968 |
+
"type": "text",
|
| 1969 |
+
"text": "We build our GUI agent upon Qwen2-VL-2B-Instruct (Wang et al., 2024c), a vision-language model with strong general capabilities. It is worth noting that we chose Qwen2-VL-2B instead of Qwen's latest series Qwen2.5-VL-3B (Bai et al., 2025) because 2B is lighter, and most of the methods we compared used Qwen2-VL-2B as the base model or larger parameter models before Qwen2-VL. We validated the effectiveness of our proposed method in a fairer situation. The training process consists of two stages: Curriculum Learning (CL) and Reinforcement Learning (RL). For Curriculum Learning, we employ the LLaMA Factory (Zheng et al., 2024) framework for one epoch at each stage with the visual backbone frozen. We employ AdamW with a cosine annealing learning rate scheduler, setting the initial learning rate to 1e-5 and batch size to 16. For Reinforcement Learning, we use the R1-V (Chen et al., 2025) framework for training over two epochs, setting the initial learning",
|
| 1970 |
+
"bbox": [
|
| 1971 |
+
510,
|
| 1972 |
+
599,
|
| 1973 |
+
882,
|
| 1974 |
+
920
|
| 1975 |
+
],
|
| 1976 |
+
"page_idx": 11
|
| 1977 |
+
},
|
| 1978 |
+
{
|
| 1979 |
+
"type": "page_number",
|
| 1980 |
+
"text": "9159",
|
| 1981 |
+
"bbox": [
|
| 1982 |
+
480,
|
| 1983 |
+
928,
|
| 1984 |
+
519,
|
| 1985 |
+
940
|
| 1986 |
+
],
|
| 1987 |
+
"page_idx": 11
|
| 1988 |
+
},
|
| 1989 |
+
{
|
| 1990 |
+
"type": "table",
|
| 1991 |
+
"img_path": "images/0a1cc91930c2d672ae7eca19c0e4d7867e885591e852c5f086bcf92043e16e64.jpg",
|
| 1992 |
+
"table_caption": [],
|
| 1993 |
+
"table_footnote": [],
|
| 1994 |
+
"table_body": "<table><tr><td>Datasets</td><td>Platforms</td><td>Task</td><td>Metric</td><td># Test Samples</td><td>History?</td></tr><tr><td>ScreenSpot-Pro (Li et al., 2025b)</td><td>Web, PC, Mobile</td><td>Grounding</td><td>clickAcc</td><td>1,272</td><td>X</td></tr><tr><td>ScreenSpot (Cheng et al., 2024)</td><td>Web, PC, Mobile</td><td>Grounding</td><td>clickAcc</td><td>1,581</td><td>X</td></tr><tr><td>Mind2Web (Deng et al., 2023)</td><td>Web</td><td>Navigation</td><td>Ele.Acc, Op.F1, Step SR</td><td>6,418</td><td>✓</td></tr><tr><td>AndroidControl-High (Li et al., 2024)</td><td>Mobile</td><td>Navigation</td><td>Step Accuracy</td><td>8,444</td><td>✓</td></tr><tr><td>AndroidControl-Low (Li et al., 2024)</td><td>Mobile</td><td>Grounding</td><td>Step Accuracy</td><td>8,444</td><td>X</td></tr></table>",
|
| 1995 |
+
"bbox": [
|
| 1996 |
+
115,
|
| 1997 |
+
80,
|
| 1998 |
+
880,
|
| 1999 |
+
164
|
| 2000 |
+
],
|
| 2001 |
+
"page_idx": 12
|
| 2002 |
+
},
|
| 2003 |
+
{
|
| 2004 |
+
"type": "table",
|
| 2005 |
+
"img_path": "images/0dd1d5939e6588d21969f028a4d9a67677b88a0c02e6e4afd499df1d8cc7a22e.jpg",
|
| 2006 |
+
"table_caption": [
|
| 2007 |
+
"Table 7: Statistics of GUI datasets."
|
| 2008 |
+
],
|
| 2009 |
+
"table_footnote": [],
|
| 2010 |
+
"table_body": "<table><tr><td>Usage</td><td>Source</td><td>Number</td></tr><tr><td rowspan=\"7\">CL</td><td>GUIChat(Chen et al., 2024)</td><td>40k</td></tr><tr><td>ScreenQA (Hsiao et al., 2022)</td><td>17k</td></tr><tr><td>MultiUI (Liu et al., 2025a)</td><td>50k</td></tr><tr><td>AutoGUI (Li et al., 2025a)</td><td>50k</td></tr><tr><td>SeeClick (Cheng et al., 2024)</td><td>100k</td></tr><tr><td>GUIEnv (Chen et al., 2024)</td><td>100k</td></tr><tr><td>Aguvis-stage2 (Xu et al., 2024)</td><td>35k</td></tr><tr><td>RL</td><td>OmniAct (Kapoor et al., 2024)</td><td>2k</td></tr><tr><td>Total</td><td></td><td>394k</td></tr></table>",
|
| 2011 |
+
"bbox": [
|
| 2012 |
+
127,
|
| 2013 |
+
211,
|
| 2014 |
+
475,
|
| 2015 |
+
360
|
| 2016 |
+
],
|
| 2017 |
+
"page_idx": 12
|
| 2018 |
+
},
|
| 2019 |
+
{
|
| 2020 |
+
"type": "text",
|
| 2021 |
+
"text": "Table 8: Training data statistics from various sources.",
|
| 2022 |
+
"bbox": [
|
| 2023 |
+
117,
|
| 2024 |
+
370,
|
| 2025 |
+
480,
|
| 2026 |
+
384
|
| 2027 |
+
],
|
| 2028 |
+
"page_idx": 12
|
| 2029 |
+
},
|
| 2030 |
+
{
|
| 2031 |
+
"type": "text",
|
| 2032 |
+
"text": "rate to 1e-6 and batch size to 16. At each stage, we utilize the strategies of DeepSpeed optimization (Rajbhandari et al., 2020), BF16 format, and gradient checkpointing to save GPU memory. All training is conducted on $2^{*}\\mathrm{A}100$ GPU (80G).",
|
| 2033 |
+
"bbox": [
|
| 2034 |
+
112,
|
| 2035 |
+
410,
|
| 2036 |
+
489,
|
| 2037 |
+
491
|
| 2038 |
+
],
|
| 2039 |
+
"page_idx": 12
|
| 2040 |
+
},
|
| 2041 |
+
{
|
| 2042 |
+
"type": "page_number",
|
| 2043 |
+
"text": "9160",
|
| 2044 |
+
"bbox": [
|
| 2045 |
+
480,
|
| 2046 |
+
927,
|
| 2047 |
+
519,
|
| 2048 |
+
940
|
| 2049 |
+
],
|
| 2050 |
+
"page_idx": 12
|
| 2051 |
+
}
|
| 2052 |
+
]
|
2025/INREACT_ An Inspire-Then-Reinforce Training Framework For Multimodal GUI Agent/889785bd-0923-422b-bcca-82b35b178935_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2025/INREACT_ An Inspire-Then-Reinforce Training Framework For Multimodal GUI Agent/889785bd-0923-422b-bcca-82b35b178935_origin.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# INREACT: An Inspire-Then-Reinforce Training Framework For Multimodal GUI Agent
|
| 2 |
+
|
| 3 |
+
Yuanlei Wang $^{1*}$ , Liuzhou Zhang $^{2*}$ , Haohao Luo $^{1*}$ , Ying Shen $^{1,3\dagger}$
|
| 4 |
+
|
| 5 |
+
<sup>1</sup>Sun Yat-sen University, <sup>2</sup>Central China Normal University,
|
| 6 |
+
|
| 7 |
+
<sup>3</sup>Guangdong Provincial Key Laboratory of Fire Science and Intelligent Emergency Technology
|
| 8 |
+
|
| 9 |
+
{wangylei7, luohh5}@mail2.sysu.edu.cn,zlz212@mail.ccnu.edu.cn,
|
| 10 |
+
|
| 11 |
+
sheny76@mail.sysu.edu.cn
|
| 12 |
+
|
| 13 |
+
# Abstract
|
| 14 |
+
|
| 15 |
+
Graphical User Interface (GUI) interaction, which aims to develop an intelligent GUI agent that executes user instructions to perform tasks such as installing applications by controlling digital devices, has gained significant attention due to its practical value. Although current advanced multimodal large language models (LLMs) provide GUI agents with robust perception and reasoning capabilities, they often struggle with the precise localization of small elements. To tackle this problem, we propose INREACT, a multimodal GUI agent framework that unifies observing, thinking, and acting for precise and interpretable decision-making. It is trained via a two-stage process: curriculum learning to progressively build perception, grounding, and reasoning abilities, followed by reinforcement learning to refine pixel-level grounding with an outcome-based reward. We introduce a rule-based reward function that jointly optimizes action-type selection and pixel-level localization accuracy. Experimental results on multiple datasets demonstrate the superiority of INREACT in both grounding and navigation tasks.
|
| 16 |
+
|
| 17 |
+
# 1 Introduction
|
| 18 |
+
|
| 19 |
+
Graphical User Interface (GUI) interaction refers to a class of sequential decision-making tasks in which agents interpret user instructions and manipulate digital interfaces, including PCs and mobile devices, to accomplish specific goals. These interactions typically involve executing low-level operations like Click, Type, or Scroll in the correct order to complete complex tasks, such as searching for information. A capable GUI agent must possess two core abilities: visual observation and reasoning. Observation is particularly critical in GUI environments like PCs and mobile devices, where visual
|
| 20 |
+
|
| 21 |
+

|
| 22 |
+
Figure 1: Overview of the INREACT interaction
|
| 23 |
+
|
| 24 |
+
components are often densely packed and visually similar, making precise localization challenging. Meanwhile, reasoning is essential for complex, goal-directed interactions that involve sequential decision-making. Unlike single-step tasks, GUI interaction requires agents to consider both interface states and past actions. With the emergence of powerful multimodal large language models (MLLMs) (Wang et al., 2024c; Bai et al., 2025; Chen et al., 2023; Luo et al., 2024), recent approaches have enabled screenshot-based GUI control without relying on structured metadata such as HTML or accessibility trees (Zhang et al., 2025; Wang et al., 2024b). However, despite these advances, existing GUI agents still struggle with accurate grounding and coherent reasoning in complex, real-world scenarios.
|
| 25 |
+
|
| 26 |
+
To address the challenges of imprecise grounding and weak multi-step reasoning, recent efforts have focused on training MLLM-based GUI agents via supervised fine-tuning (SFT) or reinforcement learning (RL). In SFT, models are trained on paired GUI-action datasets to align visual observations with user instructions. Some approaches (Hong et al., 2024; Cheng et al., 2024; Lin et al., 2024; Li et al., 2025a) enhance SFT by incorporating instruction tuning, vision-language pretraining, or synthetic data generation to boost coverage. However, these strategies commonly adopt a flat optimization objective, lacking curriculum or structural
|
| 27 |
+
|
| 28 |
+
guidance, which limits the model's ability to progressively acquire complex capabilities. In contrast, reinforcement learning introduces outcome-driven optimization through environment feedback. Some methods (Lai et al., 2024; Liu et al., 2024) rely on sparse success signals to guide multi-step task completion. Despite this, many RL strategies remain coarse and fail to capture pixel-level grounding precision. Moreover, most RL pipelines lack strong initialization or structured learning stages, often resulting in unstable policies and inconsistent behaviors.
|
| 29 |
+
|
| 30 |
+
In this work, we propose INREACT, a structured training framework for GUI agents that combines curriculum learning with reinforcement learning. The curriculum learning stage is designed to systematically build core agent capabilities—including perception, grounding, and reasoning through a staged learning process of increasing complexity. Furthermore, we introduce a reinforcement learning strategy with rule-based reward functions that jointly considers action-type correctness and distance-aware spatial accuracy, enabling more precise and reliable interactions in complex GUI environments.
|
| 31 |
+
|
| 32 |
+
Our contributions are summarized as follows:
|
| 33 |
+
|
| 34 |
+
- We propose a novel multimodal GUI agent framework, called INREACT, which synergizes observing, thinking, and acting to make more interpretable and goal-directed decisions when handling complex GUI navigation tasks.
|
| 35 |
+
- INREACT is trained through a two-stage training framework, including a curriculum-based supervised fine-tuning stage to progressively acquire perception, grounding, and reasoning capabilities and a reinforcement learning stage that reinforces grounding precision with an outcome-based reward to encourage accurate and consistent action predictions.
|
| 36 |
+
- Experimental results on four datasets in grounding and navigation tasks show that INREACT outperforms existing methods and exhibits promising generalization. Our code will be released via https://github.com/wangyuanlei30/InReAct.
|
| 37 |
+
|
| 38 |
+
# 2 Related Work
|
| 39 |
+
|
| 40 |
+
# 2.1 GUI Agents
|
| 41 |
+
|
| 42 |
+
GUI agents allow models to interact with software interfaces via visual inputs and simulated actions. Early works like CogAgent (Hong et al., 2024)
|
| 43 |
+
|
| 44 |
+
introduced MLLMs for GUI tasks. Some methods leverage general-purpose models with prompt engineering (e.g., AppAgent (Zhang et al., 2025), Mobile-Agent (Wang et al., 2024b)), while others fine-tune open-source models on GUI-specific data (e.g., UGround (Gou et al., 2025), ShowUI (Lin et al., 2024)). Recent work like UI-TARS (Qin et al., 2025) and AGUVIS (Xu et al., 2024) combines GUI pretraining with reasoning fine-tuning. Most rely on single-stage supervised fine-tuning, which requires large-scale data and often struggles with generalization, highlighting the need for more structured learning approaches.
|
| 45 |
+
|
| 46 |
+
# 2.2 Curriculum Learning
|
| 47 |
+
|
| 48 |
+
Curriculum learning (Wang et al., 2022) is a training strategy where models are exposed to tasks in increasing order of difficulty, mimicking human learning. It has shown strong effectiveness across NLP and vision tasks by improving learning stability and generalization. Recent works have applied this idea to large-scale models: AutoGLM (Liu et al., 2024) and AutoWebGLM (Lai et al., 2024), for example, design task curricula to enhance model robustness in web navigation tasks. In the context of instruction tuning and agent learning, curriculum learning helps models acquire basic capabilities before handling complex reasoning or planning, offering a structured alternative to flat fine-tuning.
|
| 49 |
+
|
| 50 |
+
# 2.3 Rule-Based Reinforcement Learning
|
| 51 |
+
|
| 52 |
+
Rule-based reinforcement learning has emerged as a scalable alternative to traditional supervised fine-tuning by optimizing models with predefined and verifiable reward functions. Early works such as DeepSeek-R1 (Guo et al., 2025) and o1 (Jaech et al., 2024) applied RFT to language tasks, including mathematical reasoning (Shao et al., 2024) and code generation, where correctness can be evaluated with rule-based signals. More recent studies (Shen et al., 2025; Liu et al., 2025c; Chen et al., 2025; Wang et al., 2024a) extend this paradigm to multimodal models by designing task-specific rewards—such as Intersection-over-Union (IoU) for image grounding and symbolic consistency checks for classification. Building on this line of research, works like UI-R1 (Lu et al., 2025) and GUI-R1 (Luo et al., 2025) have further explored applying rule-based RL to GUI agents, typically leveraging binary hit-or-miss rewards for GUI grounding.
|
| 53 |
+
|
| 54 |
+

|
| 55 |
+
Figure 2: The overall framework of INREACT
|
| 56 |
+
|
| 57 |
+
# 3 Method
|
| 58 |
+
|
| 59 |
+
Given a GUI screenshot $S$ , a user instruction $G$ and the previous interaction history $A_{<t}$ at each time step $t$ , the goal of the agent is to generate a sequence of executable actions $A = \{a_1, a_2, \ldots, a_T\}$ , where action $a_t$ at time step $t$ is determined based on $G$ , observation of the current screenshot environment $O_t$ , and previous actions sequence $A_{<t} = [a_1, a_2, \ldots, a_{t-1}]$ .
|
| 60 |
+
|
| 61 |
+
- State Space. At each time step $t$ , the environment state is represented by a GUI screenshot $s_t$ , which captures the current visual interface after executing the previous action. The agent's observation $O_t$ includes the screenshot $S_t$ , the user instruction $G$ , and the action history $A_{<t} = \{a_1, \dots, a_{t-1}\}$ . This combination provides both static semantic goals and dynamic context necessary for decision-making.
|
| 62 |
+
- Action Space. We define an action as a structured function call in the form $a_{t} = (\text{type}_{t}, \text{args}_{t})$ , where type specifies the operation (e.g., click, scroll, input) and args provides necessary arguments such as coordinates, text, or direction. The environment executes actions parsed from the agent's JSON-style outputs. A full specification of supported actions is provided in Table 1.
|
| 63 |
+
|
| 64 |
+
# 3.1 GUI Agent Workflow
|
| 65 |
+
|
| 66 |
+
To guide the agent to continually interact with the environment and complete multi-step complex
|
| 67 |
+
|
| 68 |
+
<table><tr><td>Action Type</td><td>Parameters</td></tr><tr><td>click,tap,hover,select</td><td>(x,y)</td></tr><tr><td>swipe,select_text</td><td>(x1,y1,x2,y2)</td></tr><tr><td>scroll</td><td>direction</td></tr><tr><td>input</td><td>text</td></tr><tr><td>home,back,enter</td><td>None</td></tr></table>
|
| 69 |
+
|
| 70 |
+
Table 1: Action types and their parameters
|
| 71 |
+
|
| 72 |
+
tasks. Following ReAct (Yao et al., 2023), we construct our agent framework through synergizing observing, thinking and acting in GUI controlling process for agent.
|
| 73 |
+
|
| 74 |
+
Observation Phase. Based on a visual screenshot $S_{t}$ of the GUI, an user instruction $G$ and the previous interaction history $A_{< t}$ at each time step $t$ , the agent first generates a natural language observation $d_{t}$ describing key interface elements and their relevance to the task instead of directly generating action by:
|
| 75 |
+
|
| 76 |
+
$$
|
| 77 |
+
d _ {t} = \mathcal {F} \left(O _ {t}\right) = \mathcal {F} \left(S _ {t}, G, A _ {< t}\right) \tag {1}
|
| 78 |
+
$$
|
| 79 |
+
|
| 80 |
+
Thinking Phase. In the thinking phase, the generated observation $d_{t}$ is appended to the original input $O_{t} = \{S_{t}, G, A_{<t}\}$ to construct the further input. Then, we feed the updated input to the agent for generating internal reasoning to produce a task-oriented thinking $h_{t}$ by:
|
| 81 |
+
|
| 82 |
+
$$
|
| 83 |
+
h _ {t} = \mathcal {F} \left(O _ {t}, d _ {t}\right) \tag {2}
|
| 84 |
+
$$
|
| 85 |
+
|
| 86 |
+
Acting Phase. Similarly, the input in the final action phase is constructed by concatenating the generated thinking $h_t$ with the previous input. Subsequently, we feed the modified input to the agent to generate executable actions by
|
| 87 |
+
|
| 88 |
+
$$
|
| 89 |
+
a _ {t} = \mathcal {F} \left(O _ {t}, d _ {t}, h _ {t}\right) = \left(\text {t y p e} _ {t}, \arg s _ {t}\right) \tag {3}
|
| 90 |
+
$$
|
| 91 |
+
|
| 92 |
+
The action is then executed in the environment, resulting in a transition to the next state $S_{t + 1}$ .
|
| 93 |
+
|
| 94 |
+
# 3.2 Inspire-Then-Reinforce Training
|
| 95 |
+
|
| 96 |
+
To progressively enhance the reasoning and control capabilities of GUI agents, we propose an inspire-then-reinforce two-stage training paradigm, as illustrated in Figure 2.
|
| 97 |
+
|
| 98 |
+
In Stage 1, we introduce a curriculum learning strategy that progressively builds the model's perception, grounding, and reasoning capabilities through supervised fine-tuning. By organizing training tasks from simple to complex, the model first learns to understand GUI layouts, then localize targets, and ultimately reason over multi-step goals.
|
| 99 |
+
|
| 100 |
+
In Stage 2, we perform reinforcement learning to improve action accuracy and grounding robustness. Using a GRPO-based optimization framework, we incorporate a task-specific reward function that evaluates both action-type correctness and spatial precision, enabling the model to generate reliable actions in dense and high-resolution GUI environments.
|
| 101 |
+
|
| 102 |
+
# 3.2.1 Stage 1: Curriculum Learning
|
| 103 |
+
|
| 104 |
+
Drawing inspiration from human learning, we organize agent training into three progressive stages: perception, grounding, and reasoning. Each stage targets a specific skill and increases in task complexity, forming a curriculum learning framework that guides the model from basic comprehension to advanced planning.
|
| 105 |
+
|
| 106 |
+
Specifically, we adopt supervised fine-tuning and have the same training objective that minimizes the sum of negative log-likelihood loss averaged over tokens in each step:
|
| 107 |
+
|
| 108 |
+
$$
|
| 109 |
+
\mathcal {L} (y, \widehat {y}) = - \frac {1}{L} \sum_ {l = 1} ^ {L} \widehat {y _ {l}} \log \left(\frac {\exp \left(y _ {l}\right)}{\sum_ {i} ^ {l} \exp \left(y _ {i}\right)}\right), \tag {4}
|
| 110 |
+
$$
|
| 111 |
+
|
| 112 |
+
where $L$ is the max length of output sequence, $\widehat{y}_l$ and $y_{l}$ denote the $l$ -th token in the groundtruth sequence $\widehat{y}$ and generation sequence $y$ , respectively.
|
| 113 |
+
|
| 114 |
+
Learning for Perception The first stage of the curriculum aims to build the model's visual and semantic understanding of GUI layouts. This foundational perception equips the agent with spatial awareness and interface comprehension, essential for later grounding and reasoning. Specifically, we decompose it into two perception-oriented tasks:
|
| 115 |
+
|
| 116 |
+
i. GUI-based Question Answering. Given a screenshot $s$ and question $q$ , the model generates an answer $a\colon \mathcal{M}_{\mathrm{qa}}(s,q)\to a$ , enhancing spatial attention and element recognition.
|
| 117 |
+
ii. Interface Description Generation. Given $s$ , the model produces a structured description $d$ : $\mathcal{M}_{\mathrm{desc}}(s) \to d$ , fostering global layout and semantic understanding. The training loss for this stage is computed as:
|
| 118 |
+
|
| 119 |
+
$$
|
| 120 |
+
\mathcal {L} _ {\text {p e r c e p t i o n}} = \mathcal {L} (a, \widehat {a}) + \mathcal {L} (d, \widehat {d}), \tag {5}
|
| 121 |
+
$$
|
| 122 |
+
|
| 123 |
+
where $\widehat{s}$ and $\widehat{d}$ denote the ground-truth answers and interface descriptions, respectively.
|
| 124 |
+
|
| 125 |
+
Learning for Grounding The second stage of the curriculum focuses on grounding user instructions to visual actions, a core capability for operating in GUI environments. The model must understand what the user wants and accurately identify the corresponding interface region for execution. We similarly decompose it into two complementary grounding tasks:
|
| 126 |
+
|
| 127 |
+
i. Instruction-to-Coordinate. Given a GUI screenshot $s$ and instruction $g$ , the model predicts the target coordinate $c$ : $\mathcal{M}_{\mathrm{inst2coord}}(s, g) \to c$ . This task aligns user intent with precise UI locations.
|
| 128 |
+
ii. Coordinate-to-Description. Given $s$ and a coordinate $c$ , the model generates a description $d$ of the corresponding UI element: $\mathcal{M}_{\mathrm{coord2desc}}(s,c) \to d$ , reinforcing spatial-semantic understanding. The loss function for this stage is defined as:
|
| 129 |
+
|
| 130 |
+
$$
|
| 131 |
+
\mathcal {L} _ {\text {g r o u n d i n g}} = \mathcal {L} (c, \widehat {c}) + \mathcal {L} (d, \widehat {d}), \tag {6}
|
| 132 |
+
$$
|
| 133 |
+
|
| 134 |
+
where $\widehat{c}$ and $\widehat{d}$ denote the ground-truth coordinate and description, respectively.
|
| 135 |
+
|
| 136 |
+
Learning for Reasoning The third stage focuses on high-level reasoning and multi-step decision-making, where the model explicitly follows an observe-think-act process instead of making one-step predictions. We introduce the following two components to support structured reasoning:
|
| 137 |
+
|
| 138 |
+
i. Observation Chain. Given a screenshot $x$ and instruction $g$ , the model generates an observation $o$ to identify relevant UI regions: $\mathcal{M}_{\mathrm{obs}}(x, g) \to o$ .
|
| 139 |
+
|
| 140 |
+
ii. Reasoning Chain. Conditioned on $o$ and $g$ , the model produces a reasoning trace $r$ to guide decision-making: $\mathcal{M}_{\mathrm{reason}}(o,g)\to r$ .
|
| 141 |
+
|
| 142 |
+
We define the training loss of this stage as follows:
|
| 143 |
+
|
| 144 |
+
$$
|
| 145 |
+
\mathcal {L} _ {\text {r e a s o n i n g}} = \mathcal {L} (o, \widehat {o}) + \mathcal {L} (r, \widehat {r}), \tag {7}
|
| 146 |
+
$$
|
| 147 |
+
|
| 148 |
+
where $\widehat{o}$ and $\widehat{r}$ denote the ground-truth observation and reasoning trace.
|
| 149 |
+
|
| 150 |
+
# 3.2.2 Stage 2: Reinforcement Learning
|
| 151 |
+
|
| 152 |
+
Although supervised fine-tuning provides a strong initialization, models often suffer from fine-grained prediction errors, especially in dense or high-resolution GUIs where small pixel-level deviations can lead to task failure. To address this, we adopt GRPO Reinforcement fine-tuning.
|
| 153 |
+
|
| 154 |
+
A critical component of our approach is the design of the reward function. While prior works like UI-R1 (Lu et al., 2025) and GUI-R1 (Luo et al., 2025) also leverage rule-based reinforcement learning for GUI agents, their reward mechanisms for localization typically rely on a coarse, binary signal (i.e., whether the predicted point falls within the target's bounding box). Such a reward, while useful for confirming task success, provides limited gradient for improving fine-grained precision. To overcome this, we introduce a task-specific reward function that better captures the dual objectives of action correctness and spatial precision, directly encouraging the model to enhance its pixel-level accuracy.
|
| 155 |
+
|
| 156 |
+
Reward Modeling The reward function serves as the primary training signal in reinforcement learning, directly guiding the model's optimization trajectory. To support fine-grained policy improvement in GUI environments, we design a rule-based reward function tailored to the unique demands of screen-based interaction. Unlike traditional RL settings that rely on binary task success or coarse region-level feedback, GUI tasks require both accurate action selection and high-precision localization of target elements. Specifically, our reward function comprises two components: (1) an action-type reward(2) a distance-aware coordinate reward. This composite design provides the model with dense, informative feedback signals essential for precise and interpretable GUI control, which is defined as:
|
| 157 |
+
|
| 158 |
+
$$
|
| 159 |
+
R = R _ {\mathrm {T}} + R _ {\mathrm {D}} \tag {8}
|
| 160 |
+
$$
|
| 161 |
+
|
| 162 |
+
Regarding the action type reward component $R_{\mathrm{T}}$ , it provides a binary reward signal that evaluates whether the predicted action type $T$ aligns with the ground truth label $T'$ . This mechanism offers a direct and effective evaluation framework for action-type prediction tasks. The mathematical formulation of this component is presented below:
|
| 163 |
+
|
| 164 |
+
$$
|
| 165 |
+
R _ {\mathrm {T}} = \left\{ \begin{array}{l l} 1, & \text {i f} T ^ {\prime} = T \\ 0, & \text {o t h e r w i s e} \end{array} \right. \tag {9}
|
| 166 |
+
$$
|
| 167 |
+
|
| 168 |
+
Additionally, the distance-aware reward $R_{\mathrm{D}}$ measures spatial accuracy by combining two components: (1) a binary reward for whether the predicted point lies within the target bounding box, and (2) a precision reward based on the normalized distance to the box center. This encourages both correct region prediction and fine-grained localization:
|
| 169 |
+
|
| 170 |
+
$$
|
| 171 |
+
R _ {D} = R _ {a c c} + R _ {d i s t} \tag {10}
|
| 172 |
+
$$
|
| 173 |
+
|
| 174 |
+
i. Accuracy Reward. We assign a base reward calculating whether the predicted point $(x', y')$ falls inside the ground-truth bounding box $B = [(x_1, y_1), (x_2, y_2)]$ :
|
| 175 |
+
|
| 176 |
+
$$
|
| 177 |
+
R _ {\mathrm {a c c}} = \left\{ \begin{array}{l l} 0. 5, & \text {i f} \left(x ^ {\prime}, y ^ {\prime}\right) \in B \\ 0, & \text {o t h e r w i s e} \end{array} \right. \tag {11}
|
| 178 |
+
$$
|
| 179 |
+
|
| 180 |
+
ii. Precision Reward. If the point is within the box, we compute the normalized Euclidean distance $\hat{d}$ from the predicted coordinate $(x', y')$ to the center of the target box $(x_c, y_c)$ :
|
| 181 |
+
|
| 182 |
+
$$
|
| 183 |
+
\left(x _ {c}, y _ {c}\right) = \left(\frac {x _ {1} + x _ {2}}{2}, \frac {y _ {1} + y _ {2}}{2}\right) \tag {12}
|
| 184 |
+
$$
|
| 185 |
+
|
| 186 |
+
$$
|
| 187 |
+
\hat {d} = \frac {\sqrt {\left(x ^ {\prime} - x _ {c}\right) ^ {2} + \left(y ^ {\prime} - y _ {c}\right) ^ {2}}}{\sqrt {\left(x _ {2} - x _ {1}\right) \left(y _ {2} - y _ {1}\right)}} \tag {13}
|
| 188 |
+
$$
|
| 189 |
+
|
| 190 |
+
We then define the precision reward based on discrete distance intervals:
|
| 191 |
+
|
| 192 |
+
$$
|
| 193 |
+
R _ {\text {d i s t}} = \left\{ \begin{array}{l l} 0. 5, & \hat {d} \leq 0. 1 \\ 0. 3, & 0. 1 < \hat {d} \leq 0. 3 \\ 0. 2, & 0. 3 < \hat {d} \leq 0. 5 \\ 0. 0, & \hat {d} > 0. 5 \end{array} \right. \tag {14}
|
| 194 |
+
$$
|
| 195 |
+
|
| 196 |
+
To provide a clear and stepped gradient for precision improvement, we empirically determine the thresholds and reward values for our reward formulation. This design provides a continuous and informative learning signal that encourages the model to both select the correct action type and localize it precisely, promoting stable convergence and robust behavior in dense GUI layouts.
|
| 197 |
+
|
| 198 |
+
<table><tr><td rowspan="2">Method</td><td colspan="3">Development</td><td colspan="3">Creative</td><td colspan="3">CAD</td><td colspan="3">Scientific</td><td colspan="3">Office</td><td colspan="3">OS</td><td colspan="3">Overall</td></tr><tr><td colspan="3">Text Icon Avg</td><td colspan="3">Text Icon Avg</td><td colspan="3">Text Icon Avg</td><td colspan="3">Text Icon Avg</td><td colspan="3">Text Icon Avg</td><td colspan="3">Text Icon Avg</td><td colspan="3">Text Icon Avg</td></tr><tr><td>GPT-4o (OpenAI et al., 2024)</td><td>1.3</td><td>0.0</td><td>0.7</td><td>1.0</td><td>0.0</td><td>0.6</td><td>2.0</td><td>0.0</td><td>1.5</td><td>2.1</td><td>0.0</td><td>1.2</td><td>1.1</td><td>0.0</td><td>0.9</td><td>0.0</td><td>0.0</td><td>0.0</td><td>1.3</td><td>0.0</td><td>0.8</td></tr><tr><td>ShowUI-2B (Lin et al., 2024)</td><td>16.9</td><td>1.4</td><td>9.4</td><td>9.1</td><td>0.0</td><td>5.3</td><td>2.5</td><td>0.0</td><td>1.9</td><td>13.2</td><td>7.3</td><td>10.6</td><td>15.3</td><td>7.5</td><td>13.5</td><td>10.3</td><td>2.2</td><td>6.6</td><td>10.8</td><td>2.6</td><td>7.7</td></tr><tr><td>AriaUI-3.9B (Yang et al., 2024)</td><td>16.2</td><td>0.0</td><td>8.4</td><td>23.7</td><td>2.1</td><td>14.7</td><td>7.6</td><td>1.6</td><td>6.1</td><td>27.1</td><td>6.4</td><td>18.1</td><td>20.3</td><td>1.9</td><td>16.1</td><td>4.7</td><td>0.0</td><td>2.6</td><td>17.1</td><td>2.0</td><td>11.3</td></tr><tr><td>OSAtlas-4B (Wu et al., 2024)</td><td>7.1</td><td>0.0</td><td>3.7</td><td>3.0</td><td>1.4</td><td>2.3</td><td>2.0</td><td>0.0</td><td>1.5</td><td>9.0</td><td>5.5</td><td>7.5</td><td>5.1</td><td>3.8</td><td>4.8</td><td>5.6</td><td>0.0</td><td>3.1</td><td>5.0</td><td>1.7</td><td>3.7</td></tr><tr><td>QwenVL-7B (Bai et al., 2023)</td><td>0.0</td><td>0.0</td><td>0.0</td><td>0.0</td><td>0.0</td><td>0.0</td><td>0.0</td><td>0.0</td><td>0.0</td><td>0.7</td><td>0.0</td><td>0.4</td><td>0.0</td><td>0.0</td><td>0.0</td><td>0.0</td><td>0.0</td><td>0.0</td><td>0.1</td><td>0.0</td><td>0.1</td></tr><tr><td>Qwen2-VL-7B (Wang et al., 2024c)</td><td>2.6</td><td>0.0</td><td>1.3</td><td>1.5</td><td>0.0</td><td>0.9</td><td>0.5</td><td>0.0</td><td>0.4</td><td>6.3</td><td>0.0</td><td>3.5</td><td>3.4</td><td>1.9</td><td>3.0</td><td>0.9</td><td>0.0</td><td>0.5</td><td>2.5</td><td>0.2</td><td>1.6</td></tr><tr><td>SeeClick-7B (Cheng et al., 2024)</td><td>0.6</td><td>0.0</td><td>0.3</td><td>1.0</td><td>0.0</td><td>0.6</td><td>2.5</td><td>0.0</td><td>1.9</td><td>3.5</td><td>0.0</td><td>2.0</td><td>1.1</td><td>0.0</td><td>0.9</td><td>2.8</td><td>0.0</td><td>1.5</td><td>1.8</td><td>0.0</td><td>1.1</td></tr><tr><td>CogAgent-18B (Hong et al., 2024)</td><td>14.9</td><td>0.7</td><td>8.0</td><td>9.6</td><td>0.0</td><td>5.6</td><td>7.1</td><td>3.1</td><td>6.1</td><td>22.2</td><td>1.8</td><td>13.4</td><td>13.0</td><td>0.0</td><td>10.0</td><td>5.6</td><td>0.0</td><td>3.1</td><td>12.0</td><td>0.8</td><td>7.7</td></tr><tr><td>UGround-7B (Gou et al., 2025)</td><td>26.6</td><td>2.1</td><td>14.7</td><td>27.3</td><td>2.8</td><td>17.0</td><td>14.2</td><td>1.6</td><td>11.1</td><td>31.9</td><td>2.7</td><td>19.3</td><td>31.6</td><td>11.3</td><td>27.0</td><td>17.8</td><td>0.0</td><td>9.7</td><td>25.0</td><td>2.8</td><td>16.5</td></tr><tr><td>OSAtlas-7B (Wu et al., 2024)</td><td>33.1</td><td>1.4</td><td>17.7</td><td>28.8</td><td>2.8</td><td>17.9</td><td>12.2</td><td>4.7</td><td>10.3</td><td>37.5</td><td>7.3</td><td>24.4</td><td>33.9</td><td>5.7</td><td>27.4</td><td>27.1</td><td>4.5</td><td>16.8</td><td>28.1</td><td>4.0</td><td>18.9</td></tr><tr><td>InReAct</td><td>35.7</td><td>1.4</td><td>19.0</td><td>33.3</td><td>2.1</td><td>20.2</td><td>13.2</td><td>1.6</td><td>10.7</td><td>41.7</td><td>10.0</td><td>27.9</td><td>42.4</td><td>3.8</td><td>33.5</td><td>23.4</td><td>1.1</td><td>17.3</td><td>31.4</td><td>3.3</td><td>20.7</td></tr></table>
|
| 199 |
+
|
| 200 |
+
# 3.3 Inference Procedure
|
| 201 |
+
|
| 202 |
+
During inference, our agent adopts an interlaced observe-think-action workflow that sequentially executes tasks by observing the interface, thinking through the instruction, and predicting the next action. Given the input $O_{t} = (S,G,H)$ , where $S$ is the GUI screenshot, $G$ is the task instruction, and $A_{<t} = \{a_{1},\dots,a_{t-1}\}$ denotes the history of executed actions, the model first generates an observation summary $\hat{o}_{t}$ , then infers a reasoning trace $\hat{r}_{t}$ conditioned on $\hat{o}_{t}$ and $G$ , and finally predicts the next action $a_{t} = (T',x',y')$ based on both. This process is repeated until task completion or a maximum number of steps is reached, enabling goal-driven, interpretable decision-making in complex GUI environments.
|
| 203 |
+
|
| 204 |
+
# 4 Experiment
|
| 205 |
+
|
| 206 |
+
# 4.1 Experiment Setup
|
| 207 |
+
|
| 208 |
+
Datasets We evaluate our model on two tasks: GUI grounding and navigation.
|
| 209 |
+
|
| 210 |
+
For Grounding, we use ScreenSpot (Cheng et al., 2024) and ScreenSpot-Pro (Li et al., 2025b). ScreenSpot contains 1,272 samples across mobile, desktop, and web platforms, focusing on common interface elements. ScreenSpot-Pro includes 23 professional applications with high-resolution and complex layouts, offering a more challenging evaluation.
|
| 211 |
+
|
| 212 |
+
For Navigation, we use: (i) Mind2Web (Deng et al., 2023), a web-based dataset for evaluating generalist agents that perform complex tasks via language instructions. It includes 7,775 training actions and three test splits (task, website, domain), with aligned HTML and screenshots. (ii) Android-Control (Li et al., 2024), a mobile dataset testing multi-step task execution in realistic Android en
|
| 213 |
+
|
| 214 |
+
Table 2: GUI grounding results on ScreenSpot-Pro dataset.
|
| 215 |
+
|
| 216 |
+
<table><tr><td rowspan="2">Method</td><td colspan="2">Mobile</td><td colspan="2">Desktop</td><td colspan="2">Web</td><td rowspan="2">Average</td></tr><tr><td>Text</td><td>Icon</td><td>Text</td><td>Icon</td><td>Text</td><td>Icon</td></tr><tr><td>GPT-4 (OpenAI, 2023)</td><td>22.6</td><td>24.5</td><td>20.2</td><td>11.8</td><td>9.2</td><td>8.8</td><td>16.7</td></tr><tr><td>GPT-4o (OpenAI et al., 2024)</td><td>20.2</td><td>24.9</td><td>21.1</td><td>23.6</td><td>12.2</td><td>7.8</td><td>18.1</td></tr><tr><td>Gemini-1.5-pro (Team, 2024)</td><td>76.2</td><td>54.1</td><td>65.5</td><td>39.2</td><td>52.2</td><td>32.0</td><td>53.2</td></tr><tr><td>Qwen2-VL-2B (Wang et al., 2024c)</td><td>24.2</td><td>10.0</td><td>1.4</td><td>9.3</td><td>8.7</td><td>2.41</td><td>9.3</td></tr><tr><td>Qwen2-VL-7B (Wang et al., 2024c)</td><td>61.3</td><td>39.3</td><td>52.0</td><td>45.0</td><td>33.0</td><td>21.8</td><td>42.9</td></tr><tr><td>CogAgent-18B (Hong et al., 2024)</td><td>67.0</td><td>24.0</td><td>74.2</td><td>20.0</td><td>70.4</td><td>28.6</td><td>47.4</td></tr><tr><td>Seeclick-7B (Cheng et al., 2024)</td><td>78.0</td><td>52.0</td><td>72.2</td><td>30.0</td><td>55.7</td><td>32.5</td><td>53.4</td></tr><tr><td>UGround-7B (Gou et al., 2025)</td><td>82.8</td><td>60.3</td><td>82.5</td><td>63.6</td><td>80.4</td><td>70.4</td><td>73.3</td></tr><tr><td>ShowUI-2B (Lin et al., 2024)</td><td>92.3</td><td>75.5</td><td>76.3</td><td>61.1</td><td>81.7</td><td>63.6</td><td>75.1</td></tr><tr><td>InfiGUIAgent-2B (Liu et al., 2025b)</td><td>88.6</td><td>74.7</td><td>85.6</td><td>65.0</td><td>79.1</td><td>64.6</td><td>76.3</td></tr><tr><td>InReAct</td><td>86.1</td><td>71.6</td><td>84.5</td><td>65.7</td><td>82.2</td><td>70.4</td><td>77.8</td></tr></table>
|
| 217 |
+
|
| 218 |
+
Table 3: GUI grounding results on ScreenSpot dataset.
|
| 219 |
+
|
| 220 |
+
vironments, emphasizing long-term planning and state tracking.
|
| 221 |
+
|
| 222 |
+
See datasets details in appendix A.
|
| 223 |
+
|
| 224 |
+
Evaluation Metrics We use the metrics proposed in the corresponding datasets as shown in Table 7. Although they have different names, these metrics are similar: GUI grounding tasks consistently measure the hit rate of predicted bounding boxes, while GUI navigation tasks focus on single-step accuracy.
|
| 225 |
+
|
| 226 |
+
Click Accuracy. The proportion of test samples where the predicted location falls in the ground truth element's bounding box.
|
| 227 |
+
|
| 228 |
+
Element Accuracy (Ele.Acc). Comparing the selected element with all acceptable elements. For vision-based methods, it is the same as Click Accuracy.
|
| 229 |
+
|
| 230 |
+
Operation F1 (Op.F1). Token-level F1 score for the predicted operation.
|
| 231 |
+
|
| 232 |
+
Step Success Rate (Step SR) and Step Accuracy. The proportion of successful steps. A step is regarded as successful only if both the selected element and the predicted operation are correct.
|
| 233 |
+
|
| 234 |
+
Baselines We compare the performance of our model with various baselines, including some closed source large models such as GPT-4o (OpenAI et al., 2024), Gemini-1.5-pro (Team, 2024)
|
| 235 |
+
|
| 236 |
+
<table><tr><td rowspan="2">Method</td><td colspan="3">Cross-Task</td><td colspan="3">Cross-Website</td><td colspan="3">Cross-Domain</td></tr><tr><td>Ele.Acc</td><td>Op.F1</td><td>Step.SR</td><td>Ele.Acc</td><td>Op.F1</td><td>Step.SR</td><td>Ele.Acc</td><td>Op.F1</td><td>Step.SR</td></tr><tr><td>GPT-4 (OpenAI, 2023)</td><td>41.6</td><td>60.6</td><td>36.2</td><td>35.8</td><td>51.1</td><td>30.1</td><td>37.1</td><td>46.5</td><td>26.4</td></tr><tr><td>OmniParser (Lu et al., 2024)</td><td>42.4</td><td>87.6</td><td>39.4</td><td>41.0</td><td>84.8</td><td>36.5</td><td>45.5</td><td>85.7</td><td>42.0</td></tr><tr><td>Qwen2-VL-2B (Wang et al., 2024c)</td><td>37.7</td><td>86.4</td><td>33.2</td><td>36.0</td><td>79.2</td><td>27.6</td><td>36.3</td><td>81.8</td><td>30.7</td></tr><tr><td>ShowUI-2B (Lin et al., 2024)</td><td>39.9</td><td>88.6</td><td>37.2</td><td>41.6</td><td>83.5</td><td>35.1</td><td>39.4</td><td>86.8</td><td>35.2</td></tr><tr><td>SpiritSight-2B (Huang et al., 2025)</td><td>51.7</td><td>87.2</td><td>44.9</td><td>44.9</td><td>83.6</td><td>37.8</td><td>42.4</td><td>83.5</td><td>36.9</td></tr><tr><td>SeeClick-7B (Cheng et al., 2024)</td><td>28.3</td><td>87.0</td><td>25.5</td><td>21.4</td><td>80.6</td><td>16.4</td><td>23.2</td><td>84.8</td><td>20.8</td></tr><tr><td>CogAgent-18B (Hong et al., 2024)</td><td>22.4</td><td>53.0</td><td>17.6</td><td>18.4</td><td>42.4</td><td>13.4</td><td>20.6</td><td>42.0</td><td>15.5</td></tr><tr><td>InReAct</td><td>57.8</td><td>89.4</td><td>50.8</td><td>52.6</td><td>88.8</td><td>47.4</td><td>55.4</td><td>85.4</td><td>49.2</td></tr></table>
|
| 237 |
+
|
| 238 |
+
Table 4: GUI navigation results on Mind2web dataset.
|
| 239 |
+
|
| 240 |
+
<table><tr><td>Method</td><td>Low-Level</td><td>High-Level</td></tr><tr><td>Claude* (Anthropic, 2024)</td><td>19.4</td><td>12.5</td></tr><tr><td>GPT-4o (OpenAI et al., 2024)</td><td>19.4</td><td>20.8</td></tr><tr><td>Aria-UI-3.9B (Yang et al., 2024)</td><td>67.3</td><td>10.2</td></tr><tr><td>OS-Atlas-4B (Wu et al., 2024)</td><td>80.6</td><td>67.5</td></tr><tr><td>Aguvis-7B (Xu et al., 2024)</td><td>80.5</td><td>61.5</td></tr><tr><td>InReAct</td><td>83.1</td><td>68.1</td></tr></table>
|
| 241 |
+
|
| 242 |
+
Table 5: GUI navigation results on AndroidControl dataset.
|
| 243 |
+
|
| 244 |
+
and Claude(Anthropic, 2024), as well as numerous open-source GUI agents such as SpiritSight-2B (Huang et al., 2025), AGUVIS-7B (Xu et al., 2024), Uground (Gou et al., 2025), Aria-UI(Yang et al., 2024), OSAtlas (Wu et al., 2024), ShowUI (Lin et al., 2024), InfGUIAgent (Liu et al., 2025b), UGround (Gou et al., 2025), CogAgent (Hong et al., 2024), SeeClick (Cheng et al., 2024), Qwen2-VL-2B, Qwen2-VL-7B (Wang et al., 2024c). Implementation details refer to appendix B.
|
| 245 |
+
|
| 246 |
+
# 4.2 Overall Performance
|
| 247 |
+
|
| 248 |
+
GUI Grounding Evaluation The evaluation results on the ScreenSpot (Cheng et al., 2024) are presented in Table 3. Our model achieves an average accuracy of $77.8\%$ , outperforming all competing baselines, including both open-source and commercial GUI agents. In particular, Our model surpasses strong 2B-level models such as ShowUI $(75.1\%)$ and InfigUIAgent $(76.3\%)$ , and even outperforms several significantly larger models such as CogAgent $(47.4\%, 18\mathrm{B})$ and UGround $(73.3\%, 7\mathrm{B})$ .
|
| 249 |
+
|
| 250 |
+
As in shown in table 2, on the more challenging ScreenSpot-Pro (Li et al., 2025b) dataset, our method achieves an overall accuracy of $20.7\%$ , representing a substantial improvement under complex, high-resolution desktop GUI environments. This dataset covers a wide spectrum of profes
|
| 251 |
+
|
| 252 |
+
sional software, including CAD tools, scientific platforms, development IDEs, and creative applications, each demanding fine-grained grounding of visually dense and domain-specific interfaces. Despite the increased difficulty, our model consistently outperforms previous strong baselines. It exceeds ShowUI by $13.0\%$ percentage points and surpasses AriaUI by $9.4\%$ points, demonstrating particularly strong capabilities in GUI grounding
|
| 253 |
+
|
| 254 |
+
GUI Navigation Evaluation On Mind2Web (Deng et al., 2023), the task requires agents to perform realistic web navigation across diverse websites. As shown in Table 4, InReAct achieves strong performance across all three generalization splits—cross-task, cross-website, and cross-domain—outperforming previous methods in terms of element grounding accuracy, operation-level F1, and step-wise success rate. This indicates that our model not only understands the semantics of web elements but also makes consistent and interpretable action decisions across varying environments. The consistent gains across generalization splits demonstrate InReAct's robustness in unseen task goals and layouts.
|
| 255 |
+
|
| 256 |
+
On AndroidControl (Li et al., 2024), we evaluate the model under two settings: Low-Level, which focuses on simple, mostly single-step interactions (e.g., tapping a button); and High-Level, which involves complex, multi-step instructions with long-horizon dependencies. As shown in Table 5, InReAct achieves 83.1 on the Low-Level set and 68.1 on the High-Level set, outperforming all prior baselines. While strong results in Low-Level indicate precise grounding and action formulation, the improvements in High-Level highlight the model's ability to plan and reason over multi-step interaction sequences.
|
| 257 |
+
|
| 258 |
+
# 4.3 Ablation Study
|
| 259 |
+
|
| 260 |
+
As summarized in Table 6, we conduct ablation studies to assess the impact of the proposed strategies in both curriculum learning (CL) and reinforcement learning (RL) training stages. For Mind2Web and AndroidControl, we only reported the results on cross-task SR and High-level. There are several notable observations as follows:
|
| 261 |
+
|
| 262 |
+
Curriculum Learning We examine the role of each step in our curriculum learning framework. Removing Step 1, where the model learns basic GUI interactions, leads to a significant performance drop, as the agent fails to acquire essential skills. Similarly, omitting Steps 2 and 3, which introduce grounding and reasoning tasks progressively, also harms performance, showing their importance for understanding and reasoning over GUI elements. Furthermore, replacing curriculum learning with multi-task training across all steps results in worse performance, demonstrating that staged, gradual training enhances learning and generalization more effectively than joint training.
|
| 263 |
+
|
| 264 |
+
Reinforcement Learning To further evaluate the effectiveness of the reinforcement learning (RL) stage, we first replace it with a standard supervised fine-tuning (SFT) setup. The results show that RL brings consistent performance gains across all datasets. On the two navigation datasets—Mind2Web and AndroidControl—RL yields improvements of $+5.1$ and $+4.3$ , respectively, demonstrating its ability to produce more accurate actions and more robust decision-making.
|
| 265 |
+
|
| 266 |
+
Furthermore, to specifically justify our reward function design within the RL framework, we compare our proposed piecewise reward function against two alternatives: a binary (hit-or-miss) reward, which provides an accuracy signal without any dedicated precision component, similar to approaches in works like UI-R1 and GUI-R1, and a continuous linear reward (defined as $R_{dist} = 1 - \hat{d}$ , where $\hat{d}$ is the normalized distance to the target's center). This analysis, presented in Table 6, reveals that the design of the reward signal plays an important role. On ScreenSpot, our method (77.8) outperforms both the linear (77.0) and binary (76.8) baselines. On the more challenging ScreenSpot-Pro dataset, our approach (20.7) also provides a modest but consistent improvement over the linear (20.3) and binary (19.8) rewards.
|
| 267 |
+
|
| 268 |
+
The advantage of our piecewise reward function
|
| 269 |
+
|
| 270 |
+
lies in two aspects. First, it delivers clearer learning signals by introducing reward "steps," which motivate the agent to cross precision thresholds rather than being limited by diminishing returns near the target. Second, it aligns more closely with real-world GUI logic, where clicks have discrete outcomes—successful or not—and central clicks are inherently safer than edge clicks. This design thus captures the practical structure of interaction more faithfully than a simple linear function. It is worth noting that our thresholds are chosen empirically and may not be optimal; further tuning is left for future work.
|
| 271 |
+
|
| 272 |
+
Impact of Observation and Reasoning Components The results, presented in Table 6, underscore the importance of both components within our observe-think-act cycle. Removing the thinking phase (w/o Thought) leads to a consistent and significant performance drop across all four benchmarks, with the most notable decreases observed on the complex ScreenSpot-Pro (-2.5 points) and AndroidControl (-2.3 points) datasets. This indicates that the explicit reasoning step is crucial for formulating effective plans and making robust decisions in challenging environments.
|
| 273 |
+
|
| 274 |
+
Similarly, removing the observation phase (w/o Observation) also consistently degrades performance across all tested datasets, such as causing a 1.8-point drop on ScreenSpot. An interesting finding is that the performance degradation from removing the thinking phase is more pronounced than that from removing the observation phase on the three more complex datasets. This suggests that while both components are beneficial, the structured reasoning provided by the "Thinking" step is arguably the most critical factor for the agent's success in complex scenarios. These findings strongly justify the synergistic design of our InReAct framework.
|
| 275 |
+
|
| 276 |
+
# 4.4 Case Study
|
| 277 |
+
|
| 278 |
+
To qualitatively assess the effectiveness of our proposed curriculum learning and reinforcement learning strategies, we conduct a case study on the ScreenSpot dataset. As illustrated in Figure 3, we present two pairs of examples highlighting the contributions of each training stage.
|
| 279 |
+
|
| 280 |
+
In Figure 3a, without curriculum learning, the agent clicks on the text "Only draw with Apple Pencil" instead of the adjacent switch, showing weak perception and semantic grounding. In contrast,
|
| 281 |
+
|
| 282 |
+
<table><tr><td>Method</td><td>ScreenSpot</td><td>ScreenSpot-Pro</td><td>Mind2Web</td><td>AndroidControl</td></tr><tr><td>InReAct</td><td>77.8</td><td>20.7</td><td>50.8</td><td>68.1</td></tr><tr><td colspan="5">Stage 1: Curriculum Learning</td></tr><tr><td>- w/o Step 1</td><td>76.3</td><td>19.2</td><td>47.4</td><td>65.9</td></tr><tr><td>- w/o Step 2</td><td>68.6</td><td>10.8</td><td>37.8</td><td>57.4</td></tr><tr><td>- w/o Step 3</td><td>74.7</td><td>17.4</td><td>42.5</td><td>62.3</td></tr><tr><td>- w/o curriculum</td><td>75.4</td><td>19.5</td><td>48.5</td><td>66.4</td></tr><tr><td colspan="5">Stage 2: Reinforcement Learning</td></tr><tr><td>- w/ Binary Reward</td><td>76.8</td><td>19.8</td><td>49.2</td><td>67.0</td></tr><tr><td>- w/ Linear Reward</td><td>77.0</td><td>20.3</td><td>50.2</td><td>67.3</td></tr><tr><td>- w/ SFT</td><td>76.2</td><td>16.8</td><td>45.7</td><td>63.8</td></tr><tr><td colspan="5">Ablation on Agent Components</td></tr><tr><td>- w/o Observation</td><td>76.0</td><td>19.7</td><td>49.2</td><td>66.8</td></tr><tr><td>- w/o Thought</td><td>76.6</td><td>18.2</td><td>48.6</td><td>65.8</td></tr></table>
|
| 283 |
+
|
| 284 |
+
Table 6: Ablation study of INREACT. We evaluate the impact of different training stages, reward functions, and core agent components. For Mind2Web, we report the Step SR on the cross-task split, while for AndroidControl, we report results on the High-Level setting.
|
| 285 |
+
|
| 286 |
+

|
| 287 |
+
(a) $x$ Instruction:"Only draw with apple pencil". Without curriculum learning
|
| 288 |
+
|
| 289 |
+

|
| 290 |
+
(b) $\checkmark$ Instruction:"Only draw with apple pencil". InReAct achieves accurate grounding
|
| 291 |
+
|
| 292 |
+

|
| 293 |
+
(c) $X$ Instruction:"Zoom in". Without reinforcement learning
|
| 294 |
+
Figure 3: Case study on ScreenSpot dataset.
|
| 295 |
+
|
| 296 |
+

|
| 297 |
+
(d) $\checkmark$ Instruction:"Zoom in". InReAct achieves accurate grounding
|
| 298 |
+
|
| 299 |
+
InReAct (Figure 3b) correctly targets the switch, indicating better alignment between instructions and interface elements.
|
| 300 |
+
|
| 301 |
+
In Figure 3c, without reinforcement learning, for the instruction "Zoom in," the predicted click point is near the correct bounding box but slightly outside it, indicating general understanding but lacking fine-grained precision. In contrast, as shown in Figure 3d, InReAct achieves significantly more accurate localization, clicking within the target re
|
| 302 |
+
|
| 303 |
+
gion. This confirms that our reinforcement learning stage enhances fine-grained control.
|
| 304 |
+
|
| 305 |
+
# 5 Conclusion
|
| 306 |
+
|
| 307 |
+
In this paper, we present INREACT, a multimodal GUI agent framework that integrates observation, reasoning, and action for complex GUI interactions. It is trained in two stages: curriculum-learning to build perception, grounding, and reasoning skills, followed by reinforcement learning with a task-specific reward that improves action correctness and spatial precision.
|
| 308 |
+
|
| 309 |
+
We evaluate INREACT across four datasets: ScreenSpot, ScreenSpot-Pro, Mind2Web, and AndroidControl, and demonstrate consistent improvements over prior methods. Our findings highlight the effectiveness of combining structured learning and outcome-driven optimization for enhancing GUI agent performance, setting a new direction for generalizable and interpretable vision-language agents.
|
| 310 |
+
|
| 311 |
+
# Acknowledgments
|
| 312 |
+
|
| 313 |
+
This research was supported by Key-Area Research and Development Program of Guangdong Province, Granted No. 2024B1111060004.
|
| 314 |
+
|
| 315 |
+
# Limitations
|
| 316 |
+
|
| 317 |
+
Limited Action Space Coverage Our current action space, while sufficient for common GUI interactions such as click, type, and scroll, does not fully cover the diversity of real-world GUI operations. Advanced actions like drag-and-drop, multi-touch gestures, system-level controls, or context-menu navigation are not well supported in our framework. Extending the action space to include such capabilities would be essential for achieving broader applicability in real-world software environments.
|
| 318 |
+
|
| 319 |
+
Inference Speed and Efficiency Although In-ReAct achieves strong performance on various GUI tasks, its inference speed has room for optimization. The structured reasoning process—particularly the multi-step observation and thinking phases—introduces additional computational overhead. This may affect the agent's ability to perform real-time or near-real-time interactions, which is crucial for applications requiring fast response times. Future work could explore model compression, caching mechanisms, or streamlined reasoning pipelines to improve efficiency.
|
| 320 |
+
|
| 321 |
+
Limited Handling of Dynamic Interfaces Our experiments are primarily conducted on static interfaces. However, real-world GUI applications often involve dynamic content updates, such as pop-up notifications, auto Refreshing elements, or state transitions, that can disrupt perception and decision-making. Our current framework lacks explicit mechanisms to detect, adapt to, or reason about such changes over time. Incorporating temporal modeling or environment change detection would be a valuable direction for future research.
|
| 322 |
+
|
| 323 |
+
# References
|
| 324 |
+
|
| 325 |
+
Anthropic. 2024. Developing a computer use model. https://www.anthropic.com/news/ developing-computer-use. Accessed: 2025-04- 12.
|
| 326 |
+
Jinze Bai, Shuai Bai, Shusheng Yang, Shijie Wang, Sinan Tan, Peng Wang, Junyang Lin, Chang Zhou, and Jingren Zhou. 2023. Qwen-vl: A frontier large vision-language model with versatile abilities. CoRR, abs/2308.12966.
|
| 327 |
+
|
| 328 |
+
Shuai Bai, Keqin Chen, Xuejing Liu, Jialin Wang, Wenbin Ge, Sibo Song, Kai Dang, Peng Wang, Shijie Wang, Jun Tang, Humen Zhong, Yuanzhi Zhu, Ming-Hsuan Yang, Zhaohai Li, Jianqiang Wan, Pengfei Wang, Wei Ding, Zheren Fu, Yiheng Xu, and 8 others. 2025. Qwen2.5-vl technical report. CoRR, abs/2502.13923.
|
| 329 |
+
Liang Chen, Lei Li, Haozhe Zhao, Yifan Song, and Vinci. 2025. R1-v: Reinforcing super generalization ability in vision-language models with less than $3. https://github.com/Deep-Agent/R1-V. Accessed: 2025-02-02.
|
| 330 |
+
Wentong Chen, Junbo Cui, Jinyi Hu, Yujia Qin, Junjie Fang, Yue Zhao, Chongyi Wang, Jun Liu, Guirong Chen, Yupeng Huo, Yuan Yao, Yankai Lin, Zhiyuan Liu, and Maosong Sun. 2024. Guicourse: From general vision language models to versatile GUI agents. CoRR, abs/2406.11317.
|
| 331 |
+
Zhe Chen, Jiannan Wu, Wenhai Wang, Weijie Su, Guo Chen, Sen Xing, Muyan Zhong, Qinglong Zhang, Xizhou Zhu, Lewei Lu, Bin Li, Ping Luo, Tong Lu, Yu Qiao, and Jifeng Dai. 2023. Internvl: Scaling up vision foundation models and aligning for generic visual-linguistic tasks. CoRR, abs/2312.14238.
|
| 332 |
+
Kanzhi Cheng, Qiushi Sun, Yougang Chu, Fangzhi Xu, Yantao Li, Jianbing Zhang, and Zhiyong Wu. 2024. Seeclick: Harnessing GUI grounding for advanced visual GUI agents. In Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), ACL 2024, Bangkok, Thailand, August 11-16, 2024, pages 9313-9332. Association for Computational Linguistics.
|
| 333 |
+
Xiang Deng, Yu Gu, Boyuan Zheng, Shijie Chen, Samual Stevens, Boshi Wang, Huan Sun, and Yu Su. 2023. Mind2web: Towards a generalist agent for the web. In Advances in Neural Information Processing Systems 36: Annual Conference on Neural Information Processing Systems 2023, NeurIPS 2023, New Orleans, LA, USA, December 10 - 16, 2023.
|
| 334 |
+
Boyu Gou, Ruohan Wang, Boyuan Zheng, Yanan Xie, Cheng Chang, Yiheng Shu, Huan Sun, and Yu Su. 2025. Navigating the digital world as humans do: Universal visual grounding for GUI agents. In The Thirteenth International Conference on Learning Representations, ICLR 2025, Singapore, April 24-28, 2025. OpenReview.net.
|
| 335 |
+
Daya Guo, Dejian Yang, Haowei Zhang, Junxiao Song, Ruoyu Zhang, Runxin Xu, Qihao Zhu, Shirong Ma, Peiyi Wang, Xiao Bi, and 1 others. 2025. Deepseek-r1: Incentivizing reasoning capability in llms via reinforcement learning. arXiv preprint arXiv:2501.12948.
|
| 336 |
+
Wenyi Hong, Weihan Wang, Qingsong Lv, Jiazheng Xu, Wenmeng Yu, Junhui Ji, Yan Wang, Zihan Wang, Yuxiao Dong, Ming Ding, and Jie Tang. 2024. Co-gagent: A visual language model for GUI agents. In IEEE/CVF Conference on Computer Vision and
|
| 337 |
+
|
| 338 |
+
Pattern Recognition, CVPR 2024, Seattle, WA, USA, June 16-22, 2024, pages 14281-14290. IEEE.
|
| 339 |
+
Yu-Chung Hsiao, Fedir Zubach, Maria Wang, and Jindong Chen. 2022. Screenqa: Large-scale question-answer pairs over mobile app screenshots. CoRR, abs/2209.08199.
|
| 340 |
+
Zhiyuan Huang, Ziming Cheng, Junting Pan, Zhaohui Hou, and Mingjie Zhan. 2025. Spiritsight agent: Advanced GUI agent with one look. CoRR, abs/2503.03196.
|
| 341 |
+
Aaron Jaech, Adam Kalai, Adam Lerer, Adam Richardson, Ahmed El-Kishky, Aiden Low, Alec Helyar, Aleksander Madry, Alex Beutel, Alex Carney, and 1 others. 2024. Openai o1 system card. arXiv preprint arXiv:2412.16720.
|
| 342 |
+
Raghav Kapoor, Yash Parag Butala, Melisa Russak, Jing Yu Koh, Kiran Kamble, Waseem AlShikh, and Ruslan Salakhutdinov. 2024. Omniact: A dataset and benchmark for enabling multimodal generalist autonomous agents for desktop and web. In Computer Vision - ECCV 2024 - 18th European Conference, Milan, Italy, September 29-October 4, 2024, Proceedings, Part LXVIII, volume 15126 of Lecture Notes in Computer Science, pages 161-178. Springer.
|
| 343 |
+
Hanyu Lai, Xiao Liu, Iat Long Iong, Shuntian Yao, Yuxuan Chen, Pengbo Shen, Hao Yu, Hanchen Zhang, Xiaohan Zhang, Yuxiao Dong, and Jie Tang. 2024. Autowebglm: A large language model-based web navigating agent. In Proceedings of the 30th ACM SIGKDD Conference on Knowledge Discovery and Data Mining, KDD 2024, Barcelona, Spain, August 25-29, 2024, pages 5295-5306. ACM.
|
| 344 |
+
Hongxin Li, Jingfan Chen, Jingran Su, Yuntao Chen, Qing Li, and Zhaoxiang Zhang. 2025a. Autogui: Scaling GUI grounding with automatic functionality annotations from llms. CoRR, abs/2502.01977.
|
| 345 |
+
Kaixin Li, Ziyang Meng, Hongzhan Lin, Ziyang Luo, Yuchen Tian, Jing Ma, Zhiyong Huang, and Tat-Seng Chua. 2025b. Screenshot-pro: Gui grounding for professional high-resolution computer use. Preprint, arXiv:2504.07981.
|
| 346 |
+
Wei Li, William W. Bishop, Alice Li, Christopher Rawles, Folawiyo Campbell-Ajala, Divya Tyamagundlu, and Oriana Riva. 2024. On the effects of data scale on computer control agents. CoRR, abs/2406.03679.
|
| 347 |
+
Kevin Qinghong Lin, Linjie Li, Difei Gao, Zhengyuan Yang, Shiwei Wu, Zechen Bai, Weixian Lei, Lijuan Wang, and Mike Zheng Shou. 2024. Showui: One vision-language-action model for GUI visual agent. CoRR, abs/2411.17465.
|
| 348 |
+
Junpeng Liu, Tianyue Ou, Yifan Song, Yuxiao Qu, Wai Lam, Chenyan Xiong, Wenhu Chen, Graham Neubig, and Xiang Yue. 2025a. Harnessing webpage uis for text-rich visual understanding. In The Thirteenth International Conference on Learning Representations,
|
| 349 |
+
|
| 350 |
+
ICLR 2025, Singapore, April 24-28, 2025. OpenReview.net.
|
| 351 |
+
Xiao Liu, Bo Qin, Dongzhu Liang, Guang Dong, Hanyu Lai, Hanchen Zhang, Hanlin Zhao, Iat Long Iong, Jiadai Sun, Jiaqi Wang, Junjie Gao, Junjun Shan, Kangning Liu, Shudan Zhang, Shuntian Yao, Siyi Cheng, Wentao Yao, Wenyi Zhao, Xinghan Liu, and 11 others. 2024. Autoglm: Autonomous foundation agents for guis. CoRR, abs/2411.00820.
|
| 352 |
+
Yuhang Liu, Pengxiang Li, Zishu Wei, Congkai Xie, Xueyu Hu, Xinchen Xu, Shengyu Zhang, Xiaotian Han, Hongxia Yang, and Fei Wu. 2025b. Infiguia-gent: A multimodal generalist GUI agent with native reasoning and reflection. CoRR, abs/2501.04575.
|
| 353 |
+
Ziyu Liu, Zeyi Sun, Yuhang Zang, Xiaoyi Dong, Yuhang Cao, Haodong Duan, Dahua Lin, and Jiaqi Wang. 2025c. Visual-rft: Visual reinforcement fine-tuning. CoRR, abs/2503.01785.
|
| 354 |
+
Yadong Lu, Jianwei Yang, Yelong Shen, and Ahmed Awadallah. 2024. Omniparser for pure vision based GUI agent. CoRR, abs/2408.00203.
|
| 355 |
+
Zhengxi Lu, Yuxiang Chai, Yaxuan Guo, Xi Yin, Liang Liu, Hao Wang, Han Xiao, Shuai Ren, Guanjing Xiong, and Hongsheng Li. 2025. Ui-r1: Enhancing efficient action prediction of gui agents by reinforcement learning. Preprint, arXiv:2503.21620.
|
| 356 |
+
Haohao Luo, Yang Deng, Ying Shen, See-Kiong Ng, and Tat-Seng Chua. 2024. Chain-of-exemplar: Enhancing distractor generation for multimodal educational question generation. In Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), ACL 2024, Bangkok, Thailand, August 11-16, 2024, pages 7978-7993. Association for Computational Linguistics.
|
| 357 |
+
Run Luo, Lu Wang, Wanwei He, and Xiaobo Xia. 2025. Gui-r1: A generalist r1-style vision-language action model for gui agents. Preprint, arXiv:2504.10458.
|
| 358 |
+
OpenAI,., Aaron Hurst, Adam Lerer, Adam P. Goucher, Adam Perelman, Aditya Ramesh, Aidan Clark, AJ Ostrow, Akila Welihinda, Alan Hayes, Alec Radford, Aleksander Madry, Alex Baker-Whitcomb, Alex Beutel, Alex Borzunov, Alex Carney, Alex Chow, Alex Kirillov, and 401 others. 2024. Gpt-4o system card. Preprint, arXiv:2410.21276.
|
| 359 |
+
OpenAI. 2023. GPT-4 technical report. CoRR, abs/2303.08774.
|
| 360 |
+
Yujia Qin, Yining Ye, Junjie Fang, Haoming Wang, Shihao Liang, Shizuo Tian, Junda Zhang, Jiahao Li, Yunxin Li, Shijue Huang, Wanjun Zhong, Kuanye Li, Jiale Yang, Yu Miao, Woyu Lin, Longxiang Liu, Xu Jiang, Qianli Ma, Jingyu Li, and 16 others. 2025. UI-TARS: pioneering automated GUI interaction with native agents. CoRR, abs/2501.12326.
|
| 361 |
+
|
| 362 |
+
Samyam Rajbhandari, Jeff Rasley, Olatunji Ruwase, and Yuxiong He. 2020. Zero: memory optimizations toward training trillion parameter models. In Proceedings of the International Conference for High Performance Computing, Networking, Storage and Analysis, SC 2020, Virtual Event / Atlanta, Georgia, USA, November 9-19, 2020, page 20. IEEE/ACM.
|
| 363 |
+
Zhihong Shao, Peiyi Wang, Qihao Zhu, Runxin Xu, Junxiao Song, Mingchuan Zhang, Y. K. Li, Y. Wu, and Daya Guo. 2024. Deepseekmath: Pushing the limits of mathematical reasoning in open language models. CoRR, abs/2402.03300.
|
| 364 |
+
Haozhan Shen, Peng Liu, Jingcheng Li, Chunxin Fang, Yibo Ma, Jiajia Liao, Qiaoli Shen, Zilun Zhang, Kangjia Zhao, Qianqian Zhang, Ruochen Xu, and Tiancheng Zhao. 2025. Vlm-r1: A stable and generalizable r1-style large vision-language model. Preprint, arXiv:2504.07615.
|
| 365 |
+
Gemini Team. 2024. Gemini 1.5: Unlocking multimodal understanding across millions of tokens of context. Preprint, arXiv:2403.05530.
|
| 366 |
+
Junyang Wang, Haiyang Xu, Haitao Jia, Xi Zhang, Ming Yan, Weizhou Shen, Ji Zhang, Fei Huang, and Jitao Sang. 2024a. Mobile-agent-v2: Mobile device operation assistant with effective navigation via multi-agent collaboration. In Advances in Neural Information Processing Systems 38: Annual Conference on Neural Information Processing Systems 2024, NeurIPS 2024, Vancouver, BC, Canada, December 10 - 15, 2024.
|
| 367 |
+
Junyang Wang, Haiyang Xu, Jiabo Ye, Ming Yan, Weizhou Shen, Ji Zhang, Fei Huang, and Jitao Sang. 2024b. Mobile-agent: Autonomous multi-modal mobile device agent with visual perception. CoRR, abs/2401.16158.
|
| 368 |
+
Peng Wang, Shuai Bai, Sinan Tan, Shijie Wang, Zhihao Fan, Jinze Bai, Keqin Chen, Xuejing Liu, Jialin Wang, Wenbin Ge, Yang Fan, Kai Dang, Mengfei Du, Xuancheng Ren, Rui Men, Dayiheng Liu, Chang Zhou, Jingren Zhou, and Junyang Lin. 2024c. Qwen2-vl: Enhancing vision-language model's perception of the world at any resolution. CoRR, abs/2409.12191.
|
| 369 |
+
Xin Wang, Yudong Chen, and Wenwu Zhu. 2022. A survey on curriculum learning. IEEE Trans. Pattern Anal. Mach. Intell., 44(9):4555-4576.
|
| 370 |
+
Zhiyong Wu, Zhenyu Wu, Fangzhi Xu, Yian Wang, Qiushi Sun, Chengyou Jia, Kanzhi Cheng, Zichen Ding, Liheng Chen, Paul Pu Liang, and Yu Qiao. 2024. Os-atlas: A foundation action model for generalist gui agents. Preprint, arXiv:2410.23218.
|
| 371 |
+
Yiheng Xu, Zekun Wang, Junli Wang, Dunjie Lu, Tianbao Xie, Amrita Saha, Doyen Sahoo, Tao Yu, and Caiming Xiong. 2024. Aguvis: Unified pure vision agents for autonomous gui interaction. Preprint, arXiv:2412.04454.
|
| 372 |
+
|
| 373 |
+
Yuhao Yang, Yue Wang, Dongxu Li, Ziyang Luo, Bei Chen, Chao Huang, and Junnan Li. 2024. Ariaui: Visual grounding for gui instructions. Preprint, arXiv:2412.16256.
|
| 374 |
+
Shunyu Yao, Jeffrey Zhao, Dian Yu, Nan Du, Izhak Shafran, Karthik R. Narasimhan, and Yuan Cao. 2023. React: Synergizing reasoning and acting in language models. In The Eleventh International Conference on Learning Representations, ICLR 2023, Kigali, Rwanda, May 1-5, 2023. OpenReview.net.
|
| 375 |
+
Chi Zhang, Zhao Yang, Jiaxuan Liu, Yanda Li, Yucheng Han, Xin Chen, Zebiao Huang, Bin Fu, and Gang Yu. 2025. Appagent: Multimodal agents as smartphone users. In Proceedings of the 2025 CHI Conference on Human Factors in Computing Systems, CHI 2025, Yokohama Japan, 26 April 2025-1 May 2025, pages 70:1-70:20. ACM.
|
| 376 |
+
Yaowei Zheng, Richong Zhang, Junhao Zhang, Yanhan Ye, Zheyan Luo, Zhangchi Feng, and Yongqiang Ma. 2024. Llamafactory: Unified efficient fine-tuning of $100+$ language models. In Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 3: System Demonstrations), Bangkok, Thailand. Association for Computational Linguistics.
|
| 377 |
+
|
| 378 |
+
# A Datasets Details
|
| 379 |
+
|
| 380 |
+
We provide training data used in the curriculum learning stage and reinforcement learning stage, as well as statistical information for the four datasets used in the experiment, as shown in Table 8 and Table 7, respectively.
|
| 381 |
+
|
| 382 |
+
# B Implementation Details
|
| 383 |
+
|
| 384 |
+
We build our GUI agent upon Qwen2-VL-2B-Instruct (Wang et al., 2024c), a vision-language model with strong general capabilities. It is worth noting that we chose Qwen2-VL-2B instead of Qwen's latest series Qwen2.5-VL-3B (Bai et al., 2025) because 2B is lighter, and most of the methods we compared used Qwen2-VL-2B as the base model or larger parameter models before Qwen2-VL. We validated the effectiveness of our proposed method in a fairer situation. The training process consists of two stages: Curriculum Learning (CL) and Reinforcement Learning (RL). For Curriculum Learning, we employ the LLaMA Factory (Zheng et al., 2024) framework for one epoch at each stage with the visual backbone frozen. We employ AdamW with a cosine annealing learning rate scheduler, setting the initial learning rate to 1e-5 and batch size to 16. For Reinforcement Learning, we use the R1-V (Chen et al., 2025) framework for training over two epochs, setting the initial learning
|
| 385 |
+
|
| 386 |
+
<table><tr><td>Datasets</td><td>Platforms</td><td>Task</td><td>Metric</td><td># Test Samples</td><td>History?</td></tr><tr><td>ScreenSpot-Pro (Li et al., 2025b)</td><td>Web, PC, Mobile</td><td>Grounding</td><td>clickAcc</td><td>1,272</td><td>X</td></tr><tr><td>ScreenSpot (Cheng et al., 2024)</td><td>Web, PC, Mobile</td><td>Grounding</td><td>clickAcc</td><td>1,581</td><td>X</td></tr><tr><td>Mind2Web (Deng et al., 2023)</td><td>Web</td><td>Navigation</td><td>Ele.Acc, Op.F1, Step SR</td><td>6,418</td><td>✓</td></tr><tr><td>AndroidControl-High (Li et al., 2024)</td><td>Mobile</td><td>Navigation</td><td>Step Accuracy</td><td>8,444</td><td>✓</td></tr><tr><td>AndroidControl-Low (Li et al., 2024)</td><td>Mobile</td><td>Grounding</td><td>Step Accuracy</td><td>8,444</td><td>X</td></tr></table>
|
| 387 |
+
|
| 388 |
+
Table 7: Statistics of GUI datasets.
|
| 389 |
+
|
| 390 |
+
<table><tr><td>Usage</td><td>Source</td><td>Number</td></tr><tr><td rowspan="7">CL</td><td>GUIChat(Chen et al., 2024)</td><td>40k</td></tr><tr><td>ScreenQA (Hsiao et al., 2022)</td><td>17k</td></tr><tr><td>MultiUI (Liu et al., 2025a)</td><td>50k</td></tr><tr><td>AutoGUI (Li et al., 2025a)</td><td>50k</td></tr><tr><td>SeeClick (Cheng et al., 2024)</td><td>100k</td></tr><tr><td>GUIEnv (Chen et al., 2024)</td><td>100k</td></tr><tr><td>Aguvis-stage2 (Xu et al., 2024)</td><td>35k</td></tr><tr><td>RL</td><td>OmniAct (Kapoor et al., 2024)</td><td>2k</td></tr><tr><td>Total</td><td></td><td>394k</td></tr></table>
|
| 391 |
+
|
| 392 |
+
Table 8: Training data statistics from various sources.
|
| 393 |
+
|
| 394 |
+
rate to 1e-6 and batch size to 16. At each stage, we utilize the strategies of DeepSpeed optimization (Rajbhandari et al., 2020), BF16 format, and gradient checkpointing to save GPU memory. All training is conducted on $2^{*}\mathrm{A}100$ GPU (80G).
|
2025/INREACT_ An Inspire-Then-Reinforce Training Framework For Multimodal GUI Agent/images.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4769bbb1eeab1d72c29813c6a19cfe9b93f9ec25d9784f766569e20510976a6f
|
| 3 |
+
size 696503
|
2025/INREACT_ An Inspire-Then-Reinforce Training Framework For Multimodal GUI Agent/layout.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2025/IP-Dialog_ Evaluating Implicit Personalization in Dialogue Systems with Synthetic Data/347614f0-d1c5-4371-901f-a53f1ec61429_content_list.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2025/IP-Dialog_ Evaluating Implicit Personalization in Dialogue Systems with Synthetic Data/347614f0-d1c5-4371-901f-a53f1ec61429_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2025/IP-Dialog_ Evaluating Implicit Personalization in Dialogue Systems with Synthetic Data/347614f0-d1c5-4371-901f-a53f1ec61429_origin.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:65815c3004079ea28d6f343a338b22658f15267252b74596460428d6b7073c79
|
| 3 |
+
size 1340925
|
2025/IP-Dialog_ Evaluating Implicit Personalization in Dialogue Systems with Synthetic Data/full.md
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2025/IP-Dialog_ Evaluating Implicit Personalization in Dialogue Systems with Synthetic Data/images.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a7e441077ca921f081cc12199a578f7fbfcfeefdab65712afccd08fb119c6b09
|
| 3 |
+
size 1329625
|
2025/IP-Dialog_ Evaluating Implicit Personalization in Dialogue Systems with Synthetic Data/layout.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2025/ISACL_ Internal State Analyzer for Copyrighted Training Data Leakage/8060ed99-c298-4105-b64b-1e8c92bcd4fe_content_list.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2025/ISACL_ Internal State Analyzer for Copyrighted Training Data Leakage/8060ed99-c298-4105-b64b-1e8c92bcd4fe_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2025/ISACL_ Internal State Analyzer for Copyrighted Training Data Leakage/8060ed99-c298-4105-b64b-1e8c92bcd4fe_origin.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:67eb6d806c28ec0810476739bf70a053a267f2f846a939573d760be888ea6fde
|
| 3 |
+
size 4839946
|
2025/ISACL_ Internal State Analyzer for Copyrighted Training Data Leakage/full.md
ADDED
|
@@ -0,0 +1,561 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# ISACL: Internal State Analyzer for Copyrighted Training Data Leakage
|
| 2 |
+
|
| 3 |
+
Guangwei Zhang $^{1}$ , Qisheng Su $^{2}$ , Jiateng Liu $^{3}$ , Cheng Qian $^{3}$ , Yanzhou Pan $^{4}$ , Yanjie Fu $^{5}$ , Denghui Zhang $^{*6}$
|
| 4 |
+
|
| 5 |
+
<sup>1</sup>City University of Hong Kong, <sup>2</sup>Microsoft,
|
| 6 |
+
|
| 7 |
+
<sup>3</sup>University of Illinois Urbana-Champaign, <sup>4</sup>Google LLC,
|
| 8 |
+
|
| 9 |
+
$^{5}$ Arizona State University, $^{6}$ Stevens Institute of Technology
|
| 10 |
+
|
| 11 |
+
dzhang42@stevens.edu
|
| 12 |
+
|
| 13 |
+
# Abstract
|
| 14 |
+
|
| 15 |
+
Large Language Models (LLMs) have revolutionized Natural Language Processing (NLP) but pose risks of inadvertently exposing copyrighted or proprietary data, especially when such data is used for training but not intended for distribution. Traditional methods address these leaks only after content is generated, which can lead to the exposure of sensitive information. This study introduces a proactive approach: examining LLMs' internal states before text generation to detect potential leaks. By using a curated dataset of copyrighted materials, we trained a neural network classifier to identify risks, allowing for early intervention by stopping the generation process or altering outputs to prevent disclosure. Integrated with a Retrieval-Augmented Generation (RAG) system, this framework ensures adherence to copyright and licensing requirements while enhancing data privacy and ethical standards. Our results show that analyzing internal states effectively mitigates the risk of copyrighted data leakage, offering a scalable solution that fits smoothly into AI workflows, ensuring compliance with copyright regulations while maintaining high-quality text generation. The implementation is available<sup>1</sup>.
|
| 16 |
+
|
| 17 |
+
# 1 Introduction
|
| 18 |
+
|
| 19 |
+
LLMs have significantly enhanced text generation and dialogue systems in NLP (Zhang et al., 2023; Li et al., 2022a). However, they also pose risks of unintentionally reproducing copyrighted or proprietary information from their training data, especially when the data is licensed for training but not distribution. According to U.S. copyright law (U.S. Copyright Office, 1976), only the copyright holder has the exclusive right to distribute copyrighted works. If an LLM inadvertently distributes copyrighted material by replicating parts of its training
|
| 20 |
+
|
| 21 |
+

|
| 22 |
+
Figure 1: To assess the risk of copyrighted training data leakage, an LLM's internal states are analyzed prior to generating content. Extracting semantic information from intermediate layers allows for the proactive identification of potential risks.
|
| 23 |
+
|
| 24 |
+
data, it may violate this law and expose its developers or users to legal liability (Borkar, 2023). This underscores the importance of adhering to legal and ethical standards when deploying LLMs across various applications (Peng et al., 2023; Xue et al., 2021; Wang et al., 2025; Yu et al., 2023a, 2024). Addressing these risks is crucial to protecting intellectual property rights and ensuring the responsible and lawful use of LLMs in real-world situations.
|
| 25 |
+
|
| 26 |
+
Previous research has raised concerns about the issue of copyrighted data leakage (Zhang et al., 2025; Pan et al.; Xu et al., 2024; Zhao et al., 2024) during the generation process of LLMs, including the leakage of private information (Kim et al., 2023; Lukas et al., 2023; Huang et al., 2022; Shao et al., 2024) and evaluation data used in machine learning (Zhou et al., 2025, 2023). Existing methods to prevent or mitigate data leakage include implementing strict output filtering (Miyaoka and Inoue, 2024) and context-aware mechanisms (Luu et al., 2024), applying differential privacy techniques (Li et al., 2025; Hoory et al., 2021; Du and Mi, 2021; Li et al., 2022b; Behnia et al., 2022; Shi et al., 2022;
|
| 27 |
+
|
| 28 |
+
Wu et al., 2022; Majmudar et al., 2022; Du et al., 2023; Mai et al., 2024) or other data anonymization methods during training, regularly auditing and reviewing model outputs, and monitoring LLM interactions to detect potential data leakage. However, these approaches face several limitations, such as limited coverage of scenarios (Xiao et al., 2023), reduced model performance and usability caused by differential privacy techniques, and high costs and delays associated with manual audits (Song et al., 2024).
|
| 29 |
+
|
| 30 |
+
To address the challenge of detecting copyrighted training data leakage in LLM-generated text, we introduce a framework called the Internal State Analyzer for Copyrighted training data Leakage (ISACL). ISACL evaluates leakage risks by analyzing the model's internal states during the prefill phase, before any text is generated. Unlike conventional approaches that rely on examining fully generated outputs, ISACL proactively identifies potential risks by assessing early-stage representations of input text and their correlation with copyrighted reference materials. This approach enables real-time, scalable, and precise risk assessment without requiring complete output generation. To enhance its effectiveness, ISACL is integrated into a RAG system. copyrighted information is indexed using FAISS and stored in SQLite, allowing efficient retrieval of relevant reference materials during the evaluation process. When a relevant reference is retrieved, it is combined with the model's internal states to determine the likelihood of leakage. This integration improves the accuracy and efficiency of comparing generated content with known copyrighted training data, ensuring reliable detection. Beyond detection, ISACL adheres to legal and ethical standards, serving as a robust safeguard against unauthorized disclosure of copyrighted materials in AI-generated content. By ensuring compliance with licensing constraints, ISACL promotes responsible and lawful use of LLMs in real-world applications.
|
| 31 |
+
|
| 32 |
+
In a series of experimental configurations, ISACL demonstrated outstanding performance, achieving high accuracy and F1 scores. Specifically, accuracy ranged from $91.88\%$ to $95.05\%$ , while F1 scores varied between 0.9249 and 0.9468. In certain configurations, ISACL even achieved near-perfect detection rates. These results highlight ISACL's consistent ability to accurately identify potential training-set leakage across diverse settings, maintaining high levels of precision and recall. The
|
| 33 |
+
|
| 34 |
+
findings underscore ISACL's robustness in scalable, real-time risk detection for LLM-generated content, even without generating any text. For a detailed description of the experimental setup and results, please refer to Section 4.3.
|
| 35 |
+
|
| 36 |
+
Our primary contributions are as follows:
|
| 37 |
+
|
| 38 |
+
- As illustrated in Figure 1, we propose a real-time framework "ISACL" for predicting copyrighted training data leakage in LLM-generated text by leveraging internal states extracted before any token is decoded. This ensures efficiency and avoids reliance on output generation, proactively addressing potential risks of unauthorized disclosure.
|
| 39 |
+
- ISACL is the first framework to proactively detect potential copyrighted data leakage by analyzing LLM internal states before content is generated. This approach ensures that neither users nor language models are exposed to sensitive or copyrighted information, thereby ensuring compliance with legal and licensing standards.
|
| 40 |
+
- We validate ISACL's effectiveness in large-scale text generation scenarios and demonstrate its integration with a RAG system. This integration enables efficient and accurate text retrieval while ensuring compliance with copyright constraints, making the approach suitable for industrial applications requiring real-time prevention of copyrighted data leakage.
|
| 41 |
+
|
| 42 |
+
# 2 Related Work
|
| 43 |
+
|
| 44 |
+
# 2.1 Internal States of LLMs
|
| 45 |
+
|
| 46 |
+
Previous studies (Bricken et al., 2023; Templeton et al., 2024) have investigated the internal states of language models, which encode contextual and semantic information derived from their training data (Liu et al., 2023; Chen et al., 2024a; Gurnee and Tegmark, 2024; Wu et al., 2025). The applications of LLM internal states are highly diverse, including revealing hallucination risks (Ji et al., 2024), enhancing knowledge boundary perception (Ni et al., 2025), uncovering LLMs' factual discernment (He et al., 2024), and more (Wu et al., 2025).
|
| 47 |
+
|
| 48 |
+
# 2.2 Copyright Issues with LLMs
|
| 49 |
+
|
| 50 |
+
Scholars have emphasized the importance of protecting the intellectual property associated with the parameters of Large Language Models (Peng et al., 2023; Xue et al., 2021). This concern arises from the substantial investments in resources required for training LLMs, as well as the risk of unau
|
| 51 |
+
|
| 52 |
+

|
| 53 |
+
LEAKAGE DETECTION
|
| 54 |
+
Figure 2: Overview of our Copyrighted Training-set Leakage Detection Framework: Our approach involves maintaining a database of sensitive or proprietary materials to support the analysis of LLM hidden states. During inference, this database provides reference samples for potential leakage, working in conjunction with the model's hidden states to predict whether the generated content poses a risk of training-set leakage. The pipeline is structured into three key stages: The left section focuses on the construction and extraction of data for Retrieval-Augmented Generation, a core component designed to enhance model performance and address training-set leakage challenges. The right section illustrates the generation of training data, including the collection of internal states, labels, and reference embeddings, which are then used to train a Multi-Layer Perceptron as the final leakage risk detector. Lastly, the bottom section showcases real-world user interaction, where queries are submitted, and the system applies our framework to assess copyrighted potential leakage risks effectively.
|
| 55 |
+
|
| 56 |
+
thorized exploitation of these models, which can have significant economic and ethical implications (Zhang et al., 2018; He et al., 2022; Dale, 2021).
|
| 57 |
+
|
| 58 |
+
Copyright concerns are not limited to text; they span across various digital content creation formats, including scripts, images, videos (Moayeri et al., 2024; Kim et al., 2024), and code (Yu et al., 2023b). This widespread impact underscores the urgency of addressing these complex issues (Lucchi, 2023).
|
| 59 |
+
|
| 60 |
+
# 2.3 Data Leakage in LLMs and Prevention Strategies
|
| 61 |
+
|
| 62 |
+
LLMs are susceptible to data leakage due to several inherent vulnerabilities. One prominent issue is memorization during the training process, where LLMs unintentionally retain and reproduce sensitive information from their training data (Wang et al., 2024), such as personally identifiable information (PII) (Kim et al., 2023; Lukas et al., 2023;
|
| 63 |
+
|
| 64 |
+
Huang et al., 2022; Shao et al., 2024). This memorization can expose models to privacy attacks, including membership inference (Maini et al., 2024; Galli et al., 2024; Feng et al., 2025) and training data extraction (Carlini et al., 2021). Another critical vulnerability stems from improper or incomplete output filtering, which may cause sensitive information to be disclosed in response to user queries (Zhang et al., 2024). Furthermore, misinterpretation of user queries by the model can inadvertently lead to the exposure of confidential data (Hu et al., 2024).
|
| 65 |
+
|
| 66 |
+
# 3 Internal State Judge: Detecting Training-set Leakage Before Decoding
|
| 67 |
+
|
| 68 |
+
# 3.1 Problem Formulation
|
| 69 |
+
|
| 70 |
+
The issue of copyrighted training-set leakage in content generated by LLMs has attracted significant attention from both industry and academia.
|
| 71 |
+
|
| 72 |
+
Existing approaches typically focus on detecting potential leakage only after the content has been generated. This post-generation evaluation method presents several challenges, including high computational costs, delays in mitigation, and legal risks associated with temporary exposure to leaked information.
|
| 73 |
+
|
| 74 |
+
In this paper, we propose a framework (ISACL) designed to assess the risk of copyrighted training-set leakage before an LLM generates any output. The inference process of an LLM for a given query can be divided into two phases:
|
| 75 |
+
|
| 76 |
+
(1) Prefix Phase: The LLM processes the entire input query to generate internal states.
|
| 77 |
+
(2) Decode Phase: The LLM generates output based on these prefilled internal states.
|
| 78 |
+
|
| 79 |
+
This two-phase structure raises the central question of our study: Can the internal states produced during the prefill phase be used to predict the risk of copyrighted training-set leakage before the decoding phase begins?
|
| 80 |
+
|
| 81 |
+
To address this question, we argue that the internal states generated by an LLM during the prefetch phase capture critical contextual information related to the likelihood of generating content that leaks copyrighted training-set data. We introduce an internal states judge designed to classify the risk of copyrighted training-set leakage based on the internal states from this phase.
|
| 82 |
+
|
| 83 |
+
This approach offers three key advantages:
|
| 84 |
+
|
| 85 |
+
- Efficiency: By evaluating internal states early in the prefetch phase, ISACL can halt decoding if the internal states judge identifies potential risks, reducing unnecessary computational costs.
|
| 86 |
+
- Proactive Risk Mitigation: Performing risk assessment before content generation enables preventive actions rather than reactive measures taken after leakage has occurred.
|
| 87 |
+
- Scalability: The internal states judge is designed to be adaptable across various open source LLM architectures and model sizes, supporting wide-scale deployment.
|
| 88 |
+
|
| 89 |
+
The following sections describe the design of the internal state judge, the methodology for training data collection, and the experimental evaluation of ISACL.
|
| 90 |
+
|
| 91 |
+
# 3.2 Training An Internal States Judge
|
| 92 |
+
|
| 93 |
+
Training Data Preparation. We developed a dataset by selecting preceding and following sen
|
| 94 |
+
|
| 95 |
+
tences from verified copyrighted material as the input $x$ and reference $t$ , respectively. The LLM is tasked with generating a continuation based on this input, resulting in the output $y$ . This method is consistently applied to ensure uniformity throughout the process. Specifically, we construct a dataset of triplets for training the classifier: (x, y, t). Each generated output is assigned a risk label based on its similarity to the reference text, measured using the Rouge-L score:
|
| 96 |
+
|
| 97 |
+
$$
|
| 98 |
+
\mathcal {H} ^ {\text {t r a i n}} = \mathcal {T} (j, \text {R o u g e - L} (t, y)) \tag {1}
|
| 99 |
+
$$
|
| 100 |
+
|
| 101 |
+
where the threshold-based function $\mathcal{T}$ determines risk labels, and $j$ represents the partitioning criterion:
|
| 102 |
+
|
| 103 |
+
$$
|
| 104 |
+
\mathcal {T} (j, \text {R o u g e - L}) = \left\{ \begin{array}{l} 0, \text {i f} \mathcal {P} _ {2} \leq \text {R o u g e - L} \leq 1 \\ 1, \text {i f} 0 \leq \text {R o u g e - L} \leq \mathcal {P} _ {1} \\ \mathrm {N / A}, \text {o t h e r w i s e} \end{array} \right. \tag {2}
|
| 105 |
+
$$
|
| 106 |
+
|
| 107 |
+
where $\mathcal{P}_1$ and $\mathcal{P}_2$ are predefined thresholds used to classify an output as either high or low risk.
|
| 108 |
+
|
| 109 |
+
Our dataset is structured as pairs of internal states and their associated risk labels: $\mathcal{D}_{\theta} = \{\langle S_{x_i}^{\mathrm{train}},\mathcal{H}_i^{\mathrm{train}}\rangle \}_{i = 1}^N$ $\mathcal{S}$ denotes the internal states.
|
| 110 |
+
|
| 111 |
+
Internal States of Query in Prefill Phase of LLMs. A crucial step in ISACL is the extraction of internal states during the prefetch phase of LLMs. In this phase, the model processes the entire input sequence to compute intermediate representations (such as keys and values) before generating any output tokens. This stage involves highly parallelized matrix-matrix operations, allowing the model to efficiently encode the semantic and structural properties of the input.
|
| 112 |
+
|
| 113 |
+
During forward propagation, the input text $x$ from the dataset triplet is fed into the LLM, and we extract the internal states $S$ from a specific layer in the prefetch phase. These internal states are computed through multiple layers of non-linear transformations, activations, and information flow, formally represented as:
|
| 114 |
+
|
| 115 |
+
$$
|
| 116 |
+
\mathcal {S} _ {l} = f \left(\mathcal {W} _ {l} \cdot \mathcal {S} _ {l - 1} + \mathcal {B} _ {l}\right), \quad l = 1, 2, \dots , L \tag {3}
|
| 117 |
+
$$
|
| 118 |
+
|
| 119 |
+
where $S_{l}$ represents the internal states at layer $l$ , $\mathcal{W}_l$ and $\mathcal{B}_l$ are the learnable weights and biases of the $l$ -th layer, and $f$ is the activation function. At each layer, the model refines its understanding of the input query $x$ , progressively building increasingly sophisticated representations of syntax, context, and meaning (Devlin et al., 2019; Radford and
|
| 120 |
+
|
| 121 |
+
Narasimhan, 2018). These internal states encode both token-level details and broader semantic relationships, providing a rich representation of the input's meaning (Clark et al., 2019).
|
| 122 |
+
|
| 123 |
+
In our experiments, we extract internal states from the final encoder layer during the prefetch phase and compute their mean across all tokens. By analyzing these internal states before the decoding stage, we aim to proactively identify and mitigate potential risks (Zellers et al., 2020).
|
| 124 |
+
|
| 125 |
+
Training Objectives of Internal States Judge. The objective of training the internal states judge is to create a classifier that predicts the likelihood of training-set leakage based on the internal states of the model. This classifier learns to assess the Rouge-L similarity score, distinguishing between high-risk and low-risk outputs. It is implemented using an MLP model:
|
| 126 |
+
|
| 127 |
+
$$
|
| 128 |
+
\mathcal {M} = \operatorname {d o w n} (\operatorname {u p} (\mathcal {S}) \times \operatorname {S i L U} (\operatorname {g a t e} (\mathcal {S}))) \tag {4}
|
| 129 |
+
$$
|
| 130 |
+
|
| 131 |
+
where SiLU serves as the activation function, and the linear layers down, up, and gate handle projection and gating mechanisms. This model enables efficient real-time risk prediction without requiring full output decoding.
|
| 132 |
+
|
| 133 |
+
# 3.3 Enhancing Internal States Judge with Retrieved References
|
| 134 |
+
|
| 135 |
+
Leveraging References to Enhance Internal States Judge. Relying solely on input text may lack sufficient context for detecting training-set leakage. To improve detection, ISACL incorporates external references using RAG technology (Lewis et al., 2021), enhancing the model's ability to assess potential risks.
|
| 136 |
+
|
| 137 |
+
Formally, given an input query $x$ , we first extract its internal states $S_{x}$ from the prefill phase of the LLM, then retrieve a set of relevant reference texts $T = \{t_{1}, t_{2}, \dots, t_{m}\}$ from an external knowledge base. The retrieved references are encoded into an aggregated representation $S_{T}$ , which is then concatenated with $S_{x}$ to form the final combined representation. An MLP classifier is then applied to predict the leak probability:
|
| 138 |
+
|
| 139 |
+
$$
|
| 140 |
+
p = \sigma \left(\mathcal {M} \left(\operatorname {c o n c a t} \left(f _ {\theta} (x), h _ {\phi} (\mathcal {G} (x))\right)\right)\right), \tag {5}
|
| 141 |
+
$$
|
| 142 |
+
|
| 143 |
+
where $f_{\theta}$ represents the transformation function of the LLM's prefetch phase, $\mathcal{G}$ is the retrieval function that selects references most relevant to $x$ , $h_{\phi}$
|
| 144 |
+
|
| 145 |
+
encodes the retrieved references, $\mathcal{M}$ denotes the MLP model, and $\sigma$ represents the sigmoid activation function that outputs the probability of training-set leakage.
|
| 146 |
+
|
| 147 |
+
Finally, the predicted probability $p$ is compared with a predefined threshold $\tau$ to make the final leakage risk decision:
|
| 148 |
+
|
| 149 |
+
$$
|
| 150 |
+
\mathcal {H} ^ {\text {p r e d i c t}} = \left\{ \begin{array}{l l} 1, & \text {i f} p \geq \tau \\ 0, & \text {o t h e r w i s e} \end{array} \right. \tag {6}
|
| 151 |
+
$$
|
| 152 |
+
|
| 153 |
+
where $\tau$ is a tunable threshold that determines the sensitivity of leakage detection. By integrating external references into the internal state analysis and applying a threshold-based decision rule, this enhanced approach significantly improves the model's predictive capabilities, reducing both false positives and false negatives.
|
| 154 |
+
|
| 155 |
+
Retrieving References from Indexed Documents. To facilitate Retrieval-Augmented Generation, as shown in Figure 3, we construct a RAG-Enhanced Reference Database that efficiently stores and retrieves references for leakage detection. This database is designed to manage copyrighted training materials effectively, ensuring quick access to relevant references and supporting robust content analysis and decision-making. The construction details of the RAG-based database are provided in Appendix B.
|
| 156 |
+
|
| 157 |
+

|
| 158 |
+
Figure 3: Process of constructing a vector database for the RAG system and handling user queries.
|
| 159 |
+
|
| 160 |
+
# 4 Experiments
|
| 161 |
+
|
| 162 |
+
In this section, we evaluate the effectiveness of the internal states judge in identifying literal copying leakage (according to strict text similarity) in text continuations. Specifically, we address the following research questions (RQ):
|
| 163 |
+
|
| 164 |
+
- RQ 1: How well does ISACL detect literal copying leakage across various LLMs, such as the Llama and Mistral series, and how does model size influence performance?
|
| 165 |
+
- RQ 2: Can ISACL accurately identify non-literal copying leakage (such as paraphrased content) and how does its performance compare to that of literal copying leakage detection?
|
| 166 |
+
- RQ 3: What factors affect the performance of ISACL, including the role of the RAG system, the choice of LLM internal state layers, and the strategies used for dataset division?
|
| 167 |
+
|
| 168 |
+
To investigate these questions, we conduct experiments using a structured dataset that includes both literal and non-literal copying leakage tasks. For literal copying, we evaluate the risk of training data leakage in text continuations by using excerpts from well-known fiction books. For non-literal copying, we focus on identifying event and character copying within paraphrased content. We test ISACL on LLMs from the Llama and Mistral series, ranging from 7B to 70B parameters, and compare it with baseline approaches. Our findings show that ISACL is both effective and accurate in detecting literal material leakage, while also revealing the challenges involved in identifying paraphrased content.
|
| 169 |
+
|
| 170 |
+
# 4.1 Dataset and Label Partitioning
|
| 171 |
+
|
| 172 |
+
We leveraged the dataset described in Appendix D to assess risks related to fiction texts (Meeus et al., 2024; Chang et al., 2023; Shi et al., 2023).
|
| 173 |
+
|
| 174 |
+
In the process of dataset division, the label is created based on quantiles, where the upper $p$ (the top $p$ of the data) is used as the leakage set, and the lower $p$ (the bottom $p$ of the data) is used as the non-disclosure set. Notably, the data within the middle range of $1 - 2p$ is directly discarded due to its relative ambiguity in classification. Here, $p$ $(0 < p < 1)$ is a manually defined probability that determines the proportion of data included in each set, ensuring a clear distinction between the two subsets for analysis. By conducting experiments with varying $p$ values, we can observe the sensitivity of internal states to the defined criteria for
|
| 175 |
+
|
| 176 |
+
potential leakage risk.
|
| 177 |
+
|
| 178 |
+
# 4.2 Model Selection
|
| 179 |
+
|
| 180 |
+
We used LLMs from the Llama (Touvron et al., 2023) and Mistral (Jiang et al., 2023) series to generate text continuations and extract internal states, ensuring accurate dataset classification. To capture true continuations, we extracted reference embeddings using BERT (Devlin et al., 2019), which effectively captured the semantic content for training.
|
| 181 |
+
|
| 182 |
+
# 4.3 Detecting Literal Copying Leakage through LLM Internal States
|
| 183 |
+
|
| 184 |
+
In this section, we empirically evaluate the effectiveness of ISACL for detecting literal copying leakage across different LLMs, including Llama and Mistral, as well as a range of model sizes from 7B to 70B parameters. To assess model performance, we use standard metrics such as Accuracy and F1-score, described in appendix C, providing insights into the models' precision and effectiveness in detecting leakage risks. ISACL involves extracting internal states from the last layer of the model during the pre-filling phase, which are then used to train a classifier for predicting leakage risk.
|
| 185 |
+
|
| 186 |
+
Baselines. In our experiment, we established a baseline model using LLMs to assess potential copyrighted material leakage in content generation tasks. It includes two configurations: "Input Only" (LLM-w/oRAG), where decisions are made based solely on the input text, and "Input with RAG system" (LLM-w/RAG), where both the input text and reference materials are considered. Similar to our proposed method, the baseline evaluates potential leakage without generating the next text segment. The task is to identify whether the continuation text contains elements that may raise leakage concerns. Predicted outcomes are compared to ground truth labels, which are derived from the dataset and based on Rouge-L scores. Details of the baseline prompt settings are provided in Table 10.
|
| 187 |
+
|
| 188 |
+
Results and Analysis. The results are based on three dataset splits (select $p$ according to Section 4.1), determined by Rouge-L scores: $10\%$ , $20\%$ , and $30\%$ . Each split classifies the dataset into high-scoring (leak) and low-scoring (non-disclosure) samples. We assess the model's ability to distinguish between these groups and examine how incorporating reference embeddings retrieved from a database enhances performance across various levels of textual similarity.
|
| 189 |
+
|
| 190 |
+
Table 1: The results on the literal dataset evaluate the performance of various models and methods. We compare four approaches: LLM-w/oRAG and LLM-w/RAG, which represent the "LLM-as-a-Judge (Without RAG system)" and "LLM-as-a-Judge (With RAG system)" methods. In these approaches, we use the LLM directly to detect potential training data leakage in the input text—either based solely on the input (LLM-w/oRAG) or using both the input and the RAG system (LLM-w/RAG). Additionally, we evaluate the Internal-States-Judge (IS) methods: IS-w/oRAG and IS-w/RAG, which represent the "Internal-States-Judge (Without RAG system)" and "Internal-States-Judge (With RAG system)" methods. We report accuracy (ACC) and F1 scores for different dataset divisions.
|
| 191 |
+
|
| 192 |
+
<table><tr><td colspan="3"></td><td colspan="2">Division (10%)</td><td colspan="2">Division (20%)</td><td colspan="2">Division (30%)</td></tr><tr><td>LLMs</td><td>Method</td><td>Time (s)</td><td>ACC (%)</td><td>F1 (%)</td><td>ACC (%)</td><td>F1 (%)</td><td>ACC (%)</td><td>F1 (%)</td></tr><tr><td colspan="9">Llama</td></tr><tr><td rowspan="4">Llama-3.1-8B</td><td>LLM-w/oRAG</td><td>0.4914</td><td>52.12</td><td>52.89</td><td>53.38</td><td>48.28</td><td>50.19</td><td>47.07</td></tr><tr><td>IS-w/oRAG</td><td>0.0564</td><td>91.53</td><td>92.96</td><td>78.05</td><td>79.25</td><td>73.73</td><td>77.36</td></tr><tr><td>LLM-w/RAG</td><td>0.7012</td><td>61.48</td><td>62.24</td><td>56.20</td><td>59.43</td><td>56.78</td><td>60.28</td></tr><tr><td>IS-w/RAG</td><td>0.0592</td><td>92.37</td><td>93.71</td><td>83.26</td><td>82.67</td><td>77.11</td><td>78.62</td></tr><tr><td rowspan="4">Llama-2-13b</td><td>LLM-w/oRAG</td><td>0.5412</td><td>63.29</td><td>53.82</td><td>58.26</td><td>49.42</td><td>53.28</td><td>52.43</td></tr><tr><td>IS-w/oRAG</td><td>0.0642</td><td>91.75</td><td>93.37</td><td>82.46</td><td>81.47</td><td>78.83</td><td>76.44</td></tr><tr><td>LLM-w/RAG</td><td>0.8109</td><td>63.75</td><td>62.97</td><td>61.43</td><td>58.41</td><td>59.52</td><td>54.78</td></tr><tr><td>IS-w/RAG</td><td>0.0696</td><td>93.23</td><td>94.18</td><td>86.52</td><td>85.57</td><td>80.03</td><td>79.15</td></tr><tr><td rowspan="4">Llama-3.1-70B</td><td>LLM-w/oRAG</td><td>1.1492</td><td>64.29</td><td>63.85</td><td>63.41</td><td>51.04</td><td>55.67</td><td>50.52</td></tr><tr><td>IS-w/oRAG</td><td>0.1274</td><td>\( 100.00^2 \)</td><td>100.00</td><td>94.55</td><td>94.63</td><td>91.88</td><td>92.49</td></tr><tr><td>LLM-w/RAG</td><td>1.4335</td><td>64.93</td><td>64.68</td><td>61.05</td><td>60.26</td><td>59.84</td><td>62.57</td></tr><tr><td>IS-w/RAG</td><td>0.1389</td><td>100.00</td><td>100.00</td><td>95.05</td><td>94.68</td><td>94.48</td><td>94.64</td></tr><tr><td colspan="9">Mistral</td></tr><tr><td rowspan="4">Mistral-7B-v0.1</td><td>LLM-w/oRAG</td><td>0.5238</td><td>54.31</td><td>51.92</td><td>50.73</td><td>49.96</td><td>50.85</td><td>51.55</td></tr><tr><td>IS-w/oRAG</td><td>0.0623</td><td>97.96</td><td>98.00</td><td>79.58</td><td>82.97</td><td>70.75</td><td>76.24</td></tr><tr><td>LLM-w/RAG</td><td>0.6876</td><td>58.49</td><td>54.51</td><td>55.58</td><td>52.40</td><td>52.36</td><td>53.77</td></tr><tr><td>IS-w/RAG</td><td>0.0677</td><td>98.98</td><td>98.99</td><td>83.25</td><td>85.59</td><td>78.01</td><td>82.35</td></tr><tr><td rowspan="4">Mistral-7B-v0.3</td><td>LLM-w/oRAG</td><td>0.5324</td><td>52.84</td><td>50.67</td><td>53.29</td><td>51.04</td><td>52.93</td><td>41.63</td></tr><tr><td>IS-w/oRAG</td><td>0.0597</td><td>91.75</td><td>92.59</td><td>83.52</td><td>84.21</td><td>79.46</td><td>83.04</td></tr><tr><td>LLM-w/RAG</td><td>0.6343</td><td>54.20</td><td>55.06</td><td>51.25</td><td>54.03</td><td>53.10</td><td>49.69</td></tr><tr><td>IS-w/RAG</td><td>0.0614</td><td>93.76</td><td>95.30</td><td>87.27</td><td>86.24</td><td>84.86</td><td>87.39</td></tr></table>
|
| 193 |
+
|
| 194 |
+
We also compare ISACL to the "LLM-as-a-Judge" approach. As shown in Table 1, we analyze the performance differences across dataset splits and model configurations, demonstrating the practical advantages of ISACL.
|
| 195 |
+
|
| 196 |
+
Several key insights emerge from the analysis. First, ISACL significantly improves efficiency. The pre-trained MLP-based binary classifier provides faster inference and better accuracy compared to the "LLM-as-a-Judge" method, which relies on direct LLM predictions. This indicates that ISACL is not only more efficient but also more precise in identifying potential leakage. Second, using original reference text retrieved from the database during training enhances accuracy, outperforming models that rely solely on LLM-extracted internal states. This highlights the importance of external reference material, which offers richer context and enables the model to more accurately detect potential leakage violations. Additionally, we observe that the performance of different LLMs varies. Larger Llama models are more sensitive to data leakage, suggesting that their increased size allows
|
| 197 |
+
|
| 198 |
+
them to better capture subtle text similarities. In contrast, Llama and Mistral models show different capabilities in capturing textual nuances, which affects their effectiveness in this task. Finally, the dataset division strategy plays a key role. Larger Rouge score differences between high- and low-scoring samples make it easier for the model to differentiate between them. This emphasizes the importance of carefully selecting dataset splits, as they have a significant impact on the model's ability to accurately identify leakage risks.
|
| 199 |
+
|
| 200 |
+
Effect of Internal States Layers. Unlike previous studies emphasizing the importance of later layers in LLMs for tasks like hallucination detection (Ji et al., 2024), our experiments on leakage detection show a different trend based on model size. For smaller models like Llama-3.1-8B, layer selection doesn't significantly affect the prediction of potential risk. However, for larger models such as Llama-3.1-70B, deeper layers significantly improve performance, especially in accuracy and F1 score.
|
| 201 |
+
|
| 202 |
+
Previous research (Azaria and Mitchell, 2023)
|
| 203 |
+
|
| 204 |
+

|
| 205 |
+
Figure 4: Impact of layer selection on leakage risk prediction: A comparative analysis across different layers in Llama models with 8B and 70B parameters. For smaller models (Llama-3.1-8B), the prediction performance is relatively consistent across layers, with minimal variation in accuracy and F1 score. For larger models (Llama-3.1-70B), deeper layers significantly enhance performance, capturing more nuanced semantic features and improving the prediction of potential leakage in text continuation tasks.
|
| 206 |
+
|
| 207 |
+
emphasized the effectiveness of the final layer for hallucination detection, but our analysis indicates that for training data leakage risk prediction, deeper layers are more essential in larger models. As shown in Figure 4, deeper layers in larger models are better at capturing textual similarities to existing literary works, which is crucial for identifying potential leakage. In contrast, for smaller models, early and intermediate layers perform similarly to the final layer, suggesting that while semantic and contextual information is spread across all layers, deeper layers in larger models are more effective in detecting the finer details needed for accurate predictions.
|
| 208 |
+
|
| 209 |
+
One possible explanation for this is that leakage detection requires identifying both local and global semantic patterns, which are essential for spotting similarities and potential plagiarism. In smaller models, these patterns are well-represented across various layers, whereas larger models excel in capturing the more subtle textual similarities through their deeper layers. Unlike hallucination detection, which focuses on long-range dependencies and uncertainty captured in later layers, leakage detection benefits from the ability of larger models to focus on detailed patterns across deeper layers.
|
| 210 |
+
|
| 211 |
+
Variability in FN & FP Rates, but Stable Overall Accuracy & F1. To further analyze model performance, we selected four representative configurations and generated confusion matrix plots, as shown in Figure 5. These configurations combine
|
| 212 |
+
|
| 213 |
+
two factors: the model (Llama-3.1-8B or Llama-3.1-70B) and whether a reference is included, with the Rouge-L Score $30\%$ split strategy applied.
|
| 214 |
+
|
| 215 |
+
It's important to note that the figures shown here represent a single instance from repeated experiments. Since the training and test sets are randomly split, some variability in the False Negative (FN) and False Positive (FP) rates is expected. However, despite this variability, we found that the overall prediction accuracy and F1 score remain consistently stable across different runs. This suggests that, while there are fluctuations in specific error types, the model's overall performance is reliable and robust.
|
| 216 |
+
|
| 217 |
+

|
| 218 |
+
(a) Llama-8B-w/oRAG
|
| 219 |
+
|
| 220 |
+

|
| 221 |
+
(b) Llama-8B-w/RAG
|
| 222 |
+
|
| 223 |
+

|
| 224 |
+
(c) Llama-70B-w/oRAG
|
| 225 |
+
Figure 5: Confusion matrix plots showing the effect of model size and RAG system on prediction performance, with Llama-3.1-8B and Llama-3.1-70B models, both with and without reference information, using a Rouge-L $30\%$ threshold for dataset splitting.
|
| 226 |
+
|
| 227 |
+

|
| 228 |
+
(d) Llama-70B-w/RAG
|
| 229 |
+
|
| 230 |
+
Time Efficiency Comparison. We conducted experiments to compare the time efficiency of leakage prediction methods, and the results show that the proposed methods using internal states (ISw/oRAG and IS-w/RAG) are significantly faster than the traditional basic method. In the basic method, each input text is processed sequentially by the LLM to generate the next segment, which is then compared with the reference text to assess potential leakage. The majority of the time in this approach is spent on text generation, while the
|
| 231 |
+
|
| 232 |
+
comparison step takes up very little time. As a result, the basic method is much slower, as indicated by its higher time values compared to the internal states-based methods. These methods streamline the process, eliminating the need for text generation and leading to faster, more efficient predictions. The detailed results of this comparison are shown in Table 2.
|
| 233 |
+
|
| 234 |
+
Table 2: This table shows the average time efficiency comparison (in seconds) for leakage prediction based on a single data point, testing three methods: predicting leakage risk using internal states without (ISw/oRAG) and with (IS-w/RAG) RAG system, and the basic method of generating continuation text and comparing it with reference text.
|
| 235 |
+
|
| 236 |
+
<table><tr><td>Method
|
| 237 |
+
Model</td><td>Basic</td><td>IS-w/oRAG</td><td>IS-w/RAG</td></tr><tr><td>Llama-3.1-8B</td><td>0.4319</td><td>0.0564</td><td>0.0592</td></tr><tr><td>Llama-2-13b</td><td>0.6584</td><td>0.0642</td><td>0.0696</td></tr><tr><td>Llama-3.1-70B</td><td>1.6796</td><td>0.1274</td><td>0.1389</td></tr><tr><td>Mistral-7B-v0.1</td><td>0.3571</td><td>0.0623</td><td>0.0677</td></tr><tr><td>Mistral-7B-v0.3</td><td>0.3463</td><td>0.0597</td><td>0.0614</td></tr></table>
|
| 238 |
+
|
| 239 |
+
Evaluation on Newly Collected Copyrighted Texts. To further verify whether our method can generalize to copyrighted datasets unseen by ISACL, we conducted an additional experiment using newly published books in 2025. Since these works were published after the knowledge cutoff (Dec. 2023) of the backbone model Llama-3.1-70B (Touvron et al., 2023), we can reasonably assume that they were not included in its training corpus. Following the same workflow as in our main experiments, we constructed input-reference pairs from the selected texts, applied continuation tasks with Llama-3.1-70B, and computed ROUGE-L scores between the model outputs and the ground-truth continuations. Results are summarized in Table 3.
|
| 240 |
+
|
| 241 |
+
<table><tr><td>Metric</td><td>Value</td></tr><tr><td>Average ROUGE-L Score</td><td>0.11</td></tr><tr><td>Samples with ROUGE-L < 0.15</td><td>>90%</td></tr><tr><td>Samples with ROUGE-L > 0.20</td><td>0%</td></tr></table>
|
| 242 |
+
|
| 243 |
+
Table 3: Results on newly collected copyrighted texts.
|
| 244 |
+
|
| 245 |
+
We observed that the ROUGE-L distribution on
|
| 246 |
+
|
| 247 |
+
these unseen works was consistently low, with the majority of samples falling below 0.15 and none exceeding 0.20. This indicates that the probability of memorization or leakage from copyrighted materials is negligible in this setting. Moreover, the absence of sufficient high-ROUGE matches prevents us from creating meaningful positive/negative labels for classifier training. These findings confirm that our task design specifically addresses the detection of copyrighted training data leakage, rather than focusing on performance with unseen texts.
|
| 248 |
+
|
| 249 |
+
# 5 Conclusion and Future Work
|
| 250 |
+
|
| 251 |
+
This study introduces ISACL, a framework designed to detect copyrighted training data leakage in LLM-generated text by analyzing internal states during the prefill phase, before any text is generated. Unlike traditional methods that analyze fully generated outputs, ISACL enables proactive, real-time detection by examining early-stage representations of input text in relation to copyrighted reference materials. Experiments with models like Llama and Mistral show that larger models achieve higher accuracy due to richer internal representations.
|
| 252 |
+
|
| 253 |
+
To enhance its effectiveness, ISACL is integrated into a RAG system, using FAISS for vector search and SQLite for structured storage. This integration allows efficient retrieval of relevant copyrighted materials and combines them with the model's internal states to assess leakage risks, ensuring compliance with licensing constraints while improving detection accuracy and efficiency.
|
| 254 |
+
|
| 255 |
+
Future work will focus on addressing more complex forms of copyright leakage, such as conceptual similarity and paraphrasing, and refining the framework for better robustness and interpretability. Additionally, we aim to develop an LLM agent that actively prevents leakage by cross-referencing generated content against licensed or publicly available materials, ensuring real-time compliance with data usage policies.
|
| 256 |
+
|
| 257 |
+
# Limitations
|
| 258 |
+
|
| 259 |
+
Despite its advantages, ISACL has some limitations. Detection accuracy in smaller models requires improvement, as these models often have less nuanced internal representations, which can affect reliability. Moreover, this study focuses mainly on assessing the ability of LLM internal states to identify copyrighted training-set leakage, but more
|
| 260 |
+
|
| 261 |
+
precise criteria for determining leakage are needed for practical applications. In particular, clearer standards are required to address complex cases like conceptual similarity or paraphrasing.
|
| 262 |
+
|
| 263 |
+
# Ethics Statement
|
| 264 |
+
|
| 265 |
+
We all comply with the ACL Ethics Policy<sup>3</sup> during our study. All datasets used contain anonymized consumer data, ensuring strict privacy protections.
|
| 266 |
+
|
| 267 |
+
# References
|
| 268 |
+
|
| 269 |
+
Amos Azaria and Tom Mitchell. 2023. The internal state of an llm knows when it's lying. Preprint, arXiv:2304.13734.
|
| 270 |
+
Rouzbeh Behnia, Mohammadreza Reza Ebrahimi, Jason Pacheco, and Balaji Padmanabhan. 2022. Ew-tune: A framework for privately fine-tuning large language models with differential privacy. In 2022 IEEE International Conference on Data Mining Workshops (ICDMW), pages 560-566.
|
| 271 |
+
Jaydeep Borkar. 2023. What can we learn from data leakage and unlearning for law? Preprint, arXiv:2307.10476.
|
| 272 |
+
Trenton Bricken, Adly Templeton, Joshua Batson, Brian Chen, Adam Jermyn, Tom Conerly, Nick Turner, Cem Anil, Carson Denison, Amanda Askell, Robert Lasenby, Yifan Wu, Shauna Kravec, Nicholas Schiefer, Tim Maxwell, Nicholas Joseph, Zac Hatfield-Dodds, Alex Tamkin, Karina Nguyen, Brayden McLean, Josiah E. Burke, Tristan Hume, Shan Carter, Tom Henighan, and Christopher Olah. 2023. Towards monoseismicity: Decomposing language models with dictionary learning. Transformer Circuits Thread.
|
| 273 |
+
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. 2021. Extracting training data from large language models. Preprint, arXiv:2012.07805.
|
| 274 |
+
Kent Chang, Mackenzie Cramer, Sandeep Soni, and David Bamman. 2023. Speak, memory: An archaeology of books known to ChatGPT/GPT-4. In Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing, pages 7312-7327, Singapore. Association for Computational Linguistics.
|
| 275 |
+
Chao Chen, Kai Liu, Ze Chen, Yi Gu, Yue Wu, Mingyuan Tao, Zhihang Fu, and Jieping Ye. 2024a. Inside: Llms' internal states retain the power of hallucination detection. Preprint, arXiv:2402.03744.
|
| 276 |
+
Tong Chen, Akari Asai, Niloofar Mireshghallah, Sewon Min, James Grimmelmann, Yejin Choi, Hannaneh Hajishirzi, Luke Zettlemoyer, and Pang Wei Koh. 2024b. Copybench: Measuring literal and non-literal reproduction of copyright-protected text in language model generation. Preprint, arXiv:2407.07087.
|
| 277 |
+
Kevin Clark, Urvashi Khandelwal, Omer Levy, and Christopher D. Manning. 2019. What does BERT look at? an analysis of BERT's attention. In Proceedings of the 2019 ACL Workshop BlackboxNLP: Analyzing and Interpreting Neural Networks for NLP, pages 276-286, Florence, Italy. Association for Computational Linguistics.
|
| 278 |
+
Robert Dale. 2021. Gpt-3: What's it good for? Natural Language Engineering, 27(1):113-118.
|
| 279 |
+
|
| 280 |
+
Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. 2019. BERT: Pre-training of deep bidirectional transformers for language understanding. In Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers), pages 4171-4186, Minneapolis, Minnesota. Association for Computational Linguistics.
|
| 281 |
+
Matthijs Douze, Alexandr Guzhva, Chengqi Deng, Jeff Johnson, Gergely Szilvasy, Pierre-Emmanuel Mazaré, Maria Lomeli, Lucas Hosseini, and Hervé Jégou. 2024. The faiss library. Preprint, arXiv:2401.08281.
|
| 282 |
+
Jian Du and Haitao Mi. 2021. Dp-fp: Differentially private forward propagation for large models. Preprint, arXiv:2112.14430.
|
| 283 |
+
Minxin Du, Xiang Yue, Sherman S. M. Chow, Tianhao Wang, Chenyu Huang, and Huan Sun. 2023. Dpforward: Fine-tuning and inference on language models with differential privacy in forward pass. In Proceedings of the 2023 ACM SIGSAC Conference on Computer and Communications Security, CCS '23, page 2665-2679. ACM.
|
| 284 |
+
Qizhang Feng, Siva Rajesh Kasa, Santhosh Kumar Kasa, Hyokun Yun, Choon Hui Teo, and Sravan Babu Bodapati. 2025. Exposing privacy gaps: Membership inference attack on preference data for llm alignment. Preprint, arXiv:2407.06443.
|
| 285 |
+
Filippo Galli, Luca Melis, and Tommaso Cucinotta. 2024. Noisy neighbors: Efficient membership inference attacks against llms. Preprint, arXiv:2406.16565.
|
| 286 |
+
Leo Gao, Stella Biderman, Sid Black, Laurence Golding, Travis Hoppe, Charles Foster, Jason Phang, Horace He, Anish Thite, Noa Nabeshima, Shawn Presser, and Connor Leahy. 2020. The Pile: An 800gb dataset of diverse text for language modeling. arXiv preprint arXiv:2101.00027.
|
| 287 |
+
Wes Gurnee and Max Tegmark. 2024. Language models represent space and time. Preprint, arXiv:2310.02207.
|
| 288 |
+
Jinwen He, Yujia Gong, Zijin Lin, Cheng'an Wei, Yue Zhao, and Kai Chen. 2024. LLM factoscope: Uncovering LLMs' factual discernment through measuring inner states. In *Findings of the Association for Computational Linguistics: ACL* 2024, pages 10218-10230, Bangkok, Thailand. Association for Computational Linguistics.
|
| 289 |
+
Xuanli He, Qiongkai Xu, Lingjuan Lyu, Fangzhao Wu, and Chenguang Wang. 2022. Protecting intellectual property of language generation apis with lexical watermark. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 36, pages 10758-10766.
|
| 290 |
+
Shlomo Hoory, Amir Feder, Avichai Tendler, Sofia Erell, Alon Peled-Cohen, Itay Laish, Hootan Nakhost, Uri
|
| 291 |
+
|
| 292 |
+
Stemmer, Ayelet Benjamini, Avinatan Hassidim, and Yossi Matias. 2021. Learning and evaluating a differentially private pre-trained language model. In *Findings of the Association for Computational Linguistics: EMNLP* 2021, pages 1178-1189, Punta Cana, Dominican Republic. Association for Computational Linguistics.
|
| 293 |
+
Siying Hu, Piaohong Wang, Yaxing Yao, and Zhicong Lu. 2024. "i always felt that something was wrong." Understanding compliance risks and mitigation strategies when professionals use large language models. Preprint, arXiv:2411.04576.
|
| 294 |
+
Jie Huang, Hanyin Shao, and Kevin Chen-Chuan Chang. 2022. Are large pre-trained language models leaking your personal information? Preprint, arXiv:2205.12628.
|
| 295 |
+
Ziwei Ji, Delong Chen, Etsuko Ishii, Samuel Cahyawijaya, Yejin Bang, Bryan Wilie, and Pascale Fung. 2024. Llm internal states reveal hallucination risk faced with a query. arXiv preprint arXiv:2407.03282.
|
| 296 |
+
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.
|
| 297 |
+
Minseon Kim, Hyomin Lee, Boqing Gong, Huishuai Zhang, and Sung Ju Hwang. 2024. Automatic jailbreaking of the text-to-image generative ai systems. arXiv preprint arXiv:2405.16567.
|
| 298 |
+
Siwon Kim, Sangwoo Yun, Hwaran Lee, Martin Gubri, Sungroh Yoon, and Seong Joon Oh. 2023. Propile: Probing privacy leakage in large language models. Preprint, arXiv:2307.01881.
|
| 299 |
+
Patrick Lewis, Ethan Perez, Aleksandra Piktus, Fabio Petroni, Vladimir Karpukhin, Naman Goyal, Heinrich Kuttler, Mike Lewis, Wen tau Yih, Tim Rocktäschel, Sebastian Riedel, and Douwe Kiela. 2021. Retrieval-augmented generation for knowledge-intensive nlp tasks. Preprint, arXiv:2005.11401.
|
| 300 |
+
Junyi Li, Tianyi Tang, Wayne Xin Zhao, Jian-Yun Nie, and Ji-Rong Wen. 2022a. Pretrained language models for text generation: A survey. *Preprint*, arXiv:2201.05273.
|
| 301 |
+
Xuechen Li, Florian Tramér, Percy Liang, and Tatsunori Hashimoto. 2022b. Large language models can be strong differentially private learners. *Preprint*, arXiv:2110.05679.
|
| 302 |
+
Yansong Li, Zhixing Tan, and Yang Liu. 2025. Privacy-preserving prompt tuning for large language model services. Preprint, arXiv:2305.06212.
|
| 303 |
+
|
| 304 |
+
Kevin Liu, Stephen Casper, Dylan Hadfield-Menell, and Jacob Andreas. 2023. Cognitive dissonance: Why do language model outputs disagree with internal representations of truthfulness? Preprint, arXiv:2312.03729.
|
| 305 |
+
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. Preprint, arXiv:1907.11692.
|
| 306 |
+
Nicola Lucchi. 2023. Chatgpt: a case study on copyright challenges for generative artificial intelligence systems. European Journal of Risk Regulation, pages 1-23.
|
| 307 |
+
Nils Lukas, Ahmed Salem, Robert Sim, Shruti Tople, Lukas Wutschitz, and Santiago Zanella-Béguelin. 2023. Analyzing leakage of personally identifiable information in language models. Preprint, arXiv:2302.00539.
|
| 308 |
+
Quan Khanh Luu, Xiyu Deng, Anh Van Ho, and Yorie Nakahira. 2024. Context-aware llm-based safe control against latent risks. Preprint, arXiv:2403.11863.
|
| 309 |
+
Peihua Mai, Ran Yan, Zhe Huang, Youjia Yang, and Yan Pang. 2024. Split-and-denoise: Protect large language model inference with local differential privacy. Preprint, arXiv:2310.09130.
|
| 310 |
+
Pratyush Maini, Hengrui Jia, Nicolas Papernot, and Adam Dziedzic. 2024. Llm dataset inference: Did you train on my dataset? Preprint, arXiv:2406.06443.
|
| 311 |
+
Jimit Majmudar, Christophe Dupuy, Charith Peris, Sami Smaili, Rahul Gupta, and Richard Zemel. 2022. Differentially private decoding in large language models. Preprint, arXiv:2205.13621.
|
| 312 |
+
Matthieu Meeus, Igor Shilov, Manuel Faysse, and Yves-Alexandre de Montjoye. 2024. Copyright traps for large language models. arXiv preprint arXiv:2402.09363.
|
| 313 |
+
Yuya Miyaoka and Masaki Inoue. 2024. Cbflm: Safe control for llm alignment. Preprint, arXiv:2408.15625.
|
| 314 |
+
Mazda Moayeri, Samyadeep Basu, Sriram Balasubramanian, Priyatham Kattakinda, Atoosa Chengini, Robert Brauneis, and Soheil Feizi. 2024. Rethinking artistic copyright infringements in the era of text-to-image generative models. arXiv preprint arXiv:2404.08030.
|
| 315 |
+
Shiyu Ni, Keping Bi, Jiafeng Guo, Lulu Yu, Baolong Bi, and Xueqi Cheng. 2025. Towards fully exploiting llm internal states to enhance knowledge boundary perception. Preprint, arXiv:2502.11677.
|
| 316 |
+
Yanzhou Pan, Jiayi Chen, Jiamin Chen, Zhaozhuo Xu, and Denghui Zhang. Position: Iterative online-offline joint optimization is needed to manage complex llm
|
| 317 |
+
|
| 318 |
+
copyright risks. In Forty-second International Conference on Machine Learning Position Paper Track.
|
| 319 |
+
Adam Paszke, Sam Gross, Francisco Massa, Adam Lerer, James Bradbury, Gregory Chanan, Trevor Killeen, Zeming Lin, Natalia Gimelshein, Luca Antiga, Alban Desmaison, Andreas Köpf, Edward Yang, Zach DeVito, Martin Raison, Alykhan Tejani, Sasank Chilamkurthy, Benoit Steiner, Lu Fang, Junjie Bai, and Soumith Chintala. 2019. Pytorch: An imperative style, high-performance deep learning library. Preprint, arXiv:1912.01703.
|
| 320 |
+
Wenjun Peng, Jingwei Yi, Fangzhao Wu, Shangxi Wu, Bin Zhu, Lingjuan Lyu, Binxing Jiao, Tong Xu, Guangzhong Sun, and Xing Xie. 2023. Are you copying my model? protecting the copyright of large language models for eaas via backdoor watermark. arXiv preprint arXiv:2305.10036.
|
| 321 |
+
Alec Radford and Karthik Narasimhan. 2018. Improving language understanding by generative pretraining.
|
| 322 |
+
Hanyin Shao, Jie Huang, Shen Zheng, and Kevin Chang. 2024. Quantifying association capabilities of large language models and its implications on privacy leakage. In *Findings of the Association for Computational Linguistics: EACL* 2024, pages 814-825, St. Julian's, Malta. Association for Computational Linguistics.
|
| 323 |
+
Weijia Shi, Anirudh Ajith, Mengzhou Xia, Yangsibo Huang, Daogao Liu, Terra Blevins, Danqi Chen, and Luke Zettlemoyer. 2023. Detecting pretraining data from large language models. arXiv preprint arXiv:2310.16789.
|
| 324 |
+
Weiyan Shi, Ryan Shea, Si Chen, Chiyuan Zhang, Ruoxi Jia, and Zhou Yu. 2022. Just fine-tune twice: Selective differential privacy for large language models. In Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing, pages 6327-6340, Abu Dhabi, United Arab Emirates. Association for Computational Linguistics.
|
| 325 |
+
Chengyu Song, Linru Ma, Jianming Zheng, Jinzhi Liao, Hongyu Kuang, and Lin Yang. 2024. Audit-llm: Multi-agent collaboration for log-based insider threat detection. Preprint, arXiv:2408.08902.
|
| 326 |
+
Adly Templeton, Tom Conerly, Jonathan Marcus, Jack Lindsey, Trenton Bricken, Brian Chen, Adam Pearce, Craig Citro, Emmanuel Ameisen, Andy Jones, Hoagy Cunningham, Nicholas L. Turner, Callum McDougall, Monte MacDiarmid, C. Daniel Freeman, Theodore R. Sumers, Edward Rees, Joshua Batson, Adam Jermyn, Shan Carter, Chris Olah, and Tom Henighan. 2024. Scaling monoseismicity: Extracting interpretable features from claude 3 sonnet. Transformer Circuits Thread.
|
| 327 |
+
Hugo Touvron, Thibaut Lavril, Gautier Izacard, Xavier Martinet, Marie-Anne Lachaux, Timothee Lacroix, Baptiste Rozière, Naman Goyal, Eric Hambro, Faisal Azhar, Aurelien Rodriguez, Armand Joulin, Edouard
|
| 328 |
+
|
| 329 |
+
Grave, and Guillaume Lample. 2023. Llama: Open and efficient foundation language models. Preprint, arXiv:2302.13971.
|
| 330 |
+
U.S. Copyright Office. 1976. Copyright law of the united states (title 17).
|
| 331 |
+
Jeffrey G. Wang, Jason Wang, Marvin Li, and Seth Neel. 2024. Pandora's white-box: Precise training data detection and extraction in large language models. Preprint, arXiv:2402.17012.
|
| 332 |
+
Rushi Wang, Jiateng Liu, Weijie Zhao, Shenglan Li, and Denghui Zhang. 2025. Automating financial statement audits with large language models. arXiv preprint arXiv:2506.17282.
|
| 333 |
+
Thomas Wolf, Lysandre Debut, Victor Sanh, Julien Chaumont, Clement Delangue, Anthony Moi, Pierric Cistac, Tim Rault, Rémi Louf, Morgan Funtowicz, Joe Davison, Sam Shleifer, Patrick von Platen, Clara Ma, Yacine Jernite, Julien Plu, Canwen Xu, Teven Le Scao, Sylvain Gugger, Mariama Drame, Quentin Lhoest, and Alexander M. Rush. 2020. Huggingface's transformers: State-of-the-art natural language processing. Preprint, arXiv:1910.03771.
|
| 334 |
+
Xinwei Wu, Li Gong, and Deyi Xiong. 2022. Adaptive differential privacy for language model training. In Proceedings of the First Workshop on Federated Learning for Natural Language Processing (FL4NLP 2022), pages 21-26, Dublin, Ireland. Association for Computational Linguistics.
|
| 335 |
+
Yuheng Wu, Wentao Guo, Zirui Liu, Heng Ji, Zhaozhuo Xu, and Denghui Zhang. 2025. How large language models encode theory-of-mind: a study on sparse parameter patterns. npj Artificial Intelligence, 1(1):20.
|
| 336 |
+
Guangxuan Xiao, Ji Lin, and Song Han. 2023. Offsite-tuning: Transfer learning without full model. Preprint, arXiv:2302.04870.
|
| 337 |
+
Jialiang Xu, Shenglan Li, Zhaozhuo Xu, and Denghui Zhang. 2024. Do llms know to respect copyright notice? arXiv preprint arXiv:2411.01136.
|
| 338 |
+
Mingfu Xue, Yushu Zhang, Jian Wang, and Weiqiang Liu. 2021. Intellectual property protection for deep learning models: Taxonomy, methods, attacks, and evaluations. IEEE Transactions on Artificial Intelligence, 3(6):908-923.
|
| 339 |
+
Yangyang Yu, Haohang Li, Zhi Chen, Yuechen Jiang, Yang Li, Denghui Zhang, Rong Liu, Jordan W Suchow, and Khaldoun Khashanah. 2023a. Finmem: A performance-enhanced large language model trading agent with layered memory and character design. In ICLR (workshop on LLM agent).
|
| 340 |
+
Yangyang Yu, Zhiyuan Yao, Haohang Li, Zhiyang Deng, Yupeng Cao, Zhi Chen, Jordan W Suchow, Rong Liu, Zhenyu Cui, Denghui Zhang, et al. 2024. Fincon: A synthesized llm multi-agent system with conceptual verbal reinforcement for enhanced financial decision making. In Proceedings of NeurIPS 2024 (Main).
|
| 341 |
+
|
| 342 |
+
Zhiyuan Yu, Yuhao Wu, Ning Zhang, Chenguang Wang, Yevgeniy Vorobeychik, and Chaowei Xiao. 2023b. Codeipprompt: Intellectual property infringement assessment of code language models. In International Conference on Machine Learning, pages 40373-40389. PMLR.
|
| 343 |
+
Rowan Zellers, Ari Holtzman, Hannah Rashkin, Yonatan Bisk, Ali Farhadi, Franziska Roesner, and Yejin Choi. 2020. Defending against neural fake news. Preprint, arXiv:1905.12616.
|
| 344 |
+
Denghui Zhang, Zhaozhuo Xu, and Weijie Zhao. 2025. Lims and copyright risks: Benchmarks and mitigation approaches. In Proceedings of the 2025 Annual Conference of the Nations of the Americas Chapter of the Association for Computational Linguistics: Human Language Technologies (Volume 5: Tutorial Abstracts), pages 44-50.
|
| 345 |
+
Hanqing Zhang, Haolin Song, Shaoyu Li, Ming Zhou, and Dawei Song. 2023. A survey of controllable text generation using transformer-based pre-trained language models. Preprint, arXiv:2201.05337.
|
| 346 |
+
Jialong Zhang, Zhongshu Gu, Jiyong Jang, Hui Wu, Marc Ph Stoecklin, Heqing Huang, and Ian Molloy. 2018. Protecting intellectual property of deep neural networks with watermarking. In Proceedings of the 2018 on Asia conference on computer and communications security, pages 159-172.
|
| 347 |
+
Zhiping Zhang, Michelle Jia, Hao-Ping (Hank) Lee, Bingsheng Yao, Sauvik Das, Ada Lerner, Dakuo Wang, and Tianshi Li. 2024. "it's a fair game", or is it? examining how users navigate disclosure risks and benefits when using lvm-based conversational agents. In Proceedings of the CHI Conference on Human Factors in Computing Systems, CHI '24, page 1-26. ACM.
|
| 348 |
+
Weijie Zhao, Huajie Shao, Zhaozhuo Xu, Suzhen Duan, and Denghui Zhang. 2024. Measuring copyright risks of large language model via partial information probing. arXiv preprint arXiv:2409.13831.
|
| 349 |
+
Kun Zhou, Yutao Zhu, Zhipeng Chen, Wentong Chen, Wayne Xin Zhao, Xu Chen, Yankai Lin, Ji-Rong Wen, and Jiawei Han. 2023. Don't make your llm an evaluation benchmark cheater. Preprint, arXiv:2311.01964.
|
| 350 |
+
Xin Zhou, Martin Weyssow, Ratnadira Widyasari, Ting Zhang, Junda He, Yunbo Lyu, Jianming Chang, Beiqi Zhang, Dan Huang, and David Lo. 2025. Lessleak-bench: A first investigation of data leakage in llms across 83 software engineering benchmarks. Preprint, arXiv:2502.06215.
|
| 351 |
+
|
| 352 |
+
# A Implementation Details
|
| 353 |
+
|
| 354 |
+
The input dimension of our classifier is defined by the number of features in the training dataset, ensuring that the model can properly process the input data. The hidden dimension is fixed at 256, a value
|
| 355 |
+
|
| 356 |
+
that aligns with the design of our models and supports effective learning. We train our classifier with the following settings and hyper-parameters: the epoch is 250, the batch size is 4, the learning rate is 1e-3, and the AdamW optimizer has a linear scheduler. We conduct all the experiments using Pytorch (Paszke et al., 2019) and HuggingFace library (Wolf et al., 2020) on 4 NVIDIA A100-SXM4-80GB GPUs.
|
| 357 |
+
|
| 358 |
+
# B RAG System Construction
|
| 359 |
+
|
| 360 |
+
Data Preparation. To establish a comprehensive retrieval system, we use datasets representing both leakage and non-disclosure cases. Each dataset consists of input-reference text pairs $(x,t)$ where the input text $x$ acts as a query, and the reference text $t$ provides contextual information, meaning the surrounding content in a specific context, such as the following text in a classic work. The entire dataset is stored as a structured collection: $\mathcal{D} = \{(x_i,t_i)\}_{i = 1}^N$ , where $N$ is the total number of pairs in the dataset. By merging multiple datasets into a unified pool, we ensure broad coverage of potential scenarios, forming a strong foundation for benchmarking and future improvements.
|
| 361 |
+
|
| 362 |
+
Dense Representation Encoding. To capture the semantic relationships between input and reference texts, we encode each text into a dense vector representation using a pre-trained Sentence Transformer $\mathcal{E}$ (all-roberta-large-v1) (Liu et al., 2019): $v_{x} = \mathcal{E}(x)$ , $v_{t} = \mathcal{E}(t)$ , where $v_{x}, v_{t} \in \mathbb{R}^{d}$ are the dense embeddings of the input query and the reference text, respectively, and $d$ is the embedding dimension. To enhance efficiency, we implement batch encoding with GPU acceleration, ensuring scalable processing of large datasets while maintaining retrieval accuracy.
|
| 363 |
+
|
| 364 |
+
Indexing with FAISS & Document Storage in SQLite. For efficient nearest-neighbor retrieval, we use FAISS (Douze et al., 2024) with the Index-IVFFlat method, which clusters the vector space to accelerate query execution. Given a set of indexed reference embeddings $\{v_{t_i}\}_{i = 1}^N$ , FAISS partitions them into $K$ clusters, with each vector assigned to its nearest cluster center:
|
| 365 |
+
|
| 366 |
+
$$
|
| 367 |
+
\mathcal {C} = \{\mu_ {k} \} _ {k = 1} ^ {K}, \quad \mu_ {k} = \frac {1}{| C _ {k} |} \sum_ {v \in C _ {k}} v,
|
| 368 |
+
$$
|
| 369 |
+
|
| 370 |
+
where $\mathcal{C}$ is the set of centroids and $C_k$ is the set of embeddings in cluster $k$ . During retrieval, a query
|
| 371 |
+
|
| 372 |
+
embedding $v_{x}$ is assigned to the closest centroid $\mu_{k}$ , and the nearest neighbors are searched within that cluster: $\hat{t} = \mathrm{argmin}_{t_i\in C_k}\| v_x - v_{t_i}\| _2$ . This reduces search complexity from $O(N)$ to $O(N / K)$ , ensuring fast retrieval even for large datasets.
|
| 373 |
+
|
| 374 |
+
Additionally, we use SQLite for structured text storage, where each document entry (including original input and reference texts) is indexed with its corresponding embedding. This allows efficient retrieval of both vector embeddings and textual data based on semantic similarity and exact text matches: $\mathcal{T} = \{(x_i,t_i,v_{t_i})\}_{i = 1}^N$
|
| 375 |
+
|
| 376 |
+
Retrieval Accuracy Since our input and reference pairs are stored in the external knowledge base as structured pairs, our retrieval method achieves a $100\%$ accuracy rate in search matching within the current dataset:
|
| 377 |
+
|
| 378 |
+
$$
|
| 379 |
+
\operatorname * {a r g m a x} _ {t _ {i}} \operatorname {S i m} (v _ {x}, v _ {t _ {i}}) = t _ {j}, \text {w h e r e} (x, t _ {j}) \in \mathcal {D}.
|
| 380 |
+
$$
|
| 381 |
+
|
| 382 |
+
Here, $\operatorname{Sim}(\cdot, \cdot)$ denotes the similarity function (e.g., cosine similarity), ensuring that the retrieved reference always corresponds to the correct pair in our dataset. By integrating dense vector retrieval with structured text storage, ISACL provides efficient and accurate reference retrieval, forming a crucial component of our leakage detection system.
|
| 383 |
+
|
| 384 |
+
# C Metric Details
|
| 385 |
+
|
| 386 |
+
ACC & F1. For the classification task where the predictions are discrete, we use F1 score and Accuracy as the metrics to assess the performance of the predicted categories.
|
| 387 |
+
|
| 388 |
+
In classification tasks, accuracy and F1 score are two important metrics used to evaluate the performance of a model. Accuracy represents the proportion of correctly classified instances among the total number of instances, providing a general measure of how often the model makes the right prediction. It is calculated as:
|
| 389 |
+
|
| 390 |
+
$$
|
| 391 |
+
\mathcal {A} = \frac {\mathcal {T} _ {p} + \mathcal {T} _ {n}}{\mathcal {N} _ {\text {t o t a l}}} \tag {7}
|
| 392 |
+
$$
|
| 393 |
+
|
| 394 |
+
where $\mathcal{T}_p$ and $\mathcal{T}_n$ represent true positives and true negatives, respectively, and $\mathcal{N}_{\mathrm{total}}$ is the total number of samples. Accuracy is simple and intuitive but may be unreliable with imbalanced datasets, where one class dominates the others. A model predicting only the majority class can achieve high accuracy but fail to detect minority instances.
|
| 395 |
+
|
| 396 |
+
The F1 score provides a more balanced evaluation by considering both precision and recall. Precision $(\mathcal{P})$ is the fraction of correctly predicted positive observations out of all positive predictions, while recall $(\mathcal{R})$ is the fraction of true positives out of all actual positive samples. The F1 score is defined as:
|
| 397 |
+
|
| 398 |
+
$$
|
| 399 |
+
\mathcal {F} _ {1} = 2 \times \frac {\mathcal {P} \times \mathcal {R}}{\mathcal {P} + \mathcal {R}} \tag {8}
|
| 400 |
+
$$
|
| 401 |
+
|
| 402 |
+
The F1 score is particularly useful in imbalanced datasets, balancing false positives and false negatives to provide a comprehensive view of performance. While accuracy works well for balanced data, the F1 score is more informative for assessing real-world classification problems.
|
| 403 |
+
|
| 404 |
+
ROUGE. ROUGE (Recall-Oriented Understudy for Gisting Evaluation) is a set of metrics commonly used to evaluate the quality of automatic text summarization and natural language generation systems by comparing the overlap between generated text and reference text. ROUGE includes several variations: Rouge-N evaluates the overlap of N-grams, Rouge-L focuses on the longest common subsequence (LCS), and Rouge-S uses skip-bigram matching. Among them, Rouge-L measures sequence similarity by identifying the longest common subsequence between the generated text and the reference text, capturing both content and sequential structure. The Rouge-L score comprises Precision, Recall, and F-score, representing different perspectives of text similarity, where Recall emphasizes content coverage, and Precision reflects matching accuracy.
|
| 405 |
+
|
| 406 |
+
In our experiments, we chose ROUGE as the evaluation method and used the rouge_score library to calculate the Rouge-1 and Rouge-L scores, focusing on using the Rouge-L score as a key metric. We justify this choice over other common evaluation methods like BLEU and embedding-based metrics for the following reasons:
|
| 407 |
+
|
| 408 |
+
- Advantages over BLEU: ROUGE is better suited to our experimental needs. Its foundation on the longest common subsequence (LCS) allows for more flexible matching, making it superior for evaluating the coverage and overall structure of text summaries. It can better capture the content similarity and sequential relationships between the generated text and the reference text. In contrast, BLEU's emphasis on strict n-gram and word order matching, while ideal for evalu
|
| 409 |
+
|
| 410 |
+
ating grammatical correctness in machine translation, may not fully reflect the structural and content coverage required in our task.
|
| 411 |
+
|
| 412 |
+
- Advantages over Embedding Similarity: For the hypotheses and experimental setup of our paper, ROUGE-L also serves as a more direct and precise metric for measuring text similarity compared to methods like embedding cosine similarity. This is because embedding-based metrics have several limitations: their effectiveness is highly dependent on the quality of the embedding model, which may not capture semantic information accurately for our specific domain. Furthermore, most embedding-based methods are insensitive to word order, which can lead to the loss of critical contextual information. In contrast, ROUGE-L directly evaluates the overlap of sequences and inherently considers word order, making it a more reliable and interpretable metric for our specific task.
|
| 413 |
+
|
| 414 |
+
Based on these considerations and our experimental goals, ROUGE can more accurately evaluate the sequential similarity and content coverage of text pairs. Therefore, we fixed the evaluation method to ROUGE and used the Rouge-L score as the core metric to evaluate and classify the quality of text pairs in the dataset.
|
| 415 |
+
|
| 416 |
+
# D Dataset
|
| 417 |
+
|
| 418 |
+
We provide the sources of copyrighted material in Table 7, confirmed as part of our selected models' training data (Chen et al., 2024b; Gao et al., 2020; Touvron et al., 2023; Jiang et al., 2023). For the literal copying task, which evaluates the risk of training data leakage in text continuations, we included excerpts from 16 fiction titles in BookMIA (Shi et al., 2023). To enhance diversity, we added works by J.K. Rowling. For the non-literal copying task, focusing on event and character replication, we used CliffsNotes study guides alongside human-written summaries. To ensure all texts are under copyright, we excluded non-fiction and books published before 1923.
|
| 419 |
+
|
| 420 |
+
# E Prompt Design
|
| 421 |
+
|
| 422 |
+
In designing the baseline for our experiment on detecting training data leakage risks through internal states, we adopted the "LLM as Judge" approach. This method leverages LLMs to evaluate potential leakage risks in text generation tasks. To ensure robust and accurate assessment, we carefully crafted
|
| 423 |
+
|
| 424 |
+
evaluation prompts tailored to capture nuanced scenarios of potential risk, as shown in Table 10. This design allows for a systematic comparison between traditional heuristic-based methods and our proposed internal state detection framework.
|
| 425 |
+
|
| 426 |
+
# F Ablation Studies
|
| 427 |
+
|
| 428 |
+
# F.1 Effect of Model Size
|
| 429 |
+
|
| 430 |
+
This section investigates how model size influences the efficacy of LLM's internal states in classifier training, comparing Llama models with 1B, 3B, 8B, 13B, and 70B parameters. Experimental results demonstrate that smaller Llama models generate internal states that yield lower F1 scores and accuracy in classification tasks compared to larger models, regardless of whether the input data is presented in isolation or supplemented with reference information provided by RAG system. As shown in Figure 6, the performance of ISACL improves significantly with increasing size, highlighting the importance of model scale in enhancing classification accuracy and F1 scores.
|
| 431 |
+
|
| 432 |
+

|
| 433 |
+
Figure 6: Impact of model size on behavior prediction performance: a comparative analysis of classification accuracy and F1 scores across Llama models with 1B to 70B parameters
|
| 434 |
+
|
| 435 |
+
To address the behavioral variations arising from differences in internal state quality and data generation strategies across models of varying sizes, it is essential to design separate, model-specific databases. These databases should capture the unique characteristics of the internal states and outputs generated by each model size. For smaller models, stricter control over Rouge-based segmentation thresholds may be necessary to achieve clearer distinctions between potentially leakage and non-disclosure data. Such measures are particularly important because smaller models tend to produce less semantically rich internal states, potentially diminishing classification accuracy.
|
| 436 |
+
|
| 437 |
+
By refining the dataset segmentation strategy—particularly for smaller models—the accuracy of leakage risk predictions can be significantly improved. This ensures that even resource-constrained models are well-prepared for robust downstream classification tasks, enabling reliable performance across diverse use cases.
|
| 438 |
+
|
| 439 |
+
# F.2 Effect of Generation Prompts
|
| 440 |
+
|
| 441 |
+
In this section, we discuss the impact of varying prompt design strategies used as input to the LLM on the prediction accuracy of the trained model during the dataset construction process. Building on the prompt configurations from prior work (Chen et al., 2024b), we modify them as the sole variable in our experiments. Table 4 presents the results of these experiments, highlighting how different prompt formulations influence the overall performance. The prompt design is presented in Table 8 for clarity and reference.
|
| 442 |
+
|
| 443 |
+
As shown in this table, the design corresponding to Prompt 2 exhibits relatively lower performance compared to the designs associated with Prompt 1 and Prompt 3. Both the IS-w/oRAG and IS-w/RAG methods yield weaker results under this configuration, with ACC and F1 scores declining as the dataset division percentage increases. In conclusion, variations in each prompt used for data generation have a noticeable impact on the prediction accuracy of models trained with the resulting datasets. Therefore, when predicting leakage risks, multiple models utilizing datasets generated with different prompt designs can be employed. By applying this approach, it becomes possible to identify and prioritize data associated with higher leakage risk, enhancing the effectiveness of the risk detection process.
|
| 444 |
+
|
| 445 |
+
# F.3 Effect of Internal States Extraction Methods
|
| 446 |
+
|
| 447 |
+
In our experiments, we examined the impact of different internal state extraction methods at a given layer for copyrighted leakage detection, specifically comparing the effectiveness of using the average internal state across all tokens versus extracting only the internal state of the last token. Our results indicate that, for a fixed layer, computing the mean internal state across all tokens provides significantly higher prediction accuracy than relying solely on the internal state of the last token, as shown in Table 5.
|
| 448 |
+
|
| 449 |
+
Table 4: The table illustrates how prompt selection affects text generation by comparing F1 scores and accuracy across different prompts used in preparing the training dataset for the Llama-3.1-70B model. It evaluates two methods: IS-w/oRAG (Internal States Judge without the RAG system) and IS-w/RAG (Internal States Judge with the RAG system).
|
| 450 |
+
|
| 451 |
+
<table><tr><td colspan="2"></td><td colspan="2">Division (10%)</td><td colspan="2">Division (20%)</td><td colspan="2">Division (30%)</td></tr><tr><td>Prompt</td><td>Method</td><td>ACC (%)</td><td>F1 (%)</td><td>ACC (%)</td><td>F1 (%)</td><td>ACC (%)</td><td>F1 (%)</td></tr><tr><td rowspan="2">Prompt1</td><td>IS-w/oRAG</td><td>97.01</td><td>96.00</td><td>88.79</td><td>87.43</td><td>85.24</td><td>88.07</td></tr><tr><td>IS-w/RAG</td><td>97.34</td><td>95.13</td><td>90.57</td><td>89.34</td><td>87.29</td><td>89.94</td></tr><tr><td rowspan="2">Prompt2</td><td>IS-w/oRAG</td><td>85.71</td><td>89.50</td><td>75.12</td><td>79.52</td><td>67.55</td><td>75.25</td></tr><tr><td>IS-w/RAG</td><td>91.73</td><td>93.17</td><td>89.27</td><td>89.42</td><td>73.84</td><td>75.06</td></tr><tr><td rowspan="2">Prompt3</td><td>IS-w/oRAG</td><td>91.41</td><td>93.33</td><td>74.51</td><td>79.22</td><td>62.54</td><td>71.29</td></tr><tr><td>IS-w/RAG</td><td>98.44</td><td>98.73</td><td>87.75</td><td>88.29</td><td>70.03</td><td>75.53</td></tr></table>
|
| 452 |
+
|
| 453 |
+
Table 5: This table explores the effectiveness of different internal state extraction methods under the Llama-3.1-70B model. The results show that, at a fixed layer, averaging the internal states across all tokens significantly outperforms using only the last token's internal state, as the averaging method better captures contextual information, making it more suitable for detection.
|
| 454 |
+
|
| 455 |
+
<table><tr><td></td><td colspan="2">Division (10%)</td><td colspan="2">Division (20%)</td><td colspan="2">Division (30%)</td></tr><tr><td>Methods</td><td>ACC (%)</td><td>F1 (%)</td><td>ACC (%)</td><td>F1 (%)</td><td>ACC (%)</td><td>F1 (%)</td></tr><tr><td>Last Token-w/oRAG</td><td>68.57</td><td>75.56</td><td>66.83</td><td>74.33</td><td>62.99</td><td>72.46</td></tr><tr><td>Last Layer-w/oRAG</td><td>100.00</td><td>100.00</td><td>94.55</td><td>94.63</td><td>93.18</td><td>93.62</td></tr><tr><td>Last Token-w/RAG</td><td>88.57</td><td>89.09</td><td>88.61</td><td>88.78</td><td>83.77</td><td>85.47</td></tr><tr><td>Last Layer-w/RAG</td><td>100.00</td><td>100.00</td><td>95.05</td><td>94.68</td><td>94.48</td><td>94.64</td></tr></table>
|
| 456 |
+
|
| 457 |
+
When taking the average internal state, the representation is aggregated across all token embeddings within the selected layer. This method ensures that the extracted feature captures a comprehensive understanding of the entire sequence, incorporating both local token-level details and global contextual relationships. As a result, this approach is particularly effective for leakage detection, where recognizing semantic and structural similarities across a text is crucial.
|
| 458 |
+
|
| 459 |
+
Conversely, extracting the last token's internal state from the same layer restricts the representation to a single token position, potentially losing valuable contextual information present in the earlier tokens. While this method is commonly used in classification tasks, our analysis shows that, in leakage risk prediction, it leads to a weaker overall representation, as the key signals indicating similarity to existing works may be distributed throughout the sequence rather than concentrated in the final token.
|
| 460 |
+
|
| 461 |
+
These findings highlight that, even when working with the same layer, the choice of how internal states are extracted plays a crucial role in model performance. Averaging across all tokens allows for a more robust and contextually rich representation,
|
| 462 |
+
|
| 463 |
+
making it a preferable choice for copyrighted leakage detection. Future studies could further explore whether weighting token contributions or applying attention-based pooling strategies can further refine the effectiveness of internal state-based detection methods.
|
| 464 |
+
|
| 465 |
+
# F.4 Non-literal Copying Leakage Detection
|
| 466 |
+
|
| 467 |
+
In this section, we examine copyrighted leakage detection for non-literal paraphrasing (Chen et al., 2024b). We measure the overlap between generated and reference texts at the character and event levels to assess potential leakage. This approach is similar to the literal copying leakage task, but in the non-literal case, the continuation is based on paraphrasing instead of direct copying leakage. As shown in Table 6, we evaluate prediction accuracy across three prompt types, detailed in Table 9.
|
| 468 |
+
|
| 469 |
+
Despite the smaller dataset, the results show that detecting copyrighted leakage in paraphrased texts is more challenging for large language models than in literal data. This leads to lower prediction accuracy in non-literal paraphrasing, as paraphrased texts are harder to compare directly with the reference text due to structural, vocabulary, and expression differences. This complexity reduces the
|
| 470 |
+
|
| 471 |
+
Table 6: The experiment utilizes non-literal data with the training set divided based on the upper and lower $30\%$ of Rouge scores. "C" denotes character-related copying leakage while "E" represents event-related copying leakage. Additionally, test results are extracted from the internal states of Llama-3.1-70B.
|
| 472 |
+
|
| 473 |
+
<table><tr><td></td><td colspan="2">Prompt 1</td><td colspan="2">Prompt 2</td><td colspan="2">Prompt 3</td></tr><tr><td>Method</td><td>ACC (%)</td><td>F1 (%)</td><td>ACC (%)</td><td>F1 (%)</td><td>ACC (%)</td><td>F1 (%)</td></tr><tr><td>IS-w/oRAG</td><td>53.33</td><td>57.89</td><td>46.67</td><td>54.72</td><td>51.11</td><td>62.30</td></tr><tr><td>IS-w/RAG-C</td><td>63.33</td><td>70.27</td><td>56.67</td><td>41.67</td><td>56.67</td><td>31.58</td></tr><tr><td>IS-w/RAG-E</td><td>55.56</td><td>65.60</td><td>52.22</td><td>58.93</td><td>55.56</td><td>64.29</td></tr></table>
|
| 474 |
+
|
| 475 |
+
model's ability to generalize, resulting in lower classification performance. Even with additional reference information by using RAG system, the model struggles to capture the intricate features required for accurate prediction.
|
| 476 |
+
|
| 477 |
+
Table 7: List of Book Titles and Authors for literal task
|
| 478 |
+
|
| 479 |
+
<table><tr><td>Title</td><td>Author</td></tr><tr><td>1984</td><td>George Orwell</td></tr><tr><td>A Game of Thrones</td><td>George R.R. Martin</td></tr><tr><td>Casino Royale</td><td>Ian Fleming</td></tr><tr><td>Dune</td><td>Frank Herbert</td></tr><tr><td>Fahrenheit 451</td><td>Ray Bradbury</td></tr><tr><td>Fifty Shades of Grey</td><td>E.L. James</td></tr><tr><td>Five on a Treasure Island</td><td>Enid Blyton</td></tr><tr><td>Harry Potter and the Sorcerer's Stone</td><td>J.K. Rowling</td></tr><tr><td>Hitchhiker's Guide to the Galaxy</td><td>Douglas Adams</td></tr><tr><td>Lord of the Flies</td><td>William Golding</td></tr><tr><td>The Da Vinci Code</td><td>Dan Brown</td></tr><tr><td>The Hunger Games</td><td>Suzanne Collins</td></tr><tr><td>The Silmarillion</td><td>J.R.R. Tolkien</td></tr><tr><td>Their Eyes Were Watching God</td><td>Zora Neale Hurston</td></tr><tr><td>Things Fall Apart</td><td>Chinua Achebe</td></tr><tr><td>To Kill a Mockingbird</td><td>Harper Lee</td></tr><tr><td>Harry Potter and the Philosopher's Stone</td><td>J.K. Rowling</td></tr><tr><td>Harry Potter and the Chamber of Secrets</td><td>J.K. Rowling</td></tr><tr><td>Harry Potter and the Prisoner of Azkaban</td><td>J.K. Rowling</td></tr><tr><td>The Hobbit</td><td>J.R.R. Tolkien</td></tr></table>
|
| 480 |
+
|
| 481 |
+
Table 8: Three prompt templates for generating passage completion to evaluate literal copying leakage.(Chen et al., 2024b)
|
| 482 |
+
|
| 483 |
+
# Prompt 1
|
| 484 |
+
|
| 485 |
+
```txt
|
| 486 |
+
You will be shown a series of passages from famous literary works. After these $\rightarrow$ examples, you will receive a prefix from another passage and be asked $\rightarrow$ to complete it based on the text of a famous work. Provide only the $\rightarrow$ continuation for the last given prefix without any extra commentary, $\rightarrow$ formatting, or additional text.
|
| 487 |
+
Complete the prefix: {demonstration-input} {demonstration-output}
|
| 488 |
+
Complete the prefix: {input}
|
| 489 |
+
```
|
| 490 |
+
|
| 491 |
+
# Prompt 2
|
| 492 |
+
|
| 493 |
+
```txt
|
| 494 |
+
You will be given several passage examples from famous literary works. Each $\rightarrow$ example includes a prefix and its completion. After these examples, you $\rightarrow$ will be provided with the final prefix, which you need to complete in $\rightarrow$ the style of the famous work. Your completion should be at least 100 $\rightarrow$ words long and formatted as follows: "Completion: {your completion to $\rightarrow$ the prefix}" Generate only the completion for the last given prefix $\rightarrow$ without copying the examples, the given prefixes, or adding extra $\rightarrow$ commentary.
|
| 495 |
+
Beginning: {demonstration-input}
|
| 496 |
+
Completion: {demonstration-output}
|
| 497 |
+
Beginning: {input}
|
| 498 |
+
Completion:
|
| 499 |
+
```
|
| 500 |
+
|
| 501 |
+
# Prompt 3
|
| 502 |
+
|
| 503 |
+
```txt
|
| 504 |
+
You will see examples of passages from renowned literature, each with a $\rightarrow$ starting phrase (prefix) followed by a continuation (completion). After $\rightarrow$ reviewing these examples, you will be given a final prefix to complete $\rightarrow$ . Ensure your continuation is at least 100 words long and formatted as: $\rightarrow$ "Completion:{your completion to the prefix}". Do not include any of $\rightarrow$ the provided examples, prefixes, or additional commentary in your $\rightarrow$ response.
|
| 505 |
+
Given Prefix: {demonstration-input}
|
| 506 |
+
Provided Completion: {demonstration-output}
|
| 507 |
+
Given Prefix: {input}
|
| 508 |
+
Completion:
|
| 509 |
+
```
|
| 510 |
+
|
| 511 |
+
Table 9: Three prompt templates for generating creative story to evaluate non-literal copying leakage.(Chen et al., 2024b)
|
| 512 |
+
|
| 513 |
+
# Prompt 1
|
| 514 |
+
|
| 515 |
+
```txt
|
| 516 |
+
You will be provided a series of demonstrations of creative writings. After the $\hookrightarrow$ demonstrations, you will be provided a beginning of a story and asked $\hookrightarrow$ to compose an original story based on it. Give only the completion of $\hookrightarrow$ the story, and no extra commentary, formatting, or chattiness.
|
| 517 |
+
```
|
| 518 |
+
|
| 519 |
+
```txt
|
| 520 |
+
Continue the text to compose an original story about 500 words in length: {demonstration-input} {demonstration-output}
|
| 521 |
+
Continue the text to compose an original story about 500 words in length: {input}
|
| 522 |
+
Complete the prefix: {demonstration-input} {demonstration-output}
|
| 523 |
+
Complete the prefix: {input}
|
| 524 |
+
```
|
| 525 |
+
|
| 526 |
+
# Prompt 2
|
| 527 |
+
|
| 528 |
+
```txt
|
| 529 |
+
You will be provided with a series of creative writing examples. Each example $\leftrightarrow$ includes a story beginning and its completion. After these $\leftrightarrow$ demonstrations, you will be given the last beginning, which you are $\leftrightarrow$ asked to complete. You should compose an original story of about 500 $\leftrightarrow$ words. The story should be distinct from any existing copyrighted novels $\leftrightarrow$ . Your output should be in the format: "Completion: your completion to $\leftrightarrow$ the beginning". Generate only the completion to the last given beginning $\leftrightarrow$ without copying the examples, the given beginnings, or adding extra $\leftrightarrow$ commentary.
|
| 530 |
+
```
|
| 531 |
+
|
| 532 |
+
```txt
|
| 533 |
+
Prefix: {demonstration-input}
|
| 534 |
+
Completion: {demonstration-output}
|
| 535 |
+
Prefix: {input}
|
| 536 |
+
Completion:
|
| 537 |
+
```
|
| 538 |
+
|
| 539 |
+
# Prompt 3
|
| 540 |
+
|
| 541 |
+
```txt
|
| 542 |
+
You will be provided with a series of creative writing examples. Each example $\leftrightarrow$ includes a story beginning and its completion. After these $\leftrightarrow$ demonstrations, you will be given the last beginning, which you are $\leftrightarrow$ asked to complete. You should compose an original story of about 500 words that is distinct from any existing copyrighted novels. An original $\leftrightarrow$ story should have unique characters, settings, plots, and dialogues $\leftrightarrow$ that are not taken from existing works. Avoid using specific phrases, sequences of events, or character traits that directly mirror those found in copyrighted material. Your output should be in the format: " $\leftrightarrow$ Completion: your completion to the beginning". Generate only the completion to the last given beginning without copying the examples, the given beginnings, or adding extra commentary.
|
| 543 |
+
```
|
| 544 |
+
|
| 545 |
+
```txt
|
| 546 |
+
Given Prefix: {demonstration-input}
|
| 547 |
+
Provided Completion: {demonstration-output}
|
| 548 |
+
Given Prefix: {input}
|
| 549 |
+
Completion:
|
| 550 |
+
```
|
| 551 |
+
|
| 552 |
+
Table 10: Baseline Evaluation Prompts for LLM-as-Judge Framework
|
| 553 |
+
Version A: Input-Only Assessment
|
| 554 |
+
```txt
|
| 555 |
+
"role": "user", "content": f"" Please only output 'label: 0' or 'label: 1', nothing else. Do not $\rightarrow$ provide intermediate steps or explanations; simply output the $\rightarrow$ generated label. You are a language model that determines whether the next generated $\rightarrow$ sentence based on the given input text might cause potential $\rightarrow$ copyrighted training data leakage. If you believe the next sentence could significantly resemble or repeat $\rightarrow$ existing literary works, indicating possible leakage, return " $\rightarrow$ label: 0" (possible leakage). If you believe the next sentence will not show high similarity to any $\rightarrow$ literary work, return "label: 1" (no leakage). Here is the input to evaluate: Input text: '\{input_text\}' Based on the input text provided, determine if generating the next $\rightarrow$ sentence might result in leakage.
|
| 556 |
+
```
|
| 557 |
+
|
| 558 |
+
Version B: Reference-Aware Assessment
|
| 559 |
+
```txt
|
| 560 |
+
{ "role": "user", "content": f"" Please only output 'label: 0' or 'label: 1', nothing else. Do not $\leftrightarrow$ provide intermediate steps or explanations; simply output the $\leftrightarrow$ generated label. You are a language model that evaluates whether the output text $\leftrightarrow$ potentially involves copyrighted training data leakage based on $\leftrightarrow$ the relationship between the reference and output sequences. If you believe the next sentence could significantly resemble or repeat $\leftrightarrow$ existing literary works, indicating possible leakage, return " $\leftrightarrow$ label: 0" (possible leakage). If you believe the next sentence will not show high similarity to any $\leftrightarrow$ literary work, return "label: 1" (no leakage). Here are the inputs to evaluate: Input text: '\{input_text\}' Reference: '\{reference\}' (This is a segment from the original source $\leftrightarrow$ text corresponding to the input text.) Based on the comparison between the reference and output above, $\leftrightarrow$ determine if generating the next sentence might result in $\leftrightarrow$ leakage.
|
| 561 |
+
```
|
2025/ISACL_ Internal State Analyzer for Copyrighted Training Data Leakage/images.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ed0afcdb0ddafb48cf56e7e10c21759fb48bc7aa2d22963e547b265c4b3da1e3
|
| 3 |
+
size 775479
|
2025/ISACL_ Internal State Analyzer for Copyrighted Training Data Leakage/layout.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2025/Identifying Aspects in Peer Reviews/6e98954a-cad9-4f3b-8b14-95738b229b2e_content_list.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2025/Identifying Aspects in Peer Reviews/6e98954a-cad9-4f3b-8b14-95738b229b2e_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2025/Identifying Aspects in Peer Reviews/6e98954a-cad9-4f3b-8b14-95738b229b2e_origin.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bf265b0578ef645482b3717ce69a05b1ce588167ec131dc49820370304fa34d3
|
| 3 |
+
size 4075395
|
2025/Identifying Aspects in Peer Reviews/full.md
ADDED
|
@@ -0,0 +1,720 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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6 |
+
|
| 7 |
+
Department of Computer Science and Hessian Center for AI (hessian.AI)
|
| 8 |
+
|
| 9 |
+
Technical University of Darmstadt
|
| 10 |
+
|
| 11 |
+
www.ukp.tu-darmstadt.de
|
| 12 |
+
|
| 13 |
+
# Abstract
|
| 14 |
+
|
| 15 |
+
Peer review is central to academic publishing, but the growing volume of submissions is straining the process. This motivates the development of computational approaches to support peer review. While each review is tailored to a specific paper, reviewers often make assessments according to certain aspects such as Novelty, which reflect the values of the research community. This alignment creates opportunities for standardizing the reviewing process, improving quality control, and enabling computational support. While prior work has demonstrated the potential of aspect analysis for peer review assistance, the notion of aspect remains poorly formalized. Existing approaches often derive aspects from review forms and guidelines, yet data-driven methods for aspect identification are underexplored. To address this gap, our work takes a bottom-up approach: we propose an operational definition of aspect and develop a data-driven schema for deriving aspects from a corpus of peer reviews. We introduce a dataset of peer reviews augmented with aspects and show how it can be used for community-level review analysis. We further show how the choice of aspects can impact downstream applications, such as LLM-generated review detection. Our results lay a foundation for a principled and data-driven investigation of review aspects, and pave the path for new applications of NLP to support peer review. $^{1}$
|
| 16 |
+
|
| 17 |
+
# 1 Introduction
|
| 18 |
+
|
| 19 |
+
Peer review is an essential part of academic publishing. It is a complex, multifaceted process that requires a range of competencies including paper understanding, domain-specific knowledge, and critical thinking (Shah, 2022; Yuan et al., 2022). Ensuring review quality, especially among novice reviewers, is an open challenge (Stelmakh et al., 2021a,b; Sun et al., 2024a). The increasing volume
|
| 20 |
+
|
| 21 |
+
of publications puts further strain on the process, which motivates the development of computational approaches to support different stages of peer review, from reading the paper to the final decision-making by the program committees (Arous et al., 2021; Checco et al., 2021; Stelmakh et al., 2021a; Shah, 2022; Schulz et al., 2022; Yuan et al., 2022; Lin et al., 2023b; Kuznetsov et al., 2024).
|
| 22 |
+
|
| 23 |
+
Peer reviews are the central component of the reviewing process. While individual reviews can vary widely, reviewers within the same community tend to focus on a specific set of general quality categories, or aspects, such as Clarity and Novelty. These aspects can be found in review forms, instructional materials, guidelines, and the resulting review texts. Aspects allow comparison of submissions across different dimensions of quality. A comprehensive set of aspects shared among reviewers is critical for ensuring reviewing quality and consistency, and prior work has demonstrated the potential of aspect-based tools to support the review writing process (Sun et al., 2024a,b).
|
| 24 |
+
|
| 25 |
+
Yet, several open questions remain. First, what is an aspect? While most prior work derives aspects from review forms and guidelines, the lack of an operational definition of aspect prevents the comparison of aspect schemata across studies. Second, what aspect granularity is appropriate for different tasks? While prior work operates with top-down, coarse-grained aspect schemata derived from review forms and guidelines, it is unclear whether they are comprehensive or provide sufficient granularity for NLP applications. Third, how can fine-grained aspect analysis support peer review? While aspects have been applied to certain tasks, the tasks that require a higher level of granularity are underexplored.
|
| 26 |
+
|
| 27 |
+
To address these questions, this work introduces an alternative, data-driven approach to peer review aspect analysis. We propose an operational definition of aspect grounded in its role within the
|
| 28 |
+
|
| 29 |
+
evaluation process. We develop a semi-automatic approach that leverages a state-of-the-art large language model (LLM) to identify aspects in reviews, and apply it to a large collection of peer reviews to extract aspects in a bottom-up fashion. Building on these results, we develop a multi-level taxonomy of aspects and present a novel dataset of peer reviews augmented with their corresponding aspects. Our dataset facilitates the exploration of two tasks: predicting the review aspects that should be focused on given a paper (paper aspect prediction), and identifying the aspects that a review focuses on (review aspect prediction). Based on these tasks, we conduct a detailed empirical study of aspect at the community level. Furthermore, we demonstrate that a comprehensive, fine-grained set of aspects allows for a new dimension in comparing reviews, offers a nuanced assessment of review quality in terms of specificity, and can be used for detection of automatically generated reviews.
|
| 30 |
+
|
| 31 |
+
Our work paves the path for data-driven analysis of aspects and enables new NLP applications to support peer review. Our method offers a bottom-up perspective that complements existing top-down schemata, and can be integrated with them by, for example, allowing domain experts to refine LLM-derived aspects into higher-level, domain-specific categories. Together, these perspectives enable a comprehensive aspect-based analysis of peer reviews. To summarize, we contribute the following:
|
| 32 |
+
|
| 33 |
+
- We propose an semi-automatic approach to derive a comprehensive set of aspects from peer reviews in a bottom-up fashion.
|
| 34 |
+
- We develop a taxonomy of aspect with different granularity and a new dataset of peer reviews augmented with aspects.
|
| 35 |
+
- We evaluate models on two tasks: predicting aspects to be focused on given a paper, and identifying the aspects covered in a review.
|
| 36 |
+
- We show that finer-grained aspect analysis offers new insights into and support for the peer review process.
|
| 37 |
+
|
| 38 |
+
# 2 Related Work
|
| 39 |
+
|
| 40 |
+
# 2.1 Peer review in the era of LLMs
|
| 41 |
+
|
| 42 |
+
NLP for peer review is an emerging research area that aims to support different stages of the peer review process, including improving paper-reviewer matching, increasing reviewing efficiency and reproducibility, tracking dishonest behavior, and
|
| 43 |
+
|
| 44 |
+
more (Shah, 2022; Schulz et al., 2022; Biswas et al., 2023; Lin et al., 2023b; Kuznetsov et al., 2024).
|
| 45 |
+
|
| 46 |
+
The emergence of LLMs has opened new opportunities for assisting peer review, such as assisting in the verification of checklists and supporting review writing (Liu and Shah, 2023; Gao et al., 2024; Liang et al., 2024b; Jin et al., 2024). In this work, we leverage an LLM to identify aspects in peer reviews, building on evidence that state-of-the-art LLMs are shown to perform well in aspect identification (Lin et al., 2023a), and in summarization, a related task to aspect identification (Pu et al., 2023).
|
| 47 |
+
|
| 48 |
+
# 2.2 Aspect in peer review
|
| 49 |
+
|
| 50 |
+
Beyond their role in review forms and guidelines, aspects are used in several other contexts related to peer review. Aspects have been applied to analyze the sentiment of reviews and discover the discourse relations within reviews (Chakraborty et al., 2020; Kennard et al., 2022). In automatic review generation, Wang et al. (2020) generate reviews using aspect-based knowledge graphs, and Gao et al. (2024) prompt LLMs with aspect-based questions to generate reviews. Aspects are included in supporting systems for review writing, which have been shown to improve the comprehensiveness of the reviews written by reviewers with varying levels of experience (Sun et al., 2024a,b). Table 1 summarizes the aspects used in these studies.
|
| 51 |
+
|
| 52 |
+
ACL'16, Chakraborty et al. (2020), Wang et al. (2020)
|
| 53 |
+
|
| 54 |
+
Appropriateness, Clarity, Empirical/Theoretical Soundness, Impact of Ideas/Results/Dataset, Meaningful Comparison, Originality, Recommendation, Substance
|
| 55 |
+
|
| 56 |
+
ACL'18, Kennard et al. (2022), Yuan et al. (2022),
|
| 57 |
+
|
| 58 |
+
Sun et al. (2024b)
|
| 59 |
+
|
| 60 |
+
Clarity, Impact/Motivation, Meaningful Comparison, Originality, Replicability, Soundness/Correctness, Substance
|
| 61 |
+
|
| 62 |
+
Sun et al. (2024a)
|
| 63 |
+
|
| 64 |
+
Clarity, Importance, Novelty, Validity
|
| 65 |
+
|
| 66 |
+
Wang et al. (2024)
|
| 67 |
+
|
| 68 |
+
Clarity, Integrity, Novelty, Significance
|
| 69 |
+
|
| 70 |
+
Table 1: The aspects used in the studies cited in this section. Gao et al. (2024) use a model to generate aspect-based questions without using a pre-defined aspect set.
|
| 71 |
+
|
| 72 |
+
In some other review guidelines, such as ARR and ACL'23, aspects are listed as examples rather than parts of a comprehensive checklist. As noted by Kuznetsov et al. (2024), review guidelines for major NLP venues often rely on coarse-grained aspects and they lack comprehensiveness. Our work
|
| 73 |
+
|
| 74 |
+
advances the study of aspects by exploring an alternative, data-driven approach to deriving finer-grained and more comprehensive aspects.
|
| 75 |
+
|
| 76 |
+
# 2.3 Quality of review writing
|
| 77 |
+
|
| 78 |
+
Defining the desiderata for review writing is essential to assess its effectiveness (Jefferson et al., 2002). However, the desiderata are often not well defined or operationalizable in terms of automatic measurement (Kuznetsov et al., 2024). While using simple proxies such as "helpfulness" may seem like a straightforward way to assess review quality, prior work suggests that such evaluation can be biased in several ways – for example, an evaluator may be biased towards longer reviews, or those that recommend acceptance of their papers (Wang et al., 2021; Goldberg et al., 2023).
|
| 79 |
+
|
| 80 |
+
Comprehensiveness is a key desideratum for high quality reviews (Yuan et al., 2022). A frequently reported issue in ACL 2023 is the lack of specificity in reviews (Rogers et al., 2023). In this context, our work shows how fine-grained aspects can be used to compare reviews and evaluate their specificity, which contributes to a nuanced and practical assessment of review quality.
|
| 81 |
+
|
| 82 |
+
# 2.4 LLM-generated review detection
|
| 83 |
+
|
| 84 |
+
The strong capabilities of state-of-the-art LLMs in text generation have led to the need for detectors to identify LLM-generated contents and to prevent potential misuse (Clark et al., 2021; Gao et al., 2023; Wu et al., 2023). In peer review, LLMs pose a risk that reviewers may exploit LLMs to produce reviews entirely, which raises serious ethical concerns (Yu et al., 2024). Current strategies for detecting LLM-generated reviews align with methods for detecting LLM-generated texts: (a) LLM-as-a-judge, which prompts LLMs to identify LLM-generated contents (Zheng et al., 2023), (b) detection models, which are fine-tuned on both human and LLM-generated texts (Guo et al., 2023), (c) reference-based methods, which compare the similarity between a candidate text and one generated by an LLM (Gehrmann et al., 2019; Ippolito et al., 2020; Liang et al., 2024a; Yu et al., 2024). In this work, we provide an alternative approach, and demonstrate a comprehensive, fine-grained aspect set helps the detection of LLM-generated reviews.
|
| 85 |
+
|
| 86 |
+
# 3 Aspect set construction
|
| 87 |
+
|
| 88 |
+
# 3.1 Definition of aspect
|
| 89 |
+
|
| 90 |
+
While aspects are outlined in review guidelines and used in related work, a formal definition of aspect is lacking. To address this, we propose an operational definition of aspect as a characteristic of a paper that a reviewer makes a judgment on when evaluating the paper, which is later used to compare the manuscripts to each other and to the quality standards provided by the review guidelines. From this definition, we do not consider terms such as Acceptance Decision as aspects, since they are not characteristics of a paper. An aspect can be general, such as Soundness, or specific, such as Missing Citations on Controlled Generation. However, aspects that are either too general or too specific are difficult to use for comparing manuscripts to each other or to the publication standards. Therefore, an aspect taxonomy that accommodates different levels of granularity is needed.
|
| 91 |
+
|
| 92 |
+
We assume that an aspect is expressed in a review sentence, and we allow multiple aspects per sentence. We treat the aspects of a review as a set. Formally, for a paper $p$ , let $R_{p}$ denote the set of reviews for $p$ . For each review $r \in R_{p}$ , we derive $A_{r}$ , the set of aspects in $r$ .
|
| 93 |
+
|
| 94 |
+
# 3.2 Method
|
| 95 |
+
|
| 96 |
+
To establish a comprehensive set of aspects, we selected reviews from NLP and machine learning (ML) conferences across different time periods. We randomly selected 50 papers from each of the NLPeer (Dycke et al., 2023) and EMNLP23² datasets. We used the keywords "natural" and "language" to filter NLP-related papers from ICLR. We randomly selected 50 NLP-related papers from each of the ICLR conferences from 2020 to 2024. We selected 350 papers in total, corresponding to 1094 reviews. We segmented the reviews into sentences using Punkt (Bird and Loper, 2004) and performed the identification at the sentence level.
|
| 97 |
+
|
| 98 |
+
We used OpenAI GPT-4o $^3$ to identify aspects from the reviews. The prompt we used is shown in Table 7. Since the identification was performed in an unsupervised setting, the identified aspects appear inconsistent, with variations like Result and Results. We post-processed the results to reduce such variations. We first identified the most frequently occurring aspects in the results, which were
|
| 99 |
+
|
| 100 |
+
<table><tr><td>COARSE</td><td>FINE</td><td>LLM annotation</td></tr><tr><td>Contribution</td><td>Contribution</td><td>Community Contribution, Methodology Contribution</td></tr><tr><td>DDDDEI</td><td>Definition, Description, Detail, Discussion, Explanation, Interpretation</td><td>Dataset Description, Missing Details, Task Definition</td></tr><tr><td>IJMV</td><td>Intuition, Justification, Motivation, Validation</td><td>Approach Justification, Dataset Validity, Model Intuition</td></tr><tr><td>Novelty</td><td>Innovation/Novelty/Originality</td><td>Algorithmic Innovations, Technical Novelty</td></tr><tr><td>Presentation</td><td>Clarity, Figure, Grammar, Presentation, Tipo</td><td>Dataset Clarification, Paper Presentation, Term Clarity</td></tr><tr><td>Related Work</td><td>Citation/Literature/Related Work</td><td>Existing Literature, Missing Citations, Previous Works</td></tr><tr><td>Significance</td><td>Impact, Importance, Significance</td><td>Empirical Importance, Practical Significance</td></tr></table>
|
| 101 |
+
|
| 102 |
+
(a) paper-agnostic
|
| 103 |
+
|
| 104 |
+
<table><tr><td>COARSE</td><td>FINE</td><td>LLM annotation</td></tr><tr><td>Ablation</td><td>Ablation</td><td>Ablation Analysis, Ablation Study, Ablation Tests</td></tr><tr><td>Analysis</td><td>Analysis</td><td>Ablation Analysis, Complexity Analysis, Data Analysis</td></tr><tr><td>Comparison</td><td>Comparison</td><td>Comparison Fairness, Comparison to SOTA</td></tr><tr><td>Data/Task</td><td>Annotation, Benchmark, Data, Task</td><td>Annotation Detail, Alternative Tasks, Data Preparation</td></tr><tr><td>Evaluation</td><td>Evaluation, Metric</td><td>Accuracy Metric, Evaluation Scheme, Human Evaluation</td></tr><tr><td>Experiment</td><td>Experiment</td><td>Control Experiment, Experimental Procedure</td></tr><tr><td>Methodology</td><td>Algorithm, Implementation, Method</td><td>Language Model, Methodological Soundness</td></tr><tr><td>Theory</td><td>Theory</td><td>Lack of Theoretical Guarantee, Theoretical Correctness</td></tr><tr><td>Result</td><td>Findings, Improvement, Performance, Result</td><td>BLEU Improvement, Statistical Test</td></tr></table>
|
| 105 |
+
|
| 106 |
+
(b) paper-dependent
|
| 107 |
+
|
| 108 |
+
Table 2: The taxonomy of aspects. See here for the complete taxonomy.
|
| 109 |
+
|
| 110 |
+
used as keywords to categorize and match the remaining ones. We grouped related terms together, such as Clarification and Clarity. We removed terms that we considered to be too general, such as Weakness, Strength, Question, and Comment. For the terms that cannot be matched, we omitted those that appear less than 50 times in the annotations.
|
| 111 |
+
|
| 112 |
+
We note that our post-processing method may lead to unrelated terms being grouped together. For example, using Improvement as a keyword groups Performance Improvement and Improvement Recommendation (i.e., suggestions to improve paper quality) together. We manually checked the results to verify and correct inappropriate groupings.
|
| 113 |
+
|
| 114 |
+
In cases where a single term contains multiple aspects, it is placed into more than one category (e.g., Comparison with Related Work is included in both Comparison and Related Work categories).
|
| 115 |
+
|
| 116 |
+
See Appendix B for more details regarding the settings and human effort.
|
| 117 |
+
|
| 118 |
+
# 3.3 Results
|
| 119 |
+
|
| 120 |
+
GPT-4o identified 14574 unique aspects from the reviews. We excluded 9764 terms that were re
|
| 121 |
+
|
| 122 |
+
lated to paper decision, too general or specific, or could not be matched by keywords and appeared less than 50 times. These excluded terms occurred 26578 times in the corpus. The most common excluded terms are Weaknesses, Questions, Strengths, Weakness, and Comments. The remaining 4810 aspects appeared 25394 times in the corpus, with the most common ones being Comparison, Clarity, Performance, Experiments, and Results.
|
| 123 |
+
|
| 124 |
+
Based on the results, we created a taxonomy that groups the aspects into 16 broad categories (see Table 2). This taxonomy shows the granularity of aspects across 3 levels: (a) the broad category names (COARSE, the most coarse), (b) the most frequently occurring aspects (FINE, finer), and (c) the raw GPT-4o outputs (LLM annotation, the finest). We also distinguish between paper-agnostic and paper-dependent aspects. Paper-agnostic aspects are relevant across all papers, while paper-dependent aspects are specific to individual papers and may not appear universally. Section A shows an example review using the proposed aspect taxonomy.
|
| 125 |
+
|
| 126 |
+
Some aspects are not present in our taxonomy as review forms for major NLP venues have dedi
|
| 127 |
+
|
| 128 |
+
ated fields for their evaluation, making them appear much less frequently in the review text (e.g., Reproducibility). See Table 8 for examples of the dataset we created which pairs aspects with real-life reviews and Table 9 for the aspect frequencies.
|
| 129 |
+
|
| 130 |
+
# 3.4 Validity check
|
| 131 |
+
|
| 132 |
+
Since LLMs have been shown to be sensitive to prompts (Chen et al., 2023; Ajith et al., 2024), we experimented with different prompts and temperature to assess the consistency of the model annotations. We used three consistency metrics: exact match, BERTScore similarity (Zhang et al., 2020), and Jaccard similarity. We show in Table 10 that the consistency between annotations generated under different settings is moderate to strong. $45.50\%$ and $67.14\%$ of the annotations obtained using different prompts and temperature have BERTScore similarities greater than 0.9. The increase in exact matches between the raw annotations and those mapped to the COARSE label set suggests that differences introduced by varying prompts and temperature do not noticeably affect the categorization, as most of them still fall within the same label category. The Jaccard similarities of aspects mapped to the COARSE label set also indicate strong consistency. Table 11 and 12 help interpret these scores by showing examples of how pairs of texts and sets correspond to different BERTScore and Jaccard similarities.
|
| 133 |
+
|
| 134 |
+
We conducted a human evaluation to verify the model annotations, involving three human annotators to evaluate the LLM annotations mapped to the COARSE label set. We follow Yuan et al. (2022), asking the annotators to determine whether a review sentence addresses the aspects identified by GPT-4o (see Table 14 for examples). We observe that on average human annotators agree with $91\%$ of the LLM annotations, along with fair inter-annotator agreement as measured by Fleiss' Kappa (Fleiss, 1971) (see Table 3). These results suggest that the model annotations largely align with human judgments, and that human annotators can effectively understand our taxonomy.
|
| 135 |
+
|
| 136 |
+
See Appendix B.2 for more details.
|
| 137 |
+
|
| 138 |
+
# 4 Aspect prediction
|
| 139 |
+
|
| 140 |
+
Our fine-grained approach to aspect analysis enables two tasks: predicting the aspects that should be focused on given a paper (paper aspect prediction, PAP), and identifying the aspects that are
|
| 141 |
+
|
| 142 |
+
covered in the review (review aspect prediction, RAP). These tasks are formalized as follows:
|
| 143 |
+
|
| 144 |
+
$$
|
| 145 |
+
f: \left\{\begin{array}{l}\mathrm {P A P}, p \rightarrow \hat {A} _ {p};\\\mathrm {R A P}, r \rightarrow \hat {A} _ {r};\end{array}\right. \tag {1}
|
| 146 |
+
$$
|
| 147 |
+
|
| 148 |
+
where $f$ denotes a model, $\hat{A}_p$ is the predicted aspects for a given paper, and $\hat{A}_r$ is the predicted aspects for a given review.
|
| 149 |
+
|
| 150 |
+
# 4.1 Method
|
| 151 |
+
|
| 152 |
+
For PAP, we only focus on predicting paper-dependent aspects, as our categorization defines paper-agnostic aspects as those that are relevant across all papers. We experimented with different parts of the paper as input, including the full paper, title, keywords, and abstract, which have different implications. Using the title, keywords, or abstract as input is a heuristic method that is grounded in statistics, that reviews for similar types of papers (as determined by the title, keywords, or abstract) tend to emphasize similar aspects. Using the full paper as input may offer broader insights. Beyond leveraging heuristics, a model with access to the full paper may also capture strengths or weaknesses in certain aspects of the paper that are not evident from the title, keywords, or abstract alone.
|
| 153 |
+
|
| 154 |
+
RAP differs from aspect set construction described in Section 3 in that it is implemented using a supervised approach. We utilized our curated data to train models to identify aspects within reviews. We segmented the reviews into sentences using NLTK.
|
| 155 |
+
|
| 156 |
+
It is important to note that PAP is inherently more challenging than RAP. PAP operates as a heuristic method grounded in statistics, or in a more advanced setting (i.e., when the input is the full paper), goes beyond heuristics to infer strengths or weaknesses in certain aspects of the paper. In contrast, RAP resembles summarization, as it extracts aspects directly from the review text, making it comparatively less challenging than PAP.
|
| 157 |
+
|
| 158 |
+
We modeled both tasks as multi-label sequence classification. For both tasks, we tested bag-of-words with random forest $(\mathsf{BoW} + \mathsf{RF})$ and RoBERTa (Liu et al., 2019). Both models are strong in supervised settings, and they are lighter-weight alternatives to LLMs. We used focal loss (Lin et al., 2017) to address label imbalance. For PAP, we also experimented with GPT-4o in both zero-shot and few-shot settings. Our evaluation metrics include
|
| 159 |
+
|
| 160 |
+
precision, recall, F1 score, and Jaccard similarity score. See Appendix C for more details.
|
| 161 |
+
|
| 162 |
+
# 4.2 Results
|
| 163 |
+
|
| 164 |
+
Table 3 shows the results of PAP experiments. Overall, the models do not perform well regardless of the type of input used. We observe a small advantage for BoW+RF when using the full paper as input, possibly because the model captures more nuanced information when provided with the entire paper. Using the COARSE label set results in much higher performance than the FINE label set (see Table 18). This is partly due to the prevalence of certain COARSE aspect labels, such as Methodology, which appear in nearly all papers.
|
| 165 |
+
|
| 166 |
+
In the GPT-4o experiments<sup>4</sup>, the evaluation of using the full paper or abstract as input is in the zero-shot setting, and the rest is in the few-shot setting. Though it is in the few-shot setting, GPT-4o outperforms RoBERTa which is trained on the full training data. GPT-4o tends to be better at capturing heuristics.
|
| 167 |
+
|
| 168 |
+
<table><tr><td>model</td><td>precision</td><td>recall</td><td>f1</td><td>Jaccard</td></tr><tr><td>BoW+RF</td><td>0.5343</td><td>0.6250</td><td>0.5552</td><td>0.4998</td></tr><tr><td>GPT-4o</td><td>0.5625</td><td>0.5542</td><td>0.5352</td><td>0.4024</td></tr></table>
|
| 169 |
+
|
| 170 |
+
(a) full paper
|
| 171 |
+
|
| 172 |
+
<table><tr><td>model</td><td>precision</td><td>recall</td><td>f1</td><td>Jaccard</td></tr><tr><td>BoW+RF</td><td>0.5568</td><td>0.6108</td><td>0.5511</td><td>0.4901</td></tr><tr><td>RoBERTa</td><td>0.5224</td><td>0.6599</td><td>0.5781</td><td>0.5439</td></tr><tr><td>GPT-4o</td><td>0.7138</td><td>0.7193</td><td>0.6756</td><td>0.5451</td></tr></table>
|
| 173 |
+
|
| 174 |
+
Table 4 shows the results of RAP experiments. RoBERTa is the best performing model for this task. Models trained using the COARSE label set achieve higher performance compared to those trained with the FINE label set, and the few-shot setting offers small improvement for GPT-40 over the zero-shot setting (see Table 19 and 20).
|
| 175 |
+
|
| 176 |
+
In general, models perform better on RAP, and the COARSE label set yields higher performance across both tasks.
|
| 177 |
+
|
| 178 |
+
(b) keywords
|
| 179 |
+
Table 3: The highest precision, recall, F1 score, and Jaccard similarity; PAP; FINE label set. For GPT-4o, the evaluation of using the full paper as input is in the zero-shot setting, and that of using the keywords is in the few-shot setting. See Table 17 for more results.
|
| 180 |
+
|
| 181 |
+
<table><tr><td>model</td><td>precision</td><td>recall</td><td>f1</td><td>Jaccard</td></tr><tr><td>BoW+RF</td><td>0.8058</td><td>0.5810</td><td>0.6416</td><td>0.5070</td></tr><tr><td>RoBERTa</td><td>0.7720</td><td>0.7664</td><td>0.7675</td><td>0.7089</td></tr><tr><td>GPT-4o</td><td>0.5696</td><td>0.5757</td><td>0.5328</td><td>0.4573</td></tr></table>
|
| 182 |
+
|
| 183 |
+
Table 4: The highest precision, recall, F1 score, and Jaccard similarity; RAP; COARSE label set. For GPT-4o, the evaluation is in the few-shot setting.
|
| 184 |
+
|
| 185 |
+
# 5 Practical applications
|
| 186 |
+
|
| 187 |
+
We now demonstrate how a comprehensive, fine-grained aspect set and the proposed tasks enable new types of NLP assistance in the peer review process. We picked the trained RoBERTa model on the COARSE label set with the best F1 score and obtained predicted aspects using it. This model achieves an F1 score above 0.75 for 10 out of 17 labels (see Table 21 for the classification report).
|
| 188 |
+
|
| 189 |
+
# 5.1 Aspect analysis
|
| 190 |
+
|
| 191 |
+
A more comprehensive set of aspects allows for more detailed aspect analysis. Figure 1 shows the most frequent aspects across 4 submission tracks in EMNLP23.<sup>5</sup> While Machine Translation and Multilinguality and Linguistic Diversity are different tracks, the set of aspects that reviewers emphasize most are very similar. This suggests that there may be overlaps in the papers within these tracks (also as indicated by the track names). We observe a different pattern in the Resources and Evaluation track, where reviewers focus more on Data/Task and Evaluation than in other tracks.
|
| 192 |
+
|
| 193 |
+

|
| 194 |
+
Figure 1: The 5 most frequent aspects in 4 submission tracks in EMNLP23. Figure 5 shows the full results.
|
| 195 |
+
|
| 196 |
+
Figure 4 in Appendix D.1 shows the similarity of submission tracks based on the Levenshtein similarity of the 10 most frequent aspects within each track in EMNLP23. Some tracks are more similar to each other. For example, Question Answering is most similar to tracks such as Summarization and Information Extraction.
|
| 197 |
+
|
| 198 |
+
Table 5 shows additional examples of how reviewers emphasize certain aspects more in some tracks than in others. For example, the frequency of Analysis is the highest in the Computational Social Science and Cultural Analytics track.
|
| 199 |
+
|
| 200 |
+
<table><tr><td>track</td><td>review (%)</td></tr><tr><td>Comp. Social Science & Cultural Analytics</td><td>69.23</td></tr><tr><td>Ling. Theor., Cogn. Model., & Psycholing.</td><td>68.75</td></tr><tr><td>Commonsense Reasoning</td><td>62.62</td></tr><tr><td>Multilinguality & Linguistic Diversity</td><td>60.68</td></tr><tr><td>Machine Learning for NLP</td><td>60.00</td></tr></table>
|
| 201 |
+
|
| 202 |
+
Table 5: The tracks with the 5 highest frequencies of Analysis in EMNLP23. Table 22 shows the full results.
|
| 203 |
+
|
| 204 |
+
This type of analysis helps compare reviewing across different tracks and venues and can inform the development of review forms and guidelines that could prompt reviewers to focus on certain aspects relevant to particular tracks to ensure a more comprehensive review.
|
| 205 |
+
|
| 206 |
+
# 5.2 Review comparison
|
| 207 |
+
|
| 208 |
+
In this section, we demonstrate that a more comprehensive set of aspects introduces a new dimension for comparing reviews. We compare human-written reviews with LLM-generated reviews. We used the LLM-generated reviews used in Du et al. (2024) and generated reviews for 100 randomly sampled papers from each of EMNLP23 and ICLR24. We generated reviews using GPT-4o with the prompt used in Liang et al. (2024b) and a prompt of our own (see Table 23 for the prompts).
|
| 209 |
+
|
| 210 |
+
To compare the reviews, we predicted the aspects in each review and calculated the Jaccard similarity between sets of aspects. Figure 2 visualizes the similarity between each pair of human-written and LLM-generated reviews.
|
| 211 |
+
|
| 212 |
+
We observe that LLM-generated reviews show a higher degree of similarity to each other in terms of aspects. This suggests that LLM-generated reviews may be more generic than human-written ones, with the model tending to comment on similar sets of aspects across different papers. This
|
| 213 |
+
|
| 214 |
+

|
| 215 |
+
|
| 216 |
+

|
| 217 |
+
|
| 218 |
+

|
| 219 |
+
(a) COARSE
|
| 220 |
+
Figure 2: The heatmap of the Jaccard similarity between each pair of the human-written reviews and LLM-generated reviews generated using EMNLP23 papers and Liang et al. (2024b)'s prompt. Figure 6 in Appendix D.2 shows the rest of the results.
|
| 221 |
+
|
| 222 |
+

|
| 223 |
+
(b) FINE
|
| 224 |
+
|
| 225 |
+
could also imply that the quality of LLM-generated reviews is still lacking in terms of specificity.
|
| 226 |
+
|
| 227 |
+
# 5.3 LLM-generated review detection
|
| 228 |
+
|
| 229 |
+
We used the same data as in Section 5.2, where LLM-generated reviews are created using prompts with different levels of prompt engineering: Du et al. (2024) has the heaviest prompt engineering, followed by Liang et al. (2024b), and our own prompt is the simplest and involves the least prompt engineering (see Table 23 for more details). These prompts represent the common types of prompts used to generate reviews end-to-end. There is one LLM-generated review for each paper.
|
| 230 |
+
|
| 231 |
+
Based on our observations in Section 5.2, we design a simple strategy to detect LLM-generated reviews. We define $\text{sim}(A_i, A_j)$ as the similarity between two sets of aspects. For each review $r$ , we define the intra-similarity $S_{\text{intra}}$ as the average similarity between reviews for the same paper, and the inter-similarity $S_{\text{inter}}$ as the average similarity of reviews for different papers:
|
| 232 |
+
|
| 233 |
+
$$
|
| 234 |
+
\begin{array}{l} S _ {t} = \frac {1}{n} \sum \operatorname {s i m} \left(A _ {r}, A _ {r _ {i}}\right), \\ t = \left\{ \begin{array}{l} \text {i n t r a , i f} r, r _ {i} \in R _ {p}, p \in P, r \neq r _ {i}; \\ \text {i n t e r , i f} r \in R _ {p}, r _ {i} \in R _ {q}, p, q \in P, p \neq q; \end{array} \right. \tag {2} \\ \end{array}
|
| 235 |
+
$$
|
| 236 |
+
|
| 237 |
+
where $n$ is the number of $A_{r}, A_{r_{i}}$ pairs. Intuitively, reviews for the same paper are more similar to
|
| 238 |
+
|
| 239 |
+
each other than reviews for different papers, as a review is specific to the paper. Therefore, we expect $|S_{intra} - S_{inter}|$ to be large. Based on this intuition, we calculate $|S_{intra} - S_{inter}|$ for each $r$ in $R_p$ and propose two performance metrics: (a) $@1$ , which measures accuracy by determining whether the LLM-generated review is the one with the lowest score, and (b) $@2$ , which calculates the percentage of cases where the LLM-generated review is among the 2 reviews with the lowest scores.
|
| 240 |
+
|
| 241 |
+
Table 6 shows the detection results. We used Jaccard similarity and compared our method with an implementation of Equation 2 using SentenceBERT (SBERT) (Reimers and Gurevych, 2019), which calculates the similarity between the embeddings of review texts. Experiments were conducted using both the COARSE and FINE label sets, as well as ACL'18 which is a commonly used aspect set in previous studies (see Table 1). We calculated a random baseline that selects a review at random as the LLM-generated review. Note that the FINE aspect set consistently outperforms ACL'18 and SBERT, and our method is robust across LLM-generated reviews generated using different prompts.
|
| 242 |
+
|
| 243 |
+
<table><tr><td>dataset</td><td>aspect set</td><td>@1</td><td>@2</td></tr><tr><td rowspan="5">Du et al. (2024) (avg=4.80)</td><td>random</td><td>0.27</td><td>0.55</td></tr><tr><td>SBERT</td><td>0.35</td><td>0.80</td></tr><tr><td>ACL'18</td><td>0.40</td><td>0.80</td></tr><tr><td>COARSE</td><td>0.50</td><td>0.75</td></tr><tr><td>FINE</td><td>0.50</td><td>0.70</td></tr><tr><td rowspan="5">Liang et al. (2024b) (avg=4.52)</td><td>random</td><td>0.25</td><td>0.47</td></tr><tr><td>SBERT</td><td>0.47</td><td>0.66</td></tr><tr><td>ACL'18</td><td>0.49</td><td>0.72</td></tr><tr><td>COARSE</td><td>0.53</td><td>0.73</td></tr><tr><td>FINE</td><td>0.66</td><td>0.89</td></tr><tr><td rowspan="5">ours (avg=4.52)</td><td>random</td><td>0.25</td><td>0.47</td></tr><tr><td>SBERT</td><td>0.55</td><td>0.71</td></tr><tr><td>ACL'18</td><td>0.56</td><td>0.82</td></tr><tr><td>COARSE</td><td>0.48</td><td>0.72</td></tr><tr><td>FINE</td><td>0.65</td><td>0.87</td></tr></table>
|
| 244 |
+
|
| 245 |
+
Table 6: The @1 and @2 accuracy of the detection across different aspect sets and methods. "avg" is the average number of reviews per paper. There is one LLM-generated review for each paper.
|
| 246 |
+
|
| 247 |
+
While this detection approach does not achieve the same level of performance as the reference-based and zero-shot approaches, such as the $90\%$ accuracy reported by Yu et al. (2024) or our own GPT-4o results in Table 24, it nevertheless provides valuable insights. It demonstrates that current LLMs tend to generate reviews that are generic in terms of aspects. A key advantage of this approach
|
| 248 |
+
|
| 249 |
+
lies in interpretability, opening new opportunities for broader applications such as review quality assessment. Moreover, the performance gains observed when using the FINE label set (see Table 6) highlight the importance of aspect granularity-finer labels reveal patterns that are useful in distinguishing LLM-generated reviews from human-written ones, patterns that coarse labels fail to capture. Thus, we consider this approach promising, and leave the development of better performing aspect-based detectors to future work.
|
| 250 |
+
|
| 251 |
+
# 5.4 Recommendations
|
| 252 |
+
|
| 253 |
+
Based on our results, we make the following recommendations on selecting aspect granularity for a given application. The COARSE label set is more suitable for high-level analysis tasks, such as analyzing review focus across different tracks and venues (Section 5.1). The FINE label set is more appropriate for tasks that require nuanced analysis, where capturing specific and detailed feedback is critical, such as review comparison (Section 5.2) and LLM-generated review detection (Section 5.3). In some cases, a hybrid strategy might be the best option. For example, when evaluating review quality, one can first apply the COARSE label set to assess coverage (i.e., whether key aspects are addressed), and then use the FINE label set to assess specificity of the review. Aspect granularity is a design choice, and the optimal configuration depends on the task and user needs.
|
| 254 |
+
|
| 255 |
+
# 6 Conclusion
|
| 256 |
+
|
| 257 |
+
In this paper, we have introduced a data-driven approach to peer review aspect analysis. We have provided an operational definition of aspect, and developed an semi-automatic approach to identify aspects from peer reviews. We have proposed a taxonomy that involves a comprehensive set of aspects with different granularity, and introduce a new dataset of peer reviews augmented with aspects. We introduced two tasks, paper aspect prediction and review aspect prediction, and have shown how they contribute to a detailed empirical study of aspects. Our results demonstrate that fine-grained, data-driven aspects complement coarse aspects from review guidelines, and allow for more nuanced review comparison and new interpretable approaches for LLM-generated review detection.
|
| 258 |
+
|
| 259 |
+
# Limitations
|
| 260 |
+
|
| 261 |
+
As discussed in Section 3.1, aspect is difficult to define. We adopted an operational definition as a practical approach. Defining individual aspects is also challenging. For instance, it is difficult to determine the scope of "Methodology." Polysemy further complicates this issue—for example, "Improvement" may refer to either a method's improvement, or places where the paper can be improved. We did a manual inspection of the categorization results to minimize the impact of these issues. While our study provides a foundation for data-driven research on review aspect, future work may seek to refine and expand upon our current definition.
|
| 262 |
+
|
| 263 |
+
The taxonomy was constructed by an expert annotator (one of the authors of this paper) with expertise in NLP and peer review, based on domain knowledge. This taxonomy may not be optimal, and alternative approaches to categorizing aspects may exist. Our taxonomy is an attempt to streamline the analysis and application of aspects, and it has been shown to be effective for the purposes of this study. We deem a future multiple-expert study in fine-grained aspect identification promising.
|
| 264 |
+
|
| 265 |
+
In this work, we focus on the NLP domain. While a comprehensive cross-domain analysis would be of great interest, it would require reviewing data and domain experts from other fields to construct a new taxonomy. As this would require a substantial study deserving a paper of its own, we leave it as potential future work.
|
| 266 |
+
|
| 267 |
+
Consistency is a fundamental issue when working with LLM-generated annotations. As reported in Section 3.4, GPT-4o indeed shows some sensitivity to prompts and temperature. Our validity checks suggest a reasonable degree of consistency and reliability of the LLM annotations. The applications of these aspect annotations, especially in the LLM-generated review detection task, provide further support for their reliability. Though we specify the seed (see Appendix B and C), the exact reproducibility of the results related to the closed-weights LLMs like GPT-4o is a concern. As open models become more capable, experimentation with alternative open models and aspect schemata will become possible.
|
| 268 |
+
|
| 269 |
+
The LLM-generated annotations in this work are based on GPT-4o. While a comparative analysis across annotations generated by different models would be insightful, such a study would require not only applying different models, but also con
|
| 270 |
+
|
| 271 |
+
structuring multiple taxonomies, which needs expert involvement. Though valuable, this is beyond the scope of a single study.
|
| 272 |
+
|
| 273 |
+
For human annotation, we recognize that using aspect labels from our taxonomy may introduce potential label bias. A straightforward solution would be to ask the annotators to do an open-ended annotation without pre-defined labels. However, such study is very challenging in terms of the cognitive burden on annotators and ensuring annotation consistency. Automation bias is also a concern. While we address this by asking annotators to provide explanations for their annotations, follow-up work can explore alternative experimental strategies to measure and mitigate automation bias.
|
| 274 |
+
|
| 275 |
+
For the purposes of this study, we have kept the design of the PAP straightforward, treating it as a binary classification task predicting which aspects should be focused on given a paper. Yet, aspect relevance might indeed not be a binary decision, and modeling PAP as a ranking or regression problem could better reflect real world scenarios, where aspects have different levels of importance. Given the scope of the paper, we leave this investigation to future work.
|
| 276 |
+
|
| 277 |
+
In addition, we point at potential selection bias due to data availability. All papers associated with the ICLR20-24 and EMNLP23 datasets are camera-ready versions. This may affect the validity of the results of PAP experiments in Section 4 since in practice PAP deals with (potentially lower-quality) submission manuscripts. We do not consider the use of camera-ready versions problematic for review comparison and LLM-generated review detection in Section 5.2 and 5.3. A further bias in item selection might be introduced by data imbalance with respect to paper acceptance. The EMNLP23 dataset contains only 9 rejected papers; in NLPeer, $69\%$ of the papers are accepted papers (Dycke et al., 2023), which does not correspond to a natural distribution of submissions. Such skew may lead to an overestimation of aspect frequency: aspects commonly associated with accepted papers may appear more frequently than they would in a more balanced dataset. Consequently, some of our findings may be influenced by this bias. If these overrepresented aspects are used to inform review forms or guidelines, they may introduce new biases into the review process, which reduces their effectiveness. As more review data become available, this limitation can be mitigated.
|
| 278 |
+
|
| 279 |
+
In Section 5.3, we only focus on the commonly used end-to-end general prompts for our review generator. We did not consider prompts that involve paper-specific aspects, as we consider these to be human-in-the-loop prompts, where the user must first read the paper to identify paper-specific aspects and then incorporate them into the prompt, which would require an experimental setup beyond our scope. This approach represents a form of human-AI collaboration, and we plan to explore this direction in future work.
|
| 280 |
+
|
| 281 |
+
# Ethics Statement
|
| 282 |
+
|
| 283 |
+
This work does not suggest or imply that the proposed task of predicting the aspects to focus on a given paper may replace human involvement. Instead, it is designed to assist reviewers by recommending the aspects to consider during their review. Reviewers retain full autonomy over their decisions regarding whether to include the suggested aspects. Since all the review data used in this study are publicly available and anonymized, processing it with commercial LLMs does not raise ethical concerns.
|
| 284 |
+
|
| 285 |
+
# Acknowledgements
|
| 286 |
+
|
| 287 |
+
This work has been funded by the German Research Foundation (DFG) as part of the PEER project (grant GU 798/28-1), and funded/co-funded by the European Union (ERC, InterText, 101054961). Views and opinions expressed are however those of the author(s) only and do not necessarily reflect those of the European Union or the European Research Council. Neither the European Union nor the granting authority can be held responsible for them. This work has been funded by the LOEWE Distinguished Chair "Ubiquitous Knowledge Processing", LOEWE initiative, Hesse, Germany (Grant Number: LOEWE/4a//519/05/00.002(0002)/81). We gratefully acknowledge the support of Microsoft with a grant for access to OpenAI GPT models via the Azure cloud (Accelerate Foundation Model Academic Research).
|
| 288 |
+
|
| 289 |
+
# References
|
| 290 |
+
|
| 291 |
+
Anirudh Ajith, Chris Pan, Mengzhou Xia, Ameet Deshpande, and Karthik Narasimhan. 2024. Instructeval: Systematic evaluation of instruction selection methods. In Findings of the Association for Computational Linguistics: NAACL 2024, Mexico City,
|
| 292 |
+
|
| 293 |
+
Mexico, June 16-21, 2024, pages 4336-4350. Association for Computational Linguistics.
|
| 294 |
+
Ines Arous, Jie Yang, Mourad Khayati, and Philippe Cudré-Mauroux. 2021. Peer grading the peer reviews: A dual-role approach for lightening the scholarly paper review process. In WWW '21: The Web Conference 2021, Virtual Event / Ljubljana, Slovenia, April 19-23, 2021, pages 1916-1927. ACM / IW3C2.
|
| 295 |
+
Steven Bird and Edward Loper. 2004. NLTK: The natural language toolkit. In Proceedings of the ACL Interactive Poster and Demonstration Sessions, pages 214-217, Barcelona, Spain. Association for Computational Linguistics.
|
| 296 |
+
Som Biswas, Dushyant Dobaria, and Harris L Cohen. 2023. Focus: Big data: Chatgpt and the future of journal reviews: A feasibility study. The Yale Journal of Biology and Medicine, 96(3):415.
|
| 297 |
+
Souvic Chakraborty, Pawan Goyal, and Animesh Mukherjee. 2020. Aspect-based sentiment analysis of scientific reviews. In JCDL '20: Proceedings of the ACM/IEEE Joint Conference on Digital Libraries in 2020, Virtual Event, China, August 1-5, 2020, pages 207-216. ACM.
|
| 298 |
+
Alessandro Checco, Lorenzo Bracciale, Pierpaolo Loretti, Stephen Pinfield, and Giuseppe Bianchi. 2021. AI-assisted peer review. *Humanities and Social Sciences Communications*, 8(1):1-11.
|
| 299 |
+
Yanda Chen, Chen Zhao, Zhou Yu, Kathleen McKeown, and He He. 2023. On the relation between sensitivity and accuracy in in-context learning. In Findings of the Association for Computational Linguistics: EMNLP 2023, pages 155-167, Singapore. Association for Computational Linguistics.
|
| 300 |
+
Elizabeth Clark, Tal August, Sofia Serrano, Nikita Hahuong, Suchin Gururangan, and Noah A. Smith. 2021. All that's 'human' is not gold: Evaluating human evaluation of generated text. In Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing, ACL/IJCNLP 2021, (Volume 1: Long Papers), Virtual Event, August 1-6, 2021, pages 7282-7296. Association for Computational Linguistics.
|
| 301 |
+
Jiangshu Du, Yibo Wang, Wenting Zhao, Zhongfen Deng, Shuaiqi Liu, Renze Lou, Henry Peng Zou, Pranav Narayanan Venkit, Nan Zhang, Mukund Srinath, Haoran Ranran Zhang, Vipul Gupta, Yinghui Li, Tao Li, Fei Wang, Qin Liu, Tianlin Liu, Pengzhi Gao, Congying Xia, Chen Xing, Cheng Jiayang, Zhaowei Wang, Ying Su, Raj Sanjay Shah, Ruohao Guo, Jing Gu, Haoran Li, Kangda Wei, Zihao Wang, Lu Cheng, Surangika Ranathunga, Meng Fang, Jie Fu, Fei Liu, Ruihong Huang, Eduardo Blanco, Yixin Cao, Rui Zhang, Philip S. Yu, and Wenpeng Yin. 2024. LLMs assist NLP researchers: Critique paper (meta-)reviewing. In Proceedings of the 2024 Conference on Empirical Methods in Natural Language
|
| 302 |
+
|
| 303 |
+
Processing, pages 5081-5099, Miami, Florida, USA.
|
| 304 |
+
Association for Computational Linguistics.
|
| 305 |
+
Nils Dycke, Ilia Kuznetsov, and Iryna Gurevych. 2023. NLPeer: A unified resource for the computational study of peer review. In Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 5049-5073, Toronto, Canada. Association for Computational Linguistics.
|
| 306 |
+
Alexander R. Fabbri, Wojciech Krysciński, Bryan McCann, Caiming Xiong, Richard Socher, and Dragomir Radev. 2021. SummEval: Re-evaluating summarization evaluation. Transactions of the Association for Computational Linguistics, 9:391-409.
|
| 307 |
+
Joseph L Fleiss. 1971. Measuring nominal scale agreement among many raters. Psychological bulletin, 76(5):378.
|
| 308 |
+
Catherine A. Gao, Frederick M. Howard, Nikolay S. Markov, Emma C. Dyer, Siddhi Ramesh, Yuan Luo, and Alexander T. Pearson. 2023. Comparing scientific abstracts generated by chatgpt to real abstracts with detectors and blinded human reviewers. npj Digital Medicine, 6.
|
| 309 |
+
Zhaolin Gao, Kianté Brantley, and Thorsten Joachims. 2024. Reviewer2: Optimizing review generation through prompt generation. CoRR, abs/2402.10886.
|
| 310 |
+
Sebastian Gehrmann, Hendrik Strobelt, and Alexander M. Rush. 2019. GLTR: statistical detection and visualization of generated text. In Proceedings of the 57th Conference of the Association for Computational Linguistics, ACL 2019, Florence, Italy, July 28 - August 2, 2019, Volume 3: System Demonstrations, pages 111-116. Association for Computational Linguistics.
|
| 311 |
+
Alexander Goldberg, Ivan Stelmakh, Kyunghyun Cho, Alice H. Oh, Alekh Agarwal, Danielle Belgrave, and Nihar B. Shah. 2023. Peer reviews of peer reviews: A randomized controlled trial and other experiments. CoRR, abs/2311.09497.
|
| 312 |
+
Biyang Guo, Xin Zhang, Ziyuan Wang, Minqi Jiang, Jinran Nie, Yuxuan Ding, Jianwei Yue, and Yupeng Wu. 2023. How close is chatgpt to human experts? comparison corpus, evaluation, and detection. CoRR, abs/2301.07597.
|
| 313 |
+
Daphne Ippolito, Daniel Duckworth, Chris Callison-Burch, and Douglas Eck. 2020. Automatic detection of generated text is easiest when humans are fooled. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, ACL 2020, Online, July 5-10, 2020, pages 1808-1822. Association for Computational Linguistics.
|
| 314 |
+
Tom Jefferson, Elizabeth Wager, and Frank Davidoff. 2002. Measuring the Quality of Editorial Peer Review. JAMA, 287(21):2786-2790.
|
| 315 |
+
|
| 316 |
+
Yiqiao Jin, Qinlin Zhao, Yiyang Wang, Hao Chen, Kaijie Zhu, Yijia Xiao, and Jindong Wang. 2024. Agentreview: Exploring peer review dynamics with LLM agents. CoRR, abs/2406.12708.
|
| 317 |
+
Neha Nayak Kennard, Tim O'Gorman, Rajarshi Das, Akshay Sharma, Chhandak Bagchi, Matthew Clinton, Pranay Kumar Yelugam, Hamed Zamani, and Andrew McCallum. 2022. DisAPERE: A dataset for discourse structure in peer review discussions. In Proceedings of the 2022 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, NAACL 2022, Seattle, WA, United States, July 10-15, 2022, pages 1234-1249. Association for Computational Linguistics.
|
| 318 |
+
Ilia Kuznetsov, Osama Mohammed Afzal, Koen Dercksen, Nils Dycke, Alexander Goldberg, Tom Hope, Dirk Hovy, Jonathan K Kummerfeld, Anne Lauscher, Kevin Leyton-Brown, et al. 2024. What can natural language processing do for peer review? CoRR, abs/2405.06563.
|
| 319 |
+
Weixin Liang, Zachary Izzo, Yaohui Zhang, Haley Lepp, Hancheng Cao, Xuandong Zhao, Lingjiao Chen, Haotian Ye, Sheng Liu, Zhi Huang, Daniel A. McFarland, and James Y. Zou. 2024a. Monitoring ai-modified content at scale: A case study on the impact of chatgpt on AI conference peer reviews. In *Forty-first International Conference on Machine Learning*, ICML 2024, Vienna, Austria, July 21-27, 2024. OpenReview.net.
|
| 320 |
+
Weixin Liang, Yuhui Zhang, Hancheng Cao, Binglu Wang, Daisy Yi Ding, Xinyu Yang, Kailas Vodrahalli, Siyu He, Daniel Scott Smith, Yian Yin, Daniel A. McFarland, and James Zou. 2024b. Can large language models provide useful feedback on research papers? a large-scale empirical analysis. NEJM AI, 1(8):AIoa2400196.
|
| 321 |
+
Bill Yuchen Lin, Abhilasha Ravichander, Ximing Lu, Nouha Dziri, Melanie Sclar, Khyathi Chandu, Chandra Bhagavatula, and Yejin Choi. 2023a. The unlocking spell on base llms: Rethinking alignment via in-context learning. CoRR, abs/2312.01552.
|
| 322 |
+
Jialiang Lin, Jiaxin Song, Zhangping Zhou, Yidong Chen, and Xiaodong Shi. 2023b. Automated scholarly paper review: Concepts, technologies, and challenges. Information Fusion, 98:101830.
|
| 323 |
+
Tsung-Yi Lin, Priya Goyal, Ross B. Girshick, Kaiming He, and Piotr Dólar. 2017. Focal loss for dense object detection. In IEEE International Conference on Computer Vision, ICCV 2017, Venice, Italy, October 22-29, 2017, pages 2999-3007. IEEE Computer Society.
|
| 324 |
+
Ryan Liu and Nihar B. Shah. 2023. Reviewergpt? an exploratory study on using large language models for paper reviewing. CoRR, abs/2306.00622.
|
| 325 |
+
|
| 326 |
+
Yinhan Liu, Myle Ott, Naman Goyal, Jingfei Du, Mandar Joshi, Danqi Chen, Omer Levy, Mike Lewis, Luke Zettlemoyer, and Veselin Stoyanov. 2019. Roberta: A robustly optimized BERT pretraining approach. CoRR, abs/1907.11692.
|
| 327 |
+
Xiao Pu, Mingqi Gao, and Xiaojun Wan. 2023. Summarization is (almost) dead. CoRR, abs/2309.09558.
|
| 328 |
+
Nils Reimers and Iryna Gurevych. 2019. SentenceBERT: Sentence embeddings using Siamese BERTnetworks. In Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP), pages 3982-3992, Hong Kong, China. Association for Computational Linguistics.
|
| 329 |
+
Anna Rogers, Marzena Karpinska, Jordan Boyd-Graber, and Naoaki Okazaki. 2023. Program chairs' report on peer review at acl 2023. In Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages xl-lxxv, Toronto, Canada. Association for Computational Linguistics.
|
| 330 |
+
Robert Schulz, Adrian Barnett, René Bernard, Nicholas JL Brown, Jennifer A Byrne, Peter Eckmann, Małgorzata A Gazda, Halil Kilicoglu, Eric M Prager, Maia Salholz-Hillel, et al. 2022. Is the future of peer review automated? BMC research notes, 15(1):203.
|
| 331 |
+
Nihar B. Shah. 2022. Challenges, experiments, and computational solutions in peer review. Communications of the ACM, 65(6):76-87.
|
| 332 |
+
Ivan Stelmakh, Nihar B. Shah, Aarti Singh, and Hal Daume III. 2021a. A novice-reviewer experiment to address scarcity of qualified reviewers in large conferences. In Thirty-Fifth AAAI Conference on Artificial Intelligence, AAAI 2021, Thirty-Third Conference on Innovative Applications of Artificial Intelligence, IAAI 2021, The Eleventh Symposium on Educational Advances in Artificial Intelligence, EAAI 2021, Virtual Event, February 2-9, 2021, pages 4785-4793. AAAI Press.
|
| 333 |
+
Ivan Stelmakh, Nihar B. Shah, Aarti Singh, and Hal Daumé III. 2021b. Prior and prejudice: The novice reviewers' bias against resubmissions in conference peer review. Proceedings of the ACM on Human-Computer Interaction, 5(CSCW1):75:1-75:17.
|
| 334 |
+
Lu Sun, Aaron Chan, Yun Seo Chang, and Steven P. Dow. 2024a. Reviewflow: Intelligent scaffolding to support academic peer reviewing. In Proceedings of the 29th International Conference on Intelligent User Interfaces, IUI 2024, Greenville, SC, USA, March 18-21, 2024, pages 120-137. ACM.
|
| 335 |
+
Lu Sun, Stone Tao, Junjie Hu, and Steven P. Dow. 2024b. Metawriter: Exploring the potential and perils of AI
|
| 336 |
+
|
| 337 |
+
writing support in scientific peer review. Proceedings of the ACM on Human-Computer Interaction, 8(CSCW1):1-32.
|
| 338 |
+
Jingyan Wang, Ivan Stelmakh, Yuting Wei, and Nihar B. Shah. 2021. Debiasing evaluations that are biased by evaluations. In Thirty-Fifth AAAI Conference on Artificial Intelligence, AAAI 2021, Thirty-Third Conference on Innovative Applications of Artificial Intelligence, IAAI 2021, The Eleventh Symposium on Educational Advances in Artificial Intelligence, EAAI 2021, Virtual Event, February 2-9, 2021, pages 10120-10128. AAAI Press.
|
| 339 |
+
Qingyun Wang, Qi Zeng, Lifu Huang, Kevin Knight, Heng Ji, and Nazneen Fatema Rajani. 2020. Reviewobot: Explanable paper review generation based on knowledge synthesis. In Proceedings of the 13th International Conference on Natural Language Generation, INLG 2020, Dublin, Ireland, December 15-18, 2020, pages 384-397. Association for Computational Linguistics.
|
| 340 |
+
Zhongyi Wang, Haoxuan Zhang, Haihua Chen, Yunhe Feng, and Junhua Ding. 2024. Content-based quality evaluation of scientific papers using coarse feature and knowledge entity network. Journal of King Saud University - Computer and Information Sciences, 36(6):102119.
|
| 341 |
+
Junchao Wu, Shu Yang, Runzhe Zhan, Yulin Yuan, Derek F. Wong, and Lidia S. Chao. 2023. A survey on llm-generated text detection: Necessity, methods, and future directions. CoRR, abs/2310.14724.
|
| 342 |
+
Sungduk Yu, Man Luo, Avinash Madasu, Vasudev Lal, and Phillip Howard. 2024. Is your paper being reviewed by an llm? investigating AI text detectability in peer review. CoRR, abs/2410.03019.
|
| 343 |
+
Weizhe Yuan, Pengfei Liu, and Graham Neubig. 2022. Can we automate scientific reviewing? Journal of Artificial Intelligence Research, 75:171-212.
|
| 344 |
+
Tianyi Zhang, Varsha Kishore, Felix Wu, Kilian Q. Weinberger, and Yoav Artzi. 2020. Bertscore: Evaluating text generation with BERT. In 8th International Conference on Learning Representations, ICLR 2020, Addis Ababa, Ethiopia, April 26-30, 2020. OpenReview.net.
|
| 345 |
+
Lianmin Zheng, Wei-Lin Chiang, Ying Sheng, Siyuan Zhuang, Zhanghao Wu, Yonghao Zhuang, Zi Lin, Zhuohan Li, Dacheng Li, Eric P. Xing, Hao Zhang, Joseph E. Gonzalez, and Ion Stoica. 2023. Judging llm-as-a-judge with mt-bench and chatbot arena. In Advances in Neural Information Processing Systems 36: Annual Conference on Neural Information Processing Systems 2023, NeurIPS 2023, New Orleans, LA, USA, December 10 - 16, 2023.
|
| 346 |
+
|
| 347 |
+
# A Using the proposed aspect set to evaluate this paper
|
| 348 |
+
|
| 349 |
+
We conducted a self-review of this paper using the aspect set proposed in this work. We maintained neutral, and the points listed below serve as examples and they are not exhaustive. This section is not generated by an LLM. For paper-agnostic aspects:
|
| 350 |
+
|
| 351 |
+
- Contribution: this paper derives a comprehensive set of aspects from NLP paper reviews (Section 3); this paper creates a new dataset of NLP paper reviews augmented with aspects (Section 3); this paper evaluates models using this dataset on two tasks (Section 4); this paper shows practical applications of a comprehensive set of aspects (Section 5).
|
| 352 |
+
|
| 353 |
+
# - DDDDEI:
|
| 354 |
+
|
| 355 |
+
- (Definition) this paper provides an operational definition of aspect (Section 3.1);
|
| 356 |
+
- (Description) this paper describes the workflow regarding aspect identification and prediction;
|
| 357 |
+
- (Detail) this paper reports detailed experimental settings and implementation specifics.
|
| 358 |
+
|
| 359 |
+
# - IJMV:
|
| 360 |
+
|
| 361 |
+
- (Motivation) this paper is motivated by the lack of a comprehensive set of aspects in the review guidelines for major NLP venues; the use of an LLM to identify aspects from reviews is motivated by evidence that shows the strong performance of LLMs in aspect identification (Section 2);
|
| 362 |
+
- (Validation) Section 3.4 validate the method used for aspect identification.
|
| 363 |
+
|
| 364 |
+
- Novelty: this paper is the first attempt to derive a comprehensive set of aspects from NLP paper reviews; this paper introduces a new dataset of NLP paper reviews augmented with aspects.
|
| 365 |
+
|
| 366 |
+
# - Presentation:
|
| 367 |
+
|
| 368 |
+
- (Clarity) this paper describes the methods, experiments, and results clearly;
|
| 369 |
+
- (Figure) this paper uses many figures to illustrate their findings.
|
| 370 |
+
|
| 371 |
+
- Related work: this paper reviews the opportunities and challenges of peer review in the era of LLMs, aspects in peer review, the quality of review writing, and LLM-generated review detection (Section 2).
|
| 372 |
+
- Significance: this paper provides a comprehensive set of aspects which benefits peer review in multiple ways, such as contributing to better review guidelines and LLM-generated review detection.
|
| 373 |
+
|
| 374 |
+
Given that our paper is both a resource and NLP application paper, for paper-dependent aspects, please pay special attention to the Data/Task and Methodology aspects (findings in Section 5.1):
|
| 375 |
+
|
| 376 |
+
- Analysis: this paper presents an analysis of the identification results (Section 3.3) and one in terms of track and review similarity (Section 5.1 and 5.2).
|
| 377 |
+
|
| 378 |
+
- Comparison: this paper compares model performance on aspect prediction (Section 4) and compares different methods for LLM-generated review detection (Section 5.3).
|
| 379 |
+
|
| 380 |
+
# Data/Task:
|
| 381 |
+
|
| 382 |
+
- (Data) this paper uses paper reviews from both NLP and ML venues across different years, and this paper creates a new dataset of NLP paper reviews augmented with aspects (Section 3);
|
| 383 |
+
- (Task) this paper proposes two tasks related to aspect (Section 4).
|
| 384 |
+
|
| 385 |
+
- Evaluation: this paper uses a range of metrics, including BERTScore, SentenceBERT, and Jaccard similarity.
|
| 386 |
+
- Experiment: this paper conducts many experiments (Section 3, 4, and 5), and all the experimental settings are reported.
|
| 387 |
+
|
| 388 |
+
# Methodology:
|
| 389 |
+
|
| 390 |
+
- (Method) this paper proposes a workflow for identifying aspects using an LLM;
|
| 391 |
+
- (Model) this paper uses GPT-4o, BoW+RF, and RoBERTa;
|
| 392 |
+
-(Framework) this paper proposes a taxonomy of aspects;
|
| 393 |
+
- (Implementation) all the implementation details are provided.
|
| 394 |
+
|
| 395 |
+
# - Result:
|
| 396 |
+
|
| 397 |
+
- (Findings) this paper finds that LLM-generated reviews are more generic than human-written reviews (Section 5.2);
|
| 398 |
+
- (Performance) this paper shows that models trained using the aspect sets proposed in this work perform better than using previous ones (Section 5.3).
|
| 399 |
+
|
| 400 |
+
# Return to main text.
|
| 401 |
+
|
| 402 |
+
# B More on aspect set construction
|
| 403 |
+
|
| 404 |
+
The EMNLP23 and ICLR data were obtained via the OpenReview API. We used the prompt in Table 7 to identify aspects from the reviews. We did not include our proposed definition of aspect in the prompt, as we assume that GPT-4o can naturally capture the common meaning of the term. Though the concept of aspect is difficult to define precisely, it is widely used in natural language, so the model should be able to capture its meaning. We apply our proposed definition to filter the model outputs later on (see Section 3.2).
|
| 405 |
+
|
| 406 |
+
We set temperature $= 0$ and seed $= 2266$ . We segmented the reviews into sentences, and removed entries that consist of only indices (e.g., "1").
|
| 407 |
+
|
| 408 |
+
Identify the aspect(s) that each of the given sentences focuses on. Format the output in a json dictionary. For example, given a dictionary as follows:
|
| 409 |
+
|
| 410 |
+
{"1": "The methodology is convincing, and the improvement is noticeable.", "2": "A dataset is assembled."}
|
| 411 |
+
|
| 412 |
+
The output should be:
|
| 413 |
+
|
| 414 |
+
{"1": "Methodology, Improvement", "2": "Dataset"}
|
| 415 |
+
|
| 416 |
+
Table 7: The prompt used to identify aspects from the reviews. Return to main text.
|
| 417 |
+
|
| 418 |
+
Our method involves human effort on:
|
| 419 |
+
|
| 420 |
+
- Post-processing LLM annotations: this is a one-time operation that involves both automated and manual steps. The automated part categorizes LLM annotations using high frequency terms and removes low frequency terms by setting a frequency threshold. The manual part focuses on verifying the remaining terms. In our work, this manual verification took one expert approximately 10 hours.
|
| 421 |
+
- Taxonomy construction: we construct a taxonomy based on post-processed annotations. Mapping raw aspects into a taxonomy that reflects domain-relevant evaluation dimensions (such as the one shown in Table 2) involves both domain expertise and expert judgment. In our case, this step took one expert approximately 72 hours.
|
| 422 |
+
|
| 423 |
+
# B.1 More on results
|
| 424 |
+
|
| 425 |
+
Table 8 shows examples from the dataset we created. Each review sentence is accompanied by an LLM annotation, which is mapped to both the COARSE and FINE label sets. Table 9 shows the frequency of aspects of different levels of granularity in the dataset we created.
|
| 426 |
+
|
| 427 |
+
# B.2 More on validity check
|
| 428 |
+
|
| 429 |
+
We experimented with a different prompt, where we replaced the word "aspect" in the prompt shown in Table 7 with a synonym "facet". This prompt is designed to determine whether the LLM truly understands the semantics of the prompt rather than relying on specific word choices. We also tested with temperature=[0,1].
|
| 430 |
+
|
| 431 |
+
Table 10 shows the consistency between annotations generated under different settings. Table 11 and 12 show examples of how pairs of texts and sets correspond to different BERTScore and Jaccard similarities.
|
| 432 |
+
|
| 433 |
+
For the human annotation, we recruited annotators through Prolific. We applied screening conditions to ensure quality: participants are required to hold a graduate or doctorate degree in Computer Science, have English as their first language, and have an approval rate above $90\%$ for previous Prolific submissions. We conducted several pilot studies and selected 3 annotators for the full study. See here for the annotation guidelines.
|
| 434 |
+
|
| 435 |
+
We sampled review sentences to maintain class balance as much as possible (the distribution of aspects in the annotation file is shown in Table 13). We sampled 100 reviews, which corresponds to 1852 sentences. We follow the setup in Fabbri et al. (2021), Yuan et al. (2022), and Liang et al. (2024b), asking the annotators whether each review sentence addresses the aspects identified by GPT-4o. To mitigate automation bias and prevent participants from simply confirming all queries, we required them to provide explanations for their evaluations. Table 14 shows examples of the questionnaire entries we distributed. The total number of entries in the questionnaire is 3032.
|
| 436 |
+
|
| 437 |
+
The "yes" rates, i.e., the agreement between human and LLM annotations, are $85.19\%$ , $90.11\%$ , and $97.56\%$ for the three annotators (with $100\%$ indicating complete agreement with all LLM annotations). The Fleiss' Kappas (Fleiss, 1971), shown in Figure 3, indicate substantial inter-annotator agreement for the first 400 entries in the questionnaire,
|
| 438 |
+
|
| 439 |
+
<table><tr><td>review sentence</td><td>LLM annotation</td><td>COARSE</td><td>FINE</td></tr><tr><td>The proposed method demonstrates commendable innovation, standing apart from mere amalgamation of existing models.</td><td>Innovation, Method</td><td>Methodology, Novelty</td><td>Method, Novelty</td></tr><tr><td>The novel approach showcases tangible efficacy without introducing additional parameters.</td><td>Efficacy, Novel Approach, Parameters</td><td>Methodology, Novelty</td><td>Approach, Novelty, Parameter</td></tr><tr><td>1.The absence of a computational complexity analysis, coupled with marginal and non-significant experimental performance improvements, raises concerns regarding the practical significance.</td><td>Computational Complexity, Experimental Performance, Practical Significance</td><td>Experiment, Methodology, Result, Significance</td><td>Complexity, Experiment, Performance, Significance</td></tr><tr><td>If the proposed model introduces high computational complexity and yields only marginal gains, its real-world utility may be limited.</td><td>Computational Complexity, Real-world Utility, Marginal Gains</td><td>Methodology</td><td>Complexity</td></tr><tr><td>2.The paper lacks comparative analysis with some important baselines, such as P-tuning v2.</td><td>Comparative Analysis, Baslines</td><td>Analysis, Comparison</td><td>Analysis, Baseline</td></tr><tr><td>Additionally, the theoretical substantiation for the proposed method is insufficiently detailed.</td><td>Theoretical Substantiation, Method</td><td>Methodology, Theory</td><td>Method, Theory</td></tr><tr><td>The exclusive use of a single language model, T5-base, as the backbone prompts doubts about the general applicability of the proposed approach across a broader spectrum of models.</td><td>Language Model, General Applicability</td><td>Methodology</td><td>Application, Model</td></tr><tr><td>Furthermore, the paper lacks visual or interpretable analyses that incorporate concrete natural language statements.</td><td>Visual Analysis, Interpretability, Natural Language Statements</td><td>Analysis, DDDDEI</td><td>Analysis, Interpretation</td></tr><tr><td>Considering these points, I respectfully recommend that the authors thoroughly address these shortcomings to enhance the paper's overall quality and potential for contribution before reconsidering it for acceptance.</td><td>Recommendations, Paper Quality, Contribution</td><td>Contribution</td><td>Contribution</td></tr></table>
|
| 440 |
+
|
| 441 |
+
Table 8: Examples from the dataset we created. Each of the review sentence is augmented with aspects. See here for the complete dataset. Return to main text. Return to appendix.
|
| 442 |
+
|
| 443 |
+
but it declined as the annotation progressed, suggesting that annotation quality may not have been consistent throughout. It is important to note that there should not be a significant difference in difficulty between the first 400 entries and the remaining ones, as all entries were randomly sampled.
|
| 444 |
+
|
| 445 |
+

|
| 446 |
+
Figure 3: The Fleiss' Kappas for the annotations across different ranges. For example, "600" on the x-axis indicates that the first 600 annotations have a Fleiss' Kappa of 0.4739. The overall Fleiss' Kappa is 0.1944. Return to main text.
|
| 447 |
+
|
| 448 |
+
Table 15 shows the agreement between human and LLM annotations across different aspects. Agreement exceeds 0.9 for most aspects, with the highest agreement observed for Contribution and Ablation, while that for Significance and Presentation is the weakest.
|
| 449 |
+
|
| 450 |
+
<table><tr><td>COARSE</td><td>FINE</td><td>LLM annotation</td></tr><tr><td>Methodology (34.47%)</td><td>Model (26.29%), Method (19.38%), Training (11.77%), Approach (4.62%), Parameter (4.50%)</td><td>Methodology (7.03%), Method (5.00%), Model (2.63%), Training (2.60%), Generalizability/Generalization (2.12%)</td></tr><tr><td>Result (12.47%)</td><td>Result (36.12%), Performance (35.49%), Improvement (14.92%), Accuracy (4.85%), Robustness (2.75%)</td><td>Performance (23.20%), Results (20.06%), Improvement (9.32%), Experimental Results (4.59%), Accuracy (3.17%)</td></tr><tr><td>Data/Task (9.98%)</td><td>Data (53.89%), Task (38.26%), Benchmark (4.75%), Annotation (3.10%)</td><td>Dataset (11.64%), Datasets (9.08%), Tasks (6.14%), Task (2.83%), Data (2.07%)</td></tr><tr><td>Presentation (9.68%)</td><td>Clarity (37.40%), Presentation (19.24%), Figure (14.41%), Table (11.67%), Tipo (6.11%)</td><td>Clarification/Clarity (30.37%), Writing Quality (12.12%), Presentation (5.09%), Figure/Visualization (4.00%), Readability (3.92%)</td></tr><tr><td>Comparison (6.00%)</td><td>Comparison (74.97%), Baseline (25.03%)</td><td>Comparability/Comparison (59.54%), Baselines (12.74%), Baseline (9.72%), Comparisons (5.02%), Model Comparison (1.44%)</td></tr><tr><td>Experiment (5.33%)</td><td>Experiment (100.00%)</td><td>Experiments (50.99%), Experimental Results (10.72%), Experiment (9.38%), Experimental Setup (1.83%), Experimentation (1.69%)</td></tr><tr><td>DDDDEI (4.57%)</td><td>Explanation (29.61%), Discussion (23.36%), Definition (14.23%), Description (13.57%), Detail (11.76%)</td><td>Explainability/Explanation (24.18%), Discussion (16.61%), Description (6.00%), Definition (5.76%), Interpretability/Interpretation (5.26%)</td></tr><tr><td>Related Work (3.93%)</td><td>Related Work (100.00%)</td><td>Reference (20.67%), Related Work (17.99%), References (13.59%), Previous Work (8.23%), Citation (6.70%)</td></tr><tr><td>Evaluation (3.80%)</td><td>Evaluation (73.90%), Metric (26.10%)</td><td>Evaluation (47.33%), Metrics (8.32%), Metric (5.05%), Human Evaluation (3.96%), Empirical Evaluation (2.97%)</td></tr><tr><td>IJMV (2.07%)</td><td>Motivation (53.27%), Justification (17.82%), Validation (15.09%), Intuition (13.82%)</td><td>Motivation (48.91%), Justification (13.45%), Intuition (12.91%), Validity/Validation (9.09%), Motivations (1.82%)</td></tr><tr><td>Analysis (1.99%)</td><td>Analysis (100.00%)</td><td>Analysis/Analytics (61.32%), Theoretical Analysis (4.15%), Error Analysis (3.96%), Qualitative Analysis (2.64%), Empirical Analysis (1.70%)</td></tr><tr><td>Novelty (1.74%)</td><td>Novelty (100.00%)</td><td>Novelty (76.67%), Innovation/Novelty/Originality (8.64%), Technical Novelty (3.67%), Novel Approach (3.02%), Technical novelty (0.86%)</td></tr><tr><td>Contribution (1.49%)</td><td>Contribution (100.00%)</td><td>Contribution (50.51%), Contributions (19.44%), Technical Contribution (4.55%), Main Contribution (3.79%), Core Contribution (1.77%)</td></tr><tr><td>Significance (1.00%)</td><td>Significance (37.45%), Importance (32.21%), Impact (30.34%)</td><td>Significance (35.96%), Importance (25.84%), Impact (20.60%), Problem Importance (3.37%), Performance Impact (2.25%)</td></tr><tr><td>Ablation (0.91%)</td><td>Ablation (100.00%)</td><td>Ablation Study (36.36%), Ablation Studies (23.97%), Ab-lations (12.81%), Ablation (7.44%), Ablation Experiments (4.55%)</td></tr><tr><td>Theory (0.55%)</td><td>Theory (100.00%)</td><td>Theory (18.37%), Theoretical Analysis (14.97%), Theoretical Results (6.12%), Theorem (5.44%), Theoretical results (3.40%)</td></tr></table>
|
| 451 |
+
|
| 452 |
+
Table 9: The aspects of different levels of granularity and their frequency in the dataset we created. We show the 5 most frequent aspects at each level. For example, Methodology appears in $35.30\%$ of the review sentences, and the 5 most frequent FINE labels associated with Methodology are Model, Method, Training, Approach, and Parameter. Among all review sentences containing Methodology, the FINE label Model appears in $24.92\%$ of the cases, and the LLM annotation Methodology appears in $6.54\%$ of the cases. Return to main text. Return to appendix.
|
| 453 |
+
|
| 454 |
+
<table><tr><td>aspect</td><td>metric</td><td>p=p0</td><td>t=θ</td></tr><tr><td rowspan="2">raw</td><td>exact match</td><td>20.34%</td><td>15.31%</td></tr><tr><td>BERTScore ≥ 0.9</td><td>67.14%</td><td>45.50%</td></tr><tr><td rowspan="2">COARSE</td><td>exact match</td><td>60.40%</td><td>53.43%</td></tr><tr><td>Jaccard similarity</td><td>0.7112</td><td>0.6528</td></tr></table>
|
| 455 |
+
|
| 456 |
+
Table 10: The consistency scores between GPT-4o annotations obtained using different temperature (p=p0, where p0 refers to the prompt in Table 7), and those obtained using different prompts (t=0, where t refers to temperature). We calculated consistency scores using both the raw annotations and those mapped to the COARSE label set. Return to main text. Return to appendix.
|
| 457 |
+
|
| 458 |
+
<table><tr><td>BERTScore</td><td>annotation 1</td><td>annotation 2</td></tr><tr><td>≥ 0.90</td><td>Technique, Analysis, Task Writing Quality, ClarityExplanation, Settings, ObscurityAnalysis, Tasks, Experiments, FindingsExperiment Setup, Text Classification</td><td>Technique, Analysis, Task Suitability, ImprovementWriting ClarityExplanation, Experimental details, ClarityAnalysis, Experiments, RobustnessExperiment Setup, Recency</td></tr><tr><td>< 0.90</td><td>Lack of definition, ContextClarity, MethodologyModel SpecificationGeneralization Performance, FrameModel Architecture</td><td>Definition, PaperExplanationModel, Structure, ClarityExperiment Hypothesis, GeneralizationEncoder, Decoder, Tensor Product Representation</td></tr></table>
|
| 459 |
+
|
| 460 |
+
Table 11: How BERTScores for different pairs look like. Return to main text. Return to appendix.
|
| 461 |
+
|
| 462 |
+
<table><tr><td>Jaccard similarity</td><td>set 1</td><td>set 2</td></tr><tr><td>0.9091</td><td>{1,2,3,4,5,6,7,8,9,10}</td><td>{1,2,3,4,5,6,7,8,9,10,11}</td></tr><tr><td>0.9000</td><td>{1,2,3,4,5,6,7,8,9,10}</td><td>{1,2,3,4,5,6,7,8,9}</td></tr><tr><td>0.8182</td><td>{1,2,3,4,5,6,7,8,9,10}</td><td>{1,2,3,4,5,6,7,8,9,11}</td></tr><tr><td>0.8000</td><td>{1,2,3,4,5,6,7,8,9,10}</td><td>{1,2,3,4,5,6,7,8}</td></tr><tr><td>0.7500</td><td>{1,2,3,4,5,6,7,8,9,10}</td><td>{1,2,3,4,5,6,7,8,9,11,12}</td></tr><tr><td>0.6667</td><td>{1,2,3,4,5,6,7,8,9,10}</td><td>{1,2,3,4,5,6,7,8,11,12}</td></tr><tr><td>0.5833</td><td>{1,2,3,4,5,6,7,8,9,10}</td><td>{1,2,3,4,5,6,7,11,12}</td></tr><tr><td>0.5385</td><td>{1,2,3,4,5,6,7,8,9,10}</td><td>{1,2,3,4,5,6,7,11,12,13}</td></tr><tr><td>0.4615</td><td>{1,2,3,4,5,6,7,8,9,10}</td><td>{1,2,3,4,5,6,11,12,13}</td></tr><tr><td>0.4286</td><td>{1,2,3,4,5,6,7,8,9,10}</td><td>{1,2,3,4,5,6,11,12,13,14}</td></tr><tr><td>0.3571</td><td>{1,2,3,4,5,6,7,8,9,10}</td><td>{1,2,3,4,5,11,12,13,14}</td></tr></table>
|
| 463 |
+
|
| 464 |
+
Table 12: How Jaccard similarity for different pairs look like. Return to main text. Return to appendix.
|
| 465 |
+
|
| 466 |
+
<table><tr><td>Method.</td><td>Result</td><td>Data/Task</td><td>Presentation</td><td>Comparison</td><td>DDDDEI</td><td>Experiment</td><td>Related Work</td></tr><tr><td>846</td><td>393</td><td>304</td><td>270</td><td>186</td><td>171</td><td>155</td><td>113</td></tr><tr><td>Analysis</td><td>Evaluation</td><td>IJMV</td><td>Novelty</td><td>Contribution</td><td>Theory</td><td>Ablation</td><td>Significance</td></tr><tr><td>100</td><td>85</td><td>77</td><td>72</td><td>71</td><td>65</td><td>63</td><td>61</td></tr></table>
|
| 467 |
+
|
| 468 |
+
Table 13: The distribution of aspects in the questionnaire we distributed. Return to appendix.
|
| 469 |
+
|
| 470 |
+
<table><tr><td>review</td><td>question</td><td>yes</td><td>no</td><td>explanation</td></tr><tr><td>I am also somewhat confused by the second set of experiments.</td><td>Does the review address Experiment?</td><td>□</td><td>□</td><td></td></tr><tr><td>Proposes a novel approach by combining ideas from active learning and human-AI collaboration.</td><td>Does the review address Methodology?</td><td>□</td><td>□</td><td></td></tr><tr><td>Proposes a novel approach by combining ideas from active learning and human-AI collaboration.</td><td>Does the review address Novelty?</td><td>□</td><td>□</td><td></td></tr></table>
|
| 471 |
+
|
| 472 |
+
Table 14: Examples of the entries in the questionnaire we distributed. Note that a single review sentence appears multiple times in the questionnaire if it covers multiple aspects. Return to main text. Return to appendix.
|
| 473 |
+
|
| 474 |
+
<table><tr><td>Contribution</td><td>Ablation</td><td>Evaluation</td><td>Novelty</td><td>IJMV</td><td>Analysis</td><td>Comparison</td><td>DDDDEI</td></tr><tr><td>0.9953</td><td>0.9947</td><td>0.9843</td><td>0.9769</td><td>0.9740</td><td>0.9733</td><td>0.9695</td><td>0.9688</td></tr><tr><td>Theory</td><td>Experiment</td><td>Related Work</td><td>Data/Task</td><td>Methodology</td><td>Result</td><td>Significance</td><td>Presentation</td></tr><tr><td>0.9641</td><td>0.9505</td><td>0.9204</td><td>0.9145</td><td>0.8928</td><td>0.8617</td><td>0.8361</td><td>0.8225</td></tr></table>
|
| 475 |
+
|
| 476 |
+
Table 15: The agreement between human and LLM annotations across different aspects. Return to appendix.
|
| 477 |
+
|
| 478 |
+
# C More on aspect prediction
|
| 479 |
+
|
| 480 |
+
The dataset is split into $90\%$ for training and $10\%$ for testing. We implemented bag-of-words models with random forest (BoW+RF) using scikit-learn. We used RandomForestClassifier, and we set n_estimators=100. For the RoBERTa models, we set batch_size=16 and learning_rate=3e-5. The models were trained for 10 epochs. For GPT40 experiments, we set temperature=0. We set seed=2266 for all the experiments.
|
| 481 |
+
|
| 482 |
+
The equation for focal loss is given in 3, and we experimented with $\alpha = [0.1, 0.2, 0.3]$ and $\gamma = [1.5, 2.0, 2.5]$ .
|
| 483 |
+
|
| 484 |
+
$$
|
| 485 |
+
\mathcal {L} _ {\text {f o c a l}} (p) = - \alpha_ {t} (1 - p) ^ {\gamma} \log (p). \tag {3}
|
| 486 |
+
$$
|
| 487 |
+
|
| 488 |
+
Table 16 shows the few-shot prompt. We selected exemplars from the training set.
|
| 489 |
+
|
| 490 |
+
Identify the aspect(s) that the given sentence focuses on. Aspects: $COARSE/FINE ASPECTS$. If a sentence focuses on none of these aspects, mark it as “-”. Format the output in a json dictionary: {"Aspects": [...]} . Here are some examples:
|
| 491 |
+
|
| 492 |
+
# $EXAMPLES$
|
| 493 |
+
|
| 494 |
+
Table 16: The few-shot prompt used to predict aspects. Return to main text.
|
| 495 |
+
|
| 496 |
+
Table 17, 18, 19, and 20 show additional results of PAP and RAP. Table 21 shows a classification report of an RAP model.
|
| 497 |
+
|
| 498 |
+
<table><tr><td>model</td><td>precision</td><td>recall</td><td>f1</td><td>Jaccard</td></tr><tr><td>BoW+RF</td><td>0.5254</td><td>0.6179</td><td>0.5435</td><td>0.4928</td></tr><tr><td>RoBERTa</td><td>0.5187</td><td>0.6644</td><td>0.5764</td><td>0.5378</td></tr><tr><td>GPT-4o</td><td>0.6980</td><td>0.3892</td><td>0.4455</td><td>0.3319</td></tr></table>
|
| 499 |
+
|
| 500 |
+
(a) abstract
|
| 501 |
+
|
| 502 |
+
<table><tr><td>model</td><td>precision</td><td>recall</td><td>f1</td><td>Jaccard</td></tr><tr><td>BoW+RF</td><td>0.5483</td><td>0.6203</td><td>0.5481</td><td>0.4957</td></tr><tr><td>RoBERTa</td><td>0.5240</td><td>0.6599</td><td>0.5781</td><td>0.5327</td></tr><tr><td>GPT-4o</td><td>0.7324</td><td>0.6840</td><td>0.6561</td><td>0.5246</td></tr></table>
|
| 503 |
+
|
| 504 |
+
Table 17: The highest precision, recall, F1 score, and Jaccard similarity of predictions made by models trained on PAP using the FINE label set. For GPT-4o, the evaluation of using the abstract as input is in the zero-shot setting, and that of using the title in the few-shot setting. Return to main text.
|
| 505 |
+
|
| 506 |
+
(b) title
|
| 507 |
+
|
| 508 |
+
<table><tr><td>model</td><td>precision</td><td>recall</td><td>f1</td><td>Jaccard</td></tr><tr><td>BoW+RF</td><td>0.8694</td><td>0.9430</td><td>0.8909</td><td>0.7952</td></tr><tr><td>GPT-4o</td><td>0.8580</td><td>0.7215</td><td>0.7452</td><td>0.6813</td></tr></table>
|
| 509 |
+
|
| 510 |
+
(a) full paper
|
| 511 |
+
|
| 512 |
+
<table><tr><td>model</td><td>precision</td><td>recall</td><td>f1</td><td>Jaccard</td></tr><tr><td>BoW+RF</td><td>0.8139</td><td>0.9177</td><td>0.8527</td><td>0.7725</td></tr><tr><td>RoBERTa</td><td>0.8658</td><td>0.9586</td><td>0.9048</td><td>0.8339</td></tr><tr><td>GPT-4o</td><td>0.8700</td><td>0.5633</td><td>0.6392</td><td>0.5589</td></tr></table>
|
| 513 |
+
|
| 514 |
+
(b) abstract
|
| 515 |
+
|
| 516 |
+
<table><tr><td>model</td><td>precision</td><td>recall</td><td>f1</td><td>Jaccard</td></tr><tr><td>BoW+RF</td><td>0.8308</td><td>0.9114</td><td>0.8575</td><td>0.7625</td></tr><tr><td>RoBERTa</td><td>0.8944</td><td>0.9290</td><td>0.8864</td><td>0.8381</td></tr><tr><td>GPT-4o</td><td>0.8835</td><td>0.9684</td><td>0.9200</td><td>0.8471</td></tr></table>
|
| 517 |
+
|
| 518 |
+
(c) keywords
|
| 519 |
+
|
| 520 |
+
<table><tr><td>model</td><td>precision</td><td>recall</td><td>f1</td><td>Jaccard</td></tr><tr><td>BoW+RF</td><td>0.8139</td><td>0.9177</td><td>0.8528</td><td>0.7640</td></tr><tr><td>RoBERTa</td><td>0.8654</td><td>0.9645</td><td>0.9048</td><td>0.8266</td></tr><tr><td>GPT-4o</td><td>0.8913</td><td>0.9494</td><td>0.9171</td><td>0.8448</td></tr></table>
|
| 521 |
+
|
| 522 |
+
Table 18: The highest precision, recall, F1 score, and Jaccard similarity of predictions made by models trained on PAP using the COARSE label set. For GPT-4o, the evaluation of using the full paper or abstract as input is in the zero-shot setting, and the rest is in the few-shot setting. Return to main text.
|
| 523 |
+
|
| 524 |
+
(d) title
|
| 525 |
+
|
| 526 |
+
<table><tr><td>model</td><td>precision</td><td>recall</td><td>f1</td><td>Jaccard</td></tr><tr><td>BoW+RF</td><td>0.7392</td><td>0.3817</td><td>0.4689</td><td>0.3447</td></tr><tr><td>RoBERTa</td><td>0.7413</td><td>0.7146</td><td>0.7196</td><td>0.6402</td></tr><tr><td>GPT-4o</td><td>0.6426</td><td>0.7092</td><td>0.6309</td><td>0.5217</td></tr></table>
|
| 527 |
+
|
| 528 |
+
Table 19: The highest precision, recall, F1 score, and Jaccard similarity of model predictions on RAP using the FINE label set. For GPT-4o, the evaluation is in the few-shot setting. Return to main text.
|
| 529 |
+
|
| 530 |
+
<table><tr><td>label set</td><td>precision</td><td>recall</td><td>f1</td><td>Jaccard</td></tr><tr><td>COARSE</td><td>0.5526</td><td>0.5646</td><td>0.5145</td><td>0.4341</td></tr><tr><td>FINE</td><td>0.6174</td><td>0.6939</td><td>0.6073</td><td>0.5041</td></tr></table>
|
| 531 |
+
|
| 532 |
+
Table 20: The highest precision, recall, F1 score, and Jaccard similarity of model predictions on RAP using GPT-4o in the zero-shot setting. Return to main text.
|
| 533 |
+
|
| 534 |
+
<table><tr><td>category</td><td>precision</td><td>recall</td><td>f1</td><td>support</td></tr><tr><td>Ablation</td><td>0.85</td><td>0.92</td><td>0.88</td><td>12</td></tr><tr><td>Analysis</td><td>0.83</td><td>0.77</td><td>0.80</td><td>39</td></tr><tr><td>Comparison</td><td>0.81</td><td>0.74</td><td>0.77</td><td>125</td></tr><tr><td>Contribution</td><td>0.79</td><td>0.87</td><td>0.83</td><td>31</td></tr><tr><td>Data/Task</td><td>0.75</td><td>0.85</td><td>0.79</td><td>212</td></tr><tr><td>DDDDEI</td><td>0.71</td><td>0.71</td><td>0.71</td><td>168</td></tr><tr><td>Evaluation</td><td>0.87</td><td>0.75</td><td>0.81</td><td>114</td></tr><tr><td>Experiment</td><td>0.93</td><td>0.82</td><td>0.87</td><td>99</td></tr><tr><td>IJMV</td><td>0.73</td><td>0.76</td><td>0.74</td><td>46</td></tr><tr><td>Methodology</td><td>0.80</td><td>0.83</td><td>0.81</td><td>602</td></tr><tr><td>Novelty</td><td>0.81</td><td>0.79</td><td>0.80</td><td>28</td></tr><tr><td>Presentation</td><td>0.75</td><td>0.70</td><td>0.73</td><td>279</td></tr><tr><td>Related Work</td><td>0.79</td><td>0.70</td><td>0.74</td><td>150</td></tr><tr><td>Result</td><td>0.82</td><td>0.84</td><td>0.83</td><td>266</td></tr><tr><td>Significance</td><td>0.79</td><td>0.41</td><td>0.54</td><td>27</td></tr><tr><td>Theory</td><td>0.00</td><td>0.00</td><td>0.00</td><td>0</td></tr><tr><td>None</td><td>0.66</td><td>0.69</td><td>0.67</td><td>401</td></tr><tr><td>AVERAGE (w.)</td><td>0.77</td><td>0.77</td><td>0.77</td><td>-</td></tr></table>
|
| 535 |
+
|
| 536 |
+
Table 21: The classification report of the predictions made by the best performing model on RAP (in terms of F1 score). Weighted average scores (AVERAGE (w.)) are reported. This model was trained using the COARSE label set. Return to main text. Return to appendix.
|
| 537 |
+
|
| 538 |
+
# D More on practical applications
|
| 539 |
+
|
| 540 |
+
# D.1 More on aspect analysis
|
| 541 |
+
|
| 542 |
+
Figure 4 shows the Levenshtein similarity of the set of the 10 most frequent aspects in the submission tracks in EMNLP23. It shows that the 1th to 18th tracks are more similar to each other. The 1th to 18th tracks are: (1) Question Answering, (2) Information Retrieval and Text Mining, (3) Phonology, Morphology, and Word Segmentation, (4) Human-Centered NLP, (5) Machine Learning for NLP, (6) Natural Language Generation, (7) Discourse and Pragmatics, (8) Speech and Multimodality, (9) Summarization, (10) Computational Social Science and Cultural Analytics, (11) Interpretability, Interactivity, and Analysis of Models for NLP, (12) NLP Applications, (13) Linguistic Theories, Cognitive Modeling, and Psycholinguistics, (14) Dialogue and Interactive Systems, (15) Resources and Evaluation, (16) Information Extraction, (17) Language Modeling and Analysis of Language Models, (18) Language Grounding to Vision, Robotics and Beyond.
|
| 543 |
+
|
| 544 |
+
The 19th to 27th tracks are not so similar to most of the other tracks. The 19th to 27th tracks are: (19) Sentiment Analysis, Stylistic Analysis, and Argument Mining, (20) Syntax, Parsing and their Applications, (21) Commonsense Reasoning, (22) Multilinguality and Linguistic Diversity, (23) Machine Translation, (24) Ethics in NLP, (25) Efficient Methods for NLP, (26) Semantics: Lexical, Sentence level, Document Level, Textual Inference, etc., (27) Theme Track: Large Language Models and the Future of NLP.
|
| 545 |
+
|
| 546 |
+

|
| 547 |
+
Figure 4: The Levenshtein similarity of the 10 most frequent aspects within each submission track in EMNLP23. Return to main text.
|
| 548 |
+
|
| 549 |
+
Figure 5 shows the 5 most frequent aspects in each of the submission tracks in EMNLP23.
|
| 550 |
+
|
| 551 |
+
Table 22 shows the frequency of Analysis and DDDDEI across all the submission tracks in EMNLP23.
|
| 552 |
+
|
| 553 |
+
# D.2 More on review comparison
|
| 554 |
+
|
| 555 |
+
Table 23 shows the prompts used to generate reviews used in Section 5.2.
|
| 556 |
+
|
| 557 |
+
Figure 6 shows more results regrading the comparison of human-written and LLM-generated reviews.
|
| 558 |
+
|
| 559 |
+
# D.3 More on LLM-generated review detection
|
| 560 |
+
|
| 561 |
+
We used PyPDF2 to convert PDFs to text files, and we only generate reviews for the main text (cut contents after reference). We used GPT-4o, set temperature $= 0$ , seed $= 2266$ , and max_tokens $= 2048$ .
|
| 562 |
+
|
| 563 |
+
Table 24 shows the zero-shot performance of GPT-4o on LLM-generated review detection.
|
| 564 |
+
|
| 565 |
+

|
| 566 |
+
|
| 567 |
+

|
| 568 |
+
|
| 569 |
+

|
| 570 |
+
|
| 571 |
+

|
| 572 |
+
|
| 573 |
+

|
| 574 |
+
|
| 575 |
+

|
| 576 |
+
|
| 577 |
+

|
| 578 |
+
|
| 579 |
+

|
| 580 |
+
|
| 581 |
+

|
| 582 |
+
|
| 583 |
+

|
| 584 |
+
|
| 585 |
+

|
| 586 |
+
|
| 587 |
+

|
| 588 |
+
|
| 589 |
+

|
| 590 |
+
|
| 591 |
+

|
| 592 |
+
|
| 593 |
+

|
| 594 |
+
|
| 595 |
+

|
| 596 |
+
|
| 597 |
+

|
| 598 |
+
|
| 599 |
+

|
| 600 |
+
|
| 601 |
+

|
| 602 |
+
|
| 603 |
+

|
| 604 |
+
|
| 605 |
+

|
| 606 |
+
|
| 607 |
+

|
| 608 |
+
|
| 609 |
+

|
| 610 |
+
|
| 611 |
+

|
| 612 |
+
|
| 613 |
+

|
| 614 |
+
|
| 615 |
+

|
| 616 |
+
Figure 5: The 5 most frequent aspects in each of the submission tracks in EMNLP23. Return to main text. Return to appendix.
|
| 617 |
+
|
| 618 |
+

|
| 619 |
+
|
| 620 |
+
<table><tr><td>track</td><td>review (%)</td></tr><tr><td>Computational Social Science and Cultural Analytics</td><td>69.23</td></tr><tr><td>Linguistic Theories, Cognitive Modeling, and Psycholinguistics</td><td>68.75</td></tr><tr><td>Commonsense Reasoning</td><td>62.62</td></tr><tr><td>Multilinguality and Linguistic Diversity</td><td>60.68</td></tr><tr><td>Machine Learning for NLP</td><td>60.00</td></tr><tr><td>Machine Translation</td><td>57.38</td></tr><tr><td>Discourse and Pragmatics</td><td>56.86</td></tr><tr><td>Phonology, Morphology, and Word Segmentation</td><td>56.67</td></tr><tr><td>Interpretability, Interactivity, and Analysis of Models for NLP</td><td>56.37</td></tr><tr><td>Sentiment Analysis, Stylistic Analysis, and Argument Mining</td><td>55.66</td></tr><tr><td>Theme Track: Large Language Models and the Future of NLP</td><td>55.56</td></tr><tr><td>Information Retrieval and Text Mining</td><td>55.50</td></tr><tr><td>NLP Applications</td><td>54.48</td></tr><tr><td>Summarization</td><td>54.44</td></tr><tr><td>Resources and Evaluation</td><td>54.35</td></tr><tr><td>Efficient Methods for NLP</td><td>53.07</td></tr><tr><td>Information Extraction</td><td>53.06</td></tr><tr><td>Syntax, Parsing and their Applications</td><td>52.94</td></tr><tr><td>Language Modeling and Analysis of Language Models</td><td>51.85</td></tr><tr><td>Dialogue and Interactive Systems</td><td>51.23</td></tr><tr><td>Speech and Multimodality</td><td>51.01</td></tr><tr><td>Ethics in NLP</td><td>50.96</td></tr><tr><td>Semantics: Lexical, Sentence level, Document Level, Textual Inference, etc.</td><td>48.15</td></tr><tr><td>Language Grounding to Vision, Robotics and Beyond</td><td>47.91</td></tr><tr><td>Human-Centered NLP</td><td>47.78</td></tr><tr><td>Question Answering</td><td>45.58</td></tr><tr><td>Natural Language Generation</td><td>42.34</td></tr></table>
|
| 621 |
+
|
| 622 |
+
(a) Analysis
|
| 623 |
+
|
| 624 |
+
<table><tr><td>track</td><td>review (%)</td></tr><tr><td>Ethics in NLP</td><td>65.38</td></tr><tr><td>Linguistic Theories, Cognitive Modeling, and Psycholinguistics</td><td>60.42</td></tr><tr><td>Interpretability, Interactivity, and Analysis of Models for NLP</td><td>59.46</td></tr><tr><td>NLP Applications</td><td>57.17</td></tr><tr><td>Information Extraction</td><td>56.85</td></tr><tr><td>Resources and Evaluation</td><td>56.09</td></tr><tr><td>Semantics: Lexical, Sentence level, Document Level, Textual Inference, etc.</td><td>56.02</td></tr><tr><td>Human-Centered NLP</td><td>54.44</td></tr><tr><td>Machine Learning for NLP</td><td>53.56</td></tr><tr><td>Information Retrieval and Text Mining</td><td>53.5</td></tr><tr><td>Speech and Multimodality</td><td>52.02</td></tr><tr><td>Sentiment Analysis, Stylistic Analysis, and Argument Mining</td><td>51.89</td></tr><tr><td>Language Modeling and Analysis of Language Models</td><td>51.85</td></tr><tr><td>Language Grounding to Vision, Robotics and Beyond</td><td>50.95</td></tr><tr><td>Natural Language Generation</td><td>50.90</td></tr><tr><td>Computational Social Science and Cultural Analytics</td><td>50.30</td></tr><tr><td>Theme Track: Large Language Models and the Future of NLP</td><td>49.90</td></tr><tr><td>Summarization</td><td>49.44</td></tr><tr><td>Multilinguality and Linguistic Diversity</td><td>49.03</td></tr><tr><td>Dialogue and Interactive Systems</td><td>48.77</td></tr><tr><td>Discourse and Pragmatics</td><td>47.06</td></tr><tr><td>Efficient Methods for NLP</td><td>46.93</td></tr><tr><td>Question Answering</td><td>45.94</td></tr><tr><td>Commonsense Reasoning</td><td>42.99</td></tr><tr><td>Machine Translation</td><td>39.34</td></tr><tr><td>Syntax, Parsing and their Applications</td><td>39.22</td></tr><tr><td>Phonology, Morphology, and Word Segmentation</td><td>33.33</td></tr></table>
|
| 625 |
+
|
| 626 |
+
(b) DDDDEI
|
| 627 |
+
|
| 628 |
+
Table 22: The frequencies of Analysis and DDDDEI across all the submission tracks in EMNLP23. Return to main text. Return to appendix.
|
| 629 |
+
|
| 630 |
+
# Du et al. (2024)
|
| 631 |
+
|
| 632 |
+
As an esteemed reviewer with expertise in the field of Natural Language Processing (NLP), you are asked to write a review for a scientific paper submitted for publication. Please follow the reviewer guidelines provided below to ensure a comprehensive and fair assessment:
|
| 633 |
+
|
| 634 |
+
Reviewer Guidelines: {review-guidelines}
|
| 635 |
+
|
| 636 |
+
In your review, you must cover the following aspects, adhering to the outlined guidelines:
|
| 637 |
+
|
| 638 |
+
Summary of the Paper: Provide a concise summary of the paper, highlighting its main objectives, methodology, results, and conclusions.
|
| 639 |
+
|
| 640 |
+
Strengths and Weaknesses: Critically analyze the strengths and weaknesses of the paper. Consider the significance of the research question, the robustness of the methodology, and the relevance of the findings.
|
| 641 |
+
|
| 642 |
+
Clarity, Quality, Novelty, and Reproducibility: Evaluate the paper on its clarity of expression, overall quality of research, novelty of the contributions, and the potential for reproducibility by other researchers.
|
| 643 |
+
|
| 644 |
+
Summary of the Review: Offer a brief summary of your evaluation, encapsulating your overall impression of the paper.
|
| 645 |
+
|
| 646 |
+
Correctness: Assess the correctness of the paper's claims; you are only allowed to choose from the following options: {Explanation on different correctness scores}
|
| 647 |
+
|
| 648 |
+
Technical Novelty and Significance: Rate the technical novelty and significance of the paper's contributions; you are only allowed to choose from the following options: {Explanation on different Technical Novelty and Significance scores}
|
| 649 |
+
|
| 650 |
+
Empirical Novelty and Significance: Evaluate the empirical contributions; you are only allowed to choose from the following options: {Explanation on different Empirical Novelty and Significance scores}
|
| 651 |
+
|
| 652 |
+
Flag for Ethics Review: Indicate whether the paper should undergo an ethics review [YES or NO].
|
| 653 |
+
|
| 654 |
+
Recommendation: Provide your recommendation for the paper; you are only allowed to choose from the following options: {Explanation on different recommendation scores}
|
| 655 |
+
|
| 656 |
+
Confidence: Rate your confidence level in your assessment; you are only allowed to choose from the following options: {Explanation on different confidence scores}
|
| 657 |
+
|
| 658 |
+
To assist in crafting your review, here are two examples from reviews of different papers:
|
| 659 |
+
|
| 660 |
+
## Review Example 1: {review_example_1}
|
| 661 |
+
|
| 662 |
+
## Review Example 2: {review_example_2}
|
| 663 |
+
|
| 664 |
+
Follow the instruction above, write a review for the paper below:
|
| 665 |
+
|
| 666 |
+
# Liang et al. (2024b)
|
| 667 |
+
|
| 668 |
+
Your task now is to draft a high-quality review outline for the given submission.
|
| 669 |
+
|
| 670 |
+
$= = = = = =$
|
| 671 |
+
|
| 672 |
+
Your task:
|
| 673 |
+
|
| 674 |
+
Compose a high-quality peer review of a paper.
|
| 675 |
+
|
| 676 |
+
Start by "Review outline":
|
| 677 |
+
|
| 678 |
+
And then:
|
| 679 |
+
|
| 680 |
+
"1. Significance and novelty"
|
| 681 |
+
"2. Potential reasons for acceptance"
|
| 682 |
+
3. Potential reasons for rejection", List multiple key reasons. For each key reason, use $**>=2$ sub bullet points\*\* to further clarify and support your arguments in painstaking details. Be as specific and detailed as possible.
|
| 683 |
+
4. Suggestions for improvement", List multiple key suggestions. Be as specific and detailed as possible.
|
| 684 |
+
|
| 685 |
+
Be thoughtful and constructive. Write Outlines only.
|
| 686 |
+
|
| 687 |
+
ours
|
| 688 |
+
|
| 689 |
+
Write a paper review for the following paper regarding its strengths and weaknesses.
|
| 690 |
+
|
| 691 |
+
Table 23: The prompts used to generate reviews. Return to main text. Return to appendix.
|
| 692 |
+
|
| 693 |
+

|
| 694 |
+
(a) Du et al. (2024), COARSE
|
| 695 |
+
|
| 696 |
+

|
| 697 |
+
(b) Du et al. (2024), FINE
|
| 698 |
+
|
| 699 |
+

|
| 700 |
+
(c) ours, COARSE (EMNLP23)
|
| 701 |
+
|
| 702 |
+

|
| 703 |
+
(d) ours, FINE (EMNLP23)
|
| 704 |
+
|
| 705 |
+

|
| 706 |
+
(e) Liang et al. (2024b), COARSE (ICLR24)
|
| 707 |
+
|
| 708 |
+

|
| 709 |
+
(f) Liang et al. (2024b), FINE (ICLR24)
|
| 710 |
+
|
| 711 |
+

|
| 712 |
+
(g) ours, COARSE (ICLR24)
|
| 713 |
+
|
| 714 |
+

|
| 715 |
+
(h) ours, FINE (ICLR24)
|
| 716 |
+
Figure 6: The heatmap of the Jaccard similarity between each pair of the human-written reviews and LLM-generated reviews using Du et al. (2024)'s, Liang et al. (2024b)'s, and our prompt. Return to main text. Return to appendix.
|
| 717 |
+
|
| 718 |
+
<table><tr><td>dataset</td><td>number of data</td><td>#reviews per paper</td><td>accuracy</td></tr><tr><td>Du et al. (2024)</td><td>20</td><td>4.80</td><td>0.80</td></tr><tr><td>Liang et al. (2024b)</td><td>200</td><td>4.52</td><td>0.75</td></tr><tr><td>ours</td><td>200</td><td>4.52</td><td>0.89</td></tr></table>
|
| 719 |
+
|
| 720 |
+
Table 24: The accuracy of GPT-4o in zero-shot LLM-generated review detection. Return to main text. Return to appendix.
|
2025/Identifying Aspects in Peer Reviews/images.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f425cd6b94097c4771ab123f0116133e06341f5b3adf2f4a59d4b6844cf32a5e
|
| 3 |
+
size 2015990
|
2025/Identifying Aspects in Peer Reviews/layout.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2025/Identifying Noise in Human-Created Datasets using Training Dynamics from Generative Models/c8a60779-b000-4e4a-849a-d9e2608e2b0d_content_list.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|