# metadata.dc.description[].value
Treballs Finals de Grau de Matemàtiques, Facultat de Matemàtiques, Universitat de Barcelona, Any: 2024, Director: Sergio Escalera Guerrero i Carles Casacuberta

# metadata.dc.description.abstract[].value
The main goal of generative models is to learn an unknown distribution of data points in a high-dimensional space. However, generative models often face challenges such as mode collapse and time-extensive training processes. In order to address these problems, we propose a new way of training generative models, which relies on the implementation of topological regularizers extracting information from persistence diagrams. These topological loss terms inform about meaningful features of the spaces formed by the true data and the generated data, such as the presence of clusters, loops or higher-dimensional holes. We provide original proofs showing that the functions used are stable with respect to the data and generically differentiable, allowing their gradient descent based optimization. Some of the results obtained in this thesis are new results extending the current knowledge of differentiability through barcode space to more general classes of functions. As a consequence, this work expands the current possibilities of differentiable topological regularization. The developed topological regularizers are first tested in synthetic datasets, demonstrating their ability to continuously deform point clouds in order to obtain around truth topological features. Then, the regularizers are tested in variational autoencoders in the  FashionMNIST dataset, and we observe that they provide an improved performance compared to their nonregularized counterparts. Furthermore, these loss terms can be applied at any layer of the generative models, opening new ways of controlling the performance of inner layers and the spatial distribution of data codes in the latent space. We thus explore this possible line of application, and the striking effects observed suggest that topological regularization may be a useful ingredient for training generative models.

# metadata.dc.rights[].value
cc-by-nc-nd (c) Jack Benarroch Jedlicki, 2024

# metadata.dc.rights[].value
codi: GPL (c) Jack Benarroch Jedlicki, 2024

# metadata.dc.source[].value
Treballs Finals de Grau (TFG) - Matemàtiques