Next Article in Journal
A Flexible Solid-State Marx Modulator Module Based on Discrete Magnetic Coupling Drivers
Previous Article in Journal
High-Level K-Nearest Neighbors (HLKNN): A Supervised Machine Learning Model for Classification Analysis
Previous Article in Special Issue
Personalized Point-of-Interest Recommendation Using Improved Graph Convolutional Network in Location-Based Social Network
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Large Language Models as Recommendation Systems in Museums

by
Georgios Trichopoulos
1,*,
Markos Konstantakis
1,
Georgios Alexandridis
2 and
George Caridakis
1
1
Department of Cultural Technology and Communication, University of the Aegean, University Hill, 81100 Mytilene, Greece
2
Department of Digital Industry Technologies, National and Kapodistrian University of Athens, 34400 Psachna, Greece
*
Author to whom correspondence should be addressed.
Electronics 2023, 12(18), 3829; https://doi.org/10.3390/electronics12183829
Submission received: 19 July 2023 / Revised: 5 September 2023 / Accepted: 7 September 2023 / Published: 10 September 2023

Abstract

:
This paper proposes the utilization of large language models as recommendation systems for museum visitors. Since the aforementioned models lack the notion of context, they cannot work with temporal information that is often present in recommendations for cultural environments (e.g., special exhibitions or events). In this respect, the current work aims to enhance the capabilities of large language models through a fine-tuning process that incorporates contextual information and user instructions. The resulting models are expected to be capable of providing personalized recommendations that are aligned with user preferences and desires. More specifically, Generative Pre-trained Transformer 4, a knowledge-based large language model is fine-tuned and turned into a context-aware recommendation system, adapting its suggestions based on user input and specific contextual factors such as location, time of visit, and other relevant parameters. The effectiveness of the proposed approach is evaluated through certain user studies, which ensure an improved user experience and engagement within the museum environment.

Graphical Abstract

1. Introduction

The rapid advancement of artificial intelligence (AI) has led to various applications in different domains, including recommendation systems (RSs) [1,2,3,4]. These are software tools that assist their users in identifying content to suit their taste from a plethora of available options. They have been widely adopted in areas such as e-commerce and entertainment and play a crucial role in enhancing user experience by providing personalized suggestions, based on individual preferences and needs [5,6]. In the context of museums and cultural spaces, where visitors seek meaningful and engaging experiences, the utilization of advanced RSs can greatly contribute to their enjoyment and overall satisfaction [7,8].
Up until very recently, RSs in museums have been used to either suggest individual exhibits or specific routes to visitors [9], employing various methodologies, such as collaborative filtering, content-based filtering, and stereotyping. In the first case, recommendations are produced based on the content accessed by like-minded users, while, in the second case, the recommended content is similar to that already accessed by the user. In the last case, a “stereotype” is constructed for each visitor, either based on his/her characteristics (age, educational level, etc.) or produced via other means (e.g., answering questionnaires).
The advent of large language models (LLMs) has enhanced RSs by incorporating natural language understanding capabilities. LLMs can be trained on and analyze vast amounts of textual data available in museums, such as exhibit descriptions, relevant literature, and even external sources of information. In this way, they can model the museum space as a whole in a unified way and hopefully serve visitors by providing more accurate, rich, and context-aware recommendations, in ways similar to experienced human guides.
In light of the above, the current work focuses on the introduction of LLMs—more specifically, Generative Pre-trained Transformer 4 (GPT-4) [10], a knowledge-based LLM—as an RS for museum visitors. GPT-4, an evolution from previous models, possesses exceptional natural language processing capabilities and has the potential to offer valuable recommendations to museum visitors. However, as a language model, GPT-4 lacks inherent context awareness, which is essential in providing accurate and relevant recommendations in museum settings [11].
To address this limitation, the current study proposes the fine-tuning of GPT-4 through the incorporation of contextual information and user instructions during the training process. This fine-tuned version of GPT-4 becomes a context-aware recommendation system, capable of adapting its suggestions based on user input and specific contextual factors such as location, time of visit, and other relevant parameters. By considering context, the system aims to provide personalized recommendations that align with user preferences and desires, ultimately enhancing the overall museum experience.
The primary objective of this contribution is to evaluate the effectiveness of GPT-4 as a context-aware RS in the museum domain. This is achieved by a number of user studies, conducted to measure the system’s ability to provide accurate and relevant recommendations, as well as its impact on user engagement and satisfaction within the museum environment. Through these evaluations, the aim is to contribute to advancements in the field of personalized museum recommendations, ultimately benefiting both museum visitors and curators.
This rest of this paper is structured as follows. Section 2 provides an overview of the related work in the field of AI recommendation systems and discusses existing approaches in the cultural domain. Section 3 elaborates on the design of the MAGICAL system. Section 4 describes in detail the design of spaces that were used and the training methodology of the GPT-4 used in MAGICAL. A sample of the training data is also provided. Section 5 discusses the evaluation outcomes along with their implications. Finally, Section 6 concludes the paper by summarizing the findings and outlining future directions for research and implementation.

2. Related Work

Recommendation systems have been extensively studied and applied in various domains, including e-commerce, entertainment, and online platforms. However, their application in the context of cultural heritage (CH) and, more specifically, in museums is relatively new and presents unique challenges and opportunities. Moreover, in the last couple of years, the continuous development of GPT has brought about significant changes in various sectors, reshaping interactions with technology. Among the fields profoundly impacted by the advancements in GPT, CH research stands out prominently [12,13,14,15,16].
Agapiou et al. [17] explored the feasibility of using ChatGPT [18], an advanced AI LLM, in remote sensing archaeology. The primary objective was to gain insight into the potential applications of this new language model and understand its capabilities. The authors formulated specific questions based on their scientific expertise and research interests, which were then posed to ChatGPT. The RS model provided responses that appeared satisfactory, although it should be noted that they lacked the comprehensiveness typically achieved through traditional literature review methods.
Grieser et al. [19] focused on offering suggestions to museum visitors according to their past interactions within the museum’s physical space, as well as the textual information linked to each item they engaged with. The authors explored an approach to deliver these recommendations using a blend of language modeling techniques, geospatial analysis of the museum layout, and examination of historical sequences of locations visited by previous visitors. In this research, various methods of predicting visitor paths were examined and compared. The goal was to assess and analyze the effectiveness of these diverse methods for enhancing visitor experience.
Meanwile, Pu et al. [20] introduced a robust recommendation system based on the user’s location, aimed at suggesting the most captivating destinations as the user moves around. The system operates by considering both the user’s implied preferences and their current physical location, all without necessitating the user to overtly state their preferences or queries. The recommendation process involves identifying places within the physical position circle that also align with the mobile user’s implied preferences, as indicated by the virtual preference circle. To estimate the user’s implicit preferences, the authors employed a language modeling framework that took into account the user’s past visiting patterns. This approach aids in determining the user’s interests without requiring explicit input from them.
Also, another work [21] examined established museum chatbots and the platforms used to implement them. Additionally, it presented the outcomes of a systematic evaluation approach applied to both chatbots and platforms and introduced an innovative method for developing intelligent chatbots, specifically designed for museums. The said work prioritized the utilization of graph-based, distributed, and collaborative multi-chatbot conversational AI systems within museum environments. It highlighted the significance of knowledge graphs as a key technology, enabling chatbot users to access a vast amount of information while fulfilling the need for machine-understandable content in conversational AI. Furthermore, the proposed architecture aimed to provide an efficient deployment solution by employing distributed knowledge graphs that could facilitate knowledge sharing among collaborating chatbots, when necessary, as a valuable RS.
Finally, the implementation of an interactive AI RS device, powered by a robust database management system, has been tailored to cater to the distinct needs of various cultural tourists, thereby increasing visitor satisfaction and promoting deeper engagement with the exhibits [22]. Additionally, leveraging data analysis and learning algorithms, AI technology delves into the underlying cultural values, providing valuable insights and inspiration for designing exhibition content, thereby facilitating the digital transformation of museums. Through experimental research, this study demonstrates that the integration of an interactive AI device, based on a database management system, significantly improves the accuracy of the exhibition experience, enhances the effectiveness of voice guidance, streamlines visitor flow management, and incorporates an intelligent RS.
The aforementioned studies provide valuable insight into the development and evaluation of RSs in the museum domain. However, the utilization of GPT-4 as a context-aware RS in museums, as proposed in this paper, represents a novel contribution that combines the strengths of knowledge-based models and fine-tuning techniques to provide personalized and contextually relevant recommendations.

3. MAGICAL as a Recommendation System

MAGICAL (Museum AI Guide for Augmenting Cultural Heritage with Intelligent Language model) [12] is a system based on GPT-4 that acts as a digital tour guide in museums. It uses the capabilities of the language model to compose texts and create dialogues with the visitor. For this purpose, the language model must be trained for use in a specific museum or a specific exhibition and be provided with all data necessary to take on the role of the expert. It maintains the style of speech given to it as instruction, can respond in many languages, always remains polite, and avoids any racial, religious, or other discrimination. It can create narratives with real or fictional characters to engage the visitor emotionally, and evaluation has shown that it is able to create recommendations.
In the current work, the objective is to enhance MAGICAL and turn it into a smart RS, providing it with knowledge related to the museum space: the arrangement of objects, their relative position and distance, their topic, the time each visitor is expected to spend at each object, etc. Additional details about each exhibit (descriptions, stories surrounding it (either real or imaginary), dates, information about the creator, etc.) are also supplied to the system in an effort to transfer the knowledge and experience of someone who knows the space and the exhibits very well. Then, the performance of the enhanced system can be measured based on whether it can correlate visitors’ choices with the experience it has accumulated, recommending next steps and keeping the user motivated.
The evaluation of the proposed approach is performed on a virtual (not in the sense of a digital version of an existing museum, but rather a totally fictional one) museum of contemporary art specifically designed for this purpose. The virtual museum considered in the framework of the current work has been labeled as the “Metamorphosis Museum of Modern Art” (MMMA) and is placed in Athens, Greece. The architectural design of its spaces, the distances from various reference points, and the ways to change floors are provided to GPT-4, along with possible places to rest, places to eat and drink, toilets, the museum shop, the cloakroom, and lockers. Moreover, places with digital screens with directions and navigation maps are also provided.
Although there is a wealth of existing literature related to the design of a museum, and a virtual museum in particular [23,24,25,26,27,28], in the current work, no specific methodology has been selected. The reasons for not adhering to existing design practices can be summarized in the following points: (i) it is desired for the LLM to work and be able to perform outside of any form of known museum design rules; (ii) the specific virtual museum will not be accessible to visitors; (iii) at this stage, the objective is to assess the LLM’s ability to learn about the designed museum in detail, so that it can then recommend the next exhibit or route.
Two- and three-dimensional diagrams of MMMA [29] have been designed with the help of the planner5d tool [30], and the same software has been used to create the floor plan [31]. Using the diagram, one can navigate through the museum’s space and understand its layout, the relative distances between points, and the ways of proceeding from one floor to another, and can judge whether GPT-4 gives correct navigation instructions to the visitor. The design of the museum is kept minimalistic, as the detailed design of spaces and exhibits is not the goal of this project. Also, from an architectural point of view, it is possible that certain design errors exist in the building, as it is used for evaluation purposes and does not depict an actual place. Therefore, throughout the design of the project, whether on purpose or not, the application of a specific method of setting up the museum, the architectural rules, and reference to existing works of art have been avoided. It was determined that GPT-4 should have no previous connection with the site and the exhibits, only relying on it being trained from scratch.

4. Methodology

After laying out the key components of MAGICAL in the previous section, this section proceeds in reasoning about the blueprints of the museum at hand, as well as LLM training, which entails the model’s learning of all the museum’s spaces and exhibits.

4.1. The Design of Space

As the language model cannot provide instructions for places outside of the museum, MMMA’s exact location in Athens, Greece is not necessary to be specified. However, its interior layout must be provided to the LLM and it consists of three different levels, as follows:
Ground floor
1.
Entrance Hall: Create an immersive and welcoming experience with interactive installations or digital artworks that introduce visitors to the museum’s theme of metamorphosis;
2.
Temporary Exhibitions: Feature rotating exhibitions that highlight contemporary artists, emerging art movements, or thematic explorations. This space can be versatile and adaptable to accommodate different art forms, such as paintings, sculptures, installations, photography, or new media. Two rooms were designed and named Temporary Exhibitions A and Temporary Exhibitions B;
First floor
1.
Modern Painting Gallery: Display a collection of modern paintings from various styles and periods, showcasing the evolution of techniques, styles, and subject matter in modern art;
2.
Sculpture Garden: Sculptures or 3D models of sculptures can be exhibited, allowing visitors to explore different forms, materials, and concepts in modern sculpture;
3.
Video and Digital Art: Create a space dedicated to video installations, digital art, and multimedia presentations. This floor can feature immersive video projections, interactive installations, and digital artwork that push the boundaries of technology and artistic expression;
Second floor
1.
Art Installation: Showcase immersive and large-scale installations that engage the senses and challenge traditional notions of art. These installations can explore themes of transformation, identity, and societal change;
2.
Art Performance Space: Offer a stage for live or recorded performances, including dance, theater, or experimental art forms that blur the boundaries between different art disciplines;
3.
Experimental Gallery: This floor can feature unconventional and boundary-pushing art forms, such as conceptual art, participatory art, or interactive experiences that invite visitors to engage with the artwork.
Figure 1 shows a visual representation of the ground floor with numbered spaces, whose descriptions are summarized in Table 1. Looking at this floor plan, the Entrance and Exit (left in the picture) have been set to be West and, therefore, the long sides of the rectangular building are to the North and South. To train the language model on the design of the specific floor, 30 text sentences or small paragraphs have been used that describe each room individually, the exhibits, and museum operating rules, as well as providing general descriptions, instructions for visitors, distance measurements, etc. Sentences are of varying length. Before these descriptions, there are 12 additional long sentences as general instructions for the whole building, the name and location of the museum, its purpose, and the role of the system itself as a “helpful museum guide who works at MMMA and provides personal guidance and recommendations, according to the visitor needs and the distances involved”.
GPT-4 has been presented as a multimodal AI system with the ability of recognizing image content and describing it with text [10]. When this feature was publicly released for a short period of time, some short tests were performed in the framework of the current work that did exhibit the ease of the model in describing even complex images. However, as of this writing, this feature is no longer available in the developer API, so it was not possible to test the automatic description of images. This would be a feature that would allow a much faster, and perhaps more accurate, model training, directly from the floor plan images.
Figure 2 offers a visual representation of the first floor, with spaces being numbered and described in Table 2. First floor descriptions consist of 24 sentences that are provided to the model during training. They include information about the architecture (size of rooms, distances, places of entrance and exits, windows, etc.), the exhibits, the creators, and more general instructions on how to move around the space. Personal information and stories about the creators of the exhibits are also given. As discussed before, these are non-existent persons and, thus, their stories are works of fiction. Also, a more general story, of a humorous nature, is provided to examine whether the language model will use it in its dialogues. In this story, an attempt of a famous hacker to break into the server area, where entry to the public is prohibited, to steal museum data is narrated.
Finally, Figure 3 contains a visual representation of the second floor and Table 3 accommodates short descriptions for each area. A total of 41 sentences or paragraphs have been used to describe the second floor. The reason for having more instructional texts here is that 15 contemporary art objects found in the Experimental Gallery room have been detailed. Each of these objects was given a name, a description, and some information about their creator. Accordingly, for the other two main areas of the floor, it was considered that there was an event that was running or starting later on the current day, and descriptions were provided for the titles of the events and their creators.
In the Art Installations room, an interactive projection has been placed, called “Digital Realmscape: A Multisensory Journey”. In this area, there are screens where users can interact with the space; at the same time, there are video projectors displaying content throughout the room. The Art Installation is equipped with a smart floor which can sense the presence, location, and number of visitors, and the projected content is changing accordingly. In the Art Performance Space, a concert has been scheduled at the venue, which starts at a specific time on the current day. The system is given details about the concert, artist, and genre and can handle any query. Details about the space, the equipment within, distances, and routes for toilets, stairs, and other areas are also encoded in the system.

4.2. Model Training

As is already evident from the preceding section, this particular project entails the existence of a museum with exhibits. However, the involvement of an actual museum with real exhibits has not been considered for the following reasons:
1.
Ideally, MAGICAL should be able to function for any museum, even for those not included in the training data of GPT-4;
2.
The involvement of an actual museum in this planning phase would have been accompanied by delays due to various practical reasons (meetings with the curators, organizing and ingesting museum literature which may not be in digital form, etc.).
Thus, for the sake of simplicity, speed, and confirmation of the system’s own capabilities, it was decided to design an imaginary museum space.
The museum premises, consisting of three floors, were originally designed on paper, where the number and shape of the rooms, the design of the corridors, the stairs, the placement of the elevator, the location of the toilets, the shops, and the reception area were decided upon. Then, these rooms were filled with fictional exhibits and the space was made functional, visitor friendly, and easy to visit without being tedious. A name and a theme were given to the museum; it was geographically placed somewhere in Athens, Greece. The generated, fictional exhibits were given names and descriptions, dates of creation, artists’ names, artists’ information, and historical information.
In the next design phase, a free online floor planning was employed, which allowed us to publish the design. Within this tool, the drawings were transferred from paper to digital form and details that had not been calculated or planned earlier (the shape and position of windows, the exact location for entrances and exits to each room, objects such as sofas, plant pots, rugs, lamps, etc.) were added, without making the diagram too detailed.
After the creation of the museum space was completed, GPT-4 had to learn about everything a curator and tour guide would know. As a large amount of information had to be ingested by the LLM, a protocol had to be followed so that data were not omitted, repeated, or overlapped. Inconsistencies, ambiguities, and incomplete information had to be avoided.
Figure 4 describes the categorization of the sentences used to train the language model. Sentences about the building, the exhibits, and various narratives were used, as described below. The first sentence defined the role of the model:
“role”: “system”, “content”: “You are a helpful museum guide working in the Metamorphosis Museum of Modern Art (MMMA) in Athens Greece. You are going to be a personal guide and recommender according to the needs of the visitor and the distances involved. Your name is Eva.”
It is essential for the training protocol of GPT-4 to be assigned a role before being given any other instruction. The building was initially divided into departments (for easier management) and, in our example, each department was a floor. For each floor, there were instructional sentences that could fit into one of the six defined sub-categories:
  • Architectural Elements:
    -
    “role”: “assistant”, “content”: “There are 3 floors. Ground Floor is the Entrance Hall and Temporary Exhibitions. First Floor is the Modern Painting Gallery, the Sculpture Garden and the Video and Digital Arts Installation. Second Floor is the Art Installation Room (AIR), the Art Performance Space (APS) and the Experimental Gallery.”;
    -
    “role”: “assistant”, “content”: “The stairs and elevators room is rectangular 7.5 m by 5 m. The elevator and stairs room has an open ceiling and the roof of the building can be seen.”
  • Orientation (North, South, East, West):
    -
    “role”: “assistant”, “content”: “The MMMMA building is rectangular, with the longest sides facing the North and the South, while the shortest sides face East and West”;
    -
    “role”: “assistant”, “content”: “The toilets are located on the North-West corner of the building. The toilets are identical on all floors, on the same place.”
  • Distance calculations:
    -
    “role”: “assistant”, “content”: “The Art Performance Space is the third and last room to find when going on the second floor. Its first entrance is 35 m away from the elevators.”;
    -
    “role”: “assistant”, “content”: “There is a toilet on the second floor, in the exact same area as in every other floor. The entrance for the toilet is 35 m away from the stairs.”
  • Entrances and Exits:
    -
    “role”: “assistant”, “content”: “The Experimental Gallery has a single entrance and exit at its north side.”;
    -
    “role”: “assistant”, “content”: “The entrance of the museum is on the West side of the building. There are two big opening doors for the visitors entering the space and two big doors used for the exit.”
  • Instructions inside floor:
    -
    “role”: “assistant”, “content”: “As the main corridor of the ground floor is Π -shaped, the edges of the corridor are longer. One of the sofas can be found on the eastern part of the main corridor where there is the biggest opening.”;
    -
    “role”: “assistant”, “content”: “When visitors enter, they are in the Entrance Hall. In front of them there are two reception desks and usually 6 employees are working there, assisting people and selling tickets.”
  • General Information:
    -
    “role”: “assistant”, “content”: “Entrance to the museum offices is prohibited for visitors.”;
    -
    “role”: “assistant”, “content”: “MMMA is wheelchair and pushchair accessible.”
For administrative reasons, exhibits were grouped into either exhibitions or collections. For each collection, the instructional sentences could fit in one of three sub-categories:
  • Title–Description–Date:
    -
    “role”: “assistant”, “content”: “In the Experimental Gallery visitors can find the exhibit called Silent Grace. It is a life-sized bronze sculpture of a majestic deer, captured mid-stride, exuding a sense of elegance and tranquility. It was crafted in 2012.”;
    -
    “role”: “assistant”, “content”: “In the Experimental Gallery visitors can find the exhibit called Earthen Impressions. They are pottery pieces, each displaying unique textures and organic shapes, celebrating the beauty and artistry found in the marriage of clay and fire. It was crafted in 2017.”
  • Artist Information:
    -
    “role”: “assistant”, “content”: “The creator of Digital Realmscape is Lucas Santiago (Age: 32, Country of Birth: Brazil). Lucas Santiago is a visionary multimedia artist known for his innovative approach to merging technology and art. With a background in interactive installations, Lucas has created groundbreaking experiences that blur the boundaries between the digital and physical realms. His passion for creating immersive environments that engage and inspire audiences shines through in the Digital Realmscape: A Multisensory Journey art installation.”;
    -
    “role”: “assistant”, “content”: “In the Experimental Gallery visitors can find the exhibit called Wheels of Freedom. The creator is Alessandro Bianchi (Age: 41, Country of Birth: Italy).”
  • General Information:
    -
    “role”: “assistant”, “content”: “Theatrical and musical performances is something common for the Art Performance Space.”;
    -
    “role”: “assistant”, “content”: “The Art Installation has interactive projectors that can cover the room completely. The sound is high quality surround.”
In addition to the above, it would be useful for guests to hear stories related to their experience in the museum. GPT-4 received so much data that it could create narratives on its own, but it could be guided into our own narratives about the museum, the exhibits, and their creators, which would make a visit more interesting. Thus, for evaluation purposes, some sentences were added that told fictional narratives, which, in turn, could be categorized into three sub-categories:
  • Narratives about facilities and happenings:
    -
    “role”: “assistant”, “content”: “Once, somebody tried to enter the Data Center but he was arrested for espionage. Later on it appeared that this man was a famous systems hacker.”;
    -
    “role”: “assistant”, “content”: “The piano in the Art Performance Space is a special handcrafted piano, created by the Greek manufacturer Panos Ioannidis, and it is famous for its quality and sound.”;
    -
    “role”: “assistant”, “content”: “At the Art Performance Space, today at 7:00 p.m. there is a live concert by Markos Konstantakis, a Greek folk musician and singer.”
  • Narratives about exhibits:
    -
    “role”: “assistant”, “content”: “Description for the audience of Digital Realmscape is: Embark on a transformative voyage through the ’Digital Realmscape’, an immersive art installation that blends technology and imagination. Interact with eight interactive screens that respond to your touch, showcasing mesmerizing visual narratives. The smart floor detects your presence, shaping the experience as you navigate the digital landscapes. Surround yourself with stunning visuals and enveloping sound, as you become an active participant in this captivating multisensory journey.”;
    -
    “role”: “assistant”, “content”: “In the Experimental Gallery visitors can find the exhibit called Pedal Dreams. It is a whimsical baby bicycle, adorned with colorful patterns and symbols, evoking a sense of nostalgia and the simplicity of childhood joys. This exhibit was previously on display at the Guggenheim Museum, where there was a failed attempt to steal it.”
  • Narratives about artists:
    -
    “role”: “assistant”, “content”: “Inside the Video and Digital Arts, the interactive videos were created by a Greek artist called John Aliprantis. John is 35 years old, he comes from Paros Greece and this is his first public exhibition. John stated in an interview in the past few days that he is particularly happy that his works are being presented at the MMMA.”;
    -
    “role”: “assistant”, “content”: “Inside the Video and Digital Arts, the music is changing automatically according to the visitors’ behavior in the room. The music is composed by George Trichopoulos, a Greek musician, aged 51. George has gained 5 Grammy awards in his career.”
In total, approximately 170 sentences were used to guide the language model in relation to the museum and its exhibits. Every time a user initiated dialogue with the system, all data were ingested into GPT-4. The system then stepped into its role and supported the dialogue very well. If the answer to a question did not seem correct, it further evaluated whether the language model had given wrong instructions or no instructions at all (in relation to the question).

5. Primary Evaluation

The LLM would require a lot of data about the museum’s operation in order to function as a RS. OpenAI’s language models process textual information in the form of tokens [32], which are data units that roughly correspond to one syllable of a word. This mapping is not always accurate, as popular words may “occupy” one token, while infrequent words may be assigned a token even on the letter level. In earlier versions of GPT, there was a limit of using/sending up to 4096 tokens per conversation. Even though this number is considered to be sufficient for small-scale applications and simple experiments, in the case of MAGICAL, more than 18,000 tokens are estimated to be exchanged during each dialog. In cases of errors, new sentences with instructions to the model have to be formed and the number of tokens needs to be increased further.
The language model exhibited satisfactory results in the evaluation experiments, working as expected. It gave wrong answers sometimes, but this behavior is attributed to contradictions or deficiencies in the instructions. The response language did not present any syntactical or grammatical errors. Even though English was the language most commonly used, it is very easy to switch to another language. In this context, Greek was used as the second language during evaluation, but the model presented some small weaknesses in this case, predominately in the use of the language. There were minor syntactical and semantic errors, as the model actually works in English and then translates to other languages.
A particularly positive impression is the fact that the model can answer questions for which it has not been previously trained. Figure 5 displays the graphical interface of the system under development, while the quoted text below presents the dialogue in one of the evaluation experiments. The system correctly answers questions regarding directions to the area and then it is asked whether the museum’s gift shop is expensive. The returned answer is completely logical and correct, despite the fact that it was not included in the training data. The previous question related to this dialogue was “What metamorphosis means?”. Here again, the system had not been given any relevant instructions and responded on its own, contextually.
You: Hello
Guide: Hello! Welcome to the Metamorphosis Museum of Modern Art. How may I assist you today?
You: I am standing at the entrance, How far is the toilet?
Guide: The toilets are very conveniently located close to the entrance. You can find them on your left hand side, just around 15 m away. They are clearly marked, but if you need any further assistance, please feel free to ask. Enjoy your visit at the MMMA!
You: Where is the cloakroom?
Guide: The cloakroom is next to the toilets, which are on your left after entering the building. The cloakroom is not far at all, about 20 m away from the entrance. It’s here where you may leave your personal belongings before starting your museum tour. Enjoy your visit!
You: I cannot see a cafeteria. Is there anywhere I can eat?
Guide: Yes, there is a cafeteria in the museum! It’s located on the ground floor, towards the opposite end from the entrance. The main corridor leads directly to it. If you follow the corridor eastwards past the cloakroom, museum offices, staircase, and gift shop, you will eventually reach the cafeteria. It’s approximately 50 m away from the entrance. Here, you can have a snack or enjoy a hot or cold beverage. Let me know if you need further directions!
You: I can see the gift shop. What I could find there?
Guide: In our gift shop, you will find a wide selection of items that make perfect souvenirs or gifts. We offer reproductions and postcards of famous artworks from our collection, art books, posters, as well as unique, artistic gifts such as jewelry, design objects, and artistic crafts. You will also find educational materials and children’s games. Whether you are a casual visitor or an art connoisseur, you are sure to find something to remember your visit at the Metamorphosis Museum of Modern Art. The gift shop is located just a short walk from where you are, next to the stairs and elevators. Enjoy your browsing!
You: What metamorphosis means?
Guide: Metamorphosis refers to a significant change or transformation, often indicating a process of evolution or growth. In the context of the Metamorphosis Museum of Modern Art, “metamorphosis” suggests the ever-changing and explorative nature of modern and contemporary art. The museum’s collections just as the theme of many exhibits display the transformation of styles, ideas, and artistic medium over time. As visitors move through the museum, they are encouraged to consider how art and the world around us are in a state of continuous metamorphosis.
You: Is the gift shop expensive?
Guide: Our gift shop offers a range of items at various price points, catering to different budgets. You can find inexpensive souvenirs like postcards, magnets, and small prints which are quite affordable. There are also more premium items such as art books, jewelry, and design objects that come at a higher cost. Our aim is to offer quality and affordability, ensuring there’s something for everyone who wants to take a piece of their museum experience home.
Another positive aspect of the model is that it could combine data to produce insights. In one example, assuming that the visitor was on the second floor and inside a room, the question “how far is the exit of the museum?” was asked. The instructions received by the system during its training concerned each floor separately. The model added the distances from the visitor’s point to the elevator, calculated the time to the first floor, and added the distance from the elevator to the exit on the ground floor before giving the correct answer.
Using the protocol proposed in [33], some complete dialogues with the system have been recorded in the Supplementary Text File “Conversation with MAGICAL”. As general additional remarks on these dialogues, we can observe the following:
  • Accidental spelling mistakes by the user do not affect the dialog. For example, the authors ask the system “What Metamorphisis stands for?” instead of using the word metamorphosis. This does not confuse the system and does not affect its response. Even if there are multiple spelling errors in a sentence, the system continues to respond. In the final dialogue provided, all questions contain grammar and syntax errors to test the robustness of the system. Additionally, the dialogue switches from English to French, Greek, and, finally, Italian, always with misspellings, but this does not seem to affect system performance;
  • The system never provides a response that contradicts the instructions it has received. Conversely, when it has not been instructed about something being asked, it connects information and prior knowledge and then provides answers in a completely logical way. For example, in one dialogue it was asked: “Is it allowed to capture video inside the AIR?”. The model has been instructed about the meaning of the initials AIR, which is just a room in the museum, but it was never given any instruction about whether filming or photo-shooting is allowed inside the museum. The answer it came up with is, “Yes, you are allowed to take photos and videos inside the Art Installation Room (AIR) for personal use only, not for commercial purposes. However, we strongly advise our visitors to experience and enjoy the exhibit rather than focusing on capturing it on their devices. Also, please remember to be respectful to other visitors who are also experiencing the exhibit. Thank you for your understanding and enjoy your visit!”. Thus, the model not only manages to answer questions that it theoretically does not know, but also reaches the point of giving positive advice for a better visit experience.
Model training cost for a particular application is highly dependent on the employed GPT version. The newest version (GPT-4, as of this writing) exhibits a tenfold improvement in the required cost, while training the model for a new domain is relatively easy. As described above, a methodology has been created for training the model so that it can be easy to transfer the application to any space, cultural or not. During the first tests, authors anticipated the functionality of the application, its robustness to errors, and its ability to function as a real RS. User evaluation in an actual museum space is within the scope of future plans, in order to evaluate user reactions and estimate user experience.

6. Conclusions

Large language models are still unexplored for use in areas such as cultural heritage. They exhibit rapid development and even greater possibilities. GPT-4 is a text composition system that shows great flexibility. Although it is trained on a huge amount of data, it can be guided with great ease and take on various roles for applications in the fields of cultural heritage, education, tourism, video games, etc. In the experiments, it was demonstrated that it could be transformed into a very informative recommendation system, making natural language dialogues and even answering complex questions. This project is the continuation of a set of research applications related to GPT-4 [12] and, as a following step, voice command integration will be added. Communication with MAGICAL is carried out in natural language (oral form), without the use of screens. Once the application reaches its final form, it is expected to be tested in a real museum, for evaluation using visitors.

Supplementary Materials

The following supporting information can be downloaded at: https://www.mdpi.com/article/10.3390/electronics12183829/s1, Supplementary Text File: Conversation with MAGICAL.

Author Contributions

Conceptualization, G.T.; methodology, G.T.; software, G.T.; validation, G.T., M.K. and G.A.; formal analysis, G.T.; investigation, G.T.; resources, G.T.; data curation, G.T. and G.C.; writing—original draft preparation, G.T. and M.K.; writing—review and editing, G.T., M.K. and G.A.; visualization, G.T.; supervision, G.C.; project administration, G.T. and M.K.; funding acquisition, M.K. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Data Availability Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

Abbreviations

The following abbreviations are used in this manuscript:
AIArtificial Intelligence
APIApplication Programming Interface
CHCultural Heritage
GPTGenerative Pre-trained Transformer
LLMLarge Language Model
MAGICALMuseum AI Guide for Augmenting Cultural Heritage with Intelligent Language model
MMMAMetamorphosis Museum of Modern Art
RSRecommendation System
VRVirtual Reality

References

  1. Zhang, Q.; Lu, J.; Jin, Y. Artificial intelligence in recommender systems. Complex Intell. Syst. 2021, 7, 439–457. [Google Scholar] [CrossRef]
  2. Fayyaz, Z.; Ebrahimian, M.; Nawara, D.; Ibrahim, A.; Kashef, R. Recommendation systems: Algorithms, challenges, metrics, and business opportunities. Appl. Sci. 2020, 10, 7748. [Google Scholar] [CrossRef]
  3. Yenduri, G.; Ramalingam, M.; Chemmalar Selvi, G.; Supriya, Y.; Srivastava, G.; Maddikunta, P.K.R.; Deepti Raj, G.; Jhaveri, R.H.; Prabadevi, B.; Wang, W.; et al. GPT (Generative Pre-trained Transformer)—A Comprehensive Review on Enabling Technologies, Potential Applications, Emerging Challenges, and Future Directions. arXiv 2023, arXiv:2305.10435v2. [Google Scholar]
  4. Konstantakis, M.; Christodoulou, Y.; Aliprantis, J.; Caridakis, G. ACUX recommender: A mobile recommendation system for multi-profile cultural visitors based on visiting preferences classification. Big Data Cogn. Comput. 2022, 6, 144. [Google Scholar] [CrossRef]
  5. Khanal, S.S.; Prasad, P.; Alsadoon, A.; Maag, A. A systematic review: Machine learning based recommendation systems for e-learning. Educ. Inf. Technol. 2020, 25, 2635–2664. [Google Scholar] [CrossRef]
  6. Renjith, S.; Sreekumar, A.; Jathavedan, M. An extensive study on the evolution of context-aware personalized travel recommender systems. Inf. Process. Manag. 2020, 57, 102078. [Google Scholar] [CrossRef]
  7. Alexandridis, G.; Chrysanthi, A.; Tsekouras, G.E.; Caridakis, G. Personalized and content adaptive cultural heritage path recommendation: An application to the Gournia and Çatalhöyük archaeological sites. User Model. User-Adapt. Interact. 2019, 29, 201–238. [Google Scholar] [CrossRef]
  8. Konstantakis, M.; Alexandridis, G.; Caridakis, G. A personalized heritage-oriented recommender system based on extended cultural tourist typologies. Big Data Cogn. Comput. 2020, 4, 12. [Google Scholar] [CrossRef]
  9. Pavlidis, G. Recommender systems, cultural heritage applications, and the way forward. J. Cult. Herit. 2019, 35, 183–196. [Google Scholar] [CrossRef]
  10. Huang, H.; Zheng, O.; Wang, D.; Yin, J.; Wang, Z.; Ding, S.; Yin, H.; Xu, C.; Yang, R.; Zheng, Q.; et al. ChatGPT for Shaping the Future of Dentistry: The Potential of Multi-Modal Large Language Model. arXiv 2023, arXiv:2304.03086. [Google Scholar] [CrossRef]
  11. Siu, S.C. ChatGPT and GPT-4 for Professional Translators: Exploring the Potential of Large Language Models in Translation. SSRN 2023, 4448091. [Google Scholar] [CrossRef]
  12. Trichopoulos, G.; Konstantakis, M.; Caridakis, G.; Katifori, A.; Koukouli, M. Crafting a Museum Guide Using ChatGPT4. Big Data Cogn. Comput. 2023, 7, 148. [Google Scholar] [CrossRef]
  13. Hazan, S. The Dance of the Doppelgängers: AI and the cultural heritage community. In Proceedings of the EVA London 2023, London, UK, 10–14 July 2023; BCS Learning & Development: London, UK, 2023; pp. 77–84. [Google Scholar] [CrossRef]
  14. Hettmann, W.; Wölfel, M.; Butz, M.; Torner, K.; Finken, J. Engaging Museum Visitors with AI-Generated Narration and Gameplay. In Proceedings of the International Conference on ArtsIT, Interactivity and Game Creation, Faro, Portugal, 21–22 November 2022; Springer: Cham, Switzerland, 2022; pp. 201–214. [Google Scholar]
  15. Bongini, P.; Becattini, F.; Del Bimbo, A. Is GPT-3 All You Need for Visual Question Answering in Cultural Heritage? In Proceedings of the European Conference on Computer Vision, Tel Aviv, Israel, 23–27 October 2022; Springer: Cham, Switzerland, 2022; pp. 268–281. [Google Scholar]
  16. Mann, E.; Dortheimer, J.; Sprecher, A. Toward a Generative Pipeline for an AR Tour of Contested Heritage Sites. In Proceedings of the 2022 IEEE International Conference on Artificial Intelligence and Virtual Reality (AIVR), Virtual, 12–14 December 2022; pp. 130–134. [Google Scholar] [CrossRef]
  17. Agapiou, A.; Lysandrou, V. Interacting with the Artificial Intelligence (AI) Language Model ChatGPT: A Synopsis of Earth Observation and Remote Sensing in Archaeology. Heritage 2023, 6, 4072–4085. [Google Scholar] [CrossRef]
  18. OpenAI. GPT-4 Technical Report. arXiv 2023, arXiv:2303.08774. [Google Scholar]
  19. Grieser, K.; Baldwin, T.; Bird, S. Dynamic path prediction and recommendation in a museum environment. In Proceedings of the Workshop on Language Technology for Cultural Heritage Data (LaTeCH 2007), Prague, Czech Republic, 28 June 2007; pp. 49–56. [Google Scholar]
  20. Pu, Q.; Lbath, A.; He, D. Location based recommendation for mobile users using language model and skyline query. Int. J. Inf. Technol. Comput. Sci. 2012, 4, 19–28. [Google Scholar] [CrossRef]
  21. Varitimiadis, S.; Kotis, K.; Pittou, D.; Konstantakis, G. Graph-based conversational AI: Towards a distributed and collaborative multi-chatbot approach for museums. Appl. Sci. 2021, 11, 9160. [Google Scholar] [CrossRef]
  22. Cai, P.; Zhang, K.; Pan, Y. Application of AI Interactive Device Based on Database Management System in Multidimensional Design of Museum Exhibition Content. Res. Sq. 2023, preprint. [Google Scholar] [CrossRef]
  23. Baloian, N.; Biella, D.; Luther, W.; Pino, J.; Sacher, D. Designing, Realizing, Running, and Evaluating Virtual Museum—A Survey on Innovative Concepts and Technologies. JUCS J. Univers. Comput. Sci. 2021, 27, 1275–1299. [Google Scholar] [CrossRef]
  24. Bannon, L.; Benford, S.; Bowers, J.; Heath, C. Hybrid design creates innovative museum experience. Commun. ACM 2005, 48, 62–65. [Google Scholar] [CrossRef]
  25. Vermeeren, A.; Calvi, L.; Sabiescu, A.; Rocchianesi, R.; Stuedahl, D.; Giaccardi, E.; Radice, S. Future Museum Experience Design: Crowds, Ecosystems and Novel Technologies. In Museum Experience Design; Springer: Cham, Switzerland, 2018; pp. 1–16. [Google Scholar] [CrossRef]
  26. Falco, F.D.; Vassos, S. Museum Experience Design: A Modern Storytelling Methodology. Des. J. 2017, 20, S3975–S3983. [Google Scholar] [CrossRef]
  27. Kropf, M.B. The Family Museum Experience: A Review of the Literature. J. Mus. Educ. 1989, 14, 5–8. [Google Scholar] [CrossRef]
  28. Besoain, F.; Jego, L.; Gallardo, I. Developing a Virtual Museum: Experience from the Design and Creation Process. Information 2021, 12, 244. [Google Scholar] [CrossRef]
  29. MMMA—Planner 5D. Available online: https://planner5d.com/v?key=ea74afb24ba2f7af46509dbce0a9a412&viewMode=2d (accessed on 19 July 2023).
  30. Planner 5D: House Design Software|Home Design in 3D. Available online: https://planner5d.com/ (accessed on 19 July 2023).
  31. Urquhart, C. Container of Dreams. Ph.D. Thesis, Southern Cross University, East Lismore, Australia, 2019. [Google Scholar]
  32. Wang, S.; Liu, Y.; Xu, Y.; Zhu, C.; Zeng, M. Want to reduce labeling cost? GPT-3 can help. arXiv 2021, arXiv:2108.13487. [Google Scholar]
  33. Spennemann, D.H. Children of AI: A Protocol for Managing the Born-Digital Ephemera Spawned by ChatGPT. Preprints 2023, 2023072035. [Google Scholar] [CrossRef]
Figure 1. Ground floor plan.
Figure 1. Ground floor plan.
Electronics 12 03829 g001
Figure 2. First floor plan.
Figure 2. First floor plan.
Electronics 12 03829 g002
Figure 3. Second floor plan.
Figure 3. Second floor plan.
Electronics 12 03829 g003
Figure 4. GPT-4 training protocol.
Figure 4. GPT-4 training protocol.
Electronics 12 03829 g004
Figure 5. GPT-4 answering questions, including ones it had not been trained upon.
Figure 5. GPT-4 answering questions, including ones it had not been trained upon.
Electronics 12 03829 g005
Table 1. Description of the ground floor plan.
Table 1. Description of the ground floor plan.
NoRoom NameDescription
1ToiletsThere are two separate rooms for men and women
2CloakroomIn the same room there are lockers for bulky things
3AdministrationAdministration offices. Visitors are not authorized to enter.
4Stairs and ElevatorThere are two elevators on all floors.
5Gift ShopThe museum gift shop.
6CafeteriaSnacks, meals, drinks for visitors.
7Temporary Exhibitions AWooden human-like sculptures.
8Temporary Exhibitions BPaintings collection.
9LoungeSpace for waiting and relaxing.
10ReceptionThe reception desk where visitors buy tickets and get information.
11Main corridorThe main walking area. There are interactive screens guiding visitors and sofas for resting.
Table 2. Description of the first floor plan.
Table 2. Description of the first floor plan.
NoRoom NameDescription
1ToiletsThere are two separate rooms for men and women
2Sculpture GardenSculptures and 3D prints of human-like models with the theme of COVID-19 metamorphosis.
3Stairs and ElevatorThere are two elevators on all floors.
4Data CenterServer room, network, and systems administration.
5Modern Painting GalleryA collection of contemporary paintings.
6Video and Digital ArtSpace dedicated to video installations, VR applications, and interactive media.
7Main CorridorThe main walking area of the first floor.
Table 3. Description of the second floor plan.
Table 3. Description of the second floor plan.
NoRoom NameDescription
1ToiletsThere are two separate rooms for men and women.
2Main CorridorThe main walking area of the second floor.
3Stairs and ElevatorThere are two elevators on all floors.
4Experimental GalleryA collection of experimental works by several artists.
5Art InstallationsRoom for immersive and large-scale art installations.
6Art Performance SpaceStage for live and recorded performances.
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Trichopoulos, G.; Konstantakis, M.; Alexandridis, G.; Caridakis, G. Large Language Models as Recommendation Systems in Museums. Electronics 2023, 12, 3829. https://doi.org/10.3390/electronics12183829

AMA Style

Trichopoulos G, Konstantakis M, Alexandridis G, Caridakis G. Large Language Models as Recommendation Systems in Museums. Electronics. 2023; 12(18):3829. https://doi.org/10.3390/electronics12183829

Chicago/Turabian Style

Trichopoulos, Georgios, Markos Konstantakis, Georgios Alexandridis, and George Caridakis. 2023. "Large Language Models as Recommendation Systems in Museums" Electronics 12, no. 18: 3829. https://doi.org/10.3390/electronics12183829

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop