
To address complex image-text semantic correlations, inconsistent entity sequence lengths, difficult feature alignment, and insufficiently adaptive cross-modal feature fusion in multimodal fake news detection, this paper proposes a method based on multi-granularity semantic alignment and dual-level contrastive learning. The model extracts both global and fine-grained features from text-image pairs: RoBERTa captures global text semantics, while ResNeXt extracts global image features. Text entities and detected image object regions are encoded via CLIP (contrastive language-image pre-training) into a shared representation. Dynamic time warping is incorporated into the bidirectional cross-attention mechanism to refine the similarity matrix, enabling precise fine-grained cross-modal feature alignment. A gated attention module dynamically fuses multimodal, multi-granularity features before classification. A dual-level contrastive learning strategy is designed to enhance feature discriminability and cross-modal semantic consistency, with the model jointly optimized using a multi-task loss function. Experiments on Weibo and Weibo21 datasets show superior accuracy and F1-score over existing methods, verifying its effectiveness in the multimodal fake news detection task.
In recent years, convolutional neural networks have achieved remarkable success in image recognition, object detection, and related tasks. However, their massive parameter scale and high computational complexity severely restrict their deployment on embedded devices and edge computing platforms. With the continuous growth of model size, how to significantly reduce storage and computation costs while maintaining accuracy has become a crucial direction in lightweight deep learning research. Existing model compression methods usually rely on pretrained networks and often involve complex training procedures, while suffering from notable accuracy degradation during pruning and quantization. To address these issues, this paper proposes an efficient neural network compression method that combines pretraining-free pruning with self-learned quantization, enabling effective model compression and lightweight deployment without relying on pretrained models. Specifically, a one-shot global pruning strategy is designed using a dual scoring mechanism of gradient sensitivity and structural importance, which effectively identifies and removes redundant weights without requiring pretrained models. Subsequently, a 4-bit quantization mechanism with self-learned step size is introduced to dynamically adjust the quantization scale, thereby reducing parameter bit width and inference overhead. Experimental results demonstrate that the proposed method achieves up to a 16× compression ratio across multiple models. In particular, the compressed Resnet56 model maintains 90.01% classification accuracy on the CIFAR-10 dataset. These results indicate that the proposed approach can effectively balance compression ratio, accuracy, and robustness without pretraining, validating its innovation and practical value in low-resource environments.
To solve the topology reasoning failure of Text-to-SQL models in schema-lean scenarios lacking physical foreign keys, a structure-aware retrieval-augmented method is proposed. Based on a cloud-edge collaborative architecture, an implicit logic recovery strategy extracts latent table join patterns from historical query logs via edge-side retrieval, constructing a soft schema to dynamically complete missing metadata topologies. To balance data privacy and computation efficiency, a least-privilege-based adaptive context pruning algorithm is designed. It utilizes dual constraints of explicit semantics and implicit historical frequency to physically block sensitive data leakage and filter irrelevant context noise. Furthermore, a deterministic finite automaton-based dynamic correction model is constructed to drive logical closed-loop correction using execution feedback, converging the structural hallucination solution space. Cross-validation on the custom Spider-Schema-Lean challenge set and the large-scale real-world industrial dataset BIRD demonstrates that this method not only effectively overcomes the reasoning failures of state-of-the-art methods (such as DIN-SQL) in complex ambiguous scenarios, but also increases the zero-shot execution accuracy of DeepSeek-V3 from 38.8% to 67.7% (with a 23.3 percentage point improvement on the BIRD dataset), while achieving a 73.53% sensitive field masking rate. The research verifies that implicit logic recovery and least-privilege pruning promote multi-hop reasoning, providing a theoretical basis and feasible solution for secure and credible Text-to-SQL applications in highly sensitive industrial scenarios.
Large language models have been widely adopted in text-rich fields. However, general-purpose models still struggle with highly specialized long documents such as financial report verification and power operation procedure auditing, facing insufficient domain knowledge, weakened long-context dependency, and limited automatic evaluation metrics. To address these challenges, a fine-grained hybrid retrieval-augmented long-text semantic consistency optimization method is proposed. A domain knowledge base encompassing multiple professional text types is constructed for the financial and power industries, employing vector indexing and hybrid retrieval to provide robust external factual support. A knowledge retrieval pipeline integrating sub-query decomposition, hybrid retrieval, and reranking is designed to improve retrieval recall for multi-topic long documents. A multi-dimensional evaluation system covering domain expertise, factual accuracy, and logical rigor is established, along with an automated assessment and correction pipeline. Experimental results on semantic consistency tasks in both the financial and power domains show that the proposed framework significantly outperforms base models such as Qwen-Max and DeepSeek-V3.2. This framework provides a high-precision and interpretable solution for automated long-text quality assessment and correction in vertical domains, offering theoretical significance and practical value for deploying large language models in rigorous industrial scenarios.
To address the fragmentation and heterogeneity of regulatory standards, historical task records, on-site monitoring data, and multimodal information in acute environmental toxicity and pollutant detection scenarios in industrial parks, as well as the factual deviations, insufficient evidence utilization, and weak traceability of large language models in vertical-domain applications, this paper designs and implements a retrieval-augmented generation system for environmental monitoring and decision support. Based on unified evidence modeling, the system organizes industrial-park monitoring elements, including pollutants, environmental media, monitoring sites, events, regulatory clauses, and disposal measures, into retrievable and citable evidence units. It further constructs a technical pipeline covering knowledge base organization, hybrid full-text and vector retrieval, cross-encoder reranking, graph-structured relation enhancement, citation-constrained generation, and consistency verification, thereby enabling the unified organization and collaborative use of multisource knowledge such as regulatory standards, monitoring records, task logs, event summaries, and emergency plans. The system is evaluated on a self-built environmental monitoring dataset through typical tasks, including knowledge question answering, report generation, and decision support. Experimental results show that, compared with large-language-model-only generation and single-retrieval-path methods, the proposed system improves answer accuracy, report completeness, and citation consistency while maintaining stable response performance under prototype deployment conditions. These results indicate that retrieval-augmented generation can enhance domain knowledge utilization, output reliability, and operational support capability in industrial park environmental detection scenarios, providing a reference for the engineering implementation of intelligent analysis systems for environmental monitoring.