Hierarchical LLM Routing for Edge Petrophysical Analysis

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Implementing large language models (LLMs) in petrophysical applications is challenging due to the need for domain-specific knowledge, tool-specific data interpretation, and the inability to run resource-intensive models on edge devices in remote or secure environments.

Innovation Solution

A hierarchical system of domain-specific LLMs with reduced parameter counts and compute footprints, configured to run on edge devices, is implemented. A control LLM directs domain-specific queries to specialized LLMs, reducing overall compute resources while maintaining the depth and versatility of petrophysical knowledge.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If large language models are implemented to provide domain-specific petrophysical knowledge, then the accuracy and context-awareness of insights are improved, but the resource consumption and device complexity increase making it impossible to run on edge devices

Engineering Contradiction:
Improveaccuracy of petrophysical insightsVSAvoiddevice complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The system segments the large language model into multiple specialized smaller models, each trained on specific petrophysical domains (e.g., reservoir characterization, well logging, formation evaluation). The control LLM routes queries to appropriate domain-specific models, enabling accurate specialized analysis while keeping individual model sizes manageable for edge deployment.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The system transitions from a single horizontal LLM architecture to a hierarchical multi-dimensional architecture with a control LLM layer and multiple domain-specific model layers. This vertical dimensionality change allows the system to maintain comprehensive petrophysical knowledge while optimizing resource usage through selective model invocation.

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

2Adaptability or versatility

If resource-intensive large language models are deployed, then comprehensive petrophysical knowledge and versatility are improved, but the compute footprint and energy consumption increase beyond edge device capabilities

Engineering Contradiction:
Improvepetrophysical knowledge coverageVSAvoidenergy consumption
Core Design Contradiction:
Adaptability or versatilityVSUse of energy by moving object

Solution Approach 1:

The comprehensive petrophysical knowledge base is segmented into multiple specialized domain models, each covering specific subdomains (reservoir characterization, well logging, formation evaluation, etc.). This segmentation reduces the knowledge footprint of each individual model while maintaining overall system versatility through the control LLM's routing capability.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

Instead of loading all domain knowledge into a single large model, the system activates only the necessary domain-specific models based on query requirements. The control LLM determines which subset of domain models to invoke, consuming energy proportionally to the actual information needs rather than maintaining all capabilities in memory.

Inventive Principle:
Principle #16Partial or excessive action

3Adaptability or versatility

If a single large language model is used to handle all petrophysical queries, then model versatility is improved, but the compute resources required and time for processing increase

Engineering Contradiction:
Improvemodel versatilityVSAvoidprocessing speed
Core Design Contradiction:
Adaptability or versatilityVSProductivity

Solution Approach 1:

The system segments petrophysical query processing into specialized domain models, each optimized for specific task types. This segmentation enables parallel processing of different query types and reduces the computational path length for each specific task, improving overall processing speed while maintaining versatility through the control LLM's routing function.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The control LLM serves as an intermediary that receives queries, determines the appropriate domain-specific model(s) to invoke, and coordinates their execution. This intermediary layer enables efficient query routing and can parallelize processing across multiple domain models, significantly improving processing speed compared to a single monolithic model.

Inventive Principle:
Principle #24Intermediary (Mediator)

4Measurement precision

If domain-specific knowledge is integrated into the language model, then the quality of petrophysical insights is improved, but the model size and resource requirements increase

Engineering Contradiction:
Improvequality of insightsVSAvoidmodel size
Core Design Contradiction:
Measurement precisionVSQuantity of substance

Solution Approach 1:

Domain-specific petrophysical knowledge is segmented into separate specialized models rather than being consolidated into a single large model. Each domain model contains focused knowledge for its specific area (e.g., reservoir characterization, well logging), reducing the parameter count and memory footprint of each individual model while maintaining high-quality specialized insights.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

Each domain-specific model is optimized with high-quality specialized knowledge tailored to its specific petrophysical domain, rather than diluting resources across all domains in a single model. This local optimization ensures high insight quality for each domain while keeping individual model sizes manageable for edge deployment.

Inventive Principle:
Principle #3Local quality

Data Source

PatentUS20250148258A1Large language model configured to direct domain-specific queries to domain-specific edge models
Publication Date: 2025.05.08 HALLIBURTON ENERGY SERVICES INC
  • US20250148258A1 patent drawing
  • US20250148258A1 patent drawing
  • US20250148258A1 patent drawing

AI summary

Described herein are systems and techniques for implementing a petrophysics assistant. An example method can include receiving, by a control language model configured to perform natural language processing, a query related to one or more subject areas; based on the one or more subject areas associated with the query and a respective domain-specific knowledge of each domain-specific language model from a plurality of domain-specific language models, selecting one or more domain-specific language models from the plurality of domain-specific language models to answer the query; sending, to the one or more domain-specific language models, a request to answer the query; and generating, by the control language model, a response to the query based on one or more responses to the query received from the one or more domain-specific language models.