Research on Data Integrity Protection and Encryption Technologies for Large Language Models

Addressing critical challenges in data integrity and privacy protection for large language models (LLMs) during training and inference, this paper introduces a ChatGLM-3-based security framework designed to overcome limitations in current semantic integrity verification and homomorphic encrypted inference methods. Our approach begins by constructing a data lifecycle risk model using STRIDE threat analysis and Attack Tree modeling, precisely identifying key tampering vulnerabilities. We then develop a semantic hash embedding mechanism leveraging Sentence-BERT combined with Merkle Tree structures, enabling robust semantic-level integrity verification. For secure inference, we implement an end-to-end encrypted pipeline based on the CKKS homomorphic encryption scheme. Furthermore, we integrate differential privacy gradient perturbation with comprehensive training audit logs, establishing a closed-loop defense against data leakage. Experimental validation on the LLaMA 2-13B platform demonstrates the effectiveness of our solution: the semantic hashing showed high robustness with minimal latency, homomorphic inference maintained accuracy at acceptable latency while effectively thwarting reconstruction attacks, and the combined DP-audit mechanism significantly reduced leakage probability enabling effective traceability. These results confirm that our integrated framework strengthens data integrity and privacy safeguards for LLMs without severely compromising utility, offering a practical path for deployment in security-sensitive domains.

Authors

Institutions

Publication Details

Published
2025-06-20
DOI
https://doi.org/10.1109/caibda65784.2025.11183022
Primary Topic
Access Control and Trust
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Research on Data Integrity Protection and Encryption Technologies for Large Language Models

Binyuan Yan, Lu Xiang, Qiucheng Ban
Access Control and Trust
article

Research on Data Integrity Protection and Encryption Technologies for Large Language Models

Binyuan Yan, Lu Xiang, Qiucheng Ban
article en

Abstract

Addressing critical challenges in data integrity and privacy protection for large language models (LLMs) during training and inference, this paper introduces a ChatGLM-3-based security framework designed to overcome limitations in current semantic integrity verification and homomorphic encrypted inference methods. Our approach begins by constructing a data lifecycle risk model using STRIDE threat analysis and Attack Tree modeling, precisely identifying key tampering vulnerabilities. We then develop a semantic hash embedding mechanism leveraging Sentence-BERT combined with Merkle Tree structures, enabling robust semantic-level integrity verification. For secure inference, we implement an end-to-end encrypted pipeline based on the CKKS homomorphic encryption scheme. Furthermore, we integrate differential privacy gradient perturbation with comprehensive training audit logs, establishing a closed-loop defense against data leakage. Experimental validation on the LLaMA 2-13B platform demonstrates the effectiveness of our solution: the semantic hashing showed high robustness with minimal latency, homomorphic inference maintained accuracy at acceptable latency while effectively thwarting reconstruction attacks, and the combined DP-audit mechanism significantly reduced leakage probability enabling effective traceability. These results confirm that our integrated framework strengthens data integrity and privacy safeguards for LLMs without severely compromising utility, offering a practical path for deployment in security-sensitive domains.

Guizhou Electric Power Design and Research Institute (CN)
Openalex Percentile: Top 63%
Access Control and Trust
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.