With the widespread application of remote sensing technology in the agricultural sector, the precise extraction of farmland parcel information has become one of the key technologies supporting modern agricultural management and resource planning. However, the complex and variable nature of farmland scenes imposes higher demands on the adaptability and robustness of segmentation models. To address this, this article proposes a multitask deep learning method named MASNet, to efficiently extract field information from remote sensing imagery under diverse farmland scenarios. The MASNet method adopts a parallel dual-encoder structure based on Mamba-inspired linear attention and attentive dilated-separable CNN, significantly enhancing the model’s feature extraction capabilities; simultaneously, the decoding stage incorporates the spatial group-wise enhancement (SGE) attention mechanism, effectively improving the fusion efficiency of multiscale features, thereby enhancing overall segmentation accuracy and model robustness. We thoroughly validated MASNet on the Solafune competition farmland parcel dataset and the JiLin-1 farmland parcel public dataset. Experimental results show that the global overclassification error (GOC), the global underclassification error, and the global total error of MASNet on the two datasets are 2.33%, 2.28%, and 2.37%, and 2.20%, 1.60%, and 1.94%, respectively; In the boundary extraction task, the intersection over union (IOU) and the mean IOU reach 39.51% and 68.20%, and 46.27% and 72.24%, respectively. Compared with existing mainstream methods, MASNet demonstrates superior performance across multiple metrics, showcasing its effectiveness and broad application potential in complex agricultural land parcel segmentation tasks.