Home

Awesome


id: ai-framework layout: loc title: LC Labs AI Planning Framework permalink: /

LC Labs AI Planning Framework

About

LC Labs has been exploring how to use emerging technologies to expand the use of digital materials since our launch in 2016. We quickly saw machine learning (ML), one branch of artificial intelligence (AI), as a potential way to provide more metadata and connections between collection items and users. Experiments and research have shown the risks and benefits of using AI in libraries, archives and museums (LAMs).

To account for these challenges and realities, LC Labs has been developing a planning framework to support the responsible exploration and potential adoption of AI at the Library. Read the full overview of the Labs framework in our related post on the Signal Blog.

At a high level, the framework includes three planning phases: 1) Understand 2) Experiment and 3) Implement, which supports the evaluation of three elements of ML: 1) Data; 2) Models; and 3) People. We rely on a set of worksheets, questionnaires, and workshops to engage stakeholders and staff and identify priorities for future exploration. The mechanisms, tools, collaborations, and artifacts together form the AI Planning Framework. Our hope in sharing the framework and associated tools in this initial version is to encourage others to try it out and to solicit additional feedback.

In planning for and conducting AI and ML experiments at the Library of Congress, we've simplified ML processes into three main elements: Data, Models, and People. The details of all three elements and how they are put together helps us understand whether an application of this technology is useful, ethical and effective.

<table> <tr> <th colspan="3">Elements of Machine Learning / AI</th> </tr> <tr> <td valign="top" style="width: 33.333%"> <h3>Data</h3> <p><img src="img/elements-data-icon.png" alt="An icon comprised of a black cylinder with three segments" /></p> <ul> <li>Library content</li> <li>Data readiness</li> <li>Training data</li> <li>Tuning data</li> <li>Validation data</li> <li>Target data</li> <li>Output data</li> </ul> </td> <td valign="top" style="width: 33.333%"> <h3>Models</h3> <p><img src="img/elements-models-icon.png" alt="An icon comprised of a matrix of four cells, each containing a math symbol" /></p> <ul> <li>End-to-end workflow or pipeline</li> <li>Architectures</li> <li>Type of training</li> <li>Libraries utilized</li> <li>Frameworks or platforms</li> </ul> </td> <td valign="top" style="width: 33.333%"> <h3>People</h3> <p><img src="img/elements-people-icon.png" alt="An icon comprised of a four human figures with their arms raised" /></p> <ul> <li>Develop use cases</li> <li>Represented in the data</li> <li>Design and sell AI systems</li> <li>Impacted by AI systems</li> <li>Evaluate and implement</li> </ul> </td> </tr> </table>

Download this table as an image

Considering the data, models and people involved in an AI system is baked into our AI Planning Framework. The Understand, Experiment and Implement steps include collaborative activities and result in documentation that inform the development of practices and policies for responsible AI. We have yet to move all the way through to the implement stage, but this planning process will build the foundation for a solid and responsible AI strategy based on evidence and Library strengths.

<table> <tr> <th colspan="3">LC Labs AI Planning Phases</th> </tr> <tr> <td valign="top" style="width: 33.333%"> <h3>Understand</h3> <p><img src="img/phases-understand-icon.png" alt="An icon comprised of a lightbulb containing a network of people, institutions, and technology" /></p> </td> <td valign="top" style="width: 33.333%"> <h3>Experiment</h3> <p><img src="img/phases-experiment-icon.png" alt="An icon comprised of three arrows and three dots organized in a circle, representing a cycle" /></p> </td> <td valign="top" style="width: 33.333%"> <h3>Implement</h3> <p><img src="img/phases-implement-icon.png" alt="An icon comprised of a pyramid above an institution, a magnifying glass above a graph, people, and a certificate" /></p> </td> </tr> <tr> <td colspan="3" style="text-align: center"><strong>ā†’ Governance and Policy ā†’</strong></td> </tr> </table>

Download this table as an image

Understand

Collaboratively articulate principles; assess risks and benefits, map needs, priorities and expertise; learn about data readiness.

Tools for use in this phase:

TitleDescriptionLast RevisedDownload
Use Case Risk WorksheetThis questionnaire is meant to assist staff in assessing the risk profile of an AI use case. The risk level will inform planning for the level of the risk mitigation efforts, estimated timeline for safety, quality and performance verification, and resources required.2023-11-15Link to worksheet.
Phase II Risk AnalysisFill out this worksheet to articulate success criteria, measures, risks, and benefits for an AI Use Case.2023-10-30Link to worksheet
Data Readiness AssessmentQuestionnaire to assess readiness and availability of data for the proposed use case.2023-11-14Link to questionnaire.

Experiment

We use the following tools and mechanisms for experiments:

The Digital Innovation Indefinite Delivery Indefinite Quantity (IDIQ) contract The Data Processing Plan documents data transformations and the predicted and actual AI model performance for specific tasks. It combines elements from a model card, data cover sheet and documents curatorial provenance. Vendors are required to fill it out as part of the Digital Innovation IDIQ. In Development: NLP vendor evaluation guide and quality review recommendations. Under Recommendation: Balanced datasets for benchmarking newly available AI models and tools.

Test specific use cases, models and data with staff and users to document performance and build quality baselines and benchmarks

Tools for use in this phase:

TitleDescriptionLast RevisedDownload
Data Processing PlanThis template documents data transformations and the predicted and actual AI model performance for specific tasks. It combines elements from a model card, data cover sheet and documents curatorial provenance. Vendors are required to fill it out as part of the Digital Innovation IDIQ.2021-12-01Attachment J2 on the Library of Congress Digital Innovation IDIQ solicitation
Digital Innovation Indefinite Delivery Indefinite Quantity (IDIQ)The Library of Congress Digital Innovation IDIQ contract is a multi-year contracting mechanism that we can use to fulfill individual AI experiment at the Library of Congress, and includes requirements that may be valuable to the broader community.2022-07-28Library of Congress Digital Innovation IDIQ solicitation

Implement

AI or ML services are operational and supported by strategy, policies, integrations, shared quality standards and a skilled workforce.

This phase will include tools to assist with:

<table> <tr> <th colspan="3">Framework Activities</th> </tr> <tr> <td valign="top" style="width: 33.333%"> <h3>Understand</h3> <p><img src="img/phases-understand-icon.png" alt="An icon comprised of a lightbulb containing a network of people, institutions, and technology" /></p> <p>Use tools to collaborate and assess:</p> <ul> <li>Risks and benefits</li> <li>Principles and values</li> <li>Data readiness</li> <li>Local and domain expertise</li> </ul> </td> <td valign="top" style="width: 33.333%"> <h3>Experiment</h3> <p><img src="img/phases-experiment-icon.png" alt="An icon comprised of three arrows and three dots organized in a circle, representing a cycle" /></p> <p>Create practices and documentation to:</p> <ul> <li>Test data and models with use case</li> <li>Review output with staff and users</li> <li>Build baselines</li> </ul> </td> <td valign="top" style="width: 33.333%"> <h3>Implement</h3> <p><img src="img/phases-implement-icon.png" alt="An icon comprised of a pyramid above an institution, a magnifying glass above a graph, people, and a certificate" /></p> <p>Create policies and standards, including:</p> <ul> <li>Strategy and roadmap</li> <li>Skills and capacities</li> <li>Monitoring and measuring</li> <li>Shared quality standards</li> </ul> </td> </tr> </table>

Download this table as an image