Less but Better: Parameter-Efficient Fine-Tuning of Large Language Models for Personality Detection

Lingzhi Shen, Yunfei Long, Xiaohao Cai, Guanming Chen, Imran Razzak, Shoaib Jameel · DOI

Overview

PersLLM is a novel parameter-efficient fine-tuning (PEFT) framework designed to achieve state-of-the-art personality detection while drastically reducing computational overhead. By decoupling high-level feature extraction from task-specific classification, the framework utilizes a frozen Llama 3.1 model to populate a dynamic memory layer. Training is restricted to a lightweight "replaceable" output network, allowing the system to outperform much larger, fully fine-tuned models while significantly slashing training time and resource consumption.

The Challenge of Personality Detection

Detecting personality traits from social media text requires deep semantic and contextual understanding. While Large Language Models (LLMs) excel at these tasks, they present a "success trap": as models scale to billions of parameters, the cost of fine-tuning them for specific tasks like personality detection becomes prohibitive.

Standard PEFT methods like LoRA offer some relief but still require expensive forward and backward passes through the massive backbone model during every training epoch. Furthermore, the "black box" nature of LLMs makes it difficult for researchers to iterate quickly. PersLLM addresses these hurdles by harnessing LLM power without the massive compute bill, specifically targeting the nuances of the Myers-Briggs Type Indicator (MBTI) dimensions.

Methods: The PersLLM Architecture

The PersLLM framework architecture, highlighting the frozen feature extraction layer, the dynamic memory layer, and the replaceable output layer.

The PersLLM framework consists of three main components:

  1. Feature Extraction Layer: A frozen Llama 3.1-8B model serves as the backbone. Instead of processing a user's entire post history as a single string, posts are processed in batches using Grouped Query Attention (GQA) to extract high-dimensional representations efficiently.
  2. Dynamic Memory Layer: This core innovation stores extracted features in a cache. To ensure efficient retrieval, the system uses Locality-Sensitive Hashing (LSH) to index embeddings and cosine similarity to determine if a stored feature can be reused for similar inputs. A Least Recently Used (LRU) strategy manages the cache, ensuring relevant features remain accessible while old ones are evicted.
  3. Replaceable Output Layer: Instead of fine-tuning the heavy LLM, cached embeddings are fed into a tiny, trainable network (such as a GRU, LSTM, or GCN). This layer learns specific personality patterns. Because it is "replaceable," researchers can swap architectures—for instance, using a Graph Convolutional Network for multi-post relational data—without re-processing the LLM backbone.

Key Insights and Ideas

  • The "Proxy" Strategy: The lightweight output network acts as a proxy for the entire system. Performance in the small network is highly correlated with final system performance, enabling rapid experimentation.
  • Memory as a Multiplier: By caching embeddings, PersLLM eliminates redundant LLM computations. If a user's writing style matches a previously processed batch, the system simply retrieves the data from the memory layer.
  • CoT isn't a Silver Bullet: Interestingly, the authors found that Chain-of-Thought (CoT) prompting sometimes decreased performance compared to zero-shot prompting. For discriminative tasks like personality detection, complex decomposition can introduce noise or hallucinations.

Key Results

Comparison of computational efficiency metrics across different models, showing PersLLM's significant advantages in FLOPs, training time, and throughput.

PersLLM sets a new standard for both performance and efficiency:

  • Superior Accuracy: On the Kaggle dataset, PersLLM achieved an average Macro-F1 of 78.33%, outperforming the previous state-of-the-art (TAE) by 6.26%. On the Pandora dataset, it reached 69.47%, a 6.42% improvement.
  • Resource Efficiency: As shown in the efficiency metrics, PersLLM demonstrates a massive reduction in FLOPs and GPU memory usage compared to standard Llama 3.1 fine-tuning and even LoRA-based approaches.
  • High Throughput: The model achieves significantly higher throughput (samples per second), making it viable for real-time social media analysis.
  • Scalability: Ablation studies confirmed that while Llama 3.1 is a strong backbone, replacing it with GPT-4 as a feature extractor yielded even higher results, proving the framework's ability to scale as more powerful LLMs emerge.

Limitations and Future Work

Currently, PersLLM focuses exclusively on textual data, though personality is often expressed through multiple modalities like voice and images. Additionally, the efficiency of the Dynamic Memory Layer is sensitive to the similarity threshold ($\theta$); improper settings can lead to either redundant computation or the reuse of irrelevant features. Future research will focus on incorporating multimodal data and developing adaptive fine-tuning techniques to dynamically adjust training effort based on task requirements.

Summary updated

BibTeX
@inproceedings{shen2025less,
  author = {Lingzhi Shen and Yunfei Long and Xiaohao Cai and Guanming Chen and Imran Razzak and Shoaib Jameel},
  title = {{Less but Better: Parameter-Efficient Fine-Tuning of Large Language Models for Personality Detection}},
  booktitle = {IJCNN},
  year = {2025},
  doi = {10.1109/ijcnn64981.2025.11228339},
}
Figure