{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,11,22]],"date-time":"2026-11-22T15:43:38Z","timestamp":1795362218058,"version":"4.10.3"},"reference-count":48,"publisher":"Association for Computing Machinery (ACM)","issue":"FSE","license":[{"start":{"date-parts":[[2024,7,12]],"date-time":"2024-07-12T00:00:00Z","timestamp":1720742400000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/www.acm.org\/publications\/policies\/copyright_policy#Background"}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Proc. ACM Softw. Eng."],"published-print":{"date-parts":[[2024,7,12]]},"abstract":"<jats:p>\n                    Code review is a fundamental process in software development that plays a pivotal role in ensuring code quality and reducing the likelihood of errors and bugs. However, code review can be complex, subjective, and time-consuming.\n                    <jats:italic toggle=\"yes\">Quality estimation<\/jats:italic>\n                    ,\n                    <jats:italic toggle=\"yes\">comment generation<\/jats:italic>\n                    , and\n                    <jats:italic toggle=\"yes\">code refinement<\/jats:italic>\n                    constitute the three key tasks of this process, and their automation has traditionally been addressed separately in the literature using different approaches. In particular, recent efforts have focused on fine-tuning pre-trained language models to aid in code review tasks, with each task being considered in isolation. We believe that these tasks are interconnected, and their fine-tuning should consider this interconnection. In this paper, we introduce a novel deep-learning architecture, named DISCOREV, which employs cross-task knowledge distillation to address these tasks simultaneously. In our approach, we utilize a cascade of models to enhance both\n                    <jats:italic toggle=\"yes\">comment generation<\/jats:italic>\n                    and\n                    <jats:italic toggle=\"yes\">code refinement<\/jats:italic>\n                    models. The fine-tuning of the\n                    <jats:italic toggle=\"yes\">comment generation<\/jats:italic>\n                    model is guided by the\n                    <jats:italic toggle=\"yes\">code refinement<\/jats:italic>\n                    model, while the fine-tuning of the\n                    <jats:italic toggle=\"yes\">code refinement<\/jats:italic>\n                    model is guided by the\n                    <jats:italic toggle=\"yes\">quality estimation<\/jats:italic>\n                    model. We implement this guidance using two strategies: a feedback-based learning objective and an embedding alignment objective. We evaluate DISCOREV by comparing it to state-of-the-art methods based on independent training and fine-tuning. Our results show that our approach generates better review comments, as measured by the\n                    <jats:italic toggle=\"yes\">BLEU<\/jats:italic>\n                    score, as well as more accurate\n                    <jats:italic toggle=\"yes\">code refinement<\/jats:italic>\n                    according to the\n                    <jats:italic toggle=\"yes\">CodeBLEU<\/jats:italic>\n                    score.\n                  <\/jats:p>","DOI":"10.1145\/3643775","type":"journal-article","created":{"date-parts":[[2024,7,12]],"date-time":"2024-07-12T10:22:09Z","timestamp":1720779729000},"page":"1086-1106","source":"Crossref","is-referenced-by-count":23,"title":["Improving the Learning of Code Review Successive Tasks with Cross-Task Knowledge Distillation"],"prefix":"10.1145","volume":"1","author":[{"ORCID":"https:\/\/orcid.org\/0000-0003-2737-0952","authenticated-orcid":false,"given":"Oussama","family":"Ben Sghaier","sequence":"first","affiliation":[{"name":"Universit\u00e9 de Montr\u00e9al, Montr\u00e9al, Canada"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-6304-9926","authenticated-orcid":false,"given":"Houari","family":"Sahraoui","sequence":"additional","affiliation":[{"name":"Universit\u00e9 de Montr\u00e9al, Montr\u00e9al, Canada"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2024,7,12]]},"reference":[{"key":"e_1_3_1_2_2","unstructured":"2000. PMD. https:\/\/pmd.github.io\/."},{"key":"e_1_3_1_3_2","unstructured":"2001. Checkstyle. https:\/\/checkstyle.org\/."},{"key":"e_1_3_1_4_2","unstructured":"2005. FindBugs. https:\/\/findbugs.sourceforge.net\/."},{"key":"e_1_3_1_5_2","doi-asserted-by":"publisher","DOI":"10.1109\/52.28121"},{"key":"e_1_3_1_6_2","doi-asserted-by":"publisher","DOI":"10.5555\/3541.3543"},{"key":"e_1_3_1_7_2","doi-asserted-by":"publisher","DOI":"10.4230\/DagRep.6.4.110"},{"key":"e_1_3_1_8_2","doi-asserted-by":"publisher","DOI":"10.1109\/ICSE.2013.6606617"},{"key":"e_1_3_1_9_2","doi-asserted-by":"publisher","DOI":"10.1109\/ICSM.2015.7332454"},{"key":"e_1_3_1_10_2","doi-asserted-by":"publisher","unstructured":"Oussama Ben Sghaier. 2024. Improving the Learning of Code Review Successive Tasks with Cross-Task Knowledge Distillation (DISCOREV). https:\/\/doi.org\/10.5281\/zenodo.10676741 10.5281\/zenodo.10676741","DOI":"10.5281\/zenodo.10676741"},{"key":"e_1_3_1_11_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-319-63387-9_12"},{"key":"e_1_3_1_12_2","article-title":"Breaking down multilingual machine translation","author":"Chiang Ting-Rui","year":"2021","unstructured":"Ting-Rui Chiang, Yi-Pei Chen, Yi-Ting Yeh, and Graham Neubig. 2021. Breaking down multilingual machine translation. arXiv preprint arXiv:2110.08130 (2021).","journal-title":"arXiv preprint arXiv:2110.08130"},{"key":"e_1_3_1_13_2","doi-asserted-by":"publisher","DOI":"10.48550\/arXiv.1810.04805"},{"key":"e_1_3_1_14_2","doi-asserted-by":"publisher","DOI":"10.1109\/32.895984"},{"key":"e_1_3_1_15_2","doi-asserted-by":"publisher","DOI":"10.1147\/sj.382.0258"},{"key":"e_1_3_1_16_2","doi-asserted-by":"publisher","DOI":"10.48550\/arXiv.2002.08155"},{"key":"e_1_3_1_17_2","unstructured":"Martin Fowler and Matthew Foemmel. 2006. Continuous integration. https:\/\/martinfowler.com\/articles\/continuousIntegration.html."},{"key":"e_1_3_1_18_2","doi-asserted-by":"publisher","DOI":"10.1145\/3422622"},{"key":"e_1_3_1_19_2","article-title":"Intelligent code reviews using deep learning","author":"Gupta Anshul","year":"2018","unstructured":"Anshul Gupta and Neel Sundaresan. 2018. Intelligent code reviews using deep learning. In Proceedings of the 24th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining (KDD\u201918) Deep Learning Day.","journal-title":"Proceedings of the 24th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining (KDD\u201918) Deep Learning Day"},{"key":"e_1_3_1_20_2","article-title":"Distilling the knowledge in a neural network","author":"Hinton Geoffrey","year":"2015","unstructured":"Geoffrey Hinton, Oriol Vinyals, and Jeff Dean. 2015. Distilling the knowledge in a neural network. arXiv preprint arXiv:1503.02531 (2015).","journal-title":"arXiv preprint arXiv:1503.02531"},{"key":"e_1_3_1_21_2","doi-asserted-by":"publisher","DOI":"10.1145\/1052883.1052895"},{"key":"e_1_3_1_22_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-642-04898-2_327"},{"key":"e_1_3_1_23_2","article-title":"Comparing kullback-leibler divergence and mean squared error loss in knowledge distillation","author":"Kim Taehyeon","year":"2021","unstructured":"Taehyeon Kim, Jaehoon Oh, NakYil Kim, Sangwook Cho, and Se-Young Yun. 2021. Comparing kullback-leibler divergence and mean squared error loss in knowledge distillation. arXiv preprint arXiv:2105.08919 (2021).","journal-title":"arXiv preprint arXiv:2105.08919"},{"key":"e_1_3_1_24_2","article-title":"Prototype-guided Cross-task Knowledge Distillation for Large-scale Models","author":"Li Deng","year":"2022","unstructured":"Deng Li, Aming Wu, Yahong Han, and Qi Tian. 2022. Prototype-guided Cross-task Knowledge Distillation for Large-scale Models. arXiv preprint arXiv:2212.13180 (2022).","journal-title":"arXiv preprint arXiv:2212.13180"},{"key":"e_1_3_1_25_2","unstructured":"Deng Li Aming Wu Yahong Han and Qi Tian. 2022. Prototype-guided Cross-task Knowledge Distillation for Large-scale Models. arxiv:2212.13180 [cs.CV]"},{"key":"e_1_3_1_26_2","doi-asserted-by":"publisher","DOI":"10.1145\/3540250.3549081"},{"key":"e_1_3_1_27_2","doi-asserted-by":"publisher","DOI":"10.48550\/arXiv.1907.11692"},{"key":"e_1_3_1_28_2","doi-asserted-by":"publisher","DOI":"10.1145\/3551349.3556900"},{"key":"e_1_3_1_29_2","doi-asserted-by":"publisher","DOI":"10.1145\/2597073.2597076"},{"key":"e_1_3_1_30_2","doi-asserted-by":"publisher","DOI":"10.1007\/s10664-015-9381-9"},{"key":"e_1_3_1_31_2","doi-asserted-by":"publisher","DOI":"10.1109\/SANER.2015.7081827"},{"key":"e_1_3_1_32_2","first-page":"311","article-title":"Bleu: a method for automatic evaluation of machine translation","author":"Papineni Kishore","year":"2002","unstructured":"Kishore Papineni, Salim Roukos, Todd Ward, and Wei-Jing Zhu. 2002. Bleu: a method for automatic evaluation of machine translation. In Proceedings of the 40th annual meeting of the Association for Computational Linguistics. 311\u2013318.","journal-title":"Proceedings of the 40th annual meeting of the Association for Computational Linguistics"},{"issue":"8","key":"e_1_3_1_33_2","first-page":"9","article-title":"Language models are unsupervised multitask learners","volume":"1","author":"Radford Alec","year":"2019","unstructured":"Alec Radford, Jeffrey Wu, Rewon Child, David Luan, Dario Amodei, Ilya Sutskever, et al. 2019. Language models are unsupervised multitask learners. OpenAI blog 1, 8 (2019), 9.","journal-title":"OpenAI blog"},{"key":"e_1_3_1_34_2","doi-asserted-by":"publisher","DOI":"10.48550\/arXiv.1910.10683"},{"key":"e_1_3_1_35_2","doi-asserted-by":"publisher","DOI":"10.48550\/arXiv.2009.10297"},{"key":"e_1_3_1_36_2","doi-asserted-by":"publisher","DOI":"10.1109\/ICSE.2015.76"},{"key":"e_1_3_1_37_2","doi-asserted-by":"crossref","DOI":"10.1109\/SANER56733.2023.00049","article-title":"A Multi-Step Learning Approach to Assist Code Review","author":"Sghaier Oussama Ben","year":"2023","unstructured":"Oussama Ben Sghaier and Houari Sahraoui. 2023. A Multi-Step Learning Approach to Assist Code Review. In 2023 IEEE 23rd International Conference on Software Analysis, Evolution, and Reengineering (SANER). IEEE.","journal-title":"2023 IEEE 23rd International Conference on Software Analysis, Evolution, and Reengineering (SANER)"},{"key":"e_1_3_1_38_2","doi-asserted-by":"publisher","DOI":"10.1109\/ACCESS.2017.2685629"},{"key":"e_1_3_1_39_2","doi-asserted-by":"publisher","DOI":"10.1109\/SANER48275.2020.9054794"},{"key":"e_1_3_1_40_2","doi-asserted-by":"publisher","DOI":"10.1109\/ICSE43902.2021.00027"},{"key":"e_1_3_1_41_2","doi-asserted-by":"publisher","DOI":"10.1145\/3510003.3510621"},{"key":"e_1_3_1_42_2","article-title":"Attention is all you need","volume":"30","author":"Vaswani Ashish","year":"2017","unstructured":"Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N Gomez, Lukasz Kaiser, and Illia Polosukhin. 2017. Attention is all you need. Advances in neural information processing systems 30 (2017).","journal-title":"Advances in neural information processing systems"},{"key":"e_1_3_1_43_2","doi-asserted-by":"publisher","DOI":"10.48550\/arXiv.2109.00859"},{"key":"e_1_3_1_44_2","doi-asserted-by":"publisher","DOI":"10.1049\/sej.1995.0010"},{"key":"e_1_3_1_45_2","doi-asserted-by":"crossref","first-page":"4318","DOI":"10.1609\/aaai.v36i4.20352","article-title":"Cross-task knowledge distillation in multi-task recommendation","volume":"36","author":"Yang Chenxiao","year":"2022","unstructured":"Chenxiao Yang, Junwei Pan, Xiaofeng Gao, Tingyu Jiang, Dapeng Liu, and Guihai Chen. 2022. Cross-task knowledge distillation in multi-task recommendation. In Proceedings of the AAAI Conference on Artificial Intelligence, Vol. 36. 4318\u20134326.","journal-title":"Proceedings of the AAAI Conference on Artificial Intelligence"},{"key":"e_1_3_1_46_2","article-title":"XLNet: Generalized autoregressive pretraining for language understanding","volume":"32","author":"Yang Zhilin","year":"2019","unstructured":"Zhilin Yang, Zihang Dai, Yiming Yang, Jaime Carbonell, Russ R Salakhutdinov, and Quoc V Le. 2019. XLNet: Generalized autoregressive pretraining for language understanding. Advances in neural information processing systems 32 (2019).","journal-title":"Advances in neural information processing systems"},{"key":"e_1_3_1_47_2","article-title":"Distilling Cross-Task Knowledge via Relationship Matching","author":"Ye Han-Jia","year":"2020","unstructured":"Han-Jia Ye, Su Lu, and De-Chuan Zhan. 2020. Distilling Cross-Task Knowledge via Relationship Matching. In Proceedings of the IEEE\/CVF Conference on Computer Vision and Pattern Recognition (CVPR).","journal-title":"Proceedings of the IEEE\/CVF Conference on Computer Vision and Pattern Recognition (CVPR)"},{"key":"e_1_3_1_48_2","doi-asserted-by":"publisher","DOI":"10.1109\/TMM.2019.2951463"},{"key":"e_1_3_1_49_2","doi-asserted-by":"publisher","DOI":"10.1609\/aaai.v36i10.21434"}],"container-title":["Proceedings of the ACM on Software Engineering"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3643775","content-type":"unspecified","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3643775","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,2,4]],"date-time":"2026-02-04T08:02:01Z","timestamp":1770192121000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3643775"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2024,7,12]]},"references-count":48,"journal-issue":{"issue":"FSE","published-print":{"date-parts":[[2024,7,12]]}},"alternative-id":["10.1145\/3643775"],"URL":"https:\/\/doi.org\/10.1145\/3643775","relation":{},"ISSN":["2994-970X"],"issn-type":[{"value":"2994-970X","type":"electronic"}],"subject":[],"published":{"date-parts":[[2024,7,12]]}}}