{"id":"https://openalex.org/W4404569613","doi":"https://doi.org/10.48550/arxiv.2411.10351","title":"Bias Unveiled: Investigating Social Bias in LLM-Generated Code","display_name":"Bias Unveiled: Investigating Social Bias in LLM-Generated Code","publication_year":2024,"publication_date":"2024-11-15","ids":{"openalex":"https://openalex.org/W4404569613","doi":"https://doi.org/10.48550/arxiv.2411.10351"},"language":"en","primary_location":{"is_oa":true,"landing_page_url":"http://arxiv.org/abs/2411.10351","pdf_url":"http://arxiv.org/pdf/2411.10351","source":{"id":"https://openalex.org/S4306400194","display_name":"arXiv (Cornell University)","issn_l":null,"issn":null,"is_oa":true,"is_in_doaj":false,"is_core":false,"host_organization":"https://openalex.org/I205783295","host_organization_name":"Cornell University","host_organization_lineage":["https://openalex.org/I205783295"],"host_organization_lineage_names":["Cornell University"],"type":"repository"},"license":null,"license_id":null,"version":"submittedVersion","is_accepted":false,"is_published":false},"type":"preprint","type_crossref":"posted-content","indexed_in":["arxiv"],"open_access":{"is_oa":true,"oa_status":"green","oa_url":"http://arxiv.org/pdf/2411.10351","any_repository_has_fulltext":true},"authorships":[{"author_position":"first","author":{"id":"https://openalex.org/A5100494855","display_name":"Lin Ling","orcid":"https://orcid.org/0009-0007-1620-025X"},"institutions":[],"countries":[],"is_corresponding":false,"raw_author_name":"Ling, Lin","raw_affiliation_strings":[],"affiliations":[]},{"author_position":"middle","author":{"id":"https://openalex.org/A5000311674","display_name":"Fazle Rabbi","orcid":"https://orcid.org/0000-0001-5626-0598"},"institutions":[],"countries":[],"is_corresponding":false,"raw_author_name":"Rabbi, Fazle","raw_affiliation_strings":[],"affiliations":[]},{"author_position":"middle","author":{"id":"https://openalex.org/A5100326214","display_name":"Song Wang","orcid":"https://orcid.org/0000-0003-0617-2877"},"institutions":[],"countries":[],"is_corresponding":false,"raw_author_name":"Wang, Song","raw_affiliation_strings":[],"affiliations":[]},{"author_position":"last","author":{"id":"https://openalex.org/A5101712379","display_name":"Jinqiu Yang","orcid":"https://orcid.org/0000-0003-4282-406X"},"institutions":[],"countries":[],"is_corresponding":false,"raw_author_name":"Yang, Jinqiu","raw_affiliation_strings":[],"affiliations":[]}],"institution_assertions":[],"countries_distinct_count":0,"institutions_distinct_count":0,"corresponding_author_ids":[],"corresponding_institution_ids":[],"apc_list":null,"apc_paid":null,"fwci":null,"has_fulltext":false,"cited_by_count":0,"citation_normalized_percentile":{"value":0.0,"is_in_top_1_percent":false,"is_in_top_10_percent":false},"cited_by_percentile_year":{"min":0,"max":84},"biblio":{"volume":null,"issue":null,"first_page":null,"last_page":null},"is_retracted":false,"is_paratext":false,"primary_topic":{"id":"https://openalex.org/T13643","display_name":"Artificial Intelligence in Law","score":0.9702,"subfield":{"id":"https://openalex.org/subfields/3320","display_name":"Political Science and International Relations"},"field":{"id":"https://openalex.org/fields/33","display_name":"Social Sciences"},"domain":{"id":"https://openalex.org/domains/2","display_name":"Social Sciences"}},"topics":[{"id":"https://openalex.org/T13643","display_name":"Artificial Intelligence in Law","score":0.9702,"subfield":{"id":"https://openalex.org/subfields/3320","display_name":"Political Science and International Relations"},"field":{"id":"https://openalex.org/fields/33","display_name":"Social Sciences"},"domain":{"id":"https://openalex.org/domains/2","display_name":"Social Sciences"}},{"id":"https://openalex.org/T12262","display_name":"Hate Speech and Cyberbullying Detection","score":0.954,"subfield":{"id":"https://openalex.org/subfields/1702","display_name":"Artificial Intelligence"},"field":{"id":"https://openalex.org/fields/17","display_name":"Computer Science"},"domain":{"id":"https://openalex.org/domains/3","display_name":"Physical Sciences"}}],"keywords":[{"id":"https://openalex.org/keywords/code","display_name":"Code (set theory)","score":0.651333}],"concepts":[{"id":"https://openalex.org/C2776760102","wikidata":"https://www.wikidata.org/wiki/Q5139990","display_name":"Code (set theory)","level":3,"score":0.651333},{"id":"https://openalex.org/C41008148","wikidata":"https://www.wikidata.org/wiki/Q21198","display_name":"Computer science","level":0,"score":0.4291644},{"id":"https://openalex.org/C17744445","wikidata":"https://www.wikidata.org/wiki/Q36442","display_name":"Political science","level":0,"score":0.36363542},{"id":"https://openalex.org/C199360897","wikidata":"https://www.wikidata.org/wiki/Q9143","display_name":"Programming language","level":1,"score":0.1833646},{"id":"https://openalex.org/C177264268","wikidata":"https://www.wikidata.org/wiki/Q1514741","display_name":"Set (abstract data type)","level":2,"score":0.0}],"mesh":[],"locations_count":1,"locations":[{"is_oa":true,"landing_page_url":"http://arxiv.org/abs/2411.10351","pdf_url":"http://arxiv.org/pdf/2411.10351","source":{"id":"https://openalex.org/S4306400194","display_name":"arXiv (Cornell University)","issn_l":null,"issn":null,"is_oa":true,"is_in_doaj":false,"is_core":false,"host_organization":"https://openalex.org/I205783295","host_organization_name":"Cornell University","host_organization_lineage":["https://openalex.org/I205783295"],"host_organization_lineage_names":["Cornell University"],"type":"repository"},"license":null,"license_id":null,"version":"submittedVersion","is_accepted":false,"is_published":false}],"best_oa_location":{"is_oa":true,"landing_page_url":"http://arxiv.org/abs/2411.10351","pdf_url":"http://arxiv.org/pdf/2411.10351","source":{"id":"https://openalex.org/S4306400194","display_name":"arXiv (Cornell University)","issn_l":null,"issn":null,"is_oa":true,"is_in_doaj":false,"is_core":false,"host_organization":"https://openalex.org/I205783295","host_organization_name":"Cornell University","host_organization_lineage":["https://openalex.org/I205783295"],"host_organization_lineage_names":["Cornell University"],"type":"repository"},"license":null,"license_id":null,"version":"submittedVersion","is_accepted":false,"is_published":false},"sustainable_development_goals":[],"grants":[],"datasets":[],"versions":[],"referenced_works_count":0,"referenced_works":[],"related_works":["https://openalex.org/W4396701345","https://openalex.org/W4396696052","https://openalex.org/W4391913857","https://openalex.org/W4391375266","https://openalex.org/W2899084033","https://openalex.org/W2748952813","https://openalex.org/W2390279801","https://openalex.org/W2376932109","https://openalex.org/W2358668433","https://openalex.org/W2001405890"],"abstract_inverted_index":{"Large":[0],"language":[1],"models":[2],"(LLMs)":[3],"have":[4],"significantly":[5],"advanced":[6],"the":[7,20,30,51,70,77,101,117,122],"field":[8],"of":[9,22,54,69,79,94],"automated":[10],"code":[11,31,72,109,119,159],"generation.":[12,110],"However,":[13],"a":[14,41,87,91],"notable":[15],"research":[16],"gap":[17],"exists":[18],"in":[19,29,82,116,157],"evaluation":[21,112],"social":[23,52,67,80,95,155,171],"biases":[24,53,68,81],"that":[25,89,149],"may":[26],"be":[27],"present":[28],"produced":[32],"by":[33,73,160],"LLMs.":[34,74,124],"To":[35,75],"solve":[36],"this":[37],"issue,":[38],"we":[39,85,126],"propose":[40],"novel":[42],"fairness":[43],"framework,":[44],"i.e.,":[45],"Solar,":[46],"to":[47,104,162,168],"assess":[48],"and":[49,100,143],"mitigate":[50],"LLM-generated":[55,118,158],"code.":[56],"Specifically,":[57],"Solar":[58,99,164],"can":[59,152],"automatically":[60],"generate":[61],"test":[62],"cases":[63],"for":[64,108,130],"quantitatively":[65],"uncovering":[66],"auto-generated":[71],"quantify":[76],"severity":[78],"generated":[83],"code,":[84],"develop":[86],"dataset":[88,103],"covers":[90],"diverse":[92],"set":[93],"problems.":[96,172],"We":[97],"applied":[98],"crafted":[102],"four":[105],"state-of-the-art":[106],"LLMs":[107],"Our":[111,146],"reveals":[113],"severe":[114],"bias":[115,131,156],"from":[120],"all":[121],"subject":[123],"Furthermore,":[125],"explore":[127],"several":[128],"strategies":[129],"mitigation,":[132],"including":[133],"Chain-of-Thought":[134],"(CoT)":[135],"prompting,":[136],"combining":[137],"positive":[138],"role-playing":[139],"with":[140],"CoT":[141],"prompting":[142,151],"iterative":[144,150],"prompting.":[145],"experiments":[147],"show":[148],"effectively":[153],"reduce":[154],"up":[161],"90%.":[163],"is":[165],"highly":[166],"extensible":[167],"evaluate":[169],"new":[170]},"cited_by_api_url":"https://api.openalex.org/works?filter=cites:W4404569613","counts_by_year":[],"updated_date":"2024-12-13T07:15:05.624002","created_date":"2024-11-21"}