Metraipolis › archive › dc_6a20682b06f8

Feeling Easier, Working Harder: Cognitive Load in AI-Assisted Code Comprehension — arXiv:2611.12019

Source
arXiv (en)
Original
https://arxiv.org/abs/2611.12019
License (as archived)
CC0-1.0
Archived
2026-11-10T18:43:51.928Z
SHA-256 of the archived text
73a22f18daca581204ecd180663e972566cf381021ec801737fb10ee714044f1
Stable URL of this page
https://metraipolis.com/documento/dc_6a20682b06f8

How to cite

Feeling Easier, Working Harder: Cognitive Load in AI-Assisted Code Comprehension — arXiv:2611.12019 — arXiv (en), https://arxiv.org/abs/2611.12019 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_6a20682b06f8 (Metraipolis archive dc_6a20682b06f8, sha256 73a22f18daca581204ecd180663e972566cf381021ec801737fb10ee714044f1)
BibTeX
@misc{dc6a20682b06f8,
  title = {Feeling Easier, Working Harder: Cognitive Load in AI-Assisted Code Comprehension — arXiv:2611.12019},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2611.12019},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_6a20682b06f8; sha256 73a22f18daca581204ecd180663e972566cf381021ec801737fb10ee714044f1},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2611.12019. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

Software developers spend significant time reading and understanding code, increasingly supplemented by generative AI. While these tools aim to reduce the difficulty of reading code, interacting with them introduces a dual-task environment that may impose extraneous cognitive load that is challenging to capture. This study investigates how access to generative AI affects developers' real-time cognitive workload, code comprehension performance, and self-perceived code comprehension strategies. We conducted a 3x2 within-subjects study with 20 novice CS students reviewing Java code snippets of varying lengths with or without AI assistance, followed by an AI-unassisted comprehension quiz. Cognitive workload was continuously captured using a Detection-Response Task (tDRT) during both reading and quiz phases, and compared to post-quiz NASA-TLX and SEQ scores. AI assistance significantly increased objective cognitive workload, raising tDRT reaction times by 11.2%, yet participants' perceived workload remained unchanged. Code comprehension scores were high under both conditions, with no evidence that AI assistance improved comprehension at the difficulty levels evaluated; a ceiling effect limited power to detect benefits on harder tasks. Qualitatively, participants reported trusting the AI conditionally -verifying its output against their own reading for more complex snippets, but directly trusting it for simpler code- and, while many felt their reading process was unchanged, a notable subset shifted toward skimming or reading the AI's explanations in place of the code itself. These findings reveal that developers do not accurately perceive the cognitive resources they expend when managing AI tools. This study provides evidence of added cognitive effort associated with using generative AI, pointing towards a need to account for this dual-task penalty in software engineering tools and education.

Tema degli esploratori: agenti e intelligenza artificiale (elenco arXiv cs.AI, nuovi lavori del giorno).
Categorie arXiv: Software Engineering (cs.SE) ; Artificial Intelligence (cs.AI).
Pagina del lavoro: https://arxiv.org/abs/2611.12019 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-11-10T18:37:37.673Z dalla pagina https://arxiv.org/list/cs.AI/new (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).