Researchers in India have unveiled a gold-coated photonic crystal fiber biosensor whose operating intelligence comes not from an engineer’s eye but from an ensemble of machine learning models that classify optical modes with 99.69 percent accuracy. The study, published in Results in Physics, describes a sensor tuned to detect refractive index changes in the biologically important range of 1.37 to 1.40, a window that encompasses glucose solutions, distinct blood components, and certain cancerous cells. By combining a convolutional neural network with support vector machines and gradient-boosted decision trees, the team transformed one of the most tedious steps in plasmonic sensor design, the manual identification of fiber modes, into an automated process that is fast, repeatable, and statistically robust.
Surface plasmon resonance, or SPR, lies at the heart of the device. When p-polarized light strikes a metal-dielectric interface at precisely the right angle and wavelength, it can couple its energy into collective oscillations of free electrons on the metal surface known as surface plasmons. This momentum-matching condition produces a sharp resonant dip in the transmitted spectrum or a pronounced peak in the confinement loss. Because the resonance position is exquisitely sensitive to the refractive index of the surrounding medium, even a minute change in the analyte displaces the resonant wavelength significantly, which is precisely why SPR-based sensors rank among the most sensitive refractive index detection platforms available today.
Conventional SPR excitation relies on prism-based coupling schemes such as the Kretschmann and Otto configurations. These approaches are well understood and have formed the basis of many commercial biosensors, but they demand careful optical alignment, are bulky, and resist miniaturization. Mode mismatch and coupling inefficiencies between the prism apparatus and optical fibers further limit their usefulness in wearable devices, remote sensing, and point-of-care diagnostics. Photonic crystal fibers offer a compelling alternative. These microstructured optical fibers surround their core with a periodic lattice of air holes running along the fiber length, and by engineering the size, shape, and placement of those holes, designers can force the core-guided light to overlap strongly with the external environment, marrying the sensitivity of SPR with the compactness and long-haul compatibility of fiber optics.
The team’s proposed architecture, modeled with the finite element method in COMSOL Multiphysics 6.0, uses a fused silica background with two rings of air holes, ten holes of 0.8 micrometer diameter and twenty-four holes of 1.6 micrometer diameter, plus a central hole, arranged to maximize coupling from the core mode into the plasmonic mode. Two channels of three enlarged outer air holes are deliberately opened to let light penetrate from the core toward the plasmonic region. A symmetrical cylindrical layer of gold, thirty nanometers thick, is coated externally around the core, followed by a one-micrometer analyte layer thick enough to fully contain the decay of the plasmonic field. Fused silica was chosen for its low optical loss, mechanical strength, and well-characterized dispersion, modeled through the Sellmeier equation, while the optical constants of gold were captured with a Drude-Lorentz dispersion model that accounts for both free-electron response and interband transitions.
The physics behind the sensor’s operation is elegantly visible in the simulation data. For an analyte of refractive index 1.38, the real parts of the effective refractive indices of the core-guided fundamental mode and the surface plasmon polariton mode intersect at a resonance wavelength of 0.705 micrometers under y-polarization, exactly where the confinement loss peaks. The narrow full-width-half-maximum of the loss spectrum signals strong light-matter interaction and minimal spectral broadening. As the analyte index rises from 1.37 to 1.40, the resonance wavelength shifts monotonically toward longer values, a red shift caused by the increased permittivity at the gold-analyte interface that strengthens plasmonic confinement. Wavelength sensitivity reaches 13,500 nanometers per refractive index unit at an analyte index of 1.39, with a corresponding resolution of 7.41 x 10^-6 RIU, figures that outperform comparable gold-coated and arc-shaped PCF-SPR sensors reported in recent literature.
Yet the design’s most distinctive contribution is not the fiber geometry but the artificial intelligence layered on top of it. Traditional sensor development leans on physics-based simulations that are computationally exhaustive, and identifying which computed mode is the fundamental core mode and which is a surface plasmon polariton has long been a subjective, error-prone judgment call, especially near resonance where the modes hybridize. Earlier machine learning efforts in optical sensing were largely regression-based, predicting resonance shifts without exploiting the rich spatial information embedded in electromagnetic field distributions. The authors’ hybrid framework closes that gap by treating each mode’s field-intensity image as data to be learned from.
The pipeline begins with EfficientNet-B0, a computationally lean pretrained convolutional neural network whose MBConv blocks and Swish activations extract local spatial patterns such as hot-spot localization, nodal lines, symmetry features, and mode leakage signatures. Its dense layers compress each 224 by 224 pixel field image into a compact 256-dimensional feature embedding. Transfer learning was applied by freezing most of the pretrained layers, reducing trainable parameters and suppressing overfitting. These deep features then feed three complementary classifiers: a support vector machine with a radial basis function kernel, an XGBoost ensemble of fifty trees with depth three, and a logistic regression meta-learner that fuses their outputs. Logistic regression was selected for its low computational cost, strong generalization on limited datasets, and interpretability, combining the CNN, SVM, and XGBoost predictions in a stable and traceable manner.
Training data comprised 323 simulated modal field distribution images spanning the fundamental core mode, surface plasmon polariton modes, and higher-order SPP coupling modes, generated across wavelengths from 0.60 to 1.00 micrometers in steps of 0.005 micrometers under both x- and y-polarizations for an analyte index of 1.38. Stratified five-fold cross-validation, dropout regularization, adaptive learning-rate scheduling with ReduceLROnPlateau, early stopping, and training-fold-only data balancing all guarded against overfitting and leakage. The payoff was dramatic: the standalone CNN managed only 76.36 percent accuracy with a sprawling standard deviation of 31.29 percent, while the full hybrid stack achieved 99.69 percent plus or minus 0.62 percent, with precision and specificity of a perfect 100 percent, recall of 99.63 percent, an F1-score of 99.81 percent, and a Matthews correlation coefficient of 98.97 percent. On the test set, the model correctly identified 268 of 269 SPP modes and all 54 core modes, committing just a single false assignment across the entire classification task.
The team pushed validation further with 1,000-iteration bootstrap resampling at a 95 percent confidence level, confirming that accuracy clustered between 0.9907 and 1.0000 and that the Matthews correlation coefficient remained above 0.9630, evidence that the model’s performance is stable rather than a statistical fluke. Receiver operating characteristic analysis yielded an area under the curve of 0.9999, and t-distributed stochastic neighbor embedding of the learned feature space produced well-separated clusters of fundamental and SPP modes with a Silhouette score of 0.3147, a Davies-Bouldin index of 0.6301, and a Calinski-Harabasz index of 159.5034. SHAP explainability analysis revealed that the real part of the effective index and the mode index dominated decisions for core modes, while the imaginary part of the effective index carried the most weight for SPP identification, confirming that the network’s predictions rest on physically meaningful quantities rather than artifacts.
The authors acknowledge that fabrication remains demanding. Forming precise, uniform air holes of the specified diameters is critical, because even small deviations can disturb the phase-matching condition, and maintaining hole circularity during fiber drawing is difficult due to thermal deformation. Depositing a uniform 30-nanometer gold film at microscale dimensions is challenging, since surface roughness increases plasmonic damping, and controlled infiltration of the thin analyte layer affects long-term stability. Fortunately, mature thin-film techniques including thermal evaporation, magnetron sputtering, chemical vapor deposition, atomic layer deposition, and electroless plating can all be applied, and experimentally demonstrated externally coated micro-channel SPR-PCF sensors already exist in the literature, suggesting the design is within practical reach. While the current study is computational, focusing on mode classification rather than real-time spectral analysis from an optical spectrum analyzer, the researchers argue that the hybrid machine learning framework points toward intelligent sensing systems capable of autonomously analyzing spectral data, cutting simulation costs, and accelerating the journey of plasmonic biosensors from laboratory prototype to clinical and environmental deployment.
Subject of Research: Hybrid machine learning classification of optical modes in a gold-coated SPR-driven photonic crystal fiber biosensor
Article Title: Hybrid machine learning approach for mode classification of SPR driven photonic crystal fiber sensor
Article References: Harsh, D. R., Khatri, N., & Awasthi, S. K. (2026). Hybrid machine learning approach for mode classification of SPR driven photonic crystal fiber sensor. Results in Physics, 88, Article 108746. https://doi.org/10.1016/j.rinp.2026.108746
Image Credits: AI Generated
DOI: 10.1016/j.rinp.2026.108746
Keywords: photonic crystal fiber, surface plasmon resonance, machine learning, convolutional neural network, XGBoost, support vector machine, biosensor, refractive index sensing, mode classification, EfficientNet, plasmonics, COMSOL simulation
Cite Scienmag News
Blake Davidson. (September 22, 2026). Hybrid AI Learns to Read Light Modes in Gold-Coated Fiber Sensors With Near-Perfect Accuracy. Scienmag. https://scienmag.com/hybrid-ai-learns-to-read-light-modes-in-gold-coated-fiber-sensors-with-near-perfect-accuracy/
Blake Davidson. "Hybrid AI Learns to Read Light Modes in Gold-Coated Fiber Sensors With Near-Perfect Accuracy." Scienmag, 22 September 2026, https://scienmag.com/hybrid-ai-learns-to-read-light-modes-in-gold-coated-fiber-sensors-with-near-perfect-accuracy/. Accessed 22 September 2026.
Blake Davidson. "Hybrid AI Learns to Read Light Modes in Gold-Coated Fiber Sensors With Near-Perfect Accuracy." Scienmag. September 22, 2026. https://scienmag.com/hybrid-ai-learns-to-read-light-modes-in-gold-coated-fiber-sensors-with-near-perfect-accuracy/

