Method and system for adaptive incremental site selection of urban service facilities
By constructing an address association graph and using graph neural networks and long-short-term memory networks to predict the popularity distribution of urban service facilities, it solves the problem of insufficient understanding of urban residents' behavior patterns in existing technologies and achieves efficient and accurate selection of service facilities. site.
Patent Information
- Application Number
- CN202211175414.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-26
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2042-09-26
AI Technical Summary
Existing location selection methods for urban service facilities lack an in-depth understanding and utilization of urban residents' daily behavior patterns, and fail to fully mine user spatiotemporal behavior trajectories and social relationship data, resulting in inaccurate and uneconomical location selection results, especially in incremental site selection. When choosing an address, the popularity prediction efficiency is low and the effect is poor.
By constructing an address association graph, the graph neural network is used to extract the local latent features and global latent features of the address location, and combined with the long and short-term memory network to construct the time dependence, predict the missing popularity distribution, and finally select the location of the target facility.
It realizes the full mining of user activity and social behavior data, combines adaptive location selection in the spatiotemporal domain, improves the accuracy and efficiency of location selection, provides scientific data support, and provides incremental location selection for service facilities. Efficient reference.
Smart Images

Figure CN115545758B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of facility site selection, and in particular to a method and system for adaptive incremental site selection of urban service facilities. Background Art
[0002] In the process of building and developing smart cities or digital cities, the site selection of service facilities in the city (such as shopping malls, hospitals, convenience stores, car charging piles, etc.) needs to be carried out according to the overall planning layout of the city and the work and life needs of residents, so as to determine which (or more) candidate addresses are suitable for building the service facilities in a certain urban area. The site selection planning of urban service facilities is a very complex task, and the research on site selection models has important theoretical value, economic benefits and social significance. Good site selection planning can bring convenience to residents' work and life, reduce production or business costs, improve the service efficiency and competitiveness of corresponding facilities, improve the entire urban service system, and improve the comprehensive service capabilities of the city. At the same time, it can also alleviate the city's traffic pressure and environmental pressure, etc., and has a positive effect on all aspects of the city.
[0003] At present, most cities have developed to a certain stage, and the corresponding service facilities are also present in different areas of the city. For example, with the continuous development of the city, the city size and the number of residents continue to increase. In order to expand the scale of operation, chain stores need to evaluate candidate addresses and then continue to open different branches. Therefore, the incremental site selection research of service facilities becomes particularly important. In order to continue to build new facilities at a suitable candidate address (or multiple candidate addresses) to improve the entire urban service system and improve the city's comprehensive service capabilities, the site selection work should not only consider the influence of urban residents on the candidate address in the time domain and space domain, but also comprehensively analyze the influence of existing service facilities on the candidate address, as well as the influence of new facilities on existing facilities. Whether a candidate address is suitable for building a certain type of facility, from the perspective of the mathematical model of expected benefits, can be quantitatively expressed as the total number of potential users or customers after the service facility is built at the address in the future, which is generally referred to as the influence or popularity of the address (Location Popularity). Under rational circumstances, the higher the popularity of a candidate address in a period of time, the more suitable it is for building such service facilities, and vice versa. Therefore, a good facility site selection plan should not only consider the planning, layout and utilization of land space in the entire urban area, but also pay special attention to the use costs of residents who are the main body of the city. At the same time, it is also necessary to consider the future development of the city.
[0004] Traditionally, urban planners or service providers need to rely on labor-intensive questionnaires to provide information support for their site selection decisions. In recent years, some urban big data has also been used to make site selection decisions, such as the macro traffic flow of the road network and the overall flow trend of residents. In terms of the choice of calculation model, the extracted multi-dimensional related features are mostly processed by linear models or regression models. Recently, some algorithms have also adopted independent recurrent neural network or Gaussian random field models.
[0005] However, a city is an organic whole composed of land space, building facilities and resident users. The planning and construction of facilities is ultimately to serve the residents in the area. The existing site selection methods ignore that urban residents are a dynamic service group and lack a true understanding and correct application of the daily behavior patterns of urban residents. In the facility site selection task that considers both the city and urban residents, urban big data is generally divided into two categories: urban spatiotemporal big data and resident location social big data. Urban spatiotemporal big data describes the macro structure and change trend of the city, mainly including data sets such as road networks and traffic flow, while resident location social big data focuses on individual residents and includes data sets such as their daily behavior trajectories, social network structures and point of interest (POI) check-in visit records.
[0006] Existing site selection methods include:
[0007] (1) When relevant service facilities already exist in the city, the location of new facilities needs to meet different requirements, such as being closest to the largest customer base, reducing the average distance between the customer base and the nearest facility, or reducing the maximum distance between the customer base and the nearest facility. A unified solution framework is proposed to cover these three different requirements, and the distance measurement method uses the geographic Euclidean distance between the candidate address and the customer (set).
[0008] (2) In order to utilize more features of candidate addresses and users, the concept of address popularity is used in the site selection problem, and a corresponding calculation model Geo-Spotting is proposed. This model extracts low-dimensional features of candidate addresses (other facilities within a certain range) and multi-dimensional features such as user mobility patterns (total number, flow direction trend), learns the weights of all features through a regularized linear regression model, and finally generates a popularity ranking of candidate addresses (rather than actual specific values) and generates a recommendation list.
[0009] (3) Based on whether the vehicle trajectory passes through the candidate address, the site selection is carried out by mining the k most influential addresses in the road network (i.e., the set of k addresses has the largest number of trajectories).
[0010] (4) A semi-supervised feature selection method is used to solve the planning and site selection problem of public bicycle parking spots. Three key factors are taken into consideration: the different functions of the road network area, the flow of people and the demographic characteristics. A series of distinctive features are extracted and correlation analysis is performed, rather than simply integrating the features. Ultimately, the public bicycle travel needs of regional users are obtained, which provides a reference for the site selection of parking spots.
[0011] (5) By utilizing users’ historical restaurant review information, we propose a recommendation problem for the next optimal candidate location of a new restaurant. We also consider the geographical location and competition factors of existing restaurants and integrate these features into a regression model to predict the final popularity of the candidate address.
[0012] (6) Using semantic trajectories to describe users’ daily activities in the city, a computational model based on recurrent neural networks is proposed to predict the next location. The model extracts the spatial features and associated text information features of the user’s trajectory, and learns the changes in the popularity of candidate addresses based on the temporal features of the trajectory, thereby improving the accuracy of candidate address recommendations.
[0013] (7) The Geo-Spotting model is extended by introducing a network graph structure and proposing a semi-supervised computational model. When some service facilities already exist in the road network, the popularity of candidate addresses in the future is predicted, so as to select new store locations for chain stores. The model carefully classifies and expands location features and user check-in behavior features, analyzes the impact of existing facility locations in the city on candidate addresses, considers popularity in temporal relationships, and uses Gaussian Random Field to model temporal features. The Gaussian Random Field is then used to uniformly integrate the model into a computational model based on Gaussian Random Field and address preference network structure, capturing and predicting the popularity of unit time periods such as weeks and months, so as to be used in the final site selection problem.
[0014] However, the above methods also have some defects, including:
[0015] (1) Existing technologies lack the ability to consider the location of service facilities from the micro perspective of urban residents. They do not deeply explore data such as users' spatiotemporal behavior trajectories, check-ins at points of interest facilities, and social network activities. They also do not fully extract the geographic spatial characteristics of users' social activities and the correlation characteristics of social relationships. As a result, they fail to effectively analyze and understand what services residents really lack and what facilities they need.
[0016] (2) In commercial service facilities, the continuous development of the "red envelope economy" has made the reciprocal recommendation effect between social friends increasingly obvious. For example, after customers consume in online or offline stores, they will receive a certain amount of consumption red envelopes or coupons. After they share these red envelopes with friends through smartphone applications (APP), their friends can enjoy corresponding discounts when they consume again. In the current facility site selection and planning research, the effectiveness of the candidate address is mainly evaluated based on the spatiotemporal characteristics of the candidate address. The social relationship and social influence characteristics of urban residents are not comprehensively considered from multiple angles such as the social influence relationship and active time period of urban residents, resulting in inaccurate or uneconomical final site selection results.
[0017] (3) Due to the continuous construction and development of cities, in most cases, some of the same service facilities already exist in the city, such as brand chain stores. For the problem of incremental site selection of facilities, current research lacks a systematic analysis of the influence of other existing similar facilities around the candidate address. Although the influence of existing facilities is considered from the spatial domain or the temporal domain, there is no overall evaluation of the correlation dependency and popularity of the candidate address in the spatiotemporal domain, and there is a lack of modeling processing methods in the case of sparse data, which leads to low efficiency and poor effect in predicting the popularity of candidate addresses. Summary of the invention
[0018] To this end, the technical problem to be solved by the present invention is to overcome the deficiencies in the prior art and provide a method and system for adaptive incremental site selection of urban service facilities, which can fully tap data such as user activity and social behavior, and realize adaptive site selection combined with time and space domains, with accurate, scientific, efficient and effective results.
[0019] In order to solve the above technical problems, the present invention provides a method for adaptive incremental site selection of urban service facilities, comprising:
[0020] S1: obtaining input data including urban road network structure and user behavior, and constructing an address association graph according to the input data;
[0021] S2: constructing a spatial association relationship of address locations using a graph neural network, and extracting local latent features and global latent features of address locations from the address association graph according to the spatial association relationship;
[0022] S3: Using long short-term memory networks to construct temporal dependencies of address locations;
[0023] S4: predicting missing prevalence distribution according to the local latent features, the global latent features and the time dependency;
[0024] S5: Combining the local latent features, the global latent features and the missing popularity distribution to obtain a final popularity prediction result, and selecting a location for a target facility according to the final popularity prediction result.
[0025] Preferably, an address association graph is constructed according to the input data, specifically:
[0026] S1-1: Obtain a set of all address locations L=L according to the urban road network structure l ∪L u ; where L l Indicates the address location set of existing service facilities, L u A set of candidate address locations representing the absence of service facilities;
[0027] S1-2: Divide the urban area according to the set L, the user behavior trajectory in the urban road network structure, and the administrative division of the city to obtain a set of urban areas that meet the minimum road network distance interval
[0028] S1-3: Extract the city area set The three-dimensional tensor is obtained by combining the features of the user behavior including the address location
[0029] S1-3: construct an address association graph by taking all address positions in the set L as graph nodes and the spatial adjacency relationships between address positions as graph edges. Among them, the node set Λ=L is the set of all address locations, and A is the adjacency matrix of the node set Λ.
[0030] As a preferred method, a set of urban areas satisfying the minimum road network distance interval is obtained according to the set L and the user behavior trajectory in the urban road network structure and the urban administrative division division of the urban area. Specifically:
[0031] S1-2-1: The entire road network space area is divided into initial division areas based on the city's administrative districts;
[0032] S1-2-2: With the address location in the set L as the center and the road network as the boundary, use the clustering algorithm to cluster all user behavior trajectories in the area around the corresponding address location to obtain |L| clusters, where || represents the number of elements in the set;
[0033] S1-2-3: The road with the smallest road network distance interval between the outermost travel trajectories of all adjacent clusters is used as the dividing line of the corresponding area, and the initial divided area is divided using the dividing line to obtain a set of urban areas. r i is the i-th region obtained by division.
[0034] Preferably, extract the urban area set The three-dimensional tensor is obtained by combining the features of the user behavior including the address location Specifically:
[0035] S1-3-1: Extract the road network distance distribution characteristics from the trajectory to the address location based on the spatiotemporal trajectory characteristics of the user behavior:
[0036] S1-3-1-1: Area r i The address location within is represented as l i , the user travel trajectory set in the urban road network is represented as Γ, and the region r i The trajectory inflow set in time period t is expressed as The trajectory outflow set is expressed as The area r i The number of inflow trajectories in time period t is expressed as The area r i The number of outflow trajectories in time period t is expressed as
[0037] S1-3-1-2: Calculation set Each trajectory in i The round-trip road distance of the road network space is used to obtain all distance result sets Calculating Collections Each trajectory in i The round-trip road distance of the road network space is used to obtain all distance result sets
[0038] S1-3-1-3: Using Gaussian distribution Fitting The distribution of distance data in , using Gaussian distribution Fitting The distance data distribution in and As the road network distance distribution characteristics from the trajectory to the address location;
[0039] S1-3-2: Extract the social influence characteristics in the region based on the number of social friends of the user in the trajectory of user behavior and the recommendation effectiveness of celebrities and big Vs:
[0040] S1-3-2-1: Change area r i The set of travel trajectories in time period t The corresponding generated user set is expressed as The area r i The set of travel trajectories in time period t The corresponding generated user set is expressed as If user u i and user u j Following each other on social media networks will i and user u j identified as a friend;
[0041] calculate Corresponding user social recommendation features for:
[0042]
[0043] calculate Corresponding user social recommendation features for:
[0044]
[0045] in, represents the friend set of user u in time slice t;
[0046] S1-3-2-2: The number of users followed by user u on the social media network |F f (u)|Exceeds the preset threshold ε f User u is a celebrity V, F f (u) represents the number of all other users following user u on the social media network;
[0047] Calculation area r i The celebrity influence recommendation effect characteristics V(r i )={|F f (u1)|,...,|F f (u i )|,...,|F f (u m )|}, where |F f (u i )|Indicates following celebrities on social media networks i The number of all other users in region r i The total number of celebrities and big Vs in the industry;
[0048] S1-3-3: Obtain competitive characteristics of similar facilities in, Represents region r i Location of similar service facilities within j Popularity in time period t, n is region r i The number of addresses of similar service facilities within the facility;
[0049] S1-3-4: Combine the city area set and all the features of the user behavior containing the address location to obtain the time period t and city area r i Internal address location l i The multidimensional feature vector of for:
[0050]
[0051] in, and Gaussian distribution The mean and squared variance of and Gaussian distribution The mean and squared variance of ;
[0052] S1-3-5: Within the entire time period set T, all address locations in the combination set L in different time periods t1, ..., t i ,…,t h The multidimensional feature vector in the 3D tensor for:
[0053]
[0054] in, In the time period t = t i The multidimensional feature vector t1, ..., t i ,…,t h is a set of continuous and equal-length time periods, and h is the number of time periods into which the entire time period set T is divided.
[0055] Preferably, the adjacency relations in the adjacency matrix A include geographic neighbors and semantic neighbors, the geographic neighbors correspond to the local spatial correlation between address locations, and the semantic neighbors correspond to the global spatial correlation between address locations.
[0056] Preferably, the local hidden feature The calculation method is:
[0057]
[0058] in, is the address location l i The local latent features in time period t, K represents the number of multi-head attention, represents the concatenation operation of K groups of features in multi-head attention, σ is a nonlinear activation function, is the address position l in time period t-1 j The local hidden features, Nl (l i ) represents l i The set of geographical neighbors of is the weighted parameter matrix of the kth group of features that are shared and learnable among all address locations; for l i and l j The approximate weight coefficient of the kth group of local hidden features between, The calculation method is:
[0059]
[0060] Among them, W l k for The weighted parameter matrix of the kth group of local features shared by all edges and learnable, An is the specific implementation of the attention mechanism;
[0061] The global latent feature The calculation method is:
[0062]
[0063] in, is the address location l i The global latent features in time period t, is the address position l in time period t-1 j The global hidden features, N g (l i ) is l i Semantic neighbors on the address association graph, W s k is the weighted parameter matrix of the kth group of features that is shared by all edges and can be learned; Indicates l i and l j The approximate weight coefficient of the kth group of global latent features, The calculation method is:
[0064]
[0065] in, for The weight parameter matrix of the kth set of global features that is shared by all edges and can be learned.
[0066] Preferably, the time dependency of address positions is constructed using a long short-term memory network, specifically:
[0067] The address position l in the time period set T i The input feature sequence vector is in Where || represents the concatenation operation of vectors;
[0068] Address location i The state at time period t-1 and the state at time period t The time dependency between them is:
[0069]
[0070]
[0071]
[0072]
[0073]
[0074]
[0075] in, represents the forget gate in the long short-term memory network, is the input gate, is the cell state, Indicates cell renewal, represents the output gate, is the output, σ is the activation function; W f , W z , W C , W o 、b f 、b z 、b C and b o are the parameters that need to be learned. Represents the vector concatenation operation, and tanh is the activation function.
[0076] Preferably, the missing prevalence distribution is predicted according to the local latent features, the global latent features and the time dependency, specifically as follows:
[0077] S4-1: Get address location l i The probability distribution vector of the scalar popularity values
[0078] S4-2: Use a multi-head graph attention network to transfer the local popularity and global popularity of existing address locations to address locations with missing popularity, summarize the popularity distribution of existing neighboring address location facilities, and calculate the address location l within time period t. i ∈L u The local spatial popularity prediction distribution of for:
[0079]
[0080] In time period t, calculate the address location l i ∈L u The global spatial popularity prediction distribution of for:
[0081]
[0082] S4-3: Get address location l i The state output by the LSTM network in time period t-1 Calculate address location l i Predicted distribution of time domain popularity in time period t for:
[0083]
[0084] Among them, W td It is a weighted parameter matrix shared and learnable by all LSTM output states. Softmax() represents the Softmax function operation.
[0085] S4-4: Fusion and Get the missing prevalence distribution for:
[0086]
[0087] Among them, for a given popularity distribution represents the calculation method of entropy, where Representation vector The jth dimension of The number of dimensions.
[0088] Preferably, the final popularity prediction result is obtained by combining the local latent features, the global latent features and the missing popularity distribution, specifically:
[0089] S5-1: Connecting the local hidden features Global hidden features and missing prevalence distribution Get the address location l in time slice t i The final latent feature vector representation of
[0090] S5-2: Set address location l i The final latent feature vector representation of Input long short-term memory network, get l iThe final predicted popularity distribution at time period t l i ∈L u .
[0091] The present invention also provides a system for adaptive incremental site selection of urban service facilities, including an address association graph construction module, a feature extraction module, a missing popularity prediction module and a site selection module.
[0092] The address association graph construction module obtains input data including urban road network structure and user behavior, constructs an address association graph according to the input data and transmits it to the feature extraction module;
[0093] The feature extraction module uses a graph neural network to construct a spatial association relationship of address locations, extracts local latent features and global latent features of address locations from the address association graph according to the spatial association relationship, and transmits the local latent features and global latent features to the missing popularity prediction module and the site selection module;
[0094] The missing popularity prediction module uses a long short-term memory network to construct a time dependency relationship of the address location, predicts the missing popularity distribution according to the local latent features, the global latent features and the time dependency relationship, and transmits it to the site selection module;
[0095] The site selection module combines the local latent features, the global latent features and the missing popularity distribution to obtain a final popularity prediction result, and selects the site of the target facility according to the final popularity prediction result.
[0096] The above technical solution of the present invention has the following advantages compared with the prior art:
[0097] The present invention divides urban areas through urban road network structure data, constructs an address association graph, uses graph neural networks and recurrent neural networks to simultaneously capture the spatial association and time dependency of address locations, extracts local and global features of address locations, and integrates them with the predicted missing popularity distribution of address locations to perform the final popularity prediction of address locations; it fully exploits data such as user activity and social behavior, and the prediction results obtained by combining them with the spatiotemporal domain are accurate and scientific. On this basis, adaptive site selection is performed according to the prediction results, which is efficient and effective, and can provide data support and reference for the incremental site selection of various service facilities. BRIEF DESCRIPTION OF THE DRAWINGS
[0098] In order to make the content of the present invention more clearly understood, the present invention is further described in detail below according to specific embodiments of the present invention in conjunction with the accompanying drawings, wherein:
[0099] Figure 1 It is a schematic diagram of the process structure of the present invention,
[0100] Figure 2 is a schematic diagram of a set of urban areas with minimum road network distance intervals obtained by regional division in the present invention,
[0101] Figure 3 It is a schematic diagram of the address association diagram in the present invention. DETAILED DESCRIPTION
[0102] The present invention is further described below in conjunction with the accompanying drawings and specific embodiments so that those skilled in the art can better understand the present invention and implement it, but the embodiments are not intended to limit the present invention.
[0103] In the description of the present invention, it is to be understood that the meaning of "multiple" is two or more than two, unless otherwise specifically defined. In addition, the term "comprising" is intended to cover non-exclusive inclusions, such as a process, method, system, product or device that includes a series of steps or units, is not limited to the listed steps or units but optionally includes steps or units that are not listed, or optionally includes other steps or units inherent to these processes, methods, products or devices.
[0104] Reference Figure 1 As shown, the present invention discloses a method for adaptive incremental site selection of urban service facilities, comprising the following steps:
[0105] S1: Obtain input data including urban road network structure and user behavior, and construct an address association map based on the input data; the urban road network structure includes the road network structure, address location (including existing facility address location and candidate address location), and the user behavior includes the spatiotemporal travel trajectory of resident users, social relationship network and check-in at points of interest.
[0106] S1-1: In the urban area corresponding to the incremental location problem, all address locations obtained according to the urban road network structure are represented as a set L = L l ∪L u ; where L l Indicates that there is already a set of service facility addresses, L u represents the set of candidate address locations where there are no service facilities, L l and L u Meet L l ≠L u , L l <<L u ; In order to represent all address location features in a standardized manner and utilize graph neural network technology, all input data must first be preprocessed. The preprocessing process includes two stages: dividing urban areas and extracting features containing address locations.
[0107] S1-2: The division of urban areas is mainly aimed at the spatiotemporal big data of the city. The urban areas are divided according to the set L and the multi-dimensional characteristic data such as the user behavior trajectory in the urban road network structure, the administrative divisions and streets of the city to obtain the urban area set that meets the minimum road network distance interval
[0108] S1-2-1: The entire road network space area is divided into initial division areas based on the second-level or third-level administrative regions of the city;
[0109] S1-2-2: With the address location in set L as the center and the road network as the boundary, use the clustering algorithm to cluster all user trajectories in the area around the corresponding address location to obtain |L| clusters, where || represents the number of elements in set L;
[0110] S1-2-3: The roads with the smallest (balanced) road network distance interval between the outermost travel trajectories of all adjacent clusters are used as the dividing lines of the corresponding areas, and the initial divided areas are divided using the dividing lines to obtain a set of urban areas. r i is the i-th region obtained by division. City region set There is one and only one of the address locations in each sub-area, and the sub-areas are not necessarily regular and of equal size.
[0111] In this embodiment, the dividing line is obtained using the k-Medoids clustering algorithm, and the address position in the region ri is represented by l i Indicates that first, the address position l i Centered on the user's travel trajectory τ j With l i The shortest path network space distance d s (l i ,τ j ) is used as the clustering criterion, and all trajectories in the area are clustered around the corresponding address locations one by one, and |L| complete "clusters" are formed. On this basis, the minimum (balanced) interval idea of the support vector machine (SVM) algorithm is adopted, and the roads with the minimum (balanced) road network distance interval between the outermost travel trajectories of adjacent "clusters" are used as the dividing lines of their corresponding areas. Repeat the above division process to obtain Figure 2 The set of divided urban areas shown is
[0112] S1-3: Extract the city area set and the features of the user behavior including the address location to obtain a three-dimensional tensor including time, space, and features
[0113] The extraction of features containing address locations is mainly aimed at the social location big data of residents. Taking natural time periods (such as 1 hour, 1 day, 1 month, etc.) as units, combined with the results of urban area division, the multi-dimensional context features of the region and the address location are uniformly extracted and represented. Specifically, the representative user spatiotemporal trajectory, user social influence and competitiveness with other similar facilities are extracted.
[0114] S1-3-1: In the address location area, consider the three sub-features that are most relevant to the user's daily behavior trajectory: the number of inflows in the area trajectory (Corresponding Inflow), the number of outflows in the area trajectory (Corresponding Outflow), and the road network distance distribution from these trajectories to the unique address location in the area. The road network distance distribution characteristics from the trajectory to the address location are extracted based on the spatiotemporal trajectory characteristics in the user behavior:
[0115] S1-3-1-1: Area r i The address location within is represented as l i , the user travel trajectory set in the urban road network is represented as Γ, and the region r i The trajectory inflow set in time period t is expressed as The trajectory outflow set is expressed as The area r i The number of inflow trajectories in time period t is expressed as The area r i The number of outflow trajectories in time period t is expressed as
[0116] S1-3-1-2: Calculation set Each trajectory τ j With l i The round-trip road distance d of the road network space m (l i ,τ j ) Get all the distance result sets Calculating Collections Each trajectory τ j With l i The round-trip road distance d of the road network space m (l i ,τ j ) Get all the distance result sets
[0117] S1-3-1-3: Using Gaussian distribution Fitting The distribution of distance data in , using Gaussian distribution Fitting The distance data distribution in and As the road network distance distribution characteristics from the trajectory to the address location;
[0118] S1-3-2: Extract the social influence features in the region based on the number of social friend relationships of the user in the trajectory of user behavior (the "reciprocal recommendation" influence of the social relationship network) and the recommendation effectiveness of celebrities (the recommendation effectiveness of celebrities or "Internet celebrities" is reflected in those users who are followed by more people in the social network):
[0119] S1-3-2-1: Change area r i In time period t, the travel trajectory set and The corresponding generated user sets are expressed as and If user u i and user u j Follow each other on social media networks (such as Weibo, Douban, etc.), then the user u i and user u j If the relationship is considered as friendship, Corresponding user social recommendation features for:
[0120]
[0121] Corresponding user social recommendation features for:
[0122]
[0123] in, Represents the set of friends of user u in time slice t; it should be noted that at this time, u’s friends must also be users who appear in the same time period t (travel trajectory).
[0124] S1-3-2-2: The number of users followed by user u on the social media network |F f (u)|Exceeds the preset threshold ε f , that is, satisfy |F f (u)|≥ε f User u is a celebrity, among which F f (u) represents the number of all other users following user u on the social media network. In this embodiment, ε f The value is 1100;
[0125] Assuming that the influence of celebrity recommendations is valid in all time slices, then region r i The celebrity influence recommendation effect characteristics V(r i )={|F f (u1)|,...,|F f (u i )|,...,|F f (u m )|}, where |F f (u i )|Indicates following celebrities on social media networks i The number of all other users in region r i The total number of celebrities and big Vs in the industry;
[0126] S1-3-3: Consider the impact of other existing facilities of the same type in the region on the popularity prediction of the address location and obtain the competitive characteristics of similar facilities in, Represents region r i Location of similar service facilities within j Popularity in time period t, n is region r i The number of addresses of similar service facilities within the facility;
[0127] S1-3-4: Combine the city area set and all the features of the user behavior containing the address location to obtain the time period t and city area r i Internal address location l i The multidimensional feature vector of for:
[0128]
[0129] in, and Gaussian distribution The mean and squared variance of and Gaussian distribution The mean and squared variance of .
[0130] In the whole time period set T and the area set For vectors of the same type with different lengths, they can be aligned by padding them with zeros. For example, in different regions, V(r i ) and M t (r i ) may have different lengths, so we need to pad them with zeros to make them equal in length to the longest vector for later processing.
[0131] S1-3-5: Within the entire time period set T, all address locations in the combination set L in different time periods t1, ..., t i ,…,t h The multidimensional feature vector in the 3D tensor for:
[0132]
[0133] in, In the time period t = t i The multidimensional feature vector t1, ..., t i ,…,t h is a set of continuous and equal-length time periods, h is the number of time periods into which the entire time period set T is divided, that is, t1+...+t i +...+t h =T, that is, T = {t1,…,t i ,…,t h}.
[0134] S1-3: Take all address locations in the set L as graph nodes and the spatial adjacency relationships between address locations as graph edges to construct a Location Correlation Graph (LCG) Among them, the node set Λ=L is the set of all address locations, is the attribute feature tensor of the node set Λ, and A is the adjacency matrix of the node set Λ. The address association graph is an undirected graph (network) structure of address locations, regional address features, and the connection relationship between them.
[0135] The adjacency relationship in the adjacency matrix A includes geographic neighbors and semantic neighbors. The geographic neighbors correspond to the local spatial correlation between address locations, and the semantic neighbors correspond to the global spatial correlation between address locations. Specifically:
[0136] If two regions r in the road network geographic space i and r j Adjacent or close, then The corresponding address location node l i and l j In addition, considering the planning integrity of the secondary or tertiary administrative divisions of the city, if the two address locations are i and l j The road network spatial distance does not exceed the threshold ε g , that is, d s (l i ,l j )≤ε g In this embodiment, εg If the value is 5000 meters, they are also considered geographical neighbors.
[0137] If the geographically distant address facilities are located in areas with similar functions, they are defined as semantic neighbors and have an adjacency relationship, which is determined by measuring the similarity of the inflow / outflow patterns of user trajectories in the two areas. Specifically, the Pearson correlation coefficient is used to calculate the semantic similarity between areas. Let and Respectively represent all time periods and regions r i The inflow quantity sequence (vector) and outflow quantity sequence (vector) of the inner trajectory. Then, the area r i and r j The semantic similarity Si(r i ,r j ) can be defined as Among them, PC s is the calculation formula of Pearson Correlation Coefficient, α s is a non-negative weight parameter used to determine the weights of the inflow quantity sequence and the outflow quantity sequence, 0≤α s ≤1. Given a threshold ε s In this embodiment, ε s The value is 0.45, and the area r i and r j is a semantic neighbor (i.e. Middle Node i and l j The condition for being connected) is if and only if Si(r i ,r j )≥ε s .
[0138] Combining the concepts of geographic neighbors and semantic neighbors, address association graph The adjacency matrix A can be expressed as: Constructed address association graph like Figure 3 As shown in the figure Represents the feature matrix of region r1 in all time periods T. The two dimensions corresponding to this matrix are time period and feature vector.
[0139] S2: Use graph neural network technology to construct the spatial association relationship of address locations, and extract local and global latent features of address locations from the address association graph based on the spatial association relationship; graph neural network is one of the hot technologies in the field of deep learning and is an important tool for effective calculation and learning of graph models. Introducing graph structure in the planning and site selection of urban facilities, representing address locations as graph nodes, and the spatial association relationship of address location facilities as graph edges, we can use related processing technologies such as graph convolutional networks and recurrent neural networks to better model the incremental site selection problem of service facilities, deeply explore and analyze the nonlinear spatial correlation and time dependency between candidate address locations, so as to efficiently and accurately predict the popularity of candidate address locations in different time periods in the future, and provide data support for the incremental site selection problem.
[0140] In the spatial domain, the same type of service facilities at two adjacent address locations are usually interrelated and influence each other. If a certain address location facility has more users visiting, it is likely to affect the visit volume of other similar facilities around it, and this influence relationship is very complex and not necessarily linear. In addition to local spatial correlation, similar address location facilities located farther away generally have global spatial correlation. For example, similar facilities located in similar functional areas may also have similar visit volume (popularity) distribution. To this end, the graph neural network technology is introduced, and the contextual graph convolution module (Contextual Convolution, CxtConv) is used to model the complex spatial correlation relationship between address location facilities, and the address association graph is used to capture the local spatial correlation and global spatial correlation between address locations. The implementation of the contextual graph convolution module CxtConv is a multi-head graph attention (MGAT) network based on the spatial structure, so that the nonlinear local correlation weight coefficient and global correlation weight coefficient between different neighbor nodes are determined through the attention mechanism, which are called local multi-head graph attention and global multi-head graph attention respectively.
[0141] In the local multi-head graph attention implementation of the context graph convolution module, the local latent features The calculation method is:
[0142]
[0143] in, is the address location l i The local latent features in time period t, K represents the number of multi-head attention (number of heads), represents the concatenation operation of K groups of features in multi-head attention, σ is a nonlinear activation function. In this embodiment, σ is a Parametric ReLU (PReLU) function; is the address position l in time period t-1 j The local hidden features, N l (l i ) represents l i The set of geographical neighbors of Middle i One-hop neighbor; is the weighted parameter matrix of the kth group of features that are shared and learnable among all address locations; for l i and l j The approximate weight coefficient of the kth group of local hidden features between, The calculation method is:
[0144]
[0145] Among them, W l k for The weighted parameter matrix of the kth group of local features shared by all edges and learnable, An is a specific implementation of the attention mechanism. In this embodiment, An adopts a dot-product operation.
[0146] Similarly, in the global multi-head graph attention implementation of the context graph convolution module, the global latent feature The calculation method is:
[0147]
[0148] in, is the address location l i The global latent features in time period t, is the l in time period t-1 j The global hidden features, N g (l i ) is l i Semantic neighbors on the address association graph, W s k is the weighted parameter matrix of the kth group of features that is shared by all edges and can be learned; Indicates l i and l j The approximate weight coefficient of the kth group of global latent features, The calculation method is:
[0149]
[0150] in, for The weight parameter matrix of the kth set of global features that is shared by all edges and can be learned.
[0151] S3: Use the Long Short Term Memory (LSTM) network in the recurrent neural network to build the temporal dependency of the address location.
[0152] In the time domain, the temporal dependency of address location popularity between consecutive time periods is considered, and the long short-term memory network is used to implement the model to model the dynamic temporal dependency of address location facilities. At the same time, the temporal dependency of address location facilities between periodic time periods such as days, weeks or months is mined.
[0153] The address position l in the time period set T i The input feature sequence vector is in Where || represents the concatenation operation of vectors;
[0154] According to the definition of LSTM, the address position l in the long short-term memory model i The state at time period t-1 and the state at time period t The time dependency between them is:
[0155]
[0156]
[0157]
[0158]
[0159]
[0160]
[0161] in, Represents the forget gate in the long short-term memory network LSTM. is the input gate (InputGate), is the cell state, stands for Cell Update. Represents the output gate (OutputGate), is the output; W f , W z , W C , W o , b f , b z , b C and b o are the parameters that need to be learned. represents the vector connection operation, σ is the activation function, in this embodiment, the activation function σ is the Sigmoid function, tanh is the activation function, in this embodiment ⊙ represents the Hadamard Product operation, which is the matrix formed by the product of the elements in corresponding positions of two matrices of the same order.
[0162] S4: Predict missing popularity distribution based on the local latent features, global latent features and time dependency. Taking the historical check-in data (i.e., popularity) of the existing address location facilities in the road network as an important input feature can improve the prediction effect of the popularity of the address location in the future. However, due to the sparsity of the data, only a few address location facilities have historical check-in data records. To this end, a spatiotemporal missing popularity prediction of the address location is proposed, which includes 3 sub-steps:
[0163] S4-1: Predict the popularity distribution of missing address locations in the historical and future stages in the spatial domain. In order to fully retain the popularity information and use it in the next stage, the prediction module does not use scalar popularity values. Instead, we use the probability distribution vector form of the popularity value to obtain the address location l i The probability distribution vector of the scalar popularity values is a scalar popularity value The probability distribution vector of ;
[0164] S4-2: In the spatial domain, based on the similarity of urban area and address location features, a multi-head graph attention network is used to transfer the local popularity and global popularity of existing address locations to address locations with missing popularity; therefore, a spatial domain prediction convolution module (Prediction Convolution, PrdConv) is introduced to summarize the popularity distribution of existing neighboring address location facilities and calculate the address location l within time period t. i ∈L u The local spatial popularity prediction distribution of Defined as:
[0165]
[0166] Similarly, within time period t, calculate address location l i ∈L u The global spatial popularity prediction distribution of Defined as:
[0167]
[0168] S4-3: Predict the popularity distribution of missing address locations in the historical and future stages in the time domain, also using the probability distribution vector form of the popularity value. To this end, reuse the state of the previous time period output by the recurrent neural network LSTM, and use the normalized exponential function (Softmax) to predict the popularity of the address location in the current time period. Get the address location l i The state output by the LSTM network in time period t-1 Calculate address location l i Predicted distribution of time domain popularity in time period t Defined as:
[0169]
[0170] Among them, W td It is a weighted parameter matrix shared and learnable by all LSTM output states. Softmax() represents the Softmax function operation.
[0171] S4-4: Fusion of the and The popularity distribution of the three types of predictions obtains the missing popularity distribution for:
[0172]
[0173] Among them, for a given popularity distribution represents the calculation method of entropy, where Representation vector The jth dimension of The number of dimensions.
[0174] S5: Combining the local latent features, the global latent features and the missing popularity distribution to obtain a final popularity prediction result, and selecting a location for a target facility according to the final popularity prediction result.
[0175] S5-1: Connecting the local hidden features Global hidden features and missing prevalence distribution Get the address location l in time slice t i The final latent feature vector representation of Indicates a connection operation;
[0176] S5-2: Set address location l i The final latent feature vector representation of Input Long Short-Term Memory Network iFinal predicted popularity distribution at time period t l i ∈L u .
[0177] S5-3: Use Multi-Layer Perceptron (MLP) to transform the vector Scalarization, that is, obtaining the predicted scalar value of the future popularity of the candidate address location that is ultimately output by the site selection model. Based on the size of the predicted scalar value of the future popularity of the candidate address location output by the model, the candidate address locations can be sorted from the time dimension or the space dimension, and multiple ordered lists of candidate address locations based on the popularity of the spatiotemporal domain can be generated for the candidate address location query and selection task for the incremental construction of service facilities. For example, based on the candidate address location sorting list, select the candidate address locations with the top-5 popularity in the next six months to build a certain commercial service facility; or based on the changes in the popularity of a candidate address location each month in the next year, decide whether the facility at the address location should be temporarily closed (such as the off-season and peak season of the tourism industry).
[0178] The invention also discloses a system for adaptive incremental site selection of urban service facilities, comprising an address association graph construction module, a feature extraction module, a missing popularity prediction module and a site selection module.
[0179] The address association graph construction module obtains input data including urban road network structure (including road network structure, address location) and user behavior (including spatiotemporal travel trajectory, social relationship network, and check-in at points of interest), constructs an address association graph based on the input data, and transmits it to the feature extraction module. The feature extraction module uses a graph neural network to construct the spatial association relationship of the address location, extracts the local latent features and global latent features of the address location from the address association graph based on the spatial association relationship, and transmits the local latent features and global latent features to the missing popularity prediction module and the site selection module. The missing popularity prediction module uses a long short-term memory network to construct the time dependency of the address location, predicts the missing popularity distribution based on the local latent features, global latent features and time dependency, and transmits it to the site selection module. The site selection module combines the local latent features, global latent features and missing popularity distribution to obtain the final popularity prediction result, and selects the location of the target facility based on the final popularity prediction result.
[0180] The present invention takes into account and evaluates a series of influencing factors such as road network structure, traffic flow, crowd mobility, residents' points of interest visits and social media networks from the perspective of data-driven and data models, and focuses on analyzing the influence of users' spatiotemporal dynamic behavior patterns and social relationship networks on candidate address locations. At the same time, it considers factors such as the category of service facilities to be built, and can enrich the multi-dimensional features of the popularity evaluation of candidate address locations from a unified perspective to maximize the value of data. In the selection of data processing models, the introduction of graph (network) technology, combined with graph convolutional networks and recurrent neural networks, can capture the temporal dependency and spatial correlation of candidate address locations from both the time domain and the space domain, thereby supporting the research on facility site selection problems and improving the processing efficiency and accuracy of site selection.
[0181] The present invention divides urban areas through urban road network structure data, constructs an address association graph, and uses graph neural networks and recurrent neural networks to simultaneously capture the spatial association and time dependence of address locations, extracts local and global features of address locations, and integrates them with the predicted missing popularity distribution of address locations to perform the final popularity prediction of address locations; it fully exploits data such as user activity and social behavior, and the prediction results obtained by combining with the spatiotemporal domain are accurate and scientific. On this basis, adaptive site selection is performed according to the prediction results. This is a semi-supervised incremental site selection method for deep spatiotemporal service facilities, which is efficient and effective, and can provide data support and reference for the incremental site selection of various service facilities.
[0182] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.
[0183] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0184] These computer program instructions may also be stored in a computer readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0185] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0186] Obviously, the above embodiments are merely examples for clear explanation and are not intended to limit the implementation methods. For those skilled in the art, other different forms of changes or modifications can be made based on the above description. It is not necessary and impossible to list all the implementation methods here. The obvious changes or modifications derived from these are still within the protection scope of the invention.
Claims
1. A method for adaptive incremental site selection of urban service facilities, characterized in that: include: S1: obtaining input data including urban road network structure and user behavior, and constructing an address association graph according to the input data; S2: constructing a spatial association relationship of address locations using a graph neural network, and extracting local latent features and global latent features of address locations from the address association graph according to the spatial association relationship; The local hidden features The calculation method is: in, is the address location l i The local latent features in time period t, K represents the number of multi-head attention, represents the concatenation operation of K groups of features in multi-head attention, σ is a nonlinear activation function, is the address position l in time period t-1 j The local hidden features, N l (l i ) represents l i The set of geographical neighbors of is the weighted parameter matrix of the kth group of features that are shared and learnable among all address locations; for l i and l j The approximate weight coefficient of the kth group of local hidden features between, The calculation method is: in, for The weighted parameter matrix of the kth group of local features shared by all edges and learnable, An is the specific implementation of the attention mechanism; The global latent feature The calculation method is: in, is the address location l i The global latent features in time period t, is the address position l in time period t-1 j The global hidden features, N g (l i ) is l i Semantic neighbors on the address association graph, is the weighted parameter matrix of the kth group of features that is shared by all edges and can be learned; Indicates l i and l j The approximate weight coefficient of the kth group of global latent features, The calculation method is: in, for The weight parameter matrix of the kth group of global features that are shared by all edges and can be learned; S3: Use long short-term memory networks to construct temporal dependencies between address locations; specifically: The address position l in the time period set T i The input feature sequence vector is in Where || represents the concatenation operation of vectors; Address location i The state at time period t-1 and the state at time period t The time dependency between them is: in, represents the forget gate in the long short-term memory network, is the input gate, is the cell state, Indicates cell renewal, represents the output gate, is the output, σ is the activation function; W f , W z , W C , W o , b f , b z , b C and b o are the parameters that need to be learned. represents the vector concatenation operation, and tanh is the activation function; S4: predicting the missing prevalence distribution according to the local latent features, the global latent features and the time dependency; specifically: S4-1: Get address location l i The probability distribution vector of the scalar popularity values S4-2: Use a multi-head graph attention network to transfer the local popularity and global popularity of existing address locations to address locations with missing popularity, summarize the popularity distribution of existing neighboring address location facilities, and calculate the address location l within time period t. i ∈L u The local spatial popularity prediction distribution of for: In time period t, calculate the address location l i ∈L u The global spatial popularity prediction distribution of for: S4-3: Get address location l i The state output by the LSTM network in time period t-1 Calculate address location l i Predicted distribution of time domain popularity in time period t for: Among them, W td It is a weighted parameter matrix shared and learnable by all LSTM output states. Softmax() represents the Softmax function operation. S4-4: Fusion and Get the missing prevalence distribution for: Among them, for a given popularity distribution represents the calculation method of entropy, where Representation vector The jth dimension of The number of dimensions; S5: Combining the local latent features, the global latent features and the missing popularity distribution to obtain a final popularity prediction result, and selecting a location for a target facility according to the final popularity prediction result.
2. The method for adaptive incremental site selection of urban service facilities according to claim 1, characterized in that: Construct an address association graph based on the input data, specifically: S1-1: Obtain a set of all address locations L=L according to the urban road network structure l ∪L u ; where L l Indicates the address location set of existing service facilities, L u A set of candidate address locations representing the absence of service facilities; S1-2: Divide the urban area according to the set L and the user behavior trajectory in the urban road network structure and the administrative division of the city to obtain a set of urban areas that meet the minimum road network distance interval S1-3: Extract the city area set The three-dimensional tensor is obtained by combining the features of the user behavior including the address location S1-3: construct an address association graph by taking all address positions in the set L as graph nodes and the spatial adjacency relationships between address positions as graph edges. Among them, the node set Λ=L is the set of all address locations, and A is the adjacency matrix of the node set Λ.
3. The method for adaptive incremental site selection of urban service facilities according to claim 2, characterized in that: According to the set L and the user behavior trajectory in the urban road network structure and the administrative division of the city, the urban area is divided into urban areas to obtain a set of urban areas that meet the minimum road network distance interval. Specifically: S1-2-1: The entire road network space area is divided into initial division areas based on the city's administrative districts; S1-2-2: With the address location in the set L as the center and the road network as the boundary, use the clustering algorithm to cluster all user behavior trajectories in the area around the corresponding address location to obtain |L| clusters, where || represents the number of elements in the set; S1-2-3: The road with the smallest road network distance interval between the outermost travel trajectories of all adjacent clusters is used as the dividing line of the corresponding area, and the initial divided area is divided using the dividing line to obtain a set of urban areas. r i is the i-th region obtained by division.
4. The method for adaptive incremental site selection of urban service facilities according to claim 3, characterized in that: Extract the city area set The three-dimensional tensor is obtained by combining the features of the user behavior including the address location Specifically: S1-3-1: Extract the road network distance distribution characteristics from the trajectory to the address location based on the spatiotemporal trajectory characteristics of the user behavior: S1-3-1-1: Area r i The address location within is represented as l i , the user travel trajectory set in the urban road network is represented as Γ, and the region r i The trajectory inflow set in time period t is expressed as The outflow set of trajectories is expressed as The area r i The number of inflow trajectories in time period t is expressed as The area r i The number of outflow trajectories in time period t is expressed as S1-3-1-2: Calculation set Each trajectory in i The round-trip road distance of the road network space is used to obtain all distance result sets Calculating Collections Each trajectory in i The round-trip road distance of the road network space is used to obtain all distance result sets S1-3-1-3: Using Gaussian distribution Fitting The distribution of distance data in , using Gaussian distribution Fitting The distance data distribution in and As the road network distance distribution characteristics from the trajectory to the address location; S1-3-2: Extract the social influence characteristics in the region based on the number of social friends of the user in the trajectory of user behavior and the recommendation effectiveness of celebrities and big Vs: S1-3-2-1: Change area r i The set of travel trajectories in time period t The corresponding generated user set is expressed as The area r i The set of travel trajectories in time period t The corresponding generated user set is expressed as If user u i and user u j Following each other on social media networks will i and user u j identified as a friend; calculate Corresponding user social recommendation features for: calculate Corresponding user social recommendation features for: in, represents the set of friends of user u in time slice t; S1-3-2-2: The number of users followed by user u on the social media network |F f (u)|Exceeds the preset threshold ε f User u is a celebrity V, F f (u) represents the number of all other users following user u on the social media network; Calculation area r i The celebrity influence recommendation effect characteristics V(r i )={|F f (u1)|,...,|F f (u i )|,...,|F f (u m )|}, where |F f (u i )|Indicates following celebrities on social media networks i The number of all other users in region r i The total number of celebrities and big Vs in the industry; S1-3-3: Obtain competitive characteristics of similar facilities in, Represents region r i Location of similar service facilities within j Popularity in time period t, n is region r i The number of addresses of similar service facilities within the facility; S1-3-4: Combine the city area set and all the features of the user behavior containing the address location to obtain the time period t and city area r i Internal address location l i The multidimensional feature vector of for: in, and Gaussian distribution The mean and squared variance of and Gaussian distribution The mean and squared variance of ; S1-3-5: Within the entire time period set T, all address locations in the combination set L in different time periods t1, ..., t i ,…,t h The multidimensional feature vector in the 3D tensor for: in, In the time period t = t i The multidimensional feature vector t1, ..., t i ,…,t h is a set of continuous and equal-length time periods, and h is the number of time periods into which the entire time period set T is divided.
5. The method for adaptive incremental site selection of urban service facilities according to any one of claims 2 to 4, characterized in that: The adjacency relations in the adjacency matrix A include geographic neighbors and semantic neighbors. The geographic neighbors correspond to the local spatial correlation between address locations, and the semantic neighbors correspond to the global spatial correlation between address locations.
6. The method for adaptive incremental site selection of urban service facilities according to claim 1, characterized in that: The final popularity prediction result is obtained by combining the local latent features, global latent features and missing popularity distribution, specifically: S5-1: Connecting the local hidden features Global hidden features and missing prevalence distribution Get the address location l in time slice t i The final latent feature vector representation of S5-2: Set address location l i The final latent feature vector representation of Input long short-term memory network, get l i The final predicted popularity distribution at time period t l i ∈L u .
7. A system for adaptive incremental site selection of urban service facilities, characterized in that: It includes address association graph construction module, feature extraction module, missing popularity prediction module and site selection module. The address association graph construction module obtains input data including urban road network structure and user behavior, constructs an address association graph according to the input data and transmits it to the feature extraction module; The feature extraction module uses a graph neural network to construct a spatial association relationship of address locations, extracts local latent features and global latent features of address locations from the address association graph according to the spatial association relationship, and transmits the local latent features and global latent features to the missing popularity prediction module and the site selection module; The missing popularity prediction module uses a long short-term memory network to construct a time dependency relationship of the address location, predicts the missing popularity distribution according to the local latent features, the global latent features and the time dependency relationship, and transmits it to the site selection module; The site selection module combines the local latent features, the global latent features and the missing popularity distribution to obtain a final popularity prediction result, and selects the site of the target facility according to the final popularity prediction result; The local hidden features The calculation method is: in, is the address location l i The local latent features in time period t, K represents the number of multi-head attention, represents the concatenation operation of K groups of features in multi-head attention, σ is a nonlinear activation function, is the address position l in time period t-1 j The local hidden features, N l (l i ) represents l i The set of geographical neighbors of is the weighted parameter matrix of the kth group of features that are shared and learnable among all address locations; for l i and l j The approximate weight coefficient of the kth group of local hidden features between, The calculation method is: in, for The weighted parameter matrix of the kth group of local features shared by all edges and learnable, An is the specific implementation of the attention mechanism; The global latent feature The calculation method is: in, is the address location l i The global latent features in time period t, is the address position l in time period t-1 j The global hidden feature of i Semantic neighbors on the address association graph, is the weighted parameter matrix of the kth group of features that is shared by all edges and can be learned; Indicates l i and l j The approximate weight coefficient of the kth group of global latent features, The calculation method is: in, for The weight parameter matrix of the kth group of global features that are shared by all edges and can be learned; Use the long short-term memory network to construct the time dependency of the address location; specifically: The address position l in the time period set T i The input feature sequence vector is in Where || represents the concatenation operation of vectors; Address location i The state at time period t-1 and the state at time period t The time dependency between them is: in, represents the forget gate in the long short-term memory network, is the input gate, is the cell state, Indicates cell renewal, represents the output gate, is the output, σ is the activation function; W f , W z , W C , W o , b f , b z , b C and b o are the parameters that need to be learned. represents the vector concatenation operation, and tanh is the activation function; Predict missing prevalence distribution according to the local latent features, global latent features and time dependency; specifically: S4-1: Get address location l i The probability distribution vector of the scalar popularity values S4-2: Use a multi-head graph attention network to transfer the local popularity and global popularity of existing address locations to address locations with missing popularity, summarize the popularity distribution of existing neighboring address location facilities, and calculate the address location l within time period t. i ∈L u The local spatial popularity prediction distribution of for: In time period t, calculate the address location l i ∈L u The global spatial popularity prediction distribution of for: S4-3: Get address location l i The state output by the LSTM network in time period t-1 Calculate address location l i Predicted distribution of time domain popularity in time period t for: Among them, W td It is a weighted parameter matrix shared and learnable by all LSTM output states. Softmax() represents the Softmax function operation. S4-4: Fusion and Get the missing prevalence distribution for: Among them, for a given popularity distribution represents the calculation method of entropy, where Representation vector The jth dimension of The number of dimensions.
