Engineering

"AI interviewer" automates corporate recruitment interviews

JAPAN AI Engineering Editorial Team

Why did we choose an "AI interviewer"? - What prompted the development

You may have heard that many Japanese companies are struggling with a labor shortage due to the declining birthrate and aging population, especially in recruiting core personnel. In fact, it is said that about 70% of companies are facing this issue. On the other hand, the resources of the human resources department are limited, and the reality is that they cannot devote enough time and effort to the recruitment process, especially interviews.

Our team started by discussing, "Can we solve this problem with an AI agent?" "Can we provide a natural interview experience that is not just a chatbot, but a real conversation with a human being?" This idea of an "AI interviewer" was born. Our goal was to create a solution that could automate the recruitment interview process, reducing the burden on human resources personnel while providing candidates with a high-quality interview experience.

What "AI Interviewer" can do - Feature Introduction

The "AI interviewer" we developed has three main functions.

1.A personalized interviewer that sounds just like the real thing: By simply uploading a face photo and voice data of the company's representative, a realistic avatar that looks just like that person will appear as the interviewer. The voice is also reproduced using cloning technology, so we aimed for a natural sounding voice that sounds as if the person is really speaking. It is also possible to customize the interviewer's speaking style and atmosphere to match the company culture.

2.Customize the interview content: Each company has different questions to ask and points to evaluate. With this system, you can set detailed information such as question sets, evaluation criteria, and even the interviewer's background and job title. This allows the AI to ask appropriate questions that meet the company's needs and dig deeper into the candidate's answers.

3. Automatic objective evaluation: After the interview is over, the AI analyzes the candidate's answers and speaking style, and automatically generates an evaluation report based on the evaluation criteria set in advance. It supports decisions such as "Should this candidate proceed to the next selection step?", achieving a more objective and fair evaluation.

Behind the scenes of development: The technological obstacles that faced obstacles and the ingenuity used to overcome them

In the process of turning the idea into reality, we faced several major technical challenges. In particular, we went through a lot of trial and error in creating a natural, real-time conversation experience.

1. The Battle Against "Pauses": End-to-End Voice LLM and Real-Time Responses:

・issue: The tempo of a conversation is important in an interview. If it takes too long for the AI to respond after the candidate finishes speaking, it becomes unnatural all at once. We needed to smoothly link speech recognition (STT), response generation by LLM, and speech synthesis (TTS) to achieve real-time performance close to that of human-to-human conversations.

・Ingenuity: First, we tried [Nova-2 STT API](https://deepgram.com/learn/nova-2-speech-to-text-api) for speech recognition, which has a reputation for its high accuracy in recognizing Japanese. The key was to speed up response generation and voice synthesis, so we adopted an approach that combines [OpenAI's Real-time API](https://platform.openai.com/docs/guides/realtime) (gpt-4o-realtime-preview), which specializes in real-time processing, with WebRTC/WebSocket. This allows us to generate response voice almost simultaneously while inputting voice, aiming to minimize conversation delay. During the Hackathon, fighting this delay was probably the most nerve-wracking part (laughs).

2.Breathing soul into the "voice": Voice cloning and tone adjustment:

・Challenge:Rather than simply reading text aloud, we needed to reproduce **the nuances of the voice quality and speaking style** of real interviewers and create a natural voice with emotion.

・Ingenuity:[ElevenLabs' TTS API](https://elevenlabs.io/docs/models) was attractive because it allows high-quality voice cloning even from a small number of voice samples. However, the cloned voice sometimes had an unnatural intonation. Therefore, we fine-tuned the API parameters (such as stability and clarity settings) and repeated trial and error to achieve a more human-like, natural tone. It was particularly difficult to express certain emotions (for example, a voice tone that sounds a little surprised or a gentle tone that reassures).

3.Lip-sync and facial expression synchronization: Linking audio and images:

・Challenge:If the avatar's mouth does not move naturally and its facial expression does not change in accordance with the voice, the realistic voice will not be utilized. **We needed to eliminate the misalignment between audio and video and achieve natural lip-sync and facial expression changes**.

・Ingenuity:Here, we used the portrait animation technology [Sonic](https://jixiaozhong.github.io/Sonic/). This is an excellent technology that estimates mouth movements (viseme) from audio data and generates facial expression changes. We had some difficulty in tuning the performance of the part where the generated animation is applied to the avatar in real time, but in the end, we were able to achieve a fairly natural expression.

4.Understanding the true nature of candidates: text analysis with LLM:

・Challenge:It was necessary not only to transcribe the candidates' answers, but also to deeply understand their content and **accurately evaluate them in light of the company's desired personality and evaluation criteria.** It was necessary to read not only superficial keywords, but also the candidate's thought process and potential abilities.

・Ingenuity:This is the true value of LLM, but it was not enough to just use it as is. We specifically incorporated the company's evaluation criteria and desired abilities (e.g. logical thinking, communication skills, stress tolerance, etc.) into the prompts, and tuned them to analyze which parts of the candidate's answers correspond to which abilities. By setting multiple evaluation perspectives and conducting a multifaceted analysis, we aimed to achieve a more objective and reliable evaluation.

The Future of AI Interviewers: Further Evolution

Although the prototype was completed at this hackathon, we feel that there is still room for growth in the AI Interviewer. In the future, we would like to improve and strengthen the following points.

Smoother dialogue experience:We aim to achieve a dialogue level that is comparable to talking to a human by further shortening the waiting time for responses and by gaining a deeper understanding of the intention and emotions of the candidate's remarks.

Improved evaluation accuracy:By incorporating more evaluation indicators and developing evaluation models specialized for various industries and occupations, we will achieve even more accurate matching.

Pursuit of usability:We would like to lower the barrier to implementation by making the management screen for company personnel more intuitive and increasing customizability.

Security and privacy:Since we handle candidates' personal information and interview data, we will work on strengthening security and privacy protection as our top priority.

Finally

The "AI Interviewer" project was full of technical challenges, but it was a great pleasure to see the team come together to overcome the challenges and bring it to fruition. Nothing would make us happier than if this technology could help to solve even a small part of the recruitment issues faced by Japanese companies and make the recruitment process more efficient and fair.

JAPAN AI Research team will continue to challenge itself to create new value using AI technology.

Thank you for reading to the end!

⭐️JAPAN AI is looking for people to work with us!

株式会社ジーニー JAPAN AI の求人一覧hrmos.co