Conceptio › Archive › arXiv CS
arXiv CS open access

AutoDP-LLM: Automating Data Pre-processing for Intrusion Detection Systems using Large Language Models

Bao-Phong Nguyen et al. · arxiv_cs
arXiv CS · Papers
Open Source ↗Direct PDF ↓
cryptographycybersecurityprivacysecurity
The increasing complexity and scale of modern cyber-attacks demand intelligent and computationally efficient Intrusion Detection Systems (IDS). However, designing effective data pre-processing pipelines traditionally involves substantial trial-and-error effort and repeated evaluation of alternative
Conceptio Open Archive

Analyze & explore related research in Conceptio

Connect this record directly into your research workflow or AI agent. Explore citations across open repositories, query full text, and export structured proof bundles.

1

AutoDP-LLM: Automating Data Pre-processing for Intrusion Detection Systems using Large Language Models

arXiv:2610.05369v1 [cs.CR] 4 Oct 2026

Bao-Phong Nguyen, Gia-Khanh Pham, Thai-Duong Do, Mai Xuan Trang, Minh-Tuan Le, Xuan-Nam Tran, Huan Vu, Tien-Cuong Nguyen, Vu-Duc Ngo, and Thien Van Luong

IDS serve as an important defense mechanism by monitoring network traffic and system activities to identify anomalous behavior and potential security threats [1]. However, as cyber threats become increasingly sophisticated, particularly with the emergence of zero-day exploits and previously unseen attack patterns, traditional signature-based IDS may be insufficient to provide effective detection. Consequently, research has increasingly shifted toward machine learning (ML)-based IDS approaches, which have shown promising capabilities for detecting novel and complex attack patterns [2]. Despite their potential, the effectiveness of ML-based IDS models depends strongly on the quality of input data. Benchmark intrusion detection datasets, such as UNSW-NB15 and NSL-KDD, are often high-dimensional and heterogeneous, containing both numerical and categorical features [3] [4]. Data pre-processing, including cleaning, normalization, encoding, feature engineering, and feature selection, therefore plays an important role in improving the quality and usability of the data for downstream learning models. However, designing effective data pre-processing pipelines for IDS remains a laborintensive and expertise-driven task [5]. In practice, identifying suitable data transformations, feature subsets, and parameter configurations often involves repeated trial-and-error exploration. For large-scale and high-dimensional network traffic datasets, the repeated generation, execution, and evaluation of multiple candidate pipelines may introduce considerable Index Terms—Intrusion detection, LLM, data pre-processing, UNSW-NB15, AutoDP-LLM, feature selection, machine learning, computational overhead and scalability challenges, particularly when numerous alternative configurations must be assessed. AdInternet of Things, automation. ditionally, pre-processing pipelines are often dataset-dependent, and a pipeline developed for one dataset may not generalize I. I NTRODUCTION well to another dataset with different traffic characteristics, In the contemporary digital landscape, the increasing com- feature distributions, or attack compositions. As a result, plexity and scale of modern cyber-attacks have made cyberse- applying existing pipelines to new datasets often requires curity an increasingly critical concern, requiring intelligent and additional manual redesign and tuning effort. Furthermore, computationally efficient Intrusion Detection Systems (IDS). suboptimal pre-processing decisions may negatively affect IDS performance, potentially increasing false alarms or reducing Bao-Phong Nguyen, Gia-Khanh Pham, Thai-Duong Do, Huan Vu, and attack detection capability. Recent advances in Large Language Thien Van Luong are with Business AI Lab, College of Technology, National Economics University, Hanoi, Vietnam (e-mail: {phongnb.bai, khanhpg.bai, Models (LLMs) have demonstrated promising capabilities in duongdt.bai}@st.neu.edu.vn, {huanv, thienlv}@neu.edu.vn). contextual reasoning, task adaptation, and automated code Mai Xuan Trang is with A2I Lab, School of Computing, Phenikaa University, generation [6], [7], creating new opportunities for intelligent Hanoi, Vietnam (e-mail: trang.maixuan@phenikaa-uni.edu.vn). automation in data engineering tasks. Minh-Tuan Le is with the Faculty of Electrical and Electronic 1, Posts and Telecommunications Institute of Technology, Hanoi, Vietnam (e-mail: Motivated by these challenges, we propose AutoDP-LLM, an tuanlm@ptit.edu.vn). LLM-driven automated pre-processing framework for intrusion Xuan-Nam Tran is with Advanced Wireless Communications Group, Le Quy Don Technical University, Hanoi, Vietnam (e-mail: namtx@lqdtu.edu.vn). detection. The proposed framework analyzes dataset metadata Tien-Cuong Nguyen is with VNPT AI, VNPT Group, Hanoi, Vietnam and task descriptions to automatically synthesize executable (e-mail: nguyentiencuong@vnpt.vn). data transformation and feature-reduction pipelines, thereby Vu-Duc Ngo is with MobiFone HighTech Center, MobiFone Corp., Hanoi, reducing manual engineering effort and reliance on repeated Vietnam (e-mail: duc.ngo@mobifone.vn). Corresponding author: Thien Van Luong (e-mail: thienlv@neu.edu.vn) trial-and-error design. Furthermore, the repeated generation,

Abstract—The increasing complexity and scale of modern cyber-attacks demand intelligent and computationally efficient Intrusion Detection Systems (IDS). However, designing effective data pre-processing pipelines traditionally involves substantial trial-and-error effort and repeated evaluation of alternative configurations. For large, high-dimensional network traffic data, this process can create a significant computational burden. In this work, we propose AutoDP-LLM, an automated pre-processing framework designed to reduce manual pipeline development and computational overhead. Specifically, AutoDP-LLM leverages Large Language Models (LLMs) to autonomously generate and validate executable data pre-processing pipelines. The framework combines deterministic host-side planning with LLM-based specialist agents to formulate data-processing strategies, synthesize executable code, and adaptively determine retained feature sets using semantic reasoning and training-derived statistical evidence, without requiring a predefined feature budget. Focusing on multiclass intrusion detection, we evaluate AutoDP-LLM on the UNSW-NB15 and NSL-KDD benchmark datasets using multiple downstream classifiers. Comparative experiments against conventional feature-selection methods show that AutoDP-LLM achieves competitive detection performance while automating the generation of compact and executable pre-processing pipelines. Component-level ablation experiments further demonstrate the complementary contributions of the semantic and statistical feature-reduction components. The repeated generation, validation, execution, and assessment of candidate pipelines are amenable to parallel execution, highlighting the potential of scalable computing environments, including high-performance computing (HPC) systems, to support automated IDS pipeline development.

validation, execution, and evaluation of candidate pipelines can benefit from scalable computing environments, including parallel, distributed, and HPC-enabled infrastructures, particularly for large-scale IDS datasets or multiple candidate pipelines. The main contributions of this work are summarized as follows: • We propose AutoDP-LLM, an automated pre-processing framework that combines deterministic host-side planning with LLM-based specialist agents to generate and validate executable data transformation, resampling, and featurereduction pipelines for intrusion detection datasets. • We develop a three-stage architecture integrating analysis and host planning, transformation and resampling, and feature reduction, together with structured contract validation and repair to ensure that the generated functions satisfy predefined structural and runtime requirements before pipeline execution. • We develop an adaptive feature-reduction strategy that integrates semantic feature lineage and pruning with training-derived Random Forest and mutual-information evidence to construct compact feature sets without requiring a predefined feature budget. Component-level ablation experiments further evaluate the contributions of the semantic and statistical components. • We conduct a comprehensive evaluation on the UNSWNB15 and NSL-KDD benchmark datasets under multiclass intrusion detection settings. The evaluation covers multiple downstream classifiers, comparative feature-selection baselines, repeated pipeline-generation runs, and different LLM backbones, considering predictive performance, execution time, performance variability, API latency, and computational overhead. Experimental results show that, under the selected representative classifier for each dataset, AutoDP-LLM achieves higher weighted F1 -scores than all reimplemented comparative baselines while maintaining competitive execution time. The rest of this paper is organized as follows. Section II reviews related work on manual data pre-processing and LLM-based approaches in cybersecurity, outlining the motivation for this work. Section III presents the proposed AutoDP-LLM framework, including its architecture, automated data pre-processing workflow, feature-reduction method, and downstream evaluation procedure. Section IV presents the experimental results and discussion, evaluating the proposed framework on the UNSW-NB15 and NSL-KDD datasets. Finally, Section V concludes the paper and outlines future work. II. R ELATED W ORK This section reviews the existing literature in three areas relevant to this work: (A) conventional data pre-processing and feature-selection techniques for IDS, (B) LLM-based approaches in cybersecurity, and (C) the motivation for automating IDS data-preprocessing workflows. A. Conventional Data Pre-processing and Feature Selection for IDS The performance of an IDS depends heavily on the quality of the input data. Consequently, extensive research has focused

on developing effective preprocessing and feature-selection strategies for benchmark intrusion-detection datasets such as UNSW-NB15 [3]. To manage the high dimensionality of modern network-traffic data, conventional preprocessing pipelines frequently incorporate feature-selection techniques to improve learning efficiency and reduce computational complexity. Feature-selection methods aim to identify informative attributes while reducing redundant or irrelevant features. These approaches are commonly categorized as filter, wrapper, and embedded methods. Filter methods rely on statistical criteria, such as Information Gain and correlation measures, to rank feature relevance independently of the classifier. For example, Information Gain has been used to identify informative features from the UNSW-NB15 dataset for lightweight IDS construction [8]. In contrast, wrapper methods iteratively evaluate candidate feature subsets according to the predictive performance of a specific learning algorithm [9]. Finally, embedded methods integrate feature evaluation directly into the model-training process. Tree-based ensemble algorithms such as Random Forest and XGBoost generate feature-importance estimates during training, which can subsequently be used to guide dimensionality reduction and feature selection [10]. Although these approaches can achieve strong predictive performance, they typically require manual design decisions regarding feature-selection criteria, threshold settings, and modelspecific configurations. In addition, identifying an effective preprocessing pipeline often involves iterative experimentation and repeated model evaluation, resulting in nontrivial computational costs. Furthermore, preprocessing strategies optimized for one dataset may not generalize well to different network environments or traffic characteristics, highlighting the need for more automated and scalable preprocessing frameworks [11]. B. LLM-based approaches in cybersecurity Recent advances in Large Language Models (LLMs) have enabled a wide range of domain-specific applications through their capabilities in reasoning, code generation, and taskspecific content generation. For example, CodeT5+ extends the use of LLMs for code understanding and code generation across multiple software engineering tasks [12]. In a different application domain, MeshLLM demonstrates that LLMs can progressively understand and generate complex 3D mesh representations, highlighting their potential for handling structured and specialized data generation problems [13]. Furthermore, LLMs have also been applied to adaptive learning and optimization tasks. For instance, GPT-based systems have been used to iteratively assess model weaknesses and generate customized training samples to improve mathematical problemsolving performance [14]. Collectively, these studies illustrate the versatility of modern LLMs and suggest their potential for supporting automated workflow generation and optimization tasks in complex application domains. Leveraging capabilities in reasoning, code generation, and task adaptation, LLMs are increasingly being explored for cybersecurity-related tasks. Recent studies suggest that LLMs can be used to analyze, interpret, and summarize various forms

Fig. 1. Overall pipeline of the IDS integrating our proposed AutoDP-LLM framework.

of security-related information, including system logs, network potential of LLMs to facilitate more scalable and consistent traffic, and threat intelligence reports [15]. These capabilities data engineering workflows. can assist analysts in identifying abnormal patterns, prioritizing III. P ROPOSED AUTO DP-LLM F RAMEWORK security alerts, and supporting threat investigation and response This section presents the architecture and operational workactivities [16]. Furthermore, recent studies have explored the application of LLMs to cybersecurity threat detection, including flow of the proposed AutoDP-LLM framework. Fig. 1 illustrates the identification of previously unseen or zero-day threats, the overall three-phase IDS pipeline integrating AutoDP-LLM, highlighting their potential in intelligent security analysis whereas Fig. 2 details the three-stage architecture of AutoDPLLM and its training-data-based preprocessing workflow. The workflows [17]. Beyond analysis, LLMs demonstrate substantial potential framework comprises three sequential stages: analysis and host for automating routine cybersecurity tasks. For instance, they planning, transformation and resampling, and feature reduction. can generate executable scripts for log parsing [6], construct These stages integrate deterministic host-side planning with regular expressions to support rule-based threat detection [18], isolated LLM-based specialist agents and structured validation and recommend appropriate actions in response to suspicious of the generated functions to automate data transformation, events. The capacity of LLMs to interpret high-level security class-imbalance handling, and adaptive feature reduction for requirements and translate them into functional code positions intrusion detection datasets. them as formidable assistants for security engineers. Despite A. Overall Pipeline Architecture this potential, existing research primarily focuses on utilizing As shown in Fig. 1, the overall IDS pipeline consists of LLMs for interpretive or analytical tasks within cybersecurity three sequential phases: (1) the Data Ingestion and Sanitization workflows. Few studies have examined whether LLMs can auPhase, (2) the Automated Data Preprocessing Phase, and (3) tonomously construct comprehensive pre-processing pipelines the Downstream Evaluation Phase. The first phase constructs for IDS. This gap motivates further investigation into leveraging sanitized training and held-out test partitions using datasetLLMs to support advanced, end-to-end data pre-processing dependent rules. AutoDP-LLM operates within the second workflows for IDS. phase through three stages: Analysis and Host Planning, the Transformation & Resampling Specialist Agent, and the FeatureReduction Specialist Agent. These stages generate and validate C. Motivations of automatic data pre-processing in IDS the functions that form the Unified Preprocessing Pipeline, Despite significant progress in manual pre-processing tech- which produces the Processed Dataset. During execution, the niques for IDS [5] and the emerging application of LLMs in adaptive feature set is fixed before the approved resampling cybersecurity and data science [6], [15], a critical gap remains candidates are compared using validation data derived from the at the intersection of these domains. Existing pre-processing training partition. The resulting preprocessing configuration is approaches for IDS are effective but rely heavily on human then shared by the downstream classifiers in the third phase. expertise and dataset-specific adjustments, lacking scalability All learned statistics, transformations, encoders, resamplers, and adaptability across diverse environments [8]. Meanwhile, feature-selection evidence, and model-selection decisions are current LLMs-based cybersecurity research predominantly fitted or derived exclusively from the training partition. Held-out focuses on analytical or explanatory tasks [16], offering limited test labels, class priors, and feature distributions are unavailable exploration into how these models can automate the technically to the planning and selection procedures. The test partition demanding stages of data preparation. Although broader data receives only transformations determined from the training science research demonstrates that LLMs can generate code partition and is evaluated only after the preprocessing and and construct data pre-processing workflows [6], their potential feature-selection configuration has been fixed. to address the unique requirements of IDS, which include reliThe modular design allows the same generation and validaability, consistency, and domain-specific optimization, remains tion workflow to be applied to intrusion detection datasets with largely unexplored. This limitation motivates a comprehensive different schemas, categorical cardinalities, class distributions, investigation into whether LLMs can transcend supportive roles and sample sizes. Dataset-dependent feature descriptions may to autonomously design end-to-end pre-processing pipelines be provided to support semantic reasoning, but their absence for IDS. By addressing this gap, our work illustrates the does not prevent statistical feature completion.

Fig. 2. Three-stage architecture and execution workflow of the proposed AutoDP-LLM framework.

requirements are supplied through the corresponding user The Data Ingestion and Sanitization Phase comprises two prompt. The transformation and resampling specialist receives sequential processes: Data Ingestion and Initial Sanitization. the approved implementation fields and host-defined policy Data ingestion loads the Raw Dataset and identifies the dataset- constants, whereas the feature-reduction specialist receives the dependent schema and target definition. Initial sanitization schema after approved drops and optional feature descriptions. then applies deterministic schema normalization and constructs The complete system prompts, execution temperatures, and structured training and held-out test partitions. These prelimi- base contexts of the multi-agent framework are provided in nary operations are implemented using manually defined rules Appendix A. because they address known benchmark conventions rather than 1) Analysis and Host Planning: The Analysis and Host data-driven optimization. Typical operations include resolving Planning comprises three sequential processes: Train-only the target definition and removing fields identified as record Profiling, Resampling-Family Decision, and Deterministic Plan identifiers, flow indices, or explicit leakage variables. For Construction. These processes correspond to the analysis and multiclass experiments, a redundant binary attack indicator host planning block in the top panel of Fig. 2. The complete may therefore be removed when the multiclass attack label is system prompt governing the analysis agent is provided in designated as the target. Appendix A-2. B. Data Ingestion and Sanitization Phase

First, the host performs this profiling using training data only before the analysis agent is called. Using the sanitized The Automated Data Preprocessing Phase comprises the train data, the host summarizes descriptive feature statistics, Analysis and Host Planning, the Transformation & Resampling indicators for missing values and constant features, feature Specialist Agent, and the Feature-Reduction Specialist Agent. types, categorical cardinalities, class counts and proportions, The host derives a train profile from the Sanitized Train and dataset size. Relationships between numeric features are Data before supplying this profile to the analysis agent. summarized using absolute Pearson correlations, with pairs at or The organization and information flow of these three stages above 0.85 included in the prompt. Categorical associations are are illustrated in the top panel of Fig. 2. Each LLM call summarized using bias-corrected Cramér’s V. For associations starts from an isolated conversation with a system prompt between each feature and the target, the host uses one-way designed for its corresponding role and shared constraints. ANOVA for numeric features and Cramér’s V for categorical Dataset characteristics, validated handoffs, and implementation features, treating the classification target as nominal. These C. Automated Data Preprocessing Phase

summaries provide contextual evidence for the resamplingfamily decision but do not define automatic feature-removal rules. Pearson and Spearman correlations are never computed between features and numerically encoded target labels. Second, the analysis agent receives the train profile and performs the Resampling-Family Decision. Its deliberately restricted decision scope permits exactly one choice among no resampling, random oversampling, SMOTE, ADASYN, random undersampling, Tomek links, edited nearest neighbours, SMOTE-Tomek, and SMOTE-ENN. The choice is informed by train class imbalance, absolute class support, categorical cardinalities and the host-defined encoding policy, computational cost, and compatibility with the subsequent preprocessing workflow, which applies the locked Semantic-RF-MI feature set. A large row count alone does not require resampling, and mild imbalance with sufficient class support may lead the agent to retain the original training distribution without resampling. The agent does not generate cleaning decisions, resampling intensities, sampling strategies, row budgets, or a winning candidate. It cannot access validation or test labels, test class priors, or test feature distributions. Consequently, the framework does not attempt to match the label or feature distributions of the training and test partitions. Third, after the single-field response passes strict JSON validation, the host performs Deterministic Plan Construction to produce the Validated Preprocessing Plan. The complete schema of the validated preprocessing plan is provided in Appendix B. Conservative feature removal is limited to features with all values missing, constant features, exact duplicate features, and identifiers or leakage variables supported by explicitly verified metadata. Feature name keywords alone cannot justify either removal or protection. The host additionally records policies derived from the training data for null handling, categorical encoding, logarithmic transformation, scaling, rare classes, resampling budgets, and candidate selection. When the agent selects no resampling, the host constructs only the none candidate. Otherwise, it constructs the none reference together with mild and moderate candidates from the selected resampling family. Every candidate must preserve the complete original train class set, including classes representing less than one percent of the data. For oversampling and hybrid families, a class is eligible only when its support is below one half of the median train class count. For an eligible class c, the unscaled target count is

support requirement is rejected, and the diagnostic recommends random oversampling as an alternative. For pure undersampling and cleaning families, the mild candidate targets all classes tied for the largest train count, whereas the moderate candidate targets classes with counts strictly above the train median. For a targeted class c, the minimum retained count is nfloor = ⌈nc − β(nc − m)⌉ , c

(2)

where β = 0.25 for mild and β = 0.50 for moderate. Random undersampling uses this count as its target, while cleaning methods must retain at least this many observations. Non-target classes retain their original counts. Tomek links permits at most one pass for mild and two passes for moderate. Edited nearest neighbours uses three neighbours for both candidates. The mild candidate removes targeted observations whose labels differ from the modal label of their neighbours, whereas the moderate candidate removes targeted observations if any neighbour has a different label. These policies and the approved preprocessing fields are recorded in the validated preprocessing plan. 2) Transformation & Resampling Specialist Agent: The Transformation & Resampling Specialist Agent translates the validated preprocessing plan into the Transformation & Resampling function. The structure of the input plan is documented in Appendix B, while the complete system prompt governing this specialist agent is provided in Appendix A-3. As shown in Fig. 2, this agent comprises three sequential processes: (1) Guarded Drops & Imputation, (2) Transformation, Encoding & Scaling, and (3) Bounded Candidate Resampling. The function returns the processed train features, their corresponding labels, and the transformed held-out features. All caller-owned inputs are deep-copied before modification, preprocessing quantities are learned from train, and held-out features receive only the corresponding fitted transformations. The selected resampling candidate affects only the final resampling process. First, Guarded Drops & Imputation applies only feature removals approved in the plan. Numeric infinities are replaced with missing values and imputed using train medians, while categorical missing values are imputed using a deterministic train mode. Rows are not removed to handle missing values, and no imputation statistic is learned from validation or test. Original categorical and numeric source groups are identified before dtype conversion so that categorical values cannot silently pass through fallback numeric coercion. n ec = ⌈nc + α (m − nc )⌉ , (1) Second, Transformation, Encoding & Scaling begins by determining eligibility for log transformation from the original train where nc is the original train count of class c, m is the data before resampling. The eligibility snapshot is constructed median train class count, and α equals 0.25 and 0.50 for the using only numeric coercion, replacement of infinities with mild and moderate candidates, respectively. Total expansion missing values, and imputation with train medians. Eligibility is bounded to 1.05 times the original train size for the is assessed before clipping, winsorization, outlier treatment, mild candidate and 1.10 times the original train size for the encoding, scaling, or resampling. A numeric feature is eligible moderate candidate. If the requested additions exceed the for log(1 + x) only when its usable train values are finite and corresponding row budget, they are reduced proportionally non-negative, it contains at least 20 distinct values, its finite and the remaining integer budget is allocated deterministically. skewness is strictly greater than 2.0, and its upper tail satisfies Synthetic neighbour methods require at least two original observations in every targeted class. Their neighbour count ( Q0.99 > Q0.75 + 3 IQR, IQR > 0, is set to the smaller of five and the smallest targeted class (3) count minus one. A synthetic family that violates the minimum Q0.99 > Q0.50 , IQR = 0,

where IQR = Q0.75 − Q0.25 and all quantiles are computed from the train eligibility snapshot. The resulting feature list is applied exactly once to the corresponding train and held-out columns before scaling. Categorical sources and all binary, one-hot, and target-encoded children are excluded from log transformation. Categorical sources are converted to independent string copies and imputed using a deterministic train mode before encoding. Routing is determined from their current train cardinality; the cardinality recorded in the plan serves as reference metadata. A binary source produces one binary column based on a deterministic category order, with unseen held-out categories mapped to the train modal code. Sources with 3–16 categories use one-hot encoding with an explicit unknown category bucket, ensuring that every row activates exactly one child. A conflict between the reserved unknown token and a genuine train category is rejected. Sources with more than 16 categories use fivefold cross-fitting for multiclass target encoding with automatic smoothing, enabled shuffling, and random state 42. The encoder receives the original train label series, and its output width equals the number of original train target classes. Runtime lineage records the encoding route actually used for each source, so one-hot coverage checks apply only to sources processed by one-hot encoding in that invocation. Every categorical source retains explicit lineage from raw features to runtime columns, and all runtime outputs must be numeric. The ordered train and held-out schemas must be identical, and no object, string, categorical, or Boolean types and no missing or infinite values may remain. The function records disjoint runtime column lists for continuous, target-encoded, one-hot, and binary features; together these lists must cover the complete runtime schema. Standard z-score scaling is fitted before resampling using only continuous numeric and target-encoded train columns. Binary and one-hot columns remain unscaled. The same encoding and logarithmic transformation audits are attached to the final train and held-out outputs. Third, Bounded Candidate Resampling executes the approved candidate on train only. The none candidate preserves every train row and label. The reference partition is the training partition used to construct the plan, whereas the current partition is the inner training partition processed at runtime. For oversampling and hybrid candidates, approved class targets are transferred from the reference train partition to the current train partition by preserving their lift ratios for each class:   ref run tc trun = n , (4) c c nref c ref where nref c and tc are the reference count and approved target, run and nc is the current count. The runtime row budget is    run run ref N run B = min B , ⌊ρN ⌋ , (5) N ref

where B ref is the approved reference row cap, N ref and N run are the reference and current train sizes, and ρ is the approved expansion ratio. Requested additions are reduced proportionally when necessary, with the remaining integer budget allocated deterministically before resampling. For undersampling and cleaning, target classes and retention floors are resolved from

the current train counts. Validation and test are never resampled. Output checks cover row-label alignment, schema consistency, finite values, row budgets, and preservation of every original train class; deterministic replay is checked during contract validation. 3) Feature-Reduction Specialist Agent: The FeatureReduction Specialist Agent receives the raw schema after approved drops and optional dataset-dependent feature descriptions and generates the hybrid Feature reduction function. The complete system prompt governing this specialist agent is provided in Appendix A-4. Following Fig. 2, this agent comprises three sequential processes: Semantic Guard & Feature Lineage, Evidence-Guided Semantic Pruning, and Threshold-Based RF-MI Completion. The agent does not receive held-out test statistics, a benchmark-specific mandatory feature list, or the preceding specialist’s generated code. First, Semantic Guard & Feature Lineage establishes at most 20 semantic raw-feature candidates. Each candidate must use an exact name from the supplied schema and be justified by a feature description or an unambiguous IDS meaning. Opaque names are not guessed and remain eligible for statistical completion. Candidates are assigned to one of eight semantic roles covering connection outcomes, protocol or service context, bidirectional traffic magnitude, packet activity, duration or intensity, timing or handshake behaviour, loss or error behaviour, and behavioural aggregation. Each candidate also receives a priority tier: tier 0 for core domain evidence, tier 1 for supporting evidence, and tier 2 for optional evidence. At most 10 tier-0 candidates may be designated as protected. Each nominated raw feature is resolved to its runtime representation. An equal-name runtime column is included when present, and a categorical source is resolved to encoded descendants whose names begin with its exact raw name followed by an underscore. This resolution includes binary, one-hot, and target-encoded descendants. The complete resolved pool is retained for semantic scoring, while every runtime column remains independently eligible for statistical completion. Second, Evidence-Guided Semantic Pruning fits a dedicated random forest on the resolved semantic pool using train data only. This semantic RF uses 50 trees, a maximum depth of eight, class weights inversely proportional to class frequencies and computed separately from each tree’s bootstrap sample, and a fixed random seed of 42. The default parallelism setting is retained. For a raw feature group g with runtime descendants Dg , its group score is X Gg = Ijsem , (6) j∈Dg

where Ijsem

is the importance of runtime column j in the semantic RF. The representative of each group is its descendant with the highest importance, with ties resolved by column name. A group is discarded when its representative importance is below 0.001. Surviving groups are ranked by ascending tier, protected priority within tier 0, descending group score, and raw feature name. At most the first 15 groups contribute their representatives to the semantic seed. Protected status therefore provides ranking priority but does not exempt a group from the

importance threshold. Each selected group contributes exactly protected anchors, the complete semantic pool before pruning, one seed column, and the representatives of selected protected the fixed thresholds, and the retained feature counts. The groups are recorded as protected anchors. completion count represents selection using combined RF-MI Third, Threshold-Based RF-MI Completion computes inde- evidence. pendent statistical evidence for every runtime train column. 4) Contract Validation & Repair: As illustrated by the A separate RF fitted using all features uses 100 trees and a Contract Validation & Repair blocks in the top panel of Fig. 2, maximum depth of ten, with the same class weight, random this procedure comprises three sequential processes: static state, and parallelism settings as the semantic RF. Mutual validation, isolated runtime validation, and repair feedback. information uses an explicit type-specific mask for discrete First, static validation checks the Stage 1 response as a singlefeatures: binary and one-hot columns are discrete, whereas field JSON decision and verifies the validated preprocessing target-encoded columns are continuous. Other numeric columns plan constructed by the host. The responses from Stages 2 are treated as discrete only when their train values justify that and 3 must each contain one complete Python program and pass interpretation. Every stochastic component uses random state import, abstract syntax tree, functional interface, and metadata 42. Numerically encoded target identifiers may be supplied checks. The policy constants from Stage 2 must match the to the classifiers and mutual information estimator, but their approved plan, and the generated sampler constructors must ordering is never interpreted. The RF fitted using all features belong to the approved family. The Stage 3 checks additionally and MI scores are independently converted to percentiles and verify semantic candidate names, role assignments, tier values, combined as the limit of 20 candidates, the limit of 10 protected candidates, and the restriction of protected candidates to tier 0. Sj = 0.60PjRF + 0.40PjMI , (7) Second, isolated runtime validation executes the generated where PjRF and PjMI denote the percentile scores of runtime functions on compact fixtures in worker processes with resource column j. Starting from the semantic seed, the selector limits. The Stage 2 checks cover input immutability, fitting considers the remaining columns in deterministic score order exclusively on training data, categorical lineage, handling and admits only candidates with Sj ≥ 0.55. A completion of unseen categories, numeric output, scaling, logarithmic candidate is rejected when its absolute Pearson correlation with transformation eligibility and application, schema consistency, any semantic seed column or previously retained completion and deterministic replay. Each approved resampling candidate column is at least 0.90. This filter never removes a semantic is also exercised using substituted metadata from the compact seed column, never involves the target, and is not relaxed fixtures. The validator observes the actual sampler calls and to reach a desired output size. The fixed thresholds were checks their strategies, neighbour settings, class-retention selected primarily according to their methodological roles. constraints, row budgets, and consistency with the unresampled The representative importance threshold of 0.001 removes reference. The Stage 3 runtime checks observe the configurations of semantic groups with negligible Random Forest evidence, while the RF-MI threshold of 0.55 requires a moderate the semantic RF and the RF fitted using all features, inspect the level of statistical evidence based on combined percentiles. discrete-feature mask used by MI, and verify semantic lineage The correlation threshold of 0.90 removes only strongly and audit consistency. Dedicated fixtures verify that statistical redundant candidates while preserving correlated features completion can retain multiple informative descendants of that may provide complementary IDS information. During the same raw group. Additional checks examine nominal method development, limited manual adjustments were made label invariance, test isolation, deterministic replay, and the to avoid excessively small or unnecessarily large feature subsets. rejection of mismatched schemas, inconsistent encoding audits, These adjustments considered only the resulting dimensionality and nonnumeric columns. The reported feature counts and and did not use held-out test labels or downstream test thresholds are checked against the output schema and the performance. Once established, the thresholds were fixed across required audit relationships. Third, a failed response triggers bounded diagnostic feedback all pipeline generation runs and applied unchanged to both datasets. Group level importance aggregation is used only for and a fresh, isolated LLM call that must regenerate the complete semantic seed selection. Statistical completion scores individual artifact. Stage 1 permits one correction attempt, while Stages 2 runtime columns, so additional descendants of a selected group, and 3 permit two correction attempts each. The initial call uses including a protected group, may enter the final feature set a temperature of zero, while correction calls use a temperature when they independently satisfy the score and redundancy of 0.1 and increment the generation seed, whose default initial criteria. The output dimension is determined after completion value is 42. Each attempt includes up to three API calls when filtering. If s semantic seed columns and q completion columns responses are empty or contain no text. Rejected responses from Stages 2 and 3 and their corresponding diagnostics are retained are retained, then for inspection. The two accepted programs are combined and Kfinal = Kunclamped = s + q. (8) checked for syntax validity before the complete module is The selector does not clamp, fill, or truncate this value. The saved and made available to the unified preprocessing pipeline. generated function is required to return a nonempty ordered 5) Data Pipeline Execution: The bottom panel of Fig. 2 subset of the runtime schema and attach identical feature summarizes the Data Pipeline Execution of the Unified selection audits to the train and held-out outputs. These Preprocessing Pipeline. It receives Sanitized Train + Heldaudits record the semantic seed, its corresponding raw groups, out Test and produces Processed Train + Held-out Test.

The execution controller performs three sequential processes: validation splitting from the training partition, locking of the adaptive feature set, and selection among resampling candidates. First, the sanitized training partition is divided into inner training and validation partitions using a stratified procedure that preserves rare classes, with a validation fraction of 20% and random state 42. For each class c containing nc samples, the number assigned to validation is vc = min (nc − 1, ⌊0.2nc ⌋) .

(9)

used for pipeline selection or optimization based on held-out test results. E. Scalability Considerations Although AutoDP-LLM is evaluated on a single computing platform in this study, several stages of the workflow exhibit natural task-level parallelism. In particular, independently generated preprocessing pipelines can be executed and evaluated separately, while multiple downstream machine-learning models can be trained and assessed concurrently using the resulting feature representations. These independent workloads create opportunities for parallel execution across available computing resources. Consequently, the proposed workflow is amenable to scalable execution environments, including multicore, distributed, and HPC-enabled computing infrastructures. Such environments may help reduce the overall time required for repeated pipeline generation and evaluation, large-scale experimental studies, or assessments involving multiple datasets and downstream classifiers. While the present study focuses on a single-platform implementation, the identified task-level parallelism motivates future investigations into multicore, distributed, and HPCenabled implementations of the proposed framework.

This rule retains at least one sample from every class in the inner training partition, although extremely rare classes are not necessarily represented in validation. The resulting split is fixed and reused across all pipeline generation runs. Second, common preprocessing is fitted on the inner training partition and applied to validation. The feature-reduction function is fitted once using the transformed but unresampled none candidate, and the resulting adaptive feature set is locked before candidate comparison. For each resampling candidate, resampling is performed on the complete transformed inner training feature matrix before the locked feature set is applied. Validation remains unresampled. Third, the candidates specified in the validated preprocessing plan are evaluated using a standard LightGBM classifier with IV. E XPERIMENTAL R ESULTS AND D ISCUSSION random state 42 and verbose output disabled. All remaining parameters retain their default values, and no hyperparameter A. Overview of Benchmark Datasets tuning is performed. The candidate set contains only none To evaluate AutoDP-LLM, we conduct multiclass intrusionwhen the agent selects no resampling; otherwise, it contains none, mild, and moderate. Weighted F1 is used as the primary detection experiments on two benchmark datasets: UNSWvalidation metric. When the weighted F1 difference between NB15 and NSL-KDD. For both datasets, we use the predefined two candidates is no greater than 0.003, the candidate with training and test splits. All preprocessing steps, including encoding, scaling, and resampling, are fitted only on the training lower intensity is preferred. The adaptive feature set and resampling winner are selected data to avoid data leakage. 1) UNSW-NB15 Dataset: UNSW-NB15 [3] contains approxindependently for each successfully generated artifact. Within each artifact, both are subsequently fixed across all downstream imately 2.54 million network-flow records covering normal classifiers and held-out test processing. The pipeline is not traffic and nine attack categories: Analysis, Backdoor, DoS, refitted on the complete training partition, and the validation Exploits, Fuzzers, Generic, Reconnaissance, Shellcode, and partition is not merged back into the inner training partition. Worms. We use the predefined split of 175,341 training samples and 82,332 test samples. Each record contains 42 predictor features, a multiclass label (attack cat), a binary label (label), D. Downstream Evaluation Phase and an identifier (id). For multiclass classification, id and label As shown in the third phase of Fig. 1, the Downstream Evalu- are removed. All ten classes are retained. The dataset is highly ation Phase comprises two sequential processes: Classification imbalanced, particularly for minority classes such as Worms and Evaluation. First, Random Forest, KNN, MLP, XGBoost, and Backdoor. Placeholder values (“-”) in the service feature LightGBM, and CatBoost are trained on the processed inner are mapped to other. training partition using the same locked feature set and 2) NSL-KDD Dataset: NSL-KDD [4] is an improved version resampling winner selected for the corresponding artifact. of KDD Cup 1999 with fewer redundant and duplicate records. The LightGBM validation controller is used solely to select We use the predefined training and test sets containing 125,973 among resampling candidates and does not select a separate and 22,544 samples, respectively. The difficulty score is preprocessing configuration for each downstream classifier. removed because it is not a network feature, while num Second, each trained downstream classifier is evaluated outbound cmds is removed because it has zero variance. This exactly once on the held-out test partition for each successful leaves 40 predictor features. Attack labels are grouped into five pipeline generation run. The evaluation reports weighted F1 as classes: Normal, DoS, Probe, R2L, and U2R. The categorical the primary predictive metric, together with accuracy, weighted features protocol type, service, and flag are encoded using precision, and weighted recall as complementary measures. mappings learned from the training set, with unseen test Operational measurements are reported separately and are not categories assigned to an out-of-vocabulary token.

B. Implementation Setting C. Results and Discussion 1) Evaluation Metrics: The performance of the evaluated For each experimental configuration, we perform 30 repeated classifiers is assessed using Precision, Recall, and F1 -score. pipeline-generation runs. Each run invokes the LLM anew and The F1 -score is computed as the harmonic mean of Precision produces a separately generated preprocessing-code artifact, and Recall: which is subsequently validated, executed, and evaluated. To maintain a consistent evaluation protocol across runs, the Precision × Recall F1 -score = 2 × . (10) training-derived validation split, resampling procedures, and Precision + Recall stochastic downstream operations use a fixed experimental For multiclass classification, weighted averaging is adopted, random state of 42. The LLM invocation settings are detailed where the metric for each class is weighted according to its in Appendix A, while the contract-repair procedure is described support (the number of true instances belonging to that class). in Section III. In Tables I and II, results are reported as the 2) Classification Models: To evaluate the effectiveness of arithmetic mean ± standard deviation (SD) across the 30 the generated preprocessing pipelines, six machine-learning generated and executed pipeline artifacts. In Table III, AutoDPclassifiers are considered. Unless otherwise specified, the deLLM results use the same mean ± SD format, whereas the fault hyperparameters provided by the corresponding software baseline results are single-point estimates under their respective libraries are used: evaluation protocols. The same mean ± SD convention is used • Random Forest (default configuration) for the component-level ablation study in Table IV, the cross• K-Nearest Neighbors (KNN) (n neighbors = 5) LLM downstream evaluations in Tables V and VI, and the • Multi-Layer Perceptron (MLP) (default configuration) operational measures in Table VII. The retained-feature entries • XGBoost (default configuration) in Table VII are instead reported as the observed minimum– • LightGBM (default configuration) maximum range across runs. The SD summarizes the observed • CatBoost (default configuration) run-to-run dispersion among the separately generated and 3) Baseline Methods: To assess the effectiveness of AutoDP- executed pipelines under the fixed data split and downstream LLM, we compare it against four literature-based preprocessing random-state configuration. For percentage-based classification or feature-selection methods: metrics, the SD is expressed in percentage points. For execution • LiteShield-MI-FS: a mutual-information-based feature- time and the operational measures in Table VII, the mean and selection method [19]. SD are expressed in the units stated in the corresponding • XGBoost-FS: a feature-selection method based on feature- column headings. importance scores produced by XGBoost [20]. To ensure clarity in our evaluation tables, we apply specific • IGRF-RFE: a hybrid feature-selection method that com- highlighting rules. In the main performance tables (Tables I bines Information-Gain Random Forest and Recursive and II), the values highlighted in bold represent the best perforFeature Elimination (RFE) [21]. mance across all evaluated models. In the baseline comparison • DSSTE: a domain-specific statistical transformation and (Table III), the best-performing method is highlighted in bold. encoding baseline designed for tabular intrusion-detection In the component-level ablation study (Table IV), the values features [22] highlighted in bold represent the highest weighted F1 -score 4) Experimental Environment: Experiments were conducted for each dataset. In the cross-LLM downstream evaluations on a workstation equipped with the following hardware and (Tables V and VI), the values highlighted in bold represent software: the best performance achieved by each LLM engine, whereas • CPU: Intel Core i5-13500 (13th Generation) the values highlighted in bold and red represent the best • RAM: 64 GB performance across all three evaluated LLM engines and • GPU: NVIDIA GeForce RTX 3060 (12 GB VRAM) downstream classifiers. In the operational efficiency comparison • Operating System: Ubuntu 24.04.4 LTS (Table VII), the values highlighted in bold and red represent • Software: Python 3.12.3 the most favorable result across the three evaluated LLM • Libraries: scikit-learn (v1.8.0), xgboost (v3.2.0), lightgbm engines for each dataset, where lower output-token counts, API (v4.5.0), and catboost (v1.2.10). latency, monetary cost, and training time are considered better. TABLE I C LASSIFICATION PERFORMANCE AND TOTAL EXECUTION TIME ON UNSW-NB15 ACROSS 30 PIPELINE - GENERATION RUNS Classifier

Accuracy

Precision

Recall

F1 -score

Execution Time

Random Forest KNN

76.59 ± 0.28 73.33 ± 0.17

82.64 ± 0.33 80.79 ± 0.33

76.59 ± 0.28 73.33 ± 0.17

78.41 ± 0.21 76.08 ± 0.18

117.18 ± 9.80 108.98 ± 9.77

MLP

77.51 ± 0.64

81.17 ± 0.84

77.51 ± 0.64

77.76 ± 0.49

190.61 ± 9.30

XGBoost LightGBM

77.20 ± 0.23 77.35 ± 0.30

82.84 ± 0.83 82.82 ± 0.79

77.20 ± 0.23 77.35 ± 0.30

78.41 ± 0.22 78.40 ± 0.31

106.38 ± 9.77 117.91 ± 9.72

CatBoost

76.84 ± 0.12

82.46 ± 0.76

76.84 ± 0.12

77.92 ± 0.14

150.56 ± 9.55

TABLE II C LASSIFICATION PERFORMANCE AND TOTAL EXECUTION TIME ON NSL-KDD ACROSS 30 PIPELINE - GENERATION RUNS Classifier

Accuracy

Precision

Recall

F1 -score

Execution Time

Random Forest KNN

76.46 ± 0.85 77.22 ± 0.52

81.97 ± 1.00 80.77 ± 0.72

76.46 ± 0.85 77.22 ± 0.52

72.43 ± 0.93 74.75 ± 0.50

93.94 ± 14.59 90.97 ± 14.65

MLP XGBoost

78.80 ± 0.92 77.79 ± 0.80

82.63 ± 0.83 82.68 ± 0.63

78.80 ± 0.92 77.79 ± 0.80

76.38 ± 0.99 74.37 ± 0.72

112.65 ± 16.28 91.60 ± 14.57

LightGBM

75.34 ± 0.78

79.94 ± 0.33

75.34 ± 0.78

72.07 ± 0.66

96.04 ± 14.61

CatBoost

79.24 ± 0.26

83.82 ± 0.19

79.24 ± 0.26

76.13 ± 0.33

99.94 ± 14.61

The number of retained features is reported for comparison and is not highlighted as a best-performing result. 1) Performance on Benchmark Datasets: Tables I and II report the classification performance and total execution time of the AutoDP-LLM pipelines on UNSW-NB15 and NSL-KDD, respectively. On UNSW-NB15, Random Forest and XGBoost both attain the highest mean weighted F1 -score at the displayed precision, with 78.41±0.21% and 78.41±0.22%, respectively. LightGBM follows closely with 78.40 ± 0.31%. MLP produces the highest mean accuracy (77.51 ± 0.64%), but its weighted F1 -score is lower (77.76 ± 0.49%), indicating that the classifier ranking depends on the evaluation metric. XGBoost records the lowest mean total execution time (106.38 ± 9.77 s), whereas MLP records the highest (190.61±9.30 s). XGBoost combines one of the highest weighted F1 -scores with the lowest mean execution time on UNSW-NB15. On NSL-KDD, MLP achieves the highest mean weighted F1 score, 76.38 ± 0.99%, followed by CatBoost at 76.13 ± 0.33%. CatBoost attains the highest mean accuracy (79.24 ± 0.26%) and has a lower mean execution time than MLP (99.94±14.61 s versus 112.65±16.28 s). Their mean weighted F1 -scores differ by only 0.25 percentage points, while CatBoost exhibits lower observed dispersion. KNN has the lowest mean execution time (90.97 ± 14.65 s), although its weighted F1 -score is 1.63 percentage points below that of MLP. Across the two datasets, the selected and unclamped feature counts remain within 26–28 features for UNSW-NB15 and 24– 26 features for NSL-KDD. The framework therefore produces compact representations under two different schemas and class

distributions. 2) Comparison with Baseline Methods: Table III compares AutoDP-LLM with the re-implemented feature-selection baselines under the respective fixed downstream classifiers: XGBoost for UNSW-NB15 and MLP for NSL-KDD. Consequently, the differences below are interpreted descriptively. On UNSW-NB15, AutoDP-LLM obtains a mean weighted F1 -score of 78.41 ± 0.22%. The corresponding point estimates are 78.17% for LiteShield-MI-FS, 78.13% for IGRF-RFE, and 77.92% for XGBoost-FS. AutoDP-LLM therefore has the highest reported weighted-F1 value, with its mean exceeding the strongest listed baseline point estimate by 0.24 percentage points. Its mean execution time is 106.38 ± 9.77 s, compared with 114.07 s for LiteShield-MI-FS, 10.74 s for XGBoost-FS, and 857.20 s for IGRF-RFE. Accordingly, AutoDP-LLM is faster than LiteShield-MI-FS and IGRF-RFE in this comparison, but it does not match the substantially lower execution time of XGBoost-FS. On NSL-KDD, AutoDP-LLM achieves a mean weighted F1 -score of 76.38±0.99%, compared with 73.59% for DSSTE, 71.53% for XGBoost-FS, and 67.34% for LiteShield-MI-FS. Its mean is 2.79 percentage points above the strongest listed baseline point estimate. However, its mean execution time of 112.65 ± 16.28 s is higher than those of LiteShield-MI-FS (96.47 s), XGBoost-FS (78.28 s), and DSSTE (77.56 s). The comparison therefore indicates a predictive-performance advantage at the point-estimate level on NSL-KDD, accompanied by greater execution cost. Overall, AutoDP-LLM reports the highest weighted-F1 value in the comparison on both datasets, but it does not provide a

TABLE III P ERFORMANCE AND EXECUTION TIME COMPARISON AGAINST OTHER METHODS UNDER THE SELECTED DOWNSTREAM CLASSIFIERS : XGB OOST FOR UNSW-NB15 AND MLP FOR NSL-KDD Framework / Method †

LiteShield-MI-FS [19] †

UNSW-NB15 (XGBoost)

NSL-KDD (MLP)

Weighted F1 (%)

Time (s)

Weighted F1 (%)

Time (s)

78.17

114.07

67.34

96.47

XGBoost-FS [20]

77.92

10.74

71.53

78.28

IGRF-RFE† [21] DSSTE† [22]

78.13 –

857.20 –

– 73.59

– 77.56

78.41 ± 0.22

106.38 ± 9.77

76.38 ± 0.99

112.65 ± 16.28

AutoDP-LLM (Ours)

† Re-implemented and reproduced by the authors under the same classifier setting for each dataset.

TABLE IV C OMPONENT CONFIGURATIONS AND WEIGHTED F1 - SCORES OF THE FEATURE - REDUCTION ABLATION STUDY Component Configuration

Ablation Variant Semantic Guard

Semantic Pruning

w/o RF-MI Completion

✓

✓

w/o Semantic Pruning

✓

w/o Semantic Components ✓

Full method

✓

Results (Weighted F1 )

RF-MI Completion

UNSW-NB15

NSL-KDD

77.28 ± 0.17

75.03 ± 0.47

✓

77.90 ± 0.10

76.26 ± 1.14

✓

78.33 ± 0.00

74.53 ± 0.00

✓

78.41 ± 0.22

76.38 ± 0.99

XGBoost and MLP are used as the fixed representative classifiers for UNSW-NB15 and NSL-KDD, respectively.

consistent runtime advantage. 3) Ablation Study on Feature-Reduction Components: We first conducted a component-level ablation study to evaluate the contributions of the three feature-reduction components in AutoDP-LLM: Semantic Guard, Semantic Pruning, and RF-MI Completion. As shown in Table IV, XGBoost and MLP were used as fixed representative classifiers for UNSW-NB15 and NSL-KDD, respectively, so that the observed differences could be attributed to changes in the feature-reduction configuration rather than to the choice of downstream classifier. Because Semantic Pruning operates on the semantic information established by Semantic Guard, removing Semantic Guard also disables Semantic Pruning, leaving RF-MI Completion as the only active component in that variant. Removing RF-MI Completion caused the largest performance degradation on UNSW-NB15, reducing the weighted F1 score from 78.41±0.22% to 77.28±0.17%. A similar reduction was observed on NSL-KDD, where the score decreased from 76.38 ± 0.99% to 75.03 ± 0.47%. These decreases of 1.13 and 1.35 percentage points, respectively, indicate that RFMI Completion plays an important role in supplementing the semantically selected subset with statistically informative and non-redundant features. When Semantic Pruning was removed while Semantic Guard and RF-MI Completion were retained, the weighted F1 -score decreased to 77.90±0.10% on UNSW-NB15 and 76.26±1.14% on NSL-KDD. The corresponding reductions of 0.51 and 0.12

percentage points suggest that Semantic Pruning provides an additional performance benefit, although its contribution is smaller than that of RF-MI Completion under the evaluated configurations. Removing the entire semantic branch, including both Semantic Guard and Semantic Pruning, produced different effects across the two datasets. On UNSW-NB15, the RF-MI-only variant achieved 78.33 ± 0.00%, only 0.08 percentage points below the full method. In contrast, its performance on NSLKDD decreased substantially to 74.53 ± 0.00%, representing a reduction of 1.85 percentage points. This result suggests that the benefit of semantic guidance is dataset-dependent and particularly pronounced on NSL-KDD. Nevertheless, the full configuration achieved the highest mean weighted F1 -score on both datasets, reaching 78.41 ± 0.22% on UNSW-NB15 and 76.38 ± 0.99% on NSL-KDD. Overall, the results support the complementary design of the semantic and statistical components: semantic processing preserves and refines domainrelevant information, whereas RF-MI Completion supplements the resulting subset using data-driven relevance and redundancy criteria. 4) Ablation Study on LLM Backbones: We further evaluated the influence of the underlying LLM backbone by comparing Claude-Sonnet-4.6, DeepSeek-V4-Pro, and GPT-5.4. Tables V and VI report the downstream classification performance of the generated pipelines, while Table VII summarizes their design-time overhead and runtime efficiency. For a consistent

TABLE V C LASSIFICATION PERFORMANCE OF THE EVALUATED LLM ENGINES ON UNSW-NB15. LLM Engine

Claude-Sonnet-4.6

DeepSeek-V4-Pro

GPT-5.4

Classification Performance

Classifier

Recall

F1 -score

83.38 ± 0.38

74.96 ± 0.31

77.74 ± 0.15

83.20 ± 0.48 81.47 ± 0.48

74.84 ± 0.25 76.19 ± 0.95

77.44 ± 0.18 77.13 ± 0.48

76.84 ± 0.17

82.31 ± 0.08

76.84 ± 0.17

78.56 ± 0.08

XGBoost

77.23 ± 0.18

81.83 ± 0.13

77.23 ± 0.18

78.34 ± 0.11

MLP

75.96 ± 1.22

80.60 ± 0.59

75.96 ± 1.22

76.78 ± 0.70

Random Forest XGBoost

76.59 ± 0.28 77.20 ± 0.23

82.64 ± 0.33 82.84 ± 0.83

76.59 ± 0.28 77.20 ± 0.23

78.41 ± 0.21 78.41 ± 0.22

MLP

77.51 ± 0.64

81.17 ± 0.84

77.51 ± 0.64

77.76 ± 0.49

Accuracy

Precision

Random Forest

74.96 ± 0.31

XGBoost MLP

74.84 ± 0.25 76.19 ± 0.95

Random Forest

comparison, XGBoost and MLP were used as the fixed representative classifiers for UNSW-NB15 and NSL-KDD, respectively. Output tokens represent the number of tokens generated during pipeline construction, API latency measures the wall-clock time required to receive the complete generated pipeline, and cost denotes the corresponding API expenditure based on each provider’s pricing. All three LLM engines successfully generated executable pipelines within the proposed multi-agent framework. Under the fixed XGBoost configuration on UNSW-NB15, GPT-5.4 achieved the highest weighted precision and weighted F1 -score among the evaluated LLM engines, reaching 82.84 ± 0.83% and 78.41 ± 0.22%, respectively. Its accuracy and weighted recall were both 77.20 ± 0.23%, only 0.03 percentage points below the corresponding values obtained by DeepSeek-V4-Pro. By comparison, DeepSeek-V4-Pro achieved a weighted F1 -score of 78.34 ± 0.11%, whereas ClaudeSonnet-4.6 obtained 77.44 ± 0.18%. Although DeepSeek-V4Pro with Random Forest produced the highest individual weighted F1 -score in the complete UNSW-NB15 comparison (78.56 ± 0.08%), GPT-5.4 provided the strongest overall result under the fixed representative-classifier setting. On NSL-KDD, the advantage of GPT-5.4 was more pronounced under the fixed MLP configuration. It achieved the highest values across all four performance metrics, including accuracy and weighted recall of 78.80 ± 0.92%, weighted precision of 82.63 ± 0.83%, and a weighted F1 -score of 76.38 ± 0.99%. In contrast, the MLP pipelines generated by Claude-Sonnet-4.6 and DeepSeek-V4-Pro obtained weighted F1 -scores of 74.82 ± 0.40% and 75.19 ± 1.10%, respectively. GPT-5.4 therefore improved the mean weighted F1 -score by 1.56 percentage points over Claude-Sonnet-4.6 and by 1.19 percentage points over DeepSeek-V4-Pro under this configuration. GPT-5.4 also demonstrated the highest pipeline-generation efficiency on both datasets. It required the fewest output tokens, with 10,418 ± 2,139 tokens on UNSW-NB15 and 10,800 ± 2,045 tokens on NSL-KDD. More notably, it achieved the lowest API latency, requiring only 60.23 ± 8.44 s and 64.55 ±

14.10 s, respectively. Claude-Sonnet-4.6 required 283.26 ± 99.65 s on UNSW-NB15 and 306.32 ± 74.46 s on NSL-KDD, approximately 4.7 times the latency of GPT-5.4 on both datasets. DeepSeek-V4-Pro exhibited substantially higher latencies of 858.33 ± 354.50 s and 1,525.33 ± 278.37 s, approximately 14.3 and 23.6 times those of GPT-5.4, respectively. Although DeepSeek-V4-Pro incurred the lowest monetary cost, GPT5.4 remained less expensive than Claude-Sonnet-4.6 while providing substantially lower generation latency. The pipelines generated by the three LLM engines retained 26–29 features on UNSW-NB15 and 23–27 features on NSLKDD. Prior IDS feature-selection studies on UNSW-NB15 have reported compact feature subsets around this scale. Specifically, [23] reports a subset containing 26 features for multiclass intrusion detection, while [24] reports selected subsets containing 25 and 30 features under different featureselection procedures. These comparisons are intended only to contextualize the resulting dimensionality and do not indicate that a particular feature range is universally optimal. When the same fixed selection thresholds were applied to NSL-KDD without further adjustment, the generated pipelines retained 23–27 features across the three LLM engines, including 24–26 features for GPT-5.4. These feature counts emerged from the semantic, relevance, and redundancy criteria rather than from a predefined target imposed by the framework. Their effectiveness is therefore assessed through the downstream classification results in Tables V and VI and the componentlevel ablation results in Table IV, rather than inferred from dimensionality alone. GPT-5.4 also achieved the shortest training time with both representative classifiers: 13.55 ± 0.45 s with XGBoost on UNSW-NB15 and 10.08 ± 0.23 s with MLP on NSL-KDD. These results indicate that the choice of LLM backbone has its largest effect on the one-time design-time overhead, while the generated pipelines remain broadly comparable in dimensionality and runtime requirements. Overall, GPT-5.4 offered the most favorable balance of downstream predictive performance, generation efficiency, training efficiency, and monetary cost. Its highest weighted F1 -score under both

TABLE VI C LASSIFICATION PERFORMANCE OF THE EVALUATED LLM ENGINES ON NSL-KDD. LLM Engine

Classification Performance

Classifier Accuracy

Claude-Sonnet-4.6

DeepSeek-V4-Pro

GPT-5.4

Precision

Recall

F1 -score

Random Forest

76.42 ± 0.05

82.33 ± 0.03

76.42 ± 0.05

72.81 ± 0.10

XGBoost MLP

78.67 ± 0.42 76.87 ± 0.26

83.30 ± 0.22 79.73 ± 1.01

78.67 ± 0.42 76.87 ± 0.26

76.05 ± 0.41 74.82 ± 0.40

Random Forest

76.35 ± 0.63

82.13 ± 0.44

76.35 ± 0.63

72.41 ± 0.55

XGBoost

77.31 ± 0.85

82.43 ± 0.33

77.31 ± 0.85

73.94 ± 1.00

MLP

77.28 ± 1.15

81.45 ± 0.96

77.28 ± 1.15

75.19 ± 1.10

Random Forest XGBoost

76.46 ± 0.85 77.79 ± 0.80

81.97 ± 1.00 82.68 ± 0.63

76.46 ± 0.85 77.79 ± 0.80

72.43 ± 0.93 74.37 ± 0.72

MLP

78.80 ± 0.92

82.63 ± 0.83

78.80 ± 0.92

76.38 ± 0.99

TABLE VII O PERATIONAL EFFICIENCY OF THE EVALUATED LLM ENGINES ACROSS DATASETS Design-time Overhead LLM Engine

Output Tokens

API Latency (s)

Run-time Efficiency Cost (USD)

Number of Features

Training Time (s)

Dataset: UNSW-NB15 (Representative classifier: XGBoost) Claude-Sonnet-4.6

18,199 ± 11,226

283.26 ± 99.65

$0.318 ± 0.168

26 – 27

14.73 ± 0.46

GPT-5.4 DeepSeek-V4-Pro

10,418 ± 2,139 79,152 ± 33,595

60.23 ± 8.44 858.33 ± 354.50

$0.194 ± 0.032 $0.147 ± 0.059

26 – 28 27 – 29

13.55 ± 0.45 14.19 ± 0.42

Dataset: NSL-KDD (Representative classifier: MLP) Claude-Sonnet-4.6

13,585 ± 8,422

306.32 ± 74.46

$0.249 ± 0.126

24 – 27

12.67 ± 0.40

GPT-5.4 DeepSeek-V4-Pro

10,800 ± 2,045 86,987 ± 13,725

64.55 ± 14.10 1525.33 ± 278.37

$0.200 ± 0.031 $0.160 ± 0.024

24 – 26 23 – 26

10.08 ± 0.23 10.80 ± 0.26

fixed representative-classifier configurations, together with its substantially lower API latency, supports its selection as the representative LLM backbone in the subsequent experiments. 5) Summary and Discussion: The experimental results provide three main observations regarding the proposed AutoDPLLM framework. Domain-Guided Feature Reduction: AutoDP-LLM combines domain-guided semantic recommendations with TRAIN-derived Random-Forest and mutual-information evidence. The generated pipelines retain 26–28 features on UNSW-NB15 and 24–26 features on NSL-KDD while maintaining competitive multiclass classification performance. The component-level ablation results further show that RF–MI Completion contributes to performance on both datasets, whereas the observed benefit of semantic guidance is more pronounced on NSL-KDD. • Comparison with Baseline Methods: AutoDP-LLM reports the highest weighted-F1 value in the baseline comparison on both datasets. Its mean exceeds the strongest listed baseline point estimate by 0.24 percentage points on UNSW-NB15 and by 2.79 percentage points on NSL-KDD. However, the runtime comparison is methoddependent: AutoDP-LLM is faster than some baselines on UNSW-NB15 but does not provide a consistent runtime advantage across both datasets. The baseline methods produced identical classification metrics under the fixed evaluation protocol and are therefore reported as singlepoint estimates. Since no inferential comparison of paired test-set predictions was performed, the reported differences are interpreted descriptively. • Evaluation Across Datasets and LLM Backbones: All three evaluated LLM backbones generated executable pipelines for both datasets. DeepSeek-V4-Pro with Random Forest obtained the highest individual mean weighted F1 -score on UNSW-NB15, while GPT-5.4 with MLP achieved the highest result on NSL-KDD. GPT-5.4 also required the fewest output tokens and the lowest mean API latency under the representative-classifier configurations, whereas DeepSeek-V4-Pro incurred the lowest monetary

•

cost. These results demonstrate operational portability across the evaluated backbones while revealing different performance, latency, and cost trade-offs. The same core architecture was applied to UNSW-NB15 and NSL-KDD without dataset-specific structural modifications, providing initial evidence that the framework can accommodate different schemas and class distributions. Taken together, the results show that AutoDP-LLM can automate IDS preprocessing and feature reduction while producing compact and executable pipelines. Its practical benefits depend on the dataset, downstream classifier, and selected LLM backbone. V. C ONCLUSION AND F UTURE W ORK This paper presented and evaluated AutoDP-LLM, a multiagent framework that uses LLMs to generate data-preprocessing and feature-reduction pipelines for intrusion-detection datasets. By organizing dataset analysis, transformation and bounded resampling, and feature reduction into specialized stages, the proposed framework automates several parts of IDS data preparation and reduces the manual effort required to design preprocessing workflows. A key contribution of this work is the integration of domainguided semantic recommendations with TRAIN-derived statistical evidence in an executable pipeline-generation framework. Experimental evaluations on the UNSW-NB15 and NSLKDD benchmark datasets showed that the generated pipelines retained compact feature sets while achieving competitive multiclass intrusion-detection performance. Applying the same core framework to both datasets without changing its multiagent architecture provides initial evidence of adaptability to different feature schemas and class distributions. In the representative GPT-5.4 experiments, the highest mean weighted F1 -scores were 78.41% on UNSW-NB15 and 76.38% on NSLKDD. AutoDP-LLM also reported the highest weighted-F1 value in the baseline comparison on both datasets, although its runtime advantage was not consistent across all methods. The component-level ablation results indicated that RF–MI Completion contributed to predictive performance on both datasets, while the effect of semantic guidance was more

pronounced on NSL-KDD. In addition, all three evaluated LLM backbones generated executable pipelines for both datasets. Their results revealed different trade-offs among predictive performance, generation latency, output-token use, training time, and monetary cost. These findings suggest that AutoDP-LLM provides a practical approach to automating IDS preprocessing, although its benefits depend on the dataset, downstream classifier, and selected LLM backbone. Several research directions remain open. First, the applicability of the framework to more complex and less structured security data sources, such as raw packet captures and heterogeneous system logs, warrants further investigation. Second, future work will examine multicore, distributed, and HPCenabled implementations to reduce pipeline-generation latency and support large-scale pipeline exploration. Third, smaller open-weight LLMs deployed locally should be investigated to reduce dependence on external APIs and support privacysensitive environments. Finally, extending the framework to continuous data streams may enable adaptive preprocessing under evolving network conditions and emerging attack patterns.

as an independent LLM call, resulting in a multi-agent workflow rather than a single extended conversation. 1) Shared Base Context (All Agents): Every agent receives the following base context at the beginning of its system prompt, with the dataset name substituted at runtime and an optional prior preprocessing block appended when applicable, as illustrated in Fig. 3. This prior preprocessing block corresponds to the fixed, hand-written Data Ingestion and Profiling stage, which produces the Sanitized Dataset that enters the workflow, as illustrated in Fig. 2. 2) Analysis and Host Planning (Step 1): This step corresponds to the topmost block in Fig. 2 (Analysis and Host Planning) and is responsible for three sub-functions: TrainOnly Profiling, Resampling-Family Decision, and Deterministic Plan Construction, guided by the complete Step 1 system prompt in Fig. 4. 3) Transformation and Resampling Specialist Agent (Step 2): This step corresponds to the middle block in Fig. 2 (Transformation & Resampling Specialist Agent). It consumes the Validated Preprocessing Plan and generates the transformation and resampling function that implements the Guarded Drops & A PPENDIX A Imputation, Transformation, Encoding & Scaling, and Bounded E XECUTION C ONFIGURATIONS , H YPERPARAMETERS , AND Candidate Resampling sub-functions based on the complete S YSTEM P ROMPT T EMPLATES Step 2 system prompt detailed in Fig. 5. 4) Feature-Reduction Specialist Agent (Step 3): This step To support reproducibility, we report the requested LLM corresponds to the bottom block in Fig. 2 (Feature-Reduction model identifiers and the generation parameters explicitly Specialist Agent). It is responsible for three sub-functions: configured for each stage. The evaluated configurations correSemantic Guard & Feature Lineage, Evidence-Guided Semantic sponded to GPT-5.4, Claude-Sonnet-4.6, and DeepSeek-V4-Pro. Pruning, and Threshold-Based RF-MI Completion. The output Initial generation attempts used a temperature of 0.0 and a of this stage is the feature-reduction function, generated based generation seed of 42. When an output failed contract validation, on the complete Step 3 system prompt detailed in Fig. 6. each correction attempt started from an isolated conversation, used a temperature of 0.1, and incremented the generation seed, A PPENDIX B beginning with 43 for the first correction attempt. The number of permitted correction attempts for each stage is described in JSON S CHEMA FOR I NTER -AGENT P RE - PROCESSING P LAN T RANSMISSION Subsection III-C. Generation parameters not explicitly supplied by the experimental client retained their provider defaults. The complete data-exchange contract between the Analysis These settings reduce avoidable output variation but do not and Host Planning step and the subsequent downstream guarantee identical responses from hosted LLM services. execution steps, corresponding to the Validated Preprocessing This appendix documents the complete execution con- Plan handoff illustrated in Fig. 2, is defined by the schema figurations, hyperparameter settings, prompt templates, and detailed in Fig. 7. The Analysis agent first returns a strict singleinput serialization formats of the AutoDP-LLM framework field JSON decision specifying the resampling family. The Host to facilitate reproducibility and experimental transparency. Planning component validates this decision and deterministiThe hyperparameter configurations, including the specific cally synthesizes the complete Validated Preprocessing Plan, temperatures and design rationales for each step within our which constitutes the final output of Stage 1. Relevant plan workflow, are summarized in Table VIII. The three steps fields and authoritative execution constants are then supplied to correspond directly to the three stacked blocks shown in the downstream agents within fixed delimiter strings to preserve Fig. 2: Step 1 is Analysis and Host Planning, Step 2 is the state integrity. Transformation and Resampling Specialist Agent, and Step 3 is the Feature-Reduction Specialist Agent. Each agent is executed TABLE VIII H YPERPARAMETER C ONFIGURATIONS AND D ESIGN R ATIONALES FOR M ULTI -AGENT E XECUTION Step / Agent

Parameter

Value

Design Rationale & Objective

Step 1: Analysis & Host Planning

Temperature

0.0

Promotes consistent planning and strict JSON schema compliance.

Step 2: Transformation & Resampling Specialist

Temperature

0.0

Eliminates syntax hallucinations and guarantees deterministic code execution.

Step 3: Feature-Reduction Specialist

Temperature

0.0

Ensures consistent feature selection and deterministic reduction logic.

You are part of a multi-agent engineering team building a real-time, high-throughput intrusion detection system (IDS). Optimize preprocessing and feature reduction for strong detection quality and low inference latency. The primary selection metric is weighted F1 on validation data derived only from TRAIN. Report only weighted F1, accuracy, and per-class recall; accuracy and per-class recall are diagnostics. Fit every learned statistic, transform, encoder, resampler, selector, and hyperparameter decision from TRAIN only. Held-out TEST labels, TEST class priors, and TEST feature distributions are unavailable for selection. TEST may only receive transformations already fitted or decided from TRAIN.

Fig. 3. Shared base context for all agents.

YOUR ROLE: Data Analyst Agent (Stage 1 of 3) Produce one strict JSON decision; do not write code. Your only decision is exactly one TRAIN-only resampling family ( or None). Do not select a winning candidate. Python owns cleaning, mild/moderate construction and the downstream controller on the same rare-safe TRAIN-derived split. That controller evaluates the entire none/mild/moderate grid using only standard LightGBM (‘LGBMClassifier(random_state=42, verbosity=-1)‘) and locks one shared winner for every final classifier. RESAMPLING DECISION CONTRACT - Return exactly one resampling_family string. Allowed values are None, RandomOverSampler, SMOTE, ADASYN, RandomUnderSampler, TomekLinks, EditedNearestNeighbours, SMOTETomek, and SMOTEENN. - Never emit resampling_candidates, candidate IDs, intensities, sampler parameters, strategies, or budgets. Python constructs mandatory none and same-family mild/moderate candidates after validation. - Preserve every class. Never merge, relabel, discard, or intentionally remove a rare class, including classes below one percent. - Never match every class to the majority and never use an unrestricted or "auto" oversampling strategy. - For oversampling/hybrid candidates, mild uses alpha=0.25 and a 1.05 row cap; moderate uses alpha=0.50 and a 1.10 row cap. A class is eligible only when its TRAIN count is below 0.5 times the median TRAIN class count. Its unscaled final target is ceil(n_c + alpha * (median - n_c)); scale additions proportionally when their sum exceeds the row cap. - None uses no strategy. Pure under-sampling/cleaning uses alpha=null, max_expansion_ratio=1.0 and max_resampled_rows= TRAIN rows. The host supplies exact under_fraction, target_class_policy, method_params and strategy fields; Stage 1 does not emit them. - Synthetic-neighbor methods require at least two original samples in every targeted class and an adaptive neighbor count below the smallest targeted support; otherwise prefer RandomOverSampler. - Use TRAIN imbalance, absolute support, encoded categorical geometry, compute/memory cost, and compatibility with the downstream semantic-RF-MI selector. Large row count alone is not a reason to resample; mild imbalance with adequate support should normally return only "none". Python derives conservative cleaning drops deterministically; Stage 1 must not emit cleaning decisions. Python owns every deterministic budget, selection, encoding, scaling, transform, null-handling and audit field. Do not emit or redesign them. Use TRAIN evidence only. Return exactly one valid JSON object with no Markdown fence, comments, trailing commas, prose, or fields outside the user-provided decision schema.

Fig. 4. System prompt of Analysis Specialist Agent in Step 1.

YOUR ROLE: Code Engineer Agent (Stage 2 of 3) Translate the approved Stage-1 plan into one production-grade Python implementation. The user prompt is the authoritative executable contract: follow its exact constants, API, operation order, categorical lineage, TRAINonly fitting, bounded candidate-specific resampling, audits, and postconditions. Do not redesign the plan, select a resampling winner, use validation/TEST labels or TEST-derived statistics, add dependencies or fallback encoders, or change candidate metadata. Use sklearn.preprocessing.TargetEncoder as required, preserve every TRAIN class, and return only one Python code block with no surrounding prose. Keep the module concise: omit explanatory comments and duplicate self-audits; emit only the complete executable code and required contract audits so the response does not truncate.

Fig. 5. System prompt of Transformation and Resampling Specialist Agent in Step 2.

YOUR ROLE: Feature-Reduction Specialist Agent (Stage 3 of 3) Implement the dataset-agnostic Semantic-RF-MI feature selector specified by the user prompt. Treat it as a behavioral contract for leakage-safe lineage, tiered protected semantic groups, TRAIN-only RF/MI evidence, adaptive K, minimal consumer audit metadata, and output correctness. Do not use a benchmark-specific feature list, fuzzy/regex/keyword selection, validation or TEST labels/statistics, or ordinal target-code correlations. The host fits supervised feature-selection evidence once on the unresampled candidate ‘none‘, then locks that feature list for all resampling candidates.

Fig. 6. System prompt of Feature Reduction Specialist Agent in Step 3.

{

"drop": ["feature"], "drop_evidence": { "feature": { "reason_code": "constant | all_missing | ...", "evidence": "..." } }, "categorical_encoding_policy": { "binary": "zero_one", "low_cardinality_max": 16, "low_cardinality_method": "onehot", "onehot_unknown_strategy": "explicit_unknown_bucket", "onehot_unknown_token": "__UNKNOWN__", "high_cardinality_method": " cross_fitted_multiclass_target", "target_encoder_cv": 5, "target_encoder_smooth": "auto", "target_encoder_shuffle": true, "target_encoder_random_state": 42, "fit_scope": "train_only" }, "scaling_policy": { "method": "StandardScaler", "scale_continuous_numeric": true, "scale_target_encoded": true, "scale_binary": false, "scale_onehot": false, "fit_before_resampling": true, "fit_scope": "train_only" }, "log_transform_policy": { "method": "train_only_right_skew_rule", "minimum_unique_values": 20, "minimum_skewness": 2.0, "upper_tail_iqr_multiplier": 3.0 }, "transform": {}, "encode": { "feature": { "train_cardinality": "<integer>", "method": "zero_one | onehot | ... " } }, "normalization": "StandardScaler"

"rare_class_policy": "keep_all", "train_reference_rows": "<integer>", "train_reference_class_counts": { "class_label": "<integer>" }, "resampling_selection": { "validation_source": "train_derived_validation", "splitter": "rare_safe_stratified_holdout", "validation_fraction": 0.20, "random_state": 42, "primary_metric": "weighted_f1", "weighted_f1_near_tolerance": 0.003, "tie_breakers": ["lower_intensity"], "refit_winner_on_full_train": false, "test_evaluations": 1 }, "resampling_candidates": [ { "candidate_id": "none | mild | moderate", "imbalance_handling": "None | SMOTE | ...", "alpha": "<number_or_null>", "under_fraction": "<number_or_null>", "target_class_policy": "null | below_half_median | ...", "method_params": { "parameter": "<value>" }, "max_expansion_ratio": "<float>", "max_resampled_rows": "<integer>", "sampling_strategy_dict": { "class_label": "<target_count>" }, "justification": "..." } ], "resampling_budget_justification": "...", "downstream_compatibility_justification": "..." "imbalance_severity": "Mild | Moderate | Severe", "recommended_metrics": [ "Weighted F1", "Accuracy", "Per-class Recall" ], "null_handling": { "feature": "median | mode | not_applicable_dropped" }, }

Fig. 7. Schema of the synthesized Validated Preprocessing Plan.

D ECLARATIONS Competing interests The authors declare no competing interests. Ethics approval Not Applicable. Consent to participate Not Applicable. Consent to publish Not Applicable. Funding The work of Thien Van Luong was supported by National Economics University under grant number NEU12025.02. The work of Thien Van Luong was also supported by Vietnam National Foundation for Science and Technology Development (NAFOSTED) under grant number 102.05-2025.57. R EFERENCES [1] K. Scarfone and P. Mell, “Guide to intrusion detection and prevention systems (idps),” National Institute of Standards and Technology (NIST), Gaithersburg, MD, USA, Special Publication 800-94, 2007. [2] P. Garcia-Teodoro, J. Diaz-Verdejo, G. Macia-Fernandez, and E. Vazquez, “Anomaly-based network intrusion detection: Techniques, systems and challenges,” Comput. Secur., vol. 28, no. 1-2, pp. 18–28, 2009. [3] N. Moustafa and J. Slay, “Unsw-nb15: a comprehensive data set for network intrusion detection systems (unsw-nb15 network data set),” in 2015 military communications and information systems conference (MilCIS). Ieee, 2015, pp. 1–6. [4] M. Tavallaee, E. Bagheri, W. Lu, and A. A. Ghorbani, “A detailed analysis of the kdd cup 99 data set,” in 2009 IEEE symposium on computational intelligence for security and defense applications. Ieee, 2009, pp. 1–6. [5] C.-F. Tsai, Y.-F. Hsu, C.-Y. Lin, and W.-Y. Lin, “Intrusion detection by machine learning: A review,” Expert Syst. Appl., vol. 36, no. 10, pp. 11 994–12 000, 2009. [6] I. Ahmad, S. Abbas, I. Ahmad, and F. Shah, “A survey on large language models for code generation,” J. Syst. Softw., vol. 219, p. 112181, 2024. [7] A. Narayan, I. Chami, L. Orr, and C. Ré, “Can foundation models wrangle your data?” Proc. VLDB Endow., vol. 16, no. 4, pp. 738–746, 2022. [8] Z. Ghamry, M. A. M. Abdullah, and H. A. M. H. Abyobaide, “A lightweight intrusion detection system based on information gain and multi-layer perceptron,” Iraqi J. Comput. Inform., vol. 46, no. 1, pp. 79–87, 2020. [9] T. Janarthanan and S. Zargari, “Feature selection in UNSW-NB15 and KDDCUP’99 datasets,” in Proc. IEEE 26th Int. Symp. Ind. Electron. (ISIE), Edinburgh, UK, 2017, pp. 1881–1886. [10] S. M. Kasongo and Y. Sun, “Performance analysis of intrusion detection systems using a feature selection method on the unsw-nb15 dataset,” Journal of Big Data, vol. 7, no. 1, p. 105, 2020. [11] A. Thakkar and R. Lohiya, “A survey on intrusion detection system: feature selection, model, performance measures, application perspective, challenges, and future research directions,” Artificial Intelligence Review, vol. 55, no. 1, pp. 453–563, 2022. [12] Y. Wang, H. Le, A. D. Gotmare, N. D. Q. Bui, J. Li, and S. C. H. Hoi, “Codet5+: Open code large language models for code understanding and generation,” 2023. [Online]. Available: https://arxiv.org/abs/2305.07922 [13] S. Fang, I.-C. Shen, Y. Wang, Y.-H. Tsai, Y. Yang, S. Zhou, W. Ding, T. Igarashi, and M.-H. Yang, “Meshllm: Empowering large language models to progressively understand and generate 3d mesh,” 2025. [Online]. Available: https://arxiv.org/abs/2508.01242 [14] Z. Liang, W. Yu, T. Rajpurohit, P. Clark, X. Zhang, and A. Kaylan, “Let gpt be a math tutor: Teaching math word problem solvers with customized exercise generation,” 2023. [Online]. Available: https://arxiv.org/abs/2305.14386 [15] E. Bou-Harb, G. Petluri, N. Paudel, P. Maheshwari, M. Z. Ahmad, N. M. L., and I. Mehmood, “LLM-powered automated cloud forensics: From log analysis to investigation,” 2024. [16] M. A. Khan, J. A. Maurya, and S. M. A. Hussain, “LLM-based event log analysis techniques: A survey,” 2024. [17] M. A. Alsuwaiket, “Zeroday-llm: A large language model framework for zero-day threat detection in cybersecurity,” Information, vol. 16, no. 11, p. 939, 2025. [18] S. Ge et al., “Pentestgpt: An llm-empowered automatic penetration testing tool,” in Proceedings of the Network and Distributed System Security Symposium (NDSS), 2024.

[19] D. Mabulage and B. Athuraliya, “Liteshield: Hybrid feature selectiondriven lightweight intrusion detection for resource-constrained iot networks,” arXiv preprint arXiv:2605.02987, 2026. [20] N. Pansari, S. Srivastava, M. Agarwal et al., “Attack classification using machine learning on unsw-nb 15 dataset using xgboost feature selection & ablation analysis,” in 2024 IEEE 9th International Conference for Convergence in Technology (I2CT). IEEE, 2024, pp. 1–9. [21] Y. Yin, J. Jang-Jaccard, W. Xu, A. Singh, J. Zhu, F. Sabrina, and J. Kwak, “Igrf-rfe: a hybrid feature selection method for mlp-based network intrusion detection on unsw-nb15 dataset,” Journal of Big data, vol. 10, no. 1, p. 15, 2023. [22] L. Liu, P. Wang, J. Lin, and L. Liu, “Intrusion detection of imbalanced network traffic based on machine learning and deep learning,” IEEE access, vol. 9, pp. 7550–7563, 2020. [23] M. Tawfik, “Optimized intrusion detection in iot and fog computing using ensemble learning and advanced feature selection,” PLOS ONE, vol. 19, no. 8, p. e0304082, 2024. [24] O. Almomani, “A feature selection model for network intrusion detection system based on pso, gwo, ffa and ga algorithms,” Symmetry, vol. 12, no. 6, p. 1046, 2020.

Related documents

Record · ID 1194342 · SHA-256 f315d5e13f7bdf45
Retrieved via Conceptio: every document is proof-bundled with source, license, and retrieval metadata.
Bring this data into your agent: Connect via MCP or API · 20 free credits to start · no card required
Read the Docs → · View CLI source on GitHub · Conceptio Open Knowledge Archive