ChatGPT Incorrectness Detection in Software Reviews

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Tanzil, Minaoar Hossain, Khan, Junaed Younus, Uddin, Gias
Format: Preprint
Veröffentlicht: 2024
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866911812009590784
author Tanzil, Minaoar Hossain
Khan, Junaed Younus
Uddin, Gias
author_facet Tanzil, Minaoar Hossain
Khan, Junaed Younus
Uddin, Gias
contents We conducted a survey of 135 software engineering (SE) practitioners to understand how they use Generative AI-based chatbots like ChatGPT for SE tasks. We find that they want to use ChatGPT for SE tasks like software library selection but often worry about the truthfulness of ChatGPT responses. We developed a suite of techniques and a tool called CID (ChatGPT Incorrectness Detector) to automatically test and detect the incorrectness in ChatGPT responses. CID is based on the iterative prompting to ChatGPT by asking it contextually similar but textually divergent questions (using an approach that utilizes metamorphic relationships in texts). The underlying principle in CID is that for a given question, a response that is different from other responses (across multiple incarnations of the question) is likely an incorrect response. In a benchmark study of library selection, we show that CID can detect incorrect responses from ChatGPT with an F1-score of 0.74 - 0.75.
format Preprint
id arxiv_https___arxiv_org_abs_2403_16347
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle ChatGPT Incorrectness Detection in Software Reviews
Tanzil, Minaoar Hossain
Khan, Junaed Younus
Uddin, Gias
Software Engineering
Artificial Intelligence
Machine Learning
We conducted a survey of 135 software engineering (SE) practitioners to understand how they use Generative AI-based chatbots like ChatGPT for SE tasks. We find that they want to use ChatGPT for SE tasks like software library selection but often worry about the truthfulness of ChatGPT responses. We developed a suite of techniques and a tool called CID (ChatGPT Incorrectness Detector) to automatically test and detect the incorrectness in ChatGPT responses. CID is based on the iterative prompting to ChatGPT by asking it contextually similar but textually divergent questions (using an approach that utilizes metamorphic relationships in texts). The underlying principle in CID is that for a given question, a response that is different from other responses (across multiple incarnations of the question) is likely an incorrect response. In a benchmark study of library selection, we show that CID can detect incorrect responses from ChatGPT with an F1-score of 0.74 - 0.75.
title ChatGPT Incorrectness Detection in Software Reviews
topic Software Engineering
Artificial Intelligence
Machine Learning
url https://arxiv.org/abs/2403.16347