Towards Generating Summaries for Lexically Confusing Code through Code Erosion
Open accessThe DOI matches its Crossref record; 25 of the 25 references it cites were found in a registry or an index.
Abstract
Code summarization aims to summarize code functionality as high-level nature language descriptions to assist in code comprehension. Recent approaches in this field mainly focus on generating summaries for code with precise identifier names, in which meaningful words can be found indicating code functionality. When faced with lexically confusing code, current approaches are likely to fail since the correlation between code lexical tokens and summaries is scarce. To tackle this problem, we propose a novel summarization framework named VECOS. VECOS introduces an erosion mechanism to conquer the model's reliance on precisely defined lexical information. To facilitate learning the eroded code's functionality, we force the representation of the eroded code to align with the representation of its original counterpart via variational inference. Experimental results show that our approach outperforms the state-of-the-art approaches to generate coherent and reliable summaries for various lexically confusing code.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Claims other papers make about this one
Each is checked against this paper’s own text: does it say what the citing paper says it does?
In the citing paper
“we refer to prior works focusing on code readability, which propose clear definitions regarding factors contained in code snippets [7, 55, 64], systematically categorize code features into three fundamental dimensions (semantics, format, and implementation details) based on established literature [9, 10, 16, 29, 82], and design mutation operators that comprehensively cover each dimension.”
From What Makes In-Context Examples Effective for Code Generation? (2026) · cites this paper as [82]
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A. N., Kaiser, L., & Polosukhin, I. (2017) · arXiv · doi:10.48550/arxiv.1706.03762 · Cited by 120,404
Exploiting Generative AI to Scale up Intelligent Tutoring Systems
Jakubův, J., Chvalovský, K., Goertzel, Z., Kaliszyk, C., Olšák, M., Piotrowski, B., Schulz, S., Suda, M., & Urban, J. (2023) · DROPS (Schloss Dagstuhl – Leibniz Center for Informatics) · doi:10.4230/lipics.itp.2023.19 · Cited by 76,658
Glove: Global Vectors for Word Representation
Pennington, J., Socher, R., & Manning, C. (2014) · Proceedings of the 2014 Conference on Empirical Methods in Natural Language Processing (EMNLP) · doi:10.3115/v1/d14-1162 · Cited by 34,071 · cited 1×
“The synonym is chosen by calculating the neighborhoods of word embeddings according to pre-trained GloVe embedding [Pennington et al. , 2014].”
MethodLearning Phrase Representations using RNN Encoder–Decoder for Statistical Machine Translation
Cho, K., van Merrienboer, B., Gulcehre, C., Bahdanau, D., Bougares, F., Schwenk, H., & Bengio, Y. (2014) · Proceedings of the 2014 Conference on Empirical Methods in Natural Language Processing (EMNLP) · doi:10.3115/v1/d14-1179 · Cited by 25,545
BLEU: a method for automatic evaluation of machine translation
Papineni, K., Roukos, S., Ward, T., & Zhu, W.-J. (2001) · Proceedings of the 40th Annual Meeting on Association for Computational Linguistics - ACL '02 · doi:10.3115/1073083.1073135 · Cited by 21,344 · cited 1×
“We use average BLEU [ Papineni et al. , 2002 ] and Ribes [ Isozaki et al. , 2010 ] as evaluation metrics to evaluate our approach measuring the correspondence between a generated summary and several output references.”
MethodAuto-Encoding Variational Bayes
Kingma, D. P., & Welling, M. (2013) · arXiv · doi:10.48550/arxiv.1312.6114 · Cited by 20,067
Learning Phrase Representations using RNN Encoder-Decoder for Statistical Machine Translation
Cho, K., van Merrienboer, B., Gulcehre, C., Bahdanau, D., Bougares, F., Schwenk, H., & Bengio, Y. (2014) · arXiv · doi:10.48550/arxiv.1406.1078 · Cited by 3,317
Improved Semantic Representations From Tree-Structured Long Short-Term Memory Networks
Tai, K. S., Socher, R., & Manning, C. D. (2015) · Proceedings of the 53rd Annual Meeting of the Association for Computational Linguistics and the 7th International Joint Conference on Natural Language Processing (Volume 1: Long Papers) · doi:10.3115/v1/p15-1150 · Cited by 3,081 · cited 2×
“We build our encoder based on Tree-LSTM [Tai et al. , 2015], which is a generalization of LSTM to tree-structured network topologies, traversing a single tree from leaf nodes to the root node.”
BackgroundMethodGenerating Sentences from a Continuous Space
Bowman, S. R., Vilnis, L., Vinyals, O., Dai, A., Jozefowicz, R., & Bengio, S. (2016) · Proceedings of The 20th SIGNLL Conference on Computational Natural Language Learning · doi:10.18653/v1/k16-1002 · Cited by 2,061 · cited 2×
“Since variational encoder-decoder framework is tricky with RNN models, (cid:21) kl is used to anneal the KL divergence to balance the value of the two terms [ Bowman et al. , 2015; Bahuleyan et al. , 2018 ] .”
MethodInfluentialSummarizing Source Code using a Neural Attention Model
Iyer, S., Konstas, I., Cheung, A., & Zettlemoyer, L. (2016) · Proceedings of the 54th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers) · doi:10.18653/v1/p16-1195 · Cited by 701
Cited by
CodeCipher: Learning to Obfuscate Source Code Against LLMsPreprint
Lin, Y., Wan, C., Fang, Y., & Gu, X. (2024) · arXiv (Cornell University) · doi:10.48550/arxiv.2410.05797 · Cited by 17
“Previous work has shown that LLMs can better handle obfuscated code when they are made aware of the obfuscation upfront (Yan & Li, 2021).”
BackgroundMa, Y.-F., & Li, M. (2022) · Proceedings · doi:10.1109/icdm54844.2022.00040 · Cited by 7
“VECOS [28] employs the abstract syntax tree based encoder-decoder to generate the code summary for the lexical confusing code.”
MethodSelf-citationHow Effectively Do Code Language Models Understand Poor-Readability Code?
Hu, C., Chai, Y., Zhou, H., Meng, F., Zhou, J., & Gu, X. (2024) · Proceedings of the 39th IEEE/ACM International Conference on Automated Software Engineering · doi:10.1145/3691620.3695072 · Cited by 6
“Overall, we employ seven rules for constructing obfuscated code: • Identifier Ordered Erosion (IOE) [7, 16, 40], replace identifiers in the code with ordered symbols such as "v0" and "v1", and modify the replaced identifier in the summary accordingly.”
Readability-Robust Code Summarization via Meta Curriculum LearningPreprint
Zeng, W., Chai, Y., Zhou, H., Meng, F., Zhou, J., & Gu, X. (2026) · arXiv (Cornell University) · doi:10.48550/arxiv.2601.05485 · Cited by 5
“To introduce controlled complexity, we apply code obfuscation techniques such as variable renaming with non-semantic symbols [9], [27], [28], [32] and insertion of dead code [25], [26], producing datasets with reduced readability (Levels 2 and 3).”
InfluentialGülay, B., & Yılmaz, C. (2025) · IEEE European Symposium on Security and Privacy Workshops (EuroS&PW) · doi:10.1109/eurospw67616.2025.00007 · Cited by 2
“Finally, research by Zhang et al. explored combining static analysis tools with LLMs for vulnerability detection in Java code (Bench-Java dataset) [15].”
VarGAN: Adversarial Learning of Variable Semantic Representations
Lin, Y., Wan, C., Bai, S., & Gu, X. (2024) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2024.3391730 · Cited by 2
“Removal or insufficient training of low-frequency variables could impact the mo coarse-grained requirements and lack relevant resources.del’s performance significantly [49].”
BackgroundCmdesum: A Cross-Modal Deliberation Network for Code Summarization
Liao, Z., Liu, X., Lan, P., Yu, S., & Liu, P. (2025) · IEEE International Conference on Program Comprehension (ICPC) · doi:10.1109/icpc66645.2025.00034 · Cited by 2
“Despite the commendable performance of many existing neural models [1–6], in this domain, they typically employ a single-pass encoding-decoding process to generate the final code comments.”
What Makes In-Context Examples Effective for Code Generation?
Li, D., Chen, S., Cao, J., & Cheung, S.-C. (2026) · Proceedings of the ACM on Software Engineering · doi:10.1145/3832275 · Cited by 3
Shen, X., Xi, S.-Z., Du, Y., & Li, M. (2026) · arXiv (Cornell University) · doi:10.48550/arxiv.2609.26388
Self-citation
Metadata
- Authors
- Yan, F., & Li, M.
- Affiliations
- National Key Laboratory for Novel Software Technology, Nanjing University
- Nanjing University (CN)
- ORCID
- Li, Ming
- Venue
- Proceedings of the Thirtieth International Joint Conference on Artificial Intelligence
- Published
- 2021-08
- Pages
- 3721-3727
- OpenAlex
- W3188431509
- Cited by
- 6
- References
- 24
- Citations by year
- 2026: 1 · 2025: 2 · 2024: 2 · 2022: 1
- FWCI
- 0.62
- Type
- conference paper
- Language
- en
- Open access
- bronze
- doi.org
- Locations
- International Joint Conference on Artificial Intelligence (publishedVersion)
- Funders
- National Natural Science Foundation of China (62076121)
- National Key Research and Development Program of China (2017YFB1001903)
- Topics
- Physical Sciences › Computer Science › Information Systems › Software Engineering Research
- Physical Sciences › Computer Science › Artificial Intelligence › Topic Modeling
- Physical Sciences › Computer Science › Software › Model-Driven Software Engineering Techniques
- Keywords
- code summarization, variational inference, program comprehension, lexical ambiguity
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.