Add Batch 483dcb5d-2630-4bdd-b609-9e7181dbd4e5 data
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- .gitattributes +64 -0
- 2024/COLLIE_ Systematic Construction of Constrained Text Generation Tasks/a385f7c5-58d0-4428-b174-3123a2838efe_content_list.json +1406 -0
- 2024/COLLIE_ Systematic Construction of Constrained Text Generation Tasks/a385f7c5-58d0-4428-b174-3123a2838efe_model.json +1907 -0
- 2024/COLLIE_ Systematic Construction of Constrained Text Generation Tasks/a385f7c5-58d0-4428-b174-3123a2838efe_origin.pdf +3 -0
- 2024/COLLIE_ Systematic Construction of Constrained Text Generation Tasks/full.md +253 -0
- 2024/COLLIE_ Systematic Construction of Constrained Text Generation Tasks/images.zip +3 -0
- 2024/COLLIE_ Systematic Construction of Constrained Text Generation Tasks/layout.json +0 -0
- 2024/COPlanner_ Plan to Roll Out Conservatively but to Explore Optimistically for Model-Based RL/216888e1-d802-47f6-a895-26fbf846f218_content_list.json +0 -0
- 2024/COPlanner_ Plan to Roll Out Conservatively but to Explore Optimistically for Model-Based RL/216888e1-d802-47f6-a895-26fbf846f218_model.json +0 -0
- 2024/COPlanner_ Plan to Roll Out Conservatively but to Explore Optimistically for Model-Based RL/216888e1-d802-47f6-a895-26fbf846f218_origin.pdf +3 -0
- 2024/COPlanner_ Plan to Roll Out Conservatively but to Explore Optimistically for Model-Based RL/full.md +546 -0
- 2024/COPlanner_ Plan to Roll Out Conservatively but to Explore Optimistically for Model-Based RL/images.zip +3 -0
- 2024/COPlanner_ Plan to Roll Out Conservatively but to Explore Optimistically for Model-Based RL/layout.json +0 -0
- 2024/CORN_ Contact-based Object Representation for Nonprehensile Manipulation of General Unseen Objects/1d7a7b6b-a145-4b8c-b679-d80f7046b674_content_list.json +1859 -0
- 2024/CORN_ Contact-based Object Representation for Nonprehensile Manipulation of General Unseen Objects/1d7a7b6b-a145-4b8c-b679-d80f7046b674_model.json +0 -0
- 2024/CORN_ Contact-based Object Representation for Nonprehensile Manipulation of General Unseen Objects/1d7a7b6b-a145-4b8c-b679-d80f7046b674_origin.pdf +3 -0
- 2024/CORN_ Contact-based Object Representation for Nonprehensile Manipulation of General Unseen Objects/full.md +319 -0
- 2024/CORN_ Contact-based Object Representation for Nonprehensile Manipulation of General Unseen Objects/images.zip +3 -0
- 2024/CORN_ Contact-based Object Representation for Nonprehensile Manipulation of General Unseen Objects/layout.json +0 -0
- 2024/COSA_ Concatenated Sample Pretrained Vision-Language Foundation Model/4c9218f4-c368-4834-86cf-99d68eedf0ed_content_list.json +0 -0
- 2024/COSA_ Concatenated Sample Pretrained Vision-Language Foundation Model/4c9218f4-c368-4834-86cf-99d68eedf0ed_model.json +0 -0
- 2024/COSA_ Concatenated Sample Pretrained Vision-Language Foundation Model/4c9218f4-c368-4834-86cf-99d68eedf0ed_origin.pdf +3 -0
- 2024/COSA_ Concatenated Sample Pretrained Vision-Language Foundation Model/full.md +385 -0
- 2024/COSA_ Concatenated Sample Pretrained Vision-Language Foundation Model/images.zip +3 -0
- 2024/COSA_ Concatenated Sample Pretrained Vision-Language Foundation Model/layout.json +0 -0
- 2024/CPPO_ Continual Learning for Reinforcement Learning with Human Feedback/0e602857-0d7f-4539-8ca2-d7b133d15df0_content_list.json +0 -0
- 2024/CPPO_ Continual Learning for Reinforcement Learning with Human Feedback/0e602857-0d7f-4539-8ca2-d7b133d15df0_model.json +0 -0
- 2024/CPPO_ Continual Learning for Reinforcement Learning with Human Feedback/0e602857-0d7f-4539-8ca2-d7b133d15df0_origin.pdf +3 -0
- 2024/CPPO_ Continual Learning for Reinforcement Learning with Human Feedback/full.md +553 -0
- 2024/CPPO_ Continual Learning for Reinforcement Learning with Human Feedback/images.zip +3 -0
- 2024/CPPO_ Continual Learning for Reinforcement Learning with Human Feedback/layout.json +0 -0
- 2024/CRAFT_ Customizing LLMs by Creating and Retrieving from Specialized Toolsets/8ba38939-7ba1-4202-b2ab-26b6e6ae6afa_content_list.json +0 -0
- 2024/CRAFT_ Customizing LLMs by Creating and Retrieving from Specialized Toolsets/8ba38939-7ba1-4202-b2ab-26b6e6ae6afa_model.json +0 -0
- 2024/CRAFT_ Customizing LLMs by Creating and Retrieving from Specialized Toolsets/8ba38939-7ba1-4202-b2ab-26b6e6ae6afa_origin.pdf +3 -0
- 2024/CRAFT_ Customizing LLMs by Creating and Retrieving from Specialized Toolsets/full.md +0 -0
- 2024/CRAFT_ Customizing LLMs by Creating and Retrieving from Specialized Toolsets/images.zip +3 -0
- 2024/CRAFT_ Customizing LLMs by Creating and Retrieving from Specialized Toolsets/layout.json +0 -0
- 2024/CRITIC_ Large Language Models Can Self-Correct with Tool-Interactive Critiquing/3c12ffae-fe82-40ca-81b0-d973429b439b_content_list.json +0 -0
- 2024/CRITIC_ Large Language Models Can Self-Correct with Tool-Interactive Critiquing/3c12ffae-fe82-40ca-81b0-d973429b439b_model.json +0 -0
- 2024/CRITIC_ Large Language Models Can Self-Correct with Tool-Interactive Critiquing/3c12ffae-fe82-40ca-81b0-d973429b439b_origin.pdf +3 -0
- 2024/CRITIC_ Large Language Models Can Self-Correct with Tool-Interactive Critiquing/full.md +0 -0
- 2024/CRITIC_ Large Language Models Can Self-Correct with Tool-Interactive Critiquing/images.zip +3 -0
- 2024/CRITIC_ Large Language Models Can Self-Correct with Tool-Interactive Critiquing/layout.json +0 -0
- 2024/Can LLM-Generated Misinformation Be Detected_/3a84c4e2-b05d-44a9-9215-c6ee23c2c391_content_list.json +0 -0
- 2024/Can LLM-Generated Misinformation Be Detected_/3a84c4e2-b05d-44a9-9215-c6ee23c2c391_model.json +0 -0
- 2024/Can LLM-Generated Misinformation Be Detected_/3a84c4e2-b05d-44a9-9215-c6ee23c2c391_origin.pdf +3 -0
- 2024/Can LLM-Generated Misinformation Be Detected_/full.md +0 -0
- 2024/Can LLM-Generated Misinformation Be Detected_/images.zip +3 -0
- 2024/Can LLM-Generated Misinformation Be Detected_/layout.json +0 -0
- 2024/Can LLMs Express Their Uncertainty_ An Empirical Evaluation of Confidence Elicitation in LLMs/b81f80c1-e92f-4fa9-ba4a-6eda97eff3f9_content_list.json +0 -0
.gitattributes
CHANGED
|
@@ -4073,3 +4073,67 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 4073 |
2024/COCO-Periph_[[:space:]]Bridging[[:space:]]the[[:space:]]Gap[[:space:]]Between[[:space:]]Human[[:space:]]and[[:space:]]Machine[[:space:]]Perception[[:space:]]in[[:space:]]the[[:space:]]Periphery/bbc71c39-e30a-4494-8c4f-c07203937798_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4074 |
2024/CODE[[:space:]]REPRESENTATION[[:space:]]LEARNING[[:space:]]AT[[:space:]]SCALE/e028e5d2-943a-4f0e-9f0b-0abc6af259fb_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4075 |
2024/COLEP_[[:space:]]Certifiably[[:space:]]Robust[[:space:]]Learning-Reasoning[[:space:]]Conformal[[:space:]]Prediction[[:space:]]via[[:space:]]Probabilistic[[:space:]]Circuits/d5bc5cb5-c78a-4110-a2a4-782b3d170907_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4073 |
2024/COCO-Periph_[[:space:]]Bridging[[:space:]]the[[:space:]]Gap[[:space:]]Between[[:space:]]Human[[:space:]]and[[:space:]]Machine[[:space:]]Perception[[:space:]]in[[:space:]]the[[:space:]]Periphery/bbc71c39-e30a-4494-8c4f-c07203937798_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4074 |
2024/CODE[[:space:]]REPRESENTATION[[:space:]]LEARNING[[:space:]]AT[[:space:]]SCALE/e028e5d2-943a-4f0e-9f0b-0abc6af259fb_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4075 |
2024/COLEP_[[:space:]]Certifiably[[:space:]]Robust[[:space:]]Learning-Reasoning[[:space:]]Conformal[[:space:]]Prediction[[:space:]]via[[:space:]]Probabilistic[[:space:]]Circuits/d5bc5cb5-c78a-4110-a2a4-782b3d170907_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4076 |
+
2024/COLLIE_[[:space:]]Systematic[[:space:]]Construction[[:space:]]of[[:space:]]Constrained[[:space:]]Text[[:space:]]Generation[[:space:]]Tasks/a385f7c5-58d0-4428-b174-3123a2838efe_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4077 |
+
2024/COPlanner_[[:space:]]Plan[[:space:]]to[[:space:]]Roll[[:space:]]Out[[:space:]]Conservatively[[:space:]]but[[:space:]]to[[:space:]]Explore[[:space:]]Optimistically[[:space:]]for[[:space:]]Model-Based[[:space:]]RL/216888e1-d802-47f6-a895-26fbf846f218_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4078 |
+
2024/CORN_[[:space:]]Contact-based[[:space:]]Object[[:space:]]Representation[[:space:]]for[[:space:]]Nonprehensile[[:space:]]Manipulation[[:space:]]of[[:space:]]General[[:space:]]Unseen[[:space:]]Objects/1d7a7b6b-a145-4b8c-b679-d80f7046b674_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4079 |
+
2024/COSA_[[:space:]]Concatenated[[:space:]]Sample[[:space:]]Pretrained[[:space:]]Vision-Language[[:space:]]Foundation[[:space:]]Model/4c9218f4-c368-4834-86cf-99d68eedf0ed_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4080 |
+
2024/CPPO_[[:space:]]Continual[[:space:]]Learning[[:space:]]for[[:space:]]Reinforcement[[:space:]]Learning[[:space:]]with[[:space:]]Human[[:space:]]Feedback/0e602857-0d7f-4539-8ca2-d7b133d15df0_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4081 |
+
2024/CRAFT_[[:space:]]Customizing[[:space:]]LLMs[[:space:]]by[[:space:]]Creating[[:space:]]and[[:space:]]Retrieving[[:space:]]from[[:space:]]Specialized[[:space:]]Toolsets/8ba38939-7ba1-4202-b2ab-26b6e6ae6afa_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4082 |
+
2024/CRITIC_[[:space:]]Large[[:space:]]Language[[:space:]]Models[[:space:]]Can[[:space:]]Self-Correct[[:space:]]with[[:space:]]Tool-Interactive[[:space:]]Critiquing/3c12ffae-fe82-40ca-81b0-d973429b439b_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4083 |
+
2024/Can[[:space:]]LLM-Generated[[:space:]]Misinformation[[:space:]]Be[[:space:]]Detected_/3a84c4e2-b05d-44a9-9215-c6ee23c2c391_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4084 |
+
2024/Can[[:space:]]LLMs[[:space:]]Express[[:space:]]Their[[:space:]]Uncertainty_[[:space:]]An[[:space:]]Empirical[[:space:]]Evaluation[[:space:]]of[[:space:]]Confidence[[:space:]]Elicitation[[:space:]]in[[:space:]]LLMs/b81f80c1-e92f-4fa9-ba4a-6eda97eff3f9_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4085 |
+
2024/Can[[:space:]]Large[[:space:]]Language[[:space:]]Models[[:space:]]Infer[[:space:]]Causation[[:space:]]from[[:space:]]Correlation_/ea466950-9867-4e64-aad9-f557ac57e6be_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4086 |
+
2024/Can[[:space:]]Transformers[[:space:]]Capture[[:space:]]Spatial[[:space:]]Relations[[:space:]]between[[:space:]]Objects_/58a6b112-ad60-44f0-a3a0-8495a2891d22_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4087 |
+
2024/Can[[:space:]]We[[:space:]]Evaluate[[:space:]]Domain[[:space:]]Adaptation[[:space:]]Models[[:space:]]Without[[:space:]]Target-Domain[[:space:]]Labels_/bd1a132b-3a43-4ba4-8b84-2e8592486de3_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4088 |
+
2024/Can[[:space:]]we[[:space:]]get[[:space:]]the[[:space:]]best[[:space:]]of[[:space:]]both[[:space:]]Binary[[:space:]]Neural[[:space:]]Networks[[:space:]]and[[:space:]]Spiking[[:space:]]Neural[[:space:]]Networks[[:space:]]for[[:space:]]Efficient[[:space:]]Computer[[:space:]]Vision_/19d393ca-de55-4763-bf02-2957c3a83a83_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4089 |
+
2024/Cauchy-Schwarz[[:space:]]Divergence[[:space:]]Information[[:space:]]Bottleneck[[:space:]]for[[:space:]]Regression/533dcb1c-4314-441a-bbe0-8bdc5d199ab1_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4090 |
+
2024/Causal[[:space:]]Fairness[[:space:]]under[[:space:]]Unobserved[[:space:]]Confounding_[[:space:]]A[[:space:]]Neural[[:space:]]Sensitivity[[:space:]]Framework/999a530b-d42b-4029-abe9-8210fdd4fc0f_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4091 |
+
2024/Causal[[:space:]]Inference[[:space:]]with[[:space:]]Conditional[[:space:]]Front-Door[[:space:]]Adjustment[[:space:]]and[[:space:]]Identifiable[[:space:]]Variational[[:space:]]Autoencoder/f2ef9b39-11c3-4cd4-949e-9e6c315c3895_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4092 |
+
2024/Causal[[:space:]]Modelling[[:space:]]Agents_[[:space:]]Causal[[:space:]]Graph[[:space:]]Discovery[[:space:]]through[[:space:]]Synergising[[:space:]]Metadata-[[:space:]]and[[:space:]]Data-driven[[:space:]]Reasoning/62662d0b-f04d-4860-9279-6ea508321f89_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4093 |
+
2024/Causal[[:space:]]Structure[[:space:]]Recovery[[:space:]]with[[:space:]]Latent[[:space:]]Variables[[:space:]]under[[:space:]]Milder[[:space:]]Distributional[[:space:]]and[[:space:]]Graphical[[:space:]]Assumptions/66e02101-2d59-4d31-bac4-ff13ed98b98b_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4094 |
+
2024/Causal-StoNet_[[:space:]]Causal[[:space:]]Inference[[:space:]]for[[:space:]]High-Dimensional[[:space:]]Complex[[:space:]]Data/797ddb28-939b-4979-afc3-08f62d4cf851_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4095 |
+
2024/CausalLM[[:space:]]is[[:space:]]not[[:space:]]optimal[[:space:]]for[[:space:]]in-context[[:space:]]learning/03119640-3f77-4f7f-8164-169ce539c38b_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4096 |
+
2024/CausalTime_[[:space:]]Realistically[[:space:]]Generated[[:space:]]Time-series[[:space:]]for[[:space:]]Benchmarking[[:space:]]of[[:space:]]Causal[[:space:]]Discovery/35734783-1e52-44b2-9f44-540d2ccec7ec_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4097 |
+
2024/Causality-Inspired[[:space:]]Spatial-Temporal[[:space:]]Explanations[[:space:]]for[[:space:]]Dynamic[[:space:]]Graph[[:space:]]Neural[[:space:]]Networks/e1b4efe3-3cc1-4016-b481-a0d46e2b10f8_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4098 |
+
2024/Causally[[:space:]]Aligned[[:space:]]Curriculum[[:space:]]Learning/84b3f63e-3655-468a-a5b4-1d255fee1dbb_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4099 |
+
2024/CellPLM_[[:space:]]Pre-training[[:space:]]of[[:space:]]Cell[[:space:]]Language[[:space:]]Model[[:space:]]Beyond[[:space:]]Single[[:space:]]Cells/60ae2cbe-0f6e-4a97-ba47-52d13dc02408_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4100 |
+
2024/Certified[[:space:]]Adversarial[[:space:]]Robustness[[:space:]]for[[:space:]]Rate[[:space:]]Encoded[[:space:]]Spiking[[:space:]]Neural[[:space:]]Networks/f643f859-0de1-486c-8f1c-6e32e3ddb910_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4101 |
+
2024/Chain[[:space:]]of[[:space:]]Hindsight[[:space:]]aligns[[:space:]]Language[[:space:]]Models[[:space:]]with[[:space:]]Feedback/26e84205-b527-430f-8d92-eecd94de702b_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4102 |
+
2024/Chain[[:space:]]of[[:space:]]Log-Concave[[:space:]]Markov[[:space:]]Chains/da103a1f-7f5d-47f1-9cf8-c4e4b4cdcee3_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4103 |
+
2024/Chain[[:space:]]of[[:space:]]Thought[[:space:]]Empowers[[:space:]]Transformers[[:space:]]to[[:space:]]Solve[[:space:]]Inherently[[:space:]]Serial[[:space:]]Problems/ff383352-ec03-4c6f-9d08-c5bfd7121d4a_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4104 |
+
2024/Chain-of-Experts_[[:space:]]When[[:space:]]LLMs[[:space:]]Meet[[:space:]]Complex[[:space:]]Operations[[:space:]]Research[[:space:]]Problems/71baf1b7-6c25-4b18-ba9b-467337d4f5df_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4105 |
+
2024/Chain-of-Knowledge_[[:space:]]Grounding[[:space:]]Large[[:space:]]Language[[:space:]]Models[[:space:]]via[[:space:]]Dynamic[[:space:]]Knowledge[[:space:]]Adapting[[:space:]]over[[:space:]]Heterogeneous[[:space:]]Sources/213dff74-dd5b-4937-8218-016781c6d536_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4106 |
+
2024/Chain-of-Table_[[:space:]]Evolving[[:space:]]Tables[[:space:]]in[[:space:]]the[[:space:]]Reasoning[[:space:]]Chain[[:space:]]for[[:space:]]Table[[:space:]]Understanding/1bc9964e-641e-4f5f-9149-66dae1967634_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4107 |
+
2024/Chameleon_[[:space:]]Increasing[[:space:]]Label-Only[[:space:]]Membership[[:space:]]Leakage[[:space:]]with[[:space:]]Adaptive[[:space:]]Poisoning/b4cc41f1-648e-4e17-967b-c1e92159fb99_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4108 |
+
2024/Channel[[:space:]]Vision[[:space:]]Transformers_[[:space:]]An[[:space:]]Image[[:space:]]Is[[:space:]]Worth[[:space:]]1[[:space:]]x[[:space:]]16[[:space:]]x[[:space:]]16[[:space:]]Words/d9d00be0-c136-4d8c-aefc-ae0b1df879f1_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4109 |
+
2024/ChatEval_[[:space:]]Towards[[:space:]]Better[[:space:]]LLM-based[[:space:]]Evaluators[[:space:]]through[[:space:]]Multi-Agent[[:space:]]Debate/484f04ac-8d7f-421b-aacf-13f6e0ef4b89_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4110 |
+
2024/CircuitNet[[:space:]]2.0_[[:space:]]An[[:space:]]Advanced[[:space:]]Dataset[[:space:]]for[[:space:]]Promoting[[:space:]]Machine[[:space:]]Learning[[:space:]]Innovations[[:space:]]in[[:space:]]Realistic[[:space:]]Chip[[:space:]]Design[[:space:]]Environment/807611eb-862d-4a86-ac34-a26db86664d6_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4111 |
+
2024/Circumventing[[:space:]]Concept[[:space:]]Erasure[[:space:]]Methods[[:space:]]For[[:space:]]Text-To-Image[[:space:]]Generative[[:space:]]Models/3df2ac47-40c3-4186-ae77-1a2e997c11d9_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4112 |
+
2024/Class[[:space:]]Incremental[[:space:]]Learning[[:space:]]via[[:space:]]Likelihood[[:space:]]Ratio[[:space:]]Based[[:space:]]Task[[:space:]]Prediction/8048705a-2680-417a-bfa6-794a9b07e0dc_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4113 |
+
2024/Class[[:space:]]Probability[[:space:]]Matching[[:space:]]with[[:space:]]Calibrated[[:space:]]Networks[[:space:]]for[[:space:]]Label[[:space:]]Shift[[:space:]]Adaption/9f6d6b41-ac39-49d0-869f-000a86ab6fa5_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4114 |
+
2024/Classification[[:space:]]with[[:space:]]Conceptual[[:space:]]Safeguards/99e0a45e-8290-4bd2-9dd6-8634bcec4a4b_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4115 |
+
2024/Cleanba_[[:space:]]A[[:space:]]Reproducible[[:space:]]and[[:space:]]Efficient[[:space:]]Distributed[[:space:]]Reinforcement[[:space:]]Learning[[:space:]]Platform/c321f310-554c-4f87-a080-01ec643d6cdf_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4116 |
+
2024/Clifford[[:space:]]Group[[:space:]]Equivariant[[:space:]]Simplicial[[:space:]]Message[[:space:]]Passing[[:space:]]Networks/5f78ac03-6752-44be-b5c5-d6d556eae266_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4117 |
+
2024/Closing[[:space:]]the[[:space:]]Curious[[:space:]]Case[[:space:]]of[[:space:]]Neural[[:space:]]Text[[:space:]]Degeneration/1e7dcd3d-6c0d-494b-9e1f-ec8296a650e6_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4118 |
+
2024/Closing[[:space:]]the[[:space:]]Gap[[:space:]]between[[:space:]]TD[[:space:]]Learning[[:space:]]and[[:space:]]Supervised[[:space:]]Learning[[:space:]]-[[:space:]]A[[:space:]]Generalisation[[:space:]]Point[[:space:]]of[[:space:]]View./be16f9b5-e158-4b30-8fb1-101dec12ab87_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4119 |
+
2024/CoBIT_[[:space:]]A[[:space:]]Contrastive[[:space:]]Bi-directional[[:space:]]Image-Text[[:space:]]Generation[[:space:]]Model/c7fceb6d-3287-4731-908e-d32658b1129d_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4120 |
+
2024/CoLiDE_[[:space:]]Concomitant[[:space:]]Linear[[:space:]]DAG[[:space:]]Estimation/9055ace5-16ac-44c2-b8f2-2cbf64c580e3_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4121 |
+
2024/CoRe-GD_[[:space:]]A[[:space:]]Hierarchical[[:space:]]Framework[[:space:]]for[[:space:]]Scalable[[:space:]]Graph[[:space:]]Visualization[[:space:]]with[[:space:]]GNNs/933f5ce1-9554-40d6-bbc1-9aa9c8df0de9_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4122 |
+
2024/CoT3DRef_[[:space:]]Chain-of-Thoughts[[:space:]]Data-Efficient[[:space:]]3D[[:space:]]Visual[[:space:]]Grounding/57d6f05b-9e88-4341-a50b-947b68a87833_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4123 |
+
2024/CoVLM_[[:space:]]Composing[[:space:]]Visual[[:space:]]Entities[[:space:]]and[[:space:]]Relationships[[:space:]]in[[:space:]]Large[[:space:]]Language[[:space:]]Models[[:space:]]Via[[:space:]]Communicative[[:space:]]Decoding/af81da98-3146-4c2e-ba6b-15d066d58762_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4124 |
+
2024/CodeChain_[[:space:]]Towards[[:space:]]Modular[[:space:]]Code[[:space:]]Generation[[:space:]]Through[[:space:]]Chain[[:space:]]of[[:space:]]Self-revisions[[:space:]]with[[:space:]]Representative[[:space:]]Sub-modules/1a186d3c-7fcd-4a41-8c19-398357ced5a4_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4125 |
+
2024/Combinatorial[[:space:]]Bandits[[:space:]]for[[:space:]]Maximum[[:space:]]Value[[:space:]]Reward[[:space:]]Function[[:space:]]under[[:space:]]Value-Index[[:space:]]Feedback/8b6a2bb6-6fa6-4b8e-aecd-1d01ec1f0498_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4126 |
+
2024/Combining[[:space:]]Axes[[:space:]]Preconditioners[[:space:]]through[[:space:]]Kronecker[[:space:]]Approximation[[:space:]]for[[:space:]]Deep[[:space:]]Learning/7c4b3532-1b88-488d-b80d-6b3f99715cb6_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4127 |
+
2024/Communication-Efficient[[:space:]]Federated[[:space:]]Non-Linear[[:space:]]Bandit[[:space:]]Optimization/675797ca-2a6e-4b50-a215-ad956bb9b9b3_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4128 |
+
2024/Communication-Efficient[[:space:]]Gradient[[:space:]]Descent-Accent[[:space:]]Methods[[:space:]]for[[:space:]]Distributed[[:space:]]Variational[[:space:]]Inequalities_[[:space:]]Unified[[:space:]]Analysis[[:space:]]and[[:space:]]Local[[:space:]]Updates/66ef3c78-6423-409f-8d84-4131220442c4_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4129 |
+
2024/CompA_[[:space:]]Addressing[[:space:]]the[[:space:]]Gap[[:space:]]in[[:space:]]Compositional[[:space:]]Reasoning[[:space:]]in[[:space:]]Audio-Language[[:space:]]Models/6b9334d2-233b-4597-86b3-141e82bdc5e2_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4130 |
+
2024/Complete[[:space:]]and[[:space:]]Efficient[[:space:]]Graph[[:space:]]Transformers[[:space:]]for[[:space:]]Crystal[[:space:]]Material[[:space:]]Property[[:space:]]Prediction/4bf09324-3678-46c1-96cc-64240f8a5dc8_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4131 |
+
2024/Compose[[:space:]]and[[:space:]]Conquer_[[:space:]]Diffusion-Based[[:space:]]3D[[:space:]]Depth[[:space:]]Aware[[:space:]]Composable[[:space:]]Image[[:space:]]Synthesis/31c68b92-4163-4c56-95b4-16a917375df9_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4132 |
+
2024/Composed[[:space:]]Image[[:space:]]Retrieval[[:space:]]with[[:space:]]Text[[:space:]]Feedback[[:space:]]via[[:space:]]Multi-grained[[:space:]]Uncertainty[[:space:]]Regularization/188f3578-ef2a-47e5-b26f-1fefb67f5e6a_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4133 |
+
2024/Compositional[[:space:]]Conservatism_[[:space:]]A[[:space:]]Transductive[[:space:]]Approach[[:space:]]in[[:space:]]Offline[[:space:]]Reinforcement[[:space:]]Learning/3326a5d7-2121-4fba-9d25-e10d2044519f_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4134 |
+
2024/Compositional[[:space:]]Preference[[:space:]]Models[[:space:]]for[[:space:]]Aligning[[:space:]]LMs/2adc1035-349d-41e3-9b69-220c5181ff08_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4135 |
+
2024/Compressed[[:space:]]Context[[:space:]]Memory[[:space:]]for[[:space:]]Online[[:space:]]Language[[:space:]]Model[[:space:]]Interaction/cf14b825-8b94-40cf-948c-2c4a1d5964c5_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4136 |
+
2024/Compressing[[:space:]]LLMs_[[:space:]]The[[:space:]]Truth[[:space:]]is[[:space:]]Rarely[[:space:]]Pure[[:space:]]and[[:space:]]Never[[:space:]]Simple/5ae73606-2e37-4b03-90c5-4f3fa14fe34f_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4137 |
+
2024/Compressing[[:space:]]Latent[[:space:]]Space[[:space:]]via[[:space:]]Least[[:space:]]Volume/d993fe69-0e5d-4839-8c0f-f27d86106ab2_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4138 |
+
2024/ConR_[[:space:]]Contrastive[[:space:]]Regularizer[[:space:]]for[[:space:]]Deep[[:space:]]Imbalanced[[:space:]]Regression/6e323855-332b-4074-a630-36347430ea9e_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4139 |
+
2024/Concept[[:space:]]Bottleneck[[:space:]]Generative[[:space:]]Models/5733a489-abbb-476b-9f17-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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"type": "text",
|
| 4 |
+
"text": "COLLIE: SYSTEMATIC CONSTRUCTION OF CONSTRAINED TEXT GENERATION TASKS",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
171,
|
| 8 |
+
99,
|
| 9 |
+
684,
|
| 10 |
+
148
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Shunyu Yao* Howard Chen* Austin W. Hanjie* Runzhe Yang* Karthik Narasimhan",
|
| 17 |
+
"bbox": [
|
| 18 |
+
179,
|
| 19 |
+
169,
|
| 20 |
+
810,
|
| 21 |
+
184
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "Department of Computer Science, Princeton University",
|
| 28 |
+
"bbox": [
|
| 29 |
+
183,
|
| 30 |
+
185,
|
| 31 |
+
547,
|
| 32 |
+
198
|
| 33 |
+
],
|
| 34 |
+
"page_idx": 0
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"type": "text",
|
| 38 |
+
"text": "{shunyuy, hc22, hjwang, runzhey, karthikn}@princeton.edu",
|
| 39 |
+
"bbox": [
|
| 40 |
+
183,
|
| 41 |
+
199,
|
| 42 |
+
733,
|
| 43 |
+
213
|
| 44 |
+
],
|
| 45 |
+
"page_idx": 0
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"type": "text",
|
| 49 |
+
"text": "ABSTRACT",
|
| 50 |
+
"text_level": 1,
|
| 51 |
+
"bbox": [
|
| 52 |
+
450,
|
| 53 |
+
250,
|
| 54 |
+
547,
|
| 55 |
+
263
|
| 56 |
+
],
|
| 57 |
+
"page_idx": 0
|
| 58 |
+
},
|
| 59 |
+
{
|
| 60 |
+
"type": "text",
|
| 61 |
+
"text": "With the rapid improvement of large language models capabilities, there has been increasing interest in challenging constrained text generation problems. However, existing benchmarks for constrained generation usually focus on fixed constraint types (e.g. generate a sentence containing certain words) that have proved to be easy for state-of-the-art models like GPT-4. We present COLLIE, a grammar-based framework that allows the specification of rich, compositional constraints with diverse generation levels (word, sentence, paragraph, passage) and modeling challenges (e.g. language understanding, logical reasoning, counting, semantic planning). We also develop tools for automatic extraction of task instances given a constraint structure and a raw text corpus. Using COLLIE, we compile the COLLIEv1 dataset with 2,080 instances comprising 13 constraint structures. We perform systematic experiments across five state-of-the-art instruction-tuned language models and analyze their performances to reveal shortcomings. COLLIE is designed to be extensible and lightweight, and we hope the community finds it useful to develop more complex constraints and evaluations in the future.",
|
| 62 |
+
"bbox": [
|
| 63 |
+
228,
|
| 64 |
+
280,
|
| 65 |
+
769,
|
| 66 |
+
491
|
| 67 |
+
],
|
| 68 |
+
"page_idx": 0
|
| 69 |
+
},
|
| 70 |
+
{
|
| 71 |
+
"type": "text",
|
| 72 |
+
"text": "1 INTRODUCTION",
|
| 73 |
+
"text_level": 1,
|
| 74 |
+
"bbox": [
|
| 75 |
+
173,
|
| 76 |
+
516,
|
| 77 |
+
339,
|
| 78 |
+
531
|
| 79 |
+
],
|
| 80 |
+
"page_idx": 0
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"type": "text",
|
| 84 |
+
"text": "Large language models (LLMs) are increasingly capable of generating coherent and fluent text when provided with high-level prompts (OpenAI 2023a). Such capabilities have raised the bar for automated text generation, allowing us to explore more nuanced ways of utilizing LMs. One such line of inquiry is constrained text generation, whereby the LM is asked to adhere to a particular topic (Keskar et al., 2019; Dathathri et al., 2020), or avoid using certain words (Lu et al., 2021; 2022). However, these works scratch the surface of a broader phenomenon — LMs do not just generate text, as evidenced by their use in more structured tasks like problem solving (Yao et al., 2022), code generation (Chen et al., 2022b) and even tool use through API calls (Schick et al., 2023).",
|
| 85 |
+
"bbox": [
|
| 86 |
+
169,
|
| 87 |
+
546,
|
| 88 |
+
826,
|
| 89 |
+
660
|
| 90 |
+
],
|
| 91 |
+
"page_idx": 0
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"type": "text",
|
| 95 |
+
"text": "This raises a natural question — 'what is the next iteration of text generation benchmarks that can evaluate these advanced capabilities in LLMs'? We posit that one direction is incorporating logical and compositional challenges via constrained text generation. Existing benchmarks for constrained generation, however, focus only on particular constraint types, require tailored pipelines to collect data and annotations, and/or can only evaluate a specific aspect of LM strengths (Lin et al., 2020; Chen et al., 2022a). They also suffer from challenges in scalable dataset construction.",
|
| 96 |
+
"bbox": [
|
| 97 |
+
169,
|
| 98 |
+
666,
|
| 99 |
+
826,
|
| 100 |
+
751
|
| 101 |
+
],
|
| 102 |
+
"page_idx": 0
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"type": "text",
|
| 106 |
+
"text": "In this paper, we propose COLLIE, a grammar-based framework that enables systematic construction of compositional constraints over diverse generation levels (e.g., words, sentences, paragraphs) and semantic requirements (e.g., language understanding, logical reasoning, counting). Operationally, COLLIE allows researchers to 1) easily specify constraint templates, and then automatically 2) extract constraint values from language corpora, 3) render them into natural language instructions, and 4) evaluate model generations against the constraint instructions.",
|
| 107 |
+
"bbox": [
|
| 108 |
+
169,
|
| 109 |
+
756,
|
| 110 |
+
826,
|
| 111 |
+
840
|
| 112 |
+
],
|
| 113 |
+
"page_idx": 0
|
| 114 |
+
},
|
| 115 |
+
{
|
| 116 |
+
"type": "text",
|
| 117 |
+
"text": "Existing benchmarks for constrained generation focus only on particular constraint types and formats (e.g., \"generate a sentence with words...\"). These limitations mean that benchmarks become quickly obsolete as LLMs progress. In contrast, the modular and extensible design of COLLIE allows the",
|
| 118 |
+
"bbox": [
|
| 119 |
+
169,
|
| 120 |
+
845,
|
| 121 |
+
826,
|
| 122 |
+
888
|
| 123 |
+
],
|
| 124 |
+
"page_idx": 0
|
| 125 |
+
},
|
| 126 |
+
{
|
| 127 |
+
"type": "header",
|
| 128 |
+
"text": "Published as a conference paper at ICLR 2024",
|
| 129 |
+
"bbox": [
|
| 130 |
+
171,
|
| 131 |
+
32,
|
| 132 |
+
478,
|
| 133 |
+
47
|
| 134 |
+
],
|
| 135 |
+
"page_idx": 0
|
| 136 |
+
},
|
| 137 |
+
{
|
| 138 |
+
"type": "page_footnote",
|
| 139 |
+
"text": "*Equal contribution. Project site with code and data: https://collie-benchmark.github.io/Collie is a herding dog that can help guide domesticated animals like llamas and alpacas.",
|
| 140 |
+
"bbox": [
|
| 141 |
+
169,
|
| 142 |
+
897,
|
| 143 |
+
826,
|
| 144 |
+
925
|
| 145 |
+
],
|
| 146 |
+
"page_idx": 0
|
| 147 |
+
},
|
| 148 |
+
{
|
| 149 |
+
"type": "page_number",
|
| 150 |
+
"text": "1",
|
| 151 |
+
"bbox": [
|
| 152 |
+
493,
|
| 153 |
+
948,
|
| 154 |
+
503,
|
| 155 |
+
959
|
| 156 |
+
],
|
| 157 |
+
"page_idx": 0
|
| 158 |
+
},
|
| 159 |
+
{
|
| 160 |
+
"type": "image",
|
| 161 |
+
"img_path": "images/ba2dd8c8fe7730e2a5c11bddb24304f879a9eb8165b6082d9cbac8f8b2496501.jpg",
|
| 162 |
+
"image_caption": [
|
| 163 |
+
"Figure 1: Our COLLIE framework for constraint structure specification, ground truth extraction, instruction rendering, and evaluation. First, the user specifies the constraint structure without a specific target value (expressed in $*$ ). Second, the constraint structure is used to extract ground truth examples from text corpora that contain the target values. Third, the constraint structure and target values are rendered into a natural language instruction. Finally, the model's generation is evaluated against the constraint and the ground truth. The model (gpt-3.5-turbo) violates the constraints by exceeding word limits and leaving the word 'mankind' at the end instead of the specified position."
|
| 164 |
+
],
|
| 165 |
+
"image_footnote": [],
|
| 166 |
+
"bbox": [
|
| 167 |
+
186,
|
| 168 |
+
104,
|
| 169 |
+
816,
|
| 170 |
+
258
|
| 171 |
+
],
|
| 172 |
+
"page_idx": 1
|
| 173 |
+
},
|
| 174 |
+
{
|
| 175 |
+
"type": "text",
|
| 176 |
+
"text": "broader NLP community to contribute additional constraints that can co-evolve with LLM capabilities over time, while also providing a convenient endpoint for users that only want to evaluate their model without developing their own constraints. The flexibility of such a grammar-based framework may not only be useful for evaluation, but also in practice (e.g. word constraints, words blacklist, etc.).",
|
| 177 |
+
"bbox": [
|
| 178 |
+
169,
|
| 179 |
+
383,
|
| 180 |
+
823,
|
| 181 |
+
441
|
| 182 |
+
],
|
| 183 |
+
"page_idx": 1
|
| 184 |
+
},
|
| 185 |
+
{
|
| 186 |
+
"type": "text",
|
| 187 |
+
"text": "We construct the dataset COLLIE-v1 with 2,080 constraint instances across 13 different types, using three different corpora: Wikipedia (Foundation 2022), CC-News (Hamborg et al., 2017), and Project Gutenberg (Brooke et al., 2015). We perform zero-shot evaluations of five state-of-the-art LLMs of varying sizes including GPT-4 (OpenAI 2023a) and PaLM (Anil et al., 2023). While GPT-4 comparatively performs the best, it still achieves an average constraint satisfaction rate of only $50.9\\%$ . We find that challenges correlate with position – for instance, instructing models to begin a sentence with a specific word leads to a $100\\%$ success rate for GPT-4, while asking models to end a sentence with a particular word results in a success rate of $40\\% -60\\%$ . These insights can help us diagnose LLMs, which in turn can improve LLM capabilities, and further advance the benchmark itself.",
|
| 188 |
+
"bbox": [
|
| 189 |
+
169,
|
| 190 |
+
446,
|
| 191 |
+
826,
|
| 192 |
+
571
|
| 193 |
+
],
|
| 194 |
+
"page_idx": 1
|
| 195 |
+
},
|
| 196 |
+
{
|
| 197 |
+
"type": "text",
|
| 198 |
+
"text": "To summarize, we make the following contributions: (1) We introduce COLLIE, a framework for systematic generation of compositional constraints, that is flexible and extensible. (2) We use COLLIE to curate a new dataset COLLIE-v1 comprising of 13 constraint structures. (3) We perform a comprehensive evaluation of five state-of-the-art LLMs of varying sizes and provide useful insights for both model and benchmark development in the future.",
|
| 199 |
+
"bbox": [
|
| 200 |
+
169,
|
| 201 |
+
579,
|
| 202 |
+
823,
|
| 203 |
+
650
|
| 204 |
+
],
|
| 205 |
+
"page_idx": 1
|
| 206 |
+
},
|
| 207 |
+
{
|
| 208 |
+
"type": "text",
|
| 209 |
+
"text": "2 RELATED WORK",
|
| 210 |
+
"text_level": 1,
|
| 211 |
+
"bbox": [
|
| 212 |
+
171,
|
| 213 |
+
670,
|
| 214 |
+
346,
|
| 215 |
+
686
|
| 216 |
+
],
|
| 217 |
+
"page_idx": 1
|
| 218 |
+
},
|
| 219 |
+
{
|
| 220 |
+
"type": "text",
|
| 221 |
+
"text": "Constrained text generation (CTG). Early work in controllable text generation used control codes to steer the generation towards desired topics or to reduce undesirable content, by controlling for broad attributes such as sentiment or toxicity (Hu et al., 2017; Keskar et al., 2019; Dathathri et al., 2020; Krause et al., 2021). Other work on constrained decoding provides to the language model a collection of lexical items as constraints to be included or excluded in the final generated text (Hokamp and Liu, 2017; Hasler et al., 2018; Dinu et al., 2019; Hu et al., 2019; Lin et al., 2020; Lu et al., 2021; Li et al., 2022b). Recent advances in instruction tuning LLMs (Ouyang et al., 2022) have brought major improvements to controllability. These advancements have made it challenging to use existing controllable generation datasets to fully assess the capabilities of modern LLMs. InstructCTG (Zhou et al., 2023) is a concurrent work that also constructed a dataset with text constraints. However, it mainly focuses on synthesizing 5 types of simple CTG instructions for tuning small language models such as T5-11B (Raffel et al., 2020), whereas COLLIE serves to construct much more challenging and open-ended CTG tasks to evaluate and diagnose start-of-the-art LLMs like GPT-4 (OpenAI, 2023b). Lastly, there is a line of work that sets up CTG in more practical downstream applications, such as controllable summarization (Zhang et al., 2023). The flexibility of COLLIE allows these \"functional constraints\" to be incorporated for more usefulness, which we leave for future work.",
|
| 222 |
+
"bbox": [
|
| 223 |
+
169,
|
| 224 |
+
700,
|
| 225 |
+
826,
|
| 226 |
+
924
|
| 227 |
+
],
|
| 228 |
+
"page_idx": 1
|
| 229 |
+
},
|
| 230 |
+
{
|
| 231 |
+
"type": "header",
|
| 232 |
+
"text": "Published as a conference paper at ICLR 2024",
|
| 233 |
+
"bbox": [
|
| 234 |
+
173,
|
| 235 |
+
32,
|
| 236 |
+
478,
|
| 237 |
+
47
|
| 238 |
+
],
|
| 239 |
+
"page_idx": 1
|
| 240 |
+
},
|
| 241 |
+
{
|
| 242 |
+
"type": "page_number",
|
| 243 |
+
"text": "2",
|
| 244 |
+
"bbox": [
|
| 245 |
+
493,
|
| 246 |
+
946,
|
| 247 |
+
504,
|
| 248 |
+
959
|
| 249 |
+
],
|
| 250 |
+
"page_idx": 1
|
| 251 |
+
},
|
| 252 |
+
{
|
| 253 |
+
"type": "text",
|
| 254 |
+
"text": "Grammar-based compositional tests. Building benchmarks with data synthesized from grammars has been explored previously in the context of question answering (Weston et al., 2015), instruction following (Chevalier-Boisvert et al., 2019; Ruis et al., 2020)) and visual reasoning (Johnson et al., 2017). These benchmarks showcased the utility of grammars to systematically generate a comprehensive set of test cases or to specify some fixed constraints. In contrast, COLLIE aims to enable flexible, and dynamic constraint construction that can co-evolve with models. Furthermore, previous datasets were synthetic with limited linguistic diversity and practical applicability to real-world scenarios. In contrast, since our COLLIE framework extracts values and examples from natural language corpora to construct the constraints, it represents a more realistic challenge for modern LLMs.",
|
| 255 |
+
"bbox": [
|
| 256 |
+
169,
|
| 257 |
+
103,
|
| 258 |
+
826,
|
| 259 |
+
229
|
| 260 |
+
],
|
| 261 |
+
"page_idx": 2
|
| 262 |
+
},
|
| 263 |
+
{
|
| 264 |
+
"type": "text",
|
| 265 |
+
"text": "Systematic and scalable language benchmarks. The emergence of increasingly powerful general-purpose language models has created a need for scalable benchmarks that can systematically and comprehensively evaluate them. A few recent examples include HELM (Liang et al., 2022), BIG-Bench (Srivastava et al., 2022), MMLU (Hendrycks et al., 2020), TaskBench500 (Li et al., 2022a), and Natural Instructions (Wang et al., 2022). However, building such benchmarks require considerable human effort, and may become obsolete when stronger models enter the arena. We provide a new perspective in this race between model capabilities and challenging benchmarks: leverage compositionality to construct automatic and scalable benchmarks with minimal human effort that can co-evolve with model capabilities to remain challenging and relevant.",
|
| 266 |
+
"bbox": [
|
| 267 |
+
169,
|
| 268 |
+
234,
|
| 269 |
+
826,
|
| 270 |
+
362
|
| 271 |
+
],
|
| 272 |
+
"page_idx": 2
|
| 273 |
+
},
|
| 274 |
+
{
|
| 275 |
+
"type": "text",
|
| 276 |
+
"text": "3 COLLIE FRAMEWORK TO CONSTRUCT CONSTRAINED TEXT GENERATION",
|
| 277 |
+
"text_level": 1,
|
| 278 |
+
"bbox": [
|
| 279 |
+
169,
|
| 280 |
+
380,
|
| 281 |
+
818,
|
| 282 |
+
396
|
| 283 |
+
],
|
| 284 |
+
"page_idx": 2
|
| 285 |
+
},
|
| 286 |
+
{
|
| 287 |
+
"type": "text",
|
| 288 |
+
"text": "COLLIE allows researchers to easily 1) specify textual constraint structures via a grammar, then automatically 2) extract constraint values from text corpora, 3) render constraints into natural language instructions, and 4) evaluate generations with respect to constraints.",
|
| 289 |
+
"bbox": [
|
| 290 |
+
169,
|
| 291 |
+
404,
|
| 292 |
+
823,
|
| 293 |
+
446
|
| 294 |
+
],
|
| 295 |
+
"page_idx": 2
|
| 296 |
+
},
|
| 297 |
+
{
|
| 298 |
+
"type": "text",
|
| 299 |
+
"text": "Grammar. Two observations about text constraints motivate a grammar characterization: 1) they involve different levels of text, e.g. character, word, sentence, or paragraph; and 2) many of them specify either the count or position at a certain text level (existence is equivalent to count $>0$ ).",
|
| 300 |
+
"bbox": [
|
| 301 |
+
169,
|
| 302 |
+
454,
|
| 303 |
+
823,
|
| 304 |
+
497
|
| 305 |
+
],
|
| 306 |
+
"page_idx": 2
|
| 307 |
+
},
|
| 308 |
+
{
|
| 309 |
+
"type": "text",
|
| 310 |
+
"text": "Let capitalized letters $(S,M,C,T)$ denote non-terminal variables, and other symbols $(\\ell ,\\circ ,\\oplus ,v)$ denote terminals. A full constraint specification within our grammar $S$ (Eq. 1) consists of two parts: a generation level $(\\mathrm{level}(\\xi) = \\ell)$ specifying whether the generated text $\\xi$ should be a word, a sentence, a paragraph, or a document, and a multi-constraint $M$ (Eq. 2), which is a logical composition of one or more base-constraints $C$ . A text $T$ (Eq. 4) within these constraints can either be the full generated text $\\xi$ , or a part of it when qualified with a pos( $\\cdot$ ). For example, pos(pos( $\\xi$ , paragraph, 3), sentence, -1) means \"the last sentence of the 3rd paragraph of the generated text\". For terminal variables, we define a level $\\ell$ of a text (Eq. 5), a string or number relation $\\circ$ or $\\oplus$ (Eq. 6), and a string or number value $v_{\\mathrm{str}}$ or $v_{\\mathrm{num}}$ (Eq. 7). $\\wedge$ represents the logical 'and' operator, and $\\vee$ represents the logical 'or'. With these definitions, we construct the following grammar:",
|
| 311 |
+
"bbox": [
|
| 312 |
+
169,
|
| 313 |
+
502,
|
| 314 |
+
826,
|
| 315 |
+
642
|
| 316 |
+
],
|
| 317 |
+
"page_idx": 2
|
| 318 |
+
},
|
| 319 |
+
{
|
| 320 |
+
"type": "equation",
|
| 321 |
+
"text": "\n$$\nS \\rightarrow (\\text {l e v e l} (\\xi) = \\ell) \\wedge M \\quad (\\text {c o n s t r a i n t s p e c i f i c a t i o n}) \\tag {1}\n$$\n",
|
| 322 |
+
"text_format": "latex",
|
| 323 |
+
"bbox": [
|
| 324 |
+
207,
|
| 325 |
+
645,
|
| 326 |
+
825,
|
| 327 |
+
660
|
| 328 |
+
],
|
| 329 |
+
"page_idx": 2
|
| 330 |
+
},
|
| 331 |
+
{
|
| 332 |
+
"type": "equation",
|
| 333 |
+
"text": "\n$$\nM \\rightarrow C \\mid C \\wedge M \\mid C \\vee M \\quad (\\text {m u l t i - c o n s t r a i n t}) \\tag {2}\n$$\n",
|
| 334 |
+
"text_format": "latex",
|
| 335 |
+
"bbox": [
|
| 336 |
+
204,
|
| 337 |
+
662,
|
| 338 |
+
825,
|
| 339 |
+
676
|
| 340 |
+
],
|
| 341 |
+
"page_idx": 2
|
| 342 |
+
},
|
| 343 |
+
{
|
| 344 |
+
"type": "equation",
|
| 345 |
+
"text": "\n$$\nC \\rightarrow \\operatorname {c o u n t} (T, \\ell , v _ {\\mathrm {s t r}} \\mid \\ell^ {\\prime}) \\oplus v _ {\\mathrm {n u m}} \\mid \\operatorname {p o s} (T, \\ell , v _ {\\mathrm {n u m}}) \\circ v _ {\\mathrm {s t r}} \\quad (\\text {b a s e - c o n s t r a i n t}) \\tag {3}\n$$\n",
|
| 346 |
+
"text_format": "latex",
|
| 347 |
+
"bbox": [
|
| 348 |
+
207,
|
| 349 |
+
681,
|
| 350 |
+
825,
|
| 351 |
+
696
|
| 352 |
+
],
|
| 353 |
+
"page_idx": 2
|
| 354 |
+
},
|
| 355 |
+
{
|
| 356 |
+
"type": "equation",
|
| 357 |
+
"text": "\n$$\nT \\rightarrow \\xi \\mid \\operatorname {p o s} (T, \\ell , v _ {\\text {n u m}}) \\tag {4}\n$$\n",
|
| 358 |
+
"text_format": "latex",
|
| 359 |
+
"bbox": [
|
| 360 |
+
207,
|
| 361 |
+
699,
|
| 362 |
+
825,
|
| 363 |
+
714
|
| 364 |
+
],
|
| 365 |
+
"page_idx": 2
|
| 366 |
+
},
|
| 367 |
+
{
|
| 368 |
+
"type": "equation",
|
| 369 |
+
"text": "\n$$\n\\ell \\rightarrow \\text {c h a r} | \\text {w o r d} | \\text {s e n t e n c e} | \\text {p a r a g r a p h} | \\text {p a s s a g e} \\tag {5}\n$$\n",
|
| 370 |
+
"text_format": "latex",
|
| 371 |
+
"bbox": [
|
| 372 |
+
212,
|
| 373 |
+
715,
|
| 374 |
+
825,
|
| 375 |
+
732
|
| 376 |
+
],
|
| 377 |
+
"page_idx": 2
|
| 378 |
+
},
|
| 379 |
+
{
|
| 380 |
+
"type": "equation",
|
| 381 |
+
"text": "\n$$\n\\circ \\rightarrow = | \\neq \\quad \\oplus \\rightarrow = | \\neq | > | < | \\leq | \\geq \\tag {6}\n$$\n",
|
| 382 |
+
"text_format": "latex",
|
| 383 |
+
"bbox": [
|
| 384 |
+
212,
|
| 385 |
+
734,
|
| 386 |
+
825,
|
| 387 |
+
750
|
| 388 |
+
],
|
| 389 |
+
"page_idx": 2
|
| 390 |
+
},
|
| 391 |
+
{
|
| 392 |
+
"type": "equation",
|
| 393 |
+
"text": "\n$$\nv _ {\\mathrm {s t r}} \\in \\Sigma^ {*} \\quad v _ {\\mathrm {n u m}} \\in \\mathbb {Z} \\tag {7}\n$$\n",
|
| 394 |
+
"text_format": "latex",
|
| 395 |
+
"bbox": [
|
| 396 |
+
200,
|
| 397 |
+
753,
|
| 398 |
+
825,
|
| 399 |
+
767
|
| 400 |
+
],
|
| 401 |
+
"page_idx": 2
|
| 402 |
+
},
|
| 403 |
+
{
|
| 404 |
+
"type": "text",
|
| 405 |
+
"text": "At the core of our grammar, we consider two (symmetrical) types of base-constraints $C$ (Eq. 3):",
|
| 406 |
+
"bbox": [
|
| 407 |
+
169,
|
| 408 |
+
768,
|
| 409 |
+
799,
|
| 410 |
+
786
|
| 411 |
+
],
|
| 412 |
+
"page_idx": 2
|
| 413 |
+
},
|
| 414 |
+
{
|
| 415 |
+
"type": "list",
|
| 416 |
+
"sub_type": "text",
|
| 417 |
+
"list_items": [
|
| 418 |
+
"1. Count constraints. count $(T,\\ell ,v_{\\mathrm{str}})\\oplus v_{\\mathrm{num}}$ constrains the occurrences of a particular level- $\\ell$ string $v_{\\mathrm{str}}$ . For example, count $(T,$ word, happy') $\\leq 3$ means \"T should contain the word happy' no more than 3 times\". In contrast, count $(T,\\ell ,\\ell^{\\prime})\\oplus v_{\\mathrm{num}}$ constrains the occurrences of level- $\\ell$ strings in each level- $\\ell^{\\prime}$ unit of text T. For example, count $(T,$ char, sentence) $= 50$ means \"each sentence of text T should have exactly 50 characters\".",
|
| 419 |
+
"2. Position constraints. $\\text{pos}(T, \\ell, v_{\\text{num}}) \\circ v_{\\text{str}}$ specifies that a particular part of the text $T$ should equal (or not equal) the given string $v_{\\text{str}}$ . For example, $\\text{pos}(T, \\text{word}, 3) = \\text{'happy'}$ means \"the 3rd word should be 'happy' in text $T$ \". We also allow negative indices for reverse counting, e.g. $\\text{pos}(T, \\text{char}, -1) \\neq x$ means \"the last letter should not be 'x' in text $T$ \"."
|
| 420 |
+
],
|
| 421 |
+
"bbox": [
|
| 422 |
+
169,
|
| 423 |
+
791,
|
| 424 |
+
826,
|
| 425 |
+
925
|
| 426 |
+
],
|
| 427 |
+
"page_idx": 2
|
| 428 |
+
},
|
| 429 |
+
{
|
| 430 |
+
"type": "header",
|
| 431 |
+
"text": "Published as a conference paper at ICLR 2024",
|
| 432 |
+
"bbox": [
|
| 433 |
+
171,
|
| 434 |
+
32,
|
| 435 |
+
478,
|
| 436 |
+
47
|
| 437 |
+
],
|
| 438 |
+
"page_idx": 2
|
| 439 |
+
},
|
| 440 |
+
{
|
| 441 |
+
"type": "page_number",
|
| 442 |
+
"text": "3",
|
| 443 |
+
"bbox": [
|
| 444 |
+
493,
|
| 445 |
+
948,
|
| 446 |
+
503,
|
| 447 |
+
959
|
| 448 |
+
],
|
| 449 |
+
"page_idx": 2
|
| 450 |
+
},
|
| 451 |
+
{
|
| 452 |
+
"type": "text",
|
| 453 |
+
"text": "Note that the grammar above can easily be extended to accommodate more types of base-constraints (e.g. part of speech, sentiment) by implementing the corresponding semantic checks — we leave this to future work. Also for convenience, we use constraint structure to refer to a family of constraint specifications that only differ in their values (e.g. generate a sentence with exactly $x$ words, $x \\in \\mathbb{N}$ ), and constraint to refer to a particular constraint specification with concrete values (e.g. generate a sentence with exactly 5 words).",
|
| 454 |
+
"bbox": [
|
| 455 |
+
169,
|
| 456 |
+
103,
|
| 457 |
+
826,
|
| 458 |
+
188
|
| 459 |
+
],
|
| 460 |
+
"page_idx": 3
|
| 461 |
+
},
|
| 462 |
+
{
|
| 463 |
+
"type": "text",
|
| 464 |
+
"text": "Examples and conceptual challenges. Our grammar can express a wide range of constraints through logical compositions of base-constraints across different text levels. Table II illustrates some structures across generation levels, identified by names such as para01 for paragraph generation, etc.",
|
| 465 |
+
"bbox": [
|
| 466 |
+
169,
|
| 467 |
+
194,
|
| 468 |
+
823,
|
| 469 |
+
238
|
| 470 |
+
],
|
| 471 |
+
"page_idx": 3
|
| 472 |
+
},
|
| 473 |
+
{
|
| 474 |
+
"type": "text",
|
| 475 |
+
"text": "In addition to the generation levels, count and pos across different levels introduce a variety of challenges. For example, word01 and sent01 challenge token-based language models to count characters; pass01 requires high-level semantic planning for models to generate a coherent passage under constraints; sent04 and para02 challenge models to generate text with presence or absence of particular words; sent03, para03, and para04 require counting at multiple levels; and word02, word03, sent02, para05, and pass01 combine counting and positional challenges at different levels, which can be considered most demanding conceptually. We empirically assess the difficulty of constraint structures in Section 5. Example COLLIE usage is presented in Figure 2",
|
| 476 |
+
"bbox": [
|
| 477 |
+
169,
|
| 478 |
+
243,
|
| 479 |
+
558,
|
| 480 |
+
441
|
| 481 |
+
],
|
| 482 |
+
"page_idx": 3
|
| 483 |
+
},
|
| 484 |
+
{
|
| 485 |
+
"type": "code",
|
| 486 |
+
"sub_type": "code",
|
| 487 |
+
"code_caption": [],
|
| 488 |
+
"code_body": "from collieconstraints import ( Constraint, TargetLevel, Count, Relation \n) \nc $=$ Constraint( target_level $\\equiv$ TargetLevel('word'), transformation $\\equiv$ Count(), relation $\\equiv$ Relation('=='), \n) \ntext $=$ 'This is a good sentence.' \nprint(c.check(text,5)) # True",
|
| 489 |
+
"guess_lang": "python",
|
| 490 |
+
"bbox": [
|
| 491 |
+
565,
|
| 492 |
+
253,
|
| 493 |
+
808,
|
| 494 |
+
369
|
| 495 |
+
],
|
| 496 |
+
"page_idx": 3
|
| 497 |
+
},
|
| 498 |
+
{
|
| 499 |
+
"type": "text",
|
| 500 |
+
"text": "Figure 2: Example COLLIE code for a simple number of words constraint.",
|
| 501 |
+
"bbox": [
|
| 502 |
+
565,
|
| 503 |
+
388,
|
| 504 |
+
823,
|
| 505 |
+
417
|
| 506 |
+
],
|
| 507 |
+
"page_idx": 3
|
| 508 |
+
},
|
| 509 |
+
{
|
| 510 |
+
"type": "table",
|
| 511 |
+
"img_path": "images/e2ef9be83a2cd6b619270a5dd3406807cc0d31a107026703229f9c3c58029fda.jpg",
|
| 512 |
+
"table_caption": [
|
| 513 |
+
"Table 1: List of all constraint structures used in COLLIE-v1, with (simplified) example values."
|
| 514 |
+
],
|
| 515 |
+
"table_footnote": [],
|
| 516 |
+
"table_body": "<table><tr><td>ID</td><td>Example instruction</td><td>Multi-constraint M</td></tr><tr><td>word01</td><td>Generate a word with at least 15 letters.</td><td>count(ξ, char, word) ≥ 15</td></tr><tr><td>word02</td><td>Generate a word with 10 letters, where letter 1 is 's', letter 3 is 'r', letter 9 is 'e'.</td><td>count(ξ, char, word) = 10 ∧ pos(ξ, char, 1) = 's' ∧ pos(ξ, char, 3) = 'r' ∧ pos(ξ, char, 9) = 'e'</td></tr><tr><td>word03</td><td>Generate a word with at most 10 letters and ends with "r".</td><td>count(ξ, char, word) ≤ 10 ∧ pos(ξ, char, -1) = 'r'</td></tr><tr><td>sent01</td><td>Please generate a sentence with exactly 82 characters. Include whitespace into your character count.</td><td>count(ξ, char, sentence) = 82</td></tr><tr><td>sent02</td><td>Generate a sentence with 10 words, where word 3 is "soft" and word 7 is "beach" and word 10 is "math".</td><td>count(ξ, word, sentence) = 10 ∧ pos(ξ, word, 3) = "soft" ∧ pos(ξ, word, 7) = "beach" ∧ pos(ξ, word, 10) = "math"</td></tr><tr><td>sent03</td><td>Generate a sentence with at least 20 words, and each word less than six characters.</td><td>count(ξ, word, sentence) ≥ 20 ∧ count(ξ, char, word) ≤ 6</td></tr><tr><td>sent04</td><td>Generate a sentence but be sure to include the words "soft", "beach" and "math".</td><td>count(ξ, word, 'soft') > 0 ∧ count(ξ, word, 'beach') > 0 ∧ count(ξ, word, 'math') > 0</td></tr><tr><td>para01</td><td>Generate a paragraph where each sentence begins with the word "soft".</td><td>pos(pos(ξ, sentence, 1), word, 1) = 'soft' ∧ pos(pos(ξ, sentence, 2), word, 1) = 'soft' ∧ ...</td></tr><tr><td>para02</td><td>Generate a paragraph with at least 4 sentences, but do not use the words "the", "and" or "of".</td><td>count(ξ, sentence, paragraph) ≥ 4 ∧ count(ξ, word, 'the') = 0 ∧ count(ξ, word, 'and') = 0 ∧ count(ξ, word, 'of') = 0</td></tr><tr><td>para03</td><td>Generate a paragraph with exactly 4 sentences, each with between 10 and 15 words.</td><td>count(ξ, sentence, paragraph) = 4 ∧ count(ξ, word, sentence) ≥ 10 ∧ count(ξ, word, sentence) ≤ 15</td></tr><tr><td>para04</td><td>Generate a paragraph with at least 3 sentences, each with at least 15 words.</td><td>count(ξ, sentence, paragraph) ≥ 3 ∧ count(ξ, word, sentence) ≥ 15</td></tr><tr><td>para05</td><td>Generate a paragraph with 2 sentences that end in "math" and "rock" respectively.</td><td>count(ξ, sentence, paragraph) = 2 ∧ pos(pos(ξ, sentence, 1), word, -1) = "math" ∧ pos(pos(ξ, sentence, 2), word, -1) = "rock"</td></tr><tr><td>pass01</td><td>Generate a passage with 2 paragraphs, each ending in "I sit." and "I cry." respectively.</td><td>count(ξ, paragraph, passage) = 2 ∧ pos(pos(ξ, paragraph, 1), sentence, -1) = "I sit." ∧ pos(pos(ξ, paragraph, 2), sentence, -1) = "I cry."</td></tr></table>",
|
| 517 |
+
"bbox": [
|
| 518 |
+
171,
|
| 519 |
+
484,
|
| 520 |
+
823,
|
| 521 |
+
922
|
| 522 |
+
],
|
| 523 |
+
"page_idx": 3
|
| 524 |
+
},
|
| 525 |
+
{
|
| 526 |
+
"type": "header",
|
| 527 |
+
"text": "Published as a conference paper at ICLR 2024",
|
| 528 |
+
"bbox": [
|
| 529 |
+
173,
|
| 530 |
+
32,
|
| 531 |
+
478,
|
| 532 |
+
47
|
| 533 |
+
],
|
| 534 |
+
"page_idx": 3
|
| 535 |
+
},
|
| 536 |
+
{
|
| 537 |
+
"type": "page_number",
|
| 538 |
+
"text": "4",
|
| 539 |
+
"bbox": [
|
| 540 |
+
491,
|
| 541 |
+
948,
|
| 542 |
+
504,
|
| 543 |
+
959
|
| 544 |
+
],
|
| 545 |
+
"page_idx": 3
|
| 546 |
+
},
|
| 547 |
+
{
|
| 548 |
+
"type": "text",
|
| 549 |
+
"text": "In conjunction with the grammar, we develop a set of compiling tools to help construct datasets with minimal human efforts. Concretely, the pipeline of dataset construction involves 4 stages (Figure 1):",
|
| 550 |
+
"bbox": [
|
| 551 |
+
169,
|
| 552 |
+
103,
|
| 553 |
+
823,
|
| 554 |
+
133
|
| 555 |
+
],
|
| 556 |
+
"page_idx": 4
|
| 557 |
+
},
|
| 558 |
+
{
|
| 559 |
+
"type": "list",
|
| 560 |
+
"sub_type": "text",
|
| 561 |
+
"list_items": [
|
| 562 |
+
"1. Specify constraint structures. Researchers can specify constraint structures (e.g. Table [1]), and optionally with a value range (e.g. \"generate a sentence with $x$ words\", and $5 \\leq x \\leq 10$ ). This is the only stage that involves manual effort.",
|
| 563 |
+
"2. Extract constraint values from corpora. We design an automatic extraction algorithm that runs through a given text corpus to find strings that fit a constraint structure with some value ranges. For example, given the constraint structure count( $\\xi$ , word, $\\emptyset$ ) = $x$ with value range $5 \\leq x \\leq 10$ , the extraction algorithm returns sentences in the corpus that have 5-10 words, with associated word counts. This ensures each constraint has at least one natural solution. More details are in Section 4.1.",
|
| 564 |
+
"3. Render natural language instructions. Each constraint can be rendered into a natural language instruction (Table I) via ruled-based translation, thanks to the compositionality grammar of COLLIE. For example, a constraint count $(\\xi ,\\mathrm{char},\\mathrm{'v'}) = 2\\land \\mathrm{count}(\\xi ,\\mathrm{char},\\mathrm{'i'}) = 3$ can be synthetically rendered into the instruction \"Please generate a word with exactly 2 character 'v' and exactly 3 character 'i'\". It is also possible to improve the instruction fluency or naturalness by adding additional rules to the synthetic translation, or use LLMs to polish instructions. More details are in Section A.1",
|
| 565 |
+
"4. Evaluate generations. Given text $\\xi$ generated by a model, we use a parser to evaluate it against a constraint specification $S$ and derive a True/False value, indicating if $\\xi$ satisfies $S$ . We use an average success rate as the main metric to evaluate constraint conformance. We can also compare the fluency of $\\xi$ against the corpus-extracted \"groundtruth\" text, and render more fine-grained natural language feedback indicating which base-constraints are met and which not (see Section A.2)."
|
| 566 |
+
],
|
| 567 |
+
"bbox": [
|
| 568 |
+
169,
|
| 569 |
+
138,
|
| 570 |
+
826,
|
| 571 |
+
426
|
| 572 |
+
],
|
| 573 |
+
"page_idx": 4
|
| 574 |
+
},
|
| 575 |
+
{
|
| 576 |
+
"type": "text",
|
| 577 |
+
"text": "4 COLLIE-V1 DATASET",
|
| 578 |
+
"text_level": 1,
|
| 579 |
+
"bbox": [
|
| 580 |
+
171,
|
| 581 |
+
450,
|
| 582 |
+
382,
|
| 583 |
+
465
|
| 584 |
+
],
|
| 585 |
+
"page_idx": 4
|
| 586 |
+
},
|
| 587 |
+
{
|
| 588 |
+
"type": "text",
|
| 589 |
+
"text": "We construct COLLIE-v1 using constraints structures from Table [1], which contains 2,080 constraint instances from 13 constraint types, with 1,435 unique constraint prompts. The broader NLP community can contribute to future dataset releases by adding additional constraints, metrics, data sources. The curated constraint set can co-evolve with models to become more challenging and comprehensive as model capabilities improve.",
|
| 590 |
+
"bbox": [
|
| 591 |
+
169,
|
| 592 |
+
484,
|
| 593 |
+
826,
|
| 594 |
+
555
|
| 595 |
+
],
|
| 596 |
+
"page_idx": 4
|
| 597 |
+
},
|
| 598 |
+
{
|
| 599 |
+
"type": "text",
|
| 600 |
+
"text": "4.1 CONSTRAINT SPECIFICATION AND EXTRACTION",
|
| 601 |
+
"text_level": 1,
|
| 602 |
+
"bbox": [
|
| 603 |
+
171,
|
| 604 |
+
575,
|
| 605 |
+
545,
|
| 606 |
+
589
|
| 607 |
+
],
|
| 608 |
+
"page_idx": 4
|
| 609 |
+
},
|
| 610 |
+
{
|
| 611 |
+
"type": "text",
|
| 612 |
+
"text": "Constraint specification. We begin by defining 13 constraint structures. We chose these 13 structures to span various generation levels (word, sentence, paragraph and passage generation) and challenges (counting, position). In total, we have 3 word-level, 4 sentence-level, 5 paragraph-level, and 1 passage-level constraint structures. Of these 13 constraint structures, 5 are single-level and the remaining 8 are multi-level constraints. See Table $\\boxed{1}$ for the exact constraint structures we use.",
|
| 613 |
+
"bbox": [
|
| 614 |
+
169,
|
| 615 |
+
603,
|
| 616 |
+
823,
|
| 617 |
+
675
|
| 618 |
+
],
|
| 619 |
+
"page_idx": 4
|
| 620 |
+
},
|
| 621 |
+
{
|
| 622 |
+
"type": "text",
|
| 623 |
+
"text": "Constraint extraction. While constructing constraint structures is straightforward using our grammar, choosing constraint targets is challenging for two reasons: (1) Not all targets will admit a conforming natural language string. For instance, the constraint, \"Generate a two word sentence beginning with the word The.\" has no grammatically acceptable answer. (2) Even if a constraint admits a possible answer, it may not admit a plausible answer. For instance, \"Generate a sentence with 1928 words\" is possible, but any such sentence is very unlikely to appear in regular discourse.",
|
| 624 |
+
"bbox": [
|
| 625 |
+
169,
|
| 626 |
+
680,
|
| 627 |
+
826,
|
| 628 |
+
765
|
| 629 |
+
],
|
| 630 |
+
"page_idx": 4
|
| 631 |
+
},
|
| 632 |
+
{
|
| 633 |
+
"type": "text",
|
| 634 |
+
"text": "To address both challenges, we sample constraint target values from natural language corpora, which we denote as the data source. Given a constraint structure $\\mathcal{C}$ and documents $\\bar{\\mathcal{D}} = \\{d_1,\\dots,d_n\\}$ , we chunk each document into a series of strings $d_{i} = \\{s_{1},\\ldots ,s_{m}\\}$ , where each $s_i$ can be a sentence, paragraph, or passage as required by $\\mathcal{C}$ . Each string $s_i$ undergoes source-specific automated filtering and post-processing to remove artifacts, which we detail in Section B.4. Given $\\mathcal{C}$ and $s_i$ , we extract target values such that $\\mathcal{C}$ is satisfied. In most cases, the satisfying target values can be directly extracted using our provided utilities. For example, for constraints with structure \"sentence with $x$ words\", we can directly apply word tokenization and counting to the example string $s_i$ . In cases in which direct extraction is not possible, (e.g. \"do not include word $w$ \", we specify a range of possible targets (e.g. $\\{\\text{the, and, of}\\}$ ) to sweep over. All in all, our approach ensures that (1) there exists a natural language string that can satisfy each constraint and target pair, and (2) the targets follow a",
|
| 635 |
+
"bbox": [
|
| 636 |
+
169,
|
| 637 |
+
771,
|
| 638 |
+
826,
|
| 639 |
+
925
|
| 640 |
+
],
|
| 641 |
+
"page_idx": 4
|
| 642 |
+
},
|
| 643 |
+
{
|
| 644 |
+
"type": "header",
|
| 645 |
+
"text": "Published as a conference paper at ICLR 2024",
|
| 646 |
+
"bbox": [
|
| 647 |
+
171,
|
| 648 |
+
32,
|
| 649 |
+
478,
|
| 650 |
+
47
|
| 651 |
+
],
|
| 652 |
+
"page_idx": 4
|
| 653 |
+
},
|
| 654 |
+
{
|
| 655 |
+
"type": "page_number",
|
| 656 |
+
"text": "5",
|
| 657 |
+
"bbox": [
|
| 658 |
+
493,
|
| 659 |
+
948,
|
| 660 |
+
503,
|
| 661 |
+
959
|
| 662 |
+
],
|
| 663 |
+
"page_idx": 4
|
| 664 |
+
},
|
| 665 |
+
{
|
| 666 |
+
"type": "image",
|
| 667 |
+
"img_path": "images/01ce8992ba7b73db65efdf9993dc1d61d35679af620de85fa810c35b9457cd50.jpg",
|
| 668 |
+
"image_caption": [
|
| 669 |
+
"Figure 3: Data statistics. (a) Number of constraints from each constraint structure. (b) Fraction of strings removed by automated filtering. (c) Length statistics for different levels for each data source."
|
| 670 |
+
],
|
| 671 |
+
"image_footnote": [],
|
| 672 |
+
"bbox": [
|
| 673 |
+
176,
|
| 674 |
+
99,
|
| 675 |
+
823,
|
| 676 |
+
244
|
| 677 |
+
],
|
| 678 |
+
"page_idx": 5
|
| 679 |
+
},
|
| 680 |
+
{
|
| 681 |
+
"type": "text",
|
| 682 |
+
"text": "plausible distribution induced by natural language corpora. Our extraction system is extensible, and can operate on new constraints and data sources with minimal modifications.",
|
| 683 |
+
"bbox": [
|
| 684 |
+
169,
|
| 685 |
+
321,
|
| 686 |
+
823,
|
| 687 |
+
351
|
| 688 |
+
],
|
| 689 |
+
"page_idx": 5
|
| 690 |
+
},
|
| 691 |
+
{
|
| 692 |
+
"type": "text",
|
| 693 |
+
"text": "Extensibility Adding additional data sources to the extraction pipeline is similarly easy, requiring a text delimiter, and optional string filtering and post-processing functions. As a case-study on the extensibility of COLLIE, we demonstrate how to extend constraints to include POS-tags such as \"Generate a sentence with verbs\". Details are in section B.5",
|
| 694 |
+
"bbox": [
|
| 695 |
+
169,
|
| 696 |
+
377,
|
| 697 |
+
823,
|
| 698 |
+
434
|
| 699 |
+
],
|
| 700 |
+
"page_idx": 5
|
| 701 |
+
},
|
| 702 |
+
{
|
| 703 |
+
"type": "text",
|
| 704 |
+
"text": "4.2 DATA SOURCES",
|
| 705 |
+
"text_level": 1,
|
| 706 |
+
"bbox": [
|
| 707 |
+
171,
|
| 708 |
+
463,
|
| 709 |
+
323,
|
| 710 |
+
477
|
| 711 |
+
],
|
| 712 |
+
"page_idx": 5
|
| 713 |
+
},
|
| 714 |
+
{
|
| 715 |
+
"type": "text",
|
| 716 |
+
"text": "To adequately cover diverse styles and content, we extract constraint targets from three distinct data sources: Wikipedia (Wiki) (Foundation 2022), Common Crawl News (CC-News) (Hamborg et al., 2017), and the Project Gutenberg Corpus (Guten) (Brooke et al., 2015). We provide an overview of these data sources below and leave source-specific filtering and post-processing details to Section B.4.",
|
| 717 |
+
"bbox": [
|
| 718 |
+
169,
|
| 719 |
+
494,
|
| 720 |
+
826,
|
| 721 |
+
551
|
| 722 |
+
],
|
| 723 |
+
"page_idx": 5
|
| 724 |
+
},
|
| 725 |
+
{
|
| 726 |
+
"type": "text",
|
| 727 |
+
"text": "Wiki. Wikipedia (Wiki) (Foundation, 2022) consists of over 6 million English Wikipedia articles. We included this data source for the diverse subject matter present in the corpus.",
|
| 728 |
+
"bbox": [
|
| 729 |
+
169,
|
| 730 |
+
556,
|
| 731 |
+
826,
|
| 732 |
+
585
|
| 733 |
+
],
|
| 734 |
+
"page_idx": 5
|
| 735 |
+
},
|
| 736 |
+
{
|
| 737 |
+
"type": "text",
|
| 738 |
+
"text": "CC-News. The Common Crawl News corpus (CC-News) (Hamborg et al., 2017) consists of 708,241 English language news articles published between Jan 2017 and December 2019. We include CC-News to include interview dialogues, as well as popular culture and current events.",
|
| 739 |
+
"bbox": [
|
| 740 |
+
169,
|
| 741 |
+
590,
|
| 742 |
+
823,
|
| 743 |
+
635
|
| 744 |
+
],
|
| 745 |
+
"page_idx": 5
|
| 746 |
+
},
|
| 747 |
+
{
|
| 748 |
+
"type": "text",
|
| 749 |
+
"text": "Gutenberg. The Project Gutenberg corpus (Gutenberg) (Brooke et al., 2015) consists of over 50,000 documents that include fiction, histories, biographies, and other works that are in the public domain in the United States. We include this corpus for its variety in genres (e.g. non-fiction, fiction, plays, etc.) and style from different time periods.",
|
| 750 |
+
"bbox": [
|
| 751 |
+
169,
|
| 752 |
+
640,
|
| 753 |
+
826,
|
| 754 |
+
698
|
| 755 |
+
],
|
| 756 |
+
"page_idx": 5
|
| 757 |
+
},
|
| 758 |
+
{
|
| 759 |
+
"type": "text",
|
| 760 |
+
"text": "4.3 DATA VALIDATION AND STATISTICS",
|
| 761 |
+
"text_level": 1,
|
| 762 |
+
"bbox": [
|
| 763 |
+
171,
|
| 764 |
+
726,
|
| 765 |
+
460,
|
| 766 |
+
739
|
| 767 |
+
],
|
| 768 |
+
"page_idx": 5
|
| 769 |
+
},
|
| 770 |
+
{
|
| 771 |
+
"type": "text",
|
| 772 |
+
"text": "We extract constraints from 300 randomly sampled documents from each source. After extracting the target values, we sample up to 100 targets for each constraint structure on each data source. We remove any string targets by that begins or ends with any character that is not a letter or number. We randomly sample 5 out of these 100 targets and their supporting examples to qualitatively verify their validity. Since the extraction process is relatively fast, we modify filters and post-processors if there are systemic issues and re-run the extraction phase. We provide statistics of the final number of constraints from each constraint structure in Figure 3(a). Some constraints (e.g. number of sentences per paragraph) are tightly clustered around the mean, and thus do not induce many valid constraint targets. The fraction of strings filtered for each data source and level is presented in Figure 3(b). The automated filtering removes a large fraction of the strings in most cases, as high recall is important to ensure quality. The high fraction of omitted passages is due to the removal of passages $< 2$ paragraphs in length. Mean lengths for each level and data source is presented in Figure 3(c).",
|
| 773 |
+
"bbox": [
|
| 774 |
+
169,
|
| 775 |
+
757,
|
| 776 |
+
826,
|
| 777 |
+
926
|
| 778 |
+
],
|
| 779 |
+
"page_idx": 5
|
| 780 |
+
},
|
| 781 |
+
{
|
| 782 |
+
"type": "header",
|
| 783 |
+
"text": "Published as a conference paper at ICLR 2024",
|
| 784 |
+
"bbox": [
|
| 785 |
+
171,
|
| 786 |
+
32,
|
| 787 |
+
478,
|
| 788 |
+
47
|
| 789 |
+
],
|
| 790 |
+
"page_idx": 5
|
| 791 |
+
},
|
| 792 |
+
{
|
| 793 |
+
"type": "page_number",
|
| 794 |
+
"text": "6",
|
| 795 |
+
"bbox": [
|
| 796 |
+
493,
|
| 797 |
+
948,
|
| 798 |
+
504,
|
| 799 |
+
959
|
| 800 |
+
],
|
| 801 |
+
"page_idx": 5
|
| 802 |
+
},
|
| 803 |
+
{
|
| 804 |
+
"type": "image",
|
| 805 |
+
"img_path": "images/6b6eab43112355755f7b14a01044efd6d5914b3325db40ab1afacdd8e70213c5.jpg",
|
| 806 |
+
"image_caption": [],
|
| 807 |
+
"image_footnote": [],
|
| 808 |
+
"bbox": [
|
| 809 |
+
176,
|
| 810 |
+
102,
|
| 811 |
+
352,
|
| 812 |
+
200
|
| 813 |
+
],
|
| 814 |
+
"page_idx": 6
|
| 815 |
+
},
|
| 816 |
+
{
|
| 817 |
+
"type": "image",
|
| 818 |
+
"img_path": "images/1825101045b3b15ff858efe1e838cecfd41095f5a2dce0272f5af54be9b90efb.jpg",
|
| 819 |
+
"image_caption": [],
|
| 820 |
+
"image_footnote": [],
|
| 821 |
+
"bbox": [
|
| 822 |
+
372,
|
| 823 |
+
102,
|
| 824 |
+
586,
|
| 825 |
+
204
|
| 826 |
+
],
|
| 827 |
+
"page_idx": 6
|
| 828 |
+
},
|
| 829 |
+
{
|
| 830 |
+
"type": "image",
|
| 831 |
+
"img_path": "images/3a32528f3008e967250353b651fbbcd29d6aa9f41102f6cd2a007bed377f8659.jpg",
|
| 832 |
+
"image_caption": [],
|
| 833 |
+
"image_footnote": [],
|
| 834 |
+
"bbox": [
|
| 835 |
+
601,
|
| 836 |
+
102,
|
| 837 |
+
816,
|
| 838 |
+
204
|
| 839 |
+
],
|
| 840 |
+
"page_idx": 6
|
| 841 |
+
},
|
| 842 |
+
{
|
| 843 |
+
"type": "image",
|
| 844 |
+
"img_path": "images/7746b3793a446682089bca37b96b155db9322db1b0f84229443c62c0b84f390a.jpg",
|
| 845 |
+
"image_caption": [
|
| 846 |
+
"Figure 4: Model comparison. (a) Overall model performance summarized by weighted average across all constraint groups. (b) -(f) Constraint satisfaction rates of generated texts by GPT-4, GPT-3.5, PaLM, Vicuna-7B, and Alpaca-7B across various constraint groups. Error bars represent standard error. Constraint group names are in Table[1]. Sample sizes are reported in Figure[11]."
|
| 847 |
+
],
|
| 848 |
+
"image_footnote": [],
|
| 849 |
+
"bbox": [
|
| 850 |
+
176,
|
| 851 |
+
205,
|
| 852 |
+
375,
|
| 853 |
+
310
|
| 854 |
+
],
|
| 855 |
+
"page_idx": 6
|
| 856 |
+
},
|
| 857 |
+
{
|
| 858 |
+
"type": "image",
|
| 859 |
+
"img_path": "images/faea035ee0248327fc781704a1967adccd662af44781b93a8dfa9e6528aa8759.jpg",
|
| 860 |
+
"image_caption": [],
|
| 861 |
+
"image_footnote": [],
|
| 862 |
+
"bbox": [
|
| 863 |
+
377,
|
| 864 |
+
207,
|
| 865 |
+
599,
|
| 866 |
+
309
|
| 867 |
+
],
|
| 868 |
+
"page_idx": 6
|
| 869 |
+
},
|
| 870 |
+
{
|
| 871 |
+
"type": "image",
|
| 872 |
+
"img_path": "images/3990fa850e201da5848b8ef95819c04532ce077cb1efe581fe659fd3ac0bf35d.jpg",
|
| 873 |
+
"image_caption": [],
|
| 874 |
+
"image_footnote": [],
|
| 875 |
+
"bbox": [
|
| 876 |
+
599,
|
| 877 |
+
207,
|
| 878 |
+
821,
|
| 879 |
+
310
|
| 880 |
+
],
|
| 881 |
+
"page_idx": 6
|
| 882 |
+
},
|
| 883 |
+
{
|
| 884 |
+
"type": "text",
|
| 885 |
+
"text": "5 RESULTS",
|
| 886 |
+
"text_level": 1,
|
| 887 |
+
"bbox": [
|
| 888 |
+
171,
|
| 889 |
+
421,
|
| 890 |
+
282,
|
| 891 |
+
435
|
| 892 |
+
],
|
| 893 |
+
"page_idx": 6
|
| 894 |
+
},
|
| 895 |
+
{
|
| 896 |
+
"type": "text",
|
| 897 |
+
"text": "Our main experiments in this paper focus on a zero-shot prompting setup with the following language models (LMs): 1) larger and closed-source LMs such as OpenAI GPT (Brown et al., 2020; OpenAI, 2023b) (gpt-3.5-turbo, gpt-4) and Google PaLM-2 (Anil et al., 2023) (text-bison-001); 2) smaller and open-source LMs such as Alpaca-7B (Taori et al., 2023), Vicuna-7B (Chiang et al., 2023). We performed additional one-shot prompting and find GPT performances similar to zero-shot performance, see Section C.1 By default, we use a sampling temperature of 0.7, and sample multiple trials (20 for GPT/PaLM, 5 for Alpaca/Vicuna). All experiments were run in July, 2023.",
|
| 898 |
+
"bbox": [
|
| 899 |
+
169,
|
| 900 |
+
464,
|
| 901 |
+
826,
|
| 902 |
+
561
|
| 903 |
+
],
|
| 904 |
+
"page_idx": 6
|
| 905 |
+
},
|
| 906 |
+
{
|
| 907 |
+
"type": "text",
|
| 908 |
+
"text": "Zero-shot performance comparison. As evidenced in Figures $\\boxed{4}$ (a), GPT-4 consistently surpassed other models in zero-shot constrained text generation performances, achieving more than twice the constraint satisfaction rate than other non-GPT models. The overarching performance trend observed shows GPT-4 leading the pack, followed by GPT-3.5 and PaLM with a large gap, and then followed closely by the smaller models, Vicuna-7B and Alpaca-7B.",
|
| 909 |
+
"bbox": [
|
| 910 |
+
169,
|
| 911 |
+
568,
|
| 912 |
+
823,
|
| 913 |
+
638
|
| 914 |
+
],
|
| 915 |
+
"page_idx": 6
|
| 916 |
+
},
|
| 917 |
+
{
|
| 918 |
+
"type": "text",
|
| 919 |
+
"text": "Constraints all models can follow. Certain tasks, specifically word01 (generating a word with at least $a$ letters), sent04 (generating a sentence containing words X, Y, Z), and para01 (generating a paragraph with each sentence starting with the word X), posed minimal challenge to the majority of contemporary language models. These tasks demonstrate the proficiency of current models at simple constraints ensuring existence, as depicted in Figure 9(f).",
|
| 920 |
+
"bbox": [
|
| 921 |
+
169,
|
| 922 |
+
645,
|
| 923 |
+
825,
|
| 924 |
+
715
|
| 925 |
+
],
|
| 926 |
+
"page_idx": 6
|
| 927 |
+
},
|
| 928 |
+
{
|
| 929 |
+
"type": "text",
|
| 930 |
+
"text": "Constraints partially solved by GPT-4 only. However, a notable distinction arose when tasks incorporated more counting/position constraints and requested longer generations. Tasks such as word03, para04, para05, and pass01 were only partially addressed by GPT-4, with constraint satisfaction rates ranging between $40\\%$ and $70\\%$ . Despite GPT-4's partial success in these tasks, other models failed to deliver any satisfactory performance.",
|
| 931 |
+
"bbox": [
|
| 932 |
+
169,
|
| 933 |
+
720,
|
| 934 |
+
823,
|
| 935 |
+
792
|
| 936 |
+
],
|
| 937 |
+
"page_idx": 6
|
| 938 |
+
},
|
| 939 |
+
{
|
| 940 |
+
"type": "text",
|
| 941 |
+
"text": "Constraints remaining very challenging. Furthermore, some tasks proved challenging across all models. Tasks word02, sent01, sent02, and para03 present challenges in terms of arbitrary position constraints and mixed counting levels (see Section 5.1 for detailed analysis), indicating areas that necessitate further advancements in language model technology. Moreover, the average pass@20 rate of GPT-4 was above $63\\%$ across all constraints, significantly higher than the $32\\%$ achieved by GPT-3.5, as depicted in Figure 5. Although GPT-4 demonstrated a significant performance advantage, its constraint satisfaction rate of $63\\%$ is far from perfect. This suggests considerable scope for improvement in controllable text generation with language models. These findings underscore the opportunities and challenges in the continued evolution of language models.",
|
| 942 |
+
"bbox": [
|
| 943 |
+
169,
|
| 944 |
+
797,
|
| 945 |
+
826,
|
| 946 |
+
925
|
| 947 |
+
],
|
| 948 |
+
"page_idx": 6
|
| 949 |
+
},
|
| 950 |
+
{
|
| 951 |
+
"type": "header",
|
| 952 |
+
"text": "Published as a conference paper at ICLR 2024",
|
| 953 |
+
"bbox": [
|
| 954 |
+
173,
|
| 955 |
+
32,
|
| 956 |
+
478,
|
| 957 |
+
47
|
| 958 |
+
],
|
| 959 |
+
"page_idx": 6
|
| 960 |
+
},
|
| 961 |
+
{
|
| 962 |
+
"type": "page_number",
|
| 963 |
+
"text": "7",
|
| 964 |
+
"bbox": [
|
| 965 |
+
493,
|
| 966 |
+
948,
|
| 967 |
+
503,
|
| 968 |
+
959
|
| 969 |
+
],
|
| 970 |
+
"page_idx": 6
|
| 971 |
+
},
|
| 972 |
+
{
|
| 973 |
+
"type": "image",
|
| 974 |
+
"img_path": "images/6f67cbdcb1076513d92bcedd29649678189a4abc57e724a9560c725e7a2a21f9.jpg",
|
| 975 |
+
"image_caption": [
|
| 976 |
+
"Figure 5: Pass@k performance. We sample the model-generated text 20 times for all instruction prompts in the dataset. The curves represent the average pass rate across all instruction prompts up to $k$ samples. The shaded areas indicate the standard errors."
|
| 977 |
+
],
|
| 978 |
+
"image_footnote": [],
|
| 979 |
+
"bbox": [
|
| 980 |
+
176,
|
| 981 |
+
108,
|
| 982 |
+
464,
|
| 983 |
+
270
|
| 984 |
+
],
|
| 985 |
+
"page_idx": 7
|
| 986 |
+
},
|
| 987 |
+
{
|
| 988 |
+
"type": "image",
|
| 989 |
+
"img_path": "images/8956c2d695e53a39a8e708e0b11f41011a926dbd79ecccb2984d0cf4cf340927.jpg",
|
| 990 |
+
"image_caption": [
|
| 991 |
+
"Figure 6: Position effect. Satisfaction rates of LMs on tasks involving pos( $\\xi$ , level, i). The tasks word02 and sent02 impose constraints on characters and words at arbitrary positions. The task para01 constrains the first word. The tasks word03, para05, and pass01 constrain the last characters, words, and sentences."
|
| 992 |
+
],
|
| 993 |
+
"image_footnote": [],
|
| 994 |
+
"bbox": [
|
| 995 |
+
482,
|
| 996 |
+
103,
|
| 997 |
+
836,
|
| 998 |
+
270
|
| 999 |
+
],
|
| 1000 |
+
"page_idx": 7
|
| 1001 |
+
},
|
| 1002 |
+
{
|
| 1003 |
+
"type": "image",
|
| 1004 |
+
"img_path": "images/fcfac2bc7b35d16406eeabc7718fc32ba808e0bc8940f349d3736a77429f107c.jpg",
|
| 1005 |
+
"image_caption": [
|
| 1006 |
+
"Figure 7: Counting level effect. Satisfaction rates for LMs on tasks involving count $(\\xi, \\text{level}, \\varphi)$ . Task word01 sets a minimum word length of $a$ . Task sent01 requires exactly $a$ characters in a sentence. Task sent03 asks a sentence to contain at least $b$ words, with each word no longer than $a$ letters. Task para04 asks a paragraph to consist of at least $b$ sentences, each containing a minimum of $a$ words. Task para03 further imposes an upper limit on the number of words per sentence."
|
| 1007 |
+
],
|
| 1008 |
+
"image_footnote": [],
|
| 1009 |
+
"bbox": [
|
| 1010 |
+
176,
|
| 1011 |
+
388,
|
| 1012 |
+
823,
|
| 1013 |
+
571
|
| 1014 |
+
],
|
| 1015 |
+
"page_idx": 7
|
| 1016 |
+
},
|
| 1017 |
+
{
|
| 1018 |
+
"type": "text",
|
| 1019 |
+
"text": "5.1 ANALYSIS",
|
| 1020 |
+
"text_level": 1,
|
| 1021 |
+
"bbox": [
|
| 1022 |
+
171,
|
| 1023 |
+
686,
|
| 1024 |
+
287,
|
| 1025 |
+
699
|
| 1026 |
+
],
|
| 1027 |
+
"page_idx": 7
|
| 1028 |
+
},
|
| 1029 |
+
{
|
| 1030 |
+
"type": "text",
|
| 1031 |
+
"text": "Performance consistency across data sources. We observe a high degree of consistency in the performance of models on a given constraint structure, regardless of the data source. This uniformity is evident across all models, as highlighted in Figure 9(g). This indicates that the ability of a language model to adhere to the logic of constraints takes precedence over the specific target values or the distribution of the data.",
|
| 1032 |
+
"bbox": [
|
| 1033 |
+
169,
|
| 1034 |
+
713,
|
| 1035 |
+
823,
|
| 1036 |
+
784
|
| 1037 |
+
],
|
| 1038 |
+
"page_idx": 7
|
| 1039 |
+
},
|
| 1040 |
+
{
|
| 1041 |
+
"type": "text",
|
| 1042 |
+
"text": "Position effect. As depicted in Figure 6 the pos( $\\xi$ , level, $i$ ) function, constraining the $i$ -th sub-string (letter, word, or sentence), exhibits varying levels of difficulty depending on the value of $i$ . Models generally perform well when the positional constraint is applied to the first sub-string ( $i = 1$ , task para01). However, only GPT-4 displays partial success with the last positional constraints ( $i = -1$ , tasks word03, para05, pass01). Notably, all models encounter difficulties when generating text that satisfies positional constraints at arbitrary positions $i$ . Additionally, we find that the position effect exhibits a lower sensitivity to constraint levels.",
|
| 1043 |
+
"bbox": [
|
| 1044 |
+
169,
|
| 1045 |
+
790,
|
| 1046 |
+
826,
|
| 1047 |
+
888
|
| 1048 |
+
],
|
| 1049 |
+
"page_idx": 7
|
| 1050 |
+
},
|
| 1051 |
+
{
|
| 1052 |
+
"type": "text",
|
| 1053 |
+
"text": "Counting level effect. Counting characters within a word is easier than within a sentence for models, as illustrated in Figure 7. Furthermore, tasks demanding exact equality (task sent01) prove more",
|
| 1054 |
+
"bbox": [
|
| 1055 |
+
169,
|
| 1056 |
+
895,
|
| 1057 |
+
826,
|
| 1058 |
+
925
|
| 1059 |
+
],
|
| 1060 |
+
"page_idx": 7
|
| 1061 |
+
},
|
| 1062 |
+
{
|
| 1063 |
+
"type": "header",
|
| 1064 |
+
"text": "Published as a conference paper at ICLR 2024",
|
| 1065 |
+
"bbox": [
|
| 1066 |
+
173,
|
| 1067 |
+
32,
|
| 1068 |
+
478,
|
| 1069 |
+
47
|
| 1070 |
+
],
|
| 1071 |
+
"page_idx": 7
|
| 1072 |
+
},
|
| 1073 |
+
{
|
| 1074 |
+
"type": "page_number",
|
| 1075 |
+
"text": "8",
|
| 1076 |
+
"bbox": [
|
| 1077 |
+
493,
|
| 1078 |
+
948,
|
| 1079 |
+
503,
|
| 1080 |
+
959
|
| 1081 |
+
],
|
| 1082 |
+
"page_idx": 7
|
| 1083 |
+
},
|
| 1084 |
+
{
|
| 1085 |
+
"type": "image",
|
| 1086 |
+
"img_path": "images/471269170ae74081720e4f808fc6a4a9801d20359d50c5746ef9e75f651cea1f.jpg",
|
| 1087 |
+
"image_caption": [
|
| 1088 |
+
"(a) Constraint satisfaction rate -GPT-4 (4th round)"
|
| 1089 |
+
],
|
| 1090 |
+
"image_footnote": [],
|
| 1091 |
+
"bbox": [
|
| 1092 |
+
189,
|
| 1093 |
+
138,
|
| 1094 |
+
488,
|
| 1095 |
+
273
|
| 1096 |
+
],
|
| 1097 |
+
"page_idx": 8
|
| 1098 |
+
},
|
| 1099 |
+
{
|
| 1100 |
+
"type": "image",
|
| 1101 |
+
"img_path": "images/82f1151ff67057b168d70e00c3bdb0bdd39065ae2de3a056d0899d07bf93d226.jpg",
|
| 1102 |
+
"image_caption": [
|
| 1103 |
+
"Figure 8: GPT-4 interactive generation performance. (a) Constraint satisfaction rate of GPT-4 generated texts in the 4th round across various constraint groups. (b) GPT-4 overall performance in different feedback rounds. The 1st round is zero-shot, and the 2nd - 4th rounds are with feedback."
|
| 1104 |
+
],
|
| 1105 |
+
"image_footnote": [],
|
| 1106 |
+
"bbox": [
|
| 1107 |
+
509,
|
| 1108 |
+
104,
|
| 1109 |
+
821,
|
| 1110 |
+
277
|
| 1111 |
+
],
|
| 1112 |
+
"page_idx": 8
|
| 1113 |
+
},
|
| 1114 |
+
{
|
| 1115 |
+
"type": "text",
|
| 1116 |
+
"text": "challenging than those requiring a range (task para03), and are considerably more difficult than tasks specifying just an upper or lower bound (tasks word01, sent03, para04).",
|
| 1117 |
+
"bbox": [
|
| 1118 |
+
169,
|
| 1119 |
+
357,
|
| 1120 |
+
823,
|
| 1121 |
+
386
|
| 1122 |
+
],
|
| 1123 |
+
"page_idx": 8
|
| 1124 |
+
},
|
| 1125 |
+
{
|
| 1126 |
+
"type": "text",
|
| 1127 |
+
"text": "Increased difficulty with logical composition. The incorporation of logical compositions into constraints considerably increases their difficulty. Task sent03 serves as an example of this, adding an extra constraint at the sentence level compared to task word01. Despite the assumption that the added constraint should be manageable for all models, performance on task sent03 uniformly trails behind that on task word01, as shown in Figure 7. This highlights the intricacy and challenge introduced by logical compositions within constraints.",
|
| 1128 |
+
"bbox": [
|
| 1129 |
+
169,
|
| 1130 |
+
392,
|
| 1131 |
+
823,
|
| 1132 |
+
476
|
| 1133 |
+
],
|
| 1134 |
+
"page_idx": 8
|
| 1135 |
+
},
|
| 1136 |
+
{
|
| 1137 |
+
"type": "text",
|
| 1138 |
+
"text": "Performance enhancement through feedback and interaction. We utilize COLLIE to generate automated natural language feedback (e.g., \"Your task is to generate a word with exactly 2 character 'v' and exactly 3 character 'i'. However, you generate a word with 3 character 'v' and 4 character 'i') and engage LLMs in a generation-feedback dialogue. In Figure 8 we observe a significant $20\\%$ improvement in GPT-4 performance after the second round of feedback. However, the model's performance plateaus at $66\\%$ even after three additional rounds of feedback, comparable to pass@5 using i.i.d. sampling. The extent of performance improvement varies across tasks, with word03's constraint satisfaction rate increasing from $62.1\\%$ to $10\\%$ . Conversely, word02, sent01, and sent02 tasks remain challenging for the model. These findings suggest that there is still room for improvement, highlighting the difficulty of our dataset, and emphasizing the need for further research on better ways to incorporate natural language feedback.",
|
| 1139 |
+
"bbox": [
|
| 1140 |
+
169,
|
| 1141 |
+
482,
|
| 1142 |
+
826,
|
| 1143 |
+
636
|
| 1144 |
+
],
|
| 1145 |
+
"page_idx": 8
|
| 1146 |
+
},
|
| 1147 |
+
{
|
| 1148 |
+
"type": "text",
|
| 1149 |
+
"text": "6 CONCLUSION",
|
| 1150 |
+
"text_level": 1,
|
| 1151 |
+
"bbox": [
|
| 1152 |
+
171,
|
| 1153 |
+
656,
|
| 1154 |
+
320,
|
| 1155 |
+
671
|
| 1156 |
+
],
|
| 1157 |
+
"page_idx": 8
|
| 1158 |
+
},
|
| 1159 |
+
{
|
| 1160 |
+
"type": "text",
|
| 1161 |
+
"text": "In this work, we present COLLIE, a grammar-based framework for specifying textual constraints. COLLIE simplifies the process of creating constrained-generation datasets by enabling researchers to focus on specifying high level constraint structures, while COLLIE automatically extracts constraint values, renders natural language instructions, and assesses model performance. To demonstrate the utility of the COLLIE framework, we construct COLLIE-v1 with 1,132 constraints from 13 different types, extracted from 3 different data sources. We evaluate five state-of-the-art LLMs of various sizes on COLLIE-v1, and find that it provides fine-grained insights into model capabilities and shortcomings. We hope that model developers can use COLLIE-v1 to develop more capable models, while future releases of COLLIE can continue to adapt to the capabilities and needs of future models and users.",
|
| 1162 |
+
"bbox": [
|
| 1163 |
+
169,
|
| 1164 |
+
676,
|
| 1165 |
+
826,
|
| 1166 |
+
801
|
| 1167 |
+
],
|
| 1168 |
+
"page_idx": 8
|
| 1169 |
+
},
|
| 1170 |
+
{
|
| 1171 |
+
"type": "text",
|
| 1172 |
+
"text": "LIMITATIONS AND SOCIETAL IMPACTS",
|
| 1173 |
+
"text_level": 1,
|
| 1174 |
+
"bbox": [
|
| 1175 |
+
171,
|
| 1176 |
+
823,
|
| 1177 |
+
495,
|
| 1178 |
+
838
|
| 1179 |
+
],
|
| 1180 |
+
"page_idx": 8
|
| 1181 |
+
},
|
| 1182 |
+
{
|
| 1183 |
+
"type": "text",
|
| 1184 |
+
"text": "Although care was taken to design the filtering and processing functions, such automated approaches are never perfect and remaining artifacts in corpora might lead to unnatural reference texts or constraints. Further filtering (e.g., by grammar checkers, parsers, or humans) could improve the dataset quality. Our representative constraint structures were selected to encompass diverse constrained generation challenges, but as with all generation benchmarks, they cannot capture all dimensions",
|
| 1185 |
+
"bbox": [
|
| 1186 |
+
169,
|
| 1187 |
+
854,
|
| 1188 |
+
826,
|
| 1189 |
+
925
|
| 1190 |
+
],
|
| 1191 |
+
"page_idx": 8
|
| 1192 |
+
},
|
| 1193 |
+
{
|
| 1194 |
+
"type": "header",
|
| 1195 |
+
"text": "Published as a conference paper at ICLR 2024",
|
| 1196 |
+
"bbox": [
|
| 1197 |
+
171,
|
| 1198 |
+
32,
|
| 1199 |
+
478,
|
| 1200 |
+
47
|
| 1201 |
+
],
|
| 1202 |
+
"page_idx": 8
|
| 1203 |
+
},
|
| 1204 |
+
{
|
| 1205 |
+
"type": "page_number",
|
| 1206 |
+
"text": "9",
|
| 1207 |
+
"bbox": [
|
| 1208 |
+
493,
|
| 1209 |
+
948,
|
| 1210 |
+
503,
|
| 1211 |
+
959
|
| 1212 |
+
],
|
| 1213 |
+
"page_idx": 8
|
| 1214 |
+
},
|
| 1215 |
+
{
|
| 1216 |
+
"type": "text",
|
| 1217 |
+
"text": "and nuances of model capabilities. Benchmarks are highly influential in shaping model development, the capabilities and limitations of which may disproportionately impact different communities. Our benchmark is no exception. However, by providing an extensible, easy-to-use framework for constraint development, we hope COLLIE will enable diverse stakeholders to engage with dataset building, helping ensure that future model capabilities serve diverse interests and needs.",
|
| 1218 |
+
"bbox": [
|
| 1219 |
+
169,
|
| 1220 |
+
103,
|
| 1221 |
+
826,
|
| 1222 |
+
174
|
| 1223 |
+
],
|
| 1224 |
+
"page_idx": 9
|
| 1225 |
+
},
|
| 1226 |
+
{
|
| 1227 |
+
"type": "text",
|
| 1228 |
+
"text": "ACKNOWLEDGEMENTS",
|
| 1229 |
+
"text_level": 1,
|
| 1230 |
+
"bbox": [
|
| 1231 |
+
171,
|
| 1232 |
+
195,
|
| 1233 |
+
367,
|
| 1234 |
+
209
|
| 1235 |
+
],
|
| 1236 |
+
"page_idx": 9
|
| 1237 |
+
},
|
| 1238 |
+
{
|
| 1239 |
+
"type": "text",
|
| 1240 |
+
"text": "We thank Xiao Liu for Vicuna/Alpaca APIs that supported our preliminary experiments, and Princeton NLP Group for helpful discussion and feedback in general. We acknowledge support from a Princeton SEAS Innovation grant and the National Science Foundation under Grant No. 2239363. Any opinions, findings, and conclusions or recommendations expressed in this material are those of the author(s) and do not necessarily reflect the views of the National Science Foundation.",
|
| 1241 |
+
"bbox": [
|
| 1242 |
+
169,
|
| 1243 |
+
224,
|
| 1244 |
+
826,
|
| 1245 |
+
297
|
| 1246 |
+
],
|
| 1247 |
+
"page_idx": 9
|
| 1248 |
+
},
|
| 1249 |
+
{
|
| 1250 |
+
"type": "text",
|
| 1251 |
+
"text": "REFERENCES",
|
| 1252 |
+
"text_level": 1,
|
| 1253 |
+
"bbox": [
|
| 1254 |
+
173,
|
| 1255 |
+
316,
|
| 1256 |
+
287,
|
| 1257 |
+
330
|
| 1258 |
+
],
|
| 1259 |
+
"page_idx": 9
|
| 1260 |
+
},
|
| 1261 |
+
{
|
| 1262 |
+
"type": "list",
|
| 1263 |
+
"sub_type": "ref_text",
|
| 1264 |
+
"list_items": [
|
| 1265 |
+
"R. Anil, A. M. Dai, O. First, M. Johnson, D. Lepikhin, A. Passos, S. Shakeri, E. Taropa, P. Bailey, Z. Chen, et al. Palm 2 technical report. arXiv preprint arXiv:2305.10403, 2023.",
|
| 1266 |
+
"S. Bird. Nltk: the natural language toolkit. In Proceedings of the COLING/ACL 2006 Interactive Presentation Sessions, pages 69-72, 2006.",
|
| 1267 |
+
"J. Brooke, A. Hammond, and G. Hirst. Gutentag: an nlp-driven tool for digital humanities research in the project Gutenberg corpus. In Proceedings of the Fourth Workshop on Computational Linguistics for Literature, pages 42-47, 2015.",
|
| 1268 |
+
"T. B. Brown, B. Mann, N. Ryder, M. Subbiah, J. Kaplan, P. Dhariwal, A. Neelakantan, P. Shyam, G. Sastry, A. Askell, S. Agarwal, A. Herbert-Voss, G. Krueger, T. Henighan, R. Child, A. Ramesh, D. M. Ziegler, J. Wu, C. Winter, C. Hesse, M. Chen, E. Sigler, M. Litwin, S. Gray, B. Chess, J. Clark, C. Berner, S. McCandlish, A. Radford, I. Sutskever, and D. Amodei. Language models are few-shot learners. In Advances in Neural Information Processing Systems (NeurIPS), 2020. URL https://papers.nips.cc/paper/2020/bit/1457c0d6bcbd4967418bf8ac142f64a-Abstract.html",
|
| 1269 |
+
"H. Chen, H. Li, D. Chen, and K. Narasimhan. Controllable text generation with language constraints. In preprint, 2022a. URL https://arxiv.org/abs/2212.10466",
|
| 1270 |
+
"M. Chen, J. Tworek, H. Jun, Q. Yuan, H. Ponde de Oliveira Pinto, J. Kaplan, H. Edwards, Y. Burda, N. Joseph, G. Brockman, A. Ray, R. Puri, G. Krueger, M. Petrov, H. Khlaaf, G. Sastry, P. Mishkin, B. Chan, S. Gray, N. Ryder, M. Pavlov, A. Power, L. Kaiser, M. Bavarian, C. Winter, P. Tillet, F. Petroski Such, D. Cummings, M. Plappert, F. Chantzis, E. Barnes, A. Herbert-Voss, W. Hebgen Guss, A. Nichol, A. Paino, N. Tezak, J. Tang, I. Babuschkin, S. Balaji, S. Jain, W. Saunders, C. Hesse, A. N. Carr, J. Leike, J. Achiam, V. Misra, E. Morikawa, A. Radford, M. Knight, M. Brundage, M. Murati, K. Mayer, P. Welinder, B. McGrew, D. Amodei, S. McCandlish, I. Sutskever, and W. Zaremba. Evaluating large language models trained on code. In preprint, 2022b. URL https://arxiv.org/abs/2107.03374",
|
| 1271 |
+
"M. Chevalier-Boisvert, D. Bahdanau, S. Lahlou, L. Willems, C. Saharia, T. H. Nguyen, and Y. Bengio. Babyai: A platform to study the sample efficiency of grounded language learning. In International Conference on Learning Representations (ICLR), 2019. URL https://arxiv.org/abs/1810.08272",
|
| 1272 |
+
"W.-L. Chiang, Z. Li, Z. Lin, Y. Sheng, Z. Wu, H. Zhang, L. Zheng, S. Zhuang, Y. Zhuang, J. E. Gonzalez, I. Stoica, and E. P. Xing. Vicuna: An open-source chatbot impressing gpt-4 with $90\\%$ chatgpt quality, March 2023. URL https://lmsys.org/blog/2023-03-30-vicuna/",
|
| 1273 |
+
"S. Dathathri, A. Madotto, J. Lan, J. Hung, E. Frank, P. Molino, J. Yosinski, and R. Liu. Plug and play language models: A simple approach to controlled text generation. In International Conference on Learning Representations (ICLR), 2020. URL https://openreview.net/pdf?id=H1edEyBKDS"
|
| 1274 |
+
],
|
| 1275 |
+
"bbox": [
|
| 1276 |
+
171,
|
| 1277 |
+
339,
|
| 1278 |
+
826,
|
| 1279 |
+
925
|
| 1280 |
+
],
|
| 1281 |
+
"page_idx": 9
|
| 1282 |
+
},
|
| 1283 |
+
{
|
| 1284 |
+
"type": "header",
|
| 1285 |
+
"text": "Published as a conference paper at ICLR 2024",
|
| 1286 |
+
"bbox": [
|
| 1287 |
+
171,
|
| 1288 |
+
32,
|
| 1289 |
+
478,
|
| 1290 |
+
47
|
| 1291 |
+
],
|
| 1292 |
+
"page_idx": 9
|
| 1293 |
+
},
|
| 1294 |
+
{
|
| 1295 |
+
"type": "page_number",
|
| 1296 |
+
"text": "10",
|
| 1297 |
+
"bbox": [
|
| 1298 |
+
490,
|
| 1299 |
+
948,
|
| 1300 |
+
506,
|
| 1301 |
+
959
|
| 1302 |
+
],
|
| 1303 |
+
"page_idx": 9
|
| 1304 |
+
},
|
| 1305 |
+
{
|
| 1306 |
+
"type": "list",
|
| 1307 |
+
"sub_type": "ref_text",
|
| 1308 |
+
"list_items": [
|
| 1309 |
+
"G. Dinu, P. Mathur, M. Federico, and Y. Al-Onaizan. Training neural machine translation to apply terminology constraints. In Association for Computational Linguistics (ACL), 2019.",
|
| 1310 |
+
"W. Foundation. Wikipedia downloads, 2022. URL https://dumps.wikipedia.org",
|
| 1311 |
+
"F. Hamborg, N. Meuschke, C. Breitinger, and B. Gipp. news-please: A generic news crawler and extractor. In Proceedings of the 15th International Symposium of Information Science, pages 218-223, March 2017. doi: 10.5281/zenodo.4120316.",
|
| 1312 |
+
"E. Hasler, A. de Gispert, G. Iglesias, and B. Byrne. Neural machine translation decoding with terminology constraints. In North American Association for Computational Linguistics (NAACL), 2018.",
|
| 1313 |
+
"D. Hendrycks, C. Burns, S. Basart, A. Zou, M. Mazeika, D. Song, and J. Steinhardt. Measuring massive multitask language understanding. arXiv preprint arXiv:2009.03300, 2020.",
|
| 1314 |
+
"C. Hokamp and Q. Liu. Lexically constrained decoding for sequence generation using grid beam search. In Association for Computational Linguistics (ACL), 2017.",
|
| 1315 |
+
"J. E. Hu, H. Khayrallah, R. Culkin, P. Xia, T. Chen, M. Post, and B. Van Durme. Improved lexically constrained decoding for translation and monolingual rewriting. In North American Association for Computational Linguistics (NAACL), 2019.",
|
| 1316 |
+
"Z. Hu, Z. Yang, X. Liang, R. Salakhutdinov, and E. P. Xing. Toward controlled generation of text. In International Conference on Machine Learning (ICML), 2017.",
|
| 1317 |
+
"J. Johnson, B. Hariharan, L. van der Maaten, L. Fei-Fei, C. L. Zitnick, and R. Girshick. Clevr: A diagnostic dataset for compositional language and elementary visual reasoning. In Conference on computer vision and pattern recognition (CVPR), 2017. URL https://ieeexplore.ieee.org/document/8099698",
|
| 1318 |
+
"N. S. Keskar, B. McCann, L. R. Varshney, C. Xiong, and R. Socher. CTRL: A conditional transformer language model for controllable generation. In preprint, 2019. URL https://arxiv.org/abs/1909.05858.",
|
| 1319 |
+
"B. Krause, A. D. Gotmare, B. McCann, N. S. Keskar, S. Joty, R. Socher, and N. F. Rajani. GeDi: Generative discriminator guided sequence generation. In Findings of the Empirical Methods in Natural Language Processing (EMNLP Findings), 2021. URL https://aclanthology.org/2021-findings-emnlp.424",
|
| 1320 |
+
"Q. Lhoest, A. Villanova del Moral, Y. Jernite, A. Thakur, P. von Platen, S. Patil, J. Chaumont, M. Drame, J. Plu, L. Tunstall, J. Davison, M. Šaško, G. Chhablani, B. Malik, S. Brandeis, T. Le Scao, V. Sanh, C. Xu, N. Patry, A. McMillan-Major, P. Schmid, S. Gugger, C. Delangue, T. Matussière, L. Debut, S. Bekman, P. Cistac, T. Goehringer, V. Mustar, F. Lagunas, A. Rush, and T. Wolf. Datasets: A community library for natural language processing. In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing: System Demonstrations, pages 175-184, Online and Punta Cana, Dominican Republic, Nov. 2021. Association for Computational Linguistics. URL https://aclanthology.org/2021.emnlp-demo.21",
|
| 1321 |
+
"B. Z. Li, J. Yu, M. Khabsa, L. Zettlemoyer, A. Halevy, and J. Andreas. Quantifying adaptability in pre-trained language models with 500 tasks. In North American Association for Computational Linguistics (NAACL), 2022a. URL https://arxiv.org/abs/2112.03204",
|
| 1322 |
+
"X. L. Li, J. Thickstun, I. Gulrajani, P. Liang, and T. B. Hashimoto. Diffusion-lm improves controllable text generation. In Advances in Neural Information Processing Systems (NeurIPS), 2022b. URL https://openreview.net/forum?id=3s9IrEsjLyk.",
|
| 1323 |
+
"P. Liang, R. Bommasani, T. Lee, D. Tsipras, D. Soylu, M. Yasunaga, Y. Zhang, D. Narayanan, Y. Wu, A. Kumar, et al. Holistic evaluation of language models. arXiv preprint arXiv:2211.09110, 2022.",
|
| 1324 |
+
"B. Y. Lin, W. Zhou, M. Shen, P. Zhou, C. Bhagavatula, Y. Choi, and X. Ren. Commongen: A constrained text generation challenge for generative commonsense reasoning. In Findings of the Empirical Methods in Natural Language Processing (EMNLP Findings), 2020."
|
| 1325 |
+
],
|
| 1326 |
+
"bbox": [
|
| 1327 |
+
171,
|
| 1328 |
+
102,
|
| 1329 |
+
828,
|
| 1330 |
+
924
|
| 1331 |
+
],
|
| 1332 |
+
"page_idx": 10
|
| 1333 |
+
},
|
| 1334 |
+
{
|
| 1335 |
+
"type": "header",
|
| 1336 |
+
"text": "Published as a conference paper at ICLR 2024",
|
| 1337 |
+
"bbox": [
|
| 1338 |
+
171,
|
| 1339 |
+
32,
|
| 1340 |
+
478,
|
| 1341 |
+
47
|
| 1342 |
+
],
|
| 1343 |
+
"page_idx": 10
|
| 1344 |
+
},
|
| 1345 |
+
{
|
| 1346 |
+
"type": "page_number",
|
| 1347 |
+
"text": "11",
|
| 1348 |
+
"bbox": [
|
| 1349 |
+
488,
|
| 1350 |
+
946,
|
| 1351 |
+
506,
|
| 1352 |
+
959
|
| 1353 |
+
],
|
| 1354 |
+
"page_idx": 10
|
| 1355 |
+
},
|
| 1356 |
+
{
|
| 1357 |
+
"type": "list",
|
| 1358 |
+
"sub_type": "ref_text",
|
| 1359 |
+
"list_items": [
|
| 1360 |
+
"X. Lu, P. West, R. Zellers, R. L. Bras, C. Bhagavatula, and Y. Choi. Neurologic decoding: (un)supervised neural text generation with predicate logic constraints. In North American Association for Computational Linguistics (NAACL), 2021. URL https://aclanthology.org/2021.nacl-main.339.pdf",
|
| 1361 |
+
"X. Lu, S. Welleck, P. West, L. Jiang, J. Kasai, D. Khashabi, R. L. Bras, L. Qin, Y. Yu, R. Zellers, N. A. Smith, and Y. Choi. Neurologic a*esque decoding: Constrained text generation with lookahead heuristics. In North American Association for Computational Linguistics (NAACL), 2022. URL https://aclanthology.org/2022.naacl-main.57.",
|
| 1362 |
+
"OpenAI. Gpt-4 technical report. In preprint, 2023a. URL https://arxiv.org/abs/2303.08774.",
|
| 1363 |
+
"OpenAI. Gpt-4 technical report, 2023b.",
|
| 1364 |
+
"L. Ouyang, J. Wu, X. Jiang, D. Almeida, C. L. Wainwright, P. Mishkin, C. Zhang, S. Agarwal, K. Slama, A. Ray, J. Schulman, J. Hilton, F. Kelton, L. Miller, M. Simens, A. Askell, P. Welinder, P. Christiano, J. Leike, and R. Lowe. Training language models to follow instructions with human feedback. In Advances in Neural Information Processing Systems (NeurIPS), 2022. URL https://openreview.net/forum?id=TG8KACxEON.",
|
| 1365 |
+
"C. Raffel, N. Shazeer, A. Roberts, K. Lee, S. Narang, M. Matena, Y. Zhou, W. Li, and P. J. Liu. Exploring the limits of transfer learning with a unified text-to-text transformer. The Journal of Machine Learning Research, 21(1):5485-5551, 2020.",
|
| 1366 |
+
"L. Ruis, J. Andreas, M. Baroni, D. Bouchacourt, and B. M. Lake. A benchmark for systematic generalization in grounded language understanding. In Advances in Neural Information Processing Systems (NeurIPS), 2020. URL https://arxiv.org/abs/2003.05161",
|
| 1367 |
+
"T. Schick, J. Dwivedi-Yu, R. Dessi, R. Raileanu, M. Lomeli, L. Zettlemoyer, N. Cancedda, and T. Scialom. Toolformer: Language models can teach themselves to use tools. In preprint, 2023. URL https://arxiv.org/abs/2302.04761",
|
| 1368 |
+
"A. Srivastava, A. Rastogi, A. Rao, A. A. M. Shoeb, A. Abid, A. Fisch, A. R. Brown, A. Santoro, A. Gupta, A. Garriga-Alonso, et al. Beyond the imitation game: Quantifying and extrapolating the capabilities of language models. arXiv preprint arXiv:2206.04615, 2022.",
|
| 1369 |
+
"R. Taori, I. Gulrajani, T. Zhang, Y. Dubois, X. Li, C. Guestrin, P. Liang, and T. B. Hashimoto. Stanford alpaca: An instruction-following llama model. https://github.com/tatsu-lab/stanford_alpaca, 2023.",
|
| 1370 |
+
"Y. Wang, S. Mishra, P. Alipoormolabashi, Y. Kordi, A. Mirzaei, A. Naik, A. Ashok, A. S. Dhanasekaran, A. Arunkumar, D. Stap, et al. Super-naturalinstructions: Generalization via declarative instructions on $1600+$ nlp tasks. In Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing, pages 5085-5109, 2022.",
|
| 1371 |
+
"J. Weston, A. Bordes, S. Chopra, A. M. Rush, B. Van Merrienboer, A. Joulin, and T. Mikolov. Towards ai-complete question answering: A set of prerequisite toy tasks. arXiv preprint arXiv:1502.05698, 2015.",
|
| 1372 |
+
"S. Yao, J. Zhao, D. Yu, N. Du, I. Shafran, K. Narasimhan, and Y. Cao. React: Synergizing reasoning and acting in language models. In International Conference on Learning Representations (ICLR), 2022. URL https://arxiv.org/abs/2210.03629",
|
| 1373 |
+
"Y. Zhang, Y. Liu, Z. Yang, Y. Fang, Y. Chen, D. Radev, C. Zhu, M. Zeng, and R. Zhang. Macsum: Controllable summarization with mixed attributes. Transactions of the Association for Computational Linguistics, 11:787-803, 2023.",
|
| 1374 |
+
"W. Zhou, Y. E. Jiang, E. Wilcox, R. Cotterell, and M. Sachan. Controlled text generation with natural language instructions. arXiv preprint arXiv:2304.14293, 2023."
|
| 1375 |
+
],
|
| 1376 |
+
"bbox": [
|
| 1377 |
+
171,
|
| 1378 |
+
102,
|
| 1379 |
+
828,
|
| 1380 |
+
883
|
| 1381 |
+
],
|
| 1382 |
+
"page_idx": 11
|
| 1383 |
+
},
|
| 1384 |
+
{
|
| 1385 |
+
"type": "header",
|
| 1386 |
+
"text": "Published as a conference paper at ICLR 2024",
|
| 1387 |
+
"bbox": [
|
| 1388 |
+
171,
|
| 1389 |
+
32,
|
| 1390 |
+
478,
|
| 1391 |
+
47
|
| 1392 |
+
],
|
| 1393 |
+
"page_idx": 11
|
| 1394 |
+
},
|
| 1395 |
+
{
|
| 1396 |
+
"type": "page_number",
|
| 1397 |
+
"text": "12",
|
| 1398 |
+
"bbox": [
|
| 1399 |
+
488,
|
| 1400 |
+
946,
|
| 1401 |
+
508,
|
| 1402 |
+
960
|
| 1403 |
+
],
|
| 1404 |
+
"page_idx": 11
|
| 1405 |
+
}
|
| 1406 |
+
]
|
2024/COLLIE_ Systematic Construction of Constrained Text Generation Tasks/a385f7c5-58d0-4428-b174-3123a2838efe_model.json
ADDED
|
@@ -0,0 +1,1907 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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box": [
|
| 17 |
+
0.172,
|
| 18 |
+
0.1,
|
| 19 |
+
0.685,
|
| 20 |
+
0.149
|
| 21 |
+
],
|
| 22 |
+
"angle": 0,
|
| 23 |
+
"content": "COLLIE: SYSTEMATIC CONSTRUCTION OF CONSTRAINED TEXT GENERATION TASKS"
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"bbox": [
|
| 28 |
+
0.18,
|
| 29 |
+
0.17,
|
| 30 |
+
0.812,
|
| 31 |
+
0.185
|
| 32 |
+
],
|
| 33 |
+
"angle": 0,
|
| 34 |
+
"content": "Shunyu Yao* Howard Chen* Austin W. Hanjie* Runzhe Yang* Karthik Narasimhan"
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"type": "text",
|
| 38 |
+
"bbox": [
|
| 39 |
+
0.184,
|
| 40 |
+
0.186,
|
| 41 |
+
0.549,
|
| 42 |
+
0.199
|
| 43 |
+
],
|
| 44 |
+
"angle": 0,
|
| 45 |
+
"content": "Department of Computer Science, Princeton University"
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"type": "text",
|
| 49 |
+
"bbox": [
|
| 50 |
+
0.184,
|
| 51 |
+
0.2,
|
| 52 |
+
0.735,
|
| 53 |
+
0.214
|
| 54 |
+
],
|
| 55 |
+
"angle": 0,
|
| 56 |
+
"content": "{shunyuy, hc22, hjwang, runzhey, karthikn}@princeton.edu"
|
| 57 |
+
},
|
| 58 |
+
{
|
| 59 |
+
"type": "title",
|
| 60 |
+
"bbox": [
|
| 61 |
+
0.451,
|
| 62 |
+
0.25,
|
| 63 |
+
0.548,
|
| 64 |
+
0.264
|
| 65 |
+
],
|
| 66 |
+
"angle": 0,
|
| 67 |
+
"content": "ABSTRACT"
|
| 68 |
+
},
|
| 69 |
+
{
|
| 70 |
+
"type": "text",
|
| 71 |
+
"bbox": [
|
| 72 |
+
0.23,
|
| 73 |
+
0.281,
|
| 74 |
+
0.771,
|
| 75 |
+
0.492
|
| 76 |
+
],
|
| 77 |
+
"angle": 0,
|
| 78 |
+
"content": "With the rapid improvement of large language models capabilities, there has been increasing interest in challenging constrained text generation problems. However, existing benchmarks for constrained generation usually focus on fixed constraint types (e.g. generate a sentence containing certain words) that have proved to be easy for state-of-the-art models like GPT-4. We present COLLIE, a grammar-based framework that allows the specification of rich, compositional constraints with diverse generation levels (word, sentence, paragraph, passage) and modeling challenges (e.g. language understanding, logical reasoning, counting, semantic planning). We also develop tools for automatic extraction of task instances given a constraint structure and a raw text corpus. Using COLLIE, we compile the COLLIEv1 dataset with 2,080 instances comprising 13 constraint structures. We perform systematic experiments across five state-of-the-art instruction-tuned language models and analyze their performances to reveal shortcomings. COLLIE is designed to be extensible and lightweight, and we hope the community finds it useful to develop more complex constraints and evaluations in the future."
|
| 79 |
+
},
|
| 80 |
+
{
|
| 81 |
+
"type": "title",
|
| 82 |
+
"bbox": [
|
| 83 |
+
0.174,
|
| 84 |
+
0.517,
|
| 85 |
+
0.341,
|
| 86 |
+
0.532
|
| 87 |
+
],
|
| 88 |
+
"angle": 0,
|
| 89 |
+
"content": "1 INTRODUCTION"
|
| 90 |
+
},
|
| 91 |
+
{
|
| 92 |
+
"type": "text",
|
| 93 |
+
"bbox": [
|
| 94 |
+
0.17,
|
| 95 |
+
0.547,
|
| 96 |
+
0.828,
|
| 97 |
+
0.661
|
| 98 |
+
],
|
| 99 |
+
"angle": 0,
|
| 100 |
+
"content": "Large language models (LLMs) are increasingly capable of generating coherent and fluent text when provided with high-level prompts (OpenAI 2023a). Such capabilities have raised the bar for automated text generation, allowing us to explore more nuanced ways of utilizing LMs. One such line of inquiry is constrained text generation, whereby the LM is asked to adhere to a particular topic (Keskar et al., 2019; Dathathri et al., 2020), or avoid using certain words (Lu et al., 2021; 2022). However, these works scratch the surface of a broader phenomenon — LMs do not just generate text, as evidenced by their use in more structured tasks like problem solving (Yao et al., 2022), code generation (Chen et al., 2022b) and even tool use through API calls (Schick et al., 2023)."
|
| 101 |
+
},
|
| 102 |
+
{
|
| 103 |
+
"type": "text",
|
| 104 |
+
"bbox": [
|
| 105 |
+
0.17,
|
| 106 |
+
0.667,
|
| 107 |
+
0.828,
|
| 108 |
+
0.752
|
| 109 |
+
],
|
| 110 |
+
"angle": 0,
|
| 111 |
+
"content": "This raises a natural question — 'what is the next iteration of text generation benchmarks that can evaluate these advanced capabilities in LLMs'? We posit that one direction is incorporating logical and compositional challenges via constrained text generation. Existing benchmarks for constrained generation, however, focus only on particular constraint types, require tailored pipelines to collect data and annotations, and/or can only evaluate a specific aspect of LM strengths (Lin et al., 2020; Chen et al., 2022a). They also suffer from challenges in scalable dataset construction."
|
| 112 |
+
},
|
| 113 |
+
{
|
| 114 |
+
"type": "text",
|
| 115 |
+
"bbox": [
|
| 116 |
+
0.17,
|
| 117 |
+
0.757,
|
| 118 |
+
0.828,
|
| 119 |
+
0.842
|
| 120 |
+
],
|
| 121 |
+
"angle": 0,
|
| 122 |
+
"content": "In this paper, we propose COLLIE, a grammar-based framework that enables systematic construction of compositional constraints over diverse generation levels (e.g., words, sentences, paragraphs) and semantic requirements (e.g., language understanding, logical reasoning, counting). Operationally, COLLIE allows researchers to 1) easily specify constraint templates, and then automatically 2) extract constraint values from language corpora, 3) render them into natural language instructions, and 4) evaluate model generations against the constraint instructions."
|
| 123 |
+
},
|
| 124 |
+
{
|
| 125 |
+
"type": "text",
|
| 126 |
+
"bbox": [
|
| 127 |
+
0.171,
|
| 128 |
+
0.847,
|
| 129 |
+
0.828,
|
| 130 |
+
0.89
|
| 131 |
+
],
|
| 132 |
+
"angle": 0,
|
| 133 |
+
"content": "Existing benchmarks for constrained generation focus only on particular constraint types and formats (e.g., \"generate a sentence with words...\"). These limitations mean that benchmarks become quickly obsolete as LLMs progress. In contrast, the modular and extensible design of COLLIE allows the"
|
| 134 |
+
},
|
| 135 |
+
{
|
| 136 |
+
"type": "page_footnote",
|
| 137 |
+
"bbox": [
|
| 138 |
+
0.171,
|
| 139 |
+
0.898,
|
| 140 |
+
0.828,
|
| 141 |
+
0.926
|
| 142 |
+
],
|
| 143 |
+
"angle": 0,
|
| 144 |
+
"content": "*Equal contribution. Project site with code and data: https://collie-benchmark.github.io/Collie is a herding dog that can help guide domesticated animals like llamas and alpacas."
|
| 145 |
+
},
|
| 146 |
+
{
|
| 147 |
+
"type": "page_number",
|
| 148 |
+
"bbox": [
|
| 149 |
+
0.494,
|
| 150 |
+
0.949,
|
| 151 |
+
0.504,
|
| 152 |
+
0.96
|
| 153 |
+
],
|
| 154 |
+
"angle": 0,
|
| 155 |
+
"content": "1"
|
| 156 |
+
}
|
| 157 |
+
],
|
| 158 |
+
[
|
| 159 |
+
{
|
| 160 |
+
"type": "header",
|
| 161 |
+
"bbox": [
|
| 162 |
+
0.174,
|
| 163 |
+
0.033,
|
| 164 |
+
0.48,
|
| 165 |
+
0.049
|
| 166 |
+
],
|
| 167 |
+
"angle": 0,
|
| 168 |
+
"content": "Published as a conference paper at ICLR 2024"
|
| 169 |
+
},
|
| 170 |
+
{
|
| 171 |
+
"type": "image",
|
| 172 |
+
"bbox": [
|
| 173 |
+
0.187,
|
| 174 |
+
0.105,
|
| 175 |
+
0.817,
|
| 176 |
+
0.259
|
| 177 |
+
],
|
| 178 |
+
"angle": 0,
|
| 179 |
+
"content": null
|
| 180 |
+
},
|
| 181 |
+
{
|
| 182 |
+
"type": "image_caption",
|
| 183 |
+
"bbox": [
|
| 184 |
+
0.171,
|
| 185 |
+
0.26,
|
| 186 |
+
0.825,
|
| 187 |
+
0.359
|
| 188 |
+
],
|
| 189 |
+
"angle": 0,
|
| 190 |
+
"content": "Figure 1: Our COLLIE framework for constraint structure specification, ground truth extraction, instruction rendering, and evaluation. First, the user specifies the constraint structure without a specific target value (expressed in \\(*\\)). Second, the constraint structure is used to extract ground truth examples from text corpora that contain the target values. Third, the constraint structure and target values are rendered into a natural language instruction. Finally, the model's generation is evaluated against the constraint and the ground truth. The model (gpt-3.5-turbo) violates the constraints by exceeding word limits and leaving the word 'mankind' at the end instead of the specified position."
|
| 191 |
+
},
|
| 192 |
+
{
|
| 193 |
+
"type": "text",
|
| 194 |
+
"bbox": [
|
| 195 |
+
0.171,
|
| 196 |
+
0.385,
|
| 197 |
+
0.825,
|
| 198 |
+
0.442
|
| 199 |
+
],
|
| 200 |
+
"angle": 0,
|
| 201 |
+
"content": "broader NLP community to contribute additional constraints that can co-evolve with LLM capabilities over time, while also providing a convenient endpoint for users that only want to evaluate their model without developing their own constraints. The flexibility of such a grammar-based framework may not only be useful for evaluation, but also in practice (e.g. word constraints, words blacklist, etc.)."
|
| 202 |
+
},
|
| 203 |
+
{
|
| 204 |
+
"type": "text",
|
| 205 |
+
"bbox": [
|
| 206 |
+
0.171,
|
| 207 |
+
0.448,
|
| 208 |
+
0.827,
|
| 209 |
+
0.573
|
| 210 |
+
],
|
| 211 |
+
"angle": 0,
|
| 212 |
+
"content": "We construct the dataset COLLIE-v1 with 2,080 constraint instances across 13 different types, using three different corpora: Wikipedia (Foundation 2022), CC-News (Hamborg et al., 2017), and Project Gutenberg (Brooke et al., 2015). We perform zero-shot evaluations of five state-of-the-art LLMs of varying sizes including GPT-4 (OpenAI 2023a) and PaLM (Anil et al., 2023). While GPT-4 comparatively performs the best, it still achieves an average constraint satisfaction rate of only \\(50.9\\%\\). We find that challenges correlate with position – for instance, instructing models to begin a sentence with a specific word leads to a \\(100\\%\\) success rate for GPT-4, while asking models to end a sentence with a particular word results in a success rate of \\(40\\% -60\\%\\). These insights can help us diagnose LLMs, which in turn can improve LLM capabilities, and further advance the benchmark itself."
|
| 213 |
+
},
|
| 214 |
+
{
|
| 215 |
+
"type": "text",
|
| 216 |
+
"bbox": [
|
| 217 |
+
0.171,
|
| 218 |
+
0.58,
|
| 219 |
+
0.825,
|
| 220 |
+
0.651
|
| 221 |
+
],
|
| 222 |
+
"angle": 0,
|
| 223 |
+
"content": "To summarize, we make the following contributions: (1) We introduce COLLIE, a framework for systematic generation of compositional constraints, that is flexible and extensible. (2) We use COLLIE to curate a new dataset COLLIE-v1 comprising of 13 constraint structures. (3) We perform a comprehensive evaluation of five state-of-the-art LLMs of varying sizes and provide useful insights for both model and benchmark development in the future."
|
| 224 |
+
},
|
| 225 |
+
{
|
| 226 |
+
"type": "title",
|
| 227 |
+
"bbox": [
|
| 228 |
+
0.173,
|
| 229 |
+
0.671,
|
| 230 |
+
0.347,
|
| 231 |
+
0.687
|
| 232 |
+
],
|
| 233 |
+
"angle": 0,
|
| 234 |
+
"content": "2 RELATED WORK"
|
| 235 |
+
},
|
| 236 |
+
{
|
| 237 |
+
"type": "text",
|
| 238 |
+
"bbox": [
|
| 239 |
+
0.17,
|
| 240 |
+
0.702,
|
| 241 |
+
0.827,
|
| 242 |
+
0.925
|
| 243 |
+
],
|
| 244 |
+
"angle": 0,
|
| 245 |
+
"content": "Constrained text generation (CTG). Early work in controllable text generation used control codes to steer the generation towards desired topics or to reduce undesirable content, by controlling for broad attributes such as sentiment or toxicity (Hu et al., 2017; Keskar et al., 2019; Dathathri et al., 2020; Krause et al., 2021). Other work on constrained decoding provides to the language model a collection of lexical items as constraints to be included or excluded in the final generated text (Hokamp and Liu, 2017; Hasler et al., 2018; Dinu et al., 2019; Hu et al., 2019; Lin et al., 2020; Lu et al., 2021; Li et al., 2022b). Recent advances in instruction tuning LLMs (Ouyang et al., 2022) have brought major improvements to controllability. These advancements have made it challenging to use existing controllable generation datasets to fully assess the capabilities of modern LLMs. InstructCTG (Zhou et al., 2023) is a concurrent work that also constructed a dataset with text constraints. However, it mainly focuses on synthesizing 5 types of simple CTG instructions for tuning small language models such as T5-11B (Raffel et al., 2020), whereas COLLIE serves to construct much more challenging and open-ended CTG tasks to evaluate and diagnose start-of-the-art LLMs like GPT-4 (OpenAI, 2023b). Lastly, there is a line of work that sets up CTG in more practical downstream applications, such as controllable summarization (Zhang et al., 2023). The flexibility of COLLIE allows these \"functional constraints\" to be incorporated for more usefulness, which we leave for future work."
|
| 246 |
+
},
|
| 247 |
+
{
|
| 248 |
+
"type": "page_number",
|
| 249 |
+
"bbox": [
|
| 250 |
+
0.494,
|
| 251 |
+
0.948,
|
| 252 |
+
0.506,
|
| 253 |
+
0.96
|
| 254 |
+
],
|
| 255 |
+
"angle": 0,
|
| 256 |
+
"content": "2"
|
| 257 |
+
}
|
| 258 |
+
],
|
| 259 |
+
[
|
| 260 |
+
{
|
| 261 |
+
"type": "header",
|
| 262 |
+
"bbox": [
|
| 263 |
+
0.173,
|
| 264 |
+
0.033,
|
| 265 |
+
0.48,
|
| 266 |
+
0.049
|
| 267 |
+
],
|
| 268 |
+
"angle": 0,
|
| 269 |
+
"content": "Published as a conference paper at ICLR 2024"
|
| 270 |
+
},
|
| 271 |
+
{
|
| 272 |
+
"type": "text",
|
| 273 |
+
"bbox": [
|
| 274 |
+
0.17,
|
| 275 |
+
0.104,
|
| 276 |
+
0.827,
|
| 277 |
+
0.231
|
| 278 |
+
],
|
| 279 |
+
"angle": 0,
|
| 280 |
+
"content": "Grammar-based compositional tests. Building benchmarks with data synthesized from grammars has been explored previously in the context of question answering (Weston et al., 2015), instruction following (Chevalier-Boisvert et al., 2019; Ruis et al., 2020)) and visual reasoning (Johnson et al., 2017). These benchmarks showcased the utility of grammars to systematically generate a comprehensive set of test cases or to specify some fixed constraints. In contrast, COLLIE aims to enable flexible, and dynamic constraint construction that can co-evolve with models. Furthermore, previous datasets were synthetic with limited linguistic diversity and practical applicability to real-world scenarios. In contrast, since our COLLIE framework extracts values and examples from natural language corpora to construct the constraints, it represents a more realistic challenge for modern LLMs."
|
| 281 |
+
},
|
| 282 |
+
{
|
| 283 |
+
"type": "text",
|
| 284 |
+
"bbox": [
|
| 285 |
+
0.171,
|
| 286 |
+
0.236,
|
| 287 |
+
0.828,
|
| 288 |
+
0.363
|
| 289 |
+
],
|
| 290 |
+
"angle": 0,
|
| 291 |
+
"content": "Systematic and scalable language benchmarks. The emergence of increasingly powerful general-purpose language models has created a need for scalable benchmarks that can systematically and comprehensively evaluate them. A few recent examples include HELM (Liang et al., 2022), BIG-Bench (Srivastava et al., 2022), MMLU (Hendrycks et al., 2020), TaskBench500 (Li et al., 2022a), and Natural Instructions (Wang et al., 2022). However, building such benchmarks require considerable human effort, and may become obsolete when stronger models enter the arena. We provide a new perspective in this race between model capabilities and challenging benchmarks: leverage compositionality to construct automatic and scalable benchmarks with minimal human effort that can co-evolve with model capabilities to remain challenging and relevant."
|
| 292 |
+
},
|
| 293 |
+
{
|
| 294 |
+
"type": "title",
|
| 295 |
+
"bbox": [
|
| 296 |
+
0.171,
|
| 297 |
+
0.381,
|
| 298 |
+
0.82,
|
| 299 |
+
0.397
|
| 300 |
+
],
|
| 301 |
+
"angle": 0,
|
| 302 |
+
"content": "3 COLLIE FRAMEWORK TO CONSTRUCT CONSTRAINED TEXT GENERATION"
|
| 303 |
+
},
|
| 304 |
+
{
|
| 305 |
+
"type": "text",
|
| 306 |
+
"bbox": [
|
| 307 |
+
0.171,
|
| 308 |
+
0.405,
|
| 309 |
+
0.825,
|
| 310 |
+
0.448
|
| 311 |
+
],
|
| 312 |
+
"angle": 0,
|
| 313 |
+
"content": "COLLIE allows researchers to easily 1) specify textual constraint structures via a grammar, then automatically 2) extract constraint values from text corpora, 3) render constraints into natural language instructions, and 4) evaluate generations with respect to constraints."
|
| 314 |
+
},
|
| 315 |
+
{
|
| 316 |
+
"type": "text",
|
| 317 |
+
"bbox": [
|
| 318 |
+
0.171,
|
| 319 |
+
0.455,
|
| 320 |
+
0.825,
|
| 321 |
+
0.498
|
| 322 |
+
],
|
| 323 |
+
"angle": 0,
|
| 324 |
+
"content": "Grammar. Two observations about text constraints motivate a grammar characterization: 1) they involve different levels of text, e.g. character, word, sentence, or paragraph; and 2) many of them specify either the count or position at a certain text level (existence is equivalent to count \\(>0\\))."
|
| 325 |
+
},
|
| 326 |
+
{
|
| 327 |
+
"type": "text",
|
| 328 |
+
"bbox": [
|
| 329 |
+
0.171,
|
| 330 |
+
0.503,
|
| 331 |
+
0.827,
|
| 332 |
+
0.643
|
| 333 |
+
],
|
| 334 |
+
"angle": 0,
|
| 335 |
+
"content": "Let capitalized letters \\((S,M,C,T)\\) denote non-terminal variables, and other symbols \\((\\ell ,\\circ ,\\oplus ,v)\\) denote terminals. A full constraint specification within our grammar \\(S\\) (Eq. 1) consists of two parts: a generation level \\((\\mathrm{level}(\\xi) = \\ell)\\) specifying whether the generated text \\(\\xi\\) should be a word, a sentence, a paragraph, or a document, and a multi-constraint \\(M\\) (Eq. 2), which is a logical composition of one or more base-constraints \\(C\\). A text \\(T\\) (Eq. 4) within these constraints can either be the full generated text \\(\\xi\\), or a part of it when qualified with a pos(\\(\\cdot\\)). For example, pos(pos(\\(\\xi\\), paragraph, 3), sentence, -1) means \"the last sentence of the 3rd paragraph of the generated text\". For terminal variables, we define a level \\(\\ell\\) of a text (Eq. 5), a string or number relation \\(\\circ\\) or \\(\\oplus\\) (Eq. 6), and a string or number value \\(v_{\\mathrm{str}}\\) or \\(v_{\\mathrm{num}}\\) (Eq. 7). \\(\\wedge\\) represents the logical 'and' operator, and \\(\\vee\\) represents the logical 'or'. With these definitions, we construct the following grammar:"
|
| 336 |
+
},
|
| 337 |
+
{
|
| 338 |
+
"type": "equation",
|
| 339 |
+
"bbox": [
|
| 340 |
+
0.208,
|
| 341 |
+
0.646,
|
| 342 |
+
0.826,
|
| 343 |
+
0.661
|
| 344 |
+
],
|
| 345 |
+
"angle": 0,
|
| 346 |
+
"content": "\\[\nS \\rightarrow (\\text {l e v e l} (\\xi) = \\ell) \\wedge M \\quad (\\text {c o n s t r a i n t s p e c i f i c a t i o n}) \\tag {1}\n\\]"
|
| 347 |
+
},
|
| 348 |
+
{
|
| 349 |
+
"type": "equation",
|
| 350 |
+
"bbox": [
|
| 351 |
+
0.205,
|
| 352 |
+
0.663,
|
| 353 |
+
0.826,
|
| 354 |
+
0.678
|
| 355 |
+
],
|
| 356 |
+
"angle": 0,
|
| 357 |
+
"content": "\\[\nM \\rightarrow C \\mid C \\wedge M \\mid C \\vee M \\quad (\\text {m u l t i - c o n s t r a i n t}) \\tag {2}\n\\]"
|
| 358 |
+
},
|
| 359 |
+
{
|
| 360 |
+
"type": "equation",
|
| 361 |
+
"bbox": [
|
| 362 |
+
0.208,
|
| 363 |
+
0.682,
|
| 364 |
+
0.826,
|
| 365 |
+
0.697
|
| 366 |
+
],
|
| 367 |
+
"angle": 0,
|
| 368 |
+
"content": "\\[\nC \\rightarrow \\operatorname {c o u n t} (T, \\ell , v _ {\\mathrm {s t r}} \\mid \\ell^ {\\prime}) \\oplus v _ {\\mathrm {n u m}} \\mid \\operatorname {p o s} (T, \\ell , v _ {\\mathrm {n u m}}) \\circ v _ {\\mathrm {s t r}} \\quad (\\text {b a s e - c o n s t r a i n t}) \\tag {3}\n\\]"
|
| 369 |
+
},
|
| 370 |
+
{
|
| 371 |
+
"type": "equation",
|
| 372 |
+
"bbox": [
|
| 373 |
+
0.208,
|
| 374 |
+
0.7,
|
| 375 |
+
0.826,
|
| 376 |
+
0.715
|
| 377 |
+
],
|
| 378 |
+
"angle": 0,
|
| 379 |
+
"content": "\\[\nT \\rightarrow \\xi \\mid \\operatorname {p o s} (T, \\ell , v _ {\\text {n u m}}) \\tag {4}\n\\]"
|
| 380 |
+
},
|
| 381 |
+
{
|
| 382 |
+
"type": "equation",
|
| 383 |
+
"bbox": [
|
| 384 |
+
0.214,
|
| 385 |
+
0.717,
|
| 386 |
+
0.826,
|
| 387 |
+
0.733
|
| 388 |
+
],
|
| 389 |
+
"angle": 0,
|
| 390 |
+
"content": "\\[\n\\ell \\rightarrow \\text {c h a r} | \\text {w o r d} | \\text {s e n t e n c e} | \\text {p a r a g r a p h} | \\text {p a s s a g e} \\tag {5}\n\\]"
|
| 391 |
+
},
|
| 392 |
+
{
|
| 393 |
+
"type": "equation",
|
| 394 |
+
"bbox": [
|
| 395 |
+
0.214,
|
| 396 |
+
0.735,
|
| 397 |
+
0.826,
|
| 398 |
+
0.751
|
| 399 |
+
],
|
| 400 |
+
"angle": 0,
|
| 401 |
+
"content": "\\[\n\\circ \\rightarrow = | \\neq \\quad \\oplus \\rightarrow = | \\neq | > | < | \\leq | \\geq \\tag {6}\n\\]"
|
| 402 |
+
},
|
| 403 |
+
{
|
| 404 |
+
"type": "equation",
|
| 405 |
+
"bbox": [
|
| 406 |
+
0.202,
|
| 407 |
+
0.754,
|
| 408 |
+
0.826,
|
| 409 |
+
0.768
|
| 410 |
+
],
|
| 411 |
+
"angle": 0,
|
| 412 |
+
"content": "\\[\nv _ {\\mathrm {s t r}} \\in \\Sigma^ {*} \\quad v _ {\\mathrm {n u m}} \\in \\mathbb {Z} \\tag {7}\n\\]"
|
| 413 |
+
},
|
| 414 |
+
{
|
| 415 |
+
"type": "text",
|
| 416 |
+
"bbox": [
|
| 417 |
+
0.171,
|
| 418 |
+
0.77,
|
| 419 |
+
0.8,
|
| 420 |
+
0.787
|
| 421 |
+
],
|
| 422 |
+
"angle": 0,
|
| 423 |
+
"content": "At the core of our grammar, we consider two (symmetrical) types of base-constraints \\(C\\) (Eq. 3):"
|
| 424 |
+
},
|
| 425 |
+
{
|
| 426 |
+
"type": "text",
|
| 427 |
+
"bbox": [
|
| 428 |
+
0.171,
|
| 429 |
+
0.792,
|
| 430 |
+
0.827,
|
| 431 |
+
0.862
|
| 432 |
+
],
|
| 433 |
+
"angle": 0,
|
| 434 |
+
"content": "1. Count constraints. count \\((T,\\ell ,v_{\\mathrm{str}})\\oplus v_{\\mathrm{num}}\\) constrains the occurrences of a particular level- \\(\\ell\\) string \\(v_{\\mathrm{str}}\\). For example, count \\((T,\\) word, happy') \\(\\leq 3\\) means \"T should contain the word happy' no more than 3 times\". In contrast, count \\((T,\\ell ,\\ell^{\\prime})\\oplus v_{\\mathrm{num}}\\) constrains the occurrences of level- \\(\\ell\\) strings in each level- \\(\\ell^{\\prime}\\) unit of text T. For example, count \\((T,\\) char, sentence) \\(= 50\\) means \"each sentence of text T should have exactly 50 characters\"."
|
| 435 |
+
},
|
| 436 |
+
{
|
| 437 |
+
"type": "text",
|
| 438 |
+
"bbox": [
|
| 439 |
+
0.171,
|
| 440 |
+
0.868,
|
| 441 |
+
0.827,
|
| 442 |
+
0.926
|
| 443 |
+
],
|
| 444 |
+
"angle": 0,
|
| 445 |
+
"content": "2. Position constraints. \\( \\text{pos}(T, \\ell, v_{\\text{num}}) \\circ v_{\\text{str}} \\) specifies that a particular part of the text \\( T \\) should equal (or not equal) the given string \\( v_{\\text{str}} \\). For example, \\( \\text{pos}(T, \\text{word}, 3) = \\text{'happy'} \\) means \"the 3rd word should be 'happy' in text \\( T \\)\". We also allow negative indices for reverse counting, e.g. \\( \\text{pos}(T, \\text{char}, -1) \\neq x \\) means \"the last letter should not be 'x' in text \\( T \\)\"."
|
| 446 |
+
},
|
| 447 |
+
{
|
| 448 |
+
"type": "list",
|
| 449 |
+
"bbox": [
|
| 450 |
+
0.171,
|
| 451 |
+
0.792,
|
| 452 |
+
0.827,
|
| 453 |
+
0.926
|
| 454 |
+
],
|
| 455 |
+
"angle": 0,
|
| 456 |
+
"content": null
|
| 457 |
+
},
|
| 458 |
+
{
|
| 459 |
+
"type": "page_number",
|
| 460 |
+
"bbox": [
|
| 461 |
+
0.494,
|
| 462 |
+
0.949,
|
| 463 |
+
0.504,
|
| 464 |
+
0.96
|
| 465 |
+
],
|
| 466 |
+
"angle": 0,
|
| 467 |
+
"content": "3"
|
| 468 |
+
}
|
| 469 |
+
],
|
| 470 |
+
[
|
| 471 |
+
{
|
| 472 |
+
"type": "header",
|
| 473 |
+
"bbox": [
|
| 474 |
+
0.174,
|
| 475 |
+
0.033,
|
| 476 |
+
0.48,
|
| 477 |
+
0.049
|
| 478 |
+
],
|
| 479 |
+
"angle": 0,
|
| 480 |
+
"content": "Published as a conference paper at ICLR 2024"
|
| 481 |
+
},
|
| 482 |
+
{
|
| 483 |
+
"type": "text",
|
| 484 |
+
"bbox": [
|
| 485 |
+
0.171,
|
| 486 |
+
0.104,
|
| 487 |
+
0.827,
|
| 488 |
+
0.189
|
| 489 |
+
],
|
| 490 |
+
"angle": 0,
|
| 491 |
+
"content": "Note that the grammar above can easily be extended to accommodate more types of base-constraints (e.g. part of speech, sentiment) by implementing the corresponding semantic checks — we leave this to future work. Also for convenience, we use constraint structure to refer to a family of constraint specifications that only differ in their values (e.g. generate a sentence with exactly \\( x \\) words, \\( x \\in \\mathbb{N} \\)), and constraint to refer to a particular constraint specification with concrete values (e.g. generate a sentence with exactly 5 words)."
|
| 492 |
+
},
|
| 493 |
+
{
|
| 494 |
+
"type": "text",
|
| 495 |
+
"bbox": [
|
| 496 |
+
0.171,
|
| 497 |
+
0.195,
|
| 498 |
+
0.825,
|
| 499 |
+
0.239
|
| 500 |
+
],
|
| 501 |
+
"angle": 0,
|
| 502 |
+
"content": "Examples and conceptual challenges. Our grammar can express a wide range of constraints through logical compositions of base-constraints across different text levels. Table II illustrates some structures across generation levels, identified by names such as para01 for paragraph generation, etc."
|
| 503 |
+
},
|
| 504 |
+
{
|
| 505 |
+
"type": "text",
|
| 506 |
+
"bbox": [
|
| 507 |
+
0.171,
|
| 508 |
+
0.244,
|
| 509 |
+
0.559,
|
| 510 |
+
0.442
|
| 511 |
+
],
|
| 512 |
+
"angle": 0,
|
| 513 |
+
"content": "In addition to the generation levels, count and pos across different levels introduce a variety of challenges. For example, word01 and sent01 challenge token-based language models to count characters; pass01 requires high-level semantic planning for models to generate a coherent passage under constraints; sent04 and para02 challenge models to generate text with presence or absence of particular words; sent03, para03, and para04 require counting at multiple levels; and word02, word03, sent02, para05, and pass01 combine counting and positional challenges at different levels, which can be considered most demanding conceptually. We empirically assess the difficulty of constraint structures in Section 5. Example COLLIE usage is presented in Figure 2"
|
| 514 |
+
},
|
| 515 |
+
{
|
| 516 |
+
"type": "code",
|
| 517 |
+
"bbox": [
|
| 518 |
+
0.566,
|
| 519 |
+
0.255,
|
| 520 |
+
0.81,
|
| 521 |
+
0.37
|
| 522 |
+
],
|
| 523 |
+
"angle": 0,
|
| 524 |
+
"content": "from collieconstraints import ( Constraint, TargetLevel, Count, Relation \n) \nc \\(=\\) Constraint( target_level \\(\\equiv\\) TargetLevel('word'), transformation \\(\\equiv\\) Count(), relation \\(\\equiv\\) Relation('=='), \n) \ntext \\(=\\) 'This is a good sentence.' \nprint(c.check(text,5)) # True"
|
| 525 |
+
},
|
| 526 |
+
{
|
| 527 |
+
"type": "image_caption",
|
| 528 |
+
"bbox": [
|
| 529 |
+
0.566,
|
| 530 |
+
0.39,
|
| 531 |
+
0.825,
|
| 532 |
+
0.419
|
| 533 |
+
],
|
| 534 |
+
"angle": 0,
|
| 535 |
+
"content": "Figure 2: Example COLLIE code for a simple number of words constraint."
|
| 536 |
+
},
|
| 537 |
+
{
|
| 538 |
+
"type": "table_caption",
|
| 539 |
+
"bbox": [
|
| 540 |
+
0.189,
|
| 541 |
+
0.47,
|
| 542 |
+
0.806,
|
| 543 |
+
0.484
|
| 544 |
+
],
|
| 545 |
+
"angle": 0,
|
| 546 |
+
"content": "Table 1: List of all constraint structures used in COLLIE-v1, with (simplified) example values."
|
| 547 |
+
},
|
| 548 |
+
{
|
| 549 |
+
"type": "table",
|
| 550 |
+
"bbox": [
|
| 551 |
+
0.173,
|
| 552 |
+
0.485,
|
| 553 |
+
0.825,
|
| 554 |
+
0.923
|
| 555 |
+
],
|
| 556 |
+
"angle": 0,
|
| 557 |
+
"content": "<table><tr><td>ID</td><td>Example instruction</td><td>Multi-constraint M</td></tr><tr><td>word01</td><td>Generate a word with at least 15 letters.</td><td>count(ξ, char, word) ≥ 15</td></tr><tr><td>word02</td><td>Generate a word with 10 letters, where letter 1 is 's', letter 3 is 'r', letter 9 is 'e'.</td><td>count(ξ, char, word) = 10 ∧ pos(ξ, char, 1) = 's' ∧ pos(ξ, char, 3) = 'r' ∧ pos(ξ, char, 9) = 'e'</td></tr><tr><td>word03</td><td>Generate a word with at most 10 letters and ends with "r".</td><td>count(ξ, char, word) ≤ 10 ∧ pos(ξ, char, -1) = 'r'</td></tr><tr><td>sent01</td><td>Please generate a sentence with exactly 82 characters. Include whitespace into your character count.</td><td>count(ξ, char, sentence) = 82</td></tr><tr><td>sent02</td><td>Generate a sentence with 10 words, where word 3 is "soft" and word 7 is "beach" and word 10 is "math".</td><td>count(ξ, word, sentence) = 10 ∧ pos(ξ, word, 3) = "soft" ∧ pos(ξ, word, 7) = "beach" ∧ pos(ξ, word, 10) = "math"</td></tr><tr><td>sent03</td><td>Generate a sentence with at least 20 words, and each word less than six characters.</td><td>count(ξ, word, sentence) ≥ 20 ∧ count(ξ, char, word) ≤ 6</td></tr><tr><td>sent04</td><td>Generate a sentence but be sure to include the words "soft", "beach" and "math".</td><td>count(ξ, word, 'soft') > 0 ∧ count(ξ, word, 'beach') > 0 ∧ count(ξ, word, 'math') > 0</td></tr><tr><td>para01</td><td>Generate a paragraph where each sentence begins with the word "soft".</td><td>pos(pos(ξ, sentence, 1), word, 1) = 'soft' ∧ pos(pos(ξ, sentence, 2), word, 1) = 'soft' ∧ ...</td></tr><tr><td>para02</td><td>Generate a paragraph with at least 4 sentences, but do not use the words "the", "and" or "of".</td><td>count(ξ, sentence, paragraph) ≥ 4 ∧ count(ξ, word, 'the') = 0 ∧ count(ξ, word, 'and') = 0 ∧ count(ξ, word, 'of') = 0</td></tr><tr><td>para03</td><td>Generate a paragraph with exactly 4 sentences, each with between 10 and 15 words.</td><td>count(ξ, sentence, paragraph) = 4 ∧ count(ξ, word, sentence) ≥ 10 ∧ count(ξ, word, sentence) ≤ 15</td></tr><tr><td>para04</td><td>Generate a paragraph with at least 3 sentences, each with at least 15 words.</td><td>count(ξ, sentence, paragraph) ≥ 3 ∧ count(ξ, word, sentence) ≥ 15</td></tr><tr><td>para05</td><td>Generate a paragraph with 2 sentences that end in "math" and "rock" respectively.</td><td>count(ξ, sentence, paragraph) = 2 ∧ pos(pos(ξ, sentence, 1), word, -1) = "math" ∧ pos(pos(ξ, sentence, 2), word, -1) = "rock"</td></tr><tr><td>pass01</td><td>Generate a passage with 2 paragraphs, each ending in "I sit." and "I cry." respectively.</td><td>count(ξ, paragraph, passage) = 2 ∧ pos(pos(ξ, paragraph, 1), sentence, -1) = "I sit." ∧ pos(pos(ξ, paragraph, 2), sentence, -1) = "I cry."</td></tr></table>"
|
| 558 |
+
},
|
| 559 |
+
{
|
| 560 |
+
"type": "page_number",
|
| 561 |
+
"bbox": [
|
| 562 |
+
0.493,
|
| 563 |
+
0.949,
|
| 564 |
+
0.506,
|
| 565 |
+
0.96
|
| 566 |
+
],
|
| 567 |
+
"angle": 0,
|
| 568 |
+
"content": "4"
|
| 569 |
+
}
|
| 570 |
+
],
|
| 571 |
+
[
|
| 572 |
+
{
|
| 573 |
+
"type": "header",
|
| 574 |
+
"bbox": [
|
| 575 |
+
0.173,
|
| 576 |
+
0.033,
|
| 577 |
+
0.48,
|
| 578 |
+
0.049
|
| 579 |
+
],
|
| 580 |
+
"angle": 0,
|
| 581 |
+
"content": "Published as a conference paper at ICLR 2024"
|
| 582 |
+
},
|
| 583 |
+
{
|
| 584 |
+
"type": "text",
|
| 585 |
+
"bbox": [
|
| 586 |
+
0.171,
|
| 587 |
+
0.104,
|
| 588 |
+
0.825,
|
| 589 |
+
0.135
|
| 590 |
+
],
|
| 591 |
+
"angle": 0,
|
| 592 |
+
"content": "In conjunction with the grammar, we develop a set of compiling tools to help construct datasets with minimal human efforts. Concretely, the pipeline of dataset construction involves 4 stages (Figure 1):"
|
| 593 |
+
},
|
| 594 |
+
{
|
| 595 |
+
"type": "text",
|
| 596 |
+
"bbox": [
|
| 597 |
+
0.171,
|
| 598 |
+
0.14,
|
| 599 |
+
0.825,
|
| 600 |
+
0.182
|
| 601 |
+
],
|
| 602 |
+
"angle": 0,
|
| 603 |
+
"content": "1. Specify constraint structures. Researchers can specify constraint structures (e.g. Table [1]), and optionally with a value range (e.g. \"generate a sentence with \\( x \\) words\", and \\( 5 \\leq x \\leq 10 \\)). This is the only stage that involves manual effort."
|
| 604 |
+
},
|
| 605 |
+
{
|
| 606 |
+
"type": "text",
|
| 607 |
+
"bbox": [
|
| 608 |
+
0.171,
|
| 609 |
+
0.188,
|
| 610 |
+
0.827,
|
| 611 |
+
0.259
|
| 612 |
+
],
|
| 613 |
+
"angle": 0,
|
| 614 |
+
"content": "2. Extract constraint values from corpora. We design an automatic extraction algorithm that runs through a given text corpus to find strings that fit a constraint structure with some value ranges. For example, given the constraint structure count(\\(\\xi\\), word, \\(\\emptyset\\)) = \\(x\\) with value range \\(5 \\leq x \\leq 10\\), the extraction algorithm returns sentences in the corpus that have 5-10 words, with associated word counts. This ensures each constraint has at least one natural solution. More details are in Section 4.1."
|
| 615 |
+
},
|
| 616 |
+
{
|
| 617 |
+
"type": "text",
|
| 618 |
+
"bbox": [
|
| 619 |
+
0.171,
|
| 620 |
+
0.265,
|
| 621 |
+
0.827,
|
| 622 |
+
0.351
|
| 623 |
+
],
|
| 624 |
+
"angle": 0,
|
| 625 |
+
"content": "3. Render natural language instructions. Each constraint can be rendered into a natural language instruction (Table I) via ruled-based translation, thanks to the compositionality grammar of COLLIE. For example, a constraint count \\((\\xi ,\\mathrm{char},\\mathrm{'v'}) = 2\\land \\mathrm{count}(\\xi ,\\mathrm{char},\\mathrm{'i'}) = 3\\) can be synthetically rendered into the instruction \"Please generate a word with exactly 2 character 'v' and exactly 3 character 'i'\". It is also possible to improve the instruction fluency or naturalness by adding additional rules to the synthetic translation, or use LLMs to polish instructions. More details are in Section A.1"
|
| 626 |
+
},
|
| 627 |
+
{
|
| 628 |
+
"type": "text",
|
| 629 |
+
"bbox": [
|
| 630 |
+
0.171,
|
| 631 |
+
0.356,
|
| 632 |
+
0.825,
|
| 633 |
+
0.428
|
| 634 |
+
],
|
| 635 |
+
"angle": 0,
|
| 636 |
+
"content": "4. Evaluate generations. Given text \\(\\xi\\) generated by a model, we use a parser to evaluate it against a constraint specification \\(S\\) and derive a True/False value, indicating if \\(\\xi\\) satisfies \\(S\\). We use an average success rate as the main metric to evaluate constraint conformance. We can also compare the fluency of \\(\\xi\\) against the corpus-extracted \"groundtruth\" text, and render more fine-grained natural language feedback indicating which base-constraints are met and which not (see Section A.2)."
|
| 637 |
+
},
|
| 638 |
+
{
|
| 639 |
+
"type": "list",
|
| 640 |
+
"bbox": [
|
| 641 |
+
0.171,
|
| 642 |
+
0.14,
|
| 643 |
+
0.827,
|
| 644 |
+
0.428
|
| 645 |
+
],
|
| 646 |
+
"angle": 0,
|
| 647 |
+
"content": null
|
| 648 |
+
},
|
| 649 |
+
{
|
| 650 |
+
"type": "title",
|
| 651 |
+
"bbox": [
|
| 652 |
+
0.172,
|
| 653 |
+
0.451,
|
| 654 |
+
0.383,
|
| 655 |
+
0.467
|
| 656 |
+
],
|
| 657 |
+
"angle": 0,
|
| 658 |
+
"content": "4 COLLIE-V1 DATASET"
|
| 659 |
+
},
|
| 660 |
+
{
|
| 661 |
+
"type": "text",
|
| 662 |
+
"bbox": [
|
| 663 |
+
0.171,
|
| 664 |
+
0.485,
|
| 665 |
+
0.827,
|
| 666 |
+
0.556
|
| 667 |
+
],
|
| 668 |
+
"angle": 0,
|
| 669 |
+
"content": "We construct COLLIE-v1 using constraints structures from Table [1], which contains 2,080 constraint instances from 13 constraint types, with 1,435 unique constraint prompts. The broader NLP community can contribute to future dataset releases by adding additional constraints, metrics, data sources. The curated constraint set can co-evolve with models to become more challenging and comprehensive as model capabilities improve."
|
| 670 |
+
},
|
| 671 |
+
{
|
| 672 |
+
"type": "title",
|
| 673 |
+
"bbox": [
|
| 674 |
+
0.172,
|
| 675 |
+
0.577,
|
| 676 |
+
0.547,
|
| 677 |
+
0.59
|
| 678 |
+
],
|
| 679 |
+
"angle": 0,
|
| 680 |
+
"content": "4.1 CONSTRAINT SPECIFICATION AND EXTRACTION"
|
| 681 |
+
},
|
| 682 |
+
{
|
| 683 |
+
"type": "text",
|
| 684 |
+
"bbox": [
|
| 685 |
+
0.171,
|
| 686 |
+
0.604,
|
| 687 |
+
0.825,
|
| 688 |
+
0.676
|
| 689 |
+
],
|
| 690 |
+
"angle": 0,
|
| 691 |
+
"content": "Constraint specification. We begin by defining 13 constraint structures. We chose these 13 structures to span various generation levels (word, sentence, paragraph and passage generation) and challenges (counting, position). In total, we have 3 word-level, 4 sentence-level, 5 paragraph-level, and 1 passage-level constraint structures. Of these 13 constraint structures, 5 are single-level and the remaining 8 are multi-level constraints. See Table \\(\\boxed{1}\\) for the exact constraint structures we use."
|
| 692 |
+
},
|
| 693 |
+
{
|
| 694 |
+
"type": "text",
|
| 695 |
+
"bbox": [
|
| 696 |
+
0.171,
|
| 697 |
+
0.681,
|
| 698 |
+
0.827,
|
| 699 |
+
0.766
|
| 700 |
+
],
|
| 701 |
+
"angle": 0,
|
| 702 |
+
"content": "Constraint extraction. While constructing constraint structures is straightforward using our grammar, choosing constraint targets is challenging for two reasons: (1) Not all targets will admit a conforming natural language string. For instance, the constraint, \"Generate a two word sentence beginning with the word The.\" has no grammatically acceptable answer. (2) Even if a constraint admits a possible answer, it may not admit a plausible answer. For instance, \"Generate a sentence with 1928 words\" is possible, but any such sentence is very unlikely to appear in regular discourse."
|
| 703 |
+
},
|
| 704 |
+
{
|
| 705 |
+
"type": "text",
|
| 706 |
+
"bbox": [
|
| 707 |
+
0.171,
|
| 708 |
+
0.772,
|
| 709 |
+
0.827,
|
| 710 |
+
0.926
|
| 711 |
+
],
|
| 712 |
+
"angle": 0,
|
| 713 |
+
"content": "To address both challenges, we sample constraint target values from natural language corpora, which we denote as the data source. Given a constraint structure \\(\\mathcal{C}\\) and documents \\(\\bar{\\mathcal{D}} = \\{d_1,\\dots,d_n\\}\\), we chunk each document into a series of strings \\(d_{i} = \\{s_{1},\\ldots ,s_{m}\\}\\), where each \\(s_i\\) can be a sentence, paragraph, or passage as required by \\(\\mathcal{C}\\). Each string \\(s_i\\) undergoes source-specific automated filtering and post-processing to remove artifacts, which we detail in Section B.4. Given \\(\\mathcal{C}\\) and \\(s_i\\), we extract target values such that \\(\\mathcal{C}\\) is satisfied. In most cases, the satisfying target values can be directly extracted using our provided utilities. For example, for constraints with structure \"sentence with \\(x\\) words\", we can directly apply word tokenization and counting to the example string \\(s_i\\). In cases in which direct extraction is not possible, (e.g. \"do not include word \\(w\\)\", we specify a range of possible targets (e.g. \\(\\{\\text{the, and, of}\\}\\)) to sweep over. All in all, our approach ensures that (1) there exists a natural language string that can satisfy each constraint and target pair, and (2) the targets follow a"
|
| 714 |
+
},
|
| 715 |
+
{
|
| 716 |
+
"type": "page_number",
|
| 717 |
+
"bbox": [
|
| 718 |
+
0.494,
|
| 719 |
+
0.949,
|
| 720 |
+
0.504,
|
| 721 |
+
0.96
|
| 722 |
+
],
|
| 723 |
+
"angle": 0,
|
| 724 |
+
"content": "5"
|
| 725 |
+
}
|
| 726 |
+
],
|
| 727 |
+
[
|
| 728 |
+
{
|
| 729 |
+
"type": "header",
|
| 730 |
+
"bbox": [
|
| 731 |
+
0.173,
|
| 732 |
+
0.033,
|
| 733 |
+
0.48,
|
| 734 |
+
0.049
|
| 735 |
+
],
|
| 736 |
+
"angle": 0,
|
| 737 |
+
"content": "Published as a conference paper at ICLR 2024"
|
| 738 |
+
},
|
| 739 |
+
{
|
| 740 |
+
"type": "image",
|
| 741 |
+
"bbox": [
|
| 742 |
+
0.178,
|
| 743 |
+
0.101,
|
| 744 |
+
0.825,
|
| 745 |
+
0.245
|
| 746 |
+
],
|
| 747 |
+
"angle": 0,
|
| 748 |
+
"content": null
|
| 749 |
+
},
|
| 750 |
+
{
|
| 751 |
+
"type": "image_caption",
|
| 752 |
+
"bbox": [
|
| 753 |
+
0.171,
|
| 754 |
+
0.256,
|
| 755 |
+
0.828,
|
| 756 |
+
0.286
|
| 757 |
+
],
|
| 758 |
+
"angle": 0,
|
| 759 |
+
"content": "Figure 3: Data statistics. (a) Number of constraints from each constraint structure. (b) Fraction of strings removed by automated filtering. (c) Length statistics for different levels for each data source."
|
| 760 |
+
},
|
| 761 |
+
{
|
| 762 |
+
"type": "text",
|
| 763 |
+
"bbox": [
|
| 764 |
+
0.171,
|
| 765 |
+
0.323,
|
| 766 |
+
0.825,
|
| 767 |
+
0.352
|
| 768 |
+
],
|
| 769 |
+
"angle": 0,
|
| 770 |
+
"content": "plausible distribution induced by natural language corpora. Our extraction system is extensible, and can operate on new constraints and data sources with minimal modifications."
|
| 771 |
+
},
|
| 772 |
+
{
|
| 773 |
+
"type": "text",
|
| 774 |
+
"bbox": [
|
| 775 |
+
0.17,
|
| 776 |
+
0.378,
|
| 777 |
+
0.825,
|
| 778 |
+
0.435
|
| 779 |
+
],
|
| 780 |
+
"angle": 0,
|
| 781 |
+
"content": "Extensibility Adding additional data sources to the extraction pipeline is similarly easy, requiring a text delimiter, and optional string filtering and post-processing functions. As a case-study on the extensibility of COLLIE, we demonstrate how to extend constraints to include POS-tags such as \"Generate a sentence with verbs\". Details are in section B.5"
|
| 782 |
+
},
|
| 783 |
+
{
|
| 784 |
+
"type": "title",
|
| 785 |
+
"bbox": [
|
| 786 |
+
0.172,
|
| 787 |
+
0.464,
|
| 788 |
+
0.324,
|
| 789 |
+
0.478
|
| 790 |
+
],
|
| 791 |
+
"angle": 0,
|
| 792 |
+
"content": "4.2 DATA SOURCES"
|
| 793 |
+
},
|
| 794 |
+
{
|
| 795 |
+
"type": "text",
|
| 796 |
+
"bbox": [
|
| 797 |
+
0.17,
|
| 798 |
+
0.495,
|
| 799 |
+
0.827,
|
| 800 |
+
0.553
|
| 801 |
+
],
|
| 802 |
+
"angle": 0,
|
| 803 |
+
"content": "To adequately cover diverse styles and content, we extract constraint targets from three distinct data sources: Wikipedia (Wiki) (Foundation 2022), Common Crawl News (CC-News) (Hamborg et al., 2017), and the Project Gutenberg Corpus (Guten) (Brooke et al., 2015). We provide an overview of these data sources below and leave source-specific filtering and post-processing details to Section B.4."
|
| 804 |
+
},
|
| 805 |
+
{
|
| 806 |
+
"type": "text",
|
| 807 |
+
"bbox": [
|
| 808 |
+
0.171,
|
| 809 |
+
0.557,
|
| 810 |
+
0.827,
|
| 811 |
+
0.587
|
| 812 |
+
],
|
| 813 |
+
"angle": 0,
|
| 814 |
+
"content": "Wiki. Wikipedia (Wiki) (Foundation, 2022) consists of over 6 million English Wikipedia articles. We included this data source for the diverse subject matter present in the corpus."
|
| 815 |
+
},
|
| 816 |
+
{
|
| 817 |
+
"type": "text",
|
| 818 |
+
"bbox": [
|
| 819 |
+
0.171,
|
| 820 |
+
0.592,
|
| 821 |
+
0.825,
|
| 822 |
+
0.636
|
| 823 |
+
],
|
| 824 |
+
"angle": 0,
|
| 825 |
+
"content": "CC-News. The Common Crawl News corpus (CC-News) (Hamborg et al., 2017) consists of 708,241 English language news articles published between Jan 2017 and December 2019. We include CC-News to include interview dialogues, as well as popular culture and current events."
|
| 826 |
+
},
|
| 827 |
+
{
|
| 828 |
+
"type": "text",
|
| 829 |
+
"bbox": [
|
| 830 |
+
0.171,
|
| 831 |
+
0.641,
|
| 832 |
+
0.827,
|
| 833 |
+
0.699
|
| 834 |
+
],
|
| 835 |
+
"angle": 0,
|
| 836 |
+
"content": "Gutenberg. The Project Gutenberg corpus (Gutenberg) (Brooke et al., 2015) consists of over 50,000 documents that include fiction, histories, biographies, and other works that are in the public domain in the United States. We include this corpus for its variety in genres (e.g. non-fiction, fiction, plays, etc.) and style from different time periods."
|
| 837 |
+
},
|
| 838 |
+
{
|
| 839 |
+
"type": "title",
|
| 840 |
+
"bbox": [
|
| 841 |
+
0.172,
|
| 842 |
+
0.727,
|
| 843 |
+
0.461,
|
| 844 |
+
0.74
|
| 845 |
+
],
|
| 846 |
+
"angle": 0,
|
| 847 |
+
"content": "4.3 DATA VALIDATION AND STATISTICS"
|
| 848 |
+
},
|
| 849 |
+
{
|
| 850 |
+
"type": "text",
|
| 851 |
+
"bbox": [
|
| 852 |
+
0.17,
|
| 853 |
+
0.758,
|
| 854 |
+
0.827,
|
| 855 |
+
0.927
|
| 856 |
+
],
|
| 857 |
+
"angle": 0,
|
| 858 |
+
"content": "We extract constraints from 300 randomly sampled documents from each source. After extracting the target values, we sample up to 100 targets for each constraint structure on each data source. We remove any string targets by that begins or ends with any character that is not a letter or number. We randomly sample 5 out of these 100 targets and their supporting examples to qualitatively verify their validity. Since the extraction process is relatively fast, we modify filters and post-processors if there are systemic issues and re-run the extraction phase. We provide statistics of the final number of constraints from each constraint structure in Figure 3(a). Some constraints (e.g. number of sentences per paragraph) are tightly clustered around the mean, and thus do not induce many valid constraint targets. The fraction of strings filtered for each data source and level is presented in Figure 3(b). The automated filtering removes a large fraction of the strings in most cases, as high recall is important to ensure quality. The high fraction of omitted passages is due to the removal of passages \\(< 2\\) paragraphs in length. Mean lengths for each level and data source is presented in Figure 3(c)."
|
| 859 |
+
},
|
| 860 |
+
{
|
| 861 |
+
"type": "page_number",
|
| 862 |
+
"bbox": [
|
| 863 |
+
0.494,
|
| 864 |
+
0.949,
|
| 865 |
+
0.506,
|
| 866 |
+
0.96
|
| 867 |
+
],
|
| 868 |
+
"angle": 0,
|
| 869 |
+
"content": "6"
|
| 870 |
+
}
|
| 871 |
+
],
|
| 872 |
+
[
|
| 873 |
+
{
|
| 874 |
+
"type": "header",
|
| 875 |
+
"bbox": [
|
| 876 |
+
0.174,
|
| 877 |
+
0.033,
|
| 878 |
+
0.48,
|
| 879 |
+
0.049
|
| 880 |
+
],
|
| 881 |
+
"angle": 0,
|
| 882 |
+
"content": "Published as a conference paper at ICLR 2024"
|
| 883 |
+
},
|
| 884 |
+
{
|
| 885 |
+
"type": "image",
|
| 886 |
+
"bbox": [
|
| 887 |
+
0.177,
|
| 888 |
+
0.103,
|
| 889 |
+
0.353,
|
| 890 |
+
0.201
|
| 891 |
+
],
|
| 892 |
+
"angle": 0,
|
| 893 |
+
"content": null
|
| 894 |
+
},
|
| 895 |
+
{
|
| 896 |
+
"type": "image",
|
| 897 |
+
"bbox": [
|
| 898 |
+
0.374,
|
| 899 |
+
0.103,
|
| 900 |
+
0.588,
|
| 901 |
+
0.205
|
| 902 |
+
],
|
| 903 |
+
"angle": 0,
|
| 904 |
+
"content": null
|
| 905 |
+
},
|
| 906 |
+
{
|
| 907 |
+
"type": "image",
|
| 908 |
+
"bbox": [
|
| 909 |
+
0.602,
|
| 910 |
+
0.103,
|
| 911 |
+
0.818,
|
| 912 |
+
0.205
|
| 913 |
+
],
|
| 914 |
+
"angle": 0,
|
| 915 |
+
"content": null
|
| 916 |
+
},
|
| 917 |
+
{
|
| 918 |
+
"type": "image",
|
| 919 |
+
"bbox": [
|
| 920 |
+
0.177,
|
| 921 |
+
0.207,
|
| 922 |
+
0.377,
|
| 923 |
+
0.311
|
| 924 |
+
],
|
| 925 |
+
"angle": 0,
|
| 926 |
+
"content": null
|
| 927 |
+
},
|
| 928 |
+
{
|
| 929 |
+
"type": "image",
|
| 930 |
+
"bbox": [
|
| 931 |
+
0.378,
|
| 932 |
+
0.208,
|
| 933 |
+
0.6,
|
| 934 |
+
0.31
|
| 935 |
+
],
|
| 936 |
+
"angle": 0,
|
| 937 |
+
"content": null
|
| 938 |
+
},
|
| 939 |
+
{
|
| 940 |
+
"type": "image",
|
| 941 |
+
"bbox": [
|
| 942 |
+
0.601,
|
| 943 |
+
0.208,
|
| 944 |
+
0.822,
|
| 945 |
+
0.311
|
| 946 |
+
],
|
| 947 |
+
"angle": 0,
|
| 948 |
+
"content": null
|
| 949 |
+
},
|
| 950 |
+
{
|
| 951 |
+
"type": "image_caption",
|
| 952 |
+
"bbox": [
|
| 953 |
+
0.171,
|
| 954 |
+
0.323,
|
| 955 |
+
0.828,
|
| 956 |
+
0.384
|
| 957 |
+
],
|
| 958 |
+
"angle": 0,
|
| 959 |
+
"content": "Figure 4: Model comparison. (a) Overall model performance summarized by weighted average across all constraint groups. (b) -(f) Constraint satisfaction rates of generated texts by GPT-4, GPT-3.5, PaLM, Vicuna-7B, and Alpaca-7B across various constraint groups. Error bars represent standard error. Constraint group names are in Table[1]. Sample sizes are reported in Figure[11]."
|
| 960 |
+
},
|
| 961 |
+
{
|
| 962 |
+
"type": "title",
|
| 963 |
+
"bbox": [
|
| 964 |
+
0.173,
|
| 965 |
+
0.422,
|
| 966 |
+
0.283,
|
| 967 |
+
0.436
|
| 968 |
+
],
|
| 969 |
+
"angle": 0,
|
| 970 |
+
"content": "5 RESULTS"
|
| 971 |
+
},
|
| 972 |
+
{
|
| 973 |
+
"type": "text",
|
| 974 |
+
"bbox": [
|
| 975 |
+
0.17,
|
| 976 |
+
0.465,
|
| 977 |
+
0.828,
|
| 978 |
+
0.563
|
| 979 |
+
],
|
| 980 |
+
"angle": 0,
|
| 981 |
+
"content": "Our main experiments in this paper focus on a zero-shot prompting setup with the following language models (LMs): 1) larger and closed-source LMs such as OpenAI GPT (Brown et al., 2020; OpenAI, 2023b) (gpt-3.5-turbo, gpt-4) and Google PaLM-2 (Anil et al., 2023) (text-bison-001); 2) smaller and open-source LMs such as Alpaca-7B (Taori et al., 2023), Vicuna-7B (Chiang et al., 2023). We performed additional one-shot prompting and find GPT performances similar to zero-shot performance, see Section C.1 By default, we use a sampling temperature of 0.7, and sample multiple trials (20 for GPT/PaLM, 5 for Alpaca/Vicuna). All experiments were run in July, 2023."
|
| 982 |
+
},
|
| 983 |
+
{
|
| 984 |
+
"type": "text",
|
| 985 |
+
"bbox": [
|
| 986 |
+
0.171,
|
| 987 |
+
0.569,
|
| 988 |
+
0.825,
|
| 989 |
+
0.64
|
| 990 |
+
],
|
| 991 |
+
"angle": 0,
|
| 992 |
+
"content": "Zero-shot performance comparison. As evidenced in Figures \\(\\boxed{4}\\) (a), GPT-4 consistently surpassed other models in zero-shot constrained text generation performances, achieving more than twice the constraint satisfaction rate than other non-GPT models. The overarching performance trend observed shows GPT-4 leading the pack, followed by GPT-3.5 and PaLM with a large gap, and then followed closely by the smaller models, Vicuna-7B and Alpaca-7B."
|
| 993 |
+
},
|
| 994 |
+
{
|
| 995 |
+
"type": "text",
|
| 996 |
+
"bbox": [
|
| 997 |
+
0.171,
|
| 998 |
+
0.646,
|
| 999 |
+
0.826,
|
| 1000 |
+
0.717
|
| 1001 |
+
],
|
| 1002 |
+
"angle": 0,
|
| 1003 |
+
"content": "Constraints all models can follow. Certain tasks, specifically word01 (generating a word with at least \\(a\\) letters), sent04 (generating a sentence containing words X, Y, Z), and para01 (generating a paragraph with each sentence starting with the word X), posed minimal challenge to the majority of contemporary language models. These tasks demonstrate the proficiency of current models at simple constraints ensuring existence, as depicted in Figure 9(f)."
|
| 1004 |
+
},
|
| 1005 |
+
{
|
| 1006 |
+
"type": "text",
|
| 1007 |
+
"bbox": [
|
| 1008 |
+
0.171,
|
| 1009 |
+
0.722,
|
| 1010 |
+
0.825,
|
| 1011 |
+
0.793
|
| 1012 |
+
],
|
| 1013 |
+
"angle": 0,
|
| 1014 |
+
"content": "Constraints partially solved by GPT-4 only. However, a notable distinction arose when tasks incorporated more counting/position constraints and requested longer generations. Tasks such as word03, para04, para05, and pass01 were only partially addressed by GPT-4, with constraint satisfaction rates ranging between \\(40\\%\\) and \\(70\\%\\). Despite GPT-4's partial success in these tasks, other models failed to deliver any satisfactory performance."
|
| 1015 |
+
},
|
| 1016 |
+
{
|
| 1017 |
+
"type": "text",
|
| 1018 |
+
"bbox": [
|
| 1019 |
+
0.171,
|
| 1020 |
+
0.799,
|
| 1021 |
+
0.827,
|
| 1022 |
+
0.926
|
| 1023 |
+
],
|
| 1024 |
+
"angle": 0,
|
| 1025 |
+
"content": "Constraints remaining very challenging. Furthermore, some tasks proved challenging across all models. Tasks word02, sent01, sent02, and para03 present challenges in terms of arbitrary position constraints and mixed counting levels (see Section 5.1 for detailed analysis), indicating areas that necessitate further advancements in language model technology. Moreover, the average pass@20 rate of GPT-4 was above \\(63\\%\\) across all constraints, significantly higher than the \\(32\\%\\) achieved by GPT-3.5, as depicted in Figure 5. Although GPT-4 demonstrated a significant performance advantage, its constraint satisfaction rate of \\(63\\%\\) is far from perfect. This suggests considerable scope for improvement in controllable text generation with language models. These findings underscore the opportunities and challenges in the continued evolution of language models."
|
| 1026 |
+
},
|
| 1027 |
+
{
|
| 1028 |
+
"type": "page_number",
|
| 1029 |
+
"bbox": [
|
| 1030 |
+
0.494,
|
| 1031 |
+
0.949,
|
| 1032 |
+
0.504,
|
| 1033 |
+
0.96
|
| 1034 |
+
],
|
| 1035 |
+
"angle": 0,
|
| 1036 |
+
"content": "7"
|
| 1037 |
+
}
|
| 1038 |
+
],
|
| 1039 |
+
[
|
| 1040 |
+
{
|
| 1041 |
+
"type": "header",
|
| 1042 |
+
"bbox": [
|
| 1043 |
+
0.174,
|
| 1044 |
+
0.033,
|
| 1045 |
+
0.48,
|
| 1046 |
+
0.049
|
| 1047 |
+
],
|
| 1048 |
+
"angle": 0,
|
| 1049 |
+
"content": "Published as a conference paper at ICLR 2024"
|
| 1050 |
+
},
|
| 1051 |
+
{
|
| 1052 |
+
"type": "image",
|
| 1053 |
+
"bbox": [
|
| 1054 |
+
0.177,
|
| 1055 |
+
0.109,
|
| 1056 |
+
0.465,
|
| 1057 |
+
0.271
|
| 1058 |
+
],
|
| 1059 |
+
"angle": 0,
|
| 1060 |
+
"content": null
|
| 1061 |
+
},
|
| 1062 |
+
{
|
| 1063 |
+
"type": "image",
|
| 1064 |
+
"bbox": [
|
| 1065 |
+
0.483,
|
| 1066 |
+
0.104,
|
| 1067 |
+
0.837,
|
| 1068 |
+
0.271
|
| 1069 |
+
],
|
| 1070 |
+
"angle": 0,
|
| 1071 |
+
"content": null
|
| 1072 |
+
},
|
| 1073 |
+
{
|
| 1074 |
+
"type": "image_caption",
|
| 1075 |
+
"bbox": [
|
| 1076 |
+
0.171,
|
| 1077 |
+
0.284,
|
| 1078 |
+
0.47,
|
| 1079 |
+
0.368
|
| 1080 |
+
],
|
| 1081 |
+
"angle": 0,
|
| 1082 |
+
"content": "Figure 5: Pass@k performance. We sample the model-generated text 20 times for all instruction prompts in the dataset. The curves represent the average pass rate across all instruction prompts up to \\( k \\) samples. The shaded areas indicate the standard errors."
|
| 1083 |
+
},
|
| 1084 |
+
{
|
| 1085 |
+
"type": "image_caption",
|
| 1086 |
+
"bbox": [
|
| 1087 |
+
0.479,
|
| 1088 |
+
0.284,
|
| 1089 |
+
0.842,
|
| 1090 |
+
0.368
|
| 1091 |
+
],
|
| 1092 |
+
"angle": 0,
|
| 1093 |
+
"content": "Figure 6: Position effect. Satisfaction rates of LMs on tasks involving pos(\\(\\xi\\), level, i). The tasks word02 and sent02 impose constraints on characters and words at arbitrary positions. The task para01 constrains the first word. The tasks word03, para05, and pass01 constrain the last characters, words, and sentences."
|
| 1094 |
+
},
|
| 1095 |
+
{
|
| 1096 |
+
"type": "image",
|
| 1097 |
+
"bbox": [
|
| 1098 |
+
0.177,
|
| 1099 |
+
0.39,
|
| 1100 |
+
0.825,
|
| 1101 |
+
0.573
|
| 1102 |
+
],
|
| 1103 |
+
"angle": 0,
|
| 1104 |
+
"content": null
|
| 1105 |
+
},
|
| 1106 |
+
{
|
| 1107 |
+
"type": "image_caption",
|
| 1108 |
+
"bbox": [
|
| 1109 |
+
0.17,
|
| 1110 |
+
0.585,
|
| 1111 |
+
0.828,
|
| 1112 |
+
0.657
|
| 1113 |
+
],
|
| 1114 |
+
"angle": 0,
|
| 1115 |
+
"content": "Figure 7: Counting level effect. Satisfaction rates for LMs on tasks involving count \\((\\xi, \\text{level}, \\varphi)\\). Task word01 sets a minimum word length of \\(a\\). Task sent01 requires exactly \\(a\\) characters in a sentence. Task sent03 asks a sentence to contain at least \\(b\\) words, with each word no longer than \\(a\\) letters. Task para04 asks a paragraph to consist of at least \\(b\\) sentences, each containing a minimum of \\(a\\) words. Task para03 further imposes an upper limit on the number of words per sentence."
|
| 1116 |
+
},
|
| 1117 |
+
{
|
| 1118 |
+
"type": "title",
|
| 1119 |
+
"bbox": [
|
| 1120 |
+
0.172,
|
| 1121 |
+
0.687,
|
| 1122 |
+
0.289,
|
| 1123 |
+
0.7
|
| 1124 |
+
],
|
| 1125 |
+
"angle": 0,
|
| 1126 |
+
"content": "5.1 ANALYSIS"
|
| 1127 |
+
},
|
| 1128 |
+
{
|
| 1129 |
+
"type": "text",
|
| 1130 |
+
"bbox": [
|
| 1131 |
+
0.171,
|
| 1132 |
+
0.714,
|
| 1133 |
+
0.825,
|
| 1134 |
+
0.785
|
| 1135 |
+
],
|
| 1136 |
+
"angle": 0,
|
| 1137 |
+
"content": "Performance consistency across data sources. We observe a high degree of consistency in the performance of models on a given constraint structure, regardless of the data source. This uniformity is evident across all models, as highlighted in Figure 9(g). This indicates that the ability of a language model to adhere to the logic of constraints takes precedence over the specific target values or the distribution of the data."
|
| 1138 |
+
},
|
| 1139 |
+
{
|
| 1140 |
+
"type": "text",
|
| 1141 |
+
"bbox": [
|
| 1142 |
+
0.171,
|
| 1143 |
+
0.791,
|
| 1144 |
+
0.827,
|
| 1145 |
+
0.889
|
| 1146 |
+
],
|
| 1147 |
+
"angle": 0,
|
| 1148 |
+
"content": "Position effect. As depicted in Figure 6 the pos(\\(\\xi\\), level, \\(i\\)) function, constraining the \\(i\\)-th sub-string (letter, word, or sentence), exhibits varying levels of difficulty depending on the value of \\(i\\). Models generally perform well when the positional constraint is applied to the first sub-string (\\(i = 1\\), task para01). However, only GPT-4 displays partial success with the last positional constraints (\\(i = -1\\), tasks word03, para05, pass01). Notably, all models encounter difficulties when generating text that satisfies positional constraints at arbitrary positions \\(i\\). Additionally, we find that the position effect exhibits a lower sensitivity to constraint levels."
|
| 1149 |
+
},
|
| 1150 |
+
{
|
| 1151 |
+
"type": "text",
|
| 1152 |
+
"bbox": [
|
| 1153 |
+
0.171,
|
| 1154 |
+
0.896,
|
| 1155 |
+
0.827,
|
| 1156 |
+
0.926
|
| 1157 |
+
],
|
| 1158 |
+
"angle": 0,
|
| 1159 |
+
"content": "Counting level effect. Counting characters within a word is easier than within a sentence for models, as illustrated in Figure 7. Furthermore, tasks demanding exact equality (task sent01) prove more"
|
| 1160 |
+
},
|
| 1161 |
+
{
|
| 1162 |
+
"type": "page_number",
|
| 1163 |
+
"bbox": [
|
| 1164 |
+
0.494,
|
| 1165 |
+
0.949,
|
| 1166 |
+
0.504,
|
| 1167 |
+
0.96
|
| 1168 |
+
],
|
| 1169 |
+
"angle": 0,
|
| 1170 |
+
"content": "8"
|
| 1171 |
+
}
|
| 1172 |
+
],
|
| 1173 |
+
[
|
| 1174 |
+
{
|
| 1175 |
+
"type": "header",
|
| 1176 |
+
"bbox": [
|
| 1177 |
+
0.173,
|
| 1178 |
+
0.033,
|
| 1179 |
+
0.48,
|
| 1180 |
+
0.049
|
| 1181 |
+
],
|
| 1182 |
+
"angle": 0,
|
| 1183 |
+
"content": "Published as a conference paper at ICLR 2024"
|
| 1184 |
+
},
|
| 1185 |
+
{
|
| 1186 |
+
"type": "image_caption",
|
| 1187 |
+
"bbox": [
|
| 1188 |
+
0.182,
|
| 1189 |
+
0.107,
|
| 1190 |
+
0.466,
|
| 1191 |
+
0.134
|
| 1192 |
+
],
|
| 1193 |
+
"angle": 0,
|
| 1194 |
+
"content": "(a) Constraint satisfaction rate -GPT-4 (4th round)"
|
| 1195 |
+
},
|
| 1196 |
+
{
|
| 1197 |
+
"type": "image",
|
| 1198 |
+
"bbox": [
|
| 1199 |
+
0.19,
|
| 1200 |
+
0.139,
|
| 1201 |
+
0.49,
|
| 1202 |
+
0.274
|
| 1203 |
+
],
|
| 1204 |
+
"angle": 0,
|
| 1205 |
+
"content": null
|
| 1206 |
+
},
|
| 1207 |
+
{
|
| 1208 |
+
"type": "image",
|
| 1209 |
+
"bbox": [
|
| 1210 |
+
0.51,
|
| 1211 |
+
0.106,
|
| 1212 |
+
0.822,
|
| 1213 |
+
0.278
|
| 1214 |
+
],
|
| 1215 |
+
"angle": 0,
|
| 1216 |
+
"content": null
|
| 1217 |
+
},
|
| 1218 |
+
{
|
| 1219 |
+
"type": "image_caption",
|
| 1220 |
+
"bbox": [
|
| 1221 |
+
0.171,
|
| 1222 |
+
0.289,
|
| 1223 |
+
0.825,
|
| 1224 |
+
0.332
|
| 1225 |
+
],
|
| 1226 |
+
"angle": 0,
|
| 1227 |
+
"content": "Figure 8: GPT-4 interactive generation performance. (a) Constraint satisfaction rate of GPT-4 generated texts in the 4th round across various constraint groups. (b) GPT-4 overall performance in different feedback rounds. The 1st round is zero-shot, and the 2nd - 4th rounds are with feedback."
|
| 1228 |
+
},
|
| 1229 |
+
{
|
| 1230 |
+
"type": "text",
|
| 1231 |
+
"bbox": [
|
| 1232 |
+
0.171,
|
| 1233 |
+
0.358,
|
| 1234 |
+
0.825,
|
| 1235 |
+
0.387
|
| 1236 |
+
],
|
| 1237 |
+
"angle": 0,
|
| 1238 |
+
"content": "challenging than those requiring a range (task para03), and are considerably more difficult than tasks specifying just an upper or lower bound (tasks word01, sent03, para04)."
|
| 1239 |
+
},
|
| 1240 |
+
{
|
| 1241 |
+
"type": "text",
|
| 1242 |
+
"bbox": [
|
| 1243 |
+
0.171,
|
| 1244 |
+
0.393,
|
| 1245 |
+
0.825,
|
| 1246 |
+
0.477
|
| 1247 |
+
],
|
| 1248 |
+
"angle": 0,
|
| 1249 |
+
"content": "Increased difficulty with logical composition. The incorporation of logical compositions into constraints considerably increases their difficulty. Task sent03 serves as an example of this, adding an extra constraint at the sentence level compared to task word01. Despite the assumption that the added constraint should be manageable for all models, performance on task sent03 uniformly trails behind that on task word01, as shown in Figure 7. This highlights the intricacy and challenge introduced by logical compositions within constraints."
|
| 1250 |
+
},
|
| 1251 |
+
{
|
| 1252 |
+
"type": "text",
|
| 1253 |
+
"bbox": [
|
| 1254 |
+
0.171,
|
| 1255 |
+
0.483,
|
| 1256 |
+
0.827,
|
| 1257 |
+
0.637
|
| 1258 |
+
],
|
| 1259 |
+
"angle": 0,
|
| 1260 |
+
"content": "Performance enhancement through feedback and interaction. We utilize COLLIE to generate automated natural language feedback (e.g., \"Your task is to generate a word with exactly 2 character 'v' and exactly 3 character 'i'. However, you generate a word with 3 character 'v' and 4 character 'i') and engage LLMs in a generation-feedback dialogue. In Figure 8 we observe a significant \\(20\\%\\) improvement in GPT-4 performance after the second round of feedback. However, the model's performance plateaus at \\(66\\%\\) even after three additional rounds of feedback, comparable to pass@5 using i.i.d. sampling. The extent of performance improvement varies across tasks, with word03's constraint satisfaction rate increasing from \\(62.1\\%\\) to \\(10\\%\\). Conversely, word02, sent01, and sent02 tasks remain challenging for the model. These findings suggest that there is still room for improvement, highlighting the difficulty of our dataset, and emphasizing the need for further research on better ways to incorporate natural language feedback."
|
| 1261 |
+
},
|
| 1262 |
+
{
|
| 1263 |
+
"type": "title",
|
| 1264 |
+
"bbox": [
|
| 1265 |
+
0.172,
|
| 1266 |
+
0.657,
|
| 1267 |
+
0.321,
|
| 1268 |
+
0.672
|
| 1269 |
+
],
|
| 1270 |
+
"angle": 0,
|
| 1271 |
+
"content": "6 CONCLUSION"
|
| 1272 |
+
},
|
| 1273 |
+
{
|
| 1274 |
+
"type": "text",
|
| 1275 |
+
"bbox": [
|
| 1276 |
+
0.171,
|
| 1277 |
+
0.678,
|
| 1278 |
+
0.827,
|
| 1279 |
+
0.803
|
| 1280 |
+
],
|
| 1281 |
+
"angle": 0,
|
| 1282 |
+
"content": "In this work, we present COLLIE, a grammar-based framework for specifying textual constraints. COLLIE simplifies the process of creating constrained-generation datasets by enabling researchers to focus on specifying high level constraint structures, while COLLIE automatically extracts constraint values, renders natural language instructions, and assesses model performance. To demonstrate the utility of the COLLIE framework, we construct COLLIE-v1 with 1,132 constraints from 13 different types, extracted from 3 different data sources. We evaluate five state-of-the-art LLMs of various sizes on COLLIE-v1, and find that it provides fine-grained insights into model capabilities and shortcomings. We hope that model developers can use COLLIE-v1 to develop more capable models, while future releases of COLLIE can continue to adapt to the capabilities and needs of future models and users."
|
| 1283 |
+
},
|
| 1284 |
+
{
|
| 1285 |
+
"type": "title",
|
| 1286 |
+
"bbox": [
|
| 1287 |
+
0.172,
|
| 1288 |
+
0.824,
|
| 1289 |
+
0.496,
|
| 1290 |
+
0.839
|
| 1291 |
+
],
|
| 1292 |
+
"angle": 0,
|
| 1293 |
+
"content": "LIMITATIONS AND SOCIETAL IMPACTS"
|
| 1294 |
+
},
|
| 1295 |
+
{
|
| 1296 |
+
"type": "text",
|
| 1297 |
+
"bbox": [
|
| 1298 |
+
0.171,
|
| 1299 |
+
0.855,
|
| 1300 |
+
0.827,
|
| 1301 |
+
0.926
|
| 1302 |
+
],
|
| 1303 |
+
"angle": 0,
|
| 1304 |
+
"content": "Although care was taken to design the filtering and processing functions, such automated approaches are never perfect and remaining artifacts in corpora might lead to unnatural reference texts or constraints. Further filtering (e.g., by grammar checkers, parsers, or humans) could improve the dataset quality. Our representative constraint structures were selected to encompass diverse constrained generation challenges, but as with all generation benchmarks, they cannot capture all dimensions"
|
| 1305 |
+
},
|
| 1306 |
+
{
|
| 1307 |
+
"type": "page_number",
|
| 1308 |
+
"bbox": [
|
| 1309 |
+
0.494,
|
| 1310 |
+
0.949,
|
| 1311 |
+
0.504,
|
| 1312 |
+
0.96
|
| 1313 |
+
],
|
| 1314 |
+
"angle": 0,
|
| 1315 |
+
"content": "9"
|
| 1316 |
+
}
|
| 1317 |
+
],
|
| 1318 |
+
[
|
| 1319 |
+
{
|
| 1320 |
+
"type": "header",
|
| 1321 |
+
"bbox": [
|
| 1322 |
+
0.173,
|
| 1323 |
+
0.033,
|
| 1324 |
+
0.48,
|
| 1325 |
+
0.049
|
| 1326 |
+
],
|
| 1327 |
+
"angle": 0,
|
| 1328 |
+
"content": "Published as a conference paper at ICLR 2024"
|
| 1329 |
+
},
|
| 1330 |
+
{
|
| 1331 |
+
"type": "text",
|
| 1332 |
+
"bbox": [
|
| 1333 |
+
0.171,
|
| 1334 |
+
0.104,
|
| 1335 |
+
0.828,
|
| 1336 |
+
0.175
|
| 1337 |
+
],
|
| 1338 |
+
"angle": 0,
|
| 1339 |
+
"content": "and nuances of model capabilities. Benchmarks are highly influential in shaping model development, the capabilities and limitations of which may disproportionately impact different communities. Our benchmark is no exception. However, by providing an extensible, easy-to-use framework for constraint development, we hope COLLIE will enable diverse stakeholders to engage with dataset building, helping ensure that future model capabilities serve diverse interests and needs."
|
| 1340 |
+
},
|
| 1341 |
+
{
|
| 1342 |
+
"type": "title",
|
| 1343 |
+
"bbox": [
|
| 1344 |
+
0.173,
|
| 1345 |
+
0.196,
|
| 1346 |
+
0.369,
|
| 1347 |
+
0.21
|
| 1348 |
+
],
|
| 1349 |
+
"angle": 0,
|
| 1350 |
+
"content": "ACKNOWLEDGEMENTS"
|
| 1351 |
+
},
|
| 1352 |
+
{
|
| 1353 |
+
"type": "text",
|
| 1354 |
+
"bbox": [
|
| 1355 |
+
0.171,
|
| 1356 |
+
0.226,
|
| 1357 |
+
0.828,
|
| 1358 |
+
0.298
|
| 1359 |
+
],
|
| 1360 |
+
"angle": 0,
|
| 1361 |
+
"content": "We thank Xiao Liu for Vicuna/Alpaca APIs that supported our preliminary experiments, and Princeton NLP Group for helpful discussion and feedback in general. We acknowledge support from a Princeton SEAS Innovation grant and the National Science Foundation under Grant No. 2239363. Any opinions, findings, and conclusions or recommendations expressed in this material are those of the author(s) and do not necessarily reflect the views of the National Science Foundation."
|
| 1362 |
+
},
|
| 1363 |
+
{
|
| 1364 |
+
"type": "title",
|
| 1365 |
+
"bbox": [
|
| 1366 |
+
0.174,
|
| 1367 |
+
0.317,
|
| 1368 |
+
0.289,
|
| 1369 |
+
0.332
|
| 1370 |
+
],
|
| 1371 |
+
"angle": 0,
|
| 1372 |
+
"content": "REFERENCES"
|
| 1373 |
+
},
|
| 1374 |
+
{
|
| 1375 |
+
"type": "ref_text",
|
| 1376 |
+
"bbox": [
|
| 1377 |
+
0.174,
|
| 1378 |
+
0.34,
|
| 1379 |
+
0.827,
|
| 1380 |
+
0.37
|
| 1381 |
+
],
|
| 1382 |
+
"angle": 0,
|
| 1383 |
+
"content": "R. Anil, A. M. Dai, O. First, M. Johnson, D. Lepikhin, A. Passos, S. Shakeri, E. Taropa, P. Bailey, Z. Chen, et al. Palm 2 technical report. arXiv preprint arXiv:2305.10403, 2023."
|
| 1384 |
+
},
|
| 1385 |
+
{
|
| 1386 |
+
"type": "ref_text",
|
| 1387 |
+
"bbox": [
|
| 1388 |
+
0.172,
|
| 1389 |
+
0.379,
|
| 1390 |
+
0.826,
|
| 1391 |
+
0.409
|
| 1392 |
+
],
|
| 1393 |
+
"angle": 0,
|
| 1394 |
+
"content": "S. Bird. Nltk: the natural language toolkit. In Proceedings of the COLING/ACL 2006 Interactive Presentation Sessions, pages 69-72, 2006."
|
| 1395 |
+
},
|
| 1396 |
+
{
|
| 1397 |
+
"type": "ref_text",
|
| 1398 |
+
"bbox": [
|
| 1399 |
+
0.173,
|
| 1400 |
+
0.418,
|
| 1401 |
+
0.825,
|
| 1402 |
+
0.46
|
| 1403 |
+
],
|
| 1404 |
+
"angle": 0,
|
| 1405 |
+
"content": "J. Brooke, A. Hammond, and G. Hirst. Gutentag: an nlp-driven tool for digital humanities research in the project Gutenberg corpus. In Proceedings of the Fourth Workshop on Computational Linguistics for Literature, pages 42-47, 2015."
|
| 1406 |
+
},
|
| 1407 |
+
{
|
| 1408 |
+
"type": "ref_text",
|
| 1409 |
+
"bbox": [
|
| 1410 |
+
0.173,
|
| 1411 |
+
0.469,
|
| 1412 |
+
0.828,
|
| 1413 |
+
0.568
|
| 1414 |
+
],
|
| 1415 |
+
"angle": 0,
|
| 1416 |
+
"content": "T. B. Brown, B. Mann, N. Ryder, M. Subbiah, J. Kaplan, P. Dhariwal, A. Neelakantan, P. Shyam, G. Sastry, A. Askell, S. Agarwal, A. Herbert-Voss, G. Krueger, T. Henighan, R. Child, A. Ramesh, D. M. Ziegler, J. Wu, C. Winter, C. Hesse, M. Chen, E. Sigler, M. Litwin, S. Gray, B. Chess, J. Clark, C. Berner, S. McCandlish, A. Radford, I. Sutskever, and D. Amodei. Language models are few-shot learners. In Advances in Neural Information Processing Systems (NeurIPS), 2020. URL https://papers.nips.cc/paper/2020/bit/1457c0d6bcbd4967418bf8ac142f64a-Abstract.html"
|
| 1417 |
+
},
|
| 1418 |
+
{
|
| 1419 |
+
"type": "ref_text",
|
| 1420 |
+
"bbox": [
|
| 1421 |
+
0.173,
|
| 1422 |
+
0.577,
|
| 1423 |
+
0.827,
|
| 1424 |
+
0.608
|
| 1425 |
+
],
|
| 1426 |
+
"angle": 0,
|
| 1427 |
+
"content": "H. Chen, H. Li, D. Chen, and K. Narasimhan. Controllable text generation with language constraints. In preprint, 2022a. URL https://arxiv.org/abs/2212.10466"
|
| 1428 |
+
},
|
| 1429 |
+
{
|
| 1430 |
+
"type": "ref_text",
|
| 1431 |
+
"bbox": [
|
| 1432 |
+
0.173,
|
| 1433 |
+
0.615,
|
| 1434 |
+
0.828,
|
| 1435 |
+
0.741
|
| 1436 |
+
],
|
| 1437 |
+
"angle": 0,
|
| 1438 |
+
"content": "M. Chen, J. Tworek, H. Jun, Q. Yuan, H. Ponde de Oliveira Pinto, J. Kaplan, H. Edwards, Y. Burda, N. Joseph, G. Brockman, A. Ray, R. Puri, G. Krueger, M. Petrov, H. Khlaaf, G. Sastry, P. Mishkin, B. Chan, S. Gray, N. Ryder, M. Pavlov, A. Power, L. Kaiser, M. Bavarian, C. Winter, P. Tillet, F. Petroski Such, D. Cummings, M. Plappert, F. Chantzis, E. Barnes, A. Herbert-Voss, W. Hebgen Guss, A. Nichol, A. Paino, N. Tezak, J. Tang, I. Babuschkin, S. Balaji, S. Jain, W. Saunders, C. Hesse, A. N. Carr, J. Leike, J. Achiam, V. Misra, E. Morikawa, A. Radford, M. Knight, M. Brundage, M. Murati, K. Mayer, P. Welinder, B. McGrew, D. Amodei, S. McCandlish, I. Sutskever, and W. Zaremba. Evaluating large language models trained on code. In preprint, 2022b. URL https://arxiv.org/abs/2107.03374"
|
| 1439 |
+
},
|
| 1440 |
+
{
|
| 1441 |
+
"type": "ref_text",
|
| 1442 |
+
"bbox": [
|
| 1443 |
+
0.173,
|
| 1444 |
+
0.75,
|
| 1445 |
+
0.828,
|
| 1446 |
+
0.807
|
| 1447 |
+
],
|
| 1448 |
+
"angle": 0,
|
| 1449 |
+
"content": "M. Chevalier-Boisvert, D. Bahdanau, S. Lahlou, L. Willems, C. Saharia, T. H. Nguyen, and Y. Bengio. Babyai: A platform to study the sample efficiency of grounded language learning. In International Conference on Learning Representations (ICLR), 2019. URL https://arxiv.org/abs/1810.08272"
|
| 1450 |
+
},
|
| 1451 |
+
{
|
| 1452 |
+
"type": "ref_text",
|
| 1453 |
+
"bbox": [
|
| 1454 |
+
0.173,
|
| 1455 |
+
0.816,
|
| 1456 |
+
0.828,
|
| 1457 |
+
0.86
|
| 1458 |
+
],
|
| 1459 |
+
"angle": 0,
|
| 1460 |
+
"content": "W.-L. Chiang, Z. Li, Z. Lin, Y. Sheng, Z. Wu, H. Zhang, L. Zheng, S. Zhuang, Y. Zhuang, J. E. Gonzalez, I. Stoica, and E. P. Xing. Vicuna: An open-source chatbot impressing gpt-4 with \\(90\\%\\) chatgpt quality, March 2023. URL https://lmsys.org/blog/2023-03-30-vicuna/"
|
| 1461 |
+
},
|
| 1462 |
+
{
|
| 1463 |
+
"type": "ref_text",
|
| 1464 |
+
"bbox": [
|
| 1465 |
+
0.173,
|
| 1466 |
+
0.869,
|
| 1467 |
+
0.827,
|
| 1468 |
+
0.926
|
| 1469 |
+
],
|
| 1470 |
+
"angle": 0,
|
| 1471 |
+
"content": "S. Dathathri, A. Madotto, J. Lan, J. Hung, E. Frank, P. Molino, J. Yosinski, and R. Liu. Plug and play language models: A simple approach to controlled text generation. In International Conference on Learning Representations (ICLR), 2020. URL https://openreview.net/pdf?id=H1edEyBKDS"
|
| 1472 |
+
},
|
| 1473 |
+
{
|
| 1474 |
+
"type": "list",
|
| 1475 |
+
"bbox": [
|
| 1476 |
+
0.172,
|
| 1477 |
+
0.34,
|
| 1478 |
+
0.828,
|
| 1479 |
+
0.926
|
| 1480 |
+
],
|
| 1481 |
+
"angle": 0,
|
| 1482 |
+
"content": null
|
| 1483 |
+
},
|
| 1484 |
+
{
|
| 1485 |
+
"type": "page_number",
|
| 1486 |
+
"bbox": [
|
| 1487 |
+
0.491,
|
| 1488 |
+
0.949,
|
| 1489 |
+
0.508,
|
| 1490 |
+
0.96
|
| 1491 |
+
],
|
| 1492 |
+
"angle": 0,
|
| 1493 |
+
"content": "10"
|
| 1494 |
+
}
|
| 1495 |
+
],
|
| 1496 |
+
[
|
| 1497 |
+
{
|
| 1498 |
+
"type": "header",
|
| 1499 |
+
"bbox": [
|
| 1500 |
+
0.173,
|
| 1501 |
+
0.033,
|
| 1502 |
+
0.48,
|
| 1503 |
+
0.049
|
| 1504 |
+
],
|
| 1505 |
+
"angle": 0,
|
| 1506 |
+
"content": "Published as a conference paper at ICLR 2024"
|
| 1507 |
+
},
|
| 1508 |
+
{
|
| 1509 |
+
"type": "ref_text",
|
| 1510 |
+
"bbox": [
|
| 1511 |
+
0.173,
|
| 1512 |
+
0.103,
|
| 1513 |
+
0.826,
|
| 1514 |
+
0.134
|
| 1515 |
+
],
|
| 1516 |
+
"angle": 0,
|
| 1517 |
+
"content": "G. Dinu, P. Mathur, M. Federico, and Y. Al-Onaizan. Training neural machine translation to apply terminology constraints. In Association for Computational Linguistics (ACL), 2019."
|
| 1518 |
+
},
|
| 1519 |
+
{
|
| 1520 |
+
"type": "ref_text",
|
| 1521 |
+
"bbox": [
|
| 1522 |
+
0.175,
|
| 1523 |
+
0.141,
|
| 1524 |
+
0.783,
|
| 1525 |
+
0.159
|
| 1526 |
+
],
|
| 1527 |
+
"angle": 0,
|
| 1528 |
+
"content": "W. Foundation. Wikipedia downloads, 2022. URL https://dumps.wikipedia.org"
|
| 1529 |
+
},
|
| 1530 |
+
{
|
| 1531 |
+
"type": "ref_text",
|
| 1532 |
+
"bbox": [
|
| 1533 |
+
0.174,
|
| 1534 |
+
0.166,
|
| 1535 |
+
0.826,
|
| 1536 |
+
0.209
|
| 1537 |
+
],
|
| 1538 |
+
"angle": 0,
|
| 1539 |
+
"content": "F. Hamborg, N. Meuschke, C. Breitinger, and B. Gipp. news-please: A generic news crawler and extractor. In Proceedings of the 15th International Symposium of Information Science, pages 218-223, March 2017. doi: 10.5281/zenodo.4120316."
|
| 1540 |
+
},
|
| 1541 |
+
{
|
| 1542 |
+
"type": "ref_text",
|
| 1543 |
+
"bbox": [
|
| 1544 |
+
0.174,
|
| 1545 |
+
0.218,
|
| 1546 |
+
0.827,
|
| 1547 |
+
0.26
|
| 1548 |
+
],
|
| 1549 |
+
"angle": 0,
|
| 1550 |
+
"content": "E. Hasler, A. de Gispert, G. Iglesias, and B. Byrne. Neural machine translation decoding with terminology constraints. In North American Association for Computational Linguistics (NAACL), 2018."
|
| 1551 |
+
},
|
| 1552 |
+
{
|
| 1553 |
+
"type": "ref_text",
|
| 1554 |
+
"bbox": [
|
| 1555 |
+
0.175,
|
| 1556 |
+
0.269,
|
| 1557 |
+
0.825,
|
| 1558 |
+
0.301
|
| 1559 |
+
],
|
| 1560 |
+
"angle": 0,
|
| 1561 |
+
"content": "D. Hendrycks, C. Burns, S. Basart, A. Zou, M. Mazeika, D. Song, and J. Steinhardt. Measuring massive multitask language understanding. arXiv preprint arXiv:2009.03300, 2020."
|
| 1562 |
+
},
|
| 1563 |
+
{
|
| 1564 |
+
"type": "ref_text",
|
| 1565 |
+
"bbox": [
|
| 1566 |
+
0.173,
|
| 1567 |
+
0.307,
|
| 1568 |
+
0.825,
|
| 1569 |
+
0.338
|
| 1570 |
+
],
|
| 1571 |
+
"angle": 0,
|
| 1572 |
+
"content": "C. Hokamp and Q. Liu. Lexically constrained decoding for sequence generation using grid beam search. In Association for Computational Linguistics (ACL), 2017."
|
| 1573 |
+
},
|
| 1574 |
+
{
|
| 1575 |
+
"type": "ref_text",
|
| 1576 |
+
"bbox": [
|
| 1577 |
+
0.173,
|
| 1578 |
+
0.345,
|
| 1579 |
+
0.825,
|
| 1580 |
+
0.389
|
| 1581 |
+
],
|
| 1582 |
+
"angle": 0,
|
| 1583 |
+
"content": "J. E. Hu, H. Khayrallah, R. Culkin, P. Xia, T. Chen, M. Post, and B. Van Durme. Improved lexically constrained decoding for translation and monolingual rewriting. In North American Association for Computational Linguistics (NAACL), 2019."
|
| 1584 |
+
},
|
| 1585 |
+
{
|
| 1586 |
+
"type": "ref_text",
|
| 1587 |
+
"bbox": [
|
| 1588 |
+
0.174,
|
| 1589 |
+
0.397,
|
| 1590 |
+
0.825,
|
| 1591 |
+
0.428
|
| 1592 |
+
],
|
| 1593 |
+
"angle": 0,
|
| 1594 |
+
"content": "Z. Hu, Z. Yang, X. Liang, R. Salakhutdinov, and E. P. Xing. Toward controlled generation of text. In International Conference on Machine Learning (ICML), 2017."
|
| 1595 |
+
},
|
| 1596 |
+
{
|
| 1597 |
+
"type": "ref_text",
|
| 1598 |
+
"bbox": [
|
| 1599 |
+
0.173,
|
| 1600 |
+
0.435,
|
| 1601 |
+
0.829,
|
| 1602 |
+
0.493
|
| 1603 |
+
],
|
| 1604 |
+
"angle": 0,
|
| 1605 |
+
"content": "J. Johnson, B. Hariharan, L. van der Maaten, L. Fei-Fei, C. L. Zitnick, and R. Girshick. Clevr: A diagnostic dataset for compositional language and elementary visual reasoning. In Conference on computer vision and pattern recognition (CVPR), 2017. URL https://ieeexplore.ieee.org/document/8099698"
|
| 1606 |
+
},
|
| 1607 |
+
{
|
| 1608 |
+
"type": "ref_text",
|
| 1609 |
+
"bbox": [
|
| 1610 |
+
0.174,
|
| 1611 |
+
0.501,
|
| 1612 |
+
0.827,
|
| 1613 |
+
0.544
|
| 1614 |
+
],
|
| 1615 |
+
"angle": 0,
|
| 1616 |
+
"content": "N. S. Keskar, B. McCann, L. R. Varshney, C. Xiong, and R. Socher. CTRL: A conditional transformer language model for controllable generation. In preprint, 2019. URL https://arxiv.org/abs/1909.05858."
|
| 1617 |
+
},
|
| 1618 |
+
{
|
| 1619 |
+
"type": "ref_text",
|
| 1620 |
+
"bbox": [
|
| 1621 |
+
0.174,
|
| 1622 |
+
0.553,
|
| 1623 |
+
0.829,
|
| 1624 |
+
0.611
|
| 1625 |
+
],
|
| 1626 |
+
"angle": 0,
|
| 1627 |
+
"content": "B. Krause, A. D. Gotmare, B. McCann, N. S. Keskar, S. Joty, R. Socher, and N. F. Rajani. GeDi: Generative discriminator guided sequence generation. In Findings of the Empirical Methods in Natural Language Processing (EMNLP Findings), 2021. URL https://aclanthology.org/2021-findings-emnlp.424"
|
| 1628 |
+
},
|
| 1629 |
+
{
|
| 1630 |
+
"type": "ref_text",
|
| 1631 |
+
"bbox": [
|
| 1632 |
+
0.173,
|
| 1633 |
+
0.619,
|
| 1634 |
+
0.827,
|
| 1635 |
+
0.733
|
| 1636 |
+
],
|
| 1637 |
+
"angle": 0,
|
| 1638 |
+
"content": "Q. Lhoest, A. Villanova del Moral, Y. Jernite, A. Thakur, P. von Platen, S. Patil, J. Chaumont, M. Drame, J. Plu, L. Tunstall, J. Davison, M. Šaško, G. Chhablani, B. Malik, S. Brandeis, T. Le Scao, V. Sanh, C. Xu, N. Patry, A. McMillan-Major, P. Schmid, S. Gugger, C. Delangue, T. Matussière, L. Debut, S. Bekman, P. Cistac, T. Goehringer, V. Mustar, F. Lagunas, A. Rush, and T. Wolf. Datasets: A community library for natural language processing. In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing: System Demonstrations, pages 175-184, Online and Punta Cana, Dominican Republic, Nov. 2021. Association for Computational Linguistics. URL https://aclanthology.org/2021.emnlp-demo.21"
|
| 1639 |
+
},
|
| 1640 |
+
{
|
| 1641 |
+
"type": "ref_text",
|
| 1642 |
+
"bbox": [
|
| 1643 |
+
0.173,
|
| 1644 |
+
0.74,
|
| 1645 |
+
0.825,
|
| 1646 |
+
0.784
|
| 1647 |
+
],
|
| 1648 |
+
"angle": 0,
|
| 1649 |
+
"content": "B. Z. Li, J. Yu, M. Khabsa, L. Zettlemoyer, A. Halevy, and J. Andreas. Quantifying adaptability in pre-trained language models with 500 tasks. In North American Association for Computational Linguistics (NAACL), 2022a. URL https://arxiv.org/abs/2112.03204"
|
| 1650 |
+
},
|
| 1651 |
+
{
|
| 1652 |
+
"type": "ref_text",
|
| 1653 |
+
"bbox": [
|
| 1654 |
+
0.174,
|
| 1655 |
+
0.792,
|
| 1656 |
+
0.826,
|
| 1657 |
+
0.837
|
| 1658 |
+
],
|
| 1659 |
+
"angle": 0,
|
| 1660 |
+
"content": "X. L. Li, J. Thickstun, I. Gulrajani, P. Liang, and T. B. Hashimoto. Diffusion-lm improves controllable text generation. In Advances in Neural Information Processing Systems (NeurIPS), 2022b. URL https://openreview.net/forum?id=3s9IrEsjLyk."
|
| 1661 |
+
},
|
| 1662 |
+
{
|
| 1663 |
+
"type": "ref_text",
|
| 1664 |
+
"bbox": [
|
| 1665 |
+
0.173,
|
| 1666 |
+
0.844,
|
| 1667 |
+
0.829,
|
| 1668 |
+
0.874
|
| 1669 |
+
],
|
| 1670 |
+
"angle": 0,
|
| 1671 |
+
"content": "P. Liang, R. Bommasani, T. Lee, D. Tsipras, D. Soylu, M. Yasunaga, Y. Zhang, D. Narayanan, Y. Wu, A. Kumar, et al. Holistic evaluation of language models. arXiv preprint arXiv:2211.09110, 2022."
|
| 1672 |
+
},
|
| 1673 |
+
{
|
| 1674 |
+
"type": "ref_text",
|
| 1675 |
+
"bbox": [
|
| 1676 |
+
0.173,
|
| 1677 |
+
0.882,
|
| 1678 |
+
0.825,
|
| 1679 |
+
0.925
|
| 1680 |
+
],
|
| 1681 |
+
"angle": 0,
|
| 1682 |
+
"content": "B. Y. Lin, W. Zhou, M. Shen, P. Zhou, C. Bhagavatula, Y. Choi, and X. Ren. Commongen: A constrained text generation challenge for generative commonsense reasoning. In Findings of the Empirical Methods in Natural Language Processing (EMNLP Findings), 2020."
|
| 1683 |
+
},
|
| 1684 |
+
{
|
| 1685 |
+
"type": "list",
|
| 1686 |
+
"bbox": [
|
| 1687 |
+
0.173,
|
| 1688 |
+
0.103,
|
| 1689 |
+
0.829,
|
| 1690 |
+
0.925
|
| 1691 |
+
],
|
| 1692 |
+
"angle": 0,
|
| 1693 |
+
"content": null
|
| 1694 |
+
},
|
| 1695 |
+
{
|
| 1696 |
+
"type": "page_number",
|
| 1697 |
+
"bbox": [
|
| 1698 |
+
0.49,
|
| 1699 |
+
0.948,
|
| 1700 |
+
0.507,
|
| 1701 |
+
0.96
|
| 1702 |
+
],
|
| 1703 |
+
"angle": 0,
|
| 1704 |
+
"content": "11"
|
| 1705 |
+
}
|
| 1706 |
+
],
|
| 1707 |
+
[
|
| 1708 |
+
{
|
| 1709 |
+
"type": "header",
|
| 1710 |
+
"bbox": [
|
| 1711 |
+
0.173,
|
| 1712 |
+
0.033,
|
| 1713 |
+
0.48,
|
| 1714 |
+
0.049
|
| 1715 |
+
],
|
| 1716 |
+
"angle": 0,
|
| 1717 |
+
"content": "Published as a conference paper at ICLR 2024"
|
| 1718 |
+
},
|
| 1719 |
+
{
|
| 1720 |
+
"type": "ref_text",
|
| 1721 |
+
"bbox": [
|
| 1722 |
+
0.173,
|
| 1723 |
+
0.103,
|
| 1724 |
+
0.829,
|
| 1725 |
+
0.162
|
| 1726 |
+
],
|
| 1727 |
+
"angle": 0,
|
| 1728 |
+
"content": "X. Lu, P. West, R. Zellers, R. L. Bras, C. Bhagavatula, and Y. Choi. Neurologic decoding: (un)supervised neural text generation with predicate logic constraints. In North American Association for Computational Linguistics (NAACL), 2021. URL https://aclanthology.org/2021.nacl-main.339.pdf"
|
| 1729 |
+
},
|
| 1730 |
+
{
|
| 1731 |
+
"type": "ref_text",
|
| 1732 |
+
"bbox": [
|
| 1733 |
+
0.173,
|
| 1734 |
+
0.169,
|
| 1735 |
+
0.829,
|
| 1736 |
+
0.229
|
| 1737 |
+
],
|
| 1738 |
+
"angle": 0,
|
| 1739 |
+
"content": "X. Lu, S. Welleck, P. West, L. Jiang, J. Kasai, D. Khashabi, R. L. Bras, L. Qin, Y. Yu, R. Zellers, N. A. Smith, and Y. Choi. Neurologic a*esque decoding: Constrained text generation with lookahead heuristics. In North American Association for Computational Linguistics (NAACL), 2022. URL https://aclanthology.org/2022.naacl-main.57."
|
| 1740 |
+
},
|
| 1741 |
+
{
|
| 1742 |
+
"type": "ref_text",
|
| 1743 |
+
"bbox": [
|
| 1744 |
+
0.173,
|
| 1745 |
+
0.234,
|
| 1746 |
+
0.829,
|
| 1747 |
+
0.266
|
| 1748 |
+
],
|
| 1749 |
+
"angle": 0,
|
| 1750 |
+
"content": "OpenAI. Gpt-4 technical report. In preprint, 2023a. URL https://arxiv.org/abs/2303.08774."
|
| 1751 |
+
},
|
| 1752 |
+
{
|
| 1753 |
+
"type": "ref_text",
|
| 1754 |
+
"bbox": [
|
| 1755 |
+
0.173,
|
| 1756 |
+
0.272,
|
| 1757 |
+
0.439,
|
| 1758 |
+
0.29
|
| 1759 |
+
],
|
| 1760 |
+
"angle": 0,
|
| 1761 |
+
"content": "OpenAI. Gpt-4 technical report, 2023b."
|
| 1762 |
+
},
|
| 1763 |
+
{
|
| 1764 |
+
"type": "ref_text",
|
| 1765 |
+
"bbox": [
|
| 1766 |
+
0.173,
|
| 1767 |
+
0.296,
|
| 1768 |
+
0.829,
|
| 1769 |
+
0.368
|
| 1770 |
+
],
|
| 1771 |
+
"angle": 0,
|
| 1772 |
+
"content": "L. Ouyang, J. Wu, X. Jiang, D. Almeida, C. L. Wainwright, P. Mishkin, C. Zhang, S. Agarwal, K. Slama, A. Ray, J. Schulman, J. Hilton, F. Kelton, L. Miller, M. Simens, A. Askell, P. Welinder, P. Christiano, J. Leike, and R. Lowe. Training language models to follow instructions with human feedback. In Advances in Neural Information Processing Systems (NeurIPS), 2022. URL https://openreview.net/forum?id=TG8KACxEON."
|
| 1773 |
+
},
|
| 1774 |
+
{
|
| 1775 |
+
"type": "ref_text",
|
| 1776 |
+
"bbox": [
|
| 1777 |
+
0.173,
|
| 1778 |
+
0.375,
|
| 1779 |
+
0.829,
|
| 1780 |
+
0.42
|
| 1781 |
+
],
|
| 1782 |
+
"angle": 0,
|
| 1783 |
+
"content": "C. Raffel, N. Shazeer, A. Roberts, K. Lee, S. Narang, M. Matena, Y. Zhou, W. Li, and P. J. Liu. Exploring the limits of transfer learning with a unified text-to-text transformer. The Journal of Machine Learning Research, 21(1):5485-5551, 2020."
|
| 1784 |
+
},
|
| 1785 |
+
{
|
| 1786 |
+
"type": "ref_text",
|
| 1787 |
+
"bbox": [
|
| 1788 |
+
0.173,
|
| 1789 |
+
0.426,
|
| 1790 |
+
0.829,
|
| 1791 |
+
0.471
|
| 1792 |
+
],
|
| 1793 |
+
"angle": 0,
|
| 1794 |
+
"content": "L. Ruis, J. Andreas, M. Baroni, D. Bouchacourt, and B. M. Lake. A benchmark for systematic generalization in grounded language understanding. In Advances in Neural Information Processing Systems (NeurIPS), 2020. URL https://arxiv.org/abs/2003.05161"
|
| 1795 |
+
},
|
| 1796 |
+
{
|
| 1797 |
+
"type": "ref_text",
|
| 1798 |
+
"bbox": [
|
| 1799 |
+
0.173,
|
| 1800 |
+
0.478,
|
| 1801 |
+
0.829,
|
| 1802 |
+
0.524
|
| 1803 |
+
],
|
| 1804 |
+
"angle": 0,
|
| 1805 |
+
"content": "T. Schick, J. Dwivedi-Yu, R. Dessi, R. Raileanu, M. Lomeli, L. Zettlemoyer, N. Cancedda, and T. Scialom. Toolformer: Language models can teach themselves to use tools. In preprint, 2023. URL https://arxiv.org/abs/2302.04761"
|
| 1806 |
+
},
|
| 1807 |
+
{
|
| 1808 |
+
"type": "ref_text",
|
| 1809 |
+
"bbox": [
|
| 1810 |
+
0.173,
|
| 1811 |
+
0.53,
|
| 1812 |
+
0.829,
|
| 1813 |
+
0.574
|
| 1814 |
+
],
|
| 1815 |
+
"angle": 0,
|
| 1816 |
+
"content": "A. Srivastava, A. Rastogi, A. Rao, A. A. M. Shoeb, A. Abid, A. Fisch, A. R. Brown, A. Santoro, A. Gupta, A. Garriga-Alonso, et al. Beyond the imitation game: Quantifying and extrapolating the capabilities of language models. arXiv preprint arXiv:2206.04615, 2022."
|
| 1817 |
+
},
|
| 1818 |
+
{
|
| 1819 |
+
"type": "ref_text",
|
| 1820 |
+
"bbox": [
|
| 1821 |
+
0.173,
|
| 1822 |
+
0.581,
|
| 1823 |
+
0.829,
|
| 1824 |
+
0.627
|
| 1825 |
+
],
|
| 1826 |
+
"angle": 0,
|
| 1827 |
+
"content": "R. Taori, I. Gulrajani, T. Zhang, Y. Dubois, X. Li, C. Guestrin, P. Liang, and T. B. Hashimoto. Stanford alpaca: An instruction-following llama model. https://github.com/tatsu-lab/stanford_alpaca, 2023."
|
| 1828 |
+
},
|
| 1829 |
+
{
|
| 1830 |
+
"type": "ref_text",
|
| 1831 |
+
"bbox": [
|
| 1832 |
+
0.173,
|
| 1833 |
+
0.633,
|
| 1834 |
+
0.829,
|
| 1835 |
+
0.691
|
| 1836 |
+
],
|
| 1837 |
+
"angle": 0,
|
| 1838 |
+
"content": "Y. Wang, S. Mishra, P. Alipoormolabashi, Y. Kordi, A. Mirzaei, A. Naik, A. Ashok, A. S. Dhanasekaran, A. Arunkumar, D. Stap, et al. Super-naturalinstructions: Generalization via declarative instructions on \\(1600+\\) nlp tasks. In Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing, pages 5085-5109, 2022."
|
| 1839 |
+
},
|
| 1840 |
+
{
|
| 1841 |
+
"type": "ref_text",
|
| 1842 |
+
"bbox": [
|
| 1843 |
+
0.173,
|
| 1844 |
+
0.698,
|
| 1845 |
+
0.829,
|
| 1846 |
+
0.743
|
| 1847 |
+
],
|
| 1848 |
+
"angle": 0,
|
| 1849 |
+
"content": "J. Weston, A. Bordes, S. Chopra, A. M. Rush, B. Van Merrienboer, A. Joulin, and T. Mikolov. Towards ai-complete question answering: A set of prerequisite toy tasks. arXiv preprint arXiv:1502.05698, 2015."
|
| 1850 |
+
},
|
| 1851 |
+
{
|
| 1852 |
+
"type": "ref_text",
|
| 1853 |
+
"bbox": [
|
| 1854 |
+
0.173,
|
| 1855 |
+
0.75,
|
| 1856 |
+
0.829,
|
| 1857 |
+
0.795
|
| 1858 |
+
],
|
| 1859 |
+
"angle": 0,
|
| 1860 |
+
"content": "S. Yao, J. Zhao, D. Yu, N. Du, I. Shafran, K. Narasimhan, and Y. Cao. React: Synergizing reasoning and acting in language models. In International Conference on Learning Representations (ICLR), 2022. URL https://arxiv.org/abs/2210.03629"
|
| 1861 |
+
},
|
| 1862 |
+
{
|
| 1863 |
+
"type": "ref_text",
|
| 1864 |
+
"bbox": [
|
| 1865 |
+
0.173,
|
| 1866 |
+
0.801,
|
| 1867 |
+
0.829,
|
| 1868 |
+
0.845
|
| 1869 |
+
],
|
| 1870 |
+
"angle": 0,
|
| 1871 |
+
"content": "Y. Zhang, Y. Liu, Z. Yang, Y. Fang, Y. Chen, D. Radev, C. Zhu, M. Zeng, and R. Zhang. Macsum: Controllable summarization with mixed attributes. Transactions of the Association for Computational Linguistics, 11:787-803, 2023."
|
| 1872 |
+
},
|
| 1873 |
+
{
|
| 1874 |
+
"type": "ref_text",
|
| 1875 |
+
"bbox": [
|
| 1876 |
+
0.173,
|
| 1877 |
+
0.853,
|
| 1878 |
+
0.829,
|
| 1879 |
+
0.884
|
| 1880 |
+
],
|
| 1881 |
+
"angle": 0,
|
| 1882 |
+
"content": "W. Zhou, Y. E. Jiang, E. Wilcox, R. Cotterell, and M. Sachan. Controlled text generation with natural language instructions. arXiv preprint arXiv:2304.14293, 2023."
|
| 1883 |
+
},
|
| 1884 |
+
{
|
| 1885 |
+
"type": "list",
|
| 1886 |
+
"bbox": [
|
| 1887 |
+
0.173,
|
| 1888 |
+
0.103,
|
| 1889 |
+
0.829,
|
| 1890 |
+
0.884
|
| 1891 |
+
],
|
| 1892 |
+
"angle": 0,
|
| 1893 |
+
"content": null
|
| 1894 |
+
},
|
| 1895 |
+
{
|
| 1896 |
+
"type": "page_number",
|
| 1897 |
+
"bbox": [
|
| 1898 |
+
0.49,
|
| 1899 |
+
0.948,
|
| 1900 |
+
0.509,
|
| 1901 |
+
0.961
|
| 1902 |
+
],
|
| 1903 |
+
"angle": 0,
|
| 1904 |
+
"content": "12"
|
| 1905 |
+
}
|
| 1906 |
+
]
|
| 1907 |
+
]
|
2024/COLLIE_ Systematic Construction of Constrained Text Generation Tasks/a385f7c5-58d0-4428-b174-3123a2838efe_origin.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:acb774871e27a41e54cfcb99745cb1bba60355cc7197d155f44630fdfb27525c
|
| 3 |
+
size 2113473
|
2024/COLLIE_ Systematic Construction of Constrained Text Generation Tasks/full.md
ADDED
|
@@ -0,0 +1,253 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# COLLIE: SYSTEMATIC CONSTRUCTION OF CONSTRAINED TEXT GENERATION TASKS
|
| 2 |
+
|
| 3 |
+
Shunyu Yao* Howard Chen* Austin W. Hanjie* Runzhe Yang* Karthik Narasimhan
|
| 4 |
+
|
| 5 |
+
Department of Computer Science, Princeton University
|
| 6 |
+
|
| 7 |
+
{shunyuy, hc22, hjwang, runzhey, karthikn}@princeton.edu
|
| 8 |
+
|
| 9 |
+
# ABSTRACT
|
| 10 |
+
|
| 11 |
+
With the rapid improvement of large language models capabilities, there has been increasing interest in challenging constrained text generation problems. However, existing benchmarks for constrained generation usually focus on fixed constraint types (e.g. generate a sentence containing certain words) that have proved to be easy for state-of-the-art models like GPT-4. We present COLLIE, a grammar-based framework that allows the specification of rich, compositional constraints with diverse generation levels (word, sentence, paragraph, passage) and modeling challenges (e.g. language understanding, logical reasoning, counting, semantic planning). We also develop tools for automatic extraction of task instances given a constraint structure and a raw text corpus. Using COLLIE, we compile the COLLIEv1 dataset with 2,080 instances comprising 13 constraint structures. We perform systematic experiments across five state-of-the-art instruction-tuned language models and analyze their performances to reveal shortcomings. COLLIE is designed to be extensible and lightweight, and we hope the community finds it useful to develop more complex constraints and evaluations in the future.
|
| 12 |
+
|
| 13 |
+
# 1 INTRODUCTION
|
| 14 |
+
|
| 15 |
+
Large language models (LLMs) are increasingly capable of generating coherent and fluent text when provided with high-level prompts (OpenAI 2023a). Such capabilities have raised the bar for automated text generation, allowing us to explore more nuanced ways of utilizing LMs. One such line of inquiry is constrained text generation, whereby the LM is asked to adhere to a particular topic (Keskar et al., 2019; Dathathri et al., 2020), or avoid using certain words (Lu et al., 2021; 2022). However, these works scratch the surface of a broader phenomenon — LMs do not just generate text, as evidenced by their use in more structured tasks like problem solving (Yao et al., 2022), code generation (Chen et al., 2022b) and even tool use through API calls (Schick et al., 2023).
|
| 16 |
+
|
| 17 |
+
This raises a natural question — 'what is the next iteration of text generation benchmarks that can evaluate these advanced capabilities in LLMs'? We posit that one direction is incorporating logical and compositional challenges via constrained text generation. Existing benchmarks for constrained generation, however, focus only on particular constraint types, require tailored pipelines to collect data and annotations, and/or can only evaluate a specific aspect of LM strengths (Lin et al., 2020; Chen et al., 2022a). They also suffer from challenges in scalable dataset construction.
|
| 18 |
+
|
| 19 |
+
In this paper, we propose COLLIE, a grammar-based framework that enables systematic construction of compositional constraints over diverse generation levels (e.g., words, sentences, paragraphs) and semantic requirements (e.g., language understanding, logical reasoning, counting). Operationally, COLLIE allows researchers to 1) easily specify constraint templates, and then automatically 2) extract constraint values from language corpora, 3) render them into natural language instructions, and 4) evaluate model generations against the constraint instructions.
|
| 20 |
+
|
| 21 |
+
Existing benchmarks for constrained generation focus only on particular constraint types and formats (e.g., "generate a sentence with words..."). These limitations mean that benchmarks become quickly obsolete as LLMs progress. In contrast, the modular and extensible design of COLLIE allows the
|
| 22 |
+
|
| 23 |
+

|
| 24 |
+
Figure 1: Our COLLIE framework for constraint structure specification, ground truth extraction, instruction rendering, and evaluation. First, the user specifies the constraint structure without a specific target value (expressed in $*$ ). Second, the constraint structure is used to extract ground truth examples from text corpora that contain the target values. Third, the constraint structure and target values are rendered into a natural language instruction. Finally, the model's generation is evaluated against the constraint and the ground truth. The model (gpt-3.5-turbo) violates the constraints by exceeding word limits and leaving the word 'mankind' at the end instead of the specified position.
|
| 25 |
+
|
| 26 |
+
broader NLP community to contribute additional constraints that can co-evolve with LLM capabilities over time, while also providing a convenient endpoint for users that only want to evaluate their model without developing their own constraints. The flexibility of such a grammar-based framework may not only be useful for evaluation, but also in practice (e.g. word constraints, words blacklist, etc.).
|
| 27 |
+
|
| 28 |
+
We construct the dataset COLLIE-v1 with 2,080 constraint instances across 13 different types, using three different corpora: Wikipedia (Foundation 2022), CC-News (Hamborg et al., 2017), and Project Gutenberg (Brooke et al., 2015). We perform zero-shot evaluations of five state-of-the-art LLMs of varying sizes including GPT-4 (OpenAI 2023a) and PaLM (Anil et al., 2023). While GPT-4 comparatively performs the best, it still achieves an average constraint satisfaction rate of only $50.9\%$ . We find that challenges correlate with position – for instance, instructing models to begin a sentence with a specific word leads to a $100\%$ success rate for GPT-4, while asking models to end a sentence with a particular word results in a success rate of $40\% -60\%$ . These insights can help us diagnose LLMs, which in turn can improve LLM capabilities, and further advance the benchmark itself.
|
| 29 |
+
|
| 30 |
+
To summarize, we make the following contributions: (1) We introduce COLLIE, a framework for systematic generation of compositional constraints, that is flexible and extensible. (2) We use COLLIE to curate a new dataset COLLIE-v1 comprising of 13 constraint structures. (3) We perform a comprehensive evaluation of five state-of-the-art LLMs of varying sizes and provide useful insights for both model and benchmark development in the future.
|
| 31 |
+
|
| 32 |
+
# 2 RELATED WORK
|
| 33 |
+
|
| 34 |
+
Constrained text generation (CTG). Early work in controllable text generation used control codes to steer the generation towards desired topics or to reduce undesirable content, by controlling for broad attributes such as sentiment or toxicity (Hu et al., 2017; Keskar et al., 2019; Dathathri et al., 2020; Krause et al., 2021). Other work on constrained decoding provides to the language model a collection of lexical items as constraints to be included or excluded in the final generated text (Hokamp and Liu, 2017; Hasler et al., 2018; Dinu et al., 2019; Hu et al., 2019; Lin et al., 2020; Lu et al., 2021; Li et al., 2022b). Recent advances in instruction tuning LLMs (Ouyang et al., 2022) have brought major improvements to controllability. These advancements have made it challenging to use existing controllable generation datasets to fully assess the capabilities of modern LLMs. InstructCTG (Zhou et al., 2023) is a concurrent work that also constructed a dataset with text constraints. However, it mainly focuses on synthesizing 5 types of simple CTG instructions for tuning small language models such as T5-11B (Raffel et al., 2020), whereas COLLIE serves to construct much more challenging and open-ended CTG tasks to evaluate and diagnose start-of-the-art LLMs like GPT-4 (OpenAI, 2023b). Lastly, there is a line of work that sets up CTG in more practical downstream applications, such as controllable summarization (Zhang et al., 2023). The flexibility of COLLIE allows these "functional constraints" to be incorporated for more usefulness, which we leave for future work.
|
| 35 |
+
|
| 36 |
+
Grammar-based compositional tests. Building benchmarks with data synthesized from grammars has been explored previously in the context of question answering (Weston et al., 2015), instruction following (Chevalier-Boisvert et al., 2019; Ruis et al., 2020)) and visual reasoning (Johnson et al., 2017). These benchmarks showcased the utility of grammars to systematically generate a comprehensive set of test cases or to specify some fixed constraints. In contrast, COLLIE aims to enable flexible, and dynamic constraint construction that can co-evolve with models. Furthermore, previous datasets were synthetic with limited linguistic diversity and practical applicability to real-world scenarios. In contrast, since our COLLIE framework extracts values and examples from natural language corpora to construct the constraints, it represents a more realistic challenge for modern LLMs.
|
| 37 |
+
|
| 38 |
+
Systematic and scalable language benchmarks. The emergence of increasingly powerful general-purpose language models has created a need for scalable benchmarks that can systematically and comprehensively evaluate them. A few recent examples include HELM (Liang et al., 2022), BIG-Bench (Srivastava et al., 2022), MMLU (Hendrycks et al., 2020), TaskBench500 (Li et al., 2022a), and Natural Instructions (Wang et al., 2022). However, building such benchmarks require considerable human effort, and may become obsolete when stronger models enter the arena. We provide a new perspective in this race between model capabilities and challenging benchmarks: leverage compositionality to construct automatic and scalable benchmarks with minimal human effort that can co-evolve with model capabilities to remain challenging and relevant.
|
| 39 |
+
|
| 40 |
+
# 3 COLLIE FRAMEWORK TO CONSTRUCT CONSTRAINED TEXT GENERATION
|
| 41 |
+
|
| 42 |
+
COLLIE allows researchers to easily 1) specify textual constraint structures via a grammar, then automatically 2) extract constraint values from text corpora, 3) render constraints into natural language instructions, and 4) evaluate generations with respect to constraints.
|
| 43 |
+
|
| 44 |
+
Grammar. Two observations about text constraints motivate a grammar characterization: 1) they involve different levels of text, e.g. character, word, sentence, or paragraph; and 2) many of them specify either the count or position at a certain text level (existence is equivalent to count $>0$ ).
|
| 45 |
+
|
| 46 |
+
Let capitalized letters $(S,M,C,T)$ denote non-terminal variables, and other symbols $(\ell ,\circ ,\oplus ,v)$ denote terminals. A full constraint specification within our grammar $S$ (Eq. 1) consists of two parts: a generation level $(\mathrm{level}(\xi) = \ell)$ specifying whether the generated text $\xi$ should be a word, a sentence, a paragraph, or a document, and a multi-constraint $M$ (Eq. 2), which is a logical composition of one or more base-constraints $C$ . A text $T$ (Eq. 4) within these constraints can either be the full generated text $\xi$ , or a part of it when qualified with a pos( $\cdot$ ). For example, pos(pos( $\xi$ , paragraph, 3), sentence, -1) means "the last sentence of the 3rd paragraph of the generated text". For terminal variables, we define a level $\ell$ of a text (Eq. 5), a string or number relation $\circ$ or $\oplus$ (Eq. 6), and a string or number value $v_{\mathrm{str}}$ or $v_{\mathrm{num}}$ (Eq. 7). $\wedge$ represents the logical 'and' operator, and $\vee$ represents the logical 'or'. With these definitions, we construct the following grammar:
|
| 47 |
+
|
| 48 |
+
$$
|
| 49 |
+
S \rightarrow (\text {l e v e l} (\xi) = \ell) \wedge M \quad (\text {c o n s t r a i n t s p e c i f i c a t i o n}) \tag {1}
|
| 50 |
+
$$
|
| 51 |
+
|
| 52 |
+
$$
|
| 53 |
+
M \rightarrow C \mid C \wedge M \mid C \vee M \quad (\text {m u l t i - c o n s t r a i n t}) \tag {2}
|
| 54 |
+
$$
|
| 55 |
+
|
| 56 |
+
$$
|
| 57 |
+
C \rightarrow \operatorname {c o u n t} (T, \ell , v _ {\mathrm {s t r}} \mid \ell^ {\prime}) \oplus v _ {\mathrm {n u m}} \mid \operatorname {p o s} (T, \ell , v _ {\mathrm {n u m}}) \circ v _ {\mathrm {s t r}} \quad (\text {b a s e - c o n s t r a i n t}) \tag {3}
|
| 58 |
+
$$
|
| 59 |
+
|
| 60 |
+
$$
|
| 61 |
+
T \rightarrow \xi \mid \operatorname {p o s} (T, \ell , v _ {\text {n u m}}) \tag {4}
|
| 62 |
+
$$
|
| 63 |
+
|
| 64 |
+
$$
|
| 65 |
+
\ell \rightarrow \text {c h a r} | \text {w o r d} | \text {s e n t e n c e} | \text {p a r a g r a p h} | \text {p a s s a g e} \tag {5}
|
| 66 |
+
$$
|
| 67 |
+
|
| 68 |
+
$$
|
| 69 |
+
\circ \rightarrow = | \neq \quad \oplus \rightarrow = | \neq | > | < | \leq | \geq \tag {6}
|
| 70 |
+
$$
|
| 71 |
+
|
| 72 |
+
$$
|
| 73 |
+
v _ {\mathrm {s t r}} \in \Sigma^ {*} \quad v _ {\mathrm {n u m}} \in \mathbb {Z} \tag {7}
|
| 74 |
+
$$
|
| 75 |
+
|
| 76 |
+
At the core of our grammar, we consider two (symmetrical) types of base-constraints $C$ (Eq. 3):
|
| 77 |
+
|
| 78 |
+
1. Count constraints. count $(T,\ell ,v_{\mathrm{str}})\oplus v_{\mathrm{num}}$ constrains the occurrences of a particular level- $\ell$ string $v_{\mathrm{str}}$ . For example, count $(T,$ word, happy') $\leq 3$ means "T should contain the word happy' no more than 3 times". In contrast, count $(T,\ell ,\ell^{\prime})\oplus v_{\mathrm{num}}$ constrains the occurrences of level- $\ell$ strings in each level- $\ell^{\prime}$ unit of text T. For example, count $(T,$ char, sentence) $= 50$ means "each sentence of text T should have exactly 50 characters".
|
| 79 |
+
2. Position constraints. $\text{pos}(T, \ell, v_{\text{num}}) \circ v_{\text{str}}$ specifies that a particular part of the text $T$ should equal (or not equal) the given string $v_{\text{str}}$ . For example, $\text{pos}(T, \text{word}, 3) = \text{'happy'}$ means "the 3rd word should be 'happy' in text $T$ ". We also allow negative indices for reverse counting, e.g. $\text{pos}(T, \text{char}, -1) \neq x$ means "the last letter should not be 'x' in text $T$ ".
|
| 80 |
+
|
| 81 |
+
Note that the grammar above can easily be extended to accommodate more types of base-constraints (e.g. part of speech, sentiment) by implementing the corresponding semantic checks — we leave this to future work. Also for convenience, we use constraint structure to refer to a family of constraint specifications that only differ in their values (e.g. generate a sentence with exactly $x$ words, $x \in \mathbb{N}$ ), and constraint to refer to a particular constraint specification with concrete values (e.g. generate a sentence with exactly 5 words).
|
| 82 |
+
|
| 83 |
+
Examples and conceptual challenges. Our grammar can express a wide range of constraints through logical compositions of base-constraints across different text levels. Table II illustrates some structures across generation levels, identified by names such as para01 for paragraph generation, etc.
|
| 84 |
+
|
| 85 |
+
In addition to the generation levels, count and pos across different levels introduce a variety of challenges. For example, word01 and sent01 challenge token-based language models to count characters; pass01 requires high-level semantic planning for models to generate a coherent passage under constraints; sent04 and para02 challenge models to generate text with presence or absence of particular words; sent03, para03, and para04 require counting at multiple levels; and word02, word03, sent02, para05, and pass01 combine counting and positional challenges at different levels, which can be considered most demanding conceptually. We empirically assess the difficulty of constraint structures in Section 5. Example COLLIE usage is presented in Figure 2
|
| 86 |
+
|
| 87 |
+
```python
|
| 88 |
+
from collieconstraints import ( Constraint, TargetLevel, Count, Relation
|
| 89 |
+
)
|
| 90 |
+
c $=$ Constraint( target_level $\equiv$ TargetLevel('word'), transformation $\equiv$ Count(), relation $\equiv$ Relation('=='),
|
| 91 |
+
)
|
| 92 |
+
text $=$ 'This is a good sentence.'
|
| 93 |
+
print(c.check(text,5)) # True
|
| 94 |
+
```
|
| 95 |
+
|
| 96 |
+
Figure 2: Example COLLIE code for a simple number of words constraint.
|
| 97 |
+
|
| 98 |
+
Table 1: List of all constraint structures used in COLLIE-v1, with (simplified) example values.
|
| 99 |
+
|
| 100 |
+
<table><tr><td>ID</td><td>Example instruction</td><td>Multi-constraint M</td></tr><tr><td>word01</td><td>Generate a word with at least 15 letters.</td><td>count(ξ, char, word) ≥ 15</td></tr><tr><td>word02</td><td>Generate a word with 10 letters, where letter 1 is 's', letter 3 is 'r', letter 9 is 'e'.</td><td>count(ξ, char, word) = 10 ∧ pos(ξ, char, 1) = 's' ∧ pos(ξ, char, 3) = 'r' ∧ pos(ξ, char, 9) = 'e'</td></tr><tr><td>word03</td><td>Generate a word with at most 10 letters and ends with "r".</td><td>count(ξ, char, word) ≤ 10 ∧ pos(ξ, char, -1) = 'r'</td></tr><tr><td>sent01</td><td>Please generate a sentence with exactly 82 characters. Include whitespace into your character count.</td><td>count(ξ, char, sentence) = 82</td></tr><tr><td>sent02</td><td>Generate a sentence with 10 words, where word 3 is "soft" and word 7 is "beach" and word 10 is "math".</td><td>count(ξ, word, sentence) = 10 ∧ pos(ξ, word, 3) = "soft" ∧ pos(ξ, word, 7) = "beach" ∧ pos(ξ, word, 10) = "math"</td></tr><tr><td>sent03</td><td>Generate a sentence with at least 20 words, and each word less than six characters.</td><td>count(ξ, word, sentence) ≥ 20 ∧ count(ξ, char, word) ≤ 6</td></tr><tr><td>sent04</td><td>Generate a sentence but be sure to include the words "soft", "beach" and "math".</td><td>count(ξ, word, 'soft') > 0 ∧ count(ξ, word, 'beach') > 0 ∧ count(ξ, word, 'math') > 0</td></tr><tr><td>para01</td><td>Generate a paragraph where each sentence begins with the word "soft".</td><td>pos(pos(ξ, sentence, 1), word, 1) = 'soft' ∧ pos(pos(ξ, sentence, 2), word, 1) = 'soft' ∧ ...</td></tr><tr><td>para02</td><td>Generate a paragraph with at least 4 sentences, but do not use the words "the", "and" or "of".</td><td>count(ξ, sentence, paragraph) ≥ 4 ∧ count(ξ, word, 'the') = 0 ∧ count(ξ, word, 'and') = 0 ∧ count(ξ, word, 'of') = 0</td></tr><tr><td>para03</td><td>Generate a paragraph with exactly 4 sentences, each with between 10 and 15 words.</td><td>count(ξ, sentence, paragraph) = 4 ∧ count(ξ, word, sentence) ≥ 10 ∧ count(ξ, word, sentence) ≤ 15</td></tr><tr><td>para04</td><td>Generate a paragraph with at least 3 sentences, each with at least 15 words.</td><td>count(ξ, sentence, paragraph) ≥ 3 ∧ count(ξ, word, sentence) ≥ 15</td></tr><tr><td>para05</td><td>Generate a paragraph with 2 sentences that end in "math" and "rock" respectively.</td><td>count(ξ, sentence, paragraph) = 2 ∧ pos(pos(ξ, sentence, 1), word, -1) = "math" ∧ pos(pos(ξ, sentence, 2), word, -1) = "rock"</td></tr><tr><td>pass01</td><td>Generate a passage with 2 paragraphs, each ending in "I sit." and "I cry." respectively.</td><td>count(ξ, paragraph, passage) = 2 ∧ pos(pos(ξ, paragraph, 1), sentence, -1) = "I sit." ∧ pos(pos(ξ, paragraph, 2), sentence, -1) = "I cry."</td></tr></table>
|
| 101 |
+
|
| 102 |
+
In conjunction with the grammar, we develop a set of compiling tools to help construct datasets with minimal human efforts. Concretely, the pipeline of dataset construction involves 4 stages (Figure 1):
|
| 103 |
+
|
| 104 |
+
1. Specify constraint structures. Researchers can specify constraint structures (e.g. Table [1]), and optionally with a value range (e.g. "generate a sentence with $x$ words", and $5 \leq x \leq 10$ ). This is the only stage that involves manual effort.
|
| 105 |
+
2. Extract constraint values from corpora. We design an automatic extraction algorithm that runs through a given text corpus to find strings that fit a constraint structure with some value ranges. For example, given the constraint structure count( $\xi$ , word, $\emptyset$ ) = $x$ with value range $5 \leq x \leq 10$ , the extraction algorithm returns sentences in the corpus that have 5-10 words, with associated word counts. This ensures each constraint has at least one natural solution. More details are in Section 4.1.
|
| 106 |
+
3. Render natural language instructions. Each constraint can be rendered into a natural language instruction (Table I) via ruled-based translation, thanks to the compositionality grammar of COLLIE. For example, a constraint count $(\xi ,\mathrm{char},\mathrm{'v'}) = 2\land \mathrm{count}(\xi ,\mathrm{char},\mathrm{'i'}) = 3$ can be synthetically rendered into the instruction "Please generate a word with exactly 2 character 'v' and exactly 3 character 'i'". It is also possible to improve the instruction fluency or naturalness by adding additional rules to the synthetic translation, or use LLMs to polish instructions. More details are in Section A.1
|
| 107 |
+
4. Evaluate generations. Given text $\xi$ generated by a model, we use a parser to evaluate it against a constraint specification $S$ and derive a True/False value, indicating if $\xi$ satisfies $S$ . We use an average success rate as the main metric to evaluate constraint conformance. We can also compare the fluency of $\xi$ against the corpus-extracted "groundtruth" text, and render more fine-grained natural language feedback indicating which base-constraints are met and which not (see Section A.2).
|
| 108 |
+
|
| 109 |
+
# 4 COLLIE-V1 DATASET
|
| 110 |
+
|
| 111 |
+
We construct COLLIE-v1 using constraints structures from Table [1], which contains 2,080 constraint instances from 13 constraint types, with 1,435 unique constraint prompts. The broader NLP community can contribute to future dataset releases by adding additional constraints, metrics, data sources. The curated constraint set can co-evolve with models to become more challenging and comprehensive as model capabilities improve.
|
| 112 |
+
|
| 113 |
+
# 4.1 CONSTRAINT SPECIFICATION AND EXTRACTION
|
| 114 |
+
|
| 115 |
+
Constraint specification. We begin by defining 13 constraint structures. We chose these 13 structures to span various generation levels (word, sentence, paragraph and passage generation) and challenges (counting, position). In total, we have 3 word-level, 4 sentence-level, 5 paragraph-level, and 1 passage-level constraint structures. Of these 13 constraint structures, 5 are single-level and the remaining 8 are multi-level constraints. See Table $\boxed{1}$ for the exact constraint structures we use.
|
| 116 |
+
|
| 117 |
+
Constraint extraction. While constructing constraint structures is straightforward using our grammar, choosing constraint targets is challenging for two reasons: (1) Not all targets will admit a conforming natural language string. For instance, the constraint, "Generate a two word sentence beginning with the word The." has no grammatically acceptable answer. (2) Even if a constraint admits a possible answer, it may not admit a plausible answer. For instance, "Generate a sentence with 1928 words" is possible, but any such sentence is very unlikely to appear in regular discourse.
|
| 118 |
+
|
| 119 |
+
To address both challenges, we sample constraint target values from natural language corpora, which we denote as the data source. Given a constraint structure $\mathcal{C}$ and documents $\bar{\mathcal{D}} = \{d_1,\dots,d_n\}$ , we chunk each document into a series of strings $d_{i} = \{s_{1},\ldots ,s_{m}\}$ , where each $s_i$ can be a sentence, paragraph, or passage as required by $\mathcal{C}$ . Each string $s_i$ undergoes source-specific automated filtering and post-processing to remove artifacts, which we detail in Section B.4. Given $\mathcal{C}$ and $s_i$ , we extract target values such that $\mathcal{C}$ is satisfied. In most cases, the satisfying target values can be directly extracted using our provided utilities. For example, for constraints with structure "sentence with $x$ words", we can directly apply word tokenization and counting to the example string $s_i$ . In cases in which direct extraction is not possible, (e.g. "do not include word $w$ ", we specify a range of possible targets (e.g. $\{\text{the, and, of}\}$ ) to sweep over. All in all, our approach ensures that (1) there exists a natural language string that can satisfy each constraint and target pair, and (2) the targets follow a
|
| 120 |
+
|
| 121 |
+

|
| 122 |
+
Figure 3: Data statistics. (a) Number of constraints from each constraint structure. (b) Fraction of strings removed by automated filtering. (c) Length statistics for different levels for each data source.
|
| 123 |
+
|
| 124 |
+
plausible distribution induced by natural language corpora. Our extraction system is extensible, and can operate on new constraints and data sources with minimal modifications.
|
| 125 |
+
|
| 126 |
+
Extensibility Adding additional data sources to the extraction pipeline is similarly easy, requiring a text delimiter, and optional string filtering and post-processing functions. As a case-study on the extensibility of COLLIE, we demonstrate how to extend constraints to include POS-tags such as "Generate a sentence with verbs". Details are in section B.5
|
| 127 |
+
|
| 128 |
+
# 4.2 DATA SOURCES
|
| 129 |
+
|
| 130 |
+
To adequately cover diverse styles and content, we extract constraint targets from three distinct data sources: Wikipedia (Wiki) (Foundation 2022), Common Crawl News (CC-News) (Hamborg et al., 2017), and the Project Gutenberg Corpus (Guten) (Brooke et al., 2015). We provide an overview of these data sources below and leave source-specific filtering and post-processing details to Section B.4.
|
| 131 |
+
|
| 132 |
+
Wiki. Wikipedia (Wiki) (Foundation, 2022) consists of over 6 million English Wikipedia articles. We included this data source for the diverse subject matter present in the corpus.
|
| 133 |
+
|
| 134 |
+
CC-News. The Common Crawl News corpus (CC-News) (Hamborg et al., 2017) consists of 708,241 English language news articles published between Jan 2017 and December 2019. We include CC-News to include interview dialogues, as well as popular culture and current events.
|
| 135 |
+
|
| 136 |
+
Gutenberg. The Project Gutenberg corpus (Gutenberg) (Brooke et al., 2015) consists of over 50,000 documents that include fiction, histories, biographies, and other works that are in the public domain in the United States. We include this corpus for its variety in genres (e.g. non-fiction, fiction, plays, etc.) and style from different time periods.
|
| 137 |
+
|
| 138 |
+
# 4.3 DATA VALIDATION AND STATISTICS
|
| 139 |
+
|
| 140 |
+
We extract constraints from 300 randomly sampled documents from each source. After extracting the target values, we sample up to 100 targets for each constraint structure on each data source. We remove any string targets by that begins or ends with any character that is not a letter or number. We randomly sample 5 out of these 100 targets and their supporting examples to qualitatively verify their validity. Since the extraction process is relatively fast, we modify filters and post-processors if there are systemic issues and re-run the extraction phase. We provide statistics of the final number of constraints from each constraint structure in Figure 3(a). Some constraints (e.g. number of sentences per paragraph) are tightly clustered around the mean, and thus do not induce many valid constraint targets. The fraction of strings filtered for each data source and level is presented in Figure 3(b). The automated filtering removes a large fraction of the strings in most cases, as high recall is important to ensure quality. The high fraction of omitted passages is due to the removal of passages $< 2$ paragraphs in length. Mean lengths for each level and data source is presented in Figure 3(c).
|
| 141 |
+
|
| 142 |
+

|
| 143 |
+
|
| 144 |
+

|
| 145 |
+
|
| 146 |
+

|
| 147 |
+
|
| 148 |
+

|
| 149 |
+
Figure 4: Model comparison. (a) Overall model performance summarized by weighted average across all constraint groups. (b) -(f) Constraint satisfaction rates of generated texts by GPT-4, GPT-3.5, PaLM, Vicuna-7B, and Alpaca-7B across various constraint groups. Error bars represent standard error. Constraint group names are in Table[1]. Sample sizes are reported in Figure[11].
|
| 150 |
+
|
| 151 |
+

|
| 152 |
+
|
| 153 |
+

|
| 154 |
+
|
| 155 |
+
# 5 RESULTS
|
| 156 |
+
|
| 157 |
+
Our main experiments in this paper focus on a zero-shot prompting setup with the following language models (LMs): 1) larger and closed-source LMs such as OpenAI GPT (Brown et al., 2020; OpenAI, 2023b) (gpt-3.5-turbo, gpt-4) and Google PaLM-2 (Anil et al., 2023) (text-bison-001); 2) smaller and open-source LMs such as Alpaca-7B (Taori et al., 2023), Vicuna-7B (Chiang et al., 2023). We performed additional one-shot prompting and find GPT performances similar to zero-shot performance, see Section C.1 By default, we use a sampling temperature of 0.7, and sample multiple trials (20 for GPT/PaLM, 5 for Alpaca/Vicuna). All experiments were run in July, 2023.
|
| 158 |
+
|
| 159 |
+
Zero-shot performance comparison. As evidenced in Figures $\boxed{4}$ (a), GPT-4 consistently surpassed other models in zero-shot constrained text generation performances, achieving more than twice the constraint satisfaction rate than other non-GPT models. The overarching performance trend observed shows GPT-4 leading the pack, followed by GPT-3.5 and PaLM with a large gap, and then followed closely by the smaller models, Vicuna-7B and Alpaca-7B.
|
| 160 |
+
|
| 161 |
+
Constraints all models can follow. Certain tasks, specifically word01 (generating a word with at least $a$ letters), sent04 (generating a sentence containing words X, Y, Z), and para01 (generating a paragraph with each sentence starting with the word X), posed minimal challenge to the majority of contemporary language models. These tasks demonstrate the proficiency of current models at simple constraints ensuring existence, as depicted in Figure 9(f).
|
| 162 |
+
|
| 163 |
+
Constraints partially solved by GPT-4 only. However, a notable distinction arose when tasks incorporated more counting/position constraints and requested longer generations. Tasks such as word03, para04, para05, and pass01 were only partially addressed by GPT-4, with constraint satisfaction rates ranging between $40\%$ and $70\%$ . Despite GPT-4's partial success in these tasks, other models failed to deliver any satisfactory performance.
|
| 164 |
+
|
| 165 |
+
Constraints remaining very challenging. Furthermore, some tasks proved challenging across all models. Tasks word02, sent01, sent02, and para03 present challenges in terms of arbitrary position constraints and mixed counting levels (see Section 5.1 for detailed analysis), indicating areas that necessitate further advancements in language model technology. Moreover, the average pass@20 rate of GPT-4 was above $63\%$ across all constraints, significantly higher than the $32\%$ achieved by GPT-3.5, as depicted in Figure 5. Although GPT-4 demonstrated a significant performance advantage, its constraint satisfaction rate of $63\%$ is far from perfect. This suggests considerable scope for improvement in controllable text generation with language models. These findings underscore the opportunities and challenges in the continued evolution of language models.
|
| 166 |
+
|
| 167 |
+

|
| 168 |
+
Figure 5: Pass@k performance. We sample the model-generated text 20 times for all instruction prompts in the dataset. The curves represent the average pass rate across all instruction prompts up to $k$ samples. The shaded areas indicate the standard errors.
|
| 169 |
+
|
| 170 |
+

|
| 171 |
+
Figure 6: Position effect. Satisfaction rates of LMs on tasks involving pos( $\xi$ , level, i). The tasks word02 and sent02 impose constraints on characters and words at arbitrary positions. The task para01 constrains the first word. The tasks word03, para05, and pass01 constrain the last characters, words, and sentences.
|
| 172 |
+
|
| 173 |
+

|
| 174 |
+
Figure 7: Counting level effect. Satisfaction rates for LMs on tasks involving count $(\xi, \text{level}, \varphi)$ . Task word01 sets a minimum word length of $a$ . Task sent01 requires exactly $a$ characters in a sentence. Task sent03 asks a sentence to contain at least $b$ words, with each word no longer than $a$ letters. Task para04 asks a paragraph to consist of at least $b$ sentences, each containing a minimum of $a$ words. Task para03 further imposes an upper limit on the number of words per sentence.
|
| 175 |
+
|
| 176 |
+
# 5.1 ANALYSIS
|
| 177 |
+
|
| 178 |
+
Performance consistency across data sources. We observe a high degree of consistency in the performance of models on a given constraint structure, regardless of the data source. This uniformity is evident across all models, as highlighted in Figure 9(g). This indicates that the ability of a language model to adhere to the logic of constraints takes precedence over the specific target values or the distribution of the data.
|
| 179 |
+
|
| 180 |
+
Position effect. As depicted in Figure 6 the pos( $\xi$ , level, $i$ ) function, constraining the $i$ -th sub-string (letter, word, or sentence), exhibits varying levels of difficulty depending on the value of $i$ . Models generally perform well when the positional constraint is applied to the first sub-string ( $i = 1$ , task para01). However, only GPT-4 displays partial success with the last positional constraints ( $i = -1$ , tasks word03, para05, pass01). Notably, all models encounter difficulties when generating text that satisfies positional constraints at arbitrary positions $i$ . Additionally, we find that the position effect exhibits a lower sensitivity to constraint levels.
|
| 181 |
+
|
| 182 |
+
Counting level effect. Counting characters within a word is easier than within a sentence for models, as illustrated in Figure 7. Furthermore, tasks demanding exact equality (task sent01) prove more
|
| 183 |
+
|
| 184 |
+

|
| 185 |
+
(a) Constraint satisfaction rate -GPT-4 (4th round)
|
| 186 |
+
|
| 187 |
+

|
| 188 |
+
Figure 8: GPT-4 interactive generation performance. (a) Constraint satisfaction rate of GPT-4 generated texts in the 4th round across various constraint groups. (b) GPT-4 overall performance in different feedback rounds. The 1st round is zero-shot, and the 2nd - 4th rounds are with feedback.
|
| 189 |
+
|
| 190 |
+
challenging than those requiring a range (task para03), and are considerably more difficult than tasks specifying just an upper or lower bound (tasks word01, sent03, para04).
|
| 191 |
+
|
| 192 |
+
Increased difficulty with logical composition. The incorporation of logical compositions into constraints considerably increases their difficulty. Task sent03 serves as an example of this, adding an extra constraint at the sentence level compared to task word01. Despite the assumption that the added constraint should be manageable for all models, performance on task sent03 uniformly trails behind that on task word01, as shown in Figure 7. This highlights the intricacy and challenge introduced by logical compositions within constraints.
|
| 193 |
+
|
| 194 |
+
Performance enhancement through feedback and interaction. We utilize COLLIE to generate automated natural language feedback (e.g., "Your task is to generate a word with exactly 2 character 'v' and exactly 3 character 'i'. However, you generate a word with 3 character 'v' and 4 character 'i') and engage LLMs in a generation-feedback dialogue. In Figure 8 we observe a significant $20\%$ improvement in GPT-4 performance after the second round of feedback. However, the model's performance plateaus at $66\%$ even after three additional rounds of feedback, comparable to pass@5 using i.i.d. sampling. The extent of performance improvement varies across tasks, with word03's constraint satisfaction rate increasing from $62.1\%$ to $10\%$ . Conversely, word02, sent01, and sent02 tasks remain challenging for the model. These findings suggest that there is still room for improvement, highlighting the difficulty of our dataset, and emphasizing the need for further research on better ways to incorporate natural language feedback.
|
| 195 |
+
|
| 196 |
+
# 6 CONCLUSION
|
| 197 |
+
|
| 198 |
+
In this work, we present COLLIE, a grammar-based framework for specifying textual constraints. COLLIE simplifies the process of creating constrained-generation datasets by enabling researchers to focus on specifying high level constraint structures, while COLLIE automatically extracts constraint values, renders natural language instructions, and assesses model performance. To demonstrate the utility of the COLLIE framework, we construct COLLIE-v1 with 1,132 constraints from 13 different types, extracted from 3 different data sources. We evaluate five state-of-the-art LLMs of various sizes on COLLIE-v1, and find that it provides fine-grained insights into model capabilities and shortcomings. We hope that model developers can use COLLIE-v1 to develop more capable models, while future releases of COLLIE can continue to adapt to the capabilities and needs of future models and users.
|
| 199 |
+
|
| 200 |
+
# LIMITATIONS AND SOCIETAL IMPACTS
|
| 201 |
+
|
| 202 |
+
Although care was taken to design the filtering and processing functions, such automated approaches are never perfect and remaining artifacts in corpora might lead to unnatural reference texts or constraints. Further filtering (e.g., by grammar checkers, parsers, or humans) could improve the dataset quality. Our representative constraint structures were selected to encompass diverse constrained generation challenges, but as with all generation benchmarks, they cannot capture all dimensions
|
| 203 |
+
|
| 204 |
+
and nuances of model capabilities. Benchmarks are highly influential in shaping model development, the capabilities and limitations of which may disproportionately impact different communities. Our benchmark is no exception. However, by providing an extensible, easy-to-use framework for constraint development, we hope COLLIE will enable diverse stakeholders to engage with dataset building, helping ensure that future model capabilities serve diverse interests and needs.
|
| 205 |
+
|
| 206 |
+
# ACKNOWLEDGEMENTS
|
| 207 |
+
|
| 208 |
+
We thank Xiao Liu for Vicuna/Alpaca APIs that supported our preliminary experiments, and Princeton NLP Group for helpful discussion and feedback in general. We acknowledge support from a Princeton SEAS Innovation grant and the National Science Foundation under Grant No. 2239363. Any opinions, findings, and conclusions or recommendations expressed in this material are those of the author(s) and do not necessarily reflect the views of the National Science Foundation.
|
| 209 |
+
|
| 210 |
+
# REFERENCES
|
| 211 |
+
|
| 212 |
+
R. Anil, A. M. Dai, O. First, M. Johnson, D. Lepikhin, A. Passos, S. Shakeri, E. Taropa, P. Bailey, Z. Chen, et al. Palm 2 technical report. arXiv preprint arXiv:2305.10403, 2023.
|
| 213 |
+
S. Bird. Nltk: the natural language toolkit. In Proceedings of the COLING/ACL 2006 Interactive Presentation Sessions, pages 69-72, 2006.
|
| 214 |
+
J. Brooke, A. Hammond, and G. Hirst. Gutentag: an nlp-driven tool for digital humanities research in the project Gutenberg corpus. In Proceedings of the Fourth Workshop on Computational Linguistics for Literature, pages 42-47, 2015.
|
| 215 |
+
T. B. Brown, B. Mann, N. Ryder, M. Subbiah, J. Kaplan, P. Dhariwal, A. Neelakantan, P. Shyam, G. Sastry, A. Askell, S. Agarwal, A. Herbert-Voss, G. Krueger, T. Henighan, R. Child, A. Ramesh, D. M. Ziegler, J. Wu, C. Winter, C. Hesse, M. Chen, E. Sigler, M. Litwin, S. Gray, B. Chess, J. Clark, C. Berner, S. McCandlish, A. Radford, I. Sutskever, and D. Amodei. Language models are few-shot learners. In Advances in Neural Information Processing Systems (NeurIPS), 2020. URL https://papers.nips.cc/paper/2020/bit/1457c0d6bcbd4967418bf8ac142f64a-Abstract.html
|
| 216 |
+
H. Chen, H. Li, D. Chen, and K. Narasimhan. Controllable text generation with language constraints. In preprint, 2022a. URL https://arxiv.org/abs/2212.10466
|
| 217 |
+
M. Chen, J. Tworek, H. Jun, Q. Yuan, H. Ponde de Oliveira Pinto, J. Kaplan, H. Edwards, Y. Burda, N. Joseph, G. Brockman, A. Ray, R. Puri, G. Krueger, M. Petrov, H. Khlaaf, G. Sastry, P. Mishkin, B. Chan, S. Gray, N. Ryder, M. Pavlov, A. Power, L. Kaiser, M. Bavarian, C. Winter, P. Tillet, F. Petroski Such, D. Cummings, M. Plappert, F. Chantzis, E. Barnes, A. Herbert-Voss, W. Hebgen Guss, A. Nichol, A. Paino, N. Tezak, J. Tang, I. Babuschkin, S. Balaji, S. Jain, W. Saunders, C. Hesse, A. N. Carr, J. Leike, J. Achiam, V. Misra, E. Morikawa, A. Radford, M. Knight, M. Brundage, M. Murati, K. Mayer, P. Welinder, B. McGrew, D. Amodei, S. McCandlish, I. Sutskever, and W. Zaremba. Evaluating large language models trained on code. In preprint, 2022b. URL https://arxiv.org/abs/2107.03374
|
| 218 |
+
M. Chevalier-Boisvert, D. Bahdanau, S. Lahlou, L. Willems, C. Saharia, T. H. Nguyen, and Y. Bengio. Babyai: A platform to study the sample efficiency of grounded language learning. In International Conference on Learning Representations (ICLR), 2019. URL https://arxiv.org/abs/1810.08272
|
| 219 |
+
W.-L. Chiang, Z. Li, Z. Lin, Y. Sheng, Z. Wu, H. Zhang, L. Zheng, S. Zhuang, Y. Zhuang, J. E. Gonzalez, I. Stoica, and E. P. Xing. Vicuna: An open-source chatbot impressing gpt-4 with $90\%$ chatgpt quality, March 2023. URL https://lmsys.org/blog/2023-03-30-vicuna/
|
| 220 |
+
S. Dathathri, A. Madotto, J. Lan, J. Hung, E. Frank, P. Molino, J. Yosinski, and R. Liu. Plug and play language models: A simple approach to controlled text generation. In International Conference on Learning Representations (ICLR), 2020. URL https://openreview.net/pdf?id=H1edEyBKDS
|
| 221 |
+
|
| 222 |
+
G. Dinu, P. Mathur, M. Federico, and Y. Al-Onaizan. Training neural machine translation to apply terminology constraints. In Association for Computational Linguistics (ACL), 2019.
|
| 223 |
+
W. Foundation. Wikipedia downloads, 2022. URL https://dumps.wikipedia.org
|
| 224 |
+
F. Hamborg, N. Meuschke, C. Breitinger, and B. Gipp. news-please: A generic news crawler and extractor. In Proceedings of the 15th International Symposium of Information Science, pages 218-223, March 2017. doi: 10.5281/zenodo.4120316.
|
| 225 |
+
E. Hasler, A. de Gispert, G. Iglesias, and B. Byrne. Neural machine translation decoding with terminology constraints. In North American Association for Computational Linguistics (NAACL), 2018.
|
| 226 |
+
D. Hendrycks, C. Burns, S. Basart, A. Zou, M. Mazeika, D. Song, and J. Steinhardt. Measuring massive multitask language understanding. arXiv preprint arXiv:2009.03300, 2020.
|
| 227 |
+
C. Hokamp and Q. Liu. Lexically constrained decoding for sequence generation using grid beam search. In Association for Computational Linguistics (ACL), 2017.
|
| 228 |
+
J. E. Hu, H. Khayrallah, R. Culkin, P. Xia, T. Chen, M. Post, and B. Van Durme. Improved lexically constrained decoding for translation and monolingual rewriting. In North American Association for Computational Linguistics (NAACL), 2019.
|
| 229 |
+
Z. Hu, Z. Yang, X. Liang, R. Salakhutdinov, and E. P. Xing. Toward controlled generation of text. In International Conference on Machine Learning (ICML), 2017.
|
| 230 |
+
J. Johnson, B. Hariharan, L. van der Maaten, L. Fei-Fei, C. L. Zitnick, and R. Girshick. Clevr: A diagnostic dataset for compositional language and elementary visual reasoning. In Conference on computer vision and pattern recognition (CVPR), 2017. URL https://ieeexplore.ieee.org/document/8099698
|
| 231 |
+
N. S. Keskar, B. McCann, L. R. Varshney, C. Xiong, and R. Socher. CTRL: A conditional transformer language model for controllable generation. In preprint, 2019. URL https://arxiv.org/abs/1909.05858.
|
| 232 |
+
B. Krause, A. D. Gotmare, B. McCann, N. S. Keskar, S. Joty, R. Socher, and N. F. Rajani. GeDi: Generative discriminator guided sequence generation. In Findings of the Empirical Methods in Natural Language Processing (EMNLP Findings), 2021. URL https://aclanthology.org/2021-findings-emnlp.424
|
| 233 |
+
Q. Lhoest, A. Villanova del Moral, Y. Jernite, A. Thakur, P. von Platen, S. Patil, J. Chaumont, M. Drame, J. Plu, L. Tunstall, J. Davison, M. Šaško, G. Chhablani, B. Malik, S. Brandeis, T. Le Scao, V. Sanh, C. Xu, N. Patry, A. McMillan-Major, P. Schmid, S. Gugger, C. Delangue, T. Matussière, L. Debut, S. Bekman, P. Cistac, T. Goehringer, V. Mustar, F. Lagunas, A. Rush, and T. Wolf. Datasets: A community library for natural language processing. In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing: System Demonstrations, pages 175-184, Online and Punta Cana, Dominican Republic, Nov. 2021. Association for Computational Linguistics. URL https://aclanthology.org/2021.emnlp-demo.21
|
| 234 |
+
B. Z. Li, J. Yu, M. Khabsa, L. Zettlemoyer, A. Halevy, and J. Andreas. Quantifying adaptability in pre-trained language models with 500 tasks. In North American Association for Computational Linguistics (NAACL), 2022a. URL https://arxiv.org/abs/2112.03204
|
| 235 |
+
X. L. Li, J. Thickstun, I. Gulrajani, P. Liang, and T. B. Hashimoto. Diffusion-lm improves controllable text generation. In Advances in Neural Information Processing Systems (NeurIPS), 2022b. URL https://openreview.net/forum?id=3s9IrEsjLyk.
|
| 236 |
+
P. Liang, R. Bommasani, T. Lee, D. Tsipras, D. Soylu, M. Yasunaga, Y. Zhang, D. Narayanan, Y. Wu, A. Kumar, et al. Holistic evaluation of language models. arXiv preprint arXiv:2211.09110, 2022.
|
| 237 |
+
B. Y. Lin, W. Zhou, M. Shen, P. Zhou, C. Bhagavatula, Y. Choi, and X. Ren. Commongen: A constrained text generation challenge for generative commonsense reasoning. In Findings of the Empirical Methods in Natural Language Processing (EMNLP Findings), 2020.
|
| 238 |
+
|
| 239 |
+
X. Lu, P. West, R. Zellers, R. L. Bras, C. Bhagavatula, and Y. Choi. Neurologic decoding: (un)supervised neural text generation with predicate logic constraints. In North American Association for Computational Linguistics (NAACL), 2021. URL https://aclanthology.org/2021.nacl-main.339.pdf
|
| 240 |
+
X. Lu, S. Welleck, P. West, L. Jiang, J. Kasai, D. Khashabi, R. L. Bras, L. Qin, Y. Yu, R. Zellers, N. A. Smith, and Y. Choi. Neurologic a*esque decoding: Constrained text generation with lookahead heuristics. In North American Association for Computational Linguistics (NAACL), 2022. URL https://aclanthology.org/2022.naacl-main.57.
|
| 241 |
+
OpenAI. Gpt-4 technical report. In preprint, 2023a. URL https://arxiv.org/abs/2303.08774.
|
| 242 |
+
OpenAI. Gpt-4 technical report, 2023b.
|
| 243 |
+
L. Ouyang, J. Wu, X. Jiang, D. Almeida, C. L. Wainwright, P. Mishkin, C. Zhang, S. Agarwal, K. Slama, A. Ray, J. Schulman, J. Hilton, F. Kelton, L. Miller, M. Simens, A. Askell, P. Welinder, P. Christiano, J. Leike, and R. Lowe. Training language models to follow instructions with human feedback. In Advances in Neural Information Processing Systems (NeurIPS), 2022. URL https://openreview.net/forum?id=TG8KACxEON.
|
| 244 |
+
C. Raffel, N. Shazeer, A. Roberts, K. Lee, S. Narang, M. Matena, Y. Zhou, W. Li, and P. J. Liu. Exploring the limits of transfer learning with a unified text-to-text transformer. The Journal of Machine Learning Research, 21(1):5485-5551, 2020.
|
| 245 |
+
L. Ruis, J. Andreas, M. Baroni, D. Bouchacourt, and B. M. Lake. A benchmark for systematic generalization in grounded language understanding. In Advances in Neural Information Processing Systems (NeurIPS), 2020. URL https://arxiv.org/abs/2003.05161
|
| 246 |
+
T. Schick, J. Dwivedi-Yu, R. Dessi, R. Raileanu, M. Lomeli, L. Zettlemoyer, N. Cancedda, and T. Scialom. Toolformer: Language models can teach themselves to use tools. In preprint, 2023. URL https://arxiv.org/abs/2302.04761
|
| 247 |
+
A. Srivastava, A. Rastogi, A. Rao, A. A. M. Shoeb, A. Abid, A. Fisch, A. R. Brown, A. Santoro, A. Gupta, A. Garriga-Alonso, et al. Beyond the imitation game: Quantifying and extrapolating the capabilities of language models. arXiv preprint arXiv:2206.04615, 2022.
|
| 248 |
+
R. Taori, I. Gulrajani, T. Zhang, Y. Dubois, X. Li, C. Guestrin, P. Liang, and T. B. Hashimoto. Stanford alpaca: An instruction-following llama model. https://github.com/tatsu-lab/stanford_alpaca, 2023.
|
| 249 |
+
Y. Wang, S. Mishra, P. Alipoormolabashi, Y. Kordi, A. Mirzaei, A. Naik, A. Ashok, A. S. Dhanasekaran, A. Arunkumar, D. Stap, et al. Super-naturalinstructions: Generalization via declarative instructions on $1600+$ nlp tasks. In Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing, pages 5085-5109, 2022.
|
| 250 |
+
J. Weston, A. Bordes, S. Chopra, A. M. Rush, B. Van Merrienboer, A. Joulin, and T. Mikolov. Towards ai-complete question answering: A set of prerequisite toy tasks. arXiv preprint arXiv:1502.05698, 2015.
|
| 251 |
+
S. Yao, J. Zhao, D. Yu, N. Du, I. Shafran, K. Narasimhan, and Y. Cao. React: Synergizing reasoning and acting in language models. In International Conference on Learning Representations (ICLR), 2022. URL https://arxiv.org/abs/2210.03629
|
| 252 |
+
Y. Zhang, Y. Liu, Z. Yang, Y. Fang, Y. Chen, D. Radev, C. Zhu, M. Zeng, and R. Zhang. Macsum: Controllable summarization with mixed attributes. Transactions of the Association for Computational Linguistics, 11:787-803, 2023.
|
| 253 |
+
W. Zhou, Y. E. Jiang, E. Wilcox, R. Cotterell, and M. Sachan. Controlled text generation with natural language instructions. arXiv preprint arXiv:2304.14293, 2023.
|
2024/COLLIE_ Systematic Construction of Constrained Text Generation Tasks/images.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:45e1efb0b7e01f737232d7dd7d9010933606e3354462040088c7b401c6c2a77c
|
| 3 |
+
size 571992
|
2024/COLLIE_ Systematic Construction of Constrained Text Generation Tasks/layout.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2024/COPlanner_ Plan to Roll Out Conservatively but to Explore Optimistically for Model-Based RL/216888e1-d802-47f6-a895-26fbf846f218_content_list.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2024/COPlanner_ Plan to Roll Out Conservatively but to Explore Optimistically for Model-Based RL/216888e1-d802-47f6-a895-26fbf846f218_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2024/COPlanner_ Plan to Roll Out Conservatively but to Explore Optimistically for Model-Based RL/216888e1-d802-47f6-a895-26fbf846f218_origin.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:aab504e36736f2dd821afde285f1931c96233de8e75dfd6eb79c56221772ee9f
|
| 3 |
+
size 10790377
|
2024/COPlanner_ Plan to Roll Out Conservatively but to Explore Optimistically for Model-Based RL/full.md
ADDED
|
@@ -0,0 +1,546 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# COPLANNER: PLAN TO ROLL OUT CONSERVATIVELY BUT TO EXPLORE OPTIMISTICALLY FOR MODEL-BASED RL
|
| 2 |
+
|
| 3 |
+
Xiyao Wang $^{1}$ Ruijie Zheng $^{1}$ Yanchao Sun $^{2}$
|
| 4 |
+
Ruonan Jia $^{3}$ Wichayaporn Wongkamjan $^{1}$ Huazhe Xu $^{3,4}$ Furong Huang $^{1}$ $^{1}$ University of Maryland, College Park $^{2}$ JPMorgan AI Research
|
| 5 |
+
$^{3}$ Tsinghua University $^{4}$ Shanghai Qi Zhi Institute
|
| 6 |
+
{xywang, rzheng12, wwongkam, furongh}@umd.edu
|
| 7 |
+
yanchao.sun@jpmchase.com jiaruanan97@gmail.com
|
| 8 |
+
huazhe_xu@mail.tsinghua.edu.cn
|
| 9 |
+
|
| 10 |
+
# ABSTRACT
|
| 11 |
+
|
| 12 |
+
Dyna-style model-based reinforcement learning contains two phases: model rollouts to generate sample for policy learning and real environment exploration using current policy for dynamics model learning. However, due to the complex real-world environment, it is inevitable to learn an imperfect dynamics model with model prediction error, which can further mislead policy learning and result in sub-optimal solutions. In this paper, we propose COPlanner, a planning-driven framework for model-based methods to address the inaccurately learned dynamics model problem with conservative model rollouts and optimistic environment exploration. COPlanner leverages an uncertainty-aware policy-guided model predictive control (UP-MPC) component to plan for multi-step uncertainty estimation. This estimated uncertainty then serves as a penalty during model rollouts and as a bonus during real environment exploration respectively, to choose actions. Consequently, COPlanner can avoid model uncertain regions through conservative model rollouts, thereby alleviating the influence of model error. Simultaneously, it explores high-reward model uncertain regions to reduce model error actively through optimistic real environment exploration. COPlanner is a plug-and-play framework that can be applied to any dyna-style model-based methods. Experimental results on a series of proprioceptive and visual continuous control tasks demonstrate that both sample efficiency and asymptotic performance of strong model-based methods are significantly improved combined with COPlanner. Our code is available at https://github.com/umd-huang-lab/COPlanner.
|
| 13 |
+
|
| 14 |
+
# 1 INTRODUCTION
|
| 15 |
+
|
| 16 |
+
Model-Based Reinforcement Learning (MBRL) has emerged as a promising approach to improve the sample efficiency of model-free RL methods. Most MBRL methods contain two phases that are alternated during training: 1) the first phase where the agent interacts with the real environment using a policy to obtain samples for dynamics model learning; 2) the second phase where the learned dynamics model rolls out to generate massive samples for updating the policy. Consequently, learning an accurate dynamics model is critical as the model-generated samples with high bias can mislead the policy learning (Deisenroth and Rasmussen, 2011; Wu et al., 2022).
|
| 17 |
+
|
| 18 |
+

|
| 19 |
+
Figure 1: Mean performance of COplanner compared with baselines across 3 diverse benchmarks.
|
| 20 |
+
|
| 21 |
+
However, dynamics model errors are inevitable due to the complex real-world environment. Existing methods try to avoid model errors in two main ways. 1) Design different mechanisms such as filtering out error-prone samples to mitigate the influence of model errors after model rollouts (Buckman et al., 2018; Yu et al., 2020; Pan et al., 2020; Yao et al., 2021). 2) Actively reduce model errors during
|
| 22 |
+
|
| 23 |
+

|
| 24 |
+
Figure 2: COPlanner Framework. The most essential part of COplanner is the Uncertainty-aware Policy-Guided MPC (UP-MPC) phase in which we plan trajectories of length $H$ , according to the learned dynamics model and learned policy network $\pi$ , to select the action with highest trajectory reward. This UP-MPC phase is implemented differently for the two different purposes: environment exploration v.s. dynamics model rollouts. In environment exploration, trajectory reward has an uncertainty bonus term to encourage exploring uncertain regions in the environment. In dynamics model rollouts, trajectory reward, on the contrary, has an uncertainty penalty term to encourage policy learning on confident regions of the learned dynamics model.
|
| 25 |
+
|
| 26 |
+
real environment interaction through uncertainty-guided exploration (Shyam et al., 2019; Ratzlaff et al., 2020; Sekar et al., 2020; Mendonca et al., 2021). While both categories of methods have achieved advancements, each comes with its own set of limitations. For the first category, although these approaches are shown to be empirically effective, they primarily concentrate on estimating uncertainty at the current step, often neglecting the long-term implications that present samples might have on model rollouts. Moreover, post-processing samples after model rollouts can compromise rollout efficiency as many model-generated samples are discarded or down-weighted. As for the second category, it is intrinsically challenging to achieve low model error and high long-term reward without sacrificing the sample efficiency by learning exploration policies.
|
| 27 |
+
|
| 28 |
+
To tackle the aforementioned limitations, we introduce a novel framework, COPlanner, which mitigates the model errors from two aspects: 1) avoid being misled by the existing model errors via conservative model rollouts, and 2) keep reducing the model error via optimistic environment exploration. The two aspects are achieved simultaneously by a novel uncertainty-aware multi-step planning method, which requires no extra exploration policy training nor additional samples, resulting in stable policy updates and high sample efficiency. COPlanner is structured around three core components: the Planner, conservative model rollouts, and optimistic environment exploration. In the Planner, we employ an Uncertainty-aware Policy-guided Model Predictive Control (UP-MPC) to forecast future trajectories in terms of selecting actions and to estimate the long-term uncertainty associated with each action. As shown in Figure 2, this long-term uncertainty serves as dual roles. In the model rollouts phase, the uncertainty acts as a penalty on the total planning trajectory, guiding the selection of conservative actions. Conversely, during the model learning phase, it serves as a bonus on the total planning trajectory, steering towards optimistic actions for environment exploration.
|
| 29 |
+
|
| 30 |
+
Compared to previous methods, COPlanner has the following advantages: (a) COPlanner has higher exploration efficiency, as it focuses on investigating high-reward uncertain regions to broaden the dynamics model, thereby preventing unnecessary excessive exploration of areas with low rewards. (b) COPlanner has higher model-generated sample utilization rate. Through planning for multi-step model uncertainty estimation, COPlanner can prevent model rolled out trajectories from falling into uncertain areas, thereby avoiding model errors before model rollouts and improving the utility of model generated samples. (c) COPlanner enjoys an unified policy framework. Unlike previous methods (Sekar et al., 2020; Mendonca et al., 2021) that require training two separate policies for different usage, COPlanner only requires training a single policy and we only change the way model-based planning is utilized, thus improving training efficiency and resolving potential policy distribution mismatches. (d) COPlanner ensures undistracted policy optimization. Notably, COPlanner diverges from existing approaches by not using long-term uncertainty as an intrinsic reward. Instead, the policy's objective remains focused on maximizing environmental rewards, thereby avoiding the introduction of spurious behaviors due to model uncertainty.
|
| 31 |
+
|
| 32 |
+
Summary of Contributions: (1) We introduce COPlanner framework which can mitigate the influence of model errors during model rollouts and explore the environment to actively reduce model errors simultaneously by leveraging our proposed uncertainty-aware policy-guided MPC. (2)
|
| 33 |
+
|
| 34 |
+
COPlanner is a plug-and-play framework that can be applicable to any dyna-style MBRL method. (3) After being integrated with other MBRL baseline methods, COPlanner improves the sample efficiency of these baselines by nearly double. (4) Besides, COPlanner also significantly improves the performance on a suite of proprioceptive and visual control tasks compared with other MBRL baseline methods (16.9% on proprioceptive DMC, 32.8% on GYM, and 9.6% on visual DMC).
|
| 35 |
+
|
| 36 |
+
# 2 PRELIMINARIES
|
| 37 |
+
|
| 38 |
+
Model-based reinforcement learning. We consider a Markov Decision Process (MDP) defined by the tuple $(S, A, T, \rho_0, r, \gamma)$ , where $S$ and $A$ are the state space and action space respectively, $T(s'|s, a)$ is the transition dynamics, $\rho_0$ is the initial state distribution, $r(s, a)$ is the reward function and $\gamma$ is the discount factor. In model-based RL, the transition dynamics $T$ in the real world is unknown, and we aim to construct a model $\hat{T}(s'|s, a)$ of transition dynamics and use it to find an optimal policy $\pi$ which can maximize the expected sum of discounted rewards,
|
| 39 |
+
|
| 40 |
+
$$
|
| 41 |
+
\pi = \underset {\pi} {\operatorname {a r g m a x}} \mathbb {E} _ {s _ {t} \sim \hat {T} (\cdot | s _ {t - 1}, a _ {t - 1})} \left[ \sum_ {t = 0} ^ {\infty} \gamma^ {t} r (s _ {t}, a _ {t}) \right]. \tag {1}
|
| 42 |
+
$$
|
| 43 |
+
|
| 44 |
+
Model predictive control. Model predictive control (MPC) has a long history in robotics and control systems (Garcia et al., 1989; Qin and Badgwell, 2003). MPC find the optimal action through trajectory optimization. Specifically, given the transition dynamics $T$ in the real world, the agent obtains a local solution at each step $t$ by estimating optimal actions over a finite horizon $H$ (i.e., from $t$ to $t + H$ ) and executing the first action $a_{t}$ from the computed optimal sequence at time step $t$ :
|
| 45 |
+
|
| 46 |
+
$$
|
| 47 |
+
a _ {t} = \underset {a _ {t: t + H}} {\operatorname {a r g m a x}} \mathbb {E} \left[ \sum_ {i = t} ^ {H} \gamma^ {i} r \left(s _ {i}, a _ {i}\right) \right], s _ {i} \sim T (\cdot | s _ {i - 1}, a _ {i - 1}), \tag {2}
|
| 48 |
+
$$
|
| 49 |
+
|
| 50 |
+
where $\gamma$ is typically set to 1. In model-based control methods, the transition dynamics $T$ is simulated by the learned dynamics model $\hat{T}$ (Chua et al., 2018; Wang and Ba, 2019; Hansen et al., 2022).
|
| 51 |
+
|
| 52 |
+
# 3 THE COPLANNER FRAMEWORK
|
| 53 |
+
|
| 54 |
+
In this section, we will introduce COPlanner framework. COPlanner consists of three components: the Planner, conservative model rollouts, and optimistic environment exploration. Within the Planner, we propose using an Uncertainty-aware Policy-guided MPC to predict potential future trajectories when selecting different actions under the current state and estimate the long-term uncertainty associated with each action, which will be introduced in Sec 3.1. Depending on the phase, this long-term uncertainty is used to further guide the selection of conservative actions for policy learning or optimistic actions for environment exploration which will be introduced in Sec 3.2 and Sec 3.3.
|
| 55 |
+
|
| 56 |
+
# 3.1 "THE PLANNER": UNCERTAINTY-AWARE POLICY-GUIDED MPC
|
| 57 |
+
|
| 58 |
+
In this section, we present the core part of our proposed framework which is called Uncertainty-aware Policy-guided MPC (UP-MPC). Inspired by MPC, we apply the random shooting method (Rao, 2009) to introduce a long-term vision. Specifically, given the current state $s_t$ , before each interaction with the
|
| 59 |
+
|
| 60 |
+

|
| 61 |
+
Figure 3: The Planner.
|
| 62 |
+
|
| 63 |
+
model or real environment, we first generate an action candidate set containing $K$ actions using the policy: $\pmb{a}_{t} = \{a_{t}^{(1)}, a_{t}^{(2)}, \dots, a_{t}^{(k)}\}$ . Then, for each action candidate, we perform $H_{p}$ -step planning and calculate the reward $r$ , and model uncertainty $u$ for each step. Finally, we select the action according to accumulated reward and model uncertainty, (to interact with the learned dynamics for the model rollouts or to interact with the environment for the model learning), as will be discussed in details in Sec 3.2 and Sec 3.3.
|
| 64 |
+
|
| 65 |
+
Incorporating model uncertainty is crucial for action selection to compensate for model error. As illustrated in Algorithm 1, we calculate the model uncertainty $u$ through the model disagreement
|
| 66 |
+
|
| 67 |
+
(Pathak et al., 2019) method. Model disagreement is closely related to model learning and is currently the most common way to estimate model uncertainty in MBRL (Yu et al., 2020; Kidambi et al., 2020; Pan et al., 2020; Sekar et al., 2020; Yao et al., 2021; Mendonca et al., 2021). We train a dynamics model ensemble $\hat{T}_{\theta} = \{\hat{T}_{\theta}^{(1)}, \hat{T}_{\theta}^{(2)}, \dots, \hat{T}_{\theta}^{(n)}\}$ to predict the next state given the current state-action pair $(s_t, a_t)$ as input. Utilizing the ensemble, we approximate the model uncertainty by calculating the variance over predicted states of the different ensemble members. This estimation closely represents the expected information gain (Pathak et al., 2019):
|
| 68 |
+
|
| 69 |
+
$$
|
| 70 |
+
u \left(s _ {t}, a _ {t}\right) = \frac {1}{N - 1} \sum_ {n} \left(\hat {T} _ {\theta} ^ {(n)} \left(s _ {t}, a _ {t}\right) - \mu^ {\prime}\right) ^ {2}, \quad \mu^ {\prime} = \frac {1}{N} \sum_ {n} \hat {T} _ {\theta} ^ {(n)} \left(s _ {t}, a _ {t}\right). \tag {3}
|
| 71 |
+
$$
|
| 72 |
+
|
| 73 |
+
See Figure 3 for the illustration of the process. The pseudocode for the Planner, i.e., the UP-MPC process, is summarized in Algorithm 1.
|
| 74 |
+
|
| 75 |
+
Algorithm 1 The Planner: UP-MPC $(\pi_{\phi}, s, \hat{T}_{\theta}, K, H, \alpha)$
|
| 76 |
+
|
| 77 |
+
Require: Policy $\pi_{\phi}$ , State $s$ , learned dynamics model $\hat{T}_{\theta}$ , number of candidates actions $K$ , planning horizon $H_{p}$ , optimistic/conservative parameter $\alpha$
|
| 78 |
+
|
| 79 |
+
1: Initialize $R^{(k)} = 0$ for $k = 1, \dots, K$ , $s_0^{(k)} = s$ for $k = 1, \dots, K$
|
| 80 |
+
2: for $k = 1$ to $K$ do
|
| 81 |
+
3: for $t = 0$ to $H_{p} - 1$ do
|
| 82 |
+
4: Sample $a_{t}^{(k)}\sim \pi_{\phi}(\cdot |s_{t}^{(k)})$
|
| 83 |
+
5: Rollout dynamics model $r_t^{(k)} = \hat{R}(\cdot | s_t^{(k)}, a_t^{(k)})$ , $s_{t+1}^{(k)} \sim \hat{T}_{\theta}(\cdot | s_t^{(k)}, a_t^{(k)})$
|
| 84 |
+
6: Compute model uncertainty $u_{t}^{(k)}$ according to Eq. 3
|
| 85 |
+
7: $R^{(k)} = R^{(k)} + r_t^{(k)} + \alpha u_t^{(k)}$
|
| 86 |
+
8: Select $k^* = \arg \max_{k=1,\dots,K} R^{(k)}$
|
| 87 |
+
9: return $a_0^{(k^*)}$
|
| 88 |
+
|
| 89 |
+
Although in Algorithm 1 model uncertainty $u$ is implemented through model disagreement, our proposed UP-MPC is a generic framework, any method for calculating intrinsic rewards to encourage exploration can be embedded into our framework for computing $u$ . In Appendix D.5 we provide an ablation study of uncertainty estimation methods to further illustrate this point.
|
| 90 |
+
|
| 91 |
+
# 3.2 CONSERVATIVE MODEL ROLLOUTS
|
| 92 |
+
|
| 93 |
+
In model-based RL, due to the limited samples available for model learning, model prediction errors are inevitable. If a policy is trained using model-generated samples with a large error, these samples will not provide correct gradient and may mislead the policy update. Previous methods estimate the model uncertainty of each sample after generation and re-weight or discarded samples with high uncertainty. However, re-weighting samples based on uncertainty still leads to samples with high uncertainty participating in the policy learning process, while filtering requires manually setting an uncertainty threshold, and determining the optimal threshold is difficult. Discarding too many samples can result in inefficient rollouts.
|
| 94 |
+
|
| 95 |
+
We apply our Planner to plan for maximizing the future reward while minimizing the model uncertainty during model rollouts before executing the action. After calculating the reward and model uncertainty for the $H_{p}$ -step trajectories of $K$ action candidates (line 5 and 6 in Algorithm 1), we replace $\alpha = -\alpha_{c}$ , for a positive $\alpha_{c} > 0$ at line 7 in Algorithm 1. Mathematically, we select the action according to Eq. 4 to interact with the model for model rollouts:
|
| 96 |
+
|
| 97 |
+
$$
|
| 98 |
+
a = \operatorname {a r g m a x} _ {a _ {t} \in \boldsymbol {a} _ {t}} \left[ r \left(s _ {t}, a _ {t}\right) + \sum_ {i = 1} ^ {H _ {p}} r \left(\hat {s} _ {t + i}, \pi \left(\hat {s} _ {t + i}\right)\right) - \alpha_ {c} \sum_ {i = 1} ^ {H _ {p}} u \left(\hat {s} _ {t + i}, \pi \left(\hat {s} _ {t + i}\right)\right) \right], \hat {s} _ {t + i} \sim \hat {T} (\cdot | \hat {s} _ {t + i - 1}, a _ {t + i - 1}). \tag {4}
|
| 99 |
+
$$
|
| 100 |
+
|
| 101 |
+
The negative $-\alpha_{c}$ is a coefficient that adds the model uncertainty as a penalty term to the trajectory total reward. By employing this approach, we can prevent model rollout trajectories from falling into model-uncertain regions while obtaining samples with higher rewards.
|
| 102 |
+
|
| 103 |
+
# 3.3 OPTIMISTIC ENVIRONMENT EXPLORATION
|
| 104 |
+
|
| 105 |
+
In addition to model rollouts, another crucial part of MBRL is interacting with the real environment to obtain samples to improve the dynamics model. Since the main purpose of MBRL is to improve
|
| 106 |
+
|
| 107 |
+
sample efficiency, we should acquire more meaningful samples for improving the dynamics model within a limited number of interactions. Therefore, unlike previous methods that merely aimed to thoroughly explore the environment to obtain a comprehensive model (Shyam et al., 2019; Ratzlaff et al., 2020; Sekar et al., 2020), we do not expect the dynamics model to learn all samples in the state space. This is because many low-reward samples do not contribute to policy improvement. Instead, we hope to obtain samples with both high rewards and high model uncertainty to sufficiently expand the model and reduce model uncertainty.
|
| 108 |
+
|
| 109 |
+
Similar to model rollouts, we also employ our Planner in the process of selecting actions when interacting with the environment. However, the difference lies in that we replace $\alpha = \alpha_{o}$ , for a positive $\alpha_{o} > 0$ at line 7 in Algorithm 1. Mathematically, we choose the action with both high cumulative rewards and model uncertainty according to Eq. 5, which is a symmetric form of Eq. 4. $\alpha_{o}$ is a hyperparameter to balance the reward and exploration. Such an action can guide the trajectory towards regions with high rewards and model uncertainty in the real environment, thereby effectively expanding the learned dynamics model.
|
| 110 |
+
|
| 111 |
+
$$
|
| 112 |
+
a = \operatorname {a r g m a x} _ {a _ {t} \in \boldsymbol {a} _ {t}} \left[ r \left(s _ {t}, a _ {t}\right) + \sum_ {i = 1} ^ {H _ {p}} r \left(\hat {s} _ {t + i}, \pi \left(\hat {s} _ {t + i}\right)\right) + \alpha_ {o} \sum_ {i = 1} ^ {H _ {p}} u \left(\hat {s} _ {t + i}, \pi \left(\hat {s} _ {t + i}\right)\right) \right], \hat {s} _ {t + i} \sim \hat {T} (\cdot | \hat {s} _ {t + i - 1}, a _ {t + i - 1}) \tag {5}
|
| 113 |
+
$$
|
| 114 |
+
|
| 115 |
+
In summary, by simultaneously using conservative model rollouts and optimistic environment exploration, COPlanner effectively alleviates the model error problem in MBRL. As we will show in Section 5, this is of great help in improving the sample efficiency and performance. The pseudocode of COPlanner is shown in Algorithm 2, and a more detailed figure is shown in Appendix A. Very importantly, COPlanner achieves both conservative model rollouts and optimistic environment exploration using a single policy. Different from prior exploration methods, the policy that COPlanner learns does not have to be an "exploration" policy which is inevitably suboptimal.
|
| 116 |
+
|
| 117 |
+
Algorithm 2 Main Algorithm: COPlanner
|
| 118 |
+
Require: Interaction epochs $I$ , rollout horizon $H_{r}$ , planning horizon $H_{p}$ , number of candidates actions $K$ , conservative rate $\alpha_{c}$ , optimistic rate $\alpha_{o}$
|
| 119 |
+
1: Initialize policy $\pi_{\phi}$ , dynamics model $\hat{T}$ , real sample buffer $\mathcal{D}_e$ , model sample buffer $\mathcal{D}_m$
|
| 120 |
+
2: for $I$ epochs do
|
| 121 |
+
3: while not Done do
|
| 122 |
+
4: Select action $a_{t} = \mathbf{UP - MPC}(\pi_{\phi}, s_{t}, \hat{T}_{\theta}, K, H_{p}, \alpha_{o})$
|
| 123 |
+
5: Execute in real environment, add $(s_{t}, a_{t}, r_{t}, s_{t + 1})$ to $\mathcal{D}_e$
|
| 124 |
+
6: Train dynamics model $\hat{T}_{\theta}$ with $\mathcal{D}_e$
|
| 125 |
+
7: for $M$ model rollouts do
|
| 126 |
+
8: Sample initial states from real sample buffer $\mathcal{D}_e$
|
| 127 |
+
9: for $h = 0$ to $H_{r}$ do
|
| 128 |
+
10: Select action $\hat{a}_{t + h} = \mathbf{UP - MPC}(\pi_{\phi}, \hat{s}_{h}, \hat{T}_{\theta}, K, H_{p}, -\alpha_{c})$
|
| 129 |
+
11: Rollout learned dynamics model and add to $\mathcal{D}_m$
|
| 130 |
+
12: Update current policy $\pi_{\phi}$ with $\mathcal{D}_m$
|
| 131 |
+
|
| 132 |
+
# 4 RELATED WORK
|
| 133 |
+
|
| 134 |
+
Mitigating model error by improving rollout strategies. Prior methods primarily focus on using dynamics model ensembles (Kurutach et al.; Chua et al., 2018) to assess model uncertainty of samples after they were generated by the model, and then apply weighting techniques (Buckman et al., 2018; Yao et al., 2021), penalties (Kidambi et al., 2020; Yu et al., 2020) or filtering (Pan et al., 2020; Wang et al., 2022) to those high uncertainty samples to mitigate the influence of model error. These methods only quantify uncertainty after generating the samples and since their uncertainty metrics are based on the current step and are myopic, these metrics can not evaluate the potential influence of the current sample on future trajectories. Therefore, they fail to prevent the trajectories, which is generated through model rollout on the current policy, from entering high uncertainty regions, eventually leading to a failed policy update. Wu et al. (Wu et al., 2022) proposed Plan to Predict (P2P), which reverses the roles of the model and policy during model learning to learn an uncertainty-foreseeing model, aiming to avoid model uncertain regions during model rollouts. Combined with MPC, their method achieved promising results. However, their approach lacks effective exploration of the environment. Branched rollout (Janner et al., 2019) and bidirectional rollout (Lai et al., 2020) take advantage of
|
| 135 |
+
|
| 136 |
+
small model errors in the early stages of rollouts and uses shorter rollout horizons to avoid model errors, but these approaches limit the planning capabilities of the learned dynamics model. Besides, different model learning objectives (Shen et al., 2020; Eysenbach et al., 2022; Wang et al., 2023; Zheng et al., 2023b) are designed to solve objective mismatch (Lambert et al., 2020) in model-based RL and further mitigate model error during model rollouts.
|
| 137 |
+
|
| 138 |
+
Reducing model error by improving environment exploration. Another approach to mitigate model error is to expand the dynamics model by obtaining more diverse samples through exploration during interactions with the environment. However, previous methods mostly focused on pure exploration, i.e., how to make the dynamics model learn more comprehensively (Lowrey et al., 2018; Shyam et al., 2019; Ratzlaff et al., 2020; Sekar et al., 2020; Seyde et al., 2020; Ball et al., 2020; Mendonca et al., 2021; Hu et al., 2023). In complex environments, thoroughly exploring the entire environment is very sample-inefficient and not practical in real-world applications. Moreover, using pure exploration to expand the model may lead to the discovery of many low-reward samples, which are not very useful for policy learning. Mendonca et al. (Mendonca et al., 2021) proposed Latent Explorer Achiever (LEXA) which involves a explorer for exploring the environment and one achiever for solving diverse tasks based on collected samples, but the explorer and achiever may experience policy distribution shift under specific single-task settings, causing the achiever to potentially not converge to the optimal solution.
|
| 139 |
+
|
| 140 |
+
Mitigating model error from both sides. One most relevant work is Model-Ensemble Exploration and Exploitation (MEEE) (Yao et al., 2021) which simultaneously expands the dynamics model and reduces the impact of model error during model rollouts. During the rollout process, it uses uncertainty to weight the loss calculated for each sample to update the policy and the critic. Before interacting with the environment, they first generate $k$ action candidates and then select the action with the highest sum of Q-value and one-step model uncertainty to execute. However, as we mentioned earlier, weighting samples cannot fundamentally prevent the impact of model errors on policy learning, and it may still mislead policy updates. Moreover, since the one-step prediction error of dynamics models is often small (Pan et al., 2020), relying only on the sum of Q-values and one-step model uncertainty may not effectively differentiate action candidates. As a result, samples collected during interactions with the environment might not efficiently expand the model.
|
| 141 |
+
|
| 142 |
+
# 5 EXPERIMENT
|
| 143 |
+
|
| 144 |
+
In this section, we conduct experiments to investigate following questions: (a) Can COplanner be applied to both proprioceptive control MBRL and visual control MBRL methods, to improve their sample efficiency and asymptotic performance? (b) How does each component of COplanner impact the performance? (c) How does COplanner influence model learning and model rollouts?
|
| 145 |
+
|
| 146 |
+
# 5.1 EXPERIMENT ON PROPRIOCEPTIVE CONTROL TASKS
|
| 147 |
+
|
| 148 |
+
Baselines: In this section, we conduct experiments to demonstrate the effectiveness of COPlanner on proprioceptive control MBRL methods. We combine COPlanner with MBPO (Janner et al., 2019), the most classic method in proprioceptive control dyna-style MBRL, and we name the combined method as COPlanner-MBPO. The implementation details can be found in Appendix B. Consequently, MBPO naturally becomes one of our baselines. The other three baselines are P2P-MPC (Wu et al., 2022), MEEE (Yao et al., 2021), and M2AC (Pan et al., 2020). These three methods also aim to mitigate the impact of model errors in model-based RL. We choose one of the most popular model-free RLatheod D4PG (Barth-Maron et al., 2018) as another baseline. More details of P2P-MPC, MEEE, and M2AC can be found in Section 4. We also provide comparison with more proprioceptive control MBRL methods in Appendix D.1.
|
| 149 |
+
|
| 150 |
+
Environment and hyperparameter settings: We conduct experiments on 8 proprioceptive continuous control tasks of DeepMind Control (DMC) and 4 proprioceptive control tasks of MuJoCo-GYM (GYM). MBPO trains an ensemble of 7 networks as the dynamics model while using the Soft Actor-Critic (SAC) as the policy network. In COPlanner-MBPO, we adopt the setting of MBPO and directly use the dynamics model ensemble to calculate model uncertainty for action selection in Policy-Guided MPC. For hyperparameter setting, we set optimistic rate $\alpha_{o}$ to be 1, conservative rate $\alpha_{c}$ to be 2 in all tasks, and set action candidate number $K$ , planning horizon $H_{p}$ equal to 5 in all tasks. The specific setting are shown in the Appendix C.1.
|
| 151 |
+
|
| 152 |
+

|
| 153 |
+
|
| 154 |
+

|
| 155 |
+
|
| 156 |
+

|
| 157 |
+
|
| 158 |
+

|
| 159 |
+
|
| 160 |
+

|
| 161 |
+
|
| 162 |
+

|
| 163 |
+
|
| 164 |
+

|
| 165 |
+
|
| 166 |
+

|
| 167 |
+
|
| 168 |
+

|
| 169 |
+
Figure 4: Experiment results of COPlanner-MBPO and other five baselines on proprioceptive control environments. The curves in the first eight figures originate from DM Control tasks, while those in the last four are from GYM tasks. The results are averaged over 8 random seeds, and shaded regions correspond to the $95\%$ confidence interval among seeds. During evaluation, for each seed of each method, we test for up to 1000 steps in the test environment and perform 10 evaluations to obtain an average value. The evaluation interval is every 1000 environment steps.
|
| 170 |
+
|
| 171 |
+

|
| 172 |
+
|
| 173 |
+

|
| 174 |
+
|
| 175 |
+

|
| 176 |
+
|
| 177 |
+
COPlanner significantly improves the sample efficiency and performance of MBPO: Through the results in Figure 4 we can find that both sample efficiency and performance of MBPO have a significant improvement after combining COplanner. (a) Sample efficiency: In proprioceptive control DMC, the sample efficiency is improved by $40\%$ on average compared to MBPO. For example, in the Walker-walk task, MBPO requires 100k steps for the performance to reach 700, while COplanner-MBPO only needs approximately 60k steps. In more complex GYM tasks, the improvement brought by COplanner is even more significant. Compared to MBPO, the sample efficiency of COplanner-MBPO has almost doubled. (b) Performance: From the performance perspective, as shown in Figure 1, the performance of MBPO has improved by $16.9\%$ after combining COplanner. Moreover, it is worth noting that our method successfully solves the Walker-run task, which MBPO fails to address, further demonstrating the effectiveness of our proposed framework. In GYM tasks, the average performance at convergence has increased by $32.8\%$ . Besides, COplanner-MBPO also outperforms other baselines.
|
| 178 |
+
|
| 179 |
+
# 5.2 EXPERIMENT ON VISUAL CONTROL TASKS
|
| 180 |
+
|
| 181 |
+
Baselines: We conduct experiments to demonstrate the effectiveness of our proposed framework on visual control environments. We integrate our algorithm with DreamerV3 (Hafner et al., 2023), the state-of-the-art Dyna-style model-based RL approach recently introduced for visual control. The implementation details can be found in Appendix B. We choose LEXA (Mendonca et al., 2021) as our another baseline. LEXA uses Plan2Explore (Sekar et al., 2020) as intrinsic reward to explore the environment and learn a world model, then using this model to train a policy to solve diverse tasks such as goal achieving. Since pure exploration base on Plan2Explore is sample inefficient for model learning when solving specific tasks, we use the real reward provided by environment as extrinsic reward and add it to intrinsic reward provided by Plan2Explore to train the explorer. We adopt this method on DreamerV3 and call it LEXA-reward-DreamerV3. Besides, we compare our method with the SOTA model-free visual RL method DrQV2 (Yarats et al., 2021). We also provide comparison with more visual control MFRL and MBRL methods in Appendix D.2.
|
| 182 |
+
|
| 183 |
+
Environment and hyperparameter settings: We use 8 visual control tasks of DMC as our environment. In COPlanner-DreamerV3, we learn a latent one-step prediction dynamics model as Plan2Explore (Sekar et al., 2020), the ensemble size is 8. We set action candidate number $K$ and planning horizon $H_{p}$ equal to 4 in all tasks. For optimistic rate $\alpha_{o}$ and conservative rate $\alpha_{c}$ , we set them to be 1 and 0.5, respectively. Other hyperparameters remain consistent with DreamerV3 paper.
|
| 184 |
+
|
| 185 |
+
COPlanner significantly improves the sample efficiency and performance of DreamerV3: From the experiment results in Figure 5, we observe that COPlanner-DreamerV3 improves the
|
| 186 |
+
|
| 187 |
+

|
| 188 |
+
|
| 189 |
+

|
| 190 |
+
|
| 191 |
+

|
| 192 |
+
|
| 193 |
+

|
| 194 |
+
|
| 195 |
+

|
| 196 |
+
Figure 5: Experiment results of COPlanner-Dreamerv3 and other three baselines on pixel-input DMC. The results are averaged over 8 random seeds, and shaded regions correspond to the $95\%$ confidence interval among seeds. During evaluation, for each seed of each method, we test for up to 1000 steps in the test environment and perform 10 evaluations to obtain an average value. The evaluation interval is every 1000 environment steps.
|
| 197 |
+
|
| 198 |
+

|
| 199 |
+
|
| 200 |
+

|
| 201 |
+
|
| 202 |
+

|
| 203 |
+
|
| 204 |
+
sample efficiency and performance significantly over DreamerV3, and it demonstrated a significant advantage over DrQv2. The sample efficiency of COPlanner-DreamerV3 is more than twice that of DreamerV3, and the performance is improved by $9.6\%$ . After adding real reward as extrinsic reward for explorer learning, LEXA-reward-DreamerV3 delivers performance comparable to DreamerV3 in most environments. It outperforms DreamerV3 in Cartpole-swingup-sparse and Hopper-stand. However, its performance and sample efficiency are still worse than COPlanner-DreamerV3, further indicates the effectiveness of COPlanner.
|
| 205 |
+
|
| 206 |
+
# 5.3 ABLATION STUDY
|
| 207 |
+
|
| 208 |
+
In this section, we aim to investigate the impact of different components within COPlanner on the sample efficiency and performance. We conduct experiments on two proprioceptive control DMC tasks (Walker-stand and Walker-run) using MBPO as baseline and two visual control DMC tasks (Hopper-hop and Cartpole-swingup-sparse) with DreamerV3 as baseline. The results are demonstrated in Figure 6. Due to page limitations, we provide the ablation study on various hyperparameters of COPlanner in Appendix D.4 and the ablation study of uncertainty estimation methods in Appendix D.5.
|
| 209 |
+
|
| 210 |
+
From this ablation study, we can see that effectively combining optimistic exploration and conservative rollouts is necessary to achieve the best results. We find that when only using optimistic exploration (COPlanner w. Explore only), the sample efficiency and performance in all tasks are significantly improved, which highlights the importance of expanding the model. When only using conservative rollouts (COPlanner w. Rollout only), there is some improvement in sample efficiency and performance but to a lesser extent. In more complex visual control tasks, only using conservative rollouts may lead to over-conservatism, resulting in an inability to learn an effective policy in sparse reward environments (as observed with a broken seed in Cartpole-swingup-sparse) or a decrease in sample efficiency during the early stages of learning (Hopper-hop). This is reasonable because conservative rollouts may avoid high uncertainty and high reward areas to ensure the stability of policy updates. Moreover, without efficiently expanding the model, it is challenging to find better solutions using only conservative rollouts in complex visual control tasks. Experimental results show that both optimistic exploration and conservative rollouts are crucial, and using either one individually can lead to an improvement in performance. When combining the two (as in COPlanner), we can achieve the best results, further demonstrating the effectiveness of our method.
|
| 211 |
+
|
| 212 |
+
# 5.4 MODEL ERROR AND ROLLOUT UNCERTAINTY ANALYSIS
|
| 213 |
+
|
| 214 |
+
In this section, we will investigate the impact of COPlanner on model learning and model rollouts. We provide the curves of how model prediction error and rollout uncertainty change as the environment step increases in Figure 7. We conduct experiments on two proprioceptive control DMC tasks (Cheetah-run and Walker-run) and two visual control DMC tasks (Hopper-hop and Cartpole-swingup-sparse).
|
| 215 |
+
|
| 216 |
+

|
| 217 |
+
Figure 6: Ablation studies of optimistic exploration and conservative rollouts on different tasks using different mbrl baselines. In the first two proprioceptive control tasks we use MBPO as baseline. For the last two visual control tasks we employ DreamerV3. The results are averaged over 8 random seeds. We can observe that the best results are achieved when combining optimistic exploration and conservative rollouts. The benefit is more pronounced in more-challenging visual tasks.
|
| 218 |
+
|
| 219 |
+

|
| 220 |
+
|
| 221 |
+

|
| 222 |
+
|
| 223 |
+

|
| 224 |
+
|
| 225 |
+

|
| 226 |
+
Figure 7: Model learning loss and rollout uncertainty curves for COplanner and two other model-based RL baselines. The left four are proprioceptive control DMC tasks, and the right four are visual control DMC tasks.
|
| 227 |
+
|
| 228 |
+

|
| 229 |
+
|
| 230 |
+

|
| 231 |
+
|
| 232 |
+

|
| 233 |
+
|
| 234 |
+
(1) In proprioceptive control DMC, we use the MSE loss between model prediction and ground truth next state to evaluate model prediction error during training, while in visual control DMC, we use the KL divergence between the latent dynamics prediction and the next stochastic representation to compute latent model prediction error. We observe that after integrating COplanner in proprioceptive control tasks, the model prediction error is significantly reduced. In more complex visual control tasks, due to obtaining more diverse samples through exploration in the early stages of training, the model prediction error of COplanner is higher than the baseline (DreamerV3). However, as training progresses, the model prediction error rapidly decreases, becoming significantly lower than the model prediction error of DreamerV3. This allows the model to fully learn from the diverse samples, leading to an improvement in policy performance. (2) For the evaluation of rollouts uncertainty, we calculate the model disagreement for each sample in the model-generated replay buffer used for policy training using dynamics model ensemble. We find that COplanner significantly reduces rollout uncertainty due to conservative rollouts, suggesting that the impact of model errors on policy learning is minimized. This experiment further demonstrates that the success of COplanner is attributed to both optimistic exploration and conservative rollouts.
|
| 235 |
+
|
| 236 |
+
# 6 CONCLUSION AND DISCUSSION
|
| 237 |
+
|
| 238 |
+
We investigate how to effectively address the inaccurate learned dynamics model problem in MBRL. We propose COPlanner, a general framework that can be applied to any dyna-style MBRL method. COPlanner utilizes Uncertainty-aware Policy-Guided MPC phase to predict the cumulative uncertainty of future steps and symmetrically uses this uncertainty as a penalty or bonus to select actions for conservative model rollouts or optimistic environment exploration. In this way, COPlanner can avoid model uncertain areas before model rollouts to minimize the impact of model error, while also exploring high-reward model-uncertain areas in the environment to expand the model and reduce model error. Experiments on a range of continuous control tasks demonstrate the effectiveness of our method. One drawback of COPlanner is that MPC can lead to additional computational time and we provide a detailed computational time consumption in Appendix D.6. We can improve computational efficiency by parallelizing planning, which we leave for future work.
|
| 239 |
+
|
| 240 |
+
# ACKNOWLEDGEMENT
|
| 241 |
+
|
| 242 |
+
Wang, Zheng, and Huang are supported by National Science Foundation NSF-IIS-2147276 FAI, DOD-ONR-Office of Naval Research under award number N00014-22-1-2335, DOD-AFOSR-Air Force Office of Scientific Research under award number FA9550-23-1-0048, DOD-DARPA-Defense Advanced Research Projects Agency Guaranteeing AI Robustness against Deception (GARD) HR00112020007, Adobe, Capital One and JP Morgan faculty fellowships.
|
| 243 |
+
|
| 244 |
+
# REFERENCES
|
| 245 |
+
|
| 246 |
+
Philip Ball, Jack Parker-Holder, Aldo Pacchiano, Krzysztof Choromanski, and Stephen Roberts. Ready policy one: World building through active learning. In International Conference on Machine Learning, pages 591-601. PMLR, 2020.
|
| 247 |
+
Gabriel Barth-Maron, Matthew W Hoffman, David Budden, Will Dabney, Dan Horgan, Dhruva Tb, Alistair Muldal, Nicolas Heess, and Timothy Lillicrap. Distributed distributional deterministic policy gradients. arXiv preprint arXiv:1804.08617, 2018.
|
| 248 |
+
Jacob Buckman, Danijar Hafner, George Tucker, Eugene Brevdo, and Honglak Lee. Sample-efficient reinforcement learning with stochastic ensemble value expansion. Advances in neural information processing systems, 31, 2018.
|
| 249 |
+
Kurtland Chua, Roberto Calandra, Rowan McAllister, and Sergey Levine. Deep reinforcement learning in a handful of trials using probabilistic dynamics models. Advances in Neural Information Processing Systems, 31, 2018.
|
| 250 |
+
Marc Deisenroth and Carl E Rasmussen. *Pilco: A model-based and data-efficient approach to policy search*. In Proceedings of the 28th International Conference on machine learning (ICML-11), pages 465–472, 2011.
|
| 251 |
+
Benjamin Eysenbach, Alexander Khazatsky, Sergey Levine, and Russ R Salakhutdinov. Mismatched no more: Joint model-policy optimization for model-based rl. Advances in Neural Information Processing Systems, 35:23230-23243, 2022.
|
| 252 |
+
Carlos E Garcia, David M Prett, and Manfred Morari. Model predictive control: Theory and practice—a survey. Automatica, 25(3):335-348, 1989.
|
| 253 |
+
Tuomas Haarnoja, Aurick Zhou, Pieter Abbeel, and Sergey Levine. Soft actor-critic: Off-policy maximum entropy deep reinforcement learning with a stochastic actor. In International conference on machine learning, pages 1861-1870. PMLR, 2018.
|
| 254 |
+
Danijar Hafner, Timothy Lillicrap, Jimmy Ba, and Mohammad Norouzi. Dream to control: Learning behaviors by latent imagination. arXiv preprint arXiv:1912.01603, 2019a.
|
| 255 |
+
Danijar Hafner, Timothy Lillicrap, Ian Fischer, Ruben Villegas, David Ha, Honglak Lee, and James Davidson. Learning latent dynamics for planning from pixels. In International conference on machine learning, pages 2555-2565. PMLR, 2019b.
|
| 256 |
+
Danijar Hafner, Timothy Lillicrap, Mohammad Norouzi, and Jimmy Ba. Mastering atari with discrete world models. arXiv preprint arXiv:2010.02193, 2020.
|
| 257 |
+
Danijar Hafner, Jurgis Pasukonis, Jimmy Ba, and Timothy Lillicrap. Mastering diverse domains through world models. arXiv preprint arXiv:2301.04104, 2023.
|
| 258 |
+
Nicklas Hansen, Xiaolong Wang, and Hao Su. Temporal difference learning for model predictive control. arXiv preprint arXiv:2203.04955, 2022.
|
| 259 |
+
Edward S Hu, Richard Chang, Oleh Rybkin, and Dinesh Jayaraman. Planning goals for exploration. arXiv preprint arXiv:2303.13002, 2023.
|
| 260 |
+
Michael Janner, Justin Fu, Marvin Zhang, and Sergey Levine. When to trust your model: Model-based policy optimization. Advances in neural information processing systems, 32, 2019.
|
| 261 |
+
|
| 262 |
+
Rahul Kidambi, Aravind Rajeswaran, Praneeth Netrapalli, and Thorsten Joachims. Morel: Model-based offline reinforcement learning. Advances in neural information processing systems, 33: 21810-21823, 2020.
|
| 263 |
+
Thanard Kurutach, Ignasi Clavera, Yan Duan, Aviv Tamar, and Pieter Abbeel. Model-ensemble trust-region policy optimization. In International Conference on Learning Representations.
|
| 264 |
+
Hang Lai, Jian Shen, Weinan Zhang, and Yong Yu. Bidirectional model-based policy optimization. In International Conference on Machine Learning, pages 5618-5627. PMLR, 2020.
|
| 265 |
+
Nathan Lambert, Brandon Amos, Omry Yadan, and Roberto Calandra. Objective mismatch in model-based reinforcement learning. arXiv preprint arXiv:2002.04523, 2020.
|
| 266 |
+
Kendall Lowrey, Aravind Rajeswaran, Sham Kakade, Emanuel Todorov, and Igor Mordatch. Plan online, learn offline: Efficient learning and exploration via model-based control. arXiv preprint arXiv:1811.01848, 2018.
|
| 267 |
+
Arjun Majumdar, Karmesh Yadav, Sergio Arnaud, Yecheng Jason Ma, Claire Chen, Sneha Silwal, Aryan Jain, Vincent-Pierre Berges, Tingfan Wu, Jay Vakil, Pieter Abbeel, Jitendra Malik, Dhruv Batra, Yixin Lin, Oleksandr Maksymets, Aravind Rajeswaran, and Franziska Meier. Where are we in the search for an artificial visual cortex for embodied intelligence? In Thirty-seventh Conference on Neural Information Processing Systems, 2023. URL https://openreview.net/forum?id=6qLzQeFGio.
|
| 268 |
+
Russell Mendonca, Oleh Rybkin, Kostas Daniilidis, Danijar Hafner, and Deepak Pathak. Discovering and achieving goals via world models. Advances in Neural Information Processing Systems, 34: 24379-24391, 2021.
|
| 269 |
+
Andrew S Morgan, Daljeet Nandha, Georgia Chalvatzaki, Carlo D'Eramo, Aaron M Dollar, and Jan Peters. Model predictive actor-critic: Accelerating robot skill acquisition with deep reinforcement learning. In 2021 IEEE International Conference on Robotics and Automation (ICRA), pages 6672-6678. IEEE, 2021.
|
| 270 |
+
Suraj Nair, Aravind Rajeswaran, Vikash Kumar, Chelsea Finn, and Abhinav Gupta. R3m: A universal visual representation for robot manipulation. In 6th Annual Conference on Robot Learning, 2022. URL https://openreview.net/forum?id=tGbpgz6yOrI.
|
| 271 |
+
Feiyang Pan, Jia He, Dandan Tu, and Qing He. Trust the model when it is confident: Masked model-based actor-critic. Advances in neural information processing systems, 33:10537-10546, 2020.
|
| 272 |
+
Deepak Pathak, Dhiraj Gandhi, and Abhinav Gupta. Self-supervised exploration via disagreement. In International conference on machine learning, pages 5062-5071. PMLR, 2019.
|
| 273 |
+
S Joe Qin and Thomas A Badgwell. A survey of industrial model predictive control technology. Control engineering practice, 11(7):733-764, 2003.
|
| 274 |
+
Anil V Rao. A survey of numerical methods for optimal control. Advances in the Astronautical Sciences, 135(1):497-528, 2009.
|
| 275 |
+
Neale Ratzlaff, Qinxun Bai, Li Fuxin, and Wei Xu. Implicit generative modeling for efficient exploration. In International Conference on Machine Learning, pages 7985-7995. PMLR, 2020.
|
| 276 |
+
Ramanan Sekar, Oleh Rybkin, Kostas Daniilidis, Pieter Abbeel, Danijar Hafner, and Deepak Pathak. Planning to explore via self-supervised world models. In International Conference on Machine Learning, pages 8583-8592. PMLR, 2020.
|
| 277 |
+
Younggyo Seo, Lili Chen, Jinwoo Shin, Honglak Lee, Pieter Abbeel, and Kimin Lee. State entropy maximization with random encoders for efficient exploration. In International Conference on Machine Learning, pages 9443-9454. PMLR, 2021.
|
| 278 |
+
Tim Seyde, Wilko Schwarting, Sertac Karaman, and Daniela Rus. Learning to plan optimistically: Uncertainty-guided deep exploration via latent model ensembles. arXiv preprint arXiv:2010.14641, 2020.
|
| 279 |
+
|
| 280 |
+
Jian Shen, Han Zhao, Weinan Zhang, and Yong Yu. Model-based policy optimization with unsupervised model adaptation. Advances in Neural Information Processing Systems, 33:2823-2834, 2020.
|
| 281 |
+
Pranav Shyam, Wojciech Jaśkowski, and Faustino Gomez. Model-based active exploration. In International conference on machine learning, pages 5779-5788. PMLR, 2019.
|
| 282 |
+
Tingwu Wang and Jimmy Ba. Exploring model-based planning with policy networks. arXiv preprint arXiv:1906.08649, 2019.
|
| 283 |
+
Xiyao Wang, Wichayaporn Wongkamjan, Ruonan Jia, and Furong Huang. Live in the moment: Learning dynamics model adapted to evolving policy. In International Conference on Machine Learning. PMLR, 2023.
|
| 284 |
+
Zhihai Wang, Jie Wang, Qi Zhou, Bin Li, and Houqiang Li. Sample-efficient reinforcement learning via conservative model-based actor-critic. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 36, pages 8612-8620, 2022.
|
| 285 |
+
Zifan Wu, Chao Yu, Chen Chen, Jianye Hao, and Hankz Hankui Zhuo. Plan to predict: Learning an uncertainty-foreseeing model for model-based reinforcement learning. Advances in Neural Information Processing Systems, 35:15849-15861, 2022.
|
| 286 |
+
Guowei Xu, Ruijie Zheng, Yongyuan Liang, Xiyao Wang, Tianying Ji Zhecheng Yuan, Yu Luo, Xiaoyu Liu, Jiaxin Yuan, Pu Hua, Shuzhen Li, Yanjie Ze, Hal Daumé III, Furong Huang, and Huazhe Xu. Drm: Mastering visual reinforcement learning through dormant ratio minimization. In The Twelfth International Conference on Learning Representations, 2024. URL https://openreview.net/forum?id=MSe8YFbhUE.
|
| 287 |
+
Yao Yao, Li Xiao, Zhicheng An, Wanpeng Zhang, and Dijun Luo. Sample efficient reinforcement learning via model-ensemble exploration and exploitation. In 2021 IEEE International Conference on Robotics and Automation (ICRA), pages 4202-4208. IEEE, 2021.
|
| 288 |
+
Denis Yarats, Rob Fergus, Alessandro Lazaric, and Lerrel Pinto. Mastering visual continuous control: Improved data-augmented reinforcement learning. arXiv preprint arXiv:2107.09645, 2021.
|
| 289 |
+
Tianhe Yu, Garrett Thomas, Lantao Yu, Stefano Ermon, James Y Zou, Sergey Levine, Chelsea Finn, and Tengyu Ma. Mopo: Model-based offline policy optimization. Advances in Neural Information Processing Systems, 33:14129-14142, 2020.
|
| 290 |
+
Tianjun Zhang, Paria Rashidinejad, Jiantao Jiao, Yuandong Tian, Joseph E Gonzalez, and Stuart Russell. Made: Exploration via maximizing deviation from explored regions. Advances in Neural Information Processing Systems, 34:9663-9680, 2021.
|
| 291 |
+
Ruijie Zheng, Xiyao Wang, Yanchao Sun, Shuang Ma, Jieyu Zhao, Huazhe Xu, Hal Daumé III, and Furong Huang. TACO: Temporal latent action-driven contrastive loss for visual reinforcement learning. In Thirty-seventh Conference on Neural Information Processing Systems, 2023a. URL https://openreview.net/forum?id=ezCsMOy1w9.
|
| 292 |
+
Ruijie Zheng, Xiyao Wang, Huazhe Xu, and Furong Huang. Is model ensemble necessary? model-based rl via a single model with lipschitz regularized value function. In International Conference on Learning Representations, 2023b.
|
| 293 |
+
Ruijie Zheng, Yongyuan Liang, Xiyao Wang, Shuang Ma, Hal Daumé III, Huazhe Xu, John Langford, Praveen Palanisamy, Kalyan Shankar Basu, and Furong Huang. Premier-taco: Pretraining multitask representation via temporal action-driven contrastive loss. arXiv preprint arXiv:2402.06187, 2024.
|
| 294 |
+
|
| 295 |
+
# Appendix
|
| 296 |
+
|
| 297 |
+
# A DETAILED FIGURE OF COPLANNER
|
| 298 |
+
|
| 299 |
+
We present a more detailed figure to illustrate our COPlanner framework. During environment exploration, we first choose an action using UP-MPC with multi-step uncertainty bonus, then interact with the real environment to obtain real samples for dynamics model learning. In dynamics model rollouts, at each rollout step, we select the actions using UP-MPC with multi-step uncertainty penalty to avoid model uncertain regions and interact with the learned dynamics model to get model-generated samples to update the policy.
|
| 300 |
+
|
| 301 |
+

|
| 302 |
+
Figure 8: Figure illustration of COPlanner framework with more details.
|
| 303 |
+
|
| 304 |
+
# B IMPLEMENTATION
|
| 305 |
+
|
| 306 |
+
COPlanner framework is versatile and applicable to any dyna-style MBRL algorithm. In this section, we are going to introduce the implementation of two algorithms we used for experiment in Section 5: COPlanner-MBPO for proprioceptive control and COPlanner-DreamerV3 for visual control.
|
| 307 |
+
|
| 308 |
+
# B.1 COPLANNER-MBPO
|
| 309 |
+
|
| 310 |
+
MBPO (Janner et al., 2019) trains an ensemble of probabilistic neural networks (Chua et al., 2018) as dynamics model. It utilises negative log-likelihood loss to update each network in the ensemble:
|
| 311 |
+
|
| 312 |
+
$$
|
| 313 |
+
\mathcal {L} (\theta) = \sum_ {n = 1} ^ {N} \left[ \mu_ {\theta} ^ {b} \left(s _ {n}, a _ {n}\right) - s _ {n + 1} \right] ^ {\top} \Sigma_ {\theta} ^ {b - 1} \left(s _ {n}, a _ {n}\right) \left[ \mu_ {\theta} ^ {b} \left(s _ {n}, a _ {n}\right) - s _ {n + 1} \right] + \log \det \Sigma_ {\theta} ^ {b} \left(s _ {n}, a _ {n}\right) \tag {6}
|
| 314 |
+
$$
|
| 315 |
+
|
| 316 |
+
For the policy component, MBPO adopts soft actor-critic (Haarnoja et al., 2018). We combine COplanner with MBPO, the pseudocode is shown in Algorithm 3.
|
| 317 |
+
|
| 318 |
+
# B.2 COPLANNER-DREAMERV3
|
| 319 |
+
|
| 320 |
+
DreamerV3 (Hafner et al., 2023) is a dyna-style MBRL method that solves long-horizon tasks from visual inputs purely by latent imagination. Its world model consists of an image encoder, a Recurrent
|
| 321 |
+
|
| 322 |
+
Algorithm 3 COPlanner-MBPO
|
| 323 |
+
Require: interaction epochs $I$ , rollout horizon $H_{r}$ , planning horizon $H_{p}$ , number of candidates actions $K$ , conservative rate $\alpha_{c}$ , optimistic rate $\alpha_{o}$
|
| 324 |
+
1: Initialize policy $\pi_{\phi}$ dynamics model ensemble $\hat{T}_{\theta} = \{\hat{T}_{\theta}^{1},\dots,\hat{T}_{\theta}^{i}\}$ , real sample buffer $\mathcal{D}_e$ , model sample buffer $\mathcal{D}_m$
|
| 325 |
+
2: for I epochs do
|
| 326 |
+
3: for t = 1 to T do
|
| 327 |
+
4: // Optimistic environment exploration
|
| 328 |
+
5: Select action with optimistic rate $a_{t} = \mathbf{UP - MPC}\bigl (\pi_{\phi},s_{t},\hat{T}_{\theta},K,H_{p},\alpha_{o}\bigr)$
|
| 329 |
+
6: Interact with the real environment with $a_{t}$ , add real sample $(s_t,a_t,r_t,s_{t + 1})$ to real sample buffer $\mathcal{D}_e$
|
| 330 |
+
7: Train dynamics model $\hat{T}_{\theta}$ via Equation 6
|
| 331 |
+
8: for M model rollouts do
|
| 332 |
+
9: Sample initial rollout states from real sample buffer $\mathcal{D}_e$
|
| 333 |
+
10: for h = 0 to $H_{r} - 1$ do
|
| 334 |
+
11: // Conservative model rollouts
|
| 335 |
+
12: $\hat{a}_h = \mathbf{UP - MPC}\bigl (\pi_\phi ,\hat{s}_h,\hat{T}_\theta ,K,H_p, - \alpha_c\bigr)$ (Select action with conservative rate), rollout learned dynamics model and add to model sample buffer $\mathcal{D}_m$
|
| 336 |
+
13: for $G$ gradient updates do
|
| 337 |
+
14: Update current policy $\pi_{\phi}$ using model-generated samples from model sample buffer $\mathcal{D}_m$
|
| 338 |
+
|
| 339 |
+
State-Space Model (RSSM) (Hafner et al., 2019b) to learn the dynamics, and predictors for the image, reward, and discount factor. The world model components are:
|
| 340 |
+
|
| 341 |
+
Recurrent model: $h_t = f_\phi(h_{t-1}, z_{t-1}, a_{t-1})$
|
| 342 |
+
|
| 343 |
+
Representation model: $z_{t} \sim q_{\phi}(z_{t}|h_{t},x_{t})$
|
| 344 |
+
|
| 345 |
+
Transition predictor: $\hat{z}_t\sim p_\phi (\hat{z}_t|h_t)$
|
| 346 |
+
|
| 347 |
+
Image predictor: $\hat{x}_t\sim p_\phi (\hat{x}_t|h_t,z_t)$
|
| 348 |
+
|
| 349 |
+
Reward predictor: $\hat{r}_t\sim p_\phi (\hat{r}_t|h_t,z_t)$
|
| 350 |
+
|
| 351 |
+
Discount predictor: $\hat{\gamma}_t\sim p_\phi (\hat{\gamma}_t|h_t,z_t)$
|
| 352 |
+
|
| 353 |
+
where the recurrent model, the representation model, and the transition predictor are components of RSSM. The loss function for the world model learning is:
|
| 354 |
+
|
| 355 |
+
$$
|
| 356 |
+
\begin{array}{l} \mathcal {L} (\phi) = \mathbb {E} _ {q _ {\phi} (z _ {1: T} | a _ {1: T}, x _ {1: T})} [ \sum_ {t = 1} ^ {T} (- \ln p _ {\phi} (x _ {t} | h _ {t}, z _ {t}) - \ln p _ {\phi} (r _ {t} | h _ {t}, z _ {t}) - \ln p _ {\phi} (\gamma_ {t} | h _ {t}, z _ {t}) \tag {7} \\ + \beta_ {1} \max (1, \mathrm {K L} [ s g (q _ {\phi} (z _ {t} | h _ {t}, x _ {t})) | | p _ {\phi} (z _ {t} | h _ {t}) ]) \\ + \beta_ {2} \max (1, \mathrm {K L} [ q _ {\phi} (z _ {t} | h _ {t}, x _ {t}) | | s g (p _ {\phi} (z _ {t} | h _ {t}))) ]), \\ \end{array}
|
| 357 |
+
$$
|
| 358 |
+
|
| 359 |
+
where sg means stop gradient. Besides, DreamerV3 also use actor-critic framework as their policy. In particular, they leverage a stochastic actor that chooses actions and a deterministic critic. The actor and critic are trained cooperatively. The actor goal is to output actions leading to states that maximize the critic output, while the critic aims to accurately estimate the sum of future rewards that the actor can achieve from each imagined state (or model rollout state). For more training details about DreamerV3, please refer to their original paper (Hafner et al., 2023).
|
| 360 |
+
|
| 361 |
+
To estimate model uncertainty in COPlanner-DreamerV3, we train an ensemble of one-step predictive models $\hat{T}_{\theta} = \{\hat{T}_{\theta}^{1},\dots,\hat{T}_{\theta}^{i}\}$ , each of these models takes a latent stochastic state $z_{t}$ and action $a_{t}$ as input and predicts the next latent deterministic recurrent states $h_t$ . The ensemble is trained using MSE loss. During model rollouts, we use the world model to generate trajectories, and the one-step model ensemble to evaluate the uncertainty of sample at each rollout step. Here we provide the pseudocode of COPlanner-DreamerV3 in Algorithm 4.
|
| 362 |
+
|
| 363 |
+
Algorithm 4 COPlanner-DreamerV3
|
| 364 |
+
Require: Rollout horizon $H_{r}$ , planning horizon $H_{p}$ , number of candidates actions $K$ , conservative rate $\alpha_{c}$ , optimistic rate $\alpha_{o}$
|
| 365 |
+
1: Initialize real sample buffer $\mathcal{D}_e$ with S random seed episodes.
|
| 366 |
+
2: Initialize policy $\pi_{\psi}$ , critic $v_{\xi}$ , one-step model ensemble $\hat{T}_{\theta} = \{\hat{T}_{\theta}^{1},\dots,\hat{T}_{\theta}^{i}\}$ , world model parameter $\phi$
|
| 367 |
+
3: while not converged do
|
| 368 |
+
4: for update step $c = 1..C$ do
|
| 369 |
+
5: Draw $\mathcal{B}$ data sequences $\{(a_t,x_t,r_t)\}_{t = k}^{k + L}\sim \mathcal{D}_e$
|
| 370 |
+
6: Compute a latent stochastic states $z_{t}\sim q_{\phi}(z_{t}|h_{t},x_{t})$
|
| 371 |
+
7: Update world model parameter $\phi$ via Equation 7
|
| 372 |
+
8: // Conservative model rollouts
|
| 373 |
+
9: Imagine trajectories $\{(z_{\tau},a_{\tau})\}_{\tau = t}^{t + H_r}$ from each $z_{t}$ with $a_{\tau}$ = UP-MPC $(\pi_{\psi},z_{\tau},\hat{T}_{\theta},K,H_{p}, - \alpha_{c})$
|
| 374 |
+
10: Update $v_{\xi}$ and $\pi_{\psi}$ using imagined trajectories.
|
| 375 |
+
11: for time step $t = 1..T$ do
|
| 376 |
+
12: Compute $z_{t}\sim q_{\phi}(z_{t}|h_{t},x_{t})$
|
| 377 |
+
13: // Optimistic environment exploration
|
| 378 |
+
14: Select action $a_{t} = \mathrm{UP - MPC}(\pi_{\psi},z_{t},\hat{T}_{\theta},K,H_{p},\alpha_{o})$
|
| 379 |
+
15: Interact with the real environment and obatin $(x_{t},a_{t},r_{t},x_{t} + 1)$
|
| 380 |
+
16: Add experience to $\mathcal{D}_e\gets \mathcal{D}_e\cup \{(x_t,a_t,r_t,x_t + 1)\}_{t = 1}^T$
|
| 381 |
+
|
| 382 |
+
# C HYPERPARAMETERS
|
| 383 |
+
|
| 384 |
+
In this section, we provide the specific parameters used in each task in our experiments.
|
| 385 |
+
|
| 386 |
+
Table 1: Hyperparameters of COPlanner-MBPO on proprioceptive control DMC.
|
| 387 |
+
|
| 388 |
+
<table><tr><td>Parameter</td><td>Value</td></tr><tr><td>Conservative rate αc</td><td>2</td></tr><tr><td>Optimistic rate αo</td><td>1</td></tr><tr><td>Action candidate number K</td><td>5</td></tr><tr><td>Planning horizon Hp</td><td>5</td></tr><tr><td rowspan="3">Real ratio</td><td>0.5 Reacher-xx</td></tr><tr><td>0.8 Finger-spin</td></tr><tr><td>0 Others</td></tr><tr><td rowspan="2">Rollout horizon Hr</td><td>[20, 150, 1, 1] Finger-spin</td></tr><tr><td>[20, 150, 1, 4] Others</td></tr></table>
|
| 389 |
+
|
| 390 |
+
# C.1 PROPRIOCEPTIVE CONTROL DMC AND MUJOCO
|
| 391 |
+
|
| 392 |
+
We use COPlanner-MBPO in all proprioceptive control tasks. For the dynamics model ensemble, we adopted the same setup as MBPO (Janner et al., 2019) original paper, with an ensemble size of 7 and an elite number of 5, which means each time we select the best five out of seven neural networks for model rollouts. Each network in the ensemble is MLP with 4 hidden layers of size 200, using ReLU as the activation function. We train the dynamics model every 250 interaction steps with the environment. The actor and critic structures are both MLP with 4 hidden layers. In proprioceptive control DMC, the hidden layer size of actor and critic is 512, and updated 10 times each environment step, while in MuJoCo the hidden layer size is 256, and they are updated 20 times each environment step. The batch size for model training and policy training is both 256. The learning rate for model training is 1e-3, while the learning rate for policy training is 3e-4.
|
| 393 |
+
|
| 394 |
+
In MBPO, the authors use samples from both the real sample buffer and the model sample buffer to train the policy, and the ratio of the two is referred to as the real ratio. In addition, MBPO has a unique
|
| 395 |
+
|
| 396 |
+
mechanism for the rollout horizon $H_{r}$ , which linearly increases with the increase of environment epochs, with each environment epoch including 1000 environment steps. $[a,b,x,y]$ denotes a thresholded linear function, i.e. at epoch $e$ , rollout horizon is $h = \min(\max(x + \frac{e - a}{b - a}(y - x), x), y)$ . The settings for conservative rate $\alpha_{c}$ , optimistic rate $\alpha_{o}$ , action candidate number $K$ , planning horizon $H_{p}$ and the above two parameters in different environments are provided in Table 1 and 2.
|
| 397 |
+
|
| 398 |
+
Table 2: Hyperparameters of COPlanner-MBPO on MuJoCo.
|
| 399 |
+
|
| 400 |
+
<table><tr><td>Parameter</td><td>Value</td></tr><tr><td>Conservative rate αc</td><td>2</td></tr><tr><td>Optimistic rate αo</td><td>1</td></tr><tr><td>Action candidate number K</td><td>5</td></tr><tr><td>Planning horizon Hp</td><td>5</td></tr><tr><td>Real ratio</td><td>0.05</td></tr><tr><td rowspan="4">Rollout horizon Hr</td><td>[20, 100, 1, 4] Hopper</td></tr><tr><td>1 Walker</td></tr><tr><td>[20, 150, 1, 15] Ant</td></tr><tr><td>[20, 300, 1, 15] Humanoid</td></tr></table>
|
| 401 |
+
|
| 402 |
+
# C.2 VISUAL CONTROL DMC
|
| 403 |
+
|
| 404 |
+
In Visual control DMC, we use the COPlanner-DreamerV3 method. We keep all parameters consistent with the DreamerV3 original paper (Hafner et al., 2023), except for our newly introduced conservative rate $\alpha_{c}$ , optimistic rate $\alpha_{o}$ , action candidate number $K$ , and planning horizon $H_{p}$ . In Table 3, we provide the specific settings of conservative rate $\alpha_{c}$ , optimistic rate $\alpha_{o}$ , action candidate number $K$ , and planning horizon $H_{p}$ for each task. It's worth noting that, although using a conservative rate of 0.5 can perform well, we find that for the two tasks in Quadruped, using a conservative rate of 2 yields the best sample efficiency and performance. For other parameters, please refer to the original DreamerV3 paper. For the one-step predictive model ensemble, we use a model ensemble with ensemble size of 8. Each network in the ensemble is MLP with 5 hidden layers of size 1024.
|
| 405 |
+
|
| 406 |
+
Table 3: Hyperparameters of COPlanner-DreamerV3 on visual control DMC. We keep all other hyperparameters consistent with the DreamerV3 original paper.
|
| 407 |
+
|
| 408 |
+
<table><tr><td>Parameter</td><td>Value</td></tr><tr><td>Conservative rate αc</td><td>0.5</td></tr><tr><td>Optimistic rate αo</td><td>1</td></tr><tr><td>Action candidate number K</td><td>4</td></tr><tr><td>Planning horizon Hp</td><td>4</td></tr></table>
|
| 409 |
+
|
| 410 |
+
# D MORE EXPERIMENTS
|
| 411 |
+
|
| 412 |
+
# D.1 COMPARISON WITH MORE PROPRIICE CONTROL MBRL METHODS
|
| 413 |
+
|
| 414 |
+
In this section, we compared our approach with more proprioceptive control MBRL methods on MuJoCo tasks. In addition to the three baseline methods from Section 5.1, MBPO (Janner et al., 2019), P2P-MPC (Wu et al., 2022), and MEEE (Yao et al., 2021), we introduced two more baselines: PDML (Wang et al., 2023), a method that dynamically adjusts the weights of each sample in the real sample buffer to enhance the prediction accuracy of the learned dynamics model for the current policy, thereby significantly improving the performance of MBPO. And MoPAC (Morgan et al., 2021), a method that also uses policy-guided MPC to reduce model bias. Unlike our approach, MoPAC's policy-guided MPC is solely used for multi-step prediction during rollout based on total reward to
|
| 415 |
+
|
| 416 |
+
select actions. It does not incorporate a measure of model uncertainty, and therefore, cannot achieve the optimistic exploration and conservative rollouts of COPlanner. The experiment results are shown in Table 4.
|
| 417 |
+
|
| 418 |
+
As can be seen from Table 4, our method still holds a significant advantage, achieving the best performance in three tasks (Hopper, Walker2d, and Ant). In Humanoid task, it is only surpassed by PDML but is substantially better than the other methods. It's worth mentioning that our approach is orthogonal to PDML, and they can be combined. We believe that by integrating COPlanner with PDML, the performance can be further enhanced.
|
| 419 |
+
|
| 420 |
+
Table 4: Comparison of different MBRL methods on proprioceptive control MuJoCo tasks. Performance is averaged over 8 random seeds.
|
| 421 |
+
|
| 422 |
+
<table><tr><td></td><td>Hopper (70k)</td><td>Walker2d (150k)</td><td>Ant (150k)</td><td>Humanoid (150k)</td></tr><tr><td>Ours</td><td>3360.3 ± 165.0</td><td>4595.3 ± 350.2</td><td>5268.3 ± 291.4</td><td>4833.7 ± 320.1</td></tr><tr><td>PDML</td><td>3274.2 ± 224.1</td><td>4378.5 ± 248.9</td><td>4992.5 ± 365.1</td><td>5396.7 ± 391.3</td></tr><tr><td>MBPO</td><td>2844.6 ± 158.0</td><td>4221.1 ± 281.1</td><td>2311.1 ± 252.5</td><td>1706.0 ± 976.3</td></tr><tr><td>P2P-MPC</td><td>2316.8 ± 459.9</td><td>4151.7 ± 516.9</td><td>4681.7 ± 591.6</td><td>3706.1 ± 1360.4</td></tr><tr><td>MEEE</td><td>3076.4 ± 165.3</td><td>3873.8 ± 549.6</td><td>3932.8 ± 352.7</td><td>654.2 ± 94.7</td></tr><tr><td>MoPAC</td><td>3174.2 ± 233.8</td><td>2893.6 ± 472.6</td><td>4382.5 ± 301.7</td><td>1084.6 ± 573.2</td></tr></table>
|
| 423 |
+
|
| 424 |
+
Besides, we also conduct comparisons with DreamerV3 and D4PG on six medium-difficulty proprioceptive control DMC tasks, with the experimental results shown in the Figure 9. We find that after integrating with COPlanner, both sample efficiency and performance of DreamerV3 are improved significantly.
|
| 425 |
+
|
| 426 |
+

|
| 427 |
+
Figure 9: Experiment results of COPlanner-DreamerV3 on 6 medium-difficulty proprioceptive control DMC tasks. The results are averaged over 8 random seeds, and shaded regions correspond to the $95\%$ confidence interval among seeds.
|
| 428 |
+
|
| 429 |
+
# D.2 COMPARISON WITH MORE VISUAL CONTROL METHODS
|
| 430 |
+
|
| 431 |
+
In this section, we conducted comparisons with more MFRL and MBRL methods for visual control on 8 tasks from visual DMC. In addition to DreamerV3 (Hafner et al., 2023) and LEXA-reward-DreamerV3 (LEXA-RW), we introduced five more baselines. The first is TDMPC (Hansen et al., 2022). TDMPC learns a task-oriented latent dynamics model and uses this model for planning. During the planning process, TDMPC also learns a policy to sample a small number of actions, thereby accelerating MPC. The second is PlaNet (Hafner et al., 2019b). PlaNet uses the RSSM latent model, which is the same as the Dreamer series (Hafner et al., 2019a; 2020; 2023), and directly uses
|
| 432 |
+
|
| 433 |
+
this model to perform MPC in the latent space to select actions. Additionally, we also include three more model-free visual RL baselines: TACO (Zheng et al., 2023a), DrM (Xu et al., 2024) and DrQ-v2 (Yarats et al., 2021). The experiment results are shown in Table 5. From the results, it is evident that our method has a significant advantage over all the baselines. In future work, as the representation in COPlanner is learned from scratch, we will also integrat pretrained visual representations such as Zheng et al. (2024); Majumdar et al. (2023); Nair et al. (2022) into the COPlanner algorithm framework to accelerate the learning process.
|
| 434 |
+
|
| 435 |
+
Table 5: Performance comparison of different MBRL and MFRL methods on visual DMC tasks at 1 million environment steps.
|
| 436 |
+
|
| 437 |
+
<table><tr><td></td><td>Hopper-stand</td><td>Hopper-hop</td><td>Quadruped-walk</td><td>Quadruped-run</td></tr><tr><td>Ours</td><td>937.8 ± 9.7</td><td>444.2 ± 113.2</td><td>803.9 ± 59.3</td><td>787.9 ± 111.9</td></tr><tr><td>DreamerV3</td><td>888.5 ± 60.7</td><td>395.3 ± 50.1</td><td>749.2 ± 65.3</td><td>696.0 ± 132.2</td></tr><tr><td>LEXA-RW</td><td>905.7 ± 25.1</td><td>353.0 ± 33.8</td><td>591.0 ± 110.9</td><td>549.5 ± 186.2</td></tr><tr><td>TDMPC</td><td>821.6 ±70.8</td><td>189.2 ± 19.7</td><td>427.8 ± 50.2</td><td>393.8 ± 40.9</td></tr><tr><td>PlaNet (5m)</td><td>5.96</td><td>0.37</td><td>238.90</td><td>280.45</td></tr><tr><td>TACO</td><td>923 ± 22</td><td>261 ± 52</td><td>798 ± 15</td><td>531 ± 38</td></tr><tr><td>DrM</td><td>910 ± 15</td><td>162 ± 82</td><td>750 ± 29</td><td>452 ± 32</td></tr><tr><td>DrQ-v2</td><td>918 ± 12</td><td>192 ± 41</td><td>702 ± 42</td><td>407 ± 21</td></tr><tr><td></td><td>Acrobot-swingup</td><td>Cartpole-swingup-sparse</td><td>Finger-turn-easy</td><td>Finger-turn-hard</td></tr><tr><td>Ours</td><td>434.4 ± 31.0</td><td>787.5 ± 37.5</td><td>889.8 ± 28.3</td><td>867.1 ± 50.6</td></tr><tr><td>DreamerV3</td><td>354.9 ± 37.9</td><td>814.7 ± 22.3</td><td>853.9 ± 37.5</td><td>751.3 ± 93.1</td></tr><tr><td>LEXA-RW</td><td>337.7 ± 24.9</td><td>683.5 ± 145.6</td><td>825.5 ± 55.9</td><td>740.7 ± 162.0</td></tr><tr><td>TDMPC</td><td>227.5 ± 16.9</td><td>668.3 ± 49.1</td><td>703.8 ± 65.2</td><td>402.7 ± 112.6</td></tr><tr><td>PlaNet (5m)</td><td>3.21</td><td>0.64</td><td>451.22</td><td>312.55</td></tr><tr><td>TACO</td><td>241 ± 21</td><td>802 ± 21</td><td>752 ± 45</td><td>618 ± 17</td></tr><tr><td>DrM</td><td>228 ± 15</td><td>799 ± 7</td><td>692 ± 39</td><td>459 ± 36</td></tr><tr><td>DrQ-v2</td><td>210 ± 12</td><td>794 ± 14</td><td>576 ± 42</td><td>248 ± 52</td></tr></table>
|
| 438 |
+
|
| 439 |
+
# D.3 EXPERIMENTS COMBINED WITH DREAMERV2
|
| 440 |
+
|
| 441 |
+
We also combine COplanner with DreamerV2 (Hafner et al., 2020) for experimentation, with the results shown in Figure 10. After integrating with DreamerV2, our method also achieves a significant improvement in both sample efficiency and performance.
|
| 442 |
+
|
| 443 |
+

|
| 444 |
+
|
| 445 |
+

|
| 446 |
+
|
| 447 |
+

|
| 448 |
+
|
| 449 |
+

|
| 450 |
+
|
| 451 |
+

|
| 452 |
+
Figure 10: Experiment results of COPlanner-DreamerV2 on 7 visual control DMC tasks. The results are averaged over 4 random seeds, and shaded regions correspond to the $95\%$ confidence interval among seeds. During evaluation, for each seed of each method, we test for up to 1000 steps in the test environment and perform 10 evaluations to obtain an average value. The evaluation interval is every 1000 environment steps.
|
| 453 |
+
|
| 454 |
+

|
| 455 |
+
|
| 456 |
+

|
| 457 |
+
|
| 458 |
+

|
| 459 |
+
|
| 460 |
+
# D.4 HYPERPARAMETER STUDY
|
| 461 |
+
|
| 462 |
+

|
| 463 |
+
(a) COPlanner-MBPO on proprioceptive Walker-run
|
| 464 |
+
|
| 465 |
+

|
| 466 |
+
|
| 467 |
+

|
| 468 |
+
|
| 469 |
+

|
| 470 |
+
|
| 471 |
+

|
| 472 |
+
(b) COPlanner-MBPO on proprioceptive Cheetah-run
|
| 473 |
+
|
| 474 |
+

|
| 475 |
+
|
| 476 |
+

|
| 477 |
+
|
| 478 |
+

|
| 479 |
+
|
| 480 |
+

|
| 481 |
+
(c) COPlanner-DreamerV3 on proprioceptive Hopper-hop
|
| 482 |
+
|
| 483 |
+

|
| 484 |
+
Figure 11: Ablation studies of COPlanner's different hyperparameters. Experiments are conducted using COPlanner-MBPO on proprioceptive Walker-run and proprioceptive Cheetah-run, and using COPlanner-DreamerV3 on proprioceptive Hopper-hop. The results are averaged over 4 random seeds. From left to right, the results are for different parameters of optimistic rate $\alpha_{o}$ , conservative rate $\alpha_{c}$ , action candidate number $K$ , and planning horizon $H_{p}$ .
|
| 485 |
+
|
| 486 |
+

|
| 487 |
+
|
| 488 |
+

|
| 489 |
+
|
| 490 |
+
In this section, we conduct hyperparameter studies to investigate the impact of different hyperparameters on COPlanner. We perform experiments on the Walker-run and Cheetah-run task of proprioceptive control DMC using COPlanner-MBPO, and on the Hopper-hop using COPlanner-DreamerV3. The original hyperparameter settings are: optimistic rate $\alpha_{o}$ is 1, conservative rate $\alpha_{c}$ is 2, action candidate number $K$ is 5, and planning horizon $H_{p}$ is 5. When conducting ablation experiments for each hyperparameter, other parameters remain unchanged. The results are shown together in Figure 11.
|
| 491 |
+
|
| 492 |
+
Optimistic rate $\alpha_{o}$ : we observe that the best $\alpha_{o}$ lies between 0.5 to 1. When the $\alpha_{o}$ is too large, COPplanner tends to excessively explore high uncertainty areas while neglecting rewards, leading to a decrease in sample efficiency and performance. On the other hand, when the $\alpha_{o}$ is too small, COPplanner fails to achieve the desired exploration effect.
|
| 493 |
+
|
| 494 |
+
Conservative rate $\alpha_{c}$ : the optimal range for the $\alpha_{c}$ is between 1 and 2. A too large $\alpha_{c}$ may lead to overly conservative selection of low-reward actions, while a too small $\alpha_{c}$ would be unable to make model rollouts avoid model uncertain areas.
|
| 495 |
+
|
| 496 |
+
Action candidate number $K$ : we find that $K$ has a significant impact on sample efficiency and performance. When $K$ is set to 2, the improvement of COPlanner over MBPO in terms of performance and sample efficiency is relatively limited. This is reasonable because if there are only a few action candidates, our selection space is very limited, and even with the use of uncertainty bonus and penalty to select actions, there may not be much difference. When $K$ increases to more than 5, the effect of COPlanner becomes very stable, and more candidates do not bring noticeable improvements in performance and sample efficiency.
|
| 497 |
+
|
| 498 |
+
Planning horizon $H_{p}$ : when $H_{p}$ is 1, we find that COPlanner's improvement on performance and sample efficiency is relatively limited. This also confirms what we mentioned in Section 1: only considering the current step while ignoring the long-term uncertainty impact cannot completely avoid model errors, as samples with low current model uncertainty might still lead to future rollout trajectories falling into model uncertain regions. As the planning horizon gradually increases, performance and sample efficiency also rise. When the planning horizon is too long ( $H_{p}$ equals to 7 or 9), it is possible that due to the bottleneck of the model planning capability, most action candidates' corresponding trajectories fall into model uncertain areas, leading to a slight decline in performance and sample efficiency.
|
| 499 |
+
|
| 500 |
+
# D.5 ABLATION STUDY OF MODEL UNCERTAINTY ESTIMATION METHODS
|
| 501 |
+
|
| 502 |
+
We conduct an ablation study on the Hopper-hop task in visual control DMC to evaluate different uncertainty estimation methods. We adopt two methods, RE3 (Seo et al., 2021) and MADE (Zhang et al., 2021), which are used to estimate intrinsic rewards in pixel input, to replace the disagreement in calculating $u(s,a)$ in Equation 4 and 5. The results are shown in Figure 12. We find that the performance achieved using these two methods is similar to that of disagreement. This demonstrates that using disagreement to calculate uncertainty is not the primary reason for the observed performance improvement.
|
| 503 |
+
|
| 504 |
+

|
| 505 |
+
Figure 12: Ablation study of different uncertainty estimation methods.
|
| 506 |
+
|
| 507 |
+
# D.6 COMPUTATIONAL TIME CONSUMPTION OF COPLANNER
|
| 508 |
+
|
| 509 |
+
We provide a comparison of the computational time consumption between the baseline methods and COplanner across different domains in Table 6. All timings are reported using a single NVIDIA 2080ti GPU.
|
| 510 |
+
|
| 511 |
+
Table 6: Average time consumption (h).
|
| 512 |
+
|
| 513 |
+
<table><tr><td></td><td>MuJoCo</td><td>Proprioceptive DMC</td><td>Visual DMC</td></tr><tr><td>COPlanner-MBPO</td><td>41.2</td><td>11.3</td><td>N/A</td></tr><tr><td>MBPO</td><td>33.78</td><td>10.6</td><td>N/A</td></tr><tr><td>COPlanner-DreamerV3</td><td>N/A</td><td>N/A</td><td>17.9</td></tr><tr><td>DreamerV3</td><td>N/A</td><td>N/A</td><td>13.1</td></tr></table>
|
| 514 |
+
|
| 515 |
+
# D.7 DIVERSITY EVALUATION OF REAL SAMPLE BUFFER
|
| 516 |
+
|
| 517 |
+
In this section, to further demonstrate that our method achieves better exploration of the environment, we evaluate the average state entropy of the real sample buffer obtained using our method and DreamerV3 at 1 million environment steps. A higher average state entropy implies that the real sample buffer covers more states in the real environment, indicating that the samples in the real sample buffer are more diverse and thus suggesting more thorough exploration of the environment (Seo et al., 2021). We conduct evaluations on four visual DMC tasks include Hopper-hop, Quadruped-walk, Acrobot-swingup, and Finger-turn-hard. Following the work of RE3 (Seo et al., 2021), in order to estimate state entropy in environments with high-dimensional observations, we utilize a k-nearest neighbor entropy estimator in the low-dimensional representation space of a randomly initialized encoder. Our encoder consists of three convolutional layers with $3 \times 3$ kernels, a stride of 2, and padding of 1, followed by a flattening layer. The activation function between each layer is ReLU. After passing through the encoder, each image from the replay buffer is compressed into a 512-dimensional latent state, and the k-nearest neighbor state entropy is estimated as follows:
|
| 518 |
+
|
| 519 |
+
$$
|
| 520 |
+
e \left(s _ {i}\right) = \log \left(\left\| y _ {i} - y _ {i} ^ {k - N N} \right\| _ {2} + 1\right), \tag {8}
|
| 521 |
+
$$
|
| 522 |
+
|
| 523 |
+
where where $y_{i} = f_{\theta}(s_{i})$ is a fixed representation from a random encoder and $y_{i}^{k - NN}$ is the k-nearest neighbor of $y_{i}$ within a set of $N$ representations $\{y_1,y_2,\dots ,y_n\}$ . We set $N = 1024$ . Then we average the k-nearest neighbor state entropy of each sample in real sample buffer. The final results are shown in Figure 13.
|
| 524 |
+
|
| 525 |
+

|
| 526 |
+
Figure 13: K-nearest neighbor state entropy estimation on different visual DMC tasks compared with DreamerV3.
|
| 527 |
+
|
| 528 |
+
The figure clearly shows that the state entropy of the real sample buffer significantly increases after integrating our method. This indicates that the real samples obtained by our method are more diverse, achieving better exploration of the environment.
|
| 529 |
+
|
| 530 |
+
# D.8 VISUALIZATION OF EXPERIMENT RESULTS
|
| 531 |
+
|
| 532 |
+

|
| 533 |
+
Figure 14: Visualization of policy learned by DreamerV3 on Hopper-hop.
|
| 534 |
+
|
| 535 |
+

|
| 536 |
+
Figure 15: Visualization of policy learned by COPlanner-DreamerV3 on Hopper-hop.
|
| 537 |
+
|
| 538 |
+

|
| 539 |
+
Figure 16: Visualization of policy learned by DreamerV3 on Quadruped-walk.
|
| 540 |
+
|
| 541 |
+

|
| 542 |
+
Figure 17: Visualization of policy learned by COPlanner-DreamerV3 on Quadruped-walk.
|
| 543 |
+
|
| 544 |
+
In this section, to better demonstrate the improvements brought by our method, we visualize the trajectories obtained from evaluations in the real environment after convergence using DreamerV3 and our method (COPlanner-DreamerV3). We visualize trajectories in Hopper-hop and Quadruped-walk tasks, as shown in Figure 14, 15, 16, and 17.
|
| 545 |
+
|
| 546 |
+
From the comparison between Figure 14 and Figure 15, we can observe that in the Hopper hop task, DreamerV3 is only able to learn to jump using the knee, whereas our method can learn to jump using the feet and perform somersaults during the jump. Through the comparison of Figure 16 and Figure 17, we can see that in the Quadruped-walk task, our method is able to learn a more stable behavior of walking using all four legs, as opposed to DreamerV3, which learns to walk using only three legs.
|
2024/COPlanner_ Plan to Roll Out Conservatively but to Explore Optimistically for Model-Based RL/images.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:86e73ed15719012fd5223793988a187df13e6f150678c6d6d10421fd5af9b88e
|
| 3 |
+
size 1170305
|
2024/COPlanner_ Plan to Roll Out Conservatively but to Explore Optimistically for Model-Based RL/layout.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2024/CORN_ Contact-based Object Representation for Nonprehensile Manipulation of General Unseen Objects/1d7a7b6b-a145-4b8c-b679-d80f7046b674_content_list.json
ADDED
|
@@ -0,0 +1,1859 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"type": "text",
|
| 4 |
+
"text": "CORN: CONTACT-BASED OBJECT REPRESENTATION FOR NONPREHENSILE MANIPULATION OF GENERAL UNSEEN OBJECTS",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
171,
|
| 8 |
+
98,
|
| 9 |
+
823,
|
| 10 |
+
170
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Yoonyoung Cho\\*, Junhyek Han\\*, Yoontae Cho, Beomjoon Kim",
|
| 17 |
+
"bbox": [
|
| 18 |
+
179,
|
| 19 |
+
194,
|
| 20 |
+
620,
|
| 21 |
+
210
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "Korea Advanced Institute of Science and Technology",
|
| 28 |
+
"bbox": [
|
| 29 |
+
179,
|
| 30 |
+
210,
|
| 31 |
+
532,
|
| 32 |
+
223
|
| 33 |
+
],
|
| 34 |
+
"page_idx": 0
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"type": "text",
|
| 38 |
+
"text": "{yoonyoung.cho, junhyek.han, yoontae.cho, beomjoon.kim}@kaist.ac.kr",
|
| 39 |
+
"bbox": [
|
| 40 |
+
179,
|
| 41 |
+
223,
|
| 42 |
+
836,
|
| 43 |
+
238
|
| 44 |
+
],
|
| 45 |
+
"page_idx": 0
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"type": "text",
|
| 49 |
+
"text": "ABSTRACT",
|
| 50 |
+
"text_level": 1,
|
| 51 |
+
"bbox": [
|
| 52 |
+
450,
|
| 53 |
+
273,
|
| 54 |
+
545,
|
| 55 |
+
289
|
| 56 |
+
],
|
| 57 |
+
"page_idx": 0
|
| 58 |
+
},
|
| 59 |
+
{
|
| 60 |
+
"type": "text",
|
| 61 |
+
"text": "Nonprehensile manipulation is essential for manipulating objects that are too thin, large, or otherwise ungraspable in the wild. To sidestep the difficulty of contact modeling in conventional modeling-based approaches, reinforcement learning (RL) has recently emerged as a promising alternative. However, previous RL approaches either lack the ability to generalize over diverse object shapes, or use simple action primitives that limit the diversity of robot motions. Furthermore, using RL over diverse object geometry is challenging due to the high cost of training a policy that takes in high-dimensional sensory inputs. We propose a novel contact-based object representation and pretraining pipeline to tackle this. To enable massively parallel training, we leverage a lightweight patch-based transformer architecture for our encoder that processes point clouds, thus scaling our training across thousands of environments. Compared to learning from scratch, or other shape representation baselines, our representation facilitates both time- and data-efficient learning. We validate the efficacy of our overall system by zero-shot transferring the trained policy to novel real-world objects. Code and videos are available at https://sites.google.com/view/contact-non-prehensile.",
|
| 62 |
+
"bbox": [
|
| 63 |
+
228,
|
| 64 |
+
308,
|
| 65 |
+
767,
|
| 66 |
+
530
|
| 67 |
+
],
|
| 68 |
+
"page_idx": 0
|
| 69 |
+
},
|
| 70 |
+
{
|
| 71 |
+
"type": "text",
|
| 72 |
+
"text": "1 INTRODUCTION",
|
| 73 |
+
"text_level": 1,
|
| 74 |
+
"bbox": [
|
| 75 |
+
171,
|
| 76 |
+
561,
|
| 77 |
+
336,
|
| 78 |
+
577
|
| 79 |
+
],
|
| 80 |
+
"page_idx": 0
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"type": "text",
|
| 84 |
+
"text": "Robot manipulators can transform our day-to-day lives by alleviating humans from taxing physical labor. Despite this potential, they have remained largely confined to picking and placing objects in limited settings such as manufacturing or logistics facilities. One key reason for such confined usage is their limited action repertoire: while prehensile manipulation has made great improvements (Mahler et al., 2017; Wan et al., 2023), there are several situations in the wild where pick-and-place is not an option. For instance, consider the scenarios in Figure 1, where the robot is tasked to manipulate diverse household objects to a target pose. While the effective strategy differs for each object, the predominant approach of grasping and placing objects is not viable. To manipulate such objects in the wild, the robot must perform nonprehensile actions such as pushing, dragging, and toppling by reasoning about the object geometry (Kao et al., 2016).",
|
| 85 |
+
"bbox": [
|
| 86 |
+
169,
|
| 87 |
+
595,
|
| 88 |
+
826,
|
| 89 |
+
736
|
| 90 |
+
],
|
| 91 |
+
"page_idx": 0
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"type": "text",
|
| 95 |
+
"text": "Traditionally, this problem has been tackled using planning algorithms that model the dynamics of the system and compute motions using optimization (Posa et al., 2014) or tree search (Cheng et al., 2022). However, this necessitates full system information about object geometry and inertial parameters, which are generally unavailable from sensory observations, especially for novel objects. Even when such models are available, the complex search space renders planning algorithms impractically slow. Recently, deep reinforcement learning (RL) has surfaced as a promising alternative, where a nonprehensile policy is trained in a simulator (Kim et al., 2023; Zhou et al., 2023), then zero-shot transferred to the real world. However, no algorithm offers the level of generality over object shapes and diversity in motions necessary for our problem: they either generalize over objects but are confined to rudimentary motions such as poking (Zhou et al., 2023) or affords rich motions but uses a rudimentary object representation that precludes generalization over shapes (Kim et al., 2023).",
|
| 96 |
+
"bbox": [
|
| 97 |
+
169,
|
| 98 |
+
742,
|
| 99 |
+
826,
|
| 100 |
+
897
|
| 101 |
+
],
|
| 102 |
+
"page_idx": 0
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"type": "header",
|
| 106 |
+
"text": "Published as a conference paper at ICLR 2024",
|
| 107 |
+
"bbox": [
|
| 108 |
+
171,
|
| 109 |
+
32,
|
| 110 |
+
478,
|
| 111 |
+
47
|
| 112 |
+
],
|
| 113 |
+
"page_idx": 0
|
| 114 |
+
},
|
| 115 |
+
{
|
| 116 |
+
"type": "page_footnote",
|
| 117 |
+
"text": "*equal contribution",
|
| 118 |
+
"bbox": [
|
| 119 |
+
191,
|
| 120 |
+
910,
|
| 121 |
+
310,
|
| 122 |
+
924
|
| 123 |
+
],
|
| 124 |
+
"page_idx": 0
|
| 125 |
+
},
|
| 126 |
+
{
|
| 127 |
+
"type": "page_number",
|
| 128 |
+
"text": "1",
|
| 129 |
+
"bbox": [
|
| 130 |
+
493,
|
| 131 |
+
948,
|
| 132 |
+
504,
|
| 133 |
+
959
|
| 134 |
+
],
|
| 135 |
+
"page_idx": 0
|
| 136 |
+
},
|
| 137 |
+
{
|
| 138 |
+
"type": "image",
|
| 139 |
+
"img_path": "images/6f1553cb60226231e7753f5f8cffa793434e9f02552066a5d8263401823dad8e.jpg",
|
| 140 |
+
"image_caption": [],
|
| 141 |
+
"image_footnote": [],
|
| 142 |
+
"bbox": [
|
| 143 |
+
238,
|
| 144 |
+
99,
|
| 145 |
+
759,
|
| 146 |
+
330
|
| 147 |
+
],
|
| 148 |
+
"page_idx": 1
|
| 149 |
+
},
|
| 150 |
+
{
|
| 151 |
+
"type": "image",
|
| 152 |
+
"img_path": "images/f42266ddf457cb2b1aaa1a6b553b60f096688d7ee2ef8ba9993d585a06ba17c4.jpg",
|
| 153 |
+
"image_caption": [
|
| 154 |
+
"Figure 1: Snapshot of our robot performing diverse real-world object manipulation tasks. The first column shows the initial and goal object pose (transparent) of the task, and the green region marks the robot's workspace. Row 1: Raising a cup bottom-side up. The cup's grasp and placement poses are occluded by the collision with the table; since the cup is dynamically unstable, the robot must also support the object to avoid toppling the object out of the workspace during manipulation. Row 2: Flipping the wipe dispenser upside down, which is too wide to grasp. Since it may roll erratically, frequent re-contacts and dense closed-loop motions are required to stabilize the object during manipulation. Row 3: Moving a book that is too thin to be grasped; to drag the book, the robot must finely adjust the pressure to allow for both reorientation and translation. Row 4: Flipping a toy crab. Given its concave geometry, the robot must utilize the interior contacts to pivot the crab.",
|
| 155 |
+
"(a) Case where the robot tries to topple the cup.",
|
| 156 |
+
"Figure 2: Even among similar-looking states, the interaction outcome varies drastically depending on the presence of contact. (a-left) the gripper passes near the cup, yet not quite in contact. As the robot narrowly misses the object, the object remains still. (a-right) the gripper engages with the cup, leading to a successful topple. (b-left) The robot relocates to the left of the block to push it to the goal(dark). By avoiding unintended collision, it is well-positioned to push the object. (b-right) due to spurious contact, the gripper accidentally topples the block, making the goal farther to reach."
|
| 157 |
+
],
|
| 158 |
+
"image_footnote": [],
|
| 159 |
+
"bbox": [
|
| 160 |
+
207,
|
| 161 |
+
481,
|
| 162 |
+
464,
|
| 163 |
+
565
|
| 164 |
+
],
|
| 165 |
+
"page_idx": 1
|
| 166 |
+
},
|
| 167 |
+
{
|
| 168 |
+
"type": "image",
|
| 169 |
+
"img_path": "images/0f4b1e95f427c05d37def0b4735931d2614f4b4b7f091c25793da21d8a228437.jpg",
|
| 170 |
+
"image_caption": [
|
| 171 |
+
"(b) Case where the robot tries to push the block."
|
| 172 |
+
],
|
| 173 |
+
"image_footnote": [],
|
| 174 |
+
"bbox": [
|
| 175 |
+
532,
|
| 176 |
+
481,
|
| 177 |
+
790,
|
| 178 |
+
565
|
| 179 |
+
],
|
| 180 |
+
"page_idx": 1
|
| 181 |
+
},
|
| 182 |
+
{
|
| 183 |
+
"type": "text",
|
| 184 |
+
"text": "We propose a novel object representation learning algorithm for nonprehensile manipulation that can be jointly used with the action-space from Kim et al. (2023) to achieve both generality over shapes and diversity in motions. The key challenge is defining the pretraining task. Given that our objective is to generalize across shapes, one naive approach is to employ self-supervised shape-learning, where the geometric representation is trained on contrastive or shape-reconstruction objectives (Pang et al., 2022; Yu et al., 2022; Xie et al., 2020; Zeid et al., 2023). However, reconstructing the full shape representation is needlessly complex: the full shape includes many intricate features, such as internal geometry, concavities, or surface details, which may not directly influence the performance of the manipulation policy. Even for a complex object, only a subset of its surface interacts with the gripper. Thus, while the contactable parts of an object must be represented at high fidelity, the remainder can be omitted without influencing the performance of the downstream policy.",
|
| 185 |
+
"bbox": [
|
| 186 |
+
169,
|
| 187 |
+
708,
|
| 188 |
+
823,
|
| 189 |
+
861
|
| 190 |
+
],
|
| 191 |
+
"page_idx": 1
|
| 192 |
+
},
|
| 193 |
+
{
|
| 194 |
+
"type": "text",
|
| 195 |
+
"text": "Our key insight is that recognizing the presence and location of contacts between the object and the robot's hand is crucial for nonprehensile manipulation. For RL, a good representation must necessarily distinguish between states with high and low values, and in contact-rich manipulation, this is primarily determined by what forces and torques can be applied to the object in the given state.",
|
| 196 |
+
"bbox": [
|
| 197 |
+
169,
|
| 198 |
+
868,
|
| 199 |
+
823,
|
| 200 |
+
925
|
| 201 |
+
],
|
| 202 |
+
"page_idx": 1
|
| 203 |
+
},
|
| 204 |
+
{
|
| 205 |
+
"type": "header",
|
| 206 |
+
"text": "Published as a conference paper at ICLR 2024",
|
| 207 |
+
"bbox": [
|
| 208 |
+
173,
|
| 209 |
+
32,
|
| 210 |
+
478,
|
| 211 |
+
47
|
| 212 |
+
],
|
| 213 |
+
"page_idx": 1
|
| 214 |
+
},
|
| 215 |
+
{
|
| 216 |
+
"type": "page_number",
|
| 217 |
+
"text": "2",
|
| 218 |
+
"bbox": [
|
| 219 |
+
493,
|
| 220 |
+
948,
|
| 221 |
+
503,
|
| 222 |
+
959
|
| 223 |
+
],
|
| 224 |
+
"page_idx": 1
|
| 225 |
+
},
|
| 226 |
+
{
|
| 227 |
+
"type": "text",
|
| 228 |
+
"text": "This, in turn, depends on the presence and position of the contact between the object and the robot's hand. This intuition is demonstrated in Figure 2. Based on this insight, we propose a pretraining task where the point cloud encoder is trained to predict what part of the object is in collision with the robot's end-effector.",
|
| 229 |
+
"bbox": [
|
| 230 |
+
174,
|
| 231 |
+
103,
|
| 232 |
+
823,
|
| 233 |
+
159
|
| 234 |
+
],
|
| 235 |
+
"page_idx": 2
|
| 236 |
+
},
|
| 237 |
+
{
|
| 238 |
+
"type": "text",
|
| 239 |
+
"text": "Our other contribution is the design of an efficient architecture that can process high-dimensional point clouds, in a way that can scale to massively parallel GPU-backed simulations. Existing well-known point-cloud processing architectures such as PointNet (Qi et al., 2016; 2017) inherently incur substantial inference time and memory usage while processing individual points. Inspired by the recent success of patch-based vision architectures (Dosovitskiy et al., 2020; Yu et al., 2022; Pang et al., 2022; Zhang et al., 2022; Zeid et al., 2023), we leverage a patch-based transformer to efficiently encode the point cloud. Since a single point in a point cloud does not carry significant information, grouping local points into a single unit(patch) (Yu et al., 2022) can effectively reduce the computational burden of launching thousands of point-wise operations as in PointNets (Qi et al., 2016) or Point-based Transformers (Zhao et al., 2021), resulting in significant computational gains.",
|
| 240 |
+
"bbox": [
|
| 241 |
+
174,
|
| 242 |
+
166,
|
| 243 |
+
823,
|
| 244 |
+
306
|
| 245 |
+
],
|
| 246 |
+
"page_idx": 2
|
| 247 |
+
},
|
| 248 |
+
{
|
| 249 |
+
"type": "text",
|
| 250 |
+
"text": "We call our framework Contact-based Object Representation for Nonprehensile manipulation (CORN). We show that by leveraging CORN, we can efficiently train a nonprehensile manipulation policy that can execute dexterous closed-loop joint-space maneuvers without being restricted to predefined motion primitives. Further, by employing an efficient patch-based point-cloud processing backbone, we can achieve highly time-efficient training by allowing the policy to scale to massively parallel environments. By adopting our full system, we demonstrate state-of-the-art performance in nonprehensile manipulation of general objects in simulated environments and zero-shot transfer to unseen real-world objects.",
|
| 251 |
+
"bbox": [
|
| 252 |
+
174,
|
| 253 |
+
311,
|
| 254 |
+
823,
|
| 255 |
+
422
|
| 256 |
+
],
|
| 257 |
+
"page_idx": 2
|
| 258 |
+
},
|
| 259 |
+
{
|
| 260 |
+
"type": "text",
|
| 261 |
+
"text": "2 RELATED WORK",
|
| 262 |
+
"text_level": 1,
|
| 263 |
+
"bbox": [
|
| 264 |
+
174,
|
| 265 |
+
446,
|
| 266 |
+
339,
|
| 267 |
+
460
|
| 268 |
+
],
|
| 269 |
+
"page_idx": 2
|
| 270 |
+
},
|
| 271 |
+
{
|
| 272 |
+
"type": "text",
|
| 273 |
+
"text": "Planning algorithms In planning-based approaches, a nonprehensile manipulation problem is often tackled using gradient-based optimization or graph search. In optimization, the primary challenge arises from optimizing the system of discontinuous dynamics, stemming from contact mode transitions. To combat this, prior works resort to softening contact mode decision variables (Mordatch et al., 2012) or introducing complementarity constraints (Posa et al., 2014; Moura et al., 2022). However, due to the imprecision from the smooth approximation of contact mode transitions, inexact contact dynamics models, and difficulty in precisely satisfying contact constraints, the resulting motions are difficult to realize in the real world. On the other hand, graph-search approaches handle discontinuous system dynamics by formulating the problem as a search over a graph on nodes encoding states such as the robot's configuration and the object's contact mode, and the edges encoding transition feasibility and relative motion between the nodes (Maeda & Arai, 2005; Maeda et al., 2001; Miyazawa et al., 2005). As a result of handling discrete dynamics transitions without approximation, these methods can output more physically realistic motions that can be deployed in the real world (Cheng et al., 2022; Liang et al., 2022). However, to make the search tractable, they resort to strong simplifications such as quasi-static assumption on the space of motions (Cheng et al., 2022; Hou & Mason, 2019), or restricting the edges to predefined primitives or contact modes (Zito et al., 2012). As a result, these works have been limited to tasks that only require simple motions and sparse contact-mode transitions.",
|
| 274 |
+
"bbox": [
|
| 275 |
+
174,
|
| 276 |
+
479,
|
| 277 |
+
823,
|
| 278 |
+
728
|
| 279 |
+
],
|
| 280 |
+
"page_idx": 2
|
| 281 |
+
},
|
| 282 |
+
{
|
| 283 |
+
"type": "text",
|
| 284 |
+
"text": "Moreover, because both of these approaches must compute a plan in a large hybrid search space with discontinuous dynamics, they are too slow to use in practice. Further, they also require the physical parameters of objects, such as mass and friction coefficients, to be known a priori, which undermines the practicality of these methods. Since the objects may vary significantly in the wild (Figure 5), acquiring ground-truth geometric and physical attributes of target objects is intractable.",
|
| 285 |
+
"bbox": [
|
| 286 |
+
174,
|
| 287 |
+
734,
|
| 288 |
+
823,
|
| 289 |
+
805
|
| 290 |
+
],
|
| 291 |
+
"page_idx": 2
|
| 292 |
+
},
|
| 293 |
+
{
|
| 294 |
+
"type": "text",
|
| 295 |
+
"text": "Reinforcement learning algorithms Recently, several works have proposed to leverage learning to directly map sensory inputs to actions in nonprehensile manipulation tasks, circumventing the computational cost of planning, inaccuracy of hybrid dynamics models, and difficulty in system identification from high dimensional sensory inputs (Yuan et al., 2018; 2019; Lowrey et al., 2018; Peng et al., 2018; Ferrandis et al., 2023; Kim et al., 2023; Zhou & Held, 2023; Zhou et al., 2023). In Kim et al. (2023), they propose an approach that outputs diverse motions and effectively performs time-varying hybrid force and position control (Bogdanovic et al., 2020), by using the end-effector target pose and controller gains as action space. However, since they represent object geometry via",
|
| 296 |
+
"bbox": [
|
| 297 |
+
174,
|
| 298 |
+
811,
|
| 299 |
+
823,
|
| 300 |
+
924
|
| 301 |
+
],
|
| 302 |
+
"page_idx": 2
|
| 303 |
+
},
|
| 304 |
+
{
|
| 305 |
+
"type": "header",
|
| 306 |
+
"text": "Published as a conference paper at ICLR 2024",
|
| 307 |
+
"bbox": [
|
| 308 |
+
173,
|
| 309 |
+
32,
|
| 310 |
+
478,
|
| 311 |
+
46
|
| 312 |
+
],
|
| 313 |
+
"page_idx": 2
|
| 314 |
+
},
|
| 315 |
+
{
|
| 316 |
+
"type": "page_number",
|
| 317 |
+
"text": "3",
|
| 318 |
+
"bbox": [
|
| 319 |
+
493,
|
| 320 |
+
949,
|
| 321 |
+
503,
|
| 322 |
+
959
|
| 323 |
+
],
|
| 324 |
+
"page_idx": 2
|
| 325 |
+
},
|
| 326 |
+
{
|
| 327 |
+
"type": "text",
|
| 328 |
+
"text": "its bounding box, their approach has a limited generalization capability across shapes. Similarly, other approaches only handle simple shapes such as cuboids (Yuan et al., 2018; 2019; Ferrandis et al., 2023; Zhou & Held, 2023), pucks (Peng et al., 2018), or cylinders (Lowrey et al., 2018).",
|
| 329 |
+
"bbox": [
|
| 330 |
+
174,
|
| 331 |
+
103,
|
| 332 |
+
821,
|
| 333 |
+
145
|
| 334 |
+
],
|
| 335 |
+
"page_idx": 3
|
| 336 |
+
},
|
| 337 |
+
{
|
| 338 |
+
"type": "text",
|
| 339 |
+
"text": "In HACMan (Zhou et al., 2023), they propose an approach that generalizes to diverse object shapes using end-to-end training. However, they are limited to 3D push primitives defined as fixed-direction poking motions applied on a point on the point cloud. Due to this, they must retract the arm after each execution to observe the next potential contact locations. Further, as end-to-end training with point clouds requires a significant memory footprint, it is difficult to use with massively parallel GPU-based simulations (Makoviychuk et al., 2021): the large resource consumption significantly limits the number of environments that can be simulated in parallel, undermining the parallelism and damaging the training time. Moreover, end-to-end RL on high-dimensional inputs is prone to instability (Eysenbach et al., 2022) and sample-inefficiency: noisy gradients from RL serve as poor training signals for the representation model (Banino et al., 2022), and distributional shift that occurs whenever the encoder gets updated (Shah & Kumar, 2021) slows down policy training. We believe for these reasons, they had to resort to simple primitives that make exploration easier. We use pretraining and efficient architecture to get around these problems.",
|
| 340 |
+
"bbox": [
|
| 341 |
+
174,
|
| 342 |
+
152,
|
| 343 |
+
823,
|
| 344 |
+
332
|
| 345 |
+
],
|
| 346 |
+
"page_idx": 3
|
| 347 |
+
},
|
| 348 |
+
{
|
| 349 |
+
"type": "text",
|
| 350 |
+
"text": "Along with HACMan, other methods use simple primitives (Yuan et al., 2019; Zhou et al., 2023). But for problems we are contemplating, use of such open-loop primitives precludes dense feedback motions. This is problematic for highly unstable (e.g. rolling or pivoting) objects that move erratically, which require the robot to continuously adjust the contact. For instance, in Figure 1 (row 1, column 3), the robot must adjust the contact to prevent spurious pivoting of the ceramic cup while rolling the handle to the other side; in Figure 1 (row 2, column 6), the robot must align the contact with the rotational axis while lifting the wipe dispenser to prevent accidentally toppling the dispenser to either side. In our work, we adopt a controller with end-effector subgoals with variable gains (Bogdanovic et al., 2020; Kim et al., 2023) as our action space, which allows us to perform dense, closed-loop control of the object.",
|
| 351 |
+
"bbox": [
|
| 352 |
+
174,
|
| 353 |
+
339,
|
| 354 |
+
823,
|
| 355 |
+
478
|
| 356 |
+
],
|
| 357 |
+
"page_idx": 3
|
| 358 |
+
},
|
| 359 |
+
{
|
| 360 |
+
"type": "text",
|
| 361 |
+
"text": "Representation learning on point clouds Diverse pretraining tasks have been proposed for learning a representation for point cloud inputs, such as PointContrast (Xie et al., 2020), which uses a contrastive loss on point correspondences, or OcCo (Wang et al., 2021), which reconstructs occluded points from partial views. More recently, inspired by advances from NLP (Devlin et al., 2018) and 2D vision (He et al., 2022; Baevski et al., 2022), self-supervised representation learning methods on masked transformers have gained attention (Yu et al., 2022; Zhang et al., 2022; Pang et al., 2022; Zeid et al., 2023). While Point-BERT (Yu et al., 2022), PointM2AE (Zhang et al., 2022) and PointMAE (Pang et al., 2022) reconstruct the masked points from the remaining points, Point2Vec (Zeid et al., 2023) follows Data2Vec (Baevski et al., 2022) and instead estimate the latent patch embeddings, outperforming above baselines in shape classification and segmentation.",
|
| 362 |
+
"bbox": [
|
| 363 |
+
174,
|
| 364 |
+
484,
|
| 365 |
+
823,
|
| 366 |
+
625
|
| 367 |
+
],
|
| 368 |
+
"page_idx": 3
|
| 369 |
+
},
|
| 370 |
+
{
|
| 371 |
+
"type": "text",
|
| 372 |
+
"text": "As a result, these methods learn highly performant shape representations, demonstrating state-of-the-art performance across tasks such as shape classification or segmentation (Zeid et al., 2023). However, the same impressive performance is often inaccessible with smaller models (Fang et al., 2021; Shi et al., 2022) due to the difficulty of the pretraining task (Fang et al., 2021) or model collapse (Shi et al., 2022). While this necessitates large models, adopting a large encoder for policy training in GPU-based simulators is undesirable, as it can dominate the compute-cost and memory footprint during policy rollout, limiting the parallelism in massively-parallel RL setups.",
|
| 373 |
+
"bbox": [
|
| 374 |
+
174,
|
| 375 |
+
631,
|
| 376 |
+
823,
|
| 377 |
+
729
|
| 378 |
+
],
|
| 379 |
+
"page_idx": 3
|
| 380 |
+
},
|
| 381 |
+
{
|
| 382 |
+
"type": "text",
|
| 383 |
+
"text": "In robotics, several alternative representation learning approaches have been proposed. Huang et al. (2021) pretrains their point cloud encoder by predicting object class and relative offset from the goal orientation. Similarly, Chen et al. (2022) pretrains a sparse 3D CNN on object class, relative orientation from the goal, and the joint positions of the robot hand. While these methods have been proven effective on in-hand re-orientation tasks for inferring the object's pose from point cloud observations, the benefits are smaller for nonprehensile manipulation tasks which are more sensitive to the specific presence and location of contacts (see Figure 2). In comparison, we directly represent an object with an embedding that is used to predict such information.",
|
| 384 |
+
"bbox": [
|
| 385 |
+
174,
|
| 386 |
+
736,
|
| 387 |
+
823,
|
| 388 |
+
847
|
| 389 |
+
],
|
| 390 |
+
"page_idx": 3
|
| 391 |
+
},
|
| 392 |
+
{
|
| 393 |
+
"type": "header",
|
| 394 |
+
"text": "Published as a conference paper at ICLR 2024",
|
| 395 |
+
"bbox": [
|
| 396 |
+
173,
|
| 397 |
+
32,
|
| 398 |
+
478,
|
| 399 |
+
46
|
| 400 |
+
],
|
| 401 |
+
"page_idx": 3
|
| 402 |
+
},
|
| 403 |
+
{
|
| 404 |
+
"type": "page_footnote",
|
| 405 |
+
"text": "<sup>1</sup>While (Chen et al., 2022) demonstrated that in-hand reorientation task can be solved solely from pose-based observations without observing the underlying object geometry, the same success cannot be achieved in our domain (Figure 6)",
|
| 406 |
+
"bbox": [
|
| 407 |
+
174,
|
| 408 |
+
883,
|
| 409 |
+
821,
|
| 410 |
+
922
|
| 411 |
+
],
|
| 412 |
+
"page_idx": 3
|
| 413 |
+
},
|
| 414 |
+
{
|
| 415 |
+
"type": "page_number",
|
| 416 |
+
"text": "4",
|
| 417 |
+
"bbox": [
|
| 418 |
+
493,
|
| 419 |
+
949,
|
| 420 |
+
503,
|
| 421 |
+
958
|
| 422 |
+
],
|
| 423 |
+
"page_idx": 3
|
| 424 |
+
},
|
| 425 |
+
{
|
| 426 |
+
"type": "image",
|
| 427 |
+
"img_path": "images/e23f572a0d39e5762930c8d1f77ea48437cd4f37a75789cf562a96100b4bd0e5.jpg",
|
| 428 |
+
"image_caption": [
|
| 429 |
+
"(a) Real-world setup."
|
| 430 |
+
],
|
| 431 |
+
"image_footnote": [],
|
| 432 |
+
"bbox": [
|
| 433 |
+
236,
|
| 434 |
+
102,
|
| 435 |
+
480,
|
| 436 |
+
237
|
| 437 |
+
],
|
| 438 |
+
"page_idx": 4
|
| 439 |
+
},
|
| 440 |
+
{
|
| 441 |
+
"type": "image",
|
| 442 |
+
"img_path": "images/50438aac09b23ff369a79ea24112fb8406a0b5b9356bc6fa74c78d2836f288b1.jpg",
|
| 443 |
+
"image_caption": [
|
| 444 |
+
"(b) Simulation setup.",
|
| 445 |
+
"Figure 3: Our real-world (left) and simulated (right) domains."
|
| 446 |
+
],
|
| 447 |
+
"image_footnote": [],
|
| 448 |
+
"bbox": [
|
| 449 |
+
535,
|
| 450 |
+
99,
|
| 451 |
+
764,
|
| 452 |
+
237
|
| 453 |
+
],
|
| 454 |
+
"page_idx": 4
|
| 455 |
+
},
|
| 456 |
+
{
|
| 457 |
+
"type": "text",
|
| 458 |
+
"text": "3 CONTACT-BASED OBJECT REPRESENTATION FOR NON-PREHENSILE MANIPULATION",
|
| 459 |
+
"text_level": 1,
|
| 460 |
+
"bbox": [
|
| 461 |
+
171,
|
| 462 |
+
306,
|
| 463 |
+
759,
|
| 464 |
+
339
|
| 465 |
+
],
|
| 466 |
+
"page_idx": 4
|
| 467 |
+
},
|
| 468 |
+
{
|
| 469 |
+
"type": "text",
|
| 470 |
+
"text": "We tackle the problem of rearranging an object of arbitrary geometry on a tabletop to a specified 6D relative pose from the initial pose using nonprehensile manipulation, such as pushing, toppling, and pivoting. Our setup includes a manipulator with a simple gripper, equipped with a proprioceptive sensor and table-mounted depth cameras. We assume that a rigid-body target object is well-singulated on the table, and both the initial and goal poses are stable at rest. Figure 3 illustrates our environment setup.",
|
| 471 |
+
"bbox": [
|
| 472 |
+
169,
|
| 473 |
+
356,
|
| 474 |
+
823,
|
| 475 |
+
441
|
| 476 |
+
],
|
| 477 |
+
"page_idx": 4
|
| 478 |
+
},
|
| 479 |
+
{
|
| 480 |
+
"type": "text",
|
| 481 |
+
"text": "3.1 OVERVIEW",
|
| 482 |
+
"text_level": 1,
|
| 483 |
+
"bbox": [
|
| 484 |
+
171,
|
| 485 |
+
455,
|
| 486 |
+
292,
|
| 487 |
+
469
|
| 488 |
+
],
|
| 489 |
+
"page_idx": 4
|
| 490 |
+
},
|
| 491 |
+
{
|
| 492 |
+
"type": "text",
|
| 493 |
+
"text": "Our framework goes through three stages of training before being deployed in the real world: (1) pretraining, (2) teacher policy training with privileged information, and (3) student policy training with partial information only available in the real world. These three stages happen entirely in simulation based on Isaac Gym (Makoviychuk et al., 2021). Our overall system is shown in Figure 4.",
|
| 494 |
+
"bbox": [
|
| 495 |
+
169,
|
| 496 |
+
482,
|
| 497 |
+
823,
|
| 498 |
+
540
|
| 499 |
+
],
|
| 500 |
+
"page_idx": 4
|
| 501 |
+
},
|
| 502 |
+
{
|
| 503 |
+
"type": "image",
|
| 504 |
+
"img_path": "images/f412dae92e60c860afcfcc8b9808a7ee9df9b26c5332e2e2584adcb369be4c6b.jpg",
|
| 505 |
+
"image_caption": [
|
| 506 |
+
"Figure 4: Our system and model architecture. The contact network consists of a point cloud encoder (red) and contact-prediction decoder (green), passing the point cloud embeddings to the teacher policy module (blue). Student module (orange, omitted) is detailed in Section A.1."
|
| 507 |
+
],
|
| 508 |
+
"image_footnote": [],
|
| 509 |
+
"bbox": [
|
| 510 |
+
295,
|
| 511 |
+
551,
|
| 512 |
+
705,
|
| 513 |
+
734
|
| 514 |
+
],
|
| 515 |
+
"page_idx": 4
|
| 516 |
+
},
|
| 517 |
+
{
|
| 518 |
+
"type": "text",
|
| 519 |
+
"text": "In the pretraining phase, we train our encoder module (Figure 4, red), which takes in point-cloud observations $\\in \\mathbb{R}^{512\\times 3}$ and the hand state $\\in \\mathbb{R}^9$ (position and 6D orientation (Zhou et al., 2019)), and outputs a patch-wise embedding of the object cloud. To train the network, we pass the embeddings through a contact prediction header (Figure 4, green) that classifies whether each patch intersects with the gripper. During this phase, the point-cloud encoder and collision decoder are trained jointly.",
|
| 520 |
+
"bbox": [
|
| 521 |
+
169,
|
| 522 |
+
805,
|
| 523 |
+
823,
|
| 524 |
+
876
|
| 525 |
+
],
|
| 526 |
+
"page_idx": 4
|
| 527 |
+
},
|
| 528 |
+
{
|
| 529 |
+
"type": "text",
|
| 530 |
+
"text": "During policy training, we discard the collision decoder and freeze the encoder, so that only the weights of the policy module are learned. The policy consumes the object point cloud embedding from the encoder, and other task-relevant inputs comprising robot's joint position and velocity, the",
|
| 531 |
+
"bbox": [
|
| 532 |
+
169,
|
| 533 |
+
881,
|
| 534 |
+
823,
|
| 535 |
+
925
|
| 536 |
+
],
|
| 537 |
+
"page_idx": 4
|
| 538 |
+
},
|
| 539 |
+
{
|
| 540 |
+
"type": "header",
|
| 541 |
+
"text": "Published as a conference paper at ICLR 2024",
|
| 542 |
+
"bbox": [
|
| 543 |
+
171,
|
| 544 |
+
32,
|
| 545 |
+
478,
|
| 546 |
+
47
|
| 547 |
+
],
|
| 548 |
+
"page_idx": 4
|
| 549 |
+
},
|
| 550 |
+
{
|
| 551 |
+
"type": "page_number",
|
| 552 |
+
"text": "5",
|
| 553 |
+
"bbox": [
|
| 554 |
+
493,
|
| 555 |
+
948,
|
| 556 |
+
503,
|
| 557 |
+
959
|
| 558 |
+
],
|
| 559 |
+
"page_idx": 4
|
| 560 |
+
},
|
| 561 |
+
{
|
| 562 |
+
"type": "text",
|
| 563 |
+
"text": "previous action (end-effector subgoal and controller gains), the object's pose relative to the goal, and its physical properties (mass, friction, and restitution). These inputs are tokenized via an MLP layer to produce query tokens for the cross-attention layer against the point cloud embeddings to extract task-relevant features. These features are concatenated again with the task-relevant inputs and processed by a shared MLP before being split into actor and critic networks. We train the policy module via PPO (Schulman et al., 2017). Since full-cloud observations and physics parameters of objects are not available in the real world, we distill the teacher policy into a student policy. We use DAgger (Ross et al., 2011) to imitate the teacher's actions solely based on information available in the real world: the partial point cloud of the object, robot's joint states, the previous action, and the relative object pose from the goal. We utilize ndiffrast (Laine et al., 2020) to efficiently render the partial point cloud of the scene on the GPU during training.",
|
| 564 |
+
"bbox": [
|
| 565 |
+
169,
|
| 566 |
+
103,
|
| 567 |
+
826,
|
| 568 |
+
257
|
| 569 |
+
],
|
| 570 |
+
"page_idx": 5
|
| 571 |
+
},
|
| 572 |
+
{
|
| 573 |
+
"type": "text",
|
| 574 |
+
"text": "3.2 LEARNING CORN",
|
| 575 |
+
"text_level": 1,
|
| 576 |
+
"bbox": [
|
| 577 |
+
171,
|
| 578 |
+
284,
|
| 579 |
+
344,
|
| 580 |
+
299
|
| 581 |
+
],
|
| 582 |
+
"page_idx": 5
|
| 583 |
+
},
|
| 584 |
+
{
|
| 585 |
+
"type": "text",
|
| 586 |
+
"text": "Algorithm 1 outlines the data generation procedure for our network, inspired by (Son & Kim, 2023). We first sample the SE(3) transforms within the workspace for the gripper and object (L1-2). We then compute the nearest displacement between the surface points of the object and the gripper (L3) and move the gripper in that direction plus a small Gaussian noise (L4-6) to approach a configuration near or in a collision. To compute the labels, we sample points from the object's surface (L7), then label each point according to whether they intersect with the gripper (L8-10). This process generates about half of the gripper poses in collision with the object, and the other half in a near-collision pose with the object. To disambiguate these cases, the model must precisely reason about the object's geometry.",
|
| 587 |
+
"bbox": [
|
| 588 |
+
169,
|
| 589 |
+
315,
|
| 590 |
+
485,
|
| 591 |
+
565
|
| 592 |
+
],
|
| 593 |
+
"page_idx": 5
|
| 594 |
+
},
|
| 595 |
+
{
|
| 596 |
+
"type": "text",
|
| 597 |
+
"text": "Algorithm 1 Dataset generation for CORN.",
|
| 598 |
+
"text_level": 1,
|
| 599 |
+
"bbox": [
|
| 600 |
+
496,
|
| 601 |
+
324,
|
| 602 |
+
781,
|
| 603 |
+
339
|
| 604 |
+
],
|
| 605 |
+
"page_idx": 5
|
| 606 |
+
},
|
| 607 |
+
{
|
| 608 |
+
"type": "text",
|
| 609 |
+
"text": "Require: object shape $\\mathcal{O}$ , gripper shape $\\mathcal{G}$ , workspace $\\mathcal{W}$ , noise level $\\sigma$",
|
| 610 |
+
"bbox": [
|
| 611 |
+
496,
|
| 612 |
+
343,
|
| 613 |
+
823,
|
| 614 |
+
372
|
| 615 |
+
],
|
| 616 |
+
"page_idx": 5
|
| 617 |
+
},
|
| 618 |
+
{
|
| 619 |
+
"type": "text",
|
| 620 |
+
"text": "Ensure: gripper pose $T_{G}$ , object cloud $X$ , contact label $L$",
|
| 621 |
+
"bbox": [
|
| 622 |
+
496,
|
| 623 |
+
372,
|
| 624 |
+
823,
|
| 625 |
+
398
|
| 626 |
+
],
|
| 627 |
+
"page_idx": 5
|
| 628 |
+
},
|
| 629 |
+
{
|
| 630 |
+
"type": "list",
|
| 631 |
+
"sub_type": "text",
|
| 632 |
+
"list_items": [
|
| 633 |
+
"1: $T_O, T_G \\gets \\text{SamplePoses}(\\mathcal{W})$",
|
| 634 |
+
"2: $\\mathcal{O}'\\gets T_O\\cdot \\mathcal{O};\\mathcal{G}'\\gets T_G\\cdot \\mathcal{G}$",
|
| 635 |
+
"3: $\\vec{\\delta} \\gets \\text{Nearest Displacement}(\\mathcal{O}', \\mathcal{G}')$",
|
| 636 |
+
"4: $s\\sim \\mathcal{N}(1,\\sigma /\\lvert\\lvert\\vec{\\delta}\\rvert\\rvert)$",
|
| 637 |
+
"5: $T_{d}\\gets \\left[ \\begin{array}{cc}I_{3\\times 3} & -s\\cdot \\bar{\\delta}\\\\ 0 & 1 \\end{array} \\right]$",
|
| 638 |
+
"6: $\\mathcal{G}''\\gets \\bar{T}_d\\cdot \\mathcal{G}'$",
|
| 639 |
+
"7: $X \\sim \\text{SampleSurfacePoints}(\\mathcal{O}')$",
|
| 640 |
+
"8: for $x_{i}\\in X$ do",
|
| 641 |
+
"9: $L_{i}\\gets \\text{PointInMesh}(x_{i},\\mathcal{G}^{\\prime \\prime})$",
|
| 642 |
+
"0: end for"
|
| 643 |
+
],
|
| 644 |
+
"bbox": [
|
| 645 |
+
504,
|
| 646 |
+
400,
|
| 647 |
+
774,
|
| 648 |
+
558
|
| 649 |
+
],
|
| 650 |
+
"page_idx": 5
|
| 651 |
+
},
|
| 652 |
+
{
|
| 653 |
+
"type": "text",
|
| 654 |
+
"text": "Afterward, the model is trained by classifying",
|
| 655 |
+
"bbox": [
|
| 656 |
+
169,
|
| 657 |
+
571,
|
| 658 |
+
483,
|
| 659 |
+
585
|
| 660 |
+
],
|
| 661 |
+
"page_idx": 5
|
| 662 |
+
},
|
| 663 |
+
{
|
| 664 |
+
"type": "text",
|
| 665 |
+
"text": "whether each patch of the object intersects with the gripper at the given pose. A patch is labeled as positive if any point within it intersects with the gripper. We use binary cross-entropy between the patchwise decoder logits and the collision labels to train the model(Figure 4, green block)",
|
| 666 |
+
"bbox": [
|
| 667 |
+
169,
|
| 668 |
+
585,
|
| 669 |
+
823,
|
| 670 |
+
628
|
| 671 |
+
],
|
| 672 |
+
"page_idx": 5
|
| 673 |
+
},
|
| 674 |
+
{
|
| 675 |
+
"type": "text",
|
| 676 |
+
"text": "3.3 PATCH-BASED ARCHITECTURE FOR CORN",
|
| 677 |
+
"text_level": 1,
|
| 678 |
+
"bbox": [
|
| 679 |
+
171,
|
| 680 |
+
656,
|
| 681 |
+
501,
|
| 682 |
+
670
|
| 683 |
+
],
|
| 684 |
+
"page_idx": 5
|
| 685 |
+
},
|
| 686 |
+
{
|
| 687 |
+
"type": "text",
|
| 688 |
+
"text": "To efficiently train a policy by simultaneously simulating thousands of environments using GPUs, we leverage a patch-based transformer to encode the object point cloud shown in Figure 4 (red), which pass the patch embeddings to the policy module (blue).",
|
| 689 |
+
"bbox": [
|
| 690 |
+
169,
|
| 691 |
+
686,
|
| 692 |
+
823,
|
| 693 |
+
729
|
| 694 |
+
],
|
| 695 |
+
"page_idx": 5
|
| 696 |
+
},
|
| 697 |
+
{
|
| 698 |
+
"type": "text",
|
| 699 |
+
"text": "Patch Tokenization. In line with previous work (Pang et al., 2022), we divide the point cloud into a set of patches (Figure 4, red block, top left). To define each patch, we identify $N$ representative points using farthest-point sampling (FPS). The k-nearest neighbor (kNN) points from these representatives constitute a patch, which is normalized by subtracting its center from its constituent points (Pang et al., 2022; Zeid et al., 2023; Yu et al., 2022) to embed the local shape. These patches are then tokenized via a Multi-Layer Perceptron (MLP) as input tokens to a transformer.",
|
| 700 |
+
"bbox": [
|
| 701 |
+
169,
|
| 702 |
+
734,
|
| 703 |
+
823,
|
| 704 |
+
820
|
| 705 |
+
],
|
| 706 |
+
"page_idx": 5
|
| 707 |
+
},
|
| 708 |
+
{
|
| 709 |
+
"type": "text",
|
| 710 |
+
"text": "Unlike past methods that use a small PointNet for tokenizing the patches (Pang et al., 2022; Zeid et al., 2023), we tokenize the patches with a lightweight MLP. Using an MLP is sufficient since the patch size is constant, fully determined by the size of $k$ during kNN lookup. By sorting the points within each patch by their distance from the patch center, we can ensure that points within a patch always follow a consistent order. Thus, we can avoid using a costly permutation-invariant PointNet tokenizer. After computing the local patch embeddings, we add learnable positional embeddings of the patch centers to restore the global position information (Pang et al., 2022).",
|
| 711 |
+
"bbox": [
|
| 712 |
+
169,
|
| 713 |
+
825,
|
| 714 |
+
826,
|
| 715 |
+
925
|
| 716 |
+
],
|
| 717 |
+
"page_idx": 5
|
| 718 |
+
},
|
| 719 |
+
{
|
| 720 |
+
"type": "header",
|
| 721 |
+
"text": "Published as a conference paper at ICLR 2024",
|
| 722 |
+
"bbox": [
|
| 723 |
+
171,
|
| 724 |
+
32,
|
| 725 |
+
478,
|
| 726 |
+
47
|
| 727 |
+
],
|
| 728 |
+
"page_idx": 5
|
| 729 |
+
},
|
| 730 |
+
{
|
| 731 |
+
"type": "page_number",
|
| 732 |
+
"text": "6",
|
| 733 |
+
"bbox": [
|
| 734 |
+
493,
|
| 735 |
+
948,
|
| 736 |
+
504,
|
| 737 |
+
959
|
| 738 |
+
],
|
| 739 |
+
"page_idx": 5
|
| 740 |
+
},
|
| 741 |
+
{
|
| 742 |
+
"type": "text",
|
| 743 |
+
"text": "Additional Encoder Inputs. By leveraging a transformer backbone, our architecture can easily mix heterogeneous task-related inputs as extra tokens, such as hand state, together with raw point-cloud observations as shown in Figure 4. Unlike PointNet-derived models that can only concatenate such inputs after the point-processing layers, this has an advantage in that the network can pay attention to parts of the point cloud in accordance with the hand state, such as the ones near the robot's hand that would interact with the gripper.",
|
| 744 |
+
"bbox": [
|
| 745 |
+
169,
|
| 746 |
+
103,
|
| 747 |
+
826,
|
| 748 |
+
189
|
| 749 |
+
],
|
| 750 |
+
"page_idx": 6
|
| 751 |
+
},
|
| 752 |
+
{
|
| 753 |
+
"type": "text",
|
| 754 |
+
"text": "4 EXPERIMENTS",
|
| 755 |
+
"text_level": 1,
|
| 756 |
+
"bbox": [
|
| 757 |
+
171,
|
| 758 |
+
209,
|
| 759 |
+
328,
|
| 760 |
+
224
|
| 761 |
+
],
|
| 762 |
+
"page_idx": 6
|
| 763 |
+
},
|
| 764 |
+
{
|
| 765 |
+
"type": "text",
|
| 766 |
+
"text": "4.1 EXPERIMENTAL SETUP",
|
| 767 |
+
"text_level": 1,
|
| 768 |
+
"bbox": [
|
| 769 |
+
171,
|
| 770 |
+
241,
|
| 771 |
+
377,
|
| 772 |
+
255
|
| 773 |
+
],
|
| 774 |
+
"page_idx": 6
|
| 775 |
+
},
|
| 776 |
+
{
|
| 777 |
+
"type": "image",
|
| 778 |
+
"img_path": "images/5b295f7e9248bf1b8db643666959517157ffc5ae540de34cc9a6cb74acb08ec7.jpg",
|
| 779 |
+
"image_caption": [
|
| 780 |
+
"Figure 5: Set of 16 real-world objects that we test in the real world."
|
| 781 |
+
],
|
| 782 |
+
"image_footnote": [],
|
| 783 |
+
"bbox": [
|
| 784 |
+
207,
|
| 785 |
+
277,
|
| 786 |
+
795,
|
| 787 |
+
376
|
| 788 |
+
],
|
| 789 |
+
"page_idx": 6
|
| 790 |
+
},
|
| 791 |
+
{
|
| 792 |
+
"type": "text",
|
| 793 |
+
"text": "Training setup For each scene, we randomly draw an object from a subset of 323 geometrically diverse objects from DexGraspNet dataset (Wang et al., 2023), detailed in Section A.6.2. For each episode, we first place the object in a random stable pose on the table. Then, we reset the robot arm at a joint configuration uniformly sampled within predefined joint bounds slightly above the workspace. By doing so, we can avoid initializing the robot in spurious collision with the table or the object. Afterward, we sample a 6D stable goal pose randomly on the table, spaced at least $0.1\\mathrm{m}$ away from the initial pose to prevent immediately achieving success at initialization. To sample valid initial and goal poses for each object, we pre-compute a set of stable poses for each object. This procedure is elaborated in Section A.6.1.",
|
| 794 |
+
"bbox": [
|
| 795 |
+
169,
|
| 796 |
+
421,
|
| 797 |
+
823,
|
| 798 |
+
546
|
| 799 |
+
],
|
| 800 |
+
"page_idx": 6
|
| 801 |
+
},
|
| 802 |
+
{
|
| 803 |
+
"type": "text",
|
| 804 |
+
"text": "Action, Rewards, and Success Criteria Following Kim et al. (2023), the action space of the robot comprises the subgoal residual of the hand, and the joint-space gains of a variable impedance controller (Details in Section A.2). We also follow the same curriculum learning scheme on the subgoal residual from Kim et al. (2023) to facilitate transferring our policy to the real world. The reward in our domain is defined as $r = r_{suc} + r_{reach} + r_{contact} - c_{energy}$ , comprising the task success reward $r_{suc}$ , goal-reaching reward $r_{reach}$ , contact-inducing reward $r_{contact}$ , and energy penalty $c_{energy}$ . The task success reward $r_{suc} = \\mathbb{1}_{suc}$ is given when the pose of the object is within 0.05m and 0.1 radians of the target pose. We add dense rewards $r_{reach}$ and $r_{contact}$ to facilitate learning, based on a potential function (Ng et al., 1999) and has the form $r = \\gamma \\phi(s') - \\phi(s)$ where $\\gamma \\in [0,1)$ is the discount factor. For $r_{reach}$ , we have $\\phi_{reach}(s) = k_g \\gamma^{k_d \\cdot d_{o,g}(s)}$ and for $r_{contact}$ , we have $\\phi_{contact}(s) = k_r \\gamma^{k_d \\cdot d_{h,o}(s)}$ where $k_g, k_d, k_r \\in \\mathbb{R}$ are scaling coefficients; $d_{o,g}(s)$ is the distance from the current object pose to the goal pose, measured using the bounding-box based distance measure from Allshire et al. (2022); $d_{h,o}(s)$ is the hand-object distance between the object's center of mass and the tip of the gripper. Energy penalty term is defined as $c_{energy} = k_e \\cdot \\sum_{i=1}^{7} \\tau_i \\cdot \\dot{q}_i$ , where $k_e \\in \\mathbb{R}$ is a scaling coefficient, $\\tau_i$ and $\\dot{q}_i$ are joint torque and velocity of the $i^{th}$ joint. The scaling coefficients for the rewards are included in Table A.1.",
|
| 805 |
+
"bbox": [
|
| 806 |
+
169,
|
| 807 |
+
553,
|
| 808 |
+
826,
|
| 809 |
+
785
|
| 810 |
+
],
|
| 811 |
+
"page_idx": 6
|
| 812 |
+
},
|
| 813 |
+
{
|
| 814 |
+
"type": "text",
|
| 815 |
+
"text": "Domain Randomization. During training, we randomize the mass, scale of the object, and friction and restitution of the object, table, and the robot gripper. We set the scale of the object by setting the largest diameter of the object within a predefined range. To facilitate real-world transfer, we also add a small noise to the torque command, object point cloud, and the goal pose when training the student. Detailed parameters for domain randomization are described in Table A.4.",
|
| 816 |
+
"bbox": [
|
| 817 |
+
169,
|
| 818 |
+
791,
|
| 819 |
+
823,
|
| 820 |
+
861
|
| 821 |
+
],
|
| 822 |
+
"page_idx": 6
|
| 823 |
+
},
|
| 824 |
+
{
|
| 825 |
+
"type": "text",
|
| 826 |
+
"text": "Real-World Setup. Our real-world setup is shown in Figure 3a. We use three RealSense D435 cameras to extract the point clouds, and use Iterative Closest Point (ICP) To estimate the error between the object's current and target poses. We further use April tags (Wang & Olson, 2016) to track symmetric objects that cannot be readily tracked via ICP. We also wrap the gripper of the",
|
| 827 |
+
"bbox": [
|
| 828 |
+
169,
|
| 829 |
+
867,
|
| 830 |
+
826,
|
| 831 |
+
925
|
| 832 |
+
],
|
| 833 |
+
"page_idx": 6
|
| 834 |
+
},
|
| 835 |
+
{
|
| 836 |
+
"type": "header",
|
| 837 |
+
"text": "Published as a conference paper at ICLR 2024",
|
| 838 |
+
"bbox": [
|
| 839 |
+
171,
|
| 840 |
+
32,
|
| 841 |
+
478,
|
| 842 |
+
47
|
| 843 |
+
],
|
| 844 |
+
"page_idx": 6
|
| 845 |
+
},
|
| 846 |
+
{
|
| 847 |
+
"type": "page_number",
|
| 848 |
+
"text": "7",
|
| 849 |
+
"bbox": [
|
| 850 |
+
493,
|
| 851 |
+
948,
|
| 852 |
+
504,
|
| 853 |
+
959
|
| 854 |
+
],
|
| 855 |
+
"page_idx": 6
|
| 856 |
+
},
|
| 857 |
+
{
|
| 858 |
+
"type": "text",
|
| 859 |
+
"text": "robot with a high-friction glove to match the simulation. We emphasize that all training is done in simulation, and the policy is zero-shot transferred to the real world.",
|
| 860 |
+
"bbox": [
|
| 861 |
+
169,
|
| 862 |
+
103,
|
| 863 |
+
823,
|
| 864 |
+
132
|
| 865 |
+
],
|
| 866 |
+
"page_idx": 7
|
| 867 |
+
},
|
| 868 |
+
{
|
| 869 |
+
"type": "text",
|
| 870 |
+
"text": "4.2 RESULTS",
|
| 871 |
+
"text_level": 1,
|
| 872 |
+
"bbox": [
|
| 873 |
+
171,
|
| 874 |
+
150,
|
| 875 |
+
279,
|
| 876 |
+
162
|
| 877 |
+
],
|
| 878 |
+
"page_idx": 7
|
| 879 |
+
},
|
| 880 |
+
{
|
| 881 |
+
"type": "text",
|
| 882 |
+
"text": "We'd like to evaluate the following claims: (1) Pretraining CORN enables training a nonprehensile manipulation policy in a time- and data-efficient manner. (2) Patch-based transformer architecture enables efficiently scaling to thousands of point-cloud based RL agents in parallel. (3) Our system can generalize to domain shifts such as unseen objects in the real world. To support claims 1 and 2, we compare our pretraining task and architecture (OURS) against the baseline encoders in Figure 6.",
|
| 883 |
+
"bbox": [
|
| 884 |
+
169,
|
| 885 |
+
176,
|
| 886 |
+
823,
|
| 887 |
+
247
|
| 888 |
+
],
|
| 889 |
+
"page_idx": 7
|
| 890 |
+
},
|
| 891 |
+
{
|
| 892 |
+
"type": "text",
|
| 893 |
+
"text": "Compared to ours, P2V uses a pretrained Point2Vec (Zeid et al., 2023) encoder, using the author's weights; P2V-LITE is pretrained as in P2V, but uses the same architecture as Ours; ROT also shares the architecture with Ours, but is pretrained with relative rotation estimation as in (Huang et al., 2021; Chen et al., 2022); E2E also shares the architecture, but is trained in an end-to-end manner without pretraining; PN uses a three-layer PointNet encoder, pretrained on point-wise collision prediction, analogous to CORN; and STATE trains a geometry-unaware policy that only receives object bounding box inputs as the object representation, rather than point clouds. Note that P2V, P2V-LITE, ROT, E2E have the same downstream policy architectures as ours. For PN and STATE, they also have the same policy architecture except that they do not use cross-attention.",
|
| 894 |
+
"bbox": [
|
| 895 |
+
169,
|
| 896 |
+
253,
|
| 897 |
+
826,
|
| 898 |
+
380
|
| 899 |
+
],
|
| 900 |
+
"page_idx": 7
|
| 901 |
+
},
|
| 902 |
+
{
|
| 903 |
+
"type": "image",
|
| 904 |
+
"img_path": "images/c864e9a28d337b61201ea5ff7133a7cdd112426d2314d3c7a46ef06f41f1fcb7.jpg",
|
| 905 |
+
"image_caption": [
|
| 906 |
+
"Figure 6: Training progression and baselines. Plots show the mean (solid) and standard deviations (transparent) for each baseline. (Left) Success rate vs. number of interaction steps. Interaction steps are reported as the total number of steps aggregated across 4096 parallel environments. (Middle) Success rate vs. number of hours. All baselines are allowed to interact at most $2e9$ time steps. (Right) Comparison of baselines. PT: Patch Transformer."
|
| 907 |
+
],
|
| 908 |
+
"image_footnote": [],
|
| 909 |
+
"bbox": [
|
| 910 |
+
178,
|
| 911 |
+
391,
|
| 912 |
+
823,
|
| 913 |
+
529
|
| 914 |
+
],
|
| 915 |
+
"page_idx": 7
|
| 916 |
+
},
|
| 917 |
+
{
|
| 918 |
+
"type": "text",
|
| 919 |
+
"text": "Figure 6 shows the progression of success rates across different baselines in simulation. To support claim 1, we consider the performance of the policy after 2 billion interactions (in steps) and 24 hours (in time), respectively. First, E2E takes significantly longer compared to Ours, in terms of both steps and time: by pretraining CORN, Ours achieves $88.0\\%$ suc RATE (steps) and $88.5\\%$ (time), while E2E only reaches $31.4\\%$ (in time) and $54.4\\%$ (in steps), respectively. This is due to the overhead of jointly training the encoder and policy networks in E2E. Among pretrained representations, we first compare with P2V. While P2V is similar to Ours in steps $(85.6\\%)$ , it is significantly slower in time $(3.55\\%)$ , due to the inference overhead of the large representation model. To isolate the effect of the pretraining task, we also compare with P2V-LITE: pretrained as in P2V, yet with same architecture as Ours. While the resulting policy is reasonably time-efficient due to faster rollouts $(73.4\\%)$ in time), it is less data-efficient $(68.8\\%)$ in steps) due to the reduced performance of the smaller model (Shi et al., 2022; Fang et al., 2021). Another baseline, ROT from in-hand reorientation literature (Huang et al., 2021; Chen et al., 2022) performs slightly worse in both measures $(64.2\\%$ (steps); $67.0\\%$ (time)): we believe this is due to the increased demand for the awareness of object geometry in our task. To see this, we note that the pose-only policy STATE), unaware of object geometry, cannot learn at all in our domain, in contrast to the positive result from Chen et al. (2022). This highlights the fact that our task requires greater awareness of the object's geometric features: just knowing the object's pose is insufficient, and a deeper understanding of its geometry is necessary.",
|
| 920 |
+
"bbox": [
|
| 921 |
+
169,
|
| 922 |
+
625,
|
| 923 |
+
826,
|
| 924 |
+
876
|
| 925 |
+
],
|
| 926 |
+
"page_idx": 7
|
| 927 |
+
},
|
| 928 |
+
{
|
| 929 |
+
"type": "text",
|
| 930 |
+
"text": "To see CORN learns a suitable representation for manipulation, we inspect the attention scores of the policy amid different motions in Figure 7. For pushing and toppling motions (row 1,3), our policy primarily attends to the current or future contact between the hand and the object, which is consistent",
|
| 931 |
+
"bbox": [
|
| 932 |
+
169,
|
| 933 |
+
882,
|
| 934 |
+
823,
|
| 935 |
+
925
|
| 936 |
+
],
|
| 937 |
+
"page_idx": 7
|
| 938 |
+
},
|
| 939 |
+
{
|
| 940 |
+
"type": "header",
|
| 941 |
+
"text": "Published as a conference paper at ICLR 2024",
|
| 942 |
+
"bbox": [
|
| 943 |
+
171,
|
| 944 |
+
32,
|
| 945 |
+
478,
|
| 946 |
+
47
|
| 947 |
+
],
|
| 948 |
+
"page_idx": 7
|
| 949 |
+
},
|
| 950 |
+
{
|
| 951 |
+
"type": "page_number",
|
| 952 |
+
"text": "8",
|
| 953 |
+
"bbox": [
|
| 954 |
+
493,
|
| 955 |
+
948,
|
| 956 |
+
504,
|
| 957 |
+
959
|
| 958 |
+
],
|
| 959 |
+
"page_idx": 7
|
| 960 |
+
},
|
| 961 |
+
{
|
| 962 |
+
"type": "image",
|
| 963 |
+
"img_path": "images/b85ac9607befaec86eaad4b635f0b246b8dd4c48d43241389d53a05b1a44a414.jpg",
|
| 964 |
+
"image_caption": [
|
| 965 |
+
"Figure 7: Visualization of the scores from the cross-attention layers of the policy, summed over all heads. We colorize the attention for each patch normalized to range $(0,1)$ , then project the patchwise colors on the surface of the object for visualization with VIRIDIS colormap."
|
| 966 |
+
],
|
| 967 |
+
"image_footnote": [],
|
| 968 |
+
"bbox": [
|
| 969 |
+
287,
|
| 970 |
+
101,
|
| 971 |
+
699,
|
| 972 |
+
297
|
| 973 |
+
],
|
| 974 |
+
"page_idx": 8
|
| 975 |
+
},
|
| 976 |
+
{
|
| 977 |
+
"type": "text",
|
| 978 |
+
"text": "with the premise of our representation-learning scheme. While pivoting or rolling motions (row 2,4) share the same trend, our policy also attends to the pivot points of the object against the table.",
|
| 979 |
+
"bbox": [
|
| 980 |
+
169,
|
| 981 |
+
378,
|
| 982 |
+
823,
|
| 983 |
+
409
|
| 984 |
+
],
|
| 985 |
+
"page_idx": 8
|
| 986 |
+
},
|
| 987 |
+
{
|
| 988 |
+
"type": "text",
|
| 989 |
+
"text": "To support claim 2, we show that our patch-transformer architecture is more performant in both compute- and memory-cost compared to PointNet (Qi et al., 2016). In particular, we evaluate PN, where the primary difference is the use of PointNet in place of the patch transformer. While the performance degradation from the architecture change is only modest in steps (88.3% v. 70.2%), the large computational overhead of PointNet renders it slowest in time(0.223%) among all baselines. To support claim 3, we evaluate our policy in the real-world setting as described in Section 4.1. Figure 5 shows the objects that we evaluate in our real-world experiments, exhibiting wide diversity in terms of shape, mass, and materials; Figure 1 shows four representative real-world episodes.",
|
| 990 |
+
"bbox": [
|
| 991 |
+
169,
|
| 992 |
+
414,
|
| 993 |
+
826,
|
| 994 |
+
526
|
| 995 |
+
],
|
| 996 |
+
"page_idx": 8
|
| 997 |
+
},
|
| 998 |
+
{
|
| 999 |
+
"type": "table",
|
| 1000 |
+
"img_path": "images/68ffa8fe55e2f1dce8e86f8160395293e5d9d4705d4415a55e9cf18f0dc4cf62.jpg",
|
| 1001 |
+
"table_caption": [
|
| 1002 |
+
"Table 1: Real world run results. All of the objects in the real-world setup are unseen except for 3D-printed objects marked with $\\dagger$ ."
|
| 1003 |
+
],
|
| 1004 |
+
"table_footnote": [],
|
| 1005 |
+
"table_body": "<table><tr><td>Object name</td><td>Success/Trial</td><td>Object name</td><td>Success/Trial</td><td>Object name</td><td>Success/Trial</td><td>Object name</td><td>Success/Trial</td></tr><tr><td>Red Card</td><td>4/5</td><td>Cube Block</td><td>4/5</td><td>Ceramic Cup</td><td>4/5</td><td>Red Dripper</td><td>3/5</td></tr><tr><td>Toy Puppy†</td><td>4/5</td><td>Iced Tea Box</td><td>3/5</td><td>Nutella Bottle</td><td>3/5</td><td>Coaster Holder</td><td>3/5</td></tr><tr><td>Toy Bulldozer</td><td>4/5</td><td>Wipe Dispenser</td><td>5/5</td><td>Coffee Jar</td><td>2/5</td><td>Thick Book</td><td>4/5</td></tr><tr><td>Blue Holder</td><td>5/5</td><td>Toy Table†</td><td>3/5</td><td>Lemona Box</td><td>3/5</td><td>Candy Box</td><td>3/5</td></tr><tr><td>Success rate</td><td></td><td></td><td></td><td></td><td></td><td></td><td>57/80 (71.3%)</td></tr></table>",
|
| 1006 |
+
"bbox": [
|
| 1007 |
+
173,
|
| 1008 |
+
578,
|
| 1009 |
+
823,
|
| 1010 |
+
642
|
| 1011 |
+
],
|
| 1012 |
+
"page_idx": 8
|
| 1013 |
+
},
|
| 1014 |
+
{
|
| 1015 |
+
"type": "text",
|
| 1016 |
+
"text": "The results from our policy execution in the real-world are organized in Table 1. Overall, our policy demonstrates $71.3\\%$ success rate in the real world. These results indicate that, with distillation, our system can zero-shot transfer to the real world despite only training in a simulation.",
|
| 1017 |
+
"bbox": [
|
| 1018 |
+
169,
|
| 1019 |
+
655,
|
| 1020 |
+
823,
|
| 1021 |
+
698
|
| 1022 |
+
],
|
| 1023 |
+
"page_idx": 8
|
| 1024 |
+
},
|
| 1025 |
+
{
|
| 1026 |
+
"type": "text",
|
| 1027 |
+
"text": "Limitations. We find that our policy struggles more with concave objects (coaster-holder, red dripper; $60\\%$ ) or unstable objects (iced tea box, coffee jar, red dripper; $53\\%$ ). Concave objects cause perception challenge in the real world due to severe ambiguity when occluded by the robot, leading to timeouts as the agent oscillates between actions or stops amid a maneuver. Unstable objects tend to abruptly spin out of the workspace after minor collisions, and the dexterity of our robot platform and speed of our real-world perception pipeline cannot catch up with such rapid motions.",
|
| 1028 |
+
"bbox": [
|
| 1029 |
+
169,
|
| 1030 |
+
704,
|
| 1031 |
+
825,
|
| 1032 |
+
789
|
| 1033 |
+
],
|
| 1034 |
+
"page_idx": 8
|
| 1035 |
+
},
|
| 1036 |
+
{
|
| 1037 |
+
"type": "text",
|
| 1038 |
+
"text": "5 CONCLUSION",
|
| 1039 |
+
"text_level": 1,
|
| 1040 |
+
"bbox": [
|
| 1041 |
+
171,
|
| 1042 |
+
809,
|
| 1043 |
+
318,
|
| 1044 |
+
824
|
| 1045 |
+
],
|
| 1046 |
+
"page_idx": 8
|
| 1047 |
+
},
|
| 1048 |
+
{
|
| 1049 |
+
"type": "text",
|
| 1050 |
+
"text": "In this work, we present a system for effectively training a non-prehensile object manipulation policy that can generalize over diverse object shapes. We show that by pretraining a contact-informed representation of the object, coupled with an efficient patch-based transformer architecture, we can train the policy in a data- and time-efficient manner. With student-teacher distillation, we find that our policy can zero-shot transfer to the real world, achieving success rates of $71.3\\%$ in the real world across both seen and unseen objects despite only training in a simulation.",
|
| 1051 |
+
"bbox": [
|
| 1052 |
+
169,
|
| 1053 |
+
839,
|
| 1054 |
+
823,
|
| 1055 |
+
925
|
| 1056 |
+
],
|
| 1057 |
+
"page_idx": 8
|
| 1058 |
+
},
|
| 1059 |
+
{
|
| 1060 |
+
"type": "header",
|
| 1061 |
+
"text": "Published as a conference paper at ICLR 2024",
|
| 1062 |
+
"bbox": [
|
| 1063 |
+
173,
|
| 1064 |
+
32,
|
| 1065 |
+
478,
|
| 1066 |
+
47
|
| 1067 |
+
],
|
| 1068 |
+
"page_idx": 8
|
| 1069 |
+
},
|
| 1070 |
+
{
|
| 1071 |
+
"type": "page_number",
|
| 1072 |
+
"text": "9",
|
| 1073 |
+
"bbox": [
|
| 1074 |
+
493,
|
| 1075 |
+
948,
|
| 1076 |
+
504,
|
| 1077 |
+
959
|
| 1078 |
+
],
|
| 1079 |
+
"page_idx": 8
|
| 1080 |
+
},
|
| 1081 |
+
{
|
| 1082 |
+
"type": "text",
|
| 1083 |
+
"text": "ACKNOWLEDGEMENT",
|
| 1084 |
+
"text_level": 1,
|
| 1085 |
+
"bbox": [
|
| 1086 |
+
171,
|
| 1087 |
+
103,
|
| 1088 |
+
359,
|
| 1089 |
+
118
|
| 1090 |
+
],
|
| 1091 |
+
"page_idx": 9
|
| 1092 |
+
},
|
| 1093 |
+
{
|
| 1094 |
+
"type": "text",
|
| 1095 |
+
"text": "This work was supported by Institute of Information & communications Technology Planning & Evaluation (IITP) grant funded by the Korea government(MSIT) (No.2019-0-00075, Artificial Intelligence Graduate School Program(KAIST)), (No.2022-0-00311, Development of Goal-Oriented Reinforcement Learning Techniques for Contact-Rich Robotic Manipulation of Everyday Objects), (No. 2022-0-00612, Geometric and Physical Commonsense Reasoning based Behavior Intelligence for Embodied AI).",
|
| 1096 |
+
"bbox": [
|
| 1097 |
+
169,
|
| 1098 |
+
133,
|
| 1099 |
+
826,
|
| 1100 |
+
217
|
| 1101 |
+
],
|
| 1102 |
+
"page_idx": 9
|
| 1103 |
+
},
|
| 1104 |
+
{
|
| 1105 |
+
"type": "text",
|
| 1106 |
+
"text": "REPRODUCIBILITY STATEMENT",
|
| 1107 |
+
"text_level": 1,
|
| 1108 |
+
"bbox": [
|
| 1109 |
+
171,
|
| 1110 |
+
238,
|
| 1111 |
+
439,
|
| 1112 |
+
253
|
| 1113 |
+
],
|
| 1114 |
+
"page_idx": 9
|
| 1115 |
+
},
|
| 1116 |
+
{
|
| 1117 |
+
"type": "text",
|
| 1118 |
+
"text": "We describe our real-world system and perception pipeline in detail in Section A.4. The procedure for data generation and pretraining for our model and other baselines is detailed in Section 3.2 and Section A.3, respectively. We include the set of 323 training objects from DexGraspNet (Wang et al., 2023) that we used for policy training as supplementary materials. We include the student-model architecture and distillation pipeline for real-world transfer in Section A.1. We describe the simulation setup regarding data preprocessing(Section A.6), and describe the hyperparameters associated with our network architecture(Table A.2), domain-randomization(Table A.4), and policy training(Section A.3). We also release our code at https://github.com/contact-non-prehensile/corn.",
|
| 1119 |
+
"bbox": [
|
| 1120 |
+
169,
|
| 1121 |
+
268,
|
| 1122 |
+
826,
|
| 1123 |
+
395
|
| 1124 |
+
],
|
| 1125 |
+
"page_idx": 9
|
| 1126 |
+
},
|
| 1127 |
+
{
|
| 1128 |
+
"type": "text",
|
| 1129 |
+
"text": "REFERENCES",
|
| 1130 |
+
"text_level": 1,
|
| 1131 |
+
"bbox": [
|
| 1132 |
+
171,
|
| 1133 |
+
415,
|
| 1134 |
+
287,
|
| 1135 |
+
430
|
| 1136 |
+
],
|
| 1137 |
+
"page_idx": 9
|
| 1138 |
+
},
|
| 1139 |
+
{
|
| 1140 |
+
"type": "list",
|
| 1141 |
+
"sub_type": "ref_text",
|
| 1142 |
+
"list_items": [
|
| 1143 |
+
"Arthur Allshire, Mayank Mittal, Varun Lodaya, Viktor Makoviychuk, Denys Makoviichuk, Felix Widmaier, Manuel Wuthrich, Stefan Bauer, Ankur Handa, and Animesh Garg. Transferring dexterous manipulation fromgpu simulation to a remote real-world trifinger. In 2022 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS), pp. 11802-11809. IEEE, 2022.",
|
| 1144 |
+
"Alexei Baevski, Wei-Ning Hsu, Qiantong Xu, Arun Babu, Jiatao Gu, and Michael Auli. Data2vec: A general framework for self-supervised learning in speech, vision and language. In International Conference on Machine Learning, pp. 1298-1312. PMLR, 2022.",
|
| 1145 |
+
"Andrea Banino, Adria Puigdomenech Badia, Jacob C Walker, Tim Scholtes, Jovana Mitrovic, and Charles Blundell. Coberl: Contrastive bert for reinforcement learning. In International Conference on Learning Representations, 2022.",
|
| 1146 |
+
"Miroslav Bogdanovic, Majid Khadiv, and Ludovic Righetti. Learning variable impedance control for contact sensitive tasks. IEEE Robotics and Automation Letters, 5(4):6129-6136, 2020.",
|
| 1147 |
+
"Samuel R Buss. Introduction to inverse kinematics with jacobian transpose, pseudoinverse and damped least squares methods. IEEE Journal of Robotics and Automation, 17(1-19):16, 2004.",
|
| 1148 |
+
"Angel X. Chang, Thomas Funkhouser, Leonidas Guibas, Pat Hanrahan, Qixing Huang, Zimo Li, Silvio Savarese, Manolis Savva, Shuran Song, Hao Su, Jianxiong Xiao, Li Yi, and Fisher Yu. ShapeNet: An Information-Rich 3D Model Repository. Technical Report arXiv:1512.03012 [cs.GR], Stanford University — Princeton University — Toyota Technological Institute at Chicago, 2015.",
|
| 1149 |
+
"Tao Chen, Megha Tippur, Siyang Wu, Vikash Kumar, Edward Adelson, and Pulkit Agrawal. Visual dexterity: In-hand dexterous manipulation from depth. arXiv preprint arXiv:2211.11744, 2022.",
|
| 1150 |
+
"Xianyi Cheng, Eric Huang, Yifan Hou, and Matthew T Mason. Contact Mode Guided Motion Planning for Quasidynamic Dexterous Manipulation in 3D. In International Conference on Robotics and Automation, 2022.",
|
| 1151 |
+
"Kyunghyun Cho, Bart van Merrienboer, Caglar Gülçehre, Dzmitry Bahdanau, Fethi Bougares, Holger Schwenk, and Yoshua Bengio. Learning phrase representations using rnnc encoder-decoder for statistical machine translation. In Conference on Empirical Methods in Natural Language Processing, 2014."
|
| 1152 |
+
],
|
| 1153 |
+
"bbox": [
|
| 1154 |
+
171,
|
| 1155 |
+
439,
|
| 1156 |
+
825,
|
| 1157 |
+
924
|
| 1158 |
+
],
|
| 1159 |
+
"page_idx": 9
|
| 1160 |
+
},
|
| 1161 |
+
{
|
| 1162 |
+
"type": "header",
|
| 1163 |
+
"text": "Published as a conference paper at ICLR 2024",
|
| 1164 |
+
"bbox": [
|
| 1165 |
+
171,
|
| 1166 |
+
32,
|
| 1167 |
+
478,
|
| 1168 |
+
47
|
| 1169 |
+
],
|
| 1170 |
+
"page_idx": 9
|
| 1171 |
+
},
|
| 1172 |
+
{
|
| 1173 |
+
"type": "page_number",
|
| 1174 |
+
"text": "10",
|
| 1175 |
+
"bbox": [
|
| 1176 |
+
490,
|
| 1177 |
+
946,
|
| 1178 |
+
509,
|
| 1179 |
+
960
|
| 1180 |
+
],
|
| 1181 |
+
"page_idx": 9
|
| 1182 |
+
},
|
| 1183 |
+
{
|
| 1184 |
+
"type": "list",
|
| 1185 |
+
"sub_type": "ref_text",
|
| 1186 |
+
"list_items": [
|
| 1187 |
+
"Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. Bert: Pre-training of deep bidirectional transformers for language understanding. arXiv preprint arXiv:1810.04805, 2018.",
|
| 1188 |
+
"Alexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn, Xiaohua Zhai, Thomas Unterthiner, Mostafa Dehghani, Matthias Minderer, Georg Heigold, Sylvain Gelly, et al. An image is worth 16x16 words: Transformers for image recognition at scale. In International Conference on Learning Representations, 2020.",
|
| 1189 |
+
"Benjamin Eysenbach, Tianjun Zhang, Sergey Levine, and Russ R Salakhutdinov. Contrastive learning as goal-conditioned reinforcement learning. Advances in Neural Information Processing Systems, 35:35603-35620, 2022.",
|
| 1190 |
+
"Zhiyuan Fang, Jianfeng Wang, Lijuan Wang, Lei Zhang, Yezhou Yang, and Zicheng Liu. Seed: Self-supervised distillation for visual representation. In ICLR, 2021.",
|
| 1191 |
+
"Juan Del Aguila Ferrandis, João Moura, and Sethu Vijayakumar. Nonprehensile planar manipulation through reinforcement learning with multimodal categorical exploration. arXiv preprint arXiv:2308.02459, 2023.",
|
| 1192 |
+
"Matthias Fey and Jan E. Lenssen. Fast graph representation learning with PyTorch Geometric. In ICLR Workshop on Representation Learning on Graphs and Manifolds, 2019.",
|
| 1193 |
+
"Kaiming He, Xinlei Chen, Saining Xie, Yanghao Li, Piotr Dólár, and Ross Girshick. Masked autoencoders are scalable vision learners. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 16000-16009, 2022.",
|
| 1194 |
+
"Yifan Hou and Matthew T. Mason. Robust execution of contact-rich motion plans by hybrid force-velocity control. In 2019 International Conference on Robotics and Automation (ICRA). IEEE, may 2019. doi: 10.1109/icra.2019.8794366. URL https://doi.org/10.1109%2Ficra.2019.8794366.",
|
| 1195 |
+
"Jingwei Huang, Hao Su, and Leonidas Guibas. Robust watertight manifold surface generation method for shapenet models. arXiv preprint arXiv:1802.01698, 2018.",
|
| 1196 |
+
"Wenlong Huang, Igor Mordatch, Pieter Abbeel, and Deepak Pathak. Generalization in dexterous manipulation via geometry-aware multi-task learning. arXiv preprint arXiv:2111.03062, 2021.",
|
| 1197 |
+
"Imin Kao, Kevin M. Lynch, and Joel W. Burdick. Contact Modeling and Manipulation. In *Springer Handbook of Robotics*, 2016.",
|
| 1198 |
+
"Minchan Kim, Junhyek Han, Jaehyung Kim, and Beomjoon Kim. Pre-and post-contact policy decomposition for non-prehensile manipulation with zero-shot sim-to-real transfer. arXiv preprint arXiv:2309.02754, 2023.",
|
| 1199 |
+
"Samuli Laine, Janne Hellsten, Tero Karras, Yeongho Seol, Jaakko Lehtinen, and Timo Aila. Modular primitives for high-performance differentiable rendering. ACM Transactions on Graphics (TOG), 39(6):1-14, 2020.",
|
| 1200 |
+
"Jacky Liang, Xianyi Cheng, and Oliver Kroemer. Learning Preconditions of Hybrid Force-Velocity Controllers for Contact-Rich Manipulation. In Conference on Robot Learning, 2022.",
|
| 1201 |
+
"Kendall Lowrey, Svetoslav Kolev, Jeremy Dao, Aravind Rajeswaran, and Emanuel Todorov. Reinforcement Learning for Non-Prehensile Manipulation: Transfer from Simulation to Physical System. In International Conference on Simulation, Modeling, and Programming for Autonomous Robots, 2018.",
|
| 1202 |
+
"Yusuke Maeda and Tamio Arai. Planning of graspless manipulation by a multifingered robot hand. Advanced Robotics, 19(5):501-521, 2005.",
|
| 1203 |
+
"Yusuke Maeda, Hirokazu Kijimoto, Yasumichi Aiyama, and Tamio Arai. Planning of graspless manipulation by multiple robot fingers. In Proceedings 2001 ICRA. IEEE International Conference on Robotics and Automation (Cat. No. 01CH37164), volume 3, pp. 2474-2479. IEEE, 2001."
|
| 1204 |
+
],
|
| 1205 |
+
"bbox": [
|
| 1206 |
+
171,
|
| 1207 |
+
102,
|
| 1208 |
+
825,
|
| 1209 |
+
924
|
| 1210 |
+
],
|
| 1211 |
+
"page_idx": 10
|
| 1212 |
+
},
|
| 1213 |
+
{
|
| 1214 |
+
"type": "header",
|
| 1215 |
+
"text": "Published as a conference paper at ICLR 2024",
|
| 1216 |
+
"bbox": [
|
| 1217 |
+
171,
|
| 1218 |
+
32,
|
| 1219 |
+
478,
|
| 1220 |
+
47
|
| 1221 |
+
],
|
| 1222 |
+
"page_idx": 10
|
| 1223 |
+
},
|
| 1224 |
+
{
|
| 1225 |
+
"type": "page_number",
|
| 1226 |
+
"text": "11",
|
| 1227 |
+
"bbox": [
|
| 1228 |
+
490,
|
| 1229 |
+
948,
|
| 1230 |
+
506,
|
| 1231 |
+
959
|
| 1232 |
+
],
|
| 1233 |
+
"page_idx": 10
|
| 1234 |
+
},
|
| 1235 |
+
{
|
| 1236 |
+
"type": "list",
|
| 1237 |
+
"sub_type": "ref_text",
|
| 1238 |
+
"list_items": [
|
| 1239 |
+
"Jeffrey Mahler, Jacky Liang, Sherdil Niyaz, Michael Laskey, Richard Doan, Xinyu Liu, Juan Aparicio, and Ken Goldberg. Dex-net 2.0: Deep learning to plan robust grasps with synthetic point clouds and analytic grasp metrics. In Proceedings of Robotics: Science and Systems, Cambridge, Massachusetts, July 2017. doi: 10.15607/RSS.2017.XIII.058.",
|
| 1240 |
+
"Viktor Makoviychuk, Lukasz Wawrzyniak, Yunrong Guo, Michelle Lu, Kier Storey, Miles Macklin, David Hoeller, Nikita Rudin, Arthur Allshire, Ankur Handa, et al. Isaac gym: High performancegpu-based physics simulation for robot learning. arXiv preprint arXiv:2108.10470, 2021.",
|
| 1241 |
+
"Kiyokazu Miyazawa, Yusuke Maeda, and Tamio Arai. Planning of graspless manipulation based on rapidly-exploring random trees. In (ISATP 2005). The 6th IEEE International Symposium on Assembly and Task Planning: From Nano to Macro Assembly and Manufacturing, 2005., pp. 7-12. IEEE, 2005.",
|
| 1242 |
+
"Igor Mordatch, Zoran Popovic, and Emanuel Todorov. Contact-Invariant Optimization for Hand Manipulation. In ACM SIGGRAPH/Eurographics Symposium on Computer Animation, 2012.",
|
| 1243 |
+
"João Moura, Theodoros Stouraitis, and Sethu Vijayakumar. Non-Prehensile Planar Manipulation via Trajectory Optimization with Complementarity Constraints. In International Conference on Robotics and Automation, 2022.",
|
| 1244 |
+
"Andrew Y Ng, Daishi Harada, and Stuart Russell. Policy invariance under reward transformations: Theory and application to reward shaping. In Icml, volume 99, pp. 278-287. CiteSeer, 1999.",
|
| 1245 |
+
"Yatian Pang, Wenxiao Wang, Francis EH Tay, Wei Liu, Yonghong Tian, and Li Yuan. Masked autoencoders for point cloud self-supervised learning. In European conference on computer vision, pp. 604-621. Springer, 2022.",
|
| 1246 |
+
"Xue Bin Peng, Marcin Andrychowicz, Wojciech Zaremba, and Pieter Abbeel. Sim-to-Real Transfer of Robotic Control with Dynamics Randomization. In International Conference on Robotics and Automation, 2018.",
|
| 1247 |
+
"Michael Posa, Cecilia Cantu, and Russ Tedrake. A Direct Method for Trajectory Optimization of Rigid Bodies Through Contact. The International Journal of Robotics Research, 2014.",
|
| 1248 |
+
"Charles R Qi, Hao Su, Kaichun Mo, and Leonidas J Guibas. Pointnet: Deep learning on point sets for 3d classification and segmentation. arXiv preprint arXiv:1612.00593, 2016.",
|
| 1249 |
+
"Charles Ruizhongtai Qi, Li Yi, Hao Su, and Leonidas J Guibas. Pointnet++: Deep hierarchical feature learning on point sets in a metric space. Advances in neural information processing systems, 30, 2017.",
|
| 1250 |
+
"Stéphane Ross, Geoffrey Gordon, and Drew Bagnell. A reduction of imitation learning and structured prediction to no-regret online learning. In Proceedings of the fourteenth international conference on artificial intelligence and statistics, pp. 627-635. JMLR Workshop and Conference Proceedings, 2011.",
|
| 1251 |
+
"John Schulman, Filip Wolski, Prafulla Dhariwal, Alec Radford, and Oleg Klimov. Proximal policy optimization algorithms. arXiv preprint arXiv:1707.06347, 2017.",
|
| 1252 |
+
"Rutav Shah and Vikash Kumar. Rrl: Resnet as representation for reinforcement learning. In International Conference on Machine Learning. PMLR, 2021.",
|
| 1253 |
+
"Haizhou Shi, Youcai Zhang, Siliang Tang, Wenjie Zhu, Yaqian Li, Yandong Guo, and Yueting Zhuang. On the efficacy of small self-supervised contrastive models without distillation signals. In Proceedings of the AAAI Conference on Artificial Intelligence, 2022.",
|
| 1254 |
+
"Dongwon Son and Beomjoon Kim. Local object crop collision network for efficient simulation of non-convex objects in GPU-based simulators. In Proceedings of Robotics: Science and Systems, Daegu, Republic of Korea, July 2023. doi: 10.15607/RSS.2023.XIX.033.",
|
| 1255 |
+
"Weikang Wan, Haoran Geng, Yun Liu, Zikang Shan, Yaodong Yang, Li Yi, and He Wang. Unidex-grasp++: Improving dexterous grasping policy learning via geometry-aware curriculum and iterative generalist-specialist learning. arXiv preprint arXiv:2304.00464, 2023."
|
| 1256 |
+
],
|
| 1257 |
+
"bbox": [
|
| 1258 |
+
171,
|
| 1259 |
+
102,
|
| 1260 |
+
825,
|
| 1261 |
+
924
|
| 1262 |
+
],
|
| 1263 |
+
"page_idx": 11
|
| 1264 |
+
},
|
| 1265 |
+
{
|
| 1266 |
+
"type": "header",
|
| 1267 |
+
"text": "Published as a conference paper at ICLR 2024",
|
| 1268 |
+
"bbox": [
|
| 1269 |
+
171,
|
| 1270 |
+
32,
|
| 1271 |
+
478,
|
| 1272 |
+
47
|
| 1273 |
+
],
|
| 1274 |
+
"page_idx": 11
|
| 1275 |
+
},
|
| 1276 |
+
{
|
| 1277 |
+
"type": "page_number",
|
| 1278 |
+
"text": "12",
|
| 1279 |
+
"bbox": [
|
| 1280 |
+
490,
|
| 1281 |
+
946,
|
| 1282 |
+
508,
|
| 1283 |
+
959
|
| 1284 |
+
],
|
| 1285 |
+
"page_idx": 11
|
| 1286 |
+
},
|
| 1287 |
+
{
|
| 1288 |
+
"type": "list",
|
| 1289 |
+
"sub_type": "ref_text",
|
| 1290 |
+
"list_items": [
|
| 1291 |
+
"Hanchen Wang, Qi Liu, Xiangyu Yue, Joan Lasenby, and Matthew J. Kusner. Unsupervised point cloud pre-training via occlusion completion. In International Conference on Computer Vision, ICCV, 2021.",
|
| 1292 |
+
"John Wang and Edwin Olson. AprilTag 2: Efficient and robust fiducial detection. In Proceedings of the IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS), October 2016.",
|
| 1293 |
+
"Ruicheng Wang, Jialiang Zhang, Jiayi Chen, Yinzhen Xu, Puhao Li, Tengyu Liu, and He Wang. Drexgraspt: A large-scale robotic dexterous grasp dataset for general objects based on simulation. In 2023 IEEE International Conference on Robotics and Automation (ICRA), pp. 11359-11366. IEEE, 2023.",
|
| 1294 |
+
"Xinyue Wei, Minghua Liu, Zhan Ling, and Hao Su. Approximate convex decomposition for 3d meshes with collision-aware concavity and tree search. ACM Transactions on Graphics (TOG), 41(4):1-18, 2022.",
|
| 1295 |
+
"Saining Xie, Jiatao Gu, Demi Guo, Charles R Qi, Leonidas Guibas, and Or Litany. Pointcontrast: Unsupervised pre-training for 3d point cloud understanding. In Computer Vision-ECCV 2020: 16th European Conference, Glasgow, UK, August 23-28, 2020, Proceedings, Part III 16, pp. 574-591. Springer, 2020.",
|
| 1296 |
+
"Xumin Yu, Lulu Tang, Yongming Rao, Tiejun Huang, Jie Zhou, and Jiwen Lu. Point-bert: Pretraining 3d point cloud transformers with masked point modeling. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 2022.",
|
| 1297 |
+
"Weihao Yuan, Johannes A Stork, Danica Kragic, Michael Y Wang, and Kaiyu Hang. Rearrange-ment with Nonprehensile Manipulation Using Deep Reinforcement Learning. In International Conference on Robotics and Automation, 2018.",
|
| 1298 |
+
"Weihao Yuan, Kaiyu Hang, Danica Kragic, Michael Y Wang, and Johannes A Stork. End-to-End Nonprehensile Rearrangement with Deep Reinforcement Learning and Simulation-to-Reality Transfer. Robotics and Autonomous Systems, 2019.",
|
| 1299 |
+
"Karim Abou Zeid, Jonas Schult, Alexander Hermans, and Bastian Leibe. Point2vec for self-supervised representation learning on point clouds. arXiv preprint arXiv:2303.16570, 2023.",
|
| 1300 |
+
"Renrui Zhang, Ziyu Guo, Peng Gao, Rongyao Fang, Bin Zhao, Dong Wang, Yu Qiao, and Hongsheng Li. Point-m2ae: multi-scale masked autoencoders for hierarchical point cloud pre-training. Advances in neural information processing systems, 35:27061-27074, 2022.",
|
| 1301 |
+
"Hengshuang Zhao, Li Jiang, Jiaya Jia, Philip HS Torr, and Vladlen Koltun. Point transformer. In Proceedings of the IEEE/CVF international conference on computer vision, pp. 16259-16268, 2021.",
|
| 1302 |
+
"Wenxuan Zhou and David Held. Learning to grasp the ungraspable with emergent extrinsic dexterity. In Conference on Robot Learning, pp. 150-160. PMLR, 2023.",
|
| 1303 |
+
"Wenxuan Zhou, Bowen Jiang, Fan Yang, Chris Paxton, and David Held. Hacman: Learning hybrid actor-critic maps for 6d non-prehensile manipulation. In Conference on Robot Learning. PMLR, 2023.",
|
| 1304 |
+
"Yi Zhou, Connelly Barnes, Jingwan Lu, Jimei Yang, and Hao Li. On the continuity of rotation representations in neural networks. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 5745-5753, 2019.",
|
| 1305 |
+
"Claudio Zito, Rustam Stolkin, Marek Kopicki, and Jeremy L Wyatt. Two-Level RRT Planning for Robotic Push Manipulation. In International Conference on Intelligent Robots and Systems, 2012."
|
| 1306 |
+
],
|
| 1307 |
+
"bbox": [
|
| 1308 |
+
171,
|
| 1309 |
+
102,
|
| 1310 |
+
826,
|
| 1311 |
+
916
|
| 1312 |
+
],
|
| 1313 |
+
"page_idx": 12
|
| 1314 |
+
},
|
| 1315 |
+
{
|
| 1316 |
+
"type": "header",
|
| 1317 |
+
"text": "Published as a conference paper at ICLR 2024",
|
| 1318 |
+
"bbox": [
|
| 1319 |
+
171,
|
| 1320 |
+
32,
|
| 1321 |
+
478,
|
| 1322 |
+
47
|
| 1323 |
+
],
|
| 1324 |
+
"page_idx": 12
|
| 1325 |
+
},
|
| 1326 |
+
{
|
| 1327 |
+
"type": "page_number",
|
| 1328 |
+
"text": "13",
|
| 1329 |
+
"bbox": [
|
| 1330 |
+
490,
|
| 1331 |
+
946,
|
| 1332 |
+
508,
|
| 1333 |
+
959
|
| 1334 |
+
],
|
| 1335 |
+
"page_idx": 12
|
| 1336 |
+
},
|
| 1337 |
+
{
|
| 1338 |
+
"type": "text",
|
| 1339 |
+
"text": "A APPENDIX",
|
| 1340 |
+
"text_level": 1,
|
| 1341 |
+
"bbox": [
|
| 1342 |
+
171,
|
| 1343 |
+
102,
|
| 1344 |
+
299,
|
| 1345 |
+
117
|
| 1346 |
+
],
|
| 1347 |
+
"page_idx": 13
|
| 1348 |
+
},
|
| 1349 |
+
{
|
| 1350 |
+
"type": "text",
|
| 1351 |
+
"text": "A.1 STUDENT MODEL",
|
| 1352 |
+
"text_level": 1,
|
| 1353 |
+
"bbox": [
|
| 1354 |
+
171,
|
| 1355 |
+
133,
|
| 1356 |
+
344,
|
| 1357 |
+
148
|
| 1358 |
+
],
|
| 1359 |
+
"page_idx": 13
|
| 1360 |
+
},
|
| 1361 |
+
{
|
| 1362 |
+
"type": "image",
|
| 1363 |
+
"img_path": "images/aef91ba63a2083e115447ce59a1063bfab7a3570d93ca8d7841a641b20f69421.jpg",
|
| 1364 |
+
"image_caption": [
|
| 1365 |
+
"Figure A.1: Student Model Architecture in DAgger."
|
| 1366 |
+
],
|
| 1367 |
+
"image_footnote": [],
|
| 1368 |
+
"bbox": [
|
| 1369 |
+
256,
|
| 1370 |
+
171,
|
| 1371 |
+
736,
|
| 1372 |
+
390
|
| 1373 |
+
],
|
| 1374 |
+
"page_idx": 13
|
| 1375 |
+
},
|
| 1376 |
+
{
|
| 1377 |
+
"type": "text",
|
| 1378 |
+
"text": "The student policy shares a similar architecture with the teacher policy, with two distinctions. Unlike teacher policy, which employs joint state, previous action, and goal inputs for generating query tokens for cross-attention, we incorporate these tokens into the input of the patch transformer within the encoder to facilitate extracting task-relevant features from partial point clouds. Given that these inputs are already incorporated in the input of the encoder, we use learned query tokens for cross-attention.",
|
| 1379 |
+
"bbox": [
|
| 1380 |
+
169,
|
| 1381 |
+
444,
|
| 1382 |
+
823,
|
| 1383 |
+
527
|
| 1384 |
+
],
|
| 1385 |
+
"page_idx": 13
|
| 1386 |
+
},
|
| 1387 |
+
{
|
| 1388 |
+
"type": "text",
|
| 1389 |
+
"text": "Since the student policy can only perceive limited shape information of objects at any given moment due to occlusion, we incorporate a two-layer Gated Recurrent Unit (GRU) (Cho et al., 2014) on top of the student point cloud encoder. This enables the student model to aggregate partial observations of object geometry based on historical observations.",
|
| 1390 |
+
"bbox": [
|
| 1391 |
+
169,
|
| 1392 |
+
534,
|
| 1393 |
+
823,
|
| 1394 |
+
592
|
| 1395 |
+
],
|
| 1396 |
+
"page_idx": 13
|
| 1397 |
+
},
|
| 1398 |
+
{
|
| 1399 |
+
"type": "text",
|
| 1400 |
+
"text": "We train the student with DAgger with truncated backpropagation through time (BPTT). In particular, we run the student for 8 time-steps and update its parameters to minimize KL-divergence between the action distribution of the teacher policy and the student policy.",
|
| 1401 |
+
"bbox": [
|
| 1402 |
+
169,
|
| 1403 |
+
597,
|
| 1404 |
+
823,
|
| 1405 |
+
642
|
| 1406 |
+
],
|
| 1407 |
+
"page_idx": 13
|
| 1408 |
+
},
|
| 1409 |
+
{
|
| 1410 |
+
"type": "text",
|
| 1411 |
+
"text": "A.2 DETAILS ON POLICY ACTION SPACE",
|
| 1412 |
+
"text_level": 1,
|
| 1413 |
+
"bbox": [
|
| 1414 |
+
171,
|
| 1415 |
+
657,
|
| 1416 |
+
472,
|
| 1417 |
+
672
|
| 1418 |
+
],
|
| 1419 |
+
"page_idx": 13
|
| 1420 |
+
},
|
| 1421 |
+
{
|
| 1422 |
+
"type": "text",
|
| 1423 |
+
"text": "The action space of our policy consists of the subgoal residual of the end-effector $\\Delta T_{ee}$ and joint-space gains. The subgoal residual is parameterized by the translational offset $\\Delta t\\in \\mathbb{R}^3$ and axis-angle representation of the residual rotation in the world frame $\\Delta r\\in \\mathbb{R}^3$ . The joint-space gains are parameterized by proportional terms $(k_{p}\\in \\mathbb{R}^{7})$ and damping factors $(\\rho \\in \\mathbb{R}^7)$ of a variable impedance controller. Based on this, we compute the joint position target by solving inverse kinematics with damped least squares method (Buss, 2004) as $q_{target} = q_t + IK(\\Delta T_{ee})$ . The torque command for each joint is computed based on the joint position error and the predicted joint-space gains and damping factors as $\\tau = k_p(q_{target} - q_t) - k_d\\dot{q}_t$ , $k_{d} = \\rho \\cdot \\sqrt{k_{p}}$ .",
|
| 1424 |
+
"bbox": [
|
| 1425 |
+
169,
|
| 1426 |
+
683,
|
| 1427 |
+
823,
|
| 1428 |
+
799
|
| 1429 |
+
],
|
| 1430 |
+
"page_idx": 13
|
| 1431 |
+
},
|
| 1432 |
+
{
|
| 1433 |
+
"type": "text",
|
| 1434 |
+
"text": "A.3 DATA GENERATION AND PRETRAINING PIPELINES",
|
| 1435 |
+
"text_level": 1,
|
| 1436 |
+
"bbox": [
|
| 1437 |
+
171,
|
| 1438 |
+
814,
|
| 1439 |
+
568,
|
| 1440 |
+
829
|
| 1441 |
+
],
|
| 1442 |
+
"page_idx": 13
|
| 1443 |
+
},
|
| 1444 |
+
{
|
| 1445 |
+
"type": "text",
|
| 1446 |
+
"text": "P2V-LITE. For pretraining P2V-LITE, we follow the same procedure as Zeid et al. (2023), except we use the same architecture as OURs. Due to the use of a significantly lighter model, we apply two modifications to the original training setup, as follows: first, since we only use a two-layer transformer, instead of averaging over the last 6 layers of the teacher, we take the result after layer-normalization of the final layer, which keeps the ratio consistent (50% of layers). Second, we replace DropPath layers with dropout since the model is shallow. Otherwise, we follow the original hyper",
|
| 1447 |
+
"bbox": [
|
| 1448 |
+
169,
|
| 1449 |
+
839,
|
| 1450 |
+
826,
|
| 1451 |
+
926
|
| 1452 |
+
],
|
| 1453 |
+
"page_idx": 13
|
| 1454 |
+
},
|
| 1455 |
+
{
|
| 1456 |
+
"type": "header",
|
| 1457 |
+
"text": "Published as a conference paper at ICLR 2024",
|
| 1458 |
+
"bbox": [
|
| 1459 |
+
171,
|
| 1460 |
+
32,
|
| 1461 |
+
478,
|
| 1462 |
+
47
|
| 1463 |
+
],
|
| 1464 |
+
"page_idx": 13
|
| 1465 |
+
},
|
| 1466 |
+
{
|
| 1467 |
+
"type": "page_number",
|
| 1468 |
+
"text": "14",
|
| 1469 |
+
"bbox": [
|
| 1470 |
+
490,
|
| 1471 |
+
946,
|
| 1472 |
+
509,
|
| 1473 |
+
959
|
| 1474 |
+
],
|
| 1475 |
+
"page_idx": 13
|
| 1476 |
+
},
|
| 1477 |
+
{
|
| 1478 |
+
"type": "text",
|
| 1479 |
+
"text": "parameters from the paper and the author's code(https://github.com/kabouzeid/point2vec).",
|
| 1480 |
+
"bbox": [
|
| 1481 |
+
169,
|
| 1482 |
+
103,
|
| 1483 |
+
823,
|
| 1484 |
+
133
|
| 1485 |
+
],
|
| 1486 |
+
"page_idx": 14
|
| 1487 |
+
},
|
| 1488 |
+
{
|
| 1489 |
+
"type": "text",
|
| 1490 |
+
"text": "ROT. For pretraining ROT, we follow the procedure described in Chen et al. (2022). Since the authors report that adding the classification objective does not influence the encoder quality, we omit the classification terms. For the training data, we use ShapeNet Chang et al. (2015) dataset. We apply two different SO(3) transformations to the same point cloud, and pass it through the encoder to obtain the patchwise embeddings. We concatenate the patchwise embeddings from both streams, then pass it through a 3-layer MLP (512, 64, 6). We train the encoder on the regression task, where the task for the decoder is to regress the parameters for a 6D rotation Zhou et al. (2019) as recommended from Chen et al. (2022).",
|
| 1491 |
+
"bbox": [
|
| 1492 |
+
169,
|
| 1493 |
+
138,
|
| 1494 |
+
826,
|
| 1495 |
+
252
|
| 1496 |
+
],
|
| 1497 |
+
"page_idx": 14
|
| 1498 |
+
},
|
| 1499 |
+
{
|
| 1500 |
+
"type": "text",
|
| 1501 |
+
"text": "OURS-PN. For pretraining PN, we use the same dataset from OURs. Since PointNet does not produce patchwise embeddings, we instead adopt a U-Net architecture based on PyG Fey & Lenssen (2019). To inform the model about the end-effector, we concatenate the hand pose (position and orientation Zhou et al. (2019)) to each point in the channel dimension.",
|
| 1502 |
+
"bbox": [
|
| 1503 |
+
169,
|
| 1504 |
+
257,
|
| 1505 |
+
826,
|
| 1506 |
+
316
|
| 1507 |
+
],
|
| 1508 |
+
"page_idx": 14
|
| 1509 |
+
},
|
| 1510 |
+
{
|
| 1511 |
+
"type": "text",
|
| 1512 |
+
"text": "A.4 REAL WORLD SYSTEM AND PERCEPTION PIPELINE",
|
| 1513 |
+
"text_level": 1,
|
| 1514 |
+
"bbox": [
|
| 1515 |
+
171,
|
| 1516 |
+
342,
|
| 1517 |
+
580,
|
| 1518 |
+
357
|
| 1519 |
+
],
|
| 1520 |
+
"page_idx": 14
|
| 1521 |
+
},
|
| 1522 |
+
{
|
| 1523 |
+
"type": "text",
|
| 1524 |
+
"text": "Point Cloud Segmentation. In the point cloud segmentation phase, we integrate three RealSense D435 cameras. Points outside the predefined 3D bounding-box workspace above table are first removed, and those within a distance less than the threshold $\\epsilon = 1\\mathrm{cm}$ from the table surface are removed next. These parameters were determined empirically to handle outliers without removing too much of the object. For thin objects such as cards, we alternatively employ color-based segmentation to remove the table from the point cloud, avoiding the risk of inadvertently removing object points.",
|
| 1525 |
+
"bbox": [
|
| 1526 |
+
169,
|
| 1527 |
+
372,
|
| 1528 |
+
823,
|
| 1529 |
+
470
|
| 1530 |
+
],
|
| 1531 |
+
"page_idx": 14
|
| 1532 |
+
},
|
| 1533 |
+
{
|
| 1534 |
+
"type": "text",
|
| 1535 |
+
"text": "After removing the table, only the object and the robot remains. To remove the robot, we compute the transform of all robot links based on the robot kinematics, then query the points as to whether it is contained within each link mesh. For efficiency, we first apply convex decomposition on the robot geometry, and employ point-convex intersection to check whether the point belongs to the robot. We initially tried using robot-points removal based on raycasting the point-to-robot mesh distances, but we found it was much slower than the convex-hull based method.",
|
| 1536 |
+
"bbox": [
|
| 1537 |
+
169,
|
| 1538 |
+
476,
|
| 1539 |
+
825,
|
| 1540 |
+
561
|
| 1541 |
+
],
|
| 1542 |
+
"page_idx": 14
|
| 1543 |
+
},
|
| 1544 |
+
{
|
| 1545 |
+
"type": "text",
|
| 1546 |
+
"text": "To reduce noise in the point cloud, we employ a radius outlier removal logic with $r = 2$ cm and $n_{\\mathrm{min}} = 96$ points, which is the minimum number of points that the inlier should contain within the neighborhood. Finally, to identify the object point cluster, we used DBSCAN clustering algorithm. Clusters were computed with $\\epsilon = 1$ cm and the number of neighbors as 4 to form the core-set.",
|
| 1547 |
+
"bbox": [
|
| 1548 |
+
169,
|
| 1549 |
+
566,
|
| 1550 |
+
826,
|
| 1551 |
+
625
|
| 1552 |
+
],
|
| 1553 |
+
"page_idx": 14
|
| 1554 |
+
},
|
| 1555 |
+
{
|
| 1556 |
+
"type": "text",
|
| 1557 |
+
"text": "To enhance processing speed, we optimized the entire segmentation pipeline to utilize tensor operations executed on the GPU. The output object point cloud of this segmentation process serves as input for both our policy and object pose tracking pipeline.",
|
| 1558 |
+
"bbox": [
|
| 1559 |
+
169,
|
| 1560 |
+
630,
|
| 1561 |
+
823,
|
| 1562 |
+
674
|
| 1563 |
+
],
|
| 1564 |
+
"page_idx": 14
|
| 1565 |
+
},
|
| 1566 |
+
{
|
| 1567 |
+
"type": "text",
|
| 1568 |
+
"text": "Object Pose Tracking. To trade-off tracking speed and performance, we first subsample the object point clouds randomly to $n_{\\mathrm{track}} = 2048$ points. Empirically, we found that this avoids compromising the quality of the ICP(Iterative Closest Point) algorithm, while remaining reasonably fast.",
|
| 1569 |
+
"bbox": [
|
| 1570 |
+
169,
|
| 1571 |
+
679,
|
| 1572 |
+
823,
|
| 1573 |
+
722
|
| 1574 |
+
],
|
| 1575 |
+
"page_idx": 14
|
| 1576 |
+
},
|
| 1577 |
+
{
|
| 1578 |
+
"type": "text",
|
| 1579 |
+
"text": "We employ ICP for tracking. Given the object point cloud $C_t$ at current time step $t$ , we conduct point-to-plane ICP registrations with point cloud of previous timestep $C_{t-1}$ , resulting in a transformation $P_{t,t-1} = \\mathrm{ICP}(C_t, C_{t-1})$ . The current object pose $T_{O_t}$ is obtained by recursively applying pairwise transformations: $T_{O_t} = P_{t,t-1} \\cdot T_{O_{t-1}}$ . In the case that the transform drifts over time, we also perform an additional ICP match with the initial object point cloud $P_{t,0} = \\mathrm{ICP}(C_t, C_0)$ to correct the error. If the fitness score $Fitness_{t,0}$ exceeds 60%, current object pose is calculated as $T_{O_t} = P_{t,0} \\cdot T_{O_0}$ .",
|
| 1580 |
+
"bbox": [
|
| 1581 |
+
169,
|
| 1582 |
+
728,
|
| 1583 |
+
825,
|
| 1584 |
+
828
|
| 1585 |
+
],
|
| 1586 |
+
"page_idx": 14
|
| 1587 |
+
},
|
| 1588 |
+
{
|
| 1589 |
+
"type": "text",
|
| 1590 |
+
"text": "For thin objects, we utilize point-to-point ICP matching since their point cloud nearly forms a single plane. While the ICP tracker performs well for large and non-symmetrical objects, it struggles with highly symmetrical objects, or objects with point-matching ambiguity under occlusion (e.g. when cup handles are occluded by the robot).",
|
| 1591 |
+
"bbox": [
|
| 1592 |
+
169,
|
| 1593 |
+
832,
|
| 1594 |
+
823,
|
| 1595 |
+
888
|
| 1596 |
+
],
|
| 1597 |
+
"page_idx": 14
|
| 1598 |
+
},
|
| 1599 |
+
{
|
| 1600 |
+
"type": "text",
|
| 1601 |
+
"text": "To address this challenge, we tried color-based ICP to resolve the ambiguity based on surface texture. However, we found that it did not improve tracking performance and, in some cases, even",
|
| 1602 |
+
"bbox": [
|
| 1603 |
+
169,
|
| 1604 |
+
895,
|
| 1605 |
+
823,
|
| 1606 |
+
926
|
| 1607 |
+
],
|
| 1608 |
+
"page_idx": 14
|
| 1609 |
+
},
|
| 1610 |
+
{
|
| 1611 |
+
"type": "header",
|
| 1612 |
+
"text": "Published as a conference paper at ICLR 2024",
|
| 1613 |
+
"bbox": [
|
| 1614 |
+
171,
|
| 1615 |
+
32,
|
| 1616 |
+
478,
|
| 1617 |
+
47
|
| 1618 |
+
],
|
| 1619 |
+
"page_idx": 14
|
| 1620 |
+
},
|
| 1621 |
+
{
|
| 1622 |
+
"type": "page_number",
|
| 1623 |
+
"text": "15",
|
| 1624 |
+
"bbox": [
|
| 1625 |
+
490,
|
| 1626 |
+
946,
|
| 1627 |
+
508,
|
| 1628 |
+
960
|
| 1629 |
+
],
|
| 1630 |
+
"page_idx": 14
|
| 1631 |
+
},
|
| 1632 |
+
{
|
| 1633 |
+
"type": "text",
|
| 1634 |
+
"text": "worsened it. As such, we used april-tag tracker to maintain object pose tracking accuracy for highly symmetrical objects.",
|
| 1635 |
+
"bbox": [
|
| 1636 |
+
169,
|
| 1637 |
+
103,
|
| 1638 |
+
823,
|
| 1639 |
+
133
|
| 1640 |
+
],
|
| 1641 |
+
"page_idx": 15
|
| 1642 |
+
},
|
| 1643 |
+
{
|
| 1644 |
+
"type": "text",
|
| 1645 |
+
"text": "A.5 EXAMPLE TRAJECTORIES",
|
| 1646 |
+
"text_level": 1,
|
| 1647 |
+
"bbox": [
|
| 1648 |
+
171,
|
| 1649 |
+
148,
|
| 1650 |
+
397,
|
| 1651 |
+
162
|
| 1652 |
+
],
|
| 1653 |
+
"page_idx": 15
|
| 1654 |
+
},
|
| 1655 |
+
{
|
| 1656 |
+
"type": "text",
|
| 1657 |
+
"text": "Example trajectories can be observed from the video in the supplementary material, or from http://sites.google.com/view/contact-non-prehensile.",
|
| 1658 |
+
"bbox": [
|
| 1659 |
+
169,
|
| 1660 |
+
174,
|
| 1661 |
+
823,
|
| 1662 |
+
204
|
| 1663 |
+
],
|
| 1664 |
+
"page_idx": 15
|
| 1665 |
+
},
|
| 1666 |
+
{
|
| 1667 |
+
"type": "text",
|
| 1668 |
+
"text": "A.6 SIMULATION SETUP",
|
| 1669 |
+
"text_level": 1,
|
| 1670 |
+
"bbox": [
|
| 1671 |
+
171,
|
| 1672 |
+
219,
|
| 1673 |
+
359,
|
| 1674 |
+
233
|
| 1675 |
+
],
|
| 1676 |
+
"page_idx": 15
|
| 1677 |
+
},
|
| 1678 |
+
{
|
| 1679 |
+
"type": "text",
|
| 1680 |
+
"text": "A.6.1 STABLE POSES GENERATION",
|
| 1681 |
+
"text_level": 1,
|
| 1682 |
+
"bbox": [
|
| 1683 |
+
171,
|
| 1684 |
+
244,
|
| 1685 |
+
433,
|
| 1686 |
+
258
|
| 1687 |
+
],
|
| 1688 |
+
"page_idx": 15
|
| 1689 |
+
},
|
| 1690 |
+
{
|
| 1691 |
+
"type": "text",
|
| 1692 |
+
"text": "To sample stable poses for training, we drop the objects in a simulation and extract the poses after stabilization. In $80\\%$ of the trials, we drop the object $0.2\\mathrm{m}$ above the table in a uniformly random orientation. In the remaining $20\\%$ , we drop the objects from their canonical orientations, to increase the chance of landing in standing poses, as they are less likely to occur naturally. If the object remains stationary for 10 consecutive timesteps, and its center of mass projects within the support polygon of the object, then we consider the pose to be stable. We repeat this process to collect at least 128 initial candidates for each object, then keep the unique orientations by pruning equivalent orientations that only differ by a planar rotation about the z-axis.",
|
| 1693 |
+
"bbox": [
|
| 1694 |
+
169,
|
| 1695 |
+
268,
|
| 1696 |
+
826,
|
| 1697 |
+
381
|
| 1698 |
+
],
|
| 1699 |
+
"page_idx": 15
|
| 1700 |
+
},
|
| 1701 |
+
{
|
| 1702 |
+
"type": "text",
|
| 1703 |
+
"text": "A.6.2 OBJECTS FOR TRAINING",
|
| 1704 |
+
"text_level": 1,
|
| 1705 |
+
"bbox": [
|
| 1706 |
+
171,
|
| 1707 |
+
395,
|
| 1708 |
+
405,
|
| 1709 |
+
409
|
| 1710 |
+
],
|
| 1711 |
+
"page_idx": 15
|
| 1712 |
+
},
|
| 1713 |
+
{
|
| 1714 |
+
"type": "text",
|
| 1715 |
+
"text": "We sample 323 objects from the DexGraspNet dataset (Wang et al., 2023), shown in Figure A.2. To increase the simulation speed and stability, we apply convex decomposition on every mesh using CoACD (Wei et al., 2022), after generating the watertight mesh with simplification using Manifold (Huang et al., 2018).",
|
| 1716 |
+
"bbox": [
|
| 1717 |
+
169,
|
| 1718 |
+
419,
|
| 1719 |
+
823,
|
| 1720 |
+
476
|
| 1721 |
+
],
|
| 1722 |
+
"page_idx": 15
|
| 1723 |
+
},
|
| 1724 |
+
{
|
| 1725 |
+
"type": "image",
|
| 1726 |
+
"img_path": "images/d9742d011dc7627afa77e2c3b49c1ea2ab65d9103965732f717e2790b115fe42.jpg",
|
| 1727 |
+
"image_caption": [
|
| 1728 |
+
"Figure A.2: 323 object meshes that were used for training."
|
| 1729 |
+
],
|
| 1730 |
+
"image_footnote": [],
|
| 1731 |
+
"bbox": [
|
| 1732 |
+
238,
|
| 1733 |
+
488,
|
| 1734 |
+
759,
|
| 1735 |
+
888
|
| 1736 |
+
],
|
| 1737 |
+
"page_idx": 15
|
| 1738 |
+
},
|
| 1739 |
+
{
|
| 1740 |
+
"type": "header",
|
| 1741 |
+
"text": "Published as a conference paper at ICLR 2024",
|
| 1742 |
+
"bbox": [
|
| 1743 |
+
171,
|
| 1744 |
+
32,
|
| 1745 |
+
478,
|
| 1746 |
+
47
|
| 1747 |
+
],
|
| 1748 |
+
"page_idx": 15
|
| 1749 |
+
},
|
| 1750 |
+
{
|
| 1751 |
+
"type": "page_number",
|
| 1752 |
+
"text": "16",
|
| 1753 |
+
"bbox": [
|
| 1754 |
+
490,
|
| 1755 |
+
946,
|
| 1756 |
+
509,
|
| 1757 |
+
960
|
| 1758 |
+
],
|
| 1759 |
+
"page_idx": 15
|
| 1760 |
+
},
|
| 1761 |
+
{
|
| 1762 |
+
"type": "text",
|
| 1763 |
+
"text": "A.7 HYPERPARAMETERS",
|
| 1764 |
+
"text_level": 1,
|
| 1765 |
+
"bbox": [
|
| 1766 |
+
171,
|
| 1767 |
+
103,
|
| 1768 |
+
362,
|
| 1769 |
+
118
|
| 1770 |
+
],
|
| 1771 |
+
"page_idx": 16
|
| 1772 |
+
},
|
| 1773 |
+
{
|
| 1774 |
+
"type": "table",
|
| 1775 |
+
"img_path": "images/60e53b21568c98c9b3722ae776390e9a7282b597fac2915ec84e98955286d9bd.jpg",
|
| 1776 |
+
"table_caption": [
|
| 1777 |
+
"Table A.1: Hyperparameters for reward computation."
|
| 1778 |
+
],
|
| 1779 |
+
"table_footnote": [],
|
| 1780 |
+
"table_body": "<table><tr><td>Parameter</td><td>Value</td><td>Description</td></tr><tr><td>kg</td><td>0.302</td><td>Goal-reaching reward coefficient</td></tr><tr><td>kr</td><td>0.0604</td><td>Hand-reaching reward coefficient</td></tr><tr><td>ke</td><td>0.0001</td><td>Energy penalty coefficient</td></tr><tr><td>kd</td><td>243.12</td><td>Decay factor for potential-based reward</td></tr></table>",
|
| 1781 |
+
"bbox": [
|
| 1782 |
+
334,
|
| 1783 |
+
159,
|
| 1784 |
+
663,
|
| 1785 |
+
227
|
| 1786 |
+
],
|
| 1787 |
+
"page_idx": 16
|
| 1788 |
+
},
|
| 1789 |
+
{
|
| 1790 |
+
"type": "table",
|
| 1791 |
+
"img_path": "images/bb89ec5449f11ec0bf0b4f1a4877216e3d88e4d29310a7ec0aaeccc29648eb1d.jpg",
|
| 1792 |
+
"table_caption": [
|
| 1793 |
+
"Table A.2: Hyperparameters for Encoder and Policy."
|
| 1794 |
+
],
|
| 1795 |
+
"table_footnote": [],
|
| 1796 |
+
"table_body": "<table><tr><td>Hyperparameter</td><td>Value</td><td>Hyperparameter</td><td>Value</td><td>Hyperparameter</td><td>Value</td></tr><tr><td>Num. points</td><td>512</td><td>Hidden dim.</td><td>128</td><td>Shared MLP</td><td>MLP (512, 256, 128)</td></tr><tr><td>Num. patches</td><td>16</td><td>Num. layer</td><td>2</td><td>Actor</td><td>MLP (64, 1)</td></tr><tr><td>Patch size</td><td>32</td><td>Num. attention head in self-attention</td><td>4</td><td>Critic</td><td>MLP(64, 20)</td></tr><tr><td>Concatenate context input</td><td>True</td><td>Num. attention head in cross-attention (teacher/student)</td><td>16/4</td><td></td><td></td></tr></table>",
|
| 1797 |
+
"bbox": [
|
| 1798 |
+
173,
|
| 1799 |
+
273,
|
| 1800 |
+
823,
|
| 1801 |
+
407
|
| 1802 |
+
],
|
| 1803 |
+
"page_idx": 16
|
| 1804 |
+
},
|
| 1805 |
+
{
|
| 1806 |
+
"type": "table",
|
| 1807 |
+
"img_path": "images/442b05afd9be72cdaafde706ae8b816e4b82b46ee4fe7bf1e24eeddc716aa5e9.jpg",
|
| 1808 |
+
"table_caption": [
|
| 1809 |
+
"Table A.3: Hyperparameters for PPO."
|
| 1810 |
+
],
|
| 1811 |
+
"table_footnote": [],
|
| 1812 |
+
"table_body": "<table><tr><td>Hyperparameter</td><td>Value</td><td>Hyperparameter</td><td>Value</td><td>Hyperparameter</td><td>Value</td><td>Hyperparameter</td><td>Value</td></tr><tr><td>Max Num. epoch</td><td>8</td><td>Base learning rate</td><td>0.0003</td><td>GAE parameter</td><td>0.95</td><td>Num. environment</td><td>4096</td></tr><tr><td>Early-stopping KL target</td><td>0.024</td><td>Adaptive-LR KL target</td><td>0.016</td><td>Discount factor</td><td>0.99</td><td>Episode length</td><td>300</td></tr><tr><td>Entropy regularization</td><td>0</td><td>Learning rate schedule</td><td>adaptive</td><td>PPO clip range</td><td>0.3</td><td>Update frequency</td><td>8</td></tr><tr><td>Policy loss coeff.</td><td>2</td><td>Value loss coeff.</td><td>0.5</td><td>Bound loss coeff.</td><td>0.02</td><td></td><td></td></tr></table>",
|
| 1813 |
+
"bbox": [
|
| 1814 |
+
173,
|
| 1815 |
+
452,
|
| 1816 |
+
823,
|
| 1817 |
+
508
|
| 1818 |
+
],
|
| 1819 |
+
"page_idx": 16
|
| 1820 |
+
},
|
| 1821 |
+
{
|
| 1822 |
+
"type": "table",
|
| 1823 |
+
"img_path": "images/092601fc5fb90413559aa90478c705112dd60b06647b3d37fa217bc77891ed8e.jpg",
|
| 1824 |
+
"table_caption": [
|
| 1825 |
+
"Table A.4: Range for domain randomization. $\\mathcal{U}[min, max]$ denotes uniform distribution, and $\\mathcal{N}[\\mu, \\sigma]$ denotes Normal distribution. Point cloud noise and Goal pose noise are added to the normalized input."
|
| 1826 |
+
],
|
| 1827 |
+
"table_footnote": [],
|
| 1828 |
+
"table_body": "<table><tr><td>Parameter</td><td>Range</td></tr><tr><td>Object mass (kg)</td><td>U[0.1, 0.5]</td></tr><tr><td>Object scale (m)</td><td>U[0.1, 0.3]</td></tr><tr><td>Object friction</td><td>U[0.7, 1.0]</td></tr><tr><td>Table friction</td><td>U[0.3, 0.8]</td></tr><tr><td>Gripper friction</td><td>U[1.0, 1.5]</td></tr><tr><td>Torque noise</td><td>N[0.0, 0.03]</td></tr><tr><td>Point cloud noise</td><td>N[0.0, 0.005]</td></tr><tr><td>Goal pose noise</td><td>N[0.0, 0.005]</td></tr></table>",
|
| 1829 |
+
"bbox": [
|
| 1830 |
+
383,
|
| 1831 |
+
583,
|
| 1832 |
+
612,
|
| 1833 |
+
726
|
| 1834 |
+
],
|
| 1835 |
+
"page_idx": 16
|
| 1836 |
+
},
|
| 1837 |
+
{
|
| 1838 |
+
"type": "header",
|
| 1839 |
+
"text": "Published as a conference paper at ICLR 2024",
|
| 1840 |
+
"bbox": [
|
| 1841 |
+
171,
|
| 1842 |
+
32,
|
| 1843 |
+
478,
|
| 1844 |
+
47
|
| 1845 |
+
],
|
| 1846 |
+
"page_idx": 16
|
| 1847 |
+
},
|
| 1848 |
+
{
|
| 1849 |
+
"type": "page_number",
|
| 1850 |
+
"text": "17",
|
| 1851 |
+
"bbox": [
|
| 1852 |
+
490,
|
| 1853 |
+
946,
|
| 1854 |
+
509,
|
| 1855 |
+
959
|
| 1856 |
+
],
|
| 1857 |
+
"page_idx": 16
|
| 1858 |
+
}
|
| 1859 |
+
]
|
2024/CORN_ Contact-based Object Representation for Nonprehensile Manipulation of General Unseen Objects/1d7a7b6b-a145-4b8c-b679-d80f7046b674_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2024/CORN_ Contact-based Object Representation for Nonprehensile Manipulation of General Unseen Objects/1d7a7b6b-a145-4b8c-b679-d80f7046b674_origin.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:050a03cba7b6b3695fe0c147057a36c834e11982ee71dbe66ad41179f5db9122
|
| 3 |
+
size 12720150
|
2024/CORN_ Contact-based Object Representation for Nonprehensile Manipulation of General Unseen Objects/full.md
ADDED
|
@@ -0,0 +1,319 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# CORN: CONTACT-BASED OBJECT REPRESENTATION FOR NONPREHENSILE MANIPULATION OF GENERAL UNSEEN OBJECTS
|
| 2 |
+
|
| 3 |
+
Yoonyoung Cho\*, Junhyek Han\*, Yoontae Cho, Beomjoon Kim
|
| 4 |
+
|
| 5 |
+
Korea Advanced Institute of Science and Technology
|
| 6 |
+
|
| 7 |
+
{yoonyoung.cho, junhyek.han, yoontae.cho, beomjoon.kim}@kaist.ac.kr
|
| 8 |
+
|
| 9 |
+
# ABSTRACT
|
| 10 |
+
|
| 11 |
+
Nonprehensile manipulation is essential for manipulating objects that are too thin, large, or otherwise ungraspable in the wild. To sidestep the difficulty of contact modeling in conventional modeling-based approaches, reinforcement learning (RL) has recently emerged as a promising alternative. However, previous RL approaches either lack the ability to generalize over diverse object shapes, or use simple action primitives that limit the diversity of robot motions. Furthermore, using RL over diverse object geometry is challenging due to the high cost of training a policy that takes in high-dimensional sensory inputs. We propose a novel contact-based object representation and pretraining pipeline to tackle this. To enable massively parallel training, we leverage a lightweight patch-based transformer architecture for our encoder that processes point clouds, thus scaling our training across thousands of environments. Compared to learning from scratch, or other shape representation baselines, our representation facilitates both time- and data-efficient learning. We validate the efficacy of our overall system by zero-shot transferring the trained policy to novel real-world objects. Code and videos are available at https://sites.google.com/view/contact-non-prehensile.
|
| 12 |
+
|
| 13 |
+
# 1 INTRODUCTION
|
| 14 |
+
|
| 15 |
+
Robot manipulators can transform our day-to-day lives by alleviating humans from taxing physical labor. Despite this potential, they have remained largely confined to picking and placing objects in limited settings such as manufacturing or logistics facilities. One key reason for such confined usage is their limited action repertoire: while prehensile manipulation has made great improvements (Mahler et al., 2017; Wan et al., 2023), there are several situations in the wild where pick-and-place is not an option. For instance, consider the scenarios in Figure 1, where the robot is tasked to manipulate diverse household objects to a target pose. While the effective strategy differs for each object, the predominant approach of grasping and placing objects is not viable. To manipulate such objects in the wild, the robot must perform nonprehensile actions such as pushing, dragging, and toppling by reasoning about the object geometry (Kao et al., 2016).
|
| 16 |
+
|
| 17 |
+
Traditionally, this problem has been tackled using planning algorithms that model the dynamics of the system and compute motions using optimization (Posa et al., 2014) or tree search (Cheng et al., 2022). However, this necessitates full system information about object geometry and inertial parameters, which are generally unavailable from sensory observations, especially for novel objects. Even when such models are available, the complex search space renders planning algorithms impractically slow. Recently, deep reinforcement learning (RL) has surfaced as a promising alternative, where a nonprehensile policy is trained in a simulator (Kim et al., 2023; Zhou et al., 2023), then zero-shot transferred to the real world. However, no algorithm offers the level of generality over object shapes and diversity in motions necessary for our problem: they either generalize over objects but are confined to rudimentary motions such as poking (Zhou et al., 2023) or affords rich motions but uses a rudimentary object representation that precludes generalization over shapes (Kim et al., 2023).
|
| 18 |
+
|
| 19 |
+

|
| 20 |
+
|
| 21 |
+

|
| 22 |
+
Figure 1: Snapshot of our robot performing diverse real-world object manipulation tasks. The first column shows the initial and goal object pose (transparent) of the task, and the green region marks the robot's workspace. Row 1: Raising a cup bottom-side up. The cup's grasp and placement poses are occluded by the collision with the table; since the cup is dynamically unstable, the robot must also support the object to avoid toppling the object out of the workspace during manipulation. Row 2: Flipping the wipe dispenser upside down, which is too wide to grasp. Since it may roll erratically, frequent re-contacts and dense closed-loop motions are required to stabilize the object during manipulation. Row 3: Moving a book that is too thin to be grasped; to drag the book, the robot must finely adjust the pressure to allow for both reorientation and translation. Row 4: Flipping a toy crab. Given its concave geometry, the robot must utilize the interior contacts to pivot the crab.
|
| 23 |
+
(a) Case where the robot tries to topple the cup.
|
| 24 |
+
Figure 2: Even among similar-looking states, the interaction outcome varies drastically depending on the presence of contact. (a-left) the gripper passes near the cup, yet not quite in contact. As the robot narrowly misses the object, the object remains still. (a-right) the gripper engages with the cup, leading to a successful topple. (b-left) The robot relocates to the left of the block to push it to the goal(dark). By avoiding unintended collision, it is well-positioned to push the object. (b-right) due to spurious contact, the gripper accidentally topples the block, making the goal farther to reach.
|
| 25 |
+
|
| 26 |
+

|
| 27 |
+
(b) Case where the robot tries to push the block.
|
| 28 |
+
|
| 29 |
+
We propose a novel object representation learning algorithm for nonprehensile manipulation that can be jointly used with the action-space from Kim et al. (2023) to achieve both generality over shapes and diversity in motions. The key challenge is defining the pretraining task. Given that our objective is to generalize across shapes, one naive approach is to employ self-supervised shape-learning, where the geometric representation is trained on contrastive or shape-reconstruction objectives (Pang et al., 2022; Yu et al., 2022; Xie et al., 2020; Zeid et al., 2023). However, reconstructing the full shape representation is needlessly complex: the full shape includes many intricate features, such as internal geometry, concavities, or surface details, which may not directly influence the performance of the manipulation policy. Even for a complex object, only a subset of its surface interacts with the gripper. Thus, while the contactable parts of an object must be represented at high fidelity, the remainder can be omitted without influencing the performance of the downstream policy.
|
| 30 |
+
|
| 31 |
+
Our key insight is that recognizing the presence and location of contacts between the object and the robot's hand is crucial for nonprehensile manipulation. For RL, a good representation must necessarily distinguish between states with high and low values, and in contact-rich manipulation, this is primarily determined by what forces and torques can be applied to the object in the given state.
|
| 32 |
+
|
| 33 |
+
This, in turn, depends on the presence and position of the contact between the object and the robot's hand. This intuition is demonstrated in Figure 2. Based on this insight, we propose a pretraining task where the point cloud encoder is trained to predict what part of the object is in collision with the robot's end-effector.
|
| 34 |
+
|
| 35 |
+
Our other contribution is the design of an efficient architecture that can process high-dimensional point clouds, in a way that can scale to massively parallel GPU-backed simulations. Existing well-known point-cloud processing architectures such as PointNet (Qi et al., 2016; 2017) inherently incur substantial inference time and memory usage while processing individual points. Inspired by the recent success of patch-based vision architectures (Dosovitskiy et al., 2020; Yu et al., 2022; Pang et al., 2022; Zhang et al., 2022; Zeid et al., 2023), we leverage a patch-based transformer to efficiently encode the point cloud. Since a single point in a point cloud does not carry significant information, grouping local points into a single unit(patch) (Yu et al., 2022) can effectively reduce the computational burden of launching thousands of point-wise operations as in PointNets (Qi et al., 2016) or Point-based Transformers (Zhao et al., 2021), resulting in significant computational gains.
|
| 36 |
+
|
| 37 |
+
We call our framework Contact-based Object Representation for Nonprehensile manipulation (CORN). We show that by leveraging CORN, we can efficiently train a nonprehensile manipulation policy that can execute dexterous closed-loop joint-space maneuvers without being restricted to predefined motion primitives. Further, by employing an efficient patch-based point-cloud processing backbone, we can achieve highly time-efficient training by allowing the policy to scale to massively parallel environments. By adopting our full system, we demonstrate state-of-the-art performance in nonprehensile manipulation of general objects in simulated environments and zero-shot transfer to unseen real-world objects.
|
| 38 |
+
|
| 39 |
+
# 2 RELATED WORK
|
| 40 |
+
|
| 41 |
+
Planning algorithms In planning-based approaches, a nonprehensile manipulation problem is often tackled using gradient-based optimization or graph search. In optimization, the primary challenge arises from optimizing the system of discontinuous dynamics, stemming from contact mode transitions. To combat this, prior works resort to softening contact mode decision variables (Mordatch et al., 2012) or introducing complementarity constraints (Posa et al., 2014; Moura et al., 2022). However, due to the imprecision from the smooth approximation of contact mode transitions, inexact contact dynamics models, and difficulty in precisely satisfying contact constraints, the resulting motions are difficult to realize in the real world. On the other hand, graph-search approaches handle discontinuous system dynamics by formulating the problem as a search over a graph on nodes encoding states such as the robot's configuration and the object's contact mode, and the edges encoding transition feasibility and relative motion between the nodes (Maeda & Arai, 2005; Maeda et al., 2001; Miyazawa et al., 2005). As a result of handling discrete dynamics transitions without approximation, these methods can output more physically realistic motions that can be deployed in the real world (Cheng et al., 2022; Liang et al., 2022). However, to make the search tractable, they resort to strong simplifications such as quasi-static assumption on the space of motions (Cheng et al., 2022; Hou & Mason, 2019), or restricting the edges to predefined primitives or contact modes (Zito et al., 2012). As a result, these works have been limited to tasks that only require simple motions and sparse contact-mode transitions.
|
| 42 |
+
|
| 43 |
+
Moreover, because both of these approaches must compute a plan in a large hybrid search space with discontinuous dynamics, they are too slow to use in practice. Further, they also require the physical parameters of objects, such as mass and friction coefficients, to be known a priori, which undermines the practicality of these methods. Since the objects may vary significantly in the wild (Figure 5), acquiring ground-truth geometric and physical attributes of target objects is intractable.
|
| 44 |
+
|
| 45 |
+
Reinforcement learning algorithms Recently, several works have proposed to leverage learning to directly map sensory inputs to actions in nonprehensile manipulation tasks, circumventing the computational cost of planning, inaccuracy of hybrid dynamics models, and difficulty in system identification from high dimensional sensory inputs (Yuan et al., 2018; 2019; Lowrey et al., 2018; Peng et al., 2018; Ferrandis et al., 2023; Kim et al., 2023; Zhou & Held, 2023; Zhou et al., 2023). In Kim et al. (2023), they propose an approach that outputs diverse motions and effectively performs time-varying hybrid force and position control (Bogdanovic et al., 2020), by using the end-effector target pose and controller gains as action space. However, since they represent object geometry via
|
| 46 |
+
|
| 47 |
+
its bounding box, their approach has a limited generalization capability across shapes. Similarly, other approaches only handle simple shapes such as cuboids (Yuan et al., 2018; 2019; Ferrandis et al., 2023; Zhou & Held, 2023), pucks (Peng et al., 2018), or cylinders (Lowrey et al., 2018).
|
| 48 |
+
|
| 49 |
+
In HACMan (Zhou et al., 2023), they propose an approach that generalizes to diverse object shapes using end-to-end training. However, they are limited to 3D push primitives defined as fixed-direction poking motions applied on a point on the point cloud. Due to this, they must retract the arm after each execution to observe the next potential contact locations. Further, as end-to-end training with point clouds requires a significant memory footprint, it is difficult to use with massively parallel GPU-based simulations (Makoviychuk et al., 2021): the large resource consumption significantly limits the number of environments that can be simulated in parallel, undermining the parallelism and damaging the training time. Moreover, end-to-end RL on high-dimensional inputs is prone to instability (Eysenbach et al., 2022) and sample-inefficiency: noisy gradients from RL serve as poor training signals for the representation model (Banino et al., 2022), and distributional shift that occurs whenever the encoder gets updated (Shah & Kumar, 2021) slows down policy training. We believe for these reasons, they had to resort to simple primitives that make exploration easier. We use pretraining and efficient architecture to get around these problems.
|
| 50 |
+
|
| 51 |
+
Along with HACMan, other methods use simple primitives (Yuan et al., 2019; Zhou et al., 2023). But for problems we are contemplating, use of such open-loop primitives precludes dense feedback motions. This is problematic for highly unstable (e.g. rolling or pivoting) objects that move erratically, which require the robot to continuously adjust the contact. For instance, in Figure 1 (row 1, column 3), the robot must adjust the contact to prevent spurious pivoting of the ceramic cup while rolling the handle to the other side; in Figure 1 (row 2, column 6), the robot must align the contact with the rotational axis while lifting the wipe dispenser to prevent accidentally toppling the dispenser to either side. In our work, we adopt a controller with end-effector subgoals with variable gains (Bogdanovic et al., 2020; Kim et al., 2023) as our action space, which allows us to perform dense, closed-loop control of the object.
|
| 52 |
+
|
| 53 |
+
Representation learning on point clouds Diverse pretraining tasks have been proposed for learning a representation for point cloud inputs, such as PointContrast (Xie et al., 2020), which uses a contrastive loss on point correspondences, or OcCo (Wang et al., 2021), which reconstructs occluded points from partial views. More recently, inspired by advances from NLP (Devlin et al., 2018) and 2D vision (He et al., 2022; Baevski et al., 2022), self-supervised representation learning methods on masked transformers have gained attention (Yu et al., 2022; Zhang et al., 2022; Pang et al., 2022; Zeid et al., 2023). While Point-BERT (Yu et al., 2022), PointM2AE (Zhang et al., 2022) and PointMAE (Pang et al., 2022) reconstruct the masked points from the remaining points, Point2Vec (Zeid et al., 2023) follows Data2Vec (Baevski et al., 2022) and instead estimate the latent patch embeddings, outperforming above baselines in shape classification and segmentation.
|
| 54 |
+
|
| 55 |
+
As a result, these methods learn highly performant shape representations, demonstrating state-of-the-art performance across tasks such as shape classification or segmentation (Zeid et al., 2023). However, the same impressive performance is often inaccessible with smaller models (Fang et al., 2021; Shi et al., 2022) due to the difficulty of the pretraining task (Fang et al., 2021) or model collapse (Shi et al., 2022). While this necessitates large models, adopting a large encoder for policy training in GPU-based simulators is undesirable, as it can dominate the compute-cost and memory footprint during policy rollout, limiting the parallelism in massively-parallel RL setups.
|
| 56 |
+
|
| 57 |
+
In robotics, several alternative representation learning approaches have been proposed. Huang et al. (2021) pretrains their point cloud encoder by predicting object class and relative offset from the goal orientation. Similarly, Chen et al. (2022) pretrains a sparse 3D CNN on object class, relative orientation from the goal, and the joint positions of the robot hand. While these methods have been proven effective on in-hand re-orientation tasks for inferring the object's pose from point cloud observations, the benefits are smaller for nonprehensile manipulation tasks which are more sensitive to the specific presence and location of contacts (see Figure 2). In comparison, we directly represent an object with an embedding that is used to predict such information.
|
| 58 |
+
|
| 59 |
+

|
| 60 |
+
(a) Real-world setup.
|
| 61 |
+
|
| 62 |
+

|
| 63 |
+
(b) Simulation setup.
|
| 64 |
+
Figure 3: Our real-world (left) and simulated (right) domains.
|
| 65 |
+
|
| 66 |
+
# 3 CONTACT-BASED OBJECT REPRESENTATION FOR NON-PREHENSILE MANIPULATION
|
| 67 |
+
|
| 68 |
+
We tackle the problem of rearranging an object of arbitrary geometry on a tabletop to a specified 6D relative pose from the initial pose using nonprehensile manipulation, such as pushing, toppling, and pivoting. Our setup includes a manipulator with a simple gripper, equipped with a proprioceptive sensor and table-mounted depth cameras. We assume that a rigid-body target object is well-singulated on the table, and both the initial and goal poses are stable at rest. Figure 3 illustrates our environment setup.
|
| 69 |
+
|
| 70 |
+
# 3.1 OVERVIEW
|
| 71 |
+
|
| 72 |
+
Our framework goes through three stages of training before being deployed in the real world: (1) pretraining, (2) teacher policy training with privileged information, and (3) student policy training with partial information only available in the real world. These three stages happen entirely in simulation based on Isaac Gym (Makoviychuk et al., 2021). Our overall system is shown in Figure 4.
|
| 73 |
+
|
| 74 |
+

|
| 75 |
+
Figure 4: Our system and model architecture. The contact network consists of a point cloud encoder (red) and contact-prediction decoder (green), passing the point cloud embeddings to the teacher policy module (blue). Student module (orange, omitted) is detailed in Section A.1.
|
| 76 |
+
|
| 77 |
+
In the pretraining phase, we train our encoder module (Figure 4, red), which takes in point-cloud observations $\in \mathbb{R}^{512\times 3}$ and the hand state $\in \mathbb{R}^9$ (position and 6D orientation (Zhou et al., 2019)), and outputs a patch-wise embedding of the object cloud. To train the network, we pass the embeddings through a contact prediction header (Figure 4, green) that classifies whether each patch intersects with the gripper. During this phase, the point-cloud encoder and collision decoder are trained jointly.
|
| 78 |
+
|
| 79 |
+
During policy training, we discard the collision decoder and freeze the encoder, so that only the weights of the policy module are learned. The policy consumes the object point cloud embedding from the encoder, and other task-relevant inputs comprising robot's joint position and velocity, the
|
| 80 |
+
|
| 81 |
+
previous action (end-effector subgoal and controller gains), the object's pose relative to the goal, and its physical properties (mass, friction, and restitution). These inputs are tokenized via an MLP layer to produce query tokens for the cross-attention layer against the point cloud embeddings to extract task-relevant features. These features are concatenated again with the task-relevant inputs and processed by a shared MLP before being split into actor and critic networks. We train the policy module via PPO (Schulman et al., 2017). Since full-cloud observations and physics parameters of objects are not available in the real world, we distill the teacher policy into a student policy. We use DAgger (Ross et al., 2011) to imitate the teacher's actions solely based on information available in the real world: the partial point cloud of the object, robot's joint states, the previous action, and the relative object pose from the goal. We utilize ndiffrast (Laine et al., 2020) to efficiently render the partial point cloud of the scene on the GPU during training.
|
| 82 |
+
|
| 83 |
+
# 3.2 LEARNING CORN
|
| 84 |
+
|
| 85 |
+
Algorithm 1 outlines the data generation procedure for our network, inspired by (Son & Kim, 2023). We first sample the SE(3) transforms within the workspace for the gripper and object (L1-2). We then compute the nearest displacement between the surface points of the object and the gripper (L3) and move the gripper in that direction plus a small Gaussian noise (L4-6) to approach a configuration near or in a collision. To compute the labels, we sample points from the object's surface (L7), then label each point according to whether they intersect with the gripper (L8-10). This process generates about half of the gripper poses in collision with the object, and the other half in a near-collision pose with the object. To disambiguate these cases, the model must precisely reason about the object's geometry.
|
| 86 |
+
|
| 87 |
+
# Algorithm 1 Dataset generation for CORN.
|
| 88 |
+
|
| 89 |
+
Require: object shape $\mathcal{O}$ , gripper shape $\mathcal{G}$ , workspace $\mathcal{W}$ , noise level $\sigma$
|
| 90 |
+
|
| 91 |
+
Ensure: gripper pose $T_{G}$ , object cloud $X$ , contact label $L$
|
| 92 |
+
|
| 93 |
+
1: $T_O, T_G \gets \text{SamplePoses}(\mathcal{W})$
|
| 94 |
+
2: $\mathcal{O}'\gets T_O\cdot \mathcal{O};\mathcal{G}'\gets T_G\cdot \mathcal{G}$
|
| 95 |
+
3: $\vec{\delta} \gets \text{Nearest Displacement}(\mathcal{O}', \mathcal{G}')$
|
| 96 |
+
4: $s\sim \mathcal{N}(1,\sigma /\lvert\lvert\vec{\delta}\rvert\rvert)$
|
| 97 |
+
5: $T_{d}\gets \left[ \begin{array}{cc}I_{3\times 3} & -s\cdot \bar{\delta}\\ 0 & 1 \end{array} \right]$
|
| 98 |
+
6: $\mathcal{G}''\gets \bar{T}_d\cdot \mathcal{G}'$
|
| 99 |
+
7: $X \sim \text{SampleSurfacePoints}(\mathcal{O}')$
|
| 100 |
+
8: for $x_{i}\in X$ do
|
| 101 |
+
9: $L_{i}\gets \text{PointInMesh}(x_{i},\mathcal{G}^{\prime \prime})$
|
| 102 |
+
0: end for
|
| 103 |
+
|
| 104 |
+
Afterward, the model is trained by classifying
|
| 105 |
+
|
| 106 |
+
whether each patch of the object intersects with the gripper at the given pose. A patch is labeled as positive if any point within it intersects with the gripper. We use binary cross-entropy between the patchwise decoder logits and the collision labels to train the model(Figure 4, green block)
|
| 107 |
+
|
| 108 |
+
# 3.3 PATCH-BASED ARCHITECTURE FOR CORN
|
| 109 |
+
|
| 110 |
+
To efficiently train a policy by simultaneously simulating thousands of environments using GPUs, we leverage a patch-based transformer to encode the object point cloud shown in Figure 4 (red), which pass the patch embeddings to the policy module (blue).
|
| 111 |
+
|
| 112 |
+
Patch Tokenization. In line with previous work (Pang et al., 2022), we divide the point cloud into a set of patches (Figure 4, red block, top left). To define each patch, we identify $N$ representative points using farthest-point sampling (FPS). The k-nearest neighbor (kNN) points from these representatives constitute a patch, which is normalized by subtracting its center from its constituent points (Pang et al., 2022; Zeid et al., 2023; Yu et al., 2022) to embed the local shape. These patches are then tokenized via a Multi-Layer Perceptron (MLP) as input tokens to a transformer.
|
| 113 |
+
|
| 114 |
+
Unlike past methods that use a small PointNet for tokenizing the patches (Pang et al., 2022; Zeid et al., 2023), we tokenize the patches with a lightweight MLP. Using an MLP is sufficient since the patch size is constant, fully determined by the size of $k$ during kNN lookup. By sorting the points within each patch by their distance from the patch center, we can ensure that points within a patch always follow a consistent order. Thus, we can avoid using a costly permutation-invariant PointNet tokenizer. After computing the local patch embeddings, we add learnable positional embeddings of the patch centers to restore the global position information (Pang et al., 2022).
|
| 115 |
+
|
| 116 |
+
Additional Encoder Inputs. By leveraging a transformer backbone, our architecture can easily mix heterogeneous task-related inputs as extra tokens, such as hand state, together with raw point-cloud observations as shown in Figure 4. Unlike PointNet-derived models that can only concatenate such inputs after the point-processing layers, this has an advantage in that the network can pay attention to parts of the point cloud in accordance with the hand state, such as the ones near the robot's hand that would interact with the gripper.
|
| 117 |
+
|
| 118 |
+
# 4 EXPERIMENTS
|
| 119 |
+
|
| 120 |
+
# 4.1 EXPERIMENTAL SETUP
|
| 121 |
+
|
| 122 |
+

|
| 123 |
+
Figure 5: Set of 16 real-world objects that we test in the real world.
|
| 124 |
+
|
| 125 |
+
Training setup For each scene, we randomly draw an object from a subset of 323 geometrically diverse objects from DexGraspNet dataset (Wang et al., 2023), detailed in Section A.6.2. For each episode, we first place the object in a random stable pose on the table. Then, we reset the robot arm at a joint configuration uniformly sampled within predefined joint bounds slightly above the workspace. By doing so, we can avoid initializing the robot in spurious collision with the table or the object. Afterward, we sample a 6D stable goal pose randomly on the table, spaced at least $0.1\mathrm{m}$ away from the initial pose to prevent immediately achieving success at initialization. To sample valid initial and goal poses for each object, we pre-compute a set of stable poses for each object. This procedure is elaborated in Section A.6.1.
|
| 126 |
+
|
| 127 |
+
Action, Rewards, and Success Criteria Following Kim et al. (2023), the action space of the robot comprises the subgoal residual of the hand, and the joint-space gains of a variable impedance controller (Details in Section A.2). We also follow the same curriculum learning scheme on the subgoal residual from Kim et al. (2023) to facilitate transferring our policy to the real world. The reward in our domain is defined as $r = r_{suc} + r_{reach} + r_{contact} - c_{energy}$ , comprising the task success reward $r_{suc}$ , goal-reaching reward $r_{reach}$ , contact-inducing reward $r_{contact}$ , and energy penalty $c_{energy}$ . The task success reward $r_{suc} = \mathbb{1}_{suc}$ is given when the pose of the object is within 0.05m and 0.1 radians of the target pose. We add dense rewards $r_{reach}$ and $r_{contact}$ to facilitate learning, based on a potential function (Ng et al., 1999) and has the form $r = \gamma \phi(s') - \phi(s)$ where $\gamma \in [0,1)$ is the discount factor. For $r_{reach}$ , we have $\phi_{reach}(s) = k_g \gamma^{k_d \cdot d_{o,g}(s)}$ and for $r_{contact}$ , we have $\phi_{contact}(s) = k_r \gamma^{k_d \cdot d_{h,o}(s)}$ where $k_g, k_d, k_r \in \mathbb{R}$ are scaling coefficients; $d_{o,g}(s)$ is the distance from the current object pose to the goal pose, measured using the bounding-box based distance measure from Allshire et al. (2022); $d_{h,o}(s)$ is the hand-object distance between the object's center of mass and the tip of the gripper. Energy penalty term is defined as $c_{energy} = k_e \cdot \sum_{i=1}^{7} \tau_i \cdot \dot{q}_i$ , where $k_e \in \mathbb{R}$ is a scaling coefficient, $\tau_i$ and $\dot{q}_i$ are joint torque and velocity of the $i^{th}$ joint. The scaling coefficients for the rewards are included in Table A.1.
|
| 128 |
+
|
| 129 |
+
Domain Randomization. During training, we randomize the mass, scale of the object, and friction and restitution of the object, table, and the robot gripper. We set the scale of the object by setting the largest diameter of the object within a predefined range. To facilitate real-world transfer, we also add a small noise to the torque command, object point cloud, and the goal pose when training the student. Detailed parameters for domain randomization are described in Table A.4.
|
| 130 |
+
|
| 131 |
+
Real-World Setup. Our real-world setup is shown in Figure 3a. We use three RealSense D435 cameras to extract the point clouds, and use Iterative Closest Point (ICP) To estimate the error between the object's current and target poses. We further use April tags (Wang & Olson, 2016) to track symmetric objects that cannot be readily tracked via ICP. We also wrap the gripper of the
|
| 132 |
+
|
| 133 |
+
robot with a high-friction glove to match the simulation. We emphasize that all training is done in simulation, and the policy is zero-shot transferred to the real world.
|
| 134 |
+
|
| 135 |
+
# 4.2 RESULTS
|
| 136 |
+
|
| 137 |
+
We'd like to evaluate the following claims: (1) Pretraining CORN enables training a nonprehensile manipulation policy in a time- and data-efficient manner. (2) Patch-based transformer architecture enables efficiently scaling to thousands of point-cloud based RL agents in parallel. (3) Our system can generalize to domain shifts such as unseen objects in the real world. To support claims 1 and 2, we compare our pretraining task and architecture (OURS) against the baseline encoders in Figure 6.
|
| 138 |
+
|
| 139 |
+
Compared to ours, P2V uses a pretrained Point2Vec (Zeid et al., 2023) encoder, using the author's weights; P2V-LITE is pretrained as in P2V, but uses the same architecture as Ours; ROT also shares the architecture with Ours, but is pretrained with relative rotation estimation as in (Huang et al., 2021; Chen et al., 2022); E2E also shares the architecture, but is trained in an end-to-end manner without pretraining; PN uses a three-layer PointNet encoder, pretrained on point-wise collision prediction, analogous to CORN; and STATE trains a geometry-unaware policy that only receives object bounding box inputs as the object representation, rather than point clouds. Note that P2V, P2V-LITE, ROT, E2E have the same downstream policy architectures as ours. For PN and STATE, they also have the same policy architecture except that they do not use cross-attention.
|
| 140 |
+
|
| 141 |
+

|
| 142 |
+
Figure 6: Training progression and baselines. Plots show the mean (solid) and standard deviations (transparent) for each baseline. (Left) Success rate vs. number of interaction steps. Interaction steps are reported as the total number of steps aggregated across 4096 parallel environments. (Middle) Success rate vs. number of hours. All baselines are allowed to interact at most $2e9$ time steps. (Right) Comparison of baselines. PT: Patch Transformer.
|
| 143 |
+
|
| 144 |
+
Figure 6 shows the progression of success rates across different baselines in simulation. To support claim 1, we consider the performance of the policy after 2 billion interactions (in steps) and 24 hours (in time), respectively. First, E2E takes significantly longer compared to Ours, in terms of both steps and time: by pretraining CORN, Ours achieves $88.0\%$ suc RATE (steps) and $88.5\%$ (time), while E2E only reaches $31.4\%$ (in time) and $54.4\%$ (in steps), respectively. This is due to the overhead of jointly training the encoder and policy networks in E2E. Among pretrained representations, we first compare with P2V. While P2V is similar to Ours in steps $(85.6\%)$ , it is significantly slower in time $(3.55\%)$ , due to the inference overhead of the large representation model. To isolate the effect of the pretraining task, we also compare with P2V-LITE: pretrained as in P2V, yet with same architecture as Ours. While the resulting policy is reasonably time-efficient due to faster rollouts $(73.4\%)$ in time), it is less data-efficient $(68.8\%)$ in steps) due to the reduced performance of the smaller model (Shi et al., 2022; Fang et al., 2021). Another baseline, ROT from in-hand reorientation literature (Huang et al., 2021; Chen et al., 2022) performs slightly worse in both measures $(64.2\%$ (steps); $67.0\%$ (time)): we believe this is due to the increased demand for the awareness of object geometry in our task. To see this, we note that the pose-only policy STATE), unaware of object geometry, cannot learn at all in our domain, in contrast to the positive result from Chen et al. (2022). This highlights the fact that our task requires greater awareness of the object's geometric features: just knowing the object's pose is insufficient, and a deeper understanding of its geometry is necessary.
|
| 145 |
+
|
| 146 |
+
To see CORN learns a suitable representation for manipulation, we inspect the attention scores of the policy amid different motions in Figure 7. For pushing and toppling motions (row 1,3), our policy primarily attends to the current or future contact between the hand and the object, which is consistent
|
| 147 |
+
|
| 148 |
+

|
| 149 |
+
Figure 7: Visualization of the scores from the cross-attention layers of the policy, summed over all heads. We colorize the attention for each patch normalized to range $(0,1)$ , then project the patchwise colors on the surface of the object for visualization with VIRIDIS colormap.
|
| 150 |
+
|
| 151 |
+
with the premise of our representation-learning scheme. While pivoting or rolling motions (row 2,4) share the same trend, our policy also attends to the pivot points of the object against the table.
|
| 152 |
+
|
| 153 |
+
To support claim 2, we show that our patch-transformer architecture is more performant in both compute- and memory-cost compared to PointNet (Qi et al., 2016). In particular, we evaluate PN, where the primary difference is the use of PointNet in place of the patch transformer. While the performance degradation from the architecture change is only modest in steps (88.3% v. 70.2%), the large computational overhead of PointNet renders it slowest in time(0.223%) among all baselines. To support claim 3, we evaluate our policy in the real-world setting as described in Section 4.1. Figure 5 shows the objects that we evaluate in our real-world experiments, exhibiting wide diversity in terms of shape, mass, and materials; Figure 1 shows four representative real-world episodes.
|
| 154 |
+
|
| 155 |
+
Table 1: Real world run results. All of the objects in the real-world setup are unseen except for 3D-printed objects marked with $\dagger$ .
|
| 156 |
+
|
| 157 |
+
<table><tr><td>Object name</td><td>Success/Trial</td><td>Object name</td><td>Success/Trial</td><td>Object name</td><td>Success/Trial</td><td>Object name</td><td>Success/Trial</td></tr><tr><td>Red Card</td><td>4/5</td><td>Cube Block</td><td>4/5</td><td>Ceramic Cup</td><td>4/5</td><td>Red Dripper</td><td>3/5</td></tr><tr><td>Toy Puppy†</td><td>4/5</td><td>Iced Tea Box</td><td>3/5</td><td>Nutella Bottle</td><td>3/5</td><td>Coaster Holder</td><td>3/5</td></tr><tr><td>Toy Bulldozer</td><td>4/5</td><td>Wipe Dispenser</td><td>5/5</td><td>Coffee Jar</td><td>2/5</td><td>Thick Book</td><td>4/5</td></tr><tr><td>Blue Holder</td><td>5/5</td><td>Toy Table†</td><td>3/5</td><td>Lemona Box</td><td>3/5</td><td>Candy Box</td><td>3/5</td></tr><tr><td>Success rate</td><td></td><td></td><td></td><td></td><td></td><td></td><td>57/80 (71.3%)</td></tr></table>
|
| 158 |
+
|
| 159 |
+
The results from our policy execution in the real-world are organized in Table 1. Overall, our policy demonstrates $71.3\%$ success rate in the real world. These results indicate that, with distillation, our system can zero-shot transfer to the real world despite only training in a simulation.
|
| 160 |
+
|
| 161 |
+
Limitations. We find that our policy struggles more with concave objects (coaster-holder, red dripper; $60\%$ ) or unstable objects (iced tea box, coffee jar, red dripper; $53\%$ ). Concave objects cause perception challenge in the real world due to severe ambiguity when occluded by the robot, leading to timeouts as the agent oscillates between actions or stops amid a maneuver. Unstable objects tend to abruptly spin out of the workspace after minor collisions, and the dexterity of our robot platform and speed of our real-world perception pipeline cannot catch up with such rapid motions.
|
| 162 |
+
|
| 163 |
+
# 5 CONCLUSION
|
| 164 |
+
|
| 165 |
+
In this work, we present a system for effectively training a non-prehensile object manipulation policy that can generalize over diverse object shapes. We show that by pretraining a contact-informed representation of the object, coupled with an efficient patch-based transformer architecture, we can train the policy in a data- and time-efficient manner. With student-teacher distillation, we find that our policy can zero-shot transfer to the real world, achieving success rates of $71.3\%$ in the real world across both seen and unseen objects despite only training in a simulation.
|
| 166 |
+
|
| 167 |
+
# ACKNOWLEDGEMENT
|
| 168 |
+
|
| 169 |
+
This work was supported by Institute of Information & communications Technology Planning & Evaluation (IITP) grant funded by the Korea government(MSIT) (No.2019-0-00075, Artificial Intelligence Graduate School Program(KAIST)), (No.2022-0-00311, Development of Goal-Oriented Reinforcement Learning Techniques for Contact-Rich Robotic Manipulation of Everyday Objects), (No. 2022-0-00612, Geometric and Physical Commonsense Reasoning based Behavior Intelligence for Embodied AI).
|
| 170 |
+
|
| 171 |
+
# REPRODUCIBILITY STATEMENT
|
| 172 |
+
|
| 173 |
+
We describe our real-world system and perception pipeline in detail in Section A.4. The procedure for data generation and pretraining for our model and other baselines is detailed in Section 3.2 and Section A.3, respectively. We include the set of 323 training objects from DexGraspNet (Wang et al., 2023) that we used for policy training as supplementary materials. We include the student-model architecture and distillation pipeline for real-world transfer in Section A.1. We describe the simulation setup regarding data preprocessing(Section A.6), and describe the hyperparameters associated with our network architecture(Table A.2), domain-randomization(Table A.4), and policy training(Section A.3). We also release our code at https://github.com/contact-non-prehensile/corn.
|
| 174 |
+
|
| 175 |
+
# REFERENCES
|
| 176 |
+
|
| 177 |
+
Arthur Allshire, Mayank Mittal, Varun Lodaya, Viktor Makoviychuk, Denys Makoviichuk, Felix Widmaier, Manuel Wuthrich, Stefan Bauer, Ankur Handa, and Animesh Garg. Transferring dexterous manipulation fromgpu simulation to a remote real-world trifinger. In 2022 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS), pp. 11802-11809. IEEE, 2022.
|
| 178 |
+
Alexei Baevski, Wei-Ning Hsu, Qiantong Xu, Arun Babu, Jiatao Gu, and Michael Auli. Data2vec: A general framework for self-supervised learning in speech, vision and language. In International Conference on Machine Learning, pp. 1298-1312. PMLR, 2022.
|
| 179 |
+
Andrea Banino, Adria Puigdomenech Badia, Jacob C Walker, Tim Scholtes, Jovana Mitrovic, and Charles Blundell. Coberl: Contrastive bert for reinforcement learning. In International Conference on Learning Representations, 2022.
|
| 180 |
+
Miroslav Bogdanovic, Majid Khadiv, and Ludovic Righetti. Learning variable impedance control for contact sensitive tasks. IEEE Robotics and Automation Letters, 5(4):6129-6136, 2020.
|
| 181 |
+
Samuel R Buss. Introduction to inverse kinematics with jacobian transpose, pseudoinverse and damped least squares methods. IEEE Journal of Robotics and Automation, 17(1-19):16, 2004.
|
| 182 |
+
Angel X. Chang, Thomas Funkhouser, Leonidas Guibas, Pat Hanrahan, Qixing Huang, Zimo Li, Silvio Savarese, Manolis Savva, Shuran Song, Hao Su, Jianxiong Xiao, Li Yi, and Fisher Yu. ShapeNet: An Information-Rich 3D Model Repository. Technical Report arXiv:1512.03012 [cs.GR], Stanford University — Princeton University — Toyota Technological Institute at Chicago, 2015.
|
| 183 |
+
Tao Chen, Megha Tippur, Siyang Wu, Vikash Kumar, Edward Adelson, and Pulkit Agrawal. Visual dexterity: In-hand dexterous manipulation from depth. arXiv preprint arXiv:2211.11744, 2022.
|
| 184 |
+
Xianyi Cheng, Eric Huang, Yifan Hou, and Matthew T Mason. Contact Mode Guided Motion Planning for Quasidynamic Dexterous Manipulation in 3D. In International Conference on Robotics and Automation, 2022.
|
| 185 |
+
Kyunghyun Cho, Bart van Merrienboer, Caglar Gülçehre, Dzmitry Bahdanau, Fethi Bougares, Holger Schwenk, and Yoshua Bengio. Learning phrase representations using rnnc encoder-decoder for statistical machine translation. In Conference on Empirical Methods in Natural Language Processing, 2014.
|
| 186 |
+
|
| 187 |
+
Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. Bert: Pre-training of deep bidirectional transformers for language understanding. arXiv preprint arXiv:1810.04805, 2018.
|
| 188 |
+
Alexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn, Xiaohua Zhai, Thomas Unterthiner, Mostafa Dehghani, Matthias Minderer, Georg Heigold, Sylvain Gelly, et al. An image is worth 16x16 words: Transformers for image recognition at scale. In International Conference on Learning Representations, 2020.
|
| 189 |
+
Benjamin Eysenbach, Tianjun Zhang, Sergey Levine, and Russ R Salakhutdinov. Contrastive learning as goal-conditioned reinforcement learning. Advances in Neural Information Processing Systems, 35:35603-35620, 2022.
|
| 190 |
+
Zhiyuan Fang, Jianfeng Wang, Lijuan Wang, Lei Zhang, Yezhou Yang, and Zicheng Liu. Seed: Self-supervised distillation for visual representation. In ICLR, 2021.
|
| 191 |
+
Juan Del Aguila Ferrandis, João Moura, and Sethu Vijayakumar. Nonprehensile planar manipulation through reinforcement learning with multimodal categorical exploration. arXiv preprint arXiv:2308.02459, 2023.
|
| 192 |
+
Matthias Fey and Jan E. Lenssen. Fast graph representation learning with PyTorch Geometric. In ICLR Workshop on Representation Learning on Graphs and Manifolds, 2019.
|
| 193 |
+
Kaiming He, Xinlei Chen, Saining Xie, Yanghao Li, Piotr Dólár, and Ross Girshick. Masked autoencoders are scalable vision learners. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 16000-16009, 2022.
|
| 194 |
+
Yifan Hou and Matthew T. Mason. Robust execution of contact-rich motion plans by hybrid force-velocity control. In 2019 International Conference on Robotics and Automation (ICRA). IEEE, may 2019. doi: 10.1109/icra.2019.8794366. URL https://doi.org/10.1109%2Ficra.2019.8794366.
|
| 195 |
+
Jingwei Huang, Hao Su, and Leonidas Guibas. Robust watertight manifold surface generation method for shapenet models. arXiv preprint arXiv:1802.01698, 2018.
|
| 196 |
+
Wenlong Huang, Igor Mordatch, Pieter Abbeel, and Deepak Pathak. Generalization in dexterous manipulation via geometry-aware multi-task learning. arXiv preprint arXiv:2111.03062, 2021.
|
| 197 |
+
Imin Kao, Kevin M. Lynch, and Joel W. Burdick. Contact Modeling and Manipulation. In *Springer Handbook of Robotics*, 2016.
|
| 198 |
+
Minchan Kim, Junhyek Han, Jaehyung Kim, and Beomjoon Kim. Pre-and post-contact policy decomposition for non-prehensile manipulation with zero-shot sim-to-real transfer. arXiv preprint arXiv:2309.02754, 2023.
|
| 199 |
+
Samuli Laine, Janne Hellsten, Tero Karras, Yeongho Seol, Jaakko Lehtinen, and Timo Aila. Modular primitives for high-performance differentiable rendering. ACM Transactions on Graphics (TOG), 39(6):1-14, 2020.
|
| 200 |
+
Jacky Liang, Xianyi Cheng, and Oliver Kroemer. Learning Preconditions of Hybrid Force-Velocity Controllers for Contact-Rich Manipulation. In Conference on Robot Learning, 2022.
|
| 201 |
+
Kendall Lowrey, Svetoslav Kolev, Jeremy Dao, Aravind Rajeswaran, and Emanuel Todorov. Reinforcement Learning for Non-Prehensile Manipulation: Transfer from Simulation to Physical System. In International Conference on Simulation, Modeling, and Programming for Autonomous Robots, 2018.
|
| 202 |
+
Yusuke Maeda and Tamio Arai. Planning of graspless manipulation by a multifingered robot hand. Advanced Robotics, 19(5):501-521, 2005.
|
| 203 |
+
Yusuke Maeda, Hirokazu Kijimoto, Yasumichi Aiyama, and Tamio Arai. Planning of graspless manipulation by multiple robot fingers. In Proceedings 2001 ICRA. IEEE International Conference on Robotics and Automation (Cat. No. 01CH37164), volume 3, pp. 2474-2479. IEEE, 2001.
|
| 204 |
+
|
| 205 |
+
Jeffrey Mahler, Jacky Liang, Sherdil Niyaz, Michael Laskey, Richard Doan, Xinyu Liu, Juan Aparicio, and Ken Goldberg. Dex-net 2.0: Deep learning to plan robust grasps with synthetic point clouds and analytic grasp metrics. In Proceedings of Robotics: Science and Systems, Cambridge, Massachusetts, July 2017. doi: 10.15607/RSS.2017.XIII.058.
|
| 206 |
+
Viktor Makoviychuk, Lukasz Wawrzyniak, Yunrong Guo, Michelle Lu, Kier Storey, Miles Macklin, David Hoeller, Nikita Rudin, Arthur Allshire, Ankur Handa, et al. Isaac gym: High performancegpu-based physics simulation for robot learning. arXiv preprint arXiv:2108.10470, 2021.
|
| 207 |
+
Kiyokazu Miyazawa, Yusuke Maeda, and Tamio Arai. Planning of graspless manipulation based on rapidly-exploring random trees. In (ISATP 2005). The 6th IEEE International Symposium on Assembly and Task Planning: From Nano to Macro Assembly and Manufacturing, 2005., pp. 7-12. IEEE, 2005.
|
| 208 |
+
Igor Mordatch, Zoran Popovic, and Emanuel Todorov. Contact-Invariant Optimization for Hand Manipulation. In ACM SIGGRAPH/Eurographics Symposium on Computer Animation, 2012.
|
| 209 |
+
João Moura, Theodoros Stouraitis, and Sethu Vijayakumar. Non-Prehensile Planar Manipulation via Trajectory Optimization with Complementarity Constraints. In International Conference on Robotics and Automation, 2022.
|
| 210 |
+
Andrew Y Ng, Daishi Harada, and Stuart Russell. Policy invariance under reward transformations: Theory and application to reward shaping. In Icml, volume 99, pp. 278-287. CiteSeer, 1999.
|
| 211 |
+
Yatian Pang, Wenxiao Wang, Francis EH Tay, Wei Liu, Yonghong Tian, and Li Yuan. Masked autoencoders for point cloud self-supervised learning. In European conference on computer vision, pp. 604-621. Springer, 2022.
|
| 212 |
+
Xue Bin Peng, Marcin Andrychowicz, Wojciech Zaremba, and Pieter Abbeel. Sim-to-Real Transfer of Robotic Control with Dynamics Randomization. In International Conference on Robotics and Automation, 2018.
|
| 213 |
+
Michael Posa, Cecilia Cantu, and Russ Tedrake. A Direct Method for Trajectory Optimization of Rigid Bodies Through Contact. The International Journal of Robotics Research, 2014.
|
| 214 |
+
Charles R Qi, Hao Su, Kaichun Mo, and Leonidas J Guibas. Pointnet: Deep learning on point sets for 3d classification and segmentation. arXiv preprint arXiv:1612.00593, 2016.
|
| 215 |
+
Charles Ruizhongtai Qi, Li Yi, Hao Su, and Leonidas J Guibas. Pointnet++: Deep hierarchical feature learning on point sets in a metric space. Advances in neural information processing systems, 30, 2017.
|
| 216 |
+
Stéphane Ross, Geoffrey Gordon, and Drew Bagnell. A reduction of imitation learning and structured prediction to no-regret online learning. In Proceedings of the fourteenth international conference on artificial intelligence and statistics, pp. 627-635. JMLR Workshop and Conference Proceedings, 2011.
|
| 217 |
+
John Schulman, Filip Wolski, Prafulla Dhariwal, Alec Radford, and Oleg Klimov. Proximal policy optimization algorithms. arXiv preprint arXiv:1707.06347, 2017.
|
| 218 |
+
Rutav Shah and Vikash Kumar. Rrl: Resnet as representation for reinforcement learning. In International Conference on Machine Learning. PMLR, 2021.
|
| 219 |
+
Haizhou Shi, Youcai Zhang, Siliang Tang, Wenjie Zhu, Yaqian Li, Yandong Guo, and Yueting Zhuang. On the efficacy of small self-supervised contrastive models without distillation signals. In Proceedings of the AAAI Conference on Artificial Intelligence, 2022.
|
| 220 |
+
Dongwon Son and Beomjoon Kim. Local object crop collision network for efficient simulation of non-convex objects in GPU-based simulators. In Proceedings of Robotics: Science and Systems, Daegu, Republic of Korea, July 2023. doi: 10.15607/RSS.2023.XIX.033.
|
| 221 |
+
Weikang Wan, Haoran Geng, Yun Liu, Zikang Shan, Yaodong Yang, Li Yi, and He Wang. Unidex-grasp++: Improving dexterous grasping policy learning via geometry-aware curriculum and iterative generalist-specialist learning. arXiv preprint arXiv:2304.00464, 2023.
|
| 222 |
+
|
| 223 |
+
Hanchen Wang, Qi Liu, Xiangyu Yue, Joan Lasenby, and Matthew J. Kusner. Unsupervised point cloud pre-training via occlusion completion. In International Conference on Computer Vision, ICCV, 2021.
|
| 224 |
+
John Wang and Edwin Olson. AprilTag 2: Efficient and robust fiducial detection. In Proceedings of the IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS), October 2016.
|
| 225 |
+
Ruicheng Wang, Jialiang Zhang, Jiayi Chen, Yinzhen Xu, Puhao Li, Tengyu Liu, and He Wang. Drexgraspt: A large-scale robotic dexterous grasp dataset for general objects based on simulation. In 2023 IEEE International Conference on Robotics and Automation (ICRA), pp. 11359-11366. IEEE, 2023.
|
| 226 |
+
Xinyue Wei, Minghua Liu, Zhan Ling, and Hao Su. Approximate convex decomposition for 3d meshes with collision-aware concavity and tree search. ACM Transactions on Graphics (TOG), 41(4):1-18, 2022.
|
| 227 |
+
Saining Xie, Jiatao Gu, Demi Guo, Charles R Qi, Leonidas Guibas, and Or Litany. Pointcontrast: Unsupervised pre-training for 3d point cloud understanding. In Computer Vision-ECCV 2020: 16th European Conference, Glasgow, UK, August 23-28, 2020, Proceedings, Part III 16, pp. 574-591. Springer, 2020.
|
| 228 |
+
Xumin Yu, Lulu Tang, Yongming Rao, Tiejun Huang, Jie Zhou, and Jiwen Lu. Point-bert: Pretraining 3d point cloud transformers with masked point modeling. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 2022.
|
| 229 |
+
Weihao Yuan, Johannes A Stork, Danica Kragic, Michael Y Wang, and Kaiyu Hang. Rearrange-ment with Nonprehensile Manipulation Using Deep Reinforcement Learning. In International Conference on Robotics and Automation, 2018.
|
| 230 |
+
Weihao Yuan, Kaiyu Hang, Danica Kragic, Michael Y Wang, and Johannes A Stork. End-to-End Nonprehensile Rearrangement with Deep Reinforcement Learning and Simulation-to-Reality Transfer. Robotics and Autonomous Systems, 2019.
|
| 231 |
+
Karim Abou Zeid, Jonas Schult, Alexander Hermans, and Bastian Leibe. Point2vec for self-supervised representation learning on point clouds. arXiv preprint arXiv:2303.16570, 2023.
|
| 232 |
+
Renrui Zhang, Ziyu Guo, Peng Gao, Rongyao Fang, Bin Zhao, Dong Wang, Yu Qiao, and Hongsheng Li. Point-m2ae: multi-scale masked autoencoders for hierarchical point cloud pre-training. Advances in neural information processing systems, 35:27061-27074, 2022.
|
| 233 |
+
Hengshuang Zhao, Li Jiang, Jiaya Jia, Philip HS Torr, and Vladlen Koltun. Point transformer. In Proceedings of the IEEE/CVF international conference on computer vision, pp. 16259-16268, 2021.
|
| 234 |
+
Wenxuan Zhou and David Held. Learning to grasp the ungraspable with emergent extrinsic dexterity. In Conference on Robot Learning, pp. 150-160. PMLR, 2023.
|
| 235 |
+
Wenxuan Zhou, Bowen Jiang, Fan Yang, Chris Paxton, and David Held. Hacman: Learning hybrid actor-critic maps for 6d non-prehensile manipulation. In Conference on Robot Learning. PMLR, 2023.
|
| 236 |
+
Yi Zhou, Connelly Barnes, Jingwan Lu, Jimei Yang, and Hao Li. On the continuity of rotation representations in neural networks. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 5745-5753, 2019.
|
| 237 |
+
Claudio Zito, Rustam Stolkin, Marek Kopicki, and Jeremy L Wyatt. Two-Level RRT Planning for Robotic Push Manipulation. In International Conference on Intelligent Robots and Systems, 2012.
|
| 238 |
+
|
| 239 |
+
# A APPENDIX
|
| 240 |
+
|
| 241 |
+
# A.1 STUDENT MODEL
|
| 242 |
+
|
| 243 |
+

|
| 244 |
+
Figure A.1: Student Model Architecture in DAgger.
|
| 245 |
+
|
| 246 |
+
The student policy shares a similar architecture with the teacher policy, with two distinctions. Unlike teacher policy, which employs joint state, previous action, and goal inputs for generating query tokens for cross-attention, we incorporate these tokens into the input of the patch transformer within the encoder to facilitate extracting task-relevant features from partial point clouds. Given that these inputs are already incorporated in the input of the encoder, we use learned query tokens for cross-attention.
|
| 247 |
+
|
| 248 |
+
Since the student policy can only perceive limited shape information of objects at any given moment due to occlusion, we incorporate a two-layer Gated Recurrent Unit (GRU) (Cho et al., 2014) on top of the student point cloud encoder. This enables the student model to aggregate partial observations of object geometry based on historical observations.
|
| 249 |
+
|
| 250 |
+
We train the student with DAgger with truncated backpropagation through time (BPTT). In particular, we run the student for 8 time-steps and update its parameters to minimize KL-divergence between the action distribution of the teacher policy and the student policy.
|
| 251 |
+
|
| 252 |
+
# A.2 DETAILS ON POLICY ACTION SPACE
|
| 253 |
+
|
| 254 |
+
The action space of our policy consists of the subgoal residual of the end-effector $\Delta T_{ee}$ and joint-space gains. The subgoal residual is parameterized by the translational offset $\Delta t\in \mathbb{R}^3$ and axis-angle representation of the residual rotation in the world frame $\Delta r\in \mathbb{R}^3$ . The joint-space gains are parameterized by proportional terms $(k_{p}\in \mathbb{R}^{7})$ and damping factors $(\rho \in \mathbb{R}^7)$ of a variable impedance controller. Based on this, we compute the joint position target by solving inverse kinematics with damped least squares method (Buss, 2004) as $q_{target} = q_t + IK(\Delta T_{ee})$ . The torque command for each joint is computed based on the joint position error and the predicted joint-space gains and damping factors as $\tau = k_p(q_{target} - q_t) - k_d\dot{q}_t$ , $k_{d} = \rho \cdot \sqrt{k_{p}}$ .
|
| 255 |
+
|
| 256 |
+
# A.3 DATA GENERATION AND PRETRAINING PIPELINES
|
| 257 |
+
|
| 258 |
+
P2V-LITE. For pretraining P2V-LITE, we follow the same procedure as Zeid et al. (2023), except we use the same architecture as OURs. Due to the use of a significantly lighter model, we apply two modifications to the original training setup, as follows: first, since we only use a two-layer transformer, instead of averaging over the last 6 layers of the teacher, we take the result after layer-normalization of the final layer, which keeps the ratio consistent (50% of layers). Second, we replace DropPath layers with dropout since the model is shallow. Otherwise, we follow the original hyper
|
| 259 |
+
|
| 260 |
+
parameters from the paper and the author's code(https://github.com/kabouzeid/point2vec).
|
| 261 |
+
|
| 262 |
+
ROT. For pretraining ROT, we follow the procedure described in Chen et al. (2022). Since the authors report that adding the classification objective does not influence the encoder quality, we omit the classification terms. For the training data, we use ShapeNet Chang et al. (2015) dataset. We apply two different SO(3) transformations to the same point cloud, and pass it through the encoder to obtain the patchwise embeddings. We concatenate the patchwise embeddings from both streams, then pass it through a 3-layer MLP (512, 64, 6). We train the encoder on the regression task, where the task for the decoder is to regress the parameters for a 6D rotation Zhou et al. (2019) as recommended from Chen et al. (2022).
|
| 263 |
+
|
| 264 |
+
OURS-PN. For pretraining PN, we use the same dataset from OURs. Since PointNet does not produce patchwise embeddings, we instead adopt a U-Net architecture based on PyG Fey & Lenssen (2019). To inform the model about the end-effector, we concatenate the hand pose (position and orientation Zhou et al. (2019)) to each point in the channel dimension.
|
| 265 |
+
|
| 266 |
+
# A.4 REAL WORLD SYSTEM AND PERCEPTION PIPELINE
|
| 267 |
+
|
| 268 |
+
Point Cloud Segmentation. In the point cloud segmentation phase, we integrate three RealSense D435 cameras. Points outside the predefined 3D bounding-box workspace above table are first removed, and those within a distance less than the threshold $\epsilon = 1\mathrm{cm}$ from the table surface are removed next. These parameters were determined empirically to handle outliers without removing too much of the object. For thin objects such as cards, we alternatively employ color-based segmentation to remove the table from the point cloud, avoiding the risk of inadvertently removing object points.
|
| 269 |
+
|
| 270 |
+
After removing the table, only the object and the robot remains. To remove the robot, we compute the transform of all robot links based on the robot kinematics, then query the points as to whether it is contained within each link mesh. For efficiency, we first apply convex decomposition on the robot geometry, and employ point-convex intersection to check whether the point belongs to the robot. We initially tried using robot-points removal based on raycasting the point-to-robot mesh distances, but we found it was much slower than the convex-hull based method.
|
| 271 |
+
|
| 272 |
+
To reduce noise in the point cloud, we employ a radius outlier removal logic with $r = 2$ cm and $n_{\mathrm{min}} = 96$ points, which is the minimum number of points that the inlier should contain within the neighborhood. Finally, to identify the object point cluster, we used DBSCAN clustering algorithm. Clusters were computed with $\epsilon = 1$ cm and the number of neighbors as 4 to form the core-set.
|
| 273 |
+
|
| 274 |
+
To enhance processing speed, we optimized the entire segmentation pipeline to utilize tensor operations executed on the GPU. The output object point cloud of this segmentation process serves as input for both our policy and object pose tracking pipeline.
|
| 275 |
+
|
| 276 |
+
Object Pose Tracking. To trade-off tracking speed and performance, we first subsample the object point clouds randomly to $n_{\mathrm{track}} = 2048$ points. Empirically, we found that this avoids compromising the quality of the ICP(Iterative Closest Point) algorithm, while remaining reasonably fast.
|
| 277 |
+
|
| 278 |
+
We employ ICP for tracking. Given the object point cloud $C_t$ at current time step $t$ , we conduct point-to-plane ICP registrations with point cloud of previous timestep $C_{t-1}$ , resulting in a transformation $P_{t,t-1} = \mathrm{ICP}(C_t, C_{t-1})$ . The current object pose $T_{O_t}$ is obtained by recursively applying pairwise transformations: $T_{O_t} = P_{t,t-1} \cdot T_{O_{t-1}}$ . In the case that the transform drifts over time, we also perform an additional ICP match with the initial object point cloud $P_{t,0} = \mathrm{ICP}(C_t, C_0)$ to correct the error. If the fitness score $Fitness_{t,0}$ exceeds 60%, current object pose is calculated as $T_{O_t} = P_{t,0} \cdot T_{O_0}$ .
|
| 279 |
+
|
| 280 |
+
For thin objects, we utilize point-to-point ICP matching since their point cloud nearly forms a single plane. While the ICP tracker performs well for large and non-symmetrical objects, it struggles with highly symmetrical objects, or objects with point-matching ambiguity under occlusion (e.g. when cup handles are occluded by the robot).
|
| 281 |
+
|
| 282 |
+
To address this challenge, we tried color-based ICP to resolve the ambiguity based on surface texture. However, we found that it did not improve tracking performance and, in some cases, even
|
| 283 |
+
|
| 284 |
+
worsened it. As such, we used april-tag tracker to maintain object pose tracking accuracy for highly symmetrical objects.
|
| 285 |
+
|
| 286 |
+
# A.5 EXAMPLE TRAJECTORIES
|
| 287 |
+
|
| 288 |
+
Example trajectories can be observed from the video in the supplementary material, or from http://sites.google.com/view/contact-non-prehensile.
|
| 289 |
+
|
| 290 |
+
# A.6 SIMULATION SETUP
|
| 291 |
+
|
| 292 |
+
# A.6.1 STABLE POSES GENERATION
|
| 293 |
+
|
| 294 |
+
To sample stable poses for training, we drop the objects in a simulation and extract the poses after stabilization. In $80\%$ of the trials, we drop the object $0.2\mathrm{m}$ above the table in a uniformly random orientation. In the remaining $20\%$ , we drop the objects from their canonical orientations, to increase the chance of landing in standing poses, as they are less likely to occur naturally. If the object remains stationary for 10 consecutive timesteps, and its center of mass projects within the support polygon of the object, then we consider the pose to be stable. We repeat this process to collect at least 128 initial candidates for each object, then keep the unique orientations by pruning equivalent orientations that only differ by a planar rotation about the z-axis.
|
| 295 |
+
|
| 296 |
+
# A.6.2 OBJECTS FOR TRAINING
|
| 297 |
+
|
| 298 |
+
We sample 323 objects from the DexGraspNet dataset (Wang et al., 2023), shown in Figure A.2. To increase the simulation speed and stability, we apply convex decomposition on every mesh using CoACD (Wei et al., 2022), after generating the watertight mesh with simplification using Manifold (Huang et al., 2018).
|
| 299 |
+
|
| 300 |
+

|
| 301 |
+
Figure A.2: 323 object meshes that were used for training.
|
| 302 |
+
|
| 303 |
+
# A.7 HYPERPARAMETERS
|
| 304 |
+
|
| 305 |
+
Table A.1: Hyperparameters for reward computation.
|
| 306 |
+
|
| 307 |
+
<table><tr><td>Parameter</td><td>Value</td><td>Description</td></tr><tr><td>kg</td><td>0.302</td><td>Goal-reaching reward coefficient</td></tr><tr><td>kr</td><td>0.0604</td><td>Hand-reaching reward coefficient</td></tr><tr><td>ke</td><td>0.0001</td><td>Energy penalty coefficient</td></tr><tr><td>kd</td><td>243.12</td><td>Decay factor for potential-based reward</td></tr></table>
|
| 308 |
+
|
| 309 |
+
Table A.2: Hyperparameters for Encoder and Policy.
|
| 310 |
+
|
| 311 |
+
<table><tr><td>Hyperparameter</td><td>Value</td><td>Hyperparameter</td><td>Value</td><td>Hyperparameter</td><td>Value</td></tr><tr><td>Num. points</td><td>512</td><td>Hidden dim.</td><td>128</td><td>Shared MLP</td><td>MLP (512, 256, 128)</td></tr><tr><td>Num. patches</td><td>16</td><td>Num. layer</td><td>2</td><td>Actor</td><td>MLP (64, 1)</td></tr><tr><td>Patch size</td><td>32</td><td>Num. attention head in self-attention</td><td>4</td><td>Critic</td><td>MLP(64, 20)</td></tr><tr><td>Concatenate context input</td><td>True</td><td>Num. attention head in cross-attention (teacher/student)</td><td>16/4</td><td></td><td></td></tr></table>
|
| 312 |
+
|
| 313 |
+
Table A.3: Hyperparameters for PPO.
|
| 314 |
+
|
| 315 |
+
<table><tr><td>Hyperparameter</td><td>Value</td><td>Hyperparameter</td><td>Value</td><td>Hyperparameter</td><td>Value</td><td>Hyperparameter</td><td>Value</td></tr><tr><td>Max Num. epoch</td><td>8</td><td>Base learning rate</td><td>0.0003</td><td>GAE parameter</td><td>0.95</td><td>Num. environment</td><td>4096</td></tr><tr><td>Early-stopping KL target</td><td>0.024</td><td>Adaptive-LR KL target</td><td>0.016</td><td>Discount factor</td><td>0.99</td><td>Episode length</td><td>300</td></tr><tr><td>Entropy regularization</td><td>0</td><td>Learning rate schedule</td><td>adaptive</td><td>PPO clip range</td><td>0.3</td><td>Update frequency</td><td>8</td></tr><tr><td>Policy loss coeff.</td><td>2</td><td>Value loss coeff.</td><td>0.5</td><td>Bound loss coeff.</td><td>0.02</td><td></td><td></td></tr></table>
|
| 316 |
+
|
| 317 |
+
Table A.4: Range for domain randomization. $\mathcal{U}[min, max]$ denotes uniform distribution, and $\mathcal{N}[\mu, \sigma]$ denotes Normal distribution. Point cloud noise and Goal pose noise are added to the normalized input.
|
| 318 |
+
|
| 319 |
+
<table><tr><td>Parameter</td><td>Range</td></tr><tr><td>Object mass (kg)</td><td>U[0.1, 0.5]</td></tr><tr><td>Object scale (m)</td><td>U[0.1, 0.3]</td></tr><tr><td>Object friction</td><td>U[0.7, 1.0]</td></tr><tr><td>Table friction</td><td>U[0.3, 0.8]</td></tr><tr><td>Gripper friction</td><td>U[1.0, 1.5]</td></tr><tr><td>Torque noise</td><td>N[0.0, 0.03]</td></tr><tr><td>Point cloud noise</td><td>N[0.0, 0.005]</td></tr><tr><td>Goal pose noise</td><td>N[0.0, 0.005]</td></tr></table>
|
2024/CORN_ Contact-based Object Representation for Nonprehensile Manipulation of General Unseen Objects/images.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:69e1fe8d0808e7ef77aef82173f090cdbbb6ae809300e752c903cb15126d2839
|
| 3 |
+
size 593095
|
2024/CORN_ Contact-based Object Representation for Nonprehensile Manipulation of General Unseen Objects/layout.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2024/COSA_ Concatenated Sample Pretrained Vision-Language Foundation Model/4c9218f4-c368-4834-86cf-99d68eedf0ed_content_list.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2024/COSA_ Concatenated Sample Pretrained Vision-Language Foundation Model/4c9218f4-c368-4834-86cf-99d68eedf0ed_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2024/COSA_ Concatenated Sample Pretrained Vision-Language Foundation Model/4c9218f4-c368-4834-86cf-99d68eedf0ed_origin.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d99342a8a251cf570505c7efecd475094084aff2cb08107adac5ff4ddd508e00
|
| 3 |
+
size 14920121
|
2024/COSA_ Concatenated Sample Pretrained Vision-Language Foundation Model/full.md
ADDED
|
@@ -0,0 +1,385 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# COSA: CONCATENATED SAMPLE PRETRAINED VISION-LANGUAGE FOUNDATION MODEL
|
| 2 |
+
|
| 3 |
+
Sihan Chen $^{12*}$ Xingjian He $^{2}$ Handong Li $^{12}$ Xiaojie Jin $^{3}$ Jiashi Feng $^{3}$ Jing Liu $^{12}$
|
| 4 |
+
|
| 5 |
+
$^{1}$ School of Artificial Intelligence, University of Chinese Academy of Sciences
|
| 6 |
+
$^{2}$ Institute of Automation, Chinese Academy of Science $^{3}$ Bytedance Inc.
|
| 7 |
+
|
| 8 |
+
{sihan.chen, xingjian.he, jliu}@nlpr.ia.ac.cn
|
| 9 |
+
|
| 10 |
+
lihandong2023@ia.ac.cn,{jinxiaojie,jshfeng}@bytedance.com
|
| 11 |
+
|
| 12 |
+
# ABSTRACT
|
| 13 |
+
|
| 14 |
+
Due to the limited scale and quality of video-text training corpus, most vision-language foundation models employ image-text datasets for pretraining and primarily focus on modeling visually semantic representations while disregarding temporal semantic representations and correlations. To address this issue, we propose COSA, a COncatenated SAmple pretrained vision-language foundation model. COSA can jointly model visual contents and event-level temporal cues using only image-text corpora. We achieve this by sequentially concatenating multiple image-text pairs as inputs for pretraining. This transformation effectively converts existing image-text corpora into a pseudo video-paragraph corpus, enabling richer scene transformations and explicit event-description correspondence. Extensive experiments demonstrate that COSA consistently improves performance across a broad range of semantic vision-language downstream tasks, including paragraph-to-video retrieval, text-to-video/image retrieval, video/image captioning and video QA. Notably, COSA achieves state-of-the-art results on various competitive benchmarks. Code and model are released at https://github.com/TXH-mercury/COSA.
|
| 15 |
+
|
| 16 |
+
# 1 INTRODUCTION
|
| 17 |
+
|
| 18 |
+
Image-text and video-text pretraining models have garnered increasing attention in recent years due to their strong capabilities in bridging the domains of vision and language. These models contribute significantly to various vision-language tasks such as cross-modality retrieval, vision captioning, and visual question answering (VQA). In the early stages, these models were independently trained using distinct cross-modality corpora, network architectures, and training objectives. However, considering that a video can be perceived as a sequence of multiple images (Lei et al., 2021), and an image can be seen as a frozen video (Bain et al., 2021), most researchers lean towards training unified foundation models using corpora from both domains, employing sparsely sampled frames as the video representation.
|
| 19 |
+
|
| 20 |
+
Nevertheless, the majority of large-scale vision-language foundation models are usually trained solely on image-text corpora, disregarding the joint modeling of images and videos. This limitation stems from the restricted scale of video-text corpora, which is associated with the costly processes of video uploading, storage, and downloading: currently, open-sourced web-crawled video-text corpora, such as WebVid10M (Bain et al., 2021), are still two orders of magnitude smaller than its image-text counterpart (LAION-2B (Schuhmann et al., 2021)), which implies the dominance of image-text data in joint modeling. On the other hand, image-text pretraining can also bring benefits to video-related tasks. In fact, some large-scale image-text foundation models (Radford et al., 2021; Wang et al., 2022b) have achieved competitive or even superior performance on video tasks compared to dedicated video-language pretraining models.
|
| 21 |
+
|
| 22 |
+

|
| 23 |
+
Figure 1: Visualizations of the traditional image-text and video-text model pretraining pipeline and proposed unified foundation model COSA, which transforms the image-text corpus into a synthetic video-text corpus through online sample concatenation.
|
| 24 |
+
|
| 25 |
+
Despite the fact that image-text foundation models have acquired a broad range of semantic correlations between visual concepts and language, they totally overlook temporal contexts within videos, which are crucial for video-language reasoning. This raises the question that whether we can utilize large-scale image-text corpora to train a unified foundation model capable of capturing both static and temporal information during the pretraining phase.
|
| 26 |
+
|
| 27 |
+
Towards this goal, we propose a simple yet effective approach: training a foundation model with concatenated samples. As illustrated in Figure 1, instead of modeling independently modeling cross-modality samples via traditional single sample training (SST), COSA models the semantic and event-level temporal information among multiple samples by conducting online sample concatenation to transform image-text corpora into video-paragraph corpora, and thus further enhance the learning of both image-language and video-language representations. Specifically, at each training step, for every image-text training sample, we randomly select some other samples from current batch and concatenate them (both images and texts) together. Ablation studies have demonstrated that model trained with COSA can evidently outperform model trained with SST on 12 benchmarks including both video-text and image-text tasks. We attribute it to two main reasons: 1) Concatenated samples build connections between visual concepts and words within a sample group, which is more difficult than build them within single sample, due to that both negative unmatched visual concepts and textual words become more, and thus is helpful for learn more discriminative representations. 2) In comparison to current video-text corpora (Bain et al., 2021), the on-the-fly concatenated corpus offers richer scene transformations, reduced vision redundancy due to sampling randomness, and longer temporally fine-grained captions that describe every frame in sequential order, which encourages models to learn better event-level temporal understanding capabilities and thus further improve performance on video-text tasks.
|
| 28 |
+
|
| 29 |
+
Enhanced by COSA, we deliver a unified vision-language foundation model. It possesses a simple architecture, takes concatenated samples as input during pretraining with training objectives modified to build connections among multiple cross-modality samples. Extensive experiments have shown that COSA model is capable of handling both discriminative and generative tasks such as cross-modality retrieval, captioning, question answering, and achieves new state-of-the-art results across a wide range of benchmarks under different model scale settings.
|
| 30 |
+
|
| 31 |
+
# 2 RELATED WORK
|
| 32 |
+
|
| 33 |
+
Temporal Learning in Video-Language Pretraining (VidLP). Temporal information is the essence that distinguishes videos from images. Early methods aimed to enhance temporal learning in VidLP by either employing models pretrained on action classification tasks as vision backbones (Bain et al., 2021; Li et al., 2022a; Fu et al., 2021; 2022) or designing specific training objectives such as frame order modeling (FOM) (Li et al., 2020; Zellers et al., 2021) or masked video modeling (MVM) (Fu et al., 2021; 2022). We divide temporal learning into two aspects, namely event-level and action-level temporal modeling, in which the former emphasize on the differences and relations across multiple events/scenes, while the latter concentrates the temporal relations of consecutive frames in single event/scene.
|
| 34 |
+
|
| 35 |
+

|
| 36 |
+
Figure 2: Model architecture and training objectives of COSA. Circles and squares in the figure represent global and patch features, respectively.
|
| 37 |
+
|
| 38 |
+
However, Singularity (Lei et al., 2022) reveals that temporal modeling in pretraining may not be necessary, as sampling a single frame can yield comparable performance to utilizing multiple frames. They attribute this to the static appearance bias in video-language downstream benchmarks. We hypothesize that another contributing factor lies in the limitation of current video-text corpus (WebVid-2.5M (Bain et al., 2021)) for both action-level and event-level temporal learning. In terms of action-level temporal learning, the corpus contains fewer annotated actions compared to recognition datasets like Kinetics-400 (Kay et al., 2017), and there is significant caption redundancy as actions are often associated with several predicates rather than the entire sentence. For event-level temporal learning, the corpus is typically constrained to a single scene and description, whereas rich scene transformations and event-sentence correspondence are crucial. To address these limitations, OmniVL (Wang et al., 2022d) extends the idea of UniCL (Lu et al., 2022) to the video domain and incorporates Kinetics-400 into the training corpus. HiTeA (Ye et al., 2022) tackles caption redundancy through specific fine-grained alignment designs. Compared to above two methods which target at enhancing action-level temporal learning, LF_VILA (Sun et al., 2022) constructs a long-form dataset from the large-scale HD_VILA_100M (Xue et al., 2022a) dataset to enhance event-level temporal learning. In contrast to the aforementioned methods, this work proposes concatenated sample learning to dynamically compose pseudo video-paragraph corpora from existing image-text or video-text corpus, and simultaneously enhance image-text and event-level temporal video-text learning.
|
| 39 |
+
|
| 40 |
+
Unified Vision-Language Foundation Model. The Frozen model (Bain et al., 2021) was the first to leverage a mixture of image-text (CC3M (Sharma et al., 2018)) and video-text corpus (WebVid2.5M (Bain et al., 2021)) for training VidLP models by sparsely sampling the video corpus and treating the image corpus as frozen videos. Subsequent VidLP methods have followed this route to support both image-text and video-text tasks, with advanced vision backbones (Fu et al., 2021; 2022; Ye et al., 2022) or specially designed training objectives (Li et al., 2022a; Ye et al., 2022; Ge et al., 2022b).
|
| 41 |
+
|
| 42 |
+
Regarding large-scale unified vision-language foundation models, they can be classified into two types: co-training methods and two-stage training methods. Co-training methods train on both image and video corpora simultaneously and a typical representative method is Flamingo (Alayrac et al., 2022). Two-stage training methods first train models on image-text corpora and then adapt them for video-text tasks. Image-text models can be trained via contrastive learning (Radford et al., 2021; Jia et al., 2021), generative learning (Wang et al., 2022b; Chen et al., 2022; Wang et al., 2021), or a combination of both them(Yu et al., 2022). Regarding adapting image-text models to video-text ones, CLIP-based models (Luo et al., 2022; Xue et al., 2022b) employ temporal fusion transformers and frame-word fine-grained alignment learning to enable text-to-video retrieval. GIT (Wang et al., 2022b) directly finetune models by concatenating multiple frame features as input to the text decoder and achieves state-of-the-art performance on most video captioning benchmarks. VideoCoCa (Yan et al., 2022) adapts the CoCa model (Yu et al., 2022) through continuous learning on video-language corpora. MaMMUT (Kuo et al., 2023) applies a similar temporal perceiving capability enhancement during finetuning as TubeViT (Piergiovanni et al., 2022). In comparison to the above methods, COSA simultaneously model image-text and video-text learning during the pretraining stage, with image-text corpora utilized only.
|
| 43 |
+
|
| 44 |
+
# 3 METHOD
|
| 45 |
+
|
| 46 |
+
# 3.1 SIMPLE MODEL ARCHITECTURE
|
| 47 |
+
|
| 48 |
+
COSA adopts a simple architecture, consisting of a vision encoder (ViT (Dosovitskiy et al., 2020)) and a text encoder (BERT (Devlin et al., 2018)), which facilitates both single-modality encoding and cross-modality interaction. Specifically, we introduce additional cross-attention layers between the self-attention and feed-forward layers of BERT. These cross-attention layers are activated during the forward pass for cross-modality understanding or generation, while deactivated during the forward
|
| 49 |
+
|
| 50 |
+
Table 1: Model configurations of COSA. CC14M is a combination of CC3M (Sharma et al., 2018), CC12M (Changpinyo et al., 2021), COCO (Lin et al., 2014), SBU (Ordonez et al., 2011), and VG (Krishna et al., 2017b) datasets. The largest 1.2B COSA model is trained with a data bootstrapping strategy inspired by BLIP (Li et al., 2022b), and captions in training corpora (marked with ‘*’) are generated by us through an additionally trained captioner, more details can be found in Appendix. The 400M image-text pairs used in CLIP and LAION-400M (Schuhmann et al., 2021) used in EVAClip are also included in the training examples statistics. LAION-102M is a randomly sampled subset from LAION-400M.
|
| 51 |
+
|
| 52 |
+
<table><tr><td>Model</td><td>Vision Encoder</td><td>Param</td><td>Training corpora</td><td>Example</td><td>Step</td></tr><tr><td>COSA-B</td><td>Swin-B(Liu et al., 2021)</td><td>251M</td><td>CC3M+WebVid2.5M</td><td>5M</td><td>100K</td></tr><tr><td>COSA-B</td><td>Swin-B(Liu et al., 2021)</td><td>251M</td><td>CC14M+WebVid2.5M</td><td>17M</td><td>160K</td></tr><tr><td>COSA-L</td><td>CLIP/ViT-L/14(Radford et al., 2021)</td><td>468M</td><td>CC14M+WebVid2.5M</td><td>417M</td><td>160K</td></tr><tr><td>COSA</td><td>EVAClip/VIT-G/14(Sun et al., 2023)</td><td>1.2B</td><td>CC14M*+LAION-102M*</td><td>415M</td><td>150K</td></tr></table>
|
| 53 |
+
|
| 54 |
+
pass for single-modality encoding. The text encoder can serve as a single-modality encoder, cross-modality encoder and decoder.
|
| 55 |
+
|
| 56 |
+
# 3.2 CONCATENATED SAMPLE TRAINING
|
| 57 |
+
|
| 58 |
+
Online Sample Concatenation. As illustrated in Figure 2, unlike traditional foundation models that take a single image-text pair or frames-text pair as input (SST, single sample training), COSA employs an online transformation to convert them into a pseudo video-paragraph corpus. To illustrate this process, let's consider the image-text corpus. Given a batch containing $n_b$ image-text samples, for the $i$ -th sample $S_i$ with its image and text denoted as $I_i$ and $T_i$ respectively, we randomly select $n_c$ ( $n_c = 3$ by default) other samples from the current batch and group them together. Consequently, the single sample ( $I_i, T_i$ ) is transformed into a grouped sample ( $I_{group} = [I_i, I_{j1}, \dots, I_{jn_c}]$ , $T_{group} = [T_i, T_{j1}, \dots, T_{jn_c}]$ ). Subsequently, we concatenate both the images and texts in the same order to establish their event-level temporal correspondence. Specifically, for the grouped images, we individually feed them into the vision encoder, incorporate learnable temporal embeddings into the output features, and concatenate them along the sequential dimension. Regarding the grouped texts, we directly concatenate them into a paragraph where the temporal relations can be encoded by BERT's vanilla position embedding layer. Through the process of in-order sample concatenation and the use of position embeddings, the model can learn explicit scene-level temporal alignment. This concatenation procedure is applied to all samples in the batch. COSA can also be applied on video-text corpus and in this scenario, we sample a single frame from each video and perform the same concatenation process.
|
| 59 |
+
|
| 60 |
+
The concatenated images can be viewed as a series of snapshots from multiple clips within a pseudo video, where each clip captures a different scene accompanied by its corresponding descriptions. It is noted that these pseudo videos exhibit rapid scene changes with reduced visual redundancy but little semantic coherence due to the random sampling process. However, our experiments demonstrate that the cost of sacrificing clip coherence is negligible, and random sampling yields superior results compared to other settings where clip relevance is intentionally enforced.
|
| 61 |
+
|
| 62 |
+
Training Objectives. We employ four training objectives, namely Image-Text Contrastive (ITC), Image-Text Matching (ITM), Masked Language Modeling (MLM), and Generative Modeling (GM), to enhance the model's cross-modality alignment, understanding, and generation capabilities. These objectives are modified to accommodate the use of concatenated samples as input, as opposed to single samples.
|
| 63 |
+
|
| 64 |
+
Concatenated Image-Text Contrastive (CITC). The pseudo video frames are individually passed through the vision encoder, and the average pooling of the output [CLS] token features serves as the global representation of the pseudo videos. The [CLS] token feature from BERT is utilized as the paragraph representation. A bi-directional contrastive loss is employed to bring paired concatenated samples closer together while pushing away unpaired ones.
|
| 65 |
+
|
| 66 |
+
Concatenated Image-Text Matching (CITM). This task requires the model to determine whether a pseudo video and a paragraph correspond to each other. Hard negative mining is used following the approach in (Li et al., 2021a). The [CLS] token feature from the multimodal encoder (text encoder) is used to compute a binary classification loss through a two-layer MLP.
|
| 67 |
+
|
| 68 |
+
Table 2: Performance comparison on text-to-video retrieval benchmarks. For fair comparison, evaluation results before employing post-processing methods such as dual softmax (Cheng et al., 2021) are compared. Recall@1,5,10 are used as evaluation metrics.
|
| 69 |
+
|
| 70 |
+
<table><tr><td rowspan="2">Method</td><td rowspan="2">Example</td><td colspan="3">MSRVTT</td><td colspan="3">DiDeMo</td><td colspan="3">LSMDC</td><td colspan="3">ActivityNet</td></tr><tr><td>R@1</td><td>R@5</td><td>R@10</td><td>R@1</td><td>R@5</td><td>R@10</td><td>R@1</td><td>R@5</td><td>R@10</td><td>R@1</td><td>R@5</td><td>R@10</td></tr><tr><td>ClipBert(Lei et al., 2021)</td><td>5.4M</td><td>22.0</td><td>46.8</td><td>59.9</td><td>20.4</td><td>48.0</td><td>60.8</td><td>-</td><td>-</td><td>-</td><td>21.3</td><td>49.0</td><td>63.5</td></tr><tr><td>Frozen(Bain et al., 2021)</td><td>5M</td><td>31.0</td><td>59.5</td><td>70.5</td><td>34.6</td><td>65.0</td><td>74.7</td><td>15.0</td><td>30.8</td><td>39.8</td><td>-</td><td>-</td><td>-</td></tr><tr><td>BridgeFormer(Ge et al., 2022a)</td><td>5M</td><td>37.6</td><td>64.8</td><td>75.1</td><td>37.0</td><td>62.2</td><td>73.9</td><td>17.9</td><td>35.4</td><td>44.5</td><td>-</td><td>-</td><td>-</td></tr><tr><td>MILES(Ge et al., 2022b)</td><td>5M</td><td>37.7</td><td>63.6</td><td>73.8</td><td>36.6</td><td>63.9</td><td>74.0</td><td>17.8</td><td>35.6</td><td>44.1</td><td>-</td><td>-</td><td>-</td></tr><tr><td>OA-Trans(Wang et al., 2022c)</td><td>5M</td><td>35.8</td><td>63.4</td><td>76.5</td><td>34.8</td><td>64.4</td><td>75.1</td><td>18.2</td><td>34.3</td><td>43.7</td><td>-</td><td>-</td><td>-</td></tr><tr><td>Clover(Huang et al., 2022)</td><td>5M</td><td>38.6</td><td>67.4</td><td>76.4</td><td>45.1</td><td>74.3</td><td>82.2</td><td>22.7</td><td>42.0</td><td>52.6</td><td>-</td><td>-</td><td>-</td></tr><tr><td>VIOLETv2(Fu et al., 2022)</td><td>5M</td><td>37.2</td><td>64.8</td><td>75.8</td><td>47.9</td><td>76.5</td><td>84.1</td><td>24.0</td><td>43.5</td><td>54.1</td><td>-</td><td>-</td><td>-</td></tr><tr><td>LF-VILA(Sun et al., 2022)</td><td>8.5M</td><td>-</td><td>-</td><td>-</td><td>35.0</td><td>64.5</td><td>75.8</td><td>-</td><td>-</td><td>-</td><td>35.3</td><td>65.4</td><td>-</td></tr><tr><td>COSA-B(Ours)</td><td>5M</td><td>42.2</td><td>69.0</td><td>79.0</td><td>57.8</td><td>80.6</td><td>87.9</td><td>27.3</td><td>46.7</td><td>55.2</td><td>55.6</td><td>80.7</td><td>89.1</td></tr><tr><td>OmniVL(Wang et al., 2022d)</td><td>17M</td><td>47.8</td><td>74.2</td><td>83.8</td><td>52.4</td><td>79.5</td><td>85.4</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td></tr><tr><td>HiTeA(Ye et al., 2022)</td><td>17M</td><td>46.8</td><td>71.2</td><td>81.9</td><td>56.5</td><td>81.7</td><td>89.7</td><td>28.7</td><td>50.3</td><td>59.0</td><td>49.7</td><td>77.1</td><td>86.7</td></tr><tr><td>SINGULARITY(Lei et al., 2022)</td><td>17M</td><td>41.5</td><td>68.7</td><td>77.0</td><td>53.9</td><td>79.4</td><td>86.9</td><td>-</td><td>-</td><td>-</td><td>47.1</td><td>75.5</td><td>85.5</td></tr><tr><td>VINDLU-B(Cheng et al., 2022)</td><td>17M</td><td>45.3</td><td>69.9</td><td>79.6</td><td>59.2</td><td>84.1</td><td>89.5</td><td>-</td><td>-</td><td>-</td><td>54.4</td><td>80.7</td><td>89.0</td></tr><tr><td>LAVENDER(Li et al., 2022c)</td><td>30M</td><td>40.7</td><td>66.9</td><td>77.6</td><td>53.4</td><td>78.6</td><td>85.3</td><td>26.1</td><td>46.4</td><td>57.3</td><td>-</td><td>-</td><td>-</td></tr><tr><td>COSA-B(Ours)</td><td>17M</td><td>46.9</td><td>72.1</td><td>81.3</td><td>64.1</td><td>86.1</td><td>90.6</td><td>31.2</td><td>50.9</td><td>57.8</td><td>59.3</td><td>83.8</td><td>90.9</td></tr><tr><td>All-in-one(Wang et al., 2022a)</td><td>138M</td><td>37.9</td><td>68.1</td><td>77.1</td><td>32.7</td><td>61.4</td><td>73.5</td><td>22.4</td><td>53.7</td><td>67.7</td><td>-</td><td>-</td><td>-</td></tr><tr><td>CLIP4Clip(Luo et al., 2022)</td><td>400M</td><td>44.5</td><td>71.4</td><td>81.6</td><td>43.4</td><td>70.2</td><td>80.6</td><td>22.6</td><td>41.0</td><td>49.1</td><td>40.5</td><td>72.4</td><td>-</td></tr><tr><td>X-CLIP(Ma et al., 2022)</td><td>400M</td><td>49.3</td><td>75.8</td><td>84.8</td><td>47.8</td><td>79.3</td><td>-</td><td>26.1</td><td>48.4</td><td>46.7</td><td>46.2</td><td>75.5</td><td>-</td></tr><tr><td>mPLUG-2(Xu et al., 2023)</td><td>417M</td><td>53.1</td><td>77.6</td><td>84.7</td><td>56.4</td><td>79.1</td><td>85.2</td><td>34.4</td><td>55.2</td><td>65.1</td><td>-</td><td>-</td><td>-</td></tr><tr><td>UMT-L(Li et al., 2023b)</td><td>425M</td><td>58.8</td><td>81.0</td><td>87.1</td><td>70.4</td><td>90.1</td><td>93.5</td><td>43.0</td><td>65.5</td><td>73.0</td><td>66.8</td><td>89.1</td><td>94.9</td></tr><tr><td>VALOR-L(Chen et al., 2023)</td><td>433.5M</td><td>54.4</td><td>79.8</td><td>87.6</td><td>57.6</td><td>83.3</td><td>88.8</td><td>31.8</td><td>52.8</td><td>62.4</td><td>63.4</td><td>87.8</td><td>94.1</td></tr><tr><td>CLIP-VIP(Xue et al., 2022b)</td><td>500M</td><td>54.2</td><td>77.2</td><td>84.8</td><td>50.5</td><td>78.4</td><td>87.1</td><td>29.4</td><td>50.6</td><td>59.0</td><td>53.4</td><td>81.4</td><td>90.0</td></tr><tr><td>COSA-L(Ours)</td><td>417M</td><td>54.4</td><td>77.2</td><td>84.7</td><td>68.3</td><td>88.1</td><td>91.7</td><td>38.6</td><td>59.1</td><td>67.4</td><td>66.8</td><td>87.6</td><td>93.9</td></tr><tr><td>COSA(Ours)</td><td>415M</td><td>57.9</td><td>79.6</td><td>86.1</td><td>70.5</td><td>89.3</td><td>92.4</td><td>39.4</td><td>60.4</td><td>67.7</td><td>67.3</td><td>89.0</td><td>95.0</td></tr></table>
|
| 71 |
+
|
| 72 |
+
Concatenated Masked Language Modeling (CMLM). We randomly mask $15\%$ of the tokens in the paragraphs and employ BERT's vanilla prediction layer to reconstruct the masked tokens given the context of the pseudo videos.
|
| 73 |
+
|
| 74 |
+
Concatenated Generation Modeling (CGM). We randomly mask $60\%$ of the tokens in the paragraphs and utilize the same prediction layer as in CMLM to reconstruct the masked tokens in the context of the pseudo videos. CGM incorporates causal attention masks in the self-attention layers of BERT to prevent information leakage and enhance the model's capabilities for text generation.
|
| 75 |
+
|
| 76 |
+
In addition to the four training objectives that utilize concatenated samples as input, we also include two vanilla objectives (ITC and ITM) that take raw single samples as input to enhance the model's ability to process single samples.
|
| 77 |
+
|
| 78 |
+
# 4 EXPERIMENTS
|
| 79 |
+
|
| 80 |
+
# 4.1 IMPLEMENTATION DETAILS
|
| 81 |
+
|
| 82 |
+
We train COSA models using the PyTorch framework and 64 Tesla V100 cards. To ensure a fair comparison with state-of-the-art video-language pretraining models and vision-language foundation models, we train four model variants with different parameter and data sizes, as illustrated in Table 1. All models utilize BERT-Base as the text encoder. The initial learning rate is set to 1e-4, and a $10\%$ warm-up strategy with a linear decay schedule is employed. The batch size is set to 2048. For ablation studies, we utilize the frozen CLIP/ViT-B/16 (Radford et al., 2021) as the vision encoder for efficiency purposes, and the models are trained on CC3M for 30K steps with a batch size of 1024, unless specified otherwise. Six training losses are equally weighted. For pretraining and video-text tasks finetuning, we use 224 image resolution, while for image-text tasks finetuning, we use higher resolution, which is presented together with Other details in Appendix.
|
| 83 |
+
|
| 84 |
+
# 4.2 COMPARISON TO STATE-OF-THE-ART
|
| 85 |
+
|
| 86 |
+
Text-to-Video Retrieval. We evaluate text-to-video retrieval on four benchmarks, including MSRVTT (Xu et al., 2016), DiDeMo (Anne Hendricks et al., 2017), LSMDC (Rohrbach et al., 2017), and ActivityNet (Krishna et al., 2017a). ITC and ITM are used as the training objectives. During testing, we rank all candidates using similarity scores computed by ITC and then rerank the top-50 candidates via ITM. As shown in Table 2, COSA-B (5M) outperforms previous models of similar scale by a significant margin on all four benchmarks, especially for the paragraph-to-video retrieval benchmarks (DiDeMo and ActivityNet). This demonstrates the effectiveness of concatenated sample training. It is noted that LF-VILA(Sun et al., 2022) is customized designed for paragraph-to-video retrieval with
|
| 87 |
+
|
| 88 |
+
Table 3: Performance comparison on open-ended video QA benchmarks. Accuracy is used as the evaluation metric.
|
| 89 |
+
|
| 90 |
+
<table><tr><td>Method</td><td>Example</td><td>MSR</td><td>MSVD</td><td>TGIF</td><td>ANet</td></tr><tr><td>ClipBERT(Lei et al., 2021)</td><td>5.4M</td><td>37.4</td><td>-</td><td>60.3</td><td>-</td></tr><tr><td>ALPRO(Li et al., 2022a)</td><td>5M</td><td>42.1</td><td>45.9</td><td>-</td><td>-</td></tr><tr><td>VIOLETv2(Fu et al., 2022)</td><td>5M</td><td>44.5</td><td>54.7</td><td>72.8</td><td>-</td></tr><tr><td>Clover(Huang et al., 2022)</td><td>5M</td><td>43.9</td><td>51.9</td><td>71.4</td><td>-</td></tr><tr><td>COSA-B(Ours)</td><td>5M</td><td>46.2</td><td>54.3</td><td>73.4</td><td>46.5</td></tr><tr><td>OmniVL(Wang et al., 2022d)</td><td>17M</td><td>44.1</td><td>51.0</td><td></td><td></td></tr><tr><td>HiTeA(Ye et al., 2022)</td><td>17M</td><td>45.9</td><td>55.3</td><td>73.2</td><td>46.4</td></tr><tr><td>SINGULARITY(Lei et al., 2022)</td><td>17M</td><td>43.5</td><td>-</td><td>-</td><td>43.1</td></tr><tr><td>VINDLU-B(Cheng et al., 2022)</td><td>17M</td><td>43.8</td><td>-</td><td>-</td><td>44.6</td></tr><tr><td>LAVENDER(Li et al., 2022c)</td><td>30M</td><td>45.0</td><td>56.6</td><td>73.5</td><td>-</td></tr><tr><td>JustAsk(Yang et al., 2021)</td><td>69M</td><td>41.5</td><td>46.3</td><td>-</td><td>38.9</td></tr><tr><td>COSA-B(Ours)</td><td>17M</td><td>46.9</td><td>55.5</td><td>75.0</td><td>47.3</td></tr><tr><td>MERLOT(Zellers et al., 2021)</td><td>180M</td><td>43.1</td><td>-</td><td>69.5</td><td>41.4</td></tr><tr><td>All-in-one(Wang et al., 2022a)</td><td>228.5M</td><td>46.8</td><td>48.3</td><td>66.3</td><td>-</td></tr><tr><td>FrozenBiLM(Yang et al., 2022)</td><td>410M</td><td>47.0</td><td>54.8</td><td>68.6</td><td>43.2</td></tr><tr><td>mPLUG-2(Xu et al., 2023)</td><td>417M</td><td>48.0</td><td>58.1</td><td>75.4</td><td>-</td></tr><tr><td>UMT-L(Li et al., 2023b)</td><td>425M</td><td>47.1</td><td>55.2</td><td>-</td><td>47.9</td></tr><tr><td>VALOR-L(Chen et al., 2023)</td><td>433.5M</td><td>49.2</td><td>60.0</td><td>78.7</td><td>48.6</td></tr><tr><td>InternVideo(Wang et al., 2022g)</td><td>646M</td><td>47.1</td><td>55.5</td><td>72.2</td><td>-</td></tr><tr><td>GIT(Wang et al., 2022b)</td><td>1.7B</td><td>43.2</td><td>56.8</td><td>72.8</td><td>-</td></tr><tr><td>Flamingo(80B)(Alayrac et al., 2022)</td><td>2.3B</td><td>47.4</td><td>-</td><td>-</td><td>-</td></tr><tr><td>VideoCoCa (2.1B)(Yan et al., 2022)</td><td>4.8B</td><td>46.0</td><td>56.9</td><td>-</td><td>-</td></tr><tr><td>GIT2 (5.1B)(Wang et al., 2022b)</td><td>12.9B</td><td>45.6</td><td>58.2</td><td>74.9</td><td>-</td></tr><tr><td>COSA-L(Ours)</td><td>417M</td><td>48.8</td><td>58.6</td><td>77.6</td><td>49.2</td></tr><tr><td>COSA(Ours)(1.2B)</td><td>415M</td><td>49.2</td><td>60.0</td><td>79.5</td><td>49.9</td></tr></table>
|
| 91 |
+
|
| 92 |
+
Table 4: Performance comparison on video captioning benchmarks. BLEU@4 (Papineni et al., 2002) (B@4) and CIDEr (Vedantam et al., 2015) (C) are used as metrics. Results of models utilizing additional modalities such as audio (Chen et al., 2023) and subtitle (Tang et al., 2021; Li et al., 2021b) are denoted by dashed color. Following (Tang et al., 2021; Chen et al., 2023; Wang et al., 2022b), we employ SCST finetuning (Rennie et al., 2017) on the VATEX benchmark, and the corresponding results are marked with $*$ .
|
| 93 |
+
|
| 94 |
+
<table><tr><td rowspan="2">Method</td><td rowspan="2">Example</td><td colspan="2">MSRVTT</td><td colspan="2">MSVD</td><td colspan="2">VATEX</td><td colspan="2">YouCook2</td><td colspan="2">TVC</td></tr><tr><td>B@4</td><td>C</td><td>B@4</td><td>C</td><td>B@4</td><td>C</td><td>B@4</td><td>C</td><td>B@4</td><td>C</td></tr><tr><td>VIOLETv2(Fu et al., 2022)</td><td>5M</td><td>-</td><td>58.0</td><td>-</td><td>139.2</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td></tr><tr><td>HiTeA(Ye et al., 2022)</td><td>5M</td><td>-</td><td>62.5</td><td>-</td><td>145.1</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td></tr><tr><td>COSA-B(Ours)</td><td>5M</td><td>48.1</td><td>64.3</td><td>66.9</td><td>146.0</td><td>40.5</td><td>72.6</td><td>7.8</td><td>100.9</td><td>15.6</td><td>59.2</td></tr><tr><td>LAVENDER(Li et al., 2022c)</td><td>30M</td><td>-</td><td>60.1</td><td>-</td><td>150.7</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td></tr><tr><td>COSA-B(Ours)</td><td>17M</td><td>48.5</td><td>64.7</td><td>68.7</td><td>150.9</td><td>41.4</td><td>74.4</td><td>8.6</td><td>106.2</td><td>16.2</td><td>61.0</td></tr><tr><td>VALUE(Li et al., 2021b)</td><td>136M</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td>58.1</td><td>12.4</td><td>130.3</td><td>11.6</td><td>50.5</td></tr><tr><td>CLIP4Caption++(Tang et al., 2021)</td><td>400M</td><td>-</td><td>-</td><td>-</td><td>-</td><td>40.6*</td><td>85.7*</td><td>-</td><td>-</td><td>15.0</td><td>66.0</td></tr><tr><td>VALOR-L(Chen et al., 2023)</td><td>433.5M</td><td>54.4</td><td>74.0</td><td>80.7</td><td>178.5</td><td>45.6*</td><td>95.8*</td><td>-</td><td>-</td><td>-</td><td>-</td></tr><tr><td>GIT(Wang et al., 2022b)</td><td>1.7B</td><td>53.8</td><td>73.9</td><td>79.5</td><td>180.2</td><td>41.6*</td><td>91.5*</td><td>10.3</td><td>129.8</td><td>16.2</td><td>63.0</td></tr><tr><td>Flamingo(80B)(Alayrac et al., 2022)</td><td>2.3B</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td>118.6</td><td>-</td><td>-</td></tr><tr><td>GIT2 (5.1B)(Wang et al., 2022b)</td><td>12.9B</td><td>54.8</td><td>75.9</td><td>82.2</td><td>185.4</td><td>42.7*</td><td>94.5*</td><td>9.4</td><td>131.2</td><td>16.9</td><td>66.1</td></tr><tr><td>COSA-L(Ours)</td><td>417M</td><td>53.2</td><td>72.1</td><td>74.0</td><td>169.1</td><td>45.4</td><td>84.4</td><td>10.2</td><td>125.8</td><td>17.7</td><td>67.5</td></tr><tr><td>COSA(Ours)(1.2B)</td><td>415M</td><td>53.7</td><td>74.7</td><td>76.5</td><td>178.5</td><td>43.7*</td><td>96.5*</td><td>10.1</td><td>131.3</td><td>18.8</td><td>70.7</td></tr></table>
|
| 95 |
+
|
| 96 |
+
specialized framework and corpus, but fall behind COSA-B which takes a simple unified architecture as well as common corpora. In addition, COSA (17M) evidently surpasses VINDLU(Cheng et al., 2022) which have searched a best training recipe targeted at retrieval tasks. When compared to large-scale models, COSA achieves the best R@1 results on DiDeMo and ActivityNet datasets and comparable results on other benchmarks.
|
| 97 |
+
|
| 98 |
+
Video QA. We evaluate video QA on four benchmarks, including MSRVTT-QA (Xu et al., 2017), MSVD-QA (Xu et al., 2017), TGIF-QA (Li et al., 2016), and ActivityNet-QA (Yu et al., 2019), and formulate it as an open-ended generative task to predict answers with questions as prefixes. As shown in Table 3, COSA-B (5M) and COSA-B (17M) outperform all models of similar scale by a significant margin. Under the large-scale pretraining scenario, COSA achieves state-of-the-art accuracy on 4 benchmarks, using only 415M training data and 1.2B parameters.
|
| 99 |
+
|
| 100 |
+
Video Captioning. We evaluate video captioning on five benchmarks, including MSRVTT (Xu et al., 2016), MSVD (Chen & Dolan, 2011), VATEX (Wang et al., 2019), YouCook2 (Zhou et al., 2018), and TVC (Lei et al., 2020). The GM objective is used, and captions are autoregressively generated during inference. From the results in Table 4, we can see that COSA-B (5M) outperforms
|
| 101 |
+
|
| 102 |
+
Table 5: Performance comparison on text-to-image retrieval, image captioning, and image QA benchmarks. 'ZS' stands for zero-shot evaluation. CIDEr (C) and SPICE (S) are reported for captioning. SCST finetuning is employed on COCO caption, and corresponding results are marked with '\*'.
|
| 103 |
+
|
| 104 |
+
<table><tr><td rowspan="2">Method</td><td rowspan="2">Example</td><td colspan="3">MSCOCO-Ret</td><td colspan="3">Flickr30K-Ret (ZS)</td><td colspan="2">MSCOCO-Cap</td><td colspan="2">VQAv2</td></tr><tr><td>R@1</td><td>R@5</td><td>R@10</td><td>R@1</td><td>R@5</td><td>R@10</td><td>C</td><td>S</td><td>dev</td><td>std</td></tr><tr><td>OFA(Wang et al., 2022e)</td><td>18M</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td>154.9*</td><td>26.6*</td><td>82.0</td><td>82.0</td></tr><tr><td>BEiT-3(Wang et al., 2022f)</td><td>21M</td><td>67.2</td><td>87.7</td><td>92.8</td><td>81.5</td><td>95.6</td><td>97.8</td><td>147.6</td><td>25.4</td><td>84.19</td><td>84.03</td></tr><tr><td>BLIP(Li et al., 2022b)</td><td>129M</td><td>65.1</td><td>86.3</td><td>91.8</td><td>86.7</td><td>97.3</td><td>98.7</td><td>136.7</td><td>-</td><td>78.25</td><td>78.32</td></tr><tr><td>BLIP-2(Li et al., 2023a)</td><td>129M</td><td>68.3</td><td>87.7</td><td>92.6</td><td>89.7</td><td>98.1</td><td>98.9</td><td>145.8</td><td>-</td><td>82.19</td><td>82.30</td></tr><tr><td>mPLUG-2(Xu et al., 2023)</td><td>417M</td><td>65.7</td><td>87.1</td><td>92.6</td><td>-</td><td>-</td><td>-</td><td>137.7</td><td>23.7</td><td>81.11</td><td>81.13</td></tr><tr><td>VALOR(Chen et al., 2023)</td><td>433.5M</td><td>61.4</td><td>84.4</td><td>90.9</td><td>-</td><td>-</td><td>-</td><td>152.5*</td><td>25.7*</td><td>78.46</td><td>78.62</td></tr><tr><td>Florence(Yuan et al., 2021)</td><td>900M</td><td>63.2</td><td>85.7</td><td>-</td><td>76.7</td><td>93.6</td><td>-</td><td>-</td><td>-</td><td>80.16</td><td>80.36</td></tr><tr><td>GIT(Wang et al., 2022b)</td><td>1.7B</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td>151.1*</td><td>26.3*</td><td>78.6</td><td>78.8</td></tr><tr><td>SimVLM(Wang et al., 2021)</td><td>1.8B</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td>143.3</td><td>25.4</td><td>80.03</td><td>80.34</td></tr><tr><td>ALIGN(Jia et al., 2021)</td><td>1.8B</td><td>59.9</td><td>83.3</td><td>89.8</td><td>75.7</td><td>93.8</td><td>96.8</td><td>-</td><td>-</td><td>-</td><td>-</td></tr><tr><td>Flamingo (80B))(Alayrac et al., 2022)</td><td>2.3B</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td>138.1</td><td>-</td><td>82.0</td><td>82.1</td></tr><tr><td>CoCa(2.1B)(Yu et al., 2022)</td><td>4.8B</td><td>-</td><td>-</td><td>-</td><td>80.4</td><td>95.7</td><td>97.7</td><td>143.6</td><td>24.7</td><td>82.3</td><td>82.3</td></tr><tr><td>GIT2(5.1B)(Wang et al., 2022b)</td><td>12.9B</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td>152.7*</td><td>26.4*</td><td>81.7</td><td>81.9</td></tr><tr><td>COSA(Ours)(1.2B)</td><td>415M</td><td>68.5</td><td>88.0</td><td>93.0</td><td>90.2</td><td>98.4</td><td>99.4</td><td>150.6*</td><td>27.0*</td><td>80.46</td><td>80.54</td></tr></table>
|
| 105 |
+
|
| 106 |
+
Table 6: Experiment results of SST (baseline), COSA, and COSA variants on a broad range of video/image-language benchmarks. R@1, CIDEr, and Acc are reported for retrieval, captioning, and QA tasks, respectively.
|
| 107 |
+
|
| 108 |
+
<table><tr><td rowspan="2">Exp</td><td colspan="4">Video Ret</td><td colspan="3">Video Cap</td><td colspan="2">Video QA</td><td>Image Ret</td><td colspan="2">Image Cap</td></tr><tr><td>DiDeMo</td><td>ActivityNet</td><td>MSRVTT</td><td>VATEX</td><td>YouCook</td><td>VATEX</td><td>TVC</td><td>MSRVTT</td><td>TGIF-QA</td><td>MSCOCO</td><td>MSCOCO</td><td>VIST</td></tr><tr><td>SST</td><td>49.2</td><td>43.8</td><td>39.4</td><td>62.4</td><td>85.4</td><td>67.6</td><td>53.9</td><td>45.9</td><td>73.0</td><td>53.9</td><td>124.7</td><td>14.8</td></tr><tr><td>COSA</td><td>54.8</td><td>51.2</td><td>43.5</td><td>63.9</td><td>91.9</td><td>68.1</td><td>55.4</td><td>46.5</td><td>73.7</td><td>54.7</td><td>125.4</td><td>20.7</td></tr><tr><td>COSA-copy</td><td>43.5</td><td>39.3</td><td>42.3</td><td>60.8</td><td>84.6</td><td>65.8</td><td>52.0</td><td>45.4</td><td>72.2</td><td>51.6</td><td>122.7</td><td>11.9</td></tr><tr><td>COSA-shuffle</td><td>50.9</td><td>48.1</td><td>44.7</td><td>64.0</td><td>88.8</td><td>67.7</td><td>54.4</td><td>46.6</td><td>73.9</td><td>54.5</td><td>124.9</td><td>14.2</td></tr></table>
|
| 109 |
+
|
| 110 |
+
VIOLETv2, and HiTeA which utilizes a more advanced vision backbone (MViTv2 (Fan et al., 2021)). COSA-B (17M) surpasses LAVENDER, which is trained on 30M vision-text pairs. When compared to large-scale foundation models, COSA achieves comparable performances on the MSRVTT and MSVD datasets. Additionally, COSA outperforms GIT2, which specializes in captioning tasks, and achieves new state-of-the-art performances on both open-domain benchmarks (Wang et al., 2019) and domain benchmarks (Zhou et al., 2018; Lei et al., 2020) (cooking and TV), using only $24\%$ of its parameters and $3.2\%$ of the training examples. It is worth noting that both GIT2 and COSA do not use any video-text corpus in the pretraining stage, but COSA can generate online pseudo video-paragraph pairs. Furthermore, utilizing the vision modality alone, COSA achieves higher CIDEr scores than VALOR and CLIP4Caption++, which additionally incorporate audio and subtitle modalities.
|
| 111 |
+
|
| 112 |
+
Image-Text Benchmarks. We evaluate COSA on image-text benchmarks, including text-to-image retrieval on MSCOCO (Lin et al., 2014) and Flickr30K (Plummer et al., 2015) (zero-shot), captioning on MSCOCO, and image QA on VQAv2 (Goyal et al., 2017). As shown in Table 5, COSA surpasses BLIP-2 and BEiT-3, and achieves new state-of-the-art results on the MSCOCO and Flickr30K benchmarks. Additionally, COSA achieves the best SPICE score (27.0) on MSCOCO caption benchmark and comparable results on VQAv2 benchmark.
|
| 113 |
+
|
| 114 |
+
# 4.3 ABLATION STUDY
|
| 115 |
+
|
| 116 |
+
In this subsection, we conduct extensive ablation experiments to demonstrate the effectiveness of COSA when compared with SST and the method's robustness to different vision backbones and training corpora. We also explore the influence of training objectives, iterations, concatenation numbers, and sampling methods. Besides above mentioned benchmarks, we further evaluate the model on the Visual Storytelling Benchmark (VIST), which requires models to perceive the relationships among multiple images and describe them in sequential paragraphs, thus demanding strong narrative abilities.
|
| 117 |
+
|
| 118 |
+
COSA vs SST. As presented in Table 6, COSA consistently improves performance on 12 benchmarks of video-text as well as image-text tasks, with significant margins compared to the SST baseline.
|
| 119 |
+
|
| 120 |
+
Table 7: Experiment results of different training objectives for COSA. R, C, Q in the parentheses represent retrieval, captioning, and QA tasks, respectively.
|
| 121 |
+
|
| 122 |
+
<table><tr><td></td><td>ITC</td><td>ITM</td><td>MLM</td><td>GM</td><td>CITC</td><td>CITM</td><td>CMLM</td><td>CGM</td><td>DiD(R)</td><td>ANET(R)</td><td>MSR(R)</td><td>TVC(C)</td><td>TGIF(Q)</td></tr><tr><td>a</td><td>✓</td><td>✓</td><td>✓</td><td>✓</td><td></td><td></td><td></td><td></td><td>49.2</td><td>43.8</td><td>39.4</td><td>53.9</td><td>73.0</td></tr><tr><td>b</td><td>✓</td><td>✓</td><td></td><td></td><td></td><td></td><td>✓</td><td>✓</td><td>53.0</td><td>50.6</td><td>42.8</td><td>55.7</td><td>73.7</td></tr><tr><td>c</td><td>✓</td><td>✓</td><td></td><td></td><td>✓</td><td>✓</td><td>✓</td><td>✓</td><td>54.8</td><td>51.2</td><td>43.5</td><td>55.4</td><td>73.7</td></tr><tr><td>d</td><td>✓</td><td>✓</td><td>✓</td><td>✓</td><td>✓</td><td>✓</td><td>✓</td><td>✓</td><td>52.3</td><td>49.9</td><td>42.3</td><td>55.5</td><td>73.6</td></tr></table>
|
| 123 |
+
|
| 124 |
+
Table 8: Experiment results of changing dataset and vision backbone (Enc).
|
| 125 |
+
|
| 126 |
+
<table><tr><td>Exp</td><td>Enc</td><td>Data</td><td>#Frame</td><td>DiD(R)</td><td>ANET(R)</td><td>MSR(R)</td><td>YOU(C)</td><td>VIST(C)</td><td>TVC(C)</td><td>MSR(Q)</td></tr><tr><td>SST</td><td>Swin-B</td><td>CC3M</td><td>-</td><td>35.3</td><td>30.4</td><td>34.7</td><td>91.2</td><td>14.3</td><td>51.6</td><td>44.6</td></tr><tr><td>COSA</td><td>Swin-B</td><td>CC3M</td><td>-</td><td>45.1</td><td>41.7</td><td>36.2</td><td>94.6</td><td>22.3</td><td>53.1</td><td>44.9</td></tr><tr><td>SST</td><td>CLIP-B</td><td>WebVid2.5M</td><td>1</td><td>43.6</td><td>40.2</td><td>40.7</td><td>89.3</td><td>12.2</td><td>53.5</td><td>46.0</td></tr><tr><td>SST</td><td>CLIP-B</td><td>WebVid2.5M</td><td>4</td><td>51.4</td><td>47.3</td><td>42.5</td><td>90.8</td><td>11.9</td><td>54.0</td><td>46.2</td></tr><tr><td>COSA</td><td>CLIP-B</td><td>WebVid2.5M</td><td>1</td><td>54.7</td><td>52.2</td><td>44.0</td><td>93.4</td><td>17.4</td><td>55.0</td><td>46.4</td></tr></table>
|
| 127 |
+
|
| 128 |
+
We further investigate two COSA variants named COSA-copy and COSA-shuffle. COSA-copy simply duplicates a single sample (image and text) multiple times and concatenates them, instead of performing cross-sample concatenation as in COSA. On the other hand, COSA-shuffle concatenates cross-samples from a batch, but with the captions randomly shuffled before concatenation to disrupt event-level temporal correspondence. From the results we can find that 1) Both COSA and COSA-shuffle can outperform SST with huge margins on all benchmarks, demonstrating the effectiveness of modeling vision-language connections within sample group instead of single sample. 2) Due to maintaining the same concatenation order for image and text, model can learn better event-level temporal correspondence between visual scenes and descriptions, and thus improve the performance on most benchmarks especially on paragraph-to-video retrieval benchmarks such as ActivityNet, whose video and caption are relatively longer and contain more complicated scenes. 3) COSA-copy achieves lower performance than SST on most benchmarks, demonstrating that the improvement of COSA over SST comes from multiple samples concatenation, instead of longer visual and text sequences.
|
| 129 |
+
|
| 130 |
+
Training Objectives. As depicted in Table 7, compared to the SST baseline, incorporating COSA while modifying the MLM and GM objectives to CMLM and CGM leads to evident improvements across all five benchmarks (b vs a). The default objectives (c) yield the best results for most benchmarks.
|
| 131 |
+
|
| 132 |
+
Generality. We further explore the generality of COSA with respect to different vision encoders and training corpora. The previous experiments employed CLIP-B as the vision backbone and were conducted on the CC3M dataset. In this experiment, we replace them with Swin Transformer(Liu et al., 2021) and WebVid2.5M, respectively. From the results in Table 8, it is evident that COSA consistently outperforms SST under different backbone and corpus settings. Additionally, we observe that sampling multiple frames for SSL can improve downstream performance (except for VIST), but is still much less effective when compared with proposed COSA.
|
| 133 |
+
|
| 134 |
+
Equal samples seen. In the previous experiments, models were trained for 30K steps for efficiency purposes. One might argue that the improvements of COSA could be attributed to faster convergence rather than cross-sample learning and introduced event-level temporal correspondence, as the model can see each sample multiple times per iteration. However, the results in Figure 4 demonstrate that as training iterations prolong, the performance gap between COSA and SST remains consistent, even when SST has already converged. Moreover, pretraining with COSA for 30K steps outperforms pretraining with SST for 120K steps on all benchmarks, which demonstrates COSA still outperforms SST with same samples seen and much less iterations.
|
| 135 |
+
|
| 136 |
+
Concatenate Number. Figure 3 shows the performance of models trained with different concatenate numbers $(n_c)$ ranging from 0 (SST) to 4. Based on the results, we choose $n_c = 3$ as it consistently performs well across all benchmarks.
|
| 137 |
+
|
| 138 |
+
Training Speed. We have made statistics that transferring from SST to COSA averagely cost $0.9\mathrm{x}$ more training time when four samples are concatenated. We think this is unavoidable cause the frames become more and sentences become longer, but affordable because we only need to pretrain once, and the finetuning, testing, inference speed of COSA and SST are totally the same.
|
| 139 |
+
|
| 140 |
+
Table 9: Experiment results of different sampling methods for online sample concatenation.
|
| 141 |
+
|
| 142 |
+
<table><tr><td>Sampling</td><td>DiD(R)</td><td>ANet(R)</td><td>MSR(R)</td><td>VAT(R)</td><td>TVC(C)</td><td>VIST(C)</td><td>MSR(Q)</td></tr><tr><td>random</td><td>54.8</td><td>51.2</td><td>43.5</td><td>63.9</td><td>55.4</td><td>20.7</td><td>46.5</td></tr><tr><td>vision similarity</td><td>53.7</td><td>50.9</td><td>43.0</td><td>63.6</td><td>55.1</td><td>20.4</td><td>46.4</td></tr><tr><td>text similarity</td><td>48.2</td><td>45.4</td><td>42.6</td><td>62.4</td><td>55.2</td><td>20.2</td><td>46.3</td></tr></table>
|
| 143 |
+
|
| 144 |
+

|
| 145 |
+
|
| 146 |
+

|
| 147 |
+
|
| 148 |
+

|
| 149 |
+
|
| 150 |
+

|
| 151 |
+
Figure 3: Experiment results of different concatenation numbers used in COSA.
|
| 152 |
+
|
| 153 |
+

|
| 154 |
+
|
| 155 |
+

|
| 156 |
+
|
| 157 |
+
Sampling Choice. By default, we randomly choose samples within a batch for grouping and concatenation. We also experimented with two alternative choices: selecting the top $n_c$ most similar samples based on the similarity matrix computed by either the image or text encoder output features. The results in Table 9 demonstrate the importance of reducing semantic relevance among grouped samples through random sampling. More explanations and visualizations could be found in Appendix.
|
| 158 |
+
|
| 159 |
+

|
| 160 |
+
|
| 161 |
+

|
| 162 |
+
|
| 163 |
+

|
| 164 |
+
|
| 165 |
+

|
| 166 |
+
Figure 4: Experiment results of SST and COSA when training for more iterations.
|
| 167 |
+
|
| 168 |
+

|
| 169 |
+
|
| 170 |
+

|
| 171 |
+
|
| 172 |
+
# 5 CONCLUSION
|
| 173 |
+
|
| 174 |
+
This paper introduces COSA, a concatenated sample pretrained unified vision-language foundation model. COSA transforms image-text corpora into pseudo video-paragraph corpora, enabling explicit event-sentence correspondence and promoting event-level temporal learning in foundation models. Extensive ablation studies demonstrate the effectiveness of COSA in improving various downstream tasks, including video-language tasks and image-text tasks. COSA achieves state-of-the-art results on multiple benchmarks. However, it is important to note that the proposed COSA has only been proven effective in the vision-language pretraining field, and we hope that it can inspire further research on co-learning multiple samples in other AI communities.
|
| 175 |
+
|
| 176 |
+
# ACKNOWLEDGMENTS
|
| 177 |
+
|
| 178 |
+
This work was supported by the National Science and Technology Major Project (No.2022ZD0118801), National Natural Science Foundation of China (U21B2043, 62206279).
|
| 179 |
+
|
| 180 |
+
# REFERENCES
|
| 181 |
+
|
| 182 |
+
Jean-Baptiste Alayrac, Jeff Donahue, Pauline Luc, Antoine Miech, Iain Barr, Yana Hasson, Karel Lenc, Arthur Mensch, Katie Millican, Malcolm Reynolds, et al. Flamingo: a visual language model for few-shot learning. arXiv preprint arXiv:2204.14198, 2022.
|
| 183 |
+
Lisa Anne Hendricks, Oliver Wang, Eli Shechtman, Josef Sivic, Trevor Darrell, and Bryan Russell. Localizing moments in video with natural language. In Proceedings of the IEEE international conference on computer vision, pp. 5803-5812, 2017.
|
| 184 |
+
Max Bain, Arsha Nagrani, Gül Varol, and Andrew Zisserman. Frozen in time: A joint video and image encoder for end-to-end retrieval. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pp. 1728-1738, 2021.
|
| 185 |
+
Soravit Changpinyo, Piyush Sharma, Nan Ding, and Radu Soricut. Conceptual 12m: Pushing web-scale image-text pre-training to recognize long-tail visual concepts. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 3558-3568, 2021.
|
| 186 |
+
David Chen and William B Dolan. Collecting highly parallel data for paraphrase evaluation. In Proceedings of the 49th annual meeting of the association for computational linguistics: human language technologies, pp. 190-200, 2011.
|
| 187 |
+
Shizhe Chen, Yida Zhao, Qin Jin, and Qi Wu. Fine-grained video-text retrieval with hierarchical graph reasoning. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 10638-10647, 2020.
|
| 188 |
+
Sihan Chen, Xingjian He, Longteng Guo, Xinxin Zhu, Weining Wang, Jinhui Tang, and Jing Liu. Valor: Vision-audio-language omni-perception pretraining model and dataset. arXiv preprint arXiv:2304.08345, 2023.
|
| 189 |
+
Xi Chen, Xiao Wang, Soravit Changpinyo, AJ Piergiovanni, Piotr Padlewski, Daniel Salz, Sebastian Goodman, Adam Grycner, Basil Mustafa, Lucas Beyer, et al. Pali: A jointly-scaled multilingual language-image model. arXiv preprint arXiv:2209.06794, 2022.
|
| 190 |
+
Feng Cheng, Xizi Wang, Jie Lei, David Crandall, Mohit Bansal, and Gedas Bertasius. Vindlu: A recipe for effective video-and-language pretraining. arXiv preprint arXiv:2212.05051, 2022.
|
| 191 |
+
Xing Cheng, Hezheng Lin, Xiangyu Wu, Fan Yang, and Dong Shen. Improving video-text retrieval by multi-stream corpus alignment and dual softmax loss. arXiv preprint arXiv:2109.04290, 2021.
|
| 192 |
+
Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. Bert: Pre-training of deep bidirectional transformers for language understanding. arXiv preprint arXiv:1810.04805, 2018.
|
| 193 |
+
Alexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn, Xiaohua Zhai, Thomas Unterthiner, Mostafa Dehghani, Matthias Minderer, Georg Heigold, Sylvain Gelly, et al. An image is worth 16x16 words: Transformers for image recognition at scale. arXiv preprint arXiv:2010.11929, 2020.
|
| 194 |
+
Haoqi Fan, Bo Xiong, Karttikeya Mangalam, Yanghao Li, Zhicheng Yan, Jitendra Malik, and Christoph Feichtenhofer. Multiscale vision transformers. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pp. 6824-6835, 2021.
|
| 195 |
+
Tsu-Jui Fu, Linjie Li, Zhe Gan, Kevin Lin, William Yang Wang, Lijuan Wang, and Zicheng Liu. Violet: End-to-end video-language transformers with masked visual-token modeling. arXiv preprint arXiv:2111.12681, 2021.
|
| 196 |
+
Tsu-Jui Fu, Linjie Li, Zhe Gan, Kevin Lin, William Yang Wang, Lijuan Wang, and Zicheng Liu. An empirical study of end-to-end video-language transformers with masked visual modeling. arXiv preprint arXiv:2209.01540, 2022.
|
| 197 |
+
|
| 198 |
+
Yuying Ge, Yixiao Ge, Xihui Liu, Dian Li, Ying Shan, Xiaohu Qie, and Ping Luo. Bridging video-text retrieval with multiple choice questions. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 16167-16176, 2022a.
|
| 199 |
+
Yuying Ge, Yixiao Ge, Xihui Liu, Alex Jinpeng Wang, Jianping Wu, Ying Shan, Xiaohu Qie, and Ping Luo. Miles: Visual bert pre-training with injected language semantics for video-text retrieval. arXiv preprint arXiv:2204.12408, 2022b.
|
| 200 |
+
Yash Goyal, Tejas Khot, Douglas Summers-Stay, Dhruv Batra, and Devi Parikh. Making the v in vqa matter: Elevating the role of image understanding in visual question answering. In Proceedings of the IEEE conference on computer vision and pattern recognition, pp. 6904-6913, 2017.
|
| 201 |
+
Jingjia Huang, Yinan Li, Jiashi Feng, Xiaoshuai Sun, and Rongrong Ji. Clover: Towards a unified video-language alignment and fusion model. arXiv preprint arXiv:2207.07885, 2022.
|
| 202 |
+
Yunseok Jang, Yale Song, Youngjae Yu, Youngjin Kim, and Gunhee Kim. Tgif-qa: Toward spatiotemporal reasoning in visual question answering. In Proceedings of the IEEE conference on computer vision and pattern recognition, pp. 2758-2766, 2017.
|
| 203 |
+
Chao Jia, Yinfei Yang, Ye Xia, Yi-Ting Chen, Zarana Parekh, Hieu Pham, Quoc Le, Yun-Hsuan Sung, Zhen Li, and Tom Duerig. Scaling up visual and vision-language representation learning with noisy text supervision. In International Conference on Machine Learning, pp. 4904-4916. PMLR, 2021.
|
| 204 |
+
Andrej Karpathy and Li Fei-Fei. Deep visual-semantic alignments for generating image descriptions. In Proceedings of the IEEE conference on computer vision and pattern recognition, pp. 3128-3137, 2015.
|
| 205 |
+
Will Kay, Joao Carreira, Karen Simonyan, Brian Zhang, Chloe Hillier, Sudheendra Vijayanarasimhan, Fabio Viola, Tim Green, Trevor Back, Paul Natsev, et al. The kinetics human action video dataset. arXiv preprint arXiv:1705.06950, 2017.
|
| 206 |
+
Ranjay Krishna, Kenji Hata, Frederic Ren, Li Fei-Fei, and Juan Carlos Niebles. Dense-captioning events in videos. In Proceedings of the IEEE international conference on computer vision, pp. 706-715, 2017a.
|
| 207 |
+
Ranjay Krishna, Yuke Zhu, Oliver Groth, Justin Johnson, Kenji Hata, Joshua Kravitz, Stephanie Chen, Yannis Kalantidis, Li-Jia Li, David A Shamma, et al. Visual genome: Connecting language and vision using crowdsourced dense image annotations. International journal of computer vision, 123(1):32-73, 2017b.
|
| 208 |
+
Weicheng Kuo, AJ Piergiovanni, Dahun Kim, Xiyang Luo, Ben Caine, Wei Li, Abhijit Ogale, Luowei Zhou, Andrew Dai, Zhifeng Chen, et al. Mammut: A simple architecture for joint learning for multimodal tasks. arXiv preprint arXiv:2303.16839, 2023.
|
| 209 |
+
Jie Lei, Licheng Yu, Tamara L Berg, and Mohit Bansal. Tvr: A large-scale dataset for video-subtitle moment retrieval. In Computer Vision-ECCV 2020: 16th European Conference, Glasgow, UK, August 23-28, 2020, Proceedings, Part XXI 16, pp. 447-463. Springer, 2020.
|
| 210 |
+
Jie Lei, Linjie Li, Luowei Zhou, Zhe Gan, Tamara L Berg, Mohit Bansal, and Jingjing Liu. Less is more: Clipbert for video-and-language learning via sparse sampling. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 7331-7341, 2021.
|
| 211 |
+
Jie Lei, Tamara L Berg, and Mohit Bansal. Revealing single frame bias for video-and-language learning. arXiv preprint arXiv:2206.03428, 2022.
|
| 212 |
+
Dongxu Li, Junnan Li, Hongdong Li, Juan Carlos Niebles, and Steven CH Hoi. Align and prompt: Video-and-language pre-training with entity prompts. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 4953-4963, 2022a.
|
| 213 |
+
Junnan Li, Ramprasaath Selvaraju, Akhilesh Gotmare, Shafiq Joty, Caiming Xiong, and Steven Chu Hong Hoi. Align before fuse: Vision and language representation learning with momentum distillation. Advances in neural information processing systems, 34:9694-9705, 2021a.
|
| 214 |
+
|
| 215 |
+
Junnan Li, Dongxu Li, Caiming Xiong, and Steven Hoi. Blip: Bootstrapping language-image pretraining for unified vision-language understanding and generation. In International Conference on Machine Learning, pp. 12888-12900. PMLR, 2022b.
|
| 216 |
+
Junnan Li, Dongxu Li, Silvio Savarese, and Steven Hoi. Blip-2: Bootstrapping language-image pretraining with frozen image encoders and large language models. arXiv preprint arXiv:2301.12597, 2023a.
|
| 217 |
+
Kunchang Li, Yali Wang, Yizhuo Li, Yi Wang, Yinan He, Limin Wang, and Yu Qiao. Unmasked teacher: Towards training-efficient video foundation models. arXiv preprint arXiv:2303.16058, 2023b.
|
| 218 |
+
Linjie Li, Yen-Chun Chen, Yu Cheng, Zhe Gan, Licheng Yu, and Jingjing Liu. Hero: Hierarchical encoder for video+ language omni-representation pre-training. In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP), pp. 2046-2065, 2020.
|
| 219 |
+
Linjie Li, Jie Lei, Zhe Gan, Licheng Yu, Yen-Chun Chen, Rohit Pillai, Yu Cheng, Luowei Zhou, Xin Eric Wang, William Yang Wang, et al. Value: A multi-task benchmark for video-and-language understanding evaluation. arXiv preprint arXiv:2106.04632, 2021b.
|
| 220 |
+
Linjie Li, Zhe Gan, Kevin Lin, Chung-Ching Lin, Zicheng Liu, Ce Liu, and Lijuan Wang. Lavender: Unifying video-language understanding as masked language modeling. arXiv preprint arXiv:2206.07160, 2022c.
|
| 221 |
+
Yuncheng Li, Yale Song, Liangliang Cao, Joel Tetreault, Larry Goldberg, Alejandro Jaimes, and Jiebo Luo. Tgif: A new dataset and benchmark on animated gif description. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 4641-4650, 2016.
|
| 222 |
+
Tsung-Yi Lin, Michael Maire, Serge Belongie, James Hays, Pietro Perona, Deva Ramanan, Piotr Dólár, and C Lawrence Zitnick. Microsoft coco: Common objects in context. In European conference on computer vision, pp. 740-755. Springer, 2014.
|
| 223 |
+
Ze Liu, Yutong Lin, Yue Cao, Han Hu, Yixuan Wei, Zheng Zhang, Stephen Lin, and Baining Guo. Swin transformer: Hierarchical vision transformer using shifted windows. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pp. 10012-10022, 2021.
|
| 224 |
+
Jiasen Lu, Christopher Clark, Rowan Zellers, Roozbeh Mottaghi, and Aniruddha Kembhavi. Unified: A unified model for vision, language, and multi-modal tasks. arXiv preprint arXiv:2206.08916, 2022.
|
| 225 |
+
Huaishao Luo, Lei Ji, Ming Zhong, Yang Chen, Wen Lei, Nan Duan, and Tianrui Li. Clip4clip: An empirical study of clip for end to end video clip retrieval and captioning. Neurocomputing, 508: 293-304, 2022.
|
| 226 |
+
Yiwei Ma, Guohai Xu, Xiaoshuai Sun, Ming Yan, Ji Zhang, and Rongrong Ji. X-clip: End-to-end multi-grained contrastive learning for video-text retrieval. In Proceedings of the 30th ACM International Conference on Multimedia, pp. 638-647, 2022.
|
| 227 |
+
Vicente Ordonez, Girish Kulkarni, and Tamara Berg. Im2text: Describing images using 1 million captioned photographs. Advances in neural information processing systems, 24, 2011.
|
| 228 |
+
Kishore Papineni, Salim Roukos, Todd Ward, and Wei-Jing Zhu. Bleu: a method for automatic evaluation of machine translation. In Proceedings of the 40th annual meeting of the Association for Computational Linguistics, pp. 311-318, 2002.
|
| 229 |
+
AJ Piergiovanni, Weicheng Kuo, and Anelia Angelova. Rethinking video vits: Sparse video tubes for joint image and video learning. arXiv preprint arXiv:2212.03229, 2022.
|
| 230 |
+
Bryan A Plummer, Liwei Wang, Chris M Cervantes, Juan C Caicedo, Julia Hockenmaier, and Svetlana Lazebnik. Flickr30k entities: Collecting region-to-phrase correspondences for richer image-to-sentence models. In Proceedings of the IEEE international conference on computer vision, pp. 2641-2649, 2015.
|
| 231 |
+
|
| 232 |
+
Alec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh, Gabriel Goh, Sandhini Agarwal, Girish Sastry, Amanda Askell, Pamela Mishkin, Jack Clark, et al. Learning transferable visual models from natural language supervision. In International Conference on Machine Learning, pp. 8748-8763. PMLR, 2021.
|
| 233 |
+
Steven J Rennie, Etienne Marcheret, Youssef Mroueh, Jerret Ross, and Vaibhava Goel. Self-critical sequence training for image captioning. In Proceedings of the IEEE conference on computer vision and pattern recognition, pp. 7008-7024, 2017.
|
| 234 |
+
Anna Rohrbach, Atousa Torabi, Marcus Rohrbach, Niket Tandon, Christopher Pal, Hugo Larochelle, Aaron Courville, and Bernt Schiele. Movie description. International Journal of Computer Vision, 123(1):94-120, 2017.
|
| 235 |
+
Christoph Schuhmann, Richard Vencu, Romain Beaumont, Robert Kaczmarczyk, Clayton Mullis, Aarush Katta, Theo Coombes, Jenia Jitsev, and Aran Komatsuzaki. Laion-400m: Open dataset of clip-filtered 400 million image-text pairs. arXiv preprint arXiv:2111.02114, 2021.
|
| 236 |
+
Piyush Sharma, Nan Ding, Sebastian Goodman, and Radu Soricut. Conceptual captions: A cleaned, hypernymed, image alt-text dataset for automatic image captioning. In Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pp. 2556-2565, 2018.
|
| 237 |
+
Quan Sun, Yuxin Fang, Ledell Wu, Xinlong Wang, and Yue Cao. Eva-clip: Improved training techniques for clip at scale. arXiv preprint arXiv:2303.15389, 2023.
|
| 238 |
+
Yuchong Sun, Hongwei Xue, Ruihua Song, Bei Liu, Huan Yang, and Jianlong Fu. Long-form video-language pre-training with multimodal temporal contrastive learning. arXiv preprint arXiv:2210.06031, 2022.
|
| 239 |
+
Mingkang Tang, Zhanyu Wang, Zhaoyang Zeng, Fengyun Rao, and Dian Li. Clip4caption++. Multi-clip for video caption. arXiv preprint arXiv:2110.05204, 2021.
|
| 240 |
+
Ramakrishna Vedantam, C Lawrence Zitnick, and Devi Parikh. Cider: Consensus-based image description evaluation. In Proceedings of the IEEE conference on computer vision and pattern recognition, pp. 4566-4575, 2015.
|
| 241 |
+
Alex Jinpeng Wang, Yixiao Ge, Rui Yan, Yuying Ge, Xudong Lin, Guanyu Cai, Jianping Wu, Ying Shan, Xiaohu Qie, and Mike Zheng Shou. All in one: Exploring unified video-language pre-training. arXiv preprint arXiv:2203.07303, 2022a.
|
| 242 |
+
Jianfeng Wang, Zhengyuan Yang, Xiaowei Hu, Linjie Li, Kevin Lin, Zhe Gan, Zicheng Liu, Ce Liu, and Lijuan Wang. Git: A generative image-to-text transformer for vision and language. arXiv preprint arXiv:2205.14100, 2022b.
|
| 243 |
+
Jinpeng Wang, Yixiao Ge, Guanyu Cai, Rui Yan, Xudong Lin, Ying Shan, Xiaohu Qie, and Mike Zheng Shou. Object-aware video-language pre-training for retrieval. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 3313-3322, 2022c.
|
| 244 |
+
Junke Wang, Dongdong Chen, Zuxuan Wu, Chong Luo, Luowei Zhou, Yucheng Zhao, Yujia Xie, Ce Liu, Yu-Gang Jiang, and Lu Yuan. Omnivl: One foundation model for image-language and video-language tasks. arXiv preprint arXiv:2209.07526, 2022d.
|
| 245 |
+
Peng Wang, An Yang, Rui Men, Junyang Lin, Shuai Bai, Zhikang Li, Jianxin Ma, Chang Zhou, Jingren Zhou, and Hongxia Yang. Ofa: Unifying architectures, tasks, and modalities through a simple sequence-to-sequence learning framework. In International Conference on Machine Learning, pp. 23318-23340. PMLR, 2022e.
|
| 246 |
+
Wenhui Wang, Hangbo Bao, Li Dong, Johan Bjorck, Zhiliang Peng, Qiang Liu, Kriti Aggarwal, Owais Khan Mohammed, Saksham Singhal, Subhojit Som, et al. Image as a foreign language: Beit pretraining for all vision and vision-language tasks. arXiv preprint arXiv:2208.10442, 2022f.
|
| 247 |
+
Xin Wang, Jiawei Wu, Junkun Chen, Lei Li, Yuan-Fang Wang, and William Yang Wang. Vatex: A large-scale, high-quality multilingual dataset for video-and-language research. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pp. 4581-4591, 2019.
|
| 248 |
+
|
| 249 |
+
Yi Wang, Kunchang Li, Yizhuo Li, Yinan He, Bingkun Huang, Zhiyu Zhao, Hongjie Zhang, Jilan Xu, Yi Liu, Zun Wang, et al. Internvideo: General video foundation models via generative and discriminative learning. arXiv preprint arXiv:2212.03191, 2022g.
|
| 250 |
+
Zirui Wang, Jiahui Yu, Adams Wei Yu, Zihang Dai, Yulia Tsvetkov, and Yuan Cao. Simvlm: Simple visual language model pretraining with weak supervision. arXiv preprint arXiv:2108.10904, 2021.
|
| 251 |
+
Dejing Xu, Zhou Zhao, Jun Xiao, Fei Wu, Hanwang Zhang, Xiangnan He, and Yueting Zhuang. Video question answering via gradually refined attention over appearance and motion. In Proceedings of the 25th ACM international conference on Multimedia, pp. 1645-1653, 2017.
|
| 252 |
+
Haiyang Xu, Qinghao Ye, Ming Yan, Yaya Shi, Jiabo Ye, Yuanhong Xu, Chenliang Li, Bin Bi, Qi Qian, Wei Wang, et al. mplug-2: A modularized multi-modal foundation model across text, image and video. arXiv preprint arXiv:2302.00402, 2023.
|
| 253 |
+
Jun Xu, Tao Mei, Ting Yao, and Yong Rui. Msr-vtt: A large video description dataset for bridging video and language. In Proceedings of the IEEE conference on computer vision and pattern recognition, pp. 5288-5296, 2016.
|
| 254 |
+
Hongwei Xue, Tiankai Hang, Yanhong Zeng, Yuchong Sun, Bei Liu, Huan Yang, Jianlong Fu, and Baining Guo. Advancing high-resolution video-language representation with large-scale video transcriptions. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 5036-5045, 2022a.
|
| 255 |
+
Hongwei Xue, Yuchong Sun, Bei Liu, Jianlong Fu, Ruihua Song, Houqiang Li, and Jiebo Luo. Clip-vip: Adapting pre-trained image-text model to video-language representation alignment. arXiv preprint arXiv:2209.06430, 2022b.
|
| 256 |
+
Shen Yan, Tao Zhu, Zirui Wang, Yuan Cao, Mi Zhang, Soham Ghosh, Yonghui Wu, and Jiahui Yu. Video-text modeling with zero-shot transfer from contrastive captioners. arXiv preprint arXiv:2212.04979, 2022.
|
| 257 |
+
Antoine Yang, Antoine Miech, Josef Sivic, Ivan Laptev, and Cordelia Schmid. Just ask: Learning to answer questions from millions of narrated videos. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pp. 1686-1697, 2021.
|
| 258 |
+
Antoine Yang, Antoine Miech, Josef Sivic, Ivan Laptev, and Cordelia Schmid. Zero-shot video question answering via frozen bidirectional language models. arXiv preprint arXiv:2206.08155, 2022.
|
| 259 |
+
Qinghao Ye, Guohai Xu, Ming Yan, Haiyang Xu, Qi Qian, Ji Zhang, and Fei Huang. Hitea: Hierarchical temporal-aware video-language pre-training. arXiv preprint arXiv:2212.14546, 2022.
|
| 260 |
+
Jiahui Yu, Zirui Wang, Vijay Vasudevan, Legg Yeung, Mojtaba Seyedhosseini, and Yonghui Wu. Coca: Contrastive captioners are image-text foundation models. arXiv preprint arXiv:2205.01917, 2022.
|
| 261 |
+
Zhou Yu, Dejing Xu, Jun Yu, Ting Yu, Zhou Zhao, Yueting Zhuang, and Dacheng Tao. Activitynet-qa: A dataset for understanding complex web videos via question answering. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 33, pp. 9127-9134, 2019.
|
| 262 |
+
Lu Yuan, Dongdong Chen, Yi-Ling Chen, Noel Codella, Xiyang Dai, Jianfeng Gao, Houdong Hu, Xuedong Huang, Boxin Li, Chunyuan Li, et al. Florence: A new foundation model for computer vision. arXiv preprint arXiv:2111.11432, 2021.
|
| 263 |
+
Rowan Zellers, Ximing Lu, Jack Hessel, Youngjae Yu, Jae Sung Park, Jize Cao, Ali Farhadi, and Yejin Choi. Merlot: Multimodal neural script knowledge models. Advances in Neural Information Processing Systems, 34:23634-23651, 2021.
|
| 264 |
+
Luowei Zhou, Chenliang Xu, and Jason J Corso. Towards automatic learning of procedures from web instructional videos. In Thirty-Second AAAI Conference on Artificial Intelligence, 2018.
|
| 265 |
+
|
| 266 |
+
# A APPENDIX
|
| 267 |
+
|
| 268 |
+
# A.1 PRETRAINING SETTINGS
|
| 269 |
+
|
| 270 |
+
Table 10: Pretraining Settings for COSA models. ’*’ means that captions in those corpora has been replaced by descriptions generated by a separately trained captioner.
|
| 271 |
+
|
| 272 |
+
<table><tr><td>Model</td><td>Vision Encoder</td><td>param</td><td>Sample</td><td>Training Corpus</td><td>Batch Size</td><td>Steps</td><td>Epoch</td></tr><tr><td rowspan="2">COSA-B</td><td rowspan="2">Swin-B</td><td rowspan="2">251M</td><td rowspan="2">5M</td><td>CC3M</td><td>2048</td><td>50000</td><td>35</td></tr><tr><td>WebVid2.5M</td><td>2048</td><td>50000</td><td>41</td></tr><tr><td rowspan="3">COSA-B</td><td rowspan="3">Swin-B</td><td rowspan="3">251M</td><td rowspan="3">17M</td><td>CC4M</td><td>2048</td><td>60000</td><td>25</td></tr><tr><td>CC12M</td><td>2048</td><td>60000</td><td>12</td></tr><tr><td>WebVid2.5M</td><td>2048</td><td>40000</td><td>33</td></tr><tr><td rowspan="3">COSA-L</td><td rowspan="3">CLIP-ViT-L</td><td rowspan="3">468M</td><td rowspan="3">(17+400)M</td><td>CC4M</td><td>2048</td><td>60000</td><td>25</td></tr><tr><td>CC12M</td><td>2048</td><td>60000</td><td>12</td></tr><tr><td>WebVid2.5M</td><td>2048</td><td>35000</td><td>29</td></tr><tr><td rowspan="3">COSA</td><td rowspan="3">EVAClip-ViT-G</td><td rowspan="3">1.2B</td><td rowspan="3">(15+400)M</td><td>CC4M</td><td>2048</td><td>50000</td><td>20</td></tr><tr><td>CC12M*</td><td>2048</td><td>50000</td><td>10</td></tr><tr><td>LAION-102M*</td><td>2048</td><td>50000</td><td>1</td></tr></table>
|
| 273 |
+
|
| 274 |
+
The specific pretraining settings of all scales of COSA models are presented in Table 10. It is noted that the training corpus of the largest one (COSA) has been clean by a separately trained captioner. Specifically, the captioner takes the same model architecture of COSA and is pretrained with generative modeling loss (GM) only on the same corpus with original captions (CC4M, CC12M and LAION-102M) without concatenated samples applied. After pretraining, the captioner is finetuned with GM loss on a mixture of downstream of datasets including MSRVTT, VATEX, MSVD and MSCOCO. At last we use trained captioner to generate high-quality captions for CC12M and LAION-102M with top-10 sampling method.
|
| 275 |
+
|
| 276 |
+
# A.2 DOWNSSTREAM DATASET DESCRIPTIONS
|
| 277 |
+
|
| 278 |
+
COSA is evaluated on a series of downstream datasets including MSRVTT, MSVD, LSMDC, DiDeMo, VATEX, YouCook2, ActivityNet Caption, TGIF, TVC, MSCOCO, Flickr30K and VQAv2. Train/val/test splits of different benchmarks of those datasets are presented in Table 11.
|
| 279 |
+
|
| 280 |
+
Specifically, MSRVTT (Xu et al., 2016) dataset consists of 10K video clips and 20K captions. Our evaluation encompasses text-to-video retrieval, video captioning, and video QA tasks on this dataset. For retrieval, we adopt the '1K-A split' and for captioning and QA, we adhere to the standard split. MSVD(Chen & Dolan, 2011) dataset comprises 1,970 videos, each accompanied by approximately 40 captions. Our evaluation involves video captioning using the official split and video QA using the split proposed by Xu et al.(Xu et al., 2017). LSMDC (Rohrbach et al., 2017) dataset consists of 118,000 clips from 202 movies, with each clip paired with a single caption. We evaluate text-to-video retrieval on this dataset using the official split. DiDeMo (Anne Hendricks et al., 2017) dataset includes 10K long-form videos sourced from Flickr. For each video, four short sentences are annotated in temporal order. We concatenate these short sentences and evaluate 'paragraph-to-video' retrieval and the official split is employed. VATEX(Wang et al., 2019) dataset contains 41,250 video clips sourced from the Kinetics-600 dataset(Kay et al., 2017), accompanied by 825,000 sentence-level descriptions. Our evaluation focuses on text-to-video retrieval and video captioning tasks. Regarding captioning, we employ the official split, while for retrieval, we follow the HGR (Chen et al., 2020) split protocol. YouCook2 (Zhou et al., 2018) dataset comprises 14K video clips extracted from 2K instructional cooking videos on YouTube. Each video showcases multiple actions performed by a chef, along with corresponding textual descriptions and temporal annotations. We assess video captioning on this dataset using the official splits. ActivityNet Caption(Krishna et al., 2017a) dataset encompasses 20K long-form videos sourced from YouTube whose average length are 180 seconds. We evaluate text-to-video retrieval and video QA on this dataset. For retrieval, we use the official split, while for video QA, we adopt the split proposed by Yu et al.(Yu et al., 2019). TGIF (Jang et al., 2017) dataset features three video QA benchmarks, including TGIF-Action, TGIF-Transition, and TGIF-Frame, with the first two being multiple-choice QA and the last one being open-ended
|
| 281 |
+
|
| 282 |
+
Table 11: Downstream datasets splits.
|
| 283 |
+
|
| 284 |
+
<table><tr><td rowspan="2">Task</td><td rowspan="2">Benchmark</td><td colspan="3">#Videos/#Images</td><td colspan="3">#captions/#QA-pairs</td></tr><tr><td>Train</td><td>Val</td><td>Test</td><td>Train</td><td>Val</td><td>Test</td></tr><tr><td rowspan="4">Text-to-Video Retrieval</td><td>MSRVTT</td><td>9000</td><td>-</td><td>1000</td><td>180000</td><td>-</td><td>1000</td></tr><tr><td>DiDeMo</td><td>8394</td><td>1065</td><td>1003</td><td>8394</td><td>1065</td><td>1003</td></tr><tr><td>ANET</td><td>10009</td><td>-</td><td>4917</td><td>10009</td><td>-</td><td>4917</td></tr><tr><td>LSMDC</td><td>101046</td><td>7408</td><td>1000</td><td>101046</td><td>7408</td><td>1000</td></tr><tr><td rowspan="5">Video Captioning</td><td>MSRVTT</td><td>6513</td><td>497</td><td>2990</td><td>130260</td><td>9940</td><td>59800</td></tr><tr><td>YouCook2</td><td>10337</td><td>3492</td><td>-</td><td>10337</td><td>3492</td><td>-</td></tr><tr><td>MSVD</td><td>1200</td><td>100</td><td>670</td><td>48774</td><td>4290</td><td>27763</td></tr><tr><td>VATEX</td><td>25991</td><td>3000</td><td>6000</td><td>259910</td><td>30000</td><td>60000</td></tr><tr><td>TVC</td><td>86603</td><td>10841</td><td>-</td><td>174350</td><td>43580</td><td>-</td></tr><tr><td rowspan="4">Video QA</td><td>MSVD-QA</td><td>1200</td><td>250</td><td>520</td><td>30933</td><td>6,415</td><td>13157</td></tr><tr><td>TGIF-FrameQA</td><td>32345</td><td>-</td><td>7132</td><td>39389</td><td>-</td><td>13691</td></tr><tr><td>MSRVTT-QA</td><td>6513</td><td>497</td><td>2990</td><td>158581</td><td>12278</td><td>72821</td></tr><tr><td>ANET-QA</td><td>3200</td><td>1800</td><td>800</td><td>32000</td><td>18000</td><td>8000</td></tr><tr><td rowspan="2">Text-to-Image retrieval</td><td>MSCOCO</td><td>113287</td><td>5000</td><td>5000</td><td>566747</td><td>25010</td><td>25010</td></tr><tr><td>Flickr30K</td><td>29000</td><td>1014</td><td>1000</td><td>145000</td><td>5070</td><td>5000</td></tr><tr><td>Image Captioning</td><td>MSCOCO</td><td>113287</td><td>5000</td><td>5000</td><td>566747</td><td>25010</td><td>25010</td></tr><tr><td>Image QA</td><td>VQAv2</td><td>82783</td><td>40504</td><td>37K/81K</td><td>4437570</td><td>2143540</td><td>1.1M/4.5M</td></tr></table>
|
| 285 |
+
|
| 286 |
+
QA. We evaluate VAST on the TGIF-Frame benchmark using the official split. TVC (Lei et al., 2020) dataset is a multi-channel video captioning dataset, comprising 108,000 video moments and 262,000 paired captions. Additional input in the form of video subtitles can be utilized. We evaluate video captioning on this benchmark using the official split with vision information utilized only. MSCOCO (Lin et al., 2014) dataset contains 123K images, each paired with five annotated captions. We evaluate text-to-image retrieval and image captioning tasks on this dataset using the Karpathy split (Karpathy & Fei-Fei, 2015). Flickr30K (Plummer et al., 2015) dataset consists of 31K images, with each image paired with five annotated captions. We assess text-to-image retrieval on this dataset using the Karpathy split (Karpathy & Fei-Fei, 2015). VQAv2 (Goyal et al., 2017) dataset comprises 1.1 million questions and 11.1 million answers related to MSCOCO images and we utilize train+val set for training and evaluate on the online test server.
|
| 287 |
+
|
| 288 |
+
# A.3 VISUALIZATIONS OF DIFFERNET SAMPLING METHODS
|
| 289 |
+
|
| 290 |
+
In our experiments, COSA trained with random sampling works better than the one trained with relevant sampling. As shown in figure 5, we observe a real video-language sample from ActivityNet caption dataset, which is shown in the top green part of figure, we can find that the 1) sampled vision frames are relevant and coherent, and 2) the corresponding texts are very informative and can strictly match to different frames in temporal order. Motivated by this, an ideal large-scale pretraining dataset for video-language tasks should also possess those two characteristics to help model learn the capabilities of perceiving evnets happed in videos and their relative order. In this work, we propose COSA to imitate those pretrain dataset from image-text data. And the examples of COSA with different sampling methods are shown in the bottom pink part of the figure, from which we can find that even though the random sampling example shows little relevance between four independent scenes, but it has the strength that each sentence can strictly correspond to one image, which satisfy the second charatersic. By contrast, even though relevant (vision/text similarity) sampling examples have shown vision relevance to some extent, they have strong semantic redundancy, and one sentence can correspond to many frames, which could confuse models' event-level temporal learning. And we think that's why it performs weaker than random sampling. In addition, considering that the scene changes are somewhat hard in random sampling, we think other soft sampling methods could be a future research direction.
|
| 291 |
+
|
| 292 |
+
Real video-paragraph example from ActivityNet-caption dataset
|
| 293 |
+

|
| 294 |
+
A train goes by on a track, and several cars are seen driving on a wet road. A woman gets out, and crouches by a flat tire. She uses equipment to lift the car from the ground, then removes the tire. She replaces the bad tire with a spare. She then puts away her equipment and gives a thumbs up before driving safely away.
|
| 295 |
+
|
| 296 |
+
random sampling
|
| 297 |
+
|
| 298 |
+
Pesudo video-paragraph example from CC3M by COSA
|
| 299 |
+

|
| 300 |
+
a man has been fined £ 1,547 for drowning a squirrel who persistently ate from his bird feeder, and this is the table set for everyday use, full length portrait of elderly hikers walking towards the camera outdoors, tennis player competes against tennis player during day of the tournament
|
| 301 |
+
|
| 302 |
+
vision-similarity sampling
|
| 303 |
+
|
| 304 |
+
Figure 5: Visualization of different sampling methods of COSA. The top green part in the figure is the example from real video dataset (ActivityNet-captions), and bottom pink part in the figure are examples of COSA with different sampling methods.
|
| 305 |
+

|
| 306 |
+
actor and person attend the premiere, actor and person attend the premiere at amc empire theater, astronaut and person attend premiere at amc empire theater, pop artist and dramatist walk a red carpet during festival.
|
| 307 |
+
|
| 308 |
+
text-similarity sampling
|
| 309 |
+
|
| 310 |
+

|
| 311 |
+
the old town of city, a square in the central part next, aerial view of the old town with castle, view of the old town hall and main street with a post box in the foreground.
|
| 312 |
+
|
| 313 |
+
Table 12: Downstream task finetuning settings of COSA models. Lr, Bs, Epo, F_train, F_test and Res denote learning rate, batch size, epoch, training sampling frames, testing sampling frames and resolution, respectively.
|
| 314 |
+
|
| 315 |
+
<table><tr><td>Task</td><td>Benchmark</td><td>Lr</td><td>Bs</td><td>Epo</td><td>F_train</td><td>F_test</td><td>Res</td></tr><tr><td rowspan="5">Text-to-Video Retrieval</td><td>MSRVTT</td><td>2e-5</td><td>64</td><td>3.6</td><td>8</td><td>16</td><td>224</td></tr><tr><td>VATEX</td><td>2e-5</td><td>64</td><td>2.5</td><td>8</td><td>16</td><td>224</td></tr><tr><td>DiDeMo</td><td>2e-5</td><td>64</td><td>40</td><td>8</td><td>32</td><td>224</td></tr><tr><td>ANET</td><td>2e-5</td><td>64</td><td>20</td><td>8</td><td>32</td><td>224</td></tr><tr><td>LSMDC</td><td>2e-5</td><td>64</td><td>5</td><td>8</td><td>32</td><td>224</td></tr><tr><td rowspan="6">Video Captioning</td><td>MSRVTT</td><td>2e-5</td><td>128</td><td>10</td><td>8</td><td>8</td><td>224</td></tr><tr><td>YouCook2</td><td>3e-5</td><td>64</td><td>30</td><td>8</td><td>16</td><td>224</td></tr><tr><td>MSVD</td><td>1e-5</td><td>64</td><td>1.2</td><td>8</td><td>8</td><td>224</td></tr><tr><td>VATEX</td><td>2e-5</td><td>64</td><td>10</td><td>8</td><td>20</td><td>224</td></tr><tr><td>VATEX(SCST)</td><td>7e-6</td><td>64</td><td>5</td><td>8</td><td>20</td><td>224</td></tr><tr><td>TVC</td><td>3e-5</td><td>64</td><td>40</td><td>8</td><td>8</td><td>224</td></tr><tr><td rowspan="4">Video QA</td><td>MSVD-QA</td><td>1e-5</td><td>64</td><td>8</td><td>8</td><td>18</td><td>224</td></tr><tr><td>TGIF-FrameQA</td><td>2e-5</td><td>64</td><td>10</td><td>4</td><td>4</td><td>224</td></tr><tr><td>MSRVTT-QA</td><td>2e-5</td><td>64</td><td>4.5</td><td>8</td><td>8</td><td>224</td></tr><tr><td>ANET-QA</td><td>2e-5</td><td>64</td><td>10</td><td>8</td><td>16</td><td>224</td></tr><tr><td>Text-to-Image retrieval</td><td>MSCOCO</td><td>1e-5</td><td>256</td><td>5</td><td>-</td><td>-</td><td>384</td></tr><tr><td rowspan="2">Image Captioning</td><td>MSCOCO</td><td>1e-5</td><td>64</td><td>5</td><td>-</td><td>-</td><td>480</td></tr><tr><td>MSCOCO(SCST)</td><td>2.5e-6</td><td>64</td><td>2.5</td><td>-</td><td>-</td><td>480</td></tr><tr><td>Image QA</td><td>VQAv2</td><td>2e-5</td><td>128</td><td>20</td><td>-</td><td>-</td><td>384</td></tr></table>
|
| 316 |
+
|
| 317 |
+
# A.4 FINETUNING SETTINGS
|
| 318 |
+
|
| 319 |
+
Specific finetuning settings of COSA model such as learning rate, batch size, training epochs and sampled frames are presented in Table 12.
|
| 320 |
+
|
| 321 |
+
# A.5 QUALITATIVE COMPARISON ON VIST BENCHMARK
|
| 322 |
+
|
| 323 |
+
The qualitative comparisons between model trained with SST (Single Sample Training) and proposed COSA (Concatenated Sample Training) prediction on visual story telling benchmark (VIST) is shown in Figure 6, from which we can find that COSA can generate comprehensive captions (stories) for multiple frames under both zero-shot and finetuning settings, while SST can only generate one sentence describing limited contents under zero-shot setting, and is easy to generate duplicated captions under finetuning settings.
|
| 324 |
+
|
| 325 |
+

|
| 326 |
+
SST(ZS): english civil parish in the sunshine.
|
| 327 |
+
|
| 328 |
+

|
| 329 |
+
SST(FT): this is where i grew up. this is where i grew up. this is where i grew up. this is where i grew up. this is where i grew up. this is where i am growing up.
|
| 330 |
+
|
| 331 |
+

|
| 332 |
+
COSA(ZS) : the front of the house. a view of the cathedral from outside the cathedral. a photo of a graduate and a student in a graduation ceremony. a city in the sunshine.
|
| 333 |
+
|
| 334 |
+

|
| 335 |
+
|
| 336 |
+

|
| 337 |
+
|
| 338 |
+
GroundTruth : this is where i go to school. i like the building a lot because it looks nice. at this angle it looks even better. a couple of my classmates are going to graduate. this is one beautiful building .
|
| 339 |
+
|
| 340 |
+

|
| 341 |
+
SST(ZS): person, center, watches a game.
|
| 342 |
+
|
| 343 |
+

|
| 344 |
+
COSA(FT): the lawn was very nice. the building was very nice. the architecture was very old. the students were very proud of themselves. the building was very beautiful.
|
| 345 |
+
|
| 346 |
+

|
| 347 |
+
SST(FT): we went to the baseball game. There were a lot of people there. Some of them were crazy. Some of the players didn't like it. the crowd was crazy.
|
| 348 |
+
|
| 349 |
+

|
| 350 |
+
COSA(ZS): baseball players warm up before a game. fans watch a baseball game. person, the mascot, is shown during a game against baseball team. a general view of the scoreboard.
|
| 351 |
+
|
| 352 |
+

|
| 353 |
+
|
| 354 |
+
Figure 6: Qualitative comparison between SST and COSA on the visual story telling (VIST) benchmark. ZS and FT denote zero-shot and finetuning, respectively.
|
| 355 |
+

|
| 356 |
+
GroundTruth : we are going to watch a baseball game today. the players are doing a great job. we even got to interact with the crowd. the mascot was great , and very funny. final score is here , what a great day.
|
| 357 |
+
|
| 358 |
+

|
| 359 |
+
SST(ZS): a graduate celebrates after receiving his diploma.
|
| 360 |
+
|
| 361 |
+

|
| 362 |
+
SST(ET): he was excited to finally graduate from college. the group of friends and family gathered in the pool for the graduation ceremony. the boy was very excited to finally graduate. the family was very proud of him.
|
| 363 |
+
|
| 364 |
+

|
| 365 |
+
COSA(ZS) : person is all smiles after receiving his diploma during the graduation ceremony. person, waves to family and friends during the graduation ceremony. person, left, and person are all smiles after receiving his diploma at the school's commencement ceremony. the pool is full of people.
|
| 366 |
+
|
| 367 |
+

|
| 368 |
+
COSA(FT): i went to the baseball game last weekend. there were a lot of people there. i took a lot of pictures. i got to meet some of the players. it was a great night.
|
| 369 |
+
|
| 370 |
+

|
| 371 |
+
COSA(ET): graduation day is finally here. all of the students line up to receive their diplomas. the students wave to the crowd. family and friends pose for a picture. after the ceremony, the family relaxes by the pool.
|
| 372 |
+
SST(ZS): a group of people pose for a photo.
|
| 373 |
+
SST(FT): there were a lot of people at the event today. the characters were very popular. the characters were very popular. the characters were very funny. the characters were very popular.
|
| 374 |
+
COSA(ZS): people walking in the street. person, left, and person, right, enjoy a day out. a bicycle with a basket attached to it. person with the girls at the party
|
| 375 |
+
COSA(FT): there were a lot of people at the festival today. there were a lot of funny characters. some of them were very cute. they rode their bikes around the city. it was a great time.
|
| 376 |
+
GroundTruth : the streets were filled during the festival. some came dressed in huge cartoon outfits. they were fun to dance and take pictures with. we got around using rent-able bikes. it was a memorable day.
|
| 377 |
+
|
| 378 |
+

|
| 379 |
+
GroundTruth : graduation day has finally arrived. all the students started filing in. he was thrilled to finally be graduation. everyone posed for pictures outside the venue. and to cap off the day, we all hung out at the pool .
|
| 380 |
+
|
| 381 |
+

|
| 382 |
+
|
| 383 |
+

|
| 384 |
+
|
| 385 |
+

|
2024/COSA_ Concatenated Sample Pretrained Vision-Language Foundation Model/images.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:070606ba7a2f37c277373f2dd967d32e08b750a1e5006e7a326fa973782723da
|
| 3 |
+
size 1153858
|
2024/COSA_ Concatenated Sample Pretrained Vision-Language Foundation Model/layout.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2024/CPPO_ Continual Learning for Reinforcement Learning with Human Feedback/0e602857-0d7f-4539-8ca2-d7b133d15df0_content_list.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2024/CPPO_ Continual Learning for Reinforcement Learning with Human Feedback/0e602857-0d7f-4539-8ca2-d7b133d15df0_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2024/CPPO_ Continual Learning for Reinforcement Learning with Human Feedback/0e602857-0d7f-4539-8ca2-d7b133d15df0_origin.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:263cedf07cfac7c35b71ce59a57ca660e14ed16adeb7a48e247d6769abb2731c
|
| 3 |
+
size 2862618
|
2024/CPPO_ Continual Learning for Reinforcement Learning with Human Feedback/full.md
ADDED
|
@@ -0,0 +1,553 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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
<sup>1</sup> Harbin Institute of Technology (Shenzhen)
|
| 6 |
+
2 Peng Cheng Laboratory
|
| 7 |
+
3 King's College London
|
| 8 |
+
4 Shenzhen Institutes of Advanced Technology
|
| 9 |
+
<sup>5</sup> Guangdong Provincial Key Laboratory of Novel Security Intelligence Technologies
|
| 10 |
+
|
| 11 |
+
# ABSTRACT
|
| 12 |
+
|
| 13 |
+
The approach of Reinforcement Learning from Human Feedback (RLHF) is widely used for enhancing pre-trained Language Models (LM), enabling them to better align with human preferences. Existing RLHF-based LMs however require complete retraining whenever new queries or feedback are introduced, as human preferences may differ across different domains or topics. LM retraining is often impracticable in most real-world scenarios, due to the substantial time and computational costs involved, as well as data privacy concerns. To address this limitation, we propose Continual Proximal Policy Optimization (CPPO), a novel method that is able to continually align LM with dynamic human preferences. Specifically, CPPO adopts a weighting strategy to decide which samples should be utilized for enhancing policy learning and which should be used for solidifying past experiences. This seeks a good trade-off between policy learning and knowledge retention. Our experimental results show that CPPO outperforms strong Continuous learning (CL) baselines when it comes to consistently aligning with human preferences. Furthermore, compared to PPO, CPPO offers more efficient and stable learning in non-continual scenarios.
|
| 14 |
+
|
| 15 |
+
# 1 INTRODUCTION
|
| 16 |
+
|
| 17 |
+
Recent studies (Stiennon et al., 2020; Bai et al., 2022a; Ouyang et al., 2022) have shown that Reinforcement Learning from Human Feedback (RLHF) can significantly enhance language models by aligning them with human intention. RLHF uses human preferences as a reward signal to fine-tune language models with the Proximal Policy Optimization (PPO) algorithm. The RLHF-based model can effectively generate answers preferred by humans for tasks that lack standardized solutions, such as summarization(Stiennon et al., 2020), translation(Kreutzer et al., 2018), and dialogue(Jaques et al., 2020), without over-optimizing metrics such as ROUGE(Lin, 2004) or BLEU(Papineni et al., 2002).
|
| 18 |
+
|
| 19 |
+
In real-world applications, learning continuously changing human preferences is more practical than learning invariable human preferences. For example, the progression from the onset of the COVID-19 virus in human society to widespread infections and finally to achieving herd immunity has seen corresponding changes in government policies and human perspective. An AI agent that keeps pace with the times should exhibit behavior that aligns with current government policies and human understanding preferences at different stages, rather than remaining static.
|
| 20 |
+
|
| 21 |
+
However, traditional alignment methods (Stiannon et al., 2020; Ouyang et al., 2022), lack flexibility for continual learning (CL) of human preferences. Recent approach (Bai et al., 2022a) tackles these problems by periodically retraining the Preference Model (PM) and policy based on both new and historical data, it might be inefficient and impractical due to the involved concerns of computational cost and data privacy.
|
| 22 |
+
|
| 23 |
+
In this paper, we propose a more practical approach by enhancing RLHF with continual learning (CL), aiming to optimize two conflicting objectives: preserving old knowledge and acquiring new
|
| 24 |
+
|
| 25 |
+
knowledge (Rolnick et al., 2019). This leads to a long-standing challenge known as the stability-plasticity $^{1}$ dilemma (Abraham & Robins, 2005). Moreover, due to the vast action space (vocabulary) of LMs, the RLHF algorithms (e.g., PPO) usually suffer from the issues of inefficiency and instability during training (Ramamurthy et al., 2022). To tackle these challenges, we attempt to seek a good tradeoff between policy learning and knowledge retention with stable learning by designing a sample-wise weighting strategy over the rollout $^{2}$ samples. Our weighting strategy is motivated by the fact that a desired policy should always generate high-reward results with high probabilities.
|
| 26 |
+
|
| 27 |
+
Specifically, we first categorize the rollout samples into five types according to their rewards and generation probabilities, as shown in Figure 1. We then assign each rollout sample with a policy learning weight $\alpha$ and a knowledge retention weight $\beta$ , in the following way. 1) For a high-performance sample, we assign a high $\alpha$ and a high $\beta$ , in order to consolidate the knowledge of this sample. 2) For a high-variance or overfitting sample, we assign a high $\alpha$ and a low $\beta$ , so as to learn more knowledge of this sample and force the new policy to be different from the old one in generating such a sample. 3) For a noisy sample, we assign a low $\alpha$ and a low $\beta$ to decrease its impact on learning. 4) For a normal sample, we make no changes.
|
| 28 |
+
|
| 29 |
+
Based on the above weighting strategy, we develop a novel PPO-based method, named continual proximal policy optimization (CPPO). CPPO implements the weighting strategy in two different ways: heuristic and learnable, resulting in two different CPPO methods (see Section 3.2 for details). The heuristic approach sets the weight with linear gain or decay according to strategy. The learnable approach converts the strategy into several inequality constraints and learns the best weight by optimizing the Lagrange function.
|
| 30 |
+
|
| 31 |
+
Experimental results on real-world summarization datasets demonstrate that our proposed CPPO methods significantly outperform the PPO re-training methods and the strong CL baselines, in both CL and non-CL settings (detailed in Appendix F). Furthermore, additional experiments in both settings verify the superior training stability of CPPO compared to the original PPO algorithm.
|
| 32 |
+
|
| 33 |
+

|
| 34 |
+
Figure 1: Five types of the rollout are utilized in our method.
|
| 35 |
+
|
| 36 |
+
# 2 PRELIMINARY AND TASK FORMULATION
|
| 37 |
+
|
| 38 |
+
PPO algorithm (Schulman et al., 2017) utilizes the clipped surrogate objective with a learned state-value function, and the entropy bonus (Mnih et al., 2016) is added to the original reward. The total objective is approximately maximized in each iteration step $i = 1,2,\dots,I$ (in the NLP scene, step- $i$ denotes the generation of the $i$ -th token):
|
| 39 |
+
|
| 40 |
+
$$
|
| 41 |
+
L _ {i} ^ {C L I P + V F} (\theta) = \mathbb {E} _ {i} \left[ L _ {i} ^ {C L I P} (\theta) - c \cdot L _ {i} ^ {V F} (\theta) \right] \tag {1}
|
| 42 |
+
$$
|
| 43 |
+
|
| 44 |
+
where $c$ is the coefficient, and $L_{i}^{VF}$ is a squared-error loss $(V_{\theta}(s_i) - V_i^{targ})^2$ . The clipped policy learning objective is: $L_{i}^{CLIP}(\theta) = \min (r_{i}(\theta)\cdot \mathbf{A}_{i},clip(r_{i}(\theta),1\pm \epsilon)\cdot \mathbf{A}_{i})$ , where $r_i(\theta) = \frac{\pi_\theta(a_i|s_i)}{\pi_{\theta_{old}}(a_i|s_i)}$ is the probability ratio, $\epsilon$ is the clip hyperparameter, $s_i$ is the $i$ -th state, $\mathbf{A}_{\mathbf{i}}$ is the truncated version of generalized advantage estimation.
|
| 45 |
+
|
| 46 |
+
Task Formulation: In this paper, we propose the task of continually learning human preferences under an offline continual learning setting(Biesialska et al., 2020). Formally, we consider a task sequence of $\mathbb{T} = \{\mathcal{T}_1,\mathcal{T}_2,\ldots \}$ to continually learn a policy model on the corresponding human
|
| 47 |
+
|
| 48 |
+
preference datasets $\mathbb{H}\mathbb{F} = \{HF_1, HF_2, \ldots\}$ and prompt datasets $\mathbb{S} = \{S_1, S_2, \ldots\}$ . For each task $\mathcal{T}_t(t = 1, 2, \ldots)$ , the policy $\pi_t$ is initialized by $\pi_{t-1}$ and then is trained against the reward model $r_t$ where the reward model $r_t$ is learned on $HF_t$ . The initial policy $\pi_0$ is the SFT model, namely, $\pi_0 = \pi_{SFT}$ . Let $x = (s, a)$ denote the prompt $s$ and answer $a$ pair. The final objective is to learn a policy model $\pi_\theta$ that maximizes the overall reward on all of the learned human preferences:
|
| 49 |
+
|
| 50 |
+
$$
|
| 51 |
+
\max _ {\theta} \Sigma_ {t = 1} ^ {T} \mathbb {E} _ {s \sim S _ {t}, a \sim \pi_ {\theta} (\cdot | s)} [ r _ {t} (s, a) ] \tag {2}
|
| 52 |
+
$$
|
| 53 |
+
|
| 54 |
+
# 3 CONTINUAL PROXIMAL POLICY OPTIMIZATION
|
| 55 |
+
|
| 56 |
+
# 3.1 MOTIVATION AND THEORETICAL ANALYSIS
|
| 57 |
+
|
| 58 |
+
To optimize the objective 2 in the CL paradigm, the key is to balance the tradeoff between policy learning and knowledge retention, i.e., to learn a policy $\pi_t$ that not only fits current task $t$ but also retains the knowledge of previous tasks. This is typically accomplished by maximizing $\pi_t$ 's average reward and meanwhile minimizing the difference between $\pi_t$ and $\pi_{t-1}$ by KL-based knowledge distillation (Kaplanis et al., 2019):
|
| 59 |
+
|
| 60 |
+
$$
|
| 61 |
+
\max _ {\theta} \mathbb {E} _ {s \sim S _ {t}, a \sim \pi_ {\theta} (\cdot | s)} [ r _ {t} (s, a) ] - \mathbb {E} _ {s \in S _ {t - 1}} D _ {\mathrm {K L}} \left(P _ {\pi_ {\theta}} (a | s) \| P _ {\pi_ {t - 1}} (a | s)\right) \tag {3}
|
| 62 |
+
$$
|
| 63 |
+
|
| 64 |
+
where $P_{\pi_\theta}(a|s)$ denotes the probability that policy $\pi_\theta$ generates the answer $a$ to the prompt $s$ . However, in the RLHF setting, we argue that a more effective way to achieve policy learning is to maximize the rewards of the results that $\pi_\theta$ has a high probability to generate. This is because LMs usually have a vast action space (vocabulary size) and adopt a sampling strategy such as beam search that favors high-probability generative results. For knowledge retention, on the other hand, it is more important to make $\pi_\theta$ retain $\pi_{t-1}$ 's certain knowledge that generates high-reward outputs rather than all.
|
| 65 |
+
|
| 66 |
+
To accomplish the above ideas, we propose a theoretically desirable objective for continual RLHF at task $\mathcal{T}_t$ :
|
| 67 |
+
|
| 68 |
+
$$
|
| 69 |
+
\max _ {\theta} \mathbb {E} _ {(s, a) \in D _ {1}} r _ {t} (s, a) - \mathbb {E} _ {(s, a) \in D _ {2}} D _ {\mathrm {K L}} \left(P _ {\pi_ {\theta}} (a | s) \| P _ {\pi_ {t - 1}} (a | s)\right) \tag {4}
|
| 70 |
+
$$
|
| 71 |
+
|
| 72 |
+
where, $D_{1} = \{(s,a)|s\sim S_{t},a\sim \pi_{\theta}(\cdot |s),P_{\pi_{\theta}}(a|s) > \mu_{a}[P_{\pi_{\theta}}(a|s)] + k\sigma_{a}[P_{\pi_{\theta}}(a|s)]\}$ and $D_{2} = \{(s,a)|s\sim S_{t - 1},a\sim \pi_{t - 1}(\cdot |s),r_{t}(s,a) > \mu_{a}[r_{t}(s,a)] + k\sigma_{a}[r_{t}(s,a)]\}$ denote the sets of samples with high generation probability and high rewards, respectively. $\mu$ and $\sigma$ denote the mean and standard deviation respectively, and $k$ is a hyperparameter. It is important to note that here we use $r_t(s,a)$ instead of $r_{t - 1}(s,a)$ . Since the reward model is continually learned, we assume $r_{t - 1}(s,a)\approx r_t(s,a)$ when $s\in S_{t - 1}$ and $a\sim \pi_{\theta}(\cdot |s)$ . To simplify notation, the subsequent sections of the paper use $x$ instead of $(s,a)$ .
|
| 73 |
+
|
| 74 |
+
The KL divergence term requires a significant amount of memory to store the probability distribution of each token across the vast vocabulary. To tackle this problem, we incorporate a low computational knowledge retention penalty term $L_{i}^{KR}(\theta) = (\log P_{\pi_{\theta}}(x_{i}) - \log P_{\pi_{t-1}}(x_{i}))^{2}$ . We compute the L2 distance of the log generation probability of true tokens instead of the KL divergence of the entire vocabulary's probability distribution. We find the former is effective for knowledge retention and needs NOT to save the vocabulary's probability distribution in the memory<sup>3</sup>.
|
| 75 |
+
|
| 76 |
+
We introduce $I_{D_1}(x)$ and $I_{D_2}(x)$ to denote the indicator functions of the sets of $D_1$ and $D_2$ , respectively. By introducing the actor-critic version, the clipped ratio, and the entropy bonus, we claim that Eq.(4) can be written to (the derivation is detailed in Appendix Section B):
|
| 77 |
+
|
| 78 |
+
$$
|
| 79 |
+
\begin{array}{l} \mathbf {J} ^ {\prime} (\theta) = L _ {i} ^ {I _ {D _ {1}} \cdot C L I P + I _ {D _ {2}} \cdot K R + V F} (\theta) \\ = \mathbb {E} _ {i} \left[ I _ {D _ {1}} (x) \cdot L _ {i} ^ {C L I P} (\theta) - I _ {D _ {2}} (x) \cdot L _ {i} ^ {K R} (\theta) - c \cdot L _ {i} ^ {V F} (\theta) \right] \tag {5} \\ \end{array}
|
| 80 |
+
$$
|
| 81 |
+
|
| 82 |
+
Compared with objective Eq. (1), Eq.(5) introduces the learning weights $I_{D_1}(x)$ , $I_{D_2}(x)$ , and the $L_i^{KR}$ loss. Unfortunately, it is still impractical to directly optimize the objective, since the training
|
| 83 |
+
|
| 84 |
+
samples in $D_{1}$ and $D_{2}$ are seldom as indicated by the Cantelli Inequation<sup>4</sup> $P(\mathbf{X} > \mu[\mathbf{X}] + k\sigma[\mathbf{X}]) < 1/(1 + k^{2})$ . To make Eq.(5) easy to optimize, we generalize the indicator functions $I_{D_{1}}(x)$ and $I_{D_{2}}(x)$ to positive real-valued functions $\alpha(x)$ and $\beta(x)$ , which gives each sample a non-zero learning weight.
|
| 85 |
+
|
| 86 |
+
# 3.2 WEIGHTING STRATEGY
|
| 87 |
+
|
| 88 |
+
Our method utilizes sample-wise balance weights $\alpha(x)$ and $\beta(x)$ to regulate the policy learning and knowledge retention processes, aiming to find a balance between knowledge retention and policy learning. The final objective is:
|
| 89 |
+
|
| 90 |
+
$$
|
| 91 |
+
\begin{array}{l} \mathbf {J} (\theta) = L _ {i} ^ {\alpha \cdot C L I P + \beta \cdot K R + V F} (\theta) \\ = \mathbb {E} _ {i} [ \alpha (x) L _ {i} ^ {C L I P} (\theta) - \beta (x) L _ {i} ^ {K R} (\theta) - c \cdot L _ {i} ^ {V F} (\theta) ] \tag {6} \\ \end{array}
|
| 92 |
+
$$
|
| 93 |
+
|
| 94 |
+
for task $t = 1,2,\dots,T$ . Next, we propose a weighting strategy for balancing policy learning and knowledge retention.
|
| 95 |
+
|
| 96 |
+
# 3.2.1 BALANCING POLICY LEARNING AND KNOWLEDGE RETENTION
|
| 97 |
+
|
| 98 |
+
To simplify the expression, we define the operator $F[\cdot ] = \mu [\cdot ] - k\sigma [\cdot ]$ and operator $G[\cdot ] = \mu [\cdot ] + k\sigma [\cdot ]$ . As shown in Figure 1 and Table 1, we classify the rollout samples into 5 rollout types based on the joint distribution of $(\mathbf{P}_{\pi_{\theta}}(x),\mathbf{R}(x))$ . If $\mathbf{P}_{\pi_{\theta}}(x)$ or $\mathbf{R}(x)$ is outside the discriminant interval $(F[\cdot ],G[\cdot ])$ , it is considered as high or low. Now, we detail each rollout type and corresponding weight strategy.
|
| 99 |
+
|
| 100 |
+
High-performance sample: If both $\mathbf{P}_{\pi_{\theta}}(x)$ and $\mathbf{R}(x)$ are high, it indicates that the old policy has high confidence to generate $x$ which gets a high reward, implying that it is already performing well. In this case, we ask the new policy to enhance both policy learning and knowledge retention.
|
| 101 |
+
|
| 102 |
+
Overfitting sample: A high $\mathbf{P}_{\pi_{\theta}}(x)$ with a low $\mathbf{R}(x)$ indicates that the old policy is likely overfitting (due to high
|
| 103 |
+
|
| 104 |
+
Table 1: The determining condition of rollout type and corresponding weight strategy to balance policy learning and knowledge retention. We monitor the generating probability $\mathbf{P}_{\pi_{\theta}}(x)$ and the corresponding reward score $\mathbf{R}(x)$ . The rollout type of sample $x$ depends on whether the $\mathbf{P}_{\pi_{\theta}}(x)$ and $\mathbf{R}(x)$ fall in or outside the discriminant interval $(F[\cdot], G[\cdot])$ .
|
| 105 |
+
|
| 106 |
+
<table><tr><td>ID</td><td>Rollout Type</td><td colspan="2">Determining Condition</td><td colspan="2">Weight Strategy</td></tr><tr><td>r1</td><td>High-performance</td><td>Pπθ(x) ≥ G[Pπθ]</td><td>R(x) ≥ G[R]</td><td>α(x) ↑</td><td>β(x) ↑</td></tr><tr><td>r2</td><td>Overfitting</td><td>Pπθ(x) ≥ G[Pπθ]</td><td>R(x) ≤ F[R]</td><td>α(x) ↑</td><td>β(x) ↓</td></tr><tr><td>r3</td><td>High-variance</td><td>Pπθ(x) ≤ F[Pπθ]</td><td>R(x) ≥ G[R]</td><td>α(x) ↑</td><td>β(x) ↓</td></tr><tr><td>r4</td><td>Noisy</td><td>Pπθ(x) ≤ F[Pπθ]</td><td>R(x) ≤ F[R]</td><td>α(x) ↓</td><td>β(x) ↓</td></tr><tr><td>r5</td><td>Normal</td><td colspan="2">Pπθ(x) or R(x) ∈ (F,G)</td><td>-</td><td>-</td></tr></table>
|
| 107 |
+
|
| 108 |
+
probability) to the biased sample (due to low reward score). We aim to reduce the generation probability of the biased sample $x$ , which can be achieved through policy learning. However, knowledge retention will maintain the high probability of the biased sample $x$ . Therefore, we enhance policy learning and slow down knowledge retention.
|
| 109 |
+
|
| 110 |
+
High-variance sample: If $\mathbf{P}_{\pi_{\theta}}(x)$ is low while $\mathbf{R}(x)$ is high, it suggests that sample $x$ has high variance. Due to the low $\mathbf{P}_{\pi_{\theta}}(x)$ , the likelihood of generating $x$ next time is low. To achieve stable (low variance) performance, we aim to increase the generation probability of sample $x$ , which can be accomplished through policy learning. However, knowledge retention will maintain a low generation probability. Therefore, we enhance policy learning and slow down knowledge retention.
|
| 111 |
+
|
| 112 |
+
Noisy sample: If both $\mathbf{P}_{\pi_{\theta}}(x)$ and $\mathbf{R}(x)$ are low, sample $x$ is considered noisy data which may lead to overoptimization against the PM (Gao et al., 2022). Therefore, we slow down both knowledge retention and policy learning.
|
| 113 |
+
|
| 114 |
+
Normal sample: If at least one of $\mathbf{P}_{\pi_{\theta}}(x)$ and $\mathbf{R}(x)$ falls within the discriminant interval, we consider it a normal condition and do not alter the learning process.
|
| 115 |
+
|
| 116 |
+

|
| 117 |
+
(a) Surface of heuristic $\alpha (x)$
|
| 118 |
+
|
| 119 |
+

|
| 120 |
+
(b) Surface of heuristic $\beta (x)$
|
| 121 |
+
Figure 2: The surfaces of heuristic weights. The weights are equal to 1 when rollout samples fall in the normal zone.
|
| 122 |
+
|
| 123 |
+
# 3.2.2 HOW TO DETERMINE BALANCE WEIGHTS?
|
| 124 |
+
|
| 125 |
+
The above weight strategies constitute several inequality constraints of $\alpha(x)$ and $\beta(x)$ , shown in Table 2. Determining balance weights requires finding a feasible solution that satisfies those constraints. We provide two methods to determine balance weights including the heuristic weight method and the learnable weight method.
|
| 126 |
+
|
| 127 |
+
Table 2: The constraint of weights and heuristic weights.
|
| 128 |
+
|
| 129 |
+
<table><tr><td>ID</td><td>Constraint of α(x)</td><td>Constraint of β(x)</td><td>Heuristic α(x)</td><td>Heuristic β(x)</td></tr><tr><td>r1</td><td>α(xr5) - α(xr1) < 0</td><td>β(xr5) - β(xr1) < 0</td><td>min(ub, Pπθ(x) - μ[Pπθ]/kσ[πθ])</td><td>min(ub, R(x) - μ[R] / kσ[R])</td></tr><tr><td>r2</td><td>α(xr5) - α(xr2) < 0</td><td>β(xr2) - β(xr5) < 0</td><td>min(ub, Pπθ(x) - μ[Pπθ]/kσ[πθ])</td><td>max(lb, 2 + R(x) - μ[R] / kσ[R])</td></tr><tr><td>r3</td><td>α(xr5) - α(xr3) < 0</td><td>β(xr3) - β(xr5) < 0</td><td>min(ub, Pπθ(x) - μ[Pπθ]/kσ[πθ])</td><td>max(lb, 2 + R(x) - μ[R] / kσ[R])</td></tr><tr><td>r4</td><td>α(xr4) - α(xr5) < 0</td><td>β(xr4) - β(xr5) < 0</td><td>max(lb, 2 + Pπθ(x) - μ[Pπθ]/kσ[πθ])</td><td>max(lb, 2 + R(x) - μ[R] / kσ[R])</td></tr><tr><td>r5</td><td>-</td><td>-</td><td>1</td><td>1</td></tr><tr><td>All</td><td>E×~πt-1[α(x)] = 1</td><td>E×~πt-1[β(x)] = 1</td><td>-</td><td>-</td></tr></table>
|
| 130 |
+
|
| 131 |
+
Heuristic $\alpha(x)$ and $\beta(x)$ : If $\mathbf{P}_{\pi_{\theta}}(x)$ or $\mathbf{R}(x)$ fall within the discriminant interval, the balance weights are set to 1. If they are further away from the discriminant interval, the weights will linearly increase or decrease (depending on the rollout type). We can plot the surfaces of $\alpha(x)$ and $\beta(x)$ in 3D coordinate systems, as shown in Figure 2. The heuristic weights $\alpha(x)$ and $\beta(x)$ for a given sample $x$ can be calculated by the formula presented in Table 2.
|
| 132 |
+
|
| 133 |
+
Learnable $\alpha(x)$ and $\beta(x)$ : Heuristic $\alpha(x)$ and $\beta(x)$ lack enough adaptation ability to the dynamic learning process. Hence, we propose the learnable balance weights to automatically balance policy learning and knowledge retention. We learn 2N parameters for each rollout batch in which the LM generates N responses, the 2N parameters can be discarded before the next rollout batch.
|
| 134 |
+
|
| 135 |
+
Our goal is to find a set of weights that satisfy the constraints in Table 2. Unlike the typical optimization problem solved by the Lagrange Multiplier method, we do not need to minimize an additional objective function. It should be noted that the optimization objective of CPPO in Eq.6 is not directly optimized using the Lagrange Multiplier method.
|
| 136 |
+
|
| 137 |
+
We employ a more straightforward strategy. We construct an unconstrained optimization objective by adding all the terms on the left side of the inequalities (in Table 2) together:
|
| 138 |
+
|
| 139 |
+
$$
|
| 140 |
+
\begin{array}{l} \mathbf {L} _ {\text {c o e f}} (\phi) = \mathbb {E} _ {x \sim \pi_ {t - 1}} [ (\alpha_ {\phi} (x) - 1) ^ {2} + (\beta_ {\phi} (x) - 1) ^ {2} ] + \tau (\alpha (x _ {r 5}) - \alpha (x _ {r 1}) + \beta (x _ {r 5}) - \beta (x _ {r 1}) \\ + \alpha \left(x _ {r _ {5}}\right) - \alpha \left(x _ {r _ {2}}\right) + \beta \left(x _ {r _ {2}}\right) - \beta \left(x _ {r _ {5}}\right) + \alpha \left(x _ {r _ {5}}\right) - \alpha \left(x _ {r _ {3}}\right) + \beta \left(x _ {r _ {3}}\right) - \beta \left(x _ {r _ {5}}\right) \tag {7} \\ + \alpha \left(x _ {r _ {4}}\right) - \alpha \left(x _ {r _ {5}}\right) + \beta \left(x _ {r _ {4}}\right) - \beta \left(x _ {r _ {5}}\right)) \\ \end{array}
|
| 141 |
+
$$
|
| 142 |
+
|
| 143 |
+
where, $\alpha(x) = (ub - lb) \cdot sig(\phi_x^1) + lb$ , $\beta(x) = (ub - lb) \cdot sig(\phi_x^2) + lb$ , and $sig$ is sigmoid function, $lb$ and $ub$ are lower and upper bound of $\alpha(x)$ and $\beta(x)$ . We directly optimize Eq. 7 using SGD to find
|
| 144 |
+
|
| 145 |
+
a set of weights that satisfy the constraints. We set multiplier $\tau$ as a hyperparameter, and $\tau = 0.1$ is selected from $\{0.01, 0.1, 0.5, 1.0\}$ . For more hyperparameter sensitivity analysis experiments, please refer to Appendix E.1. We found this simple idea is highly effective in our scenario. In Appendix E.2, we analyze the time and memory required for SGD to find feasible solutions and found that it does NOT significantly increase the overall training time and memory.
|
| 146 |
+
|
| 147 |
+
# 4 EXPERIMENTS
|
| 148 |
+
|
| 149 |
+
We assess the performance of CPPO and baseline methods in the domain incremental learning (DIL) summary task. We also evaluate CPPO on non-continual learning tasks (Appendix Section F).
|
| 150 |
+
|
| 151 |
+
# 4.1 THE EXPERIMENTAL CONFIGURATION FOR CONTINUAL LEARNING FROM HUMAN PREFERENCES
|
| 152 |
+
|
| 153 |
+
Dataset and split: In accordance with previous research (Stiannon et al., 2020), we evaluate our method using the Reddit TL;DR (Volske et al., 2017) dataset for summarization. We use the human preference data provided by CarperAI<sup>5</sup>. To the best of our knowledge, there are limited benchmark datasets proposed for evaluating continual RLHF methods. Consequently, we divide the Reddit TL;DR dataset based on domains into two parts, which are outlined in Table 3. Each part corresponds to a distinct alignment task.
|
| 154 |
+
|
| 155 |
+
Experiment settings: We evaluate CPPO under the DIL setting with two tasks, and the historical data is assumed inaccessible. This scenario is typical in real-world applications, such as developers continually learning an open-Source
|
| 156 |
+
|
| 157 |
+
Table 3: The dataset is utilized for continual learning. The human feedback data is used for training the reward model. The post (prompt) and summary (label) of Reddit TL;DR are used for SFT. The domain of "r/others" includes 28 categories, such as books, travel, and cooking. It's worth noting that the summary (label) data is not used in the reinforcement learning (RL) process.
|
| 158 |
+
|
| 159 |
+
<table><tr><td>Task ID</td><td>Data</td><td>Data split</td><td>Train</td><td>Valid</td><td>Test</td><td>Domain</td></tr><tr><td rowspan="2">task-1</td><td>Human Feedback</td><td>part-1</td><td>52243</td><td>-</td><td>45148</td><td>r / relationships</td></tr><tr><td>Reddit TL;DR</td><td>part-1</td><td>63324</td><td>3462</td><td>3539</td><td>r / relationships</td></tr><tr><td rowspan="2">task-2</td><td>Human Feedback</td><td>part-2</td><td>40291</td><td>-</td><td>38481</td><td>r / others</td></tr><tr><td>Reddit TL;DR</td><td>part-2</td><td>53398</td><td>2985</td><td>3014</td><td>r / others</td></tr></table>
|
| 160 |
+
|
| 161 |
+
RLHF model like vicuna(Chiang et al., 2023) in a special domain (e.g., game) without permission to access the pre-training corpus. For each task, we employ a 1.3B gpt2-xl (Radford et al., 2019) model with a value head as the reward model (RM). The RM is continually trained for 5 epochs on each task using the MAS(Aljundi et al., 2018) method. Since the policy is prone to over-optimize against the PM (Gao et al., 2022), we train a 6.7B gptj (Wang & Komatsuzaki, 2021) model as the reference PM (rPM) to measure the performance of alignment. The rPM is trained on entire human preferences data. We conduct experiments to evaluate the RM trained with and without MAS through accuracy and forgetting ratio (Chaudhry et al., 2018) (FR) of accuracy. The evaluation results of RM and rPM are shown in Table 4. The accuracy is computed by counting the percentage of the reward scores of human-preferred responses that are higher than the reward scores of human-NOT-preferred responses(Yuan et al., 2023). We initialize the SFT model from gpt2-s and train it on the Reddit TL;DR part-1 for 5 epochs. However, we do not perform the SFT process in task-2 as we observe no significant effects on performance.
|
| 162 |
+
|
| 163 |
+
Metrics: We use the forgetting radio (Chaudhry et al., 2018) of the ROUGE and reference PM score to measure the extent to which the old policy is forgotten. Notably, we consider the alignment tax (Ouyang et al., 2022) as part of forgetting since it arises when the SFT model
|
| 164 |
+
|
| 165 |
+
Table 4: The evaluation results of RMs and rPM.
|
| 166 |
+
|
| 167 |
+
<table><tr><td>Reward Model</td><td>Acc(HF1test)</td><td>Acc(HF2test)</td><td>FR</td></tr><tr><td>RM1</td><td>0.7441</td><td>-</td><td>-</td></tr><tr><td>RM2 w MAS</td><td>0.7203</td><td>0.7482</td><td>0.024</td></tr><tr><td>RM2 w/o MAS</td><td>0.6971</td><td>0.7496</td><td>0.047</td></tr><tr><td>rPM</td><td>0.7624</td><td>0.7592</td><td>-</td></tr></table>
|
| 168 |
+
|
| 169 |
+
learns human preferences during the RL step. After learning all tasks, we evaluate the models on the entire test set using both reference PM score and ROUGE score. Table 5 presents the metrics used to
|
| 170 |
+
|
| 171 |
+
evaluate each task, as well as the final evaluation metric. A well-performing model is expected to achieve high scores in both the reference PM and ROUGE metrics.
|
| 172 |
+
|
| 173 |
+
Table 5: Metrics for our tasks. $\mathbb{D}_i^{test}(i = 1,2)$ denote the test data of Reddit TL;DR data part-i, and $rPM(M_i,\mathbb{D}_i^{test})(i = 1,2)$ denote the reference PM score of model $M_{i}$ on dataset $\mathbb{D}_i^{test}$ .
|
| 174 |
+
|
| 175 |
+
<table><tr><td></td><td>Metric</td><td>Definition</td></tr><tr><td>Task-1</td><td>reference PM Score on Task-1 (rPMS1, ↑)</td><td>rPM(M1, D1test)</td></tr><tr><td>Task-1</td><td>Alignment Tax (AT, ↓)</td><td>Rouge(MST, D1test) - Rouge(M1, D1test)</td></tr><tr><td>Task-2</td><td>reference PM Score on Task-2 (rPMS2, ↑)</td><td>rPM(M2, D2test)</td></tr><tr><td>Task-2</td><td>Score Forgetting Ratio (SFR, ↓)</td><td>rPM(M1, D1test) - rPM(M2, D1test)</td></tr><tr><td>Final eval</td><td>reference PM Score on entire test data (rPMS, ↑)</td><td>rPM(M2, D1test ∪ D2test)</td></tr></table>
|
| 176 |
+
|
| 177 |
+
# 4.2 RESULTS OF CONTINUAL LEARNING FROM HUMAN PREFERENCES
|
| 178 |
+
|
| 179 |
+
Table 6 shows the results of continual learning from human preferences on the summary task. We observe that CL methods, such as EWC (Kirkpatrick et al., 2017) regularization or policy consolidation (Kaplanis et al., 2019) can improve the training stability of the PPO method, thereby ensuring that the policy does not change too much with every policy gradient step. This leads to improved rPMS. Our method outperforms CL baselines by achieving the most significant enhancement in policy learning (rPMS) and possessing Backward Transfer (BWT) (Lopez-Paz & Ranzato, 2017) capability (negative SFR). This is because our learning strategy is sample-adaptive and balances policy learning and knowledge retention. Additionally, CPPO performs better than Iterated RLHF because PPO is not stable enough in the learning process. We observed that during PPO training, the KL divergence and value prediction errors tend to increase suddenly, as discussed in Section 4.4.
|
| 180 |
+
|
| 181 |
+
Table 6: The main results of continual alignment on TL; DR dataset. For PPO (In order)*, we directly finetune the $\mathrm{RM}_1$ on the novel data to obtain $\mathrm{RM}_2$ , without using MAS regularization; and we directly train the policy model $M_{\pi_1}$ against $\mathrm{RM}_2$ to obtain $M_{\pi_2}$ . For the Iterated RLHF†(PPO), we retrain the $\mathrm{RM}_2$ and policy model $M_{\pi_2}$ on the combination of the Task-1 and Task-2 corpus. Methods in italics are trained against the continually learned (by MAS) reward models. Details of the implementation can be found in Appendix G.
|
| 182 |
+
|
| 183 |
+
<table><tr><td>Method</td><td>rPMS1(↑)</td><td>Task-1 (Mπ1) rouge(↑)</td><td>AT (↓)</td><td>rPMS2(↑)</td><td>Task-2 (Mπ2) rouge(↑)</td><td>SFR (↓)</td><td colspan="2">Final eval (Mπ2) rouge(↑)</td></tr><tr><td>Human</td><td>2.958</td><td>-</td><td>-</td><td>2.805</td><td>-</td><td>-</td><td>2.903</td><td>-</td></tr><tr><td>ChatGPT</td><td>3.298</td><td>0.197</td><td>-</td><td>3.189</td><td>0.191</td><td>-</td><td>3.242</td><td>0.193</td></tr><tr><td>SFT (In order)</td><td>1.499 ±0.130</td><td>0.248 ±0.006</td><td>-</td><td>1.543 ±0.067</td><td>0.237 ±0.007</td><td>-</td><td>1.498 ±0.051</td><td>0.237 ±0.009</td></tr><tr><td>SFT (multi-tasks)</td><td>1.524 ±0.041</td><td>0.254 ±0.011</td><td>-</td><td>1.536 ±0.092</td><td>0.234 ±0.009</td><td>-</td><td>1.505 ±0.011</td><td>0.236 ±0.008</td></tr><tr><td>PPO (In order)*</td><td>2.629 ±0.183</td><td>0.196 ±0.050</td><td>0.052 ±0.044</td><td>2.546 ±0.201</td><td>0.151 ±0.022</td><td>0.144 ±0.024</td><td>2.502 ±0.242</td><td>0.186 ±0.016</td></tr><tr><td>Iterated RLHF†</td><td>2.629 ±0.183</td><td>0.196 ±0.050</td><td>0.052 ±0.044</td><td>2.732 ±0.163</td><td>0.211 ±0.011</td><td>0.061 ±0.018</td><td>2.666 ±0.124</td><td>0.200 ±0.010</td></tr><tr><td>PPO</td><td>2.629 ±0.183</td><td>0.196 ±0.050</td><td>0.052 ±0.044</td><td>2.687 ±0.126</td><td>0.184 ±0.017</td><td>0.080 ±0.017</td><td>2.612 ±0.191</td><td>0.188 ±0.013</td></tr><tr><td>PPO+OnlineL2 Reg</td><td>2.758 ±0.121</td><td>0.206 ±0.042</td><td>0.042 ±0.042</td><td>2.701 ±0.205</td><td>0.180 ±0.012</td><td>0.062 ±0.013</td><td>2.700 ±0.114</td><td>0.196 ±0.011</td></tr><tr><td>PPO+EWC (Kirkpatrick et al., 2017)</td><td>2.833 ±0.122</td><td>0.201 ±0.043</td><td>0.047 ±0.039</td><td>2.823 ±0.192</td><td>0.175 ±0.022</td><td>0.040 ±0.015</td><td>2.801 ±0.202</td><td>0.196 ±0.023</td></tr><tr><td>PPO+MAS (Aljundi et al., 2018)</td><td>2.712 ±0.132</td><td>0.211 ±0.051</td><td>0.034 ±0.037</td><td>2.726 ±0.189</td><td>0.157 ±0.021</td><td>0.039 ±0.020</td><td>2.714 ±0.167</td><td>0.179 ±0.011</td></tr><tr><td>PPO+LfW (Li & Hoiem, 2018)</td><td>2.822 ±0.126</td><td>0.197 ±0.051</td><td>0.048 ±0.050</td><td>2.832 ±0.179</td><td>0.169 ±0.036</td><td>0.030 ±0.019</td><td>2.824 ±0.192</td><td>0.179 ±0.019</td></tr><tr><td>PPO+TFCL (Aljundi et al., 2019)</td><td>2.867 ±0.109</td><td>0.202 ±0.039</td><td>0.043 ±0.046</td><td>2.864 ±0.169</td><td>0.169 ±0.020</td><td>0.054 ±0.022</td><td>2.842 ±0.211</td><td>0.178 ±0.014</td></tr><tr><td>PC (Kaplanis et al., 2019)</td><td>2.692 ±0.117</td><td>0.209 ±0.048</td><td>0.036 ±0.055</td><td>2.723 ±0.195</td><td>0.165 ±0.019</td><td>0.047 ±0.017</td><td>2.703 ±0.191</td><td>0.187 ±0.016</td></tr><tr><td>HN-PPO (Schöpf et al., 2022)</td><td>2.859 ±0.105</td><td>0.212 ±0.034</td><td>0.036 ±0.042</td><td>2.868 ±0.132</td><td>0.171 ±0.017</td><td>0.028 ±0.029</td><td>2.846 ±0.177</td><td>0.201 ±0.011</td></tr><tr><td>NLPO (Ramamurthy et al., 2022)</td><td>2.784 ±0.102</td><td>0.185 ±0.041</td><td>0.060 ±0.050</td><td>2.796 ±0.116</td><td>0.172 ±0.021</td><td>0.012 ±0.012</td><td>2.799 ±0.146</td><td>0.181 ±0.022</td></tr><tr><td>CPPO (Heuristic)</td><td>3.020 ±0.137</td><td>0.213 ±0.024</td><td>0.035 ±0.023</td><td>2.978 ±0.113</td><td>0.174 ±0.019</td><td>-0.164 ±0.009</td><td>3.099 ±0.153</td><td>0.179 ±0.016</td></tr><tr><td>CPPO (Learn)</td><td>3.180 ±0.154</td><td>0.220 ±0.040</td><td>0.028 ±0.042</td><td>3.085 ±0.134</td><td>0.164 ±0.024</td><td>-0.161 ±0.008</td><td>3.207 ±0.113</td><td>0.179 ±0.008</td></tr></table>
|
| 184 |
+
|
| 185 |
+
# 4.3 ABLATION STUDY
|
| 186 |
+
|
| 187 |
+
We conduct an ablation study on our proposed CPPO method. To analyze the effect of the balance weights, we conduct experiments by setting either $\alpha(x)$ or $\beta(x)$ to 1. To analyze the effect of the knowledge retention penalty, we set $\beta(x) \equiv 0$ . The training curves of different weights are shown in Figure 3, and the evaluation results are presented in Table 7. We observe that the training process becomes unstable when setting $\beta(x)$ to 0. When setting $\alpha(x)$ to 1 reduces the rPMS, the noisy samples are learned together with normal samples without distinction, hence the reward increase is slower than CPPO. When setting $\beta(x)$ to 1 increases the SFR, the overfitting samples, high-variance samples, and noisy samples are consolidated the in the knowledge retention process, hence the final reward value is lower than CPPO. The above experiments indicate that the sample-wise balance weights are helpful for both policy learning and knowledge retention.
|
| 188 |
+
|
| 189 |
+
Table 7: Ablation study. PPO is a special case of CPPO ( $*\alpha \equiv 1, \beta \equiv 0$ ).
|
| 190 |
+
|
| 191 |
+
<table><tr><td rowspan="2">Method</td><td colspan="3">Task-1</td><td colspan="3">Task-2</td></tr><tr><td>rPMS1(↑)</td><td>rouge (↑)</td><td>AT (↓)</td><td>rPMS2(↑)</td><td>rouge (↑)</td><td>SFR (↓)</td></tr><tr><td>CPPO / Heuristic</td><td>3.020 ±0.137</td><td>0.213 ±0.024</td><td>0.035 ±0.023</td><td>2.978 ±0.113</td><td>0.174 ±0.019</td><td>-0.164 ±0.009</td></tr><tr><td>CPPO / Learn</td><td>3.180 ±0.154</td><td>0.220 ±0.040</td><td>0.028 ±0.042</td><td>3.085 ±0.134</td><td>0.164 ±0.024</td><td>-0.161 ±0.008</td></tr><tr><td>PPO / α ≈ 1, β ≈ 0</td><td>2.629 ±0.183</td><td>0.196 ±0.050</td><td>0.052 ±0.044</td><td>2.687 ±0.126</td><td>0.184 ±0.017</td><td>0.080 ±0.017</td></tr><tr><td>CPPO / α ≈ 1</td><td>2.837 ±0.124</td><td>0.196 ±0.029</td><td>0.047 ±0.041</td><td>2.745 ±0.121</td><td>0.169 ±0.020</td><td>-0.031 ±0.010</td></tr><tr><td>CPPO / β ≈ 1</td><td>2.476 ±0.117</td><td>0.185 ±0.021</td><td>0.063 ±0.025</td><td>2.520 ±0.119</td><td>0.186 ±0.017</td><td>0.051 ±0.009</td></tr><tr><td>CPPO / β ≈ 0</td><td>2.012 ±0.186</td><td>0.209 ±0.022</td><td>0.038 ±0.045</td><td>2.436 ±0.141</td><td>0.174 ±0.021</td><td>0.142 ±0.015</td></tr></table>
|
| 192 |
+
|
| 193 |
+

|
| 194 |
+
(a) reward
|
| 195 |
+
|
| 196 |
+

|
| 197 |
+
(b) approx_kl
|
| 198 |
+
Figure 3: The curves of different weights in task-1. The knowledge retention weights penalty can improve the training stability of the PPO algorithm. However, setting $\beta(x) \equiv 1$ slows down the increase of the reward compared with CPPO. On the other hand, the policy learning weights $\alpha(x)$ can boost the increase of the reward compared with $\alpha(x) \equiv 1$ .
|
| 199 |
+
|
| 200 |
+

|
| 201 |
+
(c) value errors
|
| 202 |
+
|
| 203 |
+
# 4.4 STABILITY ANALYSIS
|
| 204 |
+
|
| 205 |
+
In this section, we analyze the stability of the CPPO, PPO, and PPO with the knowledge retention penalty. Previous work (Bai et al., 2022a) argues that small models are more prone to be unstable in PPO training. However, we find that CPPO can learn stably without the need for invalid-action masking(Ramamurthy et al., 2022), even with small models. As shown in Figure 4, the vanilla PPO performers unstably on the new data distribution. PPO with a knowledge retention penalty is more stable than PPO, but policy learning is slow. CPPO gets fast convergence on reward score and shows stable performance on the KL divergence and value prediction. This is because the sample-wise learning strategy of CPPO restricts the learning of noisy samples.
|
| 206 |
+
|
| 207 |
+

|
| 208 |
+
(a) reward
|
| 209 |
+
Figure 4: Training process of Task-2. The PPO algorithm is unstable at 7k steps and is unable to continuously increase the reward score.
|
| 210 |
+
|
| 211 |
+

|
| 212 |
+
(b) approx_kl
|
| 213 |
+
|
| 214 |
+

|
| 215 |
+
(c) value errors
|
| 216 |
+
|
| 217 |
+
# 4.5 HUMAN EVALUATION ON REDDIT TL;DR
|
| 218 |
+
|
| 219 |
+
We train two gpt2-xl models using CPPO and PPO, respectively, and compare their summaries with those generated by humans and ChatGPT using a Likert scale(Likert, 1932). The results are shown in Table 8. During the human evaluation, we observe that ChatGPT tends to generate longer summaries than humans and our models, but its performance remains stable across the test samples.
|
| 220 |
+
|
| 221 |
+
Although humans provide the best summaries, they still made mistakes, such as obfuscating important details. Our model achieves comparable performance with ChatGPT but still makes mistakes that the
|
| 222 |
+
|
| 223 |
+
small model often makes, such as repeating words and sentences. Due to the training inefficiency and instability, the performance of gpt2-x1 trained by PPO is not satisfactory.
|
| 224 |
+
|
| 225 |
+
# 5 RELATED WORK
|
| 226 |
+
|
| 227 |
+
# 5.1 REINFORCEMENT LEARNING FROM HUMAN OR AI FEEDBACKS
|
| 228 |
+
|
| 229 |
+
Learning from human preferences has been studied in the game field (Bradley Knox & Stone, 2008) and has recently been introduced into the NLP domain, such as dialogue systems (Li et al., 2023; Zhao et al., 2023; 2024). Previous work (Stiennon et al., 2020) utilizes the PPO algorithm to fine-tune a language model (LM) for summarization and demonstrates that RLHF can improve the LM's generalization ability, which serves as the technology prototype for InstructGPT (Ouyang
|
| 230 |
+
|
| 231 |
+
Table 8: Human evaluation on 100 posts from the Reddit TL;DR.
|
| 232 |
+
|
| 233 |
+
<table><tr><td>Method</td><td>Likert score</td><td>Improve</td><td>p-value</td></tr><tr><td>PPO</td><td>4.370±1.180</td><td>-</td><td>-</td></tr><tr><td>CPPO</td><td>4.730±1.231</td><td>8.23%</td><td>0.037</td></tr><tr><td>ChatGPT</td><td>4.760±1.011</td><td>8.92%</td><td>0.013</td></tr><tr><td>Human</td><td>4.900±1.034</td><td>12.13%</td><td>0.001</td></tr></table>
|
| 234 |
+
|
| 235 |
+
et al., 2022) and ChatGPT. Learning LMs from feedback can be divided into two categories: human or AI feedback. Recent works such as HH-RLHF (Bai et al., 2022a) and InstructGPT (Ouyang et al., 2022) collect human preferences to train a reward model and learn a policy through it. ILF (Scheurer et al., 2023) proposes to learn from natural language feedback, which provides more information per human evaluation. Since human annotation can be expensive, learning from AI feedback (RLAIF) (Bai et al., 2022b; Perez et al., 2022; Ganguli et al., 2022) is proposed, but current methods are only effective for reducing harmless outputs, while helpful outputs still require human feedback.
|
| 236 |
+
|
| 237 |
+
# 5.2 CONTINUAL LEARNING
|
| 238 |
+
|
| 239 |
+
Within the realm of continual learning, several noteworthy methodologies emerge, encompassing the regularization-based approach, replay-based techniques, optimization-based strategies, representation-based methodologies, and architecture-based innovations (Wang et al., 2023).
|
| 240 |
+
|
| 241 |
+
The Regularization-Based Approach (Kirkpatrick et al., 2017; Aljundi et al., 2018; Chaudhry et al., 2018; Li & Hoiem, 2018; Castro et al., 2018) orchestrates the introduction of explicit regularization terms, thereby striving to strike a harmonious balance between the acquisition of new skills and the retention of past knowledge. The Replay-Based Approach aims to preserve and reuse past experiences to enhance model performance, which includes experience replay(Lin, 1992), generative replay or pseudo-rehearsal (Sun et al., 2020) and feature replay(Liu et al., 2020). The Optimization-Based Approach navigates the terrain of continual learning through explicit design and manipulation of optimization programs. This includes techniques such as gradient projection(Lopez-Paz & Ranzato, 2017), and meta-learning(Javed & White, 2019). The Representation-Based Approach leverages the strengths of self-supervised learning (SSL)(Gallardo et al., 2021) and large-scale pre-training(Mehta et al., 2022) to enhance the quality of representations at both the initialization and continual learning stages. The Architecture-Based Approach addresses inter-task interference by fashioning task-specific parameters. This approach can be dissected into three distinct paradigms: parameter allocation(Serra et al., 2018), model decomposition(Ebrahimi et al., 2020), and modular networks(Rusu et al., 2016).
|
| 242 |
+
|
| 243 |
+
# 6 CONCLUSION
|
| 244 |
+
|
| 245 |
+
In this work, we propose CPPO, which utilizes learning weights to balance policy learning and knowledge retention, with the aim of improving the PPO algorithm for continual learning from human preferences. CPPO is a task-agnostic and model-agnostic method that does not significantly increase the time and space complexity of PPO. We evaluate CPPO on both the DIL task and three non-continual tasks and show that it outperforms strong continual learning baselines when continually aligning with human preferences. Additionally, CPPO improves the learning efficiency and training stability of PPO. Our experiments demonstrate the potential of our approach for efficient and stable continual learning from human preferences, which can have applications in various domains and tasks.
|
| 246 |
+
|
| 247 |
+
# ACKNOWLEDGEMENTS
|
| 248 |
+
|
| 249 |
+
We thank the anonymous reviewers for their valuable suggestions to improve the quality of this work, and we express our sincere gratitude to Dr. Bin Liang for his invaluable guidance and constructive feedback throughout the preparation of this manuscript. This research was supported in part by the National Key Research and Development Program of China (2021ZD0112905), the Major Key Project of PCL (PCL2023A09-4), the National Natural Science Foundation of China (62176076), the Guangdong Provincial Key Laboratory of Novel Security Intelligence Technologies(2022B1212010005), Natural Science Foundation of Guangdong (2023A1515012922), Shenzhen Foundational Research Funding (JCYJ20220818102415032) and the UK Engineering and Physical Sciences Research Council (EP/X019063/1).
|
| 250 |
+
|
| 251 |
+
# REFERENCES
|
| 252 |
+
|
| 253 |
+
Wickliffe C. Abraham and Anthony Robins. Memory retention - the synaptic stability versus plasticity dilemma. Trends in Neurosciences, 28(2):73-78, 2005. ISSN 0166-2236. doi: https://doi.org/10.1016/j.tins.2004.12.003. URL https://www.sciencedirect.com/science/article/pii/S0166223604003704.
|
| 254 |
+
Rahaf Aljundi, Francesca Babiloni, Mohamed Elhoseiny, Marcus Rohrbach, and Tinne Tuytelaars. Memory aware synapses: Learning what (not) to forget. In Vittorio Ferrari, Martial Hebert, Cristian Sminchisescu, and Yair Weiss (eds.), Proceedings of the European Conference on Computer Vision (ECCV), pp. 144-161, Cham, 2018. Springer International Publishing. ISBN 978-3-030-01219-9.
|
| 255 |
+
Rahaf Aljundi, Klaas Kelchtermans, and Tinne Tuytelaars. Task-free continual learning. In The IEEE Conference on Computer Vision and Pattern Recognition (CVPR), June 2019.
|
| 256 |
+
Yuntao Bai, Andy Jones, Kamal Ndousse, Amanda Askell, Anna Chen, Nova DasSarma, Dawn Drain, Stanislav Fort, Deep Ganguli, Tom Henighan, Nicholas Joseph, Saurav Kadavath, Jackson Kernion, Tom Conerly, Sheer El-Showk, Nelson Elhage, Zac Hatfield-Dodds, Danny Hernandez, Tristan Hume, Scott Johnston, Shauna Kravec, Liane Lovitt, Neel Nanda, Catherine Olsson, Dario Amodei, Tom Brown, Jack Clark, Sam McCandlish, Chris Olah, Ben Mann, and Jared Kaplan. Training a helpful and harmless assistant with reinforcement learning from human feedback, 2022a.
|
| 257 |
+
Yuntao Bai, Saurav Kadavath, Sandipan Kundu, Amanda Askell, Jackson Kernion, Andy Jones, Anna Chen, Anna Goldie, Azalia Mirhoseini, Cameron McKinnon, Carol Chen, Catherine Olsson, Christopher Olah, Danny Hernandez, Dawn Drain, Deep Ganguli, Dustin Li, Eli Tran-Johnson, Ethan Perez, Jamie Kerr, Jared Mueller, Jeffrey Ladish, Joshua Landau, Kamal Ndousse, Kamile Lukosuite, Liane Lovitt, Michael Sellitto, Nelson Elhage, Nicholas Schiefer, Noemi Mercado, Nova DasSarma, Robert Lasenby, Robin Larson, Sam Ringer, Scott Johnston, Shauna Kravec, Sheer El Showk, Stanislav Fort, Tamera Lanham, Timothy Telleen-Lawton, Tom Conerly, Tom Henighan, Tristan Hume, Samuel R. Bowman, Zac Hatfield-Dodds, Ben Mann, Dario Amodei, Nicholas Joseph, Sam McCandlish, Tom Brown, and Jared Kaplan. Constitutional ai: Harmlessness from ai feedback, 2022b.
|
| 258 |
+
Satanjeev Banerjee and Alon Lavie. METEOR: An automatic metric for MT evaluation with improved correlation with human judgments. In Proceedings of the ACL Workshop on Intrinsic and Extrinsic Evaluation Measures for Machine Translation and/or Summarization, pp. 65-72, Ann Arbor, Michigan, June 2005. Association for Computational Linguistics. URL https://aclanthology.org/w05-0909.
|
| 259 |
+
Magdalena Biesialska, Katarzyna Biesialska, and Marta R. Costa-jussà. Continual lifelong learning in natural language processing: A survey. In Proceedings of the 28th International Conference on Computational Linguistics, pp. 6523-6541, Barcelona, Spain (Online), 2020. International Committee on Computational Linguistics. doi: 10.18653/v1/2020.coling-main.574. URL https://aclanthology.org/2020.coling-main.574.
|
| 260 |
+
W. Bradley Knox and Peter Stone. Tamer: Training an agent manually via evaluative reinforcement. In 2008 7th IEEE International Conference on Development and Learning, pp. 292-297, 2008. doi: 10.1109/DEVLRN.2008.4640845.
|
| 261 |
+
|
| 262 |
+
Francisco M Castro, Manuel J Marín-Jiménez, Nicolás Guil, Cordelia Schmid, and Karteek Alahari. End-to-end incremental learning. In Proceedings of the European conference on computer vision (ECCV), pp. 233-248, 2018.
|
| 263 |
+
Arslan Chaudhry, Puneet K. Dokania, Thalaiyasingam Ajanthan, and Philip H. S. Torr. Riemannian walk for incremental learning: Understanding forgetting and intransigence. In Proceedings of the European Conference on Computer Vision (ECCV), 2018.
|
| 264 |
+
Lili Chen, Kevin Lu, Aravind Rajeswaran, Kimin Lee, Aditya Grover, Michael Laskin, Pieter Abbeel, Aravind Srinivas, and Igor Mordatch. Decision transformer: Reinforcement learning via sequence modeling, 2021.
|
| 265 |
+
Wei-Lin Chiang, Zhuohan Li, Zi Lin, Ying Sheng, Zhanghao Wu, Hao Zhang, Lianmin Zheng, Siyuan Zhuang, Yonghao Zhuang, Joseph E. Gonzalez, Ion Stoica, and Eric P. Xing. Vicuna: An open-source chatbot impressing gpt-4 with 90URL https://vicuna.lmsys.org.
|
| 266 |
+
Arthur Douillard, Matthieu Cord, Charles Ollion, Thomas Robert, and Eduardo Valle. Podnet: Pooled outputs distillation for small-tasks incremental learning. In Computer Vision-ECCV 2020: 16th European Conference, Glasgow, UK, August 23-28, 2020, Proceedings, Part XX 16, pp. 86-102. Springer, 2020.
|
| 267 |
+
Sayna Ebrahimi, Franziska Meier, Roberto Calandra, Trevor Darrell, and Marcus Rohrbach. Adversarial continual learning. In Computer Vision-ECCV 2020: 16th European Conference, Glasgow, UK, August 23-28, 2020, Proceedings, Part XI 16, pp. 386-402. Springer, 2020.
|
| 268 |
+
Kawin Ethayarajh, Yejin Choi, and Swabha Swayamdipta. Understanding dataset difficulty with V-usable information. In Kamalika Chaudhuri, Stefanie Jegelka, Le Song, Csaba Szepesvari, Gang Niu, and Sivan Sabato (eds.), Proceedings of the 39th International Conference on Machine Learning, volume 162 of Proceedings of Machine Learning Research, pp. 5988-6008. PMLR, 17-23 Jul 2022.
|
| 269 |
+
Jhair Gallardo, Tyler L Hayes, and Christopher Kanan. Self-supervised training enhances online continual learning. arXiv preprint arXiv:2103.14010, 2021.
|
| 270 |
+
Deep Ganguli, Liane Lovitt, Jackson Kernion, Amanda Askell, Yuntao Bai, Saurav Kadavath, Ben Mann, Ethan Perez, Nicholas Schiefer, Kamal Ndousse, Andy Jones, Sam Bowman, Anna Chen, Tom Conerly, Nova DasSarma, Dawn Drain, Nelson Elhage, Sheer El-Showk, Stanislav Fort, Zac Hatfield-Dodds, Tom Henighan, Danny Hernandez, Tristan Hume, Josh Jacobson, Scott Johnston, Shauna Kravec, Catherine Olsson, Sam Ringer, Eli Tran-Johnson, Dario Amodei, Tom Brown, Nicholas Joseph, Sam McCandlish, Chris Olah, Jared Kaplan, and Jack Clark. Red teaming language models to reduce harms: Methods, scaling behaviors, and lessons learned, 2022.
|
| 271 |
+
Leo Gao, John Schulman, and Jacob Hilton. Scaling laws for reward model overoptimization, 2022.
|
| 272 |
+
Karl Moritz Hermann, Tomas Kocisky, Edward Grefenstette, Lasse Espeholt, Will Kay, Mustafa Suleyman, and Phil Blunsom. Teaching machines to read and comprehend. In C. Cortes, N. Lawrence, D. Lee, M. Sugiyama, and R. Garnett (eds.), Advances in Neural Information Processing Systems, volume 28. Curran Associates, Inc., 2015. URL https://proceedings.neurips.cc/paper_files/paper/2015/file/afdec7005cc9f14302cd0474fd0f3c96-Paper.pdf.
|
| 273 |
+
Ari Holtzman, Jan Buys, Maxwell Forbes, Antoine Bosselut, David Golub, and Yejin Choi. Learning to write with cooperative discriminators. In Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pp. 1638-1649, Melbourne, Australia, July 2018. Association for Computational Linguistics. doi: 10.18653/v1/P18-1152. URL https://aclanthology.org/P18-1152.
|
| 274 |
+
Saihui Hou, Xinyu Pan, Chen Change Loy, Zilei Wang, and Dahua Lin. Learning a unified classifier incrementally via rebalancing. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pp. 831-839, 2019.
|
| 275 |
+
|
| 276 |
+
Yufan Huang, Yanzhe Zhang, Jiao Chen, Xuezhi Wang, and Diyi Yang. Continual learning for text classification with information disentanglement based regularization. In Proceedings of the 2021 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pp. 2736-2746, Online, 2021. Association for Computational Linguistics. doi: 10.18653/v1/2021.naacl-main.218. URL https://aclanthology.org/2021.naacl-main.218.
|
| 277 |
+
Natasha Jaques, Judy Hanwen Shen, Asma Ghandeharioun, Craig Ferguson, Agata Lapedriza, Noah Jones, Shixiang Gu, and Rosalind Picard. Human-centric dialog training via offline reinforcement learning. In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP), pp. 3985-4003, Online, November 2020. Association for Computational Linguistics. doi: 10.18653/v1/2020.emnlp-main.327. URL https://aclanthology.org/2020.emnlp-main.327.
|
| 278 |
+
Khurram Javed and Martha White. Meta-learning representations for continual learning. In H. Wallach, H. Larochelle, A. Beygelzimer, F. d'Alché-Buc, E. Fox, and R. Garnett (eds.), Advances in Neural Information Processing Systems, volume 32. Curran Associates, Inc., 2019. URL https://proceedings.neurips.cc/paper_files/paper/2019/file/f4dd765c12f2ef67f98f3558c282a9cd-Paper.pdf.
|
| 279 |
+
Christos Kaplanis, Murray Shanahan, and Claudia Clopath. Policy consolidation for continual reinforcement learning. In Kamalika Chaudhuri and Ruslan Salakhutdinov (eds.), Proceedings of the 36th International Conference on Machine Learning, volume 97 of Proceedings of Machine Learning Research, pp. 3242-3251. PMLR, 09-15 Jun 2019. URL https://proceedings.mlr.press/v97/kaplanis19a.html.
|
| 280 |
+
James Kirkpatrick, Razvan Pascanu, Neil Rabinowitz, Joel Veness, Guillaume Desjardins, Andrei A. Rusu, Kieran Milan, John Quan, Tiago Ramalho, Agnieszka Grabska-Barwinska, Demis Hassabis, Claudia Clopath, Dharshan Kumaran, and Raia Hadsell. Overcoming catastrophic forgetting in neural networks. Proceedings of the National Academy of Sciences, 114(13):3521-3526, 2017. doi: 10.1073/pnas.1611835114. URL https://www.pnas.org/doi/abs/10.1073/pnas. 1611835114.
|
| 281 |
+
Julia Kreutzer, Shahram Khadivi, Evgeny Matusov, and Stefan Riezler. Can neural machine translation be improved with user feedback? In Proceedings of the 2018 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 3 (Industry Papers), pp. 92-105, New Orleans - Louisiana, June 2018. Association for Computational Linguistics. doi: 10.18653/v1/N18-3012. URL https://aclanthology.org/N18-3012.
|
| 282 |
+
Jiazheng Li, Runcong Zhao, Yongxin Yang, Yulan He, and Lin Gui. Overprompt: Enhancing chatgpt through efficient in-context learning. Advances in Neural Information Processing Systems R0-FoMo workshop, 2023.
|
| 283 |
+
Zhizhong Li and Derek Hoiem. Learning without forgetting. IEEE Trans. Pattern Anal. Mach. Intell., 40(12):2935-2947, dec 2018. ISSN 0162-8828. doi: 10.1109/TPAMI.2017.2773081. URL https://doi.org/10.1109/TPAMI.2017.2773081.
|
| 284 |
+
Rensis Likert. A technique for the measurement of attitudes. Archives of Psychology, 140:1-55, 1932.
|
| 285 |
+
Chin-Yew Lin. ROUGE: A package for automatic evaluation of summaries. In Text Summarization Branches Out, pp. 74-81, Barcelona, Spain, July 2004. Association for Computational Linguistics. URL https://aclanthology.org/w04-1013.
|
| 286 |
+
Long-Ji Lin. Self-improving reactive agents based on reinforcement learning, planning and teaching. Mach. Learn., 8(3-4):293-321, May 1992. ISSN 0885-6125. doi: 10.1007/BF00992699.
|
| 287 |
+
Xialei Liu, Chenshen Wu, Mikel Menta, Luis Herranz, Bogdan Raducanu, Andrew D Bagdanov, Shangling Jui, and Joost van de Weijer. Generative feature replay for class-incremental learning. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops, pp. 226-227, 2020.
|
| 288 |
+
|
| 289 |
+
David Lopez-Paz and Marc'Aurelio Ranzato. Gradient episodic memory for continual learning. In Isabelle Guyon, Ulrike von Luxburg, Samy Bengio, Hanna M. Wallach, Rob Fergus, S. V. N. Vishwanathan, and Roman Garnett (eds.), Advances in Neural Information Processing Systems 30: Annual Conference on Neural Information Processing Systems 2017, December 4-9, 2017, Long Beach, CA, USA, pp. 6467-6476, 2017. URL https://proceedings.neurips.cc/paper/2017混沌/f87522788a2be2d171666752f97ddebb-Abstract.html.
|
| 290 |
+
Andrew L. Maas, Raymond E. Daly, Peter T. Pham, Dan Huang, Andrew Y. Ng, and Christopher Potts. Learning word vectors for sentiment analysis. In Proceedings of the 49th Annual Meeting of the Association for Computational Linguistics: Human Language Technologies, pp. 142-150, Portland, Oregon, USA, June 2011. Association for Computational Linguistics. URL https://aclanthology.org/P11-1015.
|
| 291 |
+
Sanket Vaibhav Mehta, Darshan Patil, Sarath Chandar, and Emma Strubell. An empirical investigation of the role of pre-training in lifelong learning, 2022. URL https://openreview.net/forum?id=D9E8MKsfhw.
|
| 292 |
+
Volodymyr Mniih, Adria Puigdomenech Badia, Mehdi Mirza, Alex Graves, Timothy Lillicrap, Tim Harley, David Silver, and Koray Kavukcuoglu. Asynchronous methods for deep reinforcement learning. In Maria Florina Balcan and Kilian Q. Weinberger (eds.), Proceedings of The 33rd International Conference on Machine Learning, volume 48 of Proceedings of Machine Learning Research, pp. 1928-1937, New York, New York, USA, 20-22 Jun 2016. PMLR. URL https://proceedings.mlr.press/v48/mniha16.html.
|
| 293 |
+
Long Ouyang, Jeff Wu, Xu Jiang, Diogo Almeida, Carroll L. Wainwright, Pamela Mishkin, Chong Zhang, Sandhini Agarwal, Katarina Slama, Alex Ray, John Schulman, Jacob Hilton, Fraser Kelton, Luke Miller, Maddie Simens, Amanda Askell, Peter Welinder, Paul Christiano, Jan Leike, and Ryan Lowe. Training language models to follow instructions with human feedback, 2022. URL https://arxiv.org/abs/2203.02155.
|
| 294 |
+
Kishore Papineni, Salim Roukos, Todd Ward, and Wei-Jing Zhu. Bleu: a method for automatic evaluation of machine translation. In Proceedings of the 40th Annual Meeting of the Association for Computational Linguistics, pp. 311-318, Philadelphia, Pennsylvania, USA, July 2002. Association for Computational Linguistics. doi: 10.3115/1073083.1073135. URL https://aclanthology.org/P02-1040.
|
| 295 |
+
Ethan Perez, Saffron Huang, Francis Song, Trevor Cai, Roman Ring, John Aslanides, Amelia Glaese, Nat McAleese, and Geoffrey Irving. Red teaming language models with language models. In Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing, pp. 3419-3448, Abu Dhabi, United Arab Emirates, December 2022. Association for Computational Linguistics. URL https://aclanthology.org/2022.emnlp-main.225.
|
| 296 |
+
Alec Radford, Jeffrey Wu, Rewon Child, David Luan, Dario Amodei, Ilya Sutskever, et al. Language models are unsupervised multitask learners. OpenAI blog, 1(8):9, 2019.
|
| 297 |
+
Rajkumar Ramamurthy, Prithviraj Ammanabrolu, Kianté Brantley, Jack Hessel, Rafet Sifa, Christian Bauckhage, Hannaneh Hajishirzi, and Yejin Choi. Is reinforcement learning (not) for natural language processing?: Benchmarks, baselines, and building blocks for natural language policy optimization. 2022. URL https://arxiv.org/abs/2210.01241.
|
| 298 |
+
David Rolnick, Arun Ahuja, Jonathan Schwarz, Timothy Lillicrap, and Gregory Wayne. Experience replay for continual learning. In H. Wallach, H. Larochelle, A. Beygelzimer, F. d'Alché-Buc, E. Fox, and R. Garnett (eds.), Advances in Neural Information Processing Systems, volume 32. Curran Associates, Inc., 2019. URL https://proceedings.neurips.cc/paper_files/paper/2019/file/fa7cdfad1a5AAF8370ebeda47a1ff1c3-Paper.pdf.
|
| 299 |
+
Andrei A Rusu, Neil C Rabinowitz, Guillaume Desjardins, Hubert Soyer, James Kirkpatrick, Koray Kavukcuoglu, Razvan Pascanu, and Raia Hadsell. Progressive neural networks. arXiv preprint arXiv:1606.04671, 2016.
|
| 300 |
+
Victor Sanh, Lysandre Debut, Julien Chaumont, and Thomas Wolf. Distilbert, a distilled version of BERT: smaller, faster, cheaper and lighter. CoRR, abs/1910.01108, 2019. URL http://arxiv.org/abs/1910.01108.
|
| 301 |
+
|
| 302 |
+
Jérémy Scheurer, Jon Ander Campos, Tomasz Korbak, Jun Shern Chan, Angelica Chen, Kyunghyun Cho, and Ethan Perez. Training language models with language feedback at scale, 2023.
|
| 303 |
+
Philemon Schöpf, Sayantan Auddy, Jakob Hollenstein, and Antonio Rodriguez-sanchez. Hypernetwork-PPO for continual reinforcement learning. In Deep Reinforcement Learning Workshop NeurIPS 2022, 2022. URL https://openreview.net/forum?id=s9wY71poI25.
|
| 304 |
+
John Schulman, Filip Wolski, Prafulla Dhariwal, Alec Radford, and Oleg Klimov. Proximal policy optimization algorithms. CoRR, abs/1707.06347, 2017. URL http://arxiv.org/abs/1707.06347.
|
| 305 |
+
Joan Serra, Didac Suris, Marius Miron, and Alexandros Karatzoglou. Overcoming catastrophic forgetting with hard attention to the task. In International conference on machine learning, pp. 4548-4557. PMLR, 2018.
|
| 306 |
+
Zheyan Shen, Jiashuo Liu, Yue He, Xingxuan Zhang, Renzhe Xu, Han Yu, and Peng Cui. Towards out-of-distribution generalization: A survey. CoRR, abs/2108.13624, 2021. URL https:// arxiv.org/abs/2108.13624.
|
| 307 |
+
Nisan Stiannon, Long Ouyang, Jeff Wu, Daniel M. Ziegler, Ryan Lowe, Chelsea Voss, Alec Radford, Dario Amodei, and Paul F. Christiano. Learning to summarize from human feedback. CoRR, abs/2009.01325, 2020. URL https://arxiv.org/abs/2009.01325.
|
| 308 |
+
Fan-Keng Sun, Cheng-Hao Ho, and Hung-Yi Lee. LAMOL: language modeling for lifelong language learning. In 8th International Conference on Learning Representations, ICLR 2020, Addis Ababa, Ethiopia, April 26-30, 2020. OpenReview.net, 2020. URL https://openreview.net/forum?id=Skgxcn4YDS.
|
| 309 |
+
Michael Volske, Martin Potthast, Shahbaz Syed, and Benno Stein. TL;DR: Mining Reddit to learn automatic summarization. In Proceedings of the Workshop on New Frontiers in Summarization, pp. 59-63, Copenhagen, Denmark, September 2017. Association for Computational Linguistics. doi: 10.18653/v1/W17-4508. URL https://aclanthology.org/W17-4508.
|
| 310 |
+
Ben Wang and Aran Komatsuzaki. GPT-J-6B: A 6 Billion Parameter Autoregressive Language Model. https://github.com/kingoflolz/mesh-transformer-jax, May 2021.
|
| 311 |
+
Liyuan Wang, Xingxing Zhang, Hang Su, and Jun Zhu. A comprehensive survey of continual learning: Theory, method and application, 2023.
|
| 312 |
+
Zheng Yuan, Hongyi Yuan, Chuanqi Tan, Wei Wang, Songfang Huang, and Fei Huang. Rrrh: Rank responses to align language models with human feedback without tears, 2023.
|
| 313 |
+
Runcong Zhao, Wenjia Zhang, Jiazheng Li, Lixing Zhu, Yanran Li, Lin Gui, and Yulan He. Narrative-play: Interactive narrative understanding. In Proceedings of the 18th Conference of the European Chapter of the Association for Computational Linguistics, Demonstration Track. Association for Computational Linguistics, 2023.
|
| 314 |
+
Runcong Zhao, Wenjia Zhang, Jiazheng Li, Lixing Zhu, Yanran Li, Yulan He, and Lin Gui. Narrativeplay: An automated system for crafting visual worlds in novels for role-playing. In AAAI Conference on Artificial Intelligence, 2024.
|
| 315 |
+
|
| 316 |
+
# A NOTATIONS
|
| 317 |
+
|
| 318 |
+
All of the notations used in this paper and their corresponding meanings are listed in Table 9.
|
| 319 |
+
|
| 320 |
+
Table 9: Notations used in this paper, italic font denotes the CPPO-specific symbols
|
| 321 |
+
|
| 322 |
+
<table><tr><td>Notations</td><td>Corresponding Meanings</td></tr><tr><td>i(1,...,I)</td><td>generation of the i-th token</td></tr><tr><td>t(1,...,T)</td><td>t-th task of CL</td></tr><tr><td>x</td><td>a rollout sample</td></tr><tr><td>xi</td><td>i-th token of sample x</td></tr><tr><td>si</td><td>state-i: prompt + x1:i-1</td></tr><tr><td>θ</td><td>parameters of policy learned in task-t</td></tr><tr><td>πt</td><td>policy learned in task-t</td></tr><tr><td>Pπt(x)</td><td>generation probability of x under πt</td></tr><tr><td>J(θ)</td><td>total objective of PPO or CPPO</td></tr><tr><td>LCLIP</td><td>clipped policy learning objective</td></tr><tr><td>LVF</td><td>squared-error value loss</td></tr><tr><td>V(si)</td><td>value estimation by critic</td></tr><tr><td>λ/γ</td><td>reward / value discount coefficients</td></tr><tr><td>Ai</td><td>advantage score of token xi</td></tr><tr><td>R(x)</td><td>reward model score of x</td></tr><tr><td>ri(θ)</td><td>the probability ratio</td></tr><tr><td>ε</td><td>clip hyperparameter</td></tr><tr><td>clip(.,1±ε)</td><td>clip by 1±ε</td></tr><tr><td>c</td><td>coefficient of LVF</td></tr><tr><td>N</td><td>samples number per rollout batch</td></tr><tr><td>k</td><td>the threshold of times of standard variance</td></tr><tr><td>LKR</td><td>knowledge retention penalty</td></tr><tr><td>α(x)</td><td>weight of policy learning</td></tr><tr><td>β(x)</td><td>weight of knowledge retention</td></tr><tr><td>ub,lb</td><td>the upper bound and lower bound of weights</td></tr><tr><td>μ[Pπθ]</td><td>expectation of Pπθ(x)</td></tr><tr><td>μ[R]</td><td>expectation of R(x)</td></tr><tr><td>σ[Pπθ]</td><td>standard variance of Pπθ(x)</td></tr><tr><td>σ[R]</td><td>standard variance of R(x)</td></tr><tr><td>φ(|φ|=2N)</td><td>parameters for weight learning</td></tr><tr><td>Lcoef(φ)</td><td>objective of weight learning</td></tr></table>
|
| 323 |
+
|
| 324 |
+
# B THE THEORETICAL ANALYSIS OF CPPO
|
| 325 |
+
|
| 326 |
+
The theoretical objective in Eq. 4 is an intuitive implementation of our basic idea. Based on it, we derive a more practical objective in Eq. 6. Next, we will elaborate the relationship between the two and explain how we were inspired by Eq. 4 and designed Eq. 6.
|
| 327 |
+
|
| 328 |
+
# Eq. 6 is a generalized version of Eq. 4.
|
| 329 |
+
|
| 330 |
+
Let $I_{D_1}(x)$ and $I_{D_2}(x)$ denote the indicator functions of the sets of $D_1$ and $D_2$ , respectively. In Eq. 6, $\alpha(x)$ and $\beta(x)$ can be any non-negative real-valued functions defined on the rollout set. We claim that in Eq. 4, $\alpha(x)$ and $\beta(x)$ are specialized as $\alpha(x) = I_{D_1}(x)$ , $\beta(x) = I_{D_2}(x)$ . Next, we provide the derivation step by step.
|
| 331 |
+
|
| 332 |
+
By introducing the actor-critic version, the clipped ratio, the objective Eq. 4. can be written as the objective Eq. 5.
|
| 333 |
+
|
| 334 |
+
1. We utilize notations $I_{D_1}(x)$ and $I_{D_2}(x)$ to rewrite the Eq.4 as $\max_{\theta} \mathbb{E}_{x \sim \pi_\theta} I_{D_1}(x) \cdot \mathbf{R}(x) - \mathbb{E}_{x \sim \pi_{t-1}} I_{D_2}(x) \cdot D_{KL}(\mathbf{P}_{\pi_\theta}(x) \| \mathbf{P}_{\pi_{t-1}}(x))$ .
|
| 335 |
+
2. Then we introduce the importance sampling like PPO, the above objective can be written as $\max_{\theta}\mathbb{E}_{x\sim \pi_{t - 1}}I_{D_1}(x)\cdot \frac{\mathbf{P}_{\pi_\theta}(x)}{\mathbf{P}_{\pi_{\mathbf{t} - 1}}(x)}\mathbf{R}(x) - \mathbb{E}_{x\sim \pi_{t - 1}}I_{D_2}(x)\cdot D_{KL}(\mathbf{P}_{\pi_\theta}(x)\parallel \mathbf{P}_{\pi_{\mathbf{t} - 1}}(x)).$
|
| 336 |
+
3. In the PPO method, the objective is to maximize the expectation of the advantage function instead of the reward value. By introducing the advantage function instead of the reward, the above objective can be written as $\max_{\theta} \mathbb{E}_{x \sim \pi_{t-1}} I_{D_1}(x) \cdot \frac{\mathbf{P}_{\pi_\theta}(x)}{\mathbf{P}_{\pi_{t-1}}(x)} \mathbf{A}(x) - \mathbb{E}_{x \sim \pi_{t-1}} I_{D_2}(x) \cdot D_{KL}(\mathbf{P}_{\pi_\theta}(x) \| \mathbf{P}_{\pi_{t-1}}(x))$ .
|
| 337 |
+
|
| 338 |
+
4. By introducing the knowledge retention penalty, the above objective is written as: $\max_{\theta}\mathbb{E}_{x\sim \pi_{t - 1}}I_{D_1}(x)\cdot \frac{\mathbf{P}_{\pi_\theta}(x)}{\mathbf{P}_{\pi_{\mathbf{t} - 1}}(x)}\mathbf{A}(x) - \mathbb{E}_{x\sim \pi_{t - 1}}I_{D_2}(x)\cdot L^{KR}(x).$
|
| 339 |
+
5. In the CL task, the new policy $\pi_t$ is generally initialized by the old policy $\pi_{t-1}$ . In CPPO, we treat the $\pi_{t-1}$ and $\pi_t$ as the reference model and policy model respectively. Then, we consider the actor-critic version, the clipped ratio, and the entropy bonus used in PPO[32], the above objective can be written as $\mathbf{J}(\theta)' = L^{I_{D_1} \cdot CLIP + I_{D_2} \cdot KR + VF}(\theta)$ .
|
| 340 |
+
|
| 341 |
+
# From the objective Eq. 5 to the objective Eq. 6.
|
| 342 |
+
|
| 343 |
+
Comparing $\mathbf{J}(\theta)^{\prime}$ with $\mathbf{J}(\theta) = L^{\alpha \cdot CLIP + \beta \cdot KR + VF}(\theta)$ in Eq. 6, $\alpha (x)$ and $\beta (x)$ are specialized as $I_{D_1}(x)$ and $I_{D_2}(x)$ . Hence, the objective Eq. 5 can be treated as a special case of Eq. 6.
|
| 344 |
+
|
| 345 |
+
# C CASE STUDY OF SUMMARY TASK
|
| 346 |
+
|
| 347 |
+
Table 10 presents a case where CPPO improves the performance on task-1 (r/relationships) after learning task-2 (r/others).
|
| 348 |
+
|
| 349 |
+
Table 10: Example responses of Reddit TL;DR.
|
| 350 |
+
|
| 351 |
+
<table><tr><td>The original POST (the domain is r/relationships):
|
| 352 |
+
TITLE: [20F] My [22M] SO never wants to spend time with me.
|
| 353 |
+
POST: My boyfriend and I have been together off & on for three years. We’ve had our fair share of issues, but I love him and I think he loves me.
|
| 354 |
+
We work opposite shifts, and it really cuts into our time together. Majorly. On the few days we both have off, every other weekend, he chooses to hang out with his friends. He works with his friends on the same schedule, and they are over every single day.
|
| 355 |
+
I always feel like I have to force him to do anything with me and I’m getting tired of it. I always complain to him that it would be nice if we could spend time together. But, he just says in over reacting. And that I can hang out with him and his friends. The thing is, we haven’t spent a day together just him and I in over a year. I like his friends but I just want a day where we can be together just us. I’m sick of being ignored for his friends, or video games and I don’t know what to do.
|
| 356 |
+
TL;DR:</td></tr><tr><td>The summary after learning task-1 (r/relationships):
|
| 357 |
+
CPPO (rPMS: 1.75): My SO never wants to spend time with me. He works with his friends on the same schedule, and they are over every single day. I always feel like I have to force him to do anything with me and I’m getting tired of it.</td></tr><tr><td>The summary after learning task-2 (r/others):
|
| 358 |
+
CPPO (rPMS: 1.82): My boyfriend prioritizes friends over time with me. Opposite work schedules strain time together. I’m tired of urging for attention. Seeking advice for reconnection.
|
| 359 |
+
PPO(In order) (rPMS: 1.44): The boyfriend has been with his boyfriend for three years and doesn’t want to spend time with his boyfriend anymore. The boyfriend’s boyfriend has been with him for three years and doesn’t want to spend time with him anymore.
|
| 360 |
+
PPO (rPMS:1.65): The boyfriend and I have been dating for three years and I love him but he is not interested in going out with his girlfriend.</td></tr></table>
|
| 361 |
+
|
| 362 |
+
After learning the task-2, the model generates an accurate and concise summary. It more clearly conveys the main issue and emotions in the post, along with the desire for advice. And it also gets a higher rPMS (1.82 v.s. 1.75).
|
| 363 |
+
|
| 364 |
+
From the three summaries after learning task-2, it can be observed that PPO(In order) seems to exhibit a more noticeable knowledge forgetting, with a seeming lack of understanding of the concept "boyfriend." This is due to the frequent occurrence of "boyfriend" in task-1 (r/relationships) and its almost absence in task-2 (r/others), resulting in a case of catastrophic forgetting. The PPO model still manages to convey the main essence of the text, but it overlooks some crucial details, such as "opposite work schedule" and "prioritizes friends over time with me", hence PPO lags behind CPPO in terms of rPMS value.
|
| 365 |
+
|
| 366 |
+
# D BASELINES
|
| 367 |
+
|
| 368 |
+
Supervise fine-tuning (SFT) directly learns the human-labeled summary through the cross-entropy loss.
|
| 369 |
+
|
| 370 |
+
Online L2Reg penalizes the updating of model parameters through a L2 loss $L_2^t (\theta) = \sum_i(\theta_t^i -\theta_{t - 1}^i)^2$ This regularization term mitigates the forgetting issue by applying a penalty for every parameter change.
|
| 371 |
+
|
| 372 |
+
EWC (Kirkpatrick et al., 2017) uses fisher information to measure the parameter importance to old tasks, then slows down the update of the important parameters by L2 regularization.
|
| 373 |
+
|
| 374 |
+
MAS (Aljundi et al., 2018) computes the importance of the parameters of a neural network in an unsupervised and online manner to restrict the updating of parameters in the next task.
|
| 375 |
+
|
| 376 |
+
LwF (Li & Hoiem, 2018) is a knowledge-distillation-based method, which computes a smoothed version of the current responses for the new examples at the beginning of each task, minimizing their drift during training.
|
| 377 |
+
|
| 378 |
+
TFCL (Aljundi et al., 2019) proposes to timely update the importance weights of the parameter regularization by detecting plateaus in the loss surface.
|
| 379 |
+
|
| 380 |
+
PC (Kaplanis et al., 2019) is inspired by the biologically plausible synaptic model and proposes to consolidate memory directly at the behavioral level by knowledge distillation, aiming to mitigate catastrophic forgetting in the reinforcement learning context.
|
| 381 |
+
|
| 382 |
+
HN-PPO (Schöpf et al., 2022) Hypernetwork-PPO is a continual model-free RL method employing a hyper network to learn multiple policies in a continual manner by using PPO.
|
| 383 |
+
|
| 384 |
+
NLPO (Ramamurthy et al., 2022) NLPO learns to mask out less relevant tokens in-context as it trains via top-p sampling, which restricts tokens to the smallest possible set whose cumulative probability is greater than the probability parameter $p$ (Holtzman et al., 2018).
|
| 385 |
+
|
| 386 |
+
# E DISCUSSION
|
| 387 |
+
|
| 388 |
+
# E.1 HYPERPARAMETER SENSITIVE ANALYSIS
|
| 389 |
+
|
| 390 |
+
Due to the introduction of additional hyperparameters by CPPO, we conducted a sensitivity analysis of CPPO's hyperparameters. We conduct sensitivity analysis on five hyperparameters, including the threshold of times of standard variance $k$ , the upper bound $ub$ and lower bound $lb$ of weights, the learning rate weights-lr of CPPO Heuristic, and the multiplier $\tau$ . As shown in Table 11, the analysis of experimental results shows that our method is insensitive to the introduction of extra hyperparameters.
|
| 391 |
+
|
| 392 |
+
Table 11: Hyperparameter sensitivity analysis of CPPO Heuristic and CPPO Learn.
|
| 393 |
+
|
| 394 |
+
<table><tr><td>Hyper-Parameters k / ub / lb</td><td>Method</td><td>Task-1 rPMS1(↑)</td><td>rouge (↑)</td><td>AT (↓)</td><td>Task-2 rPMS2(↑)</td><td>rouge (↑)</td><td>SFR (↓)</td></tr><tr><td>0.85 / 2.5 / 0.5</td><td>Heuristic</td><td>3.020 ±0.137</td><td>0.213 ±0.024</td><td>0.035 ±0.023</td><td>2.978 ±0.113</td><td>0.174 ±0.019</td><td>-0.164 ±0.009</td></tr><tr><td>k: 0.85 -> 0.5</td><td>Heuristic</td><td>3.011 ±0.141</td><td>0.209 ±0.026</td><td>0.036 ±0.025</td><td>2.97 ±0.121</td><td>0.171 ±0.018</td><td>-0.162 ±0.011</td></tr><tr><td>k: 0.85 -> 1.0</td><td>Heuristic</td><td>3.017 ±0.132</td><td>0.214 ±0.025</td><td>0.031 ±0.031</td><td>2.891 ±0.117</td><td>0.170 ±0.021</td><td>-0.151 ±0.010</td></tr><tr><td>ub: 2.5 -> 1.5</td><td>Heuristic</td><td>2.982 ±0.124</td><td>0.205 ±0.031</td><td>0.040 ±0.042</td><td>2.809 ±0.124</td><td>0.173 ±0.023</td><td>-0.165 ±0.008</td></tr><tr><td>ub: 2.5 -> 3.0</td><td>Heuristic</td><td>3.012 ±0.123</td><td>0.205 ±0.042</td><td>0.040 ±0.051</td><td>2.941 ±0.115</td><td>0.171 ±0.029</td><td>-0.166 ±0.013</td></tr><tr><td>lb: 0.5 -> 0.1</td><td>Heuristic</td><td>3.011 ±0.162</td><td>0.221 ±0.051</td><td>0.024 ±0.041</td><td>2.809 ±0.115</td><td>0.167 ±0.019</td><td>-0.162 ±0.011</td></tr><tr><td>lb: 0.5 -> 0.0</td><td>Heuristic</td><td>2.997 ±0.152</td><td>0.219 ±0.031</td><td>0.026 ±0.040</td><td>2.941 ±0.141</td><td>0.179 ±0.016</td><td>-0.161 ±0.010</td></tr><tr><td>weights-lr / τ</td><td>Method</td><td>rPMS1(↑)</td><td>rouge (↑)</td><td>AT (↓)</td><td>rPMS2(↑)</td><td>rouge (↑)</td><td>SFR (↓)</td></tr><tr><td>0.01 / 0.1</td><td>Learn</td><td>3.180 ±0.154</td><td>0.220 ±0.040</td><td>0.028 ±0.042</td><td>3.085 ±0.134</td><td>0.164 ±0.024</td><td>-0.161 ±0.008</td></tr><tr><td>weights-lr: 0.01 -> 0.1</td><td>Learn</td><td>3.122 ±0.162</td><td>0.201 ±0.041</td><td>0.044 ±0.041</td><td>2.824 ±0.141</td><td>0.171 ±0.024</td><td>-0.155 ±0.012</td></tr><tr><td>weights-lr: 0.01 -> 0.5</td><td>Learn</td><td>3.141 ±0.131</td><td>0.209 ±0.053</td><td>0.036 ±0.052</td><td>2.934 ±0.125</td><td>0.170 ±0.022</td><td>-0.162 ±0.016</td></tr><tr><td>τ: 0.1 -> 0.01</td><td>Learn</td><td>3.042 ±0.137</td><td>0.211 ±0.046</td><td>0.034 ±0.054</td><td>2.89 ±0.151</td><td>0.168 ±0.026</td><td>-0.161 ±0.020</td></tr><tr><td>τ: 0.1 -> 0.5</td><td>Learn</td><td>3.087 ±0.151</td><td>0.212 ±0.040</td><td>0.033 ±0.062</td><td>2.892 ±0.118</td><td>0.174 ±0.032</td><td>-0.161 ±0.014</td></tr><tr><td>τ: 0.1 -> 1.0</td><td>Learn</td><td>3.072 ±0.148</td><td>0.209 ±0.039</td><td>0.036 ±0.051</td><td>2.967 ±0.129</td><td>0.172 ±0.021</td><td>-0.169 ±0.008</td></tr></table>
|
| 395 |
+
|
| 396 |
+
# E.2 COMPLEXITY ANALYSIS
|
| 397 |
+
|
| 398 |
+
In this section, we compare CPPO (learnable weights) with PPO in terms of time and memory occupation. The steps of CPPO are similar to PPO, except for the step of learning balance weights. By considering the time of the rollout step as our reference, we demonstrate that the time required to learn the weights is negligible compared to the overall training process of CPPO and PPO. Figure 5 illustrates the time required for learning balance weights and the time for making rollouts during the training of gpt2-s and gpt2-x1. For gpt2-s training, the ratio between the time spent on learning balance weights (approximately 8s) and the time taken for rollout steps (around 400s) is 1/50. This ratio decreases to 1/200 when training gpt2-x1, due to the fact that the time for learning balance weights remains the same, while the time for making rollouts increases to 1600s. Hence, our method does not significantly increase the time complexity of PPO, especially for training large language models.
|
| 399 |
+
|
| 400 |
+

|
| 401 |
+
(a) Time of learning weights
|
| 402 |
+
|
| 403 |
+

|
| 404 |
+
(b) Time of rollout
|
| 405 |
+
Figure 5: Time of learning weights and time of making rollout.
|
| 406 |
+
|
| 407 |
+
For memory occupation, we record the GPU memory allocation, GPU utilization, and the process memory in the training process of PPO and CPPO. Figure 6 illustrates the comparison of the above metrics between PPO and CPPO. CPPO, which learns the balance weights and calculates the knowledge retention loss, leads to higher allocation of GPU memory and process memory compared to PPO. Nevertheless, the improvements in GPU memory and process memory are not particularly substantial.
|
| 408 |
+
|
| 409 |
+

|
| 410 |
+
(a) GPU Memory
|
| 411 |
+
Figure 6: GPU utilization and memory allocation when the algorithm runs for $15+$ hours. Compared to the PPO method, our CPPO does not significantly utilize extra memory.
|
| 412 |
+
|
| 413 |
+

|
| 414 |
+
(b) GPU Utilization
|
| 415 |
+
|
| 416 |
+

|
| 417 |
+
(c) Process Memory
|
| 418 |
+
|
| 419 |
+
# F TASKS FOR STATIC LEARNING
|
| 420 |
+
|
| 421 |
+
We compare PPO and CPPO on 3 static learning tasks, including random walks, sentiment text generation, and summary on CNN Daily Mail.
|
| 422 |
+
|
| 423 |
+
# F.1 RANDOM WALKS
|
| 424 |
+
|
| 425 |
+
The task(Chen et al., 2021) involves finding the shortest path on a directed graph. The reward is based on how optimal the path is compared to the shortest possible (bounded in [0, 1]). Paths are represented as strings of letters, with each letter corresponding to a node in the graph. For CPPO or
|
| 426 |
+
|
| 427 |
+
PPO, a language model was fine-tuned to predict the next token in a sequence of returns-to-go (sum of future rewards), states, and actions.
|
| 428 |
+
|
| 429 |
+
# F.2 SENTIMENT TEXT GENERATION
|
| 430 |
+
|
| 431 |
+
This task focuses on generating positive movie reviews by fine-tuning a pre-trained model on the IMDB dataset using a sentiment reward function. We consider the IMDB(Maas et al., 2011) dataset for the task of generating text with positive sentiment. The dataset consists of $25\mathrm{k}$ training, $5\mathrm{k}$ validation and $5\mathrm{k}$ test examples of movie review text with sentiment labels of positive and negative. We utilize a sentiment classifier (Sanh et al., 2019) trained on pairs of text and labels as a reward model, which provides sentiment scores indicating how positive a given piece of text is.
|
| 432 |
+
|
| 433 |
+
# F.3 SUMMARY ON CNN DAILY MAIL
|
| 434 |
+
|
| 435 |
+
The dataset for this task comprises 287k training examples, 13k validation examples, and 11k test examples. We utilize meteor(Banerjee & Lavie, 2005) as the reward function. T5 is chosen as the base language model due to its pre-training in a unified text-to-text framework and its ability to handle zero-shot capabilities.
|
| 436 |
+
|
| 437 |
+
# F.4 EVALUATION ON NON-CONTINUAL LEARNING TASKS
|
| 438 |
+
|
| 439 |
+
We compare the performance of PPO and CPPO on three static learning tasks, including randomwalks(Chen et al., 2021), sentiment text generation (Ramamurthy et al., 2022) on IMDB(Huang et al., 2021), and summarization on CNN Daily Mail (Hermann et al., 2015). As in the continual learning setting, we initialize our model with a pre-trained model and compute the knowledge retention penalty using both the policy model and the pre-trained model. Experimental results demonstrate that CPPO outperforms PPO in static learning settings. We observe the instability of PPO on the sentiment text generation task, while CPPO can learn stably. As shown in Figure 7, CPPO outperforms the PPO algorithm on all three tasks, which is attributed to CPPO's ability to enhance the learning of high-performance, high-variance, and overfitting samples while slowing down the learning of noisy samples.
|
| 440 |
+
|
| 441 |
+

|
| 442 |
+
(a) Randomwalks
|
| 443 |
+
|
| 444 |
+

|
| 445 |
+
(b)IMDB
|
| 446 |
+
Figure 7: Evaluation results on the test data during different training steps. a) The optimality scores in [0, 1], as compared to the shortest path. b) Positive sentiment scores provided by the distilbert trained on the IMDB dataset. c) METEOR (Metric for Evaluation of Translation with Explicit ORdering).
|
| 447 |
+
|
| 448 |
+

|
| 449 |
+
(c) CNN Daily Mail
|
| 450 |
+
|
| 451 |
+
# G DETAILS OF IMPLEMENTATION
|
| 452 |
+
|
| 453 |
+
The algorithm of CPPO is presented in Algorithm 1. Step 3 is for learning an RM continually; step 7 is for computing balance weights; step 9 is for calculating CPPO loss; other steps are the same as the PPO algorithm. Our implementation is based on the open source library trlx<sup>6</sup>. The experiments on the SHP dataset are conducted in 4 Nvidia A100 GPUs with 80 GB of RAM, other experiments are conducted in 2 Nvidia Tesla V100 GPUs with 32 GB of RAM. To conserve GPU memory, we utilize CPU-Offload and Mixed-Precision techniques. We provide all hyperparameters used in both the PPO and CPPO algorithms in Table 12.
|
| 454 |
+
|
| 455 |
+
Algorithm 1: CPPO
|
| 456 |
+
input :SFT model $M_{SFT}$ ,critic model $C$ ,reward model $RM$ ,ppo epochs $N$ ,ppo steps $S$ ,query streams $\mathbf{Q}_{\mathbf{t}}(t = 1,2,\dots,T)$ output:Aligend model $M_T^{\prime}$
|
| 457 |
+
1 Initialize actor $M_0\gets M_{SFT}$ .
|
| 458 |
+
for $t = 1,2,\ldots ,T$ do update $RM$ on new feedback by MAS; for epoch $= 1,2,\ldots ,N$ do make actor $M_{t - 1}$ generate response $O_{t - 1}$ on prompts $Q_{t}$ compute generation probability $P_{\pi_{t - 1}}(x)$ of $M_{t - 1}$ on $O_{t - 1}$ ,reward $R(x)$ of response $O_{t - 1}$ by RM, state value evaluation $v_{t - 1}$ by critic $C$ and advantage $A_{t - 1}(x)$ . compute a set of balance weights $\{(\alpha (x),\beta (x))|x\in O_{t - 1}\}$ . for step $= 1,2,\ldots ,S$ do compute the CPPO loss by Equation (5); update model $M_t$ by Adam optimizer ; end
|
| 459 |
+
end
|
| 460 |
+
|
| 461 |
+
Table 12: Hyperparameters of different tasks. Italic font denotes the CPPO-specific hyperparameters. For all tasks, we utilize the default PPO hyperparameters released by trlx.
|
| 462 |
+
CNN Random walks IMDB Reddit
|
| 463 |
+
seq-length 612 10 1024 550
|
| 464 |
+
total-steps 17200 10000 4000 25600
|
| 465 |
+
batch-size 12 100 128 8
|
| 466 |
+
model (huggingface) google/flan-t5-small CarperAI/randomwalks lvwerra/gpt2-imdb gpt2
|
| 467 |
+
num-layers-unfrozen 2 -1 2 8
|
| 468 |
+
optimizer adamw adamw adamw adamw Adamw Adamw Adamw Adamw Adamw Adamw Adamw Adamw Adamw Adamw Adamw Adamw Adamw Adamw Adamw Adamw Adamw Adamw Adamw Adamw Adamw Adamw Adamw Adamw Adamw Adamw Adamw Adamw Adamw Adamw Adamw Adamw Adamw Adamw Adamw Adamw Adamw Adamw Adamw Adamw Adamw Adamw Adamw Adamw Adamw Adamw Adamw Adamw Adamw Adamw
|
| 469 |
+
|
| 470 |
+

|
| 471 |
+
Figure 8: Cross-domain evaluation of 18 reward models. The i-th row represents the RM trained on domain i, the j-th column represents the RM tested on domain j, and the value indicates the accuracy degradation value, namely, $Acc_{test}^{j} - Acc_{test}^{i}$ .
|
| 472 |
+
|
| 473 |
+
# H EVALUATION OF STANFORD HUMAN PREFERENCES BENCHMARK
|
| 474 |
+
|
| 475 |
+
We have established a novel continual RLHF benchmark using the Stanford Human Preferences Dataset (SHP) (Ethayarajh et al., 2022). We assess CPPO and baselines on this benchmark within the context of a 3-task sequence setting.
|
| 476 |
+
|
| 477 |
+
# H.1 DOMAIN INIncrementAL LEARNING SETTING
|
| 478 |
+
|
| 479 |
+
The policy is required to continuously learn from three segments of the SHP dataset. The SHP dataset comprises 18 domains, which we divide into 3 parts based on the maximal errors of the out-of-distribution (OOD) generalization(Shen et al., 2021). We employ the SteamSHP-flan-t5-xl model (Ethayarajh et al., 2022), developed by Stanford, as the reference preference model (rPM) for assessing responses to SHP prompts. The SteamSHP-flan-t5-xl model<sup>7</sup> is trained on the combination of the SHP (all domains) and the HH-RLHF(Bai et al., 2022a) human preference data.
|
| 480 |
+
|
| 481 |
+
To create more challenging DIL tasks, we individually trained 18 reward models (based on Llama-7b) on 18 domains of SHP data and evaluated each reward model on the test set of the 18 domains, resulting in an accuracy difference matrix of size $18 \times 18$ as shown in Figure 8. In this matrix, the row coordinates represent the training domains, and the column coordinates represent the evaluation domains. The elements in the matrix represent the relative decrease in performance on the evaluation domain compared to the training domain (both evaluated on test sets from various domains). Based on this accuracy difference matrix, we divided the 18 domains into 3 groups (each has 6 domains). This division ensures that there will be a significant performance decrease, i.e., the largest error of OOD generalization, when evaluated on domains from different groups. For example, the RM trained in the first group (from "explainlikeimfive" to "changemyview") has large errors in the third group (from "legaladvce" to "vet"). Refer to Table 13 for the distribution of samples across various domains.
|
| 482 |
+
|
| 483 |
+
Table 13: Number of posts in the SHP dataset by subreddit.
|
| 484 |
+
|
| 485 |
+
<table><tr><td rowspan="2">Task ID</td><td rowspan="2">subreddit
|
| 486 |
+
ALL</td><td>train</td><td>valid</td><td>test</td><td>total</td><td>% of All</td></tr><tr><td>348718</td><td>18436</td><td>18409</td><td>385563</td><td>100.00%</td></tr><tr><td rowspan="6">Task 1</td><td>explainlikeimfive</td><td>19592</td><td>1014</td><td>1070</td><td>21676</td><td>5.62%</td></tr><tr><td>askanthropology</td><td>3910</td><td>203</td><td>268</td><td>4381</td><td>1.14%</td></tr><tr><td>askcarguys</td><td>3227</td><td>159</td><td>117</td><td>3503</td><td>0.91%</td></tr><tr><td>asksciencefiction</td><td>29382</td><td>1576</td><td>1987</td><td>32945</td><td>8.54%</td></tr><tr><td>asksocialscience</td><td>2706</td><td>147</td><td>188</td><td>3041</td><td>0.79%</td></tr><tr><td>changemyview</td><td>38173</td><td>1637</td><td>1836</td><td>41646</td><td>10.80%</td></tr><tr><td rowspan="6">Task 2</td><td>askacademia</td><td>31450</td><td>2095</td><td>1708</td><td>35253</td><td>9.14%</td></tr><tr><td>askculinary</td><td>45710</td><td>2094</td><td>2563</td><td>50367</td><td>13.06%</td></tr><tr><td>askengineers</td><td>57096</td><td>3154</td><td>2638</td><td>62888</td><td>16.31%</td></tr><tr><td>askphilosophy</td><td>10307</td><td>608</td><td>677</td><td>11592</td><td>3.01%</td></tr><tr><td>askphysics</td><td>7364</td><td>409</td><td>587</td><td>8360</td><td>2.17%</td></tr><tr><td>askscience</td><td>13316</td><td>899</td><td>977</td><td>15192</td><td>3.94%</td></tr><tr><td rowspan="6">Task 3</td><td>legaladvice</td><td>21170</td><td>1106</td><td>1011</td><td>23287</td><td>6.04%</td></tr><tr><td>askbaking</td><td>44007</td><td>2096</td><td>1544</td><td>47647</td><td>12.36%</td></tr><tr><td>askdocs</td><td>6449</td><td>315</td><td>455</td><td>7219</td><td>1.87%</td></tr><tr><td>askhistorians</td><td>3264</td><td>113</td><td>164</td><td>3541</td><td>0.92%</td></tr><tr><td>askhr</td><td>8295</td><td>641</td><td>395</td><td>9331</td><td>2.42%</td></tr><tr><td>askvet</td><td>3300</td><td>170</td><td>224</td><td>3694</td><td>0.96%</td></tr></table>
|
| 487 |
+
|
| 488 |
+
# H.2 EVALUATION METRIC FOR CONTINUAL LEARNING
|
| 489 |
+
|
| 490 |
+
Overall performance is commonly assessed using average accuracy (AA)(Chaudhry et al., 2018; Lopez-Paz & Ranzato, 2017) and average incremental accuracy (AIA) (Douillard et al., 2020; Hou et al., 2019). In our evaluation framework, accuracy is replaced by the reference Preference Score, which ranges from 0 to 1. Let $a_{k,j} \in [0,1]$ represent the reference Preference Score evaluated on the test set of the $j$ -th task after incremental learning of the $k$ -th task ( $j \leq k$ ). The two metrics at the $k$-th task are then defined as:
|
| 491 |
+
|
| 492 |
+
$$
|
| 493 |
+
\mathrm {A A} _ {k} = \frac {1}{k} \sum_ {j = 1} ^ {k} a _ {k, j}, \tag {8}
|
| 494 |
+
$$
|
| 495 |
+
|
| 496 |
+
$$
|
| 497 |
+
\mathrm {A I A} _ {k} = \frac {1}{k} \sum_ {i = 1} ^ {k} \mathrm {A A} _ {i}, \tag {9}
|
| 498 |
+
$$
|
| 499 |
+
|
| 500 |
+
where AA signifies the current overall performance, and AIA additionally captures the historical fluctuations.
|
| 501 |
+
|
| 502 |
+
Memory stability can be evaluated through forgetting measure (FM)(Chaudhry et al., 2018) and backward transfer (BWT) (Lopez-Paz & Ranzato, 2017). Regarding the former, the forgetting of a task is computed as the difference between its best performance achieved in the past and its current performance:
|
| 503 |
+
|
| 504 |
+
$$
|
| 505 |
+
f _ {j, k} = \max _ {i \in \{1, \dots , k - 1 \}} \left(a _ {i, j} - a _ {k, j}\right), \forall j < k. \tag {10}
|
| 506 |
+
$$
|
| 507 |
+
|
| 508 |
+
FM at the $k$ -th task is the average forgetting of all old tasks:
|
| 509 |
+
|
| 510 |
+
$$
|
| 511 |
+
\mathrm {F M} _ {k} = \frac {1}{k - 1} \sum_ {j = 1} ^ {k - 1} f _ {j, k}. \tag {11}
|
| 512 |
+
$$
|
| 513 |
+
|
| 514 |
+
Regarding the latter, BWT assesses the collective impact of learning the $k$ -th task on all previous tasks:
|
| 515 |
+
|
| 516 |
+
$$
|
| 517 |
+
\mathrm {B W T} _ {k} = \frac {1}{k - 1} \sum_ {j = 1} ^ {k - 1} \left(a _ {k, j} - a _ {j, j}\right), \tag {12}
|
| 518 |
+
$$
|
| 519 |
+
|
| 520 |
+
# H.3 EVALUATION RESULTS
|
| 521 |
+
|
| 522 |
+
We utilize the Llama-7B as the backbone of the policy model and reward model. When training the reward model, we fine-tune the all of parameters. When training the RLHF model, we only fine-tune the top 8 layers.
|
| 523 |
+
|
| 524 |
+
The experiments are run for 3 random seeds, the final results are shown in Table 14. We found that using reward and policy models based on Llama-7B, as opposed to training with gpt2-xl as the backbone, significantly improves the training stability. It is related to larger reward models being less susceptible to reward attacks(Gao et al., 2022).
|
| 525 |
+
|
| 526 |
+
From Table 14, we observe that the Iterated RLHF method has a significant effect in preventing forgetting. Since it re-trains the reward model and policy model from scratch at each task, resulting in higher memory and computational complexity. CPPO, compared to PPO, shows a noticeable improvement in overall performance, and it outperforms PPO in the Memory stability metric. This indicates that CPPO can effectively learning varying human preferences.
|
| 527 |
+
|
| 528 |
+
Table 14: Performance on DIL setting. The range of SteamSHP score is [0, 1].
|
| 529 |
+
|
| 530 |
+
<table><tr><td rowspan="2">Method</td><td rowspan="2">Task 1 SteamSHP (↑)</td><td rowspan="2">Task 2 SteamSHP (↑)</td><td rowspan="2">Task 3 SteamSHP (↑)</td><td colspan="2">Overall performance</td><td colspan="2">Memory stability</td></tr><tr><td>AA (↑)</td><td>AIA (↑)</td><td>BWT (↑)</td><td>FM (↓)</td></tr><tr><td>SFT (In order)</td><td>0.806 ±0.0101</td><td>0.836 ±0.0103</td><td>0.853 ±0.0103</td><td>0.832 ±0.0061</td><td>0.837 ±0.0039</td><td>-0.022 ±0.0094</td><td>0.022 ±0.0094</td></tr><tr><td>SFT (multi-tasks)</td><td>0.831 ±0.0266</td><td>0.847 ±0.0145</td><td>0.858 ±0.0114</td><td>0.845 ±0.0147</td><td>0.844 ±0.0082</td><td>-0.006 ±0.0183</td><td>0.009±0.0160</td></tr><tr><td>Iterated RLHF</td><td>0.869 ±0.0583</td><td>0.88 ±0.0490</td><td>0.887 ±0.0421</td><td>0.879 ±0.0488</td><td>0.874 ±0.0433</td><td>-0.0004 ±0.0186</td><td>0.003 ±0.0162</td></tr><tr><td>PPO</td><td>0.853 ±0.0573</td><td>0.879 ±0.0428</td><td>0.889 ±0.0369</td><td>0.874 ±0.0433</td><td>0.877 ±0.0378</td><td>-0.017 ±0.0351</td><td>0.020 ±0.0327</td></tr><tr><td>CPPO (Heuristic)</td><td>0.864 ±0.0557</td><td>0.89 ±0.0448</td><td>0.894 ±0.0350</td><td>0.883 ±0.0429</td><td>0.887 ±0.0391</td><td>-0.015 ±0.0321</td><td>0.018 ±0.0300</td></tr><tr><td>CPPO (Learn)</td><td>0.872 ±0.0544</td><td>0.898 ±0.0450</td><td>0.899 ±0.0342</td><td>0.89 ±0.0424</td><td>0.894 ±0.0389</td><td>-0.013 ±0.0298</td><td>0.016 ±0.0281</td></tr></table>
|
| 531 |
+
|
| 532 |
+
# I LIMITATION: THE RISK OF OVER-OPTIMIZATION
|
| 533 |
+
|
| 534 |
+
We have observed that both PPO and CPPO have the potential risk of achieving high rewards while generating poor summaries. This issue is depicted in Figure 9, where the policy model tends to overoptimize against the RM when trained for 100k steps (390 epochs). Over time, the policy becomes excessively focused on maximizing rewards without adequately considering the quality of the generated summaries. To address the risk of optimization, various strategies can be employed. One approach is to train an additional RM to evaluate the policy during training. This allows for evaluating the policy's performance using an external objective metric, providing a more robust measure of the summary quality. Another strategy is to implement early stopping, where the training process is halted based on the quality of the generated summaries or other external metrics. Instead of solely focusing on maximizing rewards, we prioritize the quality of the generated summaries. Training is halted when the summary quality
|
| 535 |
+
|
| 536 |
+
reaches a certain threshold or shows no further improvement. This approach ensures that the generated summaries not only maximize rewards but also maintain a high level of quality.
|
| 537 |
+
|
| 538 |
+

|
| 539 |
+
Figure 9: Overoptimize against the reward model. After training 100k steps, the RM score (RMS) on the test data has a high bias compared with the rPMS.
|
| 540 |
+
|
| 541 |
+
Recent research (Gao et al., 2022) has noted an interesting observation regarding larger policy models. It has been found that as the size of the policy models increases, they become less susceptible to over-optimization against the RM. This suggests that scaling up the model size can potentially alleviate the over-optimization issue by introducing more complexity and capacity into the policy model, making it harder for the model to excessively optimize solely for rewards without considering the summary quality.
|
| 542 |
+
|
| 543 |
+
In summary, mitigating the risk of over-optimization in PPO and CPPO can be achieved through strategies such as training additional reward models, implementing early stopping, and considering larger policy models. These measures aim to strike a balance between achieving high rewards and generating high-quality summaries, ensuring that the models generalize well and produce reliable results even on unseen data.
|
| 544 |
+
|
| 545 |
+
# J BROADER IMPACT
|
| 546 |
+
|
| 547 |
+
The broader impact of our proposed CPPO method is significant for both researchers and practitioners in the field of NLP. By addressing the limitations of existing RLHF-based LMs, we enable the continual alignment of these models with human preferences, opening up new possibilities for their widespread adoption and deployment.
|
| 548 |
+
|
| 549 |
+
One important implication of our work is the reduction of time and computational costs associated with retraining LMs. In many real-world scenarios, complete retraining is impractical due to resource constraints and data privacy. By introducing sample-wise weights and enhancing policy learning while retaining valuable past experiences, CPPO offers a more efficient and practical alternative. This efficiency allows practitioners to keep LMs up-to-date with evolving human preferences without incurring the substantial overhead of retraining, making them more accessible and applicable across a range of applications.
|
| 550 |
+
|
| 551 |
+
The practical implications of our work extend beyond research and development. Industries that heavily rely on LMs, such as customer service, virtual assistants, and content generation, stand to benefit from the continual alignment provided by CPPO. The improved performance and adaptability of LMs enable more personalized and effective interactions with users, enhancing user satisfaction and overall user experience. Additionally, CPPO's ability to align with human preferences consistently enables the development of more inclusive and fair AI systems that better understand and respect diverse user needs and values.
|
| 552 |
+
|
| 553 |
+
In summary, our CPPO method has broad implications for the NLP community and beyond. By addressing the challenges associated with RLHF-based LMs, our approach offers a practical and efficient solution for continually aligning with human preferences while reducing retraining costs and preserving data privacy. These advancements promote the wider adoption and responsible use of LMs in various domains, leading to more personalized, inclusive, and trustworthy AI systems.
|
2024/CPPO_ Continual Learning for Reinforcement Learning with Human Feedback/images.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f7ce74258ea98a7cd0d8ab02bc397f767ce39b999994eec12f44514a2962c7de
|
| 3 |
+
size 1249494
|
2024/CPPO_ Continual Learning for Reinforcement Learning with Human Feedback/layout.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2024/CRAFT_ Customizing LLMs by Creating and Retrieving from Specialized Toolsets/8ba38939-7ba1-4202-b2ab-26b6e6ae6afa_content_list.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2024/CRAFT_ Customizing LLMs by Creating and Retrieving from Specialized Toolsets/8ba38939-7ba1-4202-b2ab-26b6e6ae6afa_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2024/CRAFT_ Customizing LLMs by Creating and Retrieving from Specialized Toolsets/8ba38939-7ba1-4202-b2ab-26b6e6ae6afa_origin.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:caa7e40a8c5f1c51ca97b2a550caadc14df194095ccf5357b90d1ea647cc3fc1
|
| 3 |
+
size 7414389
|
2024/CRAFT_ Customizing LLMs by Creating and Retrieving from Specialized Toolsets/full.md
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2024/CRAFT_ Customizing LLMs by Creating and Retrieving from Specialized Toolsets/images.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:afcf160b4a9f551fec7db9a94f7342df0dc6cd8310dfc08ef6755a86beb157bf
|
| 3 |
+
size 392390
|
2024/CRAFT_ Customizing LLMs by Creating and Retrieving from Specialized Toolsets/layout.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2024/CRITIC_ Large Language Models Can Self-Correct with Tool-Interactive Critiquing/3c12ffae-fe82-40ca-81b0-d973429b439b_content_list.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2024/CRITIC_ Large Language Models Can Self-Correct with Tool-Interactive Critiquing/3c12ffae-fe82-40ca-81b0-d973429b439b_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2024/CRITIC_ Large Language Models Can Self-Correct with Tool-Interactive Critiquing/3c12ffae-fe82-40ca-81b0-d973429b439b_origin.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6f16c4fdecf3f857fa6a6ab5abea0a2384c1ff5e1c1d3662d2c2df5e7a364596
|
| 3 |
+
size 1161094
|
2024/CRITIC_ Large Language Models Can Self-Correct with Tool-Interactive Critiquing/full.md
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2024/CRITIC_ Large Language Models Can Self-Correct with Tool-Interactive Critiquing/images.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5fe5d259c0d0c586d13e6157c9d6dd24583bdd90364aa8a5a29ef0d9df6a0bfb
|
| 3 |
+
size 1176237
|
2024/CRITIC_ Large Language Models Can Self-Correct with Tool-Interactive Critiquing/layout.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2024/Can LLM-Generated Misinformation Be Detected_/3a84c4e2-b05d-44a9-9215-c6ee23c2c391_content_list.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2024/Can LLM-Generated Misinformation Be Detected_/3a84c4e2-b05d-44a9-9215-c6ee23c2c391_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2024/Can LLM-Generated Misinformation Be Detected_/3a84c4e2-b05d-44a9-9215-c6ee23c2c391_origin.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c1c30641d95837e1854566f4e4a5aac105b31d77cf63898a0ac5e242175948c8
|
| 3 |
+
size 1945280
|
2024/Can LLM-Generated Misinformation Be Detected_/full.md
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2024/Can LLM-Generated Misinformation Be Detected_/images.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:46eab945f92bbb137f9117d3fd5951d19186f26069c96dc2687390fd7a384cda
|
| 3 |
+
size 2582631
|
2024/Can LLM-Generated Misinformation Be Detected_/layout.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2024/Can LLMs Express Their Uncertainty_ An Empirical Evaluation of Confidence Elicitation in LLMs/b81f80c1-e92f-4fa9-ba4a-6eda97eff3f9_content_list.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|