Dynamic decision-making method for human augmented feedback scheme based on deep reinforcement learning

By combining deep reinforcement learning and multi-sensory feedback, the problem of insufficient intelligence and flexibility of existing tennis training devices is solved, intelligent and personalized real-time feedback of tennis training devices is realized, and the training effect is improved.

CN118356626BInactive Publication Date: 2024-08-27JILIN UNIVERSITY
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410789088.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-19
Publication Date
2024-08-27
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

It is difficult for existing tennis training devices to make full use of intelligent means. The training devices have poor intelligence and cannot dynamically adjust the sensory feedback mode according to the characteristics of the trainer, resulting in poor training effects and low flexibility and intelligence.

Method used

The human body enhanced feedback scheme based on deep reinforcement learning is used to train the control strategy of the tennis training device through the Markov decision-making process and the deep deterministic policy gradient algorithm. It is combined with reminder light strips, electrical stimulation devices and mechanical auxiliary devices to achieve dynamic decision-making and multi-function Sensory feedback interaction model.

Benefits of technology

It improves the intelligence and scientificity of the training device, realizes dynamic decision-making of real-time feedback solutions, enhances the personalization and real-time nature of the training effect, and solves the problem of lack of dynamic adjustment of real-time motion data in traditional training.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118356626B
    Figure CN118356626B
Patent Text Reader

Abstract

The present invention relates to a dynamic decision method for a human enhanced feedback scheme based on deep reinforcement learning, which belongs to the field of deep learning technology and solves the problems of low intelligence, poor flexibility and low utilization of sensory feedback in existing tennis training methods. The method first obtains a number of conversion tuples and stores them in a replay buffer, and then uses a deep deterministic policy gradient algorithm to construct two deep neural networks to generate the optimal action strategy network and action-value evaluation network in a continuous space, defines the absolute value of the difference between the theoretical maximum batting speed of the trainee and the actual maximum batting speed of the trainee calculated according to the motion theory as a reward function, trains the network, and obtains the optimal device control strategy for maximizing the reward. The present invention combines the human motion data during the training process to make the tennis training device intelligent, and can realize dynamic decision-making of the real-time feedback scheme of the tennis training device according to the training effect of the trainee, with stronger real-time performance.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of deep learning technology, and in particular to a dynamic decision-making method for a human body enhanced feedback scheme based on deep reinforcement learning. Background Art

[0002] Among many sports, tennis is a sport that is both competitive, safe, and social. The tennis hitting action requires players to fully coordinate the spatial posture and force sequence of various parts of the human body in a very short time. Scientific action guidance can quickly improve the level of trainees. Unreasonable training methods not only waste time, but also make trainees develop bad habits and even cause sports injuries. In order to better achieve autonomous training, a variety of tennis training devices are constantly emerging, such as: tennis automatic serving machines, tennis fighting devices, and tennis fighting robots. Researchers have found that the efficient combination of sensory information obtained from the feedback of various sensory organs in the human body is conducive to improving the perception and cognitive ability of performance, memory, and learning tasks, and enhancing the training effect. Researchers usually use vision or touch to provide macroscopic prompts for incorrect actions and guide correct actions during training to enhance training efficiency.

[0003] Although existing tennis training methods take into account a variety of sensory information from the human body, it is difficult to fully utilize intelligent means (such as deep reinforcement learning) to empower training devices. The intelligence of training devices is poor, and most of them can only perform fixed-mode serves. They do not take into account the diversity of sensory information and the rationality of cognitive load distribution during the learning process. In addition, they lack sufficient and reasonable use of motion information, and do not dynamically and in real time adjust the feedback and correction prompts for incorrect movements. They cannot adjust the parameters of various sensory feedback devices in real time according to the training effects of the trainees, resulting in low intelligence and poor flexibility of the training devices, low utilization of sensory feedback, and difficulty in changing the sensory feedback mode according to the characteristics of different trainees to provide effective sensory information. Summary of the invention

[0004] In view of the above-mentioned problems existing in the existing tennis training methods and devices, the present invention provides a dynamic decision-making method for a human enhanced feedback scheme based on deep reinforcement learning.

[0005] To solve the above problems, the present invention adopts the following technical solutions:

[0006] A dynamic decision method for a human enhanced feedback scheme based on deep reinforcement learning, the method is used for a tennis training device, the tennis training device includes a prompt light belt, an electric stimulation device, a mechanical auxiliary device and a digital action guidance software platform; the prompt light belt reflects the deviation between the force generation timing of each part of the human body in the motion chain and the ideal timing; the electric stimulation device worn at a preset position on the trainee prompts the wrong action part and the severity of the error; the mechanical auxiliary device worn on the trainee's elbow and wrist corrects minor wrong postures; the digital action guidance software platform displays optimized actions and real action animations through an interface and marks the deviation between the force generation degree of each part of the body and the ideal force generation degree, and also displays a human action motion chain map for showing the deviation between the actual speed and the ideal speed;

[0007] The control process of the tennis training device is modeled as a Markov decision process, and the control strategy of the tennis training device is trained using a deep deterministic policy gradient algorithm, specifically comprising the following steps:

[0008] Step 1: Collect observations of the trainee's joint motion data when the trainee starts to hit the ball , tennis training device takes action , and receive a scalar reward , when the control is completed at time t, collect the new state of the trainer , get a conversion tuple , repeat the above process to generate the sequence , get several transformation tuples, and store all the transformation tuples as samples in the replay buffer, and define the state The return obtained is the total return ,in is the discount factor;

[0009] Step 2: Build four deep neural networks in the deep deterministic policy gradient algorithm to generate the optimal action policy network in the continuous space and action-value evaluation network ,in, and These are the parameters of the actor network and the critic network, each with its corresponding target network: , , and are the parameters of the target network respectively; the critic network estimates the agent in state Next action Expected return The actor network is supervised to ensure that the reward obtained by executing the action is maximized. Next, the expected return Written as a recursive Bellman equation:

[0010] (3);

[0011] in, [ ] indicates that at time t, the state and action are and Under the condition of , the state at time t+1 is The expected value of the value function under the condition of ;

[0012] The action-value evaluation network is trained through the Q-learning algorithm, and the network parameters are updated by minimizing the loss function. :

[0013] (4);

[0014] in, is the loss function, is the target network function, is the value network function, is the mean of the square difference between the target network function and the value network function;

[0015] Target network function Defined as:

[0016] y ( τ ; θ Q ' , θ π ' ) = r t + γ Q ( s t + 1 , μ ( s t + 1 , θ π ' ); θ Q ' )] (5);

[0017] To make Minimum, update parameters by batch stochastic gradient descent :

[0018] (6);

[0019] in, is the loss function with respect to the parameters The derivative of To evaluate the learning rate of the network;

[0020] Action policy network parameters use policy gradient Update via gradient descent:

[0021] (7);

[0022] in, is the learning rate of the action policy network;

[0023] During the learning process, each training step is performed by selecting a The samples are calculated and the learning weights are introduced , take the weighted average of the target network parameters and the original network parameters, and then assign them to the parameters of the new target network and , complete the update:

[0024] (8);

[0025] in, Representative parameters and , is the learning weight;

[0026] Randomly generate the initial action strategy network and evaluation network. The action strategy network is based on the current state. and behavioral noise Select the corresponding action , the agent can get rewards after performing actions , store the transformed tuple in a buffer after evaluation, and then use and The network parameters are updated, where the reward function is defined as:

[0027] (9);

[0028] in, is the theoretical maximum hitting speed of the trainee calculated based on the motion theory. It is the actual maximum hitting speed of the trainee.

[0029] The beneficial effects of the present invention are:

[0030] (1) The present invention integrates the sensory feedback method of multi-sensory fusion with the tennis training device, thus realizing the intelligence and scientific nature of the tennis training device;

[0031] (2) The method of the present invention reasonably and effectively combines the human motion data during the training process, drives the intelligent agent to achieve dynamic matching of multi-sensory feedback interaction modes, and can realize dynamic decision-making of the real-time feedback scheme of the tennis training device according to the training effect of the trainee, with stronger real-time performance;

[0032] (3) The present invention solves the problems in traditional sensory feedback training, namely, the lack of personalized combination of feedback categories that take into account the cognitive ability of the trainee and the lack of integration of real-time motion data to dynamically adjust the training program. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] Figure 1 A schematic diagram of the method according to an embodiment of the present invention;

[0034] Figure 2 A schematic diagram of the training process of the method according to an embodiment of the present invention;

[0035] Figure 3 It is a schematic diagram of the action network structure;

[0036] Figure 4 This is a schematic diagram of the value network structure. DETAILED DESCRIPTION

[0037] During the batting process, the human body needs to coordinate body movements to make the racket obtain a greater speed, and control the wrist fine posture to adjust the racket face angle at the moment of batting to control the batting direction. Among them, the swinging process is the most complicated stage, and the action flow is complicated and the speed is fast. The trainee relies on the structural combination of "position-strength-time-speed-posture" to ensure the coordination of the limbs and efficient speed output during the movement process. Therefore, the source of the cognitive load of the batting action lies in the trainee's fine control of the limbs. The control of fine movements mainly depends on the trainee's proprioception, and the batting process is complicated and rapid, and it is difficult for the trainee to clearly understand the somatosensory information. Therefore, the present invention simultaneously introduces a visual and tactile enhanced feedback method that can interact with the environment in real time to overcome the somatosensory information defects of the movement process and effectively strengthen motor memory.

[0038] This embodiment provides a dynamic decision method for a human enhanced feedback scheme based on deep reinforcement learning, which is applicable to a dynamic strategy for a human enhanced feedback scheme of a tennis training device. The tennis training device in this embodiment includes a prompt light belt, an electrical stimulation device, a mechanical assist device, and a digital action guidance software platform, wherein the electrical stimulation device is worn at a preset position on the trainee, and the mechanical assist device is worn at the trainee's elbow and wrist, for example, the mechanical assist device can be implemented using an arm exoskeleton.

[0039] like Figure 1 As shown in the visual feedback section, the prompt light strip reflects the deviation between the force exertion timing of each part of the human body in the motion chain and the ideal timing. The digital action guidance software platform displays optimized actions and real action animations through the interface and marks the deviation between the force exerted by each part of the body and the ideal force exerted. It also displays the human action motion chain map, which shows the deviation between the actual speed and the ideal speed. The digital software platform can be implemented using existing motion capture software and can be developed using Unity 3D. After inputting human motion data into the platform, visualization and chart analysis can be performed. In terms of visual feedback, in addition to using a visualization platform, a prompt light strip is also used. The prompt light strip can be programmed through existing ordinary LED lights to control the lighting time (t ai ) and lighting position (P ai ), Figure 1The prompt light strip shown in the figure shows the light positions of the light strip at the four time points of tennis hitting; in the tactile feedback part, the electric stimulation generated by the electric stimulation device prompts the wrong action location i and the severity of the error , using mechanical assist devices to improve and correct minor posture errors Among them, the electrical stimulation device can be implemented using the existing electrical stimulation electrode patch with muscle electrical stimulation function. The patch needs to be worn on the waist, left upper arm, left forearm, right upper arm and right forearm. Each patch contains 3 parameters: electrical stimulation time (t bi ), electrical stimulation position (P bi ), electrical stimulation intensity (h i ),like Figure 1 As shown, the two lightning marks represent the electrical stimulation locations, (t b1 , P b1 , h1) and (t b2 , P b2 , h2) are the parameters of the two electrical stimulation patches attached to the left upper arm and left forearm respectively; the mechanical assist device can be realized using the existing wrist micro-mechanical support device, which needs to be worn on the left elbow, left wrist, right elbow and right wrist. Each device contains 3 parameters: execution time (t ci ), the magnitude of the applied force (F i ), the position where the force is applied (P ci ),like Figure 1 The electrical stimulation device and mechanical assist device are shown in Figure 2. The two dark gray areas represent the location of the mechanical assist device. (t c3 , F3, P c3 ) and (t c4 , F4, P c4 ) are the parameters of the two mechanical devices attached to the left elbow and left wrist respectively.

[0040] For the dynamic adjustment of the feedback scheme, this embodiment realizes the dynamic decision of the multi-sensory feedback allocation scheme based on deep reinforcement learning. This embodiment models the control process of the tennis training device as a Markov decision process (MDP), and uses the deep deterministic policy gradient (DDPG) algorithm to train the control strategy of the tennis training device to maximize the efficiency of the trainer's movements. The training process is as follows: Figure 2 shown.

[0041] Collect observations of the trainee's joint motion data when the trainee starts to hit the ball , as shown in formula (1), the tennis training device takes action , as shown in (2), and receives a scalar reward , when the control is completed at time t, the new state of the trainer is received , get a transition tuple Repeatedly apply strategy(s) to produce the sequence , get several transformation tuples, and store all the transformation tuples as samples in the replay buffer Status The return obtained is defined as the total return ,in is the discount factor, and its value is The goal of training is to obtain the optimal device control strategy that maximizes the return. express.

[0042] (1);

[0043] in, Represents the motion data of the knee joint at time t; Represents the motion data of the hip joint at time t; Represents the motion data of the wrist joint at time t; Represents the motion data of the axis joint at time t; Represents the motion data of the shoulder joint at time t.

[0044] (2);

[0045] in, Indicates the change of the light strip display at time t, express The value range of A L = [ 1 , 4 ] ; represents the magnitude of the current of the electrical stimulation device at time t, Indicates time t The value range of A E = [ 10 , 20 ] ; It represents the force exerted by the mechanical assistive device on the trainer's wrist at time t, express The value range of A M = [ 0 , 20 ] .

[0046] The control strategy is further trained using the DDPG algorithm, which trains four deep neural networks to generate the optimal action strategy network in a continuous space. and action-value evaluation network ,in, and These are the parameters of the actor network and the critic network, each with its corresponding target network: , , and are the parameters of the target network respectively. The critic network estimates the agent in state Next action Expected return The actor network is supervised to ensure that the reward obtained by executing the action is the maximum. , the function can be written as a recursive Bellman equation:

[0047] (3);

[0048] in, [ ] indicates that at time t, the state and action are and Under the condition of , the state at time t+1 is The expected value of the value function under the conditions of .

[0049] The action-value evaluation network is trained by the Q-learning algorithm, which updates the network parameters by minimizing the loss function. :

[0050] (4);

[0051] in, is the loss function, is the target network function, is the value network function, It is the mean of the squared difference between the target network function and the value network function.

[0052] Target network function Defined as:

[0053] y ( τ ; θ Q ' , θ π ' ) = r t + γ Q ( s t + 1 , μ ( s t + 1 , θ π ' ); θ Q ' )] (5).

[0054] To make Minimum, update parameters by batch stochastic gradient descent :

[0055] (6);

[0056] in, is the loss function with respect to the parameters The derivative of To evaluate the learning rate of the network, the value is .

[0057] Action policy network parameters use policy gradient Update via gradient descent:

[0058] (7);

[0059] in, The learning rate of the action policy network is, .

[0060] During the learning process, each training is done by replaying the buffer. Select from the samples to be calculated, where the buffer can store at most For the update of the target network parameters, a soft update method is adopted, that is, a learning weight is introduced , take the weighted average of the target network parameters and the original network parameters, and then assign them to the parameters of the new target network and , complete the update:

[0061] (8);

[0062] in, Representative parameters and , learning weights .

[0063] Randomly generate the initial action strategy network and evaluation network. The action strategy network is based on the current state. and behavioral noise Select the corresponding action , the agent can get rewards after performing actions , and after evaluation, store the transformed tuple in a buffer. Then use and Update the network parameters and initialize the number of replay buffer samples to , these samples are generated by learning the control strategy of the auxiliary device mentioned above. The reward function is defined as:

[0064] (9);

[0065] in, is the theoretical maximum hitting speed of the trainee calculated based on the motion theory. It is the actual maximum hitting speed of the trainee.

[0066] The present invention uses two medium-sized neural networks (action network and value network) to approximate the actor function and the critic function, respectively. Figure 3 and Figure 4 As shown, the action network and value network contain 3 fully connected layers and 2 hidden layers respectively, and RELU function is used for nonlinear transformation in both hidden layers. Tanh function is used in the output layer of the action network to adjust the value range of the output action value. The two target networks are the same as above.

[0067] The technical features of the above-described embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above-described embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0068] The above-mentioned embodiments only express several implementation methods of the present invention, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for ordinary technicians in this field, several variations and improvements can be made without departing from the concept of the present invention, and these all belong to the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention shall be subject to the attached claims.

Claims

1. A dynamic decision-making method for human enhanced feedback scheme based on deep reinforcement learning, It is characterized in that The method is used for a tennis training device, which includes a prompt light belt, an electrical stimulation device, a mechanical auxiliary device and a digital action guidance software platform; the prompt light belt reflects the deviation between the force-generating timing of each part of the human body in the kinematic chain and the ideal timing; The electrical stimulation device worn at a preset position on the trainee's body indicates the location of the incorrect movement and the severity of the error; the mechanical auxiliary device worn on the trainee's elbow and wrist corrects the slight incorrect posture; The digital action guidance software platform displays the optimized action and the real action animation through the interface and marks the deviation between the force exerted by each part of the body and the ideal force exerted, and also displays the human action motion chain map to show the deviation between the actual speed and the ideal speed; The control process of the tennis training device is modeled as a Markov decision process, and the control strategy of the tennis training device is trained using a deep deterministic policy gradient algorithm, specifically comprising the following steps: Step 1: Collect the observed values ​​of the trainee's joint motion data when the trainee starts to hit the ball t , tennis training device takes action a t , and receives a scalar reward r t = r(s t ,a t ), when the control is completed at time t, collect the trainer's new state s t+1 , get a conversion tuple η t =(s t ,a t ,r t ,s t+1 ), repeat the above process to generate the sequence (s 0 ,a 0 ,r 0 ,s 1 ,a 1 ,r 1 ,...), get several transformation tuples, and store all the transformation tuples as samples in the replay buffer, and define the state s t The return obtained is the total return Where γ is the discount factor; The observed values ​​s of the joint motion data collected by the trainee t for: s t ={s tk ,s th ,s tw ,s te ,s ts } (1); Among them, s tk represents the motion data of the knee joint at time t; s t h represents the action data of the hip joint at time t; s tw represents the action data of the wrist joint at time t; s te Represents the action data of the axis joint at time t; s ts Represents the motion data of the shoulder joint at time t; Take action t for: a t ={a ti ,a tb ,a tc },a ti ∈A L ,a tb ∈A E ,a tc ∈A M (2); Among them, a ti Indicates the change of the light strip display at time t, A L Indicates a ti The value range of A L =[1,4]; a tb represents the magnitude of the current of the electrical stimulation device at time t, A E represents time t tb The value range of A E =[10,20]; a tc A represents the force exerted by the mechanical assistive device on the trainer's wrist at time t. M Indicates a tc The value range of A M =[0,20]; Step 2: Construct four deep neural networks in the deep deterministic policy gradient algorithm to generate the optimal action policy network μ(s|θ) in the continuous space. π ) and the action-value evaluation network Q(s,a|θ Q ), where θ π and θ Q are the parameters of the actor network and the critic network, each network has its corresponding target network: μ'(s|θ' π )、Q'(s|θ' Q ),θ' π and θ' Q are the parameters of the target network respectively; the critic network estimates the agent in state s t Next, perform action a t The expected return Q(s t ,a t ) supervises the actor network to ensure that the maximum reward can be obtained by executing the action. Under the deterministic strategy μ(s), the expected return Q(s) t ,a t ) can be written as the recursive Bellman equation: in, Indicates that at time t, the state and action are s t and a t Under the condition of t+1 The expected value of the value function under the condition of ; The action-value evaluation network is trained through the Q-learning algorithm, and the network parameters θ are updated by minimizing the loss function Q : L(θ Q )=E[(y(τ;θ' Q ,th' π )-Q(s t ,a t ;θ Q )) 2 ] (4); Among them, L(θ Q ) is the loss function, (y(τ;θ' Q ,θ' π ) is the target network function, Q(s t ,a t θ Q )) is the value network function, E[] is the mean of the square difference between the target network function and the value network function; Target network function y(τ;θ' Q ,θ' π ) is defined as: y(τ;θ' Q ,th' π )=r t +γQ(s t+1 ,μ(s t+1 ,th' π );θ' Q )] (5); In order to make L(θ Q ) is minimum, and the parameter θ is updated by batch stochastic gradient descent. Q : in, is the loss function with respect to the parameter θ Q The derivative of , α is the learning rate of the evaluation network; Action policy network parameters use policy gradient Update via gradient descent: Among them, β is the learning rate of the action strategy network; During the learning process, each training step is performed by selecting a sequence containing N batch = 64 samples, introduce learning weight η, make weighted average of target network parameters and original network parameters, and then assign them to the new target network parameters θ' Q and θ' π , complete the update: I will * ←(1-τ)θ' * +tth * (8); Among them, θ' * Represents parameter θ' Q and θ' π , τ is the learning weight; Randomly generate the initial action strategy network and evaluation network. The action strategy network is based on the current state s t and behavioral noise N t Select the corresponding action a t , the agent can obtain reward r after executing the action t , store the transformed tuple in a buffer after evaluation, and then use and The network parameters are updated, where the reward function is defined as: r(s,a)=|v theorymax -v max | (9); Among them, v theorymax is the theoretical maximum hitting speed of the trainee calculated based on the motion theory, v max It is the actual maximum hitting speed of the trainee.

2. According to claim 1, a dynamic decision-making method for a human enhanced feedback scheme based on deep reinforcement learning, It is characterized in that The action strategy network and the action-value evaluation network contain 3 fully connected layers and 2 hidden layers respectively. The RELU function is used for nonlinear transformation in both hidden layers. The tanh function is used in the output layer of the action strategy network to adjust the value range of the output action value.

3. According to claim 1, a dynamic decision-making method for human enhanced feedback scheme based on deep reinforcement learning, It is characterized in that Each training is performed by selecting N batch = 64 samples for calculation, the replay buffer can store up to N D =10 6 A conversion tuple.

4. According to claim 1, a dynamic decision-making method for human enhanced feedback scheme based on deep reinforcement learning, It is characterized in that The number of replay buffer samples is initialized to N init =2×10 5 .

5. According to claim 1, a dynamic decision-making method for human enhanced feedback scheme based on deep reinforcement learning, It is characterized in that The value of the discount coefficient is γ = 0.

99.

6. According to claim 1, a dynamic decision-making method for human enhanced feedback scheme based on deep reinforcement learning, It is characterized in that The learning rate of the evaluation network is α = 0.001, and the learning rate of the action policy network is β = 0.

002.

7. According to claim 1, a dynamic decision-making method for human enhanced feedback scheme based on deep reinforcement learning, It is characterized in that The value of the learning weight is τ = 0.

005.

8. According to claim 1, a dynamic decision-making method for human enhanced feedback scheme based on deep reinforcement learning, It is characterized in that The mechanical assistive device adopts an arm exoskeleton.