AI
Withdrawn Study Explores Knowledge Transfer to Enhance LLM Generalization in Code Tasks
Researchers investigated whether guiding large language models toward familiar APIs and code patterns could improve their ability to handle unseen software engineering tasks.
A now-withdrawn research paper from arXiv examined whether knowledge transfer techniques could boost the generalization capabilities of large language models (LLMs) on software engineering tasks.
Study Approach#
The research, originally submitted in August 2023 and later withdrawn, proposed a knowledge transfer method that guides LLMs toward similar and familiar APIs or code snippets encountered during training. The hypothesis was that this familiar grounding could help models better handle novel code patterns outside their training distribution.
Tested Applications#
The team applied their approach to three software engineering scenarios:
- API inference — predicting correct API calls
- Code example generation — producing relevant code samples
- FQN (Fully Qualified Name) inference — resolving class and method names
Key Findings#
The research identified three critical variables:
- Transfer span — how far the model reaches into its training knowledge
- Transfer strategy — the method used to execute knowledge transfer
- Transfer architecture — the underlying model structure
Results showed that hierarchical transfer strategies outperformed direct transfer approaches, and AI-Chain prompting techniques were more effective than Chain-of-Thought (CoT) designs.
Broader Implications#
While the paper focused on software engineering, the authors suggested that knowledge transfer principles could generalize to other natural language tasks where models must reason about unseen information. However, effectiveness varied by domain and task type, indicating that one-size-fits-all approaches may be insufficient.
The paper has been withdrawn and is no longer available on arXiv.

