Rapid, sensitive, and specific detection of pathogenic Escherichia coli serotypes is crucial for food safety and public health. Here, we present a surface-enhanced Raman scattering (SERS) platform utilizing highly ordered silver nanorod (AgNR) arrays functionalized with vancomycin for efficient and selective bacterial capture. The system enables multiplexed, high-throughput analysis using a portable Raman spectrometer, achieving direct molecular fingerprinting of seven clinically relevant E. coli serotypes. Systematic optimization of AgNR length and vancomycin coating maximized SERS enhancement and capture efficiency. Advanced data analysis with linear discriminant analysis (LDA) provided robust discrimination among all serotypes and concentrations, achieving up to 100% classification accuracy in single-concentration models and an overall accuracy of 98.41% when all concentrations and serotypes were evaluated jointly. This integrated SERS approach demonstrates significant promise for rapid, on-site bacterial diagnostics and quantitative pathogen monitoring, paving the way for practical applications in food safety and clinical microbiology.
Most existing dialogue understanding methods rely on flat classification paradigms, failing to capture hierarchical semantic structures and cross-level dependencies. To address this limitation, we reformulate dialogue understanding as a hierarchical semantic path inference problem, where prediction is performed over a constrained path space rather than independent label spaces. We propose HiCoPro, a graph-conditioned structured inference framework for modeling multi-level dialogue semantics. The framework consists of the following: (i) a Graph-Conditioned Label Space (GCLS) that encodes hierarchical dependencies into label embeddings via graph propagation; (ii) a compatibility-based logit fusion mechanism that jointly scores semantic relevance and structural consistency; and (iii) a constraint-aware decoding strategy that enforces hard parent–child dependencies during inference. By integrating semantic representations with graph-conditioned label structures via a bilinear compatibility function and learnable logit-level fusion, the model jointly captures semantic relevance and structural consistency. To support this task, we construct PrefDial, a general-domain hierarchical dialogue dataset with systematic three-level annotations, serving as a benchmark for structured dialogue understanding. Experimental results demonstrate that HiCoPro achieves superior Macro F1, Exact Match, and Hierarchical Consistency on PrefDial, while remaining competitive on multiple public benchmarks. Further analysis highlights the effectiveness of graph-conditioned modeling in balancing semantic discrimination, hierarchical consistency, and robustness.