SearcharxivSearch

arXiv subjects

Anik Ghosh

Publications and source records attributed to Anik Ghosh.

2 recordsLinked to original sources

Closing the Modality Gap in Zero-Shot HAR: Contrastive Training and Separability-Optimized Prototypes on IMU Data

Zero-shot learning (ZSL) for inertial measurement unit (IMU)-based human activity recognition (HAR) faces a central challenge: bridging the gap between sensor embeddings and semantic class representations. We systematically evaluate seven configurations combining three inference methods with two training pipelines on the PAMAP2 dataset, using 14 seen and 4 unseen activity classes with subjects 108 and 109 held out for testing. We find that the modality gap is a training-time phenomenon governed by the encoder objective. A temporal convolutional network (TCN) trained with cross-entropy over label-name Sentence- BERT prototypes yields sensor embeddings with a mean cosine similarity of 0.30 to the corresponding text prototypes, while replacing the label-name prototype targets with discriminative activity descriptions raises this to 0.69. This alignment improvement transfers consistently across all three inference methods. The strongest result combines contrastive training with inverted softmax correction, achieving 73.2% accuracy and 0.583 macro F1 on unseen classes, compared to 58.3% accuracy and 0.34 macro F1 for the label-name baseline. A secondary finding is that richer text descriptions reduce inter-prototype separability in Sentence-BERT space, because shared biomechanical vocabulary causes the language model to compress the prototype cloud. This effect does not negate the benefits of contrastive alignment provided prototype descriptions retain sufficient discriminative vocabulary. We also demonstrate that overall accuracy is a misleading primary metric when test-set class distributions are imbalanced, and recommend macro-averaged F1 as the standard reporting metric for ZSL-HAR benchmarks.

cs.LG

Iterative approach for high-quality binary intensity hologram generation in augmented reality applications

Binary amplitude spatial light modulators, such as digital micromirror devices (DMDs), are increasingly relevant for computer generated holography due to their high refresh rates, low cost, and due to the emergence of subwavelength pixel architectures. However, the binary constraint limits the reconstruction quality, as conventional approaches rely on a binarization applied as a final step after hologram computation which leads to reduced efficiency and contrast. We introduce an iterative estimation approach for the generation of off axis binary amplitude holograms, in which the binarization constraint is applied at each iteration. We validate the approach through numerical simulations and experimental reconstruction using a DMD based optical setup. Quantitative and qualitative comparisons with random superposition and Gerchberg Saxton methods demonstrate significant improvements in image contrast, light efficiency, and reconstruction fidelity, with comparable computational cost. The proposed method provides a practical route toward high quality CGH using binary modulators and supports emerging applications requiring high speed and high resolution holographic projection.

physics.optics