Bottom-up Domain-specific Superintelligence: A Reliable Knowledge Graph is What We Need

Bhishma Dedhia, Yuval Kansal, Niraj K. JhaarXiv 2025 · OpenReview

Abstract

Language models traditionally used for cross-domain generalization have recently demonstrated task-specific reasoning. However, their top-down training approach on general corpora is insufficient for acquiring abstractions needed for deep domain expertise. This may require a bottom-up approach that acquires expertise by learning to compose simple domain concepts into more complex ones. A knowledge graph (KG) provides this compositional structure, where domain primitives are represented as head-relation-tail edges and their paths encode higher-level concepts. We present a task generation pipeline that synthesizes tasks directly from KG primitives, enabling models to acquire and compose them for reasoning. We fine-tune language models on the resultant KG-grounded curriculum to demonstrate domain-specific superintelligence. While broadly applicable, we validate our approach in medicine, where reliable KGs exist. Using a medical KG, we curate 24,000 reasoning tasks paired with thinking traces derived from diverse medical primitives. We fine-tune the QwQ-32B model on this curriculum to obtain QwQ-Med-3 that takes a step towards medical superintelligence. We also introduce ICD-Bench, an evaluation suite to quantify reasoning abilities across 15 medical domains. Our experiments demonstrate that QwQ-Med-3 significantly outperforms state-of-the-art reasoning models on ICD-Bench categories.

Introduction: The Limits of Top-Down Learning

Current Large Language Models (LLMs) are impressive generalists, yet they often fall short of the "deep expertise" required for specialized fields such as medicine. This deficiency stems from the standard "top-down" pre-training approach, which captures surface-level regularities from vast, unorganized internet corpora. In contrast, true human expertise is built "bottom-up": professionals first master fundamental domain "primitives" (axioms) and then learn to compose these into complex, multi-step reasoning chains. For instance, a medical student learns specific drug-protein interactions before understanding systemic biological pathways.

The KG-Grounded Task Generation Pipeline

To emulate this structured learning, we developed a pipeline that transforms Knowledge Graphs (KGs) into a high-quality "reasoning curriculum." By leveraging the Unified Medical Language System (UMLS), we generate training data that is explicitly grounded in factual primitives.

The pipeline consists of four key stages:

  1. Path Traversal: Identifying multi-hop paths within the KG to represent complex medical relationships (e.g., Drug A → treats → Disease B → causes → Symptom C).
  2. QA Generation: A backend LLM (Gemini 2.0 Flash) converts these paths into clinical vignettes and multiple-choice questions.
  3. Thinking Trace Distillation: A stronger model (Gemini 2.5 Pro) generates a step-by-step "thinking trace" (Chain-of-Thought) grounded in the KG path.
  4. Dual-Model Filtering: Independent LLMs verify the factual accuracy and path adherence of the generated traces to eliminate hallucinations.
The KG-grounded task generation pipeline illustrating the transition from knowledge graph primitives to clinical vignettes.

We fine-tuned the QwQ-32B model on 24,000 such tasks, progressively increasing complexity from 1-hop to 3-hop reasoning to create QwQ-Med-3.

Evaluation on ICD-Bench

To rigorously test these reasoning capabilities, we introduced ICD-Bench, an evaluation suite of 3,675 items across 15 medical categories based on the ICD-10 taxonomy. This benchmark specifically targets multi-hop reasoning, with paths ranging from 2 to 5 hops, challenging models to link disparate medical concepts.

Key Results and Insights

QwQ-Med-3 demonstrates a significant leap in specialized reasoning, often outperforming much larger proprietary models.

Dominance Across Medical Domains

On ICD-Bench, QwQ-Med-3 consistently outperformed OpenAI’s o3, Google’s Gemini 2.5 Pro, and DeepSeek-R1-Distill-Qwen across all 15 sub-specialties. This suggests that KG-grounded training provides the specific structural logic missing from general-purpose models.

Comparative performance of QwQ-Med-3 against state-of-the-art models across 15 medical domains in ICD-Bench.

Bridging the "Hard Task" Gap

Our analysis shows that while base models often have near-zero accuracy on the most difficult multi-hop tasks, QwQ-Med-3 achieves its most substantial gains in these "hard" bins. This indicates that the model has successfully acquired the ability to compose primitives for complex problem-solving.

Scaling and Efficiency

On the MedQA (USMLE) benchmark, QwQ-Med-3 reached 85.39% accuracy using "Parallel Scaling"—generating multiple reasoning paths and voting on the answer. Interestingly, this approach proved more effective for medicine than "Iterative Refinement," likely because medical steps are harder to verify internally than mathematical ones. Furthermore, as a 32B parameter model, QwQ-Med-3 offers a highly efficient alternative to trillion-parameter giants.

Conclusion

The success of QwQ-Med-3 highlights the potential of bottom-up, domain-specific training. By grounding LLMs in structured knowledge, we can move closer to "superintelligence" in specialized fields. We envision a future where Artificial General Intelligence (AGI) is not a single monolithic entity, but rather emerges from the composable interaction of efficient, domain-specific superintelligent agents.

Summary updated

Abstract

Language models traditionally used for cross-domain generalization have recently demonstrated task-specific reasoning. However, their top-down training approach on general corpora is insufficient for acquiring abstractions needed for deep domain expertise. This may require a bottom-up approach that acquires expertise by learning to compose simple domain concepts into more complex ones. A knowledge graph (KG) provides this compositional structure, where domain primitives are represented as head-relation-tail edges and their paths encode higher-level concepts. We present a task generation pipeline that synthesizes tasks directly from KG primitives, enabling models to acquire and compose them for reasoning. We fine-tune language models on the resultant KG-grounded curriculum to demonstrate domain-specific superintelligence. While broadly applicable, we validate our approach in medicine, where reliable KGs exist. Using a medical KG, we curate 24,000 reasoning tasks paired with thinking traces derived from diverse medical primitives. We fine-tune the QwQ-32B model on this curriculum to obtain QwQ-Med-3 that takes a step towards medical superintelligence. We also introduce ICD-Bench, an evaluation suite to quantify reasoning abilities across 15 medical domains. Our experiments demonstrate that QwQ-Med-3 significantly outperforms state-of-the-art reasoning models on ICD-Bench categories. Further analysis reveals that QwQ-Med-3 utilizes acquired primitives to widen the performance gap on the hardest tasks of ICD-Bench. Finally, evaluation on medical question-answer benchmarks shows that QwQ-Med-3 transfers acquired expertise to enhance the base model's performance. While the industry's approach to artificial general intelligence (AGI) emphasizes broad expertise, we envision a future in which AGI emerges from the composable interaction of efficient domain-specific superintelligent agents.
BibTeX
@misc{dedhia2025bottom,
  author = {Bhishma Dedhia and Yuval Kansal and Niraj K. Jha},
  title = {{Bottom-up Domain-specific Superintelligence: A Reliable Knowledge Graph is What We Need}},
  year = {2025},
  eprint = {2507.13966},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2507.13966},
}
Figure