Large language models have been shown to suffer from reasoning inconsistency issues. That is, they fail more in situations unfamiliar to the training data, even though exact or very similar reasoning paths exist in more common cases that they can successfully solve. Such observations motivate us to propose methods that encourage models to understand the high-level and abstract reasoning processes during training instead of only the final answer. This way, models can transfer the exact solution to similar cases, regardless of their relevance to the pre-training data distribution. In this work, we propose SAL, a self-supervised analogical learning framework. SAL mimics the human analogy process and trains models to explicitly transfer high-quality symbolic solutions from cases that they know how to solve to other rare cases in which they tend to fail more. We show that the resulting models after SAL learning outperform base language models on a wide range of reasoning benchmarks, such as StrategyQA, GSM8K, and HotpotQA, by 2% to 20%. At the same time, we show that our model is more generalizable and controllable through analytical studies.
Relevant or Random: Can LLMs Truly Perform Analogical Reasoning?
The Hong Kong University of Science and Technology (Guangzhou)(香港科技大学(广州));Princeton University(普林斯顿大学);Nanyang Technological University(南洋理工大学);Salesforce Research(Salesforce 研究);Institute of High Performance Computing (IHPC), Agency for Science, Technology and Research (A*STAR), Singapore(高性能计算研究所,新加坡科技研究局)
Interactive Contrastive Learning for Self-supervised Entity Alignment
Tsinghua University(清华大学);Beijing University of Chemical Technology(北京化工大学);Singapore Management University(新加坡管理大学);Information Research Center of Military Science(军事科学院信息研究中心);China Mobile Research Institute(中国移动研究院)