TodayNewsResearchFieldsDev toolsMarketAnalytics
⌘K

Research

New papers ranked by attention, with their code, models and discussion linked. Pick a field on the left.

Field

Papers

Open problems

Rising research topics

  • Agents & indirect prompt injection302+1.0 pts
  • Multimodal1057+0.9 pts
  • Frontier LLMs474+0.8 pts
  • Code models139+0.5 pts
  • Quantum machine learning38+0.3 pts
  • Forecasting time151+0.2 pts
  • Algorithmic trading25+0.2 pts
  • Channel state information21+0.2 pts

Ask the research

Sample
ByteTrail · AI and developer-tools intelligence
NewsResearchDev toolsFor AI agentsAPI
Fields · this week
All fields6190Multimodal892Computer vision734Training & fine-tuning493Agents453Frontier LLMs395Image & video generation386Evals376Robotics320Inference & serving268Recursive self improvement263Agents & indirect prompt injection256Neural operators221Clinical reasoning194Small LLMs133Forecasting time128RAG78All 32 fields
WeekMonthQuarterAll
NewestMost relevant

Papers

Research · AI field

RAG

Retrieval-augmented generation, retrieval for LLMs, long-context grounding and knowledge-base QA.

Open the field page
94papers this week0.0 pts share vs last week310 this month

Open problems in RAG

Open problems for RAG are being prepared; they appear within a day.

Papers

  • arXiv cs.CVMultimodalDec 3

    CARE: Clinically Aligned Retrieval Evidence for Consistent Radiology Report Generation

    Jintao Zhu, Yi Gu, Jiaxin Ma

    Automatic radiology report generation has the potential to assist radiologists by providing preliminary clinical descriptions. Despite recent progress in medical vision-language models, generated reports often contain factual inconsistencies and repetitive templated findings, indicating weak grounding to image evidence. Retrieval-augmented generation (RAG) improves grounding by conditioning on prior reports; however, existing end-to-end optimization suffers from representation inconsistency, as actively updated query representations diverge from stale historical keys. This mismatch destabilizes the retrieval space and disrupts supervision. We propose CARE (Clinically Aligned Retrieval Evidence), a multimodal framework introducing temporally coherent retrieval supervision. CARE maintains a shared memory queue populated by a slowly evolving momentum key encoder to ensure a stable representation space. We further introduce a disease-aware alignment objective that enforces diagnostic agreement between input images and retrieved reports to guide generation. Trained on IU-Xray and evaluated on the unseen MIMIC-CXR-RRG dataset, CARE significantly improves report quality. It nearly…

    AIRAGComputer vision50PDF
  • arXiv eess.IVMultimodalDec 3

    REMAIN: Remembering Past the Context in Streaming Egocentric Video

    An-Kai Chen, Yi-Chun Chang, Cheng-Han Chiang, Chi-Wei Lee, Wingwa Fu +2

    Streaming video understanding faces a fundamental trade-off between memory efficiency and long-horizon retention. Existing streaming models discard or compress distant history, losing context from hours earlier, whereas long-video memory systems preserve it by captioning every clip with a generative model regardless of query demand. We introduce REMAIN, which pairs a local streaming window with a caption-free long-term memory. Instead of captions, REMAIN indexes past clips by two complementary keys, speech and frames, and reads the retrieved clips with the current window in one model call. By bypassing dense captioning during ingestion, REMAIN writes memory continuously at low cost while remaining ready to answer a query at any moment. On TeleEgo's multi-hour egocentric streams, REMAIN preserves accuracy on queries whose evidence lies within the window, and improves accuracy by 9.1 points once the evidence falls outside it. On EgoLifeQA's week-long stream, with every setting carried over from TeleEgo, it improves accuracy over the window alone by 7.2 points. With speech recognition as a front end shared by every method, writing the memory takes 84 to 94% less GPU time than…

    AIRAGComputer vision61PDF
  • arXiv cs.CLRAGDec 3

    PharmkGPT A KG Enhanced RAG Framework for Reliable Biomedical Question Answering in Alzheimer's and Delirium

    Zhangming Niu, Li Fu, Xianglu Xiao, Wenfan Wu, Shenglong Deng +13

    Large language models (LLMs) show promise for biomedical discovery but can generate plausible yet factually incorrect outputs, limiting their use in evidence-intensive biomedical research. Here, we develop PharmkGPT, a knowledge graph (KG)-enhanced retrieval-augmented generation (RAG) framework for complex disease research. We validate PharmkGPT using Alzheimer's disease and delirium, conditions with overlapping clinical presentations but distinct pathological mechanisms that require synthesis of fragmented biomedical literature. We constructed domain-specific KGs from 284,698 PubMed abstracts, comprising 61,356 entities and 1,424,760 relationships, and an expert-reviewed benchmark of 1,045 questions spanning five biological domains. On a curated retrieval corpus of 5,059 abstracts, PharmkGPT achieved 95.62% accuracy, exceeding the strongest evaluated RAG baseline, HippoRAG2 (88.38%), by 7.23 percentage points and the best locally deployed LLM, Gemma3-27B (81.91%), by 13.70 percentage points. Exact-source Recall@10 reached 97.13%. On the independently developed PubMedQA PQA-L subset, PharmkGPT-retrieved evidence increased accuracy from 14.4% under closed-book generation to 54.0%…

    AI58PDF
  • arXiv cs.AIAgentsDec 3

    GAPMem: Boundary-First Graph-Constrained Preference Memory Formation for Personalized LLM Agents

    Tao Yu, Deliang Wen, Ke Sun, Yu Wang

    Personalized large language model (LLM) agents must decide which user preferences to retain and when those preferences apply. GAPMem is a boundary-first, graph-constrained framework for preference memory formation and retrieval. It distinguishes explicit preferences extracted from dialogue from implicit preferences consolidated from existing memories, links preferences to source evidence and observed context, and encodes applicability, exclusions, conflicts, and updates through typed graph relations. Boundary constraints filter preferences before activation and ranking. We report an exploratory retrieval study on three CUPID cases, comparing a full-history LLM with raw-memory, raw-plus-scenario, evidence-based preference, and scenario-aware preference retrieval. Scenario-aware preference retrieval achieved an F1 of 0.8235. Evidence-based retrieval achieved strict checklist coverage of 1.0000 across three cases and an F1 of 0.6667 on two scored cases. Adding scenario-aware retrieval to raw memory increased F1 from 0.3333 to 0.4667. These descriptive results are limited to a small case set with model-based judgments and incomplete reproducibility records. They do not independently…

    AIRAG44PDF
  • arXiv cs.IRRAGDec 3

    Ontology-RAG: Zero-LLM-Index Subject-Document Ontologies and Receiver-Typed VirtualSet Traversal for Multi-Hop Reasoning

    Qunhui Zhang

    Multi-hop retrieval-augmented generation confronts a sharp cost-accuracy dilemma: flat retrieval misses cross-document bridges, OpenIE Graph-RAG invokes tens of thousands of indexing LLM calls, parent-boosted containment trees monopolize single documents, and standard cross-encoders demote unstated second-hop passages. We present Ontology-RAG, a generic retrieval architecture built purely on Entitir's executable OntologyWorld and receiver-typed Outline VirtualSet algebra. With zero offline LLM calls, raw repositories compile into a normalized 12-definition subject-document ontology whose sentence-scoped SubjectMention incidences raise complete gold-chain connectivity to 88.1%, 69.1%, and 88.9% on MuSiQue, 2WikiMultiHopQA, and HotpotQA. Over this single ontology, Ontology-RAG exposes two modes: Light Mode evaluates one fixed VirtualSet expression across every corpus with zero query LLM calls via residual-gated bipartite propagation and lazy edge-sentence provenance in VirtualSet.rerank; Heavy Mode performs multi-round receiver-typed VirtualSet traversal with pre-execution Generic Constraints Projection (GCP) self-type (~this) inference and member-guided repair. Across 3,000…

    AI62PDF
  • arXiv cs.CLRAGDec 3

    Training-Free Improvement with Translation-Instruction Soft-Token Injection for Indonesian Retrieval Augmented Generation

    Tjeng Wawan Cenggoro, Ganjar Widiatmansyah, Evan Purnama

    Off-the-shelf multilingual text-embedding models often underperform on Indonesian relative to high-resource languages such as English, and the usual remedy, fine-tuning, is costly and must be repeated whenever the base model changes. We study whether embedding quality on Indonesian can be improved without any parameter updates, using only interventions on the model input. We first show that prepending or appending a short natural-language translation-instruction to each text can shift its embedding toward the representation space of a higher-resource language, where the model is stronger; our hypothesis is that this shift yields a higher-quality embedding vector, one that produces better pairwise similarity and retrieval performance, and we tested this directly on downstream benchmarks. We then propose a training-free method that compresses such an instruction into a single dense vector, a soft token, and injects it directly in embedding space at inference time. The soft token is computed once from an unlabeled corpus by pooling the instruction's token embeddings using the attention each instruction token receives, and is reused across all inputs. Because the injection acts only…

    AIVector databases54PDF
  • arXiv cs.LGRAGDec 3

    Mem-$\infty$: Test-time Evolving Memory Embedding Models

    Guibin Zhang, Chuanrui Hu, Yafeng Deng, Shuicheng Yan

    Long-term memory supports foundation-model agents across sessions and tasks. Existing memory harnesses entrust memory formation, revision, retention, and recall to elaborate, hand-designed external scaffolds. We explore a scalable, end-to-end alternative with Mem-$\infty$, a family of memory embedding models (Mem-$\infty$-1B and Mem-$\infty$-4B) that perform these functions through an evolving episodic state. Mem-$\infty$ realizes impressionistic generative memory: a learned parameter updater continually accumulates incoming experience into an associative state that reshapes the memory generator's parameters through low-rank coupling. For each question, the evolving generator produces a hazy memory embedding just in time for evidence retrieval. We train Mem-$\infty$ with (i) contrastive evidence supervision and replay to learn accurate, persistent recall and (ii) embedding-space reinforcement learning to improve downstream utility. With naive RAG, Mem-$\infty$-4B achieves 95.0% accuracy on LoCoMo; with simple multi-turn agentic RAG, it reaches 77.0% on BEAM-1M, exceeding Hindsight, Zep and Mem0. Mem-$\infty$ can also empower existing memory harnesses: combining Mem-$\infty$-1B…

    AI65PDF
  • arXiv cs.AIAgentsDec 3

    LongMemOS: Zero-LLM-Write Deterministic Long-Term Memory for Enterprise AI Agents

    Yi Wang

    Long-horizon enterprise AI agents must preserve evolving facts, implicit preferences, and policy revisions across extended multi-session histories. Existing agent memory pipelines often invoke LLMs and dense embeddings at write time to extract facts or rewrite summaries, adding per-turn inference costs, endpoint coupling, and provenance loss. We present LongMemOS, a single-executable Rust deterministic memory operating system with a zero-LLM, zero-learned-embedding write path. Incoming turns are persisted offline in an encrypted, append-only local store split at 32 KiB UTF-8 boundaries, with server-assigned monotonic sequence numbers, SHA-256 verification, and an embedded lightweight graph index. Conflict tracking and multi-path retrieval are decoupled from writes via explicit supersedes chains and optional asynchronous consolidation. Using one frozen binary (SHA-256: 6fe5dc92...), we evaluate five public benchmarks across six sets (10,957 evaluations): 95.40% on LongMemEval-S (477/500), 92.40% on LongMemEval-M (462/500), 92.86% on LoCoMo Cat 1-4 (Cat 5: 65.02%), 71.22% pass on BEAM 1M/10M subsets (641/900; mean 65.24%), 75.92% mean (80.36% pass, 65.42% >= 0.9) on PersonaMem-v2…

    AIRAG63PDF
  • arXiv cs.CLAgentsDec 3

    QS-Graph: Query-Shot Augmentation and Graph Hyperlink Expansion for Large-Scale Tool Retrieval

    Zhoucai Tang, Xiangpeng Li, Yuan Su, Deqiang Ouyang, Ning Wang

    Large language model (LLM)-based agents increasingly rely on external tools to solve complex tasks, making accurate tool retrieval from large-scale repositories essential. Existing retrieval methods, however, face two key limitations: the semantic mismatch between user queries and tool documents, and the failure to exploit structural dependencies among tools. We introduce QS-Graph, a training-free framework that addresses both limitations. Query-Shot Augmentation adaptively groups example queries into document-anchored intent prototypes, preserving diverse ways in which a tool may be requested. Graph Hyperlink Expansion aggregates these prototypes into a tool-level representation, propagates it over hierarchical and collaborative relations, and injects the resulting structural residual into each prototype. Both enrichment operations are performed at index time, so online retrieval requires only one query encoding, vector search, and lightweight prototype aggregation, without LLM calls or graph traversal. Using query-shots sampled from historical queries, QS-Graph achieves performance competitive with the supervised state of the art on ToolBench without fine-tuning the embedding…

    AIRAG60PDF
  • arXiv cs.CVMultimodalDec 2

    WikiVideoQA: Linking Videos to Encyclopedic Knowledge

    Marco Morini, Tobia Poppi, Sara Sarto, Florian Schiffers, Rita Cucchiara +2

    Many questions about real-world videos cannot be answered from their visual content alone, as they require identifying the specific entity on screen and recalling long-tail knowledge that video language models often lack. For images, this problem is typically addressed by retrieving external documents, assuming that the entity is clearly visible in a single, curated image. In videos, however, the same entity may appear only briefly, under occlusion, or across shifting viewpoints, making the localization of visual evidence about the entity an integral part of the problem. To foster research in this direction, we introduce WikiVideoQA, the first large-scale dataset for knowledge-based video question answering paired with controlled Wikipedia corpora. It contains 108.5k question--answer pairs over 15.5k video--entity pairs, filtered by a human-aligned multimodal judge and grounded in reference Wikipedia pages and supporting passages, together with two nested knowledge bases of 200k and 2M pages. Benchmarking several video language models, we show that retrieval is a more effective lever than scale, and that it enables a 9B model to surpass open models up to 40$\times$ larger. Still,…

    AIRAG62PDF
  • arXiv cs.SERAGDec 2

    Standing on the Shoulders of Giants: Bug-Aware Automated GUI Testing via Retrieval Augmentation

    Mengzhuo Chen, Zhe Liu, Chunyang Chen, Junjie Wang, Boyu Wu +2

    In software development, similar apps often encounter similar bugs due to shared functionalities and implementation methods. However, current automated GUI testing methods mainly focus on generating test scripts to cover more pages by analyzing the internal structure of the app, without targeted exploration of paths that may trigger bugs, resulting in low efficiency in bug discovery. Considering that a large number of bug reports on open source platforms can provide external knowledge for testing, this paper proposes BugHunter, a novel bug-aware automated GUI testing approach that generates exploration paths guided by bug reports from similar apps, utilizing a combination of Large Language Models (LLMs) and Retrieval-Augmented Generation (RAG). Instead of focusing solely on coverage, BugHunter dynamically adapts the testing process to target bug paths, thereby increasing bug detection efficiency. BugHunter first builds a high-quality bug knowledge base from historical bug reports. Then it retrieves relevant reports from this large bug knowledge base using a two-stage retrieval process, and generates test paths based on similar apps' bug reports. BugHunter also introduces a local…

    AICode modelsDeveloper tooling57
  • arXiv cs.CLAgentsDec 2

    EGAL: Evidence-Grounded Multi-Agent Adversarial Learning at Inference Time for Research Ideation

    Riasad Alvi, Md. Ahashan Habib, Md. Faiyaz Abdullah Sayeedi

    Large language models have shown promise in automating research ideation, yet their quality is fundamentally constrained by the frozen parametric knowledge encoded during pre-training. We introduce EGAL (Evidence-Grounded Adversarial Learning), an inference-time multi-agent framework that addresses this limitation by grounding every adversarial optimisation step in dynamically retrieved external evidence. An Optimizer agent converts identified weaknesses into targeted literature queries within the same inference call, injecting retrieved contrasting papers into each subsequent revision step. A Dual-Criterion Discriminator enforces convergence only when the revised idea both improves over the previous iteration and demonstrably addresses the retrieved evidence, preventing surface-quality plateaus from masking unresolved evidence gaps. Across 1,000 papers spanning five scientific domains and nine open-weight language models (7B-685B parameters), EGAL improves feasibility by 22-31% over a parametric adversarial baseline. Over the same baseline, the Evidence Engagement Rate rises from 21% to 68% and the share of ideas free of direct contradiction by the retrieved evidence from 71% to…

    AIRAG57PDF
  • arXiv cs.IRRAGDec 2

    An Approach to the External Auditing of Query Fan-Out: Derived Queries, Sources, and Observability in Web-Search-Enabled LLM APIs

    Kizzy Terra, Diogo Cortiz

    When a large language model (LLM) with web search answers a question, it usually does not search for what the user wrote: it decides whether to search, writes its own queries (derived queries), and synthesizes an answer from the sources it selects, a process known as query fan-out. We propose an approach for the external audit of query fan-out through providers' public APIs, organized around seven principles: literalness, observability as data, noise floor, self-comparison, calibration, pre-commitment, and traceability. We apply it to GPT-5.6 Luna, Claude Sonnet 5.5, Gemini 3.6 Flash, and DeepSeek V4 Flash in a paired design: 12 topics from Google's 2025 Year in Search for Brazil, prompts in Brazilian Portuguese and English, simulated user origin in Brazil and the United States, and five identical executions per combination (960 API calls). Only 9% of 2,015 derived queries match the literal query, and none do in OpenAI's system; only 13% reappear verbatim across identical executions, and the decision to search flips in 18 of 192 combinations. Each system draws on its own repertoire of sources, including the provider's own video platform in Google's case (11% of sources) and…

    AIEvals56PDF
  • arXiv cs.CLRAGDec 2

    LEAN: Lightweight Evidence Extraction for Advanced Context Compression through Goal-aligned Training

    Seungyoon Lee, Seongtae Hong, Sungbin Han, Jungseob Lee, Chanjun Park +1

    Effective context compression for Retrieval-Augmented Generation (RAG) requires a careful balance among three competing objectives: preserving evidence for accurate answer generation, achieving substantial context reduction, and minimizing latency introduced by the compression process. However, existing approaches struggle to harmonize these aspects, relying either on heuristic supervision or on large language models (LLMs), which fail to serve sufficient compression and incur considerable latency overhead. In this paper, we introduce LEAN, a lightweight, goal-aligned context compression framework that optimizes this triad of objectives through a tailored reward design and document-level inference. LEAN undergoes supervised warm-up to establish an evidence-aware policy and achieves a favorable balance through goal-aligned reinforcement learning, which employs answer quality and compression rate as a unified feedback signal. Empirical evaluations across various setups show that LEAN consistently achieves competitive RAG performance with high compression rates and extremely low compression latency compared to major baselines. Notably, these benefits become more evident as retrieval…

    AI62PDF
  • arXiv cs.CLRAGDec 2

    Web-to-Table: A Comparison of RAG Pipelines for Web-based Table Completion

    Thu-Huong Vu, Christian Bizer

    Tables that describe entities by their attributes are a common way to collect and compare information, but the values needed to fill such tables are often spread over web pages that differ in format, recency and reliability. Retrieval-augmented generation (RAG) can fill table cells from the live web and link every value to the evidence that supports it, yet it is unclear how retrieval for this task is best organised. We compare three RAG pipelines within Web-to-Table, an evaluation framework in which all pipelines share entity matching, evidence-only extraction and deterministic data fusion, and differ mainly in their retrieval strategy. The value-wise pipeline searches once per cell, the record-wise pipeline once per entity, and the adaptive RAG pipeline performs additional searches, with queries written by the language model, wherever evidence remains insufficient. On W2T-Bench, a new benchmark of 1,200 cells on products, cities and athletes with multi-hop attributes and the reference sources excluded, the adaptive RAG pipeline was the most accurate on every dataset across three rounds. It reached 89.9% cell accuracy against 85.1% and 70.4%, while issuing 41% fewer searches and…

    AI63PDF
  • arXiv cs.CLRAGDec 2

    Schema-Mem: Structured and Evolving Memory for Long-term Conversational Knowledge

    Jiajun Zhu, Kai Zhang, Meikai Bao, Ye Liu, Yalong He +2

    Long-term conversational agents require memory systems that continuously acquire and maintain user-specific knowledge from unstructured dialogue histories. Existing LLM memory solutions often rely on flat text storage or coarse summaries, which suffer from redundancy and weak factual grounding, making it difficult to reason over evolving information in long-term interactions. To address this issue, we propose \textit{Schema-Mem}, a structured and evolving memory framework inspired by Schema Theory in cognitive psychology, which represents conversational knowledge as fact-level schema units. Schema-Mem incrementally builds a connected memory graph by extracting key facts from each dialogue turn, linking related historical units through hybrid lexical-semantic search, and refining memory via LLM-based verification to resolve conflicts and incorporate new details. For response generation, it performs multi-source retrieval to provide grounded evidence for reliable answers. Extensive experiments on LoCoMo and LongMemEval show the efficacy of Schema-Mem in maintaining long-term memory and producing reliable responses during extended interactions.

    AIAgents60PDF
  • arXiv cs.AIRAGDec 2

    Navigate, Don't Generate: Making AI Mediated Access to Public Agricultural Data Citizen-Auditable

    Pranav Dhiran, Venkatesan Nadimuthu, Vedant Maheshwari, Raviteja Bommireddy, Mitanshu Khandal +3

    Agricultural decisions such as variety selection, fertilizer dosing, and scheme eligibility directly affect farmers' yields and livelihoods. Farmers increasingly turn to LLM-based assistants for these high-stakes decisions. However, these systems are stochastic, prone to hallucinations, and provide no claim-level provenance for their outputs. Retrieval augmentation grounds answers in documents but does not enforce structured constraints on eligibility, location, or source validity. We present India-Agri-KG, a nationwide knowledge-graph construction system based on the Navigate, Don't Generate paradigm. Ontology-guided LLM agents navigate heterogeneous government portals, APIs, and PDFs and propose candidate triples. A deterministic verification layer then checks each candidate for source registration, schema conformance, referential integrity, location anchoring, and provenance before permitting graph mutation. Applying the system across 784 Indian districts, the resulting graph contains 14,478 entities and 38,590 relations spanning 26 agricultural subdomains. An audit of 23,987 factual relations found that all resolve to a registered source; 31.5% carry explicit edge-level…

    AIAgents54PDF
  • arXiv cs.CLRAGDec 2

    Coupled Activation Flow and Submodular Path Selection for Context-Bounded Knowledge Graph Question Answering

    Yang Gao, Zuoxu Zhao, Jianshu Zhang, Xing Wang, Lin Meng

    Growing data-privacy and governance demands increasingly compel institutions to self-host language models rather than transmitting sensitive queries and proprietary knowledge graphs (KGs) to external cloud services; under practical hardware and serving-cost constraints, locally deployed 8B-27B small-to-medium language models (SLMs) offer economical choices yet operate under tight context-memory limits. However, existing KG retrieval methods suffer from slow traversal speed, complex fine-tuning or multi-agent deployment, and heavy prompt token consumption that inflates inference latency, raising a central hypothesis: can accurate multi-hop KG retrieval be achieved with fewer tokens, faster speed, and simpler training-free deployment? To test this hypothesis, we propose Coupled Activation-Flow Gated Memory Knowledge Retrieval (CAF-GMKR), a single-step, training-free framework that couples unique-predicate hybrid priors and one-hop compound value type (CVT) sibling lookahead with a forgetting-contracted graph memory, multi-parent atomic path blocks, and twin-greedy submodular knapsack selection under exact byte-pair encoding (BPE) ceilings. Across locked evaluations on WebQSP…

    AISmall LLMs55PDF
  • arXiv cs.CVRAGDec 2

    Calibrating Answer Preferences with Evidence-Aware Rewardsin Video Retrieval-Augmented Generation

    Jisu Shin, Yuho Lee, Taewon Yun, Seunghwan Bang, Hwanjun Song

    Video retrieval-augmented generation (Video-RAG) enables multimodal large language models to answer questions about long videos using retrieved segments. Existing studies largely focus on retrieval. Yet generation remains challenging even when the ground-truth evidence is retrieved, as visually similar distractors from the same video inevitably come with it. In a controlled Video-RAG setup that always includes the evidence and varies only the number of distractors, single-pass accuracy declines as more chunks are retrieved, while sampling several responses often recovers the correct answer. The correct answer is thus often among the generator's candidates but is not the one it prefers. We propose ANCHOR, an evidence-grounded preference calibration framework that ranks the candidates sampled for the same input by outcome-level correctness and by their grounding in the annotated evidence, and reinforces the higher-ranked ones. On two backbones, ANCHOR consistently improves accuracy under distractors without extra inference cost, and its gains extend to an out-of-distribution benchmark and to agentic Video-RAG pipelines.

    AIMultimodal58PDF
  • arXiv cs.AIRAGDec 1

    LLM-Compiled Wiki versus RAG for Classroom Question Answering

    Brian Wright

    LLMs are increasingly deployed as course-specific tutors, but their usefulness depends on grounding in vetted course materials that change during the semester. Our prior work built a multimodal retrieval-augmented generation, or RAG, system for a machine learning course, DS3001 Foundations of Machine Learning, and found that retrieval improved grounding but that fixed retrieval strategies were suboptimal, since performance depended on question specificity and context composition. That result motivates a different question: whether how a corpus is structured at ingest time matters more than how much is retrieved at query time. We compare two knowledge representations over the full DS3001 course and its companion online text, 81 documents and about 235k tokens: vector RAG, configured as in our prior study, and an LLM-compiled wiki, following Karpathy's proposal, whose linked concept pages cite their sources and are navigated at question time. Five conditions separate representation from context volume: closed-book generation, bounded RAG retrieval, the RAG corpus in full context, bounded wiki navigation, and the full wiki in context. Navigation and retrieval are also evaluated at…

    AI57PDF
Load more
PDF