Skip to main content
QUICK REVIEW

[논문 리뷰] Query as Anchor: Scenario-Adaptive User Representation via Large Language Model

Jiahao Yuan, Yike Xu|arXiv (Cornell University)|2026. 02. 16.
Advanced Neural Network ApplicationsComputer Science인용 수 0
한 줄 요약

논문은 Query-as-Anchor (Q-Anchor)를 소개합니다. 다이나믹하고 쿼리 인식 사용자 표현 프레임워크로, 계층적 다중 모달 인코더와 듀얼-타워 LLM을 사용하여 소프트 프롬프트 튜닝과 KV-캐시 가속 추론으로 특정 시나리오에 맞춘 사용자 임베딩을 적응시킵니다. Alipay 벤치마크에서 최첨단 결과를 보이고 온라인 A/B 테스트를 통해 배포를 검증합니다.

ABSTRACT

Industrial-scale user representation learning requires balancing robust universality with acute task-sensitivity. However, existing paradigms primarily yield static, task-agnostic embeddings that struggle to reconcile the divergent requirements of downstream scenarios within unified vector spaces. Furthermore, heterogeneous multi-source data introduces inherent noise and modality conflicts, degrading representation. We propose Query-as-Anchor, a framework shifting user modeling from static encoding to dynamic, query-aware synthesis. To empower Large Language Models (LLMs) with deep user understanding, we first construct UserU, an industrial-scale pre-training dataset that aligns multi-modal behavioral sequences with user understanding semantics, and our Q-Anchor Embedding architecture integrates hierarchical coarse-to-fine encoders into dual-tower LLMs via joint contrastive-autoregressive optimization for query-aware user representation. To bridge the gap between general pre-training and specialized business logic, we further introduce Cluster-based Soft Prompt Tuning to enforce discriminative latent structures, effectively aligning model attention with scenario-specific modalities. For deployment, anchoring queries at sequence termini enables KV-cache-accelerated inference with negligible incremental latency. Evaluations on 10 Alipay industrial benchmarks show consistent SOTA performance, strong scalability, and efficient deployment. Large-scale online A/B testing in Alipay's production system across two real-world scenarios further validates its practical effectiveness. Our code is prepared for public release and will be available at: https://github.com/JhCircle/Q-Anchor.

연구 동기 및 목표

  • 산업 현장의 정적이고 작업 비특화된 사용자 임베딩과 다양한 다운스트림 시나리오 간의 불일치를 해소한다.
  • 멀티모달 행동과 사용자 이해 시맨틱스를 연결하는 확장 가능한 프리트레이닝 데이터셋(UserU)을 개발한다.
  • 다양한 다운스트림 작업에서 행동 프로필을 재앵커링하는 쿼리 조건부 임베딩 메커니즘을 만든다.
  • KV-캐시 가속 배포를 통해 효율적인 다중 시나리오 추론을 가능하게 한다.
  • 일반 프리트레이닝과 비즈니스 특화 로직을 소프트 프롬프트 튜닝과 차별적 구조화를 통해 연결한다.

제안 방법

  • 향후 행동 예측과 UserQA 감독을 결합한 UserU 프리트레이닝 데이터를 구성한다.
  • 다중 모달 신호로부터 다중 해상도 사용자 표현을 생성하기 위해 계층적 코스-투-파인 인코더를 설계한다.
  • 쿼리-앵커링을 듀얼 타워로 구현한다: 쿼리 인식 임베딩을 생성하는 앵커 타워와 목표 정답을 모델링하는 시맨틱 타워.
  • InfoNCE 기반 정렬과 Next-Token Prediction 손실을 포함한 결합 대조-생성 목표로 최적화한다.
  • 프로토타입이 있는 클러스터 기반 Soft Prompt Tuning을 적용하여 시나리오 적응을 위한 판별 가능한 잠재 구조를 강화한다.
  • 다수의 쿼리에 효율적으로 재앵커링하기 위해 계층적 사용자 접두를 미리 계산하고 캐시하여 KV-캐시 가속 추론을 가능하게 한다.
Figure 1 . Comparison between (A) General User Embedding (Dou et al . , 2025 ) and (B) our Query-as-anchor. (A) learns transferable user representations across domains but generates fixed embeddings regardless of downstream context. (B) extends (A) with query-as-anchor modulation, enabling a single
Figure 1 . Comparison between (A) General User Embedding (Dou et al . , 2025 ) and (B) our Query-as-anchor. (A) learns transferable user representations across domains but generates fixed embeddings regardless of downstream context. (B) extends (A) with query-as-anchor modulation, enabling a single

실험 결과

연구 질문

  • RQ1하나의 모델이 자연어 쿼리에 조건화된 시나리오 적응형 사용자 임베딩을 생성할 수 있는가?
  • RQ2쿼리-앵커링된 계층적 인코딩이 산업 사용자 표현의 교차 도메인 일반화에 개선을 가져오는가?
  • RQ3전체 미세조정 없이 소프트 프롬프트 튜닝이 일반 프리트레이닝을 다운스트림 비즈니스 로직과 일치시킬 수 있는가?
  • RQ4생산 환경에서 실시간 다중 시나리오 임베딩 생성을 위한 KV-cache 기반 추론이 가능한가?
  • RQ5오프라인 및 온라인 평가가 참여도, 위험 관리, 마케팅 과제 전반에서 어떤 이점을 보여주는가?

주요 결과

  • 프롬프트 튜닝이 적용된 Q-Anchor는 baselines보다 10개 알리페이 시나리오에서 평균 AUC 및 KS가 우수하며, 평균 0.8225 AUC 및 0.5267 KS를 달성한다.
  • 프롬프트-튜닝된 Q-Anchor는 기본 버전 및 일반 임베딩을 지속적으로 능가하며, 특히 Marketing의 Brand와 Risk의 Money를 개선한다.
  • 데이터 규모가 임베딩 품질에 대해 모델 크기보다 프리트레이닝 데이터에 유리하며, 최적은 0.5B 백본과 50k 프리트레이닝 스텝에서 나타난다.
  • 소프트 프롬프트는 시나리오별 주의 집중 이동을 초래하여 모달리티의 해석 가능한 재앵커링을 가능하게 한다(예: Takeout Interest에서 Bill 주의 상승, Ant Forest에서 SPM 주의 상승).
  • KV-cache 가속 추론은 산업 배치에서 여러 다운스트림 쿼리에 재앵커링을 가능하게 하며 증가 대기시간이 거의 없다.
Figure 2 . Overview of Query-as-Anchor Framework for our Q-Anchor Embedding.
Figure 2 . Overview of Query-as-Anchor Framework for our Q-Anchor Embedding.

이 논문 읽기

누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.

누빈트에서 이 논문 읽기

이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.