Computer-aided medical imaging systems increasingly depend on convolutional neural network architectures to segment anatomical boundaries from thoracic radiographs, yet conventional training workflows almost universally apply a single global optimization algorithm with uniform hyperparameters across an entire network. To address the functional specialization inherent in encoder-decoder structures, researchers have introduced an automated heterogeneous optimization methodology that assigns distinct optimization algorithms and module-specific hyperparameters to different sub-networks. Evaluated on the Feature-Fusion U-Net architecture alongside a standard baseline U-Net, this modular training paradigm demonstrates that decoupling optimization across functional divisions improves lung segmentation accuracy. Specifically, the framework attained Dice Similarity Coefficient values reaching up to 96.09 percent on the Montgomery County chest radiograph benchmark and 95.30 percent on a multi-source tuberculosis chest radiograph collection, surpassing the performance achieved by standard monolithic optimization routines. The experimental evaluation establishes that addressing the separate learning dynamics of feature extraction, bottleneck compression, and decoder reconstruction produces measurable gains in boundary precision and overall anatomical delineation.
Accurate delineation of pulmonary regions from standard posteroanterior chest radiographs serves as a prerequisite for automated diagnostic systems, particularly given that late diagnosis of thoracic malignancies dramatically lowers five-year patient survival rates from approximately 55 percent down to roughly 5 percent. While automated deep learning models have expanded diagnostic capabilities, segmenting chest radiographs remains technically demanding due to overlapping tissue densities, variable contrast, and complex pathological variations. Convolutional neural networks typically address these issues through specialized architectural additions, attention gates, or extensive data augmentation. However, traditional deep learning practices continue to overlook how architectural divisions process visual information during backpropagation. Forcing these functionally divergent modules to share identical optimization algorithms and learning hyperparameters restricts model adaptation and compromises overall generalization.
To overcome the constraints of monolithic training, the investigation formulated a heterogeneous optimization strategy applied to FF-UNet, a specialized 3.94-million-parameter network incorporating dilated and standard convolutions within a feature-fusion block alongside parallel attention gates. The researchers divided the neural architecture into three distinct functional blocks: the encoder, the bottleneck, and the decoder. Rather than using an identical optimization rule across all layers, each block was permitted to operate under an independently selected algorithm chosen from a candidate pool of five recognized optimizers: standard Adaptive Moment Estimation (Adam), Rectified Adam (RAdam), Adam with decoupled weight decay (AdamW), Lookahead, and Evolved Sign Momentum (Lion). Because manual calibration across modular boundaries is computationally impractical, the research integrated population-based metaheuristic algorithms to automatically discover optimal combinations of optimizers and continuous hyperparameters, guided directly by validation segmentation quality.
The metaheuristic exploration relied on two distinct evolutionary search techniques: Particle Swarm Optimization (PSO) and Differential Evolution (DE). The optimization search space encompassed categorical optimizer selections alongside fine-grained continuous hyperparameters for each architectural division, including learning rate across bounds from 0.000001 to 1.0, weight decay from 0.0 to 0.1, first-moment coefficient beta-one from 0.0 to 0.999, and second-moment coefficient beta-two from 0.0 to 0.999. When Lookahead was selected, the algorithm also tuned the integer synchronization period k across values from 1 to 10 and the slow update ratio alpha across values between 0.01 and 1.0. To prevent artificial numerical ordering among categorical algorithms within continuous spaces, the team implemented a random-key representation assigning continuous selection keys between 0 and 1 to each optimizer candidate. For PSO, searches utilized a swarm of 10 particles across 10 iterations with cognitive and social coefficients set to 2.0 and linearly decreasing inertia weights from 0.9 to 0.4. Differential Evolution employed a classic DE/rand/1/bin strategy with a population size of 10, 10 generations, a mutation factor of 0.5, and a crossover rate of 0.7.
Experimental validation was conducted on two standardized benchmark collections: the Montgomery County dataset, containing 138 high-resolution posteroanterior chest radiographs with expert lung masks, and the Chest X-ray Dataset for Tuberculosis Segmentation, containing 704 chest radiographs gathered from Montgomery County and the Shenzhen Chest X-ray Database. All radiographs were standardized to 256 by 256 pixels and systematically partitioned into 80 percent training, 10 percent validation, and 10 percent testing subsets. Model training utilized focal loss to counteract pixel-level class imbalances and ran on hardware featuring NVIDIA RTX 4090 and NVIDIA Tesla P100 graphical processing units. Performance quantification tracked multiple standard overlap and spatial accuracy indices, specifically the Dice Similarity Coefficient (DSC), Intersection over Union (IoU) or Jaccard index, sensitivity or recall, and specificity.
On the Montgomery benchmark evaluated with FF-UNet, the best-performing Differential Evolution configuration, designated Opt3M, achieved the highest overall segmentation accuracy with a test Dice Similarity Coefficient of 96.09 percent and an Intersection over Union of 92.47 percent, alongside 98.85 percent specificity and 95.48 percent recall. A secondary DE-derived candidate, Opt2M, achieved the highest specificity on Montgomery at 98.96 percent with a DSC of 95.98 percent, while standard AdamW recorded the highest recall at 97.19 percent but underperformed across overlap indices with a DSC of 95.26 percent and an IoU of 90.96 percent. The top Montgomery configurations consistently favoured Lion across functional modules, with Opt3M employing Lion with a learning rate of 0.000296 in the encoder, 0.002669 in the bottleneck, and 0.001938 in the decoder, demonstrating how tailored learning velocities benefit localized layer dynamics.
When assessed on the 704-image Chest X-ray dataset using FF-UNet, Particle Swarm Optimization generated the top overall performing pipeline, labelled Opt4C. This configuration attained a benchmark-leading Dice Similarity Coefficient of 95.30 percent, an Intersection over Union of 91.04 percent, and a recall of 93.38 percent, while Opt2C under Differential Evolution delivered the highest specificity at 99.51 percent. In Opt4C, the metaheuristic assigned AdamW to the encoder with a learning rate of 0.001936, weight decay of 0.009511, beta-one of 0.861276, and beta-two of 0.978103, while designating Lion to both the bottleneck and decoder modules with distinct continuous hyperparameter values. Across both datasets, standard monolithic optimizers such as baseline Adam, AdamW, and RAdam achieved lower segmentation scores, with baseline Adam recording 95.31 percent DSC on Montgomery and 92.85 percent on Chest X-ray, visually exhibiting irregular lung contours and interrupted regional masks.
To evaluate whether the discovered heterogeneous training configurations generalize beyond FF-UNet, the investigators transferred the optimized setups to a conventional U-Net architecture without re-running the metaheuristic search. On the Montgomery benchmark, the transferred Opt2M configuration yielded a test DSC of 96.00 percent and an IoU of 92.32 percent on standard U-Net, exceeding baseline Adam, which attained 95.64 percent DSC, and baseline Lion, which registered 94.34 percent DSC. On the Chest X-ray dataset, transferring Opt3C to U-Net established the highest test metrics across the entire comparative series, generating a Dice Similarity Coefficient of 96.06 percent, an IoU of 92.43 percent, and a recall of 94.38 percent, outperforming all single-optimizer baselines including RAdam, which degraded sharply to 90.20 percent DSC and 82.23 percent IoU. These transfer experiments confirm that module-level optimizer assignments reflect general architectural requirements rather than narrow over-specialization to FF-UNet.
To isolate the individual contributions of optimizer selection versus hyperparameter tuning, the authors conducted formal ablation trials comparing Global optimization, Module-Specific Hyperparameters with a shared optimizer, and full Heterogeneous optimization across both PSO and DE. On the Chest X-ray dataset, paired t-tests and Wilcoxon signed-rank tests revealed that heterogeneous training delivered statistically significant gains over module-specific shared optimizers for both PSO and DE, with image-level mean DSC differences of plus 3.90 percent and plus 8.34 percent respectively, both demonstrating p-values below 0.0001 and large effect sizes. Search cost assessments indicated that search times and computational overhead did not scale monotonically with search space dimensionality. For instance, in Differential Evolution on the Chest X-ray dataset, Heterogeneous optimization required an average evaluation time of 358.45 seconds per candidate and 10.96 total search hours, which proved substantially faster than module-specific hyperparameter search at 689.32 seconds per candidate and 21.07 total search hours, an outcome attributed to variable epoch durations under early stopping criteria.
An analysis of metaheuristic stochasticity across four independent search runs on the Montgomery dataset using random seeds 42, 123, 2026, and 3407 demonstrated stability in search outcomes. For PSO, the best validation DSC averaged 95.77 percent with a standard deviation of 0.0756 percent and a coefficient of variation of 0.079 percent, yielding controlled retrained test DSC values averaging 95.71 percent with a 0.1904 percent standard deviation. Differential Evolution achieved a mean validation DSC of 95.69 percent with a 0.0555 percent standard deviation and controlled test DSC averaging 95.46 percent with a 0.4933 percent standard deviation. The authors noted that these stochastic evaluations, based on four complete search repetitions, serve as descriptive assessments of robustness rather than formal statistical equivalence. While future investigations may explore three-dimensional volumetric segmentation, multi-class anatomical delineations, and transformer-based backbones, this study confirms that decoupling optimizer selection and hyperparameter configuration across functional neural modules provides an effective, data-driven alternative to uniform global network optimization.
Subject of Research: Modular metaheuristic optimizer and hyperparameter optimization for deep learning lung image segmentation
Article Title: Toward smarter training: Per-module optimizer and hyperparameter tuning via metaheuristics for lung image segmentation
Article References: El Abassi, F., Darouichi, A., & Ouaarab, A. (2026). Toward smarter training: Per-module optimizer and hyperparameter tuning via metaheuristics for lung image segmentation. Informatics in Medicine Unlocked, 67, Article 101831. https://doi.org/10.1016/j.imu.2026.101831
Image Credits: AI Generated
DOI: 10.1016/j.imu.2026.101831
Keywords: deep learning, lung image segmentation, chest radiography, medical image processing, hyperparameter optimization, metaheuristics, particle swarm optimization, differential evolution, encoder-decoder networks, FF-UNet, U-Net, Dice similarity coefficient, computer-aided diagnosis, Montgomery dataset, optimizer selection, Lion optimizer, AdamW
Cite Scienmag News
Blake Davidson. (November 25, 2026). Per-Module Optimizer Tuning via Metaheuristics Improves Deep Learning Lung Image Segmentation. Scienmag. https://scienmag.com/per-module-optimizer-tuning-via-metaheuristics-improves-deep-learning-lung-image-segmentation/
Blake Davidson. "Per-Module Optimizer Tuning via Metaheuristics Improves Deep Learning Lung Image Segmentation." Scienmag, 25 November 2026, https://scienmag.com/per-module-optimizer-tuning-via-metaheuristics-improves-deep-learning-lung-image-segmentation/. Accessed 25 November 2026.
Blake Davidson. "Per-Module Optimizer Tuning via Metaheuristics Improves Deep Learning Lung Image Segmentation." Scienmag. November 25, 2026. https://scienmag.com/per-module-optimizer-tuning-via-metaheuristics-improves-deep-learning-lung-image-segmentation/








