IEEE VIS 2024 Content: iToT: An Interactive System for Customized Tree-of-Thought Generation

iToT: An Interactive System for Customized Tree-of-Thought Generation

Alan David Boyle - ETHZ, Zurich, Switzerland

Isha Gupta - ETH Zürich, Zürich, Switzerland

Sebastian Hönig - ETH Zürich, Zürich, Switzerland

Lukas Mautner - ETH Zürich, Zürich, Switzerland

Kenza Amara - ETH Zürich, Zürich, Switzerland

Furui Cheng - ETH Zürich, Zürich, Switzerland

Mennatallah El-Assady - ETH Zürich, Zürich, Switzerland

Screen-reader Accessible PDF

Room: Bayshore II

2024-10-14T16:00:00ZGMT-0600Change your timezone on the schedule page
2024-10-14T16:00:00Z
Exemplar figure, described by caption below
We introduce iToT (interactive Tree-of-Thoughts), a generalized and interactive Tree of Thought prompting system. The iToT workflow: During initialization, the user provides an input prompt describing the task, examples of successful sequences of thoughts, and an evaluation prompt with self-evaluation criteria. They also specify the model parameters and visualization settings (1). During the generation process, the parametrized model produces a set of ranked candidate thoughts. The user can expand on these model-generated thoughts or add a new custom thought (2). Finally, iToT offers evaluation: thoughts are ranked by the model's self-evaluation and assessed based on their semantic similarity and self-consistency (3).
Fast forward
Abstract

As language models have become increasingly successful at a wide array of tasks, different prompt engineering methods have been developed alongside them in order to adapt these models to new tasks. One of them is Tree-of-Thoughts (ToT), a prompting strategy and framework for language model inference and problem-solving. It allows the model to explore multiple solution paths and select the best course of action, producing a tree-like structure of intermediate steps (i.e., thoughts). This method was shown to be effective for several problem types. However, the official implementation has a high barrier to usage as it requires setup overhead and incorporates task-specific problem templates which are difficult to generalize to new problem types. It also does not allow user interaction to improve or suggest new thoughts. We introduce iToT (interactive Tree-of- Thoughts), a generalized and interactive Tree of Thought prompting system. iToT allows users to explore each step of the model’s problem-solving process as well as to correct and extend the model’s thoughts. iToT revolves around a visual interface that facilitates simple and generic ToT usage and transparentizes the problem-solving process to users. This facilitates a better understanding of which thoughts and considerations lead to the model’s final decision. Through two case studies, we demonstrate the usefulness of iToT in different human-LLM co-writing tasks.