CauProphet: Teaching Agents to Develop Causal Cognition like Humans
Organizations: Shanghai Jiao Tong University · Shanghai AI Laboratory
Abstract
Large language model (LLM) agents increasingly support long-horizon tasks by leveraging external memory and past experience. However, existing agents mainly retrieve records or summaries, lacking the ability to form and refine causal understanding of the world. Inspired by human causal cognition, we introduce CauProphet, an agent that develops and updates causal knowledge within its Causal Cognition. For each task, CauProphet combines relevant knowledge in Causal Cognition with current evidence to construct a Causal Belief, a structured belief capturing causal factors and the effects of possible actions. It uses this belief for decision-making and continuously updates both the belief and Causal Cognition as new observations emerge, enabling causal knowledge that persists beyond individual experiences. Evaluations demonstrate that CauProphet progressively acquires causal knowledge and transfers it to future decision-making. In financial research, CauProphet leverages prior discoveries to improve downstream analyses and outperforms all baselines in mean rank correlation with next-day returns, achieving a 25.4% improvement over a baseline agent. It also improves prediction accuracy from 21.3% to 28.6% in dynamic real-world settings. Further experiments validate its ability to perform reliable causal analysis and action selection across scientific and everyday tasks, demonstrating the potential of causal experience learning for next-generation LLM agents.
Figures & tables
| Next-period RankIC | |||
|---|---|---|---|
| Method | Price | Volume | Mean |
| ReAct | 6.119 | 2.792 | 4.455 |
| OpenCode | 6.901 | 1.488 | 4.195 |
| ReAct + text memory | 5.172 | 3.041 | 4.106 |
| CauProphet | 7.418 | 2.881 | 5.149 |
Appendix figures & tables12 assets
Supplementary material from the paper’s appendix.
Appendix
| Study | Period | Dates | ReAct | OpenCode | ReAct + text | CauProphet |
|---|---|---|---|---|---|---|
| Price | 2014H1 | 117 | 6.759 | 6.759 | 6.759 | 6.664 |
| 2014H2 | 125 | 6.621 | 5.639 | 7.127 | 7.127 | |
| 2015H1 | 111 | 0.017 | 4.888 | 6.000 | 6.000 | |
| 2015H2 | 117 | 7.420 | 7.420 | 8.013 | 8.013 | |
| 2016H1 | 101 | 8.449 | 8.449 | 8.196 | 8.449 | |
| 2016H2 | 123 | 7.446 | 8.253 | -5.064 | 8.253 |
| Study | Method | Tokens | Initialization tokens | Model calls | Candidates | Reads | Writes |
|---|---|---|---|---|---|---|---|
| Price | ReAct | 58,741 | 0 | 29 | 36 | 0 | 0 |
| OpenCode | 95,913 | 0 | 31 | 36 | 0 | 0 | |
| ReAct + text memory | 116,299 | 0 | 41 | 36 | 11 | 6 | |
| CauProphet | 211,247 | 28,220 | 43 | 42 | 7 | 8 | |
| Volume | ReAct | 59,832 | 0 | 29 | 36 | 0 | 0 |
| OpenCode | 91,498 | 0 | 30 | 36 | 0 | 0 |
| Study | Period | Submitted formula |
|---|---|---|
| Price | 2014H1 | Ref(close |
| 2014H2 | Ref(close | |
| 2015H1 | Ref(close | |
| 2015H2 | Ref(close | |
| 2016H1 | Ref(close | |
| 2016H2 | Ref(close |
| Memory | Round | RankIC | RankICIR | IC | Model calls | Candidates valid/attempted |
|---|---|---|---|---|---|---|
| Causal Cognition | 1 | 4.213 | 0.267 | 0.014 | 27 | 17/18 |
| 2 | 4.282 | 0.271 | 0.015 | 25 | 15/18 | |
| 3 | 4.484 | 0.285 | 0.014 | 23 | 18/18 | |
| 4 | 4.850 | 0.312 | 0.021 | 27 | 17/18 | |
| 5 | 4.820 | 0.305 | 0.017 | 27 | 15/18 | |
| Text memory | 1 | 4.191 | 0.267 | 0.013 | 22 | 15/18 |
| Round | Starting formula | Causal Cognition | Text memory |
|---|---|---|---|
| 1 | MA | 4.191 | 4.191 |
| 1 | ROC | 4.167 | 4.191 |
| 1 | BETA | 4.282 | 4.191 |
| 2 | MA | 4.282 | 4.191 |
| 2 | ROC | 4.282 | 4.191 |
| 2 | BETA | 4.282 | 4.191 |
| Scenario / configuration | Survival (%) | Score (%) | Wins |
|---|---|---|---|
| Antenna trap | |||
| CauProphet | 86.4 7.0 | 81.5 4.9 | 3/3 |
| ReAct | 55.9 14.7 | 60.1 10.3 | 0/3 |
| OpenCode | 68.4 7.6 | 68.9 5.3 | 1/3 |
| w/o causal components | 78.7 8.6 | 76.1 6.0 | 2/3 |
| w/o causal capabilities | 73.4 10.7 | 72.4 7.5 | 2/3 |
| Dataset | Research question focus |
|---|---|
| affairs | Children and extramarital affairs |
| amtl | Tooth loss in humans and other primates |
| boxes | Age, culture, and reliance on majority preference |
| caschools | Student–teacher ratio and academic performance |
| crofoot | Group size, location, and intergroup contest outcomes |
| fish | Factors associated with fish caught per hour |
| Metric | CauProphet | ReAct | OpenCode |
| Time-weighted BSS | 0.080 | 0.049 | 0.035 |
| Time-weighted Top-1 (%) | 28.6 | 21.3 | 22.0 |
| Time-weighted truth probability (%) | 14.7 | 13.2 | 12.6 |
| Final-snapshot BSS | 0.085 | 0.092 | 0.006 |
| Final-snapshot Top-1 (%) | 29.2 | 29.2 | 29.2 |
| Final-snapshot truth probability (%) | 16.3 | 16.9 | 15.0 |
| Official task ID | Task summary | Checks per execution |
| Training tasks | ||
| 82e2fac_1 | Find the most-liked song in a playlist. | 2/2 |
| 82e2fac_2 | Find the least-played song in the library. | 2/2 |
| 29caf6f_1 | Extract movie recommendations from notes and reply to a message. | 8/8 |
| afc0fce_1 | Find recent coworker payments, then like and comment on them. | 9/9 |
| 6104387_1 | Export a complete, deduplicated music library and delete the Spotify account. | 10/10; 10/10; 10/10; 10/10 |
| Structure | Adjustment | Intervention effect | |||||
|---|---|---|---|---|---|---|---|
| SCM construction | Method | Edge (%) | SHD | Adj. (%) | Backdoor | RelErr (%) | Sign |
| Synthetic 5-node nonlinear | CauProphet | 100.0 0.0 | 0.000 0.000 | 100.0 0.0 | 3/3 | 1.1 1.4 | 3/3 |
| ReAct | 94.9 4.4 | 0.667 0.577 | 100.0 0.0 | 3/3 | 124.3 104.5 | 1/3 | |
| OpenCode | 89.7 5.5 | 1.333 0.577 | 88.9 19.2 | 2/3 | 82.0 80.6 | 2/3 | |
| DeepSeek- V4-Pro | 64.5 13.6 | 3.667 1.155 | 88.9 19.2 | 2/3 | 70.3 28.5 | 2/3 | |
| GPT-6 Sol | 95.2 8.2 | 0.667 1.155 | 100.0 0.0 | 3/3 | 23.6 10.8 | 3/3 | |
Causal Reasoning in Language Models
Causal reasoning in language models studies how models identify cause-and-effect structure, predict interventions, and answer counterfactual questions.
See all 102 papers