Codon optimization plays a central role in improving gene expression across diverse host organisms, yet many existing approaches treat it as a single-objective problem, focusing primarily on codon frequency adaptation or mRNA structural stability in i...
Codon optimization plays a central role in improving gene expression across diverse host organisms, yet many existing approaches treat it as a single-objective problem, focusing primarily on codon frequency adaptation or mRNA structural stability in isolation. Here, we propose a multi-objective deep learning framework that jointly optimizes translational efficiency and mRNA structural stability while strictly preserving the encoded amino acid sequence. The model employs a hybrid 1D convolutional neural network (CNN) and Transformer encoder to capture both local codon–amino acid relationships and long-range contextual dependencies. To incorporate biologically meaningful structural constraints, the framework is trained using structure-aware reference sequences generated by LinearDesign. Optimization is guided by a composite objective that integrates supervised codon prediction, contrastive representation learning, and a joint loss based on the Codon Adaptation Index (CAI) and Minimum Free Energy (MFE), enabling balanced consideration of translational efficiency and folding stability. Evaluation across Homo sapiens, Escherichia coli, and Saccharomyces cerevisiae demonstrates that the proposed framework consistently outperforms rule-based tools and single-objective deep learning baselines. The model achieves higher CAI, lower (more favorable) MFE, and maintains GC content within biologically plausible ranges, indicating robust and biologically coherent sequence design. These results highlight the importance of biologically grounded multi-objective learning in codon optimization and establish a generalizable framework for rational mRNA sequence design in therapeutic and synthetic biology applications.