SearcharxivSearch

arXiv subjects

Amir Mansourian

Publications and source records attributed to Amir Mansourian.

2 recordsLinked to original sources

Context-aware Biases for Length Extrapolation

Transformers often struggle to generalize to longer sequences than those seen during training, a limitation known as length extrapolation. Most existing Relative Positional Encoding (RPE) methods attempt to address this by introducing either fixed linear biases or globally learned biases, which lack the capacity to adapt to different input contexts. In this work, we propose an additive RPE, Context-Aware Biases for Length Extrapolation (CABLE), a method that learns token-specific, context-aware biases for each attention head in transformers. By dynamically adjusting positional biases based on the input sequence, CABLE overcomes the rigidity of fixed RPEs. When evaluated on sequences longer than originally trained with, GPT-2 Medium (334M parameters) with CABLE achieves lower perplexity than counterparts using other widely adopted positional encoding methods. Additionally, by applying CABLE to the BERT base model we improved performance in long-context retrieval tasks. Our method significantly enhances the extrapolation performance of existing RPE methods tested on the FineWeb-Edu-10B and WikiText-103 datasets. Our code is available at: https://github.com/AlgonetLabs/Cable.

cs.CL

Robust 3D Multi-Source Localization with a Movable Antenna Array via Sparse Signal Processing

Accurately localizing multiple sources is a critical task with various applications in wireless communications, such as emergency services, including natural post-disaster search and rescue operations. However, scenarios where the receiver is moving have not been sufficiently addressed in recent studies. This paper tackles the angle of arrival (AOA) 3D-localization problem for multiple sparse signal sources with a moving receiver, which has a limited number of antennas that may be outnumbered by the sources. First, an energy detector algorithm is proposed to leverage signal sparsity for eliminating noisy samples. Subsequently, an iterative algorithm is developed to refine and estimate the AOAs accurately, initialized with previously estimated source locations and coarse elevation and azimuth AOAs obtained via the two-dimensional multiple signal classification (2D-MUSIC) method. To this end, we introduce a sparse recovery algorithm to exploit signal sparsity, followed by a phase smoothing algorithm to refine the estimates. The K-SVD algorithm is then applied to the smoothed output to accurately determine the elevation and azimuth AOAs of the sources. For localization, a new multi-source 3D-localization algorithm is proposed to estimate source positions using the refined AOA estimates over a sequence of time windows. Extensive simulations are carried out to demonstrate the effectiveness of the proposed framework.

eess.SP