Xiaohua Wu , Xiaohui Tao , Wenjie Wu , Jianwei Zhang , Yuefeng Li , Lin Li
{"title":"Random forest of thoughts: Reasoning path fusion for LLM inference in computational social science","authors":"Xiaohua Wu , Xiaohui Tao , Wenjie Wu , Jianwei Zhang , Yuefeng Li , Lin Li","doi":"10.1016/j.inffus.2025.103791","DOIUrl":null,"url":null,"abstract":"<div><div>Large language models (LLMs) have demonstrated significant promise for reasoning problems. They are among the leading techniques for context inference, particularly in scenarios with strong sequential dependencies, where earlier inputs dynamically influence subsequent responses. However, existing reasoning paradigms such as X-of-thoughts (XoT) typically rely on unidirectional, left-to-right inference with limited inference paths. This renders them ineffective in handling inherent skip logic and multi-path reasoning, especially for contexts such as a multi-turn social survey. To address this, we propose Random Forest of Thoughts (RFoT), a novel prompting framework grounded in the principles of reasoning path fusion for skip logic. It uses Iterative Chain-of-Thought (ICoT) prompting to generate a diverse set of reasoning thoughts. These thoughts are then assessed using a cooperative contribution evaluator to estimate their contribution. By randomly sampling and fusing the top-<span><math><mi>k</mi></math></span> reasoning thoughts, RFoT simulates uncertain skip logic and constructs a rich forest of plausible thoughts. This enables it to achieve robust multi-path reasoning, where each question sequence formed by the skip logic is treated as an independent reasoning path. RFoT is validated on two classic social problems featuring strong skip logic, using three open-source LLMs and five datasets that have been categorized as structured social surveys and public social media data. Experimental results demonstrate that RFoT significantly enhances inference performance on problems that require complex, non-linear reasoning across both survey and social media data. The transparency and trustworthiness of the results stem from the interpretable fusion of diverse reasoning paths and the principled integration of cooperative evaluation mechanisms.</div></div>","PeriodicalId":50367,"journal":{"name":"Information Fusion","volume":"127 ","pages":"Article 103791"},"PeriodicalIF":15.5000,"publicationDate":"2025-09-29","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Information Fusion","FirstCategoryId":"94","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S156625352500853X","RegionNum":1,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"COMPUTER SCIENCE, ARTIFICIAL INTELLIGENCE","Score":null,"Total":0}
引用次数: 0
Abstract
Large language models (LLMs) have demonstrated significant promise for reasoning problems. They are among the leading techniques for context inference, particularly in scenarios with strong sequential dependencies, where earlier inputs dynamically influence subsequent responses. However, existing reasoning paradigms such as X-of-thoughts (XoT) typically rely on unidirectional, left-to-right inference with limited inference paths. This renders them ineffective in handling inherent skip logic and multi-path reasoning, especially for contexts such as a multi-turn social survey. To address this, we propose Random Forest of Thoughts (RFoT), a novel prompting framework grounded in the principles of reasoning path fusion for skip logic. It uses Iterative Chain-of-Thought (ICoT) prompting to generate a diverse set of reasoning thoughts. These thoughts are then assessed using a cooperative contribution evaluator to estimate their contribution. By randomly sampling and fusing the top- reasoning thoughts, RFoT simulates uncertain skip logic and constructs a rich forest of plausible thoughts. This enables it to achieve robust multi-path reasoning, where each question sequence formed by the skip logic is treated as an independent reasoning path. RFoT is validated on two classic social problems featuring strong skip logic, using three open-source LLMs and five datasets that have been categorized as structured social surveys and public social media data. Experimental results demonstrate that RFoT significantly enhances inference performance on problems that require complex, non-linear reasoning across both survey and social media data. The transparency and trustworthiness of the results stem from the interpretable fusion of diverse reasoning paths and the principled integration of cooperative evaluation mechanisms.
期刊介绍:
Information Fusion serves as a central platform for showcasing advancements in multi-sensor, multi-source, multi-process information fusion, fostering collaboration among diverse disciplines driving its progress. It is the leading outlet for sharing research and development in this field, focusing on architectures, algorithms, and applications. Papers dealing with fundamental theoretical analyses as well as those demonstrating their application to real-world problems will be welcome.