The NTCIR-18 MedNLP-CHAT task evaluates whether a medical chatbot's response to a patient's question carries medical, ethical, or legal risk. Our team, IMNTPU, built a multilingual risk-classification system combining fine-tuned small models, few-shot prompting with frontier LLMs, and agentic multi-model voting. We submitted 24 systems across all language tracks, the most of any participating team, and the paper won the Best Oral Presentation Award.
Classify whether a chatbot's response to a patient's question poses a medical, ethical, or legal risk.
Patient question + chatbot answer pairs, labeled with binary risk indicators; the Japanese set also includes subjective scores for fluency, helpfulness, and harmlessness.
Japanese and German source datasets, each professionally translated into English and French.
Prompt engineering across models, shot counts, and temperature settings, plus co-writing the paper's methodology section.
We submitted three systems across every language track, each built on a shared foundation of prompt-engineered LLMs and layered with a different aggregation strategy.
Picked the best-performing LLM by training-set accuracy, using three-shot prompting.
Four independent LLMs evaluate each case in parallel; the majority vote decides, with ties resolved by dropping the lowest-performing model's vote.
Each LLM outputs a 0–1 confidence score; the final decision is a weighted aggregation based on that model's demonstrated accuracy on the dev set.
Full conference poster — click to zoom
As part of the 5-person IMNTPU team led by Prof. Min-Yuh Day, I focused on the prompt engineering work behind our LLM-based systems.
Alongside the prompting-based systems, we fine-tuned a LLaMA 3.2 3B model directly on the MedNLP-2 Japanese and German datasets, then tested it under three configurations for the multilingual track.
The fine-tuned model alone, with no prompt examples.
Three-shot prompting layered on top of the fine-tuned model, using English examples.
Three-shot prompting with English, Japanese, and French examples together.
On Legal Risk assessment, the fine-tuned multilingual system reached a 0.576 Macro F1 on the Japanese dataset, ahead of the GPT-4o few-shot baseline's 0.456. Overall, though, fine-tuning's gains were limited by a small 212-sample training set, so few-shot prompting with larger LLMs generally performed better across the other risk categories.
First place in 7 of 8 subtasks on the MedNLP-CHAT multilingual risk assessment Joint Accuracy metric
The most of any participating team, across every language track
Medical, ethical, and legal risk, evaluated per response
Japanese and German source data, plus English and French translations
Awarded for the MedNLP-CHAT paper
Agentic voting improved decision consistency most on Ethical Risk, the most subjective of the three categories. Medical and Legal Risk, which follow more structured rules, gained less since a single well-prompted LLM already handled them well.
Higher-quality native-language annotations led to more consistent performance than the translated English and French tracks.
Some systems stayed highly confident even when wrong, showing that trust-weighted voting can amplify overconfidence rather than correct it.
We proposed a Trust-Guided Agentic AI architecture, adding self-consistency filtering, dynamic trust updating, and Chain-of-Thought reasoning, since formalized in a follow-up paper.
IMNTPU also submitted a second, separate paper to NTCIR-18's FinArg-2 task, led by teammate Bor-Jen Chen. All five of us are co-authors on both papers, but my own hands-on work was on the MedNLP-CHAT track above — the summary below covers what the team built for FinArg-2.
FinArg-2 focuses on temporal reasoning in financial statements from earnings calls and social media: given a claim, a model has to identify its temporal reference point and predict how long the statement stays valid.
BERT, RoBERTa, and DistilBERT for encoder-based approaches; GPT-4o Mini for decoder-based approaches.
Generated semantic variations of training examples to address class imbalance in the financial dataset.
Classified argument claims by their temporal reference points within financial contexts.
Combining fine-tuned models with prompt engineering, the team's FinArg-2 systems reached first place in key subtasks, demonstrating strong potential for financial semantic reasoning applications.
NTCIR-18 MedNLP-CHAT Task · Tokyo, Japan · June 2025
NTCIR-18 FinArg-2 Task · Tokyo, Japan · June 2025
NTCIR-18 FinArg-2 Task · Tokyo, Japan · June 2025
The IMNTPU team, from National Taipei University's Information Management program, advised by Prof. Min-Yuh Day.
Team Advisor
Team Captain
MedNLP-CHAT Vice Captain
Team Vice Captain
Team Member
關於 Yun 的作品集,直接問我