|
|
||
Parsel overview. A human or LM writes a task decomposition in the Parsel language, which is split into its strongly-connected components (SCC), and then the Parsel compiler uses a code LM and a constraint solver to implement and compose each SCC.
|
|
||
Parsel compilation examples. Examples using Parsel to compile programs for VirtualHome, Lean, and Python. Note the columns on the generated examples are only there to allow them to fit compactly -- each program implementation is one contiguous solution. Colors for Parsel code on the left are used to indicate
constraints
and
references
. All other Parsel lines shown are definitions.
|
Zelikman, Huang, Poesia, Goodman, Haber (2022) Parsel π: A (De-)compositional Framework for Algorithmic Reasoning with Language Models [Paper] [Code] |
@misc{zelikman2022parsel,
url = {https://arxiv.org/abs/2212.10561},
author = {Zelikman, Eric and Huang, Qian and Poesia, Gabriel and Goodman, Noah D and Haber, Nick},
keywords = {Computation and Language (cs.CL); Artificial Intelligence (cs.AI); Machine Learning (cs.LG)},
title = {Parsel π: Algorithmic Reasoning with Language Models by Composing Decompositions},
publisher = {NeurIPS 2023},
year = {2022},
copyright = {arXiv.org perpetual, non-exclusive license}
}
Acknowledgements |