Landscape of Thoughts: Visualizing the Reasoning Process of Large
  Language Models
Numerous applications of large language models (LLMs) rely on their ability
to perform step-by-step reasoning. However, the reasoning behavior of LLMs
remains poorly understood, posing challenges to research, development, and
safety. To address this gap, we introduce landscape of thoughts-the first
visualization tool for users to inspect the reasoning paths of chain-of-thought
and its derivatives on any multi-choice dataset. Specifically, we represent the
states in a reasoning path as feature vectors that quantify their distances to
all answer choices. These features are then visualized in two-dimensional plots
using t-SNE. Qualitative and quantitative analysis with the landscape of
thoughts effectively distinguishes between strong and weak models, correct and
incorrect answers, as well as different reasoning tasks. It also uncovers
undesirable reasoning patterns, such as low consistency and high uncertainty.
Additionally, users can adapt our tool to a model that predicts the property
they observe. We showcase this advantage by adapting our tool to a lightweight
verifier that evaluates the correctness of reasoning paths. The code is
publicly available at: https://github.com/tmlr-group/landscape-of-thoughts.
67ecc00ea0e64cb1b27da958
Zhanke Zhou
claimed_verified
2025-04-02T08:21:26.334Z
652b86ffa2d97e682b425b29
https://cdn-avatars.huggingface.co/v1/production/uploads/652b86ffa2d97e682b425b29/W_LzRdzndvKxqbw0ZP_BV.jpeg
(Andrew) Zhanke Zhou
user
AndrewZhou924
67ecc00ea0e64cb1b27da959
Zhaocheng Zhu
claimed_verified
2025-04-03T08:28:45.477Z
66554db35aa40da4de2194bc
/avatars/fb130a8c2cc922eb125c6c60d457ce21.svg
Zhaocheng Zhu
user
KiddoZhu
67ecc00ea0e64cb1b27da95a
Xuan Li
claimed_verified
2025-04-02T08:21:22.992Z
649842ada9a46fd69e1d5121
https://cdn-avatars.huggingface.co/v1/production/uploads/649842ada9a46fd69e1d5121/Xkj9IpOUp1cOkLK6z0HvJ.jpeg
XuanLi
user
GazeEzio
67ecc00ea0e64cb1b27da95b
Mikhail Galkin
claimed_verified
2025-04-02T19:55:33.633Z
63c09599dd793d5a62890e7d
/avatars/fed51ddd492b98e7cd4c3d1f82998635.svg
Michael Galkin
user
mgalkin
67ecc00ea0e64cb1b27da95c
Xiao Feng
claimed_verified
2025-04-02T08:21:20.033Z
67bc2858b24be20e87b11c8e
/avatars/a4cc2c8735fbcbeb3b182740749e521f.svg
Xiao Feng
user
KyrieXiao
67ecc00ea0e64cb1b27da95d
Sanmi Koyejo
67ecc00ea0e64cb1b27da95e
Jian Tang
67ecc00ea0e64cb1b27da95f
Bo Han
Landscape of Thoughts: Visualizing the Reasoning Process of Large
  Language Models
Numerous applications of large language models (LLMs) rely on their ability
to perform step-by-step reasoning. However, the reasoning behavior of LLMs
remains poorly understood, posing challenges to research, development, and
safety. To address this gap, we introduce landscape of thoughts-the first
visualization tool for users to inspect the reasoning paths of chain-of-thought
and its derivatives on any multi-choice dataset. Specifically, we represent the
states in a reasoning path as feature vectors that quantify their distances to
all answer choices. These features are then visualized in two-dimensional plots
using t-SNE. Qualitative and quantitative analysis with the landscape of
thoughts effectively distinguishes between strong and weak models, correct and
incorrect answers, as well as different reasoning tasks. It also uncovers
undesirable reasoning patterns, such as low consistency and high uncertainty.
Additionally, users can adapt our tool to a model that predicts the property
they observe. We showcase this advantage by adapting our tool to a lightweight
verifier that evaluates the correctness of reasoning paths. The code is
publicly available at: https://github.com/tmlr-group/landscape-of-thoughts.
A visualization tool named Landscape of Thoughts helps inspect and analyze reasoning paths of large language models on multi-choice datasets, identifying model strengths, correct answers, and reasoning inconsistencies.
large language models chain-of-thought feature vectors t-SNE qualitative analysis quantitative analysis reasoning paths model adaptation lightweight verifier