Accurate segmentation of seismic salt bodies is of great significance for oil and gas exploration. Although existing deep learning methods have achieved remarkable progress within a single survey, segmentation performance degrades significantly when deployed to target surveys that exhibit systematic differences in geological settings and salt morphology, owing to a distributional shift in feature space. To address the cross-domain generalization problem, this paper first designs a CNN-Transformer dual-branch fusion network, DBF-CTSaltNet, as the backbone, which enhances the collaborative modeling of local boundaries and global morphology through the synergy of a Morphology-Adaptive Residual Unit, a Structured Global Guidance Unit, and a Bidirectional Cross-aware Fusion Unit. Building upon this, an unsupervised domain adaptation framework, UDA-DBF-CTSaltNet, is proposed, which independently constructs class prototypes in the respective feature spaces of the two branches and simultaneously drives cross-domain alignment at both local-boundary and global-morphology semantic granularities via dual-granularity prototype contrast. Experiments demonstrate that DBF-CTSaltNet outperforms mainstream models on the TGS source domain, and UDA-DBF-CTSaltNet significantly improves cross-domain segmentation performance on both the F3 and SEAM target domains.
Wearable-sensor human activity recognition (HAR) plays a key role in health monitoring, elderly care, and human–computer interaction. Deep learning dominates the field, but two limitations remain. CNNs with fixed kernels cannot capture cross-scale temporal events such as gait cycles and postural transitions in a single layer, and softmax attention on small sensor datasets is often diluted by common-mode background responses across the sequence. We propose DMSCNet, an end-to-end framework with two modules. The Dilated Multi-Scale Branch Block (DMSB) combines a shared bottleneck, parallel dilated convolutions, a pooling bypass, and SE-based channel recalibration to widen the temporal receptive field under a controlled parameter budget. The Contrastive Temporal Attention (CTA) module adopts a dual-path differential design, in which the two paths learn overlapping but non-identical attention patterns and their subtraction suppresses shared low-level responses while preserving the discriminative positions each path locks onto, encoded with opposite signs. DMSB and CTA are cascaded into a DMSC Block and stacked residually. On UCI-HAR, USC-HAD, and RealWorld, DMSCNet reaches F1-scores of 97.65%, 91.80%, and 99.05%, outperforming nine baselines. Ablations confirm that SE acts along the channel axis and CTA along the temporal axis, and visualization reveals a dynamic–static dichotomy together with a signed bipolar encoding pattern produced by the dual-path subtraction.