\(\bullet\)_Basis truncation._ Similar to the base modification, the truncation of the basis also concentrates on dealing with the singular dimensions with wavelengths exceeding the training length [293]. According to the definition \(\lambda_{i}=2\pi/\theta_{i}\) in Equation 5, the dimension with a large wavelength \(\lambda_{i}\) has a small basis \(\theta_{i}\) accordingly. Based on this observation, this approach first defines a basis range \([a,c]\). Given the basis range, the value of basis is modified according to the following ways: (1) when \(\theta_{i}\geq c\), the value is retained, (2) when \(\theta_{i}\leq a\), the value is set to zero, and (3) when \(a<\theta_{i}<c\), the value is truncated to a fixed small value. Via basis truncation, the out-of-distribution rotation angles can be avoided at larger position indices. However, this approach does not perform very well at long context tasks [293].