Manuscript Offprint

arXiv:2610.02150

From Knowledge Access to Source Learning: Developing Source-Specific Competence

Lucheng Fu, Kejing Xia, Yiyang Wang, Yiqiao Jin, Jinjin He, Xiyuan Yang, Haoxin Liu, Ye Yu, Haibo Jin, Yijia Xiao, Wenke Lee, B. Aditya Prakash, Haohan Wang

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original. This text is shared under the same licence.

Lucheng Fu 1^{1}, Kejing Xia 1^{1}, Yiyang Wang 1^{1}, Yiqiao Jin 1^{1}, Jinjin He 1^{1}, Xiyuan Yang 2^{2}, Haoxin Liu 1^{1}, Ye Yu 2^{2}, Haibo Jin 2^{2}, Yijia Xiao 3^{3}, Wenke Lee 1†^{1\dagger}, B. Aditya Prakash 1†^{1\dagger}, Haohan Wang 2†^{2\dagger}

1^{1}Georgia Institute of Technology 2^{2}University of Illinois at Urbana-Champaign

3^{3}University of California, Los Angeles

Website: https://sourcelearn.github.io/

GitHub: https://github.com/luchengfu6/SourceLearn

Large language model (LLM) agents increasingly rely on persistent external sources to solve sequences of knowledge-intensive tasks. Existing methods improve how source content is accessed and organized, while agent-memory systems preserve reusable knowledge from prior interactions, but repeated use of the same source is still largely treated as repeated access rather than an opportunity to progressively improve understanding of that source. We study source learning: developing reusable source-specific competence over a persistent authoritative source. We represent this competence with a persistent source model that captures reusable understanding of the source, including how its knowledge is structured, interpreted, and applied. To construct and progressively refine such models, we propose SourceLearn, which combines two complementary learning mechanisms. Self-Directed Source Learning identifies what remains incompletely understood and adaptively revisits the source, while Task-Guided Source Learning uses downstream experience to reveal local representational gaps and recurring needs in how source knowledge should be organized. In both cases, learning signals determine what should be reconsidered, while persistent updates are reconstructed from the authoritative source. Across five benchmarks and three LLM backends, SourceLearn achieves the best performance in 13 of 15 settings, with gains of up to 22.6 points over Hybrid RAG and substantial overall improvements over static source representations and experience-based memory baselines.

1 Introduction

Large language model (LLM) agents increasingly rely on external sources to solve knowledge-intensive tasks. Here, a source denotes an identifiable body of external knowledge, such as a document collection, a code repository, or API documentation. Existing work has substantially improved how such sources are accessed and organized through retrieval, long-context modeling, and structured source representations [1–6]. In parallel, agent-memory methods preserve reusable knowledge acquired from prior interactions so that experience can influence future behavior [7–9]. These directions make source content easier to access and organize, and past experience easier to reuse, but they optimize different objects: source-access methods primarily support query-time use of external knowledge, while agent memory primarily preserves knowledge derived from previous interactions. When many tasks depend on the same source, an additional opportunity arises: the agent can use prior study and task experience to improve how it represents and uses that source.

†^{\dagger}Corresponding authors.

Contact: luchengfu@gatech.edu

This motivates a complementary learning problem: can repeated interaction with the source progressively develop reusable competence about the source itself, beyond repeatedly accessing its content or simply accumulating task experience?

We call this process source learning. Its goal is to develop source-specific competence: reusable understanding of a source that can be applied to new tasks grounded in that source. Such competence goes beyond retaining or compressing source content: it captures how source knowledge is structured, interpreted, and applied, including relationships among concepts, conditions governing their applicability, procedures, and how different pieces of information combine to support future reasoning and action. For example, an agent studying API documentation may learn how prerequisites and dependencies connect multiple calls, enabling it to reason about new combinations of those calls. In our setting, the source is persistent in that it remains available across tasks, and authoritative in that it serves as the reference for factual content. The agent's accumulated understanding complements rather than replaces direct access to this source. Repeated study and use can reveal gaps in this understanding and guide its refinement, turning source use into a cumulative learning process rather than a sequence of isolated access events.

Developing such competence raises two key challenges. I) What source knowledge should be learned before future tasks are known? A source may contain far more information than should be retained, while a one-pass representation may fail to connect information distributed across the source or capture conditions that are only implicit. Therefore, source learning must identify which knowledge is broadly reusable and organize it into a form that can support future tasks whose exact demands are not yet known. II) How can task-specific feedback improve source-specific competence beyond the task that produced it? Downstream use may expose deficiencies that prior study did not anticipate, but directly retaining the observed answer or correction risks learning the task rather than the source. Effective adaptation must instead use task-level evidence to identify deficiencies in source understanding and address them with reusable, source-grounded knowledge.

We introduce SourceLearn, which maintains a persistent source model through two complementary

Figure

Figure 1: Problem Illustration. I) Knowledge access retrieves task-relevant evidence from the source, but does not necessarily accumulate reusable source understanding across tasks, requiring the model to repeatedly reconstruct how evidence should be interpreted or combined. II) Our goal is source learning: progressively developing reusable source understanding through continued study and use, while retaining direct access to the authoritative source.

learning mechanisms. Self-Directed Source Learning revisits incompletely understood source content and connects knowledge across entities. Task-Guided Source Learning uses failures to identify local representational gaps and recurring task demands to improve how knowledge is organized. Both mechanisms use observations to guide learning while reconstructing persistent updates from the authoritative source.

Our contributions are threefold:

① Source Learning Formulation and Representation. We formulate source learning as the development of reusable source-specific competence and introduce the source model as an explicit, persistent, and revisable representation of that competence, complementing direct source access while preserving the source as the factual authority.

② Self-Directed and Task-Guided Source Learning. We develop two complementary mechanisms for progressively building source-specific competence: Self-Directed Source Learning proactively studies the source to deepen incomplete understanding and connect fragmented knowledge, while Task-Guided Source Learning uses deficiencies and recurring demands revealed through downstream tasks to further refine that understanding.

③ Strong Empirical Performance. We evaluate SourceLearn across document QA, code QA, tool use, and interactive environments. It substantially improves overall same-source task performance over task-local retrieval, static source representations, and experience-based memory baselines, with gains from both self-directed and task-guided source learning.

References (43)

  • Advances in neural information processing systems, 33:9459–9474, 2020
  • Retrieval meets long context large language models
  • Raptor: Recursive abstractive processing for tree-organized retrieval
  • From Local to Global: A Graph RAG Approach to Query-Focused Summarization
  • Hipporag: Neurobiologically inspired long-term memory for large language models
  • From rag to memory: Non-parametric continual learning for large language models
  • Reflexion: Language agents with verbal reinforcement learning
  • Expel: Llm agents are experiential learners
  • A-mem: Agentic memory for llm agents
  • Retrieval augmented language model pre-training
  • Dense passage retrieval for open-domain question answering
  • Leveraging passage retrieval with generative models for open domain question answering
  • Atlas: Few-shot learning with retrieval augmented language models
  • Replug: Retrieval-augmented black-box language models
  • Interleaving retrieval with chain-of-thought reasoning for knowledge-intensive multi-step questions
  • Active retrieval augmented generation
  • Self-rag: Learning to retrieve, generate, and critique through self-reflection
  • Adaptive-rag: Learning to adapt retrieval-augmented large language models through question complexity
  • Corrective retrieval augmented generation (opens arXiv in a new tab)
  • Lost in the middle: How language models use long contexts
  • LightRAG: Simple and fast retrieval-augmented generation
  • Building graph-based agent to enhance long-context abilities of large language models
  • Boosting llms in professional domains via knowledge augmented generation
  • Memorag: Boosting long context processing with global memory-enhanced retrieval augmentation
  • Structrag: Boosting knowledge intensive reasoning of llms via inference-time hybrid information structurization
  • Frontiers of computer science, 18(6):186345, 2024
  • A survey on the memory mechanism of large language model-based agents
  • Generative agents: Interactive simulacra of human behavior
  • Memorybank: Enhancing large language models with long-term memory
  • Think-in-memory: Recalling and post-thinking enable llms with long-term memory (opens arXiv in a new tab)
  • MemGPT: Towards LLMs as Operating Systems
  • Voyager: An open-ended embodied agent with large language models
  • Agent workflow memory
  • Arigraph: Learning knowledge graph world models with episodic memory for llm agents
  • Remember me, refine me: A dynamic procedural memory framework for experience-driven agent evolution
  • Multidoc2dial: Modeling dialogues grounded in multiple documents
  • The narrativeqa reading comprehension challenge
  • Swe-qa: Can language models answer repository-level code questions? In Findings of the Association for Computational Linguistics: ACL 2026, pages 8230–8245, 2026
  • Gorilla: Large language model connected with massive apis
  • Appworld: A controllable world of apps and people for benchmarking interactive coding agents
  • gpt-oss-120b & gpt-oss-20b Model Card
  • 1-flash: Pushing the limits of kv cache compression (opens arXiv in a new tab)
  • The probabilistic relevance framework: Bm25 and beyond