
Research Scientist @GoogleDeepMind
- Tweets405
- Following638
- Followers3.2K
- Likes40.8K

ALT A diagram illustrating PAL: Given a mathematical reasoning question, "chain-of-thought" (left) generates intermediate reasoning steps of free-form text. In contrast, Program-aided Language models (PAL, right) generate intermediate steps and Python code. This shifts the role of running the reasoning steps from the language model to the Python interpreter. The final answer is obtained by running the generated reasoning chain. Chain-of-thought reasoning is highlighted in blue; PAL steps are highlighted in gray and pink; Python interpreter run is highlighted in black and green

ALT Problem solve rate (%) on mathematical reasoning datasets. The highest number on each task is in bold. The results for DIRECT and PaLM-540B are from Wei et al. (2022), and we reproduced the results on CoT (which uses Codex). Since PaLM-540B is not publicly available, we only include reported results.


































