크기, 지연 시간, 프라이버시 제약 하에서의 온디바이스 상업적 의도 검색: 타입 지정 유출 경계를 갖춘 3 MiB 검색 시스템
On-Device Commercial Intent Retrieval Under Size, Latency, and Privacy Constraints: A 3 MiB Retrieval System with Typed Egress Boundaries
한국어 초록
본 연구에서는 연구 시작 전 고정된 세 가지 제약 조건, 즉 3 MiB 미만의 다운로드 페이로드, p95 기준 20 ms 미만의 Tier-0 추론(inference), 그리고 원시 텍스트·콘텐츠 임베딩(embedding)·안정적 식별자가 기기 외부로 유출되지 않아야 한다는 조건 하에서 사용자 기기에서 전적으로 실행되는 상업적 의도 추론을 연구한다. 이러한 제약 아래 6,020개 리프(leaf)를 갖는 상업 분류 체계에 대한 검색 경로를 구축했다. 이는 한국어 문장 트랜스포머(transformer)로부터 지식 증류(distillation)되고 4비트로 양자화(quantization)되었으며, 별도의 추론 런타임이 없는 정적 임베딩 테이블이다. 주요 결과는 이러한 제약이 정확도 손실을 유발하는 지점을 밝혀낸 것이다. 타인이 라벨링한 실제 한국어 이커머스 텍스트(AI-Hub 쇼핑 리뷰 22,900건)에서 실제 제품명에 대한 중분류 top-5 정확도는 18.4%의 순열 기준선(baseline) 대비 75.0%를 기록했으나, 한 가지 관찰 가능한 요인에 따라 갈렸다. 쿼리에 특정 리프 이름이 부분 문자열로 포함된 경우는 83.5%를 기록한 반면, 전혀 포함되지 않은 경우는 45.2%에 그쳤다. 196.6배 더 큰 범용 교사 모델(teacher model)은 이 격차를 국소화하는 것처럼 보였다(앵커 부재 시 +20.1%p, 존재 시 +0.1%p). 이 무효 효과는 두 효과가 상쇄된 결과였다. 학생 모델(student model)의 자체 대조 쌍으로 파인튜닝(fine-tuning)된 동일 교사 모델은 0.8586에 도달하며, 순수 인코더 학생 모델 대비 앵커가 있을 때 +10.6%p, 없을 때 +20.9%p 앞섰다. 비용은 균일하지 않지만 어느 곳에서도 공짜가 아니다. 앵커가 없는 경우 태스크 적응은 교사 모델에 아무런 이점을 주지 못하므로, 제약된 인코더에 결여된 것은 용량(capacity)이다. 이러한 취약 영역은 리랭커 자체의 점수 마진(margin)을 통해 온디바이스에서 감지할 수 있으며, 신뢰도가 가장 낮은 하위 5분의 1을 거절하면 나머지 성능은 0.8296으로 상승한다. 처음에 보고했던 두 번째 축인 제조업체 모델 코드는 원본 카테고리 고정 효과를 통제했을 때 유의미하지 않았으나(-4.0%p, p=0.51), 앵커는 유의미하게 유지되었다(+13.0%p). 페이로드는 3개 라이브러리 링크를 모두 측정하여 2,942,652바이트이다. Tier-0 p95는 두 종의 iPhone(A14, A16)에서 각각 4.431 ms 및 3.670 ms, 보급형 Android 태블릿(Snapdragon 695)에서 5.080 ms로, 모두 동일 코드를 실행한 세 종의 서버 CPU보다 느렸다. 분류 체계 감독에는 주로 합성된 한국어 발화가 사용되었다.
원문 초록
We study commercial intent inference that runs entirely on the user's device, under three constraints frozen before the work began: the downloaded payload under 3 MiB, Tier-0 inference under 20 ms at p95, and no raw text, content embedding, or stable identifier leaving the device. Under them we build a retrieval path over a 6,020-leaf commercial taxonomy: a static embedding table distilled from a Korean sentence transformer, quantized to 4 bits, no inference runtime. Our main result is where that constraint costs accuracy. On real Korean commerce text labelled by others (22,900 AI-Hub shopping reviews), mid-category top-5 on real product names is 75.0% against an 18.4% permutation baseline, but splits on one observable: a query containing some leaf name as a substring scores 83.5%, one containing none 45.2%. A generic 196.6x larger teacher seemed to localize the gap (+20.1 pp without an anchor, +0.1 with). That null was two effects cancelling: the same teacher fine-tuned on the student's own contrastive pairs reaches 0.8586 and beats the pure-encoder student by +10.6 pp with an anchor and +20.9 pp without. The cost is not uniform, but it is not free anywhere; where the anchor is absent, task adaptation buys the teacher nothing, so what the constrained encoder lacks there is capacity. The expensive regime is detectable on-device from the ranker's own score margin: declining the least confident fifth lifts the rest to 0.8296. A second axis we first reported, a manufacturer model code, does not survive source-category fixed effects (-4.0 pp, p=0.51); the anchor does (+13.0 pp). Payload is 2,942,652 bytes, all three library links measured. Tier-0 p95 is 4.431 and 3.670 ms on two iPhones (A14, A16) and 5.080 ms on a budget Android tablet (Snapdragon 695), all slower than three server CPUs on the same code. Taxonomy supervision is mostly synthetic Korean utterances.
제출 이력
확인된 버전만 표시합니다. 전체 제출 이력은 arXiv 원문에서 확인하세요.
함께 살펴볼 논문
공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.
공통 태그로 연결된 공개 논문이 아직 없습니다.
토론
이 논문과 연결된 포럼 글이 아직 없습니다.
저자 비고
arXiv Comments
36 pages, 40 tables, 1 figure. Evidence bundle (measurement ledgers and verification gates, no datasets): https://github.com/hyojunguy/ondevice-intent-evidence