TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: Configurable Value Model Interface for Recommendation and Search

9 点作者 tullie3 个月前
Hey HN,<p>We&#x27;re excited to launch Shaped Value Modeling, an interface for optimizing recommendation and search models for multiples objectives. We needed a way to combine multiple objectives—like relevance, conversions, and diversity — without constantly redeploying models or sacrificing performance. So we created a python DSL that lets you combine these objectives in real time, dynamically adjust ranking logic, and A&#x2F;B test different strategies without redeploying.<p>Here&#x27;s the core idea:<p>- Composable Value Models: Define your ranking logic in Python by combining different models and signals (e.g., click prediction, purchase likelihood, item quality).<p>- Dynamic API Control: Adjust the weighting of these signals on the fly through a simple API. Want to boost engagement for a specific user segment? Change the weighting in real time.<p>- Built-in Analytics: Track the impact of your changes with integrated analytics.<p>How it Works: 1.Train separate models for different objectives (e.g., LightGBM for click prediction, BERT4Rec for purchase likelihood). 2. Define a &quot;value model&quot; that combines these models using mathematical expressions and custom logic. Let&#x27;s say we have a lightgbm click-through-rate model called ctr_model and a transformerd based next purchase model called purchase_model, you can create an ensembled value model as follows:<p>``` value_model = 0.5 * lightgbm + 0.5 * bert4rec + log(item.quality_score) ```<p>3. Dynamically adjust the value_model via API calls to optimize for different goals or user segments:<p>``` { &quot;user_id&quot;: &quot;83NSLX&quot;, &quot;config&quot;: { &quot;value_model&quot;: &quot;0.3 * lightgbm + 0.7 * bert4rec&quot; } } ```<p>Check it out in our linked demo!

暂无评论

暂无评论