Evaluating Social Bias in Code Generation Models

被引:0
|
作者
Ling, Lin [1 ]
机构
[1] Concordia Univ, Montreal, PQ, Canada
关键词
Code Generation Models; Social Bias; AI Ethics;
D O I
10.1145/3663529.3664462
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
The functional correctness of Code Generation Models (CLMs) has been well-studied, but their social bias has not. This study aims to fill this gap by creating an evaluation set for human-centered tasks and empirically assessing social bias in CLMs. We introduce a novel evaluation framework to assess biases in CLM-generated code, using differential testing to determine if the code exhibits biases towards specific demographic groups in social issues. Our core contributions are (1) a dataset for evaluating social problems and (2) a testing framework to quantify CLM fairness in code generation, promoting ethical AI development.
引用
收藏
页码:695 / 697
页数:3
相关论文
共 50 条
  • [21] Evaluating and optimising compiler code generation for NVIDIA Grace
    Jesus, Ricardo
    Weiland, Michele
    53RD INTERNATIONAL CONFERENCE ON PARALLEL PROCESSING, ICPP 2024, 2024, : 691 - 700
  • [22] Evaluating Code Comment Generation with Summarized API Docs
    Matmti, Bilel
    Fard, Fatemeh
    Proceedings - 2023 IEEE/ACM 2nd International Workshop on Natural Language-Based Software Engineering, NLBSE 2023, 2023, : 60 - 63
  • [23] Evaluating Code Comment Generation With Summarized API Docs
    Matmti, Bilel
    Fard, Fatemeh
    2023 IEEE/ACM 2ND INTERNATIONAL WORKSHOP ON NATURAL LANGUAGE-BASED SOFTWARE ENGINEERING, NLBSE, 2023, : 60 - 63
  • [24] Evaluating Rewards for Question Generation Models
    Hosking, Tom
    Riedel, Sebastian
    2019 CONFERENCE OF THE NORTH AMERICAN CHAPTER OF THE ASSOCIATION FOR COMPUTATIONAL LINGUISTICS: HUMAN LANGUAGE TECHNOLOGIES (NAACL HLT 2019), VOL. 1, 2019, : 2278 - 2283
  • [25] Stable Bias: Evaluating Societal Representations in Diffusion Models
    Luccioni, Alexandra Sasha
    Akiki, Christopher
    Mitchell, Margaret
    Jernite, Yacine
    ADVANCES IN NEURAL INFORMATION PROCESSING SYSTEMS 36 (NEURIPS 2023), 2023,
  • [26] Detransformation Bias in Nonlinear Trip Generation Models
    Wang, Liming
    Currans, Kristina M.
    JOURNAL OF URBAN PLANNING AND DEVELOPMENT, 2018, 144 (03)
  • [27] SystemC code generation from UML models
    Baresi, L
    Bruschi, F
    Di Nitto, E
    Sciuto, D
    SYSTEM SPECIFICATION AND DESIGN LANGUAGES: BEST OF FDL '02, 2003, : 161 - 171
  • [28] ReCode: Robustness Evaluation of Code Generation Models
    Wang, Shiqi
    Li, Zheng
    Qian, Haifeng
    Yang, Chenghao
    Wang, Zijian
    Shang, Mingyue
    Kumar, Varun
    Tan, Samson
    Ray, Baishakhi
    Bhatia, Parminder
    Nallapati, Ramesh
    Ramanathan, Murali Krishna
    Roth, Dan
    Xiang, Bing
    PROCEEDINGS OF THE 61ST ANNUAL MEETING OF THE ASSOCIATION FOR COMPUTATIONAL LINGUISTICS (ACL 2023): LONG PAPERS, VOL 1, 2023, : 13818 - 13843
  • [29] Consistent code generation from UML models
    Long, Q
    Liu, ZM
    Li, XS
    He, JF
    2005 Australian Software Engineering Conference, Proceedings, 2005, : 23 - 30
  • [30] Exploring Continual Learning for Code Generation Models
    Yadav, Prateek
    Sun, Qing
    Ding, Hantian
    Li, Xiaopeng
    Zhang, Dejiao
    Tan, Ming
    Ma, Xiaofei
    Bhatia, Parminder
    Nallapati, Ramesh
    Ramanathan, Murali Krishna
    Bansal, Mohit
    Xiang, Bing
    61ST CONFERENCE OF THE THE ASSOCIATION FOR COMPUTATIONAL LINGUISTICS, ACL 2023, VOL 2, 2023, : 782 - 792