A pharmaceutical brand promotion system and method
By building a pharmaceutical brand promotion system and using reinforcement learning and neural networks to simulate information dissemination, we have solved the problems of data acquisition and network effects in pharmaceutical promotion, achieved refined and personalized promotion strategies, and improved promotion efficiency and effectiveness.
Patent Information
- Application Number
- CN202310994205.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-09
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2043-08-09
AI Technical Summary
Existing pharmaceutical promotion methods have difficulties in data acquisition, processing and utilization, and ignore the network effects in the medical ecosystem, and cannot effectively utilize data and new technologies to achieve refined and personalized promotion strategies.
Adopting a pharmaceutical brand promotion system, by simulating the information dissemination process, using reinforcement learning algorithms and neural networks to automatically find the optimal promotion strategy, and combining the scores, geographical location and disease information of medical staff and patients to build a three-dimensional space network to optimize and sub-optimize medicines Brand data spreads communication factors in the communication network, maximizing the number of node passes to determine the promotion strategy.
It achieves refinement and personalization of pharmaceutical promotion, improves promotion efficiency and effectiveness, can automatically adapt to market changes, takes into account the network effect of the medical ecosystem, and reduces the difficulty and workload of strategy design.
Smart Images

Figure CN116883067B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data promotion, and in particular to a pharmaceutical brand promotion system and method. Background Art
[0002] With the development of society and the advancement of science and technology, the pharmaceutical industry plays an increasingly important role in the global economy. How to effectively promote pharmaceutical products to potential patients and medical professionals has become an important challenge facing pharmaceutical companies and related enterprises. Traditional pharmaceutical promotion mainly relies on advertising, face-to-face sales promotion by sales staff, and other marketing methods. However, with the development of new technologies such as big data and artificial intelligence, the way of promoting pharmaceuticals is also undergoing profound changes.
[0003] In recent years, some researchers and companies have begun to try to use data analysis and machine learning technologies to improve the promotion of pharmaceuticals. For example, by collecting and analyzing patients' health information, consumer behavior data, and data on social networks, patients' needs can be more accurately predicted, thereby customizing more effective marketing strategies. In addition, some companies are also trying to use machine learning algorithms, such as deep learning and reinforcement learning, to automatically optimize pharmaceutical promotion strategies.
[0004] However, existing technologies still have some problems. First, although data analysis can provide valuable insights, how to translate these insights into actual marketing actions remains a challenge. Second, existing machine learning methods usually require a large amount of data to be effective, which may be difficult to obtain in the pharmaceutical industry because the acquisition of medical data is often subject to strict regulations. In addition, these methods often assume that data is static, ignoring the changes in medical needs and behavior patterns over time.
[0005] In addition, existing drug promotion strategies often ignore the network effects in the medical ecosystem. In reality, medical professionals, patients, pharmaceutical companies, and other relevant parties are interconnected, and their behaviors influence each other. For example, a doctor's recommendation may affect a patient's drug choice, while a pharmaceutical company's marketing strategy may affect a doctor's recommendation behavior. Therefore, an effective drug promotion strategy needs to take this network effect into account.
[0006] In summary, existing methods for drug promotion have certain problems in data acquisition, processing and utilization, as well as in understanding and utilizing the network effects of the medical ecosystem. Therefore, a new method is urgently needed to more effectively utilize data and new technologies to solve these problems in drug promotion. Summary of the invention
[0007] The purpose of the present invention is to provide a pharmaceutical brand promotion system and method, which can effectively improve the refinement and personalization of pharmaceutical promotion by simulating the information dissemination process and automatically finding the optimal promotion strategy, while having higher promotion efficiency and effect.
[0008] In order to solve the above technical problems, the present invention provides a pharmaceutical brand promotion system and method, comprising:
[0009] A pharmaceutical brand promotion system, the system comprising: a pharmaceutical brand data entry part, a medical staff brand scoring part, a patient brand scoring part, a brand promotion communication network construction unit and a brand promotion unit; the pharmaceutical matching data entry part is configured to enter pharmaceutical brand data; the pharmaceutical brand data specifically includes: a pharmaceutical brand name and a brand ID that uniquely identifies the pharmaceutical brand name; the medical staff brand scoring part is configured to provide medical staff with scoring for the entered pharmaceutical brands, and each medical staff will enter the medical staff's age, geographical location and position when scoring; the patient The brand scoring part is configured to provide patients with scoring for the entered pharmaceutical brands. When scoring, each patient will enter the patient's age, geographical location and the disease he suffers; the brand promotion and communication network construction unit is configured to first analyze the results of the patient scoring and the medical staff scoring of the entered pharmaceutical brand data, specifically including: screening out pharmaceutical brand data whose patient scores and medical staff scores both exceed the set first threshold, screening out pharmaceutical brand data whose patient scores and medical staff scores are both lower than the set second threshold, and screening out pharmaceutical brand data whose patient scores exceed the set first threshold and medical staff scores are lower than the set second threshold The pharmaceutical brand data whose patient scores are lower than the second threshold and whose medical staff scores are higher than the first threshold are retained as the preferred pharmaceutical brand data, and the pharmaceutical brand data whose patient scores and medical staff scores are both within the interval consisting of the first threshold as the upper limit and the second threshold as the lower limit are retained as the sub-preferred pharmaceutical brand data; based on the patient age, patient geographic location and disease corresponding to each patient, each patient is mapped to a point in the three-dimensional space coordinate system, and based on the medical staff age, medical staff geographic location and medical staff position of each medical staff, each medical staff is mapped to a point in the three-dimensional space coordinate system. A point in the three-dimensional coordinate system is connected to all the points in the three-dimensional coordinate system as a propagation network; a brand promotion unit is configured to first use the preferred pharmaceutical brand data as a propagation factor, randomly select a starting node in the propagation network, and let the propagation factor propagate in the propagation network driven by the set propagation model, so that within the set time interval, the number of nodes passed by the propagation factor is the largest, and then record the propagation path of the propagation factor as a brand promotion strategy to carry out brand promotion. After the preferred pharmaceutical brand data are processed, the above process is repeated for the second preferred pharmaceutical brand data to carry out brand promotion.
[0010] Furthermore, the process of mapping each patient to a point in the three-dimensional space coordinate system based on the patient's age, geographic location and disease corresponding to each patient specifically includes: taking the patient's age as the X-axis coordinate, and the average of the longitude and latitude of the patient's geographic location as the Y-axis coordinate; assigning a uniquely identified disease value to the disease as the Z-axis coordinate; different disease values have different corresponding disease values.
[0011] Furthermore, the process of mapping each medical staff member to a point in the three-dimensional space coordinate system based on the medical staff member's age, geographical location and position of each medical staff member specifically includes: taking the medical staff member's age as the X-axis coordinate, and the average of the longitude and latitude of the medical staff's geographical location as the Y-axis coordinate; assigning a uniquely identified position value to the medical staff position as the Z-axis coordinate; different medical staff positions have different corresponding position values.
[0012] Furthermore, the brand promotion unit uses the preferred pharmaceutical brand data as a propagation factor, randomly selects a starting node in the propagation network, and allows the propagation factor to propagate in the propagation network under the drive of a set propagation model, so that within a set time interval, the number of nodes passed by the propagation factor is the largest. The method includes:
[0013] Step S1: define state representation: map each medical staff and patient to a point in a three-dimensional space coordinate system, and state s is represented as (x, y, z), where x represents age, y represents geographic location, for medical staff, z represents position, and for patients, z represents the disease;
[0014] Step S2: define the action space: randomly select a starting node in the propagation network, use the preferred pharmaceutical brand data as the propagation factor M; and propagate under the drive of the set propagation model; wherein, define action a as the promotion value when the propagation factor M reaches a certain node in the propagation network; and define the set time interval as T; the promotion value is defined as the number of other nodes in the circular area covered with the node as the center and the set threshold as the radius multiplied by the node weight; when the node is a node mapped by a medical staff, the node weight is A; when the node is a node mapped by a patient, the node weight is B;
[0015] Step S3: Define the reward function r(s,α,M): The reward function r(s,a,M) measures the effect of the propagation factor M after executing action a in state s;
[0016] Step S4: Define the Q-value function: The Q-value function Q(s,a,M) represents the expected cumulative reward that the propagation factor M can obtain after executing action a in state s; use a neural network to estimate the Q-value function, expressed as Q(s,α,M;θ), where θ is the parameter of the neural network;
[0017] Step S5: After collecting the state-action-reward sequence within the set time T, an experience replay buffer is formed; then, the DQN algorithm is used to update the parameters θ of the neural network to minimize the mean square error between the Q value function and the target Q value function; at this time, the number of nodes through which the propagation factor passes is the largest.
[0018] Furthermore, the target Q value function is expressed using the following formula:
[0019]
[0020] Among them, s' represents the next state after executing action a, θ - represents the parameters of the target neural network, γ is the discount factor used to balance the importance of immediate rewards and future rewards; Q target (s,a,M) is the target Q value function; a' is the next action; p propagates the network complexity.
[0021] Furthermore, in step S5, when the DQN algorithm is used to update the parameter θ of the neural network to minimize the mean square error between the Q value function and the target Q value function, the mean square error is expressed using the following formula:
[0022]
[0023] in, is the mean square error, s i ,a i ,r(s i ,a i , M) represents the state-action-reward sequence within the set time T in the experience replay buffer, N is the size of the buffer; i is the subscript number, the value is a positive integer, and the initial value is 1.
[0024] Furthermore, the update formula of the Q value function Q(s,a,M) is:
[0025]
[0026] Among them, α is the learning rate, which is used to control the step size of the update.
[0027] Furthermore, when the node is a node mapped by a medical staff, the node weight A is equal to 0.6; when the node is a node mapped by a patient, the node weight B is 0.4; and the propagation factor M is represented by the brand ID of each pharmaceutical brand data.
[0028] Furthermore, the calculation formula of the propagation network complexity is:
[0029] p = L*(|lg(Pa)|-1)*exp(Do);
[0030] Among them, L is the total number of nodes in the communication network; Pa is the number of nodes mapped by patients; Do is the number of nodes mapped by medical staff.
[0031] A method for promoting medicine, comprising:
[0032] Enter pharmaceutical brand data; the pharmaceutical brand data specifically includes: a pharmaceutical brand name and a brand ID that uniquely identifies the pharmaceutical brand name; medical staff scores the entered pharmaceutical brands, and each medical staff will enter the medical staff's age, geographical location and position when scoring; patients score the entered pharmaceutical brands, and each patient will enter the patient's age, geographical location and the disease they suffer from when scoring; firstly, the entered pharmaceutical brand data is analyzed based on the patient's scoring results and the medical staff's scoring results, specifically including: screening out pharmaceutical brand data whose patient scores and medical staff scores both exceed a set first threshold, screening out pharmaceutical brand data whose patient scores and medical staff scores are both lower than a set second threshold, retaining pharmaceutical brand data whose patient scores exceed the set first threshold and medical staff scores are lower than the set second threshold, or whose patient scores are lower than the second threshold and medical staff scores exceed the first threshold, as preferred pharmaceutical brand data, and screening out pharmaceutical brand data whose patient scores and medical staff scores both exceed a set first threshold and medical staff scores are lower than a set second threshold. The pharmaceutical brand data whose scores are scored by medical staff within the interval consisting of the first threshold as the upper limit and the second threshold as the lower limit are retained as sub-optimal pharmaceutical brand data; based on the patient age, patient geographical location and disease corresponding to each patient, each patient is mapped to a point in the three-dimensional space coordinate system, and based on the medical staff age, medical staff geographical location and medical staff position of each medical staff, each medical staff is mapped to a point in the three-dimensional space coordinate system, and all points in the three-dimensional space coordinate system are connected as a propagation network; first, the preferred pharmaceutical brand data is used as a propagation factor, and a starting node is randomly selected in the propagation network, and the propagation factor is driven by the set propagation model to propagate in the propagation network, so that within the set time interval, the number of nodes passed by the propagation factor is the largest, and the propagation path of the propagation factor is recorded as a brand promotion strategy for brand promotion. After the preferred pharmaceutical brand data are processed, the above process is repeated for the sub-optimal pharmaceutical brand data for brand promotion.
[0033] The pharmaceutical brand promotion system and method of the present invention have the following beneficial effects:
[0034] First, the present invention transforms the pharmaceutical brand promotion problem into a reinforcement learning problem by defining state representation, action space, reward function and Q-value function. This transformation allows us to use reinforcement learning algorithms to automatically find the optimal promotion strategy without artificially setting complex rules or performing a large amount of manual tuning. This not only greatly reduces the difficulty and workload of promotion strategy design, but also enables the promotion strategy to better adapt to changes in the market environment.
[0035] Secondly, the present invention uses a neural network to estimate the Q-value function, which can effectively process high-dimensional and continuous state space and action space. This means that our promotion model can handle a variety of complex factors including age, geographic location, position, disease, etc., making the promotion strategy more refined and personalized. At the same time, the parameters of the neural network are updated through experience replay and DQN algorithm, which can effectively solve the sample efficiency problem and non-stationary problem in reinforcement learning.
[0036] Thirdly, the present invention takes into account the network effect in the promotion of pharmaceuticals. The propagation of the propagation factor in the network simulates the diffusion process of pharmaceutical information in the medical ecosystem, and the setting of the mapping node weights of medical staff and patients reflects their importance and influence in the network. This consideration of network effects makes our promotion strategy more in line with the actual situation of the medical ecosystem. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.
[0038] Figure 1 A schematic diagram of the system structure of a pharmaceutical brand promotion system provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0039] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0040] Embodiment 1: A pharmaceutical brand promotion system, the system comprising: a pharmaceutical brand data entry part, a medical staff brand scoring part, a patient brand scoring part, a brand promotion communication network construction unit and a brand promotion unit; the pharmaceutical matching data entry part is configured to enter pharmaceutical brand data; the pharmaceutical brand data specifically includes: a pharmaceutical brand name and a brand ID that uniquely identifies the pharmaceutical brand name; the medical staff brand scoring part is configured to provide medical staff with scoring for the entered pharmaceutical brands, and each medical staff will enter the medical staff's age, medical staff's geographical location and medical staff's position when scoring. The patient brand scoring part is configured to provide patients with scoring of the entered pharmaceutical brands. When scoring, each patient will enter the patient's age, geographical location and the disease he suffers; the brand promotion and communication network construction unit is configured to first analyze the results of the patient scoring and the medical staff scoring of the entered pharmaceutical brand data, specifically including: screening out pharmaceutical brand data whose patient scores and medical staff scores both exceed the set first threshold, screening out pharmaceutical brand data whose patient scores and medical staff scores are both lower than the set second threshold, and screening out pharmaceutical brand data whose patient scores exceed the set first threshold and medical staff scores The pharmaceutical brand data with a score lower than the set second threshold, or the patient score lower than the second threshold, and the medical staff score higher than the first threshold are retained as the preferred pharmaceutical brand data, and the pharmaceutical brand data with both the patient score and the medical staff score within the interval consisting of the first threshold as the upper limit and the second threshold as the lower limit are retained as the sub-preferred pharmaceutical brand data; based on the patient age, patient geographic location and disease corresponding to each patient, each patient is mapped to a point in the three-dimensional space coordinate system, and based on the medical staff age, medical staff geographic location and medical staff position of each medical staff, each medical staff is mapped to a point in the three-dimensional space coordinate system. A point in the spatial coordinate system connects all the points in the three-dimensional spatial coordinate system as a communication network; a brand promotion unit is configured to first use the preferred pharmaceutical brand data as a communication factor, randomly select a starting node in the communication network, and let the communication factor propagate in the communication network driven by the set communication model, so that within the set time interval, the number of nodes passed by the communication factor is the largest, and then record the path of the propagation of the communication factor as a brand promotion strategy to carry out brand promotion. After the preferred pharmaceutical brand data are processed, the above process is repeated for the second preferred pharmaceutical brand data to carry out brand promotion.
[0041] Specifically, for pharmaceutical brands, if a pharmaceutical brand is highly evaluated by patients and medical staff, it means that this pharmaceutical brand no longer needs to be promoted. Therefore, the present invention sets two thresholds for judgment and screening. If a pharmaceutical brand is evaluated low by both patients and medical staff, this brand is not worth promoting. Through threshold screening, pharmaceutical brands with promotion value can be well screened out, thereby improving the effect of promotion.
[0042] The system starts by randomly selecting a node in the communication network and letting the preferred pharmaceutical brand data spread in the network as a communication factor. The path with the most nodes passed by the communication factor within the set time interval is recorded as a brand promotion strategy. This method is based on social network theory and believes that the spread of information in social networks is a complex process. By simulating this process, the optimal promotion path can be found.
[0043] The promotion of pharmaceutical brands is considered as an information dissemination process in the communication network, and the theory and methods of data science are used to manage and process data, making the promotion activities more accurate and effective. In addition, by using thresholds for data screening, the influence of extreme data on the evaluation results can be avoided, and the fairness and accuracy of the evaluation can be improved.
[0044] Example 2: Based on the previous example, the process of mapping each patient to a point in a three-dimensional space coordinate system based on the patient's age, geographic location and the disease they suffer from includes: taking the patient's age as the X-axis coordinate, and the average of the longitude and latitude of the patient's geographic location as the Y-axis coordinate; assigning a uniquely identified disease value to the disease as the Z-axis coordinate; different diseases have different corresponding disease values.
[0045] Example 3: Based on the previous example, the process of mapping each medical staff member to a point in a three-dimensional space coordinate system based on the medical staff member's age, geographical location and position of each medical staff member specifically includes: taking the medical staff member's age as the X-axis coordinate, and the average of the longitude and latitude of the medical staff member's geographical location as the Y-axis coordinate; assigning a uniquely identified position value to the medical staff member's position as the Z-axis coordinate; different medical staff positions have different corresponding position values.
[0046] Specifically, this method can be seen as a feature engineering process. Feature engineering is the process of converting raw data into features that better reflect its underlying structure, and is often used to improve the performance of machine learning algorithms. In this case, the age, geographic location, and disease or position of patients and medical staff are extracted as representatives of their positions in three-dimensional space. This can better capture their main characteristics and facilitate subsequent analysis and processing.
[0047] Connecting these dots, a complex network is formed. This network can be used to simulate and understand the dissemination pattern of pharmaceutical brands in society. Therefore, this method can help find the most effective promotion strategy to increase the awareness and acceptance of pharmaceutical brands.
[0048] Embodiment 4: Based on the previous embodiment, the brand promotion unit uses the preferred pharmaceutical brand data as a propagation factor, randomly selects a starting node in the propagation network, and allows the propagation factor to propagate in the propagation network under the drive of a set propagation model, so that within a set time interval, the number of nodes passed by the propagation factor is the largest. The method includes:
[0049] Step S1: define state representation: map each medical staff and patient to a point in a three-dimensional space coordinate system, and state s is represented as (x, y, z), where x represents age, y represents geographic location, for medical staff, z represents position, and for patients, z represents the disease;
[0050] Step S2: define the action space: randomly select a starting node in the propagation network, use the preferred pharmaceutical brand data as the propagation factor M; and propagate under the drive of the set propagation model; wherein, define action a as the promotion value when the propagation factor M reaches a certain node in the propagation network; and define the set time interval as T; the promotion value is defined as the number of other nodes in the circular area covered with the node as the center and the set threshold as the radius multiplied by the node weight; when the node is a node mapped by a medical staff, the node weight is A; when the node is a node mapped by a patient, the node weight is B;
[0051] Step S3: Define the reward function r(s,α,M): The reward function r(s,a,M) measures the effect of the propagation factor M after executing action a in state s;
[0052] Step S4: Define the Q-value function: The Q-value function Q(s,a,M) represents the expected cumulative reward that the propagation factor M can obtain after executing action a in state s; use a neural network to estimate the Q-value function, expressed as Q(s,α,M;θ), where θ is the parameter of the neural network;
[0053] Step S5: After collecting the state-action-reward sequence within the set time T, an experience replay buffer is formed; then, the DQN algorithm is used to update the parameters θ of the neural network to minimize the mean square error between the Q value function and the target Q value function; at this time, the number of nodes through which the propagation factor passes is the largest.
[0054] Specifically, the brand promotion problem is transformed into a reinforcement learning problem. Reinforcement learning is a type of machine learning, and its goal is to allow the agent to learn the optimal behavior strategy through interaction with the environment. In this problem, the agent is the pharmaceutical brand, the environment is the network of medical staff and patients, the state is the position of the agent in the environment, the action is the promotional activity that the agent can perform at each position, and the reward is the effect of each action. Through learning, the agent can find a strategy that maximizes the number of nodes that the propagation factor passes through within a set time interval, thereby maximizing the effect of brand promotion.
[0055] Reinforcement learning is an important branch of machine learning, in which an intelligent agent (here, a pharmaceutical branding system) learns and optimizes its behavioral strategies by interacting with the environment (here, a network of medical staff and patients).
[0056] Step S1 uses the age, geographic location, job title or illness of medical staff and patients to map them to points in three-dimensional space and define the state s. This state representation method helps to explore the individual characteristics of medical staff and patients and the relationship between them, providing the possibility for the precise promotion of pharmaceutical brands.
[0057] In step S2, action a is defined as the promotion value when the propagation factor M reaches a certain node in the propagation network. This setting essentially regards the promotion process of pharmaceutical brands as a decision-making process: in each state, the system needs to decide what promotion strategy (i.e. action) to adopt to maximize its promotion effect (i.e. reward).
[0058] The reward function r(s,a,M) in step S3 measures the effect of the propagation factor M after executing action a in state s. This effect may include but is not limited to the breadth of the propagation range, the depth of influence, etc. The reward function is a key component in reinforcement learning. By optimizing the reward function, the system can learn to adopt more effective promotion strategies.
[0059] In step S4, the Q-value function Q(s,a,M) represents the expected cumulative reward that can be obtained by propagating factor M after executing action a in state s. The Q-value function plays a key role in reinforcement learning, which can help the system evaluate and select the optimal action. Here, the Q-value function is estimated through a neural network, so that the system can better adapt to complex real environments.
[0060] In step S5, the system first collects data over a period of time, and then optimizes the parameters of the neural network by applying the deep Q network (DQN) algorithm to minimize the mean square error between the Q value function and the target Q value function. This process is based on two reinforcement learning techniques, experience replay and Q learning, and aims to achieve a more effective learning process and improve the promotion effect of the system.
[0061] Embodiment 5: Based on the previous embodiment, the target Q value function is expressed using the following formula:
[0062]
[0063] Among them, s' represents the next state after executing action a, θ - represents the parameters of the target neural network, γ is the discount factor used to balance the importance of immediate rewards and future rewards; Q target (s,a,M) is the target Q value function; a' is the next action; p propagates the network complexity.
[0064] This formula is based on the Bellman equation in reinforcement learning, which describes the reward value (that is, Q value) that an agent can expect to obtain after performing action a in state s. Among them, r(s,a,M) is the current instant reward, γ is the discount factor used to balance the current reward and future rewards, and max a' Q(s',a',M;θ - ) is the maximum Q value under the future state s'. Here, exp(p) represents the complexity of the propagation network. The higher the complexity, the greater the impact on the current reward r(s,a,M).
[0065] Specifically, in the context of pharmaceutical brand promotion, the complexity of the communication network may have an impact on the promotion effect. For example, if the network is very complex, the dissemination of information may be more difficult. Therefore, by introducing this complexity factor, the model can better adapt to complex communication environments.
[0066] From this formula, we can see that in the process of determining actions, the system will not only consider the current reward and the expected reward in the future, but also the complexity of the communication network. This enables the system to better handle the particularities of pharmaceutical brand promotion. For example, different medical staff and patients may have different ways and efficiencies in receiving information, which is reflected by the network complexity factor p.
[0067] In addition, the parameters θ of the target neural network are also used in this formula -, which is a common technique in deep Q learning (DQN), called "fixed Q target". During training, in order to increase stability, a fixed, delayed update target network is used to calculate the target Q value.
[0068] Embodiment 6: Based on the previous embodiment, in step S5, the DQN algorithm is used to update the parameter θ of the neural network to minimize the mean square error between the Q value function and the target Q value function. The mean square error is expressed using the following formula:
[0069]
[0070] in, is the mean square error, s i ,a i ,r(s i ,a i , M) represents the state-action-reward sequence within the set time T in the experience replay buffer, N is the size of the buffer; i is the subscript number, the value is a positive integer, and the initial value is 1.
[0071] Specific,definition: First, s i ,a i ,r(s i ,a i , M) represents the state-action-reward sequence sampled from the experience replay buffer, which is collected in the past time step T. The size of the buffer is N, and i is the subscript number representing this data.
[0072] This formula is the loss function in neural network training and is used in the DQN algorithm in reinforcement learning in this invention. In this formula, we try to minimize the predicted Q value Q(s i ,a i ,M;θ) and the target Q value Q target (s i ,a i ,M), multiplied by the corresponding reward r(s i ,a i ,M). The sum of squared errors is then averaged (by dividing by N) and multiplied by the time T to get the final loss function.
[0073] Calculate the predicted Q value and target Q value: Use the neural network to calculate the current state-action pair s i ,a i The predicted Q value Q(s i ,a i ,M;θ), and already have the target Q value Q calculated previously target (s i ,a i,M).
[0074] Calculate the error: Next, calculate the error between the predicted Q value and the target Q value and square the error. This ensures that the error is always positive and gives a larger penalty for larger errors.
[0075] Calculate the average error: Then, calculate the average of the errors of all the data in the experience replay buffer and multiply it by the number of time steps T. This takes into account that the model may be more sensitive to the error at different time steps.
[0076] Update neural network parameters: Finally, use gradient descent or other optimization algorithms to minimize this loss function to update the neural network parameters θ.
[0077] This process is a key part of the deep Q-learning algorithm, and its purpose is to allow the neural network to better approximate the Q-value function, so that the pharmaceutical brand promotion system can better choose actions and achieve more effective promotion.
[0078] Embodiment 7: Based on the previous embodiment, the update formula of the Q value function Q(s, a, M) is:
[0079]
[0080] Among them, α is the learning rate, which is used to control the step size of the update.
[0081] Specifically, in Q-learning, the purpose of this formula is to update the Q value by taking into account the current reward and the expected future reward. Here α is the learning rate, which is a hyperparameter used to control the step size of each update of the Q value. A higher learning rate means that the model will learn more information in a single step update, while a lower learning rate will make the learning process smoother but may require more time steps to converge. γ is a discount factor that determines the importance of future rewards. If γ is close to 1, the model will attach more importance to future rewards, and if γ is smaller, the model will attach more importance to immediate rewards.
[0082] Example 8: Based on the previous example, when the node is a node mapped by medical staff, the node weight A is equal to 0.6; when the node is a node mapped by patients, the node weight B is 0.4; the propagation factor M is represented by the brand ID of each pharmaceutical brand data.
[0083] Specifically, the weight value is a strategy used to determine the importance of different types of nodes in the communication network. The node weight of medical staff is set to 0.6, while the node weight of patients is set to 0.4, which means that medical staff are more important than patients in this promotion strategy. This may be because medical staff can directly influence the medical decisions of more patients, so they are given higher weights. The communication factor M is defined as the brand ID of each pharmaceutical brand data, which means that each brand has its own unique identifier, which will help identify and track different brands during the promotion process.
[0084] Embodiment 9: Based on the previous embodiment, the calculation formula of the propagation network complexity is:
[0085] p = L*(|lg(Pa)|-1)*exp(Do);
[0086] Among them, L is the total number of nodes in the communication network; Pa is the number of nodes mapped by patients; Do is the number of nodes mapped by medical staff.
[0087] Specifically, L: This is the total number of nodes in the propagation network, which usually indicates the scale of the network. The larger the scale, the greater the complexity.
[0088] |lg(Pa)|-1: This part is based on the number of nodes Pa mapped by the patient, and is obtained through logarithmic transformation and linear transformation. Logarithmic transformation is often used to deal with extremely uneven distribution, which can reduce the distance between the maximum and minimum values, making the model more robust.
[0089] exp(Do): This part is the mapping of the exponential function to the number of nodes Do mapped by medical personnel. Due to the characteristics of the exponential function, when Do increases, the complexity p will increase rapidly. Because medical personnel play a key role in the promotion of pharmaceuticals, their increase will greatly increase the complexity of the network.
[0090] In general, this formula combines the total number of nodes, the number of patient nodes, and the number of medical staff nodes in the network, and calculates the complexity of the communication network through a series of mathematical transformations. In the context of pharmaceutical brand promotion, this complexity can help understand the difficulty of promotion information spreading in the network, so as to better design and adjust the promotion strategy.
[0091] Embodiment 10: A method for promoting medicine, comprising:
[0092] Enter pharmaceutical brand data; the pharmaceutical brand data specifically includes: a pharmaceutical brand name and a brand ID that uniquely identifies the pharmaceutical brand name; medical staff scores the entered pharmaceutical brands, and each medical staff will enter the medical staff's age, geographical location and position when scoring; patients score the entered pharmaceutical brands, and each patient will enter the patient's age, geographical location and the disease they suffer from when scoring; firstly, the patient scoring results and the medical staff scoring results of the entered pharmaceutical brand data are analyzed, specifically including: screening out pharmaceutical brand data whose patient scores and medical staff scores both exceed a set first threshold, screening out pharmaceutical brand data whose patient scores and medical staff scores are both lower than a set second threshold, retaining pharmaceutical brand data whose patient scores exceed the set first threshold and medical staff scores are lower than the set second threshold, or whose patient scores are lower than the second threshold and medical staff scores exceed the first threshold, as preferred pharmaceutical brand data, and screening out pharmaceutical brand data whose patient scores and medical staff scores both exceed a set first threshold and medical staff scores are lower than a set second threshold. The pharmaceutical brand data whose scores are scored by medical staff within the interval consisting of the first threshold as the upper limit and the second threshold as the lower limit are retained as sub-optimal pharmaceutical brand data; based on the patient age, patient geographical location and disease corresponding to each patient, each patient is mapped to a point in the three-dimensional space coordinate system, and based on the medical staff age, medical staff geographical location and medical staff position of each medical staff, each medical staff is mapped to a point in the three-dimensional space coordinate system, and all points in the three-dimensional space coordinate system are connected as a propagation network; first, the preferred pharmaceutical brand data is used as a propagation factor, and a starting node is randomly selected in the propagation network, and the propagation factor is driven by the set propagation model to propagate in the propagation network, so that within the set time interval, the number of nodes passed by the propagation factor is the largest, and the propagation path of the propagation factor is recorded as a brand promotion strategy for brand promotion. After the preferred pharmaceutical brand data are processed, the above process is repeated for the sub-optimal pharmaceutical brand data for brand promotion.
[0093] The various embodiments in the specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part description.
[0094] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0095] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
[0096] The present invention is described in detail above. Specific examples are used herein to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. It should be pointed out that for ordinary technicians in this technical field, without departing from the principle of the present invention, several improvements and modifications can be made to the present invention, and these improvements and modifications also fall within the scope of protection of the claims of the present invention.
Claims
1. A pharmaceutical brand promotion system, It is characterized in that The system includes: a pharmaceutical brand data entry part, a medical staff brand scoring part, a patient brand scoring part, a brand promotion and dissemination network construction unit and a brand promotion unit; the pharmaceutical brand data entry part is configured to enter pharmaceutical brand data; the pharmaceutical brand data specifically includes: a pharmaceutical brand name and a brand ID that uniquely identifies the pharmaceutical brand name; the medical staff brand scoring part is configured to provide medical staff with scoring for the entered pharmaceutical brands, and each medical staff will enter the medical staff's age, geographical location and position when scoring; the patient brand scoring part is configured to provide medical staff with scoring for the entered pharmaceutical brands, and the ...; the patient brand scoring part is configured to provide medical staff with scoring for the entered pharmaceutical brands. The device is used to provide patients with scores for the entered pharmaceutical brands. When scoring, each patient will enter the patient's age, geographical location and the disease he suffers; the brand promotion and communication network construction unit is configured to first analyze the results of the patient scoring and the medical staff scoring of the entered pharmaceutical brand data, specifically including: screening out pharmaceutical brand data whose patient scores and medical staff scores both exceed the set first threshold, screening out pharmaceutical brand data whose patient scores and medical staff scores are both lower than the set second threshold, and screening out pharmaceutical brand data whose patient scores exceed the set first threshold and medical staff scores are lower than the set second threshold value, or the patient score is lower than the second threshold, and the medical staff score exceeds the first threshold, the medical brand data is retained as the preferred medical brand data, and the medical brand data whose patient scores and medical staff scores are both within the interval consisting of the first threshold as the upper limit and the second threshold as the lower limit is retained as the sub-preferred medical brand data; based on the patient age, patient geographical location and disease corresponding to each patient, each patient is mapped to a point in the three-dimensional space coordinate system, based on the medical staff age, medical staff geographical location and medical staff position of each medical staff, each medical staff is mapped to a point in the three-dimensional space coordinate system, and all points in the three-dimensional space coordinate system are connected as a propagation network; a brand promotion unit is configured to first use the preferred medical brand data as a propagation factor, randomly select a starting node in the propagation network, and let the propagation factor propagate in the propagation network under the drive of the set propagation model, so that within the set time interval, the number of nodes passed by the propagation factor is the largest, then record the propagation path of the propagation factor as a brand promotion strategy, and carry out brand promotion. After the preferred medical brand data are all processed, the above process is repeated for the sub-preferred medical brand data to carry out brand promotion; The brand promotion unit uses the preferred pharmaceutical brand data as a propagation factor, randomly selects a starting node in the propagation network, and allows the propagation factor to propagate in the propagation network under the drive of a set propagation model, so that within a set time interval, the number of nodes passed by the propagation factor is the largest. The method includes: Step S1: define state representation: map each medical staff and patient to a point in a three-dimensional space coordinate system, and state s is represented as (x, y, z), where x represents age, y represents geographic location, for medical staff, z represents position, and for patients, z represents the disease; Step S2: define the action space: randomly select a starting node in the propagation network, use the preferred pharmaceutical brand data as the propagation factor M; and propagate under the drive of the set propagation model; wherein, define action a as the promotion value when the propagation factor M reaches a certain node in the propagation network; and define the set time interval as T; the promotion value is defined as the number of other nodes in the circular area covered with the node as the center and the set threshold as the radius multiplied by the node weight; when the node is a node mapped by a medical staff, the node weight is A; when the node is a node mapped by a patient, the node weight is B; Step S3: Define the reward function r(s,a,M): The reward function r(s,a,M) measures the effect of the propagation factor M after executing action a in state s; Step S4: Define the Q-value function: The Q-value function Q(s,a,M) represents the expected cumulative reward that the propagation factor M can obtain after executing action a in state s; use a neural network to estimate the Q-value function, expressed as Q(s,a,M;θ), where θ is the parameter of the neural network; Step S5: After collecting the state-action-reward sequence within the set time T, an experience replay buffer is formed; then, the DQN algorithm is used to update the parameters θ of the neural network to minimize the mean square error between the Q value function and the target Q value function; at this time, the number of nodes through which the propagation factor passes is the largest.
2. The pharmaceutical brand promotion system according to claim 1, It is characterized in that The process of mapping each patient to a point in a three-dimensional space coordinate system based on the patient's age, geographic location and illness corresponding to each patient specifically includes: taking the patient's age as the X-axis coordinate, and the average of the longitude and latitude of the patient's geographic location as the Y-axis coordinate; assigning a uniquely identified symptom value to the illness as the Z-axis coordinate; different symptom values correspond to different illnesses.
3. The pharmaceutical brand promotion system according to claim 2, It is characterized in that The process of mapping each medical staff member to a point in the three-dimensional space coordinate system based on the medical staff member's age, geographical location and position of each medical staff member specifically includes: taking the medical staff member's age as the X-axis coordinate, and the average of the longitude and latitude of the medical staff's geographical location as the Y-axis coordinate; assigning a uniquely identified position value to the medical staff position as the Z-axis coordinate; different medical staff positions have different corresponding position values.
4. The pharmaceutical brand promotion system according to claim 3, It is characterized in that The target Q value function is expressed using the following formula: Among them, s' represents the next state after executing action a, θ - represents the parameters of the target neural network, γ is the discount factor used to balance the importance of immediate rewards and future rewards; Q target (s,a,M) is the target Q value function; a' is the next action; p propagates the network complexity.
5. The pharmaceutical brand promotion system according to claim 4, It is characterized in that In step S5, when the DQN algorithm is used to update the parameter θ of the neural network to minimize the mean square error between the Q value function and the target Q value function, the mean square error is expressed using the following formula: in, is the mean square error, s i ,a i ,r(s i ,a i , M) represents the state-action-reward sequence within the set time T in the experience replay buffer, N is the size of the buffer; i is the subscript number, the value is a positive integer, and the initial value is 1.
6. The pharmaceutical brand promotion system according to claim 5, It is characterized in that The update formula of the Q value function Q(s,a,M) is: Among them, α is the learning rate, which is used to control the step size of the update.
7. The pharmaceutical brand promotion system according to claim 6, It is characterized in that When the node is a node mapped by a medical staff, the node weight A is equal to 0.6; when the node is a node mapped by a patient, the node weight B is 0.4; the propagation factor M is represented by the brand ID of each pharmaceutical brand data.
8. The pharmaceutical brand promotion system according to claim 7, It is characterized in that The calculation formula of the propagation network complexity is: p = L*(|lg(Pa)|-1)*exp(Do); Among them, L is the total number of nodes in the communication network; Pa is the number of nodes mapped by patients; Do is the number of nodes mapped by medical staff.
