mlsanityData to 7 Oct 2026

Developer-Intent Driven Code Comment Generation

arXiv 2302.07055 ↗First posted 14 Feb 2023cs.SEcited by 16

Not on the map. Why?

Abstract (arXiv)

Existing automatic code comment generators mainly focus on producing a general description of functionality for a given code snippet without considering developer intentions. However, in real-world practice, comments are complicated, which often contain information reflecting various intentions of developers, e.g., functionality summarization, design rationale, implementation details, code properties, etc. To bridge the gap between automatic code comment generation and real-world comment practice, we define Developer-Intent Driven Code Comment Generation, which can generate intent-aware comments for the same source code with different intents. To tackle this challenging task, we propose DOME, an approach that utilizes Intent-guided Selective Attention to explicitly select intent-relevant information from the source code, and produces various comments reflecting different intents. Our approach is evaluated on two real-world Java datasets, and the experimental results show that our approach outperforms the state-of-the-art baselines. A human evaluation also confirms the significant potential of applying DOME in practical usage, enabling developers to comment code effectively according to their own needs.

Key facts. Cited by 16 papers in the map (data through 7 Oct 2026). First posted on arXiv 14 Feb 2023.

Builds on

No reference list yet.

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 7; 2025: 7; 2026: 2.

16 papers.

Sort:

By area:

  1. 2024MAGIS: LLM-Based Multi-Agent Framework for GitHub Issue Resolutioncited by 132
  2. 2024Source Code Summarization in the Era of Large Language Modelscited by 30
  3. 2024Can LLMs Generate Architectural Design Decisions? -An Exploratory Empirical studycited by 19
  4. 2025Enhancing LLM Performance Through Debate: An Empirical Study on Multi-Agent Debate for Coding Taskscited by 11
  5. 2024Natural Language Outlines for Code: Literate Programming in the LLM Eracited by 9
  6. 2025Small Models, Big Tasks: An Exploratory Empirical Study on Small Language Models for Function Callingcited by 7
  7. 2025Hierarchical Repository-Level Code Summarization for Business Applications Using Local LLMscited by 6
  8. 2025Large Language Models are Qualified Benchmark Builders: Rebuilding Pre-Training Datasets for Advancing Code Intelligence Taskscited by 6
  9. 2025Issue-Oriented Agent-Based Framework for Automated Review Comment Generationcited by 4
  10. 2024MESIA: Understanding and Leveraging Supplementary Nature of Method-level Comments for Automatic Comment Generationcited by 2
  11. 2024Icing on the Cake: Automatic Code Summarization at Ericssoncited by 2
  12. 2024Selective Shot Learning for Code Explanationcited by 1
4 more
  1. 2025AI-Mediated Code Comment Improvementcited by 0
  2. 2025Issue Retrieval and Verification Enhanced Supplementary Code Comment Generationcited by 0
  3. 2026On the Impact of Code Comments for Automated Bug-Fixing: An Empirical Studycited by 0
  4. 2026Precision in Practice: Knowledge Guided Code Summarizing Grounded in Industrial Expectationscited by 0