-
公开(公告)号:US11836451B2
公开(公告)日:2023-12-05
申请号:US17179933
申请日:2021-02-19
Applicant: salesforce.com, inc.
Inventor: Victor Zhong , Caiming Xiong
Abstract: A method for maintaining a dialogue state associated with a dialogue between a user and a digital system includes receiving, by a dialogue state tracker associated with the digital system, a representation of a user communication, updating, by the dialogue state tracker, the dialogue state and providing a system response based on the updated dialogue state. The dialogue state is updated by evaluating, based on the representation of the user communication, a plurality of member scores corresponding to a plurality of ontology members of an ontology set, and selecting, based on the plurality of member scores, zero or more of the plurality of ontology members to add to or remove from the dialogue state. The dialogue state tracker includes a global-local encoder that includes a global branch and a local branch, the global branch having global trained parameters that are shared among the plurality of ontology members and the local branch having local trained parameters that are determined separately for each of the plurality of ontology members.
-
公开(公告)号:US11749264B2
公开(公告)日:2023-09-05
申请号:US17088206
申请日:2020-11-03
Applicant: salesforce.com, inc.
Inventor: Chien-Sheng Wu , Chu Hong Hoi , Richard Socher , Caiming Xiong
CPC classification number: G10L15/1815 , G10L15/063 , G10L15/1822
Abstract: Embodiments described herein provide methods and systems for training task-oriented dialogue (TOD) language models. In some embodiments, a TOD language model may receive a TOD dataset including a plurality of dialogues and a model input sequence may be generated from the dialogues using a first token prefixed to each user utterance and a second token prefixed to each system response of the dialogues. In some embodiments, the first token or the second token may be randomly replaced with a mask token to generate a masked training sequence and a masked language modeling (MLM) loss may be computed using the masked training sequence. In some embodiments, the TOD language model may be updated based on the MLM loss.
-
公开(公告)号:US11720559B2
公开(公告)日:2023-08-08
申请号:US17064466
申请日:2020-10-06
Applicant: salesforce.com, inc.
Inventor: Xi Lin , Caiming Xiong
IPC: G06F16/30 , G06F16/2452 , G06F16/21 , G06F16/22 , G06N3/088 , G06F16/242 , G06N3/044 , G06N3/045
CPC classification number: G06F16/24522 , G06F16/212 , G06F16/2282 , G06F16/243 , G06N3/044 , G06N3/045 , G06N3/088
Abstract: A text-to-database neural network architecture is provided. The architecture receives a natural language question and a database schema and generates a serialized question-schema representation that includes a question and at least one table and at least one field from the database schema. The serialized question-schema representation is appended with at least one value that matches a word in the natural language question and at least one field in a database picklist. An encoder in the architecture generates question and schema encodings from the appended question-schema representation. Schema encodings are associated with metadata that indicates a data type of the fields and whether fields are associated with primary or foreign keys. A decoder in the architecture generates an executable query from the question encodings and schema encodings.
-
104.
公开(公告)号:US11687588B2
公开(公告)日:2023-06-27
申请号:US16531343
申请日:2019-08-05
Applicant: salesforce.com, inc.
Inventor: Mingfei Gao , Richard Socher , Caiming Xiong
IPC: G06F16/735 , G06F16/73 , G06V10/82 , G06F16/74 , G06V20/40 , G06F17/10 , G06N3/08 , G06F40/47 , G06F18/21 , G06V10/44
CPC classification number: G06F16/735 , G06F16/73 , G06F17/10 , G06F18/2185 , G06F40/47 , G06N3/08 , G06V10/82 , G06V20/41 , G06V20/49 , G06V10/454 , G06V20/44 , G06V20/46
Abstract: Systems and methods are provided for weakly supervised natural language localization (WSNLL), for example, as implemented in a neural network or model. The WSNLL network is trained with long, untrimmed videos, i.e., videos that have not been temporally segmented or annotated. The WSNLL network or model defines or generates a video-sentence pair, which corresponds to a pairing of an untrimmed video with an input text sentence. According to some embodiments, the WSNLL network or model is implemented with a two-branch architecture, where one branch performs segment sentence alignment and the other one conducts segment selection. These methods and systems are specifically used to predict how a video proposal matches a text query using respective visual and text features.
-
公开(公告)号:US11669699B2
公开(公告)日:2023-06-06
申请号:US17010465
申请日:2020-09-02
Applicant: salesforce.com, inc.
Inventor: Congying Xia , Caiming Xiong
IPC: G06F40/56 , G06F16/9032 , G06F40/284 , G06N20/00 , G06F40/30 , G06N7/01
CPC classification number: G06F40/56 , G06F16/90332 , G06F40/284 , G06F40/30 , G06N7/01 , G06N20/00
Abstract: Embodiments described herein provide a composed variational natural language generation (CLANG) model that is configured to generate training samples for few-shot intents. Specifically, the CLANG model may build connections between existing training samples of many-shot intents and new training samples of few-shot intents by modeling an intent as a combination of a domain and an action. In this way, the CLANG model transfers knowledge from existing many-shot intents to few-shot intents in natural language generation by learning how to compose utterances with many-shot intents and transferring such knowledge to few-shot intents.
-
公开(公告)号:US11651158B2
公开(公告)日:2023-05-16
申请号:US16993256
申请日:2020-08-13
Applicant: salesforce.com, inc.
Inventor: Xinyi Yang , Tian Xie , Caiming Xiong , Wenhao Liu , Huan Wang , Jin Qu , Soujanya Lanka , Chu Hong Hoi , Xugang Ye , Feihong Wu
IPC: G10L15/05 , G06F40/295 , G06F40/35 , G06N3/04 , H04L51/02
CPC classification number: G06F40/295 , G06F40/35 , G06N3/04 , H04L51/02
Abstract: A system performs conversations with users using chatbots customized for performing a set of tasks. The system may be a multi-tenant system that allows customization of the chatbots for each tenant. The system receives a task configuration that maps tasks to entity types and an entity configuration that specifies methods for determining entities of a particular entity type. The system receives a user utterance and determines the intent of the user using an intent detection model, for example, a neural network. The intent represents a task that the user is requesting. The system determines one or more entities corresponding to the task. The system performs tasks based on the determined intent and the entities and performs conversations with users based on the tasks.
-
公开(公告)号:US11645509B2
公开(公告)日:2023-05-09
申请号:US16176419
申请日:2018-10-31
Applicant: salesforce.com, inc.
Inventor: Yingbo Zhou , Xilai Li , Caiming Xiong
Abstract: Embodiments for training a neural network using sequential tasks are provided. A plurality of sequential tasks are received. For each task in the plurality of tasks a copy of the neural network that includes a plurality of layers is generated. From the copy of the neural network a task specific neural network is generated by performing an architectural search on the plurality of layers in the copy of the neural network. The architectural search identifies a plurality of candidate choices in the layers of the task specific neural network. Parameters in the task specific neural network that correspond to the plurality of candidate choices and that maximize architectural weights at each layer are identified. The parameters are retrained and merged with the neural network. The neural network trained on the plurality of sequential tasks is a trained neural network.
-
公开(公告)号:US11631009B2
公开(公告)日:2023-04-18
申请号:US16051309
申请日:2018-07-31
Applicant: salesforce.com, inc.
Inventor: Xi Victoria Lin , Caiming Xiong , Richard Socher
IPC: G06N20/00 , G06N5/04 , G06N3/04 , G06N3/08 , G06F16/903 , G06F16/901
Abstract: Approaches for multi-hop knowledge graph reasoning with reward shaping include a system and method of training a system to search relational paths in a knowledge graph. The method includes identifying, using an reasoning module, a plurality of first outgoing links from a current node in a knowledge graph, masking, using the reasoning module, one or more links from the plurality of first outgoing links to form a plurality of second outgoing links, rewarding the reasoning module with a reward of one when a node corresponding to an observed answer is reached, and rewarding the reasoning module with a reward identified by a reward shaping network when a node not corresponding to an observed answer is reached. In some embodiments, the reward shaping network is pre-trained.
-
公开(公告)号:US20230073754A1
公开(公告)日:2023-03-09
申请号:US17586451
申请日:2022-01-27
Applicant: salesforce.com, inc.
Inventor: Yongjun Chen , Zhiwei Liu , Jia Li , Caiming Xiong
IPC: G06K9/62
Abstract: Embodiments described herein provides an intent prototypical contrastive learning framework that leverages intent similarities between users with different behavior sequences. Specifically, user behavior sequences are encoded into a plurality of user interest representations. The user interest representations are clustered into a plurality of clusters based on mutual distances among the user interest representations in a representation space. Intention prototypes are determined based on centroids of the clusters. A set of augmented views for user behavior sequences are created and encoded into a set of view representations. A contrastive loss is determined based on the set of augmented views and the plurality of intention prototypes. Model parameters are updated based at least in part on the contrastive loss.
-
公开(公告)号:US11580977B2
公开(公告)日:2023-02-14
申请号:US17037556
申请日:2020-09-29
Applicant: salesforce.com, inc.
Inventor: Xinyi Yang , Tian Xie , Caiming Xiong , Wenhao Liu , Huan Wang , Kazuma Hashimoto , Yingbo Zhou , Xugang Ye , Jin Qu , Feihong Wu
Abstract: A conversation engine performs conversations with users using chatbots customized for performing a set of tasks that can be performed using an online system. The conversation engine loads a chatbot configuration that specifies the behavior of a chatbot including the tasks that can be performed by the chatbot, the types of entities relevant to each task, and so on. The conversation may be voice based and use natural language. The conversation engine may load different chatbot configurations to implement different chatbots. The conversation engine receives a conversation engine configuration that specifies the behavior of the conversation engine across chatbots. The system may be a multi-tenant system that allows customization of the chatbots for each tenant.
-
-
-
-
-
-
-
-
-