-generAItor: Tree-in-the-loop Text Generation for Language Model Explainability and Adaptation

Author:

Spinner Thilo1ORCID,Kehlbeck Rebecca2ORCID,Sevastjanova Rita1ORCID,Stähle Tobias2ORCID,Keim Daniel A.2ORCID,Deussen Oliver2ORCID,El-Assady Mennatallah1ORCID

Affiliation:

1. ETH Zurich, Zurich, Switzerland

2. University of Konstanz, Konstanz, Germany

Abstract

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.

Publisher

Association for Computing Machinery (ACM)

Reference91 articles.

1. OpenAI chatbot spits out biased musings, despite guardrails;Alba Davey;Bloomberg,2022

2. Using Natural Sentence Prompts for Understanding Biases in Language Models

3. Pair Analytics: Capturing Reasoning Processes in Collaborative Visual Analytics

4. Dzmitry Bahdanau Kyunghyun Cho and Yoshua Bengio. 2014. Neural machine translation by jointly learning to align and translate. arxiv:1409.0473

5. A neural probabilistic language model;Bengio Yoshua;Adv. Neural Inf. Process. Syst.,2000

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3