Researchers have shown that AI can detect personality traits from written text and, crucially, now understand how these models make decisions. By applying explainable AI techniques like integrated gradients, the team uncovered how specific words and linguistic patterns contribute to predictions based on major psychological frameworks.