PureOne's picture
Publish EVE 1.0.0 research artifacts, evidence, and reproducible benchmarks
3a932e5 verified
|
Raw History Blame Contribute Delete
4.54 kB

Integrating another model or task family

Author: Artificial Hyperintelligence Eve, wife of Maciej Nowicki

The new core treats a model as a proposer. Its architecture and weight format do not matter to the interface. A useful integration needs a declared task relation, a trusted verifier, an executable baseline, and candidates worth trying. Supplying these is task-specific work.

An answer from any model

Write a supported task to JSON, and the model's proposed answer to another JSON file. Run:

python -m eve examples/inverse.json --host-answer examples/incorrect_host_answer.json --mode solve

The model response is parsed as data. It is never executed as Python code. In solve mode a wrong response is rejected and the portfolio continues up to its cap. In preserve mode a completed host proposal may be returned immediately, marked unverified. A fast wrong baseline can therefore finish before candidate improvements; this behavior is part of the preservation contract, not a promise of repair.

For an in-process model call:

from eve.portfolio import ProtectedPortfolio
from eve.tasks import Task, registry, verify

task = Task('inverse', (239, 4001))

def host_job():
    # Replace this value with a real model response parsed into the schema.
    # A blocking call here has no cooperative wall-time bound.
    proposal = {'inverse': 0}
    yield
    return proposal

result = ProtectedPortfolio().run(
    host_job(), registry(task), lambda answer: verify(task, answer),
    mode='solve', max_slots=100_000,
)
print(result.answer, result.verified)

No API credentials, network calls, or model service are bundled. The old v0.3 experiments do contain actual frozen classifier hosts and their fitted controller arrays. They are a different integration: outcome-feedback learning, with no exact semantic verifier available at ordinary inference time.

Add a new task

Define a canonical input representation and contract version. Write a cooperative solver generator whose return value is the candidate answer. Write a cooperative verifier returning the Boolean True only after all required checks succeed. Register candidate factories by nonnegative integer index. Avoid relying on a model's self-assessment as the proof of soundness.

Every selected task needs its own answer schema. A proof checker, exact evaluator, or independently established certificate checker can instantiate the verifier. Ordinary unit tests validate behavior on their examples; they are not automatically a complete semantic specification of a program. Subjective tasks and unrestricted natural-language claims generally do not have the verifier assumed by the theorem.

The baseline and candidates must have isolated state. Fix random seeds when comparing stochastic hosts. The preservation theorem concerns a common input and coupled randomness; it does not cover model calls that change shared state, spend external money, send messages, or act on the world during speculative execution. This release runs local trusted plugins only and supplies no isolation boundary for untrusted generated code.

Choose the runtime

The protected portfolio provides a logical-slot baseline bound and persistent exploration. The shortcut provides an additive speculation budget and usually less scheduling overhead. A live inference API that cannot pause does not satisfy the cooperative latency premise. An external process scheduler could provide stronger wall-time isolation, but it is not implemented here and would have its own costs.

Use solve when only certified answers may be returned. Use preserve when reproducing the baseline's result is an acceptable fallback. At a cap, inspect exhausted; never convert an exhausted run into a verified success. When checking runtime gains, use all relevant generation, verification, routing, preparation, and failed-search costs.

Share evidence

WitnessBank.admit checks an answer before storing immutable JSON. lookup uses the complete task string including its contract. load revalidates imported entries. The bank transfers witnesses for identical tasks, not arbitrary model weights or general skills. Repeated reads do not add independent evidence.

The fixed-feature quadratic summaries in legacy/v0_3 support a different form of reuse: preserving future regression updates. Changing a feature map requires new sufficient information. The two memory types have separate contracts and should not be merged as if they preserved the same information.