Information processing apparatus, learning method, and program
By combining feature extraction, clustering, and inference units in the information processing device, the problem of unlabeled features within clusters is solved, and suspected labels are assigned to features within clusters. This method is applicable to feature extraction and clustering of various data types.
Patent Information
- Application Number
- CN202480091074.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-26
- Publication Date
- 2026-11-20
AI Technical Summary
Existing technologies cannot learn suspected labels when the features within a cluster are not labeled, especially in scenarios such as image segmentation where each pixel in an image must be labeled, making them ineffective.
The feature extraction unit of the information processing device extracts features from the data, the clustering unit clusters the features, the suspected label assignment unit generates suspected labels within a set range in the cluster, the inference unit calculates the inferred value, and the parameter update unit updates the model parameters, so as to assign suspected labels to each point of the features in the cluster.
It enables the learning of assigning suspected labels to each point of the feature quantity within a cluster, which can more accurately represent the features or patterns of the data and is suitable for feature extraction and clustering of various data types.
Smart Images

Figure CN123146958A_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to information processing devices, learning methods, and procedures. Background Technology
[0002] A technique is known to cluster features extracted from data, use the clusters as potential labels, and train a classifier. For example, Non-Patent Document 1 describes a technique that clusters features extracted from image data and assigns each image a potential label from the clusters.
[0003] Non-patent literature 1: Caron, Mathilde, et al. "Deep clustering for unsupervisedlearning of visual features." Proceedings of the European conference oncomputer vision (ECCV). 2018
[0004] In the prior art described in Non-Patent Document 1, there is a problem that when the points of a feature quantity within a cluster are not labeled, it is impossible to learn to assign a possible label to these points. For example, the prior art envisions assigning a possible label to each image corresponding to a cluster, and therefore cannot be applied to image segmentation that requires assigning a possible label to each pixel within an image. Summary of the Invention
[0005] This disclosure is intended to solve the above-mentioned problems, and its purpose is to provide an information processing device capable of learning to assign suspected labels to each point of a cluster's feature quantity.
[0006] The information processing apparatus disclosed herein includes: a feature extraction unit that extracts features from data; a clustering unit that determines the cluster to which a feature belongs by clustering features in a feature space; a suspected label assignment unit that sequentially sets ranges within a cluster, generates suspected labels based on cluster information corresponding to the features contained within the range, and assigns the generated suspected labels to at least one feature contained within the range; an inference unit that calculates inference values based on the features; and a parameter update unit that updates the parameters of the feature extraction unit and the inference unit based on the suspected labels and the inference values.
[0007] According to the information processing apparatus disclosed herein, it is possible to learn how to assign suspected labels to each point of a cluster's characteristic quantity. Attached Figure Description
[0008] Figure 1 This is a block diagram illustrating an example of the configuration of the information processing apparatus according to Embodiment 1.
[0009] Figure 2 This is a flowchart illustrating the operation of the information processing device involved in Embodiment 1.
[0010] Figure 3 This is a flowchart illustrating the learning method involved in Implementation Method 1.
[0011] Figure 4 This is a diagram that represents a summary of the process of extracting features from data.
[0012] Figure 5 It is a diagram that represents a summary of the clustering of features.
[0013] Figure 6 This is a diagram that outlines the process of assigning suspected labels to points in a cluster.
[0014] Figure 7 This is a diagram that represents a summary of the inference using characteristic quantities.
[0015] Figure 8 This is a diagram showing the overview of parameter updates in the feature extraction and inference departments.
[0016] Figure 9 This is a block diagram illustrating the hardware configuration for implementing the functions of the information processing device according to Embodiment 1.
[0017] Figure 10 This is a block diagram illustrating an example of the configuration of the information processing apparatus according to Embodiment 2.
[0018] Figure 11 This is a flowchart illustrating the learning method involved in Implementation Method 2.
[0019] Figure 12A , Figure 12B , Figure 12C as well as Figure 12D It is a graph representing an example of data with spatial continuity. Detailed Implementation
[0020] Implementation method 1.
[0021] In taught learning, datasets are assigned correct labels (hereinafter referred to as "labels"). However, in untaught learning, unlabeled data is used. Here, a label is identification information used to identify the clusters into which the data constituting the dataset are classified. A cluster is a collection of points with similar feature values. Feature values are obtained by representing the data constituting the dataset in the form of numerical values or categories. Within the same cluster, points are classified with feature values that have characteristics different from other clusters.
[0022] The information processing apparatus according to Embodiment 1 includes an inference unit that updates the parameters of an inference model through unguided learning, thereby learning the inference unit, and then performs inference processing using the learned inference unit. Here, in the unguided learning performed by the information processing apparatus according to Embodiment 1, a suspected label corresponding to a feature quantity extracted from unlabeled data is calculated, and the calculated suspected label is assigned to each point of the feature quantity within a cluster. Furthermore, the suspected label is a label that is suspected to be assigned to unlabeled data.
[0023] (Overview of the information processing device)
[0024] Figure 1 This is a block diagram illustrating a configuration example of the information processing apparatus 1 according to Embodiment 1. Figure 1 In this process, the information processing device 1 extracts features from the data obtained as a dataset, clusters the features in the feature space, sequentially defines ranges within each cluster, generates potential labels based on the cluster information corresponding to the features contained within that range, and assigns the potential labels to at least one feature contained within that range. For example, each point in the feature space may include points at each time step of the time-series data of the features, or the features of each pixel in an image, etc.
[0025] Cluster information represents the relationship between a point exhibiting a feature and the cluster to which that point is classified. It is generated during the clustering process of features extracted from data. Cluster information includes information indicating which cluster a point with a feature belongs to, information indicating the cluster's reference point, or information indicating the cluster's characteristics or attributes. Information indicating which cluster a point with a feature belongs to includes, for example, information indicating the cluster number used to identify the cluster. Reference points for clusters include the cluster's centroid, mean, or median. Information indicating the cluster's characteristics or attributes is obtained by numerically representing the characteristics or attributes; for example, it can be an evaluation score used to assess the characteristics of the cluster.
[0026] When cluster information is an evaluation score used to assess the characteristics of a cluster, the evaluation score is calculated based on feature quantities. For example, the information processing device 1 uses the average of the evaluation scores corresponding to the feature quantities contained within a range defined within the cluster as a suspected label and assigns it to the target points within that range. Furthermore, the information processing device 1 sequentially sets the aforementioned range so that all points contained within the cluster become target points, and assigns suspected labels to each point. Thus, the information processing device 1 is able to learn how to assign suspected labels to all points containing feature quantities within the feature quantity space.
[0027] In addition, such as Figure 1As shown, the information processing apparatus 1 includes a feature extraction unit 11, a clustering unit 12, a suspected label assignment unit 13, an inference unit 14, and a parameter update unit 15. For example, the information processing apparatus 1 is implemented by a computer. The computer's memory stores a program for implementing the functions of the feature extraction unit 11, the clustering unit 12, the suspected label assignment unit 13, the inference unit 14, and the parameter update unit 15. The computer's processor executes the information processing program read from the memory, thereby implementing the functions of the feature extraction unit 11, the clustering unit 12, the suspected label assignment unit 13, the inference unit 14, and the parameter update unit 15.
[0028] (Feature extraction section)
[0029] The feature extraction unit 11 extracts features from the data. For example, when extracting features from data in three-dimensional space, the feature extraction unit 11 selects the features to be extracted based on the purpose of the data. The position information, frequency information, color information, or combinations thereof of objects existing in three-dimensional space are selected as the features to be extracted. Then, the feature extraction unit 11 extracts the selected features.
[0030] For example, when location information is selected as a feature quantity, the feature extraction unit 11 extracts the position coordinates of the object as a feature quantity.
[0031] Furthermore, when shape information is selected as the feature quantity of the object to be extracted, the feature quantity extraction unit 11 calculates the feature quantity (volume, surface area, or length, etc.) representing the shape of the object. When color information is selected as the feature quantity of the object to be extracted, the feature quantity extraction unit 11 extracts the hue, saturation, or brightness of the object.
[0032] Furthermore, the feature extraction unit 11 can also scale the feature values. For example, when the scale of the positional information is different, the feature extraction unit 11 can also normalize it to unify the range of each dimension. In addition, in the case of color information, the feature extraction unit 11 can also scale the range of color values to unify them.
[0033] The learning data used to extract features include sensor data, network data, image data, video data, and text data.
[0034] Sensor data is data detected by physical sensors. Examples include: temperature, humidity, or air pressure data detected by meteorological sensors; environmental monitoring data detected by sensor networks; and patient biometric information detected by medical sensors. The feature extraction unit 11 is capable of extracting feature quantities from the sensor data acquired by the information processing device 1 from the sensors.
[0035] Network data refers to information from web pages or user activity data that can be utilized on the Internet. Information processing device 1 can also be used. Figure 1 The communication unit (not shown) acquires network data through web scraping. Additionally, the information processing device 1 can also use the aforementioned communication unit to acquire data from social media. The feature extraction unit 11 can use the communication unit to extract features from the network data acquired by the information processing device 1.
[0036] Image data and video data are information collected using cameras or sensors, such as video data captured by surveillance cameras, medical image data, and camera image data used for vehicle detection or segmentation.
[0037] The feature extraction unit 11 is capable of extracting feature quantities from image data or video data acquired by the information processing device 1 from a camera or sensor.
[0038] Text data is textual information collected from books, news articles, web pages, social media submissions, etc. It is used for natural language processing (NLP) tasks or text mining. The feature extraction unit 11 can use the communication unit to extract features from the text data acquired by the information processing device 1.
[0039] (Extracting features through convolution operations)
[0040] Furthermore, the feature extraction unit 11 can also extract features through convolution operations. Convolution operations can be performed using, for example, a convolutional neural network (CNN). In convolution operations, a matrix called the convolution kernel is used. The convolution kernel is a weight matrix used when performing convolution operations on the input data. The convolution kernel functions as a filter for detecting specific patterns or features. The feature extraction unit 11 slides the convolution kernel along various positions of the data, sequentially calculates the product of each element of the convolution kernel and the corresponding element of the data, and extracts the value at a specific position of the convolution kernel as a feature. Thus, features representing local features of the data can be extracted.
[0041] Furthermore, the feature extraction unit 11 extracts features from the data based on the values of its own set parameters. For example, when the feature extraction unit 11 uses a CNN model to extract features through convolution operations, the parameters used to set the size of the convolution kernel and the stride affect the feature extraction. The larger the size of the convolution kernel, the wider the range of features extracted; the larger the stride, the fewer features are extracted.
[0042] Furthermore, when the feature extraction unit 11 extracts features from sequential data such as time-series data or text data by moving a window, the values of the parameters used to set the window width and step size affect the feature extraction. A larger window width extracts a wider range of features, while a larger step size reduces the number of features.
[0043] When the data from which features are extracted through convolution operations are one-dimensional data, two-dimensional data, three-dimensional data, or graph data, the feature extraction unit 11 performs one-dimensional convolution, two-dimensional convolution, three-dimensional convolution, and graph convolution to extract features.
[0044] (1) One-dimensional convolution
[0045] For example, one-dimensional data includes time-series data, audio data, or sensor data. When extracting features from one-dimensional data through convolution operations, the length of the data being convolved is called the kernel size, and the convolution kernel is defined as a one-dimensional array.
[0046] The feature extraction unit 11 slides the convolution kernel along various positions in the data, sequentially calculating the product of each element of the convolution kernel with the corresponding element in the data. By extracting the values at specific positions of the convolution kernel as feature quantities, feature quantities that emphasize the relationship between neighboring elements within the data and represent local features are extracted.
[0047] In addition, the location of the extracted feature can be at the beginning, the middle, or the end of the convolution kernel.
[0048] (2) Two-dimensional convolution
[0049] For example, two-dimensional data includes image data. When extracting features from two-dimensional data through convolution operations, the convolution kernel is defined as a two-dimensional matrix. The feature extraction unit 11 slides the convolution kernel along various positions in the data, sequentially calculating the product of each element of the convolution kernel with the corresponding element of the data. By extracting the values at specific positions of the convolution kernel as features, features representing local features that emphasize the relationships between neighboring elements within the data are extracted.
[0050] In addition, the location of the extracted feature can be at the beginning, middle, or end of the convolution kernel.
[0051] (3) Three-dimensional convolution
[0052] For example, three-dimensional data includes image data. When extracting features from three-dimensional data through convolution operations, the convolution kernel is defined as a three-dimensional matrix with three dimensions: width, height, and channels. The feature extraction unit 11 slides the convolution kernel along various positions in the data, sequentially calculating the product of each element of the convolution kernel with the corresponding element of the data. By extracting the values at specific positions of the convolution kernel as features, features representing local features that emphasize the relationship between neighboring elements within the data are extracted.
[0053] In addition, the location of the extracted feature can be at the beginning, middle, or end of the convolution kernel.
[0054] (4) Graph convolution
[0055] The feature extraction unit 11 can also perform graph convolution on data with a graph structure. Examples of data with a graph structure include social networks, power grids, and molecular structures. In graph convolution, a graph structure is given as input data. A graph consists of a set of nodes (vertices) and edges (edges), where nodes represent data elements and edges represent relationships between nodes. By performing convolution operations while moving the convolution kernel across the graph, the feature extraction unit 11 can extract specific patterns and other features from the graph.
[0056] In addition, the feature extraction unit 11 can also perform two-dimensional convolution on the three-dimensional data in the spatial direction first, and then perform one-dimensional convolution in the temporal direction.
[0057] The feature extraction unit 11 can also convert the image data into a fixed-length feature vector and then perform a one-dimensional convolution in the time direction.
[0058] The feature extraction unit 11 can also perform dilated convolution, which uses convolution kernels to convolve features separated by a certain interval in the data.
[0059] Although feature extraction using CNN is shown, the feature extraction unit 11 can also use recurrent neural networks (RNNs) such as LSTM (Long Short-Term Memory) or GRU (Gated Recurrent Unit) to extract features.
[0060] Alternatively, the feature extraction unit 11 can also use Attention such as Transformer or an alternative MLP-Mixer to extract features.
[0061] (Clustering Department)
[0062] The clustering unit 12 determines the cluster to which a feature belongs by clustering features in the feature space. Clustering is the process of grouping points of similar features. For example, the clustering unit 12 calculates the distance or similarity between points in the feature space and performs feature clustering based on the calculated distance or similarity. The distance includes Euclidean distance or Manhattan distance. In addition, the similarity includes cosine similarity.
[0063] Representative clustering methods include k-means, Gaussian Mixture Model (GMM), hierarchical (agglomerated) clustering, spectral clustering, DBSCAN, OPTICS, BIRCH, and Mean Shift. The feature extraction unit 11 uses the selected clustering method to assign each point of the feature quantity to a cluster. At this point, clustering is performed based on the distance or similarity between points in the feature quantity space.
[0064] (Suspected labeling department)
[0065] The suspected label assignment unit 13 sequentially sets ranges within a cluster, generates suspected labels based on cluster information corresponding to the feature quantities contained within the range, and assigns the suspected labels to at least one feature quantity contained within the range. The suspected label assignment unit 13 performs the above processing on each cluster defined in the feature quantity space, thereby assigning suspected labels to all points in the feature quantity space. The range defined within a cluster is a moving window containing points of one or more feature quantities, for example, defining the cluster along the same dimension as the feature quantity. This range is set sequentially such that all points contained within a cluster become the objects of suspected label assignment.
[0066] A suspected label can also be any one of the mode, median, mean, minimum, or maximum values of cluster information corresponding to the feature quantity contained within a range defined within the cluster.
[0067] For example, if the range set within a cluster is a fixed-length moving window relative to the one-dimensional data of the feature quantity, and the cluster information corresponding to the feature quantity contained in the moving window is the cluster number, the suspected label assignment unit 13 calculates any one of the mode, median, mean, minimum or maximum value of the cluster number corresponding to the feature quantity contained in the moving window as a suspected label.
[0068] Because it can generate suspected labels that statistically consider cluster information corresponding to the feature quantities contained within a cluster, the information processing device 1 can more accurately represent the characteristics or patterns of the data.
[0069] Furthermore, the suspected label assignment unit 13 can also change the size of the range (moving window) set within the cluster as needed. By changing the size of the range, feature quantities can be extracted within different ranges. For example, the suspected label assignment unit 13 can extract feature quantities within different ranges when... Figure 1 When the input device (not shown) is set to a processing precision, it sets a range of sizes corresponding to that precision and performs suspected tag assignment processing. If the size of this range is increased, the range of extracted features expands; if the size of this range is decreased, more localized features are extracted. Alternatively, the suspected tag assignment unit 13 can also change the size of this range to a size set by the user via the input device.
[0070] The suspected label assignment unit 13 may also use a filter with a feedback loop, such as an IIR (Infinite Impulse Response) filter, to assign suspected labels to one-dimensional feature quantities. For example, the suspected label assignment unit 13 adjusts the parameters of the IIR filter to control the position and size of the moving window, sets the moving window sequentially within the cluster, and assigns the information obtained through the IIR filter as a suspected label to the feature quantity within the moving window.
[0071] The suspected label assignment unit 13 may also use an image filter to assign suspected labels to two-dimensional feature quantities. An image filter is a filter that uses convolution operations to determine specific regions on two-dimensional data and transforms the information within those regions. Image filters include smoothing filters, edge detection filters, or sharpening filters. For example, the suspected label assignment unit 13 adjusts the parameters of the image filter to control the position and size of the moving window, sequentially sets the moving window within the cluster, and assigns the information obtained through the image filter as suspected labels to the feature quantities within the moving window.
[0072] The suspected label assignment section 13 can also use an averaging filter, a weighted average filter, a median filter, or a Laplace filter to assign a suspected level.
[0073] An averaging filter is, for example, a filter that replaces the value of each pixel in an image with the average value of the values of its surrounding pixels. When the value of each pixel in the image is a feature quantity, the suspected label assignment unit 13 uses the averaging filter to sequentially set a moving window for clusters in the image, and assigns the average value of all pixels contained in the moving window as the feature quantity of the target as a suspected label.
[0074] A weighted average filter is, for example, a filter that calculates the average value by weighting the values of the pixels surrounding the pixel of interest. When the values of each pixel in the image are feature quantities, the suspected label assignment unit 13 uses the weighted average filter to sequentially set moving windows within clusters on the image, calculates the average value of all pixels contained within the moving window, and assigns the calculated value as a suspected label to the feature quantity of the target.
[0075] The median filter, for example, calculates the median value of the pixels contained in the moving window and uses the calculated value as the value of the center pixel of the moving window. When the values of each pixel in the image are feature values, the suspected label assignment unit 13 uses the median filter to sequentially set moving windows within clusters on the image, calculates the median value of all pixels contained in the moving window, and assigns the calculated value as a suspected label to the feature value of the target.
[0076] A Laplacian filter, for example, is a filter that emphasizes edges or features in an image, using a two-dimensional differential operator to detect abrupt changes in the image. When the values of each pixel in the image are feature quantities, the suspected label assignment unit 13 uses the Laplacian filter to sequentially set moving windows within clusters on the image, calculates the values of abruptly changing pixels within the moving window, and assigns the calculated values as suspected labels to the feature quantities of the target object.
[0077] The suspected label assignment section 13 can also use the label propagation method or label diffusion method to assign suspected labels to the feature quantities of the graph data.
[0078] Label propagation is a method of updating node labels in a graph based on the labels of surrounding nodes. Label diffusion, similar to label propagation, updates node labels by considering not only node labels but also edge weights and distances.
[0079] For example, the suspected label assignment unit 13 assigns an initial label to each node and updates the label using the mode or average of the labels of neighboring nodes. Thus, the label is propagated or diffused throughout the graph. The suspected label assignment unit 13 assigns suspected labels based on the labels of the feature quantities contained within the moving window. By repeating these processes until the label updates converge, suspected labels can be assigned to each point of the feature quantity within the cluster.
[0080] (Inference Department)
[0081] The inference unit 14 calculates inferred values based on the features extracted from the data by the feature extraction unit 11. For example, the inference unit 14 uses a model for calculating inferred values based on the features. The model is obtained by modeling the relationship between the input features and the output inferred values. Models include neural networks, generalized linear models, generalized additive models, decision trees, decision tree ensembles, support vector machines, or nearest neighbor models. The values of the model parameters are updated by the parameter update unit 15 (described later), and the model is learned in a way that allows it to generate appropriate inferred values from the input data. The inference unit 14 uses the learned model to perform prediction, classification, or regression on the input data.
[0082] For example, in the inference unit 14, when features are input to the input layer of the neural network, the features propagate from the input layer through hidden layers to the output layer, generating the final inferred value. In the fully connected layer, a bias is added to the inner product of the input and weights, and the output value is calculated using an activation function. Activation functions include ReLU (Rectified Linear Unit), Sigmoid, Softmax, or Tanh, etc. Alternatively, an activation function may not be used, and the value obtained by adding a bias to the inner product of the input and weights can be directly output.
[0083] (Parameter Update Department)
[0084] The parameter update unit 15 updates the parameters of the feature extraction unit 11 and the inference unit 14 based on the suspected label and the inferred value. For example, the parameter update unit 15 updates each parameter of the feature extraction unit 11 and the inference unit 14 so that the inferred value output from the inference unit 14 is consistent with the suspected label output from the suspected label assignment unit 13.
[0085] For example, the parameter update unit 15 uses a loss function to evaluate the consistency between the inferred value and the suspected label. The loss function is an indicator that represents the difference between the inferred value and the suspected label, and is used to evaluate the performance of the model. The value of the loss function is smaller as the inferred value and the suspected label value are closer.
[0086] Additionally, when the inferred value is categorical, the loss function includes cross-entropy. Furthermore, when the inferred value is numerical, the loss function includes mean absolute error (MAE) or mean squared error (MSE), etc.
[0087] The parameter update unit 15 updates the parameters of the feature extraction unit 11 and the inference unit 14 to minimize the value of the loss function.
[0088] For example, if the feature extraction unit 11 and the inference unit 14 are neural networks capable of gradient calculation, the parameter update unit 15 calculates the gradient of the loss function using gradient descent, and uses the calculated gradient to calculate the update amount of each parameter for the feature extraction unit 11 and the inference unit 14. The parameter update unit 15 repeats the above steps to learn until the value of the loss function converges. Thus, the parameters are updated in the direction that minimizes the loss function.
[0089] Gradient descent methods include stochastic gradient descent (SGD), mini-batch gradient descent, Adam, or RMSProp.
[0090] Next, the operation of the information processing device 1 will be explained.
[0091] Figure 2 This is a flowchart illustrating the operation of the information processing device 1.
[0092] The values of the parameters of the feature extraction unit 11 are initialized (step ST1). For example, the feature extraction unit 11 initializes the parameters such as the weights of the model used to extract features with random or predefined values.
[0093] Information processing device 1 acquires data for learning (step ST2). The data acquired by information processing device 1 is output to feature extraction unit 11. The dataset for learning is a non-teaching dataset that has not been correctly labeled.
[0094] Next, the information processing device 1 performs learning processing on the dataset used for learning (step ST3). For example, the feature extraction unit 11 extracts features from the data. The clustering unit 12 determines the cluster to which a feature belongs by clustering the features in the feature space. The suspected label assignment unit 13 sequentially sets a range within the cluster, generates a suspected label based on the cluster information corresponding to the feature contained within the range, and assigns the generated suspected label to at least one feature contained within the range. The inference unit 14 calculates an inferred value based on the feature, and the parameter update unit 15 updates the parameters of the feature extraction unit 11 and the inference unit 14 based on the suspected label and the inferred value.
[0095] Determine whether the learning conditions have ended (step ST4). If the learning conditions have ended (step ST4; yes), proceed to step ST5. On the other hand, if the learning conditions have not ended (step ST4; no), return to step ST3 and repeat the learning process. That is, feature extraction by feature extraction unit 11, clustering by clustering unit 12, assignment of suspected labels by suspected label assignment unit 13, inference by inference unit 14, and parameter updating by parameter update unit 15 are repeatedly performed until the learning conditions end. In addition, the learning conditions include, for example, whether a predetermined number of repetitions has been reached, or whether a predetermined learning time has been reached.
[0096] Alternatively, the learning conditions may be the following conditions (1) or (2).
[0097] (1) is the condition that learning ends when the number of samples with suspected label changes falls below a specified value.
[0098] (2) The acquired data is divided into learning data and verification data. In step ST3, the information processing device 1 uses the learning data to update the parameters of the feature extraction unit 11 and the inference unit 14. The learning condition is that when the value of the loss function, which represents the difference between the inferred value and the suspected label, does not decrease continuously after a specified number of times using the verification data, the value of the loss function is considered to have converged and the learning ends.
[0099] In addition, the information processing device 1 can perform clustering, assignment of suspected labels, inference, and parameter updates at a 1:1 ratio, or at different ratios.
[0100] For example, after performing one clustering and assigning suspected labels, the information processing device 1 can repeat the inference and parameter update 10 times using the stochastic gradient descent method.
[0101] The inference unit 14 uses the model learned in step ST4 to perform inference processing (step ST5). Inference includes prediction, classification, or regression for new data. After the model has been learned, it outputs a prediction or classification result when new data features are input.
[0102] Next, the learning method involved in Implementation Method 1 will be explained.
[0103] Figure 3 This is a flowchart illustrating the learning method involved in Implementation Method 1. Figure 2 The detailed processing of step ST3.
[0104] The feature extraction unit 11 extracts features from the learning data (step ST1A).
[0105] Figure 4 This is a diagram summarizing the process of extracting feature Z from data X. Figure 4 In this context, data X is composed of elements x. i One-dimensional data constituted by feature quantity Z. i The feature vector formed. i is an integer greater than or equal to 1.
[0106] Feature extraction unit 11 uses relation z i =Feature(Neighbor(x i )) Calculate the characteristic quantity z i The feature extraction unit 11 calculates the x contained in the data X. i The nearest neighbor. The nearest neighbor is the element x. i The collection of other elements existing around it. For example, element x. i The k nearest neighbors or elements within a certain distance range, etc.
[0107] The feature extraction unit 11 calculates the feature z based on the neighboring data using the Feature function. i The feature quantity z calculated using the Feature function. i It is related to each element of the data x i The corresponding features are identified by the elements of the feature quantity. Therefore, the feature quantity z is extracted from the 1-dimensional data X. i The characteristic quantity Z.
[0108] The clustering unit 12 determines the cluster to which a feature belongs by clustering the feature values in the feature value space (step ST2A).
[0109] Figure 5 This is a graph representing a summary of the clustering of feature Z. Figure 5 In this context, cluster C is the feature quantity z. i The cluster to which it was classified. For feature z i Assigning the label ci The clustering unit 12, according to its own set clustering algorithm, divides the feature quantity z... i Clustering is performed to form cluster C. Clustering algorithms include k-means, hierarchical clustering, or DBSCAN, etc. These algorithms determine the feature quantity z. i Which cluster C does it belong to?
[0110] Clustering Department 12 uses relation c i =Cluster(z i ), for characteristic z i Assign the corresponding label c i Therefore, the characteristic quantity z is determined. i It belongs to cluster C. Additionally, c i The value represents the characteristic z. i Information about the cluster C to which it belongs.
[0111] The suspected label assignment unit 13 sequentially sets a range (moving window) within a cluster, generates a suspected label based on the cluster information corresponding to the feature quantity contained within the range, and assigns the suspected label to at least one feature quantity contained within the range (step ST3A).
[0112] Figure 6 This indicates that each point in cluster C is assigned a possible label 'a'. i A diagram summarizing the processing. In Figure 6 In the context, the suspected label A is identified by label c, which is contained within cluster C. i The suspected label a is assigned to i And constituted. The suspected label assignment part 13 follows the function Neighbor(c i Set a moving window W within cluster C, and calculate the label c of each element within the moving window W. i Therefore, we obtain the set of labels for each element contained in the moving window W.
[0113] Next, the suspected label assignment part 13, according to the Aggregate function, assigns labels c to each element within the moving window W. i The aggregated labels are used to calculate the suspected label a. i .
[0114] For example, the condensed label c i The mode or mean is used as a suspected label a i The calculation is performed. The suspected label assignment unit 13 assigns the calculated suspected label a i Assigning elements to the object. This yields the suspected tag a contained within suspected tag A. i A set of.
[0115] The inference unit 14 calculates the inferred value based on the feature quantity (step ST4A).
[0116] Figure 7 This is a diagram summarizing the inference using the feature Z. In Figure 7 In the inference result Y, the inference result is the result using feature Z, and is based on feature z. i The elements of the inference result y i The set. Inference section 14 follows the relation y. i =Predict(z i Inferences can be made based on this.
[0117] For example, the inference unit 14 inputs the feature quantity z i When using the element y of the output inferred value i The inference model generates the inference result Y. Therefore, it is possible to obtain the inference result Y from the feature quantity z. i Infer the information that serves as the objective.
[0118] The parameter update unit 15 updates the parameters of the feature extraction unit 11 and the inference unit 14 based on the suspected label and the inferred value (step ST5A).
[0119] Figure 8 This is a diagram showing a summary of the parameter updates in the feature extraction unit 11 and the inference unit 14. Figure 8 In the context, the loss function Loss(a) i , y i ) is a suspected tag a i The element y of the inference result i The difference is quantified by a function used to evaluate the degree of consistency between the two. The parameter update unit 15 modifies the parameters of the feature extraction unit 11 and the inference unit 14 into the loss function Loss(a). i , y i The parameters are updated in the direction that minimizes the loss function value. The learning process ends when the parameter updates converge when the loss function value falls below the threshold or when a certain number of iterations are reached.
[0120] Next, the hardware configuration for implementing the functions of information processing device 1 will be described.
[0121] Figure 9 This is a block diagram illustrating the hardware configuration that implements the functions of the information processing device 1. The functions of the feature extraction unit 11, clustering unit 12, suspected label assignment unit 13, inference unit 14, and parameter update unit 15 of the information processing device 1 are implemented by processing circuitry. That is, the information processing device 1 has the capability to perform... Figure 3 The processing circuit shown in steps ST1A to ST5A. The processing circuit can also be a CPU (Central Processing Unit) that executes a program stored in memory.
[0122] The feature extraction unit 11 acquires, for example, the learning dataset received from an external device by the communication unit of the information processing apparatus 1 via the input interface 100. Alternatively, if the dataset is stored in the storage unit of the information processing apparatus 1, the feature extraction unit 11 reads it from the storage unit via the input interface 100 and acquires the dataset. In this case, the information processing apparatus 1 may not have a communication unit.
[0123] The inference unit 14 outputs the inference result to an external device, for example, via the output interface 101. Alternatively, the inference unit 14 can also control the communication unit via the output interface 101, thereby sending the inference result to an external device.
[0124] The functions of the feature extraction unit 11, clustering unit 12, suspected label assignment unit 13, inference unit 14, and parameter update unit 15 of the information processing device 1 are implemented by software, firmware, or a combination of software and firmware.
[0125] In addition, the software or firmware is described as a program and stored in memory 103.
[0126] The processor 102 reads and executes the program stored in the memory 103 to implement the functions of the feature extraction unit 11, clustering unit 12, suspected label assignment unit 13, inference unit 14, and parameter update unit 15 provided in the information processing device 1. For example, the information processing device 1 includes a memory 103 for storing the results of execution when executed by the processor 102. Figure 3 The program for steps ST1A to ST5A shown. These programs cause the computer to execute the steps or methods of each process performed by the feature extraction unit 11, clustering unit 12, suspected label assignment unit 13, inference unit 14, and parameter update unit 15. The memory 103 may also be a computer-readable storage medium storing programs for enabling the computer to function as the feature extraction unit 11, clustering unit 12, suspected label assignment unit 13, inference unit 14, and parameter update unit 15.
[0127] Memory 103 includes, for example, non-volatile or volatile semiconductor memories such as RAM (Random Access Memory), ROM (Read Only Memory), flash memory, EPROM (Erasable Programmable Read Only Memory), and EEPROM (Electrically Erasable Programmable Read Only Memory) (registered trademarks), as well as disks, floppy disks, optical disks, compact disks, mini disks, DVDs, etc.
[0128] Some of the functions of the feature extraction unit 11, clustering unit 12, suspected label assignment unit 13, inference unit 14, and parameter update unit 15 of the information processing device 1 can be implemented by dedicated hardware, while other parts are implemented by software or firmware.
[0129] For example, the functions of the feature extraction unit 11, the clustering unit 12, and the suspected label assignment unit 13 can also be implemented by a processing circuit that is dedicated hardware, and the functions of the inference unit 14 and the parameter update unit 15 can also be implemented by the processor 102 reading and executing the program stored in the memory 103. In this way, the processing circuit can implement the above functions through hardware, software, firmware, or a combination thereof.
[0130] As described above, the information processing apparatus 1 according to Embodiment 1 includes: a feature extraction unit 11 that extracts features from data; a clustering unit 12 that determines the cluster to which a feature belongs by clustering features in a feature space; a suspected label assignment unit 13 that sequentially sets ranges within a cluster, generates suspected labels based on cluster information corresponding to the features contained within the range, and assigns the generated suspected labels to at least one feature contained within the range; an inference unit 14 that calculates inference values based on the features; and a parameter update unit 15 that updates the parameters of the feature extraction unit 11 and the inference unit 14 based on the suspected labels and the inference values.
[0131] Therefore, the information processing device 1 can learn to assign potential labels to each point of the feature quantity of a cluster. For example, when the learning data is image data, the information processing device 1 can assign a potential label to each pixel in the image, thereby enabling its application to image segmentation.
[0132] In the information processing apparatus 1 according to Embodiment 1, the feature extraction unit 11 extracts features through convolution operations. Thus, the information processing apparatus 1 is able to extract features representing local features of data.
[0133] In the information processing apparatus 1 according to Embodiment 1, the suspected label is any one of the mode, median, average, minimum, or maximum value of the cluster information corresponding to the feature quantities contained within the range. Since it is possible to generate suspected labels that statistically consider the cluster information corresponding to the feature quantities contained within the cluster, the information processing apparatus 1 can more accurately represent the characteristics or patterns of the data.
[0134] The learning method according to Embodiment 1 includes the following steps: Step ST1A, the feature extraction unit 11 extracts features from the data; Step ST2A, the clustering unit 12 determines the cluster to which a feature belongs by clustering the features in the feature space; Step ST3A, the suspected label assignment unit 13 sequentially sets a range within the cluster, generates a suspected label based on the cluster information corresponding to the feature contained within the range, and assigns the generated suspected label to at least one feature contained within the range; Step ST4A, the inference unit 14 calculates an inferred value based on the feature; and Step ST5A, the parameter update unit 15 updates the parameters of the feature extraction unit 11 and the inference unit 14 based on the suspected label and the inferred value.
[0135] By executing the above-described learning method, the information processing device 1 is able to learn to assign suspected labels to each point of the cluster's feature quantity.
[0136] The computer configuration for executing the program according to Embodiment 1 is as follows: a feature extraction unit 11, which extracts features from data; a clustering unit 12, which determines the cluster to which a feature belongs by clustering features in the feature space; a suspected label assignment unit 13, which sequentially sets ranges within a cluster, generates suspected labels based on cluster information corresponding to the features contained within the range, and assigns the generated suspected labels to at least one feature contained within the range; an inference unit 14, which calculates inference values based on the features; and a parameter update unit 15, which updates the parameters of the feature extraction unit 11 and the inference unit 14 based on the suspected labels and the inference values.
[0137] A computer that executes the program described in Implementation 1 is capable of learning to assign suspected labels to points of the cluster's characteristic quantities.
[0138] Implementation method 2.
[0139] Implementation 1 does not mention the characteristics of the learning data, but the information processing apparatus according to Implementation 2 obtains data with spatial continuity as learning data. Therefore, the information processing apparatus according to Implementation 2 can assign suspected labels that take into account the spatial continuity of the learning data by extracting feature quantities from spatially continuous local data.
[0140] (Overview of the information processing device)
[0141] Figure 10 This is a block diagram illustrating a configuration example of the information processing apparatus 1A according to Embodiment 2. Figure 10In this process, the information processing device 1A acquires spatially continuous data and extracts feature quantities from the spatially continuous local data. Furthermore, within each cluster obtained by clustering the feature quantities, the information processing device 1A sequentially sets a range, generates a suspected label based on the cluster information corresponding to the feature quantities contained within that range, and assigns the suspected label to at least one feature quantity contained within that range.
[0142] The information processing device 1A includes a feature extraction unit 11A, a clustering unit 12A, a suspected label assignment unit 13A, an inference unit 14A, a parameter update unit 15A, and a data acquisition unit 16.
[0143] For example, the information processing device 1A is implemented by a computer. The computer's memory stores a program that constitutes an information processing application for implementing the functions of the feature extraction unit 11A, the clustering unit 12A, the suspected label assignment unit 13A, the inference unit 14A, the parameter update unit 15A, and the data acquisition unit 16. The computer's processor executes the information processing application read from the memory, thereby implementing the functions of the feature extraction unit 11A, the clustering unit 12A, the suspected label assignment unit 13A, the inference unit 14A, the parameter update unit 15A, and the data acquisition unit 16.
[0144] (Data Acquisition Department)
[0145] The data acquisition unit 16 acquires data with spatial continuity. For example, the data acquisition unit 16 acquires data through... Figure 10 The communication unit, not shown in the diagram, communicates with sensor devices or servers via a network, thereby obtaining spatially continuous data.
[0146] Spatially continuous data includes, for example, time-series data, audio data, image data, video data, spectrograms, text data, 3D point clusters, range-Doppler data, or graph data. Time-series and audio data are 1D data with temporal continuity. Image data is 2D data representing 2D space. Video data represents 2D space and also has a temporal dimension. Spectrograms have both time and frequency dimensions. Text data is 1D data with a sequential dimension. 3D point clusters are 3D spatial data. Range-Doppler data has both distance and velocity dimensions. Graph data is data represented by connections between nodes.
[0147] Furthermore, the points representing features extracted from spatially continuous local data can also be scalars or vectors. For example, features of univariate time series data are represented by scalars, while features of multivariate time series data are represented by vectors. Each pixel value of color image data is represented by a 3D vector containing color information of R (red), G (green), and B (blue).
[0148] (Feature extraction section)
[0149] The feature extraction unit 11A extracts features from spatially continuous local data acquired by the data acquisition unit 16. These features also possess spatial continuity. When the data from which features are extracted via convolution operations are one-dimensional, two-dimensional, three-dimensional, or graph data, the feature extraction unit 11A performs one-dimensional convolution, two-dimensional convolution, three-dimensional convolution, and graph convolution to extract the features.
[0150] (Clustering Department)
[0151] The clustering unit 12A determines the cluster to which a feature belongs by clustering feature quantities that have spatial continuity.
[0152] For example, clustering unit 12A can perform both hard clustering and soft clustering.
[0153] Hard clustering is a method that assigns each point of a feature to a unique cluster, as cluster information, such as assigning a single cluster number (integer value) to each point within a cluster. Hard clustering includes k-means clustering, etc.
[0154] Soft clustering is a method that considers the probability that points of a feature belong to multiple clusters, as cluster information, such as assigning evaluation scores (real values) to each cluster. Soft clustering includes GMM, etc.
[0155] (Suspected labeling department)
[0156] The suspected label assignment unit 13A sequentially sets a range within a cluster, generates a suspected label based on the cluster information corresponding to the feature quantity contained within the range, and assigns the suspected label to at least one feature quantity contained within the range.
[0157] For example, the suspected label assignment unit 13A assigns suspected labels by condensing spatially continuous local cluster information within the aforementioned range.
[0158] In the case of hard clustering, the suspected label assignment unit 13A assigns suspected labels, for example, information after aggregating the cluster numbers (integer values). Aggregation refers to the mode, median, mean, minimum, maximum, or quantile of the cluster numbers of points that are assigned to a range of features within a defined cluster.
[0159] In the case of soft clustering, the suspected label assignment unit 13A assigns suspected labels, for example, information obtained by aggregating the evaluation scores (real values) of the clusters.
[0160] (Inference Department)
[0161] The inference unit 14A calculates inferred values based on the features extracted from the data by the feature extraction unit 11A. For example, the inference unit 14A uses a neural network to calculate the inferred values. When features are input to the input layer of the neural network, they propagate from the input layer through hidden layers to the output layer, generating the final inferred values. In the fully connected layer, a bias is added to the inner product of the input and weights, and the output value is calculated using an activation function. If the activation function is a sigmoid function, a binary inferred value is output. Alternatively, if the activation function is a softmax function, a multi-class inferred value is output.
[0162] (Parameter Update Department)
[0163] The parameter update unit 15A updates the parameters of the feature extraction unit 11A and the inference unit 14A based on the suspected label and the inferred value. For example, the parameter update unit 15A updates each parameter of the feature extraction unit 11A and the inference unit 14A so that the inferred value output from the inference unit 14A is consistent with the suspected label output from the suspected label assignment unit 13A.
[0164] Next, the learning method involved in Implementation Method 2 will be explained.
[0165] Figure 11 This is a flowchart illustrating the learning method involved in Implementation Method 2. Figure 2 The detailed processing of step ST3.
[0166] The data acquisition unit 16 acquires spatially continuous data (step ST1B).
[0167] The feature extraction unit 11A extracts features from spatially continuous local data (step ST2B).
[0168] The clustering unit 12A determines the cluster to which a feature belongs by clustering the feature quantities in the feature quantity space (step ST3B).
[0169] The suspected label assignment unit 13A sequentially sets moving windows within a cluster, generates suspected labels based on cluster information corresponding to the feature quantities contained within the moving windows, and assigns the suspected labels to at least one feature quantity contained within the range (step ST4B).
[0170] The inference unit 14A calculates the inferred value based on the feature quantity (step ST5B).
[0171] The parameter update unit 15A updates the parameters of the feature extraction unit 11A and the inference unit 14A based on the suspected label and the inferred value (step ST6B).
[0172] Figure 12AThis is a diagram summarizing the process of assigning potential labels to points that are feature quantities within a cluster of time-series data. Figure 12A In the process, the suspected label assignment unit 13A sets a moving window W1 for cluster D1, which is time-series data. The moving window W1 includes point P1, the target of the suspected label assignment, and its neighboring points PN. The suspected label assignment unit 13A calculates the suspected label by aggregating the label numbers of points P1 and PN included in the moving window W1. The suspected label assignment unit 13A assigns the suspected label to the target point P1. By repeating this process, suspected labels are assigned to all points included in cluster D1. Thus, the information processing device 1A is able to learn how to assign suspected labels to each point, which is a feature quantity of time-series data.
[0173] Figure 12B This is a diagram summarizing the process of assigning potential labels to points that are feature quantities within a cluster of two-dimensional data. Figure 12B In the process, the suspected label assignment unit 13A sets a moving window W2 for cluster D2, which is two-dimensional data. The moving window W2 includes the point P2, the target of the suspected label assignment, and its neighboring points. The suspected label assignment unit 13A calculates the suspected label by aggregating the label numbers of the points included in the moving window W2. The suspected label assignment unit 13A assigns the suspected label to the target point P2. By repeating this process, suspected labels are assigned to all points included in cluster D2. Thus, the information processing device 1A is able to learn how to assign suspected labels to each point, which is a feature quantity of two-dimensional data.
[0174] Figure 12C This is a diagram summarizing the process of assigning potential labels to points that are feature quantities within clusters of 3D data. Figure 12C In the process, the suspected label assignment unit 13A sets a moving window W3 for cluster D3. The moving window W3 includes the point P3, the target of the suspected label assignment, and its neighboring points. The suspected label assignment unit 13A calculates the suspected label by aggregating the label numbers of the points included in the moving window W3. The suspected label assignment unit 13A assigns the suspected label to the target point P3. By repeating this process, suspected labels are assigned to all points included in cluster D3. Thus, the information processing device 1A is able to learn how to assign suspected labels to each point, which is a feature quantity of three-dimensional data.
[0175] Figure 12D This is a graph that represents a summary of the process of assigning potential labels to points that are feature quantities within clusters of graph data. Figure 12DIn the process, the suspected label assignment unit 13A sets a moving window W4 for cluster D4. The moving window W4 includes the point P4, the target of the suspected label assignment, and its neighboring points. The suspected label assignment unit 13A calculates the suspected label by aggregating the label numbers of the points included in the moving window W4. The suspected label assignment unit 13A assigns the suspected label to the target point P4. By repeating this process, suspected labels are assigned to all points included in cluster D4. Thus, the information processing device 1A is able to learn how to assign suspected labels to each point, which is a feature quantity of graph data.
[0176] (Variation Example 1)
[0177] In Modification 1, the information processing device 1A acquires time-series data as a learning dataset, performs hard clustering on each point of the feature quantity extracted from the time-series data, and assigns cluster information as an integer value representing the cluster number to each point.
[0178] Time-series data, for example, is the time-series data of acceleration and angular acceleration detected by sensors installed on a person's hands and feet. This time-series data is segmented (divided) according to the action category of the person with the sensors installed, such as walking, running, or sitting. The ground truth of a segment, i.e., which action category it belongs to, is unknown, so it is assumed that there is no teaching data.
[0179] The following is in accordance with Figure 2 as well as Figure 3 The flowchart illustrates the operation of a variation of the information processing device 1A, Example 1.
[0180] The feature extraction unit 11A extracts features by using one-dimensional convolution operations of CNN.
[0181] First, the information processing device 1A randomly initializes the parameters of the one-dimensional convolutional layer in the CNN (step ST1).
[0182] The data acquisition unit 16 acquires time-series data of acceleration and angular acceleration detected by sensors installed on a person's hands and feet (step ST2). As a result, the information processing device 1A is able to learn to assign suspected labels to points of continuous local feature quantities in space.
[0183] Hereafter, the information processing device 1A uses the timing data acquired by the data acquisition unit 16 as learning data and repeats the following learning process (processing steps ST1A to ST5A) a specified number of times (step ST3).
[0184] The feature extraction unit 11A extracts the temporal sequence of features from the temporal data through the one-dimensional convolutional layer of the CNN (step ST1A).
[0185] The clustering unit 12A performs hard clustering (step ST2A) on each point of the temporal feature extracted by the feature extraction unit 11A using k-means with 10 clusters. Then, for each point of the feature contained within a cluster, an integer value representing the cluster number is assigned as cluster information.
[0186] The suspected label assignment unit 13A sequentially sets a moving window of size 5 within each cluster at each time step, performs majority voting on the cluster information within the moving window and converts it into a suspected label, and sequentially assigns suspected labels to the feature quantities of the assigned object at each time step (step ST3A).
[0187] The inference unit 14A uses the fully connected layers of the CNN and the Softmax function to convert the feature quantities at each time step into a 10-dimensional vector (step ST4A).
[0188] The parameter update unit 15A uses stochastic gradient descent to update the parameters of the one-dimensional convolutional layer of the CNN used by the feature extraction unit 11A and the fully connected layer of the CNN used by the inference unit 14A, so as to minimize the value of the cross-entropy loss function calculated based on the suspected labels and 10-dimensional vectors at each time step (step ST5A).
[0189] The process from step ST1A to step ST5A is repeated until the specified number of times is reached (step ST4).
[0190] The inference unit 14A segments the inference result data (step ST5). For example, the inference unit 14A obtains the temporal sequence of features extracted from the temporal data by the one-dimensional convolutional layer of the CNN, and uses a fully connected layer and the Softmax function to convert the features at each time step into a 10-dimensional vector. The inference unit 14A outputs the cluster with the largest 10-dimensional vector at each time step as a segment.
[0191] Therefore, the information processing device 1A is able to segment the time-series data of acceleration and angular acceleration detected by sensors installed on a person's hands and feet according to the type of action of the person with the sensors, such as walking, running, or sitting.
[0192] (Variation Example 2)
[0193] In Modification 2, the information processing device 1A acquires image data as two-dimensional data as a learning dataset and performs soft clustering on each point of the feature quantities extracted from the image data. The information processing device 1A segments the image data in pixels.
[0194] Furthermore, the information processing device 1A uses a pre-learned model for segmentation, but performs segmentation in a target domain that is different from the pre-learned source domain. In the target domain, it is assumed that there is no teaching data.
[0195] The following is in accordance with Figure 2 as well as Figure 3 The flowchart illustrates the operation of a modified example 2 of the information processing device 1A.
[0196] The feature extraction unit 11A extracts features by using two-dimensional convolution operations of CNN.
[0197] First, the information processing device 1A randomly initializes the parameters of the two-dimensional convolutional layer in the CNN (step ST1).
[0198] The data acquisition unit 16 acquires image data (step ST2).
[0199] Next, the information processing device 1A uses the image data acquired by the data acquisition unit 16 as learning data and repeats the following learning process (processing steps ST1A to ST5A) a specified number of times (step ST3).
[0200] The feature extraction unit 11A extracts features from image data temporally through the two-dimensional convolutional layer of the CNN (step ST1A).
[0201] The clustering unit 12A performs soft clustering (step ST2A) on the features of each pixel extracted from the image data by the feature extraction unit 11A using a GMM with 100 clusters. For the features of each pixel contained within a cluster, a cluster likelihood is assigned as the cluster information and used as the evaluation score for the cluster.
[0202] The suspected label assignment unit 13A sets an averaging filter (moving window) of size 3×3 for each cluster in sequence. The cluster likelihood of each pixel is averaged by the averaging filter, and the highest cluster likelihood is calculated as the suspected label. The suspected label is then assigned to the feature values of the target pixels in sequence (step ST3A).
[0203] The inference unit 14A uses the fully connected layers of the CNN and the Softmax function to convert the feature values of each pixel into a 100-dimensional vector (step ST4A).
[0204] The parameter update unit 15A uses stochastic gradient descent to update the parameters of the two-dimensional convolutional layer of the CNN used by the feature extraction unit 11A and the fully connected layer of the CNN used by the inference unit 14A, so as to minimize the value of the cross-entropy loss function calculated based on the suspected label of each pixel and the 100-dimensional vector (step ST5A).
[0205] The process from step ST1A to step ST5A is repeated until the specified number of times is reached (step ST4).
[0206] The inference unit 14A segments the inference result data (step ST5). For example, the inference unit 14A obtains the feature values of each pixel extracted from the image data by the two-dimensional convolutional layer of the CNN, and uses a fully connected layer and a softmax function to convert the feature values of each pixel into a 100-dimensional vector. The inference unit 14A outputs the cluster with the largest 100-dimensional vector in each pixel as a segment.
[0207] Thus, the information processing device 1A is able to segment image data in a target domain that is different from the source domain learned in advance.
[0208] As described above, the information processing apparatus 1A according to Embodiment 2 includes a data acquisition unit 16 for acquiring spatially continuous data, and a feature extraction unit 11A for extracting feature vectors from spatially continuous local data within the acquired data. Therefore, the information processing apparatus 1A is capable of learning to assign potential labels to points of spatially continuous local feature vectors.
[0209] In the information processing apparatus 1A according to Embodiment 2, the data acquisition unit 16 acquires time-series data. Therefore, the information processing apparatus 1A is capable of learning to assign potential labels to each point of the feature quantity of the time-series data.
[0210] In the information processing apparatus 1A according to Embodiment 2, the clustering unit 12A determines clusters through hard clustering. Thus, the information processing apparatus 1A is capable of learning to assign suspected labels to each point of the feature quantity within a cluster, based on cluster information assigned to only one cluster.
[0211] In the information processing apparatus 1A according to Embodiment 2, the cluster information is an integer value representing the cluster number. Therefore, the information processing apparatus 1A is capable of learning to assign suspected labels calculated based on the cluster number to each point of the feature quantity within a cluster.
[0212] In the information processing apparatus 1A according to Embodiment 2, the clustering unit 12A determines clusters through soft clustering. Thus, the information processing apparatus 1A is capable of learning to assign suspected labels to each point of the feature quantity within a cluster, based on cluster information capable of being assigned to multiple clusters.
[0213] In the information processing apparatus 1A according to Embodiment 2, the cluster information is an evaluation score for the cluster. Therefore, the information processing apparatus 1A is capable of learning to assign suspected labels to each point of a feature quantity within a cluster, calculated based on the evaluation score for the cluster.
[0214] Furthermore, it is possible to combine various embodiments, modify the constituent elements of each embodiment, or omit constituent elements in each embodiment.
[0215] Industrial availability
[0216] The information processing apparatus disclosed herein can be used, for example, for various information processing applications involving unguided learning.
[0217] Explanation of reference numerals in the attached figures
[0218] 1, 1A: Information processing device; 11, 11A: Feature extraction unit; 12, 12A: Clustering unit; 13, 13A: Suspected label assignment unit; 14, 14A: Inference unit; 15, 15A: Parameter update unit; 16: Data acquisition unit; 100: Input interface; 101: Output interface; 102: Processor; 103: Memory.
Claims
1. An information processing device, characterized in that, have: The feature extraction unit extracts features from the data; The clustering department determines the cluster to which a feature belongs by clustering the features in the feature space; A suspected label assignment unit sequentially sets a range within the cluster, generates a suspected label based on cluster information corresponding to the feature quantity contained within the range, and assigns the generated suspected label to at least one of the feature quantities contained within the range; The inference unit calculates the inferred value based on the aforementioned feature quantity; as well as The parameter update unit updates the parameters of the feature extraction unit and the inference unit based on the suspected label and the inferred value.
2. The information processing device according to claim 1, characterized in that, It has a data acquisition unit that acquires spatially continuous data. The feature extraction unit extracts the feature quantities from spatially continuous local data in the acquired data.
3. The information processing device according to claim 2, characterized in that, The data acquisition unit acquires time-series data.
4. The information processing apparatus according to any one of claims 1 to 3, characterized in that, The clustering unit determines the clusters through hard clustering.
5. The information processing apparatus according to claim 4, characterized in that, The cluster information is an integer value representing the cluster number.
6. The information processing apparatus according to any one of claims 1 to 3, characterized in that, The clustering department determines the clusters through soft clustering.
7. The information processing apparatus according to claim 6, characterized in that, The cluster information is the evaluation score for the cluster.
8. The information processing apparatus according to claim 1, characterized in that, The feature extraction unit extracts the features through convolution operations.
9. The information processing apparatus according to any one of claims 1 to 8, characterized in that, The suspected label is any one of the mode, median, mean, minimum, or maximum values of the cluster information corresponding to the feature quantity included in the range.
10. A learning method, executed by an information processing device, characterized in that, The following steps are required: The feature extraction unit extracts features from the data; The clustering department determines the cluster to which a feature belongs by clustering the features in the feature space; The suspected label assignment unit sequentially sets a range within the cluster, generates a suspected label based on the cluster information corresponding to the feature quantity contained within the range, and assigns the generated suspected label to at least one of the feature quantities contained within the range; The inference unit calculates the inferred value based on the aforementioned feature quantity; as well as The parameter update unit updates the parameters of the feature extraction unit and the inference unit based on the suspected label and the inferred value.
11. A program, characterized in that, Used to enable the computer to function as the following parts: The feature extraction unit extracts features from the data; The clustering department determines the cluster to which a feature belongs by clustering the features in the feature space; A suspected label assignment unit sequentially sets a range within the cluster, generates a suspected label based on cluster information corresponding to the feature quantity contained within the range, and assigns the generated suspected label to at least one of the feature quantities contained within the range; The inference unit calculates the inferred value based on the aforementioned feature quantity; as well as The parameter update unit updates the parameters of the feature extraction unit and the inference unit based on the suspected label and the inferred value.
