[论文解读] Can Large Language Models Serve as Data Analysts? A Multi-Agent Assisted Approach for Qualitative Data Analysis
本文提出了一种多智能体大语言模型(LLM)系统,通过将分析任务分配给专业化智能体,实现了软件工程中定性数据分析的自动化。该方法显著提升了分析速度、可扩展性和准确性,并在评估中获得了87%的从业者满意度。
Context: Manual qualitative data analysis is time-intensive and can compromise validity and replicability, affecting analysis design, implementation, and reporting. Large Language Models (LLMs) enable human-bot collaboration in Software Engineering (SE), but their potential for qualitative data analysis in SE remains largely unexplored. Objective: The objective of this study is to design and develop an LLM-based multi-agent system that synergizes human decision support with AI to automate various qualitative data analysis approaches. Methods: We used LLM-based multi-agents systems to assist the qualitative data analysis process, deploying 27 agents, each responsible for a specific task, such as text summarization, initial code generation, and extracting themes and patterns. Results: The main findings are: (1) the LLM-based multi-agent system accelerates the qualitative data analysis process, (2) the system effectively automates tasks such as text summarization, initial code generation, and theme extraction, and (3) the publicly accessible code facilitates validation and further evaluation. Conclusion: The proposed LLM-based multi-agent system automates qualitative data analysis process, creating opportunities for researchers and practitioners. Future improvements focus on enhancing multilingual performance and integrating continuous expert feedback. The source code of proposed system and system details can be found here: https://github.com/GPT-Laboratory/Qualitative-Analysis-with-an-LLM-Based-Agentts
研究动机与目标
- 解决软件工程中手动定性数据分析耗时且劳动密集的问题。
- 克服现有基于大语言模型(LLM)工具仅部分自动化编码和主题分析的局限性。
- 开发一种完全自主、可扩展的系统,能够处理多种定性分析方法(例如主题分析、内容分析、叙事分析、话语分析和扎根理论分析)。
- 通过减少人力投入,同时保持或提升分析的准确性和深度,提升研究效率。
- 通过来自不同专业背景的从业者评估系统的性能和可用性,以确保其在现实场景中的适用性。
提出的方法
- 设计一种多智能体架构,其中每个智能体专门负责一项特定的定性分析任务(例如编码、主题识别、模式识别)。
- 利用大语言模型(LLMs),如GPT和BERT,作为自然语言理解与生成的核心推理引擎。
- 通过统一的摄入管道处理多种输入格式,包括访谈转录稿、文本文档、PDF文件和网页链接。
- 实施协调机制,确保智能体在从数据解释到结构化输出生成的各分析阶段中有效协作。
- 与领域专家集成反馈回路,以优化模型输出并提升解释的准确性。
- 利用生成式人工智能,自主生成编码、主题和解释性洞察,无需手动编码或迭代式人工输入。
实验结果
研究问题
- RQ1多智能体大语言模型系统能否自主执行软件工程中全部范围的定性数据分析任务?
- RQ2与传统手动分析相比,所提出的多智能体大语言模型系统在速度、可扩展性和准确性方面的表现如何?
- RQ3从业者在现实定性研究场景中,对系统的可靠性与实用性感知程度如何?
- RQ4该系统在处理多样化数据类型(例如访谈转录稿、文档、网络内容)和分析方法(例如扎根理论、话语分析)方面表现如何?
主要发现
- 多智能体大语言模型系统显著加速了定性数据分析流程,使研究人员能够更高效地处理更大规模的数据集。
- 来自十个不同专业背景的从业者中,87%对系统表示满意,表明其具有出色的可用性和感知可靠性。
- 该模型成功实现了所有主要定性分析方法——包括主题分析、内容分析、叙事分析、话语分析和扎根理论分析——且无需人工干预。
- 该系统展现出高度可扩展性,使研究人员能够分析大量文本和音频数据,这些数据若手动处理将难以实现。
- 整合领域专家的反馈显著提升了生成洞察的解释准确性和语境相关性。
- 该方法为人工智能辅助定性研究树立了新标准,实现了分析深度与操作效率的有机结合。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。