CLAIFLLGJun 16, 2023

Structured Thoughts Automaton: First Formalized Execution Model for Auto-Regressive Language Models

arXiv:2306.10196v12 citationsh-index: 18
Originality Synthesis-oriented
AI Analysis

This work addresses a foundational gap in understanding and controlling language model behavior, which is incremental as it formalizes existing concepts rather than introducing a new paradigm.

The paper tackles the lack of formalized execution models for auto-regressive language models by proposing the first such model, introducing a new sampling algorithm and a low-level language for writing cognitive programs to enable reliable and inspectable execution.

In recent months, Language Models (LMs) have become a part of daily discourse, with focus on OpenAI and the potential of Artificial General Intelligence (AGI). Furthermore, the leaking of LLama's weights to the public has led to an influx of innovations demonstrating the impressive capabilities of generative LMs. While we believe that AGI is still a distant goal, we recognize the potential of LMs in solving tasks such as searching complex documents, compiling reports with basic analysis, and providing assistance in problem-solving. In this paper, we propose formalizing the execution model of language models. We investigate current execution models, to find that this formalism has received little attention, and present our contribution: the first formalized execution model for LMs. We introduce a new algorithm for sampling the predictions of LMs, which we use to build a reliable and inspectable execution model. We introduce a low-level language to write "cognitive program" for this execution model. We hope to shed light on the need for execution models for LMs and encourage further research in this area.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes