IP Library › Granted Patent US 12,361,219
Granted Patent B2
US 12,361,219 · App. 18/521,805 · Granted Jul 15, 2025

Context tag integration with named entity recognition models

Inventors: Duy Vu (Melbourne, AU); Tuyen Quang Pham (Melbourne, AU); Cong Duy Vu Hoang (Wantirna South, AU); Srinivasa Phani Kumar Gadde (Fremont, CA); Thanh Long Duong (Seabrook, AU); Mark Edward Johnson (Castle Cove, AU); Vishal Vishnoi (Redwood City, CA)
Assignee: Oracle International Corporation
G06F40/295G06F40/205G06F40/279G06F40/35G06F40/40G06V30/19147
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,361,219
App. No.
18/521,805
Granted
Jul 15, 2025
Kind
B2
Abstract

Techniques are provided for using context tags in named-entity recognition (NER) models. In one particular aspect, a method is provided that includes receiving an utterance, generating embeddings for words of the utterance, generating a regular expression and gazetteer feature vector for the utterance, generating a context tag distribution feature vector for the utterance, concatenating or interpolating the embeddings with the regular expression and gazetteer feature vector and the context tag distribution feature vector to generate a set of feature vectors, generating an encoded form of the utterance based on the set of feature vectors, generating log-probabilities based on the encoded form of the utterance, and identifying one or more constraints for the utterance.

Claims (55)

1. A method comprising:

accessing an utterance comprising a plurality of tokens;

associating a token of the plurality of tokens with a plurality of candidate entities;

determining a plurality of confidence scores for the plurality of candidate entities, wherein a confidence score is determined for each candidate entity of the plurality of candidate entities;

generating a context tag distribution vector for the utterance based on the plurality of confidence scores;

generating a plurality of embeddings for the plurality of tokens;

identifying one or more constraints for the utterance based on the context tag distribution vector and the plurality of embeddings; and

identifying an intent associated with the utterance based on at least one constraint of the one or more constraints.

2. The method of claim 1 , wherein the plurality of embeddings for the plurality of tokens are generated using a transformer-based machine learning model.

3. The method of claim 1 , further comprising:

generating a feature vector for the utterance based on at least one of a regular expression pattern and a gazetteer.

4. The method of claim 3 , further comprising:

processing the context tag distribution vector, the plurality of embeddings, and the feature vector to generate a first set of feature vectors.

5. The method of claim 1 , further comprising:

generating an encoded form of the utterance based on the context tag distribution vector and the plurality of embeddings.

6. The method of claim 5 , further comprising:

generating a plurality of probabilities for the plurality of candidate entities based on the encoded form of the utterance.

7. The method of claim 1 , wherein the plurality of confidence scores for the plurality of candidate entities are determined based on a dialog comprised of a plurality of utterances.

8. A system comprising:

one or more processors; and

a memory storing instructions which, when executed by the one or more processors, cause the system to perform operations comprising:

accessing an utterance comprising a plurality of tokens;

associating a token of the plurality of tokens with a plurality of candidate entities;

determining a plurality of confidence scores for the plurality of candidate entities, wherein a confidence score is determined for each candidate entity of the plurality of candidate entities;

generating a context tag distribution vector for the utterance based on the plurality of confidence scores;

generating a plurality of embeddings for the plurality of tokens;

identifying one or more constraints for the utterance based on the context tag distribution vector and the plurality of embeddings; and

identifying an intent associated with the utterance based on at least one constraint of the one or more constraints.

9. The system of claim 8 , wherein the plurality of embeddings for the plurality of tokens are generated using a transformer-based machine learning model.

10. The system of claim 8 , further comprising:

generating a feature vector for the utterance based on at least one of a regular expression pattern and a gazetteer.

11. The system of claim 10 , further comprising:

processing the context tag distribution vector, the plurality of embeddings, and the feature vector to generate a first set of feature vectors.

12. The system of claim 8 , further comprising:

generating an encoded form of the utterance based on the context tag distribution vector and the plurality of embeddings.

13. The system of claim 12 , further comprising:

generating a plurality of probabilities for the plurality of candidate entities based on the encoded form of the utterance.

14. The system of claim 8 , wherein the plurality of confidence scores for the plurality of candidate entities are determined based on a dialog comprised of a plurality a plurality of utterances.

15. A non-transitory computer-readable medium storing instructions which, when executed by one or more processors, cause a system to perform operations comprising:

accessing an utterance comprising a plurality of tokens;

associating a token of the plurality of tokens with a plurality of candidate entities;

determining a plurality of confidence scores for the plurality of candidate entities, wherein a confidence score is determined for each candidate entity of the plurality of candidate entities;

generating a context tag distribution vector for the utterance based on the plurality of confidence scores;

generating a plurality of embeddings for the plurality of tokens;

identifying one or more constraints for the utterance based on the context tag distribution vector and the plurality of embeddings; and

identifying an intent associated with the utterance based on at least one constraint of the one or more constraints.

16. The non-transitory computer-readable medium of claim 15 , further comprising:

generating a feature vector for the utterance based on at least one of a regular expression pattern and a gazetteer.

17. The non-transitory computer-readable medium of claim 16 , further comprising:

processing the context tag distribution vector, the plurality of embeddings, and the feature vector to generate a first set of feature vectors.

18. The non-transitory computer-readable medium of claim 15 , further comprising:

generating an encoded form of the utterance based on the context tag distribution vector and the plurality of embeddings.

19. The non-transitory computer-readable medium of claim 18 , further comprising:

generating a plurality of probabilities for the plurality of candidate entities based on the encoded form of the utterance.

20. The non-transitory computer-readable medium of claim 15 , wherein the plurality of confidence scores for the plurality of candidate entities are determined based on a dialog comprised of a plurality a plurality of utterances.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Nov 30, 2023
From: VU, DUY; PHAM, TUYEN QUANG; HOANG, CONG DUY VU; GADDE, SRINIVASA PHANI KUMAR; DUONG, THANH LONG; JOHNSON, MARK EDWARD; VISHNOI, VISHAL
To: ORACLE INTERNATIONAL CORPORATION
Reel/Frame 065713/0165 →
Continuity (3)
Continuation 17648376 · Jan 19, 2022
Provisional Application 63139569 · Jan 20, 2021
Related Publication 20240095454A1 · Mar 21, 2024
References Cited (61)
US 8495042B2 · Symington · 2013 [cited by examiner]
US 8504908B2 · Chisholm · 2013 [cited by examiner]
US 9152623B2 · Wroczyński · 2015 [cited by examiner]
US 9501467B2 · Light · 2016 [cited by examiner]
US 10223445B2 · Suleman · 2019 [cited by examiner]
US 10224030B1 · Kiss · 2019 [cited by examiner]
US 10304444B2 · Mathias · 2019 [cited by examiner]
US 10417345B1 · Carlson · 2019 [cited by examiner]
US 10437936B2 · DeFelice · 2019 [cited by examiner]
US 10529031B2 · Ganesamoorthi · 2020 [cited by examiner]
US 10540446B2 · DeFelice · 2020 [cited by examiner]
US 10769387B2 · Wang · 2020 [cited by examiner]
US 10846488B2 · DeFelice · 2020 [cited by examiner]
US 10860629B1 · Gangadharaiah · 2020 [cited by examiner]
US 10902214B2 · DeFelice · 2021 [cited by examiner]
US 11194842B2 · Mota Toledo · 2021 [cited by examiner]
US 11503131B2 · Rogynskyy · 2022 [cited by examiner]
US 11669689B2 · DeFelice · 2023 [cited by examiner]
US 11868727B2 · Vu · 2024 [cited by examiner]
US 20080281827A1 · Wang · 2008 [cited by examiner]
US 20090249182A1 · Symington · 2009 [cited by examiner]
US 20110022941A1 · Osborne · 2011 [cited by examiner]
US 20110099184A1 · Symington · 2011 [cited by examiner]
US 20110320459A1 · Chisholm · 2011 [cited by examiner]
US 20120011428A1 · Chisholm · 2012 [cited by examiner]
US 20120136854A1 · Kanagasabai · 2012 [cited by examiner]
US 20120143881A1 · Baker · 2012 [cited by examiner]
US 20140136188A1 · Wroczynski · 2014 [cited by examiner]
US 20150019571A1 · Baker · 2015 [cited by examiner]
US 20150081279A1 · Suleman · 2015 [cited by examiner]
US 20160062982A1 · Wroczynski · 2016 [cited by examiner]
US 20160188601A1 · Ganesamoorthi · 2016 [cited by examiner]
US 20170278514A1 · Mathias · 2017 [cited by examiner]
US 20180157958A1 · Fourney · 2018 [cited by examiner]
US 20190205463A1 · Santhanam · 2019 [cited by examiner]
US 20190220471A1 · Mota Toledo · 2019 [cited by examiner]
US 20190236139A1 · DeFelice · 2019 [cited by examiner]
US 20190236148A1 · DeFelice · 2019 [cited by examiner]
US 20200110809A1 · DeFelice · 2020 [cited by examiner]
US 20200151396A1 · DeFelice · 2020 [cited by examiner]
US 20200403944A1 · Joshi · 2020 [cited by examiner]
US 20210064821A1 · Seth · 2021 [cited by examiner]
US 20210192143A1 · DeFelice · 2021 [cited by examiner]
US 20210287156A1 · Rogynskyy · 2021 [cited by examiner]
US 20220229993A1 · Vu · 2022 [cited by examiner]
US 20230205999A1 · Pham · 2023 [cited by examiner]
US 20240095454A1 · Vu · 2024 [cited by examiner]
CN 109858030A · 2019 [cited by examiner]
CN 111291565A · 2020 [cited by examiner]
CN 111400481A · 2020 [cited by examiner]
CN 111656366A · 2020 [cited by examiner]
CN202280010945.4 , “Notice of Decision to Grant”, Apr. 28, 2024, 7 pages. [cited by applicant]
U.S. Appl. No. 17/648,376, Notice of Allowance, Mailed on Sep. 27, 2023, 12 pages. [cited by applicant]
Chiu et al., “Named Entity Recognition with Bidirectional LSTM-CNNs”, Transactions of the Association for Computational Linguistics, Jul. 19, 2016, 14 pages. [cited by applicant]
Dai et al., “Named Entity Recognition Using BERT BiLSTM CRF for Chinese Electronic Health Records”, 2019 12th International Congress on Image and Signal Processing, BioMedical Engineering and Informatics (CISP-BMEI), Oc… [cited by applicant]
Gu et al., “Named Entity Recognition in Judicial Field Based on BERT-BILSTM-CRF Model”, 2020 International Workshop on Electronic Communication and Artificial Intelligence (IWECAI), pp. 170-174, Jun. 1, 2020. [cited by applicant]
Huang et al., “Bidirectional LSTM-CRF Models for Sequence Tagging”, Computer Science, arXiv:1508.01991 [cs.CL], Available Online at: https://arxiv.org/abs/1508.01991, Aug. 9, 2015, 10 pages. [cited by applicant]
Magnolini et al., “How to Use Gazetteers for Entity Recognition with Neural Models”, Proceedings of the 5th Workshop on Semantic Deep Learning (SemDeep-5), Available Online at: https://aclanthology.org/W19-5807.pdf, Aug… [cited by applicant]
International Application No. PCT/US2022/012972, International Preliminary Report on Patentability, Mailed on Aug. 3, 2023, 5 pages. [cited by applicant]
International Application No. PCT/US2022/012972, International Search Report and Written Opinion, Mailed on May 3, 2022, 8 pages. [cited by applicant]
Wu et al., “Detecting Entities of Works for Chinese Chatbot”, ACM Transactions on Asian and Low-Resource Language Information Processing, vol. 19, No. 6, Nov. 2020, pp. 1-13. [cited by applicant]