Corpus2Skill深掘り — RAGを捨てて『ナビゲート』する設計は何を変えるのかCorpus2Skill replaces retrieval-augmented generation with a 'navigate' paradigm…
Corpus2Skillはドキュメントを都度検索するRAGの代わりに、コーパスからスキルを事前抽出してモデルに内在化させる設計を採用しており、レイテンシ削減と一貫性向上を実現する点で注目される。
Corpus2Skill replaces retrieval-augmented generation with a 'navigate' paradigm that pre-extracts skills from a corpus and internalizes them into the model, reducing latency and improving response consistency.
AI 生成の要約と解説(解説は要約と収集メタデータに基づく)で、元記事全文の転載・翻訳ではありません。日本語版と英語版は言語ごとに独立して生成しています。正確性は元記事 (zenn.dev) でご確認ください。AI-generated summary and explainer (the latter based on the summaries and collected metadata), not a copy or translation of the full source article. Generated independently for each language. Verify accuracy at the original source (zenn.dev).
論文「Don't Retrieve, Navigate」(arXiv:2604.14572)と、その実装であるCorpus2Skillは、RAGを検索ではなく「ナビゲート」で置き換える設計を示している。論点は埋め込みモデルやリランカーの改善ではなく、LLMがコーパスの全体構造を観測できないこと自体にあるとされる。
検索ベースの三つの限界
論文は検索ベースの問題として三点を挙げている。第一に、何がコーパスに存在しないかを判定できない。第二に、複数トピックにまたがる証拠を計画的に集められない。第三に、検索クエリの語彙がコーパスとずれると打つ手がない。
クエリ書き換えや反復検索を行うエージェント型RAGはこれらを緩和するものの、「見えない棚から司書経由で借りる」という構図は変わらないと説明されている。
コーパスを階層として見せる
Corpus2Skillは、コーパスを可視の階層構造として与える。これにより、探索、撤退、横断といった動きがエージェントの推論対象になるという考え方だ。
6段階のパイプライン
処理は Load → Embed → Cluster → Summarize → Label → Build の6段階で進む。注目点は埋め込みの役割で、既定ではQwen3-Embedding-0.6Bを使うが、これはクラスタリングの足場としてコンパイル時のみ使われ、サーブ時には登場しない。
ツリーの構築では、再帰的K-meansで分割したうえで、類似クラスタを凝集マージで整理して深さのバランスを取る。各ノードにはLLMが要約と短いラベルを付ける。ツリーの形状を決めるハイパーパラメータは、分岐率の --p(既定10)とトップレベル数の --max-top(既定8)である。
プレーンなファイル群
成果物は SKILL.md、INDEX.md、documents.json というプレーンなファイル群だ。.claude/skills/ の規約に従うため、Anthropic Skills APIにそのまま載せられるとされる。
なお、概要レベルの解説は別途公開されているサイト(https://corpus2skill.businesshub.trueone.co.jp/)にまとめられているという。
Corpus2Skill is an implementation of the paper "Don't Retrieve, Navigate" (arXiv:2604.14572), and a Zenn article examines its architecture and cost structure. The question it raises is whether improving retrieval-augmented generation (RAG) is the right target at all, or whether the deeper problem lies elsewhere.
Don't Retrieve, Navigate
According to the article, RAG improvement discussions tend to center on embedding models and rerankers, but the paper's point is more fundamental: the LLM cannot observe the corpus's overall structure. From that, the article lists three limits of search-based approaches. The system cannot determine what is absent from the corpus. It cannot deliberately gather evidence that spans several topics. And it has no recourse when the vocabulary of a query drifts from the corpus's own.
Agentic RAG, with query rewriting and iterative search, eases these problems, the article says, but the setup remains one of borrowing through a librarian from a shelf you cannot see. Corpus2Skill instead hands the model the corpus as a visible hierarchy, so exploring, backing out and crossing between branches become things the agent reasons about.
Load to Build in Six Stages
The pipeline runs Load, Embed, Cluster, Summarize, Label, Build. The article highlights the role of embeddings, with Qwen3-Embedding-0.6B as the default. They serve only as scaffolding for clustering at compile time and do not appear at serve time.
Clustering uses recursive K-means, followed by agglomerative merging of similar clusters to balance depth. An LLM then writes a summary and a short label for each node. Two hyperparameters shape the tree: --p, the branching factor, defaults to 10, and --max-top, the number of top-level nodes, defaults to 8.
Plain Files, Skills API Ready
The output is a set of plain files: SKILL.md, INDEX.md and documents.json. Because they follow the .claude/skills/ convention, the article says they can be loaded onto the Anthropic Skills API as they are.
The article also notes that a higher-level overview of the project was published earlier on a separate site, while this piece concentrates on architecture and cost.
ポコとTECHガイドPoko & TECH Guide
ポコと当サイトのTECHガイドが、記事の要約と収集した情報から読みどころを語るAI生成の対話です。Poko and TECH Dashboard's own TECH Guide discuss the article's highlights in an AI-generated conversation based on its summary and collected source details.
- ポコPoko埋め込みって、サーブ時には出てこないの?検索のときに使うものだと思ってた。Wait, embeddings don't show up at serving time? I thought they were what you use when searching.
- TECHガイドTECH Guideこの記事ではそうです。埋め込みはクラスタリングの足場としてコンパイル時だけ使われ、実行時には登場しません。That's what the post says. Embeddings are only a scaffold for clustering at compile time, and they don't appear when the system is serving answers.
- ポコPokoじゃあ検索だと困る場面で役立つのかな?たとえば棚に本があるか分からないときとか。So it helps where search struggles? Like when you can't tell whether a book is even on the shelf?
- TECHガイドTECH Guide記事の整理だと、検索型は「無いこと」の判定や複数トピックをまたぐ証拠集めが苦手です。階層が見えれば、探索や撤退を計画しやすくなる狙いです。The post says search-based setups struggle to tell what's missing and to gather evidence across topics. With a visible hierarchy, the agent can plan exploring and backing out.
- ポコPoko要するに、先に文書の地図を作っておいて、AIがそれをたどって探すんだね。So basically you build a map of the documents first, and the AI follows it to find things.
- TECHガイドTECH Guideはい。ただツリーの形は --p や --max-top の設定で決まるので、そこは調整ポイントになりそうです。Right. Just note the tree's shape is set by --p and --max-top, so those look like the settings you'd want to tune.
匿名の公開いいねです。記事の保存・お気に入りではなく、Featured、Top 3、重要度、掲載順位には影響しません。仕組みとプライバシーAnonymous public likes are reactions, not saved articles or bookmarks. They do not affect Featured, Top 3, importance, or listing order.How it works and privacy


