# Data Model of Key Indicators of Urban Architectural Design Based on Long- and Short-Term Convolutional Memory Network

Authors: Xiyin Ma; Jian Li; Xu Zhang
Journal: Mathematical Problems in Engineering
 (2022)

---

## Abstract

The analysis and design of key indicators of urban architecture has always been a frontier subject in the field of urban architecture. Building key indicator network area flow is challenging due to its high degree of nonlinearity and randomness. Based on the extraction method of key indicators of urban architectural design based on long and short-term convolutional memory network, this paper designs a data model of key indicators of urban architectural design. The model can effectively simulate the urban architectural design system to obtain the key index information of urban architectural design of objects step by step. The architecture of cascaded full convolutional long and short-term convolutional memory network is designed and improved. The experiment adopts the block method to ensure the output result with the same resolution as the input urban building image, which solves the problems of the traditional fully convolutional network such as small local receptive field, low output resolution. The simulation results show that the data prediction accuracy of the key indicators proposed in this paper reaches 92.3%, which is 16% and 11.5% higher than the prediction accuracy of the other two depth algorithms (76.3% and 80.8%) respectively, which promotes the key indicators of information flow within the network.


---

## Body

## 1. Introduction

As one of the most important components of surface information (accounting for more than 80% of urban surface information), buildings have been at the forefront of science and technology such as urban mapping, urban infrastructure design and planning, land use coverage type investigation, and 3D digital city construction. The field has been widely studied and applied [1]. In addition, relying on traditional methods may waste time and money, and these two defects restrict the large-scale application of high-resolution satellite remote sensing images in the contribution of urban construction, and also cause unnecessary waste of resources [2–6]. Therefore, how to use the inherent key indicators of urban architectural design of buildings to obtain accurate information of buildings from satellite remote sensing images quickly. In order to solve the above problems, this paper is oriented to RGB analysis of key indicators of urban architectural design a deep network of structured coding of key indicators of 3D urban architectural design is proposed. The embedded structured learning layer organically combines the conditional random field and the structured coding algorithm of key indicators of 3D urban architectural design. Comprehensively and accurately we learn the object distribution of the key indicators of 3D urban architectural design where objects are located and the positional relationship of the key indicators of 3D urban architectural design between objects; on this basis, the fusion layer of key indicators of urban architectural design of the network skillfully utilizes deep confidence network to realize the fusion of RGB and deep urban architectural image key index information of urban architectural design, so as to fully explore the correlation between urban architectural design information provided by RGB urban architectural image and depth information provided by deep urban architectural image [7–9].The short-term prediction of urban regional flow is a research content in the field of urban computing, which is of great significance to the planning and management of smart cities. In the actual key indicators of urban architectural design, the urban layout is complex and mixed with various factors such as weather conditions and terrain, so the regional flow is highly nonlinear and random, making the study of this problem very challenging [10–13]. Its motivation is to establish and simulate the neural network of human brain for analysis and learning, which is an intelligent learning method that is close to the human brain. Convolutional long short-term convolutional memory network is a very important network model in long and short-term convolutional memory network, especially in the field of urban building image classification has excellent applications [14–16]. For example, the LeNet-5 network model proposed by Professor Chen et al. [17] was successfully applied to the check recognition of Bank of America, and its recognition rate reached the level of naked eye recognition. Today, with the increasing expansion of urban building image resources, there are various complex and changeable factors, such as severe deformation of urban building images, diverse background changes, and low resolution, which will undoubtedly increase the difficulty of urban building image classification. In order to adapt to this complex and changeable data environment, Zhao et al. [18] established a powerful learning model. The biggest difference between the convolutional network model and other deep models is its two-dimensional network model, which can be convolved with two-dimensional convolutional layers. This particularity is especially suitable for urban building image and speech processing. The method proposed by Li et al. [19] to classify urban architectural images through the learned general urban architectural design dictionary is based on the appearance information of urban architectural images, and does not model the key index relationship layout and object shape of local urban architectural design, so that in the classification of urban building images, the computational cost is reduced, but some discriminative abilities are lost. The hierarchical model based on the shape and appearance of urban building images proposed by Song et al. [20] mainly uses the key indicators of local urban architectural design of the urban building image to form a fixed number of urban building image blocks. The hierarchical model based on the appearance and location of urban architectural images proposed by Ai et al. [21], by modeling the location of the key index of local urban architectural design equivalent to the center of the object, this kind of model is often easy to train, but usually needs to find an optimal object in the center of the urban building image when testing. In recent years, in order to improve the classification accuracy of urban architectural images, many researchers and workers have done a lot of articles on mining key indicators of higher-level urban architectural design. The researchers proposed an effective algorithm that can handle the key indicators of urban architectural design [22–24].Research on automatic extraction of buildings based on cascaded fully convolutional long and short-term convolutional memory networks: training the cascaded fully convolutional long and short-term convolutional memory network proposed in this paper for automatic building extraction, research on long and short-term convolutional memory networks on model accuracy. According to the experimental results on the Massachusetts building dataset, compared with other methods, the overall prediction accuracy of the method proposed in this paper reaches 92.3%, and the prediction accuracy of the other two depth algorithms (76.3%, 80.8%) respectively Increases by 16% and 11.5%; after obtaining the prediction results of the long and short-term convolutional memory network, the fully connected conditional random field algorithm is introduced to postprocess the output prediction result. Application of air city building image classification and multiobject segmentation based on cascaded fully convolutional long and short-term convolutional memory network, introducing atrous convolution to increase the local receptive field of urban building images, key indicators of urban architectural design. The ability to extract the key indicators of architectural design, but the network's ability to learn the structure of key indicators of urban architectural design is weak. The fusion layer of key indicators of urban architectural design of the network skillfully utilizes the depth Belief network and improved conditional random field, this layer can complete deep structured learning based on the comprehensive semantic information of objects and the semantic correlation information between objects generated by the fusion of key indicators of multimodal urban architectural design.


## 2. Design Indicators of Long- and Short-Term Convolutional Memory Network

### 2.1. Convolutional Network Activation Function

The activation function of the convolutional network is equivalent to the “axon” of the neurons in the brain, and the calculated information is processed and transmitted to the next computing unit.1) if the activation function becomes a linear function, a two-layer artificial long-term and short-term convolutional memory network is sufficient to simulate almost all mathematical functions. However, when the activation function becomes the identity activation function (that is,f (x)), this property cannot be satisfied, and if the multi-layer perceptron uses the identity activation function, then the entire network structure and the single-layer long-term and short-term convolutional memory network becomes an equivalence relationship, and the meaning of multiple layers is lost. (2) the long and short-term convolutional memory network uses a global optimization method based on the gradient descent algorithm.(1)ψudu=ψ′ada−ψ′bdb−ψ′cdc.The sigmoid function can force the input value of the long short-term convolutional memory network to “squeeze” to 0 to 1. If the input is a large negative number, the output will be 0; if the input is a large positive number, the output will be 1. In order to enhance the ability of the model, we use the data segmentation mechanism to resegment the dataset, where the training set contains 113,287 urban building images, 5000 urban building images are the validation set, and the final 5000 urban building images for the test set. In order to objectively and quantitatively evaluate the performance of the model after obtaining the test results, we evaluate the model proposed in this paper through five widely used evaluation metrics: BLEU-1, BLEU-4, ROUGEL, METEOR and CIDEr.(2)ψ′ada−ψ′bdb>0,ψ′ada+ψ′bdb<1.Because the functional properties of sigmoid are consistent with the synapses of neuron neurons, and it is easy to obtain derivatives, traditional neural networks take the sigmoid function as the core content of long-term and short-term convolutional memory networks. First, learn a weak prediction model from the initial training set, and then adjust the distribution of data samples according to the prediction performance of the model, so that the subsequent weak prediction model pays more attention to the samples with previous prediction errors or large prediction errors. It can be in the form of giving a larger weight to the prediction error samples, training the model so that it can achieve the optimal prediction result.(3)∏ψ′adaψ′bdb−∏ψ′ada×ψ′bdb=1.First we set the dictionary size to 10010 words. To test the performance of the model, we evaluate our proposed model on the MSCOCO datasets. The dataset contains 82,783 training and 40,504 validation city building images, and each city building image includes five human-annotated sentences describing city building images. The algorithm regards the decision tree as a base learner, and adopts the idea of model integration. In order to fit the residual of the previous model, a new model is established in the gradient direction of the residual decline each time. Based on the number of learners, the key indicators of urban architectural design of the samples in the data set are input into the model, and the model will generate the first decision regression tree according to the key indicators of urban architectural design and sample labels, and record the predicted value of the first tree and the actual value.


### 2.2. Convolutional Network Local Perception

Long short-term memory networks are widely used in language models for urban building image description generation tasks. The LSTM unit corresponding to each time step can generate corresponding words, which are finally combined into a sentence describing the semantic content of urban building images. Since this network has the function of resolving long-term dependencies by storing memory units, it is considered an ideal structure for the task of describing urban architectural design language in urban architectural images. In the constructed language model, the first layer of LSTM is an attention model, and the attention mechanism of urban building images is constructed in this layer. The second layer of LSTM is a language generation model, which is used to generate the language vocabulary vector of the current time step.The key indicators of external urban building design also include discrete data such as climate type. For discrete data, this paper chooses the one-hot encoding method. The first function of one-hot encoding is to solve the problem that the machine learning model is not easy to handle discrete data, because the model usually determines that the key index values of urban architectural design are continuous and ordered, but the value of discrete data is randomly assigned, each value represents only one category. The second and most critical role is to expand the key indicators of urban architectural design, extending the value of the key indicators of discrete urban architectural design to the key indicators of European-style urban architectural design.In many cases, it is necessary to calculate the distance or similarity of key indicators of urban architectural design. It is more reasonable to calculate the distance and similarity of key indicators of European-style urban architectural design. The specific operation of one-hot encoding is to expand the dimensions of the key indicators of urban architectural design in Figure1, and expand to as many dimensions as there are types of key indicators of urban architectural design.(4)ψ′ada11−ψ′ada−cosa−ψuψusina=0.Figure 1
Convolutional network local perception level optimization.The most commonly used maximum pooling in the pooling operation uses a 2 × 2 filter to find the maximum value in each area, where the stride = 2, and finally extracts it from the key indicators of the original urban architectural design. The main urban architectural design key indicators get the urban architectural design key index matrix on the right. Pooling will compress the input key indicators of urban architectural design. On the one hand, it will make the key indicators of urban architectural design smaller and simplify the network calculation complexity; on the other hand, it will compress the key indicators of urban architectural design and extract the key indicators of urban architectural design. From the prediction result graph, the prediction stability of GRU is also relatively good, and the degree of fitting between the predicted value and the actual value is also relatively high from the early stage of prediction to the later stage of prediction.


### 2.3. Weight Sharing of Design Indicators

The design index network parameter settings are shown in the text. The network parameter setting button is located in the lower right corner of the main interface. After clicking, the parameter setting window will pop up. In this window, the user can set the learning rate of the algorithm, the number of calling processes at runtime, the number of input data types, the number of training iterations, and the initial bias term bias, etc. Parameters are set and adjusted. The network parameter setting button is shown in the text. The network parameter setting button is located in the lower right corner of the main interface. In this window, the user can set the learning rate of the algorithm, the number of calling processes at runtime, the number of input data types, the number of training iterations, and the initial bias term bias, etc. Parameters are set and adjusted.(5)λμx+μy+2μx×μy−λμx−μy−2μx×μy>0.The function implementation is the focus of this paper. Taking the programming implementation of the automatic extraction program of the convolutional long and short-term convolutional memory network as an example, the network training and testing process is as follows: (1) download the data set, organize the data set, and divide the entire data set into train set (training part), test set (testing part), and validation set (validation part). (2) Creating the layer object of the convolutional long and short-term convolutional memory network, and design the network structure such as network layer type, network layer parameters (convolution kernel size, pooling type, and deconvolution kernel size), number of network layers, weight initialization, and hyperparameters of the training process. (3) By setting the loss function to compare the difference between the final output and the actual output, the back propagation error of the network is calculated.It can be seen that although the RNN in Table1 is a classic and mature time series processing algorithm, its accuracy and speed are not ideal. In the 10 validations, the worst MAPE accuracy is 84.77%, the best one result is only 90.26%, and the 10 average MAPE accuracy is 87.52%. In addition, by observing the prediction results and drawing, the fitting degree between the results and the real values in the early stage of prediction is acceptable, but in the later stage of prediction, the gap between the predicted value and the real value is constantly widening, and the deviation is very serious. The above results also support the theoretical defects of RNN, that is, there are serious problems in the processing of large-span time series data. In addition, RNN runs slowly when processing large-scale time series data, and it takes an average of 10.7 seconds to predict 500 data points 10 times, which is difficult to meet the real-time requirements of flight control multi-dimensional time series data prediction tasks.Table 1
Evaluation criteria analysis network.
IndexModel weightLayer nameHard-attention ratio10.116DropConnect 10.88420.119DropConnect 20.91530.122DropConnect 30.94640.125Dropout 10.97750.128Dropout 21.00860.058Dropout 31.03970.061Dropout 40.29580.064Dropout 50.326


### 2.4. Data Subsampling of Key Indicators of Urban Architectural Design

It can be seen from the subsampling results of the key indicators of urban architectural design data that the prediction accuracy of LSTM has been significantly improved compared with RNN. The worst MAPE accuracy in 10 experiments is 89.08%, and the best one MAPE accuracy can reach 94.03%, with an average MAPE accuracy of 90.61%. From the prediction result graph, the performance of the LSTM network is relatively stable no matter in the early stage of prediction or in the later stage of prediction, and its predicted value fits the actual value well from beginning to end. The above results also confirm that the improvement of LSTM compared with RNN is effective, and the introduction of forget gate and memory gate enhances the network's ability to process long-span time series data.A filter, also known as a convolution kernel, is a neuron with a set of fixed weights, usually a two-dimensional matrix, the size of which can be defined by the user. However, in terms of running speed, the LSTM is not far behind the RNN, with an average time of 10.7 seconds over 10 experiments. This shows that the improvement of the memory gate and forget gate of the LSTM network only improves the prediction accuracy of the network, and does not improve the speed of the network. The LSTM network is still difficult to meet the real-time requirements of aircraft maintenance, that is, flight control multi-dimensional time series data prediction tasks.


## 2.1. Convolutional Network Activation Function

The activation function of the convolutional network is equivalent to the “axon” of the neurons in the brain, and the calculated information is processed and transmitted to the next computing unit.1) if the activation function becomes a linear function, a two-layer artificial long-term and short-term convolutional memory network is sufficient to simulate almost all mathematical functions. However, when the activation function becomes the identity activation function (that is,f (x)), this property cannot be satisfied, and if the multi-layer perceptron uses the identity activation function, then the entire network structure and the single-layer long-term and short-term convolutional memory network becomes an equivalence relationship, and the meaning of multiple layers is lost. (2) the long and short-term convolutional memory network uses a global optimization method based on the gradient descent algorithm.(1)ψudu=ψ′ada−ψ′bdb−ψ′cdc.The sigmoid function can force the input value of the long short-term convolutional memory network to “squeeze” to 0 to 1. If the input is a large negative number, the output will be 0; if the input is a large positive number, the output will be 1. In order to enhance the ability of the model, we use the data segmentation mechanism to resegment the dataset, where the training set contains 113,287 urban building images, 5000 urban building images are the validation set, and the final 5000 urban building images for the test set. In order to objectively and quantitatively evaluate the performance of the model after obtaining the test results, we evaluate the model proposed in this paper through five widely used evaluation metrics: BLEU-1, BLEU-4, ROUGEL, METEOR and CIDEr.(2)ψ′ada−ψ′bdb>0,ψ′ada+ψ′bdb<1.Because the functional properties of sigmoid are consistent with the synapses of neuron neurons, and it is easy to obtain derivatives, traditional neural networks take the sigmoid function as the core content of long-term and short-term convolutional memory networks. First, learn a weak prediction model from the initial training set, and then adjust the distribution of data samples according to the prediction performance of the model, so that the subsequent weak prediction model pays more attention to the samples with previous prediction errors or large prediction errors. It can be in the form of giving a larger weight to the prediction error samples, training the model so that it can achieve the optimal prediction result.(3)∏ψ′adaψ′bdb−∏ψ′ada×ψ′bdb=1.First we set the dictionary size to 10010 words. To test the performance of the model, we evaluate our proposed model on the MSCOCO datasets. The dataset contains 82,783 training and 40,504 validation city building images, and each city building image includes five human-annotated sentences describing city building images. The algorithm regards the decision tree as a base learner, and adopts the idea of model integration. In order to fit the residual of the previous model, a new model is established in the gradient direction of the residual decline each time. Based on the number of learners, the key indicators of urban architectural design of the samples in the data set are input into the model, and the model will generate the first decision regression tree according to the key indicators of urban architectural design and sample labels, and record the predicted value of the first tree and the actual value.


## 2.2. Convolutional Network Local Perception

Long short-term memory networks are widely used in language models for urban building image description generation tasks. The LSTM unit corresponding to each time step can generate corresponding words, which are finally combined into a sentence describing the semantic content of urban building images. Since this network has the function of resolving long-term dependencies by storing memory units, it is considered an ideal structure for the task of describing urban architectural design language in urban architectural images. In the constructed language model, the first layer of LSTM is an attention model, and the attention mechanism of urban building images is constructed in this layer. The second layer of LSTM is a language generation model, which is used to generate the language vocabulary vector of the current time step.The key indicators of external urban building design also include discrete data such as climate type. For discrete data, this paper chooses the one-hot encoding method. The first function of one-hot encoding is to solve the problem that the machine learning model is not easy to handle discrete data, because the model usually determines that the key index values of urban architectural design are continuous and ordered, but the value of discrete data is randomly assigned, each value represents only one category. The second and most critical role is to expand the key indicators of urban architectural design, extending the value of the key indicators of discrete urban architectural design to the key indicators of European-style urban architectural design.In many cases, it is necessary to calculate the distance or similarity of key indicators of urban architectural design. It is more reasonable to calculate the distance and similarity of key indicators of European-style urban architectural design. The specific operation of one-hot encoding is to expand the dimensions of the key indicators of urban architectural design in Figure1, and expand to as many dimensions as there are types of key indicators of urban architectural design.(4)ψ′ada11−ψ′ada−cosa−ψuψusina=0.Figure 1
Convolutional network local perception level optimization.The most commonly used maximum pooling in the pooling operation uses a 2 × 2 filter to find the maximum value in each area, where the stride = 2, and finally extracts it from the key indicators of the original urban architectural design. The main urban architectural design key indicators get the urban architectural design key index matrix on the right. Pooling will compress the input key indicators of urban architectural design. On the one hand, it will make the key indicators of urban architectural design smaller and simplify the network calculation complexity; on the other hand, it will compress the key indicators of urban architectural design and extract the key indicators of urban architectural design. From the prediction result graph, the prediction stability of GRU is also relatively good, and the degree of fitting between the predicted value and the actual value is also relatively high from the early stage of prediction to the later stage of prediction.


## 2.3. Weight Sharing of Design Indicators

The design index network parameter settings are shown in the text. The network parameter setting button is located in the lower right corner of the main interface. After clicking, the parameter setting window will pop up. In this window, the user can set the learning rate of the algorithm, the number of calling processes at runtime, the number of input data types, the number of training iterations, and the initial bias term bias, etc. Parameters are set and adjusted. The network parameter setting button is shown in the text. The network parameter setting button is located in the lower right corner of the main interface. In this window, the user can set the learning rate of the algorithm, the number of calling processes at runtime, the number of input data types, the number of training iterations, and the initial bias term bias, etc. Parameters are set and adjusted.(5)λμx+μy+2μx×μy−λμx−μy−2μx×μy>0.The function implementation is the focus of this paper. Taking the programming implementation of the automatic extraction program of the convolutional long and short-term convolutional memory network as an example, the network training and testing process is as follows: (1) download the data set, organize the data set, and divide the entire data set into train set (training part), test set (testing part), and validation set (validation part). (2) Creating the layer object of the convolutional long and short-term convolutional memory network, and design the network structure such as network layer type, network layer parameters (convolution kernel size, pooling type, and deconvolution kernel size), number of network layers, weight initialization, and hyperparameters of the training process. (3) By setting the loss function to compare the difference between the final output and the actual output, the back propagation error of the network is calculated.It can be seen that although the RNN in Table1 is a classic and mature time series processing algorithm, its accuracy and speed are not ideal. In the 10 validations, the worst MAPE accuracy is 84.77%, the best one result is only 90.26%, and the 10 average MAPE accuracy is 87.52%. In addition, by observing the prediction results and drawing, the fitting degree between the results and the real values in the early stage of prediction is acceptable, but in the later stage of prediction, the gap between the predicted value and the real value is constantly widening, and the deviation is very serious. The above results also support the theoretical defects of RNN, that is, there are serious problems in the processing of large-span time series data. In addition, RNN runs slowly when processing large-scale time series data, and it takes an average of 10.7 seconds to predict 500 data points 10 times, which is difficult to meet the real-time requirements of flight control multi-dimensional time series data prediction tasks.Table 1
Evaluation criteria analysis network.
IndexModel weightLayer nameHard-attention ratio10.116DropConnect 10.88420.119DropConnect 20.91530.122DropConnect 30.94640.125Dropout 10.97750.128Dropout 21.00860.058Dropout 31.03970.061Dropout 40.29580.064Dropout 50.326


## 2.4. Data Subsampling of Key Indicators of Urban Architectural Design

It can be seen from the subsampling results of the key indicators of urban architectural design data that the prediction accuracy of LSTM has been significantly improved compared with RNN. The worst MAPE accuracy in 10 experiments is 89.08%, and the best one MAPE accuracy can reach 94.03%, with an average MAPE accuracy of 90.61%. From the prediction result graph, the performance of the LSTM network is relatively stable no matter in the early stage of prediction or in the later stage of prediction, and its predicted value fits the actual value well from beginning to end. The above results also confirm that the improvement of LSTM compared with RNN is effective, and the introduction of forget gate and memory gate enhances the network's ability to process long-span time series data.A filter, also known as a convolution kernel, is a neuron with a set of fixed weights, usually a two-dimensional matrix, the size of which can be defined by the user. However, in terms of running speed, the LSTM is not far behind the RNN, with an average time of 10.7 seconds over 10 experiments. This shows that the improvement of the memory gate and forget gate of the LSTM network only improves the prediction accuracy of the network, and does not improve the speed of the network. The LSTM network is still difficult to meet the real-time requirements of aircraft maintenance, that is, flight control multi-dimensional time series data prediction tasks.


## 3. Construction of Data Model Based on Long- and Short-Term Convolutional Memory Network

### 3.1. Long Short-Term Convolutional Memory Network Hierarchy

When the input of the long and short-term convolutional memory network is a multi-dimensional urban building image, these advantages are more significant. Therefore, the multi-dimensional urban building image can be directly used as the input data of the long and short-term convolutional memory network, abandoning the traditional extraction algorithm. The selection process of key indicators of urban architectural design and the tedious data reconstruction process; coupled with the subsampling in time and space, and the activation function also brings nonlinear characteristics to the network, and the traditional linear fitting is abandoned in data processing. The nonlinear fitting that is more in line with the actual distribution of the data is adopted, so the convolutional neural network can simulate the real distribution of the data most accurately.(6)1α−r×βu−λμx−λμy=λμx+μy,a>1,λμx−μy,a<0.The data set contains operational data of 218 parts, which originate from the same type of engine system, such as aircraft engine system. For each part's associated data, the data collection period covers its entire time period after running for multiple cycles until the part fails. The relevant data of each part in each operation cycle includes: part ID code, operation cycle code, 3 kinds of operation setting parameters and 21 kinds of sensor parameters. The total number of data sets is 75738 sets, including 45918 sets of training set data and 29820 sets of test set data. Among them, as shown in the following, for the running cycle, it can be seen that the training set and test set parts run for 357 cycles and 364 cycles at the longest, and after 128 cycles and 15 cycles at the shortest, the parts fail, and the parts run on average respectively 210.63 and 136.79 cycles.(7)ifx,y∉ℚ,limβu+A2−βu−A2−1=0.Using two concatenated 3 × 3 convolution kernels instead of one 5 × 5 convolution kernel, the number of parameters is changed from the original 25 (5 × 5) to 18 (3 × 3 × 2), and the size of the receptive field is maintained while maintaining the reduced number of parameters. Similarly, three convolutional layers of size 3 × 3 can be used in series, and its effect is equivalent to a convolutional layer of size 7 × 7. In addition, three concatenated 3 × 3 convolution kernels are more efficient than a 7 × 3 convolutional layer. The parameters of the ×7 convolution kernel are much less, and the number of parameters of the 3 × 3 convolution kernel is only 55% of the 7 × 7 convolution kernel (3 × 3 × 3/7 × 7 = 55%).When there are multiple filters, the stacked structure is the convolution layer. It can be known that the number of parameters in a convolution layer is filter num, where filter is the number of filters (neurons). Most importantly, three 3 × 3 convolution kernels have more nonlinear transformations than one 7 × 7 convolution kernel, which makes the convolutional long short-term convolutional memory network more capable of learning key indicators of urban architectural design.The method in Figure2 uses the combination of CNN and RNN to mine the correlation of key indicators of urban architectural design in the data, and considers the impact of external events on regional traffic, and realizes the mining of key indicators of external urban architectural design in a fully connected network. The experimental results show that the convolution recursive long short-term convolutional memory network (CRNN) can extract the key indicators of urban architectural design of the data. Compared with the ConvLSTM method, the extraction ability is stronger. This part fully considers various key indicators of urban architectural design that affect regional flow, and still takes the combination of 3, 1, and 1 as the input of key indicators of urban architectural design in time series.Figure 2
Convolutional memory network hierarchical correlation distribution.For the selection of surrounding areas of area 3∗ 3, the key indicators of external urban architectural design are treated equally with the key indicators of spatiotemporal urban architectural design, and both are regarded as a common urban architectural design key index of the sample. For the receptive field of neurons, the data stored in the matrix is the coefficient of data processing in the receptive field. The experimental results show that when the key indicators of spatial-temporal urban architectural design and the key indicators of external urban architectural design are taken into account, the prediction effect is improved compared with the previous one. At the same time, the method of gradient boosting tree is more effective than the common single model method.


### 3.2. Nesting of Key Indicators of Urban Architectural Design

Aiming at the time dependence of urban key indicators of regional flow and the related issues of urban architectural design key indicators, the experiment is based on the time-dependent LSTM network to realize the prediction method of urban regional flow, given different input forms, using (LSTM) temporal dependence of data acquired by long-short-term convolutional memory networks. The experimental results show that the regional flow has the characteristics of long-term time dependence, and it is more reasonable and effective to use the time statistical key indicators of urban architectural design as the input. Then, a method for predicting urban regional flow based on the correlation of key indicators of urban architectural design is proposed. This method uses the time statistics of key indicators of urban architectural design as input, and adds convolution operations on the basis of LSTM network.(8)∫0uexpα−βb2du−∫0uexp1πθdθdu=0,fora,b,c⊆ℝc,t.Different from the traditional training method, the deep belief network has a “pretraining” process before starting training: first, let the weight parameters find a parameter close to the optimal solution, and then train; then fine-tune the entire training process. Using “pretraining” and “fine-tuning” can greatly reduce the time required to train long and short-term convolutional memory networks. However, the input of the deep belief network can only be a one-dimensional vectorized matrix, which does not have much advantages for urban building image processing. The role of the convolution operation is to extract local information from the input data.When used, filters with different functions can be obtained by changing the weights in the convolution kernel, and different key indicators of urban architectural design can be extracted. Used in the field of urban building images, the convolution kernels of different weight parameters can extract the key indicators of urban architectural design such as color, texture, shape, etc., and integrate these information to identify objects in urban architectural images. In the same way, it is used in the field of time series processing. For the input data of multi-dimensional time series, by adjusting the weight parameters in Figure3, different convolution kernels can identify different features in the time series data, and these different urban architectural design key. When the indicators are integrated, specific analysis can be made on the aligned time series data.Figure 3
Distribution of key indicators of urban architectural design.In the processing of urban architectural images, different weights are assigned to urban architectural images, and the identification of key indicators of urban architectural design in key regions in the image is strengthened. Through continuous training, the neural network can learn the characteristics of each urban architectural image. A large number of studies have shown that attention mechanism can play a role in natural language processing, speech recognition, urban building image processing and other fields. The key indicators of road urban architectural design urban architectural images are generally edited from a continuous video frame. There is a certain time sequence correlation and similarity between urban architectural images, and the objects in each urban architectural image are unevenly distributed.The research shows that the convolutional long short-term memory network has a good effect in the extraction of time series and key indicators of urban architectural design. Based on the above analysis, this paper introduces the convolutional long short-term memory network to obtain the spatiotemporal urban architectural design key indicators of urban architectural images and fuses the multi-scale urban architectural design key index information, and then combines the attention mechanism to enhance the effective urban architectural design key indicators.The structure of the internal network in Table2 is very consistent. Each layer of AlexNet contains only one convolutional layer, and the size of the convolution kernel is 7 × 7; while each layer of VGGNet contains multiple (2∼4) convolutional layers, the size of the convolution kernel is 3 × 3, and the size of the convolution kernel is 3 × 3 in each layer. VGGNet does not use local response normalization (LRN), because local response normalization cannot improve the performance of the ImageNet Large-scale Urban Building Design. The key indicators of design are related to the key indicators of urban architectural design. On the other hand, the coordinate positions of the superpixels are used to encode the positional relationship of the key indicators of urban architectural design of adjacent superpixel pairs, and the key indicators of urban architectural design are generated. The key indicators of urban architectural design are related to the key indicators of urban architectural design. The distance decay rate ad = 0.5 is set on the PASCAL VOC 2012 dataset, and d = 0.65 on the SIFT FLOW dataset.Table 2
Clustering of key indicators of urban architectural design.
Number serialIndicator conv 1Indicator conv 2Indicator conv 3Indicator conv 4Indicator conv 5Clustering 146.2411.7717.4245.07−2.36Clustering 252.6532.0818.1145.92−1.96Clustering 32.2648.3418.7946.73−1.57Clustering 476.9039.4019.3147.37−1.26Clustering 510.9446.6119.6247.74−1.08Clustering 648.9344.5419.6547.77−1.07Clustering 742.9128.2319.2547.30−1.30Clustering 862.1010.8218.2746.11−1.87


### 3.3. Data Strategy for Training Long- and Short-Term Convolutional Memory Networks

In the process of data strategy practice of convolutional memory network, the graph structure of CRFs is firstly constructed based on the RGB urban building images segmented by superpixels; then, this paper defines the unary term of CRFs as the key indicators of urban architectural design based on superpixel multidimensional urban architectural design. The softmax classification probability, and the binary term of CRFs is defined as the similarity of adjacent superpixels to the key indicators of LAB color urban architectural design; finally, this paper adopts the cyclic belief propagation algorithm and L. On this basis, this paper uses the SSEA algorithm to learn the structural information of key indicators of urban architectural design of superpixels. On the one hand, SSEA infers the object distribution of key indicators of urban architectural design where superpixels are located according to the CRFs classification probability of superpixels, and generates node urban buildings.(9)βu−λμx,βu−λμy,…,βu−λμx−λμy︷λμx+μy⟶i,j>0∑λμx+μy.In the processing of urban architectural images, different weights are assigned to urban architectural images, and the identification of key indicators of urban architectural design in key regions in the image is strengthened. Through continuous training, the neural network can learn the characteristics of each urban architectural image. There is a certain time sequence correlation and similarity between urban architectural images, and the objects in each urban architectural image are unevenly distributed. The research shows that the convolutional long short-term memory network has a good effect in the extraction of time series and key indicators of urban architectural design. Based on the above analysis, this paper introduces the convolutional long short-term memory network to obtain the spatiotemporal urban architectural design key indicators of urban architectural images and fuses the multi-scale urban architectural design key index information and then combines the attention mechanism to enhance the effective urban architectural design key indicators.Figure4 contains road scenes from 50 different cities, consisting of a total of 25,000 urban architectural images, including 20,000 weakly annotated frames and 5,000 high-quality pixel-level annotated urban architectural images. 5000 manually labeled urban building images were randomly divided into three groups, of which 2975 urban building images were used for training, 500 for validation, and 1525 for testing. The dataset has a total of 19 categories, 8 of which are instance-level segmentation. The PASCAL VOC2012 dataset is a comprehensive dataset that can be used for tasks such as classification, semantic segmentation, object detection, and behavior recognition.(10)expα−β/b2expα+β/b2−logα−β/b2logα+β/b2=0,ifα+β>0,α>1.Figure 4
Fusion distribution of design key indicator information.The dataset is used for semantic segmentation of 2,913 urban building images, including 1,464 in the training set and 1,464 in the validation set. 1449 images, in the competition of this dataset, the number of test sets varies. The dataset contains 21 categories, one of which is the background category (except for the specified marked category, and the resolution of each urban building image is different. The PASCAL Context dataset and PASCAL Part dataset are extensions of the PASCAL VOC2010 dataset. The former contains 540 categories, of which only 59 common categories are meaningful; the latter subdivides objects on the basis of the original 20 categories, it is divided into front wheel, rear wheel, seat, and handle. These two datasets are more difficult to segment than the original VOC dataset.


## 3.1. Long Short-Term Convolutional Memory Network Hierarchy

When the input of the long and short-term convolutional memory network is a multi-dimensional urban building image, these advantages are more significant. Therefore, the multi-dimensional urban building image can be directly used as the input data of the long and short-term convolutional memory network, abandoning the traditional extraction algorithm. The selection process of key indicators of urban architectural design and the tedious data reconstruction process; coupled with the subsampling in time and space, and the activation function also brings nonlinear characteristics to the network, and the traditional linear fitting is abandoned in data processing. The nonlinear fitting that is more in line with the actual distribution of the data is adopted, so the convolutional neural network can simulate the real distribution of the data most accurately.(6)1α−r×βu−λμx−λμy=λμx+μy,a>1,λμx−μy,a<0.The data set contains operational data of 218 parts, which originate from the same type of engine system, such as aircraft engine system. For each part's associated data, the data collection period covers its entire time period after running for multiple cycles until the part fails. The relevant data of each part in each operation cycle includes: part ID code, operation cycle code, 3 kinds of operation setting parameters and 21 kinds of sensor parameters. The total number of data sets is 75738 sets, including 45918 sets of training set data and 29820 sets of test set data. Among them, as shown in the following, for the running cycle, it can be seen that the training set and test set parts run for 357 cycles and 364 cycles at the longest, and after 128 cycles and 15 cycles at the shortest, the parts fail, and the parts run on average respectively 210.63 and 136.79 cycles.(7)ifx,y∉ℚ,limβu+A2−βu−A2−1=0.Using two concatenated 3 × 3 convolution kernels instead of one 5 × 5 convolution kernel, the number of parameters is changed from the original 25 (5 × 5) to 18 (3 × 3 × 2), and the size of the receptive field is maintained while maintaining the reduced number of parameters. Similarly, three convolutional layers of size 3 × 3 can be used in series, and its effect is equivalent to a convolutional layer of size 7 × 7. In addition, three concatenated 3 × 3 convolution kernels are more efficient than a 7 × 3 convolutional layer. The parameters of the ×7 convolution kernel are much less, and the number of parameters of the 3 × 3 convolution kernel is only 55% of the 7 × 7 convolution kernel (3 × 3 × 3/7 × 7 = 55%).When there are multiple filters, the stacked structure is the convolution layer. It can be known that the number of parameters in a convolution layer is filter num, where filter is the number of filters (neurons). Most importantly, three 3 × 3 convolution kernels have more nonlinear transformations than one 7 × 7 convolution kernel, which makes the convolutional long short-term convolutional memory network more capable of learning key indicators of urban architectural design.The method in Figure2 uses the combination of CNN and RNN to mine the correlation of key indicators of urban architectural design in the data, and considers the impact of external events on regional traffic, and realizes the mining of key indicators of external urban architectural design in a fully connected network. The experimental results show that the convolution recursive long short-term convolutional memory network (CRNN) can extract the key indicators of urban architectural design of the data. Compared with the ConvLSTM method, the extraction ability is stronger. This part fully considers various key indicators of urban architectural design that affect regional flow, and still takes the combination of 3, 1, and 1 as the input of key indicators of urban architectural design in time series.Figure 2
Convolutional memory network hierarchical correlation distribution.For the selection of surrounding areas of area 3∗ 3, the key indicators of external urban architectural design are treated equally with the key indicators of spatiotemporal urban architectural design, and both are regarded as a common urban architectural design key index of the sample. For the receptive field of neurons, the data stored in the matrix is the coefficient of data processing in the receptive field. The experimental results show that when the key indicators of spatial-temporal urban architectural design and the key indicators of external urban architectural design are taken into account, the prediction effect is improved compared with the previous one. At the same time, the method of gradient boosting tree is more effective than the common single model method.


## 3.2. Nesting of Key Indicators of Urban Architectural Design

Aiming at the time dependence of urban key indicators of regional flow and the related issues of urban architectural design key indicators, the experiment is based on the time-dependent LSTM network to realize the prediction method of urban regional flow, given different input forms, using (LSTM) temporal dependence of data acquired by long-short-term convolutional memory networks. The experimental results show that the regional flow has the characteristics of long-term time dependence, and it is more reasonable and effective to use the time statistical key indicators of urban architectural design as the input. Then, a method for predicting urban regional flow based on the correlation of key indicators of urban architectural design is proposed. This method uses the time statistics of key indicators of urban architectural design as input, and adds convolution operations on the basis of LSTM network.(8)∫0uexpα−βb2du−∫0uexp1πθdθdu=0,fora,b,c⊆ℝc,t.Different from the traditional training method, the deep belief network has a “pretraining” process before starting training: first, let the weight parameters find a parameter close to the optimal solution, and then train; then fine-tune the entire training process. Using “pretraining” and “fine-tuning” can greatly reduce the time required to train long and short-term convolutional memory networks. However, the input of the deep belief network can only be a one-dimensional vectorized matrix, which does not have much advantages for urban building image processing. The role of the convolution operation is to extract local information from the input data.When used, filters with different functions can be obtained by changing the weights in the convolution kernel, and different key indicators of urban architectural design can be extracted. Used in the field of urban building images, the convolution kernels of different weight parameters can extract the key indicators of urban architectural design such as color, texture, shape, etc., and integrate these information to identify objects in urban architectural images. In the same way, it is used in the field of time series processing. For the input data of multi-dimensional time series, by adjusting the weight parameters in Figure3, different convolution kernels can identify different features in the time series data, and these different urban architectural design key. When the indicators are integrated, specific analysis can be made on the aligned time series data.Figure 3
Distribution of key indicators of urban architectural design.In the processing of urban architectural images, different weights are assigned to urban architectural images, and the identification of key indicators of urban architectural design in key regions in the image is strengthened. Through continuous training, the neural network can learn the characteristics of each urban architectural image. A large number of studies have shown that attention mechanism can play a role in natural language processing, speech recognition, urban building image processing and other fields. The key indicators of road urban architectural design urban architectural images are generally edited from a continuous video frame. There is a certain time sequence correlation and similarity between urban architectural images, and the objects in each urban architectural image are unevenly distributed.The research shows that the convolutional long short-term memory network has a good effect in the extraction of time series and key indicators of urban architectural design. Based on the above analysis, this paper introduces the convolutional long short-term memory network to obtain the spatiotemporal urban architectural design key indicators of urban architectural images and fuses the multi-scale urban architectural design key index information, and then combines the attention mechanism to enhance the effective urban architectural design key indicators.The structure of the internal network in Table2 is very consistent. Each layer of AlexNet contains only one convolutional layer, and the size of the convolution kernel is 7 × 7; while each layer of VGGNet contains multiple (2∼4) convolutional layers, the size of the convolution kernel is 3 × 3, and the size of the convolution kernel is 3 × 3 in each layer. VGGNet does not use local response normalization (LRN), because local response normalization cannot improve the performance of the ImageNet Large-scale Urban Building Design. The key indicators of design are related to the key indicators of urban architectural design. On the other hand, the coordinate positions of the superpixels are used to encode the positional relationship of the key indicators of urban architectural design of adjacent superpixel pairs, and the key indicators of urban architectural design are generated. The key indicators of urban architectural design are related to the key indicators of urban architectural design. The distance decay rate ad = 0.5 is set on the PASCAL VOC 2012 dataset, and d = 0.65 on the SIFT FLOW dataset.Table 2
Clustering of key indicators of urban architectural design.
Number serialIndicator conv 1Indicator conv 2Indicator conv 3Indicator conv 4Indicator conv 5Clustering 146.2411.7717.4245.07−2.36Clustering 252.6532.0818.1145.92−1.96Clustering 32.2648.3418.7946.73−1.57Clustering 476.9039.4019.3147.37−1.26Clustering 510.9446.6119.6247.74−1.08Clustering 648.9344.5419.6547.77−1.07Clustering 742.9128.2319.2547.30−1.30Clustering 862.1010.8218.2746.11−1.87


## 3.3. Data Strategy for Training Long- and Short-Term Convolutional Memory Networks

In the process of data strategy practice of convolutional memory network, the graph structure of CRFs is firstly constructed based on the RGB urban building images segmented by superpixels; then, this paper defines the unary term of CRFs as the key indicators of urban architectural design based on superpixel multidimensional urban architectural design. The softmax classification probability, and the binary term of CRFs is defined as the similarity of adjacent superpixels to the key indicators of LAB color urban architectural design; finally, this paper adopts the cyclic belief propagation algorithm and L. On this basis, this paper uses the SSEA algorithm to learn the structural information of key indicators of urban architectural design of superpixels. On the one hand, SSEA infers the object distribution of key indicators of urban architectural design where superpixels are located according to the CRFs classification probability of superpixels, and generates node urban buildings.(9)βu−λμx,βu−λμy,…,βu−λμx−λμy︷λμx+μy⟶i,j>0∑λμx+μy.In the processing of urban architectural images, different weights are assigned to urban architectural images, and the identification of key indicators of urban architectural design in key regions in the image is strengthened. Through continuous training, the neural network can learn the characteristics of each urban architectural image. There is a certain time sequence correlation and similarity between urban architectural images, and the objects in each urban architectural image are unevenly distributed. The research shows that the convolutional long short-term memory network has a good effect in the extraction of time series and key indicators of urban architectural design. Based on the above analysis, this paper introduces the convolutional long short-term memory network to obtain the spatiotemporal urban architectural design key indicators of urban architectural images and fuses the multi-scale urban architectural design key index information and then combines the attention mechanism to enhance the effective urban architectural design key indicators.Figure4 contains road scenes from 50 different cities, consisting of a total of 25,000 urban architectural images, including 20,000 weakly annotated frames and 5,000 high-quality pixel-level annotated urban architectural images. 5000 manually labeled urban building images were randomly divided into three groups, of which 2975 urban building images were used for training, 500 for validation, and 1525 for testing. The dataset has a total of 19 categories, 8 of which are instance-level segmentation. The PASCAL VOC2012 dataset is a comprehensive dataset that can be used for tasks such as classification, semantic segmentation, object detection, and behavior recognition.(10)expα−β/b2expα+β/b2−logα−β/b2logα+β/b2=0,ifα+β>0,α>1.Figure 4
Fusion distribution of design key indicator information.The dataset is used for semantic segmentation of 2,913 urban building images, including 1,464 in the training set and 1,464 in the validation set. 1449 images, in the competition of this dataset, the number of test sets varies. The dataset contains 21 categories, one of which is the background category (except for the specified marked category, and the resolution of each urban building image is different. The PASCAL Context dataset and PASCAL Part dataset are extensions of the PASCAL VOC2010 dataset. The former contains 540 categories, of which only 59 common categories are meaningful; the latter subdivides objects on the basis of the original 20 categories, it is divided into front wheel, rear wheel, seat, and handle. These two datasets are more difficult to segment than the original VOC dataset.


## 4. Application and Analysis of Data Model Based on Long- and Short-Term Convolutional Memory Network

### 4.1. Data Selection of Long- and Short-Term Convolutional Memory Networks

In the local connection of urban building images, each neuron corresponds to 25 parameters, and there are a total of 100 neurons in the network. If the 25 parameters of these 100 neurons are equal, then the total number of parameters of the network is 25. These 25 parameters are the way that the long-term and short-term convolutional memory network extracts the key indicators of urban architectural design during the training process, and this method is independent of the location. Some key indicators of statistical urban architectural design become the same. The experiment proves that when the residual block exceeds one layer, it will have a promotion effect; otherwise, it will degenerate into linearity. In addition to solving the problem of network degradation, compared with the general network layer, the residual network has many branches to directly connect the input to the following network layer, so that the latter network layer can perform residual learning, which protects the information to a certain extent. Completeness, the entire network only needs to learn the difference between the input and output, which simplifies the learning objective and reduces the learning difficulty.Since the CNNs in Figure5 lack the ability to effectively obtain the dependencies between data and their receptive field is small, the key indicators of urban architectural design extracted by CNNs generally lack the global contextual information of objects. To make up for the lack of structured learning ability of CNNs for key indicators of urban architectural design, conditional random fields (CRFs) are added to the backend of CNNs to globally optimize the classification probability. The methods based on CRFs generally optimize the energy function defined on the graph model globally, so that the adjacent objects with similar key indicators (color, texture, and depth) of urban architectural design are of the same category, and the categories with large differences are different, so as to optimize CNNs. The classification probability of urban architectural design realizes the consistency and smoothness optimization of the analysis of key indicators of urban architectural design.(11)ψu=∫0uexpfa−fbdu+∫0uexpga−gbdu+∫0uexpwa−wbdu∫0∞expπudu.Figure 5
Distribution of long and short-term convolutional memory networks.The difference between the network output and the real result (i.e., the label) is calculated by comparing the loss function, and partial derivatives are obtained for the weights of the network. After training and iteration, the minimum gradient is found. The difference is that the above-mentioned unique structure of the LSTM network enables it to memorize the key indicators of urban architectural design of useful long-term data and forget the key indicators of urban architectural design of useless data, so as to achieve a better time series data processing effect than the RNN network. However, CRFs cannot explicitly infer the object distribution of the key indicators of urban architectural design where objects are located and the dependence of key indicators of urban architectural design between objects, and still lack a strong ability to learn the key indicators of urban architectural design.


### 4.2. Simulation Realization of Key Indicators of Urban Architectural Design

In order to extract the key indicators of urban architectural design from different urban building images, it is necessary to set filters suitable for different key indicators of urban architectural design, that is, the convolution kernel in the convolutional long and short-term convolutional memory network. Each convolutional layer of the network may have many convolution kernels, such as 100 different convolution kernels, which can learn 100 different key indicators of urban architectural design.Before the computational analysis of convolutional layers, several basic concepts need to be introduced first. DCNN uses the method of convolution calculation to extract features from the input data. This paper uses the long and short-term convolutional memory network framework to train a deep convolutional long and short-term convolutional memory network, and completes a complete network training on an NVIDIA GTX 1060 graphics card (4GB video memory) (the number of iterations = 10000) takes 27 hours. Solver is one of the four cores of Caffe (Blob, Layer, Net, Solver), which uniformly distributes the training rhythm of the entire model. Essential to almost all Caffe-based long-short-term convolutional memory networks is the Solver file configuration. There are two basic algorithms in Solver: Forward Compute and Backward Compute. These two calculation methods are alternately performed in the whole network, the purpose is to make the loss function (Loss Function) converge to the global minimum.(12)∫0u1expfθdθ+∫0uexpga−gbdu∫0u1/expgθdθ=1.The calculation process of each Solver is as follows: (1) design a reasonable loss function that can be derived, design a training network for learning parameters and a test network for evaluating the results; (2) through forward computing (forward compute) and Backward compute alternately runs to update the weight parameters; (3) timely and quantitatively analyze the test network; (4) save the model file during network training to display the Solver status. In each network iteration, the process of Solver is as follows: (1) call forward compute to calculate the final output value of the network and the loss value obtained in this iteration; (2) calculate the gradient values of all network layers that need to be derived; (3) select different Slover methods (such as Stochastic gradient descent-stochastic gradient descent) according to actual needs, and use different gradient descent algorithms in the reverse calculation process to carry out network ownership; (4) save the learning rate used in each iteration, save the model snapshots generated by training, and record the training state of the network at each iteration.In order to have a more rigorous analysis of the prediction effect of the method in Figure6, in addition to implementing the regional traffic prediction based on the gradient boosting tree method, several common machine learning methods are also implemented on the same training set and test set to predict regional traffic. The methods of linear regression and simple neural networks, which are widely used in regression-type problems, are included as a contrast to the methods in this chapter. The method in this chapter reconstructs the data set by extracting key indicators of urban building design, and can predict the regional flow of a certain city every time. For a more comprehensive evaluation of the methods in this chapter, it is randomly selected from the city limits are listed in the experimental results table below. Connect one-dimensional TCNs to form a multi-dimensional TCN network, so that the improved network model has the ability to process multi-dimensional time series data, and retains the characteristics of causality and large receptive field of the network model; the activation function of the improved TCN model is replaced by a parameterized ReLU function.(13)1+qtFq,t⟶fq,t,q,t−1,Fq,tFq−1,t⟶1.Figure 6
Training distribution of key indicators of architectural design.The commonly used ReLU function has the ability to derive the input less than 0; the improved TCN model uses a residual connection method with a self-defined span to connect the bottom convolution kernel and the high-level convolution kernel, so that the high-level convolution network can obtain. It retains the details of the underlying network while maintaining a large receptive field; the improved TCN model is a fully convolutional network, that is, the last layer uses the convolutional layer in Table3 to connect the convolutional layer and the output interface, so that the network can be used for input data of any size can be processed and output in the specified format.Table 3
Code realization of urban architectural design data.
NumberArchitectural designCode text1Large receptive field ofμxμyClass javahelloworld {2For a comprehensiveμx−μyPublic static void main(String args[]){3Evaluation of theα+βSystem.out.println(“hello world\n”);8Dataμx+μy of any sizeImport java.util.Scanner;9Output in theβu+APublic class scannertest {10The activation oft⟶1,1Public static void main(String[] args){11The layer uses theexpπuScanner.scanner = newScanner(System.in);12The networkα+β>0 usedSystem.out.print(“”);13The network∑i=1tYi+uInta = scanner.nextint();14Connect one-dimensional to itSystem.out.printf(“%d %d\n”,a,a∗ a);15Make thet+1|t>x codeSetlayout(new flowlayout());16Specified∑mt formatGetcontentpane().add(in);17The functionfu+mtGetcontentpane().add(btn);18The urbani=0,1,2,…,nGetcontentpane().add(out);19Different types ofx,y∉ℚBtn.addactionlistener(new.btnactionadapter());Different from the classification based on the urban architectural design key indicators of the object itself, when two different types of superpixels have similar urban architectural design appearances, SSEDNs can classify objects according to the urban architectural design key indicators of the superpixels. At the same time, when the key indicators of urban architectural design of the two superpixels with the same category are quite different, SSEDNs can also be based on the distribution of the key indicators of urban architectural design of the superpixels. In a word, SSEDNs can not only use the key indicators of visual urban architectural design of superpixels for classification, but also can use the key indicators of node urban architectural design of superpixels to optimize the classification results of key indicators of urban architectural design.(14)s.t.gx∪gt=∅,gmin.t−1,x,min.x,min.t,min.x−t⏞t,x⟶1,1−δqt,x−1δqt=0.The process of training or optimizing the long and short-term convolutional memory network is the process of minimizing the loss function. The smaller the loss function value, the closer the value of the corresponding predicted result and the real result is, which reflects the long-term and short-term convolutional memory network. For the convergence characteristics of the loss function, when the value of the loss function is relatively large, its corresponding gradient should also be relatively large, so that the weight parameters can be updated faster. The “distance” between the actual result and the predicted result can be the Euclidean distance, which corresponds to the quadratic cost function.


### 4.3. Example Application and Analysis

After the key indicators of urban architectural design are obtained through the convolution operation, the extracted key indicators of urban architectural design are used for classification or segmentation operations. The common practice is to train a classifier (Softmax multiclassifier) using all the extracted key indicators of urban architectural design. At this time, there is a problem that must be solved, that is, the large amount of calculation. For example, for a 256 × 256 pixel urban building image, 100 key urban architectural design indicators defined on the 32 × 32 pixel input have been learned and obtained, and the convolution operation of each urban architectural design key index and the urban building image will be calculated. We get a (256 − 32 + 1) × (256 − 32 + 1) = 50625-dimensional convolutional urban architectural design key indicators, since there are 100 urban architectural design key indicators, each input will get a 50625 × 100 = 5062500 dimensional urban building design key indicators vector.(15)∀mt,t−1,t+1|t>x,∃limx⟶∞∑i=1tXi+Y+covx,y−1=0.In order to better extract the global information in urban building images and retain the edge information of the target, this paper further proposes a deep segmentation network model combining convolutional long short-term memory network and fully connected conditional random field to improve the effect of semantic segmentation. Considering the fully connected conditional random field as a layer of a long-term and short-term convolutional memory network, and embedding it into the proposed multi-scale residual attention deep network model, a novel end-to-end deep segmentation model is designed; using the fully connected conditional, the random field constrains the pixels with similar key information of urban architectural design such as color and location in the urban architectural image, and makes full use of the local information and global context information of the urban architectural image to further improve the semantic segmentation effect.(16)∑i=1tYi∑i=1tXi×∑u+mt∑u−mt−1−expπuexpπu1=0.When solving the minimum value by stochastic gradient descent, if the learning rate is too large, the value of the loss function may not tend to decrease as the number of iterations increases; if the learning rate is too small, it will find the correct descent direction, the number of iterations has been increasing, but the value of the loss function is almost unchanged. This paper tried different learning rates, including 1e-1, 1e-2, 1e-3, 1e-4, and 1e-5, and kept the learning rate updated during the training process to reduce the error of network training. The training results confirmed that 1e-4 can meet the requirements of the network for the stochastic gradient descent algorithm. The spatiotemporal data set used in urban areas is spatiotemporal sequence data. To predict the flow of a certain area, the key indicators of time-dependent urban building design still occupy the main factor. Therefore, in the experimental process of Figure7, separate time-dependent urban buildings are used respectively. The correlation between key design indicators, time-dependent key indicators of urban architectural design and key indicators of urban architectural design.Figure 7
Distribution of extraction period of key indicators of architectural design.For the extraction period P and extraction lengthL of different parts of the time-dependent urban architectural design key indicators, the extraction period is set as the adjacent time stamp for the proximity through the above statistical analysis, the periodicity is set to one day, and the trend is set to 7 days. The extraction length is set based on experience. The proximity is the closest to the prediction target in the time dimension, and is set to 1 or 3, while the periodicity and trend are relatively far away, so this section sets it to 1. The optimal parameters are obtained by experimental verification, and for some hyperparameters of the gradient boosting tree model itself, such as the depth of the tree, the number of decision trees, the learning rate, etc., the optimal parameters are obtained by grid search.In the original input data, local features are extracted one by one for each small region, and several important concepts are defined in DCNN. For some ultralarge databases such as the ImageNet Large-scale Urban Building Design Recognition Challenge dataset, the dataset contains 1.2 million samples. If the full gradient descent method is used, 1.2 million samples are firstly performed each time. It is an unwise choice in terms of improving time efficiency and reducing memory usage.(17)Mt|c,t⟶1,1=fu+mt+Zt,t=0,1,2,…,n,∑i=1tYi+u,i=0,1,2,…,n..In the extraction stage of key indicators of urban architectural design, first of all, this paper uses FCN. The framework is used as a fully convolutional long and short-term convolutional memory network, on the one hand, through the public pretraining model VGG network parameters, on the other hand, set the training parameters of FCN-8s: mini-batch size = 50, learning rate = 1.04, momentum = 0.9, weight decay = 54 and epoch = 500, and use stochastic gradient descent algorithm to FCN for training and fine-tuning: then, this paper upsamples the convolution or deconvolution of urban architectural design key indicators at each layer, and cascade all up-sampled urban architectural design key indicators to generate multi-dimensional urban architectural design features, and by calculating the mean value of the key indicators of multi-dimensional urban architectural design of all pixels in the superpixel, the superpixel multidimensional urban architectural design key indicators of urban architectural design are generated.(18)limx⟶∞δqt,x−limx⟶∞1+qx,th=qx,t−1,q>x,1,q<x.On this basis, training DBNs can be divided into two stages: pretraining and fine-tuning. In the pretraining stage, this paper uses an unsupervised greedy algorithm to train RBMs in DBNs layer by layer from the bottom up to obtain the initial DBNs parameters; in the fine-tuning stage, this paper adopts unsupervised wake. In order to make DBNs have classification function, this paper adds a classification and discrimination network (eg softmax function) on top of DBNs. At this time, the structure of DBNs is the same as that of standard feedforward neural network. This paper adopts supervised back-propagation algorithm to further tune DBNs parameters.


## 4.1. Data Selection of Long- and Short-Term Convolutional Memory Networks

In the local connection of urban building images, each neuron corresponds to 25 parameters, and there are a total of 100 neurons in the network. If the 25 parameters of these 100 neurons are equal, then the total number of parameters of the network is 25. These 25 parameters are the way that the long-term and short-term convolutional memory network extracts the key indicators of urban architectural design during the training process, and this method is independent of the location. Some key indicators of statistical urban architectural design become the same. The experiment proves that when the residual block exceeds one layer, it will have a promotion effect; otherwise, it will degenerate into linearity. In addition to solving the problem of network degradation, compared with the general network layer, the residual network has many branches to directly connect the input to the following network layer, so that the latter network layer can perform residual learning, which protects the information to a certain extent. Completeness, the entire network only needs to learn the difference between the input and output, which simplifies the learning objective and reduces the learning difficulty.Since the CNNs in Figure5 lack the ability to effectively obtain the dependencies between data and their receptive field is small, the key indicators of urban architectural design extracted by CNNs generally lack the global contextual information of objects. To make up for the lack of structured learning ability of CNNs for key indicators of urban architectural design, conditional random fields (CRFs) are added to the backend of CNNs to globally optimize the classification probability. The methods based on CRFs generally optimize the energy function defined on the graph model globally, so that the adjacent objects with similar key indicators (color, texture, and depth) of urban architectural design are of the same category, and the categories with large differences are different, so as to optimize CNNs. The classification probability of urban architectural design realizes the consistency and smoothness optimization of the analysis of key indicators of urban architectural design.(11)ψu=∫0uexpfa−fbdu+∫0uexpga−gbdu+∫0uexpwa−wbdu∫0∞expπudu.Figure 5
Distribution of long and short-term convolutional memory networks.The difference between the network output and the real result (i.e., the label) is calculated by comparing the loss function, and partial derivatives are obtained for the weights of the network. After training and iteration, the minimum gradient is found. The difference is that the above-mentioned unique structure of the LSTM network enables it to memorize the key indicators of urban architectural design of useful long-term data and forget the key indicators of urban architectural design of useless data, so as to achieve a better time series data processing effect than the RNN network. However, CRFs cannot explicitly infer the object distribution of the key indicators of urban architectural design where objects are located and the dependence of key indicators of urban architectural design between objects, and still lack a strong ability to learn the key indicators of urban architectural design.


## 4.2. Simulation Realization of Key Indicators of Urban Architectural Design

In order to extract the key indicators of urban architectural design from different urban building images, it is necessary to set filters suitable for different key indicators of urban architectural design, that is, the convolution kernel in the convolutional long and short-term convolutional memory network. Each convolutional layer of the network may have many convolution kernels, such as 100 different convolution kernels, which can learn 100 different key indicators of urban architectural design.Before the computational analysis of convolutional layers, several basic concepts need to be introduced first. DCNN uses the method of convolution calculation to extract features from the input data. This paper uses the long and short-term convolutional memory network framework to train a deep convolutional long and short-term convolutional memory network, and completes a complete network training on an NVIDIA GTX 1060 graphics card (4GB video memory) (the number of iterations = 10000) takes 27 hours. Solver is one of the four cores of Caffe (Blob, Layer, Net, Solver), which uniformly distributes the training rhythm of the entire model. Essential to almost all Caffe-based long-short-term convolutional memory networks is the Solver file configuration. There are two basic algorithms in Solver: Forward Compute and Backward Compute. These two calculation methods are alternately performed in the whole network, the purpose is to make the loss function (Loss Function) converge to the global minimum.(12)∫0u1expfθdθ+∫0uexpga−gbdu∫0u1/expgθdθ=1.The calculation process of each Solver is as follows: (1) design a reasonable loss function that can be derived, design a training network for learning parameters and a test network for evaluating the results; (2) through forward computing (forward compute) and Backward compute alternately runs to update the weight parameters; (3) timely and quantitatively analyze the test network; (4) save the model file during network training to display the Solver status. In each network iteration, the process of Solver is as follows: (1) call forward compute to calculate the final output value of the network and the loss value obtained in this iteration; (2) calculate the gradient values of all network layers that need to be derived; (3) select different Slover methods (such as Stochastic gradient descent-stochastic gradient descent) according to actual needs, and use different gradient descent algorithms in the reverse calculation process to carry out network ownership; (4) save the learning rate used in each iteration, save the model snapshots generated by training, and record the training state of the network at each iteration.In order to have a more rigorous analysis of the prediction effect of the method in Figure6, in addition to implementing the regional traffic prediction based on the gradient boosting tree method, several common machine learning methods are also implemented on the same training set and test set to predict regional traffic. The methods of linear regression and simple neural networks, which are widely used in regression-type problems, are included as a contrast to the methods in this chapter. The method in this chapter reconstructs the data set by extracting key indicators of urban building design, and can predict the regional flow of a certain city every time. For a more comprehensive evaluation of the methods in this chapter, it is randomly selected from the city limits are listed in the experimental results table below. Connect one-dimensional TCNs to form a multi-dimensional TCN network, so that the improved network model has the ability to process multi-dimensional time series data, and retains the characteristics of causality and large receptive field of the network model; the activation function of the improved TCN model is replaced by a parameterized ReLU function.(13)1+qtFq,t⟶fq,t,q,t−1,Fq,tFq−1,t⟶1.Figure 6
Training distribution of key indicators of architectural design.The commonly used ReLU function has the ability to derive the input less than 0; the improved TCN model uses a residual connection method with a self-defined span to connect the bottom convolution kernel and the high-level convolution kernel, so that the high-level convolution network can obtain. It retains the details of the underlying network while maintaining a large receptive field; the improved TCN model is a fully convolutional network, that is, the last layer uses the convolutional layer in Table3 to connect the convolutional layer and the output interface, so that the network can be used for input data of any size can be processed and output in the specified format.Table 3
Code realization of urban architectural design data.
NumberArchitectural designCode text1Large receptive field ofμxμyClass javahelloworld {2For a comprehensiveμx−μyPublic static void main(String args[]){3Evaluation of theα+βSystem.out.println(“hello world\n”);8Dataμx+μy of any sizeImport java.util.Scanner;9Output in theβu+APublic class scannertest {10The activation oft⟶1,1Public static void main(String[] args){11The layer uses theexpπuScanner.scanner = newScanner(System.in);12The networkα+β>0 usedSystem.out.print(“”);13The network∑i=1tYi+uInta = scanner.nextint();14Connect one-dimensional to itSystem.out.printf(“%d %d\n”,a,a∗ a);15Make thet+1|t>x codeSetlayout(new flowlayout());16Specified∑mt formatGetcontentpane().add(in);17The functionfu+mtGetcontentpane().add(btn);18The urbani=0,1,2,…,nGetcontentpane().add(out);19Different types ofx,y∉ℚBtn.addactionlistener(new.btnactionadapter());Different from the classification based on the urban architectural design key indicators of the object itself, when two different types of superpixels have similar urban architectural design appearances, SSEDNs can classify objects according to the urban architectural design key indicators of the superpixels. At the same time, when the key indicators of urban architectural design of the two superpixels with the same category are quite different, SSEDNs can also be based on the distribution of the key indicators of urban architectural design of the superpixels. In a word, SSEDNs can not only use the key indicators of visual urban architectural design of superpixels for classification, but also can use the key indicators of node urban architectural design of superpixels to optimize the classification results of key indicators of urban architectural design.(14)s.t.gx∪gt=∅,gmin.t−1,x,min.x,min.t,min.x−t⏞t,x⟶1,1−δqt,x−1δqt=0.The process of training or optimizing the long and short-term convolutional memory network is the process of minimizing the loss function. The smaller the loss function value, the closer the value of the corresponding predicted result and the real result is, which reflects the long-term and short-term convolutional memory network. For the convergence characteristics of the loss function, when the value of the loss function is relatively large, its corresponding gradient should also be relatively large, so that the weight parameters can be updated faster. The “distance” between the actual result and the predicted result can be the Euclidean distance, which corresponds to the quadratic cost function.


## 4.3. Example Application and Analysis

After the key indicators of urban architectural design are obtained through the convolution operation, the extracted key indicators of urban architectural design are used for classification or segmentation operations. The common practice is to train a classifier (Softmax multiclassifier) using all the extracted key indicators of urban architectural design. At this time, there is a problem that must be solved, that is, the large amount of calculation. For example, for a 256 × 256 pixel urban building image, 100 key urban architectural design indicators defined on the 32 × 32 pixel input have been learned and obtained, and the convolution operation of each urban architectural design key index and the urban building image will be calculated. We get a (256 − 32 + 1) × (256 − 32 + 1) = 50625-dimensional convolutional urban architectural design key indicators, since there are 100 urban architectural design key indicators, each input will get a 50625 × 100 = 5062500 dimensional urban building design key indicators vector.(15)∀mt,t−1,t+1|t>x,∃limx⟶∞∑i=1tXi+Y+covx,y−1=0.In order to better extract the global information in urban building images and retain the edge information of the target, this paper further proposes a deep segmentation network model combining convolutional long short-term memory network and fully connected conditional random field to improve the effect of semantic segmentation. Considering the fully connected conditional random field as a layer of a long-term and short-term convolutional memory network, and embedding it into the proposed multi-scale residual attention deep network model, a novel end-to-end deep segmentation model is designed; using the fully connected conditional, the random field constrains the pixels with similar key information of urban architectural design such as color and location in the urban architectural image, and makes full use of the local information and global context information of the urban architectural image to further improve the semantic segmentation effect.(16)∑i=1tYi∑i=1tXi×∑u+mt∑u−mt−1−expπuexpπu1=0.When solving the minimum value by stochastic gradient descent, if the learning rate is too large, the value of the loss function may not tend to decrease as the number of iterations increases; if the learning rate is too small, it will find the correct descent direction, the number of iterations has been increasing, but the value of the loss function is almost unchanged. This paper tried different learning rates, including 1e-1, 1e-2, 1e-3, 1e-4, and 1e-5, and kept the learning rate updated during the training process to reduce the error of network training. The training results confirmed that 1e-4 can meet the requirements of the network for the stochastic gradient descent algorithm. The spatiotemporal data set used in urban areas is spatiotemporal sequence data. To predict the flow of a certain area, the key indicators of time-dependent urban building design still occupy the main factor. Therefore, in the experimental process of Figure7, separate time-dependent urban buildings are used respectively. The correlation between key design indicators, time-dependent key indicators of urban architectural design and key indicators of urban architectural design.Figure 7
Distribution of extraction period of key indicators of architectural design.For the extraction period P and extraction lengthL of different parts of the time-dependent urban architectural design key indicators, the extraction period is set as the adjacent time stamp for the proximity through the above statistical analysis, the periodicity is set to one day, and the trend is set to 7 days. The extraction length is set based on experience. The proximity is the closest to the prediction target in the time dimension, and is set to 1 or 3, while the periodicity and trend are relatively far away, so this section sets it to 1. The optimal parameters are obtained by experimental verification, and for some hyperparameters of the gradient boosting tree model itself, such as the depth of the tree, the number of decision trees, the learning rate, etc., the optimal parameters are obtained by grid search.In the original input data, local features are extracted one by one for each small region, and several important concepts are defined in DCNN. For some ultralarge databases such as the ImageNet Large-scale Urban Building Design Recognition Challenge dataset, the dataset contains 1.2 million samples. If the full gradient descent method is used, 1.2 million samples are firstly performed each time. It is an unwise choice in terms of improving time efficiency and reducing memory usage.(17)Mt|c,t⟶1,1=fu+mt+Zt,t=0,1,2,…,n,∑i=1tYi+u,i=0,1,2,…,n..In the extraction stage of key indicators of urban architectural design, first of all, this paper uses FCN. The framework is used as a fully convolutional long and short-term convolutional memory network, on the one hand, through the public pretraining model VGG network parameters, on the other hand, set the training parameters of FCN-8s: mini-batch size = 50, learning rate = 1.04, momentum = 0.9, weight decay = 54 and epoch = 500, and use stochastic gradient descent algorithm to FCN for training and fine-tuning: then, this paper upsamples the convolution or deconvolution of urban architectural design key indicators at each layer, and cascade all up-sampled urban architectural design key indicators to generate multi-dimensional urban architectural design features, and by calculating the mean value of the key indicators of multi-dimensional urban architectural design of all pixels in the superpixel, the superpixel multidimensional urban architectural design key indicators of urban architectural design are generated.(18)limx⟶∞δqt,x−limx⟶∞1+qx,th=qx,t−1,q>x,1,q<x.On this basis, training DBNs can be divided into two stages: pretraining and fine-tuning. In the pretraining stage, this paper uses an unsupervised greedy algorithm to train RBMs in DBNs layer by layer from the bottom up to obtain the initial DBNs parameters; in the fine-tuning stage, this paper adopts unsupervised wake. In order to make DBNs have classification function, this paper adds a classification and discrimination network (eg softmax function) on top of DBNs. At this time, the structure of DBNs is the same as that of standard feedforward neural network. This paper adopts supervised back-propagation algorithm to further tune DBNs parameters.


## 5. Conclusion

Considering that the convolutional long short-term memory network has a good effect in the extraction of time-series urban architectural design key indicators and urban architectural design key indicators, this paper designs and proposes a multi-scale urban architectural design key index model to solve urban problems. In the process of index extraction, the key index information of key urban architectural design can be effectively strengthened. Therefore, the convolutional long short-term memory network and attention mechanism are combined to be used in the semantic segmentation task of key index images of urban architectural design to effectively extract spatiotemporal information. At the same time, it strengthens and highlights the key index information of key urban architectural design, and the segmentation performance verifies the effectiveness of the proposed algorithm. Studies have shown that the adversarial training method can not only improve the performance of the generative network through the competition of the discriminative network, but also can effectively reduce the overfitting of the generative network in the training process. Through adversarial training, the structured reasoning embedded adversarial network for key indicators of urban architectural design can not only detect the inconsistency between the analysis results of key indicators of urban architectural design output from the network and the corresponding ones through the analysis and judgment of the discriminant network, but also through the competitive and confrontational network of the discriminant network. The parameters of each layer of the generation network are optimized, structured learning layer and the fusion layer of key indicators of urban architectural design, thereby significantly improving the consistency of the analysis results of key indicators of urban architectural design.



---

*Source: 7607928-2022-03-24.xml*