Computer-implemented conversational method, communication system, computer product, and computer-readable storage medium
Patent Information
- Application Number
- DE102023201652
- Authority / Receiving Office
- DE · DE
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-02-23
- Publication Date
- 2024-08-29
Smart Images

Figure 00000000_0000_ABST
Abstract
Description
The invention relates to a computer-implemented conversation method improved in terms of user experience, a communication system therefor, a computer product and a computer-readable storage medium for implementing an automated conversation system. A conversational system (also referred to as a "chatbot") is a computer-based system capable of conducting human-like conversations with users. Chatbots are often used in social media, websites, or instant messaging applications to provide users with information, answer questions, or offer services. Chatbots can be programmed in a variety of ways to conduct human-like conversations. Some chatbots use rule-based systems, which use predefined rules and patterns to respond to user input. Other chatbots use machine learning to conduct human-like conversations and improve and / or adapt based on user input. Chatbots can also be used in a variety of industries, such as customer service, e-commerce, and the entertainment industry. They can help improve the efficiency of business processes and provide users with a faster and easier way to respond to their inquiries and needs. There are different ways a chatbot can be trained, depending on how it was programmed. A rule-based chatbot is typically programmed by a developer using predefined rules and patterns to respond to user input. These rules and patterns are built into the chatbot from the start and do not require further training. A chatbot that uses machine learning to conduct human-like conversations is typically trained by providing it with large amounts of data, known as "training." This data contains typical user inputs and the chatbot's corresponding responses. The machine learning model is then used to identify patterns in this data and learn how to respond to user input. There are different types of machine learning models that can be used in chatbots, such as neural networks and decision trees. Each model has its own strengths and weaknesses and may be better suited to certain use cases than others. It is important to note that training a chatbot is an ongoing process and that the chatbot may need further training to improve its performance and adapt to new user inputs and needs. There's the chatbot GPT3, which has been released for some time and has already been tried out by around 100 million users. Based on gigantic amounts of text and with the help of thousands of human "trainers," the system has learned to give seemingly well-thought-out answers. But there are still many gaps, from incorrect salutations and misleading numbers to explicit insults by the chatbot. The more empathetic the user's input, the less good the result, the chatbot's output. For example, a user's input to write a sensitive message to end a relationship doesn't produce the desired result because the chatbot isn't trained to convey empathy. On the other hand, an AI is quite capable of separating the objective content of an input from a personality style. For example, there are processors set up and configured to compose music in the classical style, even directly imitating Mozart, for example. An AI can also paint in the style of Edward Hopper and write in the style of Shakespeare if it is trained accordingly. On the other hand, chatbots can also be trained to respond in the typical intonation of Donald Trump or Jedi Master Yoda. Currently, chatbot administrators offer two main functionalities. One is the input of at least 20 versions of the same question to trigger what is known as NLU (Natural Language Understanding) training of intents, e.g., "Can I have some ice cream?" "Do you have any ice cream?" "I really want ice cream," etc., to train the intent "The user wants ice cream." The other is hard-coded responses that the chatbot can provide when such an intent is detected, e.g., "Here you can find the nearest ice cream parlor." Typically, this content is handed over to the data scientist as unstructured prose. It's also common for the content to be collected from various sources in various formats before this one-stop handover. A chatbot administrator is someone responsible for managing and maintaining a chatbot. This may include programming, training, and updating the chatbot, depending on how the chatbot is configured and what functions it performs. A chatbot administrator might also be responsible for monitoring the chatbot's performance and analyzing user inputs and responses to ensure the chatbot provides accurate and helpful answers. They might also be responsible for integrating the chatbot with other systems or applications, ensuring it functions properly and meets the company's needs. In some cases, a chatbot administrator might also be responsible for communicating with users and customers when the chatbot is unable to answer their queries or assist them. In this case, the chatbot administrator might interact directly with users to answer their queries or help them resolve their issues. Overall, the chatbot administrator is responsible for managing and maintaining the chatbot and ensuring that it functions properly and provides helpful information and services to users. A data scientist is a person who analyzes and understands large amounts of data. Data scientists use mathematics, statistics, machine learning, and other tools and techniques to identify and understand patterns and relationships in data. They often work with large amounts of structured and unstructured data, using specialized tools and techniques to process and analyze the data. The work of a data scientist often involves analyzing data to support business decisions or improve processes. They can also create predictions or forecasts by identifying patterns in the data and presenting the results in a descriptive format. Data scientists often work closely with other professionals, such as software developers and business analysts, using their data analysis skills to solve complex problems and make decisions. To date, chatbots, whether written and / or voice input, have been operated neutrally, meaning that a chatbot's response cannot be assigned to a specific type or style of person or mood. However, this is disadvantageous because it lacks personalization and individualization, the so-called “user experience” for the user. The object of the present invention is to create a conversation system that, in addition to the functionality of transmitting the user's intent and the correct answer, is equipped with the possibility of conveying a style, expressing empathy, and transmitting a personality format that is neither related to the chatbot administrator nor to the data scientist. This object is achieved by the subject matter of the present invention as defined in the description, the figures and the claims. Accordingly, the subject of the present invention is a computer-implemented conversation method comprising the following method steps:- 1) Provision of an interactive computer-implemented communication system with an input device, a processor for character and / or speech recognition, a neural network with an AI for character and / or speech evaluation and generation of initial results from character and / or speech recognition as well as storage thereof,- 2) Input of a user into the interactive computer-implemented communication system- 3) Processing of the user's input by an AI for character and / or speech evaluation and generation of initial results from character and / or speech recognition,- 4) Carrying out an initial processing of the first results by means of a set-up and configured AI in the form of neutralization and / or removal of the stylistic elements from the speech and / or written input received from the user in order to formalize the input and / or anonymize the inputting user, - 5) Generation of second results by the AI, which are based on the content of the user input in an anonymized and neutral form, - 6) Processing of the second results by the AI in order to generate suitable outputs, for example in the form of answers, and output them via a suitable output device. Furthermore, the present invention provides an exemplary communication system comprising the following components: - an input device, such as a keyboard, a microphone, a camera, - a first processor with a memory unit, which is set up and configured to carry out character and / or speech recognition, which has a neural network and an AI and can operate them and thus generates first results that can be stored in the connected first memory unit, - a second processor, which is set up and configured to firstly retrieve the first results from the first memory unit, process them and make them available to an AI that is set up and trained to neutralize results, remove the rhetoric and / or free it from personalizing stylistic elements and / or insert them, wherein the results fed into this AI are either first, neutralized inputs from a user or third,neutral answers from the chatbot, - wherein the AI is set up and configured to equip the received neutral content in writing and / or speech with a predeterminable or AI-selectable style and / or rhetoric and / or personality attributes and / or to transform them accordingly and forward them to a third processor, - wherein the third processor is set up and configured to perform speech and / or text generation using AI and to offer these acoustically, optically or both as output to the input received from the user via an output device of the communication system. According to an advantageous embodiment of the invention, between the penultimate step of finding a suitable output and the last step of outputting a suitable answer, counter-speech and / or reaction by the communication system, process step 7) takes place, by which the output generated by the AI is supplemented with personalizing and / or other style elements. For example, process step 7 can take place by processing the output by the AI in such a way that the output is rhetorically stylized by the AI according to known rules and / or typified by word choice, sentence length, sentence structure and / or in a typical personality profile stored in the AI - for example, in the style of Donald Trump. The general insight of the invention is that an AI can separate general and personal stylistic elements from the core content of a user's input, i.e., it can subtract them during input and neutrally "expose" the content. The invention takes advantage of this and executes the method when a user inputs by having an AI perform the neutralization and anonymization of an input and / or adding any stylistic elements, typing features, and / or elements for personalization and / or individualization by the AI during output, for example in the subsequent response. This creates a sense of well-being for the user, and a conversation between machine and user can be conducted in a much more open, immersive, and / or thorough manner.So here, not only the intonation of, for example, Jedi Master Yoda – because it is so peculiar – is made available to a chatbot, but also their way of thinking, their choice of words, their typical sentence structure, style and their individual approach to certain topics, questions, content, etc. The training possibilities for the AI processing performed in process step 7) to stylize the output are virtually unlimited. Any interview with a user can serve as the basis for generating training data. However, interviews, plays, and / or films collected in archives, in audio and / or written form, can also be evaluated as a data pool. Wherever empathetic speech, writing, and / or replies occur, data can be extracted for style and / or personality training of an AI. This data enables the appropriately trained AI, connected to the chatbot, to make the communication system's outputs appear emotional, empathetic, personal, and / or otherwise individual. This results in an improved user experience for the corresponding computer-implemented communication system. For example, there are text-to-speech machines that use "speech synthesis markup language." This technology makes it possible, for example, to make a chatbot's audio output seem more emotional, but this does not necessarily imply empathy or an emotional style in the resulting machine response. The invention makes the previously common process step, in which data scientists use algorithms to individually assign a personality to a chatbot's spoken and / or written response, superfluous because the AI is trained to automatically select a personality and / or style for the user and to assign this individualization to its results, which are output, for example in the form of a spoken response from the chatbot. In this way, the chatbot of the computer-implemented communication system can also be trained to be empathetic, because an emotional style of response conveys and / or suggests more empathy and understanding to the user. For example, in a further, optionally implemented process step, the user can enter a requirement profile for the style in which the output should be provided. This requirement profile can be created consciously and / or unconsciously, for example, through the choice of words during input or simply through targeted questions, the AI conveys which style and personality type the user prefers. However, empathy in a response can be created by framing the response in Shakespearean style, because Shakespeare simply has an inherently empathetic language through the many flowery depictions. For example, scientifically well-researched linguistic and / or rhetorical stylistic devices can be used to enhance the expressiveness of a written or spoken text, and their effect on the reader / listener can be precisely identified. Examples include metaphor, alliteration, hyperbole, oxymoron, antiphrasis, archaism, conversio, euphemism, tautology, climax, paraphrases, pleonasms, etc. Rhetorical devices can be used to train the AI and assigned to different personality profiles. This allows the chatbot's choice of words to be influenced, allowing a response to be developed in a specific style. In addition to word choice, the AI can also be trained to use a specific voice, intonation, and / or rhythm. This can also give the chatbot's output a specific style. In this way, virtually any content of an output and any type of output, whether acoustic, optical and / or visual, can be automatically provided with a literary, rhetorical and / or personality-typical style via a suitably trained AI. According to an advantageous embodiment of the invention, the user's reaction is recorded and fed into the system so that the AI can learn from the reactions which type of chatbot is suitable for which type of user. According to an advantageous embodiment of the invention, speech recognition in process step A) is carried out using an AI with NLP capability. Natural Language Processing (NLP) is a branch of artificial intelligence that deals with the interaction between computers and humans using natural language. It involves the development of algorithms and models that can analyze, understand, and generate human language, including text and speech. NLP capabilities refer to the ability of a computer system or software to perform tasks in the field of natural language processing. These include, for example, language translation, text classification, sentiment analysis, and language generation. In general, the goal of NLP is to enable computers to process, analyze, and understand human language in a way similar to humans, so that they can interact more effectively with people and perform tasks that would be difficult or impossible for humans to complete. In the following, the invention is explained in more detail with reference to a flowchart which represents the sequence of an exemplary embodiment of the disclosed method.- The process step 1) of providing an interactive computer-implemented communication system with an input device such as a microphone, a keyboard, a camera, a processor for character and / or speech recognition, a neural network with an AI for character and / or speech evaluation and generation of initial results from the character and / or speech recognition as well as their storage,- As well as the subsequent process step 2) of a user's input into the interactive computer-implemented communication system via the input device; - Process step 3) of processing the user's input by a suitable and appropriately configured processor with a neural network running an AI for character and / or speech analysis and generation of initial results from the character and / or speech analysis and / or character and / or speech recognition; - Subsequently, process step 4) of carrying out an initial processing of the initial results by means of an AI set up and configured for this purpose in the form of a neutralization and / or removal of the stylistic elements from the voice and / or written input received from the user in order to formalize the input and / or anonymize the inputting user; as well as the subsequent process step 5) of generating second results by the AI;which is based on the content of the user input in an anonymized and neutral form and finally the process step- 6) processing of the second results by the AI in order to generate suitable outputs, for example in the form of answers, and to output them via a suitable output device, monitor, loudspeaker, etc. Advantageously, the intermediate step 7 takes place between process step 5 and process step 6, in which the communication system, via the corresponding AI, which is trained as described above, carries out processing of the output by the AI in such a way that the output by the AI is stylized and / or in a personality profile stored in the AI. The present invention makes it possible for the first time to equip a chatbot with user experience in such a way that the chatbot's outputs are equipped with personal and / or rhetorical and / or individual stylistic devices depending on the requirements.
Claims
Computer-implemented conversation method, comprising the following method steps:- 1) Provision of an interactive computer-implemented communication system with an input device, a processor for writing and / or speech recognition, a neural network with an AI for writing and / or speech evaluation and generation of initial results from the writing and / or speech recognition as well as their storage,- 2) Input of a user into the interactive computer-implemented communication system,- 3) Processing of the user's input by an AI for writing and / or speech evaluation and generation of initial results from the writing and / or speech recognition,- 4) Carrying out an initial processing of the initial results by means of an AI set up and configured for this purpose in the form of a formalization,Neutralization and / or removal of personalizing and / or other stylistic elements from the voice and / or written input received from the user to formalize the input and / or anonymize the inputting user, - 5) Generation of second results by the AI based on the objective content of the user input in an anonymized and neutral form, - 6) Processing of the second results by the AI to generate suitable outputs, for example in the form of answers, and output them via a suitable output device. Method according to claim 1, in which before the process step 6, the processing of the second, neutral results by the AI and generation of the corresponding output by the AI, there is an intermediate step 7) by which the output generated by the AI is supplemented with personalizing and / or other style elements. Method according to one of claims 1 or 2, in which the output is designed by an appropriately trained AI with rhetorical stylistic devices. Method according to claim 3, in which metaphors are incorporated into the text as stylistic devices. Method according to claim 3 or 4, in which word repetitions are incorporated into the text as a stylistic device. Method according to one of claims 3 to 5, in which alliteration, hyperbole and / or oxymoron are incorporated into the text as stylistic devices. Method according to one of claims 3 to 6, in which antiphrase, conversio and / or tautology are incorporated as stylistic devices. Method according to one of claims 3 to 7, in which archaism, euphemism and / or climax are incorporated into the text as stylistic devices. Method according to one of claims 3 to 8, in which paraphrases and / or pleonasms are incorporated into the text as stylistic devices. A communication system comprising the following components: - an input device, such as a keyboard, a microphone, a camera, - a first processor with a memory unit, which is set up and configured to perform character and / or speech recognition, which has and can operate a neural network and an AI and thus generates first results that can be stored in the connected first memory unit, - a second processor, which is set up and configured to firstly retrieve the first results from the first memory unit, process them, and make them available to an AI that is set up and trained to neutralize results, remove the rhetoric and / or free it of personalizing stylistic elements and / or insert them, wherein the results fed into this AI are either first, neutralized inputs from a user or third, neutral responses from the chatbot,- wherein the AI is set up and configured to equip the received neutral content in writing and / or speech with a predeterminable or AI-selectable style and / or rhetoric and / or personality attributes and / or to transform them accordingly and forward them to a third processor, - wherein the third processor is set up and configured to perform speech and / or text generation using AI and to offer this acoustically, optically, or both as an output to the input received from the user via an output device of the communication system. Computer product suitable for carrying out the method according to one of claims 1 to 9. A computer-readable storage medium comprising a computer program product according to claim 11.
