# US 2025/0148258 A1 · Large language model configured to direct domain-specific queries to domain-specific edge models

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2025/0148258 A1
- Document ID: US20250148258A1
- Status: Published application
- Kind: A1
- Application number: 18/386,416
- Filed: 2023-11-02
- Published: 2025-05-08
- Earliest claimed: 2023-11-02
- Assignees: Halliburton Energy Services, Inc.
- Applicants: Halliburton Energy Services, Inc.
- Inventors: Christopher Michael JONES; Ning TU
- Web page: https://patentgrep.com/patent/US20250148258A1

## CPC

- G06N 3/006: based on simulated virtual individual or collective life forms, e.g. social simulations or particle swarm optimisation [PSO]
- G06N 3/042: Knowledge-based neural networks; Logical representations of neural networks
- G06N 3/045: Combinations of networks
- G06N 3/0455: Auto-encoder networks; Encoder-decoder networks
- G06N 3/08: Learning methods
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

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.

## Claims

### Claim 1

A method comprising:
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.

### Claim 2 (depends on 1)

The method of claim 1, wherein each domain-specific language model from the plurality of domain-specific language models comprises a neural network that is at least one of trained with information about a different petrophysics domain and configured to answer queries associated with the different petrophysics domain.

### Claim 3 (depends on 1)

The method of claim 1, wherein each domain-specific language model from the plurality of domain-specific language models comprises a neural network that is at least one of trained with different context-specific information and configured to answer queries associated with the different context-specific information, wherein the different context-specific information comprises at least one of tool-specific information and wellbore-specific information.

### Claim 4 (depends on 1)

The method of claim 1, wherein the control language model is trained with petrophysics information and each domain-specific language model from the plurality of domain-specific language models is trained with more specific petrophysics information than the control language model.

### Claim 5 (depends on 1)

The method of claim 1, wherein the response to the query is generated based on information from the one or more responses and petrophysics information learned by the control language model to generate the response.

### Claim 6 (depends on 1)

The method of claim 1, wherein the one or more domain-specific language models comprise a subset of domain-specific language models from the plurality of domain-specific language models and the one or more responses comprise multiple responses from different domain-specific language models of the subset of domain-specific language models, and wherein generating the response to the query comprises combining information from the multiple responses into a combined response.

### Claim 7 (depends on 1)

The method of claim 1, wherein the control language model further comprises a model configured to convert image data into text data describing the image data, wherein the query comprises visual information collected from a wellbore site, and wherein at least one of selecting the one or more domain-specific language models and generating the response is further based on the visual information.

### Claim 8 (depends on 7)

The method of claim 7, wherein the visual information comprises at least one of a petrophysical log, a petrophysical map, a petrophysical chart, and a petrophysical image.

### Claim 9 (depends on 1)

The method of claim 1, wherein at least one of the control language model and one or more of the plurality of domain-specific language models comprises a transformer network, and wherein the plurality of domain-specific language models comprises at least one of a resistivity model configured to answer questions relating to resistivity, a nuclear magnetic resonance (NMR) model configured to answer questions relating to NMR, a porosity model configured to answer questions relating to porosity, a fluid contact model configured to answer questions relating to fluid contact, a permeability model configured to answer questions relating to permeability, a formation testing model configured to answer questions relating to formation testing, and a continuity model configured to answer questions relating to continuity.

### Claim 10 (depends on 1)

The method of claim 1, further comprising:
based on the query, performing, by each of the one or more domain-specific language models, a respective lookup in a knowledge base of petrophysics information; and
generating, by the one or more domain-specific language models, the one or more responses based on each respective lookup in the knowledge base of petrophysics information.

### Claim 11

A system comprising:
a memory; and
one or more processors coupled to the memory, the one or more processors configured to:
receive, 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;
send, to the one or more domain-specific language models, a request to answer the query; and
generate, 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.

### Claim 12 (depends on 11)

The system of claim 11, wherein each domain-specific language model from the plurality of domain-specific language models comprises a neural network that is at least one of trained with information about a different petrophysics domain and configured to answer queries associated with the different petrophysics domain.

### Claim 13 (depends on 11)

The system of claim 11, wherein each domain-specific language model from the plurality of domain-specific language models comprises a neural network that is at least one of trained with different context-specific information and configured to answer queries associated with the different context-specific information, wherein the different context-specific information comprises at least one of tool-specific information and wellbore-specific information.

### Claim 14 (depends on 11)

The system of claim 11, wherein the control language model is trained with petrophysics information and each domain-specific language model from the plurality of domain-specific language models is trained with more specific petrophysics information than the control language model.

### Claim 15 (depends on 11)

The system of claim 11, wherein the response to the query is generated based on information from the one or more responses and petrophysics information learned by the control language model to generate the response.

### Claim 16 (depends on 11)

The system of claim 11, wherein the one or more domain-specific language models comprise a subset of domain-specific language models from the plurality of domain-specific language models and the one or more responses comprise multiple responses from different domain-specific language models of the subset of domain-specific language models, and wherein generating the response to the query comprises combining information from the multiple responses into a combined response.

### Claim 17 (depends on 11)

The system of claim 11, wherein the control language model further comprises a model configured to convert image data into text data describing the image data, wherein the query comprises visual information collected from a wellbore site, wherein at least one of selecting the one or more domain-specific language models and generating the response is further based on the visual information, wherein the visual information comprises at least one of a petrophysical log, a petrophysical map, a petrophysical chart, and a petrophysical image.

### Claim 18 (depends on 11)

The system of claim 11, wherein at least one of the control language model and one or more of the plurality of domain-specific language models comprises a transformer network, and wherein the plurality of domain-specific language models comprises at least one of a resistivity model configured to answer questions relating to resistivity, a nuclear magnetic resonance (NMR) model configured to answer questions relating to NMR, a porosity model configured to answer questions relating to porosity, a fluid contact model configured to answer questions relating to fluid contact, a permeability model configured to answer questions relating to permeability, a formation testing model configured to answer questions relating to formation testing, and a continuity model configured to answer questions relating to continuity.

### Claim 19 (depends on 11)

The system of claim 11, wherein the one or more processors are further configured to:
based on the query, perform, by each of the one or more domain-specific language models, a respective lookup in a knowledge base of petrophysics information; and
generate, by the one or more domain-specific language models, the one or more responses based on each respective lookup in the knowledge base of petrophysics information.

### Claim 20

A non-transitory computer-readable medium comprising instructions which, when executed by one or more processors, cause the one or more processors to:
receive, 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;
send, to the one or more domain-specific language models, a request to answer the query; and
generate, 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.
