Jove
Visualize
Contact Us
JoVE
x logofacebook logolinkedin logoyoutube logo
ABOUT JoVE
OverviewLeadershipBlogJoVE Help Center
AUTHORS
Publishing ProcessEditorial BoardScope & PoliciesPeer ReviewFAQSubmit
LIBRARIANS
TestimonialsSubscriptionsAccessResourcesLibrary Advisory BoardFAQ
RESEARCH
JoVE JournalMethods CollectionsJoVE Encyclopedia of ExperimentsArchive
EDUCATION
JoVE CoreJoVE BusinessJoVE Science EducationJoVE Lab ManualFaculty Resource CenterFaculty Site
Terms & Conditions of Use
Privacy Policy
Policies

Related Concept Videos

Reinforcement01:23

Reinforcement

826
Positive and negative reinforcement are key concepts in operant conditioning, a learning process where the consequences of a behavior affect the likelihood of that behavior being repeated.
Positive reinforcement occurs when a behavior is followed by the presentation of a rewarding stimulus, increasing the frequency of that behavior. For example:
826
Reinforcement Schedules01:24

Reinforcement Schedules

453
Positive reinforcement is a powerful method for teaching new behaviors to both animals and humans. B.F. Skinner demonstrated this with his experiments using rats in a Skinner box. When a rat pressed a lever, it received a food pellet. This immediate reward encouraged the rat to repeat the behavior. This method, where a reward follows every instance of the behavior, is known as continuous reinforcement. It is highly effective for establishing new behaviors quickly.
Once a behavior is learned,...
453
Observational Learning01:12

Observational Learning

824
Albert Bandura's observational learning, also known as imitation or modeling, occurs when a person observes and imitates another's behavior. It is a quicker process than operant conditioning. A well-known example is the Bobo doll study, where children who saw an adult acting aggressively towards the doll were more likely to act aggressively when left alone, compared to those who observed a nonaggressive adult. Many psychologists view observational learning as a form of latent learning...
824
Associative Learning01:27

Associative Learning

1.2K
Associative learning is a fundamental concept in behavioral psychology, wherein a connection is established between two stimuli or events, leading to a learned response. This process is critical in understanding how behaviors are acquired and modified. Conditioning, the mechanism through which associations are formed, can be divided into two main types: classical conditioning and operant conditioning, each elucidating different aspects of associative learning.
Classical conditioning, also known...
1.2K
Woodward–Hoffmann Selection Rules and Microscopic Reversibility01:34

Woodward–Hoffmann Selection Rules and Microscopic Reversibility

3.8K
Electrocyclic reactions, cycloadditions, and sigmatropic rearrangements are concerted pericyclic reactions that proceed via a cyclic transition state. These reactions are stereospecific and regioselective. The stereochemistry of the products depends on the symmetry characteristics of the interacting orbitals and the reaction conditions. Accordingly, pericyclic reactions are classified as either symmetry-allowed or symmetry-forbidden. Woodward and Hoffmann presented the selection criteria for...
3.8K
Heuristics01:21

Heuristics

644
Heuristics are problem-solving strategies that use mental shortcuts to simplify decision-making. Unlike algorithms, which must be followed precisely to achieve a correct result, heuristics offer a general problem-solving framework. They save time and energy but can sometimes lead to less rational decisions.
People often rely on heuristics when faced with an overload of information, limited time, low importance of the decision, limited information, or when a heuristic readily comes to mind. For...
644

You might also read

Related Articles

Articles linked to this work by shared authors, journal, and citation graph.

Sort by
Same author

Resveratrol derivative restores macrophage cholesterol homeostasis via stabilizing xanthine oxidoreductase in hepatocellular carcinoma.

Journal of translational medicineยท2026
Same author

Rheumatoid arthritis synovial fibroblasts promote the glycolysis of myeloid-derived suppressor cells via TREM1/mTOR axis.

International immunopharmacologyยท2026
Same author

Dynamic loss of hormone receptors and reshaped drug sensitivity in male breast cancer organoids: A first case report and clinical implications.

Journal of translational internal medicineยท2026
Same author

Extensive peripheral immune cell phenotypes and nephrotic syndrome: Tracing causality through genetics - a bilateral Mendelian randomization study.

Medicineยท2026
Same author

Post-marketing safety profile of meningococcal group B vaccines: a real-world disproportionality analysis of the VAERS database, 2015Q1-2025Q3.

Frontiers in pharmacologyยท2026
Same author

Air quality index prediction using a hybrid CEEMDAN-CNN-IGWO-BiGRU-Attention model.

Scientific reportsยท2026
Same journal

Correction: A method for supervoxel-wise association studies of age and other non-imaging variables from coronary computed tomography angiograms.

Scientific reportsยท2026
Same journal

Poly(bromophenol blue)/CoSn(OH)<sub>6</sub> cubic particles modified pencil graphite electrode for electrochemical determination of diphenhydramine.

Scientific reportsยท2026
Same journal

Dietary Chlorella, Spirulina, and acidifier modulate jejunal cytokine-related gene expression in broiler chickens.

Scientific reportsยท2026
Same journal

Perceived physical activity barriers in university students: associations with fatigue and eating behaviours.

Scientific reportsยท2026
Same journal

Refuge limitation structures habitat use in agricultural landscapes: evidence from Sunda pangolins.

Scientific reportsยท2026
Same journal

Lightweight stateless transaction verification with outsourced witness updates for UTXO blockchains.

Scientific reportsยท2026
See all related articles

Related Experiment Video

Updated: Jan 14, 2026

Augmenting Large Language Models via Vector Embeddings to Improve Domain-Specific Responsiveness
03:14

Augmenting Large Language Models via Vector Embeddings to Improve Domain-Specific Responsiveness

Published on: December 6, 2024

1.0K

Enhancing queries for code generation with reinforcement learning.

Dawei Yuan1, Guojun Liang2, Tingting Li3

  • 1School of Computer Science, Guangdong University of Science and Technology, Dongguan, 523083, China. yuandawei@gdust.edu.cn.

Scientific Reports
|October 24, 2025
PubMed
Summary
This summary is machine-generated.

We developed a reinforcement learning framework (RL4QE) to enhance natural language queries for improved DeepSeek code generation. This method boosts code similarity by 34.3% using text and execution rewards.

Keywords:
Code generationParameter-efficient fine-tuningPrompt engineeringReinforcement learning

Related Experiment Videos

Last Updated: Jan 14, 2026

Augmenting Large Language Models via Vector Embeddings to Improve Domain-Specific Responsiveness
03:14

Augmenting Large Language Models via Vector Embeddings to Improve Domain-Specific Responsiveness

Published on: December 6, 2024

1.0K

Area of Science:

  • Artificial Intelligence
  • Natural Language Processing
  • Software Engineering

Background:

  • Deep learning models for code generation often struggle with nuanced natural language queries.
  • Improving the semantic understanding of prompts is crucial for generating accurate and functional code.

Purpose of the Study:

  • To introduce a reinforcement learning framework (RL4QE) for enhancing natural language queries to improve code generation.
  • To evaluate the effectiveness of RL4QE on the DS1000 benchmark and analyze reward components.

Main Methods:

  • A parametric refiner (Qwen with LoRA) was trained using the REINFORCE algorithm.
  • A scalar reward function combined text similarity metrics (BLEU-4, ROUGE-L, F1, Overlap) with execution signals (unit tests, syntax/timeout penalties).
  • The generator model (DeepSeek) remained fixed during training.

Main Results:

  • RL4QE achieved a 34.3% improvement in code similarity on the DS1000 benchmark.
  • BLEU-4 was identified as the most reliable text reward metric.
  • Low-Rank Adaptation (LoRA) demonstrated superior performance and parameter efficiency compared to full fine-tuning.
  • The framework showed transferability across different foundation models, highlighting the importance of architecture.

Conclusions:

  • Reinforcement learning effectively enhances natural language queries for code generation tasks.
  • RL4QE offers a parameter-efficient and reproducible method for improving code generation quality.
  • The framework's flexibility allows integration with various foundation models.