Sign inGet started
Paper · arXiv

Adaptive Critical Token-Aware Retrieval for Repository-Level Code Generation

The repository-level code generation task requires synthesizing code that satisfies task requirements while remaining consistent with the target repository context. Since real-world repositories often exceed the input length limits of LLMs, existing approaches commonly adopt retrieval-augmented generation (RAG) to provide repository-specific context. Despite improving repository-context retrieval, existing methods typically provide context as task-level support, without explicitly identifying the critical tokens that require fine-grained repository context during generation. During the autoregressive generation process of LLMs, errors often concentrate at a small number of decisive positi...

AuthorsKefeng Duan, Dewu Zheng, Yanlin Wang et al.
Primary categorycs.SE
Published1 September 2026
Last updated at source1 September 2026
cs.SEcs.AIcs.CL
Embed this entry
<iframe src="https://silytics.si/embed/item/8ec31ae0-b80a-479f-8d38-d836ef410bda" width="420" height="190" style="border:0" loading="lazy" title="Silytics entry"></iframe>

Free, no tracking. More about feeds and embeds.

Silytics shows public metadata from arXiv and links to the original. Information may be incomplete or out of date. Last refreshed 17 October 2026. Licenses and terms of the original apply to the work itself. Not financial, legal or professional advice.