Salesforce.com Patent Grants

Performance measurement mechanism

Granted: April 25, 2023
Patent Number: 11636067
Techniques and structures to prevent exhaustion of a database connection pool, including receiving a plurality of events from a plurality of application servers operating as a database connection pool, categorizing each of the plurality of events, including generating a categorization message for each of the plurality events, wherein each categorization message includes one or more fields having contextual information to identify an event type to which an event is associated, analyzing…

Multi-hop knowledge graph reasoning with reward shaping

Granted: April 18, 2023
Patent Number: 11631009
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…

Rule-based scoring for APIs

Granted: April 18, 2023
Patent Number: 11630664
Disclosed herein are system, method, and computer program product embodiments for facilitating access to and incorporation of APIs within an application during development, while ensuring that the API satisfies quality constraints. These quality constraints are controlled by the application of rules, which result in a maturity score for the API, in accordance with embodiments. These rules may be provided by a variety of sources for use in scoring the API at various stages. For example, a…

Selection of object recognition models for computer vision

Granted: April 11, 2023
Patent Number: 11625929
Disclosed herein are system, method, and computer program product embodiments for compliance auditing using cloud based computer vision. In one aspect, a system is configured to receive, from a mobile device, a compliance audit request to at least recognize one or more products within the audit image. The system is further configured to select a first object recognition model having a first associated object recognition model identifier from a model selection list based at least on a…

Systems and methods for composed variational natural language generation

Granted: April 11, 2023
Patent Number: 11625543
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…

Data integrity procedure

Granted: April 11, 2023
Patent Number: 11625503
Techniques are disclosed relating to ensuring data integrity between database objects. A computer system may receive a data integrity request for a first set of database tables. The computer system may generate at least two work items that correspond to respective data cell groups in the first set of database tables. The computer system may then cause a plurality of processes to perform the at least two work items to generate a first plurality of hash values that includes hash values for…

Systems and methods for query autocompletion

Granted: April 11, 2023
Patent Number: 11625436
Embodiments described herein provide a query autocompletion (QAC) framework at subword level. Specifically, the QAC framework employs a subword encoder that encodes or converts the sequence of input alphabet letters into a sequence of output subwords. The generated subword candidate sequences from the subword encoder is then for the n-gram language model to perform beam search on. For example, as user queries for search engines are in general short, e.g., ranging from 10 to 30…

Fast skip list purge

Granted: April 11, 2023
Patent Number: 11625386
Techniques are disclosed relating to efficiently managing skip list data structures. In some embodiments, a computing system stores a skip list including a plurality of key-value records that include one or more pointers to others of the plurality of key-value records. The computing system scans the plurality of key-value records in key order to identify key-value records to be purged from the skip list. The scanning includes maintaining a list of key-value records that include pointers…

Data flow retyping for functional programming languages

Granted: April 11, 2023
Patent Number: 11625226
The type system of a functional programming language, such as DataWeave and/or the like, may be extended to add valuable semantic information to data types (e.g., attributes of data that inform a compiler/interpreter how the data should be used, etc.) that is automatically generated and/or hidden from a developer/programmer. For example, the type system may be configured for flow typing, based on a graph of type dependencies between expressions, without modifying an existing…

Solving sparse reward tasks using self-balancing shaped rewards

Granted: April 4, 2023
Patent Number: 11620572
Approaches for using self-balancing shaped rewards include randomly selecting a start and goal state, traversing first and second trajectories for moving from the start state toward the goal state where a first terminal state of the first trajectory is closer to the goal state than a second terminal state of the second trajectory, updating rewards for the first and trajectories using a self-balancing reward function based the terminal states of the other trajectory, determining a…

Multi-task knowledge distillation for language model

Granted: April 4, 2023
Patent Number: 11620515
Systems and methods are provided that employ knowledge distillation under a multi-task learning setting. In some embodiments, the systems and methods are implemented with a larger teacher model and a smaller student model, each of which comprise one or more shared layers and a plurality of task layers for performing multiple tasks. During training of the teacher model, its shared layers are initialized, and then the teacher model is multi-task refined. The teacher model predicts teacher…

System and method for flow runtime versioning

Granted: April 4, 2023
Patent Number: 11620124
Described is a method in a cloud-based system for implementing changes to flow engine software that executes user-specific flows for a plurality of users. The method includes: receiving a request to load and execute a user-specific flow; identifying an API version identifier for the user-specific flow; loading the user-specific flow; determining whether a software change to the flow engine software should be applied when executing the user-specific flow based on the API version…

Responsive self-service template

Granted: April 4, 2023
Patent Number: 11620114
The technology disclosed relates to a self-service customization protocol for a single page website that implements a support component add-in to a CRM website. The protocol may be configured to customize support component add-in code for the CRM website, in some embodiments, at least by customization instructions applicable to the at least one page element of the support component add-in to the CRM website. In some embodiments, the at least one page element may be configured to search…

Solving sparse reward tasks using self-balancing shaped rewards

Granted: April 4, 2023
Patent Number: 11620572
Approaches for using self-balancing shaped rewards include randomly selecting a start and goal state, traversing first and second trajectories for moving from the start state toward the goal state where a first terminal state of the first trajectory is closer to the goal state than a second terminal state of the second trajectory, updating rewards for the first and trajectories using a self-balancing reward function based the terminal states of the other trajectory, determining a…

Multi-task knowledge distillation for language model

Granted: April 4, 2023
Patent Number: 11620515
Systems and methods are provided that employ knowledge distillation under a multi-task learning setting. In some embodiments, the systems and methods are implemented with a larger teacher model and a smaller student model, each of which comprise one or more shared layers and a plurality of task layers for performing multiple tasks. During training of the teacher model, its shared layers are initialized, and then the teacher model is multi-task refined. The teacher model predicts teacher…

System and method for flow runtime versioning

Granted: April 4, 2023
Patent Number: 11620124
Described is a method in a cloud-based system for implementing changes to flow engine software that executes user-specific flows for a plurality of users. The method includes: receiving a request to load and execute a user-specific flow; identifying an API version identifier for the user-specific flow; loading the user-specific flow; determining whether a software change to the flow engine software should be applied when executing the user-specific flow based on the API version…

Responsive self-service template

Granted: April 4, 2023
Patent Number: 11620114
The technology disclosed relates to a self-service customization protocol for a single page website that implements a support component add-in to a CRM website. The protocol may be configured to customize support component add-in code for the CRM website, in some embodiments, at least by customization instructions applicable to the at least one page element of the support component add-in to the CRM website. In some embodiments, the at least one page element may be configured to search…

Asynchronous search for big objects

Granted: March 28, 2023
Patent Number: 11615105
Techniques and systems for completing a database query. A time to complete a synchronous query in response to receiving an original database query is estimated by a database management system provided by one or more computing devices. A synchronous database query corresponding to the original database query is performed with the database management system if the estimated time to complete the synchronous query is less than a pre-selected threshold time. One or more asynchronous queries…

Multitask learning as question answering

Granted: March 28, 2023
Patent Number: 11615249
Approaches for multitask learning as question answering include an input layer for encoding a context and a question, a self-attention based transformer including an encoder and a decoder, a first bi-directional long-term short-term memory (biLSTM) for further encoding an output of the encoder, a long-term short-term memory (LSTM) for generating a context-adjusted hidden state from the output of the decoder and a hidden state, an attention network for generating first attention weights…

Systems and methods for a transformer network with tree-based attention for natural language processing

Granted: March 28, 2023
Patent Number: 11615240
Embodiments described herein provide an attention-based tree encoding mechanism. Specifically, the attention layer receives as input the pre-parsed constituency tree of a sentence and the lower-layer representations of all nodes. The attention layer then performs upward accumulation to encode the tree structure from leaves to the root in a bottom-up fashion. Afterwards, weighted aggregation is used to compute the final representations of non-terminal nodes.