AnswerBot: Automated generation of answer summary to developers' technical questions

Bowen Xu, Zhenchang Xing, Xin Xia*, David Lo

*Corresponding author for this work

    Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

    117 Citations (Scopus)

    Abstract

    The prevalence of questions and answers on domain-specific Q&A sites like Stack Overflow constitutes a core knowledge asset for software engineering domain. Although search engines can return a list of questions relevant to a user query of some technical question, the abundance of relevant posts and the sheer amount of information in them makes it difficult for developers to digest them and find the most needed answers to their questions. In this work, we aim to help developers who want to quickly capture the key points of several answer posts relevant to a technical question before they read the details of the posts. We formulate our task as a query-focused multi-answer-posts summarization task for a given technical question. Our proposed approach AnswerBot contains three main steps : 1) relevant question retrieval, 2) useful answer paragraph selection, 3) diverse answer summary generation. To evaluate our approach, we build a repository of 228,817 Java questions and their corresponding answers from Stack Overflow. We conduct user studies with 100 randomly selected Java questions (not in the question repository) to evaluate the quality of the answer summaries generated by our approach, and the effectiveness of its relevant question retrieval and answer paragraph selection components. The user study results demonstrate that answer summaries generated by our approach are relevant, useful and diverse; moreover, the two components are able to effectively retrieve relevant questions and select salient answer paragraphs for summarization.

    Original languageEnglish
    Title of host publicationASE 2017 - Proceedings of the 32nd IEEE/ACM International Conference on Automated Software Engineering
    EditorsTien N. Nguyen, Grigore Rosu, Massimiliano Di Penta
    PublisherInstitute of Electrical and Electronics Engineers Inc.
    Pages706-716
    Number of pages11
    ISBN (Electronic)9781538626849
    DOIs
    Publication statusPublished - 20 Nov 2017
    Event32nd IEEE/ACM International Conference on Automated Software Engineering, ASE 2017 - Urbana-Champaign, United States
    Duration: 30 Oct 20173 Nov 2017

    Publication series

    NameASE 2017 - Proceedings of the 32nd IEEE/ACM International Conference on Automated Software Engineering

    Conference

    Conference32nd IEEE/ACM International Conference on Automated Software Engineering, ASE 2017
    Country/TerritoryUnited States
    CityUrbana-Champaign
    Period30/10/173/11/17

    Fingerprint

    Dive into the research topics of 'AnswerBot: Automated generation of answer summary to developers' technical questions'. Together they form a unique fingerprint.

    Cite this