Prediction device and prediction model learning device
The prediction device enhances people flow prediction by integrating environmental and attribute data to train models, enabling precise location forecasting and behavioral pattern analysis for urban planning and management.
Patent Information
- Application Number
- JP2020200640
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2020-12-02
- Publication Date
- 2024-08-28
- Estimated Expiration
- 2040-12-02
AI Technical Summary
Existing techniques for predicting the flow of people do not consider the surrounding environment or the attributes of individuals, leading to inaccurate predictions.
A prediction device that acquires attribute information, time information, and environmental information to train a model for predicting the position of individuals, incorporating a clustering unit to classify behavioral patterns and generate patterns based on learned data.
Enables accurate prediction of people flow considering the surrounding environment and attributes, allowing for better city and building planning, event management, and inventory control.
Smart Images

Figure 0007541470000006 
Figure 0007541470000001 
Figure 0007541470000007
Abstract
Description
[Technical field]
[0001] The present invention relates to a prediction device and a prediction model learning device. [Background technology]
[0002] Conventionally, techniques for predicting people flow have been known.
[0003] For example, a technique is known that predicts the flow of people at a target time using external information that is correlated with the flow of people (for example, Patent Document 1). The external information of the technique disclosed in Patent Document 1 is information that is correlated with the flow of people, such as the expected number of customers in the area by time period (for example, paragraph
[0040] of Patent Document 1, etc.). [Prior art documents] [Patent documents]
[0004] [Patent Document 1] JP 2017-227994 A Summary of the Invention [Problem to be solved by the invention]
[0005] Incidentally, the flow of people in a certain area may be affected by the surrounding environment, such as the scenery around the area. Therefore, when predicting the flow of people in a certain area, it is necessary to take the surrounding environment of the area into consideration. In addition, there are cases where it is desired to predict what attributes people have in the flow.
[0006] However, the technology disclosed in the above Patent Document 1 predicts people flow using external information such as the expected number of visitors, and does not take into account the surrounding environment such as the scenery of the area. In addition, the technology disclosed in the above Patent Document 1 does not take into account the attributes of people included in the people flow.
[0007] In consideration of the above, an object of the present invention is to predict the flow of people with a certain attribute by taking into account the surrounding environment. [Means for solving the problem]
[0008] A first aspect of the present invention is a prediction device that includes an acquisition unit that acquires attribute information representing attributes of a person, time information representing a time to be predicted, and environmental information representing an external environment around the person, and a prediction unit that predicts the location information of the person at a time corresponding to the time information by inputting the attribute information, the time information, and the environmental information acquired by the acquisition unit into a pre-trained model for predicting location information of the person at a time corresponding to the time information from the attribute information, the time information, and the environmental information.
[0009] Moreover, a prediction device which is a second aspect of the present invention is the prediction device described in claim 1, further comprising a clustering unit, wherein the prediction unit predicts the location information of each of a plurality of people by inputting the attribute information, the time information, and the environmental information of each of a plurality of people into the learned model, and the clustering unit generates a behavioral pattern of each of the plurality of people from the location information of each of the plurality of people predicted by the prediction unit, and classifies the attribute information of the plurality of people by clustering the behavioral patterns.
[0010] Furthermore, a third aspect of the present invention is a prediction model learning device that includes a learning unit that generates a trained model for predicting the location information of the person at a time corresponding to the time information from the attribute information, the time information, and the environmental information by learning a model for predicting the location information of the person at a time corresponding to the time information from the attribute information, the time information, and the environmental information based on learning data in which learning attribute information representing the attributes of a person, learning time information representing the time to be predicted, environmental information representing the external environment around the person, and learning location information of the person are associated with each other. Effect of the Invention
[0011] According to the present invention, when predicting the flow of people with a certain attribute, it is possible to obtain an effect that the flow of people can be predicted taking into account the surrounding environment. [Brief description of the drawings]
[0012] [Figure 1] FIG. 1 is a block diagram showing a people flow prediction system according to a first embodiment. [Diagram 2] FIG. 1 is a diagram for explaining an overview of an embodiment. [Diagram 3] FIG. 4 is a diagram for explaining learning data according to the embodiment; [Figure 4] FIG. 2 is a diagram for explaining a model of the first embodiment. [Diagram 5] 10 is a flowchart showing the contents of a learning process routine of the people flow prediction system according to the embodiment. [Figure 6] 10 is a flowchart showing the contents of a people flow prediction processing routine of the people flow prediction system according to the embodiment. [Figure 7] FIG. 11 is a block diagram showing a people flow prediction system according to a second embodiment. [Figure 8] FIG. 13 is a diagram for explaining a model of the third embodiment. [Figure 9] FIG. 13 is a diagram for explaining a ranking result of feature amounts. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0013] Hereinafter, an embodiment of the present invention will be described in detail with reference to the drawings.
[0014] [First embodiment]
[0015] <Configuration of the people flow prediction system according to this embodiment>
[0016] Fig. 1 is a block diagram showing an example of the configuration of a people flow prediction system 10 according to the first embodiment. Functionally, the people flow prediction system 10 can be represented as a configuration including an input unit 12, a people flow prediction device 14, and a display unit 16, as shown in Fig. 1.
[0017] The input unit 12 receives data input by a user, etc. The input unit 12 is realized by, for example, a mouse, a keyboard, etc.
[0018] The people flow prediction device 14 is realized by a computer including a CPU (Central Processing Unit), a ROM (Read Only Memory) that stores programs for implementing each processing routine, a RAM (Random Access Memory) that temporarily stores data, a memory as a storage means, and a network interface.
[0019] As shown in FIG. 1, the people flow prediction device 14 functionally includes a learning data storage unit 20, a learning unit 22, a trained model storage unit 24, an acquisition unit 26, and a prediction unit 28.
[0020] 2 and 3 are diagrams for explaining an overview of the present embodiment. When predicting a human flow representing a flow of people, the human flow prediction device 14 of the embodiment predicts the human flow based on attribute information representing the attributes of the person and environmental information representing the external environment around the person. The attribute information includes, for example, information such as the gender, age, occupation, and place of residence of the person. The environmental information includes, for example, information such as the weather conditions, green view rate, scenery, buildings, stores, attractiveness of the stores (for example, scores on gourmet sites, etc.), and transportation convenience in the area. These pieces of information are converted into information that can be input to a trained model described later. The external environment around the person refers to the environment within a predetermined range from the position of the person.
[0021] When predicting the flow of people in a certain area, it is necessary to take into account the environment within that area. For example, if there is an attractive store in the area, it is expected that people will gather around it. Furthermore, if that attractive store is a store aimed at people in their 20s, it is expected that people with the attributes of people in their 20s will gather around the store.
[0022] Therefore, as shown in FIG. 2, the people flow prediction device 14 of this embodiment predicts people flow by taking into consideration attribute information At representing the attributes of a person and environmental information En representing the external environment around the person. For example, the people flow prediction device 14 predicts that a person will be present at the position of the black circle shown in FIG. 2 at the time t of the prediction target. In this case, the people flow prediction device 14 predicts that the person to be predicted will be present at position P of the black circle shown in FIG. 2 at the time t of the prediction target, based on the attribute information At of the person to be predicted and environmental information En in the area. The person to be predicted who is present at position P has attribute information At. In this way, according to this embodiment, it is possible to predict people flow by taking into consideration the attributes and environment of the person.
[0023] The specific details will be explained below.
[0024] A plurality of pieces of learning data are stored in the learning data storage unit 20. The learning data in this embodiment is data in which learning attribute information representing the attributes of a person, learning time information representing the time of the prediction target, learning environment information representing the external environment around the person, and learning position information of the person at the time are associated with each other. The learning data is, for example, data based on past performance.
[0025] Fig. 3 is a diagram for explaining the learning data of this embodiment. As shown in Fig. 3, the learning data is stored in such a manner that learning attribute information, learning time information, learning environment information, and learning position information are associated with each other for each person.
[0026] The learning data for person ID "00001" shown in FIG. 3 indicates that when a person's learning attribute information is "A1,...", learning time information indicating the time to be predicted is "D1,...", and learning environment information is "F1,...", the person's learning location information is "Z1,...". The attribute information and environment information are replaced with numerical data. For example, the gender of the attribute information is converted into a format such that males are -1 and females are 1, and the format is made inputtable to the trained model described later. The same is true for the environment information.
[0027] The learning unit 22 learns a model for predicting position information of a person from attribute information of the person, time information, and environmental information representing the external environment around the person, based on a plurality of learning data stored in the learning data storage unit 20. Then, the learning unit 22 generates a trained model for predicting position information of the person from attribute information of the person, time information of the prediction target, and environmental information.
[0028] FIG. 4 shows a diagram for explaining the model of the first embodiment. As shown in FIG. 4, the model of the first embodiment is a neural network. For this reason, a trained neural network M1 is generated by the learning unit 22. When a person's attribute information, time information of the prediction target, and environmental information are input to the trained neural network M1, latitude and longitude are output as location information of the person. Note that the location information output from the neural network M1 at this time is the location information of the person at the time corresponding to the time information of the prediction target. Note that data such as "time" and "day of the week" are included as input data of the trained neural network M1 in FIG. 4, and data corresponding to the time information is input to the places corresponding to this "time" and "day of the week".
[0029] For this reason, the learning unit 22 trains a neural network by known supervised machine learning based on a plurality of pieces of learning data stored in the learning data storage unit 20, and generates a trained neural network. Note that any method of supervised machine learning may be used.
[0030] Then, the learning unit 22 stores the generated trained model in the trained model storage unit 24.
[0031] The trained model storage unit 24 stores the trained model generated by the training unit 22.
[0032] The acquisition unit 26 acquires data of the prediction target. Specifically, the acquisition unit 26 acquires attribute information of the person whose position is to be predicted, time information of the prediction target, and environmental information representing the external environment around the person.
[0033] The prediction unit 28 predicts the location information of the person to be predicted by inputting the attribute information of the person to be predicted, the time information of the person to be predicted, and the environmental information acquired by the acquisition unit 26 into the learned model stored in the learned model memory unit 24.
[0034] In this way, the people flow prediction device 14 of the first embodiment uses people attribute information and environmental information that represents the external environment around the people when predicting people flow. This makes it possible to predict the people flow of people with certain attributes by taking the environment into consideration.
[0035] The display unit 16 displays the information output from the people flow prediction device 14. The display unit 16 is realized by, for example, a display. The display unit 16 displays the prediction result obtained by the prediction unit 28. The user checks the prediction result displayed on the display unit 16 and uses it, for example, for building planning.
[0036] <Function of the people flow prediction system>
[0037] Next, the operation of the people flow prediction system 10 of the first embodiment will be described with reference to the drawings. When the people flow prediction device 14 of the people flow prediction system 10 receives learning data via the input unit 12, it stores the data in the learning data storage unit 20. Then, when the people flow prediction device 14 of the people flow prediction system 10 receives an instruction signal to start learning processing, it executes the learning processing routine shown in FIG.
[0038] <Learning processing routine>
[0039] In step S100 , the learning unit 22 acquires a plurality of pieces of learning data stored in the learning data storage unit 20 .
[0040] In step S102, the learning unit 22 generates a trained neural network for predicting a person's position information by training a neural network, which is an example of a model, based on the multiple learning data acquired in step S100.
[0041] In step S104, the learning unit 22 stores the trained model generated in step S102 in the trained model storage unit 24, and ends the learning process routine.
[0042] Next, when the people flow prediction device 14 of the people flow prediction system 10 receives the data of the prediction target input from the input unit 12, it executes a people flow prediction processing routine shown in FIG.
[0043] <Person flow prediction processing routine>
[0044] In step S200, the acquisition unit 26 acquires attribute information input from the input unit 12 about a person whose position is to be predicted.
[0045] In step S202, the acquisition unit 26 acquires the time information of the target location prediction input from the input unit 12.
[0046] In step S204, the acquisition unit 26 acquires environmental information of the person whose position is to be predicted, which is input from the input unit 12.
[0047] In step S206, the prediction unit 28 reads out the trained neural network, which is the trained model stored in the trained model storage unit 24.
[0048] In step S208, the prediction unit 28 predicts the location information of the person whose location is to be predicted by inputting the person's attribute information acquired in step S200, the time information acquired in step S202, and the environmental information acquired in step S204 into the trained neural network read out in step S206.
[0049] In step S210, the prediction unit 28 outputs the position information obtained in step S208 as a result, and ends the people flow prediction processing routine.
[0050] The display unit 16 displays the information output from the people flow prediction device 14. The user checks the information displayed on the display unit 16 and uses it for, for example, building planning.
[0051] As described above in detail, the people flow prediction device of the first embodiment acquires attribute information representing people's attributes, time information of the prediction target, and environmental information representing the external environment around the people. The people flow prediction device then inputs the acquired attribute information, time information, and environmental information into a trained model that has been trained in advance for predicting people's position information at the time of the prediction target, thereby predicting people's position information at the time corresponding to the time information of the prediction target. This makes it possible to predict people flow taking into account the surrounding environment when predicting people flow of people with certain attributes. Specifically, it is predicted what kind of people have what kind of attributes and in what position they are present at a certain time of the prediction target.
[0052] More specifically, the people flow prediction device of the first embodiment can predict people flow taking into account the environment around people by considering the environment as an external factor as a parameter.
[0053] In addition, the people flow prediction device of the first embodiment can reproduce or predict people flow under a certain environment and attribute information. For example, it can predict places (location information) that a car-loving man in his 30s is likely to visit on a sunny day.
[0054] In addition, since the prediction of people flow takes into account the environment, which represents the external factors of the town, and actual human behavior, it is possible to predict the future bustle of the town. Furthermore, by inputting changes in external factors due to new redevelopment into the people flow prediction device, it is possible to predict people flow after redevelopment. Furthermore, by predicting people flow taking into account attributes and the environment, it is possible to predict the effect of attracting customers, and this can also be used for event content and inventory management of commercial facilities.
[0055] [Second embodiment]
[0056] Next, a second embodiment will be described. The second embodiment is different from the first embodiment in that a behavior pattern of each of the plurality of people is generated from a prediction result of the position information of each of the plurality of people, and the behavior pattern is clustered to classify the attribute information of the plurality of people.
[0057] Fig. 7 is a block diagram showing an example of the configuration of a people flow prediction system 210 according to the second embodiment. Functionally, the people flow prediction system 210 can be represented as a configuration including an input unit 12, a people flow prediction device 214, and a display unit 16, as shown in Fig. 7.
[0058] Functionally, as shown in FIG. 7, the people flow prediction device 214 includes a learning data storage unit 20, a learning unit 22, a learned model storage unit 24, an acquisition unit 26, a prediction unit 228, and a clustering unit 30.
[0059] The prediction unit 228 predicts the location information of each of the multiple people at the time of the prediction target by inputting the attribute information of the person, the time information of the prediction target, and the environmental information into a learned model.
[0060] The clustering unit 30 generates behavioral patterns of each of the multiple people from the position information of each of the multiple people at the time of the prediction target predicted by the prediction unit 228. Then, the clustering unit 30 classifies the attribute information of the multiple people by clustering the multiple behavioral patterns.
[0061] For example, consider a case where the prediction unit 228 predicts that a certain woman in her twenties is in region R at the time t to be predicted. In this case, the clustering unit 30 generates a behavior pattern (time t: region R) for the certain woman in her twenties. Here, for example, if a man in his sixties also has a similar behavior pattern (time t: region R), the clustering unit 30 clusters the woman in her twenties and the man in his sixties as having the same behavior pattern.
[0062] In this way, by clustering attribute information based on behavioral patterns, it is possible to identify attributes of people with similar tendencies. Such information can be used, for example, for city planning or building planning.
[0063] Other configurations and operations of the people flow prediction system according to the second embodiment are similar to those of the first embodiment, and therefore will not be described.
[0064] As described above in detail, the people flow prediction device of the people flow prediction system of the second embodiment generates behavior patterns of each of the multiple people from the predicted position information of each of the multiple people at the time of the prediction target, and classifies the attribute information of the multiple people by clustering the behavior patterns. This makes it possible to identify the attributes of people with similar behavioral tendencies.
[0065] [Third embodiment]
[0066] Next, a third embodiment will be described. The third embodiment differs from the first and second embodiments in that the trained model is a decision tree model. Note that the configuration of the people flow prediction system according to the third embodiment is the same as that of the second embodiment, so the same reference numerals are used and the description will be omitted.
[0067] An example of a model according to the third embodiment is shown in Fig. 8. As shown in Fig. 8, the model according to the third embodiment is a decision tree model. The decision tree model M2 according to this embodiment is generated for each person's attribute information.
[0068] For example, when time information and environmental information of a person to be predicted are input as input data into a decision tree model M2 for a certain attribute, a judgment is made at the node "Weekday?", and if it is a weekday, it moves to the node on the left. Note that the time information at this time also includes information equivalent to the date. On the other hand, if it is a holiday, it moves to the node on the right. Finally, a predicted value of location information, for example "latitude xx, longitude xx", is output from the decision tree model M2.
[0069] The learning unit 22 of the people flow prediction device 214 of the second embodiment, like the first and second embodiments, learns a decision tree model using a supervised machine learning algorithm for a known decision tree model based on a plurality of learning data, and generates a trained decision tree model for each person's attribute information. Then, the learning unit 22 stores the trained decision tree model in the trained model storage unit 24.
[0070] The prediction unit 228 of the people flow prediction device 14 of the second embodiment predicts the location information of a person whose location is to be predicted by inputting the time information and environmental information of the person whose location is to be predicted into a trained decision tree model for each attribute. The predicted value of the location information is output for each attribute information.
[0071] From the trained decision tree model for each attribute, it is possible to obtain the importance that indicates how much the division of the feature at the node contributes to the prediction. For example, a feature corresponds to "temperature" in the division of "Is the temperature below 10 degrees Celsius?". The importance is calculated, for example, from the known Gini impurity.
[0072] For this reason, the clustering unit 30 calculates the importance of the feature for each piece of attribute information. Then, the clustering unit 30 ranks the importance of the feature for each piece of attribute information. FIG. 9 shows a diagram for explaining the ranking of the importance of the feature. In the example of FIG. 9, the feature A has the highest importance, and the feature B has the second highest importance. The clustering unit 30 ranks the feature in this way for each piece of attribute information.
[0073] Then, the clustering unit 30 classifies the attribute information of a plurality of people based on the ranking result of the feature amounts based on the importance. For example, consider the case where the ranking result of the feature amounts of a woman in her twenties is that the feature amount A is ranked first, the feature amount B is ranked second, and the feature amount C is ranked third.
[0074] For example, suppose that the ranking results of the features of a man in his 60s are also such that the first place is feature A, the second place is feature B, and the third place is feature C. In this case, the clustering unit 30 clusters the woman in her 20s and the man in his 60s into the same cluster.
[0075] In this way, by clustering attribute information based on the feature amount used to predict location information, it is possible to identify attributes of people with similar tendencies. Such information can be used, for example, in city planning or building planning.
[0076] Other configurations and operations of the people flow prediction system according to the third embodiment are similar to those of the first or second embodiment, and therefore will not be described.
[0077] As described above in detail, the people flow prediction device of the people flow prediction system of the third embodiment predicts people's location information by using a decision tree model as a trained model. This makes it possible to cluster attribute information based on the feature values when predicting location information, making it possible to identify the attributes of people with similar tendencies. It is also possible to grasp which feature values are important for predicting people flow.
[0078] The present invention is not limited to the above-described embodiment, and various modifications and applications are possible without departing from the spirit and scope of the present invention.
[0079] For example, in each of the above embodiments, a neural network or a decision tree model is used as an example of a trained model, but the trained model is not limited to this. Any model obtained by machine learning may be used.
[0080] In addition, although the above describes an embodiment in which the program according to the present invention is pre-stored (installed) in a memory unit (not shown), the program according to the present invention can also be provided in a form in which it is recorded on a recording medium such as a CD-ROM, a DVD-ROM, or a micro SD card. [Explanation of symbols]
[0081] 10,210 People Flow Prediction System 12 Input section 14,214 People flow prediction device 16 Display 20 Learning data storage unit 22 Learning Department 24 Trained model memory 26 Acquisition Department 28,228 Prediction Department 30 Clustering Department
Claims
1. An acquisition unit that acquires attribute information representing attributes of a person, time information representing a time of a prediction target, and environmental information representing an external environment around the person; a prediction unit that predicts the location information of the person at a time corresponding to the time information by inputting the attribute information, the time information, and the environmental information acquired by the acquisition unit into a trained model that has been trained in advance for predicting location information of the person at a time corresponding to the time information from the attribute information, the time information, and the environmental information; Including, The prediction unit predicts the location information of each of a plurality of people by inputting the attribute information, the time information, and the environmental information of each of a plurality of people to the trained model; a clustering unit that generates a behavioral pattern of each of the plurality of people from the position information of each of the plurality of people predicted by the prediction unit, and classifies the attribute information of the plurality of people by clustering the behavioral patterns; Prediction device.
2. The prediction device is a prediction device used for urban planning or building planning, The prediction result of the person's location information is used for urban planning or building planning. The prediction device according to claim 1 .
3. The trained models are a plurality of decision tree models generated in advance for each piece of attribute information, and the decision tree models are models that output location information of a person having the attribute information when the time information and the environmental information are input, From the decision tree model for each attribute information, it is possible to obtain an importance indicating a contribution of a feature value located at a node to a prediction, the clustering unit calculates the importance of a feature for each of the attribute information based on a decision tree model for each of the attribute information, ranks the importance of the feature for each of the attribute information, and classifies the attribute information of a plurality of people based on a result of ranking the feature based on the importance. The prediction device according to claim 1 or 2.
Citation Information
Patent Citations
Behavior pattern analysis system, portable terminal, behavior pattern analysis method, and program
JP2011081431A
Human flow prediction device, parameter estimation device, method and program
JP2017227994A
Communication control program, communication control device, communication control method, management server, management method and management program
JP2019145882A
Information processing device and method
WO2017187584A1
