In this paper, we tackle a bi-objective optimization problem in which we aim to maximize the portfolio diversification and, at the same time, minimize the portfolio volatility, where the ESG (Environmental, Social, and Governance) information is incorporated. More specifically, we extend the standard portfolio volatility framework based on the financial aspects to a new paradigm where the sustainable credits are taken into account. In the portfolio’s construction, we consider the classical constraints concerning budget and box requirements. To deal with these new asset allocation models, in this paper, we develop an improved Multi-Objective Particle Swarm Optimizer (MOPSO) embedded with ad hoc repair and projection operators to satisfy the constraints. Moreover, we implement a deep learning architecture to improve the quality of estimating the portfolio diversification objective. Finally, we conduct empirical tests on datasets from three different countries’ markets to illustrate the effectiveness of the proposed strategies, accounting for various levels of ESG volatility.