A research team at the University of Barcelona (UB) has shown how artificial intelligence (AI) models can detect personality traits from written texts, and for the first time has managed to analyze in detail how these systems make decisions. These results, published in the journal PLOS One, open up new perspectives for understanding how personality manifests itself in natural language and also how more transparent and reliable automatic detection tools can be built.A research team at the University of Barcelona (UB) has shown how artificial intelligence (AI) models can detect personality traits from written texts, and for the first time has managed to analyze in detail how these systems make decisions. These results, published in the journal PLOS One, open up new perspectives for understanding how personality manifests itself in natural language and also how more transparent and reliable automatic detection tools can be built.[#item_full_content]