Profile

Settings

Loading…

← Papers

Help

FAQ

Which features require signing in?

You can read the commentary, paper info, Model Structure and related papers of public papers without signing in. Sign in to manage your account or contact us about your inquiries.

Can I upload a PDF file?

Upload papers with an arXiv or DOI link; the commentary is public to everyone. Papers whose source and terms of use can't be verified, so the commentary can't be made public, can't be uploaded. Uploading PDF files and keeping papers private are for subscribers only, and a paper uploaded as a file is saved as private only. Searching for official info by title runs only when you press the button.

Are the figures and AI commentary accurate?

Figures come only from the original paper, and only those whose terms of use are verified are shown. The commentary is written by AI and may be wrong. Check important claims, numbers and figure context against the evidence in the original paper.

I want to report a copyright issue.

Terms of use and the source of the original paper are on the Paper info tab. If there's a problem, choose "Paper content, figures and copyright" under Contact us and send the paper link, the part in question, and evidence that you hold the rights. Receiving your report doesn't confirm any rights or remove anything right away. You can see the result of the review under My inquiries.

I forgot my password.

If you signed up with email, use Forgot password in the sign-in window to reset it with your verified email. If you signed up with Google, Naver or Kakao, change your password with that service.

What should I include in an inquiry?

Tell us which screen you were on and what you were doing when the problem happened, along with the paper link. Don't include personal information such as passwords, API keys, verification codes or phone numbers. Inquiries and replies are stored in Refivu and you can see them under My inquiries.

How do I delete my account?

In Settings, under My account, press Delete account. Review what will be deleted and complete identity verification to delete your account. For other requests, choose "Account" under Contact us.

Paper commentary

Testing Conversation Preservation Across LLM APIs: A Rule-Based Oracle for Detecting Silent Information Loss

isloss checks whether translated LLM requests keep conversation information

  • Problem Translated LLM requests can pass schema checks yet silently drop information the model needs, such as tool error flags. Existing tests miss this because they treat many lossy outputs as expected.
  • Method isloss maps source and translated payloads into a shared form called ConvIR, which keeps only conversation facts. It then applies 27 preservation rules, without needing a reference translation or model calls.
  • Results isloss detected 76.0% of activated planted faults, with 2.0% false alarms on allowed changes. Across a synthetic suite, 18.5% of completed translations silently changed prompt, role, or tool information.

Table 3: Detection accuracy of isloss and comparison with alternative judges.The primary
held-out evaluation pools six specification-based blind batches author…

Table 3 :Detection accuracy of isloss and comparison with alternative judges.The primary held-out evaluation pools six specification-based blind batches authored after the checking rules were fixed; the extended evaluation adds four later blind batches (batch map: Appendix A.3). Intervals are Wilson 95% CIs; J is recall minus false-alarm rate, with the strictly cross-dialect value in parentheses. Without a reference translation, isloss has the highest observedJ among the tested judges. With a target-dialect reference, normalised diff and two Gemini judges score higher. Full results: Table 12 and Table 13.

Original paper · CC BY 4.0 · Xin Liu, Xu Han, Yuxin Wang, Haoran Song, Mingjian Zhao, Lei Wang · Testing Conversation Preservation Across LLM APIs: A Rule-Based Oracle for Detecting Silent Information Loss · Original paper figure · Extracted the figure area from page 10 of the original PDF.

Why a valid translation isn't enough

LLM applications, particularly agents, increasingly reach models from several providers through translators that convert request and reply formats. A silent error in one of those layers can therefore reach the model without anyone noticing. A translated payload can pass the target schema and still change what the caller communicated.

Anthropic marks a failed tool result with is_error set to true. Gemini carries the same failure signal inside functionResponse.response instead. Some translators drop that signal and send an ordinary tool response, yet the payload stays well formed. The model then reasons from a conversation the caller never intended. The change matters for action as well as format, because the model's next decision depends on it.

Figure 3 shows how the checker identifies this loss.

Comparing JSON directly is too strict, since roles and field names differ by design. A direct comparison would report harmless representation changes as if they were losses. The harder case is information the target API has no native field for, such as Anthropic's tool-error flag in OpenAI Chat. A useful check must therefore separate a loss the target can't avoid from one the translator could have avoided.

Existing tests don't catch this well either. In an audit of the four best-tested projects, unit tests treated 26 of 41 request-side changes (63.4%) as expected output. The authors therefore ask which properties of the original conversation survive when a payload is valid for its target. isloss answers this by mapping both payloads into ConvIR and checking them against 27 preservation rules.

Comparing meaning instead of JSON

isloss reduces each payload to ConvIR, a neutral form that keeps only conversation facts and drops API syntax. ConvIR stores an ordered list of events, each with a speaker, content type, payload and flags such as is_error. Because both sides become events rather than raw JSON, a renamed tool-result container no longer looks like a missing one.

Anthropic's top-level system field and an OpenAI leading system message map to the same instruction event. Likewise, an assistant message and a Gemini model message map to the same assistant speaker. Dropping is_error, by contrast, removes the indication that the tool failed, so the comparison flags it as loss. The checker compares IR(S) and IR(T) only after applying the permitted representation changes.

They also include merging adjacent messages from the same author and accounting for OpenAI Chat's separate text and tool-call fields. isloss asks three questions about each detected difference: what changed, whether the target can represent it, and whether the translator disclosed it. A documented degradation still counts as loss, since disclosure doesn't make the translated conversation equivalent to the source.

Each of the 27 preservation rules is linked to its supporting vendor specification, so a finding traces back to its rule. isloss reaches 0.740 on the same pairs, but it doesn't need a trusted translation to compare against. The checker also covers only the properties in ConvIR, so passing shows preservation of those properties, not full equivalence.

How one check runs

The checker maps the source and translated payloads into ConvIR, which strips away the API-specific syntax. ConvIR holds an ordered sequence of conversation events plus the generation controls the caller explicitly set. Each event records its speaker, content type, payload, and flags such as is_error, so renamed containers no longer look missing.

Only after this mapping does the checker apply the 27 preservation rules to what remains. Before comparing, isloss applies permitted representation changes such as consistent role-name and tool-call-identifier mappings.

For each difference, the checker asks three questions: what changed, whether the target can represent it, and whether the translator disclosed it. Those answers sort each difference into T1, an undisclosed change to protected information. T2 holds separately reported degradations and informational notes, which are excluded from the primary finding count.

T3 holds permitted changes of representation, which are not counted as information-loss findings. A documented degradation still counts as a loss, so T2 makes it visible without making the translation equivalent to the source.

The Gemini example shows the sorting in practice, with Anthropic and Gemini payloads using different role and field names. Only the dropped tool-result error flag is counted as a finding, because the renaming is a representation change. The authors classify that dropped flag as T1, because Gemini can carry the error and this translation didn't preserve it.

The system-instruction experiment adds a second kind of loss, where a mid-conversation system message keeps its text but loses authority. The authors score deletion as T1, since the instruction is removed from the request entirely. LiteLLM's demotion to a user message is recorded as T2, as a conservative exclusion from the primary count. The check therefore separates a deleted instruction from a demoted one, instead of treating both as the same text loss.

Does the checker catch planted faults?

isloss detects 95 of 125 activated faults, a recall of 76.0% on the primary held-out evaluation. The Wilson 95% interval for that recall runs from 67.8–82.6%. It flags 2 of 100 allowed changes, a false-alarm rate of 2.0%. The authors count a planted fault toward recall only when its edit changes the translated payload, which they call activation.

The authors then added four later blind batches to the evaluation. Across this extended set, isloss catches 160 of 220 activated faults, or 72.7%. On the larger set, it flags 5 of 170 allowed changes, a false-alarm rate of 2.9%. A separate human-designed test kit found 37 of 40 faults and no false alarms among 10 allowed changes. Three program-mutant suites detected 81.6–84.3% of activated mutants.

On the same held-out pairs, a normalised diff with a reference translation reached J = 0.842. isloss reached J = 0.740 without a reference translation or any model call. The authors note that a trusted reference is hard to obtain for unseen inputs or new translators.

On four public-bug samples, isloss detected 45 of 57 reproduced bugs, or 78.9%. Human reviewers confirmed 31 of 54 request-side candidates as defects. Among agreed cases, 23 of 24 avoidable candidates were confirmed, or 95.8%. Only 6 of 16 agreed unavoidable-loss cases were confirmed, at 37.5%.

How often translations lose information

The census covers 685 completed translations from six configurations of five codebases, built from 51 statically valid shapes. The authors stress that this rate covers their synthetic suite and says nothing about how often real traffic loses information. The full-suite rate of 18.5% doesn't depend on live source acceptance, so it stands apart from the narrower subsets.

Static validity doesn't mean a live endpoint accepts the request. claude-sonnet-4-6 accepted only 13 of the 51 shapes (25.5%), and 38 shapes were rejected. Stratum 2a covers 13 shapes and 182 translation cells, while Stratum 2b uses the eight shapes accepted by claude-opus-4-8, giving 112 cells.

The most frequent primary mechanism is a dropped tool-result error flag, which affects 154 requests. Text placed after a tool call moved before it in 54 requests. Dropped sampling and token limits sit outside the primary rate because they aren't prompt, role or tool fields.

At gateways, Bifrost and new-api changed meaning in 187 of 204 judged cells (91.7%) on the 51-shape suite. Among 198 judged reply streams, 57 (28.79%) carried avoidable meaning changes. Replays of recorded coding-agent requests show the same classes of silent change, with a lower primary rate. Seven recorded shapes pass static checks, and across 14 paths they yield four primary findings in 98 cells (4.1%).

The agent corpus contains 14 distinct shapes, so these rates describe the replayed requests only.

Do the changes alter model behaviour?

The failure is a loss of information the model needs for its next step. Once the failure indication is gone, the model's next decision can rest on a different conversation.

The mid-conversation system instruction study tests a harness instruction that disables the shell tool. Deleting that instruction reduced refusals on gemini-3.5-flash-lite from 11/11 to 0/11 at both insertion positions. Demotion to a user message behaved differently. Refusals remained in five of the six tested model and placement pairs, so the effect depended on both the model and the position.

The same deletion removed refusals on gemini-3.8-flash and Qwen2.5-7B-Instruct as well.

A separate Anthropic-target probe removed a notice embedded in the final user turn instead of a mid-conversation system message. Refusals fell from 30/30 to 0/30 on claude-haiku-5-5, and from 10/30 to 0/30 on claude-sonnet-4-6. The Sonnet result did not meet the pre-specified prediction, and Appendix A.1 gives the details.

Google's OpenAI-compatible Gemini endpoint was checked against native-API controls with two Gemini models and ten repetitions per arm. The endpoint passed 10 of 11 behavioural probes. Its failed probe retains only the last of two top-level system messages, so the first instruction is lost. Effects aren't uniform across tasks, since a GSM8K control showed no statistically detectable accuracy drop.

Still, nine of the ten tested mechanisms changed at least one measured behavioural outcome. They didn't test the 277/685 OpenAI-bound cells against live OpenAI endpoints, or include GPT models in the live-model experiments.

Where the evidence stops

The 18.5% rate comes from a synthetic request suite, so it isn't an estimate of information loss in real-world traffic. The 36.4% reply-stream rate comes from a separate experiment on tested official OpenAI SDK streams, not from deployed traffic. The recorded agent corpus is small, with seven of 14 shapes passing the static source checks.

Its lower primary rate reflects a limited set of observed traffic, so it doesn't calibrate production-wide prevalence. Synthetic rates measure deliberately constructed feature combinations, rather than their incidence in production traffic.

The live-model work covers six models: two Gemini models, two Claude models, and two open-weight models. No GPT model appears in those live experiments, and the 277 OpenAI-bound cells never reached a live OpenAI endpoint. The live experiments cover selected mechanisms, so the authors don't claim that every detected loss changes model behaviour.

The authors haven't measured effects on published benchmark scores or leaderboard rankings. The GSM8K control shows that these behavioural effects depend on the task.

Human judgement shapes the findings, because reviewers disagreed on 12 of 54 candidates. The checker sees only payloads at its capture points, so provider-side rewriting after the last instrumented boundary stays hidden. The authors make avoidability decisions auditable by linking each rule to its specification and including negative controls.

isloss remains an offline research checker, and its use in continuous-integration workflows is future work.

Paper info

Authors
Xin Liu, Xu Han, Yuxin Wang, Haoran Song, Mingjian Zhao, Lei Wang
Venue
arXiv · Preprint
First published
2026-11-11
Added
2026-11-13
Updated
2026-11-11
Version
v1
arXiv
2611.15543
Category
cs.SE · cs.AI
Original paper terms
CC BY 4.0
What we show
Paper info, commentary and permitted figures from the original paper

AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.

Abstract

LLM applications increasingly rely on translators and compatibility layers to move conversations across APIs. Yet a translated request can be accepted by the target API while silently losing information about instruction roles, tool interactions, error states, or generation controls. We introduce isloss, a deterministic oracle for testing conversation-information preservation across LLM API translations. It maps source and translated requests and replies to a shared intermediate representation, ConvIR, and applies explicit rules to distinguish legitimate representation changes from information loss. Unlike schema validation or reference-based differential testing, isloss requires neither a reference translation nor additional model calls. It also distinguishes avoidable loss from degradation caused by target API limitations. We evaluate isloss using specification-based fault injection, human review, and experiments on translators, gateways, and client libraries. On held-out tests, it detects 95/125 planted faults (76.0%) with 2/100 false alarms (2.0%). Across a synthetic request suite spanning six configurations of five translator codebases, 127/685 completed translations (18.5%) pass static target checks while silently changing prompt, role, or tool information in ways the target API could have preserved. In translated replies, 203/558 streams (36.4%) cause exceptions or silent corruption in at least one tested official OpenAI SDK. Targeted experiments across six models show that translation-induced changes can alter model behaviour when tasks depend on the affected information. These results establish conversation preservation as a distinct correctness requirement for reliable LLM interoperability, agent execution, and model evaluation.

Figures from the paper

Quote from the paper

Xin Liu, Xu Han, Yuxin Wang, Haoran Song, Mingjian Zhao, Lei Wang (2026). Testing Conversation Preservation Across LLM APIs: A Rule-Based Oracle for Detecting Silent Information Loss. arXiv:2611.15543v1. https://arxiv.org/abs/2611.15543v1

BibTeX
@misc{liu2026testing,
  title = {{Testing Conversation Preservation Across LLM APIs: A Rule-Based Oracle for Detecting Silent Information Loss}},
  author = {Xin Liu and Xu Han and Yuxin Wang and Haoran Song and Mingjian Zhao and Lei Wang},
  year = {2026},
  eprint = {2611.15543},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.15543v1}
}

See related papersBrowse other papers

Paper preview
Account security

Connect Google account

If you connect a Google account, you can sign in with it too.

Refivu

Delete account

Refivu
Refivu

Sign up