Skip to content
conftrace_
2024 COLING COLING 2024

Distantly Supervised Contrastive Learning for Low-Resource Scripting Language Summarization

AbstractCode summarization provides a natural language description for a given piece of code. In this work, we focus on scripting code—programming languages that interact with specific devices through commands. The low-resource nature of scripting languages makes traditional code summarization methods challenging to apply. To address this, we introduce a novel framework: distantly supervised contrastive learning for low-resource scripting language summarization. This framework leverages limited atomic commands and category constraints to enhance code representations. Extensive experiments demonstrate our method’s superiority over competitive baselines.

🌉 Interdisciplinary Bridge - Artificial Intelligence and Natural Language Processing

More from COLING 2024

All COLING 2024 papers →