Nokia Open-Sources AnyJev: A Training-Free Layer That Turns Any Open LLM Into a Calibrated Decision Model
Nokia’s applied research team has open-sourced AnyJev, a Python library that turns an open LLM into a decision model.It needs no training.It targets a common production job: picking one answer from a fixed set instead of writing a sentence.Is it deployable?
Yes, it installs from PyPI, ships under Apache-2.0, and has transformers and vLLM backends with shared-prefix scoring.What is AnyJev?AnyJev borrows its interface from Jev.Jev is the System One decision model that TypeSafe AI launched in September 2026 (our coverage).
You give AnyJev a typed question and get back a decision with a probability you can threshold.That probability is read from the model’s next-token distribution.Nothing is generated, parsed, or trained.The library supports 3 question types: A choice question picks one of K options.
A noul question is yes or no.A score question places the answer in one of several ordered bins.The Problem With Reading Logits Directly Many open projects already restrict the next token to the option labels and read the scores.The Nokia research team flags 2 flaws in that shortcut.
First, the answer can change when the options are reordered.Second, the probabilities are not calibrated.The levels doc names 2 causes: The first is prior bias: the model favors some labels, such as “Yes” over “No”, whatever the input.
The second is position bias: the model favors certain slots in the option list.How AnyJev Works: L0 and L1 Every decision carries a level field.L0 (zero labels, on by default) applies 2 fixes: Cyclic shifts.
For a question with K options, the list is shown in K rotations, so every option appears in every position once.The results are combined in log space as a geometric mean.If the position bias is additive in logit space, this removes it exactly.Prior correction.
By default, AnyJev uses batch calibration.It keeps a running mean of the predicted distributions on real inputs and divides it out at strength 0.75.The correction starts after 8 items.L0 costs K prefills per decision, batched over a shared prefix.That is about 0.
25 s per decision at batch 32 on one H100, with K = 20.L1 (100 to 500 labels per question) adds temperature scaling on top of L0.The fitted values are saved as a small JSON artifact.L1 reshapes confidence but does not change the ranking of answers.
Benchmark Results On Qwen3-8B with BANKING77 (20-way, 300 test items), the numbers look like this: MetricRaw logitsAnyJev L0AnyJev L1Labels required00100 to 500Flip rate when options reversed0.2300.0730.077Accuracy0.7470.8030.807Calibration error (ECE)0.2400.1840.095Auto-decidable at 5% error7.7%46.
3%52.0% A few other results from the repo: L0 reduced order flips on all 9 model and task rows tested.On a typed-decisions set, Qwen3-32B with L1 reached an ECE of 0.036, compared with 0.144 published for Jev.On accuracy, the fine-tuned Laya still leads.
The full ablation table covers Qwen, OLMo, Granite, Phi and Mistral models.Wu says the team tried AnyJev on an internal Nokia routing problem and saw promising results.How to Use AnyJev Copy CodeCopiedUse a different Browser# pip install "anyjev[hf]" from anyjev import Decider, Question from anyjev.
backends.hf import HFBackend d = Decider(HFBackend("Qwen/Qwen3-8B")) route = Question.choice("Which team should handle this?", ["billing", "technical", "sales", "other"], name="route") r = d.decide({"conversation": [...]}, [route]) r["route"].
distribution # probabilities per option For serving, you start vLLM with prefix caching and point a VLLMBackend at it.window.addEventListener("message",function(e){var f=document.getElementById("ajx-embed-frame");if(f&&e.source===f.contentWindow&&e.data&&e.data.ajxHeight){f.style.height=e.data.
ajxHeight+"px";}}); Key Takeaways AnyJev turns open LLMs into Jev-style typed decision models with no training.L0 uses cyclic shifts and a batch prior to remove position and label bias.On Qwen3-8B BANKING77, the order-flip rate falls from 0.230 to 0.073.
Auto-decidable traffic at 5% error rises from 7.7% to 52.0% with L1.It is Apache-2.0 on PyPI, with Hugging Face and vLLM backends.Check out the GitHub Repo.All credit goes to the researcher of this project.
Also, feel free to follow us on Twitter and don’t forget to join our 150k+ML SubReddit and Subscribe to our Newsletter.Wait!are you on telegram?now you can join us on telegram as well.Need to partner with us for promoting your GitHub Repo OR Hugging Face Page OR Product Release OR Webinar etc.?
Connect with us The post Nokia Open-Sources AnyJev: A Training-Free Layer That Turns Any Open LLM Into a Calibrated Decision Model appeared first on MarkTechPost.
Related
相關文章
Buoyant Releases Kinference: An Open Source Inference Control Plane for Kubernetes and vLLM
Buoyant, the company behind Linkerd, has released Kinference, an open source project for building inference platforms on Kubernetes. Kinference is an inference control plane for Kubernetes and vLLM.
百圖生科與11傢伙伴戰略合作,AI生物計算覆蓋醫藥研發及農業育種
活動焦點:· 百圖生科主辦、港投公司支持的第三屆峰會2026年11月6日開幕,匯聚約300名科研、產業及投資界代表,探討人工智能與生命科學的融合發展· 百圖生科InnoHub分別與大學、科企及投資機構合作,以AI生物計算聚焦乳癌及中醫藥研究、農業育種、研發與產業配套,包括與香港大學推進「乳腺癌虛擬細胞大模型」項目,以及與香港浸會大學籌建「AI中醫藥聯合實驗室」;合作網絡延伸至日本、新加坡及「一帶一路」沿線市場· 全日設多場院士演講及圓桌。
本期AI資訊彙總2026年11月7日的產品更新、前沿研究、行業趨勢與開源項目,幫助讀者快速瞭解當天的重要動態
導航SecureDoc // EncryptionActive本期AI資訊彙總2026年11月7日的產品更新、前沿研究、行業趨勢與開源項目,幫助讀者快速瞭解當天的重要動態。
螞蟻百靈推出原生多模態模型
螞蟻百靈發佈 Ling 3.2 Flash:三項核心基準超越 Claude Opus 5,前兩週限時免費開放AIbase基地發佈於AI新聞資訊 · 1 分鐘閱讀 · Nov 6, 20266811月6日消息,螞蟻百靈官方團隊今日正式宣佈推出全新的原生多模態大模型——Ling-3.
圖龍鋒報告漏洞復現率99.4%
99.4%登頂全球第一!這個中國AI師承世界冠軍 一水 2026-11-06 13:01:47 來源:量子位 一舉刷新「AI安全世界盃」CyberGym世界紀錄 一水 發自 凹非寺 量子位 | 公眾號QbitAI 99.4%,全球第一。 好傢伙,硅谷那幾家天天站在聚光燈下大談AI安全,誰承想呢? 如今刷新AI安全世界紀錄的,是一箇中國AI系統。
可複用原語提高智能體任務完成數
Computer Science > Computation and Language arXiv:2611.07461 (cs) [Submitted on 5 Nov 2026] Title:The Last Mile to the Real World: Agent-Native Primitives as Reusable Building Blocks for Solving Real-World Tasks Authors。