DialogAgent: An Auto-engagement Agent for Code Question Answering Data Production

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Liang, Xiaoyun, Ren, Jingyi, Qi, Jiayi, Peng, Chao, Jiang, Bo
Format: Preprint
Veröffentlicht: 2024
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866929624415469568
author Liang, Xiaoyun
Ren, Jingyi
Qi, Jiayi
Peng, Chao
Jiang, Bo
author_facet Liang, Xiaoyun
Ren, Jingyi
Qi, Jiayi
Peng, Chao
Jiang, Bo
contents Large Language Models (LLMs) have become increasingly integral to enhancing developer productivity, particularly in code generation, comprehension, and repair tasks. However, fine-tuning these models with high-quality, real-world data is challenging due to privacy concerns and the lack of accessible, labeled datasets. In this paper, we present DialogAgent, an automated tool for generating synthetic training data that closely mimics real developer interactions within Integrated Development Environments (IDEs). DialogAgent enables the production of diverse, high-fidelity query-response pairs by simulating multi-turn dialogues and contextual behaviors observed in real-world programming scenarios. The tool significantly reduces the reliance on manual data generation, increasing efficiency by 4.8 times compared to traditional methods. Our experiments and online deployment demonstrate substantial improvements in model performance for code-related question-answering tasks: the acceptance rate of responses generated by our in-house model is improved by 33%, after training on synthesized data generated by DialogAgent.
format Preprint
id arxiv_https___arxiv_org_abs_2412_08069
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle DialogAgent: An Auto-engagement Agent for Code Question Answering Data Production
Liang, Xiaoyun
Ren, Jingyi
Qi, Jiayi
Peng, Chao
Jiang, Bo
Software Engineering
Artificial Intelligence
Large Language Models (LLMs) have become increasingly integral to enhancing developer productivity, particularly in code generation, comprehension, and repair tasks. However, fine-tuning these models with high-quality, real-world data is challenging due to privacy concerns and the lack of accessible, labeled datasets. In this paper, we present DialogAgent, an automated tool for generating synthetic training data that closely mimics real developer interactions within Integrated Development Environments (IDEs). DialogAgent enables the production of diverse, high-fidelity query-response pairs by simulating multi-turn dialogues and contextual behaviors observed in real-world programming scenarios. The tool significantly reduces the reliance on manual data generation, increasing efficiency by 4.8 times compared to traditional methods. Our experiments and online deployment demonstrate substantial improvements in model performance for code-related question-answering tasks: the acceptance rate of responses generated by our in-house model is improved by 33%, after training on synthesized data generated by DialogAgent.
title DialogAgent: An Auto-engagement Agent for Code Question Answering Data Production
topic Software Engineering
Artificial Intelligence
url https://arxiv.org/abs/2412.08069