AIIC AI Intelligence Centre

SOURCE-LINKED INTELLIGENCE

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

arXiv · AI, language, vision and robotics · article · Sep 1, 2026 · UTC

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 autoreg

Read original source ↗ Open in workspace

recordType
paper
region
Global

Evidence & attribution

First collected: 2026-09-21T06:01:56.170Z. This is not the publication date.