{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,10,31]],"date-time":"2026-10-31T20:32:25Z","timestamp":1793478745120,"version":"4.5.0"},"reference-count":57,"publisher":"Springer Science and Business Media LLC","issue":"1","license":[{"start":{"date-parts":[[2025,8,29]],"date-time":"2025-08-29T00:00:00Z","timestamp":1756425600000},"content-version":"tdm","delay-in-days":0,"URL":"https:\/\/www.springernature.com\/gp\/researchers\/text-and-data-mining"},{"start":{"date-parts":[[2025,8,29]],"date-time":"2025-08-29T00:00:00Z","timestamp":1756425600000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/www.springernature.com\/gp\/researchers\/text-and-data-mining"}],"content-domain":{"domain":["link.springer.com"],"crossmark-restriction":false},"short-container-title":["Autom Softw Eng"],"published-print":{"date-parts":[[2026,5]]},"DOI":"10.1007\/s10515-025-00545-1","type":"journal-article","created":{"date-parts":[[2025,8,29]],"date-time":"2025-08-29T03:19:06Z","timestamp":1756437546000},"update-policy":"https:\/\/doi.org\/10.1007\/springer_crossmark_policy","source":"Crossref","is-referenced-by-count":3,"title":["Enhancing the ability of LLMs for spaceborne equipment code generation via retrieval-augmented generation and contrastive learning"],"prefix":"10.1007","volume":"33","author":[{"given":"Rui","family":"He","sequence":"first","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Liang","family":"Zhang","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Liangqing","family":"Lyu","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Changbin","family":"Xue","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"297","published-online":{"date-parts":[[2025,8,29]]},"reference":[{"key":"545_CR1","doi-asserted-by":"crossref","unstructured":"Ahmad, W.U., Chakraborty, S., Ray, B., et\u00a0al.: Unified pre-training for program understanding and generation. (2021). arXiv:2103.06333","DOI":"10.18653\/v1\/2021.naacl-main.211"},{"key":"545_CR2","doi-asserted-by":"publisher","first-page":"315","DOI":"10.1007\/s10009-013-0292-z","volume":"16","author":"A Alnusair","year":"2014","unstructured":"Alnusair, A., Zhao, T., Yan, G.: Rule-based detection of design patterns in program code. Int. J. Softw. Tools Technol. Transfer 16, 315\u2013334 (2014)","journal-title":"Int. J. Softw. Tools Technol. Transfer"},{"issue":"05","key":"545_CR3","doi-asserted-by":"publisher","first-page":"2230008","DOI":"10.1142\/S0218271822300087","volume":"31","author":"JL Atteia","year":"2022","unstructured":"Atteia, J.L., Cordier, B., Wei, J.: The SVOM mission. Int. J. Mod. Phys. D 31(05), 2230008 (2022)","journal-title":"Int. J. Mod. Phys. D"},{"key":"545_CR4","unstructured":"Bang, Y., Cahyawijaya, S., Lee, N., et\u00a0al.: A multitask, multilingual, multimodal evaluation of ChatGPT on reasoning, hallucination, and interactivity. (2023). arXiv:2302.04023"},{"key":"545_CR5","doi-asserted-by":"crossref","unstructured":"Burmester, S., Giese, H., Sch\u00e4fer, W.: Model-driven architecture for hard real-time systems: From platform independent models to code. In: Model Driven Architecture\u2013Foundations and Applications: First European Conference, ECMDA-FA 2005, Nuremberg, Germany, November 7-10, 2005. Proceedings 1, Springer, pp. 25\u201340. (2005)","DOI":"10.1007\/11581741_4"},{"key":"545_CR6","unstructured":"Chen, B., Zhang, F., Nguyen, A., et\u00a0al.: Codet: Code generation with generated tests. (2022). arXiv:2207.10397"},{"issue":"01","key":"545_CR7","doi-asserted-by":"publisher","first-page":"8","DOI":"10.16804\/j.cnki.issn1006-3242.2025.01.006","volume":"43","author":"X Chen","year":"2025","unstructured":"Chen, X., Gao, F., Han, X., et al.: Large model code generation technology and its potential applications to aerospace. Aerosp. Control 43(01), 8\u201316 (2025). https:\/\/doi.org\/10.16804\/j.cnki.issn1006-3242.2025.01.006","journal-title":"Aerosp. Control"},{"key":"545_CR8","doi-asserted-by":"crossref","unstructured":"Clement, C.B., Drain, D., Timcheck, J., et\u00a0al.: PyMT5: multi-mode translation of natural language and python code with transformers. (2020). arXiv:2010.03150","DOI":"10.18653\/v1\/2020.emnlp-main.728"},{"key":"545_CR9","doi-asserted-by":"crossref","unstructured":"Dai, Z.: Transformer-XL: Attentive language models beyond a fixed-length context. (2019). arXiv:1901.02860","DOI":"10.18653\/v1\/P19-1285"},{"key":"545_CR10","unstructured":"Devlin, J.: BERT: Pre-training of deep bidirectional transformers for language understanding. (2018). arXiv:1810.04805"},{"key":"545_CR11","unstructured":"Drain, D., Hu, C., Wu, C., et\u00a0al.: Generating code with the help of retrieved template functions and stack overflow answers. (2021). arXiv:2104.05310"},{"key":"545_CR12","doi-asserted-by":"crossref","unstructured":"Feng, Z., Guo, D., Tang, D., et\u00a0al.: CodeBERT: A pre-trained model for programming and natural languages. (2020). arXiv:2002.08155","DOI":"10.18653\/v1\/2020.findings-emnlp.139"},{"key":"545_CR13","unstructured":"Fried, D., Aghajanyan, A., Lin, J., et\u00a0al.: Incoder: A generative model for code infilling and synthesis. (2022). arXiv:2204.05999"},{"key":"545_CR14","doi-asserted-by":"crossref","unstructured":"Guo, D., Tang, D., Duan, N., et\u00a0al.: Coupling retrieval and meta-learning for context-dependent semantic parsing. (2019). arXiv:1906.07108","DOI":"10.18653\/v1\/P19-1082"},{"key":"545_CR15","unstructured":"Guo, D., Ren, S., Lu, S., et\u00a0al.: GraphCodeBERT: Pre-training code representations with data flow. (2020). arXiv:2009.08366"},{"key":"545_CR16","doi-asserted-by":"crossref","unstructured":"Guo, D., Lu, S., Duan, N., et\u00a0al.: UniXcoder: Unified cross-modal pre-training for code representation. (2022). arXiv:2203.03850","DOI":"10.18653\/v1\/2022.acl-long.499"},{"key":"545_CR17","unstructured":"Hashimoto, T.B., Guu, K., Oren, Y., et\u00a0al.: A retrieve-and-edit framework for predicting structured outputs. Advances in Neural Information Processing Systems 31 (2018)"},{"key":"545_CR18","doi-asserted-by":"crossref","unstructured":"Hayati, S.A., Olivier, R., Avvaru, P., et\u00a0al.: Retrieval-based neural code generation. (2018). arXiv:1808.10025","DOI":"10.18653\/v1\/D18-1111"},{"key":"545_CR19","doi-asserted-by":"crossref","unstructured":"Iyer, S., Konstas, I., Cheung, A., et\u00a0al.: Mapping language to code in programmatic context. (2018). arXiv:1808.09588","DOI":"10.18653\/v1\/D18-1192"},{"key":"545_CR20","doi-asserted-by":"crossref","unstructured":"Jain, N., Vaidyanath, S., Iyer, A., et\u00a0al.: Jigsaw: Large language models meet program synthesis. In: Proceedings of the 44th International Conference on Software Engineering. pp. 1219\u20131231 (2022)","DOI":"10.1145\/3510003.3510203"},{"key":"545_CR21","doi-asserted-by":"crossref","unstructured":"Jugel, U., Preu\u00dfner, A.: A case study on API generation. In: System Analysis and Modeling: About Models: 6th International Workshop, SAM 2010, Oslo, Norway, October 4-5, 2010, Revised Selected Papers 6, pp. 156\u2013172. Springer (2011)","DOI":"10.1007\/978-3-642-21652-7_10"},{"key":"545_CR22","unstructured":"Kanade, A., Maniatis, P., Balakrishnan, G., et\u00a0al.: Learning and evaluating contextual embedding of source code. In: International Conference on Machine Learning, PMLR, pp. 5110\u20135121 (2020)"},{"key":"545_CR23","doi-asserted-by":"publisher","first-page":"229","DOI":"10.1007\/s10270-015-0455-3","volume":"16","author":"DS Kolovos","year":"2017","unstructured":"Kolovos, D.S., Garc\u00eda-Dom\u00ednguez, A., Rose, L.M., et al.: Eugenia: Towards disciplined and automated development of GMF-based graphical model editors. Softw. Syst. Model. 16, 229\u2013255 (2017)","journal-title":"Softw. Syst. Model."},{"key":"545_CR24","doi-asserted-by":"crossref","unstructured":"Koziolek, H., Burger, A., Platenius-Mohr, M., et\u00a0al.: Rule-based code generation in industrial automation: four large-scale case studies applying the cayenne method. In: Proceedings of the ACM\/IEEE 42nd International Conference on Software Engineering: Software Engineering in Practice, pp. 152\u2013161 (2020)","DOI":"10.1145\/3377813.3381354"},{"key":"545_CR25","first-page":"21314","volume":"35","author":"H Le","year":"2022","unstructured":"Le, H., Wang, Y., Gotmare, A.D., et al.: CodeRL: Mastering code generation through pretrained models and deep reinforcement learning. Adv. Neural. Inf. Process. Syst. 35, 21314\u201321328 (2022)","journal-title":"Adv. Neural. Inf. Process. Syst."},{"key":"545_CR26","doi-asserted-by":"crossref","unstructured":"Ling, W., Grefenstette, E., Hermann, K.M., et\u00a0al.: Latent predictor networks for code generation. (2016). arXiv:1603.06744","DOI":"10.18653\/v1\/P16-1057"},{"key":"545_CR27","doi-asserted-by":"crossref","unstructured":"Liu, F., Li, G., Wei, B., et\u00a0al.: A self-attentional neural architecture for code completion with multi-task learning. In: Proceedings of the 28th International Conference on Program Comprehension, pp. 37\u201347 (2020)","DOI":"10.1145\/3387904.3389261"},{"key":"545_CR28","doi-asserted-by":"crossref","unstructured":"Ni, C., Shen, L., Wang, W., et\u00a0al.: Fva: Assessing function-level vulnerability by integrating flow-sensitive structure and code statement semantic. In: 2023 IEEE\/ACM 31st International Conference on Program Comprehension (ICPC), pp. 339\u2013350. IEEE (2023a)","DOI":"10.1109\/ICPC58990.2023.00048"},{"key":"545_CR29","doi-asserted-by":"crossref","unstructured":"Ni, C., Yin, X., Yang, K., et\u00a0al.: Distinguishing look-alike innocent and vulnerable code by subtle semantic representation learning and explanation. In: Proceedings of the 31st ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering, pp. 1611\u20131622 (2023b)","DOI":"10.1145\/3611643.3616358"},{"key":"545_CR30","doi-asserted-by":"crossref","unstructured":"Ni, C., Yin, X., Li, X., et\u00a0al.: Abundant modalities offer more nutrients: Multi-modal-based function-level vulnerability detection. ACM Transactions on Software Engineering and Methodology (2025)","DOI":"10.1145\/3731557"},{"key":"545_CR31","unstructured":"Nijkamp, E., Pang, B., Hayashi, H., et\u00a0al.: Codegen: An open large language model for code with multi-turn program synthesis. (2022). arXiv:2203.13474"},{"key":"545_CR32","unstructured":"Oord, A.V.D., Li, Y., Vinyals, O.: Representation learning with contrastive predictive coding. (2018). arXiv:1807.03748"},{"key":"545_CR33","first-page":"27730","volume":"35","author":"L Ouyang","year":"2022","unstructured":"Ouyang, L., Wu, J., Jiang, X., et al.: Training language models to follow instructions with human feedback. Adv. Neural. Inf. Process. Syst. 35, 27730\u201327744 (2022)","journal-title":"Adv. Neural. Inf. Process. Syst."},{"key":"545_CR34","unstructured":"Park, D.H., Kim, S.D.: Xml rule based source code generator for UML CASE tool. In: Proceedings Eighth Asia-Pacific Software Engineering Conference, pp. 53\u201360. IEEE (2001)"},{"key":"545_CR35","doi-asserted-by":"crossref","unstructured":"Parvez, M.R., Ahmad, W.U., Chakraborty, S., et\u00a0al.: Retrieval augmented code generation and summarization. (2021). arXiv:2108.11601","DOI":"10.18653\/v1\/2021.findings-emnlp.232"},{"key":"545_CR36","doi-asserted-by":"crossref","unstructured":"Peng, Z., Yin, X., Qian, R., et\u00a0al.: Soleval: Benchmarking large language models for repository-level solidity code generation. (2025a). arXiv:2502.18793","DOI":"10.18653\/v1\/2025.emnlp-main.218"},{"key":"545_CR37","unstructured":"Peng, Z., Yin, X., Ying, C., et\u00a0al.: A preference-driven methodology for high-quality solidity code generation. (2025b). arXiv:2506.03006"},{"issue":"3","key":"545_CR38","doi-asserted-by":"publisher","first-page":"333","DOI":"10.1561\/1500000019","volume":"3","author":"S Robertson","year":"2009","unstructured":"Robertson, S., Zaragoza, H., et al.: The probabilistic relevance framework: BM25 and beyond. Found. Trends\u00ae Inf. Retr. 3(3), 333\u2013389 (2009)","journal-title":"Found. Trends\u00ae Inf. Retr."},{"key":"545_CR39","doi-asserted-by":"crossref","unstructured":"Sun, Z., Zhu, Q., Mou, L., et\u00a0al.: A grammar-based structural CNN decoder for code generation. In: Proceedings of the AAAI Conference on Artificial Intelligence, pp. 7055\u20137062 (2019)","DOI":"10.1609\/aaai.v33i01.33017055"},{"key":"545_CR40","unstructured":"Sundkvist, D.J., Saint-Hilaire, P., Bain, H.M., et\u00a0al.: CURIE: Cubesat radio interferometry experiment. In: AGU Fall Meeting Abstracts, pp. SH11C\u20132271 (2016)"},{"key":"545_CR41","unstructured":"Sutskever, I.: Sequence to sequence learning with neural networks. (2014). arXiv:1409.3215"},{"key":"545_CR42","doi-asserted-by":"crossref","unstructured":"Svyatkovskiy, A., Deng, S.K., Fu, S., et\u00a0al.: Intellicode compose: Code generation using transformer. In: Proceedings of the 28th ACM joint meeting on European software engineering conference and symposium on the foundations of software engineering, pp. 1433\u20131443 (2020)","DOI":"10.1145\/3368089.3417058"},{"issue":"3","key":"545_CR43","doi-asserted-by":"publisher","first-page":"283","DOI":"10.1177\/15485129211033038","volume":"21","author":"D Tompros","year":"2024","unstructured":"Tompros, D., Mouzakis, D.E.: Space environment effects on equipment and structures\u2013current and future technologies. J. Def. Model. Simul. 21(3), 283\u2013291 (2024)","journal-title":"J. Def. Model. Simul."},{"key":"545_CR44","unstructured":"Vaswani, A.: Attention is all you need. Advances in Neural Information Processing Systems (2017)"},{"key":"545_CR45","doi-asserted-by":"crossref","unstructured":"Wang, X., Wang, Y., Wan, Y., et\u00a0al.: Compilable neural code generation with compiler feedback. (2022). arXiv:2203.05132","DOI":"10.18653\/v1\/2022.findings-acl.2"},{"key":"545_CR46","doi-asserted-by":"crossref","unstructured":"Wang, Y., Wang, W., Joty, S., et\u00a0al.: Codet5: Identifier-aware unified pre-trained encoder-decoder models for code understanding and generation. (2021). arXiv:2109.00859","DOI":"10.18653\/v1\/2021.emnlp-main.685"},{"key":"545_CR47","doi-asserted-by":"crossref","unstructured":"Yin, P., Neubig, G.: A syntactic neural model for general-purpose code generation. (2017). arXiv:1704.01696","DOI":"10.18653\/v1\/P17-1041"},{"key":"545_CR48","doi-asserted-by":"crossref","unstructured":"Yin, X., Ni, C., Nguyen, T.N., et\u00a0al.: Rectifier: Code translation with corrector via LLMs. (2024a). arXiv:2407.07472","DOI":"10.2139\/ssrn.5165318"},{"key":"545_CR49","doi-asserted-by":"crossref","unstructured":"Yin, X., Ni, C., Wang, S.: Multitask-based evaluation of open-source LLM on software vulnerability. IEEE Transactions on Software Engineering (2024b)","DOI":"10.1109\/TSE.2024.3470333"},{"key":"545_CR50","doi-asserted-by":"crossref","unstructured":"Yin, X., Ni, C., Wang, S., et\u00a0al.: Thinkrepair: Self-directed automated program repair. In: Proceedings of the 33rd ACM SIGSOFT International Symposium on Software Testing and Analysis, pp. 1274\u20131286 (2024c)","DOI":"10.1145\/3650212.3680359"},{"key":"545_CR51","doi-asserted-by":"crossref","unstructured":"Yin, X., Ni, C., Xu, X., et\u00a0al.: Enhancing discriminative tasks by guiding the pre-trained language model with large language model\u2019s experience. (2024d). arXiv:2408.08553","DOI":"10.2139\/ssrn.5293362"},{"key":"545_CR52","doi-asserted-by":"crossref","unstructured":"Yin, X., Ni, C., Xu, X., et\u00a0al.: What you see is what you get: Attention-based self-guided automatic unit test generation. (2024e). arXiv:2412.00828","DOI":"10.1109\/ICSE55347.2025.00105"},{"issue":"10","key":"545_CR53","doi-asserted-by":"publisher","first-page":"244","DOI":"10.3390\/machines9100244","volume":"9","author":"KL Yung","year":"2021","unstructured":"Yung, K.L., Tang, Y.M., Ip, W.H., et al.: A systematic review of product design for space instrument innovation, reliability, and manufacturing. Machines 9(10), 244 (2021)","journal-title":"Machines"},{"key":"545_CR54","doi-asserted-by":"crossref","unstructured":"Zan, D., Chen, B., Lin, Z., et\u00a0al.: When language model meets private library. (2022a). arXiv:2210.17236","DOI":"10.18653\/v1\/2022.findings-emnlp.21"},{"key":"545_CR55","doi-asserted-by":"crossref","unstructured":"Zan, D., Chen, B., Yang, D., et\u00a0al.: Cert: continual pre-training on sketches for library-oriented code generation. (2022b). arXiv:2206.06888","DOI":"10.24963\/ijcai.2022\/329"},{"issue":"10","key":"545_CR56","doi-asserted-by":"publisher","first-page":"1188","DOI":"10.1038\/s41550-023-02038-1","volume":"7","author":"X Zeng","year":"2023","unstructured":"Zeng, X., Liu, D., Chen, Y., et al.: Landing site of the Chang\u2019e-6 lunar farside sample return mission from the Apollo basin. Nat. Astron. 7(10), 1188\u20131197 (2023)","journal-title":"Nat. Astron."},{"key":"545_CR57","unstructured":"Zhang, T., Yu, T., Hashimoto, T., et\u00a0al.: Coder reviewer reranking for code generation. In: International Conference on Machine Learning, PMLR, pp. 41832\u201341846 (2023)"}],"container-title":["Automated Software Engineering"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/link.springer.com\/content\/pdf\/10.1007\/s10515-025-00545-1.pdf","content-type":"application\/pdf","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/link.springer.com\/article\/10.1007\/s10515-025-00545-1","content-type":"text\/html","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/link.springer.com\/content\/pdf\/10.1007\/s10515-025-00545-1.pdf","content-type":"application\/pdf","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,1,19]],"date-time":"2026-01-19T11:14:45Z","timestamp":1768821285000},"score":1,"resource":{"primary":{"URL":"https:\/\/link.springer.com\/10.1007\/s10515-025-00545-1"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2025,8,29]]},"references-count":57,"journal-issue":{"issue":"1","published-print":{"date-parts":[[2026,5]]}},"alternative-id":["545"],"URL":"https:\/\/doi.org\/10.1007\/s10515-025-00545-1","relation":{},"ISSN":["0928-8910","1573-7535"],"issn-type":[{"value":"0928-8910","type":"print"},{"value":"1573-7535","type":"electronic"}],"subject":[],"published":{"date-parts":[[2025,8,29]]},"assertion":[{"value":"20 February 2025","order":1,"name":"received","label":"Received","group":{"name":"ArticleHistory","label":"Article History"}},{"value":"27 July 2025","order":2,"name":"accepted","label":"Accepted","group":{"name":"ArticleHistory","label":"Article History"}},{"value":"29 August 2025","order":3,"name":"first_online","label":"First Online","group":{"name":"ArticleHistory","label":"Article History"}},{"order":1,"name":"Ethics","group":{"name":"EthicsHeading","label":"Declarations"}},{"value":"The authors declare no competing interests.","order":2,"name":"Ethics","group":{"name":"EthicsHeading","label":"Competing interests"}}],"article-number":"1"}}