Vision-Language Model-Based Phase-OTDR Event Classification

Ahmet Bestami Kose, Mehmet Sergen Catal, Muhammet Cagri Yeke, Kivilcim Yuksel, Abdurrahman GumusarXiv 2026

This paper explores a novel approach to fiber-optic sensing: using large-scale Vision-Language Models (VLMs) to classify vibration events with minimal labeled data. By treating sensor signals as images and leveraging the pre-trained knowledge of models like CLIP, the authors demonstrate high-accuracy "few-shot" classification for Phase-OTDR systems.

TL;DR

The authors adapt a frozen CLIP model to classify fiber-optic vibration events using a lightweight "Tip-Adapter-F" mechanism. This approach achieves over 96% accuracy with only 128 labeled examples per class, proving that general-purpose vision features can be highly effective for specialized scientific signal processing.

What Problem Does This Paper Address?

Phase-sensitive optical time-domain reflectometry ($\Phi$-OTDR) turns standard fiber-optic cables into distributed sensors capable of detecting vibrations over kilometers. While deep learning has improved how we classify these vibrations (e.g., distinguishing "walking" from "digging"), most models require massive, manually annotated datasets.

In the real world, every deployment is different—soil conditions, cable depth, and noise levels vary. Training a new model from scratch for every site is too expensive. The challenge is label efficiency: how can we build a reliable classifier using only a handful of examples?

Methods

The authors propose a "signal-to-image" pipeline combined with a parameter-efficient adaptation of CLIP.

  1. Spectrogram Mosaics: 1D raw signals from 12 adjacent fiber positions are converted into 2D STFT (Short-Time Fourier Transform) spectrograms. These are tiled into a 3x4 grid, creating a "mosaic" that preserves both temporal and spatial context.
  2. Frozen CLIP Backbone: Instead of training a new neural network, they use a pre-trained CLIP image encoder (like ViT-L/14). This encoder remains completely frozen.
  3. Tip-Adapter-F: To bridge the gap between general images and specialized spectrograms, they use a "cache model." This cache stores features of a few labeled "support" images. During inference, the model compares a new query image to this cache. In the "F" (fine-tuning) version, only the cache keys are updated via gradient descent, leaving the heavy encoders untouched.
The pipeline: from raw 1D signals to a 3x4 spectrogram mosaic processed by CLIP.

Datasets

The study uses a widely adopted open $\Phi$-OTDR benchmark (Cao et al., 2023) containing six classes: Background, Digging, Knocking, Watering, Shaking, and Walking.

The authors curated a balanced subset of 3,792 images and implemented a strict "leakage-controlled" protocol to ensure that no information from the test set influenced model selection or hyperparameter tuning. They have made this processed image dataset and their code publicly available.

Key Insights and Ideas

  • Visual Transferability: A surprising "aha moment" is that CLIP—trained on internet photos and captions—possesses a feature space robust enough to distinguish between different types of vibration spectrograms. Even though it has never seen $\Phi$-OTDR data, its internal representation of textures and patterns is highly transferable.
  • Spatial Context Matters: By using a mosaic (Figure 2) rather than a single channel, the model can identify if a vibration is localized (like "Knocking") or distributed across the fiber (like "Watering").
  • Language as an Anchor: While zero-shot CLIP (using only text prompts) performs poorly on this specialized data, the text embeddings provide a useful starting point that the visual adapter refines.
  • Robustness: The system is remarkably insensitive to the exact wording of text prompts at higher shot counts, suggesting the learned visual cache eventually dominates the decision-making process.
Representative spectrogram mosaics for the six event classes.

Key Results

  • Peak Accuracy: Using 128 shots per class, the model reached 96.81% accuracy.
  • Few-Shot Efficiency: Even with only 16 shots per class (96 total labeled images), the model achieved 90.17% accuracy, making it highly practical for rapid deployment.
  • Scaling: Accuracy rises steeply up to 16 shots and then plateaus, showing that the model learns the "essence" of the classes very quickly (see Figure 4).
  • Error Analysis: The primary confusion occurs between "Shaking" and "Watering." UMAP visualizations (Figure 7) show these two classes lie adjacent in the embedding space, which makes physical sense as both produce sustained, oscillatory patterns.
Accuracy and F1 score scaling as the number of labeled examples (shots) increases.

Limitations and Future Work

  • Session Independence: The benchmark dataset doesn't provide session IDs. If multiple images come from the same recording session, the reported accuracy might be slightly optimistic regarding "session-level" generalization.
  • The Zero-Shot Gap: The "domain gap" is still significant; without the visual cache, CLIP cannot classify these events.
  • Future Directions: The authors suggest that pre-training the CLIP image encoder on a large corpus of unlabeled $\Phi$-OTDR data before applying the few-shot adapter could further close the gap to fully supervised state-of-the-art models.

Summary updated

Abstract

Phase-sensitive optical time-domain reflectometry (Phase-OTDR) enables distributed vibration sensing, but reliable event classification has traditionally relied on fully supervised models that require extensive annotated data. This study examines the adaptability of a Vision-Language Model (VLM) for Phase-OTDR event recognition through few-shot learning. Raw samples are converted into Short-Time Fourier Transform (STFT) dB-magnitude spectrogram mosaics, color-mapped and resized to RGB images, and processed by a Contrastive Language-Image Pre-training (CLIP) image encoder; few-shot adaptation optimizes only the Tip-Adapter-F cache keys, leaving both encoders unchanged. Under a leakage-controlled protocol (train-side support/validation pool of 512 images per class, fixed held-out test of 120 per class, no test-set access during selection, 20 distinct support-sampling trials), the selected configuration (the ViT-L-14 Vision Transformer encoder with OpenAI weights, 128 shots per class) reaches 96.81 +/- 0.42% accuracy and a macro-averaged F1 score of 96.79 +/- 0.42% on the held-out test set; a label-efficient 16-shot setting, that is, 96 labeled support images at adaptation time across the six classes, already attains 90.17 +/- 0.81%. Tip-Adapter-F clearly outperforms both zero-shot CLIP and the standard training-free Tip-Adapter, and prompt and backbone analyses show that performance is stable across Vision Transformer encoders and insensitive to prompt wording at the selected operating point. Overall, CLIP visual features carry a transferable structure that a lightweight support cache turns into a label-efficient Phase-OTDR event classifier. The code and the corresponding image dataset are made publicly available on GitHub to support further research: https://github.com/miralab-ai/vlm-phase-otdr.
BibTeX
@misc{kose2026vision,
  author = {Ahmet Bestami Kose and Mehmet Sergen Catal and Muhammet Cagri Yeke and Kivilcim Yuksel and Abdurrahman Gumus},
  title = {{Vision-Language Model-Based Phase-OTDR Event Classification}},
  year = {2026},
  eprint = {2611.20841},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.20841},
}
Figure