{"id":"https://openalex.org/W4210440021","doi":"https://doi.org/10.1109/ase51524.2021.9678712","title":"Thinking Like a Developer? Comparing the Attention of Humans with Neural Models of Code","display_name":"Thinking Like a Developer? Comparing the Attention of Humans with Neural Models of Code","publication_year":2021,"publication_date":"2021-11-01","ids":{"openalex":"https://openalex.org/W4210440021","doi":"https://doi.org/10.1109/ase51524.2021.9678712"},"language":"en","primary_location":{"id":"doi:10.1109/ase51524.2021.9678712","is_oa":false,"landing_page_url":"https://doi.org/10.1109/ase51524.2021.9678712","pdf_url":null,"source":{"id":"https://openalex.org/S4363608212","display_name":"2021 36th IEEE/ACM International Conference on Automated Software Engineering (ASE)","issn_l":null,"issn":null,"is_oa":false,"is_in_doaj":false,"is_core":false,"host_organization":null,"host_organization_name":null,"host_organization_lineage":[],"host_organization_lineage_names":[],"type":"conference"},"license":null,"license_id":null,"version":"publishedVersion","is_accepted":true,"is_published":true,"raw_source_name":"2021 36th IEEE/ACM International Conference on Automated Software Engineering (ASE)","raw_type":"proceedings-article"},"type":"conference-paper","indexed_in":["crossref"],"open_access":{"is_oa":false,"oa_status":"closed","oa_url":null,"any_repository_has_fulltext":false},"authorships":[{"author_position":"first","author":{"id":"https://openalex.org/A5045763891","display_name":"Matteo Paltenghi","orcid":"https://orcid.org/0000-0003-2266-453X"},"institutions":[{"id":"https://openalex.org/I100066346","display_name":"University of Stuttgart","ror":"https://ror.org/04vnq7t77","country_code":"DE","type":"education","lineage":["https://openalex.org/I100066346"]}],"countries":["DE"],"is_corresponding":false,"raw_author_name":"Matteo Paltenghi","raw_affiliation_strings":["Department of Computer Science, University of Stuttgart, Stuttgart, Germany"],"raw_orcid":null,"affiliations":[{"raw_affiliation_string":"Department of Computer Science, University of Stuttgart, Stuttgart, Germany","institution_ids":["https://openalex.org/I100066346"]}]},{"author_position":"last","author":{"id":"https://openalex.org/A5013438083","display_name":"Michael Pradel","orcid":"https://orcid.org/0000-0003-1623-498X"},"institutions":[{"id":"https://openalex.org/I100066346","display_name":"University of Stuttgart","ror":"https://ror.org/04vnq7t77","country_code":"DE","type":"education","lineage":["https://openalex.org/I100066346"]}],"countries":["DE"],"is_corresponding":false,"raw_author_name":"Michael Pradel","raw_affiliation_strings":["Department of Computer Science, University of Stuttgart, Stuttgart, Germany"],"raw_orcid":null,"affiliations":[{"raw_affiliation_string":"Department of Computer Science, University of Stuttgart, Stuttgart, Germany","institution_ids":["https://openalex.org/I100066346"]}]}],"institutions":[],"countries_distinct_count":1,"institutions_distinct_count":1,"corresponding_author_ids":[],"corresponding_institution_ids":["https://openalex.org/I100066346"],"apc_list":null,"apc_paid":null,"fwci":null,"has_fulltext":false,"cited_by_count":21,"citation_normalized_percentile":null,"cited_by_percentile_year":null,"biblio":{"volume":null,"issue":null,"first_page":"867","last_page":"879"},"is_retracted":false,"is_paratext":false,"is_xpac":false,"primary_topic":{"id":"https://openalex.org/T10260","display_name":"Software Engineering Research","score":0.9993000030517578,"subfield":{"id":"https://openalex.org/subfields/1710","display_name":"Information Systems"},"field":{"id":"https://openalex.org/fields/17","display_name":"Computer Science"},"domain":{"id":"https://openalex.org/domains/3","display_name":"Physical Sciences"}},"topics":[{"id":"https://openalex.org/T10260","display_name":"Software Engineering Research","score":0.9993000030517578,"subfield":{"id":"https://openalex.org/subfields/1710","display_name":"Information Systems"},"field":{"id":"https://openalex.org/fields/17","display_name":"Computer Science"},"domain":{"id":"https://openalex.org/domains/3","display_name":"Physical Sciences"}},{"id":"https://openalex.org/T11689","display_name":"Adversarial Robustness in Machine Learning","score":0.9934999942779541,"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"}},{"id":"https://openalex.org/T12026","display_name":"Explainable Artificial Intelligence (XAI)","score":0.9865000247955322,"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/spurious-relationship","display_name":"Spurious relationship","score":0.7904369831085205},{"id":"https://openalex.org/keywords/computer-science","display_name":"Computer science","score":0.7197914123535156},{"id":"https://openalex.org/keywords/machine-learning","display_name":"Machine learning","score":0.5855837464332581},{"id":"https://openalex.org/keywords/artificial-intelligence","display_name":"Artificial intelligence","score":0.5840427279472351},{"id":"https://openalex.org/keywords/artificial-neural-network","display_name":"Artificial neural network","score":0.536602258682251},{"id":"https://openalex.org/keywords/intuition","display_name":"Intuition","score":0.5142378211021423},{"id":"https://openalex.org/keywords/code","display_name":"Code (set theory)","score":0.5043998956680298},{"id":"https://openalex.org/keywords/rank","display_name":"Rank (graph theory)","score":0.4807031750679016},{"id":"https://openalex.org/keywords/cognitive-science","display_name":"Cognitive science","score":0.25030940771102905},{"id":"https://openalex.org/keywords/psychology","display_name":"Psychology","score":0.19932213425636292},{"id":"https://openalex.org/keywords/mathematics","display_name":"Mathematics","score":0.09117484092712402}],"concepts":[{"id":"https://openalex.org/C97256817","wikidata":"https://www.wikidata.org/wiki/Q1462316","display_name":"Spurious relationship","level":2,"score":0.7904369831085205},{"id":"https://openalex.org/C41008148","wikidata":"https://www.wikidata.org/wiki/Q21198","display_name":"Computer science","level":0,"score":0.7197914123535156},{"id":"https://openalex.org/C119857082","wikidata":"https://www.wikidata.org/wiki/Q2539","display_name":"Machine learning","level":1,"score":0.5855837464332581},{"id":"https://openalex.org/C154945302","wikidata":"https://www.wikidata.org/wiki/Q11660","display_name":"Artificial intelligence","level":1,"score":0.5840427279472351},{"id":"https://openalex.org/C50644808","wikidata":"https://www.wikidata.org/wiki/Q192776","display_name":"Artificial neural network","level":2,"score":0.536602258682251},{"id":"https://openalex.org/C132010649","wikidata":"https://www.wikidata.org/wiki/Q189222","display_name":"Intuition","level":2,"score":0.5142378211021423},{"id":"https://openalex.org/C2776760102","wikidata":"https://www.wikidata.org/wiki/Q5139990","display_name":"Code (set theory)","level":3,"score":0.5043998956680298},{"id":"https://openalex.org/C164226766","wikidata":"https://www.wikidata.org/wiki/Q7293202","display_name":"Rank (graph theory)","level":2,"score":0.4807031750679016},{"id":"https://openalex.org/C188147891","wikidata":"https://www.wikidata.org/wiki/Q147638","display_name":"Cognitive science","level":1,"score":0.25030940771102905},{"id":"https://openalex.org/C15744967","wikidata":"https://www.wikidata.org/wiki/Q9418","display_name":"Psychology","level":0,"score":0.19932213425636292},{"id":"https://openalex.org/C33923547","wikidata":"https://www.wikidata.org/wiki/Q395","display_name":"Mathematics","level":0,"score":0.09117484092712402},{"id":"https://openalex.org/C199360897","wikidata":"https://www.wikidata.org/wiki/Q9143","display_name":"Programming language","level":1,"score":0.0},{"id":"https://openalex.org/C177264268","wikidata":"https://www.wikidata.org/wiki/Q1514741","display_name":"Set (abstract data type)","level":2,"score":0.0},{"id":"https://openalex.org/C114614502","wikidata":"https://www.wikidata.org/wiki/Q76592","display_name":"Combinatorics","level":1,"score":0.0}],"mesh":[],"locations_count":1,"locations":[{"id":"doi:10.1109/ase51524.2021.9678712","is_oa":false,"landing_page_url":"https://doi.org/10.1109/ase51524.2021.9678712","pdf_url":null,"source":{"id":"https://openalex.org/S4363608212","display_name":"2021 36th IEEE/ACM International Conference on Automated Software Engineering (ASE)","issn_l":null,"issn":null,"is_oa":false,"is_in_doaj":false,"is_core":false,"host_organization":null,"host_organization_name":null,"host_organization_lineage":[],"host_organization_lineage_names":[],"type":"conference"},"license":null,"license_id":null,"version":"publishedVersion","is_accepted":true,"is_published":true,"raw_source_name":"2021 36th IEEE/ACM International Conference on Automated Software Engineering (ASE)","raw_type":"proceedings-article"}],"best_oa_location":null,"sustainable_development_goals":[{"score":0.47999998927116394,"id":"https://metadata.un.org/sdg/1","display_name":"No poverty"}],"awards":[],"funders":[],"has_content":{"grobid_xml":false,"pdf":false},"content_urls":null,"referenced_works_count":77,"referenced_works":["https://openalex.org/W1934890906","https://openalex.org/W1964962870","https://openalex.org/W1973204205","https://openalex.org/W1989184611","https://openalex.org/W2053327450","https://openalex.org/W2061373985","https://openalex.org/W2133333349","https://openalex.org/W2516621648","https://openalex.org/W2579555219","https://openalex.org/W2605202003","https://openalex.org/W2740130862","https://openalex.org/W2806718802","https://openalex.org/W2807534653","https://openalex.org/W2887364112","https://openalex.org/W2888557792","https://openalex.org/W2889518897","https://openalex.org/W2899384793","https://openalex.org/W2941714792","https://openalex.org/W2951025380","https://openalex.org/W2954823997","https://openalex.org/W2954950681","https://openalex.org/W2955198300","https://openalex.org/W2962884579","https://openalex.org/W2962995178","https://openalex.org/W2963499994","https://openalex.org/W2963515589","https://openalex.org/W2963798744","https://openalex.org/W2963935794","https://openalex.org/W2964150020","https://openalex.org/W2964308564","https://openalex.org/W2970014349","https://openalex.org/W2970726176","https://openalex.org/W2992096339","https://openalex.org/W2995502120","https://openalex.org/W2996086147","https://openalex.org/W2996248296","https://openalex.org/W2999450509","https://openalex.org/W3010807105","https://openalex.org/W3011564318","https://openalex.org/W3013745307","https://openalex.org/W3018033251","https://openalex.org/W3034395771","https://openalex.org/W3034689979","https://openalex.org/W3035215724","https://openalex.org/W3035312859","https://openalex.org/W3035503910","https://openalex.org/W3047109247","https://openalex.org/W3098605233","https://openalex.org/W3100869085","https://openalex.org/W3101155149","https://openalex.org/W3105735055","https://openalex.org/W3106388706","https://openalex.org/W3107418514","https://openalex.org/W3116662254","https://openalex.org/W3118485687","https://openalex.org/W3125781052","https://openalex.org/W3126675481","https://openalex.org/W3163046698","https://openalex.org/W3174254835","https://openalex.org/W3195156628","https://openalex.org/W4206312123","https://openalex.org/W4239181501","https://openalex.org/W4288025980","https://openalex.org/W4292402161","https://openalex.org/W4385245566","https://openalex.org/W4394638297","https://openalex.org/W6692071231","https://openalex.org/W6725207838","https://openalex.org/W6736413285","https://openalex.org/W6739901393","https://openalex.org/W6744261831","https://openalex.org/W6754601402","https://openalex.org/W6768253638","https://openalex.org/W6771605235","https://openalex.org/W6771644057","https://openalex.org/W6772022830","https://openalex.org/W6785522863"],"related_works":["https://openalex.org/W3113091479","https://openalex.org/W2162899405","https://openalex.org/W941090075","https://openalex.org/W2044987316","https://openalex.org/W3134374554","https://openalex.org/W2237480245","https://openalex.org/W2075065631","https://openalex.org/W2519167559","https://openalex.org/W4311248832","https://openalex.org/W4386113923"],"abstract_inverted_index":{"Neural":[0],"models":[1,34,59,90,140,173,183,223,253],"of":[2,25,47,53,87,94,138,152,172,191,241,244,254],"code":[3,44,148,255],"are":[4,61,127,195],"successfully":[5],"tackling":[6],"various":[7],"prediction":[8],"tasks,":[9],"complementing":[10],"and":[11,37,67,108,154,184,256],"sometimes":[12,186],"even":[13,225],"outperforming":[14],"traditional":[15],"program":[16],"analyses.":[17],"While":[18],"most":[19],"work":[20,259],"focuses":[21],"on":[22,71,188,260],"end-to-end":[23],"evaluations":[24],"such":[26,124],"models,":[27],"it":[28,110],"often":[29,141],"remains":[30],"unclear":[31],"what":[32,39,82],"the":[33,54,64,75,84,92,122,135,143,162,169,232,239],"actually":[35],"learn,":[36],"to":[38,81,111,197,248,257],"extent":[40,83],"their":[41],"reasoning":[42,56,93],"about":[43,147],"matches":[45,142],"that":[46,60,134,182,208,224],"skilled":[48,95],"humans.":[49,96],"A":[50],"poor":[51],"understanding":[52],"model":[55],"risks":[57],"deploying":[58],"right":[62],"for":[63,104,161,221],"wrong":[65],"reason,":[66],"taking":[68],"decisions":[69],"based":[70],"spurious":[72],"correlations":[73,132],"in":[74],"training":[76],"dataset.":[77],"This":[78],"paper":[79],"investigates":[80],"attention":[85,107,115,137,171,246],"weights":[86],"effective":[88],"neural":[89,139,222,252],"match":[91],"To":[97],"this":[98],"end,":[99],"we":[100,126,237],"present":[101],"a":[102,217],"methodology":[103],"recording":[105],"human":[106,114,178,229,245],"use":[109],"gather":[112],"1,508":[113],"maps":[116,247],"from":[117,234],"91":[118],"participants,":[119],"which":[120,156,219],"is":[121,174],"largest":[123],"dataset":[125,243],"aware":[128],"of.":[129],"Computing":[130],"human-model":[131,209],"shows":[133],"copy":[136,165],"way":[144],"humans":[145,185,198],"reason":[146],"(Spearman":[149],"rank":[150],"coefficients":[151],"0.49":[153],"0.47),":[155],"gives":[157],"an":[158],"empirical":[159],"justification":[160],"intuition":[163],"behind":[164],"attention.":[166,179],"In":[167],"contrast,":[168],"regular":[170],"mostly":[175,200],"uncorrelated":[176],"with":[177,213],"We":[180],"find":[181],"focus":[187],"different":[189],"kinds":[190],"tokens,":[192],"e.g.,":[193],"strings":[194],"important":[196],"but":[199],"ignored":[201],"by":[202,216],"models.":[203,262],"The":[204],"results":[205],"also":[206],"show":[207],"agreement":[210],"positively":[211],"correlates":[212],"accurate":[214],"predictions":[215],"model,":[218],"calls":[220],"more":[226],"closely":[227],"mimic":[228],"reasoning.":[230],"Beyond":[231],"insights":[233],"our":[235,242],"study,":[236],"envision":[238],"release":[240],"help":[249],"understand":[250],"future":[251],"foster":[258],"human-inspired":[261]},"counts_by_year":[{"year":2025,"cited_by_count":4},{"year":2024,"cited_by_count":7},{"year":2023,"cited_by_count":8},{"year":2022,"cited_by_count":2}],"updated_date":"2026-07-14T23:27:15.235271","created_date":"2025-10-10T00:00:00"}
