{"id":"https://openalex.org/W4385574207","doi":"https://doi.org/10.18653/v1/2022.findings-emnlp.21","title":"When Language Model Meets Private Library","display_name":"When Language Model Meets Private Library","publication_year":2022,"publication_date":"2022-01-01","ids":{"openalex":"https://openalex.org/W4385574207","doi":"https://doi.org/10.18653/v1/2022.findings-emnlp.21"},"language":"en","primary_location":{"id":"doi:10.18653/v1/2022.findings-emnlp.21","doi":"https://doi.org/10.18653/v1/2022.findings-emnlp.21","is_oa":true,"landing_page_url":"https://doi.org/10.18653/v1/2022.findings-emnlp.21","pdf_url":"https://aclanthology.org/2022.findings-emnlp.21.pdf","source":{"id":"https://openalex.org/S7407096085","display_name":"Findings of the Association for Computational Linguistics: EMNLP (Findings of EMNLP)","issn_l":null,"issn":null,"is_oa":false,"is_in_doaj":false,"is_core":false,"listed_in":[],"host_organization":"https://openalex.org/P4310320244","host_organization_name":"Association for Computational Linguistics","host_organization_lineage":["https://openalex.org/P4310320244"],"host_organization_lineage_names":["Association for Computational Linguistics"],"type":"conference"},"license":"cc-by","license_id":"https://openalex.org/licenses/cc-by","version":"publishedVersion","is_accepted":true,"is_published":true,"raw_source_name":"Findings of the Association for Computational Linguistics: EMNLP 2022","raw_type":"proceedings-article"},"volume":null,"type":"conference-paper","is_traditional":true,"indexed_in":["arxiv","crossref","datacite"],"open_access":{"is_oa":true,"oa_status":"hybrid","oa_url":"https://aclanthology.org/2022.findings-emnlp.21.pdf","any_repository_has_fulltext":true},"authorships":[{"author_position":"first","author":{"id":"https://openalex.org/A5021771488","display_name":"Daoguang Zan","orcid":"https://orcid.org/0009-0009-4269-8543","observed_orcids":["https://orcid.org/0009-0009-4269-8543"]},"institutions":[{"id":"https://openalex.org/I19820366","display_name":"Chinese Academy of Sciences","ror":"https://ror.org/034t30j35","country_code":"CN","type":"government","lineage":["https://openalex.org/I19820366"]},{"id":"https://openalex.org/I4210128818","display_name":"Institute of Software","ror":"https://ror.org/033dfsn42","country_code":"CN","type":"facility","lineage":["https://openalex.org/I19820366","https://openalex.org/I4210128818"]},{"id":"https://openalex.org/I4210165038","display_name":"University of Chinese Academy of Sciences","ror":"https://ror.org/05qbk4x57","country_code":"CN","type":"education","lineage":["https://openalex.org/I19820366","https://openalex.org/I4210165038"]}],"countries":["CN"],"is_corresponding":false,"raw_author_name":"Daoguang Zan","raw_affiliation_strings":["Cooperative Innovation Center, Institute of Software, Chinese Academy of Sciences","University of Chinese Academy of Sciences;"],"raw_orcid":null,"affiliations":[{"raw_affiliation_string":"Cooperative Innovation Center, Institute of Software, Chinese Academy of Sciences","institution_ids":["https://openalex.org/I19820366","https://openalex.org/I4210128818"]},{"raw_affiliation_string":"University of Chinese Academy of Sciences;","institution_ids":["https://openalex.org/I4210165038"]}]},{"author_position":"middle","author":{"id":null,"display_name":"Bei Chen","orcid":null,"observed_orcids":[]},"institutions":[{"id":"https://openalex.org/I4210113369","display_name":"Microsoft Research Asia (China)","ror":"https://ror.org/0300m5276","country_code":"CN","type":"company","lineage":["https://openalex.org/I1290206253","https://openalex.org/I4210113369"]}],"countries":["CN"],"is_corresponding":false,"raw_author_name":"Bei Chen","raw_affiliation_strings":["Microsoft Research Asia"],"raw_orcid":null,"affiliations":[{"raw_affiliation_string":"Microsoft Research Asia","institution_ids":["https://openalex.org/I4210113369"]}]},{"author_position":"middle","author":{"id":"https://openalex.org/A5061546771","display_name":"Zeqi Lin","orcid":"https://orcid.org/0009-0001-2563-7601","observed_orcids":["https://orcid.org/0009-0001-2563-7601"]},"institutions":[{"id":"https://openalex.org/I4210113369","display_name":"Microsoft Research Asia (China)","ror":"https://ror.org/0300m5276","country_code":"CN","type":"company","lineage":["https://openalex.org/I1290206253","https://openalex.org/I4210113369"]}],"countries":["CN"],"is_corresponding":false,"raw_author_name":"Zeqi Lin","raw_affiliation_strings":["Microsoft Research Asia"],"raw_orcid":null,"affiliations":[{"raw_affiliation_string":"Microsoft Research Asia","institution_ids":["https://openalex.org/I4210113369"]}]},{"author_position":"middle","author":{"id":"https://openalex.org/A5036430353","display_name":"Bei Guan","orcid":"https://orcid.org/0000-0001-5071-1546","observed_orcids":["https://orcid.org/0000-0001-5071-1546"]},"institutions":[{"id":"https://openalex.org/I19820366","display_name":"Chinese Academy of Sciences","ror":"https://ror.org/034t30j35","country_code":"CN","type":"government","lineage":["https://openalex.org/I19820366"]},{"id":"https://openalex.org/I4210128818","display_name":"Institute of Software","ror":"https://ror.org/033dfsn42","country_code":"CN","type":"facility","lineage":["https://openalex.org/I19820366","https://openalex.org/I4210128818"]},{"id":"https://openalex.org/I4210165038","display_name":"University of Chinese Academy of Sciences","ror":"https://ror.org/05qbk4x57","country_code":"CN","type":"education","lineage":["https://openalex.org/I19820366","https://openalex.org/I4210165038"]}],"countries":["CN"],"is_corresponding":false,"raw_author_name":"Bei Guan","raw_affiliation_strings":["Integrative Innovation Center, Institute of Software, Chinese Academy of Sciences","University of Chinese Academy of Sciences;"],"raw_orcid":null,"affiliations":[{"raw_affiliation_string":"Integrative Innovation Center, Institute of Software, Chinese Academy of Sciences","institution_ids":["https://openalex.org/I19820366","https://openalex.org/I4210128818"]},{"raw_affiliation_string":"University of Chinese Academy of Sciences;","institution_ids":["https://openalex.org/I4210165038"]}]},{"author_position":"middle","author":{"id":null,"display_name":"Wang Yongji","orcid":null,"observed_orcids":[]},"institutions":[{"id":"https://openalex.org/I19820366","display_name":"Chinese Academy of Sciences","ror":"https://ror.org/034t30j35","country_code":"CN","type":"government","lineage":["https://openalex.org/I19820366"]},{"id":"https://openalex.org/I4210128818","display_name":"Institute of Software","ror":"https://ror.org/033dfsn42","country_code":"CN","type":"facility","lineage":["https://openalex.org/I19820366","https://openalex.org/I4210128818"]},{"id":"https://openalex.org/I4210165038","display_name":"University of Chinese Academy of Sciences","ror":"https://ror.org/05qbk4x57","country_code":"CN","type":"education","lineage":["https://openalex.org/I19820366","https://openalex.org/I4210165038"]},{"id":"https://openalex.org/I4391767820","display_name":"State Key Laboratory of Computer Science","ror":"https://ror.org/01hsx4r68","country_code":"CN","type":"facility","lineage":["https://openalex.org/I19820366","https://openalex.org/I4210128818","https://openalex.org/I4391767820"]}],"countries":["CN"],"is_corresponding":false,"raw_author_name":"Wang Yongji","raw_affiliation_strings":["Integrative Innovation Center, Institute of Software, Chinese Academy of Sciences","State Key Laboratory of Computer Science, Institute of Software, Chinese Academy of Sciences","University of Chinese Academy of Sciences;"],"raw_orcid":null,"affiliations":[{"raw_affiliation_string":"Integrative Innovation Center, Institute of Software, Chinese Academy of Sciences","institution_ids":["https://openalex.org/I19820366","https://openalex.org/I4210128818"]},{"raw_affiliation_string":"State Key Laboratory of Computer Science, Institute of Software, Chinese Academy of Sciences","institution_ids":["https://openalex.org/I19820366","https://openalex.org/I4210128818","https://openalex.org/I4391767820"]},{"raw_affiliation_string":"University of Chinese Academy of Sciences;","institution_ids":["https://openalex.org/I4210165038"]}]},{"author_position":"last","author":{"id":"https://openalex.org/A5025118710","display_name":"Jian\u2013Guang Lou","orcid":"https://orcid.org/0000-0001-8496-033X","observed_orcids":["https://orcid.org/0000-0001-8496-033X"]},"institutions":[{"id":"https://openalex.org/I4210113369","display_name":"Microsoft Research Asia (China)","ror":"https://ror.org/0300m5276","country_code":"CN","type":"company","lineage":["https://openalex.org/I1290206253","https://openalex.org/I4210113369"]}],"countries":["CN"],"is_corresponding":false,"raw_author_name":"Jian-Guang Lou","raw_affiliation_strings":["Microsoft Research Asia"],"raw_orcid":null,"affiliations":[{"raw_affiliation_string":"Microsoft Research Asia","institution_ids":["https://openalex.org/I4210113369"]}]}],"institutions":[],"countries_distinct_count":1,"institutions_distinct_count":5,"corresponding_author_ids":[],"corresponding_institution_ids":[],"apc_list":null,"apc_paid":null,"fwci":9.6432,"has_fulltext":true,"cited_by_count":75,"citation_normalized_percentile":{"value":0.98845599,"is_in_top_1_percent":false,"is_in_top_10_percent":true},"cited_by_percentile_year":{"min":98,"max":100},"biblio":{"volume":null,"issue":null,"first_page":"277","last_page":"288"},"is_retracted":false,"is_paratext":false,"is_xpac":false,"primary_topic":{"id":"https://openalex.org/T10260","display_name":"Software Engineering Research","score":0.9994999766349792,"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.9994999766349792,"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/T10028","display_name":"Topic Modeling","score":0.0003000000142492354,"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/T10286","display_name":"Information Retrieval and Search Behavior","score":9.999999747378752e-05,"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"}}],"keywords":[{"id":"https://openalex.org/keywords/private-libraries","display_name":"private libraries","score":0.7419999837875366},{"id":"https://openalex.org/keywords/code-generation","display_name":"code generation","score":0.8519999980926514},{"id":"https://openalex.org/keywords/api-documentation","display_name":"API documentation","score":0.6589999794960022},{"id":"https://openalex.org/keywords/dense-retrieval","display_name":"dense retrieval","score":0.8299999833106995},{"id":"https://openalex.org/keywords/pre-trained-language-models","display_name":"pre-trained language models","score":0.6420000195503235}],"concepts":[{"id":"https://openalex.org/C41008148","wikidata":"https://www.wikidata.org/wiki/Q21198","display_name":"Computer science","level":0,"score":0.8338973522186279},{"id":"https://openalex.org/C2776760102","wikidata":"https://www.wikidata.org/wiki/Q5139990","display_name":"Code (set theory)","level":3,"score":0.7333930730819702},{"id":"https://openalex.org/C56666940","wikidata":"https://www.wikidata.org/wiki/Q788790","display_name":"Documentation","level":2,"score":0.7050446271896362},{"id":"https://openalex.org/C133162039","wikidata":"https://www.wikidata.org/wiki/Q1061077","display_name":"Code generation","level":3,"score":0.550365686416626},{"id":"https://openalex.org/C137293760","wikidata":"https://www.wikidata.org/wiki/Q3621696","display_name":"Language model","level":2,"score":0.5384199023246765},{"id":"https://openalex.org/C199360897","wikidata":"https://www.wikidata.org/wiki/Q9143","display_name":"Programming language","level":1,"score":0.4585459232330322},{"id":"https://openalex.org/C2779732396","wikidata":"https://www.wikidata.org/wiki/Q2207288","display_name":"Craft","level":2,"score":0.45445820689201355},{"id":"https://openalex.org/C154945302","wikidata":"https://www.wikidata.org/wiki/Q11660","display_name":"Artificial intelligence","level":1,"score":0.44347262382507324},{"id":"https://openalex.org/C204321447","wikidata":"https://www.wikidata.org/wiki/Q30642","display_name":"Natural language processing","level":1,"score":0.36308610439300537},{"id":"https://openalex.org/C177264268","wikidata":"https://www.wikidata.org/wiki/Q1514741","display_name":"Set (abstract data type)","level":2,"score":0.17323288321495056},{"id":"https://openalex.org/C26517878","wikidata":"https://www.wikidata.org/wiki/Q228039","display_name":"Key (lock)","level":2,"score":0.16889601945877075},{"id":"https://openalex.org/C111919701","wikidata":"https://www.wikidata.org/wiki/Q9135","display_name":"Operating system","level":1,"score":0.08355611562728882},{"id":"https://openalex.org/C166957645","wikidata":"https://www.wikidata.org/wiki/Q23498","display_name":"Archaeology","level":1,"score":0.0},{"id":"https://openalex.org/C95457728","wikidata":"https://www.wikidata.org/wiki/Q309","display_name":"History","level":0,"score":0.0}],"mesh":[],"locations_count":3,"locations":[{"id":"doi:10.18653/v1/2022.findings-emnlp.21","doi":"https://doi.org/10.18653/v1/2022.findings-emnlp.21","is_oa":true,"landing_page_url":"https://doi.org/10.18653/v1/2022.findings-emnlp.21","pdf_url":"https://aclanthology.org/2022.findings-emnlp.21.pdf","source":{"id":"https://openalex.org/S7407096085","display_name":"Findings of the Association for Computational Linguistics: EMNLP (Findings of EMNLP)","issn_l":null,"issn":null,"is_oa":false,"is_in_doaj":false,"is_core":false,"listed_in":[],"host_organization":"https://openalex.org/P4310320244","host_organization_name":"Association for Computational Linguistics","host_organization_lineage":["https://openalex.org/P4310320244"],"host_organization_lineage_names":["Association for Computational Linguistics"],"type":"conference"},"license":"cc-by","license_id":"https://openalex.org/licenses/cc-by","version":"publishedVersion","is_accepted":true,"is_published":true,"raw_source_name":"Findings of the Association for Computational Linguistics: EMNLP 2022","raw_type":"proceedings-article"},{"id":"pmh:oai:arXiv.org:2210.17236","doi":null,"is_oa":true,"landing_page_url":"http://arxiv.org/abs/2210.17236","pdf_url":"https://arxiv.org/pdf/2210.17236","source":{"id":"https://openalex.org/S4306400194","display_name":"arXiv (Cornell University)","issn_l":"2331-8422","issn":["2331-8422"],"is_oa":true,"is_in_doaj":false,"is_core":false,"listed_in":[],"host_organization":"https://openalex.org/I205783295","host_organization_name":"Cornell University","host_organization_lineage":["https://openalex.org/I205783295"],"host_organization_lineage_names":[],"type":"repository"},"license":"cc-by","license_id":"https://openalex.org/licenses/cc-by","version":"submittedVersion","is_accepted":false,"is_published":false,"raw_source_name":null,"raw_type":"text"},{"id":"doi:10.48550/arxiv.2210.17236","doi":"https://doi.org/10.48550/arxiv.2210.17236","is_oa":true,"landing_page_url":"https://doi.org/10.48550/arxiv.2210.17236","pdf_url":null,"source":{"id":"https://openalex.org/S4306400194","display_name":"arXiv (Cornell University)","issn_l":"2331-8422","issn":["2331-8422"],"is_oa":true,"is_in_doaj":false,"is_core":false,"listed_in":[],"host_organization":"https://openalex.org/I205783295","host_organization_name":"Cornell University","host_organization_lineage":["https://openalex.org/I205783295"],"host_organization_lineage_names":[],"type":"repository"},"license":"cc-by","license_id":"https://openalex.org/licenses/cc-by","version":null,"is_accepted":false,"is_published":false,"raw_source_name":null,"raw_type":"Preprint"}],"best_oa_location":{"id":"doi:10.18653/v1/2022.findings-emnlp.21","doi":"https://doi.org/10.18653/v1/2022.findings-emnlp.21","is_oa":true,"landing_page_url":"https://doi.org/10.18653/v1/2022.findings-emnlp.21","pdf_url":"https://aclanthology.org/2022.findings-emnlp.21.pdf","source":{"id":"https://openalex.org/S7407096085","display_name":"Findings of the Association for Computational Linguistics: EMNLP (Findings of EMNLP)","issn_l":null,"issn":null,"is_oa":false,"is_in_doaj":false,"is_core":false,"listed_in":[],"host_organization":"https://openalex.org/P4310320244","host_organization_name":"Association for Computational Linguistics","host_organization_lineage":["https://openalex.org/P4310320244"],"host_organization_lineage_names":["Association for Computational Linguistics"],"type":"conference"},"license":"cc-by","license_id":"https://openalex.org/licenses/cc-by","version":"publishedVersion","is_accepted":true,"is_published":true,"raw_source_name":"Findings of the Association for Computational Linguistics: EMNLP 2022","raw_type":"proceedings-article"},"sustainable_development_goals":[],"study_designs":[],"awards":[],"funders":[{"id":"https://openalex.org/F4320308943","display_name":"Microsoft Research","ror":"https://ror.org/00d0nc645"},{"id":"https://openalex.org/F4320333993","display_name":"Microsoft Research Asia","ror":"https://ror.org/0300m5276"}],"has_content":{"pdf":true,"grobid_xml":true},"content_urls":{"pdf":"https://content.openalex.org/works/W4385574207.pdf","grobid_xml":"https://content.openalex.org/works/W4385574207.grobid-xml"},"referenced_works_count":37,"referenced_works":["https://openalex.org/W1522301498","https://openalex.org/W2593864460","https://openalex.org/W2896457183","https://openalex.org/W2912223780","https://openalex.org/W2964121744","https://openalex.org/W2970971581","https://openalex.org/W2980282514","https://openalex.org/W3015883388","https://openalex.org/W3034549508","https://openalex.org/W3038572442","https://openalex.org/W3039017601","https://openalex.org/W3098605233","https://openalex.org/W3118668786","https://openalex.org/W3119507053","https://openalex.org/W3126675481","https://openalex.org/W3168035277","https://openalex.org/W3168875417","https://openalex.org/W3170092793","https://openalex.org/W3177813494","https://openalex.org/W3194195934","https://openalex.org/W3195140297","https://openalex.org/W3198685994","https://openalex.org/W3210904070","https://openalex.org/W3213368902","https://openalex.org/W3217305727","https://openalex.org/W4224060952","https://openalex.org/W4225108562","https://openalex.org/W4226287673","https://openalex.org/W4226350810","https://openalex.org/W4226485558","https://openalex.org/W4226518707","https://openalex.org/W4281690148","https://openalex.org/W4284664419","https://openalex.org/W4284676027","https://openalex.org/W4285483825","https://openalex.org/W4285600327","https://openalex.org/W4286750487"],"related_works":["https://openalex.org/W4411921150","https://openalex.org/W7138396622","https://openalex.org/W6946073699","https://openalex.org/W7156901370","https://openalex.org/W4375958015","https://openalex.org/W4285600327","https://openalex.org/W4405252808","https://openalex.org/W4386794387","https://openalex.org/W4400583102","https://openalex.org/W4285483825"],"abstract_inverted_index":{"With":[0],"the":[1,36,73,92,99,133,172],"rapid":[2],"development":[3],"of":[4,9,38,175],"pre-training":[5],"techniques,":[6],"a":[7,58,86,109,116,137],"number":[8],"language":[10,33,61,128],"models":[11,34,62],"have":[12,65],"been":[13],"pre-trained":[14,32],"on":[15,136],"large-scale":[16],"code":[17,23,39,52,102,138],"corpora":[18],"and":[19,97,113,151,168],"perform":[20],"well":[21],"in":[22],"generation.In":[24],"this":[25,56],"paper,":[26],"we":[27,84,107,123,158],"investigate":[28],"how":[29],"to":[30,50,119,155],"equip":[31],"with":[35,80,89,146],"ability":[37],"generation":[40],"for":[41,48,60,162],"private":[42,54,68,76,156,163],"libraries.In":[43],"practice,":[44],"it":[45],"is":[46,57],"common":[47],"programmers":[49],"write":[51],"using":[53,103],"libraries.However,":[55],"challenge":[59],"since":[63],"they":[64],"never":[66],"seen":[67],"APIs":[69],"during":[70],"training.Motivated":[71],"by":[72],"fact":[74],"that":[75],"libraries":[77,150],"usually":[78],"come":[79],"elaborate":[81],"API":[82,141],"documentation,":[83],"propose":[85],"novel":[87],"framework":[88],"two":[90],"modules:":[91],"APIRetriever":[93],"finds":[94],"useful":[95],"APIs,":[96],"then":[98],"APICoder":[100],"generates":[101],"these":[104],"APIs.For":[105],"APIRetriever,":[106],"present":[108],"dense":[110],"retrieval":[111],"system":[112],"also":[114],"design":[115],"friendly":[117],"interaction":[118],"involve":[120],"uses.For":[121],"APICoder,":[122],"can":[124,152],"directly":[125],"use":[126],"off-the-shelf":[127],"models,":[129],"or":[130],"continually":[131],"pre-train":[132],"base":[134],"model":[135],"corpus":[139],"containing":[140],"information.Both":[142],"modules":[143],"are":[144],"trained":[145],"data":[147],"from":[148],"public":[149],"be":[153],"generalized":[154],"ones.Furthermore,":[157],"craft":[159],"three":[160],"benchmarks":[161],"libraries,":[164],"named":[165],"Torch-DataEval,":[166],"MonkeyEval,":[167],"BeatNumEval.Experimental":[169],"results":[170],"demonstrate":[171],"impressive":[173],"performance":[174],"our":[176],"framework.1":[177],".":[178]},"counts_by_year":[{"year":2026,"cited_by_count":19},{"year":2025,"cited_by_count":24},{"year":2024,"cited_by_count":26},{"year":2023,"cited_by_count":6}],"updated_date":"2026-11-10T11:39:43.021295","created_date":"2023-08-05T00:00:00"}
