Chess compositions have been around for over a thousand years, and composers aim to tap not only the practical but also the aesthetic sense of solvers. Recently AZLAN IQBAL has investigated the potential of fully-computer-generated chess problems, and here he presents some conclusions about what passes the threshold of beauty.
https://en.chessbase.com/post/what-do-people-really-find-attractive-in-chess-problems