# US 2022/0284191 A1 · Neural tagger with deep multi-level model

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

- Number: US 2022/0284191 A1
- Document ID: US20220284191A1
- Status: Published application
- Kind: A1
- Application number: 17/194,118
- Filed: 2021-03-05
- Published: 2022-09-08
- Earliest claimed: 2021-03-05
- Assignees: Microsoft Technology Licensing, LLC
- Applicants: Microsoft Technology Licensing, LLC
- Inventors: Yuwei QIU; Gonzalo ANIANO PORCILE; Yu GAN; Qin Iris WANG; Haichao WEI; Huiji GAO
- Web page: https://patentgrep.com/patent/US20220284191A1

## CPC

- G06F 40/295: Named entity recognition
- G06F 40/30: Semantic analysis
- G06F 16/353: into predefined classes
- G06F 16/953: Querying, e.g. by the use of web search engines
- G06F 40/126: Character encoding
- G06F 40/216: using statistical methods
- G06F 40/284: Lexical analysis, e.g. tokenisation or collocates
- G06F 40/35: Discourse or dialogue representation
- G06N 3/0442: characterised by memory or gating, e.g. long short-term memory [LSTM] or gated recurrent units [GRU]
- G06N 3/045: Combinations of networks
- G06N 3/0455: Auto-encoder networks; Encoder-decoder networks
- G06N 3/08: Learning methods
- G06N 3/09: Supervised learning
- G06N 3/096: Transfer learning
- G06N 7/01: Probabilistic graphical models, e.g. probabilistic networks
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

Embodiments of the described technologies are capable of reading a text sequence that include at least one word; extracting model input data from the text sequence, where the model input data includes, for each word of the text sequence, segment data and non-segment data; using a first machine learning model and at least one second machine learning model, generating, for each word of the text sequence, a multi-level feature set; outputting, by a third machine learning model, in response to input to the third machine learning model of the multi-level feature set, a tagged version of the text sequence; executing a search based at least in part on the tagged version of the text sequence.

## Claims

### Claim 1

A method comprising, by an information retrieval system:
reading a text sequence that comprises at least one word;
extracting model input data from the text sequence, wherein the model input data comprises, for each word of the text sequence, segment data and non-segment data;
using a first machine learning model and at least one second machine learning model, generating, for each word of the text sequence, a multi-level feature set;
outputting, by a third machine learning model, in response to input to the third machine learning model of the multi-level feature set, a tagged version of the text sequence;
executing a search based at least in part on the tagged version of the text sequence.

### Claim 2 (depends on 1)

The method of claim 1, the segment data generated by determining a text sequence length threshold and a segment length threshold, and, if a length of the text sequence is less than or equal to the text sequence length threshold, for each word of the text sequence, generating a plurality of segments of the text sequence that each are less than or equal to the segment length threshold.

### Claim 3 (depends on 1)

The method of claim 1, the non-segment data comprising, for each word of the text sequence, at least one of (i) character-level data extracted from the word, (ii) word-level data extracted from the word, or (iii) any combination of (i) and (ii).

### Claim 4 (depends on 1)

The method of claim 1, the multi-level feature set comprising, for each word of the text sequence, at least two different-level feature subsets; the at least two different-level feature subsets comprising at least one segment-level feature subset and at least one non-segment-level feature subset.

### Claim 5 (depends on 4)

The method of claim 4, a segment-level feature subset of the at least two different-level feature subsets output by the first machine learning model in response to input to the first machine learning model, of the segment data.

### Claim 6 (depends on 4)

The method of claim 4, at least one of the at least two different-level feature subsets output by the at least one second machine learning model in response to input, to the at least one second machine learning model, of at least one of the segment data and the non-segment data.

### Claim 7 (depends on 1)

The method of claim 1, the first machine learning model trained on segment training data generated by determining a text sequence length threshold and a segment length threshold, and, for segment training data having a length less than or equal to the text sequence length threshold, generating a plurality of segments of the segment training data that each are less than or equal to the segment length threshold.

### Claim 8 (depends on 1)

The method of claim 1, the third machine learning model generating the tagged version of the text sequence by grouping words of the text sequence according to matching tags.

### Claim 9

A method comprising, by a device operating a software-based service:
determining a text sequence obtained from a software application;
the text sequence comprising at least one word;
extracting model input data from the text sequence, wherein the model input data comprises, for each word of the text sequence, segment data and non-segment data;
by a first machine learning model and at least one second machine learning model, generating a multi-level feature set in response to the model input data;
outputting, by a third machine learning model, in response to input of the multi-level feature set to the third machine learning model, a tagged version of the text sequence for processing by the software application.

### Claim 10 (depends on 9)

The method of claim 9, the multi-level feature set comprising tag prediction data; the tag prediction data output by a fourth machine learning model in response to input to the fourth machine learning model, of output of at least one of (i) a segment-level deep neural network model, (ii) a word-level deep neural network model, (iii) a character-level deep neural network model, (iv) any combination of (i), (ii), (iii), (iv).

### Claim 11 (depends on 9)

The method of claim 9, the multi-level feature set comprising tag prediction data; the tag prediction data output by a statistical model in response to input, to the statistical model of at least one of (i) the segment data, (ii) word-level data of the non-segment data, (iii) both (i) and (ii).

### Claim 12 (depends on 9)

The method of claim 9, the multi-level feature set comprising first tag prediction data and second tag prediction data; the first tag prediction data output by a fourth machine learning model in response to input, to the fourth machine learning model, of output of at least one of (i) a segment-level deep neural network model, (ii) a word-level deep neural network model, (iii) a character-level deep neural network model, (iv) any combination of (i), (ii), (iii); the second tag prediction data output by a statistical model in response to input, to the statistical model of at least one of (v) the segment data, (vi) word-level data of the non-segment data, (vii) both (v) and (vi).

### Claim 13 (depends on 9)

The method of claim 9, the multi-level feature set comprising tag prediction data; the tag prediction data output by a fourth machine learning model in response to input, to the fourth machine learning model, of output of at least two of (i) a segment-level deep neural network model, (ii) a word-level deep neural network model, (iii) a character-level deep neural network model, (iv) any combination of (i), (ii), (iii).

### Claim 14 (depends on 9)

The method of claim 9, the multi-level feature set comprising tag prediction data; the tag prediction data output by a statistical model in response to input, to the statistical model of the segment data and word-level data of the non-segment data.

### Claim 15 (depends on 9)

The method of claim 9, the multi-level feature set comprising first tag prediction data and second tag prediction data; the first tag prediction data output by a fourth machine learning model in response to input, to the fourth machine learning model, of output of a segment-level deep neural network model and output of a word-level deep neural network model and output of a character-level deep neural network model; the second tag prediction data output by a statistical model in response to input, to the statistical model of the segment data and word-level data of the non-segment data.

### Claim 16

A system, comprising:
at least one processor;
at least one computer memory operably coupled to the at least one processor;
the at least one computer memory configured according to a multi-level model;
the multi-level model comprising a first machine learning model;
the first machine learning model comprising a deep neural network trained on segment training data;
the segment training data generated by determining a text sequence length threshold and a segment length threshold, and, for text sequence training data having a length less than or equal to the text sequence length threshold, generating a plurality of segments of the text sequence training data that each are less than or equal to the segment length threshold.

### Claim 17 (depends on 16)

The system of claim 16, the multi-level model further comprising at least one second machine learning model; a second machine learning model of the at least one second machine learning model comprising a statistical model configured to be communicatively coupled to a pre-determined lexicon.

### Claim 18 (depends on 17)

The system of claim 17, an input of the statistical model capable of being communicatively coupled to an output of a segmentation mechanism; the segmentation mechanism capable of generating segment data from a text sequence by determining a text sequence length threshold and a segment length threshold, and, if the text sequence has a length that is less than or equal to the text sequence length threshold, generating a plurality of segments of the text sequence that each are less than or equal to the segment length threshold.

### Claim 19 (depends on 17)

The system of claim 17, the at least one second machine learning model further comprising at least one deep neural network trained on non-segment data; the non-segment data comprising at least one of word-level data extracted from the text sequence training data and character-level data extracted from the text sequence training data.

### Claim 20 (depends on 19)

The system of claim 19, the multi-level model further comprising a third machine learning model; an input of the third machine learning model configured to be communicatively coupled to an output of the first machine learning model and an output of the at least one deep neural network trained on non-segment data.
