논문 해설
Testing Conversation Preservation Across LLM APIs: A Rule-Based Oracle for Detecting Silent Information Loss
LLM API 전반의 대화 보존 테스트: 조용한 정보 손실을 탐지하는 규칙 기반 오라클
- 연구 문제 번역된 LLM API 요청은 스키마를 통과해도 역할, 도구 오류 상태, 생성 제어 같은 대화 정보를 조용히 잃을 수 있습니다.
- 연구 방법 원본과 번역 페이로드를 공통 중간 표현 ConvIR로 옮긴 뒤 27개 보존 규칙으로 정보 손실을 분류합니다.
번역 후에도 대화 정보가 남는지 묻는 이유
LLM 애플리케이션은 여러 제공자의 API를 번들 번역기, 로컬 프록시, 공유 게이트웨이를 거쳐 호출하는 일이 늘고 있습니다. 이때 번역된 요청이 대상 API의 스키마를 통과하고 성공 응답을 받더라도, 원래 호출자가 전달하려던 역할, 도구 호출 결과의 오류 상태, 생성 제어 같은 정보가 조용히 사라질 수 있습니다. 예를 들어 Anthropic의 is_error 플래그가 Gemini 쪽으로 옮겨질 때 빠지면 페이로드는 정상이지만 모델은 도구가 실패했다는 사실을 받지 못합니다. 스키마 검증과 구조 비교만으로는 이런 손실과 정상적인 표현 차이를 구분하기 어렵습니다. 이 논문은 번역 전후 대화 정보가 보존되는지를 참조 번역이나 추가 모델 호출 없이 결정적으로 검사하는 문제를 다룹니다.
isloss의 ConvIR 비교와 보존 규칙
isloss는 원본 페이로드와 번역된 페이로드를 각각 공통 중간 표현 ConvIR로 옮깁니다. ConvIR는 순서가 있는 대화 이벤트 목록과 호출자가 명시한 생성 제어로 이루어지며, 각 이벤트는 화자, 내용 유형, 페이로드, is_error 같은 플래그를 기록합니다. 이 표현 위에서 27개 보존 규칙을 적용해 두 표현의 보호 대상 속성을 비교합니다. 위반은 T1 잠재 결함으로, 대상 API 한계에 따른 저하나 시스템에서 사용자로의 역할 강등은 T2로, 허용되는 표현 변경은 T3로 분류합니다. 중요한 점은 이 비교가 표현 차이를 정보 손실로 취급하지 않도록 허용 변환을 먼저 적용한다는 것입니다. 검사는 명시적으로 표현된 대화 정보에 한정되며 완전한 의미적 동등성을 주장하지 않습니다.

Table 1 :Terms used to interpret the results.Rule definitions and detailed counting conventions appear in Secs. 3–5 and Appendix A.1.
원문 · 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 · 원문 그림 인용 · 원본 PDF 4쪽에서 그림 영역을 추출했습니다.
Table 9 :How the three APIs encode the tested constructs.† marks vendor documentation that is silent or self-contradictory.‡ marks a construct without a native representation in that format; carrying it requires another encoding, declaring a loss, or refusing the input.
원문 · 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 · 원문 그림 인용 · 원본 PDF 32쪽에서 그림 영역을 추출했습니다.
Table 10 :Documented mapping conventions and request-side violation dimensions. L01–L08 describe permitted mappings or explicit degradation allowances;V01–V10 identify protected dimensions. A documented degradation is not equivalent to preservation. Each row identifies its vendor source, with the quoted text retained in the replication archive. This reference table supports, rather than exhausts, the executable isloss catalogue.
원문 · 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 · 원문 그림 인용 · 원본 PDF 33쪽에서 그림 영역을 추출했습니다.결함 주입 평가와 허위 경보
주요 검증은 규칙을 고정한 뒤 명세 기반으로 작성된 여섯 개의 블라인드 배치로 수행했습니다. 활성화된 계획 결함 125개 중 95개를 탐지해 재현율 76.0%를 기록했고, 허용된 표현 변화 100개 중 2개를 잘못 표시해 허위 경보율 2.0%를 기록했습니다. 여기서 재현율과 허위 경보율은 서로 다른 분모를 쓰므로 함께 읽어야 합니다. 이 비교는 저자들이 측정한 held-out 집합에 대한 것입니다.

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.
원문 · 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 · 원문 그림 인용 · 원본 PDF 10쪽에서 그림 영역을 추출했습니다.
Table 12 :Detailed assessment of checker accuracy.The main-text summary appears in Table 3; additional judge comparisons appear in Table 13. “Before the run” means that the protocol was written before execution and committed with the results. “Killed” means that a mutant produces a finding absent from the unmodified translator. Final isloss detection counts useT1 findings; exploratory results with other scoring criteria are identified separately. For allowed-change controls, “packed” denotes pairs as constructed, five of which carry a packing-script placeholder signature; “filled” denotes the post-hoc restoration of those signatures. These controls should not be conflated with the untouched primary held-out set.
원문 · 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 · 원문 그림 인용 · 원본 PDF 37쪽에서 그림 영역을 추출했습니다.합성 요청 스위트의 주요 결과
주요 요청 실험은 Anthropic 요청에서 만든 51개 정적 유효 요청 형태를 14개 번역 경로에 적용해 685개 완료 번역을 얻었습니다. 그중 127개(18.5%)가 정적 대상 검사를 통과하면서 prompt, role, tool 정보에 회피 가능한 변화를 조용히 도입했습니다. 이 비율은 합성 스위트 안에서의 측정이며, 실제 트래픽에서의 손실 빈도를 추정한 값이 아닙니다. 주요 발견은 한 발견이 정적 검사, 조용함, 회피 가능성, 대상 정보 범주를 모두 만족해야 세어지므로 T1 발견이 있다는 것만으로 포함되지는 않습니다.

Table 4 :Units and denominators for the main results.Acellis one request or reply tested on one translation path. Each row identifies the unit, denominator, subjects, and location of a result. The full map, including the corpus and supporting live or human evidence, is Table 15 (Appendix B.1).
원문 · 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 · 원문 그림 인용 · 원본 PDF 12쪽에서 그림 영역을 추출했습니다.
Table 5 :Meaning changes in the main request census.All 51 source shapes pass static checks; 13 are accepted live byclaude-sonnet-4-6. T1/judged counts cells with undeclared changes before target-validity filtering; Static counts those passing offline target checks.Cand. gives pre-review candidate counts; the reviewed catalogue is reported in Section 6.1. ForLiteLLM->OpenAI, the pre-serialisation dictionary has 37 T1 cells that fail the target checks: all 37 retainthinking_blocks, and 12 also retaintop_k. At the serialisedhosted_vllmbody, which stripsthinking_blocks, 25/37 pass.
원문 · 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 · 원문 그림 인용 · 원본 PDF 15쪽에서 그림 영역을 추출했습니다.
Table 17 :Sensitivity of the main census to validity and counting choices.N is the number of judged cells andK the number of request-shape clusters; variants(a)–(g) change the assumptions specified in each row.
원문 · 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 · 원문 그림 인용 · 원본 PDF 43쪽에서 그림 영역을 추출했습니다.
Table 18 :Request counts under static checks, endpoint acceptance, and mechanism coverage. Stratum 1 is the main suite; Strata 2a–2c are acceptance subsets rather than a nested sequence. Static T1 counts meaning changes whose translated bodies pass static target checks; it does not establish live acceptance or the absence of a warning. The primary column requires one finding to satisfy all criteria.†Removing the LLM-Rosetta-to Gemini list-valued tool-result re-encoding candidate changes the cell-level conjunction to 140/685 (101/532 after deduplication) but leaves the primary counts 127/685 and 88/532 unchanged. ‡Both-end acceptance covers eight target paths, four Anthropic and four Gemini; OpenAI targets are checked offline only.§The mechanism-coverage row uses the original 685-cell suite: 240/685 cells carry at least one of nine mechanisms with a live-probe effect, not 240 individually live-tested translations. Its percentages use the corresponding Stratum 1 column totals. Finding-aligned coverage of the primary findings is 116/127 (91.34%); counting a mechanism merely present elsewhere in the same cell would instead give 120/127 and is not the reported primary-coverage definition.
원문 · 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 · 원문 그림 인용 · 원본 PDF 44쪽에서 그림 영역을 추출했습니다.행동 영향과 적용 범위의 한계
행동 실험은 선택된 메커니즘과 과제, 그리고 여러 모델에서 측정했습니다. 탐지된 손실 중 일부는 모델의 목표 과제 결과를 바꾸었지만, 작업 수준의 GSM8K 통제 실험에서는 통계적으로 탐지 가능한 정확도 하락이 나타나지 않았습니다. 따라서 모든 정보 손실이 모델 행동을 바꾼다고 결론내리지 않습니다. 또한 isloss는 ConvIR에 명시된 정보와 보존 규칙이 다루는 속성만 검사하며, 실시간 엔드포인트의 수용 여부와 벤치마크 점수 변화는 별도의 문제로 남습니다. 저자들은 벤치마크 점수나 리더보드 순위에 대한 영향은 직접 측정하지 않았다고 밝힙니다.
논문 정보
- 저자
- Xin Liu, Xu Han, Yuxin Wang, Haoran Song, Mingjian Zhao, Lei Wang
- 학회·저널
- arXiv · 프리프린트
- 최초 공개일
- 2026년 11월 11일
- 등록일
- 2026년 11월 13일
- 수정일
- 2026년 11월 11일
- 버전
- v1
- arXiv
- 2611.15543
- 분류
- cs.SE · cs.AI
- 원문 이용 조건
- CC BY 4.0
- 제공 범위
- 논문 정보, 해설, 허용된 원문 그림
AI 해설은 논문 원문과 별개의 설명이며 오류가 있을 수 있습니다. 원문과 그림은 각 출처의 이용 조건과 따로 표시된 권리를 따릅니다.
초록
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.
원문 인용
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}
}