Related Experiment Video
Updated: Nov 5, 2025

Defining the Role Of Language in Infants' Object Categorization with Eye-tracking Paradigms
Published on: February 8, 2019
CRaDLe: Deep code retrieval based on semantic Dependency Learning
Wenchao Gu1, Zongjie Li2, Cuiyun Gao2
1The Department of Computer Science and Engineering, The Chinese University of Hong Kong, Hong Kong, China.
This study introduces CRaDLe, a new method for code retrieval that uses statement-level dependency learning to bridge the semantic gap between natural language queries and code snippets. CRaDLe significantly improves code retrieval accuracy over existing methods.
Area of Science:
- Computer Science
- Software Engineering
- Artificial Intelligence
Background:
- Code retrieval is crucial for programmers reusing open-source code snippets.
- A significant challenge is the semantic gap between natural language queries and code.
- Neural networks are increasingly used to learn semantic matching for code retrieval.
Purpose of the Study:
- To propose CRaDLe, a novel approach for code retrieval using statement-level semantic dependency learning.
- To address the semantic gap in code retrieval by incorporating structural code information.
Main Methods:
- CRaDLe distills code representations by fusing statement-level dependency and semantic information.
- It learns a unified vector representation for code and description pairs.
- The approach models the matching relationship between queries and code snippets.
Main Results:
- Comprehensive experiments on real-world datasets demonstrate CRaDLe's effectiveness.
- The proposed approach accurately retrieves relevant code snippets for given queries.
- CRaDLe significantly outperforms state-of-the-art code retrieval methods.
Conclusions:
- Statement-level dependency information is valuable for capturing code semantics in retrieval.
- CRaDLe offers a promising new direction for improving code retrieval systems.
- The method effectively bridges the semantic gap, enhancing retrieval performance.
More Related Videos
11:14A Novel Experimental and Analytical Approach to the Multimodal Neural Decoding of Intent During Social Interaction in Freely-behaving Human Infants
Published on: October 4, 2015
11:32A Flexible Platform for Monitoring Cerebellum-Dependent Sensory Associative Learning
Published on: January 19, 2022
Related Concept Videos
Language Development
The critical period for language acquisition suggests that the ability to acquire language is at its peak early in life. As people age, this proficiency decreases. Language development begins very...
Retrieval
Recall involves accessing information without cues, such as during an essay test, where individuals must retrieve facts and concepts from memory unaided. Another example is remembering the name of a colleague...
Associative Learning
Classical conditioning, also known...
Purposive Learning
Cognitive Learning
E. C. Tolman's theory of purposive behavior emphasizes that much behavior is goal-directed. He argued that to understand behavior, we must look at the entire sequence of actions leading to a goal. For instance, high school students study hard, not just due to past reinforcement but also to achieve the goal of getting into a good college.
Tolman introduced the idea that behavior is influenced by...
Observational Learning