generAItor:面向大语言模型可解释性与适配性的树在环文本生成方法
generAItor: Tree-in-the-Loop Text Generation for Language Model Explainability and Adaptation
AI总结:
针对大语言模型搜索输出候选缺乏解释的问题,提出树在环可视化分析技术generAItor,通过束搜索树可视化与多组件交互实现生成分析、迭代微调,在性别偏见分析、少样本适配等场景验证了有效性。
摘要:
大语言模型(LLM)已广泛应用于自动补全、辅助写作、对话式文本生成等各类下游任务,但其底层搜索算法所考量的输出候选集仍缺乏充分探索与解释。针对这一缺陷,本文提出树在环(tree-in-the-loop)方法,将束搜索树的可视化呈现作为分析、解释与调整生成输出的核心组件。为支撑上述任务,本文推出可视化分析技术generAItor,在核心束搜索树的基础上增设多种任务专属组件,提供针对性的可视化效果与交互功能。该方法支持多层级交互,搭建了涵盖生成、探索、对比输出候选,以及基于调整后数据微调模型的迭代流程。案例研究表明,与现有最优的基于模板的方法相比,本工具在性别偏见分析中可挖掘出新的洞见。此外,本文通过定性用户研究验证了方法的适用性,最后还针对文本生成场景中常见的少样本情况,定量评估了模型的适配能力。
英文摘要:
Large language models (LLMs) are widely deployed in various downstream tasks, e.g., auto-completion, aided writing, or chat-based text generation. However, the considered output candidates of the underlying search algorithm are under-explored and under-explained. We tackle this shortcoming by proposing a tree-in-the-loop approach, where a visual representation of the beam search tree is the central component for analyzing, explaining, and adapting the generated outputs. To support these tasks, we present generAItor, a visual analytics technique, augmenting the central beam search tree with various task-specific widgets, providing targeted visualizations and interaction possibilities. Our approach allows interactions on multiple levels and offers an iterative pipeline that encompasses generating, exploring, and comparing output candidates, as well as fine-tuning the model based on adapted data. Our case study shows that our tool generates new insights in gender bias analysis beyond state-of-the-art template-based methods. Additionally, we demonstrate the applicability of our approach in a qualitative user study. Finally, we quantitatively evaluate the adaptability of the model to few samples, as occurring in text-generation use cases.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。