Submitted:
02 July 2025
Posted:
03 July 2025
You are already at the latest version
Abstract
Keywords:
I. Introduction
II. Related Work
A. User Embedding and Preference Profiling
B. Reward Function Design
C. Prompt Compression Mechanism
III. Methodology
A. Reward Function Construction
B. Soft Prompt Compression Mechanism
IV. Experiments
A. Datasets
B. Evaluation Metrics
- Exact Match (EM): Measures the percentage of model-generated answers exactly matching the ground-truth answers, providing an indication of absolute accuracy.
- F1 Score: Evaluates the harmonic mean of precision and recall, reflecting the balance between answer completeness and precision.
- BERTScore: Computes the semantic similarity between generated responses and reference texts using contextual embeddings from BERT, offering deeper insights into semantic accuracy.
- Robustness Index (RI): Specifically developed for this study, RI quantifies model performance stability between clean and noisy conditions, directly measuring the robustness improvements achieved by our proposed methods.
V. Results and Analysis
VI. Case Study
VII. Limitations and Ethical Considerations
VIII. Future Work
X. Conclusion
References
- C. Wang, Y. Yang, R. Li, D. Sun, R. Cai, Y. Zhang, and C. Fu, “Adapting llms for efficient context processing through soft prompt compression,” in Proceedings of the International Conference on Modeling, Natural Language Processing and Machine Learning, pp. 91–97, 2024.
- C. Wang and J. Gong, “Intelligent agricultural greenhouse control system based on internet of things and machine learning. arXiv, 2024; arXiv:2402.09488v2.
- C. Li, H. Zheng, Y. Sun, C. Wang, L. Yu, C. Chang, X. Tian, and B. Liu, “Enhancing multi-hop knowledge graph reasoning through reward shaping techniques,” in 2024 4th International Conference on Machine Learning and Intelligent Systems Engineering (MLISE), 2024.
- T. Wu, Y. Wang, and N. Quach, “Advancements in natural language processing: Exploring transformer-based architectures for text understanding. arXiv, 2025; arXiv:2503.20227.
- C. Wang and H. Quach, “Exploring the effect of sequence smoothness on machine learning accuracy,” in International Conference On Innovative Computing And Communication, vol. 1043, pp. pp–475, 2024.
- Z. Gao, “Modeling reasoning as markov decision processes: A theoretical investigation into nlp transformer models,” 2025.
- M. Liu, M. Sui, Y. Nian, C. Wang, and Z. Zhou, “Ca-bert: Leveraging context awareness for enhanced multi-turn chat interaction,” in 2024 5th International Conference on Big Data & Artificial Intelligence & Software Engineering (ICBASE), pp. 388–392, IEEE, 2024.
- Z. Gao, “Feedback-to-text alignment: Llm learning consistent natural language generation from user ratings and loyalty data,” 2025.
- H. Liu, C. Wang, X. Zhan, H. Zheng, and C. Che, “Enhancing 3d object detection by using neural network with self-adaptive thresholding,” in Proceedings of the 2nd International Conference on Software Engineering and Machine Learning, vol. 67, 2024.
- N. Quach, Q. N. Quach, Q. Wang, Z. Gao, Q. Sun, B. Guan, and L. Floyd, “Reinforcement learning approach for integrating compressed contexts into knowledge graphs,” in 2024 5th International Conference on Computer Vision, Image and Deep Learning (CVIDL), pp. 862–866, 2024.
- Z. Gao, “Theoretical limits of feedback alignment in preference-based fine-tuning of ai models,” 2025.



| Dataset | Exact Match (%) | F1 Score (%) | Robustness Index | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Base | Prop | Base | Prop | Base | Prop | ||||
| HotpotQA | 65 | 72 | +7 | 72 | 80 | +8 | 0.80 | 0.90 | +0.10 |
| NaturalQuestions | 70 | 78 | +8 | 77 | 85 | +8 | 0.82 | 0.92 | +0.10 |
| FEVER | 75 | 83 | +8 | 82 | 90 | +8 | 0.78 | 0.88 | +0.10 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).