Skip to main content

Showing 1–5 of 5 results for author: Karas, Z

  1. arXiv:2405.18573  [pdf, other

    cs.SE

    Programmer Visual Attention During Context-Aware Code Summarization

    Authors: Aakash Bansal, Robert Wallace, Zachary Karas, Ningzhi Tang, Yu Huang, Toby Jia-Jun Li, Collin McMillan

    Abstract: Abridged: Programmer attention represents the visual focus of programmers on parts of the source code in pursuit of programming tasks. We conducted an in-depth human study with XY Java programmers, where each programmer generated summaries for 40 methods from five large Java projects over five one-hour sessions. We used eye-tracking equipment to map the visual attention of programmers while they w… ▽ More

    Submitted 28 May, 2024; originally announced May 2024.

    Comments: 10 pages, 4 figures, 4 tables. this is a pre-print submitted to IEEE Transactions on Software Engineering for review

  2. Do Machines and Humans Focus on Similar Code? Exploring Explainability of Large Language Models in Code Summarization

    Authors: Jiliang Li, Yifan Zhang, Zachary Karas, Collin McMillan, Kevin Leach, Yu Huang

    Abstract: Recent language models have demonstrated proficiency in summarizing source code. However, as in many other domains of machine learning, language models of code lack sufficient explainability. Informally, we lack a formulaic or intuitive understanding of what and how models learn from code. Explainability of language models can be partially provided if, as the models learn to produce higher-quality… ▽ More

    Submitted 21 February, 2024; originally announced February 2024.

  3. arXiv:2402.14096  [pdf, other

    cs.SE cs.AI cs.HC

    EyeTrans: Merging Human and Machine Attention for Neural Code Summarization

    Authors: Yifan Zhang, Jiliang Li, Zachary Karas, Aakash Bansal, Toby Jia-Jun Li, Collin McMillan, Kevin Leach, Yu Huang

    Abstract: Neural code summarization leverages deep learning models to automatically generate brief natural language summaries of code snippets. The development of Transformer models has led to extensive use of attention during model design. While existing work has primarily and almost exclusively focused on static properties of source code and related structural representations like the Abstract Syntax Tree… ▽ More

    Submitted 29 February, 2024; v1 submitted 21 February, 2024; originally announced February 2024.

  4. arXiv:2308.13920  [pdf, other

    cs.SE cs.HC

    Modeling Programmer Attention as Scanpath Prediction

    Authors: Aakash Bansal, Chia-Yi Su, Zachary Karas, Yifan Zhang, Yu Huang, Toby Jia-Jun Li, Collin McMillan

    Abstract: This paper launches a new effort at modeling programmer attention by predicting eye movement scanpaths. Programmer attention refers to what information people intake when performing programming tasks. Models of programmer attention refer to machine prediction of what information is important to people. Models of programmer attention are important because they help researchers build better interfac… ▽ More

    Submitted 26 August, 2023; originally announced August 2023.

    Comments: Accepter at ASE2023 NIER Track. 4 pages + 1 page for references, 4 figures, 1 table

  5. arXiv:2102.12376  [pdf, other

    cs.SE

    Relating Reading, Visualization, and Coding for New Programmers: A Neuroimaging Study

    Authors: Madeline Endres, Zachary Karas, Xiaosu Hu, Ioulia Kovelman, Westley Weimer

    Abstract: Understanding how novices reason about coding at a neurological level has implications for training the next generation of software engineers. In recent years, medical imaging has been increasingly employed to investigate patterns of neural activity associated with coding activity. However, such studies have focused on advanced undergraduates and professionals. In a human study of 31 participants,… ▽ More

    Submitted 7 March, 2021; v1 submitted 24 February, 2021; originally announced February 2021.

    Comments: 11 pages, 7 figures, to be published in the proceedings of the 2021 IEEE/ACM 43rd International Conference on Software Engineering (ICSE)