揭示并分类 Text-to-SQL 中的社会偏见
Uncovering and Categorizing Social Biases in Text-to-SQL
AI总结:
针对 Text-to-SQL 模型在中立数据集上训练可能掩盖社会偏见的问题,本文构建测试基准并分类结构化数据中的偏见,揭示准确率相近模型的偏见率差异。
摘要:
内容警告:本工作包含可能涉及刻板印象、联想以及其他伤害的示例,可能会冒犯特定社会群体中的个人。大型预训练语言模型被公认为对不同人口统计群体带有社会偏见,这可能进一步放大我们社会中已有的刻板印象并造成更多伤害。Text-to-SQL 是一项重要任务,其模型主要被行政行业采用,在这些行业中,不公平的决策可能导致灾难性后果。然而,现有的 Text-to-SQL 模型是在 Spider 和 WikiSQL 等干净、中立的数据集上训练的。这在某种程度上掩盖了理想条件下模型中的社会偏见,但这些偏见在真实应用场景中仍可能显现。在本工作中,我们旨在揭示并分类 Text-to-SQL 模型中的社会偏见。我们总结了面向 Text-to-SQL 模型的结构化数据中可能出现的社会偏见类别。我们构建了测试基准,并揭示了任务准确率相近的模型可能以非常不同的比率包含社会偏见。我们展示了如何利用我们的方法来揭示和评估下游 Text-to-SQL 任务中的社会偏见。我们将发布代码和数据。
英文摘要:
Content Warning: This work contains examples that potentially implicate stereotypes, associations, and other harms that could be offensive to individuals in certain social groups.} Large pre-trained language models are acknowledged to carry social biases towards different demographics, which can further amplify existing stereotypes in our society and cause even more harm. Text-to-SQL is an important task, models of which are mainly adopted by administrative industries, where unfair decisions may lead to catastrophic consequences. However, existing Text-to-SQL models are trained on clean, neutral datasets, such as Spider and WikiSQL. This, to some extent, cover up social bias in models under ideal conditions, which nevertheless may emerge in real application scenarios. In this work, we aim to uncover and categorize social biases in Text-to-SQL models. We summarize the categories of social biases that may occur in structured data for Text-to-SQL models. We build test benchmarks and reveal that models with similar task accuracy can contain social biases at very different rates. We show how to take advantage of our methodology to uncover and assess social biases in the downstream Text-to-SQL task. We will release our code and data.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。