Program, information processing method, information processing device, and robot

The program effectively differentiates user voice from device audio using a learning model and mel spectrogram classification, ensuring accurate response control in voice recognition systems.

WO2024176673A1PCT designated stage expired Publication Date: 2024-08-29OSAKA UNIVERSITY
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
PCT/JP2024/001328
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-02-22
Filing Date
2024-01-18
Publication Date
2024-08-29

AI Technical Summary

Technical Problem

Conventional voice recognition systems cannot accurately distinguish between user-uttered audio and audio output from devices, leading to potential misinterpretation and inappropriate response control.

Method used

A program that utilizes a learning model to classify audio data by generating a mel spectrogram and determining whether the audio is from a user or a device, allowing for accurate voice classification and appropriate response control.

Benefits of technology

Enables precise determination of user voice versus device audio, ensuring accurate response control only based on user inputs and preventing unnecessary actions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure JP2024001328_29082024_PF_FP_ABST
    Figure JP2024001328_29082024_PF_FP_ABST
Patent Text Reader

Abstract

A program according to one embodiment of the present disclosure causes a computer to execute processing for acquiring voice data, inputting the acquired voice data to a trained model that is trained so as to, when voice data is inputted, output voice classification information indicating the voice data is voice uttered by a user or voice outputted by an apparatus, and thereby outputting the voice classification information.
Need to check novelty before this filing date? Find Prior Art

Description

Program, information processing method, information processing device, and robot

[0001] The present technology relates to a program, an information processing method, an information processing device, and a robot.

[0002] Conventionally, operating devices with a voice recognition function have been proposed. For example, an operating device described in Patent Document 1 includes a voice recognition unit and a control unit that controls a lighting device based on any of the recognition results obtained by the voice recognition unit.

[0003] JP 2008-268450 A

[0004] However, the technology described in Patent Document 1 cannot determine whether the acquired voice data (voice data) is voice uttered by the user or voice output by the device.

[0005] The present disclosure has been made in consideration of such circumstances, and aims to provide a program or the like that is capable of determining whether voice data is voice spoken by a user or voice output by a device.

[0006] A program according to one embodiment of the present disclosure causes a computer to execute a process of acquiring voice data and outputting the voice classification information by inputting the acquired voice data into a learning model that has been trained to output voice classification information indicating whether the voice data is voice spoken by a user or voice output by a device when the voice data is input.

[0007] A program according to an embodiment of the present disclosure generates a mel spectrogram based on the audio data, and inputs the generated mel spectrogram into the learning model as the audio data.

[0008] A program according to an embodiment of the present disclosure inputs the mel spectrogram converted to grayscale into the learning model as the audio data.

[0009] A program according to an embodiment of the present disclosure extracts text data based on the mel spectrogram when the sound classification information indicates a sound spoken by a user.

[0010] A program according to an embodiment of the present disclosure acquires audio data collected by a microphone, inputs the acquired audio data into a voice activity detection module, extracts data from the audio data that includes audio, inputs the data extracted from the audio data into the learning model as the audio data, and outputs the audio classification information.

[0011] A program according to an embodiment of the present disclosure cancels, from the collected sound data, a sound output by a robot that executes response control in response to a user's voice instruction.

[0012] A program according to one embodiment of the present disclosure instructs a robot to execute response control corresponding to instructions given by the voice spoken by the user when the voice classification information indicates voice spoken by a user, and does not instruct the robot to execute the response control when the voice classification information indicates voice output by a device.

[0013] In one embodiment of the program of the present disclosure, the learning model outputs the voice classification information indicating whether the voice data is voice spoken by a user, voice output by an equipment, or includes both voice spoken by a user and voice output by an equipment, and if the voice classification information indicates that the voice data includes both voice spoken by a user and voice output by an equipment, the program instructs a robot that executes response control in response to a user's voice instruction to execute voice reacquisition control that prompts the user to input voice again.

[0014] A program according to one embodiment of the present disclosure selects one of a plurality of learning models depending on the type of environment where the audio contained in the audio data is collected, inputs the audio data into the selected learning model, and outputs the audio classification information.

[0015] An information processing method according to one embodiment of the present disclosure acquires voice data and outputs the voice classification information by inputting the acquired voice data into a learning model that has been trained to output voice classification information indicating whether the voice data is voice spoken by a user or voice output by a device when the voice data is input.

[0016] An information processing device according to one embodiment of the present disclosure includes a control unit that acquires voice data and outputs voice classification information by inputting the acquired voice data into a learning model that has been trained to output voice classification information indicating whether the voice data is voice spoken by a user or voice output by a device when the voice data is input.

[0017] A robot according to one embodiment of the present disclosure includes a microphone that picks up surrounding sounds and a control unit that executes response control in response to a user's voice instructions, and the control unit outputs the voice classification information by inputting the acquired voice data into a learning model that has been trained to output voice classification information indicating whether the voice data is a recording of a voice spoken by a user or a recording of a voice output by a device when voice data based on voice data picked up by the microphone is input, and executes the response control if the voice classification information indicates a voice spoken by a user.

[0018] In a program according to an embodiment of the present disclosure, it is possible to determine whether the voice data is voice uttered by a user or voice output by a device.

[0019] 1 is an explanatory diagram showing an example of a voice determination system. FIG. 2 is a block diagram showing an example of the configuration of an information processing device. FIG. 3 is a block diagram showing an example of the configuration of a voice response device. FIG. 4 is an explanatory diagram showing an example of a voice activity detection module. FIG. 5 is an explanatory diagram showing an example of a fast Fourier transform module. FIG. 6 is an explanatory diagram showing an example of a fast Fourier transform module. FIG. 7 is an explanatory diagram showing an example of a learning model. FIG. 8 is an explanatory diagram showing an example of a learning model. FIG. 9 is a flowchart showing an example of processing by an information processing device. FIG. 10 is an explanatory diagram showing an example of a learning model according to a second embodiment. FIG. 11 is a flowchart showing an example of processing by an information processing device according to the second embodiment. FIG. 12 is an explanatory diagram showing an example of a voice determination system according to a third embodiment. FIG. 13 is a block diagram showing an example of the configuration of an information processing device according to the third embodiment. FIG. 14 is a block diagram showing an example of the configuration of a user terminal. FIG. 15 is an explanatory diagram showing an example of an environment type table. FIG. 16 is an explanatory diagram showing an example of an environment type input screen. FIG. 17 is a flowchart showing an example of processing by an information processing device according to the third embodiment. FIG. 18 is a block diagram showing an example of the configuration of a voice response device according to a fourth embodiment. FIG. 19 is a flowchart showing an example of processing by a voice response device according to the fourth embodiment.

[0020] 1 is an explanatory diagram showing an example of a voice determination system S. The voice determination system S includes an information processing device 1 and a voice response device 2. The information processing device 1 can communicate with the voice response device 2 via a network N using wide-area wireless communication.

[0021] The voice response device 2 is, for example, a smart speaker equipped with a computer that executes response control in response to a user's voice instructions. The voice response device 2 may be a robot that operates in response to a user's voice instructions, or an electrical appliance such as a washing machine, dishwasher, vacuum cleaner, refrigerator, or air conditioner. The functions of the information processing device 1 and the voice response device 2 may be realized by an AI assistant function or a voice chatbot function built into a smartphone. In this embodiment, the voice response device 2 is described as a smart speaker. The voice response device 2 is installed, for example, in an indoor space (room) where a user resides, and executes response control such as replying by voice output or switching on and off the power of a communicable electrical appliance in response to a user's voice instructions.

[0022] When the voice response unit 2 is installed in an indoor space, a device (voice output device) 3 that outputs audio, such as a television or a radio, may also be installed in the indoor space. The voice response unit 2 collects sounds in the indoor space and transmits the collected audio data to the information processing device 1. The information processing device 1, which has received the collected audio data, acquires audio data from the collected audio data, including audio spoken by a user or audio output by the audio output device 3 in the indoor space, and determines whether the audio included in the audio data is audio spoken by the user or audio output by the audio output device 3. If the audio included in the audio data is audio spoken by the user, the information processing device 1 causes the voice response unit 2 to execute response control. Note that the voice response unit 2 may be installed in a vehicle. In this case, for example, the audio output device 3 is a radio, and the voice response unit 2 determines whether the audio included in the audio data is audio spoken by a user or audio output by the audio output device (radio) 3.

[0023] FIG. 2 is a block diagram showing an example configuration of the information processing device 1. The information processing device 1 is, for example, a server computer and includes a control unit 11, a storage unit 12, and a communication unit 13. The control unit 11 is configured with a CPU (Central Processing Unit), an MPU (Micro Processing Unit), a GPU (Graphical Processing Unit), a quantum processor, or the like, and performs various control processes, arithmetic processes, and the like by reading and executing a program P (program product) and a database pre-stored in the storage unit 12. The functions of the information processing device 1 may be realized by multiple server devices or computers. Furthermore, the information processing device 1 may correspond to a node on a blockchain.

[0024] The storage unit 12 of the information processing device 1 is, for example, a volatile memory and a non-volatile memory. The storage unit 12 stores a program P, a voice activity detection module M1, a fast Fourier transform module M2, and a learning model M3. The program P may be provided to the information processing device 1 using a computer-readable storage medium 12a. The storage medium 12a is, for example, a portable memory. Examples of portable memories include a CD-ROM, a USB (Universal Serial Bus) memory, an SD card, a micro SD card, and a Compact Flash Memory (registered trademark). When the storage medium 12a is a portable memory, the processing element of the control unit 11 may read the program P from the storage medium 12a using a reading device (not shown). The read program P is written to the storage unit 12. Furthermore, the program P may be provided to the information processing device 1 by the communication unit 13 communicating with an external device. Details of the voice activity detection module M1, the fast Fourier transform module M2, and the learning model M3 will be described later.

[0025] The communication unit 13 is a communication module or communication interface for communicating with the voice response unit 2 via a wired or wireless connection, and is, for example, a wide-area wireless communication module such as LTE (registered trademark), 4G, or 5G. The control unit 11 communicates with the voice response unit 2 via the communication unit 13 through an external network N such as the Internet.

[0026] 3 is a block diagram showing an example configuration of the voice response device 2. The voice response device 2 includes a device control unit 21, a storage unit 22, a communication unit 23, a microphone 24, and a voice output unit 25. The device control unit is configured with a CPU, an MPU, or the like, and performs various control processes, arithmetic processes, and the like. The voice response device 2 may perform some or all of the processes executed by the information processing device 1 according to this embodiment.

[0027] The storage unit 22 stores an application program Pa that transmits (outputs) sound data collected by the microphone 24 to the information processing device and executes response control based on instructions from the information processing device 1. The application program Pa is provided to the voice response unit 2 using, for example, a storage medium 22a. The device control unit 21 of the voice response unit 2 may obtain the application program Pa using the Internet and store it in the storage unit 22.

[0028] The communication unit 23 is a communication module or a communication interface for wirelessly communicating with the information processing device 1. The device control unit 21 communicates with the information processing device 1 via the communication unit 23 and an external network N.

[0029] The microphone 24 picks up sounds around the voice response unit 2, i.e., sounds within the indoor space in which the voice response unit 2 is installed. The device control unit 21 converts the sounds picked up by the microphone 24 into picked-up sound data and transmits (outputs) it to the information processing device 1. Note that the voice response unit 2 may be connected to an externally installed microphone and acquire the picked-up sound data from the microphone.

[0030] The audio output unit 25 responds (notifies) the user by outputting audio related to the response control. The audio output from the audio output unit 25 is audio generated by the information processing device 1 or the audio response device 2, or audio selected from a plurality of audio templates stored in the information processing device 1 or the audio response device 2. When the device control unit 21 receives (acquires) an instruction to execute response control from the information processing device 1, the device control unit 21 executes response control by audio output from the audio output unit 25. Furthermore, when audio output from the audio output unit 25 is included in the audio data collected by the microphone 24, the control unit 11 of the information processing device 1 deletes data indicating the audio by a canceling process. Note that the audio response unit 2 may be connected to an external speaker or the like and output audio from the speaker or the like.

[0031] FIG. 4 is an explanatory diagram showing an example of a voice activity detection module. When inputting collected sound data, the voice activity detection (VAD) module M1 according to this embodiment extracts data from the collected sound data for sections containing speech, thereby generating the speech data. At this time, the voice activity detection module M1 cuts out sections from the collected sound data that contain environmental sounds, such as door opening / closing sounds, electrical appliance operating sounds, and outdoor noise, but do not contain speech, and extracts the speech data. According to this embodiment, the collected sound data and the speech data extracted from the collected sound data are represented by a speech signal with amplitude on the vertical axis and time on the horizontal axis. In the following description, the speech data represented by the speech signal is referred to as signal speech data. The control unit 11 of the information processing device 1 constantly acquires collected sound data from the voice response unit 2 and inputs it to the speech activity detection module M1. For example, the speech activity detection module M1 extracts data from the collected sound data for a section from the time when the amplitude of the speech signal first exceeds a predetermined threshold to the time when the amplitude last exceeds the threshold, as signal speech data. Furthermore, the voice activity detection module M1 may extract, as signal voice data, a section in which the number of times the amplitude of the voice signal switches between positive and negative (number of zero crossings) is equal to or greater than a predetermined number. In the example shown in Fig. 4, data of a section delimited by a dashed line shown in the collected sound data is extracted as signal voice data. Note that the voice activity detection module M1 may be stored in the voice response unit 2, and the device control unit 21 of the voice response unit 2 may extract the signal voice data from the collected sound data and transmit (output) the extracted signal voice data to the information processing device 1.

[0032] FIG. 5 is an explanatory diagram showing an example of a fast Fourier transform module. When signal audio data is input, the fast Fourier transform (FFT) module M2 according to this embodiment converts the signal audio data into a mel spectrogram representation. Hereinafter, the mel spectrogram representation of the audio data will be referred to as mel spectrogram audio data. The control unit 11 of the information processing device 1 inputs the signal audio data output by the voice activity detection module M1 to the fast Fourier transform module M2. The fast Fourier transform module M2 performs a discrete Fourier transform on the audio signal data for each frame separated by a fixed time period to obtain the audio intensity (dB) at each frequency, and generates a spectrogram of the audio data (spectrogram audio data) by mapping based on the audio intensity with the vertical axis representing frequency and the horizontal axis representing time. The fast Fourier transform module M2 also generates and outputs mel spectrogram audio data by converting the vertical axis of the spectrogram audio data to a mel scale. FIG. 5A shows mel spectrogram audio data when the audio included in the signal audio data is a user's vocalization. 5B shows mel spectrogram audio data when the audio included in the signal audio data is audio output from the audio output device 3. The mel spectrogram audio data generated in this embodiment is represented by a grayscale image, but may also be represented by an RGB three-channel color image.

[0033] FIG. 6 is an explanatory diagram showing an example of the learning model M3. The learning model M3 is, for example, a model that extracts image features, such as a convolutional neural network (CNN) or a vision transformer. When the learning model M3 is configured, for example, with a neural network including a CNN that extracts image features, the input layer included in the learning model M3 has multiple neurons that accept input of pixel values ​​of an image of melspectrogram audio data (audio data image) and passes the input pixel values ​​to the intermediate layer. The intermediate layer has multiple neurons that extract image features of the audio data image and passes the extracted image features to the output layer. The output layer has one or more neurons that output audio classification information indicating whether the input audio data is audio spoken by a user or audio output by an audio output device 3, and outputs the audio classification information based on the image features output from the intermediate layer. Alternatively, the learning model M3 may input the image features output from the intermediate layer to a support vector machine (SVM) to output audio classification information. The neural network (learning model M3) trained using training data is expected to be used as a program module that is part of artificial intelligence software. As described above, the learning model M3 is used in the control unit 11 (e.g., CPU), and when executed by the control unit 11, which has such processing capabilities, a neural network system is configured. That is, the control unit 11 performs calculations to extract features of the audio data image input to the input layer in accordance with instructions from the learning model M3 stored in the memory unit 12, and outputs audio classification information from the output layer. In this embodiment, grayscale mel spectrogram audio data is input to the learning model M3, but RGB three-channel color spectrogram audio data may also be input.

[0034] The learning model M3 according to this embodiment is trained using training data in which mel spectrogram audio data is associated with a label of a correct output value (1 or 0). The control unit 11 of the information processing device 1 inputs a plurality of training data, including, for example, training data created by labeling the mel spectrogram audio data shown in FIG. 5A with a correct output value (1), or training data created by labeling the mel spectrogram audio data shown in FIG. 5B with a correct output value (0), into the learning model M3, and trains the learning model M3. When mel spectrogram audio data is input, the learning model M3 adjusts the bias in each layer and the weight between each layer so as to output a correct output value, and is trained. Note that the learning model M3 may be trained by a computer different from the information processing device 1.

[0035] As shown in FIG. 6 , in this embodiment, the learning model M3 outputs a binary value of 1 or 0 as the audio classification information. That is, the control unit 11 outputs the audio classification information using the learning model M3. When the audio classification information is 1, the control unit 11 determines that the audio data is audio produced by a user's voice. When the audio classification information is 0, the control unit 11 determines that the audio data is audio produced by the output of the audio output device 3. Note that the learning model may output the probability that the audio data is audio produced by a user's voice as the audio classification information. In this case, when the probability is 0.5 or more, the control unit 11 determines that the audio data is audio produced by the output of the audio output device 3, and when the probability is less than 0.5, the control unit 11 determines that the audio data is audio produced by the output of the audio output device 3. That is, the control unit 11 outputs the audio classification information using the learning model M3.

[0036] FIG. 7 is a flowchart showing an example of processing by the information processing device. The control unit 11 of the information processing device 1 acquires, from the voice response unit 2, voice data collected by the microphone 24 (S1). The control unit 11 performs a canceling process on the voice data, eliminating the voice output from the voice output unit 25 of the voice response unit 2 (S2). The control unit 11 inputs the canceled voice data to the voice activity detection module M1 (S3) and extracts signal voice data (voice data) (S4). The control unit 11 inputs the signal voice data to the fast Fourier transform module M2 (S5) and generates mel spectrogram voice data (S6). The control unit 11 inputs the mel spectrogram voice data (voice data) to the learning model M3 (S7) and outputs voice classification information indicating whether the voice data is voice produced by the user or voice output by the voice output device 3 (S8). The control unit 11 determines whether the voice data is voice produced by the user (whether it is voice output by the voice output device 3) (S9). In S9, if the sound classification information is 1, the control unit 11 determines that the sound data is sound spoken by the user, and if the sound classification information is 0, the control unit 11 determines that the sound data is sound output by the sound output device 3.

[0037] If the voice data is a voice uttered by the user (S9: YES), the control unit 11 extracts text data of the content of the voice uttered by the user based on the mel spectrogram voice data (S10). In S10, the control unit 11 extracts the text data through speech recognition processing using processing modules such as an acoustic model, a pronunciation dictionary, and a language model. The control unit 11 recognizes a voice instruction uttered by the user based on the extracted text data (S11). In S11, the control unit 11 recognizes the instruction using a trained model that performs natural language processing, such as GPT (Generative Pre-Training), GPT2, GPT3, Transformer, BERT (Bidirectional Encoder Representations from Transformers), BART (Bidirectional Auto-Regressive Transformer), or T5 (Text-to-Text Transfer Transformer). The control unit 11 determines the content of a response control corresponding to the recognized instruction (S12). In S12, the control unit 11 determines the content of the response control by, for example, referring to a database that associates instructions with the content of the response control. The control unit 11 transmits (outputs) a command to execute the response control whose content has been determined to the voice response unit 2 (S13), and ends the process.

[0038] If the voice data is voice output by the voice output device 3 (S9: NO), the control unit 11 ends the process without transmitting (outputting) a command to execute response control to the voice response unit 2.

[0039] According to the above configuration and processing, it is possible to determine whether the acquired voice data is a voice uttered by the user or a voice output by the voice output device 3. Furthermore, by determining whether or not to execute response control depending on the determination result, it is possible to cause the voice response unit 2 to execute response control with high accuracy only in response to voice instructions from the user.

[0040] (Embodiment 2) When the voice data includes both voice spoken by the user and voice output by the voice output device 3, the information processing device 1 according to embodiment 2 commands the voice response unit 2 to execute voice reacquisition control to prompt the user to input voice again. The following describes the differences between embodiment 2 and embodiment 1. Except for the configuration described below, the other configurations are common to embodiment 1. Therefore, the components common to embodiment 1 are assigned the same reference numerals as embodiment 1, and descriptions of those components will be omitted.

[0041] 8 is an explanatory diagram showing an example of a learning model M3 according to the second embodiment. The learning model M3 according to the second embodiment outputs, as audio classification information, the probability that the mel spectrogram audio data is audio uttered by a user (first probability), the probability that the mel spectrogram audio data is audio output from the audio output device 3 (second probability), and the probability that the mel spectrogram audio data includes both audio uttered by a user and audio output from the audio output device 3 (third probability), so that the sum of these probabilities is 1. When the learning model M3 is configured, for example, by a neural network including a CNN that extracts image features, the input layer included in the learning model M3 has a plurality of neurons that accept input of pixel values ​​of an image of the mel spectrogram audio data (audio data image) and passes the input pixel values ​​to the intermediate layer. The intermediate layer has a plurality of neurons that extract image features of the audio data image and passes the extracted image features to the output layer. The output layer has a plurality of neurons that output each probability and outputs each probability based on the image features output from the intermediate layer.

[0042] The control unit 11 of the information processing device 1 performs voice determination based on the highest probability among the probabilities included in the voice classification information. In the example shown in FIG. 8 , since the third probability is the highest, the control unit 11 determines that the mel spectrogram voice data includes both voice uttered by the user and voice output by the voice output device 3. Note that the learning model M3 may output, as the voice classification information, a probability that the mel spectrogram voice data is voice uttered by the user. In this case, for example, if the probability is greater than or equal to 0 and less than 0.34, the control unit 11 of the information processing device 1 determines that the voice data is voice output by the voice output device 3; if the probability is greater than or equal to 0.34 and less than 0.67, the control unit 11 determines that the voice data includes both voice uttered by the user and voice output by the voice output device 3; and if the probability is greater than or equal to 0.67 and less than 1, the control unit 11 determines that the voice data is voice uttered by the user.

[0043] The learning model M3 according to this embodiment is trained using training data in which mel spectrogram audio data is associated with labels for each probability. For example, when the mel spectrogram audio data included in the training data is audio produced by a user's speech, the control unit 11 of the information processing device 1 inputs training data created by associating labels of first probability: 1, second probability: 0, and third probability: 0 with the mel spectrogram audio data into the learning model M3, and trains the learning model M3. The learning model M3 is trained by adjusting the bias in each layer and the weight between each layer so as to output a probability equal to the label. Note that the learning model M3 may be trained by a computer different from the information processing device 1.

[0044] 9 is a flowchart showing an example of processing by the information processing device 1 according to the second embodiment. Steps S21 to S28 are similar to steps S1 to S8 in FIG. 7 . The control unit 11 of the information processing device 1 determines whether the voice data includes both voices uttered by the user and voices output by the voice output device 3 (S29). In S29, if the voice classification information output by the learning model M3 is 0.5, the control unit 11 determines that the voice data includes both voices uttered by the user and voices output by the voice output device 3. If the voice classification information is 0 or 1, the control unit 11 determines that the voice data does not include both voices uttered by the user and voices output by the voice output device 3.

[0045] If the voice data includes both the voice uttered by the user and the voice output by the voice output device 3 (S29: YES), the control unit 11 transmits (outputs) a command to execute voice reacquisition control to the voice response unit 2 (S30), and ends the process. When the voice response unit 2 receives (acquires) the command to execute voice reacquisition control from the information processing device 1, it executes voice reacquisition control to prompt the user to input voice again. The voice response unit 2 executes voice reacquisition control by, for example, outputting a voice such as "I couldn't hear you. Please speak again in a quiet environment" via the voice output unit 25.

[0046] If the voice data does not include either the voice uttered by the user or the voice output by the voice output device 3 (S29: NO), the control unit 11 proceeds to S31. S31 to S35 are the same processes as S9 to S13 in FIG. 7.

[0047] (Embodiment 3) An information processing device 1 according to embodiment 3 selects one learning model M3 from the plurality of learning models M3 according to the environmental type of the location where the sound included in the sound data is collected, inputs the sound data to the selected learning model M3, and outputs sound classification information. Differences between embodiment 3 and embodiment 1 will be described below. Except for the configuration described below, the other configurations are the same as embodiment 1. Therefore, components that are the same as embodiment 1 will be assigned the same reference numerals as embodiment 1, and descriptions of those components will be omitted.

[0048] 10 is an explanatory diagram showing an example of a voice determination system S according to embodiment 3. The voice determination system S according to embodiment 3 includes a user terminal 4. The user terminal 4 is a terminal device owned by a user, such as a smartphone, a tablet terminal, or a personal computer. In this embodiment, the following description will be given assuming that the user terminal 4 is a smartphone. Furthermore, in this embodiment, the following description will be given assuming that the voice output device 3 is a television.

[0049] The user terminal 4 receives input from the user of the environmental type of the location where the voice included in the voice data is picked up, i.e., the location where the voice response unit 2 is installed, and transmits (outputs) the input environmental type to the information processing device 1. The information processing device 1 selects a learning model M3 to be used for outputting voice classification information from a plurality of stored learning models M3 according to the received (acquired) environmental type. Details of the environmental type will be described later. Note that when voice is picked up by a microphone installed outside the voice response unit 2, the location where the voice is picked up is the location where the microphone is installed.

[0050] 11 is a block diagram showing an example of the configuration of an information processing device 1 according to embodiment 3. The storage unit 12 of the information processing device 1 according to embodiment 3 stores an environment type table T and a plurality of learning models M3 (M3a to M3f).

[0051] 12 is a block diagram showing an example configuration of the user terminal 4. The user terminal 4 includes a terminal control unit 41, a storage unit 42, a communication unit 43, an input unit 44, and a display unit 45. The terminal control unit 41 is configured with a CPU or an MPU, etc., and performs various control processes, arithmetic processes, etc. Note that the functions of the user terminal 4 may be realized by multiple devices.

[0052] The storage unit 42 stores an application program Pb that receives an environment type input by a user via the input unit 44 and transmits (outputs) the input environment type to the information processing device 1. The application program Pb is provided to the user terminal 4 using, for example, a storage medium 42a. Note that the terminal control unit 41 of the user terminal 4 may obtain the application program Pb via the Internet and store it in the storage unit 42.

[0053] The communication unit 43 is a communication module or a communication interface for wirelessly communicating with the information processing device 1. The terminal control unit 41 communicates with the information processing device 1 via the communication unit 43 and an external network N.

[0054] The input unit 44 accepts input from the user. The user can use the input unit 44 to input the type of environment where the voice response unit 2 is to be installed.

[0055] The display unit 45 displays an input screen for the environment type. In this embodiment, the user terminal 4 is a smartphone, and the input unit 44 and the display unit 45 are integrally configured as a touch panel.

[0056] 13 is an explanatory diagram showing an example of the environment type table T. The environment types are classified by a plurality of items. In this embodiment, the environment types are classified by two items: the channel that the user frequently watches using the audio output device (television) 3, and the distance between the voice response unit 2 and the audio output device (television) 3. The environment types may be classified by three or more items, such as the user's family composition, the location of the user when speaking to the voice response unit 2, the floor number of the indoor space (room) where the voice response unit 2 is installed, or the traffic volume of roads near the indoor space (room) where the voice response unit 2 is installed.

[0057] The management items (fields) of the environment type table T include, for example, a channel field, a distance field, and a learning model field. The channel field stores the channel that the user frequently watches using the audio output device 3. The distance field stores the distance between the voice response unit 2 and the audio output device 3. The learning model field stores the type of learning model M3 selected for the environment type information stored in the channel field and the distance field. The control unit 11 selects the learning model M3 to be used for outputting audio classification information based on the environment type input to the user terminal 4 and the environment type table T.

[0058] In this embodiment, the environment types are classified by three channels and two distance divisions, but this is not limited to this. The environment types may be classified by two or four or more channels, or by three or more distance divisions. Furthermore, the number of learning models M3 stored in the memory unit 12 (selected by the control unit 11) is not limited to six. The memory unit 12 may store two to five learning models M3, or seven or more learning models M3.

[0059] FIG. 14 is an explanatory diagram showing an example of an environment type input screen. The terminal control unit 41 of the user terminal 4 causes the display unit 45 to display the environment type input screen. The input unit 44 accepts input, for example, by selecting an option, for each environment type item displayed on the environment type input screen. In the example shown in FIG. 14 , the input unit 44 accepts a selection from Channel A, Channel B, or Channel C as the channel the user frequently watches via the audio output device 3. The input unit 44 also accepts a selection of either less than 3 meters or 3 meters or more as the distance between the voice response unit 2 and the audio output device 3. The environment type input screen displays a command (transmission command) for instructing transmission of the input environment type. When the transmission command is selected, the terminal control unit 41 transmits the input (selected) environment type to the information processing device 1.

[0060] 15 is a flowchart showing an example of processing by the information processing device 1 according to the third embodiment. The control unit 11 of the information processing device 1 acquires, from the user terminal 4, the input environment type of the location where the voice response unit 2 is installed (S41). The control unit 11 reads the environment type table T from the storage unit 12 (S42). The control unit 11 refers to the environment type table T and selects a learning model M3 to be used for outputting voice classification information based on the input environment type of the location where the voice response unit 2 is installed (S43). Steps S44 to S56 are the same as steps S1 to S13 shown in FIG. 7. In step S50, the control unit 11 inputs mel spectrogram voice data to the learning model M3 selected in step S43.

[0061] In the present embodiment, the control unit 11 of the information processing device 1 determines the learning model M3 to be used for outputting the sound classification information by referring to the environment type table T, but this is not limited to this. For example, the control unit 11 may determine the learning model M3 to be used for outputting the sound classification information by a trained model such as a decision tree or a neural network that outputs a type of learning model M3 appropriate for use in outputting the sound classification information when each item of the environment type is input. The model is trained to output a correct type when each item of the environment type is input, for example, using training data in which each item of the environment type is linked to the type of learning model M3 to be output (correct type).

[0062] (Embodiment 4) A voice response unit 2 according to embodiment 4 executes the process executed by the information processing device 1 according to embodiment 1. Differences between embodiment 4 and embodiment 1 will be described below. Except for the configuration described below, other configurations are common to embodiment 1. Therefore, components common to embodiment 1 are assigned the same reference numerals as embodiment 1, and descriptions of those components will be omitted.

[0063] 16 is a block diagram showing an example of the configuration of a voice response device 2 according to embodiment 4. The voice response device 2 according to embodiment 4 is, for example, a robot that transports an object to a location where a user is located by a drive unit (arm) 26. The storage unit 22 of the voice response device 2 according to embodiment 4 stores a voice activity detection module M1, a fast Fourier transform module M2, and a learning model M3. The storage unit 22 may store a plurality of learning models M3 and an environment type table T and may execute processing similar to that of the information processing device 1 according to embodiment 3.

[0064] The driving unit (arm) 26 executes the designated response control under the control of the device control unit 21. For example, when text data such as "I want to drink water" is extracted from the user's voice, the device control unit 21 causes the driving unit (arm) 26 to grasp a container filled with water and carry the grasped container to the location of the user.

[0065] 17 is a flowchart showing an example of processing by the voice response unit 2 according to the fourth embodiment. The device control unit 21 of the voice response unit 2 acquires collected voice data collected by the microphone 24 (S61). The device control unit 21 performs a canceling process on the collected voice data to delete the voice output from the voice output unit 25 of the voice response unit 2 (S62). The device control unit 21 inputs the collected voice data after the canceling process to the voice activity detection module M1 (S63) and extracts signal voice data (voice data) (S64). The device control unit 21 inputs the signal voice data to the fast Fourier transform module M2 (S65) and generates mel spectrogram voice data (voice data) (S66). The device control unit 21 inputs the mel spectrogram voice data (voice data) to the learning model M3 (S67) and outputs voice classification information indicating whether the voice data is voice spoken by the user or voice output from the voice output device 3 (S68). Note that, similar to the control unit 11 of the information processing device 1 according to the second embodiment, the device control unit 21 may use the learning model M3 to output, as the sound classification information, the probability that the sound is a sound uttered by the user (first probability), the probability that the sound is a sound output by the sound output device 3 (second probability), and the probability that the sound includes both a sound uttered by the user and a sound output by the sound output device 3 (third probability). The device control unit 21 determines whether the sound data is a sound uttered by the user (whether the sound is output by the sound output device 3) (S69). In S69, if the sound classification information is 1, the device control unit 21 determines that the sound data is a sound uttered by the user, and if the sound classification information is 0, the device control unit 21 determines that the sound data is a sound output by the sound output device 3.

[0066] If the voice data is a voice uttered by the user (S69: YES), the device control unit 21 extracts text data of the voice content uttered by the user based on the mel spectrogram voice data (S70). In S70, the device control unit 21 extracts the text data through voice recognition processing using processing modules such as an acoustic model, a pronunciation dictionary, and a language model. The device control unit 21 recognizes a voice instruction uttered by the user based on the extracted text data (S71). In S71, the device control unit 21 recognizes the instruction using a trained model that performs natural language processing, such as GPT, GPT2, GPT3, Transformer, BERT, BART, or T5. The device control unit 21 determines the content of a response control corresponding to the recognized instruction (S72). In S72, the device control unit 21 determines the content of the response control, for example, by referring to a database that associates instructions with the content of the response control. The device control unit 21 executes the response control with the determined content (S73) and ends the process. If the audio data is audio output by the audio output device 3 (S69: NO), the device control unit 21 ends the process without executing response control.

[0067] For example, if text data "I want to drink water" is extracted in S70, the device control unit 21 recognizes an instruction to carry a container filled with water in S71. The device control unit 21 determines carrying a container filled with water as the content of the response control in S72, and causes the drive unit (arm) 26 to carry a container filled with water as the response control in S73. As a result, for example, if the user utters "I want to drink water," the voice response unit 2 activates the drive unit (arm) to carry a container filled with water as the response control. Note that if a similar voice is output from the voice output device 3, the voice response unit 2 does not carry out the response control.

[0068] The embodiments disclosed herein are illustrative in all respects and should not be considered limiting. The technical features described in each embodiment may be combined with one another, and the scope of the present invention is intended to include all modifications within the scope of the claims and equivalents thereto. Furthermore, independent and dependent claims described in the claims may be combined with one another in any and all combinations, regardless of the reference format. Furthermore, while the claims use a format in which a claim references two or more other claims (multiple claim format), this is not limiting. Multiple claims (multiple multiple claims) that reference at least one other claim may also be used.

[0069] REFERENCE SIGNS LIST 1 Information processing device 11 Control unit 12 Storage unit 12a Storage medium 13 Communication unit 2 Voice response unit 21 Device control unit 22 Storage unit 22a Storage medium 23 Communication unit 24 Microphone 25 Voice output unit 3 Voice output device (device) 4 User terminal M1 Voice activity detection module M2 Fast Fourier transform module M3 Learning model N Network P Program Pa Application program Pb Application program S Voice determination system T Environment type table

Claims

1. A program that causes a computer to execute a process of acquiring voice data, and inputting the acquired voice data into a learning model that has been trained to output voice classification information indicating whether the voice data is a voice spoken by a user or a voice output by a device, thereby outputting the voice classification information.

2. The program according to claim 1, further comprising: generating a mel spectrogram based on the speech data; and inputting the generated mel spectrogram into the learning model as the speech data.

3. The program according to claim 2, wherein the mel spectrogram converted to grayscale is input to the learning model as the speech data.

4. The program according to claim 2 or 3, further comprising: extracting text data based on the mel spectrogram when the voice classification information indicates a voice uttered by a user.

5. The program according to claim 1 or 2, which acquires audio data collected by a microphone, inputs the acquired audio data into a voice activity detection module to extract data of sections containing audio from the audio data as the audio data, inputs the data extracted from the audio data into the learning model as the audio data, and outputs the audio classification information.

6. The program according to claim 5, further comprising canceling the voice output from a robot that executes response control in response to a user's voice instructions from the collected voice data.

7. A program as described in claim 1 or 2, which, if the voice classification information indicates a voice spoken by a user, commands the robot to execute response control corresponding to an instruction by the voice spoken by the user, and, if the voice classification information indicates a voice output by an equipment, does not command the robot to execute the response control.

8. The program of claim 1 or 2, wherein the learning model outputs the voice classification information indicating whether the voice data is a voice spoken by a user, a voice output by an equipment, or includes both a voice spoken by a user and a voice output by an equipment, and when the voice classification information indicates that the voice data includes both a voice spoken by a user and a voice output by an equipment, instructs a robot that executes response control corresponding to a user's voice instruction to execute voice reacquisition control that prompts the user to input voice again.

9. The program according to claim 1 or 2, which selects one of the plurality of learning models according to the environmental type of the location where the sound contained in the sound data is picked up, inputs the sound data into the selected learning model, and outputs the sound classification information.

10. An information processing method comprising: acquiring voice data; inputting the acquired voice data into a learning model that has been trained to output voice classification information indicating whether the voice data is a voice spoken by a user or a voice output by a device, when the voice data is input, thereby outputting the voice classification information.

11. An information processing device comprising a control unit that acquires voice data and outputs voice classification information by inputting the acquired voice data into a learning model that has been trained to output voice classification information indicating whether the voice data is a voice spoken by a user or a voice output by an equipment, when the voice data is input.

12. A robot comprising: a microphone for picking up surrounding sounds; and a control unit for executing response control corresponding to voice instructions from a user, wherein the control unit outputs voice classification information by inputting the acquired voice data into a learning model trained to output voice classification information indicating whether the voice data is a recording of a voice spoken by a user or a recording of a voice output by a device, when voice data based on voice data picked up by the microphone is input; and executes the response control if the voice classification information indicates a voice spoken by a user.

Citation Information

Patent Citations

  • Method and system for distinguishing humans from machines

    JP2016511475A

  • Neural network for speaker verification

    JP2018517927A

  • Speaker verification method and system

    JP2019514045A

  • Speaker identification apparatus, speaker identification method and program

    JP2020154061A

  • Speech Classifier

    JP2020527758A