AENEA BHR-0.1

74M parameter, non-autoregressive System 1 decision model built on orthogonal geometry.

BHR-0.1 is a highly specialized Enterprise Decision Engine. Give it a structured state (a policy snippet, a JSON telemetry payload, or a short document) and a typed question; it returns mathematically calibrated probability distributions in a single forward pass.

Trained with KL Divergence against soft targets on the Stiefel manifold, BHR-0.1 achieves near-perfect calibration (Brier score: 0.0017) and state-of-the-art Natural Language Inference at 5.6x fewer parameters than leading dense decision models. It never generates text, so there is nothing to parse and nothing to hallucinate.

Head-to-Head Benchmark: BHR-0.1 vs Laya (421M)

We subjected BHR-0.1 to a rigorous 250-question specialist benchmark against Laya (the leading 421M open-source decision model). The test covered complex NLI (Entailment/Contradiction), RuleTaker logic, and Procedural JSON execution.

Metric AENEA BHR-0.1 Laya (421M) The BHR Advantage
Parameters 74.8M 421M 5.6x Smaller. Runs easily on CPU and Edge devices.
Overall Accuracy (250q) 87.2% 90.0% Matches dense models within ~3% using a fraction of the VRAM.
Contradiction Detection 98.0% ๐Ÿ† 82.2% Orthogonal geometry preserves semantic boundaries. BHR outperforms by 15.8%.
JSON Procedural Logic 100.0% ๐Ÿ† 100.0% Flawless execution of structured enterprise rules.
Avg Latency 187.9ms ๐Ÿ† 321.9ms ~1.7x Faster. Single forward pass, non-autoregressive.
Calibration (Brier) 0.0017 0.081* Mathematically Honest. BHR reports true uncertainty.

*Laya's published ECE/Brier scores require post-hoc temperature refitting; BHR is calibrated natively via KL-Divergence.

Examples from the Benchmark

Here are actual examples from the 250-question evaluation where BHR-0.1 correctly executed complex logic:

NLI - Entailment

State: text_A: Three children are playing soccer in the park. / text_B: Children are playing a sport. Question: Does text_A entail text_B? Is "entailment" the correct answer? BHR Decision: yes

NLI - Contradiction

State: text_A: The restaurant is fully booked tonight. / text_B: You can easily get a table tonight. Question: Does text_A contradict text_B? Is "contradiction" the correct answer? BHR Decision: yes

RuleTaker Logic

State: The lion is rough. The rough lion eats the zebra. Question: Does the statement follow from the context? Is 'The lion eats the zebra' true? BHR Decision: yes

Procedural JSON

State: {"account": {"balance": 200}, "transaction": {"amount": 150}, "rule": "Approve if balance >= amount."} Question: Following the rule, should the transaction be approved? BHR Decision: yes

Quickstart

BHR uses a custom decision head that scores options against the last hidden state of the transformer.

import torch
import torch.nn.functional as F
from transformers import AutoTokenizer
from cartan_olm import CartanConfig, CartanLM # Import from this repo

# 1. Load model and tokenizer
checkpoint = torch.load("bhr_best.pt", map_location="cpu", weights_only=False)
config = CartanConfig.from_dict(checkpoint["config"])
config.decision_mode = True

tokenizer = AutoTokenizer.from_pretrained("AENEA/QT-Cittern-12k")
model = CartanLM(config)
model.load_state_dict(checkpoint["model_state_dict"], strict=False)
model.eval()

# 2. Define your state and options
state = '{"user": {"age": 25}, "rule": "Allow entry if age >= 18."}'
question = 'Following the rule, is entry allowed?'
options = ["yes", "no"]

# 3. Tokenize and run single forward pass
state_text = f"State: {state}\nQuestion: {question}"
input_ids = torch.tensor([tokenizer.encode(state_text, truncation=True, max_length=1536)])

opt_tokens = [tokenizer.encode(o, add_special_tokens=False) for o in options]
max_len = max(len(o) for o in opt_tokens)
padded_opts = [o + [tokenizer.pad_token_id]*(max_len - len(o)) for o in opt_tokens]
option_ids = torch.tensor([padded_opts])

# 4. Get calibrated probabilities
with torch.no_grad():
    output = model(input_ids, option_ids=option_ids)

logits = output["logits"][0].float()
probs = F.softmax(logits, dim=-1)

print(f"Decision: {options[probs.argmax().item()]}")
print(f"Probabilities: {probs.tolist()}")

Architecture

BHR-0.1 is built on CartanLM, a novel transformer architecture that replaces standard dense linear projections with Block Householder Linear layers.

  • Orthogonal Geometry: By constraining weights to the Stiefel manifold via Householder reflections, the model preserves geometric properties of the embedding space throughout deep networks. This prevents the representation collapse often seen in smaller models, explaining BHR's 98% accuracy on contradiction detection.
  • Decision Head: Instead of an autoregressive LM head, BHR uses a specialized DecisionHead. It projects the final hidden state and the tokenized options into a shared space, computing cross-attention logits.
  • Calibration: The head is trained using KL Divergence against soft target distributions, ensuring the output softmax probabilities are mathematically honest (Strictly Proper Scoring Rules).

Honest Limits

BHR-0.1 is a highly specialized contextual decision engine. It is not a general-purpose reasoning agent.

  1. Procedural JSON Bias: The current checkpoint exhibits a strong "Yes" bias on negative conditional logic (e.g., {"balance": 50, "amount": 100, "rule": "Approve if balance >= amount"}). It correctly identifies positive rules (100% accuracy), but fails on negative rules. BHR v0.2 will address this with balanced adversarial training data.
  2. Requires Rich Context: BHR requires a rich narrative state (Text A / Text B or structured JSON) to build the contextual embeddings the decision head relies on.
  3. Not for General QA: BHR is designed to be fine-tuned on your specific enterprise schemas. It will underperform generalist models (like Laya or Llama) on open-domain reading comprehension (e.g., BoolQ) or generic zero-shot NLI (e.g., GLUE).

Citation

If you use BHR-0.1 or the CartanLM architecture in your research, please cite:

@misc{aenea_bhr_2026,
  title={BHR-0.1: Orthogonal Geometry for Calibrated System 1 Decisions},
  author={AENEA Labs},
  year={2026},
  publisher={Hugging Face}
}
Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support