Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions CITATION.cff
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
cff-version: 1.2.0
message: "Please cite the API-TAIL manuscript when using this research code."
message: "Please cite the API-TAIL paper when using this research code."
title: "API-TAIL"
type: software
version: 0.1.1
Expand All @@ -8,9 +8,11 @@ repository-code: "https://github.com/TokenRhythm/API-TAIL"
authors:
- name: "TokenRhythm Technologies"
preferred-citation:
type: unpublished
type: article
title: "API-TAIL: Detecting Model Substitution in LLM APIs through Temperature-Aligned Likelihood Tails"
authors:
- name: "TokenRhythm Technologies"
year: 2026
notes: "Unpublished manuscript; no arXiv identifier has been assigned."
journal: "arXiv preprint arXiv:2610.36801"
doi: "10.48550/arXiv.2610.36801"
url: "https://arxiv.org/abs/2610.36801"
13 changes: 9 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# API-TAIL

[中文](README.zh-CN.md) · [Audit walkthrough](docs/QUICKSTART.md) · [Data formats](docs/SCHEMAS.md) · [Validation](docs/VALIDATION_REPORT.md)
[![arXiv](https://img.shields.io/badge/arXiv-2610.36801-b31b1b.svg?logo=arxiv&logoColor=white)](https://arxiv.org/abs/2610.36801)

[中文](README.zh-CN.md) · [Paper](https://arxiv.org/abs/2610.36801) · [Audit walkthrough](docs/QUICKSTART.md) · [Data formats](docs/SCHEMAS.md) · [Validation](docs/VALIDATION_REPORT.md)

**Version 0.1.1.** API-TAIL detects possible model substitution in LLM APIs by scoring responses with the claimed reference model and calibrating over allowed decoding configurations.

Expand Down Expand Up @@ -105,13 +107,16 @@ The [validation report](docs/VALIDATION_REPORT.md) records 78 passing tests with

Code and the included numerical statistics use [Apache-2.0](LICENSE), copyright TokenRhythm Technologies. Model weights and original prompt/response text are separate assets; their terms are described in [ASSETS.md](docs/ASSETS.md).

The paper is an unpublished manuscript without an arXiv identifier. [CITATION.cff](CITATION.cff) contains its citation metadata.
The paper is available on arXiv as [arXiv:2610.36801](https://arxiv.org/abs/2610.36801). If you use API-TAIL, please cite it; [CITATION.cff](CITATION.cff) contains the same citation metadata.

```bibtex
@unpublished{tokenrhythm2026apitail,
@misc{tokenrhythm2026apitail,
author = {{TokenRhythm Technologies}},
title = {{API-TAIL}: Detecting Model Substitution in {LLM APIs} through Temperature-Aligned Likelihood Tails},
year = {2026},
note = {Unpublished manuscript}
eprint = {2610.36801},
archivePrefix = {arXiv},
primaryClass = {cs.LG},
url = {https://arxiv.org/abs/2610.36801}
}
```
13 changes: 9 additions & 4 deletions README.zh-CN.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# API-TAIL

[English](README.md) · [实际审计指南](docs/QUICKSTART.md) · [数据格式](docs/SCHEMAS.md) · [验证结果](docs/VALIDATION_REPORT.md)
[![arXiv](https://img.shields.io/badge/arXiv-2610.36801-b31b1b.svg?logo=arxiv&logoColor=white)](https://arxiv.org/abs/2610.36801)

[English](README.md) · [论文](https://arxiv.org/abs/2610.36801) · [实际审计指南](docs/QUICKSTART.md) · [数据格式](docs/SCHEMAS.md) · [验证结果](docs/VALIDATION_REPORT.md)

**当前版本:0.1.1。** API-TAIL 用于检测 LLM API 可能存在的模型替换:使用声明的参考模型为回复评分,并在允许的解码配置范围内校准检测阈值。

Expand Down Expand Up @@ -105,13 +107,16 @@ py -3 -m venv .venv

代码及随包提供的数值统计量采用 [Apache-2.0](LICENSE),版权人为 TokenRhythm Technologies。模型权重和原始提示/回复文本是独立资产,其获取与许可范围见[资产说明](docs/ASSETS.md)。

论文目前为未发表手稿,尚无 arXiv 编号;引用元数据见 [CITATION.cff](CITATION.cff)。
论文已发布在 arXiv:[arXiv:2610.36801](https://arxiv.org/abs/2610.36801)。使用 API-TAIL 时请引用该论文;[CITATION.cff](CITATION.cff) 中有相同的引用元数据。

```bibtex
@unpublished{tokenrhythm2026apitail,
@misc{tokenrhythm2026apitail,
author = {{TokenRhythm Technologies}},
title = {{API-TAIL}: Detecting Model Substitution in {LLM APIs} through Temperature-Aligned Likelihood Tails},
year = {2026},
note = {Unpublished manuscript}
eprint = {2610.36801},
archivePrefix = {arXiv},
primaryClass = {cs.LG},
url = {https://arxiv.org/abs/2610.36801}
}
```
8 changes: 4 additions & 4 deletions SHA256SUMS
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
6f2856e1c70e6f435f4a2841b9d2e26ed7e4c036c8172e42cb767df0a7e3dca2 .gitattributes
4e83954f13727353b1697d495417ce79f3f46a13e644408df140b91f61ebf399 .github/workflows/ci.yml
0bd56cfc3e112698b01a593485491ff7f470aa56bf521c75682c2b7d8f28a5a6 .gitignore
6cf93e5ba56c9707db7b6be89877ebde2136da1b4256c85e0a03fc350a915aa5 CITATION.cff
72d85fbfcc3c809c873b4ecd6c43ec0d1e9daf40ba7f7c070188355a22d8779c CITATION.cff
7a384925bb609e3bd02efe393f3a8cba32dc63e77aaa5b7860976426a96770d7 CONTRIBUTING.md
cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 LICENSE
fec1069d972ada04cc3cbb3b91c848d0c673ddc71ccb34fb7c97664040450070 MANIFEST.in
9198acd1c9363f5a6a1f2b7f54e39367cf9575d8bbb557e723f64ef436fca37c NOTICE
aebcbd411f43800926ee702220a1040aa1e8c7d128fb5023bfcd322b8256a6bd README.md
67bffe8062f34c02e718fc66207dc44000b121bd98453e09276e4f4d48e0b477 README.zh-CN.md
8e3039870649a45fbdf9e217b19dc4f6c0aaa4187c8c23e529aa70c3ae8a73aa README.md
cebdc0105ac8ef3921171d8cafebe742dcf45662cfaeb4ab31cf28fe1203dfeb README.zh-CN.md
912ca4190c3d1067ee0d5669b2eaf26b53ac151bf56ae283d31b280c4ec2de2e configs/endpoint.example.json
8b4b7e5a98a9c17f7df5a91a67a717799911d156c0a651ec575b0eece5089e7a configs/generation.example.json
17494a2081e701b6f083cc8cc54d670b88fe62f116580eb6872983c49ff0fa77 configs/paper_protocols.json
Expand Down Expand Up @@ -90,5 +90,5 @@ ef655e7611e11c9120429f1d4efa7e97bae9e7669b70703df82b014f473ee90c tests/test_tex
403e2cc694298112dd0c608fe4b00fc7f3741f464f2335c1586e3dead6ec0d2d validation/gpu_smoke.json
6b467024a419a10078c8ecf06cabcfa63fe3a829bd969dc6d6a901a9b91bfe6c validation/paper_replay.json
818d617e73aacc7a0616fc13e742d2113608e7f71f456ea9968cc576bcad5efd validation/portability.json
035609eef1cc90238e27c2be87e7c92d19e8cc9ae6e9caebf400d0563b6dd8ff validation/release_check.json
750a3f5a9c383012f5a0d6e6fc580ac135099dcf78a605f5a42ad5454d93b64a validation/release_check.json
ee0d95000ed56fa49e28a1cdc206605d7398cfcc8a774575b99c7c712cfdc16e validation/software_checks.json
2 changes: 1 addition & 1 deletion validation/release_check.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"status": "passed",
"files_checked": 95,
"bytes_checked": 5541525,
"bytes_checked": 5542219,
"issues": [],
"scope": "Static heuristic checks; not a guarantee that every possible secret or copyright issue is absent.",
"software_version": "0.1.1"
Expand Down
Loading