Closed-loop Behavior Control ⚡️
Achieve precise behavior control using optogenetic technology and form a closed-loop feedback system through real-time behavior analysis.
- ❓ Challenge: Real-time behavior recognition involves heavy computational load, making it difficult to deploy complete models in experimental environments; small models on edge devices lack accuracy; non-specific dopamine stimulation has limited effects on improving autism behaviors.
- 💡 Solution: Use cloud computing for behavior recognition, uploading experimental videos to the cloud platform for processing and returning results. Reduce latency through model lightweighting and GPU pipeline parallel optimization, and establish an autism behavior-optogenetic reinforcement learning paradigm to provide specific dopamine light stimulation when play behavior is recognized.
- 🎉 Effect: Behavior recognition delay is only 266ms with an accuracy rate of 80%. Specific optogenetic reinforcement learning significantly improves play behavior in autism rats (Shank3+/-), enhancing social abilities and reducing non-social behaviors.

Design Principles and Precision Measurement
Deploy the behavior recognition model in the cloud to achieve closed-loop behavior control through real-time video stream uploading. The model is lightweighted and optimized with GPU pipeline parallelization to reduce computational latency. The optogenetic laser is controlled by an Arduino board to emit pulse light stimulation at 40Hz 5ms, 0.5s duration.
In the experimental design, the experimental group receives dopamine release light stimulation when Shank3+/- rats actively play; the control group receives random light stimulation under non-play behavior conditions, keeping the total amount of light stimulation consistent.
Test results (n=32 videos) show that the experimental group gives light during play over 90%, while the control group is less than 10%. The experimental group allocates more light stimulation to play-related social behaviors, while the control group allocates more to non-social behaviors. This shows the precision of closed-loop behavior control. Eventually, improved play behavior and social abilities in Shank3+/- rats were observed.
