Better HN
topnewbestaskshowjobs
Log inSign up

arauhala

47 karma · joined Jul 25, 2011 (15y ago) · 85 submissions

Submissions

1.

When ML is just a query, every webshop screen gets one(aito.ai ↗)

2 points · by arauhala · 2w ago · discuss

2.

The two halves of the AI software wave: how software is built and what it does(modernpath.ai ↗)

1 points · by arauhala · 1mo ago · discuss

3.

Predictive database benchmarks vs. RF, AutoML, Elastic etc., up to 10M scale(aito.ai ↗)

1 points · by arauhala · 2mo ago · discuss

4.

Aito v2: a predictive database over linked data, with vectors, graphs and SQL(aito.ai ↗)

2 points · by arauhala · 3mo ago · discuss

5.

The User Is the Processor(aito.ai ↗)

2 points · by arauhala · 4mo ago · discuss

6.

Value, quality or growth: three investing philosophies based on 12 years of data(aito.ai ↗)

1 points · by arauhala · 4mo ago · discuss

7.

A new database category – the predictive database(aito.ai ↗)

1 points · by arauhala · 5mo ago · discuss

8.

What if every input, search and list was predictive?(aito.ai ↗)

2 points · by arauhala · 6mo ago · discuss

comment 7mo ago · link · parent

Author here. I wrote this because "AI database" keeps getting used as one category when there are at least four architecturally different approaches, each with a different inference mechanism. Vector DBs do embedding similarity, ML-in-database is train-then-predict in SQL, LLM-augmented routes to an LLM per query, and predictive databases do Bayesian inference at query time with no model lifecycle.

Full disclosure: I'm the co-founder of Aito, which falls in the predictive database category. I tried to cover all four fairly, including where our approach falls short (latency scales with dataset size, smallest ecosystem of the four). Happy to discuss any of the categories or the taxonomy itself.

One thing that stood out while writing: the major cloud platforms (Databricks, BigQuery, Snowflake) now span multiple categories at once, which makes "AI database" as a single label pretty useless. Also, the BayesLite work from MIT CSAIL deserves way more attention than it gets. Their BQL syntax is really nice.

10.

AI Database Landscape in 2026: Vector, ML-in-DB, LLM-Augmented, Predictive(aito.ai ↗)

2 points · by arauhala · 7mo ago · 1 comment

comment 9mo ago · link · parent

Hmm.. So, I'm correct, you are maintaining QA suites for 10k agents, their prompts, toolboxes and some scenarios.

That sounds like an absolutely massive scale to do QA over. Running the test suite must cost fortune and take ages.

As such, I don't think the data storage is that big problem. E.g. If you have 10-100 requests stored per agent, it's 100k-1M snapshots. Booktest normally stores the states in Git, but there is also some kind of DVC support. If you need to recreate all snapshots regularly, e.g. of you change some system wide properties often, that may became problem or not. Git and DVC can manage quite high scale. The Git PR reviews won't work though with e.g 1M changed files.

Our scale in mono repo was maybe 10k LLM snapshots in several hundred files, which worked technically. Recreating all evaluations was a bit slow (e.g 5-10 minutes) and merges often forced recreation of snapshots and re-reviews. This is ofc massively smaller scale than what you are having. We did use booktest for assistant, but it was just one assistant over dozens of use case flows.

I guess it could be somehow manageable, if you try to avoid test level manual review and only review some aggregared results in the tool, but I cannot really promise anything. It may be a worth a try.

comment 9mo ago · link · parent

One of the key techniques is snapshotting the LLM (or any HTTP) request. This means that if the inputs won't change, the LLM will not be called. This will also snapshot /cache LLM verifications steps.

This doesn't only saves costs, but it's main goal was to force determinism and save time. Limited changes may need only the new/changed tests to be rerun with LLM. CI typically don't have LLM API keys and only rerun against snapshots with zero costs and delays

All LLM operations tend to be notoriously slow, and at least on our side: we are often more interested of how our code interacts with the LLM. Having the LLM being fully snapshopshotted does iterating the code delightfully fast.

If you want do sampling, this can be implemented in the test code. Booktest is a bit like pytest in the sense, that the actual testing logic heavylifting is left for the the developer. Lot of LLM test suites are more opinionated, but also more intrusive in that sense

comment 9mo ago · link · parent

Booktest is build based of 2 decade-career in data science. It has been used to support RnD on numerous LLM, ML, NLP, information retrieval and also more traditional software engineering.

It was partly inspired by earlier examples (kudos for Ferenc), but especially real pains with how to assert ML QA with regression testing, transparency and iteration cycle speed.

So, in systems where correctness is fuzzy, evaluation is expensive, and changes have non-local effects, a failing test without diagnostics often raises more questions than it answers. This is a painful combination, if left unsolved.

Booktest is now on its 3rd or 4th iteration of the same idea, and as such it addresses most common needs and problems in this space.

It is a review-driven regression testing approach that captures system behavior as readable artifacts, so humans can see, review, and reason about regressions instead of fighting tooling.

This approach has been used in production for testing ML/NLP systems processing large volumes of data, and we’ve now open-sourced it.

I'm curious whether this matches others’ experience, and how people handle this today.

14.

Show HN: Booktest – review-driven regression testing for LLM / ML behavior(github.com ↗)

4 points · by arauhala · 9mo ago · 3 comments

comment 1y ago · link · parent

I'm bootstrapping my predictive database startup https://aito.ai/ :-)

More specifically, I have worked on the demo https://github.com/AitoDotAI/aito-demo to make use cases visual and well described. E.g. smart search use case is here https://github.com/AitoDotAI/aito-demo/blob/main/docs/use-ca...

Claude Code is doing absolute wonders on setting things up. One has to just check out for hallucinations and made-up stuff in any written content.

comment 2y ago · link · parent

If I'm reading this correctly, a few themes PG touches here are:

1) loss of control when hiring a professional manager without intrusion to sub organization, because you rely on the manager provided information. If the manager is not straightforward, the sub organization may become a black box, where issues can go unseen

2) Lack of access to the frontline people and their understanding, which is opened by the Jobs like key people meeting across the org

3) Id also imagine that if you have a founder with deep domain knowledge, who has worked across all aspects of business, going fully hands off with the details, and replacing decision makers with more generic managers potentially from other industries, means that lot of expertise gets disconnected from the relevant decisions.

Ultimately the outcomes are all about the decisions and the decisions are all about understanding, which is all about the information. As such, it's not surprising if cutting the seasoned founder from both key mid level decisions and the firsthand information flows brings disadvantages.

I'd over all interpret the article to be about how hands on the founder should be about the different aspects of the business rather than the leadership, as implied elsewhere

comment 2y ago · link · parent

Author here. The article seeks to answer the question "How to make ML / LMM development faster with higher quality?"

The long format article seeks address the pain points in current tooling (Jupyter Notebook, unittests) used to support intelligent application RnD. It proposes a new approach for tooling and development, which combines the benefits of notebooks (review driven process, caches) with benefits of unit testing (repeatiability, regression testing)

The tool has been succesfully used to support the developmvent topic models, analytics and GPT based functionality. Here's an example of how to create a simple test that both creates a snapshot for results that also snapshots the environment and (e.g. GPT) API calls so that the test interaction can be replayed e.g. in CI.

    import booktest as bt
    import os 
    import requests
    import json

    @bt.snapshot_env("HOST_NAME")
    @bt.mock_missing_env({"API_KEY": "mock"})
    @bt.snapshot_requests()
    def test_requests_and_env(t: bt.TestCaseRun):
        t.h1("request:")

        host_name = os.environ["HOST_NAME"]
        response = (
            t.t(f"making post request to {host_name} in ").imsln(
                lambda:
                requests.post(
                    host_name,
                    json={
                        "message": "hello"
                    },
                    headers={
                        "X-Api-Key": os.environ["API_KEY"]
                    })))

        t.h1("response:")
        t.tln(json.dumps(response.json()["json"], indent=4))

https://github.com/lumoa-oss/booktest/blob/main/getting-star...

18.

Review driven development for ML / LMM applications(lumoa.me ↗)

1 points · by arauhala · 2y ago · 1 comment

19.

Simplifying back end development with NestJS monorepo(aito.ai ↗)

2 points · by arauhala · 6y ago · discuss

20.

We use EBS and Auto Scaling groups to move database state during updates(aito.ai ↗)

3 points · by arauhala · 6y ago · discuss

comment 6y ago · link · parent

Regarding this topic, I found the following paper on TNT (three nightmare traits) interesting and bringing some clarity to the issues/confusions you are mentioning:

https://www.frontiersin.org/articles/10.3389/fpsyg.2018.0087...

comment 6y ago · link · parent

Hi,

Author here! :-)

The project feels transformative, because the ML part was implemented an RPA developer using predictive database queries. It wasn't that complex data science project, but it demonstrates that simple ML can be done by (RPA) developers with somewhat tight budgets and schedules

If you have questions, feel free to ask! We@Aito also love feedback!

Regards, Antti & aito

23.

3 key RPA+ML insights from invoice process automation project(aito.ai ↗)

2 points · by arauhala · 6y ago · 1 comment

comment 6y ago · link · parent

I wonder if you are familiar with the predictive databases?

We at Aito.ai have gotten lot of interest from different RPA/no-node users and providers, and predictive database queries seem like a best intelligent automation.

https://aito.ai/blog/could-predictive-database-queries-repla...

It would be interesting to deeply integrate predictive functionality in your system, especially as it integrates a DB naturally. This could be used to offer predictive functionality from the plarform out of the box.

123