<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Data Science on Crossref</title><link>https://www-crossref-org.turing.library.northwestern.edu/categories/data-science/</link><description>Recent content in Data Science on Crossref</description><generator>Hugo 0.139.4</generator><language>en-us</language><managingEditor>support@crossref.org (Crossref/Cazinc/Benoît Benedetti)</managingEditor><webMaster>support@crossref.org (Crossref/Cazinc/Benoît Benedetti)</webMaster><lastBuildDate>Mon, 07 Jul 2025 00:00:00 +0000</lastBuildDate><atom:link href="https://www-crossref-org.turing.library.northwestern.edu/categories/data-science/" rel="self" type="application/rss+xml"/><item><title>Data Science @Crossref</title><link>https://www-crossref-org.turing.library.northwestern.edu/blog/data-science-@crossref/</link><pubDate>Mon, 07 Jul 2025 00:00:00 +0000</pubDate><author>Dominika Tkaczyk</author><guid>https://www-crossref-org.turing.library.northwestern.edu/blog/data-science-@crossref/</guid><description>&lt;p>To address the growing scale and complexity of scholarly data, we&amp;rsquo;ve launched a new data science function at Crossref. In April, we were excited to welcome our first data scientists, &lt;a href="https://www-crossref-org.turing.library.northwestern.edu/people/jason-portenoy/">Jason Portenoy&lt;/a> and &lt;a href="https://www-crossref-org.turing.library.northwestern.edu/people/alex-b%C3%A9dard-vall%C3%A9e/">Alex Bédard-Vallée&lt;/a>, to the team. With their arrival, the Data Science team is now fully up and running. In this blog post, we&amp;rsquo;re sharing our vision and what&amp;rsquo;s ahead for data science at Crossref.&lt;/p>
&lt;h2 id="new-approach-to-achieve-our-mission">New approach to achieve our mission&lt;/h2>
&lt;p>Over the last few years, we have witnessed substantial growth of the scholarly community in general, and Crossref in particular. This has been reflected in the increase in the volume and variety of the data we collect, store and process, including scholarly metadata and Crossref operational data related to membership, DOI registrations, billing, usage measurement, and other activities.&lt;/p>
&lt;p>On the one hand, this growth opens new possibilities for using the data to better understand the scholarly landscape, serve our community, develop services, and make informed decisions. On the other hand, it forces us to address a set of challenges related to the scale and complexity of the data.&lt;/p>
&lt;p>The new Data Science team, created as part of &lt;a href="https://doi-org.turing.library.northwestern.edu/10.64000/bm6g0-gvy36" target="_blank">last year&amp;rsquo;s broader organisational changes&lt;/a>, will address these challenges and fulfil our data-related ambitions. As part of our &lt;a href="https://www-crossref-org.turing.library.northwestern.edu/strategy/">strategic mission&lt;/a>, we created the following vision for the Data Science team within Crossref and our community:&lt;/p>
&lt;p>&lt;strong>The Data Science team uses scientific research and data science to deliver, assess, improve, and enrich scholarly metadata.&lt;/strong>&lt;/p>
&lt;p>The work of the Data Science team broadly entails two types of projects: 1) data analysis &amp;amp; insights; and 2) data services &amp;amp; workflows.&lt;/p>
&lt;p>&lt;strong>Data analysis &amp;amp; insights&lt;/strong>: The goal of these kinds of projects is to broaden our understanding of the scholarly record and our community and help Crossref make decisions in a data-driven way, without trying to create any specific application or product. They will help Crossref explore new strategic directions, make more informed decisions, monitor the trends and outcomes of certain decisions and policies, and discover and share new insights with the community. This category also involves large and small data assessments and analyses, measuring and monitoring certain metrics, verifying hypotheses, answering questions using data, monitoring trends in the metadata, forecasting, data visualisation, reporting, and interpreting results.&lt;/p>
&lt;p>&lt;strong>Data services &amp;amp; workflows&lt;/strong>: The goal of these kinds of projects is to apply scientific knowledge and data analysis to build and maintain Crossref services, tools, and workflows. The Data Science team collaborates with other Crossref teams on the research, design and implementation of the Crossref system and its various components. This will involve modelling across different data stores and APIs, as well as designing efficient and robust data workflows for various processes, including metadata deposit, validation, and dissemination. Furthermore, the team will investigate and implement modern tools and techniques for efficient data processing, storage and analysis, and strategies for data enrichment. Finally, the Data Science team is involved in planning and implementing comprehensive monitoring and reporting for various features and services.&lt;/p>
&lt;h2 id="connecting-with-the-community">Connecting with the community&lt;/h2>
&lt;p>Crossref exists as part of a diverse, global community of 22,000 members from 160 countries, plus countless systems that rely on our metadata. Launching the new Data Science function gives us a great opportunity to connect more deeply and in new ways with the wider scholarly community. We&amp;rsquo;re keen to engage with Crossref members, users of our services, and partner organisations to better understand trends and needs, and to contribute to others&amp;rsquo; community initiatives and awareness.&lt;/p>
&lt;p>One area we&amp;rsquo;re particularly interested in is the growing range of initiatives in the &lt;a href="https://en.wikipedia.org/wiki/Metascience" target="_blank">metascience&lt;/a> space. We&amp;rsquo;re looking to expand and solidify our understanding of how researchers use our data and services, and to learn more about their needs and perspectives. These insights will help inform the design and functionality of our data workflows and APIs over the long term.&lt;/p>
&lt;p>We&amp;rsquo;re also committed to supporting the scholarly community&amp;rsquo;s efforts to preserve the &lt;a href="https://www-crossref-org.turing.library.northwestern.edu/community/special-programs/research-integrity/">integrity of the scholarly record (ISR)&lt;/a>. By applying modern, scalable data processing techniques, we aim to help detect and investigate potential issues affecting metadata quality, including both intentional manipulation and unintentional errors or inconsistencies.&lt;/p>
&lt;p>More broadly, we&amp;rsquo;re looking forward to engaging with our community on scalable data processing approaches, as well as best practices and standards for processing and enriching scholarly metadata.&lt;/p>
&lt;h2 id="introducing-new-members-of-the-team">Introducing new members of the team&lt;/h2>
&lt;p>We couldn&amp;rsquo;t pursue our ambitious goals without the dedication and passion of our team. In April, we were thrilled to welcome two data scientists, Jason Portenoy and Alex Bédard-Vallée, to the Crossref team.&lt;/p>
&lt;p>Alex Bédard-Vallée brings over six years of experience extracting meaningful insights from data within the research and scholarly publishing sector, applying it to large-scale bibliometric data, aiming to better serve the scholarly community. Prior to Crossref, during his tenure at Elsevier, he was instrumental in modernising data infrastructure, significantly enhancing the efficiency of massive research data pipelines. His contributions included developing automated data quality checks, creating reusable Python tools to streamline data access, and leveraging machine learning techniques to uncover research trends. Alex provided key insights for major reports, contributing to evaluations for the Canada Research Chairs Program and the NSF Science and Engineering Indicators between 2020 and 2024. Alex holds an M.Sc. in Quantum Physics (2018) and a B.Sc. in Physics (2016) from the Université de Sherbrooke.&lt;/p>
&lt;p>&lt;a href="https://www.jasport.org/" target="_blank">Jason Portenoy&lt;/a> is a New York-based data scientist with a background in bibliometric research and building applications using scholarly data. Through his work, he has become a passionate advocate for the maintenance and improvement of high-quality scholarly metadata. He holds a PhD in Information Science from the University of Washington where he studied how scholarly metadata can offer insights into scientific activity and help develop tools to address information overload. He brings experience working at OpenAlex, Semantic Scholar, and other organisations concerned with scholarly communication. Most recently, he was the Senior Data Engineer at OpenAlex, and he is now excited to continue his work using data science to support and strengthen crucial open scholarly infrastructure.&lt;/p>
&lt;h2 id="whats-next-for-us">What&amp;rsquo;s next for us?&lt;/h2>
&lt;p>In the short term, we are focusing on two main projects: analysing how reliably DOIs resolve, and detecting discrepancies in bibliographic references at scale.&lt;/p>
&lt;p>&lt;strong>DOI resolutions&lt;/strong>: DOIs are persistent identifiers and links that are meant to consistently resolve to landing pages that represent the object they identify and Crossref has certain obligations that members have to adhere to, one of which is that if the location of the landing page changes, it is the responsibility of the member to update the metadata so the DOI continues to resolve correctly. &lt;a href="https://doi-org.turing.library.northwestern.edu/10.64000/hv6t0-0h481" target="_blank">Some prior work&lt;/a> has suggested this doesn&amp;rsquo;t always happen, so there are some gaps in the scholarly record. We&amp;rsquo;re now analysing metadata from a broad sample of members to better understand the scale of the issue, and to identify cases where members may need to update their metadata records.&lt;/p>
&lt;p>&lt;strong>Detecting discrepancies in bibliographic references&lt;/strong>: Following &lt;a href="https://doi-org.turing.library.northwestern.edu/10.48550/arXiv.2501.03771" target="_blank">last year&amp;rsquo;s reports&lt;/a> of discrepancies between bibliographic references in metadata records and those found in full-text PDFs, we&amp;rsquo;ve explored ways to run broader, systematic checks across a larger set of members and metadata records. The goal was to understand how widespread these inconsistencies are and to identify cases where members may need support in correcting references in their metadata records. Ultimately, we aim to create a collaborative process that improves the accuracy and reliability of bibliographic references across the scholarly record, enhancing research discovery and reproducibility and ensuring impact assessments are reliable.&lt;/p>
&lt;p>Look out for forthcoming blog posts with more details on these projects!&lt;/p>
&lt;p>Looking further ahead, Crossref has two big projects for which the Data Science team will serve central roles: developing dashboards, and improving metadata matching.&lt;/p>
&lt;p>&lt;strong>Data dashboards&lt;/strong>: We are planning to develop a series of dashboards to monitor the state of the scholarly record over time. These will include both work-level statistics (e.g., how many works of a given type have been registered?) and more detailed insights at the relationship level (e.g., how many bibliographic references have been automatically matched? How often are ROR IDs included in funder assertions?). Upstream, this will require us to build an environment where all relevant data sources can be combined, as well as adopting a suite of scalable tools and data processing techniques.&lt;/p>
&lt;p>&lt;strong>Metadata matching&lt;/strong>: In April, we commenced the matching project. It is a major effort to rebuild Crossref&amp;rsquo;s metadata matching workflows using modern software development and data science practices. The goal is to create a dedicated consolidated matching workflow that will eventually replace all existing production matching processes, with results made available through the REST API. This project covers six matching tasks: bibliographic reference matching, funder name matching, preprint matching, affiliation matching, grant matching, and title matching.&lt;/p>
&lt;p>(In the meantime, as we do not have a good mechanism to add matching results to the REST API yet, we separately released two datasets with relationships discovered by automated matching strategies: &lt;a href="https://doi-org.turing.library.northwestern.edu/10.5281/zenodo.15124417" target="_blank">a dataset of relationships between preprints and journal articles&lt;/a>, and &lt;a href="https://doi-org.turing.library.northwestern.edu/10.5281/zenodo.15254993" target="_blank">a dataset of relationships involving research organisations&lt;/a>.)&lt;/p>
&lt;p>As you can tell, we are very excited about Crossref&amp;rsquo;s role in the modern, open, community-focused future of scholarly infrastructure. The new Data Science team is a crucial component of this vision. If you&amp;rsquo;re interested in collaborating or learning more about data science at Crossref, we&amp;rsquo;d love to hear from you!&lt;/p></description></item><item><title>Metadata matching: beyond correctness</title><link>https://www-crossref-org.turing.library.northwestern.edu/blog/metadata-matching-beyond-correctness/</link><pubDate>Wed, 08 Jan 2025 00:00:00 +0000</pubDate><author>Dominika Tkaczyk</author><guid>https://www-crossref-org.turing.library.northwestern.edu/blog/metadata-matching-beyond-correctness/</guid><description>&lt;p>In our &lt;a href="https://doi-org.turing.library.northwestern.edu/10.13003/ief7aibi" target="_blank">previous entry&lt;/a>, we explained that thorough evaluation is key to understanding a matching strategy&amp;rsquo;s performance. While evaluation is what allows us to assess the correctness of matching, choosing the best matching strategy is, unfortunately, not as simple as selecting the one that yields the best matches. Instead, these decisions usually depend on weighing multiple factors based on your particular circumstances. This is true not only for metadata matching, but for &lt;a href="https://www.wired.com/2012/04/netflix-prize-costs/" target="_blank">many technical choices&lt;/a> that require navigating trade-offs. In this blog post, the last one in the metadata matching series, we outline a subjective set of criteria we would recommend you consider when making decisions about matching.&lt;/p>
&lt;h2 id="openness">Openness&lt;/h2>
&lt;p>Matching tools come in many different shapes and sizes: web applications, APIs, command-line tools, sometimes even &lt;a href="https://adambuttrick.github.io/mysterious-crystal-ball-matching/" target="_blank">enchanted crystal balls showing matched identifiers emerging from a mysterious mist&lt;/a>! No matter what form they take, an important consideration is whether the source code and all the related resources for the matching are openly available.&lt;/p>
&lt;p>Matching strategies that are either closed-source, or rely on closed-source services for their matching logic, make it difficult to fully understand and explain matching processes. This lack of transparency also makes it impossible to adjust or improve the matching logic, since we cannot understand or improve code we cannot see.&lt;/p>
&lt;p>Users are similarly impeded from identifying flaws or suggesting improvements to processes they are unable to examine. By blocking this community participation, we also lose the proven cycle of real-world testing, refinement, and validation that has strengthened myriad of open source projects. The cumulative impact of both minor and major community-driven refinements over time is incredibly valuable and should not be underestimated.&lt;/p>
&lt;p>Using open source matching will also help build trust in the matching workflows and results. This is one reason why open source is one of the tenets of the &lt;a href="https://openscholarlyinfrastructure.org" target="_blank">Principles of Open Scholarly Infrastructure&lt;/a>, adopted by Crossref, DataCite, ROR, and other organisations who build and maintain open scholarly infrastructure.&lt;/p>
&lt;p>When evaluating matching strategies, we strongly recommend prioritizing those that are fully open source. This not only ensures their transparency and trustworthiness, but also allows for the kind of continuous improvement that results from this visibility and community engagement.&lt;/p>
&lt;h2 id="explainability">Explainability&lt;/h2>
&lt;p>In terms of our ability to understand and improve a matching strategy, using an open source model is only the first step. What typically matters most in the context of building and maintaining matching services is that we are able to understand their underlying code and have a clear model of how matches are derived from their corresponding inputs. Even if the matching code itself and all of the resources used in the matching are open, if they are poorly documented, lack reproducibility or tests, or are otherwise opaque, there is no guarantee that it will be possible to understand or improve the strategy. Striving for a high level of interpretability in our matching plays a determinative role in how well we can understand and modify our strategies in the future.&lt;/p>
&lt;p>Being able to explain the behaviour of the matching will also help you to respond to and incorporate user feedback. When users encounter errors, you will be able to do things like advise them on how to modify or clean their inputs so that the results are better. Conversely, examining the behaviour of the strategy relative to user inputs and feedback can provide you with ideas for improving the matching.&lt;/p>
&lt;p>Typically, heuristic-based strategies, such as those that use forms of search or string similarity measures, like &lt;a href="https://en.wikipedia.org/wiki/Edit_distance" target="_blank">edit distance&lt;/a>, are easier to explain than, say, machine learning models. If a strategy uses machine learning, at least some internal decisions might be made by passing data through a complex network of algebraic equations. Those can be mysterious, non-deterministic, and are famous for being &lt;a href="https://xkcd.com/1838/" target="_blank">hard to interpret&lt;/a>. This doesn&amp;rsquo;t mean they should be avoided entirely - we have built and use many machine-learning based tools ourselves! Instead, it is a good idea to weigh how their inherent lack of explainability could affect your ability to continue work on the strategy and respond to user needs, relative to all the available options.&lt;/p>
&lt;h2 id="complexity">Complexity&lt;/h2>
&lt;p>Complexity is another aspect that can greatly affect how easy it is to maintain the strategy. Complexity is related to how many different components the strategy has and how difficult they are to use and maintain. When a strategy has multiple interconnected parts, each component becomes a potential failure point that requires discrete assessment and maintenance.&lt;/p>
&lt;p>Consider, for example, two different approaches to a matching strategy: one that uses a single machine learning model versus another that uses an ensemble of models. A single model requires maintaining one set of training data, a single training pipeline, and one deployment process. If the model&amp;rsquo;s performance unexpectedly deteriorates, whether because of an issue with the training data, a configuration error, or the need for additional input sanitization, the source of the problem is easier to isolate and fix.&lt;/p>
&lt;p>The ensemble, by contrast, combines multiple, specialized models, each requiring its own training data, tests, updates, and deployments. If one model in the ensemble is found to reduce the performance of the strategy, the interdependence between models can cause this degradation to cascade through the entire system and undermine its overall reliability. Correcting for these errors becomes more challenging. If fixing one model&amp;rsquo;s performance requires retraining or adjusting its outputs, this could require recalibrating the entire ensemble to maintain the balance between models, identify regressions, and prevent new errors from emerging.&lt;/p>
&lt;p>In general, preferring simpler strategies not only reduces operational overhead, but also makes it easier to diagnose issues, test changes, and iterate on user feedback. When problems arise, having fewer moving parts means less places to look for the root cause and fewer components that could be affected by any fixes.&lt;/p>
&lt;h2 id="flexibility">Flexibility&lt;/h2>
&lt;p>The metadata to which we match grows and changes over time. New records are created, existing ones are updated, with schemas changing and evolving alongside. The resources that underlie our matching are also not static. The libraries we depend on may deprecate features between versions or the taxonomies we used to categorize results might undergo significant revisions. We thus rarely have the luxury of deploying a matching strategy once and using it forever without any changes. A good strategy has to be flexible enough to adapt to such changes, with this adaptation also being both technically feasible and practical to implement.&lt;/p>
&lt;p>Much of this flexibility is also determined by a matching strategy&amp;rsquo;s ability to incorporate new data. Strategies that use continuously updated databases or indices can immediately match against new metadata as it appears in the system. By contrast, some machine learning-based approaches require training on target matches and can thus be limited in flexibility and face more constraints. While some models can be incrementally updated to recognize new matches, others require retraining from scratch to incorporate these changes - a process that can be both time-consuming and resource-intensive.&lt;/p>
&lt;p>Paying close attention to a strategy&amp;rsquo;s flexibility and favoring this aspect, when possible, can significantly impact its long-term viability. When comparing different matching strategies, flexibility should thus be a primary concern in your decision-making process.&lt;/p>
&lt;h2 id="resources">Resources&lt;/h2>
&lt;p>Matching strategies can vary significantly in their resource requirements, including things like CPU and GPU utilization, memory consumption, storage capacity, and network bandwidth. These requirements are directly related to infrastructure costs and energy consumption, so when evaluating a matching strategy, it is necessary to assess its resource demands across all phases of the matching lifecycle. This includes things like initial model training, re-training, index construction, updates and management for all aspects of the strategy, as well as the real-world processing of matching requests. It is a good idea to measure and monitor resource usage carefully in considering which strategies to use, as the best performing strategy may also be too resource intensive to run as a service or might grow to this state over time with additional utilization.&lt;/p>
&lt;h2 id="speed">Speed&lt;/h2>
&lt;p>Matching strategies can operate at a wide range of speeds, from milliseconds to minutes per match. Since the overall response time of a strategy can affect both system scalability and user experience, we should always assess the strategy&amp;rsquo;s performance for different usage scenarios and scales of data. While some strategies might perform adequately with small datasets, they can also exhibit exponential slowdowns as data volume and complexity increases or as concurrent requests grow in number. We should therefore consider carefully how requirements for matching speed might evolve with increased usage, data complexity, and total anticipated growth. The fastest matching strategy might not always be the best choice if it comes at the cost of reduced accuracy or requires large amounts of resources, but unacceptable latency can make an otherwise excellent strategy unusable in practice for many use cases.&lt;/p>
&lt;h2 id="putting-it-all-together">Putting it all together&lt;/h2>
&lt;p>The typical life cycle of developing a metadata matching strategy is as follows:&lt;/p>
&lt;ol>
&lt;li>&lt;strong>Scoping&lt;/strong>: we define the matching task, along with its inputs and outputs.&lt;/li>
&lt;li>&lt;strong>Research&lt;/strong>: we research what existing strategies are available for our task and/or we develop our own.&lt;/li>
&lt;li>&lt;strong>Evaluation&lt;/strong>: we evaluate all available strategies, internally or externally-developed, exploring all of the aspects described above.&lt;/li>
&lt;li>&lt;strong>Decision&lt;/strong>: we choose which strategy (if any) we want to use in our production system.&lt;/li>
&lt;li>&lt;strong>Production setup&lt;/strong>: we prepare the production models, indexes, and other resources needed for the matching.&lt;/li>
&lt;li>&lt;strong>Maintenance&lt;/strong>: we monitor and adapt the strategy relative to changing data, user feedback, and new resource requirements.&lt;/li>
&lt;/ol>
&lt;p>In practice, these phases do not happen all at once, nor in this strict order. Often we need to proceed through multiple iterations of them to arrive at the best strategy. For example, if initial evaluation of a strategy yields poor results, we might return to the research phase to investigate other strategies or refine our understanding of the task. Often, during the maintenance phase, we receive feedback from users that indicates potential areas of improvement and then pursue them with a new round of research and evaluation.&lt;/p>
&lt;p>As we cycle through these phases, ideally all the aspects described in this entry, along with the results of the evaluation, would be taken into account. Of course, this means that these decisions have to be based on multiple criteria and by making trade-offs between their performance and all other considerations. In making these complex and difficult choices, it is useful to consider two primary questions:&lt;/p>
&lt;ol>
&lt;li>Are any of the considered matching strategies good enough for our use case?&lt;/li>
&lt;li>Out of all the considered strategies that are sufficient for our use case, which would be the best?&lt;/li>
&lt;/ol>
&lt;p>The first question requires us to create clear and quantifiable criteria that allow for eliminating some of the potential strategies. As we have indicated, these could include things like the strategy being open source, minimum performance baselines using measures like precision or recall, and operational thresholds, like the strategy being able to return results quickly, relative to user expectations or the volume of data to be processed. It should be fairly easy to test these requirements and eliminate any strategies that fall short of them. If the strategies are difficult to assess, that is likely a mark against them.&lt;/p>
&lt;p>If no strategies meet these criteria, we have two options: either to abandon matching entirely or to reassess and relax our criteria to align with the available options. While the former is always an option, adopting a more pragmatic lens, framing in terms of potential value (or harm) to the users, might be beneficial. Sometimes we approach matching tasks with too high expectations and a dose of realism helps us to re-center our perspectives. After more consideration, you might decide that your criteria were too stringent or realize that you need to better define and decompose the tasks to fit the available options.&lt;/p>
&lt;p>When multiple strategies appear viable, the selection process becomes more nuanced. When evaluating strategies across these various dimensions, we should try to avoid placing undue weight on minor performance differences. Evaluation metrics are useful estimates of performance, but do not always translate to real-world applications and changing data. In cases where a more complex strategy offers only marginal improvements over a simpler alternative, the maintenance and operational benefits of the simpler solution often outweigh small performance gains.&lt;/p>
&lt;p>This concludes our series on metadata matching, where we described the conceptual, product, and technical aspects of matching and its applications. We hope this overview was instructive and helps you to make better decisions about the use of matching in your own tools and services!&lt;/p></description></item><item><title>How good is your matching?</title><link>https://www-crossref-org.turing.library.northwestern.edu/blog/how-good-is-your-matching/</link><pubDate>Wed, 06 Nov 2024 00:00:00 +0000</pubDate><author>Dominika Tkaczyk</author><guid>https://www-crossref-org.turing.library.northwestern.edu/blog/how-good-is-your-matching/</guid><description>&lt;p>In our &lt;a href="https://doi-org.turing.library.northwestern.edu/10.13003/pied3tho" target="_blank">previous blog post&lt;/a> in this series, we explained why no metadata matching strategy can return perfect results. Thankfully, however, this does not mean that it&amp;rsquo;s impossible to know anything about the quality of matching. Indeed, we can (and should!) measure how close (or far) we are from achieving perfection with our matching. Read on to learn how this can be done!&lt;/p>
&lt;p>How about we start with a quiz? Imagine a database of scholarly metadata that needs to be enriched with identifiers, such as ORCIDs or ROR IDs. Hopefully, by this point in our series this is recognizable as a classic matching problem. In searching for a solution, you identify an externally-developed matching tool that makes one of the below claims. Which of the following would demonstrate satisfactory performance?&lt;/p>
&lt;ol>
&lt;li>It is a cutting-edge, state-of-the-art, intelligent-as-they-come, bullet-proof technology! All the big players are using it. You won&amp;rsquo;t find anything better!&lt;/li>
&lt;li>The tool was tested on the metadata of 10 articles we authored, and many identifiers were matched.&lt;/li>
&lt;li>The quality of our matching is 98%.&lt;/li>
&lt;/ol>
&lt;p>Okay, okay, trick question. The correct answer here is to opt for secret answer #4: &amp;ldquo;I wouldn&amp;rsquo;t be satisfied by any of these claims!&amp;rdquo; Let&amp;rsquo;s dig in a bit more to why this is the correct response.&lt;/p>
&lt;h2 id="the-importance-of-the-evaluation">The importance of the evaluation&lt;/h2>
&lt;p>Before we decide to integrate a matching strategy, it is important to understand as much as possible about how it will perform. Whether it is used in a semi or fully automated fashion, metadata matching will result in the creation of new relationships between things like works, authors, funding sources, and institutions. Those relationships will then, in turn, be used by the consumers of this metadata to guide their understanding and perhaps even to make important decisions about those same entities. As organisations providing scholarly infrastructure, we must therefore take it as our paramount responsibility to understand any caveats or shortcomings of the scholarly metadata we make available, including that resulting from matching.&lt;/p>
&lt;p>Proper evaluation is what allows us to do this, as it is impossible to know how well a given matching strategy will perform in its absence. This is true no matter how simple or complex a matching strategy may seem. Complex methods can be tailored to data with specific characteristics and might fail when faced with something different from this. Simple methods might be only appropriate for clean metadata or a narrow set of use cases.&lt;/p>
&lt;p>Beyond complexity, matching strategies themselves vary widely in character, inheriting biases from their design, training data, or how a problem has been formulated. Some prioritise avoiding false negatives, while others focus on minimising false positives. Even a generally high-performing strategy might not be perfectly aligned with your specific needs or data. In some cases, the task also itself might be too challenging, or the available metadata too noisy, for any matching strategy to perform adequately.&lt;/p>
&lt;p>Evaluation is, again, how we understand these nuances and make informed decisions about whether to implement matching or avoid it altogether. By now, it should also be clear that the notion &amp;ldquo;we don&amp;rsquo;t need to evaluate&amp;rdquo; is far from ideal! Given its importance, let&amp;rsquo;s explore how evaluation is actually done.&lt;/p>
&lt;h2 id="evaluation-process">Evaluation process&lt;/h2>
&lt;p>In general, a proper evaluation procedure should follow the following steps:&lt;/p>
&lt;ol>
&lt;li>Preparation of an evaluation dataset containing many examples of matching inputs and the corresponding expected outputs.&lt;/li>
&lt;li>Applying the strategy to all inputs from the dataset and recording the responses.&lt;/li>
&lt;li>Comparing the expected outputs with the outputs from the strategy.&lt;/li>
&lt;li>Converting the results of the above comparison into evaluation metrics.&lt;/li>
&lt;/ol>
&lt;p>From this accounting, we can see that there are two primary components for the evaluation process: an evaluation dataset and metrics.&lt;/p>
&lt;h3 id="evaluation-dataset">Evaluation dataset&lt;/h3>
&lt;p>It&amp;rsquo;s useful to conceive an evaluation dataset as the specification for an ideal matching strategy, describing what would be returned from our forever-elusive perfect matching. When creating such a dataset, what this means in practice is that it should contain a number of real-world, example inputs, along with the corresponding ideal or expected outputs, and that all data should be in the same format as the strategy is expected to process. The outputs should themselves also confirm the strategy&amp;rsquo;s overall requirements, for example, by being consistent with its cardinality, meaning whether zero, one, or multiple matches should be returned and under what circumstances. In terms of size, it&amp;rsquo;s generally useful to calculate the ideal number of evaluation examples using a sample size calculator or using &lt;a href="https://doi-org.turing.library.northwestern.edu/10.1520/E0122-17R22" target="_blank">standardised measures&lt;/a>, but as a quick rule of thumb: less than 100 examples is probably insufficient, more than 1,000 or 2,000 is generally acceptable.&lt;/p>
&lt;p>It is also important that the evaluation dataset be representative of the data to be matched in order to ensure reliable results. Using unrepresentative data, even if convenient, can lead to biassed or misleading evaluations. For example, if matching affiliations from various journals, building an evaluation dataset solely from one journal that already assigns ROR IDs to authors&amp;rsquo; affiliations might be tempting. The data, having been already annotated, allow us to avoid the tedious work of labelling, and we might even know that it is produced by a high-quality source. This is still, unfortunately, a flawed approach. In practice, such datasets are unlikely to represent the entire range of affiliations to be matched, potentially leading to a significant discrepancy between the evaluated quality and the actual performance of the matching strategy, when applied to the full dataset. To assess a matching strategy&amp;rsquo;s effectiveness, we have to resist shortcuts and instead do our best to create truly representative evaluation datasets to be confident that we&amp;rsquo;ve accurately measured their performance.&lt;/p>
&lt;h3 id="evaluation-metrics">Evaluation metrics&lt;/h3>
&lt;p>Evaluation metrics are what allow us to summarise the results of the evaluation into a single number. Metrics give us a quick way to get an estimation of how close the strategy was to achieving perfect results. They are also useful if we want to compare different strategies with each other or decide whether the strategy is sufficient for our use case, removing the need to compare countless evaluation examples from different strategies against one another.&lt;/p>
&lt;p>The simplest metric is &lt;a href="https://en.wikipedia.org/wiki/Accuracy_and_precision" target="_blank">accuracy&lt;/a>, which can be calculated as the fraction of the dataset examples that were matched correctly. While a commonsense benchmark, accuracy can be misleading, and we generally do not recommend using it. To understand why, let&amp;rsquo;s consider the following small dataset and the responses from two strategies:&lt;/p>
&lt;table>
&lt;thead>
&lt;tr>
&lt;th>Input&lt;/th>
&lt;th>Expected output&lt;/th>
&lt;th>Strategy 1&lt;/th>
&lt;th>Strategy 2&lt;/th>
&lt;/tr>
&lt;/thead>
&lt;tbody>
&lt;tr>
&lt;td>string 1&lt;/td>
&lt;td>ID 1&lt;/td>
&lt;td>ID 1&lt;/td>
&lt;td>ID 1&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>string 2&lt;/td>
&lt;td>ID 2&lt;/td>
&lt;td>ID 3&lt;/td>
&lt;td>Empty output&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>string 3&lt;/td>
&lt;td>Empty output&lt;/td>
&lt;td>Empty output&lt;/td>
&lt;td>Empty output&lt;/td>
&lt;/tr>
&lt;/tbody>
&lt;/table>
&lt;p>Both strategies achieved the same accuracy, 0.67, making one mistake each on the second affiliation string. However, a closer examination reveals that these error types are distinct. The first strategy matched to an incorrect identifier, while the second refused to return any value illustrating the limitation of accuracy as a measure: it generally fails to capture important nuances in strategy behaviour. In our example, the first strategy appears more permissive, returning matches even in unclear circumstances, while the second is more conservative, withholding them when uncertain. Although using such a small dataset would preclude drawing any definitive conclusions, it highlights how relying on accuracy alone can obscure differences in performance.&lt;/p>
&lt;p>For evaluating matching strategies, we instead recommend using two metrics: &lt;a href="https://en.wikipedia.org/wiki/Precision_and_recall" target="_blank">precision and recall&lt;/a>. To recap from our previous blog post:&lt;/p>
&lt;ul>
&lt;li>Precision is calculated as the number of correctly matched relationships resulting from a strategy, divided by the total number of matched relationships. It can also be interpreted as the probability that a match is correct. Low precision indicates a high rate of false positives, which are incorrect relationships created by the strategy.&lt;/li>
&lt;li>Recall is calculated as the number of correctly matched relationships resulting from a strategy, divided by the number of true (expected) relationships. It can also be interpreted as the probability that a true (correct) relationship will be created by the strategy. Low recall means a high rate of false negatives, which are relationships that should have been created by the strategy but were not made.&lt;/li>
&lt;/ul>
&lt;p>Applying these measures to our prior example, the strategies achieved the following results:&lt;/p>
&lt;ul>
&lt;li>Strategy 1: accuracy 0.67, precision 0.5, recall 0.5&lt;/li>
&lt;li>Strategy 2: accuracy 0.67, precision 1.0, recall 0.5&lt;/li>
&lt;/ul>
&lt;p>As we can see, while both strategies have the same accuracy, using precision and recall better describes the difference between the two sets of results. Strategy 1&amp;rsquo;s lower precision indicates it made false positive matches, while Strategy 2&amp;rsquo;s perfect precision shows that it made none. The identical recall scores show both identified half of the possible matches.&lt;/p>
&lt;p>Of course, results calculated using such a small dataset are not very meaningful. If we obtained these scores from a large, representative evaluation dataset, it would indicate to us that Strategy 1 risks introducing many incorrect relationships, while Strategy 2 would be unlikely to do so. In both cases, we would still expect approximately half of the possible relationships to be missing from the strategies&amp;rsquo; outputs.&lt;/p>
&lt;p>Which one is more important to prioritise, precision or recall? It depends on the use case. As a general rule, if you want to use the strategy in a fully automated way, without any form of manual review or correction of the results, we recommend paying more attention to precision. Privileging precision will allow you to better control the number of incorrect relationships added to your data. If you want to use the strategy in a semi-automated fashion, where there is a manual examination of and a chance to correct the results, pay more attention to recall. Doing so will guarantee that enough options are presented during the manual review stage and fewer relationships will be missed as a result.&lt;/p>
&lt;p>To get a more balanced estimation of performance, we can also consider both precision and recall at the same time using a measure called &lt;a href="https://en.wikipedia.org/wiki/F-score" target="_blank">F-score&lt;/a>. F-score combines precision and recall into a single number, with variable weight given to either aspect. There are three commonly used types, each calculated as the weighted &lt;a href="https://en.wikipedia.org/wiki/Harmonic_mean" target="_blank">harmonic mean&lt;/a> of precision and recall:&lt;/p>
&lt;ul>
&lt;li>F0.5: Precision is weighted more heavily. It can be understood as a score that is 50% more sensitive to precision than recall. A high F0.5 score indicates a measure of performance that minimises false positives.&lt;/li>
&lt;li>F1: Equal weight is given to both precision and recall. It can be interpreted as the most balanced score in this set. High F1 indicates good overall performance, with both false positives and false negatives being minimised equally.&lt;/li>
&lt;li>F2: Recall is weighted more heavily. It can be understood as a score that is 50% more sensitive to recall than precision. A high F2 score indicates a measure of performance where false negatives are minimised.&lt;/li>
&lt;/ul>
&lt;p>Each of these variants allows for fine-tuning the evaluation metric to align with your expectations for a specific matching task. Choose whichever reflects the relative importance of precision versus recall for your use case.&lt;/p>
&lt;p>To summarise, to avoid falling prey to misleading sales pitches or silly quizzes, it is important to have a good understanding of the performance of any strategies you are building or integrating. With thorough evaluation, including a representative dataset and carefully considered metrics, we can estimate the quality of matching and, by extension, its resulting relationships.&lt;/p>
&lt;p>Now that we&amp;rsquo;ve covered how to evaluate effectively, we can move on to some other aspects of metadata matching. Our next blog post will take a final, more holistic view of matching, exploring some complementary considerations to all of the preceding. Stay tuned for more!&lt;/p></description></item><item><title>The myth of perfect metadata matching</title><link>https://www-crossref-org.turing.library.northwestern.edu/blog/the-myth-of-perfect-metadata-matching/</link><pubDate>Wed, 28 Aug 2024 00:00:00 +0000</pubDate><author>Dominika Tkaczyk</author><guid>https://www-crossref-org.turing.library.northwestern.edu/blog/the-myth-of-perfect-metadata-matching/</guid><description>&lt;p>In our previous instalments of the blog series about matching (see &lt;a href="https://doi-org.turing.library.northwestern.edu/10.13003/aewi1cai" target="_blank">part 1&lt;/a> and &lt;a href="https://doi-org.turing.library.northwestern.edu/10.13003/zie7reeg" target="_blank">part 2&lt;/a>), we explained what metadata matching is, why it is important and described its basic terminology. In this entry, we will discuss a few common beliefs about metadata matching that are often encountered when interacting with users, developers, integrators, and other stakeholders. Spoiler alert: we are calling them myths because these beliefs are not true! Read on to learn why.&lt;/p>
&lt;p>If you have stuck with us this far in our series, hopefully, you are at least a bit excited about the possibility of creating new relationships between the works, authors, institutions, preprints, datasets, and myriad other objects in our existing scholarly metadata. Who would not want all of these to be better connected?&lt;/p>
&lt;p>We have to pause for a moment and be honest with you: metadata matching is a complex problem, and doing it correctly requires significant effort. What is worse, even if we do everything right, our matching won&amp;rsquo;t be perfect. This may be counterintuitive. Perhaps you&amp;rsquo;ve heard that matching is not a hard problem, or have encountered people surprised that a matching strategy returned a wrong or incomplete answer. Sometimes, it is obvious to a person from looking at some specific example that a match should (or should not) have been made, so they naturally assume that a change to account for this has to be simple.&lt;/p>
&lt;p>Misconceptions like these can be problematic. They create confusion around matching, drive users&amp;rsquo; expectations to unreasonable levels, and make people drastically underestimate the effort needed to build and integrate matching strategies. So let&amp;rsquo;s dive right in and debunk a few common myths about metadata matching.&lt;/p>
&lt;h2 id="myth-1-a-metadata-matching-strategy-should-be-100-correct">Myth #1: A metadata matching strategy should be 100% correct&lt;/h2>
&lt;p>Anyone who has built or supported a matching strategy has likely encountered the following belief: it is possible to develop a perfect strategy, meaning one that always returns the correct results, no matter the inputs. The unfortunate truth is that while one&amp;rsquo;s aim should always be to design matching strategies that return correct results, once we move beyond the simplest class of problems or artificially clean data, no strategy can achieve this outcome. In thinking through why this is the case, some inherent constraints become obvious:&lt;/p>
&lt;p>The inputs to matching are often strings in human-readable formats, which can vary wildly in their structure, order and completeness. Since they&amp;rsquo;re intended to be parsed by people, instead of machines, they&amp;rsquo;re inherently lossy and frequently unstructured, anticipating that a person can infer from the source context what is being referenced. Matching strategies, although built to make sense of unstructured data, unfortunately, don&amp;rsquo;t have the luxury of this flexibility. A strategy has to account for translating a messy, partial, or inconsistent input into a correct and structured match.&lt;/p>
&lt;p>Consider, for example, the following inputs to an affiliation matching strategy:&lt;/p>
&lt;ol>
&lt;li>&amp;ldquo;Department of Radiology, St. Mary&amp;rsquo;s Hospital, London W2 1NY, UK&amp;rdquo;&lt;/li>
&lt;li>&amp;ldquo;Saint Mary&amp;rsquo;s Hospital, Manchester University NHS Foundation Trust&amp;rdquo;&lt;/li>
&lt;li>&amp;ldquo;St. Mary&amp;rsquo;s Medical Center, San Francisco, CA&amp;rdquo;&lt;/li>
&lt;li>&amp;ldquo;St Mary&amp;rsquo;s Hosp., Dublin&amp;rdquo;&lt;/li>
&lt;li>&amp;ldquo;St Mary&amp;rsquo;s Hospital Imperial College Healthcare NHS Trust&amp;rdquo;&lt;/li>
&lt;li>&amp;ldquo;聖マリア病院&amp;rdquo;&lt;/li>
&lt;/ol>
&lt;p>In order to correctly identify the organisations mentioned here, the matching strategy must be able to distinguish between different ways of representing the same institution, disambiguate multiple institutions that have similar names, and handle variant forms for the parts of each name (Saint/St./St), identify the same name in different languages (&amp;ldquo;聖マリア病院&amp;rdquo; is Japanese for &amp;ldquo;St. Mary&amp;rsquo;s Hospital&amp;rdquo;), and make assumptions about partial or ambiguous locations translating to more precise references. While a person reviewing each of these strings might be able to accomplish these tasks, even here there are some challenges. Does &amp;ldquo;St Mary&amp;rsquo;s Hosp., Dublin&amp;rdquo; refer to the hospital in Ireland or a separate hospital in one of the many cities that share this name? Should we presume that because &amp;ldquo;聖マリア病院&amp;rdquo; is in Japanese, this refers to a hospital in Japan? Would someone, by default, be aware that St. Mary&amp;rsquo;s Hospital in London is part of the Imperial College Healthcare NHS Trust, such that inputs one and five refer to the same organisation?&lt;/p>
&lt;p>An additional challenge lies in the quality of the data, which in the context of matching, encompasses both the input and the dataset being matched against. In real world circumstances, no dataset is fully accurate, complete, or current and certainly not all three. As a result, there will always be functionally random differences between inputs to the strategy and the entities to be matched. A theoretically perfect matching strategy would thus need to distinguish between inconsequential discrepancies resulting from gaps, errors, and variable forms of reference and actual, meaningful differences indicating an incorrect match. As one might imagine, this would require near total knowledge of the meaning and context for all inputs and outputs, a nigh-on impossible task for any person or system!&lt;/p>
&lt;p>As a consequence, no metadata matching strategy will ever be perfect. It is unreasonable for us to expect them to be. This does not mean, of course, that all strategies are equally flawed or destined to forever return middling results. Some are better than others and we can improve them over time. Which brings us to the next myth:&lt;/p>
&lt;h2 id="myth-2-it-is-always-a-good-idea-to-adapt-the-matching-strategy-to-a-specific-input">Myth #2: It is always a good idea to adapt the matching strategy to a specific input&lt;/h2>
&lt;p>Matching strategies are not static. They can - and should - be improved. There is, however, a deceptive trap that one can fall into when attempting to improve a matching strategy. Whenever we encounter an incorrect or missing result for a specific input, we treat this problem like a software bug and try to adapt the strategy to work better for it, without considering all other cases.&lt;/p>
&lt;p>The more complicated reality is that the quality of matching results is controlled through a complex set of trade-offs between &lt;a href="https://en.wikipedia.org/wiki/Precision_and_recall" target="_blank">precision and recall&lt;/a> that determine the kind and number of relationships created between items:&lt;/p>
&lt;ul>
&lt;li>Precision is calculated as the number of correctly matched relationships resulting from a strategy, divided by the total number of matched relationships. It can also be interpreted as the probability that a match is correct. Low precision indicates a high rate of false positives, which are incorrect relationships created by the strategy.&lt;/li>
&lt;li>Recall is calculated as the number of correctly matched relationships resulting from a strategy, divided by the number of true (expected) relationships. It can also be interpreted as the probability that a true (correct) relationship will be created by the strategy. Low recall means a high rate of false negatives, which are relationships that should have been created by the strategy but were not made.&lt;/li>
&lt;/ul>
&lt;div style="text-align:center;margin:10px">
&lt;figure class="img-responsive">&lt;img src="https://www-crossref-org.turing.library.northwestern.edu/images/blog/2024/false-positives-negatives.png"
alt="False positives and false negatives" width="75%">&lt;figcaption>
&lt;p>The diagram depicts false negatives and false positives. The ideal outcome would be that the ellipses are identical, matched relationships are exactly the same as true relationships, and there are no false negatives or false positives. In practice, we try to make the intersection as big as possible.&lt;/p>
&lt;/figcaption>
&lt;/figure>
&lt;/div>
&lt;p>The tradeoff between precision and recall roughly means that modifying the strategy to improve recall will decrease precision, and vice versa.&lt;/p>
&lt;p>Imagine, for example, we received a report about a relationship that was missed by matching because of a partial, noisy, or ambiguous input. We might be tempted to resolve this issue by relaxing our matching criteria. Unfortunately, this will have a cost of a higher overall rate of false positive matches.&lt;/p>
&lt;p>Conversely, if we encounter a case where the matching has returned an incorrect match, we might attempt to make the matching strategy stricter to avoid this result. We should remember, however, that this may have the consequence of causing the strategy to skip many perfectly valid matches.&lt;/p>
&lt;div style="text-align:center;margin:10px">
&lt;figure class="img-responsive">&lt;img src="https://www-crossref-org.turing.library.northwestern.edu/images/blog/2024/precision-recall-tradeoff.png"
alt="The tradeoff between precision and recall" width="50%">&lt;figcaption>
&lt;p>The tradeoff between precision and recall. (a) A strict strategy prioritises precision over recall resulting in more false negatives. (b) A relaxed strategy prioritises recall over precision resulting in more false positives.&lt;/p>
&lt;/figcaption>
&lt;/figure>
&lt;/div>
&lt;p>Striking this balance becomes even more difficult when attempting to address multiple issues at once, or considering constraints like the time and resources consumed by each aspect of the strategy. Each choice can compound the individual effects in unanticipated and expensive ways. The aim of matching ultimately then can&amp;rsquo;t be to achieve perfect results for every single case. Fixing one particular situation might not be desirable, as it can result in breaking multiple other cases. Instead, we have to find a locally optimal balance that optimises the strategy&amp;rsquo;s utility, relative to these inherent limitations. This means accepting some level of imperfection as not just inevitable, but necessary for implementing a workable strategy. When you consider all this, you might conclude that…&lt;/p>
&lt;h2 id="myth-3-we-shouldnt-do-large-scale-unsupervised-matching">Myth #3: We shouldn&amp;rsquo;t do large-scale, unsupervised matching&lt;/h2>
&lt;p>Imperfect matching strategies, when applied automatically to real-world large datasets, might:&lt;/p>
&lt;ul>
&lt;li>Fail to discover some relationships (false negatives), an outcome that may not be terribly problematic. In the worst case scenario, we have wasted a great deal of effort developing matching strategies that do not improve our metadata.&lt;/li>
&lt;li>Create incorrect relationships between items (false positives), what seems like a potentially larger problem, where we have added incorrect relationships to the metadata.&lt;/li>
&lt;/ul>
&lt;p>Many have the instinct to avoid false positives at any cost, even if this means missing many additional correct relationships at the same time. They might come to the conclusion that if we cannot have 100% precision (see our previous myth), we simply should not allow matching strategies to act in an automated, unsupervised way on large datasets. While there might be circumstances where this belief is rational, in the context of the scholarly record, this notion is seriously flawed.&lt;/p>
&lt;p>First, if you are dealing with any medium to large-sized dataset, it almost certainly contains errors, even before you apply any automated processing to it. Even if data is submitted and curated by users, they can still make mistakes, and might themselves be using automated tools for extracting the data from other sources, without your knowledge. It is thus not entirely obvious that applying an (imperfect) matching strategy to create more relationships would actually make the data quality worse.&lt;/p>
&lt;p>Second, while we cannot eliminate all matching errors, we can place a high priority on precision when developing strategies, with the aim of keeping the number of incorrectly matched results as low as possible. We can also make use of additional mechanisms to easily correct for incorrectly matched results, for example doing so manually, in response to error reports.&lt;/p>
&lt;p>Finally, the results of matching should always contain provenance information to distinguish them from those that have been manually curated. This way, the users can make their own decisions about whether to use and trust the matching results, relative to their use case.&lt;/p>
&lt;p>By applying those additional checks, we can minimise the negative effects of incorrect matching, while at the same time reap the benefits of filling gaps in the scholarly record.&lt;/p>
&lt;h2 id="myth-4-we-can-only-ever-guess-at-the-accuracy-of-our-matching-results">Myth #4: We can only ever guess at the accuracy of our matching results&lt;/h2>
&lt;p>In attempting to determine the correctness of our matching, we immediately encounter a number of inherent limitations. The sheer amount of entries in many datasets prevents a thorough, manual validation of the results, but if instead, we use too few or specific items as our benchmarks, these are unlikely to be representative of overall performance. The unpredictable nature of future data adds another wrinkle: will our matching always be as successful as when we first benchmarked it or will its performance degrade relative to some change in the data?&lt;/p>
&lt;p>With so many unknowns, are we then doomed? No! We have rigorous and scientific tools at our disposal that can help us estimate how accurate our matching will be. How do we use them? Well, that is a big and fairly technical topic, so we will leave you with this little cliffhanger. See you in the next post!&lt;/p></description></item><item><title>The anatomy of metadata matching</title><link>https://www-crossref-org.turing.library.northwestern.edu/blog/the-anatomy-of-metadata-matching/</link><pubDate>Thu, 27 Jun 2024 00:00:00 +0000</pubDate><author>Dominika Tkaczyk</author><guid>https://www-crossref-org.turing.library.northwestern.edu/blog/the-anatomy-of-metadata-matching/</guid><description>&lt;p>In our &lt;a href="https://doi-org.turing.library.northwestern.edu/10.13003/aewi1cai" target="_blank">previous blog post&lt;/a> about metadata matching, we discussed what it is and why we need it (tl;dr: to discover more relationships within the scholarly record). Here, we will describe some basic matching-related terminology and the components of a matching process. We will also pose some typical product questions to consider when developing or integrating matching solutions.&lt;/p>
&lt;h2 id="basic-terminology">Basic terminology&lt;/h2>
&lt;p>Metadata matching is a high-level concept, with many different problems falling into this category. Indeed, no matter how much we like to focus on the similarities between different forms of matching, matching affiliation strings to ROR IDs or matching preprints to journal papers are still different in several important ways. At Crossref and ROR, we call these problems matching tasks.&lt;/p>
&lt;p>Simply put, a &lt;strong>matching task&lt;/strong> defines the kind or nature of the matching. Examples of matching tasks are bibliographic reference matching, affiliation matching, grant matching, or preprint matching.&lt;/p>
&lt;p>Every matching task has an input, which is all the data that is needed to perform the matching. Input data can come in many shapes and forms, depending on the matching task. For example, all of the following could be inputs to a matching task:&lt;/p>
&lt;pre tabindex="0">&lt;code>Department of Molecular Medicine, Sapporo Medical University, Sapporo 060-8556, Japan
&lt;/code>&lt;/pre>&lt;pre tabindex="0">&lt;code>&amp;lt;fr:program xmlns:fr=&amp;#34;http://www.crossref.org.turing.library.northwestern.edu/fundref.xsd&amp;#34; name=&amp;#34;fundref&amp;#34;&amp;gt;
&amp;lt;fr:assertion name=&amp;#34;fundgroup&amp;#34;&amp;gt;
&amp;lt;fr:assertion name=&amp;#34;funder_name&amp;#34;&amp;gt;
European Union&amp;#39;s Horizon 2020 Research and Innovation Program through Marie Sklodowska Curie
&amp;lt;fr:assertion name=&amp;#34;funder_identifier&amp;#34;&amp;gt;https://doi-org.turing.library.northwestern.edu/10.13039/501100000780&amp;lt;/fr:assertion&amp;gt;
&amp;lt;/fr:assertion&amp;gt;
&amp;lt;fr:assertion name=&amp;#34;award_number&amp;#34;&amp;gt;721624&amp;lt;/fr:assertion&amp;gt;
&amp;lt;/fr:assertion&amp;gt;
&amp;lt;/fr:program&amp;gt;
&lt;/code>&lt;/pre>&lt;pre tabindex="0">&lt;code>Everitt, W. N., &amp;amp; Kalf, H. (2007). The Bessel differential equation and the Hankel transform. Journal of Computational and Applied Mathematics, 208(1), 3–19.
&lt;/code>&lt;/pre>&lt;pre tabindex="0">&lt;code>{
&amp;#34;title&amp;#34;: &amp;#34;Functional single-cell genomics of human cytomegalovirus infection&amp;#34;,
&amp;#34;issued&amp;#34;: &amp;#34;2021-10-25&amp;#34;,
&amp;#34;author&amp;#34;: [
{&amp;#34;given&amp;#34;: &amp;#34;Marco Y.&amp;#34;, &amp;#34;family&amp;#34;: &amp;#34;Hein&amp;#34;},
{&amp;#34;given&amp;#34;: &amp;#34;Jonathan S.&amp;#34;, &amp;#34;family&amp;#34;: &amp;#34;Weissman&amp;#34;, &amp;#34;ORCID&amp;#34;: &amp;#34;http://orcid.org/0000-0003-2445-670X&amp;#34;}
]
}
&lt;/code>&lt;/pre>&lt;p>Every matching task also has an &lt;strong>output&lt;/strong>. For our purposes, this is almost exclusively zero or more matched identifiers. In the context of a specific matching task, output identifiers may be of a specific type (e.g. we might match to a ROR ID, and never to an ORCID ID). In some cases, there can be a certain target set as well (i.e. matching only to DataCite DOIs). The output identifiers can have different &lt;a href="https://en.wikipedia.org/wiki/Cardinality" target="_blank">cardinality&lt;/a> depending on the task, meaning that the matching task might allow for zero, one, or more identifiers as a result of matching to a single input.&lt;/p>
&lt;p>A &lt;strong>matching strategy&lt;/strong> defines how the matching is done. Multiple strategies can exist for a specific matching task. Compound strategies can run other strategies and combine their outcomes into a single result.&lt;/p>
&lt;p>In some cases, we may also want the matching strategy to output a confidence score for each matched identifier. A confidence score represents the degree of certainty or likelihood that the matched identifier is correct, typically expressed as a value between 0 and 1. This score may help with post-processing or further interpretation of the results.&lt;/p>
&lt;p>To summarise, the anatomy of the matching task can be diagrammed as follows:&lt;/p>
&lt;div style="text-align:center;margin:10px">
&lt;figure class="img-responsive">&lt;img src="https://www-crossref-org.turing.library.northwestern.edu/images/blog/2024/matching-task-anatomy.png"
alt="The anatomy of the matching task" width="75%">
&lt;/figure>
&lt;/div>
&lt;br />
&lt;h2 id="how-to-specify-a-matching-task">How to specify a matching task&lt;/h2>
&lt;p>Whenever we plan the development or integration of a matching solution, it is good to begin by answering a few basic questions:&lt;/p>
&lt;ol>
&lt;li>What problem do we plan to solve with our matching task? What would we call our matching task and how would we describe it?&lt;/li>
&lt;li>What do we expect as the input for this matching task? Which input formats do we need to be able to accept? What information do we expect to find in this input?&lt;/li>
&lt;li>What kind of identifiers should be output? Is there a target set of identifiers? Can our matching output zero/one/or multiple identifiers, and under what conditions might that occur?&lt;/li>
&lt;/ol>
&lt;p>These sound fairly simple, but the answers to these questions can be remarkably complex. Once one tries to apply these concepts to real-world problems, they might encounter several non-obvious challenges.&lt;/p>
&lt;p>For example, one common concern is at what level we should define each matching task. Consider the following problems:&lt;/p>
&lt;ol>
&lt;li>Matching bibliographic reference strings to DOIs. Example input:&lt;/li>
&lt;/ol>
&lt;pre tabindex="0">&lt;code>Everitt, W. N., &amp;amp; Kalf, H. (2007). The Bessel differential equation and the Hankel transform. Journal of Computational and Applied Mathematics, 208(1), 3–19.
&lt;/code>&lt;/pre>&lt;ol start="2">
&lt;li>Matching structured bibliographic reference to DOIs. Example input:&lt;/li>
&lt;/ol>
&lt;pre tabindex="0">&lt;code>{
volume: &amp;#34;208&amp;#34;,
author: &amp;#34;Everitt&amp;#34;,
journal-title: &amp;#34;J. Comput. Appl. Math.&amp;#34;,
article-title: &amp;#34;The Bessel differential equation and the Hankel transform&amp;#34;,
first-page: &amp;#34;3&amp;#34;,
year: &amp;#34;2007&amp;#34;,
issue: &amp;#34;1&amp;#34;
}
&lt;/code>&lt;/pre>&lt;p>Are those discrete matching tasks (&lt;em>unstructured reference matching&lt;/em> vs. &lt;em>structured reference matching&lt;/em>), or are they the same task (&lt;em>reference matching&lt;/em>) that can accept different types of inputs (unstructured or structured)?&lt;/p>
&lt;p>Similarly, let&amp;rsquo;s compare the following tasks:&lt;/p>
&lt;ol>
&lt;li>Matching affiliation strings to ROR IDs. Example input:&lt;/li>
&lt;/ol>
&lt;pre tabindex="0">&lt;code>Department of Molecular Medicine, Sapporo Medical University, Sapporo 060-8556, Japan
&lt;/code>&lt;/pre>&lt;ol start="2">
&lt;li>Matching funder names to ROR IDs. Example input:&lt;/li>
&lt;/ol>
&lt;pre tabindex="0">&lt;code>Alexander von Humboldt Foundation
&lt;/code>&lt;/pre>&lt;p>Are these different matching tasks (&lt;em>affiliation matching&lt;/em> vs. &lt;em>funder matching&lt;/em>), or the same task with different inputs (&lt;em>organisation matching&lt;/em>)?&lt;/p>
&lt;p>Defining the boundaries of a matching task can also be difficult. Consider, for example, the need to obtain ROR IDs for organisations mentioned in the acknowledgements section of a full-text academic paper. To begin, one may first extract the acknowledgement section from the full text, then run something like a named entity recognition (NER) tool to isolate the organisation names from the extracted text, and finally match these names to ROR IDs. Is this entire process matching, with the input being the full text of a paper? Or perhaps matching starts with the acknowledgement section as the input? Instead, is it only the last phase, where we try to match the extracted name to the ROR ID, that constitutes the matching task, with the extraction phases being completely separate processes?&lt;/p>
&lt;p>There are also important questions related to the expected behaviour of a matching strategy. Consider, for example, developing an affiliation matching strategy where we define our input as &amp;ldquo;an affiliation string&amp;rdquo;. What should happen when the strategy gets something else on the input, for example, song lyrics? Perhaps the strategy should simply return no matches, or an error, or we could say that in such a situation the behaviour is undefined and it simply doesn&amp;rsquo;t matter what is returned. But what should happen if in this input we have the lyrics of &lt;a href="https://www.azlyrics.com/lyrics/roxymusic/streetlife.html" target="_blank">Street Life by Roxy Music&lt;/a>, a song that mentions the names of a few universities that happen to have ROR IDs?&lt;/p>
&lt;p>It is likewise important to consider what should happen if different parts of the input match to different identifiers, like in the following example:&lt;/p>
&lt;pre tabindex="0">&lt;code>Department of Haematology, Eastern Health and Monash University, Box Hill, Australia
&lt;/code>&lt;/pre>&lt;p>Here, &amp;ldquo;Eastern Health&amp;rdquo; matches to &lt;a href="https://ror.org/00vyyx863" target="_blank">https://ror.org/00vyyx863&lt;/a> and &amp;ldquo;Monash University&amp;rdquo; to &lt;a href="https://ror.org/02bfwt286" target="_blank">https://ror.org/02bfwt286&lt;/a>. Should the matching strategy return all the identifiers, one of them (if so, which one?), or nothing at all?&lt;/p>
&lt;p>Similar questions arise when it is possible to match to multiple versions (or duplicates) in the target identifier set. This can happen, for example, in the context of bibliographic reference matching or preprint matching. Multiple matches may occur when there are different editions, reprints, or variations of the same publication in the target dataset, each with its own unique identifier.&lt;/p>
&lt;p>If you are waiting for an answer to these questions, we unfortunately must disappoint you here. These can only be answered in the context of a specific problem, considering who the users are and what it is they need and expect.&lt;/p>
&lt;p>Did you notice any other subtleties related to metadata matching and its concerns? Are there other non-obvious questions that should be considered when planning to develop or integrate metadata matching strategies? Let us know—we&amp;rsquo;d love to hear from you!&lt;/p></description></item><item><title>Metadata matching 101: what is it and why do we need it?</title><link>https://www-crossref-org.turing.library.northwestern.edu/blog/metadata-matching-101-what-is-it-and-why-do-we-need-it/</link><pubDate>Thu, 16 May 2024 00:00:00 +0000</pubDate><author>Dominika Tkaczyk</author><guid>https://www-crossref-org.turing.library.northwestern.edu/blog/metadata-matching-101-what-is-it-and-why-do-we-need-it/</guid><description>&lt;p>At Crossref and ROR, we develop and run processes that match metadata at scale, creating relationships between millions of entities in the scholarly record. Over the last few years, we&amp;rsquo;ve spent a lot of time diving into details about metadata matching strategies, evaluation, and integration. It is quite possibly &lt;a href="https://doi-org.turing.library.northwestern.edu/10.64000/pdm9z-20m09" target="_blank">our&lt;/a> &lt;a href="https://doi-org.turing.library.northwestern.edu/10.64000/e6ey2-wce96" target="_blank">favourite&lt;/a> &lt;a href="https://doi-org.turing.library.northwestern.edu/10.64000/txft6-s1481" target="_blank">thing&lt;/a> to &lt;a href="https://www.youtube.com/watch?v=Tx5y7lX030U" target="_blank">talk&lt;/a> and &lt;a href="https://doi-org.turing.library.northwestern.edu/10.64000/ske16-xve54" target="_blank">write&lt;/a> &lt;a href="https://doi-org.turing.library.northwestern.edu/10.64000/dpcc9-k4564" target="_blank">about&lt;/a>! But sometimes it is good to step back and look at the problem from a wider perspective. In this blog, the first one in a series about metadata matching, we will cover the very basics of matching: what it is, how we do it, and why we devote so much effort to this problem.&lt;/p>
&lt;h2 id="what-is-metadata-matching">What is metadata matching?&lt;/h2>
&lt;p>Would you be able to find the DOI for the work referenced in this citation?&lt;/p>
&lt;pre tabindex="0">&lt;code>Everitt, W. N., &amp;amp; Kalf, H. (2007). The Bessel differential equation and the Hankel transform. Journal of Computational and Applied Mathematics, 208(1), 3–19.
&lt;/code>&lt;/pre>&lt;p>We bet you could! You might begin, for example, by pasting the whole citation, or only the title, into a search engine of your choice. This would probably return multiple results, which you would quickly skim. Then you might click on the links for a few of the top results, those that look promising. Some of the websites you visit might contain a DOI. Perhaps you would briefly compare the metadata provided on the website against what you see in the citation. If most of this information matches (see what we did there?), you would conclude that the DOI from that website is, in fact, the DOI for the cited paper.&lt;/p>
&lt;p>Well done! You just performed metadata matching, specifically, bibliographic reference matching. Matching in general can be defined as the task or process of finding an identifier for an item based on its structured or unstructured &amp;ldquo;description&amp;rdquo; (in this case: finding a DOI of a cited article based on a citation string).&lt;/p>
&lt;p>But matching doesn&amp;rsquo;t have to just be about citations and DOIs. There are many other instances of matching we can think of, for example:&lt;/p>
&lt;ul>
&lt;li>finding the ROR ID for an organisation based on an affiliation string,&lt;/li>
&lt;li>finding the ORCID ID for a researcher based on the person&amp;rsquo;s name and affiliation,&lt;/li>
&lt;li>finding the ROR ID for a funder based on the acknowledgements section of a research paper,&lt;/li>
&lt;li>finding the grant DOI based on an award number and a funder name.&lt;/li>
&lt;/ul>
&lt;p>Matching doesn&amp;rsquo;t have to be done manually. It is possible to develop fully automated strategies for metadata matching and employ them at scale. It is also possible to use a hybrid approach, where automated strategies assist users by providing suggestions.&lt;/p>
&lt;p>Developing automated matching strategies is not a trivial task, and if we want to do it right, it takes a great deal of time and effort. This brings us to our next question: is it worth it?&lt;/p>
&lt;h2 id="why-do-we-need-matching">Why do we need matching?&lt;/h2>
&lt;p>In short, metadata matching gives us a more complete picture of &lt;a href="https://www-crossref-org.turing.library.northwestern.edu/documentation/research-nexus/">the research nexus&lt;/a> by discovering missing relationships between various entities within and throughout the scholarly record:&lt;/p>
&lt;div style="text-align:center;margin:10px">
&lt;figure class="img-responsive">&lt;img src="https://www-crossref-org.turing.library.northwestern.edu/images/blog/2024/matching-101-relationships.png"
alt="Example relationships in the scholarly record" width="75%">
&lt;/figure>
&lt;/div>
&lt;br />
&lt;p>These relationships are very powerful. They provide important context for any entity, whether it is a research output, a funder, a research institution, or an author. Imagine for a moment the scholarly record without any such relationships, where all bibliographic references, affiliations (institution names and addresses), and funding information (funder names and grant titles) are provided as unstructured strings only. In such a world, how would you calculate the number of times a particular research paper was cited? How would you get a list of research outputs supported by a specific funder? It would be incredibly challenging to navigate, summarise, and describe research activities, especially considering the scale. Thankfully, these and many other questions can be answered thanks to metadata matching that discovers relationships between entities in the scholarly record.&lt;/p>
&lt;p>There are two primary ways we can use metadata matching in our workflows: as semi-automated tools that help users look up the appropriate identifiers or as fully automated processes that enrich the metadata in various scholarly databases.&lt;/p>
&lt;p>The first approach is quite similar to the example we described at the beginning. If you are submitting scholarly metadata, for example of a new article to be published, you can use metadata matching to look up identifiers for the various entities and include these identifiers in the submission. For example, with the help of metadata matching, instead of submitting citation strings, you could provide the DOIs for works cited in the paper and instead of the name and address of your organisation, you could provide its ROR ID. To make this easier for people, metadata submission systems and applications sometimes integrate metadata matching tools into user interfaces.&lt;/p>
&lt;p>The second approach allows large, existing sources of scholarly metadata to be enriched with identifiers in a fully automated way. For example, we can match affiliation strings to ROR IDs using a combination of machine learning models and ROR&amp;rsquo;s default matching service, effectively adding more relationships between people and organisations. We can also &lt;a href="https://doi-org.turing.library.northwestern.edu/10.64000/dpcc9-k4564" target="_blank">compare journal articles and preprints metadata&lt;/a> in the Crossref database by calculating similarity scores for titles, authors, and years of publication to match them with each other and provide more relationships between preprints and journal articles. This automated enrichment can be done at any point in time, even after research outputs have been formally published.&lt;/p>
&lt;p>There are fundamental differences between these two approaches. The first is done under the supervision of a user, and for the second, the matching strategy makes all the decisions autonomously. As a result, the first approach will typically (although not always) result in better quality matches. By contrast, the second approach is much faster, generally less expensive, and scales to even very large data sources.&lt;/p>
&lt;p>In the end, no matter what approach is used, the goal is to achieve a more complete accounting of the relationships between entities in the scholarly record.&lt;/p>
&lt;p>This blog is the first one in a series about metadata matching. In the coming weeks, we will cover more detail about the product features related to metadata matching, explain why metadata matching is not a trivial problem, and share how we can develop, assess, compare, and choose matching strategies. Stay tuned!&lt;/p></description></item></channel></rss>