Compare training a music model from random initialisation with continued pretraining, full and partial fine-tuning, adapters, LoRA, new conditioning modules, and inference-only use.
About 15 minutes
Guiding question
When is training from scratch justified?
By the end, you’ll be able to
Distinguish training from scratch, continued pretraining, fine-tuning, parameter-efficient adaptation, and inference-only use.
Explain what is preserved and changed under each adaptation strategy.
Compare full fine-tuning, partial fine-tuning, adapter modules, and LoRA.
Explain how a new conditioning module can extend a pretrained music model.
Identify when an existing model is compatible with a new dataset, task, or control signal.
Evaluate adaptation strategies using data, compute, storage, rights, and deployment constraints.
Identify risks such as overfitting, catastrophic forgetting, architecture mismatch, and weak evaluation.
Section 1 explained the optimisation loop. The same loop can begin from two very different places.
A model can begin with randomly initialised parameters and learn the task from the available dataset. It can also begin with parameters that already encode useful musical and acoustic patterns.
The second option is usually called transfer learning or fine-tuning. Instead of relearning everything, the project adapts an existing model.
The practical decision is not simply train or do not train. There is a spectrum ranging from inference-only use to updating every model parameter.
The adaptation spectrum
Swipe sideways to view the full comparison
Strategy
Base parameters
New trainable parameters
Typical purpose
Inference only
Frozen
None
Use the existing model through prompts and generation settings
Feature extraction or probing
Frozen
A small prediction head
Use pretrained representations for a downstream task
New conditioning module
Usually frozen or partly frozen
A conditioner, projector, or fusion module
Add a new control signal or input modality
Adapter or LoRA tuning
Frozen
A small parameter-efficient update
Adapt behaviour while preserving and sharing the base model
Partial fine-tuning
Partly frozen
Selected existing layers
Adapt a chosen region of the network
Full fine-tuning
All or nearly all updated
No separate base requirement during use
Adapt the complete model to a new distribution or task
Continued pretraining
All or many updated
Usually no new task head
Continue the original learning objective on new domain data
Training from scratch
Randomly initialised
All trainable components
Build a new model or representation without inherited generator weights
Training from scratch
Training from scratch gives the project control over the model architecture, tokenizer, objective, context length, and conditioning design.
It also removes the behavioural assumptions inherited from a generator checkpoint. This can matter when the existing model uses an unsuitable representation or cannot support the required output.
The cost is that the new model must learn basic musical, acoustic, and conditioning relationships before it can specialise. That normally requires more data, more optimiser steps, more compute, and more failed experiments than adapting a capable pretrained model.
What training from scratch requires
Swipe sideways to view the full comparison
Requirement
Why it matters
Possible failure
Large and relevant dataset
The model must learn both general patterns and project-specific behaviour
Weak coverage or memorisation
Suitable representation
The tokenizer or latent space defines what the model predicts
Poor reconstruction or impractical sequence length
Compute and memory
All model parameters and optimiser states must be trained
The model cannot reach a useful scale or training length
Stable training pipeline
Long runs magnify data, numerical, and checkpointing errors
Divergence or wasted compute
Evaluation system
Loss alone cannot determine whether the music is useful
A technically trained model with weak musical output
Rights and documentation
Every training asset and model component must be accounted for
A technically successful model that cannot be released safely
In practice
When training from scratch may be justified
A project may need a new model when existing systems use the wrong output representation, cannot support the desired duration or control architecture, have unsuitable usage terms, or perform poorly on a domain despite careful adaptation. The decision should follow evidence from smaller baselines rather than prestige.
Continued pretraining keeps the same general task but changes the data distribution.
For a MusicGen-style language model, this could mean continuing codec-token prediction on a new licensed music collection while preserving the existing text-to-music architecture.
This approach can teach the model more about a domain without inventing a new output task. However, a narrow dataset can pull the model away from earlier capabilities if it dominates the updates.
Full fine-tuning gives the adaptation process access to the complete pretrained model. It can change low-level, middle-level, and high-level representations.
This flexibility can be valuable when the new domain differs substantially from the original training distribution.
It also requires storing gradients and optimiser state for the full trainable model. A small or repetitive adaptation dataset can overfit, narrow the model, or damage capabilities that were useful before adaptation.
Freezing more or less of the model
Swipe sideways to view the full comparison
Choice
Possible benefit
Possible limitation
Freeze the complete base
Low training cost and strong preservation of the base checkpoint
The new task must fit the existing representations
Train the final layers
Allows some task-specific adaptation
Earlier features remain fixed
Train selected blocks
Targets a chosen part of the model
The best layer choice is not obvious
Train the full model
Maximum adaptation capacity
Highest memory cost and greater risk of disrupting earlier behaviour
Parameter-efficient adaptation
Large pretrained models are expensive to duplicate and update for every new task.
Parameter-efficient methods keep the base checkpoint shared and store a much smaller task-specific update. This reduces trainable parameter count and can reduce optimiser memory and checkpoint storage.
The smaller update is still capable of overfitting or learning the wrong behaviour. Parameter efficiency describes how much is trained, not whether the adaptation is correct.
The original adapter approach inserts small trainable layers into a pretrained network. The base parameters remain fixed, while each downstream task receives its own adapter parameters.
Adapters can be swapped while sharing one base model. They can also introduce extra operations during inference because the audio or token representation passes through the added modules.
Adapter capacity and placement matter. A module that is too small may not express the required change, while an unnecessarily large adapter reduces the efficiency advantage.
Low-rank adaptation
LoRA represents the adaptation to a large weight matrix through two smaller trainable matrices.
The original weight remains frozen. During the forward pass, the base transformation and the low-rank update are combined.
After training, the update can often be stored separately or merged into the base weight for deployment. The rank controls the capacity and parameter count of the update.
Adapters and LoRA
Swipe sideways to view the full comparison
Property
Adapter module
LoRA
Where adaptation appears
New layers or branches in the network
Low-rank updates to selected weight matrices
Base weights
Usually frozen
Frozen
Stored adaptation
Adapter parameters
Low-rank matrices
Inference path
Usually passes through additional modules
Update can often be merged into the base weights
Capacity choice
Adapter size and placement
Rank, target modules, and scaling
Common risk
Adapter is too weak or placed poorly
Low-rank update is too restrictive for the required change
In practice
Real-world example: music foundation models
A study of parameter-efficient transfer learning for music foundation models compared adapter-based, prompt-based, and reparameterisation-based methods. On the tested music-information tasks, parameter-efficient methods matched or exceeded full fine-tuning in several settings while training far fewer parameters. The result was task-dependent, and a small model trained from scratch remained competitive on some tasks.
A pretrained generator may already produce suitable music but lack the required input control.
Instead of retraining the complete model, a project can add an encoder, projection, cross-attention branch, or fusion module that translates the new input into features the generator can use.
The base model may remain frozen, or selected parts may be fine-tuned jointly with the new module. This strategy is useful when the desired change is mainly about how the model is controlled rather than what representation it generates.
Examples in practice
Real-world example: Audio Prompt Adapter
Audio Prompt Adapter adds audio-input conditioning to a pretrained AudioLDM2 system. It uses a pretrained audio feature extractor and attention-based adapters, with 22 million trainable parameters reported in the paper, to support timbre transfer, genre transfer, and accompaniment generation without fully retraining the base generator.
Real-world example: MusicGen-Style
MusicGen-Style explored two audio-conditioning strategies. Textual inversion mapped audio into the embedding space of a pretrained text-to-music model without training the complete generator from scratch. A second strategy trained a music model jointly with a text conditioner and a quantised audio feature extractor.
Real-world example: JASCO
JASCO was designed for global text control together with local symbolic and audio controls such as chords, melody, drums, and full-mix references. It illustrates how a new architecture and conditioning method may be preferable when the control requirements exceed the interface of an existing checkpoint.
Inference-only use
Many projects do not need adaptation.
Prompts, melodies, reference inputs, decoding settings, candidate ranking, editing tools, and post-processing may already provide enough control.
Inference-only use avoids training cost and preserves the released checkpoint exactly. It cannot teach the model a genuinely new output representation or reliably add behaviour that the model and its interface do not support.
The architecture cannot maintain the required duration
A new control input
Translate the input into supported text or melody
The lost information requires a dedicated conditioner
Consistent production style
Use style references and post-processing
The model cannot reproduce the required acoustic characteristics
Check compatibility before loading a checkpoint
A checkpoint contains parameter tensors with expected shapes and names. It is not a generic package that can initialise any new architecture.
Changing the model width, number of layers, conditioner, codec codebooks, vocabulary, or output representation can create incompatible parameters.
Meta's AudioCraft fine-tuning documentation warns that the configuration is not inherited automatically and that changed model layers require manual checkpoint handling.
Adaptation can weaken earlier abilities
Updating a model on a new task can reduce performance on capabilities learned before adaptation. This is commonly called catastrophic forgetting or catastrophic interference.
For music generation, a model adapted aggressively to one narrow collection might improve on that style while becoming less diverse, less responsive to other prompts, or less stable outside the adaptation domain.
The risk depends on the data, update size, strategy, and how much of the model is changed.
Reducing adaptation damage
1
Establish a base-model evaluation
Measure the original checkpoint on both target-domain and general prompts.
2
Keep validation data outside the adaptation set
Test whether the apparent improvement transfers beyond the training examples.
3
Use conservative updates
Begin with a suitable learning rate, limited steps, or a smaller trainable parameter set.
4
Retain broader data when permitted
Mix or rehearse examples representing capabilities that should remain stable.
5
Compare against inference-only and smaller baselines
Confirm that training adds value beyond prompting, retrieval, or a simpler model.
6
Save and evaluate several checkpoints
The final training step is not necessarily the best balance between adaptation and retention.
Choose an adaptation strategy
1
Define the missing capability
State whether the problem is domain knowledge, sound quality, output structure, prompt control, editing, or a new input modality.
2
Test the base model
Measure what prompting, references, decoding, and post-processing can already achieve.
3
Check architecture compatibility
Confirm that the representation, context length, output format, and model interface can support the goal.
4
Audit rights and licences
Verify permissions for the base model, training data, references, and intended release.
5
Start with the smallest credible intervention
Try inference-only use, a new head, an adapter, LoRA, or partial fine-tuning before full retraining.
6
Evaluate retained capabilities
Compare the adapted model with the base model on target and non-target tasks.
7
Escalate only when evidence supports it
Move toward full fine-tuning or training from scratch when smaller methods cannot express the required change.
Matching a strategy to a music project
Swipe sideways to view the full comparison
Scenario
Likely starting strategy
Reason
Generate from a supported genre with better prompts
Inference only
No evidence yet that parameter updates are necessary
Adapt a general model to a small licensed percussion collection
LoRA, adapter, or partial fine-tuning
The base model already knows music and audio generation
Improve the model's understanding of new caption vocabulary
Conditioner tuning or continued pretraining
The output representation may already be suitable
Add audio-reference editing to a text-only generator
New conditioning module or adapter
The missing capability is a new input pathway
Build a generator using a different codec and token structure
Train a new generator or perform substantial architectural adaptation
Existing output layers may be incompatible
Create a frontier-scale general music model
Training from scratch or large-scale continued pretraining
The project requires broad capability and extensive control over architecture
Deploy several specialised styles from one shared base
Separate adapters or LoRA checkpoints
The base can be reused while storing compact adaptations
Interactive lesson
Choose a Model Adaptation Strategy
Try it: Select a scenario and record the required output, available data, compute budget, rights status, and compatibility with the base model. Compare the recommended strategy with at least two alternatives, then inspect what is trained, stored, evaluated, and deployed.
Training from scratch updates newly initialised generator parameters. Full fine-tuning updates the complete pretrained model. Partial fine-tuning changes selected layers. Adapters and LoRA train compact updates while sharing a frozen base. New conditioning modules add control pathways, while inference-only use changes no parameters.
Test the decision on a small scale
Selecting a strategy is only the beginning. Before committing to a large training run, the project needs a small experiment with a clear hypothesis, controlled variables, a baseline, validation data, and stopping criteria.
The next section, Designing a Small Experiment, turns the selected adaptation strategy into a testable training plan.
Check your understanding
Ready for a quick check?
Test whether you can distinguish model adaptation strategies and select an approach that fits the data, architecture, compute, and control requirements.
Ready to continue?
Save this section to your account and continue from any device.