LLM Software Tool Planning via Best-First Search

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional computing systems face inefficiencies and inaccuracies in navigating large action spaces for software tool interactions due to unidirectional exploration and excessive resource consumption, often leading to locally optimal solutions and incorrect operations.

Innovation Solution

A software action planning system utilizing a best-first search model with a large language model to iteratively select and expand actions in a decision tree, generating cumulative and future cost scores to optimize action plans, reducing resource usage and improving accuracy.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Device complexity

If conventional systems rigidly explore expansive action spaces in a single direction, then the system structure is simple, but the action plan accuracy deteriorates due to error propagation and limited exploration

Engineering Contradiction:
Improvesystem structureVSAvoidaction plan accuracy
Core Design Contradiction:
Device complexityVSManufacturing precision

Solution Approach 1:

The patent segments the action space exploration into multiple independent directions simultaneously. Instead of following a single rigid path, the system divides the search into parallel trajectories that can independently explore different parts of the action space, reducing error propagation and improving overall exploration accuracy.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent transitions from unidirectional exploration to multi-directional exploration by adding dimensional diversity to the search process. This allows the system to navigate the action space from multiple angles simultaneously, preventing getting trapped in local optima and improving action plan accuracy.

Inventive Principle:
Principle #17Another dimension (Dimensionality change)

2Manufacturing precision

If tree search-based models explore all possible actions in decision space, then the action plan accuracy improves through global optimization, but the resource consumption deteriorates due to significant time and processing requirements

Engineering Contradiction:
Improveaction plan accuracyVSAvoidprocessing resources
Core Design Contradiction:
Manufacturing precisionVSUse of energy by moving object

Solution Approach 1:

The patent applies partial action by exploring only the most promising directions in the action space rather than exhaustively searching all possible actions. The system selectively expands nodes that show potential for leading to optimal solutions, achieving good action plan accuracy without the prohibitive resource cost of complete exploration.

Inventive Principle:
Principle #16Partial or excessive action

Solution Approach 2:

The patent dynamically adjusts exploration parameters such as the number of parallel directions, expansion depth, and selection criteria based on computational resource availability. This allows the system to maintain high action plan accuracy while adapting resource consumption to practical constraints.

Inventive Principle:
Principle #35Parameter changes

3Manufacturing precision

If tree search-based models explore all possible actions, then the action plan quality improves, but the time consumption deteriorates making the system impractical for limited time scenarios

Engineering Contradiction:
Improveaction plan qualityVSAvoidsearch time
Core Design Contradiction:
Manufacturing precisionVSLoss of time

Solution Approach 1:

The patent performs preliminary evaluation of action space nodes to identify promising directions before full exploration. By pre-assessing potential paths and prioritizing those with higher likelihood of leading to optimal solutions, the system reduces the time required to achieve high-quality action plans.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent employs periodic evaluation and pruning of exploration paths, systematically reviewing and eliminating unpromising directions at intervals during the search process. This periodic action maintains solution quality while preventing excessive time consumption on futile exploration paths.

Inventive Principle:
Principle #19Periodic action

Data Source

PatentUS20250272544A1Generating and executing action plans involving software tools via a large language model
Publication Date: 2025.08.28 ADOBE INC
  • US20250272544A1 patent drawing
  • US20250272544A1 patent drawing
  • US20250272544A1 patent drawing

AI summary

Methods, systems, and non-transitory computer readable storage media are disclosed for generating action plans utilizing a large language model with a best-first search model. The disclosed system determines a request to utilize a large language model to generate an action plan via one or more software tools. The disclosed system generates the action plan by traversing a decision tree comprising an action space involving the one or more software tools by iteratively: selecting, utilizing a best-first search model, an action from a set of possible actions in the action space of the decision tree; and expanding, utilizing the best-first search model, the action space of the decision tree to include an additional set of possible actions. The disclosed system also executes the action plan via one or more interactions with the one or more software tools according to the action.