SEShusaku Egami

Shusaku Egami

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

Current Organizations / Institutes

The organizations/institutes from the scholar's latest article

Previous Organizations / Institutes

The organizations / institutes from the scholar's other articles in the past ten years


Shusaku Egami has a total of 53 co-authors. Here are the top co-authors by number of shared publications:


Latest Publications

  • Open Access

    Addressing Prompt Injection in Large Language Models via In-Context Learning

    by Go Sato, Shusaku Egami, Yasuyuki Tahara, Akihiko Ohsuga, Yuichi Sei

    While Large Language Models (LLMs) possess the capability to perform a wide range of tasks, security attacks known as prompt injection and jailbreaking remain critical challenges. Existing defense approaches addressing this problem face challenges such as the over-refusal of prompts that contain harmful vocabulary but are semantically benign, and the limited accuracy improvement in machine learning-based approaches due to the ease of distinguishing benign prompts in existing datasets. Therefore, we propose a multi-LLM agent framework aimed at achieving both the accurate rejection of harmful prompts and appropriate responses to benign prompts. Distinct from prior studies, the proposed method adopts In-Context Learning (ICL) during the learning phase, presenting a novel approach that obviates the need for computationally expensive parameter updates required by conventional fine-tuning. To demonstrate the proposed method’s capability for rapid and easy deployment, this study targets LLMs with insufficient alignment. In the experiments, macro-averaged binary classification metrics were used to comprehensively evaluate harmfulness detection. Experimental results using three LLMs demonstrated that the proposed method achieved performance that surpassed four baselines across all evaluation metrics for the target LLMs, evidencing significant effectiveness with an average improvement of 16.6 points in F1-score compared to the vanilla models. The significance of this study lies in the proposal of a novel approach based on ICL that does not require parameter updates. This framework offers high sustainability in practical deployment, as it allows for the adaptive enhancement of detection performance against continuously evolving attack methods solely through the accumulation of logs, without the necessity of retraining the LLM itself. By mitigating the trade-off between safety and utility, this research contributes to the implementation of robust LLMs.


  • Comparison of Metadata Representation Models for Knowledge Graph Embeddings

    by Shusaku Egami, Kyoumoto Matsushita, Takanori Ugai, Ken Fukuda


  • Open Access

    Empirical Analysis of Knowledge Representation for Anime Recommendation Using Graph Neural Networks

    by Yuki Saito, Shusaku Egami, Yuichi Sei, Tahara Yasuyuki, Akihiko Ohsuga

    In recent years, entertainment content, such as movies, music, and anime, has been gaining attention due tothe stay-at-home demand caused by the expansion of COVID-19. In the content domain, research in the field ofknowledge representation is primarily concerned with accurately describing metadata. Therefore, different knowledgerepresentations are required for applications in downstream tasks. In this study, we aim to clarify effectiveknowledge representation for predicting users’ latent preferences through a case study of an anime recommendationtask. We developed hypotheses from both quantitative and qualitative aspects on how to represent work knowledgeto improve recommendation performance, and verified them by changing the structure of knowledge representationaccording to the hypothesis. Initially, we constructed a Knowledge Graph (KG) by integrating domain-specific andgeneral-purpose data sources through the process of entity matching and imposing constraints on the properties.Subsequently, we constructed multiple KGs by varying the knowledge configuration. Specifically, we changed thecomposition of the data sources considered in the KG construction or excluded a triplet associated with an arbitraryproperty. After that, we fed the constructed KGs into the graph neural network recommender model and comparedthe recommendation performance. As a result, it was shown that the recommendation performance based on the KGcomposed of multiple data sources was the best, thus supporting the hypothesis from a quantitative aspect. Next,an ablation study on the properties revealed that knowledge characterizing the work itself contributed to the recommendationperformance, thus supporting the hypothesis from a qualitative aspect. Furthermore, we constructed atext-based KG by generating a new vocabulary from the “synopsis” text. It can describe the work’s storyline andworldview in more detail. We take it as an input to a Large Language Model (LLM) and extend the existing metadatabasedKG. The results showed that the KG considering both metadata and text had the best overall recommendationperformance, again confirming the hypothesis.

  • Open Access

    VHAKG: A Multi-modal Knowledge Graph Based on Synchronized Multi-view Videos of Daily Activities

    by Shusaku Egami, Takanori Ugai, Swe Nwe Nwe Htun, Ken Fukuda

    Multi-modal knowledge graphs (MMKGs), which ground various non-symbolic data (e.g., images and videos) into symbols, have attracted attention as resources enabling knowledge processing and machine learning across modalities. However, the construction of MMKGs for videos consisting of multiple events, such as daily activities, is still in the early stages. In this paper, we construct an MMKG based on synchronized multi-view simulated videos of daily activities. Besides representing the content of daily life videos as event-centric knowledge, our MMKG also includes frame-by-frame fine-grained changes, such as bounding boxes within video frames. In addition, we provide support tools for querying our MMKG. As an application example, we demonstrate that our MMKG facilitates benchmarking vision-language models by providing the necessary vision-language datasets for a tailored task.


  • Exploring Spatial Relation Awareness Through Virtual Indoor Environments

    by Swe Nwe Nwe Htun, Shusaku Egami, Takanori Ugai, Yijun Duan, Ken Fukuda

  • Open Access

    Synthetic Multimodal Dataset for Empowering Safety and Well-being in Home Environments

    by Takanori Ugai, Shusaku Egami, Swe Nwe Nwe Htun, Kouji Kozaki, Takahiro Kawamura, Ken Fukuda

    This paper presents a synthetic multimodal dataset of daily activities that fuses video data from a 3D virtual space simulator with knowledge graphs depicting the spatiotemporal context of the activities. The dataset is developed for the Knowledge Graph Reasoning Challenge for Social Issues (KGRC4SI), which focuses on identifying and addressing hazardous situations in the home environment. The dataset is available to the public as a valuable resource for researchers and practitioners developing innovative solutions recognizing human behaviors to enhance safety and well-being in

  • Open Access

    RDF-star2Vec: RDF-star Graph Embeddings for Data Mining

    by Shusaku Egami, Takanori Ugai, Masateru Oota, Kyoumoto Matsushita, Takahiro Kawamura, Kouji Kozaki, Ken Fukuda

    Knowledge Graphs (KGs) such as Resource Description Framework (RDF) data represent relationships between various entities through the structure of triples (< subject , predicate , object >). Knowledge graph embedding (KGE) is crucial in machine learning applications, specifically in node classification and link prediction tasks. KGE remains a vital research topic within the semantic web community. RDF-star introduces the concept of a quoted triple (QT), a specific form of triple employed either as the subject or object within another triple. Moreover, RDF-star permits a QT to act as compositional entities within another QT, thereby enabling the representation of recursive, hyper-relational KGs with nested structures. However, existing KGE models fail to adequately learn the semantics of QTs and entities, primarily because they do not account for RDF-star graphs containing multi-leveled nested QTs and QT–QT relationships. This study introduces RDF-star2Vec, a novel KGE model specifically designed for RDF-star graphs. RDF-star2Vec introduces graph walk techniques that enable probabilistic transitions between a QT and its compositional entities. Feature vectors for QTs, entities, and relations are derived from generated sequences through the structured skip-gram model. Additionally, we provide a dataset and a benchmarking framework for data mining tasks focused on complex RDF-star graphs. Evaluative experiments demonstrated that RDF-star2Vec yielded superior performance compared to recent extensions of RDF2Vec in various tasks including classification, clustering, entity relatedness, and QT similarity.