arXiv:2608.24041cs.AIAug 2026

Manuscript Offprint

arXiv:2608.24041

Relative Time Intervals Representation for Word-level Timestamping with Masked Training

Quanwei Tang, Zhiyu Tang, Xu Li, Dong Zhang, Shoushan, Guodong Zhou

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

Although Speech Large Language Models (SpeechLLMs) excel at speech understanding and generation, their capacity for fine-grained, temporally aligned outputs remains underexplored. Our work addresses this gap by enabling SpeechLLMs to jointly model speech content and temporal structure, effectively transforming them from “content understanding machines” into “temporal-aware content understanding machines”. Specifically, we replace traditional absolute timestamps with relative timestamps, achieving a more compact vocabulary and stronger generalization capabilities. To efficiently infuse timestamp prediction ability into pre-trained large language models, we introduce a hybrid fine-tuning strategy: full-parameter fine-tuning of the timestamp-augmented embedding layer and language model head, combined with LoRA fine-tuning of the decoder layers. Moreover, we design a masked timestamp training objective, preventing the model from over-relying on ground-truth timestamps, and thereby enhancing robustness against noisy real-world annotations. Extensive experiments demonstrate that our approach achieves significant improvements in timestamp prediction accuracy while maintaining strong speech transcription performance. 1^{1}

Index Terms— Timestamping, Speech LLM, Absolute Timestamp, Relative Timestamp, Masked Training

1. INTRODUCTION

Recent research has explored the integration of large language models (LLMs) with speech processing [1, 2]. However, generating fine-grained, word-level timestamped transcription has not been fully explored yet [3, 4]. This task demands not only accurate speech understanding but also precise temporal alignment between linguistic units and their acoustic realizations [5, 6]. A core challenge lies in how to represent and predict temporal structure efficiently within the constrained vocabulary and sequential decoding paradigm of LLMs [7, 8, 9, 10]. Existing methods like Qwen2 Audio [11] often employ absolute timestamps for modeling. e.g., <|0.45|>Okay<|1.10|>let's<|2.50|>go<|5.70|>... indicates that the word "Okay" starts at 0.45 seconds and ends at 1.10 seconds. While this representation is intuitive and facilitates evaluation, its dependence on an absolute temporal reference limits scalability and generalization over long-duration audio segments.

As shown in Figure 1, predicting absolute timestamps is prone to cumulative error propagation. Absolute timestamps are monotonically increasing, causing LLMs to learn a cumulative pattern: generating larger values by adding estimated segment durations to prior timestamps. Furthermore, this approach exhibits poor generalization to unseen temporal ranges. For instance, it fails to predict timestamps beyond the training duration (e.g., at 60 seconds when trained

Traditional Absolute Timestamps (Fixed Reference)

Figure

Our Relative Timestamps (Dynamic Intervals)

Figure

Fig. 1. Traditional methods rely on fixed-reference absolute timestamps, often struggling with cumulative errors or precise synchronization. Our approach utilizes dynamic interval-based relative timestamps, which inherently model temporal relationships and offer improved robustness and accuracy.

only on utterances up to 30 seconds). A major practical limitation lies in the prohibitively large vocabulary required for high temporal precision: achieving 0.01-second resolution over a 300-second audio clip requires 30,000 distinct timestamp tokens. This explosion in vocabulary significantly increases training complexity and computational overhead, making the approach unscalable for long-form speech processing.

To address these limitations, we propose a relative timestamp representation, defined as the time interval between consecutive words. (e.g., <∣0.65∣><|0.65|> for words aligned at <∣0.45∣><|0.45|> and <∣1.10∣><|1.10|>). This method requires solely estimating the current segment's duration, thereby minimizing error susceptibility. Only a limited time interval (such as 0.01 seconds to 5 seconds) needs to be learned, and by accumulating these intervals, any length of audio can be represented. Vocabulary only needs to contain limited time interval tokens, compared to absolute timestamps. Human speech perception naturally focuses on relative timing: we intuitively process how long after the previous word the next one occurs, rather than its absolute position in time. This relative interval modeling aligns naturally with the autoregressive generation paradigm of language models. Absolute timestamps force the model to learn an entirely new absolute value that is unrelated to the previously

†^{\dagger}Corresponding author. dzhang@suda.edu.cn

1^{1}https://github.com/tangquanwei/Timestamp-Aware-Speech-LLM

Figure

Fig. 2. Architectural Comparison of an Absolute Timestamp-based Model (Left) and Our Proposed Relative Timestamp-based Model (Right). The traditional method models timestamps as independent absolute values and struggles with representing timestamps. In contrast, our approach utilizes a compact vocabulary of relative timestamps. By leveraging LoRA fine-tuning on the decoder, our model efficiently learns to jointly generate both text and temporal markers. To ensure accuracy and robustness, our training incorporates a combined loss function and timestamp regularization (token masking), which forces the model to learn a more resilient representation of temporal information.

generated content, which is contrary to its natural generation mode.

We make the following three key contributions:

  1. A Novel Relative Time Interval Representation for Word-Level Timestamping: We introduce a relative timestamp representation that models inter-word intervals instead of absolute positions. This approach mitigates vocabulary explosion and temporal drift, enabling accurate timestamp prediction for arbitrarily long audio without length-dependent degradation.

  2. Advanced Regularization and Alignment Strategies: We propose a regularization technique, Timestamp Masking, which mitigates overfitting to perfect alignments, along with a dynamically weighted Joint Temporal Alignment Loss that adaptively balances transcription accuracy and timestamp fidelity during training.

  3. Hybrid Parameter-Efficient Fine-Tuning: We fully fine-tune only timestamp-specific modules (embedding layer and LM head), while adapting pre-trained decoder layers via LoRA. This role-aware strategy preserves linguistic knowledge with minimal parameter updates, aligning adaptation granularity with each module's functional role.

References (25)