US 11,816,440 B2
Method and apparatus for determining user intent
Ling Li, Hangzhou (CN); Zhiwei Shi, Hangzhou (CN); and Yanjie Liang, Hangzhou (CN)
Assigned to ALIBABA GROUP HOLDING LIMITED, Grand Cayman (KY)
Filed by Alibaba Group Holding Limited, Grand Cayman (KY)
Filed on Oct. 21, 2022, as Appl. No. 17/971,047.
Application 17/971,047 is a continuation of application No. 16/352,159, filed on Mar. 13, 2019, granted, now 11,514,245.
Claims priority of application No. 201810580483.5 (CN), filed on Jun. 7, 2018.
Prior Publication US 2023/0044981 A1, Feb. 9, 2023
This patent is subject to a terminal disclaimer.
Int. Cl. G06F 40/30 (2020.01); G06F 40/216 (2020.01); G06V 30/262 (2022.01); G06F 18/24 (2023.01); G06V 30/40 (2022.01); G06V 30/148 (2022.01); G06V 10/40 (2022.01)
CPC G06F 40/30 (2020.01) [G06F 18/24 (2023.01); G06F 40/216 (2020.01); G06V 10/40 (2022.01); G06V 30/153 (2022.01); G06V 30/274 (2022.01); G06V 30/40 (2022.01)] 20 Claims
OG exemplary drawing
 
1. A method comprising:
obtaining, by a processor, a session text of a user;
calculating, by the processor, a feature vector based on the session text by:
identifying a word segment set corresponding to the session text, the word segment set comprising a plurality of word segments,
calculating a weight value for each of the plurality of word segments,
determining a word vector for each of the plurality of word segments,
determining a text vector corresponding to the session text based on the word vector of each of the plurality of word segments and corresponding weight values, and
using the feature vector as the text vector;
determining, by the processor, probabilities, based on the feature vector, that the session text belongs to a plurality of intent labels, the probabilities calculated using a hierarchal intent classification model comprising multiple classifiers associated with multiple tiers of a hierarchal intent system, the plurality of intent labels associated with levels in the hierarchal intent system, wherein the multiple classifiers are trained using user session text data labeled with the plurality of intent labels; and
determining, by the processor, a user intent to the session text based on the probabilities.