Search

From Code to Catalog: Grappling with AI in Metadata Management (March 18, 2025)

From Code to Catalog: Grappling with AI in Metadata Management

March 18, 2025

Music Library Association Annual Meeting, Virtual

Summary by Janice G Bunker, Brigham Young University

Ivan Kaproth-Joslin: “Artificial Author? The Question of AI and Agency”

The PCC Standing Committee on Standards has published a FAQ about the cataloging of resources generated using AI software. This FAQ is based on Original RDA. The Committee will be updating the document for Official RDA in the near future.

Generative AI has been used to create music, which raises questions about who is responsible for these compositions. Under the Library of Congress Subject Headings Manual instruction sheet H 405 (Establishing Certain Entities in the Name or Subject Authority File), computer programs (including Gen AI) are ‘Group One’ entities in the name authority file, recorded in MARC 130 fields. Because computer programs do not have “agency,” they cannot be considered “agents” responsible for creation. Therefore, named generative AI software programs should be considered related works, even when it seems that the AI may be a pseudonym for the humans behind the scenes who create prompts for the AI software.

We should consider these behind-the-scenes humans as related agents and follow the guidelines of the PCC manual for relationship designators, using notes to clarify. The question of how to convey the role of AI software in the creation of the resource should be settled by using relevant subject and genre terms. Ivan believes that cataloging standards should distinguish between fully AI-generated works and human-curated AI-assisted works in MARC records.

The PCC documentation includes examples in both bibliographic and authority contexts. Ivan gave an example of cataloging the album “Hello World” (https://www.helloworldalbum.net/).

PCC SCS FAQ: https://www.loc.gov/aba/pcc/scs/documents/FAQ-Cataloging-of-Resources-Generated-by-Artificial-Intelligence

Jessica Grimmer: “AI-Generated Music and Copyright: Navigating New Frontiers in Musical Borrowing and Authorship”

Copyright law is very specific. The US Copyright Office will register an original work of authorship only if the work was created by a human being. However, there is a long tradition in music of composers using outside forces to compose musical works. For example, musical dice games; giving the performer choice in pitch, rhythm and tempo;  John Cage’s Reunion (1968), for which Cage borrowed all the musical material; and composers using rule-based or stochastic methods to have computers create music.

When David Cope began feeding his computer, Emmy, vast amounts of music in the 1980s that allowed the computer to “learn” musical style, the use of generative AI in music began. We now have a continuum of composership: human > human input with machine enforced rules > human input with machine generated chance > AI generated. However, the current copyright sticking point is the music used to ‘teach’ the AI software. Is it ethical for an AI to be ‘fed’ works that are under copyright? To use singers’ voices without consent? To use copyrighted recordings or lyrics? Current lawsuits and court cases are bringing these and other questions to the forefront as the community seeks to set boundaries and regulations. 

Andrea Cawelti: “AI Can Change Your Life (Can’t It?): Creating Rudimentary Sheet Music Finding Aids with ChatGPT” and Helen He: “My Journey from Cataloging Assistant to Building an AI-Powered Cataloging Tool”

To begin her project to use ChatGPT to help transcribe data from sheet music, Andrea experimented with writing art prompts, from which she learned that AI can’t make the jump between general and idiosyncratic.

Good AI prompts include a description of the overall situation, details of the request phrased as instructions, preferably in a specified order, and a specification of the output by using examples. Testing and continual refinement are essential to creating a good prompt. She also experimented on a limited basis with AI transcribing non-Latin character sets and making transliterations with the ALA-LC transliteration tables; this is an area for further exploration.

Andrea uses the graphical interface of ChatGPT to transcribe scans of the score. Because AI likes to helpfully add more information, humans need to proofread everything. Andrea uses caption scans rather than cover or list title scans and finds that AI-transcribed date, publication and plate number information are most in need of proofreading, while title, statement of responsibility, and contents notes need less. She found that formatting output into a spreadsheet increases her ability to reuse the data. She feels that her process saves time, even given the time spent taking photos, loading scans and proofreading. She would be happy to share her prompt work; send her an email request.

Because ChatGPT only allows 10 scans per session, Helen began experimenting with coding API calls to interface with OpenAI models. This allows for better systematic workflow and data management, and for performing the task at scale. She wrote the code in Google Colab and uses four cells of code. First, installation and setup, during which necessary software, images, and API credentials are loaded into the tool and access to Google Drive is specified for output. The second and most important step is to define the function and parameters to make the API call, which sends the prompt to ChatGPT with each scan.  Third, preparing the inputs and outputs, which tells the computer where to find the image files in what format, and where and in what format to put the transcribed data. The last cell of code makes the API call and formats the output from raw JSON data into tabular CSV format; this also generates automatic logs as it works. Helen’s program organizes the output into a spreadsheet.

Helen’s program takes about 4 minutes to process 51 score images. Though the results are not accurate enough to use without a person proofreading and correcting them, this process gives a good basis from which to work and allows for iterative feedback that can be included in the next prompt. She also believes that people should test tools with a wide variety of materials before choosing what to use, or what combination to use. 

Hermine Vermeij: “Alma’s AI Metadata Assistant: Experiments with Music”

Alma AI Metadata Assistant is a tool that uses LLM (Large Language Model) generative AI to process information about a library resource and returns a MARC record. It is user-friendly but not built for music. 

Hermine selected the function “Create with AI Assistant,” uploaded images of a score title page, colophon, contents, and first page of music, and then entered the title field on the request form. The AI coded fixed fields as AACR2 full level but leaves many blank. It had good 33X fields and contents notes. It consistently added “exuberant” 520 summaries and included a 588 field saying the record was created with AI Assistant. The AI had trouble with ISBN and returned mixed results in access points and punctuation. Subject headings were ambitious but weird. The Assistant returned different results every time she ran it, even with the same images.

When Hermine tried a CD with images of the disc label, container insert and back cover, the resulting record was fairly extensive. The Assistant didn’t correctly read the barcodes or dates. The contents note was inferior, but the font on the disc was weird. The 33Xs were good but not the subject headings. The Assistant did add LCGFT, but had trouble differentiating between creators and contributors. When Hermine tried a CD of a movie soundtrack, the UPC code field was missing, but there were good 3XX and publisher fields. The 520 gave part of the movie plot, and the subject headings were weird.

When fed images of a sheet music cover, title page and back cover, the AI’s record was quite good. It had the correct ISBN, composer dates, and a great 245 field. Subject headings were close but not the best. Hermine also tried a score with a list title page. The AI Assistant confused plate number with ISMN. It included correct composer dates even though they didn’t appear on the item. The language of lyrics was incorrect, perhaps because the cover was in French and English. Some subject headings were ok, others were very wild. 

Ex Libris is also adding AI-generated metadata to e-books in their ‘Community Zone’. Some music is there as well, heaping bad metadata onto bad metadata. 

Overall, Hermine thinks the Alma AI assist tool makes records based on pattern recognition, and that “like all GenAI, it’s confidently wrong about a lot.” Be skeptical!