← Latest papers
💬 NLP

ToMMeR -- Efficient Entity Mention Detection from Large Language Models

ToMMeR is a lightweight model that demonstrates mention detection naturally emerges from language modeling and achieves competitive Named Entity Recognition performance by efficiently recovering structured entity representations from early transformer layers with minimal parameters.

Original authors: Victor Morand, Nadi Tomeh, Josiane Mothe, Benjamin Piwowarski

Published 2026-04-21
📖 4 min read☕ Coffee break read

Original authors: Victor Morand, Nadi Tomeh, Josiane Mothe, Benjamin Piwowarski

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you have a massive, super-smart library assistant (a Large Language Model, or LLM) who has read almost everything on the internet. This assistant is incredibly good at writing stories, answering questions, and chatting. But, if you ask it to "find all the names of people and places in this text," it often gets confused, misses things, or makes up facts. It's like asking a brilliant novelist to act as a librarian; they have the knowledge, but they aren't using the right tool for the job.

This paper introduces ToMMeR, a tiny, super-efficient "add-on" that turns that brilliant novelist into a lightning-fast, hyper-accurate librarian.

Here is the breakdown using simple analogies:

1. The Problem: The "Goldilocks" Bottleneck

In the world of AI, finding specific things in text (like "Marie Curie" or "Tesla Inc.") is called Entity Mention Detection.

  • The Old Way: We used to build huge, heavy robots (massive AI models) trained specifically to find these names. They were slow, expensive, and only knew the specific rules they were taught. If you asked them to find a new type of thing, they failed.
  • The New Problem: We realized that the giant LLMs (the "novelists") already know how to find these names deep inside their brain, but they don't know how to "speak" that information out unless we force them to write a whole new essay about it.

2. The Solution: ToMMeR (The "Flashlight")

The authors created ToMMeR. Think of ToMMeR not as a new brain, but as a tiny, specialized flashlight (less than 300,000 parameters—tiny compared to the billions in a standard AI).

  • How it works: Instead of making the giant AI write a new story, ToMMeR just shines its flashlight on the early layers of the AI's brain while it's reading a sentence.
  • The Analogy: Imagine the AI is a giant, complex factory. The "mention detection" (finding names) happens on the very first assembly line, but the factory usually ignores it and keeps processing the product. ToMMeR is a small sensor attached to that first line that says, "Hey! That looks like a name! I'll flag it!"
  • The Result: It finds names 42 times faster than asking the AI to chat about them, and it catches almost everything (93% recall).

3. The "Aha!" Moment: Everyone Sees the Same Thing

The researchers did something fascinating. They tested ToMMeR on many different AI models, ranging from tiny ones (14 million parameters) to huge ones (15 billion parameters).

  • The Discovery: No matter which AI model they used, the "flashlight" found the exact same boundaries for names.
  • The Metaphor: It's like asking 100 different people (from a child to a professor) to draw a circle around the word "Apple" in a sentence. Even though they are different people, they all draw the circle in the exact same spot.
  • Why this matters: This proves that finding names isn't a special skill we have to teach AI. It's a natural byproduct of learning language. As soon as an AI learns to predict the next word in a sentence, it automatically learns where the "things" (entities) begin and end.

4. The "Judge" Problem: How do we know it's right?

Usually, we check if an AI is right by comparing it to a "Gold Standard" list (like a textbook answer key). But these answer keys are often incomplete. They might miss nested names or weird concepts.

  • The Solution: The authors used a "Judge" (another AI, GPT-4) to review the work. They asked the Judge: "Is this a real thing, even if it's not in the textbook?"
  • The Result: ToMMeR was incredibly accurate. It rarely made up fake names. It found things the textbooks missed, proving it understands the concept of an entity, not just a list of rules.

5. Why Should You Care?

  • Speed & Cost: ToMMeR is so small and fast that it can run in real-time. You could plug it into a live chat or a news feed to instantly tag important people and places without slowing anything down.
  • Flexibility: Because it learns the idea of an entity rather than a specific list, it works on almost any topic (politics, biology, manufacturing) without needing to be retrained.
  • The Future: This suggests that the "magic" of AI isn't just in the big, expensive models, but in the simple, structured patterns that emerge naturally when they learn to speak. We just need to learn how to listen to them.

In a nutshell: ToMMeR is a tiny, cheap, super-fast tool that unlocks the hidden ability of giant AI models to find names and things in text, proving that this skill is a natural part of how AI learns to understand the world.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →