Abstract
HR-Agent is a specialized, modular task-oriented dialogue (TOD) system designed to automate repetitive Human Resources processes such as medical claims and leave requests. By fine-tuning smaller "student" models on high-quality synthetic data, the system achieves sub-2-second response times in 94% of cases while maintaining strict data confidentiality. Experimental results demonstrate that HR-Agent significantly outperforms general-purpose large language models (LLMs) in both speed and domain-specific accuracy, nearly doubling the Joint Goal Accuracy (JGA) of previous state-of-the-art methods.
Introduction
Human Resources (HR) departments are frequently overwhelmed by repetitive, manual processes, including access requests, time-off submissions, and medical claim filings. While Large Language Models (LLMs) have revolutionized fields like law and finance, applying them to HR requires meeting five critical requirements: speed (sub-2-second latency), extractivity (accurate data pulling without hallucinations), versatility across use cases, data confidentiality, and HR-specific logic.
General-purpose models often struggle to meet these requirements simultaneously. HR-Agent addresses these challenges by moving away from a monolithic "one-big-prompt" approach toward a specialized, modular architecture.
Methodology
HR-Agent utilizes a modular pipeline consisting of three main components: Entity Selection, Entity Extraction, and Question Generation. This structure ensures that the system identifies relevant information, pinpoints exact data points (e.g., dates or claim amounts), and determines the next logical, empathetic question to ask the user.
The core innovation is a "Small Model, Specialized Training" strategy. Instead of relying on massive external models for every turn, the researchers used a high-capacity model (Claude-V3) as a "teacher" to generate 20,000 high-quality synthetic HR dialogue samples. They then fine-tuned a much smaller model, FlanT5-Base (220M parameters), to handle live inference. This allows the system to run locally, ensuring data privacy and significantly reducing latency.
Experimental Results
Accuracy and Specialization
One of the study's most striking findings is that specialization trumps raw size. The fine-tuned 220M parameter FlanT5 model outperformed the massive Claude-V3 in F1 scores for entity selection (0.856 vs. 0.519). On the HR-MultiWOZ benchmark, HR-Agent achieved a Joint Goal Accuracy (JGA) of 20.47, nearly doubling the performance of previous state-of-the-art methods like SGP-TOD (10.74).
Latency and User Experience
Latency is a critical feature for user retention. HR-Agent delivered responses in under 2 seconds in 94% of cases, whereas a Claude-based TOD system only met this threshold 4% of the time. This performance gap is visualized in the distribution of response times below.
Furthermore, the system prioritizes empathy. In a preference study, human labelers preferred "empathetic" responses generated by the agent over standard responses by a significant margin (409 vs. 65), highlighting the importance of tone in HR interactions.
Conclusion and Future Work
HR-Agent demonstrates that small, specialized models can outperform general-purpose LLMs in domain-specific tasks while solving for latency and privacy. However, the authors note limitations, including a reliance on synthetic data which may lead to "performance drift" with real-world human dialogue. Future work will focus on expanding the agent's scope to automated resume screening and more complex email drafting, as well as hardening API integrations to ensure robust, error-free automation of HR actions.
Summary updated