# US 2025/0209265 A1 · Hierarchical and extensible language model inference

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

- Number: US 2025/0209265 A1
- Document ID: US20250209265A1
- Status: Published application
- Kind: A1
- Application number: 18/393,627
- Filed: 2023-12-21
- Published: 2025-06-26
- Earliest claimed: 2023-12-21
- Assignees: Intuit Inc.
- Applicants: Intuit Inc.
- Inventors: Jineet Hiren DOSHI; Maya Vered LIVSHITS; Pragya TRIPATHI
- Web page: https://patentgrep.com/patent/US20250209265A1

## CPC

- G06F 40/242: Dictionaries
- G06F 16/3344: {using natural language analysis}
- G06F 40/20: Natural language analysis (semantic analysis of natural language G06F40/30)
- G06F 40/30: Semantic analysis
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

At least one processor can receive an indication of processing to be performed in a natural language processing (NLP) machine learning (ML) pipeline, determine a first model class and a second model class for the processing. The first model class can be at a first hierarchical level of an ML hierarchy schema, and the second model class can be at a second hierarchical level of the ML hierarchy schema. The at least one processor can prepare a dictionary in a memory in communication with the at least one processor, which can comprise populating the dictionary with all required artifacts of the first model class and a subset of required artifacts of the second model class, wherein the second model class requires at least one of the required artifacts of the first model class. The at least one processor can perform NLP on text using the ML model and the dictionary.

## Claims

### Claim 1

A method comprising:
receiving, by at least one processor, an indication of processing to be performed in a natural language processing (NLP) machine learning (ML) pipeline;
determining, by the at least one processor, a first model class encompassing a first portion of the processing, wherein the first model class is at a first hierarchical level of an ML hierarchy schema;
determining, by the at least one processor, a second model class encompassing the second portion of the processing, wherein the second model class is at a second hierarchical level of the ML hierarchy schema beneath the first level and indicates an ML model to be used in the NLP ML pipeline;
preparing, by the at least one processor, a dictionary in a memory in communication with the at least one processor, the preparing comprising populating the dictionary with all required artifacts of the first model class and a subset of required artifacts of the second model class, wherein the second model class requires at least one of the required artifacts of the first model class; and
performing, by the at least one processor, NLP on a text using the ML model and the dictionary.

### Claim 2 (depends on 1)

The method of claim 1, wherein the first model class defines required artifacts common to a ML model category.

### Claim 3 (depends on 1)

The method of claim 1, wherein the second model class defines required artifacts specific to a deployable ML model.

### Claim 4 (depends on 1)

The method of claim 1, wherein the first model class includes instructions for the preparing and the performing that are executed by the at least one processor.

### Claim 5 (depends on 1)

The method of claim 1, wherein the ML hierarchy schema arranges a plurality of ML models hierarchically according to model class, such that a base level for a model class defines all artifacts common to the model class, and at least one level below the base level for the model class defines artifacts specific to a particular ML model of the model class.

### Claim 6 (depends on 1)

The method of claim 1, wherein the ML hierarchy schema is stored in the memory, and wherein determining the first model class and determining the second model class each respectively comprise referencing the ML hierarchy schema stored in the memory to identify the required artifacts.

### Claim 7 (depends on 6)

The method of claim 6, further comprising modifying, by the at least one processor, the ML hierarchy schema stored in the memory, the modifying comprising:
determining a set of required artifacts used by a new model;
determining a parent hierarchical level for the new model, the parent hierarchical level representing a parent class including a parent set of required artifacts consisting of at least one, and fewer than all, of the required artifacts; and
creating a child hierarchical level of the ML hierarchy schema beneath the parent level and assigning the new model to the child hierarchical level, the creating comprising designating all required artifacts excluded from the parent set of required artifacts as a child set of required artifacts.

### Claim 8

A method comprising:
determining, by at least one processor, a set of required artifacts used by a new model to perform processing in a natural language processing (NLP) machine learning (ML) pipeline;
determining, by the at least one processor, a parent hierarchical level of an ML hierarchy schema, the parent hierarchical level representing a parent class including a parent set of required artifacts consisting of at least one, and fewer than all, of the required artifacts;
creating, by the at least one processor, a child hierarchical level of the ML hierarchy schema beneath the parent level and assigning the new model to the child hierarchical level, the creating comprising designating all required artifacts excluded from the parent set of required artifacts as a child set of required artifacts;
receiving, by at least one processor, an indication of processing to be performed in the NLP ML pipeline by the new model;
preparing, by the at least one processor, a dictionary in a memory in communication with the at least one processor, the preparing comprising populating the dictionary with the parent set of required artifacts and the child set of required artifacts; and
performing, by the at least one processor, NLP on a text using the new model and the dictionary.

### Claim 9 (depends on 8)

The method of claim 8, wherein the parent model class defines required artifacts common to a ML model category.

### Claim 10 (depends on 8)

The method of claim 8, wherein the child model class defines required artifacts specific to a deployable ML model.

### Claim 11 (depends on 8)

The method of claim 8, wherein the parent model class includes instructions for the preparing and the performing that are executed by the at least one processor.

### Claim 12 (depends on 8)

The method of claim 8, wherein the ML hierarchy schema arranges a plurality of ML models hierarchically according to model class, such that a base level for a model class defines all artifacts common to the model class, and at least one level below the base level for the model class defines artifacts specific to a particular ML model of the model class.

### Claim 13 (depends on 8)

The method of claim 8, wherein the ML hierarchy schema is stored in the memory, determining the parent hierarchical level comprises referencing the ML hierarchy schema stored in the memory to identify the required artifacts, and creating the second hierarchical level comprises adding the child set of required artifacts to the ML hierarchy schema stored in the memory.

### Claim 14

A system comprising:
at least one processor; and
at least one non-transitory computer-readable memory storing a machine learning (ML) hierarchy schema and instructions that, when executed by the at least one processor, cause the at least one processor to perform processing comprising:
receiving an indication of processing to be performed in a natural language processing (NLP) ML pipeline;
determining a first model class encompassing a first portion of the processing, wherein the first model class is at a first hierarchical level of the ML hierarchy schema;
determining a second model class encompassing the second portion of the processing, wherein the second model class is at a second hierarchical level of the ML hierarchy schema beneath the first level and indicates an ML model to be used in the NLP ML pipeline;
preparing a dictionary in the memory, the preparing comprising populating the dictionary with all required artifacts of the first model class and a subset of required artifacts of the second model class, wherein the second model class requires at least one of the required artifacts of the first model class; and
performing NLP on a text using the ML model and the dictionary.

### Claim 15 (depends on 14)

The system of claim 14, wherein the first model class defines required artifacts common to a ML model category.

### Claim 16 (depends on 14)

The system of claim 14, wherein the second model class defines required artifacts specific to a deployable ML model.

### Claim 17 (depends on 14)

The system of claim 14, wherein the first model class includes instructions for the preparing and the performing that are executed by the at least one processor.

### Claim 18 (depends on 14)

The system of claim 14, wherein the ML hierarchy schema arranges a plurality of ML models hierarchically according to model class, such that a base level for a model class defines all artifacts common to the model class, and at least one level below the base level for the model class defines artifacts specific to a particular ML model of the model class.

### Claim 19 (depends on 14)

The system of claim 14, wherein determining the first model class and determining the second model class each respectively comprise referencing the ML hierarchy schema stored in the memory to identify the required artifacts.

### Claim 20 (depends on 19)

The system of claim 19, wherein the instructions further cause the at least one processor to perform processing comprising modifying the ML hierarchy schema stored in the memory, the modifying comprising:
determining a set of required artifacts used by a new model;
determining a parent hierarchical level for the new model, the parent hierarchical level representing a parent class including a parent set of required artifacts consisting of at least one, and fewer than all, of the required artifacts; and
creating a child hierarchical level of the ML hierarchy schema beneath the parent level and assigning the new model to the child hierarchical level, the creating comprising designating all required artifacts excluded from the parent set of required artifacts as a child set of required artifacts.
