In-Context Learning in Speech Language Models: Analyzing the Role of Acoustic Features, Linguistic Structure, and Induction Heads
Organizations: ILLC, University of Amsterdam · CSAI, Tilburg University
Abstract
In-Context Learning (ICL) has been extensively studied in text-only Language Models, but remains largely unexplored in the speech domain. Here, we investigate how linguistic and acoustic features affect ICL in Speech Language Models. We focus on the Text-to-Speech (TTS) task, which allows us to analyze ICL from two angles: (1) how accurately the model infers the task from the demonstrations (i.e., generating the correct spoken content), and (2) to what extent the model mimics the acoustic characteristics of the demonstration speech in its output. We find that speaking rate strongly affects ICL performance and is also mimicked in the output, whereas pitch range and intensity have little impact on performance and are not consistently reproduced. Finally, we investigate the role of induction heads in speech-based ICL and show that these heads play a causal role: ablating the top-k induction heads completely removes the model's ICL ability, mirroring findings from text-based ICL.
Figures & tables
| Condition | Degree of Overlap | Demonstration | Target |
| Core | — | the boy judged the adult | a secretary forgets a cousin |
| Lexical Overlap | nouns only | the secretary judged the cousin | a secretary forgets a cousin |
| main verb only | the boy forgot the adult | ||
| function words only | a boy judges an adult | ||
| all words | a secretary forgets a cousin | ||
| Semantic Similarity | nouns only | the employee judged the uncle | a secretary forgets a cousin |
Appendix figures & tables4 assets
Supplementary material from the paper’s appendix.
Appendix
In-Context Learning
In-context learning studies how models adapt to new tasks from examples or instructions supplied at inference time, without changing their weights.
See all 404 papers