About Debbie Ginsberg

Manager of Emerging Technology Initiatives at Harvard Law School Library. Yes, I made up that title. Yes, my teen-age daughter makes fun of me for it.

Replacement or addition? AI as a tool for legal research

I’m excited to join the AI Law Librarians blog team! I wasn’t sure how to get started, so let’s begin with some random thoughts about research that I’ve been trying to formulate.

It starts with a research question: in Massachusetts, is it legal to drive a Segway while intoxicated?

I can see my research question in my head; I have a general idea of what I want to know. But now I need to filter what’s in my head into something that my legal research resources can understand. Up until recently, I had three tools I could use for this task: Secondary sources, Boolean, and natural language. All of these require me to translate the search in my head to a search that those tools can work with (even natural language).

For the first two search types, it’s obvious how and why I must translate my thoughts to fit the tools. Neither maps directly onto my research question. I have to make my question fit the tools.

When searching with Boolean, I’ll need to focus on these same considerations as well as add one more element: how will the terms in my research question map to the database I’m using? If I’ve already used secondary sources, I may have discovered a few good keywords. But will these terms appear in the same sentence? Paragraph? Do I want to find instances where the terms appear multiple times? Do I just want to search the headnotes? Should I search for a phrase in quotes?

I can search secondary sources with Boolean or natural language, to be sure, but I can also use their indexes and tables of contents. But to use those, I need to think beyond the terms in my initial question. I must translate the question in my head to match how the treatise’s author might have organized the information I want within their text. Let’s say I found a treatise on DUIs in Massachusetts. Does the treatise’s table of contents use “intoxication” or “under the influence”? In the index, am I likely to find any entries specifically about Segways, or will I need to look for “personal mobility devices”?

Natural language searching may seem straightforward – just copy the question into the search bar and hit enter. But even this tool requires a certain amount of translating. The same question in multiple databases can produce remarkably different results, and the reasons why aren’t all that clear. And even small changes in phrasing the query can drastically change the outcome in the same database. “Is it legal to drive a Segway while intoxicated” does not produce the same results as “Is it legal to drive a Segway while under the influence”.

But now that we have AI, I can just plug what’s in my head directly into its search box, correct? AI seems like it should be a system where we can just ask the question as written in our heads and get a reasonable answer. These days, we don’t even have to design extremely intricate prompts.

And yet.

Whatever else it can do, AI can’t read my mind – it’s still guessing. It doesn’t think like a person, let alone like the specific person with a specific research question. We can ask the AI to help write the search better, but this is still a translation from what’s in my head to what the machine can process. While “Is it legal to drive a Segway while intoxicated” will produce pretty much the same outcome as “Is it legal to drive a Segway while under the influence,” there are likely to be nuances and context the AI knows nothing about. Do I also want to see results from other states? Did I mean for the AI to include local regulations? AI doesn’t know, though sometimes it will make a good guess. We still have to think about prompting.

It’s not likely we’ll create a tool that just “gets us” and understands what we want just from our asking (well not yet – who knows). But the kind of translation each tool requires helps us decide when and where to use it. We use secondary sources when we want to bridge the gap between what we know now and what an expert already knows. We use Boolean when we know what language we are looking for and want to target our results. We use natural language when we want to search more broadly using language close to what we understand. And we use AI when we want a search that is focused but still looks for concepts (not just words) beyond the specific terms in our search (or, as in this case, to try to prove a negative – it turns out there is nothing definitive about whether it’s illegal to ride a Segway while drunk in MA).

No single tool can handle every research need. The first three have served us well for decades, and AI gives us options we didn’t have before. But AI is still just that: an option. Not a replacement.