Skip to content

Commit df919bb

Browse files
committed
Update README.md
1 parent 0439cbb commit df919bb

File tree

2 files changed

+19
-3
lines changed

2 files changed

+19
-3
lines changed

README.md

+19-3
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
<p align="center">
77
<a href="https://aiwaves-cn.github.io/agents/">[🤖Project]</a>
8-
<a href="">[📄Paper]</a>
8+
<a href="https://arxiv.org/abs/2406.18532">[📄Paper]</a>
99
<a href="https://agentsv2.readthedocs.io/">[📝Docs]</a>
1010
<a href="#overview">[🌟Overview]</a>
1111
<a href="#installation">[🔧Installation]</a>
@@ -34,8 +34,13 @@ Agent symbolic learning is a systematic framework for training language agents,
3434

3535
We implement loss function, back-propagation, and weight optimizer in the context of agent training with carefully designed prompt pipelines. For a training example, our framework first conducts the "forward pass" (agent execution) and stores the input, output, prompts, and tool usage in each node in a "trajectory". We then use a prompt-based loss function to evaluate the outcome, resulting in a "language loss". Afterward, we back-propagate the language loss from the last to the first node along the trajectory, resulting in textual analyses and reflections for the symbolic components within each node, we call them language gradients. Finally, we update all symbolic components in each node, as well as the computational graph consisting of the nodes and their connections, according to the language gradients with another carefully designed prompt. Our approach also naturally supports optimizing multi-agent systems by considering nodes as different agents or allowing multiple agents to take actions in one node.
3636

37+
### Workflow Illustration
38+
39+
<img src='./assets/workflow.gif'>
40+
3741
---
3842

43+
3944
## 🔧Installation
4045

4146
**Installation from git repo branch:**
@@ -61,12 +66,23 @@ pip install -e .
6166

6267
If you find our repository useful in your research, please kindly consider cite:
6368
```bibtex
69+
@article{zhou2024agents2,
70+
title={Symbolic Learning Enables Self-Evolving Agents},
71+
author={Wangchunshu Zhou and Yixin Ou and Shengwei Ding and Long Li and Jialong Wu and Tiannan Wang and Jiamin Chen and Shuai Wang and Xiaohua Xu and Ningyu Zhang and Huajun Chen and Yuchen Eleanor Jiang},
72+
year={2024},
73+
eprint={2406.18532},
74+
archivePrefix={arXiv},
75+
primaryClass={cs.CL},
76+
url={https://arxiv.org/abs/2406.18532},
77+
}
78+
6479
@article{zhou2023agents,
6580
title={Agents: An Open-source Framework for Autonomous Language Agents},
66-
author={Wangchunshu Zhou and Yuchen Eleanor Jiang and Long Li and Jialong Wu and Tiannan Wang and Shi Qiu and Jintian Zhang and Jing Chen and Ruipu Wu and Shuai Wang and Shiding Zhu and Jiyu Chen and Wentao Zhang and Ningyu Zhang and Huajun Chen and Peng Cui and Mrinmaya Sachan},
81+
author={Wangchunshu Zhou and Yuchen Eleanor Jiang and Long Li and Jialong Wu and Tiannan Wang and Shi Qiu and Jintian Zhang and Jing Chen and Ruipu Wu and Shuai Wang and Shiding Zhu and Jiyu Chen and Wentao Zhang and Xiangru Tang and Ningyu Zhang and Huajun Chen and Peng Cui and Mrinmaya Sachan},
6782
year={2023},
6883
eprint={2309.07870},
6984
archivePrefix={arXiv},
70-
primaryClass={cs.CL}
85+
primaryClass={cs.CL},
86+
url={https://arxiv.org/abs/2309.07870},
7187
}
7288
```

assets/workflow.gif

4.52 MB
Loading

0 commit comments

Comments
 (0)