BitTP: The Lightweight Trajectory Prediction Model
with BitLLM for Edge-Devices

Mincheol Kang1,*,\(\ddagger\) Hyunjin Lim2,* Bomin Kang2,* Daehee Park2,\(\dagger\)
1KAIST, Republic of Korea 2DGIST, Republic of Korea
mintcat@kaist.ac.kr, {hyunjinlim, mellowoura, dhpark}@dgist.ac.kr


Abstract

Trajectory prediction is a fundamental task for autonomous systems, requiring complex reasoning about multi-agent interactions and intents. Large language models (LLMs) have recently been adopted for this task, as they provide strong contextual reasoning and interpretable, language-based trajectory representations. However, these LLM-based predictors are extremely memory- and compute-intensive, making them difficult to deploy on resource-constrained edge devices such as on-board computers in autonomous robots. To bridge this gap, we propose BitTP, which converts an LLM-based trajectory predictor into a lightweight bitlinear architecture. We demonstrate that weight-only quantization to 1.58-bit (BitTP-Weight) is optimal. Crucially, activations must remain in full precision, as quantizing them leads to severe degradation and instability in spatio-temporal reasoning. Empirically, BitTP-Weight not only preserves but improves prediction quality over the full-precision (BF16) LLM baseline, reducing ADE by 14.29% and FDE by 20.97% on average, while simultaneously reducing memory usage and inference latency relative to other quantization methods. These results demonstrate that carefully designed quantization acts as an effective regularizer, enabling the practical deployment of sophisticated LLM-based reasoning on edge devices. Code is available at: https://github.com/MintCat98/BitTP.

1 Introduction↩︎

Figure 1: Overview of the BitTP framework. (a) The baseline trajectory prediction model [1] utilizing a full-precision (bf16,fp16,fp32) sequence-to-sequence architecture. (b) Our proposed BitTP, which replaces standard nn.Linear layers with BitLinear modules to selectively quantize model weights to 1.58-bit [-1,0,1].

Trajectory prediction plays a pivotal role in autonomous driving and robotic navigation, acting as the bridge between perception and planning [2][7]. Accurate trajectory prediction allows an autonomous agent to anticipate how surrounding agents will move in dynamic scenes and to plan safe, socially compliant actions. However, real-world environments are highly interactive: pedestrians, vehicles, and robots influence one another, and forecasting future motions therefore requires understanding the intent and interactions of multiple agents rather than purely extrapolating past positions [8][13].

With this motivation, recent studies have begun to leverage the contextual reasoning abilities of large language models (LLMs) for trajectory prediction. Language models offer strong capabilities in contextual reasoning and multi-agent understanding [14][18]. Vision–language frameworks and language-driven predictors have explored encoding trajectories, intents, and scene descriptions in a language-like format to improve interpretability and scene-level consistency [19][22]. However, the large size and heavy computational requirements of LLMs make them unsuitable for deployment on edge devices, where real-time inference and energy efficiency are essential. This limitation prevents their direct use in autonomous vehicles and mobile robots operating under strict resource constraints. To mitigate these constraints, many works explore parameter-efficient tuning and quantization for LLMs [23][28].

In trajectory prediction, sequence-to-sequence (Seq2Seq) encoder-decoder architectures are widely recognized to outperform decoder-only models, as demonstrated by recent state-of-the-art approaches [1]. However, the majority of existing quantization research has concentrated on decoder-only models, particularly within the LLaMA family. Specifically, these works demonstrate that weight-only quantization effectively preserves the performance of LLaMA-like models, whereas quantizing activations often leads to significant degradation [25], [27]. It remains unverified whether this finding holds true for the encoder-decoder structure of Seq2Seq models. Our work addresses this gap by investigating efficient quantization strategies specifically for Seq2Seq architectures. We select BitNet [26] due to its ability to perform extreme model compression down to 1.58-bits. We hypothesize that BitNet will be particularly impactful for Seq2Seq models, as its aggressive compression can be applied to both the encoder and decoder, offering substantial size reductions ideal for edge device deployment. Furthermore, we aim to empirically validate whether a selective quantization strategy—separating weights and activations—is also the optimal approach for Seq2Seq models, drawing parallels from the observations in LLaMA-based research.

Building upon this hypothesis, we propose BitTP (Fig. 1), a quantized reasoning framework for efficient trajectory prediction based on Seq2Seq LLMs. Instead of relying on massive LLMs, we transform a standard language‑based prediction model into a lightweight bitlinear architecture that performs low‑bit operations while preserving reasoning capability. Our approach applies quantization selectively: only the model weights are quantized and activations remain in full precision. This selective design draws inspiration from extreme network quantization and sparsity studies [29], [30]. Through systematic experiments, we find that selective quantization achieves the best trade-off between accuracy and efficiency, while full quantization of both weights and activations severely degrades motion reasoning quality and leads to unstable training behaviors. The proposed design, which builds on established multi-agent reasoning and dynamic interaction models [31][34], enables the model to process complete past trajectories and generate coherent multi‑step predictions, maintaining the relational reasoning and interpretability of language‑based approaches while achieving substantial improvements. Our model is evaluated on real‑world trajectory prediction datasets, showing that it maintains prediction performance while being suitable for deployment on resource‑limited robots [35][40].

Our main contributions are summarized as follows:

  • We propose BitTP, a quantized reasoning framework for edge devices, and conduct a systematic analysis of three selective quantization strategies (weight-only, activation-only, and combined) within a sequence-to-sequence architecture.

  • We find that the BitTP-Weight strategy, which quantizes only model weights to 1.58-bit while maintaining full-precision activations, achieves the optimal trade-off. It outperforms the full-precision baseline, reducing ADE by 14.29% and FDE by 20.97%, while significantly reducing memory and latency relative to previous approaches.

  • We confirm that activation precision is critical for spatio-temporal reasoning in encoder-decoder models, as strategies involving activation quantization resulted in severe instability and performance degradation. Our work validates the practical feasibility of deploying lightweight, accurate language-based models for real-time trajectory prediction.

2 Related Works↩︎

2.1 Trajectory Prediction in Dynamic Environments↩︎

Trajectory prediction has long been a core problem in autonomous driving and robotics. Classical approaches focus on modeling the geometric evolution of agent trajectories from past motion histories. These methods learn spatial and temporal correlations through recurrent or transformer‑based encoders and often rely on pairwise distance or attention mechanisms to capture agent interactions. Examples include pooling‑based recurrent models, generative adversarial frameworks, graph‑based approaches and transformer architectures [2][13], [41][43]. While effective for short‑term motion forecasting, such geometry‑centric designs struggle to capture higher‑level semantics such as human intent, social norms and multi‑agent coordination[7]. As urban scenes become increasingly complex, accurate forecasting requires reasoning not only about motion geometry but also about latent intentions and inter‑agent dependencies across the scene.

2.2 Reasoning-based and Language-driven Prediction↩︎

Recent research has explored reasoning‑oriented frameworks to enhance the semantic understanding of dynamic scenes. Graph‑based relational reasoning models treat agents and their interactions as nodes and edges in evolving graphs, enabling context‑aware predictions [32][34], [44][46]. Transformers have been adapted to jointly encode social interactions and temporal dynamics for multi‑agent prediction [4], [5], [31]. Inspired by the expressive reasoning capability of language models, several works represent trajectories, intents and scene descriptions in a language‑like format to improve interpretability and scene‑level consistency [14][22]. However, the computational footprint of these models remains prohibitively large. Even compact LLMs require multi‑gigabyte memory and tera‑scale FLOPs for autoregressive inference, leading to high latency and power consumption. This limitation makes direct deployment of language‑driven predictors impractical for real‑time autonomous systems, motivating research toward more efficient reasoning architectures.

2.3 Efficient and Quantized Reasoning for Edge Deployment↩︎

To enable real‑time prediction under limited compute budgets, recent works have investigated model compression, pruning and quantization techniques. Early studies on binary neural networks and distillation paved the way for aggressive quantization and sparsity without catastrophic performance drops [29], [30], [47]. Lightweight language models such as DistilBERT and ALBERT demonstrate that substantial parameter reductions are possible through knowledge distillation and factorized embeddings [17], [18]. Low‑rank adaptation and parameter‑efficient fine‑tuning methods like LoRA further reduce training and inference costs [23]. Recent advances in quantization, including QLoRA, GPTQ, BitNet, AWQ and 8‑bit matrix multiplication, have shown that large language models can be quantized to low precision while retaining accuracy [24][28]. Nevertheless, most of these approaches target general NLP tasks or vision transformers and do not directly address the relational reasoning needed for multi‑agent trajectory prediction. In contrast, efficient trajectory reasoning demands architectures that not only compress parameters but also retain the ability to infer interactions and intent over time. This gap motivates our work: we propose a quantized reasoning framework for trajectory prediction that achieves strong reasoning capability with lightweight computation, enabling deployment on edge robots and autonomous vehicles.

3 Method↩︎

Figure 2: BitTP Model Architecture and Selective Quantization Strategies. (Left) The overall BitTP framework, based on a T5-small architecture. All standard nn.Linear layers within the Feed-Forward Networks (FFN) and Attention blocks are dynamically replaced by our custom BitLinear modules. (Right) We systematically investigate three selective quantization strategies: (a) BitLinear-Both (Eq. 3 ), which quantizes both 8-bit activations and 1.58-bit weights; (b) BitLinear-Activ (Eq. 4 ), which quantizes only activations; and (c) BitLinear-Weight (Eq. 5 ), which quantizes only weights. Our best-performing model, BitTP-Weight (c), demonstrates the effectiveness of preserving full-precision activations while compressing weights.

This section elaborates on BitTP, our proposed lightweight quantization framework designed for efficient trajectory prediction on edge devices. Sec. 3.1 introduces the backbone architecture and detailing the quantization mechanism (Alg. 3) used to replace standard nn.Linear layers with our custom BitLinear modules. Subsequently, Sec. 3.2 presents our core technical contribution: three selective quantization strategies, namely BitLinear-Both, BitLinear-Activ, and BitLinear-Weight. We describe the technical formulations and mathematical definitions (Eq. 3 5 ) for each strategy.

Figure 3: nn.Linear-to-BitLinear Replacement
Table 1: Breakdown of nn.Linear layers in the T5-small model, which serve as the targets for quantization.
T5-small Block Linear (d_ff=2048) Total
Encoder 6 6 36
Decoder 6 10 60
LM Head - 1 1
Total - - 97

3.1 Model Quantization↩︎

Our proposed quantized reasoning framework, BitTP, is a general method designed to quantize standard nn.Linear layers, making it broadly applicable to Transformer-based models. While language-based architectures show strong potential for trajectory prediction, recent work suggests that sequence-to-sequence (encoder–decoder) models are better suited for this task than causal language models (CLMs) [1]. We therefore empirically validate our approach using the T5-small model [48] as a representative encoder–decoder Transformer backbone. BitTP adapts this backbone by replacing all nn.Linear layers within the T5 architecture with our custom BitLinear modules, as described below and in Sec. 3.2.

Preliminaries. The T5-small model is composed of 6 encoder blocks and 6 decoder blocks, as described in Fig. 2 and Tab. 1. Within each block, the standard Transformer components are our quantization targets: each Feed-Forward Network (FFN) module contains 2 nn.Linear layers for the gated activation, and each attention module (self-attention or cross-attention) contains 4 nn.Linear layers for the Q, K, V, and O projections. As summarized in Tab. 1, this architecture logically comprises 97 nn.Linear layers in total: 36 in the encoder, 60 in the decoder, and 1 in the final output projection layer (LM Head), which is tied with the input token embeddings (shared embedding projection).

Quantization Mechanism. To perform adaptation, we utilize a replacement helper function, replace_linear_with_quantization. As shown in Algorithm 3, this main entry function selects the appropriate quantization measures based on the target string, an argument that specifies whether to quantize weights, activations, or both. It then invokes the recursive helper function, _replace_linear_base (Algorithm 3), to traverse the T5 model’s module hierarchy and replace every nn.Linear instance with a BitLinear module. While the logical count of nn.Linear layers is 97 (Tab. 1), we note that due to parameter sharing within the Hugging Face transformers library implementation (e.g., combining query, key, and value projections into a single nn.Linear module), the actual number of unique nn.Linear objects replaced by our function is 73. This dynamic replacement allows us to use the same training and evaluation pipeline (Sec. 4) to systematically compare the performance of each quantization strategy against the full-precision baseline.

\(\dagger\): Results reported in the original papers (may use different batch sizes), \(\dagger\dagger\): Results from our backbone implementation.

Table 2: Comparison of BitTP variants with prior state-of-the-art methods on the ETH/UCY benchmark. All values report ADE/FDE (meters).The \(\Delta\) column shows performance change relative to the reproduced BF16 baseline (LMTraj-SUP\(\dagger\dagger\)), where negative values indicate improvement. BitTP results use batch size = 128.
Stochastic ETH HOTEL UNIV ZARA1 ZARA2 AVG \(\Delta\)
PECNet[41] 0.61 / 1.07 0.22 / 0.39 0.34 / 0.56 0.25 / 0.45 0.19 / 0.33 0.32 / 0.56 -
MID[49]\(\dagger\) 0.57 / 0.93 0.21 / 0.33 0.29 / 0.55 0.28 / 0.50 0.20 / 0.37 0.31 / 0.54 -
SocialVAE[50]\(\dagger\) 0.41 / 0.58 0.13 / 0.19 0.21 / 0.36 0.17 / 0.29 0.13 / 0.22 0.21 / 0.33 -
LMTraj-SUP[1]\(\dagger\) 0.41 / 0.51 0.12 / 0.16 0.22 / 0.34 0.20 / 0.32 0.17 / 0.27 0.22 / 0.32 -
LMTraj-SUP[1]\(\dagger\dagger\) 0.56 / 0.82 0.19 / 0.35 0.49 / 0.98 0.26 / 0.46 0.26 / 0.50 0.35 / 0.62 0.0 / 0.0
LMTraj-SUP-int8 0.47 / 0.67 0.19 / 0.35 0.49 / 0.98 0.26 / 0.46 0.26 / 0.49 0.34 / 0.59 -0.01 / -0.03
LMTraj-SUP-int4 0.47 / 0.71 0.20 / 0.36 0.49 / 0.97 0.25 / 0.44 0.28 / 0.54 0.34 / 0.60 -0.01 / +0.02
BitTP-Both 1.73 / 1.41 0.84 / 0.78 1.13 / 1.11 1.66 / 1.44 0.97 / 0.94 1.27 / 1.13 +0.92 / +0.51
BitTP-Activation 2.89 / 4.86 1.16 / 2.02 1.36 / 2.47 2.40 / 3.67 1.40 / 2.55 1.84 / 3.12 +1.49 / +2.50
BitTP-Weight 0.46 / 0.62 0.17 / 0.27 0.42 / 0.80 0.23 / 0.40 0.22 / 0.39 0.30 / 0.49 -0.05 / -0.13

3.2 Three Selective BitLinear Strategies↩︎

Our primary objective is to adapt the T5-small backbone for efficient deployment on resource-constrained edge devices. To this end, we replace the standard full-precision nn.Linear layers, which perform the operation \(y = x W^T + b\), with custom BitLinear layers. This adaptation inherits the core quantization principles from BitNet b1.58 [26], which quantizes both weights and activations. However, our approach departs from this; we systematically investigate three selective quantization strategies, visualized in the right side of Fig. 2, to identify the optimal balance between prediction accuracy and computational efficiency. These strategies are: (a) BitLinear-Both, quantizing both weights and activations; (b) BitLinear-Activ, applying activation-only quantization; and (c) BitLinear-Weight, applying weight-only quantization.

Scaling Functions and Quantization. The BitLinear operation is defined by its normalization and scaling procedures. First, all input activations \(x\) are normalized via LayerNorm (\(\text{LN}\)) to produce \(x_{\text{norm}} = \text{LN}(x)\). Second, two scaling factors, \(\gamma\) for activations and \(\beta\) for weights, are computed. As visualized in Fig. 2-(a,b), for 8-bit activation quantization (\(Q_{\text{activ}} = [-128, 127]\)), we employ AbsMax scaling: \[\label{eq:absmax} \begin{align}\gamma = \frac{\max(|Q_{\text{activ}}|)}{\max(|x_{\text{norm}}|) + \epsilon} = \frac{127}{\max(|x_{\text{norm}}|) + \epsilon}.\end{align}\tag{1}\] For 1.58-bit ternary weight quantization (\(Q_{\text{weight}} = \{-1, 0, 1\}\)), visualized in Fig. 2 (c), we utilize AbsMean scaling: \[\label{eq:absmean} \begin{align}\beta = \frac{\max(|Q_{\text{weight}}|)}{\text{mean}(|W|) + \epsilon} = \frac{1}{\text{mean}(|W|) + \epsilon}.\end{align}\tag{2}\] The core quantization function, denoted as \(\text{Quant}_Q(z)\), then transforms the scaled values \(z\) into the target integer range \(Q\) using \(\text{Round Clamp}\) operations. A Straight-Through Estimator (STE) is employed during the backward pass to maintain gradient flow.

Selective Quantization Strategies. Based on these functions, we define three BitLinear variants. In each case, the final output \(y\) is computed by performing the linear operation on the quantized values, followed by a de-quantization step (division by the relevant scaling factors) to restore the original scale.
Bitlinear-Both. This variant mirrors the original BitNet [26] by quantizing both weights and activations, targeting maximum theoretical efficiency: \[\label{eq:both} \begin{align}y = \frac{\text{Quant}_{8}(\gamma \cdot \text{LN}(x)) \cdot \text{Quant}_{1.58}(\beta \cdot W)^T + b}{\beta \cdot \gamma}.\end{align}\tag{3}\] Bitlinear-Activ. This strategy maintains full-precision weights but quantizes the 8-bit activations after LayerNorm, aiming for computational savings during the matrix multiplication: \[\label{eq:activ} \begin{align}y = \frac{\text{Quant}_{8}(\gamma \cdot \text{LN}(x)) \cdot W^T + b}{\gamma}.\end{align}\tag{4}\] Bitlinear-Weight. This strategy keeps activations in full precision while quantizing only the weights to 1.58-bit. This strategy is designed to significantly reduce the model’s memory footprint: \[\label{eq:weight} \begin{align}y = \frac{x \cdot \text{Quant}_{1.58}(\beta \cdot W)^T + b}{\beta}.\end{align}\tag{5}\]

In the following sections, we empirically compare these three strategies and show that BitLinear-Weight achieves the best trade-off between accuracy and efficiency for LLM-based trajectory prediction.

4 Experiments↩︎

In this section, we present a comprehensive evaluation of our proposed BitTP framework. We begin in Sec. 4.1 by detailing the experimental setup, including the widely-used ETH/UCY benchmark, our evaluation metrics, and key implementation details. Next, in Sec. 4.2, we conduct a quantitative and qualitative comparison of our three BitTP strategies against state-of-the-art baselines, analyzing their predictive accuracy. Following that, Sec. 4.3 provides a detailed analysis of the inference cost and memory usage for each configuration. Finally, in Sec. 4.4, we investigate training dynamics by analyzing the model’s sensitivity to different learning rates, confirming the stability of our approach. Furthermore, to demonstrate its suitability for edge devices and on-board computers, we validate the feasibility of deploying our model even in environments without GPU acceleration, which is detailed in Sec. 10 of the Supplementary Material.

Figure 4: Qualitative visualization of stochastic trajectory predictions on the ETH/UCY benchmark.

4.1 Experimental Setup↩︎

Datasets. We adopt the ETH/UCY trajectory datasets, which contain five scenes: ETH, Hotel, Univ, Zara1, and Zara2. Following the standard protocol, each sequence consists of 8 observed steps (3.2s) and 12 prediction steps (4.8s). We employ a leave-one-out evaluation scheme, training on four scenes and testing on the remaining one.

Metric. We report Average Displacement Error (ADE) and Final Displacement Error (FDE), where ADE is the mean positional error over the prediction horizon and FDE is the error at the final timestep.

Model and Implementation Details. All experiments are conducted using the T5-small backbone (Fig. 2) implemented in PyTorch. BitTP models are trained on a single NVIDIA RTX 3090 GPU with AdamW optimizer and an initial learning rate of \(1\times10^{-4}\) using a linear scheduler without warmup steps. The training epoch is set to 8 with a batch size of 128 or 256. Gradient clipping is applied with \(\|g\|_{max}=1.0\). We utilize a trajectory subword tokenizer trained via BPE [1] on pixel-level trajectories to handle continuous input. Stochastic decoding modes are evaluated with temperature 0.7.

Quantization Settings. BitTP introduces lightweight BitLinear modules for weight-only, activation-only, and combined quantization, as described in Fig. 2-(a,b,c). We evaluated multiple precision levels (1.58-bit, 4-bit, 8-bit) and compared them with a BF16 baseline [1]. During inference, stochastic decoding (temperature=0.7) is reported, with top-k sampling disabled.

4.2 Performance Comparison Across BitTP Strategies↩︎

Tab. 2 compares BitTP models with existing state-of-the-art stochastic trajectory prediction methods [1], [41], [49], [50] on the ETH/UCY benchmark. Methods such as SocialVAE and LMTraj-SUP achieve the strongest full-precision performance, with average ADE/FDE around 0.21/0.33 and 0.22/0.32, respectively. These models represent the performance ceiling for encoder–decoder architectures on this benchmark and provide a solid reference point for evaluating quantized variants.

Before evaluating BitTP, we reproduced LMTraj-SUP [1] under BF16, INT8, and INT4 settings. The reproduced BF16 model (LMTraj-SUP††) shows slightly degraded performance compared to the original numbers (AVG 0.35/0.62 vs. 0.22/0.32). Importantly, both INT8 (AVG 0.34/0.59, \(\Delta\) -0.01/-0.03) and INT4 (AVG 0.34/0.60, \(\Delta\) -0.01/+0.02) configurations maintain nearly identical accuracy, indicating that transformer-based trajectory models remain robust under moderate quantization [24], [28], [51], [52].

The three BitTP strategies display distinctly different behaviors. BitTP-Weight (Fig. 2-(c)) achieves the strongest performance, with an average of 0.30 ADE and 0.49 FDE—improving upon the reproduced BF16 baseline (\(\Delta\) -0.05/-0.13) and outperforming all quantized LMTraj-SUP settings. This suggests that weight-only BitLinear layers effectively preserve spatial–temporal structure while benefiting from reduced parameter redundancy. BitTP-Both (Fig. 2-(a)), however, shows degraded accuracy with an average of 1.27/1.13 (\(\Delta\) +0.92/+0.51), as joint encoder–decoder quantization accumulates noise and disrupts attention-layer activations, consistent with the instability observed during training. Lastly, BitTP-Activation (Fig. 2-(b)) performs the worst, achieving an average of 1.84/3.12 (\(\Delta\) +1.49/+2.50), which reflects substantial instability when only activations are quantized; early activation distortion significantly increases gradient variance and disrupts feature-flow consistency. BitTP-Weight (Fig. 2-(c)) achieves the strongest performance, with an average of 0.30 ADE and 0.49 FDE. This corresponds to a relative error reduction of 14.29% in ADE and 20.97% in FDE compared to the reproduced BF16 baseline (\(\Delta\) -0.05/-0.13), outperforming all quantized LMTraj-SUP settings.

To complement our quantitative analysis, Fig. 4 presents a qualitative visualization of stochastic trajectory predictions from the ETH/UCY benchmark. As shown in the scenes from ETH, HOTEL, UNIV, and ZARA, the trajectories predicted by our BitTP-Weight consistently generate plausible paths that closely align with the ground truth. When compared to the full-precision LMTraj-SUP†† baseline, our lightweight model demonstrates a comparable or superior ability to capture complex multi-agent interactions and anticipate future movements. This visual evidence supports our main finding that selective weight-only quantization effectively preserves the model’s critical spatio-temporal reasoning capabilities.

Overall, BitTP-Weight provides the best accuracy and efficiency, demonstrating that low-bit trajectory transformers are feasible when quantization is applied selectively. The weaker performance of BitTP-Both and BitTP-Activation highlights that stability in encoder–decoder architectures is highly sensitive to the location of quantization, emphasizing the importance of preferring weight quantization over activation quantization in practice.

4.3 Inference Cost Comparison Across BitTP Strategies↩︎

To understand the efficiency of different quantization designs, we compare the inference cost of each BitTP strategy using BitTP-Both as the reference baseline (100% memory and 100% inference cost) in Tab. 3. BitTP-Both jointly quantizes all nn.Linear layers in both the encoder and decoder, and therefore represents the full quantization path without any structural reduction. The relative cost of the other variants can thus be interpreted as the proportion of computation and memory they eliminate with respect to this baseline.

BitTP-Activation applies 8-bit quantization only to activations while keeping all weights in high precision. Since most computation in transformer architectures arises from weight matrices, activation-only quantization reduces the overall load only marginally, resulting in 91.09% memory and 74.68% inference cost relative to BitTP-Both. Importantly, this limited efficiency gain comes at the expense of a severe accuracy degradation (1.84 ADE / 3.12 FDE), as quantizing activations directly distorts intermediate feature distributions and destabilizes attention propagation.

BitTP-Weight, which quantizes all weight matrices to 1.58-bit while preserving full-precision activations, yields substantial efficiency improvements. Weight-only quantization reduces parameter storage and matrix multiplication cost, achieving 53.58% memory and 63.12% inference cost. Despite this reduction, BitTP-Weight maintains strong predictive performance (0.30 ADE / 0.49 FDE), surpassing all other quantized variants and closely matching the reproduced BF16 results.

Overall, these results demonstrate that BitTP-Weight is the most practical and efficient design, offering significant computational savings without compromising accuracy. In contrast, BitTP-Activation provides minimal benefit while severely damaging model stability, underscoring the importance of carefully selecting quantization locations in encoder–decoder architectures.

Table 3: Accuracy and complexity comparison between quantized and baseline models in ETH/UCY.
Accuracy Complexity(%)
2-3 (lr)4-5 Model ADE FDE Memory Inference
BitTP-Both 1.27 1.13 100.00 100.00
BitTP-Activation 1.84 3.12 91.09 74.68
BitTP-Weight 0.30 0.49 53.58 63.12
Table 4: Accuracy comparison across quantization and BitLinear configurations. (batch_size=256).
Model ADE FDE
Learning rate: 1e-4
LMTraj-SUP[1]†† 0.47 0.67
BitTP-Both 1.55 1.34
BitTP-Activation 2.89 4.86
BitTP-Weight (Best) 0.42 0.57
Learning rate: 2e-4
LMTraj-SUP[1]†† 0.54 0.81
BitTP-Both 1.71 1.67
BitTP-Activation 1.59 1.53
BitTP-Weight 0.51 0.79
Learning rate: 4e-4
LMTraj-SUP[1]†† 0.62 0.96
BitTP-Both 1.68 1.36
BitTP-Activation 1.36 1.23
BitTP-Weight 0.52 0.75

4.4 Learning-Rate Effects in Encoder-Decoder↩︎

Recent findings on BitNet and other decoder-only low-bit models show that unusually high learning rates can improve optimization stability under aggressive quantization, smoothing the loss landscape and mitigating quantization-induced noise [26]. This behavior contrasts with conventional quantization pipelines—where higher learning rates typically destabilize training—and suggests that weight-only quantization may follow a distinct optimization regime. However, prior analyses have focused almost exclusively on decoder-only LLMs. Whether this phenomenon extends to encoder–decoder architectures, where both sides jointly influence generation, has remained unexamined.

Tab. 4 addresses this gap. Across all learning rates (1e-4, 2e-4, 4e-4), BitTP-Weight remains remarkably stable and consistently outperforms the BF16 baseline, achieving its best accuracy at 1e-4 (0.42 ADE / 0.57 FDE). These results indicate that the high–learning-rate robustness reported in BitNet generalizes naturally to seq2seq transformers: weight-only quantization preserves a smooth and optimization-friendly loss landscape even when both encoder and decoder participate in prediction.

Figure 5: Training loss convergence curves in ETH (Y-axis in log-scale). (a) Comparison of quantization targets (\text{lr}=1\times10^{-4}). (b) Sensitivity analysis of different learning rates for each BitTP strategy (batch_size=256).

Fig. 5-(a) provides deeper insight into these trends under a fixed learning rate (1e-4). BitTP-Weight converges smoothly and monotonically, nearly mirroring the BF16 (LMTraj-SUP) baseline. This confirms that reducing weight precision does not distort early optimization dynamics or impede gradient flow. In contrast, BitTP-Activation exhibits a step-like training pattern: the loss remains flat for an extended period before abruptly dropping once certain optimization thresholds are crossed. This suggests that activation-only quantization introduces early optimization barriers and may require a warm-up phase before meaningful learning can occur. This behavior aligns with the poor accuracy of BitTP-Activation in Tab. 4. BitTP-Both lies between these two extremes. Its convergence is slower and noisier than BitTP-Weight, yet far more stable than BitTP-Activation. Occasional sharp loss spikes indicate that jointly quantizing both encoder and decoder introduces intermittent instability, likely due to accumulated quantization noise propagating across layers.

Fig. 5-(b) examines how each strategy responds to different learning rates (1e-4, 2e-4, 4e-4). BitTP-Weight remains stable across all settings, with nearly identical convergence trajectories. BitTP-Both also maintains reasonable stability, showing only minor fluctuations even as the learning rate increases.

These findings suggest that bit-linear quantization does not fundamentally impair optimization in encoder–decoder transformers; rather, it can even benefit from moderately increased step sizes, echoing observations from decoder-only BitNet models. Activation-only quantization again stands as the outlier. For BitTP-Activation, higher learning rates magnify instability, producing sharp spikes and abrupt loss drops—showing that perturbations in activation precision are far more disruptive than low-bit weights.

In summary, Weight-only quantization learns reliably in encoder–decoder architectures, mirroring the favorable optimization behavior previously reported in decoder-only models. Joint weight–activation quantization (BitTP-Both) remains usable but introduces intermittent noise, while activation-only quantization (BitTP-Activation) suffers from inherent optimization instability that limits its practical utility.

5 Conclusion↩︎

In this paper, we addressed the challenge of deploying large-scale reasoning models for trajectory prediction on resource-constrained edge devices. We proposed BitTP, a quantization framework that transforms a sequence-to-sequence Transformer into a lightweight bitlinear model, and systematically analyzed three selective quantization strategies: BitLinear-Both, BitLinear-Activation, and BitLinear-Weight. Notably, BitTP-Weight resolves the severe training instability and degraded spatio-temporal reasoning seen in activation-quantized variants (BitTP-Both and BitTP-Activation), ultimately surpassing the full-precision baseline. We hypothesize that weight-only quantization acts as an implicit regularizer, alleviating overfitting in the full-precision model—an effect that may be particularly pronounced in datasets with low trajectory diversity and dominant paths such as ETH. In contrast, activation-involving strategies (BitTP-Both and BitTP-Activ) suffered from severe training instability and performance degradation, suggesting that preserving activation precision is critical for stable spatio-temporal reasoning in encoder-decoder frameworks. In conclusion, our work validates that the BitTP-Weight approach makes it practically feasible to deploy sophisticated, LLM-based reasoning for real-time trajectory prediction on real-world edge devices, such as autonomous vehicles and mobile robots.

Acknowledgements↩︎

This work was supported by the National Research Foundation of Korea (NRF) grant funded by the Korea government (MSIT) (No. RS-2025-22802992), the Basic Science Research Program through the National Research Foundation of Korea (NRF) funded by the Ministry of Education (No. RS-2025-25420118), the Institute of Information & Communications Technology Planning & Evaluation (IITP) grants funded by the Korea government (MSIT) (No. RS-2025-25442149, LG AI STAR Talent Development Program for Leading Large-Scale Generative AI Models in the Physical AI Domain / No. RS-2025-02219277, AI Star Fellowship Support (DGIST)), and the InnoCORE program of the Ministry of Science and ICT (No. N10260003 / No. 26-InnoCORE-01).

6 Implementation Details and Evaluation Metrics↩︎

This section provides a comprehensive breakdown of the model architecture integration, the specific metrics used for performance assessment, and the hardware protocols employed for efficiency benchmarking.

6.1 Backbone and BitLinear Integration↩︎

We expand on the implementation details of the BitTP architecture described in the main paper. Our backbone utilizes the T5-small encoder-decoder structure, consisting of 6 encoder blocks and 6 decoder blocks (\(d_{model}=512, d_{ff}=2048, \text{heads}=8\)).

Quantization Injection Points. We apply our recursive replacement algorithm to inject BitLinear modules into specific sub-layers of the Transformer blocks. The target modules include:

  • Attention Projections: The Query (\(\mathbf{W}_Q\)), Key (\(\mathbf{W}_K\)), Value (\(\mathbf{W}_V\)), and Output (\(\mathbf{W}_O\)) matrices in both Self-Attention and Cross-Attention mechanisms.

  • Feed-Forward Networks (FFN): The expansion (\(\mathbf{W}_{i}\)) and projection (\(\mathbf{W}_{o}\)) layers within the position-wise FFNs.

6.2 Latency and Memory Measurement Protocol↩︎

To ensure fair and reproducible comparisons across different quantization strategies, we conducted all efficiency measurements under a standardized environment that reflects our experimental configuration.

  • Computing Device: All benchmarks were performed on a single NVIDIA RTX 3090 GPU with \(24\text{GB}\) of VRAM.

  • Batch Size: We set the inference batch size to \(B=1\)

  • Decoding Settings: Unless stated otherwise, measurements include the autoregressive generation time for the full prediction horizon \(T_{\text{pred}}=12\). Crucially, we employed stochastic sampling with a temperature parameter \(\tau=0.7\) (rather than greedy decoding) to account for the computational overhead of the random sampling process required for generating diverse trajectories.

  • Precision & Cache: Computations were performed in mixed precision (BF16/FP32) with the Key-Value (KV) cache enabled to optimize sequential decoding throughput.

6.3 Evaluation Metrics↩︎

We evaluate the predictive performance using standard trajectory prediction metrics. Since our model generates multimodal predictions via stochastic sampling, we report the Best-of-\(K\) metrics, where the sample closest to the ground truth is selected for evaluation. In all experiments, we use \(K = 20\) stochastic samples per prediction. 1000 trajectory samples are generated for each input in the main experiment, while only 1 sample per input is used in the CPU-based experiments in Sec. 10.

Let \(\mathbf{Y}_i \in \mathbb{R}^{T \times 2}\) be the ground truth trajectory for pedestrian \(i\), and \(\hat{\mathbf{Y}}_{i}^{(k)}\) be the \(k\)-th predicted sample among \(K\) generated trajectories. If the dataset provides homography matrices \(H\), all coordinates are projected from pixel space to world coordinates (meters) via a mapping function \(\mathcal{M}(\cdot, H)\) before error calculation.

  • Average Displacement Error (ADE): The mean Euclidean distance between the predicted path and the ground truth over all time steps. We report the minimum ADE (minADE) across \(K\) samples, averaged over all \(N\) pedestrians in the dataset: \[\text{ADE} = \frac{1}{N} \sum_{i=1}^{N} \min_{k=1}^{K} \left( \frac{1}{T} \sum_{t=1}^{T} \lVert \hat{\mathbf{y}}_{t, i}^{(k)} - \mathbf{y}_{t, i} \rVert_2 \right)\]

  • Final Displacement Error (FDE): The Euclidean distance between the predicted position and the ground truth at the final time step \(T\). Similarly, we report the minimum FDE (minFDE): \[\text{FDE} = \frac{1}{N} \sum_{i=1}^{N} \min_{k=1}^{K} \left( \lVert \hat{\mathbf{y}}_{T, i}^{(k)} - \mathbf{y}_{T, i} \rVert_2 \right)\]

  • Peak Memory: The peak VRAM usage required to load the model parameters, measured in Megabytes (MB). This metric directly reflects the compression ratio achieved by quantization.

  • Inference Latency: The average wall-clock time (milliseconds) required to generate a full trajectory (\(T=12\)) for a single agent (\(B=1\)).

Table 5: Wall-Clock Training Time Comparison across All Datasets. Measured on a single NVIDIA RTX 3090 with a fixed batch size of 128 and learning rate of \(1\times 10^{-4}\) for 8 epochs. The symbol \(\times\) denotes the relative time increase compared to the baseline.
Model Variant Target Training Duration (Hours) Avg. Overhead
3-7 ETH Hotel Univ Zara1 Zara2
LMTraj-SUP (Baseline) BF16 40h 33h 9h 31h 28h 1.00\(\times\)
BitTP-Both Both 72h 60h 18h 56h 52h 1.90\(\times\)
BitTP-Activ Activations only 68h 59h 18h 55h 52h 1.85\(\times\)
BitTP-Weight Weights only 46h 40h 12h 37h 35h 1.20\(\times\)

6.4 Latency and Memory Measurement Protocol↩︎

To ensure fair and reproducible comparisons across different quantization strategies, we conducted all efficiency measurements under a standardized environment that reflects our experimental configuration.

  • Computing Device: All benchmarks were performed on a single NVIDIA RTX 3090 (24GB) GPU.

  • Batch Size: We utilized a batch size of \(1\), online trajectory prediction scenario

  • Decoding Settings: Unless stated otherwise, measurements include the autoregressive generation time for the full prediction horizon (\(T_{pred}=12\)). Crucially, we employed stochastic sampling with a temperature of \(\tau=0.7\) (rather than greedy decoding) to account for the computational overhead of the random sampling process required for generating diverse trajectories.

  • Precision & Cache: Computations were performed in mixed precision (BF16/FP32) with the Key-Value (KV) cache enabled to optimize sequential decoding throughput.

7 Quantization Methods: Existing Techniques↩︎

This section elaborates on the theoretical underpinnings and implementation details of the quantization strategies compared in this study. For the post-training quantization (PTQ) baselines, we leverage the optimized kernels provided by the bitsandbytes library [24], [28], which implement vector-wise quantization and normal-float data types. We contrast these with our proposed BitTP, which fundamentally alters the linear projection mechanics.

7.1 INT8 Baseline: Vector-wise Quantization with Decomposition↩︎

For the 8-bit baseline, we employ the LLM.int8() methodology. Unlike standard abs-max quantization which can be degraded by outlier features, this method utilizes a mixed-precision decomposition strategy.

Vector-wise Quantization. The matrix multiplication \(\mathbf{Y} = \mathbf{X}\mathbf{W}\) is approximated by scaling rows of \(\mathbf{X}\) and columns of \(\mathbf{W}\). Let \(C_x\) and \(C_w\) be the scaling constants for the input and weight tensors, respectively. The quantized computation is defined as: \[\mathbf{Y} \approx \text{dequant}\left( \text{quant}(\mathbf{X}) \cdot \text{quant}(\mathbf{W}) \right) = S_x \cdot \mathbf{X}_{\text{int8}} \cdot \mathbf{W}_{\text{int8}} \cdot S_w^T\] where \(S_x\) and \(S_w\) preserve the dynamic range of the activations and weights.

Outlier Handling (Decomposition). To handle emergence of extreme outliers in Transformer activations, the matrix multiplication is decomposed into two parts based on an outlier threshold \(\alpha\): \[\mathbf{Y} = \underbrace{(\mathbf{X}_{out} \cdot \mathbf{W}_{out})}_{\text{BF16}} + \underbrace{(\mathbf{X}_{int} \cdot \mathbf{W}_{int})}_{\text{INT8}}\] Dimensions where \(|x_i| > \alpha\) are extracted and computed in high precision (BF16), while the bulk of dimensions are computed in INT8. This ensures numerical stability but introduces the inference latency overhead observed in our experiments.

7.2 4-bit Baseline: NormalFloat (NF4) Quantization↩︎

For the 4-bit baseline, we adopt the NormalFloat4 (NF4) data type. This approach assumes that the weights of a converged neural network follow a zero-mean normal distribution \(\mathcal{N}(0, 1)\) and employs Quantile Quantization.

Information-Theoretic Optimality. Standard integer quantization relies on linear spacing, which is suboptimal for bell-curved distributions. NF4 constructs quantization levels \(q_i\) such that each bin has equal probability mass. The levels are determined by the quantiles of the normal distribution: \[q_i = Q^{-1}\left(\frac{i}{2^k + 1}\right)\] where \(Q^{-1}\) is the inverse cumulative distribution function (CDF) of \(\mathcal{N}(0, 1)\) and \(k=4\) bits. During the forward pass, these 4-bit stored weights are dequantized on-the-fly to BF16 for computation, prioritizing memory efficiency over arithmetic speedup.

8 Training-Time Behavior↩︎

Figure 6: Qualitative comparison of predicted pedestrian trajectories on the ETH/UCY scenes (ETH, HOTEL, UNIV, ZARA1&2) under different quantization strategies. Observed past trajectories, ground-truth futures, and predictions from LMTraj-SUP††, BitTP-Both, BitTP-Activ, and BitTP-Weight are overlaid; BitTP-Activ frequently collapses and fails to produce plausible future trajectories, while BitTP-Weight preserves accurate trajectory shapes.

In this section, we analyze the optimization dynamics of training BitTP variants from scratch (or fine-tuning) compared to the BF16 baseline. We focus on training stability and computational overhead. While the primary goal of BitTP is to reduce inference memory and latency, analyzing training efficiency is crucial for understanding the cost of using BitLinear.

Measurement Setup. We measured the wall-clock training time on a single NVIDIA RTX 3090 (24GB) GPU. The training configuration was standardized with a batch size of 128 and a learning rate of \(1\times 10^{-4}\) over 8 epochs.

Training Duration and Overhead. Tab. 5 presents the total training duration required across five datasets (ETH, Hotel, Univ, Zara1, Zara2). We observe distinct overhead patterns depending on the quantization target:

  • Weight-Only Efficiency: The BitTP-Weight variant incurs a relatively minor overhead (avg. \(\sim 20\%\)) compared to the baseline. This is because weight quantization (ternarization) involves element-wise operations that are computationally inexpensive relative to the full matrix multiplication cost.

  • Activation Quantization Cost: The BitTP-Both and BitTP-Activ variants show a significant increase in training time (\(\sim 1.8\text{--}1.9\times\)). This substantial overhead is attributed to the dynamic activation quantization process. Unlike weights, activations change every forward pass, requiring on-the-fly calculation of scaling factors (e.g., AbsMean) and rounding operations for every token. In our Python-based implementation, this creates a computational bottleneck that limits training throughput.

Consistency Across Datasets. This trend was consistent across all datasets. For instance, in the Univ dataset, training BitTP-Weight required 12 hours, whereas BitTP-Both required 18 hours (\(1.5\times\)), reinforcing the observation that the computational bottleneck lies primarily in the activation quantization path.

9 Qualitative Results of Forecasting the Trajectory↩︎

This section provides qualitative analyses of language-conditioned trajectory forecasting under different quantization strategies. Fig. 6-8 visualize stochastic predictions on the ETH/UCY benchmark and compare the full-precision LMTraj-SUP\(\dagger\dagger\) model with BitTP-Weight, BitTP-Both, and BitTP-Activ. Together, these figures illustrate how weight-only quantization preserves scene-consistent motion, whereas activation quantization leads to severe degradation in both trajectory generation and language outputs, complementing the quantitative results in the main paper.

Figure 7: Qualitative comparison of predicted trajectories on the ETH and HOTEL scenes under different quantization strategies for the trajectory forecast task. For each example, the input observation consists of a question and a context. Only outputs for pedestrian 0 are visualized. Red denotes the pedestrian number, blue denotes the predicted trajectory, and green denotes the context; all colored elements are placeholders that can be replaced.
Figure 8: Qualitative comparison of predicted trajectories on the UNIV and ZARA scenes under different quantization strategies for the trajectory forecast task. For each example, the input observation consists of a question and a context. Only outputs for pedestrian 0 are visualized. Red denotes the pedestrian number, blue denotes the predicted trajectory, and green denotes the context; all colored elements are placeholders that can be replaced.

Multi-scene comparison. Fig. 6 summarizes qualitative trajectory forecasts across five scenes (ETH, HOTEL, UNIV, ZARA1&2) under different quantization strategies. In all scenes, LMTraj-SUP\(\dagger\dagger\) and BitTP-Weight produce future trajectories that closely align with the ground-truth (GT). In contrast, BitTP-Both and BitTP-Activ fail to match the GT in a much more drastic manner. BitTP-Both still generates trajectories; however, the predicted paths are often clearly unrealistic and significantly displaced from the GT routes, sometimes bending into unrealistic directions or overshooting the intended goal. BitTP-Activ exhibits the most severe failure modes: for many examples, it does not produce a usable trajectory at all, either terminating without valid output or entering an effectively unbounded generation regime. The ZARA example is particularly illustrative—although points are plotted, they stem from such runaway decoding that no coherent trajectory can be drawn.

Input and output in the forecasting task. Fig. 7 and 8 decompose the qualitative results from Fig. 6 by explicitly showing the language-based input and output for representative examples on the ETH/HOTEL and UNIV/ZARA scenes. For each case, the observation is formatted as a question–context pair: the context encodes the past trajectory as a token sequence, and the question requests the future motion of pedestrian 0 over the forecasting horizon. The figures then display both the generated text answer and the corresponding trajectory tokens rendered in the scene. LMTraj-SUP\(\dagger\dagger\) and BitTP-Weight produce well-structured answers that correctly refer to the requested forecast (e.g., horizon length, direction of movement) and generate coordinate tokens that form a coherent, scene-consistent trajectory when visualized. In contrast, BitTP-Both and BitTP-Activ reveal how activation-involving quantization corrupts the decoding process itself: the outputs contain incomplete or repetitive phrases, or excessively long token streams that never settle into a valid trajectory sequence. Fig. 7 and 8, therefore, complement Fig. 6 by making explicit how the same failure patterns seen at the trajectory level already manifest at the language-interface level, while BitTP-Weight maintains reliable question–answer behavior and accurate future-path generation.

Figure 9: Real-time execution log of BitTP-Weight in a CPU-only environment. The screenshot displays the terminal output during inference on the ETH dataset using the llama.cpp framework, including runtime metrics and hardware utilization (Intel Xeon 6740P). Qualitative video demonstrations are available at: https://mintcat98.github.io/BitTP/

10 CPU-based Inference and Cost Evaluation↩︎

Fig. 9 presents the execution log of BitTP in a CPU-only environment, exploring the feasibility of deploying an LLM-based predictor under strict hardware constraints. Despite the inherently massive computational requirements of LLMs, by leveraging Quantization-Aware Training (QAT) and a specialized TQ1 kernel [53] within the llama.cpp [54] framework, BitTP-Weight successfully achieves a throughput of 2.18 sequences/s on the ETH subset. This result confirms that running sophisticated trajectory prediction models entirely on resource-constrained on-board computers without GPU acceleration is practically possible. To measure realistic edge-device latency, our CPU evaluation uses single-sample inference, departing from the standard 1,000-sample GPU protocol used for reproducible benchmarking. While this naturally introduces slight stochastic variance, it effectively demonstrates the model’s practical execution speed under strict resource constraints.

Furthermore, the execution log directly validates our memory efficiency analysis: the peak CPU memory consumption (PSS) was measured at only 698.93 MB (including child processes), confirming the exceptionally lightweight memory footprint of our ternary-quantized model. Collectively, these results demonstrate that BitTP-Weight, when aggressively quantized and paired with a highly-optimized inference engine, significantly lowers the hardware barrier, opening up new possibilities for deploying LLMs on CPU-bound edge platforms.

References↩︎

[1]
I. Bae, J. Lee, and booktitle=Proceedings. of the I. C. on C. V. and P. R. Jeon Hae-Gon, “Can language beat numerical regression? Language-based multimodal trajectory prediction,” 2024, pp. 753–766.
[2]
A. Mohamed, K. Qian, M. Elhoseiny, and booktitle=Proceedings. of the I. conference on computer vision and pattern recognition Claudel Christian, “Social-stgcnn: A social spatio-temporal graph convolutional neural network for human trajectory prediction,” 2020, pp. 14424–14432.
[3]
Y. Huang, H. Bi, Z. Li, T. Mao, and booktitle=Proceedings. of the I. international conference on computer vision Wang Zhaoqi, “Stgat: Modeling spatial-temporal interactions for human trajectory prediction,” 2019, pp. 6272–6281.
[4]
Y. Yuan, X. Weng, Y. Ou, and booktitle=Proceedings. of the I. international conference on computer vision Kitani Kris M, “Agentformer: Agent-aware transformers for socio-temporal multi-agent forecasting,” 2021, pp. 9813–9823.
[5]
J. Ngiam et al., “Scene transformer: A unified architecture for predicting multiple agent trajectories.” 2022 , eprint={2106.08417}, archivePrefix={arXiv}, primaryClass={cs.CV}, [Online]. Available: https://arxiv.org/abs/2106.08417.
[6]
H. Zhao et al., “Tnt: Target-driven trajectory prediction,” 2021 , organization={PMLR}, pp. 895–904.
[7]
Z. Zhou, J. Wang, Y.-H. Li, and booktitle=Proceedings. of the I. conference on computer vision and pattern recognition Huang Yu-Kai, “Query-centric trajectory prediction,” 2023, pp. 17863–17873.
[8]
A. Alahi, K. Goel, V. Ramanathan, A. Robicquet, L. Fei-Fei, and booktitle=Proceedings. of the I. conference on computer vision and pattern recognition Savarese Silvio, “Social lstm: Human trajectory prediction in crowded spaces,” 2016, pp. 961–971.
[9]
A. Gupta, J. Johnson, L. Fei-Fei, S. Savarese, and booktitle=Proceedings. of the I. conference on computer vision and pattern recognition Alahi Alexandre, “Social gan: Socially acceptable trajectories with generative adversarial networks,” 2018, pp. 2255–2264.
[10]
N. Lee, W. Choi, P. Vernaza, C. B. Choy, P. H. Torr, and booktitle=Proceedings. of the I. conference on computer vision and pattern recognition Chandraker Manmohan, “Desire: Distant future prediction in dynamic scenes with interacting agents,” 2017, pp. 336–345.
[11]
T. Salzmann, B. Ivanovic, P. Chakravarty, and booktitle=European. C. on C. V. Pavone Marco, “Trajectron++: Dynamically-feasible trajectory forecasting with heterogeneous data,” 2020 , organization={Springer}, pp. 683–700.
[12]
J. Gao et al., “Vectornet: Encoding hd maps and agent dynamics from vectorized representation,” 2020, pp. 11525–11533.
[13]
M. Liang et al., “Learning lane graph representations for motion forecasting,” 2020 , organization={Springer}, pp. 541–556.
[14]
T. Brown et al., “Language models are few-shot learners,” Advances in neural information processing systems, vol. 33, pp. 1877–1901, 2020.
[15]
J. Devlin, M.-W. Chang, K. Lee, and booktitle=Proceedings. of the 2019. conference of the N. A. chapter of the association for computational linguistics:. human language technologies Toutanova Kristina, “Bert: Pre-training of deep bidirectional transformers for language understanding,” 2019, vol. 1 (long and short papers), pp. 4171–4186.
[16]
H. Touvron et al., “Llama: Open and efficient foundation language models,” arXiv preprint arXiv:2302.13971, 2023.
[17]
V. Sanh, L. Debut, J. Chaumond, and T. Wolf, “DistilBERT, a distilled version of BERT: Smaller, faster, cheaper and lighter,” arXiv preprint arXiv:1910.01108, 2019.
[18]
Z. Lan, M. Chen, S. Goodman, K. Gimpel, P. Sharma, and R. Soricut, “Albert: A lite bert for self-supervised learning of language representations,” arXiv preprint arXiv:1909.11942, 2019.
[19]
H. Zhou and G. H. Lee, “Uni4d-llm: A unified spatiotemporal-aware vlm for 4d understanding and generation,” arXiv preprint arXiv:2509.23828, 2025.
[20]
C. Sima et al., “Drivelm: Driving with graph visual question answering,” 2024 , organization={Springer}, pp. 256–274.
[21]
Z. Zhou, Y. Wan, and B. Wang, “A unified framework for multimodal, multi-part human motion synthesis.” 2023 , eprint={2311.16471}, archivePrefix={arXiv}, primaryClass={cs.CV}, [Online]. Available: https://arxiv.org/abs/2311.16471.
[22]
Z. Lan et al., “Traj-LLM: A new exploration for empowering trajectory prediction with pre-trained large language models.” 2024 , eprint={2405.04909}, archivePrefix={arXiv}, primaryClass={cs.CV}, [Online]. Available: https://arxiv.org/abs/2405.04909.
[23]
E. J. Hu et al., “Lora: Low-rank adaptation of large language models.” ICLR, vol. 1, no. 2, p. 3, 2022.
[24]
T. Dettmers, A. Pagnoni, A. Holtzman, and L. Zettlemoyer, “QLoRA: Efficient finetuning of quantized LLMs.” 2023 , eprint={2305.14314}, archivePrefix={arXiv}, primaryClass={cs.LG}, [Online]. Available: https://arxiv.org/abs/2305.14314.
[25]
E. Frantar, S. Ashkboos, T. Hoefler, and D. Alistarh, “GPTQ: Accurate post-training quantization for generative pre-trained transformers.” 2023 , eprint={2210.17323}, archivePrefix={arXiv}, primaryClass={cs.LG}, [Online]. Available: https://arxiv.org/abs/2210.17323.
[26]
H. Wang et al., “Bitnet: 1-bit pre-training for large language models,” Journal of Machine Learning Research, vol. 26, no. 125, pp. 1–29, 2025.
[27]
J. Lin et al., “AWQ: Activation-aware weight quantization for LLM compression and acceleration,” arXiv preprint arXiv:2208.07339 , year=2022. 2024 , eprint={2306.00978}, archivePrefix={arXiv}, primaryClass={cs.CL}, [Online]. Available: https://arxiv.org/abs/2306.00978 , title={LLM. int8 (): 8-bit Matrix Multiplication for Transformers at Scale}, author={Dettmers, Tim and Lewis, Mike and Belkada, Younes and Zettlemoyer, Luke}.
[28]
T. Dettmers, M. Lewis, Y. Belkada, and booktitle=Advances. in N. I. P. S. Zettlemoyer Luke, “LLM.int8() : 8-bit matrix multiplication for transformers at scale,” 2022, vol. 36.
[29]
J. Frankle and M. Carbin, “The lottery ticket hypothesis: Finding sparse, trainable neural networks,” arXiv preprint arXiv:1803.03635, 2018.
[30]
M. Rastegari, V. Ordonez, J. Redmon, and booktitle=European. conference on computer vision Farhadi Ali, “Xnor-net: Imagenet classification using binary convolutional neural networks,” 2016 , organization={Springer}, pp. 525–542.
[31]
C. Gómez-Huélamo, M. V. Conde, R. Barea, and booktitle=Proceedings. of the I. C. on C. V. and P. R. Bergasa Luis M, “Improving multi-agent motion prediction with heuristic goals and motion refinement,” 2023, pp. 5323–5332.
[32]
X. Li, T. Yu, N. Kim, W. Xu, and R. Liu, “EvolveGraph: Multi-agent trajectory prediction with dynamically evolving interaction graphs , booktitle = Advances in Neural Information Processing Systems (NeurIPS),” 2020, pp. 19742–19752, [Online]. Available: https://proceedings.neurips.cc/paper/2020/file/3522f2a6879d0bb1bf2537e4effce811-Paper.pdf.
[33]
J. Li, H. Ma, Z. Zhang, J. Li, and M. Tomizuka, “Spatio-temporal graph dual-attention network for multi-agent prediction and tracking.” 2021 , eprint={2102.09117}, archivePrefix={arXiv}, primaryClass={cs.CV}, [Online]. Available: https://arxiv.org/abs/2102.09117.
[34]
S. Casas, W. Luo, and booktitle=Conference. on robot learning Urtasun Raquel, “Intentnet: Learning to predict intention from raw sensor data,” 2018 , organization={PMLR}, pp. 947–956.
[35]
H. Caesar et al., “Nuscenes: A multimodal dataset for autonomous driving,” 2020, pp. 11621–11631.
[36]
M.-F. Chang et al., “Argoverse: 3d tracking and forecasting with rich maps,” 2019, pp. 8748–8757.
[37]
S. Ettinger et al., “Large scale interactive motion forecasting for autonomous driving: The waymo open motion dataset,” 2021, pp. 9710–9719.
[38]
H. Caesar et al., “Nuplan: A closed-loop ml-based planning benchmark for autonomous vehicles,” arXiv preprint arXiv:2106.11810, 2021.
[39]
J. Houston et al., “One thousand and one hours: Self-driving motion prediction dataset,” 2021 , organization={PMLR}, pp. 409–418.
[40]
A. Robicquet, A. Sadeghian, A. Alahi, and booktitle=European. C. on C. V. (ECCV). Savarese S, “Learning social etiquette: Human trajectory prediction in crowded scenes,” 2017, vol. 2, p. 5.
[41]
K. Mangalam et al., “It is not the journey but the destination: Endpoint conditioned trajectory prediction.” 2020 , eprint={2004.02025}, archivePrefix={arXiv}, primaryClass={cs.CV}, [Online]. Available: https://arxiv.org/abs/2004.02025.
[42]
Y. Chai, B. Sapp, M. Bansal, and D. Anguelov, “Multipath: Multiple probabilistic anchor trajectory hypotheses for behavior prediction,” arXiv preprint arXiv:1910.05449, 2019.
[43]
Z. Zhou, L. Ye, J. Wang, K. Wu, and booktitle=Proceedings. of the I. conference on computer vision and pattern recognition Lu Kejie, “Hivt: Hierarchical vector transformer for multi-agent motion prediction,” 2022, pp. 8823–8833.
[44]
K. Mangalam, Y. An, H. Girase, and booktitle=Proceedings. of the I. international conference on computer vision Malik Jitendra, “From goals, waypoints & paths to long term human trajectory forecasting,” 2021, pp. 15233–15242.
[45]
V. Kosaraju, A. Sadeghian, R. Martı́n-Martı́n, I. Reid, H. Rezatofighi, and S. Savarese, “Social-bigat: Multimodal trajectory forecasting using bicycle-gan and graph attention networks,” Advances in neural information processing systems, vol. 32, 2019.
[46]
B. Ivanovic and booktitle=Proceedings. of the I. international conference on computer vision Pavone Marco, “The trajectron: Probabilistic multi-agent trajectory modeling with dynamic spatiotemporal graphs,” 2019, pp. 2375–2384.
[47]
G. Hinton, O. Vinyals, and J. Dean, “Distilling the knowledge in a neural network,” arXiv preprint arXiv:1503.02531, 2015.
[48]
C. Raffel et al., “Exploring the limits of transfer learning with a unified text-to-text transformer,” Journal of machine learning research, vol. 21, no. 140, pp. 1–67, 2020.
[49]
T. Gu et al., “Stochastic trajectory prediction via motion indeterminacy diffusion,” 2022, pp. 17113–17122.
[50]
P. Xu, J.-B. Hayet, and booktitle=European. C. on C. V. Karamouzas Ioannis, “Socialvae: Human trajectory prediction using timewise latents,” 2022 , organization={Springer}, pp. 511–528.
[51]
T. Dettmers, M. Lewis, S. Shleifer, and booktitle=9th. I. C. on L. R. I. Zettlemoyer Luke, “8-bit optimizers via block-wise quantization,” 2022.
[52]
T. Dettmers and booktitle=International. C. on M. L. Zettlemoyer Luke, “The case for 4-bit precision: K-bit inference scaling laws,” 2023 , organization={PMLR}, pp. 7750–7774.
[53]
T. Vaidhya et al., “Spectra 1.1: Scaling laws and efficient inference for ternary language models,” arXiv preprint arXiv:2506.23025, 2025.
[54]
ggml-org, “Llama.cpp: LLM inference in c/c++ , howpublished=https://github.com/ggml-org/llama.cpp, note=Accessed 2026-04-08.”