HNHiroyuki Nagai

Hiroyuki Nagai

*This is an algorithmically generated author record based on publicly available information.

Current Organizations / Institutes

The organizations/institutes from the scholar's latest article


Hiroyuki Nagai has a total of 5 co-authors. Here are the top co-authors by number of shared publications:


Latest Publications

  • Open Access

    Proposed new words and collective identity in human and language model agent groups

    by Kazuhiro Ito, Hiroyuki Nagai, Shoko Wakamiya, Eiji Aramaki

    Groups develop distinctive words even when ordinary expressions are sufficient. Such words can symbolize collective identity, and observational studies link language use to community attachment. We examined identity change in temporary groups of one human and four disclosed large language model (LLM) agents, comparing discussions with and without a neologism proposal across recruitment waves. We recruited 100 Japanese participants in two sequential waves; an agent proposed a new word only in the first wave. Mean collective identity change did not differ significantly between waves. Within the proposal wave, favorable ratings of the proposed word were associated with change in identity, but this association did not survive correction for multiple testing (adjusted $$p=0.229$$ ). The three-way interaction among recruitment wave, message count, and team impression had a nominal $$p=0.027$$ but did not survive correction (adjusted $$p=0.082$$ ). In a sensitivity analysis, the interaction was not significant after adjustment for midpoint identity (nominal $$p=0.078$$ ; adjusted $$p=0.624$$ ). The nonsignificant between-wave comparison and exploratory associations that did not survive correction, together with wave confounding and post-discussion evaluations, limit causal inference and motivate randomized studies with repeated measures to test whether proposed group language affects identification.

  • Open Access

    Toward Cross-Hospital Deployment of Natural Language Processing Systems: Model Development and Validation of Fine-Tuned Large Language Models for Disease Name Recognition in Japanese

    by Seiji Shimizu, Tomohiro Nishiyama, Hiroyuki Nagai, Shoko Wakamiya, Eiji Aramaki

    Background: Disease name recognition is a fundamental task in clinical natural language processing, enabling the extraction of critical patient information from electronic health records. While recent advances in large language models (LLMs) have shown promise, most evaluations have focused on English, and little is known about their robustness in low-resource languages such as Japanese. In particular, whether these models can perform reliably on previously unseen in-hospital data, which differs from training data in writing styles and clinical contexts, has not been thoroughly investigated. Objective: This study evaluated the robustness of fine-tuned LLMs for disease name recognition in Japanese clinical notes, with a particular focus on their performance on in-hospital data that was not included during training. Methods: We used two corpora for this study: (1) a publicly available set of Japanese case reports denoted as CR, and (2) a newly constructed corpus of progress notes, denoted as PN, written by ten physicians to capture stylistic variations of in-hospital clinical notes. To reflect real-world deployment scenarios, we first fine-tuned models on CR. Specifically, we compared a LLM and a baseline-masked language model (MLM). These models were then evaluated under two conditions: (1) on CR, representing the in-domain (ID) setting with the same document type, similar to training, and (2) on PN, representing the out-of-domain (OOD) setting with a different document type. Robustness was assessed by calculating the performance gap (ie, the performance drop from in-domain to out-of-domain settings). Results: The LLM demonstrated greater robustness, with a smaller performance gap in F 1 -scores (ID–OOD = −8.6) compared to the MLM baseline performance (ID–OOD = −13.9). This indicated more stable performance across ID and OOD settings, highlighting the effectiveness of fine-tuned LLMs for reliable use in diverse clinical settings. Conclusions: Fine-tuned LLMs demonstrate superior robustness for disease name recognition in Japanese clinical notes, with a smaller performance gap. These findings highlight the potential of LLMs as reliable tools for clinical natural language processing in low-resource language settings and support their deployment in real-world health care applications, where diversity in documentation is inevitable.