Secure Code Completion Models Tuned for Compliance-Heavy Domains

The integration of large language models (LLMs) into software engineering workflows has accelerated code generation and review processes. However, their deployment in compliance-intensive sectors—such as finance, healthcare, and defense—introduces stringent challenges around regulatory adherence, security assurance, and legal accountability. This paper presents a principled methodology for fine-tuning LLMs on domain-specific, security-vetted datasets to produce code aligned with rigorous compliance frameworks. The proposed pipeline addresses dataset curation, model adaptation, and multi-layered evaluation, ensuring both syntactic correctness and regulatory fidelity. Empirical results demonstrate that the fine-tuned models significantly outperform general-purpose LLMs in generating secure, regulation-compliant code

Institutions

Publication Details

Journal
Journal of Artificial Intelligence & Cloud Computing
Published
2025-08-31
DOI
https://doi.org/10.47363/jaicc/2025(4)476
Primary Topic
Pharmacology and Nanomedicine Research
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Secure Code Completion Models Tuned for Compliance-Heavy Domains

Journal of Artificial Intelligence & Cloud Computing
Pharmacology and Nanomedicine Research
article

Secure Code Completion Models Tuned for Compliance-Heavy Domains

article en

Abstract

The integration of large language models (LLMs) into software engineering workflows has accelerated code generation and review processes. However, their deployment in compliance-intensive sectors—such as finance, healthcare, and defense—introduces stringent challenges around regulatory adherence, security assurance, and legal accountability. This paper presents a principled methodology for fine-tuning LLMs on domain-specific, security-vetted datasets to produce code aligned with rigorous compliance frameworks. The proposed pipeline addresses dataset curation, model adaptation, and multi-layered evaluation, ensuring both syntactic correctness and regulatory fidelity. Empirical results demonstrate that the fine-tuned models significantly outperform general-purpose LLMs in generating secure, regulation-compliant code

Journal of Artificial Intelligence & Cloud Computing
Universidad Nacional José María Arguedas (PE)
Openalex Percentile: Top 38%
Pharmacology and Nanomedicine Research
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.