NewsCrawler.org

NL2: a compact language for LLM-to-LLM messages that beats the symbol-based NL1

【ニューラル語】LLM 間通信のトークン効率を検証した結果、記号より「平文の圧縮」が強かった話
図1 説明なしで渡した NL1 を読む
図2 情報理論の 3 つの考え方
図3 同じ文の日本語と英語のトークン
Image: zenn.dev

The author built NL2, a compact "neural language" meant to be read by existing LLMs without any explanation and to use fewer tokens[1] than natural language. It came out of six generations and 28 variants, and it is the only one that passed all four guardrails on both the development and test data. On the test set, NL2 cut tokens by about 17% on average, with a token ratio of 0.830, which is short of the target of one half.

NL1, the author's earlier version, was shorter (token ratio 0.658), but its distortion rate[2] on long texts was 0.105, against 0.040 for NL2 and 0.007 for the original text. NL2 keeps English in English, rewrites Japanese in Japanese, uses no symbols, aliases or decoding notes, and removes only repeated meaning and empty preambles. The same content takes 1.47 to 1.69 times as many tokens in Japanese as in English, even though the Japanese text has about 0.45 times the characters. Translating Japanese long texts into English to save tokens raised the distortion rate to 0.114 to 0.121, against 0.035 for NL2.

The full NL2 system prompt[3] is included at the end of the article.

Read the original zenn.dev

Sources

  • Zenn JA

    【ニューラル語】LLM 間通信のトークン効率を検証した結果、記号より「平文の圧縮」が強かった話

    4 likes0 bookmarks0 comments

Published: First seen: Читать по-русски

Open as a page