INQUIRING LINE

What techniques work best for injecting domain knowledge at training time?

This explores how you get domain expertise into a model during training — and the corpus reframes the question: the best technique depends less on raw method and more on how you structure the knowledge and what you're willing to trade away.


This explores how you get domain expertise *into* a model at training time, and the most interesting finding in the corpus is that the winning move isn't a particular method — it's organizing the knowledge before you train on it. StructTuning reaches roughly half of full-corpus performance using just 0.3% of the training data by arranging chunks into an auto-generated domain taxonomy, so the model learns *where* a fact sits in a conceptual structure rather than memorizing raw text Can organizing knowledge structures beat raw training data volume?. The same theme shows up at the extreme end: a knowledge-graph curriculum that turns medical graph paths into 24,000 reasoning tasks beats sheer scale, producing state-of-the-art results across 15 medical domains Can knowledge graphs teach models deep domain expertise?. The lesson that cuts across both: structure beats volume.

On the question of *how* you train, the corpus pushes back on plain supervised fine-tuning. RLAG (reinforcement learning from augmented generation) rewards not just the right answer but a coherent explanation, cycling between augmented and unaugmented generation so the model internalizes knowledge structures instead of token-level patterns — and it outperforms SFT for exactly that reason Can reinforcement learning embed domain knowledge more effectively than supervised fine-tuning?. This matters because the alternative has a measurable cost: SFT can raise domain accuracy while degrading reasoning quality by 38% (an 'InfoGain' loss), and RL tends to improve domain reasoning by *pruning* rather than adding capability How do you add domain expertise without losing general reasoning?.

That cost is the real story. Every adaptation method has a domain-conditional sweet spot with a hidden bill attached — visible accuracy gains often come paired with quiet losses in reasoning faithfulness, capability transfer, and format flexibility How do domain training techniques actually reshape model behavior?. Push specialization too far and you hit a capability cliff: over-specialized models fail catastrophically outside their domain, while under-specialized ones produce confident errors in high-stakes settings — a structural tension that no single technique resolves How do you build domain expertise into general AI models?.

Worth knowing for anyone weighing options: training-time injection isn't the only door. A four-way taxonomy lays out the trade space — dynamic retrieval (RAG) maximizes flexibility but adds latency, static embedding is fast but costly and rigid, modular adapters balance efficiency with swappability, and prompt optimization needs no training at all — and combining several beats any one alone How do knowledge injection methods trade off flexibility and cost?. But prompting has a hard ceiling: it can only *activate* knowledge already in the model, never supply what was never there Can prompt optimization teach models knowledge they lack?. So if the knowledge is genuinely absent, you do have to train it in — which is why the structuring techniques above matter.

The least-known but most provocative thread: you may not need to touch the weights at all. Proxy-tuning applies its distributional shift at decoding time, closing 88–91% of the alignment gap while *beating* direct fine-tuning on knowledge tasks — because direct fine-tuning corrupts knowledge storage in the lower layers, whereas proxy-tuning leaves the base model intact Can decoding-time tuning preserve knowledge better than weight fine-tuning?. In the same spirit, methods that tune only the singular values of weight matrices produce composable 'expert vectors' you can mix at inference, outperforming LoRA with fewer parameters Can models dynamically activate expert skills at inference time?. The deeper point underneath all of this — why structured injection keeps winning — is that models which learn purely from data, with no explicit knowledge scaffolding, end up uninterpretable, biased, and brittle outside their training distribution Does refusing explicit knowledge harm AI system performance?.


Sources 11 notes

Can organizing knowledge structures beat raw training data volume?

StructTuning achieves 50% of full-corpus performance using only 0.3% of training data by organizing chunks into auto-generated domain taxonomies. The model learns knowledge position within conceptual structures rather than raw text patterns, matching how students learn from textbooks.

Can knowledge graphs teach models deep domain expertise?

Fine-tuning a 32B model on 24,000 reasoning tasks derived from medical knowledge graph paths produces state-of-the-art performance across 15 medical domains, demonstrating that structured knowledge composition matters more than scale.

Can reinforcement learning embed domain knowledge more effectively than supervised fine-tuning?

RLAG rewards both answer accuracy and explanation rationality by cycling between augmented and unaugmented generation, progressively internalizing coherent knowledge structures. This outperforms SFT because it prioritizes reasoning quality over token-level correctness.

How do you add domain expertise without losing general reasoning?

SFT raises domain accuracy but reduces reasoning quality by 38% InfoGain loss. RL improves domain reasoning by pruning rather than adding capability. Every technique has a domain-specific sweet spot beyond which performance degrades.

How do domain training techniques actually reshape model behavior?

Research shows every adaptation method—from parameter-efficient tuning to knowledge graph curricula—has optimal conditions tied to specific domains. The key finding: visible benefits like performance gains often come with hidden degradation in reasoning faithfulness, capability transfer, and format flexibility.

How do you build domain expertise into general AI models?

Research shows that over-specialized models fail catastrophically outside their domain, while under-specialized ones produce confident-sounding errors in high-stakes settings. The tension is structural, not solvable through technique alone.

How do knowledge injection methods trade off flexibility and cost?

Dynamic injection (RAG) maximizes flexibility but adds latency; static embedding is fastest but costly and inflexible; modular adapters balance efficiency with swappability; prompt optimization requires no training but only activates existing knowledge. Combining all three outperforms any single approach.

Can prompt optimization teach models knowledge they lack?

Prompting works entirely within a model's pre-existing training distribution and cannot supply domain knowledge absent from training data. This creates a hard ceiling: no prompt strategy can compensate for missing foundational knowledge, only reorganize what already exists.

Can decoding-time tuning preserve knowledge better than weight fine-tuning?

Proxy-tuning closes 88-91% of the alignment gap while surpassing direct fine-tuning on knowledge tasks by leaving base model weights untouched. Direct fine-tuning corrupts knowledge storage in lower layers, whereas proxy-tuning applies distributional shifts that primarily affect reasoning and style.

Can models dynamically activate expert skills at inference time?

Transformer2 demonstrates that tuning only singular values within weight matrices produces composable expert vectors that dynamically mix at inference without interference, outperforming LoRA with fewer parameters and enabling continual specialization.

Does refusing explicit knowledge harm AI system performance?

AI systems that learn exclusively from data produce uninterpretable representations, inherit statistical biases uncorrected by normative rules, and fail to generalize beyond training distributions. Structured knowledge injection at minimal corpus cost substantially improves performance.

Next inquiring lines