Analysis of Balance of Income and Expenditure and Optimal Retirement Age of Pension Insurance Co-Ordination Account Based on Improved Machine Learning Algorithm

Since the turn of the twenty-first century, the issue of aging has gained international attention. Both developed and developing nations are currently dealing with this issue. To ensure the sustained and healthy growth of the economy and society in the face of an aging society, it is especially important to establish a scientific old-age insurance system and a reasonable retirement system. We are all aware that the key indicators for the state to control the old-age insurance system in the old-age insurance system are the income and expenditure balance of the old-age insurance pooling account and the analysis of the ideal retirement age. In this paper, a better machine algorithm is used. By independently learning the rules present in a large amount of data and gaining new experience and knowledge, machine learning (ML) can increase computer intelligence and give computers decision-making abilities comparable to those of humans. In general, a machine learning algorithm uses the laws it derives from data to predict unknown data after automatically analysing the data. This study's findings suggest that the ideal retirement age and life expectancy are positively correlated, with the ideal retirement age's growth rate 12.57 percent higher than that of life expectancy.


Introduction
Before the 18th century, the population was mainly concentrated in villages and towns, with poor living environment, underdeveloped medical conditions, diseases, wars, and other reasons, and the population growth was very slow [1]. With the sudden rise of the first industrial revolution, science and technique were born, medical level and grain output were greatly improved, and the global population began to grow slowly. After entering the 19th century, the world ushered in a century-long period of relative peace, and with the help of the second industrial revolution, the population surged, forming the second growth peak in human history [2]. At the same time, due to the declining fertility rate in some developed countries in Europe, some countries began to show signs of aging [3]. Since the 20th century, quite a few countries, including China, have been facing the aging of population. Global challenges have been gradually introduced as aging has spread continuously. e old-age security system is under tremendous strain due to the large population, and the level of contributions and replacements within the system not only affects how well workers will live after they retire but also indirectly affects how dependent retirees will be on old-age insurance [4]. A reasonable contribution rate and substitution rate will help to reduce the financial strain that the aging population is putting on the old-age insurance fund. In addition, a reasonable contribution rate and substitution rate will aid in the establishment and improvement of a multilevel old-age insurance system with Chinese characteristics, even the social security system, as well as in the promotion of the oldage insurance system of governmental institutions and agencies. erefore, it is important from both a theoretical and practical standpoint to dynamically modify the contribution rate and substitution rate of people and businesses. Government officials and academics have expressed interest in determining a reasonable contribution rate and substitution rate. e income and expenditure of old-age insurance are particularly impacted by the multiple levels and angles of the aging process [5]. Affected by the rapid improvement of aging, the on-the-job workers' support rate for the elderly population has increased, resulting in a decrease in the number of contributors to their pension funds but an increase in the burden. Pension income and expenditure will be unbalanced, which indicates that there will be a gap in the future, and the gap will be bigger and bigger [6]. From a global perspective, the future 21st century will be the century of global population aging. In the degree of aging, there are significant differences among continents in the world [7]. e proportion of the aging population in Asia has remained at a high level for a long time, and the aging growth rate ranks first in the world. e proportion of the elderly population in Europe shows a downward trend; "Silver tsunami" will sweep across most areas; only South Africa will be spared temporarily, but the progress is slow, rather than completely reversing the trend of population aging [8]. Old-age insurance systems in many nations have gradually run into financial difficulties as a result of the rapid increase in the world's aging population. Since their own old-age insurance systems and welfare policies differ from those of the United States, many foreign nations have experimented with adjusting the retirement age and have seen some success [9]. An index that is frequently used to reflect the overall health and quality of life of people in a nation or region is the average life expectancy of the population [10]. e average lifespan of the population has steadily increased, thanks to improvements in living standards, medical and health services, and the infant mortality rate (which has been steadily declining) [11]. Many workers consider the retirement age from their own point of view, and whether it is postponed or not is also highly controversial. For example, people with high education level want to postpone the retirement age in order to give full play to human resources. Many women think that their jobs are not limited by too many physiological conditions and think that they should retire at the same age as men. Some people also think that with the increase of age, their physical condition is not as good as that of their young age, their working passion drops sharply, their working efficiency drops, and it is inappropriate to postpone their retirement age and so on [12]. Undoubtedly, the increasing number of elderly people, the expanding coverage of the pension system, a large number of "empty accounts" running personal accounts, the incipient fiscal deficit, the serious shortage of pension reserves, the gradually obvious "hidden debt," and the reform cost of the transition between the old and new systems have all increased the financial payment crisis [13]. From this point of view, the pension system is facing huge financial payment pressure in the improvement pattern of "getting old before getting rich" [14]. e innovation of this paper lies in the following: (1) is paper introduces the old-age insurance. Because it is a part of the research topic of this paper, we should discuss it. Part of the pension is the focus of this article, so it was described from the beginning. Scholars generally believe that the basic old-age insurance system is the main component of the modern social security system and an indispensable component. e government adopts laws, regulations, and other means to require enterprises and employees to pay endowment insurance in proportion and give corresponding pensions to workers after their legal retirement to maintain their life after retirement. is policy is the basic endowment insurance system.
(2) is article introduces the retirement age. is paper has also studied it, so it is necessary to discuss it.
With the rapid spread of population aging, although different countries have implemented different statutory retirement age systems according to their own national conditions, facing this global question, many countries have already or will soon choose to extend their retirement time. e flexible retirement system should be implemented, that is, different people can choose their retirement time independently according to their job nature, health, economic situation, family background, and employment intention, so as to meet the pursuit of retirement life quality. (3) ML can increase computer intelligence by allowing computers to independently learn the rules present in a large amount of data, gain new experience, and learn new things. is allows computers to make decisions that are comparable to those of humans. In order to give computers the ability to learn on their own, ML theory primarily involves designing and examining specific algorithms. In general, ML algorithms use the laws they derive from data to predict unknown data. ey automatically analyse the data and derive the laws from it.

Related Works
Fitzpatrick suggested a complete OLG model idea, modified it, and used it as a vital analysis tool [15]. Lu and Tang suggested the standard to measure economic welfare and the way to improve it and advocated that income distribution should be equalized and the government should play an intervention role in income redistribution [16]. Hatcher suggested to choose ways to increase the contribution rate of individual pension to ensure the adequacy of individual pension accounts [17]. Turner suggested that theory of welfare economics should be based on cardinal utility theory, assuming that consumption can be measured concretely and summed up, also known as "old welfare economics" [18]. A B suggested two OLG models in order to analyse the optimal retirement age better [19]. Yue suggested the combination of unified account and personal account. e purpose of introducing personal account is to accumulate some funds to cope with the peak of retirement, which indicates that the old-age insurance system has achieved a major breakthrough of the "partial accumulation system" [20]. Chen suggested the basic idea of "small step by step," but the reform opportunity, rhythm grasp, the path of delaying retirement, and the optimal retirement age of different social groups have all become difficult questions to be solved in the policy reform of delaying retirement [21]. Den et al. suggested two options of combining social pooling with individual accounts, allowing them to choose according to the actual situation and even modifying them appropriately [22]. Meng et al. suggested a two-stage reform plan: first, the retirement age of women should be adjusted to 55 without distinction. en, men will retire at the age of 65 at the rate of 1 year/6 years and women at the rate of twice that of men [23]. Steiber and Kohli suggested a new idea of supplementing enterprise insurance and personal savings endowment insurance, but overall, it is still the product of the times under the planned economy system [24].
With the advancement of science and technology, ongoing economic growth, ongoing medical and health conditions improvement, and a significant rise in life expectancy, the population aging trend is becoming more and more obvious, and the global question of how to balance the supply and demand of crisis endowment insurance funds has emerged. To varying degrees, every nation in the world is improving and reforming its endowment insurance system. Old-age insurance is a type of insurance designed to reduce the risk that an elderly person's income will be interrupted or reduced, which will result in a decline in living standards. Endowment insurance plays a crucial role in China's national economy and social advancement as a crucial component of the social system. e need to restructure and enhance the old-age insurance system is urgent. e old-age insurance reform is currently in a phase of transition, with the goal of implementing the changeover between the old and new systems. e analysis of the balance of payments and the ideal retirement age for the pension insurance pooling account, which is of great significance, is based on an improved machine learning algorithm in this paper.

Endowment Insurance.
e disparity between public pension revenue and expenditure in various nations is getting progressively worse as the proportion of the elderly population rises. e operating mechanism of endowment insurance systems is the same across all countries, despite the variations in system types. Most academics concur that the fundamental old-age insurance system is both the main and most essential part of the contemporary social security system. e government adopts laws, regulations, and other means to require enterprises and employees to pay endowment insurance in proportion and give corresponding pensions to workers after their legal retirement to maintain their life after retirement. is policy is the basic endowment insurance system.
Let us say S(t) is a discrete and discontinuous function, but the increase or decrease of personal normal savings is relatively small compared with the total personal savings, especially after working for a period of time. In order to study the method, S(t) is regarded as continuously differentiable's function , which does not affect its economic and practical significance, so it can be studied by the differential method.
Set the time interval of [t, t + Δt], of which Δt is as small as possible. e increase (decrease) of personal savings is Let r(t) be the risk-free interest rate at t hours (replaced by the bank interest rate), α be the wage growth rate, u 1 (t) be the personal contribution rate, β be the consumption change rate, q(t) be the replacement rate of savings replaced by personal accounts, X 1 (t) be the personal consumption at t hours, and I(t) be the personal account pension at t hours. Assuming that wage increases, personal pension contribution increase and consumption increase are proportional to wage W(t) and time Δt, and there are When Δt ⟶ 0, S(t) satisfies the differential equation, On the other hand, wages are distributed among consumption, savings, and personal account pensions: Take derivatives of t on both the sides, and there are For retirement consumption, assume the individual's consumption at τ hours in the retirement period is X 2 (τ), and there are Among them, S I 1 is the total amount of savings during the working period, I t 1 is the total amount of personal account principal during the working period, r 1 is the storage interest rate during the whole working period, and u 3 (τ) is the replacement rate at τ hours. e greatest utility of the basic old-age insurance is to maintain the life of retired workers. Its implementation is beneficial to the society and individuals. Its main contents are as follows: it helps to strengthen the promotion of total social productivity, mobilize the participation enthusiasm of individual workers, and continuously provide the required labor supply for social reproduction. Delaying retirement can alleviate the financial pressure of pension to a certain extent, but it cannot fundamentally solve the account gap of pension, and there may be a pension deficit question in the future.
ere is no inevitable connection between the pension gap and the aging of the population, and there is Computational Intelligence and Neuroscience great uncertainty about whether delaying retirement can make up for the pension gap. Although delaying retirement can achieve the effect of increasing income, the insured can receive more pensions in a longer life, which may offset the degradation effect of delaying retirement policy on the pension deficit. e number of employees participating in the basic old-age insurance system has been increasing, and their basic old-age insurance income has been increasing, and the total pension is gradually increasing, but the growth rate has slowed down. e appearance of prosperity cannot hide the hidden crisis of basic old-age insurance.

Optimal Retirement Age.
If delaying retirement is an effective plan to solve China's pension dilemma at present, how should the best time for reform be determined? With the rapid spread of population aging, although different countries have implemented different statutory retirement age systems according to their own national conditions, facing this global question, many countries have already or will soon choose to extend their retirement time. Some scholars believe that the formulation and implementation of the delayed retirement policy cannot be rushed for a while, but it needs to wait until the pressure of old-age care becomes increasingly urgent, and the employment pressure is not obviously aggravated.
Considering that the policy of delaying retirement involves a wide range of issues and there are big differences of opinions, it is inevitable that there will be many obstacles in its implementation, and it is impossible to achieve it in one step.
erefore, most of the schemes are designed with flexible adjustment and gradual steps, so as to minimize the adverse effects caused by the reform and consider social fairness and efficiency to a greater extent. First of all, there is a mismatch between the rising life expectancy and the stagnant retirement system. Second, the education level of residents is gradually rising, and the number of years of education continues to increase, resulting in the working hours of school-age workers shrinking. Finally, in order to maintain the domestic basic pension balance, it is possible to increase the overall social pension payment rate of enterprises, which will inevitably reduce the interests of enterprises, weaken the competitiveness of the enterprises where they are located, and stabilize the average pension replacement rate.
From the international experience, most developed countries adopt a gradual and steady reform scheme based on the actual age structure of the population, which is easy for the society to digest gradually and reduce the resistance to reform. It is best to avoid raising the contribution rate of social endowment insurance for enterprises and extending the retirement age may be a more reasonable way. Some scholars also believe that the flexible retirement system should be implemented, that is, different groups of people can choose their retirement time independently according to their job nature, health, economic status, family background, and employment intention, in order to meet the pursuit of retirement life quality. e flexible retirement policy is more recognized because it makes the labor market more flexible, and at the same time, it is conducive to the optimization of individual resource allocation and the stability of the economic environment.

ML and Model Building
4.1. ML. As science and technology have advanced, artificial intelligence techniques have been used more and more, and machine learning (ML) has always been the subject of people's attention as its primary component.
is article provides a definition of Hadoop based on ongoing research into the technology: To have a large number of high-growth message assets with better process optimization and discovery capabilities, Hadoop needs a new processing mode. e practical use of data mining techniques can advance social science and methodology, enhance people's capacity for message processing, and be extremely important in the information age. Hadoop has clear examples of the 4 Vs, which stand for low value density, large data capacity, diverse data types, and quick data processing. Previously, the traditional data mining algorithm involved optimising the ML algorithm using the dataset. It has been challenging for this traditional ML method to meet the demand for data mining in the current large amount of heterogeneous data due to the current aspects of collection, retrieval, storage, sharing, analysis, and processing. Learning is an essential human skill, and as technology has advanced, computers are now capable of gradually learning new things. e classical neural network model is shown in Figure 1.
One goal of learning enhancement is to obtain reward function. Reward function is usually a scalar, which is an evaluation of the concrete behavior of an entity. e general reward title is set to a positive number, whereas the scalar of punishment is negative. Reward functions are usually described as the following function: e gathering of parameters c has a great influence on the convergence speed of the algorithm. Generally speaking, the parameter c takes a value between 0 and 1.
T D(0): e update formula of algorithm value function is as follows: where α represents the learning factor, c represents the discount rate, V(S t ) represents the value function of the entity at time t and state S t , V(S t+1 ) represents the predicted state value function of the entity at time t + 1 and state S t+1 , and r t+1 represents the instantaneous reward value obtained after the entity transitions from state S t to state S t+1 after performing the behavior.
In order to improve its convergence speed, the T D(λ) algorithm is developed, which can roll back the instant reward value obtained by the entity by any step. T D(λ): e iterative formula of the algorithm is as follows: where e(S) indicates the degree of election in the state s, and λ represents a number between 0 and 1. When λ � 0, the algorithm degenerates to T D(0).
What is ML? By independently learning the rules present in a large amount of data and gaining new experience and knowledge, ML can increase computer intelligence and give computers decision-making abilities comparable to those of humans. Designing and examining various algorithms that give computers the ability to learn on their own is the main focus of machine learning theory. In general, a machine learning algorithm uses the laws it derives from data to predict unknown data after automatically analysing the data. In reality, data mining's limited data processing ability makes it more and more challenging to analyse data. Due to its interdisciplinary nature, machine learning algorithms are able to simulate human behavior and automatically pick up new skills and knowledge. e ability to analyse data can be significantly improved by applying ML algorithms to data mining. People can learn and imitate well, but the process of learning is very difficult. ML theory underlies this alleged procedure. e practise of using computer simulation techniques to study how humans learn, innovate on previously held knowledge, enhance analysis, and find answers to problems is known as machine learning (ML). e main goal of machine learning is to gain knowledge through extensive data analysis. e Hadoop technique has attracted the attention of an increasing number of experts in recent years. ML has developed quickly, thanks to the advancements in hardware technology, Hadoop's computing power, and storage capacity. e ability of computers and human brains to answer questions is still very different at this point in machine learning's development, which is still in its early stages. e ML technique is the main source for the study of learning mechanisms. In the current Hadoop environment, data analysis has drawn attention from a variety of industries. ML can absorb knowledge more quickly, which can successfully encourage the advancement of the machine technique. In the field of ML, reinforcement learning is a crucial algorithm. e reinforcement algorithm has the advantage of essentially not requiring prior knowledge of the environment as it learns the best course of action for the dynamic system under consideration based on perception of the surrounding environment and primarily corrects its own behavior strategy through trial and error.
With regard to ML, there are two main research directions in its improvement: the first is the study of the learning mechanism, which pays more attention to the exploration of human learning mechanism simulation. e second is the study of effective use of message, which focuses on finding and discovering valuable and cognizable potential knowledge from huge databases. e research direction of learning mechanism originated from the ML technique. With the advent of Hadoop environment, there is a strong demand for data analysis in all walks of life. ML can acquire knowledge more quickly, which makes ML become a booster for the improvement of the machine technique. e main purpose of ML is to get corresponding conclusions from data independently. e ML algorithm is mainly the process of solving the optimal solution of a question by mathematical and statistical methods. In the current Hadoop environment, how to adopt effective learning methods is the significance of ML at present, and ML will also become a widely respected and popular learning and service technique.

Model Building.
A country or society typically creates the old-age insurance system through mandatory legislation in accordance with its unique national circumstances. Workers will be guaranteed a minimal standard of living if they leave their jobs or reach the legal age for which they are required to perform compulsory labor, as specified by the applicable laws. ere are two fundamental market-based pension models: one involves providing home care for the elderly and the other involves enrolling in a social pension institution. ey both share service content that is marketoriented and socialised to start. Second, there are some differences between them in terms of how old-age resources are provided and how old-age care is provided. Urban employees' basic endowment insurance fund is split into individual and overall accounts. e structure diagram of the old-age insurance system is shown in Figure 2. Computational Intelligence and Neuroscience e overall account fund implements the pay-as-you-go system, that is, it pays retirees' pensions with the endowment insurance premiums paid by on-the-job employees in the same period, which has the function of income redistribution between generations. However, the personal account fund implements the full accumulation system, that is, individuals accumulate funds by saving during the whole employment period, and after retirement, they get all the interest income of the fund, which does not have the function of income redistribution between generations. e pension system structure is shown in Figure 3.
Social pooling specifically refers to the fact that in the same period, the pension fees paid by workers will be used for the pension collection of the retired elderly, which will be explained by the formula in the subsequent government departments. Moreover, considering that the source of social pooling is paid by enterprises, social pension pooling will not be included in individual behavior, but in corporate behavior.
Assuming that the salary of employees in the first year of employment is w, the annual growth rate of individual wages is g, the individual contribution rate is c(c � 8%), the employment period is m(m ≥ 15), the predetermined interest rate of individual account is i(i ≠ g), the average life expectancy is l, and the average retirement age is r and the payment time is at the beginning of each year, then the final value of each year's contribution at the end of employment is as follows.
e salary of an employee in the year before retirement can be expressed as w(1 − g) m− 1 . By . (12) e replacement rate of personal account pension is e goal of home-based care for the elderly is to mobilize all social forces and create a home-based care system that is most in line with the preferences of the elderly, places the family at its center, is supported by the community care service network, and is insured by the old-age insurance system. However, the institutional pension is entirely provided by society in terms of the funding source, the nature of the service, and the method of operation. is means that the financial support and life services for the elderly in their later years are provided by society, including pension, medical expenses, welfare expenses, relief expenses, and life care for the elderly, which are provided by social security   Living forms include nursing homes, nursing homes, and care for the elderly. It is characterized by centralized pension. e old-age insurance system is mainly about the management and operation of pensions, which are all based on mathematical knowledge and operated through actuarial management. e old-age insurance system is a comprehensive subject integrating economy, society, and management, involving many vital concepts. e construction of social welfare function is mainly based on the maximization of social welfare. As a policy maker, the government should draw up a retirement system with reference to this premise. e basic old-age insurance adopts the mode of unified accounting, which forms the "hidden debt" of the old-age insurance for various historical reasons. From Tables 1, 2, and 3 and Figures 7, 8 and 9, it can be seen that although the implementation of the two-child policy has improved the total fertility rate as a whole, the proportion of women of childbearing age continues to decline and China's population growth rate will slow down in the future. At the same time, the changing trend of the optimal retirement age is consistent with the population growth rate, so the optimal retirement age is positively related to the population growth rate.   In order to make up for the gap of endowment insurance fund, the government misappropriated the fund of individual account, resulting in serious deficit of individual account and a series of "mixed accounts" questions, which caused great concern of the state and provinces and cities. e principle of raising pension funds must follow the balance between collection and payment; in other words, the raising of pension funds should keep the basic financial balance with the payment of pension expenses according to regulations.      Computational Intelligence and Neuroscience

Conclusions
Many nations run the risk of widening the gap between income and pension expenditures as a result of the population's rapid aging. e average wage growth rate is a factor in both the income and expenditure models of the overall pension account. Raising the wage growth rate will raise the pension level for retirees while also raising the payment standard for employees who are still working. However, because the pension benefits received by retirees are only increased to the extent that the wages of the on-thejob employees have increased, after raising the average wage growth rate, the increased income of the pension fund is naturally higher than the expenditure, which not only significantly lessens the pressure on the pension fund's ability to make payments but also serves as an obvious buffer during the implementation of the deferred retirement policy. e ideal retirement age is a dynamic equilibrium age that depends on a variety of factors rather than being a fixed age. People who started working later and those who saved less early on tend to retire later, given the assumption that the ideal retirement age is earlier than the voluntary retirement age. is study's findings suggest that the ideal retirement age and life expectancy are positively correlated, with the ideal retirement age's growth rate 12.57 percent higher than that of life expectancy.

Data Availability
e data used to support the findings of this study are available from the corresponding author upon request.

Conflicts of Interest
e authors declare that there are no conflicts of interest.