← Latest papers
🤖 AI

Loong: A Human-Like Long Document Translation Agent with Observe-and-Act Adaptive Context Selection

The paper introduces Loong, a human-like agent for long document translation that employs a 3E memory module and reinforcement learning-based adaptive context selection to overcome window limitations and redundancy, achieving significant quality improvements and robustness across multiple languages and domains.

Original authors: Yutong Wang, Xuebo Liu, Derek F. Wong, Zhilin Li, Rongqing Jiang, Min Zhang, Shimin Tao, Daimeng Wei, Min Zhang

Published 2026-05-29
📖 4 min read☕ Coffee break read

Original authors: Yutong Wang, Xuebo Liu, Derek F. Wong, Zhilin Li, Rongqing Jiang, Min Zhang, Shimin Tao, Daimeng Wei, Min Zhang

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 are trying to translate a massive, 500-page novel from Chinese to English. If you try to feed the whole book into a standard AI translator at once, it gets overwhelmed. It's like trying to drink from a firehose; the AI forgets the beginning of the story by the time it reaches the middle, or it gets confused by too much information and starts hallucinating details.

This is the problem the paper LOONG solves. The authors built a "human-like" AI agent that translates long documents by thinking and acting more like a professional human translator than a simple machine.

Here is how LOONG works, broken down into simple concepts:

1. The "3E" Memory Bank (The Translator's Notebook)

Human translators don't just read a sentence and translate it in isolation. They keep a mental notebook of three specific things as they work through a book. LOONG does the same with a "3E" memory module:

  • Essence (The Summary): A brief summary of what happened in the previous chapters. This helps the AI remember the "big picture" and the general mood of the story.
  • Exemplars (The Style Guide): Examples of how specific sentences were translated earlier. If a character was called "Captain" in chapter 1, the AI looks at its notebook to ensure it doesn't accidentally call them "Major" in chapter 10.
  • Entities (The Character Roster): A structured list of who is who. It tracks names, roles, and relationships (e.g., "Korren is a Lieutenant," "Xiao is the Captain"). This prevents the AI from getting confused about who is talking to whom.

2. The "Observe-and-Act" Detective Work

Most AI agents just dump all their notes into the translation process, which is like trying to find a needle in a haystack while the whole haystack is on fire. It creates "noise."

LOONG is different. It acts like a detective:

  • Observe: It looks at the current sentence it needs to translate and checks its "3E" notebook.
  • Act: Instead of using everything in the notebook, it uses deep reasoning to ask: "Do I actually need this specific summary? Is this character name relevant right now?"
  • Filter: It actively throws away the useless information (the noise) and keeps only the helpful clues.

3. Learning by Doing (The "Try, Fail, Learn" Loop)

How did the AI learn to be so good at filtering? The researchers didn't just tell it the rules; they let it practice.

  • They had the AI try different strategies for selecting notes (e.g., "What if I use the summary? What if I ignore the character list?").
  • They translated the same sentence many times using different strategies.
  • They compared the results: "This strategy got a high score; that one got a low score."
  • They used this data to teach the AI which "moves" lead to the best translations, refining its brain through a process called Reinforcement Learning.

4. The "Strict Alignment" Safety Net

One of the biggest headaches in translating long documents is that the AI might translate 10 sentences as one giant block, or skip a sentence entirely. This makes it impossible to check the work.

LOONG uses a clever trick called Alignment-Enforced Translation. It forces the AI to translate sentence-by-sentence, marking each one clearly (like #1, #2, #3). If the AI tries to merge two sentences or skip one, the system detects the error, splits the text in half, and asks the AI to try again until the output matches the source perfectly, one-to-one.

The Results: Why It Matters

The paper tested LOONG on massive documents, including a 50,000+ line translation of the classic Chinese novel Journey to the West.

  • Other methods failed: Standard methods either gave up when the text got too long or produced garbage because they got confused by too much context.
  • LOONG succeeded: It maintained high quality from the first page to the last. It was able to keep character names consistent, maintain the story's tone, and handle complex plots without getting lost.

In short, LOONG is an AI translator that doesn't just "read" a document; it remembers the story, filters out distractions, and checks its work to ensure the final translation is coherent, accurate, and consistent from start to finish.

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 →