Reproduce “Large Language Models as Tool Makers” on OpenResearch

Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Tianle Cai, Xuezhi Wang, Tengyu Ma, Xinyun Chen, Denny Zhou

Google DeepMind's LATM framework enables large language models to generate and reuse their own Python utility functions, allowing lightweight models to achieve performance comparable to larger models while significantly reducing inference costs. This approach introduces a functional cache that stores algorithmic solutions for various problem classes.

Key insights

  • Large language models can be prompted to create reusable Python functions that serve as general-purpose problem-solving tools.
  • A strategic division of labor, where a powerful LLM acts as a 'tool maker' and a lightweight LLM acts as a 'tool user', significantly reduces inference costs while maintaining high performance.
  • The concept of a 'functional cache' allows the system to store and reuse algorithmic solutions for classes of problems, extending caching beyond simple textual similarity.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.