arXiv:2502.09218cs.LOcs.AI2025-02被引 2

将数据抽象为概念并生成可解释的多语言自然语言描述

Data2Concept2Text: An Explainable Multilingual Framework for Data Analysis Narration

  • 用逻辑规则将数据概念转换为自然语言,实现可解释性
  • 支持多语言、多种语义变体,生成结果多样且一致
  • 适合医疗等高安全性场景及视障人士使用

本文提出一个完整的可解释系统,将数据转化为抽象概念,并以用户选择的自然语言描述出来。系统包含两个关键阶段:一是从数据中识别出新兴特征并抽象为概念;二是将这些概念转化为自然语言。尽管大语言模型在文本生成上表现优异,但其黑箱特性限制了在医疗等安全关键领域的应用。为此,本文聚焦于第二阶段(Concept2Text),采用基于Prolog/CLP的重写系统,利用类与关系表示的概念及通用本体中的常识知识,通过逻辑规则生成自然语言。系统具备层次化树形重写、模块化多语言生成、语义/语法/词汇层面的等价变体支持,以及透明的规则机制。通过实例展示了系统在输入概念基础上生成大量多样化且等价的重写文本的能力。

原文摘要 · Abstract (English)

This paper presents a complete explainable system that interprets a set of data, abstracts the underlying features and describes them in a natural language of choice. The system relies on two crucial stages: (i) identifying emerging properties from data and transforming them into abstract concepts, and (ii) converting these concepts into natural language. Despite the impressive natural language generation capabilities demonstrated by Large Language Models, their statistical nature and the intricacy of their internal mechanism still force us to employ these techniques as black boxes, forgoing trustworthiness. Developing an explainable pipeline for data interpretation would allow facilitating its use in safety-critical environments like processing medical information and allowing non-experts and visually impaired people to access narrated information. To this end, we believe that the fields of knowledge representation and automated reasoning research could present a valid alternative. Expanding on prior research that tackled the first stage (i), we focus on the second stage, named Concept2Text. Being explainable, data translation is easily modeled through logic-based rules, once again emphasizing the role of declarative programming in achieving AI explainability. This paper explores a Prolog/CLP-based rewriting system to interpret concepts-articulated in terms of classes and relations, plus common knowledge-derived from a generic ontology, generating natural language text. Its main features include hierarchical tree rewritings, modular multilingual generation, support for equivalent variants across semantic, grammar, and lexical levels, and a transparent rule-based system. We outline the architecture and demonstrate its flexibility through some examples capable of generating numerous diverse and equivalent rewritings based on the input concept.

可解释AI多语言生成知识表示

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。