US-12619616-B2 - Ethical virtual assistant training platform
Abstract
An embodiment establishes a population database. The embodiment constructs a behavior framework based on population data stored on the population database. The embodiment initiates a training process to train a virtual assistant to generate an output response in response to a query, including training the virtual assistant to generate responses according to the behavior framework. The embodiment monitors an interaction session between a client interacting with the virtual assistant to detect a deviation from the behavior framework. The embodiment generates, upon detection of the deviation from the behavior framework, a correction action to apply to a portion of the interaction session corresponding to the deviation from the behavior framework. The embodiment applies the correction action to the portion of the interaction session corresponding to the deviation from the behavior framework. The embodiment outputs a corrected output response that meets a set of guidelines of the behavior framework.
Inventors
- Jeremy R. Fox
- Fernando Luiz Koch
- Martin G. Keen
- Jessica Nahulan
Assignees
- INTERNATIONAL BUSINESS MACHINES CORPORATION
Dates
- Publication Date
- 20260505
- Application Date
- 20241030
Claims (17)
- 1 . A computer-implemented method comprising: establishing a population database, the population database configured to transmit and store population data; constructing a behavior framework based on population data stored on the population database; constructing a second behavior framework based on population data stored on the population database; initiating a training process to train a virtual assistant to generate an output response in response to a query, wherein the training process comprises training the virtual assistant to generate responses according to the behavior framework; initiating a second training process to train a second virtual assistant to generate an output response in response to a query, wherein the second training process comprises training the second virtual assistant to generate responses according to the second behavior framework; monitoring an interaction session between a client interacting with the virtual assistant to detect a deviation from the behavior framework; generating, upon detection of the deviation from the behavior framework, a correction action to apply to a portion of the interaction session corresponding to the deviation from the behavior framework; applying the correction action to the portion of the interaction session corresponding to the deviation from the behavior framework; outputting a corrected output response, wherein the corrected output response meets a set of guidelines of the behavior framework; monitoring a second interaction session between a second client interacting with the second virtual assistant to detect a deviation from the second behavior framework; generating, upon detection of the deviation from the second behavior framework, a second correction action to apply to a portion of the second interaction session corresponding to the deviation from the second behavior framework; applying the second correction action to the portion of the second interaction session corresponding to the deviation from the second behavior framework; and outputting a second corrected output response, wherein the second corrected output response meets a set of guidelines of the second behavior framework.
- 2 . The computer-implemented method of claim 1 , wherein the second behavior framework comprises a different set of guidelines than the behavior framework.
- 3 . The computer-implemented method of claim 1 , wherein the correction action comprises modifying the portion of the interaction session corresponding to the deviation from the behavior framework.
- 4 . The computer-implemented method of claim 1 , wherein the correction action comprises providing a suggested action to mitigate a potential bias outcome.
- 5 . The computer-implemented method of claim 1 , wherein the correction action comprises providing additional context surrounding the portion of the interaction session corresponding to the deviation from the behavior framework.
- 6 . A computer program product comprising one or more computer readable storage media, and program instructions collectively stored on the one or more computer readable storage media, the program instructions executable by a processor to cause the processor to perform operations comprising: establishing a population database, the population database configured to transmit and store population data; constructing a behavior framework based on population data stored on the population database; constructing a second behavior framework based on population data stored on the population database; initiating a training process to train a virtual assistant to generate an output response in response to a query, wherein the training process comprises training the virtual assistant to generate responses according to the behavior framework; initiating a second training process to train a second virtual assistant to generate an output response in response to a query, wherein the second training process comprises training the second virtual assistant to generate responses according to the second behavior framework; monitoring an interaction session between a client interacting with the virtual assistant to detect a deviation from the behavior framework; generating, upon detection of the deviation from the behavior framework, a correction action to apply to a portion of the interaction session corresponding to the deviation from the behavior framework; applying the correction action to the portion of the interaction session corresponding to the deviation from the behavior framework: outputting a corrected output response, wherein the corrected output response meets a set of guidelines of the behavior framework; monitoring a second interaction session between a second client interacting with the second virtual assistant to detect a deviation from the second behavior framework; generating, upon detection of the deviation from the second behavior framework, a second correction action to apply to a portion of the second interaction session corresponding to the deviation from the second behavior framework; applying the second correction action to the portion of the second interaction session corresponding to the deviation from the second behavior framework; and outputting a second corrected output response, wherein the second corrected output response meets a set of guidelines of the second behavior framework.
- 7 . The computer program product of claim 6 wherein the program instructions are stored in a computer readable storage device in a data processing system, and wherein the stored program instructions are transferred over a network from a remote data processing system.
- 8 . The computer program product of claim 6 , wherein the program instructions are stored in a computer readable storage device in a server data processing system, and wherein the program instructions are downloaded in response to a request over a network to a remote data processing system for use in the computer readable storage device associated with the remote data processing system, further comprising: program instructions to meter use of the program instructions associated with the request; and program instructions to generate an invoice based on the metered use.
- 9 . The computer program product of claim 6 , wherein the set of guidelines of the second behavior framework is different from the set of guidelines of the behavior framework.
- 10 . The computer program product of claim 6 , wherein the correction action comprises modifying the portion of the interaction session corresponding to the deviation from the behavior framework.
- 11 . The computer program product of claim 6 , wherein the correction action comprises providing a suggested action to mitigate a potential bias outcome.
- 12 . The computer program product of claim 6 , wherein the correction action comprises providing additional context surrounding the portion of the interaction session corresponding to the deviation from the behavior framework.
- 13 . A computer system comprising a processor and one or more computer readable storage media, and program instructions collectively stored on the one or more computer readable storage media, the program instructions executable by the processor to cause the processor to perform operations comprising: establishing a population database, the population database configured to transmit and store population data; constructing a behavior framework based on population data stored on the population database; constructing a second behavior framework based on population data stored on the population database; initiating a training process to train a virtual assistant to generate an output response in response to a query, wherein the training process comprises training the virtual assistant to generate responses according to the behavior framework; initiating a second training process to train a second virtual assistant to generate an output response in response to a query, wherein the second training process comprises training the second virtual assistant to generate responses according to the second behavior framework; monitoring an interaction session between a client interacting with the virtual assistant to detect a deviation from the behavior framework; generating, upon detection of the deviation from the behavior framework, a correction action to apply to a portion of the interaction session corresponding to the deviation from the behavior framework; applying the correction action to the portion of the interaction session corresponding to the deviation from the behavior framework; outputting a corrected output response, wherein the corrected output response meets a set of guidelines of the behavior framework; monitoring a second interaction session between a second client interacting with the second virtual assistant to detect a deviation from the second behavior framework; generating, upon detection of the deviation from the second behavior framework, a second correction action to apply to a portion of the second interaction session corresponding to the deviation from the second behavior framework; applying the second correction action to the portion of the second interaction session corresponding to the deviation from the second behavior framework; and outputting a second corrected output response, wherein the second corrected output response meets a set of guidelines of the second behavior framework.
- 14 . The computer system of claim 13 , wherein the second behavior framework comprises a different set of guidelines than the behavior framework.
- 15 . The computer system of claim 13 , wherein the correction action comprises modifying the portion of the interaction session corresponding to the deviation from the behavior framework.
- 16 . The computer system of claim 13 , wherein the correction action comprises providing a suggested action to mitigate a potential bias outcome.
- 17 . The computer system of claim 13 , wherein the correction action comprises providing additional context surrounding the portion of the interaction session corresponding to the deviation from the behavior framework.
Description
BACKGROUND The present invention relates generally to virtual assistants. More particularly, the present invention relates to a method, system, and computer program for an ethical virtual assistant training platform. Artificial intelligence (AI) technology has evolved significantly over the past few years. Modern AI systems are achieving human level performance on cognitive tasks like converting speech to text, recognizing objects and images, or translating between different languages. This evolution holds promise for new and improved applications in many industries. Accordingly, AI systems may be designed for various tasks that traditional computer systems were previously incapable. An Artificial Neural Network (ANN)—also referred to simply as a neural network-is a computing system made up of a number of simple, highly interconnected processing elements (nodes), which process information by their dynamic state response to external inputs. ANNs are processing devices (algorithms and/or hardware) that are loosely modeled after the neuronal structure of the mammalian cerebral cortex. An ANN today might have upwards of billions of interconnected “neuron” processor units, though may be trained using a far fewer number of dedicated hardware processor units (e.g., GPUs). Further, ANNs can be designed to uncover relationships between previously unknown factors and accomplish tasks that were previously incapable by a human being alone. Virtual assistants today can be programmed to do a variety of tasks. These may include answering queries and providing assistive actions to users of applications to respond to user inquiries, offer recommendations, and guide users through tasks or processes within an application. Virtual assistants may utilize natural language processing (NLP) algorithms to understand user queries, commands, and interactions, and provide seamless communication and interaction within a platform or system. Further, virtual assistants may be programmed to assist in workflow optimization by streamlining processes, suggesting improvements, and enhancing operational efficiency. Virtual assistants may be programmed with consideration of regulations, policies, and governance standards, offering guidance on ethical considerations, data privacy, and security practices. By programming virtual assistants to perform these technical tasks and provide assistive actions to users, systems can leverage AI technology to streamline operations and improve user experiences. SUMMARY The illustrative embodiments provide for an ethical virtual assistant training platform. An embodiment includes establishing a population database, such that the population database is configured to transmit and store population data. The embodiment also includes constructing a behavior framework based on population data stored on the population database. The embodiment also includes initiating a training process to train a virtual assistant to generate an output response in response to a query, such that the training process includes training the virtual assistant to generate responses according to the behavior framework. The embodiment also includes monitoring an interaction session between a client interacting with the virtual assistant to detect a deviation from the behavior framework. The embodiment also includes generating, upon detection of the deviation from the behavior framework, a correction action to apply to a portion of the interaction session corresponding to the deviation from the behavior framework. The embodiment also includes applying the correction action to the portion of the interaction session corresponding to the deviation from the behavior framework. The embodiment also includes outputting a corrected output response, such that the corrected output response meets a set of guidelines of the behavior framework. An embodiment includes a computer usable program product. The computer usable program product includes a computer-readable storage medium, and program instructions stored on the storage medium. An embodiment includes a computer system. The computer system includes a processor, a computer-readable memory, and a computer-readable storage medium, and program instructions stored on the storage medium for execution by the processor via the memory. BRIEF DESCRIPTION OF THE DRAWINGS The novel features believed characteristic of the invention are set forth in the appended claims. The invention itself, however, as well as a preferred mode of use, further objectives, and advantages thereof, will best be understood by reference to the following detailed description of the illustrative embodiments when read in conjunction with the accompanying drawings, wherein: FIG. 1 depicts a block diagram of a computing environment in accordance with an illustrative embodiment; FIG. 2 depicts a block diagram of an example computing environment in accordance with an illustrative embodiment; FIG. 3 depicts a block diagram of an example softw