Metraipolis › archive › dc_44bae7f8afac
Temporal Adaptive Fine-Tuning for Code Comprehension — arXiv:2610.19970
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2610.19970
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-15T21:48:55.833Z
- SHA-256 of the archived text
50c3f1bbbffc6d24d87d9988af359b7ce1680538e69138353407ff2c4acbb505- Stable URL of this page
https://metraipolis.com/documento/dc_44bae7f8afac
How to cite
Temporal Adaptive Fine-Tuning for Code Comprehension — arXiv:2610.19970 — arXiv (en), https://arxiv.org/abs/2610.19970 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_44bae7f8afac (Metraipolis archive dc_44bae7f8afac, sha256 50c3f1bbbffc6d24d87d9988af359b7ce1680538e69138353407ff2c4acbb505)
BibTeX
@misc{dc44bae7f8afac,
title = {Temporal Adaptive Fine-Tuning for Code Comprehension — arXiv:2610.19970},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2610.19970},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_44bae7f8afac; sha256 50c3f1bbbffc6d24d87d9988af359b7ce1680538e69138353407ff2c4acbb505},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2610.19970. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Repository-level code comprehension question answering (QA) supports developer reasoning over functionality and usage distributed across codebases. However, repository-specialized large language models (LLMs) can become misaligned as code evolves. We study this challenge as temporal repository adaptation: acquiring new knowledge, suppressing obsolete, retaining still-valid, and preserving semantically neighboring knowledge. Existing retrieval, fine-tuning, and model-editing methods address only parts of this problem. We propose Temporal Adaptive Fine-Tuning (TAFT), a novel adaptation approach that treats repository transitions as supervision. TAFT derives temporally grounded QA data from repository transitions, pairs newly valid with obsolete knowledge through preference optimization, and replays transition-conditioned retention examples to preserve still-valid knowledge. We evaluate TAFT on an augmented temporal SWE-bench dataset comprising 255,295 QA entries across ten temporal slices, comparing deferred (Baseline), per-slice retrained (Baseline-Batched), and variants with knowledge anchors along four dimensions: updated knowledge, obsolete-answer suppression, retention, and neighbor stability. TAFT consistently outperforms both the deferred and batched baselines, with an average relative improvement of 18% in updated/suppressed knowledge accuracy, doubled retention accuracy, and roughly 1.5 times the neighbor accuracy. With directly supplied knowledge anchors, TAFT-KANT further improves mean updated/suppressed, retention, and neighbor accuracy over TAFT by 3.55%, 8.35%, and 13.00%, respectively. Overall, TAFT demonstrates its effectiveness across all evaluated areas, effectively enabling code comprehension QA alignment with repository evolution. Tema degli esploratori: calcolo e infrastrutture (elenco arXiv cs.SE, nuovi lavori del giorno). Categorie arXiv: Software Engineering (cs.SE). Pagina del lavoro: https://arxiv.org/abs/2610.19970 — 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-10-15T21:34:29.592Z dalla pagina https://arxiv.org/list/cs.SE/new (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).